From c607af6fac38b99da582636f045b56124ef4f2ad Mon Sep 17 00:00:00 2001 From: CN-JS-HuiBai Date: Sat, 4 Apr 2026 12:49:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecosystem.config.js | 17 - node_modules/.bin/fxparser | 16 + node_modules/.bin/fxparser.cmd | 17 + node_modules/.bin/fxparser.ps1 | 28 + node_modules/.bin/mime | 16 + node_modules/.bin/mime.cmd | 17 + node_modules/.bin/mime.ps1 | 28 + node_modules/.bin/which | 16 + node_modules/.bin/which.cmd | 17 + node_modules/.bin/which.ps1 | 28 + node_modules/.package-lock.json | 3002 +++ node_modules/@aws-crypto/crc32/CHANGELOG.md | 100 + node_modules/@aws-crypto/crc32/LICENSE | 201 + node_modules/@aws-crypto/crc32/README.md | 16 + .../crc32/build/main/aws_crc32.d.ts | 7 + .../@aws-crypto/crc32/build/main/aws_crc32.js | 31 + .../crc32/build/main/aws_crc32.js.map | 1 + .../@aws-crypto/crc32/build/main/index.d.ts | 7 + .../@aws-crypto/crc32/build/main/index.js | 108 + .../@aws-crypto/crc32/build/main/index.js.map | 1 + .../crc32/build/module/aws_crc32.d.ts | 7 + .../crc32/build/module/aws_crc32.js | 28 + .../crc32/build/module/aws_crc32.js.map | 1 + .../@aws-crypto/crc32/build/module/index.d.ts | 7 + .../@aws-crypto/crc32/build/module/index.js | 103 + .../crc32/build/module/index.js.map | 1 + node_modules/@aws-crypto/crc32/package.json | 32 + .../@aws-crypto/crc32/src/aws_crc32.ts | 24 + node_modules/@aws-crypto/crc32/src/index.ts | 92 + node_modules/@aws-crypto/crc32/tsconfig.json | 9 + .../@aws-crypto/crc32/tsconfig.module.json | 7 + node_modules/@aws-crypto/crc32c/CHANGELOG.md | 76 + node_modules/@aws-crypto/crc32c/LICENSE | 201 + node_modules/@aws-crypto/crc32c/README.md | 16 + .../crc32c/build/main/aws_crc32c.d.ts | 7 + .../crc32c/build/main/aws_crc32c.js | 31 + .../crc32c/build/main/aws_crc32c.js.map | 1 + .../@aws-crypto/crc32c/build/main/index.d.ts | 7 + .../@aws-crypto/crc32c/build/main/index.js | 78 + .../crc32c/build/main/index.js.map | 1 + .../crc32c/build/module/aws_crc32c.d.ts | 7 + .../crc32c/build/module/aws_crc32c.js | 28 + .../crc32c/build/module/aws_crc32c.js.map | 1 + .../crc32c/build/module/index.d.ts | 7 + .../@aws-crypto/crc32c/build/module/index.js | 73 + .../crc32c/build/module/index.js.map | 1 + node_modules/@aws-crypto/crc32c/package.json | 32 + .../@aws-crypto/crc32c/src/aws_crc32c.ts | 24 + node_modules/@aws-crypto/crc32c/src/index.ts | 64 + node_modules/@aws-crypto/crc32c/tsconfig.json | 9 + .../@aws-crypto/crc32c/tsconfig.module.json | 7 + .../@aws-crypto/sha1-browser/CHANGELOG.md | 62 + node_modules/@aws-crypto/sha1-browser/LICENSE | 202 + .../@aws-crypto/sha1-browser/README.md | 21 + .../sha1-browser/build/main/constants.d.ts | 10 + .../sha1-browser/build/main/constants.js | 31 + .../sha1-browser/build/main/constants.js.map | 1 + .../build/main/crossPlatformSha1.d.ts | 8 + .../build/main/crossPlatformSha1.js | 29 + .../build/main/crossPlatformSha1.js.map | 1 + .../sha1-browser/build/main/index.d.ts | 2 + .../sha1-browser/build/main/index.js | 8 + .../sha1-browser/build/main/index.js.map | 1 + .../sha1-browser/build/main/isEmptyData.d.ts | 2 + .../sha1-browser/build/main/isEmptyData.js | 11 + .../build/main/isEmptyData.js.map | 1 + .../build/main/webCryptoSha1.d.ts | 9 + .../sha1-browser/build/main/webCryptoSha1.js | 61 + .../build/main/webCryptoSha1.js.map | 1 + .../sha1-browser/build/module/constants.d.ts | 10 + .../sha1-browser/build/module/constants.js | 28 + .../build/module/constants.js.map | 1 + .../build/module/crossPlatformSha1.d.ts | 8 + .../build/module/crossPlatformSha1.js | 26 + .../build/module/crossPlatformSha1.js.map | 1 + .../sha1-browser/build/module/index.d.ts | 2 + .../sha1-browser/build/module/index.js | 3 + .../sha1-browser/build/module/index.js.map | 1 + .../build/module/isEmptyData.d.ts | 2 + .../sha1-browser/build/module/isEmptyData.js | 7 + .../build/module/isEmptyData.js.map | 1 + .../build/module/webCryptoSha1.d.ts | 9 + .../build/module/webCryptoSha1.js | 58 + .../build/module/webCryptoSha1.js.map | 1 + .../@smithy/is-array-buffer/LICENSE | 201 + .../@smithy/is-array-buffer/README.md | 10 + .../@smithy/is-array-buffer/dist-cjs/index.js | 32 + .../@smithy/is-array-buffer/dist-es/index.js | 2 + .../is-array-buffer/dist-types/index.d.ts | 4 + .../dist-types/ts3.4/index.d.ts | 4 + .../@smithy/is-array-buffer/package.json | 60 + .../@smithy/util-buffer-from/LICENSE | 201 + .../@smithy/util-buffer-from/README.md | 10 + .../util-buffer-from/dist-cjs/index.js | 47 + .../@smithy/util-buffer-from/dist-es/index.js | 14 + .../util-buffer-from/dist-types/index.d.ts | 13 + .../dist-types/ts3.4/index.d.ts | 13 + .../@smithy/util-buffer-from/package.json | 61 + .../node_modules/@smithy/util-utf8/LICENSE | 201 + .../node_modules/@smithy/util-utf8/README.md | 4 + .../util-utf8/dist-cjs/fromUtf8.browser.js | 1 + .../@smithy/util-utf8/dist-cjs/fromUtf8.js | 1 + .../@smithy/util-utf8/dist-cjs/index.js | 65 + .../util-utf8/dist-cjs/toUint8Array.js | 1 + .../util-utf8/dist-cjs/toUtf8.browser.js | 1 + .../@smithy/util-utf8/dist-cjs/toUtf8.js | 1 + .../util-utf8/dist-es/fromUtf8.browser.js | 1 + .../@smithy/util-utf8/dist-es/fromUtf8.js | 5 + .../@smithy/util-utf8/dist-es/index.js | 3 + .../@smithy/util-utf8/dist-es/toUint8Array.js | 10 + .../util-utf8/dist-es/toUtf8.browser.js | 9 + .../@smithy/util-utf8/dist-es/toUtf8.js | 10 + .../dist-types/fromUtf8.browser.d.ts | 1 + .../util-utf8/dist-types/fromUtf8.d.ts | 1 + .../@smithy/util-utf8/dist-types/index.d.ts | 3 + .../util-utf8/dist-types/toUint8Array.d.ts | 1 + .../util-utf8/dist-types/toUtf8.browser.d.ts | 7 + .../@smithy/util-utf8/dist-types/toUtf8.d.ts | 7 + .../dist-types/ts3.4/fromUtf8.browser.d.ts | 1 + .../util-utf8/dist-types/ts3.4/fromUtf8.d.ts | 1 + .../util-utf8/dist-types/ts3.4/index.d.ts | 3 + .../dist-types/ts3.4/toUint8Array.d.ts | 1 + .../dist-types/ts3.4/toUtf8.browser.d.ts | 7 + .../util-utf8/dist-types/ts3.4/toUtf8.d.ts | 7 + .../@smithy/util-utf8/package.json | 66 + .../@aws-crypto/sha1-browser/package.json | 35 + .../@aws-crypto/sha1-browser/src/constants.ts | 29 + .../sha1-browser/src/crossPlatformSha1.ts | 29 + .../@aws-crypto/sha1-browser/src/index.ts | 2 + .../sha1-browser/src/isEmptyData.ts | 9 + .../sha1-browser/src/webCryptoSha1.ts | 79 + .../@aws-crypto/sha1-browser/tsconfig.json | 10 + .../sha1-browser/tsconfig.module.json | 7 + .../@aws-crypto/sha256-browser/CHANGELOG.md | 118 + .../@aws-crypto/sha256-browser/LICENSE | 202 + .../@aws-crypto/sha256-browser/README.md | 31 + .../sha256-browser/build/main/constants.d.ts | 10 + .../sha256-browser/build/main/constants.js | 43 + .../build/main/constants.js.map | 1 + .../build/main/crossPlatformSha256.d.ts | 8 + .../build/main/crossPlatformSha256.js | 30 + .../build/main/crossPlatformSha256.js.map | 1 + .../sha256-browser/build/main/index.d.ts | 2 + .../sha256-browser/build/main/index.js | 8 + .../sha256-browser/build/main/index.js.map | 1 + .../build/main/isEmptyData.d.ts | 2 + .../sha256-browser/build/main/isEmptyData.js | 11 + .../build/main/isEmptyData.js.map | 1 + .../build/main/webCryptoSha256.d.ts | 10 + .../build/main/webCryptoSha256.js | 56 + .../build/main/webCryptoSha256.js.map | 1 + .../build/module/constants.d.ts | 10 + .../sha256-browser/build/module/constants.js | 40 + .../build/module/constants.js.map | 1 + .../build/module/crossPlatformSha256.d.ts | 8 + .../build/module/crossPlatformSha256.js | 27 + .../build/module/crossPlatformSha256.js.map | 1 + .../sha256-browser/build/module/index.d.ts | 2 + .../sha256-browser/build/module/index.js | 3 + .../sha256-browser/build/module/index.js.map | 1 + .../build/module/isEmptyData.d.ts | 2 + .../build/module/isEmptyData.js | 7 + .../build/module/isEmptyData.js.map | 1 + .../build/module/webCryptoSha256.d.ts | 10 + .../build/module/webCryptoSha256.js | 53 + .../build/module/webCryptoSha256.js.map | 1 + .../@smithy/is-array-buffer/LICENSE | 201 + .../@smithy/is-array-buffer/README.md | 10 + .../@smithy/is-array-buffer/dist-cjs/index.js | 32 + .../@smithy/is-array-buffer/dist-es/index.js | 2 + .../is-array-buffer/dist-types/index.d.ts | 4 + .../dist-types/ts3.4/index.d.ts | 4 + .../@smithy/is-array-buffer/package.json | 60 + .../@smithy/util-buffer-from/LICENSE | 201 + .../@smithy/util-buffer-from/README.md | 10 + .../util-buffer-from/dist-cjs/index.js | 47 + .../@smithy/util-buffer-from/dist-es/index.js | 14 + .../util-buffer-from/dist-types/index.d.ts | 13 + .../dist-types/ts3.4/index.d.ts | 13 + .../@smithy/util-buffer-from/package.json | 61 + .../node_modules/@smithy/util-utf8/LICENSE | 201 + .../node_modules/@smithy/util-utf8/README.md | 4 + .../util-utf8/dist-cjs/fromUtf8.browser.js | 1 + .../@smithy/util-utf8/dist-cjs/fromUtf8.js | 1 + .../@smithy/util-utf8/dist-cjs/index.js | 65 + .../util-utf8/dist-cjs/toUint8Array.js | 1 + .../util-utf8/dist-cjs/toUtf8.browser.js | 1 + .../@smithy/util-utf8/dist-cjs/toUtf8.js | 1 + .../util-utf8/dist-es/fromUtf8.browser.js | 1 + .../@smithy/util-utf8/dist-es/fromUtf8.js | 5 + .../@smithy/util-utf8/dist-es/index.js | 3 + .../@smithy/util-utf8/dist-es/toUint8Array.js | 10 + .../util-utf8/dist-es/toUtf8.browser.js | 9 + .../@smithy/util-utf8/dist-es/toUtf8.js | 10 + .../dist-types/fromUtf8.browser.d.ts | 1 + .../util-utf8/dist-types/fromUtf8.d.ts | 1 + .../@smithy/util-utf8/dist-types/index.d.ts | 3 + .../util-utf8/dist-types/toUint8Array.d.ts | 1 + .../util-utf8/dist-types/toUtf8.browser.d.ts | 7 + .../@smithy/util-utf8/dist-types/toUtf8.d.ts | 7 + .../dist-types/ts3.4/fromUtf8.browser.d.ts | 1 + .../util-utf8/dist-types/ts3.4/fromUtf8.d.ts | 1 + .../util-utf8/dist-types/ts3.4/index.d.ts | 3 + .../dist-types/ts3.4/toUint8Array.d.ts | 1 + .../dist-types/ts3.4/toUtf8.browser.d.ts | 7 + .../util-utf8/dist-types/ts3.4/toUtf8.d.ts | 7 + .../@smithy/util-utf8/package.json | 66 + .../@aws-crypto/sha256-browser/package.json | 33 + .../sha256-browser/src/constants.ts | 41 + .../sha256-browser/src/crossPlatformSha256.ts | 30 + .../@aws-crypto/sha256-browser/src/index.ts | 2 + .../sha256-browser/src/isEmptyData.ts | 9 + .../sha256-browser/src/webCryptoSha256.ts | 71 + .../@aws-crypto/sha256-browser/tsconfig.json | 10 + .../sha256-browser/tsconfig.module.json | 7 + .../@aws-crypto/sha256-js/CHANGELOG.md | 106 + node_modules/@aws-crypto/sha256-js/LICENSE | 201 + node_modules/@aws-crypto/sha256-js/README.md | 29 + .../sha256-js/build/main/RawSha256.d.ts | 17 + .../sha256-js/build/main/RawSha256.js | 124 + .../sha256-js/build/main/RawSha256.js.map | 1 + .../sha256-js/build/main/constants.d.ts | 20 + .../sha256-js/build/main/constants.js | 98 + .../sha256-js/build/main/constants.js.map | 1 + .../sha256-js/build/main/index.d.ts | 1 + .../@aws-crypto/sha256-js/build/main/index.js | 5 + .../sha256-js/build/main/index.js.map | 1 + .../sha256-js/build/main/jsSha256.d.ts | 12 + .../sha256-js/build/main/jsSha256.js | 85 + .../sha256-js/build/main/jsSha256.js.map | 1 + .../build/main/knownHashes.fixture.d.ts | 5 + .../build/main/knownHashes.fixture.js | 322 + .../build/main/knownHashes.fixture.js.map | 1 + .../sha256-js/build/module/RawSha256.d.ts | 17 + .../sha256-js/build/module/RawSha256.js | 121 + .../sha256-js/build/module/RawSha256.js.map | 1 + .../sha256-js/build/module/constants.d.ts | 20 + .../sha256-js/build/module/constants.js | 95 + .../sha256-js/build/module/constants.js.map | 1 + .../sha256-js/build/module/index.d.ts | 1 + .../sha256-js/build/module/index.js | 2 + .../sha256-js/build/module/index.js.map | 1 + .../sha256-js/build/module/jsSha256.d.ts | 12 + .../sha256-js/build/module/jsSha256.js | 82 + .../sha256-js/build/module/jsSha256.js.map | 1 + .../build/module/knownHashes.fixture.d.ts | 5 + .../build/module/knownHashes.fixture.js | 319 + .../build/module/knownHashes.fixture.js.map | 1 + .../@aws-crypto/sha256-js/package.json | 32 + .../@aws-crypto/sha256-js/src/RawSha256.ts | 164 + .../@aws-crypto/sha256-js/src/constants.ts | 98 + .../@aws-crypto/sha256-js/src/index.ts | 1 + .../@aws-crypto/sha256-js/src/jsSha256.ts | 94 + .../sha256-js/src/knownHashes.fixture.ts | 401 + .../@aws-crypto/sha256-js/tsconfig.json | 10 + .../sha256-js/tsconfig.module.json | 7 + .../supports-web-crypto/CHANGELOG.md | 66 + .../@aws-crypto/supports-web-crypto/LICENSE | 202 + .../@aws-crypto/supports-web-crypto/README.md | 32 + .../supports-web-crypto/build/main/index.d.ts | 1 + .../supports-web-crypto/build/main/index.js | 5 + .../build/main/index.js.map | 1 + .../build/main/supportsWebCrypto.d.ts | 4 + .../build/main/supportsWebCrypto.js | 69 + .../build/main/supportsWebCrypto.js.map | 1 + .../build/module/index.d.ts | 1 + .../supports-web-crypto/build/module/index.js | 2 + .../build/module/index.js.map | 1 + .../build/module/supportsWebCrypto.d.ts | 4 + .../build/module/supportsWebCrypto.js | 62 + .../build/module/supportsWebCrypto.js.map | 1 + .../supports-web-crypto/package.json | 28 + .../supports-web-crypto/src/index.ts | 1 + .../src/supportsWebCrypto.ts | 76 + .../supports-web-crypto/tsconfig.json | 10 + .../supports-web-crypto/tsconfig.module.json | 7 + node_modules/@aws-crypto/util/CHANGELOG.md | 71 + node_modules/@aws-crypto/util/LICENSE | 201 + node_modules/@aws-crypto/util/README.md | 16 + .../util/build/main/convertToBuffer.d.ts | 2 + .../util/build/main/convertToBuffer.js | 24 + .../util/build/main/convertToBuffer.js.map | 1 + .../@aws-crypto/util/build/main/index.d.ts | 4 + .../@aws-crypto/util/build/main/index.js | 14 + .../@aws-crypto/util/build/main/index.js.map | 1 + .../util/build/main/isEmptyData.d.ts | 2 + .../util/build/main/isEmptyData.js | 13 + .../util/build/main/isEmptyData.js.map | 1 + .../util/build/main/numToUint8.d.ts | 1 + .../@aws-crypto/util/build/main/numToUint8.js | 15 + .../util/build/main/numToUint8.js.map | 1 + .../util/build/main/uint32ArrayFrom.d.ts | 1 + .../util/build/main/uint32ArrayFrom.js | 20 + .../util/build/main/uint32ArrayFrom.js.map | 1 + .../util/build/module/convertToBuffer.d.ts | 2 + .../util/build/module/convertToBuffer.js | 20 + .../util/build/module/convertToBuffer.js.map | 1 + .../@aws-crypto/util/build/module/index.d.ts | 4 + .../@aws-crypto/util/build/module/index.js | 7 + .../util/build/module/index.js.map | 1 + .../util/build/module/isEmptyData.d.ts | 2 + .../util/build/module/isEmptyData.js | 9 + .../util/build/module/isEmptyData.js.map | 1 + .../util/build/module/numToUint8.d.ts | 1 + .../util/build/module/numToUint8.js | 11 + .../util/build/module/numToUint8.js.map | 1 + .../util/build/module/uint32ArrayFrom.d.ts | 1 + .../util/build/module/uint32ArrayFrom.js | 16 + .../util/build/module/uint32ArrayFrom.js.map | 1 + .../@smithy/is-array-buffer/LICENSE | 201 + .../@smithy/is-array-buffer/README.md | 10 + .../@smithy/is-array-buffer/dist-cjs/index.js | 32 + .../@smithy/is-array-buffer/dist-es/index.js | 2 + .../is-array-buffer/dist-types/index.d.ts | 4 + .../dist-types/ts3.4/index.d.ts | 4 + .../@smithy/is-array-buffer/package.json | 60 + .../@smithy/util-buffer-from/LICENSE | 201 + .../@smithy/util-buffer-from/README.md | 10 + .../util-buffer-from/dist-cjs/index.js | 47 + .../@smithy/util-buffer-from/dist-es/index.js | 14 + .../util-buffer-from/dist-types/index.d.ts | 13 + .../dist-types/ts3.4/index.d.ts | 13 + .../@smithy/util-buffer-from/package.json | 61 + .../node_modules/@smithy/util-utf8/LICENSE | 201 + .../node_modules/@smithy/util-utf8/README.md | 4 + .../util-utf8/dist-cjs/fromUtf8.browser.js | 1 + .../@smithy/util-utf8/dist-cjs/fromUtf8.js | 1 + .../@smithy/util-utf8/dist-cjs/index.js | 65 + .../util-utf8/dist-cjs/toUint8Array.js | 1 + .../util-utf8/dist-cjs/toUtf8.browser.js | 1 + .../@smithy/util-utf8/dist-cjs/toUtf8.js | 1 + .../util-utf8/dist-es/fromUtf8.browser.js | 1 + .../@smithy/util-utf8/dist-es/fromUtf8.js | 5 + .../@smithy/util-utf8/dist-es/index.js | 3 + .../@smithy/util-utf8/dist-es/toUint8Array.js | 10 + .../util-utf8/dist-es/toUtf8.browser.js | 9 + .../@smithy/util-utf8/dist-es/toUtf8.js | 10 + .../dist-types/fromUtf8.browser.d.ts | 1 + .../util-utf8/dist-types/fromUtf8.d.ts | 1 + .../@smithy/util-utf8/dist-types/index.d.ts | 3 + .../util-utf8/dist-types/toUint8Array.d.ts | 1 + .../util-utf8/dist-types/toUtf8.browser.d.ts | 7 + .../@smithy/util-utf8/dist-types/toUtf8.d.ts | 7 + .../dist-types/ts3.4/fromUtf8.browser.d.ts | 1 + .../util-utf8/dist-types/ts3.4/fromUtf8.d.ts | 1 + .../util-utf8/dist-types/ts3.4/index.d.ts | 3 + .../dist-types/ts3.4/toUint8Array.d.ts | 1 + .../dist-types/ts3.4/toUtf8.browser.d.ts | 7 + .../util-utf8/dist-types/ts3.4/toUtf8.d.ts | 7 + .../@smithy/util-utf8/package.json | 66 + node_modules/@aws-crypto/util/package.json | 32 + .../@aws-crypto/util/src/convertToBuffer.ts | 30 + node_modules/@aws-crypto/util/src/index.ts | 7 + .../@aws-crypto/util/src/isEmptyData.ts | 12 + .../@aws-crypto/util/src/numToUint8.ts | 11 + .../@aws-crypto/util/src/uint32ArrayFrom.ts | 16 + node_modules/@aws-crypto/util/tsconfig.json | 9 + .../@aws-crypto/util/tsconfig.module.json | 7 + node_modules/@aws-sdk/client-s3/LICENSE | 201 + node_modules/@aws-sdk/client-s3/README.md | 930 + .../dist-cjs/auth/httpAuthSchemeProvider.js | 126 + .../dist-cjs/endpoint/endpointResolver.js | 33 + .../client-s3/dist-cjs/endpoint/ruleset.js | 7 + .../@aws-sdk/client-s3/dist-cjs/index.js | 3058 +++ .../dist-cjs/models/S3ServiceException.js | 12 + .../client-s3/dist-cjs/models/errors.js | 203 + .../dist-cjs/runtimeConfig.browser.js | 46 + .../client-s3/dist-cjs/runtimeConfig.js | 68 + .../dist-cjs/runtimeConfig.native.js | 15 + .../dist-cjs/runtimeConfig.shared.js | 56 + .../client-s3/dist-cjs/schemas/schemas_0.js | 3258 +++ node_modules/@aws-sdk/client-s3/dist-es/S3.js | 241 + .../@aws-sdk/client-s3/dist-es/S3Client.js | 64 + .../auth/httpAuthExtensionConfiguration.js | 38 + .../dist-es/auth/httpAuthSchemeProvider.js | 122 + .../commands/AbortMultipartUploadCommand.js | 24 + .../CompleteMultipartUploadCommand.js | 26 + .../dist-es/commands/CopyObjectCommand.js | 28 + .../dist-es/commands/CreateBucketCommand.js | 27 + ...reateBucketMetadataConfigurationCommand.js | 27 + ...BucketMetadataTableConfigurationCommand.js | 27 + .../commands/CreateMultipartUploadCommand.js | 26 + .../dist-es/commands/CreateSessionCommand.js | 24 + ...leteBucketAnalyticsConfigurationCommand.js | 20 + .../dist-es/commands/DeleteBucketCommand.js | 20 + .../commands/DeleteBucketCorsCommand.js | 20 + .../commands/DeleteBucketEncryptionCommand.js | 20 + ...tIntelligentTieringConfigurationCommand.js | 20 + ...leteBucketInventoryConfigurationCommand.js | 20 + .../commands/DeleteBucketLifecycleCommand.js | 20 + ...eleteBucketMetadataConfigurationCommand.js | 20 + ...BucketMetadataTableConfigurationCommand.js | 20 + ...DeleteBucketMetricsConfigurationCommand.js | 20 + .../DeleteBucketOwnershipControlsCommand.js | 20 + .../commands/DeleteBucketPolicyCommand.js | 20 + .../DeleteBucketReplicationCommand.js | 20 + .../commands/DeleteBucketTaggingCommand.js | 20 + .../commands/DeleteBucketWebsiteCommand.js | 20 + .../dist-es/commands/DeleteObjectCommand.js | 24 + .../commands/DeleteObjectTaggingCommand.js | 23 + .../dist-es/commands/DeleteObjectsCommand.js | 28 + .../DeletePublicAccessBlockCommand.js | 20 + .../dist-es/commands/GetBucketAbacCommand.js | 23 + ...GetBucketAccelerateConfigurationCommand.js | 24 + .../dist-es/commands/GetBucketAclCommand.js | 24 + .../GetBucketAnalyticsConfigurationCommand.js | 24 + .../dist-es/commands/GetBucketCorsCommand.js | 24 + .../commands/GetBucketEncryptionCommand.js | 24 + ...tIntelligentTieringConfigurationCommand.js | 24 + .../GetBucketInventoryConfigurationCommand.js | 24 + .../GetBucketLifecycleConfigurationCommand.js | 24 + .../commands/GetBucketLocationCommand.js | 24 + .../commands/GetBucketLoggingCommand.js | 24 + .../GetBucketMetadataConfigurationCommand.js | 24 + ...BucketMetadataTableConfigurationCommand.js | 24 + .../GetBucketMetricsConfigurationCommand.js | 24 + ...tBucketNotificationConfigurationCommand.js | 24 + .../GetBucketOwnershipControlsCommand.js | 24 + .../commands/GetBucketPolicyCommand.js | 24 + .../commands/GetBucketPolicyStatusCommand.js | 24 + .../commands/GetBucketReplicationCommand.js | 24 + .../GetBucketRequestPaymentCommand.js | 24 + .../commands/GetBucketTaggingCommand.js | 24 + .../commands/GetBucketVersioningCommand.js | 24 + .../commands/GetBucketWebsiteCommand.js | 24 + .../dist-es/commands/GetObjectAclCommand.js | 24 + .../commands/GetObjectAttributesCommand.js | 25 + .../dist-es/commands/GetObjectCommand.js | 32 + .../commands/GetObjectLegalHoldCommand.js | 23 + .../GetObjectLockConfigurationCommand.js | 23 + .../commands/GetObjectRetentionCommand.js | 23 + .../commands/GetObjectTaggingCommand.js | 23 + .../commands/GetObjectTorrentCommand.js | 19 + .../commands/GetPublicAccessBlockCommand.js | 24 + .../dist-es/commands/HeadBucketCommand.js | 23 + .../dist-es/commands/HeadObjectCommand.js | 27 + ...istBucketAnalyticsConfigurationsCommand.js | 24 + ...IntelligentTieringConfigurationsCommand.js | 24 + ...istBucketInventoryConfigurationsCommand.js | 24 + .../ListBucketMetricsConfigurationsCommand.js | 24 + .../dist-es/commands/ListBucketsCommand.js | 20 + .../commands/ListDirectoryBucketsCommand.js | 23 + .../commands/ListMultipartUploadsCommand.js | 24 + .../commands/ListObjectVersionsCommand.js | 24 + .../dist-es/commands/ListObjectsCommand.js | 24 + .../dist-es/commands/ListObjectsV2Command.js | 24 + .../dist-es/commands/ListPartsCommand.js | 26 + .../dist-es/commands/PutBucketAbacCommand.js | 26 + ...PutBucketAccelerateConfigurationCommand.js | 27 + .../dist-es/commands/PutBucketAclCommand.js | 27 + .../PutBucketAnalyticsConfigurationCommand.js | 20 + .../dist-es/commands/PutBucketCorsCommand.js | 27 + .../commands/PutBucketEncryptionCommand.js | 27 + ...tIntelligentTieringConfigurationCommand.js | 20 + .../PutBucketInventoryConfigurationCommand.js | 20 + .../PutBucketLifecycleConfigurationCommand.js | 29 + .../commands/PutBucketLoggingCommand.js | 27 + .../PutBucketMetricsConfigurationCommand.js | 20 + ...tBucketNotificationConfigurationCommand.js | 20 + .../PutBucketOwnershipControlsCommand.js | 27 + .../commands/PutBucketPolicyCommand.js | 27 + .../commands/PutBucketReplicationCommand.js | 27 + .../PutBucketRequestPaymentCommand.js | 27 + .../commands/PutBucketTaggingCommand.js | 27 + .../commands/PutBucketVersioningCommand.js | 27 + .../commands/PutBucketWebsiteCommand.js | 27 + .../dist-es/commands/PutObjectAclCommand.js | 29 + .../dist-es/commands/PutObjectCommand.js | 32 + .../commands/PutObjectLegalHoldCommand.js | 28 + .../PutObjectLockConfigurationCommand.js | 28 + .../commands/PutObjectRetentionCommand.js | 28 + .../commands/PutObjectTaggingCommand.js | 28 + .../commands/PutPublicAccessBlockCommand.js | 27 + .../dist-es/commands/RenameObjectCommand.js | 24 + .../dist-es/commands/RestoreObjectCommand.js | 28 + .../commands/SelectObjectContentCommand.js | 29 + ...adataInventoryTableConfigurationCommand.js | 27 + ...etadataJournalTableConfigurationCommand.js | 27 + .../commands/UpdateObjectEncryptionCommand.js | 28 + .../dist-es/commands/UploadPartCommand.js | 31 + .../dist-es/commands/UploadPartCopyCommand.js | 26 + .../commands/WriteGetObjectResponseCommand.js | 19 + .../client-s3/dist-es/commands/index.js | 107 + .../dist-es/endpoint/EndpointParameters.js | 25 + .../dist-es/endpoint/endpointResolver.js | 29 + .../client-s3/dist-es/endpoint/ruleset.js | 4 + .../dist-es/extensionConfiguration.js | 1 + .../@aws-sdk/client-s3/dist-es/index.js | 11 + .../dist-es/models/S3ServiceException.js | 8 + .../client-s3/dist-es/models/enums.js | 403 + .../client-s3/dist-es/models/errors.js | 185 + .../client-s3/dist-es/models/models_0.js | 1 + .../client-s3/dist-es/models/models_1.js | 1 + .../dist-es/pagination/Interfaces.js | 1 + .../pagination/ListBucketsPaginator.js | 4 + .../ListDirectoryBucketsPaginator.js | 4 + .../pagination/ListObjectsV2Paginator.js | 4 + .../dist-es/pagination/ListPartsPaginator.js | 4 + .../client-s3/dist-es/pagination/index.js | 5 + .../dist-es/runtimeConfig.browser.js | 41 + .../client-s3/dist-es/runtimeConfig.js | 63 + .../client-s3/dist-es/runtimeConfig.native.js | 11 + .../client-s3/dist-es/runtimeConfig.shared.js | 52 + .../client-s3/dist-es/runtimeExtensions.js | 9 + .../client-s3/dist-es/schemas/schemas_0.js | 3246 +++ .../client-s3/dist-es/waiters/index.js | 4 + .../dist-es/waiters/waitForBucketExists.js | 26 + .../dist-es/waiters/waitForBucketNotExists.js | 25 + .../dist-es/waiters/waitForObjectExists.js | 26 + .../dist-es/waiters/waitForObjectNotExists.js | 25 + .../@aws-sdk/client-s3/dist-types/S3.d.ts | 814 + .../client-s3/dist-types/S3Client.d.ts | 339 + .../auth/httpAuthExtensionConfiguration.d.ts | 29 + .../auth/httpAuthSchemeProvider.d.ts | 83 + .../commands/AbortMultipartUploadCommand.d.ts | 182 + .../CompleteMultipartUploadCommand.d.ts | 311 + .../commands/CopyObjectCommand.d.ts | 362 + .../commands/CreateBucketCommand.d.ts | 291 + ...ateBucketMetadataConfigurationCommand.d.ts | 187 + ...cketMetadataTableConfigurationCommand.d.ts | 153 + .../CreateMultipartUploadCommand.d.ts | 386 + .../commands/CreateSessionCommand.d.ts | 197 + ...teBucketAnalyticsConfigurationCommand.d.ts | 105 + .../commands/DeleteBucketCommand.d.ts | 144 + .../commands/DeleteBucketCorsCommand.d.ts | 111 + .../DeleteBucketEncryptionCommand.d.ts | 134 + ...ntelligentTieringConfigurationCommand.d.ts | 101 + ...teBucketInventoryConfigurationCommand.d.ts | 107 + .../DeleteBucketLifecycleCommand.d.ts | 153 + ...eteBucketMetadataConfigurationCommand.d.ts | 119 + ...cketMetadataTableConfigurationCommand.d.ts | 119 + ...leteBucketMetricsConfigurationCommand.d.ts | 141 + .../DeleteBucketOwnershipControlsCommand.d.ts | 96 + .../commands/DeleteBucketPolicyCommand.d.ts | 152 + .../DeleteBucketReplicationCommand.d.ts | 114 + .../commands/DeleteBucketTaggingCommand.d.ts | 107 + .../commands/DeleteBucketWebsiteCommand.d.ts | 114 + .../commands/DeleteObjectCommand.d.ts | 237 + .../commands/DeleteObjectTaggingCommand.d.ts | 135 + .../commands/DeleteObjectsCommand.d.ts | 318 + .../DeletePublicAccessBlockCommand.d.ts | 108 + .../commands/GetBucketAbacCommand.d.ts | 77 + ...tBucketAccelerateConfigurationCommand.d.ts | 105 + .../commands/GetBucketAclCommand.d.ts | 119 + ...etBucketAnalyticsConfigurationCommand.d.ts | 138 + .../commands/GetBucketCorsCommand.d.ts | 148 + .../commands/GetBucketEncryptionCommand.d.ts | 151 + ...ntelligentTieringConfigurationCommand.d.ts | 128 + ...etBucketInventoryConfigurationCommand.d.ts | 133 + ...etBucketLifecycleConfigurationCommand.d.ts | 250 + .../commands/GetBucketLocationCommand.d.ts | 131 + .../commands/GetBucketLoggingCommand.d.ts | 116 + ...GetBucketMetadataConfigurationCommand.d.ts | 151 + ...cketMetadataTableConfigurationCommand.d.ts | 134 + .../GetBucketMetricsConfigurationCommand.d.ts | 164 + ...ucketNotificationConfigurationCommand.d.ts | 159 + .../GetBucketOwnershipControlsCommand.d.ts | 118 + .../commands/GetBucketPolicyCommand.d.ts | 159 + .../GetBucketPolicyStatusCommand.d.ts | 110 + .../commands/GetBucketReplicationCommand.d.ts | 199 + .../GetBucketRequestPaymentCommand.d.ts | 105 + .../commands/GetBucketTaggingCommand.d.ts | 138 + .../commands/GetBucketVersioningCommand.d.ts | 120 + .../commands/GetBucketWebsiteCommand.d.ts | 143 + .../commands/GetObjectAclCommand.d.ts | 192 + .../commands/GetObjectAttributesCommand.d.ts | 328 + .../dist-types/commands/GetObjectCommand.d.ts | 373 + .../commands/GetObjectLegalHoldCommand.d.ts | 95 + .../GetObjectLockConfigurationCommand.d.ts | 100 + .../commands/GetObjectRetentionCommand.d.ts | 96 + .../commands/GetObjectTaggingCommand.d.ts | 165 + .../commands/GetObjectTorrentCommand.d.ts | 124 + .../commands/GetPublicAccessBlockCommand.d.ts | 125 + .../commands/HeadBucketCommand.d.ts | 168 + .../commands/HeadObjectCommand.d.ts | 312 + ...tBucketAnalyticsConfigurationsCommand.d.ts | 150 + ...telligentTieringConfigurationsCommand.d.ts | 133 + ...tBucketInventoryConfigurationsCommand.d.ts | 145 + ...istBucketMetricsConfigurationsCommand.d.ts | 170 + .../commands/ListBucketsCommand.d.ts | 137 + .../commands/ListDirectoryBucketsCommand.d.ts | 114 + .../commands/ListMultipartUploadsCommand.d.ts | 341 + .../commands/ListObjectVersionsCommand.d.ts | 217 + .../commands/ListObjectsCommand.d.ts | 203 + .../commands/ListObjectsV2Command.d.ts | 264 + .../dist-types/commands/ListPartsCommand.d.ts | 242 + .../commands/PutBucketAbacCommand.d.ts | 78 + ...tBucketAccelerateConfigurationCommand.d.ts | 117 + .../commands/PutBucketAclCommand.d.ts | 314 + ...utBucketAnalyticsConfigurationCommand.d.ts | 212 + .../commands/PutBucketCorsCommand.d.ts | 197 + .../commands/PutBucketEncryptionCommand.d.ts | 212 + ...ntelligentTieringConfigurationCommand.d.ts | 159 + ...utBucketInventoryConfigurationCommand.d.ts | 187 + ...utBucketLifecycleConfigurationCommand.d.ts | 292 + .../commands/PutBucketLoggingCommand.d.ts | 218 + .../PutBucketMetricsConfigurationCommand.d.ts | 176 + ...ucketNotificationConfigurationCommand.d.ts | 208 + .../PutBucketOwnershipControlsCommand.d.ts | 104 + .../commands/PutBucketPolicyCommand.d.ts | 165 + .../commands/PutBucketReplicationCommand.d.ts | 234 + .../PutBucketRequestPaymentCommand.d.ts | 116 + .../commands/PutBucketTaggingCommand.d.ts | 165 + .../commands/PutBucketVersioningCommand.d.ts | 148 + .../commands/PutBucketWebsiteCommand.d.ts | 253 + .../commands/PutObjectAclCommand.d.ts | 315 + .../dist-types/commands/PutObjectCommand.d.ts | 466 + .../commands/PutObjectLegalHoldCommand.d.ts | 90 + .../PutObjectLockConfigurationCommand.d.ts | 114 + .../commands/PutObjectRetentionCommand.d.ts | 95 + .../commands/PutObjectTaggingCommand.d.ts | 168 + .../commands/PutPublicAccessBlockCommand.d.ts | 123 + .../commands/RenameObjectCommand.d.ts | 143 + .../commands/RestoreObjectCommand.d.ts | 381 + .../commands/SelectObjectContentCommand.d.ts | 251 + ...ataInventoryTableConfigurationCommand.d.ts | 166 + ...adataJournalTableConfigurationCommand.d.ts | 118 + .../UpdateObjectEncryptionCommand.d.ts | 259 + .../commands/UploadPartCommand.d.ts | 307 + .../commands/UploadPartCopyCommand.d.ts | 368 + .../WriteGetObjectResponseCommand.d.ts | 150 + .../client-s3/dist-types/commands/index.d.ts | 107 + .../endpoint/EndpointParameters.d.ts | 96 + .../dist-types/endpoint/endpointResolver.d.ts | 8 + .../dist-types/endpoint/ruleset.d.ts | 2 + .../dist-types/extensionConfiguration.d.ts | 9 + .../@aws-sdk/client-s3/dist-types/index.d.ts | 19 + .../dist-types/models/S3ServiceException.d.ts | 14 + .../client-s3/dist-types/models/enums.d.ts | 987 + .../client-s3/dist-types/models/errors.d.ts | 208 + .../client-s3/dist-types/models/models_0.d.ts | 15270 +++++++++++++ .../client-s3/dist-types/models/models_1.d.ts | 1875 ++ .../dist-types/pagination/Interfaces.d.ts | 8 + .../pagination/ListBucketsPaginator.d.ts | 7 + .../ListDirectoryBucketsPaginator.d.ts | 7 + .../pagination/ListObjectsV2Paginator.d.ts | 7 + .../pagination/ListPartsPaginator.d.ts | 7 + .../dist-types/pagination/index.d.ts | 5 + .../dist-types/runtimeConfig.browser.d.ts | 87 + .../client-s3/dist-types/runtimeConfig.d.ts | 88 + .../dist-types/runtimeConfig.native.d.ts | 86 + .../dist-types/runtimeConfig.shared.d.ts | 34 + .../dist-types/runtimeExtensions.d.ts | 17 + .../dist-types/schemas/schemas_0.d.ts | 464 + .../client-s3/dist-types/ts3.4/S3.d.ts | 1998 ++ .../client-s3/dist-types/ts3.4/S3Client.d.ts | 785 + .../auth/httpAuthExtensionConfiguration.d.ts | 32 + .../ts3.4/auth/httpAuthSchemeProvider.d.ts | 58 + .../commands/AbortMultipartUploadCommand.d.ts | 51 + .../CompleteMultipartUploadCommand.d.ts | 51 + .../ts3.4/commands/CopyObjectCommand.d.ts | 47 + .../ts3.4/commands/CreateBucketCommand.d.ts | 47 + ...ateBucketMetadataConfigurationCommand.d.ts | 47 + ...cketMetadataTableConfigurationCommand.d.ts | 47 + .../CreateMultipartUploadCommand.d.ts | 51 + .../ts3.4/commands/CreateSessionCommand.d.ts | 47 + ...teBucketAnalyticsConfigurationCommand.d.ts | 47 + .../ts3.4/commands/DeleteBucketCommand.d.ts | 45 + .../commands/DeleteBucketCorsCommand.d.ts | 45 + .../DeleteBucketEncryptionCommand.d.ts | 46 + ...ntelligentTieringConfigurationCommand.d.ts | 47 + ...teBucketInventoryConfigurationCommand.d.ts | 47 + .../DeleteBucketLifecycleCommand.d.ts | 46 + ...eteBucketMetadataConfigurationCommand.d.ts | 47 + ...cketMetadataTableConfigurationCommand.d.ts | 47 + ...leteBucketMetricsConfigurationCommand.d.ts | 47 + .../DeleteBucketOwnershipControlsCommand.d.ts | 47 + .../commands/DeleteBucketPolicyCommand.d.ts | 46 + .../DeleteBucketReplicationCommand.d.ts | 47 + .../commands/DeleteBucketTaggingCommand.d.ts | 46 + .../commands/DeleteBucketWebsiteCommand.d.ts | 46 + .../ts3.4/commands/DeleteObjectCommand.d.ts | 47 + .../commands/DeleteObjectTaggingCommand.d.ts | 51 + .../ts3.4/commands/DeleteObjectsCommand.d.ts | 47 + .../DeletePublicAccessBlockCommand.d.ts | 47 + .../ts3.4/commands/GetBucketAbacCommand.d.ts | 47 + ...tBucketAccelerateConfigurationCommand.d.ts | 51 + .../ts3.4/commands/GetBucketAclCommand.d.ts | 47 + ...etBucketAnalyticsConfigurationCommand.d.ts | 51 + .../ts3.4/commands/GetBucketCorsCommand.d.ts | 47 + .../commands/GetBucketEncryptionCommand.d.ts | 51 + ...ntelligentTieringConfigurationCommand.d.ts | 51 + ...etBucketInventoryConfigurationCommand.d.ts | 51 + ...etBucketLifecycleConfigurationCommand.d.ts | 51 + .../commands/GetBucketLocationCommand.d.ts | 51 + .../commands/GetBucketLoggingCommand.d.ts | 50 + ...GetBucketMetadataConfigurationCommand.d.ts | 51 + ...cketMetadataTableConfigurationCommand.d.ts | 51 + .../GetBucketMetricsConfigurationCommand.d.ts | 51 + ...ucketNotificationConfigurationCommand.d.ts | 51 + .../GetBucketOwnershipControlsCommand.d.ts | 51 + .../commands/GetBucketPolicyCommand.d.ts | 50 + .../GetBucketPolicyStatusCommand.d.ts | 51 + .../commands/GetBucketReplicationCommand.d.ts | 51 + .../GetBucketRequestPaymentCommand.d.ts | 51 + .../commands/GetBucketTaggingCommand.d.ts | 50 + .../commands/GetBucketVersioningCommand.d.ts | 51 + .../commands/GetBucketWebsiteCommand.d.ts | 50 + .../ts3.4/commands/GetObjectAclCommand.d.ts | 47 + .../commands/GetObjectAttributesCommand.d.ts | 51 + .../ts3.4/commands/GetObjectCommand.d.ts | 52 + .../commands/GetObjectLegalHoldCommand.d.ts | 51 + .../GetObjectLockConfigurationCommand.d.ts | 51 + .../commands/GetObjectRetentionCommand.d.ts | 51 + .../commands/GetObjectTaggingCommand.d.ts | 50 + .../commands/GetObjectTorrentCommand.d.ts | 58 + .../commands/GetPublicAccessBlockCommand.d.ts | 51 + .../ts3.4/commands/HeadBucketCommand.d.ts | 47 + .../ts3.4/commands/HeadObjectCommand.d.ts | 47 + ...tBucketAnalyticsConfigurationsCommand.d.ts | 51 + ...telligentTieringConfigurationsCommand.d.ts | 51 + ...tBucketInventoryConfigurationsCommand.d.ts | 51 + ...istBucketMetricsConfigurationsCommand.d.ts | 51 + .../ts3.4/commands/ListBucketsCommand.d.ts | 47 + .../commands/ListDirectoryBucketsCommand.d.ts | 51 + .../commands/ListMultipartUploadsCommand.d.ts | 51 + .../commands/ListObjectVersionsCommand.d.ts | 51 + .../ts3.4/commands/ListObjectsCommand.d.ts | 47 + .../ts3.4/commands/ListObjectsV2Command.d.ts | 47 + .../ts3.4/commands/ListPartsCommand.d.ts | 47 + .../ts3.4/commands/PutBucketAbacCommand.d.ts | 45 + ...tBucketAccelerateConfigurationCommand.d.ts | 47 + .../ts3.4/commands/PutBucketAclCommand.d.ts | 45 + ...utBucketAnalyticsConfigurationCommand.d.ts | 47 + .../ts3.4/commands/PutBucketCorsCommand.d.ts | 45 + .../commands/PutBucketEncryptionCommand.d.ts | 46 + ...ntelligentTieringConfigurationCommand.d.ts | 47 + ...utBucketInventoryConfigurationCommand.d.ts | 47 + ...utBucketLifecycleConfigurationCommand.d.ts | 51 + .../commands/PutBucketLoggingCommand.d.ts | 45 + .../PutBucketMetricsConfigurationCommand.d.ts | 47 + ...ucketNotificationConfigurationCommand.d.ts | 47 + .../PutBucketOwnershipControlsCommand.d.ts | 47 + .../commands/PutBucketPolicyCommand.d.ts | 45 + .../commands/PutBucketReplicationCommand.d.ts | 46 + .../PutBucketRequestPaymentCommand.d.ts | 47 + .../commands/PutBucketTaggingCommand.d.ts | 45 + .../commands/PutBucketVersioningCommand.d.ts | 46 + .../commands/PutBucketWebsiteCommand.d.ts | 45 + .../ts3.4/commands/PutObjectAclCommand.d.ts | 47 + .../ts3.4/commands/PutObjectCommand.d.ts | 53 + .../commands/PutObjectLegalHoldCommand.d.ts | 51 + .../PutObjectLockConfigurationCommand.d.ts | 51 + .../commands/PutObjectRetentionCommand.d.ts | 51 + .../commands/PutObjectTaggingCommand.d.ts | 50 + .../commands/PutPublicAccessBlockCommand.d.ts | 46 + .../ts3.4/commands/RenameObjectCommand.d.ts | 47 + .../ts3.4/commands/RestoreObjectCommand.d.ts | 48 + .../commands/SelectObjectContentCommand.d.ts | 51 + ...ataInventoryTableConfigurationCommand.d.ts | 47 + ...adataJournalTableConfigurationCommand.d.ts | 47 + .../UpdateObjectEncryptionCommand.d.ts | 51 + .../ts3.4/commands/UploadPartCommand.d.ts | 53 + .../ts3.4/commands/UploadPartCopyCommand.d.ts | 50 + .../WriteGetObjectResponseCommand.d.ts | 54 + .../dist-types/ts3.4/commands/index.d.ts | 107 + .../ts3.4/endpoint/EndpointParameters.d.ts | 106 + .../ts3.4/endpoint/endpointResolver.d.ts | 8 + .../dist-types/ts3.4/endpoint/ruleset.d.ts | 2 + .../ts3.4/extensionConfiguration.d.ts | 9 + .../client-s3/dist-types/ts3.4/index.d.ts | 14 + .../ts3.4/models/S3ServiceException.d.ts | 9 + .../dist-types/ts3.4/models/enums.d.ts | 529 + .../dist-types/ts3.4/models/errors.d.ts | 92 + .../dist-types/ts3.4/models/models_0.d.ts | 2045 ++ .../dist-types/ts3.4/models/models_1.d.ts | 352 + .../ts3.4/pagination/Interfaces.d.ts | 5 + .../pagination/ListBucketsPaginator.d.ts | 11 + .../ListDirectoryBucketsPaginator.d.ts | 11 + .../pagination/ListObjectsV2Paginator.d.ts | 11 + .../ts3.4/pagination/ListPartsPaginator.d.ts | 11 + .../dist-types/ts3.4/pagination/index.d.ts | 5 + .../ts3.4/runtimeConfig.browser.d.ts | 170 + .../dist-types/ts3.4/runtimeConfig.d.ts | 170 + .../ts3.4/runtimeConfig.native.d.ts | 174 + .../ts3.4/runtimeConfig.shared.d.ts | 47 + .../dist-types/ts3.4/runtimeExtensions.d.ts | 11 + .../dist-types/ts3.4/schemas/schemas_0.d.ts | 464 + .../dist-types/ts3.4/waiters/index.d.ts | 4 + .../ts3.4/waiters/waitForBucketExists.d.ts | 11 + .../ts3.4/waiters/waitForBucketNotExists.d.ts | 11 + .../ts3.4/waiters/waitForObjectExists.d.ts | 11 + .../ts3.4/waiters/waitForObjectNotExists.d.ts | 11 + .../client-s3/dist-types/waiters/index.d.ts | 4 + .../waiters/waitForBucketExists.d.ts | 14 + .../waiters/waitForBucketNotExists.d.ts | 14 + .../waiters/waitForObjectExists.d.ts | 14 + .../waiters/waitForObjectNotExists.d.ts | 14 + node_modules/@aws-sdk/client-s3/package.json | 127 + node_modules/@aws-sdk/core/LICENSE | 201 + node_modules/@aws-sdk/core/README.md | 39 + .../@aws-sdk/core/account-id-endpoint.d.ts | 7 + .../@aws-sdk/core/account-id-endpoint.js | 5 + node_modules/@aws-sdk/core/client.d.ts | 7 + node_modules/@aws-sdk/core/client.js | 5 + node_modules/@aws-sdk/core/dist-cjs/index.js | 2245 ++ .../submodules/account-id-endpoint/index.js | 55 + .../core/dist-cjs/submodules/client/index.js | 51 + .../submodules/httpAuthSchemes/index.js | 307 + .../dist-cjs/submodules/protocols/index.js | 1892 ++ node_modules/@aws-sdk/core/dist-es/index.js | 3 + .../AccountIdEndpointModeConfigResolver.js | 15 + .../AccountIdEndpointModeConstants.js | 5 + .../NodeAccountIdEndpointModeConfigOptions.js | 24 + .../submodules/account-id-endpoint/index.js | 3 + .../client/emitWarningIfUnsupportedVersion.js | 15 + .../core/dist-es/submodules/client/index.js | 4 + .../submodules/client/setCredentialFeature.js | 7 + .../dist-es/submodules/client/setFeature.js | 11 + .../submodules/client/setTokenFeature.js | 7 + .../aws_sdk/AwsSdkSigV4ASigner.js | 20 + .../aws_sdk/AwsSdkSigV4Signer.js | 72 + .../NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js | 22 + .../httpAuthSchemes/aws_sdk/index.js | 5 + .../aws_sdk/resolveAwsSdkSigV4AConfig.js | 25 + .../aws_sdk/resolveAwsSdkSigV4Config.js | 139 + .../submodules/httpAuthSchemes/index.js | 2 + .../utils/getArrayForCommaSeparatedString.js | 1 + .../utils/getBearerTokenEnvKey.js | 1 + .../httpAuthSchemes/utils/getDateHeader.js | 2 + .../utils/getSkewCorrectedDate.js | 1 + .../utils/getUpdatedSystemClockOffset.js | 8 + .../submodules/httpAuthSchemes/utils/index.js | 3 + .../httpAuthSchemes/utils/isClockSkewed.js | 2 + .../protocols/ConfigurableSerdeContext.js | 6 + .../submodules/protocols/ProtocolLib.js | 140 + .../submodules/protocols/UnionSerde.js | 23 + .../cbor/AwsSmithyRpcV2CborProtocol.js | 50 + .../protocols/coercing-serializers.js | 53 + .../dist-es/submodules/protocols/common.js | 3 + .../dist-es/submodules/protocols/index.js | 20 + .../protocols/json/AwsJson1_0Protocol.js | 21 + .../protocols/json/AwsJson1_1Protocol.js | 21 + .../protocols/json/AwsJsonRpcProtocol.js | 78 + .../protocols/json/AwsRestJsonProtocol.js | 84 + .../submodules/protocols/json/JsonCodec.js | 20 + .../protocols/json/JsonShapeDeserializer.js | 149 + .../protocols/json/JsonShapeSerializer.js | 176 + .../protocols/json/awsExpectUnion.js | 10 + .../SinglePassJsonShapeSerializer.js | 135 + .../submodules/protocols/json/jsonReplacer.js | 46 + .../submodules/protocols/json/jsonReviver.js | 18 + .../protocols/json/parseJsonBody.js | 54 + .../protocols/query/AwsEc2QueryProtocol.js | 21 + .../protocols/query/AwsQueryProtocol.js | 138 + .../query/QuerySerializerSettings.js | 1 + .../protocols/query/QueryShapeSerializer.js | 189 + .../protocols/xml/AwsRestXmlProtocol.js | 99 + .../submodules/protocols/xml/XmlCodec.js | 20 + .../protocols/xml/XmlShapeDeserializer.js | 153 + .../protocols/xml/XmlShapeSerializer.js | 295 + .../submodules/protocols/xml/parseXmlBody.js | 46 + .../protocols/xml/simpleFormatXml.js | 27 + .../dist-types/api-extractor-type-index.d.ts | 5 + .../@aws-sdk/core/dist-types/index.d.ts | 22 + .../AccountIdEndpointModeConfigResolver.d.ts | 27 + .../AccountIdEndpointModeConstants.d.ts | 16 + ...odeAccountIdEndpointModeConfigOptions.d.ts | 14 + .../submodules/account-id-endpoint/index.d.ts | 3 + .../emitWarningIfUnsupportedVersion.d.ts | 12 + .../dist-types/submodules/client/index.d.ts | 4 + .../client/setCredentialFeature.d.ts | 7 + .../submodules/client/setFeature.d.ts | 12 + .../submodules/client/setTokenFeature.d.ts | 7 + .../aws_sdk/AwsSdkSigV4ASigner.d.ts | 10 + .../aws_sdk/AwsSdkSigV4Signer.d.ts | 43 + .../NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts | 5 + .../httpAuthSchemes/aws_sdk/index.d.ts | 5 + .../aws_sdk/resolveAwsSdkSigV4AConfig.d.ts | 38 + .../aws_sdk/resolveAwsSdkSigV4Config.d.ts | 117 + .../submodules/httpAuthSchemes/index.d.ts | 2 + .../getArrayForCommaSeparatedString.d.ts | 8 + .../utils/getBearerTokenEnvKey.d.ts | 6 + .../httpAuthSchemes/utils/getDateHeader.d.ts | 4 + .../utils/getSkewCorrectedDate.d.ts | 8 + .../utils/getUpdatedSystemClockOffset.d.ts | 10 + .../httpAuthSchemes/utils/index.d.ts | 3 + .../httpAuthSchemes/utils/isClockSkewed.d.ts | 9 + .../protocols/ConfigurableSerdeContext.d.ts | 8 + .../submodules/protocols/ProtocolLib.d.ts | 74 + .../submodules/protocols/UnionSerde.d.ts | 24 + .../cbor/AwsSmithyRpcV2CborProtocol.d.ts | 25 + .../protocols/coercing-serializers.d.ts | 18 + .../submodules/protocols/common.d.ts | 2 + .../submodules/protocols/index.d.ts | 20 + .../protocols/json/AwsJson1_0Protocol.d.ts | 22 + .../protocols/json/AwsJson1_1Protocol.d.ts | 22 + .../protocols/json/AwsJsonRpcProtocol.d.ts | 29 + .../protocols/json/AwsRestJsonProtocol.d.ts | 36 + .../submodules/protocols/json/JsonCodec.d.ts | 19 + .../protocols/json/JsonShapeDeserializer.d.ts | 13 + .../protocols/json/JsonShapeSerializer.d.ts | 28 + .../protocols/json/awsExpectUnion.d.ts | 7 + .../SinglePassJsonShapeSerializer.d.ts | 27 + .../protocols/json/jsonReplacer.d.ts | 21 + .../protocols/json/jsonReviver.d.ts | 15 + .../protocols/json/parseJsonBody.d.ts | 13 + .../protocols/query/AwsEc2QueryProtocol.d.ts | 27 + .../protocols/query/AwsQueryProtocol.d.ts | 49 + .../query/QuerySerializerSettings.d.ts | 13 + .../protocols/query/QueryShapeSerializer.d.ts | 16 + .../protocols/xml/AwsRestXmlProtocol.d.ts | 31 + .../submodules/protocols/xml/XmlCodec.d.ts | 14 + .../protocols/xml/XmlShapeDeserializer.d.ts | 20 + .../protocols/xml/XmlShapeSerializer.d.ts | 21 + .../protocols/xml/parseXmlBody.d.ts | 13 + .../protocols/xml/simpleFormatXml.d.ts | 6 + .../ts3.4/api-extractor-type-index.d.ts | 5 + .../@aws-sdk/core/dist-types/ts3.4/index.d.ts | 3 + .../AccountIdEndpointModeConfigResolver.d.ts | 15 + .../AccountIdEndpointModeConstants.d.ts | 6 + ...odeAccountIdEndpointModeConfigOptions.d.ts | 7 + .../submodules/account-id-endpoint/index.d.ts | 3 + .../emitWarningIfUnsupportedVersion.d.ts | 4 + .../ts3.4/submodules/client/index.d.ts | 4 + .../client/setCredentialFeature.d.ts | 11 + .../ts3.4/submodules/client/setFeature.d.ts | 6 + .../submodules/client/setTokenFeature.d.ts | 6 + .../aws_sdk/AwsSdkSigV4ASigner.d.ts | 12 + .../aws_sdk/AwsSdkSigV4Signer.d.ts | 39 + .../NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts | 4 + .../httpAuthSchemes/aws_sdk/index.d.ts | 9 + .../aws_sdk/resolveAwsSdkSigV4AConfig.d.ts | 18 + .../aws_sdk/resolveAwsSdkSigV4Config.d.ts | 65 + .../submodules/httpAuthSchemes/index.d.ts | 2 + .../getArrayForCommaSeparatedString.d.ts | 1 + .../utils/getBearerTokenEnvKey.d.ts | 1 + .../httpAuthSchemes/utils/getDateHeader.d.ts | 1 + .../utils/getSkewCorrectedDate.d.ts | 1 + .../utils/getUpdatedSystemClockOffset.d.ts | 4 + .../httpAuthSchemes/utils/index.d.ts | 3 + .../httpAuthSchemes/utils/isClockSkewed.d.ts | 4 + .../protocols/ConfigurableSerdeContext.d.ts | 5 + .../submodules/protocols/ProtocolLib.d.ts | 53 + .../submodules/protocols/UnionSerde.d.ts | 9 + .../cbor/AwsSmithyRpcV2CborProtocol.d.ts | 36 + .../protocols/coercing-serializers.d.ts | 3 + .../ts3.4/submodules/protocols/common.d.ts | 5 + .../ts3.4/submodules/protocols/index.d.ts | 20 + .../protocols/json/AwsJson1_0Protocol.d.ts | 21 + .../protocols/json/AwsJson1_1Protocol.d.ts | 21 + .../protocols/json/AwsJsonRpcProtocol.d.ts | 49 + .../protocols/json/AwsRestJsonProtocol.d.ts | 49 + .../submodules/protocols/json/JsonCodec.d.ts | 16 + .../protocols/json/JsonShapeDeserializer.d.ts | 13 + .../protocols/json/JsonShapeSerializer.d.ts | 22 + .../protocols/json/awsExpectUnion.d.ts | 3 + .../SinglePassJsonShapeSerializer.d.ts | 17 + .../protocols/json/jsonReplacer.d.ts | 7 + .../protocols/json/jsonReviver.d.ts | 7 + .../protocols/json/parseJsonBody.d.ts | 13 + .../protocols/query/AwsEc2QueryProtocol.d.ts | 18 + .../protocols/query/AwsQueryProtocol.d.ts | 60 + .../query/QuerySerializerSettings.d.ts | 7 + .../protocols/query/QueryShapeSerializer.d.ts | 21 + .../protocols/xml/AwsRestXmlProtocol.d.ts | 47 + .../submodules/protocols/xml/XmlCodec.d.ts | 17 + .../protocols/xml/XmlShapeDeserializer.d.ts | 15 + .../protocols/xml/XmlShapeSerializer.d.ts | 21 + .../protocols/xml/parseXmlBody.d.ts | 13 + .../protocols/xml/simpleFormatXml.d.ts | 1 + .../@aws-sdk/core/httpAuthSchemes.d.ts | 7 + node_modules/@aws-sdk/core/httpAuthSchemes.js | 5 + node_modules/@aws-sdk/core/package.json | 121 + node_modules/@aws-sdk/core/protocols.d.ts | 7 + node_modules/@aws-sdk/core/protocols.js | 5 + node_modules/@aws-sdk/crc64-nvme/LICENSE | 201 + node_modules/@aws-sdk/crc64-nvme/README.md | 61 + .../@aws-sdk/crc64-nvme/dist-cjs/index.js | 101 + .../@aws-sdk/crc64-nvme/dist-es/Crc64Nvme.js | 92 + .../dist-es/crc64-nvme-crt-container.js | 3 + .../@aws-sdk/crc64-nvme/dist-es/index.js | 2 + .../crc64-nvme/dist-types/Crc64Nvme.d.ts | 24 + .../dist-types/crc64-nvme-crt-container.d.ts | 13 + .../@aws-sdk/crc64-nvme/dist-types/index.d.ts | 2 + .../dist-types/ts3.4/Crc64Nvme.d.ts | 9 + .../ts3.4/crc64-nvme-crt-container.d.ts | 4 + .../crc64-nvme/dist-types/ts3.4/index.d.ts | 2 + node_modules/@aws-sdk/crc64-nvme/package.json | 50 + .../@aws-sdk/credential-provider-env/LICENSE | 201 + .../credential-provider-env/README.md | 20 + .../credential-provider-env/dist-cjs/index.js | 41 + .../dist-es/fromEnv.js | 30 + .../credential-provider-env/dist-es/index.js | 1 + .../dist-types/fromEnv.d.ts | 36 + .../dist-types/index.d.ts | 4 + .../dist-types/ts3.4/fromEnv.d.ts | 12 + .../dist-types/ts3.4/index.d.ts | 1 + .../credential-provider-env/package.json | 63 + .../credential-provider-http/README.md | 10 + .../dist-cjs/fromHttp/checkUrl.js | 46 + .../dist-cjs/fromHttp/fromHttp.browser.js | 31 + .../dist-cjs/fromHttp/fromHttp.js | 70 + .../dist-cjs/fromHttp/fromHttpTypes.js | 2 + .../dist-cjs/fromHttp/requestHelpers.js | 53 + .../dist-cjs/fromHttp/retry-wrapper.js | 17 + .../dist-cjs/index.browser.js | 5 + .../dist-cjs/index.js | 5 + .../dist-es/fromHttp/checkUrl.js | 42 + .../dist-es/fromHttp/fromHttp.browser.js | 27 + .../dist-es/fromHttp/fromHttp.js | 65 + .../dist-es/fromHttp/fromHttpTypes.js | 1 + .../dist-es/fromHttp/requestHelpers.js | 49 + .../dist-es/fromHttp/retry-wrapper.js | 13 + .../dist-es/index.browser.js | 1 + .../credential-provider-http/dist-es/index.js | 1 + .../dist-types/fromHttp/checkUrl.d.ts | 9 + .../dist-types/fromHttp/fromHttp.browser.d.ts | 6 + .../dist-types/fromHttp/fromHttp.d.ts | 6 + .../dist-types/fromHttp/fromHttpTypes.d.ts | 69 + .../dist-types/fromHttp/requestHelpers.d.ts | 11 + .../dist-types/fromHttp/retry-wrapper.d.ts | 10 + .../dist-types/index.browser.d.ts | 2 + .../dist-types/index.d.ts | 2 + .../dist-types/ts3.4/fromHttp/checkUrl.d.ts | 2 + .../ts3.4/fromHttp/fromHttp.browser.d.ts | 5 + .../dist-types/ts3.4/fromHttp/fromHttp.d.ts | 5 + .../ts3.4/fromHttp/fromHttpTypes.d.ts | 18 + .../ts3.4/fromHttp/requestHelpers.d.ts | 8 + .../ts3.4/fromHttp/retry-wrapper.d.ts | 8 + .../dist-types/ts3.4/index.browser.d.ts | 5 + .../dist-types/ts3.4/index.d.ts | 5 + .../credential-provider-http/package.json | 70 + .../@aws-sdk/credential-provider-ini/LICENSE | 201 + .../credential-provider-ini/README.md | 20 + .../credential-provider-ini/dist-cjs/index.js | 224 + .../dist-es/fromIni.js | 9 + .../credential-provider-ini/dist-es/index.js | 1 + .../dist-es/resolveAssumeRoleCredentials.js | 80 + .../dist-es/resolveCredentialSource.js | 30 + .../dist-es/resolveLoginCredentials.js | 12 + .../dist-es/resolveProcessCredentials.js | 6 + .../dist-es/resolveProfileData.js | 32 + .../dist-es/resolveSsoCredentials.js | 25 + .../dist-es/resolveStaticCredentials.js | 18 + .../dist-es/resolveWebIdentityCredentials.js | 16 + .../dist-types/fromIni.d.ts | 55 + .../dist-types/index.d.ts | 4 + .../resolveAssumeRoleCredentials.d.ts | 48 + .../dist-types/resolveCredentialSource.d.ts | 12 + .../dist-types/resolveLoginCredentials.d.ts | 11 + .../dist-types/resolveProcessCredentials.d.ts | 16 + .../dist-types/resolveProfileData.d.ts | 19 + .../dist-types/resolveSsoCredentials.d.ts | 13 + .../dist-types/resolveStaticCredentials.d.ts | 20 + .../resolveWebIdentityCredentials.d.ts | 19 + .../dist-types/ts3.4/fromIni.d.ts | 28 + .../dist-types/ts3.4/index.d.ts | 1 + .../ts3.4/resolveAssumeRoleCredentials.d.ts | 30 + .../ts3.4/resolveCredentialSource.d.ts | 9 + .../ts3.4/resolveLoginCredentials.d.ts | 9 + .../ts3.4/resolveProcessCredentials.d.ts | 10 + .../dist-types/ts3.4/resolveProfileData.d.ts | 12 + .../ts3.4/resolveSsoCredentials.d.ts | 11 + .../ts3.4/resolveStaticCredentials.d.ts | 16 + .../ts3.4/resolveWebIdentityCredentials.d.ts | 16 + .../credential-provider-ini/package.json | 74 + .../credential-provider-login/README.md | 16 + .../dist-cjs/index.js | 286 + .../dist-es/LoginCredentialsFetcher.js | 262 + .../dist-es/fromLoginCredentials.js | 21 + .../dist-es/index.js | 2 + .../dist-es/types.js | 1 + .../dist-types/LoginCredentialsFetcher.d.ts | 42 + .../dist-types/fromLoginCredentials.d.ts | 7 + .../dist-types/index.d.ts | 8 + .../ts3.4/LoginCredentialsFetcher.d.ts | 24 + .../ts3.4/fromLoginCredentials.d.ts | 5 + .../dist-types/ts3.4/index.d.ts | 2 + .../dist-types/ts3.4/types.d.ts | 39 + .../dist-types/types.d.ts | 59 + .../credential-provider-login/package.json | 68 + .../@aws-sdk/credential-provider-node/LICENSE | 201 + .../credential-provider-node/README.md | 104 + .../dist-cjs/index.js | 156 + .../dist-es/defaultProvider.js | 73 + .../credential-provider-node/dist-es/index.js | 1 + .../dist-es/remoteProvider.js | 17 + .../dist-es/runtime/memoize-chain.js | 60 + .../dist-types/defaultProvider.d.ts | 59 + .../dist-types/index.d.ts | 1 + .../dist-types/remoteProvider.d.ts | 11 + .../dist-types/runtime/memoize-chain.d.ts | 18 + .../dist-types/ts3.4/defaultProvider.d.ts | 26 + .../dist-types/ts3.4/index.d.ts | 1 + .../dist-types/ts3.4/remoteProvider.d.ts | 7 + .../ts3.4/runtime/memoize-chain.d.ts | 19 + .../credential-provider-node/package.json | 72 + .../credential-provider-process/LICENSE | 201 + .../credential-provider-process/README.md | 20 + .../dist-cjs/index.js | 79 + .../dist-es/ProcessCredentials.js | 1 + .../dist-es/fromProcess.js | 9 + .../dist-es/getValidatedProcessCredentials.js | 30 + .../dist-es/index.js | 1 + .../dist-es/resolveProcessCredentials.js | 36 + .../dist-types/ProcessCredentials.d.ts | 12 + .../dist-types/fromProcess.d.ts | 14 + .../getValidatedProcessCredentials.d.ts | 6 + .../dist-types/index.d.ts | 4 + .../dist-types/resolveProcessCredentials.d.ts | 5 + .../dist-types/ts3.4/ProcessCredentials.d.ts | 9 + .../dist-types/ts3.4/fromProcess.d.ts | 11 + .../ts3.4/getValidatedProcessCredentials.d.ts | 7 + .../dist-types/ts3.4/index.d.ts | 1 + .../ts3.4/resolveProcessCredentials.d.ts | 6 + .../credential-provider-process/package.json | 64 + .../@aws-sdk/credential-provider-sso/LICENSE | 201 + .../credential-provider-sso/README.md | 20 + .../credential-provider-sso/dist-cjs/index.js | 192 + .../dist-cjs/loadSso-BKDNrsal.js | 8 + .../dist-es/fromSSO.js | 83 + .../credential-provider-sso/dist-es/index.js | 4 + .../dist-es/isSsoProfile.js | 6 + .../dist-es/loadSso.js | 2 + .../dist-es/resolveSSOCredentials.js | 90 + .../credential-provider-sso/dist-es/types.js | 1 + .../dist-es/validateSsoProfile.js | 9 + .../dist-types/fromSSO.d.ts | 69 + .../dist-types/index.d.ts | 16 + .../dist-types/isSsoProfile.d.ts | 6 + .../dist-types/loadSso.d.ts | 3 + .../dist-types/resolveSSOCredentials.d.ts | 6 + .../dist-types/ts3.4/fromSSO.d.ts | 24 + .../dist-types/ts3.4/index.d.ts | 4 + .../dist-types/ts3.4/isSsoProfile.d.ts | 3 + .../dist-types/ts3.4/loadSso.d.ts | 9 + .../ts3.4/resolveSSOCredentials.d.ts | 18 + .../dist-types/ts3.4/types.d.ts | 14 + .../dist-types/ts3.4/validateSsoProfile.d.ts | 6 + .../dist-types/types.d.ts | 22 + .../dist-types/validateSsoProfile.d.ts | 6 + .../credential-provider-sso/package.json | 66 + .../credential-provider-web-identity/LICENSE | 201 + .../README.md | 20 + .../dist-cjs/fromTokenFile.js | 34 + .../dist-cjs/fromWebToken.js | 62 + .../dist-cjs/index.js | 27 + .../dist-es/fromTokenFile.js | 30 + .../dist-es/fromWebToken.js | 25 + .../dist-es/index.js | 2 + .../dist-types/fromTokenFile.d.ts | 17 + .../dist-types/fromWebToken.d.ts | 145 + .../dist-types/index.d.ts | 8 + .../dist-types/ts3.4/fromTokenFile.d.ts | 18 + .../dist-types/ts3.4/fromWebToken.d.ts | 39 + .../dist-types/ts3.4/index.d.ts | 2 + .../package.json | 73 + .../middleware-bucket-endpoint/LICENSE | 201 + .../middleware-bucket-endpoint/README.md | 4 + .../dist-cjs/index.js | 352 + ...ableMultiregionAccessPointConfigOptions.js | 8 + .../dist-es/NodeUseArnRegionConfigOptions.js | 8 + .../dist-es/bucketEndpointMiddleware.js | 81 + .../dist-es/bucketHostname.js | 106 + .../dist-es/bucketHostnameUtils.js | 111 + .../dist-es/configurations.js | 12 + .../dist-es/index.js | 6 + ...leMultiregionAccessPointConfigOptions.d.ts | 4 + .../NodeUseArnRegionConfigOptions.d.ts | 9 + .../dist-types/bucketEndpointMiddleware.d.ts | 17 + .../dist-types/bucketHostname.d.ts | 16 + .../dist-types/bucketHostnameUtils.d.ts | 174 + .../dist-types/configurations.d.ts | 95 + .../dist-types/index.d.ts | 6 + ...leMultiregionAccessPointConfigOptions.d.ts | 6 + .../ts3.4/NodeUseArnRegionConfigOptions.d.ts | 6 + .../ts3.4/bucketEndpointMiddleware.d.ts | 13 + .../dist-types/ts3.4/bucketHostname.d.ts | 10 + .../dist-types/ts3.4/bucketHostnameUtils.d.ts | 80 + .../dist-types/ts3.4/configurations.d.ts | 31 + .../dist-types/ts3.4/index.d.ts | 16 + .../middleware-bucket-endpoint/package.json | 60 + .../middleware-expect-continue/LICENSE | 201 + .../middleware-expect-continue/README.md | 4 + .../dist-cjs/index.js | 48 + .../dist-es/index.js | 41 + .../dist-types/index.d.ts | 12 + .../dist-types/ts3.4/index.d.ts | 22 + .../middleware-expect-continue/package.json | 58 + .../middleware-flexible-checksums/LICENSE | 201 + .../middleware-flexible-checksums/README.md | 7 + ...tCrc32ChecksumAlgorithmFunction.browser.js | 6 + .../getCrc32ChecksumAlgorithmFunction.js | 26 + .../dist-cjs/index.js | 451 + ...EST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.js | 9 + ...ONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.js | 9 + .../dist-es/configuration.js | 1 + .../dist-es/constants.js | 25 + .../flexibleChecksumsInputMiddleware.js | 37 + .../dist-es/flexibleChecksumsMiddleware.js | 123 + .../flexibleChecksumsResponseMiddleware.js | 48 + .../dist-es/getChecksum.js | 2 + .../dist-es/getChecksumAlgorithmForRequest.js | 13 + .../getChecksumAlgorithmListForResponse.js | 15 + .../dist-es/getChecksumLocationName.js | 2 + ...tCrc32ChecksumAlgorithmFunction.browser.js | 2 + .../getCrc32ChecksumAlgorithmFunction.js | 21 + .../dist-es/getFlexibleChecksumsPlugin.js | 10 + .../dist-es/hasHeader.js | 9 + .../dist-es/hasHeaderWithPrefix.js | 9 + .../dist-es/index.js | 6 + .../dist-es/isChecksumWithPartNumber.js | 13 + .../dist-es/isStreaming.js | 2 + .../dist-es/resolveFlexibleChecksumsConfig.js | 11 + .../selectChecksumAlgorithmFunction.js | 32 + .../dist-es/stringHasher.js | 6 + .../dist-es/stringUnionSelector.js | 14 + .../dist-es/types.js | 15 + .../dist-es/validateChecksumFromResponse.js | 45 + ...T_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts | 14 + ...SE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts | 14 + .../dist-types/configuration.d.ts | 58 + .../dist-types/constants.d.ts | 83 + .../flexibleChecksumsInputMiddleware.d.ts | 22 + .../flexibleChecksumsMiddleware.d.ts | 33 + .../flexibleChecksumsResponseMiddleware.d.ts | 27 + .../dist-types/getChecksum.d.ts | 6 + .../getChecksumAlgorithmForRequest.d.ts | 22 + .../getChecksumAlgorithmListForResponse.d.ts | 6 + .../dist-types/getChecksumLocationName.d.ts | 5 + ...rc32ChecksumAlgorithmFunction.browser.d.ts | 2 + .../getCrc32ChecksumAlgorithmFunction.d.ts | 10 + .../getFlexibleChecksumsPlugin.d.ts | 14 + .../dist-types/hasHeader.d.ts | 6 + .../dist-types/hasHeaderWithPrefix.d.ts | 6 + .../dist-types/index.d.ts | 6 + .../dist-types/isChecksumWithPartNumber.d.ts | 1 + .../dist-types/isStreaming.d.ts | 4 + .../resolveFlexibleChecksumsConfig.d.ts | 57 + .../selectChecksumAlgorithmFunction.d.ts | 7 + .../dist-types/stringHasher.d.ts | 5 + .../dist-types/stringUnionSelector.d.ts | 12 + ...T_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts | 7 + ...SE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts | 7 + .../dist-types/ts3.4/configuration.d.ts | 29 + .../dist-types/ts3.4/constants.d.ts | 27 + .../flexibleChecksumsInputMiddleware.d.ts | 10 + .../ts3.4/flexibleChecksumsMiddleware.d.ts | 14 + .../flexibleChecksumsResponseMiddleware.d.ts | 14 + .../dist-types/ts3.4/getChecksum.d.ts | 9 + .../ts3.4/getChecksumAlgorithmForRequest.d.ts | 15 + .../getChecksumAlgorithmListForResponse.d.ts | 4 + .../ts3.4/getChecksumLocationName.d.ts | 4 + ...rc32ChecksumAlgorithmFunction.browser.d.ts | 2 + .../getCrc32ChecksumAlgorithmFunction.d.ts | 12 + .../ts3.4/getFlexibleChecksumsPlugin.d.ts | 13 + .../dist-types/ts3.4/hasHeader.d.ts | 2 + .../dist-types/ts3.4/hasHeaderWithPrefix.d.ts | 5 + .../dist-types/ts3.4/index.d.ts | 6 + .../ts3.4/isChecksumWithPartNumber.d.ts | 1 + .../dist-types/ts3.4/isStreaming.d.ts | 1 + .../ts3.4/resolveFlexibleChecksumsConfig.d.ts | 32 + .../selectChecksumAlgorithmFunction.d.ts | 7 + .../dist-types/ts3.4/stringHasher.d.ts | 5 + .../dist-types/ts3.4/stringUnionSelector.d.ts | 10 + .../dist-types/ts3.4/types.d.ts | 3 + .../ts3.4/validateChecksumFromResponse.d.ts | 12 + .../dist-types/types.d.ts | 9 + .../validateChecksumFromResponse.d.ts | 13 + .../package.json | 78 + .../@aws-sdk/middleware-host-header/LICENSE | 201 + .../@aws-sdk/middleware-host-header/README.md | 4 + .../middleware-host-header/dist-cjs/index.js | 41 + .../middleware-host-header/dist-es/index.js | 33 + .../dist-types/index.d.ts | 35 + .../dist-types/ts3.4/index.d.ts | 29 + .../middleware-host-header/package.json | 59 + .../middleware-location-constraint/LICENSE | 201 + .../middleware-location-constraint/README.md | 4 + .../dist-cjs/index.js | 30 + .../dist-es/configuration.js | 3 + .../dist-es/index.js | 24 + .../dist-types/configuration.d.ts | 17 + .../dist-types/index.d.ts | 10 + .../dist-types/ts3.4/configuration.d.ts | 12 + .../dist-types/ts3.4/index.d.ts | 13 + .../package.json | 57 + .../@aws-sdk/middleware-logger/LICENSE | 201 + .../@aws-sdk/middleware-logger/README.md | 4 + .../middleware-logger/dist-cjs/index.js | 48 + .../middleware-logger/dist-es/index.js | 1 + .../dist-es/loggerMiddleware.js | 42 + .../middleware-logger/dist-types/index.d.ts | 1 + .../dist-types/loggerMiddleware.d.ts | 4 + .../dist-types/ts3.4/index.d.ts | 1 + .../dist-types/ts3.4/loggerMiddleware.d.ts | 17 + .../@aws-sdk/middleware-logger/package.json | 59 + .../middleware-recursion-detection/LICENSE | 201 + .../middleware-recursion-detection/README.md | 17 + .../dist-cjs/index.js | 29 + .../dist-cjs/recursionDetectionMiddleware.js | 33 + .../recursionDetectionMiddleware.native.js | 5 + .../dist-es/configuration.js | 7 + .../dist-es/getRecursionDetectionPlugin.js | 7 + .../dist-es/index.js | 2 + .../recursionDetectionMiddleware.browser.js | 1 + .../dist-es/recursionDetectionMiddleware.js | 29 + .../recursionDetectionMiddleware.native.js | 1 + .../dist-types/configuration.d.ts | 5 + .../getRecursionDetectionPlugin.d.ts | 5 + .../dist-types/index.d.ts | 2 + .../recursionDetectionMiddleware.browser.d.ts | 6 + .../recursionDetectionMiddleware.d.ts | 6 + .../recursionDetectionMiddleware.native.d.ts | 6 + .../dist-types/ts3.4/configuration.d.ts | 3 + .../ts3.4/getRecursionDetectionPlugin.d.ts | 4 + .../dist-types/ts3.4/index.d.ts | 2 + .../recursionDetectionMiddleware.browser.d.ts | 5 + .../ts3.4/recursionDetectionMiddleware.d.ts | 5 + .../recursionDetectionMiddleware.native.d.ts | 5 + .../package.json | 63 + .../@aws-sdk/middleware-sdk-s3/LICENSE | 201 + .../@aws-sdk/middleware-sdk-s3/README.md | 4 + .../middleware-sdk-s3/dist-cjs/index.js | 597 + .../dist-es/bucket-endpoint-middleware.js | 36 + .../dist-es/check-content-length-header.js | 32 + .../middleware-sdk-s3/dist-es/index.js | 9 + .../dist-es/protocol/S3RestXmlProtocol.js | 25 + .../region-redirect-endpoint-middleware.js | 41 + .../dist-es/region-redirect-middleware.js | 42 + .../dist-es/s3-expires-middleware.js | 33 + .../classes/S3ExpressIdentityCache.js | 39 + .../classes/S3ExpressIdentityCacheEntry.js | 14 + .../classes/S3ExpressIdentityProviderImpl.js | 49 + .../classes/SignatureV4S3Express.js | 41 + .../dist-es/s3-express/constants.js | 13 + .../s3ExpressHttpSigningMiddleware.js | 38 + .../functions/s3ExpressMiddleware.js | 41 + .../s3-express/functions/signS3Express.js | 7 + .../dist-es/s3-express/index.js | 7 + .../interfaces/S3ExpressIdentity.js | 1 + .../interfaces/S3ExpressIdentityProvider.js | 1 + .../dist-es/s3Configuration.js | 17 + .../dist-es/throw-200-exceptions.js | 67 + .../dist-es/validate-bucket-name.js | 25 + .../bucket-endpoint-middleware.d.ts | 13 + .../check-content-length-header.d.ts | 16 + .../middleware-sdk-s3/dist-types/index.d.ts | 9 + .../protocol/S3RestXmlProtocol.d.ts | 20 + .../region-redirect-endpoint-middleware.d.ts | 10 + .../region-redirect-middleware.d.ts | 20 + .../dist-types/s3-expires-middleware.d.ts | 26 + .../classes/S3ExpressIdentityCache.d.ts | 16 + .../classes/S3ExpressIdentityCacheEntry.d.ts | 16 + .../S3ExpressIdentityProviderImpl.d.ts | 32 + .../classes/SignatureV4S3Express.d.ts | 17 + .../dist-types/s3-express/constants.d.ts | 37 + .../s3ExpressHttpSigningMiddleware.d.ts | 27 + .../functions/s3ExpressMiddleware.d.ts | 32 + .../s3-express/functions/signS3Express.d.ts | 9 + .../dist-types/s3-express/index.d.ts | 9 + .../interfaces/S3ExpressIdentity.d.ts | 6 + .../interfaces/S3ExpressIdentityProvider.d.ts | 12 + .../dist-types/s3Configuration.d.ts | 79 + .../dist-types/throw-200-exceptions.d.ts | 20 + .../ts3.4/bucket-endpoint-middleware.d.ts | 9 + .../ts3.4/check-content-length-header.d.ts | 13 + .../dist-types/ts3.4/index.d.ts | 9 + .../ts3.4/protocol/S3RestXmlProtocol.d.ts | 15 + .../region-redirect-endpoint-middleware.d.ts | 6 + .../ts3.4/region-redirect-middleware.d.ts | 17 + .../ts3.4/s3-expires-middleware.d.ts | 14 + .../classes/S3ExpressIdentityCache.d.ts | 14 + .../classes/S3ExpressIdentityCacheEntry.d.ts | 12 + .../S3ExpressIdentityProviderImpl.d.ts | 31 + .../classes/SignatureV4S3Express.d.ts | 19 + .../ts3.4/s3-express/constants.d.ts | 11 + .../s3ExpressHttpSigningMiddleware.d.ts | 40 + .../functions/s3ExpressMiddleware.d.ts | 27 + .../s3-express/functions/signS3Express.d.ts | 21 + .../dist-types/ts3.4/s3-express/index.d.ts | 17 + .../interfaces/S3ExpressIdentity.d.ts | 2 + .../interfaces/S3ExpressIdentityProvider.d.ts | 8 + .../dist-types/ts3.4/s3Configuration.d.ts | 33 + .../ts3.4/throw-200-exceptions.d.ts | 17 + .../ts3.4/validate-bucket-name.d.ts | 13 + .../dist-types/validate-bucket-name.d.ts | 14 + .../@aws-sdk/middleware-sdk-s3/package.json | 72 + node_modules/@aws-sdk/middleware-ssec/LICENSE | 201 + .../@aws-sdk/middleware-ssec/README.md | 4 + .../middleware-ssec/dist-cjs/index.js | 73 + .../@aws-sdk/middleware-ssec/dist-es/index.js | 66 + .../middleware-ssec/dist-types/index.d.ts | 12 + .../dist-types/ts3.4/index.d.ts | 27 + .../@aws-sdk/middleware-ssec/package.json | 57 + .../@aws-sdk/middleware-user-agent/LICENSE | 201 + .../@aws-sdk/middleware-user-agent/README.md | 4 + .../middleware-user-agent/dist-cjs/index.js | 194 + .../dist-es/check-features.js | 49 + .../dist-es/configurations.js | 28 + .../dist-es/constants.js | 7 + .../dist-es/encode-features.js | 18 + .../middleware-user-agent/dist-es/index.js | 2 + .../dist-es/user-agent-middleware.js | 82 + .../dist-types/check-features.d.ts | 20 + .../dist-types/configurations.d.ts | 44 + .../dist-types/constants.d.ts | 7 + .../dist-types/encode-features.d.ts | 5 + .../dist-types/index.d.ts | 2 + .../dist-types/ts3.4/check-features.d.ts | 20 + .../dist-types/ts3.4/configurations.d.ts | 21 + .../dist-types/ts3.4/constants.d.ts | 7 + .../dist-types/ts3.4/encode-features.d.ts | 2 + .../dist-types/ts3.4/index.d.ts | 2 + .../ts3.4/user-agent-middleware.d.ts | 21 + .../dist-types/user-agent-middleware.d.ts | 18 + .../middleware-user-agent/package.json | 63 + .../@aws-sdk/nested-clients/README.md | 13 + .../nested-clients/cognito-identity.d.ts | 7 + .../nested-clients/cognito-identity.js | 5 + .../@aws-sdk/nested-clients/dist-cjs/index.js | 2 + .../auth/httpAuthSchemeProvider.js | 60 + .../endpoint/endpointResolver.js | 18 + .../cognito-identity/endpoint/ruleset.js | 146 + .../submodules/cognito-identity/index.js | 174 + .../models/CognitoIdentityServiceException.js | 12 + .../cognito-identity/models/errors.js | 121 + .../cognito-identity/runtimeConfig.browser.js | 38 + .../cognito-identity/runtimeConfig.js | 54 + .../cognito-identity/runtimeConfig.native.js | 15 + .../cognito-identity/runtimeConfig.shared.js | 50 + .../cognito-identity/schemas/schemas_0.js | 110 + .../signin/auth/httpAuthSchemeProvider.js | 56 + .../signin/endpoint/endpointResolver.js | 18 + .../submodules/signin/endpoint/ruleset.js | 133 + .../dist-cjs/submodules/signin/index.js | 170 + .../signin/models/SigninServiceException.js | 12 + .../submodules/signin/models/errors.js | 64 + .../signin/runtimeConfig.browser.js | 39 + .../submodules/signin/runtimeConfig.js | 54 + .../submodules/signin/runtimeConfig.native.js | 15 + .../submodules/signin/runtimeConfig.shared.js | 49 + .../submodules/signin/schemas/schemas_0.js | 125 + .../sso-oidc/auth/httpAuthSchemeProvider.js | 56 + .../sso-oidc/endpoint/endpointResolver.js | 18 + .../submodules/sso-oidc/endpoint/ruleset.js | 106 + .../dist-cjs/submodules/sso-oidc/index.js | 172 + .../models/SSOOIDCServiceException.js | 12 + .../submodules/sso-oidc/models/errors.js | 195 + .../sso-oidc/runtimeConfig.browser.js | 38 + .../submodules/sso-oidc/runtimeConfig.js | 54 + .../sso-oidc/runtimeConfig.native.js | 15 + .../sso-oidc/runtimeConfig.shared.js | 49 + .../submodules/sso-oidc/schemas/schemas_0.js | 140 + .../sso/auth/httpAuthSchemeProvider.js | 56 + .../sso/endpoint/endpointResolver.js | 18 + .../submodules/sso/endpoint/ruleset.js | 106 + .../dist-cjs/submodules/sso/index.js | 160 + .../sso/models/SSOServiceException.js | 12 + .../dist-cjs/submodules/sso/models/errors.js | 56 + .../submodules/sso/runtimeConfig.browser.js | 38 + .../dist-cjs/submodules/sso/runtimeConfig.js | 54 + .../submodules/sso/runtimeConfig.native.js | 15 + .../submodules/sso/runtimeConfig.shared.js | 49 + .../submodules/sso/schemas/schemas_0.js | 90 + .../dist-cjs/submodules/sts/STSClient.js | 54 + .../auth/httpAuthExtensionConfiguration.js | 43 + .../sts/auth/httpAuthSchemeProvider.js | 62 + .../sts/endpoint/EndpointParameters.js | 19 + .../sts/endpoint/endpointResolver.js | 18 + .../submodules/sts/endpoint/ruleset.js | 145 + .../dist-cjs/submodules/sts/index.js | 202 + .../sts/models/STSServiceException.js | 12 + .../dist-cjs/submodules/sts/models/errors.js | 95 + .../submodules/sts/runtimeConfig.browser.js | 39 + .../dist-cjs/submodules/sts/runtimeConfig.js | 68 + .../submodules/sts/runtimeConfig.native.js | 15 + .../submodules/sts/runtimeConfig.shared.js | 50 + .../submodules/sts/runtimeExtensions.js | 13 + .../submodules/sts/schemas/schemas_0.js | 195 + .../@aws-sdk/nested-clients/dist-es/index.js | 1 + .../cognito-identity/CognitoIdentity.js | 11 + .../cognito-identity/CognitoIdentityClient.js | 50 + .../auth/httpAuthExtensionConfiguration.js | 38 + .../auth/httpAuthSchemeProvider.js | 54 + .../GetCredentialsForIdentityCommand.js | 16 + .../cognito-identity/commands/GetIdCommand.js | 16 + .../cognito-identity/commands/index.js | 2 + .../endpoint/EndpointParameters.js | 13 + .../endpoint/endpointResolver.js | 14 + .../cognito-identity/endpoint/ruleset.js | 143 + .../extensionConfiguration.js | 1 + .../submodules/cognito-identity/index.js | 7 + .../models/CognitoIdentityServiceException.js | 8 + .../cognito-identity/models/errors.js | 109 + .../cognito-identity/models/models_0.js | 1 + .../cognito-identity/runtimeConfig.browser.js | 33 + .../cognito-identity/runtimeConfig.js | 49 + .../cognito-identity/runtimeConfig.native.js | 11 + .../cognito-identity/runtimeConfig.shared.js | 46 + .../cognito-identity/runtimeExtensions.js | 9 + .../cognito-identity/schemas/schemas_0.js | 107 + .../dist-es/submodules/signin/Signin.js | 9 + .../dist-es/submodules/signin/SigninClient.js | 50 + .../auth/httpAuthExtensionConfiguration.js | 38 + .../signin/auth/httpAuthSchemeProvider.js | 50 + .../commands/CreateOAuth2TokenCommand.js | 16 + .../submodules/signin/commands/index.js | 1 + .../signin/endpoint/EndpointParameters.js | 13 + .../signin/endpoint/endpointResolver.js | 14 + .../submodules/signin/endpoint/ruleset.js | 130 + .../signin/extensionConfiguration.js | 1 + .../dist-es/submodules/signin/index.js | 8 + .../signin/models/SigninServiceException.js | 8 + .../dist-es/submodules/signin/models/enums.js | 8 + .../submodules/signin/models/errors.js | 57 + .../submodules/signin/models/models_0.js | 1 + .../signin/runtimeConfig.browser.js | 34 + .../submodules/signin/runtimeConfig.js | 49 + .../submodules/signin/runtimeConfig.native.js | 11 + .../submodules/signin/runtimeConfig.shared.js | 45 + .../submodules/signin/runtimeExtensions.js | 9 + .../submodules/signin/schemas/schemas_0.js | 122 + .../dist-es/submodules/sso-oidc/SSOOIDC.js | 9 + .../submodules/sso-oidc/SSOOIDCClient.js | 50 + .../auth/httpAuthExtensionConfiguration.js | 38 + .../sso-oidc/auth/httpAuthSchemeProvider.js | 50 + .../sso-oidc/commands/CreateTokenCommand.js | 16 + .../submodules/sso-oidc/commands/index.js | 1 + .../sso-oidc/endpoint/EndpointParameters.js | 13 + .../sso-oidc/endpoint/endpointResolver.js | 14 + .../submodules/sso-oidc/endpoint/ruleset.js | 103 + .../sso-oidc/extensionConfiguration.js | 1 + .../dist-es/submodules/sso-oidc/index.js | 8 + .../models/SSOOIDCServiceException.js | 8 + .../submodules/sso-oidc/models/enums.js | 9 + .../submodules/sso-oidc/models/errors.js | 181 + .../submodules/sso-oidc/models/models_0.js | 1 + .../sso-oidc/runtimeConfig.browser.js | 33 + .../submodules/sso-oidc/runtimeConfig.js | 49 + .../sso-oidc/runtimeConfig.native.js | 11 + .../sso-oidc/runtimeConfig.shared.js | 45 + .../submodules/sso-oidc/runtimeExtensions.js | 9 + .../submodules/sso-oidc/schemas/schemas_0.js | 137 + .../dist-es/submodules/sso/SSO.js | 9 + .../dist-es/submodules/sso/SSOClient.js | 50 + .../auth/httpAuthExtensionConfiguration.js | 38 + .../sso/auth/httpAuthSchemeProvider.js | 50 + .../sso/commands/GetRoleCredentialsCommand.js | 16 + .../dist-es/submodules/sso/commands/index.js | 1 + .../sso/endpoint/EndpointParameters.js | 13 + .../sso/endpoint/endpointResolver.js | 14 + .../submodules/sso/endpoint/ruleset.js | 103 + .../submodules/sso/extensionConfiguration.js | 1 + .../dist-es/submodules/sso/index.js | 7 + .../sso/models/SSOServiceException.js | 8 + .../dist-es/submodules/sso/models/errors.js | 49 + .../dist-es/submodules/sso/models/models_0.js | 1 + .../submodules/sso/runtimeConfig.browser.js | 33 + .../dist-es/submodules/sso/runtimeConfig.js | 49 + .../submodules/sso/runtimeConfig.native.js | 11 + .../submodules/sso/runtimeConfig.shared.js | 45 + .../submodules/sso/runtimeExtensions.js | 9 + .../submodules/sso/schemas/schemas_0.js | 87 + .../dist-es/submodules/sts/STS.js | 11 + .../dist-es/submodules/sts/STSClient.js | 50 + .../auth/httpAuthExtensionConfiguration.js | 38 + .../sts/auth/httpAuthSchemeProvider.js | 55 + .../sts/commands/AssumeRoleCommand.js | 16 + .../AssumeRoleWithWebIdentityCommand.js | 16 + .../dist-es/submodules/sts/commands/index.js | 2 + .../submodules/sts/defaultRoleAssumers.js | 22 + .../submodules/sts/defaultStsRoleAssumers.js | 107 + .../sts/endpoint/EndpointParameters.js | 15 + .../sts/endpoint/endpointResolver.js | 14 + .../submodules/sts/endpoint/ruleset.js | 142 + .../submodules/sts/extensionConfiguration.js | 1 + .../dist-es/submodules/sts/index.js | 8 + .../sts/models/STSServiceException.js | 8 + .../dist-es/submodules/sts/models/errors.js | 85 + .../dist-es/submodules/sts/models/models_0.js | 1 + .../submodules/sts/runtimeConfig.browser.js | 34 + .../dist-es/submodules/sts/runtimeConfig.js | 63 + .../submodules/sts/runtimeConfig.native.js | 11 + .../submodules/sts/runtimeConfig.shared.js | 46 + .../submodules/sts/runtimeExtensions.js | 9 + .../submodules/sts/schemas/schemas_0.js | 192 + .../nested-clients/dist-types/index.d.ts | 7 + .../cognito-identity/CognitoIdentity.d.ts | 38 + .../CognitoIdentityClient.d.ts | 197 + .../auth/httpAuthExtensionConfiguration.d.ts | 29 + .../auth/httpAuthSchemeProvider.d.ts | 75 + .../GetCredentialsForIdentityCommand.d.ts | 120 + .../commands/GetIdCommand.d.ts | 107 + .../cognito-identity/commands/index.d.ts | 2 + .../endpoint/EndpointParameters.d.ts | 50 + .../endpoint/endpointResolver.d.ts | 8 + .../cognito-identity/endpoint/ruleset.d.ts | 2 + .../extensionConfiguration.d.ts | 9 + .../submodules/cognito-identity/index.d.ts | 29 + .../CognitoIdentityServiceException.d.ts | 14 + .../cognito-identity/models/errors.d.ts | 119 + .../cognito-identity/models/models_0.d.ts | 136 + .../runtimeConfig.browser.d.ts | 62 + .../cognito-identity/runtimeConfig.d.ts | 62 + .../runtimeConfig.native.d.ts | 61 + .../runtimeConfig.shared.d.ts | 38 + .../cognito-identity/runtimeExtensions.d.ts | 17 + .../cognito-identity/schemas/schemas_0.d.ts | 25 + .../dist-types/submodules/signin/Signin.d.ts | 18 + .../submodules/signin/SigninClient.d.ts | 189 + .../auth/httpAuthExtensionConfiguration.d.ts | 29 + .../signin/auth/httpAuthSchemeProvider.d.ts | 75 + .../commands/CreateOAuth2TokenCommand.d.ts | 157 + .../submodules/signin/commands/index.d.ts | 1 + .../signin/endpoint/EndpointParameters.d.ts | 50 + .../signin/endpoint/endpointResolver.d.ts | 8 + .../submodules/signin/endpoint/ruleset.d.ts | 2 + .../signin/extensionConfiguration.d.ts | 9 + .../dist-types/submodules/signin/index.d.ts | 17 + .../signin/models/SigninServiceException.d.ts | 14 + .../submodules/signin/models/enums.d.ts | 34 + .../submodules/signin/models/errors.d.ts | 102 + .../submodules/signin/models/models_0.d.ts | 142 + .../signin/runtimeConfig.browser.d.ts | 63 + .../submodules/signin/runtimeConfig.d.ts | 63 + .../signin/runtimeConfig.native.d.ts | 62 + .../signin/runtimeConfig.shared.d.ts | 38 + .../submodules/signin/runtimeExtensions.d.ts | 17 + .../submodules/signin/schemas/schemas_0.d.ts | 19 + .../submodules/sso-oidc/SSOOIDC.d.ts | 55 + .../submodules/sso-oidc/SSOOIDCClient.d.ts | 220 + .../auth/httpAuthExtensionConfiguration.d.ts | 29 + .../sso-oidc/auth/httpAuthSchemeProvider.d.ts | 75 + .../sso-oidc/commands/CreateTokenCommand.d.ts | 176 + .../submodules/sso-oidc/commands/index.d.ts | 1 + .../sso-oidc/endpoint/EndpointParameters.d.ts | 50 + .../sso-oidc/endpoint/endpointResolver.d.ts | 8 + .../submodules/sso-oidc/endpoint/ruleset.d.ts | 2 + .../sso-oidc/extensionConfiguration.d.ts | 9 + .../dist-types/submodules/sso-oidc/index.d.ts | 54 + .../models/SSOOIDCServiceException.d.ts | 14 + .../submodules/sso-oidc/models/enums.d.ts | 25 + .../submodules/sso-oidc/models/errors.d.ts | 279 + .../submodules/sso-oidc/models/models_0.d.ts | 109 + .../sso-oidc/runtimeConfig.browser.d.ts | 62 + .../submodules/sso-oidc/runtimeConfig.d.ts | 62 + .../sso-oidc/runtimeConfig.native.d.ts | 61 + .../sso-oidc/runtimeConfig.shared.d.ts | 38 + .../sso-oidc/runtimeExtensions.d.ts | 17 + .../sso-oidc/schemas/schemas_0.d.ts | 23 + .../dist-types/submodules/sso/SSO.d.ts | 32 + .../dist-types/submodules/sso/SSOClient.d.ts | 197 + .../auth/httpAuthExtensionConfiguration.d.ts | 29 + .../sso/auth/httpAuthSchemeProvider.d.ts | 75 + .../commands/GetRoleCredentialsCommand.d.ts | 97 + .../submodules/sso/commands/index.d.ts | 1 + .../sso/endpoint/EndpointParameters.d.ts | 50 + .../sso/endpoint/endpointResolver.d.ts | 8 + .../submodules/sso/endpoint/ruleset.d.ts | 2 + .../sso/extensionConfiguration.d.ts | 9 + .../dist-types/submodules/sso/index.d.ts | 30 + .../sso/models/SSOServiceException.d.ts | 14 + .../submodules/sso/models/errors.d.ts | 53 + .../submodules/sso/models/models_0.d.ts | 61 + .../submodules/sso/runtimeConfig.browser.d.ts | 62 + .../submodules/sso/runtimeConfig.d.ts | 62 + .../submodules/sso/runtimeConfig.native.d.ts | 61 + .../submodules/sso/runtimeConfig.shared.d.ts | 38 + .../submodules/sso/runtimeExtensions.d.ts | 17 + .../submodules/sso/schemas/schemas_0.d.ts | 17 + .../dist-types/submodules/sts/STS.d.ts | 27 + .../dist-types/submodules/sts/STSClient.d.ts | 192 + .../auth/httpAuthExtensionConfiguration.d.ts | 29 + .../sts/auth/httpAuthSchemeProvider.d.ts | 85 + .../sts/commands/AssumeRoleCommand.d.ts | 270 + .../AssumeRoleWithWebIdentityCommand.d.ts | 290 + .../submodules/sts/commands/index.d.ts | 2 + .../submodules/sts/defaultRoleAssumers.d.ts | 23 + .../sts/defaultStsRoleAssumers.d.ts | 43 + .../sts/endpoint/EndpointParameters.d.ts | 56 + .../sts/endpoint/endpointResolver.d.ts | 8 + .../submodules/sts/endpoint/ruleset.d.ts | 2 + .../sts/extensionConfiguration.d.ts | 9 + .../dist-types/submodules/sts/index.d.ts | 19 + .../sts/models/STSServiceException.d.ts | 14 + .../submodules/sts/models/errors.d.ts | 107 + .../submodules/sts/models/models_0.d.ts | 588 + .../submodules/sts/runtimeConfig.browser.d.ts | 64 + .../submodules/sts/runtimeConfig.d.ts | 62 + .../submodules/sts/runtimeConfig.native.d.ts | 63 + .../submodules/sts/runtimeConfig.shared.d.ts | 38 + .../submodules/sts/runtimeExtensions.d.ts | 17 + .../submodules/sts/schemas/schemas_0.d.ts | 27 + .../dist-types/ts3.4/index.d.ts | 1 + .../cognito-identity/CognitoIdentity.d.ts | 38 + .../CognitoIdentityClient.d.ts | 126 + .../auth/httpAuthExtensionConfiguration.d.ts | 32 + .../auth/httpAuthSchemeProvider.d.ts | 47 + .../GetCredentialsForIdentityCommand.d.ts | 51 + .../commands/GetIdCommand.d.ts | 41 + .../cognito-identity/commands/index.d.ts | 2 + .../endpoint/EndpointParameters.d.ts | 51 + .../endpoint/endpointResolver.d.ts | 8 + .../cognito-identity/endpoint/ruleset.d.ts | 2 + .../extensionConfiguration.d.ts | 9 + .../submodules/cognito-identity/index.d.ts | 10 + .../CognitoIdentityServiceException.d.ts | 9 + .../cognito-identity/models/errors.d.ts | 68 + .../cognito-identity/models/models_0.d.ts | 23 + .../runtimeConfig.browser.d.ts | 122 + .../cognito-identity/runtimeConfig.d.ts | 117 + .../runtimeConfig.native.d.ts | 126 + .../runtimeConfig.shared.d.ts | 60 + .../cognito-identity/runtimeExtensions.d.ts | 13 + .../cognito-identity/schemas/schemas_0.d.ts | 24 + .../ts3.4/submodules/signin/Signin.d.ts | 22 + .../ts3.4/submodules/signin/SigninClient.d.ts | 122 + .../auth/httpAuthExtensionConfiguration.d.ts | 32 + .../signin/auth/httpAuthSchemeProvider.d.ts | 47 + .../commands/CreateOAuth2TokenCommand.d.ts | 47 + .../submodules/signin/commands/index.d.ts | 1 + .../signin/endpoint/EndpointParameters.d.ts | 51 + .../signin/endpoint/endpointResolver.d.ts | 8 + .../submodules/signin/endpoint/ruleset.d.ts | 2 + .../signin/extensionConfiguration.d.ts | 9 + .../ts3.4/submodules/signin/index.d.ts | 11 + .../signin/models/SigninServiceException.d.ts | 9 + .../ts3.4/submodules/signin/models/enums.d.ts | 10 + .../submodules/signin/models/errors.d.ts | 35 + .../submodules/signin/models/models_0.d.ts | 26 + .../signin/runtimeConfig.browser.d.ts | 125 + .../submodules/signin/runtimeConfig.d.ts | 118 + .../signin/runtimeConfig.native.d.ts | 129 + .../signin/runtimeConfig.shared.d.ts | 58 + .../submodules/signin/runtimeExtensions.d.ts | 11 + .../submodules/signin/schemas/schemas_0.d.ts | 18 + .../ts3.4/submodules/sso-oidc/SSOOIDC.d.ts | 22 + .../submodules/sso-oidc/SSOOIDCClient.d.ts | 120 + .../auth/httpAuthExtensionConfiguration.d.ts | 32 + .../sso-oidc/auth/httpAuthSchemeProvider.d.ts | 47 + .../sso-oidc/commands/CreateTokenCommand.d.ts | 43 + .../submodules/sso-oidc/commands/index.d.ts | 1 + .../sso-oidc/endpoint/EndpointParameters.d.ts | 51 + .../sso-oidc/endpoint/endpointResolver.d.ts | 8 + .../submodules/sso-oidc/endpoint/ruleset.d.ts | 2 + .../sso-oidc/extensionConfiguration.d.ts | 9 + .../ts3.4/submodules/sso-oidc/index.d.ts | 11 + .../models/SSOOIDCServiceException.d.ts | 9 + .../submodules/sso-oidc/models/enums.d.ts | 13 + .../submodules/sso-oidc/models/errors.d.ts | 105 + .../submodules/sso-oidc/models/models_0.d.ts | 18 + .../sso-oidc/runtimeConfig.browser.d.ts | 120 + .../submodules/sso-oidc/runtimeConfig.d.ts | 115 + .../sso-oidc/runtimeConfig.native.d.ts | 124 + .../sso-oidc/runtimeConfig.shared.d.ts | 58 + .../sso-oidc/runtimeExtensions.d.ts | 11 + .../sso-oidc/schemas/schemas_0.d.ts | 22 + .../dist-types/ts3.4/submodules/sso/SSO.d.ts | 22 + .../ts3.4/submodules/sso/SSOClient.d.ts | 117 + .../auth/httpAuthExtensionConfiguration.d.ts | 32 + .../sso/auth/httpAuthSchemeProvider.d.ts | 46 + .../commands/GetRoleCredentialsCommand.d.ts | 47 + .../ts3.4/submodules/sso/commands/index.d.ts | 1 + .../sso/endpoint/EndpointParameters.d.ts | 51 + .../sso/endpoint/endpointResolver.d.ts | 8 + .../submodules/sso/endpoint/ruleset.d.ts | 2 + .../sso/extensionConfiguration.d.ts | 9 + .../ts3.4/submodules/sso/index.d.ts | 10 + .../sso/models/SSOServiceException.d.ts | 9 + .../ts3.4/submodules/sso/models/errors.d.ts | 30 + .../ts3.4/submodules/sso/models/models_0.d.ts | 14 + .../submodules/sso/runtimeConfig.browser.d.ts | 120 + .../ts3.4/submodules/sso/runtimeConfig.d.ts | 115 + .../submodules/sso/runtimeConfig.native.d.ts | 124 + .../submodules/sso/runtimeConfig.shared.d.ts | 58 + .../submodules/sso/runtimeExtensions.d.ts | 11 + .../submodules/sso/schemas/schemas_0.d.ts | 16 + .../dist-types/ts3.4/submodules/sts/STS.d.ts | 39 + .../ts3.4/submodules/sts/STSClient.d.ts | 127 + .../auth/httpAuthExtensionConfiguration.d.ts | 32 + .../sts/auth/httpAuthSchemeProvider.d.ts | 57 + .../sts/commands/AssumeRoleCommand.d.ts | 47 + .../AssumeRoleWithWebIdentityCommand.d.ts | 51 + .../ts3.4/submodules/sts/commands/index.d.ts | 2 + .../submodules/sts/defaultRoleAssumers.d.ts | 19 + .../sts/defaultStsRoleAssumers.d.ts | 33 + .../sts/endpoint/EndpointParameters.d.ts | 57 + .../sts/endpoint/endpointResolver.d.ts | 8 + .../submodules/sts/endpoint/ruleset.d.ts | 2 + .../sts/extensionConfiguration.d.ts | 9 + .../ts3.4/submodules/sts/index.d.ts | 11 + .../sts/models/STSServiceException.d.ts | 9 + .../ts3.4/submodules/sts/models/errors.d.ts | 54 + .../ts3.4/submodules/sts/models/models_0.d.ts | 59 + .../submodules/sts/runtimeConfig.browser.d.ts | 129 + .../ts3.4/submodules/sts/runtimeConfig.d.ts | 111 + .../submodules/sts/runtimeConfig.native.d.ts | 133 + .../submodules/sts/runtimeConfig.shared.d.ts | 58 + .../submodules/sts/runtimeExtensions.d.ts | 11 + .../submodules/sts/schemas/schemas_0.d.ts | 26 + .../@aws-sdk/nested-clients/package.json | 147 + .../@aws-sdk/nested-clients/signin.d.ts | 7 + .../@aws-sdk/nested-clients/signin.js | 5 + .../@aws-sdk/nested-clients/sso-oidc.d.ts | 7 + .../@aws-sdk/nested-clients/sso-oidc.js | 5 + node_modules/@aws-sdk/nested-clients/sso.d.ts | 7 + node_modules/@aws-sdk/nested-clients/sso.js | 5 + node_modules/@aws-sdk/nested-clients/sts.d.ts | 7 + node_modules/@aws-sdk/nested-clients/sts.js | 5 + .../@aws-sdk/region-config-resolver/LICENSE | 201 + .../@aws-sdk/region-config-resolver/README.md | 19 + .../region-config-resolver/dist-cjs/index.js | 38 + .../regionConfig/stsRegionDefaultResolver.js | 20 + .../stsRegionDefaultResolver.native.js | 6 + .../dist-es/extensions/index.js | 15 + .../region-config-resolver/dist-es/index.js | 3 + .../dist-es/regionConfig/awsRegionConfig.js | 2 + .../stsRegionDefaultResolver.browser.js | 3 + .../regionConfig/stsRegionDefaultResolver.js | 16 + .../stsRegionDefaultResolver.native.js | 3 + .../dist-types/extensions/index.d.ts | 16 + .../dist-types/index.d.ts | 3 + .../regionConfig/awsRegionConfig.d.ts | 15 + .../stsRegionDefaultResolver.browser.d.ts | 4 + .../stsRegionDefaultResolver.d.ts | 14 + .../stsRegionDefaultResolver.native.d.ts | 4 + .../dist-types/ts3.4/extensions/index.d.ts | 14 + .../dist-types/ts3.4/index.d.ts | 3 + .../ts3.4/regionConfig/awsRegionConfig.d.ts | 11 + .../stsRegionDefaultResolver.browser.d.ts | 1 + .../stsRegionDefaultResolver.d.ts | 7 + .../stsRegionDefaultResolver.native.d.ts | 1 + .../region-config-resolver/package.json | 62 + .../@aws-sdk/s3-request-presigner/LICENSE | 201 + .../@aws-sdk/s3-request-presigner/README.md | 125 + .../s3-request-presigner/dist-cjs/index.js | 132 + .../s3-request-presigner/dist-es/constants.js | 9 + .../dist-es/getSignedUrl.js | 66 + .../s3-request-presigner/dist-es/index.js | 2 + .../s3-request-presigner/dist-es/presigner.js | 58 + .../dist-types/constants.d.ts | 9 + .../dist-types/getSignedUrl.d.ts | 6 + .../dist-types/index.d.ts | 2 + .../dist-types/presigner.d.ts | 15 + .../dist-types/ts3.4/constants.d.ts | 9 + .../dist-types/ts3.4/getSignedUrl.d.ts | 11 + .../dist-types/ts3.4/index.d.ts | 2 + .../dist-types/ts3.4/presigner.d.ts | 40 + .../s3-request-presigner/package.json | 64 + .../signature-v4-multi-region/LICENSE | 201 + .../signature-v4-multi-region/README.md | 32 + .../dist-cjs/index.js | 121 + .../dist-es/SignatureV4MultiRegion.js | 112 + .../dist-es/index.js | 2 + .../dist-es/signature-v4-crt-container.js | 3 + .../dist-types/SignatureV4MultiRegion.d.ts | 35 + .../dist-types/index.d.ts | 5 + .../signature-v4-crt-container.d.ts | 28 + .../ts3.4/SignatureV4MultiRegion.d.ts | 41 + .../dist-types/ts3.4/index.d.ts | 2 + .../ts3.4/signature-v4-crt-container.d.ts | 20 + .../signature-v4-multi-region/package.json | 61 + node_modules/@aws-sdk/token-providers/LICENSE | 201 + .../@aws-sdk/token-providers/README.md | 62 + .../token-providers/dist-cjs/index.js | 157 + .../token-providers/dist-es/constants.js | 2 + .../dist-es/fromEnvSigningName.js | 16 + .../token-providers/dist-es/fromSso.js | 81 + .../token-providers/dist-es/fromStatic.js | 8 + .../dist-es/getNewSsoOidcToken.js | 11 + .../dist-es/getSsoOidcClient.js | 10 + .../@aws-sdk/token-providers/dist-es/index.js | 4 + .../token-providers/dist-es/nodeProvider.js | 5 + .../dist-es/validateTokenExpiry.js | 7 + .../dist-es/validateTokenKey.js | 7 + .../dist-es/writeSSOTokenToFile.js | 8 + .../token-providers/dist-types/constants.d.ts | 8 + .../dist-types/fromEnvSigningName.d.ts | 18 + .../token-providers/dist-types/fromSso.d.ts | 12 + .../dist-types/fromStatic.d.ts | 9 + .../dist-types/getNewSsoOidcToken.d.ts | 8 + .../dist-types/getSsoOidcClient.d.ts | 7 + .../token-providers/dist-types/index.d.ts | 4 + .../dist-types/nodeProvider.d.ts | 18 + .../dist-types/ts3.4/constants.d.ts | 3 + .../dist-types/ts3.4/fromEnvSigningName.d.ts | 11 + .../dist-types/ts3.4/fromSso.d.ts | 14 + .../dist-types/ts3.4/fromStatic.d.ts | 12 + .../dist-types/ts3.4/getNewSsoOidcToken.d.ts | 11 + .../dist-types/ts3.4/getSsoOidcClient.d.ts | 7 + .../dist-types/ts3.4/index.d.ts | 4 + .../dist-types/ts3.4/nodeProvider.d.ts | 5 + .../dist-types/ts3.4/validateTokenExpiry.d.ts | 2 + .../dist-types/ts3.4/validateTokenKey.d.ts | 5 + .../dist-types/ts3.4/writeSSOTokenToFile.d.ts | 5 + .../dist-types/validateTokenExpiry.d.ts | 5 + .../dist-types/validateTokenKey.d.ts | 4 + .../dist-types/writeSSOTokenToFile.d.ts | 5 + .../@aws-sdk/token-providers/package.json | 70 + node_modules/@aws-sdk/types/LICENSE | 201 + node_modules/@aws-sdk/types/README.md | 4 + node_modules/@aws-sdk/types/dist-cjs/index.js | 13 + node_modules/@aws-sdk/types/dist-es/abort.js | 1 + node_modules/@aws-sdk/types/dist-es/auth.js | 1 + .../@aws-sdk/types/dist-es/blob/blob-types.js | 1 + .../@aws-sdk/types/dist-es/checksum.js | 1 + node_modules/@aws-sdk/types/dist-es/client.js | 1 + .../@aws-sdk/types/dist-es/command.js | 1 + .../@aws-sdk/types/dist-es/connection.js | 1 + .../@aws-sdk/types/dist-es/credentials.js | 1 + node_modules/@aws-sdk/types/dist-es/crypto.js | 1 + node_modules/@aws-sdk/types/dist-es/dns.js | 5 + node_modules/@aws-sdk/types/dist-es/encode.js | 1 + .../@aws-sdk/types/dist-es/endpoint.js | 1 + .../@aws-sdk/types/dist-es/eventStream.js | 1 + .../types/dist-es/extensions/index.js | 1 + .../@aws-sdk/types/dist-es/feature-ids.js | 1 + .../@aws-sdk/types/dist-es/function.js | 1 + node_modules/@aws-sdk/types/dist-es/http.js | 1 + .../dist-es/identity/AnonymousIdentity.js | 1 + .../dist-es/identity/AwsCredentialIdentity.js | 1 + .../types/dist-es/identity/Identity.js | 1 + .../types/dist-es/identity/LoginIdentity.js | 1 + .../types/dist-es/identity/TokenIdentity.js | 1 + .../@aws-sdk/types/dist-es/identity/index.js | 5 + node_modules/@aws-sdk/types/dist-es/index.js | 34 + node_modules/@aws-sdk/types/dist-es/logger.js | 1 + .../@aws-sdk/types/dist-es/middleware.js | 1 + .../@aws-sdk/types/dist-es/pagination.js | 1 + .../@aws-sdk/types/dist-es/profile.js | 1 + .../@aws-sdk/types/dist-es/request.js | 1 + .../@aws-sdk/types/dist-es/response.js | 1 + node_modules/@aws-sdk/types/dist-es/retry.js | 1 + node_modules/@aws-sdk/types/dist-es/serde.js | 1 + node_modules/@aws-sdk/types/dist-es/shapes.js | 1 + .../@aws-sdk/types/dist-es/signature.js | 1 + node_modules/@aws-sdk/types/dist-es/stream.js | 1 + node_modules/@aws-sdk/types/dist-es/token.js | 1 + .../@aws-sdk/types/dist-es/transfer.js | 1 + node_modules/@aws-sdk/types/dist-es/uri.js | 1 + node_modules/@aws-sdk/types/dist-es/util.js | 1 + node_modules/@aws-sdk/types/dist-es/waiter.js | 1 + .../@aws-sdk/types/dist-types/abort.d.ts | 1 + .../@aws-sdk/types/dist-types/auth.d.ts | 1 + .../types/dist-types/blob/blob-types.d.ts | 2 + .../@aws-sdk/types/dist-types/checksum.d.ts | 1 + .../@aws-sdk/types/dist-types/client.d.ts | 1 + .../@aws-sdk/types/dist-types/command.d.ts | 1 + .../@aws-sdk/types/dist-types/connection.d.ts | 1 + .../types/dist-types/credentials.d.ts | 52 + .../@aws-sdk/types/dist-types/crypto.d.ts | 1 + .../@aws-sdk/types/dist-types/dns.d.ts | 85 + .../@aws-sdk/types/dist-types/encode.d.ts | 1 + .../@aws-sdk/types/dist-types/endpoint.d.ts | 1 + .../types/dist-types/eventStream.d.ts | 1 + .../types/dist-types/extensions/index.d.ts | 8 + .../types/dist-types/feature-ids.d.ts | 67 + .../@aws-sdk/types/dist-types/function.d.ts | 7 + .../@aws-sdk/types/dist-types/http.d.ts | 33 + .../identity/AnonymousIdentity.d.ts | 6 + .../identity/AwsCredentialIdentity.d.ts | 61 + .../types/dist-types/identity/Identity.d.ts | 1 + .../dist-types/identity/LoginIdentity.d.ts | 18 + .../dist-types/identity/TokenIdentity.d.ts | 11 + .../types/dist-types/identity/index.d.ts | 5 + .../@aws-sdk/types/dist-types/index.d.ts | 34 + .../@aws-sdk/types/dist-types/logger.d.ts | 22 + .../@aws-sdk/types/dist-types/middleware.d.ts | 13 + .../@aws-sdk/types/dist-types/pagination.d.ts | 1 + .../@aws-sdk/types/dist-types/profile.d.ts | 1 + .../@aws-sdk/types/dist-types/request.d.ts | 7 + .../@aws-sdk/types/dist-types/response.d.ts | 7 + .../@aws-sdk/types/dist-types/retry.d.ts | 1 + .../@aws-sdk/types/dist-types/serde.d.ts | 24 + .../@aws-sdk/types/dist-types/shapes.d.ts | 1 + .../@aws-sdk/types/dist-types/signature.d.ts | 1 + .../@aws-sdk/types/dist-types/stream.d.ts | 1 + .../@aws-sdk/types/dist-types/token.d.ts | 17 + .../@aws-sdk/types/dist-types/transfer.d.ts | 1 + .../types/dist-types/ts3.4/abort.d.ts | 1 + .../@aws-sdk/types/dist-types/ts3.4/auth.d.ts | 5 + .../dist-types/ts3.4/blob/blob-types.d.ts | 2 + .../types/dist-types/ts3.4/checksum.d.ts | 1 + .../types/dist-types/ts3.4/client.d.ts | 1 + .../types/dist-types/ts3.4/command.d.ts | 1 + .../types/dist-types/ts3.4/connection.d.ts | 6 + .../types/dist-types/ts3.4/credentials.d.ts | 15 + .../types/dist-types/ts3.4/crypto.d.ts | 7 + .../@aws-sdk/types/dist-types/ts3.4/dns.d.ts | 19 + .../types/dist-types/ts3.4/encode.d.ts | 6 + .../types/dist-types/ts3.4/endpoint.d.ts | 9 + .../types/dist-types/ts3.4/eventStream.d.ts | 24 + .../dist-types/ts3.4/extensions/index.d.ts | 5 + .../types/dist-types/ts3.4/feature-ids.d.ts | 60 + .../types/dist-types/ts3.4/function.d.ts | 7 + .../@aws-sdk/types/dist-types/ts3.4/http.d.ts | 17 + .../ts3.4/identity/AnonymousIdentity.d.ts | 2 + .../ts3.4/identity/AwsCredentialIdentity.d.ts | 31 + .../dist-types/ts3.4/identity/Identity.d.ts | 1 + .../ts3.4/identity/LoginIdentity.d.ts | 6 + .../ts3.4/identity/TokenIdentity.d.ts | 6 + .../dist-types/ts3.4/identity/index.d.ts | 5 + .../types/dist-types/ts3.4/index.d.ts | 34 + .../types/dist-types/ts3.4/logger.d.ts | 15 + .../types/dist-types/ts3.4/middleware.d.ts | 47 + .../types/dist-types/ts3.4/pagination.d.ts | 1 + .../types/dist-types/ts3.4/profile.d.ts | 6 + .../types/dist-types/ts3.4/request.d.ts | 4 + .../types/dist-types/ts3.4/response.d.ts | 4 + .../types/dist-types/ts3.4/retry.d.ts | 12 + .../types/dist-types/ts3.4/serde.d.ts | 16 + .../types/dist-types/ts3.4/shapes.d.ts | 6 + .../types/dist-types/ts3.4/signature.d.ts | 15 + .../types/dist-types/ts3.4/stream.d.ts | 4 + .../types/dist-types/ts3.4/token.d.ts | 4 + .../types/dist-types/ts3.4/transfer.d.ts | 7 + .../@aws-sdk/types/dist-types/ts3.4/uri.d.ts | 1 + .../@aws-sdk/types/dist-types/ts3.4/util.d.ts | 14 + .../types/dist-types/ts3.4/waiter.d.ts | 1 + .../@aws-sdk/types/dist-types/uri.d.ts | 1 + .../@aws-sdk/types/dist-types/util.d.ts | 1 + .../@aws-sdk/types/dist-types/waiter.d.ts | 1 + node_modules/@aws-sdk/types/package.json | 57 + node_modules/@aws-sdk/util-arn-parser/LICENSE | 201 + .../@aws-sdk/util-arn-parser/README.md | 4 + .../util-arn-parser/dist-cjs/index.js | 27 + .../@aws-sdk/util-arn-parser/dist-es/index.js | 21 + .../util-arn-parser/dist-types/index.d.ts | 32 + .../dist-types/ts3.4/index.d.ts | 14 + .../@aws-sdk/util-arn-parser/package.json | 55 + node_modules/@aws-sdk/util-endpoints/LICENSE | 201 + .../@aws-sdk/util-endpoints/README.md | 6 + .../@aws-sdk/util-endpoints/dist-cjs/index.js | 406 + .../dist-cjs/lib/aws/partitions.json | 267 + .../@aws-sdk/util-endpoints/dist-es/aws.js | 10 + .../@aws-sdk/util-endpoints/dist-es/index.js | 6 + .../util-endpoints/dist-es/lib/aws/index.js | 3 + .../lib/aws/isVirtualHostableS3Bucket.js | 25 + .../dist-es/lib/aws/parseArn.js | 18 + .../dist-es/lib/aws/partition.js | 41 + .../dist-es/lib/aws/partitions.json | 267 + .../util-endpoints/dist-es/lib/isIpAddress.js | 1 + ...esolveDefaultAwsRegionalEndpointsConfig.js | 21 + .../util-endpoints/dist-es/resolveEndpoint.js | 1 + .../dist-es/types/EndpointError.js | 1 + .../dist-es/types/EndpointRuleObject.js | 1 + .../dist-es/types/ErrorRuleObject.js | 1 + .../dist-es/types/RuleSetObject.js | 1 + .../dist-es/types/TreeRuleObject.js | 1 + .../util-endpoints/dist-es/types/index.js | 6 + .../util-endpoints/dist-es/types/shared.js | 1 + .../util-endpoints/dist-types/aws.d.ts | 2 + .../util-endpoints/dist-types/index.d.ts | 6 + .../dist-types/lib/aws/index.d.ts | 3 + .../lib/aws/isVirtualHostableS3Bucket.d.ts | 5 + .../dist-types/lib/aws/parseArn.d.ts | 7 + .../dist-types/lib/aws/partition.d.ts | 38 + .../dist-types/lib/isIpAddress.d.ts | 1 + ...olveDefaultAwsRegionalEndpointsConfig.d.ts | 56 + .../dist-types/resolveEndpoint.d.ts | 1 + .../util-endpoints/dist-types/ts3.4/aws.d.ts | 2 + .../dist-types/ts3.4/index.d.ts | 6 + .../dist-types/ts3.4/lib/aws/index.d.ts | 3 + .../lib/aws/isVirtualHostableS3Bucket.d.ts | 4 + .../dist-types/ts3.4/lib/aws/parseArn.d.ts | 2 + .../dist-types/ts3.4/lib/aws/partition.d.ts | 28 + .../dist-types/ts3.4/lib/isIpAddress.d.ts | 1 + ...olveDefaultAwsRegionalEndpointsConfig.d.ts | 35 + .../dist-types/ts3.4/resolveEndpoint.d.ts | 1 + .../dist-types/ts3.4/types/EndpointError.d.ts | 1 + .../ts3.4/types/EndpointRuleObject.d.ts | 6 + .../ts3.4/types/ErrorRuleObject.d.ts | 1 + .../dist-types/ts3.4/types/RuleSetObject.d.ts | 5 + .../ts3.4/types/TreeRuleObject.d.ts | 1 + .../dist-types/ts3.4/types/index.d.ts | 6 + .../dist-types/ts3.4/types/shared.d.ts | 12 + .../dist-types/types/EndpointError.d.ts | 1 + .../dist-types/types/EndpointRuleObject.d.ts | 1 + .../dist-types/types/ErrorRuleObject.d.ts | 1 + .../dist-types/types/RuleSetObject.d.ts | 1 + .../dist-types/types/TreeRuleObject.d.ts | 1 + .../dist-types/types/index.d.ts | 6 + .../dist-types/types/shared.d.ts | 1 + .../@aws-sdk/util-endpoints/package.json | 60 + node_modules/@aws-sdk/util-format-url/LICENSE | 201 + .../@aws-sdk/util-format-url/README.md | 4 + .../util-format-url/dist-cjs/index.js | 34 + .../@aws-sdk/util-format-url/dist-es/index.js | 29 + .../util-format-url/dist-types/index.d.ts | 2 + .../dist-types/ts3.4/index.d.ts | 4 + .../@aws-sdk/util-format-url/package.json | 56 + .../@aws-sdk/util-locate-window/LICENSE | 201 + .../@aws-sdk/util-locate-window/README.md | 4 + .../util-locate-window/dist-cjs/index.js | 14 + .../util-locate-window/dist-es/index.js | 10 + .../util-locate-window/dist-types/index.d.ts | 6 + .../dist-types/ts3.4/index.d.ts | 1 + .../@aws-sdk/util-locate-window/package.json | 54 + .../@aws-sdk/util-user-agent-browser/LICENSE | 201 + .../util-user-agent-browser/README.md | 29 + .../dist-cjs/configurations.js | 2 + .../createUserAgentStringParsingProvider.js | 57 + .../util-user-agent-browser/dist-cjs/index.js | 58 + .../dist-cjs/index.native.js | 22 + .../dist-es/configurations.js | 1 + .../createUserAgentStringParsingProvider.js | 20 + .../util-user-agent-browser/dist-es/index.js | 53 + .../dist-es/index.native.js | 18 + .../dist-types/configurations.d.ts | 7 + .../createUserAgentStringParsingProvider.d.ts | 14 + .../dist-types/index.d.ts | 27 + .../dist-types/index.native.d.ts | 18 + .../dist-types/ts3.4/configurations.d.ts | 4 + .../createUserAgentStringParsingProvider.d.ts | 9 + .../dist-types/ts3.4/index.d.ts | 22 + .../dist-types/ts3.4/index.native.d.ts | 17 + .../util-user-agent-browser/package.json | 55 + .../@aws-sdk/util-user-agent-node/LICENSE | 201 + .../@aws-sdk/util-user-agent-node/README.md | 17 + .../util-user-agent-node/dist-cjs/index.js | 185 + .../dist-es/crt-availability.js | 3 + .../dist-es/defaultUserAgent.js | 36 + .../dist-es/getNodeModulesParentDirs.js | 15 + .../dist-es/getRuntimeUserAgentPair.js | 10 + .../getSanitizedDevTypeScriptVersion.js | 14 + .../dist-es/getSanitizedTypeScriptVersion.js | 9 + .../dist-es/getTypeScriptUserAgentPair.js | 75 + .../util-user-agent-node/dist-es/index.js | 2 + .../dist-es/is-crt-available.js | 7 + .../dist-es/nodeAppIdConfigOptions.js | 9 + .../dist-types/crt-availability.d.ts | 8 + .../dist-types/defaultUserAgent.d.ts | 28 + .../dist-types/getNodeModulesParentDirs.d.ts | 10 + .../dist-types/getRuntimeUserAgentPair.d.ts | 6 + .../getSanitizedDevTypeScriptVersion.d.ts | 8 + .../getSanitizedTypeScriptVersion.d.ts | 8 + .../getTypeScriptUserAgentPair.d.ts | 6 + .../dist-types/index.d.ts | 2 + .../dist-types/is-crt-available.d.ts | 5 + .../dist-types/nodeAppIdConfigOptions.d.ts | 13 + .../dist-types/ts3.4/crt-availability.d.ts | 3 + .../dist-types/ts3.4/defaultUserAgent.d.ts | 21 + .../ts3.4/getNodeModulesParentDirs.d.ts | 1 + .../ts3.4/getRuntimeUserAgentPair.d.ts | 2 + .../getSanitizedDevTypeScriptVersion.d.ts | 3 + .../ts3.4/getSanitizedTypeScriptVersion.d.ts | 3 + .../ts3.4/getTypeScriptUserAgentPair.d.ts | 4 + .../dist-types/ts3.4/index.d.ts | 2 + .../dist-types/ts3.4/is-crt-available.d.ts | 2 + .../ts3.4/nodeAppIdConfigOptions.d.ts | 6 + .../util-user-agent-node/package.json | 69 + node_modules/@aws-sdk/xml-builder/LICENSE | 201 + node_modules/@aws-sdk/xml-builder/README.md | 17 + .../@aws-sdk/xml-builder/dist-cjs/index.js | 131 + .../xml-builder/dist-cjs/xml-parser.js | 23 + .../@aws-sdk/xml-builder/dist-es/XmlNode.js | 88 + .../@aws-sdk/xml-builder/dist-es/XmlText.js | 10 + .../xml-builder/dist-es/escape-attribute.js | 10 + .../xml-builder/dist-es/escape-element.js | 15 + .../@aws-sdk/xml-builder/dist-es/index.js | 3 + .../xml-builder/dist-es/stringable.js | 1 + .../xml-builder/dist-es/xml-parser.browser.js | 57 + .../xml-builder/dist-es/xml-parser.js | 20 + .../xml-builder/dist-types/XmlNode.d.ts | 49 + .../xml-builder/dist-types/XmlText.d.ts | 11 + .../dist-types/escape-attribute.d.ts | 6 + .../dist-types/escape-element.d.ts | 6 + .../xml-builder/dist-types/index.d.ts | 12 + .../xml-builder/dist-types/stringable.d.ts | 6 + .../xml-builder/dist-types/ts3.4/XmlNode.d.ts | 29 + .../xml-builder/dist-types/ts3.4/XmlText.d.ts | 6 + .../dist-types/ts3.4/escape-attribute.d.ts | 1 + .../dist-types/ts3.4/escape-element.d.ts | 1 + .../xml-builder/dist-types/ts3.4/index.d.ts | 3 + .../dist-types/ts3.4/stringable.d.ts | 3 + .../dist-types/ts3.4/xml-parser.browser.d.ts | 1 + .../dist-types/ts3.4/xml-parser.d.ts | 1 + .../dist-types/xml-parser.browser.d.ts | 9 + .../xml-builder/dist-types/xml-parser.d.ts | 4 + .../@aws-sdk/xml-builder/package.json | 63 + node_modules/@aws/lambda-invoke-store/LICENSE | 175 + .../@aws/lambda-invoke-store/README.md | 198 + .../dist-cjs/invoke-store.js | 119 + .../dist-es/invoke-store.js | 117 + .../dist-types/invoke-store.benchmark.d.ts | 1 + .../dist-types/invoke-store.d.ts | 49 + .../@aws/lambda-invoke-store/package.json | 55 + node_modules/@colors/colors/LICENSE | 26 + node_modules/@colors/colors/README.md | 219 + .../@colors/colors/examples/normal-usage.js | 83 + .../@colors/colors/examples/safe-string.js | 80 + node_modules/@colors/colors/index.d.ts | 184 + node_modules/@colors/colors/lib/colors.js | 211 + .../@colors/colors/lib/custom/trap.js | 46 + .../@colors/colors/lib/custom/zalgo.js | 110 + .../colors/lib/extendStringPrototype.js | 110 + node_modules/@colors/colors/lib/index.js | 13 + .../@colors/colors/lib/maps/america.js | 10 + .../@colors/colors/lib/maps/rainbow.js | 12 + .../@colors/colors/lib/maps/random.js | 11 + node_modules/@colors/colors/lib/maps/zebra.js | 5 + node_modules/@colors/colors/lib/styles.js | 95 + .../@colors/colors/lib/system/has-flag.js | 35 + .../colors/lib/system/supports-colors.js | 151 + node_modules/@colors/colors/package.json | 45 + node_modules/@colors/colors/safe.d.ts | 64 + node_modules/@colors/colors/safe.js | 10 + .../@colors/colors/themes/generic-logging.js | 12 + node_modules/@dabh/diagnostics/CHANGELOG.md | 26 + node_modules/@dabh/diagnostics/LICENSE | 20 + node_modules/@dabh/diagnostics/README.md | 473 + .../@dabh/diagnostics/adapters/hash.js | 11 + .../@dabh/diagnostics/adapters/index.js | 18 + .../diagnostics/adapters/localstorage.js | 11 + .../@dabh/diagnostics/adapters/process.env.js | 11 + .../@dabh/diagnostics/browser/development.js | 35 + .../@dabh/diagnostics/browser/index.js | 8 + .../@dabh/diagnostics/browser/override.js | 6 + .../@dabh/diagnostics/browser/production.js | 24 + node_modules/@dabh/diagnostics/diagnostics.js | 212 + .../@dabh/diagnostics/logger/console.js | 19 + .../diagnostics/modifiers/namespace-ansi.js | 20 + .../@dabh/diagnostics/modifiers/namespace.js | 32 + .../@dabh/diagnostics/node/development.js | 36 + node_modules/@dabh/diagnostics/node/index.js | 8 + .../@dabh/diagnostics/node/override.js | 21 + .../@dabh/diagnostics/node/production.js | 24 + node_modules/@dabh/diagnostics/package.json | 64 + node_modules/@ioredis/commands/LICENSE | 23 + node_modules/@ioredis/commands/README.md | 43 + .../@ioredis/commands/built/commands.json | 2578 +++ .../@ioredis/commands/built/index.d.ts | 34 + node_modules/@ioredis/commands/built/index.js | 217 + node_modules/@ioredis/commands/package.json | 52 + .../chunked-blob-reader-native/LICENSE | 201 + .../chunked-blob-reader-native/README.md | 10 + .../dist-cjs/index.js | 32 + .../dist-es/index.js | 27 + .../dist-types/index.d.ts | 4 + .../dist-types/ts3.4/index.d.ts | 4 + .../chunked-blob-reader-native/package.json | 61 + .../@smithy/chunked-blob-reader/LICENSE | 201 + .../@smithy/chunked-blob-reader/README.md | 10 + .../chunked-blob-reader/dist-cjs/index.js | 13 + .../chunked-blob-reader/dist-es/index.js | 9 + .../chunked-blob-reader/dist-types/index.d.ts | 5 + .../dist-types/ts3.4/index.d.ts | 5 + .../@smithy/chunked-blob-reader/package.json | 60 + node_modules/@smithy/config-resolver/LICENSE | 201 + .../@smithy/config-resolver/README.md | 10 + .../@smithy/config-resolver/dist-cjs/index.js | 198 + .../NodeUseDualstackEndpointConfigOptions.js | 14 + .../NodeUseFipsEndpointConfigOptions.js | 14 + .../dist-es/endpointsConfig/index.js | 4 + .../resolveCustomEndpointsConfig.js | 10 + .../endpointsConfig/resolveEndpointsConfig.js | 14 + .../utils/getEndpointFromRegion.js | 15 + .../@smithy/config-resolver/dist-es/index.js | 3 + .../dist-es/regionConfig/checkRegion.js | 15 + .../dist-es/regionConfig/config.js | 12 + .../dist-es/regionConfig/getRealRegion.js | 6 + .../dist-es/regionConfig/index.js | 2 + .../dist-es/regionConfig/isFipsRegion.js | 1 + .../regionConfig/resolveRegionConfig.js | 24 + .../dist-es/regionInfo/EndpointVariant.js | 1 + .../dist-es/regionInfo/EndpointVariantTag.js | 1 + .../dist-es/regionInfo/PartitionHash.js | 1 + .../dist-es/regionInfo/RegionHash.js | 1 + .../regionInfo/getHostnameFromVariants.js | 1 + .../dist-es/regionInfo/getRegionInfo.js | 29 + .../dist-es/regionInfo/getResolvedHostname.js | 5 + .../regionInfo/getResolvedPartition.js | 1 + .../regionInfo/getResolvedSigningRegion.js | 12 + .../dist-es/regionInfo/index.js | 3 + ...NodeUseDualstackEndpointConfigOptions.d.ts | 23 + .../NodeUseFipsEndpointConfigOptions.d.ts | 23 + .../dist-types/endpointsConfig/index.d.ts | 16 + .../resolveCustomEndpointsConfig.d.ts | 37 + .../resolveEndpointsConfig.d.ts | 57 + .../utils/getEndpointFromRegion.d.ts | 11 + .../config-resolver/dist-types/index.d.ts | 12 + .../dist-types/regionConfig/checkRegion.d.ts | 9 + .../dist-types/regionConfig/config.d.ts | 17 + .../regionConfig/getRealRegion.d.ts | 4 + .../dist-types/regionConfig/index.d.ts | 8 + .../dist-types/regionConfig/isFipsRegion.d.ts | 4 + .../regionConfig/resolveRegionConfig.d.ts | 34 + .../regionInfo/EndpointVariant.d.ts | 11 + .../regionInfo/EndpointVariantTag.d.ts | 10 + .../dist-types/regionInfo/PartitionHash.d.ts | 15 + .../dist-types/regionInfo/RegionHash.d.ts | 13 + .../regionInfo/getHostnameFromVariants.d.ts | 14 + .../dist-types/regionInfo/getRegionInfo.d.ts | 19 + .../regionInfo/getResolvedHostname.d.ts | 13 + .../regionInfo/getResolvedPartition.d.ts | 13 + .../regionInfo/getResolvedSigningRegion.d.ts | 14 + .../dist-types/regionInfo/index.d.ts | 12 + ...NodeUseDualstackEndpointConfigOptions.d.ts | 23 + .../NodeUseFipsEndpointConfigOptions.d.ts | 23 + .../ts3.4/endpointsConfig/index.d.ts | 16 + .../resolveCustomEndpointsConfig.d.ts | 37 + .../resolveEndpointsConfig.d.ts | 57 + .../utils/getEndpointFromRegion.d.ts | 11 + .../dist-types/ts3.4/index.d.ts | 12 + .../ts3.4/regionConfig/checkRegion.d.ts | 9 + .../dist-types/ts3.4/regionConfig/config.d.ts | 17 + .../ts3.4/regionConfig/getRealRegion.d.ts | 4 + .../dist-types/ts3.4/regionConfig/index.d.ts | 8 + .../ts3.4/regionConfig/isFipsRegion.d.ts | 4 + .../regionConfig/resolveRegionConfig.d.ts | 34 + .../ts3.4/regionInfo/EndpointVariant.d.ts | 11 + .../ts3.4/regionInfo/EndpointVariantTag.d.ts | 10 + .../ts3.4/regionInfo/PartitionHash.d.ts | 15 + .../ts3.4/regionInfo/RegionHash.d.ts | 13 + .../regionInfo/getHostnameFromVariants.d.ts | 14 + .../ts3.4/regionInfo/getRegionInfo.d.ts | 19 + .../ts3.4/regionInfo/getResolvedHostname.d.ts | 13 + .../regionInfo/getResolvedPartition.d.ts | 13 + .../regionInfo/getResolvedSigningRegion.d.ts | 14 + .../dist-types/ts3.4/regionInfo/index.d.ts | 12 + .../@smithy/config-resolver/package.json | 66 + node_modules/@smithy/core/LICENSE | 201 + node_modules/@smithy/core/README.md | 56 + node_modules/@smithy/core/cbor.d.ts | 7 + node_modules/@smithy/core/cbor.js | 6 + node_modules/@smithy/core/dist-cjs/index.js | 345 + .../core/dist-cjs/submodules/cbor/index.js | 1096 + .../dist-cjs/submodules/endpoints/index.js | 22 + .../submodules/event-streams/index.js | 259 + .../dist-cjs/submodules/protocols/index.js | 875 + .../core/dist-cjs/submodules/schema/index.js | 698 + .../core/dist-cjs/submodules/serde/index.js | 694 + .../@smithy/core/dist-es/getSmithyContext.js | 2 + node_modules/@smithy/core/dist-es/index.js | 8 + .../getHttpAuthSchemeEndpointRuleSetPlugin.js | 17 + .../getHttpAuthSchemePlugin.js | 17 + .../httpAuthSchemeMiddleware.js | 42 + .../middleware-http-auth-scheme/index.js | 3 + .../resolveAuthOptions.js | 20 + .../getHttpSigningMiddleware.js | 15 + .../httpSigningMiddleware.js | 23 + .../dist-es/middleware-http-signing/index.js | 2 + .../@smithy/core/dist-es/normalizeProvider.js | 6 + .../dist-es/pagination/createPaginator.js | 41 + .../dist-es/request-builder/requestBuilder.js | 1 + .../@smithy/core/dist-es/setFeature.js | 11 + .../core/dist-es/submodules/cbor/CborCodec.js | 206 + .../cbor/SmithyRpcV2CborProtocol.js | 100 + .../dist-es/submodules/cbor/byte-printer.js | 37 + .../dist-es/submodules/cbor/cbor-decode.js | 426 + .../dist-es/submodules/cbor/cbor-encode.js | 221 + .../dist-es/submodules/cbor/cbor-types.js | 25 + .../core/dist-es/submodules/cbor/cbor.js | 21 + .../core/dist-es/submodules/cbor/index.js | 5 + .../dist-es/submodules/cbor/parseCborBody.js | 92 + .../dist-es/submodules/endpoints/index.js | 1 + .../submodules/endpoints/toEndpointV1.js | 17 + .../event-streams/EventStreamSerde.js | 254 + .../dist-es/submodules/event-streams/index.js | 1 + .../protocols/HttpBindingProtocol.js | 286 + .../submodules/protocols/HttpProtocol.js | 140 + .../submodules/protocols/RpcProtocol.js | 92 + .../submodules/protocols/SerdeContext.js | 6 + .../protocols/collect-stream-body.js | 11 + .../extended-encode-uri-component.js | 5 + .../dist-es/submodules/protocols/index.js | 13 + .../submodules/protocols/requestBuilder.js | 69 + .../submodules/protocols/resolve-path.js | 19 + .../serde/FromStringShapeDeserializer.js | 66 + .../HttpInterceptingShapeDeserializer.js | 42 + .../serde/HttpInterceptingShapeSerializer.js | 33 + .../serde/ToStringShapeSerializer.js | 91 + .../serde/determineTimestampFormat.js | 19 + .../dist-es/submodules/schema/TypeRegistry.js | 84 + .../core/dist-es/submodules/schema/deref.js | 6 + .../core/dist-es/submodules/schema/index.js | 14 + .../schema/middleware/getSchemaSerdePlugin.js | 23 + .../middleware/schema-middleware-types.js | 1 + .../schemaDeserializationMiddleware.js | 65 + .../schemaSerializationMiddleware.js | 19 + .../submodules/schema/schemas/ErrorSchema.js | 15 + .../submodules/schema/schemas/ListSchema.js | 14 + .../submodules/schema/schemas/MapSchema.js | 16 + .../schema/schemas/NormalizedSchema.js | 303 + .../schema/schemas/OperationSchema.js | 16 + .../submodules/schema/schemas/Schema.js | 20 + .../submodules/schema/schemas/SimpleSchema.js | 20 + .../schema/schemas/StructureSchema.js | 16 + .../submodules/schema/schemas/operation.js | 7 + .../submodules/schema/schemas/sentinels.js | 16 + .../schema/schemas/translateTraits.js | 26 + .../serde/copyDocumentWithTransform.js | 1 + .../dist-es/submodules/serde/date-utils.js | 190 + .../serde/generateIdempotencyToken.js | 2 + .../core/dist-es/submodules/serde/index.js | 10 + .../dist-es/submodules/serde/lazy-json.js | 24 + .../dist-es/submodules/serde/parse-utils.js | 230 + .../dist-es/submodules/serde/quote-header.js | 6 + .../schema-serde-lib/schema-date-utils.js | 101 + .../dist-es/submodules/serde/split-every.js | 27 + .../dist-es/submodules/serde/split-header.js | 37 + .../submodules/serde/value/NumericValue.js | 25 + .../DefaultIdentityProviderConfig.js | 13 + .../httpAuthSchemes/httpApiKeyAuth.js | 34 + .../httpAuthSchemes/httpBearerAuth.js | 11 + .../httpAuthSchemes/index.js | 3 + .../httpAuthSchemes/noAuth.js | 5 + .../dist-es/util-identity-and-auth/index.js | 3 + .../memoizeIdentityProvider.js | 55 + .../core/dist-types/getSmithyContext.d.ts | 5 + .../@smithy/core/dist-types/index.d.ts | 8 + ...etHttpAuthSchemeEndpointRuleSetPlugin.d.ts | 18 + .../getHttpAuthSchemePlugin.d.ts | 18 + .../httpAuthSchemeMiddleware.d.ts | 33 + .../middleware-http-auth-scheme/index.d.ts | 3 + .../resolveAuthOptions.d.ts | 10 + .../getHttpSigningMiddleware.d.ts | 9 + .../httpSigningMiddleware.d.ts | 5 + .../middleware-http-signing/index.d.ts | 2 + .../core/dist-types/normalizeProvider.d.ts | 7 + .../pagination/createPaginator.d.ts | 7 + .../request-builder/requestBuilder.d.ts | 5 + .../@smithy/core/dist-types/setFeature.d.ts | 12 + .../dist-types/submodules/cbor/CborCodec.d.ts | 33 + .../cbor/SmithyRpcV2CborProtocol.d.ts | 28 + .../submodules/cbor/byte-printer.d.ts | 6 + .../submodules/cbor/cbor-decode.d.ts | 17 + .../submodules/cbor/cbor-encode.d.ts | 9 + .../submodules/cbor/cbor-types.d.ts | 62 + .../core/dist-types/submodules/cbor/cbor.d.ts | 26 + .../dist-types/submodules/cbor/index.d.ts | 5 + .../submodules/cbor/parseCborBody.d.ts | 31 + .../submodules/endpoints/index.d.ts | 1 + .../submodules/endpoints/toEndpointV1.d.ts | 6 + .../event-streams/EventStreamSerde.d.ts | 60 + .../submodules/event-streams/index.d.ts | 1 + .../protocols/HttpBindingProtocol.d.ts | 31 + .../submodules/protocols/HttpProtocol.d.ts | 89 + .../submodules/protocols/RpcProtocol.d.ts | 16 + .../submodules/protocols/SerdeContext.d.ts | 16 + .../protocols/collect-stream-body.d.ts | 10 + .../extended-encode-uri-component.d.ts | 7 + .../submodules/protocols/index.d.ts | 13 + .../submodules/protocols/requestBuilder.d.ts | 51 + .../submodules/protocols/resolve-path.d.ts | 4 + .../serde/FromStringShapeDeserializer.d.ts | 13 + .../HttpInterceptingShapeDeserializer.d.ts | 21 + .../HttpInterceptingShapeSerializer.d.ts | 23 + .../serde/ToStringShapeSerializer.d.ts | 14 + .../serde/determineTimestampFormat.d.ts | 9 + .../submodules/schema/TypeRegistry.d.ts | 71 + .../dist-types/submodules/schema/deref.d.ts | 6 + .../dist-types/submodules/schema/index.d.ts | 14 + .../middleware/getSchemaSerdePlugin.d.ts | 14 + .../middleware/schema-middleware-types.d.ts | 8 + .../schemaDeserializationMiddleware.d.ts | 9 + .../schemaSerializationMiddleware.d.ts | 6 + .../schema/schemas/ErrorSchema.d.ts | 37 + .../submodules/schema/schemas/ListSchema.d.ts | 23 + .../submodules/schema/schemas/MapSchema.d.ts | 24 + .../schema/schemas/NormalizedSchema.d.ts | 143 + .../schema/schemas/OperationSchema.d.ts | 23 + .../submodules/schema/schemas/Schema.d.ts | 16 + .../schema/schemas/SimpleSchema.d.ts | 28 + .../schema/schemas/StructureSchema.d.ts | 23 + .../submodules/schema/schemas/operation.d.ts | 7 + .../submodules/schema/schemas/sentinels.d.ts | 23 + .../schema/schemas/translateTraits.d.ts | 13 + .../serde/copyDocumentWithTransform.d.ts | 6 + .../submodules/serde/date-utils.d.ts | 73 + .../serde/generateIdempotencyToken.d.ts | 2 + .../dist-types/submodules/serde/index.d.ts | 10 + .../submodules/serde/lazy-json.d.ts | 45 + .../submodules/serde/parse-utils.d.ts | 270 + .../submodules/serde/quote-header.d.ts | 6 + .../schema-serde-lib/schema-date-utils.d.ts | 47 + .../submodules/serde/split-every.d.ts | 11 + .../submodules/serde/split-header.d.ts | 5 + .../submodules/serde/value/NumericValue.d.ts | 33 + .../dist-types/ts3.4/getSmithyContext.d.ts | 5 + .../@smithy/core/dist-types/ts3.4/index.d.ts | 8 + ...etHttpAuthSchemeEndpointRuleSetPlugin.d.ts | 18 + .../getHttpAuthSchemePlugin.d.ts | 18 + .../httpAuthSchemeMiddleware.d.ts | 33 + .../middleware-http-auth-scheme/index.d.ts | 3 + .../resolveAuthOptions.d.ts | 10 + .../getHttpSigningMiddleware.d.ts | 9 + .../httpSigningMiddleware.d.ts | 5 + .../ts3.4/middleware-http-signing/index.d.ts | 2 + .../dist-types/ts3.4/normalizeProvider.d.ts | 7 + .../ts3.4/pagination/createPaginator.d.ts | 7 + .../ts3.4/request-builder/requestBuilder.d.ts | 5 + .../core/dist-types/ts3.4/setFeature.d.ts | 12 + .../ts3.4/submodules/cbor/CborCodec.d.ts | 33 + .../cbor/SmithyRpcV2CborProtocol.d.ts | 28 + .../ts3.4/submodules/cbor/byte-printer.d.ts | 6 + .../ts3.4/submodules/cbor/cbor-decode.d.ts | 17 + .../ts3.4/submodules/cbor/cbor-encode.d.ts | 9 + .../ts3.4/submodules/cbor/cbor-types.d.ts | 65 + .../ts3.4/submodules/cbor/cbor.d.ts | 26 + .../ts3.4/submodules/cbor/index.d.ts | 5 + .../ts3.4/submodules/cbor/parseCborBody.d.ts | 31 + .../ts3.4/submodules/endpoints/index.d.ts | 1 + .../submodules/endpoints/toEndpointV1.d.ts | 6 + .../event-streams/EventStreamSerde.d.ts | 60 + .../ts3.4/submodules/event-streams/index.d.ts | 1 + .../protocols/HttpBindingProtocol.d.ts | 31 + .../submodules/protocols/HttpProtocol.d.ts | 89 + .../submodules/protocols/RpcProtocol.d.ts | 16 + .../submodules/protocols/SerdeContext.d.ts | 16 + .../protocols/collect-stream-body.d.ts | 10 + .../extended-encode-uri-component.d.ts | 7 + .../ts3.4/submodules/protocols/index.d.ts | 13 + .../submodules/protocols/requestBuilder.d.ts | 51 + .../submodules/protocols/resolve-path.d.ts | 4 + .../serde/FromStringShapeDeserializer.d.ts | 13 + .../HttpInterceptingShapeDeserializer.d.ts | 21 + .../HttpInterceptingShapeSerializer.d.ts | 23 + .../serde/ToStringShapeSerializer.d.ts | 14 + .../serde/determineTimestampFormat.d.ts | 9 + .../ts3.4/submodules/schema/TypeRegistry.d.ts | 71 + .../ts3.4/submodules/schema/deref.d.ts | 6 + .../ts3.4/submodules/schema/index.d.ts | 14 + .../middleware/getSchemaSerdePlugin.d.ts | 14 + .../middleware/schema-middleware-types.d.ts | 11 + .../schemaDeserializationMiddleware.d.ts | 9 + .../schemaSerializationMiddleware.d.ts | 6 + .../schema/schemas/ErrorSchema.d.ts | 37 + .../submodules/schema/schemas/ListSchema.d.ts | 23 + .../submodules/schema/schemas/MapSchema.d.ts | 24 + .../schema/schemas/NormalizedSchema.d.ts | 146 + .../schema/schemas/OperationSchema.d.ts | 23 + .../submodules/schema/schemas/Schema.d.ts | 16 + .../schema/schemas/SimpleSchema.d.ts | 28 + .../schema/schemas/StructureSchema.d.ts | 23 + .../submodules/schema/schemas/operation.d.ts | 7 + .../submodules/schema/schemas/sentinels.d.ts | 23 + .../schema/schemas/translateTraits.d.ts | 13 + .../serde/copyDocumentWithTransform.d.ts | 6 + .../ts3.4/submodules/serde/date-utils.d.ts | 73 + .../serde/generateIdempotencyToken.d.ts | 2 + .../ts3.4/submodules/serde/index.d.ts | 10 + .../ts3.4/submodules/serde/lazy-json.d.ts | 45 + .../ts3.4/submodules/serde/parse-utils.d.ts | 270 + .../ts3.4/submodules/serde/quote-header.d.ts | 6 + .../schema-serde-lib/schema-date-utils.d.ts | 47 + .../ts3.4/submodules/serde/split-every.d.ts | 11 + .../ts3.4/submodules/serde/split-header.d.ts | 5 + .../submodules/serde/value/NumericValue.d.ts | 33 + .../DefaultIdentityProviderConfig.d.ts | 15 + .../httpAuthSchemes/httpApiKeyAuth.d.ts | 8 + .../httpAuthSchemes/httpBearerAuth.d.ts | 8 + .../httpAuthSchemes/index.d.ts | 3 + .../httpAuthSchemes/noAuth.d.ts | 8 + .../ts3.4/util-identity-and-auth/index.d.ts | 3 + .../memoizeIdentityProvider.d.ts | 30 + .../DefaultIdentityProviderConfig.d.ts | 15 + .../httpAuthSchemes/httpApiKeyAuth.d.ts | 8 + .../httpAuthSchemes/httpBearerAuth.d.ts | 8 + .../httpAuthSchemes/index.d.ts | 3 + .../httpAuthSchemes/noAuth.d.ts | 8 + .../util-identity-and-auth/index.d.ts | 3 + .../memoizeIdentityProvider.d.ts | 30 + node_modules/@smithy/core/endpoints.d.ts | 7 + node_modules/@smithy/core/endpoints.js | 6 + node_modules/@smithy/core/event-streams.d.ts | 7 + node_modules/@smithy/core/event-streams.js | 6 + node_modules/@smithy/core/package.json | 146 + node_modules/@smithy/core/protocols.d.ts | 7 + node_modules/@smithy/core/protocols.js | 6 + node_modules/@smithy/core/schema.d.ts | 7 + node_modules/@smithy/core/schema.js | 6 + node_modules/@smithy/core/serde.d.ts | 7 + node_modules/@smithy/core/serde.js | 6 + .../@smithy/credential-provider-imds/LICENSE | 201 + .../credential-provider-imds/README.md | 11 + .../dist-cjs/index.js | 372 + .../dist-es/config/Endpoint.js | 5 + .../dist-es/config/EndpointConfigOptions.js | 7 + .../dist-es/config/EndpointMode.js | 5 + .../config/EndpointModeConfigOptions.js | 8 + .../error/InstanceMetadataV1FallbackError.js | 10 + .../dist-es/fromContainerMetadata.js | 77 + .../dist-es/fromInstanceMetadata.js | 134 + .../credential-provider-imds/dist-es/index.js | 7 + .../dist-es/remoteProvider/ImdsCredentials.js | 13 + .../remoteProvider/RemoteProviderInit.js | 3 + .../dist-es/remoteProvider/httpRequest.js | 36 + .../dist-es/remoteProvider/index.js | 2 + .../dist-es/remoteProvider/retry.js | 7 + .../credential-provider-imds/dist-es/types.js | 1 + .../getExtendedInstanceMetadataCredentials.js | 17 + .../utils/getInstanceMetadataEndpoint.js | 19 + .../dist-es/utils/staticStabilityProvider.js | 25 + .../dist-types/config/Endpoint.d.ts | 7 + .../config/EndpointConfigOptions.d.ts | 13 + .../dist-types/config/EndpointMode.d.ts | 7 + .../config/EndpointModeConfigOptions.d.ts | 13 + .../InstanceMetadataV1FallbackError.d.ts | 12 + .../dist-types/fromContainerMetadata.d.ts | 21 + .../dist-types/fromInstanceMetadata.d.ts | 10 + .../dist-types/index.d.ts | 28 + .../remoteProvider/ImdsCredentials.d.ts | 19 + .../remoteProvider/RemoteProviderInit.d.ts | 40 + .../remoteProvider/httpRequest.d.ts | 6 + .../dist-types/remoteProvider/index.d.ts | 8 + .../dist-types/remoteProvider/retry.d.ts | 10 + .../dist-types/ts3.4/config/Endpoint.d.ts | 7 + .../ts3.4/config/EndpointConfigOptions.d.ts | 13 + .../dist-types/ts3.4/config/EndpointMode.d.ts | 7 + .../config/EndpointModeConfigOptions.d.ts | 13 + .../InstanceMetadataV1FallbackError.d.ts | 12 + .../ts3.4/fromContainerMetadata.d.ts | 21 + .../ts3.4/fromInstanceMetadata.d.ts | 10 + .../dist-types/ts3.4/index.d.ts | 28 + .../ts3.4/remoteProvider/ImdsCredentials.d.ts | 19 + .../remoteProvider/RemoteProviderInit.d.ts | 40 + .../ts3.4/remoteProvider/httpRequest.d.ts | 6 + .../ts3.4/remoteProvider/index.d.ts | 8 + .../ts3.4/remoteProvider/retry.d.ts | 10 + .../dist-types/ts3.4/types.d.ts | 7 + ...etExtendedInstanceMetadataCredentials.d.ts | 6 + .../utils/getInstanceMetadataEndpoint.d.ts | 21 + .../ts3.4/utils/staticStabilityProvider.d.ts | 16 + .../dist-types/types.d.ts | 7 + ...etExtendedInstanceMetadataCredentials.d.ts | 6 + .../utils/getInstanceMetadataEndpoint.d.ts | 21 + .../utils/staticStabilityProvider.d.ts | 16 + .../credential-provider-imds/package.json | 70 + .../@smithy/eventstream-codec/LICENSE | 201 + .../@smithy/eventstream-codec/README.md | 4 + .../eventstream-codec/dist-cjs/index.js | 388 + .../dist-es/EventStreamCodec.js | 65 + .../dist-es/HeaderMarshaller.js | 184 + .../eventstream-codec/dist-es/Int64.js | 44 + .../eventstream-codec/dist-es/Message.js | 1 + .../dist-es/MessageDecoderStream.js | 15 + .../dist-es/MessageEncoderStream.js | 18 + .../dist-es/SmithyMessageDecoderStream.js | 17 + .../dist-es/SmithyMessageEncoderStream.js | 15 + .../dist-es/TestVectors.fixture.js | 146 + .../eventstream-codec/dist-es/index.js | 8 + .../eventstream-codec/dist-es/splitMessage.js | 30 + .../dist-es/vectorTypes.fixture.js | 1 + .../dist-types/EventStreamCodec.d.ts | 31 + .../dist-types/HeaderMarshaller.d.ts | 12 + .../eventstream-codec/dist-types/Int64.d.ts | 20 + .../eventstream-codec/dist-types/Message.d.ts | 26 + .../dist-types/MessageDecoderStream.d.ts | 17 + .../dist-types/MessageEncoderStream.d.ts | 18 + .../SmithyMessageDecoderStream.d.ts | 17 + .../SmithyMessageEncoderStream.d.ts | 17 + .../dist-types/TestVectors.fixture.d.ts | 2 + .../eventstream-codec/dist-types/index.d.ts | 8 + .../dist-types/splitMessage.d.ts | 11 + .../dist-types/ts3.4/EventStreamCodec.d.ts | 31 + .../dist-types/ts3.4/HeaderMarshaller.d.ts | 12 + .../dist-types/ts3.4/Int64.d.ts | 20 + .../dist-types/ts3.4/Message.d.ts | 26 + .../ts3.4/MessageDecoderStream.d.ts | 17 + .../ts3.4/MessageEncoderStream.d.ts | 18 + .../ts3.4/SmithyMessageDecoderStream.d.ts | 17 + .../ts3.4/SmithyMessageEncoderStream.d.ts | 17 + .../dist-types/ts3.4/TestVectors.fixture.d.ts | 2 + .../dist-types/ts3.4/index.d.ts | 8 + .../dist-types/ts3.4/splitMessage.d.ts | 11 + .../dist-types/ts3.4/vectorTypes.fixture.d.ts | 12 + .../dist-types/vectorTypes.fixture.d.ts | 12 + .../@smithy/eventstream-codec/package.json | 65 + .../@smithy/eventstream-serde-browser/LICENSE | 201 + .../eventstream-serde-browser/README.md | 10 + .../dist-cjs/index.js | 58 + .../dist-es/EventStreamMarshaller.js | 20 + .../dist-es/index.js | 3 + .../dist-es/provider.js | 2 + .../dist-es/utils.js | 28 + .../dist-types/EventStreamMarshaller.d.ts | 47 + .../dist-types/index.d.ts | 12 + .../dist-types/provider.d.ts | 3 + .../ts3.4/EventStreamMarshaller.d.ts | 47 + .../dist-types/ts3.4/index.d.ts | 12 + .../dist-types/ts3.4/provider.d.ts | 3 + .../dist-types/ts3.4/utils.d.ts | 13 + .../dist-types/utils.d.ts | 13 + .../eventstream-serde-browser/package.json | 61 + .../eventstream-serde-config-resolver/LICENSE | 201 + .../README.md | 10 + .../dist-cjs/index.js | 7 + .../dist-es/EventStreamSerdeConfig.js | 3 + .../dist-es/index.js | 1 + .../dist-types/EventStreamSerdeConfig.d.ts | 27 + .../dist-types/index.d.ts | 4 + .../ts3.4/EventStreamSerdeConfig.d.ts | 27 + .../dist-types/ts3.4/index.d.ts | 4 + .../package.json | 62 + .../@smithy/eventstream-serde-node/LICENSE | 201 + .../@smithy/eventstream-serde-node/README.md | 10 + .../eventstream-serde-node/dist-cjs/index.js | 53 + .../dist-es/EventStreamMarshaller.js | 19 + .../eventstream-serde-node/dist-es/index.js | 2 + .../dist-es/provider.js | 2 + .../eventstream-serde-node/dist-es/utils.js | 26 + .../dist-types/EventStreamMarshaller.d.ts | 23 + .../dist-types/index.d.ts | 8 + .../dist-types/provider.d.ts | 3 + .../ts3.4/EventStreamMarshaller.d.ts | 23 + .../dist-types/ts3.4/index.d.ts | 8 + .../dist-types/ts3.4/provider.d.ts | 3 + .../dist-types/ts3.4/utils.d.ts | 12 + .../dist-types/utils.d.ts | 12 + .../eventstream-serde-node/package.json | 62 + .../eventstream-serde-universal/LICENSE | 201 + .../eventstream-serde-universal/README.md | 10 + .../dist-cjs/index.js | 132 + .../dist-es/EventStreamMarshaller.js | 25 + .../dist-es/getChunkedStream.js | 66 + .../dist-es/getUnmarshalledStream.js | 47 + .../dist-es/index.js | 2 + .../dist-es/provider.js | 2 + .../dist-types/EventStreamMarshaller.d.ts | 23 + .../dist-types/getChunkedStream.d.ts | 4 + .../dist-types/getUnmarshalledStream.d.ts | 18 + .../dist-types/index.d.ts | 8 + .../dist-types/provider.d.ts | 3 + .../ts3.4/EventStreamMarshaller.d.ts | 23 + .../dist-types/ts3.4/getChunkedStream.d.ts | 4 + .../ts3.4/getUnmarshalledStream.d.ts | 18 + .../dist-types/ts3.4/index.d.ts | 8 + .../dist-types/ts3.4/provider.d.ts | 3 + .../eventstream-serde-universal/package.json | 66 + .../@smithy/fetch-http-handler/LICENSE | 201 + .../@smithy/fetch-http-handler/README.md | 11 + .../fetch-http-handler/dist-cjs/index.js | 233 + .../dist-es/create-request.js | 3 + .../dist-es/fetch-http-handler.js | 158 + .../fetch-http-handler/dist-es/index.js | 2 + .../dist-es/request-timeout.js | 11 + .../dist-es/stream-collector.js | 53 + .../dist-types/create-request.d.ts | 6 + .../dist-types/fetch-http-handler.d.ts | 42 + .../fetch-http-handler/dist-types/index.d.ts | 2 + .../dist-types/request-timeout.d.ts | 1 + .../dist-types/stream-collector.d.ts | 2 + .../dist-types/ts3.4/create-request.d.ts | 6 + .../dist-types/ts3.4/fetch-http-handler.d.ts | 42 + .../dist-types/ts3.4/index.d.ts | 2 + .../dist-types/ts3.4/request-timeout.d.ts | 1 + .../dist-types/ts3.4/stream-collector.d.ts | 2 + .../@smithy/fetch-http-handler/package.json | 69 + .../@smithy/hash-blob-browser/LICENSE | 201 + .../@smithy/hash-blob-browser/README.md | 10 + .../hash-blob-browser/dist-cjs/index.js | 13 + .../hash-blob-browser/dist-es/index.js | 8 + .../hash-blob-browser/dist-types/index.d.ts | 5 + .../dist-types/ts3.4/index.d.ts | 5 + .../@smithy/hash-blob-browser/package.json | 70 + node_modules/@smithy/hash-node/LICENSE | 201 + node_modules/@smithy/hash-node/README.md | 10 + .../@smithy/hash-node/dist-cjs/index.js | 42 + .../@smithy/hash-node/dist-es/index.js | 37 + .../@smithy/hash-node/dist-types/index.d.ts | 13 + .../hash-node/dist-types/ts3.4/index.d.ts | 13 + node_modules/@smithy/hash-node/package.json | 65 + node_modules/@smithy/hash-stream-node/LICENSE | 201 + .../@smithy/hash-stream-node/README.md | 12 + .../hash-stream-node/dist-cjs/index.js | 67 + .../dist-es/HashCalculator.js | 18 + .../dist-es/fileStreamHasher.js | 24 + .../@smithy/hash-stream-node/dist-es/index.js | 2 + .../dist-es/readableStreamHasher.js | 19 + .../dist-types/HashCalculator.d.ts | 11 + .../dist-types/fileStreamHasher.d.ts | 6 + .../hash-stream-node/dist-types/index.d.ts | 8 + .../dist-types/readableStreamHasher.d.ts | 6 + .../dist-types/ts3.4/HashCalculator.d.ts | 11 + .../dist-types/ts3.4/fileStreamHasher.d.ts | 6 + .../dist-types/ts3.4/index.d.ts | 8 + .../ts3.4/readableStreamHasher.d.ts | 6 + .../@smithy/hash-stream-node/package.json | 65 + .../@smithy/invalid-dependency/LICENSE | 201 + .../@smithy/invalid-dependency/README.md | 10 + .../invalid-dependency/dist-cjs/index.js | 10 + .../invalid-dependency/dist-es/index.js | 2 + .../dist-es/invalidFunction.js | 3 + .../dist-es/invalidProvider.js | 1 + .../invalid-dependency/dist-types/index.d.ts | 8 + .../dist-types/invalidFunction.d.ts | 4 + .../dist-types/invalidProvider.d.ts | 5 + .../dist-types/ts3.4/index.d.ts | 8 + .../dist-types/ts3.4/invalidFunction.d.ts | 4 + .../dist-types/ts3.4/invalidProvider.d.ts | 5 + .../@smithy/invalid-dependency/package.json | 61 + node_modules/@smithy/is-array-buffer/LICENSE | 201 + .../@smithy/is-array-buffer/README.md | 10 + .../@smithy/is-array-buffer/dist-cjs/index.js | 6 + .../@smithy/is-array-buffer/dist-es/index.js | 2 + .../is-array-buffer/dist-types/index.d.ts | 4 + .../dist-types/ts3.4/index.d.ts | 4 + .../@smithy/is-array-buffer/package.json | 61 + node_modules/@smithy/md5-js/LICENSE | 201 + node_modules/@smithy/md5-js/README.md | 10 + node_modules/@smithy/md5-js/dist-cjs/index.js | 176 + .../@smithy/md5-js/dist-es/constants.js | 3 + node_modules/@smithy/md5-js/dist-es/index.js | 168 + .../@smithy/md5-js/dist-types/constants.d.ts | 12 + .../@smithy/md5-js/dist-types/index.d.ts | 16 + .../md5-js/dist-types/ts3.4/constants.d.ts | 12 + .../md5-js/dist-types/ts3.4/index.d.ts | 16 + node_modules/@smithy/md5-js/package.json | 66 + .../@smithy/middleware-content-length/LICENSE | 201 + .../middleware-content-length/README.md | 4 + .../dist-cjs/index.js | 46 + .../dist-es/index.js | 39 + .../dist-types/index.d.ts | 6 + .../dist-types/ts3.4/index.d.ts | 6 + .../middleware-content-length/package.json | 64 + .../@smithy/middleware-endpoint/LICENSE | 201 + .../@smithy/middleware-endpoint/README.md | 17 + .../adaptors/getEndpointFromConfig.browser.js | 5 + .../adaptors/getEndpointFromConfig.js | 7 + .../dist-cjs/adaptors/getEndpointUrlConfig.js | 35 + .../middleware-endpoint/dist-cjs/index.js | 264 + .../adaptors/createConfigValueProvider.js | 50 + .../adaptors/getEndpointFromConfig.browser.js | 1 + .../dist-es/adaptors/getEndpointFromConfig.js | 3 + .../adaptors/getEndpointFromInstructions.js | 64 + .../dist-es/adaptors/getEndpointUrlConfig.js | 31 + .../dist-es/adaptors/index.js | 2 + .../dist-es/adaptors/toEndpointV1.js | 17 + .../dist-es/endpointMiddleware.js | 36 + .../dist-es/getEndpointPlugin.js | 18 + .../middleware-endpoint/dist-es/index.js | 6 + .../dist-es/resolveEndpointConfig.js | 24 + .../dist-es/resolveEndpointRequiredConfig.js | 9 + .../dist-es/service-customizations/index.js | 1 + .../dist-es/service-customizations/s3.js | 37 + .../middleware-endpoint/dist-es/types.js | 1 + .../adaptors/createConfigValueProvider.d.ts | 14 + .../getEndpointFromConfig.browser.d.ts | 1 + .../adaptors/getEndpointFromConfig.d.ts | 4 + .../adaptors/getEndpointFromInstructions.d.ts | 28 + .../adaptors/getEndpointUrlConfig.d.ts | 2 + .../dist-types/adaptors/index.d.ts | 8 + .../dist-types/adaptors/toEndpointV1.d.ts | 6 + .../dist-types/endpointMiddleware.d.ts | 10 + .../dist-types/getEndpointPlugin.d.ts | 11 + .../middleware-endpoint/dist-types/index.d.ts | 18 + .../dist-types/resolveEndpointConfig.d.ts | 109 + .../resolveEndpointRequiredConfig.d.ts | 32 + .../service-customizations/index.d.ts | 4 + .../dist-types/service-customizations/s3.d.ts | 26 + .../adaptors/createConfigValueProvider.d.ts | 14 + .../getEndpointFromConfig.browser.d.ts | 1 + .../ts3.4/adaptors/getEndpointFromConfig.d.ts | 4 + .../adaptors/getEndpointFromInstructions.d.ts | 28 + .../ts3.4/adaptors/getEndpointUrlConfig.d.ts | 2 + .../dist-types/ts3.4/adaptors/index.d.ts | 8 + .../ts3.4/adaptors/toEndpointV1.d.ts | 6 + .../dist-types/ts3.4/endpointMiddleware.d.ts | 10 + .../dist-types/ts3.4/getEndpointPlugin.d.ts | 11 + .../dist-types/ts3.4/index.d.ts | 18 + .../ts3.4/resolveEndpointConfig.d.ts | 109 + .../ts3.4/resolveEndpointRequiredConfig.d.ts | 32 + .../ts3.4/service-customizations/index.d.ts | 4 + .../ts3.4/service-customizations/s3.d.ts | 26 + .../dist-types/ts3.4/types.d.ts | 41 + .../middleware-endpoint/dist-types/types.d.ts | 41 + .../@smithy/middleware-endpoint/package.json | 75 + node_modules/@smithy/middleware-retry/LICENSE | 201 + .../@smithy/middleware-retry/README.md | 24 + .../middleware-retry/dist-cjs/index.js | 355 + .../isStreamingPayload.browser.js | 5 + .../isStreamingPayload/isStreamingPayload.js | 7 + .../dist-es/AdaptiveRetryStrategy.js | 21 + .../dist-es/StandardRetryStrategy.js | 94 + .../dist-es/configurations.js | 48 + .../dist-es/defaultRetryQuota.js | 27 + .../middleware-retry/dist-es/delayDecider.js | 2 + .../@smithy/middleware-retry/dist-es/index.js | 7 + .../isStreamingPayload.browser.js | 1 + .../isStreamingPayload/isStreamingPayload.js | 3 + .../dist-es/omitRetryHeadersMiddleware.js | 22 + .../middleware-retry/dist-es/retryDecider.js | 7 + .../dist-es/retryMiddleware.js | 112 + .../@smithy/middleware-retry/dist-es/types.js | 1 + .../@smithy/middleware-retry/dist-es/util.js | 9 + .../dist-types/AdaptiveRetryStrategy.d.ts | 23 + .../dist-types/StandardRetryStrategy.d.ts | 33 + .../dist-types/configurations.d.ts | 66 + .../dist-types/defaultRetryQuota.d.ts | 24 + .../dist-types/delayDecider.d.ts | 5 + .../middleware-retry/dist-types/index.d.ts | 7 + .../isStreamingPayload.browser.d.ts | 5 + .../isStreamingPayload.d.ts | 5 + .../omitRetryHeadersMiddleware.d.ts | 13 + .../dist-types/retryDecider.d.ts | 6 + .../dist-types/retryMiddleware.d.ts | 18 + .../ts3.4/AdaptiveRetryStrategy.d.ts | 23 + .../ts3.4/StandardRetryStrategy.d.ts | 33 + .../dist-types/ts3.4/configurations.d.ts | 66 + .../dist-types/ts3.4/defaultRetryQuota.d.ts | 24 + .../dist-types/ts3.4/delayDecider.d.ts | 5 + .../dist-types/ts3.4/index.d.ts | 7 + .../isStreamingPayload.browser.d.ts | 5 + .../isStreamingPayload.d.ts | 5 + .../ts3.4/omitRetryHeadersMiddleware.d.ts | 13 + .../dist-types/ts3.4/retryDecider.d.ts | 6 + .../dist-types/ts3.4/retryMiddleware.d.ts | 18 + .../dist-types/ts3.4/types.d.ts | 65 + .../dist-types/ts3.4/util.d.ts | 2 + .../middleware-retry/dist-types/types.d.ts | 65 + .../middleware-retry/dist-types/util.d.ts | 2 + .../@smithy/middleware-retry/package.json | 79 + node_modules/@smithy/middleware-serde/LICENSE | 201 + .../@smithy/middleware-serde/README.md | 17 + .../middleware-serde/dist-cjs/index.js | 104 + .../dist-es/deserializerMiddleware.js | 58 + .../@smithy/middleware-serde/dist-es/index.js | 3 + .../middleware-serde/dist-es/serdePlugin.js | 22 + .../dist-es/serializerMiddleware.js | 15 + .../dist-types/deserializerMiddleware.d.ts | 6 + .../middleware-serde/dist-types/index.d.ts | 3 + .../dist-types/serdePlugin.d.ts | 24 + .../dist-types/serializerMiddleware.d.ts | 6 + .../ts3.4/deserializerMiddleware.d.ts | 6 + .../dist-types/ts3.4/index.d.ts | 3 + .../dist-types/ts3.4/serdePlugin.d.ts | 24 + .../ts3.4/serializerMiddleware.d.ts | 6 + .../@smithy/middleware-serde/package.json | 66 + node_modules/@smithy/middleware-stack/LICENSE | 201 + .../@smithy/middleware-stack/README.md | 78 + .../middleware-stack/dist-cjs/index.js | 285 + .../dist-es/MiddlewareStack.js | 281 + .../@smithy/middleware-stack/dist-es/index.js | 1 + .../@smithy/middleware-stack/dist-es/types.js | 1 + .../dist-types/MiddlewareStack.d.ts | 5 + .../middleware-stack/dist-types/index.d.ts | 1 + .../dist-types/ts3.4/MiddlewareStack.d.ts | 5 + .../dist-types/ts3.4/index.d.ts | 1 + .../dist-types/ts3.4/types.d.ts | 22 + .../middleware-stack/dist-types/types.d.ts | 22 + .../@smithy/middleware-stack/package.json | 64 + .../@smithy/node-config-provider/LICENSE | 201 + .../@smithy/node-config-provider/README.md | 10 + .../node-config-provider/dist-cjs/index.js | 62 + .../dist-es/configLoader.js | 9 + .../node-config-provider/dist-es/fromEnv.js | 14 + .../dist-es/fromSharedConfigFiles.js | 23 + .../dist-es/fromStatic.js | 3 + .../dist-es/getSelectorName.js | 12 + .../node-config-provider/dist-es/index.js | 1 + .../dist-types/configLoader.d.ts | 31 + .../dist-types/fromEnv.d.ts | 20 + .../dist-types/fromSharedConfigFiles.d.ts | 22 + .../dist-types/fromStatic.d.ts | 9 + .../dist-types/getSelectorName.d.ts | 9 + .../dist-types/index.d.ts | 4 + .../dist-types/ts3.4/configLoader.d.ts | 31 + .../dist-types/ts3.4/fromEnv.d.ts | 20 + .../ts3.4/fromSharedConfigFiles.d.ts | 22 + .../dist-types/ts3.4/fromStatic.d.ts | 9 + .../dist-types/ts3.4/getSelectorName.d.ts | 9 + .../dist-types/ts3.4/index.d.ts | 4 + .../@smithy/node-config-provider/package.json | 66 + .../@smithy/node-http-handler/LICENSE | 201 + .../@smithy/node-http-handler/README.md | 9 + .../node-http-handler/dist-cjs/index.js | 762 + .../dist-es/build-abort-error.js | 19 + .../node-http-handler/dist-es/constants.js | 1 + .../dist-es/get-transformed-headers.js | 9 + .../node-http-handler/dist-es/index.js | 3 + .../dist-es/node-http-handler.js | 230 + .../dist-es/node-http2-connection-manager.js | 87 + .../dist-es/node-http2-connection-pool.js | 32 + .../dist-es/node-http2-handler.js | 169 + .../dist-es/readable.mock.js | 21 + .../node-http-handler/dist-es/server.mock.js | 88 + .../dist-es/set-connection-timeout.js | 36 + .../dist-es/set-request-timeout.js | 21 + .../dist-es/set-socket-keep-alive.js | 22 + .../dist-es/set-socket-timeout.js | 23 + .../dist-es/stream-collector/collector.js | 8 + .../dist-es/stream-collector/index.js | 41 + .../dist-es/stream-collector/readable.mock.js | 21 + .../node-http-handler/dist-es/timing.js | 4 + .../dist-es/write-request-body.js | 63 + .../dist-types/build-abort-error.d.ts | 10 + .../dist-types/constants.d.ts | 5 + .../dist-types/get-transformed-headers.d.ts | 4 + .../node-http-handler/dist-types/index.d.ts | 3 + .../dist-types/node-http-handler.d.ts | 46 + .../node-http2-connection-manager.d.ts | 24 + .../node-http2-connection-pool.d.ts | 12 + .../dist-types/node-http2-handler.d.ts | 63 + .../dist-types/readable.mock.d.ts | 13 + .../dist-types/server.mock.d.ts | 12 + .../dist-types/set-connection-timeout.d.ts | 2 + .../dist-types/set-request-timeout.d.ts | 6 + .../dist-types/set-socket-keep-alive.d.ts | 6 + .../dist-types/set-socket-timeout.d.ts | 2 + .../stream-collector/collector.d.ts | 5 + .../dist-types/stream-collector/index.d.ts | 6 + .../stream-collector/readable.mock.d.ts | 13 + .../node-http-handler/dist-types/timing.d.ts | 8 + .../dist-types/ts3.4/build-abort-error.d.ts | 10 + .../dist-types/ts3.4/constants.d.ts | 5 + .../ts3.4/get-transformed-headers.d.ts | 4 + .../dist-types/ts3.4/index.d.ts | 3 + .../dist-types/ts3.4/node-http-handler.d.ts | 46 + .../ts3.4/node-http2-connection-manager.d.ts | 24 + .../ts3.4/node-http2-connection-pool.d.ts | 12 + .../dist-types/ts3.4/node-http2-handler.d.ts | 63 + .../dist-types/ts3.4/readable.mock.d.ts | 13 + .../dist-types/ts3.4/server.mock.d.ts | 12 + .../ts3.4/set-connection-timeout.d.ts | 2 + .../dist-types/ts3.4/set-request-timeout.d.ts | 6 + .../ts3.4/set-socket-keep-alive.d.ts | 6 + .../dist-types/ts3.4/set-socket-timeout.d.ts | 2 + .../ts3.4/stream-collector/collector.d.ts | 5 + .../ts3.4/stream-collector/index.d.ts | 6 + .../ts3.4/stream-collector/readable.mock.d.ts | 13 + .../dist-types/ts3.4/timing.d.ts | 8 + .../dist-types/ts3.4/write-request-body.d.ts | 12 + .../dist-types/write-request-body.d.ts | 12 + .../@smithy/node-http-handler/package.json | 68 + .../@smithy/property-provider/LICENSE | 201 + .../@smithy/property-provider/README.md | 10 + .../property-provider/dist-cjs/index.js | 117 + .../dist-es/CredentialsProviderError.js | 8 + .../dist-es/ProviderError.js | 23 + .../dist-es/TokenProviderError.js | 8 + .../property-provider/dist-es/chain.js | 21 + .../property-provider/dist-es/fromStatic.js | 1 + .../property-provider/dist-es/index.js | 6 + .../property-provider/dist-es/memoize.js | 45 + .../dist-types/CredentialsProviderError.d.ts | 31 + .../dist-types/ProviderError.d.ts | 39 + .../dist-types/TokenProviderError.d.ts | 31 + .../property-provider/dist-types/chain.d.ts | 13 + .../dist-types/fromStatic.d.ts | 5 + .../property-provider/dist-types/index.d.ts | 24 + .../property-provider/dist-types/memoize.d.ts | 40 + .../ts3.4/CredentialsProviderError.d.ts | 31 + .../dist-types/ts3.4/ProviderError.d.ts | 39 + .../dist-types/ts3.4/TokenProviderError.d.ts | 31 + .../dist-types/ts3.4/chain.d.ts | 13 + .../dist-types/ts3.4/fromStatic.d.ts | 5 + .../dist-types/ts3.4/index.d.ts | 24 + .../dist-types/ts3.4/memoize.d.ts | 40 + .../@smithy/property-provider/package.json | 61 + node_modules/@smithy/protocol-http/LICENSE | 201 + node_modules/@smithy/protocol-http/README.md | 4 + .../@smithy/protocol-http/dist-cjs/index.js | 169 + .../@smithy/protocol-http/dist-es/Field.js | 26 + .../@smithy/protocol-http/dist-es/Fields.js | 20 + .../extensions/httpExtensionConfiguration.js | 21 + .../protocol-http/dist-es/extensions/index.js | 1 + .../protocol-http/dist-es/httpHandler.js | 1 + .../protocol-http/dist-es/httpRequest.js | 64 + .../protocol-http/dist-es/httpResponse.js | 18 + .../@smithy/protocol-http/dist-es/index.js | 8 + .../protocol-http/dist-es/isValidHostname.js | 4 + .../@smithy/protocol-http/dist-es/types.js | 1 + .../protocol-http/dist-types/Field.d.ts | 50 + .../protocol-http/dist-types/Fields.d.ts | 44 + .../httpExtensionConfiguration.d.ts | 33 + .../dist-types/extensions/index.d.ts | 1 + .../protocol-http/dist-types/httpHandler.d.ts | 35 + .../protocol-http/dist-types/httpRequest.d.ts | 56 + .../dist-types/httpResponse.d.ts | 29 + .../protocol-http/dist-types/index.d.ts | 8 + .../dist-types/isValidHostname.d.ts | 1 + .../protocol-http/dist-types/ts3.4/Field.d.ts | 50 + .../dist-types/ts3.4/Fields.d.ts | 44 + .../httpExtensionConfiguration.d.ts | 33 + .../dist-types/ts3.4/extensions/index.d.ts | 1 + .../dist-types/ts3.4/httpHandler.d.ts | 35 + .../dist-types/ts3.4/httpRequest.d.ts | 56 + .../dist-types/ts3.4/httpResponse.d.ts | 29 + .../protocol-http/dist-types/ts3.4/index.d.ts | 8 + .../dist-types/ts3.4/isValidHostname.d.ts | 1 + .../protocol-http/dist-types/ts3.4/types.d.ts | 21 + .../protocol-http/dist-types/types.d.ts | 21 + .../@smithy/protocol-http/package.json | 62 + .../@smithy/querystring-builder/LICENSE | 201 + .../@smithy/querystring-builder/README.md | 10 + .../querystring-builder/dist-cjs/index.js | 26 + .../querystring-builder/dist-es/index.js | 21 + .../querystring-builder/dist-types/index.d.ts | 5 + .../dist-types/ts3.4/index.d.ts | 5 + .../@smithy/querystring-builder/package.json | 61 + .../@smithy/querystring-parser/LICENSE | 201 + .../@smithy/querystring-parser/README.md | 10 + .../querystring-parser/dist-cjs/index.js | 27 + .../querystring-parser/dist-es/index.js | 23 + .../querystring-parser/dist-types/index.d.ts | 5 + .../dist-types/ts3.4/index.d.ts | 5 + .../@smithy/querystring-parser/package.json | 61 + .../service-error-classification/LICENSE | 201 + .../service-error-classification/README.md | 4 + .../dist-cjs/index.js | 77 + .../dist-es/constants.js | 28 + .../dist-es/index.js | 39 + .../dist-types/constants.d.ts | 30 + .../dist-types/index.d.ts | 24 + .../dist-types/ts3.4/constants.d.ts | 30 + .../dist-types/ts3.4/index.d.ts | 24 + .../service-error-classification/package.json | 60 + .../@smithy/shared-ini-file-loader/LICENSE | 201 + .../@smithy/shared-ini-file-loader/README.md | 105 + .../dist-cjs/getHomeDir.js | 26 + .../dist-cjs/getSSOTokenFilepath.js | 12 + .../dist-cjs/getSSOTokenFromFile.js | 15 + .../shared-ini-file-loader/dist-cjs/index.js | 196 + .../dist-cjs/readFile.js | 16 + .../dist-es/constants.js | 1 + .../dist-es/externalDataInterceptor.js | 16 + .../dist-es/getConfigData.js | 18 + .../dist-es/getConfigFilepath.js | 4 + .../dist-es/getCredentialsFilepath.js | 4 + .../dist-es/getHomeDir.js | 22 + .../dist-es/getProfileName.js | 3 + .../dist-es/getSSOTokenFilepath.js | 8 + .../dist-es/getSSOTokenFromFile.js | 11 + .../dist-es/getSsoSessionData.js | 5 + .../shared-ini-file-loader/dist-es/index.js | 10 + .../dist-es/loadSharedConfigFiles.js | 39 + .../dist-es/loadSsoSessionData.js | 9 + .../dist-es/mergeConfigFiles.js | 14 + .../dist-es/parseIni.js | 52 + .../dist-es/parseKnownFiles.js | 6 + .../dist-es/readFile.js | 12 + .../shared-ini-file-loader/dist-es/types.js | 1 + .../dist-types/constants.d.ts | 4 + .../dist-types/externalDataInterceptor.d.ts | 9 + .../dist-types/getConfigData.d.ts | 8 + .../dist-types/getConfigFilepath.d.ts | 2 + .../dist-types/getCredentialsFilepath.d.ts | 2 + .../dist-types/getHomeDir.d.ts | 6 + .../dist-types/getProfileName.d.ts | 15 + .../dist-types/getSSOTokenFilepath.d.ts | 5 + .../dist-types/getSSOTokenFromFile.d.ts | 52 + .../dist-types/getSsoSessionData.d.ts | 6 + .../dist-types/index.d.ts | 10 + .../dist-types/loadSharedConfigFiles.d.ts | 33 + .../dist-types/loadSsoSessionData.d.ts | 17 + .../dist-types/mergeConfigFiles.d.ts | 7 + .../dist-types/parseIni.d.ts | 2 + .../dist-types/parseKnownFiles.d.ts | 18 + .../dist-types/readFile.d.ts | 21 + .../dist-types/ts3.4/constants.d.ts | 4 + .../ts3.4/externalDataInterceptor.d.ts | 9 + .../dist-types/ts3.4/getConfigData.d.ts | 8 + .../dist-types/ts3.4/getConfigFilepath.d.ts | 2 + .../ts3.4/getCredentialsFilepath.d.ts | 2 + .../dist-types/ts3.4/getHomeDir.d.ts | 6 + .../dist-types/ts3.4/getProfileName.d.ts | 15 + .../dist-types/ts3.4/getSSOTokenFilepath.d.ts | 5 + .../dist-types/ts3.4/getSSOTokenFromFile.d.ts | 52 + .../dist-types/ts3.4/getSsoSessionData.d.ts | 6 + .../dist-types/ts3.4/index.d.ts | 10 + .../ts3.4/loadSharedConfigFiles.d.ts | 33 + .../dist-types/ts3.4/loadSsoSessionData.d.ts | 17 + .../dist-types/ts3.4/mergeConfigFiles.d.ts | 7 + .../dist-types/ts3.4/parseIni.d.ts | 2 + .../dist-types/ts3.4/parseKnownFiles.d.ts | 18 + .../dist-types/ts3.4/readFile.d.ts | 21 + .../dist-types/ts3.4/types.d.ts | 16 + .../dist-types/types.d.ts | 16 + .../shared-ini-file-loader/package.json | 73 + node_modules/@smithy/signature-v4/LICENSE | 201 + node_modules/@smithy/signature-v4/README.md | 11 + .../@smithy/signature-v4/dist-cjs/index.js | 556 + .../signature-v4/dist-es/HeaderFormatter.js | 126 + .../signature-v4/dist-es/SignatureV4.js | 135 + .../signature-v4/dist-es/SignatureV4Base.js | 79 + .../@smithy/signature-v4/dist-es/constants.js | 43 + .../dist-es/credentialDerivation.js | 33 + .../dist-es/getCanonicalHeaders.js | 20 + .../signature-v4/dist-es/getCanonicalQuery.js | 29 + .../signature-v4/dist-es/getPayloadHash.js | 20 + .../signature-v4/dist-es/headerUtil.js | 26 + .../@smithy/signature-v4/dist-es/index.js | 11 + .../dist-es/moveHeadersToQuery.js | 17 + .../signature-v4/dist-es/prepareRequest.js | 11 + .../dist-es/signature-v4a-container.js | 3 + .../signature-v4/dist-es/suite.fixture.js | 399 + .../@smithy/signature-v4/dist-es/utilDate.js | 15 + .../dist-types/HeaderFormatter.d.ts | 24 + .../signature-v4/dist-types/SignatureV4.d.ts | 21 + .../dist-types/SignatureV4Base.d.ts | 69 + .../signature-v4/dist-types/constants.d.ts | 43 + .../dist-types/credentialDerivation.d.ts | 30 + .../dist-types/getCanonicalHeaders.d.ts | 5 + .../dist-types/getCanonicalQuery.d.ts | 5 + .../dist-types/getPayloadHash.d.ts | 5 + .../signature-v4/dist-types/headerUtil.d.ts | 4 + .../signature-v4/dist-types/index.d.ts | 11 + .../dist-types/moveHeadersToQuery.d.ts | 10 + .../dist-types/prepareRequest.d.ts | 5 + .../dist-types/signature-v4a-container.d.ts | 24 + .../dist-types/suite.fixture.d.ts | 14 + .../dist-types/ts3.4/HeaderFormatter.d.ts | 24 + .../dist-types/ts3.4/SignatureV4.d.ts | 21 + .../dist-types/ts3.4/SignatureV4Base.d.ts | 69 + .../dist-types/ts3.4/constants.d.ts | 43 + .../ts3.4/credentialDerivation.d.ts | 30 + .../dist-types/ts3.4/getCanonicalHeaders.d.ts | 5 + .../dist-types/ts3.4/getCanonicalQuery.d.ts | 5 + .../dist-types/ts3.4/getPayloadHash.d.ts | 5 + .../dist-types/ts3.4/headerUtil.d.ts | 4 + .../signature-v4/dist-types/ts3.4/index.d.ts | 11 + .../dist-types/ts3.4/moveHeadersToQuery.d.ts | 10 + .../dist-types/ts3.4/prepareRequest.d.ts | 5 + .../ts3.4/signature-v4a-container.d.ts | 24 + .../dist-types/ts3.4/suite.fixture.d.ts | 14 + .../dist-types/ts3.4/utilDate.d.ts | 2 + .../signature-v4/dist-types/utilDate.d.ts | 2 + .../@smithy/signature-v4/package.json | 70 + node_modules/@smithy/smithy-client/LICENSE | 201 + node_modules/@smithy/smithy-client/README.md | 17 + .../@smithy/smithy-client/dist-cjs/index.js | 635 + .../smithy-client/dist-es/NoOpLogger.js | 7 + .../@smithy/smithy-client/dist-es/client.js | 51 + .../dist-es/collect-stream-body.js | 1 + .../@smithy/smithy-client/dist-es/command.js | 124 + .../smithy-client/dist-es/constants.js | 1 + .../dist-es/create-aggregated-client.js | 47 + .../dist-es/default-error-handler.js | 22 + .../smithy-client/dist-es/defaults-mode.js | 26 + .../emitWarningIfUnsupportedVersion.js | 6 + .../smithy-client/dist-es/exceptions.js | 50 + .../dist-es/extended-encode-uri-component.js | 1 + .../dist-es/extensions/checksum.js | 49 + .../defaultExtensionConfiguration.js | 9 + .../smithy-client/dist-es/extensions/index.js | 1 + .../smithy-client/dist-es/extensions/retry.js | 15 + .../dist-es/get-array-if-single-item.js | 1 + .../dist-es/get-value-from-text-node.js | 12 + .../@smithy/smithy-client/dist-es/index.js | 20 + .../dist-es/is-serializable-header-value.js | 3 + .../smithy-client/dist-es/object-mapping.js | 92 + .../smithy-client/dist-es/resolve-path.js | 1 + .../smithy-client/dist-es/schemaLogFilter.js | 34 + .../smithy-client/dist-es/ser-utils.js | 14 + .../smithy-client/dist-es/serde-json.js | 19 + .../smithy-client/dist-types/NoOpLogger.d.ts | 11 + .../smithy-client/dist-types/client.d.ts | 87 + .../dist-types/collect-stream-body.d.ts | 5 + .../smithy-client/dist-types/command.d.ts | 119 + .../smithy-client/dist-types/constants.d.ts | 4 + .../dist-types/create-aggregated-client.d.ts | 18 + .../dist-types/default-error-handler.d.ts | 15 + .../dist-types/defaults-mode.d.ts | 28 + .../emitWarningIfUnsupportedVersion.d.ts | 8 + .../smithy-client/dist-types/exceptions.d.ts | 42 + .../extended-encode-uri-component.d.ts | 5 + .../dist-types/extensions/checksum.d.ts | 26 + .../defaultExtensionConfiguration.d.ts | 38 + .../dist-types/extensions/index.d.ts | 1 + .../dist-types/extensions/retry.d.ts | 18 + .../dist-types/get-array-if-single-item.d.ts | 7 + .../dist-types/get-value-from-text-node.d.ts | 7 + .../smithy-client/dist-types/index.d.ts | 21 + .../is-serializable-header-value.d.ts | 5 + .../dist-types/object-mapping.d.ts | 162 + .../dist-types/resolve-path.d.ts | 5 + .../dist-types/schemaLogFilter.d.ts | 9 + .../smithy-client/dist-types/ser-utils.d.ts | 15 + .../smithy-client/dist-types/serde-json.d.ts | 12 + .../dist-types/ts3.4/NoOpLogger.d.ts | 11 + .../dist-types/ts3.4/client.d.ts | 87 + .../dist-types/ts3.4/collect-stream-body.d.ts | 5 + .../dist-types/ts3.4/command.d.ts | 119 + .../dist-types/ts3.4/constants.d.ts | 4 + .../ts3.4/create-aggregated-client.d.ts | 18 + .../ts3.4/default-error-handler.d.ts | 15 + .../dist-types/ts3.4/defaults-mode.d.ts | 28 + .../emitWarningIfUnsupportedVersion.d.ts | 8 + .../dist-types/ts3.4/exceptions.d.ts | 42 + .../ts3.4/extended-encode-uri-component.d.ts | 5 + .../dist-types/ts3.4/extensions/checksum.d.ts | 26 + .../defaultExtensionConfiguration.d.ts | 38 + .../dist-types/ts3.4/extensions/index.d.ts | 1 + .../dist-types/ts3.4/extensions/retry.d.ts | 18 + .../ts3.4/get-array-if-single-item.d.ts | 7 + .../ts3.4/get-value-from-text-node.d.ts | 7 + .../smithy-client/dist-types/ts3.4/index.d.ts | 21 + .../ts3.4/is-serializable-header-value.d.ts | 5 + .../dist-types/ts3.4/object-mapping.d.ts | 178 + .../dist-types/ts3.4/resolve-path.d.ts | 5 + .../dist-types/ts3.4/schemaLogFilter.d.ts | 9 + .../dist-types/ts3.4/ser-utils.d.ts | 15 + .../dist-types/ts3.4/serde-json.d.ts | 12 + .../@smithy/smithy-client/package.json | 70 + node_modules/@smithy/types/LICENSE | 201 + node_modules/@smithy/types/README.md | 115 + node_modules/@smithy/types/dist-cjs/index.js | 91 + .../@smithy/types/dist-es/abort-handler.js | 1 + node_modules/@smithy/types/dist-es/abort.js | 1 + .../types/dist-es/auth/HttpApiKeyAuth.js | 5 + .../types/dist-es/auth/HttpAuthScheme.js | 1 + .../dist-es/auth/HttpAuthSchemeProvider.js | 1 + .../@smithy/types/dist-es/auth/HttpSigner.js | 1 + .../dist-es/auth/IdentityProviderConfig.js | 1 + .../@smithy/types/dist-es/auth/auth.js | 5 + .../@smithy/types/dist-es/auth/index.js | 6 + .../dist-es/blob/blob-payload-input-types.js | 1 + .../@smithy/types/dist-es/checksum.js | 1 + node_modules/@smithy/types/dist-es/client.js | 1 + node_modules/@smithy/types/dist-es/command.js | 1 + .../types/dist-es/connection/config.js | 1 + .../@smithy/types/dist-es/connection/index.js | 3 + .../types/dist-es/connection/manager.js | 1 + .../@smithy/types/dist-es/connection/pool.js | 1 + node_modules/@smithy/types/dist-es/crypto.js | 1 + .../transform/type-transform.js | 1 + node_modules/@smithy/types/dist-es/encode.js | 1 + .../@smithy/types/dist-es/endpoint.js | 5 + .../dist-es/endpoints/EndpointRuleObject.js | 1 + .../dist-es/endpoints/ErrorRuleObject.js | 1 + .../types/dist-es/endpoints/RuleSetObject.js | 1 + .../types/dist-es/endpoints/TreeRuleObject.js | 1 + .../@smithy/types/dist-es/endpoints/index.js | 5 + .../@smithy/types/dist-es/endpoints/shared.js | 1 + .../@smithy/types/dist-es/eventStream.js | 1 + .../types/dist-es/extensions/checksum.js | 38 + .../extensions/defaultClientConfiguration.js | 7 + .../defaultExtensionConfiguration.js | 1 + .../@smithy/types/dist-es/extensions/index.js | 3 + .../@smithy/types/dist-es/extensions/retry.js | 1 + .../browser-externals-check.js | 1 + .../@smithy/types/dist-es/feature-ids.js | 1 + node_modules/@smithy/types/dist-es/http.js | 5 + .../dist-es/http/httpHandlerInitialization.js | 1 + .../types/dist-es/identity/apiKeyIdentity.js | 1 + .../dist-es/identity/awsCredentialIdentity.js | 1 + .../types/dist-es/identity/identity.js | 1 + .../@smithy/types/dist-es/identity/index.js | 4 + .../types/dist-es/identity/tokenIdentity.js | 1 + node_modules/@smithy/types/dist-es/index.js | 43 + node_modules/@smithy/types/dist-es/logger.js | 1 + .../@smithy/types/dist-es/middleware.js | 1 + .../@smithy/types/dist-es/pagination.js | 1 + node_modules/@smithy/types/dist-es/profile.js | 6 + .../@smithy/types/dist-es/response.js | 1 + node_modules/@smithy/types/dist-es/retry.js | 1 + .../types/dist-es/schema/schema-deprecated.js | 1 + .../@smithy/types/dist-es/schema/schema.js | 1 + .../@smithy/types/dist-es/schema/sentinels.js | 1 + .../types/dist-es/schema/static-schemas.js | 1 + .../@smithy/types/dist-es/schema/traits.js | 1 + node_modules/@smithy/types/dist-es/serde.js | 1 + node_modules/@smithy/types/dist-es/shapes.js | 1 + .../@smithy/types/dist-es/signature.js | 1 + node_modules/@smithy/types/dist-es/stream.js | 1 + .../streaming-blob-common-types.js | 1 + .../streaming-blob-payload-input-types.js | 1 + .../streaming-blob-payload-output-types.js | 1 + .../@smithy/types/dist-es/transfer.js | 6 + .../transform/client-method-transforms.js | 1 + .../client-payload-blob-type-narrow.js | 1 + .../@smithy/types/dist-es/transform/exact.js | 1 + .../types/dist-es/transform/mutable.js | 1 + .../types/dist-es/transform/no-undefined.js | 1 + .../types/dist-es/transform/type-transform.js | 1 + node_modules/@smithy/types/dist-es/uri.js | 1 + node_modules/@smithy/types/dist-es/util.js | 1 + node_modules/@smithy/types/dist-es/waiter.js | 1 + .../types/dist-types/abort-handler.d.ts | 7 + .../@smithy/types/dist-types/abort.d.ts | 50 + .../types/dist-types/auth/HttpApiKeyAuth.d.ts | 7 + .../types/dist-types/auth/HttpAuthScheme.d.ts | 49 + .../auth/HttpAuthSchemeProvider.d.ts | 20 + .../types/dist-types/auth/HttpSigner.d.ts | 41 + .../auth/IdentityProviderConfig.d.ts | 14 + .../@smithy/types/dist-types/auth/auth.d.ts | 57 + .../@smithy/types/dist-types/auth/index.d.ts | 6 + .../blob/blob-payload-input-types.d.ts | 40 + .../@smithy/types/dist-types/checksum.d.ts | 63 + .../@smithy/types/dist-types/client.d.ts | 57 + .../@smithy/types/dist-types/command.d.ts | 28 + .../types/dist-types/connection/config.d.ts | 10 + .../types/dist-types/connection/index.d.ts | 3 + .../types/dist-types/connection/manager.d.ts | 34 + .../types/dist-types/connection/pool.d.ts | 32 + .../@smithy/types/dist-types/crypto.d.ts | 60 + .../transform/type-transform.d.ts | 25 + .../@smithy/types/dist-types/encode.d.ts | 31 + .../@smithy/types/dist-types/endpoint.d.ts | 77 + .../endpoints/EndpointRuleObject.d.ts | 27 + .../dist-types/endpoints/ErrorRuleObject.d.ts | 10 + .../dist-types/endpoints/RuleSetObject.d.ts | 28 + .../dist-types/endpoints/TreeRuleObject.d.ts | 16 + .../types/dist-types/endpoints/index.d.ts | 5 + .../types/dist-types/endpoints/shared.d.ts | 55 + .../@smithy/types/dist-types/eventStream.d.ts | 137 + .../types/dist-types/extensions/checksum.d.ts | 58 + .../defaultClientConfiguration.d.ts | 33 + .../defaultExtensionConfiguration.d.ts | 9 + .../types/dist-types/extensions/index.d.ts | 4 + .../types/dist-types/extensions/retry.d.ts | 18 + .../browser-externals-check.d.ts | 35 + .../@smithy/types/dist-types/feature-ids.d.ts | 16 + .../@smithy/types/dist-types/http.d.ts | 113 + .../http/httpHandlerInitialization.d.ts | 128 + .../dist-types/identity/apiKeyIdentity.d.ts | 14 + .../identity/awsCredentialIdentity.d.ts | 31 + .../types/dist-types/identity/identity.d.ts | 15 + .../types/dist-types/identity/index.d.ts | 4 + .../dist-types/identity/tokenIdentity.d.ts | 14 + .../@smithy/types/dist-types/index.d.ts | 43 + .../@smithy/types/dist-types/logger.d.ts | 13 + .../@smithy/types/dist-types/middleware.d.ts | 534 + .../@smithy/types/dist-types/pagination.d.ts | 33 + .../@smithy/types/dist-types/profile.d.ts | 30 + .../@smithy/types/dist-types/response.d.ts | 40 + .../@smithy/types/dist-types/retry.d.ts | 133 + .../dist-types/schema/schema-deprecated.d.ts | 143 + .../types/dist-types/schema/schema.d.ts | 236 + .../types/dist-types/schema/sentinels.d.ts | 65 + .../dist-types/schema/static-schemas.d.ts | 99 + .../types/dist-types/schema/traits.d.ts | 46 + .../@smithy/types/dist-types/serde.d.ts | 114 + .../@smithy/types/dist-types/shapes.d.ts | 82 + .../@smithy/types/dist-types/signature.d.ts | 155 + .../@smithy/types/dist-types/stream.d.ts | 22 + .../streaming-blob-common-types.d.ts | 32 + .../streaming-blob-payload-input-types.d.ts | 60 + .../streaming-blob-payload-output-types.d.ts | 51 + .../@smithy/types/dist-types/transfer.d.ts | 41 + .../transform/client-method-transforms.d.ts | 26 + .../client-payload-blob-type-narrow.d.ts | 77 + .../types/dist-types/transform/exact.d.ts | 6 + .../types/dist-types/transform/mutable.d.ts | 6 + .../dist-types/transform/no-undefined.d.ts | 68 + .../dist-types/transform/type-transform.d.ts | 34 + .../types/dist-types/ts3.4/abort-handler.d.ts | 7 + .../@smithy/types/dist-types/ts3.4/abort.d.ts | 50 + .../dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts | 7 + .../dist-types/ts3.4/auth/HttpAuthScheme.d.ts | 49 + .../ts3.4/auth/HttpAuthSchemeProvider.d.ts | 20 + .../dist-types/ts3.4/auth/HttpSigner.d.ts | 41 + .../ts3.4/auth/IdentityProviderConfig.d.ts | 14 + .../types/dist-types/ts3.4/auth/auth.d.ts | 57 + .../types/dist-types/ts3.4/auth/index.d.ts | 6 + .../ts3.4/blob/blob-payload-input-types.d.ts | 40 + .../types/dist-types/ts3.4/checksum.d.ts | 63 + .../types/dist-types/ts3.4/client.d.ts | 57 + .../types/dist-types/ts3.4/command.d.ts | 28 + .../dist-types/ts3.4/connection/config.d.ts | 10 + .../dist-types/ts3.4/connection/index.d.ts | 3 + .../dist-types/ts3.4/connection/manager.d.ts | 34 + .../dist-types/ts3.4/connection/pool.d.ts | 32 + .../types/dist-types/ts3.4/crypto.d.ts | 60 + .../transform/type-transform.d.ts | 41 + .../types/dist-types/ts3.4/encode.d.ts | 31 + .../types/dist-types/ts3.4/endpoint.d.ts | 77 + .../ts3.4/endpoints/EndpointRuleObject.d.ts | 27 + .../ts3.4/endpoints/ErrorRuleObject.d.ts | 10 + .../ts3.4/endpoints/RuleSetObject.d.ts | 28 + .../ts3.4/endpoints/TreeRuleObject.d.ts | 16 + .../dist-types/ts3.4/endpoints/index.d.ts | 5 + .../dist-types/ts3.4/endpoints/shared.d.ts | 55 + .../types/dist-types/ts3.4/eventStream.d.ts | 137 + .../dist-types/ts3.4/extensions/checksum.d.ts | 58 + .../defaultClientConfiguration.d.ts | 33 + .../defaultExtensionConfiguration.d.ts | 9 + .../dist-types/ts3.4/extensions/index.d.ts | 4 + .../dist-types/ts3.4/extensions/retry.d.ts | 18 + .../browser-externals-check.d.ts | 35 + .../types/dist-types/ts3.4/feature-ids.d.ts | 16 + .../@smithy/types/dist-types/ts3.4/http.d.ts | 113 + .../ts3.4/http/httpHandlerInitialization.d.ts | 128 + .../ts3.4/identity/apiKeyIdentity.d.ts | 14 + .../ts3.4/identity/awsCredentialIdentity.d.ts | 31 + .../dist-types/ts3.4/identity/identity.d.ts | 15 + .../dist-types/ts3.4/identity/index.d.ts | 4 + .../ts3.4/identity/tokenIdentity.d.ts | 14 + .../@smithy/types/dist-types/ts3.4/index.d.ts | 43 + .../types/dist-types/ts3.4/logger.d.ts | 13 + .../types/dist-types/ts3.4/middleware.d.ts | 534 + .../types/dist-types/ts3.4/pagination.d.ts | 33 + .../types/dist-types/ts3.4/profile.d.ts | 30 + .../types/dist-types/ts3.4/response.d.ts | 40 + .../@smithy/types/dist-types/ts3.4/retry.d.ts | 133 + .../ts3.4/schema/schema-deprecated.d.ts | 149 + .../types/dist-types/ts3.4/schema/schema.d.ts | 251 + .../dist-types/ts3.4/schema/sentinels.d.ts | 65 + .../ts3.4/schema/static-schemas.d.ts | 118 + .../types/dist-types/ts3.4/schema/traits.d.ts | 46 + .../@smithy/types/dist-types/ts3.4/serde.d.ts | 114 + .../types/dist-types/ts3.4/shapes.d.ts | 82 + .../types/dist-types/ts3.4/signature.d.ts | 155 + .../types/dist-types/ts3.4/stream.d.ts | 22 + .../streaming-blob-common-types.d.ts | 32 + .../streaming-blob-payload-input-types.d.ts | 60 + .../streaming-blob-payload-output-types.d.ts | 51 + .../types/dist-types/ts3.4/transfer.d.ts | 41 + .../transform/client-method-transforms.d.ts | 26 + .../client-payload-blob-type-narrow.d.ts | 81 + .../dist-types/ts3.4/transform/exact.d.ts | 14 + .../dist-types/ts3.4/transform/mutable.d.ts | 6 + .../ts3.4/transform/no-undefined.d.ts | 88 + .../ts3.4/transform/type-transform.d.ts | 41 + .../@smithy/types/dist-types/ts3.4/uri.d.ts | 17 + .../@smithy/types/dist-types/ts3.4/util.d.ts | 192 + .../types/dist-types/ts3.4/waiter.d.ts | 35 + .../@smithy/types/dist-types/uri.d.ts | 17 + .../@smithy/types/dist-types/util.d.ts | 176 + .../@smithy/types/dist-types/waiter.d.ts | 35 + node_modules/@smithy/types/package.json | 61 + node_modules/@smithy/url-parser/LICENSE | 201 + node_modules/@smithy/url-parser/README.md | 10 + .../@smithy/url-parser/dist-cjs/index.js | 23 + .../@smithy/url-parser/dist-es/index.js | 18 + .../@smithy/url-parser/dist-types/index.d.ts | 5 + .../url-parser/dist-types/ts3.4/index.d.ts | 5 + node_modules/@smithy/url-parser/package.json | 62 + node_modules/@smithy/util-base64/LICENSE | 201 + node_modules/@smithy/util-base64/README.md | 4 + .../util-base64/dist-cjs/constants.browser.js | 12 + .../dist-cjs/fromBase64.browser.js | 40 + .../util-base64/dist-cjs/fromBase64.js | 16 + .../@smithy/util-base64/dist-cjs/index.js | 27 + .../util-base64/dist-cjs/toBase64.browser.js | 38 + .../@smithy/util-base64/dist-cjs/toBase64.js | 19 + .../util-base64/dist-es/constants.browser.js | 9 + .../util-base64/dist-es/fromBase64.browser.js | 36 + .../@smithy/util-base64/dist-es/fromBase64.js | 12 + .../@smithy/util-base64/dist-es/index.js | 2 + .../util-base64/dist-es/toBase64.browser.js | 35 + .../@smithy/util-base64/dist-es/toBase64.js | 15 + .../dist-types/constants.browser.d.ts | 5 + .../dist-types/fromBase64.browser.d.ts | 8 + .../util-base64/dist-types/fromBase64.d.ts | 7 + .../@smithy/util-base64/dist-types/index.d.ts | 2 + .../dist-types/toBase64.browser.d.ts | 9 + .../util-base64/dist-types/toBase64.d.ts | 8 + .../dist-types/ts3.4/constants.browser.d.ts | 5 + .../dist-types/ts3.4/fromBase64.browser.d.ts | 8 + .../dist-types/ts3.4/fromBase64.d.ts | 7 + .../util-base64/dist-types/ts3.4/index.d.ts | 2 + .../dist-types/ts3.4/toBase64.browser.d.ts | 9 + .../dist-types/ts3.4/toBase64.d.ts | 8 + node_modules/@smithy/util-base64/package.json | 74 + .../@smithy/util-body-length-browser/LICENSE | 201 + .../util-body-length-browser/README.md | 12 + .../dist-cjs/index.js | 30 + .../dist-es/calculateBodyLength.js | 26 + .../util-body-length-browser/dist-es/index.js | 1 + .../dist-types/calculateBodyLength.d.ts | 4 + .../dist-types/index.d.ts | 4 + .../dist-types/ts3.4/calculateBodyLength.d.ts | 4 + .../dist-types/ts3.4/index.d.ts | 4 + .../util-body-length-browser/package.json | 61 + .../@smithy/util-body-length-node/LICENSE | 201 + .../@smithy/util-body-length-node/README.md | 12 + .../util-body-length-node/dist-cjs/index.js | 32 + .../dist-es/calculateBodyLength.js | 27 + .../util-body-length-node/dist-es/index.js | 1 + .../dist-types/calculateBodyLength.d.ts | 4 + .../dist-types/index.d.ts | 4 + .../dist-types/ts3.4/calculateBodyLength.d.ts | 4 + .../dist-types/ts3.4/index.d.ts | 4 + .../util-body-length-node/package.json | 62 + node_modules/@smithy/util-buffer-from/LICENSE | 201 + .../@smithy/util-buffer-from/README.md | 10 + .../util-buffer-from/dist-cjs/index.js | 20 + .../@smithy/util-buffer-from/dist-es/index.js | 14 + .../util-buffer-from/dist-types/index.d.ts | 13 + .../dist-types/ts3.4/index.d.ts | 13 + .../@smithy/util-buffer-from/package.json | 62 + .../@smithy/util-config-provider/LICENSE | 201 + .../@smithy/util-config-provider/README.md | 4 + .../util-config-provider/dist-cjs/index.js | 30 + .../dist-es/booleanSelector.js | 9 + .../util-config-provider/dist-es/index.js | 3 + .../dist-es/numberSelector.js | 9 + .../util-config-provider/dist-es/types.js | 5 + .../dist-types/booleanSelector.d.ts | 10 + .../dist-types/index.d.ts | 3 + .../dist-types/numberSelector.d.ts | 9 + .../dist-types/ts3.4/booleanSelector.d.ts | 10 + .../dist-types/ts3.4/index.d.ts | 3 + .../dist-types/ts3.4/numberSelector.d.ts | 9 + .../dist-types/ts3.4/types.d.ts | 4 + .../dist-types/types.d.ts | 4 + .../@smithy/util-config-provider/package.json | 63 + .../util-defaults-mode-browser/LICENSE | 201 + .../util-defaults-mode-browser/README.md | 17 + .../dist-cjs/constants.js | 4 + .../dist-cjs/index.js | 16 + .../dist-cjs/resolveDefaultsModeConfig.js | 34 + .../resolveDefaultsModeConfig.native.js | 23 + .../dist-es/constants.js | 1 + .../dist-es/index.js | 1 + .../dist-es/resolveDefaultsModeConfig.js | 30 + .../resolveDefaultsModeConfig.native.js | 19 + .../dist-types/constants.d.ts | 12 + .../dist-types/index.d.ts | 4 + .../dist-types/resolveDefaultsModeConfig.d.ts | 17 + .../resolveDefaultsModeConfig.native.d.ts | 16 + .../dist-types/ts3.4/constants.d.ts | 12 + .../dist-types/ts3.4/index.d.ts | 4 + .../ts3.4/resolveDefaultsModeConfig.d.ts | 17 + .../resolveDefaultsModeConfig.native.d.ts | 16 + .../util-defaults-mode-browser/package.json | 66 + .../@smithy/util-defaults-mode-node/LICENSE | 201 + .../@smithy/util-defaults-mode-node/README.md | 17 + .../util-defaults-mode-node/dist-cjs/index.js | 74 + .../dist-es/constants.js | 6 + .../dist-es/defaultsModeConfig.js | 11 + .../util-defaults-mode-node/dist-es/index.js | 1 + .../dist-es/resolveDefaultsModeConfig.js | 52 + .../dist-types/constants.d.ts | 24 + .../dist-types/defaultsModeConfig.d.ts | 6 + .../dist-types/index.d.ts | 4 + .../dist-types/resolveDefaultsModeConfig.d.ts | 17 + .../dist-types/ts3.4/constants.d.ts | 24 + .../dist-types/ts3.4/defaultsModeConfig.d.ts | 6 + .../dist-types/ts3.4/index.d.ts | 4 + .../ts3.4/resolveDefaultsModeConfig.d.ts | 17 + .../util-defaults-mode-node/package.json | 67 + node_modules/@smithy/util-endpoints/LICENSE | 201 + node_modules/@smithy/util-endpoints/README.md | 10 + .../@smithy/util-endpoints/dist-cjs/index.js | 472 + .../dist-es/cache/EndpointCache.js | 50 + .../util-endpoints/dist-es/debug/debugId.js | 1 + .../util-endpoints/dist-es/debug/index.js | 2 + .../dist-es/debug/toDebugString.js | 12 + .../dist-es/getEndpointUrlConfig.js | 21 + .../@smithy/util-endpoints/dist-es/index.js | 6 + .../dist-es/lib/booleanEquals.js | 1 + .../util-endpoints/dist-es/lib/getAttr.js | 11 + .../dist-es/lib/getAttrPathList.js | 25 + .../util-endpoints/dist-es/lib/index.js | 9 + .../util-endpoints/dist-es/lib/isIpAddress.js | 2 + .../util-endpoints/dist-es/lib/isSet.js | 1 + .../dist-es/lib/isValidHostLabel.js | 13 + .../@smithy/util-endpoints/dist-es/lib/not.js | 1 + .../util-endpoints/dist-es/lib/parseURL.js | 51 + .../dist-es/lib/stringEquals.js | 1 + .../util-endpoints/dist-es/lib/substring.js | 9 + .../util-endpoints/dist-es/lib/uriEncode.js | 1 + .../util-endpoints/dist-es/resolveEndpoint.js | 27 + .../dist-es/types/EndpointError.js | 6 + .../dist-es/types/EndpointFunctions.js | 1 + .../dist-es/types/EndpointRuleObject.js | 1 + .../dist-es/types/ErrorRuleObject.js | 1 + .../dist-es/types/RuleSetObject.js | 1 + .../dist-es/types/TreeRuleObject.js | 1 + .../util-endpoints/dist-es/types/index.js | 7 + .../util-endpoints/dist-es/types/shared.js | 1 + .../dist-es/utils/callFunction.js | 1 + .../dist-es/utils/customEndpointFunctions.js | 1 + .../dist-es/utils/endpointFunctions.js | 12 + .../dist-es/utils/evaluateCondition.js | 14 + .../dist-es/utils/evaluateConditions.js | 22 + .../dist-es/utils/evaluateEndpointRule.js | 27 + .../dist-es/utils/evaluateErrorRule.js | 14 + .../dist-es/utils/evaluateExpression.js | 29 + .../dist-es/utils/evaluateRules.js | 42 + .../dist-es/utils/evaluateTemplate.js | 36 + .../dist-es/utils/evaluateTreeRule.js | 1 + .../dist-es/utils/getEndpointHeaders.js | 12 + .../dist-es/utils/getEndpointProperties.js | 28 + .../dist-es/utils/getEndpointProperty.js | 1 + .../dist-es/utils/getEndpointUrl.js | 15 + .../dist-es/utils/getReferenceValue.js | 7 + .../util-endpoints/dist-es/utils/index.js | 2 + .../dist-types/cache/EndpointCache.d.ts | 34 + .../dist-types/debug/debugId.d.ts | 1 + .../dist-types/debug/index.d.ts | 2 + .../dist-types/debug/toDebugString.d.ts | 9 + .../dist-types/getEndpointUrlConfig.d.ts | 2 + .../util-endpoints/dist-types/index.d.ts | 6 + .../dist-types/lib/booleanEquals.d.ts | 5 + .../dist-types/lib/getAttr.d.ts | 7 + .../dist-types/lib/getAttrPathList.d.ts | 4 + .../util-endpoints/dist-types/lib/index.d.ts | 9 + .../dist-types/lib/isIpAddress.d.ts | 4 + .../util-endpoints/dist-types/lib/isSet.d.ts | 5 + .../dist-types/lib/isValidHostLabel.d.ts | 7 + .../util-endpoints/dist-types/lib/not.d.ts | 5 + .../dist-types/lib/parseURL.d.ts | 5 + .../dist-types/lib/stringEquals.d.ts | 5 + .../dist-types/lib/substring.d.ts | 7 + .../dist-types/lib/uriEncode.d.ts | 4 + .../dist-types/resolveEndpoint.d.ts | 6 + .../dist-types/ts3.4/cache/EndpointCache.d.ts | 34 + .../dist-types/ts3.4/debug/debugId.d.ts | 1 + .../dist-types/ts3.4/debug/index.d.ts | 2 + .../dist-types/ts3.4/debug/toDebugString.d.ts | 9 + .../ts3.4/getEndpointUrlConfig.d.ts | 2 + .../dist-types/ts3.4/index.d.ts | 6 + .../dist-types/ts3.4/lib/booleanEquals.d.ts | 5 + .../dist-types/ts3.4/lib/getAttr.d.ts | 7 + .../dist-types/ts3.4/lib/getAttrPathList.d.ts | 4 + .../dist-types/ts3.4/lib/index.d.ts | 9 + .../dist-types/ts3.4/lib/isIpAddress.d.ts | 4 + .../dist-types/ts3.4/lib/isSet.d.ts | 5 + .../ts3.4/lib/isValidHostLabel.d.ts | 7 + .../dist-types/ts3.4/lib/not.d.ts | 5 + .../dist-types/ts3.4/lib/parseURL.d.ts | 5 + .../dist-types/ts3.4/lib/stringEquals.d.ts | 5 + .../dist-types/ts3.4/lib/substring.d.ts | 7 + .../dist-types/ts3.4/lib/uriEncode.d.ts | 4 + .../dist-types/ts3.4/resolveEndpoint.d.ts | 6 + .../dist-types/ts3.4/types/EndpointError.d.ts | 3 + .../ts3.4/types/EndpointFunctions.d.ts | 2 + .../ts3.4/types/EndpointRuleObject.d.ts | 5 + .../ts3.4/types/ErrorRuleObject.d.ts | 2 + .../dist-types/ts3.4/types/RuleSetObject.d.ts | 4 + .../ts3.4/types/TreeRuleObject.d.ts | 3 + .../dist-types/ts3.4/types/index.d.ts | 7 + .../dist-types/ts3.4/types/shared.d.ts | 25 + .../dist-types/ts3.4/utils/callFunction.d.ts | 1 + .../ts3.4/utils/customEndpointFunctions.d.ts | 4 + .../ts3.4/utils/endpointFunctions.d.ts | 11 + .../ts3.4/utils/evaluateCondition.d.ts | 8 + .../ts3.4/utils/evaluateConditions.d.ts | 8 + .../ts3.4/utils/evaluateEndpointRule.d.ts | 3 + .../ts3.4/utils/evaluateErrorRule.d.ts | 2 + .../ts3.4/utils/evaluateExpression.d.ts | 7 + .../dist-types/ts3.4/utils/evaluateRules.d.ts | 8 + .../ts3.4/utils/evaluateTemplate.d.ts | 2 + .../ts3.4/utils/evaluateTreeRule.d.ts | 1 + .../ts3.4/utils/getEndpointHeaders.d.ts | 2 + .../ts3.4/utils/getEndpointProperties.d.ts | 8 + .../ts3.4/utils/getEndpointProperty.d.ts | 1 + .../ts3.4/utils/getEndpointUrl.d.ts | 2 + .../ts3.4/utils/getReferenceValue.d.ts | 2 + .../dist-types/ts3.4/utils/index.d.ts | 2 + .../dist-types/types/EndpointError.d.ts | 3 + .../dist-types/types/EndpointFunctions.d.ts | 2 + .../dist-types/types/EndpointRuleObject.d.ts | 5 + .../dist-types/types/ErrorRuleObject.d.ts | 2 + .../dist-types/types/RuleSetObject.d.ts | 4 + .../dist-types/types/TreeRuleObject.d.ts | 3 + .../dist-types/types/index.d.ts | 7 + .../dist-types/types/shared.d.ts | 25 + .../dist-types/utils/callFunction.d.ts | 1 + .../utils/customEndpointFunctions.d.ts | 4 + .../dist-types/utils/endpointFunctions.d.ts | 11 + .../dist-types/utils/evaluateCondition.d.ts | 8 + .../dist-types/utils/evaluateConditions.d.ts | 8 + .../utils/evaluateEndpointRule.d.ts | 3 + .../dist-types/utils/evaluateErrorRule.d.ts | 2 + .../dist-types/utils/evaluateExpression.d.ts | 7 + .../dist-types/utils/evaluateRules.d.ts | 8 + .../dist-types/utils/evaluateTemplate.d.ts | 2 + .../dist-types/utils/evaluateTreeRule.d.ts | 1 + .../dist-types/utils/getEndpointHeaders.d.ts | 2 + .../utils/getEndpointProperties.d.ts | 8 + .../dist-types/utils/getEndpointProperty.d.ts | 1 + .../dist-types/utils/getEndpointUrl.d.ts | 2 + .../dist-types/utils/getReferenceValue.d.ts | 2 + .../dist-types/utils/index.d.ts | 2 + .../@smithy/util-endpoints/package.json | 69 + .../@smithy/util-hex-encoding/LICENSE | 201 + .../@smithy/util-hex-encoding/README.md | 4 + .../util-hex-encoding/dist-cjs/index.js | 38 + .../util-hex-encoding/dist-es/index.js | 33 + .../util-hex-encoding/dist-types/index.d.ts | 12 + .../dist-types/ts3.4/index.d.ts | 12 + .../@smithy/util-hex-encoding/package.json | 61 + node_modules/@smithy/util-middleware/LICENSE | 201 + .../@smithy/util-middleware/README.md | 12 + .../@smithy/util-middleware/dist-cjs/index.js | 15 + .../dist-es/getSmithyContext.js | 2 + .../@smithy/util-middleware/dist-es/index.js | 2 + .../dist-es/normalizeProvider.js | 6 + .../dist-types/getSmithyContext.d.ts | 5 + .../util-middleware/dist-types/index.d.ts | 8 + .../dist-types/normalizeProvider.d.ts | 7 + .../dist-types/ts3.4/getSmithyContext.d.ts | 5 + .../dist-types/ts3.4/index.d.ts | 8 + .../dist-types/ts3.4/normalizeProvider.d.ts | 7 + .../@smithy/util-middleware/package.json | 67 + node_modules/@smithy/util-retry/LICENSE | 201 + node_modules/@smithy/util-retry/README.md | 78 + .../@smithy/util-retry/dist-cjs/index.js | 280 + .../dist-es/AdaptiveRetryStrategy.js | 27 + .../dist-es/ConfiguredRetryStrategy.js | 19 + .../util-retry/dist-es/DefaultRateLimiter.js | 111 + .../dist-es/StandardRetryStrategy.js | 67 + .../@smithy/util-retry/dist-es/config.js | 7 + .../@smithy/util-retry/dist-es/constants.js | 9 + .../dist-es/defaultRetryBackoffStrategy.js | 14 + .../util-retry/dist-es/defaultRetryToken.js | 11 + .../@smithy/util-retry/dist-es/index.js | 7 + .../@smithy/util-retry/dist-es/types.js | 1 + .../dist-types/AdaptiveRetryStrategy.d.ts | 33 + .../dist-types/ConfiguredRetryStrategy.d.ts | 32 + .../dist-types/DefaultRateLimiter.d.ts | 119 + .../dist-types/StandardRetryStrategy.d.ts | 26 + .../@smithy/util-retry/dist-types/config.d.ts | 20 + .../util-retry/dist-types/constants.d.ts | 59 + .../defaultRetryBackoffStrategy.d.ts | 5 + .../dist-types/defaultRetryToken.d.ts | 9 + .../@smithy/util-retry/dist-types/index.d.ts | 7 + .../ts3.4/AdaptiveRetryStrategy.d.ts | 33 + .../ts3.4/ConfiguredRetryStrategy.d.ts | 32 + .../dist-types/ts3.4/DefaultRateLimiter.d.ts | 119 + .../ts3.4/StandardRetryStrategy.d.ts | 26 + .../util-retry/dist-types/ts3.4/config.d.ts | 20 + .../dist-types/ts3.4/constants.d.ts | 59 + .../ts3.4/defaultRetryBackoffStrategy.d.ts | 5 + .../dist-types/ts3.4/defaultRetryToken.d.ts | 9 + .../util-retry/dist-types/ts3.4/index.d.ts | 7 + .../util-retry/dist-types/ts3.4/types.d.ts | 19 + .../@smithy/util-retry/dist-types/types.d.ts | 19 + node_modules/@smithy/util-retry/package.json | 71 + node_modules/@smithy/util-stream/LICENSE | 201 + node_modules/@smithy/util-stream/README.md | 6 + .../dist-cjs/ByteArrayCollector.js | 36 + .../checksum/ChecksumStream.browser.js | 7 + .../dist-cjs/checksum/ChecksumStream.js | 64 + .../checksum/createChecksumStream.browser.js | 39 + .../dist-cjs/checksum/createChecksumStream.js | 12 + .../dist-cjs/createBufferedReadable.js | 60 + .../dist-cjs/createBufferedReadableStream.js | 103 + .../getAwsChunkedEncodingStream.browser.js | 31 + .../dist-cjs/getAwsChunkedEncodingStream.js | 41 + .../dist-cjs/headStream.browser.js | 34 + .../util-stream/dist-cjs/headStream.js | 42 + .../@smithy/util-stream/dist-cjs/index.js | 108 + .../dist-cjs/sdk-stream-mixin.browser.js | 68 + .../util-stream/dist-cjs/sdk-stream-mixin.js | 54 + .../dist-cjs/splitStream.browser.js | 10 + .../util-stream/dist-cjs/splitStream.js | 16 + .../util-stream/dist-cjs/stream-type-check.js | 10 + .../util-stream/dist-es/ByteArrayCollector.js | 32 + .../dist-es/blob/Uint8ArrayBlobAdapter.js | 23 + .../checksum/ChecksumStream.browser.js | 3 + .../dist-es/checksum/ChecksumStream.js | 60 + .../checksum/createChecksumStream.browser.js | 35 + .../dist-es/checksum/createChecksumStream.js | 9 + .../dist-es/createBufferedReadable.js | 57 + .../dist-es/createBufferedReadableStream.js | 95 + .../getAwsChunkedEncodingStream.browser.js | 27 + .../dist-es/getAwsChunkedEncodingStream.js | 38 + .../util-stream/dist-es/headStream.browser.js | 31 + .../@smithy/util-stream/dist-es/headStream.js | 38 + .../@smithy/util-stream/dist-es/index.js | 9 + .../dist-es/sdk-stream-mixin.browser.js | 64 + .../util-stream/dist-es/sdk-stream-mixin.js | 50 + .../dist-es/splitStream.browser.js | 7 + .../util-stream/dist-es/splitStream.js | 13 + .../util-stream/dist-es/stream-type-check.js | 5 + .../dist-types/ByteArrayCollector.d.ts | 13 + .../blob/Uint8ArrayBlobAdapter.d.ts | 22 + .../checksum/ChecksumStream.browser.d.ts | 37 + .../dist-types/checksum/ChecksumStream.d.ts | 61 + .../createChecksumStream.browser.d.ts | 14 + .../checksum/createChecksumStream.d.ts | 13 + .../dist-types/createBufferedReadable.d.ts | 15 + .../createBufferedReadableStream.d.ts | 50 + .../getAwsChunkedEncodingStream.browser.d.ts | 5 + .../getAwsChunkedEncodingStream.d.ts | 10 + .../dist-types/headStream.browser.d.ts | 7 + .../util-stream/dist-types/headStream.d.ts | 9 + .../@smithy/util-stream/dist-types/index.d.ts | 12 + .../dist-types/sdk-stream-mixin.browser.d.ts | 7 + .../dist-types/sdk-stream-mixin.d.ts | 8 + .../dist-types/splitStream.browser.d.ts | 5 + .../util-stream/dist-types/splitStream.d.ts | 11 + .../dist-types/stream-type-check.d.ts | 17 + .../dist-types/ts3.4/ByteArrayCollector.d.ts | 13 + .../ts3.4/blob/Uint8ArrayBlobAdapter.d.ts | 22 + .../checksum/ChecksumStream.browser.d.ts | 37 + .../ts3.4/checksum/ChecksumStream.d.ts | 61 + .../createChecksumStream.browser.d.ts | 14 + .../ts3.4/checksum/createChecksumStream.d.ts | 13 + .../ts3.4/createBufferedReadable.d.ts | 15 + .../ts3.4/createBufferedReadableStream.d.ts | 54 + .../getAwsChunkedEncodingStream.browser.d.ts | 5 + .../ts3.4/getAwsChunkedEncodingStream.d.ts | 10 + .../dist-types/ts3.4/headStream.browser.d.ts | 7 + .../dist-types/ts3.4/headStream.d.ts | 9 + .../util-stream/dist-types/ts3.4/index.d.ts | 12 + .../ts3.4/sdk-stream-mixin.browser.d.ts | 7 + .../dist-types/ts3.4/sdk-stream-mixin.d.ts | 8 + .../dist-types/ts3.4/splitStream.browser.d.ts | 8 + .../dist-types/ts3.4/splitStream.d.ts | 17 + .../dist-types/ts3.4/stream-type-check.d.ts | 17 + node_modules/@smithy/util-stream/package.json | 99 + node_modules/@smithy/util-uri-escape/LICENSE | 201 + .../@smithy/util-uri-escape/README.md | 10 + .../@smithy/util-uri-escape/dist-cjs/index.js | 9 + .../dist-es/escape-uri-path.js | 2 + .../util-uri-escape/dist-es/escape-uri.js | 2 + .../@smithy/util-uri-escape/dist-es/index.js | 2 + .../dist-types/escape-uri-path.d.ts | 4 + .../dist-types/escape-uri.d.ts | 4 + .../util-uri-escape/dist-types/index.d.ts | 8 + .../dist-types/ts3.4/escape-uri-path.d.ts | 4 + .../dist-types/ts3.4/escape-uri.d.ts | 4 + .../dist-types/ts3.4/index.d.ts | 8 + .../@smithy/util-uri-escape/package.json | 60 + node_modules/@smithy/util-utf8/LICENSE | 201 + node_modules/@smithy/util-utf8/README.md | 4 + .../@smithy/util-utf8/dist-cjs/index.js | 32 + .../util-utf8/dist-es/fromUtf8.browser.js | 1 + .../@smithy/util-utf8/dist-es/fromUtf8.js | 5 + .../@smithy/util-utf8/dist-es/index.js | 3 + .../@smithy/util-utf8/dist-es/toUint8Array.js | 10 + .../util-utf8/dist-es/toUtf8.browser.js | 9 + .../@smithy/util-utf8/dist-es/toUtf8.js | 10 + .../dist-types/fromUtf8.browser.d.ts | 1 + .../util-utf8/dist-types/fromUtf8.d.ts | 1 + .../@smithy/util-utf8/dist-types/index.d.ts | 3 + .../util-utf8/dist-types/toUint8Array.d.ts | 1 + .../util-utf8/dist-types/toUtf8.browser.d.ts | 7 + .../@smithy/util-utf8/dist-types/toUtf8.d.ts | 7 + .../dist-types/ts3.4/fromUtf8.browser.d.ts | 1 + .../util-utf8/dist-types/ts3.4/fromUtf8.d.ts | 1 + .../util-utf8/dist-types/ts3.4/index.d.ts | 3 + .../dist-types/ts3.4/toUint8Array.d.ts | 1 + .../dist-types/ts3.4/toUtf8.browser.d.ts | 7 + .../util-utf8/dist-types/ts3.4/toUtf8.d.ts | 7 + node_modules/@smithy/util-utf8/package.json | 67 + node_modules/@smithy/util-waiter/LICENSE | 201 + node_modules/@smithy/util-waiter/README.md | 17 + .../@smithy/util-waiter/dist-cjs/index.js | 179 + .../util-waiter/dist-es/circularReplacer.js | 12 + .../util-waiter/dist-es/createWaiter.js | 48 + .../@smithy/util-waiter/dist-es/index.js | 2 + .../@smithy/util-waiter/dist-es/poller.js | 60 + .../util-waiter/dist-es/utils/index.js | 2 + .../util-waiter/dist-es/utils/sleep.js | 3 + .../util-waiter/dist-es/utils/validate.js | 17 + .../@smithy/util-waiter/dist-es/waiter.js | 35 + .../dist-types/circularReplacer.d.ts | 6 + .../util-waiter/dist-types/createWaiter.d.ts | 11 + .../@smithy/util-waiter/dist-types/index.d.ts | 2 + .../util-waiter/dist-types/poller.d.ts | 10 + .../dist-types/ts3.4/circularReplacer.d.ts | 6 + .../dist-types/ts3.4/createWaiter.d.ts | 11 + .../util-waiter/dist-types/ts3.4/index.d.ts | 2 + .../util-waiter/dist-types/ts3.4/poller.d.ts | 10 + .../dist-types/ts3.4/utils/index.d.ts | 8 + .../dist-types/ts3.4/utils/sleep.d.ts | 4 + .../dist-types/ts3.4/utils/validate.d.ts | 8 + .../util-waiter/dist-types/ts3.4/waiter.d.ts | 49 + .../util-waiter/dist-types/utils/index.d.ts | 8 + .../util-waiter/dist-types/utils/sleep.d.ts | 4 + .../dist-types/utils/validate.d.ts | 8 + .../util-waiter/dist-types/waiter.d.ts | 49 + node_modules/@smithy/util-waiter/package.json | 63 + node_modules/@smithy/uuid/LICENSE | 201 + node_modules/@smithy/uuid/README.md | 10 + node_modules/@smithy/uuid/dist-cjs/index.js | 36 + .../@smithy/uuid/dist-cjs/randomUUID.js | 6 + .../uuid/dist-cjs/randomUUID.native.js | 4 + node_modules/@smithy/uuid/dist-es/index.js | 1 + .../uuid/dist-es/randomUUID.browser.js | 1 + .../@smithy/uuid/dist-es/randomUUID.js | 2 + .../@smithy/uuid/dist-es/randomUUID.native.js | 1 + node_modules/@smithy/uuid/dist-es/v4.js | 31 + .../@smithy/uuid/dist-types/index.d.ts | 1 + .../uuid/dist-types/randomUUID.browser.d.ts | 1 + .../@smithy/uuid/dist-types/randomUUID.d.ts | 2 + .../uuid/dist-types/randomUUID.native.d.ts | 1 + .../@smithy/uuid/dist-types/ts3.4/index.d.ts | 1 + .../dist-types/ts3.4/randomUUID.browser.d.ts | 1 + .../uuid/dist-types/ts3.4/randomUUID.d.ts | 2 + .../dist-types/ts3.4/randomUUID.native.d.ts | 1 + .../@smithy/uuid/dist-types/ts3.4/v4.d.ts | 19 + node_modules/@smithy/uuid/dist-types/v4.d.ts | 19 + node_modules/@smithy/uuid/package.json | 66 + node_modules/@so-ric/colorspace/CHANGELOG.md | 9 + node_modules/@so-ric/colorspace/LICENSE.md | 20 + node_modules/@so-ric/colorspace/README.md | 46 + .../@so-ric/colorspace/dist/index.cjs.js | 2071 ++ node_modules/@so-ric/colorspace/index.js | 29 + node_modules/@so-ric/colorspace/package.json | 45 + .../@so-ric/colorspace/rollup.config.js | 25 + node_modules/@types/triple-beam/LICENSE | 21 + node_modules/@types/triple-beam/README.md | 36 + node_modules/@types/triple-beam/index.d.ts | 17 + node_modules/@types/triple-beam/package.json | 25 + node_modules/accepts/HISTORY.md | 243 + node_modules/accepts/LICENSE | 23 + node_modules/accepts/README.md | 140 + node_modules/accepts/index.js | 238 + node_modules/accepts/package.json | 47 + node_modules/array-flatten/LICENSE | 21 + node_modules/array-flatten/README.md | 43 + node_modules/array-flatten/array-flatten.js | 64 + node_modules/array-flatten/package.json | 39 + node_modules/async/LICENSE | 19 + node_modules/async/README.md | 1425 ++ node_modules/async/component.json | 11 + node_modules/async/lib/async.js | 958 + node_modules/async/package.json | 36 + node_modules/body-parser/HISTORY.md | 680 + node_modules/body-parser/LICENSE | 23 + node_modules/body-parser/README.md | 476 + node_modules/body-parser/index.js | 156 + node_modules/body-parser/lib/read.js | 205 + node_modules/body-parser/lib/types/json.js | 247 + node_modules/body-parser/lib/types/raw.js | 101 + node_modules/body-parser/lib/types/text.js | 121 + .../body-parser/lib/types/urlencoded.js | 300 + node_modules/body-parser/package.json | 55 + node_modules/bowser/LICENSE | 39 + node_modules/bowser/README.md | 246 + node_modules/bowser/bundled.js | 1 + node_modules/bowser/es5.js | 1 + node_modules/bowser/index.d.ts | 353 + node_modules/bowser/package.json | 93 + node_modules/bowser/src/bowser.js | 93 + node_modules/bowser/src/constants.js | 177 + node_modules/bowser/src/parser-browsers.js | 1183 + node_modules/bowser/src/parser-engines.js | 120 + node_modules/bowser/src/parser-os.js | 211 + node_modules/bowser/src/parser-platforms.js | 566 + node_modules/bowser/src/parser.js | 592 + node_modules/bowser/src/utils.js | 327 + node_modules/bytes/History.md | 97 + node_modules/bytes/LICENSE | 23 + node_modules/bytes/Readme.md | 152 + node_modules/bytes/index.js | 170 + node_modules/bytes/package.json | 42 + .../call-bind-apply-helpers/.eslintrc | 17 + .../.github/FUNDING.yml | 12 + node_modules/call-bind-apply-helpers/.nycrc | 9 + .../call-bind-apply-helpers/CHANGELOG.md | 30 + node_modules/call-bind-apply-helpers/LICENSE | 21 + .../call-bind-apply-helpers/README.md | 62 + .../call-bind-apply-helpers/actualApply.d.ts | 1 + .../call-bind-apply-helpers/actualApply.js | 10 + .../call-bind-apply-helpers/applyBind.d.ts | 19 + .../call-bind-apply-helpers/applyBind.js | 10 + .../functionApply.d.ts | 1 + .../call-bind-apply-helpers/functionApply.js | 4 + .../call-bind-apply-helpers/functionCall.d.ts | 1 + .../call-bind-apply-helpers/functionCall.js | 4 + .../call-bind-apply-helpers/index.d.ts | 64 + node_modules/call-bind-apply-helpers/index.js | 15 + .../call-bind-apply-helpers/package.json | 85 + .../call-bind-apply-helpers/reflectApply.d.ts | 3 + .../call-bind-apply-helpers/reflectApply.js | 4 + .../call-bind-apply-helpers/test/index.js | 63 + .../call-bind-apply-helpers/tsconfig.json | 9 + node_modules/call-bound/.eslintrc | 13 + node_modules/call-bound/.github/FUNDING.yml | 12 + node_modules/call-bound/.nycrc | 9 + node_modules/call-bound/CHANGELOG.md | 42 + node_modules/call-bound/LICENSE | 21 + node_modules/call-bound/README.md | 53 + node_modules/call-bound/index.d.ts | 94 + node_modules/call-bound/index.js | 19 + node_modules/call-bound/package.json | 99 + node_modules/call-bound/test/index.js | 61 + node_modules/call-bound/tsconfig.json | 10 + node_modules/cluster-key-slot/.eslintrc | 16 + node_modules/cluster-key-slot/LICENSE | 13 + node_modules/cluster-key-slot/README.md | 61 + node_modules/cluster-key-slot/index.d.ts | 10 + node_modules/cluster-key-slot/lib/index.js | 166 + node_modules/cluster-key-slot/package.json | 56 + node_modules/color-convert/LICENSE | 22 + node_modules/color-convert/README.md | 165 + node_modules/color-convert/conversions.js | 980 + node_modules/color-convert/index.d.ts | 744 + node_modules/color-convert/index.js | 81 + node_modules/color-convert/package.json | 58 + node_modules/color-convert/route.js | 98 + node_modules/color-name/LICENSE | 8 + node_modules/color-name/README.md | 11 + node_modules/color-name/index.js | 153 + node_modules/color-name/package.json | 32 + node_modules/color-string/LICENSE | 21 + node_modules/color-string/README.md | 60 + node_modules/color-string/index.d.ts | 23 + node_modules/color-string/index.js | 231 + node_modules/color-string/package.json | 47 + node_modules/color/LICENSE | 21 + node_modules/color/README.md | 183 + node_modules/color/index.d.ts | 135 + node_modules/color/index.js | 496 + node_modules/color/package.json | 52 + node_modules/content-disposition/HISTORY.md | 60 + node_modules/content-disposition/LICENSE | 22 + node_modules/content-disposition/README.md | 142 + node_modules/content-disposition/index.js | 458 + node_modules/content-disposition/package.json | 44 + node_modules/content-type/HISTORY.md | 29 + node_modules/content-type/LICENSE | 22 + node_modules/content-type/README.md | 94 + node_modules/content-type/index.js | 225 + node_modules/content-type/package.json | 42 + node_modules/cookie-signature/History.md | 42 + node_modules/cookie-signature/Readme.md | 42 + node_modules/cookie-signature/index.js | 51 + node_modules/cookie-signature/package.json | 18 + node_modules/cookie/LICENSE | 24 + node_modules/cookie/README.md | 317 + node_modules/cookie/SECURITY.md | 25 + node_modules/cookie/index.js | 335 + node_modules/cookie/package.json | 44 + node_modules/cors/LICENSE | 22 + node_modules/cors/README.md | 277 + node_modules/cors/lib/index.js | 238 + node_modules/cors/package.json | 42 + node_modules/debug/.coveralls.yml | 1 + node_modules/debug/.eslintrc | 11 + node_modules/debug/.npmignore | 9 + node_modules/debug/.travis.yml | 14 + node_modules/debug/CHANGELOG.md | 362 + node_modules/debug/LICENSE | 19 + node_modules/debug/Makefile | 50 + node_modules/debug/README.md | 312 + node_modules/debug/component.json | 19 + node_modules/debug/karma.conf.js | 70 + node_modules/debug/node.js | 1 + node_modules/debug/package.json | 49 + node_modules/debug/src/browser.js | 185 + node_modules/debug/src/debug.js | 202 + node_modules/debug/src/index.js | 10 + node_modules/debug/src/inspector-log.js | 15 + node_modules/debug/src/node.js | 248 + node_modules/denque/CHANGELOG.md | 29 + node_modules/denque/LICENSE | 201 + node_modules/denque/README.md | 77 + node_modules/denque/index.d.ts | 47 + node_modules/denque/index.js | 481 + node_modules/denque/package.json | 58 + node_modules/depd/History.md | 103 + node_modules/depd/LICENSE | 22 + node_modules/depd/Readme.md | 280 + node_modules/depd/index.js | 538 + node_modules/depd/lib/browser/index.js | 77 + node_modules/depd/package.json | 45 + node_modules/destroy/LICENSE | 23 + node_modules/destroy/README.md | 63 + node_modules/destroy/index.js | 209 + node_modules/destroy/package.json | 48 + node_modules/dotenv/CHANGELOG.md | 520 + node_modules/dotenv/LICENSE | 23 + node_modules/dotenv/README-es.md | 411 + node_modules/dotenv/README.md | 645 + node_modules/dotenv/SECURITY.md | 1 + node_modules/dotenv/config.d.ts | 1 + node_modules/dotenv/config.js | 9 + node_modules/dotenv/lib/cli-options.js | 17 + node_modules/dotenv/lib/env-options.js | 28 + node_modules/dotenv/lib/main.d.ts | 162 + node_modules/dotenv/lib/main.js | 386 + node_modules/dotenv/package.json | 62 + node_modules/dunder-proto/.eslintrc | 5 + node_modules/dunder-proto/.github/FUNDING.yml | 12 + node_modules/dunder-proto/.nycrc | 13 + node_modules/dunder-proto/CHANGELOG.md | 24 + node_modules/dunder-proto/LICENSE | 21 + node_modules/dunder-proto/README.md | 54 + node_modules/dunder-proto/get.d.ts | 5 + node_modules/dunder-proto/get.js | 30 + node_modules/dunder-proto/package.json | 76 + node_modules/dunder-proto/set.d.ts | 5 + node_modules/dunder-proto/set.js | 35 + node_modules/dunder-proto/test/get.js | 34 + node_modules/dunder-proto/test/index.js | 4 + node_modules/dunder-proto/test/set.js | 50 + node_modules/dunder-proto/tsconfig.json | 9 + node_modules/ee-first/LICENSE | 22 + node_modules/ee-first/README.md | 80 + node_modules/ee-first/index.js | 95 + node_modules/ee-first/package.json | 29 + node_modules/enabled/.travis.yml | 9 + node_modules/enabled/LICENSE | 20 + node_modules/enabled/README.md | 68 + node_modules/enabled/index.js | 34 + node_modules/enabled/package.json | 33 + node_modules/enabled/test.js | 39 + node_modules/encodeurl/LICENSE | 22 + node_modules/encodeurl/README.md | 109 + node_modules/encodeurl/index.js | 60 + node_modules/encodeurl/package.json | 40 + node_modules/es-define-property/.eslintrc | 13 + .../es-define-property/.github/FUNDING.yml | 12 + node_modules/es-define-property/.nycrc | 9 + node_modules/es-define-property/CHANGELOG.md | 29 + node_modules/es-define-property/LICENSE | 21 + node_modules/es-define-property/README.md | 49 + node_modules/es-define-property/index.d.ts | 3 + node_modules/es-define-property/index.js | 14 + node_modules/es-define-property/package.json | 81 + node_modules/es-define-property/test/index.js | 56 + node_modules/es-define-property/tsconfig.json | 10 + node_modules/es-errors/.eslintrc | 5 + node_modules/es-errors/.github/FUNDING.yml | 12 + node_modules/es-errors/CHANGELOG.md | 40 + node_modules/es-errors/LICENSE | 21 + node_modules/es-errors/README.md | 55 + node_modules/es-errors/eval.d.ts | 3 + node_modules/es-errors/eval.js | 4 + node_modules/es-errors/index.d.ts | 3 + node_modules/es-errors/index.js | 4 + node_modules/es-errors/package.json | 80 + node_modules/es-errors/range.d.ts | 3 + node_modules/es-errors/range.js | 4 + node_modules/es-errors/ref.d.ts | 3 + node_modules/es-errors/ref.js | 4 + node_modules/es-errors/syntax.d.ts | 3 + node_modules/es-errors/syntax.js | 4 + node_modules/es-errors/test/index.js | 19 + node_modules/es-errors/tsconfig.json | 49 + node_modules/es-errors/type.d.ts | 3 + node_modules/es-errors/type.js | 4 + node_modules/es-errors/uri.d.ts | 3 + node_modules/es-errors/uri.js | 4 + node_modules/es-object-atoms/.eslintrc | 16 + .../es-object-atoms/.github/FUNDING.yml | 12 + node_modules/es-object-atoms/CHANGELOG.md | 37 + node_modules/es-object-atoms/LICENSE | 21 + node_modules/es-object-atoms/README.md | 63 + .../RequireObjectCoercible.d.ts | 3 + .../es-object-atoms/RequireObjectCoercible.js | 11 + node_modules/es-object-atoms/ToObject.d.ts | 7 + node_modules/es-object-atoms/ToObject.js | 10 + node_modules/es-object-atoms/index.d.ts | 3 + node_modules/es-object-atoms/index.js | 4 + node_modules/es-object-atoms/isObject.d.ts | 3 + node_modules/es-object-atoms/isObject.js | 6 + node_modules/es-object-atoms/package.json | 80 + node_modules/es-object-atoms/test/index.js | 38 + node_modules/es-object-atoms/tsconfig.json | 6 + node_modules/escape-html/LICENSE | 24 + node_modules/escape-html/Readme.md | 43 + node_modules/escape-html/index.js | 78 + node_modules/escape-html/package.json | 24 + node_modules/etag/HISTORY.md | 83 + node_modules/etag/LICENSE | 22 + node_modules/etag/README.md | 159 + node_modules/etag/index.js | 131 + node_modules/etag/package.json | 47 + node_modules/express/History.md | 3667 +++ node_modules/express/LICENSE | 24 + node_modules/express/Readme.md | 260 + node_modules/express/index.js | 11 + node_modules/express/lib/application.js | 661 + node_modules/express/lib/express.js | 116 + node_modules/express/lib/middleware/init.js | 43 + node_modules/express/lib/middleware/query.js | 47 + node_modules/express/lib/request.js | 525 + node_modules/express/lib/response.js | 1179 + node_modules/express/lib/router/index.js | 673 + node_modules/express/lib/router/layer.js | 181 + node_modules/express/lib/router/route.js | 230 + node_modules/express/lib/utils.js | 303 + node_modules/express/lib/view.js | 182 + node_modules/express/package.json | 102 + node_modules/fast-xml-builder/CHANGELOG.md | 16 + node_modules/fast-xml-builder/LICENSE | 21 + node_modules/fast-xml-builder/README.md | 23 + node_modules/fast-xml-builder/lib/fxb.cjs | 1 + node_modules/fast-xml-builder/lib/fxb.d.cts | 180 + node_modules/fast-xml-builder/lib/fxb.min.js | 2 + .../fast-xml-builder/lib/fxb.min.js.map | 1 + node_modules/fast-xml-builder/package.json | 80 + node_modules/fast-xml-builder/src/fxb.d.ts | 180 + node_modules/fast-xml-builder/src/fxb.js | 529 + .../fast-xml-builder/src/ignoreAttributes.js | 18 + .../fast-xml-builder/src/orderedJs2Xml.js | 292 + .../fast-xml-builder/src/prettifyJs2Xml.js | 0 node_modules/fast-xml-parser/CHANGELOG.md | 759 + node_modules/fast-xml-parser/LICENSE | 21 + node_modules/fast-xml-parser/README.md | 225 + .../fast-xml-parser/lib/fxbuilder.min.js | 2 + .../fast-xml-parser/lib/fxbuilder.min.js.map | 1 + node_modules/fast-xml-parser/lib/fxp.cjs | 1 + node_modules/fast-xml-parser/lib/fxp.d.cts | 603 + node_modules/fast-xml-parser/lib/fxp.min.js | 2 + .../fast-xml-parser/lib/fxp.min.js.map | 1 + .../fast-xml-parser/lib/fxparser.min.js | 2 + .../fast-xml-parser/lib/fxparser.min.js.map | 1 + .../fast-xml-parser/lib/fxvalidator.min.js | 2 + .../lib/fxvalidator.min.js.map | 1 + node_modules/fast-xml-parser/lib/pem.d.cts | 148 + node_modules/fast-xml-parser/package.json | 94 + node_modules/fast-xml-parser/src/cli/cli.js | 97 + node_modules/fast-xml-parser/src/cli/man.js | 17 + node_modules/fast-xml-parser/src/cli/read.js | 43 + node_modules/fast-xml-parser/src/fxp.d.ts | 579 + node_modules/fast-xml-parser/src/fxp.js | 14 + .../fast-xml-parser/src/ignoreAttributes.js | 18 + node_modules/fast-xml-parser/src/pem.d.ts | 135 + node_modules/fast-xml-parser/src/util.js | 61 + .../fast-xml-parser/src/v6/CharsSymbol.js | 16 + .../fast-xml-parser/src/v6/EntitiesParser.js | 106 + .../fast-xml-parser/src/v6/OptionsBuilder.js | 61 + .../v6/OutputBuilders/BaseOutputBuilder.js | 69 + .../src/v6/OutputBuilders/JsArrBuilder.js | 103 + .../src/v6/OutputBuilders/JsMinArrBuilder.js | 100 + .../src/v6/OutputBuilders/JsObjBuilder.js | 154 + .../v6/OutputBuilders/ParserOptionsBuilder.js | 94 + node_modules/fast-xml-parser/src/v6/Report.js | 0 .../fast-xml-parser/src/v6/TagPath.js | 81 + .../fast-xml-parser/src/v6/TagPathMatcher.js | 13 + .../fast-xml-parser/src/v6/XMLParser.js | 83 + .../fast-xml-parser/src/v6/Xml2JsParser.js | 235 + .../fast-xml-parser/src/v6/XmlPartReader.js | 210 + .../src/v6/XmlSpecialTagsReader.js | 111 + .../src/v6/inputSource/BufferSource.js | 116 + .../src/v6/inputSource/StringSource.js | 121 + .../src/v6/valueParsers/EntitiesParser.js | 105 + .../src/v6/valueParsers/booleanParser.js | 22 + .../src/v6/valueParsers/booleanParserExt.js | 19 + .../src/v6/valueParsers/currency.js | 38 + .../src/v6/valueParsers/join.js | 13 + .../src/v6/valueParsers/number.js | 14 + .../src/v6/valueParsers/trim.js | 6 + node_modules/fast-xml-parser/src/validator.js | 425 + .../src/xmlbuilder/json2xml.js | 6 + .../src/xmlparser/DocTypeReader.js | 410 + .../src/xmlparser/OptionsBuilder.js | 159 + .../src/xmlparser/OrderedObjParser.js | 911 + .../src/xmlparser/XMLParser.js | 71 + .../src/xmlparser/node2json.js | 173 + .../fast-xml-parser/src/xmlparser/xmlNode.js | 40 + node_modules/fecha/LICENSE | 22 + node_modules/fecha/README.md | 320 + node_modules/fecha/dist/fecha.min.js | 2 + node_modules/fecha/dist/fecha.min.js.map | 1 + node_modules/fecha/lib/fecha.d.ts | 52 + node_modules/fecha/lib/fecha.js | 403 + node_modules/fecha/lib/fecha.js.map | 1 + node_modules/fecha/lib/fecha.umd.js | 418 + node_modules/fecha/lib/fecha.umd.js.map | 1 + node_modules/fecha/package.json | 55 + node_modules/fecha/src/fecha.ts | 524 + node_modules/file-stream-rotator/.nvmrc | 1 + node_modules/file-stream-rotator/.travis.yml | 5 + .../file-stream-rotator/FileStreamRotator.js | 702 + node_modules/file-stream-rotator/LICENSE.txt | 17 + node_modules/file-stream-rotator/README.md | 148 + node_modules/file-stream-rotator/index.js | 1 + node_modules/file-stream-rotator/package.json | 30 + node_modules/file-stream-rotator/test.js | 208 + .../tests/every-minute-test.js | 85 + .../tests/every-second-test.js | 75 + .../file-stream-rotator/tests/large-test.js | 33 + .../tests/rotate-on-size-without-date.js | 103 + node_modules/finalhandler/HISTORY.md | 216 + node_modules/finalhandler/LICENSE | 22 + node_modules/finalhandler/README.md | 147 + node_modules/finalhandler/SECURITY.md | 25 + node_modules/finalhandler/index.js | 341 + node_modules/finalhandler/package.json | 47 + .../fluent-ffmpeg/.vscode/settings.json | 7 + node_modules/fluent-ffmpeg/LICENSE | 9 + node_modules/fluent-ffmpeg/Makefile | 20 + node_modules/fluent-ffmpeg/OLD/README.md | 1479 ++ node_modules/fluent-ffmpeg/README.md | 1489 ++ .../coverage/lcov-report/base.css | 224 + .../coverage/lcov-report/block-navigation.js | 87 + .../coverage/lcov-report/favicon.png | Bin 0 -> 445 bytes .../coverage/lcov-report/formatting.js.html | 322 + .../coverage/lcov-report/formatting.ts.html | 364 + .../coverage/lcov-report/index.html | 161 + .../coverage/lcov-report/prettify.css | 1 + .../coverage/lcov-report/prettify.js | 2 + .../coverage/lcov-report/regexp.js.html | 136 + .../coverage/lcov-report/regexp.ts.html | 142 + .../lcov-report/sort-arrow-sprite.png | Bin 0 -> 138 bytes .../coverage/lcov-report/sorter.js | 196 + .../lcov-report/src/capabilities.ts.html | 304 + .../coverage/lcov-report/src/command.ts.html | 403 + .../coverage/lcov-report/src/index.html | 191 + .../coverage/lcov-report/src/input.ts.html | 361 + .../coverage/lcov-report/src/main.ts.html | 181 + .../coverage/lcov-report/src/output.ts.html | 679 + .../coverage/lcov-report/src/process.ts.html | 613 + .../lcov-report/src/utils/data-types.ts.html | 388 + .../lcov-report/src/utils/filters.ts.html | 328 + .../lcov-report/src/utils/formatting.ts.html | 121 + .../coverage/lcov-report/src/utils/index.html | 191 + .../lcov-report/src/utils/line-buffer.ts.html | 268 + .../lcov-report/src/utils/parsing.ts.html | 925 + .../lcov-report/src/utils/platform.ts.html | 94 + .../lcov-report/src/utils/regexp.ts.html | 145 + .../tests/acceptance/dummy.ts.html | 94 + .../lcov-report/tests/acceptance/index.html | 116 + .../lcov-report/tests/helpers/async.ts.html | 94 + .../lcov-report/tests/helpers/index.html | 146 + .../tests/helpers/spawn-stub.ts.html | 187 + .../lcov-report/tests/helpers/streams.ts.html | 112 + .../tests/integration/dummy.ts.html | 94 + .../lcov-report/tests/integration/index.html | 116 + node_modules/fluent-ffmpeg/coverage/lcov.info | 1667 ++ .../tmp/coverage-1066251-1700211761185-1.json | 1 + .../tmp/coverage-1066251-1700211761217-8.json | 1 + .../tmp/coverage-1066251-1700211761247-2.json | 1 + .../tmp/coverage-1066251-1700211761265-5.json | 1 + .../tmp/coverage-1066251-1700211761265-6.json | 1 + .../tmp/coverage-1066251-1700211761288-9.json | 1 + .../coverage-1066251-1700211761296-11.json | 1 + .../coverage-1066251-1700211761301-10.json | 1 + .../tmp/coverage-1066251-1700211761384-7.json | 1 + .../tmp/coverage-1066251-1700211761416-4.json | 1 + .../tmp/coverage-1066251-1700211761417-3.json | 1 + .../tmp/coverage-1066251-1700211761468-0.json | 1 + .../fluent-ffmpeg/doc/FfmpegCommand.html | 17913 +++++++++++++++ node_modules/fluent-ffmpeg/doc/audio.js.html | 228 + .../fluent-ffmpeg/doc/capabilities.js.html | 715 + node_modules/fluent-ffmpeg/doc/custom.js.html | 262 + .../fluent-ffmpeg/doc/ffprobe.js.html | 311 + .../fluent-ffmpeg/doc/fluent-ffmpeg.js.html | 271 + node_modules/fluent-ffmpeg/doc/global.html | 932 + node_modules/fluent-ffmpeg/doc/index.html | 973 + node_modules/fluent-ffmpeg/doc/inputs.js.html | 225 + node_modules/fluent-ffmpeg/doc/misc.js.html | 91 + .../fluent-ffmpeg/doc/options_audio.js.html | 228 + .../fluent-ffmpeg/doc/options_custom.js.html | 262 + .../fluent-ffmpeg/doc/options_inputs.js.html | 228 + .../fluent-ffmpeg/doc/options_misc.js.html | 91 + .../fluent-ffmpeg/doc/options_output.js.html | 212 + .../fluent-ffmpeg/doc/options_video.js.html | 234 + .../doc/options_videosize.js.html | 341 + node_modules/fluent-ffmpeg/doc/output.js.html | 212 + .../fluent-ffmpeg/doc/processor.js.html | 708 + .../fluent-ffmpeg/doc/recipes.js.html | 506 + .../fluent-ffmpeg/doc/scripts/linenumber.js | 25 + .../scripts/prettify/Apache-License-2.0.txt | 202 + .../doc/scripts/prettify/lang-css.js | 2 + .../doc/scripts/prettify/prettify.js | 28 + .../doc/styles/jsdoc-default.css | 348 + .../doc/styles/prettify-jsdoc.css | 111 + .../doc/styles/prettify-tomorrow.css | 132 + node_modules/fluent-ffmpeg/doc/utils.js.html | 505 + node_modules/fluent-ffmpeg/doc/video.js.html | 234 + .../fluent-ffmpeg/doc/videosize.js.html | 341 + node_modules/fluent-ffmpeg/index.js | 1 + .../fluent-ffmpeg/lib/capabilities.js | 665 + node_modules/fluent-ffmpeg/lib/ffprobe.js | 261 + .../fluent-ffmpeg/lib/fluent-ffmpeg.js | 226 + .../fluent-ffmpeg/lib/options/audio.js | 178 + .../fluent-ffmpeg/lib/options/custom.js | 212 + .../fluent-ffmpeg/lib/options/inputs.js | 178 + .../fluent-ffmpeg/lib/options/misc.js | 41 + .../fluent-ffmpeg/lib/options/output.js | 162 + .../fluent-ffmpeg/lib/options/video.js | 184 + .../fluent-ffmpeg/lib/options/videosize.js | 291 + .../fluent-ffmpeg/lib/presets/divx.js | 14 + .../fluent-ffmpeg/lib/presets/flashvideo.js | 16 + .../fluent-ffmpeg/lib/presets/podcast.js | 16 + node_modules/fluent-ffmpeg/lib/processor.js | 662 + node_modules/fluent-ffmpeg/lib/recipes.js | 456 + node_modules/fluent-ffmpeg/lib/utils.js | 455 + node_modules/fluent-ffmpeg/package.json | 39 + .../fluent-ffmpeg/tools/jsdoc-aliases.js | 58 + .../fluent-ffmpeg/tools/jsdoc-conf.json | 23 + .../tools/jsdoc-template/README.md | 3 + .../tools/jsdoc-template/publish.js | 626 + .../static/scripts/linenumber.js | 25 + .../scripts/prettify/Apache-License-2.0.txt | 202 + .../static/scripts/prettify/lang-css.js | 2 + .../static/scripts/prettify/prettify.js | 28 + .../static/styles/jsdoc-default.css | 348 + .../static/styles/prettify-jsdoc.css | 111 + .../static/styles/prettify-tomorrow.css | 132 + .../tools/jsdoc-template/tmpl/aliases.tmpl | 12 + .../tools/jsdoc-template/tmpl/container.tmpl | 173 + .../tools/jsdoc-template/tmpl/details.tmpl | 107 + .../tools/jsdoc-template/tmpl/example.tmpl | 2 + .../tools/jsdoc-template/tmpl/examples.tmpl | 13 + .../tools/jsdoc-template/tmpl/exceptions.tmpl | 30 + .../tools/jsdoc-template/tmpl/layout.tmpl | 38 + .../tools/jsdoc-template/tmpl/mainpage.tmpl | 14 + .../tools/jsdoc-template/tmpl/members.tmpl | 41 + .../tools/jsdoc-template/tmpl/method.tmpl | 102 + .../tools/jsdoc-template/tmpl/params.tmpl | 112 + .../tools/jsdoc-template/tmpl/properties.tmpl | 107 + .../tools/jsdoc-template/tmpl/returns.tmpl | 19 + .../tools/jsdoc-template/tmpl/source.tmpl | 8 + .../tools/jsdoc-template/tmpl/tutorial.tmpl | 19 + .../tools/jsdoc-template/tmpl/type.tmpl | 7 + node_modules/fn.name/.gitattributes | 1 + node_modules/fn.name/.travis.yml | 10 + node_modules/fn.name/LICENSE | 22 + node_modules/fn.name/README.md | 42 + node_modules/fn.name/index.js | 42 + node_modules/fn.name/package.json | 37 + node_modules/fn.name/test.js | 73 + node_modules/forwarded/HISTORY.md | 21 + node_modules/forwarded/LICENSE | 22 + node_modules/forwarded/README.md | 57 + node_modules/forwarded/index.js | 90 + node_modules/forwarded/package.json | 45 + node_modules/fresh/HISTORY.md | 70 + node_modules/fresh/LICENSE | 23 + node_modules/fresh/README.md | 119 + node_modules/fresh/index.js | 137 + node_modules/fresh/package.json | 46 + node_modules/function-bind/.eslintrc | 21 + .../function-bind/.github/FUNDING.yml | 12 + .../function-bind/.github/SECURITY.md | 3 + node_modules/function-bind/.nycrc | 13 + node_modules/function-bind/CHANGELOG.md | 136 + node_modules/function-bind/LICENSE | 20 + node_modules/function-bind/README.md | 46 + node_modules/function-bind/implementation.js | 84 + node_modules/function-bind/index.js | 5 + node_modules/function-bind/package.json | 87 + node_modules/function-bind/test/.eslintrc | 9 + node_modules/function-bind/test/index.js | 252 + node_modules/get-intrinsic/.eslintrc | 42 + .../get-intrinsic/.github/FUNDING.yml | 12 + node_modules/get-intrinsic/.nycrc | 9 + node_modules/get-intrinsic/CHANGELOG.md | 186 + node_modules/get-intrinsic/LICENSE | 21 + node_modules/get-intrinsic/README.md | 71 + node_modules/get-intrinsic/index.js | 378 + node_modules/get-intrinsic/package.json | 97 + .../get-intrinsic/test/GetIntrinsic.js | 274 + node_modules/get-proto/.eslintrc | 10 + node_modules/get-proto/.github/FUNDING.yml | 12 + node_modules/get-proto/.nycrc | 9 + node_modules/get-proto/CHANGELOG.md | 21 + node_modules/get-proto/LICENSE | 21 + .../get-proto/Object.getPrototypeOf.d.ts | 5 + .../get-proto/Object.getPrototypeOf.js | 6 + node_modules/get-proto/README.md | 50 + .../get-proto/Reflect.getPrototypeOf.d.ts | 3 + .../get-proto/Reflect.getPrototypeOf.js | 4 + node_modules/get-proto/index.d.ts | 5 + node_modules/get-proto/index.js | 27 + node_modules/get-proto/package.json | 81 + node_modules/get-proto/test/index.js | 68 + node_modules/get-proto/tsconfig.json | 9 + node_modules/gopd/.eslintrc | 16 + node_modules/gopd/.github/FUNDING.yml | 12 + node_modules/gopd/CHANGELOG.md | 45 + node_modules/gopd/LICENSE | 21 + node_modules/gopd/README.md | 40 + node_modules/gopd/gOPD.d.ts | 1 + node_modules/gopd/gOPD.js | 4 + node_modules/gopd/index.d.ts | 5 + node_modules/gopd/index.js | 15 + node_modules/gopd/package.json | 77 + node_modules/gopd/test/index.js | 36 + node_modules/gopd/tsconfig.json | 9 + node_modules/has-symbols/.eslintrc | 11 + node_modules/has-symbols/.github/FUNDING.yml | 12 + node_modules/has-symbols/.nycrc | 9 + node_modules/has-symbols/CHANGELOG.md | 91 + node_modules/has-symbols/LICENSE | 21 + node_modules/has-symbols/README.md | 46 + node_modules/has-symbols/index.d.ts | 3 + node_modules/has-symbols/index.js | 14 + node_modules/has-symbols/package.json | 111 + node_modules/has-symbols/shams.d.ts | 3 + node_modules/has-symbols/shams.js | 45 + node_modules/has-symbols/test/index.js | 22 + .../has-symbols/test/shams/core-js.js | 29 + .../test/shams/get-own-property-symbols.js | 29 + node_modules/has-symbols/test/tests.js | 58 + node_modules/has-symbols/tsconfig.json | 10 + node_modules/hasown/.eslintrc | 5 + node_modules/hasown/.github/FUNDING.yml | 12 + node_modules/hasown/.nycrc | 13 + node_modules/hasown/CHANGELOG.md | 40 + node_modules/hasown/LICENSE | 21 + node_modules/hasown/README.md | 40 + node_modules/hasown/index.d.ts | 3 + node_modules/hasown/index.js | 8 + node_modules/hasown/package.json | 92 + node_modules/hasown/tsconfig.json | 6 + node_modules/http-errors/HISTORY.md | 186 + node_modules/http-errors/LICENSE | 23 + node_modules/http-errors/README.md | 169 + node_modules/http-errors/index.js | 290 + node_modules/http-errors/package.json | 54 + node_modules/iconv-lite/Changelog.md | 162 + node_modules/iconv-lite/LICENSE | 21 + node_modules/iconv-lite/README.md | 156 + .../iconv-lite/encodings/dbcs-codec.js | 555 + .../iconv-lite/encodings/dbcs-data.js | 176 + node_modules/iconv-lite/encodings/index.js | 22 + node_modules/iconv-lite/encodings/internal.js | 188 + .../iconv-lite/encodings/sbcs-codec.js | 72 + .../encodings/sbcs-data-generated.js | 451 + .../iconv-lite/encodings/sbcs-data.js | 174 + .../encodings/tables/big5-added.json | 122 + .../iconv-lite/encodings/tables/cp936.json | 264 + .../iconv-lite/encodings/tables/cp949.json | 273 + .../iconv-lite/encodings/tables/cp950.json | 177 + .../iconv-lite/encodings/tables/eucjp.json | 182 + .../encodings/tables/gb18030-ranges.json | 1 + .../encodings/tables/gbk-added.json | 55 + .../iconv-lite/encodings/tables/shiftjis.json | 125 + node_modules/iconv-lite/encodings/utf16.js | 177 + node_modules/iconv-lite/encodings/utf7.js | 290 + node_modules/iconv-lite/lib/bom-handling.js | 52 + node_modules/iconv-lite/lib/extend-node.js | 217 + node_modules/iconv-lite/lib/index.d.ts | 24 + node_modules/iconv-lite/lib/index.js | 153 + node_modules/iconv-lite/lib/streams.js | 121 + node_modules/iconv-lite/package.json | 46 + node_modules/inherits/LICENSE | 16 + node_modules/inherits/README.md | 42 + node_modules/inherits/inherits.js | 9 + node_modules/inherits/inherits_browser.js | 27 + node_modules/inherits/package.json | 29 + node_modules/ioredis/LICENSE | 21 + node_modules/ioredis/README.md | 1498 ++ node_modules/ioredis/built/Command.d.ts | 165 + node_modules/ioredis/built/Command.js | 449 + node_modules/ioredis/built/DataHandler.d.ts | 37 + node_modules/ioredis/built/DataHandler.js | 224 + node_modules/ioredis/built/Pipeline.d.ts | 31 + node_modules/ioredis/built/Pipeline.js | 342 + node_modules/ioredis/built/Redis.d.ts | 232 + node_modules/ioredis/built/Redis.js | 745 + node_modules/ioredis/built/ScanStream.d.ts | 23 + node_modules/ioredis/built/ScanStream.js | 51 + node_modules/ioredis/built/Script.d.ts | 11 + node_modules/ioredis/built/Script.js | 62 + .../ioredis/built/SubscriptionSet.d.ts | 14 + node_modules/ioredis/built/SubscriptionSet.js | 41 + .../ioredis/built/autoPipelining.d.ts | 8 + node_modules/ioredis/built/autoPipelining.js | 167 + .../ioredis/built/cluster/ClusterOptions.d.ts | 172 + .../ioredis/built/cluster/ClusterOptions.js | 22 + .../built/cluster/ClusterSubscriber.d.ts | 29 + .../built/cluster/ClusterSubscriber.js | 223 + .../built/cluster/ClusterSubscriberGroup.d.ts | 108 + .../built/cluster/ClusterSubscriberGroup.js | 373 + .../ioredis/built/cluster/ConnectionPool.d.ts | 37 + .../ioredis/built/cluster/ConnectionPool.js | 154 + .../ioredis/built/cluster/DelayQueue.d.ts | 20 + .../ioredis/built/cluster/DelayQueue.js | 53 + .../built/cluster/ShardedSubscriber.d.ts | 36 + .../built/cluster/ShardedSubscriber.js | 147 + node_modules/ioredis/built/cluster/index.d.ts | 163 + node_modules/ioredis/built/cluster/index.js | 937 + node_modules/ioredis/built/cluster/util.d.ts | 25 + node_modules/ioredis/built/cluster/util.js | 100 + .../built/connectors/AbstractConnector.d.ts | 12 + .../built/connectors/AbstractConnector.js | 26 + .../connectors/ConnectorConstructor.d.ts | 5 + .../built/connectors/ConnectorConstructor.js | 2 + .../SentinelConnector/FailoverDetector.d.ts | 11 + .../SentinelConnector/FailoverDetector.js | 45 + .../SentinelConnector/SentinelIterator.d.ts | 13 + .../SentinelConnector/SentinelIterator.js | 37 + .../connectors/SentinelConnector/index.d.ts | 72 + .../connectors/SentinelConnector/index.js | 305 + .../connectors/SentinelConnector/types.d.ts | 21 + .../connectors/SentinelConnector/types.js | 2 + .../built/connectors/StandaloneConnector.d.ts | 17 + .../built/connectors/StandaloneConnector.js | 69 + .../ioredis/built/connectors/index.d.ts | 3 + .../ioredis/built/connectors/index.js | 7 + .../ioredis/built/constants/TLSProfiles.d.ts | 9 + .../ioredis/built/constants/TLSProfiles.js | 149 + .../built/errors/ClusterAllFailedError.d.ts | 7 + .../built/errors/ClusterAllFailedError.js | 15 + .../errors/MaxRetriesPerRequestError.d.ts | 5 + .../built/errors/MaxRetriesPerRequestError.js | 14 + node_modules/ioredis/built/errors/index.d.ts | 2 + node_modules/ioredis/built/errors/index.js | 5 + node_modules/ioredis/built/index.d.ts | 43 + node_modules/ioredis/built/index.js | 62 + .../ioredis/built/redis/RedisOptions.d.ts | 197 + .../ioredis/built/redis/RedisOptions.js | 58 + .../ioredis/built/redis/event_handler.d.ts | 4 + .../ioredis/built/redis/event_handler.js | 315 + node_modules/ioredis/built/transaction.d.ts | 13 + node_modules/ioredis/built/transaction.js | 93 + node_modules/ioredis/built/types.d.ts | 33 + node_modules/ioredis/built/types.js | 2 + .../ioredis/built/utils/Commander.d.ts | 50 + node_modules/ioredis/built/utils/Commander.js | 117 + .../ioredis/built/utils/RedisCommander.d.ts | 8950 ++++++++ .../ioredis/built/utils/RedisCommander.js | 7 + .../ioredis/built/utils/applyMixin.d.ts | 3 + .../ioredis/built/utils/applyMixin.js | 8 + .../ioredis/built/utils/argumentParsers.d.ts | 14 + .../ioredis/built/utils/argumentParsers.js | 74 + node_modules/ioredis/built/utils/debug.d.ts | 16 + node_modules/ioredis/built/utils/debug.js | 95 + node_modules/ioredis/built/utils/index.d.ts | 124 + node_modules/ioredis/built/utils/index.js | 332 + node_modules/ioredis/built/utils/lodash.d.ts | 4 + node_modules/ioredis/built/utils/lodash.js | 9 + .../ioredis/node_modules/debug/LICENSE | 20 + .../ioredis/node_modules/debug/README.md | 481 + .../ioredis/node_modules/debug/package.json | 64 + .../ioredis/node_modules/debug/src/browser.js | 272 + .../ioredis/node_modules/debug/src/common.js | 292 + .../ioredis/node_modules/debug/src/index.js | 10 + .../ioredis/node_modules/debug/src/node.js | 263 + node_modules/ioredis/node_modules/ms/index.js | 162 + .../ioredis/node_modules/ms/license.md | 21 + .../ioredis/node_modules/ms/package.json | 38 + .../ioredis/node_modules/ms/readme.md | 59 + node_modules/ioredis/package.json | 102 + node_modules/ipaddr.js/LICENSE | 19 + node_modules/ipaddr.js/README.md | 233 + node_modules/ipaddr.js/ipaddr.min.js | 1 + node_modules/ipaddr.js/lib/ipaddr.js | 673 + node_modules/ipaddr.js/lib/ipaddr.js.d.ts | 68 + node_modules/ipaddr.js/package.json | 35 + node_modules/is-stream/index.d.ts | 79 + node_modules/is-stream/index.js | 28 + node_modules/is-stream/license | 9 + node_modules/is-stream/package.json | 42 + node_modules/is-stream/readme.md | 60 + node_modules/isexe/.npmignore | 2 + node_modules/isexe/LICENSE | 15 + node_modules/isexe/README.md | 51 + node_modules/isexe/index.js | 57 + node_modules/isexe/mode.js | 41 + node_modules/isexe/package.json | 31 + node_modules/isexe/test/basic.js | 221 + node_modules/isexe/windows.js | 42 + node_modules/kuler/.travis.yml | 5 + node_modules/kuler/LICENSE | 7 + node_modules/kuler/README.md | 40 + node_modules/kuler/index.js | 118 + node_modules/kuler/package.json | 34 + node_modules/kuler/test.js | 23 + node_modules/lodash.defaults/LICENSE | 47 + node_modules/lodash.defaults/README.md | 18 + node_modules/lodash.defaults/index.js | 668 + node_modules/lodash.defaults/package.json | 17 + node_modules/lodash.isarguments/LICENSE | 47 + node_modules/lodash.isarguments/README.md | 18 + node_modules/lodash.isarguments/index.js | 229 + node_modules/lodash.isarguments/package.json | 17 + node_modules/logform/.babelrc | 3 + node_modules/logform/.eslintrc | 7 + node_modules/logform/.gitattributes | 1 + node_modules/logform/CHANGELOG.md | 309 + node_modules/logform/LICENSE | 21 + node_modules/logform/README.md | 653 + node_modules/logform/align.js | 14 + node_modules/logform/browser.js | 38 + node_modules/logform/cli.js | 52 + node_modules/logform/colorize.js | 122 + node_modules/logform/combine.js | 66 + node_modules/logform/dist/align.js | 14 + node_modules/logform/dist/browser.js | 72 + node_modules/logform/dist/cli.js | 62 + node_modules/logform/dist/colorize.js | 131 + node_modules/logform/dist/combine.js | 62 + node_modules/logform/dist/errors.js | 44 + node_modules/logform/dist/format.js | 70 + node_modules/logform/dist/index.js | 86 + node_modules/logform/dist/json.js | 30 + node_modules/logform/dist/label.js | 18 + node_modules/logform/dist/levels.js | 13 + node_modules/logform/dist/logstash.js | 28 + node_modules/logform/dist/metadata.js | 56 + node_modules/logform/dist/ms.js | 18 + node_modules/logform/dist/pad-levels.js | 110 + node_modules/logform/dist/pretty-print.js | 32 + node_modules/logform/dist/printf.js | 33 + node_modules/logform/dist/simple.js | 32 + node_modules/logform/dist/splat.js | 143 + node_modules/logform/dist/timestamp.js | 26 + node_modules/logform/dist/uncolorize.js | 25 + node_modules/logform/errors.js | 41 + node_modules/logform/format.js | 52 + node_modules/logform/index.d.ts | 201 + node_modules/logform/index.js | 52 + node_modules/logform/json.js | 30 + node_modules/logform/label.js | 19 + node_modules/logform/levels.js | 12 + node_modules/logform/logstash.js | 29 + node_modules/logform/metadata.js | 61 + node_modules/logform/ms.js | 18 + node_modules/logform/node_modules/ms/index.js | 162 + .../logform/node_modules/ms/license.md | 21 + .../logform/node_modules/ms/package.json | 38 + .../logform/node_modules/ms/readme.md | 59 + node_modules/logform/package.json | 53 + node_modules/logform/pad-levels.js | 83 + node_modules/logform/pretty-print.js | 29 + node_modules/logform/printf.js | 26 + node_modules/logform/simple.js | 33 + node_modules/logform/splat.js | 132 + node_modules/logform/timestamp.js | 30 + node_modules/logform/tsconfig.json | 22 + node_modules/logform/uncolorize.js | 27 + node_modules/math-intrinsics/.eslintrc | 16 + .../math-intrinsics/.github/FUNDING.yml | 12 + node_modules/math-intrinsics/CHANGELOG.md | 24 + node_modules/math-intrinsics/LICENSE | 21 + node_modules/math-intrinsics/README.md | 50 + node_modules/math-intrinsics/abs.d.ts | 1 + node_modules/math-intrinsics/abs.js | 4 + .../constants/maxArrayLength.d.ts | 3 + .../constants/maxArrayLength.js | 4 + .../constants/maxSafeInteger.d.ts | 3 + .../constants/maxSafeInteger.js | 5 + .../math-intrinsics/constants/maxValue.d.ts | 3 + .../math-intrinsics/constants/maxValue.js | 5 + node_modules/math-intrinsics/floor.d.ts | 1 + node_modules/math-intrinsics/floor.js | 4 + node_modules/math-intrinsics/isFinite.d.ts | 3 + node_modules/math-intrinsics/isFinite.js | 12 + node_modules/math-intrinsics/isInteger.d.ts | 3 + node_modules/math-intrinsics/isInteger.js | 16 + node_modules/math-intrinsics/isNaN.d.ts | 1 + node_modules/math-intrinsics/isNaN.js | 6 + .../math-intrinsics/isNegativeZero.d.ts | 3 + .../math-intrinsics/isNegativeZero.js | 6 + node_modules/math-intrinsics/max.d.ts | 1 + node_modules/math-intrinsics/max.js | 4 + node_modules/math-intrinsics/min.d.ts | 1 + node_modules/math-intrinsics/min.js | 4 + node_modules/math-intrinsics/mod.d.ts | 3 + node_modules/math-intrinsics/mod.js | 9 + node_modules/math-intrinsics/package.json | 86 + node_modules/math-intrinsics/pow.d.ts | 1 + node_modules/math-intrinsics/pow.js | 4 + node_modules/math-intrinsics/round.d.ts | 1 + node_modules/math-intrinsics/round.js | 4 + node_modules/math-intrinsics/sign.d.ts | 3 + node_modules/math-intrinsics/sign.js | 11 + node_modules/math-intrinsics/test/index.js | 192 + node_modules/math-intrinsics/tsconfig.json | 3 + node_modules/media-typer/HISTORY.md | 22 + node_modules/media-typer/LICENSE | 22 + node_modules/media-typer/README.md | 81 + node_modules/media-typer/index.js | 270 + node_modules/media-typer/package.json | 26 + node_modules/merge-descriptors/HISTORY.md | 21 + node_modules/merge-descriptors/LICENSE | 23 + node_modules/merge-descriptors/README.md | 49 + node_modules/merge-descriptors/index.js | 60 + node_modules/merge-descriptors/package.json | 39 + node_modules/methods/HISTORY.md | 29 + node_modules/methods/LICENSE | 24 + node_modules/methods/README.md | 51 + node_modules/methods/index.js | 69 + node_modules/methods/package.json | 36 + node_modules/mime-db/HISTORY.md | 507 + node_modules/mime-db/LICENSE | 23 + node_modules/mime-db/README.md | 100 + node_modules/mime-db/db.json | 8519 +++++++ node_modules/mime-db/index.js | 12 + node_modules/mime-db/package.json | 60 + node_modules/mime-types/HISTORY.md | 397 + node_modules/mime-types/LICENSE | 23 + node_modules/mime-types/README.md | 113 + node_modules/mime-types/index.js | 188 + node_modules/mime-types/package.json | 44 + node_modules/mime/.npmignore | 0 node_modules/mime/CHANGELOG.md | 164 + node_modules/mime/LICENSE | 21 + node_modules/mime/README.md | 90 + node_modules/mime/cli.js | 8 + node_modules/mime/mime.js | 108 + node_modules/mime/package.json | 44 + node_modules/mime/src/build.js | 53 + node_modules/mime/src/test.js | 60 + node_modules/mime/types.json | 1 + node_modules/moment/CHANGELOG.md | 996 + node_modules/moment/LICENSE | 22 + node_modules/moment/README.md | 55 + node_modules/moment/dist/locale/af.js | 71 + node_modules/moment/dist/locale/ar-dz.js | 156 + node_modules/moment/dist/locale/ar-kw.js | 55 + node_modules/moment/dist/locale/ar-ly.js | 171 + node_modules/moment/dist/locale/ar-ma.js | 56 + node_modules/moment/dist/locale/ar-ps.js | 112 + node_modules/moment/dist/locale/ar-sa.js | 105 + node_modules/moment/dist/locale/ar-tn.js | 55 + node_modules/moment/dist/locale/ar.js | 189 + node_modules/moment/dist/locale/az.js | 102 + node_modules/moment/dist/locale/be.js | 142 + node_modules/moment/dist/locale/bg.js | 87 + node_modules/moment/dist/locale/bm.js | 52 + node_modules/moment/dist/locale/bn-bd.js | 129 + node_modules/moment/dist/locale/bn.js | 119 + node_modules/moment/dist/locale/bo.js | 124 + node_modules/moment/dist/locale/br.js | 168 + node_modules/moment/dist/locale/bs.js | 160 + node_modules/moment/dist/locale/ca.js | 100 + node_modules/moment/dist/locale/cs.js | 181 + node_modules/moment/dist/locale/cv.js | 63 + node_modules/moment/dist/locale/cy.js | 98 + node_modules/moment/dist/locale/da.js | 53 + node_modules/moment/dist/locale/de-at.js | 79 + node_modules/moment/dist/locale/de-ch.js | 78 + node_modules/moment/dist/locale/de.js | 78 + node_modules/moment/dist/locale/dv.js | 90 + node_modules/moment/dist/locale/el.js | 106 + node_modules/moment/dist/locale/en-au.js | 68 + node_modules/moment/dist/locale/en-ca.js | 64 + node_modules/moment/dist/locale/en-gb.js | 68 + node_modules/moment/dist/locale/en-ie.js | 68 + node_modules/moment/dist/locale/en-il.js | 64 + node_modules/moment/dist/locale/en-in.js | 68 + node_modules/moment/dist/locale/en-nz.js | 68 + node_modules/moment/dist/locale/en-sg.js | 68 + node_modules/moment/dist/locale/eo.js | 68 + node_modules/moment/dist/locale/es-do.js | 108 + node_modules/moment/dist/locale/es-mx.js | 110 + node_modules/moment/dist/locale/es-us.js | 110 + node_modules/moment/dist/locale/es.js | 110 + node_modules/moment/dist/locale/et.js | 78 + node_modules/moment/dist/locale/eu.js | 65 + node_modules/moment/dist/locale/fa.js | 113 + node_modules/moment/dist/locale/fi.js | 124 + node_modules/moment/dist/locale/fil.js | 58 + node_modules/moment/dist/locale/fo.js | 57 + node_modules/moment/dist/locale/fr-ca.js | 70 + node_modules/moment/dist/locale/fr-ch.js | 74 + node_modules/moment/dist/locale/fr.js | 108 + node_modules/moment/dist/locale/fy.js | 75 + node_modules/moment/dist/locale/ga.js | 95 + node_modules/moment/dist/locale/gd.js | 95 + node_modules/moment/dist/locale/gl.js | 75 + node_modules/moment/dist/locale/gom-deva.js | 126 + node_modules/moment/dist/locale/gom-latn.js | 124 + node_modules/moment/dist/locale/gu.js | 122 + node_modules/moment/dist/locale/he.js | 94 + node_modules/moment/dist/locale/hi.js | 168 + node_modules/moment/dist/locale/hr.js | 156 + node_modules/moment/dist/locale/hu.js | 118 + node_modules/moment/dist/locale/hy-am.js | 94 + node_modules/moment/dist/locale/id.js | 76 + node_modules/moment/dist/locale/is.js | 140 + node_modules/moment/dist/locale/it-ch.js | 64 + node_modules/moment/dist/locale/it.js | 106 + node_modules/moment/dist/locale/ja.js | 148 + node_modules/moment/dist/locale/jv.js | 76 + node_modules/moment/dist/locale/ka.js | 92 + node_modules/moment/dist/locale/kk.js | 82 + node_modules/moment/dist/locale/km.js | 103 + node_modules/moment/dist/locale/kn.js | 124 + node_modules/moment/dist/locale/ko.js | 75 + node_modules/moment/dist/locale/ku-kmr.js | 121 + node_modules/moment/dist/locale/ku.js | 118 + node_modules/moment/dist/locale/ky.js | 84 + node_modules/moment/dist/locale/lb.js | 137 + node_modules/moment/dist/locale/lo.js | 66 + node_modules/moment/dist/locale/lt.js | 125 + node_modules/moment/dist/locale/lv.js | 94 + node_modules/moment/dist/locale/me.js | 117 + node_modules/moment/dist/locale/mi.js | 60 + node_modules/moment/dist/locale/mk.js | 85 + node_modules/moment/dist/locale/ml.js | 82 + node_modules/moment/dist/locale/mn.js | 100 + node_modules/moment/dist/locale/mr.js | 203 + node_modules/moment/dist/locale/ms-my.js | 76 + node_modules/moment/dist/locale/ms.js | 75 + node_modules/moment/dist/locale/mt.js | 56 + node_modules/moment/dist/locale/my.js | 91 + node_modules/moment/dist/locale/nb.js | 60 + node_modules/moment/dist/locale/ne.js | 121 + node_modules/moment/dist/locale/nl-be.js | 102 + node_modules/moment/dist/locale/nl.js | 104 + node_modules/moment/dist/locale/nn.js | 59 + node_modules/moment/dist/locale/oc-lnc.js | 85 + node_modules/moment/dist/locale/pa-in.js | 122 + node_modules/moment/dist/locale/pl.js | 140 + node_modules/moment/dist/locale/pt-br.js | 58 + node_modules/moment/dist/locale/pt.js | 63 + node_modules/moment/dist/locale/ro.js | 76 + node_modules/moment/dist/locale/ru.js | 213 + node_modules/moment/dist/locale/sd.js | 81 + node_modules/moment/dist/locale/se.js | 57 + node_modules/moment/dist/locale/si.js | 69 + node_modules/moment/dist/locale/sk.js | 145 + node_modules/moment/dist/locale/sl.js | 171 + node_modules/moment/dist/locale/sq.js | 65 + node_modules/moment/dist/locale/sr-cyrl.js | 127 + node_modules/moment/dist/locale/sr.js | 129 + node_modules/moment/dist/locale/ss.js | 84 + node_modules/moment/dist/locale/sv.js | 68 + node_modules/moment/dist/locale/sw.js | 55 + node_modules/moment/dist/locale/ta.js | 131 + node_modules/moment/dist/locale/te.js | 88 + node_modules/moment/dist/locale/tet.js | 68 + node_modules/moment/dist/locale/tg.js | 117 + node_modules/moment/dist/locale/th.js | 65 + node_modules/moment/dist/locale/tk.js | 91 + node_modules/moment/dist/locale/tl-ph.js | 57 + node_modules/moment/dist/locale/tlh.js | 124 + node_modules/moment/dist/locale/tr.js | 106 + node_modules/moment/dist/locale/tzl.js | 89 + node_modules/moment/dist/locale/tzm-latn.js | 54 + node_modules/moment/dist/locale/tzm.js | 54 + node_modules/moment/dist/locale/ug-cn.js | 111 + node_modules/moment/dist/locale/uk.js | 167 + node_modules/moment/dist/locale/ur.js | 82 + node_modules/moment/dist/locale/uz-latn.js | 54 + node_modules/moment/dist/locale/uz.js | 51 + node_modules/moment/dist/locale/vi.js | 80 + node_modules/moment/dist/locale/x-pseudo.js | 73 + node_modules/moment/dist/locale/yo.js | 53 + node_modules/moment/dist/locale/zh-cn.js | 120 + node_modules/moment/dist/locale/zh-hk.js | 101 + node_modules/moment/dist/locale/zh-mo.js | 100 + node_modules/moment/dist/locale/zh-tw.js | 99 + node_modules/moment/dist/moment.js | 5680 +++++ node_modules/moment/ender.js | 1 + node_modules/moment/locale/af.js | 82 + node_modules/moment/locale/ar-dz.js | 167 + node_modules/moment/locale/ar-kw.js | 66 + node_modules/moment/locale/ar-ly.js | 182 + node_modules/moment/locale/ar-ma.js | 67 + node_modules/moment/locale/ar-ps.js | 123 + node_modules/moment/locale/ar-sa.js | 116 + node_modules/moment/locale/ar-tn.js | 66 + node_modules/moment/locale/ar.js | 200 + node_modules/moment/locale/az.js | 113 + node_modules/moment/locale/be.js | 153 + node_modules/moment/locale/bg.js | 98 + node_modules/moment/locale/bm.js | 62 + node_modules/moment/locale/bn-bd.js | 140 + node_modules/moment/locale/bn.js | 130 + node_modules/moment/locale/bo.js | 135 + node_modules/moment/locale/br.js | 179 + node_modules/moment/locale/bs.js | 171 + node_modules/moment/locale/ca.js | 111 + node_modules/moment/locale/cs.js | 192 + node_modules/moment/locale/cv.js | 74 + node_modules/moment/locale/cy.js | 109 + node_modules/moment/locale/da.js | 64 + node_modules/moment/locale/de-at.js | 90 + node_modules/moment/locale/de-ch.js | 87 + node_modules/moment/locale/de.js | 89 + node_modules/moment/locale/dv.js | 101 + node_modules/moment/locale/el.js | 117 + node_modules/moment/locale/en-au.js | 79 + node_modules/moment/locale/en-ca.js | 75 + node_modules/moment/locale/en-gb.js | 79 + node_modules/moment/locale/en-ie.js | 79 + node_modules/moment/locale/en-il.js | 75 + node_modules/moment/locale/en-in.js | 79 + node_modules/moment/locale/en-nz.js | 79 + node_modules/moment/locale/en-sg.js | 79 + node_modules/moment/locale/eo.js | 79 + node_modules/moment/locale/es-do.js | 119 + node_modules/moment/locale/es-mx.js | 121 + node_modules/moment/locale/es-us.js | 121 + node_modules/moment/locale/es.js | 121 + node_modules/moment/locale/et.js | 89 + node_modules/moment/locale/eu.js | 76 + node_modules/moment/locale/fa.js | 124 + node_modules/moment/locale/fi.js | 135 + node_modules/moment/locale/fil.js | 69 + node_modules/moment/locale/fo.js | 68 + node_modules/moment/locale/fr-ca.js | 81 + node_modules/moment/locale/fr-ch.js | 85 + node_modules/moment/locale/fr.js | 119 + node_modules/moment/locale/fy.js | 86 + node_modules/moment/locale/ga.js | 106 + node_modules/moment/locale/gd.js | 106 + node_modules/moment/locale/gl.js | 86 + node_modules/moment/locale/gom-deva.js | 137 + node_modules/moment/locale/gom-latn.js | 135 + node_modules/moment/locale/gu.js | 133 + node_modules/moment/locale/he.js | 105 + node_modules/moment/locale/hi.js | 179 + node_modules/moment/locale/hr.js | 167 + node_modules/moment/locale/hu.js | 129 + node_modules/moment/locale/hy-am.js | 105 + node_modules/moment/locale/id.js | 87 + node_modules/moment/locale/is.js | 151 + node_modules/moment/locale/it-ch.js | 75 + node_modules/moment/locale/it.js | 117 + node_modules/moment/locale/ja.js | 159 + node_modules/moment/locale/jv.js | 87 + node_modules/moment/locale/ka.js | 103 + node_modules/moment/locale/kk.js | 93 + node_modules/moment/locale/km.js | 114 + node_modules/moment/locale/kn.js | 135 + node_modules/moment/locale/ko.js | 86 + node_modules/moment/locale/ku-kmr.js | 125 + node_modules/moment/locale/ku.js | 129 + node_modules/moment/locale/ky.js | 95 + node_modules/moment/locale/lb.js | 148 + node_modules/moment/locale/lo.js | 77 + node_modules/moment/locale/lt.js | 136 + node_modules/moment/locale/lv.js | 105 + node_modules/moment/locale/me.js | 128 + node_modules/moment/locale/mi.js | 71 + node_modules/moment/locale/mk.js | 97 + node_modules/moment/locale/ml.js | 93 + node_modules/moment/locale/mn.js | 111 + node_modules/moment/locale/mr.js | 214 + node_modules/moment/locale/ms-my.js | 87 + node_modules/moment/locale/ms.js | 86 + node_modules/moment/locale/mt.js | 67 + node_modules/moment/locale/my.js | 102 + node_modules/moment/locale/nb.js | 71 + node_modules/moment/locale/ne.js | 132 + node_modules/moment/locale/nl-be.js | 113 + node_modules/moment/locale/nl.js | 115 + node_modules/moment/locale/nn.js | 70 + node_modules/moment/locale/oc-lnc.js | 96 + node_modules/moment/locale/pa-in.js | 133 + node_modules/moment/locale/pl.js | 151 + node_modules/moment/locale/pt-br.js | 69 + node_modules/moment/locale/pt.js | 74 + node_modules/moment/locale/ro.js | 87 + node_modules/moment/locale/ru.js | 224 + node_modules/moment/locale/sd.js | 92 + node_modules/moment/locale/se.js | 68 + node_modules/moment/locale/si.js | 80 + node_modules/moment/locale/sk.js | 156 + node_modules/moment/locale/sl.js | 182 + node_modules/moment/locale/sq.js | 76 + node_modules/moment/locale/sr-cyrl.js | 138 + node_modules/moment/locale/sr.js | 140 + node_modules/moment/locale/ss.js | 95 + node_modules/moment/locale/sv.js | 79 + node_modules/moment/locale/sw.js | 66 + node_modules/moment/locale/ta.js | 142 + node_modules/moment/locale/te.js | 99 + node_modules/moment/locale/tet.js | 79 + node_modules/moment/locale/tg.js | 128 + node_modules/moment/locale/th.js | 76 + node_modules/moment/locale/tk.js | 102 + node_modules/moment/locale/tl-ph.js | 68 + node_modules/moment/locale/tlh.js | 135 + node_modules/moment/locale/tr.js | 117 + node_modules/moment/locale/tzl.js | 100 + node_modules/moment/locale/tzm-latn.js | 65 + node_modules/moment/locale/tzm.js | 65 + node_modules/moment/locale/ug-cn.js | 122 + node_modules/moment/locale/uk.js | 178 + node_modules/moment/locale/ur.js | 93 + node_modules/moment/locale/uz-latn.js | 65 + node_modules/moment/locale/uz.js | 62 + node_modules/moment/locale/vi.js | 91 + node_modules/moment/locale/x-pseudo.js | 84 + node_modules/moment/locale/yo.js | 64 + node_modules/moment/locale/zh-cn.js | 131 + node_modules/moment/locale/zh-hk.js | 112 + node_modules/moment/locale/zh-mo.js | 111 + node_modules/moment/locale/zh-tw.js | 110 + node_modules/moment/min/locales.js | 12800 +++++++++++ node_modules/moment/min/locales.min.js | 2 + node_modules/moment/min/locales.min.js.map | 1 + .../moment/min/moment-with-locales.js | 18472 ++++++++++++++++ .../moment/min/moment-with-locales.min.js | 2 + .../moment/min/moment-with-locales.min.js.map | 1 + node_modules/moment/min/moment.min.js | 2 + node_modules/moment/min/moment.min.js.map | 1 + node_modules/moment/moment.d.ts | 796 + node_modules/moment/moment.js | 5688 +++++ node_modules/moment/package.js | 11 + node_modules/moment/package.json | 116 + .../moment/src/lib/create/check-overflow.js | 57 + .../moment/src/lib/create/date-from-array.js | 35 + .../moment/src/lib/create/from-anything.js | 117 + .../moment/src/lib/create/from-array.js | 187 + .../moment/src/lib/create/from-object.js | 20 + .../src/lib/create/from-string-and-array.js | 67 + .../src/lib/create/from-string-and-format.js | 135 + .../moment/src/lib/create/from-string.js | 258 + node_modules/moment/src/lib/create/local.js | 5 + .../moment/src/lib/create/parsing-flags.js | 28 + node_modules/moment/src/lib/create/utc.js | 5 + node_modules/moment/src/lib/create/valid.js | 51 + node_modules/moment/src/lib/duration/abs.js | 18 + .../moment/src/lib/duration/add-subtract.js | 21 + node_modules/moment/src/lib/duration/as.js | 76 + .../moment/src/lib/duration/bubble.js | 68 + node_modules/moment/src/lib/duration/clone.js | 5 + .../moment/src/lib/duration/constructor.js | 42 + .../moment/src/lib/duration/create.js | 133 + .../moment/src/lib/duration/duration.js | 16 + node_modules/moment/src/lib/duration/get.js | 27 + .../moment/src/lib/duration/humanize.js | 114 + .../moment/src/lib/duration/iso-string.js | 68 + .../moment/src/lib/duration/prototype.js | 78 + node_modules/moment/src/lib/duration/valid.js | 55 + node_modules/moment/src/lib/format/format.js | 104 + .../moment/src/lib/locale/base-config.js | 41 + .../moment/src/lib/locale/calendar.js | 15 + .../moment/src/lib/locale/constructor.js | 5 + node_modules/moment/src/lib/locale/en.js | 39 + node_modules/moment/src/lib/locale/formats.js | 36 + node_modules/moment/src/lib/locale/invalid.js | 5 + node_modules/moment/src/lib/locale/lists.js | 93 + node_modules/moment/src/lib/locale/locale.js | 45 + node_modules/moment/src/lib/locale/locales.js | 249 + node_modules/moment/src/lib/locale/ordinal.js | 8 + .../moment/src/lib/locale/pre-post-format.js | 3 + .../moment/src/lib/locale/prototype.js | 88 + .../moment/src/lib/locale/relative.js | 32 + node_modules/moment/src/lib/locale/set.js | 56 + .../moment/src/lib/moment/add-subtract.js | 61 + .../moment/src/lib/moment/calendar.js | 53 + node_modules/moment/src/lib/moment/clone.js | 5 + node_modules/moment/src/lib/moment/compare.js | 72 + .../moment/src/lib/moment/constructor.js | 80 + .../moment/src/lib/moment/creation-data.js | 9 + node_modules/moment/src/lib/moment/diff.js | 79 + node_modules/moment/src/lib/moment/format.js | 78 + node_modules/moment/src/lib/moment/from.js | 20 + node_modules/moment/src/lib/moment/get-set.js | 117 + node_modules/moment/src/lib/moment/locale.js | 34 + node_modules/moment/src/lib/moment/min-max.js | 62 + node_modules/moment/src/lib/moment/moment.js | 28 + node_modules/moment/src/lib/moment/now.js | 3 + .../moment/src/lib/moment/prototype.js | 197 + .../moment/src/lib/moment/start-end-of.js | 164 + node_modules/moment/src/lib/moment/to-type.js | 42 + node_modules/moment/src/lib/moment/to.js | 20 + node_modules/moment/src/lib/moment/valid.js | 15 + node_modules/moment/src/lib/parse/regex.js | 84 + node_modules/moment/src/lib/parse/token.js | 36 + node_modules/moment/src/lib/units/aliases.js | 75 + .../moment/src/lib/units/constants.js | 9 + .../moment/src/lib/units/day-of-month.js | 35 + .../moment/src/lib/units/day-of-week.js | 432 + .../moment/src/lib/units/day-of-year.js | 28 + node_modules/moment/src/lib/units/era.js | 293 + node_modules/moment/src/lib/units/hour.js | 152 + .../moment/src/lib/units/millisecond.js | 66 + node_modules/moment/src/lib/units/minute.js | 24 + node_modules/moment/src/lib/units/month.js | 340 + node_modules/moment/src/lib/units/offset.js | 249 + .../moment/src/lib/units/priorities.js | 34 + node_modules/moment/src/lib/units/quarter.js | 24 + node_modules/moment/src/lib/units/second.js | 24 + .../moment/src/lib/units/timestamp.js | 20 + node_modules/moment/src/lib/units/timezone.js | 16 + node_modules/moment/src/lib/units/units.js | 20 + .../src/lib/units/week-calendar-utils.js | 66 + .../moment/src/lib/units/week-year.js | 128 + node_modules/moment/src/lib/units/week.js | 62 + node_modules/moment/src/lib/units/year.js | 75 + node_modules/moment/src/lib/utils/abs-ceil.js | 7 + .../moment/src/lib/utils/abs-floor.js | 8 + .../moment/src/lib/utils/abs-round.js | 7 + .../moment/src/lib/utils/compare-arrays.js | 18 + node_modules/moment/src/lib/utils/defaults.js | 10 + .../moment/src/lib/utils/deprecate.js | 69 + node_modules/moment/src/lib/utils/extend.js | 19 + .../moment/src/lib/utils/has-own-prop.js | 3 + node_modules/moment/src/lib/utils/hooks.js | 13 + node_modules/moment/src/lib/utils/index-of.js | 18 + node_modules/moment/src/lib/utils/is-array.js | 6 + .../moment/src/lib/utils/is-calendar-spec.js | 25 + node_modules/moment/src/lib/utils/is-date.js | 6 + .../moment/src/lib/utils/is-function.js | 6 + .../moment/src/lib/utils/is-leap-year.js | 3 + .../moment/src/lib/utils/is-moment-input.js | 75 + .../moment/src/lib/utils/is-number.js | 6 + .../moment/src/lib/utils/is-object-empty.js | 15 + .../moment/src/lib/utils/is-object.js | 8 + .../moment/src/lib/utils/is-string.js | 3 + .../moment/src/lib/utils/is-undefined.js | 3 + node_modules/moment/src/lib/utils/keys.js | 20 + node_modules/moment/src/lib/utils/map.js | 9 + node_modules/moment/src/lib/utils/mod.js | 3 + node_modules/moment/src/lib/utils/some.js | 20 + node_modules/moment/src/lib/utils/to-int.js | 12 + .../moment/src/lib/utils/zero-fill.js | 10 + node_modules/moment/src/locale/af.js | 71 + node_modules/moment/src/locale/ar-dz.js | 156 + node_modules/moment/src/locale/ar-kw.js | 55 + node_modules/moment/src/locale/ar-ly.js | 171 + node_modules/moment/src/locale/ar-ma.js | 56 + node_modules/moment/src/locale/ar-ps.js | 112 + node_modules/moment/src/locale/ar-sa.js | 105 + node_modules/moment/src/locale/ar-tn.js | 55 + node_modules/moment/src/locale/ar.js | 189 + node_modules/moment/src/locale/az.js | 102 + node_modules/moment/src/locale/be.js | 142 + node_modules/moment/src/locale/bg.js | 87 + node_modules/moment/src/locale/bm.js | 52 + node_modules/moment/src/locale/bn-bd.js | 129 + node_modules/moment/src/locale/bn.js | 119 + node_modules/moment/src/locale/bo.js | 124 + node_modules/moment/src/locale/br.js | 168 + node_modules/moment/src/locale/bs.js | 160 + node_modules/moment/src/locale/ca.js | 100 + node_modules/moment/src/locale/cs.js | 181 + node_modules/moment/src/locale/cv.js | 63 + node_modules/moment/src/locale/cy.js | 98 + node_modules/moment/src/locale/da.js | 53 + node_modules/moment/src/locale/de-at.js | 79 + node_modules/moment/src/locale/de-ch.js | 78 + node_modules/moment/src/locale/de.js | 78 + node_modules/moment/src/locale/dv.js | 90 + node_modules/moment/src/locale/el.js | 106 + node_modules/moment/src/locale/en-au.js | 68 + node_modules/moment/src/locale/en-ca.js | 64 + node_modules/moment/src/locale/en-gb.js | 68 + node_modules/moment/src/locale/en-ie.js | 68 + node_modules/moment/src/locale/en-il.js | 64 + node_modules/moment/src/locale/en-in.js | 68 + node_modules/moment/src/locale/en-nz.js | 68 + node_modules/moment/src/locale/en-sg.js | 68 + node_modules/moment/src/locale/eo.js | 68 + node_modules/moment/src/locale/es-do.js | 108 + node_modules/moment/src/locale/es-mx.js | 110 + node_modules/moment/src/locale/es-us.js | 110 + node_modules/moment/src/locale/es.js | 110 + node_modules/moment/src/locale/et.js | 78 + node_modules/moment/src/locale/eu.js | 65 + node_modules/moment/src/locale/fa.js | 113 + node_modules/moment/src/locale/fi.js | 124 + node_modules/moment/src/locale/fil.js | 58 + node_modules/moment/src/locale/fo.js | 57 + node_modules/moment/src/locale/fr-ca.js | 70 + node_modules/moment/src/locale/fr-ch.js | 74 + node_modules/moment/src/locale/fr.js | 108 + node_modules/moment/src/locale/fy.js | 75 + node_modules/moment/src/locale/ga.js | 95 + node_modules/moment/src/locale/gd.js | 95 + node_modules/moment/src/locale/gl.js | 75 + node_modules/moment/src/locale/gom-deva.js | 126 + node_modules/moment/src/locale/gom-latn.js | 124 + node_modules/moment/src/locale/gu.js | 122 + node_modules/moment/src/locale/he.js | 94 + node_modules/moment/src/locale/hi.js | 168 + node_modules/moment/src/locale/hr.js | 156 + node_modules/moment/src/locale/hu.js | 118 + node_modules/moment/src/locale/hy-am.js | 94 + node_modules/moment/src/locale/id.js | 76 + node_modules/moment/src/locale/is.js | 140 + node_modules/moment/src/locale/it-ch.js | 64 + node_modules/moment/src/locale/it.js | 106 + node_modules/moment/src/locale/ja.js | 148 + node_modules/moment/src/locale/jv.js | 76 + node_modules/moment/src/locale/ka.js | 92 + node_modules/moment/src/locale/kk.js | 82 + node_modules/moment/src/locale/km.js | 103 + node_modules/moment/src/locale/kn.js | 124 + node_modules/moment/src/locale/ko.js | 75 + node_modules/moment/src/locale/ku-kmr.js | 121 + node_modules/moment/src/locale/ku.js | 118 + node_modules/moment/src/locale/ky.js | 84 + node_modules/moment/src/locale/lb.js | 137 + node_modules/moment/src/locale/lo.js | 66 + node_modules/moment/src/locale/lt.js | 125 + node_modules/moment/src/locale/lv.js | 94 + node_modules/moment/src/locale/me.js | 117 + node_modules/moment/src/locale/mi.js | 60 + node_modules/moment/src/locale/mk.js | 85 + node_modules/moment/src/locale/ml.js | 82 + node_modules/moment/src/locale/mn.js | 100 + node_modules/moment/src/locale/mr.js | 203 + node_modules/moment/src/locale/ms-my.js | 76 + node_modules/moment/src/locale/ms.js | 75 + node_modules/moment/src/locale/mt.js | 56 + node_modules/moment/src/locale/my.js | 91 + node_modules/moment/src/locale/nb.js | 60 + node_modules/moment/src/locale/ne.js | 121 + node_modules/moment/src/locale/nl-be.js | 102 + node_modules/moment/src/locale/nl.js | 104 + node_modules/moment/src/locale/nn.js | 59 + node_modules/moment/src/locale/oc-lnc.js | 85 + node_modules/moment/src/locale/pa-in.js | 122 + node_modules/moment/src/locale/pl.js | 140 + node_modules/moment/src/locale/pt-br.js | 58 + node_modules/moment/src/locale/pt.js | 63 + node_modules/moment/src/locale/ro.js | 76 + node_modules/moment/src/locale/ru.js | 213 + node_modules/moment/src/locale/sd.js | 81 + node_modules/moment/src/locale/se.js | 57 + node_modules/moment/src/locale/si.js | 69 + node_modules/moment/src/locale/sk.js | 145 + node_modules/moment/src/locale/sl.js | 171 + node_modules/moment/src/locale/sq.js | 65 + node_modules/moment/src/locale/sr-cyrl.js | 127 + node_modules/moment/src/locale/sr.js | 129 + node_modules/moment/src/locale/ss.js | 84 + node_modules/moment/src/locale/sv.js | 68 + node_modules/moment/src/locale/sw.js | 55 + node_modules/moment/src/locale/ta.js | 131 + node_modules/moment/src/locale/te.js | 88 + node_modules/moment/src/locale/tet.js | 68 + node_modules/moment/src/locale/tg.js | 117 + node_modules/moment/src/locale/th.js | 65 + node_modules/moment/src/locale/tk.js | 91 + node_modules/moment/src/locale/tl-ph.js | 57 + node_modules/moment/src/locale/tlh.js | 124 + node_modules/moment/src/locale/tr.js | 106 + node_modules/moment/src/locale/tzl.js | 89 + node_modules/moment/src/locale/tzm-latn.js | 54 + node_modules/moment/src/locale/tzm.js | 54 + node_modules/moment/src/locale/ug-cn.js | 111 + node_modules/moment/src/locale/uk.js | 167 + node_modules/moment/src/locale/ur.js | 82 + node_modules/moment/src/locale/uz-latn.js | 54 + node_modules/moment/src/locale/uz.js | 51 + node_modules/moment/src/locale/vi.js | 80 + node_modules/moment/src/locale/x-pseudo.js | 73 + node_modules/moment/src/locale/yo.js | 53 + node_modules/moment/src/locale/zh-cn.js | 120 + node_modules/moment/src/locale/zh-hk.js | 101 + node_modules/moment/src/locale/zh-mo.js | 100 + node_modules/moment/src/locale/zh-tw.js | 99 + node_modules/moment/src/moment.js | 93 + node_modules/moment/ts3.1-typings/moment.d.ts | 785 + node_modules/ms/index.js | 152 + node_modules/ms/license.md | 21 + node_modules/ms/package.json | 37 + node_modules/ms/readme.md | 51 + node_modules/negotiator/HISTORY.md | 108 + node_modules/negotiator/LICENSE | 24 + node_modules/negotiator/README.md | 203 + node_modules/negotiator/index.js | 82 + node_modules/negotiator/lib/charset.js | 169 + node_modules/negotiator/lib/encoding.js | 184 + node_modules/negotiator/lib/language.js | 179 + node_modules/negotiator/lib/mediaType.js | 294 + node_modules/negotiator/package.json | 42 + node_modules/object-assign/index.js | 90 + node_modules/object-assign/license | 21 + node_modules/object-assign/package.json | 42 + node_modules/object-assign/readme.md | 61 + node_modules/object-hash/LICENSE | 22 + node_modules/object-hash/dist/object_hash.js | 1 + node_modules/object-hash/index.js | 453 + node_modules/object-hash/package.json | 53 + node_modules/object-hash/readme.markdown | 198 + node_modules/object-inspect/.eslintrc | 53 + .../object-inspect/.github/FUNDING.yml | 12 + node_modules/object-inspect/.nycrc | 13 + node_modules/object-inspect/CHANGELOG.md | 424 + node_modules/object-inspect/LICENSE | 21 + node_modules/object-inspect/example/all.js | 23 + .../object-inspect/example/circular.js | 6 + node_modules/object-inspect/example/fn.js | 5 + .../object-inspect/example/inspect.js | 10 + node_modules/object-inspect/index.js | 544 + .../object-inspect/package-support.json | 20 + node_modules/object-inspect/package.json | 105 + node_modules/object-inspect/readme.markdown | 84 + node_modules/object-inspect/test-core-js.js | 26 + node_modules/object-inspect/test/bigint.js | 58 + .../object-inspect/test/browser/dom.js | 15 + node_modules/object-inspect/test/circular.js | 16 + node_modules/object-inspect/test/deep.js | 12 + node_modules/object-inspect/test/element.js | 53 + node_modules/object-inspect/test/err.js | 48 + node_modules/object-inspect/test/fakes.js | 29 + node_modules/object-inspect/test/fn.js | 76 + node_modules/object-inspect/test/global.js | 17 + node_modules/object-inspect/test/has.js | 15 + node_modules/object-inspect/test/holes.js | 15 + .../object-inspect/test/indent-option.js | 271 + node_modules/object-inspect/test/inspect.js | 139 + node_modules/object-inspect/test/lowbyte.js | 12 + node_modules/object-inspect/test/number.js | 58 + .../object-inspect/test/quoteStyle.js | 26 + .../object-inspect/test/toStringTag.js | 40 + node_modules/object-inspect/test/undef.js | 12 + node_modules/object-inspect/test/values.js | 261 + node_modules/object-inspect/util.inspect.js | 1 + node_modules/on-finished/HISTORY.md | 98 + node_modules/on-finished/LICENSE | 23 + node_modules/on-finished/README.md | 162 + node_modules/on-finished/index.js | 234 + node_modules/on-finished/package.json | 39 + node_modules/one-time/LICENSE | 22 + node_modules/one-time/README.md | 88 + node_modules/one-time/async.js | 43 + node_modules/one-time/index.js | 42 + node_modules/one-time/package.json | 34 + node_modules/parseurl/HISTORY.md | 58 + node_modules/parseurl/LICENSE | 24 + node_modules/parseurl/README.md | 133 + node_modules/parseurl/index.js | 158 + node_modules/parseurl/package.json | 40 + node_modules/path-expression-matcher/LICENSE | 21 + .../path-expression-matcher/README.md | 720 + .../path-expression-matcher/lib/pem.cjs | 1 + .../path-expression-matcher/lib/pem.d.cts | 523 + .../path-expression-matcher/lib/pem.min.js | 2 + .../lib/pem.min.js.map | 1 + .../path-expression-matcher/package.json | 78 + .../path-expression-matcher/src/Expression.js | 232 + .../path-expression-matcher/src/Matcher.js | 512 + .../path-expression-matcher/src/index.d.ts | 518 + .../path-expression-matcher/src/index.js | 28 + node_modules/path-to-regexp/LICENSE | 21 + node_modules/path-to-regexp/Readme.md | 35 + node_modules/path-to-regexp/index.js | 158 + node_modules/path-to-regexp/package.json | 30 + node_modules/proxy-addr/HISTORY.md | 161 + node_modules/proxy-addr/LICENSE | 22 + node_modules/proxy-addr/README.md | 139 + node_modules/proxy-addr/index.js | 327 + node_modules/proxy-addr/package.json | 47 + node_modules/qs/.editorconfig | 46 + node_modules/qs/.github/FUNDING.yml | 12 + node_modules/qs/.github/SECURITY.md | 11 + node_modules/qs/.github/THREAT_MODEL.md | 78 + node_modules/qs/.nycrc | 13 + node_modules/qs/CHANGELOG.md | 644 + node_modules/qs/LICENSE.md | 29 + node_modules/qs/README.md | 740 + node_modules/qs/dist/qs.js | 141 + node_modules/qs/eslint.config.mjs | 56 + node_modules/qs/lib/formats.js | 23 + node_modules/qs/lib/index.js | 11 + node_modules/qs/lib/parse.js | 371 + node_modules/qs/lib/stringify.js | 356 + node_modules/qs/lib/utils.js | 340 + node_modules/qs/package.json | 94 + node_modules/qs/test/empty-keys-cases.js | 267 + node_modules/qs/test/parse.js | 1512 ++ node_modules/qs/test/stringify.js | 1310 ++ node_modules/qs/test/utils.js | 397 + node_modules/range-parser/HISTORY.md | 56 + node_modules/range-parser/LICENSE | 23 + node_modules/range-parser/README.md | 84 + node_modules/range-parser/index.js | 162 + node_modules/range-parser/package.json | 44 + node_modules/raw-body/LICENSE | 22 + node_modules/raw-body/README.md | 223 + node_modules/raw-body/index.d.ts | 87 + node_modules/raw-body/index.js | 336 + node_modules/raw-body/package.json | 47 + node_modules/readable-stream/CONTRIBUTING.md | 38 + node_modules/readable-stream/GOVERNANCE.md | 136 + node_modules/readable-stream/LICENSE | 47 + node_modules/readable-stream/README.md | 106 + .../readable-stream/errors-browser.js | 127 + node_modules/readable-stream/errors.js | 116 + .../readable-stream/experimentalWarning.js | 17 + .../readable-stream/lib/_stream_duplex.js | 126 + .../lib/_stream_passthrough.js | 37 + .../readable-stream/lib/_stream_readable.js | 1027 + .../readable-stream/lib/_stream_transform.js | 190 + .../readable-stream/lib/_stream_writable.js | 641 + .../lib/internal/streams/async_iterator.js | 180 + .../lib/internal/streams/buffer_list.js | 183 + .../lib/internal/streams/destroy.js | 96 + .../lib/internal/streams/end-of-stream.js | 86 + .../lib/internal/streams/from-browser.js | 3 + .../lib/internal/streams/from.js | 52 + .../lib/internal/streams/pipeline.js | 86 + .../lib/internal/streams/state.js | 22 + .../lib/internal/streams/stream-browser.js | 1 + .../lib/internal/streams/stream.js | 1 + node_modules/readable-stream/package.json | 68 + .../readable-stream/readable-browser.js | 9 + node_modules/readable-stream/readable.js | 16 + node_modules/redis-errors/.npmignore | 15 + node_modules/redis-errors/LICENSE | 22 + node_modules/redis-errors/README.md | 116 + node_modules/redis-errors/index.js | 7 + node_modules/redis-errors/lib/modern.js | 59 + node_modules/redis-errors/lib/old.js | 119 + node_modules/redis-errors/package.json | 41 + node_modules/redis-parser/.npmignore | 15 + node_modules/redis-parser/LICENSE | 22 + node_modules/redis-parser/README.md | 166 + node_modules/redis-parser/changelog.md | 156 + node_modules/redis-parser/index.js | 3 + node_modules/redis-parser/lib/parser.js | 552 + node_modules/redis-parser/package.json | 53 + node_modules/safe-buffer/LICENSE | 21 + node_modules/safe-buffer/README.md | 584 + node_modules/safe-buffer/index.d.ts | 187 + node_modules/safe-buffer/index.js | 65 + node_modules/safe-buffer/package.json | 51 + node_modules/safe-stable-stringify/LICENSE | 21 + .../safe-stable-stringify/esm/package.json | 4 + .../safe-stable-stringify/esm/wrapper.d.ts | 4 + .../safe-stable-stringify/esm/wrapper.js | 6 + node_modules/safe-stable-stringify/index.d.ts | 22 + node_modules/safe-stable-stringify/index.js | 625 + .../safe-stable-stringify/package.json | 65 + node_modules/safe-stable-stringify/readme.md | 179 + node_modules/safer-buffer/LICENSE | 21 + node_modules/safer-buffer/Porting-Buffer.md | 268 + node_modules/safer-buffer/Readme.md | 156 + node_modules/safer-buffer/dangerous.js | 58 + node_modules/safer-buffer/package.json | 34 + node_modules/safer-buffer/safer.js | 77 + node_modules/safer-buffer/tests.js | 406 + node_modules/send/HISTORY.md | 538 + node_modules/send/LICENSE | 23 + node_modules/send/README.md | 327 + node_modules/send/SECURITY.md | 24 + node_modules/send/index.js | 1142 + node_modules/send/node_modules/ms/index.js | 162 + node_modules/send/node_modules/ms/license.md | 21 + .../send/node_modules/ms/package.json | 38 + node_modules/send/node_modules/ms/readme.md | 59 + node_modules/send/package.json | 62 + node_modules/serve-static/HISTORY.md | 493 + node_modules/serve-static/LICENSE | 25 + node_modules/serve-static/README.md | 257 + node_modules/serve-static/index.js | 209 + node_modules/serve-static/package.json | 42 + node_modules/setprototypeof/LICENSE | 13 + node_modules/setprototypeof/README.md | 31 + node_modules/setprototypeof/index.d.ts | 2 + node_modules/setprototypeof/index.js | 17 + node_modules/setprototypeof/package.json | 38 + node_modules/setprototypeof/test/index.js | 24 + node_modules/side-channel-list/.editorconfig | 9 + node_modules/side-channel-list/.eslintrc | 11 + .../side-channel-list/.github/FUNDING.yml | 12 + node_modules/side-channel-list/.nycrc | 13 + node_modules/side-channel-list/CHANGELOG.md | 15 + node_modules/side-channel-list/LICENSE | 21 + node_modules/side-channel-list/README.md | 62 + node_modules/side-channel-list/index.d.ts | 13 + node_modules/side-channel-list/index.js | 113 + node_modules/side-channel-list/list.d.ts | 14 + node_modules/side-channel-list/package.json | 77 + node_modules/side-channel-list/test/index.js | 104 + node_modules/side-channel-list/tsconfig.json | 9 + node_modules/side-channel-map/.editorconfig | 9 + node_modules/side-channel-map/.eslintrc | 11 + .../side-channel-map/.github/FUNDING.yml | 12 + node_modules/side-channel-map/.nycrc | 13 + node_modules/side-channel-map/CHANGELOG.md | 22 + node_modules/side-channel-map/LICENSE | 21 + node_modules/side-channel-map/README.md | 62 + node_modules/side-channel-map/index.d.ts | 15 + node_modules/side-channel-map/index.js | 68 + node_modules/side-channel-map/package.json | 80 + node_modules/side-channel-map/test/index.js | 114 + node_modules/side-channel-map/tsconfig.json | 9 + .../side-channel-weakmap/.editorconfig | 9 + node_modules/side-channel-weakmap/.eslintrc | 12 + .../side-channel-weakmap/.github/FUNDING.yml | 12 + node_modules/side-channel-weakmap/.nycrc | 13 + .../side-channel-weakmap/CHANGELOG.md | 28 + node_modules/side-channel-weakmap/LICENSE | 21 + node_modules/side-channel-weakmap/README.md | 62 + node_modules/side-channel-weakmap/index.d.ts | 15 + node_modules/side-channel-weakmap/index.js | 84 + .../side-channel-weakmap/package.json | 87 + .../side-channel-weakmap/test/index.js | 114 + .../side-channel-weakmap/tsconfig.json | 9 + node_modules/side-channel/.editorconfig | 9 + node_modules/side-channel/.eslintrc | 12 + node_modules/side-channel/.github/FUNDING.yml | 12 + node_modules/side-channel/.nycrc | 13 + node_modules/side-channel/CHANGELOG.md | 110 + node_modules/side-channel/LICENSE | 21 + node_modules/side-channel/README.md | 61 + node_modules/side-channel/index.d.ts | 14 + node_modules/side-channel/index.js | 43 + node_modules/side-channel/package.json | 85 + node_modules/side-channel/test/index.js | 104 + node_modules/side-channel/tsconfig.json | 9 + node_modules/stack-trace/.npmignore | 1 + node_modules/stack-trace/License | 19 + node_modules/stack-trace/Makefile | 11 + node_modules/stack-trace/Readme.md | 98 + node_modules/stack-trace/lib/stack-trace.js | 136 + node_modules/stack-trace/package.json | 21 + node_modules/standard-as-callback/LICENSE | 22 + node_modules/standard-as-callback/README.md | 33 + .../standard-as-callback/built/index.d.ts | 5 + .../standard-as-callback/built/index.js | 41 + .../standard-as-callback/built/types.d.ts | 1 + .../standard-as-callback/built/types.js | 2 + .../standard-as-callback/built/utils.d.ts | 9 + .../standard-as-callback/built/utils.js | 23 + .../standard-as-callback/package.json | 40 + node_modules/statuses/HISTORY.md | 87 + node_modules/statuses/LICENSE | 23 + node_modules/statuses/README.md | 139 + node_modules/statuses/codes.json | 65 + node_modules/statuses/index.js | 146 + node_modules/statuses/package.json | 49 + node_modules/string_decoder/LICENSE | 48 + node_modules/string_decoder/README.md | 47 + .../string_decoder/lib/string_decoder.js | 296 + node_modules/string_decoder/package.json | 34 + node_modules/strnum/.github/SECURITY.md | 5 + node_modules/strnum/.vscode/launch.json | 25 + node_modules/strnum/CHANGELOG.md | 40 + node_modules/strnum/LICENSE | 21 + node_modules/strnum/README.md | 104 + node_modules/strnum/algo.stflow | 84 + node_modules/strnum/package.json | 31 + node_modules/strnum/strnum.js | 161 + node_modules/strnum/tests/infinity_test.js | 18 + node_modules/strnum/tests/strnum_test.js | 175 + node_modules/strnum/tests/temp.js | 8 + node_modules/text-hex/LICENSE | 21 + node_modules/text-hex/README.md | 20 + node_modules/text-hex/index.js | 24 + node_modules/text-hex/package.json | 30 + node_modules/text-hex/test.js | 11 + node_modules/toidentifier/HISTORY.md | 9 + node_modules/toidentifier/LICENSE | 21 + node_modules/toidentifier/README.md | 61 + node_modules/toidentifier/index.js | 32 + node_modules/toidentifier/package.json | 38 + .../c579bf8f-6820-47a5-b2da-a11267eb8435.json | 1 + .../c579bf8f-6820-47a5-b2da-a11267eb8435.json | 1 + .../.nyc_output/processinfo/index.json | 1 + node_modules/triple-beam/CHANGELOG.md | 22 + node_modules/triple-beam/LICENSE | 21 + node_modules/triple-beam/README.md | 34 + node_modules/triple-beam/config/cli.js | 42 + node_modules/triple-beam/config/index.js | 32 + node_modules/triple-beam/config/npm.js | 36 + node_modules/triple-beam/config/syslog.js | 38 + node_modules/triple-beam/index.js | 46 + node_modules/triple-beam/package.json | 40 + node_modules/tslib/CopyrightNotice.txt | 15 + node_modules/tslib/LICENSE.txt | 12 + node_modules/tslib/README.md | 164 + node_modules/tslib/SECURITY.md | 41 + node_modules/tslib/modules/index.d.ts | 38 + node_modules/tslib/modules/index.js | 70 + node_modules/tslib/modules/package.json | 3 + node_modules/tslib/package.json | 47 + node_modules/tslib/tslib.d.ts | 460 + node_modules/tslib/tslib.es6.html | 1 + node_modules/tslib/tslib.es6.js | 402 + node_modules/tslib/tslib.es6.mjs | 401 + node_modules/tslib/tslib.html | 1 + node_modules/tslib/tslib.js | 484 + node_modules/type-is/HISTORY.md | 259 + node_modules/type-is/LICENSE | 23 + node_modules/type-is/README.md | 170 + node_modules/type-is/index.js | 266 + node_modules/type-is/package.json | 45 + node_modules/unpipe/HISTORY.md | 4 + node_modules/unpipe/LICENSE | 22 + node_modules/unpipe/README.md | 43 + node_modules/unpipe/index.js | 69 + node_modules/unpipe/package.json | 27 + node_modules/util-deprecate/History.md | 16 + node_modules/util-deprecate/LICENSE | 24 + node_modules/util-deprecate/README.md | 53 + node_modules/util-deprecate/browser.js | 67 + node_modules/util-deprecate/node.js | 6 + node_modules/util-deprecate/package.json | 27 + node_modules/utils-merge/.npmignore | 9 + node_modules/utils-merge/LICENSE | 20 + node_modules/utils-merge/README.md | 34 + node_modules/utils-merge/index.js | 23 + node_modules/utils-merge/package.json | 40 + node_modules/vary/HISTORY.md | 39 + node_modules/vary/LICENSE | 22 + node_modules/vary/README.md | 101 + node_modules/vary/index.js | 149 + node_modules/vary/package.json | 43 + node_modules/which/CHANGELOG.md | 152 + node_modules/which/LICENSE | 15 + node_modules/which/README.md | 51 + node_modules/which/bin/which | 52 + node_modules/which/package.json | 30 + node_modules/which/which.js | 135 + .../winston-daily-rotate-file/LICENSE | 22 + .../winston-daily-rotate-file/README.md | 206 + .../daily-rotate-file.js | 368 + .../winston-daily-rotate-file/index.d.ts | 120 + .../winston-daily-rotate-file/index.js | 5 + .../winston-daily-rotate-file/package.json | 54 + node_modules/winston-transport/.babelrc | 3 + node_modules/winston-transport/.eslintrc | 7 + node_modules/winston-transport/.gitattributes | 1 + .../68e78020-c804-4f37-a68a-a967c6380da9.json | 1 + .../68e78020-c804-4f37-a68a-a967c6380da9.json | 1 + .../.nyc_output/processinfo/index.json | 1 + node_modules/winston-transport/CHANGELOG.md | 126 + node_modules/winston-transport/LICENSE | 22 + node_modules/winston-transport/README.md | 50 + node_modules/winston-transport/dist/index.js | 8 + node_modules/winston-transport/dist/legacy.js | 116 + node_modules/winston-transport/dist/modern.js | 212 + node_modules/winston-transport/index.d.ts | 39 + node_modules/winston-transport/index.js | 7 + node_modules/winston-transport/legacy.js | 119 + node_modules/winston-transport/modern.js | 211 + node_modules/winston-transport/package.json | 52 + node_modules/winston/LICENSE | 19 + node_modules/winston/README.md | 1273 ++ node_modules/winston/dist/winston.js | 171 + node_modules/winston/dist/winston/common.js | 44 + .../winston/dist/winston/config/index.js | 36 + .../winston/dist/winston/container.js | 141 + .../winston/dist/winston/create-logger.js | 123 + .../winston/dist/winston/exception-handler.js | 265 + .../winston/dist/winston/exception-stream.js | 75 + node_modules/winston/dist/winston/logger.js | 697 + node_modules/winston/dist/winston/profiler.js | 64 + .../winston/dist/winston/rejection-handler.js | 265 + .../winston/dist/winston/rejection-stream.js | 72 + .../winston/dist/winston/tail-file.js | 113 + .../dist/winston/transports/console.js | 143 + .../winston/dist/winston/transports/file.js | 825 + .../winston/dist/winston/transports/http.js | 288 + .../winston/dist/winston/transports/index.js | 56 + .../winston/dist/winston/transports/stream.js | 86 + node_modules/winston/index.d.ts | 208 + node_modules/winston/lib/winston.js | 191 + node_modules/winston/lib/winston/common.js | 46 + .../winston/lib/winston/config/index.d.ts | 99 + .../winston/lib/winston/config/index.js | 35 + node_modules/winston/lib/winston/container.js | 118 + .../winston/lib/winston/create-logger.js | 104 + .../winston/lib/winston/exception-handler.js | 245 + .../winston/lib/winston/exception-stream.js | 54 + node_modules/winston/lib/winston/logger.js | 700 + node_modules/winston/lib/winston/profiler.js | 53 + .../winston/lib/winston/rejection-handler.js | 251 + .../winston/lib/winston/rejection-stream.js | 52 + node_modules/winston/lib/winston/tail-file.js | 124 + .../winston/lib/winston/transports/console.js | 125 + .../winston/lib/winston/transports/file.js | 795 + .../winston/lib/winston/transports/http.js | 262 + .../winston/lib/winston/transports/index.d.ts | 117 + .../winston/lib/winston/transports/index.js | 56 + .../winston/lib/winston/transports/stream.js | 63 + .../winston/node_modules/async/CHANGELOG.md | 351 + .../winston/node_modules/async/LICENSE | 19 + .../winston/node_modules/async/README.md | 59 + .../winston/node_modules/async/all.js | 119 + .../winston/node_modules/async/allLimit.js | 46 + .../winston/node_modules/async/allSeries.js | 45 + .../winston/node_modules/async/any.js | 122 + .../winston/node_modules/async/anyLimit.js | 47 + .../winston/node_modules/async/anySeries.js | 46 + .../winston/node_modules/async/apply.js | 11 + .../winston/node_modules/async/applyEach.js | 57 + .../node_modules/async/applyEachSeries.js | 37 + .../winston/node_modules/async/asyncify.js | 118 + .../winston/node_modules/async/auto.js | 333 + .../winston/node_modules/async/autoInject.js | 182 + .../winston/node_modules/async/bower.json | 17 + .../winston/node_modules/async/cargo.js | 63 + .../winston/node_modules/async/cargoQueue.js | 71 + .../winston/node_modules/async/compose.js | 55 + .../winston/node_modules/async/concat.js | 115 + .../winston/node_modules/async/concatLimit.js | 60 + .../node_modules/async/concatSeries.js | 41 + .../winston/node_modules/async/constant.js | 14 + .../winston/node_modules/async/detect.js | 96 + .../winston/node_modules/async/detectLimit.js | 48 + .../node_modules/async/detectSeries.js | 47 + .../winston/node_modules/async/dir.js | 43 + .../winston/node_modules/async/dist/async.js | 6061 +++++ .../node_modules/async/dist/async.min.js | 1 + .../winston/node_modules/async/dist/async.mjs | 5948 +++++ .../winston/node_modules/async/doDuring.js | 68 + .../winston/node_modules/async/doUntil.js | 46 + .../winston/node_modules/async/doWhilst.js | 68 + .../winston/node_modules/async/during.js | 78 + .../winston/node_modules/async/each.js | 129 + .../winston/node_modules/async/eachLimit.js | 50 + .../winston/node_modules/async/eachOf.js | 185 + .../winston/node_modules/async/eachOfLimit.js | 47 + .../node_modules/async/eachOfSeries.js | 39 + .../winston/node_modules/async/eachSeries.js | 44 + .../winston/node_modules/async/ensureAsync.js | 67 + .../winston/node_modules/async/every.js | 119 + .../winston/node_modules/async/everyLimit.js | 46 + .../winston/node_modules/async/everySeries.js | 45 + .../winston/node_modules/async/filter.js | 93 + .../winston/node_modules/async/filterLimit.js | 45 + .../node_modules/async/filterSeries.js | 43 + .../winston/node_modules/async/find.js | 96 + .../winston/node_modules/async/findLimit.js | 48 + .../winston/node_modules/async/findSeries.js | 47 + .../winston/node_modules/async/flatMap.js | 115 + .../node_modules/async/flatMapLimit.js | 60 + .../node_modules/async/flatMapSeries.js | 41 + .../winston/node_modules/async/foldl.js | 153 + .../winston/node_modules/async/foldr.js | 41 + .../winston/node_modules/async/forEach.js | 129 + .../node_modules/async/forEachLimit.js | 50 + .../winston/node_modules/async/forEachOf.js | 185 + .../node_modules/async/forEachOfLimit.js | 47 + .../node_modules/async/forEachOfSeries.js | 39 + .../node_modules/async/forEachSeries.js | 44 + .../winston/node_modules/async/forever.js | 68 + .../winston/node_modules/async/groupBy.js | 108 + .../node_modules/async/groupByLimit.js | 71 + .../node_modules/async/groupBySeries.js | 36 + .../winston/node_modules/async/index.js | 588 + .../winston/node_modules/async/inject.js | 153 + .../async/internal/DoublyLinkedList.js | 92 + .../node_modules/async/internal/Heap.js | 120 + .../node_modules/async/internal/applyEach.js | 29 + .../async/internal/asyncEachOfLimit.js | 75 + .../node_modules/async/internal/awaitify.js | 28 + .../node_modules/async/internal/breakLoop.js | 10 + .../async/internal/consoleFunc.js | 31 + .../async/internal/createTester.js | 40 + .../async/internal/eachOfLimit.js | 90 + .../node_modules/async/internal/filter.js | 55 + .../async/internal/getIterator.js | 11 + .../async/internal/initialParams.js | 14 + .../async/internal/isArrayLike.js | 10 + .../node_modules/async/internal/iterator.js | 57 + .../node_modules/async/internal/map.js | 30 + .../node_modules/async/internal/once.js | 17 + .../node_modules/async/internal/onlyOnce.js | 15 + .../node_modules/async/internal/parallel.js | 34 + .../async/internal/promiseCallback.js | 23 + .../node_modules/async/internal/queue.js | 294 + .../node_modules/async/internal/range.js | 14 + .../node_modules/async/internal/reject.js | 26 + .../async/internal/setImmediate.js | 34 + .../async/internal/withoutIndex.js | 10 + .../node_modules/async/internal/wrapAsync.js | 34 + .../winston/node_modules/async/log.js | 41 + .../winston/node_modules/async/map.js | 142 + .../winston/node_modules/async/mapLimit.js | 45 + .../winston/node_modules/async/mapSeries.js | 44 + .../winston/node_modules/async/mapValues.js | 152 + .../node_modules/async/mapValuesLimit.js | 61 + .../node_modules/async/mapValuesSeries.js | 37 + .../winston/node_modules/async/memoize.js | 91 + .../winston/node_modules/async/nextTick.js | 52 + .../winston/node_modules/async/package.json | 75 + .../winston/node_modules/async/parallel.js | 180 + .../node_modules/async/parallelLimit.js | 41 + .../node_modules/async/priorityQueue.js | 60 + .../winston/node_modules/async/queue.js | 24 + .../winston/node_modules/async/race.js | 67 + .../winston/node_modules/async/reduce.js | 153 + .../winston/node_modules/async/reduceRight.js | 41 + .../winston/node_modules/async/reflect.js | 78 + .../winston/node_modules/async/reflectAll.js | 93 + .../winston/node_modules/async/reject.js | 87 + .../winston/node_modules/async/rejectLimit.js | 45 + .../node_modules/async/rejectSeries.js | 43 + .../winston/node_modules/async/retry.js | 159 + .../winston/node_modules/async/retryable.js | 77 + .../winston/node_modules/async/select.js | 93 + .../winston/node_modules/async/selectLimit.js | 45 + .../node_modules/async/selectSeries.js | 43 + .../winston/node_modules/async/seq.js | 79 + .../winston/node_modules/async/series.js | 186 + .../node_modules/async/setImmediate.js | 45 + .../winston/node_modules/async/some.js | 122 + .../winston/node_modules/async/someLimit.js | 47 + .../winston/node_modules/async/someSeries.js | 46 + .../winston/node_modules/async/sortBy.js | 190 + .../winston/node_modules/async/timeout.js | 89 + .../winston/node_modules/async/times.js | 50 + .../winston/node_modules/async/timesLimit.js | 43 + .../winston/node_modules/async/timesSeries.js | 32 + .../winston/node_modules/async/transform.js | 173 + .../winston/node_modules/async/tryEach.js | 78 + .../winston/node_modules/async/unmemoize.js | 25 + .../winston/node_modules/async/until.js | 61 + .../winston/node_modules/async/waterfall.js | 105 + .../winston/node_modules/async/whilst.js | 78 + .../winston/node_modules/async/wrapSync.js | 118 + node_modules/winston/package.json | 74 + node_modules/ws/LICENSE | 20 + node_modules/ws/README.md | 548 + node_modules/ws/browser.js | 8 + node_modules/ws/index.js | 22 + node_modules/ws/lib/buffer-util.js | 131 + node_modules/ws/lib/constants.js | 19 + node_modules/ws/lib/event-target.js | 292 + node_modules/ws/lib/extension.js | 203 + node_modules/ws/lib/limiter.js | 55 + node_modules/ws/lib/permessage-deflate.js | 528 + node_modules/ws/lib/receiver.js | 706 + node_modules/ws/lib/sender.js | 602 + node_modules/ws/lib/stream.js | 161 + node_modules/ws/lib/subprotocol.js | 62 + node_modules/ws/lib/validation.js | 152 + node_modules/ws/lib/websocket-server.js | 554 + node_modules/ws/lib/websocket.js | 1393 ++ node_modules/ws/package.json | 70 + node_modules/ws/wrapper.mjs | 21 + package-lock.json | 3018 +++ package.json | 4 +- server.js | 58 + 5971 files changed, 515160 insertions(+), 18 deletions(-) delete mode 100644 ecosystem.config.js create mode 100644 node_modules/.bin/fxparser create mode 100644 node_modules/.bin/fxparser.cmd create mode 100644 node_modules/.bin/fxparser.ps1 create mode 100644 node_modules/.bin/mime create mode 100644 node_modules/.bin/mime.cmd create mode 100644 node_modules/.bin/mime.ps1 create mode 100644 node_modules/.bin/which create mode 100644 node_modules/.bin/which.cmd create mode 100644 node_modules/.bin/which.ps1 create mode 100644 node_modules/.package-lock.json create mode 100644 node_modules/@aws-crypto/crc32/CHANGELOG.md create mode 100644 node_modules/@aws-crypto/crc32/LICENSE create mode 100644 node_modules/@aws-crypto/crc32/README.md create mode 100644 node_modules/@aws-crypto/crc32/build/main/aws_crc32.d.ts create mode 100644 node_modules/@aws-crypto/crc32/build/main/aws_crc32.js create mode 100644 node_modules/@aws-crypto/crc32/build/main/aws_crc32.js.map create mode 100644 node_modules/@aws-crypto/crc32/build/main/index.d.ts create mode 100644 node_modules/@aws-crypto/crc32/build/main/index.js create mode 100644 node_modules/@aws-crypto/crc32/build/main/index.js.map create mode 100644 node_modules/@aws-crypto/crc32/build/module/aws_crc32.d.ts create mode 100644 node_modules/@aws-crypto/crc32/build/module/aws_crc32.js create mode 100644 node_modules/@aws-crypto/crc32/build/module/aws_crc32.js.map create mode 100644 node_modules/@aws-crypto/crc32/build/module/index.d.ts create mode 100644 node_modules/@aws-crypto/crc32/build/module/index.js create mode 100644 node_modules/@aws-crypto/crc32/build/module/index.js.map create mode 100644 node_modules/@aws-crypto/crc32/package.json create mode 100644 node_modules/@aws-crypto/crc32/src/aws_crc32.ts create mode 100644 node_modules/@aws-crypto/crc32/src/index.ts create mode 100644 node_modules/@aws-crypto/crc32/tsconfig.json create mode 100644 node_modules/@aws-crypto/crc32/tsconfig.module.json create mode 100644 node_modules/@aws-crypto/crc32c/CHANGELOG.md create mode 100644 node_modules/@aws-crypto/crc32c/LICENSE create mode 100644 node_modules/@aws-crypto/crc32c/README.md create mode 100644 node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.d.ts create mode 100644 node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js create mode 100644 node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js.map create mode 100644 node_modules/@aws-crypto/crc32c/build/main/index.d.ts create mode 100644 node_modules/@aws-crypto/crc32c/build/main/index.js create mode 100644 node_modules/@aws-crypto/crc32c/build/main/index.js.map create mode 100644 node_modules/@aws-crypto/crc32c/build/module/aws_crc32c.d.ts create mode 100644 node_modules/@aws-crypto/crc32c/build/module/aws_crc32c.js create mode 100644 node_modules/@aws-crypto/crc32c/build/module/aws_crc32c.js.map create mode 100644 node_modules/@aws-crypto/crc32c/build/module/index.d.ts create mode 100644 node_modules/@aws-crypto/crc32c/build/module/index.js create mode 100644 node_modules/@aws-crypto/crc32c/build/module/index.js.map create mode 100644 node_modules/@aws-crypto/crc32c/package.json create mode 100644 node_modules/@aws-crypto/crc32c/src/aws_crc32c.ts create mode 100644 node_modules/@aws-crypto/crc32c/src/index.ts create mode 100644 node_modules/@aws-crypto/crc32c/tsconfig.json create mode 100644 node_modules/@aws-crypto/crc32c/tsconfig.module.json create mode 100644 node_modules/@aws-crypto/sha1-browser/CHANGELOG.md create mode 100644 node_modules/@aws-crypto/sha1-browser/LICENSE create mode 100644 node_modules/@aws-crypto/sha1-browser/README.md create mode 100644 node_modules/@aws-crypto/sha1-browser/build/main/constants.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/build/main/constants.js create mode 100644 node_modules/@aws-crypto/sha1-browser/build/main/constants.js.map create mode 100644 node_modules/@aws-crypto/sha1-browser/build/main/crossPlatformSha1.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/build/main/crossPlatformSha1.js create mode 100644 node_modules/@aws-crypto/sha1-browser/build/main/crossPlatformSha1.js.map create mode 100644 node_modules/@aws-crypto/sha1-browser/build/main/index.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/build/main/index.js create mode 100644 node_modules/@aws-crypto/sha1-browser/build/main/index.js.map create mode 100644 node_modules/@aws-crypto/sha1-browser/build/main/isEmptyData.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/build/main/isEmptyData.js create mode 100644 node_modules/@aws-crypto/sha1-browser/build/main/isEmptyData.js.map create mode 100644 node_modules/@aws-crypto/sha1-browser/build/main/webCryptoSha1.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/build/main/webCryptoSha1.js create mode 100644 node_modules/@aws-crypto/sha1-browser/build/main/webCryptoSha1.js.map create mode 100644 node_modules/@aws-crypto/sha1-browser/build/module/constants.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/build/module/constants.js create mode 100644 node_modules/@aws-crypto/sha1-browser/build/module/constants.js.map create mode 100644 node_modules/@aws-crypto/sha1-browser/build/module/crossPlatformSha1.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/build/module/crossPlatformSha1.js create mode 100644 node_modules/@aws-crypto/sha1-browser/build/module/crossPlatformSha1.js.map create mode 100644 node_modules/@aws-crypto/sha1-browser/build/module/index.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/build/module/index.js create mode 100644 node_modules/@aws-crypto/sha1-browser/build/module/index.js.map create mode 100644 node_modules/@aws-crypto/sha1-browser/build/module/isEmptyData.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/build/module/isEmptyData.js create mode 100644 node_modules/@aws-crypto/sha1-browser/build/module/isEmptyData.js.map create mode 100644 node_modules/@aws-crypto/sha1-browser/build/module/webCryptoSha1.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/build/module/webCryptoSha1.js create mode 100644 node_modules/@aws-crypto/sha1-browser/build/module/webCryptoSha1.js.map create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/LICENSE create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/README.md create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/dist-cjs/index.js create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/dist-es/index.js create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/package.json create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/LICENSE create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/README.md create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/dist-cjs/index.js create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/dist-es/index.js create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/package.json create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/LICENSE create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/README.md create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/index.js create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/index.js create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.js create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/index.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/package.json create mode 100644 node_modules/@aws-crypto/sha1-browser/package.json create mode 100644 node_modules/@aws-crypto/sha1-browser/src/constants.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/src/crossPlatformSha1.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/src/index.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/src/isEmptyData.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/src/webCryptoSha1.ts create mode 100644 node_modules/@aws-crypto/sha1-browser/tsconfig.json create mode 100644 node_modules/@aws-crypto/sha1-browser/tsconfig.module.json create mode 100644 node_modules/@aws-crypto/sha256-browser/CHANGELOG.md create mode 100644 node_modules/@aws-crypto/sha256-browser/LICENSE create mode 100644 node_modules/@aws-crypto/sha256-browser/README.md create mode 100644 node_modules/@aws-crypto/sha256-browser/build/main/constants.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/build/main/constants.js create mode 100644 node_modules/@aws-crypto/sha256-browser/build/main/constants.js.map create mode 100644 node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js create mode 100644 node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js.map create mode 100644 node_modules/@aws-crypto/sha256-browser/build/main/index.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/build/main/index.js create mode 100644 node_modules/@aws-crypto/sha256-browser/build/main/index.js.map create mode 100644 node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js create mode 100644 node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js.map create mode 100644 node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js create mode 100644 node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js.map create mode 100644 node_modules/@aws-crypto/sha256-browser/build/module/constants.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/build/module/constants.js create mode 100644 node_modules/@aws-crypto/sha256-browser/build/module/constants.js.map create mode 100644 node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js create mode 100644 node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js.map create mode 100644 node_modules/@aws-crypto/sha256-browser/build/module/index.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/build/module/index.js create mode 100644 node_modules/@aws-crypto/sha256-browser/build/module/index.js.map create mode 100644 node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js create mode 100644 node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js.map create mode 100644 node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js create mode 100644 node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js.map create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/LICENSE create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/README.md create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-cjs/index.js create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-es/index.js create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/package.json create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/LICENSE create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/README.md create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-cjs/index.js create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-es/index.js create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/package.json create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/LICENSE create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/README.md create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/index.js create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/index.js create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.js create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/index.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/package.json create mode 100644 node_modules/@aws-crypto/sha256-browser/package.json create mode 100644 node_modules/@aws-crypto/sha256-browser/src/constants.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/src/crossPlatformSha256.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/src/index.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/src/isEmptyData.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/src/webCryptoSha256.ts create mode 100644 node_modules/@aws-crypto/sha256-browser/tsconfig.json create mode 100644 node_modules/@aws-crypto/sha256-browser/tsconfig.module.json create mode 100644 node_modules/@aws-crypto/sha256-js/CHANGELOG.md create mode 100644 node_modules/@aws-crypto/sha256-js/LICENSE create mode 100644 node_modules/@aws-crypto/sha256-js/README.md create mode 100644 node_modules/@aws-crypto/sha256-js/build/main/RawSha256.d.ts create mode 100644 node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js create mode 100644 node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js.map create mode 100644 node_modules/@aws-crypto/sha256-js/build/main/constants.d.ts create mode 100644 node_modules/@aws-crypto/sha256-js/build/main/constants.js create mode 100644 node_modules/@aws-crypto/sha256-js/build/main/constants.js.map create mode 100644 node_modules/@aws-crypto/sha256-js/build/main/index.d.ts create mode 100644 node_modules/@aws-crypto/sha256-js/build/main/index.js create mode 100644 node_modules/@aws-crypto/sha256-js/build/main/index.js.map create mode 100644 node_modules/@aws-crypto/sha256-js/build/main/jsSha256.d.ts create mode 100644 node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js create mode 100644 node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js.map create mode 100644 node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.d.ts create mode 100644 node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js create mode 100644 node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js.map create mode 100644 node_modules/@aws-crypto/sha256-js/build/module/RawSha256.d.ts create mode 100644 node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js create mode 100644 node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js.map create mode 100644 node_modules/@aws-crypto/sha256-js/build/module/constants.d.ts create mode 100644 node_modules/@aws-crypto/sha256-js/build/module/constants.js create mode 100644 node_modules/@aws-crypto/sha256-js/build/module/constants.js.map create mode 100644 node_modules/@aws-crypto/sha256-js/build/module/index.d.ts create mode 100644 node_modules/@aws-crypto/sha256-js/build/module/index.js create mode 100644 node_modules/@aws-crypto/sha256-js/build/module/index.js.map create mode 100644 node_modules/@aws-crypto/sha256-js/build/module/jsSha256.d.ts create mode 100644 node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js create mode 100644 node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js.map create mode 100644 node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.d.ts create mode 100644 node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js create mode 100644 node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js.map create mode 100644 node_modules/@aws-crypto/sha256-js/package.json create mode 100644 node_modules/@aws-crypto/sha256-js/src/RawSha256.ts create mode 100644 node_modules/@aws-crypto/sha256-js/src/constants.ts create mode 100644 node_modules/@aws-crypto/sha256-js/src/index.ts create mode 100644 node_modules/@aws-crypto/sha256-js/src/jsSha256.ts create mode 100644 node_modules/@aws-crypto/sha256-js/src/knownHashes.fixture.ts create mode 100644 node_modules/@aws-crypto/sha256-js/tsconfig.json create mode 100644 node_modules/@aws-crypto/sha256-js/tsconfig.module.json create mode 100644 node_modules/@aws-crypto/supports-web-crypto/CHANGELOG.md create mode 100644 node_modules/@aws-crypto/supports-web-crypto/LICENSE create mode 100644 node_modules/@aws-crypto/supports-web-crypto/README.md create mode 100644 node_modules/@aws-crypto/supports-web-crypto/build/main/index.d.ts create mode 100644 node_modules/@aws-crypto/supports-web-crypto/build/main/index.js create mode 100644 node_modules/@aws-crypto/supports-web-crypto/build/main/index.js.map create mode 100644 node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.d.ts create mode 100644 node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js create mode 100644 node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js.map create mode 100644 node_modules/@aws-crypto/supports-web-crypto/build/module/index.d.ts create mode 100644 node_modules/@aws-crypto/supports-web-crypto/build/module/index.js create mode 100644 node_modules/@aws-crypto/supports-web-crypto/build/module/index.js.map create mode 100644 node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.d.ts create mode 100644 node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js create mode 100644 node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js.map create mode 100644 node_modules/@aws-crypto/supports-web-crypto/package.json create mode 100644 node_modules/@aws-crypto/supports-web-crypto/src/index.ts create mode 100644 node_modules/@aws-crypto/supports-web-crypto/src/supportsWebCrypto.ts create mode 100644 node_modules/@aws-crypto/supports-web-crypto/tsconfig.json create mode 100644 node_modules/@aws-crypto/supports-web-crypto/tsconfig.module.json create mode 100644 node_modules/@aws-crypto/util/CHANGELOG.md create mode 100644 node_modules/@aws-crypto/util/LICENSE create mode 100644 node_modules/@aws-crypto/util/README.md create mode 100644 node_modules/@aws-crypto/util/build/main/convertToBuffer.d.ts create mode 100644 node_modules/@aws-crypto/util/build/main/convertToBuffer.js create mode 100644 node_modules/@aws-crypto/util/build/main/convertToBuffer.js.map create mode 100644 node_modules/@aws-crypto/util/build/main/index.d.ts create mode 100644 node_modules/@aws-crypto/util/build/main/index.js create mode 100644 node_modules/@aws-crypto/util/build/main/index.js.map create mode 100644 node_modules/@aws-crypto/util/build/main/isEmptyData.d.ts create mode 100644 node_modules/@aws-crypto/util/build/main/isEmptyData.js create mode 100644 node_modules/@aws-crypto/util/build/main/isEmptyData.js.map create mode 100644 node_modules/@aws-crypto/util/build/main/numToUint8.d.ts create mode 100644 node_modules/@aws-crypto/util/build/main/numToUint8.js create mode 100644 node_modules/@aws-crypto/util/build/main/numToUint8.js.map create mode 100644 node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.d.ts create mode 100644 node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js create mode 100644 node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js.map create mode 100644 node_modules/@aws-crypto/util/build/module/convertToBuffer.d.ts create mode 100644 node_modules/@aws-crypto/util/build/module/convertToBuffer.js create mode 100644 node_modules/@aws-crypto/util/build/module/convertToBuffer.js.map create mode 100644 node_modules/@aws-crypto/util/build/module/index.d.ts create mode 100644 node_modules/@aws-crypto/util/build/module/index.js create mode 100644 node_modules/@aws-crypto/util/build/module/index.js.map create mode 100644 node_modules/@aws-crypto/util/build/module/isEmptyData.d.ts create mode 100644 node_modules/@aws-crypto/util/build/module/isEmptyData.js create mode 100644 node_modules/@aws-crypto/util/build/module/isEmptyData.js.map create mode 100644 node_modules/@aws-crypto/util/build/module/numToUint8.d.ts create mode 100644 node_modules/@aws-crypto/util/build/module/numToUint8.js create mode 100644 node_modules/@aws-crypto/util/build/module/numToUint8.js.map create mode 100644 node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.d.ts create mode 100644 node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js create mode 100644 node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js.map create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/LICENSE create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/README.md create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-es/index.js create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/LICENSE create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/README.md create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-es/index.js create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/LICENSE create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/README.md create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/index.js create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.js create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/index.d.ts create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts create mode 100644 node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json create mode 100644 node_modules/@aws-crypto/util/package.json create mode 100644 node_modules/@aws-crypto/util/src/convertToBuffer.ts create mode 100644 node_modules/@aws-crypto/util/src/index.ts create mode 100644 node_modules/@aws-crypto/util/src/isEmptyData.ts create mode 100644 node_modules/@aws-crypto/util/src/numToUint8.ts create mode 100644 node_modules/@aws-crypto/util/src/uint32ArrayFrom.ts create mode 100644 node_modules/@aws-crypto/util/tsconfig.json create mode 100644 node_modules/@aws-crypto/util/tsconfig.module.json create mode 100644 node_modules/@aws-sdk/client-s3/LICENSE create mode 100644 node_modules/@aws-sdk/client-s3/README.md create mode 100644 node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-cjs/models/errors.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.native.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/S3.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/S3Client.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAbacCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAbacCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/RenameObjectCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateObjectEncryptionCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/commands/index.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/extensionConfiguration.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/index.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/models/enums.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/models/errors.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/pagination/Interfaces.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/pagination/ListBucketsPaginator.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.native.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/waiters/index.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthExtensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAbacCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAbacCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/RenameObjectCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateObjectEncryptionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/endpoint/endpointResolver.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/endpoint/ruleset.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/models/errors.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/pagination/Interfaces.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/pagination/ListBucketsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/runtimeExtensions.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/schemas/schemas_0.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAbacCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAbacCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateObjectEncryptionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/endpointResolver.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/ruleset.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/errors.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/Interfaces.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListBucketsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/schemas/schemas_0.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/index.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketExists.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectExists.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/waiters/index.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketExists.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketNotExists.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectExists.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectNotExists.d.ts create mode 100644 node_modules/@aws-sdk/client-s3/package.json create mode 100644 node_modules/@aws-sdk/core/LICENSE create mode 100644 node_modules/@aws-sdk/core/README.md create mode 100644 node_modules/@aws-sdk/core/account-id-endpoint.d.ts create mode 100644 node_modules/@aws-sdk/core/account-id-endpoint.js create mode 100644 node_modules/@aws-sdk/core/client.d.ts create mode 100644 node_modules/@aws-sdk/core/client.js create mode 100644 node_modules/@aws-sdk/core/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js create mode 100644 node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js create mode 100644 node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js create mode 100644 node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js create mode 100644 node_modules/@aws-sdk/core/dist-es/index.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConstants.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/index.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/client/index.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/client/setCredentialFeature.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/client/setTokenFeature.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/isClockSkewed.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/UnionSerde.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/coercing-serializers.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonCodec.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/awsExpectUnion.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReplacer.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QuerySerializerSettings.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlCodec.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js create mode 100644 node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/simpleFormatXml.js create mode 100644 node_modules/@aws-sdk/core/dist-types/api-extractor-type-index.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/index.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/client/emitWarningIfUnsupportedVersion.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/client/setCredentialFeature.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/client/setFeature.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/client/setTokenFeature.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getDateHeader.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/index.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/UnionSerde.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/coercing-serializers.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/common.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/awsExpectUnion.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReplacer.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReviver.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlCodec.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeDeserializer.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/parseXmlBody.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/simpleFormatXml.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getDateHeader.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/coercing-serializers.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeDeserializer.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlCodec.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeDeserializer.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeSerializer.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/parseXmlBody.d.ts create mode 100644 node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/simpleFormatXml.d.ts create mode 100644 node_modules/@aws-sdk/core/httpAuthSchemes.d.ts create mode 100644 node_modules/@aws-sdk/core/httpAuthSchemes.js create mode 100644 node_modules/@aws-sdk/core/package.json create mode 100644 node_modules/@aws-sdk/core/protocols.d.ts create mode 100644 node_modules/@aws-sdk/core/protocols.js create mode 100644 node_modules/@aws-sdk/crc64-nvme/LICENSE create mode 100644 node_modules/@aws-sdk/crc64-nvme/README.md create mode 100644 node_modules/@aws-sdk/crc64-nvme/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/crc64-nvme/dist-es/Crc64Nvme.js create mode 100644 node_modules/@aws-sdk/crc64-nvme/dist-es/crc64-nvme-crt-container.js create mode 100644 node_modules/@aws-sdk/crc64-nvme/dist-es/index.js create mode 100644 node_modules/@aws-sdk/crc64-nvme/dist-types/Crc64Nvme.d.ts create mode 100644 node_modules/@aws-sdk/crc64-nvme/dist-types/crc64-nvme-crt-container.d.ts create mode 100644 node_modules/@aws-sdk/crc64-nvme/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/crc64-nvme/dist-types/ts3.4/Crc64Nvme.d.ts create mode 100644 node_modules/@aws-sdk/crc64-nvme/dist-types/ts3.4/crc64-nvme-crt-container.d.ts create mode 100644 node_modules/@aws-sdk/crc64-nvme/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/crc64-nvme/package.json create mode 100644 node_modules/@aws-sdk/credential-provider-env/LICENSE create mode 100644 node_modules/@aws-sdk/credential-provider-env/README.md create mode 100644 node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js create mode 100644 node_modules/@aws-sdk/credential-provider-env/dist-es/index.js create mode 100644 node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-env/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-env/package.json create mode 100644 node_modules/@aws-sdk/credential-provider-http/README.md create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttpTypes.js create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.browser.js create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttpTypes.js create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/retry-wrapper.js create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-es/index.browser.js create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-es/index.js create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/checkUrl.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.browser.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttpTypes.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/retry-wrapper.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-types/index.browser.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/checkUrl.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.browser.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttpTypes.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/requestHelpers.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/retry-wrapper.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.browser.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-http/package.json create mode 100644 node_modules/@aws-sdk/credential-provider-ini/LICENSE create mode 100644 node_modules/@aws-sdk/credential-provider-ini/README.md create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-es/index.js create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveLoginCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProcessCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveCredentialSource.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProcessCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveWebIdentityCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-ini/package.json create mode 100644 node_modules/@aws-sdk/credential-provider-login/README.md create mode 100644 node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js create mode 100644 node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js create mode 100644 node_modules/@aws-sdk/credential-provider-login/dist-es/index.js create mode 100644 node_modules/@aws-sdk/credential-provider-login/dist-es/types.js create mode 100644 node_modules/@aws-sdk/credential-provider-login/dist-types/LoginCredentialsFetcher.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-login/dist-types/fromLoginCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-login/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/LoginCredentialsFetcher.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/fromLoginCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/types.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-login/dist-types/types.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-login/package.json create mode 100644 node_modules/@aws-sdk/credential-provider-node/LICENSE create mode 100644 node_modules/@aws-sdk/credential-provider-node/README.md create mode 100644 node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js create mode 100644 node_modules/@aws-sdk/credential-provider-node/dist-es/index.js create mode 100644 node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js create mode 100644 node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js create mode 100644 node_modules/@aws-sdk/credential-provider-node/dist-types/defaultProvider.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-node/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-node/dist-types/remoteProvider.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/defaultProvider.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/remoteProvider.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/runtime/memoize-chain.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-node/package.json create mode 100644 node_modules/@aws-sdk/credential-provider-process/LICENSE create mode 100644 node_modules/@aws-sdk/credential-provider-process/README.md create mode 100644 node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/credential-provider-process/dist-es/ProcessCredentials.js create mode 100644 node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js create mode 100644 node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js create mode 100644 node_modules/@aws-sdk/credential-provider-process/dist-es/index.js create mode 100644 node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js create mode 100644 node_modules/@aws-sdk/credential-provider-process/dist-types/ProcessCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-process/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-process/dist-types/resolveProcessCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/ProcessCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/fromProcess.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/getValidatedProcessCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/resolveProcessCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-process/package.json create mode 100644 node_modules/@aws-sdk/credential-provider-sso/LICENSE create mode 100644 node_modules/@aws-sdk/credential-provider-sso/README.md create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-es/index.js create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-es/isSsoProfile.js create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-es/types.js create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-types/isSsoProfile.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-types/loadSso.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/isSsoProfile.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/resolveSSOCredentials.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/types.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/validateSsoProfile.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-types/types.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-sso/dist-types/validateSsoProfile.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-sso/package.json create mode 100644 node_modules/@aws-sdk/credential-provider-web-identity/LICENSE create mode 100644 node_modules/@aws-sdk/credential-provider-web-identity/README.md create mode 100644 node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js create mode 100644 node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js create mode 100644 node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js create mode 100644 node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js create mode 100644 node_modules/@aws-sdk/credential-provider-web-identity/dist-es/index.js create mode 100644 node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromTokenFile.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromWebToken.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-web-identity/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromTokenFile.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/credential-provider-web-identity/package.json create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/LICENSE create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/README.md create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/NodeDisableMultiregionAccessPointConfigOptions.js create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/NodeUseArnRegionConfigOptions.js create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/bucketEndpointMiddleware.js create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/bucketHostname.js create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/bucketHostnameUtils.js create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/configurations.js create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/index.js create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/NodeDisableMultiregionAccessPointConfigOptions.d.ts create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/NodeUseArnRegionConfigOptions.d.ts create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketEndpointMiddleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketHostname.d.ts create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketHostnameUtils.d.ts create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/configurations.d.ts create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/NodeDisableMultiregionAccessPointConfigOptions.d.ts create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/NodeUseArnRegionConfigOptions.d.ts create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/bucketEndpointMiddleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/bucketHostname.d.ts create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/bucketHostnameUtils.d.ts create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/configurations.d.ts create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-bucket-endpoint/package.json create mode 100644 node_modules/@aws-sdk/middleware-expect-continue/LICENSE create mode 100644 node_modules/@aws-sdk/middleware-expect-continue/README.md create mode 100644 node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/middleware-expect-continue/dist-es/index.js create mode 100644 node_modules/@aws-sdk/middleware-expect-continue/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-expect-continue/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-expect-continue/package.json create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/LICENSE create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/README.md create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.browser.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/configuration.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/constants.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsInputMiddleware.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsMiddleware.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsResponseMiddleware.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksum.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumAlgorithmForRequest.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumAlgorithmListForResponse.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumLocationName.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.browser.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getFlexibleChecksumsPlugin.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/hasHeader.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/hasHeaderWithPrefix.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/index.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/isChecksumWithPartNumber.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/isStreaming.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/resolveFlexibleChecksumsConfig.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/selectChecksumAlgorithmFunction.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/stringHasher.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/stringUnionSelector.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/types.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/validateChecksumFromResponse.js create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/configuration.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/constants.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsInputMiddleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsMiddleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsResponseMiddleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksum.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksumAlgorithmForRequest.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksumAlgorithmListForResponse.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksumLocationName.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.browser.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getFlexibleChecksumsPlugin.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/hasHeader.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/hasHeaderWithPrefix.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/isChecksumWithPartNumber.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/isStreaming.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/resolveFlexibleChecksumsConfig.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/selectChecksumAlgorithmFunction.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/stringHasher.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/stringUnionSelector.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/configuration.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/constants.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsInputMiddleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsMiddleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsResponseMiddleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksum.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksumAlgorithmForRequest.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksumAlgorithmListForResponse.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksumLocationName.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getCrc32ChecksumAlgorithmFunction.browser.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getCrc32ChecksumAlgorithmFunction.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getFlexibleChecksumsPlugin.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/hasHeader.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/hasHeaderWithPrefix.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/isChecksumWithPartNumber.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/isStreaming.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/resolveFlexibleChecksumsConfig.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/selectChecksumAlgorithmFunction.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/stringHasher.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/stringUnionSelector.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/types.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/validateChecksumFromResponse.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/types.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/validateChecksumFromResponse.d.ts create mode 100644 node_modules/@aws-sdk/middleware-flexible-checksums/package.json create mode 100644 node_modules/@aws-sdk/middleware-host-header/LICENSE create mode 100644 node_modules/@aws-sdk/middleware-host-header/README.md create mode 100644 node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/middleware-host-header/dist-es/index.js create mode 100644 node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-host-header/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-host-header/package.json create mode 100644 node_modules/@aws-sdk/middleware-location-constraint/LICENSE create mode 100644 node_modules/@aws-sdk/middleware-location-constraint/README.md create mode 100644 node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/middleware-location-constraint/dist-es/configuration.js create mode 100644 node_modules/@aws-sdk/middleware-location-constraint/dist-es/index.js create mode 100644 node_modules/@aws-sdk/middleware-location-constraint/dist-types/configuration.d.ts create mode 100644 node_modules/@aws-sdk/middleware-location-constraint/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-location-constraint/dist-types/ts3.4/configuration.d.ts create mode 100644 node_modules/@aws-sdk/middleware-location-constraint/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-location-constraint/package.json create mode 100644 node_modules/@aws-sdk/middleware-logger/LICENSE create mode 100644 node_modules/@aws-sdk/middleware-logger/README.md create mode 100644 node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/middleware-logger/dist-es/index.js create mode 100644 node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js create mode 100644 node_modules/@aws-sdk/middleware-logger/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-logger/dist-types/loggerMiddleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-logger/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-logger/dist-types/ts3.4/loggerMiddleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-logger/package.json create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/LICENSE create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/README.md create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.native.js create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-es/configuration.js create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-es/getRecursionDetectionPlugin.js create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.browser.js create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.native.js create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/configuration.d.ts create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/getRecursionDetectionPlugin.d.ts create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.browser.d.ts create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.native.d.ts create mode 100644 node_modules/@aws-sdk/middleware-recursion-detection/package.json create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/LICENSE create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/README.md create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/bucket-endpoint-middleware.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/check-content-length-header.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/protocol/S3RestXmlProtocol.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-endpoint-middleware.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-expires-middleware.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCache.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCacheEntry.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityProviderImpl.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/SignatureV4S3Express.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/constants.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressHttpSigningMiddleware.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressMiddleware.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/signS3Express.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/index.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentity.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentityProvider.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3Configuration.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-es/validate-bucket-name.js create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/bucket-endpoint-middleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/check-content-length-header.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/protocol/S3RestXmlProtocol.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/region-redirect-endpoint-middleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/region-redirect-middleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-expires-middleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityCache.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityCacheEntry.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityProviderImpl.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/SignatureV4S3Express.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/constants.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3ExpressMiddleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/signS3Express.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/interfaces/S3ExpressIdentity.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/interfaces/S3ExpressIdentityProvider.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3Configuration.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/throw-200-exceptions.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/bucket-endpoint-middleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/check-content-length-header.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/protocol/S3RestXmlProtocol.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/region-redirect-endpoint-middleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/region-redirect-middleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-expires-middleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityCache.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityCacheEntry.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityProviderImpl.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/SignatureV4S3Express.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/constants.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/s3ExpressMiddleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/signS3Express.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/interfaces/S3ExpressIdentity.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/interfaces/S3ExpressIdentityProvider.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3Configuration.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/throw-200-exceptions.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/validate-bucket-name.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/dist-types/validate-bucket-name.d.ts create mode 100644 node_modules/@aws-sdk/middleware-sdk-s3/package.json create mode 100644 node_modules/@aws-sdk/middleware-ssec/LICENSE create mode 100644 node_modules/@aws-sdk/middleware-ssec/README.md create mode 100644 node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/middleware-ssec/dist-es/index.js create mode 100644 node_modules/@aws-sdk/middleware-ssec/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-ssec/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-ssec/package.json create mode 100644 node_modules/@aws-sdk/middleware-user-agent/LICENSE create mode 100644 node_modules/@aws-sdk/middleware-user-agent/README.md create mode 100644 node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js create mode 100644 node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js create mode 100644 node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js create mode 100644 node_modules/@aws-sdk/middleware-user-agent/dist-es/encode-features.js create mode 100644 node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js create mode 100644 node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js create mode 100644 node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts create mode 100644 node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts create mode 100644 node_modules/@aws-sdk/middleware-user-agent/dist-types/constants.d.ts create mode 100644 node_modules/@aws-sdk/middleware-user-agent/dist-types/encode-features.d.ts create mode 100644 node_modules/@aws-sdk/middleware-user-agent/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts create mode 100644 node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/configurations.d.ts create mode 100644 node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/constants.d.ts create mode 100644 node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/encode-features.d.ts create mode 100644 node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/user-agent-middleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts create mode 100644 node_modules/@aws-sdk/middleware-user-agent/package.json create mode 100644 node_modules/@aws-sdk/nested-clients/README.md create mode 100644 node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/cognito-identity.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/errors.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.browser.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.native.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.browser.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.native.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.browser.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.native.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.browser.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.browser.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.native.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/index.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/index.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/EndpointParameters.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/endpointResolver.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/extensionConfiguration.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/index.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/errors.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/models_0.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.native.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeExtensions.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthExtensionConfiguration.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/index.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/EndpointParameters.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/extensionConfiguration.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/models_0.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.native.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/index.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/extensionConfiguration.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/enums.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.native.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/index.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/EndpointParameters.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/extensionConfiguration.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/index.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/errors.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/models_0.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthExtensionConfiguration.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/index.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/extensionConfiguration.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.native.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/EndpointParameters.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/endpointResolver.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/extensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/models_0.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeExtensions.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/schemas/schemas_0.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/endpointResolver.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/extensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/SigninServiceException.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeExtensions.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/EndpointParameters.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/endpointResolver.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/extensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/enums.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeExtensions.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSOClient.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthSchemeProvider.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/GetRoleCredentialsCommand.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/EndpointParameters.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/endpointResolver.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/extensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/SSOServiceException.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/errors.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/models_0.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeExtensions.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/schemas/schemas_0.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultRoleAssumers.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/EndpointParameters.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/endpointResolver.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/extensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/STSServiceException.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeExtensions.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/EndpointParameters.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/endpointResolver.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/ruleset.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/models_0.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/endpointResolver.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/ruleset.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/models_0.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeExtensions.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/endpointResolver.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/ruleset.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/extensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/enums.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeExtensions.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSOClient.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthSchemeProvider.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/ruleset.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/extensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/SSOServiceException.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/errors.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/models_0.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeExtensions.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/schemas/schemas_0.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultRoleAssumers.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/endpointResolver.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/ruleset.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/extensionConfiguration.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/index.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/STSServiceException.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeExtensions.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/package.json create mode 100644 node_modules/@aws-sdk/nested-clients/signin.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/signin.js create mode 100644 node_modules/@aws-sdk/nested-clients/sso-oidc.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/sso-oidc.js create mode 100644 node_modules/@aws-sdk/nested-clients/sso.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/sso.js create mode 100644 node_modules/@aws-sdk/nested-clients/sts.d.ts create mode 100644 node_modules/@aws-sdk/nested-clients/sts.js create mode 100644 node_modules/@aws-sdk/region-config-resolver/LICENSE create mode 100644 node_modules/@aws-sdk/region-config-resolver/README.md create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.native.js create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-es/index.js create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/awsRegionConfig.js create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.browser.js create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.js create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.native.js create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-types/extensions/index.d.ts create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/awsRegionConfig.d.ts create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.browser.d.ts create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.d.ts create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.native.d.ts create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/extensions/index.d.ts create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/awsRegionConfig.d.ts create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.browser.d.ts create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.d.ts create mode 100644 node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.native.d.ts create mode 100644 node_modules/@aws-sdk/region-config-resolver/package.json create mode 100644 node_modules/@aws-sdk/s3-request-presigner/LICENSE create mode 100644 node_modules/@aws-sdk/s3-request-presigner/README.md create mode 100644 node_modules/@aws-sdk/s3-request-presigner/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/s3-request-presigner/dist-es/constants.js create mode 100644 node_modules/@aws-sdk/s3-request-presigner/dist-es/getSignedUrl.js create mode 100644 node_modules/@aws-sdk/s3-request-presigner/dist-es/index.js create mode 100644 node_modules/@aws-sdk/s3-request-presigner/dist-es/presigner.js create mode 100644 node_modules/@aws-sdk/s3-request-presigner/dist-types/constants.d.ts create mode 100644 node_modules/@aws-sdk/s3-request-presigner/dist-types/getSignedUrl.d.ts create mode 100644 node_modules/@aws-sdk/s3-request-presigner/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/s3-request-presigner/dist-types/presigner.d.ts create mode 100644 node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/constants.d.ts create mode 100644 node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/getSignedUrl.d.ts create mode 100644 node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/presigner.d.ts create mode 100644 node_modules/@aws-sdk/s3-request-presigner/package.json create mode 100644 node_modules/@aws-sdk/signature-v4-multi-region/LICENSE create mode 100644 node_modules/@aws-sdk/signature-v4-multi-region/README.md create mode 100644 node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js create mode 100644 node_modules/@aws-sdk/signature-v4-multi-region/dist-es/index.js create mode 100644 node_modules/@aws-sdk/signature-v4-multi-region/dist-es/signature-v4-crt-container.js create mode 100644 node_modules/@aws-sdk/signature-v4-multi-region/dist-types/SignatureV4MultiRegion.d.ts create mode 100644 node_modules/@aws-sdk/signature-v4-multi-region/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/signature-v4-multi-region/dist-types/signature-v4-crt-container.d.ts create mode 100644 node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/SignatureV4MultiRegion.d.ts create mode 100644 node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/signature-v4-crt-container.d.ts create mode 100644 node_modules/@aws-sdk/signature-v4-multi-region/package.json create mode 100644 node_modules/@aws-sdk/token-providers/LICENSE create mode 100644 node_modules/@aws-sdk/token-providers/README.md create mode 100644 node_modules/@aws-sdk/token-providers/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/token-providers/dist-es/constants.js create mode 100644 node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js create mode 100644 node_modules/@aws-sdk/token-providers/dist-es/fromSso.js create mode 100644 node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js create mode 100644 node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js create mode 100644 node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js create mode 100644 node_modules/@aws-sdk/token-providers/dist-es/index.js create mode 100644 node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js create mode 100644 node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js create mode 100644 node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js create mode 100644 node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/constants.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/fromEnvSigningName.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/ts3.4/constants.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromEnvSigningName.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/ts3.4/nodeProvider.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenExpiry.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenKey.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/ts3.4/writeSSOTokenToFile.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/validateTokenKey.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts create mode 100644 node_modules/@aws-sdk/token-providers/package.json create mode 100644 node_modules/@aws-sdk/types/LICENSE create mode 100644 node_modules/@aws-sdk/types/README.md create mode 100644 node_modules/@aws-sdk/types/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/types/dist-es/abort.js create mode 100644 node_modules/@aws-sdk/types/dist-es/auth.js create mode 100644 node_modules/@aws-sdk/types/dist-es/blob/blob-types.js create mode 100644 node_modules/@aws-sdk/types/dist-es/checksum.js create mode 100644 node_modules/@aws-sdk/types/dist-es/client.js create mode 100644 node_modules/@aws-sdk/types/dist-es/command.js create mode 100644 node_modules/@aws-sdk/types/dist-es/connection.js create mode 100644 node_modules/@aws-sdk/types/dist-es/credentials.js create mode 100644 node_modules/@aws-sdk/types/dist-es/crypto.js create mode 100644 node_modules/@aws-sdk/types/dist-es/dns.js create mode 100644 node_modules/@aws-sdk/types/dist-es/encode.js create mode 100644 node_modules/@aws-sdk/types/dist-es/endpoint.js create mode 100644 node_modules/@aws-sdk/types/dist-es/eventStream.js create mode 100644 node_modules/@aws-sdk/types/dist-es/extensions/index.js create mode 100644 node_modules/@aws-sdk/types/dist-es/feature-ids.js create mode 100644 node_modules/@aws-sdk/types/dist-es/function.js create mode 100644 node_modules/@aws-sdk/types/dist-es/http.js create mode 100644 node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js create mode 100644 node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js create mode 100644 node_modules/@aws-sdk/types/dist-es/identity/Identity.js create mode 100644 node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js create mode 100644 node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js create mode 100644 node_modules/@aws-sdk/types/dist-es/identity/index.js create mode 100644 node_modules/@aws-sdk/types/dist-es/index.js create mode 100644 node_modules/@aws-sdk/types/dist-es/logger.js create mode 100644 node_modules/@aws-sdk/types/dist-es/middleware.js create mode 100644 node_modules/@aws-sdk/types/dist-es/pagination.js create mode 100644 node_modules/@aws-sdk/types/dist-es/profile.js create mode 100644 node_modules/@aws-sdk/types/dist-es/request.js create mode 100644 node_modules/@aws-sdk/types/dist-es/response.js create mode 100644 node_modules/@aws-sdk/types/dist-es/retry.js create mode 100644 node_modules/@aws-sdk/types/dist-es/serde.js create mode 100644 node_modules/@aws-sdk/types/dist-es/shapes.js create mode 100644 node_modules/@aws-sdk/types/dist-es/signature.js create mode 100644 node_modules/@aws-sdk/types/dist-es/stream.js create mode 100644 node_modules/@aws-sdk/types/dist-es/token.js create mode 100644 node_modules/@aws-sdk/types/dist-es/transfer.js create mode 100644 node_modules/@aws-sdk/types/dist-es/uri.js create mode 100644 node_modules/@aws-sdk/types/dist-es/util.js create mode 100644 node_modules/@aws-sdk/types/dist-es/waiter.js create mode 100644 node_modules/@aws-sdk/types/dist-types/abort.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/auth.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/checksum.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/client.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/command.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/connection.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/credentials.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/crypto.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/dns.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/encode.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/endpoint.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/eventStream.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/function.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/http.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/identity/index.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/logger.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/middleware.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/pagination.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/profile.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/request.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/response.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/retry.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/serde.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/shapes.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/signature.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/stream.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/token.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/transfer.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/abort.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/blob/blob-types.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/client.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/command.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/connection.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/dns.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/eventStream.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/function.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/http.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AnonymousIdentity.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/identity/Identity.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/identity/LoginIdentity.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/pagination.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/request.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/response.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/retry.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/serde.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/signature.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/token.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/uri.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/util.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/ts3.4/waiter.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/uri.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/util.d.ts create mode 100644 node_modules/@aws-sdk/types/dist-types/waiter.d.ts create mode 100644 node_modules/@aws-sdk/types/package.json create mode 100644 node_modules/@aws-sdk/util-arn-parser/LICENSE create mode 100644 node_modules/@aws-sdk/util-arn-parser/README.md create mode 100644 node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/util-arn-parser/dist-es/index.js create mode 100644 node_modules/@aws-sdk/util-arn-parser/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/util-arn-parser/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/util-arn-parser/package.json create mode 100644 node_modules/@aws-sdk/util-endpoints/LICENSE create mode 100644 node_modules/@aws-sdk/util-endpoints/README.md create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-es/aws.js create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-es/index.js create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts create mode 100644 node_modules/@aws-sdk/util-endpoints/package.json create mode 100644 node_modules/@aws-sdk/util-format-url/LICENSE create mode 100644 node_modules/@aws-sdk/util-format-url/README.md create mode 100644 node_modules/@aws-sdk/util-format-url/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/util-format-url/dist-es/index.js create mode 100644 node_modules/@aws-sdk/util-format-url/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/util-format-url/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/util-format-url/package.json create mode 100644 node_modules/@aws-sdk/util-locate-window/LICENSE create mode 100644 node_modules/@aws-sdk/util-locate-window/README.md create mode 100644 node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/util-locate-window/dist-es/index.js create mode 100644 node_modules/@aws-sdk/util-locate-window/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/util-locate-window/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/util-locate-window/package.json create mode 100644 node_modules/@aws-sdk/util-user-agent-browser/LICENSE create mode 100644 node_modules/@aws-sdk/util-user-agent-browser/README.md create mode 100644 node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/configurations.js create mode 100644 node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js create mode 100644 node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js create mode 100644 node_modules/@aws-sdk/util-user-agent-browser/dist-es/configurations.js create mode 100644 node_modules/@aws-sdk/util-user-agent-browser/dist-es/createUserAgentStringParsingProvider.js create mode 100644 node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js create mode 100644 node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.native.js create mode 100644 node_modules/@aws-sdk/util-user-agent-browser/dist-types/configurations.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-browser/dist-types/createUserAgentStringParsingProvider.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/configurations.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/createUserAgentStringParsingProvider.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.native.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-browser/package.json create mode 100644 node_modules/@aws-sdk/util-user-agent-node/LICENSE create mode 100644 node_modules/@aws-sdk/util-user-agent-node/README.md create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-es/crt-availability.js create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-es/getNodeModulesParentDirs.js create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-es/getRuntimeUserAgentPair.js create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedDevTypeScriptVersion.js create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedTypeScriptVersion.js create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-es/is-crt-available.js create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-es/nodeAppIdConfigOptions.js create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-types/crt-availability.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-types/getNodeModulesParentDirs.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-types/getRuntimeUserAgentPair.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedDevTypeScriptVersion.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptUserAgentPair.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-types/is-crt-available.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/crt-availability.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/defaultUserAgent.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getNodeModulesParentDirs.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getRuntimeUserAgentPair.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedDevTypeScriptVersion.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedTypeScriptVersion.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptUserAgentPair.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/is-crt-available.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/nodeAppIdConfigOptions.d.ts create mode 100644 node_modules/@aws-sdk/util-user-agent-node/package.json create mode 100644 node_modules/@aws-sdk/xml-builder/LICENSE create mode 100644 node_modules/@aws-sdk/xml-builder/README.md create mode 100644 node_modules/@aws-sdk/xml-builder/dist-cjs/index.js create mode 100644 node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js create mode 100644 node_modules/@aws-sdk/xml-builder/dist-es/XmlNode.js create mode 100644 node_modules/@aws-sdk/xml-builder/dist-es/XmlText.js create mode 100644 node_modules/@aws-sdk/xml-builder/dist-es/escape-attribute.js create mode 100644 node_modules/@aws-sdk/xml-builder/dist-es/escape-element.js create mode 100644 node_modules/@aws-sdk/xml-builder/dist-es/index.js create mode 100644 node_modules/@aws-sdk/xml-builder/dist-es/stringable.js create mode 100644 node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js create mode 100644 node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js create mode 100644 node_modules/@aws-sdk/xml-builder/dist-types/XmlNode.d.ts create mode 100644 node_modules/@aws-sdk/xml-builder/dist-types/XmlText.d.ts create mode 100644 node_modules/@aws-sdk/xml-builder/dist-types/escape-attribute.d.ts create mode 100644 node_modules/@aws-sdk/xml-builder/dist-types/escape-element.d.ts create mode 100644 node_modules/@aws-sdk/xml-builder/dist-types/index.d.ts create mode 100644 node_modules/@aws-sdk/xml-builder/dist-types/stringable.d.ts create mode 100644 node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/XmlNode.d.ts create mode 100644 node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/XmlText.d.ts create mode 100644 node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/escape-attribute.d.ts create mode 100644 node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/escape-element.d.ts create mode 100644 node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/stringable.d.ts create mode 100644 node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.browser.d.ts create mode 100644 node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts create mode 100644 node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.browser.d.ts create mode 100644 node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts create mode 100644 node_modules/@aws-sdk/xml-builder/package.json create mode 100644 node_modules/@aws/lambda-invoke-store/LICENSE create mode 100644 node_modules/@aws/lambda-invoke-store/README.md create mode 100644 node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js create mode 100644 node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js create mode 100644 node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.benchmark.d.ts create mode 100644 node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts create mode 100644 node_modules/@aws/lambda-invoke-store/package.json create mode 100644 node_modules/@colors/colors/LICENSE create mode 100644 node_modules/@colors/colors/README.md create mode 100644 node_modules/@colors/colors/examples/normal-usage.js create mode 100644 node_modules/@colors/colors/examples/safe-string.js create mode 100644 node_modules/@colors/colors/index.d.ts create mode 100644 node_modules/@colors/colors/lib/colors.js create mode 100644 node_modules/@colors/colors/lib/custom/trap.js create mode 100644 node_modules/@colors/colors/lib/custom/zalgo.js create mode 100644 node_modules/@colors/colors/lib/extendStringPrototype.js create mode 100644 node_modules/@colors/colors/lib/index.js create mode 100644 node_modules/@colors/colors/lib/maps/america.js create mode 100644 node_modules/@colors/colors/lib/maps/rainbow.js create mode 100644 node_modules/@colors/colors/lib/maps/random.js create mode 100644 node_modules/@colors/colors/lib/maps/zebra.js create mode 100644 node_modules/@colors/colors/lib/styles.js create mode 100644 node_modules/@colors/colors/lib/system/has-flag.js create mode 100644 node_modules/@colors/colors/lib/system/supports-colors.js create mode 100644 node_modules/@colors/colors/package.json create mode 100644 node_modules/@colors/colors/safe.d.ts create mode 100644 node_modules/@colors/colors/safe.js create mode 100644 node_modules/@colors/colors/themes/generic-logging.js create mode 100644 node_modules/@dabh/diagnostics/CHANGELOG.md create mode 100644 node_modules/@dabh/diagnostics/LICENSE create mode 100644 node_modules/@dabh/diagnostics/README.md create mode 100644 node_modules/@dabh/diagnostics/adapters/hash.js create mode 100644 node_modules/@dabh/diagnostics/adapters/index.js create mode 100644 node_modules/@dabh/diagnostics/adapters/localstorage.js create mode 100644 node_modules/@dabh/diagnostics/adapters/process.env.js create mode 100644 node_modules/@dabh/diagnostics/browser/development.js create mode 100644 node_modules/@dabh/diagnostics/browser/index.js create mode 100644 node_modules/@dabh/diagnostics/browser/override.js create mode 100644 node_modules/@dabh/diagnostics/browser/production.js create mode 100644 node_modules/@dabh/diagnostics/diagnostics.js create mode 100644 node_modules/@dabh/diagnostics/logger/console.js create mode 100644 node_modules/@dabh/diagnostics/modifiers/namespace-ansi.js create mode 100644 node_modules/@dabh/diagnostics/modifiers/namespace.js create mode 100644 node_modules/@dabh/diagnostics/node/development.js create mode 100644 node_modules/@dabh/diagnostics/node/index.js create mode 100644 node_modules/@dabh/diagnostics/node/override.js create mode 100644 node_modules/@dabh/diagnostics/node/production.js create mode 100644 node_modules/@dabh/diagnostics/package.json create mode 100644 node_modules/@ioredis/commands/LICENSE create mode 100644 node_modules/@ioredis/commands/README.md create mode 100644 node_modules/@ioredis/commands/built/commands.json create mode 100644 node_modules/@ioredis/commands/built/index.d.ts create mode 100644 node_modules/@ioredis/commands/built/index.js create mode 100644 node_modules/@ioredis/commands/package.json create mode 100644 node_modules/@smithy/chunked-blob-reader-native/LICENSE create mode 100644 node_modules/@smithy/chunked-blob-reader-native/README.md create mode 100644 node_modules/@smithy/chunked-blob-reader-native/dist-cjs/index.js create mode 100644 node_modules/@smithy/chunked-blob-reader-native/dist-es/index.js create mode 100644 node_modules/@smithy/chunked-blob-reader-native/dist-types/index.d.ts create mode 100644 node_modules/@smithy/chunked-blob-reader-native/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/chunked-blob-reader-native/package.json create mode 100644 node_modules/@smithy/chunked-blob-reader/LICENSE create mode 100644 node_modules/@smithy/chunked-blob-reader/README.md create mode 100644 node_modules/@smithy/chunked-blob-reader/dist-cjs/index.js create mode 100644 node_modules/@smithy/chunked-blob-reader/dist-es/index.js create mode 100644 node_modules/@smithy/chunked-blob-reader/dist-types/index.d.ts create mode 100644 node_modules/@smithy/chunked-blob-reader/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/chunked-blob-reader/package.json create mode 100644 node_modules/@smithy/config-resolver/LICENSE create mode 100644 node_modules/@smithy/config-resolver/README.md create mode 100644 node_modules/@smithy/config-resolver/dist-cjs/index.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/endpointsConfig/index.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/endpointsConfig/utils/getEndpointFromRegion.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/index.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/regionConfig/checkRegion.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/regionConfig/config.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/regionConfig/getRealRegion.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/regionConfig/index.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/regionConfig/isFipsRegion.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/regionInfo/EndpointVariant.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/regionInfo/EndpointVariantTag.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/regionInfo/PartitionHash.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/regionInfo/RegionHash.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/regionInfo/getHostnameFromVariants.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/regionInfo/getRegionInfo.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedHostname.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedPartition.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedSigningRegion.js create mode 100644 node_modules/@smithy/config-resolver/dist-es/regionInfo/index.js create mode 100644 node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/endpointsConfig/index.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/endpointsConfig/utils/getEndpointFromRegion.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/index.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/regionConfig/checkRegion.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/regionConfig/config.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/regionConfig/getRealRegion.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/regionConfig/index.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/regionConfig/isFipsRegion.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariant.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariantTag.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/regionInfo/PartitionHash.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/regionInfo/RegionHash.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/regionInfo/getHostnameFromVariants.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/regionInfo/getRegionInfo.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedHostname.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedPartition.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedSigningRegion.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/regionInfo/index.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/index.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/utils/getEndpointFromRegion.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/checkRegion.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/config.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/index.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariant.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariantTag.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/PartitionHash.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/RegionHash.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getHostnameFromVariants.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getRegionInfo.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedHostname.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedPartition.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedSigningRegion.d.ts create mode 100644 node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/index.d.ts create mode 100644 node_modules/@smithy/config-resolver/package.json create mode 100644 node_modules/@smithy/core/LICENSE create mode 100644 node_modules/@smithy/core/README.md create mode 100644 node_modules/@smithy/core/cbor.d.ts create mode 100644 node_modules/@smithy/core/cbor.js create mode 100644 node_modules/@smithy/core/dist-cjs/index.js create mode 100644 node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js create mode 100644 node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js create mode 100644 node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js create mode 100644 node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js create mode 100644 node_modules/@smithy/core/dist-cjs/submodules/schema/index.js create mode 100644 node_modules/@smithy/core/dist-cjs/submodules/serde/index.js create mode 100644 node_modules/@smithy/core/dist-es/getSmithyContext.js create mode 100644 node_modules/@smithy/core/dist-es/index.js create mode 100644 node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js create mode 100644 node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js create mode 100644 node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js create mode 100644 node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/index.js create mode 100644 node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/resolveAuthOptions.js create mode 100644 node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js create mode 100644 node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js create mode 100644 node_modules/@smithy/core/dist-es/middleware-http-signing/index.js create mode 100644 node_modules/@smithy/core/dist-es/normalizeProvider.js create mode 100644 node_modules/@smithy/core/dist-es/pagination/createPaginator.js create mode 100644 node_modules/@smithy/core/dist-es/request-builder/requestBuilder.js create mode 100644 node_modules/@smithy/core/dist-es/setFeature.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/cbor/byte-printer.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/cbor/cbor-types.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/cbor/index.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/endpoints/index.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/event-streams/index.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/protocols/index.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/schema/deref.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/schema/index.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/schema/middleware/getSchemaSerdePlugin.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/schema/middleware/schema-middleware-types.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/schema/schemas/operation.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/schema/schemas/sentinels.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/serde/date-utils.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/serde/generateIdempotencyToken.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/serde/index.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/serde/lazy-json.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/serde/quote-header.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/serde/split-every.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/serde/split-header.js create mode 100644 node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js create mode 100644 node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js create mode 100644 node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js create mode 100644 node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js create mode 100644 node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/index.js create mode 100644 node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/noAuth.js create mode 100644 node_modules/@smithy/core/dist-es/util-identity-and-auth/index.js create mode 100644 node_modules/@smithy/core/dist-es/util-identity-and-auth/memoizeIdentityProvider.js create mode 100644 node_modules/@smithy/core/dist-types/getSmithyContext.d.ts create mode 100644 node_modules/@smithy/core/dist-types/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts create mode 100644 node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts create mode 100644 node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts create mode 100644 node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/resolveAuthOptions.d.ts create mode 100644 node_modules/@smithy/core/dist-types/middleware-http-signing/getHttpSigningMiddleware.d.ts create mode 100644 node_modules/@smithy/core/dist-types/middleware-http-signing/httpSigningMiddleware.d.ts create mode 100644 node_modules/@smithy/core/dist-types/middleware-http-signing/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/normalizeProvider.d.ts create mode 100644 node_modules/@smithy/core/dist-types/pagination/createPaginator.d.ts create mode 100644 node_modules/@smithy/core/dist-types/request-builder/requestBuilder.d.ts create mode 100644 node_modules/@smithy/core/dist-types/setFeature.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/cbor/byte-printer.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/cbor/cbor-encode.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/cbor/cbor.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/endpoints/toEndpointV1.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/event-streams/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/protocols/SerdeContext.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/protocols/extended-encode-uri-component.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/protocols/requestBuilder.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/protocols/resolve-path.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/protocols/serde/determineTimestampFormat.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/schema/deref.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/schema/middleware/getSchemaSerdePlugin.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/schema/middleware/schema-middleware-types.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaSerializationMiddleware.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/schema/schemas/operation.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/serde/date-utils.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/serde/generateIdempotencyToken.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/serde/lazy-json.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/serde/parse-utils.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/serde/quote-header.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/serde/schema-serde-lib/schema-date-utils.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/serde/split-every.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/serde/split-header.d.ts create mode 100644 node_modules/@smithy/core/dist-types/submodules/serde/value/NumericValue.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/getSmithyContext.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/resolveAuthOptions.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/getHttpSigningMiddleware.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/httpSigningMiddleware.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/normalizeProvider.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/pagination/createPaginator.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/request-builder/requestBuilder.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/date-utils.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/generateIdempotencyToken.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/lazy-json.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/quote-header.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-every.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-header.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/memoizeIdentityProvider.d.ts create mode 100644 node_modules/@smithy/core/dist-types/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts create mode 100644 node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts create mode 100644 node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts create mode 100644 node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts create mode 100644 node_modules/@smithy/core/dist-types/util-identity-and-auth/index.d.ts create mode 100644 node_modules/@smithy/core/dist-types/util-identity-and-auth/memoizeIdentityProvider.d.ts create mode 100644 node_modules/@smithy/core/endpoints.d.ts create mode 100644 node_modules/@smithy/core/endpoints.js create mode 100644 node_modules/@smithy/core/event-streams.d.ts create mode 100644 node_modules/@smithy/core/event-streams.js create mode 100644 node_modules/@smithy/core/package.json create mode 100644 node_modules/@smithy/core/protocols.d.ts create mode 100644 node_modules/@smithy/core/protocols.js create mode 100644 node_modules/@smithy/core/schema.d.ts create mode 100644 node_modules/@smithy/core/schema.js create mode 100644 node_modules/@smithy/core/serde.d.ts create mode 100644 node_modules/@smithy/core/serde.js create mode 100644 node_modules/@smithy/credential-provider-imds/LICENSE create mode 100644 node_modules/@smithy/credential-provider-imds/README.md create mode 100644 node_modules/@smithy/credential-provider-imds/dist-cjs/index.js create mode 100644 node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js create mode 100644 node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js create mode 100644 node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js create mode 100644 node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js create mode 100644 node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js create mode 100644 node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js create mode 100644 node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js create mode 100644 node_modules/@smithy/credential-provider-imds/dist-es/index.js create mode 100644 node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js create mode 100644 node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js create mode 100644 node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js create mode 100644 node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js create mode 100644 node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js create mode 100644 node_modules/@smithy/credential-provider-imds/dist-es/types.js create mode 100644 node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js create mode 100644 node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js create mode 100644 node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/config/Endpoint.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointMode.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/error/InstanceMetadataV1FallbackError.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/RemoteProviderInit.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/retry.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/types.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/utils/getExtendedInstanceMetadataCredentials.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/utils/getInstanceMetadataEndpoint.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts create mode 100644 node_modules/@smithy/credential-provider-imds/package.json create mode 100644 node_modules/@smithy/eventstream-codec/LICENSE create mode 100644 node_modules/@smithy/eventstream-codec/README.md create mode 100644 node_modules/@smithy/eventstream-codec/dist-cjs/index.js create mode 100644 node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js create mode 100644 node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js create mode 100644 node_modules/@smithy/eventstream-codec/dist-es/Int64.js create mode 100644 node_modules/@smithy/eventstream-codec/dist-es/Message.js create mode 100644 node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js create mode 100644 node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js create mode 100644 node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js create mode 100644 node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js create mode 100644 node_modules/@smithy/eventstream-codec/dist-es/TestVectors.fixture.js create mode 100644 node_modules/@smithy/eventstream-codec/dist-es/index.js create mode 100644 node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js create mode 100644 node_modules/@smithy/eventstream-codec/dist-es/vectorTypes.fixture.js create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/EventStreamCodec.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/HeaderMarshaller.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/Int64.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/Message.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/MessageDecoderStream.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/MessageEncoderStream.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageDecoderStream.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageEncoderStream.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/TestVectors.fixture.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/index.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/splitMessage.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/ts3.4/EventStreamCodec.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/ts3.4/HeaderMarshaller.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Int64.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Message.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageDecoderStream.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageEncoderStream.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageDecoderStream.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageEncoderStream.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/ts3.4/TestVectors.fixture.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/ts3.4/splitMessage.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/ts3.4/vectorTypes.fixture.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/dist-types/vectorTypes.fixture.d.ts create mode 100644 node_modules/@smithy/eventstream-codec/package.json create mode 100644 node_modules/@smithy/eventstream-serde-browser/LICENSE create mode 100644 node_modules/@smithy/eventstream-serde-browser/README.md create mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js create mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-es/EventStreamMarshaller.js create mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-es/index.js create mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-es/provider.js create mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-es/utils.js create mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-types/EventStreamMarshaller.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-types/index.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-types/provider.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/EventStreamMarshaller.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/provider.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/utils.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-types/utils.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-browser/package.json create mode 100644 node_modules/@smithy/eventstream-serde-config-resolver/LICENSE create mode 100644 node_modules/@smithy/eventstream-serde-config-resolver/README.md create mode 100644 node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js create mode 100644 node_modules/@smithy/eventstream-serde-config-resolver/dist-es/EventStreamSerdeConfig.js create mode 100644 node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js create mode 100644 node_modules/@smithy/eventstream-serde-config-resolver/dist-types/EventStreamSerdeConfig.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-config-resolver/dist-types/index.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/EventStreamSerdeConfig.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-config-resolver/package.json create mode 100644 node_modules/@smithy/eventstream-serde-node/LICENSE create mode 100644 node_modules/@smithy/eventstream-serde-node/README.md create mode 100644 node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js create mode 100644 node_modules/@smithy/eventstream-serde-node/dist-es/EventStreamMarshaller.js create mode 100644 node_modules/@smithy/eventstream-serde-node/dist-es/index.js create mode 100644 node_modules/@smithy/eventstream-serde-node/dist-es/provider.js create mode 100644 node_modules/@smithy/eventstream-serde-node/dist-es/utils.js create mode 100644 node_modules/@smithy/eventstream-serde-node/dist-types/EventStreamMarshaller.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-node/dist-types/index.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-node/dist-types/provider.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/EventStreamMarshaller.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/provider.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/utils.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-node/dist-types/utils.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-node/package.json create mode 100644 node_modules/@smithy/eventstream-serde-universal/LICENSE create mode 100644 node_modules/@smithy/eventstream-serde-universal/README.md create mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js create mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js create mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-es/getChunkedStream.js create mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-es/getUnmarshalledStream.js create mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-es/index.js create mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-es/provider.js create mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/EventStreamMarshaller.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/getChunkedStream.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/getUnmarshalledStream.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/index.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/provider.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/EventStreamMarshaller.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getChunkedStream.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getUnmarshalledStream.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/provider.d.ts create mode 100644 node_modules/@smithy/eventstream-serde-universal/package.json create mode 100644 node_modules/@smithy/fetch-http-handler/LICENSE create mode 100644 node_modules/@smithy/fetch-http-handler/README.md create mode 100644 node_modules/@smithy/fetch-http-handler/dist-cjs/index.js create mode 100644 node_modules/@smithy/fetch-http-handler/dist-es/create-request.js create mode 100644 node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js create mode 100644 node_modules/@smithy/fetch-http-handler/dist-es/index.js create mode 100644 node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js create mode 100644 node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js create mode 100644 node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts create mode 100644 node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts create mode 100644 node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts create mode 100644 node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts create mode 100644 node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts create mode 100644 node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts create mode 100644 node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts create mode 100644 node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts create mode 100644 node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/stream-collector.d.ts create mode 100644 node_modules/@smithy/fetch-http-handler/package.json create mode 100644 node_modules/@smithy/hash-blob-browser/LICENSE create mode 100644 node_modules/@smithy/hash-blob-browser/README.md create mode 100644 node_modules/@smithy/hash-blob-browser/dist-cjs/index.js create mode 100644 node_modules/@smithy/hash-blob-browser/dist-es/index.js create mode 100644 node_modules/@smithy/hash-blob-browser/dist-types/index.d.ts create mode 100644 node_modules/@smithy/hash-blob-browser/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/hash-blob-browser/package.json create mode 100644 node_modules/@smithy/hash-node/LICENSE create mode 100644 node_modules/@smithy/hash-node/README.md create mode 100644 node_modules/@smithy/hash-node/dist-cjs/index.js create mode 100644 node_modules/@smithy/hash-node/dist-es/index.js create mode 100644 node_modules/@smithy/hash-node/dist-types/index.d.ts create mode 100644 node_modules/@smithy/hash-node/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/hash-node/package.json create mode 100644 node_modules/@smithy/hash-stream-node/LICENSE create mode 100644 node_modules/@smithy/hash-stream-node/README.md create mode 100644 node_modules/@smithy/hash-stream-node/dist-cjs/index.js create mode 100644 node_modules/@smithy/hash-stream-node/dist-es/HashCalculator.js create mode 100644 node_modules/@smithy/hash-stream-node/dist-es/fileStreamHasher.js create mode 100644 node_modules/@smithy/hash-stream-node/dist-es/index.js create mode 100644 node_modules/@smithy/hash-stream-node/dist-es/readableStreamHasher.js create mode 100644 node_modules/@smithy/hash-stream-node/dist-types/HashCalculator.d.ts create mode 100644 node_modules/@smithy/hash-stream-node/dist-types/fileStreamHasher.d.ts create mode 100644 node_modules/@smithy/hash-stream-node/dist-types/index.d.ts create mode 100644 node_modules/@smithy/hash-stream-node/dist-types/readableStreamHasher.d.ts create mode 100644 node_modules/@smithy/hash-stream-node/dist-types/ts3.4/HashCalculator.d.ts create mode 100644 node_modules/@smithy/hash-stream-node/dist-types/ts3.4/fileStreamHasher.d.ts create mode 100644 node_modules/@smithy/hash-stream-node/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/hash-stream-node/dist-types/ts3.4/readableStreamHasher.d.ts create mode 100644 node_modules/@smithy/hash-stream-node/package.json create mode 100644 node_modules/@smithy/invalid-dependency/LICENSE create mode 100644 node_modules/@smithy/invalid-dependency/README.md create mode 100644 node_modules/@smithy/invalid-dependency/dist-cjs/index.js create mode 100644 node_modules/@smithy/invalid-dependency/dist-es/index.js create mode 100644 node_modules/@smithy/invalid-dependency/dist-es/invalidFunction.js create mode 100644 node_modules/@smithy/invalid-dependency/dist-es/invalidProvider.js create mode 100644 node_modules/@smithy/invalid-dependency/dist-types/index.d.ts create mode 100644 node_modules/@smithy/invalid-dependency/dist-types/invalidFunction.d.ts create mode 100644 node_modules/@smithy/invalid-dependency/dist-types/invalidProvider.d.ts create mode 100644 node_modules/@smithy/invalid-dependency/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidFunction.d.ts create mode 100644 node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidProvider.d.ts create mode 100644 node_modules/@smithy/invalid-dependency/package.json create mode 100644 node_modules/@smithy/is-array-buffer/LICENSE create mode 100644 node_modules/@smithy/is-array-buffer/README.md create mode 100644 node_modules/@smithy/is-array-buffer/dist-cjs/index.js create mode 100644 node_modules/@smithy/is-array-buffer/dist-es/index.js create mode 100644 node_modules/@smithy/is-array-buffer/dist-types/index.d.ts create mode 100644 node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/is-array-buffer/package.json create mode 100644 node_modules/@smithy/md5-js/LICENSE create mode 100644 node_modules/@smithy/md5-js/README.md create mode 100644 node_modules/@smithy/md5-js/dist-cjs/index.js create mode 100644 node_modules/@smithy/md5-js/dist-es/constants.js create mode 100644 node_modules/@smithy/md5-js/dist-es/index.js create mode 100644 node_modules/@smithy/md5-js/dist-types/constants.d.ts create mode 100644 node_modules/@smithy/md5-js/dist-types/index.d.ts create mode 100644 node_modules/@smithy/md5-js/dist-types/ts3.4/constants.d.ts create mode 100644 node_modules/@smithy/md5-js/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/md5-js/package.json create mode 100644 node_modules/@smithy/middleware-content-length/LICENSE create mode 100644 node_modules/@smithy/middleware-content-length/README.md create mode 100644 node_modules/@smithy/middleware-content-length/dist-cjs/index.js create mode 100644 node_modules/@smithy/middleware-content-length/dist-es/index.js create mode 100644 node_modules/@smithy/middleware-content-length/dist-types/index.d.ts create mode 100644 node_modules/@smithy/middleware-content-length/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/middleware-content-length/package.json create mode 100644 node_modules/@smithy/middleware-endpoint/LICENSE create mode 100644 node_modules/@smithy/middleware-endpoint/README.md create mode 100644 node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.browser.js create mode 100644 node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js create mode 100644 node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js create mode 100644 node_modules/@smithy/middleware-endpoint/dist-cjs/index.js create mode 100644 node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js create mode 100644 node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.browser.js create mode 100644 node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.js create mode 100644 node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js create mode 100644 node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointUrlConfig.js create mode 100644 node_modules/@smithy/middleware-endpoint/dist-es/adaptors/index.js create mode 100644 node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js create mode 100644 node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js create mode 100644 node_modules/@smithy/middleware-endpoint/dist-es/getEndpointPlugin.js create mode 100644 node_modules/@smithy/middleware-endpoint/dist-es/index.js create mode 100644 node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js create mode 100644 node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointRequiredConfig.js create mode 100644 node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/index.js create mode 100644 node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js create mode 100644 node_modules/@smithy/middleware-endpoint/dist-es/types.js create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/adaptors/createConfigValueProvider.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromConfig.browser.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromConfig.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromInstructions.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointUrlConfig.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/adaptors/index.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/endpointMiddleware.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/getEndpointPlugin.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/service-customizations/index.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/service-customizations/s3.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/createConfigValueProvider.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.browser.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromInstructions.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointUrlConfig.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/index.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/endpointMiddleware.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/getEndpointPlugin.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointRequiredConfig.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/index.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/s3.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/types.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/dist-types/types.d.ts create mode 100644 node_modules/@smithy/middleware-endpoint/package.json create mode 100644 node_modules/@smithy/middleware-retry/LICENSE create mode 100644 node_modules/@smithy/middleware-retry/README.md create mode 100644 node_modules/@smithy/middleware-retry/dist-cjs/index.js create mode 100644 node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.browser.js create mode 100644 node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js create mode 100644 node_modules/@smithy/middleware-retry/dist-es/AdaptiveRetryStrategy.js create mode 100644 node_modules/@smithy/middleware-retry/dist-es/StandardRetryStrategy.js create mode 100644 node_modules/@smithy/middleware-retry/dist-es/configurations.js create mode 100644 node_modules/@smithy/middleware-retry/dist-es/defaultRetryQuota.js create mode 100644 node_modules/@smithy/middleware-retry/dist-es/delayDecider.js create mode 100644 node_modules/@smithy/middleware-retry/dist-es/index.js create mode 100644 node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.browser.js create mode 100644 node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.js create mode 100644 node_modules/@smithy/middleware-retry/dist-es/omitRetryHeadersMiddleware.js create mode 100644 node_modules/@smithy/middleware-retry/dist-es/retryDecider.js create mode 100644 node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js create mode 100644 node_modules/@smithy/middleware-retry/dist-es/types.js create mode 100644 node_modules/@smithy/middleware-retry/dist-es/util.js create mode 100644 node_modules/@smithy/middleware-retry/dist-types/AdaptiveRetryStrategy.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/StandardRetryStrategy.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/defaultRetryQuota.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/delayDecider.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/index.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/isStreamingPayload/isStreamingPayload.browser.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/isStreamingPayload/isStreamingPayload.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/retryDecider.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/ts3.4/defaultRetryQuota.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/ts3.4/delayDecider.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.browser.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/ts3.4/omitRetryHeadersMiddleware.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryDecider.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryMiddleware.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/ts3.4/types.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/ts3.4/util.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/types.d.ts create mode 100644 node_modules/@smithy/middleware-retry/dist-types/util.d.ts create mode 100644 node_modules/@smithy/middleware-retry/package.json create mode 100644 node_modules/@smithy/middleware-serde/LICENSE create mode 100644 node_modules/@smithy/middleware-serde/README.md create mode 100644 node_modules/@smithy/middleware-serde/dist-cjs/index.js create mode 100644 node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js create mode 100644 node_modules/@smithy/middleware-serde/dist-es/index.js create mode 100644 node_modules/@smithy/middleware-serde/dist-es/serdePlugin.js create mode 100644 node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js create mode 100644 node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts create mode 100644 node_modules/@smithy/middleware-serde/dist-types/index.d.ts create mode 100644 node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts create mode 100644 node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts create mode 100644 node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts create mode 100644 node_modules/@smithy/middleware-serde/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts create mode 100644 node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts create mode 100644 node_modules/@smithy/middleware-serde/package.json create mode 100644 node_modules/@smithy/middleware-stack/LICENSE create mode 100644 node_modules/@smithy/middleware-stack/README.md create mode 100644 node_modules/@smithy/middleware-stack/dist-cjs/index.js create mode 100644 node_modules/@smithy/middleware-stack/dist-es/MiddlewareStack.js create mode 100644 node_modules/@smithy/middleware-stack/dist-es/index.js create mode 100644 node_modules/@smithy/middleware-stack/dist-es/types.js create mode 100644 node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts create mode 100644 node_modules/@smithy/middleware-stack/dist-types/index.d.ts create mode 100644 node_modules/@smithy/middleware-stack/dist-types/ts3.4/MiddlewareStack.d.ts create mode 100644 node_modules/@smithy/middleware-stack/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/middleware-stack/dist-types/ts3.4/types.d.ts create mode 100644 node_modules/@smithy/middleware-stack/dist-types/types.d.ts create mode 100644 node_modules/@smithy/middleware-stack/package.json create mode 100644 node_modules/@smithy/node-config-provider/LICENSE create mode 100644 node_modules/@smithy/node-config-provider/README.md create mode 100644 node_modules/@smithy/node-config-provider/dist-cjs/index.js create mode 100644 node_modules/@smithy/node-config-provider/dist-es/configLoader.js create mode 100644 node_modules/@smithy/node-config-provider/dist-es/fromEnv.js create mode 100644 node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js create mode 100644 node_modules/@smithy/node-config-provider/dist-es/fromStatic.js create mode 100644 node_modules/@smithy/node-config-provider/dist-es/getSelectorName.js create mode 100644 node_modules/@smithy/node-config-provider/dist-es/index.js create mode 100644 node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts create mode 100644 node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts create mode 100644 node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts create mode 100644 node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts create mode 100644 node_modules/@smithy/node-config-provider/dist-types/getSelectorName.d.ts create mode 100644 node_modules/@smithy/node-config-provider/dist-types/index.d.ts create mode 100644 node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts create mode 100644 node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromEnv.d.ts create mode 100644 node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts create mode 100644 node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts create mode 100644 node_modules/@smithy/node-config-provider/dist-types/ts3.4/getSelectorName.d.ts create mode 100644 node_modules/@smithy/node-config-provider/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/node-config-provider/package.json create mode 100644 node_modules/@smithy/node-http-handler/LICENSE create mode 100644 node_modules/@smithy/node-http-handler/README.md create mode 100644 node_modules/@smithy/node-http-handler/dist-cjs/index.js create mode 100644 node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js create mode 100644 node_modules/@smithy/node-http-handler/dist-es/constants.js create mode 100644 node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js create mode 100644 node_modules/@smithy/node-http-handler/dist-es/index.js create mode 100644 node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js create mode 100644 node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js create mode 100644 node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js create mode 100644 node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js create mode 100644 node_modules/@smithy/node-http-handler/dist-es/readable.mock.js create mode 100644 node_modules/@smithy/node-http-handler/dist-es/server.mock.js create mode 100644 node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js create mode 100644 node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js create mode 100644 node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js create mode 100644 node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js create mode 100644 node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js create mode 100644 node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js create mode 100644 node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js create mode 100644 node_modules/@smithy/node-http-handler/dist-es/timing.js create mode 100644 node_modules/@smithy/node-http-handler/dist-es/write-request-body.js create mode 100644 node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/constants.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/index.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/timing.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts create mode 100644 node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts create mode 100644 node_modules/@smithy/node-http-handler/package.json create mode 100644 node_modules/@smithy/property-provider/LICENSE create mode 100644 node_modules/@smithy/property-provider/README.md create mode 100644 node_modules/@smithy/property-provider/dist-cjs/index.js create mode 100644 node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js create mode 100644 node_modules/@smithy/property-provider/dist-es/ProviderError.js create mode 100644 node_modules/@smithy/property-provider/dist-es/TokenProviderError.js create mode 100644 node_modules/@smithy/property-provider/dist-es/chain.js create mode 100644 node_modules/@smithy/property-provider/dist-es/fromStatic.js create mode 100644 node_modules/@smithy/property-provider/dist-es/index.js create mode 100644 node_modules/@smithy/property-provider/dist-es/memoize.js create mode 100644 node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts create mode 100644 node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts create mode 100644 node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts create mode 100644 node_modules/@smithy/property-provider/dist-types/chain.d.ts create mode 100644 node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts create mode 100644 node_modules/@smithy/property-provider/dist-types/index.d.ts create mode 100644 node_modules/@smithy/property-provider/dist-types/memoize.d.ts create mode 100644 node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts create mode 100644 node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts create mode 100644 node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts create mode 100644 node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts create mode 100644 node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts create mode 100644 node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts create mode 100644 node_modules/@smithy/property-provider/package.json create mode 100644 node_modules/@smithy/protocol-http/LICENSE create mode 100644 node_modules/@smithy/protocol-http/README.md create mode 100644 node_modules/@smithy/protocol-http/dist-cjs/index.js create mode 100644 node_modules/@smithy/protocol-http/dist-es/Field.js create mode 100644 node_modules/@smithy/protocol-http/dist-es/Fields.js create mode 100644 node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js create mode 100644 node_modules/@smithy/protocol-http/dist-es/extensions/index.js create mode 100644 node_modules/@smithy/protocol-http/dist-es/httpHandler.js create mode 100644 node_modules/@smithy/protocol-http/dist-es/httpRequest.js create mode 100644 node_modules/@smithy/protocol-http/dist-es/httpResponse.js create mode 100644 node_modules/@smithy/protocol-http/dist-es/index.js create mode 100644 node_modules/@smithy/protocol-http/dist-es/isValidHostname.js create mode 100644 node_modules/@smithy/protocol-http/dist-es/types.js create mode 100644 node_modules/@smithy/protocol-http/dist-types/Field.d.ts create mode 100644 node_modules/@smithy/protocol-http/dist-types/Fields.d.ts create mode 100644 node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts create mode 100644 node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts create mode 100644 node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts create mode 100644 node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts create mode 100644 node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts create mode 100644 node_modules/@smithy/protocol-http/dist-types/index.d.ts create mode 100644 node_modules/@smithy/protocol-http/dist-types/isValidHostname.d.ts create mode 100644 node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts create mode 100644 node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts create mode 100644 node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts create mode 100644 node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts create mode 100644 node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts create mode 100644 node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts create mode 100644 node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts create mode 100644 node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts create mode 100644 node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts create mode 100644 node_modules/@smithy/protocol-http/dist-types/types.d.ts create mode 100644 node_modules/@smithy/protocol-http/package.json create mode 100644 node_modules/@smithy/querystring-builder/LICENSE create mode 100644 node_modules/@smithy/querystring-builder/README.md create mode 100644 node_modules/@smithy/querystring-builder/dist-cjs/index.js create mode 100644 node_modules/@smithy/querystring-builder/dist-es/index.js create mode 100644 node_modules/@smithy/querystring-builder/dist-types/index.d.ts create mode 100644 node_modules/@smithy/querystring-builder/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/querystring-builder/package.json create mode 100644 node_modules/@smithy/querystring-parser/LICENSE create mode 100644 node_modules/@smithy/querystring-parser/README.md create mode 100644 node_modules/@smithy/querystring-parser/dist-cjs/index.js create mode 100644 node_modules/@smithy/querystring-parser/dist-es/index.js create mode 100644 node_modules/@smithy/querystring-parser/dist-types/index.d.ts create mode 100644 node_modules/@smithy/querystring-parser/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/querystring-parser/package.json create mode 100644 node_modules/@smithy/service-error-classification/LICENSE create mode 100644 node_modules/@smithy/service-error-classification/README.md create mode 100644 node_modules/@smithy/service-error-classification/dist-cjs/index.js create mode 100644 node_modules/@smithy/service-error-classification/dist-es/constants.js create mode 100644 node_modules/@smithy/service-error-classification/dist-es/index.js create mode 100644 node_modules/@smithy/service-error-classification/dist-types/constants.d.ts create mode 100644 node_modules/@smithy/service-error-classification/dist-types/index.d.ts create mode 100644 node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts create mode 100644 node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/service-error-classification/package.json create mode 100644 node_modules/@smithy/shared-ini-file-loader/LICENSE create mode 100644 node_modules/@smithy/shared-ini-file-loader/README.md create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-es/constants.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-es/index.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-es/readFile.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-es/types.js create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/constants.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/readFile.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/constants.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/readFile.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts create mode 100644 node_modules/@smithy/shared-ini-file-loader/package.json create mode 100644 node_modules/@smithy/signature-v4/LICENSE create mode 100644 node_modules/@smithy/signature-v4/README.md create mode 100644 node_modules/@smithy/signature-v4/dist-cjs/index.js create mode 100644 node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js create mode 100644 node_modules/@smithy/signature-v4/dist-es/SignatureV4.js create mode 100644 node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js create mode 100644 node_modules/@smithy/signature-v4/dist-es/constants.js create mode 100644 node_modules/@smithy/signature-v4/dist-es/credentialDerivation.js create mode 100644 node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js create mode 100644 node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js create mode 100644 node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js create mode 100644 node_modules/@smithy/signature-v4/dist-es/headerUtil.js create mode 100644 node_modules/@smithy/signature-v4/dist-es/index.js create mode 100644 node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js create mode 100644 node_modules/@smithy/signature-v4/dist-es/prepareRequest.js create mode 100644 node_modules/@smithy/signature-v4/dist-es/signature-v4a-container.js create mode 100644 node_modules/@smithy/signature-v4/dist-es/suite.fixture.js create mode 100644 node_modules/@smithy/signature-v4/dist-es/utilDate.js create mode 100644 node_modules/@smithy/signature-v4/dist-types/HeaderFormatter.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/SignatureV4Base.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/constants.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/credentialDerivation.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/getCanonicalHeaders.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/getCanonicalQuery.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/getPayloadHash.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/headerUtil.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/index.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/prepareRequest.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/signature-v4a-container.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/suite.fixture.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/ts3.4/HeaderFormatter.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4Base.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/ts3.4/constants.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/ts3.4/headerUtil.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/ts3.4/signature-v4a-container.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/ts3.4/suite.fixture.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/ts3.4/utilDate.d.ts create mode 100644 node_modules/@smithy/signature-v4/dist-types/utilDate.d.ts create mode 100644 node_modules/@smithy/signature-v4/package.json create mode 100644 node_modules/@smithy/smithy-client/LICENSE create mode 100644 node_modules/@smithy/smithy-client/README.md create mode 100644 node_modules/@smithy/smithy-client/dist-cjs/index.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/NoOpLogger.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/client.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/collect-stream-body.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/command.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/constants.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/default-error-handler.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/defaults-mode.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/exceptions.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/extended-encode-uri-component.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/extensions/index.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/extensions/retry.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/get-array-if-single-item.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/get-value-from-text-node.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/index.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/is-serializable-header-value.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/object-mapping.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/resolve-path.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/schemaLogFilter.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/ser-utils.js create mode 100644 node_modules/@smithy/smithy-client/dist-es/serde-json.js create mode 100644 node_modules/@smithy/smithy-client/dist-types/NoOpLogger.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/client.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/collect-stream-body.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/command.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/constants.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/default-error-handler.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/defaults-mode.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/emitWarningIfUnsupportedVersion.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/exceptions.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/extended-encode-uri-component.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/extensions/index.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/get-array-if-single-item.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/get-value-from-text-node.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/index.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/is-serializable-header-value.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/object-mapping.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/resolve-path.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/schemaLogFilter.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ser-utils.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/serde-json.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/NoOpLogger.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/collect-stream-body.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/constants.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/default-error-handler.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/defaults-mode.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/emitWarningIfUnsupportedVersion.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/exceptions.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/extended-encode-uri-component.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/index.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/retry.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/get-array-if-single-item.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/get-value-from-text-node.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/is-serializable-header-value.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/object-mapping.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/resolve-path.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/schemaLogFilter.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/ser-utils.d.ts create mode 100644 node_modules/@smithy/smithy-client/dist-types/ts3.4/serde-json.d.ts create mode 100644 node_modules/@smithy/smithy-client/package.json create mode 100644 node_modules/@smithy/types/LICENSE create mode 100644 node_modules/@smithy/types/README.md create mode 100644 node_modules/@smithy/types/dist-cjs/index.js create mode 100644 node_modules/@smithy/types/dist-es/abort-handler.js create mode 100644 node_modules/@smithy/types/dist-es/abort.js create mode 100644 node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js create mode 100644 node_modules/@smithy/types/dist-es/auth/HttpAuthScheme.js create mode 100644 node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js create mode 100644 node_modules/@smithy/types/dist-es/auth/HttpSigner.js create mode 100644 node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js create mode 100644 node_modules/@smithy/types/dist-es/auth/auth.js create mode 100644 node_modules/@smithy/types/dist-es/auth/index.js create mode 100644 node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js create mode 100644 node_modules/@smithy/types/dist-es/checksum.js create mode 100644 node_modules/@smithy/types/dist-es/client.js create mode 100644 node_modules/@smithy/types/dist-es/command.js create mode 100644 node_modules/@smithy/types/dist-es/connection/config.js create mode 100644 node_modules/@smithy/types/dist-es/connection/index.js create mode 100644 node_modules/@smithy/types/dist-es/connection/manager.js create mode 100644 node_modules/@smithy/types/dist-es/connection/pool.js create mode 100644 node_modules/@smithy/types/dist-es/crypto.js create mode 100644 node_modules/@smithy/types/dist-es/downlevel-ts3.4/transform/type-transform.js create mode 100644 node_modules/@smithy/types/dist-es/encode.js create mode 100644 node_modules/@smithy/types/dist-es/endpoint.js create mode 100644 node_modules/@smithy/types/dist-es/endpoints/EndpointRuleObject.js create mode 100644 node_modules/@smithy/types/dist-es/endpoints/ErrorRuleObject.js create mode 100644 node_modules/@smithy/types/dist-es/endpoints/RuleSetObject.js create mode 100644 node_modules/@smithy/types/dist-es/endpoints/TreeRuleObject.js create mode 100644 node_modules/@smithy/types/dist-es/endpoints/index.js create mode 100644 node_modules/@smithy/types/dist-es/endpoints/shared.js create mode 100644 node_modules/@smithy/types/dist-es/eventStream.js create mode 100644 node_modules/@smithy/types/dist-es/extensions/checksum.js create mode 100644 node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js create mode 100644 node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js create mode 100644 node_modules/@smithy/types/dist-es/extensions/index.js create mode 100644 node_modules/@smithy/types/dist-es/extensions/retry.js create mode 100644 node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js create mode 100644 node_modules/@smithy/types/dist-es/feature-ids.js create mode 100644 node_modules/@smithy/types/dist-es/http.js create mode 100644 node_modules/@smithy/types/dist-es/http/httpHandlerInitialization.js create mode 100644 node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js create mode 100644 node_modules/@smithy/types/dist-es/identity/awsCredentialIdentity.js create mode 100644 node_modules/@smithy/types/dist-es/identity/identity.js create mode 100644 node_modules/@smithy/types/dist-es/identity/index.js create mode 100644 node_modules/@smithy/types/dist-es/identity/tokenIdentity.js create mode 100644 node_modules/@smithy/types/dist-es/index.js create mode 100644 node_modules/@smithy/types/dist-es/logger.js create mode 100644 node_modules/@smithy/types/dist-es/middleware.js create mode 100644 node_modules/@smithy/types/dist-es/pagination.js create mode 100644 node_modules/@smithy/types/dist-es/profile.js create mode 100644 node_modules/@smithy/types/dist-es/response.js create mode 100644 node_modules/@smithy/types/dist-es/retry.js create mode 100644 node_modules/@smithy/types/dist-es/schema/schema-deprecated.js create mode 100644 node_modules/@smithy/types/dist-es/schema/schema.js create mode 100644 node_modules/@smithy/types/dist-es/schema/sentinels.js create mode 100644 node_modules/@smithy/types/dist-es/schema/static-schemas.js create mode 100644 node_modules/@smithy/types/dist-es/schema/traits.js create mode 100644 node_modules/@smithy/types/dist-es/serde.js create mode 100644 node_modules/@smithy/types/dist-es/shapes.js create mode 100644 node_modules/@smithy/types/dist-es/signature.js create mode 100644 node_modules/@smithy/types/dist-es/stream.js create mode 100644 node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js create mode 100644 node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js create mode 100644 node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js create mode 100644 node_modules/@smithy/types/dist-es/transfer.js create mode 100644 node_modules/@smithy/types/dist-es/transform/client-method-transforms.js create mode 100644 node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js create mode 100644 node_modules/@smithy/types/dist-es/transform/exact.js create mode 100644 node_modules/@smithy/types/dist-es/transform/mutable.js create mode 100644 node_modules/@smithy/types/dist-es/transform/no-undefined.js create mode 100644 node_modules/@smithy/types/dist-es/transform/type-transform.js create mode 100644 node_modules/@smithy/types/dist-es/uri.js create mode 100644 node_modules/@smithy/types/dist-es/util.js create mode 100644 node_modules/@smithy/types/dist-es/waiter.js create mode 100644 node_modules/@smithy/types/dist-types/abort-handler.d.ts create mode 100644 node_modules/@smithy/types/dist-types/abort.d.ts create mode 100644 node_modules/@smithy/types/dist-types/auth/HttpApiKeyAuth.d.ts create mode 100644 node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts create mode 100644 node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts create mode 100644 node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts create mode 100644 node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts create mode 100644 node_modules/@smithy/types/dist-types/auth/auth.d.ts create mode 100644 node_modules/@smithy/types/dist-types/auth/index.d.ts create mode 100644 node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts create mode 100644 node_modules/@smithy/types/dist-types/checksum.d.ts create mode 100644 node_modules/@smithy/types/dist-types/client.d.ts create mode 100644 node_modules/@smithy/types/dist-types/command.d.ts create mode 100644 node_modules/@smithy/types/dist-types/connection/config.d.ts create mode 100644 node_modules/@smithy/types/dist-types/connection/index.d.ts create mode 100644 node_modules/@smithy/types/dist-types/connection/manager.d.ts create mode 100644 node_modules/@smithy/types/dist-types/connection/pool.d.ts create mode 100644 node_modules/@smithy/types/dist-types/crypto.d.ts create mode 100644 node_modules/@smithy/types/dist-types/downlevel-ts3.4/transform/type-transform.d.ts create mode 100644 node_modules/@smithy/types/dist-types/encode.d.ts create mode 100644 node_modules/@smithy/types/dist-types/endpoint.d.ts create mode 100644 node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts create mode 100644 node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts create mode 100644 node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts create mode 100644 node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts create mode 100644 node_modules/@smithy/types/dist-types/endpoints/index.d.ts create mode 100644 node_modules/@smithy/types/dist-types/endpoints/shared.d.ts create mode 100644 node_modules/@smithy/types/dist-types/eventStream.d.ts create mode 100644 node_modules/@smithy/types/dist-types/extensions/checksum.d.ts create mode 100644 node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts create mode 100644 node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts create mode 100644 node_modules/@smithy/types/dist-types/extensions/index.d.ts create mode 100644 node_modules/@smithy/types/dist-types/extensions/retry.d.ts create mode 100644 node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts create mode 100644 node_modules/@smithy/types/dist-types/feature-ids.d.ts create mode 100644 node_modules/@smithy/types/dist-types/http.d.ts create mode 100644 node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts create mode 100644 node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts create mode 100644 node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts create mode 100644 node_modules/@smithy/types/dist-types/identity/identity.d.ts create mode 100644 node_modules/@smithy/types/dist-types/identity/index.d.ts create mode 100644 node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts create mode 100644 node_modules/@smithy/types/dist-types/index.d.ts create mode 100644 node_modules/@smithy/types/dist-types/logger.d.ts create mode 100644 node_modules/@smithy/types/dist-types/middleware.d.ts create mode 100644 node_modules/@smithy/types/dist-types/pagination.d.ts create mode 100644 node_modules/@smithy/types/dist-types/profile.d.ts create mode 100644 node_modules/@smithy/types/dist-types/response.d.ts create mode 100644 node_modules/@smithy/types/dist-types/retry.d.ts create mode 100644 node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts create mode 100644 node_modules/@smithy/types/dist-types/schema/schema.d.ts create mode 100644 node_modules/@smithy/types/dist-types/schema/sentinels.d.ts create mode 100644 node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts create mode 100644 node_modules/@smithy/types/dist-types/schema/traits.d.ts create mode 100644 node_modules/@smithy/types/dist-types/serde.d.ts create mode 100644 node_modules/@smithy/types/dist-types/shapes.d.ts create mode 100644 node_modules/@smithy/types/dist-types/signature.d.ts create mode 100644 node_modules/@smithy/types/dist-types/stream.d.ts create mode 100644 node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts create mode 100644 node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts create mode 100644 node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts create mode 100644 node_modules/@smithy/types/dist-types/transfer.d.ts create mode 100644 node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts create mode 100644 node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts create mode 100644 node_modules/@smithy/types/dist-types/transform/exact.d.ts create mode 100644 node_modules/@smithy/types/dist-types/transform/mutable.d.ts create mode 100644 node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts create mode 100644 node_modules/@smithy/types/dist-types/transform/type-transform.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/client.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/command.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/http.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/response.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/util.d.ts create mode 100644 node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts create mode 100644 node_modules/@smithy/types/dist-types/uri.d.ts create mode 100644 node_modules/@smithy/types/dist-types/util.d.ts create mode 100644 node_modules/@smithy/types/dist-types/waiter.d.ts create mode 100644 node_modules/@smithy/types/package.json create mode 100644 node_modules/@smithy/url-parser/LICENSE create mode 100644 node_modules/@smithy/url-parser/README.md create mode 100644 node_modules/@smithy/url-parser/dist-cjs/index.js create mode 100644 node_modules/@smithy/url-parser/dist-es/index.js create mode 100644 node_modules/@smithy/url-parser/dist-types/index.d.ts create mode 100644 node_modules/@smithy/url-parser/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/url-parser/package.json create mode 100644 node_modules/@smithy/util-base64/LICENSE create mode 100644 node_modules/@smithy/util-base64/README.md create mode 100644 node_modules/@smithy/util-base64/dist-cjs/constants.browser.js create mode 100644 node_modules/@smithy/util-base64/dist-cjs/fromBase64.browser.js create mode 100644 node_modules/@smithy/util-base64/dist-cjs/fromBase64.js create mode 100644 node_modules/@smithy/util-base64/dist-cjs/index.js create mode 100644 node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js create mode 100644 node_modules/@smithy/util-base64/dist-cjs/toBase64.js create mode 100644 node_modules/@smithy/util-base64/dist-es/constants.browser.js create mode 100644 node_modules/@smithy/util-base64/dist-es/fromBase64.browser.js create mode 100644 node_modules/@smithy/util-base64/dist-es/fromBase64.js create mode 100644 node_modules/@smithy/util-base64/dist-es/index.js create mode 100644 node_modules/@smithy/util-base64/dist-es/toBase64.browser.js create mode 100644 node_modules/@smithy/util-base64/dist-es/toBase64.js create mode 100644 node_modules/@smithy/util-base64/dist-types/constants.browser.d.ts create mode 100644 node_modules/@smithy/util-base64/dist-types/fromBase64.browser.d.ts create mode 100644 node_modules/@smithy/util-base64/dist-types/fromBase64.d.ts create mode 100644 node_modules/@smithy/util-base64/dist-types/index.d.ts create mode 100644 node_modules/@smithy/util-base64/dist-types/toBase64.browser.d.ts create mode 100644 node_modules/@smithy/util-base64/dist-types/toBase64.d.ts create mode 100644 node_modules/@smithy/util-base64/dist-types/ts3.4/constants.browser.d.ts create mode 100644 node_modules/@smithy/util-base64/dist-types/ts3.4/fromBase64.browser.d.ts create mode 100644 node_modules/@smithy/util-base64/dist-types/ts3.4/fromBase64.d.ts create mode 100644 node_modules/@smithy/util-base64/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.browser.d.ts create mode 100644 node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.d.ts create mode 100644 node_modules/@smithy/util-base64/package.json create mode 100644 node_modules/@smithy/util-body-length-browser/LICENSE create mode 100644 node_modules/@smithy/util-body-length-browser/README.md create mode 100644 node_modules/@smithy/util-body-length-browser/dist-cjs/index.js create mode 100644 node_modules/@smithy/util-body-length-browser/dist-es/calculateBodyLength.js create mode 100644 node_modules/@smithy/util-body-length-browser/dist-es/index.js create mode 100644 node_modules/@smithy/util-body-length-browser/dist-types/calculateBodyLength.d.ts create mode 100644 node_modules/@smithy/util-body-length-browser/dist-types/index.d.ts create mode 100644 node_modules/@smithy/util-body-length-browser/dist-types/ts3.4/calculateBodyLength.d.ts create mode 100644 node_modules/@smithy/util-body-length-browser/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/util-body-length-browser/package.json create mode 100644 node_modules/@smithy/util-body-length-node/LICENSE create mode 100644 node_modules/@smithy/util-body-length-node/README.md create mode 100644 node_modules/@smithy/util-body-length-node/dist-cjs/index.js create mode 100644 node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js create mode 100644 node_modules/@smithy/util-body-length-node/dist-es/index.js create mode 100644 node_modules/@smithy/util-body-length-node/dist-types/calculateBodyLength.d.ts create mode 100644 node_modules/@smithy/util-body-length-node/dist-types/index.d.ts create mode 100644 node_modules/@smithy/util-body-length-node/dist-types/ts3.4/calculateBodyLength.d.ts create mode 100644 node_modules/@smithy/util-body-length-node/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/util-body-length-node/package.json create mode 100644 node_modules/@smithy/util-buffer-from/LICENSE create mode 100644 node_modules/@smithy/util-buffer-from/README.md create mode 100644 node_modules/@smithy/util-buffer-from/dist-cjs/index.js create mode 100644 node_modules/@smithy/util-buffer-from/dist-es/index.js create mode 100644 node_modules/@smithy/util-buffer-from/dist-types/index.d.ts create mode 100644 node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/util-buffer-from/package.json create mode 100644 node_modules/@smithy/util-config-provider/LICENSE create mode 100644 node_modules/@smithy/util-config-provider/README.md create mode 100644 node_modules/@smithy/util-config-provider/dist-cjs/index.js create mode 100644 node_modules/@smithy/util-config-provider/dist-es/booleanSelector.js create mode 100644 node_modules/@smithy/util-config-provider/dist-es/index.js create mode 100644 node_modules/@smithy/util-config-provider/dist-es/numberSelector.js create mode 100644 node_modules/@smithy/util-config-provider/dist-es/types.js create mode 100644 node_modules/@smithy/util-config-provider/dist-types/booleanSelector.d.ts create mode 100644 node_modules/@smithy/util-config-provider/dist-types/index.d.ts create mode 100644 node_modules/@smithy/util-config-provider/dist-types/numberSelector.d.ts create mode 100644 node_modules/@smithy/util-config-provider/dist-types/ts3.4/booleanSelector.d.ts create mode 100644 node_modules/@smithy/util-config-provider/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/util-config-provider/dist-types/ts3.4/numberSelector.d.ts create mode 100644 node_modules/@smithy/util-config-provider/dist-types/ts3.4/types.d.ts create mode 100644 node_modules/@smithy/util-config-provider/dist-types/types.d.ts create mode 100644 node_modules/@smithy/util-config-provider/package.json create mode 100644 node_modules/@smithy/util-defaults-mode-browser/LICENSE create mode 100644 node_modules/@smithy/util-defaults-mode-browser/README.md create mode 100644 node_modules/@smithy/util-defaults-mode-browser/dist-cjs/constants.js create mode 100644 node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js create mode 100644 node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.js create mode 100644 node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.native.js create mode 100644 node_modules/@smithy/util-defaults-mode-browser/dist-es/constants.js create mode 100644 node_modules/@smithy/util-defaults-mode-browser/dist-es/index.js create mode 100644 node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js create mode 100644 node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.native.js create mode 100644 node_modules/@smithy/util-defaults-mode-browser/dist-types/constants.d.ts create mode 100644 node_modules/@smithy/util-defaults-mode-browser/dist-types/index.d.ts create mode 100644 node_modules/@smithy/util-defaults-mode-browser/dist-types/resolveDefaultsModeConfig.d.ts create mode 100644 node_modules/@smithy/util-defaults-mode-browser/dist-types/resolveDefaultsModeConfig.native.d.ts create mode 100644 node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/constants.d.ts create mode 100644 node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts create mode 100644 node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.native.d.ts create mode 100644 node_modules/@smithy/util-defaults-mode-browser/package.json create mode 100644 node_modules/@smithy/util-defaults-mode-node/LICENSE create mode 100644 node_modules/@smithy/util-defaults-mode-node/README.md create mode 100644 node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js create mode 100644 node_modules/@smithy/util-defaults-mode-node/dist-es/constants.js create mode 100644 node_modules/@smithy/util-defaults-mode-node/dist-es/defaultsModeConfig.js create mode 100644 node_modules/@smithy/util-defaults-mode-node/dist-es/index.js create mode 100644 node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js create mode 100644 node_modules/@smithy/util-defaults-mode-node/dist-types/constants.d.ts create mode 100644 node_modules/@smithy/util-defaults-mode-node/dist-types/defaultsModeConfig.d.ts create mode 100644 node_modules/@smithy/util-defaults-mode-node/dist-types/index.d.ts create mode 100644 node_modules/@smithy/util-defaults-mode-node/dist-types/resolveDefaultsModeConfig.d.ts create mode 100644 node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/constants.d.ts create mode 100644 node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/defaultsModeConfig.d.ts create mode 100644 node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts create mode 100644 node_modules/@smithy/util-defaults-mode-node/package.json create mode 100644 node_modules/@smithy/util-endpoints/LICENSE create mode 100644 node_modules/@smithy/util-endpoints/README.md create mode 100644 node_modules/@smithy/util-endpoints/dist-cjs/index.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/cache/EndpointCache.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/debug/debugId.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/debug/index.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/debug/toDebugString.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/getEndpointUrlConfig.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/index.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/lib/booleanEquals.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/lib/getAttr.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/lib/getAttrPathList.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/lib/index.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/lib/isIpAddress.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/lib/isSet.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/lib/isValidHostLabel.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/lib/not.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/lib/parseURL.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/lib/stringEquals.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/lib/substring.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/lib/uriEncode.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/types/EndpointError.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/types/EndpointFunctions.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/types/EndpointRuleObject.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/types/ErrorRuleObject.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/types/RuleSetObject.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/types/TreeRuleObject.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/types/index.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/types/shared.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/utils/callFunction.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/utils/customEndpointFunctions.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/utils/endpointFunctions.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/utils/evaluateErrorRule.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTemplate.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTreeRule.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointHeaders.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperty.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointUrl.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/utils/getReferenceValue.js create mode 100644 node_modules/@smithy/util-endpoints/dist-es/utils/index.js create mode 100644 node_modules/@smithy/util-endpoints/dist-types/cache/EndpointCache.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/debug/debugId.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/debug/index.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/debug/toDebugString.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/getEndpointUrlConfig.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/index.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/lib/booleanEquals.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/lib/getAttr.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/lib/getAttrPathList.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/lib/index.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/lib/isIpAddress.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/lib/isSet.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/lib/isValidHostLabel.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/lib/not.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/lib/parseURL.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/lib/stringEquals.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/lib/substring.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/lib/uriEncode.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/resolveEndpoint.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/cache/EndpointCache.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/debugId.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/index.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/toDebugString.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/getEndpointUrlConfig.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/booleanEquals.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttr.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttrPathList.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/index.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isSet.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isValidHostLabel.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/not.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/parseURL.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/stringEquals.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/substring.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/uriEncode.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointFunctions.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/index.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/shared.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/customEndpointFunctions.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/endpointFunctions.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateCondition.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateConditions.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateEndpointRule.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateErrorRule.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTemplate.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointHeaders.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointUrl.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getReferenceValue.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/index.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/types/EndpointError.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/types/EndpointFunctions.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/types/EndpointRuleObject.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/types/ErrorRuleObject.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/types/RuleSetObject.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/types/TreeRuleObject.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/types/index.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/types/shared.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/utils/callFunction.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/utils/customEndpointFunctions.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/utils/endpointFunctions.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/utils/evaluateCondition.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/utils/evaluateConditions.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/utils/evaluateEndpointRule.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/utils/evaluateErrorRule.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/utils/evaluateExpression.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTemplate.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTreeRule.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointHeaders.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperty.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointUrl.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/utils/getReferenceValue.d.ts create mode 100644 node_modules/@smithy/util-endpoints/dist-types/utils/index.d.ts create mode 100644 node_modules/@smithy/util-endpoints/package.json create mode 100644 node_modules/@smithy/util-hex-encoding/LICENSE create mode 100644 node_modules/@smithy/util-hex-encoding/README.md create mode 100644 node_modules/@smithy/util-hex-encoding/dist-cjs/index.js create mode 100644 node_modules/@smithy/util-hex-encoding/dist-es/index.js create mode 100644 node_modules/@smithy/util-hex-encoding/dist-types/index.d.ts create mode 100644 node_modules/@smithy/util-hex-encoding/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/util-hex-encoding/package.json create mode 100644 node_modules/@smithy/util-middleware/LICENSE create mode 100644 node_modules/@smithy/util-middleware/README.md create mode 100644 node_modules/@smithy/util-middleware/dist-cjs/index.js create mode 100644 node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js create mode 100644 node_modules/@smithy/util-middleware/dist-es/index.js create mode 100644 node_modules/@smithy/util-middleware/dist-es/normalizeProvider.js create mode 100644 node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts create mode 100644 node_modules/@smithy/util-middleware/dist-types/index.d.ts create mode 100644 node_modules/@smithy/util-middleware/dist-types/normalizeProvider.d.ts create mode 100644 node_modules/@smithy/util-middleware/dist-types/ts3.4/getSmithyContext.d.ts create mode 100644 node_modules/@smithy/util-middleware/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/util-middleware/dist-types/ts3.4/normalizeProvider.d.ts create mode 100644 node_modules/@smithy/util-middleware/package.json create mode 100644 node_modules/@smithy/util-retry/LICENSE create mode 100644 node_modules/@smithy/util-retry/README.md create mode 100644 node_modules/@smithy/util-retry/dist-cjs/index.js create mode 100644 node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js create mode 100644 node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js create mode 100644 node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js create mode 100644 node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js create mode 100644 node_modules/@smithy/util-retry/dist-es/config.js create mode 100644 node_modules/@smithy/util-retry/dist-es/constants.js create mode 100644 node_modules/@smithy/util-retry/dist-es/defaultRetryBackoffStrategy.js create mode 100644 node_modules/@smithy/util-retry/dist-es/defaultRetryToken.js create mode 100644 node_modules/@smithy/util-retry/dist-es/index.js create mode 100644 node_modules/@smithy/util-retry/dist-es/types.js create mode 100644 node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts create mode 100644 node_modules/@smithy/util-retry/dist-types/ConfiguredRetryStrategy.d.ts create mode 100644 node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts create mode 100644 node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts create mode 100644 node_modules/@smithy/util-retry/dist-types/config.d.ts create mode 100644 node_modules/@smithy/util-retry/dist-types/constants.d.ts create mode 100644 node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts create mode 100644 node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts create mode 100644 node_modules/@smithy/util-retry/dist-types/index.d.ts create mode 100644 node_modules/@smithy/util-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts create mode 100644 node_modules/@smithy/util-retry/dist-types/ts3.4/ConfiguredRetryStrategy.d.ts create mode 100644 node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts create mode 100644 node_modules/@smithy/util-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts create mode 100644 node_modules/@smithy/util-retry/dist-types/ts3.4/config.d.ts create mode 100644 node_modules/@smithy/util-retry/dist-types/ts3.4/constants.d.ts create mode 100644 node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryBackoffStrategy.d.ts create mode 100644 node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryToken.d.ts create mode 100644 node_modules/@smithy/util-retry/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/util-retry/dist-types/ts3.4/types.d.ts create mode 100644 node_modules/@smithy/util-retry/dist-types/types.d.ts create mode 100644 node_modules/@smithy/util-retry/package.json create mode 100644 node_modules/@smithy/util-stream/LICENSE create mode 100644 node_modules/@smithy/util-stream/README.md create mode 100644 node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js create mode 100644 node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js create mode 100644 node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js create mode 100644 node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js create mode 100644 node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js create mode 100644 node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js create mode 100644 node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js create mode 100644 node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.browser.js create mode 100644 node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js create mode 100644 node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js create mode 100644 node_modules/@smithy/util-stream/dist-cjs/headStream.js create mode 100644 node_modules/@smithy/util-stream/dist-cjs/index.js create mode 100644 node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js create mode 100644 node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js create mode 100644 node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js create mode 100644 node_modules/@smithy/util-stream/dist-cjs/splitStream.js create mode 100644 node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js create mode 100644 node_modules/@smithy/util-stream/dist-es/ByteArrayCollector.js create mode 100644 node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js create mode 100644 node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.browser.js create mode 100644 node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js create mode 100644 node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.browser.js create mode 100644 node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.js create mode 100644 node_modules/@smithy/util-stream/dist-es/createBufferedReadable.js create mode 100644 node_modules/@smithy/util-stream/dist-es/createBufferedReadableStream.js create mode 100644 node_modules/@smithy/util-stream/dist-es/getAwsChunkedEncodingStream.browser.js create mode 100644 node_modules/@smithy/util-stream/dist-es/getAwsChunkedEncodingStream.js create mode 100644 node_modules/@smithy/util-stream/dist-es/headStream.browser.js create mode 100644 node_modules/@smithy/util-stream/dist-es/headStream.js create mode 100644 node_modules/@smithy/util-stream/dist-es/index.js create mode 100644 node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.browser.js create mode 100644 node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js create mode 100644 node_modules/@smithy/util-stream/dist-es/splitStream.browser.js create mode 100644 node_modules/@smithy/util-stream/dist-es/splitStream.js create mode 100644 node_modules/@smithy/util-stream/dist-es/stream-type-check.js create mode 100644 node_modules/@smithy/util-stream/dist-types/ByteArrayCollector.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/blob/Uint8ArrayBlobAdapter.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.browser.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/createBufferedReadable.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/createBufferedReadableStream.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.browser.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/headStream.browser.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/headStream.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/index.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.browser.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/splitStream.browser.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/splitStream.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/ts3.4/blob/Uint8ArrayBlobAdapter.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.browser.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadable.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadableStream.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.browser.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.browser.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.browser.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.browser.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts create mode 100644 node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts create mode 100644 node_modules/@smithy/util-stream/package.json create mode 100644 node_modules/@smithy/util-uri-escape/LICENSE create mode 100644 node_modules/@smithy/util-uri-escape/README.md create mode 100644 node_modules/@smithy/util-uri-escape/dist-cjs/index.js create mode 100644 node_modules/@smithy/util-uri-escape/dist-es/escape-uri-path.js create mode 100644 node_modules/@smithy/util-uri-escape/dist-es/escape-uri.js create mode 100644 node_modules/@smithy/util-uri-escape/dist-es/index.js create mode 100644 node_modules/@smithy/util-uri-escape/dist-types/escape-uri-path.d.ts create mode 100644 node_modules/@smithy/util-uri-escape/dist-types/escape-uri.d.ts create mode 100644 node_modules/@smithy/util-uri-escape/dist-types/index.d.ts create mode 100644 node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri-path.d.ts create mode 100644 node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri.d.ts create mode 100644 node_modules/@smithy/util-uri-escape/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/util-uri-escape/package.json create mode 100644 node_modules/@smithy/util-utf8/LICENSE create mode 100644 node_modules/@smithy/util-utf8/README.md create mode 100644 node_modules/@smithy/util-utf8/dist-cjs/index.js create mode 100644 node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js create mode 100644 node_modules/@smithy/util-utf8/dist-es/fromUtf8.js create mode 100644 node_modules/@smithy/util-utf8/dist-es/index.js create mode 100644 node_modules/@smithy/util-utf8/dist-es/toUint8Array.js create mode 100644 node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js create mode 100644 node_modules/@smithy/util-utf8/dist-es/toUtf8.js create mode 100644 node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts create mode 100644 node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts create mode 100644 node_modules/@smithy/util-utf8/dist-types/index.d.ts create mode 100644 node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts create mode 100644 node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts create mode 100644 node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts create mode 100644 node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts create mode 100644 node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts create mode 100644 node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts create mode 100644 node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts create mode 100644 node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts create mode 100644 node_modules/@smithy/util-utf8/package.json create mode 100644 node_modules/@smithy/util-waiter/LICENSE create mode 100644 node_modules/@smithy/util-waiter/README.md create mode 100644 node_modules/@smithy/util-waiter/dist-cjs/index.js create mode 100644 node_modules/@smithy/util-waiter/dist-es/circularReplacer.js create mode 100644 node_modules/@smithy/util-waiter/dist-es/createWaiter.js create mode 100644 node_modules/@smithy/util-waiter/dist-es/index.js create mode 100644 node_modules/@smithy/util-waiter/dist-es/poller.js create mode 100644 node_modules/@smithy/util-waiter/dist-es/utils/index.js create mode 100644 node_modules/@smithy/util-waiter/dist-es/utils/sleep.js create mode 100644 node_modules/@smithy/util-waiter/dist-es/utils/validate.js create mode 100644 node_modules/@smithy/util-waiter/dist-es/waiter.js create mode 100644 node_modules/@smithy/util-waiter/dist-types/circularReplacer.d.ts create mode 100644 node_modules/@smithy/util-waiter/dist-types/createWaiter.d.ts create mode 100644 node_modules/@smithy/util-waiter/dist-types/index.d.ts create mode 100644 node_modules/@smithy/util-waiter/dist-types/poller.d.ts create mode 100644 node_modules/@smithy/util-waiter/dist-types/ts3.4/circularReplacer.d.ts create mode 100644 node_modules/@smithy/util-waiter/dist-types/ts3.4/createWaiter.d.ts create mode 100644 node_modules/@smithy/util-waiter/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/util-waiter/dist-types/ts3.4/poller.d.ts create mode 100644 node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/index.d.ts create mode 100644 node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/sleep.d.ts create mode 100644 node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/validate.d.ts create mode 100644 node_modules/@smithy/util-waiter/dist-types/ts3.4/waiter.d.ts create mode 100644 node_modules/@smithy/util-waiter/dist-types/utils/index.d.ts create mode 100644 node_modules/@smithy/util-waiter/dist-types/utils/sleep.d.ts create mode 100644 node_modules/@smithy/util-waiter/dist-types/utils/validate.d.ts create mode 100644 node_modules/@smithy/util-waiter/dist-types/waiter.d.ts create mode 100644 node_modules/@smithy/util-waiter/package.json create mode 100644 node_modules/@smithy/uuid/LICENSE create mode 100644 node_modules/@smithy/uuid/README.md create mode 100644 node_modules/@smithy/uuid/dist-cjs/index.js create mode 100644 node_modules/@smithy/uuid/dist-cjs/randomUUID.js create mode 100644 node_modules/@smithy/uuid/dist-cjs/randomUUID.native.js create mode 100644 node_modules/@smithy/uuid/dist-es/index.js create mode 100644 node_modules/@smithy/uuid/dist-es/randomUUID.browser.js create mode 100644 node_modules/@smithy/uuid/dist-es/randomUUID.js create mode 100644 node_modules/@smithy/uuid/dist-es/randomUUID.native.js create mode 100644 node_modules/@smithy/uuid/dist-es/v4.js create mode 100644 node_modules/@smithy/uuid/dist-types/index.d.ts create mode 100644 node_modules/@smithy/uuid/dist-types/randomUUID.browser.d.ts create mode 100644 node_modules/@smithy/uuid/dist-types/randomUUID.d.ts create mode 100644 node_modules/@smithy/uuid/dist-types/randomUUID.native.d.ts create mode 100644 node_modules/@smithy/uuid/dist-types/ts3.4/index.d.ts create mode 100644 node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.browser.d.ts create mode 100644 node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.d.ts create mode 100644 node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.native.d.ts create mode 100644 node_modules/@smithy/uuid/dist-types/ts3.4/v4.d.ts create mode 100644 node_modules/@smithy/uuid/dist-types/v4.d.ts create mode 100644 node_modules/@smithy/uuid/package.json create mode 100644 node_modules/@so-ric/colorspace/CHANGELOG.md create mode 100644 node_modules/@so-ric/colorspace/LICENSE.md create mode 100644 node_modules/@so-ric/colorspace/README.md create mode 100644 node_modules/@so-ric/colorspace/dist/index.cjs.js create mode 100644 node_modules/@so-ric/colorspace/index.js create mode 100644 node_modules/@so-ric/colorspace/package.json create mode 100644 node_modules/@so-ric/colorspace/rollup.config.js create mode 100644 node_modules/@types/triple-beam/LICENSE create mode 100644 node_modules/@types/triple-beam/README.md create mode 100644 node_modules/@types/triple-beam/index.d.ts create mode 100644 node_modules/@types/triple-beam/package.json create mode 100644 node_modules/accepts/HISTORY.md create mode 100644 node_modules/accepts/LICENSE create mode 100644 node_modules/accepts/README.md create mode 100644 node_modules/accepts/index.js create mode 100644 node_modules/accepts/package.json create mode 100644 node_modules/array-flatten/LICENSE create mode 100644 node_modules/array-flatten/README.md create mode 100644 node_modules/array-flatten/array-flatten.js create mode 100644 node_modules/array-flatten/package.json create mode 100644 node_modules/async/LICENSE create mode 100644 node_modules/async/README.md create mode 100644 node_modules/async/component.json create mode 100644 node_modules/async/lib/async.js create mode 100644 node_modules/async/package.json create mode 100644 node_modules/body-parser/HISTORY.md create mode 100644 node_modules/body-parser/LICENSE create mode 100644 node_modules/body-parser/README.md create mode 100644 node_modules/body-parser/index.js create mode 100644 node_modules/body-parser/lib/read.js create mode 100644 node_modules/body-parser/lib/types/json.js create mode 100644 node_modules/body-parser/lib/types/raw.js create mode 100644 node_modules/body-parser/lib/types/text.js create mode 100644 node_modules/body-parser/lib/types/urlencoded.js create mode 100644 node_modules/body-parser/package.json create mode 100644 node_modules/bowser/LICENSE create mode 100644 node_modules/bowser/README.md create mode 100644 node_modules/bowser/bundled.js create mode 100644 node_modules/bowser/es5.js create mode 100644 node_modules/bowser/index.d.ts create mode 100644 node_modules/bowser/package.json create mode 100644 node_modules/bowser/src/bowser.js create mode 100644 node_modules/bowser/src/constants.js create mode 100644 node_modules/bowser/src/parser-browsers.js create mode 100644 node_modules/bowser/src/parser-engines.js create mode 100644 node_modules/bowser/src/parser-os.js create mode 100644 node_modules/bowser/src/parser-platforms.js create mode 100644 node_modules/bowser/src/parser.js create mode 100644 node_modules/bowser/src/utils.js create mode 100644 node_modules/bytes/History.md create mode 100644 node_modules/bytes/LICENSE create mode 100644 node_modules/bytes/Readme.md create mode 100644 node_modules/bytes/index.js create mode 100644 node_modules/bytes/package.json create mode 100644 node_modules/call-bind-apply-helpers/.eslintrc create mode 100644 node_modules/call-bind-apply-helpers/.github/FUNDING.yml create mode 100644 node_modules/call-bind-apply-helpers/.nycrc create mode 100644 node_modules/call-bind-apply-helpers/CHANGELOG.md create mode 100644 node_modules/call-bind-apply-helpers/LICENSE create mode 100644 node_modules/call-bind-apply-helpers/README.md create mode 100644 node_modules/call-bind-apply-helpers/actualApply.d.ts create mode 100644 node_modules/call-bind-apply-helpers/actualApply.js create mode 100644 node_modules/call-bind-apply-helpers/applyBind.d.ts create mode 100644 node_modules/call-bind-apply-helpers/applyBind.js create mode 100644 node_modules/call-bind-apply-helpers/functionApply.d.ts create mode 100644 node_modules/call-bind-apply-helpers/functionApply.js create mode 100644 node_modules/call-bind-apply-helpers/functionCall.d.ts create mode 100644 node_modules/call-bind-apply-helpers/functionCall.js create mode 100644 node_modules/call-bind-apply-helpers/index.d.ts create mode 100644 node_modules/call-bind-apply-helpers/index.js create mode 100644 node_modules/call-bind-apply-helpers/package.json create mode 100644 node_modules/call-bind-apply-helpers/reflectApply.d.ts create mode 100644 node_modules/call-bind-apply-helpers/reflectApply.js create mode 100644 node_modules/call-bind-apply-helpers/test/index.js create mode 100644 node_modules/call-bind-apply-helpers/tsconfig.json create mode 100644 node_modules/call-bound/.eslintrc create mode 100644 node_modules/call-bound/.github/FUNDING.yml create mode 100644 node_modules/call-bound/.nycrc create mode 100644 node_modules/call-bound/CHANGELOG.md create mode 100644 node_modules/call-bound/LICENSE create mode 100644 node_modules/call-bound/README.md create mode 100644 node_modules/call-bound/index.d.ts create mode 100644 node_modules/call-bound/index.js create mode 100644 node_modules/call-bound/package.json create mode 100644 node_modules/call-bound/test/index.js create mode 100644 node_modules/call-bound/tsconfig.json create mode 100644 node_modules/cluster-key-slot/.eslintrc create mode 100644 node_modules/cluster-key-slot/LICENSE create mode 100644 node_modules/cluster-key-slot/README.md create mode 100644 node_modules/cluster-key-slot/index.d.ts create mode 100644 node_modules/cluster-key-slot/lib/index.js create mode 100644 node_modules/cluster-key-slot/package.json create mode 100644 node_modules/color-convert/LICENSE create mode 100644 node_modules/color-convert/README.md create mode 100644 node_modules/color-convert/conversions.js create mode 100644 node_modules/color-convert/index.d.ts create mode 100644 node_modules/color-convert/index.js create mode 100644 node_modules/color-convert/package.json create mode 100644 node_modules/color-convert/route.js create mode 100644 node_modules/color-name/LICENSE create mode 100644 node_modules/color-name/README.md create mode 100644 node_modules/color-name/index.js create mode 100644 node_modules/color-name/package.json create mode 100644 node_modules/color-string/LICENSE create mode 100644 node_modules/color-string/README.md create mode 100644 node_modules/color-string/index.d.ts create mode 100644 node_modules/color-string/index.js create mode 100644 node_modules/color-string/package.json create mode 100644 node_modules/color/LICENSE create mode 100644 node_modules/color/README.md create mode 100644 node_modules/color/index.d.ts create mode 100644 node_modules/color/index.js create mode 100644 node_modules/color/package.json create mode 100644 node_modules/content-disposition/HISTORY.md create mode 100644 node_modules/content-disposition/LICENSE create mode 100644 node_modules/content-disposition/README.md create mode 100644 node_modules/content-disposition/index.js create mode 100644 node_modules/content-disposition/package.json create mode 100644 node_modules/content-type/HISTORY.md create mode 100644 node_modules/content-type/LICENSE create mode 100644 node_modules/content-type/README.md create mode 100644 node_modules/content-type/index.js create mode 100644 node_modules/content-type/package.json create mode 100644 node_modules/cookie-signature/History.md create mode 100644 node_modules/cookie-signature/Readme.md create mode 100644 node_modules/cookie-signature/index.js create mode 100644 node_modules/cookie-signature/package.json create mode 100644 node_modules/cookie/LICENSE create mode 100644 node_modules/cookie/README.md create mode 100644 node_modules/cookie/SECURITY.md create mode 100644 node_modules/cookie/index.js create mode 100644 node_modules/cookie/package.json create mode 100644 node_modules/cors/LICENSE create mode 100644 node_modules/cors/README.md create mode 100644 node_modules/cors/lib/index.js create mode 100644 node_modules/cors/package.json create mode 100644 node_modules/debug/.coveralls.yml create mode 100644 node_modules/debug/.eslintrc create mode 100644 node_modules/debug/.npmignore create mode 100644 node_modules/debug/.travis.yml create mode 100644 node_modules/debug/CHANGELOG.md create mode 100644 node_modules/debug/LICENSE create mode 100644 node_modules/debug/Makefile create mode 100644 node_modules/debug/README.md create mode 100644 node_modules/debug/component.json create mode 100644 node_modules/debug/karma.conf.js create mode 100644 node_modules/debug/node.js create mode 100644 node_modules/debug/package.json create mode 100644 node_modules/debug/src/browser.js create mode 100644 node_modules/debug/src/debug.js create mode 100644 node_modules/debug/src/index.js create mode 100644 node_modules/debug/src/inspector-log.js create mode 100644 node_modules/debug/src/node.js create mode 100644 node_modules/denque/CHANGELOG.md create mode 100644 node_modules/denque/LICENSE create mode 100644 node_modules/denque/README.md create mode 100644 node_modules/denque/index.d.ts create mode 100644 node_modules/denque/index.js create mode 100644 node_modules/denque/package.json create mode 100644 node_modules/depd/History.md create mode 100644 node_modules/depd/LICENSE create mode 100644 node_modules/depd/Readme.md create mode 100644 node_modules/depd/index.js create mode 100644 node_modules/depd/lib/browser/index.js create mode 100644 node_modules/depd/package.json create mode 100644 node_modules/destroy/LICENSE create mode 100644 node_modules/destroy/README.md create mode 100644 node_modules/destroy/index.js create mode 100644 node_modules/destroy/package.json create mode 100644 node_modules/dotenv/CHANGELOG.md create mode 100644 node_modules/dotenv/LICENSE create mode 100644 node_modules/dotenv/README-es.md create mode 100644 node_modules/dotenv/README.md create mode 100644 node_modules/dotenv/SECURITY.md create mode 100644 node_modules/dotenv/config.d.ts create mode 100644 node_modules/dotenv/config.js create mode 100644 node_modules/dotenv/lib/cli-options.js create mode 100644 node_modules/dotenv/lib/env-options.js create mode 100644 node_modules/dotenv/lib/main.d.ts create mode 100644 node_modules/dotenv/lib/main.js create mode 100644 node_modules/dotenv/package.json create mode 100644 node_modules/dunder-proto/.eslintrc create mode 100644 node_modules/dunder-proto/.github/FUNDING.yml create mode 100644 node_modules/dunder-proto/.nycrc create mode 100644 node_modules/dunder-proto/CHANGELOG.md create mode 100644 node_modules/dunder-proto/LICENSE create mode 100644 node_modules/dunder-proto/README.md create mode 100644 node_modules/dunder-proto/get.d.ts create mode 100644 node_modules/dunder-proto/get.js create mode 100644 node_modules/dunder-proto/package.json create mode 100644 node_modules/dunder-proto/set.d.ts create mode 100644 node_modules/dunder-proto/set.js create mode 100644 node_modules/dunder-proto/test/get.js create mode 100644 node_modules/dunder-proto/test/index.js create mode 100644 node_modules/dunder-proto/test/set.js create mode 100644 node_modules/dunder-proto/tsconfig.json create mode 100644 node_modules/ee-first/LICENSE create mode 100644 node_modules/ee-first/README.md create mode 100644 node_modules/ee-first/index.js create mode 100644 node_modules/ee-first/package.json create mode 100644 node_modules/enabled/.travis.yml create mode 100644 node_modules/enabled/LICENSE create mode 100644 node_modules/enabled/README.md create mode 100644 node_modules/enabled/index.js create mode 100644 node_modules/enabled/package.json create mode 100644 node_modules/enabled/test.js create mode 100644 node_modules/encodeurl/LICENSE create mode 100644 node_modules/encodeurl/README.md create mode 100644 node_modules/encodeurl/index.js create mode 100644 node_modules/encodeurl/package.json create mode 100644 node_modules/es-define-property/.eslintrc create mode 100644 node_modules/es-define-property/.github/FUNDING.yml create mode 100644 node_modules/es-define-property/.nycrc create mode 100644 node_modules/es-define-property/CHANGELOG.md create mode 100644 node_modules/es-define-property/LICENSE create mode 100644 node_modules/es-define-property/README.md create mode 100644 node_modules/es-define-property/index.d.ts create mode 100644 node_modules/es-define-property/index.js create mode 100644 node_modules/es-define-property/package.json create mode 100644 node_modules/es-define-property/test/index.js create mode 100644 node_modules/es-define-property/tsconfig.json create mode 100644 node_modules/es-errors/.eslintrc create mode 100644 node_modules/es-errors/.github/FUNDING.yml create mode 100644 node_modules/es-errors/CHANGELOG.md create mode 100644 node_modules/es-errors/LICENSE create mode 100644 node_modules/es-errors/README.md create mode 100644 node_modules/es-errors/eval.d.ts create mode 100644 node_modules/es-errors/eval.js create mode 100644 node_modules/es-errors/index.d.ts create mode 100644 node_modules/es-errors/index.js create mode 100644 node_modules/es-errors/package.json create mode 100644 node_modules/es-errors/range.d.ts create mode 100644 node_modules/es-errors/range.js create mode 100644 node_modules/es-errors/ref.d.ts create mode 100644 node_modules/es-errors/ref.js create mode 100644 node_modules/es-errors/syntax.d.ts create mode 100644 node_modules/es-errors/syntax.js create mode 100644 node_modules/es-errors/test/index.js create mode 100644 node_modules/es-errors/tsconfig.json create mode 100644 node_modules/es-errors/type.d.ts create mode 100644 node_modules/es-errors/type.js create mode 100644 node_modules/es-errors/uri.d.ts create mode 100644 node_modules/es-errors/uri.js create mode 100644 node_modules/es-object-atoms/.eslintrc create mode 100644 node_modules/es-object-atoms/.github/FUNDING.yml create mode 100644 node_modules/es-object-atoms/CHANGELOG.md create mode 100644 node_modules/es-object-atoms/LICENSE create mode 100644 node_modules/es-object-atoms/README.md create mode 100644 node_modules/es-object-atoms/RequireObjectCoercible.d.ts create mode 100644 node_modules/es-object-atoms/RequireObjectCoercible.js create mode 100644 node_modules/es-object-atoms/ToObject.d.ts create mode 100644 node_modules/es-object-atoms/ToObject.js create mode 100644 node_modules/es-object-atoms/index.d.ts create mode 100644 node_modules/es-object-atoms/index.js create mode 100644 node_modules/es-object-atoms/isObject.d.ts create mode 100644 node_modules/es-object-atoms/isObject.js create mode 100644 node_modules/es-object-atoms/package.json create mode 100644 node_modules/es-object-atoms/test/index.js create mode 100644 node_modules/es-object-atoms/tsconfig.json create mode 100644 node_modules/escape-html/LICENSE create mode 100644 node_modules/escape-html/Readme.md create mode 100644 node_modules/escape-html/index.js create mode 100644 node_modules/escape-html/package.json create mode 100644 node_modules/etag/HISTORY.md create mode 100644 node_modules/etag/LICENSE create mode 100644 node_modules/etag/README.md create mode 100644 node_modules/etag/index.js create mode 100644 node_modules/etag/package.json create mode 100644 node_modules/express/History.md create mode 100644 node_modules/express/LICENSE create mode 100644 node_modules/express/Readme.md create mode 100644 node_modules/express/index.js create mode 100644 node_modules/express/lib/application.js create mode 100644 node_modules/express/lib/express.js create mode 100644 node_modules/express/lib/middleware/init.js create mode 100644 node_modules/express/lib/middleware/query.js create mode 100644 node_modules/express/lib/request.js create mode 100644 node_modules/express/lib/response.js create mode 100644 node_modules/express/lib/router/index.js create mode 100644 node_modules/express/lib/router/layer.js create mode 100644 node_modules/express/lib/router/route.js create mode 100644 node_modules/express/lib/utils.js create mode 100644 node_modules/express/lib/view.js create mode 100644 node_modules/express/package.json create mode 100644 node_modules/fast-xml-builder/CHANGELOG.md create mode 100644 node_modules/fast-xml-builder/LICENSE create mode 100644 node_modules/fast-xml-builder/README.md create mode 100644 node_modules/fast-xml-builder/lib/fxb.cjs create mode 100644 node_modules/fast-xml-builder/lib/fxb.d.cts create mode 100644 node_modules/fast-xml-builder/lib/fxb.min.js create mode 100644 node_modules/fast-xml-builder/lib/fxb.min.js.map create mode 100644 node_modules/fast-xml-builder/package.json create mode 100644 node_modules/fast-xml-builder/src/fxb.d.ts create mode 100644 node_modules/fast-xml-builder/src/fxb.js create mode 100644 node_modules/fast-xml-builder/src/ignoreAttributes.js create mode 100644 node_modules/fast-xml-builder/src/orderedJs2Xml.js create mode 100644 node_modules/fast-xml-builder/src/prettifyJs2Xml.js create mode 100644 node_modules/fast-xml-parser/CHANGELOG.md create mode 100644 node_modules/fast-xml-parser/LICENSE create mode 100644 node_modules/fast-xml-parser/README.md create mode 100644 node_modules/fast-xml-parser/lib/fxbuilder.min.js create mode 100644 node_modules/fast-xml-parser/lib/fxbuilder.min.js.map create mode 100644 node_modules/fast-xml-parser/lib/fxp.cjs create mode 100644 node_modules/fast-xml-parser/lib/fxp.d.cts create mode 100644 node_modules/fast-xml-parser/lib/fxp.min.js create mode 100644 node_modules/fast-xml-parser/lib/fxp.min.js.map create mode 100644 node_modules/fast-xml-parser/lib/fxparser.min.js create mode 100644 node_modules/fast-xml-parser/lib/fxparser.min.js.map create mode 100644 node_modules/fast-xml-parser/lib/fxvalidator.min.js create mode 100644 node_modules/fast-xml-parser/lib/fxvalidator.min.js.map create mode 100644 node_modules/fast-xml-parser/lib/pem.d.cts create mode 100644 node_modules/fast-xml-parser/package.json create mode 100644 node_modules/fast-xml-parser/src/cli/cli.js create mode 100644 node_modules/fast-xml-parser/src/cli/man.js create mode 100644 node_modules/fast-xml-parser/src/cli/read.js create mode 100644 node_modules/fast-xml-parser/src/fxp.d.ts create mode 100644 node_modules/fast-xml-parser/src/fxp.js create mode 100644 node_modules/fast-xml-parser/src/ignoreAttributes.js create mode 100644 node_modules/fast-xml-parser/src/pem.d.ts create mode 100644 node_modules/fast-xml-parser/src/util.js create mode 100644 node_modules/fast-xml-parser/src/v6/CharsSymbol.js create mode 100644 node_modules/fast-xml-parser/src/v6/EntitiesParser.js create mode 100644 node_modules/fast-xml-parser/src/v6/OptionsBuilder.js create mode 100644 node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js create mode 100644 node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js create mode 100644 node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js create mode 100644 node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js create mode 100644 node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js create mode 100644 node_modules/fast-xml-parser/src/v6/Report.js create mode 100644 node_modules/fast-xml-parser/src/v6/TagPath.js create mode 100644 node_modules/fast-xml-parser/src/v6/TagPathMatcher.js create mode 100644 node_modules/fast-xml-parser/src/v6/XMLParser.js create mode 100644 node_modules/fast-xml-parser/src/v6/Xml2JsParser.js create mode 100644 node_modules/fast-xml-parser/src/v6/XmlPartReader.js create mode 100644 node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js create mode 100644 node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js create mode 100644 node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js create mode 100644 node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js create mode 100644 node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js create mode 100644 node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js create mode 100644 node_modules/fast-xml-parser/src/v6/valueParsers/currency.js create mode 100644 node_modules/fast-xml-parser/src/v6/valueParsers/join.js create mode 100644 node_modules/fast-xml-parser/src/v6/valueParsers/number.js create mode 100644 node_modules/fast-xml-parser/src/v6/valueParsers/trim.js create mode 100644 node_modules/fast-xml-parser/src/validator.js create mode 100644 node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js create mode 100644 node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js create mode 100644 node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js create mode 100644 node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js create mode 100644 node_modules/fast-xml-parser/src/xmlparser/XMLParser.js create mode 100644 node_modules/fast-xml-parser/src/xmlparser/node2json.js create mode 100644 node_modules/fast-xml-parser/src/xmlparser/xmlNode.js create mode 100644 node_modules/fecha/LICENSE create mode 100644 node_modules/fecha/README.md create mode 100644 node_modules/fecha/dist/fecha.min.js create mode 100644 node_modules/fecha/dist/fecha.min.js.map create mode 100644 node_modules/fecha/lib/fecha.d.ts create mode 100644 node_modules/fecha/lib/fecha.js create mode 100644 node_modules/fecha/lib/fecha.js.map create mode 100644 node_modules/fecha/lib/fecha.umd.js create mode 100644 node_modules/fecha/lib/fecha.umd.js.map create mode 100644 node_modules/fecha/package.json create mode 100644 node_modules/fecha/src/fecha.ts create mode 100644 node_modules/file-stream-rotator/.nvmrc create mode 100644 node_modules/file-stream-rotator/.travis.yml create mode 100644 node_modules/file-stream-rotator/FileStreamRotator.js create mode 100644 node_modules/file-stream-rotator/LICENSE.txt create mode 100644 node_modules/file-stream-rotator/README.md create mode 100644 node_modules/file-stream-rotator/index.js create mode 100644 node_modules/file-stream-rotator/package.json create mode 100644 node_modules/file-stream-rotator/test.js create mode 100644 node_modules/file-stream-rotator/tests/every-minute-test.js create mode 100644 node_modules/file-stream-rotator/tests/every-second-test.js create mode 100644 node_modules/file-stream-rotator/tests/large-test.js create mode 100644 node_modules/file-stream-rotator/tests/rotate-on-size-without-date.js create mode 100644 node_modules/finalhandler/HISTORY.md create mode 100644 node_modules/finalhandler/LICENSE create mode 100644 node_modules/finalhandler/README.md create mode 100644 node_modules/finalhandler/SECURITY.md create mode 100644 node_modules/finalhandler/index.js create mode 100644 node_modules/finalhandler/package.json create mode 100644 node_modules/fluent-ffmpeg/.vscode/settings.json create mode 100644 node_modules/fluent-ffmpeg/LICENSE create mode 100644 node_modules/fluent-ffmpeg/Makefile create mode 100644 node_modules/fluent-ffmpeg/OLD/README.md create mode 100644 node_modules/fluent-ffmpeg/README.md create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/base.css create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/block-navigation.js create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/favicon.png create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/formatting.js.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/formatting.ts.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/index.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/prettify.css create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/prettify.js create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/regexp.js.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/regexp.ts.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/sort-arrow-sprite.png create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/sorter.js create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/src/capabilities.ts.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/src/command.ts.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/src/index.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/src/input.ts.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/src/main.ts.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/src/output.ts.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/src/process.ts.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/data-types.ts.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/filters.ts.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/formatting.ts.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/index.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/line-buffer.ts.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/parsing.ts.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/platform.ts.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/regexp.ts.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/tests/acceptance/dummy.ts.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/tests/acceptance/index.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/tests/helpers/async.ts.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/tests/helpers/index.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/tests/helpers/spawn-stub.ts.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/tests/helpers/streams.ts.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/tests/integration/dummy.ts.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov-report/tests/integration/index.html create mode 100644 node_modules/fluent-ffmpeg/coverage/lcov.info create mode 100644 node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761185-1.json create mode 100644 node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761217-8.json create mode 100644 node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761247-2.json create mode 100644 node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761265-5.json create mode 100644 node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761265-6.json create mode 100644 node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761288-9.json create mode 100644 node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761296-11.json create mode 100644 node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761301-10.json create mode 100644 node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761384-7.json create mode 100644 node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761416-4.json create mode 100644 node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761417-3.json create mode 100644 node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761468-0.json create mode 100644 node_modules/fluent-ffmpeg/doc/FfmpegCommand.html create mode 100644 node_modules/fluent-ffmpeg/doc/audio.js.html create mode 100644 node_modules/fluent-ffmpeg/doc/capabilities.js.html create mode 100644 node_modules/fluent-ffmpeg/doc/custom.js.html create mode 100644 node_modules/fluent-ffmpeg/doc/ffprobe.js.html create mode 100644 node_modules/fluent-ffmpeg/doc/fluent-ffmpeg.js.html create mode 100644 node_modules/fluent-ffmpeg/doc/global.html create mode 100644 node_modules/fluent-ffmpeg/doc/index.html create mode 100644 node_modules/fluent-ffmpeg/doc/inputs.js.html create mode 100644 node_modules/fluent-ffmpeg/doc/misc.js.html create mode 100644 node_modules/fluent-ffmpeg/doc/options_audio.js.html create mode 100644 node_modules/fluent-ffmpeg/doc/options_custom.js.html create mode 100644 node_modules/fluent-ffmpeg/doc/options_inputs.js.html create mode 100644 node_modules/fluent-ffmpeg/doc/options_misc.js.html create mode 100644 node_modules/fluent-ffmpeg/doc/options_output.js.html create mode 100644 node_modules/fluent-ffmpeg/doc/options_video.js.html create mode 100644 node_modules/fluent-ffmpeg/doc/options_videosize.js.html create mode 100644 node_modules/fluent-ffmpeg/doc/output.js.html create mode 100644 node_modules/fluent-ffmpeg/doc/processor.js.html create mode 100644 node_modules/fluent-ffmpeg/doc/recipes.js.html create mode 100644 node_modules/fluent-ffmpeg/doc/scripts/linenumber.js create mode 100644 node_modules/fluent-ffmpeg/doc/scripts/prettify/Apache-License-2.0.txt create mode 100644 node_modules/fluent-ffmpeg/doc/scripts/prettify/lang-css.js create mode 100644 node_modules/fluent-ffmpeg/doc/scripts/prettify/prettify.js create mode 100644 node_modules/fluent-ffmpeg/doc/styles/jsdoc-default.css create mode 100644 node_modules/fluent-ffmpeg/doc/styles/prettify-jsdoc.css create mode 100644 node_modules/fluent-ffmpeg/doc/styles/prettify-tomorrow.css create mode 100644 node_modules/fluent-ffmpeg/doc/utils.js.html create mode 100644 node_modules/fluent-ffmpeg/doc/video.js.html create mode 100644 node_modules/fluent-ffmpeg/doc/videosize.js.html create mode 100644 node_modules/fluent-ffmpeg/index.js create mode 100644 node_modules/fluent-ffmpeg/lib/capabilities.js create mode 100644 node_modules/fluent-ffmpeg/lib/ffprobe.js create mode 100644 node_modules/fluent-ffmpeg/lib/fluent-ffmpeg.js create mode 100644 node_modules/fluent-ffmpeg/lib/options/audio.js create mode 100644 node_modules/fluent-ffmpeg/lib/options/custom.js create mode 100644 node_modules/fluent-ffmpeg/lib/options/inputs.js create mode 100644 node_modules/fluent-ffmpeg/lib/options/misc.js create mode 100644 node_modules/fluent-ffmpeg/lib/options/output.js create mode 100644 node_modules/fluent-ffmpeg/lib/options/video.js create mode 100644 node_modules/fluent-ffmpeg/lib/options/videosize.js create mode 100644 node_modules/fluent-ffmpeg/lib/presets/divx.js create mode 100644 node_modules/fluent-ffmpeg/lib/presets/flashvideo.js create mode 100644 node_modules/fluent-ffmpeg/lib/presets/podcast.js create mode 100644 node_modules/fluent-ffmpeg/lib/processor.js create mode 100644 node_modules/fluent-ffmpeg/lib/recipes.js create mode 100644 node_modules/fluent-ffmpeg/lib/utils.js create mode 100644 node_modules/fluent-ffmpeg/package.json create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-aliases.js create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-conf.json create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/README.md create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/publish.js create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/static/scripts/linenumber.js create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/static/scripts/prettify/Apache-License-2.0.txt create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/static/scripts/prettify/lang-css.js create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/static/scripts/prettify/prettify.js create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/static/styles/jsdoc-default.css create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/static/styles/prettify-jsdoc.css create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/static/styles/prettify-tomorrow.css create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/aliases.tmpl create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/container.tmpl create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/details.tmpl create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/example.tmpl create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/examples.tmpl create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/exceptions.tmpl create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/layout.tmpl create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/mainpage.tmpl create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/members.tmpl create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/method.tmpl create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/params.tmpl create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/properties.tmpl create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/returns.tmpl create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/source.tmpl create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/tutorial.tmpl create mode 100644 node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/type.tmpl create mode 100644 node_modules/fn.name/.gitattributes create mode 100644 node_modules/fn.name/.travis.yml create mode 100644 node_modules/fn.name/LICENSE create mode 100644 node_modules/fn.name/README.md create mode 100644 node_modules/fn.name/index.js create mode 100644 node_modules/fn.name/package.json create mode 100644 node_modules/fn.name/test.js create mode 100644 node_modules/forwarded/HISTORY.md create mode 100644 node_modules/forwarded/LICENSE create mode 100644 node_modules/forwarded/README.md create mode 100644 node_modules/forwarded/index.js create mode 100644 node_modules/forwarded/package.json create mode 100644 node_modules/fresh/HISTORY.md create mode 100644 node_modules/fresh/LICENSE create mode 100644 node_modules/fresh/README.md create mode 100644 node_modules/fresh/index.js create mode 100644 node_modules/fresh/package.json create mode 100644 node_modules/function-bind/.eslintrc create mode 100644 node_modules/function-bind/.github/FUNDING.yml create mode 100644 node_modules/function-bind/.github/SECURITY.md create mode 100644 node_modules/function-bind/.nycrc create mode 100644 node_modules/function-bind/CHANGELOG.md create mode 100644 node_modules/function-bind/LICENSE create mode 100644 node_modules/function-bind/README.md create mode 100644 node_modules/function-bind/implementation.js create mode 100644 node_modules/function-bind/index.js create mode 100644 node_modules/function-bind/package.json create mode 100644 node_modules/function-bind/test/.eslintrc create mode 100644 node_modules/function-bind/test/index.js create mode 100644 node_modules/get-intrinsic/.eslintrc create mode 100644 node_modules/get-intrinsic/.github/FUNDING.yml create mode 100644 node_modules/get-intrinsic/.nycrc create mode 100644 node_modules/get-intrinsic/CHANGELOG.md create mode 100644 node_modules/get-intrinsic/LICENSE create mode 100644 node_modules/get-intrinsic/README.md create mode 100644 node_modules/get-intrinsic/index.js create mode 100644 node_modules/get-intrinsic/package.json create mode 100644 node_modules/get-intrinsic/test/GetIntrinsic.js create mode 100644 node_modules/get-proto/.eslintrc create mode 100644 node_modules/get-proto/.github/FUNDING.yml create mode 100644 node_modules/get-proto/.nycrc create mode 100644 node_modules/get-proto/CHANGELOG.md create mode 100644 node_modules/get-proto/LICENSE create mode 100644 node_modules/get-proto/Object.getPrototypeOf.d.ts create mode 100644 node_modules/get-proto/Object.getPrototypeOf.js create mode 100644 node_modules/get-proto/README.md create mode 100644 node_modules/get-proto/Reflect.getPrototypeOf.d.ts create mode 100644 node_modules/get-proto/Reflect.getPrototypeOf.js create mode 100644 node_modules/get-proto/index.d.ts create mode 100644 node_modules/get-proto/index.js create mode 100644 node_modules/get-proto/package.json create mode 100644 node_modules/get-proto/test/index.js create mode 100644 node_modules/get-proto/tsconfig.json create mode 100644 node_modules/gopd/.eslintrc create mode 100644 node_modules/gopd/.github/FUNDING.yml create mode 100644 node_modules/gopd/CHANGELOG.md create mode 100644 node_modules/gopd/LICENSE create mode 100644 node_modules/gopd/README.md create mode 100644 node_modules/gopd/gOPD.d.ts create mode 100644 node_modules/gopd/gOPD.js create mode 100644 node_modules/gopd/index.d.ts create mode 100644 node_modules/gopd/index.js create mode 100644 node_modules/gopd/package.json create mode 100644 node_modules/gopd/test/index.js create mode 100644 node_modules/gopd/tsconfig.json create mode 100644 node_modules/has-symbols/.eslintrc create mode 100644 node_modules/has-symbols/.github/FUNDING.yml create mode 100644 node_modules/has-symbols/.nycrc create mode 100644 node_modules/has-symbols/CHANGELOG.md create mode 100644 node_modules/has-symbols/LICENSE create mode 100644 node_modules/has-symbols/README.md create mode 100644 node_modules/has-symbols/index.d.ts create mode 100644 node_modules/has-symbols/index.js create mode 100644 node_modules/has-symbols/package.json create mode 100644 node_modules/has-symbols/shams.d.ts create mode 100644 node_modules/has-symbols/shams.js create mode 100644 node_modules/has-symbols/test/index.js create mode 100644 node_modules/has-symbols/test/shams/core-js.js create mode 100644 node_modules/has-symbols/test/shams/get-own-property-symbols.js create mode 100644 node_modules/has-symbols/test/tests.js create mode 100644 node_modules/has-symbols/tsconfig.json create mode 100644 node_modules/hasown/.eslintrc create mode 100644 node_modules/hasown/.github/FUNDING.yml create mode 100644 node_modules/hasown/.nycrc create mode 100644 node_modules/hasown/CHANGELOG.md create mode 100644 node_modules/hasown/LICENSE create mode 100644 node_modules/hasown/README.md create mode 100644 node_modules/hasown/index.d.ts create mode 100644 node_modules/hasown/index.js create mode 100644 node_modules/hasown/package.json create mode 100644 node_modules/hasown/tsconfig.json create mode 100644 node_modules/http-errors/HISTORY.md create mode 100644 node_modules/http-errors/LICENSE create mode 100644 node_modules/http-errors/README.md create mode 100644 node_modules/http-errors/index.js create mode 100644 node_modules/http-errors/package.json create mode 100644 node_modules/iconv-lite/Changelog.md create mode 100644 node_modules/iconv-lite/LICENSE create mode 100644 node_modules/iconv-lite/README.md create mode 100644 node_modules/iconv-lite/encodings/dbcs-codec.js create mode 100644 node_modules/iconv-lite/encodings/dbcs-data.js create mode 100644 node_modules/iconv-lite/encodings/index.js create mode 100644 node_modules/iconv-lite/encodings/internal.js create mode 100644 node_modules/iconv-lite/encodings/sbcs-codec.js create mode 100644 node_modules/iconv-lite/encodings/sbcs-data-generated.js create mode 100644 node_modules/iconv-lite/encodings/sbcs-data.js create mode 100644 node_modules/iconv-lite/encodings/tables/big5-added.json create mode 100644 node_modules/iconv-lite/encodings/tables/cp936.json create mode 100644 node_modules/iconv-lite/encodings/tables/cp949.json create mode 100644 node_modules/iconv-lite/encodings/tables/cp950.json create mode 100644 node_modules/iconv-lite/encodings/tables/eucjp.json create mode 100644 node_modules/iconv-lite/encodings/tables/gb18030-ranges.json create mode 100644 node_modules/iconv-lite/encodings/tables/gbk-added.json create mode 100644 node_modules/iconv-lite/encodings/tables/shiftjis.json create mode 100644 node_modules/iconv-lite/encodings/utf16.js create mode 100644 node_modules/iconv-lite/encodings/utf7.js create mode 100644 node_modules/iconv-lite/lib/bom-handling.js create mode 100644 node_modules/iconv-lite/lib/extend-node.js create mode 100644 node_modules/iconv-lite/lib/index.d.ts create mode 100644 node_modules/iconv-lite/lib/index.js create mode 100644 node_modules/iconv-lite/lib/streams.js create mode 100644 node_modules/iconv-lite/package.json create mode 100644 node_modules/inherits/LICENSE create mode 100644 node_modules/inherits/README.md create mode 100644 node_modules/inherits/inherits.js create mode 100644 node_modules/inherits/inherits_browser.js create mode 100644 node_modules/inherits/package.json create mode 100644 node_modules/ioredis/LICENSE create mode 100644 node_modules/ioredis/README.md create mode 100644 node_modules/ioredis/built/Command.d.ts create mode 100644 node_modules/ioredis/built/Command.js create mode 100644 node_modules/ioredis/built/DataHandler.d.ts create mode 100644 node_modules/ioredis/built/DataHandler.js create mode 100644 node_modules/ioredis/built/Pipeline.d.ts create mode 100644 node_modules/ioredis/built/Pipeline.js create mode 100644 node_modules/ioredis/built/Redis.d.ts create mode 100644 node_modules/ioredis/built/Redis.js create mode 100644 node_modules/ioredis/built/ScanStream.d.ts create mode 100644 node_modules/ioredis/built/ScanStream.js create mode 100644 node_modules/ioredis/built/Script.d.ts create mode 100644 node_modules/ioredis/built/Script.js create mode 100644 node_modules/ioredis/built/SubscriptionSet.d.ts create mode 100644 node_modules/ioredis/built/SubscriptionSet.js create mode 100644 node_modules/ioredis/built/autoPipelining.d.ts create mode 100644 node_modules/ioredis/built/autoPipelining.js create mode 100644 node_modules/ioredis/built/cluster/ClusterOptions.d.ts create mode 100644 node_modules/ioredis/built/cluster/ClusterOptions.js create mode 100644 node_modules/ioredis/built/cluster/ClusterSubscriber.d.ts create mode 100644 node_modules/ioredis/built/cluster/ClusterSubscriber.js create mode 100644 node_modules/ioredis/built/cluster/ClusterSubscriberGroup.d.ts create mode 100644 node_modules/ioredis/built/cluster/ClusterSubscriberGroup.js create mode 100644 node_modules/ioredis/built/cluster/ConnectionPool.d.ts create mode 100644 node_modules/ioredis/built/cluster/ConnectionPool.js create mode 100644 node_modules/ioredis/built/cluster/DelayQueue.d.ts create mode 100644 node_modules/ioredis/built/cluster/DelayQueue.js create mode 100644 node_modules/ioredis/built/cluster/ShardedSubscriber.d.ts create mode 100644 node_modules/ioredis/built/cluster/ShardedSubscriber.js create mode 100644 node_modules/ioredis/built/cluster/index.d.ts create mode 100644 node_modules/ioredis/built/cluster/index.js create mode 100644 node_modules/ioredis/built/cluster/util.d.ts create mode 100644 node_modules/ioredis/built/cluster/util.js create mode 100644 node_modules/ioredis/built/connectors/AbstractConnector.d.ts create mode 100644 node_modules/ioredis/built/connectors/AbstractConnector.js create mode 100644 node_modules/ioredis/built/connectors/ConnectorConstructor.d.ts create mode 100644 node_modules/ioredis/built/connectors/ConnectorConstructor.js create mode 100644 node_modules/ioredis/built/connectors/SentinelConnector/FailoverDetector.d.ts create mode 100644 node_modules/ioredis/built/connectors/SentinelConnector/FailoverDetector.js create mode 100644 node_modules/ioredis/built/connectors/SentinelConnector/SentinelIterator.d.ts create mode 100644 node_modules/ioredis/built/connectors/SentinelConnector/SentinelIterator.js create mode 100644 node_modules/ioredis/built/connectors/SentinelConnector/index.d.ts create mode 100644 node_modules/ioredis/built/connectors/SentinelConnector/index.js create mode 100644 node_modules/ioredis/built/connectors/SentinelConnector/types.d.ts create mode 100644 node_modules/ioredis/built/connectors/SentinelConnector/types.js create mode 100644 node_modules/ioredis/built/connectors/StandaloneConnector.d.ts create mode 100644 node_modules/ioredis/built/connectors/StandaloneConnector.js create mode 100644 node_modules/ioredis/built/connectors/index.d.ts create mode 100644 node_modules/ioredis/built/connectors/index.js create mode 100644 node_modules/ioredis/built/constants/TLSProfiles.d.ts create mode 100644 node_modules/ioredis/built/constants/TLSProfiles.js create mode 100644 node_modules/ioredis/built/errors/ClusterAllFailedError.d.ts create mode 100644 node_modules/ioredis/built/errors/ClusterAllFailedError.js create mode 100644 node_modules/ioredis/built/errors/MaxRetriesPerRequestError.d.ts create mode 100644 node_modules/ioredis/built/errors/MaxRetriesPerRequestError.js create mode 100644 node_modules/ioredis/built/errors/index.d.ts create mode 100644 node_modules/ioredis/built/errors/index.js create mode 100644 node_modules/ioredis/built/index.d.ts create mode 100644 node_modules/ioredis/built/index.js create mode 100644 node_modules/ioredis/built/redis/RedisOptions.d.ts create mode 100644 node_modules/ioredis/built/redis/RedisOptions.js create mode 100644 node_modules/ioredis/built/redis/event_handler.d.ts create mode 100644 node_modules/ioredis/built/redis/event_handler.js create mode 100644 node_modules/ioredis/built/transaction.d.ts create mode 100644 node_modules/ioredis/built/transaction.js create mode 100644 node_modules/ioredis/built/types.d.ts create mode 100644 node_modules/ioredis/built/types.js create mode 100644 node_modules/ioredis/built/utils/Commander.d.ts create mode 100644 node_modules/ioredis/built/utils/Commander.js create mode 100644 node_modules/ioredis/built/utils/RedisCommander.d.ts create mode 100644 node_modules/ioredis/built/utils/RedisCommander.js create mode 100644 node_modules/ioredis/built/utils/applyMixin.d.ts create mode 100644 node_modules/ioredis/built/utils/applyMixin.js create mode 100644 node_modules/ioredis/built/utils/argumentParsers.d.ts create mode 100644 node_modules/ioredis/built/utils/argumentParsers.js create mode 100644 node_modules/ioredis/built/utils/debug.d.ts create mode 100644 node_modules/ioredis/built/utils/debug.js create mode 100644 node_modules/ioredis/built/utils/index.d.ts create mode 100644 node_modules/ioredis/built/utils/index.js create mode 100644 node_modules/ioredis/built/utils/lodash.d.ts create mode 100644 node_modules/ioredis/built/utils/lodash.js create mode 100644 node_modules/ioredis/node_modules/debug/LICENSE create mode 100644 node_modules/ioredis/node_modules/debug/README.md create mode 100644 node_modules/ioredis/node_modules/debug/package.json create mode 100644 node_modules/ioredis/node_modules/debug/src/browser.js create mode 100644 node_modules/ioredis/node_modules/debug/src/common.js create mode 100644 node_modules/ioredis/node_modules/debug/src/index.js create mode 100644 node_modules/ioredis/node_modules/debug/src/node.js create mode 100644 node_modules/ioredis/node_modules/ms/index.js create mode 100644 node_modules/ioredis/node_modules/ms/license.md create mode 100644 node_modules/ioredis/node_modules/ms/package.json create mode 100644 node_modules/ioredis/node_modules/ms/readme.md create mode 100644 node_modules/ioredis/package.json create mode 100644 node_modules/ipaddr.js/LICENSE create mode 100644 node_modules/ipaddr.js/README.md create mode 100644 node_modules/ipaddr.js/ipaddr.min.js create mode 100644 node_modules/ipaddr.js/lib/ipaddr.js create mode 100644 node_modules/ipaddr.js/lib/ipaddr.js.d.ts create mode 100644 node_modules/ipaddr.js/package.json create mode 100644 node_modules/is-stream/index.d.ts create mode 100644 node_modules/is-stream/index.js create mode 100644 node_modules/is-stream/license create mode 100644 node_modules/is-stream/package.json create mode 100644 node_modules/is-stream/readme.md create mode 100644 node_modules/isexe/.npmignore create mode 100644 node_modules/isexe/LICENSE create mode 100644 node_modules/isexe/README.md create mode 100644 node_modules/isexe/index.js create mode 100644 node_modules/isexe/mode.js create mode 100644 node_modules/isexe/package.json create mode 100644 node_modules/isexe/test/basic.js create mode 100644 node_modules/isexe/windows.js create mode 100644 node_modules/kuler/.travis.yml create mode 100644 node_modules/kuler/LICENSE create mode 100644 node_modules/kuler/README.md create mode 100644 node_modules/kuler/index.js create mode 100644 node_modules/kuler/package.json create mode 100644 node_modules/kuler/test.js create mode 100644 node_modules/lodash.defaults/LICENSE create mode 100644 node_modules/lodash.defaults/README.md create mode 100644 node_modules/lodash.defaults/index.js create mode 100644 node_modules/lodash.defaults/package.json create mode 100644 node_modules/lodash.isarguments/LICENSE create mode 100644 node_modules/lodash.isarguments/README.md create mode 100644 node_modules/lodash.isarguments/index.js create mode 100644 node_modules/lodash.isarguments/package.json create mode 100644 node_modules/logform/.babelrc create mode 100644 node_modules/logform/.eslintrc create mode 100644 node_modules/logform/.gitattributes create mode 100644 node_modules/logform/CHANGELOG.md create mode 100644 node_modules/logform/LICENSE create mode 100644 node_modules/logform/README.md create mode 100644 node_modules/logform/align.js create mode 100644 node_modules/logform/browser.js create mode 100644 node_modules/logform/cli.js create mode 100644 node_modules/logform/colorize.js create mode 100644 node_modules/logform/combine.js create mode 100644 node_modules/logform/dist/align.js create mode 100644 node_modules/logform/dist/browser.js create mode 100644 node_modules/logform/dist/cli.js create mode 100644 node_modules/logform/dist/colorize.js create mode 100644 node_modules/logform/dist/combine.js create mode 100644 node_modules/logform/dist/errors.js create mode 100644 node_modules/logform/dist/format.js create mode 100644 node_modules/logform/dist/index.js create mode 100644 node_modules/logform/dist/json.js create mode 100644 node_modules/logform/dist/label.js create mode 100644 node_modules/logform/dist/levels.js create mode 100644 node_modules/logform/dist/logstash.js create mode 100644 node_modules/logform/dist/metadata.js create mode 100644 node_modules/logform/dist/ms.js create mode 100644 node_modules/logform/dist/pad-levels.js create mode 100644 node_modules/logform/dist/pretty-print.js create mode 100644 node_modules/logform/dist/printf.js create mode 100644 node_modules/logform/dist/simple.js create mode 100644 node_modules/logform/dist/splat.js create mode 100644 node_modules/logform/dist/timestamp.js create mode 100644 node_modules/logform/dist/uncolorize.js create mode 100644 node_modules/logform/errors.js create mode 100644 node_modules/logform/format.js create mode 100644 node_modules/logform/index.d.ts create mode 100644 node_modules/logform/index.js create mode 100644 node_modules/logform/json.js create mode 100644 node_modules/logform/label.js create mode 100644 node_modules/logform/levels.js create mode 100644 node_modules/logform/logstash.js create mode 100644 node_modules/logform/metadata.js create mode 100644 node_modules/logform/ms.js create mode 100644 node_modules/logform/node_modules/ms/index.js create mode 100644 node_modules/logform/node_modules/ms/license.md create mode 100644 node_modules/logform/node_modules/ms/package.json create mode 100644 node_modules/logform/node_modules/ms/readme.md create mode 100644 node_modules/logform/package.json create mode 100644 node_modules/logform/pad-levels.js create mode 100644 node_modules/logform/pretty-print.js create mode 100644 node_modules/logform/printf.js create mode 100644 node_modules/logform/simple.js create mode 100644 node_modules/logform/splat.js create mode 100644 node_modules/logform/timestamp.js create mode 100644 node_modules/logform/tsconfig.json create mode 100644 node_modules/logform/uncolorize.js create mode 100644 node_modules/math-intrinsics/.eslintrc create mode 100644 node_modules/math-intrinsics/.github/FUNDING.yml create mode 100644 node_modules/math-intrinsics/CHANGELOG.md create mode 100644 node_modules/math-intrinsics/LICENSE create mode 100644 node_modules/math-intrinsics/README.md create mode 100644 node_modules/math-intrinsics/abs.d.ts create mode 100644 node_modules/math-intrinsics/abs.js create mode 100644 node_modules/math-intrinsics/constants/maxArrayLength.d.ts create mode 100644 node_modules/math-intrinsics/constants/maxArrayLength.js create mode 100644 node_modules/math-intrinsics/constants/maxSafeInteger.d.ts create mode 100644 node_modules/math-intrinsics/constants/maxSafeInteger.js create mode 100644 node_modules/math-intrinsics/constants/maxValue.d.ts create mode 100644 node_modules/math-intrinsics/constants/maxValue.js create mode 100644 node_modules/math-intrinsics/floor.d.ts create mode 100644 node_modules/math-intrinsics/floor.js create mode 100644 node_modules/math-intrinsics/isFinite.d.ts create mode 100644 node_modules/math-intrinsics/isFinite.js create mode 100644 node_modules/math-intrinsics/isInteger.d.ts create mode 100644 node_modules/math-intrinsics/isInteger.js create mode 100644 node_modules/math-intrinsics/isNaN.d.ts create mode 100644 node_modules/math-intrinsics/isNaN.js create mode 100644 node_modules/math-intrinsics/isNegativeZero.d.ts create mode 100644 node_modules/math-intrinsics/isNegativeZero.js create mode 100644 node_modules/math-intrinsics/max.d.ts create mode 100644 node_modules/math-intrinsics/max.js create mode 100644 node_modules/math-intrinsics/min.d.ts create mode 100644 node_modules/math-intrinsics/min.js create mode 100644 node_modules/math-intrinsics/mod.d.ts create mode 100644 node_modules/math-intrinsics/mod.js create mode 100644 node_modules/math-intrinsics/package.json create mode 100644 node_modules/math-intrinsics/pow.d.ts create mode 100644 node_modules/math-intrinsics/pow.js create mode 100644 node_modules/math-intrinsics/round.d.ts create mode 100644 node_modules/math-intrinsics/round.js create mode 100644 node_modules/math-intrinsics/sign.d.ts create mode 100644 node_modules/math-intrinsics/sign.js create mode 100644 node_modules/math-intrinsics/test/index.js create mode 100644 node_modules/math-intrinsics/tsconfig.json create mode 100644 node_modules/media-typer/HISTORY.md create mode 100644 node_modules/media-typer/LICENSE create mode 100644 node_modules/media-typer/README.md create mode 100644 node_modules/media-typer/index.js create mode 100644 node_modules/media-typer/package.json create mode 100644 node_modules/merge-descriptors/HISTORY.md create mode 100644 node_modules/merge-descriptors/LICENSE create mode 100644 node_modules/merge-descriptors/README.md create mode 100644 node_modules/merge-descriptors/index.js create mode 100644 node_modules/merge-descriptors/package.json create mode 100644 node_modules/methods/HISTORY.md create mode 100644 node_modules/methods/LICENSE create mode 100644 node_modules/methods/README.md create mode 100644 node_modules/methods/index.js create mode 100644 node_modules/methods/package.json create mode 100644 node_modules/mime-db/HISTORY.md create mode 100644 node_modules/mime-db/LICENSE create mode 100644 node_modules/mime-db/README.md create mode 100644 node_modules/mime-db/db.json create mode 100644 node_modules/mime-db/index.js create mode 100644 node_modules/mime-db/package.json create mode 100644 node_modules/mime-types/HISTORY.md create mode 100644 node_modules/mime-types/LICENSE create mode 100644 node_modules/mime-types/README.md create mode 100644 node_modules/mime-types/index.js create mode 100644 node_modules/mime-types/package.json create mode 100644 node_modules/mime/.npmignore create mode 100644 node_modules/mime/CHANGELOG.md create mode 100644 node_modules/mime/LICENSE create mode 100644 node_modules/mime/README.md create mode 100644 node_modules/mime/cli.js create mode 100644 node_modules/mime/mime.js create mode 100644 node_modules/mime/package.json create mode 100644 node_modules/mime/src/build.js create mode 100644 node_modules/mime/src/test.js create mode 100644 node_modules/mime/types.json create mode 100644 node_modules/moment/CHANGELOG.md create mode 100644 node_modules/moment/LICENSE create mode 100644 node_modules/moment/README.md create mode 100644 node_modules/moment/dist/locale/af.js create mode 100644 node_modules/moment/dist/locale/ar-dz.js create mode 100644 node_modules/moment/dist/locale/ar-kw.js create mode 100644 node_modules/moment/dist/locale/ar-ly.js create mode 100644 node_modules/moment/dist/locale/ar-ma.js create mode 100644 node_modules/moment/dist/locale/ar-ps.js create mode 100644 node_modules/moment/dist/locale/ar-sa.js create mode 100644 node_modules/moment/dist/locale/ar-tn.js create mode 100644 node_modules/moment/dist/locale/ar.js create mode 100644 node_modules/moment/dist/locale/az.js create mode 100644 node_modules/moment/dist/locale/be.js create mode 100644 node_modules/moment/dist/locale/bg.js create mode 100644 node_modules/moment/dist/locale/bm.js create mode 100644 node_modules/moment/dist/locale/bn-bd.js create mode 100644 node_modules/moment/dist/locale/bn.js create mode 100644 node_modules/moment/dist/locale/bo.js create mode 100644 node_modules/moment/dist/locale/br.js create mode 100644 node_modules/moment/dist/locale/bs.js create mode 100644 node_modules/moment/dist/locale/ca.js create mode 100644 node_modules/moment/dist/locale/cs.js create mode 100644 node_modules/moment/dist/locale/cv.js create mode 100644 node_modules/moment/dist/locale/cy.js create mode 100644 node_modules/moment/dist/locale/da.js create mode 100644 node_modules/moment/dist/locale/de-at.js create mode 100644 node_modules/moment/dist/locale/de-ch.js create mode 100644 node_modules/moment/dist/locale/de.js create mode 100644 node_modules/moment/dist/locale/dv.js create mode 100644 node_modules/moment/dist/locale/el.js create mode 100644 node_modules/moment/dist/locale/en-au.js create mode 100644 node_modules/moment/dist/locale/en-ca.js create mode 100644 node_modules/moment/dist/locale/en-gb.js create mode 100644 node_modules/moment/dist/locale/en-ie.js create mode 100644 node_modules/moment/dist/locale/en-il.js create mode 100644 node_modules/moment/dist/locale/en-in.js create mode 100644 node_modules/moment/dist/locale/en-nz.js create mode 100644 node_modules/moment/dist/locale/en-sg.js create mode 100644 node_modules/moment/dist/locale/eo.js create mode 100644 node_modules/moment/dist/locale/es-do.js create mode 100644 node_modules/moment/dist/locale/es-mx.js create mode 100644 node_modules/moment/dist/locale/es-us.js create mode 100644 node_modules/moment/dist/locale/es.js create mode 100644 node_modules/moment/dist/locale/et.js create mode 100644 node_modules/moment/dist/locale/eu.js create mode 100644 node_modules/moment/dist/locale/fa.js create mode 100644 node_modules/moment/dist/locale/fi.js create mode 100644 node_modules/moment/dist/locale/fil.js create mode 100644 node_modules/moment/dist/locale/fo.js create mode 100644 node_modules/moment/dist/locale/fr-ca.js create mode 100644 node_modules/moment/dist/locale/fr-ch.js create mode 100644 node_modules/moment/dist/locale/fr.js create mode 100644 node_modules/moment/dist/locale/fy.js create mode 100644 node_modules/moment/dist/locale/ga.js create mode 100644 node_modules/moment/dist/locale/gd.js create mode 100644 node_modules/moment/dist/locale/gl.js create mode 100644 node_modules/moment/dist/locale/gom-deva.js create mode 100644 node_modules/moment/dist/locale/gom-latn.js create mode 100644 node_modules/moment/dist/locale/gu.js create mode 100644 node_modules/moment/dist/locale/he.js create mode 100644 node_modules/moment/dist/locale/hi.js create mode 100644 node_modules/moment/dist/locale/hr.js create mode 100644 node_modules/moment/dist/locale/hu.js create mode 100644 node_modules/moment/dist/locale/hy-am.js create mode 100644 node_modules/moment/dist/locale/id.js create mode 100644 node_modules/moment/dist/locale/is.js create mode 100644 node_modules/moment/dist/locale/it-ch.js create mode 100644 node_modules/moment/dist/locale/it.js create mode 100644 node_modules/moment/dist/locale/ja.js create mode 100644 node_modules/moment/dist/locale/jv.js create mode 100644 node_modules/moment/dist/locale/ka.js create mode 100644 node_modules/moment/dist/locale/kk.js create mode 100644 node_modules/moment/dist/locale/km.js create mode 100644 node_modules/moment/dist/locale/kn.js create mode 100644 node_modules/moment/dist/locale/ko.js create mode 100644 node_modules/moment/dist/locale/ku-kmr.js create mode 100644 node_modules/moment/dist/locale/ku.js create mode 100644 node_modules/moment/dist/locale/ky.js create mode 100644 node_modules/moment/dist/locale/lb.js create mode 100644 node_modules/moment/dist/locale/lo.js create mode 100644 node_modules/moment/dist/locale/lt.js create mode 100644 node_modules/moment/dist/locale/lv.js create mode 100644 node_modules/moment/dist/locale/me.js create mode 100644 node_modules/moment/dist/locale/mi.js create mode 100644 node_modules/moment/dist/locale/mk.js create mode 100644 node_modules/moment/dist/locale/ml.js create mode 100644 node_modules/moment/dist/locale/mn.js create mode 100644 node_modules/moment/dist/locale/mr.js create mode 100644 node_modules/moment/dist/locale/ms-my.js create mode 100644 node_modules/moment/dist/locale/ms.js create mode 100644 node_modules/moment/dist/locale/mt.js create mode 100644 node_modules/moment/dist/locale/my.js create mode 100644 node_modules/moment/dist/locale/nb.js create mode 100644 node_modules/moment/dist/locale/ne.js create mode 100644 node_modules/moment/dist/locale/nl-be.js create mode 100644 node_modules/moment/dist/locale/nl.js create mode 100644 node_modules/moment/dist/locale/nn.js create mode 100644 node_modules/moment/dist/locale/oc-lnc.js create mode 100644 node_modules/moment/dist/locale/pa-in.js create mode 100644 node_modules/moment/dist/locale/pl.js create mode 100644 node_modules/moment/dist/locale/pt-br.js create mode 100644 node_modules/moment/dist/locale/pt.js create mode 100644 node_modules/moment/dist/locale/ro.js create mode 100644 node_modules/moment/dist/locale/ru.js create mode 100644 node_modules/moment/dist/locale/sd.js create mode 100644 node_modules/moment/dist/locale/se.js create mode 100644 node_modules/moment/dist/locale/si.js create mode 100644 node_modules/moment/dist/locale/sk.js create mode 100644 node_modules/moment/dist/locale/sl.js create mode 100644 node_modules/moment/dist/locale/sq.js create mode 100644 node_modules/moment/dist/locale/sr-cyrl.js create mode 100644 node_modules/moment/dist/locale/sr.js create mode 100644 node_modules/moment/dist/locale/ss.js create mode 100644 node_modules/moment/dist/locale/sv.js create mode 100644 node_modules/moment/dist/locale/sw.js create mode 100644 node_modules/moment/dist/locale/ta.js create mode 100644 node_modules/moment/dist/locale/te.js create mode 100644 node_modules/moment/dist/locale/tet.js create mode 100644 node_modules/moment/dist/locale/tg.js create mode 100644 node_modules/moment/dist/locale/th.js create mode 100644 node_modules/moment/dist/locale/tk.js create mode 100644 node_modules/moment/dist/locale/tl-ph.js create mode 100644 node_modules/moment/dist/locale/tlh.js create mode 100644 node_modules/moment/dist/locale/tr.js create mode 100644 node_modules/moment/dist/locale/tzl.js create mode 100644 node_modules/moment/dist/locale/tzm-latn.js create mode 100644 node_modules/moment/dist/locale/tzm.js create mode 100644 node_modules/moment/dist/locale/ug-cn.js create mode 100644 node_modules/moment/dist/locale/uk.js create mode 100644 node_modules/moment/dist/locale/ur.js create mode 100644 node_modules/moment/dist/locale/uz-latn.js create mode 100644 node_modules/moment/dist/locale/uz.js create mode 100644 node_modules/moment/dist/locale/vi.js create mode 100644 node_modules/moment/dist/locale/x-pseudo.js create mode 100644 node_modules/moment/dist/locale/yo.js create mode 100644 node_modules/moment/dist/locale/zh-cn.js create mode 100644 node_modules/moment/dist/locale/zh-hk.js create mode 100644 node_modules/moment/dist/locale/zh-mo.js create mode 100644 node_modules/moment/dist/locale/zh-tw.js create mode 100644 node_modules/moment/dist/moment.js create mode 100644 node_modules/moment/ender.js create mode 100644 node_modules/moment/locale/af.js create mode 100644 node_modules/moment/locale/ar-dz.js create mode 100644 node_modules/moment/locale/ar-kw.js create mode 100644 node_modules/moment/locale/ar-ly.js create mode 100644 node_modules/moment/locale/ar-ma.js create mode 100644 node_modules/moment/locale/ar-ps.js create mode 100644 node_modules/moment/locale/ar-sa.js create mode 100644 node_modules/moment/locale/ar-tn.js create mode 100644 node_modules/moment/locale/ar.js create mode 100644 node_modules/moment/locale/az.js create mode 100644 node_modules/moment/locale/be.js create mode 100644 node_modules/moment/locale/bg.js create mode 100644 node_modules/moment/locale/bm.js create mode 100644 node_modules/moment/locale/bn-bd.js create mode 100644 node_modules/moment/locale/bn.js create mode 100644 node_modules/moment/locale/bo.js create mode 100644 node_modules/moment/locale/br.js create mode 100644 node_modules/moment/locale/bs.js create mode 100644 node_modules/moment/locale/ca.js create mode 100644 node_modules/moment/locale/cs.js create mode 100644 node_modules/moment/locale/cv.js create mode 100644 node_modules/moment/locale/cy.js create mode 100644 node_modules/moment/locale/da.js create mode 100644 node_modules/moment/locale/de-at.js create mode 100644 node_modules/moment/locale/de-ch.js create mode 100644 node_modules/moment/locale/de.js create mode 100644 node_modules/moment/locale/dv.js create mode 100644 node_modules/moment/locale/el.js create mode 100644 node_modules/moment/locale/en-au.js create mode 100644 node_modules/moment/locale/en-ca.js create mode 100644 node_modules/moment/locale/en-gb.js create mode 100644 node_modules/moment/locale/en-ie.js create mode 100644 node_modules/moment/locale/en-il.js create mode 100644 node_modules/moment/locale/en-in.js create mode 100644 node_modules/moment/locale/en-nz.js create mode 100644 node_modules/moment/locale/en-sg.js create mode 100644 node_modules/moment/locale/eo.js create mode 100644 node_modules/moment/locale/es-do.js create mode 100644 node_modules/moment/locale/es-mx.js create mode 100644 node_modules/moment/locale/es-us.js create mode 100644 node_modules/moment/locale/es.js create mode 100644 node_modules/moment/locale/et.js create mode 100644 node_modules/moment/locale/eu.js create mode 100644 node_modules/moment/locale/fa.js create mode 100644 node_modules/moment/locale/fi.js create mode 100644 node_modules/moment/locale/fil.js create mode 100644 node_modules/moment/locale/fo.js create mode 100644 node_modules/moment/locale/fr-ca.js create mode 100644 node_modules/moment/locale/fr-ch.js create mode 100644 node_modules/moment/locale/fr.js create mode 100644 node_modules/moment/locale/fy.js create mode 100644 node_modules/moment/locale/ga.js create mode 100644 node_modules/moment/locale/gd.js create mode 100644 node_modules/moment/locale/gl.js create mode 100644 node_modules/moment/locale/gom-deva.js create mode 100644 node_modules/moment/locale/gom-latn.js create mode 100644 node_modules/moment/locale/gu.js create mode 100644 node_modules/moment/locale/he.js create mode 100644 node_modules/moment/locale/hi.js create mode 100644 node_modules/moment/locale/hr.js create mode 100644 node_modules/moment/locale/hu.js create mode 100644 node_modules/moment/locale/hy-am.js create mode 100644 node_modules/moment/locale/id.js create mode 100644 node_modules/moment/locale/is.js create mode 100644 node_modules/moment/locale/it-ch.js create mode 100644 node_modules/moment/locale/it.js create mode 100644 node_modules/moment/locale/ja.js create mode 100644 node_modules/moment/locale/jv.js create mode 100644 node_modules/moment/locale/ka.js create mode 100644 node_modules/moment/locale/kk.js create mode 100644 node_modules/moment/locale/km.js create mode 100644 node_modules/moment/locale/kn.js create mode 100644 node_modules/moment/locale/ko.js create mode 100644 node_modules/moment/locale/ku-kmr.js create mode 100644 node_modules/moment/locale/ku.js create mode 100644 node_modules/moment/locale/ky.js create mode 100644 node_modules/moment/locale/lb.js create mode 100644 node_modules/moment/locale/lo.js create mode 100644 node_modules/moment/locale/lt.js create mode 100644 node_modules/moment/locale/lv.js create mode 100644 node_modules/moment/locale/me.js create mode 100644 node_modules/moment/locale/mi.js create mode 100644 node_modules/moment/locale/mk.js create mode 100644 node_modules/moment/locale/ml.js create mode 100644 node_modules/moment/locale/mn.js create mode 100644 node_modules/moment/locale/mr.js create mode 100644 node_modules/moment/locale/ms-my.js create mode 100644 node_modules/moment/locale/ms.js create mode 100644 node_modules/moment/locale/mt.js create mode 100644 node_modules/moment/locale/my.js create mode 100644 node_modules/moment/locale/nb.js create mode 100644 node_modules/moment/locale/ne.js create mode 100644 node_modules/moment/locale/nl-be.js create mode 100644 node_modules/moment/locale/nl.js create mode 100644 node_modules/moment/locale/nn.js create mode 100644 node_modules/moment/locale/oc-lnc.js create mode 100644 node_modules/moment/locale/pa-in.js create mode 100644 node_modules/moment/locale/pl.js create mode 100644 node_modules/moment/locale/pt-br.js create mode 100644 node_modules/moment/locale/pt.js create mode 100644 node_modules/moment/locale/ro.js create mode 100644 node_modules/moment/locale/ru.js create mode 100644 node_modules/moment/locale/sd.js create mode 100644 node_modules/moment/locale/se.js create mode 100644 node_modules/moment/locale/si.js create mode 100644 node_modules/moment/locale/sk.js create mode 100644 node_modules/moment/locale/sl.js create mode 100644 node_modules/moment/locale/sq.js create mode 100644 node_modules/moment/locale/sr-cyrl.js create mode 100644 node_modules/moment/locale/sr.js create mode 100644 node_modules/moment/locale/ss.js create mode 100644 node_modules/moment/locale/sv.js create mode 100644 node_modules/moment/locale/sw.js create mode 100644 node_modules/moment/locale/ta.js create mode 100644 node_modules/moment/locale/te.js create mode 100644 node_modules/moment/locale/tet.js create mode 100644 node_modules/moment/locale/tg.js create mode 100644 node_modules/moment/locale/th.js create mode 100644 node_modules/moment/locale/tk.js create mode 100644 node_modules/moment/locale/tl-ph.js create mode 100644 node_modules/moment/locale/tlh.js create mode 100644 node_modules/moment/locale/tr.js create mode 100644 node_modules/moment/locale/tzl.js create mode 100644 node_modules/moment/locale/tzm-latn.js create mode 100644 node_modules/moment/locale/tzm.js create mode 100644 node_modules/moment/locale/ug-cn.js create mode 100644 node_modules/moment/locale/uk.js create mode 100644 node_modules/moment/locale/ur.js create mode 100644 node_modules/moment/locale/uz-latn.js create mode 100644 node_modules/moment/locale/uz.js create mode 100644 node_modules/moment/locale/vi.js create mode 100644 node_modules/moment/locale/x-pseudo.js create mode 100644 node_modules/moment/locale/yo.js create mode 100644 node_modules/moment/locale/zh-cn.js create mode 100644 node_modules/moment/locale/zh-hk.js create mode 100644 node_modules/moment/locale/zh-mo.js create mode 100644 node_modules/moment/locale/zh-tw.js create mode 100644 node_modules/moment/min/locales.js create mode 100644 node_modules/moment/min/locales.min.js create mode 100644 node_modules/moment/min/locales.min.js.map create mode 100644 node_modules/moment/min/moment-with-locales.js create mode 100644 node_modules/moment/min/moment-with-locales.min.js create mode 100644 node_modules/moment/min/moment-with-locales.min.js.map create mode 100644 node_modules/moment/min/moment.min.js create mode 100644 node_modules/moment/min/moment.min.js.map create mode 100644 node_modules/moment/moment.d.ts create mode 100644 node_modules/moment/moment.js create mode 100644 node_modules/moment/package.js create mode 100644 node_modules/moment/package.json create mode 100644 node_modules/moment/src/lib/create/check-overflow.js create mode 100644 node_modules/moment/src/lib/create/date-from-array.js create mode 100644 node_modules/moment/src/lib/create/from-anything.js create mode 100644 node_modules/moment/src/lib/create/from-array.js create mode 100644 node_modules/moment/src/lib/create/from-object.js create mode 100644 node_modules/moment/src/lib/create/from-string-and-array.js create mode 100644 node_modules/moment/src/lib/create/from-string-and-format.js create mode 100644 node_modules/moment/src/lib/create/from-string.js create mode 100644 node_modules/moment/src/lib/create/local.js create mode 100644 node_modules/moment/src/lib/create/parsing-flags.js create mode 100644 node_modules/moment/src/lib/create/utc.js create mode 100644 node_modules/moment/src/lib/create/valid.js create mode 100644 node_modules/moment/src/lib/duration/abs.js create mode 100644 node_modules/moment/src/lib/duration/add-subtract.js create mode 100644 node_modules/moment/src/lib/duration/as.js create mode 100644 node_modules/moment/src/lib/duration/bubble.js create mode 100644 node_modules/moment/src/lib/duration/clone.js create mode 100644 node_modules/moment/src/lib/duration/constructor.js create mode 100644 node_modules/moment/src/lib/duration/create.js create mode 100644 node_modules/moment/src/lib/duration/duration.js create mode 100644 node_modules/moment/src/lib/duration/get.js create mode 100644 node_modules/moment/src/lib/duration/humanize.js create mode 100644 node_modules/moment/src/lib/duration/iso-string.js create mode 100644 node_modules/moment/src/lib/duration/prototype.js create mode 100644 node_modules/moment/src/lib/duration/valid.js create mode 100644 node_modules/moment/src/lib/format/format.js create mode 100644 node_modules/moment/src/lib/locale/base-config.js create mode 100644 node_modules/moment/src/lib/locale/calendar.js create mode 100644 node_modules/moment/src/lib/locale/constructor.js create mode 100644 node_modules/moment/src/lib/locale/en.js create mode 100644 node_modules/moment/src/lib/locale/formats.js create mode 100644 node_modules/moment/src/lib/locale/invalid.js create mode 100644 node_modules/moment/src/lib/locale/lists.js create mode 100644 node_modules/moment/src/lib/locale/locale.js create mode 100644 node_modules/moment/src/lib/locale/locales.js create mode 100644 node_modules/moment/src/lib/locale/ordinal.js create mode 100644 node_modules/moment/src/lib/locale/pre-post-format.js create mode 100644 node_modules/moment/src/lib/locale/prototype.js create mode 100644 node_modules/moment/src/lib/locale/relative.js create mode 100644 node_modules/moment/src/lib/locale/set.js create mode 100644 node_modules/moment/src/lib/moment/add-subtract.js create mode 100644 node_modules/moment/src/lib/moment/calendar.js create mode 100644 node_modules/moment/src/lib/moment/clone.js create mode 100644 node_modules/moment/src/lib/moment/compare.js create mode 100644 node_modules/moment/src/lib/moment/constructor.js create mode 100644 node_modules/moment/src/lib/moment/creation-data.js create mode 100644 node_modules/moment/src/lib/moment/diff.js create mode 100644 node_modules/moment/src/lib/moment/format.js create mode 100644 node_modules/moment/src/lib/moment/from.js create mode 100644 node_modules/moment/src/lib/moment/get-set.js create mode 100644 node_modules/moment/src/lib/moment/locale.js create mode 100644 node_modules/moment/src/lib/moment/min-max.js create mode 100644 node_modules/moment/src/lib/moment/moment.js create mode 100644 node_modules/moment/src/lib/moment/now.js create mode 100644 node_modules/moment/src/lib/moment/prototype.js create mode 100644 node_modules/moment/src/lib/moment/start-end-of.js create mode 100644 node_modules/moment/src/lib/moment/to-type.js create mode 100644 node_modules/moment/src/lib/moment/to.js create mode 100644 node_modules/moment/src/lib/moment/valid.js create mode 100644 node_modules/moment/src/lib/parse/regex.js create mode 100644 node_modules/moment/src/lib/parse/token.js create mode 100644 node_modules/moment/src/lib/units/aliases.js create mode 100644 node_modules/moment/src/lib/units/constants.js create mode 100644 node_modules/moment/src/lib/units/day-of-month.js create mode 100644 node_modules/moment/src/lib/units/day-of-week.js create mode 100644 node_modules/moment/src/lib/units/day-of-year.js create mode 100644 node_modules/moment/src/lib/units/era.js create mode 100644 node_modules/moment/src/lib/units/hour.js create mode 100644 node_modules/moment/src/lib/units/millisecond.js create mode 100644 node_modules/moment/src/lib/units/minute.js create mode 100644 node_modules/moment/src/lib/units/month.js create mode 100644 node_modules/moment/src/lib/units/offset.js create mode 100644 node_modules/moment/src/lib/units/priorities.js create mode 100644 node_modules/moment/src/lib/units/quarter.js create mode 100644 node_modules/moment/src/lib/units/second.js create mode 100644 node_modules/moment/src/lib/units/timestamp.js create mode 100644 node_modules/moment/src/lib/units/timezone.js create mode 100644 node_modules/moment/src/lib/units/units.js create mode 100644 node_modules/moment/src/lib/units/week-calendar-utils.js create mode 100644 node_modules/moment/src/lib/units/week-year.js create mode 100644 node_modules/moment/src/lib/units/week.js create mode 100644 node_modules/moment/src/lib/units/year.js create mode 100644 node_modules/moment/src/lib/utils/abs-ceil.js create mode 100644 node_modules/moment/src/lib/utils/abs-floor.js create mode 100644 node_modules/moment/src/lib/utils/abs-round.js create mode 100644 node_modules/moment/src/lib/utils/compare-arrays.js create mode 100644 node_modules/moment/src/lib/utils/defaults.js create mode 100644 node_modules/moment/src/lib/utils/deprecate.js create mode 100644 node_modules/moment/src/lib/utils/extend.js create mode 100644 node_modules/moment/src/lib/utils/has-own-prop.js create mode 100644 node_modules/moment/src/lib/utils/hooks.js create mode 100644 node_modules/moment/src/lib/utils/index-of.js create mode 100644 node_modules/moment/src/lib/utils/is-array.js create mode 100644 node_modules/moment/src/lib/utils/is-calendar-spec.js create mode 100644 node_modules/moment/src/lib/utils/is-date.js create mode 100644 node_modules/moment/src/lib/utils/is-function.js create mode 100644 node_modules/moment/src/lib/utils/is-leap-year.js create mode 100644 node_modules/moment/src/lib/utils/is-moment-input.js create mode 100644 node_modules/moment/src/lib/utils/is-number.js create mode 100644 node_modules/moment/src/lib/utils/is-object-empty.js create mode 100644 node_modules/moment/src/lib/utils/is-object.js create mode 100644 node_modules/moment/src/lib/utils/is-string.js create mode 100644 node_modules/moment/src/lib/utils/is-undefined.js create mode 100644 node_modules/moment/src/lib/utils/keys.js create mode 100644 node_modules/moment/src/lib/utils/map.js create mode 100644 node_modules/moment/src/lib/utils/mod.js create mode 100644 node_modules/moment/src/lib/utils/some.js create mode 100644 node_modules/moment/src/lib/utils/to-int.js create mode 100644 node_modules/moment/src/lib/utils/zero-fill.js create mode 100644 node_modules/moment/src/locale/af.js create mode 100644 node_modules/moment/src/locale/ar-dz.js create mode 100644 node_modules/moment/src/locale/ar-kw.js create mode 100644 node_modules/moment/src/locale/ar-ly.js create mode 100644 node_modules/moment/src/locale/ar-ma.js create mode 100644 node_modules/moment/src/locale/ar-ps.js create mode 100644 node_modules/moment/src/locale/ar-sa.js create mode 100644 node_modules/moment/src/locale/ar-tn.js create mode 100644 node_modules/moment/src/locale/ar.js create mode 100644 node_modules/moment/src/locale/az.js create mode 100644 node_modules/moment/src/locale/be.js create mode 100644 node_modules/moment/src/locale/bg.js create mode 100644 node_modules/moment/src/locale/bm.js create mode 100644 node_modules/moment/src/locale/bn-bd.js create mode 100644 node_modules/moment/src/locale/bn.js create mode 100644 node_modules/moment/src/locale/bo.js create mode 100644 node_modules/moment/src/locale/br.js create mode 100644 node_modules/moment/src/locale/bs.js create mode 100644 node_modules/moment/src/locale/ca.js create mode 100644 node_modules/moment/src/locale/cs.js create mode 100644 node_modules/moment/src/locale/cv.js create mode 100644 node_modules/moment/src/locale/cy.js create mode 100644 node_modules/moment/src/locale/da.js create mode 100644 node_modules/moment/src/locale/de-at.js create mode 100644 node_modules/moment/src/locale/de-ch.js create mode 100644 node_modules/moment/src/locale/de.js create mode 100644 node_modules/moment/src/locale/dv.js create mode 100644 node_modules/moment/src/locale/el.js create mode 100644 node_modules/moment/src/locale/en-au.js create mode 100644 node_modules/moment/src/locale/en-ca.js create mode 100644 node_modules/moment/src/locale/en-gb.js create mode 100644 node_modules/moment/src/locale/en-ie.js create mode 100644 node_modules/moment/src/locale/en-il.js create mode 100644 node_modules/moment/src/locale/en-in.js create mode 100644 node_modules/moment/src/locale/en-nz.js create mode 100644 node_modules/moment/src/locale/en-sg.js create mode 100644 node_modules/moment/src/locale/eo.js create mode 100644 node_modules/moment/src/locale/es-do.js create mode 100644 node_modules/moment/src/locale/es-mx.js create mode 100644 node_modules/moment/src/locale/es-us.js create mode 100644 node_modules/moment/src/locale/es.js create mode 100644 node_modules/moment/src/locale/et.js create mode 100644 node_modules/moment/src/locale/eu.js create mode 100644 node_modules/moment/src/locale/fa.js create mode 100644 node_modules/moment/src/locale/fi.js create mode 100644 node_modules/moment/src/locale/fil.js create mode 100644 node_modules/moment/src/locale/fo.js create mode 100644 node_modules/moment/src/locale/fr-ca.js create mode 100644 node_modules/moment/src/locale/fr-ch.js create mode 100644 node_modules/moment/src/locale/fr.js create mode 100644 node_modules/moment/src/locale/fy.js create mode 100644 node_modules/moment/src/locale/ga.js create mode 100644 node_modules/moment/src/locale/gd.js create mode 100644 node_modules/moment/src/locale/gl.js create mode 100644 node_modules/moment/src/locale/gom-deva.js create mode 100644 node_modules/moment/src/locale/gom-latn.js create mode 100644 node_modules/moment/src/locale/gu.js create mode 100644 node_modules/moment/src/locale/he.js create mode 100644 node_modules/moment/src/locale/hi.js create mode 100644 node_modules/moment/src/locale/hr.js create mode 100644 node_modules/moment/src/locale/hu.js create mode 100644 node_modules/moment/src/locale/hy-am.js create mode 100644 node_modules/moment/src/locale/id.js create mode 100644 node_modules/moment/src/locale/is.js create mode 100644 node_modules/moment/src/locale/it-ch.js create mode 100644 node_modules/moment/src/locale/it.js create mode 100644 node_modules/moment/src/locale/ja.js create mode 100644 node_modules/moment/src/locale/jv.js create mode 100644 node_modules/moment/src/locale/ka.js create mode 100644 node_modules/moment/src/locale/kk.js create mode 100644 node_modules/moment/src/locale/km.js create mode 100644 node_modules/moment/src/locale/kn.js create mode 100644 node_modules/moment/src/locale/ko.js create mode 100644 node_modules/moment/src/locale/ku-kmr.js create mode 100644 node_modules/moment/src/locale/ku.js create mode 100644 node_modules/moment/src/locale/ky.js create mode 100644 node_modules/moment/src/locale/lb.js create mode 100644 node_modules/moment/src/locale/lo.js create mode 100644 node_modules/moment/src/locale/lt.js create mode 100644 node_modules/moment/src/locale/lv.js create mode 100644 node_modules/moment/src/locale/me.js create mode 100644 node_modules/moment/src/locale/mi.js create mode 100644 node_modules/moment/src/locale/mk.js create mode 100644 node_modules/moment/src/locale/ml.js create mode 100644 node_modules/moment/src/locale/mn.js create mode 100644 node_modules/moment/src/locale/mr.js create mode 100644 node_modules/moment/src/locale/ms-my.js create mode 100644 node_modules/moment/src/locale/ms.js create mode 100644 node_modules/moment/src/locale/mt.js create mode 100644 node_modules/moment/src/locale/my.js create mode 100644 node_modules/moment/src/locale/nb.js create mode 100644 node_modules/moment/src/locale/ne.js create mode 100644 node_modules/moment/src/locale/nl-be.js create mode 100644 node_modules/moment/src/locale/nl.js create mode 100644 node_modules/moment/src/locale/nn.js create mode 100644 node_modules/moment/src/locale/oc-lnc.js create mode 100644 node_modules/moment/src/locale/pa-in.js create mode 100644 node_modules/moment/src/locale/pl.js create mode 100644 node_modules/moment/src/locale/pt-br.js create mode 100644 node_modules/moment/src/locale/pt.js create mode 100644 node_modules/moment/src/locale/ro.js create mode 100644 node_modules/moment/src/locale/ru.js create mode 100644 node_modules/moment/src/locale/sd.js create mode 100644 node_modules/moment/src/locale/se.js create mode 100644 node_modules/moment/src/locale/si.js create mode 100644 node_modules/moment/src/locale/sk.js create mode 100644 node_modules/moment/src/locale/sl.js create mode 100644 node_modules/moment/src/locale/sq.js create mode 100644 node_modules/moment/src/locale/sr-cyrl.js create mode 100644 node_modules/moment/src/locale/sr.js create mode 100644 node_modules/moment/src/locale/ss.js create mode 100644 node_modules/moment/src/locale/sv.js create mode 100644 node_modules/moment/src/locale/sw.js create mode 100644 node_modules/moment/src/locale/ta.js create mode 100644 node_modules/moment/src/locale/te.js create mode 100644 node_modules/moment/src/locale/tet.js create mode 100644 node_modules/moment/src/locale/tg.js create mode 100644 node_modules/moment/src/locale/th.js create mode 100644 node_modules/moment/src/locale/tk.js create mode 100644 node_modules/moment/src/locale/tl-ph.js create mode 100644 node_modules/moment/src/locale/tlh.js create mode 100644 node_modules/moment/src/locale/tr.js create mode 100644 node_modules/moment/src/locale/tzl.js create mode 100644 node_modules/moment/src/locale/tzm-latn.js create mode 100644 node_modules/moment/src/locale/tzm.js create mode 100644 node_modules/moment/src/locale/ug-cn.js create mode 100644 node_modules/moment/src/locale/uk.js create mode 100644 node_modules/moment/src/locale/ur.js create mode 100644 node_modules/moment/src/locale/uz-latn.js create mode 100644 node_modules/moment/src/locale/uz.js create mode 100644 node_modules/moment/src/locale/vi.js create mode 100644 node_modules/moment/src/locale/x-pseudo.js create mode 100644 node_modules/moment/src/locale/yo.js create mode 100644 node_modules/moment/src/locale/zh-cn.js create mode 100644 node_modules/moment/src/locale/zh-hk.js create mode 100644 node_modules/moment/src/locale/zh-mo.js create mode 100644 node_modules/moment/src/locale/zh-tw.js create mode 100644 node_modules/moment/src/moment.js create mode 100644 node_modules/moment/ts3.1-typings/moment.d.ts create mode 100644 node_modules/ms/index.js create mode 100644 node_modules/ms/license.md create mode 100644 node_modules/ms/package.json create mode 100644 node_modules/ms/readme.md create mode 100644 node_modules/negotiator/HISTORY.md create mode 100644 node_modules/negotiator/LICENSE create mode 100644 node_modules/negotiator/README.md create mode 100644 node_modules/negotiator/index.js create mode 100644 node_modules/negotiator/lib/charset.js create mode 100644 node_modules/negotiator/lib/encoding.js create mode 100644 node_modules/negotiator/lib/language.js create mode 100644 node_modules/negotiator/lib/mediaType.js create mode 100644 node_modules/negotiator/package.json create mode 100644 node_modules/object-assign/index.js create mode 100644 node_modules/object-assign/license create mode 100644 node_modules/object-assign/package.json create mode 100644 node_modules/object-assign/readme.md create mode 100644 node_modules/object-hash/LICENSE create mode 100644 node_modules/object-hash/dist/object_hash.js create mode 100644 node_modules/object-hash/index.js create mode 100644 node_modules/object-hash/package.json create mode 100644 node_modules/object-hash/readme.markdown create mode 100644 node_modules/object-inspect/.eslintrc create mode 100644 node_modules/object-inspect/.github/FUNDING.yml create mode 100644 node_modules/object-inspect/.nycrc create mode 100644 node_modules/object-inspect/CHANGELOG.md create mode 100644 node_modules/object-inspect/LICENSE create mode 100644 node_modules/object-inspect/example/all.js create mode 100644 node_modules/object-inspect/example/circular.js create mode 100644 node_modules/object-inspect/example/fn.js create mode 100644 node_modules/object-inspect/example/inspect.js create mode 100644 node_modules/object-inspect/index.js create mode 100644 node_modules/object-inspect/package-support.json create mode 100644 node_modules/object-inspect/package.json create mode 100644 node_modules/object-inspect/readme.markdown create mode 100644 node_modules/object-inspect/test-core-js.js create mode 100644 node_modules/object-inspect/test/bigint.js create mode 100644 node_modules/object-inspect/test/browser/dom.js create mode 100644 node_modules/object-inspect/test/circular.js create mode 100644 node_modules/object-inspect/test/deep.js create mode 100644 node_modules/object-inspect/test/element.js create mode 100644 node_modules/object-inspect/test/err.js create mode 100644 node_modules/object-inspect/test/fakes.js create mode 100644 node_modules/object-inspect/test/fn.js create mode 100644 node_modules/object-inspect/test/global.js create mode 100644 node_modules/object-inspect/test/has.js create mode 100644 node_modules/object-inspect/test/holes.js create mode 100644 node_modules/object-inspect/test/indent-option.js create mode 100644 node_modules/object-inspect/test/inspect.js create mode 100644 node_modules/object-inspect/test/lowbyte.js create mode 100644 node_modules/object-inspect/test/number.js create mode 100644 node_modules/object-inspect/test/quoteStyle.js create mode 100644 node_modules/object-inspect/test/toStringTag.js create mode 100644 node_modules/object-inspect/test/undef.js create mode 100644 node_modules/object-inspect/test/values.js create mode 100644 node_modules/object-inspect/util.inspect.js create mode 100644 node_modules/on-finished/HISTORY.md create mode 100644 node_modules/on-finished/LICENSE create mode 100644 node_modules/on-finished/README.md create mode 100644 node_modules/on-finished/index.js create mode 100644 node_modules/on-finished/package.json create mode 100644 node_modules/one-time/LICENSE create mode 100644 node_modules/one-time/README.md create mode 100644 node_modules/one-time/async.js create mode 100644 node_modules/one-time/index.js create mode 100644 node_modules/one-time/package.json create mode 100644 node_modules/parseurl/HISTORY.md create mode 100644 node_modules/parseurl/LICENSE create mode 100644 node_modules/parseurl/README.md create mode 100644 node_modules/parseurl/index.js create mode 100644 node_modules/parseurl/package.json create mode 100644 node_modules/path-expression-matcher/LICENSE create mode 100644 node_modules/path-expression-matcher/README.md create mode 100644 node_modules/path-expression-matcher/lib/pem.cjs create mode 100644 node_modules/path-expression-matcher/lib/pem.d.cts create mode 100644 node_modules/path-expression-matcher/lib/pem.min.js create mode 100644 node_modules/path-expression-matcher/lib/pem.min.js.map create mode 100644 node_modules/path-expression-matcher/package.json create mode 100644 node_modules/path-expression-matcher/src/Expression.js create mode 100644 node_modules/path-expression-matcher/src/Matcher.js create mode 100644 node_modules/path-expression-matcher/src/index.d.ts create mode 100644 node_modules/path-expression-matcher/src/index.js create mode 100644 node_modules/path-to-regexp/LICENSE create mode 100644 node_modules/path-to-regexp/Readme.md create mode 100644 node_modules/path-to-regexp/index.js create mode 100644 node_modules/path-to-regexp/package.json create mode 100644 node_modules/proxy-addr/HISTORY.md create mode 100644 node_modules/proxy-addr/LICENSE create mode 100644 node_modules/proxy-addr/README.md create mode 100644 node_modules/proxy-addr/index.js create mode 100644 node_modules/proxy-addr/package.json create mode 100644 node_modules/qs/.editorconfig create mode 100644 node_modules/qs/.github/FUNDING.yml create mode 100644 node_modules/qs/.github/SECURITY.md create mode 100644 node_modules/qs/.github/THREAT_MODEL.md create mode 100644 node_modules/qs/.nycrc create mode 100644 node_modules/qs/CHANGELOG.md create mode 100644 node_modules/qs/LICENSE.md create mode 100644 node_modules/qs/README.md create mode 100644 node_modules/qs/dist/qs.js create mode 100644 node_modules/qs/eslint.config.mjs create mode 100644 node_modules/qs/lib/formats.js create mode 100644 node_modules/qs/lib/index.js create mode 100644 node_modules/qs/lib/parse.js create mode 100644 node_modules/qs/lib/stringify.js create mode 100644 node_modules/qs/lib/utils.js create mode 100644 node_modules/qs/package.json create mode 100644 node_modules/qs/test/empty-keys-cases.js create mode 100644 node_modules/qs/test/parse.js create mode 100644 node_modules/qs/test/stringify.js create mode 100644 node_modules/qs/test/utils.js create mode 100644 node_modules/range-parser/HISTORY.md create mode 100644 node_modules/range-parser/LICENSE create mode 100644 node_modules/range-parser/README.md create mode 100644 node_modules/range-parser/index.js create mode 100644 node_modules/range-parser/package.json create mode 100644 node_modules/raw-body/LICENSE create mode 100644 node_modules/raw-body/README.md create mode 100644 node_modules/raw-body/index.d.ts create mode 100644 node_modules/raw-body/index.js create mode 100644 node_modules/raw-body/package.json create mode 100644 node_modules/readable-stream/CONTRIBUTING.md create mode 100644 node_modules/readable-stream/GOVERNANCE.md create mode 100644 node_modules/readable-stream/LICENSE create mode 100644 node_modules/readable-stream/README.md create mode 100644 node_modules/readable-stream/errors-browser.js create mode 100644 node_modules/readable-stream/errors.js create mode 100644 node_modules/readable-stream/experimentalWarning.js create mode 100644 node_modules/readable-stream/lib/_stream_duplex.js create mode 100644 node_modules/readable-stream/lib/_stream_passthrough.js create mode 100644 node_modules/readable-stream/lib/_stream_readable.js create mode 100644 node_modules/readable-stream/lib/_stream_transform.js create mode 100644 node_modules/readable-stream/lib/_stream_writable.js create mode 100644 node_modules/readable-stream/lib/internal/streams/async_iterator.js create mode 100644 node_modules/readable-stream/lib/internal/streams/buffer_list.js create mode 100644 node_modules/readable-stream/lib/internal/streams/destroy.js create mode 100644 node_modules/readable-stream/lib/internal/streams/end-of-stream.js create mode 100644 node_modules/readable-stream/lib/internal/streams/from-browser.js create mode 100644 node_modules/readable-stream/lib/internal/streams/from.js create mode 100644 node_modules/readable-stream/lib/internal/streams/pipeline.js create mode 100644 node_modules/readable-stream/lib/internal/streams/state.js create mode 100644 node_modules/readable-stream/lib/internal/streams/stream-browser.js create mode 100644 node_modules/readable-stream/lib/internal/streams/stream.js create mode 100644 node_modules/readable-stream/package.json create mode 100644 node_modules/readable-stream/readable-browser.js create mode 100644 node_modules/readable-stream/readable.js create mode 100644 node_modules/redis-errors/.npmignore create mode 100644 node_modules/redis-errors/LICENSE create mode 100644 node_modules/redis-errors/README.md create mode 100644 node_modules/redis-errors/index.js create mode 100644 node_modules/redis-errors/lib/modern.js create mode 100644 node_modules/redis-errors/lib/old.js create mode 100644 node_modules/redis-errors/package.json create mode 100644 node_modules/redis-parser/.npmignore create mode 100644 node_modules/redis-parser/LICENSE create mode 100644 node_modules/redis-parser/README.md create mode 100644 node_modules/redis-parser/changelog.md create mode 100644 node_modules/redis-parser/index.js create mode 100644 node_modules/redis-parser/lib/parser.js create mode 100644 node_modules/redis-parser/package.json create mode 100644 node_modules/safe-buffer/LICENSE create mode 100644 node_modules/safe-buffer/README.md create mode 100644 node_modules/safe-buffer/index.d.ts create mode 100644 node_modules/safe-buffer/index.js create mode 100644 node_modules/safe-buffer/package.json create mode 100644 node_modules/safe-stable-stringify/LICENSE create mode 100644 node_modules/safe-stable-stringify/esm/package.json create mode 100644 node_modules/safe-stable-stringify/esm/wrapper.d.ts create mode 100644 node_modules/safe-stable-stringify/esm/wrapper.js create mode 100644 node_modules/safe-stable-stringify/index.d.ts create mode 100644 node_modules/safe-stable-stringify/index.js create mode 100644 node_modules/safe-stable-stringify/package.json create mode 100644 node_modules/safe-stable-stringify/readme.md create mode 100644 node_modules/safer-buffer/LICENSE create mode 100644 node_modules/safer-buffer/Porting-Buffer.md create mode 100644 node_modules/safer-buffer/Readme.md create mode 100644 node_modules/safer-buffer/dangerous.js create mode 100644 node_modules/safer-buffer/package.json create mode 100644 node_modules/safer-buffer/safer.js create mode 100644 node_modules/safer-buffer/tests.js create mode 100644 node_modules/send/HISTORY.md create mode 100644 node_modules/send/LICENSE create mode 100644 node_modules/send/README.md create mode 100644 node_modules/send/SECURITY.md create mode 100644 node_modules/send/index.js create mode 100644 node_modules/send/node_modules/ms/index.js create mode 100644 node_modules/send/node_modules/ms/license.md create mode 100644 node_modules/send/node_modules/ms/package.json create mode 100644 node_modules/send/node_modules/ms/readme.md create mode 100644 node_modules/send/package.json create mode 100644 node_modules/serve-static/HISTORY.md create mode 100644 node_modules/serve-static/LICENSE create mode 100644 node_modules/serve-static/README.md create mode 100644 node_modules/serve-static/index.js create mode 100644 node_modules/serve-static/package.json create mode 100644 node_modules/setprototypeof/LICENSE create mode 100644 node_modules/setprototypeof/README.md create mode 100644 node_modules/setprototypeof/index.d.ts create mode 100644 node_modules/setprototypeof/index.js create mode 100644 node_modules/setprototypeof/package.json create mode 100644 node_modules/setprototypeof/test/index.js create mode 100644 node_modules/side-channel-list/.editorconfig create mode 100644 node_modules/side-channel-list/.eslintrc create mode 100644 node_modules/side-channel-list/.github/FUNDING.yml create mode 100644 node_modules/side-channel-list/.nycrc create mode 100644 node_modules/side-channel-list/CHANGELOG.md create mode 100644 node_modules/side-channel-list/LICENSE create mode 100644 node_modules/side-channel-list/README.md create mode 100644 node_modules/side-channel-list/index.d.ts create mode 100644 node_modules/side-channel-list/index.js create mode 100644 node_modules/side-channel-list/list.d.ts create mode 100644 node_modules/side-channel-list/package.json create mode 100644 node_modules/side-channel-list/test/index.js create mode 100644 node_modules/side-channel-list/tsconfig.json create mode 100644 node_modules/side-channel-map/.editorconfig create mode 100644 node_modules/side-channel-map/.eslintrc create mode 100644 node_modules/side-channel-map/.github/FUNDING.yml create mode 100644 node_modules/side-channel-map/.nycrc create mode 100644 node_modules/side-channel-map/CHANGELOG.md create mode 100644 node_modules/side-channel-map/LICENSE create mode 100644 node_modules/side-channel-map/README.md create mode 100644 node_modules/side-channel-map/index.d.ts create mode 100644 node_modules/side-channel-map/index.js create mode 100644 node_modules/side-channel-map/package.json create mode 100644 node_modules/side-channel-map/test/index.js create mode 100644 node_modules/side-channel-map/tsconfig.json create mode 100644 node_modules/side-channel-weakmap/.editorconfig create mode 100644 node_modules/side-channel-weakmap/.eslintrc create mode 100644 node_modules/side-channel-weakmap/.github/FUNDING.yml create mode 100644 node_modules/side-channel-weakmap/.nycrc create mode 100644 node_modules/side-channel-weakmap/CHANGELOG.md create mode 100644 node_modules/side-channel-weakmap/LICENSE create mode 100644 node_modules/side-channel-weakmap/README.md create mode 100644 node_modules/side-channel-weakmap/index.d.ts create mode 100644 node_modules/side-channel-weakmap/index.js create mode 100644 node_modules/side-channel-weakmap/package.json create mode 100644 node_modules/side-channel-weakmap/test/index.js create mode 100644 node_modules/side-channel-weakmap/tsconfig.json create mode 100644 node_modules/side-channel/.editorconfig create mode 100644 node_modules/side-channel/.eslintrc create mode 100644 node_modules/side-channel/.github/FUNDING.yml create mode 100644 node_modules/side-channel/.nycrc create mode 100644 node_modules/side-channel/CHANGELOG.md create mode 100644 node_modules/side-channel/LICENSE create mode 100644 node_modules/side-channel/README.md create mode 100644 node_modules/side-channel/index.d.ts create mode 100644 node_modules/side-channel/index.js create mode 100644 node_modules/side-channel/package.json create mode 100644 node_modules/side-channel/test/index.js create mode 100644 node_modules/side-channel/tsconfig.json create mode 100644 node_modules/stack-trace/.npmignore create mode 100644 node_modules/stack-trace/License create mode 100644 node_modules/stack-trace/Makefile create mode 100644 node_modules/stack-trace/Readme.md create mode 100644 node_modules/stack-trace/lib/stack-trace.js create mode 100644 node_modules/stack-trace/package.json create mode 100644 node_modules/standard-as-callback/LICENSE create mode 100644 node_modules/standard-as-callback/README.md create mode 100644 node_modules/standard-as-callback/built/index.d.ts create mode 100644 node_modules/standard-as-callback/built/index.js create mode 100644 node_modules/standard-as-callback/built/types.d.ts create mode 100644 node_modules/standard-as-callback/built/types.js create mode 100644 node_modules/standard-as-callback/built/utils.d.ts create mode 100644 node_modules/standard-as-callback/built/utils.js create mode 100644 node_modules/standard-as-callback/package.json create mode 100644 node_modules/statuses/HISTORY.md create mode 100644 node_modules/statuses/LICENSE create mode 100644 node_modules/statuses/README.md create mode 100644 node_modules/statuses/codes.json create mode 100644 node_modules/statuses/index.js create mode 100644 node_modules/statuses/package.json create mode 100644 node_modules/string_decoder/LICENSE create mode 100644 node_modules/string_decoder/README.md create mode 100644 node_modules/string_decoder/lib/string_decoder.js create mode 100644 node_modules/string_decoder/package.json create mode 100644 node_modules/strnum/.github/SECURITY.md create mode 100644 node_modules/strnum/.vscode/launch.json create mode 100644 node_modules/strnum/CHANGELOG.md create mode 100644 node_modules/strnum/LICENSE create mode 100644 node_modules/strnum/README.md create mode 100644 node_modules/strnum/algo.stflow create mode 100644 node_modules/strnum/package.json create mode 100644 node_modules/strnum/strnum.js create mode 100644 node_modules/strnum/tests/infinity_test.js create mode 100644 node_modules/strnum/tests/strnum_test.js create mode 100644 node_modules/strnum/tests/temp.js create mode 100644 node_modules/text-hex/LICENSE create mode 100644 node_modules/text-hex/README.md create mode 100644 node_modules/text-hex/index.js create mode 100644 node_modules/text-hex/package.json create mode 100644 node_modules/text-hex/test.js create mode 100644 node_modules/toidentifier/HISTORY.md create mode 100644 node_modules/toidentifier/LICENSE create mode 100644 node_modules/toidentifier/README.md create mode 100644 node_modules/toidentifier/index.js create mode 100644 node_modules/toidentifier/package.json create mode 100644 node_modules/triple-beam/.nyc_output/c579bf8f-6820-47a5-b2da-a11267eb8435.json create mode 100644 node_modules/triple-beam/.nyc_output/processinfo/c579bf8f-6820-47a5-b2da-a11267eb8435.json create mode 100644 node_modules/triple-beam/.nyc_output/processinfo/index.json create mode 100644 node_modules/triple-beam/CHANGELOG.md create mode 100644 node_modules/triple-beam/LICENSE create mode 100644 node_modules/triple-beam/README.md create mode 100644 node_modules/triple-beam/config/cli.js create mode 100644 node_modules/triple-beam/config/index.js create mode 100644 node_modules/triple-beam/config/npm.js create mode 100644 node_modules/triple-beam/config/syslog.js create mode 100644 node_modules/triple-beam/index.js create mode 100644 node_modules/triple-beam/package.json create mode 100644 node_modules/tslib/CopyrightNotice.txt create mode 100644 node_modules/tslib/LICENSE.txt create mode 100644 node_modules/tslib/README.md create mode 100644 node_modules/tslib/SECURITY.md create mode 100644 node_modules/tslib/modules/index.d.ts create mode 100644 node_modules/tslib/modules/index.js create mode 100644 node_modules/tslib/modules/package.json create mode 100644 node_modules/tslib/package.json create mode 100644 node_modules/tslib/tslib.d.ts create mode 100644 node_modules/tslib/tslib.es6.html create mode 100644 node_modules/tslib/tslib.es6.js create mode 100644 node_modules/tslib/tslib.es6.mjs create mode 100644 node_modules/tslib/tslib.html create mode 100644 node_modules/tslib/tslib.js create mode 100644 node_modules/type-is/HISTORY.md create mode 100644 node_modules/type-is/LICENSE create mode 100644 node_modules/type-is/README.md create mode 100644 node_modules/type-is/index.js create mode 100644 node_modules/type-is/package.json create mode 100644 node_modules/unpipe/HISTORY.md create mode 100644 node_modules/unpipe/LICENSE create mode 100644 node_modules/unpipe/README.md create mode 100644 node_modules/unpipe/index.js create mode 100644 node_modules/unpipe/package.json create mode 100644 node_modules/util-deprecate/History.md create mode 100644 node_modules/util-deprecate/LICENSE create mode 100644 node_modules/util-deprecate/README.md create mode 100644 node_modules/util-deprecate/browser.js create mode 100644 node_modules/util-deprecate/node.js create mode 100644 node_modules/util-deprecate/package.json create mode 100644 node_modules/utils-merge/.npmignore create mode 100644 node_modules/utils-merge/LICENSE create mode 100644 node_modules/utils-merge/README.md create mode 100644 node_modules/utils-merge/index.js create mode 100644 node_modules/utils-merge/package.json create mode 100644 node_modules/vary/HISTORY.md create mode 100644 node_modules/vary/LICENSE create mode 100644 node_modules/vary/README.md create mode 100644 node_modules/vary/index.js create mode 100644 node_modules/vary/package.json create mode 100644 node_modules/which/CHANGELOG.md create mode 100644 node_modules/which/LICENSE create mode 100644 node_modules/which/README.md create mode 100644 node_modules/which/bin/which create mode 100644 node_modules/which/package.json create mode 100644 node_modules/which/which.js create mode 100644 node_modules/winston-daily-rotate-file/LICENSE create mode 100644 node_modules/winston-daily-rotate-file/README.md create mode 100644 node_modules/winston-daily-rotate-file/daily-rotate-file.js create mode 100644 node_modules/winston-daily-rotate-file/index.d.ts create mode 100644 node_modules/winston-daily-rotate-file/index.js create mode 100644 node_modules/winston-daily-rotate-file/package.json create mode 100644 node_modules/winston-transport/.babelrc create mode 100644 node_modules/winston-transport/.eslintrc create mode 100644 node_modules/winston-transport/.gitattributes create mode 100644 node_modules/winston-transport/.nyc_output/68e78020-c804-4f37-a68a-a967c6380da9.json create mode 100644 node_modules/winston-transport/.nyc_output/processinfo/68e78020-c804-4f37-a68a-a967c6380da9.json create mode 100644 node_modules/winston-transport/.nyc_output/processinfo/index.json create mode 100644 node_modules/winston-transport/CHANGELOG.md create mode 100644 node_modules/winston-transport/LICENSE create mode 100644 node_modules/winston-transport/README.md create mode 100644 node_modules/winston-transport/dist/index.js create mode 100644 node_modules/winston-transport/dist/legacy.js create mode 100644 node_modules/winston-transport/dist/modern.js create mode 100644 node_modules/winston-transport/index.d.ts create mode 100644 node_modules/winston-transport/index.js create mode 100644 node_modules/winston-transport/legacy.js create mode 100644 node_modules/winston-transport/modern.js create mode 100644 node_modules/winston-transport/package.json create mode 100644 node_modules/winston/LICENSE create mode 100644 node_modules/winston/README.md create mode 100644 node_modules/winston/dist/winston.js create mode 100644 node_modules/winston/dist/winston/common.js create mode 100644 node_modules/winston/dist/winston/config/index.js create mode 100644 node_modules/winston/dist/winston/container.js create mode 100644 node_modules/winston/dist/winston/create-logger.js create mode 100644 node_modules/winston/dist/winston/exception-handler.js create mode 100644 node_modules/winston/dist/winston/exception-stream.js create mode 100644 node_modules/winston/dist/winston/logger.js create mode 100644 node_modules/winston/dist/winston/profiler.js create mode 100644 node_modules/winston/dist/winston/rejection-handler.js create mode 100644 node_modules/winston/dist/winston/rejection-stream.js create mode 100644 node_modules/winston/dist/winston/tail-file.js create mode 100644 node_modules/winston/dist/winston/transports/console.js create mode 100644 node_modules/winston/dist/winston/transports/file.js create mode 100644 node_modules/winston/dist/winston/transports/http.js create mode 100644 node_modules/winston/dist/winston/transports/index.js create mode 100644 node_modules/winston/dist/winston/transports/stream.js create mode 100644 node_modules/winston/index.d.ts create mode 100644 node_modules/winston/lib/winston.js create mode 100644 node_modules/winston/lib/winston/common.js create mode 100644 node_modules/winston/lib/winston/config/index.d.ts create mode 100644 node_modules/winston/lib/winston/config/index.js create mode 100644 node_modules/winston/lib/winston/container.js create mode 100644 node_modules/winston/lib/winston/create-logger.js create mode 100644 node_modules/winston/lib/winston/exception-handler.js create mode 100644 node_modules/winston/lib/winston/exception-stream.js create mode 100644 node_modules/winston/lib/winston/logger.js create mode 100644 node_modules/winston/lib/winston/profiler.js create mode 100644 node_modules/winston/lib/winston/rejection-handler.js create mode 100644 node_modules/winston/lib/winston/rejection-stream.js create mode 100644 node_modules/winston/lib/winston/tail-file.js create mode 100644 node_modules/winston/lib/winston/transports/console.js create mode 100644 node_modules/winston/lib/winston/transports/file.js create mode 100644 node_modules/winston/lib/winston/transports/http.js create mode 100644 node_modules/winston/lib/winston/transports/index.d.ts create mode 100644 node_modules/winston/lib/winston/transports/index.js create mode 100644 node_modules/winston/lib/winston/transports/stream.js create mode 100644 node_modules/winston/node_modules/async/CHANGELOG.md create mode 100644 node_modules/winston/node_modules/async/LICENSE create mode 100644 node_modules/winston/node_modules/async/README.md create mode 100644 node_modules/winston/node_modules/async/all.js create mode 100644 node_modules/winston/node_modules/async/allLimit.js create mode 100644 node_modules/winston/node_modules/async/allSeries.js create mode 100644 node_modules/winston/node_modules/async/any.js create mode 100644 node_modules/winston/node_modules/async/anyLimit.js create mode 100644 node_modules/winston/node_modules/async/anySeries.js create mode 100644 node_modules/winston/node_modules/async/apply.js create mode 100644 node_modules/winston/node_modules/async/applyEach.js create mode 100644 node_modules/winston/node_modules/async/applyEachSeries.js create mode 100644 node_modules/winston/node_modules/async/asyncify.js create mode 100644 node_modules/winston/node_modules/async/auto.js create mode 100644 node_modules/winston/node_modules/async/autoInject.js create mode 100644 node_modules/winston/node_modules/async/bower.json create mode 100644 node_modules/winston/node_modules/async/cargo.js create mode 100644 node_modules/winston/node_modules/async/cargoQueue.js create mode 100644 node_modules/winston/node_modules/async/compose.js create mode 100644 node_modules/winston/node_modules/async/concat.js create mode 100644 node_modules/winston/node_modules/async/concatLimit.js create mode 100644 node_modules/winston/node_modules/async/concatSeries.js create mode 100644 node_modules/winston/node_modules/async/constant.js create mode 100644 node_modules/winston/node_modules/async/detect.js create mode 100644 node_modules/winston/node_modules/async/detectLimit.js create mode 100644 node_modules/winston/node_modules/async/detectSeries.js create mode 100644 node_modules/winston/node_modules/async/dir.js create mode 100644 node_modules/winston/node_modules/async/dist/async.js create mode 100644 node_modules/winston/node_modules/async/dist/async.min.js create mode 100644 node_modules/winston/node_modules/async/dist/async.mjs create mode 100644 node_modules/winston/node_modules/async/doDuring.js create mode 100644 node_modules/winston/node_modules/async/doUntil.js create mode 100644 node_modules/winston/node_modules/async/doWhilst.js create mode 100644 node_modules/winston/node_modules/async/during.js create mode 100644 node_modules/winston/node_modules/async/each.js create mode 100644 node_modules/winston/node_modules/async/eachLimit.js create mode 100644 node_modules/winston/node_modules/async/eachOf.js create mode 100644 node_modules/winston/node_modules/async/eachOfLimit.js create mode 100644 node_modules/winston/node_modules/async/eachOfSeries.js create mode 100644 node_modules/winston/node_modules/async/eachSeries.js create mode 100644 node_modules/winston/node_modules/async/ensureAsync.js create mode 100644 node_modules/winston/node_modules/async/every.js create mode 100644 node_modules/winston/node_modules/async/everyLimit.js create mode 100644 node_modules/winston/node_modules/async/everySeries.js create mode 100644 node_modules/winston/node_modules/async/filter.js create mode 100644 node_modules/winston/node_modules/async/filterLimit.js create mode 100644 node_modules/winston/node_modules/async/filterSeries.js create mode 100644 node_modules/winston/node_modules/async/find.js create mode 100644 node_modules/winston/node_modules/async/findLimit.js create mode 100644 node_modules/winston/node_modules/async/findSeries.js create mode 100644 node_modules/winston/node_modules/async/flatMap.js create mode 100644 node_modules/winston/node_modules/async/flatMapLimit.js create mode 100644 node_modules/winston/node_modules/async/flatMapSeries.js create mode 100644 node_modules/winston/node_modules/async/foldl.js create mode 100644 node_modules/winston/node_modules/async/foldr.js create mode 100644 node_modules/winston/node_modules/async/forEach.js create mode 100644 node_modules/winston/node_modules/async/forEachLimit.js create mode 100644 node_modules/winston/node_modules/async/forEachOf.js create mode 100644 node_modules/winston/node_modules/async/forEachOfLimit.js create mode 100644 node_modules/winston/node_modules/async/forEachOfSeries.js create mode 100644 node_modules/winston/node_modules/async/forEachSeries.js create mode 100644 node_modules/winston/node_modules/async/forever.js create mode 100644 node_modules/winston/node_modules/async/groupBy.js create mode 100644 node_modules/winston/node_modules/async/groupByLimit.js create mode 100644 node_modules/winston/node_modules/async/groupBySeries.js create mode 100644 node_modules/winston/node_modules/async/index.js create mode 100644 node_modules/winston/node_modules/async/inject.js create mode 100644 node_modules/winston/node_modules/async/internal/DoublyLinkedList.js create mode 100644 node_modules/winston/node_modules/async/internal/Heap.js create mode 100644 node_modules/winston/node_modules/async/internal/applyEach.js create mode 100644 node_modules/winston/node_modules/async/internal/asyncEachOfLimit.js create mode 100644 node_modules/winston/node_modules/async/internal/awaitify.js create mode 100644 node_modules/winston/node_modules/async/internal/breakLoop.js create mode 100644 node_modules/winston/node_modules/async/internal/consoleFunc.js create mode 100644 node_modules/winston/node_modules/async/internal/createTester.js create mode 100644 node_modules/winston/node_modules/async/internal/eachOfLimit.js create mode 100644 node_modules/winston/node_modules/async/internal/filter.js create mode 100644 node_modules/winston/node_modules/async/internal/getIterator.js create mode 100644 node_modules/winston/node_modules/async/internal/initialParams.js create mode 100644 node_modules/winston/node_modules/async/internal/isArrayLike.js create mode 100644 node_modules/winston/node_modules/async/internal/iterator.js create mode 100644 node_modules/winston/node_modules/async/internal/map.js create mode 100644 node_modules/winston/node_modules/async/internal/once.js create mode 100644 node_modules/winston/node_modules/async/internal/onlyOnce.js create mode 100644 node_modules/winston/node_modules/async/internal/parallel.js create mode 100644 node_modules/winston/node_modules/async/internal/promiseCallback.js create mode 100644 node_modules/winston/node_modules/async/internal/queue.js create mode 100644 node_modules/winston/node_modules/async/internal/range.js create mode 100644 node_modules/winston/node_modules/async/internal/reject.js create mode 100644 node_modules/winston/node_modules/async/internal/setImmediate.js create mode 100644 node_modules/winston/node_modules/async/internal/withoutIndex.js create mode 100644 node_modules/winston/node_modules/async/internal/wrapAsync.js create mode 100644 node_modules/winston/node_modules/async/log.js create mode 100644 node_modules/winston/node_modules/async/map.js create mode 100644 node_modules/winston/node_modules/async/mapLimit.js create mode 100644 node_modules/winston/node_modules/async/mapSeries.js create mode 100644 node_modules/winston/node_modules/async/mapValues.js create mode 100644 node_modules/winston/node_modules/async/mapValuesLimit.js create mode 100644 node_modules/winston/node_modules/async/mapValuesSeries.js create mode 100644 node_modules/winston/node_modules/async/memoize.js create mode 100644 node_modules/winston/node_modules/async/nextTick.js create mode 100644 node_modules/winston/node_modules/async/package.json create mode 100644 node_modules/winston/node_modules/async/parallel.js create mode 100644 node_modules/winston/node_modules/async/parallelLimit.js create mode 100644 node_modules/winston/node_modules/async/priorityQueue.js create mode 100644 node_modules/winston/node_modules/async/queue.js create mode 100644 node_modules/winston/node_modules/async/race.js create mode 100644 node_modules/winston/node_modules/async/reduce.js create mode 100644 node_modules/winston/node_modules/async/reduceRight.js create mode 100644 node_modules/winston/node_modules/async/reflect.js create mode 100644 node_modules/winston/node_modules/async/reflectAll.js create mode 100644 node_modules/winston/node_modules/async/reject.js create mode 100644 node_modules/winston/node_modules/async/rejectLimit.js create mode 100644 node_modules/winston/node_modules/async/rejectSeries.js create mode 100644 node_modules/winston/node_modules/async/retry.js create mode 100644 node_modules/winston/node_modules/async/retryable.js create mode 100644 node_modules/winston/node_modules/async/select.js create mode 100644 node_modules/winston/node_modules/async/selectLimit.js create mode 100644 node_modules/winston/node_modules/async/selectSeries.js create mode 100644 node_modules/winston/node_modules/async/seq.js create mode 100644 node_modules/winston/node_modules/async/series.js create mode 100644 node_modules/winston/node_modules/async/setImmediate.js create mode 100644 node_modules/winston/node_modules/async/some.js create mode 100644 node_modules/winston/node_modules/async/someLimit.js create mode 100644 node_modules/winston/node_modules/async/someSeries.js create mode 100644 node_modules/winston/node_modules/async/sortBy.js create mode 100644 node_modules/winston/node_modules/async/timeout.js create mode 100644 node_modules/winston/node_modules/async/times.js create mode 100644 node_modules/winston/node_modules/async/timesLimit.js create mode 100644 node_modules/winston/node_modules/async/timesSeries.js create mode 100644 node_modules/winston/node_modules/async/transform.js create mode 100644 node_modules/winston/node_modules/async/tryEach.js create mode 100644 node_modules/winston/node_modules/async/unmemoize.js create mode 100644 node_modules/winston/node_modules/async/until.js create mode 100644 node_modules/winston/node_modules/async/waterfall.js create mode 100644 node_modules/winston/node_modules/async/whilst.js create mode 100644 node_modules/winston/node_modules/async/wrapSync.js create mode 100644 node_modules/winston/package.json create mode 100644 node_modules/ws/LICENSE create mode 100644 node_modules/ws/README.md create mode 100644 node_modules/ws/browser.js create mode 100644 node_modules/ws/index.js create mode 100644 node_modules/ws/lib/buffer-util.js create mode 100644 node_modules/ws/lib/constants.js create mode 100644 node_modules/ws/lib/event-target.js create mode 100644 node_modules/ws/lib/extension.js create mode 100644 node_modules/ws/lib/limiter.js create mode 100644 node_modules/ws/lib/permessage-deflate.js create mode 100644 node_modules/ws/lib/receiver.js create mode 100644 node_modules/ws/lib/sender.js create mode 100644 node_modules/ws/lib/stream.js create mode 100644 node_modules/ws/lib/subprotocol.js create mode 100644 node_modules/ws/lib/validation.js create mode 100644 node_modules/ws/lib/websocket-server.js create mode 100644 node_modules/ws/lib/websocket.js create mode 100644 node_modules/ws/package.json create mode 100644 node_modules/ws/wrapper.mjs create mode 100644 package-lock.json diff --git a/ecosystem.config.js b/ecosystem.config.js deleted file mode 100644 index 6071f5e..0000000 --- a/ecosystem.config.js +++ /dev/null @@ -1,17 +0,0 @@ -module.exports = { - apps: [ - { - name: 'media-coding-web', - script: './server.js', - cwd: __dirname, - env_file: '.env', - instances: 1, - autorestart: true, - watch: false, - max_memory_restart: '512M', - env: { - NODE_ENV: 'production' - } - } - ] -}; diff --git a/node_modules/.bin/fxparser b/node_modules/.bin/fxparser new file mode 100644 index 0000000..c722e41 --- /dev/null +++ b/node_modules/.bin/fxparser @@ -0,0 +1,16 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../fast-xml-parser/src/cli/cli.js" "$@" +else + exec node "$basedir/../fast-xml-parser/src/cli/cli.js" "$@" +fi diff --git a/node_modules/.bin/fxparser.cmd b/node_modules/.bin/fxparser.cmd new file mode 100644 index 0000000..043b763 --- /dev/null +++ b/node_modules/.bin/fxparser.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\fast-xml-parser\src\cli\cli.js" %* diff --git a/node_modules/.bin/fxparser.ps1 b/node_modules/.bin/fxparser.ps1 new file mode 100644 index 0000000..3e7252a --- /dev/null +++ b/node_modules/.bin/fxparser.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../fast-xml-parser/src/cli/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../fast-xml-parser/src/cli/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../fast-xml-parser/src/cli/cli.js" $args + } else { + & "node$exe" "$basedir/../fast-xml-parser/src/cli/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/mime b/node_modules/.bin/mime new file mode 100644 index 0000000..7751de3 --- /dev/null +++ b/node_modules/.bin/mime @@ -0,0 +1,16 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../mime/cli.js" "$@" +else + exec node "$basedir/../mime/cli.js" "$@" +fi diff --git a/node_modules/.bin/mime.cmd b/node_modules/.bin/mime.cmd new file mode 100644 index 0000000..54491f1 --- /dev/null +++ b/node_modules/.bin/mime.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\mime\cli.js" %* diff --git a/node_modules/.bin/mime.ps1 b/node_modules/.bin/mime.ps1 new file mode 100644 index 0000000..2222f40 --- /dev/null +++ b/node_modules/.bin/mime.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../mime/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../mime/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../mime/cli.js" $args + } else { + & "node$exe" "$basedir/../mime/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/which b/node_modules/.bin/which new file mode 100644 index 0000000..cf23e65 --- /dev/null +++ b/node_modules/.bin/which @@ -0,0 +1,16 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../which/bin/which" "$@" +else + exec node "$basedir/../which/bin/which" "$@" +fi diff --git a/node_modules/.bin/which.cmd b/node_modules/.bin/which.cmd new file mode 100644 index 0000000..ead37d6 --- /dev/null +++ b/node_modules/.bin/which.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\which\bin\which" %* diff --git a/node_modules/.bin/which.ps1 b/node_modules/.bin/which.ps1 new file mode 100644 index 0000000..1437a3b --- /dev/null +++ b/node_modules/.bin/which.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../which/bin/which" $args + } else { + & "$basedir/node$exe" "$basedir/../which/bin/which" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../which/bin/which" $args + } else { + & "node$exe" "$basedir/../which/bin/which" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json new file mode 100644 index 0000000..8f216f4 --- /dev/null +++ b/node_modules/.package-lock.json @@ -0,0 +1,3002 @@ +{ + "name": "media-coding-web", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "node_modules/@aws-crypto/crc32": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/crc32/-/crc32-5.2.0.tgz", + "integrity": "sha512-nLbCWqQNgUiwwtFsen1AdzAtvuLRsQS8rYgMuxCrdKf9kOssamGLuPwyTY9wyYblNr9+1XM8v6zoDTPPSIeANg==", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/util": "^5.2.0", + "@aws-sdk/types": "^3.222.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@aws-crypto/crc32c": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/crc32c/-/crc32c-5.2.0.tgz", + "integrity": "sha512-+iWb8qaHLYKrNvGRbiYRHSdKRWhto5XlZUEBwDjYNf+ly5SVYG6zEoYIdxvf5R3zyeP16w4PLBn3rH1xc74Rag==", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/util": "^5.2.0", + "@aws-sdk/types": "^3.222.0", + "tslib": "^2.6.2" + } + }, + "node_modules/@aws-crypto/sha1-browser": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/sha1-browser/-/sha1-browser-5.2.0.tgz", + "integrity": "sha512-OH6lveCFfcDjX4dbAvCFSYUjJZjDr/3XJ3xHtjn3Oj5b9RjojQo8npoLeA/bNwkOkrSQ0wgrHzXk4tDRxGKJeg==", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/supports-web-crypto": "^5.2.0", + "@aws-crypto/util": "^5.2.0", + "@aws-sdk/types": "^3.222.0", + "@aws-sdk/util-locate-window": "^3.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.6.2" + } + }, + "node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-2.2.0.tgz", + "integrity": "sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-2.2.0.tgz", + "integrity": "sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/is-array-buffer": "^2.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.3.0.tgz", + "integrity": "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^2.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-crypto/sha256-browser": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/sha256-browser/-/sha256-browser-5.2.0.tgz", + "integrity": "sha512-AXfN/lGotSQwu6HNcEsIASo7kWXZ5HYWvfOmSNKDsEqC4OashTp8alTmaz+F7TC2L083SFv5RdB+qU3Vs1kZqw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/sha256-js": "^5.2.0", + "@aws-crypto/supports-web-crypto": "^5.2.0", + "@aws-crypto/util": "^5.2.0", + "@aws-sdk/types": "^3.222.0", + "@aws-sdk/util-locate-window": "^3.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.6.2" + } + }, + "node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-2.2.0.tgz", + "integrity": "sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-2.2.0.tgz", + "integrity": "sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/is-array-buffer": "^2.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.3.0.tgz", + "integrity": "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^2.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-crypto/sha256-js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/sha256-js/-/sha256-js-5.2.0.tgz", + "integrity": "sha512-FFQQyu7edu4ufvIZ+OadFpHHOt+eSTBaYaki44c+akjg7qZg9oOQeLlk77F6tSYqjDAFClrHJk9tMf0HdVyOvA==", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/util": "^5.2.0", + "@aws-sdk/types": "^3.222.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@aws-crypto/supports-web-crypto": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/supports-web-crypto/-/supports-web-crypto-5.2.0.tgz", + "integrity": "sha512-iAvUotm021kM33eCdNfwIN//F77/IADDSs58i+MDaOqFrVjZo9bAal0NK7HurRuWLLpF1iLX7gbWrjHjeo+YFg==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + } + }, + "node_modules/@aws-crypto/util": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/util/-/util-5.2.0.tgz", + "integrity": "sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.222.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.6.2" + } + }, + "node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-2.2.0.tgz", + "integrity": "sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-2.2.0.tgz", + "integrity": "sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/is-array-buffer": "^2.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.3.0.tgz", + "integrity": "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^2.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3": { + "version": "3.1024.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.1024.0.tgz", + "integrity": "sha512-8qdO5aLCzaf9l0RdrSBW1iIroRKP2QBqtZ6lkrtHKiaaH0B18xEn+lrEgiN/eCf3uRAYk4cqbnI2XcWzm+7dDQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/sha1-browser": "5.2.0", + "@aws-crypto/sha256-browser": "5.2.0", + "@aws-crypto/sha256-js": "5.2.0", + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/credential-provider-node": "^3.972.29", + "@aws-sdk/middleware-bucket-endpoint": "^3.972.8", + "@aws-sdk/middleware-expect-continue": "^3.972.8", + "@aws-sdk/middleware-flexible-checksums": "^3.974.6", + "@aws-sdk/middleware-host-header": "^3.972.8", + "@aws-sdk/middleware-location-constraint": "^3.972.8", + "@aws-sdk/middleware-logger": "^3.972.8", + "@aws-sdk/middleware-recursion-detection": "^3.972.9", + "@aws-sdk/middleware-sdk-s3": "^3.972.27", + "@aws-sdk/middleware-ssec": "^3.972.8", + "@aws-sdk/middleware-user-agent": "^3.972.28", + "@aws-sdk/region-config-resolver": "^3.972.10", + "@aws-sdk/signature-v4-multi-region": "^3.996.15", + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/util-endpoints": "^3.996.5", + "@aws-sdk/util-user-agent-browser": "^3.972.8", + "@aws-sdk/util-user-agent-node": "^3.973.14", + "@smithy/config-resolver": "^4.4.13", + "@smithy/core": "^3.23.13", + "@smithy/eventstream-serde-browser": "^4.2.12", + "@smithy/eventstream-serde-config-resolver": "^4.3.12", + "@smithy/eventstream-serde-node": "^4.2.12", + "@smithy/fetch-http-handler": "^5.3.15", + "@smithy/hash-blob-browser": "^4.2.13", + "@smithy/hash-node": "^4.2.12", + "@smithy/hash-stream-node": "^4.2.12", + "@smithy/invalid-dependency": "^4.2.12", + "@smithy/md5-js": "^4.2.12", + "@smithy/middleware-content-length": "^4.2.12", + "@smithy/middleware-endpoint": "^4.4.28", + "@smithy/middleware-retry": "^4.4.46", + "@smithy/middleware-serde": "^4.2.16", + "@smithy/middleware-stack": "^4.2.12", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/node-http-handler": "^4.5.1", + "@smithy/protocol-http": "^5.3.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "@smithy/url-parser": "^4.2.12", + "@smithy/util-base64": "^4.3.2", + "@smithy/util-body-length-browser": "^4.2.2", + "@smithy/util-body-length-node": "^4.2.3", + "@smithy/util-defaults-mode-browser": "^4.3.44", + "@smithy/util-defaults-mode-node": "^4.2.48", + "@smithy/util-endpoints": "^3.3.3", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-retry": "^4.2.13", + "@smithy/util-stream": "^4.5.21", + "@smithy/util-utf8": "^4.2.2", + "@smithy/util-waiter": "^4.2.14", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/core": { + "version": "3.973.26", + "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.973.26.tgz", + "integrity": "sha512-A/E6n2W42ruU+sfWk+mMUOyVXbsSgGrY3MJ9/0Az5qUdG67y8I6HYzzoAa+e/lzxxl1uCYmEL6BTMi9ZiZnplQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/xml-builder": "^3.972.16", + "@smithy/core": "^3.23.13", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/property-provider": "^4.2.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/signature-v4": "^5.3.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "@smithy/util-base64": "^4.3.2", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/crc64-nvme": { + "version": "3.972.5", + "resolved": "https://registry.npmjs.org/@aws-sdk/crc64-nvme/-/crc64-nvme-3.972.5.tgz", + "integrity": "sha512-2VbTstbjKdT+yKi8m7b3a9CiVac+pL/IY2PHJwsaGkkHmuuqkJZIErPck1h6P3T9ghQMLSdMPyW6Qp7Di5swFg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-env": { + "version": "3.972.24", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.24.tgz", + "integrity": "sha512-FWg8uFmT6vQM7VuzELzwVo5bzExGaKHdubn0StjgrcU5FvuLExUe+k06kn/40uKv59rYzhez8eFNM4yYE/Yb/w==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/types": "^3.973.6", + "@smithy/property-provider": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-http": { + "version": "3.972.26", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.26.tgz", + "integrity": "sha512-CY4ppZ+qHYqcXqBVi//sdHST1QK3KzOEiLtpLsc9W2k2vfZPKExGaQIsOwcyvjpjUEolotitmd3mUNY56IwDEA==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/types": "^3.973.6", + "@smithy/fetch-http-handler": "^5.3.15", + "@smithy/node-http-handler": "^4.5.1", + "@smithy/property-provider": "^4.2.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "@smithy/util-stream": "^4.5.21", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini": { + "version": "3.972.28", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.972.28.tgz", + "integrity": "sha512-wXYvq3+uQcZV7k+bE4yDXCTBdzWTU9x/nMiKBfzInmv6yYK1veMK0AKvRfRBd72nGWYKcL6AxwiPg9z/pYlgpw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/credential-provider-env": "^3.972.24", + "@aws-sdk/credential-provider-http": "^3.972.26", + "@aws-sdk/credential-provider-login": "^3.972.28", + "@aws-sdk/credential-provider-process": "^3.972.24", + "@aws-sdk/credential-provider-sso": "^3.972.28", + "@aws-sdk/credential-provider-web-identity": "^3.972.28", + "@aws-sdk/nested-clients": "^3.996.18", + "@aws-sdk/types": "^3.973.6", + "@smithy/credential-provider-imds": "^4.2.12", + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-login": { + "version": "3.972.28", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.28.tgz", + "integrity": "sha512-ZSTfO6jqUTCysbdBPtEX5OUR//3rbD0lN7jO3sQeS2Gjr/Y+DT6SbIJ0oT2cemNw3UzKu97sNONd1CwNMthuZQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/nested-clients": "^3.996.18", + "@aws-sdk/types": "^3.973.6", + "@smithy/property-provider": "^4.2.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-node": { + "version": "3.972.29", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.29.tgz", + "integrity": "sha512-clSzDcvndpFJAggLDnDb36sPdlZYyEs5Zm6zgZjjUhwsJgSWiWKwFIXUVBcbruidNyBdbpOv2tNDL9sX8y3/0g==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/credential-provider-env": "^3.972.24", + "@aws-sdk/credential-provider-http": "^3.972.26", + "@aws-sdk/credential-provider-ini": "^3.972.28", + "@aws-sdk/credential-provider-process": "^3.972.24", + "@aws-sdk/credential-provider-sso": "^3.972.28", + "@aws-sdk/credential-provider-web-identity": "^3.972.28", + "@aws-sdk/types": "^3.973.6", + "@smithy/credential-provider-imds": "^4.2.12", + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-process": { + "version": "3.972.24", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.24.tgz", + "integrity": "sha512-Q2k/XLrFXhEztPHqj4SLCNID3hEPdlhh1CDLBpNnM+1L8fq7P+yON9/9M1IGN/dA5W45v44ylERfXtDAlmMNmw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/types": "^3.973.6", + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-sso": { + "version": "3.972.28", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.972.28.tgz", + "integrity": "sha512-IoUlmKMLEITFn1SiCTjPfR6KrE799FBo5baWyk/5Ppar2yXZoUdaRqZzJzK6TcJxx450M8m8DbpddRVYlp5R/A==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/nested-clients": "^3.996.18", + "@aws-sdk/token-providers": "3.1021.0", + "@aws-sdk/types": "^3.973.6", + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-web-identity": { + "version": "3.972.28", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.28.tgz", + "integrity": "sha512-d+6h0SD8GGERzKe27v5rOzNGKOl0D+l0bWJdqrxH8WSQzHzjsQFIAPgIeOTUwBHVsKKwtSxc91K/SWax6XgswQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/nested-clients": "^3.996.18", + "@aws-sdk/types": "^3.973.6", + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/middleware-bucket-endpoint": { + "version": "3.972.8", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.972.8.tgz", + "integrity": "sha512-WR525Rr2QJSETa9a050isktyWi/4yIGcmY3BQ1kpHqb0LqUglQHCS8R27dTJxxWNZvQ0RVGtEZjTCbZJpyF3Aw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/util-arn-parser": "^3.972.3", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-config-provider": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/middleware-expect-continue": { + "version": "3.972.8", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.972.8.tgz", + "integrity": "sha512-5DTBTiotEES1e2jOHAq//zyzCjeMB78lEHd35u15qnrid4Nxm7diqIf9fQQ3Ov0ChH1V3Vvt13thOnrACmfGVQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/middleware-flexible-checksums": { + "version": "3.974.6", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.974.6.tgz", + "integrity": "sha512-YckB8k1ejbyCg/g36gUMFLNzE4W5cERIa4MtsdO+wpTmJEP0+TB7okWIt7d8TDOvnb7SwvxJ21E4TGOBxFpSWQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/crc32": "5.2.0", + "@aws-crypto/crc32c": "5.2.0", + "@aws-crypto/util": "5.2.0", + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/crc64-nvme": "^3.972.5", + "@aws-sdk/types": "^3.973.6", + "@smithy/is-array-buffer": "^4.2.2", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-stream": "^4.5.21", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/middleware-host-header": { + "version": "3.972.8", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.972.8.tgz", + "integrity": "sha512-wAr2REfKsqoKQ+OkNqvOShnBoh+nkPurDKW7uAeVSu6kUECnWlSJiPvnoqxGlfousEY/v9LfS9sNc46hjSYDIQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/middleware-location-constraint": { + "version": "3.972.8", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.972.8.tgz", + "integrity": "sha512-KaUoFuoFPziIa98DSQsTPeke1gvGXlc5ZGMhy+b+nLxZ4A7jmJgLzjEF95l8aOQN2T/qlPP3MrAyELm8ExXucw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/middleware-logger": { + "version": "3.972.8", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.972.8.tgz", + "integrity": "sha512-CWl5UCM57WUFaFi5kB7IBY1UmOeLvNZAZ2/OZ5l20ldiJ3TiIz1pC65gYj8X0BCPWkeR1E32mpsCk1L1I4n+lA==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/middleware-recursion-detection": { + "version": "3.972.9", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.972.9.tgz", + "integrity": "sha512-/Wt5+CT8dpTFQxEJ9iGy/UGrXr7p2wlIOEHvIr/YcHYByzoLjrqkYqXdJjd9UIgWjv7eqV2HnFJen93UTuwfTQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@aws/lambda-invoke-store": "^0.2.2", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/middleware-sdk-s3": { + "version": "3.972.27", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.972.27.tgz", + "integrity": "sha512-gomO6DZwx+1D/9mbCpcqO5tPBqYBK7DtdgjTIjZ4yvfh/S7ETwAPS0XbJgP2JD8Ycr5CwVrEkV1sFtu3ShXeOw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/util-arn-parser": "^3.972.3", + "@smithy/core": "^3.23.13", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/signature-v4": "^5.3.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "@smithy/util-config-provider": "^4.2.2", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-stream": "^4.5.21", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/middleware-ssec": { + "version": "3.972.8", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-ssec/-/middleware-ssec-3.972.8.tgz", + "integrity": "sha512-wqlK0yO/TxEC2UsY9wIlqeeutF6jjLe0f96Pbm40XscTo57nImUk9lBcw0dPgsm0sppFtAkSlDrfpK+pC30Wqw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/middleware-user-agent": { + "version": "3.972.28", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.972.28.tgz", + "integrity": "sha512-cfWZFlVh7Va9lRay4PN2A9ARFzaBYcA097InT5M2CdRS05ECF5yaz86jET8Wsl2WcyKYEvVr/QNmKtYtafUHtQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/util-endpoints": "^3.996.5", + "@smithy/core": "^3.23.13", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-retry": "^4.2.13", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/nested-clients": { + "version": "3.996.18", + "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.996.18.tgz", + "integrity": "sha512-c7ZSIXrESxHKx2Mcopgd8AlzZgoXMr20fkx5ViPWPOLBvmyhw9VwJx/Govg8Ef/IhEon5R9l53Z8fdYSEmp6VA==", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/sha256-browser": "5.2.0", + "@aws-crypto/sha256-js": "5.2.0", + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/middleware-host-header": "^3.972.8", + "@aws-sdk/middleware-logger": "^3.972.8", + "@aws-sdk/middleware-recursion-detection": "^3.972.9", + "@aws-sdk/middleware-user-agent": "^3.972.28", + "@aws-sdk/region-config-resolver": "^3.972.10", + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/util-endpoints": "^3.996.5", + "@aws-sdk/util-user-agent-browser": "^3.972.8", + "@aws-sdk/util-user-agent-node": "^3.973.14", + "@smithy/config-resolver": "^4.4.13", + "@smithy/core": "^3.23.13", + "@smithy/fetch-http-handler": "^5.3.15", + "@smithy/hash-node": "^4.2.12", + "@smithy/invalid-dependency": "^4.2.12", + "@smithy/middleware-content-length": "^4.2.12", + "@smithy/middleware-endpoint": "^4.4.28", + "@smithy/middleware-retry": "^4.4.46", + "@smithy/middleware-serde": "^4.2.16", + "@smithy/middleware-stack": "^4.2.12", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/node-http-handler": "^4.5.1", + "@smithy/protocol-http": "^5.3.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "@smithy/url-parser": "^4.2.12", + "@smithy/util-base64": "^4.3.2", + "@smithy/util-body-length-browser": "^4.2.2", + "@smithy/util-body-length-node": "^4.2.3", + "@smithy/util-defaults-mode-browser": "^4.3.44", + "@smithy/util-defaults-mode-node": "^4.2.48", + "@smithy/util-endpoints": "^3.3.3", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-retry": "^4.2.13", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/region-config-resolver": { + "version": "3.972.10", + "resolved": "https://registry.npmjs.org/@aws-sdk/region-config-resolver/-/region-config-resolver-3.972.10.tgz", + "integrity": "sha512-1dq9ToC6e070QvnVhhbAs3bb5r6cQ10gTVc6cyRV5uvQe7P138TV2uG2i6+Yok4bAkVAcx5AqkTEBUvWEtBlsQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/config-resolver": "^4.4.13", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/s3-request-presigner": { + "version": "3.1024.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/s3-request-presigner/-/s3-request-presigner-3.1024.0.tgz", + "integrity": "sha512-KNoGsXnTfBxPqrtV2Owd4mrLnhTHRsOz6Hdaz+As5czGMQuPchoRvG1BJzn2NFRGLt/HSJAXVn+G6IhtRIDe+Q==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/signature-v4-multi-region": "^3.996.15", + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/util-format-url": "^3.972.8", + "@smithy/middleware-endpoint": "^4.4.28", + "@smithy/protocol-http": "^5.3.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/signature-v4-multi-region": { + "version": "3.996.15", + "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.996.15.tgz", + "integrity": "sha512-Ukw2RpqvaL96CjfH/FgfBmy/ZosHBqoHBCFsN61qGg99F33vpntIVii8aNeh65XuOja73arSduskoa4OJea9RQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/middleware-sdk-s3": "^3.972.27", + "@aws-sdk/types": "^3.973.6", + "@smithy/protocol-http": "^5.3.12", + "@smithy/signature-v4": "^5.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/token-providers": { + "version": "3.1021.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.1021.0.tgz", + "integrity": "sha512-TKY6h9spUk3OLs5v1oAgW9mAeBE3LAGNBwJokLy96wwmd4W2v/tYlXseProyed9ValDj2u1jK/4Rg1T+1NXyJA==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/nested-clients": "^3.996.18", + "@aws-sdk/types": "^3.973.6", + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/types": { + "version": "3.973.6", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.973.6.tgz", + "integrity": "sha512-Atfcy4E++beKtwJHiDln2Nby8W/mam64opFPTiHEqgsthqeydFS1pY+OUlN1ouNOmf8ArPU/6cDS65anOP3KQw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/util-arn-parser": { + "version": "3.972.3", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-arn-parser/-/util-arn-parser-3.972.3.tgz", + "integrity": "sha512-HzSD8PMFrvgi2Kserxuff5VitNq2sgf3w9qxmskKDiDTThWfVteJxuCS9JXiPIPtmCrp+7N9asfIaVhBFORllA==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/util-endpoints": { + "version": "3.996.5", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.996.5.tgz", + "integrity": "sha512-Uh93L5sXFNbyR5sEPMzUU8tJ++Ku97EY4udmC01nB8Zu+xfBPwpIwJ6F7snqQeq8h2pf+8SGN5/NoytfKgYPIw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/types": "^4.13.1", + "@smithy/url-parser": "^4.2.12", + "@smithy/util-endpoints": "^3.3.3", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/util-format-url": { + "version": "3.972.8", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-format-url/-/util-format-url-3.972.8.tgz", + "integrity": "sha512-J6DS9oocrgxM8xlUTTmQOuwRF6rnAGEujAN9SAzllcrQmwn5iJ58ogxy3SEhD0Q7JZvlA5jvIXBkpQRqEqlE9A==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/querystring-builder": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/util-locate-window": { + "version": "3.965.5", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-locate-window/-/util-locate-window-3.965.5.tgz", + "integrity": "sha512-WhlJNNINQB+9qtLtZJcpQdgZw3SCDCpXdUJP7cToGwHbCWCnRckGlc6Bx/OhWwIYFNAn+FIydY8SZ0QmVu3xTQ==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/util-user-agent-browser": { + "version": "3.972.8", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.972.8.tgz", + "integrity": "sha512-B3KGXJviV2u6Cdw2SDY2aDhoJkVfY/Q/Trwk2CMSkikE1Oi6gRzxhvhIfiRpHfmIsAhV4EA54TVEX8K6CbHbkA==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/types": "^4.13.1", + "bowser": "^2.11.0", + "tslib": "^2.6.2" + } + }, + "node_modules/@aws-sdk/util-user-agent-node": { + "version": "3.973.14", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.973.14.tgz", + "integrity": "sha512-vNSB/DYaPOyujVZBg/zUznH9QC142MaTHVmaFlF7uzzfg3CgT9f/l4C0Yi+vU/tbBhxVcXVB90Oohk5+o+ZbWw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/middleware-user-agent": "^3.972.28", + "@aws-sdk/types": "^3.973.6", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-config-provider": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "aws-crt": ">=1.0.0" + }, + "peerDependenciesMeta": { + "aws-crt": { + "optional": true + } + } + }, + "node_modules/@aws-sdk/xml-builder": { + "version": "3.972.16", + "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.972.16.tgz", + "integrity": "sha512-iu2pyvaqmeatIJLURLqx9D+4jKAdTH20ntzB6BFwjyN7V960r4jK32mx0Zf7YbtOYAbmbtQfDNuL60ONinyw7A==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "fast-xml-parser": "5.5.8", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws/lambda-invoke-store": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@aws/lambda-invoke-store/-/lambda-invoke-store-0.2.4.tgz", + "integrity": "sha512-iY8yvjE0y651BixKNPgmv1WrQc+GZ142sb0z4gYnChDDY2YqI4P/jsSopBWrKfAt7LOJAkOXt7rC/hms+WclQQ==", + "license": "Apache-2.0", + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@colors/colors": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", + "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/@dabh/diagnostics": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.8.tgz", + "integrity": "sha512-R4MSXTVnuMzGD7bzHdW2ZhhdPC/igELENcq5IjEverBvq5hn1SXCWcsi6eSsdWP0/Ur+SItRRjAktmdoX/8R/Q==", + "license": "MIT", + "dependencies": { + "@so-ric/colorspace": "^1.1.6", + "enabled": "2.0.x", + "kuler": "^2.0.0" + } + }, + "node_modules/@ioredis/commands": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/@ioredis/commands/-/commands-1.5.1.tgz", + "integrity": "sha512-JH8ZL/ywcJyR9MmJ5BNqZllXNZQqQbnVZOqpPQqE1vHiFgAw4NHbvE0FOduNU8IX9babitBT46571OnPTT0Zcw==", + "license": "MIT" + }, + "node_modules/@smithy/chunked-blob-reader": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/@smithy/chunked-blob-reader/-/chunked-blob-reader-5.2.2.tgz", + "integrity": "sha512-St+kVicSyayWQca+I1rGitaOEH6uKgE8IUWoYnnEX26SWdWQcL6LvMSD19Lg+vYHKdT9B2Zuu7rd3i6Wnyb/iw==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/chunked-blob-reader-native": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/@smithy/chunked-blob-reader-native/-/chunked-blob-reader-native-4.2.3.tgz", + "integrity": "sha512-jA5k5Udn7Y5717L86h4EIv06wIr3xn8GM1qHRi/Nf31annXcXHJjBKvgztnbn2TxH3xWrPBfgwHsOwZf0UmQWw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-base64": "^4.3.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/config-resolver": { + "version": "4.4.13", + "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-4.4.13.tgz", + "integrity": "sha512-iIzMC5NmOUP6WL6o8iPBjFhUhBZ9pPjpUpQYWMUFQqKyXXzOftbfK8zcQCz/jFV1Psmf05BK5ypx4K2r4Tnwdg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^4.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-config-provider": "^4.2.2", + "@smithy/util-endpoints": "^3.3.3", + "@smithy/util-middleware": "^4.2.12", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/core": { + "version": "3.23.13", + "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.23.13.tgz", + "integrity": "sha512-J+2TT9D6oGsUVXVEMvz8h2EmdVnkBiy2auCie4aSJMvKlzUtO5hqjEzXhoCUkIMo7gAYjbQcN0g/MMSXEhDs1Q==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "@smithy/url-parser": "^4.2.12", + "@smithy/util-base64": "^4.3.2", + "@smithy/util-body-length-browser": "^4.2.2", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-stream": "^4.5.21", + "@smithy/util-utf8": "^4.2.2", + "@smithy/uuid": "^1.1.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/credential-provider-imds": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-4.2.12.tgz", + "integrity": "sha512-cr2lR792vNZcYMriSIj+Um3x9KWrjcu98kn234xA6reOAFMmbRpQMOv8KPgEmLLtx3eldU6c5wALKFqNOhugmg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^4.3.12", + "@smithy/property-provider": "^4.2.12", + "@smithy/types": "^4.13.1", + "@smithy/url-parser": "^4.2.12", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/eventstream-codec": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-codec/-/eventstream-codec-4.2.12.tgz", + "integrity": "sha512-FE3bZdEl62ojmy8x4FHqxq2+BuOHlcxiH5vaZ6aqHJr3AIZzwF5jfx8dEiU/X0a8RboyNDjmXjlbr8AdEyLgiA==", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/crc32": "5.2.0", + "@smithy/types": "^4.13.1", + "@smithy/util-hex-encoding": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/eventstream-serde-browser": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-4.2.12.tgz", + "integrity": "sha512-XUSuMxlTxV5pp4VpqZf6Sa3vT/Q75FVkLSpSSE3KkWBvAQWeuWt1msTv8fJfgA4/jcJhrbrbMzN1AC/hvPmm5A==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/eventstream-serde-universal": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/eventstream-serde-config-resolver": { + "version": "4.3.12", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-4.3.12.tgz", + "integrity": "sha512-7epsAZ3QvfHkngz6RXQYseyZYHlmWXSTPOfPmXkiS+zA6TBNo1awUaMFL9vxyXlGdoELmCZyZe1nQE+imbmV+Q==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/eventstream-serde-node": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-node/-/eventstream-serde-node-4.2.12.tgz", + "integrity": "sha512-D1pFuExo31854eAvg89KMn9Oab/wEeJR6Buy32B49A9Ogdtx5fwZPqBHUlDzaCDpycTFk2+fSQgX689Qsk7UGA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/eventstream-serde-universal": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/eventstream-serde-universal": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-4.2.12.tgz", + "integrity": "sha512-+yNuTiyBACxOJUTvbsNsSOfH9G9oKbaJE1lNL3YHpGcuucl6rPZMi3nrpehpVOVR2E07YqFFmtwpImtpzlouHQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/eventstream-codec": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/fetch-http-handler": { + "version": "5.3.15", + "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-5.3.15.tgz", + "integrity": "sha512-T4jFU5N/yiIfrtrsb9uOQn7RdELdM/7HbyLNr6uO/mpkj1ctiVs7CihVr51w4LyQlXWDpXFn4BElf1WmQvZu/A==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/protocol-http": "^5.3.12", + "@smithy/querystring-builder": "^4.2.12", + "@smithy/types": "^4.13.1", + "@smithy/util-base64": "^4.3.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/hash-blob-browser": { + "version": "4.2.13", + "resolved": "https://registry.npmjs.org/@smithy/hash-blob-browser/-/hash-blob-browser-4.2.13.tgz", + "integrity": "sha512-YrF4zWKh+ghLuquldj6e/RzE3xZYL8wIPfkt0MqCRphVICjyyjH8OwKD7LLlKpVEbk4FLizFfC1+gwK6XQdR3g==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/chunked-blob-reader": "^5.2.2", + "@smithy/chunked-blob-reader-native": "^4.2.3", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/hash-node": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-4.2.12.tgz", + "integrity": "sha512-QhBYbGrbxTkZ43QoTPrK72DoYviDeg6YKDrHTMJbbC+A0sml3kSjzFtXP7BtbyJnXojLfTQldGdUR0RGD8dA3w==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "@smithy/util-buffer-from": "^4.2.2", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/hash-stream-node": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/hash-stream-node/-/hash-stream-node-4.2.12.tgz", + "integrity": "sha512-O3YbmGExeafuM/kP7Y8r6+1y0hIh3/zn6GROx0uNlB54K9oihAL75Qtc+jFfLNliTi6pxOAYZrRKD9A7iA6UFw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/invalid-dependency": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-4.2.12.tgz", + "integrity": "sha512-/4F1zb7Z8LOu1PalTdESFHR0RbPwHd3FcaG1sI3UEIriQTWakysgJr65lc1jj6QY5ye7aFsisajotH6UhWfm/g==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/is-array-buffer": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-4.2.2.tgz", + "integrity": "sha512-n6rQ4N8Jj4YTQO3YFrlgZuwKodf4zUFs7EJIWH86pSCWBaAtAGBFfCM7Wx6D2bBJ2xqFNxGBSrUWswT3M0VJow==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/md5-js": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/md5-js/-/md5-js-4.2.12.tgz", + "integrity": "sha512-W/oIpHCpWU2+iAkfZYyGWE+qkpuf3vEXHLxQQDx9FPNZTTdnul0dZ2d/gUFrtQ5je1G2kp4cjG0/24YueG2LbQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/middleware-content-length": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-4.2.12.tgz", + "integrity": "sha512-YE58Yz+cvFInWI/wOTrB+DbvUVz/pLn5mC5MvOV4fdRUc6qGwygyngcucRQjAhiCEbmfLOXX0gntSIcgMvAjmA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/middleware-endpoint": { + "version": "4.4.28", + "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-4.4.28.tgz", + "integrity": "sha512-p1gfYpi91CHcs5cBq982UlGlDrxoYUX6XdHSo91cQ2KFuz6QloHosO7Jc60pJiVmkWrKOV8kFYlGFFbQ2WUKKQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/core": "^3.23.13", + "@smithy/middleware-serde": "^4.2.16", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "@smithy/url-parser": "^4.2.12", + "@smithy/util-middleware": "^4.2.12", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/middleware-retry": { + "version": "4.4.46", + "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-4.4.46.tgz", + "integrity": "sha512-SpvWNNOPOrKQGUqZbEPO+es+FRXMWvIyzUKUOYdDgdlA6BdZj/R58p4umoQ76c2oJC44PiM7mKizyyex1IJzow==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^4.3.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/service-error-classification": "^4.2.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-retry": "^4.2.13", + "@smithy/uuid": "^1.1.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/middleware-serde": { + "version": "4.2.16", + "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-4.2.16.tgz", + "integrity": "sha512-beqfV+RZ9RSv+sQqor3xroUUYgRFCGRw6niGstPG8zO9LgTl0B0MCucxjmrH/2WwksQN7UUgI7KNANoZv+KALA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/core": "^3.23.13", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/middleware-stack": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-4.2.12.tgz", + "integrity": "sha512-kruC5gRHwsCOuyCd4ouQxYjgRAym2uDlCvQ5acuMtRrcdfg7mFBg6blaxcJ09STpt3ziEkis6bhg1uwrWU7txw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/node-config-provider": { + "version": "4.3.12", + "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-4.3.12.tgz", + "integrity": "sha512-tr2oKX2xMcO+rBOjobSwVAkV05SIfUKz8iI53rzxEmgW3GOOPOv0UioSDk+J8OpRQnpnhsO3Af6IEBabQBVmiw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/node-http-handler": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.5.1.tgz", + "integrity": "sha512-ejjxdAXjkPIs9lyYyVutOGNOraqUE9v/NjGMKwwFrfOM354wfSD8lmlj8hVwUzQmlLLF4+udhfCX9Exnbmvfzw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/protocol-http": "^5.3.12", + "@smithy/querystring-builder": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/property-provider": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-4.2.12.tgz", + "integrity": "sha512-jqve46eYU1v7pZ5BM+fmkbq3DerkSluPr5EhvOcHxygxzD05ByDRppRwRPPpFrsFo5yDtCYLKu+kreHKVrvc7A==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/protocol-http": { + "version": "5.3.12", + "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-5.3.12.tgz", + "integrity": "sha512-fit0GZK9I1xoRlR4jXmbLhoN0OdEpa96ul8M65XdmXnxXkuMxM0Y8HDT0Fh0Xb4I85MBvBClOzgSrV1X2s1Hxw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/querystring-builder": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-4.2.12.tgz", + "integrity": "sha512-6wTZjGABQufekycfDGMEB84BgtdOE/rCVTov+EDXQ8NHKTUNIp/j27IliwP7tjIU9LR+sSzyGBOXjeEtVgzCHg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "@smithy/util-uri-escape": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/querystring-parser": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-4.2.12.tgz", + "integrity": "sha512-P2OdvrgiAKpkPNKlKUtWbNZKB1XjPxM086NeVhK+W+wI46pIKdWBe5QyXvhUm3MEcyS/rkLvY8rZzyUdmyDZBw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/service-error-classification": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-4.2.12.tgz", + "integrity": "sha512-LlP29oSQN0Tw0b6D0Xo6BIikBswuIiGYbRACy5ujw/JgWSzTdYj46U83ssf6Ux0GyNJVivs2uReU8pt7Eu9okQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/shared-ini-file-loader": { + "version": "4.4.7", + "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-4.4.7.tgz", + "integrity": "sha512-HrOKWsUb+otTeo1HxVWeEb99t5ER1XrBi/xka2Wv6NVmTbuCUC1dvlrksdvxFtODLBjsC+PHK+fuy2x/7Ynyiw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/signature-v4": { + "version": "5.3.12", + "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-5.3.12.tgz", + "integrity": "sha512-B/FBwO3MVOL00DaRSXfXfa/TRXRheagt/q5A2NM13u7q+sHS59EOVGQNfG7DkmVtdQm5m3vOosoKAXSqn/OEgw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/is-array-buffer": "^4.2.2", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-hex-encoding": "^4.2.2", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-uri-escape": "^4.2.2", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/smithy-client": { + "version": "4.12.8", + "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-4.12.8.tgz", + "integrity": "sha512-aJaAX7vHe5i66smoSSID7t4rKY08PbD8EBU7DOloixvhOozfYWdcSYE4l6/tjkZ0vBZhGjheWzB2mh31sLgCMA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/core": "^3.23.13", + "@smithy/middleware-endpoint": "^4.4.28", + "@smithy/middleware-stack": "^4.2.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-stream": "^4.5.21", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/types": { + "version": "4.13.1", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.13.1.tgz", + "integrity": "sha512-787F3yzE2UiJIQ+wYW1CVg2odHjmaWLGksnKQHUrK/lYZSEcy1msuLVvxaR/sI2/aDe9U+TBuLsXnr3vod1g0g==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/url-parser": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-4.2.12.tgz", + "integrity": "sha512-wOPKPEpso+doCZGIlr+e1lVI6+9VAKfL4kZWFgzVgGWY2hZxshNKod4l2LXS3PRC9otH/JRSjtEHqQ/7eLciRA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/querystring-parser": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-base64": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-4.3.2.tgz", + "integrity": "sha512-XRH6b0H/5A3SgblmMa5ErXQ2XKhfbQB+Fm/oyLZ2O2kCUrwgg55bU0RekmzAhuwOjA9qdN5VU2BprOvGGUkOOQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^4.2.2", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-body-length-browser": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-4.2.2.tgz", + "integrity": "sha512-JKCrLNOup3OOgmzeaKQwi4ZCTWlYR5H4Gm1r2uTMVBXoemo1UEghk5vtMi1xSu2ymgKVGW631e2fp9/R610ZjQ==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-body-length-node": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-4.2.3.tgz", + "integrity": "sha512-ZkJGvqBzMHVHE7r/hcuCxlTY8pQr1kMtdsVPs7ex4mMU+EAbcXppfo5NmyxMYi2XU49eqaz56j2gsk4dHHPG/g==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-buffer-from": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-4.2.2.tgz", + "integrity": "sha512-FDXD7cvUoFWwN6vtQfEta540Y/YBe5JneK3SoZg9bThSoOAC/eGeYEua6RkBgKjGa/sz6Y+DuBZj3+YEY21y4Q==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/is-array-buffer": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-config-provider": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-4.2.2.tgz", + "integrity": "sha512-dWU03V3XUprJwaUIFVv4iOnS1FC9HnMHDfUrlNDSh4315v0cWyaIErP8KiqGVbf5z+JupoVpNM7ZB3jFiTejvQ==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-defaults-mode-browser": { + "version": "4.3.44", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.3.44.tgz", + "integrity": "sha512-eZg6XzaCbVr2S5cAErU5eGBDaOVTuTo1I65i4tQcHENRcZ8rMWhQy1DaIYUSLyZjsfXvmCqZrstSMYyGFocvHA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/property-provider": "^4.2.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-defaults-mode-node": { + "version": "4.2.48", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.2.48.tgz", + "integrity": "sha512-FqOKTlqSaoV3nzO55pMs5NBnZX8EhoI0DGmn9kbYeXWppgHD6dchyuj2HLqp4INJDJbSrj6OFYJkAh/WhSzZPg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/config-resolver": "^4.4.13", + "@smithy/credential-provider-imds": "^4.2.12", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/property-provider": "^4.2.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-endpoints": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/@smithy/util-endpoints/-/util-endpoints-3.3.3.tgz", + "integrity": "sha512-VACQVe50j0HZPjpwWcjyT51KUQ4AnsvEaQ2lKHOSL4mNLD0G9BjEniQ+yCt1qqfKfiAHRAts26ud7hBjamrwig==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^4.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-hex-encoding": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-4.2.2.tgz", + "integrity": "sha512-Qcz3W5vuHK4sLQdyT93k/rfrUwdJ8/HZ+nMUOyGdpeGA1Wxt65zYwi3oEl9kOM+RswvYq90fzkNDahPS8K0OIg==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-middleware": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-4.2.12.tgz", + "integrity": "sha512-Er805uFUOvgc0l8nv0e0su0VFISoxhJ/AwOn3gL2NWNY2LUEldP5WtVcRYSQBcjg0y9NfG8JYrCJaYDpupBHJQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-retry": { + "version": "4.2.13", + "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-4.2.13.tgz", + "integrity": "sha512-qQQsIvL0MGIbUjeSrg0/VlQ3jGNKyM3/2iU3FPNgy01z+Sp4OvcaxbgIoFOTvB61ZoohtutuOvOcgmhbD0katQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/service-error-classification": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-stream": { + "version": "4.5.21", + "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-4.5.21.tgz", + "integrity": "sha512-KzSg+7KKywLnkoKejRtIBXDmwBfjGvg1U1i/etkC7XSWUyFCoLno1IohV2c74IzQqdhX5y3uE44r/8/wuK+A7Q==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/fetch-http-handler": "^5.3.15", + "@smithy/node-http-handler": "^4.5.1", + "@smithy/types": "^4.13.1", + "@smithy/util-base64": "^4.3.2", + "@smithy/util-buffer-from": "^4.2.2", + "@smithy/util-hex-encoding": "^4.2.2", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-uri-escape": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-4.2.2.tgz", + "integrity": "sha512-2kAStBlvq+lTXHyAZYfJRb/DfS3rsinLiwb+69SstC9Vb0s9vNWkRwpnj918Pfi85mzi42sOqdV72OLxWAISnw==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-utf8": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-4.2.2.tgz", + "integrity": "sha512-75MeYpjdWRe8M5E3AW0O4Cx3UadweS+cwdXjwYGBW5h/gxxnbeZ877sLPX/ZJA9GVTlL/qG0dXP29JWFCD1Ayw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-waiter": { + "version": "4.2.14", + "resolved": "https://registry.npmjs.org/@smithy/util-waiter/-/util-waiter-4.2.14.tgz", + "integrity": "sha512-2zqq5o/oizvMaFUlNiTyZ7dbgYv1a893aGut2uaxtbzTx/VYYnRxWzDHuD/ftgcw94ffenua+ZNLrbqwUYE+Bg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/uuid": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@smithy/uuid/-/uuid-1.1.2.tgz", + "integrity": "sha512-O/IEdcCUKkubz60tFbGA7ceITTAJsty+lBjNoorP4Z6XRqaFb/OjQjZODophEcuq68nKm6/0r+6/lLQ+XVpk8g==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@so-ric/colorspace": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/@so-ric/colorspace/-/colorspace-1.1.6.tgz", + "integrity": "sha512-/KiKkpHNOBgkFJwu9sh48LkHSMYGyuTcSFK/qMBdnOAlrRJzRSXAOFB5qwzaVQuDl8wAvHVMkaASQDReTahxuw==", + "license": "MIT", + "dependencies": { + "color": "^5.0.2", + "text-hex": "1.0.x" + } + }, + "node_modules/@types/triple-beam": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.5.tgz", + "integrity": "sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw==", + "license": "MIT" + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", + "license": "MIT" + }, + "node_modules/async": { + "version": "0.2.10", + "resolved": "https://registry.npmjs.org/async/-/async-0.2.10.tgz", + "integrity": "sha512-eAkdoKxU6/LkKDBzLpT+t6Ff5EtfSF4wx1WfJiPEEV7WNLnDaRXk0oVysiEPm262roaachGexwUv94WhSgN5TQ==" + }, + "node_modules/body-parser": { + "version": "1.20.4", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.4.tgz", + "integrity": "sha512-ZTgYYLMOXY9qKU/57FAo8F+HA2dGX7bqGc71txDRC1rS4frdFI5R7NhluHxH6M0YItAP0sHB4uqAOcYKxO6uGA==", + "license": "MIT", + "dependencies": { + "bytes": "~3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "~1.2.0", + "http-errors": "~2.0.1", + "iconv-lite": "~0.4.24", + "on-finished": "~2.4.1", + "qs": "~6.14.0", + "raw-body": "~2.5.3", + "type-is": "~1.6.18", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/bowser": { + "version": "2.14.1", + "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.14.1.tgz", + "integrity": "sha512-tzPjzCxygAKWFOJP011oxFHs57HzIhOEracIgAePE4pqB3LikALKnSzUyU4MGs9/iCEUuHlAJTjTc5M+u7YEGg==", + "license": "MIT" + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/cluster-key-slot": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz", + "integrity": "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==", + "license": "Apache-2.0", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/color": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/color/-/color-5.0.3.tgz", + "integrity": "sha512-ezmVcLR3xAVp8kYOm4GS45ZLLgIE6SPAFoduLr6hTDajwb3KZ2F46gulK3XpcwRFb5KKGCSezCBAY4Dw4HsyXA==", + "license": "MIT", + "dependencies": { + "color-convert": "^3.1.3", + "color-string": "^2.1.3" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/color-convert": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-3.1.3.tgz", + "integrity": "sha512-fasDH2ont2GqF5HpyO4w0+BcewlhHEZOFn9c1ckZdHpJ56Qb7MHhH/IcJZbBGgvdtwdwNbLvxiBEdg336iA9Sg==", + "license": "MIT", + "dependencies": { + "color-name": "^2.0.0" + }, + "engines": { + "node": ">=14.6" + } + }, + "node_modules/color-name": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-2.1.0.tgz", + "integrity": "sha512-1bPaDNFm0axzE4MEAzKPuqKWeRaT43U/hyxKPBdqTfmPF+d6n7FSoTFxLVULUJOmiLp01KjhIPPH+HrXZJN4Rg==", + "license": "MIT", + "engines": { + "node": ">=12.20" + } + }, + "node_modules/color-string": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-2.1.4.tgz", + "integrity": "sha512-Bb6Cq8oq0IjDOe8wJmi4JeNn763Xs9cfrBcaylK1tPypWzyoy2G3l90v9k64kjphl/ZJjPIShFztenRomi8WTg==", + "license": "MIT", + "dependencies": { + "color-name": "^2.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", + "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.7.tgz", + "integrity": "sha512-NXdYc3dLr47pBkpUCHtKSwIOQXLVn8dZEuywboCOJY/osA0wFSLlSawr3KN8qXJEyX66FcONTH8EIlVuK0yyFA==", + "license": "MIT" + }, + "node_modules/cors": { + "version": "2.8.6", + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.6.tgz", + "integrity": "sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw==", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/denque": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/denque/-/denque-2.1.0.tgz", + "integrity": "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==", + "license": "Apache-2.0", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/dotenv": { + "version": "16.6.1", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.6.1.tgz", + "integrity": "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", + "license": "MIT" + }, + "node_modules/enabled": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", + "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==", + "license": "MIT" + }, + "node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "license": "MIT" + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/express": { + "version": "4.22.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.22.1.tgz", + "integrity": "sha512-F2X8g9P1X7uCPZMA3MVf9wcTqlyNp7IhH5qPCI0izhaOIYXaW9L535tGA3qmjRzpH+bZczqq7hVKxTR4NWnu+g==", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "~1.20.3", + "content-disposition": "~0.5.4", + "content-type": "~1.0.4", + "cookie": "~0.7.1", + "cookie-signature": "~1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "~1.3.1", + "fresh": "~0.5.2", + "http-errors": "~2.0.0", + "merge-descriptors": "1.0.3", + "methods": "~1.1.2", + "on-finished": "~2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "~0.1.12", + "proxy-addr": "~2.0.7", + "qs": "~6.14.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "~0.19.0", + "serve-static": "~1.16.2", + "setprototypeof": "1.2.0", + "statuses": "~2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/fast-xml-builder": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.1.4.tgz", + "integrity": "sha512-f2jhpN4Eccy0/Uz9csxh3Nu6q4ErKxf0XIsasomfOihuSUa3/xw6w8dnOtCDgEItQFJG8KyXPzQXzcODDrrbOg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT", + "dependencies": { + "path-expression-matcher": "^1.1.3" + } + }, + "node_modules/fast-xml-parser": { + "version": "5.5.8", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.5.8.tgz", + "integrity": "sha512-Z7Fh2nVQSb2d+poDViM063ix2ZGt9jmY1nWhPfHBOK2Hgnb/OW3P4Et3P/81SEej0J7QbWtJqxO05h8QYfK7LQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT", + "dependencies": { + "fast-xml-builder": "^1.1.4", + "path-expression-matcher": "^1.2.0", + "strnum": "^2.2.0" + }, + "bin": { + "fxparser": "src/cli/cli.js" + } + }, + "node_modules/fecha": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz", + "integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==", + "license": "MIT" + }, + "node_modules/file-stream-rotator": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/file-stream-rotator/-/file-stream-rotator-0.6.1.tgz", + "integrity": "sha512-u+dBid4PvZw17PmDeRcNOtCP9CCK/9lRN2w+r1xIS7yOL9JFrIBKTvrYsxT4P0pGtThYTn++QS5ChHaUov3+zQ==", + "license": "MIT", + "dependencies": { + "moment": "^2.29.1" + } + }, + "node_modules/finalhandler": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.2.tgz", + "integrity": "sha512-aA4RyPcd3badbdABGDuTXCMTtOneUCAYH/gxoYRTZlIJdF0YPWuGqiAsIrhNnnqdXGswYk6dGujem4w80UJFhg==", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "on-finished": "~2.4.1", + "parseurl": "~1.3.3", + "statuses": "~2.0.2", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/fluent-ffmpeg": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/fluent-ffmpeg/-/fluent-ffmpeg-2.1.3.tgz", + "integrity": "sha512-Be3narBNt2s6bsaqP6Jzq91heDgOEaDCJAXcE3qcma/EJBSy5FB4cvO31XBInuAuKBx8Kptf8dkhjK0IOru39Q==", + "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", + "license": "MIT", + "dependencies": { + "async": "^0.2.9", + "which": "^1.1.1" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/fn.name": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", + "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==", + "license": "MIT" + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "license": "MIT", + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" + }, + "node_modules/ioredis": { + "version": "5.10.1", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-5.10.1.tgz", + "integrity": "sha512-HuEDBTI70aYdx1v6U97SbNx9F1+svQKBDo30o0b9fw055LMepzpOOd0Ccg9Q6tbqmBSJaMuY0fB7yw9/vjBYCA==", + "license": "MIT", + "dependencies": { + "@ioredis/commands": "1.5.1", + "cluster-key-slot": "^1.1.0", + "debug": "^4.3.4", + "denque": "^2.1.0", + "lodash.defaults": "^4.2.0", + "lodash.isarguments": "^3.1.0", + "redis-errors": "^1.2.0", + "redis-parser": "^3.0.0", + "standard-as-callback": "^2.1.0" + }, + "engines": { + "node": ">=12.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/ioredis" + } + }, + "node_modules/ioredis/node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/ioredis/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "license": "ISC" + }, + "node_modules/kuler": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", + "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==", + "license": "MIT" + }, + "node_modules/lodash.defaults": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", + "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==", + "license": "MIT" + }, + "node_modules/lodash.isarguments": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", + "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==", + "license": "MIT" + }, + "node_modules/logform": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.7.0.tgz", + "integrity": "sha512-TFYA4jnP7PVbmlBIfhlSe+WKxs9dklXMTEGcBCIvLhE/Tn3H6Gk1norupVW7m5Cnd4bLcr08AytbyV/xj7f/kQ==", + "license": "MIT", + "dependencies": { + "@colors/colors": "1.6.0", + "@types/triple-beam": "^1.3.2", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/logform/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/merge-descriptors": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", + "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/moment": { + "version": "2.30.1", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.30.1.tgz", + "integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "license": "MIT" + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/object-inspect": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/one-time": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", + "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", + "license": "MIT", + "dependencies": { + "fn.name": "1.x.x" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-expression-matcher": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.2.1.tgz", + "integrity": "sha512-d7gQQmLvAKXKXE2GeP9apIGbMYKz88zWdsn/BN2HRWVQsDFdUY36WSLTY0Jvd4HWi7Fb30gQ62oAOzdgJA6fZw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/path-to-regexp": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.13.tgz", + "integrity": "sha512-A/AGNMFN3c8bOlvV9RreMdrv7jsmF9XIfDeCd87+I8RNg6s78BhJxMu69NEMHBSJFxKidViTEdruRwEk/WIKqA==", + "license": "MIT" + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/qs": { + "version": "6.14.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.2.tgz", + "integrity": "sha512-V/yCWTTF7VJ9hIh18Ugr2zhJMP01MY7c5kh4J870L7imm6/DIzBsNLTXzMwUA3yZ5b/KBqLx8Kp3uRvd7xSe3Q==", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.1.0" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.3.tgz", + "integrity": "sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==", + "license": "MIT", + "dependencies": { + "bytes": "~3.1.2", + "http-errors": "~2.0.1", + "iconv-lite": "~0.4.24", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/redis-errors": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", + "integrity": "sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/redis-parser": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", + "integrity": "sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==", + "license": "MIT", + "dependencies": { + "redis-errors": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/safe-stable-stringify": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.5.0.tgz", + "integrity": "sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "license": "MIT" + }, + "node_modules/send": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.2.tgz", + "integrity": "sha512-VMbMxbDeehAxpOtWJXlcUS5E8iXh6QmN+BkRX1GARS3wRaXEEgzCcB10gTQazO42tpNIya8xIyNx8fll1OFPrg==", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "~0.5.2", + "http-errors": "~2.0.1", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "~2.4.1", + "range-parser": "~1.2.1", + "statuses": "~2.0.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/serve-static": { + "version": "1.16.3", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.3.tgz", + "integrity": "sha512-x0RTqQel6g5SY7Lg6ZreMmsOzncHFU7nhnRWkKgWuMTu5NN0DR5oruckMqRvacAN9d5w6ARnRBXl9xhDCgfMeA==", + "license": "MIT", + "dependencies": { + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "~0.19.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "license": "ISC" + }, + "node_modules/side-channel": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", + "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/stack-trace": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", + "integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/standard-as-callback": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", + "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==", + "license": "MIT" + }, + "node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/strnum": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.2.2.tgz", + "integrity": "sha512-DnR90I+jtXNSTXWdwrEy9FakW7UX+qUZg28gj5fk2vxxl7uS/3bpI4fjFYVmdK9etptYBPNkpahuQnEwhwECqA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT" + }, + "node_modules/text-hex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", + "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==", + "license": "MIT" + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/triple-beam": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.4.1.tgz", + "integrity": "sha512-aZbgViZrg1QNcG+LULa7nhZpJTZSLm/mXnHXnbAbjmN5aSa0y7V+wvv6+4WaBtpISJzThKy+PIPxc1Nq1EJ9mg==", + "license": "MIT", + "engines": { + "node": ">= 14.0.0" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "license": "MIT" + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "node_modules/winston": { + "version": "3.19.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.19.0.tgz", + "integrity": "sha512-LZNJgPzfKR+/J3cHkxcpHKpKKvGfDZVPS4hfJCc4cCG0CgYzvlD6yE/S3CIL/Yt91ak327YCpiF/0MyeZHEHKA==", + "license": "MIT", + "dependencies": { + "@colors/colors": "^1.6.0", + "@dabh/diagnostics": "^2.0.8", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.7.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.9.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/winston-daily-rotate-file": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/winston-daily-rotate-file/-/winston-daily-rotate-file-5.0.0.tgz", + "integrity": "sha512-JDjiXXkM5qvwY06733vf09I2wnMXpZEhxEVOSPenZMii+g7pcDcTBt2MRugnoi8BwVSuCT2jfRXBUy+n1Zz/Yw==", + "license": "MIT", + "dependencies": { + "file-stream-rotator": "^0.6.1", + "object-hash": "^3.0.0", + "triple-beam": "^1.4.1", + "winston-transport": "^4.7.0" + }, + "engines": { + "node": ">=8" + }, + "peerDependencies": { + "winston": "^3" + } + }, + "node_modules/winston-transport": { + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.9.0.tgz", + "integrity": "sha512-8drMJ4rkgaPo1Me4zD/3WLfI/zPdA9o2IipKODunnGDcuqbHwjsbB79ylv04LCGGzU0xQ6vTznOMpQGaLhhm6A==", + "license": "MIT", + "dependencies": { + "logform": "^2.7.0", + "readable-stream": "^3.6.2", + "triple-beam": "^1.3.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/winston/node_modules/async": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", + "license": "MIT" + }, + "node_modules/ws": { + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.20.0.tgz", + "integrity": "sha512-sAt8BhgNbzCtgGbt2OxmpuryO63ZoDk/sqaB/znQm94T4fCEsy/yV+7CdC1kJhOU9lboAEU7R3kquuycDoibVA==", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + } + } +} diff --git a/node_modules/@aws-crypto/crc32/CHANGELOG.md b/node_modules/@aws-crypto/crc32/CHANGELOG.md new file mode 100644 index 0000000..7d76500 --- /dev/null +++ b/node_modules/@aws-crypto/crc32/CHANGELOG.md @@ -0,0 +1,100 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [5.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.1.0...v5.2.0) (2023-10-16) + +### Features + +- support ESM artifacts in all packages ([#752](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/752)) ([e930ffb](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/e930ffba5cfef66dd242049e7d514ced232c1e3b)) + +# [5.1.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.0.0...v5.1.0) (2023-09-22) + +### Bug Fixes + +- Update tsc to 2.x ([#735](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/735)) ([782e0de](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/782e0de9f5fef41f694130580a69d940894b6b8c)) + +### Features + +- Use @smithy/util-utf8 ([#730](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/730)) ([00fb851](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/00fb851ca3559d5a1f370f9256814de1210826b8)), closes [#699](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/699) + +# [5.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v4.0.1...v5.0.0) (2023-07-13) + +**Note:** Version bump only for package @aws-crypto/crc32 + +# [4.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v3.0.0...v4.0.0) (2023-02-20) + +**Note:** Version bump only for package @aws-crypto/crc32 + +# [3.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.2...v3.0.0) (2023-01-12) + +- feat!: replace Hash implementations with Checksum interface (#492) ([da43dc0](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/da43dc0fdf669d9ebb5bfb1b1f7c79e46c4aaae1)), closes [#492](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/492) + +### BREAKING CHANGES + +- All classes that implemented `Hash` now implement `Checksum`. + +## [2.0.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.1...v2.0.2) (2022-09-07) + +### Bug Fixes + +- **#337:** update @aws-sdk/types ([#373](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/373)) ([b26a811](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/b26a811a392f5209c7ec7e57251500d4d78f97ff)), closes [#337](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/337) + +## [2.0.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.0...v2.0.1) (2021-12-09) + +**Note:** Version bump only for package @aws-crypto/crc32 + +# [2.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.2...v2.0.0) (2021-10-25) + +**Note:** Version bump only for package @aws-crypto/crc32 + +## [1.2.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.1...v1.2.2) (2021-10-12) + +### Bug Fixes + +- **crc32c:** ie11 does not support Array.from ([#221](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/221)) ([5f49547](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/5f495472ab8988cf203e0f2a70a51f7e1fcd7e60)) + +## [1.2.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.0...v1.2.1) (2021-09-17) + +**Note:** Version bump only for package @aws-crypto/crc32 + +# [1.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.1.1...v1.2.0) (2021-09-17) + +### Features + +- Add AwsCrc32 Hash ([f5d7e81](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/f5d7e815fcbe0f8da1edb855fea3bd33eb1edc15)) + +# [1.1.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32@1.0.0...@aws-crypto/crc32@1.1.0) (2021-08-11) + +### Features + +- Create CRC-32C implementation ([#201](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/201)) ([e43c7ec](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/e43c7ecd30d6499fa696f5839ecc30502a34b8b6)) + +# [1.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32@1.0.0-alpha.0...@aws-crypto/crc32@1.0.0) (2020-10-22) + +**Note:** Version bump only for package @aws-crypto/crc32 + +# [1.0.0-alpha.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32@0.1.0-preview.4...@aws-crypto/crc32@1.0.0-alpha.0) (2020-02-07) + +**Note:** Version bump only for package @aws-crypto/crc32 + +# [0.1.0-preview.4](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32@0.1.0-preview.2...@aws-crypto/crc32@0.1.0-preview.4) (2020-01-16) + +### Bug Fixes + +- Changed package.json files to point to the right Git repo ([#9](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/9)) ([028245d](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/028245d72e642ca98d82226afb300eb154503c4a)), closes [#8](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/8) +- lerna version maintains package-lock ([#14](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/14)) ([2ef29e1](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/2ef29e13779703a5c9b32e93d18918fcb33b7272)), closes [#13](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/13) + +# [0.1.0-preview.3](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32@0.1.0-preview.2...@aws-crypto/crc32@0.1.0-preview.3) (2019-11-15) + +### Bug Fixes + +- Changed package.json files to point to the right Git repo ([#9](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/9)) ([028245d](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/028245d72e642ca98d82226afb300eb154503c4a)), closes [#8](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/8) +- lerna version maintains package-lock ([#14](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/14)) ([2ef29e1](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/2ef29e13779703a5c9b32e93d18918fcb33b7272)), closes [#13](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/13) + +# [0.1.0-preview.2](https://github.com/aws/aws-javascript-crypto-helpers/compare/@aws-crypto/crc32@0.1.0-preview.1...@aws-crypto/crc32@0.1.0-preview.2) (2019-10-30) + +### Bug Fixes + +- remove /src/ from .npmignore (for sourcemaps) ([#5](https://github.com/aws/aws-javascript-crypto-helpers/issues/5)) ([ec52056](https://github.com/aws/aws-javascript-crypto-helpers/commit/ec52056)) diff --git a/node_modules/@aws-crypto/crc32/LICENSE b/node_modules/@aws-crypto/crc32/LICENSE new file mode 100644 index 0000000..980a15a --- /dev/null +++ b/node_modules/@aws-crypto/crc32/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@aws-crypto/crc32/README.md b/node_modules/@aws-crypto/crc32/README.md new file mode 100644 index 0000000..b54737a --- /dev/null +++ b/node_modules/@aws-crypto/crc32/README.md @@ -0,0 +1,16 @@ +# @aws-crypto/crc32 + +Pure JS implementation of CRC32 https://en.wikipedia.org/wiki/Cyclic_redundancy_check + +## Usage + +``` +import { Crc32 } from '@aws-crypto/crc32'; + +const crc32Digest = (new Crc32).update(buffer).digest() + +``` + +## Test + +`npm test` diff --git a/node_modules/@aws-crypto/crc32/build/main/aws_crc32.d.ts b/node_modules/@aws-crypto/crc32/build/main/aws_crc32.d.ts new file mode 100644 index 0000000..c91c2a5 --- /dev/null +++ b/node_modules/@aws-crypto/crc32/build/main/aws_crc32.d.ts @@ -0,0 +1,7 @@ +import { SourceData, Checksum } from "@aws-sdk/types"; +export declare class AwsCrc32 implements Checksum { + private crc32; + update(toHash: SourceData): void; + digest(): Promise; + reset(): void; +} diff --git a/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js b/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js new file mode 100644 index 0000000..09c304c --- /dev/null +++ b/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js @@ -0,0 +1,31 @@ +"use strict"; +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AwsCrc32 = void 0; +var tslib_1 = require("tslib"); +var util_1 = require("@aws-crypto/util"); +var index_1 = require("./index"); +var AwsCrc32 = /** @class */ (function () { + function AwsCrc32() { + this.crc32 = new index_1.Crc32(); + } + AwsCrc32.prototype.update = function (toHash) { + if ((0, util_1.isEmptyData)(toHash)) + return; + this.crc32.update((0, util_1.convertToBuffer)(toHash)); + }; + AwsCrc32.prototype.digest = function () { + return tslib_1.__awaiter(this, void 0, void 0, function () { + return tslib_1.__generator(this, function (_a) { + return [2 /*return*/, (0, util_1.numToUint8)(this.crc32.digest())]; + }); + }); + }; + AwsCrc32.prototype.reset = function () { + this.crc32 = new index_1.Crc32(); + }; + return AwsCrc32; +}()); +exports.AwsCrc32 = AwsCrc32; +//# sourceMappingURL=aws_crc32.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js.map b/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js.map new file mode 100644 index 0000000..fae264e --- /dev/null +++ b/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js.map @@ -0,0 +1 @@ +{"version":3,"file":"aws_crc32.js","sourceRoot":"","sources":["../../src/aws_crc32.ts"],"names":[],"mappings":";AAAA,oEAAoE;AACpE,sCAAsC;;;;AAGtC,yCAA4E;AAC5E,iCAAgC;AAEhC;IAAA;QACU,UAAK,GAAG,IAAI,aAAK,EAAE,CAAC;IAe9B,CAAC;IAbC,yBAAM,GAAN,UAAO,MAAkB;QACvB,IAAI,IAAA,kBAAW,EAAC,MAAM,CAAC;YAAE,OAAO;QAEhC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAA,sBAAe,EAAC,MAAM,CAAC,CAAC,CAAC;IAC7C,CAAC;IAEK,yBAAM,GAAZ;;;gBACE,sBAAO,IAAA,iBAAU,EAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,EAAC;;;KACxC;IAED,wBAAK,GAAL;QACE,IAAI,CAAC,KAAK,GAAG,IAAI,aAAK,EAAE,CAAC;IAC3B,CAAC;IACH,eAAC;AAAD,CAAC,AAhBD,IAgBC;AAhBY,4BAAQ"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/crc32/build/main/index.d.ts b/node_modules/@aws-crypto/crc32/build/main/index.d.ts new file mode 100644 index 0000000..7521071 --- /dev/null +++ b/node_modules/@aws-crypto/crc32/build/main/index.d.ts @@ -0,0 +1,7 @@ +export declare function crc32(data: Uint8Array): number; +export declare class Crc32 { + private checksum; + update(data: Uint8Array): this; + digest(): number; +} +export { AwsCrc32 } from "./aws_crc32"; diff --git a/node_modules/@aws-crypto/crc32/build/main/index.js b/node_modules/@aws-crypto/crc32/build/main/index.js new file mode 100644 index 0000000..fa78968 --- /dev/null +++ b/node_modules/@aws-crypto/crc32/build/main/index.js @@ -0,0 +1,108 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AwsCrc32 = exports.Crc32 = exports.crc32 = void 0; +var tslib_1 = require("tslib"); +var util_1 = require("@aws-crypto/util"); +function crc32(data) { + return new Crc32().update(data).digest(); +} +exports.crc32 = crc32; +var Crc32 = /** @class */ (function () { + function Crc32() { + this.checksum = 0xffffffff; + } + Crc32.prototype.update = function (data) { + var e_1, _a; + try { + for (var data_1 = tslib_1.__values(data), data_1_1 = data_1.next(); !data_1_1.done; data_1_1 = data_1.next()) { + var byte = data_1_1.value; + this.checksum = + (this.checksum >>> 8) ^ lookupTable[(this.checksum ^ byte) & 0xff]; + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (data_1_1 && !data_1_1.done && (_a = data_1.return)) _a.call(data_1); + } + finally { if (e_1) throw e_1.error; } + } + return this; + }; + Crc32.prototype.digest = function () { + return (this.checksum ^ 0xffffffff) >>> 0; + }; + return Crc32; +}()); +exports.Crc32 = Crc32; +// prettier-ignore +var a_lookUpTable = [ + 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, + 0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3, + 0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988, + 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91, + 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE, + 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7, + 0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC, + 0x14015C4F, 0x63066CD9, 0xFA0F3D63, 0x8D080DF5, + 0x3B6E20C8, 0x4C69105E, 0xD56041E4, 0xA2677172, + 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B, + 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940, + 0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59, + 0x26D930AC, 0x51DE003A, 0xC8D75180, 0xBFD06116, + 0x21B4F4B5, 0x56B3C423, 0xCFBA9599, 0xB8BDA50F, + 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924, + 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D, + 0x76DC4190, 0x01DB7106, 0x98D220BC, 0xEFD5102A, + 0x71B18589, 0x06B6B51F, 0x9FBFE4A5, 0xE8B8D433, + 0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818, + 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01, + 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E, + 0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457, + 0x65B0D9C6, 0x12B7E950, 0x8BBEB8EA, 0xFCB9887C, + 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65, + 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2, + 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB, + 0x4369E96A, 0x346ED9FC, 0xAD678846, 0xDA60B8D0, + 0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9, + 0x5005713C, 0x270241AA, 0xBE0B1010, 0xC90C2086, + 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F, + 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4, + 0x59B33D17, 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD, + 0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A, + 0xEAD54739, 0x9DD277AF, 0x04DB2615, 0x73DC1683, + 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8, + 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1, + 0xF00F9344, 0x8708A3D2, 0x1E01F268, 0x6906C2FE, + 0xF762575D, 0x806567CB, 0x196C3671, 0x6E6B06E7, + 0xFED41B76, 0x89D32BE0, 0x10DA7A5A, 0x67DD4ACC, + 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5, + 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252, + 0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B, + 0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60, + 0xDF60EFC3, 0xA867DF55, 0x316E8EEF, 0x4669BE79, + 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236, + 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F, + 0xC5BA3BBE, 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04, + 0xC2D7FFA7, 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D, + 0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A, + 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713, + 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38, + 0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21, + 0x86D3D2D4, 0xF1D4E242, 0x68DDB3F8, 0x1FDA836E, + 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777, + 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C, + 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45, + 0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2, + 0xA7672661, 0xD06016F7, 0x4969474D, 0x3E6E77DB, + 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, 0x37D83BF0, + 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9, + 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6, + 0xBAD03605, 0xCDD70693, 0x54DE5729, 0x23D967BF, + 0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94, + 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D, +]; +var lookupTable = (0, util_1.uint32ArrayFrom)(a_lookUpTable); +var aws_crc32_1 = require("./aws_crc32"); +Object.defineProperty(exports, "AwsCrc32", { enumerable: true, get: function () { return aws_crc32_1.AwsCrc32; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/crc32/build/main/index.js.map b/node_modules/@aws-crypto/crc32/build/main/index.js.map new file mode 100644 index 0000000..940f6aa --- /dev/null +++ b/node_modules/@aws-crypto/crc32/build/main/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;AAAA,yCAAiD;AAEjD,SAAgB,KAAK,CAAC,IAAgB;IACpC,OAAO,IAAI,KAAK,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC;AAC3C,CAAC;AAFD,sBAEC;AAED;IAAA;QACU,aAAQ,GAAG,UAAU,CAAC;IAchC,CAAC;IAZC,sBAAM,GAAN,UAAO,IAAgB;;;YACrB,KAAmB,IAAA,SAAA,iBAAA,IAAI,CAAA,0BAAA,4CAAE;gBAApB,IAAM,IAAI,iBAAA;gBACb,IAAI,CAAC,QAAQ;oBACX,CAAC,IAAI,CAAC,QAAQ,KAAK,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC;aACtE;;;;;;;;;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAED,sBAAM,GAAN;QACE,OAAO,CAAC,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;IAC5C,CAAC;IACH,YAAC;AAAD,CAAC,AAfD,IAeC;AAfY,sBAAK;AAiBlB,kBAAkB;AAClB,IAAM,aAAa,GAAG;IACpB,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;CAC/C,CAAC;AACF,IAAM,WAAW,GAAgB,IAAA,sBAAe,EAAC,aAAa,CAAC,CAAA;AAC/D,yCAAuC;AAA9B,qGAAA,QAAQ,OAAA"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/crc32/build/module/aws_crc32.d.ts b/node_modules/@aws-crypto/crc32/build/module/aws_crc32.d.ts new file mode 100644 index 0000000..c91c2a5 --- /dev/null +++ b/node_modules/@aws-crypto/crc32/build/module/aws_crc32.d.ts @@ -0,0 +1,7 @@ +import { SourceData, Checksum } from "@aws-sdk/types"; +export declare class AwsCrc32 implements Checksum { + private crc32; + update(toHash: SourceData): void; + digest(): Promise; + reset(): void; +} diff --git a/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js b/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js new file mode 100644 index 0000000..4e916e6 --- /dev/null +++ b/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js @@ -0,0 +1,28 @@ +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +import { __awaiter, __generator } from "tslib"; +import { convertToBuffer, isEmptyData, numToUint8 } from "@aws-crypto/util"; +import { Crc32 } from "./index"; +var AwsCrc32 = /** @class */ (function () { + function AwsCrc32() { + this.crc32 = new Crc32(); + } + AwsCrc32.prototype.update = function (toHash) { + if (isEmptyData(toHash)) + return; + this.crc32.update(convertToBuffer(toHash)); + }; + AwsCrc32.prototype.digest = function () { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + return [2 /*return*/, numToUint8(this.crc32.digest())]; + }); + }); + }; + AwsCrc32.prototype.reset = function () { + this.crc32 = new Crc32(); + }; + return AwsCrc32; +}()); +export { AwsCrc32 }; +//# sourceMappingURL=aws_crc32.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js.map b/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js.map new file mode 100644 index 0000000..1a113cc --- /dev/null +++ b/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js.map @@ -0,0 +1 @@ +{"version":3,"file":"aws_crc32.js","sourceRoot":"","sources":["../../src/aws_crc32.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,sCAAsC;;AAGtC,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC;IAAA;QACU,UAAK,GAAG,IAAI,KAAK,EAAE,CAAC;IAe9B,CAAC;IAbC,yBAAM,GAAN,UAAO,MAAkB;QACvB,IAAI,WAAW,CAAC,MAAM,CAAC;YAAE,OAAO;QAEhC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7C,CAAC;IAEK,yBAAM,GAAZ;;;gBACE,sBAAO,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,EAAC;;;KACxC;IAED,wBAAK,GAAL;QACE,IAAI,CAAC,KAAK,GAAG,IAAI,KAAK,EAAE,CAAC;IAC3B,CAAC;IACH,eAAC;AAAD,CAAC,AAhBD,IAgBC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/crc32/build/module/index.d.ts b/node_modules/@aws-crypto/crc32/build/module/index.d.ts new file mode 100644 index 0000000..7521071 --- /dev/null +++ b/node_modules/@aws-crypto/crc32/build/module/index.d.ts @@ -0,0 +1,7 @@ +export declare function crc32(data: Uint8Array): number; +export declare class Crc32 { + private checksum; + update(data: Uint8Array): this; + digest(): number; +} +export { AwsCrc32 } from "./aws_crc32"; diff --git a/node_modules/@aws-crypto/crc32/build/module/index.js b/node_modules/@aws-crypto/crc32/build/module/index.js new file mode 100644 index 0000000..00df32d --- /dev/null +++ b/node_modules/@aws-crypto/crc32/build/module/index.js @@ -0,0 +1,103 @@ +import { __values } from "tslib"; +import { uint32ArrayFrom } from "@aws-crypto/util"; +export function crc32(data) { + return new Crc32().update(data).digest(); +} +var Crc32 = /** @class */ (function () { + function Crc32() { + this.checksum = 0xffffffff; + } + Crc32.prototype.update = function (data) { + var e_1, _a; + try { + for (var data_1 = __values(data), data_1_1 = data_1.next(); !data_1_1.done; data_1_1 = data_1.next()) { + var byte = data_1_1.value; + this.checksum = + (this.checksum >>> 8) ^ lookupTable[(this.checksum ^ byte) & 0xff]; + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (data_1_1 && !data_1_1.done && (_a = data_1.return)) _a.call(data_1); + } + finally { if (e_1) throw e_1.error; } + } + return this; + }; + Crc32.prototype.digest = function () { + return (this.checksum ^ 0xffffffff) >>> 0; + }; + return Crc32; +}()); +export { Crc32 }; +// prettier-ignore +var a_lookUpTable = [ + 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, + 0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3, + 0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988, + 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91, + 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE, + 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7, + 0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC, + 0x14015C4F, 0x63066CD9, 0xFA0F3D63, 0x8D080DF5, + 0x3B6E20C8, 0x4C69105E, 0xD56041E4, 0xA2677172, + 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B, + 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940, + 0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59, + 0x26D930AC, 0x51DE003A, 0xC8D75180, 0xBFD06116, + 0x21B4F4B5, 0x56B3C423, 0xCFBA9599, 0xB8BDA50F, + 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924, + 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D, + 0x76DC4190, 0x01DB7106, 0x98D220BC, 0xEFD5102A, + 0x71B18589, 0x06B6B51F, 0x9FBFE4A5, 0xE8B8D433, + 0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818, + 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01, + 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E, + 0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457, + 0x65B0D9C6, 0x12B7E950, 0x8BBEB8EA, 0xFCB9887C, + 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65, + 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2, + 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB, + 0x4369E96A, 0x346ED9FC, 0xAD678846, 0xDA60B8D0, + 0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9, + 0x5005713C, 0x270241AA, 0xBE0B1010, 0xC90C2086, + 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F, + 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4, + 0x59B33D17, 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD, + 0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A, + 0xEAD54739, 0x9DD277AF, 0x04DB2615, 0x73DC1683, + 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8, + 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1, + 0xF00F9344, 0x8708A3D2, 0x1E01F268, 0x6906C2FE, + 0xF762575D, 0x806567CB, 0x196C3671, 0x6E6B06E7, + 0xFED41B76, 0x89D32BE0, 0x10DA7A5A, 0x67DD4ACC, + 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5, + 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252, + 0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B, + 0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60, + 0xDF60EFC3, 0xA867DF55, 0x316E8EEF, 0x4669BE79, + 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236, + 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F, + 0xC5BA3BBE, 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04, + 0xC2D7FFA7, 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D, + 0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A, + 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713, + 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38, + 0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21, + 0x86D3D2D4, 0xF1D4E242, 0x68DDB3F8, 0x1FDA836E, + 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777, + 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C, + 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45, + 0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2, + 0xA7672661, 0xD06016F7, 0x4969474D, 0x3E6E77DB, + 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, 0x37D83BF0, + 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9, + 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6, + 0xBAD03605, 0xCDD70693, 0x54DE5729, 0x23D967BF, + 0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94, + 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D, +]; +var lookupTable = uint32ArrayFrom(a_lookUpTable); +export { AwsCrc32 } from "./aws_crc32"; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/crc32/build/module/index.js.map b/node_modules/@aws-crypto/crc32/build/module/index.js.map new file mode 100644 index 0000000..87b2d5e --- /dev/null +++ b/node_modules/@aws-crypto/crc32/build/module/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AAEjD,MAAM,UAAU,KAAK,CAAC,IAAgB;IACpC,OAAO,IAAI,KAAK,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC;AAC3C,CAAC;AAED;IAAA;QACU,aAAQ,GAAG,UAAU,CAAC;IAchC,CAAC;IAZC,sBAAM,GAAN,UAAO,IAAgB;;;YACrB,KAAmB,IAAA,SAAA,SAAA,IAAI,CAAA,0BAAA,4CAAE;gBAApB,IAAM,IAAI,iBAAA;gBACb,IAAI,CAAC,QAAQ;oBACX,CAAC,IAAI,CAAC,QAAQ,KAAK,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC;aACtE;;;;;;;;;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAED,sBAAM,GAAN;QACE,OAAO,CAAC,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;IAC5C,CAAC;IACH,YAAC;AAAD,CAAC,AAfD,IAeC;;AAED,kBAAkB;AAClB,IAAM,aAAa,GAAG;IACpB,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9C,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;CAC/C,CAAC;AACF,IAAM,WAAW,GAAgB,eAAe,CAAC,aAAa,CAAC,CAAA;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/crc32/package.json b/node_modules/@aws-crypto/crc32/package.json new file mode 100644 index 0000000..9e83975 --- /dev/null +++ b/node_modules/@aws-crypto/crc32/package.json @@ -0,0 +1,32 @@ +{ + "name": "@aws-crypto/crc32", + "version": "5.2.0", + "scripts": { + "prepublishOnly": "tsc -p tsconfig.json && tsc -p tsconfig.module.json", + "pretest": "tsc -p tsconfig.test.json", + "test": "mocha --require ts-node/register test/**/*test.ts" + }, + "main": "./build/main/index.js", + "module": "./build/module/index.js", + "types": "./build/main/index.d.ts", + "repository": { + "type": "git", + "url": "git@github.com:aws/aws-sdk-js-crypto-helpers.git" + }, + "author": { + "name": "AWS Crypto Tools Team", + "email": "aws-cryptools@amazon.com", + "url": "https://docs.aws.amazon.com/aws-crypto-tools/index.html?id=docs_gateway#lang/en_us" + }, + "homepage": "https://github.com/aws/aws-sdk-js-crypto-helpers/tree/master/packages/crc32", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/util": "^5.2.0", + "@aws-sdk/types": "^3.222.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=16.0.0" + }, + "gitHead": "c11b171b35ec5c093364f0e0d8dc4ab1af68e748" +} diff --git a/node_modules/@aws-crypto/crc32/src/aws_crc32.ts b/node_modules/@aws-crypto/crc32/src/aws_crc32.ts new file mode 100644 index 0000000..bee48c9 --- /dev/null +++ b/node_modules/@aws-crypto/crc32/src/aws_crc32.ts @@ -0,0 +1,24 @@ +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +import { SourceData, Checksum } from "@aws-sdk/types"; +import { convertToBuffer, isEmptyData, numToUint8 } from "@aws-crypto/util"; +import { Crc32 } from "./index"; + +export class AwsCrc32 implements Checksum { + private crc32 = new Crc32(); + + update(toHash: SourceData) { + if (isEmptyData(toHash)) return; + + this.crc32.update(convertToBuffer(toHash)); + } + + async digest(): Promise { + return numToUint8(this.crc32.digest()); + } + + reset(): void { + this.crc32 = new Crc32(); + } +} diff --git a/node_modules/@aws-crypto/crc32/src/index.ts b/node_modules/@aws-crypto/crc32/src/index.ts new file mode 100644 index 0000000..4762386 --- /dev/null +++ b/node_modules/@aws-crypto/crc32/src/index.ts @@ -0,0 +1,92 @@ +import {uint32ArrayFrom} from "@aws-crypto/util"; + +export function crc32(data: Uint8Array): number { + return new Crc32().update(data).digest(); +} + +export class Crc32 { + private checksum = 0xffffffff; + + update(data: Uint8Array): this { + for (const byte of data) { + this.checksum = + (this.checksum >>> 8) ^ lookupTable[(this.checksum ^ byte) & 0xff]; + } + + return this; + } + + digest(): number { + return (this.checksum ^ 0xffffffff) >>> 0; + } +} + +// prettier-ignore +const a_lookUpTable = [ + 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, + 0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3, + 0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988, + 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91, + 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE, + 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7, + 0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC, + 0x14015C4F, 0x63066CD9, 0xFA0F3D63, 0x8D080DF5, + 0x3B6E20C8, 0x4C69105E, 0xD56041E4, 0xA2677172, + 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B, + 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940, + 0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59, + 0x26D930AC, 0x51DE003A, 0xC8D75180, 0xBFD06116, + 0x21B4F4B5, 0x56B3C423, 0xCFBA9599, 0xB8BDA50F, + 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924, + 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D, + 0x76DC4190, 0x01DB7106, 0x98D220BC, 0xEFD5102A, + 0x71B18589, 0x06B6B51F, 0x9FBFE4A5, 0xE8B8D433, + 0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818, + 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01, + 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E, + 0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457, + 0x65B0D9C6, 0x12B7E950, 0x8BBEB8EA, 0xFCB9887C, + 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65, + 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2, + 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB, + 0x4369E96A, 0x346ED9FC, 0xAD678846, 0xDA60B8D0, + 0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9, + 0x5005713C, 0x270241AA, 0xBE0B1010, 0xC90C2086, + 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F, + 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4, + 0x59B33D17, 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD, + 0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A, + 0xEAD54739, 0x9DD277AF, 0x04DB2615, 0x73DC1683, + 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8, + 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1, + 0xF00F9344, 0x8708A3D2, 0x1E01F268, 0x6906C2FE, + 0xF762575D, 0x806567CB, 0x196C3671, 0x6E6B06E7, + 0xFED41B76, 0x89D32BE0, 0x10DA7A5A, 0x67DD4ACC, + 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5, + 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252, + 0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B, + 0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60, + 0xDF60EFC3, 0xA867DF55, 0x316E8EEF, 0x4669BE79, + 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236, + 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F, + 0xC5BA3BBE, 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04, + 0xC2D7FFA7, 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D, + 0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A, + 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713, + 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38, + 0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21, + 0x86D3D2D4, 0xF1D4E242, 0x68DDB3F8, 0x1FDA836E, + 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777, + 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C, + 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45, + 0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2, + 0xA7672661, 0xD06016F7, 0x4969474D, 0x3E6E77DB, + 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, 0x37D83BF0, + 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9, + 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6, + 0xBAD03605, 0xCDD70693, 0x54DE5729, 0x23D967BF, + 0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94, + 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D, +]; +const lookupTable: Uint32Array = uint32ArrayFrom(a_lookUpTable) +export { AwsCrc32 } from "./aws_crc32"; diff --git a/node_modules/@aws-crypto/crc32/tsconfig.json b/node_modules/@aws-crypto/crc32/tsconfig.json new file mode 100644 index 0000000..2b996d0 --- /dev/null +++ b/node_modules/@aws-crypto/crc32/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "rootDir": "./src", + "outDir": "./build/main", + }, + "include": ["src/**/*.ts"], + "exclude": ["node_modules/**"] +} diff --git a/node_modules/@aws-crypto/crc32/tsconfig.module.json b/node_modules/@aws-crypto/crc32/tsconfig.module.json new file mode 100644 index 0000000..7d0cfdd --- /dev/null +++ b/node_modules/@aws-crypto/crc32/tsconfig.module.json @@ -0,0 +1,7 @@ +{ + "extends": "./tsconfig", + "compilerOptions": { + "outDir": "build/module", + "module": "esnext", + } +} diff --git a/node_modules/@aws-crypto/crc32c/CHANGELOG.md b/node_modules/@aws-crypto/crc32c/CHANGELOG.md new file mode 100644 index 0000000..f3a9ea6 --- /dev/null +++ b/node_modules/@aws-crypto/crc32c/CHANGELOG.md @@ -0,0 +1,76 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [5.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.1.0...v5.2.0) (2023-10-16) + +### Features + +- support ESM artifacts in all packages ([#752](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/752)) ([e930ffb](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/e930ffba5cfef66dd242049e7d514ced232c1e3b)) + +# [5.1.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.0.0...v5.1.0) (2023-09-22) + +### Bug Fixes + +- Update tsc to 2.x ([#735](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/735)) ([782e0de](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/782e0de9f5fef41f694130580a69d940894b6b8c)) + +### Features + +- Use @smithy/util-utf8 ([#730](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/730)) ([00fb851](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/00fb851ca3559d5a1f370f9256814de1210826b8)), closes [#699](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/699) + +# [5.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v4.0.1...v5.0.0) (2023-07-13) + +**Note:** Version bump only for package @aws-crypto/crc32c + +# [4.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v3.0.0...v4.0.0) (2023-02-20) + +**Note:** Version bump only for package @aws-crypto/crc32c + +# [3.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.2...v3.0.0) (2023-01-12) + +- feat!: replace Hash implementations with Checksum interface (#492) ([da43dc0](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/da43dc0fdf669d9ebb5bfb1b1f7c79e46c4aaae1)), closes [#492](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/492) + +### BREAKING CHANGES + +- All classes that implemented `Hash` now implement `Checksum`. + +## [2.0.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.1...v2.0.2) (2022-09-07) + +### Bug Fixes + +- **#337:** update @aws-sdk/types ([#373](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/373)) ([b26a811](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/b26a811a392f5209c7ec7e57251500d4d78f97ff)), closes [#337](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/337) + +## [2.0.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.0...v2.0.1) (2021-12-09) + +**Note:** Version bump only for package @aws-crypto/crc32c + +# [2.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.2...v2.0.0) (2021-10-25) + +**Note:** Version bump only for package @aws-crypto/crc32c + +## [1.2.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.1...v1.2.2) (2021-10-12) + +### Bug Fixes + +- **crc32c:** ie11 does not support Array.from ([#221](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/221)) ([5f49547](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/5f495472ab8988cf203e0f2a70a51f7e1fcd7e60)) + +## [1.2.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.0...v1.2.1) (2021-09-17) + +**Note:** Version bump only for package @aws-crypto/crc32c + +# [1.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.1.1...v1.2.0) (2021-09-17) + +### Features + +- Add AwsCrc32C Hash ([4840c83](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/4840c83bdd7c461dded777ebc45a8f99258ba21c)) + +## [0.2.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32c@0.2.0...@aws-crypto/crc32c@0.2.1) (2021-08-24) + +**Note:** Version bump only for package @aws-crypto/crc32c + +# 0.2.0 (2021-08-11) + +### Features + +- Create CRC-32C implementation ([#201](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/201)) ([e43c7ec](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/e43c7ecd30d6499fa696f5839ecc30502a34b8b6)) diff --git a/node_modules/@aws-crypto/crc32c/LICENSE b/node_modules/@aws-crypto/crc32c/LICENSE new file mode 100644 index 0000000..980a15a --- /dev/null +++ b/node_modules/@aws-crypto/crc32c/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@aws-crypto/crc32c/README.md b/node_modules/@aws-crypto/crc32c/README.md new file mode 100644 index 0000000..2b8ef80 --- /dev/null +++ b/node_modules/@aws-crypto/crc32c/README.md @@ -0,0 +1,16 @@ +# @aws-crypto/crc32c + +Pure JS implementation of CRC32-C https://en.wikipedia.org/wiki/Cyclic_redundancy_check + +## Usage + +``` +import { Crc32c } from '@aws-crypto/crc32c'; + +const crc32Digest = (new Crc32c).update(buffer).digest() + +``` + +## Test + +`npm test` diff --git a/node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.d.ts b/node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.d.ts new file mode 100644 index 0000000..3e28b90 --- /dev/null +++ b/node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.d.ts @@ -0,0 +1,7 @@ +import { Checksum, SourceData } from "@aws-sdk/types"; +export declare class AwsCrc32c implements Checksum { + private crc32c; + update(toHash: SourceData): void; + digest(): Promise; + reset(): void; +} diff --git a/node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js b/node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js new file mode 100644 index 0000000..a133809 --- /dev/null +++ b/node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js @@ -0,0 +1,31 @@ +"use strict"; +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AwsCrc32c = void 0; +var tslib_1 = require("tslib"); +var util_1 = require("@aws-crypto/util"); +var index_1 = require("./index"); +var AwsCrc32c = /** @class */ (function () { + function AwsCrc32c() { + this.crc32c = new index_1.Crc32c(); + } + AwsCrc32c.prototype.update = function (toHash) { + if ((0, util_1.isEmptyData)(toHash)) + return; + this.crc32c.update((0, util_1.convertToBuffer)(toHash)); + }; + AwsCrc32c.prototype.digest = function () { + return tslib_1.__awaiter(this, void 0, void 0, function () { + return tslib_1.__generator(this, function (_a) { + return [2 /*return*/, (0, util_1.numToUint8)(this.crc32c.digest())]; + }); + }); + }; + AwsCrc32c.prototype.reset = function () { + this.crc32c = new index_1.Crc32c(); + }; + return AwsCrc32c; +}()); +exports.AwsCrc32c = AwsCrc32c; +//# sourceMappingURL=aws_crc32c.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js.map b/node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js.map new file mode 100644 index 0000000..05c15e7 --- /dev/null +++ b/node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js.map @@ -0,0 +1 @@ +{"version":3,"file":"aws_crc32c.js","sourceRoot":"","sources":["../../src/aws_crc32c.ts"],"names":[],"mappings":";AAAA,oEAAoE;AACpE,sCAAsC;;;;AAGtC,yCAA4E;AAC5E,iCAAiC;AAEjC;IAAA;QACU,WAAM,GAAG,IAAI,cAAM,EAAE,CAAC;IAehC,CAAC;IAbC,0BAAM,GAAN,UAAO,MAAkB;QACvB,IAAI,IAAA,kBAAW,EAAC,MAAM,CAAC;YAAE,OAAO;QAEhC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAA,sBAAe,EAAC,MAAM,CAAC,CAAC,CAAC;IAC9C,CAAC;IAEK,0BAAM,GAAZ;;;gBACE,sBAAO,IAAA,iBAAU,EAAC,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,EAAC;;;KACzC;IAED,yBAAK,GAAL;QACE,IAAI,CAAC,MAAM,GAAG,IAAI,cAAM,EAAE,CAAC;IAC7B,CAAC;IACH,gBAAC;AAAD,CAAC,AAhBD,IAgBC;AAhBY,8BAAS"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/crc32c/build/main/index.d.ts b/node_modules/@aws-crypto/crc32c/build/main/index.d.ts new file mode 100644 index 0000000..eba3d9f --- /dev/null +++ b/node_modules/@aws-crypto/crc32c/build/main/index.d.ts @@ -0,0 +1,7 @@ +export declare function crc32c(data: Uint8Array): number; +export declare class Crc32c { + private checksum; + update(data: Uint8Array): this; + digest(): number; +} +export { AwsCrc32c } from "./aws_crc32c"; diff --git a/node_modules/@aws-crypto/crc32c/build/main/index.js b/node_modules/@aws-crypto/crc32c/build/main/index.js new file mode 100644 index 0000000..3a1af55 --- /dev/null +++ b/node_modules/@aws-crypto/crc32c/build/main/index.js @@ -0,0 +1,78 @@ +"use strict"; +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AwsCrc32c = exports.Crc32c = exports.crc32c = void 0; +var tslib_1 = require("tslib"); +var util_1 = require("@aws-crypto/util"); +function crc32c(data) { + return new Crc32c().update(data).digest(); +} +exports.crc32c = crc32c; +var Crc32c = /** @class */ (function () { + function Crc32c() { + this.checksum = 0xffffffff; + } + Crc32c.prototype.update = function (data) { + var e_1, _a; + try { + for (var data_1 = tslib_1.__values(data), data_1_1 = data_1.next(); !data_1_1.done; data_1_1 = data_1.next()) { + var byte = data_1_1.value; + this.checksum = + (this.checksum >>> 8) ^ lookupTable[(this.checksum ^ byte) & 0xff]; + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (data_1_1 && !data_1_1.done && (_a = data_1.return)) _a.call(data_1); + } + finally { if (e_1) throw e_1.error; } + } + return this; + }; + Crc32c.prototype.digest = function () { + return (this.checksum ^ 0xffffffff) >>> 0; + }; + return Crc32c; +}()); +exports.Crc32c = Crc32c; +// prettier-ignore +var a_lookupTable = [ + 0x00000000, 0xF26B8303, 0xE13B70F7, 0x1350F3F4, 0xC79A971F, 0x35F1141C, 0x26A1E7E8, 0xD4CA64EB, + 0x8AD958CF, 0x78B2DBCC, 0x6BE22838, 0x9989AB3B, 0x4D43CFD0, 0xBF284CD3, 0xAC78BF27, 0x5E133C24, + 0x105EC76F, 0xE235446C, 0xF165B798, 0x030E349B, 0xD7C45070, 0x25AFD373, 0x36FF2087, 0xC494A384, + 0x9A879FA0, 0x68EC1CA3, 0x7BBCEF57, 0x89D76C54, 0x5D1D08BF, 0xAF768BBC, 0xBC267848, 0x4E4DFB4B, + 0x20BD8EDE, 0xD2D60DDD, 0xC186FE29, 0x33ED7D2A, 0xE72719C1, 0x154C9AC2, 0x061C6936, 0xF477EA35, + 0xAA64D611, 0x580F5512, 0x4B5FA6E6, 0xB93425E5, 0x6DFE410E, 0x9F95C20D, 0x8CC531F9, 0x7EAEB2FA, + 0x30E349B1, 0xC288CAB2, 0xD1D83946, 0x23B3BA45, 0xF779DEAE, 0x05125DAD, 0x1642AE59, 0xE4292D5A, + 0xBA3A117E, 0x4851927D, 0x5B016189, 0xA96AE28A, 0x7DA08661, 0x8FCB0562, 0x9C9BF696, 0x6EF07595, + 0x417B1DBC, 0xB3109EBF, 0xA0406D4B, 0x522BEE48, 0x86E18AA3, 0x748A09A0, 0x67DAFA54, 0x95B17957, + 0xCBA24573, 0x39C9C670, 0x2A993584, 0xD8F2B687, 0x0C38D26C, 0xFE53516F, 0xED03A29B, 0x1F682198, + 0x5125DAD3, 0xA34E59D0, 0xB01EAA24, 0x42752927, 0x96BF4DCC, 0x64D4CECF, 0x77843D3B, 0x85EFBE38, + 0xDBFC821C, 0x2997011F, 0x3AC7F2EB, 0xC8AC71E8, 0x1C661503, 0xEE0D9600, 0xFD5D65F4, 0x0F36E6F7, + 0x61C69362, 0x93AD1061, 0x80FDE395, 0x72966096, 0xA65C047D, 0x5437877E, 0x4767748A, 0xB50CF789, + 0xEB1FCBAD, 0x197448AE, 0x0A24BB5A, 0xF84F3859, 0x2C855CB2, 0xDEEEDFB1, 0xCDBE2C45, 0x3FD5AF46, + 0x7198540D, 0x83F3D70E, 0x90A324FA, 0x62C8A7F9, 0xB602C312, 0x44694011, 0x5739B3E5, 0xA55230E6, + 0xFB410CC2, 0x092A8FC1, 0x1A7A7C35, 0xE811FF36, 0x3CDB9BDD, 0xCEB018DE, 0xDDE0EB2A, 0x2F8B6829, + 0x82F63B78, 0x709DB87B, 0x63CD4B8F, 0x91A6C88C, 0x456CAC67, 0xB7072F64, 0xA457DC90, 0x563C5F93, + 0x082F63B7, 0xFA44E0B4, 0xE9141340, 0x1B7F9043, 0xCFB5F4A8, 0x3DDE77AB, 0x2E8E845F, 0xDCE5075C, + 0x92A8FC17, 0x60C37F14, 0x73938CE0, 0x81F80FE3, 0x55326B08, 0xA759E80B, 0xB4091BFF, 0x466298FC, + 0x1871A4D8, 0xEA1A27DB, 0xF94AD42F, 0x0B21572C, 0xDFEB33C7, 0x2D80B0C4, 0x3ED04330, 0xCCBBC033, + 0xA24BB5A6, 0x502036A5, 0x4370C551, 0xB11B4652, 0x65D122B9, 0x97BAA1BA, 0x84EA524E, 0x7681D14D, + 0x2892ED69, 0xDAF96E6A, 0xC9A99D9E, 0x3BC21E9D, 0xEF087A76, 0x1D63F975, 0x0E330A81, 0xFC588982, + 0xB21572C9, 0x407EF1CA, 0x532E023E, 0xA145813D, 0x758FE5D6, 0x87E466D5, 0x94B49521, 0x66DF1622, + 0x38CC2A06, 0xCAA7A905, 0xD9F75AF1, 0x2B9CD9F2, 0xFF56BD19, 0x0D3D3E1A, 0x1E6DCDEE, 0xEC064EED, + 0xC38D26C4, 0x31E6A5C7, 0x22B65633, 0xD0DDD530, 0x0417B1DB, 0xF67C32D8, 0xE52CC12C, 0x1747422F, + 0x49547E0B, 0xBB3FFD08, 0xA86F0EFC, 0x5A048DFF, 0x8ECEE914, 0x7CA56A17, 0x6FF599E3, 0x9D9E1AE0, + 0xD3D3E1AB, 0x21B862A8, 0x32E8915C, 0xC083125F, 0x144976B4, 0xE622F5B7, 0xF5720643, 0x07198540, + 0x590AB964, 0xAB613A67, 0xB831C993, 0x4A5A4A90, 0x9E902E7B, 0x6CFBAD78, 0x7FAB5E8C, 0x8DC0DD8F, + 0xE330A81A, 0x115B2B19, 0x020BD8ED, 0xF0605BEE, 0x24AA3F05, 0xD6C1BC06, 0xC5914FF2, 0x37FACCF1, + 0x69E9F0D5, 0x9B8273D6, 0x88D28022, 0x7AB90321, 0xAE7367CA, 0x5C18E4C9, 0x4F48173D, 0xBD23943E, + 0xF36E6F75, 0x0105EC76, 0x12551F82, 0xE03E9C81, 0x34F4F86A, 0xC69F7B69, 0xD5CF889D, 0x27A40B9E, + 0x79B737BA, 0x8BDCB4B9, 0x988C474D, 0x6AE7C44E, 0xBE2DA0A5, 0x4C4623A6, 0x5F16D052, 0xAD7D5351, +]; +var lookupTable = (0, util_1.uint32ArrayFrom)(a_lookupTable); +var aws_crc32c_1 = require("./aws_crc32c"); +Object.defineProperty(exports, "AwsCrc32c", { enumerable: true, get: function () { return aws_crc32c_1.AwsCrc32c; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/crc32c/build/main/index.js.map b/node_modules/@aws-crypto/crc32c/build/main/index.js.map new file mode 100644 index 0000000..2025d27 --- /dev/null +++ b/node_modules/@aws-crypto/crc32c/build/main/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,oEAAoE;AACpE,sCAAsC;;;;AAEtC,yCAAiD;AAEjD,SAAgB,MAAM,CAAC,IAAgB;IACrC,OAAO,IAAI,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC;AAC5C,CAAC;AAFD,wBAEC;AAED;IAAA;QACU,aAAQ,GAAG,UAAU,CAAC;IAchC,CAAC;IAZC,uBAAM,GAAN,UAAO,IAAgB;;;YACrB,KAAmB,IAAA,SAAA,iBAAA,IAAI,CAAA,0BAAA,4CAAE;gBAApB,IAAM,IAAI,iBAAA;gBACb,IAAI,CAAC,QAAQ;oBACX,CAAC,IAAI,CAAC,QAAQ,KAAK,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC;aACtE;;;;;;;;;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAED,uBAAM,GAAN;QACE,OAAO,CAAC,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;IAC5C,CAAC;IACH,aAAC;AAAD,CAAC,AAfD,IAeC;AAfY,wBAAM;AAiBnB,kBAAkB;AAClB,IAAM,aAAa,GAAG;IACpB,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;CAC/F,CAAC;AAEF,IAAM,WAAW,GAAgB,IAAA,sBAAe,EAAC,aAAa,CAAC,CAAA;AAC/D,2CAAyC;AAAhC,uGAAA,SAAS,OAAA"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/crc32c/build/module/aws_crc32c.d.ts b/node_modules/@aws-crypto/crc32c/build/module/aws_crc32c.d.ts new file mode 100644 index 0000000..3e28b90 --- /dev/null +++ b/node_modules/@aws-crypto/crc32c/build/module/aws_crc32c.d.ts @@ -0,0 +1,7 @@ +import { Checksum, SourceData } from "@aws-sdk/types"; +export declare class AwsCrc32c implements Checksum { + private crc32c; + update(toHash: SourceData): void; + digest(): Promise; + reset(): void; +} diff --git a/node_modules/@aws-crypto/crc32c/build/module/aws_crc32c.js b/node_modules/@aws-crypto/crc32c/build/module/aws_crc32c.js new file mode 100644 index 0000000..00b9779 --- /dev/null +++ b/node_modules/@aws-crypto/crc32c/build/module/aws_crc32c.js @@ -0,0 +1,28 @@ +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +import { __awaiter, __generator } from "tslib"; +import { convertToBuffer, isEmptyData, numToUint8 } from "@aws-crypto/util"; +import { Crc32c } from "./index"; +var AwsCrc32c = /** @class */ (function () { + function AwsCrc32c() { + this.crc32c = new Crc32c(); + } + AwsCrc32c.prototype.update = function (toHash) { + if (isEmptyData(toHash)) + return; + this.crc32c.update(convertToBuffer(toHash)); + }; + AwsCrc32c.prototype.digest = function () { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + return [2 /*return*/, numToUint8(this.crc32c.digest())]; + }); + }); + }; + AwsCrc32c.prototype.reset = function () { + this.crc32c = new Crc32c(); + }; + return AwsCrc32c; +}()); +export { AwsCrc32c }; +//# sourceMappingURL=aws_crc32c.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/crc32c/build/module/aws_crc32c.js.map b/node_modules/@aws-crypto/crc32c/build/module/aws_crc32c.js.map new file mode 100644 index 0000000..6959f35 --- /dev/null +++ b/node_modules/@aws-crypto/crc32c/build/module/aws_crc32c.js.map @@ -0,0 +1 @@ +{"version":3,"file":"aws_crc32c.js","sourceRoot":"","sources":["../../src/aws_crc32c.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,sCAAsC;;AAGtC,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC;IAAA;QACU,WAAM,GAAG,IAAI,MAAM,EAAE,CAAC;IAehC,CAAC;IAbC,0BAAM,GAAN,UAAO,MAAkB;QACvB,IAAI,WAAW,CAAC,MAAM,CAAC;YAAE,OAAO;QAEhC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;IAC9C,CAAC;IAEK,0BAAM,GAAZ;;;gBACE,sBAAO,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,EAAC;;;KACzC;IAED,yBAAK,GAAL;QACE,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC;IAC7B,CAAC;IACH,gBAAC;AAAD,CAAC,AAhBD,IAgBC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/crc32c/build/module/index.d.ts b/node_modules/@aws-crypto/crc32c/build/module/index.d.ts new file mode 100644 index 0000000..eba3d9f --- /dev/null +++ b/node_modules/@aws-crypto/crc32c/build/module/index.d.ts @@ -0,0 +1,7 @@ +export declare function crc32c(data: Uint8Array): number; +export declare class Crc32c { + private checksum; + update(data: Uint8Array): this; + digest(): number; +} +export { AwsCrc32c } from "./aws_crc32c"; diff --git a/node_modules/@aws-crypto/crc32c/build/module/index.js b/node_modules/@aws-crypto/crc32c/build/module/index.js new file mode 100644 index 0000000..609aa97 --- /dev/null +++ b/node_modules/@aws-crypto/crc32c/build/module/index.js @@ -0,0 +1,73 @@ +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +import { __values } from "tslib"; +import { uint32ArrayFrom } from "@aws-crypto/util"; +export function crc32c(data) { + return new Crc32c().update(data).digest(); +} +var Crc32c = /** @class */ (function () { + function Crc32c() { + this.checksum = 0xffffffff; + } + Crc32c.prototype.update = function (data) { + var e_1, _a; + try { + for (var data_1 = __values(data), data_1_1 = data_1.next(); !data_1_1.done; data_1_1 = data_1.next()) { + var byte = data_1_1.value; + this.checksum = + (this.checksum >>> 8) ^ lookupTable[(this.checksum ^ byte) & 0xff]; + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (data_1_1 && !data_1_1.done && (_a = data_1.return)) _a.call(data_1); + } + finally { if (e_1) throw e_1.error; } + } + return this; + }; + Crc32c.prototype.digest = function () { + return (this.checksum ^ 0xffffffff) >>> 0; + }; + return Crc32c; +}()); +export { Crc32c }; +// prettier-ignore +var a_lookupTable = [ + 0x00000000, 0xF26B8303, 0xE13B70F7, 0x1350F3F4, 0xC79A971F, 0x35F1141C, 0x26A1E7E8, 0xD4CA64EB, + 0x8AD958CF, 0x78B2DBCC, 0x6BE22838, 0x9989AB3B, 0x4D43CFD0, 0xBF284CD3, 0xAC78BF27, 0x5E133C24, + 0x105EC76F, 0xE235446C, 0xF165B798, 0x030E349B, 0xD7C45070, 0x25AFD373, 0x36FF2087, 0xC494A384, + 0x9A879FA0, 0x68EC1CA3, 0x7BBCEF57, 0x89D76C54, 0x5D1D08BF, 0xAF768BBC, 0xBC267848, 0x4E4DFB4B, + 0x20BD8EDE, 0xD2D60DDD, 0xC186FE29, 0x33ED7D2A, 0xE72719C1, 0x154C9AC2, 0x061C6936, 0xF477EA35, + 0xAA64D611, 0x580F5512, 0x4B5FA6E6, 0xB93425E5, 0x6DFE410E, 0x9F95C20D, 0x8CC531F9, 0x7EAEB2FA, + 0x30E349B1, 0xC288CAB2, 0xD1D83946, 0x23B3BA45, 0xF779DEAE, 0x05125DAD, 0x1642AE59, 0xE4292D5A, + 0xBA3A117E, 0x4851927D, 0x5B016189, 0xA96AE28A, 0x7DA08661, 0x8FCB0562, 0x9C9BF696, 0x6EF07595, + 0x417B1DBC, 0xB3109EBF, 0xA0406D4B, 0x522BEE48, 0x86E18AA3, 0x748A09A0, 0x67DAFA54, 0x95B17957, + 0xCBA24573, 0x39C9C670, 0x2A993584, 0xD8F2B687, 0x0C38D26C, 0xFE53516F, 0xED03A29B, 0x1F682198, + 0x5125DAD3, 0xA34E59D0, 0xB01EAA24, 0x42752927, 0x96BF4DCC, 0x64D4CECF, 0x77843D3B, 0x85EFBE38, + 0xDBFC821C, 0x2997011F, 0x3AC7F2EB, 0xC8AC71E8, 0x1C661503, 0xEE0D9600, 0xFD5D65F4, 0x0F36E6F7, + 0x61C69362, 0x93AD1061, 0x80FDE395, 0x72966096, 0xA65C047D, 0x5437877E, 0x4767748A, 0xB50CF789, + 0xEB1FCBAD, 0x197448AE, 0x0A24BB5A, 0xF84F3859, 0x2C855CB2, 0xDEEEDFB1, 0xCDBE2C45, 0x3FD5AF46, + 0x7198540D, 0x83F3D70E, 0x90A324FA, 0x62C8A7F9, 0xB602C312, 0x44694011, 0x5739B3E5, 0xA55230E6, + 0xFB410CC2, 0x092A8FC1, 0x1A7A7C35, 0xE811FF36, 0x3CDB9BDD, 0xCEB018DE, 0xDDE0EB2A, 0x2F8B6829, + 0x82F63B78, 0x709DB87B, 0x63CD4B8F, 0x91A6C88C, 0x456CAC67, 0xB7072F64, 0xA457DC90, 0x563C5F93, + 0x082F63B7, 0xFA44E0B4, 0xE9141340, 0x1B7F9043, 0xCFB5F4A8, 0x3DDE77AB, 0x2E8E845F, 0xDCE5075C, + 0x92A8FC17, 0x60C37F14, 0x73938CE0, 0x81F80FE3, 0x55326B08, 0xA759E80B, 0xB4091BFF, 0x466298FC, + 0x1871A4D8, 0xEA1A27DB, 0xF94AD42F, 0x0B21572C, 0xDFEB33C7, 0x2D80B0C4, 0x3ED04330, 0xCCBBC033, + 0xA24BB5A6, 0x502036A5, 0x4370C551, 0xB11B4652, 0x65D122B9, 0x97BAA1BA, 0x84EA524E, 0x7681D14D, + 0x2892ED69, 0xDAF96E6A, 0xC9A99D9E, 0x3BC21E9D, 0xEF087A76, 0x1D63F975, 0x0E330A81, 0xFC588982, + 0xB21572C9, 0x407EF1CA, 0x532E023E, 0xA145813D, 0x758FE5D6, 0x87E466D5, 0x94B49521, 0x66DF1622, + 0x38CC2A06, 0xCAA7A905, 0xD9F75AF1, 0x2B9CD9F2, 0xFF56BD19, 0x0D3D3E1A, 0x1E6DCDEE, 0xEC064EED, + 0xC38D26C4, 0x31E6A5C7, 0x22B65633, 0xD0DDD530, 0x0417B1DB, 0xF67C32D8, 0xE52CC12C, 0x1747422F, + 0x49547E0B, 0xBB3FFD08, 0xA86F0EFC, 0x5A048DFF, 0x8ECEE914, 0x7CA56A17, 0x6FF599E3, 0x9D9E1AE0, + 0xD3D3E1AB, 0x21B862A8, 0x32E8915C, 0xC083125F, 0x144976B4, 0xE622F5B7, 0xF5720643, 0x07198540, + 0x590AB964, 0xAB613A67, 0xB831C993, 0x4A5A4A90, 0x9E902E7B, 0x6CFBAD78, 0x7FAB5E8C, 0x8DC0DD8F, + 0xE330A81A, 0x115B2B19, 0x020BD8ED, 0xF0605BEE, 0x24AA3F05, 0xD6C1BC06, 0xC5914FF2, 0x37FACCF1, + 0x69E9F0D5, 0x9B8273D6, 0x88D28022, 0x7AB90321, 0xAE7367CA, 0x5C18E4C9, 0x4F48173D, 0xBD23943E, + 0xF36E6F75, 0x0105EC76, 0x12551F82, 0xE03E9C81, 0x34F4F86A, 0xC69F7B69, 0xD5CF889D, 0x27A40B9E, + 0x79B737BA, 0x8BDCB4B9, 0x988C474D, 0x6AE7C44E, 0xBE2DA0A5, 0x4C4623A6, 0x5F16D052, 0xAD7D5351, +]; +var lookupTable = uint32ArrayFrom(a_lookupTable); +export { AwsCrc32c } from "./aws_crc32c"; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/crc32c/build/module/index.js.map b/node_modules/@aws-crypto/crc32c/build/module/index.js.map new file mode 100644 index 0000000..4a69957 --- /dev/null +++ b/node_modules/@aws-crypto/crc32c/build/module/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,sCAAsC;;AAEtC,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AAEjD,MAAM,UAAU,MAAM,CAAC,IAAgB;IACrC,OAAO,IAAI,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC;AAC5C,CAAC;AAED;IAAA;QACU,aAAQ,GAAG,UAAU,CAAC;IAchC,CAAC;IAZC,uBAAM,GAAN,UAAO,IAAgB;;;YACrB,KAAmB,IAAA,SAAA,SAAA,IAAI,CAAA,0BAAA,4CAAE;gBAApB,IAAM,IAAI,iBAAA;gBACb,IAAI,CAAC,QAAQ;oBACX,CAAC,IAAI,CAAC,QAAQ,KAAK,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC;aACtE;;;;;;;;;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAED,uBAAM,GAAN;QACE,OAAO,CAAC,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;IAC5C,CAAC;IACH,aAAC;AAAD,CAAC,AAfD,IAeC;;AAED,kBAAkB;AAClB,IAAM,aAAa,GAAG;IACpB,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;CAC/F,CAAC;AAEF,IAAM,WAAW,GAAgB,eAAe,CAAC,aAAa,CAAC,CAAA;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/crc32c/package.json b/node_modules/@aws-crypto/crc32c/package.json new file mode 100644 index 0000000..1862d9e --- /dev/null +++ b/node_modules/@aws-crypto/crc32c/package.json @@ -0,0 +1,32 @@ +{ + "name": "@aws-crypto/crc32c", + "version": "5.2.0", + "scripts": { + "prepublishOnly": "tsc -p tsconfig.json && tsc -p tsconfig.module.json", + "pretest": "tsc -p tsconfig.test.json", + "test": "mocha --require ts-node/register test/**/*test.ts" + }, + "main": "./build/main/index.js", + "module": "./build/module/index.js", + "types": "./build/main/index.d.ts", + "repository": { + "type": "git", + "url": "git@github.com:aws/aws-sdk-js-crypto-helpers.git" + }, + "author": { + "name": "AWS Crypto Tools Team", + "email": "aws-cryptools@amazon.com", + "url": "https://docs.aws.amazon.com/aws-crypto-tools/index.html?id=docs_gateway#lang/en_us" + }, + "homepage": "https://github.com/aws/aws-sdk-js-crypto-helpers/tree/master/packages/crc32c", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/util": "^5.2.0", + "@aws-sdk/types": "^3.222.0", + "tslib": "^2.6.2" + }, + "publishConfig": { + "access": "public" + }, + "gitHead": "c11b171b35ec5c093364f0e0d8dc4ab1af68e748" +} diff --git a/node_modules/@aws-crypto/crc32c/src/aws_crc32c.ts b/node_modules/@aws-crypto/crc32c/src/aws_crc32c.ts new file mode 100644 index 0000000..0108cb3 --- /dev/null +++ b/node_modules/@aws-crypto/crc32c/src/aws_crc32c.ts @@ -0,0 +1,24 @@ +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +import { Checksum, SourceData } from "@aws-sdk/types"; +import { convertToBuffer, isEmptyData, numToUint8 } from "@aws-crypto/util"; +import { Crc32c } from "./index"; + +export class AwsCrc32c implements Checksum { + private crc32c = new Crc32c(); + + update(toHash: SourceData) { + if (isEmptyData(toHash)) return; + + this.crc32c.update(convertToBuffer(toHash)); + } + + async digest(): Promise { + return numToUint8(this.crc32c.digest()); + } + + reset(): void { + this.crc32c = new Crc32c(); + } +} diff --git a/node_modules/@aws-crypto/crc32c/src/index.ts b/node_modules/@aws-crypto/crc32c/src/index.ts new file mode 100644 index 0000000..83a7824 --- /dev/null +++ b/node_modules/@aws-crypto/crc32c/src/index.ts @@ -0,0 +1,64 @@ +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +import {uint32ArrayFrom} from "@aws-crypto/util"; + +export function crc32c(data: Uint8Array): number { + return new Crc32c().update(data).digest(); +} + +export class Crc32c { + private checksum = 0xffffffff; + + update(data: Uint8Array): this { + for (const byte of data) { + this.checksum = + (this.checksum >>> 8) ^ lookupTable[(this.checksum ^ byte) & 0xff]; + } + + return this; + } + + digest(): number { + return (this.checksum ^ 0xffffffff) >>> 0; + } +} + +// prettier-ignore +const a_lookupTable = [ + 0x00000000, 0xF26B8303, 0xE13B70F7, 0x1350F3F4, 0xC79A971F, 0x35F1141C, 0x26A1E7E8, 0xD4CA64EB, + 0x8AD958CF, 0x78B2DBCC, 0x6BE22838, 0x9989AB3B, 0x4D43CFD0, 0xBF284CD3, 0xAC78BF27, 0x5E133C24, + 0x105EC76F, 0xE235446C, 0xF165B798, 0x030E349B, 0xD7C45070, 0x25AFD373, 0x36FF2087, 0xC494A384, + 0x9A879FA0, 0x68EC1CA3, 0x7BBCEF57, 0x89D76C54, 0x5D1D08BF, 0xAF768BBC, 0xBC267848, 0x4E4DFB4B, + 0x20BD8EDE, 0xD2D60DDD, 0xC186FE29, 0x33ED7D2A, 0xE72719C1, 0x154C9AC2, 0x061C6936, 0xF477EA35, + 0xAA64D611, 0x580F5512, 0x4B5FA6E6, 0xB93425E5, 0x6DFE410E, 0x9F95C20D, 0x8CC531F9, 0x7EAEB2FA, + 0x30E349B1, 0xC288CAB2, 0xD1D83946, 0x23B3BA45, 0xF779DEAE, 0x05125DAD, 0x1642AE59, 0xE4292D5A, + 0xBA3A117E, 0x4851927D, 0x5B016189, 0xA96AE28A, 0x7DA08661, 0x8FCB0562, 0x9C9BF696, 0x6EF07595, + 0x417B1DBC, 0xB3109EBF, 0xA0406D4B, 0x522BEE48, 0x86E18AA3, 0x748A09A0, 0x67DAFA54, 0x95B17957, + 0xCBA24573, 0x39C9C670, 0x2A993584, 0xD8F2B687, 0x0C38D26C, 0xFE53516F, 0xED03A29B, 0x1F682198, + 0x5125DAD3, 0xA34E59D0, 0xB01EAA24, 0x42752927, 0x96BF4DCC, 0x64D4CECF, 0x77843D3B, 0x85EFBE38, + 0xDBFC821C, 0x2997011F, 0x3AC7F2EB, 0xC8AC71E8, 0x1C661503, 0xEE0D9600, 0xFD5D65F4, 0x0F36E6F7, + 0x61C69362, 0x93AD1061, 0x80FDE395, 0x72966096, 0xA65C047D, 0x5437877E, 0x4767748A, 0xB50CF789, + 0xEB1FCBAD, 0x197448AE, 0x0A24BB5A, 0xF84F3859, 0x2C855CB2, 0xDEEEDFB1, 0xCDBE2C45, 0x3FD5AF46, + 0x7198540D, 0x83F3D70E, 0x90A324FA, 0x62C8A7F9, 0xB602C312, 0x44694011, 0x5739B3E5, 0xA55230E6, + 0xFB410CC2, 0x092A8FC1, 0x1A7A7C35, 0xE811FF36, 0x3CDB9BDD, 0xCEB018DE, 0xDDE0EB2A, 0x2F8B6829, + 0x82F63B78, 0x709DB87B, 0x63CD4B8F, 0x91A6C88C, 0x456CAC67, 0xB7072F64, 0xA457DC90, 0x563C5F93, + 0x082F63B7, 0xFA44E0B4, 0xE9141340, 0x1B7F9043, 0xCFB5F4A8, 0x3DDE77AB, 0x2E8E845F, 0xDCE5075C, + 0x92A8FC17, 0x60C37F14, 0x73938CE0, 0x81F80FE3, 0x55326B08, 0xA759E80B, 0xB4091BFF, 0x466298FC, + 0x1871A4D8, 0xEA1A27DB, 0xF94AD42F, 0x0B21572C, 0xDFEB33C7, 0x2D80B0C4, 0x3ED04330, 0xCCBBC033, + 0xA24BB5A6, 0x502036A5, 0x4370C551, 0xB11B4652, 0x65D122B9, 0x97BAA1BA, 0x84EA524E, 0x7681D14D, + 0x2892ED69, 0xDAF96E6A, 0xC9A99D9E, 0x3BC21E9D, 0xEF087A76, 0x1D63F975, 0x0E330A81, 0xFC588982, + 0xB21572C9, 0x407EF1CA, 0x532E023E, 0xA145813D, 0x758FE5D6, 0x87E466D5, 0x94B49521, 0x66DF1622, + 0x38CC2A06, 0xCAA7A905, 0xD9F75AF1, 0x2B9CD9F2, 0xFF56BD19, 0x0D3D3E1A, 0x1E6DCDEE, 0xEC064EED, + 0xC38D26C4, 0x31E6A5C7, 0x22B65633, 0xD0DDD530, 0x0417B1DB, 0xF67C32D8, 0xE52CC12C, 0x1747422F, + 0x49547E0B, 0xBB3FFD08, 0xA86F0EFC, 0x5A048DFF, 0x8ECEE914, 0x7CA56A17, 0x6FF599E3, 0x9D9E1AE0, + 0xD3D3E1AB, 0x21B862A8, 0x32E8915C, 0xC083125F, 0x144976B4, 0xE622F5B7, 0xF5720643, 0x07198540, + 0x590AB964, 0xAB613A67, 0xB831C993, 0x4A5A4A90, 0x9E902E7B, 0x6CFBAD78, 0x7FAB5E8C, 0x8DC0DD8F, + 0xE330A81A, 0x115B2B19, 0x020BD8ED, 0xF0605BEE, 0x24AA3F05, 0xD6C1BC06, 0xC5914FF2, 0x37FACCF1, + 0x69E9F0D5, 0x9B8273D6, 0x88D28022, 0x7AB90321, 0xAE7367CA, 0x5C18E4C9, 0x4F48173D, 0xBD23943E, + 0xF36E6F75, 0x0105EC76, 0x12551F82, 0xE03E9C81, 0x34F4F86A, 0xC69F7B69, 0xD5CF889D, 0x27A40B9E, + 0x79B737BA, 0x8BDCB4B9, 0x988C474D, 0x6AE7C44E, 0xBE2DA0A5, 0x4C4623A6, 0x5F16D052, 0xAD7D5351, +]; + +const lookupTable: Uint32Array = uint32ArrayFrom(a_lookupTable) +export { AwsCrc32c } from "./aws_crc32c"; diff --git a/node_modules/@aws-crypto/crc32c/tsconfig.json b/node_modules/@aws-crypto/crc32c/tsconfig.json new file mode 100644 index 0000000..2b996d0 --- /dev/null +++ b/node_modules/@aws-crypto/crc32c/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "rootDir": "./src", + "outDir": "./build/main", + }, + "include": ["src/**/*.ts"], + "exclude": ["node_modules/**"] +} diff --git a/node_modules/@aws-crypto/crc32c/tsconfig.module.json b/node_modules/@aws-crypto/crc32c/tsconfig.module.json new file mode 100644 index 0000000..7d0cfdd --- /dev/null +++ b/node_modules/@aws-crypto/crc32c/tsconfig.module.json @@ -0,0 +1,7 @@ +{ + "extends": "./tsconfig", + "compilerOptions": { + "outDir": "build/module", + "module": "esnext", + } +} diff --git a/node_modules/@aws-crypto/sha1-browser/CHANGELOG.md b/node_modules/@aws-crypto/sha1-browser/CHANGELOG.md new file mode 100644 index 0000000..fc58d4d --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/CHANGELOG.md @@ -0,0 +1,62 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [5.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.1.0...v5.2.0) (2023-10-16) + +### Features + +- support ESM artifacts in all packages ([#752](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/752)) ([e930ffb](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/e930ffba5cfef66dd242049e7d514ced232c1e3b)) + +# [5.1.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.0.0...v5.1.0) (2023-09-22) + +### Bug Fixes + +- Update tsc to 2.x ([#735](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/735)) ([782e0de](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/782e0de9f5fef41f694130580a69d940894b6b8c)) + +### Features + +- Use @smithy/util-utf8 ([#730](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/730)) ([00fb851](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/00fb851ca3559d5a1f370f9256814de1210826b8)), closes [#699](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/699) + +# [5.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v4.0.1...v5.0.0) (2023-07-13) + +- feat!: drop support for IE 11 (#629) ([6c49fb6](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/6c49fb6c1b1f18bbff02dbd77a37a21bdb40c959)), closes [#629](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/629) + +### BREAKING CHANGES + +- Remove support for IE11 + +Co-authored-by: texastony <5892063+texastony@users.noreply.github.com> + +# [4.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v3.0.0...v4.0.0) (2023-02-20) + +**Note:** Version bump only for package @aws-crypto/sha1-browser + +# [3.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.2...v3.0.0) (2023-01-12) + +- feat!: replace Hash implementations with Checksum interface (#492) ([da43dc0](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/da43dc0fdf669d9ebb5bfb1b1f7c79e46c4aaae1)), closes [#492](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/492) + +### BREAKING CHANGES + +- All classes that implemented `Hash` now implement `Checksum`. + +## [2.0.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.1...v2.0.2) (2022-09-07) + +### Bug Fixes + +- **#337:** update @aws-sdk/types ([#373](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/373)) ([b26a811](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/b26a811a392f5209c7ec7e57251500d4d78f97ff)), closes [#337](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/337) + +# [2.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.2...v2.0.0) (2021-10-25) + +**Note:** Version bump only for package @aws-crypto/sha1-browser + +# [1.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.1.1...v1.2.0) (2021-09-17) + +### Bug Fixes + +- Adding ie11-detection dependency to sha1-browser ([#213](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/213)) ([138750d](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/138750d96385b8cc479b6f54c500ee1b5380648c)) + +### Features + +- Add SHA1 ([#208](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/208)) ([45c50ff](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/45c50ffa3acc9e3bf4039ab59a0102e4d40455ec)) diff --git a/node_modules/@aws-crypto/sha1-browser/LICENSE b/node_modules/@aws-crypto/sha1-browser/LICENSE new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@aws-crypto/sha1-browser/README.md b/node_modules/@aws-crypto/sha1-browser/README.md new file mode 100644 index 0000000..e03244f --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/README.md @@ -0,0 +1,21 @@ +# @aws-crypto/sha1-browser + +SHA1 wrapper for browsers that prefers `window.crypto.subtle`. + +SHA1 is **NOT** a cryptographically secure algorithm. +It should _only_ be used for non cryptographic functions like checksums. + +## Usage + +``` +import {Sha1} from '@aws-crypto/sha1-browser' + +const hash = new Sha1(); +hash.update('some data'); +const result = await hash.digest(); + +``` + +## Test + +`npm test` diff --git a/node_modules/@aws-crypto/sha1-browser/build/main/constants.d.ts b/node_modules/@aws-crypto/sha1-browser/build/main/constants.d.ts new file mode 100644 index 0000000..bc52bca --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/main/constants.d.ts @@ -0,0 +1,10 @@ +export declare const SHA_1_HASH: { + name: "SHA-1"; +}; +export declare const SHA_1_HMAC_ALGO: { + name: "HMAC"; + hash: { + name: "SHA-1"; + }; +}; +export declare const EMPTY_DATA_SHA_1: Uint8Array; diff --git a/node_modules/@aws-crypto/sha1-browser/build/main/constants.js b/node_modules/@aws-crypto/sha1-browser/build/main/constants.js new file mode 100644 index 0000000..cd34041 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/main/constants.js @@ -0,0 +1,31 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.EMPTY_DATA_SHA_1 = exports.SHA_1_HMAC_ALGO = exports.SHA_1_HASH = void 0; +exports.SHA_1_HASH = { name: "SHA-1" }; +exports.SHA_1_HMAC_ALGO = { + name: "HMAC", + hash: exports.SHA_1_HASH, +}; +exports.EMPTY_DATA_SHA_1 = new Uint8Array([ + 218, + 57, + 163, + 238, + 94, + 107, + 75, + 13, + 50, + 85, + 191, + 239, + 149, + 96, + 24, + 144, + 175, + 216, + 7, + 9, +]); +//# sourceMappingURL=constants.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/build/main/constants.js.map b/node_modules/@aws-crypto/sha1-browser/build/main/constants.js.map new file mode 100644 index 0000000..9817c12 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/main/constants.js.map @@ -0,0 +1 @@ +{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAsB,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AAElD,QAAA,eAAe,GAA8C;IACxE,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,kBAAU;CACjB,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAI,UAAU,CAAC;IAC7C,GAAG;IACH,EAAE;IACF,GAAG;IACH,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,GAAG;IACH,GAAG;IACH,GAAG;IACH,EAAE;IACF,EAAE;IACF,GAAG;IACH,GAAG;IACH,GAAG;IACH,CAAC;IACD,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/build/main/crossPlatformSha1.d.ts b/node_modules/@aws-crypto/sha1-browser/build/main/crossPlatformSha1.d.ts new file mode 100644 index 0000000..0a16bc8 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/main/crossPlatformSha1.d.ts @@ -0,0 +1,8 @@ +import { Checksum, SourceData } from "@aws-sdk/types"; +export declare class Sha1 implements Checksum { + private hash; + constructor(secret?: SourceData); + update(data: SourceData, encoding?: "utf8" | "ascii" | "latin1"): void; + digest(): Promise; + reset(): void; +} diff --git a/node_modules/@aws-crypto/sha1-browser/build/main/crossPlatformSha1.js b/node_modules/@aws-crypto/sha1-browser/build/main/crossPlatformSha1.js new file mode 100644 index 0000000..2f37ced --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/main/crossPlatformSha1.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Sha1 = void 0; +var webCryptoSha1_1 = require("./webCryptoSha1"); +var supports_web_crypto_1 = require("@aws-crypto/supports-web-crypto"); +var util_locate_window_1 = require("@aws-sdk/util-locate-window"); +var util_1 = require("@aws-crypto/util"); +var Sha1 = /** @class */ (function () { + function Sha1(secret) { + if ((0, supports_web_crypto_1.supportsWebCrypto)((0, util_locate_window_1.locateWindow)())) { + this.hash = new webCryptoSha1_1.Sha1(secret); + } + else { + throw new Error("SHA1 not supported"); + } + } + Sha1.prototype.update = function (data, encoding) { + this.hash.update((0, util_1.convertToBuffer)(data)); + }; + Sha1.prototype.digest = function () { + return this.hash.digest(); + }; + Sha1.prototype.reset = function () { + this.hash.reset(); + }; + return Sha1; +}()); +exports.Sha1 = Sha1; +//# sourceMappingURL=crossPlatformSha1.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/build/main/crossPlatformSha1.js.map b/node_modules/@aws-crypto/sha1-browser/build/main/crossPlatformSha1.js.map new file mode 100644 index 0000000..d686f6b --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/main/crossPlatformSha1.js.map @@ -0,0 +1 @@ +{"version":3,"file":"crossPlatformSha1.js","sourceRoot":"","sources":["../../src/crossPlatformSha1.ts"],"names":[],"mappings":";;;AAAA,iDAAwD;AAExD,uEAAoE;AACpE,kEAA2D;AAC3D,yCAAmD;AAEnD;IAGE,cAAY,MAAmB;QAC7B,IAAI,IAAA,uCAAiB,EAAC,IAAA,iCAAY,GAAE,CAAC,EAAE;YACrC,IAAI,CAAC,IAAI,GAAG,IAAI,oBAAa,CAAC,MAAM,CAAC,CAAC;SACvC;aAAM;YACL,MAAM,IAAI,KAAK,CAAC,oBAAoB,CAAC,CAAC;SACvC;IACH,CAAC;IAED,qBAAM,GAAN,UAAO,IAAgB,EAAE,QAAsC;QAC7D,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,IAAA,sBAAe,EAAC,IAAI,CAAC,CAAC,CAAC;IAC1C,CAAC;IAED,qBAAM,GAAN;QACE,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;IAC5B,CAAC;IAED,oBAAK,GAAL;QACE,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;IACpB,CAAC;IACH,WAAC;AAAD,CAAC,AAtBD,IAsBC;AAtBY,oBAAI"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/build/main/index.d.ts b/node_modules/@aws-crypto/sha1-browser/build/main/index.d.ts new file mode 100644 index 0000000..1b6072d --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/main/index.d.ts @@ -0,0 +1,2 @@ +export * from "./crossPlatformSha1"; +export { Sha1 as WebCryptoSha1 } from "./webCryptoSha1"; diff --git a/node_modules/@aws-crypto/sha1-browser/build/main/index.js b/node_modules/@aws-crypto/sha1-browser/build/main/index.js new file mode 100644 index 0000000..0d44549 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/main/index.js @@ -0,0 +1,8 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.WebCryptoSha1 = void 0; +var tslib_1 = require("tslib"); +tslib_1.__exportStar(require("./crossPlatformSha1"), exports); +var webCryptoSha1_1 = require("./webCryptoSha1"); +Object.defineProperty(exports, "WebCryptoSha1", { enumerable: true, get: function () { return webCryptoSha1_1.Sha1; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/build/main/index.js.map b/node_modules/@aws-crypto/sha1-browser/build/main/index.js.map new file mode 100644 index 0000000..bca6f29 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/main/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;AAAA,8DAAoC;AACpC,iDAAwD;AAA/C,8GAAA,IAAI,OAAiB"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/build/main/isEmptyData.d.ts b/node_modules/@aws-crypto/sha1-browser/build/main/isEmptyData.d.ts new file mode 100644 index 0000000..43ae4a7 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/main/isEmptyData.d.ts @@ -0,0 +1,2 @@ +import { SourceData } from "@aws-sdk/types"; +export declare function isEmptyData(data: SourceData): boolean; diff --git a/node_modules/@aws-crypto/sha1-browser/build/main/isEmptyData.js b/node_modules/@aws-crypto/sha1-browser/build/main/isEmptyData.js new file mode 100644 index 0000000..fe91548 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/main/isEmptyData.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.isEmptyData = void 0; +function isEmptyData(data) { + if (typeof data === "string") { + return data.length === 0; + } + return data.byteLength === 0; +} +exports.isEmptyData = isEmptyData; +//# sourceMappingURL=isEmptyData.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/build/main/isEmptyData.js.map b/node_modules/@aws-crypto/sha1-browser/build/main/isEmptyData.js.map new file mode 100644 index 0000000..20ccfd6 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/main/isEmptyData.js.map @@ -0,0 +1 @@ +{"version":3,"file":"isEmptyData.js","sourceRoot":"","sources":["../../src/isEmptyData.ts"],"names":[],"mappings":";;;AAEA,SAAgB,WAAW,CAAC,IAAgB;IAC1C,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QAC5B,OAAO,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC;KAC1B;IAED,OAAO,IAAI,CAAC,UAAU,KAAK,CAAC,CAAC;AAC/B,CAAC;AAND,kCAMC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/build/main/webCryptoSha1.d.ts b/node_modules/@aws-crypto/sha1-browser/build/main/webCryptoSha1.d.ts new file mode 100644 index 0000000..a9d1b03 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/main/webCryptoSha1.d.ts @@ -0,0 +1,9 @@ +import { Checksum, SourceData } from "@aws-sdk/types"; +export declare class Sha1 implements Checksum { + private readonly key; + private toHash; + constructor(secret?: SourceData); + update(data: SourceData): void; + digest(): Promise; + reset(): void; +} diff --git a/node_modules/@aws-crypto/sha1-browser/build/main/webCryptoSha1.js b/node_modules/@aws-crypto/sha1-browser/build/main/webCryptoSha1.js new file mode 100644 index 0000000..2bd961d --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/main/webCryptoSha1.js @@ -0,0 +1,61 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Sha1 = void 0; +var util_utf8_1 = require("@smithy/util-utf8"); +var isEmptyData_1 = require("./isEmptyData"); +var constants_1 = require("./constants"); +var util_locate_window_1 = require("@aws-sdk/util-locate-window"); +var Sha1 = /** @class */ (function () { + function Sha1(secret) { + this.toHash = new Uint8Array(0); + if (secret !== void 0) { + this.key = new Promise(function (resolve, reject) { + (0, util_locate_window_1.locateWindow)() + .crypto.subtle.importKey("raw", convertToBuffer(secret), constants_1.SHA_1_HMAC_ALGO, false, ["sign"]) + .then(resolve, reject); + }); + this.key.catch(function () { }); + } + } + Sha1.prototype.update = function (data) { + if ((0, isEmptyData_1.isEmptyData)(data)) { + return; + } + var update = convertToBuffer(data); + var typedArray = new Uint8Array(this.toHash.byteLength + update.byteLength); + typedArray.set(this.toHash, 0); + typedArray.set(update, this.toHash.byteLength); + this.toHash = typedArray; + }; + Sha1.prototype.digest = function () { + var _this = this; + if (this.key) { + return this.key.then(function (key) { + return (0, util_locate_window_1.locateWindow)() + .crypto.subtle.sign(constants_1.SHA_1_HMAC_ALGO, key, _this.toHash) + .then(function (data) { return new Uint8Array(data); }); + }); + } + if ((0, isEmptyData_1.isEmptyData)(this.toHash)) { + return Promise.resolve(constants_1.EMPTY_DATA_SHA_1); + } + return Promise.resolve() + .then(function () { return (0, util_locate_window_1.locateWindow)().crypto.subtle.digest(constants_1.SHA_1_HASH, _this.toHash); }) + .then(function (data) { return Promise.resolve(new Uint8Array(data)); }); + }; + Sha1.prototype.reset = function () { + this.toHash = new Uint8Array(0); + }; + return Sha1; +}()); +exports.Sha1 = Sha1; +function convertToBuffer(data) { + if (typeof data === "string") { + return (0, util_utf8_1.fromUtf8)(data); + } + if (ArrayBuffer.isView(data)) { + return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT); + } + return new Uint8Array(data); +} +//# sourceMappingURL=webCryptoSha1.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/build/main/webCryptoSha1.js.map b/node_modules/@aws-crypto/sha1-browser/build/main/webCryptoSha1.js.map new file mode 100644 index 0000000..c150a32 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/main/webCryptoSha1.js.map @@ -0,0 +1 @@ +{"version":3,"file":"webCryptoSha1.js","sourceRoot":"","sources":["../../src/webCryptoSha1.ts"],"names":[],"mappings":";;;AACA,+CAA6C;AAC7C,6CAA4C;AAC5C,yCAA4E;AAC5E,kEAA2D;AAE3D;IAIE,cAAY,MAAmB;QAFvB,WAAM,GAAe,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;QAG7C,IAAI,MAAM,KAAK,KAAK,CAAC,EAAE;YACrB,IAAI,CAAC,GAAG,GAAG,IAAI,OAAO,CAAC,UAAC,OAAO,EAAE,MAAM;gBACrC,IAAA,iCAAY,GAAE;qBACX,MAAM,CAAC,MAAM,CAAC,SAAS,CACtB,KAAK,EACL,eAAe,CAAC,MAAM,CAAC,EACvB,2BAAe,EACf,KAAK,EACL,CAAC,MAAM,CAAC,CACT;qBACA,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;YAC3B,CAAC,CAAC,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,cAAO,CAAC,CAAC,CAAC;SAC1B;IACH,CAAC;IAED,qBAAM,GAAN,UAAO,IAAgB;QACrB,IAAI,IAAA,yBAAW,EAAC,IAAI,CAAC,EAAE;YACrB,OAAO;SACR;QAED,IAAM,MAAM,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;QACrC,IAAM,UAAU,GAAG,IAAI,UAAU,CAC/B,IAAI,CAAC,MAAM,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAC3C,CAAC;QACF,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;QAC/B,UAAU,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAC/C,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC;IAC3B,CAAC;IAED,qBAAM,GAAN;QAAA,iBAgBC;QAfC,IAAI,IAAI,CAAC,GAAG,EAAE;YACZ,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,UAAC,GAAG;gBACvB,OAAA,IAAA,iCAAY,GAAE;qBACX,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,2BAAe,EAAE,GAAG,EAAE,KAAI,CAAC,MAAM,CAAC;qBACrD,IAAI,CAAC,UAAC,IAAI,IAAK,OAAA,IAAI,UAAU,CAAC,IAAI,CAAC,EAApB,CAAoB,CAAC;YAFvC,CAEuC,CACxC,CAAC;SACH;QAED,IAAI,IAAA,yBAAW,EAAC,IAAI,CAAC,MAAM,CAAC,EAAE;YAC5B,OAAO,OAAO,CAAC,OAAO,CAAC,4BAAgB,CAAC,CAAC;SAC1C;QAED,OAAO,OAAO,CAAC,OAAO,EAAE;aACrB,IAAI,CAAC,cAAM,OAAA,IAAA,iCAAY,GAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,sBAAU,EAAE,KAAI,CAAC,MAAM,CAAC,EAA5D,CAA4D,CAAC;aACxE,IAAI,CAAC,UAAC,IAAI,IAAK,OAAA,OAAO,CAAC,OAAO,CAAC,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,EAArC,CAAqC,CAAC,CAAC;IAC3D,CAAC;IAED,oBAAK,GAAL;QACE,IAAI,CAAC,MAAM,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;IAClC,CAAC;IACH,WAAC;AAAD,CAAC,AAxDD,IAwDC;AAxDY,oBAAI;AA0DjB,SAAS,eAAe,CAAC,IAAgB;IACvC,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QAC5B,OAAO,IAAA,oBAAQ,EAAC,IAAI,CAAC,CAAC;KACvB;IAED,IAAI,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;QAC5B,OAAO,IAAI,UAAU,CACnB,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,iBAAiB,CAC/C,CAAC;KACH;IAED,OAAO,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/build/module/constants.d.ts b/node_modules/@aws-crypto/sha1-browser/build/module/constants.d.ts new file mode 100644 index 0000000..bc52bca --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/module/constants.d.ts @@ -0,0 +1,10 @@ +export declare const SHA_1_HASH: { + name: "SHA-1"; +}; +export declare const SHA_1_HMAC_ALGO: { + name: "HMAC"; + hash: { + name: "SHA-1"; + }; +}; +export declare const EMPTY_DATA_SHA_1: Uint8Array; diff --git a/node_modules/@aws-crypto/sha1-browser/build/module/constants.js b/node_modules/@aws-crypto/sha1-browser/build/module/constants.js new file mode 100644 index 0000000..f4f9585 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/module/constants.js @@ -0,0 +1,28 @@ +export var SHA_1_HASH = { name: "SHA-1" }; +export var SHA_1_HMAC_ALGO = { + name: "HMAC", + hash: SHA_1_HASH, +}; +export var EMPTY_DATA_SHA_1 = new Uint8Array([ + 218, + 57, + 163, + 238, + 94, + 107, + 75, + 13, + 50, + 85, + 191, + 239, + 149, + 96, + 24, + 144, + 175, + 216, + 7, + 9, +]); +//# sourceMappingURL=constants.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/build/module/constants.js.map b/node_modules/@aws-crypto/sha1-browser/build/module/constants.js.map new file mode 100644 index 0000000..3d4d3e4 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/module/constants.js.map @@ -0,0 +1 @@ +{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,UAAU,GAAsB,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AAE/D,MAAM,CAAC,IAAM,eAAe,GAA8C;IACxE,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,UAAU;CACjB,CAAC;AAEF,MAAM,CAAC,IAAM,gBAAgB,GAAG,IAAI,UAAU,CAAC;IAC7C,GAAG;IACH,EAAE;IACF,GAAG;IACH,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,GAAG;IACH,GAAG;IACH,GAAG;IACH,EAAE;IACF,EAAE;IACF,GAAG;IACH,GAAG;IACH,GAAG;IACH,CAAC;IACD,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/build/module/crossPlatformSha1.d.ts b/node_modules/@aws-crypto/sha1-browser/build/module/crossPlatformSha1.d.ts new file mode 100644 index 0000000..0a16bc8 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/module/crossPlatformSha1.d.ts @@ -0,0 +1,8 @@ +import { Checksum, SourceData } from "@aws-sdk/types"; +export declare class Sha1 implements Checksum { + private hash; + constructor(secret?: SourceData); + update(data: SourceData, encoding?: "utf8" | "ascii" | "latin1"): void; + digest(): Promise; + reset(): void; +} diff --git a/node_modules/@aws-crypto/sha1-browser/build/module/crossPlatformSha1.js b/node_modules/@aws-crypto/sha1-browser/build/module/crossPlatformSha1.js new file mode 100644 index 0000000..0bf91c1 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/module/crossPlatformSha1.js @@ -0,0 +1,26 @@ +import { Sha1 as WebCryptoSha1 } from "./webCryptoSha1"; +import { supportsWebCrypto } from "@aws-crypto/supports-web-crypto"; +import { locateWindow } from "@aws-sdk/util-locate-window"; +import { convertToBuffer } from "@aws-crypto/util"; +var Sha1 = /** @class */ (function () { + function Sha1(secret) { + if (supportsWebCrypto(locateWindow())) { + this.hash = new WebCryptoSha1(secret); + } + else { + throw new Error("SHA1 not supported"); + } + } + Sha1.prototype.update = function (data, encoding) { + this.hash.update(convertToBuffer(data)); + }; + Sha1.prototype.digest = function () { + return this.hash.digest(); + }; + Sha1.prototype.reset = function () { + this.hash.reset(); + }; + return Sha1; +}()); +export { Sha1 }; +//# sourceMappingURL=crossPlatformSha1.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/build/module/crossPlatformSha1.js.map b/node_modules/@aws-crypto/sha1-browser/build/module/crossPlatformSha1.js.map new file mode 100644 index 0000000..63fefec --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/module/crossPlatformSha1.js.map @@ -0,0 +1 @@ +{"version":3,"file":"crossPlatformSha1.js","sourceRoot":"","sources":["../../src/crossPlatformSha1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAExD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD;IAGE,cAAY,MAAmB;QAC7B,IAAI,iBAAiB,CAAC,YAAY,EAAE,CAAC,EAAE;YACrC,IAAI,CAAC,IAAI,GAAG,IAAI,aAAa,CAAC,MAAM,CAAC,CAAC;SACvC;aAAM;YACL,MAAM,IAAI,KAAK,CAAC,oBAAoB,CAAC,CAAC;SACvC;IACH,CAAC;IAED,qBAAM,GAAN,UAAO,IAAgB,EAAE,QAAsC;QAC7D,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC;IAC1C,CAAC;IAED,qBAAM,GAAN;QACE,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;IAC5B,CAAC;IAED,oBAAK,GAAL;QACE,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;IACpB,CAAC;IACH,WAAC;AAAD,CAAC,AAtBD,IAsBC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/build/module/index.d.ts b/node_modules/@aws-crypto/sha1-browser/build/module/index.d.ts new file mode 100644 index 0000000..1b6072d --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/module/index.d.ts @@ -0,0 +1,2 @@ +export * from "./crossPlatformSha1"; +export { Sha1 as WebCryptoSha1 } from "./webCryptoSha1"; diff --git a/node_modules/@aws-crypto/sha1-browser/build/module/index.js b/node_modules/@aws-crypto/sha1-browser/build/module/index.js new file mode 100644 index 0000000..c6ec26d --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/module/index.js @@ -0,0 +1,3 @@ +export * from "./crossPlatformSha1"; +export { Sha1 as WebCryptoSha1 } from "./webCryptoSha1"; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/build/module/index.js.map b/node_modules/@aws-crypto/sha1-browser/build/module/index.js.map new file mode 100644 index 0000000..b012e25 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/module/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/build/module/isEmptyData.d.ts b/node_modules/@aws-crypto/sha1-browser/build/module/isEmptyData.d.ts new file mode 100644 index 0000000..43ae4a7 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/module/isEmptyData.d.ts @@ -0,0 +1,2 @@ +import { SourceData } from "@aws-sdk/types"; +export declare function isEmptyData(data: SourceData): boolean; diff --git a/node_modules/@aws-crypto/sha1-browser/build/module/isEmptyData.js b/node_modules/@aws-crypto/sha1-browser/build/module/isEmptyData.js new file mode 100644 index 0000000..4f31a61 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/module/isEmptyData.js @@ -0,0 +1,7 @@ +export function isEmptyData(data) { + if (typeof data === "string") { + return data.length === 0; + } + return data.byteLength === 0; +} +//# sourceMappingURL=isEmptyData.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/build/module/isEmptyData.js.map b/node_modules/@aws-crypto/sha1-browser/build/module/isEmptyData.js.map new file mode 100644 index 0000000..776ce2b --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/module/isEmptyData.js.map @@ -0,0 +1 @@ +{"version":3,"file":"isEmptyData.js","sourceRoot":"","sources":["../../src/isEmptyData.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,WAAW,CAAC,IAAgB;IAC1C,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QAC5B,OAAO,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC;KAC1B;IAED,OAAO,IAAI,CAAC,UAAU,KAAK,CAAC,CAAC;AAC/B,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/build/module/webCryptoSha1.d.ts b/node_modules/@aws-crypto/sha1-browser/build/module/webCryptoSha1.d.ts new file mode 100644 index 0000000..a9d1b03 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/module/webCryptoSha1.d.ts @@ -0,0 +1,9 @@ +import { Checksum, SourceData } from "@aws-sdk/types"; +export declare class Sha1 implements Checksum { + private readonly key; + private toHash; + constructor(secret?: SourceData); + update(data: SourceData): void; + digest(): Promise; + reset(): void; +} diff --git a/node_modules/@aws-crypto/sha1-browser/build/module/webCryptoSha1.js b/node_modules/@aws-crypto/sha1-browser/build/module/webCryptoSha1.js new file mode 100644 index 0000000..58b4dbb --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/module/webCryptoSha1.js @@ -0,0 +1,58 @@ +import { fromUtf8 } from "@smithy/util-utf8"; +import { isEmptyData } from "./isEmptyData"; +import { EMPTY_DATA_SHA_1, SHA_1_HASH, SHA_1_HMAC_ALGO } from "./constants"; +import { locateWindow } from "@aws-sdk/util-locate-window"; +var Sha1 = /** @class */ (function () { + function Sha1(secret) { + this.toHash = new Uint8Array(0); + if (secret !== void 0) { + this.key = new Promise(function (resolve, reject) { + locateWindow() + .crypto.subtle.importKey("raw", convertToBuffer(secret), SHA_1_HMAC_ALGO, false, ["sign"]) + .then(resolve, reject); + }); + this.key.catch(function () { }); + } + } + Sha1.prototype.update = function (data) { + if (isEmptyData(data)) { + return; + } + var update = convertToBuffer(data); + var typedArray = new Uint8Array(this.toHash.byteLength + update.byteLength); + typedArray.set(this.toHash, 0); + typedArray.set(update, this.toHash.byteLength); + this.toHash = typedArray; + }; + Sha1.prototype.digest = function () { + var _this = this; + if (this.key) { + return this.key.then(function (key) { + return locateWindow() + .crypto.subtle.sign(SHA_1_HMAC_ALGO, key, _this.toHash) + .then(function (data) { return new Uint8Array(data); }); + }); + } + if (isEmptyData(this.toHash)) { + return Promise.resolve(EMPTY_DATA_SHA_1); + } + return Promise.resolve() + .then(function () { return locateWindow().crypto.subtle.digest(SHA_1_HASH, _this.toHash); }) + .then(function (data) { return Promise.resolve(new Uint8Array(data)); }); + }; + Sha1.prototype.reset = function () { + this.toHash = new Uint8Array(0); + }; + return Sha1; +}()); +export { Sha1 }; +function convertToBuffer(data) { + if (typeof data === "string") { + return fromUtf8(data); + } + if (ArrayBuffer.isView(data)) { + return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT); + } + return new Uint8Array(data); +} +//# sourceMappingURL=webCryptoSha1.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/build/module/webCryptoSha1.js.map b/node_modules/@aws-crypto/sha1-browser/build/module/webCryptoSha1.js.map new file mode 100644 index 0000000..fc3861f --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/build/module/webCryptoSha1.js.map @@ -0,0 +1 @@ +{"version":3,"file":"webCryptoSha1.js","sourceRoot":"","sources":["../../src/webCryptoSha1.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D;IAIE,cAAY,MAAmB;QAFvB,WAAM,GAAe,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;QAG7C,IAAI,MAAM,KAAK,KAAK,CAAC,EAAE;YACrB,IAAI,CAAC,GAAG,GAAG,IAAI,OAAO,CAAC,UAAC,OAAO,EAAE,MAAM;gBACrC,YAAY,EAAE;qBACX,MAAM,CAAC,MAAM,CAAC,SAAS,CACtB,KAAK,EACL,eAAe,CAAC,MAAM,CAAC,EACvB,eAAe,EACf,KAAK,EACL,CAAC,MAAM,CAAC,CACT;qBACA,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;YAC3B,CAAC,CAAC,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,cAAO,CAAC,CAAC,CAAC;SAC1B;IACH,CAAC;IAED,qBAAM,GAAN,UAAO,IAAgB;QACrB,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE;YACrB,OAAO;SACR;QAED,IAAM,MAAM,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;QACrC,IAAM,UAAU,GAAG,IAAI,UAAU,CAC/B,IAAI,CAAC,MAAM,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAC3C,CAAC;QACF,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;QAC/B,UAAU,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAC/C,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC;IAC3B,CAAC;IAED,qBAAM,GAAN;QAAA,iBAgBC;QAfC,IAAI,IAAI,CAAC,GAAG,EAAE;YACZ,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,UAAC,GAAG;gBACvB,OAAA,YAAY,EAAE;qBACX,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,EAAE,GAAG,EAAE,KAAI,CAAC,MAAM,CAAC;qBACrD,IAAI,CAAC,UAAC,IAAI,IAAK,OAAA,IAAI,UAAU,CAAC,IAAI,CAAC,EAApB,CAAoB,CAAC;YAFvC,CAEuC,CACxC,CAAC;SACH;QAED,IAAI,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE;YAC5B,OAAO,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;SAC1C;QAED,OAAO,OAAO,CAAC,OAAO,EAAE;aACrB,IAAI,CAAC,cAAM,OAAA,YAAY,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,KAAI,CAAC,MAAM,CAAC,EAA5D,CAA4D,CAAC;aACxE,IAAI,CAAC,UAAC,IAAI,IAAK,OAAA,OAAO,CAAC,OAAO,CAAC,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,EAArC,CAAqC,CAAC,CAAC;IAC3D,CAAC;IAED,oBAAK,GAAL;QACE,IAAI,CAAC,MAAM,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;IAClC,CAAC;IACH,WAAC;AAAD,CAAC,AAxDD,IAwDC;;AAED,SAAS,eAAe,CAAC,IAAgB;IACvC,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QAC5B,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC;KACvB;IAED,IAAI,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;QAC5B,OAAO,IAAI,UAAU,CACnB,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,iBAAiB,CAC/C,CAAC;KACH;IAED,OAAO,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/LICENSE b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/README.md b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/README.md new file mode 100644 index 0000000..31853f2 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/README.md @@ -0,0 +1,10 @@ +# @smithy/is-array-buffer + +[![NPM version](https://img.shields.io/npm/v/@smithy/is-array-buffer/latest.svg)](https://www.npmjs.com/package/@smithy/is-array-buffer) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/is-array-buffer.svg)](https://www.npmjs.com/package/@smithy/is-array-buffer) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/dist-cjs/index.js b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/dist-cjs/index.js new file mode 100644 index 0000000..5d792e7 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/dist-cjs/index.js @@ -0,0 +1,32 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + isArrayBuffer: () => isArrayBuffer +}); +module.exports = __toCommonJS(src_exports); +var isArrayBuffer = /* @__PURE__ */ __name((arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]", "isArrayBuffer"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (module.exports = { + isArrayBuffer +}); + diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/dist-es/index.js b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/dist-es/index.js new file mode 100644 index 0000000..8096cca --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/dist-es/index.js @@ -0,0 +1,2 @@ +export const isArrayBuffer = (arg) => (typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer) || + Object.prototype.toString.call(arg) === "[object ArrayBuffer]"; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts new file mode 100644 index 0000000..64f452e --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const isArrayBuffer: (arg: any) => arg is ArrayBuffer; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..64f452e --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const isArrayBuffer: (arg: any) => arg is ArrayBuffer; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/package.json b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/package.json new file mode 100644 index 0000000..ed8affc --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer/package.json @@ -0,0 +1,60 @@ +{ + "name": "@smithy/is-array-buffer", + "version": "2.2.0", + "description": "Provides a function for detecting if an argument is an ArrayBuffer", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline is-array-buffer", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:jest" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + }, + "typesVersions": { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/is-array-buffer", + "repository": { + "type": "git", + "url": "https://github.com/awslabs/smithy-typescript.git", + "directory": "packages/is-array-buffer" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "rimraf": "3.0.2", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/LICENSE b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/README.md b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/README.md new file mode 100644 index 0000000..c896b04 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/README.md @@ -0,0 +1,10 @@ +# @smithy/util-buffer-from + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-buffer-from/latest.svg)](https://www.npmjs.com/package/@smithy/util-buffer-from) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-buffer-from.svg)](https://www.npmjs.com/package/@smithy/util-buffer-from) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/dist-cjs/index.js b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/dist-cjs/index.js new file mode 100644 index 0000000..c6738d9 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/dist-cjs/index.js @@ -0,0 +1,47 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + fromArrayBuffer: () => fromArrayBuffer, + fromString: () => fromString +}); +module.exports = __toCommonJS(src_exports); +var import_is_array_buffer = require("@smithy/is-array-buffer"); +var import_buffer = require("buffer"); +var fromArrayBuffer = /* @__PURE__ */ __name((input, offset = 0, length = input.byteLength - offset) => { + if (!(0, import_is_array_buffer.isArrayBuffer)(input)) { + throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`); + } + return import_buffer.Buffer.from(input, offset, length); +}, "fromArrayBuffer"); +var fromString = /* @__PURE__ */ __name((input, encoding) => { + if (typeof input !== "string") { + throw new TypeError(`The "input" argument must be of type string. Received type ${typeof input} (${input})`); + } + return encoding ? import_buffer.Buffer.from(input, encoding) : import_buffer.Buffer.from(input); +}, "fromString"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (module.exports = { + fromArrayBuffer, + fromString +}); + diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/dist-es/index.js b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/dist-es/index.js new file mode 100644 index 0000000..718f831 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/dist-es/index.js @@ -0,0 +1,14 @@ +import { isArrayBuffer } from "@smithy/is-array-buffer"; +import { Buffer } from "buffer"; +export const fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => { + if (!isArrayBuffer(input)) { + throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`); + } + return Buffer.from(input, offset, length); +}; +export const fromString = (input, encoding) => { + if (typeof input !== "string") { + throw new TypeError(`The "input" argument must be of type string. Received type ${typeof input} (${input})`); + } + return encoding ? Buffer.from(input, encoding) : Buffer.from(input); +}; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts new file mode 100644 index 0000000..a523134 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts @@ -0,0 +1,13 @@ +import { Buffer } from "buffer"; +/** + * @internal + */ +export declare const fromArrayBuffer: (input: ArrayBuffer, offset?: number, length?: number) => Buffer; +/** + * @internal + */ +export type StringEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "base64" | "latin1" | "binary" | "hex"; +/** + * @internal + */ +export declare const fromString: (input: string, encoding?: StringEncoding) => Buffer; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..a523134 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts @@ -0,0 +1,13 @@ +import { Buffer } from "buffer"; +/** + * @internal + */ +export declare const fromArrayBuffer: (input: ArrayBuffer, offset?: number, length?: number) => Buffer; +/** + * @internal + */ +export type StringEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "base64" | "latin1" | "binary" | "hex"; +/** + * @internal + */ +export declare const fromString: (input: string, encoding?: StringEncoding) => Buffer; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/package.json b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/package.json new file mode 100644 index 0000000..a12e51c --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from/package.json @@ -0,0 +1,61 @@ +{ + "name": "@smithy/util-buffer-from", + "version": "2.2.0", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-buffer-from", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:jest" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@smithy/is-array-buffer": "^2.2.0", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "@types/node": "^14.14.31", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "rimraf": "3.0.2", + "typedoc": "0.23.23" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=14.0.0" + }, + "typesVersions": { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/util-buffer-from", + "repository": { + "type": "git", + "url": "https://github.com/awslabs/smithy-typescript.git", + "directory": "packages/util-buffer-from" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/LICENSE b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/README.md b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/README.md new file mode 100644 index 0000000..fc5db6d --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/README.md @@ -0,0 +1,4 @@ +# @smithy/util-utf8 + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-utf8/latest.svg)](https://www.npmjs.com/package/@smithy/util-utf8) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-utf8.svg)](https://www.npmjs.com/package/@smithy/util-utf8) diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js new file mode 100644 index 0000000..532e610 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js @@ -0,0 +1 @@ +module.exports = require("./index.js"); \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js new file mode 100644 index 0000000..532e610 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js @@ -0,0 +1 @@ +module.exports = require("./index.js"); \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/index.js b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/index.js new file mode 100644 index 0000000..0b22680 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/index.js @@ -0,0 +1,65 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + fromUtf8: () => fromUtf8, + toUint8Array: () => toUint8Array, + toUtf8: () => toUtf8 +}); +module.exports = __toCommonJS(src_exports); + +// src/fromUtf8.ts +var import_util_buffer_from = require("@smithy/util-buffer-from"); +var fromUtf8 = /* @__PURE__ */ __name((input) => { + const buf = (0, import_util_buffer_from.fromString)(input, "utf8"); + return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT); +}, "fromUtf8"); + +// src/toUint8Array.ts +var toUint8Array = /* @__PURE__ */ __name((data) => { + if (typeof data === "string") { + return fromUtf8(data); + } + if (ArrayBuffer.isView(data)) { + return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT); + } + return new Uint8Array(data); +}, "toUint8Array"); + +// src/toUtf8.ts + +var toUtf8 = /* @__PURE__ */ __name((input) => { + if (typeof input === "string") { + return input; + } + if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") { + throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array."); + } + return (0, import_util_buffer_from.fromArrayBuffer)(input.buffer, input.byteOffset, input.byteLength).toString("utf8"); +}, "toUtf8"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (module.exports = { + fromUtf8, + toUint8Array, + toUtf8 +}); + diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js new file mode 100644 index 0000000..532e610 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js @@ -0,0 +1 @@ +module.exports = require("./index.js"); \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js new file mode 100644 index 0000000..532e610 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js @@ -0,0 +1 @@ +module.exports = require("./index.js"); \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js new file mode 100644 index 0000000..532e610 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js @@ -0,0 +1 @@ +module.exports = require("./index.js"); \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js new file mode 100644 index 0000000..7344190 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js @@ -0,0 +1 @@ +export const fromUtf8 = (input) => new TextEncoder().encode(input); diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js new file mode 100644 index 0000000..6dc438b --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js @@ -0,0 +1,5 @@ +import { fromString } from "@smithy/util-buffer-from"; +export const fromUtf8 = (input) => { + const buf = fromString(input, "utf8"); + return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT); +}; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/index.js b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/index.js new file mode 100644 index 0000000..00ba465 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/index.js @@ -0,0 +1,3 @@ +export * from "./fromUtf8"; +export * from "./toUint8Array"; +export * from "./toUtf8"; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js new file mode 100644 index 0000000..2cd36f7 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js @@ -0,0 +1,10 @@ +import { fromUtf8 } from "./fromUtf8"; +export const toUint8Array = (data) => { + if (typeof data === "string") { + return fromUtf8(data); + } + if (ArrayBuffer.isView(data)) { + return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT); + } + return new Uint8Array(data); +}; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js new file mode 100644 index 0000000..c292127 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js @@ -0,0 +1,9 @@ +export const toUtf8 = (input) => { + if (typeof input === "string") { + return input; + } + if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") { + throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array."); + } + return new TextDecoder("utf-8").decode(input); +}; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.js b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.js new file mode 100644 index 0000000..7be8745 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.js @@ -0,0 +1,10 @@ +import { fromArrayBuffer } from "@smithy/util-buffer-from"; +export const toUtf8 = (input) => { + if (typeof input === "string") { + return input; + } + if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") { + throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array."); + } + return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("utf8"); +}; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts new file mode 100644 index 0000000..dd91981 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts @@ -0,0 +1 @@ +export declare const fromUtf8: (input: string) => Uint8Array; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts new file mode 100644 index 0000000..dd91981 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts @@ -0,0 +1 @@ +export declare const fromUtf8: (input: string) => Uint8Array; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/index.d.ts b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/index.d.ts new file mode 100644 index 0000000..00ba465 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/index.d.ts @@ -0,0 +1,3 @@ +export * from "./fromUtf8"; +export * from "./toUint8Array"; +export * from "./toUtf8"; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts new file mode 100644 index 0000000..11b6342 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts @@ -0,0 +1 @@ +export declare const toUint8Array: (data: string | ArrayBuffer | ArrayBufferView) => Uint8Array; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts new file mode 100644 index 0000000..8494acd --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts @@ -0,0 +1,7 @@ +/** + * + * This does not convert non-utf8 strings to utf8, it only passes through strings if + * a string is received instead of a Uint8Array. + * + */ +export declare const toUtf8: (input: Uint8Array | string) => string; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts new file mode 100644 index 0000000..8494acd --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts @@ -0,0 +1,7 @@ +/** + * + * This does not convert non-utf8 strings to utf8, it only passes through strings if + * a string is received instead of a Uint8Array. + * + */ +export declare const toUtf8: (input: Uint8Array | string) => string; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts new file mode 100644 index 0000000..dd91981 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts @@ -0,0 +1 @@ +export declare const fromUtf8: (input: string) => Uint8Array; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts new file mode 100644 index 0000000..dd91981 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts @@ -0,0 +1 @@ +export declare const fromUtf8: (input: string) => Uint8Array; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..00ba465 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts @@ -0,0 +1,3 @@ +export * from "./fromUtf8"; +export * from "./toUint8Array"; +export * from "./toUtf8"; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts new file mode 100644 index 0000000..11b6342 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts @@ -0,0 +1 @@ +export declare const toUint8Array: (data: string | ArrayBuffer | ArrayBufferView) => Uint8Array; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts new file mode 100644 index 0000000..8494acd --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts @@ -0,0 +1,7 @@ +/** + * + * This does not convert non-utf8 strings to utf8, it only passes through strings if + * a string is received instead of a Uint8Array. + * + */ +export declare const toUtf8: (input: Uint8Array | string) => string; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts new file mode 100644 index 0000000..8494acd --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts @@ -0,0 +1,7 @@ +/** + * + * This does not convert non-utf8 strings to utf8, it only passes through strings if + * a string is received instead of a Uint8Array. + * + */ +export declare const toUtf8: (input: Uint8Array | string) => string; diff --git a/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/package.json b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/package.json new file mode 100644 index 0000000..78bfb4d --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8/package.json @@ -0,0 +1,66 @@ +{ + "name": "@smithy/util-utf8", + "version": "2.3.0", + "description": "A UTF-8 string <-> UInt8Array converter", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-utf8", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:jest" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^2.2.0", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "rimraf": "3.0.2", + "typedoc": "0.23.23" + }, + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=14.0.0" + }, + "typesVersions": { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "browser": { + "./dist-es/fromUtf8": "./dist-es/fromUtf8.browser", + "./dist-es/toUtf8": "./dist-es/toUtf8.browser" + }, + "react-native": {}, + "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/util-utf8", + "repository": { + "type": "git", + "url": "https://github.com/awslabs/smithy-typescript.git", + "directory": "packages/util-utf8" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha1-browser/package.json b/node_modules/@aws-crypto/sha1-browser/package.json new file mode 100644 index 0000000..3517bc7 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/package.json @@ -0,0 +1,35 @@ +{ + "name": "@aws-crypto/sha1-browser", + "version": "5.2.0", + "scripts": { + "prepublishOnly": "tsc -p tsconfig.json && tsc -p tsconfig.module.json", + "pretest": "tsc -p tsconfig.test.json", + "test": "mocha --require ts-node/register test/**/*test.ts" + }, + "repository": { + "type": "git", + "url": "git@github.com:aws/aws-sdk-js-crypto-helpers.git" + }, + "author": { + "name": "AWS Crypto Tools Team", + "email": "aws-cryptools@amazon.com", + "url": "https://docs.aws.amazon.com/aws-crypto-tools/index.html?id=docs_gateway#lang/en_us" + }, + "homepage": "https://github.com/aws/aws-sdk-js-crypto-helpers/tree/master/packages/sha1-browser", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/supports-web-crypto": "^5.2.0", + "@aws-crypto/util": "^5.2.0", + "@aws-sdk/types": "^3.222.0", + "@aws-sdk/util-locate-window": "^3.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.6.2" + }, + "main": "./build/main/index.js", + "module": "./build/module/index.js", + "types": "./build/main/index.d.ts", + "publishConfig": { + "access": "public" + }, + "gitHead": "c11b171b35ec5c093364f0e0d8dc4ab1af68e748" +} diff --git a/node_modules/@aws-crypto/sha1-browser/src/constants.ts b/node_modules/@aws-crypto/sha1-browser/src/constants.ts new file mode 100644 index 0000000..6b7dfcd --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/src/constants.ts @@ -0,0 +1,29 @@ +export const SHA_1_HASH: { name: "SHA-1" } = { name: "SHA-1" }; + +export const SHA_1_HMAC_ALGO: { name: "HMAC"; hash: { name: "SHA-1" } } = { + name: "HMAC", + hash: SHA_1_HASH, +}; + +export const EMPTY_DATA_SHA_1 = new Uint8Array([ + 218, + 57, + 163, + 238, + 94, + 107, + 75, + 13, + 50, + 85, + 191, + 239, + 149, + 96, + 24, + 144, + 175, + 216, + 7, + 9, +]); diff --git a/node_modules/@aws-crypto/sha1-browser/src/crossPlatformSha1.ts b/node_modules/@aws-crypto/sha1-browser/src/crossPlatformSha1.ts new file mode 100644 index 0000000..24ad4ee --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/src/crossPlatformSha1.ts @@ -0,0 +1,29 @@ +import { Sha1 as WebCryptoSha1 } from "./webCryptoSha1"; +import { Checksum, SourceData } from "@aws-sdk/types"; +import { supportsWebCrypto } from "@aws-crypto/supports-web-crypto"; +import { locateWindow } from "@aws-sdk/util-locate-window"; +import { convertToBuffer } from "@aws-crypto/util"; + +export class Sha1 implements Checksum { + private hash: Checksum; + + constructor(secret?: SourceData) { + if (supportsWebCrypto(locateWindow())) { + this.hash = new WebCryptoSha1(secret); + } else { + throw new Error("SHA1 not supported"); + } + } + + update(data: SourceData, encoding?: "utf8" | "ascii" | "latin1"): void { + this.hash.update(convertToBuffer(data)); + } + + digest(): Promise { + return this.hash.digest(); + } + + reset(): void { + this.hash.reset(); + } +} diff --git a/node_modules/@aws-crypto/sha1-browser/src/index.ts b/node_modules/@aws-crypto/sha1-browser/src/index.ts new file mode 100644 index 0000000..1b6072d --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/src/index.ts @@ -0,0 +1,2 @@ +export * from "./crossPlatformSha1"; +export { Sha1 as WebCryptoSha1 } from "./webCryptoSha1"; diff --git a/node_modules/@aws-crypto/sha1-browser/src/isEmptyData.ts b/node_modules/@aws-crypto/sha1-browser/src/isEmptyData.ts new file mode 100644 index 0000000..538971f --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/src/isEmptyData.ts @@ -0,0 +1,9 @@ +import { SourceData } from "@aws-sdk/types"; + +export function isEmptyData(data: SourceData): boolean { + if (typeof data === "string") { + return data.length === 0; + } + + return data.byteLength === 0; +} diff --git a/node_modules/@aws-crypto/sha1-browser/src/webCryptoSha1.ts b/node_modules/@aws-crypto/sha1-browser/src/webCryptoSha1.ts new file mode 100644 index 0000000..ffa020b --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/src/webCryptoSha1.ts @@ -0,0 +1,79 @@ +import { Checksum, SourceData } from "@aws-sdk/types"; +import { fromUtf8 } from "@smithy/util-utf8"; +import { isEmptyData } from "./isEmptyData"; +import { EMPTY_DATA_SHA_1, SHA_1_HASH, SHA_1_HMAC_ALGO } from "./constants"; +import { locateWindow } from "@aws-sdk/util-locate-window"; + +export class Sha1 implements Checksum { + private readonly key: Promise | undefined; + private toHash: Uint8Array = new Uint8Array(0); + + constructor(secret?: SourceData) { + if (secret !== void 0) { + this.key = new Promise((resolve, reject) => { + locateWindow() + .crypto.subtle.importKey( + "raw", + convertToBuffer(secret), + SHA_1_HMAC_ALGO, + false, + ["sign"] + ) + .then(resolve, reject); + }); + this.key.catch(() => {}); + } + } + + update(data: SourceData): void { + if (isEmptyData(data)) { + return; + } + + const update = convertToBuffer(data); + const typedArray = new Uint8Array( + this.toHash.byteLength + update.byteLength + ); + typedArray.set(this.toHash, 0); + typedArray.set(update, this.toHash.byteLength); + this.toHash = typedArray; + } + + digest(): Promise { + if (this.key) { + return this.key.then((key) => + locateWindow() + .crypto.subtle.sign(SHA_1_HMAC_ALGO, key, this.toHash) + .then((data) => new Uint8Array(data)) + ); + } + + if (isEmptyData(this.toHash)) { + return Promise.resolve(EMPTY_DATA_SHA_1); + } + + return Promise.resolve() + .then(() => locateWindow().crypto.subtle.digest(SHA_1_HASH, this.toHash)) + .then((data) => Promise.resolve(new Uint8Array(data))); + } + + reset(): void { + this.toHash = new Uint8Array(0); + } +} + +function convertToBuffer(data: SourceData): Uint8Array { + if (typeof data === "string") { + return fromUtf8(data); + } + + if (ArrayBuffer.isView(data)) { + return new Uint8Array( + data.buffer, + data.byteOffset, + data.byteLength / Uint8Array.BYTES_PER_ELEMENT + ); + } + + return new Uint8Array(data); +} diff --git a/node_modules/@aws-crypto/sha1-browser/tsconfig.json b/node_modules/@aws-crypto/sha1-browser/tsconfig.json new file mode 100644 index 0000000..fb9aa95 --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "rootDir": "./src", + "outDir": "./build/main", + "lib": ["dom"], + }, + "include": ["src/**/*.ts"], + "exclude": ["node_modules/**"] +} diff --git a/node_modules/@aws-crypto/sha1-browser/tsconfig.module.json b/node_modules/@aws-crypto/sha1-browser/tsconfig.module.json new file mode 100644 index 0000000..7d0cfdd --- /dev/null +++ b/node_modules/@aws-crypto/sha1-browser/tsconfig.module.json @@ -0,0 +1,7 @@ +{ + "extends": "./tsconfig", + "compilerOptions": { + "outDir": "build/module", + "module": "esnext", + } +} diff --git a/node_modules/@aws-crypto/sha256-browser/CHANGELOG.md b/node_modules/@aws-crypto/sha256-browser/CHANGELOG.md new file mode 100644 index 0000000..e6036f8 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/CHANGELOG.md @@ -0,0 +1,118 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [5.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.1.0...v5.2.0) (2023-10-16) + +### Features + +- support ESM artifacts in all packages ([#752](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/752)) ([e930ffb](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/e930ffba5cfef66dd242049e7d514ced232c1e3b)) + +# [5.1.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.0.0...v5.1.0) (2023-09-22) + +### Bug Fixes + +- Update tsc to 2.x ([#735](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/735)) ([782e0de](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/782e0de9f5fef41f694130580a69d940894b6b8c)) + +### Features + +- Use @smithy/util-utf8 ([#730](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/730)) ([00fb851](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/00fb851ca3559d5a1f370f9256814de1210826b8)), closes [#699](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/699) + +# [5.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v4.0.1...v5.0.0) (2023-07-13) + +- feat!: drop support for IE 11 (#629) ([6c49fb6](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/6c49fb6c1b1f18bbff02dbd77a37a21bdb40c959)), closes [#629](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/629) + +### BREAKING CHANGES + +- Remove support for IE11 + +Co-authored-by: texastony <5892063+texastony@users.noreply.github.com> + +# [4.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v3.0.0...v4.0.0) (2023-02-20) + +**Note:** Version bump only for package @aws-crypto/sha256-browser + +# [3.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.2...v3.0.0) (2023-01-12) + +### Bug Fixes + +- **docs:** sha256 packages, clarify hmac support ([#455](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/455)) ([1be5043](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/1be5043325991f3f5ccb52a8dd928f004b4d442e)) + +- feat!: replace Hash implementations with Checksum interface (#492) ([da43dc0](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/da43dc0fdf669d9ebb5bfb1b1f7c79e46c4aaae1)), closes [#492](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/492) + +### BREAKING CHANGES + +- All classes that implemented `Hash` now implement `Checksum`. + +## [2.0.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.1...v2.0.2) (2022-09-07) + +### Bug Fixes + +- **#337:** update @aws-sdk/types ([#373](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/373)) ([b26a811](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/b26a811a392f5209c7ec7e57251500d4d78f97ff)), closes [#337](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/337) + +## [2.0.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.0...v2.0.1) (2021-12-09) + +**Note:** Version bump only for package @aws-crypto/sha256-browser + +# [2.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.2...v2.0.0) (2021-10-25) + +**Note:** Version bump only for package @aws-crypto/sha256-browser + +## [1.2.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.1...v1.2.2) (2021-10-12) + +**Note:** Version bump only for package @aws-crypto/sha256-browser + +## [1.2.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.0...v1.2.1) (2021-09-17) + +**Note:** Version bump only for package @aws-crypto/sha256-browser + +# [1.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.1.1...v1.2.0) (2021-09-17) + +### Features + +- add @aws-crypto/util ([8f489cb](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/8f489cbe4c0e134f826bac66f1bf5172597048b9)) + +## [1.1.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-browser@1.1.0...@aws-crypto/sha256-browser@1.1.1) (2021-07-13) + +### Bug Fixes + +- **sha256-browser:** throw errors not string ([#194](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/194)) ([7fa7ac4](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/7fa7ac445ef7a04dfb1ff479e7114aba045b2b2c)) + +# [1.1.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-browser@1.0.0...@aws-crypto/sha256-browser@1.1.0) (2021-01-13) + +### Bug Fixes + +- remove package lock ([6002a5a](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/6002a5ab9218dc8798c19dc205d3eebd3bec5b43)) +- **aws-crypto:** export explicit dependencies on [@aws-types](https://github.com/aws-types) ([6a1873a](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/6a1873a4dcc2aaa4a1338595703cfa7099f17b8c)) +- **deps-dev:** move @aws-sdk/types to devDependencies ([#188](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/188)) ([08efdf4](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/08efdf46dcc612d88c441e29945d787f253ee77d)) + +# [1.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-browser@1.0.0-alpha.0...@aws-crypto/sha256-browser@1.0.0) (2020-10-22) + +**Note:** Version bump only for package @aws-crypto/sha256-browser + +# [1.0.0-alpha.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-browser@0.1.0-preview.4...@aws-crypto/sha256-browser@1.0.0-alpha.0) (2020-02-07) + +**Note:** Version bump only for package @aws-crypto/sha256-browser + +# [0.1.0-preview.4](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-browser@0.1.0-preview.2...@aws-crypto/sha256-browser@0.1.0-preview.4) (2020-01-16) + +### Bug Fixes + +- Changed package.json files to point to the right Git repo ([#9](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/9)) ([028245d](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/028245d72e642ca98d82226afb300eb154503c4a)), closes [#8](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/8) +- es2015.iterable required ([#10](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/10)) ([6e08d83](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/6e08d83c33667ad8cbeeaaa7cedf1bbe05f79ed8)) +- lerna version maintains package-lock ([#14](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/14)) ([2ef29e1](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/2ef29e13779703a5c9b32e93d18918fcb33b7272)), closes [#13](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/13) + +# [0.1.0-preview.3](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-browser@0.1.0-preview.2...@aws-crypto/sha256-browser@0.1.0-preview.3) (2019-11-15) + +### Bug Fixes + +- Changed package.json files to point to the right Git repo ([#9](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/9)) ([028245d](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/028245d72e642ca98d82226afb300eb154503c4a)), closes [#8](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/8) +- es2015.iterable required ([#10](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/10)) ([6e08d83](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/6e08d83c33667ad8cbeeaaa7cedf1bbe05f79ed8)) +- lerna version maintains package-lock ([#14](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/14)) ([2ef29e1](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/2ef29e13779703a5c9b32e93d18918fcb33b7272)), closes [#13](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/13) + +# [0.1.0-preview.2](https://github.com/aws/aws-javascript-crypto-helpers/compare/@aws-crypto/sha256-browser@0.1.0-preview.1...@aws-crypto/sha256-browser@0.1.0-preview.2) (2019-10-30) + +### Bug Fixes + +- remove /src/ from .npmignore (for sourcemaps) ([#5](https://github.com/aws/aws-javascript-crypto-helpers/issues/5)) ([ec52056](https://github.com/aws/aws-javascript-crypto-helpers/commit/ec52056)) diff --git a/node_modules/@aws-crypto/sha256-browser/LICENSE b/node_modules/@aws-crypto/sha256-browser/LICENSE new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@aws-crypto/sha256-browser/README.md b/node_modules/@aws-crypto/sha256-browser/README.md new file mode 100644 index 0000000..75bf105 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/README.md @@ -0,0 +1,31 @@ +# @aws-crypto/sha256-browser + +SHA256 wrapper for browsers that prefers `window.crypto.subtle` but will +fall back to a pure JS implementation in @aws-crypto/sha256-js +to provide a consistent interface for SHA256. + +## Usage + +- To hash "some data" +``` +import {Sha256} from '@aws-crypto/sha256-browser' + +const hash = new Sha256(); +hash.update('some data'); +const result = await hash.digest(); + +``` + +- To hmac "some data" with "a key" +``` +import {Sha256} from '@aws-crypto/sha256-browser' + +const hash = new Sha256('a key'); +hash.update('some data'); +const result = await hash.digest(); + +``` + +## Test + +`npm test` diff --git a/node_modules/@aws-crypto/sha256-browser/build/main/constants.d.ts b/node_modules/@aws-crypto/sha256-browser/build/main/constants.d.ts new file mode 100644 index 0000000..fe8def7 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/main/constants.d.ts @@ -0,0 +1,10 @@ +export declare const SHA_256_HASH: { + name: "SHA-256"; +}; +export declare const SHA_256_HMAC_ALGO: { + name: "HMAC"; + hash: { + name: "SHA-256"; + }; +}; +export declare const EMPTY_DATA_SHA_256: Uint8Array; diff --git a/node_modules/@aws-crypto/sha256-browser/build/main/constants.js b/node_modules/@aws-crypto/sha256-browser/build/main/constants.js new file mode 100644 index 0000000..acb5c55 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/main/constants.js @@ -0,0 +1,43 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.EMPTY_DATA_SHA_256 = exports.SHA_256_HMAC_ALGO = exports.SHA_256_HASH = void 0; +exports.SHA_256_HASH = { name: "SHA-256" }; +exports.SHA_256_HMAC_ALGO = { + name: "HMAC", + hash: exports.SHA_256_HASH +}; +exports.EMPTY_DATA_SHA_256 = new Uint8Array([ + 227, + 176, + 196, + 66, + 152, + 252, + 28, + 20, + 154, + 251, + 244, + 200, + 153, + 111, + 185, + 36, + 39, + 174, + 65, + 228, + 100, + 155, + 147, + 76, + 164, + 149, + 153, + 27, + 120, + 82, + 184, + 85 +]); +//# sourceMappingURL=constants.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/build/main/constants.js.map b/node_modules/@aws-crypto/sha256-browser/build/main/constants.js.map new file mode 100644 index 0000000..217561a --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/main/constants.js.map @@ -0,0 +1 @@ +{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAwB,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AAExD,QAAA,iBAAiB,GAAgD;IAC5E,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,oBAAY;CACnB,CAAC;AAEW,QAAA,kBAAkB,GAAG,IAAI,UAAU,CAAC;IAC/C,GAAG;IACH,GAAG;IACH,GAAG;IACH,EAAE;IACF,GAAG;IACH,GAAG;IACH,EAAE;IACF,EAAE;IACF,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,EAAE;IACF,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,EAAE;IACF,GAAG;IACH,GAAG;IACH,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;CACH,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.d.ts b/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.d.ts new file mode 100644 index 0000000..055d3ef --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.d.ts @@ -0,0 +1,8 @@ +import { Checksum, SourceData } from "@aws-sdk/types"; +export declare class Sha256 implements Checksum { + private hash; + constructor(secret?: SourceData); + update(data: SourceData, encoding?: "utf8" | "ascii" | "latin1"): void; + digest(): Promise; + reset(): void; +} diff --git a/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js b/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js new file mode 100644 index 0000000..cde2a42 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js @@ -0,0 +1,30 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Sha256 = void 0; +var webCryptoSha256_1 = require("./webCryptoSha256"); +var sha256_js_1 = require("@aws-crypto/sha256-js"); +var supports_web_crypto_1 = require("@aws-crypto/supports-web-crypto"); +var util_locate_window_1 = require("@aws-sdk/util-locate-window"); +var util_1 = require("@aws-crypto/util"); +var Sha256 = /** @class */ (function () { + function Sha256(secret) { + if ((0, supports_web_crypto_1.supportsWebCrypto)((0, util_locate_window_1.locateWindow)())) { + this.hash = new webCryptoSha256_1.Sha256(secret); + } + else { + this.hash = new sha256_js_1.Sha256(secret); + } + } + Sha256.prototype.update = function (data, encoding) { + this.hash.update((0, util_1.convertToBuffer)(data)); + }; + Sha256.prototype.digest = function () { + return this.hash.digest(); + }; + Sha256.prototype.reset = function () { + this.hash.reset(); + }; + return Sha256; +}()); +exports.Sha256 = Sha256; +//# sourceMappingURL=crossPlatformSha256.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js.map b/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js.map new file mode 100644 index 0000000..9a177dc --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js.map @@ -0,0 +1 @@ +{"version":3,"file":"crossPlatformSha256.js","sourceRoot":"","sources":["../../src/crossPlatformSha256.ts"],"names":[],"mappings":";;;AAAA,qDAA8D;AAC9D,mDAA2D;AAE3D,uEAAoE;AACpE,kEAA2D;AAC3D,yCAAmD;AAEnD;IAGE,gBAAY,MAAmB;QAC7B,IAAI,IAAA,uCAAiB,EAAC,IAAA,iCAAY,GAAE,CAAC,EAAE;YACrC,IAAI,CAAC,IAAI,GAAG,IAAI,wBAAe,CAAC,MAAM,CAAC,CAAC;SACzC;aAAM;YACL,IAAI,CAAC,IAAI,GAAG,IAAI,kBAAQ,CAAC,MAAM,CAAC,CAAC;SAClC;IACH,CAAC;IAED,uBAAM,GAAN,UAAO,IAAgB,EAAE,QAAsC;QAC7D,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,IAAA,sBAAe,EAAC,IAAI,CAAC,CAAC,CAAC;IAC1C,CAAC;IAED,uBAAM,GAAN;QACE,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;IAC5B,CAAC;IAED,sBAAK,GAAL;QACE,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;IACpB,CAAC;IACH,aAAC;AAAD,CAAC,AAtBD,IAsBC;AAtBY,wBAAM"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/build/main/index.d.ts b/node_modules/@aws-crypto/sha256-browser/build/main/index.d.ts new file mode 100644 index 0000000..60ab397 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/main/index.d.ts @@ -0,0 +1,2 @@ +export * from "./crossPlatformSha256"; +export { Sha256 as WebCryptoSha256 } from "./webCryptoSha256"; diff --git a/node_modules/@aws-crypto/sha256-browser/build/main/index.js b/node_modules/@aws-crypto/sha256-browser/build/main/index.js new file mode 100644 index 0000000..a270349 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/main/index.js @@ -0,0 +1,8 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.WebCryptoSha256 = void 0; +var tslib_1 = require("tslib"); +tslib_1.__exportStar(require("./crossPlatformSha256"), exports); +var webCryptoSha256_1 = require("./webCryptoSha256"); +Object.defineProperty(exports, "WebCryptoSha256", { enumerable: true, get: function () { return webCryptoSha256_1.Sha256; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/build/main/index.js.map b/node_modules/@aws-crypto/sha256-browser/build/main/index.js.map new file mode 100644 index 0000000..64b19eb --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/main/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;AAAA,gEAAsC;AACtC,qDAA8D;AAArD,kHAAA,MAAM,OAAmB"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.d.ts b/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.d.ts new file mode 100644 index 0000000..43ae4a7 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.d.ts @@ -0,0 +1,2 @@ +import { SourceData } from "@aws-sdk/types"; +export declare function isEmptyData(data: SourceData): boolean; diff --git a/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js b/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js new file mode 100644 index 0000000..fe91548 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.isEmptyData = void 0; +function isEmptyData(data) { + if (typeof data === "string") { + return data.length === 0; + } + return data.byteLength === 0; +} +exports.isEmptyData = isEmptyData; +//# sourceMappingURL=isEmptyData.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js.map b/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js.map new file mode 100644 index 0000000..20ccfd6 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js.map @@ -0,0 +1 @@ +{"version":3,"file":"isEmptyData.js","sourceRoot":"","sources":["../../src/isEmptyData.ts"],"names":[],"mappings":";;;AAEA,SAAgB,WAAW,CAAC,IAAgB;IAC1C,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QAC5B,OAAO,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC;KAC1B;IAED,OAAO,IAAI,CAAC,UAAU,KAAK,CAAC,CAAC;AAC/B,CAAC;AAND,kCAMC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.d.ts b/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.d.ts new file mode 100644 index 0000000..ec0e214 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.d.ts @@ -0,0 +1,10 @@ +import { Checksum, SourceData } from "@aws-sdk/types"; +export declare class Sha256 implements Checksum { + private readonly secret?; + private key; + private toHash; + constructor(secret?: SourceData); + update(data: SourceData): void; + digest(): Promise; + reset(): void; +} diff --git a/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js b/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js new file mode 100644 index 0000000..778fdd9 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js @@ -0,0 +1,56 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Sha256 = void 0; +var util_1 = require("@aws-crypto/util"); +var constants_1 = require("./constants"); +var util_locate_window_1 = require("@aws-sdk/util-locate-window"); +var Sha256 = /** @class */ (function () { + function Sha256(secret) { + this.toHash = new Uint8Array(0); + this.secret = secret; + this.reset(); + } + Sha256.prototype.update = function (data) { + if ((0, util_1.isEmptyData)(data)) { + return; + } + var update = (0, util_1.convertToBuffer)(data); + var typedArray = new Uint8Array(this.toHash.byteLength + update.byteLength); + typedArray.set(this.toHash, 0); + typedArray.set(update, this.toHash.byteLength); + this.toHash = typedArray; + }; + Sha256.prototype.digest = function () { + var _this = this; + if (this.key) { + return this.key.then(function (key) { + return (0, util_locate_window_1.locateWindow)() + .crypto.subtle.sign(constants_1.SHA_256_HMAC_ALGO, key, _this.toHash) + .then(function (data) { return new Uint8Array(data); }); + }); + } + if ((0, util_1.isEmptyData)(this.toHash)) { + return Promise.resolve(constants_1.EMPTY_DATA_SHA_256); + } + return Promise.resolve() + .then(function () { + return (0, util_locate_window_1.locateWindow)().crypto.subtle.digest(constants_1.SHA_256_HASH, _this.toHash); + }) + .then(function (data) { return Promise.resolve(new Uint8Array(data)); }); + }; + Sha256.prototype.reset = function () { + var _this = this; + this.toHash = new Uint8Array(0); + if (this.secret && this.secret !== void 0) { + this.key = new Promise(function (resolve, reject) { + (0, util_locate_window_1.locateWindow)() + .crypto.subtle.importKey("raw", (0, util_1.convertToBuffer)(_this.secret), constants_1.SHA_256_HMAC_ALGO, false, ["sign"]) + .then(resolve, reject); + }); + this.key.catch(function () { }); + } + }; + return Sha256; +}()); +exports.Sha256 = Sha256; +//# sourceMappingURL=webCryptoSha256.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js.map b/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js.map new file mode 100644 index 0000000..7b55a07 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js.map @@ -0,0 +1 @@ +{"version":3,"file":"webCryptoSha256.js","sourceRoot":"","sources":["../../src/webCryptoSha256.ts"],"names":[],"mappings":";;;AACA,yCAAgE;AAChE,yCAIqB;AACrB,kEAA2D;AAE3D;IAKE,gBAAY,MAAmB;QAFvB,WAAM,GAAe,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;QAG7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,KAAK,EAAE,CAAC;IACf,CAAC;IAED,uBAAM,GAAN,UAAO,IAAgB;QACrB,IAAI,IAAA,kBAAW,EAAC,IAAI,CAAC,EAAE;YACrB,OAAO;SACR;QAED,IAAM,MAAM,GAAG,IAAA,sBAAe,EAAC,IAAI,CAAC,CAAC;QACrC,IAAM,UAAU,GAAG,IAAI,UAAU,CAC/B,IAAI,CAAC,MAAM,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAC3C,CAAC;QACF,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;QAC/B,UAAU,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAC/C,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC;IAC3B,CAAC;IAED,uBAAM,GAAN;QAAA,iBAkBC;QAjBC,IAAI,IAAI,CAAC,GAAG,EAAE;YACZ,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,UAAC,GAAG;gBACvB,OAAA,IAAA,iCAAY,GAAE;qBACX,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,6BAAiB,EAAE,GAAG,EAAE,KAAI,CAAC,MAAM,CAAC;qBACvD,IAAI,CAAC,UAAC,IAAI,IAAK,OAAA,IAAI,UAAU,CAAC,IAAI,CAAC,EAApB,CAAoB,CAAC;YAFvC,CAEuC,CACxC,CAAC;SACH;QAED,IAAI,IAAA,kBAAW,EAAC,IAAI,CAAC,MAAM,CAAC,EAAE;YAC5B,OAAO,OAAO,CAAC,OAAO,CAAC,8BAAkB,CAAC,CAAC;SAC5C;QAED,OAAO,OAAO,CAAC,OAAO,EAAE;aACrB,IAAI,CAAC;YACJ,OAAA,IAAA,iCAAY,GAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,wBAAY,EAAE,KAAI,CAAC,MAAM,CAAC;QAA9D,CAA8D,CAC/D;aACA,IAAI,CAAC,UAAC,IAAI,IAAK,OAAA,OAAO,CAAC,OAAO,CAAC,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,EAArC,CAAqC,CAAC,CAAC;IAC3D,CAAC;IAED,sBAAK,GAAL;QAAA,iBAgBC;QAfC,IAAI,CAAC,MAAM,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;QAChC,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,KAAK,KAAK,CAAC,EAAE;YACzC,IAAI,CAAC,GAAG,GAAG,IAAI,OAAO,CAAC,UAAC,OAAO,EAAE,MAAM;gBACrC,IAAA,iCAAY,GAAE;qBACT,MAAM,CAAC,MAAM,CAAC,SAAS,CACxB,KAAK,EACL,IAAA,sBAAe,EAAC,KAAI,CAAC,MAAoB,CAAC,EAC1C,6BAAiB,EACjB,KAAK,EACL,CAAC,MAAM,CAAC,CACX;qBACI,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;YAC7B,CAAC,CAAC,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,cAAO,CAAC,CAAC,CAAC;SAC1B;IACH,CAAC;IACH,aAAC;AAAD,CAAC,AA7DD,IA6DC;AA7DY,wBAAM"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/build/module/constants.d.ts b/node_modules/@aws-crypto/sha256-browser/build/module/constants.d.ts new file mode 100644 index 0000000..fe8def7 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/module/constants.d.ts @@ -0,0 +1,10 @@ +export declare const SHA_256_HASH: { + name: "SHA-256"; +}; +export declare const SHA_256_HMAC_ALGO: { + name: "HMAC"; + hash: { + name: "SHA-256"; + }; +}; +export declare const EMPTY_DATA_SHA_256: Uint8Array; diff --git a/node_modules/@aws-crypto/sha256-browser/build/module/constants.js b/node_modules/@aws-crypto/sha256-browser/build/module/constants.js new file mode 100644 index 0000000..7fb1613 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/module/constants.js @@ -0,0 +1,40 @@ +export var SHA_256_HASH = { name: "SHA-256" }; +export var SHA_256_HMAC_ALGO = { + name: "HMAC", + hash: SHA_256_HASH +}; +export var EMPTY_DATA_SHA_256 = new Uint8Array([ + 227, + 176, + 196, + 66, + 152, + 252, + 28, + 20, + 154, + 251, + 244, + 200, + 153, + 111, + 185, + 36, + 39, + 174, + 65, + 228, + 100, + 155, + 147, + 76, + 164, + 149, + 153, + 27, + 120, + 82, + 184, + 85 +]); +//# sourceMappingURL=constants.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/build/module/constants.js.map b/node_modules/@aws-crypto/sha256-browser/build/module/constants.js.map new file mode 100644 index 0000000..09ed9a3 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/module/constants.js.map @@ -0,0 +1 @@ +{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,YAAY,GAAwB,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AAErE,MAAM,CAAC,IAAM,iBAAiB,GAAgD;IAC5E,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,YAAY;CACnB,CAAC;AAEF,MAAM,CAAC,IAAM,kBAAkB,GAAG,IAAI,UAAU,CAAC;IAC/C,GAAG;IACH,GAAG;IACH,GAAG;IACH,EAAE;IACF,GAAG;IACH,GAAG;IACH,EAAE;IACF,EAAE;IACF,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,EAAE;IACF,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,EAAE;IACF,GAAG;IACH,GAAG;IACH,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;IACF,GAAG;IACH,EAAE;CACH,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.d.ts b/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.d.ts new file mode 100644 index 0000000..055d3ef --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.d.ts @@ -0,0 +1,8 @@ +import { Checksum, SourceData } from "@aws-sdk/types"; +export declare class Sha256 implements Checksum { + private hash; + constructor(secret?: SourceData); + update(data: SourceData, encoding?: "utf8" | "ascii" | "latin1"): void; + digest(): Promise; + reset(): void; +} diff --git a/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js b/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js new file mode 100644 index 0000000..5ae82ea --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js @@ -0,0 +1,27 @@ +import { Sha256 as WebCryptoSha256 } from "./webCryptoSha256"; +import { Sha256 as JsSha256 } from "@aws-crypto/sha256-js"; +import { supportsWebCrypto } from "@aws-crypto/supports-web-crypto"; +import { locateWindow } from "@aws-sdk/util-locate-window"; +import { convertToBuffer } from "@aws-crypto/util"; +var Sha256 = /** @class */ (function () { + function Sha256(secret) { + if (supportsWebCrypto(locateWindow())) { + this.hash = new WebCryptoSha256(secret); + } + else { + this.hash = new JsSha256(secret); + } + } + Sha256.prototype.update = function (data, encoding) { + this.hash.update(convertToBuffer(data)); + }; + Sha256.prototype.digest = function () { + return this.hash.digest(); + }; + Sha256.prototype.reset = function () { + this.hash.reset(); + }; + return Sha256; +}()); +export { Sha256 }; +//# sourceMappingURL=crossPlatformSha256.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js.map b/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js.map new file mode 100644 index 0000000..4a83c57 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js.map @@ -0,0 +1 @@ +{"version":3,"file":"crossPlatformSha256.js","sourceRoot":"","sources":["../../src/crossPlatformSha256.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,MAAM,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD;IAGE,gBAAY,MAAmB;QAC7B,IAAI,iBAAiB,CAAC,YAAY,EAAE,CAAC,EAAE;YACrC,IAAI,CAAC,IAAI,GAAG,IAAI,eAAe,CAAC,MAAM,CAAC,CAAC;SACzC;aAAM;YACL,IAAI,CAAC,IAAI,GAAG,IAAI,QAAQ,CAAC,MAAM,CAAC,CAAC;SAClC;IACH,CAAC;IAED,uBAAM,GAAN,UAAO,IAAgB,EAAE,QAAsC;QAC7D,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC;IAC1C,CAAC;IAED,uBAAM,GAAN;QACE,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;IAC5B,CAAC;IAED,sBAAK,GAAL;QACE,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;IACpB,CAAC;IACH,aAAC;AAAD,CAAC,AAtBD,IAsBC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/build/module/index.d.ts b/node_modules/@aws-crypto/sha256-browser/build/module/index.d.ts new file mode 100644 index 0000000..60ab397 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/module/index.d.ts @@ -0,0 +1,2 @@ +export * from "./crossPlatformSha256"; +export { Sha256 as WebCryptoSha256 } from "./webCryptoSha256"; diff --git a/node_modules/@aws-crypto/sha256-browser/build/module/index.js b/node_modules/@aws-crypto/sha256-browser/build/module/index.js new file mode 100644 index 0000000..94ffb63 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/module/index.js @@ -0,0 +1,3 @@ +export * from "./crossPlatformSha256"; +export { Sha256 as WebCryptoSha256 } from "./webCryptoSha256"; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/build/module/index.js.map b/node_modules/@aws-crypto/sha256-browser/build/module/index.js.map new file mode 100644 index 0000000..01d20bc --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/module/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.d.ts b/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.d.ts new file mode 100644 index 0000000..43ae4a7 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.d.ts @@ -0,0 +1,2 @@ +import { SourceData } from "@aws-sdk/types"; +export declare function isEmptyData(data: SourceData): boolean; diff --git a/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js b/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js new file mode 100644 index 0000000..4f31a61 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js @@ -0,0 +1,7 @@ +export function isEmptyData(data) { + if (typeof data === "string") { + return data.length === 0; + } + return data.byteLength === 0; +} +//# sourceMappingURL=isEmptyData.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js.map b/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js.map new file mode 100644 index 0000000..776ce2b --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js.map @@ -0,0 +1 @@ +{"version":3,"file":"isEmptyData.js","sourceRoot":"","sources":["../../src/isEmptyData.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,WAAW,CAAC,IAAgB;IAC1C,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QAC5B,OAAO,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC;KAC1B;IAED,OAAO,IAAI,CAAC,UAAU,KAAK,CAAC,CAAC;AAC/B,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.d.ts b/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.d.ts new file mode 100644 index 0000000..ec0e214 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.d.ts @@ -0,0 +1,10 @@ +import { Checksum, SourceData } from "@aws-sdk/types"; +export declare class Sha256 implements Checksum { + private readonly secret?; + private key; + private toHash; + constructor(secret?: SourceData); + update(data: SourceData): void; + digest(): Promise; + reset(): void; +} diff --git a/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js b/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js new file mode 100644 index 0000000..d12acd0 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js @@ -0,0 +1,53 @@ +import { isEmptyData, convertToBuffer } from "@aws-crypto/util"; +import { EMPTY_DATA_SHA_256, SHA_256_HASH, SHA_256_HMAC_ALGO, } from "./constants"; +import { locateWindow } from "@aws-sdk/util-locate-window"; +var Sha256 = /** @class */ (function () { + function Sha256(secret) { + this.toHash = new Uint8Array(0); + this.secret = secret; + this.reset(); + } + Sha256.prototype.update = function (data) { + if (isEmptyData(data)) { + return; + } + var update = convertToBuffer(data); + var typedArray = new Uint8Array(this.toHash.byteLength + update.byteLength); + typedArray.set(this.toHash, 0); + typedArray.set(update, this.toHash.byteLength); + this.toHash = typedArray; + }; + Sha256.prototype.digest = function () { + var _this = this; + if (this.key) { + return this.key.then(function (key) { + return locateWindow() + .crypto.subtle.sign(SHA_256_HMAC_ALGO, key, _this.toHash) + .then(function (data) { return new Uint8Array(data); }); + }); + } + if (isEmptyData(this.toHash)) { + return Promise.resolve(EMPTY_DATA_SHA_256); + } + return Promise.resolve() + .then(function () { + return locateWindow().crypto.subtle.digest(SHA_256_HASH, _this.toHash); + }) + .then(function (data) { return Promise.resolve(new Uint8Array(data)); }); + }; + Sha256.prototype.reset = function () { + var _this = this; + this.toHash = new Uint8Array(0); + if (this.secret && this.secret !== void 0) { + this.key = new Promise(function (resolve, reject) { + locateWindow() + .crypto.subtle.importKey("raw", convertToBuffer(_this.secret), SHA_256_HMAC_ALGO, false, ["sign"]) + .then(resolve, reject); + }); + this.key.catch(function () { }); + } + }; + return Sha256; +}()); +export { Sha256 }; +//# sourceMappingURL=webCryptoSha256.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js.map b/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js.map new file mode 100644 index 0000000..c7b31c0 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js.map @@ -0,0 +1 @@ +{"version":3,"file":"webCryptoSha256.js","sourceRoot":"","sources":["../../src/webCryptoSha256.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,GAClB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D;IAKE,gBAAY,MAAmB;QAFvB,WAAM,GAAe,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;QAG7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,KAAK,EAAE,CAAC;IACf,CAAC;IAED,uBAAM,GAAN,UAAO,IAAgB;QACrB,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE;YACrB,OAAO;SACR;QAED,IAAM,MAAM,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;QACrC,IAAM,UAAU,GAAG,IAAI,UAAU,CAC/B,IAAI,CAAC,MAAM,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAC3C,CAAC;QACF,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;QAC/B,UAAU,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAC/C,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC;IAC3B,CAAC;IAED,uBAAM,GAAN;QAAA,iBAkBC;QAjBC,IAAI,IAAI,CAAC,GAAG,EAAE;YACZ,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,UAAC,GAAG;gBACvB,OAAA,YAAY,EAAE;qBACX,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,iBAAiB,EAAE,GAAG,EAAE,KAAI,CAAC,MAAM,CAAC;qBACvD,IAAI,CAAC,UAAC,IAAI,IAAK,OAAA,IAAI,UAAU,CAAC,IAAI,CAAC,EAApB,CAAoB,CAAC;YAFvC,CAEuC,CACxC,CAAC;SACH;QAED,IAAI,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE;YAC5B,OAAO,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;SAC5C;QAED,OAAO,OAAO,CAAC,OAAO,EAAE;aACrB,IAAI,CAAC;YACJ,OAAA,YAAY,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,KAAI,CAAC,MAAM,CAAC;QAA9D,CAA8D,CAC/D;aACA,IAAI,CAAC,UAAC,IAAI,IAAK,OAAA,OAAO,CAAC,OAAO,CAAC,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,EAArC,CAAqC,CAAC,CAAC;IAC3D,CAAC;IAED,sBAAK,GAAL;QAAA,iBAgBC;QAfC,IAAI,CAAC,MAAM,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;QAChC,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,KAAK,KAAK,CAAC,EAAE;YACzC,IAAI,CAAC,GAAG,GAAG,IAAI,OAAO,CAAC,UAAC,OAAO,EAAE,MAAM;gBACrC,YAAY,EAAE;qBACT,MAAM,CAAC,MAAM,CAAC,SAAS,CACxB,KAAK,EACL,eAAe,CAAC,KAAI,CAAC,MAAoB,CAAC,EAC1C,iBAAiB,EACjB,KAAK,EACL,CAAC,MAAM,CAAC,CACX;qBACI,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;YAC7B,CAAC,CAAC,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,cAAO,CAAC,CAAC,CAAC;SAC1B;IACH,CAAC;IACH,aAAC;AAAD,CAAC,AA7DD,IA6DC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/LICENSE b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/README.md b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/README.md new file mode 100644 index 0000000..31853f2 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/README.md @@ -0,0 +1,10 @@ +# @smithy/is-array-buffer + +[![NPM version](https://img.shields.io/npm/v/@smithy/is-array-buffer/latest.svg)](https://www.npmjs.com/package/@smithy/is-array-buffer) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/is-array-buffer.svg)](https://www.npmjs.com/package/@smithy/is-array-buffer) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-cjs/index.js b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-cjs/index.js new file mode 100644 index 0000000..5d792e7 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-cjs/index.js @@ -0,0 +1,32 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + isArrayBuffer: () => isArrayBuffer +}); +module.exports = __toCommonJS(src_exports); +var isArrayBuffer = /* @__PURE__ */ __name((arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]", "isArrayBuffer"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (module.exports = { + isArrayBuffer +}); + diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-es/index.js b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-es/index.js new file mode 100644 index 0000000..8096cca --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-es/index.js @@ -0,0 +1,2 @@ +export const isArrayBuffer = (arg) => (typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer) || + Object.prototype.toString.call(arg) === "[object ArrayBuffer]"; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts new file mode 100644 index 0000000..64f452e --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const isArrayBuffer: (arg: any) => arg is ArrayBuffer; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..64f452e --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const isArrayBuffer: (arg: any) => arg is ArrayBuffer; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/package.json b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/package.json new file mode 100644 index 0000000..ed8affc --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/package.json @@ -0,0 +1,60 @@ +{ + "name": "@smithy/is-array-buffer", + "version": "2.2.0", + "description": "Provides a function for detecting if an argument is an ArrayBuffer", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline is-array-buffer", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:jest" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + }, + "typesVersions": { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/is-array-buffer", + "repository": { + "type": "git", + "url": "https://github.com/awslabs/smithy-typescript.git", + "directory": "packages/is-array-buffer" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "rimraf": "3.0.2", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/LICENSE b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/README.md b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/README.md new file mode 100644 index 0000000..c896b04 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/README.md @@ -0,0 +1,10 @@ +# @smithy/util-buffer-from + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-buffer-from/latest.svg)](https://www.npmjs.com/package/@smithy/util-buffer-from) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-buffer-from.svg)](https://www.npmjs.com/package/@smithy/util-buffer-from) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-cjs/index.js b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-cjs/index.js new file mode 100644 index 0000000..c6738d9 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-cjs/index.js @@ -0,0 +1,47 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + fromArrayBuffer: () => fromArrayBuffer, + fromString: () => fromString +}); +module.exports = __toCommonJS(src_exports); +var import_is_array_buffer = require("@smithy/is-array-buffer"); +var import_buffer = require("buffer"); +var fromArrayBuffer = /* @__PURE__ */ __name((input, offset = 0, length = input.byteLength - offset) => { + if (!(0, import_is_array_buffer.isArrayBuffer)(input)) { + throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`); + } + return import_buffer.Buffer.from(input, offset, length); +}, "fromArrayBuffer"); +var fromString = /* @__PURE__ */ __name((input, encoding) => { + if (typeof input !== "string") { + throw new TypeError(`The "input" argument must be of type string. Received type ${typeof input} (${input})`); + } + return encoding ? import_buffer.Buffer.from(input, encoding) : import_buffer.Buffer.from(input); +}, "fromString"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (module.exports = { + fromArrayBuffer, + fromString +}); + diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-es/index.js b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-es/index.js new file mode 100644 index 0000000..718f831 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-es/index.js @@ -0,0 +1,14 @@ +import { isArrayBuffer } from "@smithy/is-array-buffer"; +import { Buffer } from "buffer"; +export const fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => { + if (!isArrayBuffer(input)) { + throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`); + } + return Buffer.from(input, offset, length); +}; +export const fromString = (input, encoding) => { + if (typeof input !== "string") { + throw new TypeError(`The "input" argument must be of type string. Received type ${typeof input} (${input})`); + } + return encoding ? Buffer.from(input, encoding) : Buffer.from(input); +}; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts new file mode 100644 index 0000000..a523134 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts @@ -0,0 +1,13 @@ +import { Buffer } from "buffer"; +/** + * @internal + */ +export declare const fromArrayBuffer: (input: ArrayBuffer, offset?: number, length?: number) => Buffer; +/** + * @internal + */ +export type StringEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "base64" | "latin1" | "binary" | "hex"; +/** + * @internal + */ +export declare const fromString: (input: string, encoding?: StringEncoding) => Buffer; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..a523134 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts @@ -0,0 +1,13 @@ +import { Buffer } from "buffer"; +/** + * @internal + */ +export declare const fromArrayBuffer: (input: ArrayBuffer, offset?: number, length?: number) => Buffer; +/** + * @internal + */ +export type StringEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "base64" | "latin1" | "binary" | "hex"; +/** + * @internal + */ +export declare const fromString: (input: string, encoding?: StringEncoding) => Buffer; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/package.json b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/package.json new file mode 100644 index 0000000..a12e51c --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/package.json @@ -0,0 +1,61 @@ +{ + "name": "@smithy/util-buffer-from", + "version": "2.2.0", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-buffer-from", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:jest" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@smithy/is-array-buffer": "^2.2.0", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "@types/node": "^14.14.31", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "rimraf": "3.0.2", + "typedoc": "0.23.23" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=14.0.0" + }, + "typesVersions": { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/util-buffer-from", + "repository": { + "type": "git", + "url": "https://github.com/awslabs/smithy-typescript.git", + "directory": "packages/util-buffer-from" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/LICENSE b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/README.md b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/README.md new file mode 100644 index 0000000..fc5db6d --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/README.md @@ -0,0 +1,4 @@ +# @smithy/util-utf8 + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-utf8/latest.svg)](https://www.npmjs.com/package/@smithy/util-utf8) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-utf8.svg)](https://www.npmjs.com/package/@smithy/util-utf8) diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js new file mode 100644 index 0000000..532e610 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js @@ -0,0 +1 @@ +module.exports = require("./index.js"); \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js new file mode 100644 index 0000000..532e610 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js @@ -0,0 +1 @@ +module.exports = require("./index.js"); \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/index.js b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/index.js new file mode 100644 index 0000000..0b22680 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/index.js @@ -0,0 +1,65 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + fromUtf8: () => fromUtf8, + toUint8Array: () => toUint8Array, + toUtf8: () => toUtf8 +}); +module.exports = __toCommonJS(src_exports); + +// src/fromUtf8.ts +var import_util_buffer_from = require("@smithy/util-buffer-from"); +var fromUtf8 = /* @__PURE__ */ __name((input) => { + const buf = (0, import_util_buffer_from.fromString)(input, "utf8"); + return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT); +}, "fromUtf8"); + +// src/toUint8Array.ts +var toUint8Array = /* @__PURE__ */ __name((data) => { + if (typeof data === "string") { + return fromUtf8(data); + } + if (ArrayBuffer.isView(data)) { + return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT); + } + return new Uint8Array(data); +}, "toUint8Array"); + +// src/toUtf8.ts + +var toUtf8 = /* @__PURE__ */ __name((input) => { + if (typeof input === "string") { + return input; + } + if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") { + throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array."); + } + return (0, import_util_buffer_from.fromArrayBuffer)(input.buffer, input.byteOffset, input.byteLength).toString("utf8"); +}, "toUtf8"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (module.exports = { + fromUtf8, + toUint8Array, + toUtf8 +}); + diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js new file mode 100644 index 0000000..532e610 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js @@ -0,0 +1 @@ +module.exports = require("./index.js"); \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js new file mode 100644 index 0000000..532e610 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js @@ -0,0 +1 @@ +module.exports = require("./index.js"); \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js new file mode 100644 index 0000000..532e610 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js @@ -0,0 +1 @@ +module.exports = require("./index.js"); \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js new file mode 100644 index 0000000..7344190 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js @@ -0,0 +1 @@ +export const fromUtf8 = (input) => new TextEncoder().encode(input); diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js new file mode 100644 index 0000000..6dc438b --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js @@ -0,0 +1,5 @@ +import { fromString } from "@smithy/util-buffer-from"; +export const fromUtf8 = (input) => { + const buf = fromString(input, "utf8"); + return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT); +}; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/index.js b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/index.js new file mode 100644 index 0000000..00ba465 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/index.js @@ -0,0 +1,3 @@ +export * from "./fromUtf8"; +export * from "./toUint8Array"; +export * from "./toUtf8"; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js new file mode 100644 index 0000000..2cd36f7 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js @@ -0,0 +1,10 @@ +import { fromUtf8 } from "./fromUtf8"; +export const toUint8Array = (data) => { + if (typeof data === "string") { + return fromUtf8(data); + } + if (ArrayBuffer.isView(data)) { + return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT); + } + return new Uint8Array(data); +}; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js new file mode 100644 index 0000000..c292127 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js @@ -0,0 +1,9 @@ +export const toUtf8 = (input) => { + if (typeof input === "string") { + return input; + } + if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") { + throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array."); + } + return new TextDecoder("utf-8").decode(input); +}; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.js b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.js new file mode 100644 index 0000000..7be8745 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.js @@ -0,0 +1,10 @@ +import { fromArrayBuffer } from "@smithy/util-buffer-from"; +export const toUtf8 = (input) => { + if (typeof input === "string") { + return input; + } + if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") { + throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array."); + } + return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("utf8"); +}; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts new file mode 100644 index 0000000..dd91981 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts @@ -0,0 +1 @@ +export declare const fromUtf8: (input: string) => Uint8Array; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts new file mode 100644 index 0000000..dd91981 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts @@ -0,0 +1 @@ +export declare const fromUtf8: (input: string) => Uint8Array; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/index.d.ts b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/index.d.ts new file mode 100644 index 0000000..00ba465 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/index.d.ts @@ -0,0 +1,3 @@ +export * from "./fromUtf8"; +export * from "./toUint8Array"; +export * from "./toUtf8"; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts new file mode 100644 index 0000000..11b6342 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts @@ -0,0 +1 @@ +export declare const toUint8Array: (data: string | ArrayBuffer | ArrayBufferView) => Uint8Array; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts new file mode 100644 index 0000000..8494acd --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts @@ -0,0 +1,7 @@ +/** + * + * This does not convert non-utf8 strings to utf8, it only passes through strings if + * a string is received instead of a Uint8Array. + * + */ +export declare const toUtf8: (input: Uint8Array | string) => string; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts new file mode 100644 index 0000000..8494acd --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts @@ -0,0 +1,7 @@ +/** + * + * This does not convert non-utf8 strings to utf8, it only passes through strings if + * a string is received instead of a Uint8Array. + * + */ +export declare const toUtf8: (input: Uint8Array | string) => string; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts new file mode 100644 index 0000000..dd91981 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts @@ -0,0 +1 @@ +export declare const fromUtf8: (input: string) => Uint8Array; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts new file mode 100644 index 0000000..dd91981 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts @@ -0,0 +1 @@ +export declare const fromUtf8: (input: string) => Uint8Array; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..00ba465 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts @@ -0,0 +1,3 @@ +export * from "./fromUtf8"; +export * from "./toUint8Array"; +export * from "./toUtf8"; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts new file mode 100644 index 0000000..11b6342 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts @@ -0,0 +1 @@ +export declare const toUint8Array: (data: string | ArrayBuffer | ArrayBufferView) => Uint8Array; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts new file mode 100644 index 0000000..8494acd --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts @@ -0,0 +1,7 @@ +/** + * + * This does not convert non-utf8 strings to utf8, it only passes through strings if + * a string is received instead of a Uint8Array. + * + */ +export declare const toUtf8: (input: Uint8Array | string) => string; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts new file mode 100644 index 0000000..8494acd --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts @@ -0,0 +1,7 @@ +/** + * + * This does not convert non-utf8 strings to utf8, it only passes through strings if + * a string is received instead of a Uint8Array. + * + */ +export declare const toUtf8: (input: Uint8Array | string) => string; diff --git a/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/package.json b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/package.json new file mode 100644 index 0000000..78bfb4d --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/package.json @@ -0,0 +1,66 @@ +{ + "name": "@smithy/util-utf8", + "version": "2.3.0", + "description": "A UTF-8 string <-> UInt8Array converter", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-utf8", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:jest" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^2.2.0", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "rimraf": "3.0.2", + "typedoc": "0.23.23" + }, + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=14.0.0" + }, + "typesVersions": { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "browser": { + "./dist-es/fromUtf8": "./dist-es/fromUtf8.browser", + "./dist-es/toUtf8": "./dist-es/toUtf8.browser" + }, + "react-native": {}, + "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/util-utf8", + "repository": { + "type": "git", + "url": "https://github.com/awslabs/smithy-typescript.git", + "directory": "packages/util-utf8" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-browser/package.json b/node_modules/@aws-crypto/sha256-browser/package.json new file mode 100644 index 0000000..2688ecf --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/package.json @@ -0,0 +1,33 @@ +{ + "name": "@aws-crypto/sha256-browser", + "version": "5.2.0", + "scripts": { + "prepublishOnly": "tsc -p tsconfig.json && tsc -p tsconfig.module.json", + "pretest": "tsc -p tsconfig.test.json", + "test": "mocha --require ts-node/register test/**/*test.ts" + }, + "repository": { + "type": "git", + "url": "git@github.com:aws/aws-sdk-js-crypto-helpers.git" + }, + "author": { + "name": "AWS Crypto Tools Team", + "email": "aws-cryptools@amazon.com", + "url": "https://docs.aws.amazon.com/aws-crypto-tools/index.html?id=docs_gateway#lang/en_us" + }, + "homepage": "https://github.com/aws/aws-sdk-js-crypto-helpers/tree/master/packages/sha256-browser", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/sha256-js": "^5.2.0", + "@aws-crypto/supports-web-crypto": "^5.2.0", + "@aws-crypto/util": "^5.2.0", + "@aws-sdk/types": "^3.222.0", + "@aws-sdk/util-locate-window": "^3.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.6.2" + }, + "main": "./build/main/index.js", + "module": "./build/module/index.js", + "types": "./build/main/index.d.ts", + "gitHead": "c11b171b35ec5c093364f0e0d8dc4ab1af68e748" +} diff --git a/node_modules/@aws-crypto/sha256-browser/src/constants.ts b/node_modules/@aws-crypto/sha256-browser/src/constants.ts new file mode 100644 index 0000000..7f68e2a --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/src/constants.ts @@ -0,0 +1,41 @@ +export const SHA_256_HASH: { name: "SHA-256" } = { name: "SHA-256" }; + +export const SHA_256_HMAC_ALGO: { name: "HMAC"; hash: { name: "SHA-256" } } = { + name: "HMAC", + hash: SHA_256_HASH +}; + +export const EMPTY_DATA_SHA_256 = new Uint8Array([ + 227, + 176, + 196, + 66, + 152, + 252, + 28, + 20, + 154, + 251, + 244, + 200, + 153, + 111, + 185, + 36, + 39, + 174, + 65, + 228, + 100, + 155, + 147, + 76, + 164, + 149, + 153, + 27, + 120, + 82, + 184, + 85 +]); diff --git a/node_modules/@aws-crypto/sha256-browser/src/crossPlatformSha256.ts b/node_modules/@aws-crypto/sha256-browser/src/crossPlatformSha256.ts new file mode 100644 index 0000000..8cb9ff0 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/src/crossPlatformSha256.ts @@ -0,0 +1,30 @@ +import { Sha256 as WebCryptoSha256 } from "./webCryptoSha256"; +import { Sha256 as JsSha256 } from "@aws-crypto/sha256-js"; +import { Checksum, SourceData } from "@aws-sdk/types"; +import { supportsWebCrypto } from "@aws-crypto/supports-web-crypto"; +import { locateWindow } from "@aws-sdk/util-locate-window"; +import { convertToBuffer } from "@aws-crypto/util"; + +export class Sha256 implements Checksum { + private hash: Checksum; + + constructor(secret?: SourceData) { + if (supportsWebCrypto(locateWindow())) { + this.hash = new WebCryptoSha256(secret); + } else { + this.hash = new JsSha256(secret); + } + } + + update(data: SourceData, encoding?: "utf8" | "ascii" | "latin1"): void { + this.hash.update(convertToBuffer(data)); + } + + digest(): Promise { + return this.hash.digest(); + } + + reset(): void { + this.hash.reset(); + } +} diff --git a/node_modules/@aws-crypto/sha256-browser/src/index.ts b/node_modules/@aws-crypto/sha256-browser/src/index.ts new file mode 100644 index 0000000..60ab397 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/src/index.ts @@ -0,0 +1,2 @@ +export * from "./crossPlatformSha256"; +export { Sha256 as WebCryptoSha256 } from "./webCryptoSha256"; diff --git a/node_modules/@aws-crypto/sha256-browser/src/isEmptyData.ts b/node_modules/@aws-crypto/sha256-browser/src/isEmptyData.ts new file mode 100644 index 0000000..538971f --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/src/isEmptyData.ts @@ -0,0 +1,9 @@ +import { SourceData } from "@aws-sdk/types"; + +export function isEmptyData(data: SourceData): boolean { + if (typeof data === "string") { + return data.length === 0; + } + + return data.byteLength === 0; +} diff --git a/node_modules/@aws-crypto/sha256-browser/src/webCryptoSha256.ts b/node_modules/@aws-crypto/sha256-browser/src/webCryptoSha256.ts new file mode 100644 index 0000000..fe4db57 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/src/webCryptoSha256.ts @@ -0,0 +1,71 @@ +import { Checksum, SourceData } from "@aws-sdk/types"; +import { isEmptyData, convertToBuffer } from "@aws-crypto/util"; +import { + EMPTY_DATA_SHA_256, + SHA_256_HASH, + SHA_256_HMAC_ALGO, +} from "./constants"; +import { locateWindow } from "@aws-sdk/util-locate-window"; + +export class Sha256 implements Checksum { + private readonly secret?: SourceData; + private key: Promise | undefined; + private toHash: Uint8Array = new Uint8Array(0); + + constructor(secret?: SourceData) { + this.secret = secret; + this.reset(); + } + + update(data: SourceData): void { + if (isEmptyData(data)) { + return; + } + + const update = convertToBuffer(data); + const typedArray = new Uint8Array( + this.toHash.byteLength + update.byteLength + ); + typedArray.set(this.toHash, 0); + typedArray.set(update, this.toHash.byteLength); + this.toHash = typedArray; + } + + digest(): Promise { + if (this.key) { + return this.key.then((key) => + locateWindow() + .crypto.subtle.sign(SHA_256_HMAC_ALGO, key, this.toHash) + .then((data) => new Uint8Array(data)) + ); + } + + if (isEmptyData(this.toHash)) { + return Promise.resolve(EMPTY_DATA_SHA_256); + } + + return Promise.resolve() + .then(() => + locateWindow().crypto.subtle.digest(SHA_256_HASH, this.toHash) + ) + .then((data) => Promise.resolve(new Uint8Array(data))); + } + + reset(): void { + this.toHash = new Uint8Array(0); + if (this.secret && this.secret !== void 0) { + this.key = new Promise((resolve, reject) => { + locateWindow() + .crypto.subtle.importKey( + "raw", + convertToBuffer(this.secret as SourceData), + SHA_256_HMAC_ALGO, + false, + ["sign"] + ) + .then(resolve, reject); + }); + this.key.catch(() => {}); + } + } +} diff --git a/node_modules/@aws-crypto/sha256-browser/tsconfig.json b/node_modules/@aws-crypto/sha256-browser/tsconfig.json new file mode 100644 index 0000000..fb9aa95 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "rootDir": "./src", + "outDir": "./build/main", + "lib": ["dom"], + }, + "include": ["src/**/*.ts"], + "exclude": ["node_modules/**"] +} diff --git a/node_modules/@aws-crypto/sha256-browser/tsconfig.module.json b/node_modules/@aws-crypto/sha256-browser/tsconfig.module.json new file mode 100644 index 0000000..7d0cfdd --- /dev/null +++ b/node_modules/@aws-crypto/sha256-browser/tsconfig.module.json @@ -0,0 +1,7 @@ +{ + "extends": "./tsconfig", + "compilerOptions": { + "outDir": "build/module", + "module": "esnext", + } +} diff --git a/node_modules/@aws-crypto/sha256-js/CHANGELOG.md b/node_modules/@aws-crypto/sha256-js/CHANGELOG.md new file mode 100644 index 0000000..97c1f60 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/CHANGELOG.md @@ -0,0 +1,106 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [5.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.1.0...v5.2.0) (2023-10-16) + +### Features + +- support ESM artifacts in all packages ([#752](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/752)) ([e930ffb](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/e930ffba5cfef66dd242049e7d514ced232c1e3b)) + +# [5.1.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.0.0...v5.1.0) (2023-09-22) + +### Bug Fixes + +- Update tsc to 2.x ([#735](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/735)) ([782e0de](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/782e0de9f5fef41f694130580a69d940894b6b8c)) + +# [5.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v4.0.1...v5.0.0) (2023-07-13) + +**Note:** Version bump only for package @aws-crypto/sha256-js + +# [4.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v3.0.0...v4.0.0) (2023-02-20) + +**Note:** Version bump only for package @aws-crypto/sha256-js + +# [3.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.2...v3.0.0) (2023-01-12) + +### Bug Fixes + +- **docs:** sha256 packages, clarify hmac support ([#455](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/455)) ([1be5043](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/1be5043325991f3f5ccb52a8dd928f004b4d442e)) + +- feat!: replace Hash implementations with Checksum interface (#492) ([da43dc0](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/da43dc0fdf669d9ebb5bfb1b1f7c79e46c4aaae1)), closes [#492](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/492) + +### BREAKING CHANGES + +- All classes that implemented `Hash` now implement `Checksum`. + +## [2.0.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.1...v2.0.2) (2022-09-07) + +### Bug Fixes + +- **#337:** update @aws-sdk/types ([#373](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/373)) ([b26a811](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/b26a811a392f5209c7ec7e57251500d4d78f97ff)), closes [#337](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/337) + +## [2.0.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.0...v2.0.1) (2021-12-09) + +**Note:** Version bump only for package @aws-crypto/sha256-js + +# [2.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.2...v2.0.0) (2021-10-25) + +**Note:** Version bump only for package @aws-crypto/sha256-js + +## [1.2.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.1...v1.2.2) (2021-10-12) + +**Note:** Version bump only for package @aws-crypto/sha256-js + +## [1.2.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.0...v1.2.1) (2021-09-17) + +**Note:** Version bump only for package @aws-crypto/sha256-js + +# [1.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.1.1...v1.2.0) (2021-09-17) + +### Features + +- add @aws-crypto/util ([8f489cb](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/8f489cbe4c0e134f826bac66f1bf5172597048b9)) + +# [1.1.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-js@1.0.0...@aws-crypto/sha256-js@1.1.0) (2021-01-13) + +### Bug Fixes + +- remove package lock ([6002a5a](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/6002a5ab9218dc8798c19dc205d3eebd3bec5b43)) +- **aws-crypto:** export explicit dependencies on [@aws-types](https://github.com/aws-types) ([6a1873a](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/6a1873a4dcc2aaa4a1338595703cfa7099f17b8c)) +- **deps-dev:** move @aws-sdk/types to devDependencies ([#188](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/188)) ([08efdf4](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/08efdf46dcc612d88c441e29945d787f253ee77d)) + +# [1.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-js@1.0.0-alpha.0...@aws-crypto/sha256-js@1.0.0) (2020-10-22) + +**Note:** Version bump only for package @aws-crypto/sha256-js + +# [1.0.0-alpha.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-js@0.1.0-preview.4...@aws-crypto/sha256-js@1.0.0-alpha.0) (2020-02-07) + +**Note:** Version bump only for package @aws-crypto/sha256-js + +# [0.1.0-preview.4](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-js@0.1.0-preview.2...@aws-crypto/sha256-js@0.1.0-preview.4) (2020-01-16) + +### Bug Fixes + +- Changed package.json files to point to the right Git repo ([#9](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/9)) ([028245d](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/028245d72e642ca98d82226afb300eb154503c4a)), closes [#8](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/8) +- es2015.iterable required ([#10](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/10)) ([6e08d83](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/6e08d83c33667ad8cbeeaaa7cedf1bbe05f79ed8)) +- lerna version maintains package-lock ([#14](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/14)) ([2ef29e1](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/2ef29e13779703a5c9b32e93d18918fcb33b7272)), closes [#13](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/13) + +# [0.1.0-preview.3](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-js@0.1.0-preview.2...@aws-crypto/sha256-js@0.1.0-preview.3) (2019-11-15) + +### Bug Fixes + +- Changed package.json files to point to the right Git repo ([#9](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/9)) ([028245d](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/028245d72e642ca98d82226afb300eb154503c4a)), closes [#8](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/8) +- es2015.iterable required ([#10](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/10)) ([6e08d83](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/6e08d83c33667ad8cbeeaaa7cedf1bbe05f79ed8)) +- lerna version maintains package-lock ([#14](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/14)) ([2ef29e1](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/2ef29e13779703a5c9b32e93d18918fcb33b7272)), closes [#13](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/13) + +# [0.1.0-preview.2](https://github.com/aws/aws-javascript-crypto-helpers/compare/@aws-crypto/sha256-js@0.1.0-preview.1...@aws-crypto/sha256-js@0.1.0-preview.2) (2019-10-30) + +### Bug Fixes + +- remove /src/ from .npmignore (for sourcemaps) ([#5](https://github.com/aws/aws-javascript-crypto-helpers/issues/5)) ([ec52056](https://github.com/aws/aws-javascript-crypto-helpers/commit/ec52056)) + +### Features + +- **sha256-js:** expose synchronous digest ([#7](https://github.com/aws/aws-javascript-crypto-helpers/issues/7)) ([9edaef7](https://github.com/aws/aws-javascript-crypto-helpers/commit/9edaef7)), closes [#6](https://github.com/aws/aws-javascript-crypto-helpers/issues/6) diff --git a/node_modules/@aws-crypto/sha256-js/LICENSE b/node_modules/@aws-crypto/sha256-js/LICENSE new file mode 100644 index 0000000..ad410e1 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/README.md b/node_modules/@aws-crypto/sha256-js/README.md new file mode 100644 index 0000000..f769f5b --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/README.md @@ -0,0 +1,29 @@ +# crypto-sha256-js + +A pure JS implementation SHA256. + +## Usage + +- To hash "some data" +``` +import {Sha256} from '@aws-crypto/sha256-js'; + +const hash = new Sha256(); +hash.update('some data'); +const result = await hash.digest(); + +``` + +- To hmac "some data" with "a key" +``` +import {Sha256} from '@aws-crypto/sha256-js'; + +const hash = new Sha256('a key'); +hash.update('some data'); +const result = await hash.digest(); + +``` + +## Test + +`npm test` diff --git a/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.d.ts b/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.d.ts new file mode 100644 index 0000000..1f580b2 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.d.ts @@ -0,0 +1,17 @@ +/** + * @internal + */ +export declare class RawSha256 { + private state; + private temp; + private buffer; + private bufferLength; + private bytesHashed; + /** + * @internal + */ + finished: boolean; + update(data: Uint8Array): void; + digest(): Uint8Array; + private hashBuffer; +} diff --git a/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js b/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js new file mode 100644 index 0000000..68ceacc --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js @@ -0,0 +1,124 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.RawSha256 = void 0; +var constants_1 = require("./constants"); +/** + * @internal + */ +var RawSha256 = /** @class */ (function () { + function RawSha256() { + this.state = Int32Array.from(constants_1.INIT); + this.temp = new Int32Array(64); + this.buffer = new Uint8Array(64); + this.bufferLength = 0; + this.bytesHashed = 0; + /** + * @internal + */ + this.finished = false; + } + RawSha256.prototype.update = function (data) { + if (this.finished) { + throw new Error("Attempted to update an already finished hash."); + } + var position = 0; + var byteLength = data.byteLength; + this.bytesHashed += byteLength; + if (this.bytesHashed * 8 > constants_1.MAX_HASHABLE_LENGTH) { + throw new Error("Cannot hash more than 2^53 - 1 bits"); + } + while (byteLength > 0) { + this.buffer[this.bufferLength++] = data[position++]; + byteLength--; + if (this.bufferLength === constants_1.BLOCK_SIZE) { + this.hashBuffer(); + this.bufferLength = 0; + } + } + }; + RawSha256.prototype.digest = function () { + if (!this.finished) { + var bitsHashed = this.bytesHashed * 8; + var bufferView = new DataView(this.buffer.buffer, this.buffer.byteOffset, this.buffer.byteLength); + var undecoratedLength = this.bufferLength; + bufferView.setUint8(this.bufferLength++, 0x80); + // Ensure the final block has enough room for the hashed length + if (undecoratedLength % constants_1.BLOCK_SIZE >= constants_1.BLOCK_SIZE - 8) { + for (var i = this.bufferLength; i < constants_1.BLOCK_SIZE; i++) { + bufferView.setUint8(i, 0); + } + this.hashBuffer(); + this.bufferLength = 0; + } + for (var i = this.bufferLength; i < constants_1.BLOCK_SIZE - 8; i++) { + bufferView.setUint8(i, 0); + } + bufferView.setUint32(constants_1.BLOCK_SIZE - 8, Math.floor(bitsHashed / 0x100000000), true); + bufferView.setUint32(constants_1.BLOCK_SIZE - 4, bitsHashed); + this.hashBuffer(); + this.finished = true; + } + // The value in state is little-endian rather than big-endian, so flip + // each word into a new Uint8Array + var out = new Uint8Array(constants_1.DIGEST_LENGTH); + for (var i = 0; i < 8; i++) { + out[i * 4] = (this.state[i] >>> 24) & 0xff; + out[i * 4 + 1] = (this.state[i] >>> 16) & 0xff; + out[i * 4 + 2] = (this.state[i] >>> 8) & 0xff; + out[i * 4 + 3] = (this.state[i] >>> 0) & 0xff; + } + return out; + }; + RawSha256.prototype.hashBuffer = function () { + var _a = this, buffer = _a.buffer, state = _a.state; + var state0 = state[0], state1 = state[1], state2 = state[2], state3 = state[3], state4 = state[4], state5 = state[5], state6 = state[6], state7 = state[7]; + for (var i = 0; i < constants_1.BLOCK_SIZE; i++) { + if (i < 16) { + this.temp[i] = + ((buffer[i * 4] & 0xff) << 24) | + ((buffer[i * 4 + 1] & 0xff) << 16) | + ((buffer[i * 4 + 2] & 0xff) << 8) | + (buffer[i * 4 + 3] & 0xff); + } + else { + var u = this.temp[i - 2]; + var t1_1 = ((u >>> 17) | (u << 15)) ^ ((u >>> 19) | (u << 13)) ^ (u >>> 10); + u = this.temp[i - 15]; + var t2_1 = ((u >>> 7) | (u << 25)) ^ ((u >>> 18) | (u << 14)) ^ (u >>> 3); + this.temp[i] = + ((t1_1 + this.temp[i - 7]) | 0) + ((t2_1 + this.temp[i - 16]) | 0); + } + var t1 = ((((((state4 >>> 6) | (state4 << 26)) ^ + ((state4 >>> 11) | (state4 << 21)) ^ + ((state4 >>> 25) | (state4 << 7))) + + ((state4 & state5) ^ (~state4 & state6))) | + 0) + + ((state7 + ((constants_1.KEY[i] + this.temp[i]) | 0)) | 0)) | + 0; + var t2 = ((((state0 >>> 2) | (state0 << 30)) ^ + ((state0 >>> 13) | (state0 << 19)) ^ + ((state0 >>> 22) | (state0 << 10))) + + ((state0 & state1) ^ (state0 & state2) ^ (state1 & state2))) | + 0; + state7 = state6; + state6 = state5; + state5 = state4; + state4 = (state3 + t1) | 0; + state3 = state2; + state2 = state1; + state1 = state0; + state0 = (t1 + t2) | 0; + } + state[0] += state0; + state[1] += state1; + state[2] += state2; + state[3] += state3; + state[4] += state4; + state[5] += state5; + state[6] += state6; + state[7] += state7; + }; + return RawSha256; +}()); +exports.RawSha256 = RawSha256; +//# sourceMappingURL=RawSha256.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js.map b/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js.map new file mode 100644 index 0000000..81659f5 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js.map @@ -0,0 +1 @@ +{"version":3,"file":"RawSha256.js","sourceRoot":"","sources":["../../src/RawSha256.ts"],"names":[],"mappings":";;;AAAA,yCAMqB;AAErB;;GAEG;AACH;IAAA;QACU,UAAK,GAAe,UAAU,CAAC,IAAI,CAAC,gBAAI,CAAC,CAAC;QAC1C,SAAI,GAAe,IAAI,UAAU,CAAC,EAAE,CAAC,CAAC;QACtC,WAAM,GAAe,IAAI,UAAU,CAAC,EAAE,CAAC,CAAC;QACxC,iBAAY,GAAW,CAAC,CAAC;QACzB,gBAAW,GAAW,CAAC,CAAC;QAEhC;;WAEG;QACH,aAAQ,GAAY,KAAK,CAAC;IA8I5B,CAAC;IA5IC,0BAAM,GAAN,UAAO,IAAgB;QACrB,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAC;SAClE;QAED,IAAI,QAAQ,GAAG,CAAC,CAAC;QACX,IAAA,UAAU,GAAK,IAAI,WAAT,CAAU;QAC1B,IAAI,CAAC,WAAW,IAAI,UAAU,CAAC;QAE/B,IAAI,IAAI,CAAC,WAAW,GAAG,CAAC,GAAG,+BAAmB,EAAE;YAC9C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;SACxD;QAED,OAAO,UAAU,GAAG,CAAC,EAAE;YACrB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;YACpD,UAAU,EAAE,CAAC;YAEb,IAAI,IAAI,CAAC,YAAY,KAAK,sBAAU,EAAE;gBACpC,IAAI,CAAC,UAAU,EAAE,CAAC;gBAClB,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC;aACvB;SACF;IACH,CAAC;IAED,0BAAM,GAAN;QACE,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YAClB,IAAM,UAAU,GAAG,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;YACxC,IAAM,UAAU,GAAG,IAAI,QAAQ,CAC7B,IAAI,CAAC,MAAM,CAAC,MAAM,EAClB,IAAI,CAAC,MAAM,CAAC,UAAU,EACtB,IAAI,CAAC,MAAM,CAAC,UAAU,CACvB,CAAC;YAEF,IAAM,iBAAiB,GAAG,IAAI,CAAC,YAAY,CAAC;YAC5C,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,IAAI,CAAC,CAAC;YAE/C,+DAA+D;YAC/D,IAAI,iBAAiB,GAAG,sBAAU,IAAI,sBAAU,GAAG,CAAC,EAAE;gBACpD,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC,GAAG,sBAAU,EAAE,CAAC,EAAE,EAAE;oBACnD,UAAU,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;iBAC3B;gBACD,IAAI,CAAC,UAAU,EAAE,CAAC;gBAClB,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC;aACvB;YAED,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC,GAAG,sBAAU,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;gBACvD,UAAU,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;aAC3B;YACD,UAAU,CAAC,SAAS,CAClB,sBAAU,GAAG,CAAC,EACd,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,WAAW,CAAC,EACpC,IAAI,CACL,CAAC;YACF,UAAU,CAAC,SAAS,CAAC,sBAAU,GAAG,CAAC,EAAE,UAAU,CAAC,CAAC;YAEjD,IAAI,CAAC,UAAU,EAAE,CAAC;YAElB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;SACtB;QAED,sEAAsE;QACtE,kCAAkC;QAClC,IAAM,GAAG,GAAG,IAAI,UAAU,CAAC,yBAAa,CAAC,CAAC;QAC1C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;YAC1B,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;YAC3C,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;YAC/C,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC;YAC9C,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC;SAC/C;QAED,OAAO,GAAG,CAAC;IACb,CAAC;IAEO,8BAAU,GAAlB;QACQ,IAAA,KAAoB,IAAI,EAAtB,MAAM,YAAA,EAAE,KAAK,WAAS,CAAC;QAE/B,IAAI,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,EACnB,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,EACjB,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,EACjB,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,EACjB,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,EACjB,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,EACjB,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,EACjB,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QAEpB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,sBAAU,EAAE,CAAC,EAAE,EAAE;YACnC,IAAI,CAAC,GAAG,EAAE,EAAE;gBACV,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;oBACV,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;wBAC9B,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;wBAClC,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;wBACjC,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;aAC9B;iBAAM;gBACL,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;gBACzB,IAAM,IAAE,GACN,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC;gBAEnE,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;gBACtB,IAAM,IAAE,GACN,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;gBAEjE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;oBACV,CAAC,CAAC,IAAE,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAE,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;aAClE;YAED,IAAM,EAAE,GACN,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;gBACnC,CAAC,CAAC,MAAM,KAAK,EAAE,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;gBAClC,CAAC,CAAC,MAAM,KAAK,EAAE,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;gBAClC,CAAC,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC;gBACzC,CAAC,CAAC;gBACF,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,eAAG,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;gBACjD,CAAC,CAAC;YAEJ,IAAM,EAAE,GACN,CAAC,CAAC,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;gBACjC,CAAC,CAAC,MAAM,KAAK,EAAE,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;gBAClC,CAAC,CAAC,MAAM,KAAK,EAAE,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,CAAC;gBACnC,CAAC,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC;gBAC9D,CAAC,CAAC;YAEJ,MAAM,GAAG,MAAM,CAAC;YAChB,MAAM,GAAG,MAAM,CAAC;YAChB,MAAM,GAAG,MAAM,CAAC;YAChB,MAAM,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC;YAC3B,MAAM,GAAG,MAAM,CAAC;YAChB,MAAM,GAAG,MAAM,CAAC;YAChB,MAAM,GAAG,MAAM,CAAC;YAChB,MAAM,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC;SACxB;QAED,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;IACrB,CAAC;IACH,gBAAC;AAAD,CAAC,AAxJD,IAwJC;AAxJY,8BAAS"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/build/main/constants.d.ts b/node_modules/@aws-crypto/sha256-js/build/main/constants.d.ts new file mode 100644 index 0000000..63bd764 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/main/constants.d.ts @@ -0,0 +1,20 @@ +/** + * @internal + */ +export declare const BLOCK_SIZE: number; +/** + * @internal + */ +export declare const DIGEST_LENGTH: number; +/** + * @internal + */ +export declare const KEY: Uint32Array; +/** + * @internal + */ +export declare const INIT: number[]; +/** + * @internal + */ +export declare const MAX_HASHABLE_LENGTH: number; diff --git a/node_modules/@aws-crypto/sha256-js/build/main/constants.js b/node_modules/@aws-crypto/sha256-js/build/main/constants.js new file mode 100644 index 0000000..c83aa09 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/main/constants.js @@ -0,0 +1,98 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.MAX_HASHABLE_LENGTH = exports.INIT = exports.KEY = exports.DIGEST_LENGTH = exports.BLOCK_SIZE = void 0; +/** + * @internal + */ +exports.BLOCK_SIZE = 64; +/** + * @internal + */ +exports.DIGEST_LENGTH = 32; +/** + * @internal + */ +exports.KEY = new Uint32Array([ + 0x428a2f98, + 0x71374491, + 0xb5c0fbcf, + 0xe9b5dba5, + 0x3956c25b, + 0x59f111f1, + 0x923f82a4, + 0xab1c5ed5, + 0xd807aa98, + 0x12835b01, + 0x243185be, + 0x550c7dc3, + 0x72be5d74, + 0x80deb1fe, + 0x9bdc06a7, + 0xc19bf174, + 0xe49b69c1, + 0xefbe4786, + 0x0fc19dc6, + 0x240ca1cc, + 0x2de92c6f, + 0x4a7484aa, + 0x5cb0a9dc, + 0x76f988da, + 0x983e5152, + 0xa831c66d, + 0xb00327c8, + 0xbf597fc7, + 0xc6e00bf3, + 0xd5a79147, + 0x06ca6351, + 0x14292967, + 0x27b70a85, + 0x2e1b2138, + 0x4d2c6dfc, + 0x53380d13, + 0x650a7354, + 0x766a0abb, + 0x81c2c92e, + 0x92722c85, + 0xa2bfe8a1, + 0xa81a664b, + 0xc24b8b70, + 0xc76c51a3, + 0xd192e819, + 0xd6990624, + 0xf40e3585, + 0x106aa070, + 0x19a4c116, + 0x1e376c08, + 0x2748774c, + 0x34b0bcb5, + 0x391c0cb3, + 0x4ed8aa4a, + 0x5b9cca4f, + 0x682e6ff3, + 0x748f82ee, + 0x78a5636f, + 0x84c87814, + 0x8cc70208, + 0x90befffa, + 0xa4506ceb, + 0xbef9a3f7, + 0xc67178f2 +]); +/** + * @internal + */ +exports.INIT = [ + 0x6a09e667, + 0xbb67ae85, + 0x3c6ef372, + 0xa54ff53a, + 0x510e527f, + 0x9b05688c, + 0x1f83d9ab, + 0x5be0cd19 +]; +/** + * @internal + */ +exports.MAX_HASHABLE_LENGTH = Math.pow(2, 53) - 1; +//# sourceMappingURL=constants.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/build/main/constants.js.map b/node_modules/@aws-crypto/sha256-js/build/main/constants.js.map new file mode 100644 index 0000000..1132c12 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/main/constants.js.map @@ -0,0 +1 @@ +{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACU,QAAA,UAAU,GAAW,EAAE,CAAC;AAErC;;GAEG;AACU,QAAA,aAAa,GAAW,EAAE,CAAC;AAExC;;GAEG;AACU,QAAA,GAAG,GAAG,IAAI,WAAW,CAAC;IACjC,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;CACX,CAAC,CAAC;AAEH;;GAEG;AACU,QAAA,IAAI,GAAG;IAClB,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;CACX,CAAC;AAEF;;GAEG;AACU,QAAA,mBAAmB,GAAG,SAAA,CAAC,EAAI,EAAE,CAAA,GAAG,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/build/main/index.d.ts b/node_modules/@aws-crypto/sha256-js/build/main/index.d.ts new file mode 100644 index 0000000..4554d8a --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/main/index.d.ts @@ -0,0 +1 @@ +export * from "./jsSha256"; diff --git a/node_modules/@aws-crypto/sha256-js/build/main/index.js b/node_modules/@aws-crypto/sha256-js/build/main/index.js new file mode 100644 index 0000000..4329f10 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/main/index.js @@ -0,0 +1,5 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +tslib_1.__exportStar(require("./jsSha256"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/build/main/index.js.map b/node_modules/@aws-crypto/sha256-js/build/main/index.js.map new file mode 100644 index 0000000..9f97d54 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/main/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,qDAA2B"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.d.ts b/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.d.ts new file mode 100644 index 0000000..d813b25 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.d.ts @@ -0,0 +1,12 @@ +import { Checksum, SourceData } from "@aws-sdk/types"; +export declare class Sha256 implements Checksum { + private readonly secret?; + private hash; + private outer?; + private error; + constructor(secret?: SourceData); + update(toHash: SourceData): void; + digestSync(): Uint8Array; + digest(): Promise; + reset(): void; +} diff --git a/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js b/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js new file mode 100644 index 0000000..2a4f2f1 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js @@ -0,0 +1,85 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Sha256 = void 0; +var tslib_1 = require("tslib"); +var constants_1 = require("./constants"); +var RawSha256_1 = require("./RawSha256"); +var util_1 = require("@aws-crypto/util"); +var Sha256 = /** @class */ (function () { + function Sha256(secret) { + this.secret = secret; + this.hash = new RawSha256_1.RawSha256(); + this.reset(); + } + Sha256.prototype.update = function (toHash) { + if ((0, util_1.isEmptyData)(toHash) || this.error) { + return; + } + try { + this.hash.update((0, util_1.convertToBuffer)(toHash)); + } + catch (e) { + this.error = e; + } + }; + /* This synchronous method keeps compatibility + * with the v2 aws-sdk. + */ + Sha256.prototype.digestSync = function () { + if (this.error) { + throw this.error; + } + if (this.outer) { + if (!this.outer.finished) { + this.outer.update(this.hash.digest()); + } + return this.outer.digest(); + } + return this.hash.digest(); + }; + /* The underlying digest method here is synchronous. + * To keep the same interface with the other hash functions + * the default is to expose this as an async method. + * However, it can sometimes be useful to have a sync method. + */ + Sha256.prototype.digest = function () { + return tslib_1.__awaiter(this, void 0, void 0, function () { + return tslib_1.__generator(this, function (_a) { + return [2 /*return*/, this.digestSync()]; + }); + }); + }; + Sha256.prototype.reset = function () { + this.hash = new RawSha256_1.RawSha256(); + if (this.secret) { + this.outer = new RawSha256_1.RawSha256(); + var inner = bufferFromSecret(this.secret); + var outer = new Uint8Array(constants_1.BLOCK_SIZE); + outer.set(inner); + for (var i = 0; i < constants_1.BLOCK_SIZE; i++) { + inner[i] ^= 0x36; + outer[i] ^= 0x5c; + } + this.hash.update(inner); + this.outer.update(outer); + // overwrite the copied key in memory + for (var i = 0; i < inner.byteLength; i++) { + inner[i] = 0; + } + } + }; + return Sha256; +}()); +exports.Sha256 = Sha256; +function bufferFromSecret(secret) { + var input = (0, util_1.convertToBuffer)(secret); + if (input.byteLength > constants_1.BLOCK_SIZE) { + var bufferHash = new RawSha256_1.RawSha256(); + bufferHash.update(input); + input = bufferHash.digest(); + } + var buffer = new Uint8Array(constants_1.BLOCK_SIZE); + buffer.set(input); + return buffer; +} +//# sourceMappingURL=jsSha256.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js.map b/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js.map new file mode 100644 index 0000000..c34eb36 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js.map @@ -0,0 +1 @@ +{"version":3,"file":"jsSha256.js","sourceRoot":"","sources":["../../src/jsSha256.ts"],"names":[],"mappings":";;;;AAAA,yCAAyC;AACzC,yCAAwC;AAExC,yCAAgE;AAEhE;IAME,gBAAY,MAAmB;QAC7B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,qBAAS,EAAE,CAAC;QAC5B,IAAI,CAAC,KAAK,EAAE,CAAC;IACf,CAAC;IAED,uBAAM,GAAN,UAAO,MAAkB;QACvB,IAAI,IAAA,kBAAW,EAAC,MAAM,CAAC,IAAI,IAAI,CAAC,KAAK,EAAE;YACrC,OAAO;SACR;QAED,IAAI;YACF,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,IAAA,sBAAe,EAAC,MAAM,CAAC,CAAC,CAAC;SAC3C;QAAC,OAAO,CAAC,EAAE;YACV,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;SAChB;IACH,CAAC;IAED;;OAEG;IACH,2BAAU,GAAV;QACE,IAAI,IAAI,CAAC,KAAK,EAAE;YACd,MAAM,IAAI,CAAC,KAAK,CAAC;SAClB;QAED,IAAI,IAAI,CAAC,KAAK,EAAE;YACd,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;gBACxB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;aACvC;YAED,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;SAC5B;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;IAC5B,CAAC;IAED;;;;OAIG;IACG,uBAAM,GAAZ;;;gBACE,sBAAO,IAAI,CAAC,UAAU,EAAE,EAAC;;;KAC1B;IAED,sBAAK,GAAL;QACE,IAAI,CAAC,IAAI,GAAG,IAAI,qBAAS,EAAE,CAAC;QAC5B,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI,CAAC,KAAK,GAAG,IAAI,qBAAS,EAAE,CAAC;YAC7B,IAAM,KAAK,GAAG,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAC5C,IAAM,KAAK,GAAG,IAAI,UAAU,CAAC,sBAAU,CAAC,CAAC;YACzC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YAEjB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,sBAAU,EAAE,CAAC,EAAE,EAAE;gBACnC,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;gBACjB,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;aAClB;YAED,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YACxB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAEzB,qCAAqC;YACrC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,UAAU,EAAE,CAAC,EAAE,EAAE;gBACzC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;aACd;SACF;IACH,CAAC;IACH,aAAC;AAAD,CAAC,AA1ED,IA0EC;AA1EY,wBAAM;AA4EnB,SAAS,gBAAgB,CAAC,MAAkB;IAC1C,IAAI,KAAK,GAAG,IAAA,sBAAe,EAAC,MAAM,CAAC,CAAC;IAEpC,IAAI,KAAK,CAAC,UAAU,GAAG,sBAAU,EAAE;QACjC,IAAM,UAAU,GAAG,IAAI,qBAAS,EAAE,CAAC;QACnC,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACzB,KAAK,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC;KAC7B;IAED,IAAM,MAAM,GAAG,IAAI,UAAU,CAAC,sBAAU,CAAC,CAAC;IAC1C,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAClB,OAAO,MAAM,CAAC;AAChB,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.d.ts b/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.d.ts new file mode 100644 index 0000000..d880343 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.d.ts @@ -0,0 +1,5 @@ +export declare const hashTestVectors: Array<[Uint8Array, Uint8Array]>; +/** + * @see https://tools.ietf.org/html/rfc4231 + */ +export declare const hmacTestVectors: Array<[Uint8Array, Uint8Array, Uint8Array]>; diff --git a/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js b/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js new file mode 100644 index 0000000..3f0dd2f --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js @@ -0,0 +1,322 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.hmacTestVectors = exports.hashTestVectors = void 0; +var util_hex_encoding_1 = require("@aws-sdk/util-hex-encoding"); +var millionChars = new Uint8Array(1000000); +for (var i = 0; i < 1000000; i++) { + millionChars[i] = 97; +} +exports.hashTestVectors = [ + [ + Uint8Array.from([97, 98, 99]), + (0, util_hex_encoding_1.fromHex)("ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad") + ], + [ + new Uint8Array(0), + (0, util_hex_encoding_1.fromHex)("e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855") + ], + [ + (0, util_hex_encoding_1.fromHex)("61"), + (0, util_hex_encoding_1.fromHex)("ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161"), + (0, util_hex_encoding_1.fromHex)("961b6dd3ede3cb8ecbaacbd68de040cd78eb2ed5889130cceb4c49268ea4d506") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161"), + (0, util_hex_encoding_1.fromHex)("9834876dcfb05cb167a5c24953eba58c4ac89b1adf57f28f2f9d09af107ee8f0") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161"), + (0, util_hex_encoding_1.fromHex)("61be55a8e2f6b4e172338bddf184d6dbee29c98853e0a0485ecee7f27b9af0b4") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161616161"), + (0, util_hex_encoding_1.fromHex)("ed968e840d10d2d313a870bc131a4e2c311d7ad09bdf32b3418147221f51a6e2") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161616161"), + (0, util_hex_encoding_1.fromHex)("ed02457b5c41d964dbd2f2a609d63fe1bb7528dbe55e1abf5b52c249cd735797") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161616161"), + (0, util_hex_encoding_1.fromHex)("e46240714b5db3a23eee60479a623efba4d633d27fe4f03c904b9e219a7fbe60") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161616161616161"), + (0, util_hex_encoding_1.fromHex)("1f3ce40415a2081fa3eee75fc39fff8e56c22270d1a978a7249b592dcebd20b4") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161616161616161"), + (0, util_hex_encoding_1.fromHex)("f2aca93b80cae681221f0445fa4e2cae8a1f9f8fa1e1741d9639caad222f537d") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161616161616161"), + (0, util_hex_encoding_1.fromHex)("bf2cb58a68f684d95a3b78ef8f661c9a4e5b09e82cc8f9cc88cce90528caeb27") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("28cb017dfc99073aa1b47c1b30f413e3ce774c4991eb4158de50f9dbb36d8043") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("f24abc34b13fade76e805799f71187da6cd90b9cac373ae65ed57f143bd664e5") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("a689d786e81340e45511dec6c7ab2d978434e5db123362450fe10cfac70d19d0") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("82cab7df0abfb9d95dca4e5937ce2968c798c726fea48c016bf9763221efda13") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("ef2df0b539c6c23de0f4cbe42648c301ae0e22e887340a4599fb4ef4e2678e48") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("0c0beacef8877bbf2416eb00f2b5dc96354e26dd1df5517320459b1236860f8c") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("b860666ee2966dd8f903be44ee605c6e1366f926d9f17a8f49937d11624eb99d") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("c926defaaa3d13eda2fc63a553bb7fb7326bece6e7cb67ca5296e4727d89bab4") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("a0b4aaab8a966e2193ba172d68162c4656860197f256b5f45f0203397ff3f99c") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("42492da06234ad0ac76f5d5debdb6d1ae027cffbe746a1c13b89bb8bc0139137") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("7df8e299c834de198e264c3e374bc58ecd9382252a705c183beb02f275571e3b") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("ec7c494df6d2a7ea36668d656e6b8979e33641bfea378c15038af3964db057a3") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("897d3e95b65f26676081f8b9f3a98b6ee4424566303e8d4e7c7522ebae219eab") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("09f61f8d9cd65e6a0c258087c485b6293541364e42bd97b2d7936580c8aa3c54") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("2f521e2a7d0bd812cbc035f4ed6806eb8d851793b04ba147e8f66b72f5d1f20f") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("9976d549a25115dab4e36d0c1fb8f31cb07da87dd83275977360eb7dc09e88de") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("cc0616e61cbd6e8e5e34e9fb2d320f37de915820206f5696c31f1fbd24aa16de") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("9c547cb8115a44883b9f70ba68f75117cd55359c92611875e386f8af98c172ab") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("6913c9c7fd42fe23df8b6bcd4dbaf1c17748948d97f2980b432319c39eddcf6c") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("3a54fc0cbc0b0ef48b6507b7788096235d10292dd3ae24e22f5aa062d4f9864a") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("61c60b487d1a921e0bcc9bf853dda0fb159b30bf57b2e2d2c753b00be15b5a09") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("3ba3f5f43b92602683c19aee62a20342b084dd5971ddd33808d81a328879a547") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("852785c805c77e71a22340a54e9d95933ed49121e7d2bf3c2d358854bc1359ea") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("a27c896c4859204843166af66f0e902b9c3b3ed6d2fd13d435abc020065c526f") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("629362afc62c74497caed2272e30f8125ecd0965f8d8d7cfc4e260f7f8dd319d") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("22c1d24bcd03e9aee9832efccd6da613fc702793178e5f12c945c7b67ddda933") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("21ec055b38ce759cd4d0f477e9bdec2c5b8199945db4439bae334a964df6246c") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("365a9c3e2c2af0a56e47a9dac51c2c5381bf8f41273bad3175e0e619126ad087") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("b4d5e56e929ba4cda349e9274e3603d0be246b82016bca20f363963c5f2d6845") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("e33cdf9c7f7120b98e8c78408953e07f2ecd183006b5606df349b4c212acf43e") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("c0f8bd4dbc2b0c03107c1c37913f2a7501f521467f45dd0fef6958e9a4692719") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("7a538607fdaab9296995929f451565bbb8142e1844117322aafd2b3d76b01aff") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("66d34fba71f8f450f7e45598853e53bfc23bbd129027cbb131a2f4ffd7878cd0") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("16849877c6c21ef0bfa68e4f6747300ddb171b170b9f00e189edc4c2fc4db93e") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("52789e3423b72beeb898456a4f49662e46b0cbb960784c5ef4b1399d327e7c27") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("6643110c5628fff59edf76d82d5bf573bf800f16a4d65dfb1e5d6f1a46296d0b") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("11eaed932c6c6fddfc2efc394e609facf4abe814fc6180d03b14fce13a07d0e5") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("97daac0ee9998dfcad6c9c0970da5ca411c86233a944c25b47566f6a7bc1ddd5") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("8f9bec6a62dd28ebd36d1227745592de6658b36974a3bb98a4c582f683ea6c42") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("160b4e433e384e05e537dc59b467f7cb2403f0214db15c5db58862a3f1156d2e") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("bfc5fe0e360152ca98c50fab4ed7e3078c17debc2917740d5000913b686ca129") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("6c1b3dc7a706b9dc81352a6716b9c666c608d8626272c64b914ab05572fc6e84") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("abe346a7259fc90b4c27185419628e5e6af6466b1ae9b5446cac4bfc26cf05c4") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("a3f01b6939256127582ac8ae9fb47a382a244680806a3f613a118851c1ca1d47") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("9f4390f8d30c2dd92ec9f095b65e2b9ae9b0a925a5258e241c9f1e910f734318") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("b35439a4ac6f0948b6d6f9e3c6af0f5f590ce20f1bde7090ef7970686ec6738a") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("f13b2d724659eb3bf47f2dd6af1accc87b81f09f59f2b75e5c0bed6589dfe8c6") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("d5c039b748aa64665782974ec3dc3025c042edf54dcdc2b5de31385b094cb678") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("111bb261277afd65f0744b247cd3e47d386d71563d0ed995517807d5ebd4fba3") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("11ee391211c6256460b6ed375957fadd8061cafbb31daf967db875aebd5aaad4") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("35d5fc17cfbbadd00f5e710ada39f194c5ad7c766ad67072245f1fad45f0f530") + ], + [ + (0, util_hex_encoding_1.fromHex)("6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("f506898cc7c2e092f9eb9fadae7ba50383f5b46a2a4fe5597dbb553a78981268") + ], + [ + (0, util_hex_encoding_1.fromHex)("616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("7d3e74a05d7db15bce4ad9ec0658ea98e3f06eeecf16b4c6fff2da457ddc2f34") + ], + [ + (0, util_hex_encoding_1.fromHex)("61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + (0, util_hex_encoding_1.fromHex)("ffe054fe7ae0cb6dc65c3af9b61d5209f439851db43d0ba5997337df154668eb") + ], + [ + (0, util_hex_encoding_1.fromHex)("de188941a3375d3a8a061e67576e926dc71a7fa3f0cceb97452b4d3227965f9ea8cc75076d9fb9c5417aa5cb30fc22198b34982dbb629e"), + (0, util_hex_encoding_1.fromHex)("038051e9c324393bd1ca1978dd0952c2aa3742ca4f1bd5cd4611cea83892d382") + ], + [ + millionChars, + (0, util_hex_encoding_1.fromHex)("cdc76e5c9914fb9281a1c7e284d73e67f1809a48a497200e046d39ccc7112cd0") + ], + [ + (0, util_hex_encoding_1.fromHex)("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"), + (0, util_hex_encoding_1.fromHex)("45ad4b37c6e2fc0a2cfcc1b5da524132ec707615c2cae1dbbc43c97aa521db81") + ] +]; +/** + * @see https://tools.ietf.org/html/rfc4231 + */ +exports.hmacTestVectors = [ + [ + (0, util_hex_encoding_1.fromHex)("0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b"), + (0, util_hex_encoding_1.fromHex)("4869205468657265"), + (0, util_hex_encoding_1.fromHex)("b0344c61d8db38535ca8afceaf0bf12b881dc200c9833da726e9376c2e32cff7") + ], + [ + (0, util_hex_encoding_1.fromHex)("4a656665"), + (0, util_hex_encoding_1.fromHex)("7768617420646f2079612077616e7420666f72206e6f7468696e673f"), + (0, util_hex_encoding_1.fromHex)("5bdcc146bf60754e6a042426089575c75a003f089d2739839dec58b964ec3843") + ], + [ + (0, util_hex_encoding_1.fromHex)("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"), + (0, util_hex_encoding_1.fromHex)("dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"), + (0, util_hex_encoding_1.fromHex)("773ea91e36800e46854db8ebd09181a72959098b3ef8c122d9635514ced565fe") + ], + [ + (0, util_hex_encoding_1.fromHex)("0102030405060708090a0b0c0d0e0f10111213141516171819"), + (0, util_hex_encoding_1.fromHex)("cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd"), + (0, util_hex_encoding_1.fromHex)("82558a389a443c0ea4cc819899f2083a85f0faa3e578f8077a2e3ff46729665b") + ], + [ + (0, util_hex_encoding_1.fromHex)("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"), + (0, util_hex_encoding_1.fromHex)("54657374205573696e67204c6172676572205468616e20426c6f636b2d53697a65204b6579202d2048617368204b6579204669727374"), + (0, util_hex_encoding_1.fromHex)("60e431591ee0b67f0d8a26aacbf5b77f8e0bc6213728c5140546040f0ee37f54") + ], + [ + (0, util_hex_encoding_1.fromHex)("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"), + (0, util_hex_encoding_1.fromHex)("5468697320697320612074657374207573696e672061206c6172676572207468616e20626c6f636b2d73697a65206b657920616e642061206c6172676572207468616e20626c6f636b2d73697a6520646174612e20546865206b6579206e6565647320746f20626520686173686564206265666f7265206265696e6720757365642062792074686520484d414320616c676f726974686d2e"), + (0, util_hex_encoding_1.fromHex)("9b09ffa71b942fcb27635fbcd5b0e944bfdc63644f0713938a7f51535c3a35e2") + ] +]; +//# sourceMappingURL=knownHashes.fixture.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js.map b/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js.map new file mode 100644 index 0000000..8ffc02e --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js.map @@ -0,0 +1 @@ +{"version":3,"file":"knownHashes.fixture.js","sourceRoot":"","sources":["../../src/knownHashes.fixture.ts"],"names":[],"mappings":";;;AAAA,gEAAqD;AAErD,IAAM,YAAY,GAAG,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC;AAC7C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,EAAE,EAAE;IAChC,YAAY,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;CACtB;AAEY,QAAA,eAAe,GAAoC;IAC9D;QACE,UAAU,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;QAC7B,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAI,UAAU,CAAC,CAAC,CAAC;QACjB,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,IAAI,CAAC;QACb,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,MAAM,CAAC;QACf,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,QAAQ,CAAC;QACjB,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,UAAU,CAAC;QACnB,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,YAAY,CAAC;QACrB,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,cAAc,CAAC;QACvB,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,gBAAgB,CAAC;QACzB,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,kBAAkB,CAAC;QAC3B,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,oBAAoB,CAAC;QAC7B,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,sBAAsB,CAAC;QAC/B,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,wBAAwB,CAAC;QACjC,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,0BAA0B,CAAC;QACnC,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,4BAA4B,CAAC;QACrC,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,8BAA8B,CAAC;QACvC,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,gCAAgC,CAAC;QACzC,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,kCAAkC,CAAC;QAC3C,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,oCAAoC,CAAC;QAC7C,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,sCAAsC,CAAC;QAC/C,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,wCAAwC,CAAC;QACjD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,0CAA0C,CAAC;QACnD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,4CAA4C,CAAC;QACrD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,8CAA8C,CAAC;QACvD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,gDAAgD,CAAC;QACzD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,kDAAkD,CAAC;QAC3D,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,oDAAoD,CAAC;QAC7D,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,sDAAsD,CAAC;QAC/D,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,wDAAwD,CAAC;QACjE,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,0DAA0D,CAAC;QACnE,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,4DAA4D,CAAC;QACrE,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,8DAA8D,CAAC;QACvE,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,gEAAgE,CAAC;QACzE,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,kEAAkE,CAAC;QAC3E,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,oEAAoE,CACrE;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,sEAAsE,CACvE;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,wEAAwE,CACzE;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,0EAA0E,CAC3E;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,4EAA4E,CAC7E;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,8EAA8E,CAC/E;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,gFAAgF,CACjF;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,kFAAkF,CACnF;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,oFAAoF,CACrF;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,sFAAsF,CACvF;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,wFAAwF,CACzF;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,0FAA0F,CAC3F;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,4FAA4F,CAC7F;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,8FAA8F,CAC/F;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,gGAAgG,CACjG;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,kGAAkG,CACnG;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,oGAAoG,CACrG;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,sGAAsG,CACvG;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,wGAAwG,CACzG;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,0GAA0G,CAC3G;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,4GAA4G,CAC7G;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,8GAA8G,CAC/G;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,gHAAgH,CACjH;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,kHAAkH,CACnH;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,oHAAoH,CACrH;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,sHAAsH,CACvH;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,wHAAwH,CACzH;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,0HAA0H,CAC3H;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,4HAA4H,CAC7H;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,8HAA8H,CAC/H;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,gIAAgI,CACjI;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,kIAAkI,CACnI;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,gHAAgH,CACjH;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,YAAY;QACZ,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,wQAAwQ,CACzQ;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;CACF,CAAC;AAEF;;GAEG;AACU,QAAA,eAAe,GAAgD;IAC1E;QACE,IAAA,2BAAO,EAAC,0CAA0C,CAAC;QACnD,IAAA,2BAAO,EAAC,kBAAkB,CAAC;QAC3B,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,UAAU,CAAC;QACnB,IAAA,2BAAO,EAAC,0DAA0D,CAAC;QACnE,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,0CAA0C,CAAC;QACnD,IAAA,2BAAO,EACL,sGAAsG,CACvG;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EAAC,oDAAoD,CAAC;QAC7D,IAAA,2BAAO,EACL,sGAAsG,CACvG;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,wQAAwQ,CACzQ;QACD,IAAA,2BAAO,EACL,8GAA8G,CAC/G;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAA,2BAAO,EACL,wQAAwQ,CACzQ;QACD,IAAA,2BAAO,EACL,kTAAkT,CACnT;QACD,IAAA,2BAAO,EAAC,kEAAkE,CAAC;KAC5E;CACF,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.d.ts b/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.d.ts new file mode 100644 index 0000000..1f580b2 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.d.ts @@ -0,0 +1,17 @@ +/** + * @internal + */ +export declare class RawSha256 { + private state; + private temp; + private buffer; + private bufferLength; + private bytesHashed; + /** + * @internal + */ + finished: boolean; + update(data: Uint8Array): void; + digest(): Uint8Array; + private hashBuffer; +} diff --git a/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js b/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js new file mode 100644 index 0000000..f799acd --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js @@ -0,0 +1,121 @@ +import { BLOCK_SIZE, DIGEST_LENGTH, INIT, KEY, MAX_HASHABLE_LENGTH } from "./constants"; +/** + * @internal + */ +var RawSha256 = /** @class */ (function () { + function RawSha256() { + this.state = Int32Array.from(INIT); + this.temp = new Int32Array(64); + this.buffer = new Uint8Array(64); + this.bufferLength = 0; + this.bytesHashed = 0; + /** + * @internal + */ + this.finished = false; + } + RawSha256.prototype.update = function (data) { + if (this.finished) { + throw new Error("Attempted to update an already finished hash."); + } + var position = 0; + var byteLength = data.byteLength; + this.bytesHashed += byteLength; + if (this.bytesHashed * 8 > MAX_HASHABLE_LENGTH) { + throw new Error("Cannot hash more than 2^53 - 1 bits"); + } + while (byteLength > 0) { + this.buffer[this.bufferLength++] = data[position++]; + byteLength--; + if (this.bufferLength === BLOCK_SIZE) { + this.hashBuffer(); + this.bufferLength = 0; + } + } + }; + RawSha256.prototype.digest = function () { + if (!this.finished) { + var bitsHashed = this.bytesHashed * 8; + var bufferView = new DataView(this.buffer.buffer, this.buffer.byteOffset, this.buffer.byteLength); + var undecoratedLength = this.bufferLength; + bufferView.setUint8(this.bufferLength++, 0x80); + // Ensure the final block has enough room for the hashed length + if (undecoratedLength % BLOCK_SIZE >= BLOCK_SIZE - 8) { + for (var i = this.bufferLength; i < BLOCK_SIZE; i++) { + bufferView.setUint8(i, 0); + } + this.hashBuffer(); + this.bufferLength = 0; + } + for (var i = this.bufferLength; i < BLOCK_SIZE - 8; i++) { + bufferView.setUint8(i, 0); + } + bufferView.setUint32(BLOCK_SIZE - 8, Math.floor(bitsHashed / 0x100000000), true); + bufferView.setUint32(BLOCK_SIZE - 4, bitsHashed); + this.hashBuffer(); + this.finished = true; + } + // The value in state is little-endian rather than big-endian, so flip + // each word into a new Uint8Array + var out = new Uint8Array(DIGEST_LENGTH); + for (var i = 0; i < 8; i++) { + out[i * 4] = (this.state[i] >>> 24) & 0xff; + out[i * 4 + 1] = (this.state[i] >>> 16) & 0xff; + out[i * 4 + 2] = (this.state[i] >>> 8) & 0xff; + out[i * 4 + 3] = (this.state[i] >>> 0) & 0xff; + } + return out; + }; + RawSha256.prototype.hashBuffer = function () { + var _a = this, buffer = _a.buffer, state = _a.state; + var state0 = state[0], state1 = state[1], state2 = state[2], state3 = state[3], state4 = state[4], state5 = state[5], state6 = state[6], state7 = state[7]; + for (var i = 0; i < BLOCK_SIZE; i++) { + if (i < 16) { + this.temp[i] = + ((buffer[i * 4] & 0xff) << 24) | + ((buffer[i * 4 + 1] & 0xff) << 16) | + ((buffer[i * 4 + 2] & 0xff) << 8) | + (buffer[i * 4 + 3] & 0xff); + } + else { + var u = this.temp[i - 2]; + var t1_1 = ((u >>> 17) | (u << 15)) ^ ((u >>> 19) | (u << 13)) ^ (u >>> 10); + u = this.temp[i - 15]; + var t2_1 = ((u >>> 7) | (u << 25)) ^ ((u >>> 18) | (u << 14)) ^ (u >>> 3); + this.temp[i] = + ((t1_1 + this.temp[i - 7]) | 0) + ((t2_1 + this.temp[i - 16]) | 0); + } + var t1 = ((((((state4 >>> 6) | (state4 << 26)) ^ + ((state4 >>> 11) | (state4 << 21)) ^ + ((state4 >>> 25) | (state4 << 7))) + + ((state4 & state5) ^ (~state4 & state6))) | + 0) + + ((state7 + ((KEY[i] + this.temp[i]) | 0)) | 0)) | + 0; + var t2 = ((((state0 >>> 2) | (state0 << 30)) ^ + ((state0 >>> 13) | (state0 << 19)) ^ + ((state0 >>> 22) | (state0 << 10))) + + ((state0 & state1) ^ (state0 & state2) ^ (state1 & state2))) | + 0; + state7 = state6; + state6 = state5; + state5 = state4; + state4 = (state3 + t1) | 0; + state3 = state2; + state2 = state1; + state1 = state0; + state0 = (t1 + t2) | 0; + } + state[0] += state0; + state[1] += state1; + state[2] += state2; + state[3] += state3; + state[4] += state4; + state[5] += state5; + state[6] += state6; + state[7] += state7; + }; + return RawSha256; +}()); +export { RawSha256 }; +//# sourceMappingURL=RawSha256.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js.map b/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js.map new file mode 100644 index 0000000..c4d50a9 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js.map @@ -0,0 +1 @@ +{"version":3,"file":"RawSha256.js","sourceRoot":"","sources":["../../src/RawSha256.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,aAAa,EACb,IAAI,EACJ,GAAG,EACH,mBAAmB,EACpB,MAAM,aAAa,CAAC;AAErB;;GAEG;AACH;IAAA;QACU,UAAK,GAAe,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC1C,SAAI,GAAe,IAAI,UAAU,CAAC,EAAE,CAAC,CAAC;QACtC,WAAM,GAAe,IAAI,UAAU,CAAC,EAAE,CAAC,CAAC;QACxC,iBAAY,GAAW,CAAC,CAAC;QACzB,gBAAW,GAAW,CAAC,CAAC;QAEhC;;WAEG;QACH,aAAQ,GAAY,KAAK,CAAC;IA8I5B,CAAC;IA5IC,0BAAM,GAAN,UAAO,IAAgB;QACrB,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAC;SAClE;QAED,IAAI,QAAQ,GAAG,CAAC,CAAC;QACX,IAAA,UAAU,GAAK,IAAI,WAAT,CAAU;QAC1B,IAAI,CAAC,WAAW,IAAI,UAAU,CAAC;QAE/B,IAAI,IAAI,CAAC,WAAW,GAAG,CAAC,GAAG,mBAAmB,EAAE;YAC9C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;SACxD;QAED,OAAO,UAAU,GAAG,CAAC,EAAE;YACrB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;YACpD,UAAU,EAAE,CAAC;YAEb,IAAI,IAAI,CAAC,YAAY,KAAK,UAAU,EAAE;gBACpC,IAAI,CAAC,UAAU,EAAE,CAAC;gBAClB,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC;aACvB;SACF;IACH,CAAC;IAED,0BAAM,GAAN;QACE,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YAClB,IAAM,UAAU,GAAG,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;YACxC,IAAM,UAAU,GAAG,IAAI,QAAQ,CAC7B,IAAI,CAAC,MAAM,CAAC,MAAM,EAClB,IAAI,CAAC,MAAM,CAAC,UAAU,EACtB,IAAI,CAAC,MAAM,CAAC,UAAU,CACvB,CAAC;YAEF,IAAM,iBAAiB,GAAG,IAAI,CAAC,YAAY,CAAC;YAC5C,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,IAAI,CAAC,CAAC;YAE/C,+DAA+D;YAC/D,IAAI,iBAAiB,GAAG,UAAU,IAAI,UAAU,GAAG,CAAC,EAAE;gBACpD,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC,GAAG,UAAU,EAAE,CAAC,EAAE,EAAE;oBACnD,UAAU,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;iBAC3B;gBACD,IAAI,CAAC,UAAU,EAAE,CAAC;gBAClB,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC;aACvB;YAED,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC,GAAG,UAAU,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;gBACvD,UAAU,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;aAC3B;YACD,UAAU,CAAC,SAAS,CAClB,UAAU,GAAG,CAAC,EACd,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,WAAW,CAAC,EACpC,IAAI,CACL,CAAC;YACF,UAAU,CAAC,SAAS,CAAC,UAAU,GAAG,CAAC,EAAE,UAAU,CAAC,CAAC;YAEjD,IAAI,CAAC,UAAU,EAAE,CAAC;YAElB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;SACtB;QAED,sEAAsE;QACtE,kCAAkC;QAClC,IAAM,GAAG,GAAG,IAAI,UAAU,CAAC,aAAa,CAAC,CAAC;QAC1C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;YAC1B,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;YAC3C,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;YAC/C,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC;YAC9C,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC;SAC/C;QAED,OAAO,GAAG,CAAC;IACb,CAAC;IAEO,8BAAU,GAAlB;QACQ,IAAA,KAAoB,IAAI,EAAtB,MAAM,YAAA,EAAE,KAAK,WAAS,CAAC;QAE/B,IAAI,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,EACnB,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,EACjB,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,EACjB,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,EACjB,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,EACjB,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,EACjB,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,EACjB,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QAEpB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,EAAE,CAAC,EAAE,EAAE;YACnC,IAAI,CAAC,GAAG,EAAE,EAAE;gBACV,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;oBACV,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;wBAC9B,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;wBAClC,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;wBACjC,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;aAC9B;iBAAM;gBACL,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;gBACzB,IAAM,IAAE,GACN,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC;gBAEnE,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;gBACtB,IAAM,IAAE,GACN,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;gBAEjE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;oBACV,CAAC,CAAC,IAAE,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAE,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;aAClE;YAED,IAAM,EAAE,GACN,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;gBACnC,CAAC,CAAC,MAAM,KAAK,EAAE,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;gBAClC,CAAC,CAAC,MAAM,KAAK,EAAE,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;gBAClC,CAAC,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC;gBACzC,CAAC,CAAC;gBACF,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;gBACjD,CAAC,CAAC;YAEJ,IAAM,EAAE,GACN,CAAC,CAAC,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;gBACjC,CAAC,CAAC,MAAM,KAAK,EAAE,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;gBAClC,CAAC,CAAC,MAAM,KAAK,EAAE,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,CAAC;gBACnC,CAAC,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC;gBAC9D,CAAC,CAAC;YAEJ,MAAM,GAAG,MAAM,CAAC;YAChB,MAAM,GAAG,MAAM,CAAC;YAChB,MAAM,GAAG,MAAM,CAAC;YAChB,MAAM,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC;YAC3B,MAAM,GAAG,MAAM,CAAC;YAChB,MAAM,GAAG,MAAM,CAAC;YAChB,MAAM,GAAG,MAAM,CAAC;YAChB,MAAM,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC;SACxB;QAED,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;QACnB,KAAK,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;IACrB,CAAC;IACH,gBAAC;AAAD,CAAC,AAxJD,IAwJC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/build/module/constants.d.ts b/node_modules/@aws-crypto/sha256-js/build/module/constants.d.ts new file mode 100644 index 0000000..63bd764 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/module/constants.d.ts @@ -0,0 +1,20 @@ +/** + * @internal + */ +export declare const BLOCK_SIZE: number; +/** + * @internal + */ +export declare const DIGEST_LENGTH: number; +/** + * @internal + */ +export declare const KEY: Uint32Array; +/** + * @internal + */ +export declare const INIT: number[]; +/** + * @internal + */ +export declare const MAX_HASHABLE_LENGTH: number; diff --git a/node_modules/@aws-crypto/sha256-js/build/module/constants.js b/node_modules/@aws-crypto/sha256-js/build/module/constants.js new file mode 100644 index 0000000..68037b3 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/module/constants.js @@ -0,0 +1,95 @@ +/** + * @internal + */ +export var BLOCK_SIZE = 64; +/** + * @internal + */ +export var DIGEST_LENGTH = 32; +/** + * @internal + */ +export var KEY = new Uint32Array([ + 0x428a2f98, + 0x71374491, + 0xb5c0fbcf, + 0xe9b5dba5, + 0x3956c25b, + 0x59f111f1, + 0x923f82a4, + 0xab1c5ed5, + 0xd807aa98, + 0x12835b01, + 0x243185be, + 0x550c7dc3, + 0x72be5d74, + 0x80deb1fe, + 0x9bdc06a7, + 0xc19bf174, + 0xe49b69c1, + 0xefbe4786, + 0x0fc19dc6, + 0x240ca1cc, + 0x2de92c6f, + 0x4a7484aa, + 0x5cb0a9dc, + 0x76f988da, + 0x983e5152, + 0xa831c66d, + 0xb00327c8, + 0xbf597fc7, + 0xc6e00bf3, + 0xd5a79147, + 0x06ca6351, + 0x14292967, + 0x27b70a85, + 0x2e1b2138, + 0x4d2c6dfc, + 0x53380d13, + 0x650a7354, + 0x766a0abb, + 0x81c2c92e, + 0x92722c85, + 0xa2bfe8a1, + 0xa81a664b, + 0xc24b8b70, + 0xc76c51a3, + 0xd192e819, + 0xd6990624, + 0xf40e3585, + 0x106aa070, + 0x19a4c116, + 0x1e376c08, + 0x2748774c, + 0x34b0bcb5, + 0x391c0cb3, + 0x4ed8aa4a, + 0x5b9cca4f, + 0x682e6ff3, + 0x748f82ee, + 0x78a5636f, + 0x84c87814, + 0x8cc70208, + 0x90befffa, + 0xa4506ceb, + 0xbef9a3f7, + 0xc67178f2 +]); +/** + * @internal + */ +export var INIT = [ + 0x6a09e667, + 0xbb67ae85, + 0x3c6ef372, + 0xa54ff53a, + 0x510e527f, + 0x9b05688c, + 0x1f83d9ab, + 0x5be0cd19 +]; +/** + * @internal + */ +export var MAX_HASHABLE_LENGTH = Math.pow(2, 53) - 1; +//# sourceMappingURL=constants.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/build/module/constants.js.map b/node_modules/@aws-crypto/sha256-js/build/module/constants.js.map new file mode 100644 index 0000000..6c93089 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/module/constants.js.map @@ -0,0 +1 @@ +{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,IAAM,UAAU,GAAW,EAAE,CAAC;AAErC;;GAEG;AACH,MAAM,CAAC,IAAM,aAAa,GAAW,EAAE,CAAC;AAExC;;GAEG;AACH,MAAM,CAAC,IAAM,GAAG,GAAG,IAAI,WAAW,CAAC;IACjC,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;CACX,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,IAAM,IAAI,GAAG;IAClB,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;CACX,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,IAAM,mBAAmB,GAAG,SAAA,CAAC,EAAI,EAAE,CAAA,GAAG,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/build/module/index.d.ts b/node_modules/@aws-crypto/sha256-js/build/module/index.d.ts new file mode 100644 index 0000000..4554d8a --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/module/index.d.ts @@ -0,0 +1 @@ +export * from "./jsSha256"; diff --git a/node_modules/@aws-crypto/sha256-js/build/module/index.js b/node_modules/@aws-crypto/sha256-js/build/module/index.js new file mode 100644 index 0000000..a8f73a0 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/module/index.js @@ -0,0 +1,2 @@ +export * from "./jsSha256"; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/build/module/index.js.map b/node_modules/@aws-crypto/sha256-js/build/module/index.js.map new file mode 100644 index 0000000..030d795 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/module/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.d.ts b/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.d.ts new file mode 100644 index 0000000..d813b25 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.d.ts @@ -0,0 +1,12 @@ +import { Checksum, SourceData } from "@aws-sdk/types"; +export declare class Sha256 implements Checksum { + private readonly secret?; + private hash; + private outer?; + private error; + constructor(secret?: SourceData); + update(toHash: SourceData): void; + digestSync(): Uint8Array; + digest(): Promise; + reset(): void; +} diff --git a/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js b/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js new file mode 100644 index 0000000..fa40899 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js @@ -0,0 +1,82 @@ +import { __awaiter, __generator } from "tslib"; +import { BLOCK_SIZE } from "./constants"; +import { RawSha256 } from "./RawSha256"; +import { isEmptyData, convertToBuffer } from "@aws-crypto/util"; +var Sha256 = /** @class */ (function () { + function Sha256(secret) { + this.secret = secret; + this.hash = new RawSha256(); + this.reset(); + } + Sha256.prototype.update = function (toHash) { + if (isEmptyData(toHash) || this.error) { + return; + } + try { + this.hash.update(convertToBuffer(toHash)); + } + catch (e) { + this.error = e; + } + }; + /* This synchronous method keeps compatibility + * with the v2 aws-sdk. + */ + Sha256.prototype.digestSync = function () { + if (this.error) { + throw this.error; + } + if (this.outer) { + if (!this.outer.finished) { + this.outer.update(this.hash.digest()); + } + return this.outer.digest(); + } + return this.hash.digest(); + }; + /* The underlying digest method here is synchronous. + * To keep the same interface with the other hash functions + * the default is to expose this as an async method. + * However, it can sometimes be useful to have a sync method. + */ + Sha256.prototype.digest = function () { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + return [2 /*return*/, this.digestSync()]; + }); + }); + }; + Sha256.prototype.reset = function () { + this.hash = new RawSha256(); + if (this.secret) { + this.outer = new RawSha256(); + var inner = bufferFromSecret(this.secret); + var outer = new Uint8Array(BLOCK_SIZE); + outer.set(inner); + for (var i = 0; i < BLOCK_SIZE; i++) { + inner[i] ^= 0x36; + outer[i] ^= 0x5c; + } + this.hash.update(inner); + this.outer.update(outer); + // overwrite the copied key in memory + for (var i = 0; i < inner.byteLength; i++) { + inner[i] = 0; + } + } + }; + return Sha256; +}()); +export { Sha256 }; +function bufferFromSecret(secret) { + var input = convertToBuffer(secret); + if (input.byteLength > BLOCK_SIZE) { + var bufferHash = new RawSha256(); + bufferHash.update(input); + input = bufferHash.digest(); + } + var buffer = new Uint8Array(BLOCK_SIZE); + buffer.set(input); + return buffer; +} +//# sourceMappingURL=jsSha256.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js.map b/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js.map new file mode 100644 index 0000000..94fa401 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js.map @@ -0,0 +1 @@ +{"version":3,"file":"jsSha256.js","sourceRoot":"","sources":["../../src/jsSha256.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEhE;IAME,gBAAY,MAAmB;QAC7B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,SAAS,EAAE,CAAC;QAC5B,IAAI,CAAC,KAAK,EAAE,CAAC;IACf,CAAC;IAED,uBAAM,GAAN,UAAO,MAAkB;QACvB,IAAI,WAAW,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,KAAK,EAAE;YACrC,OAAO;SACR;QAED,IAAI;YACF,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;SAC3C;QAAC,OAAO,CAAC,EAAE;YACV,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;SAChB;IACH,CAAC;IAED;;OAEG;IACH,2BAAU,GAAV;QACE,IAAI,IAAI,CAAC,KAAK,EAAE;YACd,MAAM,IAAI,CAAC,KAAK,CAAC;SAClB;QAED,IAAI,IAAI,CAAC,KAAK,EAAE;YACd,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;gBACxB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;aACvC;YAED,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;SAC5B;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;IAC5B,CAAC;IAED;;;;OAIG;IACG,uBAAM,GAAZ;;;gBACE,sBAAO,IAAI,CAAC,UAAU,EAAE,EAAC;;;KAC1B;IAED,sBAAK,GAAL;QACE,IAAI,CAAC,IAAI,GAAG,IAAI,SAAS,EAAE,CAAC;QAC5B,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI,CAAC,KAAK,GAAG,IAAI,SAAS,EAAE,CAAC;YAC7B,IAAM,KAAK,GAAG,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAC5C,IAAM,KAAK,GAAG,IAAI,UAAU,CAAC,UAAU,CAAC,CAAC;YACzC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YAEjB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,EAAE,CAAC,EAAE,EAAE;gBACnC,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;gBACjB,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;aAClB;YAED,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YACxB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAEzB,qCAAqC;YACrC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,UAAU,EAAE,CAAC,EAAE,EAAE;gBACzC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;aACd;SACF;IACH,CAAC;IACH,aAAC;AAAD,CAAC,AA1ED,IA0EC;;AAED,SAAS,gBAAgB,CAAC,MAAkB;IAC1C,IAAI,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;IAEpC,IAAI,KAAK,CAAC,UAAU,GAAG,UAAU,EAAE;QACjC,IAAM,UAAU,GAAG,IAAI,SAAS,EAAE,CAAC;QACnC,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACzB,KAAK,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC;KAC7B;IAED,IAAM,MAAM,GAAG,IAAI,UAAU,CAAC,UAAU,CAAC,CAAC;IAC1C,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAClB,OAAO,MAAM,CAAC;AAChB,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.d.ts b/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.d.ts new file mode 100644 index 0000000..d880343 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.d.ts @@ -0,0 +1,5 @@ +export declare const hashTestVectors: Array<[Uint8Array, Uint8Array]>; +/** + * @see https://tools.ietf.org/html/rfc4231 + */ +export declare const hmacTestVectors: Array<[Uint8Array, Uint8Array, Uint8Array]>; diff --git a/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js b/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js new file mode 100644 index 0000000..c2d2663 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js @@ -0,0 +1,319 @@ +import { fromHex } from "@aws-sdk/util-hex-encoding"; +var millionChars = new Uint8Array(1000000); +for (var i = 0; i < 1000000; i++) { + millionChars[i] = 97; +} +export var hashTestVectors = [ + [ + Uint8Array.from([97, 98, 99]), + fromHex("ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad") + ], + [ + new Uint8Array(0), + fromHex("e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855") + ], + [ + fromHex("61"), + fromHex("ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb") + ], + [ + fromHex("6161"), + fromHex("961b6dd3ede3cb8ecbaacbd68de040cd78eb2ed5889130cceb4c49268ea4d506") + ], + [ + fromHex("616161"), + fromHex("9834876dcfb05cb167a5c24953eba58c4ac89b1adf57f28f2f9d09af107ee8f0") + ], + [ + fromHex("61616161"), + fromHex("61be55a8e2f6b4e172338bddf184d6dbee29c98853e0a0485ecee7f27b9af0b4") + ], + [ + fromHex("6161616161"), + fromHex("ed968e840d10d2d313a870bc131a4e2c311d7ad09bdf32b3418147221f51a6e2") + ], + [ + fromHex("616161616161"), + fromHex("ed02457b5c41d964dbd2f2a609d63fe1bb7528dbe55e1abf5b52c249cd735797") + ], + [ + fromHex("61616161616161"), + fromHex("e46240714b5db3a23eee60479a623efba4d633d27fe4f03c904b9e219a7fbe60") + ], + [ + fromHex("6161616161616161"), + fromHex("1f3ce40415a2081fa3eee75fc39fff8e56c22270d1a978a7249b592dcebd20b4") + ], + [ + fromHex("616161616161616161"), + fromHex("f2aca93b80cae681221f0445fa4e2cae8a1f9f8fa1e1741d9639caad222f537d") + ], + [ + fromHex("61616161616161616161"), + fromHex("bf2cb58a68f684d95a3b78ef8f661c9a4e5b09e82cc8f9cc88cce90528caeb27") + ], + [ + fromHex("6161616161616161616161"), + fromHex("28cb017dfc99073aa1b47c1b30f413e3ce774c4991eb4158de50f9dbb36d8043") + ], + [ + fromHex("616161616161616161616161"), + fromHex("f24abc34b13fade76e805799f71187da6cd90b9cac373ae65ed57f143bd664e5") + ], + [ + fromHex("61616161616161616161616161"), + fromHex("a689d786e81340e45511dec6c7ab2d978434e5db123362450fe10cfac70d19d0") + ], + [ + fromHex("6161616161616161616161616161"), + fromHex("82cab7df0abfb9d95dca4e5937ce2968c798c726fea48c016bf9763221efda13") + ], + [ + fromHex("616161616161616161616161616161"), + fromHex("ef2df0b539c6c23de0f4cbe42648c301ae0e22e887340a4599fb4ef4e2678e48") + ], + [ + fromHex("61616161616161616161616161616161"), + fromHex("0c0beacef8877bbf2416eb00f2b5dc96354e26dd1df5517320459b1236860f8c") + ], + [ + fromHex("6161616161616161616161616161616161"), + fromHex("b860666ee2966dd8f903be44ee605c6e1366f926d9f17a8f49937d11624eb99d") + ], + [ + fromHex("616161616161616161616161616161616161"), + fromHex("c926defaaa3d13eda2fc63a553bb7fb7326bece6e7cb67ca5296e4727d89bab4") + ], + [ + fromHex("61616161616161616161616161616161616161"), + fromHex("a0b4aaab8a966e2193ba172d68162c4656860197f256b5f45f0203397ff3f99c") + ], + [ + fromHex("6161616161616161616161616161616161616161"), + fromHex("42492da06234ad0ac76f5d5debdb6d1ae027cffbe746a1c13b89bb8bc0139137") + ], + [ + fromHex("616161616161616161616161616161616161616161"), + fromHex("7df8e299c834de198e264c3e374bc58ecd9382252a705c183beb02f275571e3b") + ], + [ + fromHex("61616161616161616161616161616161616161616161"), + fromHex("ec7c494df6d2a7ea36668d656e6b8979e33641bfea378c15038af3964db057a3") + ], + [ + fromHex("6161616161616161616161616161616161616161616161"), + fromHex("897d3e95b65f26676081f8b9f3a98b6ee4424566303e8d4e7c7522ebae219eab") + ], + [ + fromHex("616161616161616161616161616161616161616161616161"), + fromHex("09f61f8d9cd65e6a0c258087c485b6293541364e42bd97b2d7936580c8aa3c54") + ], + [ + fromHex("61616161616161616161616161616161616161616161616161"), + fromHex("2f521e2a7d0bd812cbc035f4ed6806eb8d851793b04ba147e8f66b72f5d1f20f") + ], + [ + fromHex("6161616161616161616161616161616161616161616161616161"), + fromHex("9976d549a25115dab4e36d0c1fb8f31cb07da87dd83275977360eb7dc09e88de") + ], + [ + fromHex("616161616161616161616161616161616161616161616161616161"), + fromHex("cc0616e61cbd6e8e5e34e9fb2d320f37de915820206f5696c31f1fbd24aa16de") + ], + [ + fromHex("61616161616161616161616161616161616161616161616161616161"), + fromHex("9c547cb8115a44883b9f70ba68f75117cd55359c92611875e386f8af98c172ab") + ], + [ + fromHex("6161616161616161616161616161616161616161616161616161616161"), + fromHex("6913c9c7fd42fe23df8b6bcd4dbaf1c17748948d97f2980b432319c39eddcf6c") + ], + [ + fromHex("616161616161616161616161616161616161616161616161616161616161"), + fromHex("3a54fc0cbc0b0ef48b6507b7788096235d10292dd3ae24e22f5aa062d4f9864a") + ], + [ + fromHex("61616161616161616161616161616161616161616161616161616161616161"), + fromHex("61c60b487d1a921e0bcc9bf853dda0fb159b30bf57b2e2d2c753b00be15b5a09") + ], + [ + fromHex("6161616161616161616161616161616161616161616161616161616161616161"), + fromHex("3ba3f5f43b92602683c19aee62a20342b084dd5971ddd33808d81a328879a547") + ], + [ + fromHex("616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("852785c805c77e71a22340a54e9d95933ed49121e7d2bf3c2d358854bc1359ea") + ], + [ + fromHex("61616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("a27c896c4859204843166af66f0e902b9c3b3ed6d2fd13d435abc020065c526f") + ], + [ + fromHex("6161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("629362afc62c74497caed2272e30f8125ecd0965f8d8d7cfc4e260f7f8dd319d") + ], + [ + fromHex("616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("22c1d24bcd03e9aee9832efccd6da613fc702793178e5f12c945c7b67ddda933") + ], + [ + fromHex("61616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("21ec055b38ce759cd4d0f477e9bdec2c5b8199945db4439bae334a964df6246c") + ], + [ + fromHex("6161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("365a9c3e2c2af0a56e47a9dac51c2c5381bf8f41273bad3175e0e619126ad087") + ], + [ + fromHex("616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("b4d5e56e929ba4cda349e9274e3603d0be246b82016bca20f363963c5f2d6845") + ], + [ + fromHex("61616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("e33cdf9c7f7120b98e8c78408953e07f2ecd183006b5606df349b4c212acf43e") + ], + [ + fromHex("6161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("c0f8bd4dbc2b0c03107c1c37913f2a7501f521467f45dd0fef6958e9a4692719") + ], + [ + fromHex("616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("7a538607fdaab9296995929f451565bbb8142e1844117322aafd2b3d76b01aff") + ], + [ + fromHex("61616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("66d34fba71f8f450f7e45598853e53bfc23bbd129027cbb131a2f4ffd7878cd0") + ], + [ + fromHex("6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("16849877c6c21ef0bfa68e4f6747300ddb171b170b9f00e189edc4c2fc4db93e") + ], + [ + fromHex("616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("52789e3423b72beeb898456a4f49662e46b0cbb960784c5ef4b1399d327e7c27") + ], + [ + fromHex("61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("6643110c5628fff59edf76d82d5bf573bf800f16a4d65dfb1e5d6f1a46296d0b") + ], + [ + fromHex("6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("11eaed932c6c6fddfc2efc394e609facf4abe814fc6180d03b14fce13a07d0e5") + ], + [ + fromHex("616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("97daac0ee9998dfcad6c9c0970da5ca411c86233a944c25b47566f6a7bc1ddd5") + ], + [ + fromHex("61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("8f9bec6a62dd28ebd36d1227745592de6658b36974a3bb98a4c582f683ea6c42") + ], + [ + fromHex("6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("160b4e433e384e05e537dc59b467f7cb2403f0214db15c5db58862a3f1156d2e") + ], + [ + fromHex("616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("bfc5fe0e360152ca98c50fab4ed7e3078c17debc2917740d5000913b686ca129") + ], + [ + fromHex("61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("6c1b3dc7a706b9dc81352a6716b9c666c608d8626272c64b914ab05572fc6e84") + ], + [ + fromHex("6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("abe346a7259fc90b4c27185419628e5e6af6466b1ae9b5446cac4bfc26cf05c4") + ], + [ + fromHex("616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("a3f01b6939256127582ac8ae9fb47a382a244680806a3f613a118851c1ca1d47") + ], + [ + fromHex("61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("9f4390f8d30c2dd92ec9f095b65e2b9ae9b0a925a5258e241c9f1e910f734318") + ], + [ + fromHex("6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("b35439a4ac6f0948b6d6f9e3c6af0f5f590ce20f1bde7090ef7970686ec6738a") + ], + [ + fromHex("616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("f13b2d724659eb3bf47f2dd6af1accc87b81f09f59f2b75e5c0bed6589dfe8c6") + ], + [ + fromHex("61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("d5c039b748aa64665782974ec3dc3025c042edf54dcdc2b5de31385b094cb678") + ], + [ + fromHex("6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("111bb261277afd65f0744b247cd3e47d386d71563d0ed995517807d5ebd4fba3") + ], + [ + fromHex("616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("11ee391211c6256460b6ed375957fadd8061cafbb31daf967db875aebd5aaad4") + ], + [ + fromHex("61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("35d5fc17cfbbadd00f5e710ada39f194c5ad7c766ad67072245f1fad45f0f530") + ], + [ + fromHex("6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("f506898cc7c2e092f9eb9fadae7ba50383f5b46a2a4fe5597dbb553a78981268") + ], + [ + fromHex("616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("7d3e74a05d7db15bce4ad9ec0658ea98e3f06eeecf16b4c6fff2da457ddc2f34") + ], + [ + fromHex("61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161"), + fromHex("ffe054fe7ae0cb6dc65c3af9b61d5209f439851db43d0ba5997337df154668eb") + ], + [ + fromHex("de188941a3375d3a8a061e67576e926dc71a7fa3f0cceb97452b4d3227965f9ea8cc75076d9fb9c5417aa5cb30fc22198b34982dbb629e"), + fromHex("038051e9c324393bd1ca1978dd0952c2aa3742ca4f1bd5cd4611cea83892d382") + ], + [ + millionChars, + fromHex("cdc76e5c9914fb9281a1c7e284d73e67f1809a48a497200e046d39ccc7112cd0") + ], + [ + fromHex("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"), + fromHex("45ad4b37c6e2fc0a2cfcc1b5da524132ec707615c2cae1dbbc43c97aa521db81") + ] +]; +/** + * @see https://tools.ietf.org/html/rfc4231 + */ +export var hmacTestVectors = [ + [ + fromHex("0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b"), + fromHex("4869205468657265"), + fromHex("b0344c61d8db38535ca8afceaf0bf12b881dc200c9833da726e9376c2e32cff7") + ], + [ + fromHex("4a656665"), + fromHex("7768617420646f2079612077616e7420666f72206e6f7468696e673f"), + fromHex("5bdcc146bf60754e6a042426089575c75a003f089d2739839dec58b964ec3843") + ], + [ + fromHex("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"), + fromHex("dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"), + fromHex("773ea91e36800e46854db8ebd09181a72959098b3ef8c122d9635514ced565fe") + ], + [ + fromHex("0102030405060708090a0b0c0d0e0f10111213141516171819"), + fromHex("cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd"), + fromHex("82558a389a443c0ea4cc819899f2083a85f0faa3e578f8077a2e3ff46729665b") + ], + [ + fromHex("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"), + fromHex("54657374205573696e67204c6172676572205468616e20426c6f636b2d53697a65204b6579202d2048617368204b6579204669727374"), + fromHex("60e431591ee0b67f0d8a26aacbf5b77f8e0bc6213728c5140546040f0ee37f54") + ], + [ + fromHex("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"), + fromHex("5468697320697320612074657374207573696e672061206c6172676572207468616e20626c6f636b2d73697a65206b657920616e642061206c6172676572207468616e20626c6f636b2d73697a6520646174612e20546865206b6579206e6565647320746f20626520686173686564206265666f7265206265696e6720757365642062792074686520484d414320616c676f726974686d2e"), + fromHex("9b09ffa71b942fcb27635fbcd5b0e944bfdc63644f0713938a7f51535c3a35e2") + ] +]; +//# sourceMappingURL=knownHashes.fixture.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js.map b/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js.map new file mode 100644 index 0000000..1232159 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js.map @@ -0,0 +1 @@ +{"version":3,"file":"knownHashes.fixture.js","sourceRoot":"","sources":["../../src/knownHashes.fixture.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAErD,IAAM,YAAY,GAAG,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC;AAC7C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,EAAE,EAAE;IAChC,YAAY,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;CACtB;AAED,MAAM,CAAC,IAAM,eAAe,GAAoC;IAC9D;QACE,UAAU,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;QAC7B,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,IAAI,UAAU,CAAC,CAAC,CAAC;QACjB,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,IAAI,CAAC;QACb,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,MAAM,CAAC;QACf,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,QAAQ,CAAC;QACjB,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,UAAU,CAAC;QACnB,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,YAAY,CAAC;QACrB,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,cAAc,CAAC;QACvB,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,gBAAgB,CAAC;QACzB,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,kBAAkB,CAAC;QAC3B,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,oBAAoB,CAAC;QAC7B,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,sBAAsB,CAAC;QAC/B,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,wBAAwB,CAAC;QACjC,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,0BAA0B,CAAC;QACnC,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,4BAA4B,CAAC;QACrC,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,8BAA8B,CAAC;QACvC,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,gCAAgC,CAAC;QACzC,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,kCAAkC,CAAC;QAC3C,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,oCAAoC,CAAC;QAC7C,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,sCAAsC,CAAC;QAC/C,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,wCAAwC,CAAC;QACjD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,0CAA0C,CAAC;QACnD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,4CAA4C,CAAC;QACrD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,8CAA8C,CAAC;QACvD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,gDAAgD,CAAC;QACzD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,kDAAkD,CAAC;QAC3D,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,oDAAoD,CAAC;QAC7D,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,sDAAsD,CAAC;QAC/D,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,wDAAwD,CAAC;QACjE,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,0DAA0D,CAAC;QACnE,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,4DAA4D,CAAC;QACrE,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,8DAA8D,CAAC;QACvE,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,gEAAgE,CAAC;QACzE,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,kEAAkE,CAAC;QAC3E,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,oEAAoE,CACrE;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,sEAAsE,CACvE;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,wEAAwE,CACzE;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,0EAA0E,CAC3E;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,4EAA4E,CAC7E;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,8EAA8E,CAC/E;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,gFAAgF,CACjF;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,kFAAkF,CACnF;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,oFAAoF,CACrF;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,sFAAsF,CACvF;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,wFAAwF,CACzF;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,0FAA0F,CAC3F;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,4FAA4F,CAC7F;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,8FAA8F,CAC/F;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,gGAAgG,CACjG;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,kGAAkG,CACnG;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,oGAAoG,CACrG;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,sGAAsG,CACvG;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,wGAAwG,CACzG;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,0GAA0G,CAC3G;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,4GAA4G,CAC7G;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,8GAA8G,CAC/G;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,gHAAgH,CACjH;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,kHAAkH,CACnH;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,oHAAoH,CACrH;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,sHAAsH,CACvH;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,wHAAwH,CACzH;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,0HAA0H,CAC3H;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,4HAA4H,CAC7H;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,8HAA8H,CAC/H;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,gIAAgI,CACjI;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,kIAAkI,CACnI;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,gHAAgH,CACjH;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,YAAY;QACZ,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,wQAAwQ,CACzQ;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,IAAM,eAAe,GAAgD;IAC1E;QACE,OAAO,CAAC,0CAA0C,CAAC;QACnD,OAAO,CAAC,kBAAkB,CAAC;QAC3B,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,UAAU,CAAC;QACnB,OAAO,CAAC,0DAA0D,CAAC;QACnE,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,0CAA0C,CAAC;QACnD,OAAO,CACL,sGAAsG,CACvG;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CAAC,oDAAoD,CAAC;QAC7D,OAAO,CACL,sGAAsG,CACvG;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,wQAAwQ,CACzQ;QACD,OAAO,CACL,8GAA8G,CAC/G;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;IACD;QACE,OAAO,CACL,wQAAwQ,CACzQ;QACD,OAAO,CACL,kTAAkT,CACnT;QACD,OAAO,CAAC,kEAAkE,CAAC;KAC5E;CACF,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/sha256-js/package.json b/node_modules/@aws-crypto/sha256-js/package.json new file mode 100644 index 0000000..e8ef52d --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/package.json @@ -0,0 +1,32 @@ +{ + "name": "@aws-crypto/sha256-js", + "version": "5.2.0", + "scripts": { + "prepublishOnly": "tsc -p tsconfig.json && tsc -p tsconfig.module.json", + "pretest": "tsc -p tsconfig.test.json", + "test": "mocha --require ts-node/register test/**/*test.ts" + }, + "main": "./build/main/index.js", + "module": "./build/module/index.js", + "types": "./build/main/index.d.ts", + "repository": { + "type": "git", + "url": "git@github.com:aws/aws-sdk-js-crypto-helpers.git" + }, + "author": { + "name": "AWS Crypto Tools Team", + "email": "aws-cryptools@amazon.com", + "url": "https://docs.aws.amazon.com/aws-crypto-tools/index.html?id=docs_gateway#lang/en_us" + }, + "homepage": "https://github.com/aws/aws-sdk-js-crypto-helpers/tree/master/packages/sha256-js", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/util": "^5.2.0", + "@aws-sdk/types": "^3.222.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=16.0.0" + }, + "gitHead": "c11b171b35ec5c093364f0e0d8dc4ab1af68e748" +} diff --git a/node_modules/@aws-crypto/sha256-js/src/RawSha256.ts b/node_modules/@aws-crypto/sha256-js/src/RawSha256.ts new file mode 100644 index 0000000..f4a385c --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/src/RawSha256.ts @@ -0,0 +1,164 @@ +import { + BLOCK_SIZE, + DIGEST_LENGTH, + INIT, + KEY, + MAX_HASHABLE_LENGTH +} from "./constants"; + +/** + * @internal + */ +export class RawSha256 { + private state: Int32Array = Int32Array.from(INIT); + private temp: Int32Array = new Int32Array(64); + private buffer: Uint8Array = new Uint8Array(64); + private bufferLength: number = 0; + private bytesHashed: number = 0; + + /** + * @internal + */ + finished: boolean = false; + + update(data: Uint8Array): void { + if (this.finished) { + throw new Error("Attempted to update an already finished hash."); + } + + let position = 0; + let { byteLength } = data; + this.bytesHashed += byteLength; + + if (this.bytesHashed * 8 > MAX_HASHABLE_LENGTH) { + throw new Error("Cannot hash more than 2^53 - 1 bits"); + } + + while (byteLength > 0) { + this.buffer[this.bufferLength++] = data[position++]; + byteLength--; + + if (this.bufferLength === BLOCK_SIZE) { + this.hashBuffer(); + this.bufferLength = 0; + } + } + } + + digest(): Uint8Array { + if (!this.finished) { + const bitsHashed = this.bytesHashed * 8; + const bufferView = new DataView( + this.buffer.buffer, + this.buffer.byteOffset, + this.buffer.byteLength + ); + + const undecoratedLength = this.bufferLength; + bufferView.setUint8(this.bufferLength++, 0x80); + + // Ensure the final block has enough room for the hashed length + if (undecoratedLength % BLOCK_SIZE >= BLOCK_SIZE - 8) { + for (let i = this.bufferLength; i < BLOCK_SIZE; i++) { + bufferView.setUint8(i, 0); + } + this.hashBuffer(); + this.bufferLength = 0; + } + + for (let i = this.bufferLength; i < BLOCK_SIZE - 8; i++) { + bufferView.setUint8(i, 0); + } + bufferView.setUint32( + BLOCK_SIZE - 8, + Math.floor(bitsHashed / 0x100000000), + true + ); + bufferView.setUint32(BLOCK_SIZE - 4, bitsHashed); + + this.hashBuffer(); + + this.finished = true; + } + + // The value in state is little-endian rather than big-endian, so flip + // each word into a new Uint8Array + const out = new Uint8Array(DIGEST_LENGTH); + for (let i = 0; i < 8; i++) { + out[i * 4] = (this.state[i] >>> 24) & 0xff; + out[i * 4 + 1] = (this.state[i] >>> 16) & 0xff; + out[i * 4 + 2] = (this.state[i] >>> 8) & 0xff; + out[i * 4 + 3] = (this.state[i] >>> 0) & 0xff; + } + + return out; + } + + private hashBuffer(): void { + const { buffer, state } = this; + + let state0 = state[0], + state1 = state[1], + state2 = state[2], + state3 = state[3], + state4 = state[4], + state5 = state[5], + state6 = state[6], + state7 = state[7]; + + for (let i = 0; i < BLOCK_SIZE; i++) { + if (i < 16) { + this.temp[i] = + ((buffer[i * 4] & 0xff) << 24) | + ((buffer[i * 4 + 1] & 0xff) << 16) | + ((buffer[i * 4 + 2] & 0xff) << 8) | + (buffer[i * 4 + 3] & 0xff); + } else { + let u = this.temp[i - 2]; + const t1 = + ((u >>> 17) | (u << 15)) ^ ((u >>> 19) | (u << 13)) ^ (u >>> 10); + + u = this.temp[i - 15]; + const t2 = + ((u >>> 7) | (u << 25)) ^ ((u >>> 18) | (u << 14)) ^ (u >>> 3); + + this.temp[i] = + ((t1 + this.temp[i - 7]) | 0) + ((t2 + this.temp[i - 16]) | 0); + } + + const t1 = + ((((((state4 >>> 6) | (state4 << 26)) ^ + ((state4 >>> 11) | (state4 << 21)) ^ + ((state4 >>> 25) | (state4 << 7))) + + ((state4 & state5) ^ (~state4 & state6))) | + 0) + + ((state7 + ((KEY[i] + this.temp[i]) | 0)) | 0)) | + 0; + + const t2 = + ((((state0 >>> 2) | (state0 << 30)) ^ + ((state0 >>> 13) | (state0 << 19)) ^ + ((state0 >>> 22) | (state0 << 10))) + + ((state0 & state1) ^ (state0 & state2) ^ (state1 & state2))) | + 0; + + state7 = state6; + state6 = state5; + state5 = state4; + state4 = (state3 + t1) | 0; + state3 = state2; + state2 = state1; + state1 = state0; + state0 = (t1 + t2) | 0; + } + + state[0] += state0; + state[1] += state1; + state[2] += state2; + state[3] += state3; + state[4] += state4; + state[5] += state5; + state[6] += state6; + state[7] += state7; + } +} diff --git a/node_modules/@aws-crypto/sha256-js/src/constants.ts b/node_modules/@aws-crypto/sha256-js/src/constants.ts new file mode 100644 index 0000000..8cede57 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/src/constants.ts @@ -0,0 +1,98 @@ +/** + * @internal + */ +export const BLOCK_SIZE: number = 64; + +/** + * @internal + */ +export const DIGEST_LENGTH: number = 32; + +/** + * @internal + */ +export const KEY = new Uint32Array([ + 0x428a2f98, + 0x71374491, + 0xb5c0fbcf, + 0xe9b5dba5, + 0x3956c25b, + 0x59f111f1, + 0x923f82a4, + 0xab1c5ed5, + 0xd807aa98, + 0x12835b01, + 0x243185be, + 0x550c7dc3, + 0x72be5d74, + 0x80deb1fe, + 0x9bdc06a7, + 0xc19bf174, + 0xe49b69c1, + 0xefbe4786, + 0x0fc19dc6, + 0x240ca1cc, + 0x2de92c6f, + 0x4a7484aa, + 0x5cb0a9dc, + 0x76f988da, + 0x983e5152, + 0xa831c66d, + 0xb00327c8, + 0xbf597fc7, + 0xc6e00bf3, + 0xd5a79147, + 0x06ca6351, + 0x14292967, + 0x27b70a85, + 0x2e1b2138, + 0x4d2c6dfc, + 0x53380d13, + 0x650a7354, + 0x766a0abb, + 0x81c2c92e, + 0x92722c85, + 0xa2bfe8a1, + 0xa81a664b, + 0xc24b8b70, + 0xc76c51a3, + 0xd192e819, + 0xd6990624, + 0xf40e3585, + 0x106aa070, + 0x19a4c116, + 0x1e376c08, + 0x2748774c, + 0x34b0bcb5, + 0x391c0cb3, + 0x4ed8aa4a, + 0x5b9cca4f, + 0x682e6ff3, + 0x748f82ee, + 0x78a5636f, + 0x84c87814, + 0x8cc70208, + 0x90befffa, + 0xa4506ceb, + 0xbef9a3f7, + 0xc67178f2 +]); + +/** + * @internal + */ +export const INIT = [ + 0x6a09e667, + 0xbb67ae85, + 0x3c6ef372, + 0xa54ff53a, + 0x510e527f, + 0x9b05688c, + 0x1f83d9ab, + 0x5be0cd19 +]; + +/** + * @internal + */ +export const MAX_HASHABLE_LENGTH = 2 ** 53 - 1; diff --git a/node_modules/@aws-crypto/sha256-js/src/index.ts b/node_modules/@aws-crypto/sha256-js/src/index.ts new file mode 100644 index 0000000..4554d8a --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/src/index.ts @@ -0,0 +1 @@ +export * from "./jsSha256"; diff --git a/node_modules/@aws-crypto/sha256-js/src/jsSha256.ts b/node_modules/@aws-crypto/sha256-js/src/jsSha256.ts new file mode 100644 index 0000000..f7bd993 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/src/jsSha256.ts @@ -0,0 +1,94 @@ +import { BLOCK_SIZE } from "./constants"; +import { RawSha256 } from "./RawSha256"; +import { Checksum, SourceData } from "@aws-sdk/types"; +import { isEmptyData, convertToBuffer } from "@aws-crypto/util"; + +export class Sha256 implements Checksum { + private readonly secret?: SourceData; + private hash: RawSha256; + private outer?: RawSha256; + private error: any; + + constructor(secret?: SourceData) { + this.secret = secret; + this.hash = new RawSha256(); + this.reset(); + } + + update(toHash: SourceData): void { + if (isEmptyData(toHash) || this.error) { + return; + } + + try { + this.hash.update(convertToBuffer(toHash)); + } catch (e) { + this.error = e; + } + } + + /* This synchronous method keeps compatibility + * with the v2 aws-sdk. + */ + digestSync(): Uint8Array { + if (this.error) { + throw this.error; + } + + if (this.outer) { + if (!this.outer.finished) { + this.outer.update(this.hash.digest()); + } + + return this.outer.digest(); + } + + return this.hash.digest(); + } + + /* The underlying digest method here is synchronous. + * To keep the same interface with the other hash functions + * the default is to expose this as an async method. + * However, it can sometimes be useful to have a sync method. + */ + async digest(): Promise { + return this.digestSync(); + } + + reset(): void { + this.hash = new RawSha256(); + if (this.secret) { + this.outer = new RawSha256(); + const inner = bufferFromSecret(this.secret); + const outer = new Uint8Array(BLOCK_SIZE); + outer.set(inner); + + for (let i = 0; i < BLOCK_SIZE; i++) { + inner[i] ^= 0x36; + outer[i] ^= 0x5c; + } + + this.hash.update(inner); + this.outer.update(outer); + + // overwrite the copied key in memory + for (let i = 0; i < inner.byteLength; i++) { + inner[i] = 0; + } + } + } +} + +function bufferFromSecret(secret: SourceData): Uint8Array { + let input = convertToBuffer(secret); + + if (input.byteLength > BLOCK_SIZE) { + const bufferHash = new RawSha256(); + bufferHash.update(input); + input = bufferHash.digest(); + } + + const buffer = new Uint8Array(BLOCK_SIZE); + buffer.set(input); + return buffer; +} diff --git a/node_modules/@aws-crypto/sha256-js/src/knownHashes.fixture.ts b/node_modules/@aws-crypto/sha256-js/src/knownHashes.fixture.ts new file mode 100644 index 0000000..c83dae2 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/src/knownHashes.fixture.ts @@ -0,0 +1,401 @@ +import { fromHex } from "@aws-sdk/util-hex-encoding"; + +const millionChars = new Uint8Array(1000000); +for (let i = 0; i < 1000000; i++) { + millionChars[i] = 97; +} + +export const hashTestVectors: Array<[Uint8Array, Uint8Array]> = [ + [ + Uint8Array.from([97, 98, 99]), + fromHex("ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad") + ], + [ + new Uint8Array(0), + fromHex("e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855") + ], + [ + fromHex("61"), + fromHex("ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb") + ], + [ + fromHex("6161"), + fromHex("961b6dd3ede3cb8ecbaacbd68de040cd78eb2ed5889130cceb4c49268ea4d506") + ], + [ + fromHex("616161"), + fromHex("9834876dcfb05cb167a5c24953eba58c4ac89b1adf57f28f2f9d09af107ee8f0") + ], + [ + fromHex("61616161"), + fromHex("61be55a8e2f6b4e172338bddf184d6dbee29c98853e0a0485ecee7f27b9af0b4") + ], + [ + fromHex("6161616161"), + fromHex("ed968e840d10d2d313a870bc131a4e2c311d7ad09bdf32b3418147221f51a6e2") + ], + [ + fromHex("616161616161"), + fromHex("ed02457b5c41d964dbd2f2a609d63fe1bb7528dbe55e1abf5b52c249cd735797") + ], + [ + fromHex("61616161616161"), + fromHex("e46240714b5db3a23eee60479a623efba4d633d27fe4f03c904b9e219a7fbe60") + ], + [ + fromHex("6161616161616161"), + fromHex("1f3ce40415a2081fa3eee75fc39fff8e56c22270d1a978a7249b592dcebd20b4") + ], + [ + fromHex("616161616161616161"), + fromHex("f2aca93b80cae681221f0445fa4e2cae8a1f9f8fa1e1741d9639caad222f537d") + ], + [ + fromHex("61616161616161616161"), + fromHex("bf2cb58a68f684d95a3b78ef8f661c9a4e5b09e82cc8f9cc88cce90528caeb27") + ], + [ + fromHex("6161616161616161616161"), + fromHex("28cb017dfc99073aa1b47c1b30f413e3ce774c4991eb4158de50f9dbb36d8043") + ], + [ + fromHex("616161616161616161616161"), + fromHex("f24abc34b13fade76e805799f71187da6cd90b9cac373ae65ed57f143bd664e5") + ], + [ + fromHex("61616161616161616161616161"), + fromHex("a689d786e81340e45511dec6c7ab2d978434e5db123362450fe10cfac70d19d0") + ], + [ + fromHex("6161616161616161616161616161"), + fromHex("82cab7df0abfb9d95dca4e5937ce2968c798c726fea48c016bf9763221efda13") + ], + [ + fromHex("616161616161616161616161616161"), + fromHex("ef2df0b539c6c23de0f4cbe42648c301ae0e22e887340a4599fb4ef4e2678e48") + ], + [ + fromHex("61616161616161616161616161616161"), + fromHex("0c0beacef8877bbf2416eb00f2b5dc96354e26dd1df5517320459b1236860f8c") + ], + [ + fromHex("6161616161616161616161616161616161"), + fromHex("b860666ee2966dd8f903be44ee605c6e1366f926d9f17a8f49937d11624eb99d") + ], + [ + fromHex("616161616161616161616161616161616161"), + fromHex("c926defaaa3d13eda2fc63a553bb7fb7326bece6e7cb67ca5296e4727d89bab4") + ], + [ + fromHex("61616161616161616161616161616161616161"), + fromHex("a0b4aaab8a966e2193ba172d68162c4656860197f256b5f45f0203397ff3f99c") + ], + [ + fromHex("6161616161616161616161616161616161616161"), + fromHex("42492da06234ad0ac76f5d5debdb6d1ae027cffbe746a1c13b89bb8bc0139137") + ], + [ + fromHex("616161616161616161616161616161616161616161"), + fromHex("7df8e299c834de198e264c3e374bc58ecd9382252a705c183beb02f275571e3b") + ], + [ + fromHex("61616161616161616161616161616161616161616161"), + fromHex("ec7c494df6d2a7ea36668d656e6b8979e33641bfea378c15038af3964db057a3") + ], + [ + fromHex("6161616161616161616161616161616161616161616161"), + fromHex("897d3e95b65f26676081f8b9f3a98b6ee4424566303e8d4e7c7522ebae219eab") + ], + [ + fromHex("616161616161616161616161616161616161616161616161"), + fromHex("09f61f8d9cd65e6a0c258087c485b6293541364e42bd97b2d7936580c8aa3c54") + ], + [ + fromHex("61616161616161616161616161616161616161616161616161"), + fromHex("2f521e2a7d0bd812cbc035f4ed6806eb8d851793b04ba147e8f66b72f5d1f20f") + ], + [ + fromHex("6161616161616161616161616161616161616161616161616161"), + fromHex("9976d549a25115dab4e36d0c1fb8f31cb07da87dd83275977360eb7dc09e88de") + ], + [ + fromHex("616161616161616161616161616161616161616161616161616161"), + fromHex("cc0616e61cbd6e8e5e34e9fb2d320f37de915820206f5696c31f1fbd24aa16de") + ], + [ + fromHex("61616161616161616161616161616161616161616161616161616161"), + fromHex("9c547cb8115a44883b9f70ba68f75117cd55359c92611875e386f8af98c172ab") + ], + [ + fromHex("6161616161616161616161616161616161616161616161616161616161"), + fromHex("6913c9c7fd42fe23df8b6bcd4dbaf1c17748948d97f2980b432319c39eddcf6c") + ], + [ + fromHex("616161616161616161616161616161616161616161616161616161616161"), + fromHex("3a54fc0cbc0b0ef48b6507b7788096235d10292dd3ae24e22f5aa062d4f9864a") + ], + [ + fromHex("61616161616161616161616161616161616161616161616161616161616161"), + fromHex("61c60b487d1a921e0bcc9bf853dda0fb159b30bf57b2e2d2c753b00be15b5a09") + ], + [ + fromHex("6161616161616161616161616161616161616161616161616161616161616161"), + fromHex("3ba3f5f43b92602683c19aee62a20342b084dd5971ddd33808d81a328879a547") + ], + [ + fromHex( + "616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("852785c805c77e71a22340a54e9d95933ed49121e7d2bf3c2d358854bc1359ea") + ], + [ + fromHex( + "61616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("a27c896c4859204843166af66f0e902b9c3b3ed6d2fd13d435abc020065c526f") + ], + [ + fromHex( + "6161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("629362afc62c74497caed2272e30f8125ecd0965f8d8d7cfc4e260f7f8dd319d") + ], + [ + fromHex( + "616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("22c1d24bcd03e9aee9832efccd6da613fc702793178e5f12c945c7b67ddda933") + ], + [ + fromHex( + "61616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("21ec055b38ce759cd4d0f477e9bdec2c5b8199945db4439bae334a964df6246c") + ], + [ + fromHex( + "6161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("365a9c3e2c2af0a56e47a9dac51c2c5381bf8f41273bad3175e0e619126ad087") + ], + [ + fromHex( + "616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("b4d5e56e929ba4cda349e9274e3603d0be246b82016bca20f363963c5f2d6845") + ], + [ + fromHex( + "61616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("e33cdf9c7f7120b98e8c78408953e07f2ecd183006b5606df349b4c212acf43e") + ], + [ + fromHex( + "6161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("c0f8bd4dbc2b0c03107c1c37913f2a7501f521467f45dd0fef6958e9a4692719") + ], + [ + fromHex( + "616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("7a538607fdaab9296995929f451565bbb8142e1844117322aafd2b3d76b01aff") + ], + [ + fromHex( + "61616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("66d34fba71f8f450f7e45598853e53bfc23bbd129027cbb131a2f4ffd7878cd0") + ], + [ + fromHex( + "6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("16849877c6c21ef0bfa68e4f6747300ddb171b170b9f00e189edc4c2fc4db93e") + ], + [ + fromHex( + "616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("52789e3423b72beeb898456a4f49662e46b0cbb960784c5ef4b1399d327e7c27") + ], + [ + fromHex( + "61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("6643110c5628fff59edf76d82d5bf573bf800f16a4d65dfb1e5d6f1a46296d0b") + ], + [ + fromHex( + "6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("11eaed932c6c6fddfc2efc394e609facf4abe814fc6180d03b14fce13a07d0e5") + ], + [ + fromHex( + "616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("97daac0ee9998dfcad6c9c0970da5ca411c86233a944c25b47566f6a7bc1ddd5") + ], + [ + fromHex( + "61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("8f9bec6a62dd28ebd36d1227745592de6658b36974a3bb98a4c582f683ea6c42") + ], + [ + fromHex( + "6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("160b4e433e384e05e537dc59b467f7cb2403f0214db15c5db58862a3f1156d2e") + ], + [ + fromHex( + "616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("bfc5fe0e360152ca98c50fab4ed7e3078c17debc2917740d5000913b686ca129") + ], + [ + fromHex( + "61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("6c1b3dc7a706b9dc81352a6716b9c666c608d8626272c64b914ab05572fc6e84") + ], + [ + fromHex( + "6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("abe346a7259fc90b4c27185419628e5e6af6466b1ae9b5446cac4bfc26cf05c4") + ], + [ + fromHex( + "616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("a3f01b6939256127582ac8ae9fb47a382a244680806a3f613a118851c1ca1d47") + ], + [ + fromHex( + "61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("9f4390f8d30c2dd92ec9f095b65e2b9ae9b0a925a5258e241c9f1e910f734318") + ], + [ + fromHex( + "6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("b35439a4ac6f0948b6d6f9e3c6af0f5f590ce20f1bde7090ef7970686ec6738a") + ], + [ + fromHex( + "616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("f13b2d724659eb3bf47f2dd6af1accc87b81f09f59f2b75e5c0bed6589dfe8c6") + ], + [ + fromHex( + "61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("d5c039b748aa64665782974ec3dc3025c042edf54dcdc2b5de31385b094cb678") + ], + [ + fromHex( + "6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("111bb261277afd65f0744b247cd3e47d386d71563d0ed995517807d5ebd4fba3") + ], + [ + fromHex( + "616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("11ee391211c6256460b6ed375957fadd8061cafbb31daf967db875aebd5aaad4") + ], + [ + fromHex( + "61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("35d5fc17cfbbadd00f5e710ada39f194c5ad7c766ad67072245f1fad45f0f530") + ], + [ + fromHex( + "6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("f506898cc7c2e092f9eb9fadae7ba50383f5b46a2a4fe5597dbb553a78981268") + ], + [ + fromHex( + "616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("7d3e74a05d7db15bce4ad9ec0658ea98e3f06eeecf16b4c6fff2da457ddc2f34") + ], + [ + fromHex( + "61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161" + ), + fromHex("ffe054fe7ae0cb6dc65c3af9b61d5209f439851db43d0ba5997337df154668eb") + ], + [ + fromHex( + "de188941a3375d3a8a061e67576e926dc71a7fa3f0cceb97452b4d3227965f9ea8cc75076d9fb9c5417aa5cb30fc22198b34982dbb629e" + ), + fromHex("038051e9c324393bd1ca1978dd0952c2aa3742ca4f1bd5cd4611cea83892d382") + ], + [ + millionChars, + fromHex("cdc76e5c9914fb9281a1c7e284d73e67f1809a48a497200e046d39ccc7112cd0") + ], + [ + fromHex( + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ), + fromHex("45ad4b37c6e2fc0a2cfcc1b5da524132ec707615c2cae1dbbc43c97aa521db81") + ] +]; + +/** + * @see https://tools.ietf.org/html/rfc4231 + */ +export const hmacTestVectors: Array<[Uint8Array, Uint8Array, Uint8Array]> = [ + [ + fromHex("0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b"), + fromHex("4869205468657265"), + fromHex("b0344c61d8db38535ca8afceaf0bf12b881dc200c9833da726e9376c2e32cff7") + ], + [ + fromHex("4a656665"), + fromHex("7768617420646f2079612077616e7420666f72206e6f7468696e673f"), + fromHex("5bdcc146bf60754e6a042426089575c75a003f089d2739839dec58b964ec3843") + ], + [ + fromHex("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"), + fromHex( + "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd" + ), + fromHex("773ea91e36800e46854db8ebd09181a72959098b3ef8c122d9635514ced565fe") + ], + [ + fromHex("0102030405060708090a0b0c0d0e0f10111213141516171819"), + fromHex( + "cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd" + ), + fromHex("82558a389a443c0ea4cc819899f2083a85f0faa3e578f8077a2e3ff46729665b") + ], + [ + fromHex( + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ), + fromHex( + "54657374205573696e67204c6172676572205468616e20426c6f636b2d53697a65204b6579202d2048617368204b6579204669727374" + ), + fromHex("60e431591ee0b67f0d8a26aacbf5b77f8e0bc6213728c5140546040f0ee37f54") + ], + [ + fromHex( + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ), + fromHex( + "5468697320697320612074657374207573696e672061206c6172676572207468616e20626c6f636b2d73697a65206b657920616e642061206c6172676572207468616e20626c6f636b2d73697a6520646174612e20546865206b6579206e6565647320746f20626520686173686564206265666f7265206265696e6720757365642062792074686520484d414320616c676f726974686d2e" + ), + fromHex("9b09ffa71b942fcb27635fbcd5b0e944bfdc63644f0713938a7f51535c3a35e2") + ] +]; diff --git a/node_modules/@aws-crypto/sha256-js/tsconfig.json b/node_modules/@aws-crypto/sha256-js/tsconfig.json new file mode 100644 index 0000000..fb9aa95 --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "rootDir": "./src", + "outDir": "./build/main", + "lib": ["dom"], + }, + "include": ["src/**/*.ts"], + "exclude": ["node_modules/**"] +} diff --git a/node_modules/@aws-crypto/sha256-js/tsconfig.module.json b/node_modules/@aws-crypto/sha256-js/tsconfig.module.json new file mode 100644 index 0000000..7d0cfdd --- /dev/null +++ b/node_modules/@aws-crypto/sha256-js/tsconfig.module.json @@ -0,0 +1,7 @@ +{ + "extends": "./tsconfig", + "compilerOptions": { + "outDir": "build/module", + "module": "esnext", + } +} diff --git a/node_modules/@aws-crypto/supports-web-crypto/CHANGELOG.md b/node_modules/@aws-crypto/supports-web-crypto/CHANGELOG.md new file mode 100644 index 0000000..13023ad --- /dev/null +++ b/node_modules/@aws-crypto/supports-web-crypto/CHANGELOG.md @@ -0,0 +1,66 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [5.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.1.0...v5.2.0) (2023-10-16) + +### Features + +- support ESM artifacts in all packages ([#752](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/752)) ([e930ffb](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/e930ffba5cfef66dd242049e7d514ced232c1e3b)) + +# [5.1.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.0.0...v5.1.0) (2023-09-22) + +### Bug Fixes + +- Update tsc to 2.x ([#735](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/735)) ([782e0de](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/782e0de9f5fef41f694130580a69d940894b6b8c)) + +# [5.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v4.0.1...v5.0.0) (2023-07-13) + +**Note:** Version bump only for package @aws-crypto/supports-web-crypto + +# [4.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v3.0.0...v4.0.0) (2023-02-20) + +**Note:** Version bump only for package @aws-crypto/supports-web-crypto + +# [3.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.2...v3.0.0) (2023-01-12) + +**Note:** Version bump only for package @aws-crypto/supports-web-crypto + +## [2.0.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.1...v2.0.2) (2022-09-07) + +**Note:** Version bump only for package @aws-crypto/supports-web-crypto + +# [2.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.2...v2.0.0) (2021-10-25) + +**Note:** Version bump only for package @aws-crypto/supports-web-crypto + +# [1.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/supports-web-crypto@1.0.0-alpha.0...@aws-crypto/supports-web-crypto@1.0.0) (2020-10-22) + +### Bug Fixes + +- replace `sourceRoot` -> `rootDir` in tsconfig ([#169](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/169)) ([d437167](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/d437167b51d1c56a4fcc2bb8a446b74a7e3b7e06)) + +# [1.0.0-alpha.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/supports-web-crypto@0.1.0-preview.4...@aws-crypto/supports-web-crypto@1.0.0-alpha.0) (2020-02-07) + +**Note:** Version bump only for package @aws-crypto/supports-web-crypto + +# [0.1.0-preview.4](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/supports-web-crypto@0.1.0-preview.2...@aws-crypto/supports-web-crypto@0.1.0-preview.4) (2020-01-16) + +### Bug Fixes + +- Changed package.json files to point to the right Git repo ([#9](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/9)) ([028245d](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/028245d72e642ca98d82226afb300eb154503c4a)), closes [#8](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/8) +- lerna version maintains package-lock ([#14](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/14)) ([2ef29e1](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/2ef29e13779703a5c9b32e93d18918fcb33b7272)), closes [#13](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/13) + +# [0.1.0-preview.3](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/supports-web-crypto@0.1.0-preview.2...@aws-crypto/supports-web-crypto@0.1.0-preview.3) (2019-11-15) + +### Bug Fixes + +- Changed package.json files to point to the right Git repo ([#9](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/9)) ([028245d](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/028245d72e642ca98d82226afb300eb154503c4a)), closes [#8](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/8) +- lerna version maintains package-lock ([#14](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/14)) ([2ef29e1](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/2ef29e13779703a5c9b32e93d18918fcb33b7272)), closes [#13](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/13) + +# [0.1.0-preview.2](https://github.com/aws/aws-javascript-crypto-helpers/compare/@aws-crypto/supports-web-crypto@0.1.0-preview.1...@aws-crypto/supports-web-crypto@0.1.0-preview.2) (2019-10-30) + +### Bug Fixes + +- remove /src/ from .npmignore (for sourcemaps) ([#5](https://github.com/aws/aws-javascript-crypto-helpers/issues/5)) ([ec52056](https://github.com/aws/aws-javascript-crypto-helpers/commit/ec52056)) diff --git a/node_modules/@aws-crypto/supports-web-crypto/LICENSE b/node_modules/@aws-crypto/supports-web-crypto/LICENSE new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/node_modules/@aws-crypto/supports-web-crypto/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@aws-crypto/supports-web-crypto/README.md b/node_modules/@aws-crypto/supports-web-crypto/README.md new file mode 100644 index 0000000..7891357 --- /dev/null +++ b/node_modules/@aws-crypto/supports-web-crypto/README.md @@ -0,0 +1,32 @@ +# @aws-crypto/supports-web-crypto + +Functions to check web crypto support for browsers. + +## Usage + +``` +import {supportsWebCrypto} from '@aws-crypto/supports-web-crypto'; + +if (supportsWebCrypto(window)) { + // window.crypto.subtle.encrypt will exist +} + +``` + +## supportsWebCrypto + +Used to make sure `window.crypto.subtle` exists and implements crypto functions +as well as a cryptographic secure random source exists. + +## supportsSecureRandom + +Used to make sure that a cryptographic secure random source exists. +Does not check for `window.crypto.subtle`. + +## supportsSubtleCrypto + +## supportsZeroByteGCM + +## Test + +`npm test` diff --git a/node_modules/@aws-crypto/supports-web-crypto/build/main/index.d.ts b/node_modules/@aws-crypto/supports-web-crypto/build/main/index.d.ts new file mode 100644 index 0000000..9725c9c --- /dev/null +++ b/node_modules/@aws-crypto/supports-web-crypto/build/main/index.d.ts @@ -0,0 +1 @@ +export * from "./supportsWebCrypto"; diff --git a/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js b/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js new file mode 100644 index 0000000..cc4c93f --- /dev/null +++ b/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js @@ -0,0 +1,5 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +tslib_1.__exportStar(require("./supportsWebCrypto"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js.map b/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js.map new file mode 100644 index 0000000..df0dd2c --- /dev/null +++ b/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,8DAAoC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.d.ts b/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.d.ts new file mode 100644 index 0000000..f2723dc --- /dev/null +++ b/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.d.ts @@ -0,0 +1,4 @@ +export declare function supportsWebCrypto(window: Window): boolean; +export declare function supportsSecureRandom(window: Window): boolean; +export declare function supportsSubtleCrypto(subtle: SubtleCrypto): boolean; +export declare function supportsZeroByteGCM(subtle: SubtleCrypto): Promise; diff --git a/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js b/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js new file mode 100644 index 0000000..378f31e --- /dev/null +++ b/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js @@ -0,0 +1,69 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.supportsZeroByteGCM = exports.supportsSubtleCrypto = exports.supportsSecureRandom = exports.supportsWebCrypto = void 0; +var tslib_1 = require("tslib"); +var subtleCryptoMethods = [ + "decrypt", + "digest", + "encrypt", + "exportKey", + "generateKey", + "importKey", + "sign", + "verify" +]; +function supportsWebCrypto(window) { + if (supportsSecureRandom(window) && + typeof window.crypto.subtle === "object") { + var subtle = window.crypto.subtle; + return supportsSubtleCrypto(subtle); + } + return false; +} +exports.supportsWebCrypto = supportsWebCrypto; +function supportsSecureRandom(window) { + if (typeof window === "object" && typeof window.crypto === "object") { + var getRandomValues = window.crypto.getRandomValues; + return typeof getRandomValues === "function"; + } + return false; +} +exports.supportsSecureRandom = supportsSecureRandom; +function supportsSubtleCrypto(subtle) { + return (subtle && + subtleCryptoMethods.every(function (methodName) { return typeof subtle[methodName] === "function"; })); +} +exports.supportsSubtleCrypto = supportsSubtleCrypto; +function supportsZeroByteGCM(subtle) { + return tslib_1.__awaiter(this, void 0, void 0, function () { + var key, zeroByteAuthTag, _a; + return tslib_1.__generator(this, function (_b) { + switch (_b.label) { + case 0: + if (!supportsSubtleCrypto(subtle)) + return [2 /*return*/, false]; + _b.label = 1; + case 1: + _b.trys.push([1, 4, , 5]); + return [4 /*yield*/, subtle.generateKey({ name: "AES-GCM", length: 128 }, false, ["encrypt"])]; + case 2: + key = _b.sent(); + return [4 /*yield*/, subtle.encrypt({ + name: "AES-GCM", + iv: new Uint8Array(Array(12)), + additionalData: new Uint8Array(Array(16)), + tagLength: 128 + }, key, new Uint8Array(0))]; + case 3: + zeroByteAuthTag = _b.sent(); + return [2 /*return*/, zeroByteAuthTag.byteLength === 16]; + case 4: + _a = _b.sent(); + return [2 /*return*/, false]; + case 5: return [2 /*return*/]; + } + }); + }); +} +exports.supportsZeroByteGCM = supportsZeroByteGCM; +//# sourceMappingURL=supportsWebCrypto.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js.map b/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js.map new file mode 100644 index 0000000..1cc0ea3 --- /dev/null +++ b/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js.map @@ -0,0 +1 @@ +{"version":3,"file":"supportsWebCrypto.js","sourceRoot":"","sources":["../../src/supportsWebCrypto.ts"],"names":[],"mappings":";;;;AAUA,IAAM,mBAAmB,GAA8B;IACrD,SAAS;IACT,QAAQ;IACR,SAAS;IACT,WAAW;IACX,aAAa;IACb,WAAW;IACX,MAAM;IACN,QAAQ;CACT,CAAC;AAEF,SAAgB,iBAAiB,CAAC,MAAc;IAC9C,IACE,oBAAoB,CAAC,MAAM,CAAC;QAC5B,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,KAAK,QAAQ,EACxC;QACQ,IAAA,MAAM,GAAK,MAAM,CAAC,MAAM,OAAlB,CAAmB;QAEjC,OAAO,oBAAoB,CAAC,MAAM,CAAC,CAAC;KACrC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAXD,8CAWC;AAED,SAAgB,oBAAoB,CAAC,MAAc;IACjD,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,OAAO,MAAM,CAAC,MAAM,KAAK,QAAQ,EAAE;QAC3D,IAAA,eAAe,GAAK,MAAM,CAAC,MAAM,gBAAlB,CAAmB;QAE1C,OAAO,OAAO,eAAe,KAAK,UAAU,CAAC;KAC9C;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AARD,oDAQC;AAED,SAAgB,oBAAoB,CAAC,MAAoB;IACvD,OAAO,CACL,MAAM;QACN,mBAAmB,CAAC,KAAK,CACvB,UAAA,UAAU,IAAI,OAAA,OAAO,MAAM,CAAC,UAAU,CAAC,KAAK,UAAU,EAAxC,CAAwC,CACvD,CACF,CAAC;AACJ,CAAC;AAPD,oDAOC;AAED,SAAsB,mBAAmB,CAAC,MAAoB;;;;;;oBAC5D,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC;wBAAE,sBAAO,KAAK,EAAC;;;;oBAElC,qBAAM,MAAM,CAAC,WAAW,CAClC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,EAChC,KAAK,EACL,CAAC,SAAS,CAAC,CACZ,EAAA;;oBAJK,GAAG,GAAG,SAIX;oBACuB,qBAAM,MAAM,CAAC,OAAO,CAC1C;4BACE,IAAI,EAAE,SAAS;4BACf,EAAE,EAAE,IAAI,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;4BAC7B,cAAc,EAAE,IAAI,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;4BACzC,SAAS,EAAE,GAAG;yBACf,EACD,GAAG,EACH,IAAI,UAAU,CAAC,CAAC,CAAC,CAClB,EAAA;;oBATK,eAAe,GAAG,SASvB;oBACD,sBAAO,eAAe,CAAC,UAAU,KAAK,EAAE,EAAC;;;oBAEzC,sBAAO,KAAK,EAAC;;;;;CAEhB;AAtBD,kDAsBC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/supports-web-crypto/build/module/index.d.ts b/node_modules/@aws-crypto/supports-web-crypto/build/module/index.d.ts new file mode 100644 index 0000000..9725c9c --- /dev/null +++ b/node_modules/@aws-crypto/supports-web-crypto/build/module/index.d.ts @@ -0,0 +1 @@ +export * from "./supportsWebCrypto"; diff --git a/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js b/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js new file mode 100644 index 0000000..f5527ea --- /dev/null +++ b/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js @@ -0,0 +1,2 @@ +export * from "./supportsWebCrypto"; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js.map b/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js.map new file mode 100644 index 0000000..b2df430 --- /dev/null +++ b/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.d.ts b/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.d.ts new file mode 100644 index 0000000..f2723dc --- /dev/null +++ b/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.d.ts @@ -0,0 +1,4 @@ +export declare function supportsWebCrypto(window: Window): boolean; +export declare function supportsSecureRandom(window: Window): boolean; +export declare function supportsSubtleCrypto(subtle: SubtleCrypto): boolean; +export declare function supportsZeroByteGCM(subtle: SubtleCrypto): Promise; diff --git a/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js b/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js new file mode 100644 index 0000000..70b46e6 --- /dev/null +++ b/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js @@ -0,0 +1,62 @@ +import { __awaiter, __generator } from "tslib"; +var subtleCryptoMethods = [ + "decrypt", + "digest", + "encrypt", + "exportKey", + "generateKey", + "importKey", + "sign", + "verify" +]; +export function supportsWebCrypto(window) { + if (supportsSecureRandom(window) && + typeof window.crypto.subtle === "object") { + var subtle = window.crypto.subtle; + return supportsSubtleCrypto(subtle); + } + return false; +} +export function supportsSecureRandom(window) { + if (typeof window === "object" && typeof window.crypto === "object") { + var getRandomValues = window.crypto.getRandomValues; + return typeof getRandomValues === "function"; + } + return false; +} +export function supportsSubtleCrypto(subtle) { + return (subtle && + subtleCryptoMethods.every(function (methodName) { return typeof subtle[methodName] === "function"; })); +} +export function supportsZeroByteGCM(subtle) { + return __awaiter(this, void 0, void 0, function () { + var key, zeroByteAuthTag, _a; + return __generator(this, function (_b) { + switch (_b.label) { + case 0: + if (!supportsSubtleCrypto(subtle)) + return [2 /*return*/, false]; + _b.label = 1; + case 1: + _b.trys.push([1, 4, , 5]); + return [4 /*yield*/, subtle.generateKey({ name: "AES-GCM", length: 128 }, false, ["encrypt"])]; + case 2: + key = _b.sent(); + return [4 /*yield*/, subtle.encrypt({ + name: "AES-GCM", + iv: new Uint8Array(Array(12)), + additionalData: new Uint8Array(Array(16)), + tagLength: 128 + }, key, new Uint8Array(0))]; + case 3: + zeroByteAuthTag = _b.sent(); + return [2 /*return*/, zeroByteAuthTag.byteLength === 16]; + case 4: + _a = _b.sent(); + return [2 /*return*/, false]; + case 5: return [2 /*return*/]; + } + }); + }); +} +//# sourceMappingURL=supportsWebCrypto.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js.map b/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js.map new file mode 100644 index 0000000..967fc19 --- /dev/null +++ b/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js.map @@ -0,0 +1 @@ +{"version":3,"file":"supportsWebCrypto.js","sourceRoot":"","sources":["../../src/supportsWebCrypto.ts"],"names":[],"mappings":";AAUA,IAAM,mBAAmB,GAA8B;IACrD,SAAS;IACT,QAAQ;IACR,SAAS;IACT,WAAW;IACX,aAAa;IACb,WAAW;IACX,MAAM;IACN,QAAQ;CACT,CAAC;AAEF,MAAM,UAAU,iBAAiB,CAAC,MAAc;IAC9C,IACE,oBAAoB,CAAC,MAAM,CAAC;QAC5B,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,KAAK,QAAQ,EACxC;QACQ,IAAA,MAAM,GAAK,MAAM,CAAC,MAAM,OAAlB,CAAmB;QAEjC,OAAO,oBAAoB,CAAC,MAAM,CAAC,CAAC;KACrC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,MAAc;IACjD,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,OAAO,MAAM,CAAC,MAAM,KAAK,QAAQ,EAAE;QAC3D,IAAA,eAAe,GAAK,MAAM,CAAC,MAAM,gBAAlB,CAAmB;QAE1C,OAAO,OAAO,eAAe,KAAK,UAAU,CAAC;KAC9C;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,MAAoB;IACvD,OAAO,CACL,MAAM;QACN,mBAAmB,CAAC,KAAK,CACvB,UAAA,UAAU,IAAI,OAAA,OAAO,MAAM,CAAC,UAAU,CAAC,KAAK,UAAU,EAAxC,CAAwC,CACvD,CACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAgB,mBAAmB,CAAC,MAAoB;;;;;;oBAC5D,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC;wBAAE,sBAAO,KAAK,EAAC;;;;oBAElC,qBAAM,MAAM,CAAC,WAAW,CAClC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,EAChC,KAAK,EACL,CAAC,SAAS,CAAC,CACZ,EAAA;;oBAJK,GAAG,GAAG,SAIX;oBACuB,qBAAM,MAAM,CAAC,OAAO,CAC1C;4BACE,IAAI,EAAE,SAAS;4BACf,EAAE,EAAE,IAAI,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;4BAC7B,cAAc,EAAE,IAAI,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;4BACzC,SAAS,EAAE,GAAG;yBACf,EACD,GAAG,EACH,IAAI,UAAU,CAAC,CAAC,CAAC,CAClB,EAAA;;oBATK,eAAe,GAAG,SASvB;oBACD,sBAAO,eAAe,CAAC,UAAU,KAAK,EAAE,EAAC;;;oBAEzC,sBAAO,KAAK,EAAC;;;;;CAEhB"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/supports-web-crypto/package.json b/node_modules/@aws-crypto/supports-web-crypto/package.json new file mode 100644 index 0000000..a97bf01 --- /dev/null +++ b/node_modules/@aws-crypto/supports-web-crypto/package.json @@ -0,0 +1,28 @@ +{ + "name": "@aws-crypto/supports-web-crypto", + "version": "5.2.0", + "description": "Provides functions for detecting if the host environment supports the WebCrypto API", + "scripts": { + "prepublishOnly": "tsc -p tsconfig.json && tsc -p tsconfig.module.json", + "pretest": "tsc -p tsconfig.test.json", + "test": "mocha --require ts-node/register test/**/*test.ts" + }, + "repository": { + "type": "git", + "url": "git@github.com:aws/aws-sdk-js-crypto-helpers.git" + }, + "author": { + "name": "AWS Crypto Tools Team", + "email": "aws-cryptools@amazon.com", + "url": "https://docs.aws.amazon.com/aws-crypto-tools/index.html?id=docs_gateway#lang/en_us" + }, + "homepage": "https://github.com/aws/aws-sdk-js-crypto-helpers/tree/master/packages/supports-web-crypto", + "license": "Apache-2.0", + "main": "./build/main/index.js", + "module": "./build/module/index.js", + "types": "./build/main/index.d.ts", + "dependencies": { + "tslib": "^2.6.2" + }, + "gitHead": "c11b171b35ec5c093364f0e0d8dc4ab1af68e748" +} diff --git a/node_modules/@aws-crypto/supports-web-crypto/src/index.ts b/node_modules/@aws-crypto/supports-web-crypto/src/index.ts new file mode 100644 index 0000000..9725c9c --- /dev/null +++ b/node_modules/@aws-crypto/supports-web-crypto/src/index.ts @@ -0,0 +1 @@ +export * from "./supportsWebCrypto"; diff --git a/node_modules/@aws-crypto/supports-web-crypto/src/supportsWebCrypto.ts b/node_modules/@aws-crypto/supports-web-crypto/src/supportsWebCrypto.ts new file mode 100644 index 0000000..7eef629 --- /dev/null +++ b/node_modules/@aws-crypto/supports-web-crypto/src/supportsWebCrypto.ts @@ -0,0 +1,76 @@ +type SubtleCryptoMethod = + | "decrypt" + | "digest" + | "encrypt" + | "exportKey" + | "generateKey" + | "importKey" + | "sign" + | "verify"; + +const subtleCryptoMethods: Array = [ + "decrypt", + "digest", + "encrypt", + "exportKey", + "generateKey", + "importKey", + "sign", + "verify" +]; + +export function supportsWebCrypto(window: Window): boolean { + if ( + supportsSecureRandom(window) && + typeof window.crypto.subtle === "object" + ) { + const { subtle } = window.crypto; + + return supportsSubtleCrypto(subtle); + } + + return false; +} + +export function supportsSecureRandom(window: Window): boolean { + if (typeof window === "object" && typeof window.crypto === "object") { + const { getRandomValues } = window.crypto; + + return typeof getRandomValues === "function"; + } + + return false; +} + +export function supportsSubtleCrypto(subtle: SubtleCrypto) { + return ( + subtle && + subtleCryptoMethods.every( + methodName => typeof subtle[methodName] === "function" + ) + ); +} + +export async function supportsZeroByteGCM(subtle: SubtleCrypto) { + if (!supportsSubtleCrypto(subtle)) return false; + try { + const key = await subtle.generateKey( + { name: "AES-GCM", length: 128 }, + false, + ["encrypt"] + ); + const zeroByteAuthTag = await subtle.encrypt( + { + name: "AES-GCM", + iv: new Uint8Array(Array(12)), + additionalData: new Uint8Array(Array(16)), + tagLength: 128 + }, + key, + new Uint8Array(0) + ); + return zeroByteAuthTag.byteLength === 16; + } catch { + return false; + } +} diff --git a/node_modules/@aws-crypto/supports-web-crypto/tsconfig.json b/node_modules/@aws-crypto/supports-web-crypto/tsconfig.json new file mode 100644 index 0000000..efca6de --- /dev/null +++ b/node_modules/@aws-crypto/supports-web-crypto/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "lib": ["dom"], + "rootDir": "./src", + "outDir": "./build/main", + }, + "include": ["src/**/*.ts"], + "exclude": ["node_modules/**"] +} diff --git a/node_modules/@aws-crypto/supports-web-crypto/tsconfig.module.json b/node_modules/@aws-crypto/supports-web-crypto/tsconfig.module.json new file mode 100644 index 0000000..7d0cfdd --- /dev/null +++ b/node_modules/@aws-crypto/supports-web-crypto/tsconfig.module.json @@ -0,0 +1,7 @@ +{ + "extends": "./tsconfig", + "compilerOptions": { + "outDir": "build/module", + "module": "esnext", + } +} diff --git a/node_modules/@aws-crypto/util/CHANGELOG.md b/node_modules/@aws-crypto/util/CHANGELOG.md new file mode 100644 index 0000000..df2cecb --- /dev/null +++ b/node_modules/@aws-crypto/util/CHANGELOG.md @@ -0,0 +1,71 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [5.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.1.0...v5.2.0) (2023-10-16) + +### Features + +- support ESM artifacts in all packages ([#752](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/752)) ([e930ffb](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/e930ffba5cfef66dd242049e7d514ced232c1e3b)) + +# [5.1.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.0.0...v5.1.0) (2023-09-22) + +### Bug Fixes + +- Update tsc to 2.x ([#735](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/735)) ([782e0de](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/782e0de9f5fef41f694130580a69d940894b6b8c)) + +### Features + +- Use @smithy/util-utf8 ([#730](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/730)) ([00fb851](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/00fb851ca3559d5a1f370f9256814de1210826b8)), closes [#699](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/699) + +# [5.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v4.0.1...v5.0.0) (2023-07-13) + +**Note:** Version bump only for package @aws-crypto/util + +# [4.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v3.0.0...v4.0.0) (2023-02-20) + +**Note:** Version bump only for package @aws-crypto/util + +# [3.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.2...v3.0.0) (2023-01-12) + +- feat!: replace Hash implementations with Checksum interface (#492) ([da43dc0](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/da43dc0fdf669d9ebb5bfb1b1f7c79e46c4aaae1)), closes [#492](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/492) + +### BREAKING CHANGES + +- All classes that implemented `Hash` now implement `Checksum`. + +## [2.0.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.1...v2.0.2) (2022-09-07) + +### Bug Fixes + +- **#337:** update @aws-sdk/types ([#373](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/373)) ([b26a811](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/b26a811a392f5209c7ec7e57251500d4d78f97ff)), closes [#337](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/337) +- **docs:** update README for packages/util ([#382](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/382)) ([f3e650e](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/f3e650e1b4792ffbea2e8a1a015fd55fb951a3a4)) + +## [2.0.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.0...v2.0.1) (2021-12-09) + +### Bug Fixes + +- **uint32ArrayFrom:** increment index & polyfill for Uint32Array ([#270](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/270)) ([a70d603](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/a70d603f3ba7600d3c1213f297d4160a4b3793bd)) + +# [2.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.2...v2.0.0) (2021-10-25) + +**Note:** Version bump only for package @aws-crypto/util + +## [1.2.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.1...v1.2.2) (2021-10-12) + +### Bug Fixes + +- **crc32c:** ie11 does not support Array.from ([#221](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/221)) ([5f49547](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/5f495472ab8988cf203e0f2a70a51f7e1fcd7e60)) + +## [1.2.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.0...v1.2.1) (2021-09-17) + +### Bug Fixes + +- better pollyfill check for Buffer ([#217](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/217)) ([bc97da2](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/bc97da29aaf473943e4407c9a29cc30f74f15723)) + +# [1.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.1.1...v1.2.0) (2021-09-17) + +### Features + +- add @aws-crypto/util ([8f489cb](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/8f489cbe4c0e134f826bac66f1bf5172597048b9)) diff --git a/node_modules/@aws-crypto/util/LICENSE b/node_modules/@aws-crypto/util/LICENSE new file mode 100644 index 0000000..980a15a --- /dev/null +++ b/node_modules/@aws-crypto/util/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@aws-crypto/util/README.md b/node_modules/@aws-crypto/util/README.md new file mode 100644 index 0000000..4c1c8aa --- /dev/null +++ b/node_modules/@aws-crypto/util/README.md @@ -0,0 +1,16 @@ +# @aws-crypto/util + +Helper functions + +## Usage + +``` +import { convertToBuffer } from '@aws-crypto/util'; + +const data = "asdf"; +const utf8EncodedUint8Array = convertToBuffer(data); +``` + +## Test + +`npm test` diff --git a/node_modules/@aws-crypto/util/build/main/convertToBuffer.d.ts b/node_modules/@aws-crypto/util/build/main/convertToBuffer.d.ts new file mode 100644 index 0000000..697a5cd --- /dev/null +++ b/node_modules/@aws-crypto/util/build/main/convertToBuffer.d.ts @@ -0,0 +1,2 @@ +import { SourceData } from "@aws-sdk/types"; +export declare function convertToBuffer(data: SourceData): Uint8Array; diff --git a/node_modules/@aws-crypto/util/build/main/convertToBuffer.js b/node_modules/@aws-crypto/util/build/main/convertToBuffer.js new file mode 100644 index 0000000..85bc8af --- /dev/null +++ b/node_modules/@aws-crypto/util/build/main/convertToBuffer.js @@ -0,0 +1,24 @@ +"use strict"; +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +Object.defineProperty(exports, "__esModule", { value: true }); +exports.convertToBuffer = void 0; +var util_utf8_1 = require("@smithy/util-utf8"); +// Quick polyfill +var fromUtf8 = typeof Buffer !== "undefined" && Buffer.from + ? function (input) { return Buffer.from(input, "utf8"); } + : util_utf8_1.fromUtf8; +function convertToBuffer(data) { + // Already a Uint8, do nothing + if (data instanceof Uint8Array) + return data; + if (typeof data === "string") { + return fromUtf8(data); + } + if (ArrayBuffer.isView(data)) { + return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT); + } + return new Uint8Array(data); +} +exports.convertToBuffer = convertToBuffer; +//# sourceMappingURL=convertToBuffer.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/build/main/convertToBuffer.js.map b/node_modules/@aws-crypto/util/build/main/convertToBuffer.js.map new file mode 100644 index 0000000..916d787 --- /dev/null +++ b/node_modules/@aws-crypto/util/build/main/convertToBuffer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"convertToBuffer.js","sourceRoot":"","sources":["../../src/convertToBuffer.ts"],"names":[],"mappings":";AAAA,oEAAoE;AACpE,sCAAsC;;;AAGtC,+CAAgE;AAEhE,iBAAiB;AACjB,IAAM,QAAQ,GACZ,OAAO,MAAM,KAAK,WAAW,IAAI,MAAM,CAAC,IAAI;IAC1C,CAAC,CAAC,UAAC,KAAa,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,EAA1B,CAA0B;IAC/C,CAAC,CAAC,oBAAe,CAAC;AAEtB,SAAgB,eAAe,CAAC,IAAgB;IAC9C,8BAA8B;IAC9B,IAAI,IAAI,YAAY,UAAU;QAAE,OAAO,IAAI,CAAC;IAE5C,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QAC5B,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC;KACvB;IAED,IAAI,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;QAC5B,OAAO,IAAI,UAAU,CACnB,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,iBAAiB,CAC/C,CAAC;KACH;IAED,OAAO,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC;AAjBD,0CAiBC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/build/main/index.d.ts b/node_modules/@aws-crypto/util/build/main/index.d.ts new file mode 100644 index 0000000..783c73c --- /dev/null +++ b/node_modules/@aws-crypto/util/build/main/index.d.ts @@ -0,0 +1,4 @@ +export { convertToBuffer } from "./convertToBuffer"; +export { isEmptyData } from "./isEmptyData"; +export { numToUint8 } from "./numToUint8"; +export { uint32ArrayFrom } from './uint32ArrayFrom'; diff --git a/node_modules/@aws-crypto/util/build/main/index.js b/node_modules/@aws-crypto/util/build/main/index.js new file mode 100644 index 0000000..94e1ca9 --- /dev/null +++ b/node_modules/@aws-crypto/util/build/main/index.js @@ -0,0 +1,14 @@ +"use strict"; +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +Object.defineProperty(exports, "__esModule", { value: true }); +exports.uint32ArrayFrom = exports.numToUint8 = exports.isEmptyData = exports.convertToBuffer = void 0; +var convertToBuffer_1 = require("./convertToBuffer"); +Object.defineProperty(exports, "convertToBuffer", { enumerable: true, get: function () { return convertToBuffer_1.convertToBuffer; } }); +var isEmptyData_1 = require("./isEmptyData"); +Object.defineProperty(exports, "isEmptyData", { enumerable: true, get: function () { return isEmptyData_1.isEmptyData; } }); +var numToUint8_1 = require("./numToUint8"); +Object.defineProperty(exports, "numToUint8", { enumerable: true, get: function () { return numToUint8_1.numToUint8; } }); +var uint32ArrayFrom_1 = require("./uint32ArrayFrom"); +Object.defineProperty(exports, "uint32ArrayFrom", { enumerable: true, get: function () { return uint32ArrayFrom_1.uint32ArrayFrom; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/build/main/index.js.map b/node_modules/@aws-crypto/util/build/main/index.js.map new file mode 100644 index 0000000..a170172 --- /dev/null +++ b/node_modules/@aws-crypto/util/build/main/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,oEAAoE;AACpE,sCAAsC;;;AAEtC,qDAAoD;AAA3C,kHAAA,eAAe,OAAA;AACxB,6CAA4C;AAAnC,0GAAA,WAAW,OAAA;AACpB,2CAA0C;AAAjC,wGAAA,UAAU,OAAA;AACnB,qDAAkD;AAA1C,kHAAA,eAAe,OAAA"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/build/main/isEmptyData.d.ts b/node_modules/@aws-crypto/util/build/main/isEmptyData.d.ts new file mode 100644 index 0000000..43ae4a7 --- /dev/null +++ b/node_modules/@aws-crypto/util/build/main/isEmptyData.d.ts @@ -0,0 +1,2 @@ +import { SourceData } from "@aws-sdk/types"; +export declare function isEmptyData(data: SourceData): boolean; diff --git a/node_modules/@aws-crypto/util/build/main/isEmptyData.js b/node_modules/@aws-crypto/util/build/main/isEmptyData.js new file mode 100644 index 0000000..6af1e89 --- /dev/null +++ b/node_modules/@aws-crypto/util/build/main/isEmptyData.js @@ -0,0 +1,13 @@ +"use strict"; +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +Object.defineProperty(exports, "__esModule", { value: true }); +exports.isEmptyData = void 0; +function isEmptyData(data) { + if (typeof data === "string") { + return data.length === 0; + } + return data.byteLength === 0; +} +exports.isEmptyData = isEmptyData; +//# sourceMappingURL=isEmptyData.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/build/main/isEmptyData.js.map b/node_modules/@aws-crypto/util/build/main/isEmptyData.js.map new file mode 100644 index 0000000..e1eaa02 --- /dev/null +++ b/node_modules/@aws-crypto/util/build/main/isEmptyData.js.map @@ -0,0 +1 @@ +{"version":3,"file":"isEmptyData.js","sourceRoot":"","sources":["../../src/isEmptyData.ts"],"names":[],"mappings":";AAAA,oEAAoE;AACpE,sCAAsC;;;AAItC,SAAgB,WAAW,CAAC,IAAgB;IAC1C,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QAC5B,OAAO,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC;KAC1B;IAED,OAAO,IAAI,CAAC,UAAU,KAAK,CAAC,CAAC;AAC/B,CAAC;AAND,kCAMC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/build/main/numToUint8.d.ts b/node_modules/@aws-crypto/util/build/main/numToUint8.d.ts new file mode 100644 index 0000000..5b702e8 --- /dev/null +++ b/node_modules/@aws-crypto/util/build/main/numToUint8.d.ts @@ -0,0 +1 @@ +export declare function numToUint8(num: number): Uint8Array; diff --git a/node_modules/@aws-crypto/util/build/main/numToUint8.js b/node_modules/@aws-crypto/util/build/main/numToUint8.js new file mode 100644 index 0000000..2f070e1 --- /dev/null +++ b/node_modules/@aws-crypto/util/build/main/numToUint8.js @@ -0,0 +1,15 @@ +"use strict"; +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +Object.defineProperty(exports, "__esModule", { value: true }); +exports.numToUint8 = void 0; +function numToUint8(num) { + return new Uint8Array([ + (num & 0xff000000) >> 24, + (num & 0x00ff0000) >> 16, + (num & 0x0000ff00) >> 8, + num & 0x000000ff, + ]); +} +exports.numToUint8 = numToUint8; +//# sourceMappingURL=numToUint8.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/build/main/numToUint8.js.map b/node_modules/@aws-crypto/util/build/main/numToUint8.js.map new file mode 100644 index 0000000..fea3aca --- /dev/null +++ b/node_modules/@aws-crypto/util/build/main/numToUint8.js.map @@ -0,0 +1 @@ +{"version":3,"file":"numToUint8.js","sourceRoot":"","sources":["../../src/numToUint8.ts"],"names":[],"mappings":";AAAA,oEAAoE;AACpE,sCAAsC;;;AAEtC,SAAgB,UAAU,CAAC,GAAW;IACpC,OAAO,IAAI,UAAU,CAAC;QACpB,CAAC,GAAG,GAAG,UAAU,CAAC,IAAI,EAAE;QACxB,CAAC,GAAG,GAAG,UAAU,CAAC,IAAI,EAAE;QACxB,CAAC,GAAG,GAAG,UAAU,CAAC,IAAI,CAAC;QACvB,GAAG,GAAG,UAAU;KACjB,CAAC,CAAC;AACL,CAAC;AAPD,gCAOC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.d.ts b/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.d.ts new file mode 100644 index 0000000..fea6607 --- /dev/null +++ b/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.d.ts @@ -0,0 +1 @@ +export declare function uint32ArrayFrom(a_lookUpTable: Array): Uint32Array; diff --git a/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js b/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js new file mode 100644 index 0000000..226cdc3 --- /dev/null +++ b/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js @@ -0,0 +1,20 @@ +"use strict"; +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +Object.defineProperty(exports, "__esModule", { value: true }); +exports.uint32ArrayFrom = void 0; +// IE 11 does not support Array.from, so we do it manually +function uint32ArrayFrom(a_lookUpTable) { + if (!Uint32Array.from) { + var return_array = new Uint32Array(a_lookUpTable.length); + var a_index = 0; + while (a_index < a_lookUpTable.length) { + return_array[a_index] = a_lookUpTable[a_index]; + a_index += 1; + } + return return_array; + } + return Uint32Array.from(a_lookUpTable); +} +exports.uint32ArrayFrom = uint32ArrayFrom; +//# sourceMappingURL=uint32ArrayFrom.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js.map b/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js.map new file mode 100644 index 0000000..fe016e1 --- /dev/null +++ b/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js.map @@ -0,0 +1 @@ +{"version":3,"file":"uint32ArrayFrom.js","sourceRoot":"","sources":["../../src/uint32ArrayFrom.ts"],"names":[],"mappings":";AAAA,oEAAoE;AACpE,sCAAsC;;;AAEtC,0DAA0D;AAC1D,SAAgB,eAAe,CAAC,aAA4B;IAC1D,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE;QACrB,IAAM,YAAY,GAAG,IAAI,WAAW,CAAC,aAAa,CAAC,MAAM,CAAC,CAAA;QAC1D,IAAI,OAAO,GAAG,CAAC,CAAA;QACf,OAAO,OAAO,GAAG,aAAa,CAAC,MAAM,EAAE;YACrC,YAAY,CAAC,OAAO,CAAC,GAAG,aAAa,CAAC,OAAO,CAAC,CAAA;YAC9C,OAAO,IAAI,CAAC,CAAA;SACb;QACD,OAAO,YAAY,CAAA;KACpB;IACD,OAAO,WAAW,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;AACxC,CAAC;AAXD,0CAWC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/build/module/convertToBuffer.d.ts b/node_modules/@aws-crypto/util/build/module/convertToBuffer.d.ts new file mode 100644 index 0000000..697a5cd --- /dev/null +++ b/node_modules/@aws-crypto/util/build/module/convertToBuffer.d.ts @@ -0,0 +1,2 @@ +import { SourceData } from "@aws-sdk/types"; +export declare function convertToBuffer(data: SourceData): Uint8Array; diff --git a/node_modules/@aws-crypto/util/build/module/convertToBuffer.js b/node_modules/@aws-crypto/util/build/module/convertToBuffer.js new file mode 100644 index 0000000..c700d1e --- /dev/null +++ b/node_modules/@aws-crypto/util/build/module/convertToBuffer.js @@ -0,0 +1,20 @@ +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +import { fromUtf8 as fromUtf8Browser } from "@smithy/util-utf8"; +// Quick polyfill +var fromUtf8 = typeof Buffer !== "undefined" && Buffer.from + ? function (input) { return Buffer.from(input, "utf8"); } + : fromUtf8Browser; +export function convertToBuffer(data) { + // Already a Uint8, do nothing + if (data instanceof Uint8Array) + return data; + if (typeof data === "string") { + return fromUtf8(data); + } + if (ArrayBuffer.isView(data)) { + return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT); + } + return new Uint8Array(data); +} +//# sourceMappingURL=convertToBuffer.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/build/module/convertToBuffer.js.map b/node_modules/@aws-crypto/util/build/module/convertToBuffer.js.map new file mode 100644 index 0000000..92694a4 --- /dev/null +++ b/node_modules/@aws-crypto/util/build/module/convertToBuffer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"convertToBuffer.js","sourceRoot":"","sources":["../../src/convertToBuffer.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,sCAAsC;AAGtC,OAAO,EAAE,QAAQ,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEhE,iBAAiB;AACjB,IAAM,QAAQ,GACZ,OAAO,MAAM,KAAK,WAAW,IAAI,MAAM,CAAC,IAAI;IAC1C,CAAC,CAAC,UAAC,KAAa,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,EAA1B,CAA0B;IAC/C,CAAC,CAAC,eAAe,CAAC;AAEtB,MAAM,UAAU,eAAe,CAAC,IAAgB;IAC9C,8BAA8B;IAC9B,IAAI,IAAI,YAAY,UAAU;QAAE,OAAO,IAAI,CAAC;IAE5C,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QAC5B,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC;KACvB;IAED,IAAI,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;QAC5B,OAAO,IAAI,UAAU,CACnB,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,iBAAiB,CAC/C,CAAC;KACH;IAED,OAAO,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/build/module/index.d.ts b/node_modules/@aws-crypto/util/build/module/index.d.ts new file mode 100644 index 0000000..783c73c --- /dev/null +++ b/node_modules/@aws-crypto/util/build/module/index.d.ts @@ -0,0 +1,4 @@ +export { convertToBuffer } from "./convertToBuffer"; +export { isEmptyData } from "./isEmptyData"; +export { numToUint8 } from "./numToUint8"; +export { uint32ArrayFrom } from './uint32ArrayFrom'; diff --git a/node_modules/@aws-crypto/util/build/module/index.js b/node_modules/@aws-crypto/util/build/module/index.js new file mode 100644 index 0000000..077e8b6 --- /dev/null +++ b/node_modules/@aws-crypto/util/build/module/index.js @@ -0,0 +1,7 @@ +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +export { convertToBuffer } from "./convertToBuffer"; +export { isEmptyData } from "./isEmptyData"; +export { numToUint8 } from "./numToUint8"; +export { uint32ArrayFrom } from './uint32ArrayFrom'; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/build/module/index.js.map b/node_modules/@aws-crypto/util/build/module/index.js.map new file mode 100644 index 0000000..4ddb12d --- /dev/null +++ b/node_modules/@aws-crypto/util/build/module/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,sCAAsC;AAEtC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/build/module/isEmptyData.d.ts b/node_modules/@aws-crypto/util/build/module/isEmptyData.d.ts new file mode 100644 index 0000000..43ae4a7 --- /dev/null +++ b/node_modules/@aws-crypto/util/build/module/isEmptyData.d.ts @@ -0,0 +1,2 @@ +import { SourceData } from "@aws-sdk/types"; +export declare function isEmptyData(data: SourceData): boolean; diff --git a/node_modules/@aws-crypto/util/build/module/isEmptyData.js b/node_modules/@aws-crypto/util/build/module/isEmptyData.js new file mode 100644 index 0000000..13841c7 --- /dev/null +++ b/node_modules/@aws-crypto/util/build/module/isEmptyData.js @@ -0,0 +1,9 @@ +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +export function isEmptyData(data) { + if (typeof data === "string") { + return data.length === 0; + } + return data.byteLength === 0; +} +//# sourceMappingURL=isEmptyData.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/build/module/isEmptyData.js.map b/node_modules/@aws-crypto/util/build/module/isEmptyData.js.map new file mode 100644 index 0000000..fe0fa02 --- /dev/null +++ b/node_modules/@aws-crypto/util/build/module/isEmptyData.js.map @@ -0,0 +1 @@ +{"version":3,"file":"isEmptyData.js","sourceRoot":"","sources":["../../src/isEmptyData.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,sCAAsC;AAItC,MAAM,UAAU,WAAW,CAAC,IAAgB;IAC1C,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QAC5B,OAAO,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC;KAC1B;IAED,OAAO,IAAI,CAAC,UAAU,KAAK,CAAC,CAAC;AAC/B,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/build/module/numToUint8.d.ts b/node_modules/@aws-crypto/util/build/module/numToUint8.d.ts new file mode 100644 index 0000000..5b702e8 --- /dev/null +++ b/node_modules/@aws-crypto/util/build/module/numToUint8.d.ts @@ -0,0 +1 @@ +export declare function numToUint8(num: number): Uint8Array; diff --git a/node_modules/@aws-crypto/util/build/module/numToUint8.js b/node_modules/@aws-crypto/util/build/module/numToUint8.js new file mode 100644 index 0000000..0ca6e47 --- /dev/null +++ b/node_modules/@aws-crypto/util/build/module/numToUint8.js @@ -0,0 +1,11 @@ +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +export function numToUint8(num) { + return new Uint8Array([ + (num & 0xff000000) >> 24, + (num & 0x00ff0000) >> 16, + (num & 0x0000ff00) >> 8, + num & 0x000000ff, + ]); +} +//# sourceMappingURL=numToUint8.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/build/module/numToUint8.js.map b/node_modules/@aws-crypto/util/build/module/numToUint8.js.map new file mode 100644 index 0000000..ac53e33 --- /dev/null +++ b/node_modules/@aws-crypto/util/build/module/numToUint8.js.map @@ -0,0 +1 @@ +{"version":3,"file":"numToUint8.js","sourceRoot":"","sources":["../../src/numToUint8.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,sCAAsC;AAEtC,MAAM,UAAU,UAAU,CAAC,GAAW;IACpC,OAAO,IAAI,UAAU,CAAC;QACpB,CAAC,GAAG,GAAG,UAAU,CAAC,IAAI,EAAE;QACxB,CAAC,GAAG,GAAG,UAAU,CAAC,IAAI,EAAE;QACxB,CAAC,GAAG,GAAG,UAAU,CAAC,IAAI,CAAC;QACvB,GAAG,GAAG,UAAU;KACjB,CAAC,CAAC;AACL,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.d.ts b/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.d.ts new file mode 100644 index 0000000..fea6607 --- /dev/null +++ b/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.d.ts @@ -0,0 +1 @@ +export declare function uint32ArrayFrom(a_lookUpTable: Array): Uint32Array; diff --git a/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js b/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js new file mode 100644 index 0000000..c69435e --- /dev/null +++ b/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js @@ -0,0 +1,16 @@ +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +// IE 11 does not support Array.from, so we do it manually +export function uint32ArrayFrom(a_lookUpTable) { + if (!Uint32Array.from) { + var return_array = new Uint32Array(a_lookUpTable.length); + var a_index = 0; + while (a_index < a_lookUpTable.length) { + return_array[a_index] = a_lookUpTable[a_index]; + a_index += 1; + } + return return_array; + } + return Uint32Array.from(a_lookUpTable); +} +//# sourceMappingURL=uint32ArrayFrom.js.map \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js.map b/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js.map new file mode 100644 index 0000000..7384b0a --- /dev/null +++ b/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js.map @@ -0,0 +1 @@ +{"version":3,"file":"uint32ArrayFrom.js","sourceRoot":"","sources":["../../src/uint32ArrayFrom.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,sCAAsC;AAEtC,0DAA0D;AAC1D,MAAM,UAAU,eAAe,CAAC,aAA4B;IAC1D,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE;QACrB,IAAM,YAAY,GAAG,IAAI,WAAW,CAAC,aAAa,CAAC,MAAM,CAAC,CAAA;QAC1D,IAAI,OAAO,GAAG,CAAC,CAAA;QACf,OAAO,OAAO,GAAG,aAAa,CAAC,MAAM,EAAE;YACrC,YAAY,CAAC,OAAO,CAAC,GAAG,aAAa,CAAC,OAAO,CAAC,CAAA;YAC9C,OAAO,IAAI,CAAC,CAAA;SACb;QACD,OAAO,YAAY,CAAA;KACpB;IACD,OAAO,WAAW,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;AACxC,CAAC"} \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/LICENSE b/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/README.md b/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/README.md new file mode 100644 index 0000000..31853f2 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/README.md @@ -0,0 +1,10 @@ +# @smithy/is-array-buffer + +[![NPM version](https://img.shields.io/npm/v/@smithy/is-array-buffer/latest.svg)](https://www.npmjs.com/package/@smithy/is-array-buffer) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/is-array-buffer.svg)](https://www.npmjs.com/package/@smithy/is-array-buffer) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js b/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js new file mode 100644 index 0000000..5d792e7 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js @@ -0,0 +1,32 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + isArrayBuffer: () => isArrayBuffer +}); +module.exports = __toCommonJS(src_exports); +var isArrayBuffer = /* @__PURE__ */ __name((arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]", "isArrayBuffer"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (module.exports = { + isArrayBuffer +}); + diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-es/index.js b/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-es/index.js new file mode 100644 index 0000000..8096cca --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-es/index.js @@ -0,0 +1,2 @@ +export const isArrayBuffer = (arg) => (typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer) || + Object.prototype.toString.call(arg) === "[object ArrayBuffer]"; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts b/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts new file mode 100644 index 0000000..64f452e --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const isArrayBuffer: (arg: any) => arg is ArrayBuffer; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts b/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..64f452e --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const isArrayBuffer: (arg: any) => arg is ArrayBuffer; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json b/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json new file mode 100644 index 0000000..ed8affc --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json @@ -0,0 +1,60 @@ +{ + "name": "@smithy/is-array-buffer", + "version": "2.2.0", + "description": "Provides a function for detecting if an argument is an ArrayBuffer", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline is-array-buffer", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:jest" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + }, + "typesVersions": { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/is-array-buffer", + "repository": { + "type": "git", + "url": "https://github.com/awslabs/smithy-typescript.git", + "directory": "packages/is-array-buffer" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "rimraf": "3.0.2", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/LICENSE b/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/README.md b/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/README.md new file mode 100644 index 0000000..c896b04 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/README.md @@ -0,0 +1,10 @@ +# @smithy/util-buffer-from + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-buffer-from/latest.svg)](https://www.npmjs.com/package/@smithy/util-buffer-from) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-buffer-from.svg)](https://www.npmjs.com/package/@smithy/util-buffer-from) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js b/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js new file mode 100644 index 0000000..c6738d9 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js @@ -0,0 +1,47 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + fromArrayBuffer: () => fromArrayBuffer, + fromString: () => fromString +}); +module.exports = __toCommonJS(src_exports); +var import_is_array_buffer = require("@smithy/is-array-buffer"); +var import_buffer = require("buffer"); +var fromArrayBuffer = /* @__PURE__ */ __name((input, offset = 0, length = input.byteLength - offset) => { + if (!(0, import_is_array_buffer.isArrayBuffer)(input)) { + throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`); + } + return import_buffer.Buffer.from(input, offset, length); +}, "fromArrayBuffer"); +var fromString = /* @__PURE__ */ __name((input, encoding) => { + if (typeof input !== "string") { + throw new TypeError(`The "input" argument must be of type string. Received type ${typeof input} (${input})`); + } + return encoding ? import_buffer.Buffer.from(input, encoding) : import_buffer.Buffer.from(input); +}, "fromString"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (module.exports = { + fromArrayBuffer, + fromString +}); + diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-es/index.js b/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-es/index.js new file mode 100644 index 0000000..718f831 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-es/index.js @@ -0,0 +1,14 @@ +import { isArrayBuffer } from "@smithy/is-array-buffer"; +import { Buffer } from "buffer"; +export const fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => { + if (!isArrayBuffer(input)) { + throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`); + } + return Buffer.from(input, offset, length); +}; +export const fromString = (input, encoding) => { + if (typeof input !== "string") { + throw new TypeError(`The "input" argument must be of type string. Received type ${typeof input} (${input})`); + } + return encoding ? Buffer.from(input, encoding) : Buffer.from(input); +}; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts b/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts new file mode 100644 index 0000000..a523134 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts @@ -0,0 +1,13 @@ +import { Buffer } from "buffer"; +/** + * @internal + */ +export declare const fromArrayBuffer: (input: ArrayBuffer, offset?: number, length?: number) => Buffer; +/** + * @internal + */ +export type StringEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "base64" | "latin1" | "binary" | "hex"; +/** + * @internal + */ +export declare const fromString: (input: string, encoding?: StringEncoding) => Buffer; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts b/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..a523134 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts @@ -0,0 +1,13 @@ +import { Buffer } from "buffer"; +/** + * @internal + */ +export declare const fromArrayBuffer: (input: ArrayBuffer, offset?: number, length?: number) => Buffer; +/** + * @internal + */ +export type StringEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "base64" | "latin1" | "binary" | "hex"; +/** + * @internal + */ +export declare const fromString: (input: string, encoding?: StringEncoding) => Buffer; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json b/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json new file mode 100644 index 0000000..a12e51c --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json @@ -0,0 +1,61 @@ +{ + "name": "@smithy/util-buffer-from", + "version": "2.2.0", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-buffer-from", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:jest" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@smithy/is-array-buffer": "^2.2.0", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "@types/node": "^14.14.31", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "rimraf": "3.0.2", + "typedoc": "0.23.23" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=14.0.0" + }, + "typesVersions": { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/util-buffer-from", + "repository": { + "type": "git", + "url": "https://github.com/awslabs/smithy-typescript.git", + "directory": "packages/util-buffer-from" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/LICENSE b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/README.md b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/README.md new file mode 100644 index 0000000..fc5db6d --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/README.md @@ -0,0 +1,4 @@ +# @smithy/util-utf8 + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-utf8/latest.svg)](https://www.npmjs.com/package/@smithy/util-utf8) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-utf8.svg)](https://www.npmjs.com/package/@smithy/util-utf8) diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js new file mode 100644 index 0000000..532e610 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js @@ -0,0 +1 @@ +module.exports = require("./index.js"); \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js new file mode 100644 index 0000000..532e610 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js @@ -0,0 +1 @@ +module.exports = require("./index.js"); \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js new file mode 100644 index 0000000..0b22680 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js @@ -0,0 +1,65 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + fromUtf8: () => fromUtf8, + toUint8Array: () => toUint8Array, + toUtf8: () => toUtf8 +}); +module.exports = __toCommonJS(src_exports); + +// src/fromUtf8.ts +var import_util_buffer_from = require("@smithy/util-buffer-from"); +var fromUtf8 = /* @__PURE__ */ __name((input) => { + const buf = (0, import_util_buffer_from.fromString)(input, "utf8"); + return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT); +}, "fromUtf8"); + +// src/toUint8Array.ts +var toUint8Array = /* @__PURE__ */ __name((data) => { + if (typeof data === "string") { + return fromUtf8(data); + } + if (ArrayBuffer.isView(data)) { + return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT); + } + return new Uint8Array(data); +}, "toUint8Array"); + +// src/toUtf8.ts + +var toUtf8 = /* @__PURE__ */ __name((input) => { + if (typeof input === "string") { + return input; + } + if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") { + throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array."); + } + return (0, import_util_buffer_from.fromArrayBuffer)(input.buffer, input.byteOffset, input.byteLength).toString("utf8"); +}, "toUtf8"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (module.exports = { + fromUtf8, + toUint8Array, + toUtf8 +}); + diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js new file mode 100644 index 0000000..532e610 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js @@ -0,0 +1 @@ +module.exports = require("./index.js"); \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js new file mode 100644 index 0000000..532e610 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js @@ -0,0 +1 @@ +module.exports = require("./index.js"); \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js new file mode 100644 index 0000000..532e610 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js @@ -0,0 +1 @@ +module.exports = require("./index.js"); \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js new file mode 100644 index 0000000..7344190 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js @@ -0,0 +1 @@ +export const fromUtf8 = (input) => new TextEncoder().encode(input); diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js new file mode 100644 index 0000000..6dc438b --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js @@ -0,0 +1,5 @@ +import { fromString } from "@smithy/util-buffer-from"; +export const fromUtf8 = (input) => { + const buf = fromString(input, "utf8"); + return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT); +}; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/index.js b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/index.js new file mode 100644 index 0000000..00ba465 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/index.js @@ -0,0 +1,3 @@ +export * from "./fromUtf8"; +export * from "./toUint8Array"; +export * from "./toUtf8"; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js new file mode 100644 index 0000000..2cd36f7 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js @@ -0,0 +1,10 @@ +import { fromUtf8 } from "./fromUtf8"; +export const toUint8Array = (data) => { + if (typeof data === "string") { + return fromUtf8(data); + } + if (ArrayBuffer.isView(data)) { + return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT); + } + return new Uint8Array(data); +}; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js new file mode 100644 index 0000000..c292127 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js @@ -0,0 +1,9 @@ +export const toUtf8 = (input) => { + if (typeof input === "string") { + return input; + } + if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") { + throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array."); + } + return new TextDecoder("utf-8").decode(input); +}; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.js b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.js new file mode 100644 index 0000000..7be8745 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.js @@ -0,0 +1,10 @@ +import { fromArrayBuffer } from "@smithy/util-buffer-from"; +export const toUtf8 = (input) => { + if (typeof input === "string") { + return input; + } + if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") { + throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array."); + } + return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("utf8"); +}; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts new file mode 100644 index 0000000..dd91981 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts @@ -0,0 +1 @@ +export declare const fromUtf8: (input: string) => Uint8Array; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts new file mode 100644 index 0000000..dd91981 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts @@ -0,0 +1 @@ +export declare const fromUtf8: (input: string) => Uint8Array; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/index.d.ts b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/index.d.ts new file mode 100644 index 0000000..00ba465 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/index.d.ts @@ -0,0 +1,3 @@ +export * from "./fromUtf8"; +export * from "./toUint8Array"; +export * from "./toUtf8"; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts new file mode 100644 index 0000000..11b6342 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts @@ -0,0 +1 @@ +export declare const toUint8Array: (data: string | ArrayBuffer | ArrayBufferView) => Uint8Array; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts new file mode 100644 index 0000000..8494acd --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts @@ -0,0 +1,7 @@ +/** + * + * This does not convert non-utf8 strings to utf8, it only passes through strings if + * a string is received instead of a Uint8Array. + * + */ +export declare const toUtf8: (input: Uint8Array | string) => string; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts new file mode 100644 index 0000000..8494acd --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts @@ -0,0 +1,7 @@ +/** + * + * This does not convert non-utf8 strings to utf8, it only passes through strings if + * a string is received instead of a Uint8Array. + * + */ +export declare const toUtf8: (input: Uint8Array | string) => string; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts new file mode 100644 index 0000000..dd91981 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts @@ -0,0 +1 @@ +export declare const fromUtf8: (input: string) => Uint8Array; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts new file mode 100644 index 0000000..dd91981 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts @@ -0,0 +1 @@ +export declare const fromUtf8: (input: string) => Uint8Array; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..00ba465 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts @@ -0,0 +1,3 @@ +export * from "./fromUtf8"; +export * from "./toUint8Array"; +export * from "./toUtf8"; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts new file mode 100644 index 0000000..11b6342 --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts @@ -0,0 +1 @@ +export declare const toUint8Array: (data: string | ArrayBuffer | ArrayBufferView) => Uint8Array; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts new file mode 100644 index 0000000..8494acd --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts @@ -0,0 +1,7 @@ +/** + * + * This does not convert non-utf8 strings to utf8, it only passes through strings if + * a string is received instead of a Uint8Array. + * + */ +export declare const toUtf8: (input: Uint8Array | string) => string; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts new file mode 100644 index 0000000..8494acd --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts @@ -0,0 +1,7 @@ +/** + * + * This does not convert non-utf8 strings to utf8, it only passes through strings if + * a string is received instead of a Uint8Array. + * + */ +export declare const toUtf8: (input: Uint8Array | string) => string; diff --git a/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json new file mode 100644 index 0000000..78bfb4d --- /dev/null +++ b/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json @@ -0,0 +1,66 @@ +{ + "name": "@smithy/util-utf8", + "version": "2.3.0", + "description": "A UTF-8 string <-> UInt8Array converter", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-utf8", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:jest" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^2.2.0", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "rimraf": "3.0.2", + "typedoc": "0.23.23" + }, + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=14.0.0" + }, + "typesVersions": { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "browser": { + "./dist-es/fromUtf8": "./dist-es/fromUtf8.browser", + "./dist-es/toUtf8": "./dist-es/toUtf8.browser" + }, + "react-native": {}, + "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/util-utf8", + "repository": { + "type": "git", + "url": "https://github.com/awslabs/smithy-typescript.git", + "directory": "packages/util-utf8" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@aws-crypto/util/package.json b/node_modules/@aws-crypto/util/package.json new file mode 100644 index 0000000..431107a --- /dev/null +++ b/node_modules/@aws-crypto/util/package.json @@ -0,0 +1,32 @@ +{ + "name": "@aws-crypto/util", + "version": "5.2.0", + "scripts": { + "prepublishOnly": "tsc -p tsconfig.json && tsc -p tsconfig.module.json", + "pretest": "tsc -p tsconfig.test.json", + "test": "mocha --require ts-node/register test/**/*test.ts" + }, + "main": "./build/main/index.js", + "module": "./build/module/index.js", + "types": "./build/main/index.d.ts", + "repository": { + "type": "git", + "url": "git@github.com:aws/aws-sdk-js-crypto-helpers.git" + }, + "author": { + "name": "AWS Crypto Tools Team", + "email": "aws-cryptools@amazon.com", + "url": "https://docs.aws.amazon.com/aws-crypto-tools/index.html?id=docs_gateway#lang/en_us" + }, + "homepage": "https://github.com/aws/aws-sdk-js-crypto-helpers/tree/master/packages/util", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.222.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.6.2" + }, + "publishConfig": { + "access": "public" + }, + "gitHead": "c11b171b35ec5c093364f0e0d8dc4ab1af68e748" +} diff --git a/node_modules/@aws-crypto/util/src/convertToBuffer.ts b/node_modules/@aws-crypto/util/src/convertToBuffer.ts new file mode 100644 index 0000000..f9f163e --- /dev/null +++ b/node_modules/@aws-crypto/util/src/convertToBuffer.ts @@ -0,0 +1,30 @@ +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +import { SourceData } from "@aws-sdk/types"; +import { fromUtf8 as fromUtf8Browser } from "@smithy/util-utf8"; + +// Quick polyfill +const fromUtf8 = + typeof Buffer !== "undefined" && Buffer.from + ? (input: string) => Buffer.from(input, "utf8") + : fromUtf8Browser; + +export function convertToBuffer(data: SourceData): Uint8Array { + // Already a Uint8, do nothing + if (data instanceof Uint8Array) return data; + + if (typeof data === "string") { + return fromUtf8(data); + } + + if (ArrayBuffer.isView(data)) { + return new Uint8Array( + data.buffer, + data.byteOffset, + data.byteLength / Uint8Array.BYTES_PER_ELEMENT + ); + } + + return new Uint8Array(data); +} diff --git a/node_modules/@aws-crypto/util/src/index.ts b/node_modules/@aws-crypto/util/src/index.ts new file mode 100644 index 0000000..2f6c62a --- /dev/null +++ b/node_modules/@aws-crypto/util/src/index.ts @@ -0,0 +1,7 @@ +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +export { convertToBuffer } from "./convertToBuffer"; +export { isEmptyData } from "./isEmptyData"; +export { numToUint8 } from "./numToUint8"; +export {uint32ArrayFrom} from './uint32ArrayFrom'; diff --git a/node_modules/@aws-crypto/util/src/isEmptyData.ts b/node_modules/@aws-crypto/util/src/isEmptyData.ts new file mode 100644 index 0000000..089764d --- /dev/null +++ b/node_modules/@aws-crypto/util/src/isEmptyData.ts @@ -0,0 +1,12 @@ +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +import { SourceData } from "@aws-sdk/types"; + +export function isEmptyData(data: SourceData): boolean { + if (typeof data === "string") { + return data.length === 0; + } + + return data.byteLength === 0; +} diff --git a/node_modules/@aws-crypto/util/src/numToUint8.ts b/node_modules/@aws-crypto/util/src/numToUint8.ts new file mode 100644 index 0000000..2f40ace --- /dev/null +++ b/node_modules/@aws-crypto/util/src/numToUint8.ts @@ -0,0 +1,11 @@ +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +export function numToUint8(num: number) { + return new Uint8Array([ + (num & 0xff000000) >> 24, + (num & 0x00ff0000) >> 16, + (num & 0x0000ff00) >> 8, + num & 0x000000ff, + ]); +} diff --git a/node_modules/@aws-crypto/util/src/uint32ArrayFrom.ts b/node_modules/@aws-crypto/util/src/uint32ArrayFrom.ts new file mode 100644 index 0000000..b9b6d88 --- /dev/null +++ b/node_modules/@aws-crypto/util/src/uint32ArrayFrom.ts @@ -0,0 +1,16 @@ +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +// IE 11 does not support Array.from, so we do it manually +export function uint32ArrayFrom(a_lookUpTable: Array): Uint32Array { + if (!Uint32Array.from) { + const return_array = new Uint32Array(a_lookUpTable.length) + let a_index = 0 + while (a_index < a_lookUpTable.length) { + return_array[a_index] = a_lookUpTable[a_index] + a_index += 1 + } + return return_array + } + return Uint32Array.from(a_lookUpTable) +} diff --git a/node_modules/@aws-crypto/util/tsconfig.json b/node_modules/@aws-crypto/util/tsconfig.json new file mode 100644 index 0000000..2b996d0 --- /dev/null +++ b/node_modules/@aws-crypto/util/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "rootDir": "./src", + "outDir": "./build/main", + }, + "include": ["src/**/*.ts"], + "exclude": ["node_modules/**"] +} diff --git a/node_modules/@aws-crypto/util/tsconfig.module.json b/node_modules/@aws-crypto/util/tsconfig.module.json new file mode 100644 index 0000000..7d0cfdd --- /dev/null +++ b/node_modules/@aws-crypto/util/tsconfig.module.json @@ -0,0 +1,7 @@ +{ + "extends": "./tsconfig", + "compilerOptions": { + "outDir": "build/module", + "module": "esnext", + } +} diff --git a/node_modules/@aws-sdk/client-s3/LICENSE b/node_modules/@aws-sdk/client-s3/LICENSE new file mode 100644 index 0000000..dd65ae0 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@aws-sdk/client-s3/README.md b/node_modules/@aws-sdk/client-s3/README.md new file mode 100644 index 0000000..2568a7d --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/README.md @@ -0,0 +1,930 @@ + + +# @aws-sdk/client-s3 + +## Description + +AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native. + +

+ +## Installing + +To install this package, use the CLI of your favorite package manager: + +- `npm install @aws-sdk/client-s3` +- `yarn add @aws-sdk/client-s3` +- `pnpm add @aws-sdk/client-s3` + +## Getting Started + +### Import + +The AWS SDK is modulized by clients and commands. +To send a request, you only need to import the `S3Client` and +the commands you need, for example `ListBucketsCommand`: + +```js +// ES5 example +const { S3Client, ListBucketsCommand } = require("@aws-sdk/client-s3"); +``` + +```ts +// ES6+ example +import { S3Client, ListBucketsCommand } from "@aws-sdk/client-s3"; +``` + +### Usage + +To send a request: + +- Instantiate a client with configuration (e.g. credentials, region). + - See [docs/CLIENTS](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md) for configuration details. + - See [@aws-sdk/config](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/config/README.md) for additional options. +- Instantiate a command with input parameters. +- Call the `send` operation on the client, providing the command object as input. + +```js +const client = new S3Client({ region: "REGION" }); + +const params = { /** input parameters */ }; +const command = new ListBucketsCommand(params); +``` + +#### Async/await + +We recommend using the [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await) +operator to wait for the promise returned by send operation as follows: + +```js +// async/await. +try { + const data = await client.send(command); + // process data. +} catch (error) { + // error handling. +} finally { + // finally. +} +``` + +#### Promises + +You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining). + +```js +client + .send(command) + .then((data) => { + // process data. + }) + .catch((error) => { + // error handling. + }) + .finally(() => { + // finally. + }); +``` + +#### Aggregated client + +The aggregated client class is exported from the same package, but without the "Client" suffix. + +`S3` extends `S3Client` and additionally supports all operations, waiters, and paginators as methods. +This style may be familiar to you from the AWS SDK for JavaScript v2. + +If you are bundling the AWS SDK, we recommend using only the bare-bones client (`S3Client`). +More details are in the blog post on +[modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/). + +```ts +import { S3 } from "@aws-sdk/client-s3"; + +const client = new S3({ region: "REGION" }); + +// async/await. +try { + const data = await client.listBuckets(params); + // process data. +} catch (error) { + // error handling. +} + +// Promises. +client + .listBuckets(params) + .then((data) => { + // process data. + }) + .catch((error) => { + // error handling. + }); + +// callbacks (not recommended). +client.listBuckets(params, (err, data) => { + // process err and data. +}); +``` + +### Troubleshooting + +When the service returns an exception, the error will include the exception information, +as well as response metadata (e.g. request id). + +```js +try { + const data = await client.send(command); + // process data. +} catch (error) { + const { requestId, cfId, extendedRequestId } = error.$metadata; + console.log({ requestId, cfId, extendedRequestId }); + /** + * The keys within exceptions are also parsed. + * You can access them by specifying exception names: + * if (error.name === 'SomeServiceException') { + * const value = error.specialKeyInException; + * } + */ +} +``` + +See also [docs/ERROR_HANDLING](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/ERROR_HANDLING.md). + +## Getting Help + +Please use these community resources for getting help. +We use GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them. + +- Visit the [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html) + or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html). +- Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/) + on AWS Developer Blog. +- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`. +- Join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3). +- If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose). + +To test your universal JavaScript code in Node.js, browser and react-native environments, +visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests). + +## Contributing + +This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/client-s3` package is updated. +To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients). + +## License + +This SDK is distributed under the +[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0), +see LICENSE for more information. + +## Client Commands (Operations List) + +
+ +AbortMultipartUpload + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/AbortMultipartUploadCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/AbortMultipartUploadCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/AbortMultipartUploadCommandOutput/) +
+
+ +CompleteMultipartUpload + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/CompleteMultipartUploadCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/CompleteMultipartUploadCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/CompleteMultipartUploadCommandOutput/) +
+
+ +CopyObject + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/CopyObjectCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/CopyObjectCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/CopyObjectCommandOutput/) +
+
+ +CreateBucket + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/CreateBucketCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/CreateBucketCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/CreateBucketCommandOutput/) +
+
+ +CreateBucketMetadataConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/CreateBucketMetadataConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/CreateBucketMetadataConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/CreateBucketMetadataConfigurationCommandOutput/) +
+
+ +CreateBucketMetadataTableConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/CreateBucketMetadataTableConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/CreateBucketMetadataTableConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/CreateBucketMetadataTableConfigurationCommandOutput/) +
+
+ +CreateMultipartUpload + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/CreateMultipartUploadCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/CreateMultipartUploadCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/CreateMultipartUploadCommandOutput/) +
+
+ +CreateSession + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/CreateSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/CreateSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/CreateSessionCommandOutput/) +
+
+ +DeleteBucket + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeleteBucketCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketCommandOutput/) +
+
+ +DeleteBucketAnalyticsConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeleteBucketAnalyticsConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketAnalyticsConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketAnalyticsConfigurationCommandOutput/) +
+
+ +DeleteBucketCors + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeleteBucketCorsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketCorsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketCorsCommandOutput/) +
+
+ +DeleteBucketEncryption + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeleteBucketEncryptionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketEncryptionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketEncryptionCommandOutput/) +
+
+ +DeleteBucketIntelligentTieringConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeleteBucketIntelligentTieringConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketIntelligentTieringConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketIntelligentTieringConfigurationCommandOutput/) +
+
+ +DeleteBucketInventoryConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeleteBucketInventoryConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketInventoryConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketInventoryConfigurationCommandOutput/) +
+
+ +DeleteBucketLifecycle + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeleteBucketLifecycleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketLifecycleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketLifecycleCommandOutput/) +
+
+ +DeleteBucketMetadataConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeleteBucketMetadataConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketMetadataConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketMetadataConfigurationCommandOutput/) +
+
+ +DeleteBucketMetadataTableConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeleteBucketMetadataTableConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketMetadataTableConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketMetadataTableConfigurationCommandOutput/) +
+
+ +DeleteBucketMetricsConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeleteBucketMetricsConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketMetricsConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketMetricsConfigurationCommandOutput/) +
+
+ +DeleteBucketOwnershipControls + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeleteBucketOwnershipControlsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketOwnershipControlsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketOwnershipControlsCommandOutput/) +
+
+ +DeleteBucketPolicy + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeleteBucketPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketPolicyCommandOutput/) +
+
+ +DeleteBucketReplication + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeleteBucketReplicationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketReplicationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketReplicationCommandOutput/) +
+
+ +DeleteBucketTagging + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeleteBucketTaggingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketTaggingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketTaggingCommandOutput/) +
+
+ +DeleteBucketWebsite + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeleteBucketWebsiteCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketWebsiteCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteBucketWebsiteCommandOutput/) +
+
+ +DeleteObject + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeleteObjectCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteObjectCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteObjectCommandOutput/) +
+
+ +DeleteObjects + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeleteObjectsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteObjectsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteObjectsCommandOutput/) +
+
+ +DeleteObjectTagging + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeleteObjectTaggingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteObjectTaggingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteObjectTaggingCommandOutput/) +
+
+ +DeletePublicAccessBlock + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeletePublicAccessBlockCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeletePublicAccessBlockCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeletePublicAccessBlockCommandOutput/) +
+
+ +GetBucketAbac + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketAbacCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketAbacCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketAbacCommandOutput/) +
+
+ +GetBucketAccelerateConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketAccelerateConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketAccelerateConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketAccelerateConfigurationCommandOutput/) +
+
+ +GetBucketAcl + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketAclCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketAclCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketAclCommandOutput/) +
+
+ +GetBucketAnalyticsConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketAnalyticsConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketAnalyticsConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketAnalyticsConfigurationCommandOutput/) +
+
+ +GetBucketCors + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketCorsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketCorsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketCorsCommandOutput/) +
+
+ +GetBucketEncryption + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketEncryptionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketEncryptionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketEncryptionCommandOutput/) +
+
+ +GetBucketIntelligentTieringConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketIntelligentTieringConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketIntelligentTieringConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketIntelligentTieringConfigurationCommandOutput/) +
+
+ +GetBucketInventoryConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketInventoryConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketInventoryConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketInventoryConfigurationCommandOutput/) +
+
+ +GetBucketLifecycleConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketLifecycleConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketLifecycleConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketLifecycleConfigurationCommandOutput/) +
+
+ +GetBucketLocation + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketLocationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketLocationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketLocationCommandOutput/) +
+
+ +GetBucketLogging + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketLoggingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketLoggingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketLoggingCommandOutput/) +
+
+ +GetBucketMetadataConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketMetadataConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketMetadataConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketMetadataConfigurationCommandOutput/) +
+
+ +GetBucketMetadataTableConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketMetadataTableConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketMetadataTableConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketMetadataTableConfigurationCommandOutput/) +
+
+ +GetBucketMetricsConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketMetricsConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketMetricsConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketMetricsConfigurationCommandOutput/) +
+
+ +GetBucketNotificationConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketNotificationConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketNotificationConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketNotificationConfigurationCommandOutput/) +
+
+ +GetBucketOwnershipControls + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketOwnershipControlsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketOwnershipControlsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketOwnershipControlsCommandOutput/) +
+
+ +GetBucketPolicy + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketPolicyCommandOutput/) +
+
+ +GetBucketPolicyStatus + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketPolicyStatusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketPolicyStatusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketPolicyStatusCommandOutput/) +
+
+ +GetBucketReplication + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketReplicationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketReplicationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketReplicationCommandOutput/) +
+
+ +GetBucketRequestPayment + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketRequestPaymentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketRequestPaymentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketRequestPaymentCommandOutput/) +
+
+ +GetBucketTagging + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketTaggingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketTaggingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketTaggingCommandOutput/) +
+
+ +GetBucketVersioning + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketVersioningCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketVersioningCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketVersioningCommandOutput/) +
+
+ +GetBucketWebsite + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketWebsiteCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketWebsiteCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetBucketWebsiteCommandOutput/) +
+
+ +GetObject + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetObjectCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetObjectCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetObjectCommandOutput/) +
+
+ +GetObjectAcl + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetObjectAclCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetObjectAclCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetObjectAclCommandOutput/) +
+
+ +GetObjectAttributes + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetObjectAttributesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetObjectAttributesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetObjectAttributesCommandOutput/) +
+
+ +GetObjectLegalHold + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetObjectLegalHoldCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetObjectLegalHoldCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetObjectLegalHoldCommandOutput/) +
+
+ +GetObjectLockConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetObjectLockConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetObjectLockConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetObjectLockConfigurationCommandOutput/) +
+
+ +GetObjectRetention + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetObjectRetentionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetObjectRetentionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetObjectRetentionCommandOutput/) +
+
+ +GetObjectTagging + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetObjectTaggingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetObjectTaggingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetObjectTaggingCommandOutput/) +
+
+ +GetObjectTorrent + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetObjectTorrentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetObjectTorrentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetObjectTorrentCommandOutput/) +
+
+ +GetPublicAccessBlock + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetPublicAccessBlockCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetPublicAccessBlockCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetPublicAccessBlockCommandOutput/) +
+
+ +HeadBucket + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/HeadBucketCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/HeadBucketCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/HeadBucketCommandOutput/) +
+
+ +HeadObject + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/HeadObjectCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/HeadObjectCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/HeadObjectCommandOutput/) +
+
+ +ListBucketAnalyticsConfigurations + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/ListBucketAnalyticsConfigurationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListBucketAnalyticsConfigurationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListBucketAnalyticsConfigurationsCommandOutput/) +
+
+ +ListBucketIntelligentTieringConfigurations + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/ListBucketIntelligentTieringConfigurationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListBucketIntelligentTieringConfigurationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListBucketIntelligentTieringConfigurationsCommandOutput/) +
+
+ +ListBucketInventoryConfigurations + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/ListBucketInventoryConfigurationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListBucketInventoryConfigurationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListBucketInventoryConfigurationsCommandOutput/) +
+
+ +ListBucketMetricsConfigurations + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/ListBucketMetricsConfigurationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListBucketMetricsConfigurationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListBucketMetricsConfigurationsCommandOutput/) +
+
+ +ListBuckets + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/ListBucketsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListBucketsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListBucketsCommandOutput/) +
+
+ +ListDirectoryBuckets + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/ListDirectoryBucketsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListDirectoryBucketsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListDirectoryBucketsCommandOutput/) +
+
+ +ListMultipartUploads + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/ListMultipartUploadsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListMultipartUploadsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListMultipartUploadsCommandOutput/) +
+
+ +ListObjects + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/ListObjectsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListObjectsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListObjectsCommandOutput/) +
+
+ +ListObjectsV2 + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/ListObjectsV2Command/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListObjectsV2CommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListObjectsV2CommandOutput/) +
+
+ +ListObjectVersions + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/ListObjectVersionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListObjectVersionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListObjectVersionsCommandOutput/) +
+
+ +ListParts + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/ListPartsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListPartsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListPartsCommandOutput/) +
+
+ +PutBucketAbac + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketAbacCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketAbacCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketAbacCommandOutput/) +
+
+ +PutBucketAccelerateConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketAccelerateConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketAccelerateConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketAccelerateConfigurationCommandOutput/) +
+
+ +PutBucketAcl + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketAclCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketAclCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketAclCommandOutput/) +
+
+ +PutBucketAnalyticsConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketAnalyticsConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketAnalyticsConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketAnalyticsConfigurationCommandOutput/) +
+
+ +PutBucketCors + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketCorsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketCorsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketCorsCommandOutput/) +
+
+ +PutBucketEncryption + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketEncryptionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketEncryptionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketEncryptionCommandOutput/) +
+
+ +PutBucketIntelligentTieringConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketIntelligentTieringConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketIntelligentTieringConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketIntelligentTieringConfigurationCommandOutput/) +
+
+ +PutBucketInventoryConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketInventoryConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketInventoryConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketInventoryConfigurationCommandOutput/) +
+
+ +PutBucketLifecycleConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketLifecycleConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketLifecycleConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketLifecycleConfigurationCommandOutput/) +
+
+ +PutBucketLogging + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketLoggingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketLoggingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketLoggingCommandOutput/) +
+
+ +PutBucketMetricsConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketMetricsConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketMetricsConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketMetricsConfigurationCommandOutput/) +
+
+ +PutBucketNotificationConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketNotificationConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketNotificationConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketNotificationConfigurationCommandOutput/) +
+
+ +PutBucketOwnershipControls + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketOwnershipControlsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketOwnershipControlsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketOwnershipControlsCommandOutput/) +
+
+ +PutBucketPolicy + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketPolicyCommandOutput/) +
+
+ +PutBucketReplication + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketReplicationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketReplicationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketReplicationCommandOutput/) +
+
+ +PutBucketRequestPayment + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketRequestPaymentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketRequestPaymentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketRequestPaymentCommandOutput/) +
+
+ +PutBucketTagging + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketTaggingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketTaggingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketTaggingCommandOutput/) +
+
+ +PutBucketVersioning + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketVersioningCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketVersioningCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketVersioningCommandOutput/) +
+
+ +PutBucketWebsite + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketWebsiteCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketWebsiteCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutBucketWebsiteCommandOutput/) +
+
+ +PutObject + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutObjectCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutObjectCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutObjectCommandOutput/) +
+
+ +PutObjectAcl + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutObjectAclCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutObjectAclCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutObjectAclCommandOutput/) +
+
+ +PutObjectLegalHold + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutObjectLegalHoldCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutObjectLegalHoldCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutObjectLegalHoldCommandOutput/) +
+
+ +PutObjectLockConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutObjectLockConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutObjectLockConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutObjectLockConfigurationCommandOutput/) +
+
+ +PutObjectRetention + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutObjectRetentionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutObjectRetentionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutObjectRetentionCommandOutput/) +
+
+ +PutObjectTagging + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutObjectTaggingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutObjectTaggingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutObjectTaggingCommandOutput/) +
+
+ +PutPublicAccessBlock + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutPublicAccessBlockCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutPublicAccessBlockCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutPublicAccessBlockCommandOutput/) +
+
+ +RenameObject + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/RenameObjectCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/RenameObjectCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/RenameObjectCommandOutput/) +
+
+ +RestoreObject + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/RestoreObjectCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/RestoreObjectCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/RestoreObjectCommandOutput/) +
+
+ +SelectObjectContent + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/SelectObjectContentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/SelectObjectContentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/SelectObjectContentCommandOutput/) +
+
+ +UpdateBucketMetadataInventoryTableConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/UpdateBucketMetadataInventoryTableConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/UpdateBucketMetadataInventoryTableConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/UpdateBucketMetadataInventoryTableConfigurationCommandOutput/) +
+
+ +UpdateBucketMetadataJournalTableConfiguration + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/UpdateBucketMetadataJournalTableConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/UpdateBucketMetadataJournalTableConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/UpdateBucketMetadataJournalTableConfigurationCommandOutput/) +
+
+ +UpdateObjectEncryption + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/UpdateObjectEncryptionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/UpdateObjectEncryptionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/UpdateObjectEncryptionCommandOutput/) +
+
+ +UploadPart + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/UploadPartCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/UploadPartCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/UploadPartCommandOutput/) +
+
+ +UploadPartCopy + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/UploadPartCopyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/UploadPartCopyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/UploadPartCopyCommandOutput/) +
+
+ +WriteGetObjectResponse + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/WriteGetObjectResponseCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/WriteGetObjectResponseCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/WriteGetObjectResponseCommandOutput/) +
diff --git a/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js b/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js new file mode 100644 index 0000000..30b1d25 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js @@ -0,0 +1,126 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.resolveHttpAuthSchemeConfig = exports.defaultS3HttpAuthSchemeProvider = exports.defaultS3HttpAuthSchemeParametersProvider = void 0; +const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); +const signature_v4_multi_region_1 = require("@aws-sdk/signature-v4-multi-region"); +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const util_middleware_1 = require("@smithy/util-middleware"); +const endpointResolver_1 = require("../endpoint/endpointResolver"); +const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => { + if (!input) { + throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`"); + } + const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input); + const instructionsFn = (0, util_middleware_1.getSmithyContext)(context)?.commandInstance?.constructor + ?.getEndpointParameterInstructions; + if (!instructionsFn) { + throw new Error(`getEndpointParameterInstructions() is not defined on '${context.commandName}'`); + } + const endpointParameters = await (0, middleware_endpoint_1.resolveParams)(input, { getEndpointParameterInstructions: instructionsFn }, config); + return Object.assign(defaultParameters, endpointParameters); +}; +const _defaultS3HttpAuthSchemeParametersProvider = async (config, context, input) => { + return { + operation: (0, util_middleware_1.getSmithyContext)(context).operation, + region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => { + throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); + })(), + }; +}; +exports.defaultS3HttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultS3HttpAuthSchemeParametersProvider); +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "s3", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createAwsAuthSigv4aHttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4a", + signingProperties: { + name: "s3", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +const createEndpointRuleSetHttpAuthSchemeProvider = (defaultEndpointResolver, defaultHttpAuthSchemeResolver, createHttpAuthOptionFunctions) => { + const endpointRuleSetHttpAuthSchemeProvider = (authParameters) => { + const endpoint = defaultEndpointResolver(authParameters); + const authSchemes = endpoint.properties?.authSchemes; + if (!authSchemes) { + return defaultHttpAuthSchemeResolver(authParameters); + } + const options = []; + for (const scheme of authSchemes) { + const { name: resolvedName, properties = {}, ...rest } = scheme; + const name = resolvedName.toLowerCase(); + if (resolvedName !== name) { + console.warn(`HttpAuthScheme has been normalized with lowercasing: '${resolvedName}' to '${name}'`); + } + let schemeId; + if (name === "sigv4a") { + schemeId = "aws.auth#sigv4a"; + const sigv4Present = authSchemes.find((s) => { + const name = s.name.toLowerCase(); + return name !== "sigv4a" && name.startsWith("sigv4"); + }); + if (signature_v4_multi_region_1.SignatureV4MultiRegion.sigv4aDependency() === "none" && sigv4Present) { + continue; + } + } + else if (name.startsWith("sigv4")) { + schemeId = "aws.auth#sigv4"; + } + else { + throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${name}'`); + } + const createOption = createHttpAuthOptionFunctions[schemeId]; + if (!createOption) { + throw new Error(`Could not find HttpAuthOption create function for '${schemeId}'`); + } + const option = createOption(authParameters); + option.schemeId = schemeId; + option.signingProperties = { ...(option.signingProperties || {}), ...rest, ...properties }; + options.push(option); + } + return options; + }; + return endpointRuleSetHttpAuthSchemeProvider; +}; +const _defaultS3HttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + options.push(createAwsAuthSigv4aHttpAuthOption(authParameters)); + } + } + return options; +}; +exports.defaultS3HttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSchemeProvider(endpointResolver_1.defaultEndpointResolver, _defaultS3HttpAuthSchemeProvider, { + "aws.auth#sigv4": createAwsAuthSigv4HttpAuthOption, + "aws.auth#sigv4a": createAwsAuthSigv4aHttpAuthOption, +}); +const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config); + const config_1 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4AConfig)(config_0); + return Object.assign(config_1, { + authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []), + }); +}; +exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; diff --git a/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js b/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js new file mode 100644 index 0000000..c5ecbab --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js @@ -0,0 +1,33 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.defaultEndpointResolver = void 0; +const util_endpoints_1 = require("@aws-sdk/util-endpoints"); +const util_endpoints_2 = require("@smithy/util-endpoints"); +const ruleset_1 = require("./ruleset"); +const cache = new util_endpoints_2.EndpointCache({ + size: 50, + params: [ + "Accelerate", + "Bucket", + "DisableAccessPoints", + "DisableMultiRegionAccessPoints", + "DisableS3ExpressSessionAuth", + "Endpoint", + "ForcePathStyle", + "Region", + "UseArnRegion", + "UseDualStack", + "UseFIPS", + "UseGlobalEndpoint", + "UseObjectLambdaEndpoint", + "UseS3ExpressControlEndpoint", + ], +}); +const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +exports.defaultEndpointResolver = defaultEndpointResolver; +util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions; diff --git a/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js b/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js new file mode 100644 index 0000000..110e261 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ruleSet = void 0; +const cs = "required", ct = "type", cu = "rules", cv = "conditions", cw = "fn", cx = "argv", cy = "ref", cz = "assign", cA = "url", cB = "properties", cC = "backend", cD = "authSchemes", cE = "disableDoubleEncoding", cF = "signingName", cG = "signingRegion", cH = "headers", cI = "signingRegionSet"; +const a = 6, b = false, c = true, d = "isSet", e = "booleanEquals", f = "error", g = "aws.partition", h = "stringEquals", i = "getAttr", j = "name", k = "substring", l = "bucketSuffix", m = "parseURL", n = "endpoint", o = "tree", p = "aws.isVirtualHostableS3Bucket", q = "{url#scheme}://{Bucket}.{url#authority}{url#path}", r = "not", s = "accessPointSuffix", t = "{url#scheme}://{url#authority}{url#path}", u = "hardwareType", v = "regionPrefix", w = "bucketAliasSuffix", x = "outpostId", y = "isValidHostLabel", z = "sigv4a", A = "s3-outposts", B = "s3", C = "{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}", D = "https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}", E = "https://{Bucket}.s3.{partitionResult#dnsSuffix}", F = "aws.parseArn", G = "bucketArn", H = "arnType", I = "", J = "s3-object-lambda", K = "accesspoint", L = "accessPointName", M = "{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}", N = "mrapPartition", O = "outpostType", P = "arnPrefix", Q = "{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}", R = "https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", S = "https://s3.{partitionResult#dnsSuffix}", T = { [cs]: false, [ct]: "string" }, U = { [cs]: true, "default": false, [ct]: "boolean" }, V = { [cs]: false, [ct]: "boolean" }, W = { [cw]: e, [cx]: [{ [cy]: "Accelerate" }, true] }, X = { [cw]: e, [cx]: [{ [cy]: "UseFIPS" }, true] }, Y = { [cw]: e, [cx]: [{ [cy]: "UseDualStack" }, true] }, Z = { [cw]: d, [cx]: [{ [cy]: "Endpoint" }] }, aa = { [cw]: g, [cx]: [{ [cy]: "Region" }], [cz]: "partitionResult" }, ab = { [cw]: h, [cx]: [{ [cw]: i, [cx]: [{ [cy]: "partitionResult" }, j] }, "aws-cn"] }, ac = { [cw]: d, [cx]: [{ [cy]: "Bucket" }] }, ad = { [cy]: "Bucket" }, ae = { [cv]: [W], [f]: "S3Express does not support S3 Accelerate.", [ct]: f }, af = { [cv]: [Z, { [cw]: m, [cx]: [{ [cy]: "Endpoint" }], [cz]: "url" }], [cu]: [{ [cv]: [{ [cw]: d, [cx]: [{ [cy]: "DisableS3ExpressSessionAuth" }] }, { [cw]: e, [cx]: [{ [cy]: "DisableS3ExpressSessionAuth" }, true] }], [cu]: [{ [cv]: [{ [cw]: e, [cx]: [{ [cw]: i, [cx]: [{ [cy]: "url" }, "isIp"] }, true] }], [cu]: [{ [cv]: [{ [cw]: "uriEncode", [cx]: [ad], [cz]: "uri_encoded_bucket" }], [cu]: [{ [n]: { [cA]: "{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}", [cB]: { [cC]: "S3Express", [cD]: [{ [cE]: true, [j]: "sigv4", [cF]: "s3express", [cG]: "{Region}" }] }, [cH]: {} }, [ct]: n }], [ct]: o }], [ct]: o }, { [cv]: [{ [cw]: p, [cx]: [ad, false] }], [cu]: [{ [n]: { [cA]: q, [cB]: { [cC]: "S3Express", [cD]: [{ [cE]: true, [j]: "sigv4", [cF]: "s3express", [cG]: "{Region}" }] }, [cH]: {} }, [ct]: n }], [ct]: o }, { [f]: "S3Express bucket name is not a valid virtual hostable name.", [ct]: f }], [ct]: o }, { [cv]: [{ [cw]: e, [cx]: [{ [cw]: i, [cx]: [{ [cy]: "url" }, "isIp"] }, true] }], [cu]: [{ [cv]: [{ [cw]: "uriEncode", [cx]: [ad], [cz]: "uri_encoded_bucket" }], [cu]: [{ [n]: { [cA]: "{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}", [cB]: { [cC]: "S3Express", [cD]: [{ [cE]: true, [j]: "sigv4-s3express", [cF]: "s3express", [cG]: "{Region}" }] }, [cH]: {} }, [ct]: n }], [ct]: o }], [ct]: o }, { [cv]: [{ [cw]: p, [cx]: [ad, false] }], [cu]: [{ [n]: { [cA]: q, [cB]: { [cC]: "S3Express", [cD]: [{ [cE]: true, [j]: "sigv4-s3express", [cF]: "s3express", [cG]: "{Region}" }] }, [cH]: {} }, [ct]: n }], [ct]: o }, { [f]: "S3Express bucket name is not a valid virtual hostable name.", [ct]: f }], [ct]: o }, ag = { [cw]: m, [cx]: [{ [cy]: "Endpoint" }], [cz]: "url" }, ah = { [cw]: e, [cx]: [{ [cw]: i, [cx]: [{ [cy]: "url" }, "isIp"] }, true] }, ai = { [cy]: "url" }, aj = { [cw]: "uriEncode", [cx]: [ad], [cz]: "uri_encoded_bucket" }, ak = { [cC]: "S3Express", [cD]: [{ [cE]: true, [j]: "sigv4", [cF]: "s3express", [cG]: "{Region}" }] }, al = {}, am = { [cw]: p, [cx]: [ad, false] }, an = { [f]: "S3Express bucket name is not a valid virtual hostable name.", [ct]: f }, ao = { [cw]: d, [cx]: [{ [cy]: "UseS3ExpressControlEndpoint" }] }, ap = { [cw]: e, [cx]: [{ [cy]: "UseS3ExpressControlEndpoint" }, true] }, aq = { [cw]: r, [cx]: [Z] }, ar = { [cw]: e, [cx]: [{ [cy]: "UseDualStack" }, false] }, as = { [cw]: e, [cx]: [{ [cy]: "UseFIPS" }, false] }, at = { [f]: "Unrecognized S3Express bucket name format.", [ct]: f }, au = { [cw]: r, [cx]: [ac] }, av = { [cy]: u }, aw = { [cv]: [aq], [f]: "Expected a endpoint to be specified but no endpoint was found", [ct]: f }, ax = { [cD]: [{ [cE]: true, [j]: z, [cF]: A, [cI]: ["*"] }, { [cE]: true, [j]: "sigv4", [cF]: A, [cG]: "{Region}" }] }, ay = { [cw]: e, [cx]: [{ [cy]: "ForcePathStyle" }, false] }, az = { [cy]: "ForcePathStyle" }, aA = { [cw]: e, [cx]: [{ [cy]: "Accelerate" }, false] }, aB = { [cw]: h, [cx]: [{ [cy]: "Region" }, "aws-global"] }, aC = { [cD]: [{ [cE]: true, [j]: "sigv4", [cF]: B, [cG]: "us-east-1" }] }, aD = { [cw]: r, [cx]: [aB] }, aE = { [cw]: e, [cx]: [{ [cy]: "UseGlobalEndpoint" }, true] }, aF = { [cA]: "https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [cB]: { [cD]: [{ [cE]: true, [j]: "sigv4", [cF]: B, [cG]: "{Region}" }] }, [cH]: {} }, aG = { [cD]: [{ [cE]: true, [j]: "sigv4", [cF]: B, [cG]: "{Region}" }] }, aH = { [cw]: e, [cx]: [{ [cy]: "UseGlobalEndpoint" }, false] }, aI = { [cA]: "https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}", [cB]: aG, [cH]: {} }, aJ = { [cA]: "https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}", [cB]: aG, [cH]: {} }, aK = { [cA]: "https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}", [cB]: aG, [cH]: {} }, aL = { [cw]: e, [cx]: [{ [cw]: i, [cx]: [ai, "isIp"] }, false] }, aM = { [cA]: C, [cB]: aG, [cH]: {} }, aN = { [cA]: q, [cB]: aG, [cH]: {} }, aO = { [n]: aN, [ct]: n }, aP = { [cA]: D, [cB]: aG, [cH]: {} }, aQ = { [cA]: "https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}", [cB]: aG, [cH]: {} }, aR = { [f]: "Invalid region: region was not a valid DNS name.", [ct]: f }, aS = { [cy]: G }, aT = { [cy]: H }, aU = { [cw]: i, [cx]: [aS, "service"] }, aV = { [cy]: L }, aW = { [cv]: [Y], [f]: "S3 Object Lambda does not support Dual-stack", [ct]: f }, aX = { [cv]: [W], [f]: "S3 Object Lambda does not support S3 Accelerate", [ct]: f }, aY = { [cv]: [{ [cw]: d, [cx]: [{ [cy]: "DisableAccessPoints" }] }, { [cw]: e, [cx]: [{ [cy]: "DisableAccessPoints" }, true] }], [f]: "Access points are not supported for this operation", [ct]: f }, aZ = { [cv]: [{ [cw]: d, [cx]: [{ [cy]: "UseArnRegion" }] }, { [cw]: e, [cx]: [{ [cy]: "UseArnRegion" }, false] }, { [cw]: r, [cx]: [{ [cw]: h, [cx]: [{ [cw]: i, [cx]: [aS, "region"] }, "{Region}"] }] }], [f]: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [ct]: f }, ba = { [cw]: i, [cx]: [{ [cy]: "bucketPartition" }, j] }, bb = { [cw]: i, [cx]: [aS, "accountId"] }, bc = { [cD]: [{ [cE]: true, [j]: "sigv4", [cF]: J, [cG]: "{bucketArn#region}" }] }, bd = { [f]: "Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`", [ct]: f }, be = { [f]: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [ct]: f }, bf = { [f]: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [ct]: f }, bg = { [f]: "Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`", [ct]: f }, bh = { [f]: "Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.", [ct]: f }, bi = { [f]: "Invalid ARN: Expected a resource of the format `accesspoint:` but no name was provided", [ct]: f }, bj = { [cD]: [{ [cE]: true, [j]: "sigv4", [cF]: B, [cG]: "{bucketArn#region}" }] }, bk = { [cD]: [{ [cE]: true, [j]: z, [cF]: A, [cI]: ["*"] }, { [cE]: true, [j]: "sigv4", [cF]: A, [cG]: "{bucketArn#region}" }] }, bl = { [cw]: F, [cx]: [ad] }, bm = { [cA]: "https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: aG, [cH]: {} }, bn = { [cA]: "https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: aG, [cH]: {} }, bo = { [cA]: "https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: aG, [cH]: {} }, bp = { [cA]: Q, [cB]: aG, [cH]: {} }, bq = { [cA]: "https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: aG, [cH]: {} }, br = { [cy]: "UseObjectLambdaEndpoint" }, bs = { [cD]: [{ [cE]: true, [j]: "sigv4", [cF]: J, [cG]: "{Region}" }] }, bt = { [cA]: "https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [cB]: aG, [cH]: {} }, bu = { [cA]: "https://s3-fips.{Region}.{partitionResult#dnsSuffix}", [cB]: aG, [cH]: {} }, bv = { [cA]: "https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}", [cB]: aG, [cH]: {} }, bw = { [cA]: t, [cB]: aG, [cH]: {} }, bx = { [cA]: "https://s3.{Region}.{partitionResult#dnsSuffix}", [cB]: aG, [cH]: {} }, by = [{ [cy]: "Region" }], bz = [{ [cy]: "Endpoint" }], bA = [ad], bB = [W], bC = [Z, ag], bD = [{ [cw]: d, [cx]: [{ [cy]: "DisableS3ExpressSessionAuth" }] }, { [cw]: e, [cx]: [{ [cy]: "DisableS3ExpressSessionAuth" }, true] }], bE = [aj], bF = [am], bG = [aa], bH = [X, Y], bI = [X, ar], bJ = [as, Y], bK = [as, ar], bL = [{ [cw]: k, [cx]: [ad, 6, 14, true], [cz]: "s3expressAvailabilityZoneId" }, { [cw]: k, [cx]: [ad, 14, 16, true], [cz]: "s3expressAvailabilityZoneDelim" }, { [cw]: h, [cx]: [{ [cy]: "s3expressAvailabilityZoneDelim" }, "--"] }], bM = [{ [cv]: [X, Y], [n]: { [cA]: "https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.dualstack.{Region}.{partitionResult#dnsSuffix}", [cB]: ak, [cH]: {} }, [ct]: n }, { [cv]: bI, [n]: { [cA]: "https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.{partitionResult#dnsSuffix}", [cB]: ak, [cH]: {} }, [ct]: n }, { [cv]: bJ, [n]: { [cA]: "https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.dualstack.{Region}.{partitionResult#dnsSuffix}", [cB]: ak, [cH]: {} }, [ct]: n }, { [cv]: bK, [n]: { [cA]: "https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.{partitionResult#dnsSuffix}", [cB]: ak, [cH]: {} }, [ct]: n }], bN = [{ [cw]: k, [cx]: [ad, 6, 15, true], [cz]: "s3expressAvailabilityZoneId" }, { [cw]: k, [cx]: [ad, 15, 17, true], [cz]: "s3expressAvailabilityZoneDelim" }, { [cw]: h, [cx]: [{ [cy]: "s3expressAvailabilityZoneDelim" }, "--"] }], bO = [{ [cw]: k, [cx]: [ad, 6, 19, true], [cz]: "s3expressAvailabilityZoneId" }, { [cw]: k, [cx]: [ad, 19, 21, true], [cz]: "s3expressAvailabilityZoneDelim" }, { [cw]: h, [cx]: [{ [cy]: "s3expressAvailabilityZoneDelim" }, "--"] }], bP = [{ [cw]: k, [cx]: [ad, 6, 20, true], [cz]: "s3expressAvailabilityZoneId" }, { [cw]: k, [cx]: [ad, 20, 22, true], [cz]: "s3expressAvailabilityZoneDelim" }, { [cw]: h, [cx]: [{ [cy]: "s3expressAvailabilityZoneDelim" }, "--"] }], bQ = [{ [cw]: k, [cx]: [ad, 6, 26, true], [cz]: "s3expressAvailabilityZoneId" }, { [cw]: k, [cx]: [ad, 26, 28, true], [cz]: "s3expressAvailabilityZoneDelim" }, { [cw]: h, [cx]: [{ [cy]: "s3expressAvailabilityZoneDelim" }, "--"] }], bR = [{ [cv]: [X, Y], [n]: { [cA]: "https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.dualstack.{Region}.{partitionResult#dnsSuffix}", [cB]: { [cC]: "S3Express", [cD]: [{ [cE]: true, [j]: "sigv4-s3express", [cF]: "s3express", [cG]: "{Region}" }] }, [cH]: {} }, [ct]: n }, { [cv]: bI, [n]: { [cA]: "https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.{partitionResult#dnsSuffix}", [cB]: { [cC]: "S3Express", [cD]: [{ [cE]: true, [j]: "sigv4-s3express", [cF]: "s3express", [cG]: "{Region}" }] }, [cH]: {} }, [ct]: n }, { [cv]: bJ, [n]: { [cA]: "https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.dualstack.{Region}.{partitionResult#dnsSuffix}", [cB]: { [cC]: "S3Express", [cD]: [{ [cE]: true, [j]: "sigv4-s3express", [cF]: "s3express", [cG]: "{Region}" }] }, [cH]: {} }, [ct]: n }, { [cv]: bK, [n]: { [cA]: "https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.{partitionResult#dnsSuffix}", [cB]: { [cC]: "S3Express", [cD]: [{ [cE]: true, [j]: "sigv4-s3express", [cF]: "s3express", [cG]: "{Region}" }] }, [cH]: {} }, [ct]: n }], bS = [ad, 0, 7, true], bT = [{ [cw]: k, [cx]: [ad, 7, 15, true], [cz]: "s3expressAvailabilityZoneId" }, { [cw]: k, [cx]: [ad, 15, 17, true], [cz]: "s3expressAvailabilityZoneDelim" }, { [cw]: h, [cx]: [{ [cy]: "s3expressAvailabilityZoneDelim" }, "--"] }], bU = [{ [cw]: k, [cx]: [ad, 7, 16, true], [cz]: "s3expressAvailabilityZoneId" }, { [cw]: k, [cx]: [ad, 16, 18, true], [cz]: "s3expressAvailabilityZoneDelim" }, { [cw]: h, [cx]: [{ [cy]: "s3expressAvailabilityZoneDelim" }, "--"] }], bV = [{ [cw]: k, [cx]: [ad, 7, 20, true], [cz]: "s3expressAvailabilityZoneId" }, { [cw]: k, [cx]: [ad, 20, 22, true], [cz]: "s3expressAvailabilityZoneDelim" }, { [cw]: h, [cx]: [{ [cy]: "s3expressAvailabilityZoneDelim" }, "--"] }], bW = [{ [cw]: k, [cx]: [ad, 7, 21, true], [cz]: "s3expressAvailabilityZoneId" }, { [cw]: k, [cx]: [ad, 21, 23, true], [cz]: "s3expressAvailabilityZoneDelim" }, { [cw]: h, [cx]: [{ [cy]: "s3expressAvailabilityZoneDelim" }, "--"] }], bX = [{ [cw]: k, [cx]: [ad, 7, 27, true], [cz]: "s3expressAvailabilityZoneId" }, { [cw]: k, [cx]: [ad, 27, 29, true], [cz]: "s3expressAvailabilityZoneDelim" }, { [cw]: h, [cx]: [{ [cy]: "s3expressAvailabilityZoneDelim" }, "--"] }], bY = [ac], bZ = [{ [cw]: y, [cx]: [{ [cy]: x }, false] }], ca = [{ [cw]: h, [cx]: [{ [cy]: v }, "beta"] }], cb = ["*"], cc = [{ [cw]: y, [cx]: [{ [cy]: "Region" }, false] }], cd = [{ [cw]: h, [cx]: [{ [cy]: "Region" }, "us-east-1"] }], ce = [{ [cw]: h, [cx]: [aT, K] }], cf = [{ [cw]: i, [cx]: [aS, "resourceId[1]"], [cz]: L }, { [cw]: r, [cx]: [{ [cw]: h, [cx]: [aV, I] }] }], cg = [aS, "resourceId[1]"], ch = [Y], ci = [{ [cw]: r, [cx]: [{ [cw]: h, [cx]: [{ [cw]: i, [cx]: [aS, "region"] }, I] }] }], cj = [{ [cw]: r, [cx]: [{ [cw]: d, [cx]: [{ [cw]: i, [cx]: [aS, "resourceId[2]"] }] }] }], ck = [aS, "resourceId[2]"], cl = [{ [cw]: g, [cx]: [{ [cw]: i, [cx]: [aS, "region"] }], [cz]: "bucketPartition" }], cm = [{ [cw]: h, [cx]: [ba, { [cw]: i, [cx]: [{ [cy]: "partitionResult" }, j] }] }], cn = [{ [cw]: y, [cx]: [{ [cw]: i, [cx]: [aS, "region"] }, true] }], co = [{ [cw]: y, [cx]: [bb, false] }], cp = [{ [cw]: y, [cx]: [aV, false] }], cq = [X], cr = [{ [cw]: y, [cx]: [{ [cy]: "Region" }, true] }]; +const _data = { version: "1.0", parameters: { Bucket: T, Region: T, UseFIPS: U, UseDualStack: U, Endpoint: T, ForcePathStyle: U, Accelerate: U, UseGlobalEndpoint: U, UseObjectLambdaEndpoint: V, Key: T, Prefix: T, CopySource: T, DisableAccessPoints: V, DisableMultiRegionAccessPoints: U, UseArnRegion: V, UseS3ExpressControlEndpoint: V, DisableS3ExpressSessionAuth: V }, [cu]: [{ [cv]: [{ [cw]: d, [cx]: by }], [cu]: [{ [cv]: [W, X], error: "Accelerate cannot be used with FIPS", [ct]: f }, { [cv]: [Y, Z], error: "Cannot set dual-stack in combination with a custom endpoint.", [ct]: f }, { [cv]: [Z, X], error: "A custom endpoint cannot be combined with FIPS", [ct]: f }, { [cv]: [Z, W], error: "A custom endpoint cannot be combined with S3 Accelerate", [ct]: f }, { [cv]: [X, aa, ab], error: "Partition does not support FIPS", [ct]: f }, { [cv]: [ac, { [cw]: k, [cx]: [ad, 0, a, c], [cz]: l }, { [cw]: h, [cx]: [{ [cy]: l }, "--x-s3"] }], [cu]: [ae, af, { [cv]: [ao, ap], [cu]: [{ [cv]: bG, [cu]: [{ [cv]: [aj, aq], [cu]: [{ [cv]: bH, endpoint: { [cA]: "https://s3express-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: ak, [cH]: al }, [ct]: n }, { [cv]: bI, endpoint: { [cA]: "https://s3express-control-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: ak, [cH]: al }, [ct]: n }, { [cv]: bJ, endpoint: { [cA]: "https://s3express-control.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: ak, [cH]: al }, [ct]: n }, { [cv]: bK, endpoint: { [cA]: "https://s3express-control.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: ak, [cH]: al }, [ct]: n }], [ct]: o }], [ct]: o }], [ct]: o }, { [cv]: bF, [cu]: [{ [cv]: bG, [cu]: [{ [cv]: bD, [cu]: [{ [cv]: bL, [cu]: bM, [ct]: o }, { [cv]: bN, [cu]: bM, [ct]: o }, { [cv]: bO, [cu]: bM, [ct]: o }, { [cv]: bP, [cu]: bM, [ct]: o }, { [cv]: bQ, [cu]: bM, [ct]: o }, at], [ct]: o }, { [cv]: bL, [cu]: bR, [ct]: o }, { [cv]: bN, [cu]: bR, [ct]: o }, { [cv]: bO, [cu]: bR, [ct]: o }, { [cv]: bP, [cu]: bR, [ct]: o }, { [cv]: bQ, [cu]: bR, [ct]: o }, at], [ct]: o }], [ct]: o }, an], [ct]: o }, { [cv]: [ac, { [cw]: k, [cx]: bS, [cz]: s }, { [cw]: h, [cx]: [{ [cy]: s }, "--xa-s3"] }], [cu]: [ae, af, { [cv]: bF, [cu]: [{ [cv]: bG, [cu]: [{ [cv]: bD, [cu]: [{ [cv]: bT, [cu]: bM, [ct]: o }, { [cv]: bU, [cu]: bM, [ct]: o }, { [cv]: bV, [cu]: bM, [ct]: o }, { [cv]: bW, [cu]: bM, [ct]: o }, { [cv]: bX, [cu]: bM, [ct]: o }, at], [ct]: o }, { [cv]: bT, [cu]: bR, [ct]: o }, { [cv]: bU, [cu]: bR, [ct]: o }, { [cv]: bV, [cu]: bR, [ct]: o }, { [cv]: bW, [cu]: bR, [ct]: o }, { [cv]: bX, [cu]: bR, [ct]: o }, at], [ct]: o }], [ct]: o }, an], [ct]: o }, { [cv]: [au, ao, ap], [cu]: [{ [cv]: bG, [cu]: [{ [cv]: bC, endpoint: { [cA]: t, [cB]: ak, [cH]: al }, [ct]: n }, { [cv]: bH, endpoint: { [cA]: "https://s3express-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [cB]: ak, [cH]: al }, [ct]: n }, { [cv]: bI, endpoint: { [cA]: "https://s3express-control-fips.{Region}.{partitionResult#dnsSuffix}", [cB]: ak, [cH]: al }, [ct]: n }, { [cv]: bJ, endpoint: { [cA]: "https://s3express-control.dualstack.{Region}.{partitionResult#dnsSuffix}", [cB]: ak, [cH]: al }, [ct]: n }, { [cv]: bK, endpoint: { [cA]: "https://s3express-control.{Region}.{partitionResult#dnsSuffix}", [cB]: ak, [cH]: al }, [ct]: n }], [ct]: o }], [ct]: o }, { [cv]: [ac, { [cw]: k, [cx]: [ad, 49, 50, c], [cz]: u }, { [cw]: k, [cx]: [ad, 8, 12, c], [cz]: v }, { [cw]: k, [cx]: bS, [cz]: w }, { [cw]: k, [cx]: [ad, 32, 49, c], [cz]: x }, { [cw]: g, [cx]: by, [cz]: "regionPartition" }, { [cw]: h, [cx]: [{ [cy]: w }, "--op-s3"] }], [cu]: [{ [cv]: bZ, [cu]: [{ [cv]: bF, [cu]: [{ [cv]: [{ [cw]: h, [cx]: [av, "e"] }], [cu]: [{ [cv]: ca, [cu]: [aw, { [cv]: bC, endpoint: { [cA]: "https://{Bucket}.ec2.{url#authority}", [cB]: ax, [cH]: al }, [ct]: n }], [ct]: o }, { endpoint: { [cA]: "https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}", [cB]: ax, [cH]: al }, [ct]: n }], [ct]: o }, { [cv]: [{ [cw]: h, [cx]: [av, "o"] }], [cu]: [{ [cv]: ca, [cu]: [aw, { [cv]: bC, endpoint: { [cA]: "https://{Bucket}.op-{outpostId}.{url#authority}", [cB]: ax, [cH]: al }, [ct]: n }], [ct]: o }, { endpoint: { [cA]: "https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}", [cB]: ax, [cH]: al }, [ct]: n }], [ct]: o }, { error: "Unrecognized hardware type: \"Expected hardware type o or e but got {hardwareType}\"", [ct]: f }], [ct]: o }, { error: "Invalid Outposts Bucket alias - it must be a valid bucket name.", [ct]: f }], [ct]: o }, { error: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.", [ct]: f }], [ct]: o }, { [cv]: bY, [cu]: [{ [cv]: [Z, { [cw]: r, [cx]: [{ [cw]: d, [cx]: [{ [cw]: m, [cx]: bz }] }] }], error: "Custom endpoint `{Endpoint}` was not a valid URI", [ct]: f }, { [cv]: [ay, am], [cu]: [{ [cv]: bG, [cu]: [{ [cv]: cc, [cu]: [{ [cv]: [W, ab], error: "S3 Accelerate cannot be used in this region", [ct]: f }, { [cv]: [Y, X, aA, aq, aB], endpoint: { [cA]: "https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}", [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [Y, X, aA, aq, aD, aE], [cu]: [{ endpoint: aF, [ct]: n }], [ct]: o }, { [cv]: [Y, X, aA, aq, aD, aH], endpoint: aF, [ct]: n }, { [cv]: [ar, X, aA, aq, aB], endpoint: { [cA]: "https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}", [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [ar, X, aA, aq, aD, aE], [cu]: [{ endpoint: aI, [ct]: n }], [ct]: o }, { [cv]: [ar, X, aA, aq, aD, aH], endpoint: aI, [ct]: n }, { [cv]: [Y, as, W, aq, aB], endpoint: { [cA]: "https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}", [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [Y, as, W, aq, aD, aE], [cu]: [{ endpoint: aJ, [ct]: n }], [ct]: o }, { [cv]: [Y, as, W, aq, aD, aH], endpoint: aJ, [ct]: n }, { [cv]: [Y, as, aA, aq, aB], endpoint: { [cA]: "https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}", [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [Y, as, aA, aq, aD, aE], [cu]: [{ endpoint: aK, [ct]: n }], [ct]: o }, { [cv]: [Y, as, aA, aq, aD, aH], endpoint: aK, [ct]: n }, { [cv]: [ar, as, aA, Z, ag, ah, aB], endpoint: { [cA]: C, [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [ar, as, aA, Z, ag, aL, aB], endpoint: { [cA]: q, [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [ar, as, aA, Z, ag, ah, aD, aE], [cu]: [{ [cv]: cd, endpoint: aM, [ct]: n }, { endpoint: aM, [ct]: n }], [ct]: o }, { [cv]: [ar, as, aA, Z, ag, aL, aD, aE], [cu]: [{ [cv]: cd, endpoint: aN, [ct]: n }, aO], [ct]: o }, { [cv]: [ar, as, aA, Z, ag, ah, aD, aH], endpoint: aM, [ct]: n }, { [cv]: [ar, as, aA, Z, ag, aL, aD, aH], endpoint: aN, [ct]: n }, { [cv]: [ar, as, W, aq, aB], endpoint: { [cA]: D, [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [ar, as, W, aq, aD, aE], [cu]: [{ [cv]: cd, endpoint: aP, [ct]: n }, { endpoint: aP, [ct]: n }], [ct]: o }, { [cv]: [ar, as, W, aq, aD, aH], endpoint: aP, [ct]: n }, { [cv]: [ar, as, aA, aq, aB], endpoint: { [cA]: E, [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [ar, as, aA, aq, aD, aE], [cu]: [{ [cv]: cd, endpoint: { [cA]: E, [cB]: aG, [cH]: al }, [ct]: n }, { endpoint: aQ, [ct]: n }], [ct]: o }, { [cv]: [ar, as, aA, aq, aD, aH], endpoint: aQ, [ct]: n }], [ct]: o }, aR], [ct]: o }], [ct]: o }, { [cv]: [Z, ag, { [cw]: h, [cx]: [{ [cw]: i, [cx]: [ai, "scheme"] }, "http"] }, { [cw]: p, [cx]: [ad, c] }, ay, as, ar, aA], [cu]: [{ [cv]: bG, [cu]: [{ [cv]: cc, [cu]: [aO], [ct]: o }, aR], [ct]: o }], [ct]: o }, { [cv]: [ay, { [cw]: F, [cx]: bA, [cz]: G }], [cu]: [{ [cv]: [{ [cw]: i, [cx]: [aS, "resourceId[0]"], [cz]: H }, { [cw]: r, [cx]: [{ [cw]: h, [cx]: [aT, I] }] }], [cu]: [{ [cv]: [{ [cw]: h, [cx]: [aU, J] }], [cu]: [{ [cv]: ce, [cu]: [{ [cv]: cf, [cu]: [aW, aX, { [cv]: ci, [cu]: [aY, { [cv]: cj, [cu]: [aZ, { [cv]: cl, [cu]: [{ [cv]: bG, [cu]: [{ [cv]: cm, [cu]: [{ [cv]: cn, [cu]: [{ [cv]: [{ [cw]: h, [cx]: [bb, I] }], error: "Invalid ARN: Missing account id", [ct]: f }, { [cv]: co, [cu]: [{ [cv]: cp, [cu]: [{ [cv]: bC, endpoint: { [cA]: M, [cB]: bc, [cH]: al }, [ct]: n }, { [cv]: cq, endpoint: { [cA]: "https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}", [cB]: bc, [cH]: al }, [ct]: n }, { endpoint: { [cA]: "https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}", [cB]: bc, [cH]: al }, [ct]: n }], [ct]: o }, bd], [ct]: o }, be], [ct]: o }, bf], [ct]: o }, bg], [ct]: o }], [ct]: o }], [ct]: o }, bh], [ct]: o }, { error: "Invalid ARN: bucket ARN is missing a region", [ct]: f }], [ct]: o }, bi], [ct]: o }, { error: "Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`", [ct]: f }], [ct]: o }, { [cv]: ce, [cu]: [{ [cv]: cf, [cu]: [{ [cv]: ci, [cu]: [{ [cv]: ce, [cu]: [{ [cv]: ci, [cu]: [aY, { [cv]: cj, [cu]: [aZ, { [cv]: cl, [cu]: [{ [cv]: bG, [cu]: [{ [cv]: [{ [cw]: h, [cx]: [ba, "{partitionResult#name}"] }], [cu]: [{ [cv]: cn, [cu]: [{ [cv]: [{ [cw]: h, [cx]: [aU, B] }], [cu]: [{ [cv]: co, [cu]: [{ [cv]: cp, [cu]: [{ [cv]: bB, error: "Access Points do not support S3 Accelerate", [ct]: f }, { [cv]: bH, endpoint: { [cA]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}", [cB]: bj, [cH]: al }, [ct]: n }, { [cv]: bI, endpoint: { [cA]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}", [cB]: bj, [cH]: al }, [ct]: n }, { [cv]: bJ, endpoint: { [cA]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}", [cB]: bj, [cH]: al }, [ct]: n }, { [cv]: [as, ar, Z, ag], endpoint: { [cA]: M, [cB]: bj, [cH]: al }, [ct]: n }, { [cv]: bK, endpoint: { [cA]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}", [cB]: bj, [cH]: al }, [ct]: n }], [ct]: o }, bd], [ct]: o }, be], [ct]: o }, { error: "Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}", [ct]: f }], [ct]: o }, bf], [ct]: o }, bg], [ct]: o }], [ct]: o }], [ct]: o }, bh], [ct]: o }], [ct]: o }], [ct]: o }, { [cv]: [{ [cw]: y, [cx]: [aV, c] }], [cu]: [{ [cv]: ch, error: "S3 MRAP does not support dual-stack", [ct]: f }, { [cv]: cq, error: "S3 MRAP does not support FIPS", [ct]: f }, { [cv]: bB, error: "S3 MRAP does not support S3 Accelerate", [ct]: f }, { [cv]: [{ [cw]: e, [cx]: [{ [cy]: "DisableMultiRegionAccessPoints" }, c] }], error: "Invalid configuration: Multi-Region Access Point ARNs are disabled.", [ct]: f }, { [cv]: [{ [cw]: g, [cx]: by, [cz]: N }], [cu]: [{ [cv]: [{ [cw]: h, [cx]: [{ [cw]: i, [cx]: [{ [cy]: N }, j] }, { [cw]: i, [cx]: [aS, "partition"] }] }], [cu]: [{ endpoint: { [cA]: "https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}", [cB]: { [cD]: [{ [cE]: c, name: z, [cF]: B, [cI]: cb }] }, [cH]: al }, [ct]: n }], [ct]: o }, { error: "Client was configured for partition `{mrapPartition#name}` but bucket referred to partition `{bucketArn#partition}`", [ct]: f }], [ct]: o }], [ct]: o }, { error: "Invalid Access Point Name", [ct]: f }], [ct]: o }, bi], [ct]: o }, { [cv]: [{ [cw]: h, [cx]: [aU, A] }], [cu]: [{ [cv]: ch, error: "S3 Outposts does not support Dual-stack", [ct]: f }, { [cv]: cq, error: "S3 Outposts does not support FIPS", [ct]: f }, { [cv]: bB, error: "S3 Outposts does not support S3 Accelerate", [ct]: f }, { [cv]: [{ [cw]: d, [cx]: [{ [cw]: i, [cx]: [aS, "resourceId[4]"] }] }], error: "Invalid Arn: Outpost Access Point ARN contains sub resources", [ct]: f }, { [cv]: [{ [cw]: i, [cx]: cg, [cz]: x }], [cu]: [{ [cv]: bZ, [cu]: [aZ, { [cv]: cl, [cu]: [{ [cv]: bG, [cu]: [{ [cv]: cm, [cu]: [{ [cv]: cn, [cu]: [{ [cv]: co, [cu]: [{ [cv]: [{ [cw]: i, [cx]: ck, [cz]: O }], [cu]: [{ [cv]: [{ [cw]: i, [cx]: [aS, "resourceId[3]"], [cz]: L }], [cu]: [{ [cv]: [{ [cw]: h, [cx]: [{ [cy]: O }, K] }], [cu]: [{ [cv]: bC, endpoint: { [cA]: "https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}", [cB]: bk, [cH]: al }, [ct]: n }, { endpoint: { [cA]: "https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}", [cB]: bk, [cH]: al }, [ct]: n }], [ct]: o }, { error: "Expected an outpost type `accesspoint`, found {outpostType}", [ct]: f }], [ct]: o }, { error: "Invalid ARN: expected an access point name", [ct]: f }], [ct]: o }, { error: "Invalid ARN: Expected a 4-component resource", [ct]: f }], [ct]: o }, be], [ct]: o }, bf], [ct]: o }, bg], [ct]: o }], [ct]: o }], [ct]: o }, { error: "Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId}`", [ct]: f }], [ct]: o }, { error: "Invalid ARN: The Outpost Id was not set", [ct]: f }], [ct]: o }, { error: "Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})", [ct]: f }], [ct]: o }, { error: "Invalid ARN: No ARN type specified", [ct]: f }], [ct]: o }, { [cv]: [{ [cw]: k, [cx]: [ad, 0, 4, b], [cz]: P }, { [cw]: h, [cx]: [{ [cy]: P }, "arn:"] }, { [cw]: r, [cx]: [{ [cw]: d, [cx]: [bl] }] }], error: "Invalid ARN: `{Bucket}` was not a valid ARN", [ct]: f }, { [cv]: [{ [cw]: e, [cx]: [az, c] }, bl], error: "Path-style addressing cannot be used with ARN buckets", [ct]: f }, { [cv]: bE, [cu]: [{ [cv]: bG, [cu]: [{ [cv]: [aA], [cu]: [{ [cv]: [Y, aq, X, aB], endpoint: { [cA]: "https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [Y, aq, X, aD, aE], [cu]: [{ endpoint: bm, [ct]: n }], [ct]: o }, { [cv]: [Y, aq, X, aD, aH], endpoint: bm, [ct]: n }, { [cv]: [ar, aq, X, aB], endpoint: { [cA]: "https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [ar, aq, X, aD, aE], [cu]: [{ endpoint: bn, [ct]: n }], [ct]: o }, { [cv]: [ar, aq, X, aD, aH], endpoint: bn, [ct]: n }, { [cv]: [Y, aq, as, aB], endpoint: { [cA]: "https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [Y, aq, as, aD, aE], [cu]: [{ endpoint: bo, [ct]: n }], [ct]: o }, { [cv]: [Y, aq, as, aD, aH], endpoint: bo, [ct]: n }, { [cv]: [ar, Z, ag, as, aB], endpoint: { [cA]: Q, [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [ar, Z, ag, as, aD, aE], [cu]: [{ [cv]: cd, endpoint: bp, [ct]: n }, { endpoint: bp, [ct]: n }], [ct]: o }, { [cv]: [ar, Z, ag, as, aD, aH], endpoint: bp, [ct]: n }, { [cv]: [ar, aq, as, aB], endpoint: { [cA]: R, [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [ar, aq, as, aD, aE], [cu]: [{ [cv]: cd, endpoint: { [cA]: R, [cB]: aG, [cH]: al }, [ct]: n }, { endpoint: bq, [ct]: n }], [ct]: o }, { [cv]: [ar, aq, as, aD, aH], endpoint: bq, [ct]: n }], [ct]: o }, { error: "Path-style addressing cannot be used with S3 Accelerate", [ct]: f }], [ct]: o }], [ct]: o }], [ct]: o }, { [cv]: [{ [cw]: d, [cx]: [br] }, { [cw]: e, [cx]: [br, c] }], [cu]: [{ [cv]: bG, [cu]: [{ [cv]: cr, [cu]: [aW, aX, { [cv]: bC, endpoint: { [cA]: t, [cB]: bs, [cH]: al }, [ct]: n }, { [cv]: cq, endpoint: { [cA]: "https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}", [cB]: bs, [cH]: al }, [ct]: n }, { endpoint: { [cA]: "https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}", [cB]: bs, [cH]: al }, [ct]: n }], [ct]: o }, aR], [ct]: o }], [ct]: o }, { [cv]: [au], [cu]: [{ [cv]: bG, [cu]: [{ [cv]: cr, [cu]: [{ [cv]: [X, Y, aq, aB], endpoint: { [cA]: "https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}", [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [X, Y, aq, aD, aE], [cu]: [{ endpoint: bt, [ct]: n }], [ct]: o }, { [cv]: [X, Y, aq, aD, aH], endpoint: bt, [ct]: n }, { [cv]: [X, ar, aq, aB], endpoint: { [cA]: "https://s3-fips.us-east-1.{partitionResult#dnsSuffix}", [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [X, ar, aq, aD, aE], [cu]: [{ endpoint: bu, [ct]: n }], [ct]: o }, { [cv]: [X, ar, aq, aD, aH], endpoint: bu, [ct]: n }, { [cv]: [as, Y, aq, aB], endpoint: { [cA]: "https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}", [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [as, Y, aq, aD, aE], [cu]: [{ endpoint: bv, [ct]: n }], [ct]: o }, { [cv]: [as, Y, aq, aD, aH], endpoint: bv, [ct]: n }, { [cv]: [as, ar, Z, ag, aB], endpoint: { [cA]: t, [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [as, ar, Z, ag, aD, aE], [cu]: [{ [cv]: cd, endpoint: bw, [ct]: n }, { endpoint: bw, [ct]: n }], [ct]: o }, { [cv]: [as, ar, Z, ag, aD, aH], endpoint: bw, [ct]: n }, { [cv]: [as, ar, aq, aB], endpoint: { [cA]: S, [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [as, ar, aq, aD, aE], [cu]: [{ [cv]: cd, endpoint: { [cA]: S, [cB]: aG, [cH]: al }, [ct]: n }, { endpoint: bx, [ct]: n }], [ct]: o }, { [cv]: [as, ar, aq, aD, aH], endpoint: bx, [ct]: n }], [ct]: o }, aR], [ct]: o }], [ct]: o }], [ct]: o }, { error: "A region must be set when sending requests to S3.", [ct]: f }] }; +exports.ruleSet = _data; diff --git a/node_modules/@aws-sdk/client-s3/dist-cjs/index.js b/node_modules/@aws-sdk/client-s3/dist-cjs/index.js new file mode 100644 index 0000000..d6a42c2 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-cjs/index.js @@ -0,0 +1,3058 @@ +'use strict'; + +var middlewareExpectContinue = require('@aws-sdk/middleware-expect-continue'); +var middlewareFlexibleChecksums = require('@aws-sdk/middleware-flexible-checksums'); +var middlewareHostHeader = require('@aws-sdk/middleware-host-header'); +var middlewareLogger = require('@aws-sdk/middleware-logger'); +var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection'); +var middlewareSdkS3 = require('@aws-sdk/middleware-sdk-s3'); +var middlewareUserAgent = require('@aws-sdk/middleware-user-agent'); +var configResolver = require('@smithy/config-resolver'); +var core = require('@smithy/core'); +var schema = require('@smithy/core/schema'); +var eventstreamSerdeConfigResolver = require('@smithy/eventstream-serde-config-resolver'); +var middlewareContentLength = require('@smithy/middleware-content-length'); +var middlewareEndpoint = require('@smithy/middleware-endpoint'); +var middlewareRetry = require('@smithy/middleware-retry'); +var smithyClient = require('@smithy/smithy-client'); +var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider'); +var schemas_0 = require('./schemas/schemas_0'); +var runtimeConfig = require('./runtimeConfig'); +var regionConfigResolver = require('@aws-sdk/region-config-resolver'); +var protocolHttp = require('@smithy/protocol-http'); +var middlewareSsec = require('@aws-sdk/middleware-ssec'); +var middlewareLocationConstraint = require('@aws-sdk/middleware-location-constraint'); +var utilWaiter = require('@smithy/util-waiter'); +var errors = require('./models/errors'); +var S3ServiceException = require('./models/S3ServiceException'); + +const resolveClientEndpointParameters = (options) => { + return Object.assign(options, { + useFipsEndpoint: options.useFipsEndpoint ?? false, + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + forcePathStyle: options.forcePathStyle ?? false, + useAccelerateEndpoint: options.useAccelerateEndpoint ?? false, + useGlobalEndpoint: options.useGlobalEndpoint ?? false, + disableMultiregionAccessPoints: options.disableMultiregionAccessPoints ?? false, + defaultSigningName: "s3", + clientContextParams: options.clientContextParams ?? {}, + }); +}; +const commonParams = { + ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" }, + UseArnRegion: { type: "clientContextParams", name: "useArnRegion" }, + DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" }, + Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" }, + DisableS3ExpressSessionAuth: { type: "clientContextParams", name: "disableS3ExpressSessionAuth" }, + UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, +}; + +class CreateSessionCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + DisableS3ExpressSessionAuth: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "CreateSession", {}) + .n("S3Client", "CreateSessionCommand") + .sc(schemas_0.CreateSession$) + .build() { +} + +const getHttpAuthExtensionConfiguration = (runtimeConfig) => { + const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; + let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; + let _credentials = runtimeConfig.credentials; + return { + setHttpAuthScheme(httpAuthScheme) { + const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); + if (index === -1) { + _httpAuthSchemes.push(httpAuthScheme); + } + else { + _httpAuthSchemes.splice(index, 1, httpAuthScheme); + } + }, + httpAuthSchemes() { + return _httpAuthSchemes; + }, + setHttpAuthSchemeProvider(httpAuthSchemeProvider) { + _httpAuthSchemeProvider = httpAuthSchemeProvider; + }, + httpAuthSchemeProvider() { + return _httpAuthSchemeProvider; + }, + setCredentials(credentials) { + _credentials = credentials; + }, + credentials() { + return _credentials; + }, + }; +}; +const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; +}; + +const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); +}; + +class S3Client extends smithyClient.Client { + config; + constructor(...[configuration]) { + const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = resolveClientEndpointParameters(_config_0); + const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1); + const _config_3 = middlewareFlexibleChecksums.resolveFlexibleChecksumsConfig(_config_2); + const _config_4 = middlewareRetry.resolveRetryConfig(_config_3); + const _config_5 = configResolver.resolveRegionConfig(_config_4); + const _config_6 = middlewareHostHeader.resolveHostHeaderConfig(_config_5); + const _config_7 = middlewareEndpoint.resolveEndpointConfig(_config_6); + const _config_8 = eventstreamSerdeConfigResolver.resolveEventStreamSerdeConfig(_config_7); + const _config_9 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_8); + const _config_10 = middlewareSdkS3.resolveS3Config(_config_9, { session: [() => this, CreateSessionCommand] }); + const _config_11 = resolveRuntimeExtensions(_config_10, configuration?.extensions || []); + this.config = _config_11; + this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); + this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config)); + this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config)); + this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config)); + this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config)); + this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config)); + this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config)); + this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { + httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultS3HttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + "aws.auth#sigv4a": config.credentials, + }), + })); + this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); + this.middlewareStack.use(middlewareSdkS3.getValidateBucketNamePlugin(this.config)); + this.middlewareStack.use(middlewareExpectContinue.getAddExpectContinuePlugin(this.config)); + this.middlewareStack.use(middlewareSdkS3.getRegionRedirectMiddlewarePlugin(this.config)); + this.middlewareStack.use(middlewareSdkS3.getS3ExpressPlugin(this.config)); + this.middlewareStack.use(middlewareSdkS3.getS3ExpressHttpSigningPlugin(this.config)); + } + destroy() { + super.destroy(); + } +} + +class AbortMultipartUploadCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "AbortMultipartUpload", {}) + .n("S3Client", "AbortMultipartUploadCommand") + .sc(schemas_0.AbortMultipartUpload$) + .build() { +} + +class CompleteMultipartUploadCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + middlewareSsec.getSsecPlugin(config), + ]; +}) + .s("AmazonS3", "CompleteMultipartUpload", {}) + .n("S3Client", "CompleteMultipartUploadCommand") + .sc(schemas_0.CompleteMultipartUpload$) + .build() { +} + +class CopyObjectCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + DisableS3ExpressSessionAuth: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, + CopySource: { type: "contextParams", name: "CopySource" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + middlewareSsec.getSsecPlugin(config), + ]; +}) + .s("AmazonS3", "CopyObject", {}) + .n("S3Client", "CopyObjectCommand") + .sc(schemas_0.CopyObject$) + .build() { +} + +class CreateBucketCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + DisableAccessPoints: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + middlewareLocationConstraint.getLocationConstraintPlugin(config), + ]; +}) + .s("AmazonS3", "CreateBucket", {}) + .n("S3Client", "CreateBucketCommand") + .sc(schemas_0.CreateBucket$) + .build() { +} + +class CreateBucketMetadataConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "CreateBucketMetadataConfiguration", {}) + .n("S3Client", "CreateBucketMetadataConfigurationCommand") + .sc(schemas_0.CreateBucketMetadataConfiguration$) + .build() { +} + +class CreateBucketMetadataTableConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "CreateBucketMetadataTableConfiguration", {}) + .n("S3Client", "CreateBucketMetadataTableConfigurationCommand") + .sc(schemas_0.CreateBucketMetadataTableConfiguration$) + .build() { +} + +class CreateMultipartUploadCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + middlewareSsec.getSsecPlugin(config), + ]; +}) + .s("AmazonS3", "CreateMultipartUpload", {}) + .n("S3Client", "CreateMultipartUploadCommand") + .sc(schemas_0.CreateMultipartUpload$) + .build() { +} + +class DeleteBucketAnalyticsConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketAnalyticsConfiguration", {}) + .n("S3Client", "DeleteBucketAnalyticsConfigurationCommand") + .sc(schemas_0.DeleteBucketAnalyticsConfiguration$) + .build() { +} + +class DeleteBucketCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucket", {}) + .n("S3Client", "DeleteBucketCommand") + .sc(schemas_0.DeleteBucket$) + .build() { +} + +class DeleteBucketCorsCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketCors", {}) + .n("S3Client", "DeleteBucketCorsCommand") + .sc(schemas_0.DeleteBucketCors$) + .build() { +} + +class DeleteBucketEncryptionCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketEncryption", {}) + .n("S3Client", "DeleteBucketEncryptionCommand") + .sc(schemas_0.DeleteBucketEncryption$) + .build() { +} + +class DeleteBucketIntelligentTieringConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketIntelligentTieringConfiguration", {}) + .n("S3Client", "DeleteBucketIntelligentTieringConfigurationCommand") + .sc(schemas_0.DeleteBucketIntelligentTieringConfiguration$) + .build() { +} + +class DeleteBucketInventoryConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketInventoryConfiguration", {}) + .n("S3Client", "DeleteBucketInventoryConfigurationCommand") + .sc(schemas_0.DeleteBucketInventoryConfiguration$) + .build() { +} + +class DeleteBucketLifecycleCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketLifecycle", {}) + .n("S3Client", "DeleteBucketLifecycleCommand") + .sc(schemas_0.DeleteBucketLifecycle$) + .build() { +} + +class DeleteBucketMetadataConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketMetadataConfiguration", {}) + .n("S3Client", "DeleteBucketMetadataConfigurationCommand") + .sc(schemas_0.DeleteBucketMetadataConfiguration$) + .build() { +} + +class DeleteBucketMetadataTableConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketMetadataTableConfiguration", {}) + .n("S3Client", "DeleteBucketMetadataTableConfigurationCommand") + .sc(schemas_0.DeleteBucketMetadataTableConfiguration$) + .build() { +} + +class DeleteBucketMetricsConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketMetricsConfiguration", {}) + .n("S3Client", "DeleteBucketMetricsConfigurationCommand") + .sc(schemas_0.DeleteBucketMetricsConfiguration$) + .build() { +} + +class DeleteBucketOwnershipControlsCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketOwnershipControls", {}) + .n("S3Client", "DeleteBucketOwnershipControlsCommand") + .sc(schemas_0.DeleteBucketOwnershipControls$) + .build() { +} + +class DeleteBucketPolicyCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketPolicy", {}) + .n("S3Client", "DeleteBucketPolicyCommand") + .sc(schemas_0.DeleteBucketPolicy$) + .build() { +} + +class DeleteBucketReplicationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketReplication", {}) + .n("S3Client", "DeleteBucketReplicationCommand") + .sc(schemas_0.DeleteBucketReplication$) + .build() { +} + +class DeleteBucketTaggingCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketTagging", {}) + .n("S3Client", "DeleteBucketTaggingCommand") + .sc(schemas_0.DeleteBucketTagging$) + .build() { +} + +class DeleteBucketWebsiteCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketWebsite", {}) + .n("S3Client", "DeleteBucketWebsiteCommand") + .sc(schemas_0.DeleteBucketWebsite$) + .build() { +} + +class DeleteObjectCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "DeleteObject", {}) + .n("S3Client", "DeleteObjectCommand") + .sc(schemas_0.DeleteObject$) + .build() { +} + +class DeleteObjectsCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "DeleteObjects", {}) + .n("S3Client", "DeleteObjectsCommand") + .sc(schemas_0.DeleteObjects$) + .build() { +} + +class DeleteObjectTaggingCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "DeleteObjectTagging", {}) + .n("S3Client", "DeleteObjectTaggingCommand") + .sc(schemas_0.DeleteObjectTagging$) + .build() { +} + +class DeletePublicAccessBlockCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeletePublicAccessBlock", {}) + .n("S3Client", "DeletePublicAccessBlockCommand") + .sc(schemas_0.DeletePublicAccessBlock$) + .build() { +} + +class GetBucketAbacCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketAbac", {}) + .n("S3Client", "GetBucketAbacCommand") + .sc(schemas_0.GetBucketAbac$) + .build() { +} + +class GetBucketAccelerateConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketAccelerateConfiguration", {}) + .n("S3Client", "GetBucketAccelerateConfigurationCommand") + .sc(schemas_0.GetBucketAccelerateConfiguration$) + .build() { +} + +class GetBucketAclCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketAcl", {}) + .n("S3Client", "GetBucketAclCommand") + .sc(schemas_0.GetBucketAcl$) + .build() { +} + +class GetBucketAnalyticsConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketAnalyticsConfiguration", {}) + .n("S3Client", "GetBucketAnalyticsConfigurationCommand") + .sc(schemas_0.GetBucketAnalyticsConfiguration$) + .build() { +} + +class GetBucketCorsCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketCors", {}) + .n("S3Client", "GetBucketCorsCommand") + .sc(schemas_0.GetBucketCors$) + .build() { +} + +class GetBucketEncryptionCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketEncryption", {}) + .n("S3Client", "GetBucketEncryptionCommand") + .sc(schemas_0.GetBucketEncryption$) + .build() { +} + +class GetBucketIntelligentTieringConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketIntelligentTieringConfiguration", {}) + .n("S3Client", "GetBucketIntelligentTieringConfigurationCommand") + .sc(schemas_0.GetBucketIntelligentTieringConfiguration$) + .build() { +} + +class GetBucketInventoryConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketInventoryConfiguration", {}) + .n("S3Client", "GetBucketInventoryConfigurationCommand") + .sc(schemas_0.GetBucketInventoryConfiguration$) + .build() { +} + +class GetBucketLifecycleConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketLifecycleConfiguration", {}) + .n("S3Client", "GetBucketLifecycleConfigurationCommand") + .sc(schemas_0.GetBucketLifecycleConfiguration$) + .build() { +} + +class GetBucketLocationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketLocation", {}) + .n("S3Client", "GetBucketLocationCommand") + .sc(schemas_0.GetBucketLocation$) + .build() { +} + +class GetBucketLoggingCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketLogging", {}) + .n("S3Client", "GetBucketLoggingCommand") + .sc(schemas_0.GetBucketLogging$) + .build() { +} + +class GetBucketMetadataConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketMetadataConfiguration", {}) + .n("S3Client", "GetBucketMetadataConfigurationCommand") + .sc(schemas_0.GetBucketMetadataConfiguration$) + .build() { +} + +class GetBucketMetadataTableConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketMetadataTableConfiguration", {}) + .n("S3Client", "GetBucketMetadataTableConfigurationCommand") + .sc(schemas_0.GetBucketMetadataTableConfiguration$) + .build() { +} + +class GetBucketMetricsConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketMetricsConfiguration", {}) + .n("S3Client", "GetBucketMetricsConfigurationCommand") + .sc(schemas_0.GetBucketMetricsConfiguration$) + .build() { +} + +class GetBucketNotificationConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketNotificationConfiguration", {}) + .n("S3Client", "GetBucketNotificationConfigurationCommand") + .sc(schemas_0.GetBucketNotificationConfiguration$) + .build() { +} + +class GetBucketOwnershipControlsCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketOwnershipControls", {}) + .n("S3Client", "GetBucketOwnershipControlsCommand") + .sc(schemas_0.GetBucketOwnershipControls$) + .build() { +} + +class GetBucketPolicyCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketPolicy", {}) + .n("S3Client", "GetBucketPolicyCommand") + .sc(schemas_0.GetBucketPolicy$) + .build() { +} + +class GetBucketPolicyStatusCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketPolicyStatus", {}) + .n("S3Client", "GetBucketPolicyStatusCommand") + .sc(schemas_0.GetBucketPolicyStatus$) + .build() { +} + +class GetBucketReplicationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketReplication", {}) + .n("S3Client", "GetBucketReplicationCommand") + .sc(schemas_0.GetBucketReplication$) + .build() { +} + +class GetBucketRequestPaymentCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketRequestPayment", {}) + .n("S3Client", "GetBucketRequestPaymentCommand") + .sc(schemas_0.GetBucketRequestPayment$) + .build() { +} + +class GetBucketTaggingCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketTagging", {}) + .n("S3Client", "GetBucketTaggingCommand") + .sc(schemas_0.GetBucketTagging$) + .build() { +} + +class GetBucketVersioningCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketVersioning", {}) + .n("S3Client", "GetBucketVersioningCommand") + .sc(schemas_0.GetBucketVersioning$) + .build() { +} + +class GetBucketWebsiteCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketWebsite", {}) + .n("S3Client", "GetBucketWebsiteCommand") + .sc(schemas_0.GetBucketWebsite$) + .build() { +} + +class GetObjectAclCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetObjectAcl", {}) + .n("S3Client", "GetObjectAclCommand") + .sc(schemas_0.GetObjectAcl$) + .build() { +} + +class GetObjectAttributesCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + middlewareSsec.getSsecPlugin(config), + ]; +}) + .s("AmazonS3", "GetObjectAttributes", {}) + .n("S3Client", "GetObjectAttributesCommand") + .sc(schemas_0.GetObjectAttributes$) + .build() { +} + +class GetObjectCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestChecksumRequired: false, + requestValidationModeMember: 'ChecksumMode', + 'responseAlgorithms': ['CRC64NVME', 'CRC32', 'CRC32C', 'SHA256', 'SHA1'], + }), + middlewareSsec.getSsecPlugin(config), + middlewareSdkS3.getS3ExpiresMiddlewarePlugin(config), + ]; +}) + .s("AmazonS3", "GetObject", {}) + .n("S3Client", "GetObjectCommand") + .sc(schemas_0.GetObject$) + .build() { +} + +class GetObjectLegalHoldCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetObjectLegalHold", {}) + .n("S3Client", "GetObjectLegalHoldCommand") + .sc(schemas_0.GetObjectLegalHold$) + .build() { +} + +class GetObjectLockConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetObjectLockConfiguration", {}) + .n("S3Client", "GetObjectLockConfigurationCommand") + .sc(schemas_0.GetObjectLockConfiguration$) + .build() { +} + +class GetObjectRetentionCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetObjectRetention", {}) + .n("S3Client", "GetObjectRetentionCommand") + .sc(schemas_0.GetObjectRetention$) + .build() { +} + +class GetObjectTaggingCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetObjectTagging", {}) + .n("S3Client", "GetObjectTaggingCommand") + .sc(schemas_0.GetObjectTagging$) + .build() { +} + +class GetObjectTorrentCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "GetObjectTorrent", {}) + .n("S3Client", "GetObjectTorrentCommand") + .sc(schemas_0.GetObjectTorrent$) + .build() { +} + +class GetPublicAccessBlockCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetPublicAccessBlock", {}) + .n("S3Client", "GetPublicAccessBlockCommand") + .sc(schemas_0.GetPublicAccessBlock$) + .build() { +} + +class HeadBucketCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "HeadBucket", {}) + .n("S3Client", "HeadBucketCommand") + .sc(schemas_0.HeadBucket$) + .build() { +} + +class HeadObjectCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + middlewareSsec.getSsecPlugin(config), + middlewareSdkS3.getS3ExpiresMiddlewarePlugin(config), + ]; +}) + .s("AmazonS3", "HeadObject", {}) + .n("S3Client", "HeadObjectCommand") + .sc(schemas_0.HeadObject$) + .build() { +} + +class ListBucketAnalyticsConfigurationsCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "ListBucketAnalyticsConfigurations", {}) + .n("S3Client", "ListBucketAnalyticsConfigurationsCommand") + .sc(schemas_0.ListBucketAnalyticsConfigurations$) + .build() { +} + +class ListBucketIntelligentTieringConfigurationsCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "ListBucketIntelligentTieringConfigurations", {}) + .n("S3Client", "ListBucketIntelligentTieringConfigurationsCommand") + .sc(schemas_0.ListBucketIntelligentTieringConfigurations$) + .build() { +} + +class ListBucketInventoryConfigurationsCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "ListBucketInventoryConfigurations", {}) + .n("S3Client", "ListBucketInventoryConfigurationsCommand") + .sc(schemas_0.ListBucketInventoryConfigurations$) + .build() { +} + +class ListBucketMetricsConfigurationsCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "ListBucketMetricsConfigurations", {}) + .n("S3Client", "ListBucketMetricsConfigurationsCommand") + .sc(schemas_0.ListBucketMetricsConfigurations$) + .build() { +} + +class ListBucketsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "ListBuckets", {}) + .n("S3Client", "ListBucketsCommand") + .sc(schemas_0.ListBuckets$) + .build() { +} + +class ListDirectoryBucketsCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "ListDirectoryBuckets", {}) + .n("S3Client", "ListDirectoryBucketsCommand") + .sc(schemas_0.ListDirectoryBuckets$) + .build() { +} + +class ListMultipartUploadsCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Prefix: { type: "contextParams", name: "Prefix" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "ListMultipartUploads", {}) + .n("S3Client", "ListMultipartUploadsCommand") + .sc(schemas_0.ListMultipartUploads$) + .build() { +} + +class ListObjectsCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Prefix: { type: "contextParams", name: "Prefix" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "ListObjects", {}) + .n("S3Client", "ListObjectsCommand") + .sc(schemas_0.ListObjects$) + .build() { +} + +class ListObjectsV2Command extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Prefix: { type: "contextParams", name: "Prefix" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "ListObjectsV2", {}) + .n("S3Client", "ListObjectsV2Command") + .sc(schemas_0.ListObjectsV2$) + .build() { +} + +class ListObjectVersionsCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Prefix: { type: "contextParams", name: "Prefix" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "ListObjectVersions", {}) + .n("S3Client", "ListObjectVersionsCommand") + .sc(schemas_0.ListObjectVersions$) + .build() { +} + +class ListPartsCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + middlewareSsec.getSsecPlugin(config), + ]; +}) + .s("AmazonS3", "ListParts", {}) + .n("S3Client", "ListPartsCommand") + .sc(schemas_0.ListParts$) + .build() { +} + +class PutBucketAbacCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: false, + }), + ]; +}) + .s("AmazonS3", "PutBucketAbac", {}) + .n("S3Client", "PutBucketAbacCommand") + .sc(schemas_0.PutBucketAbac$) + .build() { +} + +class PutBucketAccelerateConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: false, + }), + ]; +}) + .s("AmazonS3", "PutBucketAccelerateConfiguration", {}) + .n("S3Client", "PutBucketAccelerateConfigurationCommand") + .sc(schemas_0.PutBucketAccelerateConfiguration$) + .build() { +} + +class PutBucketAclCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketAcl", {}) + .n("S3Client", "PutBucketAclCommand") + .sc(schemas_0.PutBucketAcl$) + .build() { +} + +class PutBucketAnalyticsConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "PutBucketAnalyticsConfiguration", {}) + .n("S3Client", "PutBucketAnalyticsConfigurationCommand") + .sc(schemas_0.PutBucketAnalyticsConfiguration$) + .build() { +} + +class PutBucketCorsCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketCors", {}) + .n("S3Client", "PutBucketCorsCommand") + .sc(schemas_0.PutBucketCors$) + .build() { +} + +class PutBucketEncryptionCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketEncryption", {}) + .n("S3Client", "PutBucketEncryptionCommand") + .sc(schemas_0.PutBucketEncryption$) + .build() { +} + +class PutBucketIntelligentTieringConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "PutBucketIntelligentTieringConfiguration", {}) + .n("S3Client", "PutBucketIntelligentTieringConfigurationCommand") + .sc(schemas_0.PutBucketIntelligentTieringConfiguration$) + .build() { +} + +class PutBucketInventoryConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "PutBucketInventoryConfiguration", {}) + .n("S3Client", "PutBucketInventoryConfigurationCommand") + .sc(schemas_0.PutBucketInventoryConfiguration$) + .build() { +} + +class PutBucketLifecycleConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "PutBucketLifecycleConfiguration", {}) + .n("S3Client", "PutBucketLifecycleConfigurationCommand") + .sc(schemas_0.PutBucketLifecycleConfiguration$) + .build() { +} + +class PutBucketLoggingCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketLogging", {}) + .n("S3Client", "PutBucketLoggingCommand") + .sc(schemas_0.PutBucketLogging$) + .build() { +} + +class PutBucketMetricsConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "PutBucketMetricsConfiguration", {}) + .n("S3Client", "PutBucketMetricsConfigurationCommand") + .sc(schemas_0.PutBucketMetricsConfiguration$) + .build() { +} + +class PutBucketNotificationConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "PutBucketNotificationConfiguration", {}) + .n("S3Client", "PutBucketNotificationConfigurationCommand") + .sc(schemas_0.PutBucketNotificationConfiguration$) + .build() { +} + +class PutBucketOwnershipControlsCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketOwnershipControls", {}) + .n("S3Client", "PutBucketOwnershipControlsCommand") + .sc(schemas_0.PutBucketOwnershipControls$) + .build() { +} + +class PutBucketPolicyCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketPolicy", {}) + .n("S3Client", "PutBucketPolicyCommand") + .sc(schemas_0.PutBucketPolicy$) + .build() { +} + +class PutBucketReplicationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketReplication", {}) + .n("S3Client", "PutBucketReplicationCommand") + .sc(schemas_0.PutBucketReplication$) + .build() { +} + +class PutBucketRequestPaymentCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketRequestPayment", {}) + .n("S3Client", "PutBucketRequestPaymentCommand") + .sc(schemas_0.PutBucketRequestPayment$) + .build() { +} + +class PutBucketTaggingCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketTagging", {}) + .n("S3Client", "PutBucketTaggingCommand") + .sc(schemas_0.PutBucketTagging$) + .build() { +} + +class PutBucketVersioningCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketVersioning", {}) + .n("S3Client", "PutBucketVersioningCommand") + .sc(schemas_0.PutBucketVersioning$) + .build() { +} + +class PutBucketWebsiteCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketWebsite", {}) + .n("S3Client", "PutBucketWebsiteCommand") + .sc(schemas_0.PutBucketWebsite$) + .build() { +} + +class PutObjectAclCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "PutObjectAcl", {}) + .n("S3Client", "PutObjectAclCommand") + .sc(schemas_0.PutObjectAcl$) + .build() { +} + +class PutObjectCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: false, + }), + middlewareSdkS3.getCheckContentLengthHeaderPlugin(config), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + middlewareSsec.getSsecPlugin(config), + ]; +}) + .s("AmazonS3", "PutObject", {}) + .n("S3Client", "PutObjectCommand") + .sc(schemas_0.PutObject$) + .build() { +} + +class PutObjectLegalHoldCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "PutObjectLegalHold", {}) + .n("S3Client", "PutObjectLegalHoldCommand") + .sc(schemas_0.PutObjectLegalHold$) + .build() { +} + +class PutObjectLockConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "PutObjectLockConfiguration", {}) + .n("S3Client", "PutObjectLockConfigurationCommand") + .sc(schemas_0.PutObjectLockConfiguration$) + .build() { +} + +class PutObjectRetentionCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "PutObjectRetention", {}) + .n("S3Client", "PutObjectRetentionCommand") + .sc(schemas_0.PutObjectRetention$) + .build() { +} + +class PutObjectTaggingCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "PutObjectTagging", {}) + .n("S3Client", "PutObjectTaggingCommand") + .sc(schemas_0.PutObjectTagging$) + .build() { +} + +class PutPublicAccessBlockCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutPublicAccessBlock", {}) + .n("S3Client", "PutPublicAccessBlockCommand") + .sc(schemas_0.PutPublicAccessBlock$) + .build() { +} + +class RenameObjectCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "RenameObject", {}) + .n("S3Client", "RenameObjectCommand") + .sc(schemas_0.RenameObject$) + .build() { +} + +class RestoreObjectCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: false, + }), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "RestoreObject", {}) + .n("S3Client", "RestoreObjectCommand") + .sc(schemas_0.RestoreObject$) + .build() { +} + +class SelectObjectContentCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + middlewareSsec.getSsecPlugin(config), + ]; +}) + .s("AmazonS3", "SelectObjectContent", { + eventStream: { + output: true, + }, +}) + .n("S3Client", "SelectObjectContentCommand") + .sc(schemas_0.SelectObjectContent$) + .build() { +} + +class UpdateBucketMetadataInventoryTableConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "UpdateBucketMetadataInventoryTableConfiguration", {}) + .n("S3Client", "UpdateBucketMetadataInventoryTableConfigurationCommand") + .sc(schemas_0.UpdateBucketMetadataInventoryTableConfiguration$) + .build() { +} + +class UpdateBucketMetadataJournalTableConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "UpdateBucketMetadataJournalTableConfiguration", {}) + .n("S3Client", "UpdateBucketMetadataJournalTableConfigurationCommand") + .sc(schemas_0.UpdateBucketMetadataJournalTableConfiguration$) + .build() { +} + +class UpdateObjectEncryptionCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "UpdateObjectEncryption", {}) + .n("S3Client", "UpdateObjectEncryptionCommand") + .sc(schemas_0.UpdateObjectEncryption$) + .build() { +} + +class UploadPartCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareFlexibleChecksums.getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: false, + }), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + middlewareSsec.getSsecPlugin(config), + ]; +}) + .s("AmazonS3", "UploadPart", {}) + .n("S3Client", "UploadPartCommand") + .sc(schemas_0.UploadPart$) + .build() { +} + +class UploadPartCopyCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + DisableS3ExpressSessionAuth: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkS3.getThrow200ExceptionsPlugin(config), + middlewareSsec.getSsecPlugin(config), + ]; +}) + .s("AmazonS3", "UploadPartCopy", {}) + .n("S3Client", "UploadPartCopyCommand") + .sc(schemas_0.UploadPartCopy$) + .build() { +} + +class WriteGetObjectResponseCommand extends smithyClient.Command + .classBuilder() + .ep({ + ...commonParams, + UseObjectLambdaEndpoint: { type: "staticContextParams", value: true }, +}) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "WriteGetObjectResponse", {}) + .n("S3Client", "WriteGetObjectResponseCommand") + .sc(schemas_0.WriteGetObjectResponse$) + .build() { +} + +const paginateListBuckets = core.createPaginator(S3Client, ListBucketsCommand, "ContinuationToken", "ContinuationToken", "MaxBuckets"); + +const paginateListDirectoryBuckets = core.createPaginator(S3Client, ListDirectoryBucketsCommand, "ContinuationToken", "ContinuationToken", "MaxDirectoryBuckets"); + +const paginateListObjectsV2 = core.createPaginator(S3Client, ListObjectsV2Command, "ContinuationToken", "NextContinuationToken", "MaxKeys"); + +const paginateListParts = core.createPaginator(S3Client, ListPartsCommand, "PartNumberMarker", "NextPartNumberMarker", "MaxParts"); + +const checkState$3 = async (client, input) => { + let reason; + try { + let result = await client.send(new HeadBucketCommand(input)); + reason = result; + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "NotFound") { + return { state: utilWaiter.WaiterState.RETRY, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForBucketExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3); +}; +const waitUntilBucketExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3); + return utilWaiter.checkExceptions(result); +}; + +const checkState$2 = async (client, input) => { + let reason; + try { + let result = await client.send(new HeadBucketCommand(input)); + reason = result; + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "NotFound") { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForBucketNotExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2); +}; +const waitUntilBucketNotExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2); + return utilWaiter.checkExceptions(result); +}; + +const checkState$1 = async (client, input) => { + let reason; + try { + let result = await client.send(new HeadObjectCommand(input)); + reason = result; + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "NotFound") { + return { state: utilWaiter.WaiterState.RETRY, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForObjectExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1); +}; +const waitUntilObjectExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1); + return utilWaiter.checkExceptions(result); +}; + +const checkState = async (client, input) => { + let reason; + try { + let result = await client.send(new HeadObjectCommand(input)); + reason = result; + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "NotFound") { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForObjectNotExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState); +}; +const waitUntilObjectNotExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState); + return utilWaiter.checkExceptions(result); +}; + +const commands = { + AbortMultipartUploadCommand, + CompleteMultipartUploadCommand, + CopyObjectCommand, + CreateBucketCommand, + CreateBucketMetadataConfigurationCommand, + CreateBucketMetadataTableConfigurationCommand, + CreateMultipartUploadCommand, + CreateSessionCommand, + DeleteBucketCommand, + DeleteBucketAnalyticsConfigurationCommand, + DeleteBucketCorsCommand, + DeleteBucketEncryptionCommand, + DeleteBucketIntelligentTieringConfigurationCommand, + DeleteBucketInventoryConfigurationCommand, + DeleteBucketLifecycleCommand, + DeleteBucketMetadataConfigurationCommand, + DeleteBucketMetadataTableConfigurationCommand, + DeleteBucketMetricsConfigurationCommand, + DeleteBucketOwnershipControlsCommand, + DeleteBucketPolicyCommand, + DeleteBucketReplicationCommand, + DeleteBucketTaggingCommand, + DeleteBucketWebsiteCommand, + DeleteObjectCommand, + DeleteObjectsCommand, + DeleteObjectTaggingCommand, + DeletePublicAccessBlockCommand, + GetBucketAbacCommand, + GetBucketAccelerateConfigurationCommand, + GetBucketAclCommand, + GetBucketAnalyticsConfigurationCommand, + GetBucketCorsCommand, + GetBucketEncryptionCommand, + GetBucketIntelligentTieringConfigurationCommand, + GetBucketInventoryConfigurationCommand, + GetBucketLifecycleConfigurationCommand, + GetBucketLocationCommand, + GetBucketLoggingCommand, + GetBucketMetadataConfigurationCommand, + GetBucketMetadataTableConfigurationCommand, + GetBucketMetricsConfigurationCommand, + GetBucketNotificationConfigurationCommand, + GetBucketOwnershipControlsCommand, + GetBucketPolicyCommand, + GetBucketPolicyStatusCommand, + GetBucketReplicationCommand, + GetBucketRequestPaymentCommand, + GetBucketTaggingCommand, + GetBucketVersioningCommand, + GetBucketWebsiteCommand, + GetObjectCommand, + GetObjectAclCommand, + GetObjectAttributesCommand, + GetObjectLegalHoldCommand, + GetObjectLockConfigurationCommand, + GetObjectRetentionCommand, + GetObjectTaggingCommand, + GetObjectTorrentCommand, + GetPublicAccessBlockCommand, + HeadBucketCommand, + HeadObjectCommand, + ListBucketAnalyticsConfigurationsCommand, + ListBucketIntelligentTieringConfigurationsCommand, + ListBucketInventoryConfigurationsCommand, + ListBucketMetricsConfigurationsCommand, + ListBucketsCommand, + ListDirectoryBucketsCommand, + ListMultipartUploadsCommand, + ListObjectsCommand, + ListObjectsV2Command, + ListObjectVersionsCommand, + ListPartsCommand, + PutBucketAbacCommand, + PutBucketAccelerateConfigurationCommand, + PutBucketAclCommand, + PutBucketAnalyticsConfigurationCommand, + PutBucketCorsCommand, + PutBucketEncryptionCommand, + PutBucketIntelligentTieringConfigurationCommand, + PutBucketInventoryConfigurationCommand, + PutBucketLifecycleConfigurationCommand, + PutBucketLoggingCommand, + PutBucketMetricsConfigurationCommand, + PutBucketNotificationConfigurationCommand, + PutBucketOwnershipControlsCommand, + PutBucketPolicyCommand, + PutBucketReplicationCommand, + PutBucketRequestPaymentCommand, + PutBucketTaggingCommand, + PutBucketVersioningCommand, + PutBucketWebsiteCommand, + PutObjectCommand, + PutObjectAclCommand, + PutObjectLegalHoldCommand, + PutObjectLockConfigurationCommand, + PutObjectRetentionCommand, + PutObjectTaggingCommand, + PutPublicAccessBlockCommand, + RenameObjectCommand, + RestoreObjectCommand, + SelectObjectContentCommand, + UpdateBucketMetadataInventoryTableConfigurationCommand, + UpdateBucketMetadataJournalTableConfigurationCommand, + UpdateObjectEncryptionCommand, + UploadPartCommand, + UploadPartCopyCommand, + WriteGetObjectResponseCommand, +}; +const paginators = { + paginateListBuckets, + paginateListDirectoryBuckets, + paginateListObjectsV2, + paginateListParts, +}; +const waiters = { + waitUntilBucketExists, + waitUntilBucketNotExists, + waitUntilObjectExists, + waitUntilObjectNotExists, +}; +class S3 extends S3Client { +} +smithyClient.createAggregatedClient(commands, S3, { paginators, waiters }); + +const BucketAbacStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +const RequestCharged = { + requester: "requester", +}; +const RequestPayer = { + requester: "requester", +}; +const BucketAccelerateStatus = { + Enabled: "Enabled", + Suspended: "Suspended", +}; +const Type = { + AmazonCustomerByEmail: "AmazonCustomerByEmail", + CanonicalUser: "CanonicalUser", + Group: "Group", +}; +const Permission = { + FULL_CONTROL: "FULL_CONTROL", + READ: "READ", + READ_ACP: "READ_ACP", + WRITE: "WRITE", + WRITE_ACP: "WRITE_ACP", +}; +const OwnerOverride = { + Destination: "Destination", +}; +const ChecksumType = { + COMPOSITE: "COMPOSITE", + FULL_OBJECT: "FULL_OBJECT", +}; +const ServerSideEncryption = { + AES256: "AES256", + aws_fsx: "aws:fsx", + aws_kms: "aws:kms", + aws_kms_dsse: "aws:kms:dsse", +}; +const ObjectCannedACL = { + authenticated_read: "authenticated-read", + aws_exec_read: "aws-exec-read", + bucket_owner_full_control: "bucket-owner-full-control", + bucket_owner_read: "bucket-owner-read", + private: "private", + public_read: "public-read", + public_read_write: "public-read-write", +}; +const ChecksumAlgorithm = { + CRC32: "CRC32", + CRC32C: "CRC32C", + CRC64NVME: "CRC64NVME", + SHA1: "SHA1", + SHA256: "SHA256", +}; +const MetadataDirective = { + COPY: "COPY", + REPLACE: "REPLACE", +}; +const ObjectLockLegalHoldStatus = { + OFF: "OFF", + ON: "ON", +}; +const ObjectLockMode = { + COMPLIANCE: "COMPLIANCE", + GOVERNANCE: "GOVERNANCE", +}; +const StorageClass = { + DEEP_ARCHIVE: "DEEP_ARCHIVE", + EXPRESS_ONEZONE: "EXPRESS_ONEZONE", + FSX_ONTAP: "FSX_ONTAP", + FSX_OPENZFS: "FSX_OPENZFS", + GLACIER: "GLACIER", + GLACIER_IR: "GLACIER_IR", + INTELLIGENT_TIERING: "INTELLIGENT_TIERING", + ONEZONE_IA: "ONEZONE_IA", + OUTPOSTS: "OUTPOSTS", + REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY", + SNOW: "SNOW", + STANDARD: "STANDARD", + STANDARD_IA: "STANDARD_IA", +}; +const TaggingDirective = { + COPY: "COPY", + REPLACE: "REPLACE", +}; +const BucketCannedACL = { + authenticated_read: "authenticated-read", + private: "private", + public_read: "public-read", + public_read_write: "public-read-write", +}; +const BucketNamespace = { + ACCOUNT_REGIONAL: "account-regional", + GLOBAL: "global", +}; +const DataRedundancy = { + SingleAvailabilityZone: "SingleAvailabilityZone", + SingleLocalZone: "SingleLocalZone", +}; +const BucketType = { + Directory: "Directory", +}; +const LocationType = { + AvailabilityZone: "AvailabilityZone", + LocalZone: "LocalZone", +}; +const BucketLocationConstraint = { + EU: "EU", + af_south_1: "af-south-1", + ap_east_1: "ap-east-1", + ap_northeast_1: "ap-northeast-1", + ap_northeast_2: "ap-northeast-2", + ap_northeast_3: "ap-northeast-3", + ap_south_1: "ap-south-1", + ap_south_2: "ap-south-2", + ap_southeast_1: "ap-southeast-1", + ap_southeast_2: "ap-southeast-2", + ap_southeast_3: "ap-southeast-3", + ap_southeast_4: "ap-southeast-4", + ap_southeast_5: "ap-southeast-5", + ca_central_1: "ca-central-1", + cn_north_1: "cn-north-1", + cn_northwest_1: "cn-northwest-1", + eu_central_1: "eu-central-1", + eu_central_2: "eu-central-2", + eu_north_1: "eu-north-1", + eu_south_1: "eu-south-1", + eu_south_2: "eu-south-2", + eu_west_1: "eu-west-1", + eu_west_2: "eu-west-2", + eu_west_3: "eu-west-3", + il_central_1: "il-central-1", + me_central_1: "me-central-1", + me_south_1: "me-south-1", + sa_east_1: "sa-east-1", + us_east_2: "us-east-2", + us_gov_east_1: "us-gov-east-1", + us_gov_west_1: "us-gov-west-1", + us_west_1: "us-west-1", + us_west_2: "us-west-2", +}; +const ObjectOwnership = { + BucketOwnerEnforced: "BucketOwnerEnforced", + BucketOwnerPreferred: "BucketOwnerPreferred", + ObjectWriter: "ObjectWriter", +}; +const InventoryConfigurationState = { + DISABLED: "DISABLED", + ENABLED: "ENABLED", +}; +const TableSseAlgorithm = { + AES256: "AES256", + aws_kms: "aws:kms", +}; +const ExpirationState = { + DISABLED: "DISABLED", + ENABLED: "ENABLED", +}; +const SessionMode = { + ReadOnly: "ReadOnly", + ReadWrite: "ReadWrite", +}; +const AnalyticsS3ExportFileFormat = { + CSV: "CSV", +}; +const StorageClassAnalysisSchemaVersion = { + V_1: "V_1", +}; +const EncryptionType = { + NONE: "NONE", + SSE_C: "SSE-C", +}; +const IntelligentTieringStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +const IntelligentTieringAccessTier = { + ARCHIVE_ACCESS: "ARCHIVE_ACCESS", + DEEP_ARCHIVE_ACCESS: "DEEP_ARCHIVE_ACCESS", +}; +const InventoryFormat = { + CSV: "CSV", + ORC: "ORC", + Parquet: "Parquet", +}; +const InventoryIncludedObjectVersions = { + All: "All", + Current: "Current", +}; +const InventoryOptionalField = { + BucketKeyStatus: "BucketKeyStatus", + ChecksumAlgorithm: "ChecksumAlgorithm", + ETag: "ETag", + EncryptionStatus: "EncryptionStatus", + IntelligentTieringAccessTier: "IntelligentTieringAccessTier", + IsMultipartUploaded: "IsMultipartUploaded", + LastModifiedDate: "LastModifiedDate", + LifecycleExpirationDate: "LifecycleExpirationDate", + ObjectAccessControlList: "ObjectAccessControlList", + ObjectLockLegalHoldStatus: "ObjectLockLegalHoldStatus", + ObjectLockMode: "ObjectLockMode", + ObjectLockRetainUntilDate: "ObjectLockRetainUntilDate", + ObjectOwner: "ObjectOwner", + ReplicationStatus: "ReplicationStatus", + Size: "Size", + StorageClass: "StorageClass", +}; +const InventoryFrequency = { + Daily: "Daily", + Weekly: "Weekly", +}; +const TransitionStorageClass = { + DEEP_ARCHIVE: "DEEP_ARCHIVE", + GLACIER: "GLACIER", + GLACIER_IR: "GLACIER_IR", + INTELLIGENT_TIERING: "INTELLIGENT_TIERING", + ONEZONE_IA: "ONEZONE_IA", + STANDARD_IA: "STANDARD_IA", +}; +const ExpirationStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +const TransitionDefaultMinimumObjectSize = { + all_storage_classes_128K: "all_storage_classes_128K", + varies_by_storage_class: "varies_by_storage_class", +}; +const BucketLogsPermission = { + FULL_CONTROL: "FULL_CONTROL", + READ: "READ", + WRITE: "WRITE", +}; +const PartitionDateSource = { + DeliveryTime: "DeliveryTime", + EventTime: "EventTime", +}; +const S3TablesBucketType = { + aws: "aws", + customer: "customer", +}; +const Event = { + s3_IntelligentTiering: "s3:IntelligentTiering", + s3_LifecycleExpiration_: "s3:LifecycleExpiration:*", + s3_LifecycleExpiration_Delete: "s3:LifecycleExpiration:Delete", + s3_LifecycleExpiration_DeleteMarkerCreated: "s3:LifecycleExpiration:DeleteMarkerCreated", + s3_LifecycleTransition: "s3:LifecycleTransition", + s3_ObjectAcl_Put: "s3:ObjectAcl:Put", + s3_ObjectCreated_: "s3:ObjectCreated:*", + s3_ObjectCreated_CompleteMultipartUpload: "s3:ObjectCreated:CompleteMultipartUpload", + s3_ObjectCreated_Copy: "s3:ObjectCreated:Copy", + s3_ObjectCreated_Post: "s3:ObjectCreated:Post", + s3_ObjectCreated_Put: "s3:ObjectCreated:Put", + s3_ObjectRemoved_: "s3:ObjectRemoved:*", + s3_ObjectRemoved_Delete: "s3:ObjectRemoved:Delete", + s3_ObjectRemoved_DeleteMarkerCreated: "s3:ObjectRemoved:DeleteMarkerCreated", + s3_ObjectRestore_: "s3:ObjectRestore:*", + s3_ObjectRestore_Completed: "s3:ObjectRestore:Completed", + s3_ObjectRestore_Delete: "s3:ObjectRestore:Delete", + s3_ObjectRestore_Post: "s3:ObjectRestore:Post", + s3_ObjectTagging_: "s3:ObjectTagging:*", + s3_ObjectTagging_Delete: "s3:ObjectTagging:Delete", + s3_ObjectTagging_Put: "s3:ObjectTagging:Put", + s3_ReducedRedundancyLostObject: "s3:ReducedRedundancyLostObject", + s3_Replication_: "s3:Replication:*", + s3_Replication_OperationFailedReplication: "s3:Replication:OperationFailedReplication", + s3_Replication_OperationMissedThreshold: "s3:Replication:OperationMissedThreshold", + s3_Replication_OperationNotTracked: "s3:Replication:OperationNotTracked", + s3_Replication_OperationReplicatedAfterThreshold: "s3:Replication:OperationReplicatedAfterThreshold", +}; +const FilterRuleName = { + prefix: "prefix", + suffix: "suffix", +}; +const DeleteMarkerReplicationStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +const MetricsStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +const ReplicationTimeStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +const ExistingObjectReplicationStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +const ReplicaModificationsStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +const SseKmsEncryptedObjectsStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +const ReplicationRuleStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +const Payer = { + BucketOwner: "BucketOwner", + Requester: "Requester", +}; +const MFADeleteStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +const BucketVersioningStatus = { + Enabled: "Enabled", + Suspended: "Suspended", +}; +const Protocol = { + http: "http", + https: "https", +}; +const ReplicationStatus = { + COMPLETE: "COMPLETE", + COMPLETED: "COMPLETED", + FAILED: "FAILED", + PENDING: "PENDING", + REPLICA: "REPLICA", +}; +const ChecksumMode = { + ENABLED: "ENABLED", +}; +const ObjectAttributes = { + CHECKSUM: "Checksum", + ETAG: "ETag", + OBJECT_PARTS: "ObjectParts", + OBJECT_SIZE: "ObjectSize", + STORAGE_CLASS: "StorageClass", +}; +const ObjectLockEnabled = { + Enabled: "Enabled", +}; +const ObjectLockRetentionMode = { + COMPLIANCE: "COMPLIANCE", + GOVERNANCE: "GOVERNANCE", +}; +const ArchiveStatus = { + ARCHIVE_ACCESS: "ARCHIVE_ACCESS", + DEEP_ARCHIVE_ACCESS: "DEEP_ARCHIVE_ACCESS", +}; +const EncodingType = { + url: "url", +}; +const ObjectStorageClass = { + DEEP_ARCHIVE: "DEEP_ARCHIVE", + EXPRESS_ONEZONE: "EXPRESS_ONEZONE", + FSX_ONTAP: "FSX_ONTAP", + FSX_OPENZFS: "FSX_OPENZFS", + GLACIER: "GLACIER", + GLACIER_IR: "GLACIER_IR", + INTELLIGENT_TIERING: "INTELLIGENT_TIERING", + ONEZONE_IA: "ONEZONE_IA", + OUTPOSTS: "OUTPOSTS", + REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY", + SNOW: "SNOW", + STANDARD: "STANDARD", + STANDARD_IA: "STANDARD_IA", +}; +const OptionalObjectAttributes = { + RESTORE_STATUS: "RestoreStatus", +}; +const ObjectVersionStorageClass = { + STANDARD: "STANDARD", +}; +const MFADelete = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +const Tier = { + Bulk: "Bulk", + Expedited: "Expedited", + Standard: "Standard", +}; +const ExpressionType = { + SQL: "SQL", +}; +const CompressionType = { + BZIP2: "BZIP2", + GZIP: "GZIP", + NONE: "NONE", +}; +const FileHeaderInfo = { + IGNORE: "IGNORE", + NONE: "NONE", + USE: "USE", +}; +const JSONType = { + DOCUMENT: "DOCUMENT", + LINES: "LINES", +}; +const QuoteFields = { + ALWAYS: "ALWAYS", + ASNEEDED: "ASNEEDED", +}; +const RestoreRequestType = { + SELECT: "SELECT", +}; + +exports.$Command = smithyClient.Command; +exports.__Client = smithyClient.Client; +exports.S3ServiceException = S3ServiceException.S3ServiceException; +exports.AbortMultipartUploadCommand = AbortMultipartUploadCommand; +exports.AnalyticsS3ExportFileFormat = AnalyticsS3ExportFileFormat; +exports.ArchiveStatus = ArchiveStatus; +exports.BucketAbacStatus = BucketAbacStatus; +exports.BucketAccelerateStatus = BucketAccelerateStatus; +exports.BucketCannedACL = BucketCannedACL; +exports.BucketLocationConstraint = BucketLocationConstraint; +exports.BucketLogsPermission = BucketLogsPermission; +exports.BucketNamespace = BucketNamespace; +exports.BucketType = BucketType; +exports.BucketVersioningStatus = BucketVersioningStatus; +exports.ChecksumAlgorithm = ChecksumAlgorithm; +exports.ChecksumMode = ChecksumMode; +exports.ChecksumType = ChecksumType; +exports.CompleteMultipartUploadCommand = CompleteMultipartUploadCommand; +exports.CompressionType = CompressionType; +exports.CopyObjectCommand = CopyObjectCommand; +exports.CreateBucketCommand = CreateBucketCommand; +exports.CreateBucketMetadataConfigurationCommand = CreateBucketMetadataConfigurationCommand; +exports.CreateBucketMetadataTableConfigurationCommand = CreateBucketMetadataTableConfigurationCommand; +exports.CreateMultipartUploadCommand = CreateMultipartUploadCommand; +exports.CreateSessionCommand = CreateSessionCommand; +exports.DataRedundancy = DataRedundancy; +exports.DeleteBucketAnalyticsConfigurationCommand = DeleteBucketAnalyticsConfigurationCommand; +exports.DeleteBucketCommand = DeleteBucketCommand; +exports.DeleteBucketCorsCommand = DeleteBucketCorsCommand; +exports.DeleteBucketEncryptionCommand = DeleteBucketEncryptionCommand; +exports.DeleteBucketIntelligentTieringConfigurationCommand = DeleteBucketIntelligentTieringConfigurationCommand; +exports.DeleteBucketInventoryConfigurationCommand = DeleteBucketInventoryConfigurationCommand; +exports.DeleteBucketLifecycleCommand = DeleteBucketLifecycleCommand; +exports.DeleteBucketMetadataConfigurationCommand = DeleteBucketMetadataConfigurationCommand; +exports.DeleteBucketMetadataTableConfigurationCommand = DeleteBucketMetadataTableConfigurationCommand; +exports.DeleteBucketMetricsConfigurationCommand = DeleteBucketMetricsConfigurationCommand; +exports.DeleteBucketOwnershipControlsCommand = DeleteBucketOwnershipControlsCommand; +exports.DeleteBucketPolicyCommand = DeleteBucketPolicyCommand; +exports.DeleteBucketReplicationCommand = DeleteBucketReplicationCommand; +exports.DeleteBucketTaggingCommand = DeleteBucketTaggingCommand; +exports.DeleteBucketWebsiteCommand = DeleteBucketWebsiteCommand; +exports.DeleteMarkerReplicationStatus = DeleteMarkerReplicationStatus; +exports.DeleteObjectCommand = DeleteObjectCommand; +exports.DeleteObjectTaggingCommand = DeleteObjectTaggingCommand; +exports.DeleteObjectsCommand = DeleteObjectsCommand; +exports.DeletePublicAccessBlockCommand = DeletePublicAccessBlockCommand; +exports.EncodingType = EncodingType; +exports.EncryptionType = EncryptionType; +exports.Event = Event; +exports.ExistingObjectReplicationStatus = ExistingObjectReplicationStatus; +exports.ExpirationState = ExpirationState; +exports.ExpirationStatus = ExpirationStatus; +exports.ExpressionType = ExpressionType; +exports.FileHeaderInfo = FileHeaderInfo; +exports.FilterRuleName = FilterRuleName; +exports.GetBucketAbacCommand = GetBucketAbacCommand; +exports.GetBucketAccelerateConfigurationCommand = GetBucketAccelerateConfigurationCommand; +exports.GetBucketAclCommand = GetBucketAclCommand; +exports.GetBucketAnalyticsConfigurationCommand = GetBucketAnalyticsConfigurationCommand; +exports.GetBucketCorsCommand = GetBucketCorsCommand; +exports.GetBucketEncryptionCommand = GetBucketEncryptionCommand; +exports.GetBucketIntelligentTieringConfigurationCommand = GetBucketIntelligentTieringConfigurationCommand; +exports.GetBucketInventoryConfigurationCommand = GetBucketInventoryConfigurationCommand; +exports.GetBucketLifecycleConfigurationCommand = GetBucketLifecycleConfigurationCommand; +exports.GetBucketLocationCommand = GetBucketLocationCommand; +exports.GetBucketLoggingCommand = GetBucketLoggingCommand; +exports.GetBucketMetadataConfigurationCommand = GetBucketMetadataConfigurationCommand; +exports.GetBucketMetadataTableConfigurationCommand = GetBucketMetadataTableConfigurationCommand; +exports.GetBucketMetricsConfigurationCommand = GetBucketMetricsConfigurationCommand; +exports.GetBucketNotificationConfigurationCommand = GetBucketNotificationConfigurationCommand; +exports.GetBucketOwnershipControlsCommand = GetBucketOwnershipControlsCommand; +exports.GetBucketPolicyCommand = GetBucketPolicyCommand; +exports.GetBucketPolicyStatusCommand = GetBucketPolicyStatusCommand; +exports.GetBucketReplicationCommand = GetBucketReplicationCommand; +exports.GetBucketRequestPaymentCommand = GetBucketRequestPaymentCommand; +exports.GetBucketTaggingCommand = GetBucketTaggingCommand; +exports.GetBucketVersioningCommand = GetBucketVersioningCommand; +exports.GetBucketWebsiteCommand = GetBucketWebsiteCommand; +exports.GetObjectAclCommand = GetObjectAclCommand; +exports.GetObjectAttributesCommand = GetObjectAttributesCommand; +exports.GetObjectCommand = GetObjectCommand; +exports.GetObjectLegalHoldCommand = GetObjectLegalHoldCommand; +exports.GetObjectLockConfigurationCommand = GetObjectLockConfigurationCommand; +exports.GetObjectRetentionCommand = GetObjectRetentionCommand; +exports.GetObjectTaggingCommand = GetObjectTaggingCommand; +exports.GetObjectTorrentCommand = GetObjectTorrentCommand; +exports.GetPublicAccessBlockCommand = GetPublicAccessBlockCommand; +exports.HeadBucketCommand = HeadBucketCommand; +exports.HeadObjectCommand = HeadObjectCommand; +exports.IntelligentTieringAccessTier = IntelligentTieringAccessTier; +exports.IntelligentTieringStatus = IntelligentTieringStatus; +exports.InventoryConfigurationState = InventoryConfigurationState; +exports.InventoryFormat = InventoryFormat; +exports.InventoryFrequency = InventoryFrequency; +exports.InventoryIncludedObjectVersions = InventoryIncludedObjectVersions; +exports.InventoryOptionalField = InventoryOptionalField; +exports.JSONType = JSONType; +exports.ListBucketAnalyticsConfigurationsCommand = ListBucketAnalyticsConfigurationsCommand; +exports.ListBucketIntelligentTieringConfigurationsCommand = ListBucketIntelligentTieringConfigurationsCommand; +exports.ListBucketInventoryConfigurationsCommand = ListBucketInventoryConfigurationsCommand; +exports.ListBucketMetricsConfigurationsCommand = ListBucketMetricsConfigurationsCommand; +exports.ListBucketsCommand = ListBucketsCommand; +exports.ListDirectoryBucketsCommand = ListDirectoryBucketsCommand; +exports.ListMultipartUploadsCommand = ListMultipartUploadsCommand; +exports.ListObjectVersionsCommand = ListObjectVersionsCommand; +exports.ListObjectsCommand = ListObjectsCommand; +exports.ListObjectsV2Command = ListObjectsV2Command; +exports.ListPartsCommand = ListPartsCommand; +exports.LocationType = LocationType; +exports.MFADelete = MFADelete; +exports.MFADeleteStatus = MFADeleteStatus; +exports.MetadataDirective = MetadataDirective; +exports.MetricsStatus = MetricsStatus; +exports.ObjectAttributes = ObjectAttributes; +exports.ObjectCannedACL = ObjectCannedACL; +exports.ObjectLockEnabled = ObjectLockEnabled; +exports.ObjectLockLegalHoldStatus = ObjectLockLegalHoldStatus; +exports.ObjectLockMode = ObjectLockMode; +exports.ObjectLockRetentionMode = ObjectLockRetentionMode; +exports.ObjectOwnership = ObjectOwnership; +exports.ObjectStorageClass = ObjectStorageClass; +exports.ObjectVersionStorageClass = ObjectVersionStorageClass; +exports.OptionalObjectAttributes = OptionalObjectAttributes; +exports.OwnerOverride = OwnerOverride; +exports.PartitionDateSource = PartitionDateSource; +exports.Payer = Payer; +exports.Permission = Permission; +exports.Protocol = Protocol; +exports.PutBucketAbacCommand = PutBucketAbacCommand; +exports.PutBucketAccelerateConfigurationCommand = PutBucketAccelerateConfigurationCommand; +exports.PutBucketAclCommand = PutBucketAclCommand; +exports.PutBucketAnalyticsConfigurationCommand = PutBucketAnalyticsConfigurationCommand; +exports.PutBucketCorsCommand = PutBucketCorsCommand; +exports.PutBucketEncryptionCommand = PutBucketEncryptionCommand; +exports.PutBucketIntelligentTieringConfigurationCommand = PutBucketIntelligentTieringConfigurationCommand; +exports.PutBucketInventoryConfigurationCommand = PutBucketInventoryConfigurationCommand; +exports.PutBucketLifecycleConfigurationCommand = PutBucketLifecycleConfigurationCommand; +exports.PutBucketLoggingCommand = PutBucketLoggingCommand; +exports.PutBucketMetricsConfigurationCommand = PutBucketMetricsConfigurationCommand; +exports.PutBucketNotificationConfigurationCommand = PutBucketNotificationConfigurationCommand; +exports.PutBucketOwnershipControlsCommand = PutBucketOwnershipControlsCommand; +exports.PutBucketPolicyCommand = PutBucketPolicyCommand; +exports.PutBucketReplicationCommand = PutBucketReplicationCommand; +exports.PutBucketRequestPaymentCommand = PutBucketRequestPaymentCommand; +exports.PutBucketTaggingCommand = PutBucketTaggingCommand; +exports.PutBucketVersioningCommand = PutBucketVersioningCommand; +exports.PutBucketWebsiteCommand = PutBucketWebsiteCommand; +exports.PutObjectAclCommand = PutObjectAclCommand; +exports.PutObjectCommand = PutObjectCommand; +exports.PutObjectLegalHoldCommand = PutObjectLegalHoldCommand; +exports.PutObjectLockConfigurationCommand = PutObjectLockConfigurationCommand; +exports.PutObjectRetentionCommand = PutObjectRetentionCommand; +exports.PutObjectTaggingCommand = PutObjectTaggingCommand; +exports.PutPublicAccessBlockCommand = PutPublicAccessBlockCommand; +exports.QuoteFields = QuoteFields; +exports.RenameObjectCommand = RenameObjectCommand; +exports.ReplicaModificationsStatus = ReplicaModificationsStatus; +exports.ReplicationRuleStatus = ReplicationRuleStatus; +exports.ReplicationStatus = ReplicationStatus; +exports.ReplicationTimeStatus = ReplicationTimeStatus; +exports.RequestCharged = RequestCharged; +exports.RequestPayer = RequestPayer; +exports.RestoreObjectCommand = RestoreObjectCommand; +exports.RestoreRequestType = RestoreRequestType; +exports.S3 = S3; +exports.S3Client = S3Client; +exports.S3TablesBucketType = S3TablesBucketType; +exports.SelectObjectContentCommand = SelectObjectContentCommand; +exports.ServerSideEncryption = ServerSideEncryption; +exports.SessionMode = SessionMode; +exports.SseKmsEncryptedObjectsStatus = SseKmsEncryptedObjectsStatus; +exports.StorageClass = StorageClass; +exports.StorageClassAnalysisSchemaVersion = StorageClassAnalysisSchemaVersion; +exports.TableSseAlgorithm = TableSseAlgorithm; +exports.TaggingDirective = TaggingDirective; +exports.Tier = Tier; +exports.TransitionDefaultMinimumObjectSize = TransitionDefaultMinimumObjectSize; +exports.TransitionStorageClass = TransitionStorageClass; +exports.Type = Type; +exports.UpdateBucketMetadataInventoryTableConfigurationCommand = UpdateBucketMetadataInventoryTableConfigurationCommand; +exports.UpdateBucketMetadataJournalTableConfigurationCommand = UpdateBucketMetadataJournalTableConfigurationCommand; +exports.UpdateObjectEncryptionCommand = UpdateObjectEncryptionCommand; +exports.UploadPartCommand = UploadPartCommand; +exports.UploadPartCopyCommand = UploadPartCopyCommand; +exports.WriteGetObjectResponseCommand = WriteGetObjectResponseCommand; +exports.paginateListBuckets = paginateListBuckets; +exports.paginateListDirectoryBuckets = paginateListDirectoryBuckets; +exports.paginateListObjectsV2 = paginateListObjectsV2; +exports.paginateListParts = paginateListParts; +exports.waitForBucketExists = waitForBucketExists; +exports.waitForBucketNotExists = waitForBucketNotExists; +exports.waitForObjectExists = waitForObjectExists; +exports.waitForObjectNotExists = waitForObjectNotExists; +exports.waitUntilBucketExists = waitUntilBucketExists; +exports.waitUntilBucketNotExists = waitUntilBucketNotExists; +exports.waitUntilObjectExists = waitUntilObjectExists; +exports.waitUntilObjectNotExists = waitUntilObjectNotExists; +Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: schemas_0['__proto__'] + }); + +Object.keys(schemas_0).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k]; +}); +Object.prototype.hasOwnProperty.call(errors, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: errors['__proto__'] + }); + +Object.keys(errors).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k]; +}); diff --git a/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js b/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js new file mode 100644 index 0000000..1d6aa67 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.S3ServiceException = exports.__ServiceException = void 0; +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } }); +class S3ServiceException extends smithy_client_1.ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, S3ServiceException.prototype); + } +} +exports.S3ServiceException = S3ServiceException; diff --git a/node_modules/@aws-sdk/client-s3/dist-cjs/models/errors.js b/node_modules/@aws-sdk/client-s3/dist-cjs/models/errors.js new file mode 100644 index 0000000..a70e596 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-cjs/models/errors.js @@ -0,0 +1,203 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ObjectAlreadyInActiveTierError = exports.IdempotencyParameterMismatch = exports.TooManyParts = exports.InvalidWriteOffset = exports.InvalidRequest = exports.EncryptionTypeMismatch = exports.NotFound = exports.NoSuchKey = exports.InvalidObjectState = exports.NoSuchBucket = exports.BucketAlreadyOwnedByYou = exports.BucketAlreadyExists = exports.ObjectNotInActiveTierError = exports.AccessDenied = exports.NoSuchUpload = void 0; +const S3ServiceException_1 = require("./S3ServiceException"); +class NoSuchUpload extends S3ServiceException_1.S3ServiceException { + name = "NoSuchUpload"; + $fault = "client"; + constructor(opts) { + super({ + name: "NoSuchUpload", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, NoSuchUpload.prototype); + } +} +exports.NoSuchUpload = NoSuchUpload; +class AccessDenied extends S3ServiceException_1.S3ServiceException { + name = "AccessDenied"; + $fault = "client"; + constructor(opts) { + super({ + name: "AccessDenied", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, AccessDenied.prototype); + } +} +exports.AccessDenied = AccessDenied; +class ObjectNotInActiveTierError extends S3ServiceException_1.S3ServiceException { + name = "ObjectNotInActiveTierError"; + $fault = "client"; + constructor(opts) { + super({ + name: "ObjectNotInActiveTierError", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ObjectNotInActiveTierError.prototype); + } +} +exports.ObjectNotInActiveTierError = ObjectNotInActiveTierError; +class BucketAlreadyExists extends S3ServiceException_1.S3ServiceException { + name = "BucketAlreadyExists"; + $fault = "client"; + constructor(opts) { + super({ + name: "BucketAlreadyExists", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, BucketAlreadyExists.prototype); + } +} +exports.BucketAlreadyExists = BucketAlreadyExists; +class BucketAlreadyOwnedByYou extends S3ServiceException_1.S3ServiceException { + name = "BucketAlreadyOwnedByYou"; + $fault = "client"; + constructor(opts) { + super({ + name: "BucketAlreadyOwnedByYou", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, BucketAlreadyOwnedByYou.prototype); + } +} +exports.BucketAlreadyOwnedByYou = BucketAlreadyOwnedByYou; +class NoSuchBucket extends S3ServiceException_1.S3ServiceException { + name = "NoSuchBucket"; + $fault = "client"; + constructor(opts) { + super({ + name: "NoSuchBucket", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, NoSuchBucket.prototype); + } +} +exports.NoSuchBucket = NoSuchBucket; +class InvalidObjectState extends S3ServiceException_1.S3ServiceException { + name = "InvalidObjectState"; + $fault = "client"; + StorageClass; + AccessTier; + constructor(opts) { + super({ + name: "InvalidObjectState", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidObjectState.prototype); + this.StorageClass = opts.StorageClass; + this.AccessTier = opts.AccessTier; + } +} +exports.InvalidObjectState = InvalidObjectState; +class NoSuchKey extends S3ServiceException_1.S3ServiceException { + name = "NoSuchKey"; + $fault = "client"; + constructor(opts) { + super({ + name: "NoSuchKey", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, NoSuchKey.prototype); + } +} +exports.NoSuchKey = NoSuchKey; +class NotFound extends S3ServiceException_1.S3ServiceException { + name = "NotFound"; + $fault = "client"; + constructor(opts) { + super({ + name: "NotFound", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, NotFound.prototype); + } +} +exports.NotFound = NotFound; +class EncryptionTypeMismatch extends S3ServiceException_1.S3ServiceException { + name = "EncryptionTypeMismatch"; + $fault = "client"; + constructor(opts) { + super({ + name: "EncryptionTypeMismatch", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, EncryptionTypeMismatch.prototype); + } +} +exports.EncryptionTypeMismatch = EncryptionTypeMismatch; +class InvalidRequest extends S3ServiceException_1.S3ServiceException { + name = "InvalidRequest"; + $fault = "client"; + constructor(opts) { + super({ + name: "InvalidRequest", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidRequest.prototype); + } +} +exports.InvalidRequest = InvalidRequest; +class InvalidWriteOffset extends S3ServiceException_1.S3ServiceException { + name = "InvalidWriteOffset"; + $fault = "client"; + constructor(opts) { + super({ + name: "InvalidWriteOffset", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidWriteOffset.prototype); + } +} +exports.InvalidWriteOffset = InvalidWriteOffset; +class TooManyParts extends S3ServiceException_1.S3ServiceException { + name = "TooManyParts"; + $fault = "client"; + constructor(opts) { + super({ + name: "TooManyParts", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, TooManyParts.prototype); + } +} +exports.TooManyParts = TooManyParts; +class IdempotencyParameterMismatch extends S3ServiceException_1.S3ServiceException { + name = "IdempotencyParameterMismatch"; + $fault = "client"; + constructor(opts) { + super({ + name: "IdempotencyParameterMismatch", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, IdempotencyParameterMismatch.prototype); + } +} +exports.IdempotencyParameterMismatch = IdempotencyParameterMismatch; +class ObjectAlreadyInActiveTierError extends S3ServiceException_1.S3ServiceException { + name = "ObjectAlreadyInActiveTierError"; + $fault = "client"; + constructor(opts) { + super({ + name: "ObjectAlreadyInActiveTierError", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ObjectAlreadyInActiveTierError.prototype); + } +} +exports.ObjectAlreadyInActiveTierError = ObjectAlreadyInActiveTierError; diff --git a/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js b/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js new file mode 100644 index 0000000..e1b65f4 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js @@ -0,0 +1,46 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const tslib_1 = require("tslib"); +const package_json_1 = tslib_1.__importDefault(require("../package.json")); +const sha1_browser_1 = require("@aws-crypto/sha1-browser"); +const sha256_browser_1 = require("@aws-crypto/sha256-browser"); +const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser"); +const config_resolver_1 = require("@smithy/config-resolver"); +const eventstream_serde_browser_1 = require("@smithy/eventstream-serde-browser"); +const fetch_http_handler_1 = require("@smithy/fetch-http-handler"); +const hash_blob_browser_1 = require("@smithy/hash-blob-browser"); +const invalid_dependency_1 = require("@smithy/invalid-dependency"); +const md5_js_1 = require("@smithy/md5-js"); +const smithy_client_1 = require("@smithy/smithy-client"); +const util_body_length_browser_1 = require("@smithy/util-body-length-browser"); +const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser"); +const util_retry_1 = require("@smithy/util-retry"); +const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); +const getRuntimeConfig = (config) => { + const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config); + const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); + const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + return { + ...clientSharedValues, + ...config, + runtime: "browser", + defaultsMode, + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength, + credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))), + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventstream_serde_browser_1.eventStreamSerdeProvider, + maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS, + md5: config?.md5 ?? md5_js_1.Md5, + region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"), + requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE), + sha1: config?.sha1 ?? sha1_browser_1.Sha1, + sha256: config?.sha256 ?? sha256_browser_1.Sha256, + streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector, + streamHasher: config?.streamHasher ?? hash_blob_browser_1.blobHasher, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)), + useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js b/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js new file mode 100644 index 0000000..6477252 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js @@ -0,0 +1,68 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const tslib_1 = require("tslib"); +const package_json_1 = tslib_1.__importDefault(require("../package.json")); +const client_1 = require("@aws-sdk/core/client"); +const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); +const credential_provider_node_1 = require("@aws-sdk/credential-provider-node"); +const middleware_bucket_endpoint_1 = require("@aws-sdk/middleware-bucket-endpoint"); +const middleware_flexible_checksums_1 = require("@aws-sdk/middleware-flexible-checksums"); +const middleware_sdk_s3_1 = require("@aws-sdk/middleware-sdk-s3"); +const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node"); +const config_resolver_1 = require("@smithy/config-resolver"); +const eventstream_serde_node_1 = require("@smithy/eventstream-serde-node"); +const hash_node_1 = require("@smithy/hash-node"); +const hash_stream_node_1 = require("@smithy/hash-stream-node"); +const middleware_retry_1 = require("@smithy/middleware-retry"); +const node_config_provider_1 = require("@smithy/node-config-provider"); +const node_http_handler_1 = require("@smithy/node-http-handler"); +const smithy_client_1 = require("@smithy/smithy-client"); +const util_body_length_node_1 = require("@smithy/util-body-length-node"); +const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node"); +const util_retry_1 = require("@smithy/util-retry"); +const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); +const getRuntimeConfig = (config) => { + (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version); + const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config); + const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); + const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + (0, client_1.emitWarningIfUnsupportedVersion)(process.version); + const loaderConfig = { + profile: config?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, + credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + disableS3ExpressSessionAuth: config?.disableS3ExpressSessionAuth ?? (0, node_config_provider_1.loadConfig)(middleware_sdk_s3_1.NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS, loaderConfig), + eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventstream_serde_node_1.eventStreamSerdeProvider, + maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), + md5: config?.md5 ?? hash_node_1.Hash.bind(null, "md5"), + region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + requestChecksumCalculation: config?.requestChecksumCalculation ?? (0, node_config_provider_1.loadConfig)(middleware_flexible_checksums_1.NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS, loaderConfig), + requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), + responseChecksumValidation: config?.responseChecksumValidation ?? (0, node_config_provider_1.loadConfig)(middleware_flexible_checksums_1.NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS, loaderConfig), + retryMode: config?.retryMode ?? + (0, node_config_provider_1.loadConfig)({ + ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE, + }, config), + sha1: config?.sha1 ?? hash_node_1.Hash.bind(null, "sha1"), + sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"), + sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig), + streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, + streamHasher: config?.streamHasher ?? hash_stream_node_1.readableStreamHasher, + useArnRegion: config?.useArnRegion ?? (0, node_config_provider_1.loadConfig)(middleware_bucket_endpoint_1.NODE_USE_ARN_REGION_CONFIG_OPTIONS, loaderConfig), + useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.native.js b/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.native.js new file mode 100644 index 0000000..34c5f8e --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.native.js @@ -0,0 +1,15 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const sha256_js_1 = require("@aws-crypto/sha256-js"); +const runtimeConfig_browser_1 = require("./runtimeConfig.browser"); +const getRuntimeConfig = (config) => { + const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config); + return { + ...browserDefaults, + ...config, + runtime: "react-native", + sha256: config?.sha256 ?? sha256_js_1.Sha256, + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js b/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js new file mode 100644 index 0000000..df4b8a9 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js @@ -0,0 +1,56 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); +const middleware_sdk_s3_1 = require("@aws-sdk/middleware-sdk-s3"); +const signature_v4_multi_region_1 = require("@aws-sdk/signature-v4-multi-region"); +const smithy_client_1 = require("@smithy/smithy-client"); +const url_parser_1 = require("@smithy/url-parser"); +const util_base64_1 = require("@smithy/util-base64"); +const util_stream_1 = require("@smithy/util-stream"); +const util_utf8_1 = require("@smithy/util-utf8"); +const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider"); +const endpointResolver_1 = require("./endpoint/endpointResolver"); +const schemas_0_1 = require("./schemas/schemas_0"); +const getRuntimeConfig = (config) => { + return { + apiVersion: "2006-03-01", + base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, + base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, + extensions: config?.extensions ?? [], + getAwsChunkedEncodingStream: config?.getAwsChunkedEncodingStream ?? util_stream_1.getAwsChunkedEncodingStream, + httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultS3HttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(), + }, + { + schemeId: "aws.auth#sigv4a", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4a"), + signer: new httpAuthSchemes_1.AwsSdkSigV4ASigner(), + }, + ], + logger: config?.logger ?? new smithy_client_1.NoOpLogger(), + protocol: config?.protocol ?? middleware_sdk_s3_1.S3RestXmlProtocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.s3", + errorTypeRegistries: schemas_0_1.errorTypeRegistries, + xmlNamespace: "http://s3.amazonaws.com/doc/2006-03-01/", + version: "2006-03-01", + serviceTarget: "AmazonS3", + }, + sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_1.sdkStreamMixin, + serviceId: config?.serviceId ?? "S3", + signerConstructor: config?.signerConstructor ?? signature_v4_multi_region_1.SignatureV4MultiRegion, + signingEscapePath: config?.signingEscapePath ?? false, + urlParser: config?.urlParser ?? url_parser_1.parseUrl, + useArnRegion: config?.useArnRegion ?? undefined, + utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, + utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8, + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js b/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js new file mode 100644 index 0000000..53592c0 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js @@ -0,0 +1,3258 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CreateBucketMetadataTableConfigurationRequest$ = exports.CreateBucketMetadataConfigurationRequest$ = exports.CreateBucketConfiguration$ = exports.CORSRule$ = exports.CORSConfiguration$ = exports.CopyPartResult$ = exports.CopyObjectResult$ = exports.CopyObjectRequest$ = exports.CopyObjectOutput$ = exports.ContinuationEvent$ = exports.Condition$ = exports.CompleteMultipartUploadRequest$ = exports.CompleteMultipartUploadOutput$ = exports.CompletedPart$ = exports.CompletedMultipartUpload$ = exports.CommonPrefix$ = exports.Checksum$ = exports.BucketLoggingStatus$ = exports.BucketLifecycleConfiguration$ = exports.BucketInfo$ = exports.Bucket$ = exports.BlockedEncryptionTypes$ = exports.AnalyticsS3BucketDestination$ = exports.AnalyticsExportDestination$ = exports.AnalyticsConfiguration$ = exports.AnalyticsAndOperator$ = exports.AccessControlTranslation$ = exports.AccessControlPolicy$ = exports.AccelerateConfiguration$ = exports.AbortMultipartUploadRequest$ = exports.AbortMultipartUploadOutput$ = exports.AbortIncompleteMultipartUpload$ = exports.AbacStatus$ = exports.errorTypeRegistries = exports.TooManyParts$ = exports.ObjectNotInActiveTierError$ = exports.ObjectAlreadyInActiveTierError$ = exports.NotFound$ = exports.NoSuchUpload$ = exports.NoSuchKey$ = exports.NoSuchBucket$ = exports.InvalidWriteOffset$ = exports.InvalidRequest$ = exports.InvalidObjectState$ = exports.IdempotencyParameterMismatch$ = exports.EncryptionTypeMismatch$ = exports.BucketAlreadyOwnedByYou$ = exports.BucketAlreadyExists$ = exports.AccessDenied$ = exports.S3ServiceException$ = void 0; +exports.GetBucketAccelerateConfigurationRequest$ = exports.GetBucketAccelerateConfigurationOutput$ = exports.GetBucketAbacRequest$ = exports.GetBucketAbacOutput$ = exports.FilterRule$ = exports.ExistingObjectReplication$ = exports.EventBridgeConfiguration$ = exports.ErrorDocument$ = exports.ErrorDetails$ = exports._Error$ = exports.EndEvent$ = exports.EncryptionConfiguration$ = exports.Encryption$ = exports.DestinationResult$ = exports.Destination$ = exports.DeletePublicAccessBlockRequest$ = exports.DeleteObjectTaggingRequest$ = exports.DeleteObjectTaggingOutput$ = exports.DeleteObjectsRequest$ = exports.DeleteObjectsOutput$ = exports.DeleteObjectRequest$ = exports.DeleteObjectOutput$ = exports.DeleteMarkerReplication$ = exports.DeleteMarkerEntry$ = exports.DeletedObject$ = exports.DeleteBucketWebsiteRequest$ = exports.DeleteBucketTaggingRequest$ = exports.DeleteBucketRequest$ = exports.DeleteBucketReplicationRequest$ = exports.DeleteBucketPolicyRequest$ = exports.DeleteBucketOwnershipControlsRequest$ = exports.DeleteBucketMetricsConfigurationRequest$ = exports.DeleteBucketMetadataTableConfigurationRequest$ = exports.DeleteBucketMetadataConfigurationRequest$ = exports.DeleteBucketLifecycleRequest$ = exports.DeleteBucketInventoryConfigurationRequest$ = exports.DeleteBucketIntelligentTieringConfigurationRequest$ = exports.DeleteBucketEncryptionRequest$ = exports.DeleteBucketCorsRequest$ = exports.DeleteBucketAnalyticsConfigurationRequest$ = exports.Delete$ = exports.DefaultRetention$ = exports.CSVOutput$ = exports.CSVInput$ = exports.CreateSessionRequest$ = exports.CreateSessionOutput$ = exports.CreateMultipartUploadRequest$ = exports.CreateMultipartUploadOutput$ = exports.CreateBucketRequest$ = exports.CreateBucketOutput$ = void 0; +exports.GetObjectLegalHoldRequest$ = exports.GetObjectLegalHoldOutput$ = exports.GetObjectAttributesRequest$ = exports.GetObjectAttributesParts$ = exports.GetObjectAttributesOutput$ = exports.GetObjectAclRequest$ = exports.GetObjectAclOutput$ = exports.GetBucketWebsiteRequest$ = exports.GetBucketWebsiteOutput$ = exports.GetBucketVersioningRequest$ = exports.GetBucketVersioningOutput$ = exports.GetBucketTaggingRequest$ = exports.GetBucketTaggingOutput$ = exports.GetBucketRequestPaymentRequest$ = exports.GetBucketRequestPaymentOutput$ = exports.GetBucketReplicationRequest$ = exports.GetBucketReplicationOutput$ = exports.GetBucketPolicyStatusRequest$ = exports.GetBucketPolicyStatusOutput$ = exports.GetBucketPolicyRequest$ = exports.GetBucketPolicyOutput$ = exports.GetBucketOwnershipControlsRequest$ = exports.GetBucketOwnershipControlsOutput$ = exports.GetBucketNotificationConfigurationRequest$ = exports.GetBucketMetricsConfigurationRequest$ = exports.GetBucketMetricsConfigurationOutput$ = exports.GetBucketMetadataTableConfigurationResult$ = exports.GetBucketMetadataTableConfigurationRequest$ = exports.GetBucketMetadataTableConfigurationOutput$ = exports.GetBucketMetadataConfigurationResult$ = exports.GetBucketMetadataConfigurationRequest$ = exports.GetBucketMetadataConfigurationOutput$ = exports.GetBucketLoggingRequest$ = exports.GetBucketLoggingOutput$ = exports.GetBucketLocationRequest$ = exports.GetBucketLocationOutput$ = exports.GetBucketLifecycleConfigurationRequest$ = exports.GetBucketLifecycleConfigurationOutput$ = exports.GetBucketInventoryConfigurationRequest$ = exports.GetBucketInventoryConfigurationOutput$ = exports.GetBucketIntelligentTieringConfigurationRequest$ = exports.GetBucketIntelligentTieringConfigurationOutput$ = exports.GetBucketEncryptionRequest$ = exports.GetBucketEncryptionOutput$ = exports.GetBucketCorsRequest$ = exports.GetBucketCorsOutput$ = exports.GetBucketAnalyticsConfigurationRequest$ = exports.GetBucketAnalyticsConfigurationOutput$ = exports.GetBucketAclRequest$ = exports.GetBucketAclOutput$ = void 0; +exports.ListBucketInventoryConfigurationsRequest$ = exports.ListBucketInventoryConfigurationsOutput$ = exports.ListBucketIntelligentTieringConfigurationsRequest$ = exports.ListBucketIntelligentTieringConfigurationsOutput$ = exports.ListBucketAnalyticsConfigurationsRequest$ = exports.ListBucketAnalyticsConfigurationsOutput$ = exports.LifecycleRuleFilter$ = exports.LifecycleRuleAndOperator$ = exports.LifecycleRule$ = exports.LifecycleExpiration$ = exports.LambdaFunctionConfiguration$ = exports.JSONOutput$ = exports.JSONInput$ = exports.JournalTableConfigurationUpdates$ = exports.JournalTableConfigurationResult$ = exports.JournalTableConfiguration$ = exports.InventoryTableConfigurationUpdates$ = exports.InventoryTableConfigurationResult$ = exports.InventoryTableConfiguration$ = exports.InventorySchedule$ = exports.InventoryS3BucketDestination$ = exports.InventoryFilter$ = exports.InventoryEncryption$ = exports.InventoryDestination$ = exports.InventoryConfiguration$ = exports.IntelligentTieringFilter$ = exports.IntelligentTieringConfiguration$ = exports.IntelligentTieringAndOperator$ = exports.InputSerialization$ = exports.Initiator$ = exports.IndexDocument$ = exports.HeadObjectRequest$ = exports.HeadObjectOutput$ = exports.HeadBucketRequest$ = exports.HeadBucketOutput$ = exports.Grantee$ = exports.Grant$ = exports.GlacierJobParameters$ = exports.GetPublicAccessBlockRequest$ = exports.GetPublicAccessBlockOutput$ = exports.GetObjectTorrentRequest$ = exports.GetObjectTorrentOutput$ = exports.GetObjectTaggingRequest$ = exports.GetObjectTaggingOutput$ = exports.GetObjectRetentionRequest$ = exports.GetObjectRetentionOutput$ = exports.GetObjectRequest$ = exports.GetObjectOutput$ = exports.GetObjectLockConfigurationRequest$ = exports.GetObjectLockConfigurationOutput$ = void 0; +exports.Progress$ = exports.PolicyStatus$ = exports.PartitionedPrefix$ = exports.Part$ = exports.ParquetInput$ = exports.OwnershipControlsRule$ = exports.OwnershipControls$ = exports.Owner$ = exports.OutputSerialization$ = exports.OutputLocation$ = exports.ObjectVersion$ = exports.ObjectPart$ = exports.ObjectLockRule$ = exports.ObjectLockRetention$ = exports.ObjectLockLegalHold$ = exports.ObjectLockConfiguration$ = exports.ObjectIdentifier$ = exports._Object$ = exports.NotificationConfigurationFilter$ = exports.NotificationConfiguration$ = exports.NoncurrentVersionTransition$ = exports.NoncurrentVersionExpiration$ = exports.MultipartUpload$ = exports.MetricsConfiguration$ = exports.MetricsAndOperator$ = exports.Metrics$ = exports.MetadataTableEncryptionConfiguration$ = exports.MetadataTableConfigurationResult$ = exports.MetadataTableConfiguration$ = exports.MetadataEntry$ = exports.MetadataConfigurationResult$ = exports.MetadataConfiguration$ = exports.LoggingEnabled$ = exports.LocationInfo$ = exports.ListPartsRequest$ = exports.ListPartsOutput$ = exports.ListObjectVersionsRequest$ = exports.ListObjectVersionsOutput$ = exports.ListObjectsV2Request$ = exports.ListObjectsV2Output$ = exports.ListObjectsRequest$ = exports.ListObjectsOutput$ = exports.ListMultipartUploadsRequest$ = exports.ListMultipartUploadsOutput$ = exports.ListDirectoryBucketsRequest$ = exports.ListDirectoryBucketsOutput$ = exports.ListBucketsRequest$ = exports.ListBucketsOutput$ = exports.ListBucketMetricsConfigurationsRequest$ = exports.ListBucketMetricsConfigurationsOutput$ = void 0; +exports.RequestPaymentConfiguration$ = exports.ReplicationTimeValue$ = exports.ReplicationTime$ = exports.ReplicationRuleFilter$ = exports.ReplicationRuleAndOperator$ = exports.ReplicationRule$ = exports.ReplicationConfiguration$ = exports.ReplicaModifications$ = exports.RenameObjectRequest$ = exports.RenameObjectOutput$ = exports.RedirectAllRequestsTo$ = exports.Redirect$ = exports.RecordsEvent$ = exports.RecordExpiration$ = exports.QueueConfiguration$ = exports.PutPublicAccessBlockRequest$ = exports.PutObjectTaggingRequest$ = exports.PutObjectTaggingOutput$ = exports.PutObjectRetentionRequest$ = exports.PutObjectRetentionOutput$ = exports.PutObjectRequest$ = exports.PutObjectOutput$ = exports.PutObjectLockConfigurationRequest$ = exports.PutObjectLockConfigurationOutput$ = exports.PutObjectLegalHoldRequest$ = exports.PutObjectLegalHoldOutput$ = exports.PutObjectAclRequest$ = exports.PutObjectAclOutput$ = exports.PutBucketWebsiteRequest$ = exports.PutBucketVersioningRequest$ = exports.PutBucketTaggingRequest$ = exports.PutBucketRequestPaymentRequest$ = exports.PutBucketReplicationRequest$ = exports.PutBucketPolicyRequest$ = exports.PutBucketOwnershipControlsRequest$ = exports.PutBucketNotificationConfigurationRequest$ = exports.PutBucketMetricsConfigurationRequest$ = exports.PutBucketLoggingRequest$ = exports.PutBucketLifecycleConfigurationRequest$ = exports.PutBucketLifecycleConfigurationOutput$ = exports.PutBucketInventoryConfigurationRequest$ = exports.PutBucketIntelligentTieringConfigurationRequest$ = exports.PutBucketEncryptionRequest$ = exports.PutBucketCorsRequest$ = exports.PutBucketAnalyticsConfigurationRequest$ = exports.PutBucketAclRequest$ = exports.PutBucketAccelerateConfigurationRequest$ = exports.PutBucketAbacRequest$ = exports.PublicAccessBlockConfiguration$ = exports.ProgressEvent$ = void 0; +exports.SelectObjectContentEventStream$ = exports.ObjectEncryption$ = exports.MetricsFilter$ = exports.AnalyticsFilter$ = exports.WriteGetObjectResponseRequest$ = exports.WebsiteConfiguration$ = exports.VersioningConfiguration$ = exports.UploadPartRequest$ = exports.UploadPartOutput$ = exports.UploadPartCopyRequest$ = exports.UploadPartCopyOutput$ = exports.UpdateObjectEncryptionResponse$ = exports.UpdateObjectEncryptionRequest$ = exports.UpdateBucketMetadataJournalTableConfigurationRequest$ = exports.UpdateBucketMetadataInventoryTableConfigurationRequest$ = exports.Transition$ = exports.TopicConfiguration$ = exports.Tiering$ = exports.TargetObjectKeyFormat$ = exports.TargetGrant$ = exports.Tagging$ = exports.Tag$ = exports.StorageClassAnalysisDataExport$ = exports.StorageClassAnalysis$ = exports.StatsEvent$ = exports.Stats$ = exports.SSES3$ = exports.SSEKMSEncryption$ = exports.SseKmsEncryptedObjects$ = exports.SSEKMS$ = exports.SourceSelectionCriteria$ = exports.SimplePrefix$ = exports.SessionCredentials$ = exports.ServerSideEncryptionRule$ = exports.ServerSideEncryptionConfiguration$ = exports.ServerSideEncryptionByDefault$ = exports.SelectParameters$ = exports.SelectObjectContentRequest$ = exports.SelectObjectContentOutput$ = exports.ScanRange$ = exports.S3TablesDestinationResult$ = exports.S3TablesDestination$ = exports.S3Location$ = exports.S3KeyFilter$ = exports.RoutingRule$ = exports.RestoreStatus$ = exports.RestoreRequest$ = exports.RestoreObjectRequest$ = exports.RestoreObjectOutput$ = exports.RequestProgress$ = void 0; +exports.GetBucketWebsite$ = exports.GetBucketVersioning$ = exports.GetBucketTagging$ = exports.GetBucketRequestPayment$ = exports.GetBucketReplication$ = exports.GetBucketPolicyStatus$ = exports.GetBucketPolicy$ = exports.GetBucketOwnershipControls$ = exports.GetBucketNotificationConfiguration$ = exports.GetBucketMetricsConfiguration$ = exports.GetBucketMetadataTableConfiguration$ = exports.GetBucketMetadataConfiguration$ = exports.GetBucketLogging$ = exports.GetBucketLocation$ = exports.GetBucketLifecycleConfiguration$ = exports.GetBucketInventoryConfiguration$ = exports.GetBucketIntelligentTieringConfiguration$ = exports.GetBucketEncryption$ = exports.GetBucketCors$ = exports.GetBucketAnalyticsConfiguration$ = exports.GetBucketAcl$ = exports.GetBucketAccelerateConfiguration$ = exports.GetBucketAbac$ = exports.DeletePublicAccessBlock$ = exports.DeleteObjectTagging$ = exports.DeleteObjects$ = exports.DeleteObject$ = exports.DeleteBucketWebsite$ = exports.DeleteBucketTagging$ = exports.DeleteBucketReplication$ = exports.DeleteBucketPolicy$ = exports.DeleteBucketOwnershipControls$ = exports.DeleteBucketMetricsConfiguration$ = exports.DeleteBucketMetadataTableConfiguration$ = exports.DeleteBucketMetadataConfiguration$ = exports.DeleteBucketLifecycle$ = exports.DeleteBucketInventoryConfiguration$ = exports.DeleteBucketIntelligentTieringConfiguration$ = exports.DeleteBucketEncryption$ = exports.DeleteBucketCors$ = exports.DeleteBucketAnalyticsConfiguration$ = exports.DeleteBucket$ = exports.CreateSession$ = exports.CreateMultipartUpload$ = exports.CreateBucketMetadataTableConfiguration$ = exports.CreateBucketMetadataConfiguration$ = exports.CreateBucket$ = exports.CopyObject$ = exports.CompleteMultipartUpload$ = exports.AbortMultipartUpload$ = void 0; +exports.RestoreObject$ = exports.RenameObject$ = exports.PutPublicAccessBlock$ = exports.PutObjectTagging$ = exports.PutObjectRetention$ = exports.PutObjectLockConfiguration$ = exports.PutObjectLegalHold$ = exports.PutObjectAcl$ = exports.PutObject$ = exports.PutBucketWebsite$ = exports.PutBucketVersioning$ = exports.PutBucketTagging$ = exports.PutBucketRequestPayment$ = exports.PutBucketReplication$ = exports.PutBucketPolicy$ = exports.PutBucketOwnershipControls$ = exports.PutBucketNotificationConfiguration$ = exports.PutBucketMetricsConfiguration$ = exports.PutBucketLogging$ = exports.PutBucketLifecycleConfiguration$ = exports.PutBucketInventoryConfiguration$ = exports.PutBucketIntelligentTieringConfiguration$ = exports.PutBucketEncryption$ = exports.PutBucketCors$ = exports.PutBucketAnalyticsConfiguration$ = exports.PutBucketAcl$ = exports.PutBucketAccelerateConfiguration$ = exports.PutBucketAbac$ = exports.ListParts$ = exports.ListObjectVersions$ = exports.ListObjectsV2$ = exports.ListObjects$ = exports.ListMultipartUploads$ = exports.ListDirectoryBuckets$ = exports.ListBuckets$ = exports.ListBucketMetricsConfigurations$ = exports.ListBucketInventoryConfigurations$ = exports.ListBucketIntelligentTieringConfigurations$ = exports.ListBucketAnalyticsConfigurations$ = exports.HeadObject$ = exports.HeadBucket$ = exports.GetPublicAccessBlock$ = exports.GetObjectTorrent$ = exports.GetObjectTagging$ = exports.GetObjectRetention$ = exports.GetObjectLockConfiguration$ = exports.GetObjectLegalHold$ = exports.GetObjectAttributes$ = exports.GetObjectAcl$ = exports.GetObject$ = void 0; +exports.WriteGetObjectResponse$ = exports.UploadPartCopy$ = exports.UploadPart$ = exports.UpdateObjectEncryption$ = exports.UpdateBucketMetadataJournalTableConfiguration$ = exports.UpdateBucketMetadataInventoryTableConfiguration$ = exports.SelectObjectContent$ = void 0; +const _A = "Account"; +const _AAO = "AnalyticsAndOperator"; +const _AC = "AccelerateConfiguration"; +const _ACL = "AccessControlList"; +const _ACL_ = "ACL"; +const _ACLn = "AnalyticsConfigurationList"; +const _ACP = "AccessControlPolicy"; +const _ACT = "AccessControlTranslation"; +const _ACn = "AnalyticsConfiguration"; +const _AD = "AccessDenied"; +const _ADb = "AbortDate"; +const _AED = "AnalyticsExportDestination"; +const _AF = "AnalyticsFilter"; +const _AH = "AllowedHeaders"; +const _AHl = "AllowedHeader"; +const _AI = "AccountId"; +const _AIMU = "AbortIncompleteMultipartUpload"; +const _AKI = "AccessKeyId"; +const _AM = "AllowedMethods"; +const _AMU = "AbortMultipartUpload"; +const _AMUO = "AbortMultipartUploadOutput"; +const _AMUR = "AbortMultipartUploadRequest"; +const _AMl = "AllowedMethod"; +const _AO = "AllowedOrigins"; +const _AOl = "AllowedOrigin"; +const _APA = "AccessPointAlias"; +const _APAc = "AccessPointArn"; +const _AQRD = "AllowQuotedRecordDelimiter"; +const _AR = "AcceptRanges"; +const _ARI = "AbortRuleId"; +const _AS = "AbacStatus"; +const _ASBD = "AnalyticsS3BucketDestination"; +const _ASSEBD = "ApplyServerSideEncryptionByDefault"; +const _ASr = "ArchiveStatus"; +const _AT = "AccessTier"; +const _An = "And"; +const _B = "Bucket"; +const _BA = "BucketArn"; +const _BAE = "BucketAlreadyExists"; +const _BAI = "BucketAccountId"; +const _BAOBY = "BucketAlreadyOwnedByYou"; +const _BET = "BlockedEncryptionTypes"; +const _BGR = "BypassGovernanceRetention"; +const _BI = "BucketInfo"; +const _BKE = "BucketKeyEnabled"; +const _BLC = "BucketLifecycleConfiguration"; +const _BLN = "BucketLocationName"; +const _BLS = "BucketLoggingStatus"; +const _BLT = "BucketLocationType"; +const _BN = "BucketNamespace"; +const _BNu = "BucketName"; +const _BP = "BytesProcessed"; +const _BPA = "BlockPublicAcls"; +const _BPP = "BlockPublicPolicy"; +const _BR = "BucketRegion"; +const _BRy = "BytesReturned"; +const _BS = "BytesScanned"; +const _Bo = "Body"; +const _Bu = "Buckets"; +const _C = "Checksum"; +const _CA = "ChecksumAlgorithm"; +const _CACL = "CannedACL"; +const _CB = "CreateBucket"; +const _CBC = "CreateBucketConfiguration"; +const _CBMC = "CreateBucketMetadataConfiguration"; +const _CBMCR = "CreateBucketMetadataConfigurationRequest"; +const _CBMTC = "CreateBucketMetadataTableConfiguration"; +const _CBMTCR = "CreateBucketMetadataTableConfigurationRequest"; +const _CBO = "CreateBucketOutput"; +const _CBR = "CreateBucketRequest"; +const _CC = "CacheControl"; +const _CCRC = "ChecksumCRC32"; +const _CCRCC = "ChecksumCRC32C"; +const _CCRCNVME = "ChecksumCRC64NVME"; +const _CC_ = "Cache-Control"; +const _CD = "CreationDate"; +const _CD_ = "Content-Disposition"; +const _CDo = "ContentDisposition"; +const _CE = "ContinuationEvent"; +const _CE_ = "Content-Encoding"; +const _CEo = "ContentEncoding"; +const _CF = "CloudFunction"; +const _CFC = "CloudFunctionConfiguration"; +const _CL = "ContentLanguage"; +const _CL_ = "Content-Language"; +const _CL__ = "Content-Length"; +const _CLo = "ContentLength"; +const _CM = "Content-MD5"; +const _CMD = "ContentMD5"; +const _CMU = "CompletedMultipartUpload"; +const _CMUO = "CompleteMultipartUploadOutput"; +const _CMUOr = "CreateMultipartUploadOutput"; +const _CMUR = "CompleteMultipartUploadResult"; +const _CMURo = "CompleteMultipartUploadRequest"; +const _CMURr = "CreateMultipartUploadRequest"; +const _CMUo = "CompleteMultipartUpload"; +const _CMUr = "CreateMultipartUpload"; +const _CMh = "ChecksumMode"; +const _CO = "CopyObject"; +const _COO = "CopyObjectOutput"; +const _COR = "CopyObjectResult"; +const _CORSC = "CORSConfiguration"; +const _CORSR = "CORSRules"; +const _CORSRu = "CORSRule"; +const _CORo = "CopyObjectRequest"; +const _CP = "CommonPrefix"; +const _CPL = "CommonPrefixList"; +const _CPLo = "CompletedPartList"; +const _CPR = "CopyPartResult"; +const _CPo = "CompletedPart"; +const _CPom = "CommonPrefixes"; +const _CR = "ContentRange"; +const _CRSBA = "ConfirmRemoveSelfBucketAccess"; +const _CR_ = "Content-Range"; +const _CS = "CopySource"; +const _CSHA = "ChecksumSHA1"; +const _CSHAh = "ChecksumSHA256"; +const _CSIM = "CopySourceIfMatch"; +const _CSIMS = "CopySourceIfModifiedSince"; +const _CSINM = "CopySourceIfNoneMatch"; +const _CSIUS = "CopySourceIfUnmodifiedSince"; +const _CSO = "CreateSessionOutput"; +const _CSR = "CreateSessionResult"; +const _CSRo = "CopySourceRange"; +const _CSRr = "CreateSessionRequest"; +const _CSSSECA = "CopySourceSSECustomerAlgorithm"; +const _CSSSECK = "CopySourceSSECustomerKey"; +const _CSSSECKMD = "CopySourceSSECustomerKeyMD5"; +const _CSV = "CSV"; +const _CSVI = "CopySourceVersionId"; +const _CSVIn = "CSVInput"; +const _CSVO = "CSVOutput"; +const _CSo = "ConfigurationState"; +const _CSr = "CreateSession"; +const _CT = "ChecksumType"; +const _CT_ = "Content-Type"; +const _CTl = "ClientToken"; +const _CTo = "ContentType"; +const _CTom = "CompressionType"; +const _CTon = "ContinuationToken"; +const _Co = "Condition"; +const _Cod = "Code"; +const _Com = "Comments"; +const _Con = "Contents"; +const _Cont = "Cont"; +const _Cr = "Credentials"; +const _D = "Days"; +const _DAI = "DaysAfterInitiation"; +const _DB = "DeleteBucket"; +const _DBAC = "DeleteBucketAnalyticsConfiguration"; +const _DBACR = "DeleteBucketAnalyticsConfigurationRequest"; +const _DBC = "DeleteBucketCors"; +const _DBCR = "DeleteBucketCorsRequest"; +const _DBE = "DeleteBucketEncryption"; +const _DBER = "DeleteBucketEncryptionRequest"; +const _DBIC = "DeleteBucketInventoryConfiguration"; +const _DBICR = "DeleteBucketInventoryConfigurationRequest"; +const _DBITC = "DeleteBucketIntelligentTieringConfiguration"; +const _DBITCR = "DeleteBucketIntelligentTieringConfigurationRequest"; +const _DBL = "DeleteBucketLifecycle"; +const _DBLR = "DeleteBucketLifecycleRequest"; +const _DBMC = "DeleteBucketMetadataConfiguration"; +const _DBMCR = "DeleteBucketMetadataConfigurationRequest"; +const _DBMCRe = "DeleteBucketMetricsConfigurationRequest"; +const _DBMCe = "DeleteBucketMetricsConfiguration"; +const _DBMTC = "DeleteBucketMetadataTableConfiguration"; +const _DBMTCR = "DeleteBucketMetadataTableConfigurationRequest"; +const _DBOC = "DeleteBucketOwnershipControls"; +const _DBOCR = "DeleteBucketOwnershipControlsRequest"; +const _DBP = "DeleteBucketPolicy"; +const _DBPR = "DeleteBucketPolicyRequest"; +const _DBR = "DeleteBucketRequest"; +const _DBRR = "DeleteBucketReplicationRequest"; +const _DBRe = "DeleteBucketReplication"; +const _DBT = "DeleteBucketTagging"; +const _DBTR = "DeleteBucketTaggingRequest"; +const _DBW = "DeleteBucketWebsite"; +const _DBWR = "DeleteBucketWebsiteRequest"; +const _DE = "DataExport"; +const _DIM = "DestinationIfMatch"; +const _DIMS = "DestinationIfModifiedSince"; +const _DINM = "DestinationIfNoneMatch"; +const _DIUS = "DestinationIfUnmodifiedSince"; +const _DM = "DeleteMarker"; +const _DME = "DeleteMarkerEntry"; +const _DMR = "DeleteMarkerReplication"; +const _DMVI = "DeleteMarkerVersionId"; +const _DMe = "DeleteMarkers"; +const _DN = "DisplayName"; +const _DO = "DeletedObject"; +const _DOO = "DeleteObjectOutput"; +const _DOOe = "DeleteObjectsOutput"; +const _DOR = "DeleteObjectRequest"; +const _DORe = "DeleteObjectsRequest"; +const _DOT = "DeleteObjectTagging"; +const _DOTO = "DeleteObjectTaggingOutput"; +const _DOTR = "DeleteObjectTaggingRequest"; +const _DOe = "DeletedObjects"; +const _DOel = "DeleteObject"; +const _DOele = "DeleteObjects"; +const _DPAB = "DeletePublicAccessBlock"; +const _DPABR = "DeletePublicAccessBlockRequest"; +const _DR = "DataRedundancy"; +const _DRe = "DefaultRetention"; +const _DRel = "DeleteResult"; +const _DRes = "DestinationResult"; +const _Da = "Date"; +const _De = "Delete"; +const _Del = "Deleted"; +const _Deli = "Delimiter"; +const _Des = "Destination"; +const _Desc = "Description"; +const _Det = "Details"; +const _E = "Expiration"; +const _EA = "EmailAddress"; +const _EBC = "EventBridgeConfiguration"; +const _EBO = "ExpectedBucketOwner"; +const _EC = "EncryptionConfiguration"; +const _ECr = "ErrorCode"; +const _ED = "ErrorDetails"; +const _EDr = "ErrorDocument"; +const _EE = "EndEvent"; +const _EH = "ExposeHeaders"; +const _EHx = "ExposeHeader"; +const _EM = "ErrorMessage"; +const _EODM = "ExpiredObjectDeleteMarker"; +const _EOR = "ExistingObjectReplication"; +const _ES = "ExpiresString"; +const _ESBO = "ExpectedSourceBucketOwner"; +const _ET = "EncryptionType"; +const _ETL = "EncryptionTypeList"; +const _ETM = "EncryptionTypeMismatch"; +const _ETa = "ETag"; +const _ETn = "EncodingType"; +const _ETv = "EventThreshold"; +const _ETx = "ExpressionType"; +const _En = "Encryption"; +const _Ena = "Enabled"; +const _End = "End"; +const _Er = "Errors"; +const _Err = "Error"; +const _Ev = "Events"; +const _Eve = "Event"; +const _Ex = "Expires"; +const _Exp = "Expression"; +const _F = "Filter"; +const _FD = "FieldDelimiter"; +const _FHI = "FileHeaderInfo"; +const _FO = "FetchOwner"; +const _FR = "FilterRule"; +const _FRL = "FilterRuleList"; +const _FRi = "FilterRules"; +const _Fi = "Field"; +const _Fo = "Format"; +const _Fr = "Frequency"; +const _G = "Grants"; +const _GBA = "GetBucketAbac"; +const _GBAC = "GetBucketAccelerateConfiguration"; +const _GBACO = "GetBucketAccelerateConfigurationOutput"; +const _GBACOe = "GetBucketAnalyticsConfigurationOutput"; +const _GBACR = "GetBucketAccelerateConfigurationRequest"; +const _GBACRe = "GetBucketAnalyticsConfigurationRequest"; +const _GBACe = "GetBucketAnalyticsConfiguration"; +const _GBAO = "GetBucketAbacOutput"; +const _GBAOe = "GetBucketAclOutput"; +const _GBAR = "GetBucketAbacRequest"; +const _GBARe = "GetBucketAclRequest"; +const _GBAe = "GetBucketAcl"; +const _GBC = "GetBucketCors"; +const _GBCO = "GetBucketCorsOutput"; +const _GBCR = "GetBucketCorsRequest"; +const _GBE = "GetBucketEncryption"; +const _GBEO = "GetBucketEncryptionOutput"; +const _GBER = "GetBucketEncryptionRequest"; +const _GBIC = "GetBucketInventoryConfiguration"; +const _GBICO = "GetBucketInventoryConfigurationOutput"; +const _GBICR = "GetBucketInventoryConfigurationRequest"; +const _GBITC = "GetBucketIntelligentTieringConfiguration"; +const _GBITCO = "GetBucketIntelligentTieringConfigurationOutput"; +const _GBITCR = "GetBucketIntelligentTieringConfigurationRequest"; +const _GBL = "GetBucketLocation"; +const _GBLC = "GetBucketLifecycleConfiguration"; +const _GBLCO = "GetBucketLifecycleConfigurationOutput"; +const _GBLCR = "GetBucketLifecycleConfigurationRequest"; +const _GBLO = "GetBucketLocationOutput"; +const _GBLOe = "GetBucketLoggingOutput"; +const _GBLR = "GetBucketLocationRequest"; +const _GBLRe = "GetBucketLoggingRequest"; +const _GBLe = "GetBucketLogging"; +const _GBMC = "GetBucketMetadataConfiguration"; +const _GBMCO = "GetBucketMetadataConfigurationOutput"; +const _GBMCOe = "GetBucketMetricsConfigurationOutput"; +const _GBMCR = "GetBucketMetadataConfigurationResult"; +const _GBMCRe = "GetBucketMetadataConfigurationRequest"; +const _GBMCRet = "GetBucketMetricsConfigurationRequest"; +const _GBMCe = "GetBucketMetricsConfiguration"; +const _GBMTC = "GetBucketMetadataTableConfiguration"; +const _GBMTCO = "GetBucketMetadataTableConfigurationOutput"; +const _GBMTCR = "GetBucketMetadataTableConfigurationResult"; +const _GBMTCRe = "GetBucketMetadataTableConfigurationRequest"; +const _GBNC = "GetBucketNotificationConfiguration"; +const _GBNCR = "GetBucketNotificationConfigurationRequest"; +const _GBOC = "GetBucketOwnershipControls"; +const _GBOCO = "GetBucketOwnershipControlsOutput"; +const _GBOCR = "GetBucketOwnershipControlsRequest"; +const _GBP = "GetBucketPolicy"; +const _GBPO = "GetBucketPolicyOutput"; +const _GBPR = "GetBucketPolicyRequest"; +const _GBPS = "GetBucketPolicyStatus"; +const _GBPSO = "GetBucketPolicyStatusOutput"; +const _GBPSR = "GetBucketPolicyStatusRequest"; +const _GBR = "GetBucketReplication"; +const _GBRO = "GetBucketReplicationOutput"; +const _GBRP = "GetBucketRequestPayment"; +const _GBRPO = "GetBucketRequestPaymentOutput"; +const _GBRPR = "GetBucketRequestPaymentRequest"; +const _GBRR = "GetBucketReplicationRequest"; +const _GBT = "GetBucketTagging"; +const _GBTO = "GetBucketTaggingOutput"; +const _GBTR = "GetBucketTaggingRequest"; +const _GBV = "GetBucketVersioning"; +const _GBVO = "GetBucketVersioningOutput"; +const _GBVR = "GetBucketVersioningRequest"; +const _GBW = "GetBucketWebsite"; +const _GBWO = "GetBucketWebsiteOutput"; +const _GBWR = "GetBucketWebsiteRequest"; +const _GFC = "GrantFullControl"; +const _GJP = "GlacierJobParameters"; +const _GO = "GetObject"; +const _GOA = "GetObjectAcl"; +const _GOAO = "GetObjectAclOutput"; +const _GOAOe = "GetObjectAttributesOutput"; +const _GOAP = "GetObjectAttributesParts"; +const _GOAR = "GetObjectAclRequest"; +const _GOARe = "GetObjectAttributesResponse"; +const _GOARet = "GetObjectAttributesRequest"; +const _GOAe = "GetObjectAttributes"; +const _GOLC = "GetObjectLockConfiguration"; +const _GOLCO = "GetObjectLockConfigurationOutput"; +const _GOLCR = "GetObjectLockConfigurationRequest"; +const _GOLH = "GetObjectLegalHold"; +const _GOLHO = "GetObjectLegalHoldOutput"; +const _GOLHR = "GetObjectLegalHoldRequest"; +const _GOO = "GetObjectOutput"; +const _GOR = "GetObjectRequest"; +const _GORO = "GetObjectRetentionOutput"; +const _GORR = "GetObjectRetentionRequest"; +const _GORe = "GetObjectRetention"; +const _GOT = "GetObjectTagging"; +const _GOTO = "GetObjectTaggingOutput"; +const _GOTOe = "GetObjectTorrentOutput"; +const _GOTR = "GetObjectTaggingRequest"; +const _GOTRe = "GetObjectTorrentRequest"; +const _GOTe = "GetObjectTorrent"; +const _GPAB = "GetPublicAccessBlock"; +const _GPABO = "GetPublicAccessBlockOutput"; +const _GPABR = "GetPublicAccessBlockRequest"; +const _GR = "GrantRead"; +const _GRACP = "GrantReadACP"; +const _GW = "GrantWrite"; +const _GWACP = "GrantWriteACP"; +const _Gr = "Grant"; +const _Gra = "Grantee"; +const _HB = "HeadBucket"; +const _HBO = "HeadBucketOutput"; +const _HBR = "HeadBucketRequest"; +const _HECRE = "HttpErrorCodeReturnedEquals"; +const _HN = "HostName"; +const _HO = "HeadObject"; +const _HOO = "HeadObjectOutput"; +const _HOR = "HeadObjectRequest"; +const _HRC = "HttpRedirectCode"; +const _I = "Id"; +const _IC = "InventoryConfiguration"; +const _ICL = "InventoryConfigurationList"; +const _ID = "ID"; +const _IDn = "IndexDocument"; +const _IDnv = "InventoryDestination"; +const _IE = "IsEnabled"; +const _IEn = "InventoryEncryption"; +const _IF = "InventoryFilter"; +const _IL = "IsLatest"; +const _IM = "IfMatch"; +const _IMIT = "IfMatchInitiatedTime"; +const _IMLMT = "IfMatchLastModifiedTime"; +const _IMS = "IfMatchSize"; +const _IMS_ = "If-Modified-Since"; +const _IMSf = "IfModifiedSince"; +const _IMUR = "InitiateMultipartUploadResult"; +const _IM_ = "If-Match"; +const _INM = "IfNoneMatch"; +const _INM_ = "If-None-Match"; +const _IOF = "InventoryOptionalFields"; +const _IOS = "InvalidObjectState"; +const _IOV = "IncludedObjectVersions"; +const _IP = "IsPublic"; +const _IPA = "IgnorePublicAcls"; +const _IPM = "IdempotencyParameterMismatch"; +const _IR = "InvalidRequest"; +const _IRIP = "IsRestoreInProgress"; +const _IS = "InputSerialization"; +const _ISBD = "InventoryS3BucketDestination"; +const _ISn = "InventorySchedule"; +const _IT = "IsTruncated"; +const _ITAO = "IntelligentTieringAndOperator"; +const _ITC = "IntelligentTieringConfiguration"; +const _ITCL = "IntelligentTieringConfigurationList"; +const _ITCR = "InventoryTableConfigurationResult"; +const _ITCU = "InventoryTableConfigurationUpdates"; +const _ITCn = "InventoryTableConfiguration"; +const _ITF = "IntelligentTieringFilter"; +const _IUS = "IfUnmodifiedSince"; +const _IUS_ = "If-Unmodified-Since"; +const _IWO = "InvalidWriteOffset"; +const _In = "Initiator"; +const _Ini = "Initiated"; +const _JSON = "JSON"; +const _JSONI = "JSONInput"; +const _JSONO = "JSONOutput"; +const _JTC = "JournalTableConfiguration"; +const _JTCR = "JournalTableConfigurationResult"; +const _JTCU = "JournalTableConfigurationUpdates"; +const _K = "Key"; +const _KC = "KeyCount"; +const _KI = "KeyId"; +const _KKA = "KmsKeyArn"; +const _KM = "KeyMarker"; +const _KMSC = "KMSContext"; +const _KMSKA = "KMSKeyArn"; +const _KMSKI = "KMSKeyId"; +const _KMSMKID = "KMSMasterKeyID"; +const _KPE = "KeyPrefixEquals"; +const _L = "Location"; +const _LAMBR = "ListAllMyBucketsResult"; +const _LAMDBR = "ListAllMyDirectoryBucketsResult"; +const _LB = "ListBuckets"; +const _LBAC = "ListBucketAnalyticsConfigurations"; +const _LBACO = "ListBucketAnalyticsConfigurationsOutput"; +const _LBACR = "ListBucketAnalyticsConfigurationResult"; +const _LBACRi = "ListBucketAnalyticsConfigurationsRequest"; +const _LBIC = "ListBucketInventoryConfigurations"; +const _LBICO = "ListBucketInventoryConfigurationsOutput"; +const _LBICR = "ListBucketInventoryConfigurationsRequest"; +const _LBITC = "ListBucketIntelligentTieringConfigurations"; +const _LBITCO = "ListBucketIntelligentTieringConfigurationsOutput"; +const _LBITCR = "ListBucketIntelligentTieringConfigurationsRequest"; +const _LBMC = "ListBucketMetricsConfigurations"; +const _LBMCO = "ListBucketMetricsConfigurationsOutput"; +const _LBMCR = "ListBucketMetricsConfigurationsRequest"; +const _LBO = "ListBucketsOutput"; +const _LBR = "ListBucketsRequest"; +const _LBRi = "ListBucketResult"; +const _LC = "LocationConstraint"; +const _LCi = "LifecycleConfiguration"; +const _LDB = "ListDirectoryBuckets"; +const _LDBO = "ListDirectoryBucketsOutput"; +const _LDBR = "ListDirectoryBucketsRequest"; +const _LE = "LoggingEnabled"; +const _LEi = "LifecycleExpiration"; +const _LFA = "LambdaFunctionArn"; +const _LFC = "LambdaFunctionConfiguration"; +const _LFCL = "LambdaFunctionConfigurationList"; +const _LFCa = "LambdaFunctionConfigurations"; +const _LH = "LegalHold"; +const _LI = "LocationInfo"; +const _LICR = "ListInventoryConfigurationsResult"; +const _LM = "LastModified"; +const _LMCR = "ListMetricsConfigurationsResult"; +const _LMT = "LastModifiedTime"; +const _LMU = "ListMultipartUploads"; +const _LMUO = "ListMultipartUploadsOutput"; +const _LMUR = "ListMultipartUploadsResult"; +const _LMURi = "ListMultipartUploadsRequest"; +const _LM_ = "Last-Modified"; +const _LO = "ListObjects"; +const _LOO = "ListObjectsOutput"; +const _LOR = "ListObjectsRequest"; +const _LOV = "ListObjectsV2"; +const _LOVO = "ListObjectsV2Output"; +const _LOVOi = "ListObjectVersionsOutput"; +const _LOVR = "ListObjectsV2Request"; +const _LOVRi = "ListObjectVersionsRequest"; +const _LOVi = "ListObjectVersions"; +const _LP = "ListParts"; +const _LPO = "ListPartsOutput"; +const _LPR = "ListPartsResult"; +const _LPRi = "ListPartsRequest"; +const _LR = "LifecycleRule"; +const _LRAO = "LifecycleRuleAndOperator"; +const _LRF = "LifecycleRuleFilter"; +const _LRi = "LifecycleRules"; +const _LVR = "ListVersionsResult"; +const _M = "Metadata"; +const _MAO = "MetricsAndOperator"; +const _MAS = "MaxAgeSeconds"; +const _MB = "MaxBuckets"; +const _MC = "MetadataConfiguration"; +const _MCL = "MetricsConfigurationList"; +const _MCR = "MetadataConfigurationResult"; +const _MCe = "MetricsConfiguration"; +const _MD = "MetadataDirective"; +const _MDB = "MaxDirectoryBuckets"; +const _MDf = "MfaDelete"; +const _ME = "MetadataEntry"; +const _MF = "MetricsFilter"; +const _MFA = "MFA"; +const _MFAD = "MFADelete"; +const _MK = "MaxKeys"; +const _MM = "MissingMeta"; +const _MOS = "MpuObjectSize"; +const _MP = "MaxParts"; +const _MTC = "MetadataTableConfiguration"; +const _MTCR = "MetadataTableConfigurationResult"; +const _MTEC = "MetadataTableEncryptionConfiguration"; +const _MU = "MultipartUpload"; +const _MUL = "MultipartUploadList"; +const _MUa = "MaxUploads"; +const _Ma = "Marker"; +const _Me = "Metrics"; +const _Mes = "Message"; +const _Mi = "Minutes"; +const _Mo = "Mode"; +const _N = "Name"; +const _NC = "NotificationConfiguration"; +const _NCF = "NotificationConfigurationFilter"; +const _NCT = "NextContinuationToken"; +const _ND = "NoncurrentDays"; +const _NEKKAS = "NonEmptyKmsKeyArnString"; +const _NF = "NotFound"; +const _NKM = "NextKeyMarker"; +const _NM = "NextMarker"; +const _NNV = "NewerNoncurrentVersions"; +const _NPNM = "NextPartNumberMarker"; +const _NSB = "NoSuchBucket"; +const _NSK = "NoSuchKey"; +const _NSU = "NoSuchUpload"; +const _NUIM = "NextUploadIdMarker"; +const _NVE = "NoncurrentVersionExpiration"; +const _NVIM = "NextVersionIdMarker"; +const _NVT = "NoncurrentVersionTransitions"; +const _NVTL = "NoncurrentVersionTransitionList"; +const _NVTo = "NoncurrentVersionTransition"; +const _O = "Owner"; +const _OA = "ObjectAttributes"; +const _OAIATE = "ObjectAlreadyInActiveTierError"; +const _OC = "OwnershipControls"; +const _OCR = "OwnershipControlsRule"; +const _OCRw = "OwnershipControlsRules"; +const _OE = "ObjectEncryption"; +const _OF = "OptionalFields"; +const _OI = "ObjectIdentifier"; +const _OIL = "ObjectIdentifierList"; +const _OL = "OutputLocation"; +const _OLC = "ObjectLockConfiguration"; +const _OLE = "ObjectLockEnabled"; +const _OLEFB = "ObjectLockEnabledForBucket"; +const _OLLH = "ObjectLockLegalHold"; +const _OLLHS = "ObjectLockLegalHoldStatus"; +const _OLM = "ObjectLockMode"; +const _OLR = "ObjectLockRetention"; +const _OLRUD = "ObjectLockRetainUntilDate"; +const _OLRb = "ObjectLockRule"; +const _OLb = "ObjectList"; +const _ONIATE = "ObjectNotInActiveTierError"; +const _OO = "ObjectOwnership"; +const _OOA = "OptionalObjectAttributes"; +const _OP = "ObjectParts"; +const _OPb = "ObjectPart"; +const _OS = "ObjectSize"; +const _OSGT = "ObjectSizeGreaterThan"; +const _OSLT = "ObjectSizeLessThan"; +const _OSV = "OutputSchemaVersion"; +const _OSu = "OutputSerialization"; +const _OV = "ObjectVersion"; +const _OVL = "ObjectVersionList"; +const _Ob = "Objects"; +const _Obj = "Object"; +const _P = "Prefix"; +const _PABC = "PublicAccessBlockConfiguration"; +const _PBA = "PutBucketAbac"; +const _PBAC = "PutBucketAccelerateConfiguration"; +const _PBACR = "PutBucketAccelerateConfigurationRequest"; +const _PBACRu = "PutBucketAnalyticsConfigurationRequest"; +const _PBACu = "PutBucketAnalyticsConfiguration"; +const _PBAR = "PutBucketAbacRequest"; +const _PBARu = "PutBucketAclRequest"; +const _PBAu = "PutBucketAcl"; +const _PBC = "PutBucketCors"; +const _PBCR = "PutBucketCorsRequest"; +const _PBE = "PutBucketEncryption"; +const _PBER = "PutBucketEncryptionRequest"; +const _PBIC = "PutBucketInventoryConfiguration"; +const _PBICR = "PutBucketInventoryConfigurationRequest"; +const _PBITC = "PutBucketIntelligentTieringConfiguration"; +const _PBITCR = "PutBucketIntelligentTieringConfigurationRequest"; +const _PBL = "PutBucketLogging"; +const _PBLC = "PutBucketLifecycleConfiguration"; +const _PBLCO = "PutBucketLifecycleConfigurationOutput"; +const _PBLCR = "PutBucketLifecycleConfigurationRequest"; +const _PBLR = "PutBucketLoggingRequest"; +const _PBMC = "PutBucketMetricsConfiguration"; +const _PBMCR = "PutBucketMetricsConfigurationRequest"; +const _PBNC = "PutBucketNotificationConfiguration"; +const _PBNCR = "PutBucketNotificationConfigurationRequest"; +const _PBOC = "PutBucketOwnershipControls"; +const _PBOCR = "PutBucketOwnershipControlsRequest"; +const _PBP = "PutBucketPolicy"; +const _PBPR = "PutBucketPolicyRequest"; +const _PBR = "PutBucketReplication"; +const _PBRP = "PutBucketRequestPayment"; +const _PBRPR = "PutBucketRequestPaymentRequest"; +const _PBRR = "PutBucketReplicationRequest"; +const _PBT = "PutBucketTagging"; +const _PBTR = "PutBucketTaggingRequest"; +const _PBV = "PutBucketVersioning"; +const _PBVR = "PutBucketVersioningRequest"; +const _PBW = "PutBucketWebsite"; +const _PBWR = "PutBucketWebsiteRequest"; +const _PC = "PartsCount"; +const _PDS = "PartitionDateSource"; +const _PE = "ProgressEvent"; +const _PI = "ParquetInput"; +const _PL = "PartsList"; +const _PN = "PartNumber"; +const _PNM = "PartNumberMarker"; +const _PO = "PutObject"; +const _POA = "PutObjectAcl"; +const _POAO = "PutObjectAclOutput"; +const _POAR = "PutObjectAclRequest"; +const _POLC = "PutObjectLockConfiguration"; +const _POLCO = "PutObjectLockConfigurationOutput"; +const _POLCR = "PutObjectLockConfigurationRequest"; +const _POLH = "PutObjectLegalHold"; +const _POLHO = "PutObjectLegalHoldOutput"; +const _POLHR = "PutObjectLegalHoldRequest"; +const _POO = "PutObjectOutput"; +const _POR = "PutObjectRequest"; +const _PORO = "PutObjectRetentionOutput"; +const _PORR = "PutObjectRetentionRequest"; +const _PORu = "PutObjectRetention"; +const _POT = "PutObjectTagging"; +const _POTO = "PutObjectTaggingOutput"; +const _POTR = "PutObjectTaggingRequest"; +const _PP = "PartitionedPrefix"; +const _PPAB = "PutPublicAccessBlock"; +const _PPABR = "PutPublicAccessBlockRequest"; +const _PS = "PolicyStatus"; +const _Pa = "Parts"; +const _Par = "Part"; +const _Parq = "Parquet"; +const _Pay = "Payer"; +const _Payl = "Payload"; +const _Pe = "Permission"; +const _Po = "Policy"; +const _Pr = "Progress"; +const _Pri = "Priority"; +const _Pro = "Protocol"; +const _Q = "Quiet"; +const _QA = "QueueArn"; +const _QC = "QuoteCharacter"; +const _QCL = "QueueConfigurationList"; +const _QCu = "QueueConfigurations"; +const _QCue = "QueueConfiguration"; +const _QEC = "QuoteEscapeCharacter"; +const _QF = "QuoteFields"; +const _Qu = "Queue"; +const _R = "Rules"; +const _RART = "RedirectAllRequestsTo"; +const _RC = "RequestCharged"; +const _RCC = "ResponseCacheControl"; +const _RCD = "ResponseContentDisposition"; +const _RCE = "ResponseContentEncoding"; +const _RCL = "ResponseContentLanguage"; +const _RCT = "ResponseContentType"; +const _RCe = "ReplicationConfiguration"; +const _RD = "RecordDelimiter"; +const _RE = "ResponseExpires"; +const _RED = "RestoreExpiryDate"; +const _REe = "RecordExpiration"; +const _REec = "RecordsEvent"; +const _RKKID = "ReplicaKmsKeyID"; +const _RKPW = "ReplaceKeyPrefixWith"; +const _RKW = "ReplaceKeyWith"; +const _RM = "ReplicaModifications"; +const _RO = "RenameObject"; +const _ROO = "RenameObjectOutput"; +const _ROOe = "RestoreObjectOutput"; +const _ROP = "RestoreOutputPath"; +const _ROR = "RenameObjectRequest"; +const _RORe = "RestoreObjectRequest"; +const _ROe = "RestoreObject"; +const _RP = "RequestPayer"; +const _RPB = "RestrictPublicBuckets"; +const _RPC = "RequestPaymentConfiguration"; +const _RPe = "RequestProgress"; +const _RR = "RoutingRules"; +const _RRAO = "ReplicationRuleAndOperator"; +const _RRF = "ReplicationRuleFilter"; +const _RRe = "ReplicationRule"; +const _RRep = "ReplicationRules"; +const _RReq = "RequestRoute"; +const _RRes = "RestoreRequest"; +const _RRo = "RoutingRule"; +const _RS = "ReplicationStatus"; +const _RSe = "RestoreStatus"; +const _RSen = "RenameSource"; +const _RT = "ReplicationTime"; +const _RTV = "ReplicationTimeValue"; +const _RTe = "RequestToken"; +const _RUD = "RetainUntilDate"; +const _Ra = "Range"; +const _Re = "Restore"; +const _Rec = "Records"; +const _Red = "Redirect"; +const _Ret = "Retention"; +const _Ro = "Role"; +const _Ru = "Rule"; +const _S = "Status"; +const _SA = "StartAfter"; +const _SAK = "SecretAccessKey"; +const _SAs = "SseAlgorithm"; +const _SB = "StreamingBlob"; +const _SBD = "S3BucketDestination"; +const _SC = "StorageClass"; +const _SCA = "StorageClassAnalysis"; +const _SCADE = "StorageClassAnalysisDataExport"; +const _SCV = "SessionCredentialValue"; +const _SCe = "SessionCredentials"; +const _SCt = "StatusCode"; +const _SDV = "SkipDestinationValidation"; +const _SE = "StatsEvent"; +const _SIM = "SourceIfMatch"; +const _SIMS = "SourceIfModifiedSince"; +const _SINM = "SourceIfNoneMatch"; +const _SIUS = "SourceIfUnmodifiedSince"; +const _SK = "SSE-KMS"; +const _SKEO = "SseKmsEncryptedObjects"; +const _SKF = "S3KeyFilter"; +const _SKe = "S3Key"; +const _SL = "S3Location"; +const _SM = "SessionMode"; +const _SOC = "SelectObjectContent"; +const _SOCES = "SelectObjectContentEventStream"; +const _SOCO = "SelectObjectContentOutput"; +const _SOCR = "SelectObjectContentRequest"; +const _SP = "SelectParameters"; +const _SPi = "SimplePrefix"; +const _SR = "ScanRange"; +const _SS = "SSE-S3"; +const _SSC = "SourceSelectionCriteria"; +const _SSE = "ServerSideEncryption"; +const _SSEA = "SSEAlgorithm"; +const _SSEBD = "ServerSideEncryptionByDefault"; +const _SSEC = "ServerSideEncryptionConfiguration"; +const _SSECA = "SSECustomerAlgorithm"; +const _SSECK = "SSECustomerKey"; +const _SSECKMD = "SSECustomerKeyMD5"; +const _SSEKMS = "SSEKMS"; +const _SSEKMSE = "SSEKMSEncryption"; +const _SSEKMSEC = "SSEKMSEncryptionContext"; +const _SSEKMSKI = "SSEKMSKeyId"; +const _SSER = "ServerSideEncryptionRule"; +const _SSERe = "ServerSideEncryptionRules"; +const _SSES = "SSES3"; +const _ST = "SessionToken"; +const _STD = "S3TablesDestination"; +const _STDR = "S3TablesDestinationResult"; +const _S_ = "S3"; +const _Sc = "Schedule"; +const _Si = "Size"; +const _St = "Start"; +const _Sta = "Stats"; +const _Su = "Suffix"; +const _T = "Tags"; +const _TA = "TableArn"; +const _TAo = "TopicArn"; +const _TB = "TargetBucket"; +const _TBA = "TableBucketArn"; +const _TBT = "TableBucketType"; +const _TC = "TagCount"; +const _TCL = "TopicConfigurationList"; +const _TCo = "TopicConfigurations"; +const _TCop = "TopicConfiguration"; +const _TD = "TaggingDirective"; +const _TDMOS = "TransitionDefaultMinimumObjectSize"; +const _TG = "TargetGrants"; +const _TGa = "TargetGrant"; +const _TL = "TieringList"; +const _TLr = "TransitionList"; +const _TMP = "TooManyParts"; +const _TN = "TableNamespace"; +const _TNa = "TableName"; +const _TOKF = "TargetObjectKeyFormat"; +const _TP = "TargetPrefix"; +const _TPC = "TotalPartsCount"; +const _TS = "TagSet"; +const _TSa = "TableStatus"; +const _Ta = "Tag"; +const _Tag = "Tagging"; +const _Ti = "Tier"; +const _Tie = "Tierings"; +const _Tier = "Tiering"; +const _Tim = "Time"; +const _To = "Token"; +const _Top = "Topic"; +const _Tr = "Transitions"; +const _Tra = "Transition"; +const _Ty = "Type"; +const _U = "Uploads"; +const _UBMITC = "UpdateBucketMetadataInventoryTableConfiguration"; +const _UBMITCR = "UpdateBucketMetadataInventoryTableConfigurationRequest"; +const _UBMJTC = "UpdateBucketMetadataJournalTableConfiguration"; +const _UBMJTCR = "UpdateBucketMetadataJournalTableConfigurationRequest"; +const _UI = "UploadId"; +const _UIM = "UploadIdMarker"; +const _UM = "UserMetadata"; +const _UOE = "UpdateObjectEncryption"; +const _UOER = "UpdateObjectEncryptionRequest"; +const _UOERp = "UpdateObjectEncryptionResponse"; +const _UP = "UploadPart"; +const _UPC = "UploadPartCopy"; +const _UPCO = "UploadPartCopyOutput"; +const _UPCR = "UploadPartCopyRequest"; +const _UPO = "UploadPartOutput"; +const _UPR = "UploadPartRequest"; +const _URI = "URI"; +const _Up = "Upload"; +const _V = "Value"; +const _VC = "VersioningConfiguration"; +const _VI = "VersionId"; +const _VIM = "VersionIdMarker"; +const _Ve = "Versions"; +const _Ver = "Version"; +const _WC = "WebsiteConfiguration"; +const _WGOR = "WriteGetObjectResponse"; +const _WGORR = "WriteGetObjectResponseRequest"; +const _WOB = "WriteOffsetBytes"; +const _WRL = "WebsiteRedirectLocation"; +const _Y = "Years"; +const _ar = "accept-ranges"; +const _br = "bucket-region"; +const _c = "client"; +const _ct = "continuation-token"; +const _d = "delimiter"; +const _e = "error"; +const _eP = "eventPayload"; +const _en = "endpoint"; +const _et = "encoding-type"; +const _fo = "fetch-owner"; +const _h = "http"; +const _hC = "httpChecksum"; +const _hE = "httpError"; +const _hH = "httpHeader"; +const _hL = "hostLabel"; +const _hP = "httpPayload"; +const _hPH = "httpPrefixHeaders"; +const _hQ = "httpQuery"; +const _hi = "http://www.w3.org/2001/XMLSchema-instance"; +const _i = "id"; +const _iT = "idempotencyToken"; +const _km = "key-marker"; +const _m = "marker"; +const _mb = "max-buckets"; +const _mdb = "max-directory-buckets"; +const _mk = "max-keys"; +const _mp = "max-parts"; +const _mu = "max-uploads"; +const _p = "prefix"; +const _pN = "partNumber"; +const _pnm = "part-number-marker"; +const _rcc = "response-cache-control"; +const _rcd = "response-content-disposition"; +const _rce = "response-content-encoding"; +const _rcl = "response-content-language"; +const _rct = "response-content-type"; +const _re = "response-expires"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.s3"; +const _sa = "start-after"; +const _st = "streaming"; +const _uI = "uploadId"; +const _uim = "upload-id-marker"; +const _vI = "versionId"; +const _vim = "version-id-marker"; +const _x = "xsi"; +const _xA = "xmlAttribute"; +const _xF = "xmlFlattened"; +const _xN = "xmlName"; +const _xNm = "xmlNamespace"; +const _xaa = "x-amz-acl"; +const _xaad = "x-amz-abort-date"; +const _xaapa = "x-amz-access-point-alias"; +const _xaari = "x-amz-abort-rule-id"; +const _xaas = "x-amz-archive-status"; +const _xaba = "x-amz-bucket-arn"; +const _xabgr = "x-amz-bypass-governance-retention"; +const _xabln = "x-amz-bucket-location-name"; +const _xablt = "x-amz-bucket-location-type"; +const _xabn = "x-amz-bucket-namespace"; +const _xabole = "x-amz-bucket-object-lock-enabled"; +const _xabolt = "x-amz-bucket-object-lock-token"; +const _xabr = "x-amz-bucket-region"; +const _xaca = "x-amz-checksum-algorithm"; +const _xacc = "x-amz-checksum-crc32"; +const _xacc_ = "x-amz-checksum-crc32c"; +const _xacc__ = "x-amz-checksum-crc64nvme"; +const _xacm = "x-amz-checksum-mode"; +const _xacrsba = "x-amz-confirm-remove-self-bucket-access"; +const _xacs = "x-amz-checksum-sha1"; +const _xacs_ = "x-amz-checksum-sha256"; +const _xacs__ = "x-amz-copy-source"; +const _xacsim = "x-amz-copy-source-if-match"; +const _xacsims = "x-amz-copy-source-if-modified-since"; +const _xacsinm = "x-amz-copy-source-if-none-match"; +const _xacsius = "x-amz-copy-source-if-unmodified-since"; +const _xacsm = "x-amz-create-session-mode"; +const _xacsr = "x-amz-copy-source-range"; +const _xacssseca = "x-amz-copy-source-server-side-encryption-customer-algorithm"; +const _xacssseck = "x-amz-copy-source-server-side-encryption-customer-key"; +const _xacssseckM = "x-amz-copy-source-server-side-encryption-customer-key-MD5"; +const _xacsvi = "x-amz-copy-source-version-id"; +const _xact = "x-amz-checksum-type"; +const _xact_ = "x-amz-client-token"; +const _xadm = "x-amz-delete-marker"; +const _xae = "x-amz-expiration"; +const _xaebo = "x-amz-expected-bucket-owner"; +const _xafec = "x-amz-fwd-error-code"; +const _xafem = "x-amz-fwd-error-message"; +const _xafhCC = "x-amz-fwd-header-Cache-Control"; +const _xafhCD = "x-amz-fwd-header-Content-Disposition"; +const _xafhCE = "x-amz-fwd-header-Content-Encoding"; +const _xafhCL = "x-amz-fwd-header-Content-Language"; +const _xafhCR = "x-amz-fwd-header-Content-Range"; +const _xafhCT = "x-amz-fwd-header-Content-Type"; +const _xafhE = "x-amz-fwd-header-ETag"; +const _xafhE_ = "x-amz-fwd-header-Expires"; +const _xafhLM = "x-amz-fwd-header-Last-Modified"; +const _xafhar = "x-amz-fwd-header-accept-ranges"; +const _xafhxacc = "x-amz-fwd-header-x-amz-checksum-crc32"; +const _xafhxacc_ = "x-amz-fwd-header-x-amz-checksum-crc32c"; +const _xafhxacc__ = "x-amz-fwd-header-x-amz-checksum-crc64nvme"; +const _xafhxacs = "x-amz-fwd-header-x-amz-checksum-sha1"; +const _xafhxacs_ = "x-amz-fwd-header-x-amz-checksum-sha256"; +const _xafhxadm = "x-amz-fwd-header-x-amz-delete-marker"; +const _xafhxae = "x-amz-fwd-header-x-amz-expiration"; +const _xafhxamm = "x-amz-fwd-header-x-amz-missing-meta"; +const _xafhxampc = "x-amz-fwd-header-x-amz-mp-parts-count"; +const _xafhxaollh = "x-amz-fwd-header-x-amz-object-lock-legal-hold"; +const _xafhxaolm = "x-amz-fwd-header-x-amz-object-lock-mode"; +const _xafhxaolrud = "x-amz-fwd-header-x-amz-object-lock-retain-until-date"; +const _xafhxar = "x-amz-fwd-header-x-amz-restore"; +const _xafhxarc = "x-amz-fwd-header-x-amz-request-charged"; +const _xafhxars = "x-amz-fwd-header-x-amz-replication-status"; +const _xafhxasc = "x-amz-fwd-header-x-amz-storage-class"; +const _xafhxasse = "x-amz-fwd-header-x-amz-server-side-encryption"; +const _xafhxasseakki = "x-amz-fwd-header-x-amz-server-side-encryption-aws-kms-key-id"; +const _xafhxassebke = "x-amz-fwd-header-x-amz-server-side-encryption-bucket-key-enabled"; +const _xafhxasseca = "x-amz-fwd-header-x-amz-server-side-encryption-customer-algorithm"; +const _xafhxasseckM = "x-amz-fwd-header-x-amz-server-side-encryption-customer-key-MD5"; +const _xafhxatc = "x-amz-fwd-header-x-amz-tagging-count"; +const _xafhxavi = "x-amz-fwd-header-x-amz-version-id"; +const _xafs = "x-amz-fwd-status"; +const _xagfc = "x-amz-grant-full-control"; +const _xagr = "x-amz-grant-read"; +const _xagra = "x-amz-grant-read-acp"; +const _xagw = "x-amz-grant-write"; +const _xagwa = "x-amz-grant-write-acp"; +const _xaimit = "x-amz-if-match-initiated-time"; +const _xaimlmt = "x-amz-if-match-last-modified-time"; +const _xaims = "x-amz-if-match-size"; +const _xam = "x-amz-meta-"; +const _xam_ = "x-amz-mfa"; +const _xamd = "x-amz-metadata-directive"; +const _xamm = "x-amz-missing-meta"; +const _xamos = "x-amz-mp-object-size"; +const _xamp = "x-amz-max-parts"; +const _xampc = "x-amz-mp-parts-count"; +const _xaoa = "x-amz-object-attributes"; +const _xaollh = "x-amz-object-lock-legal-hold"; +const _xaolm = "x-amz-object-lock-mode"; +const _xaolrud = "x-amz-object-lock-retain-until-date"; +const _xaoo = "x-amz-object-ownership"; +const _xaooa = "x-amz-optional-object-attributes"; +const _xaos = "x-amz-object-size"; +const _xapnm = "x-amz-part-number-marker"; +const _xar = "x-amz-restore"; +const _xarc = "x-amz-request-charged"; +const _xarop = "x-amz-restore-output-path"; +const _xarp = "x-amz-request-payer"; +const _xarr = "x-amz-request-route"; +const _xars = "x-amz-replication-status"; +const _xars_ = "x-amz-rename-source"; +const _xarsim = "x-amz-rename-source-if-match"; +const _xarsims = "x-amz-rename-source-if-modified-since"; +const _xarsinm = "x-amz-rename-source-if-none-match"; +const _xarsius = "x-amz-rename-source-if-unmodified-since"; +const _xart = "x-amz-request-token"; +const _xasc = "x-amz-storage-class"; +const _xasca = "x-amz-sdk-checksum-algorithm"; +const _xasdv = "x-amz-skip-destination-validation"; +const _xasebo = "x-amz-source-expected-bucket-owner"; +const _xasse = "x-amz-server-side-encryption"; +const _xasseakki = "x-amz-server-side-encryption-aws-kms-key-id"; +const _xassebke = "x-amz-server-side-encryption-bucket-key-enabled"; +const _xassec = "x-amz-server-side-encryption-context"; +const _xasseca = "x-amz-server-side-encryption-customer-algorithm"; +const _xasseck = "x-amz-server-side-encryption-customer-key"; +const _xasseckM = "x-amz-server-side-encryption-customer-key-MD5"; +const _xat = "x-amz-tagging"; +const _xatc = "x-amz-tagging-count"; +const _xatd = "x-amz-tagging-directive"; +const _xatdmos = "x-amz-transition-default-minimum-object-size"; +const _xavi = "x-amz-version-id"; +const _xawob = "x-amz-write-offset-bytes"; +const _xawrl = "x-amz-website-redirect-location"; +const _xs = "xsi:type"; +const n0 = "com.amazonaws.s3"; +const schema_1 = require("@smithy/core/schema"); +const errors_1 = require("../models/errors"); +const S3ServiceException_1 = require("../models/S3ServiceException"); +const _s_registry = schema_1.TypeRegistry.for(_s); +exports.S3ServiceException$ = [-3, _s, "S3ServiceException", 0, [], []]; +_s_registry.registerError(exports.S3ServiceException$, S3ServiceException_1.S3ServiceException); +const n0_registry = schema_1.TypeRegistry.for(n0); +exports.AccessDenied$ = [-3, n0, _AD, + { [_e]: _c, [_hE]: 403 }, + [], + [] +]; +n0_registry.registerError(exports.AccessDenied$, errors_1.AccessDenied); +exports.BucketAlreadyExists$ = [-3, n0, _BAE, + { [_e]: _c, [_hE]: 409 }, + [], + [] +]; +n0_registry.registerError(exports.BucketAlreadyExists$, errors_1.BucketAlreadyExists); +exports.BucketAlreadyOwnedByYou$ = [-3, n0, _BAOBY, + { [_e]: _c, [_hE]: 409 }, + [], + [] +]; +n0_registry.registerError(exports.BucketAlreadyOwnedByYou$, errors_1.BucketAlreadyOwnedByYou); +exports.EncryptionTypeMismatch$ = [-3, n0, _ETM, + { [_e]: _c, [_hE]: 400 }, + [], + [] +]; +n0_registry.registerError(exports.EncryptionTypeMismatch$, errors_1.EncryptionTypeMismatch); +exports.IdempotencyParameterMismatch$ = [-3, n0, _IPM, + { [_e]: _c, [_hE]: 400 }, + [], + [] +]; +n0_registry.registerError(exports.IdempotencyParameterMismatch$, errors_1.IdempotencyParameterMismatch); +exports.InvalidObjectState$ = [-3, n0, _IOS, + { [_e]: _c, [_hE]: 403 }, + [_SC, _AT], + [0, 0] +]; +n0_registry.registerError(exports.InvalidObjectState$, errors_1.InvalidObjectState); +exports.InvalidRequest$ = [-3, n0, _IR, + { [_e]: _c, [_hE]: 400 }, + [], + [] +]; +n0_registry.registerError(exports.InvalidRequest$, errors_1.InvalidRequest); +exports.InvalidWriteOffset$ = [-3, n0, _IWO, + { [_e]: _c, [_hE]: 400 }, + [], + [] +]; +n0_registry.registerError(exports.InvalidWriteOffset$, errors_1.InvalidWriteOffset); +exports.NoSuchBucket$ = [-3, n0, _NSB, + { [_e]: _c, [_hE]: 404 }, + [], + [] +]; +n0_registry.registerError(exports.NoSuchBucket$, errors_1.NoSuchBucket); +exports.NoSuchKey$ = [-3, n0, _NSK, + { [_e]: _c, [_hE]: 404 }, + [], + [] +]; +n0_registry.registerError(exports.NoSuchKey$, errors_1.NoSuchKey); +exports.NoSuchUpload$ = [-3, n0, _NSU, + { [_e]: _c, [_hE]: 404 }, + [], + [] +]; +n0_registry.registerError(exports.NoSuchUpload$, errors_1.NoSuchUpload); +exports.NotFound$ = [-3, n0, _NF, + { [_e]: _c }, + [], + [] +]; +n0_registry.registerError(exports.NotFound$, errors_1.NotFound); +exports.ObjectAlreadyInActiveTierError$ = [-3, n0, _OAIATE, + { [_e]: _c, [_hE]: 403 }, + [], + [] +]; +n0_registry.registerError(exports.ObjectAlreadyInActiveTierError$, errors_1.ObjectAlreadyInActiveTierError); +exports.ObjectNotInActiveTierError$ = [-3, n0, _ONIATE, + { [_e]: _c, [_hE]: 403 }, + [], + [] +]; +n0_registry.registerError(exports.ObjectNotInActiveTierError$, errors_1.ObjectNotInActiveTierError); +exports.TooManyParts$ = [-3, n0, _TMP, + { [_e]: _c, [_hE]: 400 }, + [], + [] +]; +n0_registry.registerError(exports.TooManyParts$, errors_1.TooManyParts); +exports.errorTypeRegistries = [ + _s_registry, + n0_registry, +]; +var CopySourceSSECustomerKey = [0, n0, _CSSSECK, 8, 0]; +var NonEmptyKmsKeyArnString = [0, n0, _NEKKAS, 8, 0]; +var SessionCredentialValue = [0, n0, _SCV, 8, 0]; +var SSECustomerKey = [0, n0, _SSECK, 8, 0]; +var SSEKMSEncryptionContext = [0, n0, _SSEKMSEC, 8, 0]; +var SSEKMSKeyId = [0, n0, _SSEKMSKI, 8, 0]; +var StreamingBlob = [0, n0, _SB, { [_st]: 1 }, 42]; +exports.AbacStatus$ = [3, n0, _AS, + 0, + [_S], + [0] +]; +exports.AbortIncompleteMultipartUpload$ = [3, n0, _AIMU, + 0, + [_DAI], + [1] +]; +exports.AbortMultipartUploadOutput$ = [3, n0, _AMUO, + 0, + [_RC], + [[0, { [_hH]: _xarc }]] +]; +exports.AbortMultipartUploadRequest$ = [3, n0, _AMUR, + 0, + [_B, _K, _UI, _RP, _EBO, _IMIT], + [[0, 1], [0, 1], [0, { [_hQ]: _uI }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }], [6, { [_hH]: _xaimit }]], 3 +]; +exports.AccelerateConfiguration$ = [3, n0, _AC, + 0, + [_S], + [0] +]; +exports.AccessControlPolicy$ = [3, n0, _ACP, + 0, + [_G, _O], + [[() => Grants, { [_xN]: _ACL }], () => exports.Owner$] +]; +exports.AccessControlTranslation$ = [3, n0, _ACT, + 0, + [_O], + [0], 1 +]; +exports.AnalyticsAndOperator$ = [3, n0, _AAO, + 0, + [_P, _T], + [0, [() => TagSet, { [_xF]: 1, [_xN]: _Ta }]] +]; +exports.AnalyticsConfiguration$ = [3, n0, _ACn, + 0, + [_I, _SCA, _F], + [0, () => exports.StorageClassAnalysis$, [() => exports.AnalyticsFilter$, 0]], 2 +]; +exports.AnalyticsExportDestination$ = [3, n0, _AED, + 0, + [_SBD], + [() => exports.AnalyticsS3BucketDestination$], 1 +]; +exports.AnalyticsS3BucketDestination$ = [3, n0, _ASBD, + 0, + [_Fo, _B, _BAI, _P], + [0, 0, 0, 0], 2 +]; +exports.BlockedEncryptionTypes$ = [3, n0, _BET, + 0, + [_ET], + [[() => EncryptionTypeList, { [_xF]: 1 }]] +]; +exports.Bucket$ = [3, n0, _B, + 0, + [_N, _CD, _BR, _BA], + [0, 4, 0, 0] +]; +exports.BucketInfo$ = [3, n0, _BI, + 0, + [_DR, _Ty], + [0, 0] +]; +exports.BucketLifecycleConfiguration$ = [3, n0, _BLC, + 0, + [_R], + [[() => LifecycleRules, { [_xF]: 1, [_xN]: _Ru }]], 1 +]; +exports.BucketLoggingStatus$ = [3, n0, _BLS, + 0, + [_LE], + [[() => exports.LoggingEnabled$, 0]] +]; +exports.Checksum$ = [3, n0, _C, + 0, + [_CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CT], + [0, 0, 0, 0, 0, 0] +]; +exports.CommonPrefix$ = [3, n0, _CP, + 0, + [_P], + [0] +]; +exports.CompletedMultipartUpload$ = [3, n0, _CMU, + 0, + [_Pa], + [[() => CompletedPartList, { [_xF]: 1, [_xN]: _Par }]] +]; +exports.CompletedPart$ = [3, n0, _CPo, + 0, + [_ETa, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _PN], + [0, 0, 0, 0, 0, 0, 1] +]; +exports.CompleteMultipartUploadOutput$ = [3, n0, _CMUO, + { [_xN]: _CMUR }, + [_L, _B, _K, _E, _ETa, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CT, _SSE, _VI, _SSEKMSKI, _BKE, _RC], + [0, 0, 0, [0, { [_hH]: _xae }], 0, 0, 0, 0, 0, 0, 0, [0, { [_hH]: _xasse }], [0, { [_hH]: _xavi }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarc }]] +]; +exports.CompleteMultipartUploadRequest$ = [3, n0, _CMURo, + 0, + [_B, _K, _UI, _MU, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CT, _MOS, _RP, _EBO, _IM, _INM, _SSECA, _SSECK, _SSECKMD], + [[0, 1], [0, 1], [0, { [_hQ]: _uI }], [() => exports.CompletedMultipartUpload$, { [_hP]: 1, [_xN]: _CMUo }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xact }], [1, { [_hH]: _xamos }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _IM_ }], [0, { [_hH]: _INM_ }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }]], 3 +]; +exports.Condition$ = [3, n0, _Co, + 0, + [_HECRE, _KPE], + [0, 0] +]; +exports.ContinuationEvent$ = [3, n0, _CE, + 0, + [], + [] +]; +exports.CopyObjectOutput$ = [3, n0, _COO, + 0, + [_COR, _E, _CSVI, _VI, _SSE, _SSECA, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RC], + [[() => exports.CopyObjectResult$, 16], [0, { [_hH]: _xae }], [0, { [_hH]: _xacsvi }], [0, { [_hH]: _xavi }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarc }]] +]; +exports.CopyObjectRequest$ = [3, n0, _CORo, + 0, + [_B, _CS, _K, _ACL_, _CC, _CA, _CDo, _CEo, _CL, _CTo, _CSIM, _CSIMS, _CSINM, _CSIUS, _Ex, _GFC, _GR, _GRACP, _GWACP, _IM, _INM, _M, _MD, _TD, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _CSSSECA, _CSSSECK, _CSSSECKMD, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _EBO, _ESBO], + [[0, 1], [0, { [_hH]: _xacs__ }], [0, 1], [0, { [_hH]: _xaa }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _xaca }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _xacsim }], [4, { [_hH]: _xacsims }], [0, { [_hH]: _xacsinm }], [4, { [_hH]: _xacsius }], [4, { [_hH]: _Ex }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [0, { [_hH]: _IM_ }], [0, { [_hH]: _INM_ }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xamd }], [0, { [_hH]: _xatd }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xacssseca }], [() => CopySourceSSECustomerKey, { [_hH]: _xacssseck }], [0, { [_hH]: _xacssseckM }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xasebo }]], 3 +]; +exports.CopyObjectResult$ = [3, n0, _COR, + 0, + [_ETa, _LM, _CT, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh], + [0, 4, 0, 0, 0, 0, 0, 0] +]; +exports.CopyPartResult$ = [3, n0, _CPR, + 0, + [_ETa, _LM, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh], + [0, 4, 0, 0, 0, 0, 0] +]; +exports.CORSConfiguration$ = [3, n0, _CORSC, + 0, + [_CORSR], + [[() => CORSRules, { [_xF]: 1, [_xN]: _CORSRu }]], 1 +]; +exports.CORSRule$ = [3, n0, _CORSRu, + 0, + [_AM, _AO, _ID, _AH, _EH, _MAS], + [[64 | 0, { [_xF]: 1, [_xN]: _AMl }], [64 | 0, { [_xF]: 1, [_xN]: _AOl }], 0, [64 | 0, { [_xF]: 1, [_xN]: _AHl }], [64 | 0, { [_xF]: 1, [_xN]: _EHx }], 1], 2 +]; +exports.CreateBucketConfiguration$ = [3, n0, _CBC, + 0, + [_LC, _L, _B, _T], + [0, () => exports.LocationInfo$, () => exports.BucketInfo$, [() => TagSet, 0]] +]; +exports.CreateBucketMetadataConfigurationRequest$ = [3, n0, _CBMCR, + 0, + [_B, _MC, _CMD, _CA, _EBO], + [[0, 1], [() => exports.MetadataConfiguration$, { [_hP]: 1, [_xN]: _MC }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.CreateBucketMetadataTableConfigurationRequest$ = [3, n0, _CBMTCR, + 0, + [_B, _MTC, _CMD, _CA, _EBO], + [[0, 1], [() => exports.MetadataTableConfiguration$, { [_hP]: 1, [_xN]: _MTC }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.CreateBucketOutput$ = [3, n0, _CBO, + 0, + [_L, _BA], + [[0, { [_hH]: _L }], [0, { [_hH]: _xaba }]] +]; +exports.CreateBucketRequest$ = [3, n0, _CBR, + 0, + [_B, _ACL_, _CBC, _GFC, _GR, _GRACP, _GW, _GWACP, _OLEFB, _OO, _BN], + [[0, 1], [0, { [_hH]: _xaa }], [() => exports.CreateBucketConfiguration$, { [_hP]: 1, [_xN]: _CBC }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagw }], [0, { [_hH]: _xagwa }], [2, { [_hH]: _xabole }], [0, { [_hH]: _xaoo }], [0, { [_hH]: _xabn }]], 1 +]; +exports.CreateMultipartUploadOutput$ = [3, n0, _CMUOr, + { [_xN]: _IMUR }, + [_ADb, _ARI, _B, _K, _UI, _SSE, _SSECA, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RC, _CA, _CT], + [[4, { [_hH]: _xaad }], [0, { [_hH]: _xaari }], [0, { [_xN]: _B }], 0, 0, [0, { [_hH]: _xasse }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarc }], [0, { [_hH]: _xaca }], [0, { [_hH]: _xact }]] +]; +exports.CreateMultipartUploadRequest$ = [3, n0, _CMURr, + 0, + [_B, _K, _ACL_, _CC, _CDo, _CEo, _CL, _CTo, _Ex, _GFC, _GR, _GRACP, _GWACP, _M, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _EBO, _CA, _CT], + [[0, 1], [0, 1], [0, { [_hH]: _xaa }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [4, { [_hH]: _Ex }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xaca }], [0, { [_hH]: _xact }]], 2 +]; +exports.CreateSessionOutput$ = [3, n0, _CSO, + { [_xN]: _CSR }, + [_Cr, _SSE, _SSEKMSKI, _SSEKMSEC, _BKE], + [[() => exports.SessionCredentials$, { [_xN]: _Cr }], [0, { [_hH]: _xasse }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }]], 1 +]; +exports.CreateSessionRequest$ = [3, n0, _CSRr, + 0, + [_B, _SM, _SSE, _SSEKMSKI, _SSEKMSEC, _BKE], + [[0, 1], [0, { [_hH]: _xacsm }], [0, { [_hH]: _xasse }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }]], 1 +]; +exports.CSVInput$ = [3, n0, _CSVIn, + 0, + [_FHI, _Com, _QEC, _RD, _FD, _QC, _AQRD], + [0, 0, 0, 0, 0, 0, 2] +]; +exports.CSVOutput$ = [3, n0, _CSVO, + 0, + [_QF, _QEC, _RD, _FD, _QC], + [0, 0, 0, 0, 0] +]; +exports.DefaultRetention$ = [3, n0, _DRe, + 0, + [_Mo, _D, _Y], + [0, 1, 1] +]; +exports.Delete$ = [3, n0, _De, + 0, + [_Ob, _Q], + [[() => ObjectIdentifierList, { [_xF]: 1, [_xN]: _Obj }], 2], 1 +]; +exports.DeleteBucketAnalyticsConfigurationRequest$ = [3, n0, _DBACR, + 0, + [_B, _I, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.DeleteBucketCorsRequest$ = [3, n0, _DBCR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.DeleteBucketEncryptionRequest$ = [3, n0, _DBER, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.DeleteBucketIntelligentTieringConfigurationRequest$ = [3, n0, _DBITCR, + 0, + [_B, _I, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.DeleteBucketInventoryConfigurationRequest$ = [3, n0, _DBICR, + 0, + [_B, _I, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.DeleteBucketLifecycleRequest$ = [3, n0, _DBLR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.DeleteBucketMetadataConfigurationRequest$ = [3, n0, _DBMCR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.DeleteBucketMetadataTableConfigurationRequest$ = [3, n0, _DBMTCR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.DeleteBucketMetricsConfigurationRequest$ = [3, n0, _DBMCRe, + 0, + [_B, _I, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.DeleteBucketOwnershipControlsRequest$ = [3, n0, _DBOCR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.DeleteBucketPolicyRequest$ = [3, n0, _DBPR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.DeleteBucketReplicationRequest$ = [3, n0, _DBRR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.DeleteBucketRequest$ = [3, n0, _DBR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.DeleteBucketTaggingRequest$ = [3, n0, _DBTR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.DeleteBucketWebsiteRequest$ = [3, n0, _DBWR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.DeletedObject$ = [3, n0, _DO, + 0, + [_K, _VI, _DM, _DMVI], + [0, 0, 2, 0] +]; +exports.DeleteMarkerEntry$ = [3, n0, _DME, + 0, + [_O, _K, _VI, _IL, _LM], + [() => exports.Owner$, 0, 0, 2, 4] +]; +exports.DeleteMarkerReplication$ = [3, n0, _DMR, + 0, + [_S], + [0] +]; +exports.DeleteObjectOutput$ = [3, n0, _DOO, + 0, + [_DM, _VI, _RC], + [[2, { [_hH]: _xadm }], [0, { [_hH]: _xavi }], [0, { [_hH]: _xarc }]] +]; +exports.DeleteObjectRequest$ = [3, n0, _DOR, + 0, + [_B, _K, _MFA, _VI, _RP, _BGR, _EBO, _IM, _IMLMT, _IMS], + [[0, 1], [0, 1], [0, { [_hH]: _xam_ }], [0, { [_hQ]: _vI }], [0, { [_hH]: _xarp }], [2, { [_hH]: _xabgr }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _IM_ }], [6, { [_hH]: _xaimlmt }], [1, { [_hH]: _xaims }]], 2 +]; +exports.DeleteObjectsOutput$ = [3, n0, _DOOe, + { [_xN]: _DRel }, + [_Del, _RC, _Er], + [[() => DeletedObjects, { [_xF]: 1 }], [0, { [_hH]: _xarc }], [() => Errors, { [_xF]: 1, [_xN]: _Err }]] +]; +exports.DeleteObjectsRequest$ = [3, n0, _DORe, + 0, + [_B, _De, _MFA, _RP, _BGR, _EBO, _CA], + [[0, 1], [() => exports.Delete$, { [_hP]: 1, [_xN]: _De }], [0, { [_hH]: _xam_ }], [0, { [_hH]: _xarp }], [2, { [_hH]: _xabgr }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xasca }]], 2 +]; +exports.DeleteObjectTaggingOutput$ = [3, n0, _DOTO, + 0, + [_VI], + [[0, { [_hH]: _xavi }]] +]; +exports.DeleteObjectTaggingRequest$ = [3, n0, _DOTR, + 0, + [_B, _K, _VI, _EBO], + [[0, 1], [0, 1], [0, { [_hQ]: _vI }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.DeletePublicAccessBlockRequest$ = [3, n0, _DPABR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.Destination$ = [3, n0, _Des, + 0, + [_B, _A, _SC, _ACT, _EC, _RT, _Me], + [0, 0, 0, () => exports.AccessControlTranslation$, () => exports.EncryptionConfiguration$, () => exports.ReplicationTime$, () => exports.Metrics$], 1 +]; +exports.DestinationResult$ = [3, n0, _DRes, + 0, + [_TBT, _TBA, _TN], + [0, 0, 0] +]; +exports.Encryption$ = [3, n0, _En, + 0, + [_ET, _KMSKI, _KMSC], + [0, [() => SSEKMSKeyId, 0], 0], 1 +]; +exports.EncryptionConfiguration$ = [3, n0, _EC, + 0, + [_RKKID], + [0] +]; +exports.EndEvent$ = [3, n0, _EE, + 0, + [], + [] +]; +exports._Error$ = [3, n0, _Err, + 0, + [_K, _VI, _Cod, _Mes], + [0, 0, 0, 0] +]; +exports.ErrorDetails$ = [3, n0, _ED, + 0, + [_ECr, _EM], + [0, 0] +]; +exports.ErrorDocument$ = [3, n0, _EDr, + 0, + [_K], + [0], 1 +]; +exports.EventBridgeConfiguration$ = [3, n0, _EBC, + 0, + [], + [] +]; +exports.ExistingObjectReplication$ = [3, n0, _EOR, + 0, + [_S], + [0], 1 +]; +exports.FilterRule$ = [3, n0, _FR, + 0, + [_N, _V], + [0, 0] +]; +exports.GetBucketAbacOutput$ = [3, n0, _GBAO, + 0, + [_AS], + [[() => exports.AbacStatus$, 16]] +]; +exports.GetBucketAbacRequest$ = [3, n0, _GBAR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.GetBucketAccelerateConfigurationOutput$ = [3, n0, _GBACO, + { [_xN]: _AC }, + [_S, _RC], + [0, [0, { [_hH]: _xarc }]] +]; +exports.GetBucketAccelerateConfigurationRequest$ = [3, n0, _GBACR, + 0, + [_B, _EBO, _RP], + [[0, 1], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xarp }]], 1 +]; +exports.GetBucketAclOutput$ = [3, n0, _GBAOe, + { [_xN]: _ACP }, + [_O, _G], + [() => exports.Owner$, [() => Grants, { [_xN]: _ACL }]] +]; +exports.GetBucketAclRequest$ = [3, n0, _GBARe, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.GetBucketAnalyticsConfigurationOutput$ = [3, n0, _GBACOe, + 0, + [_ACn], + [[() => exports.AnalyticsConfiguration$, 16]] +]; +exports.GetBucketAnalyticsConfigurationRequest$ = [3, n0, _GBACRe, + 0, + [_B, _I, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.GetBucketCorsOutput$ = [3, n0, _GBCO, + { [_xN]: _CORSC }, + [_CORSR], + [[() => CORSRules, { [_xF]: 1, [_xN]: _CORSRu }]] +]; +exports.GetBucketCorsRequest$ = [3, n0, _GBCR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.GetBucketEncryptionOutput$ = [3, n0, _GBEO, + 0, + [_SSEC], + [[() => exports.ServerSideEncryptionConfiguration$, 16]] +]; +exports.GetBucketEncryptionRequest$ = [3, n0, _GBER, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.GetBucketIntelligentTieringConfigurationOutput$ = [3, n0, _GBITCO, + 0, + [_ITC], + [[() => exports.IntelligentTieringConfiguration$, 16]] +]; +exports.GetBucketIntelligentTieringConfigurationRequest$ = [3, n0, _GBITCR, + 0, + [_B, _I, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.GetBucketInventoryConfigurationOutput$ = [3, n0, _GBICO, + 0, + [_IC], + [[() => exports.InventoryConfiguration$, 16]] +]; +exports.GetBucketInventoryConfigurationRequest$ = [3, n0, _GBICR, + 0, + [_B, _I, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.GetBucketLifecycleConfigurationOutput$ = [3, n0, _GBLCO, + { [_xN]: _LCi }, + [_R, _TDMOS], + [[() => LifecycleRules, { [_xF]: 1, [_xN]: _Ru }], [0, { [_hH]: _xatdmos }]] +]; +exports.GetBucketLifecycleConfigurationRequest$ = [3, n0, _GBLCR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.GetBucketLocationOutput$ = [3, n0, _GBLO, + { [_xN]: _LC }, + [_LC], + [0] +]; +exports.GetBucketLocationRequest$ = [3, n0, _GBLR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.GetBucketLoggingOutput$ = [3, n0, _GBLOe, + { [_xN]: _BLS }, + [_LE], + [[() => exports.LoggingEnabled$, 0]] +]; +exports.GetBucketLoggingRequest$ = [3, n0, _GBLRe, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.GetBucketMetadataConfigurationOutput$ = [3, n0, _GBMCO, + 0, + [_GBMCR], + [[() => exports.GetBucketMetadataConfigurationResult$, 16]] +]; +exports.GetBucketMetadataConfigurationRequest$ = [3, n0, _GBMCRe, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.GetBucketMetadataConfigurationResult$ = [3, n0, _GBMCR, + 0, + [_MCR], + [() => exports.MetadataConfigurationResult$], 1 +]; +exports.GetBucketMetadataTableConfigurationOutput$ = [3, n0, _GBMTCO, + 0, + [_GBMTCR], + [[() => exports.GetBucketMetadataTableConfigurationResult$, 16]] +]; +exports.GetBucketMetadataTableConfigurationRequest$ = [3, n0, _GBMTCRe, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.GetBucketMetadataTableConfigurationResult$ = [3, n0, _GBMTCR, + 0, + [_MTCR, _S, _Err], + [() => exports.MetadataTableConfigurationResult$, 0, () => exports.ErrorDetails$], 2 +]; +exports.GetBucketMetricsConfigurationOutput$ = [3, n0, _GBMCOe, + 0, + [_MCe], + [[() => exports.MetricsConfiguration$, 16]] +]; +exports.GetBucketMetricsConfigurationRequest$ = [3, n0, _GBMCRet, + 0, + [_B, _I, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.GetBucketNotificationConfigurationRequest$ = [3, n0, _GBNCR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.GetBucketOwnershipControlsOutput$ = [3, n0, _GBOCO, + 0, + [_OC], + [[() => exports.OwnershipControls$, 16]] +]; +exports.GetBucketOwnershipControlsRequest$ = [3, n0, _GBOCR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.GetBucketPolicyOutput$ = [3, n0, _GBPO, + 0, + [_Po], + [[0, 16]] +]; +exports.GetBucketPolicyRequest$ = [3, n0, _GBPR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.GetBucketPolicyStatusOutput$ = [3, n0, _GBPSO, + 0, + [_PS], + [[() => exports.PolicyStatus$, 16]] +]; +exports.GetBucketPolicyStatusRequest$ = [3, n0, _GBPSR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.GetBucketReplicationOutput$ = [3, n0, _GBRO, + 0, + [_RCe], + [[() => exports.ReplicationConfiguration$, 16]] +]; +exports.GetBucketReplicationRequest$ = [3, n0, _GBRR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.GetBucketRequestPaymentOutput$ = [3, n0, _GBRPO, + { [_xN]: _RPC }, + [_Pay], + [0] +]; +exports.GetBucketRequestPaymentRequest$ = [3, n0, _GBRPR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.GetBucketTaggingOutput$ = [3, n0, _GBTO, + { [_xN]: _Tag }, + [_TS], + [[() => TagSet, 0]], 1 +]; +exports.GetBucketTaggingRequest$ = [3, n0, _GBTR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.GetBucketVersioningOutput$ = [3, n0, _GBVO, + { [_xN]: _VC }, + [_S, _MFAD], + [0, [0, { [_xN]: _MDf }]] +]; +exports.GetBucketVersioningRequest$ = [3, n0, _GBVR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.GetBucketWebsiteOutput$ = [3, n0, _GBWO, + { [_xN]: _WC }, + [_RART, _IDn, _EDr, _RR], + [() => exports.RedirectAllRequestsTo$, () => exports.IndexDocument$, () => exports.ErrorDocument$, [() => RoutingRules, 0]] +]; +exports.GetBucketWebsiteRequest$ = [3, n0, _GBWR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.GetObjectAclOutput$ = [3, n0, _GOAO, + { [_xN]: _ACP }, + [_O, _G, _RC], + [() => exports.Owner$, [() => Grants, { [_xN]: _ACL }], [0, { [_hH]: _xarc }]] +]; +exports.GetObjectAclRequest$ = [3, n0, _GOAR, + 0, + [_B, _K, _VI, _RP, _EBO], + [[0, 1], [0, 1], [0, { [_hQ]: _vI }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.GetObjectAttributesOutput$ = [3, n0, _GOAOe, + { [_xN]: _GOARe }, + [_DM, _LM, _VI, _RC, _ETa, _C, _OP, _SC, _OS], + [[2, { [_hH]: _xadm }], [4, { [_hH]: _LM_ }], [0, { [_hH]: _xavi }], [0, { [_hH]: _xarc }], 0, () => exports.Checksum$, [() => exports.GetObjectAttributesParts$, 0], 0, 1] +]; +exports.GetObjectAttributesParts$ = [3, n0, _GOAP, + 0, + [_TPC, _PNM, _NPNM, _MP, _IT, _Pa], + [[1, { [_xN]: _PC }], 0, 0, 1, 2, [() => PartsList, { [_xF]: 1, [_xN]: _Par }]] +]; +exports.GetObjectAttributesRequest$ = [3, n0, _GOARet, + 0, + [_B, _K, _OA, _VI, _MP, _PNM, _SSECA, _SSECK, _SSECKMD, _RP, _EBO], + [[0, 1], [0, 1], [64 | 0, { [_hH]: _xaoa }], [0, { [_hQ]: _vI }], [1, { [_hH]: _xamp }], [0, { [_hH]: _xapnm }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }]], 3 +]; +exports.GetObjectLegalHoldOutput$ = [3, n0, _GOLHO, + 0, + [_LH], + [[() => exports.ObjectLockLegalHold$, { [_hP]: 1, [_xN]: _LH }]] +]; +exports.GetObjectLegalHoldRequest$ = [3, n0, _GOLHR, + 0, + [_B, _K, _VI, _RP, _EBO], + [[0, 1], [0, 1], [0, { [_hQ]: _vI }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.GetObjectLockConfigurationOutput$ = [3, n0, _GOLCO, + 0, + [_OLC], + [[() => exports.ObjectLockConfiguration$, 16]] +]; +exports.GetObjectLockConfigurationRequest$ = [3, n0, _GOLCR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.GetObjectOutput$ = [3, n0, _GOO, + 0, + [_Bo, _DM, _AR, _E, _Re, _LM, _CLo, _ETa, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CT, _MM, _VI, _CC, _CDo, _CEo, _CL, _CR, _CTo, _Ex, _ES, _WRL, _SSE, _M, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _SC, _RC, _RS, _PC, _TC, _OLM, _OLRUD, _OLLHS], + [[() => StreamingBlob, 16], [2, { [_hH]: _xadm }], [0, { [_hH]: _ar }], [0, { [_hH]: _xae }], [0, { [_hH]: _xar }], [4, { [_hH]: _LM_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _ETa }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xact }], [1, { [_hH]: _xamm }], [0, { [_hH]: _xavi }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CR_ }], [0, { [_hH]: _CT_ }], [4, { [_hH]: _Ex }], [0, { [_hH]: _ES }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasse }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xarc }], [0, { [_hH]: _xars }], [1, { [_hH]: _xampc }], [1, { [_hH]: _xatc }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }]] +]; +exports.GetObjectRequest$ = [3, n0, _GOR, + 0, + [_B, _K, _IM, _IMSf, _INM, _IUS, _Ra, _RCC, _RCD, _RCE, _RCL, _RCT, _RE, _VI, _SSECA, _SSECK, _SSECKMD, _RP, _PN, _EBO, _CMh], + [[0, 1], [0, 1], [0, { [_hH]: _IM_ }], [4, { [_hH]: _IMS_ }], [0, { [_hH]: _INM_ }], [4, { [_hH]: _IUS_ }], [0, { [_hH]: _Ra }], [0, { [_hQ]: _rcc }], [0, { [_hQ]: _rcd }], [0, { [_hQ]: _rce }], [0, { [_hQ]: _rcl }], [0, { [_hQ]: _rct }], [6, { [_hQ]: _re }], [0, { [_hQ]: _vI }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [0, { [_hH]: _xarp }], [1, { [_hQ]: _pN }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xacm }]], 2 +]; +exports.GetObjectRetentionOutput$ = [3, n0, _GORO, + 0, + [_Ret], + [[() => exports.ObjectLockRetention$, { [_hP]: 1, [_xN]: _Ret }]] +]; +exports.GetObjectRetentionRequest$ = [3, n0, _GORR, + 0, + [_B, _K, _VI, _RP, _EBO], + [[0, 1], [0, 1], [0, { [_hQ]: _vI }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.GetObjectTaggingOutput$ = [3, n0, _GOTO, + { [_xN]: _Tag }, + [_TS, _VI], + [[() => TagSet, 0], [0, { [_hH]: _xavi }]], 1 +]; +exports.GetObjectTaggingRequest$ = [3, n0, _GOTR, + 0, + [_B, _K, _VI, _EBO, _RP], + [[0, 1], [0, 1], [0, { [_hQ]: _vI }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xarp }]], 2 +]; +exports.GetObjectTorrentOutput$ = [3, n0, _GOTOe, + 0, + [_Bo, _RC], + [[() => StreamingBlob, 16], [0, { [_hH]: _xarc }]] +]; +exports.GetObjectTorrentRequest$ = [3, n0, _GOTRe, + 0, + [_B, _K, _RP, _EBO], + [[0, 1], [0, 1], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.GetPublicAccessBlockOutput$ = [3, n0, _GPABO, + 0, + [_PABC], + [[() => exports.PublicAccessBlockConfiguration$, 16]] +]; +exports.GetPublicAccessBlockRequest$ = [3, n0, _GPABR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.GlacierJobParameters$ = [3, n0, _GJP, + 0, + [_Ti], + [0], 1 +]; +exports.Grant$ = [3, n0, _Gr, + 0, + [_Gra, _Pe], + [[() => exports.Grantee$, { [_xNm]: [_x, _hi] }], 0] +]; +exports.Grantee$ = [3, n0, _Gra, + 0, + [_Ty, _DN, _EA, _ID, _URI], + [[0, { [_xA]: 1, [_xN]: _xs }], 0, 0, 0, 0], 1 +]; +exports.HeadBucketOutput$ = [3, n0, _HBO, + 0, + [_BA, _BLT, _BLN, _BR, _APA], + [[0, { [_hH]: _xaba }], [0, { [_hH]: _xablt }], [0, { [_hH]: _xabln }], [0, { [_hH]: _xabr }], [2, { [_hH]: _xaapa }]] +]; +exports.HeadBucketRequest$ = [3, n0, _HBR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +exports.HeadObjectOutput$ = [3, n0, _HOO, + 0, + [_DM, _AR, _E, _Re, _ASr, _LM, _CLo, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CT, _ETa, _MM, _VI, _CC, _CDo, _CEo, _CL, _CTo, _CR, _Ex, _ES, _WRL, _SSE, _M, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _SC, _RC, _RS, _PC, _TC, _OLM, _OLRUD, _OLLHS], + [[2, { [_hH]: _xadm }], [0, { [_hH]: _ar }], [0, { [_hH]: _xae }], [0, { [_hH]: _xar }], [0, { [_hH]: _xaas }], [4, { [_hH]: _LM_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xact }], [0, { [_hH]: _ETa }], [1, { [_hH]: _xamm }], [0, { [_hH]: _xavi }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CR_ }], [4, { [_hH]: _Ex }], [0, { [_hH]: _ES }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasse }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xarc }], [0, { [_hH]: _xars }], [1, { [_hH]: _xampc }], [1, { [_hH]: _xatc }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }]] +]; +exports.HeadObjectRequest$ = [3, n0, _HOR, + 0, + [_B, _K, _IM, _IMSf, _INM, _IUS, _Ra, _RCC, _RCD, _RCE, _RCL, _RCT, _RE, _VI, _SSECA, _SSECK, _SSECKMD, _RP, _PN, _EBO, _CMh], + [[0, 1], [0, 1], [0, { [_hH]: _IM_ }], [4, { [_hH]: _IMS_ }], [0, { [_hH]: _INM_ }], [4, { [_hH]: _IUS_ }], [0, { [_hH]: _Ra }], [0, { [_hQ]: _rcc }], [0, { [_hQ]: _rcd }], [0, { [_hQ]: _rce }], [0, { [_hQ]: _rcl }], [0, { [_hQ]: _rct }], [6, { [_hQ]: _re }], [0, { [_hQ]: _vI }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [0, { [_hH]: _xarp }], [1, { [_hQ]: _pN }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xacm }]], 2 +]; +exports.IndexDocument$ = [3, n0, _IDn, + 0, + [_Su], + [0], 1 +]; +exports.Initiator$ = [3, n0, _In, + 0, + [_ID, _DN], + [0, 0] +]; +exports.InputSerialization$ = [3, n0, _IS, + 0, + [_CSV, _CTom, _JSON, _Parq], + [() => exports.CSVInput$, 0, () => exports.JSONInput$, () => exports.ParquetInput$] +]; +exports.IntelligentTieringAndOperator$ = [3, n0, _ITAO, + 0, + [_P, _T], + [0, [() => TagSet, { [_xF]: 1, [_xN]: _Ta }]] +]; +exports.IntelligentTieringConfiguration$ = [3, n0, _ITC, + 0, + [_I, _S, _Tie, _F], + [0, 0, [() => TieringList, { [_xF]: 1, [_xN]: _Tier }], [() => exports.IntelligentTieringFilter$, 0]], 3 +]; +exports.IntelligentTieringFilter$ = [3, n0, _ITF, + 0, + [_P, _Ta, _An], + [0, () => exports.Tag$, [() => exports.IntelligentTieringAndOperator$, 0]] +]; +exports.InventoryConfiguration$ = [3, n0, _IC, + 0, + [_Des, _IE, _I, _IOV, _Sc, _F, _OF], + [[() => exports.InventoryDestination$, 0], 2, 0, 0, () => exports.InventorySchedule$, () => exports.InventoryFilter$, [() => InventoryOptionalFields, 0]], 5 +]; +exports.InventoryDestination$ = [3, n0, _IDnv, + 0, + [_SBD], + [[() => exports.InventoryS3BucketDestination$, 0]], 1 +]; +exports.InventoryEncryption$ = [3, n0, _IEn, + 0, + [_SSES, _SSEKMS], + [[() => exports.SSES3$, { [_xN]: _SS }], [() => exports.SSEKMS$, { [_xN]: _SK }]] +]; +exports.InventoryFilter$ = [3, n0, _IF, + 0, + [_P], + [0], 1 +]; +exports.InventoryS3BucketDestination$ = [3, n0, _ISBD, + 0, + [_B, _Fo, _AI, _P, _En], + [0, 0, 0, 0, [() => exports.InventoryEncryption$, 0]], 2 +]; +exports.InventorySchedule$ = [3, n0, _ISn, + 0, + [_Fr], + [0], 1 +]; +exports.InventoryTableConfiguration$ = [3, n0, _ITCn, + 0, + [_CSo, _EC], + [0, () => exports.MetadataTableEncryptionConfiguration$], 1 +]; +exports.InventoryTableConfigurationResult$ = [3, n0, _ITCR, + 0, + [_CSo, _TSa, _Err, _TNa, _TA], + [0, 0, () => exports.ErrorDetails$, 0, 0], 1 +]; +exports.InventoryTableConfigurationUpdates$ = [3, n0, _ITCU, + 0, + [_CSo, _EC], + [0, () => exports.MetadataTableEncryptionConfiguration$], 1 +]; +exports.JournalTableConfiguration$ = [3, n0, _JTC, + 0, + [_REe, _EC], + [() => exports.RecordExpiration$, () => exports.MetadataTableEncryptionConfiguration$], 1 +]; +exports.JournalTableConfigurationResult$ = [3, n0, _JTCR, + 0, + [_TSa, _TNa, _REe, _Err, _TA], + [0, 0, () => exports.RecordExpiration$, () => exports.ErrorDetails$, 0], 3 +]; +exports.JournalTableConfigurationUpdates$ = [3, n0, _JTCU, + 0, + [_REe], + [() => exports.RecordExpiration$], 1 +]; +exports.JSONInput$ = [3, n0, _JSONI, + 0, + [_Ty], + [0] +]; +exports.JSONOutput$ = [3, n0, _JSONO, + 0, + [_RD], + [0] +]; +exports.LambdaFunctionConfiguration$ = [3, n0, _LFC, + 0, + [_LFA, _Ev, _I, _F], + [[0, { [_xN]: _CF }], [64 | 0, { [_xF]: 1, [_xN]: _Eve }], 0, [() => exports.NotificationConfigurationFilter$, 0]], 2 +]; +exports.LifecycleExpiration$ = [3, n0, _LEi, + 0, + [_Da, _D, _EODM], + [5, 1, 2] +]; +exports.LifecycleRule$ = [3, n0, _LR, + 0, + [_S, _E, _ID, _P, _F, _Tr, _NVT, _NVE, _AIMU], + [0, () => exports.LifecycleExpiration$, 0, 0, [() => exports.LifecycleRuleFilter$, 0], [() => TransitionList, { [_xF]: 1, [_xN]: _Tra }], [() => NoncurrentVersionTransitionList, { [_xF]: 1, [_xN]: _NVTo }], () => exports.NoncurrentVersionExpiration$, () => exports.AbortIncompleteMultipartUpload$], 1 +]; +exports.LifecycleRuleAndOperator$ = [3, n0, _LRAO, + 0, + [_P, _T, _OSGT, _OSLT], + [0, [() => TagSet, { [_xF]: 1, [_xN]: _Ta }], 1, 1] +]; +exports.LifecycleRuleFilter$ = [3, n0, _LRF, + 0, + [_P, _Ta, _OSGT, _OSLT, _An], + [0, () => exports.Tag$, 1, 1, [() => exports.LifecycleRuleAndOperator$, 0]] +]; +exports.ListBucketAnalyticsConfigurationsOutput$ = [3, n0, _LBACO, + { [_xN]: _LBACR }, + [_IT, _CTon, _NCT, _ACLn], + [2, 0, 0, [() => AnalyticsConfigurationList, { [_xF]: 1, [_xN]: _ACn }]] +]; +exports.ListBucketAnalyticsConfigurationsRequest$ = [3, n0, _LBACRi, + 0, + [_B, _CTon, _EBO], + [[0, 1], [0, { [_hQ]: _ct }], [0, { [_hH]: _xaebo }]], 1 +]; +exports.ListBucketIntelligentTieringConfigurationsOutput$ = [3, n0, _LBITCO, + 0, + [_IT, _CTon, _NCT, _ITCL], + [2, 0, 0, [() => IntelligentTieringConfigurationList, { [_xF]: 1, [_xN]: _ITC }]] +]; +exports.ListBucketIntelligentTieringConfigurationsRequest$ = [3, n0, _LBITCR, + 0, + [_B, _CTon, _EBO], + [[0, 1], [0, { [_hQ]: _ct }], [0, { [_hH]: _xaebo }]], 1 +]; +exports.ListBucketInventoryConfigurationsOutput$ = [3, n0, _LBICO, + { [_xN]: _LICR }, + [_CTon, _ICL, _IT, _NCT], + [0, [() => InventoryConfigurationList, { [_xF]: 1, [_xN]: _IC }], 2, 0] +]; +exports.ListBucketInventoryConfigurationsRequest$ = [3, n0, _LBICR, + 0, + [_B, _CTon, _EBO], + [[0, 1], [0, { [_hQ]: _ct }], [0, { [_hH]: _xaebo }]], 1 +]; +exports.ListBucketMetricsConfigurationsOutput$ = [3, n0, _LBMCO, + { [_xN]: _LMCR }, + [_IT, _CTon, _NCT, _MCL], + [2, 0, 0, [() => MetricsConfigurationList, { [_xF]: 1, [_xN]: _MCe }]] +]; +exports.ListBucketMetricsConfigurationsRequest$ = [3, n0, _LBMCR, + 0, + [_B, _CTon, _EBO], + [[0, 1], [0, { [_hQ]: _ct }], [0, { [_hH]: _xaebo }]], 1 +]; +exports.ListBucketsOutput$ = [3, n0, _LBO, + { [_xN]: _LAMBR }, + [_Bu, _O, _CTon, _P], + [[() => Buckets, 0], () => exports.Owner$, 0, 0] +]; +exports.ListBucketsRequest$ = [3, n0, _LBR, + 0, + [_MB, _CTon, _P, _BR], + [[1, { [_hQ]: _mb }], [0, { [_hQ]: _ct }], [0, { [_hQ]: _p }], [0, { [_hQ]: _br }]] +]; +exports.ListDirectoryBucketsOutput$ = [3, n0, _LDBO, + { [_xN]: _LAMDBR }, + [_Bu, _CTon], + [[() => Buckets, 0], 0] +]; +exports.ListDirectoryBucketsRequest$ = [3, n0, _LDBR, + 0, + [_CTon, _MDB], + [[0, { [_hQ]: _ct }], [1, { [_hQ]: _mdb }]] +]; +exports.ListMultipartUploadsOutput$ = [3, n0, _LMUO, + { [_xN]: _LMUR }, + [_B, _KM, _UIM, _NKM, _P, _Deli, _NUIM, _MUa, _IT, _U, _CPom, _ETn, _RC], + [0, 0, 0, 0, 0, 0, 0, 1, 2, [() => MultipartUploadList, { [_xF]: 1, [_xN]: _Up }], [() => CommonPrefixList, { [_xF]: 1 }], 0, [0, { [_hH]: _xarc }]] +]; +exports.ListMultipartUploadsRequest$ = [3, n0, _LMURi, + 0, + [_B, _Deli, _ETn, _KM, _MUa, _P, _UIM, _EBO, _RP], + [[0, 1], [0, { [_hQ]: _d }], [0, { [_hQ]: _et }], [0, { [_hQ]: _km }], [1, { [_hQ]: _mu }], [0, { [_hQ]: _p }], [0, { [_hQ]: _uim }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xarp }]], 1 +]; +exports.ListObjectsOutput$ = [3, n0, _LOO, + { [_xN]: _LBRi }, + [_IT, _Ma, _NM, _Con, _N, _P, _Deli, _MK, _CPom, _ETn, _RC], + [2, 0, 0, [() => ObjectList, { [_xF]: 1 }], 0, 0, 0, 1, [() => CommonPrefixList, { [_xF]: 1 }], 0, [0, { [_hH]: _xarc }]] +]; +exports.ListObjectsRequest$ = [3, n0, _LOR, + 0, + [_B, _Deli, _ETn, _Ma, _MK, _P, _RP, _EBO, _OOA], + [[0, 1], [0, { [_hQ]: _d }], [0, { [_hQ]: _et }], [0, { [_hQ]: _m }], [1, { [_hQ]: _mk }], [0, { [_hQ]: _p }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }], [64 | 0, { [_hH]: _xaooa }]], 1 +]; +exports.ListObjectsV2Output$ = [3, n0, _LOVO, + { [_xN]: _LBRi }, + [_IT, _Con, _N, _P, _Deli, _MK, _CPom, _ETn, _KC, _CTon, _NCT, _SA, _RC], + [2, [() => ObjectList, { [_xF]: 1 }], 0, 0, 0, 1, [() => CommonPrefixList, { [_xF]: 1 }], 0, 1, 0, 0, 0, [0, { [_hH]: _xarc }]] +]; +exports.ListObjectsV2Request$ = [3, n0, _LOVR, + 0, + [_B, _Deli, _ETn, _MK, _P, _CTon, _FO, _SA, _RP, _EBO, _OOA], + [[0, 1], [0, { [_hQ]: _d }], [0, { [_hQ]: _et }], [1, { [_hQ]: _mk }], [0, { [_hQ]: _p }], [0, { [_hQ]: _ct }], [2, { [_hQ]: _fo }], [0, { [_hQ]: _sa }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }], [64 | 0, { [_hH]: _xaooa }]], 1 +]; +exports.ListObjectVersionsOutput$ = [3, n0, _LOVOi, + { [_xN]: _LVR }, + [_IT, _KM, _VIM, _NKM, _NVIM, _Ve, _DMe, _N, _P, _Deli, _MK, _CPom, _ETn, _RC], + [2, 0, 0, 0, 0, [() => ObjectVersionList, { [_xF]: 1, [_xN]: _Ver }], [() => DeleteMarkers, { [_xF]: 1, [_xN]: _DM }], 0, 0, 0, 1, [() => CommonPrefixList, { [_xF]: 1 }], 0, [0, { [_hH]: _xarc }]] +]; +exports.ListObjectVersionsRequest$ = [3, n0, _LOVRi, + 0, + [_B, _Deli, _ETn, _KM, _MK, _P, _VIM, _EBO, _RP, _OOA], + [[0, 1], [0, { [_hQ]: _d }], [0, { [_hQ]: _et }], [0, { [_hQ]: _km }], [1, { [_hQ]: _mk }], [0, { [_hQ]: _p }], [0, { [_hQ]: _vim }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xarp }], [64 | 0, { [_hH]: _xaooa }]], 1 +]; +exports.ListPartsOutput$ = [3, n0, _LPO, + { [_xN]: _LPR }, + [_ADb, _ARI, _B, _K, _UI, _PNM, _NPNM, _MP, _IT, _Pa, _In, _O, _SC, _RC, _CA, _CT], + [[4, { [_hH]: _xaad }], [0, { [_hH]: _xaari }], 0, 0, 0, 0, 0, 1, 2, [() => Parts, { [_xF]: 1, [_xN]: _Par }], () => exports.Initiator$, () => exports.Owner$, 0, [0, { [_hH]: _xarc }], 0, 0] +]; +exports.ListPartsRequest$ = [3, n0, _LPRi, + 0, + [_B, _K, _UI, _MP, _PNM, _RP, _EBO, _SSECA, _SSECK, _SSECKMD], + [[0, 1], [0, 1], [0, { [_hQ]: _uI }], [1, { [_hQ]: _mp }], [0, { [_hQ]: _pnm }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }]], 3 +]; +exports.LocationInfo$ = [3, n0, _LI, + 0, + [_Ty, _N], + [0, 0] +]; +exports.LoggingEnabled$ = [3, n0, _LE, + 0, + [_TB, _TP, _TG, _TOKF], + [0, 0, [() => TargetGrants, 0], [() => exports.TargetObjectKeyFormat$, 0]], 2 +]; +exports.MetadataConfiguration$ = [3, n0, _MC, + 0, + [_JTC, _ITCn], + [() => exports.JournalTableConfiguration$, () => exports.InventoryTableConfiguration$], 1 +]; +exports.MetadataConfigurationResult$ = [3, n0, _MCR, + 0, + [_DRes, _JTCR, _ITCR], + [() => exports.DestinationResult$, () => exports.JournalTableConfigurationResult$, () => exports.InventoryTableConfigurationResult$], 1 +]; +exports.MetadataEntry$ = [3, n0, _ME, + 0, + [_N, _V], + [0, 0] +]; +exports.MetadataTableConfiguration$ = [3, n0, _MTC, + 0, + [_STD], + [() => exports.S3TablesDestination$], 1 +]; +exports.MetadataTableConfigurationResult$ = [3, n0, _MTCR, + 0, + [_STDR], + [() => exports.S3TablesDestinationResult$], 1 +]; +exports.MetadataTableEncryptionConfiguration$ = [3, n0, _MTEC, + 0, + [_SAs, _KKA], + [0, 0], 1 +]; +exports.Metrics$ = [3, n0, _Me, + 0, + [_S, _ETv], + [0, () => exports.ReplicationTimeValue$], 1 +]; +exports.MetricsAndOperator$ = [3, n0, _MAO, + 0, + [_P, _T, _APAc], + [0, [() => TagSet, { [_xF]: 1, [_xN]: _Ta }], 0] +]; +exports.MetricsConfiguration$ = [3, n0, _MCe, + 0, + [_I, _F], + [0, [() => exports.MetricsFilter$, 0]], 1 +]; +exports.MultipartUpload$ = [3, n0, _MU, + 0, + [_UI, _K, _Ini, _SC, _O, _In, _CA, _CT], + [0, 0, 4, 0, () => exports.Owner$, () => exports.Initiator$, 0, 0] +]; +exports.NoncurrentVersionExpiration$ = [3, n0, _NVE, + 0, + [_ND, _NNV], + [1, 1] +]; +exports.NoncurrentVersionTransition$ = [3, n0, _NVTo, + 0, + [_ND, _SC, _NNV], + [1, 0, 1] +]; +exports.NotificationConfiguration$ = [3, n0, _NC, + 0, + [_TCo, _QCu, _LFCa, _EBC], + [[() => TopicConfigurationList, { [_xF]: 1, [_xN]: _TCop }], [() => QueueConfigurationList, { [_xF]: 1, [_xN]: _QCue }], [() => LambdaFunctionConfigurationList, { [_xF]: 1, [_xN]: _CFC }], () => exports.EventBridgeConfiguration$] +]; +exports.NotificationConfigurationFilter$ = [3, n0, _NCF, + 0, + [_K], + [[() => exports.S3KeyFilter$, { [_xN]: _SKe }]] +]; +exports._Object$ = [3, n0, _Obj, + 0, + [_K, _LM, _ETa, _CA, _CT, _Si, _SC, _O, _RSe], + [0, 4, 0, [64 | 0, { [_xF]: 1 }], 0, 1, 0, () => exports.Owner$, () => exports.RestoreStatus$] +]; +exports.ObjectIdentifier$ = [3, n0, _OI, + 0, + [_K, _VI, _ETa, _LMT, _Si], + [0, 0, 0, 6, 1], 1 +]; +exports.ObjectLockConfiguration$ = [3, n0, _OLC, + 0, + [_OLE, _Ru], + [0, () => exports.ObjectLockRule$] +]; +exports.ObjectLockLegalHold$ = [3, n0, _OLLH, + 0, + [_S], + [0] +]; +exports.ObjectLockRetention$ = [3, n0, _OLR, + 0, + [_Mo, _RUD], + [0, 5] +]; +exports.ObjectLockRule$ = [3, n0, _OLRb, + 0, + [_DRe], + [() => exports.DefaultRetention$] +]; +exports.ObjectPart$ = [3, n0, _OPb, + 0, + [_PN, _Si, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh], + [1, 1, 0, 0, 0, 0, 0] +]; +exports.ObjectVersion$ = [3, n0, _OV, + 0, + [_ETa, _CA, _CT, _Si, _SC, _K, _VI, _IL, _LM, _O, _RSe], + [0, [64 | 0, { [_xF]: 1 }], 0, 1, 0, 0, 0, 2, 4, () => exports.Owner$, () => exports.RestoreStatus$] +]; +exports.OutputLocation$ = [3, n0, _OL, + 0, + [_S_], + [[() => exports.S3Location$, 0]] +]; +exports.OutputSerialization$ = [3, n0, _OSu, + 0, + [_CSV, _JSON], + [() => exports.CSVOutput$, () => exports.JSONOutput$] +]; +exports.Owner$ = [3, n0, _O, + 0, + [_DN, _ID], + [0, 0] +]; +exports.OwnershipControls$ = [3, n0, _OC, + 0, + [_R], + [[() => OwnershipControlsRules, { [_xF]: 1, [_xN]: _Ru }]], 1 +]; +exports.OwnershipControlsRule$ = [3, n0, _OCR, + 0, + [_OO], + [0], 1 +]; +exports.ParquetInput$ = [3, n0, _PI, + 0, + [], + [] +]; +exports.Part$ = [3, n0, _Par, + 0, + [_PN, _LM, _ETa, _Si, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh], + [1, 4, 0, 1, 0, 0, 0, 0, 0] +]; +exports.PartitionedPrefix$ = [3, n0, _PP, + { [_xN]: _PP }, + [_PDS], + [0] +]; +exports.PolicyStatus$ = [3, n0, _PS, + 0, + [_IP], + [[2, { [_xN]: _IP }]] +]; +exports.Progress$ = [3, n0, _Pr, + 0, + [_BS, _BP, _BRy], + [1, 1, 1] +]; +exports.ProgressEvent$ = [3, n0, _PE, + 0, + [_Det], + [[() => exports.Progress$, { [_eP]: 1 }]] +]; +exports.PublicAccessBlockConfiguration$ = [3, n0, _PABC, + 0, + [_BPA, _IPA, _BPP, _RPB], + [[2, { [_xN]: _BPA }], [2, { [_xN]: _IPA }], [2, { [_xN]: _BPP }], [2, { [_xN]: _RPB }]] +]; +exports.PutBucketAbacRequest$ = [3, n0, _PBAR, + 0, + [_B, _AS, _CMD, _CA, _EBO], + [[0, 1], [() => exports.AbacStatus$, { [_hP]: 1, [_xN]: _AS }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.PutBucketAccelerateConfigurationRequest$ = [3, n0, _PBACR, + 0, + [_B, _AC, _EBO, _CA], + [[0, 1], [() => exports.AccelerateConfiguration$, { [_hP]: 1, [_xN]: _AC }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xasca }]], 2 +]; +exports.PutBucketAclRequest$ = [3, n0, _PBARu, + 0, + [_B, _ACL_, _ACP, _CMD, _CA, _GFC, _GR, _GRACP, _GW, _GWACP, _EBO], + [[0, 1], [0, { [_hH]: _xaa }], [() => exports.AccessControlPolicy$, { [_hP]: 1, [_xN]: _ACP }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagw }], [0, { [_hH]: _xagwa }], [0, { [_hH]: _xaebo }]], 1 +]; +exports.PutBucketAnalyticsConfigurationRequest$ = [3, n0, _PBACRu, + 0, + [_B, _I, _ACn, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [() => exports.AnalyticsConfiguration$, { [_hP]: 1, [_xN]: _ACn }], [0, { [_hH]: _xaebo }]], 3 +]; +exports.PutBucketCorsRequest$ = [3, n0, _PBCR, + 0, + [_B, _CORSC, _CMD, _CA, _EBO], + [[0, 1], [() => exports.CORSConfiguration$, { [_hP]: 1, [_xN]: _CORSC }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.PutBucketEncryptionRequest$ = [3, n0, _PBER, + 0, + [_B, _SSEC, _CMD, _CA, _EBO], + [[0, 1], [() => exports.ServerSideEncryptionConfiguration$, { [_hP]: 1, [_xN]: _SSEC }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.PutBucketIntelligentTieringConfigurationRequest$ = [3, n0, _PBITCR, + 0, + [_B, _I, _ITC, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [() => exports.IntelligentTieringConfiguration$, { [_hP]: 1, [_xN]: _ITC }], [0, { [_hH]: _xaebo }]], 3 +]; +exports.PutBucketInventoryConfigurationRequest$ = [3, n0, _PBICR, + 0, + [_B, _I, _IC, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [() => exports.InventoryConfiguration$, { [_hP]: 1, [_xN]: _IC }], [0, { [_hH]: _xaebo }]], 3 +]; +exports.PutBucketLifecycleConfigurationOutput$ = [3, n0, _PBLCO, + 0, + [_TDMOS], + [[0, { [_hH]: _xatdmos }]] +]; +exports.PutBucketLifecycleConfigurationRequest$ = [3, n0, _PBLCR, + 0, + [_B, _CA, _LCi, _EBO, _TDMOS], + [[0, 1], [0, { [_hH]: _xasca }], [() => exports.BucketLifecycleConfiguration$, { [_hP]: 1, [_xN]: _LCi }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xatdmos }]], 1 +]; +exports.PutBucketLoggingRequest$ = [3, n0, _PBLR, + 0, + [_B, _BLS, _CMD, _CA, _EBO], + [[0, 1], [() => exports.BucketLoggingStatus$, { [_hP]: 1, [_xN]: _BLS }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.PutBucketMetricsConfigurationRequest$ = [3, n0, _PBMCR, + 0, + [_B, _I, _MCe, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [() => exports.MetricsConfiguration$, { [_hP]: 1, [_xN]: _MCe }], [0, { [_hH]: _xaebo }]], 3 +]; +exports.PutBucketNotificationConfigurationRequest$ = [3, n0, _PBNCR, + 0, + [_B, _NC, _EBO, _SDV], + [[0, 1], [() => exports.NotificationConfiguration$, { [_hP]: 1, [_xN]: _NC }], [0, { [_hH]: _xaebo }], [2, { [_hH]: _xasdv }]], 2 +]; +exports.PutBucketOwnershipControlsRequest$ = [3, n0, _PBOCR, + 0, + [_B, _OC, _CMD, _EBO, _CA], + [[0, 1], [() => exports.OwnershipControls$, { [_hP]: 1, [_xN]: _OC }], [0, { [_hH]: _CM }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xasca }]], 2 +]; +exports.PutBucketPolicyRequest$ = [3, n0, _PBPR, + 0, + [_B, _Po, _CMD, _CA, _CRSBA, _EBO], + [[0, 1], [0, 16], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [2, { [_hH]: _xacrsba }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.PutBucketReplicationRequest$ = [3, n0, _PBRR, + 0, + [_B, _RCe, _CMD, _CA, _To, _EBO], + [[0, 1], [() => exports.ReplicationConfiguration$, { [_hP]: 1, [_xN]: _RCe }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xabolt }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.PutBucketRequestPaymentRequest$ = [3, n0, _PBRPR, + 0, + [_B, _RPC, _CMD, _CA, _EBO], + [[0, 1], [() => exports.RequestPaymentConfiguration$, { [_hP]: 1, [_xN]: _RPC }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.PutBucketTaggingRequest$ = [3, n0, _PBTR, + 0, + [_B, _Tag, _CMD, _CA, _EBO], + [[0, 1], [() => exports.Tagging$, { [_hP]: 1, [_xN]: _Tag }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.PutBucketVersioningRequest$ = [3, n0, _PBVR, + 0, + [_B, _VC, _CMD, _CA, _MFA, _EBO], + [[0, 1], [() => exports.VersioningConfiguration$, { [_hP]: 1, [_xN]: _VC }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xam_ }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.PutBucketWebsiteRequest$ = [3, n0, _PBWR, + 0, + [_B, _WC, _CMD, _CA, _EBO], + [[0, 1], [() => exports.WebsiteConfiguration$, { [_hP]: 1, [_xN]: _WC }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.PutObjectAclOutput$ = [3, n0, _POAO, + 0, + [_RC], + [[0, { [_hH]: _xarc }]] +]; +exports.PutObjectAclRequest$ = [3, n0, _POAR, + 0, + [_B, _K, _ACL_, _ACP, _CMD, _CA, _GFC, _GR, _GRACP, _GW, _GWACP, _RP, _VI, _EBO], + [[0, 1], [0, 1], [0, { [_hH]: _xaa }], [() => exports.AccessControlPolicy$, { [_hP]: 1, [_xN]: _ACP }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagw }], [0, { [_hH]: _xagwa }], [0, { [_hH]: _xarp }], [0, { [_hQ]: _vI }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.PutObjectLegalHoldOutput$ = [3, n0, _POLHO, + 0, + [_RC], + [[0, { [_hH]: _xarc }]] +]; +exports.PutObjectLegalHoldRequest$ = [3, n0, _POLHR, + 0, + [_B, _K, _LH, _RP, _VI, _CMD, _CA, _EBO], + [[0, 1], [0, 1], [() => exports.ObjectLockLegalHold$, { [_hP]: 1, [_xN]: _LH }], [0, { [_hH]: _xarp }], [0, { [_hQ]: _vI }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.PutObjectLockConfigurationOutput$ = [3, n0, _POLCO, + 0, + [_RC], + [[0, { [_hH]: _xarc }]] +]; +exports.PutObjectLockConfigurationRequest$ = [3, n0, _POLCR, + 0, + [_B, _OLC, _RP, _To, _CMD, _CA, _EBO], + [[0, 1], [() => exports.ObjectLockConfiguration$, { [_hP]: 1, [_xN]: _OLC }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xabolt }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 1 +]; +exports.PutObjectOutput$ = [3, n0, _POO, + 0, + [_E, _ETa, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CT, _SSE, _VI, _SSECA, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _Si, _RC], + [[0, { [_hH]: _xae }], [0, { [_hH]: _ETa }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xact }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xavi }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [1, { [_hH]: _xaos }], [0, { [_hH]: _xarc }]] +]; +exports.PutObjectRequest$ = [3, n0, _POR, + 0, + [_B, _K, _ACL_, _Bo, _CC, _CDo, _CEo, _CL, _CLo, _CMD, _CTo, _CA, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _Ex, _IM, _INM, _GFC, _GR, _GRACP, _GWACP, _WOB, _M, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _EBO], + [[0, 1], [0, 1], [0, { [_hH]: _xaa }], [() => StreamingBlob, 16], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _CM }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [4, { [_hH]: _Ex }], [0, { [_hH]: _IM_ }], [0, { [_hH]: _INM_ }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [1, { [_hH]: _xawob }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.PutObjectRetentionOutput$ = [3, n0, _PORO, + 0, + [_RC], + [[0, { [_hH]: _xarc }]] +]; +exports.PutObjectRetentionRequest$ = [3, n0, _PORR, + 0, + [_B, _K, _Ret, _RP, _VI, _BGR, _CMD, _CA, _EBO], + [[0, 1], [0, 1], [() => exports.ObjectLockRetention$, { [_hP]: 1, [_xN]: _Ret }], [0, { [_hH]: _xarp }], [0, { [_hQ]: _vI }], [2, { [_hH]: _xabgr }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.PutObjectTaggingOutput$ = [3, n0, _POTO, + 0, + [_VI], + [[0, { [_hH]: _xavi }]] +]; +exports.PutObjectTaggingRequest$ = [3, n0, _POTR, + 0, + [_B, _K, _Tag, _VI, _CMD, _CA, _EBO, _RP], + [[0, 1], [0, 1], [() => exports.Tagging$, { [_hP]: 1, [_xN]: _Tag }], [0, { [_hQ]: _vI }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xarp }]], 3 +]; +exports.PutPublicAccessBlockRequest$ = [3, n0, _PPABR, + 0, + [_B, _PABC, _CMD, _CA, _EBO], + [[0, 1], [() => exports.PublicAccessBlockConfiguration$, { [_hP]: 1, [_xN]: _PABC }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.QueueConfiguration$ = [3, n0, _QCue, + 0, + [_QA, _Ev, _I, _F], + [[0, { [_xN]: _Qu }], [64 | 0, { [_xF]: 1, [_xN]: _Eve }], 0, [() => exports.NotificationConfigurationFilter$, 0]], 2 +]; +exports.RecordExpiration$ = [3, n0, _REe, + 0, + [_E, _D], + [0, 1], 1 +]; +exports.RecordsEvent$ = [3, n0, _REec, + 0, + [_Payl], + [[21, { [_eP]: 1 }]] +]; +exports.Redirect$ = [3, n0, _Red, + 0, + [_HN, _HRC, _Pro, _RKPW, _RKW], + [0, 0, 0, 0, 0] +]; +exports.RedirectAllRequestsTo$ = [3, n0, _RART, + 0, + [_HN, _Pro], + [0, 0], 1 +]; +exports.RenameObjectOutput$ = [3, n0, _ROO, + 0, + [], + [] +]; +exports.RenameObjectRequest$ = [3, n0, _ROR, + 0, + [_B, _K, _RSen, _DIM, _DINM, _DIMS, _DIUS, _SIM, _SINM, _SIMS, _SIUS, _CTl], + [[0, 1], [0, 1], [0, { [_hH]: _xars_ }], [0, { [_hH]: _IM_ }], [0, { [_hH]: _INM_ }], [4, { [_hH]: _IMS_ }], [4, { [_hH]: _IUS_ }], [0, { [_hH]: _xarsim }], [0, { [_hH]: _xarsinm }], [6, { [_hH]: _xarsims }], [6, { [_hH]: _xarsius }], [0, { [_hH]: _xact_, [_iT]: 1 }]], 3 +]; +exports.ReplicaModifications$ = [3, n0, _RM, + 0, + [_S], + [0], 1 +]; +exports.ReplicationConfiguration$ = [3, n0, _RCe, + 0, + [_Ro, _R], + [0, [() => ReplicationRules, { [_xF]: 1, [_xN]: _Ru }]], 2 +]; +exports.ReplicationRule$ = [3, n0, _RRe, + 0, + [_S, _Des, _ID, _Pri, _P, _F, _SSC, _EOR, _DMR], + [0, () => exports.Destination$, 0, 1, 0, [() => exports.ReplicationRuleFilter$, 0], () => exports.SourceSelectionCriteria$, () => exports.ExistingObjectReplication$, () => exports.DeleteMarkerReplication$], 2 +]; +exports.ReplicationRuleAndOperator$ = [3, n0, _RRAO, + 0, + [_P, _T], + [0, [() => TagSet, { [_xF]: 1, [_xN]: _Ta }]] +]; +exports.ReplicationRuleFilter$ = [3, n0, _RRF, + 0, + [_P, _Ta, _An], + [0, () => exports.Tag$, [() => exports.ReplicationRuleAndOperator$, 0]] +]; +exports.ReplicationTime$ = [3, n0, _RT, + 0, + [_S, _Tim], + [0, () => exports.ReplicationTimeValue$], 2 +]; +exports.ReplicationTimeValue$ = [3, n0, _RTV, + 0, + [_Mi], + [1] +]; +exports.RequestPaymentConfiguration$ = [3, n0, _RPC, + 0, + [_Pay], + [0], 1 +]; +exports.RequestProgress$ = [3, n0, _RPe, + 0, + [_Ena], + [2] +]; +exports.RestoreObjectOutput$ = [3, n0, _ROOe, + 0, + [_RC, _ROP], + [[0, { [_hH]: _xarc }], [0, { [_hH]: _xarop }]] +]; +exports.RestoreObjectRequest$ = [3, n0, _RORe, + 0, + [_B, _K, _VI, _RRes, _RP, _CA, _EBO], + [[0, 1], [0, 1], [0, { [_hQ]: _vI }], [() => exports.RestoreRequest$, { [_hP]: 1, [_xN]: _RRes }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.RestoreRequest$ = [3, n0, _RRes, + 0, + [_D, _GJP, _Ty, _Ti, _Desc, _SP, _OL], + [1, () => exports.GlacierJobParameters$, 0, 0, 0, () => exports.SelectParameters$, [() => exports.OutputLocation$, 0]] +]; +exports.RestoreStatus$ = [3, n0, _RSe, + 0, + [_IRIP, _RED], + [2, 4] +]; +exports.RoutingRule$ = [3, n0, _RRo, + 0, + [_Red, _Co], + [() => exports.Redirect$, () => exports.Condition$], 1 +]; +exports.S3KeyFilter$ = [3, n0, _SKF, + 0, + [_FRi], + [[() => FilterRuleList, { [_xF]: 1, [_xN]: _FR }]] +]; +exports.S3Location$ = [3, n0, _SL, + 0, + [_BNu, _P, _En, _CACL, _ACL, _Tag, _UM, _SC], + [0, 0, [() => exports.Encryption$, 0], 0, [() => Grants, 0], [() => exports.Tagging$, 0], [() => UserMetadata, 0], 0], 2 +]; +exports.S3TablesDestination$ = [3, n0, _STD, + 0, + [_TBA, _TNa], + [0, 0], 2 +]; +exports.S3TablesDestinationResult$ = [3, n0, _STDR, + 0, + [_TBA, _TNa, _TA, _TN], + [0, 0, 0, 0], 4 +]; +exports.ScanRange$ = [3, n0, _SR, + 0, + [_St, _End], + [1, 1] +]; +exports.SelectObjectContentOutput$ = [3, n0, _SOCO, + 0, + [_Payl], + [[() => exports.SelectObjectContentEventStream$, 16]] +]; +exports.SelectObjectContentRequest$ = [3, n0, _SOCR, + 0, + [_B, _K, _Exp, _ETx, _IS, _OSu, _SSECA, _SSECK, _SSECKMD, _RPe, _SR, _EBO], + [[0, 1], [0, 1], 0, 0, () => exports.InputSerialization$, () => exports.OutputSerialization$, [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], () => exports.RequestProgress$, () => exports.ScanRange$, [0, { [_hH]: _xaebo }]], 6 +]; +exports.SelectParameters$ = [3, n0, _SP, + 0, + [_IS, _ETx, _Exp, _OSu], + [() => exports.InputSerialization$, 0, 0, () => exports.OutputSerialization$], 4 +]; +exports.ServerSideEncryptionByDefault$ = [3, n0, _SSEBD, + 0, + [_SSEA, _KMSMKID], + [0, [() => SSEKMSKeyId, 0]], 1 +]; +exports.ServerSideEncryptionConfiguration$ = [3, n0, _SSEC, + 0, + [_R], + [[() => ServerSideEncryptionRules, { [_xF]: 1, [_xN]: _Ru }]], 1 +]; +exports.ServerSideEncryptionRule$ = [3, n0, _SSER, + 0, + [_ASSEBD, _BKE, _BET], + [[() => exports.ServerSideEncryptionByDefault$, 0], 2, [() => exports.BlockedEncryptionTypes$, 0]] +]; +exports.SessionCredentials$ = [3, n0, _SCe, + 0, + [_AKI, _SAK, _ST, _E], + [[0, { [_xN]: _AKI }], [() => SessionCredentialValue, { [_xN]: _SAK }], [() => SessionCredentialValue, { [_xN]: _ST }], [4, { [_xN]: _E }]], 4 +]; +exports.SimplePrefix$ = [3, n0, _SPi, + { [_xN]: _SPi }, + [], + [] +]; +exports.SourceSelectionCriteria$ = [3, n0, _SSC, + 0, + [_SKEO, _RM], + [() => exports.SseKmsEncryptedObjects$, () => exports.ReplicaModifications$] +]; +exports.SSEKMS$ = [3, n0, _SSEKMS, + { [_xN]: _SK }, + [_KI], + [[() => SSEKMSKeyId, 0]], 1 +]; +exports.SseKmsEncryptedObjects$ = [3, n0, _SKEO, + 0, + [_S], + [0], 1 +]; +exports.SSEKMSEncryption$ = [3, n0, _SSEKMSE, + { [_xN]: _SK }, + [_KMSKA, _BKE], + [[() => NonEmptyKmsKeyArnString, 0], 2], 1 +]; +exports.SSES3$ = [3, n0, _SSES, + { [_xN]: _SS }, + [], + [] +]; +exports.Stats$ = [3, n0, _Sta, + 0, + [_BS, _BP, _BRy], + [1, 1, 1] +]; +exports.StatsEvent$ = [3, n0, _SE, + 0, + [_Det], + [[() => exports.Stats$, { [_eP]: 1 }]] +]; +exports.StorageClassAnalysis$ = [3, n0, _SCA, + 0, + [_DE], + [() => exports.StorageClassAnalysisDataExport$] +]; +exports.StorageClassAnalysisDataExport$ = [3, n0, _SCADE, + 0, + [_OSV, _Des], + [0, () => exports.AnalyticsExportDestination$], 2 +]; +exports.Tag$ = [3, n0, _Ta, + 0, + [_K, _V], + [0, 0], 2 +]; +exports.Tagging$ = [3, n0, _Tag, + 0, + [_TS], + [[() => TagSet, 0]], 1 +]; +exports.TargetGrant$ = [3, n0, _TGa, + 0, + [_Gra, _Pe], + [[() => exports.Grantee$, { [_xNm]: [_x, _hi] }], 0] +]; +exports.TargetObjectKeyFormat$ = [3, n0, _TOKF, + 0, + [_SPi, _PP], + [[() => exports.SimplePrefix$, { [_xN]: _SPi }], [() => exports.PartitionedPrefix$, { [_xN]: _PP }]] +]; +exports.Tiering$ = [3, n0, _Tier, + 0, + [_D, _AT], + [1, 0], 2 +]; +exports.TopicConfiguration$ = [3, n0, _TCop, + 0, + [_TAo, _Ev, _I, _F], + [[0, { [_xN]: _Top }], [64 | 0, { [_xF]: 1, [_xN]: _Eve }], 0, [() => exports.NotificationConfigurationFilter$, 0]], 2 +]; +exports.Transition$ = [3, n0, _Tra, + 0, + [_Da, _D, _SC], + [5, 1, 0] +]; +exports.UpdateBucketMetadataInventoryTableConfigurationRequest$ = [3, n0, _UBMITCR, + 0, + [_B, _ITCn, _CMD, _CA, _EBO], + [[0, 1], [() => exports.InventoryTableConfigurationUpdates$, { [_hP]: 1, [_xN]: _ITCn }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.UpdateBucketMetadataJournalTableConfigurationRequest$ = [3, n0, _UBMJTCR, + 0, + [_B, _JTC, _CMD, _CA, _EBO], + [[0, 1], [() => exports.JournalTableConfigurationUpdates$, { [_hP]: 1, [_xN]: _JTC }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +exports.UpdateObjectEncryptionRequest$ = [3, n0, _UOER, + 0, + [_B, _K, _OE, _VI, _RP, _EBO, _CMD, _CA], + [[0, 1], [0, 1], [() => exports.ObjectEncryption$, 16], [0, { [_hQ]: _vI }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }]], 3 +]; +exports.UpdateObjectEncryptionResponse$ = [3, n0, _UOERp, + 0, + [_RC], + [[0, { [_hH]: _xarc }]] +]; +exports.UploadPartCopyOutput$ = [3, n0, _UPCO, + 0, + [_CSVI, _CPR, _SSE, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _RC], + [[0, { [_hH]: _xacsvi }], [() => exports.CopyPartResult$, 16], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarc }]] +]; +exports.UploadPartCopyRequest$ = [3, n0, _UPCR, + 0, + [_B, _CS, _K, _PN, _UI, _CSIM, _CSIMS, _CSINM, _CSIUS, _CSRo, _SSECA, _SSECK, _SSECKMD, _CSSSECA, _CSSSECK, _CSSSECKMD, _RP, _EBO, _ESBO], + [[0, 1], [0, { [_hH]: _xacs__ }], [0, 1], [1, { [_hQ]: _pN }], [0, { [_hQ]: _uI }], [0, { [_hH]: _xacsim }], [4, { [_hH]: _xacsims }], [0, { [_hH]: _xacsinm }], [4, { [_hH]: _xacsius }], [0, { [_hH]: _xacsr }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [0, { [_hH]: _xacssseca }], [() => CopySourceSSECustomerKey, { [_hH]: _xacssseck }], [0, { [_hH]: _xacssseckM }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xasebo }]], 5 +]; +exports.UploadPartOutput$ = [3, n0, _UPO, + 0, + [_SSE, _ETa, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _RC], + [[0, { [_hH]: _xasse }], [0, { [_hH]: _ETa }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarc }]] +]; +exports.UploadPartRequest$ = [3, n0, _UPR, + 0, + [_B, _K, _PN, _UI, _Bo, _CLo, _CMD, _CA, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _SSECA, _SSECK, _SSECKMD, _RP, _EBO], + [[0, 1], [0, 1], [1, { [_hQ]: _pN }], [0, { [_hQ]: _uI }], [() => StreamingBlob, 16], [1, { [_hH]: _CL__ }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }]], 4 +]; +exports.VersioningConfiguration$ = [3, n0, _VC, + 0, + [_MFAD, _S], + [[0, { [_xN]: _MDf }], 0] +]; +exports.WebsiteConfiguration$ = [3, n0, _WC, + 0, + [_EDr, _IDn, _RART, _RR], + [() => exports.ErrorDocument$, () => exports.IndexDocument$, () => exports.RedirectAllRequestsTo$, [() => RoutingRules, 0]] +]; +exports.WriteGetObjectResponseRequest$ = [3, n0, _WGORR, + 0, + [_RReq, _RTe, _Bo, _SCt, _ECr, _EM, _AR, _CC, _CDo, _CEo, _CL, _CLo, _CR, _CTo, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _DM, _ETa, _Ex, _E, _LM, _MM, _M, _OLM, _OLLHS, _OLRUD, _PC, _RS, _RC, _Re, _SSE, _SSECA, _SSEKMSKI, _SSECKMD, _SC, _TC, _VI, _BKE], + [[0, { [_hL]: 1, [_hH]: _xarr }], [0, { [_hH]: _xart }], [() => StreamingBlob, 16], [1, { [_hH]: _xafs }], [0, { [_hH]: _xafec }], [0, { [_hH]: _xafem }], [0, { [_hH]: _xafhar }], [0, { [_hH]: _xafhCC }], [0, { [_hH]: _xafhCD }], [0, { [_hH]: _xafhCE }], [0, { [_hH]: _xafhCL }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _xafhCR }], [0, { [_hH]: _xafhCT }], [0, { [_hH]: _xafhxacc }], [0, { [_hH]: _xafhxacc_ }], [0, { [_hH]: _xafhxacc__ }], [0, { [_hH]: _xafhxacs }], [0, { [_hH]: _xafhxacs_ }], [2, { [_hH]: _xafhxadm }], [0, { [_hH]: _xafhE }], [4, { [_hH]: _xafhE_ }], [0, { [_hH]: _xafhxae }], [4, { [_hH]: _xafhLM }], [1, { [_hH]: _xafhxamm }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xafhxaolm }], [0, { [_hH]: _xafhxaollh }], [5, { [_hH]: _xafhxaolrud }], [1, { [_hH]: _xafhxampc }], [0, { [_hH]: _xafhxars }], [0, { [_hH]: _xafhxarc }], [0, { [_hH]: _xafhxar }], [0, { [_hH]: _xafhxasse }], [0, { [_hH]: _xafhxasseca }], [() => SSEKMSKeyId, { [_hH]: _xafhxasseakki }], [0, { [_hH]: _xafhxasseckM }], [0, { [_hH]: _xafhxasc }], [1, { [_hH]: _xafhxatc }], [0, { [_hH]: _xafhxavi }], [2, { [_hH]: _xafhxassebke }]], 2 +]; +var __Unit = "unit"; +var AllowedHeaders = 64 | 0; +var AllowedMethods = 64 | 0; +var AllowedOrigins = 64 | 0; +var AnalyticsConfigurationList = [1, n0, _ACLn, + 0, [() => exports.AnalyticsConfiguration$, + 0] +]; +var Buckets = [1, n0, _Bu, + 0, [() => exports.Bucket$, + { [_xN]: _B }] +]; +var ChecksumAlgorithmList = 64 | 0; +var CommonPrefixList = [1, n0, _CPL, + 0, () => exports.CommonPrefix$ +]; +var CompletedPartList = [1, n0, _CPLo, + 0, () => exports.CompletedPart$ +]; +var CORSRules = [1, n0, _CORSR, + 0, [() => exports.CORSRule$, + 0] +]; +var DeletedObjects = [1, n0, _DOe, + 0, () => exports.DeletedObject$ +]; +var DeleteMarkers = [1, n0, _DMe, + 0, () => exports.DeleteMarkerEntry$ +]; +var EncryptionTypeList = [1, n0, _ETL, + 0, [0, + { [_xN]: _ET }] +]; +var Errors = [1, n0, _Er, + 0, () => exports._Error$ +]; +var EventList = 64 | 0; +var ExposeHeaders = 64 | 0; +var FilterRuleList = [1, n0, _FRL, + 0, () => exports.FilterRule$ +]; +var Grants = [1, n0, _G, + 0, [() => exports.Grant$, + { [_xN]: _Gr }] +]; +var IntelligentTieringConfigurationList = [1, n0, _ITCL, + 0, [() => exports.IntelligentTieringConfiguration$, + 0] +]; +var InventoryConfigurationList = [1, n0, _ICL, + 0, [() => exports.InventoryConfiguration$, + 0] +]; +var InventoryOptionalFields = [1, n0, _IOF, + 0, [0, + { [_xN]: _Fi }] +]; +var LambdaFunctionConfigurationList = [1, n0, _LFCL, + 0, [() => exports.LambdaFunctionConfiguration$, + 0] +]; +var LifecycleRules = [1, n0, _LRi, + 0, [() => exports.LifecycleRule$, + 0] +]; +var MetricsConfigurationList = [1, n0, _MCL, + 0, [() => exports.MetricsConfiguration$, + 0] +]; +var MultipartUploadList = [1, n0, _MUL, + 0, () => exports.MultipartUpload$ +]; +var NoncurrentVersionTransitionList = [1, n0, _NVTL, + 0, () => exports.NoncurrentVersionTransition$ +]; +var ObjectAttributesList = 64 | 0; +var ObjectIdentifierList = [1, n0, _OIL, + 0, () => exports.ObjectIdentifier$ +]; +var ObjectList = [1, n0, _OLb, + 0, [() => exports._Object$, + 0] +]; +var ObjectVersionList = [1, n0, _OVL, + 0, [() => exports.ObjectVersion$, + 0] +]; +var OptionalObjectAttributesList = 64 | 0; +var OwnershipControlsRules = [1, n0, _OCRw, + 0, () => exports.OwnershipControlsRule$ +]; +var Parts = [1, n0, _Pa, + 0, () => exports.Part$ +]; +var PartsList = [1, n0, _PL, + 0, () => exports.ObjectPart$ +]; +var QueueConfigurationList = [1, n0, _QCL, + 0, [() => exports.QueueConfiguration$, + 0] +]; +var ReplicationRules = [1, n0, _RRep, + 0, [() => exports.ReplicationRule$, + 0] +]; +var RoutingRules = [1, n0, _RR, + 0, [() => exports.RoutingRule$, + { [_xN]: _RRo }] +]; +var ServerSideEncryptionRules = [1, n0, _SSERe, + 0, [() => exports.ServerSideEncryptionRule$, + 0] +]; +var TagSet = [1, n0, _TS, + 0, [() => exports.Tag$, + { [_xN]: _Ta }] +]; +var TargetGrants = [1, n0, _TG, + 0, [() => exports.TargetGrant$, + { [_xN]: _Gr }] +]; +var TieringList = [1, n0, _TL, + 0, () => exports.Tiering$ +]; +var TopicConfigurationList = [1, n0, _TCL, + 0, [() => exports.TopicConfiguration$, + 0] +]; +var TransitionList = [1, n0, _TLr, + 0, () => exports.Transition$ +]; +var UserMetadata = [1, n0, _UM, + 0, [() => exports.MetadataEntry$, + { [_xN]: _ME }] +]; +var Metadata = 128 | 0; +exports.AnalyticsFilter$ = [4, n0, _AF, + 0, + [_P, _Ta, _An], + [0, () => exports.Tag$, [() => exports.AnalyticsAndOperator$, 0]] +]; +exports.MetricsFilter$ = [4, n0, _MF, + 0, + [_P, _Ta, _APAc, _An], + [0, () => exports.Tag$, 0, [() => exports.MetricsAndOperator$, 0]] +]; +exports.ObjectEncryption$ = [4, n0, _OE, + 0, + [_SSEKMS], + [[() => exports.SSEKMSEncryption$, { [_xN]: _SK }]] +]; +exports.SelectObjectContentEventStream$ = [4, n0, _SOCES, + { [_st]: 1 }, + [_Rec, _Sta, _Pr, _Cont, _End], + [[() => exports.RecordsEvent$, 0], [() => exports.StatsEvent$, 0], [() => exports.ProgressEvent$, 0], () => exports.ContinuationEvent$, () => exports.EndEvent$] +]; +exports.AbortMultipartUpload$ = [9, n0, _AMU, + { [_h]: ["DELETE", "/{Key+}?x-id=AbortMultipartUpload", 204] }, () => exports.AbortMultipartUploadRequest$, () => exports.AbortMultipartUploadOutput$ +]; +exports.CompleteMultipartUpload$ = [9, n0, _CMUo, + { [_h]: ["POST", "/{Key+}", 200] }, () => exports.CompleteMultipartUploadRequest$, () => exports.CompleteMultipartUploadOutput$ +]; +exports.CopyObject$ = [9, n0, _CO, + { [_h]: ["PUT", "/{Key+}?x-id=CopyObject", 200] }, () => exports.CopyObjectRequest$, () => exports.CopyObjectOutput$ +]; +exports.CreateBucket$ = [9, n0, _CB, + { [_h]: ["PUT", "/", 200] }, () => exports.CreateBucketRequest$, () => exports.CreateBucketOutput$ +]; +exports.CreateBucketMetadataConfiguration$ = [9, n0, _CBMC, + { [_hC]: "-", [_h]: ["POST", "/?metadataConfiguration", 200] }, () => exports.CreateBucketMetadataConfigurationRequest$, () => __Unit +]; +exports.CreateBucketMetadataTableConfiguration$ = [9, n0, _CBMTC, + { [_hC]: "-", [_h]: ["POST", "/?metadataTable", 200] }, () => exports.CreateBucketMetadataTableConfigurationRequest$, () => __Unit +]; +exports.CreateMultipartUpload$ = [9, n0, _CMUr, + { [_h]: ["POST", "/{Key+}?uploads", 200] }, () => exports.CreateMultipartUploadRequest$, () => exports.CreateMultipartUploadOutput$ +]; +exports.CreateSession$ = [9, n0, _CSr, + { [_h]: ["GET", "/?session", 200] }, () => exports.CreateSessionRequest$, () => exports.CreateSessionOutput$ +]; +exports.DeleteBucket$ = [9, n0, _DB, + { [_h]: ["DELETE", "/", 204] }, () => exports.DeleteBucketRequest$, () => __Unit +]; +exports.DeleteBucketAnalyticsConfiguration$ = [9, n0, _DBAC, + { [_h]: ["DELETE", "/?analytics", 204] }, () => exports.DeleteBucketAnalyticsConfigurationRequest$, () => __Unit +]; +exports.DeleteBucketCors$ = [9, n0, _DBC, + { [_h]: ["DELETE", "/?cors", 204] }, () => exports.DeleteBucketCorsRequest$, () => __Unit +]; +exports.DeleteBucketEncryption$ = [9, n0, _DBE, + { [_h]: ["DELETE", "/?encryption", 204] }, () => exports.DeleteBucketEncryptionRequest$, () => __Unit +]; +exports.DeleteBucketIntelligentTieringConfiguration$ = [9, n0, _DBITC, + { [_h]: ["DELETE", "/?intelligent-tiering", 204] }, () => exports.DeleteBucketIntelligentTieringConfigurationRequest$, () => __Unit +]; +exports.DeleteBucketInventoryConfiguration$ = [9, n0, _DBIC, + { [_h]: ["DELETE", "/?inventory", 204] }, () => exports.DeleteBucketInventoryConfigurationRequest$, () => __Unit +]; +exports.DeleteBucketLifecycle$ = [9, n0, _DBL, + { [_h]: ["DELETE", "/?lifecycle", 204] }, () => exports.DeleteBucketLifecycleRequest$, () => __Unit +]; +exports.DeleteBucketMetadataConfiguration$ = [9, n0, _DBMC, + { [_h]: ["DELETE", "/?metadataConfiguration", 204] }, () => exports.DeleteBucketMetadataConfigurationRequest$, () => __Unit +]; +exports.DeleteBucketMetadataTableConfiguration$ = [9, n0, _DBMTC, + { [_h]: ["DELETE", "/?metadataTable", 204] }, () => exports.DeleteBucketMetadataTableConfigurationRequest$, () => __Unit +]; +exports.DeleteBucketMetricsConfiguration$ = [9, n0, _DBMCe, + { [_h]: ["DELETE", "/?metrics", 204] }, () => exports.DeleteBucketMetricsConfigurationRequest$, () => __Unit +]; +exports.DeleteBucketOwnershipControls$ = [9, n0, _DBOC, + { [_h]: ["DELETE", "/?ownershipControls", 204] }, () => exports.DeleteBucketOwnershipControlsRequest$, () => __Unit +]; +exports.DeleteBucketPolicy$ = [9, n0, _DBP, + { [_h]: ["DELETE", "/?policy", 204] }, () => exports.DeleteBucketPolicyRequest$, () => __Unit +]; +exports.DeleteBucketReplication$ = [9, n0, _DBRe, + { [_h]: ["DELETE", "/?replication", 204] }, () => exports.DeleteBucketReplicationRequest$, () => __Unit +]; +exports.DeleteBucketTagging$ = [9, n0, _DBT, + { [_h]: ["DELETE", "/?tagging", 204] }, () => exports.DeleteBucketTaggingRequest$, () => __Unit +]; +exports.DeleteBucketWebsite$ = [9, n0, _DBW, + { [_h]: ["DELETE", "/?website", 204] }, () => exports.DeleteBucketWebsiteRequest$, () => __Unit +]; +exports.DeleteObject$ = [9, n0, _DOel, + { [_h]: ["DELETE", "/{Key+}?x-id=DeleteObject", 204] }, () => exports.DeleteObjectRequest$, () => exports.DeleteObjectOutput$ +]; +exports.DeleteObjects$ = [9, n0, _DOele, + { [_hC]: "-", [_h]: ["POST", "/?delete", 200] }, () => exports.DeleteObjectsRequest$, () => exports.DeleteObjectsOutput$ +]; +exports.DeleteObjectTagging$ = [9, n0, _DOT, + { [_h]: ["DELETE", "/{Key+}?tagging", 204] }, () => exports.DeleteObjectTaggingRequest$, () => exports.DeleteObjectTaggingOutput$ +]; +exports.DeletePublicAccessBlock$ = [9, n0, _DPAB, + { [_h]: ["DELETE", "/?publicAccessBlock", 204] }, () => exports.DeletePublicAccessBlockRequest$, () => __Unit +]; +exports.GetBucketAbac$ = [9, n0, _GBA, + { [_h]: ["GET", "/?abac", 200] }, () => exports.GetBucketAbacRequest$, () => exports.GetBucketAbacOutput$ +]; +exports.GetBucketAccelerateConfiguration$ = [9, n0, _GBAC, + { [_h]: ["GET", "/?accelerate", 200] }, () => exports.GetBucketAccelerateConfigurationRequest$, () => exports.GetBucketAccelerateConfigurationOutput$ +]; +exports.GetBucketAcl$ = [9, n0, _GBAe, + { [_h]: ["GET", "/?acl", 200] }, () => exports.GetBucketAclRequest$, () => exports.GetBucketAclOutput$ +]; +exports.GetBucketAnalyticsConfiguration$ = [9, n0, _GBACe, + { [_h]: ["GET", "/?analytics&x-id=GetBucketAnalyticsConfiguration", 200] }, () => exports.GetBucketAnalyticsConfigurationRequest$, () => exports.GetBucketAnalyticsConfigurationOutput$ +]; +exports.GetBucketCors$ = [9, n0, _GBC, + { [_h]: ["GET", "/?cors", 200] }, () => exports.GetBucketCorsRequest$, () => exports.GetBucketCorsOutput$ +]; +exports.GetBucketEncryption$ = [9, n0, _GBE, + { [_h]: ["GET", "/?encryption", 200] }, () => exports.GetBucketEncryptionRequest$, () => exports.GetBucketEncryptionOutput$ +]; +exports.GetBucketIntelligentTieringConfiguration$ = [9, n0, _GBITC, + { [_h]: ["GET", "/?intelligent-tiering&x-id=GetBucketIntelligentTieringConfiguration", 200] }, () => exports.GetBucketIntelligentTieringConfigurationRequest$, () => exports.GetBucketIntelligentTieringConfigurationOutput$ +]; +exports.GetBucketInventoryConfiguration$ = [9, n0, _GBIC, + { [_h]: ["GET", "/?inventory&x-id=GetBucketInventoryConfiguration", 200] }, () => exports.GetBucketInventoryConfigurationRequest$, () => exports.GetBucketInventoryConfigurationOutput$ +]; +exports.GetBucketLifecycleConfiguration$ = [9, n0, _GBLC, + { [_h]: ["GET", "/?lifecycle", 200] }, () => exports.GetBucketLifecycleConfigurationRequest$, () => exports.GetBucketLifecycleConfigurationOutput$ +]; +exports.GetBucketLocation$ = [9, n0, _GBL, + { [_h]: ["GET", "/?location", 200] }, () => exports.GetBucketLocationRequest$, () => exports.GetBucketLocationOutput$ +]; +exports.GetBucketLogging$ = [9, n0, _GBLe, + { [_h]: ["GET", "/?logging", 200] }, () => exports.GetBucketLoggingRequest$, () => exports.GetBucketLoggingOutput$ +]; +exports.GetBucketMetadataConfiguration$ = [9, n0, _GBMC, + { [_h]: ["GET", "/?metadataConfiguration", 200] }, () => exports.GetBucketMetadataConfigurationRequest$, () => exports.GetBucketMetadataConfigurationOutput$ +]; +exports.GetBucketMetadataTableConfiguration$ = [9, n0, _GBMTC, + { [_h]: ["GET", "/?metadataTable", 200] }, () => exports.GetBucketMetadataTableConfigurationRequest$, () => exports.GetBucketMetadataTableConfigurationOutput$ +]; +exports.GetBucketMetricsConfiguration$ = [9, n0, _GBMCe, + { [_h]: ["GET", "/?metrics&x-id=GetBucketMetricsConfiguration", 200] }, () => exports.GetBucketMetricsConfigurationRequest$, () => exports.GetBucketMetricsConfigurationOutput$ +]; +exports.GetBucketNotificationConfiguration$ = [9, n0, _GBNC, + { [_h]: ["GET", "/?notification", 200] }, () => exports.GetBucketNotificationConfigurationRequest$, () => exports.NotificationConfiguration$ +]; +exports.GetBucketOwnershipControls$ = [9, n0, _GBOC, + { [_h]: ["GET", "/?ownershipControls", 200] }, () => exports.GetBucketOwnershipControlsRequest$, () => exports.GetBucketOwnershipControlsOutput$ +]; +exports.GetBucketPolicy$ = [9, n0, _GBP, + { [_h]: ["GET", "/?policy", 200] }, () => exports.GetBucketPolicyRequest$, () => exports.GetBucketPolicyOutput$ +]; +exports.GetBucketPolicyStatus$ = [9, n0, _GBPS, + { [_h]: ["GET", "/?policyStatus", 200] }, () => exports.GetBucketPolicyStatusRequest$, () => exports.GetBucketPolicyStatusOutput$ +]; +exports.GetBucketReplication$ = [9, n0, _GBR, + { [_h]: ["GET", "/?replication", 200] }, () => exports.GetBucketReplicationRequest$, () => exports.GetBucketReplicationOutput$ +]; +exports.GetBucketRequestPayment$ = [9, n0, _GBRP, + { [_h]: ["GET", "/?requestPayment", 200] }, () => exports.GetBucketRequestPaymentRequest$, () => exports.GetBucketRequestPaymentOutput$ +]; +exports.GetBucketTagging$ = [9, n0, _GBT, + { [_h]: ["GET", "/?tagging", 200] }, () => exports.GetBucketTaggingRequest$, () => exports.GetBucketTaggingOutput$ +]; +exports.GetBucketVersioning$ = [9, n0, _GBV, + { [_h]: ["GET", "/?versioning", 200] }, () => exports.GetBucketVersioningRequest$, () => exports.GetBucketVersioningOutput$ +]; +exports.GetBucketWebsite$ = [9, n0, _GBW, + { [_h]: ["GET", "/?website", 200] }, () => exports.GetBucketWebsiteRequest$, () => exports.GetBucketWebsiteOutput$ +]; +exports.GetObject$ = [9, n0, _GO, + { [_hC]: "-", [_h]: ["GET", "/{Key+}?x-id=GetObject", 200] }, () => exports.GetObjectRequest$, () => exports.GetObjectOutput$ +]; +exports.GetObjectAcl$ = [9, n0, _GOA, + { [_h]: ["GET", "/{Key+}?acl", 200] }, () => exports.GetObjectAclRequest$, () => exports.GetObjectAclOutput$ +]; +exports.GetObjectAttributes$ = [9, n0, _GOAe, + { [_h]: ["GET", "/{Key+}?attributes", 200] }, () => exports.GetObjectAttributesRequest$, () => exports.GetObjectAttributesOutput$ +]; +exports.GetObjectLegalHold$ = [9, n0, _GOLH, + { [_h]: ["GET", "/{Key+}?legal-hold", 200] }, () => exports.GetObjectLegalHoldRequest$, () => exports.GetObjectLegalHoldOutput$ +]; +exports.GetObjectLockConfiguration$ = [9, n0, _GOLC, + { [_h]: ["GET", "/?object-lock", 200] }, () => exports.GetObjectLockConfigurationRequest$, () => exports.GetObjectLockConfigurationOutput$ +]; +exports.GetObjectRetention$ = [9, n0, _GORe, + { [_h]: ["GET", "/{Key+}?retention", 200] }, () => exports.GetObjectRetentionRequest$, () => exports.GetObjectRetentionOutput$ +]; +exports.GetObjectTagging$ = [9, n0, _GOT, + { [_h]: ["GET", "/{Key+}?tagging", 200] }, () => exports.GetObjectTaggingRequest$, () => exports.GetObjectTaggingOutput$ +]; +exports.GetObjectTorrent$ = [9, n0, _GOTe, + { [_h]: ["GET", "/{Key+}?torrent", 200] }, () => exports.GetObjectTorrentRequest$, () => exports.GetObjectTorrentOutput$ +]; +exports.GetPublicAccessBlock$ = [9, n0, _GPAB, + { [_h]: ["GET", "/?publicAccessBlock", 200] }, () => exports.GetPublicAccessBlockRequest$, () => exports.GetPublicAccessBlockOutput$ +]; +exports.HeadBucket$ = [9, n0, _HB, + { [_h]: ["HEAD", "/", 200] }, () => exports.HeadBucketRequest$, () => exports.HeadBucketOutput$ +]; +exports.HeadObject$ = [9, n0, _HO, + { [_h]: ["HEAD", "/{Key+}", 200] }, () => exports.HeadObjectRequest$, () => exports.HeadObjectOutput$ +]; +exports.ListBucketAnalyticsConfigurations$ = [9, n0, _LBAC, + { [_h]: ["GET", "/?analytics&x-id=ListBucketAnalyticsConfigurations", 200] }, () => exports.ListBucketAnalyticsConfigurationsRequest$, () => exports.ListBucketAnalyticsConfigurationsOutput$ +]; +exports.ListBucketIntelligentTieringConfigurations$ = [9, n0, _LBITC, + { [_h]: ["GET", "/?intelligent-tiering&x-id=ListBucketIntelligentTieringConfigurations", 200] }, () => exports.ListBucketIntelligentTieringConfigurationsRequest$, () => exports.ListBucketIntelligentTieringConfigurationsOutput$ +]; +exports.ListBucketInventoryConfigurations$ = [9, n0, _LBIC, + { [_h]: ["GET", "/?inventory&x-id=ListBucketInventoryConfigurations", 200] }, () => exports.ListBucketInventoryConfigurationsRequest$, () => exports.ListBucketInventoryConfigurationsOutput$ +]; +exports.ListBucketMetricsConfigurations$ = [9, n0, _LBMC, + { [_h]: ["GET", "/?metrics&x-id=ListBucketMetricsConfigurations", 200] }, () => exports.ListBucketMetricsConfigurationsRequest$, () => exports.ListBucketMetricsConfigurationsOutput$ +]; +exports.ListBuckets$ = [9, n0, _LB, + { [_h]: ["GET", "/?x-id=ListBuckets", 200] }, () => exports.ListBucketsRequest$, () => exports.ListBucketsOutput$ +]; +exports.ListDirectoryBuckets$ = [9, n0, _LDB, + { [_h]: ["GET", "/?x-id=ListDirectoryBuckets", 200] }, () => exports.ListDirectoryBucketsRequest$, () => exports.ListDirectoryBucketsOutput$ +]; +exports.ListMultipartUploads$ = [9, n0, _LMU, + { [_h]: ["GET", "/?uploads", 200] }, () => exports.ListMultipartUploadsRequest$, () => exports.ListMultipartUploadsOutput$ +]; +exports.ListObjects$ = [9, n0, _LO, + { [_h]: ["GET", "/", 200] }, () => exports.ListObjectsRequest$, () => exports.ListObjectsOutput$ +]; +exports.ListObjectsV2$ = [9, n0, _LOV, + { [_h]: ["GET", "/?list-type=2", 200] }, () => exports.ListObjectsV2Request$, () => exports.ListObjectsV2Output$ +]; +exports.ListObjectVersions$ = [9, n0, _LOVi, + { [_h]: ["GET", "/?versions", 200] }, () => exports.ListObjectVersionsRequest$, () => exports.ListObjectVersionsOutput$ +]; +exports.ListParts$ = [9, n0, _LP, + { [_h]: ["GET", "/{Key+}?x-id=ListParts", 200] }, () => exports.ListPartsRequest$, () => exports.ListPartsOutput$ +]; +exports.PutBucketAbac$ = [9, n0, _PBA, + { [_hC]: "-", [_h]: ["PUT", "/?abac", 200] }, () => exports.PutBucketAbacRequest$, () => __Unit +]; +exports.PutBucketAccelerateConfiguration$ = [9, n0, _PBAC, + { [_hC]: "-", [_h]: ["PUT", "/?accelerate", 200] }, () => exports.PutBucketAccelerateConfigurationRequest$, () => __Unit +]; +exports.PutBucketAcl$ = [9, n0, _PBAu, + { [_hC]: "-", [_h]: ["PUT", "/?acl", 200] }, () => exports.PutBucketAclRequest$, () => __Unit +]; +exports.PutBucketAnalyticsConfiguration$ = [9, n0, _PBACu, + { [_h]: ["PUT", "/?analytics", 200] }, () => exports.PutBucketAnalyticsConfigurationRequest$, () => __Unit +]; +exports.PutBucketCors$ = [9, n0, _PBC, + { [_hC]: "-", [_h]: ["PUT", "/?cors", 200] }, () => exports.PutBucketCorsRequest$, () => __Unit +]; +exports.PutBucketEncryption$ = [9, n0, _PBE, + { [_hC]: "-", [_h]: ["PUT", "/?encryption", 200] }, () => exports.PutBucketEncryptionRequest$, () => __Unit +]; +exports.PutBucketIntelligentTieringConfiguration$ = [9, n0, _PBITC, + { [_h]: ["PUT", "/?intelligent-tiering", 200] }, () => exports.PutBucketIntelligentTieringConfigurationRequest$, () => __Unit +]; +exports.PutBucketInventoryConfiguration$ = [9, n0, _PBIC, + { [_h]: ["PUT", "/?inventory", 200] }, () => exports.PutBucketInventoryConfigurationRequest$, () => __Unit +]; +exports.PutBucketLifecycleConfiguration$ = [9, n0, _PBLC, + { [_hC]: "-", [_h]: ["PUT", "/?lifecycle", 200] }, () => exports.PutBucketLifecycleConfigurationRequest$, () => exports.PutBucketLifecycleConfigurationOutput$ +]; +exports.PutBucketLogging$ = [9, n0, _PBL, + { [_hC]: "-", [_h]: ["PUT", "/?logging", 200] }, () => exports.PutBucketLoggingRequest$, () => __Unit +]; +exports.PutBucketMetricsConfiguration$ = [9, n0, _PBMC, + { [_h]: ["PUT", "/?metrics", 200] }, () => exports.PutBucketMetricsConfigurationRequest$, () => __Unit +]; +exports.PutBucketNotificationConfiguration$ = [9, n0, _PBNC, + { [_h]: ["PUT", "/?notification", 200] }, () => exports.PutBucketNotificationConfigurationRequest$, () => __Unit +]; +exports.PutBucketOwnershipControls$ = [9, n0, _PBOC, + { [_hC]: "-", [_h]: ["PUT", "/?ownershipControls", 200] }, () => exports.PutBucketOwnershipControlsRequest$, () => __Unit +]; +exports.PutBucketPolicy$ = [9, n0, _PBP, + { [_hC]: "-", [_h]: ["PUT", "/?policy", 200] }, () => exports.PutBucketPolicyRequest$, () => __Unit +]; +exports.PutBucketReplication$ = [9, n0, _PBR, + { [_hC]: "-", [_h]: ["PUT", "/?replication", 200] }, () => exports.PutBucketReplicationRequest$, () => __Unit +]; +exports.PutBucketRequestPayment$ = [9, n0, _PBRP, + { [_hC]: "-", [_h]: ["PUT", "/?requestPayment", 200] }, () => exports.PutBucketRequestPaymentRequest$, () => __Unit +]; +exports.PutBucketTagging$ = [9, n0, _PBT, + { [_hC]: "-", [_h]: ["PUT", "/?tagging", 200] }, () => exports.PutBucketTaggingRequest$, () => __Unit +]; +exports.PutBucketVersioning$ = [9, n0, _PBV, + { [_hC]: "-", [_h]: ["PUT", "/?versioning", 200] }, () => exports.PutBucketVersioningRequest$, () => __Unit +]; +exports.PutBucketWebsite$ = [9, n0, _PBW, + { [_hC]: "-", [_h]: ["PUT", "/?website", 200] }, () => exports.PutBucketWebsiteRequest$, () => __Unit +]; +exports.PutObject$ = [9, n0, _PO, + { [_hC]: "-", [_h]: ["PUT", "/{Key+}?x-id=PutObject", 200] }, () => exports.PutObjectRequest$, () => exports.PutObjectOutput$ +]; +exports.PutObjectAcl$ = [9, n0, _POA, + { [_hC]: "-", [_h]: ["PUT", "/{Key+}?acl", 200] }, () => exports.PutObjectAclRequest$, () => exports.PutObjectAclOutput$ +]; +exports.PutObjectLegalHold$ = [9, n0, _POLH, + { [_hC]: "-", [_h]: ["PUT", "/{Key+}?legal-hold", 200] }, () => exports.PutObjectLegalHoldRequest$, () => exports.PutObjectLegalHoldOutput$ +]; +exports.PutObjectLockConfiguration$ = [9, n0, _POLC, + { [_hC]: "-", [_h]: ["PUT", "/?object-lock", 200] }, () => exports.PutObjectLockConfigurationRequest$, () => exports.PutObjectLockConfigurationOutput$ +]; +exports.PutObjectRetention$ = [9, n0, _PORu, + { [_hC]: "-", [_h]: ["PUT", "/{Key+}?retention", 200] }, () => exports.PutObjectRetentionRequest$, () => exports.PutObjectRetentionOutput$ +]; +exports.PutObjectTagging$ = [9, n0, _POT, + { [_hC]: "-", [_h]: ["PUT", "/{Key+}?tagging", 200] }, () => exports.PutObjectTaggingRequest$, () => exports.PutObjectTaggingOutput$ +]; +exports.PutPublicAccessBlock$ = [9, n0, _PPAB, + { [_hC]: "-", [_h]: ["PUT", "/?publicAccessBlock", 200] }, () => exports.PutPublicAccessBlockRequest$, () => __Unit +]; +exports.RenameObject$ = [9, n0, _RO, + { [_h]: ["PUT", "/{Key+}?renameObject", 200] }, () => exports.RenameObjectRequest$, () => exports.RenameObjectOutput$ +]; +exports.RestoreObject$ = [9, n0, _ROe, + { [_hC]: "-", [_h]: ["POST", "/{Key+}?restore", 200] }, () => exports.RestoreObjectRequest$, () => exports.RestoreObjectOutput$ +]; +exports.SelectObjectContent$ = [9, n0, _SOC, + { [_h]: ["POST", "/{Key+}?select&select-type=2", 200] }, () => exports.SelectObjectContentRequest$, () => exports.SelectObjectContentOutput$ +]; +exports.UpdateBucketMetadataInventoryTableConfiguration$ = [9, n0, _UBMITC, + { [_hC]: "-", [_h]: ["PUT", "/?metadataInventoryTable", 200] }, () => exports.UpdateBucketMetadataInventoryTableConfigurationRequest$, () => __Unit +]; +exports.UpdateBucketMetadataJournalTableConfiguration$ = [9, n0, _UBMJTC, + { [_hC]: "-", [_h]: ["PUT", "/?metadataJournalTable", 200] }, () => exports.UpdateBucketMetadataJournalTableConfigurationRequest$, () => __Unit +]; +exports.UpdateObjectEncryption$ = [9, n0, _UOE, + { [_hC]: "-", [_h]: ["PUT", "/{Key+}?encryption", 200] }, () => exports.UpdateObjectEncryptionRequest$, () => exports.UpdateObjectEncryptionResponse$ +]; +exports.UploadPart$ = [9, n0, _UP, + { [_hC]: "-", [_h]: ["PUT", "/{Key+}?x-id=UploadPart", 200] }, () => exports.UploadPartRequest$, () => exports.UploadPartOutput$ +]; +exports.UploadPartCopy$ = [9, n0, _UPC, + { [_h]: ["PUT", "/{Key+}?x-id=UploadPartCopy", 200] }, () => exports.UploadPartCopyRequest$, () => exports.UploadPartCopyOutput$ +]; +exports.WriteGetObjectResponse$ = [9, n0, _WGOR, + { [_en]: ["{RequestRoute}."], [_h]: ["POST", "/WriteGetObjectResponse", 200] }, () => exports.WriteGetObjectResponseRequest$, () => __Unit +]; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/S3.js b/node_modules/@aws-sdk/client-s3/dist-es/S3.js new file mode 100644 index 0000000..a1b2c67 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/S3.js @@ -0,0 +1,241 @@ +import { createAggregatedClient } from "@smithy/smithy-client"; +import { AbortMultipartUploadCommand, } from "./commands/AbortMultipartUploadCommand"; +import { CompleteMultipartUploadCommand, } from "./commands/CompleteMultipartUploadCommand"; +import { CopyObjectCommand, } from "./commands/CopyObjectCommand"; +import { CreateBucketCommand, } from "./commands/CreateBucketCommand"; +import { CreateBucketMetadataConfigurationCommand, } from "./commands/CreateBucketMetadataConfigurationCommand"; +import { CreateBucketMetadataTableConfigurationCommand, } from "./commands/CreateBucketMetadataTableConfigurationCommand"; +import { CreateMultipartUploadCommand, } from "./commands/CreateMultipartUploadCommand"; +import { CreateSessionCommand, } from "./commands/CreateSessionCommand"; +import { DeleteBucketAnalyticsConfigurationCommand, } from "./commands/DeleteBucketAnalyticsConfigurationCommand"; +import { DeleteBucketCommand, } from "./commands/DeleteBucketCommand"; +import { DeleteBucketCorsCommand, } from "./commands/DeleteBucketCorsCommand"; +import { DeleteBucketEncryptionCommand, } from "./commands/DeleteBucketEncryptionCommand"; +import { DeleteBucketIntelligentTieringConfigurationCommand, } from "./commands/DeleteBucketIntelligentTieringConfigurationCommand"; +import { DeleteBucketInventoryConfigurationCommand, } from "./commands/DeleteBucketInventoryConfigurationCommand"; +import { DeleteBucketLifecycleCommand, } from "./commands/DeleteBucketLifecycleCommand"; +import { DeleteBucketMetadataConfigurationCommand, } from "./commands/DeleteBucketMetadataConfigurationCommand"; +import { DeleteBucketMetadataTableConfigurationCommand, } from "./commands/DeleteBucketMetadataTableConfigurationCommand"; +import { DeleteBucketMetricsConfigurationCommand, } from "./commands/DeleteBucketMetricsConfigurationCommand"; +import { DeleteBucketOwnershipControlsCommand, } from "./commands/DeleteBucketOwnershipControlsCommand"; +import { DeleteBucketPolicyCommand, } from "./commands/DeleteBucketPolicyCommand"; +import { DeleteBucketReplicationCommand, } from "./commands/DeleteBucketReplicationCommand"; +import { DeleteBucketTaggingCommand, } from "./commands/DeleteBucketTaggingCommand"; +import { DeleteBucketWebsiteCommand, } from "./commands/DeleteBucketWebsiteCommand"; +import { DeleteObjectCommand, } from "./commands/DeleteObjectCommand"; +import { DeleteObjectsCommand, } from "./commands/DeleteObjectsCommand"; +import { DeleteObjectTaggingCommand, } from "./commands/DeleteObjectTaggingCommand"; +import { DeletePublicAccessBlockCommand, } from "./commands/DeletePublicAccessBlockCommand"; +import { GetBucketAbacCommand, } from "./commands/GetBucketAbacCommand"; +import { GetBucketAccelerateConfigurationCommand, } from "./commands/GetBucketAccelerateConfigurationCommand"; +import { GetBucketAclCommand, } from "./commands/GetBucketAclCommand"; +import { GetBucketAnalyticsConfigurationCommand, } from "./commands/GetBucketAnalyticsConfigurationCommand"; +import { GetBucketCorsCommand, } from "./commands/GetBucketCorsCommand"; +import { GetBucketEncryptionCommand, } from "./commands/GetBucketEncryptionCommand"; +import { GetBucketIntelligentTieringConfigurationCommand, } from "./commands/GetBucketIntelligentTieringConfigurationCommand"; +import { GetBucketInventoryConfigurationCommand, } from "./commands/GetBucketInventoryConfigurationCommand"; +import { GetBucketLifecycleConfigurationCommand, } from "./commands/GetBucketLifecycleConfigurationCommand"; +import { GetBucketLocationCommand, } from "./commands/GetBucketLocationCommand"; +import { GetBucketLoggingCommand, } from "./commands/GetBucketLoggingCommand"; +import { GetBucketMetadataConfigurationCommand, } from "./commands/GetBucketMetadataConfigurationCommand"; +import { GetBucketMetadataTableConfigurationCommand, } from "./commands/GetBucketMetadataTableConfigurationCommand"; +import { GetBucketMetricsConfigurationCommand, } from "./commands/GetBucketMetricsConfigurationCommand"; +import { GetBucketNotificationConfigurationCommand, } from "./commands/GetBucketNotificationConfigurationCommand"; +import { GetBucketOwnershipControlsCommand, } from "./commands/GetBucketOwnershipControlsCommand"; +import { GetBucketPolicyCommand, } from "./commands/GetBucketPolicyCommand"; +import { GetBucketPolicyStatusCommand, } from "./commands/GetBucketPolicyStatusCommand"; +import { GetBucketReplicationCommand, } from "./commands/GetBucketReplicationCommand"; +import { GetBucketRequestPaymentCommand, } from "./commands/GetBucketRequestPaymentCommand"; +import { GetBucketTaggingCommand, } from "./commands/GetBucketTaggingCommand"; +import { GetBucketVersioningCommand, } from "./commands/GetBucketVersioningCommand"; +import { GetBucketWebsiteCommand, } from "./commands/GetBucketWebsiteCommand"; +import { GetObjectAclCommand, } from "./commands/GetObjectAclCommand"; +import { GetObjectAttributesCommand, } from "./commands/GetObjectAttributesCommand"; +import { GetObjectCommand } from "./commands/GetObjectCommand"; +import { GetObjectLegalHoldCommand, } from "./commands/GetObjectLegalHoldCommand"; +import { GetObjectLockConfigurationCommand, } from "./commands/GetObjectLockConfigurationCommand"; +import { GetObjectRetentionCommand, } from "./commands/GetObjectRetentionCommand"; +import { GetObjectTaggingCommand, } from "./commands/GetObjectTaggingCommand"; +import { GetObjectTorrentCommand, } from "./commands/GetObjectTorrentCommand"; +import { GetPublicAccessBlockCommand, } from "./commands/GetPublicAccessBlockCommand"; +import { HeadBucketCommand, } from "./commands/HeadBucketCommand"; +import { HeadObjectCommand, } from "./commands/HeadObjectCommand"; +import { ListBucketAnalyticsConfigurationsCommand, } from "./commands/ListBucketAnalyticsConfigurationsCommand"; +import { ListBucketIntelligentTieringConfigurationsCommand, } from "./commands/ListBucketIntelligentTieringConfigurationsCommand"; +import { ListBucketInventoryConfigurationsCommand, } from "./commands/ListBucketInventoryConfigurationsCommand"; +import { ListBucketMetricsConfigurationsCommand, } from "./commands/ListBucketMetricsConfigurationsCommand"; +import { ListBucketsCommand, } from "./commands/ListBucketsCommand"; +import { ListDirectoryBucketsCommand, } from "./commands/ListDirectoryBucketsCommand"; +import { ListMultipartUploadsCommand, } from "./commands/ListMultipartUploadsCommand"; +import { ListObjectsCommand, } from "./commands/ListObjectsCommand"; +import { ListObjectsV2Command, } from "./commands/ListObjectsV2Command"; +import { ListObjectVersionsCommand, } from "./commands/ListObjectVersionsCommand"; +import { ListPartsCommand } from "./commands/ListPartsCommand"; +import { PutBucketAbacCommand, } from "./commands/PutBucketAbacCommand"; +import { PutBucketAccelerateConfigurationCommand, } from "./commands/PutBucketAccelerateConfigurationCommand"; +import { PutBucketAclCommand, } from "./commands/PutBucketAclCommand"; +import { PutBucketAnalyticsConfigurationCommand, } from "./commands/PutBucketAnalyticsConfigurationCommand"; +import { PutBucketCorsCommand, } from "./commands/PutBucketCorsCommand"; +import { PutBucketEncryptionCommand, } from "./commands/PutBucketEncryptionCommand"; +import { PutBucketIntelligentTieringConfigurationCommand, } from "./commands/PutBucketIntelligentTieringConfigurationCommand"; +import { PutBucketInventoryConfigurationCommand, } from "./commands/PutBucketInventoryConfigurationCommand"; +import { PutBucketLifecycleConfigurationCommand, } from "./commands/PutBucketLifecycleConfigurationCommand"; +import { PutBucketLoggingCommand, } from "./commands/PutBucketLoggingCommand"; +import { PutBucketMetricsConfigurationCommand, } from "./commands/PutBucketMetricsConfigurationCommand"; +import { PutBucketNotificationConfigurationCommand, } from "./commands/PutBucketNotificationConfigurationCommand"; +import { PutBucketOwnershipControlsCommand, } from "./commands/PutBucketOwnershipControlsCommand"; +import { PutBucketPolicyCommand, } from "./commands/PutBucketPolicyCommand"; +import { PutBucketReplicationCommand, } from "./commands/PutBucketReplicationCommand"; +import { PutBucketRequestPaymentCommand, } from "./commands/PutBucketRequestPaymentCommand"; +import { PutBucketTaggingCommand, } from "./commands/PutBucketTaggingCommand"; +import { PutBucketVersioningCommand, } from "./commands/PutBucketVersioningCommand"; +import { PutBucketWebsiteCommand, } from "./commands/PutBucketWebsiteCommand"; +import { PutObjectAclCommand, } from "./commands/PutObjectAclCommand"; +import { PutObjectCommand } from "./commands/PutObjectCommand"; +import { PutObjectLegalHoldCommand, } from "./commands/PutObjectLegalHoldCommand"; +import { PutObjectLockConfigurationCommand, } from "./commands/PutObjectLockConfigurationCommand"; +import { PutObjectRetentionCommand, } from "./commands/PutObjectRetentionCommand"; +import { PutObjectTaggingCommand, } from "./commands/PutObjectTaggingCommand"; +import { PutPublicAccessBlockCommand, } from "./commands/PutPublicAccessBlockCommand"; +import { RenameObjectCommand, } from "./commands/RenameObjectCommand"; +import { RestoreObjectCommand, } from "./commands/RestoreObjectCommand"; +import { SelectObjectContentCommand, } from "./commands/SelectObjectContentCommand"; +import { UpdateBucketMetadataInventoryTableConfigurationCommand, } from "./commands/UpdateBucketMetadataInventoryTableConfigurationCommand"; +import { UpdateBucketMetadataJournalTableConfigurationCommand, } from "./commands/UpdateBucketMetadataJournalTableConfigurationCommand"; +import { UpdateObjectEncryptionCommand, } from "./commands/UpdateObjectEncryptionCommand"; +import { UploadPartCommand, } from "./commands/UploadPartCommand"; +import { UploadPartCopyCommand, } from "./commands/UploadPartCopyCommand"; +import { WriteGetObjectResponseCommand, } from "./commands/WriteGetObjectResponseCommand"; +import { paginateListBuckets } from "./pagination/ListBucketsPaginator"; +import { paginateListDirectoryBuckets } from "./pagination/ListDirectoryBucketsPaginator"; +import { paginateListObjectsV2 } from "./pagination/ListObjectsV2Paginator"; +import { paginateListParts } from "./pagination/ListPartsPaginator"; +import { S3Client } from "./S3Client"; +import { waitUntilBucketExists } from "./waiters/waitForBucketExists"; +import { waitUntilBucketNotExists } from "./waiters/waitForBucketNotExists"; +import { waitUntilObjectExists } from "./waiters/waitForObjectExists"; +import { waitUntilObjectNotExists } from "./waiters/waitForObjectNotExists"; +const commands = { + AbortMultipartUploadCommand, + CompleteMultipartUploadCommand, + CopyObjectCommand, + CreateBucketCommand, + CreateBucketMetadataConfigurationCommand, + CreateBucketMetadataTableConfigurationCommand, + CreateMultipartUploadCommand, + CreateSessionCommand, + DeleteBucketCommand, + DeleteBucketAnalyticsConfigurationCommand, + DeleteBucketCorsCommand, + DeleteBucketEncryptionCommand, + DeleteBucketIntelligentTieringConfigurationCommand, + DeleteBucketInventoryConfigurationCommand, + DeleteBucketLifecycleCommand, + DeleteBucketMetadataConfigurationCommand, + DeleteBucketMetadataTableConfigurationCommand, + DeleteBucketMetricsConfigurationCommand, + DeleteBucketOwnershipControlsCommand, + DeleteBucketPolicyCommand, + DeleteBucketReplicationCommand, + DeleteBucketTaggingCommand, + DeleteBucketWebsiteCommand, + DeleteObjectCommand, + DeleteObjectsCommand, + DeleteObjectTaggingCommand, + DeletePublicAccessBlockCommand, + GetBucketAbacCommand, + GetBucketAccelerateConfigurationCommand, + GetBucketAclCommand, + GetBucketAnalyticsConfigurationCommand, + GetBucketCorsCommand, + GetBucketEncryptionCommand, + GetBucketIntelligentTieringConfigurationCommand, + GetBucketInventoryConfigurationCommand, + GetBucketLifecycleConfigurationCommand, + GetBucketLocationCommand, + GetBucketLoggingCommand, + GetBucketMetadataConfigurationCommand, + GetBucketMetadataTableConfigurationCommand, + GetBucketMetricsConfigurationCommand, + GetBucketNotificationConfigurationCommand, + GetBucketOwnershipControlsCommand, + GetBucketPolicyCommand, + GetBucketPolicyStatusCommand, + GetBucketReplicationCommand, + GetBucketRequestPaymentCommand, + GetBucketTaggingCommand, + GetBucketVersioningCommand, + GetBucketWebsiteCommand, + GetObjectCommand, + GetObjectAclCommand, + GetObjectAttributesCommand, + GetObjectLegalHoldCommand, + GetObjectLockConfigurationCommand, + GetObjectRetentionCommand, + GetObjectTaggingCommand, + GetObjectTorrentCommand, + GetPublicAccessBlockCommand, + HeadBucketCommand, + HeadObjectCommand, + ListBucketAnalyticsConfigurationsCommand, + ListBucketIntelligentTieringConfigurationsCommand, + ListBucketInventoryConfigurationsCommand, + ListBucketMetricsConfigurationsCommand, + ListBucketsCommand, + ListDirectoryBucketsCommand, + ListMultipartUploadsCommand, + ListObjectsCommand, + ListObjectsV2Command, + ListObjectVersionsCommand, + ListPartsCommand, + PutBucketAbacCommand, + PutBucketAccelerateConfigurationCommand, + PutBucketAclCommand, + PutBucketAnalyticsConfigurationCommand, + PutBucketCorsCommand, + PutBucketEncryptionCommand, + PutBucketIntelligentTieringConfigurationCommand, + PutBucketInventoryConfigurationCommand, + PutBucketLifecycleConfigurationCommand, + PutBucketLoggingCommand, + PutBucketMetricsConfigurationCommand, + PutBucketNotificationConfigurationCommand, + PutBucketOwnershipControlsCommand, + PutBucketPolicyCommand, + PutBucketReplicationCommand, + PutBucketRequestPaymentCommand, + PutBucketTaggingCommand, + PutBucketVersioningCommand, + PutBucketWebsiteCommand, + PutObjectCommand, + PutObjectAclCommand, + PutObjectLegalHoldCommand, + PutObjectLockConfigurationCommand, + PutObjectRetentionCommand, + PutObjectTaggingCommand, + PutPublicAccessBlockCommand, + RenameObjectCommand, + RestoreObjectCommand, + SelectObjectContentCommand, + UpdateBucketMetadataInventoryTableConfigurationCommand, + UpdateBucketMetadataJournalTableConfigurationCommand, + UpdateObjectEncryptionCommand, + UploadPartCommand, + UploadPartCopyCommand, + WriteGetObjectResponseCommand, +}; +const paginators = { + paginateListBuckets, + paginateListDirectoryBuckets, + paginateListObjectsV2, + paginateListParts, +}; +const waiters = { + waitUntilBucketExists, + waitUntilBucketNotExists, + waitUntilObjectExists, + waitUntilObjectNotExists, +}; +export class S3 extends S3Client { +} +createAggregatedClient(commands, S3, { paginators, waiters }); diff --git a/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js b/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js new file mode 100644 index 0000000..d8ca9a0 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js @@ -0,0 +1,64 @@ +import { getAddExpectContinuePlugin } from "@aws-sdk/middleware-expect-continue"; +import { resolveFlexibleChecksumsConfig, } from "@aws-sdk/middleware-flexible-checksums"; +import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header"; +import { getLoggerPlugin } from "@aws-sdk/middleware-logger"; +import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection"; +import { getRegionRedirectMiddlewarePlugin, getS3ExpressHttpSigningPlugin, getS3ExpressPlugin, getValidateBucketNamePlugin, resolveS3Config, } from "@aws-sdk/middleware-sdk-s3"; +import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent"; +import { resolveRegionConfig } from "@smithy/config-resolver"; +import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core"; +import { getSchemaSerdePlugin } from "@smithy/core/schema"; +import { resolveEventStreamSerdeConfig, } from "@smithy/eventstream-serde-config-resolver"; +import { getContentLengthPlugin } from "@smithy/middleware-content-length"; +import { resolveEndpointConfig, } from "@smithy/middleware-endpoint"; +import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry"; +import { Client as __Client, } from "@smithy/smithy-client"; +import { defaultS3HttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider"; +import { CreateSessionCommand, } from "./commands/CreateSessionCommand"; +import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters"; +import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig"; +import { resolveRuntimeExtensions } from "./runtimeExtensions"; +export { __Client }; +export class S3Client extends __Client { + config; + constructor(...[configuration]) { + const _config_0 = __getRuntimeConfig(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = resolveClientEndpointParameters(_config_0); + const _config_2 = resolveUserAgentConfig(_config_1); + const _config_3 = resolveFlexibleChecksumsConfig(_config_2); + const _config_4 = resolveRetryConfig(_config_3); + const _config_5 = resolveRegionConfig(_config_4); + const _config_6 = resolveHostHeaderConfig(_config_5); + const _config_7 = resolveEndpointConfig(_config_6); + const _config_8 = resolveEventStreamSerdeConfig(_config_7); + const _config_9 = resolveHttpAuthSchemeConfig(_config_8); + const _config_10 = resolveS3Config(_config_9, { session: [() => this, CreateSessionCommand] }); + const _config_11 = resolveRuntimeExtensions(_config_10, configuration?.extensions || []); + this.config = _config_11; + this.middlewareStack.use(getSchemaSerdePlugin(this.config)); + this.middlewareStack.use(getUserAgentPlugin(this.config)); + this.middlewareStack.use(getRetryPlugin(this.config)); + this.middlewareStack.use(getContentLengthPlugin(this.config)); + this.middlewareStack.use(getHostHeaderPlugin(this.config)); + this.middlewareStack.use(getLoggerPlugin(this.config)); + this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); + this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { + httpAuthSchemeParametersProvider: defaultS3HttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + "aws.auth#sigv4a": config.credentials, + }), + })); + this.middlewareStack.use(getHttpSigningPlugin(this.config)); + this.middlewareStack.use(getValidateBucketNamePlugin(this.config)); + this.middlewareStack.use(getAddExpectContinuePlugin(this.config)); + this.middlewareStack.use(getRegionRedirectMiddlewarePlugin(this.config)); + this.middlewareStack.use(getS3ExpressPlugin(this.config)); + this.middlewareStack.use(getS3ExpressHttpSigningPlugin(this.config)); + } + destroy() { + super.destroy(); + } +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js b/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js new file mode 100644 index 0000000..2ba1d48 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js @@ -0,0 +1,38 @@ +export const getHttpAuthExtensionConfiguration = (runtimeConfig) => { + const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; + let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; + let _credentials = runtimeConfig.credentials; + return { + setHttpAuthScheme(httpAuthScheme) { + const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); + if (index === -1) { + _httpAuthSchemes.push(httpAuthScheme); + } + else { + _httpAuthSchemes.splice(index, 1, httpAuthScheme); + } + }, + httpAuthSchemes() { + return _httpAuthSchemes; + }, + setHttpAuthSchemeProvider(httpAuthSchemeProvider) { + _httpAuthSchemeProvider = httpAuthSchemeProvider; + }, + httpAuthSchemeProvider() { + return _httpAuthSchemeProvider; + }, + setCredentials(credentials) { + _credentials = credentials; + }, + credentials() { + return _credentials; + }, + }; +}; +export const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js b/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js new file mode 100644 index 0000000..cd7c1a0 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js @@ -0,0 +1,122 @@ +import { resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes"; +import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region"; +import { resolveParams } from "@smithy/middleware-endpoint"; +import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware"; +import { defaultEndpointResolver } from "../endpoint/endpointResolver"; +const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => { + if (!input) { + throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`"); + } + const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input); + const instructionsFn = getSmithyContext(context)?.commandInstance?.constructor + ?.getEndpointParameterInstructions; + if (!instructionsFn) { + throw new Error(`getEndpointParameterInstructions() is not defined on '${context.commandName}'`); + } + const endpointParameters = await resolveParams(input, { getEndpointParameterInstructions: instructionsFn }, config); + return Object.assign(defaultParameters, endpointParameters); +}; +const _defaultS3HttpAuthSchemeParametersProvider = async (config, context, input) => { + return { + operation: getSmithyContext(context).operation, + region: await normalizeProvider(config.region)() || (() => { + throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); + })(), + }; +}; +export const defaultS3HttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultS3HttpAuthSchemeParametersProvider); +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "s3", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createAwsAuthSigv4aHttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4a", + signingProperties: { + name: "s3", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +const createEndpointRuleSetHttpAuthSchemeProvider = (defaultEndpointResolver, defaultHttpAuthSchemeResolver, createHttpAuthOptionFunctions) => { + const endpointRuleSetHttpAuthSchemeProvider = (authParameters) => { + const endpoint = defaultEndpointResolver(authParameters); + const authSchemes = endpoint.properties?.authSchemes; + if (!authSchemes) { + return defaultHttpAuthSchemeResolver(authParameters); + } + const options = []; + for (const scheme of authSchemes) { + const { name: resolvedName, properties = {}, ...rest } = scheme; + const name = resolvedName.toLowerCase(); + if (resolvedName !== name) { + console.warn(`HttpAuthScheme has been normalized with lowercasing: '${resolvedName}' to '${name}'`); + } + let schemeId; + if (name === "sigv4a") { + schemeId = "aws.auth#sigv4a"; + const sigv4Present = authSchemes.find((s) => { + const name = s.name.toLowerCase(); + return name !== "sigv4a" && name.startsWith("sigv4"); + }); + if (SignatureV4MultiRegion.sigv4aDependency() === "none" && sigv4Present) { + continue; + } + } + else if (name.startsWith("sigv4")) { + schemeId = "aws.auth#sigv4"; + } + else { + throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${name}'`); + } + const createOption = createHttpAuthOptionFunctions[schemeId]; + if (!createOption) { + throw new Error(`Could not find HttpAuthOption create function for '${schemeId}'`); + } + const option = createOption(authParameters); + option.schemeId = schemeId; + option.signingProperties = { ...(option.signingProperties || {}), ...rest, ...properties }; + options.push(option); + } + return options; + }; + return endpointRuleSetHttpAuthSchemeProvider; +}; +const _defaultS3HttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + options.push(createAwsAuthSigv4aHttpAuthOption(authParameters)); + } + } + return options; +}; +export const defaultS3HttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSchemeProvider(defaultEndpointResolver, _defaultS3HttpAuthSchemeProvider, { + "aws.auth#sigv4": createAwsAuthSigv4HttpAuthOption, + "aws.auth#sigv4a": createAwsAuthSigv4aHttpAuthOption, +}); +export const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = resolveAwsSdkSigV4Config(config); + const config_1 = resolveAwsSdkSigV4AConfig(config_0); + return Object.assign(config_1, { + authSchemePreference: normalizeProvider(config.authSchemePreference ?? []), + }); +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js new file mode 100644 index 0000000..fce426a --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { AbortMultipartUpload$ } from "../schemas/schemas_0"; +export { $Command }; +export class AbortMultipartUploadCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "AbortMultipartUpload", {}) + .n("S3Client", "AbortMultipartUploadCommand") + .sc(AbortMultipartUpload$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js new file mode 100644 index 0000000..893eab8 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js @@ -0,0 +1,26 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { CompleteMultipartUpload$ } from "../schemas/schemas_0"; +export { $Command }; +export class CompleteMultipartUploadCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + getSsecPlugin(config), + ]; +}) + .s("AmazonS3", "CompleteMultipartUpload", {}) + .n("S3Client", "CompleteMultipartUploadCommand") + .sc(CompleteMultipartUpload$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js new file mode 100644 index 0000000..5f536c4 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js @@ -0,0 +1,28 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { CopyObject$ } from "../schemas/schemas_0"; +export { $Command }; +export class CopyObjectCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + DisableS3ExpressSessionAuth: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, + CopySource: { type: "contextParams", name: "CopySource" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + getSsecPlugin(config), + ]; +}) + .s("AmazonS3", "CopyObject", {}) + .n("S3Client", "CopyObjectCommand") + .sc(CopyObject$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js new file mode 100644 index 0000000..7dca0e5 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js @@ -0,0 +1,27 @@ +import { getLocationConstraintPlugin } from "@aws-sdk/middleware-location-constraint"; +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { CreateBucket$ } from "../schemas/schemas_0"; +export { $Command }; +export class CreateBucketCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + DisableAccessPoints: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + getLocationConstraintPlugin(config), + ]; +}) + .s("AmazonS3", "CreateBucket", {}) + .n("S3Client", "CreateBucketCommand") + .sc(CreateBucket$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataConfigurationCommand.js new file mode 100644 index 0000000..b02cc9a --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataConfigurationCommand.js @@ -0,0 +1,27 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { CreateBucketMetadataConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class CreateBucketMetadataConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "CreateBucketMetadataConfiguration", {}) + .n("S3Client", "CreateBucketMetadataConfigurationCommand") + .sc(CreateBucketMetadataConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js new file mode 100644 index 0000000..57fab98 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js @@ -0,0 +1,27 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { CreateBucketMetadataTableConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class CreateBucketMetadataTableConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "CreateBucketMetadataTableConfiguration", {}) + .n("S3Client", "CreateBucketMetadataTableConfigurationCommand") + .sc(CreateBucketMetadataTableConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js new file mode 100644 index 0000000..4e393ef --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js @@ -0,0 +1,26 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { CreateMultipartUpload$ } from "../schemas/schemas_0"; +export { $Command }; +export class CreateMultipartUploadCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + getSsecPlugin(config), + ]; +}) + .s("AmazonS3", "CreateMultipartUpload", {}) + .n("S3Client", "CreateMultipartUploadCommand") + .sc(CreateMultipartUpload$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js new file mode 100644 index 0000000..3646e7c --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { CreateSession$ } from "../schemas/schemas_0"; +export { $Command }; +export class CreateSessionCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + DisableS3ExpressSessionAuth: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "CreateSession", {}) + .n("S3Client", "CreateSessionCommand") + .sc(CreateSession$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js new file mode 100644 index 0000000..0833ffe --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeleteBucketAnalyticsConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class DeleteBucketAnalyticsConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketAnalyticsConfiguration", {}) + .n("S3Client", "DeleteBucketAnalyticsConfigurationCommand") + .sc(DeleteBucketAnalyticsConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js new file mode 100644 index 0000000..166fc55 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeleteBucket$ } from "../schemas/schemas_0"; +export { $Command }; +export class DeleteBucketCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucket", {}) + .n("S3Client", "DeleteBucketCommand") + .sc(DeleteBucket$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js new file mode 100644 index 0000000..4a6711f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeleteBucketCors$ } from "../schemas/schemas_0"; +export { $Command }; +export class DeleteBucketCorsCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketCors", {}) + .n("S3Client", "DeleteBucketCorsCommand") + .sc(DeleteBucketCors$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js new file mode 100644 index 0000000..83961bb --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeleteBucketEncryption$ } from "../schemas/schemas_0"; +export { $Command }; +export class DeleteBucketEncryptionCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketEncryption", {}) + .n("S3Client", "DeleteBucketEncryptionCommand") + .sc(DeleteBucketEncryption$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js new file mode 100644 index 0000000..18f07d9 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeleteBucketIntelligentTieringConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class DeleteBucketIntelligentTieringConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketIntelligentTieringConfiguration", {}) + .n("S3Client", "DeleteBucketIntelligentTieringConfigurationCommand") + .sc(DeleteBucketIntelligentTieringConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js new file mode 100644 index 0000000..4c2dcf5 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeleteBucketInventoryConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class DeleteBucketInventoryConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketInventoryConfiguration", {}) + .n("S3Client", "DeleteBucketInventoryConfigurationCommand") + .sc(DeleteBucketInventoryConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js new file mode 100644 index 0000000..8234b0c --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeleteBucketLifecycle$ } from "../schemas/schemas_0"; +export { $Command }; +export class DeleteBucketLifecycleCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketLifecycle", {}) + .n("S3Client", "DeleteBucketLifecycleCommand") + .sc(DeleteBucketLifecycle$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js new file mode 100644 index 0000000..5780e33 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeleteBucketMetadataConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class DeleteBucketMetadataConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketMetadataConfiguration", {}) + .n("S3Client", "DeleteBucketMetadataConfigurationCommand") + .sc(DeleteBucketMetadataConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js new file mode 100644 index 0000000..19ddb15 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeleteBucketMetadataTableConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class DeleteBucketMetadataTableConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketMetadataTableConfiguration", {}) + .n("S3Client", "DeleteBucketMetadataTableConfigurationCommand") + .sc(DeleteBucketMetadataTableConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js new file mode 100644 index 0000000..2951a5f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeleteBucketMetricsConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class DeleteBucketMetricsConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketMetricsConfiguration", {}) + .n("S3Client", "DeleteBucketMetricsConfigurationCommand") + .sc(DeleteBucketMetricsConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js new file mode 100644 index 0000000..4a28437 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeleteBucketOwnershipControls$ } from "../schemas/schemas_0"; +export { $Command }; +export class DeleteBucketOwnershipControlsCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketOwnershipControls", {}) + .n("S3Client", "DeleteBucketOwnershipControlsCommand") + .sc(DeleteBucketOwnershipControls$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js new file mode 100644 index 0000000..76c84df --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeleteBucketPolicy$ } from "../schemas/schemas_0"; +export { $Command }; +export class DeleteBucketPolicyCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketPolicy", {}) + .n("S3Client", "DeleteBucketPolicyCommand") + .sc(DeleteBucketPolicy$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js new file mode 100644 index 0000000..1fe367d --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeleteBucketReplication$ } from "../schemas/schemas_0"; +export { $Command }; +export class DeleteBucketReplicationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketReplication", {}) + .n("S3Client", "DeleteBucketReplicationCommand") + .sc(DeleteBucketReplication$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js new file mode 100644 index 0000000..c4f880b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeleteBucketTagging$ } from "../schemas/schemas_0"; +export { $Command }; +export class DeleteBucketTaggingCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketTagging", {}) + .n("S3Client", "DeleteBucketTaggingCommand") + .sc(DeleteBucketTagging$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js new file mode 100644 index 0000000..c0f9c77 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeleteBucketWebsite$ } from "../schemas/schemas_0"; +export { $Command }; +export class DeleteBucketWebsiteCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeleteBucketWebsite", {}) + .n("S3Client", "DeleteBucketWebsiteCommand") + .sc(DeleteBucketWebsite$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js new file mode 100644 index 0000000..c7e0fae --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeleteObject$ } from "../schemas/schemas_0"; +export { $Command }; +export class DeleteObjectCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "DeleteObject", {}) + .n("S3Client", "DeleteObjectCommand") + .sc(DeleteObject$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js new file mode 100644 index 0000000..cd8b84e --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js @@ -0,0 +1,23 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeleteObjectTagging$ } from "../schemas/schemas_0"; +export { $Command }; +export class DeleteObjectTaggingCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "DeleteObjectTagging", {}) + .n("S3Client", "DeleteObjectTaggingCommand") + .sc(DeleteObjectTagging$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js new file mode 100644 index 0000000..0962113 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js @@ -0,0 +1,28 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeleteObjects$ } from "../schemas/schemas_0"; +export { $Command }; +export class DeleteObjectsCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "DeleteObjects", {}) + .n("S3Client", "DeleteObjectsCommand") + .sc(DeleteObjects$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js new file mode 100644 index 0000000..1c456a7 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { DeletePublicAccessBlock$ } from "../schemas/schemas_0"; +export { $Command }; +export class DeletePublicAccessBlockCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "DeletePublicAccessBlock", {}) + .n("S3Client", "DeletePublicAccessBlockCommand") + .sc(DeletePublicAccessBlock$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAbacCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAbacCommand.js new file mode 100644 index 0000000..9d0fd2c --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAbacCommand.js @@ -0,0 +1,23 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketAbac$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketAbacCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketAbac", {}) + .n("S3Client", "GetBucketAbacCommand") + .sc(GetBucketAbac$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js new file mode 100644 index 0000000..471eb2b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketAccelerateConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketAccelerateConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketAccelerateConfiguration", {}) + .n("S3Client", "GetBucketAccelerateConfigurationCommand") + .sc(GetBucketAccelerateConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js new file mode 100644 index 0000000..204abcc --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketAcl$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketAclCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketAcl", {}) + .n("S3Client", "GetBucketAclCommand") + .sc(GetBucketAcl$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js new file mode 100644 index 0000000..8790d27 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketAnalyticsConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketAnalyticsConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketAnalyticsConfiguration", {}) + .n("S3Client", "GetBucketAnalyticsConfigurationCommand") + .sc(GetBucketAnalyticsConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js new file mode 100644 index 0000000..8fc9346 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketCors$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketCorsCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketCors", {}) + .n("S3Client", "GetBucketCorsCommand") + .sc(GetBucketCors$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js new file mode 100644 index 0000000..d356874 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketEncryption$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketEncryptionCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketEncryption", {}) + .n("S3Client", "GetBucketEncryptionCommand") + .sc(GetBucketEncryption$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js new file mode 100644 index 0000000..2fca709 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketIntelligentTieringConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketIntelligentTieringConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketIntelligentTieringConfiguration", {}) + .n("S3Client", "GetBucketIntelligentTieringConfigurationCommand") + .sc(GetBucketIntelligentTieringConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js new file mode 100644 index 0000000..7d43dff --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketInventoryConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketInventoryConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketInventoryConfiguration", {}) + .n("S3Client", "GetBucketInventoryConfigurationCommand") + .sc(GetBucketInventoryConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js new file mode 100644 index 0000000..5d2deee --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketLifecycleConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketLifecycleConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketLifecycleConfiguration", {}) + .n("S3Client", "GetBucketLifecycleConfigurationCommand") + .sc(GetBucketLifecycleConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js new file mode 100644 index 0000000..e74f731 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketLocation$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketLocationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketLocation", {}) + .n("S3Client", "GetBucketLocationCommand") + .sc(GetBucketLocation$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js new file mode 100644 index 0000000..691f922 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketLogging$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketLoggingCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketLogging", {}) + .n("S3Client", "GetBucketLoggingCommand") + .sc(GetBucketLogging$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataConfigurationCommand.js new file mode 100644 index 0000000..3179f23 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataConfigurationCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketMetadataConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketMetadataConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketMetadataConfiguration", {}) + .n("S3Client", "GetBucketMetadataConfigurationCommand") + .sc(GetBucketMetadataConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js new file mode 100644 index 0000000..e442eab --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketMetadataTableConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketMetadataTableConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketMetadataTableConfiguration", {}) + .n("S3Client", "GetBucketMetadataTableConfigurationCommand") + .sc(GetBucketMetadataTableConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js new file mode 100644 index 0000000..d9f10c2 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketMetricsConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketMetricsConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketMetricsConfiguration", {}) + .n("S3Client", "GetBucketMetricsConfigurationCommand") + .sc(GetBucketMetricsConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js new file mode 100644 index 0000000..8bdbe08 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketNotificationConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketNotificationConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketNotificationConfiguration", {}) + .n("S3Client", "GetBucketNotificationConfigurationCommand") + .sc(GetBucketNotificationConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js new file mode 100644 index 0000000..cf93484 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketOwnershipControls$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketOwnershipControlsCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketOwnershipControls", {}) + .n("S3Client", "GetBucketOwnershipControlsCommand") + .sc(GetBucketOwnershipControls$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js new file mode 100644 index 0000000..742315f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketPolicy$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketPolicyCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketPolicy", {}) + .n("S3Client", "GetBucketPolicyCommand") + .sc(GetBucketPolicy$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js new file mode 100644 index 0000000..627fa2d --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketPolicyStatus$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketPolicyStatusCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketPolicyStatus", {}) + .n("S3Client", "GetBucketPolicyStatusCommand") + .sc(GetBucketPolicyStatus$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js new file mode 100644 index 0000000..546dd81 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketReplication$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketReplicationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketReplication", {}) + .n("S3Client", "GetBucketReplicationCommand") + .sc(GetBucketReplication$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js new file mode 100644 index 0000000..a8e1222 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketRequestPayment$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketRequestPaymentCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketRequestPayment", {}) + .n("S3Client", "GetBucketRequestPaymentCommand") + .sc(GetBucketRequestPayment$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js new file mode 100644 index 0000000..0129ec9 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketTagging$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketTaggingCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketTagging", {}) + .n("S3Client", "GetBucketTaggingCommand") + .sc(GetBucketTagging$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js new file mode 100644 index 0000000..8b511b8 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketVersioning$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketVersioningCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketVersioning", {}) + .n("S3Client", "GetBucketVersioningCommand") + .sc(GetBucketVersioning$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js new file mode 100644 index 0000000..46a0601 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetBucketWebsite$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetBucketWebsiteCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetBucketWebsite", {}) + .n("S3Client", "GetBucketWebsiteCommand") + .sc(GetBucketWebsite$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js new file mode 100644 index 0000000..2ffc929 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetObjectAcl$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetObjectAclCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetObjectAcl", {}) + .n("S3Client", "GetObjectAclCommand") + .sc(GetObjectAcl$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js new file mode 100644 index 0000000..6d2f60a --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js @@ -0,0 +1,25 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetObjectAttributes$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetObjectAttributesCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + getSsecPlugin(config), + ]; +}) + .s("AmazonS3", "GetObjectAttributes", {}) + .n("S3Client", "GetObjectAttributesCommand") + .sc(GetObjectAttributes$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js new file mode 100644 index 0000000..69d8209 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js @@ -0,0 +1,32 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getS3ExpiresMiddlewarePlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetObject$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetObjectCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestChecksumRequired: false, + requestValidationModeMember: 'ChecksumMode', + 'responseAlgorithms': ['CRC64NVME', 'CRC32', 'CRC32C', 'SHA256', 'SHA1'], + }), + getSsecPlugin(config), + getS3ExpiresMiddlewarePlugin(config), + ]; +}) + .s("AmazonS3", "GetObject", {}) + .n("S3Client", "GetObjectCommand") + .sc(GetObject$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js new file mode 100644 index 0000000..3f2a8c4 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js @@ -0,0 +1,23 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetObjectLegalHold$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetObjectLegalHoldCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetObjectLegalHold", {}) + .n("S3Client", "GetObjectLegalHoldCommand") + .sc(GetObjectLegalHold$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js new file mode 100644 index 0000000..4f51bf3 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js @@ -0,0 +1,23 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetObjectLockConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetObjectLockConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetObjectLockConfiguration", {}) + .n("S3Client", "GetObjectLockConfigurationCommand") + .sc(GetObjectLockConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js new file mode 100644 index 0000000..6f8d840 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js @@ -0,0 +1,23 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetObjectRetention$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetObjectRetentionCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetObjectRetention", {}) + .n("S3Client", "GetObjectRetentionCommand") + .sc(GetObjectRetention$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js new file mode 100644 index 0000000..43e9d21 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js @@ -0,0 +1,23 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetObjectTagging$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetObjectTaggingCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetObjectTagging", {}) + .n("S3Client", "GetObjectTaggingCommand") + .sc(GetObjectTagging$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js new file mode 100644 index 0000000..94ed4c8 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js @@ -0,0 +1,19 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetObjectTorrent$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetObjectTorrentCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "GetObjectTorrent", {}) + .n("S3Client", "GetObjectTorrentCommand") + .sc(GetObjectTorrent$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js new file mode 100644 index 0000000..9e09f15 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetPublicAccessBlock$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetPublicAccessBlockCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "GetPublicAccessBlock", {}) + .n("S3Client", "GetPublicAccessBlockCommand") + .sc(GetPublicAccessBlock$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js new file mode 100644 index 0000000..fad4548 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js @@ -0,0 +1,23 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { HeadBucket$ } from "../schemas/schemas_0"; +export { $Command }; +export class HeadBucketCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "HeadBucket", {}) + .n("S3Client", "HeadBucketCommand") + .sc(HeadBucket$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js new file mode 100644 index 0000000..e5cef6d --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js @@ -0,0 +1,27 @@ +import { getS3ExpiresMiddlewarePlugin, getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { HeadObject$ } from "../schemas/schemas_0"; +export { $Command }; +export class HeadObjectCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + getSsecPlugin(config), + getS3ExpiresMiddlewarePlugin(config), + ]; +}) + .s("AmazonS3", "HeadObject", {}) + .n("S3Client", "HeadObjectCommand") + .sc(HeadObject$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js new file mode 100644 index 0000000..a084e11 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { ListBucketAnalyticsConfigurations$ } from "../schemas/schemas_0"; +export { $Command }; +export class ListBucketAnalyticsConfigurationsCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "ListBucketAnalyticsConfigurations", {}) + .n("S3Client", "ListBucketAnalyticsConfigurationsCommand") + .sc(ListBucketAnalyticsConfigurations$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js new file mode 100644 index 0000000..6b1cb9f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { ListBucketIntelligentTieringConfigurations$ } from "../schemas/schemas_0"; +export { $Command }; +export class ListBucketIntelligentTieringConfigurationsCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "ListBucketIntelligentTieringConfigurations", {}) + .n("S3Client", "ListBucketIntelligentTieringConfigurationsCommand") + .sc(ListBucketIntelligentTieringConfigurations$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js new file mode 100644 index 0000000..59c5b2e --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { ListBucketInventoryConfigurations$ } from "../schemas/schemas_0"; +export { $Command }; +export class ListBucketInventoryConfigurationsCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "ListBucketInventoryConfigurations", {}) + .n("S3Client", "ListBucketInventoryConfigurationsCommand") + .sc(ListBucketInventoryConfigurations$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js new file mode 100644 index 0000000..4115180 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { ListBucketMetricsConfigurations$ } from "../schemas/schemas_0"; +export { $Command }; +export class ListBucketMetricsConfigurationsCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "ListBucketMetricsConfigurations", {}) + .n("S3Client", "ListBucketMetricsConfigurationsCommand") + .sc(ListBucketMetricsConfigurations$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js new file mode 100644 index 0000000..27736f9 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js @@ -0,0 +1,20 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { ListBuckets$ } from "../schemas/schemas_0"; +export { $Command }; +export class ListBucketsCommand extends $Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "ListBuckets", {}) + .n("S3Client", "ListBucketsCommand") + .sc(ListBuckets$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js new file mode 100644 index 0000000..50c443d --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js @@ -0,0 +1,23 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { ListDirectoryBuckets$ } from "../schemas/schemas_0"; +export { $Command }; +export class ListDirectoryBucketsCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "ListDirectoryBuckets", {}) + .n("S3Client", "ListDirectoryBucketsCommand") + .sc(ListDirectoryBuckets$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js new file mode 100644 index 0000000..d12a034 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { ListMultipartUploads$ } from "../schemas/schemas_0"; +export { $Command }; +export class ListMultipartUploadsCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Prefix: { type: "contextParams", name: "Prefix" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "ListMultipartUploads", {}) + .n("S3Client", "ListMultipartUploadsCommand") + .sc(ListMultipartUploads$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js new file mode 100644 index 0000000..1f62728 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { ListObjectVersions$ } from "../schemas/schemas_0"; +export { $Command }; +export class ListObjectVersionsCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Prefix: { type: "contextParams", name: "Prefix" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "ListObjectVersions", {}) + .n("S3Client", "ListObjectVersionsCommand") + .sc(ListObjectVersions$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js new file mode 100644 index 0000000..52c92e5 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { ListObjects$ } from "../schemas/schemas_0"; +export { $Command }; +export class ListObjectsCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Prefix: { type: "contextParams", name: "Prefix" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "ListObjects", {}) + .n("S3Client", "ListObjectsCommand") + .sc(ListObjects$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js new file mode 100644 index 0000000..59b4bee --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { ListObjectsV2$ } from "../schemas/schemas_0"; +export { $Command }; +export class ListObjectsV2Command extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Prefix: { type: "contextParams", name: "Prefix" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "ListObjectsV2", {}) + .n("S3Client", "ListObjectsV2Command") + .sc(ListObjectsV2$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js new file mode 100644 index 0000000..3e045d2 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js @@ -0,0 +1,26 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { ListParts$ } from "../schemas/schemas_0"; +export { $Command }; +export class ListPartsCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + getSsecPlugin(config), + ]; +}) + .s("AmazonS3", "ListParts", {}) + .n("S3Client", "ListPartsCommand") + .sc(ListParts$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAbacCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAbacCommand.js new file mode 100644 index 0000000..b638cda --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAbacCommand.js @@ -0,0 +1,26 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutBucketAbac$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutBucketAbacCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: false, + }), + ]; +}) + .s("AmazonS3", "PutBucketAbac", {}) + .n("S3Client", "PutBucketAbacCommand") + .sc(PutBucketAbac$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js new file mode 100644 index 0000000..be3c299 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js @@ -0,0 +1,27 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutBucketAccelerateConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutBucketAccelerateConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: false, + }), + ]; +}) + .s("AmazonS3", "PutBucketAccelerateConfiguration", {}) + .n("S3Client", "PutBucketAccelerateConfigurationCommand") + .sc(PutBucketAccelerateConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js new file mode 100644 index 0000000..06e1aaa --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js @@ -0,0 +1,27 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutBucketAcl$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutBucketAclCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketAcl", {}) + .n("S3Client", "PutBucketAclCommand") + .sc(PutBucketAcl$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js new file mode 100644 index 0000000..5a45b2f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutBucketAnalyticsConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutBucketAnalyticsConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "PutBucketAnalyticsConfiguration", {}) + .n("S3Client", "PutBucketAnalyticsConfigurationCommand") + .sc(PutBucketAnalyticsConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js new file mode 100644 index 0000000..b50b2a5 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js @@ -0,0 +1,27 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutBucketCors$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutBucketCorsCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketCors", {}) + .n("S3Client", "PutBucketCorsCommand") + .sc(PutBucketCors$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js new file mode 100644 index 0000000..912d5fd --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js @@ -0,0 +1,27 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutBucketEncryption$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutBucketEncryptionCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketEncryption", {}) + .n("S3Client", "PutBucketEncryptionCommand") + .sc(PutBucketEncryption$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js new file mode 100644 index 0000000..fa94708 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutBucketIntelligentTieringConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutBucketIntelligentTieringConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "PutBucketIntelligentTieringConfiguration", {}) + .n("S3Client", "PutBucketIntelligentTieringConfigurationCommand") + .sc(PutBucketIntelligentTieringConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js new file mode 100644 index 0000000..f7d1b77 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutBucketInventoryConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutBucketInventoryConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "PutBucketInventoryConfiguration", {}) + .n("S3Client", "PutBucketInventoryConfigurationCommand") + .sc(PutBucketInventoryConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js new file mode 100644 index 0000000..c4b910a --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js @@ -0,0 +1,29 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutBucketLifecycleConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutBucketLifecycleConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "PutBucketLifecycleConfiguration", {}) + .n("S3Client", "PutBucketLifecycleConfigurationCommand") + .sc(PutBucketLifecycleConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js new file mode 100644 index 0000000..0724694 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js @@ -0,0 +1,27 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutBucketLogging$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutBucketLoggingCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketLogging", {}) + .n("S3Client", "PutBucketLoggingCommand") + .sc(PutBucketLogging$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js new file mode 100644 index 0000000..c5f0de4 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutBucketMetricsConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutBucketMetricsConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "PutBucketMetricsConfiguration", {}) + .n("S3Client", "PutBucketMetricsConfigurationCommand") + .sc(PutBucketMetricsConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js new file mode 100644 index 0000000..3d6d8d8 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js @@ -0,0 +1,20 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutBucketNotificationConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutBucketNotificationConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "PutBucketNotificationConfiguration", {}) + .n("S3Client", "PutBucketNotificationConfigurationCommand") + .sc(PutBucketNotificationConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js new file mode 100644 index 0000000..6eb8744 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js @@ -0,0 +1,27 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutBucketOwnershipControls$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutBucketOwnershipControlsCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketOwnershipControls", {}) + .n("S3Client", "PutBucketOwnershipControlsCommand") + .sc(PutBucketOwnershipControls$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js new file mode 100644 index 0000000..9cf7fc6 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js @@ -0,0 +1,27 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutBucketPolicy$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutBucketPolicyCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketPolicy", {}) + .n("S3Client", "PutBucketPolicyCommand") + .sc(PutBucketPolicy$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js new file mode 100644 index 0000000..5f6442d --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js @@ -0,0 +1,27 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutBucketReplication$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutBucketReplicationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketReplication", {}) + .n("S3Client", "PutBucketReplicationCommand") + .sc(PutBucketReplication$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js new file mode 100644 index 0000000..dbb0d4a --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js @@ -0,0 +1,27 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutBucketRequestPayment$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutBucketRequestPaymentCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketRequestPayment", {}) + .n("S3Client", "PutBucketRequestPaymentCommand") + .sc(PutBucketRequestPayment$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js new file mode 100644 index 0000000..d33dfde --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js @@ -0,0 +1,27 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutBucketTagging$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutBucketTaggingCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketTagging", {}) + .n("S3Client", "PutBucketTaggingCommand") + .sc(PutBucketTagging$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js new file mode 100644 index 0000000..569904b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js @@ -0,0 +1,27 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutBucketVersioning$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutBucketVersioningCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketVersioning", {}) + .n("S3Client", "PutBucketVersioningCommand") + .sc(PutBucketVersioning$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js new file mode 100644 index 0000000..5aea451 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js @@ -0,0 +1,27 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutBucketWebsite$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutBucketWebsiteCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutBucketWebsite", {}) + .n("S3Client", "PutBucketWebsiteCommand") + .sc(PutBucketWebsite$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js new file mode 100644 index 0000000..5caf947 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js @@ -0,0 +1,29 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutObjectAcl$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutObjectAclCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "PutObjectAcl", {}) + .n("S3Client", "PutObjectAclCommand") + .sc(PutObjectAcl$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js new file mode 100644 index 0000000..501adfa --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js @@ -0,0 +1,32 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getCheckContentLengthHeaderPlugin, getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutObject$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutObjectCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: false, + }), + getCheckContentLengthHeaderPlugin(config), + getThrow200ExceptionsPlugin(config), + getSsecPlugin(config), + ]; +}) + .s("AmazonS3", "PutObject", {}) + .n("S3Client", "PutObjectCommand") + .sc(PutObject$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js new file mode 100644 index 0000000..91e57b5 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js @@ -0,0 +1,28 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutObjectLegalHold$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutObjectLegalHoldCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "PutObjectLegalHold", {}) + .n("S3Client", "PutObjectLegalHoldCommand") + .sc(PutObjectLegalHold$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js new file mode 100644 index 0000000..e59e4b7 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js @@ -0,0 +1,28 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutObjectLockConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutObjectLockConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "PutObjectLockConfiguration", {}) + .n("S3Client", "PutObjectLockConfigurationCommand") + .sc(PutObjectLockConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js new file mode 100644 index 0000000..31773ad --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js @@ -0,0 +1,28 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutObjectRetention$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutObjectRetentionCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "PutObjectRetention", {}) + .n("S3Client", "PutObjectRetentionCommand") + .sc(PutObjectRetention$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js new file mode 100644 index 0000000..11e9b99 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js @@ -0,0 +1,28 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutObjectTagging$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutObjectTaggingCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "PutObjectTagging", {}) + .n("S3Client", "PutObjectTaggingCommand") + .sc(PutObjectTagging$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js new file mode 100644 index 0000000..6a31b34 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js @@ -0,0 +1,27 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { PutPublicAccessBlock$ } from "../schemas/schemas_0"; +export { $Command }; +export class PutPublicAccessBlockCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "PutPublicAccessBlock", {}) + .n("S3Client", "PutPublicAccessBlockCommand") + .sc(PutPublicAccessBlock$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/RenameObjectCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/RenameObjectCommand.js new file mode 100644 index 0000000..cd62653 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/RenameObjectCommand.js @@ -0,0 +1,24 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { RenameObject$ } from "../schemas/schemas_0"; +export { $Command }; +export class RenameObjectCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "RenameObject", {}) + .n("S3Client", "RenameObjectCommand") + .sc(RenameObject$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js new file mode 100644 index 0000000..5408574 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js @@ -0,0 +1,28 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { RestoreObject$ } from "../schemas/schemas_0"; +export { $Command }; +export class RestoreObjectCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: false, + }), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "RestoreObject", {}) + .n("S3Client", "RestoreObjectCommand") + .sc(RestoreObject$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js new file mode 100644 index 0000000..7863d83 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js @@ -0,0 +1,29 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { SelectObjectContent$ } from "../schemas/schemas_0"; +export { $Command }; +export class SelectObjectContentCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + getSsecPlugin(config), + ]; +}) + .s("AmazonS3", "SelectObjectContent", { + eventStream: { + output: true, + }, +}) + .n("S3Client", "SelectObjectContentCommand") + .sc(SelectObjectContent$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js new file mode 100644 index 0000000..04b1648 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js @@ -0,0 +1,27 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { UpdateBucketMetadataInventoryTableConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class UpdateBucketMetadataInventoryTableConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "UpdateBucketMetadataInventoryTableConfiguration", {}) + .n("S3Client", "UpdateBucketMetadataInventoryTableConfigurationCommand") + .sc(UpdateBucketMetadataInventoryTableConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js new file mode 100644 index 0000000..893ac50 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js @@ -0,0 +1,27 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { UpdateBucketMetadataJournalTableConfiguration$ } from "../schemas/schemas_0"; +export { $Command }; +export class UpdateBucketMetadataJournalTableConfigurationCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + ]; +}) + .s("AmazonS3", "UpdateBucketMetadataJournalTableConfiguration", {}) + .n("S3Client", "UpdateBucketMetadataJournalTableConfigurationCommand") + .sc(UpdateBucketMetadataJournalTableConfiguration$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateObjectEncryptionCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateObjectEncryptionCommand.js new file mode 100644 index 0000000..c88caad --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateObjectEncryptionCommand.js @@ -0,0 +1,28 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { UpdateObjectEncryption$ } from "../schemas/schemas_0"; +export { $Command }; +export class UpdateObjectEncryptionCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: true, + }), + getThrow200ExceptionsPlugin(config), + ]; +}) + .s("AmazonS3", "UpdateObjectEncryption", {}) + .n("S3Client", "UpdateObjectEncryptionCommand") + .sc(UpdateObjectEncryption$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js new file mode 100644 index 0000000..56bc35b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js @@ -0,0 +1,31 @@ +import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { UploadPart$ } from "../schemas/schemas_0"; +export { $Command }; +export class UploadPartCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + Bucket: { type: "contextParams", name: "Bucket" }, + Key: { type: "contextParams", name: "Key" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getFlexibleChecksumsPlugin(config, { + requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' }, + requestChecksumRequired: false, + }), + getThrow200ExceptionsPlugin(config), + getSsecPlugin(config), + ]; +}) + .s("AmazonS3", "UploadPart", {}) + .n("S3Client", "UploadPartCommand") + .sc(UploadPart$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js new file mode 100644 index 0000000..c8b5724 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js @@ -0,0 +1,26 @@ +import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; +import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { UploadPartCopy$ } from "../schemas/schemas_0"; +export { $Command }; +export class UploadPartCopyCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + DisableS3ExpressSessionAuth: { type: "staticContextParams", value: true }, + Bucket: { type: "contextParams", name: "Bucket" }, +}) + .m(function (Command, cs, config, o) { + return [ + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getThrow200ExceptionsPlugin(config), + getSsecPlugin(config), + ]; +}) + .s("AmazonS3", "UploadPartCopy", {}) + .n("S3Client", "UploadPartCopyCommand") + .sc(UploadPartCopy$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js new file mode 100644 index 0000000..f24c16d --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js @@ -0,0 +1,19 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { WriteGetObjectResponse$ } from "../schemas/schemas_0"; +export { $Command }; +export class WriteGetObjectResponseCommand extends $Command + .classBuilder() + .ep({ + ...commonParams, + UseObjectLambdaEndpoint: { type: "staticContextParams", value: true }, +}) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonS3", "WriteGetObjectResponse", {}) + .n("S3Client", "WriteGetObjectResponseCommand") + .sc(WriteGetObjectResponse$) + .build() { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js b/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js new file mode 100644 index 0000000..2d7b505 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js @@ -0,0 +1,107 @@ +export * from "./AbortMultipartUploadCommand"; +export * from "./CompleteMultipartUploadCommand"; +export * from "./CopyObjectCommand"; +export * from "./CreateBucketCommand"; +export * from "./CreateBucketMetadataConfigurationCommand"; +export * from "./CreateBucketMetadataTableConfigurationCommand"; +export * from "./CreateMultipartUploadCommand"; +export * from "./CreateSessionCommand"; +export * from "./DeleteBucketAnalyticsConfigurationCommand"; +export * from "./DeleteBucketCommand"; +export * from "./DeleteBucketCorsCommand"; +export * from "./DeleteBucketEncryptionCommand"; +export * from "./DeleteBucketIntelligentTieringConfigurationCommand"; +export * from "./DeleteBucketInventoryConfigurationCommand"; +export * from "./DeleteBucketLifecycleCommand"; +export * from "./DeleteBucketMetadataConfigurationCommand"; +export * from "./DeleteBucketMetadataTableConfigurationCommand"; +export * from "./DeleteBucketMetricsConfigurationCommand"; +export * from "./DeleteBucketOwnershipControlsCommand"; +export * from "./DeleteBucketPolicyCommand"; +export * from "./DeleteBucketReplicationCommand"; +export * from "./DeleteBucketTaggingCommand"; +export * from "./DeleteBucketWebsiteCommand"; +export * from "./DeleteObjectCommand"; +export * from "./DeleteObjectTaggingCommand"; +export * from "./DeleteObjectsCommand"; +export * from "./DeletePublicAccessBlockCommand"; +export * from "./GetBucketAbacCommand"; +export * from "./GetBucketAccelerateConfigurationCommand"; +export * from "./GetBucketAclCommand"; +export * from "./GetBucketAnalyticsConfigurationCommand"; +export * from "./GetBucketCorsCommand"; +export * from "./GetBucketEncryptionCommand"; +export * from "./GetBucketIntelligentTieringConfigurationCommand"; +export * from "./GetBucketInventoryConfigurationCommand"; +export * from "./GetBucketLifecycleConfigurationCommand"; +export * from "./GetBucketLocationCommand"; +export * from "./GetBucketLoggingCommand"; +export * from "./GetBucketMetadataConfigurationCommand"; +export * from "./GetBucketMetadataTableConfigurationCommand"; +export * from "./GetBucketMetricsConfigurationCommand"; +export * from "./GetBucketNotificationConfigurationCommand"; +export * from "./GetBucketOwnershipControlsCommand"; +export * from "./GetBucketPolicyCommand"; +export * from "./GetBucketPolicyStatusCommand"; +export * from "./GetBucketReplicationCommand"; +export * from "./GetBucketRequestPaymentCommand"; +export * from "./GetBucketTaggingCommand"; +export * from "./GetBucketVersioningCommand"; +export * from "./GetBucketWebsiteCommand"; +export * from "./GetObjectAclCommand"; +export * from "./GetObjectAttributesCommand"; +export * from "./GetObjectCommand"; +export * from "./GetObjectLegalHoldCommand"; +export * from "./GetObjectLockConfigurationCommand"; +export * from "./GetObjectRetentionCommand"; +export * from "./GetObjectTaggingCommand"; +export * from "./GetObjectTorrentCommand"; +export * from "./GetPublicAccessBlockCommand"; +export * from "./HeadBucketCommand"; +export * from "./HeadObjectCommand"; +export * from "./ListBucketAnalyticsConfigurationsCommand"; +export * from "./ListBucketIntelligentTieringConfigurationsCommand"; +export * from "./ListBucketInventoryConfigurationsCommand"; +export * from "./ListBucketMetricsConfigurationsCommand"; +export * from "./ListBucketsCommand"; +export * from "./ListDirectoryBucketsCommand"; +export * from "./ListMultipartUploadsCommand"; +export * from "./ListObjectVersionsCommand"; +export * from "./ListObjectsCommand"; +export * from "./ListObjectsV2Command"; +export * from "./ListPartsCommand"; +export * from "./PutBucketAbacCommand"; +export * from "./PutBucketAccelerateConfigurationCommand"; +export * from "./PutBucketAclCommand"; +export * from "./PutBucketAnalyticsConfigurationCommand"; +export * from "./PutBucketCorsCommand"; +export * from "./PutBucketEncryptionCommand"; +export * from "./PutBucketIntelligentTieringConfigurationCommand"; +export * from "./PutBucketInventoryConfigurationCommand"; +export * from "./PutBucketLifecycleConfigurationCommand"; +export * from "./PutBucketLoggingCommand"; +export * from "./PutBucketMetricsConfigurationCommand"; +export * from "./PutBucketNotificationConfigurationCommand"; +export * from "./PutBucketOwnershipControlsCommand"; +export * from "./PutBucketPolicyCommand"; +export * from "./PutBucketReplicationCommand"; +export * from "./PutBucketRequestPaymentCommand"; +export * from "./PutBucketTaggingCommand"; +export * from "./PutBucketVersioningCommand"; +export * from "./PutBucketWebsiteCommand"; +export * from "./PutObjectAclCommand"; +export * from "./PutObjectCommand"; +export * from "./PutObjectLegalHoldCommand"; +export * from "./PutObjectLockConfigurationCommand"; +export * from "./PutObjectRetentionCommand"; +export * from "./PutObjectTaggingCommand"; +export * from "./PutPublicAccessBlockCommand"; +export * from "./RenameObjectCommand"; +export * from "./RestoreObjectCommand"; +export * from "./SelectObjectContentCommand"; +export * from "./UpdateBucketMetadataInventoryTableConfigurationCommand"; +export * from "./UpdateBucketMetadataJournalTableConfigurationCommand"; +export * from "./UpdateObjectEncryptionCommand"; +export * from "./UploadPartCommand"; +export * from "./UploadPartCopyCommand"; +export * from "./WriteGetObjectResponseCommand"; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js b/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js new file mode 100644 index 0000000..9af9299 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js @@ -0,0 +1,25 @@ +const clientContextParamDefaults = {}; +export const resolveClientEndpointParameters = (options) => { + return Object.assign(options, { + useFipsEndpoint: options.useFipsEndpoint ?? false, + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + forcePathStyle: options.forcePathStyle ?? false, + useAccelerateEndpoint: options.useAccelerateEndpoint ?? false, + useGlobalEndpoint: options.useGlobalEndpoint ?? false, + disableMultiregionAccessPoints: options.disableMultiregionAccessPoints ?? false, + defaultSigningName: "s3", + clientContextParams: options.clientContextParams ?? {}, + }); +}; +export const commonParams = { + ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" }, + UseArnRegion: { type: "clientContextParams", name: "useArnRegion" }, + DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" }, + Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" }, + DisableS3ExpressSessionAuth: { type: "clientContextParams", name: "disableS3ExpressSessionAuth" }, + UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js b/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js new file mode 100644 index 0000000..f415db6 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js @@ -0,0 +1,29 @@ +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints"; +import { ruleSet } from "./ruleset"; +const cache = new EndpointCache({ + size: 50, + params: [ + "Accelerate", + "Bucket", + "DisableAccessPoints", + "DisableMultiRegionAccessPoints", + "DisableS3ExpressSessionAuth", + "Endpoint", + "ForcePathStyle", + "Region", + "UseArnRegion", + "UseDualStack", + "UseFIPS", + "UseGlobalEndpoint", + "UseObjectLambdaEndpoint", + "UseS3ExpressControlEndpoint", + ], +}); +export const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => resolveEndpoint(ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js b/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js new file mode 100644 index 0000000..80b3819 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js @@ -0,0 +1,4 @@ +const cs = "required", ct = "type", cu = "rules", cv = "conditions", cw = "fn", cx = "argv", cy = "ref", cz = "assign", cA = "url", cB = "properties", cC = "backend", cD = "authSchemes", cE = "disableDoubleEncoding", cF = "signingName", cG = "signingRegion", cH = "headers", cI = "signingRegionSet"; +const a = 6, b = false, c = true, d = "isSet", e = "booleanEquals", f = "error", g = "aws.partition", h = "stringEquals", i = "getAttr", j = "name", k = "substring", l = "bucketSuffix", m = "parseURL", n = "endpoint", o = "tree", p = "aws.isVirtualHostableS3Bucket", q = "{url#scheme}://{Bucket}.{url#authority}{url#path}", r = "not", s = "accessPointSuffix", t = "{url#scheme}://{url#authority}{url#path}", u = "hardwareType", v = "regionPrefix", w = "bucketAliasSuffix", x = "outpostId", y = "isValidHostLabel", z = "sigv4a", A = "s3-outposts", B = "s3", C = "{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}", D = "https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}", E = "https://{Bucket}.s3.{partitionResult#dnsSuffix}", F = "aws.parseArn", G = "bucketArn", H = "arnType", I = "", J = "s3-object-lambda", K = "accesspoint", L = "accessPointName", M = "{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}", N = "mrapPartition", O = "outpostType", P = "arnPrefix", Q = "{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}", R = "https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", S = "https://s3.{partitionResult#dnsSuffix}", T = { [cs]: false, [ct]: "string" }, U = { [cs]: true, "default": false, [ct]: "boolean" }, V = { [cs]: false, [ct]: "boolean" }, W = { [cw]: e, [cx]: [{ [cy]: "Accelerate" }, true] }, X = { [cw]: e, [cx]: [{ [cy]: "UseFIPS" }, true] }, Y = { [cw]: e, [cx]: [{ [cy]: "UseDualStack" }, true] }, Z = { [cw]: d, [cx]: [{ [cy]: "Endpoint" }] }, aa = { [cw]: g, [cx]: [{ [cy]: "Region" }], [cz]: "partitionResult" }, ab = { [cw]: h, [cx]: [{ [cw]: i, [cx]: [{ [cy]: "partitionResult" }, j] }, "aws-cn"] }, ac = { [cw]: d, [cx]: [{ [cy]: "Bucket" }] }, ad = { [cy]: "Bucket" }, ae = { [cv]: [W], [f]: "S3Express does not support S3 Accelerate.", [ct]: f }, af = { [cv]: [Z, { [cw]: m, [cx]: [{ [cy]: "Endpoint" }], [cz]: "url" }], [cu]: [{ [cv]: [{ [cw]: d, [cx]: [{ [cy]: "DisableS3ExpressSessionAuth" }] }, { [cw]: e, [cx]: [{ [cy]: "DisableS3ExpressSessionAuth" }, true] }], [cu]: [{ [cv]: [{ [cw]: e, [cx]: [{ [cw]: i, [cx]: [{ [cy]: "url" }, "isIp"] }, true] }], [cu]: [{ [cv]: [{ [cw]: "uriEncode", [cx]: [ad], [cz]: "uri_encoded_bucket" }], [cu]: [{ [n]: { [cA]: "{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}", [cB]: { [cC]: "S3Express", [cD]: [{ [cE]: true, [j]: "sigv4", [cF]: "s3express", [cG]: "{Region}" }] }, [cH]: {} }, [ct]: n }], [ct]: o }], [ct]: o }, { [cv]: [{ [cw]: p, [cx]: [ad, false] }], [cu]: [{ [n]: { [cA]: q, [cB]: { [cC]: "S3Express", [cD]: [{ [cE]: true, [j]: "sigv4", [cF]: "s3express", [cG]: "{Region}" }] }, [cH]: {} }, [ct]: n }], [ct]: o }, { [f]: "S3Express bucket name is not a valid virtual hostable name.", [ct]: f }], [ct]: o }, { [cv]: [{ [cw]: e, [cx]: [{ [cw]: i, [cx]: [{ [cy]: "url" }, "isIp"] }, true] }], [cu]: [{ [cv]: [{ [cw]: "uriEncode", [cx]: [ad], [cz]: "uri_encoded_bucket" }], [cu]: [{ [n]: { [cA]: "{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}", [cB]: { [cC]: "S3Express", [cD]: [{ [cE]: true, [j]: "sigv4-s3express", [cF]: "s3express", [cG]: "{Region}" }] }, [cH]: {} }, [ct]: n }], [ct]: o }], [ct]: o }, { [cv]: [{ [cw]: p, [cx]: [ad, false] }], [cu]: [{ [n]: { [cA]: q, [cB]: { [cC]: "S3Express", [cD]: [{ [cE]: true, [j]: "sigv4-s3express", [cF]: "s3express", [cG]: "{Region}" }] }, [cH]: {} }, [ct]: n }], [ct]: o }, { [f]: "S3Express bucket name is not a valid virtual hostable name.", [ct]: f }], [ct]: o }, ag = { [cw]: m, [cx]: [{ [cy]: "Endpoint" }], [cz]: "url" }, ah = { [cw]: e, [cx]: [{ [cw]: i, [cx]: [{ [cy]: "url" }, "isIp"] }, true] }, ai = { [cy]: "url" }, aj = { [cw]: "uriEncode", [cx]: [ad], [cz]: "uri_encoded_bucket" }, ak = { [cC]: "S3Express", [cD]: [{ [cE]: true, [j]: "sigv4", [cF]: "s3express", [cG]: "{Region}" }] }, al = {}, am = { [cw]: p, [cx]: [ad, false] }, an = { [f]: "S3Express bucket name is not a valid virtual hostable name.", [ct]: f }, ao = { [cw]: d, [cx]: [{ [cy]: "UseS3ExpressControlEndpoint" }] }, ap = { [cw]: e, [cx]: [{ [cy]: "UseS3ExpressControlEndpoint" }, true] }, aq = { [cw]: r, [cx]: [Z] }, ar = { [cw]: e, [cx]: [{ [cy]: "UseDualStack" }, false] }, as = { [cw]: e, [cx]: [{ [cy]: "UseFIPS" }, false] }, at = { [f]: "Unrecognized S3Express bucket name format.", [ct]: f }, au = { [cw]: r, [cx]: [ac] }, av = { [cy]: u }, aw = { [cv]: [aq], [f]: "Expected a endpoint to be specified but no endpoint was found", [ct]: f }, ax = { [cD]: [{ [cE]: true, [j]: z, [cF]: A, [cI]: ["*"] }, { [cE]: true, [j]: "sigv4", [cF]: A, [cG]: "{Region}" }] }, ay = { [cw]: e, [cx]: [{ [cy]: "ForcePathStyle" }, false] }, az = { [cy]: "ForcePathStyle" }, aA = { [cw]: e, [cx]: [{ [cy]: "Accelerate" }, false] }, aB = { [cw]: h, [cx]: [{ [cy]: "Region" }, "aws-global"] }, aC = { [cD]: [{ [cE]: true, [j]: "sigv4", [cF]: B, [cG]: "us-east-1" }] }, aD = { [cw]: r, [cx]: [aB] }, aE = { [cw]: e, [cx]: [{ [cy]: "UseGlobalEndpoint" }, true] }, aF = { [cA]: "https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [cB]: { [cD]: [{ [cE]: true, [j]: "sigv4", [cF]: B, [cG]: "{Region}" }] }, [cH]: {} }, aG = { [cD]: [{ [cE]: true, [j]: "sigv4", [cF]: B, [cG]: "{Region}" }] }, aH = { [cw]: e, [cx]: [{ [cy]: "UseGlobalEndpoint" }, false] }, aI = { [cA]: "https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}", [cB]: aG, [cH]: {} }, aJ = { [cA]: "https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}", [cB]: aG, [cH]: {} }, aK = { [cA]: "https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}", [cB]: aG, [cH]: {} }, aL = { [cw]: e, [cx]: [{ [cw]: i, [cx]: [ai, "isIp"] }, false] }, aM = { [cA]: C, [cB]: aG, [cH]: {} }, aN = { [cA]: q, [cB]: aG, [cH]: {} }, aO = { [n]: aN, [ct]: n }, aP = { [cA]: D, [cB]: aG, [cH]: {} }, aQ = { [cA]: "https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}", [cB]: aG, [cH]: {} }, aR = { [f]: "Invalid region: region was not a valid DNS name.", [ct]: f }, aS = { [cy]: G }, aT = { [cy]: H }, aU = { [cw]: i, [cx]: [aS, "service"] }, aV = { [cy]: L }, aW = { [cv]: [Y], [f]: "S3 Object Lambda does not support Dual-stack", [ct]: f }, aX = { [cv]: [W], [f]: "S3 Object Lambda does not support S3 Accelerate", [ct]: f }, aY = { [cv]: [{ [cw]: d, [cx]: [{ [cy]: "DisableAccessPoints" }] }, { [cw]: e, [cx]: [{ [cy]: "DisableAccessPoints" }, true] }], [f]: "Access points are not supported for this operation", [ct]: f }, aZ = { [cv]: [{ [cw]: d, [cx]: [{ [cy]: "UseArnRegion" }] }, { [cw]: e, [cx]: [{ [cy]: "UseArnRegion" }, false] }, { [cw]: r, [cx]: [{ [cw]: h, [cx]: [{ [cw]: i, [cx]: [aS, "region"] }, "{Region}"] }] }], [f]: "Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`", [ct]: f }, ba = { [cw]: i, [cx]: [{ [cy]: "bucketPartition" }, j] }, bb = { [cw]: i, [cx]: [aS, "accountId"] }, bc = { [cD]: [{ [cE]: true, [j]: "sigv4", [cF]: J, [cG]: "{bucketArn#region}" }] }, bd = { [f]: "Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`", [ct]: f }, be = { [f]: "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", [ct]: f }, bf = { [f]: "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", [ct]: f }, bg = { [f]: "Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`", [ct]: f }, bh = { [f]: "Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.", [ct]: f }, bi = { [f]: "Invalid ARN: Expected a resource of the format `accesspoint:` but no name was provided", [ct]: f }, bj = { [cD]: [{ [cE]: true, [j]: "sigv4", [cF]: B, [cG]: "{bucketArn#region}" }] }, bk = { [cD]: [{ [cE]: true, [j]: z, [cF]: A, [cI]: ["*"] }, { [cE]: true, [j]: "sigv4", [cF]: A, [cG]: "{bucketArn#region}" }] }, bl = { [cw]: F, [cx]: [ad] }, bm = { [cA]: "https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: aG, [cH]: {} }, bn = { [cA]: "https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: aG, [cH]: {} }, bo = { [cA]: "https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: aG, [cH]: {} }, bp = { [cA]: Q, [cB]: aG, [cH]: {} }, bq = { [cA]: "https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: aG, [cH]: {} }, br = { [cy]: "UseObjectLambdaEndpoint" }, bs = { [cD]: [{ [cE]: true, [j]: "sigv4", [cF]: J, [cG]: "{Region}" }] }, bt = { [cA]: "https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [cB]: aG, [cH]: {} }, bu = { [cA]: "https://s3-fips.{Region}.{partitionResult#dnsSuffix}", [cB]: aG, [cH]: {} }, bv = { [cA]: "https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}", [cB]: aG, [cH]: {} }, bw = { [cA]: t, [cB]: aG, [cH]: {} }, bx = { [cA]: "https://s3.{Region}.{partitionResult#dnsSuffix}", [cB]: aG, [cH]: {} }, by = [{ [cy]: "Region" }], bz = [{ [cy]: "Endpoint" }], bA = [ad], bB = [W], bC = [Z, ag], bD = [{ [cw]: d, [cx]: [{ [cy]: "DisableS3ExpressSessionAuth" }] }, { [cw]: e, [cx]: [{ [cy]: "DisableS3ExpressSessionAuth" }, true] }], bE = [aj], bF = [am], bG = [aa], bH = [X, Y], bI = [X, ar], bJ = [as, Y], bK = [as, ar], bL = [{ [cw]: k, [cx]: [ad, 6, 14, true], [cz]: "s3expressAvailabilityZoneId" }, { [cw]: k, [cx]: [ad, 14, 16, true], [cz]: "s3expressAvailabilityZoneDelim" }, { [cw]: h, [cx]: [{ [cy]: "s3expressAvailabilityZoneDelim" }, "--"] }], bM = [{ [cv]: [X, Y], [n]: { [cA]: "https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.dualstack.{Region}.{partitionResult#dnsSuffix}", [cB]: ak, [cH]: {} }, [ct]: n }, { [cv]: bI, [n]: { [cA]: "https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.{partitionResult#dnsSuffix}", [cB]: ak, [cH]: {} }, [ct]: n }, { [cv]: bJ, [n]: { [cA]: "https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.dualstack.{Region}.{partitionResult#dnsSuffix}", [cB]: ak, [cH]: {} }, [ct]: n }, { [cv]: bK, [n]: { [cA]: "https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.{partitionResult#dnsSuffix}", [cB]: ak, [cH]: {} }, [ct]: n }], bN = [{ [cw]: k, [cx]: [ad, 6, 15, true], [cz]: "s3expressAvailabilityZoneId" }, { [cw]: k, [cx]: [ad, 15, 17, true], [cz]: "s3expressAvailabilityZoneDelim" }, { [cw]: h, [cx]: [{ [cy]: "s3expressAvailabilityZoneDelim" }, "--"] }], bO = [{ [cw]: k, [cx]: [ad, 6, 19, true], [cz]: "s3expressAvailabilityZoneId" }, { [cw]: k, [cx]: [ad, 19, 21, true], [cz]: "s3expressAvailabilityZoneDelim" }, { [cw]: h, [cx]: [{ [cy]: "s3expressAvailabilityZoneDelim" }, "--"] }], bP = [{ [cw]: k, [cx]: [ad, 6, 20, true], [cz]: "s3expressAvailabilityZoneId" }, { [cw]: k, [cx]: [ad, 20, 22, true], [cz]: "s3expressAvailabilityZoneDelim" }, { [cw]: h, [cx]: [{ [cy]: "s3expressAvailabilityZoneDelim" }, "--"] }], bQ = [{ [cw]: k, [cx]: [ad, 6, 26, true], [cz]: "s3expressAvailabilityZoneId" }, { [cw]: k, [cx]: [ad, 26, 28, true], [cz]: "s3expressAvailabilityZoneDelim" }, { [cw]: h, [cx]: [{ [cy]: "s3expressAvailabilityZoneDelim" }, "--"] }], bR = [{ [cv]: [X, Y], [n]: { [cA]: "https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.dualstack.{Region}.{partitionResult#dnsSuffix}", [cB]: { [cC]: "S3Express", [cD]: [{ [cE]: true, [j]: "sigv4-s3express", [cF]: "s3express", [cG]: "{Region}" }] }, [cH]: {} }, [ct]: n }, { [cv]: bI, [n]: { [cA]: "https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.{partitionResult#dnsSuffix}", [cB]: { [cC]: "S3Express", [cD]: [{ [cE]: true, [j]: "sigv4-s3express", [cF]: "s3express", [cG]: "{Region}" }] }, [cH]: {} }, [ct]: n }, { [cv]: bJ, [n]: { [cA]: "https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.dualstack.{Region}.{partitionResult#dnsSuffix}", [cB]: { [cC]: "S3Express", [cD]: [{ [cE]: true, [j]: "sigv4-s3express", [cF]: "s3express", [cG]: "{Region}" }] }, [cH]: {} }, [ct]: n }, { [cv]: bK, [n]: { [cA]: "https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.{partitionResult#dnsSuffix}", [cB]: { [cC]: "S3Express", [cD]: [{ [cE]: true, [j]: "sigv4-s3express", [cF]: "s3express", [cG]: "{Region}" }] }, [cH]: {} }, [ct]: n }], bS = [ad, 0, 7, true], bT = [{ [cw]: k, [cx]: [ad, 7, 15, true], [cz]: "s3expressAvailabilityZoneId" }, { [cw]: k, [cx]: [ad, 15, 17, true], [cz]: "s3expressAvailabilityZoneDelim" }, { [cw]: h, [cx]: [{ [cy]: "s3expressAvailabilityZoneDelim" }, "--"] }], bU = [{ [cw]: k, [cx]: [ad, 7, 16, true], [cz]: "s3expressAvailabilityZoneId" }, { [cw]: k, [cx]: [ad, 16, 18, true], [cz]: "s3expressAvailabilityZoneDelim" }, { [cw]: h, [cx]: [{ [cy]: "s3expressAvailabilityZoneDelim" }, "--"] }], bV = [{ [cw]: k, [cx]: [ad, 7, 20, true], [cz]: "s3expressAvailabilityZoneId" }, { [cw]: k, [cx]: [ad, 20, 22, true], [cz]: "s3expressAvailabilityZoneDelim" }, { [cw]: h, [cx]: [{ [cy]: "s3expressAvailabilityZoneDelim" }, "--"] }], bW = [{ [cw]: k, [cx]: [ad, 7, 21, true], [cz]: "s3expressAvailabilityZoneId" }, { [cw]: k, [cx]: [ad, 21, 23, true], [cz]: "s3expressAvailabilityZoneDelim" }, { [cw]: h, [cx]: [{ [cy]: "s3expressAvailabilityZoneDelim" }, "--"] }], bX = [{ [cw]: k, [cx]: [ad, 7, 27, true], [cz]: "s3expressAvailabilityZoneId" }, { [cw]: k, [cx]: [ad, 27, 29, true], [cz]: "s3expressAvailabilityZoneDelim" }, { [cw]: h, [cx]: [{ [cy]: "s3expressAvailabilityZoneDelim" }, "--"] }], bY = [ac], bZ = [{ [cw]: y, [cx]: [{ [cy]: x }, false] }], ca = [{ [cw]: h, [cx]: [{ [cy]: v }, "beta"] }], cb = ["*"], cc = [{ [cw]: y, [cx]: [{ [cy]: "Region" }, false] }], cd = [{ [cw]: h, [cx]: [{ [cy]: "Region" }, "us-east-1"] }], ce = [{ [cw]: h, [cx]: [aT, K] }], cf = [{ [cw]: i, [cx]: [aS, "resourceId[1]"], [cz]: L }, { [cw]: r, [cx]: [{ [cw]: h, [cx]: [aV, I] }] }], cg = [aS, "resourceId[1]"], ch = [Y], ci = [{ [cw]: r, [cx]: [{ [cw]: h, [cx]: [{ [cw]: i, [cx]: [aS, "region"] }, I] }] }], cj = [{ [cw]: r, [cx]: [{ [cw]: d, [cx]: [{ [cw]: i, [cx]: [aS, "resourceId[2]"] }] }] }], ck = [aS, "resourceId[2]"], cl = [{ [cw]: g, [cx]: [{ [cw]: i, [cx]: [aS, "region"] }], [cz]: "bucketPartition" }], cm = [{ [cw]: h, [cx]: [ba, { [cw]: i, [cx]: [{ [cy]: "partitionResult" }, j] }] }], cn = [{ [cw]: y, [cx]: [{ [cw]: i, [cx]: [aS, "region"] }, true] }], co = [{ [cw]: y, [cx]: [bb, false] }], cp = [{ [cw]: y, [cx]: [aV, false] }], cq = [X], cr = [{ [cw]: y, [cx]: [{ [cy]: "Region" }, true] }]; +const _data = { version: "1.0", parameters: { Bucket: T, Region: T, UseFIPS: U, UseDualStack: U, Endpoint: T, ForcePathStyle: U, Accelerate: U, UseGlobalEndpoint: U, UseObjectLambdaEndpoint: V, Key: T, Prefix: T, CopySource: T, DisableAccessPoints: V, DisableMultiRegionAccessPoints: U, UseArnRegion: V, UseS3ExpressControlEndpoint: V, DisableS3ExpressSessionAuth: V }, [cu]: [{ [cv]: [{ [cw]: d, [cx]: by }], [cu]: [{ [cv]: [W, X], error: "Accelerate cannot be used with FIPS", [ct]: f }, { [cv]: [Y, Z], error: "Cannot set dual-stack in combination with a custom endpoint.", [ct]: f }, { [cv]: [Z, X], error: "A custom endpoint cannot be combined with FIPS", [ct]: f }, { [cv]: [Z, W], error: "A custom endpoint cannot be combined with S3 Accelerate", [ct]: f }, { [cv]: [X, aa, ab], error: "Partition does not support FIPS", [ct]: f }, { [cv]: [ac, { [cw]: k, [cx]: [ad, 0, a, c], [cz]: l }, { [cw]: h, [cx]: [{ [cy]: l }, "--x-s3"] }], [cu]: [ae, af, { [cv]: [ao, ap], [cu]: [{ [cv]: bG, [cu]: [{ [cv]: [aj, aq], [cu]: [{ [cv]: bH, endpoint: { [cA]: "https://s3express-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: ak, [cH]: al }, [ct]: n }, { [cv]: bI, endpoint: { [cA]: "https://s3express-control-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: ak, [cH]: al }, [ct]: n }, { [cv]: bJ, endpoint: { [cA]: "https://s3express-control.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: ak, [cH]: al }, [ct]: n }, { [cv]: bK, endpoint: { [cA]: "https://s3express-control.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: ak, [cH]: al }, [ct]: n }], [ct]: o }], [ct]: o }], [ct]: o }, { [cv]: bF, [cu]: [{ [cv]: bG, [cu]: [{ [cv]: bD, [cu]: [{ [cv]: bL, [cu]: bM, [ct]: o }, { [cv]: bN, [cu]: bM, [ct]: o }, { [cv]: bO, [cu]: bM, [ct]: o }, { [cv]: bP, [cu]: bM, [ct]: o }, { [cv]: bQ, [cu]: bM, [ct]: o }, at], [ct]: o }, { [cv]: bL, [cu]: bR, [ct]: o }, { [cv]: bN, [cu]: bR, [ct]: o }, { [cv]: bO, [cu]: bR, [ct]: o }, { [cv]: bP, [cu]: bR, [ct]: o }, { [cv]: bQ, [cu]: bR, [ct]: o }, at], [ct]: o }], [ct]: o }, an], [ct]: o }, { [cv]: [ac, { [cw]: k, [cx]: bS, [cz]: s }, { [cw]: h, [cx]: [{ [cy]: s }, "--xa-s3"] }], [cu]: [ae, af, { [cv]: bF, [cu]: [{ [cv]: bG, [cu]: [{ [cv]: bD, [cu]: [{ [cv]: bT, [cu]: bM, [ct]: o }, { [cv]: bU, [cu]: bM, [ct]: o }, { [cv]: bV, [cu]: bM, [ct]: o }, { [cv]: bW, [cu]: bM, [ct]: o }, { [cv]: bX, [cu]: bM, [ct]: o }, at], [ct]: o }, { [cv]: bT, [cu]: bR, [ct]: o }, { [cv]: bU, [cu]: bR, [ct]: o }, { [cv]: bV, [cu]: bR, [ct]: o }, { [cv]: bW, [cu]: bR, [ct]: o }, { [cv]: bX, [cu]: bR, [ct]: o }, at], [ct]: o }], [ct]: o }, an], [ct]: o }, { [cv]: [au, ao, ap], [cu]: [{ [cv]: bG, [cu]: [{ [cv]: bC, endpoint: { [cA]: t, [cB]: ak, [cH]: al }, [ct]: n }, { [cv]: bH, endpoint: { [cA]: "https://s3express-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}", [cB]: ak, [cH]: al }, [ct]: n }, { [cv]: bI, endpoint: { [cA]: "https://s3express-control-fips.{Region}.{partitionResult#dnsSuffix}", [cB]: ak, [cH]: al }, [ct]: n }, { [cv]: bJ, endpoint: { [cA]: "https://s3express-control.dualstack.{Region}.{partitionResult#dnsSuffix}", [cB]: ak, [cH]: al }, [ct]: n }, { [cv]: bK, endpoint: { [cA]: "https://s3express-control.{Region}.{partitionResult#dnsSuffix}", [cB]: ak, [cH]: al }, [ct]: n }], [ct]: o }], [ct]: o }, { [cv]: [ac, { [cw]: k, [cx]: [ad, 49, 50, c], [cz]: u }, { [cw]: k, [cx]: [ad, 8, 12, c], [cz]: v }, { [cw]: k, [cx]: bS, [cz]: w }, { [cw]: k, [cx]: [ad, 32, 49, c], [cz]: x }, { [cw]: g, [cx]: by, [cz]: "regionPartition" }, { [cw]: h, [cx]: [{ [cy]: w }, "--op-s3"] }], [cu]: [{ [cv]: bZ, [cu]: [{ [cv]: bF, [cu]: [{ [cv]: [{ [cw]: h, [cx]: [av, "e"] }], [cu]: [{ [cv]: ca, [cu]: [aw, { [cv]: bC, endpoint: { [cA]: "https://{Bucket}.ec2.{url#authority}", [cB]: ax, [cH]: al }, [ct]: n }], [ct]: o }, { endpoint: { [cA]: "https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}", [cB]: ax, [cH]: al }, [ct]: n }], [ct]: o }, { [cv]: [{ [cw]: h, [cx]: [av, "o"] }], [cu]: [{ [cv]: ca, [cu]: [aw, { [cv]: bC, endpoint: { [cA]: "https://{Bucket}.op-{outpostId}.{url#authority}", [cB]: ax, [cH]: al }, [ct]: n }], [ct]: o }, { endpoint: { [cA]: "https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}", [cB]: ax, [cH]: al }, [ct]: n }], [ct]: o }, { error: "Unrecognized hardware type: \"Expected hardware type o or e but got {hardwareType}\"", [ct]: f }], [ct]: o }, { error: "Invalid Outposts Bucket alias - it must be a valid bucket name.", [ct]: f }], [ct]: o }, { error: "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.", [ct]: f }], [ct]: o }, { [cv]: bY, [cu]: [{ [cv]: [Z, { [cw]: r, [cx]: [{ [cw]: d, [cx]: [{ [cw]: m, [cx]: bz }] }] }], error: "Custom endpoint `{Endpoint}` was not a valid URI", [ct]: f }, { [cv]: [ay, am], [cu]: [{ [cv]: bG, [cu]: [{ [cv]: cc, [cu]: [{ [cv]: [W, ab], error: "S3 Accelerate cannot be used in this region", [ct]: f }, { [cv]: [Y, X, aA, aq, aB], endpoint: { [cA]: "https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}", [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [Y, X, aA, aq, aD, aE], [cu]: [{ endpoint: aF, [ct]: n }], [ct]: o }, { [cv]: [Y, X, aA, aq, aD, aH], endpoint: aF, [ct]: n }, { [cv]: [ar, X, aA, aq, aB], endpoint: { [cA]: "https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}", [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [ar, X, aA, aq, aD, aE], [cu]: [{ endpoint: aI, [ct]: n }], [ct]: o }, { [cv]: [ar, X, aA, aq, aD, aH], endpoint: aI, [ct]: n }, { [cv]: [Y, as, W, aq, aB], endpoint: { [cA]: "https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}", [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [Y, as, W, aq, aD, aE], [cu]: [{ endpoint: aJ, [ct]: n }], [ct]: o }, { [cv]: [Y, as, W, aq, aD, aH], endpoint: aJ, [ct]: n }, { [cv]: [Y, as, aA, aq, aB], endpoint: { [cA]: "https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}", [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [Y, as, aA, aq, aD, aE], [cu]: [{ endpoint: aK, [ct]: n }], [ct]: o }, { [cv]: [Y, as, aA, aq, aD, aH], endpoint: aK, [ct]: n }, { [cv]: [ar, as, aA, Z, ag, ah, aB], endpoint: { [cA]: C, [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [ar, as, aA, Z, ag, aL, aB], endpoint: { [cA]: q, [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [ar, as, aA, Z, ag, ah, aD, aE], [cu]: [{ [cv]: cd, endpoint: aM, [ct]: n }, { endpoint: aM, [ct]: n }], [ct]: o }, { [cv]: [ar, as, aA, Z, ag, aL, aD, aE], [cu]: [{ [cv]: cd, endpoint: aN, [ct]: n }, aO], [ct]: o }, { [cv]: [ar, as, aA, Z, ag, ah, aD, aH], endpoint: aM, [ct]: n }, { [cv]: [ar, as, aA, Z, ag, aL, aD, aH], endpoint: aN, [ct]: n }, { [cv]: [ar, as, W, aq, aB], endpoint: { [cA]: D, [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [ar, as, W, aq, aD, aE], [cu]: [{ [cv]: cd, endpoint: aP, [ct]: n }, { endpoint: aP, [ct]: n }], [ct]: o }, { [cv]: [ar, as, W, aq, aD, aH], endpoint: aP, [ct]: n }, { [cv]: [ar, as, aA, aq, aB], endpoint: { [cA]: E, [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [ar, as, aA, aq, aD, aE], [cu]: [{ [cv]: cd, endpoint: { [cA]: E, [cB]: aG, [cH]: al }, [ct]: n }, { endpoint: aQ, [ct]: n }], [ct]: o }, { [cv]: [ar, as, aA, aq, aD, aH], endpoint: aQ, [ct]: n }], [ct]: o }, aR], [ct]: o }], [ct]: o }, { [cv]: [Z, ag, { [cw]: h, [cx]: [{ [cw]: i, [cx]: [ai, "scheme"] }, "http"] }, { [cw]: p, [cx]: [ad, c] }, ay, as, ar, aA], [cu]: [{ [cv]: bG, [cu]: [{ [cv]: cc, [cu]: [aO], [ct]: o }, aR], [ct]: o }], [ct]: o }, { [cv]: [ay, { [cw]: F, [cx]: bA, [cz]: G }], [cu]: [{ [cv]: [{ [cw]: i, [cx]: [aS, "resourceId[0]"], [cz]: H }, { [cw]: r, [cx]: [{ [cw]: h, [cx]: [aT, I] }] }], [cu]: [{ [cv]: [{ [cw]: h, [cx]: [aU, J] }], [cu]: [{ [cv]: ce, [cu]: [{ [cv]: cf, [cu]: [aW, aX, { [cv]: ci, [cu]: [aY, { [cv]: cj, [cu]: [aZ, { [cv]: cl, [cu]: [{ [cv]: bG, [cu]: [{ [cv]: cm, [cu]: [{ [cv]: cn, [cu]: [{ [cv]: [{ [cw]: h, [cx]: [bb, I] }], error: "Invalid ARN: Missing account id", [ct]: f }, { [cv]: co, [cu]: [{ [cv]: cp, [cu]: [{ [cv]: bC, endpoint: { [cA]: M, [cB]: bc, [cH]: al }, [ct]: n }, { [cv]: cq, endpoint: { [cA]: "https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}", [cB]: bc, [cH]: al }, [ct]: n }, { endpoint: { [cA]: "https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}", [cB]: bc, [cH]: al }, [ct]: n }], [ct]: o }, bd], [ct]: o }, be], [ct]: o }, bf], [ct]: o }, bg], [ct]: o }], [ct]: o }], [ct]: o }, bh], [ct]: o }, { error: "Invalid ARN: bucket ARN is missing a region", [ct]: f }], [ct]: o }, bi], [ct]: o }, { error: "Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`", [ct]: f }], [ct]: o }, { [cv]: ce, [cu]: [{ [cv]: cf, [cu]: [{ [cv]: ci, [cu]: [{ [cv]: ce, [cu]: [{ [cv]: ci, [cu]: [aY, { [cv]: cj, [cu]: [aZ, { [cv]: cl, [cu]: [{ [cv]: bG, [cu]: [{ [cv]: [{ [cw]: h, [cx]: [ba, "{partitionResult#name}"] }], [cu]: [{ [cv]: cn, [cu]: [{ [cv]: [{ [cw]: h, [cx]: [aU, B] }], [cu]: [{ [cv]: co, [cu]: [{ [cv]: cp, [cu]: [{ [cv]: bB, error: "Access Points do not support S3 Accelerate", [ct]: f }, { [cv]: bH, endpoint: { [cA]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}", [cB]: bj, [cH]: al }, [ct]: n }, { [cv]: bI, endpoint: { [cA]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}", [cB]: bj, [cH]: al }, [ct]: n }, { [cv]: bJ, endpoint: { [cA]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}", [cB]: bj, [cH]: al }, [ct]: n }, { [cv]: [as, ar, Z, ag], endpoint: { [cA]: M, [cB]: bj, [cH]: al }, [ct]: n }, { [cv]: bK, endpoint: { [cA]: "https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}", [cB]: bj, [cH]: al }, [ct]: n }], [ct]: o }, bd], [ct]: o }, be], [ct]: o }, { error: "Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}", [ct]: f }], [ct]: o }, bf], [ct]: o }, bg], [ct]: o }], [ct]: o }], [ct]: o }, bh], [ct]: o }], [ct]: o }], [ct]: o }, { [cv]: [{ [cw]: y, [cx]: [aV, c] }], [cu]: [{ [cv]: ch, error: "S3 MRAP does not support dual-stack", [ct]: f }, { [cv]: cq, error: "S3 MRAP does not support FIPS", [ct]: f }, { [cv]: bB, error: "S3 MRAP does not support S3 Accelerate", [ct]: f }, { [cv]: [{ [cw]: e, [cx]: [{ [cy]: "DisableMultiRegionAccessPoints" }, c] }], error: "Invalid configuration: Multi-Region Access Point ARNs are disabled.", [ct]: f }, { [cv]: [{ [cw]: g, [cx]: by, [cz]: N }], [cu]: [{ [cv]: [{ [cw]: h, [cx]: [{ [cw]: i, [cx]: [{ [cy]: N }, j] }, { [cw]: i, [cx]: [aS, "partition"] }] }], [cu]: [{ endpoint: { [cA]: "https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}", [cB]: { [cD]: [{ [cE]: c, name: z, [cF]: B, [cI]: cb }] }, [cH]: al }, [ct]: n }], [ct]: o }, { error: "Client was configured for partition `{mrapPartition#name}` but bucket referred to partition `{bucketArn#partition}`", [ct]: f }], [ct]: o }], [ct]: o }, { error: "Invalid Access Point Name", [ct]: f }], [ct]: o }, bi], [ct]: o }, { [cv]: [{ [cw]: h, [cx]: [aU, A] }], [cu]: [{ [cv]: ch, error: "S3 Outposts does not support Dual-stack", [ct]: f }, { [cv]: cq, error: "S3 Outposts does not support FIPS", [ct]: f }, { [cv]: bB, error: "S3 Outposts does not support S3 Accelerate", [ct]: f }, { [cv]: [{ [cw]: d, [cx]: [{ [cw]: i, [cx]: [aS, "resourceId[4]"] }] }], error: "Invalid Arn: Outpost Access Point ARN contains sub resources", [ct]: f }, { [cv]: [{ [cw]: i, [cx]: cg, [cz]: x }], [cu]: [{ [cv]: bZ, [cu]: [aZ, { [cv]: cl, [cu]: [{ [cv]: bG, [cu]: [{ [cv]: cm, [cu]: [{ [cv]: cn, [cu]: [{ [cv]: co, [cu]: [{ [cv]: [{ [cw]: i, [cx]: ck, [cz]: O }], [cu]: [{ [cv]: [{ [cw]: i, [cx]: [aS, "resourceId[3]"], [cz]: L }], [cu]: [{ [cv]: [{ [cw]: h, [cx]: [{ [cy]: O }, K] }], [cu]: [{ [cv]: bC, endpoint: { [cA]: "https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}", [cB]: bk, [cH]: al }, [ct]: n }, { endpoint: { [cA]: "https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}", [cB]: bk, [cH]: al }, [ct]: n }], [ct]: o }, { error: "Expected an outpost type `accesspoint`, found {outpostType}", [ct]: f }], [ct]: o }, { error: "Invalid ARN: expected an access point name", [ct]: f }], [ct]: o }, { error: "Invalid ARN: Expected a 4-component resource", [ct]: f }], [ct]: o }, be], [ct]: o }, bf], [ct]: o }, bg], [ct]: o }], [ct]: o }], [ct]: o }, { error: "Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId}`", [ct]: f }], [ct]: o }, { error: "Invalid ARN: The Outpost Id was not set", [ct]: f }], [ct]: o }, { error: "Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})", [ct]: f }], [ct]: o }, { error: "Invalid ARN: No ARN type specified", [ct]: f }], [ct]: o }, { [cv]: [{ [cw]: k, [cx]: [ad, 0, 4, b], [cz]: P }, { [cw]: h, [cx]: [{ [cy]: P }, "arn:"] }, { [cw]: r, [cx]: [{ [cw]: d, [cx]: [bl] }] }], error: "Invalid ARN: `{Bucket}` was not a valid ARN", [ct]: f }, { [cv]: [{ [cw]: e, [cx]: [az, c] }, bl], error: "Path-style addressing cannot be used with ARN buckets", [ct]: f }, { [cv]: bE, [cu]: [{ [cv]: bG, [cu]: [{ [cv]: [aA], [cu]: [{ [cv]: [Y, aq, X, aB], endpoint: { [cA]: "https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [Y, aq, X, aD, aE], [cu]: [{ endpoint: bm, [ct]: n }], [ct]: o }, { [cv]: [Y, aq, X, aD, aH], endpoint: bm, [ct]: n }, { [cv]: [ar, aq, X, aB], endpoint: { [cA]: "https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [ar, aq, X, aD, aE], [cu]: [{ endpoint: bn, [ct]: n }], [ct]: o }, { [cv]: [ar, aq, X, aD, aH], endpoint: bn, [ct]: n }, { [cv]: [Y, aq, as, aB], endpoint: { [cA]: "https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [Y, aq, as, aD, aE], [cu]: [{ endpoint: bo, [ct]: n }], [ct]: o }, { [cv]: [Y, aq, as, aD, aH], endpoint: bo, [ct]: n }, { [cv]: [ar, Z, ag, as, aB], endpoint: { [cA]: Q, [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [ar, Z, ag, as, aD, aE], [cu]: [{ [cv]: cd, endpoint: bp, [ct]: n }, { endpoint: bp, [ct]: n }], [ct]: o }, { [cv]: [ar, Z, ag, as, aD, aH], endpoint: bp, [ct]: n }, { [cv]: [ar, aq, as, aB], endpoint: { [cA]: R, [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [ar, aq, as, aD, aE], [cu]: [{ [cv]: cd, endpoint: { [cA]: R, [cB]: aG, [cH]: al }, [ct]: n }, { endpoint: bq, [ct]: n }], [ct]: o }, { [cv]: [ar, aq, as, aD, aH], endpoint: bq, [ct]: n }], [ct]: o }, { error: "Path-style addressing cannot be used with S3 Accelerate", [ct]: f }], [ct]: o }], [ct]: o }], [ct]: o }, { [cv]: [{ [cw]: d, [cx]: [br] }, { [cw]: e, [cx]: [br, c] }], [cu]: [{ [cv]: bG, [cu]: [{ [cv]: cr, [cu]: [aW, aX, { [cv]: bC, endpoint: { [cA]: t, [cB]: bs, [cH]: al }, [ct]: n }, { [cv]: cq, endpoint: { [cA]: "https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}", [cB]: bs, [cH]: al }, [ct]: n }, { endpoint: { [cA]: "https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}", [cB]: bs, [cH]: al }, [ct]: n }], [ct]: o }, aR], [ct]: o }], [ct]: o }, { [cv]: [au], [cu]: [{ [cv]: bG, [cu]: [{ [cv]: cr, [cu]: [{ [cv]: [X, Y, aq, aB], endpoint: { [cA]: "https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}", [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [X, Y, aq, aD, aE], [cu]: [{ endpoint: bt, [ct]: n }], [ct]: o }, { [cv]: [X, Y, aq, aD, aH], endpoint: bt, [ct]: n }, { [cv]: [X, ar, aq, aB], endpoint: { [cA]: "https://s3-fips.us-east-1.{partitionResult#dnsSuffix}", [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [X, ar, aq, aD, aE], [cu]: [{ endpoint: bu, [ct]: n }], [ct]: o }, { [cv]: [X, ar, aq, aD, aH], endpoint: bu, [ct]: n }, { [cv]: [as, Y, aq, aB], endpoint: { [cA]: "https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}", [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [as, Y, aq, aD, aE], [cu]: [{ endpoint: bv, [ct]: n }], [ct]: o }, { [cv]: [as, Y, aq, aD, aH], endpoint: bv, [ct]: n }, { [cv]: [as, ar, Z, ag, aB], endpoint: { [cA]: t, [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [as, ar, Z, ag, aD, aE], [cu]: [{ [cv]: cd, endpoint: bw, [ct]: n }, { endpoint: bw, [ct]: n }], [ct]: o }, { [cv]: [as, ar, Z, ag, aD, aH], endpoint: bw, [ct]: n }, { [cv]: [as, ar, aq, aB], endpoint: { [cA]: S, [cB]: aC, [cH]: al }, [ct]: n }, { [cv]: [as, ar, aq, aD, aE], [cu]: [{ [cv]: cd, endpoint: { [cA]: S, [cB]: aG, [cH]: al }, [ct]: n }, { endpoint: bx, [ct]: n }], [ct]: o }, { [cv]: [as, ar, aq, aD, aH], endpoint: bx, [ct]: n }], [ct]: o }, aR], [ct]: o }], [ct]: o }], [ct]: o }, { error: "A region must be set when sending requests to S3.", [ct]: f }] }; +export const ruleSet = _data; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/extensionConfiguration.js b/node_modules/@aws-sdk/client-s3/dist-es/extensionConfiguration.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/extensionConfiguration.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/index.js b/node_modules/@aws-sdk/client-s3/dist-es/index.js new file mode 100644 index 0000000..495e0c3 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/index.js @@ -0,0 +1,11 @@ +export * from "./S3Client"; +export * from "./S3"; +export * from "./commands"; +export * from "./schemas/schemas_0"; +export * from "./pagination"; +export * from "./waiters"; +export * from "./models/enums"; +export * from "./models/errors"; +export * from "./models/models_0"; +export * from "./models/models_1"; +export { S3ServiceException } from "./models/S3ServiceException"; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js b/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js new file mode 100644 index 0000000..cd434cd --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js @@ -0,0 +1,8 @@ +import { ServiceException as __ServiceException, } from "@smithy/smithy-client"; +export { __ServiceException }; +export class S3ServiceException extends __ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, S3ServiceException.prototype); + } +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js b/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js new file mode 100644 index 0000000..0782b94 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js @@ -0,0 +1,403 @@ +export const BucketAbacStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +export const RequestCharged = { + requester: "requester", +}; +export const RequestPayer = { + requester: "requester", +}; +export const BucketAccelerateStatus = { + Enabled: "Enabled", + Suspended: "Suspended", +}; +export const Type = { + AmazonCustomerByEmail: "AmazonCustomerByEmail", + CanonicalUser: "CanonicalUser", + Group: "Group", +}; +export const Permission = { + FULL_CONTROL: "FULL_CONTROL", + READ: "READ", + READ_ACP: "READ_ACP", + WRITE: "WRITE", + WRITE_ACP: "WRITE_ACP", +}; +export const OwnerOverride = { + Destination: "Destination", +}; +export const ChecksumType = { + COMPOSITE: "COMPOSITE", + FULL_OBJECT: "FULL_OBJECT", +}; +export const ServerSideEncryption = { + AES256: "AES256", + aws_fsx: "aws:fsx", + aws_kms: "aws:kms", + aws_kms_dsse: "aws:kms:dsse", +}; +export const ObjectCannedACL = { + authenticated_read: "authenticated-read", + aws_exec_read: "aws-exec-read", + bucket_owner_full_control: "bucket-owner-full-control", + bucket_owner_read: "bucket-owner-read", + private: "private", + public_read: "public-read", + public_read_write: "public-read-write", +}; +export const ChecksumAlgorithm = { + CRC32: "CRC32", + CRC32C: "CRC32C", + CRC64NVME: "CRC64NVME", + SHA1: "SHA1", + SHA256: "SHA256", +}; +export const MetadataDirective = { + COPY: "COPY", + REPLACE: "REPLACE", +}; +export const ObjectLockLegalHoldStatus = { + OFF: "OFF", + ON: "ON", +}; +export const ObjectLockMode = { + COMPLIANCE: "COMPLIANCE", + GOVERNANCE: "GOVERNANCE", +}; +export const StorageClass = { + DEEP_ARCHIVE: "DEEP_ARCHIVE", + EXPRESS_ONEZONE: "EXPRESS_ONEZONE", + FSX_ONTAP: "FSX_ONTAP", + FSX_OPENZFS: "FSX_OPENZFS", + GLACIER: "GLACIER", + GLACIER_IR: "GLACIER_IR", + INTELLIGENT_TIERING: "INTELLIGENT_TIERING", + ONEZONE_IA: "ONEZONE_IA", + OUTPOSTS: "OUTPOSTS", + REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY", + SNOW: "SNOW", + STANDARD: "STANDARD", + STANDARD_IA: "STANDARD_IA", +}; +export const TaggingDirective = { + COPY: "COPY", + REPLACE: "REPLACE", +}; +export const BucketCannedACL = { + authenticated_read: "authenticated-read", + private: "private", + public_read: "public-read", + public_read_write: "public-read-write", +}; +export const BucketNamespace = { + ACCOUNT_REGIONAL: "account-regional", + GLOBAL: "global", +}; +export const DataRedundancy = { + SingleAvailabilityZone: "SingleAvailabilityZone", + SingleLocalZone: "SingleLocalZone", +}; +export const BucketType = { + Directory: "Directory", +}; +export const LocationType = { + AvailabilityZone: "AvailabilityZone", + LocalZone: "LocalZone", +}; +export const BucketLocationConstraint = { + EU: "EU", + af_south_1: "af-south-1", + ap_east_1: "ap-east-1", + ap_northeast_1: "ap-northeast-1", + ap_northeast_2: "ap-northeast-2", + ap_northeast_3: "ap-northeast-3", + ap_south_1: "ap-south-1", + ap_south_2: "ap-south-2", + ap_southeast_1: "ap-southeast-1", + ap_southeast_2: "ap-southeast-2", + ap_southeast_3: "ap-southeast-3", + ap_southeast_4: "ap-southeast-4", + ap_southeast_5: "ap-southeast-5", + ca_central_1: "ca-central-1", + cn_north_1: "cn-north-1", + cn_northwest_1: "cn-northwest-1", + eu_central_1: "eu-central-1", + eu_central_2: "eu-central-2", + eu_north_1: "eu-north-1", + eu_south_1: "eu-south-1", + eu_south_2: "eu-south-2", + eu_west_1: "eu-west-1", + eu_west_2: "eu-west-2", + eu_west_3: "eu-west-3", + il_central_1: "il-central-1", + me_central_1: "me-central-1", + me_south_1: "me-south-1", + sa_east_1: "sa-east-1", + us_east_2: "us-east-2", + us_gov_east_1: "us-gov-east-1", + us_gov_west_1: "us-gov-west-1", + us_west_1: "us-west-1", + us_west_2: "us-west-2", +}; +export const ObjectOwnership = { + BucketOwnerEnforced: "BucketOwnerEnforced", + BucketOwnerPreferred: "BucketOwnerPreferred", + ObjectWriter: "ObjectWriter", +}; +export const InventoryConfigurationState = { + DISABLED: "DISABLED", + ENABLED: "ENABLED", +}; +export const TableSseAlgorithm = { + AES256: "AES256", + aws_kms: "aws:kms", +}; +export const ExpirationState = { + DISABLED: "DISABLED", + ENABLED: "ENABLED", +}; +export const SessionMode = { + ReadOnly: "ReadOnly", + ReadWrite: "ReadWrite", +}; +export const AnalyticsS3ExportFileFormat = { + CSV: "CSV", +}; +export const StorageClassAnalysisSchemaVersion = { + V_1: "V_1", +}; +export const EncryptionType = { + NONE: "NONE", + SSE_C: "SSE-C", +}; +export const IntelligentTieringStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +export const IntelligentTieringAccessTier = { + ARCHIVE_ACCESS: "ARCHIVE_ACCESS", + DEEP_ARCHIVE_ACCESS: "DEEP_ARCHIVE_ACCESS", +}; +export const InventoryFormat = { + CSV: "CSV", + ORC: "ORC", + Parquet: "Parquet", +}; +export const InventoryIncludedObjectVersions = { + All: "All", + Current: "Current", +}; +export const InventoryOptionalField = { + BucketKeyStatus: "BucketKeyStatus", + ChecksumAlgorithm: "ChecksumAlgorithm", + ETag: "ETag", + EncryptionStatus: "EncryptionStatus", + IntelligentTieringAccessTier: "IntelligentTieringAccessTier", + IsMultipartUploaded: "IsMultipartUploaded", + LastModifiedDate: "LastModifiedDate", + LifecycleExpirationDate: "LifecycleExpirationDate", + ObjectAccessControlList: "ObjectAccessControlList", + ObjectLockLegalHoldStatus: "ObjectLockLegalHoldStatus", + ObjectLockMode: "ObjectLockMode", + ObjectLockRetainUntilDate: "ObjectLockRetainUntilDate", + ObjectOwner: "ObjectOwner", + ReplicationStatus: "ReplicationStatus", + Size: "Size", + StorageClass: "StorageClass", +}; +export const InventoryFrequency = { + Daily: "Daily", + Weekly: "Weekly", +}; +export const TransitionStorageClass = { + DEEP_ARCHIVE: "DEEP_ARCHIVE", + GLACIER: "GLACIER", + GLACIER_IR: "GLACIER_IR", + INTELLIGENT_TIERING: "INTELLIGENT_TIERING", + ONEZONE_IA: "ONEZONE_IA", + STANDARD_IA: "STANDARD_IA", +}; +export const ExpirationStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +export const TransitionDefaultMinimumObjectSize = { + all_storage_classes_128K: "all_storage_classes_128K", + varies_by_storage_class: "varies_by_storage_class", +}; +export const BucketLogsPermission = { + FULL_CONTROL: "FULL_CONTROL", + READ: "READ", + WRITE: "WRITE", +}; +export const PartitionDateSource = { + DeliveryTime: "DeliveryTime", + EventTime: "EventTime", +}; +export const S3TablesBucketType = { + aws: "aws", + customer: "customer", +}; +export const Event = { + s3_IntelligentTiering: "s3:IntelligentTiering", + s3_LifecycleExpiration_: "s3:LifecycleExpiration:*", + s3_LifecycleExpiration_Delete: "s3:LifecycleExpiration:Delete", + s3_LifecycleExpiration_DeleteMarkerCreated: "s3:LifecycleExpiration:DeleteMarkerCreated", + s3_LifecycleTransition: "s3:LifecycleTransition", + s3_ObjectAcl_Put: "s3:ObjectAcl:Put", + s3_ObjectCreated_: "s3:ObjectCreated:*", + s3_ObjectCreated_CompleteMultipartUpload: "s3:ObjectCreated:CompleteMultipartUpload", + s3_ObjectCreated_Copy: "s3:ObjectCreated:Copy", + s3_ObjectCreated_Post: "s3:ObjectCreated:Post", + s3_ObjectCreated_Put: "s3:ObjectCreated:Put", + s3_ObjectRemoved_: "s3:ObjectRemoved:*", + s3_ObjectRemoved_Delete: "s3:ObjectRemoved:Delete", + s3_ObjectRemoved_DeleteMarkerCreated: "s3:ObjectRemoved:DeleteMarkerCreated", + s3_ObjectRestore_: "s3:ObjectRestore:*", + s3_ObjectRestore_Completed: "s3:ObjectRestore:Completed", + s3_ObjectRestore_Delete: "s3:ObjectRestore:Delete", + s3_ObjectRestore_Post: "s3:ObjectRestore:Post", + s3_ObjectTagging_: "s3:ObjectTagging:*", + s3_ObjectTagging_Delete: "s3:ObjectTagging:Delete", + s3_ObjectTagging_Put: "s3:ObjectTagging:Put", + s3_ReducedRedundancyLostObject: "s3:ReducedRedundancyLostObject", + s3_Replication_: "s3:Replication:*", + s3_Replication_OperationFailedReplication: "s3:Replication:OperationFailedReplication", + s3_Replication_OperationMissedThreshold: "s3:Replication:OperationMissedThreshold", + s3_Replication_OperationNotTracked: "s3:Replication:OperationNotTracked", + s3_Replication_OperationReplicatedAfterThreshold: "s3:Replication:OperationReplicatedAfterThreshold", +}; +export const FilterRuleName = { + prefix: "prefix", + suffix: "suffix", +}; +export const DeleteMarkerReplicationStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +export const MetricsStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +export const ReplicationTimeStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +export const ExistingObjectReplicationStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +export const ReplicaModificationsStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +export const SseKmsEncryptedObjectsStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +export const ReplicationRuleStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +export const Payer = { + BucketOwner: "BucketOwner", + Requester: "Requester", +}; +export const MFADeleteStatus = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +export const BucketVersioningStatus = { + Enabled: "Enabled", + Suspended: "Suspended", +}; +export const Protocol = { + http: "http", + https: "https", +}; +export const ReplicationStatus = { + COMPLETE: "COMPLETE", + COMPLETED: "COMPLETED", + FAILED: "FAILED", + PENDING: "PENDING", + REPLICA: "REPLICA", +}; +export const ChecksumMode = { + ENABLED: "ENABLED", +}; +export const ObjectAttributes = { + CHECKSUM: "Checksum", + ETAG: "ETag", + OBJECT_PARTS: "ObjectParts", + OBJECT_SIZE: "ObjectSize", + STORAGE_CLASS: "StorageClass", +}; +export const ObjectLockEnabled = { + Enabled: "Enabled", +}; +export const ObjectLockRetentionMode = { + COMPLIANCE: "COMPLIANCE", + GOVERNANCE: "GOVERNANCE", +}; +export const ArchiveStatus = { + ARCHIVE_ACCESS: "ARCHIVE_ACCESS", + DEEP_ARCHIVE_ACCESS: "DEEP_ARCHIVE_ACCESS", +}; +export const EncodingType = { + url: "url", +}; +export const ObjectStorageClass = { + DEEP_ARCHIVE: "DEEP_ARCHIVE", + EXPRESS_ONEZONE: "EXPRESS_ONEZONE", + FSX_ONTAP: "FSX_ONTAP", + FSX_OPENZFS: "FSX_OPENZFS", + GLACIER: "GLACIER", + GLACIER_IR: "GLACIER_IR", + INTELLIGENT_TIERING: "INTELLIGENT_TIERING", + ONEZONE_IA: "ONEZONE_IA", + OUTPOSTS: "OUTPOSTS", + REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY", + SNOW: "SNOW", + STANDARD: "STANDARD", + STANDARD_IA: "STANDARD_IA", +}; +export const OptionalObjectAttributes = { + RESTORE_STATUS: "RestoreStatus", +}; +export const ObjectVersionStorageClass = { + STANDARD: "STANDARD", +}; +export const MFADelete = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +export const Tier = { + Bulk: "Bulk", + Expedited: "Expedited", + Standard: "Standard", +}; +export const ExpressionType = { + SQL: "SQL", +}; +export const CompressionType = { + BZIP2: "BZIP2", + GZIP: "GZIP", + NONE: "NONE", +}; +export const FileHeaderInfo = { + IGNORE: "IGNORE", + NONE: "NONE", + USE: "USE", +}; +export const JSONType = { + DOCUMENT: "DOCUMENT", + LINES: "LINES", +}; +export const QuoteFields = { + ALWAYS: "ALWAYS", + ASNEEDED: "ASNEEDED", +}; +export const RestoreRequestType = { + SELECT: "SELECT", +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/models/errors.js b/node_modules/@aws-sdk/client-s3/dist-es/models/errors.js new file mode 100644 index 0000000..557aa5e --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/models/errors.js @@ -0,0 +1,185 @@ +import { S3ServiceException as __BaseException } from "./S3ServiceException"; +export class NoSuchUpload extends __BaseException { + name = "NoSuchUpload"; + $fault = "client"; + constructor(opts) { + super({ + name: "NoSuchUpload", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, NoSuchUpload.prototype); + } +} +export class AccessDenied extends __BaseException { + name = "AccessDenied"; + $fault = "client"; + constructor(opts) { + super({ + name: "AccessDenied", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, AccessDenied.prototype); + } +} +export class ObjectNotInActiveTierError extends __BaseException { + name = "ObjectNotInActiveTierError"; + $fault = "client"; + constructor(opts) { + super({ + name: "ObjectNotInActiveTierError", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ObjectNotInActiveTierError.prototype); + } +} +export class BucketAlreadyExists extends __BaseException { + name = "BucketAlreadyExists"; + $fault = "client"; + constructor(opts) { + super({ + name: "BucketAlreadyExists", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, BucketAlreadyExists.prototype); + } +} +export class BucketAlreadyOwnedByYou extends __BaseException { + name = "BucketAlreadyOwnedByYou"; + $fault = "client"; + constructor(opts) { + super({ + name: "BucketAlreadyOwnedByYou", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, BucketAlreadyOwnedByYou.prototype); + } +} +export class NoSuchBucket extends __BaseException { + name = "NoSuchBucket"; + $fault = "client"; + constructor(opts) { + super({ + name: "NoSuchBucket", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, NoSuchBucket.prototype); + } +} +export class InvalidObjectState extends __BaseException { + name = "InvalidObjectState"; + $fault = "client"; + StorageClass; + AccessTier; + constructor(opts) { + super({ + name: "InvalidObjectState", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidObjectState.prototype); + this.StorageClass = opts.StorageClass; + this.AccessTier = opts.AccessTier; + } +} +export class NoSuchKey extends __BaseException { + name = "NoSuchKey"; + $fault = "client"; + constructor(opts) { + super({ + name: "NoSuchKey", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, NoSuchKey.prototype); + } +} +export class NotFound extends __BaseException { + name = "NotFound"; + $fault = "client"; + constructor(opts) { + super({ + name: "NotFound", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, NotFound.prototype); + } +} +export class EncryptionTypeMismatch extends __BaseException { + name = "EncryptionTypeMismatch"; + $fault = "client"; + constructor(opts) { + super({ + name: "EncryptionTypeMismatch", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, EncryptionTypeMismatch.prototype); + } +} +export class InvalidRequest extends __BaseException { + name = "InvalidRequest"; + $fault = "client"; + constructor(opts) { + super({ + name: "InvalidRequest", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidRequest.prototype); + } +} +export class InvalidWriteOffset extends __BaseException { + name = "InvalidWriteOffset"; + $fault = "client"; + constructor(opts) { + super({ + name: "InvalidWriteOffset", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidWriteOffset.prototype); + } +} +export class TooManyParts extends __BaseException { + name = "TooManyParts"; + $fault = "client"; + constructor(opts) { + super({ + name: "TooManyParts", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, TooManyParts.prototype); + } +} +export class IdempotencyParameterMismatch extends __BaseException { + name = "IdempotencyParameterMismatch"; + $fault = "client"; + constructor(opts) { + super({ + name: "IdempotencyParameterMismatch", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, IdempotencyParameterMismatch.prototype); + } +} +export class ObjectAlreadyInActiveTierError extends __BaseException { + name = "ObjectAlreadyInActiveTierError"; + $fault = "client"; + constructor(opts) { + super({ + name: "ObjectAlreadyInActiveTierError", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ObjectAlreadyInActiveTierError.prototype); + } +} diff --git a/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js b/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js b/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/pagination/Interfaces.js b/node_modules/@aws-sdk/client-s3/dist-es/pagination/Interfaces.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/pagination/Interfaces.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListBucketsPaginator.js b/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListBucketsPaginator.js new file mode 100644 index 0000000..83d3305 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListBucketsPaginator.js @@ -0,0 +1,4 @@ +import { createPaginator } from "@smithy/core"; +import { ListBucketsCommand } from "../commands/ListBucketsCommand"; +import { S3Client } from "../S3Client"; +export const paginateListBuckets = createPaginator(S3Client, ListBucketsCommand, "ContinuationToken", "ContinuationToken", "MaxBuckets"); diff --git a/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js b/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js new file mode 100644 index 0000000..e01aa45 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js @@ -0,0 +1,4 @@ +import { createPaginator } from "@smithy/core"; +import { ListDirectoryBucketsCommand, } from "../commands/ListDirectoryBucketsCommand"; +import { S3Client } from "../S3Client"; +export const paginateListDirectoryBuckets = createPaginator(S3Client, ListDirectoryBucketsCommand, "ContinuationToken", "ContinuationToken", "MaxDirectoryBuckets"); diff --git a/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js b/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js new file mode 100644 index 0000000..dfabccc --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js @@ -0,0 +1,4 @@ +import { createPaginator } from "@smithy/core"; +import { ListObjectsV2Command, } from "../commands/ListObjectsV2Command"; +import { S3Client } from "../S3Client"; +export const paginateListObjectsV2 = createPaginator(S3Client, ListObjectsV2Command, "ContinuationToken", "NextContinuationToken", "MaxKeys"); diff --git a/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js b/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js new file mode 100644 index 0000000..0c1e60a --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js @@ -0,0 +1,4 @@ +import { createPaginator } from "@smithy/core"; +import { ListPartsCommand } from "../commands/ListPartsCommand"; +import { S3Client } from "../S3Client"; +export const paginateListParts = createPaginator(S3Client, ListPartsCommand, "PartNumberMarker", "NextPartNumberMarker", "MaxParts"); diff --git a/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js b/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js new file mode 100644 index 0000000..9438ebe --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js @@ -0,0 +1,5 @@ +export * from "./Interfaces"; +export * from "./ListBucketsPaginator"; +export * from "./ListDirectoryBucketsPaginator"; +export * from "./ListObjectsV2Paginator"; +export * from "./ListPartsPaginator"; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js b/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js new file mode 100644 index 0000000..52b243c --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js @@ -0,0 +1,41 @@ +import packageInfo from "../package.json"; +import { Sha1 } from "@aws-crypto/sha1-browser"; +import { Sha256 } from "@aws-crypto/sha256-browser"; +import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser"; +import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver"; +import { eventStreamSerdeProvider } from "@smithy/eventstream-serde-browser"; +import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler"; +import { blobHasher as streamHasher } from "@smithy/hash-blob-browser"; +import { invalidProvider } from "@smithy/invalid-dependency"; +import { Md5 } from "@smithy/md5-js"; +import { loadConfigsForDefaultMode } from "@smithy/smithy-client"; +import { calculateBodyLength } from "@smithy/util-body-length-browser"; +import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser"; +import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry"; +import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; +export const getRuntimeConfig = (config) => { + const defaultsMode = resolveDefaultsModeConfig(config); + const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); + const clientSharedValues = getSharedRuntimeConfig(config); + return { + ...clientSharedValues, + ...config, + runtime: "browser", + defaultsMode, + bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, + credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))), + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), + eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventStreamSerdeProvider, + maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, + md5: config?.md5 ?? Md5, + region: config?.region ?? invalidProvider("Region is missing"), + requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE), + sha1: config?.sha1 ?? Sha1, + sha256: config?.sha256 ?? Sha256, + streamCollector: config?.streamCollector ?? streamCollector, + streamHasher: config?.streamHasher ?? streamHasher, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)), + useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)), + }; +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js b/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js new file mode 100644 index 0000000..65fcc61 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js @@ -0,0 +1,63 @@ +import packageInfo from "../package.json"; +import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client"; +import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, NODE_SIGV4A_CONFIG_OPTIONS } from "@aws-sdk/core/httpAuthSchemes"; +import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; +import { NODE_USE_ARN_REGION_CONFIG_OPTIONS } from "@aws-sdk/middleware-bucket-endpoint"; +import { NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS, NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS, } from "@aws-sdk/middleware-flexible-checksums"; +import { NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS } from "@aws-sdk/middleware-sdk-s3"; +import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node"; +import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver"; +import { eventStreamSerdeProvider } from "@smithy/eventstream-serde-node"; +import { Hash } from "@smithy/hash-node"; +import { readableStreamHasher as streamHasher } from "@smithy/hash-stream-node"; +import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry"; +import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider"; +import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler"; +import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client"; +import { calculateBodyLength } from "@smithy/util-body-length-node"; +import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node"; +import { DEFAULT_RETRY_MODE } from "@smithy/util-retry"; +import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; +export const getRuntimeConfig = (config) => { + emitWarningIfUnsupportedVersion(process.version); + const defaultsMode = resolveDefaultsModeConfig(config); + const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); + const clientSharedValues = getSharedRuntimeConfig(config); + awsCheckVersion(process.version); + const loaderConfig = { + profile: config?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), + disableS3ExpressSessionAuth: config?.disableS3ExpressSessionAuth ?? loadNodeConfig(NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS, loaderConfig), + eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventStreamSerdeProvider, + maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), + md5: config?.md5 ?? Hash.bind(null, "md5"), + region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + requestChecksumCalculation: config?.requestChecksumCalculation ?? loadNodeConfig(NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS, loaderConfig), + requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), + responseChecksumValidation: config?.responseChecksumValidation ?? loadNodeConfig(NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS, loaderConfig), + retryMode: config?.retryMode ?? + loadNodeConfig({ + ...NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, + }, config), + sha1: config?.sha1 ?? Hash.bind(null, "sha1"), + sha256: config?.sha256 ?? Hash.bind(null, "sha256"), + sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? loadNodeConfig(NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig), + streamCollector: config?.streamCollector ?? streamCollector, + streamHasher: config?.streamHasher ?? streamHasher, + useArnRegion: config?.useArnRegion ?? loadNodeConfig(NODE_USE_ARN_REGION_CONFIG_OPTIONS, loaderConfig), + useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.native.js b/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.native.js new file mode 100644 index 0000000..0b54695 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.native.js @@ -0,0 +1,11 @@ +import { Sha256 } from "@aws-crypto/sha256-js"; +import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser"; +export const getRuntimeConfig = (config) => { + const browserDefaults = getBrowserRuntimeConfig(config); + return { + ...browserDefaults, + ...config, + runtime: "react-native", + sha256: config?.sha256 ?? Sha256, + }; +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js b/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js new file mode 100644 index 0000000..a963582 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js @@ -0,0 +1,52 @@ +import { AwsSdkSigV4ASigner, AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; +import { S3RestXmlProtocol } from "@aws-sdk/middleware-sdk-s3"; +import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region"; +import { NoOpLogger } from "@smithy/smithy-client"; +import { parseUrl } from "@smithy/url-parser"; +import { fromBase64, toBase64 } from "@smithy/util-base64"; +import { getAwsChunkedEncodingStream, sdkStreamMixin } from "@smithy/util-stream"; +import { fromUtf8, toUtf8 } from "@smithy/util-utf8"; +import { defaultS3HttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider"; +import { defaultEndpointResolver } from "./endpoint/endpointResolver"; +import { errorTypeRegistries } from "./schemas/schemas_0"; +export const getRuntimeConfig = (config) => { + return { + apiVersion: "2006-03-01", + base64Decoder: config?.base64Decoder ?? fromBase64, + base64Encoder: config?.base64Encoder ?? toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, + extensions: config?.extensions ?? [], + getAwsChunkedEncodingStream: config?.getAwsChunkedEncodingStream ?? getAwsChunkedEncodingStream, + httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultS3HttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new AwsSdkSigV4Signer(), + }, + { + schemeId: "aws.auth#sigv4a", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4a"), + signer: new AwsSdkSigV4ASigner(), + }, + ], + logger: config?.logger ?? new NoOpLogger(), + protocol: config?.protocol ?? S3RestXmlProtocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.s3", + errorTypeRegistries, + xmlNamespace: "http://s3.amazonaws.com/doc/2006-03-01/", + version: "2006-03-01", + serviceTarget: "AmazonS3", + }, + sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin, + serviceId: config?.serviceId ?? "S3", + signerConstructor: config?.signerConstructor ?? SignatureV4MultiRegion, + signingEscapePath: config?.signingEscapePath ?? false, + urlParser: config?.urlParser ?? parseUrl, + useArnRegion: config?.useArnRegion ?? undefined, + utf8Decoder: config?.utf8Decoder ?? fromUtf8, + utf8Encoder: config?.utf8Encoder ?? toUtf8, + }; +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js b/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js new file mode 100644 index 0000000..5b29695 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js @@ -0,0 +1,9 @@ +import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver"; +import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http"; +import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client"; +import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration"; +export const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js b/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js new file mode 100644 index 0000000..beb19ea --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js @@ -0,0 +1,3246 @@ +const _A = "Account"; +const _AAO = "AnalyticsAndOperator"; +const _AC = "AccelerateConfiguration"; +const _ACL = "AccessControlList"; +const _ACL_ = "ACL"; +const _ACLn = "AnalyticsConfigurationList"; +const _ACP = "AccessControlPolicy"; +const _ACT = "AccessControlTranslation"; +const _ACn = "AnalyticsConfiguration"; +const _AD = "AccessDenied"; +const _ADb = "AbortDate"; +const _AED = "AnalyticsExportDestination"; +const _AF = "AnalyticsFilter"; +const _AH = "AllowedHeaders"; +const _AHl = "AllowedHeader"; +const _AI = "AccountId"; +const _AIMU = "AbortIncompleteMultipartUpload"; +const _AKI = "AccessKeyId"; +const _AM = "AllowedMethods"; +const _AMU = "AbortMultipartUpload"; +const _AMUO = "AbortMultipartUploadOutput"; +const _AMUR = "AbortMultipartUploadRequest"; +const _AMl = "AllowedMethod"; +const _AO = "AllowedOrigins"; +const _AOl = "AllowedOrigin"; +const _APA = "AccessPointAlias"; +const _APAc = "AccessPointArn"; +const _AQRD = "AllowQuotedRecordDelimiter"; +const _AR = "AcceptRanges"; +const _ARI = "AbortRuleId"; +const _AS = "AbacStatus"; +const _ASBD = "AnalyticsS3BucketDestination"; +const _ASSEBD = "ApplyServerSideEncryptionByDefault"; +const _ASr = "ArchiveStatus"; +const _AT = "AccessTier"; +const _An = "And"; +const _B = "Bucket"; +const _BA = "BucketArn"; +const _BAE = "BucketAlreadyExists"; +const _BAI = "BucketAccountId"; +const _BAOBY = "BucketAlreadyOwnedByYou"; +const _BET = "BlockedEncryptionTypes"; +const _BGR = "BypassGovernanceRetention"; +const _BI = "BucketInfo"; +const _BKE = "BucketKeyEnabled"; +const _BLC = "BucketLifecycleConfiguration"; +const _BLN = "BucketLocationName"; +const _BLS = "BucketLoggingStatus"; +const _BLT = "BucketLocationType"; +const _BN = "BucketNamespace"; +const _BNu = "BucketName"; +const _BP = "BytesProcessed"; +const _BPA = "BlockPublicAcls"; +const _BPP = "BlockPublicPolicy"; +const _BR = "BucketRegion"; +const _BRy = "BytesReturned"; +const _BS = "BytesScanned"; +const _Bo = "Body"; +const _Bu = "Buckets"; +const _C = "Checksum"; +const _CA = "ChecksumAlgorithm"; +const _CACL = "CannedACL"; +const _CB = "CreateBucket"; +const _CBC = "CreateBucketConfiguration"; +const _CBMC = "CreateBucketMetadataConfiguration"; +const _CBMCR = "CreateBucketMetadataConfigurationRequest"; +const _CBMTC = "CreateBucketMetadataTableConfiguration"; +const _CBMTCR = "CreateBucketMetadataTableConfigurationRequest"; +const _CBO = "CreateBucketOutput"; +const _CBR = "CreateBucketRequest"; +const _CC = "CacheControl"; +const _CCRC = "ChecksumCRC32"; +const _CCRCC = "ChecksumCRC32C"; +const _CCRCNVME = "ChecksumCRC64NVME"; +const _CC_ = "Cache-Control"; +const _CD = "CreationDate"; +const _CD_ = "Content-Disposition"; +const _CDo = "ContentDisposition"; +const _CE = "ContinuationEvent"; +const _CE_ = "Content-Encoding"; +const _CEo = "ContentEncoding"; +const _CF = "CloudFunction"; +const _CFC = "CloudFunctionConfiguration"; +const _CL = "ContentLanguage"; +const _CL_ = "Content-Language"; +const _CL__ = "Content-Length"; +const _CLo = "ContentLength"; +const _CM = "Content-MD5"; +const _CMD = "ContentMD5"; +const _CMU = "CompletedMultipartUpload"; +const _CMUO = "CompleteMultipartUploadOutput"; +const _CMUOr = "CreateMultipartUploadOutput"; +const _CMUR = "CompleteMultipartUploadResult"; +const _CMURo = "CompleteMultipartUploadRequest"; +const _CMURr = "CreateMultipartUploadRequest"; +const _CMUo = "CompleteMultipartUpload"; +const _CMUr = "CreateMultipartUpload"; +const _CMh = "ChecksumMode"; +const _CO = "CopyObject"; +const _COO = "CopyObjectOutput"; +const _COR = "CopyObjectResult"; +const _CORSC = "CORSConfiguration"; +const _CORSR = "CORSRules"; +const _CORSRu = "CORSRule"; +const _CORo = "CopyObjectRequest"; +const _CP = "CommonPrefix"; +const _CPL = "CommonPrefixList"; +const _CPLo = "CompletedPartList"; +const _CPR = "CopyPartResult"; +const _CPo = "CompletedPart"; +const _CPom = "CommonPrefixes"; +const _CR = "ContentRange"; +const _CRSBA = "ConfirmRemoveSelfBucketAccess"; +const _CR_ = "Content-Range"; +const _CS = "CopySource"; +const _CSHA = "ChecksumSHA1"; +const _CSHAh = "ChecksumSHA256"; +const _CSIM = "CopySourceIfMatch"; +const _CSIMS = "CopySourceIfModifiedSince"; +const _CSINM = "CopySourceIfNoneMatch"; +const _CSIUS = "CopySourceIfUnmodifiedSince"; +const _CSO = "CreateSessionOutput"; +const _CSR = "CreateSessionResult"; +const _CSRo = "CopySourceRange"; +const _CSRr = "CreateSessionRequest"; +const _CSSSECA = "CopySourceSSECustomerAlgorithm"; +const _CSSSECK = "CopySourceSSECustomerKey"; +const _CSSSECKMD = "CopySourceSSECustomerKeyMD5"; +const _CSV = "CSV"; +const _CSVI = "CopySourceVersionId"; +const _CSVIn = "CSVInput"; +const _CSVO = "CSVOutput"; +const _CSo = "ConfigurationState"; +const _CSr = "CreateSession"; +const _CT = "ChecksumType"; +const _CT_ = "Content-Type"; +const _CTl = "ClientToken"; +const _CTo = "ContentType"; +const _CTom = "CompressionType"; +const _CTon = "ContinuationToken"; +const _Co = "Condition"; +const _Cod = "Code"; +const _Com = "Comments"; +const _Con = "Contents"; +const _Cont = "Cont"; +const _Cr = "Credentials"; +const _D = "Days"; +const _DAI = "DaysAfterInitiation"; +const _DB = "DeleteBucket"; +const _DBAC = "DeleteBucketAnalyticsConfiguration"; +const _DBACR = "DeleteBucketAnalyticsConfigurationRequest"; +const _DBC = "DeleteBucketCors"; +const _DBCR = "DeleteBucketCorsRequest"; +const _DBE = "DeleteBucketEncryption"; +const _DBER = "DeleteBucketEncryptionRequest"; +const _DBIC = "DeleteBucketInventoryConfiguration"; +const _DBICR = "DeleteBucketInventoryConfigurationRequest"; +const _DBITC = "DeleteBucketIntelligentTieringConfiguration"; +const _DBITCR = "DeleteBucketIntelligentTieringConfigurationRequest"; +const _DBL = "DeleteBucketLifecycle"; +const _DBLR = "DeleteBucketLifecycleRequest"; +const _DBMC = "DeleteBucketMetadataConfiguration"; +const _DBMCR = "DeleteBucketMetadataConfigurationRequest"; +const _DBMCRe = "DeleteBucketMetricsConfigurationRequest"; +const _DBMCe = "DeleteBucketMetricsConfiguration"; +const _DBMTC = "DeleteBucketMetadataTableConfiguration"; +const _DBMTCR = "DeleteBucketMetadataTableConfigurationRequest"; +const _DBOC = "DeleteBucketOwnershipControls"; +const _DBOCR = "DeleteBucketOwnershipControlsRequest"; +const _DBP = "DeleteBucketPolicy"; +const _DBPR = "DeleteBucketPolicyRequest"; +const _DBR = "DeleteBucketRequest"; +const _DBRR = "DeleteBucketReplicationRequest"; +const _DBRe = "DeleteBucketReplication"; +const _DBT = "DeleteBucketTagging"; +const _DBTR = "DeleteBucketTaggingRequest"; +const _DBW = "DeleteBucketWebsite"; +const _DBWR = "DeleteBucketWebsiteRequest"; +const _DE = "DataExport"; +const _DIM = "DestinationIfMatch"; +const _DIMS = "DestinationIfModifiedSince"; +const _DINM = "DestinationIfNoneMatch"; +const _DIUS = "DestinationIfUnmodifiedSince"; +const _DM = "DeleteMarker"; +const _DME = "DeleteMarkerEntry"; +const _DMR = "DeleteMarkerReplication"; +const _DMVI = "DeleteMarkerVersionId"; +const _DMe = "DeleteMarkers"; +const _DN = "DisplayName"; +const _DO = "DeletedObject"; +const _DOO = "DeleteObjectOutput"; +const _DOOe = "DeleteObjectsOutput"; +const _DOR = "DeleteObjectRequest"; +const _DORe = "DeleteObjectsRequest"; +const _DOT = "DeleteObjectTagging"; +const _DOTO = "DeleteObjectTaggingOutput"; +const _DOTR = "DeleteObjectTaggingRequest"; +const _DOe = "DeletedObjects"; +const _DOel = "DeleteObject"; +const _DOele = "DeleteObjects"; +const _DPAB = "DeletePublicAccessBlock"; +const _DPABR = "DeletePublicAccessBlockRequest"; +const _DR = "DataRedundancy"; +const _DRe = "DefaultRetention"; +const _DRel = "DeleteResult"; +const _DRes = "DestinationResult"; +const _Da = "Date"; +const _De = "Delete"; +const _Del = "Deleted"; +const _Deli = "Delimiter"; +const _Des = "Destination"; +const _Desc = "Description"; +const _Det = "Details"; +const _E = "Expiration"; +const _EA = "EmailAddress"; +const _EBC = "EventBridgeConfiguration"; +const _EBO = "ExpectedBucketOwner"; +const _EC = "EncryptionConfiguration"; +const _ECr = "ErrorCode"; +const _ED = "ErrorDetails"; +const _EDr = "ErrorDocument"; +const _EE = "EndEvent"; +const _EH = "ExposeHeaders"; +const _EHx = "ExposeHeader"; +const _EM = "ErrorMessage"; +const _EODM = "ExpiredObjectDeleteMarker"; +const _EOR = "ExistingObjectReplication"; +const _ES = "ExpiresString"; +const _ESBO = "ExpectedSourceBucketOwner"; +const _ET = "EncryptionType"; +const _ETL = "EncryptionTypeList"; +const _ETM = "EncryptionTypeMismatch"; +const _ETa = "ETag"; +const _ETn = "EncodingType"; +const _ETv = "EventThreshold"; +const _ETx = "ExpressionType"; +const _En = "Encryption"; +const _Ena = "Enabled"; +const _End = "End"; +const _Er = "Errors"; +const _Err = "Error"; +const _Ev = "Events"; +const _Eve = "Event"; +const _Ex = "Expires"; +const _Exp = "Expression"; +const _F = "Filter"; +const _FD = "FieldDelimiter"; +const _FHI = "FileHeaderInfo"; +const _FO = "FetchOwner"; +const _FR = "FilterRule"; +const _FRL = "FilterRuleList"; +const _FRi = "FilterRules"; +const _Fi = "Field"; +const _Fo = "Format"; +const _Fr = "Frequency"; +const _G = "Grants"; +const _GBA = "GetBucketAbac"; +const _GBAC = "GetBucketAccelerateConfiguration"; +const _GBACO = "GetBucketAccelerateConfigurationOutput"; +const _GBACOe = "GetBucketAnalyticsConfigurationOutput"; +const _GBACR = "GetBucketAccelerateConfigurationRequest"; +const _GBACRe = "GetBucketAnalyticsConfigurationRequest"; +const _GBACe = "GetBucketAnalyticsConfiguration"; +const _GBAO = "GetBucketAbacOutput"; +const _GBAOe = "GetBucketAclOutput"; +const _GBAR = "GetBucketAbacRequest"; +const _GBARe = "GetBucketAclRequest"; +const _GBAe = "GetBucketAcl"; +const _GBC = "GetBucketCors"; +const _GBCO = "GetBucketCorsOutput"; +const _GBCR = "GetBucketCorsRequest"; +const _GBE = "GetBucketEncryption"; +const _GBEO = "GetBucketEncryptionOutput"; +const _GBER = "GetBucketEncryptionRequest"; +const _GBIC = "GetBucketInventoryConfiguration"; +const _GBICO = "GetBucketInventoryConfigurationOutput"; +const _GBICR = "GetBucketInventoryConfigurationRequest"; +const _GBITC = "GetBucketIntelligentTieringConfiguration"; +const _GBITCO = "GetBucketIntelligentTieringConfigurationOutput"; +const _GBITCR = "GetBucketIntelligentTieringConfigurationRequest"; +const _GBL = "GetBucketLocation"; +const _GBLC = "GetBucketLifecycleConfiguration"; +const _GBLCO = "GetBucketLifecycleConfigurationOutput"; +const _GBLCR = "GetBucketLifecycleConfigurationRequest"; +const _GBLO = "GetBucketLocationOutput"; +const _GBLOe = "GetBucketLoggingOutput"; +const _GBLR = "GetBucketLocationRequest"; +const _GBLRe = "GetBucketLoggingRequest"; +const _GBLe = "GetBucketLogging"; +const _GBMC = "GetBucketMetadataConfiguration"; +const _GBMCO = "GetBucketMetadataConfigurationOutput"; +const _GBMCOe = "GetBucketMetricsConfigurationOutput"; +const _GBMCR = "GetBucketMetadataConfigurationResult"; +const _GBMCRe = "GetBucketMetadataConfigurationRequest"; +const _GBMCRet = "GetBucketMetricsConfigurationRequest"; +const _GBMCe = "GetBucketMetricsConfiguration"; +const _GBMTC = "GetBucketMetadataTableConfiguration"; +const _GBMTCO = "GetBucketMetadataTableConfigurationOutput"; +const _GBMTCR = "GetBucketMetadataTableConfigurationResult"; +const _GBMTCRe = "GetBucketMetadataTableConfigurationRequest"; +const _GBNC = "GetBucketNotificationConfiguration"; +const _GBNCR = "GetBucketNotificationConfigurationRequest"; +const _GBOC = "GetBucketOwnershipControls"; +const _GBOCO = "GetBucketOwnershipControlsOutput"; +const _GBOCR = "GetBucketOwnershipControlsRequest"; +const _GBP = "GetBucketPolicy"; +const _GBPO = "GetBucketPolicyOutput"; +const _GBPR = "GetBucketPolicyRequest"; +const _GBPS = "GetBucketPolicyStatus"; +const _GBPSO = "GetBucketPolicyStatusOutput"; +const _GBPSR = "GetBucketPolicyStatusRequest"; +const _GBR = "GetBucketReplication"; +const _GBRO = "GetBucketReplicationOutput"; +const _GBRP = "GetBucketRequestPayment"; +const _GBRPO = "GetBucketRequestPaymentOutput"; +const _GBRPR = "GetBucketRequestPaymentRequest"; +const _GBRR = "GetBucketReplicationRequest"; +const _GBT = "GetBucketTagging"; +const _GBTO = "GetBucketTaggingOutput"; +const _GBTR = "GetBucketTaggingRequest"; +const _GBV = "GetBucketVersioning"; +const _GBVO = "GetBucketVersioningOutput"; +const _GBVR = "GetBucketVersioningRequest"; +const _GBW = "GetBucketWebsite"; +const _GBWO = "GetBucketWebsiteOutput"; +const _GBWR = "GetBucketWebsiteRequest"; +const _GFC = "GrantFullControl"; +const _GJP = "GlacierJobParameters"; +const _GO = "GetObject"; +const _GOA = "GetObjectAcl"; +const _GOAO = "GetObjectAclOutput"; +const _GOAOe = "GetObjectAttributesOutput"; +const _GOAP = "GetObjectAttributesParts"; +const _GOAR = "GetObjectAclRequest"; +const _GOARe = "GetObjectAttributesResponse"; +const _GOARet = "GetObjectAttributesRequest"; +const _GOAe = "GetObjectAttributes"; +const _GOLC = "GetObjectLockConfiguration"; +const _GOLCO = "GetObjectLockConfigurationOutput"; +const _GOLCR = "GetObjectLockConfigurationRequest"; +const _GOLH = "GetObjectLegalHold"; +const _GOLHO = "GetObjectLegalHoldOutput"; +const _GOLHR = "GetObjectLegalHoldRequest"; +const _GOO = "GetObjectOutput"; +const _GOR = "GetObjectRequest"; +const _GORO = "GetObjectRetentionOutput"; +const _GORR = "GetObjectRetentionRequest"; +const _GORe = "GetObjectRetention"; +const _GOT = "GetObjectTagging"; +const _GOTO = "GetObjectTaggingOutput"; +const _GOTOe = "GetObjectTorrentOutput"; +const _GOTR = "GetObjectTaggingRequest"; +const _GOTRe = "GetObjectTorrentRequest"; +const _GOTe = "GetObjectTorrent"; +const _GPAB = "GetPublicAccessBlock"; +const _GPABO = "GetPublicAccessBlockOutput"; +const _GPABR = "GetPublicAccessBlockRequest"; +const _GR = "GrantRead"; +const _GRACP = "GrantReadACP"; +const _GW = "GrantWrite"; +const _GWACP = "GrantWriteACP"; +const _Gr = "Grant"; +const _Gra = "Grantee"; +const _HB = "HeadBucket"; +const _HBO = "HeadBucketOutput"; +const _HBR = "HeadBucketRequest"; +const _HECRE = "HttpErrorCodeReturnedEquals"; +const _HN = "HostName"; +const _HO = "HeadObject"; +const _HOO = "HeadObjectOutput"; +const _HOR = "HeadObjectRequest"; +const _HRC = "HttpRedirectCode"; +const _I = "Id"; +const _IC = "InventoryConfiguration"; +const _ICL = "InventoryConfigurationList"; +const _ID = "ID"; +const _IDn = "IndexDocument"; +const _IDnv = "InventoryDestination"; +const _IE = "IsEnabled"; +const _IEn = "InventoryEncryption"; +const _IF = "InventoryFilter"; +const _IL = "IsLatest"; +const _IM = "IfMatch"; +const _IMIT = "IfMatchInitiatedTime"; +const _IMLMT = "IfMatchLastModifiedTime"; +const _IMS = "IfMatchSize"; +const _IMS_ = "If-Modified-Since"; +const _IMSf = "IfModifiedSince"; +const _IMUR = "InitiateMultipartUploadResult"; +const _IM_ = "If-Match"; +const _INM = "IfNoneMatch"; +const _INM_ = "If-None-Match"; +const _IOF = "InventoryOptionalFields"; +const _IOS = "InvalidObjectState"; +const _IOV = "IncludedObjectVersions"; +const _IP = "IsPublic"; +const _IPA = "IgnorePublicAcls"; +const _IPM = "IdempotencyParameterMismatch"; +const _IR = "InvalidRequest"; +const _IRIP = "IsRestoreInProgress"; +const _IS = "InputSerialization"; +const _ISBD = "InventoryS3BucketDestination"; +const _ISn = "InventorySchedule"; +const _IT = "IsTruncated"; +const _ITAO = "IntelligentTieringAndOperator"; +const _ITC = "IntelligentTieringConfiguration"; +const _ITCL = "IntelligentTieringConfigurationList"; +const _ITCR = "InventoryTableConfigurationResult"; +const _ITCU = "InventoryTableConfigurationUpdates"; +const _ITCn = "InventoryTableConfiguration"; +const _ITF = "IntelligentTieringFilter"; +const _IUS = "IfUnmodifiedSince"; +const _IUS_ = "If-Unmodified-Since"; +const _IWO = "InvalidWriteOffset"; +const _In = "Initiator"; +const _Ini = "Initiated"; +const _JSON = "JSON"; +const _JSONI = "JSONInput"; +const _JSONO = "JSONOutput"; +const _JTC = "JournalTableConfiguration"; +const _JTCR = "JournalTableConfigurationResult"; +const _JTCU = "JournalTableConfigurationUpdates"; +const _K = "Key"; +const _KC = "KeyCount"; +const _KI = "KeyId"; +const _KKA = "KmsKeyArn"; +const _KM = "KeyMarker"; +const _KMSC = "KMSContext"; +const _KMSKA = "KMSKeyArn"; +const _KMSKI = "KMSKeyId"; +const _KMSMKID = "KMSMasterKeyID"; +const _KPE = "KeyPrefixEquals"; +const _L = "Location"; +const _LAMBR = "ListAllMyBucketsResult"; +const _LAMDBR = "ListAllMyDirectoryBucketsResult"; +const _LB = "ListBuckets"; +const _LBAC = "ListBucketAnalyticsConfigurations"; +const _LBACO = "ListBucketAnalyticsConfigurationsOutput"; +const _LBACR = "ListBucketAnalyticsConfigurationResult"; +const _LBACRi = "ListBucketAnalyticsConfigurationsRequest"; +const _LBIC = "ListBucketInventoryConfigurations"; +const _LBICO = "ListBucketInventoryConfigurationsOutput"; +const _LBICR = "ListBucketInventoryConfigurationsRequest"; +const _LBITC = "ListBucketIntelligentTieringConfigurations"; +const _LBITCO = "ListBucketIntelligentTieringConfigurationsOutput"; +const _LBITCR = "ListBucketIntelligentTieringConfigurationsRequest"; +const _LBMC = "ListBucketMetricsConfigurations"; +const _LBMCO = "ListBucketMetricsConfigurationsOutput"; +const _LBMCR = "ListBucketMetricsConfigurationsRequest"; +const _LBO = "ListBucketsOutput"; +const _LBR = "ListBucketsRequest"; +const _LBRi = "ListBucketResult"; +const _LC = "LocationConstraint"; +const _LCi = "LifecycleConfiguration"; +const _LDB = "ListDirectoryBuckets"; +const _LDBO = "ListDirectoryBucketsOutput"; +const _LDBR = "ListDirectoryBucketsRequest"; +const _LE = "LoggingEnabled"; +const _LEi = "LifecycleExpiration"; +const _LFA = "LambdaFunctionArn"; +const _LFC = "LambdaFunctionConfiguration"; +const _LFCL = "LambdaFunctionConfigurationList"; +const _LFCa = "LambdaFunctionConfigurations"; +const _LH = "LegalHold"; +const _LI = "LocationInfo"; +const _LICR = "ListInventoryConfigurationsResult"; +const _LM = "LastModified"; +const _LMCR = "ListMetricsConfigurationsResult"; +const _LMT = "LastModifiedTime"; +const _LMU = "ListMultipartUploads"; +const _LMUO = "ListMultipartUploadsOutput"; +const _LMUR = "ListMultipartUploadsResult"; +const _LMURi = "ListMultipartUploadsRequest"; +const _LM_ = "Last-Modified"; +const _LO = "ListObjects"; +const _LOO = "ListObjectsOutput"; +const _LOR = "ListObjectsRequest"; +const _LOV = "ListObjectsV2"; +const _LOVO = "ListObjectsV2Output"; +const _LOVOi = "ListObjectVersionsOutput"; +const _LOVR = "ListObjectsV2Request"; +const _LOVRi = "ListObjectVersionsRequest"; +const _LOVi = "ListObjectVersions"; +const _LP = "ListParts"; +const _LPO = "ListPartsOutput"; +const _LPR = "ListPartsResult"; +const _LPRi = "ListPartsRequest"; +const _LR = "LifecycleRule"; +const _LRAO = "LifecycleRuleAndOperator"; +const _LRF = "LifecycleRuleFilter"; +const _LRi = "LifecycleRules"; +const _LVR = "ListVersionsResult"; +const _M = "Metadata"; +const _MAO = "MetricsAndOperator"; +const _MAS = "MaxAgeSeconds"; +const _MB = "MaxBuckets"; +const _MC = "MetadataConfiguration"; +const _MCL = "MetricsConfigurationList"; +const _MCR = "MetadataConfigurationResult"; +const _MCe = "MetricsConfiguration"; +const _MD = "MetadataDirective"; +const _MDB = "MaxDirectoryBuckets"; +const _MDf = "MfaDelete"; +const _ME = "MetadataEntry"; +const _MF = "MetricsFilter"; +const _MFA = "MFA"; +const _MFAD = "MFADelete"; +const _MK = "MaxKeys"; +const _MM = "MissingMeta"; +const _MOS = "MpuObjectSize"; +const _MP = "MaxParts"; +const _MTC = "MetadataTableConfiguration"; +const _MTCR = "MetadataTableConfigurationResult"; +const _MTEC = "MetadataTableEncryptionConfiguration"; +const _MU = "MultipartUpload"; +const _MUL = "MultipartUploadList"; +const _MUa = "MaxUploads"; +const _Ma = "Marker"; +const _Me = "Metrics"; +const _Mes = "Message"; +const _Mi = "Minutes"; +const _Mo = "Mode"; +const _N = "Name"; +const _NC = "NotificationConfiguration"; +const _NCF = "NotificationConfigurationFilter"; +const _NCT = "NextContinuationToken"; +const _ND = "NoncurrentDays"; +const _NEKKAS = "NonEmptyKmsKeyArnString"; +const _NF = "NotFound"; +const _NKM = "NextKeyMarker"; +const _NM = "NextMarker"; +const _NNV = "NewerNoncurrentVersions"; +const _NPNM = "NextPartNumberMarker"; +const _NSB = "NoSuchBucket"; +const _NSK = "NoSuchKey"; +const _NSU = "NoSuchUpload"; +const _NUIM = "NextUploadIdMarker"; +const _NVE = "NoncurrentVersionExpiration"; +const _NVIM = "NextVersionIdMarker"; +const _NVT = "NoncurrentVersionTransitions"; +const _NVTL = "NoncurrentVersionTransitionList"; +const _NVTo = "NoncurrentVersionTransition"; +const _O = "Owner"; +const _OA = "ObjectAttributes"; +const _OAIATE = "ObjectAlreadyInActiveTierError"; +const _OC = "OwnershipControls"; +const _OCR = "OwnershipControlsRule"; +const _OCRw = "OwnershipControlsRules"; +const _OE = "ObjectEncryption"; +const _OF = "OptionalFields"; +const _OI = "ObjectIdentifier"; +const _OIL = "ObjectIdentifierList"; +const _OL = "OutputLocation"; +const _OLC = "ObjectLockConfiguration"; +const _OLE = "ObjectLockEnabled"; +const _OLEFB = "ObjectLockEnabledForBucket"; +const _OLLH = "ObjectLockLegalHold"; +const _OLLHS = "ObjectLockLegalHoldStatus"; +const _OLM = "ObjectLockMode"; +const _OLR = "ObjectLockRetention"; +const _OLRUD = "ObjectLockRetainUntilDate"; +const _OLRb = "ObjectLockRule"; +const _OLb = "ObjectList"; +const _ONIATE = "ObjectNotInActiveTierError"; +const _OO = "ObjectOwnership"; +const _OOA = "OptionalObjectAttributes"; +const _OP = "ObjectParts"; +const _OPb = "ObjectPart"; +const _OS = "ObjectSize"; +const _OSGT = "ObjectSizeGreaterThan"; +const _OSLT = "ObjectSizeLessThan"; +const _OSV = "OutputSchemaVersion"; +const _OSu = "OutputSerialization"; +const _OV = "ObjectVersion"; +const _OVL = "ObjectVersionList"; +const _Ob = "Objects"; +const _Obj = "Object"; +const _P = "Prefix"; +const _PABC = "PublicAccessBlockConfiguration"; +const _PBA = "PutBucketAbac"; +const _PBAC = "PutBucketAccelerateConfiguration"; +const _PBACR = "PutBucketAccelerateConfigurationRequest"; +const _PBACRu = "PutBucketAnalyticsConfigurationRequest"; +const _PBACu = "PutBucketAnalyticsConfiguration"; +const _PBAR = "PutBucketAbacRequest"; +const _PBARu = "PutBucketAclRequest"; +const _PBAu = "PutBucketAcl"; +const _PBC = "PutBucketCors"; +const _PBCR = "PutBucketCorsRequest"; +const _PBE = "PutBucketEncryption"; +const _PBER = "PutBucketEncryptionRequest"; +const _PBIC = "PutBucketInventoryConfiguration"; +const _PBICR = "PutBucketInventoryConfigurationRequest"; +const _PBITC = "PutBucketIntelligentTieringConfiguration"; +const _PBITCR = "PutBucketIntelligentTieringConfigurationRequest"; +const _PBL = "PutBucketLogging"; +const _PBLC = "PutBucketLifecycleConfiguration"; +const _PBLCO = "PutBucketLifecycleConfigurationOutput"; +const _PBLCR = "PutBucketLifecycleConfigurationRequest"; +const _PBLR = "PutBucketLoggingRequest"; +const _PBMC = "PutBucketMetricsConfiguration"; +const _PBMCR = "PutBucketMetricsConfigurationRequest"; +const _PBNC = "PutBucketNotificationConfiguration"; +const _PBNCR = "PutBucketNotificationConfigurationRequest"; +const _PBOC = "PutBucketOwnershipControls"; +const _PBOCR = "PutBucketOwnershipControlsRequest"; +const _PBP = "PutBucketPolicy"; +const _PBPR = "PutBucketPolicyRequest"; +const _PBR = "PutBucketReplication"; +const _PBRP = "PutBucketRequestPayment"; +const _PBRPR = "PutBucketRequestPaymentRequest"; +const _PBRR = "PutBucketReplicationRequest"; +const _PBT = "PutBucketTagging"; +const _PBTR = "PutBucketTaggingRequest"; +const _PBV = "PutBucketVersioning"; +const _PBVR = "PutBucketVersioningRequest"; +const _PBW = "PutBucketWebsite"; +const _PBWR = "PutBucketWebsiteRequest"; +const _PC = "PartsCount"; +const _PDS = "PartitionDateSource"; +const _PE = "ProgressEvent"; +const _PI = "ParquetInput"; +const _PL = "PartsList"; +const _PN = "PartNumber"; +const _PNM = "PartNumberMarker"; +const _PO = "PutObject"; +const _POA = "PutObjectAcl"; +const _POAO = "PutObjectAclOutput"; +const _POAR = "PutObjectAclRequest"; +const _POLC = "PutObjectLockConfiguration"; +const _POLCO = "PutObjectLockConfigurationOutput"; +const _POLCR = "PutObjectLockConfigurationRequest"; +const _POLH = "PutObjectLegalHold"; +const _POLHO = "PutObjectLegalHoldOutput"; +const _POLHR = "PutObjectLegalHoldRequest"; +const _POO = "PutObjectOutput"; +const _POR = "PutObjectRequest"; +const _PORO = "PutObjectRetentionOutput"; +const _PORR = "PutObjectRetentionRequest"; +const _PORu = "PutObjectRetention"; +const _POT = "PutObjectTagging"; +const _POTO = "PutObjectTaggingOutput"; +const _POTR = "PutObjectTaggingRequest"; +const _PP = "PartitionedPrefix"; +const _PPAB = "PutPublicAccessBlock"; +const _PPABR = "PutPublicAccessBlockRequest"; +const _PS = "PolicyStatus"; +const _Pa = "Parts"; +const _Par = "Part"; +const _Parq = "Parquet"; +const _Pay = "Payer"; +const _Payl = "Payload"; +const _Pe = "Permission"; +const _Po = "Policy"; +const _Pr = "Progress"; +const _Pri = "Priority"; +const _Pro = "Protocol"; +const _Q = "Quiet"; +const _QA = "QueueArn"; +const _QC = "QuoteCharacter"; +const _QCL = "QueueConfigurationList"; +const _QCu = "QueueConfigurations"; +const _QCue = "QueueConfiguration"; +const _QEC = "QuoteEscapeCharacter"; +const _QF = "QuoteFields"; +const _Qu = "Queue"; +const _R = "Rules"; +const _RART = "RedirectAllRequestsTo"; +const _RC = "RequestCharged"; +const _RCC = "ResponseCacheControl"; +const _RCD = "ResponseContentDisposition"; +const _RCE = "ResponseContentEncoding"; +const _RCL = "ResponseContentLanguage"; +const _RCT = "ResponseContentType"; +const _RCe = "ReplicationConfiguration"; +const _RD = "RecordDelimiter"; +const _RE = "ResponseExpires"; +const _RED = "RestoreExpiryDate"; +const _REe = "RecordExpiration"; +const _REec = "RecordsEvent"; +const _RKKID = "ReplicaKmsKeyID"; +const _RKPW = "ReplaceKeyPrefixWith"; +const _RKW = "ReplaceKeyWith"; +const _RM = "ReplicaModifications"; +const _RO = "RenameObject"; +const _ROO = "RenameObjectOutput"; +const _ROOe = "RestoreObjectOutput"; +const _ROP = "RestoreOutputPath"; +const _ROR = "RenameObjectRequest"; +const _RORe = "RestoreObjectRequest"; +const _ROe = "RestoreObject"; +const _RP = "RequestPayer"; +const _RPB = "RestrictPublicBuckets"; +const _RPC = "RequestPaymentConfiguration"; +const _RPe = "RequestProgress"; +const _RR = "RoutingRules"; +const _RRAO = "ReplicationRuleAndOperator"; +const _RRF = "ReplicationRuleFilter"; +const _RRe = "ReplicationRule"; +const _RRep = "ReplicationRules"; +const _RReq = "RequestRoute"; +const _RRes = "RestoreRequest"; +const _RRo = "RoutingRule"; +const _RS = "ReplicationStatus"; +const _RSe = "RestoreStatus"; +const _RSen = "RenameSource"; +const _RT = "ReplicationTime"; +const _RTV = "ReplicationTimeValue"; +const _RTe = "RequestToken"; +const _RUD = "RetainUntilDate"; +const _Ra = "Range"; +const _Re = "Restore"; +const _Rec = "Records"; +const _Red = "Redirect"; +const _Ret = "Retention"; +const _Ro = "Role"; +const _Ru = "Rule"; +const _S = "Status"; +const _SA = "StartAfter"; +const _SAK = "SecretAccessKey"; +const _SAs = "SseAlgorithm"; +const _SB = "StreamingBlob"; +const _SBD = "S3BucketDestination"; +const _SC = "StorageClass"; +const _SCA = "StorageClassAnalysis"; +const _SCADE = "StorageClassAnalysisDataExport"; +const _SCV = "SessionCredentialValue"; +const _SCe = "SessionCredentials"; +const _SCt = "StatusCode"; +const _SDV = "SkipDestinationValidation"; +const _SE = "StatsEvent"; +const _SIM = "SourceIfMatch"; +const _SIMS = "SourceIfModifiedSince"; +const _SINM = "SourceIfNoneMatch"; +const _SIUS = "SourceIfUnmodifiedSince"; +const _SK = "SSE-KMS"; +const _SKEO = "SseKmsEncryptedObjects"; +const _SKF = "S3KeyFilter"; +const _SKe = "S3Key"; +const _SL = "S3Location"; +const _SM = "SessionMode"; +const _SOC = "SelectObjectContent"; +const _SOCES = "SelectObjectContentEventStream"; +const _SOCO = "SelectObjectContentOutput"; +const _SOCR = "SelectObjectContentRequest"; +const _SP = "SelectParameters"; +const _SPi = "SimplePrefix"; +const _SR = "ScanRange"; +const _SS = "SSE-S3"; +const _SSC = "SourceSelectionCriteria"; +const _SSE = "ServerSideEncryption"; +const _SSEA = "SSEAlgorithm"; +const _SSEBD = "ServerSideEncryptionByDefault"; +const _SSEC = "ServerSideEncryptionConfiguration"; +const _SSECA = "SSECustomerAlgorithm"; +const _SSECK = "SSECustomerKey"; +const _SSECKMD = "SSECustomerKeyMD5"; +const _SSEKMS = "SSEKMS"; +const _SSEKMSE = "SSEKMSEncryption"; +const _SSEKMSEC = "SSEKMSEncryptionContext"; +const _SSEKMSKI = "SSEKMSKeyId"; +const _SSER = "ServerSideEncryptionRule"; +const _SSERe = "ServerSideEncryptionRules"; +const _SSES = "SSES3"; +const _ST = "SessionToken"; +const _STD = "S3TablesDestination"; +const _STDR = "S3TablesDestinationResult"; +const _S_ = "S3"; +const _Sc = "Schedule"; +const _Si = "Size"; +const _St = "Start"; +const _Sta = "Stats"; +const _Su = "Suffix"; +const _T = "Tags"; +const _TA = "TableArn"; +const _TAo = "TopicArn"; +const _TB = "TargetBucket"; +const _TBA = "TableBucketArn"; +const _TBT = "TableBucketType"; +const _TC = "TagCount"; +const _TCL = "TopicConfigurationList"; +const _TCo = "TopicConfigurations"; +const _TCop = "TopicConfiguration"; +const _TD = "TaggingDirective"; +const _TDMOS = "TransitionDefaultMinimumObjectSize"; +const _TG = "TargetGrants"; +const _TGa = "TargetGrant"; +const _TL = "TieringList"; +const _TLr = "TransitionList"; +const _TMP = "TooManyParts"; +const _TN = "TableNamespace"; +const _TNa = "TableName"; +const _TOKF = "TargetObjectKeyFormat"; +const _TP = "TargetPrefix"; +const _TPC = "TotalPartsCount"; +const _TS = "TagSet"; +const _TSa = "TableStatus"; +const _Ta = "Tag"; +const _Tag = "Tagging"; +const _Ti = "Tier"; +const _Tie = "Tierings"; +const _Tier = "Tiering"; +const _Tim = "Time"; +const _To = "Token"; +const _Top = "Topic"; +const _Tr = "Transitions"; +const _Tra = "Transition"; +const _Ty = "Type"; +const _U = "Uploads"; +const _UBMITC = "UpdateBucketMetadataInventoryTableConfiguration"; +const _UBMITCR = "UpdateBucketMetadataInventoryTableConfigurationRequest"; +const _UBMJTC = "UpdateBucketMetadataJournalTableConfiguration"; +const _UBMJTCR = "UpdateBucketMetadataJournalTableConfigurationRequest"; +const _UI = "UploadId"; +const _UIM = "UploadIdMarker"; +const _UM = "UserMetadata"; +const _UOE = "UpdateObjectEncryption"; +const _UOER = "UpdateObjectEncryptionRequest"; +const _UOERp = "UpdateObjectEncryptionResponse"; +const _UP = "UploadPart"; +const _UPC = "UploadPartCopy"; +const _UPCO = "UploadPartCopyOutput"; +const _UPCR = "UploadPartCopyRequest"; +const _UPO = "UploadPartOutput"; +const _UPR = "UploadPartRequest"; +const _URI = "URI"; +const _Up = "Upload"; +const _V = "Value"; +const _VC = "VersioningConfiguration"; +const _VI = "VersionId"; +const _VIM = "VersionIdMarker"; +const _Ve = "Versions"; +const _Ver = "Version"; +const _WC = "WebsiteConfiguration"; +const _WGOR = "WriteGetObjectResponse"; +const _WGORR = "WriteGetObjectResponseRequest"; +const _WOB = "WriteOffsetBytes"; +const _WRL = "WebsiteRedirectLocation"; +const _Y = "Years"; +const _ar = "accept-ranges"; +const _br = "bucket-region"; +const _c = "client"; +const _ct = "continuation-token"; +const _d = "delimiter"; +const _e = "error"; +const _eP = "eventPayload"; +const _en = "endpoint"; +const _et = "encoding-type"; +const _fo = "fetch-owner"; +const _h = "http"; +const _hC = "httpChecksum"; +const _hE = "httpError"; +const _hH = "httpHeader"; +const _hL = "hostLabel"; +const _hP = "httpPayload"; +const _hPH = "httpPrefixHeaders"; +const _hQ = "httpQuery"; +const _hi = "http://www.w3.org/2001/XMLSchema-instance"; +const _i = "id"; +const _iT = "idempotencyToken"; +const _km = "key-marker"; +const _m = "marker"; +const _mb = "max-buckets"; +const _mdb = "max-directory-buckets"; +const _mk = "max-keys"; +const _mp = "max-parts"; +const _mu = "max-uploads"; +const _p = "prefix"; +const _pN = "partNumber"; +const _pnm = "part-number-marker"; +const _rcc = "response-cache-control"; +const _rcd = "response-content-disposition"; +const _rce = "response-content-encoding"; +const _rcl = "response-content-language"; +const _rct = "response-content-type"; +const _re = "response-expires"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.s3"; +const _sa = "start-after"; +const _st = "streaming"; +const _uI = "uploadId"; +const _uim = "upload-id-marker"; +const _vI = "versionId"; +const _vim = "version-id-marker"; +const _x = "xsi"; +const _xA = "xmlAttribute"; +const _xF = "xmlFlattened"; +const _xN = "xmlName"; +const _xNm = "xmlNamespace"; +const _xaa = "x-amz-acl"; +const _xaad = "x-amz-abort-date"; +const _xaapa = "x-amz-access-point-alias"; +const _xaari = "x-amz-abort-rule-id"; +const _xaas = "x-amz-archive-status"; +const _xaba = "x-amz-bucket-arn"; +const _xabgr = "x-amz-bypass-governance-retention"; +const _xabln = "x-amz-bucket-location-name"; +const _xablt = "x-amz-bucket-location-type"; +const _xabn = "x-amz-bucket-namespace"; +const _xabole = "x-amz-bucket-object-lock-enabled"; +const _xabolt = "x-amz-bucket-object-lock-token"; +const _xabr = "x-amz-bucket-region"; +const _xaca = "x-amz-checksum-algorithm"; +const _xacc = "x-amz-checksum-crc32"; +const _xacc_ = "x-amz-checksum-crc32c"; +const _xacc__ = "x-amz-checksum-crc64nvme"; +const _xacm = "x-amz-checksum-mode"; +const _xacrsba = "x-amz-confirm-remove-self-bucket-access"; +const _xacs = "x-amz-checksum-sha1"; +const _xacs_ = "x-amz-checksum-sha256"; +const _xacs__ = "x-amz-copy-source"; +const _xacsim = "x-amz-copy-source-if-match"; +const _xacsims = "x-amz-copy-source-if-modified-since"; +const _xacsinm = "x-amz-copy-source-if-none-match"; +const _xacsius = "x-amz-copy-source-if-unmodified-since"; +const _xacsm = "x-amz-create-session-mode"; +const _xacsr = "x-amz-copy-source-range"; +const _xacssseca = "x-amz-copy-source-server-side-encryption-customer-algorithm"; +const _xacssseck = "x-amz-copy-source-server-side-encryption-customer-key"; +const _xacssseckM = "x-amz-copy-source-server-side-encryption-customer-key-MD5"; +const _xacsvi = "x-amz-copy-source-version-id"; +const _xact = "x-amz-checksum-type"; +const _xact_ = "x-amz-client-token"; +const _xadm = "x-amz-delete-marker"; +const _xae = "x-amz-expiration"; +const _xaebo = "x-amz-expected-bucket-owner"; +const _xafec = "x-amz-fwd-error-code"; +const _xafem = "x-amz-fwd-error-message"; +const _xafhCC = "x-amz-fwd-header-Cache-Control"; +const _xafhCD = "x-amz-fwd-header-Content-Disposition"; +const _xafhCE = "x-amz-fwd-header-Content-Encoding"; +const _xafhCL = "x-amz-fwd-header-Content-Language"; +const _xafhCR = "x-amz-fwd-header-Content-Range"; +const _xafhCT = "x-amz-fwd-header-Content-Type"; +const _xafhE = "x-amz-fwd-header-ETag"; +const _xafhE_ = "x-amz-fwd-header-Expires"; +const _xafhLM = "x-amz-fwd-header-Last-Modified"; +const _xafhar = "x-amz-fwd-header-accept-ranges"; +const _xafhxacc = "x-amz-fwd-header-x-amz-checksum-crc32"; +const _xafhxacc_ = "x-amz-fwd-header-x-amz-checksum-crc32c"; +const _xafhxacc__ = "x-amz-fwd-header-x-amz-checksum-crc64nvme"; +const _xafhxacs = "x-amz-fwd-header-x-amz-checksum-sha1"; +const _xafhxacs_ = "x-amz-fwd-header-x-amz-checksum-sha256"; +const _xafhxadm = "x-amz-fwd-header-x-amz-delete-marker"; +const _xafhxae = "x-amz-fwd-header-x-amz-expiration"; +const _xafhxamm = "x-amz-fwd-header-x-amz-missing-meta"; +const _xafhxampc = "x-amz-fwd-header-x-amz-mp-parts-count"; +const _xafhxaollh = "x-amz-fwd-header-x-amz-object-lock-legal-hold"; +const _xafhxaolm = "x-amz-fwd-header-x-amz-object-lock-mode"; +const _xafhxaolrud = "x-amz-fwd-header-x-amz-object-lock-retain-until-date"; +const _xafhxar = "x-amz-fwd-header-x-amz-restore"; +const _xafhxarc = "x-amz-fwd-header-x-amz-request-charged"; +const _xafhxars = "x-amz-fwd-header-x-amz-replication-status"; +const _xafhxasc = "x-amz-fwd-header-x-amz-storage-class"; +const _xafhxasse = "x-amz-fwd-header-x-amz-server-side-encryption"; +const _xafhxasseakki = "x-amz-fwd-header-x-amz-server-side-encryption-aws-kms-key-id"; +const _xafhxassebke = "x-amz-fwd-header-x-amz-server-side-encryption-bucket-key-enabled"; +const _xafhxasseca = "x-amz-fwd-header-x-amz-server-side-encryption-customer-algorithm"; +const _xafhxasseckM = "x-amz-fwd-header-x-amz-server-side-encryption-customer-key-MD5"; +const _xafhxatc = "x-amz-fwd-header-x-amz-tagging-count"; +const _xafhxavi = "x-amz-fwd-header-x-amz-version-id"; +const _xafs = "x-amz-fwd-status"; +const _xagfc = "x-amz-grant-full-control"; +const _xagr = "x-amz-grant-read"; +const _xagra = "x-amz-grant-read-acp"; +const _xagw = "x-amz-grant-write"; +const _xagwa = "x-amz-grant-write-acp"; +const _xaimit = "x-amz-if-match-initiated-time"; +const _xaimlmt = "x-amz-if-match-last-modified-time"; +const _xaims = "x-amz-if-match-size"; +const _xam = "x-amz-meta-"; +const _xam_ = "x-amz-mfa"; +const _xamd = "x-amz-metadata-directive"; +const _xamm = "x-amz-missing-meta"; +const _xamos = "x-amz-mp-object-size"; +const _xamp = "x-amz-max-parts"; +const _xampc = "x-amz-mp-parts-count"; +const _xaoa = "x-amz-object-attributes"; +const _xaollh = "x-amz-object-lock-legal-hold"; +const _xaolm = "x-amz-object-lock-mode"; +const _xaolrud = "x-amz-object-lock-retain-until-date"; +const _xaoo = "x-amz-object-ownership"; +const _xaooa = "x-amz-optional-object-attributes"; +const _xaos = "x-amz-object-size"; +const _xapnm = "x-amz-part-number-marker"; +const _xar = "x-amz-restore"; +const _xarc = "x-amz-request-charged"; +const _xarop = "x-amz-restore-output-path"; +const _xarp = "x-amz-request-payer"; +const _xarr = "x-amz-request-route"; +const _xars = "x-amz-replication-status"; +const _xars_ = "x-amz-rename-source"; +const _xarsim = "x-amz-rename-source-if-match"; +const _xarsims = "x-amz-rename-source-if-modified-since"; +const _xarsinm = "x-amz-rename-source-if-none-match"; +const _xarsius = "x-amz-rename-source-if-unmodified-since"; +const _xart = "x-amz-request-token"; +const _xasc = "x-amz-storage-class"; +const _xasca = "x-amz-sdk-checksum-algorithm"; +const _xasdv = "x-amz-skip-destination-validation"; +const _xasebo = "x-amz-source-expected-bucket-owner"; +const _xasse = "x-amz-server-side-encryption"; +const _xasseakki = "x-amz-server-side-encryption-aws-kms-key-id"; +const _xassebke = "x-amz-server-side-encryption-bucket-key-enabled"; +const _xassec = "x-amz-server-side-encryption-context"; +const _xasseca = "x-amz-server-side-encryption-customer-algorithm"; +const _xasseck = "x-amz-server-side-encryption-customer-key"; +const _xasseckM = "x-amz-server-side-encryption-customer-key-MD5"; +const _xat = "x-amz-tagging"; +const _xatc = "x-amz-tagging-count"; +const _xatd = "x-amz-tagging-directive"; +const _xatdmos = "x-amz-transition-default-minimum-object-size"; +const _xavi = "x-amz-version-id"; +const _xawob = "x-amz-write-offset-bytes"; +const _xawrl = "x-amz-website-redirect-location"; +const _xs = "xsi:type"; +const n0 = "com.amazonaws.s3"; +import { TypeRegistry } from "@smithy/core/schema"; +import { AccessDenied, BucketAlreadyExists, BucketAlreadyOwnedByYou, EncryptionTypeMismatch, IdempotencyParameterMismatch, InvalidObjectState, InvalidRequest, InvalidWriteOffset, NoSuchBucket, NoSuchKey, NoSuchUpload, NotFound, ObjectAlreadyInActiveTierError, ObjectNotInActiveTierError, TooManyParts, } from "../models/errors"; +import { S3ServiceException } from "../models/S3ServiceException"; +const _s_registry = TypeRegistry.for(_s); +export var S3ServiceException$ = [-3, _s, "S3ServiceException", 0, [], []]; +_s_registry.registerError(S3ServiceException$, S3ServiceException); +const n0_registry = TypeRegistry.for(n0); +export var AccessDenied$ = [-3, n0, _AD, + { [_e]: _c, [_hE]: 403 }, + [], + [] +]; +n0_registry.registerError(AccessDenied$, AccessDenied); +export var BucketAlreadyExists$ = [-3, n0, _BAE, + { [_e]: _c, [_hE]: 409 }, + [], + [] +]; +n0_registry.registerError(BucketAlreadyExists$, BucketAlreadyExists); +export var BucketAlreadyOwnedByYou$ = [-3, n0, _BAOBY, + { [_e]: _c, [_hE]: 409 }, + [], + [] +]; +n0_registry.registerError(BucketAlreadyOwnedByYou$, BucketAlreadyOwnedByYou); +export var EncryptionTypeMismatch$ = [-3, n0, _ETM, + { [_e]: _c, [_hE]: 400 }, + [], + [] +]; +n0_registry.registerError(EncryptionTypeMismatch$, EncryptionTypeMismatch); +export var IdempotencyParameterMismatch$ = [-3, n0, _IPM, + { [_e]: _c, [_hE]: 400 }, + [], + [] +]; +n0_registry.registerError(IdempotencyParameterMismatch$, IdempotencyParameterMismatch); +export var InvalidObjectState$ = [-3, n0, _IOS, + { [_e]: _c, [_hE]: 403 }, + [_SC, _AT], + [0, 0] +]; +n0_registry.registerError(InvalidObjectState$, InvalidObjectState); +export var InvalidRequest$ = [-3, n0, _IR, + { [_e]: _c, [_hE]: 400 }, + [], + [] +]; +n0_registry.registerError(InvalidRequest$, InvalidRequest); +export var InvalidWriteOffset$ = [-3, n0, _IWO, + { [_e]: _c, [_hE]: 400 }, + [], + [] +]; +n0_registry.registerError(InvalidWriteOffset$, InvalidWriteOffset); +export var NoSuchBucket$ = [-3, n0, _NSB, + { [_e]: _c, [_hE]: 404 }, + [], + [] +]; +n0_registry.registerError(NoSuchBucket$, NoSuchBucket); +export var NoSuchKey$ = [-3, n0, _NSK, + { [_e]: _c, [_hE]: 404 }, + [], + [] +]; +n0_registry.registerError(NoSuchKey$, NoSuchKey); +export var NoSuchUpload$ = [-3, n0, _NSU, + { [_e]: _c, [_hE]: 404 }, + [], + [] +]; +n0_registry.registerError(NoSuchUpload$, NoSuchUpload); +export var NotFound$ = [-3, n0, _NF, + { [_e]: _c }, + [], + [] +]; +n0_registry.registerError(NotFound$, NotFound); +export var ObjectAlreadyInActiveTierError$ = [-3, n0, _OAIATE, + { [_e]: _c, [_hE]: 403 }, + [], + [] +]; +n0_registry.registerError(ObjectAlreadyInActiveTierError$, ObjectAlreadyInActiveTierError); +export var ObjectNotInActiveTierError$ = [-3, n0, _ONIATE, + { [_e]: _c, [_hE]: 403 }, + [], + [] +]; +n0_registry.registerError(ObjectNotInActiveTierError$, ObjectNotInActiveTierError); +export var TooManyParts$ = [-3, n0, _TMP, + { [_e]: _c, [_hE]: 400 }, + [], + [] +]; +n0_registry.registerError(TooManyParts$, TooManyParts); +export const errorTypeRegistries = [ + _s_registry, + n0_registry, +]; +var CopySourceSSECustomerKey = [0, n0, _CSSSECK, 8, 0]; +var NonEmptyKmsKeyArnString = [0, n0, _NEKKAS, 8, 0]; +var SessionCredentialValue = [0, n0, _SCV, 8, 0]; +var SSECustomerKey = [0, n0, _SSECK, 8, 0]; +var SSEKMSEncryptionContext = [0, n0, _SSEKMSEC, 8, 0]; +var SSEKMSKeyId = [0, n0, _SSEKMSKI, 8, 0]; +var StreamingBlob = [0, n0, _SB, { [_st]: 1 }, 42]; +export var AbacStatus$ = [3, n0, _AS, + 0, + [_S], + [0] +]; +export var AbortIncompleteMultipartUpload$ = [3, n0, _AIMU, + 0, + [_DAI], + [1] +]; +export var AbortMultipartUploadOutput$ = [3, n0, _AMUO, + 0, + [_RC], + [[0, { [_hH]: _xarc }]] +]; +export var AbortMultipartUploadRequest$ = [3, n0, _AMUR, + 0, + [_B, _K, _UI, _RP, _EBO, _IMIT], + [[0, 1], [0, 1], [0, { [_hQ]: _uI }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }], [6, { [_hH]: _xaimit }]], 3 +]; +export var AccelerateConfiguration$ = [3, n0, _AC, + 0, + [_S], + [0] +]; +export var AccessControlPolicy$ = [3, n0, _ACP, + 0, + [_G, _O], + [[() => Grants, { [_xN]: _ACL }], () => Owner$] +]; +export var AccessControlTranslation$ = [3, n0, _ACT, + 0, + [_O], + [0], 1 +]; +export var AnalyticsAndOperator$ = [3, n0, _AAO, + 0, + [_P, _T], + [0, [() => TagSet, { [_xF]: 1, [_xN]: _Ta }]] +]; +export var AnalyticsConfiguration$ = [3, n0, _ACn, + 0, + [_I, _SCA, _F], + [0, () => StorageClassAnalysis$, [() => AnalyticsFilter$, 0]], 2 +]; +export var AnalyticsExportDestination$ = [3, n0, _AED, + 0, + [_SBD], + [() => AnalyticsS3BucketDestination$], 1 +]; +export var AnalyticsS3BucketDestination$ = [3, n0, _ASBD, + 0, + [_Fo, _B, _BAI, _P], + [0, 0, 0, 0], 2 +]; +export var BlockedEncryptionTypes$ = [3, n0, _BET, + 0, + [_ET], + [[() => EncryptionTypeList, { [_xF]: 1 }]] +]; +export var Bucket$ = [3, n0, _B, + 0, + [_N, _CD, _BR, _BA], + [0, 4, 0, 0] +]; +export var BucketInfo$ = [3, n0, _BI, + 0, + [_DR, _Ty], + [0, 0] +]; +export var BucketLifecycleConfiguration$ = [3, n0, _BLC, + 0, + [_R], + [[() => LifecycleRules, { [_xF]: 1, [_xN]: _Ru }]], 1 +]; +export var BucketLoggingStatus$ = [3, n0, _BLS, + 0, + [_LE], + [[() => LoggingEnabled$, 0]] +]; +export var Checksum$ = [3, n0, _C, + 0, + [_CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CT], + [0, 0, 0, 0, 0, 0] +]; +export var CommonPrefix$ = [3, n0, _CP, + 0, + [_P], + [0] +]; +export var CompletedMultipartUpload$ = [3, n0, _CMU, + 0, + [_Pa], + [[() => CompletedPartList, { [_xF]: 1, [_xN]: _Par }]] +]; +export var CompletedPart$ = [3, n0, _CPo, + 0, + [_ETa, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _PN], + [0, 0, 0, 0, 0, 0, 1] +]; +export var CompleteMultipartUploadOutput$ = [3, n0, _CMUO, + { [_xN]: _CMUR }, + [_L, _B, _K, _E, _ETa, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CT, _SSE, _VI, _SSEKMSKI, _BKE, _RC], + [0, 0, 0, [0, { [_hH]: _xae }], 0, 0, 0, 0, 0, 0, 0, [0, { [_hH]: _xasse }], [0, { [_hH]: _xavi }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarc }]] +]; +export var CompleteMultipartUploadRequest$ = [3, n0, _CMURo, + 0, + [_B, _K, _UI, _MU, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CT, _MOS, _RP, _EBO, _IM, _INM, _SSECA, _SSECK, _SSECKMD], + [[0, 1], [0, 1], [0, { [_hQ]: _uI }], [() => CompletedMultipartUpload$, { [_hP]: 1, [_xN]: _CMUo }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xact }], [1, { [_hH]: _xamos }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _IM_ }], [0, { [_hH]: _INM_ }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }]], 3 +]; +export var Condition$ = [3, n0, _Co, + 0, + [_HECRE, _KPE], + [0, 0] +]; +export var ContinuationEvent$ = [3, n0, _CE, + 0, + [], + [] +]; +export var CopyObjectOutput$ = [3, n0, _COO, + 0, + [_COR, _E, _CSVI, _VI, _SSE, _SSECA, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RC], + [[() => CopyObjectResult$, 16], [0, { [_hH]: _xae }], [0, { [_hH]: _xacsvi }], [0, { [_hH]: _xavi }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarc }]] +]; +export var CopyObjectRequest$ = [3, n0, _CORo, + 0, + [_B, _CS, _K, _ACL_, _CC, _CA, _CDo, _CEo, _CL, _CTo, _CSIM, _CSIMS, _CSINM, _CSIUS, _Ex, _GFC, _GR, _GRACP, _GWACP, _IM, _INM, _M, _MD, _TD, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _CSSSECA, _CSSSECK, _CSSSECKMD, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _EBO, _ESBO], + [[0, 1], [0, { [_hH]: _xacs__ }], [0, 1], [0, { [_hH]: _xaa }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _xaca }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _xacsim }], [4, { [_hH]: _xacsims }], [0, { [_hH]: _xacsinm }], [4, { [_hH]: _xacsius }], [4, { [_hH]: _Ex }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [0, { [_hH]: _IM_ }], [0, { [_hH]: _INM_ }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xamd }], [0, { [_hH]: _xatd }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xacssseca }], [() => CopySourceSSECustomerKey, { [_hH]: _xacssseck }], [0, { [_hH]: _xacssseckM }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xasebo }]], 3 +]; +export var CopyObjectResult$ = [3, n0, _COR, + 0, + [_ETa, _LM, _CT, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh], + [0, 4, 0, 0, 0, 0, 0, 0] +]; +export var CopyPartResult$ = [3, n0, _CPR, + 0, + [_ETa, _LM, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh], + [0, 4, 0, 0, 0, 0, 0] +]; +export var CORSConfiguration$ = [3, n0, _CORSC, + 0, + [_CORSR], + [[() => CORSRules, { [_xF]: 1, [_xN]: _CORSRu }]], 1 +]; +export var CORSRule$ = [3, n0, _CORSRu, + 0, + [_AM, _AO, _ID, _AH, _EH, _MAS], + [[64 | 0, { [_xF]: 1, [_xN]: _AMl }], [64 | 0, { [_xF]: 1, [_xN]: _AOl }], 0, [64 | 0, { [_xF]: 1, [_xN]: _AHl }], [64 | 0, { [_xF]: 1, [_xN]: _EHx }], 1], 2 +]; +export var CreateBucketConfiguration$ = [3, n0, _CBC, + 0, + [_LC, _L, _B, _T], + [0, () => LocationInfo$, () => BucketInfo$, [() => TagSet, 0]] +]; +export var CreateBucketMetadataConfigurationRequest$ = [3, n0, _CBMCR, + 0, + [_B, _MC, _CMD, _CA, _EBO], + [[0, 1], [() => MetadataConfiguration$, { [_hP]: 1, [_xN]: _MC }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +export var CreateBucketMetadataTableConfigurationRequest$ = [3, n0, _CBMTCR, + 0, + [_B, _MTC, _CMD, _CA, _EBO], + [[0, 1], [() => MetadataTableConfiguration$, { [_hP]: 1, [_xN]: _MTC }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +export var CreateBucketOutput$ = [3, n0, _CBO, + 0, + [_L, _BA], + [[0, { [_hH]: _L }], [0, { [_hH]: _xaba }]] +]; +export var CreateBucketRequest$ = [3, n0, _CBR, + 0, + [_B, _ACL_, _CBC, _GFC, _GR, _GRACP, _GW, _GWACP, _OLEFB, _OO, _BN], + [[0, 1], [0, { [_hH]: _xaa }], [() => CreateBucketConfiguration$, { [_hP]: 1, [_xN]: _CBC }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagw }], [0, { [_hH]: _xagwa }], [2, { [_hH]: _xabole }], [0, { [_hH]: _xaoo }], [0, { [_hH]: _xabn }]], 1 +]; +export var CreateMultipartUploadOutput$ = [3, n0, _CMUOr, + { [_xN]: _IMUR }, + [_ADb, _ARI, _B, _K, _UI, _SSE, _SSECA, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RC, _CA, _CT], + [[4, { [_hH]: _xaad }], [0, { [_hH]: _xaari }], [0, { [_xN]: _B }], 0, 0, [0, { [_hH]: _xasse }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarc }], [0, { [_hH]: _xaca }], [0, { [_hH]: _xact }]] +]; +export var CreateMultipartUploadRequest$ = [3, n0, _CMURr, + 0, + [_B, _K, _ACL_, _CC, _CDo, _CEo, _CL, _CTo, _Ex, _GFC, _GR, _GRACP, _GWACP, _M, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _EBO, _CA, _CT], + [[0, 1], [0, 1], [0, { [_hH]: _xaa }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [4, { [_hH]: _Ex }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xaca }], [0, { [_hH]: _xact }]], 2 +]; +export var CreateSessionOutput$ = [3, n0, _CSO, + { [_xN]: _CSR }, + [_Cr, _SSE, _SSEKMSKI, _SSEKMSEC, _BKE], + [[() => SessionCredentials$, { [_xN]: _Cr }], [0, { [_hH]: _xasse }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }]], 1 +]; +export var CreateSessionRequest$ = [3, n0, _CSRr, + 0, + [_B, _SM, _SSE, _SSEKMSKI, _SSEKMSEC, _BKE], + [[0, 1], [0, { [_hH]: _xacsm }], [0, { [_hH]: _xasse }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }]], 1 +]; +export var CSVInput$ = [3, n0, _CSVIn, + 0, + [_FHI, _Com, _QEC, _RD, _FD, _QC, _AQRD], + [0, 0, 0, 0, 0, 0, 2] +]; +export var CSVOutput$ = [3, n0, _CSVO, + 0, + [_QF, _QEC, _RD, _FD, _QC], + [0, 0, 0, 0, 0] +]; +export var DefaultRetention$ = [3, n0, _DRe, + 0, + [_Mo, _D, _Y], + [0, 1, 1] +]; +export var Delete$ = [3, n0, _De, + 0, + [_Ob, _Q], + [[() => ObjectIdentifierList, { [_xF]: 1, [_xN]: _Obj }], 2], 1 +]; +export var DeleteBucketAnalyticsConfigurationRequest$ = [3, n0, _DBACR, + 0, + [_B, _I, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [0, { [_hH]: _xaebo }]], 2 +]; +export var DeleteBucketCorsRequest$ = [3, n0, _DBCR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var DeleteBucketEncryptionRequest$ = [3, n0, _DBER, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var DeleteBucketIntelligentTieringConfigurationRequest$ = [3, n0, _DBITCR, + 0, + [_B, _I, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [0, { [_hH]: _xaebo }]], 2 +]; +export var DeleteBucketInventoryConfigurationRequest$ = [3, n0, _DBICR, + 0, + [_B, _I, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [0, { [_hH]: _xaebo }]], 2 +]; +export var DeleteBucketLifecycleRequest$ = [3, n0, _DBLR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var DeleteBucketMetadataConfigurationRequest$ = [3, n0, _DBMCR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var DeleteBucketMetadataTableConfigurationRequest$ = [3, n0, _DBMTCR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var DeleteBucketMetricsConfigurationRequest$ = [3, n0, _DBMCRe, + 0, + [_B, _I, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [0, { [_hH]: _xaebo }]], 2 +]; +export var DeleteBucketOwnershipControlsRequest$ = [3, n0, _DBOCR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var DeleteBucketPolicyRequest$ = [3, n0, _DBPR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var DeleteBucketReplicationRequest$ = [3, n0, _DBRR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var DeleteBucketRequest$ = [3, n0, _DBR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var DeleteBucketTaggingRequest$ = [3, n0, _DBTR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var DeleteBucketWebsiteRequest$ = [3, n0, _DBWR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var DeletedObject$ = [3, n0, _DO, + 0, + [_K, _VI, _DM, _DMVI], + [0, 0, 2, 0] +]; +export var DeleteMarkerEntry$ = [3, n0, _DME, + 0, + [_O, _K, _VI, _IL, _LM], + [() => Owner$, 0, 0, 2, 4] +]; +export var DeleteMarkerReplication$ = [3, n0, _DMR, + 0, + [_S], + [0] +]; +export var DeleteObjectOutput$ = [3, n0, _DOO, + 0, + [_DM, _VI, _RC], + [[2, { [_hH]: _xadm }], [0, { [_hH]: _xavi }], [0, { [_hH]: _xarc }]] +]; +export var DeleteObjectRequest$ = [3, n0, _DOR, + 0, + [_B, _K, _MFA, _VI, _RP, _BGR, _EBO, _IM, _IMLMT, _IMS], + [[0, 1], [0, 1], [0, { [_hH]: _xam_ }], [0, { [_hQ]: _vI }], [0, { [_hH]: _xarp }], [2, { [_hH]: _xabgr }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _IM_ }], [6, { [_hH]: _xaimlmt }], [1, { [_hH]: _xaims }]], 2 +]; +export var DeleteObjectsOutput$ = [3, n0, _DOOe, + { [_xN]: _DRel }, + [_Del, _RC, _Er], + [[() => DeletedObjects, { [_xF]: 1 }], [0, { [_hH]: _xarc }], [() => Errors, { [_xF]: 1, [_xN]: _Err }]] +]; +export var DeleteObjectsRequest$ = [3, n0, _DORe, + 0, + [_B, _De, _MFA, _RP, _BGR, _EBO, _CA], + [[0, 1], [() => Delete$, { [_hP]: 1, [_xN]: _De }], [0, { [_hH]: _xam_ }], [0, { [_hH]: _xarp }], [2, { [_hH]: _xabgr }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xasca }]], 2 +]; +export var DeleteObjectTaggingOutput$ = [3, n0, _DOTO, + 0, + [_VI], + [[0, { [_hH]: _xavi }]] +]; +export var DeleteObjectTaggingRequest$ = [3, n0, _DOTR, + 0, + [_B, _K, _VI, _EBO], + [[0, 1], [0, 1], [0, { [_hQ]: _vI }], [0, { [_hH]: _xaebo }]], 2 +]; +export var DeletePublicAccessBlockRequest$ = [3, n0, _DPABR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var Destination$ = [3, n0, _Des, + 0, + [_B, _A, _SC, _ACT, _EC, _RT, _Me], + [0, 0, 0, () => AccessControlTranslation$, () => EncryptionConfiguration$, () => ReplicationTime$, () => Metrics$], 1 +]; +export var DestinationResult$ = [3, n0, _DRes, + 0, + [_TBT, _TBA, _TN], + [0, 0, 0] +]; +export var Encryption$ = [3, n0, _En, + 0, + [_ET, _KMSKI, _KMSC], + [0, [() => SSEKMSKeyId, 0], 0], 1 +]; +export var EncryptionConfiguration$ = [3, n0, _EC, + 0, + [_RKKID], + [0] +]; +export var EndEvent$ = [3, n0, _EE, + 0, + [], + [] +]; +export var _Error$ = [3, n0, _Err, + 0, + [_K, _VI, _Cod, _Mes], + [0, 0, 0, 0] +]; +export var ErrorDetails$ = [3, n0, _ED, + 0, + [_ECr, _EM], + [0, 0] +]; +export var ErrorDocument$ = [3, n0, _EDr, + 0, + [_K], + [0], 1 +]; +export var EventBridgeConfiguration$ = [3, n0, _EBC, + 0, + [], + [] +]; +export var ExistingObjectReplication$ = [3, n0, _EOR, + 0, + [_S], + [0], 1 +]; +export var FilterRule$ = [3, n0, _FR, + 0, + [_N, _V], + [0, 0] +]; +export var GetBucketAbacOutput$ = [3, n0, _GBAO, + 0, + [_AS], + [[() => AbacStatus$, 16]] +]; +export var GetBucketAbacRequest$ = [3, n0, _GBAR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var GetBucketAccelerateConfigurationOutput$ = [3, n0, _GBACO, + { [_xN]: _AC }, + [_S, _RC], + [0, [0, { [_hH]: _xarc }]] +]; +export var GetBucketAccelerateConfigurationRequest$ = [3, n0, _GBACR, + 0, + [_B, _EBO, _RP], + [[0, 1], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xarp }]], 1 +]; +export var GetBucketAclOutput$ = [3, n0, _GBAOe, + { [_xN]: _ACP }, + [_O, _G], + [() => Owner$, [() => Grants, { [_xN]: _ACL }]] +]; +export var GetBucketAclRequest$ = [3, n0, _GBARe, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var GetBucketAnalyticsConfigurationOutput$ = [3, n0, _GBACOe, + 0, + [_ACn], + [[() => AnalyticsConfiguration$, 16]] +]; +export var GetBucketAnalyticsConfigurationRequest$ = [3, n0, _GBACRe, + 0, + [_B, _I, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [0, { [_hH]: _xaebo }]], 2 +]; +export var GetBucketCorsOutput$ = [3, n0, _GBCO, + { [_xN]: _CORSC }, + [_CORSR], + [[() => CORSRules, { [_xF]: 1, [_xN]: _CORSRu }]] +]; +export var GetBucketCorsRequest$ = [3, n0, _GBCR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var GetBucketEncryptionOutput$ = [3, n0, _GBEO, + 0, + [_SSEC], + [[() => ServerSideEncryptionConfiguration$, 16]] +]; +export var GetBucketEncryptionRequest$ = [3, n0, _GBER, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var GetBucketIntelligentTieringConfigurationOutput$ = [3, n0, _GBITCO, + 0, + [_ITC], + [[() => IntelligentTieringConfiguration$, 16]] +]; +export var GetBucketIntelligentTieringConfigurationRequest$ = [3, n0, _GBITCR, + 0, + [_B, _I, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [0, { [_hH]: _xaebo }]], 2 +]; +export var GetBucketInventoryConfigurationOutput$ = [3, n0, _GBICO, + 0, + [_IC], + [[() => InventoryConfiguration$, 16]] +]; +export var GetBucketInventoryConfigurationRequest$ = [3, n0, _GBICR, + 0, + [_B, _I, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [0, { [_hH]: _xaebo }]], 2 +]; +export var GetBucketLifecycleConfigurationOutput$ = [3, n0, _GBLCO, + { [_xN]: _LCi }, + [_R, _TDMOS], + [[() => LifecycleRules, { [_xF]: 1, [_xN]: _Ru }], [0, { [_hH]: _xatdmos }]] +]; +export var GetBucketLifecycleConfigurationRequest$ = [3, n0, _GBLCR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var GetBucketLocationOutput$ = [3, n0, _GBLO, + { [_xN]: _LC }, + [_LC], + [0] +]; +export var GetBucketLocationRequest$ = [3, n0, _GBLR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var GetBucketLoggingOutput$ = [3, n0, _GBLOe, + { [_xN]: _BLS }, + [_LE], + [[() => LoggingEnabled$, 0]] +]; +export var GetBucketLoggingRequest$ = [3, n0, _GBLRe, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var GetBucketMetadataConfigurationOutput$ = [3, n0, _GBMCO, + 0, + [_GBMCR], + [[() => GetBucketMetadataConfigurationResult$, 16]] +]; +export var GetBucketMetadataConfigurationRequest$ = [3, n0, _GBMCRe, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var GetBucketMetadataConfigurationResult$ = [3, n0, _GBMCR, + 0, + [_MCR], + [() => MetadataConfigurationResult$], 1 +]; +export var GetBucketMetadataTableConfigurationOutput$ = [3, n0, _GBMTCO, + 0, + [_GBMTCR], + [[() => GetBucketMetadataTableConfigurationResult$, 16]] +]; +export var GetBucketMetadataTableConfigurationRequest$ = [3, n0, _GBMTCRe, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var GetBucketMetadataTableConfigurationResult$ = [3, n0, _GBMTCR, + 0, + [_MTCR, _S, _Err], + [() => MetadataTableConfigurationResult$, 0, () => ErrorDetails$], 2 +]; +export var GetBucketMetricsConfigurationOutput$ = [3, n0, _GBMCOe, + 0, + [_MCe], + [[() => MetricsConfiguration$, 16]] +]; +export var GetBucketMetricsConfigurationRequest$ = [3, n0, _GBMCRet, + 0, + [_B, _I, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [0, { [_hH]: _xaebo }]], 2 +]; +export var GetBucketNotificationConfigurationRequest$ = [3, n0, _GBNCR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var GetBucketOwnershipControlsOutput$ = [3, n0, _GBOCO, + 0, + [_OC], + [[() => OwnershipControls$, 16]] +]; +export var GetBucketOwnershipControlsRequest$ = [3, n0, _GBOCR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var GetBucketPolicyOutput$ = [3, n0, _GBPO, + 0, + [_Po], + [[0, 16]] +]; +export var GetBucketPolicyRequest$ = [3, n0, _GBPR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var GetBucketPolicyStatusOutput$ = [3, n0, _GBPSO, + 0, + [_PS], + [[() => PolicyStatus$, 16]] +]; +export var GetBucketPolicyStatusRequest$ = [3, n0, _GBPSR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var GetBucketReplicationOutput$ = [3, n0, _GBRO, + 0, + [_RCe], + [[() => ReplicationConfiguration$, 16]] +]; +export var GetBucketReplicationRequest$ = [3, n0, _GBRR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var GetBucketRequestPaymentOutput$ = [3, n0, _GBRPO, + { [_xN]: _RPC }, + [_Pay], + [0] +]; +export var GetBucketRequestPaymentRequest$ = [3, n0, _GBRPR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var GetBucketTaggingOutput$ = [3, n0, _GBTO, + { [_xN]: _Tag }, + [_TS], + [[() => TagSet, 0]], 1 +]; +export var GetBucketTaggingRequest$ = [3, n0, _GBTR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var GetBucketVersioningOutput$ = [3, n0, _GBVO, + { [_xN]: _VC }, + [_S, _MFAD], + [0, [0, { [_xN]: _MDf }]] +]; +export var GetBucketVersioningRequest$ = [3, n0, _GBVR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var GetBucketWebsiteOutput$ = [3, n0, _GBWO, + { [_xN]: _WC }, + [_RART, _IDn, _EDr, _RR], + [() => RedirectAllRequestsTo$, () => IndexDocument$, () => ErrorDocument$, [() => RoutingRules, 0]] +]; +export var GetBucketWebsiteRequest$ = [3, n0, _GBWR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var GetObjectAclOutput$ = [3, n0, _GOAO, + { [_xN]: _ACP }, + [_O, _G, _RC], + [() => Owner$, [() => Grants, { [_xN]: _ACL }], [0, { [_hH]: _xarc }]] +]; +export var GetObjectAclRequest$ = [3, n0, _GOAR, + 0, + [_B, _K, _VI, _RP, _EBO], + [[0, 1], [0, 1], [0, { [_hQ]: _vI }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }]], 2 +]; +export var GetObjectAttributesOutput$ = [3, n0, _GOAOe, + { [_xN]: _GOARe }, + [_DM, _LM, _VI, _RC, _ETa, _C, _OP, _SC, _OS], + [[2, { [_hH]: _xadm }], [4, { [_hH]: _LM_ }], [0, { [_hH]: _xavi }], [0, { [_hH]: _xarc }], 0, () => Checksum$, [() => GetObjectAttributesParts$, 0], 0, 1] +]; +export var GetObjectAttributesParts$ = [3, n0, _GOAP, + 0, + [_TPC, _PNM, _NPNM, _MP, _IT, _Pa], + [[1, { [_xN]: _PC }], 0, 0, 1, 2, [() => PartsList, { [_xF]: 1, [_xN]: _Par }]] +]; +export var GetObjectAttributesRequest$ = [3, n0, _GOARet, + 0, + [_B, _K, _OA, _VI, _MP, _PNM, _SSECA, _SSECK, _SSECKMD, _RP, _EBO], + [[0, 1], [0, 1], [64 | 0, { [_hH]: _xaoa }], [0, { [_hQ]: _vI }], [1, { [_hH]: _xamp }], [0, { [_hH]: _xapnm }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }]], 3 +]; +export var GetObjectLegalHoldOutput$ = [3, n0, _GOLHO, + 0, + [_LH], + [[() => ObjectLockLegalHold$, { [_hP]: 1, [_xN]: _LH }]] +]; +export var GetObjectLegalHoldRequest$ = [3, n0, _GOLHR, + 0, + [_B, _K, _VI, _RP, _EBO], + [[0, 1], [0, 1], [0, { [_hQ]: _vI }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }]], 2 +]; +export var GetObjectLockConfigurationOutput$ = [3, n0, _GOLCO, + 0, + [_OLC], + [[() => ObjectLockConfiguration$, 16]] +]; +export var GetObjectLockConfigurationRequest$ = [3, n0, _GOLCR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var GetObjectOutput$ = [3, n0, _GOO, + 0, + [_Bo, _DM, _AR, _E, _Re, _LM, _CLo, _ETa, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CT, _MM, _VI, _CC, _CDo, _CEo, _CL, _CR, _CTo, _Ex, _ES, _WRL, _SSE, _M, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _SC, _RC, _RS, _PC, _TC, _OLM, _OLRUD, _OLLHS], + [[() => StreamingBlob, 16], [2, { [_hH]: _xadm }], [0, { [_hH]: _ar }], [0, { [_hH]: _xae }], [0, { [_hH]: _xar }], [4, { [_hH]: _LM_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _ETa }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xact }], [1, { [_hH]: _xamm }], [0, { [_hH]: _xavi }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CR_ }], [0, { [_hH]: _CT_ }], [4, { [_hH]: _Ex }], [0, { [_hH]: _ES }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasse }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xarc }], [0, { [_hH]: _xars }], [1, { [_hH]: _xampc }], [1, { [_hH]: _xatc }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }]] +]; +export var GetObjectRequest$ = [3, n0, _GOR, + 0, + [_B, _K, _IM, _IMSf, _INM, _IUS, _Ra, _RCC, _RCD, _RCE, _RCL, _RCT, _RE, _VI, _SSECA, _SSECK, _SSECKMD, _RP, _PN, _EBO, _CMh], + [[0, 1], [0, 1], [0, { [_hH]: _IM_ }], [4, { [_hH]: _IMS_ }], [0, { [_hH]: _INM_ }], [4, { [_hH]: _IUS_ }], [0, { [_hH]: _Ra }], [0, { [_hQ]: _rcc }], [0, { [_hQ]: _rcd }], [0, { [_hQ]: _rce }], [0, { [_hQ]: _rcl }], [0, { [_hQ]: _rct }], [6, { [_hQ]: _re }], [0, { [_hQ]: _vI }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [0, { [_hH]: _xarp }], [1, { [_hQ]: _pN }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xacm }]], 2 +]; +export var GetObjectRetentionOutput$ = [3, n0, _GORO, + 0, + [_Ret], + [[() => ObjectLockRetention$, { [_hP]: 1, [_xN]: _Ret }]] +]; +export var GetObjectRetentionRequest$ = [3, n0, _GORR, + 0, + [_B, _K, _VI, _RP, _EBO], + [[0, 1], [0, 1], [0, { [_hQ]: _vI }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }]], 2 +]; +export var GetObjectTaggingOutput$ = [3, n0, _GOTO, + { [_xN]: _Tag }, + [_TS, _VI], + [[() => TagSet, 0], [0, { [_hH]: _xavi }]], 1 +]; +export var GetObjectTaggingRequest$ = [3, n0, _GOTR, + 0, + [_B, _K, _VI, _EBO, _RP], + [[0, 1], [0, 1], [0, { [_hQ]: _vI }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xarp }]], 2 +]; +export var GetObjectTorrentOutput$ = [3, n0, _GOTOe, + 0, + [_Bo, _RC], + [[() => StreamingBlob, 16], [0, { [_hH]: _xarc }]] +]; +export var GetObjectTorrentRequest$ = [3, n0, _GOTRe, + 0, + [_B, _K, _RP, _EBO], + [[0, 1], [0, 1], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }]], 2 +]; +export var GetPublicAccessBlockOutput$ = [3, n0, _GPABO, + 0, + [_PABC], + [[() => PublicAccessBlockConfiguration$, 16]] +]; +export var GetPublicAccessBlockRequest$ = [3, n0, _GPABR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var GlacierJobParameters$ = [3, n0, _GJP, + 0, + [_Ti], + [0], 1 +]; +export var Grant$ = [3, n0, _Gr, + 0, + [_Gra, _Pe], + [[() => Grantee$, { [_xNm]: [_x, _hi] }], 0] +]; +export var Grantee$ = [3, n0, _Gra, + 0, + [_Ty, _DN, _EA, _ID, _URI], + [[0, { [_xA]: 1, [_xN]: _xs }], 0, 0, 0, 0], 1 +]; +export var HeadBucketOutput$ = [3, n0, _HBO, + 0, + [_BA, _BLT, _BLN, _BR, _APA], + [[0, { [_hH]: _xaba }], [0, { [_hH]: _xablt }], [0, { [_hH]: _xabln }], [0, { [_hH]: _xabr }], [2, { [_hH]: _xaapa }]] +]; +export var HeadBucketRequest$ = [3, n0, _HBR, + 0, + [_B, _EBO], + [[0, 1], [0, { [_hH]: _xaebo }]], 1 +]; +export var HeadObjectOutput$ = [3, n0, _HOO, + 0, + [_DM, _AR, _E, _Re, _ASr, _LM, _CLo, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CT, _ETa, _MM, _VI, _CC, _CDo, _CEo, _CL, _CTo, _CR, _Ex, _ES, _WRL, _SSE, _M, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _SC, _RC, _RS, _PC, _TC, _OLM, _OLRUD, _OLLHS], + [[2, { [_hH]: _xadm }], [0, { [_hH]: _ar }], [0, { [_hH]: _xae }], [0, { [_hH]: _xar }], [0, { [_hH]: _xaas }], [4, { [_hH]: _LM_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xact }], [0, { [_hH]: _ETa }], [1, { [_hH]: _xamm }], [0, { [_hH]: _xavi }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CR_ }], [4, { [_hH]: _Ex }], [0, { [_hH]: _ES }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasse }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xarc }], [0, { [_hH]: _xars }], [1, { [_hH]: _xampc }], [1, { [_hH]: _xatc }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }]] +]; +export var HeadObjectRequest$ = [3, n0, _HOR, + 0, + [_B, _K, _IM, _IMSf, _INM, _IUS, _Ra, _RCC, _RCD, _RCE, _RCL, _RCT, _RE, _VI, _SSECA, _SSECK, _SSECKMD, _RP, _PN, _EBO, _CMh], + [[0, 1], [0, 1], [0, { [_hH]: _IM_ }], [4, { [_hH]: _IMS_ }], [0, { [_hH]: _INM_ }], [4, { [_hH]: _IUS_ }], [0, { [_hH]: _Ra }], [0, { [_hQ]: _rcc }], [0, { [_hQ]: _rcd }], [0, { [_hQ]: _rce }], [0, { [_hQ]: _rcl }], [0, { [_hQ]: _rct }], [6, { [_hQ]: _re }], [0, { [_hQ]: _vI }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [0, { [_hH]: _xarp }], [1, { [_hQ]: _pN }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xacm }]], 2 +]; +export var IndexDocument$ = [3, n0, _IDn, + 0, + [_Su], + [0], 1 +]; +export var Initiator$ = [3, n0, _In, + 0, + [_ID, _DN], + [0, 0] +]; +export var InputSerialization$ = [3, n0, _IS, + 0, + [_CSV, _CTom, _JSON, _Parq], + [() => CSVInput$, 0, () => JSONInput$, () => ParquetInput$] +]; +export var IntelligentTieringAndOperator$ = [3, n0, _ITAO, + 0, + [_P, _T], + [0, [() => TagSet, { [_xF]: 1, [_xN]: _Ta }]] +]; +export var IntelligentTieringConfiguration$ = [3, n0, _ITC, + 0, + [_I, _S, _Tie, _F], + [0, 0, [() => TieringList, { [_xF]: 1, [_xN]: _Tier }], [() => IntelligentTieringFilter$, 0]], 3 +]; +export var IntelligentTieringFilter$ = [3, n0, _ITF, + 0, + [_P, _Ta, _An], + [0, () => Tag$, [() => IntelligentTieringAndOperator$, 0]] +]; +export var InventoryConfiguration$ = [3, n0, _IC, + 0, + [_Des, _IE, _I, _IOV, _Sc, _F, _OF], + [[() => InventoryDestination$, 0], 2, 0, 0, () => InventorySchedule$, () => InventoryFilter$, [() => InventoryOptionalFields, 0]], 5 +]; +export var InventoryDestination$ = [3, n0, _IDnv, + 0, + [_SBD], + [[() => InventoryS3BucketDestination$, 0]], 1 +]; +export var InventoryEncryption$ = [3, n0, _IEn, + 0, + [_SSES, _SSEKMS], + [[() => SSES3$, { [_xN]: _SS }], [() => SSEKMS$, { [_xN]: _SK }]] +]; +export var InventoryFilter$ = [3, n0, _IF, + 0, + [_P], + [0], 1 +]; +export var InventoryS3BucketDestination$ = [3, n0, _ISBD, + 0, + [_B, _Fo, _AI, _P, _En], + [0, 0, 0, 0, [() => InventoryEncryption$, 0]], 2 +]; +export var InventorySchedule$ = [3, n0, _ISn, + 0, + [_Fr], + [0], 1 +]; +export var InventoryTableConfiguration$ = [3, n0, _ITCn, + 0, + [_CSo, _EC], + [0, () => MetadataTableEncryptionConfiguration$], 1 +]; +export var InventoryTableConfigurationResult$ = [3, n0, _ITCR, + 0, + [_CSo, _TSa, _Err, _TNa, _TA], + [0, 0, () => ErrorDetails$, 0, 0], 1 +]; +export var InventoryTableConfigurationUpdates$ = [3, n0, _ITCU, + 0, + [_CSo, _EC], + [0, () => MetadataTableEncryptionConfiguration$], 1 +]; +export var JournalTableConfiguration$ = [3, n0, _JTC, + 0, + [_REe, _EC], + [() => RecordExpiration$, () => MetadataTableEncryptionConfiguration$], 1 +]; +export var JournalTableConfigurationResult$ = [3, n0, _JTCR, + 0, + [_TSa, _TNa, _REe, _Err, _TA], + [0, 0, () => RecordExpiration$, () => ErrorDetails$, 0], 3 +]; +export var JournalTableConfigurationUpdates$ = [3, n0, _JTCU, + 0, + [_REe], + [() => RecordExpiration$], 1 +]; +export var JSONInput$ = [3, n0, _JSONI, + 0, + [_Ty], + [0] +]; +export var JSONOutput$ = [3, n0, _JSONO, + 0, + [_RD], + [0] +]; +export var LambdaFunctionConfiguration$ = [3, n0, _LFC, + 0, + [_LFA, _Ev, _I, _F], + [[0, { [_xN]: _CF }], [64 | 0, { [_xF]: 1, [_xN]: _Eve }], 0, [() => NotificationConfigurationFilter$, 0]], 2 +]; +export var LifecycleExpiration$ = [3, n0, _LEi, + 0, + [_Da, _D, _EODM], + [5, 1, 2] +]; +export var LifecycleRule$ = [3, n0, _LR, + 0, + [_S, _E, _ID, _P, _F, _Tr, _NVT, _NVE, _AIMU], + [0, () => LifecycleExpiration$, 0, 0, [() => LifecycleRuleFilter$, 0], [() => TransitionList, { [_xF]: 1, [_xN]: _Tra }], [() => NoncurrentVersionTransitionList, { [_xF]: 1, [_xN]: _NVTo }], () => NoncurrentVersionExpiration$, () => AbortIncompleteMultipartUpload$], 1 +]; +export var LifecycleRuleAndOperator$ = [3, n0, _LRAO, + 0, + [_P, _T, _OSGT, _OSLT], + [0, [() => TagSet, { [_xF]: 1, [_xN]: _Ta }], 1, 1] +]; +export var LifecycleRuleFilter$ = [3, n0, _LRF, + 0, + [_P, _Ta, _OSGT, _OSLT, _An], + [0, () => Tag$, 1, 1, [() => LifecycleRuleAndOperator$, 0]] +]; +export var ListBucketAnalyticsConfigurationsOutput$ = [3, n0, _LBACO, + { [_xN]: _LBACR }, + [_IT, _CTon, _NCT, _ACLn], + [2, 0, 0, [() => AnalyticsConfigurationList, { [_xF]: 1, [_xN]: _ACn }]] +]; +export var ListBucketAnalyticsConfigurationsRequest$ = [3, n0, _LBACRi, + 0, + [_B, _CTon, _EBO], + [[0, 1], [0, { [_hQ]: _ct }], [0, { [_hH]: _xaebo }]], 1 +]; +export var ListBucketIntelligentTieringConfigurationsOutput$ = [3, n0, _LBITCO, + 0, + [_IT, _CTon, _NCT, _ITCL], + [2, 0, 0, [() => IntelligentTieringConfigurationList, { [_xF]: 1, [_xN]: _ITC }]] +]; +export var ListBucketIntelligentTieringConfigurationsRequest$ = [3, n0, _LBITCR, + 0, + [_B, _CTon, _EBO], + [[0, 1], [0, { [_hQ]: _ct }], [0, { [_hH]: _xaebo }]], 1 +]; +export var ListBucketInventoryConfigurationsOutput$ = [3, n0, _LBICO, + { [_xN]: _LICR }, + [_CTon, _ICL, _IT, _NCT], + [0, [() => InventoryConfigurationList, { [_xF]: 1, [_xN]: _IC }], 2, 0] +]; +export var ListBucketInventoryConfigurationsRequest$ = [3, n0, _LBICR, + 0, + [_B, _CTon, _EBO], + [[0, 1], [0, { [_hQ]: _ct }], [0, { [_hH]: _xaebo }]], 1 +]; +export var ListBucketMetricsConfigurationsOutput$ = [3, n0, _LBMCO, + { [_xN]: _LMCR }, + [_IT, _CTon, _NCT, _MCL], + [2, 0, 0, [() => MetricsConfigurationList, { [_xF]: 1, [_xN]: _MCe }]] +]; +export var ListBucketMetricsConfigurationsRequest$ = [3, n0, _LBMCR, + 0, + [_B, _CTon, _EBO], + [[0, 1], [0, { [_hQ]: _ct }], [0, { [_hH]: _xaebo }]], 1 +]; +export var ListBucketsOutput$ = [3, n0, _LBO, + { [_xN]: _LAMBR }, + [_Bu, _O, _CTon, _P], + [[() => Buckets, 0], () => Owner$, 0, 0] +]; +export var ListBucketsRequest$ = [3, n0, _LBR, + 0, + [_MB, _CTon, _P, _BR], + [[1, { [_hQ]: _mb }], [0, { [_hQ]: _ct }], [0, { [_hQ]: _p }], [0, { [_hQ]: _br }]] +]; +export var ListDirectoryBucketsOutput$ = [3, n0, _LDBO, + { [_xN]: _LAMDBR }, + [_Bu, _CTon], + [[() => Buckets, 0], 0] +]; +export var ListDirectoryBucketsRequest$ = [3, n0, _LDBR, + 0, + [_CTon, _MDB], + [[0, { [_hQ]: _ct }], [1, { [_hQ]: _mdb }]] +]; +export var ListMultipartUploadsOutput$ = [3, n0, _LMUO, + { [_xN]: _LMUR }, + [_B, _KM, _UIM, _NKM, _P, _Deli, _NUIM, _MUa, _IT, _U, _CPom, _ETn, _RC], + [0, 0, 0, 0, 0, 0, 0, 1, 2, [() => MultipartUploadList, { [_xF]: 1, [_xN]: _Up }], [() => CommonPrefixList, { [_xF]: 1 }], 0, [0, { [_hH]: _xarc }]] +]; +export var ListMultipartUploadsRequest$ = [3, n0, _LMURi, + 0, + [_B, _Deli, _ETn, _KM, _MUa, _P, _UIM, _EBO, _RP], + [[0, 1], [0, { [_hQ]: _d }], [0, { [_hQ]: _et }], [0, { [_hQ]: _km }], [1, { [_hQ]: _mu }], [0, { [_hQ]: _p }], [0, { [_hQ]: _uim }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xarp }]], 1 +]; +export var ListObjectsOutput$ = [3, n0, _LOO, + { [_xN]: _LBRi }, + [_IT, _Ma, _NM, _Con, _N, _P, _Deli, _MK, _CPom, _ETn, _RC], + [2, 0, 0, [() => ObjectList, { [_xF]: 1 }], 0, 0, 0, 1, [() => CommonPrefixList, { [_xF]: 1 }], 0, [0, { [_hH]: _xarc }]] +]; +export var ListObjectsRequest$ = [3, n0, _LOR, + 0, + [_B, _Deli, _ETn, _Ma, _MK, _P, _RP, _EBO, _OOA], + [[0, 1], [0, { [_hQ]: _d }], [0, { [_hQ]: _et }], [0, { [_hQ]: _m }], [1, { [_hQ]: _mk }], [0, { [_hQ]: _p }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }], [64 | 0, { [_hH]: _xaooa }]], 1 +]; +export var ListObjectsV2Output$ = [3, n0, _LOVO, + { [_xN]: _LBRi }, + [_IT, _Con, _N, _P, _Deli, _MK, _CPom, _ETn, _KC, _CTon, _NCT, _SA, _RC], + [2, [() => ObjectList, { [_xF]: 1 }], 0, 0, 0, 1, [() => CommonPrefixList, { [_xF]: 1 }], 0, 1, 0, 0, 0, [0, { [_hH]: _xarc }]] +]; +export var ListObjectsV2Request$ = [3, n0, _LOVR, + 0, + [_B, _Deli, _ETn, _MK, _P, _CTon, _FO, _SA, _RP, _EBO, _OOA], + [[0, 1], [0, { [_hQ]: _d }], [0, { [_hQ]: _et }], [1, { [_hQ]: _mk }], [0, { [_hQ]: _p }], [0, { [_hQ]: _ct }], [2, { [_hQ]: _fo }], [0, { [_hQ]: _sa }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }], [64 | 0, { [_hH]: _xaooa }]], 1 +]; +export var ListObjectVersionsOutput$ = [3, n0, _LOVOi, + { [_xN]: _LVR }, + [_IT, _KM, _VIM, _NKM, _NVIM, _Ve, _DMe, _N, _P, _Deli, _MK, _CPom, _ETn, _RC], + [2, 0, 0, 0, 0, [() => ObjectVersionList, { [_xF]: 1, [_xN]: _Ver }], [() => DeleteMarkers, { [_xF]: 1, [_xN]: _DM }], 0, 0, 0, 1, [() => CommonPrefixList, { [_xF]: 1 }], 0, [0, { [_hH]: _xarc }]] +]; +export var ListObjectVersionsRequest$ = [3, n0, _LOVRi, + 0, + [_B, _Deli, _ETn, _KM, _MK, _P, _VIM, _EBO, _RP, _OOA], + [[0, 1], [0, { [_hQ]: _d }], [0, { [_hQ]: _et }], [0, { [_hQ]: _km }], [1, { [_hQ]: _mk }], [0, { [_hQ]: _p }], [0, { [_hQ]: _vim }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xarp }], [64 | 0, { [_hH]: _xaooa }]], 1 +]; +export var ListPartsOutput$ = [3, n0, _LPO, + { [_xN]: _LPR }, + [_ADb, _ARI, _B, _K, _UI, _PNM, _NPNM, _MP, _IT, _Pa, _In, _O, _SC, _RC, _CA, _CT], + [[4, { [_hH]: _xaad }], [0, { [_hH]: _xaari }], 0, 0, 0, 0, 0, 1, 2, [() => Parts, { [_xF]: 1, [_xN]: _Par }], () => Initiator$, () => Owner$, 0, [0, { [_hH]: _xarc }], 0, 0] +]; +export var ListPartsRequest$ = [3, n0, _LPRi, + 0, + [_B, _K, _UI, _MP, _PNM, _RP, _EBO, _SSECA, _SSECK, _SSECKMD], + [[0, 1], [0, 1], [0, { [_hQ]: _uI }], [1, { [_hQ]: _mp }], [0, { [_hQ]: _pnm }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }]], 3 +]; +export var LocationInfo$ = [3, n0, _LI, + 0, + [_Ty, _N], + [0, 0] +]; +export var LoggingEnabled$ = [3, n0, _LE, + 0, + [_TB, _TP, _TG, _TOKF], + [0, 0, [() => TargetGrants, 0], [() => TargetObjectKeyFormat$, 0]], 2 +]; +export var MetadataConfiguration$ = [3, n0, _MC, + 0, + [_JTC, _ITCn], + [() => JournalTableConfiguration$, () => InventoryTableConfiguration$], 1 +]; +export var MetadataConfigurationResult$ = [3, n0, _MCR, + 0, + [_DRes, _JTCR, _ITCR], + [() => DestinationResult$, () => JournalTableConfigurationResult$, () => InventoryTableConfigurationResult$], 1 +]; +export var MetadataEntry$ = [3, n0, _ME, + 0, + [_N, _V], + [0, 0] +]; +export var MetadataTableConfiguration$ = [3, n0, _MTC, + 0, + [_STD], + [() => S3TablesDestination$], 1 +]; +export var MetadataTableConfigurationResult$ = [3, n0, _MTCR, + 0, + [_STDR], + [() => S3TablesDestinationResult$], 1 +]; +export var MetadataTableEncryptionConfiguration$ = [3, n0, _MTEC, + 0, + [_SAs, _KKA], + [0, 0], 1 +]; +export var Metrics$ = [3, n0, _Me, + 0, + [_S, _ETv], + [0, () => ReplicationTimeValue$], 1 +]; +export var MetricsAndOperator$ = [3, n0, _MAO, + 0, + [_P, _T, _APAc], + [0, [() => TagSet, { [_xF]: 1, [_xN]: _Ta }], 0] +]; +export var MetricsConfiguration$ = [3, n0, _MCe, + 0, + [_I, _F], + [0, [() => MetricsFilter$, 0]], 1 +]; +export var MultipartUpload$ = [3, n0, _MU, + 0, + [_UI, _K, _Ini, _SC, _O, _In, _CA, _CT], + [0, 0, 4, 0, () => Owner$, () => Initiator$, 0, 0] +]; +export var NoncurrentVersionExpiration$ = [3, n0, _NVE, + 0, + [_ND, _NNV], + [1, 1] +]; +export var NoncurrentVersionTransition$ = [3, n0, _NVTo, + 0, + [_ND, _SC, _NNV], + [1, 0, 1] +]; +export var NotificationConfiguration$ = [3, n0, _NC, + 0, + [_TCo, _QCu, _LFCa, _EBC], + [[() => TopicConfigurationList, { [_xF]: 1, [_xN]: _TCop }], [() => QueueConfigurationList, { [_xF]: 1, [_xN]: _QCue }], [() => LambdaFunctionConfigurationList, { [_xF]: 1, [_xN]: _CFC }], () => EventBridgeConfiguration$] +]; +export var NotificationConfigurationFilter$ = [3, n0, _NCF, + 0, + [_K], + [[() => S3KeyFilter$, { [_xN]: _SKe }]] +]; +export var _Object$ = [3, n0, _Obj, + 0, + [_K, _LM, _ETa, _CA, _CT, _Si, _SC, _O, _RSe], + [0, 4, 0, [64 | 0, { [_xF]: 1 }], 0, 1, 0, () => Owner$, () => RestoreStatus$] +]; +export var ObjectIdentifier$ = [3, n0, _OI, + 0, + [_K, _VI, _ETa, _LMT, _Si], + [0, 0, 0, 6, 1], 1 +]; +export var ObjectLockConfiguration$ = [3, n0, _OLC, + 0, + [_OLE, _Ru], + [0, () => ObjectLockRule$] +]; +export var ObjectLockLegalHold$ = [3, n0, _OLLH, + 0, + [_S], + [0] +]; +export var ObjectLockRetention$ = [3, n0, _OLR, + 0, + [_Mo, _RUD], + [0, 5] +]; +export var ObjectLockRule$ = [3, n0, _OLRb, + 0, + [_DRe], + [() => DefaultRetention$] +]; +export var ObjectPart$ = [3, n0, _OPb, + 0, + [_PN, _Si, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh], + [1, 1, 0, 0, 0, 0, 0] +]; +export var ObjectVersion$ = [3, n0, _OV, + 0, + [_ETa, _CA, _CT, _Si, _SC, _K, _VI, _IL, _LM, _O, _RSe], + [0, [64 | 0, { [_xF]: 1 }], 0, 1, 0, 0, 0, 2, 4, () => Owner$, () => RestoreStatus$] +]; +export var OutputLocation$ = [3, n0, _OL, + 0, + [_S_], + [[() => S3Location$, 0]] +]; +export var OutputSerialization$ = [3, n0, _OSu, + 0, + [_CSV, _JSON], + [() => CSVOutput$, () => JSONOutput$] +]; +export var Owner$ = [3, n0, _O, + 0, + [_DN, _ID], + [0, 0] +]; +export var OwnershipControls$ = [3, n0, _OC, + 0, + [_R], + [[() => OwnershipControlsRules, { [_xF]: 1, [_xN]: _Ru }]], 1 +]; +export var OwnershipControlsRule$ = [3, n0, _OCR, + 0, + [_OO], + [0], 1 +]; +export var ParquetInput$ = [3, n0, _PI, + 0, + [], + [] +]; +export var Part$ = [3, n0, _Par, + 0, + [_PN, _LM, _ETa, _Si, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh], + [1, 4, 0, 1, 0, 0, 0, 0, 0] +]; +export var PartitionedPrefix$ = [3, n0, _PP, + { [_xN]: _PP }, + [_PDS], + [0] +]; +export var PolicyStatus$ = [3, n0, _PS, + 0, + [_IP], + [[2, { [_xN]: _IP }]] +]; +export var Progress$ = [3, n0, _Pr, + 0, + [_BS, _BP, _BRy], + [1, 1, 1] +]; +export var ProgressEvent$ = [3, n0, _PE, + 0, + [_Det], + [[() => Progress$, { [_eP]: 1 }]] +]; +export var PublicAccessBlockConfiguration$ = [3, n0, _PABC, + 0, + [_BPA, _IPA, _BPP, _RPB], + [[2, { [_xN]: _BPA }], [2, { [_xN]: _IPA }], [2, { [_xN]: _BPP }], [2, { [_xN]: _RPB }]] +]; +export var PutBucketAbacRequest$ = [3, n0, _PBAR, + 0, + [_B, _AS, _CMD, _CA, _EBO], + [[0, 1], [() => AbacStatus$, { [_hP]: 1, [_xN]: _AS }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +export var PutBucketAccelerateConfigurationRequest$ = [3, n0, _PBACR, + 0, + [_B, _AC, _EBO, _CA], + [[0, 1], [() => AccelerateConfiguration$, { [_hP]: 1, [_xN]: _AC }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xasca }]], 2 +]; +export var PutBucketAclRequest$ = [3, n0, _PBARu, + 0, + [_B, _ACL_, _ACP, _CMD, _CA, _GFC, _GR, _GRACP, _GW, _GWACP, _EBO], + [[0, 1], [0, { [_hH]: _xaa }], [() => AccessControlPolicy$, { [_hP]: 1, [_xN]: _ACP }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagw }], [0, { [_hH]: _xagwa }], [0, { [_hH]: _xaebo }]], 1 +]; +export var PutBucketAnalyticsConfigurationRequest$ = [3, n0, _PBACRu, + 0, + [_B, _I, _ACn, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [() => AnalyticsConfiguration$, { [_hP]: 1, [_xN]: _ACn }], [0, { [_hH]: _xaebo }]], 3 +]; +export var PutBucketCorsRequest$ = [3, n0, _PBCR, + 0, + [_B, _CORSC, _CMD, _CA, _EBO], + [[0, 1], [() => CORSConfiguration$, { [_hP]: 1, [_xN]: _CORSC }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +export var PutBucketEncryptionRequest$ = [3, n0, _PBER, + 0, + [_B, _SSEC, _CMD, _CA, _EBO], + [[0, 1], [() => ServerSideEncryptionConfiguration$, { [_hP]: 1, [_xN]: _SSEC }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +export var PutBucketIntelligentTieringConfigurationRequest$ = [3, n0, _PBITCR, + 0, + [_B, _I, _ITC, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [() => IntelligentTieringConfiguration$, { [_hP]: 1, [_xN]: _ITC }], [0, { [_hH]: _xaebo }]], 3 +]; +export var PutBucketInventoryConfigurationRequest$ = [3, n0, _PBICR, + 0, + [_B, _I, _IC, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [() => InventoryConfiguration$, { [_hP]: 1, [_xN]: _IC }], [0, { [_hH]: _xaebo }]], 3 +]; +export var PutBucketLifecycleConfigurationOutput$ = [3, n0, _PBLCO, + 0, + [_TDMOS], + [[0, { [_hH]: _xatdmos }]] +]; +export var PutBucketLifecycleConfigurationRequest$ = [3, n0, _PBLCR, + 0, + [_B, _CA, _LCi, _EBO, _TDMOS], + [[0, 1], [0, { [_hH]: _xasca }], [() => BucketLifecycleConfiguration$, { [_hP]: 1, [_xN]: _LCi }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xatdmos }]], 1 +]; +export var PutBucketLoggingRequest$ = [3, n0, _PBLR, + 0, + [_B, _BLS, _CMD, _CA, _EBO], + [[0, 1], [() => BucketLoggingStatus$, { [_hP]: 1, [_xN]: _BLS }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +export var PutBucketMetricsConfigurationRequest$ = [3, n0, _PBMCR, + 0, + [_B, _I, _MCe, _EBO], + [[0, 1], [0, { [_hQ]: _i }], [() => MetricsConfiguration$, { [_hP]: 1, [_xN]: _MCe }], [0, { [_hH]: _xaebo }]], 3 +]; +export var PutBucketNotificationConfigurationRequest$ = [3, n0, _PBNCR, + 0, + [_B, _NC, _EBO, _SDV], + [[0, 1], [() => NotificationConfiguration$, { [_hP]: 1, [_xN]: _NC }], [0, { [_hH]: _xaebo }], [2, { [_hH]: _xasdv }]], 2 +]; +export var PutBucketOwnershipControlsRequest$ = [3, n0, _PBOCR, + 0, + [_B, _OC, _CMD, _EBO, _CA], + [[0, 1], [() => OwnershipControls$, { [_hP]: 1, [_xN]: _OC }], [0, { [_hH]: _CM }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xasca }]], 2 +]; +export var PutBucketPolicyRequest$ = [3, n0, _PBPR, + 0, + [_B, _Po, _CMD, _CA, _CRSBA, _EBO], + [[0, 1], [0, 16], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [2, { [_hH]: _xacrsba }], [0, { [_hH]: _xaebo }]], 2 +]; +export var PutBucketReplicationRequest$ = [3, n0, _PBRR, + 0, + [_B, _RCe, _CMD, _CA, _To, _EBO], + [[0, 1], [() => ReplicationConfiguration$, { [_hP]: 1, [_xN]: _RCe }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xabolt }], [0, { [_hH]: _xaebo }]], 2 +]; +export var PutBucketRequestPaymentRequest$ = [3, n0, _PBRPR, + 0, + [_B, _RPC, _CMD, _CA, _EBO], + [[0, 1], [() => RequestPaymentConfiguration$, { [_hP]: 1, [_xN]: _RPC }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +export var PutBucketTaggingRequest$ = [3, n0, _PBTR, + 0, + [_B, _Tag, _CMD, _CA, _EBO], + [[0, 1], [() => Tagging$, { [_hP]: 1, [_xN]: _Tag }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +export var PutBucketVersioningRequest$ = [3, n0, _PBVR, + 0, + [_B, _VC, _CMD, _CA, _MFA, _EBO], + [[0, 1], [() => VersioningConfiguration$, { [_hP]: 1, [_xN]: _VC }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xam_ }], [0, { [_hH]: _xaebo }]], 2 +]; +export var PutBucketWebsiteRequest$ = [3, n0, _PBWR, + 0, + [_B, _WC, _CMD, _CA, _EBO], + [[0, 1], [() => WebsiteConfiguration$, { [_hP]: 1, [_xN]: _WC }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +export var PutObjectAclOutput$ = [3, n0, _POAO, + 0, + [_RC], + [[0, { [_hH]: _xarc }]] +]; +export var PutObjectAclRequest$ = [3, n0, _POAR, + 0, + [_B, _K, _ACL_, _ACP, _CMD, _CA, _GFC, _GR, _GRACP, _GW, _GWACP, _RP, _VI, _EBO], + [[0, 1], [0, 1], [0, { [_hH]: _xaa }], [() => AccessControlPolicy$, { [_hP]: 1, [_xN]: _ACP }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagw }], [0, { [_hH]: _xagwa }], [0, { [_hH]: _xarp }], [0, { [_hQ]: _vI }], [0, { [_hH]: _xaebo }]], 2 +]; +export var PutObjectLegalHoldOutput$ = [3, n0, _POLHO, + 0, + [_RC], + [[0, { [_hH]: _xarc }]] +]; +export var PutObjectLegalHoldRequest$ = [3, n0, _POLHR, + 0, + [_B, _K, _LH, _RP, _VI, _CMD, _CA, _EBO], + [[0, 1], [0, 1], [() => ObjectLockLegalHold$, { [_hP]: 1, [_xN]: _LH }], [0, { [_hH]: _xarp }], [0, { [_hQ]: _vI }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +export var PutObjectLockConfigurationOutput$ = [3, n0, _POLCO, + 0, + [_RC], + [[0, { [_hH]: _xarc }]] +]; +export var PutObjectLockConfigurationRequest$ = [3, n0, _POLCR, + 0, + [_B, _OLC, _RP, _To, _CMD, _CA, _EBO], + [[0, 1], [() => ObjectLockConfiguration$, { [_hP]: 1, [_xN]: _OLC }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xabolt }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 1 +]; +export var PutObjectOutput$ = [3, n0, _POO, + 0, + [_E, _ETa, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CT, _SSE, _VI, _SSECA, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _Si, _RC], + [[0, { [_hH]: _xae }], [0, { [_hH]: _ETa }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xact }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xavi }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [1, { [_hH]: _xaos }], [0, { [_hH]: _xarc }]] +]; +export var PutObjectRequest$ = [3, n0, _POR, + 0, + [_B, _K, _ACL_, _Bo, _CC, _CDo, _CEo, _CL, _CLo, _CMD, _CTo, _CA, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _Ex, _IM, _INM, _GFC, _GR, _GRACP, _GWACP, _WOB, _M, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _EBO], + [[0, 1], [0, 1], [0, { [_hH]: _xaa }], [() => StreamingBlob, 16], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _CM }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [4, { [_hH]: _Ex }], [0, { [_hH]: _IM_ }], [0, { [_hH]: _INM_ }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [1, { [_hH]: _xawob }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaebo }]], 2 +]; +export var PutObjectRetentionOutput$ = [3, n0, _PORO, + 0, + [_RC], + [[0, { [_hH]: _xarc }]] +]; +export var PutObjectRetentionRequest$ = [3, n0, _PORR, + 0, + [_B, _K, _Ret, _RP, _VI, _BGR, _CMD, _CA, _EBO], + [[0, 1], [0, 1], [() => ObjectLockRetention$, { [_hP]: 1, [_xN]: _Ret }], [0, { [_hH]: _xarp }], [0, { [_hQ]: _vI }], [2, { [_hH]: _xabgr }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +export var PutObjectTaggingOutput$ = [3, n0, _POTO, + 0, + [_VI], + [[0, { [_hH]: _xavi }]] +]; +export var PutObjectTaggingRequest$ = [3, n0, _POTR, + 0, + [_B, _K, _Tag, _VI, _CMD, _CA, _EBO, _RP], + [[0, 1], [0, 1], [() => Tagging$, { [_hP]: 1, [_xN]: _Tag }], [0, { [_hQ]: _vI }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xarp }]], 3 +]; +export var PutPublicAccessBlockRequest$ = [3, n0, _PPABR, + 0, + [_B, _PABC, _CMD, _CA, _EBO], + [[0, 1], [() => PublicAccessBlockConfiguration$, { [_hP]: 1, [_xN]: _PABC }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +export var QueueConfiguration$ = [3, n0, _QCue, + 0, + [_QA, _Ev, _I, _F], + [[0, { [_xN]: _Qu }], [64 | 0, { [_xF]: 1, [_xN]: _Eve }], 0, [() => NotificationConfigurationFilter$, 0]], 2 +]; +export var RecordExpiration$ = [3, n0, _REe, + 0, + [_E, _D], + [0, 1], 1 +]; +export var RecordsEvent$ = [3, n0, _REec, + 0, + [_Payl], + [[21, { [_eP]: 1 }]] +]; +export var Redirect$ = [3, n0, _Red, + 0, + [_HN, _HRC, _Pro, _RKPW, _RKW], + [0, 0, 0, 0, 0] +]; +export var RedirectAllRequestsTo$ = [3, n0, _RART, + 0, + [_HN, _Pro], + [0, 0], 1 +]; +export var RenameObjectOutput$ = [3, n0, _ROO, + 0, + [], + [] +]; +export var RenameObjectRequest$ = [3, n0, _ROR, + 0, + [_B, _K, _RSen, _DIM, _DINM, _DIMS, _DIUS, _SIM, _SINM, _SIMS, _SIUS, _CTl], + [[0, 1], [0, 1], [0, { [_hH]: _xars_ }], [0, { [_hH]: _IM_ }], [0, { [_hH]: _INM_ }], [4, { [_hH]: _IMS_ }], [4, { [_hH]: _IUS_ }], [0, { [_hH]: _xarsim }], [0, { [_hH]: _xarsinm }], [6, { [_hH]: _xarsims }], [6, { [_hH]: _xarsius }], [0, { [_hH]: _xact_, [_iT]: 1 }]], 3 +]; +export var ReplicaModifications$ = [3, n0, _RM, + 0, + [_S], + [0], 1 +]; +export var ReplicationConfiguration$ = [3, n0, _RCe, + 0, + [_Ro, _R], + [0, [() => ReplicationRules, { [_xF]: 1, [_xN]: _Ru }]], 2 +]; +export var ReplicationRule$ = [3, n0, _RRe, + 0, + [_S, _Des, _ID, _Pri, _P, _F, _SSC, _EOR, _DMR], + [0, () => Destination$, 0, 1, 0, [() => ReplicationRuleFilter$, 0], () => SourceSelectionCriteria$, () => ExistingObjectReplication$, () => DeleteMarkerReplication$], 2 +]; +export var ReplicationRuleAndOperator$ = [3, n0, _RRAO, + 0, + [_P, _T], + [0, [() => TagSet, { [_xF]: 1, [_xN]: _Ta }]] +]; +export var ReplicationRuleFilter$ = [3, n0, _RRF, + 0, + [_P, _Ta, _An], + [0, () => Tag$, [() => ReplicationRuleAndOperator$, 0]] +]; +export var ReplicationTime$ = [3, n0, _RT, + 0, + [_S, _Tim], + [0, () => ReplicationTimeValue$], 2 +]; +export var ReplicationTimeValue$ = [3, n0, _RTV, + 0, + [_Mi], + [1] +]; +export var RequestPaymentConfiguration$ = [3, n0, _RPC, + 0, + [_Pay], + [0], 1 +]; +export var RequestProgress$ = [3, n0, _RPe, + 0, + [_Ena], + [2] +]; +export var RestoreObjectOutput$ = [3, n0, _ROOe, + 0, + [_RC, _ROP], + [[0, { [_hH]: _xarc }], [0, { [_hH]: _xarop }]] +]; +export var RestoreObjectRequest$ = [3, n0, _RORe, + 0, + [_B, _K, _VI, _RRes, _RP, _CA, _EBO], + [[0, 1], [0, 1], [0, { [_hQ]: _vI }], [() => RestoreRequest$, { [_hP]: 1, [_xN]: _RRes }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +export var RestoreRequest$ = [3, n0, _RRes, + 0, + [_D, _GJP, _Ty, _Ti, _Desc, _SP, _OL], + [1, () => GlacierJobParameters$, 0, 0, 0, () => SelectParameters$, [() => OutputLocation$, 0]] +]; +export var RestoreStatus$ = [3, n0, _RSe, + 0, + [_IRIP, _RED], + [2, 4] +]; +export var RoutingRule$ = [3, n0, _RRo, + 0, + [_Red, _Co], + [() => Redirect$, () => Condition$], 1 +]; +export var S3KeyFilter$ = [3, n0, _SKF, + 0, + [_FRi], + [[() => FilterRuleList, { [_xF]: 1, [_xN]: _FR }]] +]; +export var S3Location$ = [3, n0, _SL, + 0, + [_BNu, _P, _En, _CACL, _ACL, _Tag, _UM, _SC], + [0, 0, [() => Encryption$, 0], 0, [() => Grants, 0], [() => Tagging$, 0], [() => UserMetadata, 0], 0], 2 +]; +export var S3TablesDestination$ = [3, n0, _STD, + 0, + [_TBA, _TNa], + [0, 0], 2 +]; +export var S3TablesDestinationResult$ = [3, n0, _STDR, + 0, + [_TBA, _TNa, _TA, _TN], + [0, 0, 0, 0], 4 +]; +export var ScanRange$ = [3, n0, _SR, + 0, + [_St, _End], + [1, 1] +]; +export var SelectObjectContentOutput$ = [3, n0, _SOCO, + 0, + [_Payl], + [[() => SelectObjectContentEventStream$, 16]] +]; +export var SelectObjectContentRequest$ = [3, n0, _SOCR, + 0, + [_B, _K, _Exp, _ETx, _IS, _OSu, _SSECA, _SSECK, _SSECKMD, _RPe, _SR, _EBO], + [[0, 1], [0, 1], 0, 0, () => InputSerialization$, () => OutputSerialization$, [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], () => RequestProgress$, () => ScanRange$, [0, { [_hH]: _xaebo }]], 6 +]; +export var SelectParameters$ = [3, n0, _SP, + 0, + [_IS, _ETx, _Exp, _OSu], + [() => InputSerialization$, 0, 0, () => OutputSerialization$], 4 +]; +export var ServerSideEncryptionByDefault$ = [3, n0, _SSEBD, + 0, + [_SSEA, _KMSMKID], + [0, [() => SSEKMSKeyId, 0]], 1 +]; +export var ServerSideEncryptionConfiguration$ = [3, n0, _SSEC, + 0, + [_R], + [[() => ServerSideEncryptionRules, { [_xF]: 1, [_xN]: _Ru }]], 1 +]; +export var ServerSideEncryptionRule$ = [3, n0, _SSER, + 0, + [_ASSEBD, _BKE, _BET], + [[() => ServerSideEncryptionByDefault$, 0], 2, [() => BlockedEncryptionTypes$, 0]] +]; +export var SessionCredentials$ = [3, n0, _SCe, + 0, + [_AKI, _SAK, _ST, _E], + [[0, { [_xN]: _AKI }], [() => SessionCredentialValue, { [_xN]: _SAK }], [() => SessionCredentialValue, { [_xN]: _ST }], [4, { [_xN]: _E }]], 4 +]; +export var SimplePrefix$ = [3, n0, _SPi, + { [_xN]: _SPi }, + [], + [] +]; +export var SourceSelectionCriteria$ = [3, n0, _SSC, + 0, + [_SKEO, _RM], + [() => SseKmsEncryptedObjects$, () => ReplicaModifications$] +]; +export var SSEKMS$ = [3, n0, _SSEKMS, + { [_xN]: _SK }, + [_KI], + [[() => SSEKMSKeyId, 0]], 1 +]; +export var SseKmsEncryptedObjects$ = [3, n0, _SKEO, + 0, + [_S], + [0], 1 +]; +export var SSEKMSEncryption$ = [3, n0, _SSEKMSE, + { [_xN]: _SK }, + [_KMSKA, _BKE], + [[() => NonEmptyKmsKeyArnString, 0], 2], 1 +]; +export var SSES3$ = [3, n0, _SSES, + { [_xN]: _SS }, + [], + [] +]; +export var Stats$ = [3, n0, _Sta, + 0, + [_BS, _BP, _BRy], + [1, 1, 1] +]; +export var StatsEvent$ = [3, n0, _SE, + 0, + [_Det], + [[() => Stats$, { [_eP]: 1 }]] +]; +export var StorageClassAnalysis$ = [3, n0, _SCA, + 0, + [_DE], + [() => StorageClassAnalysisDataExport$] +]; +export var StorageClassAnalysisDataExport$ = [3, n0, _SCADE, + 0, + [_OSV, _Des], + [0, () => AnalyticsExportDestination$], 2 +]; +export var Tag$ = [3, n0, _Ta, + 0, + [_K, _V], + [0, 0], 2 +]; +export var Tagging$ = [3, n0, _Tag, + 0, + [_TS], + [[() => TagSet, 0]], 1 +]; +export var TargetGrant$ = [3, n0, _TGa, + 0, + [_Gra, _Pe], + [[() => Grantee$, { [_xNm]: [_x, _hi] }], 0] +]; +export var TargetObjectKeyFormat$ = [3, n0, _TOKF, + 0, + [_SPi, _PP], + [[() => SimplePrefix$, { [_xN]: _SPi }], [() => PartitionedPrefix$, { [_xN]: _PP }]] +]; +export var Tiering$ = [3, n0, _Tier, + 0, + [_D, _AT], + [1, 0], 2 +]; +export var TopicConfiguration$ = [3, n0, _TCop, + 0, + [_TAo, _Ev, _I, _F], + [[0, { [_xN]: _Top }], [64 | 0, { [_xF]: 1, [_xN]: _Eve }], 0, [() => NotificationConfigurationFilter$, 0]], 2 +]; +export var Transition$ = [3, n0, _Tra, + 0, + [_Da, _D, _SC], + [5, 1, 0] +]; +export var UpdateBucketMetadataInventoryTableConfigurationRequest$ = [3, n0, _UBMITCR, + 0, + [_B, _ITCn, _CMD, _CA, _EBO], + [[0, 1], [() => InventoryTableConfigurationUpdates$, { [_hP]: 1, [_xN]: _ITCn }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +export var UpdateBucketMetadataJournalTableConfigurationRequest$ = [3, n0, _UBMJTCR, + 0, + [_B, _JTC, _CMD, _CA, _EBO], + [[0, 1], [() => JournalTableConfigurationUpdates$, { [_hP]: 1, [_xN]: _JTC }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xaebo }]], 2 +]; +export var UpdateObjectEncryptionRequest$ = [3, n0, _UOER, + 0, + [_B, _K, _OE, _VI, _RP, _EBO, _CMD, _CA], + [[0, 1], [0, 1], [() => ObjectEncryption$, 16], [0, { [_hQ]: _vI }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }]], 3 +]; +export var UpdateObjectEncryptionResponse$ = [3, n0, _UOERp, + 0, + [_RC], + [[0, { [_hH]: _xarc }]] +]; +export var UploadPartCopyOutput$ = [3, n0, _UPCO, + 0, + [_CSVI, _CPR, _SSE, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _RC], + [[0, { [_hH]: _xacsvi }], [() => CopyPartResult$, 16], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarc }]] +]; +export var UploadPartCopyRequest$ = [3, n0, _UPCR, + 0, + [_B, _CS, _K, _PN, _UI, _CSIM, _CSIMS, _CSINM, _CSIUS, _CSRo, _SSECA, _SSECK, _SSECKMD, _CSSSECA, _CSSSECK, _CSSSECKMD, _RP, _EBO, _ESBO], + [[0, 1], [0, { [_hH]: _xacs__ }], [0, 1], [1, { [_hQ]: _pN }], [0, { [_hQ]: _uI }], [0, { [_hH]: _xacsim }], [4, { [_hH]: _xacsims }], [0, { [_hH]: _xacsinm }], [4, { [_hH]: _xacsius }], [0, { [_hH]: _xacsr }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [0, { [_hH]: _xacssseca }], [() => CopySourceSSECustomerKey, { [_hH]: _xacssseck }], [0, { [_hH]: _xacssseckM }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xasebo }]], 5 +]; +export var UploadPartOutput$ = [3, n0, _UPO, + 0, + [_SSE, _ETa, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _RC], + [[0, { [_hH]: _xasse }], [0, { [_hH]: _ETa }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarc }]] +]; +export var UploadPartRequest$ = [3, n0, _UPR, + 0, + [_B, _K, _PN, _UI, _Bo, _CLo, _CMD, _CA, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _SSECA, _SSECK, _SSECKMD, _RP, _EBO], + [[0, 1], [0, 1], [1, { [_hQ]: _pN }], [0, { [_hQ]: _uI }], [() => StreamingBlob, 16], [1, { [_hH]: _CL__ }], [0, { [_hH]: _CM }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xaebo }]], 4 +]; +export var VersioningConfiguration$ = [3, n0, _VC, + 0, + [_MFAD, _S], + [[0, { [_xN]: _MDf }], 0] +]; +export var WebsiteConfiguration$ = [3, n0, _WC, + 0, + [_EDr, _IDn, _RART, _RR], + [() => ErrorDocument$, () => IndexDocument$, () => RedirectAllRequestsTo$, [() => RoutingRules, 0]] +]; +export var WriteGetObjectResponseRequest$ = [3, n0, _WGORR, + 0, + [_RReq, _RTe, _Bo, _SCt, _ECr, _EM, _AR, _CC, _CDo, _CEo, _CL, _CLo, _CR, _CTo, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _DM, _ETa, _Ex, _E, _LM, _MM, _M, _OLM, _OLLHS, _OLRUD, _PC, _RS, _RC, _Re, _SSE, _SSECA, _SSEKMSKI, _SSECKMD, _SC, _TC, _VI, _BKE], + [[0, { [_hL]: 1, [_hH]: _xarr }], [0, { [_hH]: _xart }], [() => StreamingBlob, 16], [1, { [_hH]: _xafs }], [0, { [_hH]: _xafec }], [0, { [_hH]: _xafem }], [0, { [_hH]: _xafhar }], [0, { [_hH]: _xafhCC }], [0, { [_hH]: _xafhCD }], [0, { [_hH]: _xafhCE }], [0, { [_hH]: _xafhCL }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _xafhCR }], [0, { [_hH]: _xafhCT }], [0, { [_hH]: _xafhxacc }], [0, { [_hH]: _xafhxacc_ }], [0, { [_hH]: _xafhxacc__ }], [0, { [_hH]: _xafhxacs }], [0, { [_hH]: _xafhxacs_ }], [2, { [_hH]: _xafhxadm }], [0, { [_hH]: _xafhE }], [4, { [_hH]: _xafhE_ }], [0, { [_hH]: _xafhxae }], [4, { [_hH]: _xafhLM }], [1, { [_hH]: _xafhxamm }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xafhxaolm }], [0, { [_hH]: _xafhxaollh }], [5, { [_hH]: _xafhxaolrud }], [1, { [_hH]: _xafhxampc }], [0, { [_hH]: _xafhxars }], [0, { [_hH]: _xafhxarc }], [0, { [_hH]: _xafhxar }], [0, { [_hH]: _xafhxasse }], [0, { [_hH]: _xafhxasseca }], [() => SSEKMSKeyId, { [_hH]: _xafhxasseakki }], [0, { [_hH]: _xafhxasseckM }], [0, { [_hH]: _xafhxasc }], [1, { [_hH]: _xafhxatc }], [0, { [_hH]: _xafhxavi }], [2, { [_hH]: _xafhxassebke }]], 2 +]; +var __Unit = "unit"; +var AllowedHeaders = 64 | 0; +var AllowedMethods = 64 | 0; +var AllowedOrigins = 64 | 0; +var AnalyticsConfigurationList = [1, n0, _ACLn, + 0, [() => AnalyticsConfiguration$, + 0] +]; +var Buckets = [1, n0, _Bu, + 0, [() => Bucket$, + { [_xN]: _B }] +]; +var ChecksumAlgorithmList = 64 | 0; +var CommonPrefixList = [1, n0, _CPL, + 0, () => CommonPrefix$ +]; +var CompletedPartList = [1, n0, _CPLo, + 0, () => CompletedPart$ +]; +var CORSRules = [1, n0, _CORSR, + 0, [() => CORSRule$, + 0] +]; +var DeletedObjects = [1, n0, _DOe, + 0, () => DeletedObject$ +]; +var DeleteMarkers = [1, n0, _DMe, + 0, () => DeleteMarkerEntry$ +]; +var EncryptionTypeList = [1, n0, _ETL, + 0, [0, + { [_xN]: _ET }] +]; +var Errors = [1, n0, _Er, + 0, () => _Error$ +]; +var EventList = 64 | 0; +var ExposeHeaders = 64 | 0; +var FilterRuleList = [1, n0, _FRL, + 0, () => FilterRule$ +]; +var Grants = [1, n0, _G, + 0, [() => Grant$, + { [_xN]: _Gr }] +]; +var IntelligentTieringConfigurationList = [1, n0, _ITCL, + 0, [() => IntelligentTieringConfiguration$, + 0] +]; +var InventoryConfigurationList = [1, n0, _ICL, + 0, [() => InventoryConfiguration$, + 0] +]; +var InventoryOptionalFields = [1, n0, _IOF, + 0, [0, + { [_xN]: _Fi }] +]; +var LambdaFunctionConfigurationList = [1, n0, _LFCL, + 0, [() => LambdaFunctionConfiguration$, + 0] +]; +var LifecycleRules = [1, n0, _LRi, + 0, [() => LifecycleRule$, + 0] +]; +var MetricsConfigurationList = [1, n0, _MCL, + 0, [() => MetricsConfiguration$, + 0] +]; +var MultipartUploadList = [1, n0, _MUL, + 0, () => MultipartUpload$ +]; +var NoncurrentVersionTransitionList = [1, n0, _NVTL, + 0, () => NoncurrentVersionTransition$ +]; +var ObjectAttributesList = 64 | 0; +var ObjectIdentifierList = [1, n0, _OIL, + 0, () => ObjectIdentifier$ +]; +var ObjectList = [1, n0, _OLb, + 0, [() => _Object$, + 0] +]; +var ObjectVersionList = [1, n0, _OVL, + 0, [() => ObjectVersion$, + 0] +]; +var OptionalObjectAttributesList = 64 | 0; +var OwnershipControlsRules = [1, n0, _OCRw, + 0, () => OwnershipControlsRule$ +]; +var Parts = [1, n0, _Pa, + 0, () => Part$ +]; +var PartsList = [1, n0, _PL, + 0, () => ObjectPart$ +]; +var QueueConfigurationList = [1, n0, _QCL, + 0, [() => QueueConfiguration$, + 0] +]; +var ReplicationRules = [1, n0, _RRep, + 0, [() => ReplicationRule$, + 0] +]; +var RoutingRules = [1, n0, _RR, + 0, [() => RoutingRule$, + { [_xN]: _RRo }] +]; +var ServerSideEncryptionRules = [1, n0, _SSERe, + 0, [() => ServerSideEncryptionRule$, + 0] +]; +var TagSet = [1, n0, _TS, + 0, [() => Tag$, + { [_xN]: _Ta }] +]; +var TargetGrants = [1, n0, _TG, + 0, [() => TargetGrant$, + { [_xN]: _Gr }] +]; +var TieringList = [1, n0, _TL, + 0, () => Tiering$ +]; +var TopicConfigurationList = [1, n0, _TCL, + 0, [() => TopicConfiguration$, + 0] +]; +var TransitionList = [1, n0, _TLr, + 0, () => Transition$ +]; +var UserMetadata = [1, n0, _UM, + 0, [() => MetadataEntry$, + { [_xN]: _ME }] +]; +var Metadata = 128 | 0; +export var AnalyticsFilter$ = [4, n0, _AF, + 0, + [_P, _Ta, _An], + [0, () => Tag$, [() => AnalyticsAndOperator$, 0]] +]; +export var MetricsFilter$ = [4, n0, _MF, + 0, + [_P, _Ta, _APAc, _An], + [0, () => Tag$, 0, [() => MetricsAndOperator$, 0]] +]; +export var ObjectEncryption$ = [4, n0, _OE, + 0, + [_SSEKMS], + [[() => SSEKMSEncryption$, { [_xN]: _SK }]] +]; +export var SelectObjectContentEventStream$ = [4, n0, _SOCES, + { [_st]: 1 }, + [_Rec, _Sta, _Pr, _Cont, _End], + [[() => RecordsEvent$, 0], [() => StatsEvent$, 0], [() => ProgressEvent$, 0], () => ContinuationEvent$, () => EndEvent$] +]; +export var AbortMultipartUpload$ = [9, n0, _AMU, + { [_h]: ["DELETE", "/{Key+}?x-id=AbortMultipartUpload", 204] }, () => AbortMultipartUploadRequest$, () => AbortMultipartUploadOutput$ +]; +export var CompleteMultipartUpload$ = [9, n0, _CMUo, + { [_h]: ["POST", "/{Key+}", 200] }, () => CompleteMultipartUploadRequest$, () => CompleteMultipartUploadOutput$ +]; +export var CopyObject$ = [9, n0, _CO, + { [_h]: ["PUT", "/{Key+}?x-id=CopyObject", 200] }, () => CopyObjectRequest$, () => CopyObjectOutput$ +]; +export var CreateBucket$ = [9, n0, _CB, + { [_h]: ["PUT", "/", 200] }, () => CreateBucketRequest$, () => CreateBucketOutput$ +]; +export var CreateBucketMetadataConfiguration$ = [9, n0, _CBMC, + { [_hC]: "-", [_h]: ["POST", "/?metadataConfiguration", 200] }, () => CreateBucketMetadataConfigurationRequest$, () => __Unit +]; +export var CreateBucketMetadataTableConfiguration$ = [9, n0, _CBMTC, + { [_hC]: "-", [_h]: ["POST", "/?metadataTable", 200] }, () => CreateBucketMetadataTableConfigurationRequest$, () => __Unit +]; +export var CreateMultipartUpload$ = [9, n0, _CMUr, + { [_h]: ["POST", "/{Key+}?uploads", 200] }, () => CreateMultipartUploadRequest$, () => CreateMultipartUploadOutput$ +]; +export var CreateSession$ = [9, n0, _CSr, + { [_h]: ["GET", "/?session", 200] }, () => CreateSessionRequest$, () => CreateSessionOutput$ +]; +export var DeleteBucket$ = [9, n0, _DB, + { [_h]: ["DELETE", "/", 204] }, () => DeleteBucketRequest$, () => __Unit +]; +export var DeleteBucketAnalyticsConfiguration$ = [9, n0, _DBAC, + { [_h]: ["DELETE", "/?analytics", 204] }, () => DeleteBucketAnalyticsConfigurationRequest$, () => __Unit +]; +export var DeleteBucketCors$ = [9, n0, _DBC, + { [_h]: ["DELETE", "/?cors", 204] }, () => DeleteBucketCorsRequest$, () => __Unit +]; +export var DeleteBucketEncryption$ = [9, n0, _DBE, + { [_h]: ["DELETE", "/?encryption", 204] }, () => DeleteBucketEncryptionRequest$, () => __Unit +]; +export var DeleteBucketIntelligentTieringConfiguration$ = [9, n0, _DBITC, + { [_h]: ["DELETE", "/?intelligent-tiering", 204] }, () => DeleteBucketIntelligentTieringConfigurationRequest$, () => __Unit +]; +export var DeleteBucketInventoryConfiguration$ = [9, n0, _DBIC, + { [_h]: ["DELETE", "/?inventory", 204] }, () => DeleteBucketInventoryConfigurationRequest$, () => __Unit +]; +export var DeleteBucketLifecycle$ = [9, n0, _DBL, + { [_h]: ["DELETE", "/?lifecycle", 204] }, () => DeleteBucketLifecycleRequest$, () => __Unit +]; +export var DeleteBucketMetadataConfiguration$ = [9, n0, _DBMC, + { [_h]: ["DELETE", "/?metadataConfiguration", 204] }, () => DeleteBucketMetadataConfigurationRequest$, () => __Unit +]; +export var DeleteBucketMetadataTableConfiguration$ = [9, n0, _DBMTC, + { [_h]: ["DELETE", "/?metadataTable", 204] }, () => DeleteBucketMetadataTableConfigurationRequest$, () => __Unit +]; +export var DeleteBucketMetricsConfiguration$ = [9, n0, _DBMCe, + { [_h]: ["DELETE", "/?metrics", 204] }, () => DeleteBucketMetricsConfigurationRequest$, () => __Unit +]; +export var DeleteBucketOwnershipControls$ = [9, n0, _DBOC, + { [_h]: ["DELETE", "/?ownershipControls", 204] }, () => DeleteBucketOwnershipControlsRequest$, () => __Unit +]; +export var DeleteBucketPolicy$ = [9, n0, _DBP, + { [_h]: ["DELETE", "/?policy", 204] }, () => DeleteBucketPolicyRequest$, () => __Unit +]; +export var DeleteBucketReplication$ = [9, n0, _DBRe, + { [_h]: ["DELETE", "/?replication", 204] }, () => DeleteBucketReplicationRequest$, () => __Unit +]; +export var DeleteBucketTagging$ = [9, n0, _DBT, + { [_h]: ["DELETE", "/?tagging", 204] }, () => DeleteBucketTaggingRequest$, () => __Unit +]; +export var DeleteBucketWebsite$ = [9, n0, _DBW, + { [_h]: ["DELETE", "/?website", 204] }, () => DeleteBucketWebsiteRequest$, () => __Unit +]; +export var DeleteObject$ = [9, n0, _DOel, + { [_h]: ["DELETE", "/{Key+}?x-id=DeleteObject", 204] }, () => DeleteObjectRequest$, () => DeleteObjectOutput$ +]; +export var DeleteObjects$ = [9, n0, _DOele, + { [_hC]: "-", [_h]: ["POST", "/?delete", 200] }, () => DeleteObjectsRequest$, () => DeleteObjectsOutput$ +]; +export var DeleteObjectTagging$ = [9, n0, _DOT, + { [_h]: ["DELETE", "/{Key+}?tagging", 204] }, () => DeleteObjectTaggingRequest$, () => DeleteObjectTaggingOutput$ +]; +export var DeletePublicAccessBlock$ = [9, n0, _DPAB, + { [_h]: ["DELETE", "/?publicAccessBlock", 204] }, () => DeletePublicAccessBlockRequest$, () => __Unit +]; +export var GetBucketAbac$ = [9, n0, _GBA, + { [_h]: ["GET", "/?abac", 200] }, () => GetBucketAbacRequest$, () => GetBucketAbacOutput$ +]; +export var GetBucketAccelerateConfiguration$ = [9, n0, _GBAC, + { [_h]: ["GET", "/?accelerate", 200] }, () => GetBucketAccelerateConfigurationRequest$, () => GetBucketAccelerateConfigurationOutput$ +]; +export var GetBucketAcl$ = [9, n0, _GBAe, + { [_h]: ["GET", "/?acl", 200] }, () => GetBucketAclRequest$, () => GetBucketAclOutput$ +]; +export var GetBucketAnalyticsConfiguration$ = [9, n0, _GBACe, + { [_h]: ["GET", "/?analytics&x-id=GetBucketAnalyticsConfiguration", 200] }, () => GetBucketAnalyticsConfigurationRequest$, () => GetBucketAnalyticsConfigurationOutput$ +]; +export var GetBucketCors$ = [9, n0, _GBC, + { [_h]: ["GET", "/?cors", 200] }, () => GetBucketCorsRequest$, () => GetBucketCorsOutput$ +]; +export var GetBucketEncryption$ = [9, n0, _GBE, + { [_h]: ["GET", "/?encryption", 200] }, () => GetBucketEncryptionRequest$, () => GetBucketEncryptionOutput$ +]; +export var GetBucketIntelligentTieringConfiguration$ = [9, n0, _GBITC, + { [_h]: ["GET", "/?intelligent-tiering&x-id=GetBucketIntelligentTieringConfiguration", 200] }, () => GetBucketIntelligentTieringConfigurationRequest$, () => GetBucketIntelligentTieringConfigurationOutput$ +]; +export var GetBucketInventoryConfiguration$ = [9, n0, _GBIC, + { [_h]: ["GET", "/?inventory&x-id=GetBucketInventoryConfiguration", 200] }, () => GetBucketInventoryConfigurationRequest$, () => GetBucketInventoryConfigurationOutput$ +]; +export var GetBucketLifecycleConfiguration$ = [9, n0, _GBLC, + { [_h]: ["GET", "/?lifecycle", 200] }, () => GetBucketLifecycleConfigurationRequest$, () => GetBucketLifecycleConfigurationOutput$ +]; +export var GetBucketLocation$ = [9, n0, _GBL, + { [_h]: ["GET", "/?location", 200] }, () => GetBucketLocationRequest$, () => GetBucketLocationOutput$ +]; +export var GetBucketLogging$ = [9, n0, _GBLe, + { [_h]: ["GET", "/?logging", 200] }, () => GetBucketLoggingRequest$, () => GetBucketLoggingOutput$ +]; +export var GetBucketMetadataConfiguration$ = [9, n0, _GBMC, + { [_h]: ["GET", "/?metadataConfiguration", 200] }, () => GetBucketMetadataConfigurationRequest$, () => GetBucketMetadataConfigurationOutput$ +]; +export var GetBucketMetadataTableConfiguration$ = [9, n0, _GBMTC, + { [_h]: ["GET", "/?metadataTable", 200] }, () => GetBucketMetadataTableConfigurationRequest$, () => GetBucketMetadataTableConfigurationOutput$ +]; +export var GetBucketMetricsConfiguration$ = [9, n0, _GBMCe, + { [_h]: ["GET", "/?metrics&x-id=GetBucketMetricsConfiguration", 200] }, () => GetBucketMetricsConfigurationRequest$, () => GetBucketMetricsConfigurationOutput$ +]; +export var GetBucketNotificationConfiguration$ = [9, n0, _GBNC, + { [_h]: ["GET", "/?notification", 200] }, () => GetBucketNotificationConfigurationRequest$, () => NotificationConfiguration$ +]; +export var GetBucketOwnershipControls$ = [9, n0, _GBOC, + { [_h]: ["GET", "/?ownershipControls", 200] }, () => GetBucketOwnershipControlsRequest$, () => GetBucketOwnershipControlsOutput$ +]; +export var GetBucketPolicy$ = [9, n0, _GBP, + { [_h]: ["GET", "/?policy", 200] }, () => GetBucketPolicyRequest$, () => GetBucketPolicyOutput$ +]; +export var GetBucketPolicyStatus$ = [9, n0, _GBPS, + { [_h]: ["GET", "/?policyStatus", 200] }, () => GetBucketPolicyStatusRequest$, () => GetBucketPolicyStatusOutput$ +]; +export var GetBucketReplication$ = [9, n0, _GBR, + { [_h]: ["GET", "/?replication", 200] }, () => GetBucketReplicationRequest$, () => GetBucketReplicationOutput$ +]; +export var GetBucketRequestPayment$ = [9, n0, _GBRP, + { [_h]: ["GET", "/?requestPayment", 200] }, () => GetBucketRequestPaymentRequest$, () => GetBucketRequestPaymentOutput$ +]; +export var GetBucketTagging$ = [9, n0, _GBT, + { [_h]: ["GET", "/?tagging", 200] }, () => GetBucketTaggingRequest$, () => GetBucketTaggingOutput$ +]; +export var GetBucketVersioning$ = [9, n0, _GBV, + { [_h]: ["GET", "/?versioning", 200] }, () => GetBucketVersioningRequest$, () => GetBucketVersioningOutput$ +]; +export var GetBucketWebsite$ = [9, n0, _GBW, + { [_h]: ["GET", "/?website", 200] }, () => GetBucketWebsiteRequest$, () => GetBucketWebsiteOutput$ +]; +export var GetObject$ = [9, n0, _GO, + { [_hC]: "-", [_h]: ["GET", "/{Key+}?x-id=GetObject", 200] }, () => GetObjectRequest$, () => GetObjectOutput$ +]; +export var GetObjectAcl$ = [9, n0, _GOA, + { [_h]: ["GET", "/{Key+}?acl", 200] }, () => GetObjectAclRequest$, () => GetObjectAclOutput$ +]; +export var GetObjectAttributes$ = [9, n0, _GOAe, + { [_h]: ["GET", "/{Key+}?attributes", 200] }, () => GetObjectAttributesRequest$, () => GetObjectAttributesOutput$ +]; +export var GetObjectLegalHold$ = [9, n0, _GOLH, + { [_h]: ["GET", "/{Key+}?legal-hold", 200] }, () => GetObjectLegalHoldRequest$, () => GetObjectLegalHoldOutput$ +]; +export var GetObjectLockConfiguration$ = [9, n0, _GOLC, + { [_h]: ["GET", "/?object-lock", 200] }, () => GetObjectLockConfigurationRequest$, () => GetObjectLockConfigurationOutput$ +]; +export var GetObjectRetention$ = [9, n0, _GORe, + { [_h]: ["GET", "/{Key+}?retention", 200] }, () => GetObjectRetentionRequest$, () => GetObjectRetentionOutput$ +]; +export var GetObjectTagging$ = [9, n0, _GOT, + { [_h]: ["GET", "/{Key+}?tagging", 200] }, () => GetObjectTaggingRequest$, () => GetObjectTaggingOutput$ +]; +export var GetObjectTorrent$ = [9, n0, _GOTe, + { [_h]: ["GET", "/{Key+}?torrent", 200] }, () => GetObjectTorrentRequest$, () => GetObjectTorrentOutput$ +]; +export var GetPublicAccessBlock$ = [9, n0, _GPAB, + { [_h]: ["GET", "/?publicAccessBlock", 200] }, () => GetPublicAccessBlockRequest$, () => GetPublicAccessBlockOutput$ +]; +export var HeadBucket$ = [9, n0, _HB, + { [_h]: ["HEAD", "/", 200] }, () => HeadBucketRequest$, () => HeadBucketOutput$ +]; +export var HeadObject$ = [9, n0, _HO, + { [_h]: ["HEAD", "/{Key+}", 200] }, () => HeadObjectRequest$, () => HeadObjectOutput$ +]; +export var ListBucketAnalyticsConfigurations$ = [9, n0, _LBAC, + { [_h]: ["GET", "/?analytics&x-id=ListBucketAnalyticsConfigurations", 200] }, () => ListBucketAnalyticsConfigurationsRequest$, () => ListBucketAnalyticsConfigurationsOutput$ +]; +export var ListBucketIntelligentTieringConfigurations$ = [9, n0, _LBITC, + { [_h]: ["GET", "/?intelligent-tiering&x-id=ListBucketIntelligentTieringConfigurations", 200] }, () => ListBucketIntelligentTieringConfigurationsRequest$, () => ListBucketIntelligentTieringConfigurationsOutput$ +]; +export var ListBucketInventoryConfigurations$ = [9, n0, _LBIC, + { [_h]: ["GET", "/?inventory&x-id=ListBucketInventoryConfigurations", 200] }, () => ListBucketInventoryConfigurationsRequest$, () => ListBucketInventoryConfigurationsOutput$ +]; +export var ListBucketMetricsConfigurations$ = [9, n0, _LBMC, + { [_h]: ["GET", "/?metrics&x-id=ListBucketMetricsConfigurations", 200] }, () => ListBucketMetricsConfigurationsRequest$, () => ListBucketMetricsConfigurationsOutput$ +]; +export var ListBuckets$ = [9, n0, _LB, + { [_h]: ["GET", "/?x-id=ListBuckets", 200] }, () => ListBucketsRequest$, () => ListBucketsOutput$ +]; +export var ListDirectoryBuckets$ = [9, n0, _LDB, + { [_h]: ["GET", "/?x-id=ListDirectoryBuckets", 200] }, () => ListDirectoryBucketsRequest$, () => ListDirectoryBucketsOutput$ +]; +export var ListMultipartUploads$ = [9, n0, _LMU, + { [_h]: ["GET", "/?uploads", 200] }, () => ListMultipartUploadsRequest$, () => ListMultipartUploadsOutput$ +]; +export var ListObjects$ = [9, n0, _LO, + { [_h]: ["GET", "/", 200] }, () => ListObjectsRequest$, () => ListObjectsOutput$ +]; +export var ListObjectsV2$ = [9, n0, _LOV, + { [_h]: ["GET", "/?list-type=2", 200] }, () => ListObjectsV2Request$, () => ListObjectsV2Output$ +]; +export var ListObjectVersions$ = [9, n0, _LOVi, + { [_h]: ["GET", "/?versions", 200] }, () => ListObjectVersionsRequest$, () => ListObjectVersionsOutput$ +]; +export var ListParts$ = [9, n0, _LP, + { [_h]: ["GET", "/{Key+}?x-id=ListParts", 200] }, () => ListPartsRequest$, () => ListPartsOutput$ +]; +export var PutBucketAbac$ = [9, n0, _PBA, + { [_hC]: "-", [_h]: ["PUT", "/?abac", 200] }, () => PutBucketAbacRequest$, () => __Unit +]; +export var PutBucketAccelerateConfiguration$ = [9, n0, _PBAC, + { [_hC]: "-", [_h]: ["PUT", "/?accelerate", 200] }, () => PutBucketAccelerateConfigurationRequest$, () => __Unit +]; +export var PutBucketAcl$ = [9, n0, _PBAu, + { [_hC]: "-", [_h]: ["PUT", "/?acl", 200] }, () => PutBucketAclRequest$, () => __Unit +]; +export var PutBucketAnalyticsConfiguration$ = [9, n0, _PBACu, + { [_h]: ["PUT", "/?analytics", 200] }, () => PutBucketAnalyticsConfigurationRequest$, () => __Unit +]; +export var PutBucketCors$ = [9, n0, _PBC, + { [_hC]: "-", [_h]: ["PUT", "/?cors", 200] }, () => PutBucketCorsRequest$, () => __Unit +]; +export var PutBucketEncryption$ = [9, n0, _PBE, + { [_hC]: "-", [_h]: ["PUT", "/?encryption", 200] }, () => PutBucketEncryptionRequest$, () => __Unit +]; +export var PutBucketIntelligentTieringConfiguration$ = [9, n0, _PBITC, + { [_h]: ["PUT", "/?intelligent-tiering", 200] }, () => PutBucketIntelligentTieringConfigurationRequest$, () => __Unit +]; +export var PutBucketInventoryConfiguration$ = [9, n0, _PBIC, + { [_h]: ["PUT", "/?inventory", 200] }, () => PutBucketInventoryConfigurationRequest$, () => __Unit +]; +export var PutBucketLifecycleConfiguration$ = [9, n0, _PBLC, + { [_hC]: "-", [_h]: ["PUT", "/?lifecycle", 200] }, () => PutBucketLifecycleConfigurationRequest$, () => PutBucketLifecycleConfigurationOutput$ +]; +export var PutBucketLogging$ = [9, n0, _PBL, + { [_hC]: "-", [_h]: ["PUT", "/?logging", 200] }, () => PutBucketLoggingRequest$, () => __Unit +]; +export var PutBucketMetricsConfiguration$ = [9, n0, _PBMC, + { [_h]: ["PUT", "/?metrics", 200] }, () => PutBucketMetricsConfigurationRequest$, () => __Unit +]; +export var PutBucketNotificationConfiguration$ = [9, n0, _PBNC, + { [_h]: ["PUT", "/?notification", 200] }, () => PutBucketNotificationConfigurationRequest$, () => __Unit +]; +export var PutBucketOwnershipControls$ = [9, n0, _PBOC, + { [_hC]: "-", [_h]: ["PUT", "/?ownershipControls", 200] }, () => PutBucketOwnershipControlsRequest$, () => __Unit +]; +export var PutBucketPolicy$ = [9, n0, _PBP, + { [_hC]: "-", [_h]: ["PUT", "/?policy", 200] }, () => PutBucketPolicyRequest$, () => __Unit +]; +export var PutBucketReplication$ = [9, n0, _PBR, + { [_hC]: "-", [_h]: ["PUT", "/?replication", 200] }, () => PutBucketReplicationRequest$, () => __Unit +]; +export var PutBucketRequestPayment$ = [9, n0, _PBRP, + { [_hC]: "-", [_h]: ["PUT", "/?requestPayment", 200] }, () => PutBucketRequestPaymentRequest$, () => __Unit +]; +export var PutBucketTagging$ = [9, n0, _PBT, + { [_hC]: "-", [_h]: ["PUT", "/?tagging", 200] }, () => PutBucketTaggingRequest$, () => __Unit +]; +export var PutBucketVersioning$ = [9, n0, _PBV, + { [_hC]: "-", [_h]: ["PUT", "/?versioning", 200] }, () => PutBucketVersioningRequest$, () => __Unit +]; +export var PutBucketWebsite$ = [9, n0, _PBW, + { [_hC]: "-", [_h]: ["PUT", "/?website", 200] }, () => PutBucketWebsiteRequest$, () => __Unit +]; +export var PutObject$ = [9, n0, _PO, + { [_hC]: "-", [_h]: ["PUT", "/{Key+}?x-id=PutObject", 200] }, () => PutObjectRequest$, () => PutObjectOutput$ +]; +export var PutObjectAcl$ = [9, n0, _POA, + { [_hC]: "-", [_h]: ["PUT", "/{Key+}?acl", 200] }, () => PutObjectAclRequest$, () => PutObjectAclOutput$ +]; +export var PutObjectLegalHold$ = [9, n0, _POLH, + { [_hC]: "-", [_h]: ["PUT", "/{Key+}?legal-hold", 200] }, () => PutObjectLegalHoldRequest$, () => PutObjectLegalHoldOutput$ +]; +export var PutObjectLockConfiguration$ = [9, n0, _POLC, + { [_hC]: "-", [_h]: ["PUT", "/?object-lock", 200] }, () => PutObjectLockConfigurationRequest$, () => PutObjectLockConfigurationOutput$ +]; +export var PutObjectRetention$ = [9, n0, _PORu, + { [_hC]: "-", [_h]: ["PUT", "/{Key+}?retention", 200] }, () => PutObjectRetentionRequest$, () => PutObjectRetentionOutput$ +]; +export var PutObjectTagging$ = [9, n0, _POT, + { [_hC]: "-", [_h]: ["PUT", "/{Key+}?tagging", 200] }, () => PutObjectTaggingRequest$, () => PutObjectTaggingOutput$ +]; +export var PutPublicAccessBlock$ = [9, n0, _PPAB, + { [_hC]: "-", [_h]: ["PUT", "/?publicAccessBlock", 200] }, () => PutPublicAccessBlockRequest$, () => __Unit +]; +export var RenameObject$ = [9, n0, _RO, + { [_h]: ["PUT", "/{Key+}?renameObject", 200] }, () => RenameObjectRequest$, () => RenameObjectOutput$ +]; +export var RestoreObject$ = [9, n0, _ROe, + { [_hC]: "-", [_h]: ["POST", "/{Key+}?restore", 200] }, () => RestoreObjectRequest$, () => RestoreObjectOutput$ +]; +export var SelectObjectContent$ = [9, n0, _SOC, + { [_h]: ["POST", "/{Key+}?select&select-type=2", 200] }, () => SelectObjectContentRequest$, () => SelectObjectContentOutput$ +]; +export var UpdateBucketMetadataInventoryTableConfiguration$ = [9, n0, _UBMITC, + { [_hC]: "-", [_h]: ["PUT", "/?metadataInventoryTable", 200] }, () => UpdateBucketMetadataInventoryTableConfigurationRequest$, () => __Unit +]; +export var UpdateBucketMetadataJournalTableConfiguration$ = [9, n0, _UBMJTC, + { [_hC]: "-", [_h]: ["PUT", "/?metadataJournalTable", 200] }, () => UpdateBucketMetadataJournalTableConfigurationRequest$, () => __Unit +]; +export var UpdateObjectEncryption$ = [9, n0, _UOE, + { [_hC]: "-", [_h]: ["PUT", "/{Key+}?encryption", 200] }, () => UpdateObjectEncryptionRequest$, () => UpdateObjectEncryptionResponse$ +]; +export var UploadPart$ = [9, n0, _UP, + { [_hC]: "-", [_h]: ["PUT", "/{Key+}?x-id=UploadPart", 200] }, () => UploadPartRequest$, () => UploadPartOutput$ +]; +export var UploadPartCopy$ = [9, n0, _UPC, + { [_h]: ["PUT", "/{Key+}?x-id=UploadPartCopy", 200] }, () => UploadPartCopyRequest$, () => UploadPartCopyOutput$ +]; +export var WriteGetObjectResponse$ = [9, n0, _WGOR, + { [_en]: ["{RequestRoute}."], [_h]: ["POST", "/WriteGetObjectResponse", 200] }, () => WriteGetObjectResponseRequest$, () => __Unit +]; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/waiters/index.js b/node_modules/@aws-sdk/client-s3/dist-es/waiters/index.js new file mode 100644 index 0000000..a139674 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/waiters/index.js @@ -0,0 +1,4 @@ +export * from "./waitForBucketExists"; +export * from "./waitForBucketNotExists"; +export * from "./waitForObjectExists"; +export * from "./waitForObjectNotExists"; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js b/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js new file mode 100644 index 0000000..1492294 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js @@ -0,0 +1,26 @@ +import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter"; +import { HeadBucketCommand } from "../commands/HeadBucketCommand"; +const checkState = async (client, input) => { + let reason; + try { + let result = await client.send(new HeadBucketCommand(input)); + reason = result; + return { state: WaiterState.SUCCESS, reason }; + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "NotFound") { + return { state: WaiterState.RETRY, reason }; + } + } + return { state: WaiterState.RETRY, reason }; +}; +export const waitForBucketExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + return createWaiter({ ...serviceDefaults, ...params }, input, checkState); +}; +export const waitUntilBucketExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); + return checkExceptions(result); +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js b/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js new file mode 100644 index 0000000..ea4e5ef --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js @@ -0,0 +1,25 @@ +import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter"; +import { HeadBucketCommand } from "../commands/HeadBucketCommand"; +const checkState = async (client, input) => { + let reason; + try { + let result = await client.send(new HeadBucketCommand(input)); + reason = result; + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "NotFound") { + return { state: WaiterState.SUCCESS, reason }; + } + } + return { state: WaiterState.RETRY, reason }; +}; +export const waitForBucketNotExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + return createWaiter({ ...serviceDefaults, ...params }, input, checkState); +}; +export const waitUntilBucketNotExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); + return checkExceptions(result); +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js b/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js new file mode 100644 index 0000000..370710e --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js @@ -0,0 +1,26 @@ +import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter"; +import { HeadObjectCommand } from "../commands/HeadObjectCommand"; +const checkState = async (client, input) => { + let reason; + try { + let result = await client.send(new HeadObjectCommand(input)); + reason = result; + return { state: WaiterState.SUCCESS, reason }; + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "NotFound") { + return { state: WaiterState.RETRY, reason }; + } + } + return { state: WaiterState.RETRY, reason }; +}; +export const waitForObjectExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + return createWaiter({ ...serviceDefaults, ...params }, input, checkState); +}; +export const waitUntilObjectExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); + return checkExceptions(result); +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js b/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js new file mode 100644 index 0000000..a70d5cc --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js @@ -0,0 +1,25 @@ +import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter"; +import { HeadObjectCommand } from "../commands/HeadObjectCommand"; +const checkState = async (client, input) => { + let reason; + try { + let result = await client.send(new HeadObjectCommand(input)); + reason = result; + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "NotFound") { + return { state: WaiterState.SUCCESS, reason }; + } + } + return { state: WaiterState.RETRY, reason }; +}; +export const waitForObjectNotExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + return createWaiter({ ...serviceDefaults, ...params }, input, checkState); +}; +export const waitUntilObjectNotExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); + return checkExceptions(result); +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts new file mode 100644 index 0000000..fdee55e --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts @@ -0,0 +1,814 @@ +import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types"; +import type { WaiterResult } from "@smithy/util-waiter"; +import { type AbortMultipartUploadCommandInput, type AbortMultipartUploadCommandOutput } from "./commands/AbortMultipartUploadCommand"; +import { type CompleteMultipartUploadCommandInput, type CompleteMultipartUploadCommandOutput } from "./commands/CompleteMultipartUploadCommand"; +import { type CopyObjectCommandInput, type CopyObjectCommandOutput } from "./commands/CopyObjectCommand"; +import { type CreateBucketCommandInput, type CreateBucketCommandOutput } from "./commands/CreateBucketCommand"; +import { type CreateBucketMetadataConfigurationCommandInput, type CreateBucketMetadataConfigurationCommandOutput } from "./commands/CreateBucketMetadataConfigurationCommand"; +import { type CreateBucketMetadataTableConfigurationCommandInput, type CreateBucketMetadataTableConfigurationCommandOutput } from "./commands/CreateBucketMetadataTableConfigurationCommand"; +import { type CreateMultipartUploadCommandInput, type CreateMultipartUploadCommandOutput } from "./commands/CreateMultipartUploadCommand"; +import { type CreateSessionCommandInput, type CreateSessionCommandOutput } from "./commands/CreateSessionCommand"; +import { type DeleteBucketAnalyticsConfigurationCommandInput, type DeleteBucketAnalyticsConfigurationCommandOutput } from "./commands/DeleteBucketAnalyticsConfigurationCommand"; +import { type DeleteBucketCommandInput, type DeleteBucketCommandOutput } from "./commands/DeleteBucketCommand"; +import { type DeleteBucketCorsCommandInput, type DeleteBucketCorsCommandOutput } from "./commands/DeleteBucketCorsCommand"; +import { type DeleteBucketEncryptionCommandInput, type DeleteBucketEncryptionCommandOutput } from "./commands/DeleteBucketEncryptionCommand"; +import { type DeleteBucketIntelligentTieringConfigurationCommandInput, type DeleteBucketIntelligentTieringConfigurationCommandOutput } from "./commands/DeleteBucketIntelligentTieringConfigurationCommand"; +import { type DeleteBucketInventoryConfigurationCommandInput, type DeleteBucketInventoryConfigurationCommandOutput } from "./commands/DeleteBucketInventoryConfigurationCommand"; +import { type DeleteBucketLifecycleCommandInput, type DeleteBucketLifecycleCommandOutput } from "./commands/DeleteBucketLifecycleCommand"; +import { type DeleteBucketMetadataConfigurationCommandInput, type DeleteBucketMetadataConfigurationCommandOutput } from "./commands/DeleteBucketMetadataConfigurationCommand"; +import { type DeleteBucketMetadataTableConfigurationCommandInput, type DeleteBucketMetadataTableConfigurationCommandOutput } from "./commands/DeleteBucketMetadataTableConfigurationCommand"; +import { type DeleteBucketMetricsConfigurationCommandInput, type DeleteBucketMetricsConfigurationCommandOutput } from "./commands/DeleteBucketMetricsConfigurationCommand"; +import { type DeleteBucketOwnershipControlsCommandInput, type DeleteBucketOwnershipControlsCommandOutput } from "./commands/DeleteBucketOwnershipControlsCommand"; +import { type DeleteBucketPolicyCommandInput, type DeleteBucketPolicyCommandOutput } from "./commands/DeleteBucketPolicyCommand"; +import { type DeleteBucketReplicationCommandInput, type DeleteBucketReplicationCommandOutput } from "./commands/DeleteBucketReplicationCommand"; +import { type DeleteBucketTaggingCommandInput, type DeleteBucketTaggingCommandOutput } from "./commands/DeleteBucketTaggingCommand"; +import { type DeleteBucketWebsiteCommandInput, type DeleteBucketWebsiteCommandOutput } from "./commands/DeleteBucketWebsiteCommand"; +import { type DeleteObjectCommandInput, type DeleteObjectCommandOutput } from "./commands/DeleteObjectCommand"; +import { type DeleteObjectsCommandInput, type DeleteObjectsCommandOutput } from "./commands/DeleteObjectsCommand"; +import { type DeleteObjectTaggingCommandInput, type DeleteObjectTaggingCommandOutput } from "./commands/DeleteObjectTaggingCommand"; +import { type DeletePublicAccessBlockCommandInput, type DeletePublicAccessBlockCommandOutput } from "./commands/DeletePublicAccessBlockCommand"; +import { type GetBucketAbacCommandInput, type GetBucketAbacCommandOutput } from "./commands/GetBucketAbacCommand"; +import { type GetBucketAccelerateConfigurationCommandInput, type GetBucketAccelerateConfigurationCommandOutput } from "./commands/GetBucketAccelerateConfigurationCommand"; +import { type GetBucketAclCommandInput, type GetBucketAclCommandOutput } from "./commands/GetBucketAclCommand"; +import { type GetBucketAnalyticsConfigurationCommandInput, type GetBucketAnalyticsConfigurationCommandOutput } from "./commands/GetBucketAnalyticsConfigurationCommand"; +import { type GetBucketCorsCommandInput, type GetBucketCorsCommandOutput } from "./commands/GetBucketCorsCommand"; +import { type GetBucketEncryptionCommandInput, type GetBucketEncryptionCommandOutput } from "./commands/GetBucketEncryptionCommand"; +import { type GetBucketIntelligentTieringConfigurationCommandInput, type GetBucketIntelligentTieringConfigurationCommandOutput } from "./commands/GetBucketIntelligentTieringConfigurationCommand"; +import { type GetBucketInventoryConfigurationCommandInput, type GetBucketInventoryConfigurationCommandOutput } from "./commands/GetBucketInventoryConfigurationCommand"; +import { type GetBucketLifecycleConfigurationCommandInput, type GetBucketLifecycleConfigurationCommandOutput } from "./commands/GetBucketLifecycleConfigurationCommand"; +import { type GetBucketLocationCommandInput, type GetBucketLocationCommandOutput } from "./commands/GetBucketLocationCommand"; +import { type GetBucketLoggingCommandInput, type GetBucketLoggingCommandOutput } from "./commands/GetBucketLoggingCommand"; +import { type GetBucketMetadataConfigurationCommandInput, type GetBucketMetadataConfigurationCommandOutput } from "./commands/GetBucketMetadataConfigurationCommand"; +import { type GetBucketMetadataTableConfigurationCommandInput, type GetBucketMetadataTableConfigurationCommandOutput } from "./commands/GetBucketMetadataTableConfigurationCommand"; +import { type GetBucketMetricsConfigurationCommandInput, type GetBucketMetricsConfigurationCommandOutput } from "./commands/GetBucketMetricsConfigurationCommand"; +import { type GetBucketNotificationConfigurationCommandInput, type GetBucketNotificationConfigurationCommandOutput } from "./commands/GetBucketNotificationConfigurationCommand"; +import { type GetBucketOwnershipControlsCommandInput, type GetBucketOwnershipControlsCommandOutput } from "./commands/GetBucketOwnershipControlsCommand"; +import { type GetBucketPolicyCommandInput, type GetBucketPolicyCommandOutput } from "./commands/GetBucketPolicyCommand"; +import { type GetBucketPolicyStatusCommandInput, type GetBucketPolicyStatusCommandOutput } from "./commands/GetBucketPolicyStatusCommand"; +import { type GetBucketReplicationCommandInput, type GetBucketReplicationCommandOutput } from "./commands/GetBucketReplicationCommand"; +import { type GetBucketRequestPaymentCommandInput, type GetBucketRequestPaymentCommandOutput } from "./commands/GetBucketRequestPaymentCommand"; +import { type GetBucketTaggingCommandInput, type GetBucketTaggingCommandOutput } from "./commands/GetBucketTaggingCommand"; +import { type GetBucketVersioningCommandInput, type GetBucketVersioningCommandOutput } from "./commands/GetBucketVersioningCommand"; +import { type GetBucketWebsiteCommandInput, type GetBucketWebsiteCommandOutput } from "./commands/GetBucketWebsiteCommand"; +import { type GetObjectAclCommandInput, type GetObjectAclCommandOutput } from "./commands/GetObjectAclCommand"; +import { type GetObjectAttributesCommandInput, type GetObjectAttributesCommandOutput } from "./commands/GetObjectAttributesCommand"; +import { type GetObjectCommandInput, type GetObjectCommandOutput } from "./commands/GetObjectCommand"; +import { type GetObjectLegalHoldCommandInput, type GetObjectLegalHoldCommandOutput } from "./commands/GetObjectLegalHoldCommand"; +import { type GetObjectLockConfigurationCommandInput, type GetObjectLockConfigurationCommandOutput } from "./commands/GetObjectLockConfigurationCommand"; +import { type GetObjectRetentionCommandInput, type GetObjectRetentionCommandOutput } from "./commands/GetObjectRetentionCommand"; +import { type GetObjectTaggingCommandInput, type GetObjectTaggingCommandOutput } from "./commands/GetObjectTaggingCommand"; +import { type GetObjectTorrentCommandInput, type GetObjectTorrentCommandOutput } from "./commands/GetObjectTorrentCommand"; +import { type GetPublicAccessBlockCommandInput, type GetPublicAccessBlockCommandOutput } from "./commands/GetPublicAccessBlockCommand"; +import { type HeadBucketCommandInput, type HeadBucketCommandOutput } from "./commands/HeadBucketCommand"; +import { type HeadObjectCommandInput, type HeadObjectCommandOutput } from "./commands/HeadObjectCommand"; +import { type ListBucketAnalyticsConfigurationsCommandInput, type ListBucketAnalyticsConfigurationsCommandOutput } from "./commands/ListBucketAnalyticsConfigurationsCommand"; +import { type ListBucketIntelligentTieringConfigurationsCommandInput, type ListBucketIntelligentTieringConfigurationsCommandOutput } from "./commands/ListBucketIntelligentTieringConfigurationsCommand"; +import { type ListBucketInventoryConfigurationsCommandInput, type ListBucketInventoryConfigurationsCommandOutput } from "./commands/ListBucketInventoryConfigurationsCommand"; +import { type ListBucketMetricsConfigurationsCommandInput, type ListBucketMetricsConfigurationsCommandOutput } from "./commands/ListBucketMetricsConfigurationsCommand"; +import { type ListBucketsCommandInput, type ListBucketsCommandOutput } from "./commands/ListBucketsCommand"; +import { type ListDirectoryBucketsCommandInput, type ListDirectoryBucketsCommandOutput } from "./commands/ListDirectoryBucketsCommand"; +import { type ListMultipartUploadsCommandInput, type ListMultipartUploadsCommandOutput } from "./commands/ListMultipartUploadsCommand"; +import { type ListObjectsCommandInput, type ListObjectsCommandOutput } from "./commands/ListObjectsCommand"; +import { type ListObjectsV2CommandInput, type ListObjectsV2CommandOutput } from "./commands/ListObjectsV2Command"; +import { type ListObjectVersionsCommandInput, type ListObjectVersionsCommandOutput } from "./commands/ListObjectVersionsCommand"; +import { type ListPartsCommandInput, type ListPartsCommandOutput } from "./commands/ListPartsCommand"; +import { type PutBucketAbacCommandInput, type PutBucketAbacCommandOutput } from "./commands/PutBucketAbacCommand"; +import { type PutBucketAccelerateConfigurationCommandInput, type PutBucketAccelerateConfigurationCommandOutput } from "./commands/PutBucketAccelerateConfigurationCommand"; +import { type PutBucketAclCommandInput, type PutBucketAclCommandOutput } from "./commands/PutBucketAclCommand"; +import { type PutBucketAnalyticsConfigurationCommandInput, type PutBucketAnalyticsConfigurationCommandOutput } from "./commands/PutBucketAnalyticsConfigurationCommand"; +import { type PutBucketCorsCommandInput, type PutBucketCorsCommandOutput } from "./commands/PutBucketCorsCommand"; +import { type PutBucketEncryptionCommandInput, type PutBucketEncryptionCommandOutput } from "./commands/PutBucketEncryptionCommand"; +import { type PutBucketIntelligentTieringConfigurationCommandInput, type PutBucketIntelligentTieringConfigurationCommandOutput } from "./commands/PutBucketIntelligentTieringConfigurationCommand"; +import { type PutBucketInventoryConfigurationCommandInput, type PutBucketInventoryConfigurationCommandOutput } from "./commands/PutBucketInventoryConfigurationCommand"; +import { type PutBucketLifecycleConfigurationCommandInput, type PutBucketLifecycleConfigurationCommandOutput } from "./commands/PutBucketLifecycleConfigurationCommand"; +import { type PutBucketLoggingCommandInput, type PutBucketLoggingCommandOutput } from "./commands/PutBucketLoggingCommand"; +import { type PutBucketMetricsConfigurationCommandInput, type PutBucketMetricsConfigurationCommandOutput } from "./commands/PutBucketMetricsConfigurationCommand"; +import { type PutBucketNotificationConfigurationCommandInput, type PutBucketNotificationConfigurationCommandOutput } from "./commands/PutBucketNotificationConfigurationCommand"; +import { type PutBucketOwnershipControlsCommandInput, type PutBucketOwnershipControlsCommandOutput } from "./commands/PutBucketOwnershipControlsCommand"; +import { type PutBucketPolicyCommandInput, type PutBucketPolicyCommandOutput } from "./commands/PutBucketPolicyCommand"; +import { type PutBucketReplicationCommandInput, type PutBucketReplicationCommandOutput } from "./commands/PutBucketReplicationCommand"; +import { type PutBucketRequestPaymentCommandInput, type PutBucketRequestPaymentCommandOutput } from "./commands/PutBucketRequestPaymentCommand"; +import { type PutBucketTaggingCommandInput, type PutBucketTaggingCommandOutput } from "./commands/PutBucketTaggingCommand"; +import { type PutBucketVersioningCommandInput, type PutBucketVersioningCommandOutput } from "./commands/PutBucketVersioningCommand"; +import { type PutBucketWebsiteCommandInput, type PutBucketWebsiteCommandOutput } from "./commands/PutBucketWebsiteCommand"; +import { type PutObjectAclCommandInput, type PutObjectAclCommandOutput } from "./commands/PutObjectAclCommand"; +import { type PutObjectCommandInput, type PutObjectCommandOutput } from "./commands/PutObjectCommand"; +import { type PutObjectLegalHoldCommandInput, type PutObjectLegalHoldCommandOutput } from "./commands/PutObjectLegalHoldCommand"; +import { type PutObjectLockConfigurationCommandInput, type PutObjectLockConfigurationCommandOutput } from "./commands/PutObjectLockConfigurationCommand"; +import { type PutObjectRetentionCommandInput, type PutObjectRetentionCommandOutput } from "./commands/PutObjectRetentionCommand"; +import { type PutObjectTaggingCommandInput, type PutObjectTaggingCommandOutput } from "./commands/PutObjectTaggingCommand"; +import { type PutPublicAccessBlockCommandInput, type PutPublicAccessBlockCommandOutput } from "./commands/PutPublicAccessBlockCommand"; +import { type RenameObjectCommandInput, type RenameObjectCommandOutput } from "./commands/RenameObjectCommand"; +import { type RestoreObjectCommandInput, type RestoreObjectCommandOutput } from "./commands/RestoreObjectCommand"; +import { type SelectObjectContentCommandInput, type SelectObjectContentCommandOutput } from "./commands/SelectObjectContentCommand"; +import { type UpdateBucketMetadataInventoryTableConfigurationCommandInput, type UpdateBucketMetadataInventoryTableConfigurationCommandOutput } from "./commands/UpdateBucketMetadataInventoryTableConfigurationCommand"; +import { type UpdateBucketMetadataJournalTableConfigurationCommandInput, type UpdateBucketMetadataJournalTableConfigurationCommandOutput } from "./commands/UpdateBucketMetadataJournalTableConfigurationCommand"; +import { type UpdateObjectEncryptionCommandInput, type UpdateObjectEncryptionCommandOutput } from "./commands/UpdateObjectEncryptionCommand"; +import { type UploadPartCommandInput, type UploadPartCommandOutput } from "./commands/UploadPartCommand"; +import { type UploadPartCopyCommandInput, type UploadPartCopyCommandOutput } from "./commands/UploadPartCopyCommand"; +import { type WriteGetObjectResponseCommandInput, type WriteGetObjectResponseCommandOutput } from "./commands/WriteGetObjectResponseCommand"; +import { S3Client } from "./S3Client"; +export interface S3 { + /** + * @see {@link AbortMultipartUploadCommand} + */ + abortMultipartUpload(args: AbortMultipartUploadCommandInput, options?: __HttpHandlerOptions): Promise; + abortMultipartUpload(args: AbortMultipartUploadCommandInput, cb: (err: any, data?: AbortMultipartUploadCommandOutput) => void): void; + abortMultipartUpload(args: AbortMultipartUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AbortMultipartUploadCommandOutput) => void): void; + /** + * @see {@link CompleteMultipartUploadCommand} + */ + completeMultipartUpload(args: CompleteMultipartUploadCommandInput, options?: __HttpHandlerOptions): Promise; + completeMultipartUpload(args: CompleteMultipartUploadCommandInput, cb: (err: any, data?: CompleteMultipartUploadCommandOutput) => void): void; + completeMultipartUpload(args: CompleteMultipartUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CompleteMultipartUploadCommandOutput) => void): void; + /** + * @see {@link CopyObjectCommand} + */ + copyObject(args: CopyObjectCommandInput, options?: __HttpHandlerOptions): Promise; + copyObject(args: CopyObjectCommandInput, cb: (err: any, data?: CopyObjectCommandOutput) => void): void; + copyObject(args: CopyObjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CopyObjectCommandOutput) => void): void; + /** + * @see {@link CreateBucketCommand} + */ + createBucket(args: CreateBucketCommandInput, options?: __HttpHandlerOptions): Promise; + createBucket(args: CreateBucketCommandInput, cb: (err: any, data?: CreateBucketCommandOutput) => void): void; + createBucket(args: CreateBucketCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBucketCommandOutput) => void): void; + /** + * @see {@link CreateBucketMetadataConfigurationCommand} + */ + createBucketMetadataConfiguration(args: CreateBucketMetadataConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + createBucketMetadataConfiguration(args: CreateBucketMetadataConfigurationCommandInput, cb: (err: any, data?: CreateBucketMetadataConfigurationCommandOutput) => void): void; + createBucketMetadataConfiguration(args: CreateBucketMetadataConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBucketMetadataConfigurationCommandOutput) => void): void; + /** + * @see {@link CreateBucketMetadataTableConfigurationCommand} + */ + createBucketMetadataTableConfiguration(args: CreateBucketMetadataTableConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + createBucketMetadataTableConfiguration(args: CreateBucketMetadataTableConfigurationCommandInput, cb: (err: any, data?: CreateBucketMetadataTableConfigurationCommandOutput) => void): void; + createBucketMetadataTableConfiguration(args: CreateBucketMetadataTableConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBucketMetadataTableConfigurationCommandOutput) => void): void; + /** + * @see {@link CreateMultipartUploadCommand} + */ + createMultipartUpload(args: CreateMultipartUploadCommandInput, options?: __HttpHandlerOptions): Promise; + createMultipartUpload(args: CreateMultipartUploadCommandInput, cb: (err: any, data?: CreateMultipartUploadCommandOutput) => void): void; + createMultipartUpload(args: CreateMultipartUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMultipartUploadCommandOutput) => void): void; + /** + * @see {@link CreateSessionCommand} + */ + createSession(args: CreateSessionCommandInput, options?: __HttpHandlerOptions): Promise; + createSession(args: CreateSessionCommandInput, cb: (err: any, data?: CreateSessionCommandOutput) => void): void; + createSession(args: CreateSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSessionCommandOutput) => void): void; + /** + * @see {@link DeleteBucketCommand} + */ + deleteBucket(args: DeleteBucketCommandInput, options?: __HttpHandlerOptions): Promise; + deleteBucket(args: DeleteBucketCommandInput, cb: (err: any, data?: DeleteBucketCommandOutput) => void): void; + deleteBucket(args: DeleteBucketCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBucketCommandOutput) => void): void; + /** + * @see {@link DeleteBucketAnalyticsConfigurationCommand} + */ + deleteBucketAnalyticsConfiguration(args: DeleteBucketAnalyticsConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + deleteBucketAnalyticsConfiguration(args: DeleteBucketAnalyticsConfigurationCommandInput, cb: (err: any, data?: DeleteBucketAnalyticsConfigurationCommandOutput) => void): void; + deleteBucketAnalyticsConfiguration(args: DeleteBucketAnalyticsConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBucketAnalyticsConfigurationCommandOutput) => void): void; + /** + * @see {@link DeleteBucketCorsCommand} + */ + deleteBucketCors(args: DeleteBucketCorsCommandInput, options?: __HttpHandlerOptions): Promise; + deleteBucketCors(args: DeleteBucketCorsCommandInput, cb: (err: any, data?: DeleteBucketCorsCommandOutput) => void): void; + deleteBucketCors(args: DeleteBucketCorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBucketCorsCommandOutput) => void): void; + /** + * @see {@link DeleteBucketEncryptionCommand} + */ + deleteBucketEncryption(args: DeleteBucketEncryptionCommandInput, options?: __HttpHandlerOptions): Promise; + deleteBucketEncryption(args: DeleteBucketEncryptionCommandInput, cb: (err: any, data?: DeleteBucketEncryptionCommandOutput) => void): void; + deleteBucketEncryption(args: DeleteBucketEncryptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBucketEncryptionCommandOutput) => void): void; + /** + * @see {@link DeleteBucketIntelligentTieringConfigurationCommand} + */ + deleteBucketIntelligentTieringConfiguration(args: DeleteBucketIntelligentTieringConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + deleteBucketIntelligentTieringConfiguration(args: DeleteBucketIntelligentTieringConfigurationCommandInput, cb: (err: any, data?: DeleteBucketIntelligentTieringConfigurationCommandOutput) => void): void; + deleteBucketIntelligentTieringConfiguration(args: DeleteBucketIntelligentTieringConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBucketIntelligentTieringConfigurationCommandOutput) => void): void; + /** + * @see {@link DeleteBucketInventoryConfigurationCommand} + */ + deleteBucketInventoryConfiguration(args: DeleteBucketInventoryConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + deleteBucketInventoryConfiguration(args: DeleteBucketInventoryConfigurationCommandInput, cb: (err: any, data?: DeleteBucketInventoryConfigurationCommandOutput) => void): void; + deleteBucketInventoryConfiguration(args: DeleteBucketInventoryConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBucketInventoryConfigurationCommandOutput) => void): void; + /** + * @see {@link DeleteBucketLifecycleCommand} + */ + deleteBucketLifecycle(args: DeleteBucketLifecycleCommandInput, options?: __HttpHandlerOptions): Promise; + deleteBucketLifecycle(args: DeleteBucketLifecycleCommandInput, cb: (err: any, data?: DeleteBucketLifecycleCommandOutput) => void): void; + deleteBucketLifecycle(args: DeleteBucketLifecycleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBucketLifecycleCommandOutput) => void): void; + /** + * @see {@link DeleteBucketMetadataConfigurationCommand} + */ + deleteBucketMetadataConfiguration(args: DeleteBucketMetadataConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + deleteBucketMetadataConfiguration(args: DeleteBucketMetadataConfigurationCommandInput, cb: (err: any, data?: DeleteBucketMetadataConfigurationCommandOutput) => void): void; + deleteBucketMetadataConfiguration(args: DeleteBucketMetadataConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBucketMetadataConfigurationCommandOutput) => void): void; + /** + * @see {@link DeleteBucketMetadataTableConfigurationCommand} + */ + deleteBucketMetadataTableConfiguration(args: DeleteBucketMetadataTableConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + deleteBucketMetadataTableConfiguration(args: DeleteBucketMetadataTableConfigurationCommandInput, cb: (err: any, data?: DeleteBucketMetadataTableConfigurationCommandOutput) => void): void; + deleteBucketMetadataTableConfiguration(args: DeleteBucketMetadataTableConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBucketMetadataTableConfigurationCommandOutput) => void): void; + /** + * @see {@link DeleteBucketMetricsConfigurationCommand} + */ + deleteBucketMetricsConfiguration(args: DeleteBucketMetricsConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + deleteBucketMetricsConfiguration(args: DeleteBucketMetricsConfigurationCommandInput, cb: (err: any, data?: DeleteBucketMetricsConfigurationCommandOutput) => void): void; + deleteBucketMetricsConfiguration(args: DeleteBucketMetricsConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBucketMetricsConfigurationCommandOutput) => void): void; + /** + * @see {@link DeleteBucketOwnershipControlsCommand} + */ + deleteBucketOwnershipControls(args: DeleteBucketOwnershipControlsCommandInput, options?: __HttpHandlerOptions): Promise; + deleteBucketOwnershipControls(args: DeleteBucketOwnershipControlsCommandInput, cb: (err: any, data?: DeleteBucketOwnershipControlsCommandOutput) => void): void; + deleteBucketOwnershipControls(args: DeleteBucketOwnershipControlsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBucketOwnershipControlsCommandOutput) => void): void; + /** + * @see {@link DeleteBucketPolicyCommand} + */ + deleteBucketPolicy(args: DeleteBucketPolicyCommandInput, options?: __HttpHandlerOptions): Promise; + deleteBucketPolicy(args: DeleteBucketPolicyCommandInput, cb: (err: any, data?: DeleteBucketPolicyCommandOutput) => void): void; + deleteBucketPolicy(args: DeleteBucketPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBucketPolicyCommandOutput) => void): void; + /** + * @see {@link DeleteBucketReplicationCommand} + */ + deleteBucketReplication(args: DeleteBucketReplicationCommandInput, options?: __HttpHandlerOptions): Promise; + deleteBucketReplication(args: DeleteBucketReplicationCommandInput, cb: (err: any, data?: DeleteBucketReplicationCommandOutput) => void): void; + deleteBucketReplication(args: DeleteBucketReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBucketReplicationCommandOutput) => void): void; + /** + * @see {@link DeleteBucketTaggingCommand} + */ + deleteBucketTagging(args: DeleteBucketTaggingCommandInput, options?: __HttpHandlerOptions): Promise; + deleteBucketTagging(args: DeleteBucketTaggingCommandInput, cb: (err: any, data?: DeleteBucketTaggingCommandOutput) => void): void; + deleteBucketTagging(args: DeleteBucketTaggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBucketTaggingCommandOutput) => void): void; + /** + * @see {@link DeleteBucketWebsiteCommand} + */ + deleteBucketWebsite(args: DeleteBucketWebsiteCommandInput, options?: __HttpHandlerOptions): Promise; + deleteBucketWebsite(args: DeleteBucketWebsiteCommandInput, cb: (err: any, data?: DeleteBucketWebsiteCommandOutput) => void): void; + deleteBucketWebsite(args: DeleteBucketWebsiteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBucketWebsiteCommandOutput) => void): void; + /** + * @see {@link DeleteObjectCommand} + */ + deleteObject(args: DeleteObjectCommandInput, options?: __HttpHandlerOptions): Promise; + deleteObject(args: DeleteObjectCommandInput, cb: (err: any, data?: DeleteObjectCommandOutput) => void): void; + deleteObject(args: DeleteObjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteObjectCommandOutput) => void): void; + /** + * @see {@link DeleteObjectsCommand} + */ + deleteObjects(args: DeleteObjectsCommandInput, options?: __HttpHandlerOptions): Promise; + deleteObjects(args: DeleteObjectsCommandInput, cb: (err: any, data?: DeleteObjectsCommandOutput) => void): void; + deleteObjects(args: DeleteObjectsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteObjectsCommandOutput) => void): void; + /** + * @see {@link DeleteObjectTaggingCommand} + */ + deleteObjectTagging(args: DeleteObjectTaggingCommandInput, options?: __HttpHandlerOptions): Promise; + deleteObjectTagging(args: DeleteObjectTaggingCommandInput, cb: (err: any, data?: DeleteObjectTaggingCommandOutput) => void): void; + deleteObjectTagging(args: DeleteObjectTaggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteObjectTaggingCommandOutput) => void): void; + /** + * @see {@link DeletePublicAccessBlockCommand} + */ + deletePublicAccessBlock(args: DeletePublicAccessBlockCommandInput, options?: __HttpHandlerOptions): Promise; + deletePublicAccessBlock(args: DeletePublicAccessBlockCommandInput, cb: (err: any, data?: DeletePublicAccessBlockCommandOutput) => void): void; + deletePublicAccessBlock(args: DeletePublicAccessBlockCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePublicAccessBlockCommandOutput) => void): void; + /** + * @see {@link GetBucketAbacCommand} + */ + getBucketAbac(args: GetBucketAbacCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketAbac(args: GetBucketAbacCommandInput, cb: (err: any, data?: GetBucketAbacCommandOutput) => void): void; + getBucketAbac(args: GetBucketAbacCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketAbacCommandOutput) => void): void; + /** + * @see {@link GetBucketAccelerateConfigurationCommand} + */ + getBucketAccelerateConfiguration(args: GetBucketAccelerateConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketAccelerateConfiguration(args: GetBucketAccelerateConfigurationCommandInput, cb: (err: any, data?: GetBucketAccelerateConfigurationCommandOutput) => void): void; + getBucketAccelerateConfiguration(args: GetBucketAccelerateConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketAccelerateConfigurationCommandOutput) => void): void; + /** + * @see {@link GetBucketAclCommand} + */ + getBucketAcl(args: GetBucketAclCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketAcl(args: GetBucketAclCommandInput, cb: (err: any, data?: GetBucketAclCommandOutput) => void): void; + getBucketAcl(args: GetBucketAclCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketAclCommandOutput) => void): void; + /** + * @see {@link GetBucketAnalyticsConfigurationCommand} + */ + getBucketAnalyticsConfiguration(args: GetBucketAnalyticsConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketAnalyticsConfiguration(args: GetBucketAnalyticsConfigurationCommandInput, cb: (err: any, data?: GetBucketAnalyticsConfigurationCommandOutput) => void): void; + getBucketAnalyticsConfiguration(args: GetBucketAnalyticsConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketAnalyticsConfigurationCommandOutput) => void): void; + /** + * @see {@link GetBucketCorsCommand} + */ + getBucketCors(args: GetBucketCorsCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketCors(args: GetBucketCorsCommandInput, cb: (err: any, data?: GetBucketCorsCommandOutput) => void): void; + getBucketCors(args: GetBucketCorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketCorsCommandOutput) => void): void; + /** + * @see {@link GetBucketEncryptionCommand} + */ + getBucketEncryption(args: GetBucketEncryptionCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketEncryption(args: GetBucketEncryptionCommandInput, cb: (err: any, data?: GetBucketEncryptionCommandOutput) => void): void; + getBucketEncryption(args: GetBucketEncryptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketEncryptionCommandOutput) => void): void; + /** + * @see {@link GetBucketIntelligentTieringConfigurationCommand} + */ + getBucketIntelligentTieringConfiguration(args: GetBucketIntelligentTieringConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketIntelligentTieringConfiguration(args: GetBucketIntelligentTieringConfigurationCommandInput, cb: (err: any, data?: GetBucketIntelligentTieringConfigurationCommandOutput) => void): void; + getBucketIntelligentTieringConfiguration(args: GetBucketIntelligentTieringConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketIntelligentTieringConfigurationCommandOutput) => void): void; + /** + * @see {@link GetBucketInventoryConfigurationCommand} + */ + getBucketInventoryConfiguration(args: GetBucketInventoryConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketInventoryConfiguration(args: GetBucketInventoryConfigurationCommandInput, cb: (err: any, data?: GetBucketInventoryConfigurationCommandOutput) => void): void; + getBucketInventoryConfiguration(args: GetBucketInventoryConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketInventoryConfigurationCommandOutput) => void): void; + /** + * @see {@link GetBucketLifecycleConfigurationCommand} + */ + getBucketLifecycleConfiguration(args: GetBucketLifecycleConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketLifecycleConfiguration(args: GetBucketLifecycleConfigurationCommandInput, cb: (err: any, data?: GetBucketLifecycleConfigurationCommandOutput) => void): void; + getBucketLifecycleConfiguration(args: GetBucketLifecycleConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketLifecycleConfigurationCommandOutput) => void): void; + /** + * @see {@link GetBucketLocationCommand} + */ + getBucketLocation(args: GetBucketLocationCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketLocation(args: GetBucketLocationCommandInput, cb: (err: any, data?: GetBucketLocationCommandOutput) => void): void; + getBucketLocation(args: GetBucketLocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketLocationCommandOutput) => void): void; + /** + * @see {@link GetBucketLoggingCommand} + */ + getBucketLogging(args: GetBucketLoggingCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketLogging(args: GetBucketLoggingCommandInput, cb: (err: any, data?: GetBucketLoggingCommandOutput) => void): void; + getBucketLogging(args: GetBucketLoggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketLoggingCommandOutput) => void): void; + /** + * @see {@link GetBucketMetadataConfigurationCommand} + */ + getBucketMetadataConfiguration(args: GetBucketMetadataConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketMetadataConfiguration(args: GetBucketMetadataConfigurationCommandInput, cb: (err: any, data?: GetBucketMetadataConfigurationCommandOutput) => void): void; + getBucketMetadataConfiguration(args: GetBucketMetadataConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketMetadataConfigurationCommandOutput) => void): void; + /** + * @see {@link GetBucketMetadataTableConfigurationCommand} + */ + getBucketMetadataTableConfiguration(args: GetBucketMetadataTableConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketMetadataTableConfiguration(args: GetBucketMetadataTableConfigurationCommandInput, cb: (err: any, data?: GetBucketMetadataTableConfigurationCommandOutput) => void): void; + getBucketMetadataTableConfiguration(args: GetBucketMetadataTableConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketMetadataTableConfigurationCommandOutput) => void): void; + /** + * @see {@link GetBucketMetricsConfigurationCommand} + */ + getBucketMetricsConfiguration(args: GetBucketMetricsConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketMetricsConfiguration(args: GetBucketMetricsConfigurationCommandInput, cb: (err: any, data?: GetBucketMetricsConfigurationCommandOutput) => void): void; + getBucketMetricsConfiguration(args: GetBucketMetricsConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketMetricsConfigurationCommandOutput) => void): void; + /** + * @see {@link GetBucketNotificationConfigurationCommand} + */ + getBucketNotificationConfiguration(args: GetBucketNotificationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketNotificationConfiguration(args: GetBucketNotificationConfigurationCommandInput, cb: (err: any, data?: GetBucketNotificationConfigurationCommandOutput) => void): void; + getBucketNotificationConfiguration(args: GetBucketNotificationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketNotificationConfigurationCommandOutput) => void): void; + /** + * @see {@link GetBucketOwnershipControlsCommand} + */ + getBucketOwnershipControls(args: GetBucketOwnershipControlsCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketOwnershipControls(args: GetBucketOwnershipControlsCommandInput, cb: (err: any, data?: GetBucketOwnershipControlsCommandOutput) => void): void; + getBucketOwnershipControls(args: GetBucketOwnershipControlsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketOwnershipControlsCommandOutput) => void): void; + /** + * @see {@link GetBucketPolicyCommand} + */ + getBucketPolicy(args: GetBucketPolicyCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketPolicy(args: GetBucketPolicyCommandInput, cb: (err: any, data?: GetBucketPolicyCommandOutput) => void): void; + getBucketPolicy(args: GetBucketPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketPolicyCommandOutput) => void): void; + /** + * @see {@link GetBucketPolicyStatusCommand} + */ + getBucketPolicyStatus(args: GetBucketPolicyStatusCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketPolicyStatus(args: GetBucketPolicyStatusCommandInput, cb: (err: any, data?: GetBucketPolicyStatusCommandOutput) => void): void; + getBucketPolicyStatus(args: GetBucketPolicyStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketPolicyStatusCommandOutput) => void): void; + /** + * @see {@link GetBucketReplicationCommand} + */ + getBucketReplication(args: GetBucketReplicationCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketReplication(args: GetBucketReplicationCommandInput, cb: (err: any, data?: GetBucketReplicationCommandOutput) => void): void; + getBucketReplication(args: GetBucketReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketReplicationCommandOutput) => void): void; + /** + * @see {@link GetBucketRequestPaymentCommand} + */ + getBucketRequestPayment(args: GetBucketRequestPaymentCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketRequestPayment(args: GetBucketRequestPaymentCommandInput, cb: (err: any, data?: GetBucketRequestPaymentCommandOutput) => void): void; + getBucketRequestPayment(args: GetBucketRequestPaymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketRequestPaymentCommandOutput) => void): void; + /** + * @see {@link GetBucketTaggingCommand} + */ + getBucketTagging(args: GetBucketTaggingCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketTagging(args: GetBucketTaggingCommandInput, cb: (err: any, data?: GetBucketTaggingCommandOutput) => void): void; + getBucketTagging(args: GetBucketTaggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketTaggingCommandOutput) => void): void; + /** + * @see {@link GetBucketVersioningCommand} + */ + getBucketVersioning(args: GetBucketVersioningCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketVersioning(args: GetBucketVersioningCommandInput, cb: (err: any, data?: GetBucketVersioningCommandOutput) => void): void; + getBucketVersioning(args: GetBucketVersioningCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketVersioningCommandOutput) => void): void; + /** + * @see {@link GetBucketWebsiteCommand} + */ + getBucketWebsite(args: GetBucketWebsiteCommandInput, options?: __HttpHandlerOptions): Promise; + getBucketWebsite(args: GetBucketWebsiteCommandInput, cb: (err: any, data?: GetBucketWebsiteCommandOutput) => void): void; + getBucketWebsite(args: GetBucketWebsiteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketWebsiteCommandOutput) => void): void; + /** + * @see {@link GetObjectCommand} + */ + getObject(args: GetObjectCommandInput, options?: __HttpHandlerOptions): Promise; + getObject(args: GetObjectCommandInput, cb: (err: any, data?: GetObjectCommandOutput) => void): void; + getObject(args: GetObjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetObjectCommandOutput) => void): void; + /** + * @see {@link GetObjectAclCommand} + */ + getObjectAcl(args: GetObjectAclCommandInput, options?: __HttpHandlerOptions): Promise; + getObjectAcl(args: GetObjectAclCommandInput, cb: (err: any, data?: GetObjectAclCommandOutput) => void): void; + getObjectAcl(args: GetObjectAclCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetObjectAclCommandOutput) => void): void; + /** + * @see {@link GetObjectAttributesCommand} + */ + getObjectAttributes(args: GetObjectAttributesCommandInput, options?: __HttpHandlerOptions): Promise; + getObjectAttributes(args: GetObjectAttributesCommandInput, cb: (err: any, data?: GetObjectAttributesCommandOutput) => void): void; + getObjectAttributes(args: GetObjectAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetObjectAttributesCommandOutput) => void): void; + /** + * @see {@link GetObjectLegalHoldCommand} + */ + getObjectLegalHold(args: GetObjectLegalHoldCommandInput, options?: __HttpHandlerOptions): Promise; + getObjectLegalHold(args: GetObjectLegalHoldCommandInput, cb: (err: any, data?: GetObjectLegalHoldCommandOutput) => void): void; + getObjectLegalHold(args: GetObjectLegalHoldCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetObjectLegalHoldCommandOutput) => void): void; + /** + * @see {@link GetObjectLockConfigurationCommand} + */ + getObjectLockConfiguration(args: GetObjectLockConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + getObjectLockConfiguration(args: GetObjectLockConfigurationCommandInput, cb: (err: any, data?: GetObjectLockConfigurationCommandOutput) => void): void; + getObjectLockConfiguration(args: GetObjectLockConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetObjectLockConfigurationCommandOutput) => void): void; + /** + * @see {@link GetObjectRetentionCommand} + */ + getObjectRetention(args: GetObjectRetentionCommandInput, options?: __HttpHandlerOptions): Promise; + getObjectRetention(args: GetObjectRetentionCommandInput, cb: (err: any, data?: GetObjectRetentionCommandOutput) => void): void; + getObjectRetention(args: GetObjectRetentionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetObjectRetentionCommandOutput) => void): void; + /** + * @see {@link GetObjectTaggingCommand} + */ + getObjectTagging(args: GetObjectTaggingCommandInput, options?: __HttpHandlerOptions): Promise; + getObjectTagging(args: GetObjectTaggingCommandInput, cb: (err: any, data?: GetObjectTaggingCommandOutput) => void): void; + getObjectTagging(args: GetObjectTaggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetObjectTaggingCommandOutput) => void): void; + /** + * @see {@link GetObjectTorrentCommand} + */ + getObjectTorrent(args: GetObjectTorrentCommandInput, options?: __HttpHandlerOptions): Promise; + getObjectTorrent(args: GetObjectTorrentCommandInput, cb: (err: any, data?: GetObjectTorrentCommandOutput) => void): void; + getObjectTorrent(args: GetObjectTorrentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetObjectTorrentCommandOutput) => void): void; + /** + * @see {@link GetPublicAccessBlockCommand} + */ + getPublicAccessBlock(args: GetPublicAccessBlockCommandInput, options?: __HttpHandlerOptions): Promise; + getPublicAccessBlock(args: GetPublicAccessBlockCommandInput, cb: (err: any, data?: GetPublicAccessBlockCommandOutput) => void): void; + getPublicAccessBlock(args: GetPublicAccessBlockCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPublicAccessBlockCommandOutput) => void): void; + /** + * @see {@link HeadBucketCommand} + */ + headBucket(args: HeadBucketCommandInput, options?: __HttpHandlerOptions): Promise; + headBucket(args: HeadBucketCommandInput, cb: (err: any, data?: HeadBucketCommandOutput) => void): void; + headBucket(args: HeadBucketCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: HeadBucketCommandOutput) => void): void; + /** + * @see {@link HeadObjectCommand} + */ + headObject(args: HeadObjectCommandInput, options?: __HttpHandlerOptions): Promise; + headObject(args: HeadObjectCommandInput, cb: (err: any, data?: HeadObjectCommandOutput) => void): void; + headObject(args: HeadObjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: HeadObjectCommandOutput) => void): void; + /** + * @see {@link ListBucketAnalyticsConfigurationsCommand} + */ + listBucketAnalyticsConfigurations(args: ListBucketAnalyticsConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise; + listBucketAnalyticsConfigurations(args: ListBucketAnalyticsConfigurationsCommandInput, cb: (err: any, data?: ListBucketAnalyticsConfigurationsCommandOutput) => void): void; + listBucketAnalyticsConfigurations(args: ListBucketAnalyticsConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBucketAnalyticsConfigurationsCommandOutput) => void): void; + /** + * @see {@link ListBucketIntelligentTieringConfigurationsCommand} + */ + listBucketIntelligentTieringConfigurations(args: ListBucketIntelligentTieringConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise; + listBucketIntelligentTieringConfigurations(args: ListBucketIntelligentTieringConfigurationsCommandInput, cb: (err: any, data?: ListBucketIntelligentTieringConfigurationsCommandOutput) => void): void; + listBucketIntelligentTieringConfigurations(args: ListBucketIntelligentTieringConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBucketIntelligentTieringConfigurationsCommandOutput) => void): void; + /** + * @see {@link ListBucketInventoryConfigurationsCommand} + */ + listBucketInventoryConfigurations(args: ListBucketInventoryConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise; + listBucketInventoryConfigurations(args: ListBucketInventoryConfigurationsCommandInput, cb: (err: any, data?: ListBucketInventoryConfigurationsCommandOutput) => void): void; + listBucketInventoryConfigurations(args: ListBucketInventoryConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBucketInventoryConfigurationsCommandOutput) => void): void; + /** + * @see {@link ListBucketMetricsConfigurationsCommand} + */ + listBucketMetricsConfigurations(args: ListBucketMetricsConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise; + listBucketMetricsConfigurations(args: ListBucketMetricsConfigurationsCommandInput, cb: (err: any, data?: ListBucketMetricsConfigurationsCommandOutput) => void): void; + listBucketMetricsConfigurations(args: ListBucketMetricsConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBucketMetricsConfigurationsCommandOutput) => void): void; + /** + * @see {@link ListBucketsCommand} + */ + listBuckets(): Promise; + listBuckets(args: ListBucketsCommandInput, options?: __HttpHandlerOptions): Promise; + listBuckets(args: ListBucketsCommandInput, cb: (err: any, data?: ListBucketsCommandOutput) => void): void; + listBuckets(args: ListBucketsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBucketsCommandOutput) => void): void; + /** + * @see {@link ListDirectoryBucketsCommand} + */ + listDirectoryBuckets(): Promise; + listDirectoryBuckets(args: ListDirectoryBucketsCommandInput, options?: __HttpHandlerOptions): Promise; + listDirectoryBuckets(args: ListDirectoryBucketsCommandInput, cb: (err: any, data?: ListDirectoryBucketsCommandOutput) => void): void; + listDirectoryBuckets(args: ListDirectoryBucketsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDirectoryBucketsCommandOutput) => void): void; + /** + * @see {@link ListMultipartUploadsCommand} + */ + listMultipartUploads(args: ListMultipartUploadsCommandInput, options?: __HttpHandlerOptions): Promise; + listMultipartUploads(args: ListMultipartUploadsCommandInput, cb: (err: any, data?: ListMultipartUploadsCommandOutput) => void): void; + listMultipartUploads(args: ListMultipartUploadsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMultipartUploadsCommandOutput) => void): void; + /** + * @see {@link ListObjectsCommand} + */ + listObjects(args: ListObjectsCommandInput, options?: __HttpHandlerOptions): Promise; + listObjects(args: ListObjectsCommandInput, cb: (err: any, data?: ListObjectsCommandOutput) => void): void; + listObjects(args: ListObjectsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListObjectsCommandOutput) => void): void; + /** + * @see {@link ListObjectsV2Command} + */ + listObjectsV2(args: ListObjectsV2CommandInput, options?: __HttpHandlerOptions): Promise; + listObjectsV2(args: ListObjectsV2CommandInput, cb: (err: any, data?: ListObjectsV2CommandOutput) => void): void; + listObjectsV2(args: ListObjectsV2CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListObjectsV2CommandOutput) => void): void; + /** + * @see {@link ListObjectVersionsCommand} + */ + listObjectVersions(args: ListObjectVersionsCommandInput, options?: __HttpHandlerOptions): Promise; + listObjectVersions(args: ListObjectVersionsCommandInput, cb: (err: any, data?: ListObjectVersionsCommandOutput) => void): void; + listObjectVersions(args: ListObjectVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListObjectVersionsCommandOutput) => void): void; + /** + * @see {@link ListPartsCommand} + */ + listParts(args: ListPartsCommandInput, options?: __HttpHandlerOptions): Promise; + listParts(args: ListPartsCommandInput, cb: (err: any, data?: ListPartsCommandOutput) => void): void; + listParts(args: ListPartsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPartsCommandOutput) => void): void; + /** + * @see {@link PutBucketAbacCommand} + */ + putBucketAbac(args: PutBucketAbacCommandInput, options?: __HttpHandlerOptions): Promise; + putBucketAbac(args: PutBucketAbacCommandInput, cb: (err: any, data?: PutBucketAbacCommandOutput) => void): void; + putBucketAbac(args: PutBucketAbacCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketAbacCommandOutput) => void): void; + /** + * @see {@link PutBucketAccelerateConfigurationCommand} + */ + putBucketAccelerateConfiguration(args: PutBucketAccelerateConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + putBucketAccelerateConfiguration(args: PutBucketAccelerateConfigurationCommandInput, cb: (err: any, data?: PutBucketAccelerateConfigurationCommandOutput) => void): void; + putBucketAccelerateConfiguration(args: PutBucketAccelerateConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketAccelerateConfigurationCommandOutput) => void): void; + /** + * @see {@link PutBucketAclCommand} + */ + putBucketAcl(args: PutBucketAclCommandInput, options?: __HttpHandlerOptions): Promise; + putBucketAcl(args: PutBucketAclCommandInput, cb: (err: any, data?: PutBucketAclCommandOutput) => void): void; + putBucketAcl(args: PutBucketAclCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketAclCommandOutput) => void): void; + /** + * @see {@link PutBucketAnalyticsConfigurationCommand} + */ + putBucketAnalyticsConfiguration(args: PutBucketAnalyticsConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + putBucketAnalyticsConfiguration(args: PutBucketAnalyticsConfigurationCommandInput, cb: (err: any, data?: PutBucketAnalyticsConfigurationCommandOutput) => void): void; + putBucketAnalyticsConfiguration(args: PutBucketAnalyticsConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketAnalyticsConfigurationCommandOutput) => void): void; + /** + * @see {@link PutBucketCorsCommand} + */ + putBucketCors(args: PutBucketCorsCommandInput, options?: __HttpHandlerOptions): Promise; + putBucketCors(args: PutBucketCorsCommandInput, cb: (err: any, data?: PutBucketCorsCommandOutput) => void): void; + putBucketCors(args: PutBucketCorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketCorsCommandOutput) => void): void; + /** + * @see {@link PutBucketEncryptionCommand} + */ + putBucketEncryption(args: PutBucketEncryptionCommandInput, options?: __HttpHandlerOptions): Promise; + putBucketEncryption(args: PutBucketEncryptionCommandInput, cb: (err: any, data?: PutBucketEncryptionCommandOutput) => void): void; + putBucketEncryption(args: PutBucketEncryptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketEncryptionCommandOutput) => void): void; + /** + * @see {@link PutBucketIntelligentTieringConfigurationCommand} + */ + putBucketIntelligentTieringConfiguration(args: PutBucketIntelligentTieringConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + putBucketIntelligentTieringConfiguration(args: PutBucketIntelligentTieringConfigurationCommandInput, cb: (err: any, data?: PutBucketIntelligentTieringConfigurationCommandOutput) => void): void; + putBucketIntelligentTieringConfiguration(args: PutBucketIntelligentTieringConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketIntelligentTieringConfigurationCommandOutput) => void): void; + /** + * @see {@link PutBucketInventoryConfigurationCommand} + */ + putBucketInventoryConfiguration(args: PutBucketInventoryConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + putBucketInventoryConfiguration(args: PutBucketInventoryConfigurationCommandInput, cb: (err: any, data?: PutBucketInventoryConfigurationCommandOutput) => void): void; + putBucketInventoryConfiguration(args: PutBucketInventoryConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketInventoryConfigurationCommandOutput) => void): void; + /** + * @see {@link PutBucketLifecycleConfigurationCommand} + */ + putBucketLifecycleConfiguration(args: PutBucketLifecycleConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + putBucketLifecycleConfiguration(args: PutBucketLifecycleConfigurationCommandInput, cb: (err: any, data?: PutBucketLifecycleConfigurationCommandOutput) => void): void; + putBucketLifecycleConfiguration(args: PutBucketLifecycleConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketLifecycleConfigurationCommandOutput) => void): void; + /** + * @see {@link PutBucketLoggingCommand} + */ + putBucketLogging(args: PutBucketLoggingCommandInput, options?: __HttpHandlerOptions): Promise; + putBucketLogging(args: PutBucketLoggingCommandInput, cb: (err: any, data?: PutBucketLoggingCommandOutput) => void): void; + putBucketLogging(args: PutBucketLoggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketLoggingCommandOutput) => void): void; + /** + * @see {@link PutBucketMetricsConfigurationCommand} + */ + putBucketMetricsConfiguration(args: PutBucketMetricsConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + putBucketMetricsConfiguration(args: PutBucketMetricsConfigurationCommandInput, cb: (err: any, data?: PutBucketMetricsConfigurationCommandOutput) => void): void; + putBucketMetricsConfiguration(args: PutBucketMetricsConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketMetricsConfigurationCommandOutput) => void): void; + /** + * @see {@link PutBucketNotificationConfigurationCommand} + */ + putBucketNotificationConfiguration(args: PutBucketNotificationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + putBucketNotificationConfiguration(args: PutBucketNotificationConfigurationCommandInput, cb: (err: any, data?: PutBucketNotificationConfigurationCommandOutput) => void): void; + putBucketNotificationConfiguration(args: PutBucketNotificationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketNotificationConfigurationCommandOutput) => void): void; + /** + * @see {@link PutBucketOwnershipControlsCommand} + */ + putBucketOwnershipControls(args: PutBucketOwnershipControlsCommandInput, options?: __HttpHandlerOptions): Promise; + putBucketOwnershipControls(args: PutBucketOwnershipControlsCommandInput, cb: (err: any, data?: PutBucketOwnershipControlsCommandOutput) => void): void; + putBucketOwnershipControls(args: PutBucketOwnershipControlsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketOwnershipControlsCommandOutput) => void): void; + /** + * @see {@link PutBucketPolicyCommand} + */ + putBucketPolicy(args: PutBucketPolicyCommandInput, options?: __HttpHandlerOptions): Promise; + putBucketPolicy(args: PutBucketPolicyCommandInput, cb: (err: any, data?: PutBucketPolicyCommandOutput) => void): void; + putBucketPolicy(args: PutBucketPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketPolicyCommandOutput) => void): void; + /** + * @see {@link PutBucketReplicationCommand} + */ + putBucketReplication(args: PutBucketReplicationCommandInput, options?: __HttpHandlerOptions): Promise; + putBucketReplication(args: PutBucketReplicationCommandInput, cb: (err: any, data?: PutBucketReplicationCommandOutput) => void): void; + putBucketReplication(args: PutBucketReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketReplicationCommandOutput) => void): void; + /** + * @see {@link PutBucketRequestPaymentCommand} + */ + putBucketRequestPayment(args: PutBucketRequestPaymentCommandInput, options?: __HttpHandlerOptions): Promise; + putBucketRequestPayment(args: PutBucketRequestPaymentCommandInput, cb: (err: any, data?: PutBucketRequestPaymentCommandOutput) => void): void; + putBucketRequestPayment(args: PutBucketRequestPaymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketRequestPaymentCommandOutput) => void): void; + /** + * @see {@link PutBucketTaggingCommand} + */ + putBucketTagging(args: PutBucketTaggingCommandInput, options?: __HttpHandlerOptions): Promise; + putBucketTagging(args: PutBucketTaggingCommandInput, cb: (err: any, data?: PutBucketTaggingCommandOutput) => void): void; + putBucketTagging(args: PutBucketTaggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketTaggingCommandOutput) => void): void; + /** + * @see {@link PutBucketVersioningCommand} + */ + putBucketVersioning(args: PutBucketVersioningCommandInput, options?: __HttpHandlerOptions): Promise; + putBucketVersioning(args: PutBucketVersioningCommandInput, cb: (err: any, data?: PutBucketVersioningCommandOutput) => void): void; + putBucketVersioning(args: PutBucketVersioningCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketVersioningCommandOutput) => void): void; + /** + * @see {@link PutBucketWebsiteCommand} + */ + putBucketWebsite(args: PutBucketWebsiteCommandInput, options?: __HttpHandlerOptions): Promise; + putBucketWebsite(args: PutBucketWebsiteCommandInput, cb: (err: any, data?: PutBucketWebsiteCommandOutput) => void): void; + putBucketWebsite(args: PutBucketWebsiteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketWebsiteCommandOutput) => void): void; + /** + * @see {@link PutObjectCommand} + */ + putObject(args: PutObjectCommandInput, options?: __HttpHandlerOptions): Promise; + putObject(args: PutObjectCommandInput, cb: (err: any, data?: PutObjectCommandOutput) => void): void; + putObject(args: PutObjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutObjectCommandOutput) => void): void; + /** + * @see {@link PutObjectAclCommand} + */ + putObjectAcl(args: PutObjectAclCommandInput, options?: __HttpHandlerOptions): Promise; + putObjectAcl(args: PutObjectAclCommandInput, cb: (err: any, data?: PutObjectAclCommandOutput) => void): void; + putObjectAcl(args: PutObjectAclCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutObjectAclCommandOutput) => void): void; + /** + * @see {@link PutObjectLegalHoldCommand} + */ + putObjectLegalHold(args: PutObjectLegalHoldCommandInput, options?: __HttpHandlerOptions): Promise; + putObjectLegalHold(args: PutObjectLegalHoldCommandInput, cb: (err: any, data?: PutObjectLegalHoldCommandOutput) => void): void; + putObjectLegalHold(args: PutObjectLegalHoldCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutObjectLegalHoldCommandOutput) => void): void; + /** + * @see {@link PutObjectLockConfigurationCommand} + */ + putObjectLockConfiguration(args: PutObjectLockConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + putObjectLockConfiguration(args: PutObjectLockConfigurationCommandInput, cb: (err: any, data?: PutObjectLockConfigurationCommandOutput) => void): void; + putObjectLockConfiguration(args: PutObjectLockConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutObjectLockConfigurationCommandOutput) => void): void; + /** + * @see {@link PutObjectRetentionCommand} + */ + putObjectRetention(args: PutObjectRetentionCommandInput, options?: __HttpHandlerOptions): Promise; + putObjectRetention(args: PutObjectRetentionCommandInput, cb: (err: any, data?: PutObjectRetentionCommandOutput) => void): void; + putObjectRetention(args: PutObjectRetentionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutObjectRetentionCommandOutput) => void): void; + /** + * @see {@link PutObjectTaggingCommand} + */ + putObjectTagging(args: PutObjectTaggingCommandInput, options?: __HttpHandlerOptions): Promise; + putObjectTagging(args: PutObjectTaggingCommandInput, cb: (err: any, data?: PutObjectTaggingCommandOutput) => void): void; + putObjectTagging(args: PutObjectTaggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutObjectTaggingCommandOutput) => void): void; + /** + * @see {@link PutPublicAccessBlockCommand} + */ + putPublicAccessBlock(args: PutPublicAccessBlockCommandInput, options?: __HttpHandlerOptions): Promise; + putPublicAccessBlock(args: PutPublicAccessBlockCommandInput, cb: (err: any, data?: PutPublicAccessBlockCommandOutput) => void): void; + putPublicAccessBlock(args: PutPublicAccessBlockCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPublicAccessBlockCommandOutput) => void): void; + /** + * @see {@link RenameObjectCommand} + */ + renameObject(args: RenameObjectCommandInput, options?: __HttpHandlerOptions): Promise; + renameObject(args: RenameObjectCommandInput, cb: (err: any, data?: RenameObjectCommandOutput) => void): void; + renameObject(args: RenameObjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RenameObjectCommandOutput) => void): void; + /** + * @see {@link RestoreObjectCommand} + */ + restoreObject(args: RestoreObjectCommandInput, options?: __HttpHandlerOptions): Promise; + restoreObject(args: RestoreObjectCommandInput, cb: (err: any, data?: RestoreObjectCommandOutput) => void): void; + restoreObject(args: RestoreObjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreObjectCommandOutput) => void): void; + /** + * @see {@link SelectObjectContentCommand} + */ + selectObjectContent(args: SelectObjectContentCommandInput, options?: __HttpHandlerOptions): Promise; + selectObjectContent(args: SelectObjectContentCommandInput, cb: (err: any, data?: SelectObjectContentCommandOutput) => void): void; + selectObjectContent(args: SelectObjectContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SelectObjectContentCommandOutput) => void): void; + /** + * @see {@link UpdateBucketMetadataInventoryTableConfigurationCommand} + */ + updateBucketMetadataInventoryTableConfiguration(args: UpdateBucketMetadataInventoryTableConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + updateBucketMetadataInventoryTableConfiguration(args: UpdateBucketMetadataInventoryTableConfigurationCommandInput, cb: (err: any, data?: UpdateBucketMetadataInventoryTableConfigurationCommandOutput) => void): void; + updateBucketMetadataInventoryTableConfiguration(args: UpdateBucketMetadataInventoryTableConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBucketMetadataInventoryTableConfigurationCommandOutput) => void): void; + /** + * @see {@link UpdateBucketMetadataJournalTableConfigurationCommand} + */ + updateBucketMetadataJournalTableConfiguration(args: UpdateBucketMetadataJournalTableConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; + updateBucketMetadataJournalTableConfiguration(args: UpdateBucketMetadataJournalTableConfigurationCommandInput, cb: (err: any, data?: UpdateBucketMetadataJournalTableConfigurationCommandOutput) => void): void; + updateBucketMetadataJournalTableConfiguration(args: UpdateBucketMetadataJournalTableConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBucketMetadataJournalTableConfigurationCommandOutput) => void): void; + /** + * @see {@link UpdateObjectEncryptionCommand} + */ + updateObjectEncryption(args: UpdateObjectEncryptionCommandInput, options?: __HttpHandlerOptions): Promise; + updateObjectEncryption(args: UpdateObjectEncryptionCommandInput, cb: (err: any, data?: UpdateObjectEncryptionCommandOutput) => void): void; + updateObjectEncryption(args: UpdateObjectEncryptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateObjectEncryptionCommandOutput) => void): void; + /** + * @see {@link UploadPartCommand} + */ + uploadPart(args: UploadPartCommandInput, options?: __HttpHandlerOptions): Promise; + uploadPart(args: UploadPartCommandInput, cb: (err: any, data?: UploadPartCommandOutput) => void): void; + uploadPart(args: UploadPartCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UploadPartCommandOutput) => void): void; + /** + * @see {@link UploadPartCopyCommand} + */ + uploadPartCopy(args: UploadPartCopyCommandInput, options?: __HttpHandlerOptions): Promise; + uploadPartCopy(args: UploadPartCopyCommandInput, cb: (err: any, data?: UploadPartCopyCommandOutput) => void): void; + uploadPartCopy(args: UploadPartCopyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UploadPartCopyCommandOutput) => void): void; + /** + * @see {@link WriteGetObjectResponseCommand} + */ + writeGetObjectResponse(args: WriteGetObjectResponseCommandInput, options?: __HttpHandlerOptions): Promise; + writeGetObjectResponse(args: WriteGetObjectResponseCommandInput, cb: (err: any, data?: WriteGetObjectResponseCommandOutput) => void): void; + writeGetObjectResponse(args: WriteGetObjectResponseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: WriteGetObjectResponseCommandOutput) => void): void; + /** + * @see {@link ListBucketsCommand} + * @param args - command input. + * @param paginationConfig - optional pagination config. + * @returns AsyncIterable of {@link ListBucketsCommandOutput}. + */ + paginateListBuckets(args?: ListBucketsCommandInput, paginationConfig?: Omit): Paginator; + /** + * @see {@link ListDirectoryBucketsCommand} + * @param args - command input. + * @param paginationConfig - optional pagination config. + * @returns AsyncIterable of {@link ListDirectoryBucketsCommandOutput}. + */ + paginateListDirectoryBuckets(args?: ListDirectoryBucketsCommandInput, paginationConfig?: Omit): Paginator; + /** + * @see {@link ListObjectsV2Command} + * @param args - command input. + * @param paginationConfig - optional pagination config. + * @returns AsyncIterable of {@link ListObjectsV2CommandOutput}. + */ + paginateListObjectsV2(args: ListObjectsV2CommandInput, paginationConfig?: Omit): Paginator; + /** + * @see {@link ListPartsCommand} + * @param args - command input. + * @param paginationConfig - optional pagination config. + * @returns AsyncIterable of {@link ListPartsCommandOutput}. + */ + paginateListParts(args: ListPartsCommandInput, paginationConfig?: Omit): Paginator; + /** + * @see {@link HeadBucketCommand} + * @param args - command input. + * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. + */ + waitUntilBucketExists(args: HeadBucketCommandInput, waiterConfig: number | Omit, "client">): Promise; + /** + * @see {@link HeadBucketCommand} + * @param args - command input. + * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. + */ + waitUntilBucketNotExists(args: HeadBucketCommandInput, waiterConfig: number | Omit, "client">): Promise; + /** + * @see {@link HeadObjectCommand} + * @param args - command input. + * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. + */ + waitUntilObjectExists(args: HeadObjectCommandInput, waiterConfig: number | Omit, "client">): Promise; + /** + * @see {@link HeadObjectCommand} + * @param args - command input. + * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. + */ + waitUntilObjectNotExists(args: HeadObjectCommandInput, waiterConfig: number | Omit, "client">): Promise; +} +/** + *

+ * @public + */ +export declare class S3 extends S3Client implements S3 { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts new file mode 100644 index 0000000..0476708 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts @@ -0,0 +1,339 @@ +import { type FlexibleChecksumsInputConfig, type FlexibleChecksumsResolvedConfig } from "@aws-sdk/middleware-flexible-checksums"; +import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header"; +import { type S3InputConfig, type S3ResolvedConfig } from "@aws-sdk/middleware-sdk-s3"; +import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent"; +import type { GetAwsChunkedEncodingStream } from "@aws-sdk/types"; +import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver"; +import { type EventStreamSerdeInputConfig, type EventStreamSerdeResolvedConfig } from "@smithy/eventstream-serde-config-resolver"; +import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint"; +import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry"; +import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http"; +import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client"; +import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, StreamHasher as __StreamHasher, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types"; +import type { Readable as Readable } from "node:stream"; +import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider"; +import type { AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput } from "./commands/AbortMultipartUploadCommand"; +import type { CompleteMultipartUploadCommandInput, CompleteMultipartUploadCommandOutput } from "./commands/CompleteMultipartUploadCommand"; +import type { CopyObjectCommandInput, CopyObjectCommandOutput } from "./commands/CopyObjectCommand"; +import type { CreateBucketCommandInput, CreateBucketCommandOutput } from "./commands/CreateBucketCommand"; +import type { CreateBucketMetadataConfigurationCommandInput, CreateBucketMetadataConfigurationCommandOutput } from "./commands/CreateBucketMetadataConfigurationCommand"; +import type { CreateBucketMetadataTableConfigurationCommandInput, CreateBucketMetadataTableConfigurationCommandOutput } from "./commands/CreateBucketMetadataTableConfigurationCommand"; +import type { CreateMultipartUploadCommandInput, CreateMultipartUploadCommandOutput } from "./commands/CreateMultipartUploadCommand"; +import { type CreateSessionCommandInput, type CreateSessionCommandOutput } from "./commands/CreateSessionCommand"; +import type { DeleteBucketAnalyticsConfigurationCommandInput, DeleteBucketAnalyticsConfigurationCommandOutput } from "./commands/DeleteBucketAnalyticsConfigurationCommand"; +import type { DeleteBucketCommandInput, DeleteBucketCommandOutput } from "./commands/DeleteBucketCommand"; +import type { DeleteBucketCorsCommandInput, DeleteBucketCorsCommandOutput } from "./commands/DeleteBucketCorsCommand"; +import type { DeleteBucketEncryptionCommandInput, DeleteBucketEncryptionCommandOutput } from "./commands/DeleteBucketEncryptionCommand"; +import type { DeleteBucketIntelligentTieringConfigurationCommandInput, DeleteBucketIntelligentTieringConfigurationCommandOutput } from "./commands/DeleteBucketIntelligentTieringConfigurationCommand"; +import type { DeleteBucketInventoryConfigurationCommandInput, DeleteBucketInventoryConfigurationCommandOutput } from "./commands/DeleteBucketInventoryConfigurationCommand"; +import type { DeleteBucketLifecycleCommandInput, DeleteBucketLifecycleCommandOutput } from "./commands/DeleteBucketLifecycleCommand"; +import type { DeleteBucketMetadataConfigurationCommandInput, DeleteBucketMetadataConfigurationCommandOutput } from "./commands/DeleteBucketMetadataConfigurationCommand"; +import type { DeleteBucketMetadataTableConfigurationCommandInput, DeleteBucketMetadataTableConfigurationCommandOutput } from "./commands/DeleteBucketMetadataTableConfigurationCommand"; +import type { DeleteBucketMetricsConfigurationCommandInput, DeleteBucketMetricsConfigurationCommandOutput } from "./commands/DeleteBucketMetricsConfigurationCommand"; +import type { DeleteBucketOwnershipControlsCommandInput, DeleteBucketOwnershipControlsCommandOutput } from "./commands/DeleteBucketOwnershipControlsCommand"; +import type { DeleteBucketPolicyCommandInput, DeleteBucketPolicyCommandOutput } from "./commands/DeleteBucketPolicyCommand"; +import type { DeleteBucketReplicationCommandInput, DeleteBucketReplicationCommandOutput } from "./commands/DeleteBucketReplicationCommand"; +import type { DeleteBucketTaggingCommandInput, DeleteBucketTaggingCommandOutput } from "./commands/DeleteBucketTaggingCommand"; +import type { DeleteBucketWebsiteCommandInput, DeleteBucketWebsiteCommandOutput } from "./commands/DeleteBucketWebsiteCommand"; +import type { DeleteObjectCommandInput, DeleteObjectCommandOutput } from "./commands/DeleteObjectCommand"; +import type { DeleteObjectsCommandInput, DeleteObjectsCommandOutput } from "./commands/DeleteObjectsCommand"; +import type { DeleteObjectTaggingCommandInput, DeleteObjectTaggingCommandOutput } from "./commands/DeleteObjectTaggingCommand"; +import type { DeletePublicAccessBlockCommandInput, DeletePublicAccessBlockCommandOutput } from "./commands/DeletePublicAccessBlockCommand"; +import type { GetBucketAbacCommandInput, GetBucketAbacCommandOutput } from "./commands/GetBucketAbacCommand"; +import type { GetBucketAccelerateConfigurationCommandInput, GetBucketAccelerateConfigurationCommandOutput } from "./commands/GetBucketAccelerateConfigurationCommand"; +import type { GetBucketAclCommandInput, GetBucketAclCommandOutput } from "./commands/GetBucketAclCommand"; +import type { GetBucketAnalyticsConfigurationCommandInput, GetBucketAnalyticsConfigurationCommandOutput } from "./commands/GetBucketAnalyticsConfigurationCommand"; +import type { GetBucketCorsCommandInput, GetBucketCorsCommandOutput } from "./commands/GetBucketCorsCommand"; +import type { GetBucketEncryptionCommandInput, GetBucketEncryptionCommandOutput } from "./commands/GetBucketEncryptionCommand"; +import type { GetBucketIntelligentTieringConfigurationCommandInput, GetBucketIntelligentTieringConfigurationCommandOutput } from "./commands/GetBucketIntelligentTieringConfigurationCommand"; +import type { GetBucketInventoryConfigurationCommandInput, GetBucketInventoryConfigurationCommandOutput } from "./commands/GetBucketInventoryConfigurationCommand"; +import type { GetBucketLifecycleConfigurationCommandInput, GetBucketLifecycleConfigurationCommandOutput } from "./commands/GetBucketLifecycleConfigurationCommand"; +import type { GetBucketLocationCommandInput, GetBucketLocationCommandOutput } from "./commands/GetBucketLocationCommand"; +import type { GetBucketLoggingCommandInput, GetBucketLoggingCommandOutput } from "./commands/GetBucketLoggingCommand"; +import type { GetBucketMetadataConfigurationCommandInput, GetBucketMetadataConfigurationCommandOutput } from "./commands/GetBucketMetadataConfigurationCommand"; +import type { GetBucketMetadataTableConfigurationCommandInput, GetBucketMetadataTableConfigurationCommandOutput } from "./commands/GetBucketMetadataTableConfigurationCommand"; +import type { GetBucketMetricsConfigurationCommandInput, GetBucketMetricsConfigurationCommandOutput } from "./commands/GetBucketMetricsConfigurationCommand"; +import type { GetBucketNotificationConfigurationCommandInput, GetBucketNotificationConfigurationCommandOutput } from "./commands/GetBucketNotificationConfigurationCommand"; +import type { GetBucketOwnershipControlsCommandInput, GetBucketOwnershipControlsCommandOutput } from "./commands/GetBucketOwnershipControlsCommand"; +import type { GetBucketPolicyCommandInput, GetBucketPolicyCommandOutput } from "./commands/GetBucketPolicyCommand"; +import type { GetBucketPolicyStatusCommandInput, GetBucketPolicyStatusCommandOutput } from "./commands/GetBucketPolicyStatusCommand"; +import type { GetBucketReplicationCommandInput, GetBucketReplicationCommandOutput } from "./commands/GetBucketReplicationCommand"; +import type { GetBucketRequestPaymentCommandInput, GetBucketRequestPaymentCommandOutput } from "./commands/GetBucketRequestPaymentCommand"; +import type { GetBucketTaggingCommandInput, GetBucketTaggingCommandOutput } from "./commands/GetBucketTaggingCommand"; +import type { GetBucketVersioningCommandInput, GetBucketVersioningCommandOutput } from "./commands/GetBucketVersioningCommand"; +import type { GetBucketWebsiteCommandInput, GetBucketWebsiteCommandOutput } from "./commands/GetBucketWebsiteCommand"; +import type { GetObjectAclCommandInput, GetObjectAclCommandOutput } from "./commands/GetObjectAclCommand"; +import type { GetObjectAttributesCommandInput, GetObjectAttributesCommandOutput } from "./commands/GetObjectAttributesCommand"; +import type { GetObjectCommandInput, GetObjectCommandOutput } from "./commands/GetObjectCommand"; +import type { GetObjectLegalHoldCommandInput, GetObjectLegalHoldCommandOutput } from "./commands/GetObjectLegalHoldCommand"; +import type { GetObjectLockConfigurationCommandInput, GetObjectLockConfigurationCommandOutput } from "./commands/GetObjectLockConfigurationCommand"; +import type { GetObjectRetentionCommandInput, GetObjectRetentionCommandOutput } from "./commands/GetObjectRetentionCommand"; +import type { GetObjectTaggingCommandInput, GetObjectTaggingCommandOutput } from "./commands/GetObjectTaggingCommand"; +import type { GetObjectTorrentCommandInput, GetObjectTorrentCommandOutput } from "./commands/GetObjectTorrentCommand"; +import type { GetPublicAccessBlockCommandInput, GetPublicAccessBlockCommandOutput } from "./commands/GetPublicAccessBlockCommand"; +import type { HeadBucketCommandInput, HeadBucketCommandOutput } from "./commands/HeadBucketCommand"; +import type { HeadObjectCommandInput, HeadObjectCommandOutput } from "./commands/HeadObjectCommand"; +import type { ListBucketAnalyticsConfigurationsCommandInput, ListBucketAnalyticsConfigurationsCommandOutput } from "./commands/ListBucketAnalyticsConfigurationsCommand"; +import type { ListBucketIntelligentTieringConfigurationsCommandInput, ListBucketIntelligentTieringConfigurationsCommandOutput } from "./commands/ListBucketIntelligentTieringConfigurationsCommand"; +import type { ListBucketInventoryConfigurationsCommandInput, ListBucketInventoryConfigurationsCommandOutput } from "./commands/ListBucketInventoryConfigurationsCommand"; +import type { ListBucketMetricsConfigurationsCommandInput, ListBucketMetricsConfigurationsCommandOutput } from "./commands/ListBucketMetricsConfigurationsCommand"; +import type { ListBucketsCommandInput, ListBucketsCommandOutput } from "./commands/ListBucketsCommand"; +import type { ListDirectoryBucketsCommandInput, ListDirectoryBucketsCommandOutput } from "./commands/ListDirectoryBucketsCommand"; +import type { ListMultipartUploadsCommandInput, ListMultipartUploadsCommandOutput } from "./commands/ListMultipartUploadsCommand"; +import type { ListObjectsCommandInput, ListObjectsCommandOutput } from "./commands/ListObjectsCommand"; +import type { ListObjectsV2CommandInput, ListObjectsV2CommandOutput } from "./commands/ListObjectsV2Command"; +import type { ListObjectVersionsCommandInput, ListObjectVersionsCommandOutput } from "./commands/ListObjectVersionsCommand"; +import type { ListPartsCommandInput, ListPartsCommandOutput } from "./commands/ListPartsCommand"; +import type { PutBucketAbacCommandInput, PutBucketAbacCommandOutput } from "./commands/PutBucketAbacCommand"; +import type { PutBucketAccelerateConfigurationCommandInput, PutBucketAccelerateConfigurationCommandOutput } from "./commands/PutBucketAccelerateConfigurationCommand"; +import type { PutBucketAclCommandInput, PutBucketAclCommandOutput } from "./commands/PutBucketAclCommand"; +import type { PutBucketAnalyticsConfigurationCommandInput, PutBucketAnalyticsConfigurationCommandOutput } from "./commands/PutBucketAnalyticsConfigurationCommand"; +import type { PutBucketCorsCommandInput, PutBucketCorsCommandOutput } from "./commands/PutBucketCorsCommand"; +import type { PutBucketEncryptionCommandInput, PutBucketEncryptionCommandOutput } from "./commands/PutBucketEncryptionCommand"; +import type { PutBucketIntelligentTieringConfigurationCommandInput, PutBucketIntelligentTieringConfigurationCommandOutput } from "./commands/PutBucketIntelligentTieringConfigurationCommand"; +import type { PutBucketInventoryConfigurationCommandInput, PutBucketInventoryConfigurationCommandOutput } from "./commands/PutBucketInventoryConfigurationCommand"; +import type { PutBucketLifecycleConfigurationCommandInput, PutBucketLifecycleConfigurationCommandOutput } from "./commands/PutBucketLifecycleConfigurationCommand"; +import type { PutBucketLoggingCommandInput, PutBucketLoggingCommandOutput } from "./commands/PutBucketLoggingCommand"; +import type { PutBucketMetricsConfigurationCommandInput, PutBucketMetricsConfigurationCommandOutput } from "./commands/PutBucketMetricsConfigurationCommand"; +import type { PutBucketNotificationConfigurationCommandInput, PutBucketNotificationConfigurationCommandOutput } from "./commands/PutBucketNotificationConfigurationCommand"; +import type { PutBucketOwnershipControlsCommandInput, PutBucketOwnershipControlsCommandOutput } from "./commands/PutBucketOwnershipControlsCommand"; +import type { PutBucketPolicyCommandInput, PutBucketPolicyCommandOutput } from "./commands/PutBucketPolicyCommand"; +import type { PutBucketReplicationCommandInput, PutBucketReplicationCommandOutput } from "./commands/PutBucketReplicationCommand"; +import type { PutBucketRequestPaymentCommandInput, PutBucketRequestPaymentCommandOutput } from "./commands/PutBucketRequestPaymentCommand"; +import type { PutBucketTaggingCommandInput, PutBucketTaggingCommandOutput } from "./commands/PutBucketTaggingCommand"; +import type { PutBucketVersioningCommandInput, PutBucketVersioningCommandOutput } from "./commands/PutBucketVersioningCommand"; +import type { PutBucketWebsiteCommandInput, PutBucketWebsiteCommandOutput } from "./commands/PutBucketWebsiteCommand"; +import type { PutObjectAclCommandInput, PutObjectAclCommandOutput } from "./commands/PutObjectAclCommand"; +import type { PutObjectCommandInput, PutObjectCommandOutput } from "./commands/PutObjectCommand"; +import type { PutObjectLegalHoldCommandInput, PutObjectLegalHoldCommandOutput } from "./commands/PutObjectLegalHoldCommand"; +import type { PutObjectLockConfigurationCommandInput, PutObjectLockConfigurationCommandOutput } from "./commands/PutObjectLockConfigurationCommand"; +import type { PutObjectRetentionCommandInput, PutObjectRetentionCommandOutput } from "./commands/PutObjectRetentionCommand"; +import type { PutObjectTaggingCommandInput, PutObjectTaggingCommandOutput } from "./commands/PutObjectTaggingCommand"; +import type { PutPublicAccessBlockCommandInput, PutPublicAccessBlockCommandOutput } from "./commands/PutPublicAccessBlockCommand"; +import type { RenameObjectCommandInput, RenameObjectCommandOutput } from "./commands/RenameObjectCommand"; +import type { RestoreObjectCommandInput, RestoreObjectCommandOutput } from "./commands/RestoreObjectCommand"; +import type { SelectObjectContentCommandInput, SelectObjectContentCommandOutput } from "./commands/SelectObjectContentCommand"; +import type { UpdateBucketMetadataInventoryTableConfigurationCommandInput, UpdateBucketMetadataInventoryTableConfigurationCommandOutput } from "./commands/UpdateBucketMetadataInventoryTableConfigurationCommand"; +import type { UpdateBucketMetadataJournalTableConfigurationCommandInput, UpdateBucketMetadataJournalTableConfigurationCommandOutput } from "./commands/UpdateBucketMetadataJournalTableConfigurationCommand"; +import type { UpdateObjectEncryptionCommandInput, UpdateObjectEncryptionCommandOutput } from "./commands/UpdateObjectEncryptionCommand"; +import type { UploadPartCommandInput, UploadPartCommandOutput } from "./commands/UploadPartCommand"; +import type { UploadPartCopyCommandInput, UploadPartCopyCommandOutput } from "./commands/UploadPartCopyCommand"; +import type { WriteGetObjectResponseCommandInput, WriteGetObjectResponseCommandOutput } from "./commands/WriteGetObjectResponseCommand"; +import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters"; +import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions"; +export { __Client }; +/** + * @public + */ +export type ServiceInputTypes = AbortMultipartUploadCommandInput | CompleteMultipartUploadCommandInput | CopyObjectCommandInput | CreateBucketCommandInput | CreateBucketMetadataConfigurationCommandInput | CreateBucketMetadataTableConfigurationCommandInput | CreateMultipartUploadCommandInput | CreateSessionCommandInput | DeleteBucketAnalyticsConfigurationCommandInput | DeleteBucketCommandInput | DeleteBucketCorsCommandInput | DeleteBucketEncryptionCommandInput | DeleteBucketIntelligentTieringConfigurationCommandInput | DeleteBucketInventoryConfigurationCommandInput | DeleteBucketLifecycleCommandInput | DeleteBucketMetadataConfigurationCommandInput | DeleteBucketMetadataTableConfigurationCommandInput | DeleteBucketMetricsConfigurationCommandInput | DeleteBucketOwnershipControlsCommandInput | DeleteBucketPolicyCommandInput | DeleteBucketReplicationCommandInput | DeleteBucketTaggingCommandInput | DeleteBucketWebsiteCommandInput | DeleteObjectCommandInput | DeleteObjectTaggingCommandInput | DeleteObjectsCommandInput | DeletePublicAccessBlockCommandInput | GetBucketAbacCommandInput | GetBucketAccelerateConfigurationCommandInput | GetBucketAclCommandInput | GetBucketAnalyticsConfigurationCommandInput | GetBucketCorsCommandInput | GetBucketEncryptionCommandInput | GetBucketIntelligentTieringConfigurationCommandInput | GetBucketInventoryConfigurationCommandInput | GetBucketLifecycleConfigurationCommandInput | GetBucketLocationCommandInput | GetBucketLoggingCommandInput | GetBucketMetadataConfigurationCommandInput | GetBucketMetadataTableConfigurationCommandInput | GetBucketMetricsConfigurationCommandInput | GetBucketNotificationConfigurationCommandInput | GetBucketOwnershipControlsCommandInput | GetBucketPolicyCommandInput | GetBucketPolicyStatusCommandInput | GetBucketReplicationCommandInput | GetBucketRequestPaymentCommandInput | GetBucketTaggingCommandInput | GetBucketVersioningCommandInput | GetBucketWebsiteCommandInput | GetObjectAclCommandInput | GetObjectAttributesCommandInput | GetObjectCommandInput | GetObjectLegalHoldCommandInput | GetObjectLockConfigurationCommandInput | GetObjectRetentionCommandInput | GetObjectTaggingCommandInput | GetObjectTorrentCommandInput | GetPublicAccessBlockCommandInput | HeadBucketCommandInput | HeadObjectCommandInput | ListBucketAnalyticsConfigurationsCommandInput | ListBucketIntelligentTieringConfigurationsCommandInput | ListBucketInventoryConfigurationsCommandInput | ListBucketMetricsConfigurationsCommandInput | ListBucketsCommandInput | ListDirectoryBucketsCommandInput | ListMultipartUploadsCommandInput | ListObjectVersionsCommandInput | ListObjectsCommandInput | ListObjectsV2CommandInput | ListPartsCommandInput | PutBucketAbacCommandInput | PutBucketAccelerateConfigurationCommandInput | PutBucketAclCommandInput | PutBucketAnalyticsConfigurationCommandInput | PutBucketCorsCommandInput | PutBucketEncryptionCommandInput | PutBucketIntelligentTieringConfigurationCommandInput | PutBucketInventoryConfigurationCommandInput | PutBucketLifecycleConfigurationCommandInput | PutBucketLoggingCommandInput | PutBucketMetricsConfigurationCommandInput | PutBucketNotificationConfigurationCommandInput | PutBucketOwnershipControlsCommandInput | PutBucketPolicyCommandInput | PutBucketReplicationCommandInput | PutBucketRequestPaymentCommandInput | PutBucketTaggingCommandInput | PutBucketVersioningCommandInput | PutBucketWebsiteCommandInput | PutObjectAclCommandInput | PutObjectCommandInput | PutObjectLegalHoldCommandInput | PutObjectLockConfigurationCommandInput | PutObjectRetentionCommandInput | PutObjectTaggingCommandInput | PutPublicAccessBlockCommandInput | RenameObjectCommandInput | RestoreObjectCommandInput | SelectObjectContentCommandInput | UpdateBucketMetadataInventoryTableConfigurationCommandInput | UpdateBucketMetadataJournalTableConfigurationCommandInput | UpdateObjectEncryptionCommandInput | UploadPartCommandInput | UploadPartCopyCommandInput | WriteGetObjectResponseCommandInput; +/** + * @public + */ +export type ServiceOutputTypes = AbortMultipartUploadCommandOutput | CompleteMultipartUploadCommandOutput | CopyObjectCommandOutput | CreateBucketCommandOutput | CreateBucketMetadataConfigurationCommandOutput | CreateBucketMetadataTableConfigurationCommandOutput | CreateMultipartUploadCommandOutput | CreateSessionCommandOutput | DeleteBucketAnalyticsConfigurationCommandOutput | DeleteBucketCommandOutput | DeleteBucketCorsCommandOutput | DeleteBucketEncryptionCommandOutput | DeleteBucketIntelligentTieringConfigurationCommandOutput | DeleteBucketInventoryConfigurationCommandOutput | DeleteBucketLifecycleCommandOutput | DeleteBucketMetadataConfigurationCommandOutput | DeleteBucketMetadataTableConfigurationCommandOutput | DeleteBucketMetricsConfigurationCommandOutput | DeleteBucketOwnershipControlsCommandOutput | DeleteBucketPolicyCommandOutput | DeleteBucketReplicationCommandOutput | DeleteBucketTaggingCommandOutput | DeleteBucketWebsiteCommandOutput | DeleteObjectCommandOutput | DeleteObjectTaggingCommandOutput | DeleteObjectsCommandOutput | DeletePublicAccessBlockCommandOutput | GetBucketAbacCommandOutput | GetBucketAccelerateConfigurationCommandOutput | GetBucketAclCommandOutput | GetBucketAnalyticsConfigurationCommandOutput | GetBucketCorsCommandOutput | GetBucketEncryptionCommandOutput | GetBucketIntelligentTieringConfigurationCommandOutput | GetBucketInventoryConfigurationCommandOutput | GetBucketLifecycleConfigurationCommandOutput | GetBucketLocationCommandOutput | GetBucketLoggingCommandOutput | GetBucketMetadataConfigurationCommandOutput | GetBucketMetadataTableConfigurationCommandOutput | GetBucketMetricsConfigurationCommandOutput | GetBucketNotificationConfigurationCommandOutput | GetBucketOwnershipControlsCommandOutput | GetBucketPolicyCommandOutput | GetBucketPolicyStatusCommandOutput | GetBucketReplicationCommandOutput | GetBucketRequestPaymentCommandOutput | GetBucketTaggingCommandOutput | GetBucketVersioningCommandOutput | GetBucketWebsiteCommandOutput | GetObjectAclCommandOutput | GetObjectAttributesCommandOutput | GetObjectCommandOutput | GetObjectLegalHoldCommandOutput | GetObjectLockConfigurationCommandOutput | GetObjectRetentionCommandOutput | GetObjectTaggingCommandOutput | GetObjectTorrentCommandOutput | GetPublicAccessBlockCommandOutput | HeadBucketCommandOutput | HeadObjectCommandOutput | ListBucketAnalyticsConfigurationsCommandOutput | ListBucketIntelligentTieringConfigurationsCommandOutput | ListBucketInventoryConfigurationsCommandOutput | ListBucketMetricsConfigurationsCommandOutput | ListBucketsCommandOutput | ListDirectoryBucketsCommandOutput | ListMultipartUploadsCommandOutput | ListObjectVersionsCommandOutput | ListObjectsCommandOutput | ListObjectsV2CommandOutput | ListPartsCommandOutput | PutBucketAbacCommandOutput | PutBucketAccelerateConfigurationCommandOutput | PutBucketAclCommandOutput | PutBucketAnalyticsConfigurationCommandOutput | PutBucketCorsCommandOutput | PutBucketEncryptionCommandOutput | PutBucketIntelligentTieringConfigurationCommandOutput | PutBucketInventoryConfigurationCommandOutput | PutBucketLifecycleConfigurationCommandOutput | PutBucketLoggingCommandOutput | PutBucketMetricsConfigurationCommandOutput | PutBucketNotificationConfigurationCommandOutput | PutBucketOwnershipControlsCommandOutput | PutBucketPolicyCommandOutput | PutBucketReplicationCommandOutput | PutBucketRequestPaymentCommandOutput | PutBucketTaggingCommandOutput | PutBucketVersioningCommandOutput | PutBucketWebsiteCommandOutput | PutObjectAclCommandOutput | PutObjectCommandOutput | PutObjectLegalHoldCommandOutput | PutObjectLockConfigurationCommandOutput | PutObjectRetentionCommandOutput | PutObjectTaggingCommandOutput | PutPublicAccessBlockCommandOutput | RenameObjectCommandOutput | RestoreObjectCommandOutput | SelectObjectContentCommandOutput | UpdateBucketMetadataInventoryTableConfigurationCommandOutput | UpdateBucketMetadataJournalTableConfigurationCommandOutput | UpdateObjectEncryptionCommandOutput | UploadPartCommandOutput | UploadPartCopyCommandOutput | WriteGetObjectResponseCommandOutput; +/** + * @public + */ +export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { + /** + * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs. + */ + requestHandler?: __HttpHandlerUserInput; + /** + * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface + * that computes the SHA-256 HMAC or checksum of a string or binary buffer. + * @internal + */ + sha256?: __ChecksumConstructor | __HashConstructor; + /** + * The function that will be used to convert strings into HTTP endpoints. + * @internal + */ + urlParser?: __UrlParser; + /** + * A function that can calculate the length of a request body. + * @internal + */ + bodyLengthChecker?: __BodyLengthCalculator; + /** + * A function that converts a stream into an array of bytes. + * @internal + */ + streamCollector?: __StreamCollector; + /** + * The function that will be used to convert a base64-encoded string to a byte array. + * @internal + */ + base64Decoder?: __Decoder; + /** + * The function that will be used to convert binary data to a base64-encoded string. + * @internal + */ + base64Encoder?: __Encoder; + /** + * The function that will be used to convert a UTF8-encoded string to a byte array. + * @internal + */ + utf8Decoder?: __Decoder; + /** + * The function that will be used to convert binary data to a UTF-8 encoded string. + * @internal + */ + utf8Encoder?: __Encoder; + /** + * The runtime environment. + * @internal + */ + runtime?: string; + /** + * Disable dynamically changing the endpoint of the client based on the hostPrefix + * trait of an operation. + */ + disableHostPrefix?: boolean; + /** + * Unique service identifier. + * @internal + */ + serviceId?: string; + /** + * Enables IPv6/IPv4 dualstack endpoint. + */ + useDualstackEndpoint?: boolean | __Provider; + /** + * Enables FIPS compatible endpoints. + */ + useFipsEndpoint?: boolean | __Provider; + /** + * The AWS region to which this client will send requests + */ + region?: string | __Provider; + /** + * Setting a client profile is similar to setting a value for the + * AWS_PROFILE environment variable. Setting a profile on a client + * in code only affects the single client instance, unlike AWS_PROFILE. + * + * When set, and only for environments where an AWS configuration + * file exists, fields configurable by this file will be retrieved + * from the specified profile within that file. + * Conflicting code configuration and environment variables will + * still have higher priority. + * + * For client credential resolution that involves checking the AWS + * configuration file, the client's profile (this value) will be + * used unless a different profile is set in the credential + * provider options. + * + */ + profile?: string; + /** + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal + */ + defaultUserAgentProvider?: __Provider<__UserAgent>; + /** + * A function that, given a hash constructor and a stream, calculates the + * hash of the streamed value. + * @internal + */ + streamHasher?: __StreamHasher | __StreamHasher; + /** + * A constructor for a class implementing the {@link __Checksum} interface + * that computes MD5 hashes. + * @internal + */ + md5?: __ChecksumConstructor | __HashConstructor; + /** + * A constructor for a class implementing the {@link __Checksum} interface + * that computes SHA1 hashes. + * @internal + */ + sha1?: __ChecksumConstructor | __HashConstructor; + /** + * A function that returns Readable Stream which follows aws-chunked encoding stream. + * @internal + */ + getAwsChunkedEncodingStream?: GetAwsChunkedEncodingStream; + /** + * Default credentials provider; Not available in browser runtime. + * @deprecated + * @internal + */ + credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; + /** + * Value for how many times a request will be made at most in case of retry. + */ + maxAttempts?: number | __Provider; + /** + * Specifies which retry algorithm to use. + * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/ + * + */ + retryMode?: string | __Provider; + /** + * Optional logger for logging debug/info/warn/error. + */ + logger?: __Logger; + /** + * Optional extensions + */ + extensions?: RuntimeExtension[]; + /** + * The function that provides necessary utilities for generating and parsing event stream + */ + eventStreamSerdeProvider?: __EventStreamSerdeProvider; + /** + * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. + */ + defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; + /** + * Whether to escape request path when signing the request. + */ + signingEscapePath?: boolean; + /** + * Whether to override the request region with the region inferred from requested resource's ARN. Defaults to undefined. + */ + useArnRegion?: boolean | undefined | __Provider; + /** + * The internal function that inject utilities to runtime-specific stream to help users consume the data + * @internal + */ + sdkStreamMixin?: __SdkStreamMixinInjector; +} +/** + * @public + */ +export type S3ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & FlexibleChecksumsInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig & EventStreamSerdeInputConfig & HttpAuthSchemeInputConfig & S3InputConfig & ClientInputEndpointParameters; +/** + * @public + * + * The configuration interface of S3Client class constructor that set the region, credentials and other options. + */ +export interface S3ClientConfig extends S3ClientConfigType { +} +/** + * @public + */ +export type S3ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required & RuntimeExtensionsConfig & UserAgentResolvedConfig & FlexibleChecksumsResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig & EventStreamSerdeResolvedConfig & HttpAuthSchemeResolvedConfig & S3ResolvedConfig & ClientResolvedEndpointParameters; +/** + * @public + * + * The resolved configuration interface of S3Client class. This is resolved and normalized from the {@link S3ClientConfig | constructor configuration interface}. + */ +export interface S3ClientResolvedConfig extends S3ClientResolvedConfigType { +} +/** + *

+ * @public + */ +export declare class S3Client extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, S3ClientResolvedConfig> { + /** + * The resolved configuration of S3Client class. This is resolved and normalized from the {@link S3ClientConfig | constructor configuration interface}. + */ + readonly config: S3ClientResolvedConfig; + constructor(...[configuration]: __CheckOptionalClientConfig); + /** + * Destroy underlying resources, like sockets. It's usually not necessary to do this. + * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. + * Otherwise, sockets might stay open for quite a long time before the server terminates them. + */ + destroy(): void; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthExtensionConfiguration.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthExtensionConfiguration.d.ts new file mode 100644 index 0000000..6f03fbb --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthExtensionConfiguration.d.ts @@ -0,0 +1,29 @@ +import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types"; +import type { S3HttpAuthSchemeProvider } from "./httpAuthSchemeProvider"; +/** + * @internal + */ +export interface HttpAuthExtensionConfiguration { + setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void; + httpAuthSchemes(): HttpAuthScheme[]; + setHttpAuthSchemeProvider(httpAuthSchemeProvider: S3HttpAuthSchemeProvider): void; + httpAuthSchemeProvider(): S3HttpAuthSchemeProvider; + setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void; + credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined; +} +/** + * @internal + */ +export type HttpAuthRuntimeConfig = Partial<{ + httpAuthSchemes: HttpAuthScheme[]; + httpAuthSchemeProvider: S3HttpAuthSchemeProvider; + credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider; +}>; +/** + * @internal + */ +export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration; +/** + * @internal + */ +export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts new file mode 100644 index 0000000..09fa389 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts @@ -0,0 +1,83 @@ +import { AwsSdkSigV4AAuthInputConfig, AwsSdkSigV4AAuthResolvedConfig, AwsSdkSigV4APreviouslyResolved, AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes"; +import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types"; +import { EndpointParameters } from "../endpoint/EndpointParameters"; +import { S3ClientResolvedConfig } from "../S3Client"; +/** + * @internal + */ +interface _S3HttpAuthSchemeParameters extends HttpAuthSchemeParameters { + region?: string; +} +/** + * @internal + */ +export interface S3HttpAuthSchemeParameters extends _S3HttpAuthSchemeParameters, EndpointParameters { + region?: string; +} +/** + * @internal + */ +export interface S3HttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider { +} +/** + * @internal + */ +export declare const defaultS3HttpAuthSchemeParametersProvider: S3HttpAuthSchemeParametersProvider; +/** + * @internal + */ +export interface S3HttpAuthSchemeProvider extends HttpAuthSchemeProvider { +} +/** + * @internal + */ +export declare const defaultS3HttpAuthSchemeProvider: S3HttpAuthSchemeProvider; +/** + * @public + */ +export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AAuthInputConfig { + /** + * A comma-separated list of case-sensitive auth scheme names. + * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed. + * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4. + * @public + */ + authSchemePreference?: string[] | Provider; + /** + * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. + * @internal + */ + httpAuthSchemes?: HttpAuthScheme[]; + /** + * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. + * @internal + */ + httpAuthSchemeProvider?: S3HttpAuthSchemeProvider; +} +/** + * @internal + */ +export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4AAuthResolvedConfig { + /** + * A comma-separated list of case-sensitive auth scheme names. + * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed. + * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4. + * @public + */ + readonly authSchemePreference: Provider; + /** + * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. + * @internal + */ + readonly httpAuthSchemes: HttpAuthScheme[]; + /** + * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. + * @internal + */ + readonly httpAuthSchemeProvider: S3HttpAuthSchemeProvider; +} +/** + * @internal + */ +export declare const resolveHttpAuthSchemeConfig: (config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved & AwsSdkSigV4APreviouslyResolved) => T & HttpAuthSchemeResolvedConfig; +export {}; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts new file mode 100644 index 0000000..5944f5f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts @@ -0,0 +1,182 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { AbortMultipartUploadOutput, AbortMultipartUploadRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link AbortMultipartUploadCommand}. + */ +export interface AbortMultipartUploadCommandInput extends AbortMultipartUploadRequest { +} +/** + * @public + * + * The output of {@link AbortMultipartUploadCommand}. + */ +export interface AbortMultipartUploadCommandOutput extends AbortMultipartUploadOutput, __MetadataBearer { +} +declare const AbortMultipartUploadCommand_base: { + new (input: AbortMultipartUploadCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: AbortMultipartUploadCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

This operation aborts a multipart upload. After a multipart upload is aborted, no additional parts + * can be uploaded using that upload ID. The storage consumed by any previously uploaded parts will be + * freed. However, if any part uploads are currently in progress, those part uploads might or might not + * succeed. As a result, it might be necessary to abort a given multipart upload multiple times in order to + * completely free all storage consumed by all parts.

+ *

To verify that all parts have been removed and prevent getting charged for the part storage, you + * should call the ListParts API operation and ensure that the parts list is empty.

+ * + *
    + *
  • + *

    + * Directory buckets - If multipart uploads in a + * directory bucket are in progress, you can't delete the bucket until all the in-progress multipart + * uploads are aborted or completed. To delete these in-progress multipart uploads, use the + * ListMultipartUploads operation to list the in-progress multipart uploads in the + * bucket and use the AbortMultipartUpload operation to abort all the in-progress + * multipart uploads.

    + *
  • + *
  • + *

    + * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name + * . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

    + *
  • + *
+ *
+ *
+ *
Permissions
+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - For information + * about permissions required to use the multipart upload, see Multipart Upload and Permissions in + * the Amazon S3 User Guide.

    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the + * CreateSession + * API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. + * Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see + * CreateSession + * .

    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * Bucket-name.s3express-zone-id.region-code.amazonaws.com.

+ *
+ *
+ *

The following operations are related to AbortMultipartUpload:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, AbortMultipartUploadCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, AbortMultipartUploadCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // AbortMultipartUploadRequest + * Bucket: "STRING_VALUE", // required + * Key: "STRING_VALUE", // required + * UploadId: "STRING_VALUE", // required + * RequestPayer: "requester", + * ExpectedBucketOwner: "STRING_VALUE", + * IfMatchInitiatedTime: new Date("TIMESTAMP"), + * }; + * const command = new AbortMultipartUploadCommand(input); + * const response = await client.send(command); + * // { // AbortMultipartUploadOutput + * // RequestCharged: "requester", + * // }; + * + * ``` + * + * @param AbortMultipartUploadCommandInput - {@link AbortMultipartUploadCommandInput} + * @returns {@link AbortMultipartUploadCommandOutput} + * @see {@link AbortMultipartUploadCommandInput} for command's `input` shape. + * @see {@link AbortMultipartUploadCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link NoSuchUpload} (client fault) + *

The specified multipart upload does not exist.

+ * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To abort a multipart upload + * ```javascript + * // The following example aborts a multipart upload. + * const input = { + * Bucket: "examplebucket", + * Key: "bigobject", + * UploadId: "xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--" + * }; + * const command = new AbortMultipartUploadCommand(input); + * const response = await client.send(command); + * /* response is + * { /* empty *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class AbortMultipartUploadCommand extends AbortMultipartUploadCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: AbortMultipartUploadRequest; + output: AbortMultipartUploadOutput; + }; + sdk: { + input: AbortMultipartUploadCommandInput; + output: AbortMultipartUploadCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts new file mode 100644 index 0000000..59effb2 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts @@ -0,0 +1,311 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { CompleteMultipartUploadOutput, CompleteMultipartUploadRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link CompleteMultipartUploadCommand}. + */ +export interface CompleteMultipartUploadCommandInput extends CompleteMultipartUploadRequest { +} +/** + * @public + * + * The output of {@link CompleteMultipartUploadCommand}. + */ +export interface CompleteMultipartUploadCommandOutput extends CompleteMultipartUploadOutput, __MetadataBearer { +} +declare const CompleteMultipartUploadCommand_base: { + new (input: CompleteMultipartUploadCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: CompleteMultipartUploadCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Completes a multipart upload by assembling previously uploaded parts.

+ *

You first initiate the multipart upload and then upload all parts using the UploadPart operation or the + * UploadPartCopy + * operation. After successfully uploading all relevant parts of an upload, you call this + * CompleteMultipartUpload operation to complete the upload. Upon receiving this request, + * Amazon S3 concatenates all the parts in ascending order by part number to create a new object. In the + * CompleteMultipartUpload request, you must provide the parts list and ensure that the parts list is + * complete. The CompleteMultipartUpload API operation concatenates the parts that you provide in the list. + * For each part in the list, you must provide the PartNumber value and the ETag + * value that are returned after that part was uploaded.

+ *

The processing of a CompleteMultipartUpload request could take several minutes to finalize. After + * Amazon S3 begins processing the request, it sends an HTTP response header that specifies a 200 + * OK response. While processing is in progress, Amazon S3 periodically sends white space characters to + * keep the connection from timing out. A request could fail after the initial 200 OK response + * has been sent. This means that a 200 OK response can contain either a success or an error. + * The error response might be embedded in the 200 OK response. If you call this API operation + * directly, make sure to design your application to parse the contents of the response and handle it + * appropriately. If you use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the embedded error and + * apply error handling per your configuration settings (including automatically retrying the request as + * appropriate). If the condition persists, the SDKs throw an exception (or, for the SDKs that don't use + * exceptions, they return an error).

+ *

Note that if CompleteMultipartUpload fails, applications should be prepared to retry + * any failed requests (including 500 error responses). For more information, see Amazon S3 Error Best + * Practices.

+ * + *

You can't use Content-Type: application/x-www-form-urlencoded for the + * CompleteMultipartUpload requests. Also, if you don't provide a Content-Type header, + * CompleteMultipartUpload can still return a 200 OK response.

+ *
+ *

For more information about multipart uploads, see Uploading Objects Using Multipart Upload in + * the Amazon S3 User Guide.

+ * + *

+ * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name + * . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

+ *
+ *
+ *
Permissions
+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - For information + * about permissions required to use the multipart upload API, see Multipart Upload and Permissions in + * the Amazon S3 User Guide.

    + *

    If you provide an additional checksum value in your MultipartUpload requests and the + * object is encrypted with Key Management Service, you must have permission to use the + * kms:Decrypt action for the CompleteMultipartUpload request to + * succeed.

    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the + * CreateSession + * API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. + * Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see + * CreateSession + * .

    + *

    If the object is encrypted with SSE-KMS, you must also have the + * kms:GenerateDataKey and kms:Decrypt permissions in IAM + * identity-based policies and KMS key policies for the KMS key.

    + *
  • + *
+ *
+ *
Special errors
+ *
+ *
    + *
  • + *

    Error Code: EntityTooSmall + *

    + *
      + *
    • + *

      Description: Your proposed upload is smaller than the minimum allowed object size. + * Each part must be at least 5 MB in size, except the last part.

      + *
    • + *
    • + *

      HTTP Status Code: 400 Bad Request

      + *
    • + *
    + *
  • + *
  • + *

    Error Code: InvalidPart + *

    + *
      + *
    • + *

      Description: One or more of the specified parts could not be found. The part might not + * have been uploaded, or the specified ETag might not have matched the uploaded part's + * ETag.

      + *
    • + *
    • + *

      HTTP Status Code: 400 Bad Request

      + *
    • + *
    + *
  • + *
  • + *

    Error Code: InvalidPartOrder + *

    + *
      + *
    • + *

      Description: The list of parts was not in ascending order. The parts list must be + * specified in order by part number.

      + *
    • + *
    • + *

      HTTP Status Code: 400 Bad Request

      + *
    • + *
    + *
  • + *
  • + *

    Error Code: NoSuchUpload + *

    + *
      + *
    • + *

      Description: The specified multipart upload does not exist. The upload ID might be + * invalid, or the multipart upload might have been aborted or completed.

      + *
    • + *
    • + *

      HTTP Status Code: 404 Not Found

      + *
    • + *
    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * Bucket-name.s3express-zone-id.region-code.amazonaws.com.

+ *
+ *
+ *

The following operations are related to CompleteMultipartUpload:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, CompleteMultipartUploadCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, CompleteMultipartUploadCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // CompleteMultipartUploadRequest + * Bucket: "STRING_VALUE", // required + * Key: "STRING_VALUE", // required + * MultipartUpload: { // CompletedMultipartUpload + * Parts: [ // CompletedPartList + * { // CompletedPart + * ETag: "STRING_VALUE", + * ChecksumCRC32: "STRING_VALUE", + * ChecksumCRC32C: "STRING_VALUE", + * ChecksumCRC64NVME: "STRING_VALUE", + * ChecksumSHA1: "STRING_VALUE", + * ChecksumSHA256: "STRING_VALUE", + * PartNumber: Number("int"), + * }, + * ], + * }, + * UploadId: "STRING_VALUE", // required + * ChecksumCRC32: "STRING_VALUE", + * ChecksumCRC32C: "STRING_VALUE", + * ChecksumCRC64NVME: "STRING_VALUE", + * ChecksumSHA1: "STRING_VALUE", + * ChecksumSHA256: "STRING_VALUE", + * ChecksumType: "COMPOSITE" || "FULL_OBJECT", + * MpuObjectSize: Number("long"), + * RequestPayer: "requester", + * ExpectedBucketOwner: "STRING_VALUE", + * IfMatch: "STRING_VALUE", + * IfNoneMatch: "STRING_VALUE", + * SSECustomerAlgorithm: "STRING_VALUE", + * SSECustomerKey: "STRING_VALUE", + * SSECustomerKeyMD5: "STRING_VALUE", + * }; + * const command = new CompleteMultipartUploadCommand(input); + * const response = await client.send(command); + * // { // CompleteMultipartUploadOutput + * // Location: "STRING_VALUE", + * // Bucket: "STRING_VALUE", + * // Key: "STRING_VALUE", + * // Expiration: "STRING_VALUE", + * // ETag: "STRING_VALUE", + * // ChecksumCRC32: "STRING_VALUE", + * // ChecksumCRC32C: "STRING_VALUE", + * // ChecksumCRC64NVME: "STRING_VALUE", + * // ChecksumSHA1: "STRING_VALUE", + * // ChecksumSHA256: "STRING_VALUE", + * // ChecksumType: "COMPOSITE" || "FULL_OBJECT", + * // ServerSideEncryption: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse", + * // VersionId: "STRING_VALUE", + * // SSEKMSKeyId: "STRING_VALUE", + * // BucketKeyEnabled: true || false, + * // RequestCharged: "requester", + * // }; + * + * ``` + * + * @param CompleteMultipartUploadCommandInput - {@link CompleteMultipartUploadCommandInput} + * @returns {@link CompleteMultipartUploadCommandOutput} + * @see {@link CompleteMultipartUploadCommandInput} for command's `input` shape. + * @see {@link CompleteMultipartUploadCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To complete multipart upload + * ```javascript + * // The following example completes a multipart upload. + * const input = { + * Bucket: "examplebucket", + * Key: "bigobject", + * MultipartUpload: { + * Parts: [ + * { + * ETag: `"d8c2eafd90c266e19ab9dcacc479f8af"`, + * PartNumber: 1 + * }, + * { + * ETag: `"d8c2eafd90c266e19ab9dcacc479f8af"`, + * PartNumber: 2 + * } + * ] + * }, + * UploadId: "7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--" + * }; + * const command = new CompleteMultipartUploadCommand(input); + * const response = await client.send(command); + * /* response is + * { + * Bucket: "acexamplebucket", + * ETag: `"4d9031c7644d8081c2829f4ea23c55f7-2"`, + * Key: "bigobject", + * Location: "https://examplebucket.s3..amazonaws.com/bigobject" + * } + * *\/ + * ``` + * + * @public + */ +export declare class CompleteMultipartUploadCommand extends CompleteMultipartUploadCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: CompleteMultipartUploadRequest; + output: CompleteMultipartUploadOutput; + }; + sdk: { + input: CompleteMultipartUploadCommandInput; + output: CompleteMultipartUploadCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts new file mode 100644 index 0000000..b07950f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts @@ -0,0 +1,362 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { CopyObjectOutput, CopyObjectRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link CopyObjectCommand}. + */ +export interface CopyObjectCommandInput extends CopyObjectRequest { +} +/** + * @public + * + * The output of {@link CopyObjectCommand}. + */ +export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBearer { +} +declare const CopyObjectCommand_base: { + new (input: CopyObjectCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: CopyObjectCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Creates a copy of an object that is already stored in Amazon S3.

+ * + *

End of support notice: As of October 1, 2025, Amazon S3 has discontinued support for Email Grantee Access Control Lists (ACLs). If you attempt to use an Email Grantee ACL in a request after October 1, 2025, + * the request will receive an HTTP 405 (Method Not Allowed) error.

+ *

This change affects the following Amazon Web Services Regions: US East (N. Virginia), US West (N. California), US West (Oregon), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo), Europe (Ireland), and South America (São Paulo).

+ *
+ * + *

You can store individual objects of up to 50 TB in Amazon S3. You create a copy of your + * object up to 5 GB in size in a single atomic action using this API. However, to copy an + * object greater than 5 GB, you must use the multipart upload Upload Part - Copy + * (UploadPartCopy) API. For more information, see Copy Object Using the REST + * Multipart Upload API.

+ *
+ *

You can copy individual objects between general purpose buckets, between directory buckets, and between + * general purpose buckets and directory buckets.

+ * + *
    + *
  • + *

    Amazon S3 supports copy operations using Multi-Region Access Points only as a destination when + * using the Multi-Region Access Point ARN.

    + *
  • + *
  • + *

    + * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name + * . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

    + *
  • + *
  • + *

    VPC endpoints don't support cross-Region requests (including copies). If you're using VPC + * endpoints, your source and destination buckets should be in the same Amazon Web Services Region as your VPC + * endpoint.

    + *
  • + *
+ *
+ *

Both the Region that you want to copy the object from and the Region that you want to copy the + * object to must be enabled for your account. For more information about how to enable a Region for your + * account, see Enable + * or disable a Region for standalone accounts in the Amazon Web Services Account Management + * Guide.

+ * + *

Amazon S3 transfer acceleration does not support cross-Region copies. If you request a cross-Region + * copy using a transfer acceleration endpoint, you get a 400 Bad Request error. For more + * information, see Transfer Acceleration.

+ *
+ *
+ *
Authentication and authorization
+ *
+ *

All CopyObject requests must be authenticated and signed by using IAM + * credentials (access key ID and secret access key for the IAM identities). All headers with the + * x-amz- prefix, including x-amz-copy-source, must be signed. For more + * information, see REST Authentication.

+ *

+ * Directory buckets - You must use the IAM + * credentials to authenticate and authorize your access to the CopyObject API + * operation, instead of using the temporary security credentials through the + * CreateSession API operation.

+ *

Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.

+ *
+ *
Permissions
+ *
+ *

You must have read access to the source object and + * write access to the destination bucket.

+ *
    + *
  • + *

    + * General purpose bucket permissions - You must have + * permissions in an IAM policy based on the source and destination bucket types in a + * CopyObject operation.

    + *
      + *
    • + *

      If the source object is in a general purpose bucket, you must have + * s3:GetObject + * permission to read the source object that is + * being copied.

      + *
    • + *
    • + *

      If the destination bucket is a general purpose bucket, you must have + * s3:PutObject + * permission to write the object copy to the + * destination bucket.

      + *
    • + *
    + *
  • + *
  • + *

    + * Directory bucket permissions - You must have + * permissions in a bucket policy or an IAM identity-based policy based on the source and destination bucket types + * in a CopyObject operation.

    + *
      + *
    • + *

      If the source object that you want to copy is in a directory bucket, you must have + * the + * s3express:CreateSession + * permission in + * the Action element of a policy to read the object. If no session mode is specified, + * the session will be created with the maximum allowable privilege, attempting ReadWrite + * first, then ReadOnly if ReadWrite is not permitted. If you want to explicitly + * restrict the access to be read-only, you can set the s3express:SessionMode condition key to + * ReadOnly on the copy source bucket.

      + *
    • + *
    • + *

      If the copy destination is a directory bucket, you must have the + * s3express:CreateSession + * permission in the + * Action element of a policy to write the object to the destination. The + * s3express:SessionMode condition key can't be set to ReadOnly + * on the copy destination bucket.

      + *
    • + *
    + *

    If the object is encrypted with SSE-KMS, you must also have the + * kms:GenerateDataKey and kms:Decrypt permissions in IAM + * identity-based policies and KMS key policies for the KMS key.

    + *

    For example policies, see Example + * bucket policies for S3 Express One Zone and Amazon Web Services + * Identity and Access Management (IAM) identity-based policies for S3 Express One Zone in the + * Amazon S3 User Guide.

    + *
  • + *
+ *
+ *
Response and special errors
+ *
+ *

When the request is an HTTP 1.1 request, the response is chunk encoded. When the request is + * not an HTTP 1.1 request, the response would not contain the Content-Length. You + * always need to read the entire response body to check if the copy succeeds.

+ *
    + *
  • + *

    If the copy is successful, you receive a response with information about the copied + * object.

    + *
  • + *
  • + *

    A copy request might return an error when Amazon S3 receives the copy request or while Amazon S3 is + * copying the files. A 200 OK response can contain either a success or an + * error.

    + *
      + *
    • + *

      If the error occurs before the copy action starts, you receive a standard Amazon S3 + * error.

      + *
    • + *
    • + *

      If the error occurs during the copy operation, the error response is embedded in the + * 200 OK response. For example, in a cross-region copy, you may encounter + * throttling and receive a 200 OK response. For more information, see Resolve the Error + * 200 response when copying objects to Amazon S3. The 200 OK status code + * means the copy was accepted, but it doesn't mean the copy is complete. Another example is + * when you disconnect from Amazon S3 before the copy is complete, Amazon S3 might cancel the copy and + * you may receive a 200 OK response. You must stay connected to Amazon S3 until the + * entire response is successfully received and processed.

      + *

      If you call this API operation directly, make sure to design your application to parse + * the content of the response and handle it appropriately. If you use Amazon Web Services SDKs, SDKs + * handle this condition. The SDKs detect the embedded error and apply error handling per + * your configuration settings (including automatically retrying the request as appropriate). + * If the condition persists, the SDKs throw an exception (or, for the SDKs that don't use + * exceptions, they return an error).

      + *
    • + *
    + *
  • + *
+ *
+ *
Charge
+ *
+ *

The copy request charge is based on the storage class and Region that you specify for the + * destination object. The request can also result in a data retrieval charge for the source if the + * source storage class bills for data retrieval. If the copy source is in a different region, the + * data transfer is billed to the copy source account. For pricing information, see Amazon S3 pricing.

+ *
+ *
HTTP Host header syntax
+ *
+ *
    + *
  • + *

    + * Directory buckets - The HTTP Host header syntax is + * Bucket-name.s3express-zone-id.region-code.amazonaws.com.

    + *
  • + *
  • + *

    + * Amazon S3 on Outposts - When you use this action with + * S3 on Outposts through the REST API, you must direct requests to the S3 on Outposts hostname. The + * S3 on Outposts hostname takes the form + * + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. + * The hostname isn't required when you use the Amazon Web Services CLI or SDKs.

    + *
  • + *
+ *
+ *
+ *

The following operations are related to CopyObject:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, CopyObjectCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, CopyObjectCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // CopyObjectRequest + * ACL: "private" || "public-read" || "public-read-write" || "authenticated-read" || "aws-exec-read" || "bucket-owner-read" || "bucket-owner-full-control", + * Bucket: "STRING_VALUE", // required + * CacheControl: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * ContentDisposition: "STRING_VALUE", + * ContentEncoding: "STRING_VALUE", + * ContentLanguage: "STRING_VALUE", + * ContentType: "STRING_VALUE", + * CopySource: "STRING_VALUE", // required + * CopySourceIfMatch: "STRING_VALUE", + * CopySourceIfModifiedSince: new Date("TIMESTAMP"), + * CopySourceIfNoneMatch: "STRING_VALUE", + * CopySourceIfUnmodifiedSince: new Date("TIMESTAMP"), + * Expires: new Date("TIMESTAMP"), + * GrantFullControl: "STRING_VALUE", + * GrantRead: "STRING_VALUE", + * GrantReadACP: "STRING_VALUE", + * GrantWriteACP: "STRING_VALUE", + * IfMatch: "STRING_VALUE", + * IfNoneMatch: "STRING_VALUE", + * Key: "STRING_VALUE", // required + * Metadata: { // Metadata + * "": "STRING_VALUE", + * }, + * MetadataDirective: "COPY" || "REPLACE", + * TaggingDirective: "COPY" || "REPLACE", + * ServerSideEncryption: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse", + * StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE" || "FSX_OPENZFS" || "FSX_ONTAP", + * WebsiteRedirectLocation: "STRING_VALUE", + * SSECustomerAlgorithm: "STRING_VALUE", + * SSECustomerKey: "STRING_VALUE", + * SSECustomerKeyMD5: "STRING_VALUE", + * SSEKMSKeyId: "STRING_VALUE", + * SSEKMSEncryptionContext: "STRING_VALUE", + * BucketKeyEnabled: true || false, + * CopySourceSSECustomerAlgorithm: "STRING_VALUE", + * CopySourceSSECustomerKey: "STRING_VALUE", + * CopySourceSSECustomerKeyMD5: "STRING_VALUE", + * RequestPayer: "requester", + * Tagging: "STRING_VALUE", + * ObjectLockMode: "GOVERNANCE" || "COMPLIANCE", + * ObjectLockRetainUntilDate: new Date("TIMESTAMP"), + * ObjectLockLegalHoldStatus: "ON" || "OFF", + * ExpectedBucketOwner: "STRING_VALUE", + * ExpectedSourceBucketOwner: "STRING_VALUE", + * }; + * const command = new CopyObjectCommand(input); + * const response = await client.send(command); + * // { // CopyObjectOutput + * // CopyObjectResult: { // CopyObjectResult + * // ETag: "STRING_VALUE", + * // LastModified: new Date("TIMESTAMP"), + * // ChecksumType: "COMPOSITE" || "FULL_OBJECT", + * // ChecksumCRC32: "STRING_VALUE", + * // ChecksumCRC32C: "STRING_VALUE", + * // ChecksumCRC64NVME: "STRING_VALUE", + * // ChecksumSHA1: "STRING_VALUE", + * // ChecksumSHA256: "STRING_VALUE", + * // }, + * // Expiration: "STRING_VALUE", + * // CopySourceVersionId: "STRING_VALUE", + * // VersionId: "STRING_VALUE", + * // ServerSideEncryption: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse", + * // SSECustomerAlgorithm: "STRING_VALUE", + * // SSECustomerKeyMD5: "STRING_VALUE", + * // SSEKMSKeyId: "STRING_VALUE", + * // SSEKMSEncryptionContext: "STRING_VALUE", + * // BucketKeyEnabled: true || false, + * // RequestCharged: "requester", + * // }; + * + * ``` + * + * @param CopyObjectCommandInput - {@link CopyObjectCommandInput} + * @returns {@link CopyObjectCommandOutput} + * @see {@link CopyObjectCommandInput} for command's `input` shape. + * @see {@link CopyObjectCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link ObjectNotInActiveTierError} (client fault) + *

The source object of the COPY action is not in the active tier and is only stored in Amazon S3 + * Glacier.

+ * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To copy an object + * ```javascript + * // The following example copies an object from one bucket to another. + * const input = { + * Bucket: "destinationbucket", + * CopySource: "/sourcebucket/HappyFacejpg", + * Key: "HappyFaceCopyjpg" + * }; + * const command = new CopyObjectCommand(input); + * const response = await client.send(command); + * /* response is + * { + * CopyObjectResult: { + * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`, + * LastModified: "2016-12-15T17:38:53.000Z" + * } + * } + * *\/ + * ``` + * + * @public + */ +export declare class CopyObjectCommand extends CopyObjectCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: CopyObjectRequest; + output: CopyObjectOutput; + }; + sdk: { + input: CopyObjectCommandInput; + output: CopyObjectCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts new file mode 100644 index 0000000..074aa66 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts @@ -0,0 +1,291 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { CreateBucketOutput, CreateBucketRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link CreateBucketCommand}. + */ +export interface CreateBucketCommandInput extends CreateBucketRequest { +} +/** + * @public + * + * The output of {@link CreateBucketCommand}. + */ +export interface CreateBucketCommandOutput extends CreateBucketOutput, __MetadataBearer { +} +declare const CreateBucketCommand_base: { + new (input: CreateBucketCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: CreateBucketCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This action creates an Amazon S3 bucket. To create an Amazon S3 on Outposts bucket, see + * CreateBucket + * .

+ *
+ *

Creates a new S3 bucket. To create a bucket, you must set up Amazon S3 and have a valid Amazon Web Services Access Key + * ID to authenticate requests. Anonymous requests are never allowed to create buckets. By creating the + * bucket, you become the bucket owner.

+ *

There are two types of buckets: general purpose buckets and directory buckets. For more information about + * these bucket types, see Creating, configuring, and working with Amazon S3 + * buckets in the Amazon S3 User Guide.

+ *

General purpose buckets exist in a global namespace, which means that each bucket name must be unique + * across all Amazon Web Services accounts in all the Amazon Web Services Regions within a partition. A partition is a grouping of + * Regions. Amazon Web Services currently has four partitions: aws (Standard Regions), aws-cn + * (China Regions), aws-us-gov (Amazon Web Services GovCloud (US)), and aws-eusc + * (European Sovereign Cloud). When you create a general purpose bucket, you can choose to create a bucket in + * the shared global namespace or you can choose to create a bucket in your account regional namespace. + * Your account regional namespace is a subdivision of the global namespace that only your account can + * create buckets in. For more information on account regional namespaces, see Namespaces for general purpose buckets.

+ * + *
    + *
  • + *

    + * General purpose buckets - If you send your + * CreateBucket request to the s3.amazonaws.com global endpoint, the + * request goes to the us-east-1 Region. So the signature calculations in Signature + * Version 4 must use us-east-1 as the Region, even if the location constraint in the + * request specifies another Region where the bucket is to be created. If you create a bucket in a + * Region other than US East (N. Virginia), your application must be able to handle 307 redirect. For + * more information, see Virtual hosting of buckets in the Amazon S3 User Guide.

    + *
  • + *
  • + *

    + * Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. + * For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

    + *
  • + *
+ *
+ *
+ *
Permissions
+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - In addition to the + * s3:CreateBucket permission, the following permissions are required in a policy + * when your CreateBucket request includes specific headers:

    + *
      + *
    • + *

      + * Access control lists (ACLs) - In your + * CreateBucket request, if you specify an access control list (ACL) and set + * it to public-read, public-read-write, + * authenticated-read, or if you explicitly specify any other custom ACLs, + * both s3:CreateBucket and s3:PutBucketAcl permissions are + * required. In your CreateBucket request, if you set the ACL to + * private, or if you don't specify any ACLs, only the + * s3:CreateBucket permission is required.

      + *
    • + *
    • + *

      + * Object Lock - In your + * CreateBucket request, if you set + * x-amz-bucket-object-lock-enabled to true, the + * s3:PutBucketObjectLockConfiguration and s3:PutBucketVersioning + * permissions are required.

      + *
    • + *
    • + *

      + * S3 Object Ownership - If your + * CreateBucket request includes the x-amz-object-ownership + * header, then the s3:PutBucketOwnershipControls permission is required.

      + * + *

      To set an ACL on a bucket as part of a CreateBucket request, you must + * explicitly set S3 Object Ownership for the bucket to a different value than the default, + * BucketOwnerEnforced. Additionally, if your desired bucket ACL grants + * public access, you must first create the bucket (without the bucket ACL) and then + * explicitly disable Block Public Access on the bucket before using + * PutBucketAcl to set the ACL. If you try to create a bucket with a public + * ACL, the request will fail.

      + *

      For the majority of modern use cases in S3, we recommend that you keep all Block + * Public Access settings enabled and keep ACLs disabled. If you would like to share data + * with users outside of your account, you can use bucket policies as needed. For more + * information, see Controlling ownership of + * objects and disabling ACLs for your bucket and Blocking + * public access to your Amazon S3 storage in the + * Amazon S3 User Guide.

      + *
      + *
    • + *
    • + *

      + * S3 Block Public Access - If your specific use + * case requires granting public access to your S3 resources, you can disable Block Public + * Access. Specifically, you can create a new bucket with Block Public Access enabled, then + * separately call the + * DeletePublicAccessBlock + * API. To use this operation, you must have the + * s3:PutBucketPublicAccessBlock permission. For more information about S3 + * Block Public Access, see Blocking public + * access to your Amazon S3 storage in the Amazon S3 User Guide. + *

      + *
    • + *
    + *
  • + *
  • + *

    + * Directory bucket permissions - You must have the + * s3express:CreateBucket permission in an IAM identity-based policy instead of a bucket policy. + * Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    + * + *

    The permissions for ACLs, Object Lock, S3 Object Ownership, and S3 Block Public Access + * are not supported for directory buckets. For directory buckets, all Block Public Access + * settings are enabled at the bucket level and S3 Object Ownership is set to Bucket owner + * enforced (ACLs disabled). These settings can't be modified.

    + *

    For more information about permissions for creating and working with directory buckets, + * see Directory buckets + * in the Amazon S3 User Guide. For more information about supported S3 + * features for directory buckets, see Features of + * S3 Express One Zone in the Amazon S3 User Guide.

    + *
    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

+ *
+ *
+ *

The following operations are related to CreateBucket:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, CreateBucketCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, CreateBucketCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // CreateBucketRequest + * ACL: "private" || "public-read" || "public-read-write" || "authenticated-read", + * Bucket: "STRING_VALUE", // required + * CreateBucketConfiguration: { // CreateBucketConfiguration + * LocationConstraint: "af-south-1" || "ap-east-1" || "ap-northeast-1" || "ap-northeast-2" || "ap-northeast-3" || "ap-south-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-4" || "ap-southeast-5" || "ca-central-1" || "cn-north-1" || "cn-northwest-1" || "EU" || "eu-central-1" || "eu-central-2" || "eu-north-1" || "eu-south-1" || "eu-south-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "il-central-1" || "me-central-1" || "me-south-1" || "sa-east-1" || "us-east-2" || "us-gov-east-1" || "us-gov-west-1" || "us-west-1" || "us-west-2", + * Location: { // LocationInfo + * Type: "AvailabilityZone" || "LocalZone", + * Name: "STRING_VALUE", + * }, + * Bucket: { // BucketInfo + * DataRedundancy: "SingleAvailabilityZone" || "SingleLocalZone", + * Type: "Directory", + * }, + * Tags: [ // TagSet + * { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * }, + * GrantFullControl: "STRING_VALUE", + * GrantRead: "STRING_VALUE", + * GrantReadACP: "STRING_VALUE", + * GrantWrite: "STRING_VALUE", + * GrantWriteACP: "STRING_VALUE", + * ObjectLockEnabledForBucket: true || false, + * ObjectOwnership: "BucketOwnerPreferred" || "ObjectWriter" || "BucketOwnerEnforced", + * BucketNamespace: "account-regional" || "global", + * }; + * const command = new CreateBucketCommand(input); + * const response = await client.send(command); + * // { // CreateBucketOutput + * // Location: "STRING_VALUE", + * // BucketArn: "STRING_VALUE", + * // }; + * + * ``` + * + * @param CreateBucketCommandInput - {@link CreateBucketCommandInput} + * @returns {@link CreateBucketCommandOutput} + * @see {@link CreateBucketCommandInput} for command's `input` shape. + * @see {@link CreateBucketCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link BucketAlreadyExists} (client fault) + *

The requested bucket name is not available. The bucket namespace is shared by all users of the + * system. Select a different name and try again.

+ * + * @throws {@link BucketAlreadyOwnedByYou} (client fault) + *

The bucket you tried to create already exists, and you own it. Amazon S3 returns this error in all Amazon Web Services + * Regions except in the North Virginia Region. For legacy compatibility, if you re-create an existing + * bucket that you already own in the North Virginia Region, Amazon S3 returns 200 OK and resets the bucket + * access control lists (ACLs).

+ * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To create a bucket in a specific region + * ```javascript + * // The following example creates a bucket. The request specifies an AWS region where to create the bucket. + * const input = { + * Bucket: "examplebucket", + * CreateBucketConfiguration: { + * LocationConstraint: "eu-west-1" + * } + * }; + * const command = new CreateBucketCommand(input); + * const response = await client.send(command); + * /* response is + * { + * Location: "http://examplebucket..s3.amazonaws.com/" + * } + * *\/ + * ``` + * + * @example To create a bucket + * ```javascript + * // The following example creates a bucket. + * const input = { + * Bucket: "examplebucket" + * }; + * const command = new CreateBucketCommand(input); + * const response = await client.send(command); + * /* response is + * { + * Location: "/examplebucket" + * } + * *\/ + * ``` + * + * @public + */ +export declare class CreateBucketCommand extends CreateBucketCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: CreateBucketRequest; + output: CreateBucketOutput; + }; + sdk: { + input: CreateBucketCommandInput; + output: CreateBucketCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts new file mode 100644 index 0000000..622b71c --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts @@ -0,0 +1,187 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { CreateBucketMetadataConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link CreateBucketMetadataConfigurationCommand}. + */ +export interface CreateBucketMetadataConfigurationCommandInput extends CreateBucketMetadataConfigurationRequest { +} +/** + * @public + * + * The output of {@link CreateBucketMetadataConfigurationCommand}. + */ +export interface CreateBucketMetadataConfigurationCommandOutput extends __MetadataBearer { +} +declare const CreateBucketMetadataConfigurationCommand_base: { + new (input: CreateBucketMetadataConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: CreateBucketMetadataConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Creates an S3 Metadata V2 metadata configuration for a general purpose bucket. For more information, see + * Accelerating + * data discovery with S3 Metadata in the Amazon S3 User Guide.

+ *
+ *
Permissions
+ *
+ *

To use this operation, you must have the following permissions. For more information, see + * Setting up permissions for configuring metadata tables in the + * Amazon S3 User Guide.

+ *

If you want to encrypt your metadata tables with server-side encryption with Key Management Service + * (KMS) keys (SSE-KMS), you need additional permissions in your KMS key policy. For more + * information, see + * Setting up permissions for configuring metadata tables in the + * Amazon S3 User Guide.

+ *

If you also want to integrate your table bucket with Amazon Web Services analytics services so that you can + * query your metadata table, you need additional permissions. For more information, see Integrating + * Amazon S3 Tables with Amazon Web Services analytics services in the + * Amazon S3 User Guide.

+ *

To query your metadata tables, you need additional permissions. For more information, see + * + * Permissions for querying metadata tables in the Amazon S3 User Guide.

+ *
    + *
  • + *

    + * s3:CreateBucketMetadataTableConfiguration + *

    + * + *

    The IAM policy action name is the same for the V1 and V2 API operations.

    + *
    + *
  • + *
  • + *

    + * s3tables:CreateTableBucket + *

    + *
  • + *
  • + *

    + * s3tables:CreateNamespace + *

    + *
  • + *
  • + *

    + * s3tables:GetTable + *

    + *
  • + *
  • + *

    + * s3tables:CreateTable + *

    + *
  • + *
  • + *

    + * s3tables:PutTablePolicy + *

    + *
  • + *
  • + *

    + * s3tables:PutTableEncryption + *

    + *
  • + *
  • + *

    + * kms:DescribeKey + *

    + *
  • + *
+ *
+ *
+ *

The following operations are related to CreateBucketMetadataConfiguration:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, CreateBucketMetadataConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, CreateBucketMetadataConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // CreateBucketMetadataConfigurationRequest + * Bucket: "STRING_VALUE", // required + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * MetadataConfiguration: { // MetadataConfiguration + * JournalTableConfiguration: { // JournalTableConfiguration + * RecordExpiration: { // RecordExpiration + * Expiration: "ENABLED" || "DISABLED", // required + * Days: Number("int"), + * }, + * EncryptionConfiguration: { // MetadataTableEncryptionConfiguration + * SseAlgorithm: "aws:kms" || "AES256", // required + * KmsKeyArn: "STRING_VALUE", + * }, + * }, + * InventoryTableConfiguration: { // InventoryTableConfiguration + * ConfigurationState: "ENABLED" || "DISABLED", // required + * EncryptionConfiguration: { + * SseAlgorithm: "aws:kms" || "AES256", // required + * KmsKeyArn: "STRING_VALUE", + * }, + * }, + * }, + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new CreateBucketMetadataConfigurationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param CreateBucketMetadataConfigurationCommandInput - {@link CreateBucketMetadataConfigurationCommandInput} + * @returns {@link CreateBucketMetadataConfigurationCommandOutput} + * @see {@link CreateBucketMetadataConfigurationCommandInput} for command's `input` shape. + * @see {@link CreateBucketMetadataConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class CreateBucketMetadataConfigurationCommand extends CreateBucketMetadataConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: CreateBucketMetadataConfigurationRequest; + output: {}; + }; + sdk: { + input: CreateBucketMetadataConfigurationCommandInput; + output: CreateBucketMetadataConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts new file mode 100644 index 0000000..ef6dfd7 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts @@ -0,0 +1,153 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { CreateBucketMetadataTableConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link CreateBucketMetadataTableConfigurationCommand}. + */ +export interface CreateBucketMetadataTableConfigurationCommandInput extends CreateBucketMetadataTableConfigurationRequest { +} +/** + * @public + * + * The output of {@link CreateBucketMetadataTableConfigurationCommand}. + */ +export interface CreateBucketMetadataTableConfigurationCommandOutput extends __MetadataBearer { +} +declare const CreateBucketMetadataTableConfigurationCommand_base: { + new (input: CreateBucketMetadataTableConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: CreateBucketMetadataTableConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

+ * We recommend that you create your S3 Metadata configurations by using the V2 + * CreateBucketMetadataConfiguration API operation. We no longer recommend using the V1 + * CreateBucketMetadataTableConfiguration API operation. + *

+ *

If you created your S3 Metadata configuration before July 15, 2025, we recommend that you delete + * and re-create your configuration by using CreateBucketMetadataConfiguration so that you can expire journal table records and create + * a live inventory table.

+ *
+ *

Creates a V1 S3 Metadata configuration for a general purpose bucket. For more information, see + * Accelerating + * data discovery with S3 Metadata in the Amazon S3 User Guide.

+ *
+ *
Permissions
+ *
+ *

To use this operation, you must have the following permissions. For more information, see + * Setting up permissions for configuring metadata tables in the + * Amazon S3 User Guide.

+ *

If you want to encrypt your metadata tables with server-side encryption with Key Management Service + * (KMS) keys (SSE-KMS), you need additional permissions. For more + * information, see + * Setting up permissions for configuring metadata tables in the + * Amazon S3 User Guide.

+ *

If you also want to integrate your table bucket with Amazon Web Services analytics services so that you can + * query your metadata table, you need additional permissions. For more information, see Integrating + * Amazon S3 Tables with Amazon Web Services analytics services in the + * Amazon S3 User Guide.

+ *
    + *
  • + *

    + * s3:CreateBucketMetadataTableConfiguration + *

    + *
  • + *
  • + *

    + * s3tables:CreateNamespace + *

    + *
  • + *
  • + *

    + * s3tables:GetTable + *

    + *
  • + *
  • + *

    + * s3tables:CreateTable + *

    + *
  • + *
  • + *

    + * s3tables:PutTablePolicy + *

    + *
  • + *
+ *
+ *
+ *

The following operations are related to CreateBucketMetadataTableConfiguration:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, CreateBucketMetadataTableConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, CreateBucketMetadataTableConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // CreateBucketMetadataTableConfigurationRequest + * Bucket: "STRING_VALUE", // required + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * MetadataTableConfiguration: { // MetadataTableConfiguration + * S3TablesDestination: { // S3TablesDestination + * TableBucketArn: "STRING_VALUE", // required + * TableName: "STRING_VALUE", // required + * }, + * }, + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new CreateBucketMetadataTableConfigurationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param CreateBucketMetadataTableConfigurationCommandInput - {@link CreateBucketMetadataTableConfigurationCommandInput} + * @returns {@link CreateBucketMetadataTableConfigurationCommandOutput} + * @see {@link CreateBucketMetadataTableConfigurationCommandInput} for command's `input` shape. + * @see {@link CreateBucketMetadataTableConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class CreateBucketMetadataTableConfigurationCommand extends CreateBucketMetadataTableConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: CreateBucketMetadataTableConfigurationRequest; + output: {}; + }; + sdk: { + input: CreateBucketMetadataTableConfigurationCommandInput; + output: CreateBucketMetadataTableConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts new file mode 100644 index 0000000..9a14031 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts @@ -0,0 +1,386 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { CreateMultipartUploadOutput, CreateMultipartUploadRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link CreateMultipartUploadCommand}. + */ +export interface CreateMultipartUploadCommandInput extends CreateMultipartUploadRequest { +} +/** + * @public + * + * The output of {@link CreateMultipartUploadCommand}. + */ +export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploadOutput, __MetadataBearer { +} +declare const CreateMultipartUploadCommand_base: { + new (input: CreateMultipartUploadCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: CreateMultipartUploadCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

End of support notice: As of October 1, 2025, Amazon S3 has discontinued support for Email Grantee Access Control Lists (ACLs). If you attempt to use an Email Grantee ACL in a request after October 1, 2025, + * the request will receive an HTTP 405 (Method Not Allowed) error.

+ *

This change affects the following Amazon Web Services Regions: US East (N. Virginia), US West (N. California), US West (Oregon), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo), Europe (Ireland), and South America (São Paulo).

+ *
+ *

This action initiates a multipart upload and returns an upload ID. This upload ID is used to + * associate all of the parts in the specific multipart upload. You specify this upload ID in each of your + * subsequent upload part requests (see UploadPart). You also include this upload ID in + * the final request to either complete or abort the multipart upload request. For more information about + * multipart uploads, see Multipart + * Upload Overview in the Amazon S3 User Guide.

+ * + *

After you initiate a multipart upload and upload one or more parts, to stop being charged for + * storing the uploaded parts, you must either complete or abort the multipart upload. Amazon S3 frees up the + * space used to store the parts and stops charging you for storing them only after you either complete + * or abort a multipart upload.

+ *
+ *

If you have configured a lifecycle rule to abort incomplete multipart uploads, the created multipart + * upload must be completed within the number of days specified in the bucket lifecycle configuration. + * Otherwise, the incomplete multipart upload becomes eligible for an abort action and Amazon S3 aborts the + * multipart upload. For more information, see Aborting + * Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration.

+ * + *
    + *
  • + *

    + * Directory buckets - + * S3 Lifecycle is not supported by directory buckets.

    + *
  • + *
  • + *

    + * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name + * . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

    + *
  • + *
+ *
+ *
+ *
Request signing
+ *
+ *

For request signing, multipart upload is just a series of regular requests. You initiate a + * multipart upload, send one or more requests to upload parts, and then complete the multipart + * upload process. You sign each request individually. There is nothing special about signing + * multipart upload requests. For more information about signing, see Authenticating Requests (Amazon Web Services + * Signature Version 4) in the Amazon S3 User Guide.

+ *
+ *
Permissions
+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - To perform a + * multipart upload with encryption using an Key Management Service (KMS) KMS key, the requester must have + * permission to the kms:Decrypt and kms:GenerateDataKey actions on the + * key. The requester must also have permissions for the kms:GenerateDataKey action + * for the CreateMultipartUpload API. Then, the requester needs permissions for the + * kms:Decrypt action on the UploadPart and + * UploadPartCopy APIs. These permissions are required because Amazon S3 must decrypt + * and read data from the encrypted file parts before it completes the multipart upload. For more + * information, see Multipart upload API and + * permissions and Protecting data using server-side + * encryption with Amazon Web Services KMS in the Amazon S3 User Guide.

    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the + * CreateSession + * API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. + * Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see + * CreateSession + * .

    + *
  • + *
+ *
+ *
Encryption
+ *
+ *
    + *
  • + *

    + * General purpose buckets - Server-side encryption is for + * data encryption at rest. Amazon S3 encrypts your data as it writes it to disks in its data centers + * and decrypts it when you access it. Amazon S3 automatically encrypts all new objects that are + * uploaded to an S3 bucket. When doing a multipart upload, if you don't specify encryption + * information in your request, the encryption setting of the uploaded parts is set to the + * default encryption configuration of the destination bucket. By default, all buckets have a + * base level of encryption configuration that uses server-side encryption with Amazon S3 managed keys + * (SSE-S3). If the destination bucket has a default encryption configuration that uses + * server-side encryption with an Key Management Service (KMS) key (SSE-KMS), or a customer-provided + * encryption key (SSE-C), Amazon S3 uses the corresponding KMS key, or a customer-provided key to + * encrypt the uploaded parts. When you perform a CreateMultipartUpload operation, if you want to + * use a different type of encryption setting for the uploaded parts, you can request that Amazon S3 + * encrypts the object with a different encryption key (such as an Amazon S3 managed key, a KMS key, + * or a customer-provided key). When the encryption setting in your request is different from the + * default encryption configuration of the destination bucket, the encryption setting in your + * request takes precedence. If you choose to provide your own encryption key, the request + * headers you provide in UploadPart and UploadPartCopy requests must match the headers you used in the + * CreateMultipartUpload request.

    + *
      + *
    • + *

      Use KMS keys (SSE-KMS) that include the Amazon Web Services managed key (aws/s3) and + * KMS customer managed keys stored in Key Management Service (KMS) – If you want Amazon Web Services to manage the keys used + * to encrypt data, specify the following headers in the request.

      + *
        + *
      • + *

        + * x-amz-server-side-encryption + *

        + *
      • + *
      • + *

        + * x-amz-server-side-encryption-aws-kms-key-id + *

        + *
      • + *
      • + *

        + * x-amz-server-side-encryption-context + *

        + *
      • + *
      + * + *
        + *
      • + *

        If you specify x-amz-server-side-encryption:aws:kms, but don't + * provide x-amz-server-side-encryption-aws-kms-key-id, Amazon S3 uses the + * Amazon Web Services managed key (aws/s3 key) in KMS to protect the data.

        + *
      • + *
      • + *

        To perform a multipart upload with encryption by using an Amazon Web Services KMS key, the + * requester must have permission to the kms:Decrypt and + * kms:GenerateDataKey* actions on the key. These permissions are + * required because Amazon S3 must decrypt and read data from the encrypted file parts + * before it completes the multipart upload. For more information, see Multipart + * upload API and permissions and Protecting data using + * server-side encryption with Amazon Web Services KMS in the + * Amazon S3 User Guide.

        + *
      • + *
      • + *

        If your Identity and Access Management (IAM) user or role is in the same Amazon Web Services account as the + * KMS key, then you must have these permissions on the key policy. If your IAM + * user or role is in a different account from the key, then you must have the + * permissions on both the key policy and your IAM user or role.

        + *
      • + *
      • + *

        All GET and PUT requests for an object protected by + * KMS fail if you don't make them by using Secure Sockets Layer (SSL), Transport + * Layer Security (TLS), or Signature Version 4. For information about configuring any + * of the officially supported Amazon Web Services SDKs and Amazon Web Services CLI, see Specifying the Signature Version in Request + * Authentication in the Amazon S3 User Guide.

        + *
      • + *
      + *
      + *

      For more information about server-side encryption with KMS keys (SSE-KMS), see + * Protecting Data Using Server-Side Encryption with KMS keys in the + * Amazon S3 User Guide.

      + *
    • + *
    • + *

      Use customer-provided encryption keys (SSE-C) – If you want to manage your own + * encryption keys, provide all the following headers in the request.

      + *
        + *
      • + *

        + * x-amz-server-side-encryption-customer-algorithm + *

        + *
      • + *
      • + *

        + * x-amz-server-side-encryption-customer-key + *

        + *
      • + *
      • + *

        + * x-amz-server-side-encryption-customer-key-MD5 + *

        + *
      • + *
      + *

      For more information about server-side encryption with customer-provided encryption + * keys (SSE-C), see Protecting data + * using server-side encryption with customer-provided encryption keys (SSE-C) in + * the Amazon S3 User Guide.

      + *
    • + *
    + *
  • + *
  • + *

    + * Directory buckets - + * For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (aws:kms). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your + * CreateSession requests or PUT object requests. Then, new objects + * are automatically encrypted with the desired encryption settings. For more + * information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.

    + *

    In the Zonal endpoint API calls (except CopyObject and UploadPartCopy) using the REST API, the encryption request headers must match the encryption settings that are specified in the CreateSession request. + * You can't override the values of the encryption settings (x-amz-server-side-encryption, x-amz-server-side-encryption-aws-kms-key-id, x-amz-server-side-encryption-context, and x-amz-server-side-encryption-bucket-key-enabled) that are specified in the CreateSession request. + * You don't need to explicitly specify these encryption settings values in Zonal endpoint API calls, and + * Amazon S3 will use the encryption settings values from the CreateSession request to protect new objects in the directory bucket. + *

    + * + *

    When you use the CLI or the Amazon Web Services SDKs, for CreateSession, the session token refreshes automatically to avoid service interruptions when a session expires. The CLI or the Amazon Web Services SDKs use the bucket's default encryption configuration for the + * CreateSession request. It's not supported to override the encryption settings values in the CreateSession request. + * So in the Zonal endpoint API calls (except CopyObject and UploadPartCopy), + * the encryption request headers must match the default encryption configuration of the directory bucket. + * + *

    + *
    + * + *

    For directory buckets, when you perform a CreateMultipartUpload operation + * and an UploadPartCopy operation, the request headers you provide in the + * CreateMultipartUpload request must match the default encryption configuration + * of the destination bucket.

    + *
    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * Bucket-name.s3express-zone-id.region-code.amazonaws.com.

+ *
+ *
+ *

The following operations are related to CreateMultipartUpload:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, CreateMultipartUploadCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, CreateMultipartUploadCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // CreateMultipartUploadRequest + * ACL: "private" || "public-read" || "public-read-write" || "authenticated-read" || "aws-exec-read" || "bucket-owner-read" || "bucket-owner-full-control", + * Bucket: "STRING_VALUE", // required + * CacheControl: "STRING_VALUE", + * ContentDisposition: "STRING_VALUE", + * ContentEncoding: "STRING_VALUE", + * ContentLanguage: "STRING_VALUE", + * ContentType: "STRING_VALUE", + * Expires: new Date("TIMESTAMP"), + * GrantFullControl: "STRING_VALUE", + * GrantRead: "STRING_VALUE", + * GrantReadACP: "STRING_VALUE", + * GrantWriteACP: "STRING_VALUE", + * Key: "STRING_VALUE", // required + * Metadata: { // Metadata + * "": "STRING_VALUE", + * }, + * ServerSideEncryption: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse", + * StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE" || "FSX_OPENZFS" || "FSX_ONTAP", + * WebsiteRedirectLocation: "STRING_VALUE", + * SSECustomerAlgorithm: "STRING_VALUE", + * SSECustomerKey: "STRING_VALUE", + * SSECustomerKeyMD5: "STRING_VALUE", + * SSEKMSKeyId: "STRING_VALUE", + * SSEKMSEncryptionContext: "STRING_VALUE", + * BucketKeyEnabled: true || false, + * RequestPayer: "requester", + * Tagging: "STRING_VALUE", + * ObjectLockMode: "GOVERNANCE" || "COMPLIANCE", + * ObjectLockRetainUntilDate: new Date("TIMESTAMP"), + * ObjectLockLegalHoldStatus: "ON" || "OFF", + * ExpectedBucketOwner: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * ChecksumType: "COMPOSITE" || "FULL_OBJECT", + * }; + * const command = new CreateMultipartUploadCommand(input); + * const response = await client.send(command); + * // { // CreateMultipartUploadOutput + * // AbortDate: new Date("TIMESTAMP"), + * // AbortRuleId: "STRING_VALUE", + * // Bucket: "STRING_VALUE", + * // Key: "STRING_VALUE", + * // UploadId: "STRING_VALUE", + * // ServerSideEncryption: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse", + * // SSECustomerAlgorithm: "STRING_VALUE", + * // SSECustomerKeyMD5: "STRING_VALUE", + * // SSEKMSKeyId: "STRING_VALUE", + * // SSEKMSEncryptionContext: "STRING_VALUE", + * // BucketKeyEnabled: true || false, + * // RequestCharged: "requester", + * // ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * // ChecksumType: "COMPOSITE" || "FULL_OBJECT", + * // }; + * + * ``` + * + * @param CreateMultipartUploadCommandInput - {@link CreateMultipartUploadCommandInput} + * @returns {@link CreateMultipartUploadCommandOutput} + * @see {@link CreateMultipartUploadCommandInput} for command's `input` shape. + * @see {@link CreateMultipartUploadCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To initiate a multipart upload + * ```javascript + * // The following example initiates a multipart upload. + * const input = { + * Bucket: "examplebucket", + * Key: "largeobject" + * }; + * const command = new CreateMultipartUploadCommand(input); + * const response = await client.send(command); + * /* response is + * { + * Bucket: "examplebucket", + * Key: "largeobject", + * UploadId: "ibZBv_75gd9r8lH_gqXatLdxMVpAlj6ZQjEs.OwyF3953YdwbcQnMA2BLGn8Lx12fQNICtMw5KyteFeHw.Sjng--" + * } + * *\/ + * ``` + * + * @public + */ +export declare class CreateMultipartUploadCommand extends CreateMultipartUploadCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: CreateMultipartUploadRequest; + output: CreateMultipartUploadOutput; + }; + sdk: { + input: CreateMultipartUploadCommandInput; + output: CreateMultipartUploadCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts new file mode 100644 index 0000000..5f4f0a2 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts @@ -0,0 +1,197 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { CreateSessionOutput, CreateSessionRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link CreateSessionCommand}. + */ +export interface CreateSessionCommandInput extends CreateSessionRequest { +} +/** + * @public + * + * The output of {@link CreateSessionCommand}. + */ +export interface CreateSessionCommandOutput extends CreateSessionOutput, __MetadataBearer { +} +declare const CreateSessionCommand_base: { + new (input: CreateSessionCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: CreateSessionCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Creates a session that establishes temporary security credentials to support fast authentication and + * authorization for the Zonal endpoint API operations on directory buckets. For more information about Zonal endpoint API operations that + * include the Availability Zone in the request endpoint, see S3 Express One Zone APIs in the + * Amazon S3 User Guide.

+ *

To make Zonal endpoint API requests on a directory bucket, use the CreateSession API + * operation. Specifically, you grant s3express:CreateSession permission to a bucket in + * a bucket policy or an IAM identity-based policy. Then, you use IAM credentials to make the CreateSession + * API request on the bucket, which returns temporary security credentials that include the access key ID, + * secret access key, session token, and expiration. These credentials have associated permissions to + * access the Zonal endpoint API operations. After the session is created, you don’t need to use other policies to grant + * permissions to each Zonal endpoint API individually. Instead, in your Zonal endpoint API requests, you sign your + * requests by applying the temporary security credentials of the session to the request headers and + * following the SigV4 protocol for authentication. You also apply the session token to the + * x-amz-s3session-token request header for authorization. Temporary security credentials + * are scoped to the bucket and expire after 5 minutes. After the expiration time, any calls that you make + * with those credentials will fail. You must use IAM credentials again to make a + * CreateSession API request that generates a new set of temporary credentials for use. + * Temporary credentials cannot be extended or refreshed beyond the original specified interval.

+ *

If you use Amazon Web Services SDKs, SDKs handle the session token refreshes automatically to avoid service + * interruptions when a session expires. We recommend that you use the Amazon Web Services SDKs to initiate and manage + * requests to the CreateSession API. For more information, see Performance guidelines and design patterns in the + * Amazon S3 User Guide.

+ * + *
    + *
  • + *

    You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

    + *
  • + *
  • + *

    + * + * CopyObject API operation - Unlike other + * Zonal endpoint API operations, the CopyObject API operation doesn't use the temporary security + * credentials returned from the CreateSession API operation for authentication and + * authorization. For information about authentication and authorization of the + * CopyObject API operation on directory buckets, see CopyObject.

    + *
  • + *
  • + *

    + * + * HeadBucket API operation - Unlike other + * Zonal endpoint API operations, the HeadBucket API operation doesn't use the temporary security + * credentials returned from the CreateSession API operation for authentication and + * authorization. For information about authentication and authorization of the + * HeadBucket API operation on directory buckets, see HeadBucket.

    + *
  • + *
+ *
+ *
+ *
Permissions
+ *
+ *

To obtain temporary security credentials, you must create a bucket policy or an IAM identity-based policy that + * grants s3express:CreateSession permission to the bucket. In a policy, you can have + * the s3express:SessionMode condition key to control who can create a + * ReadWrite or ReadOnly session. For more information about + * ReadWrite or ReadOnly sessions, see + * x-amz-create-session-mode + * . For example policies, see Example + * bucket policies for S3 Express One Zone and Amazon Web Services Identity + * and Access Management (IAM) identity-based policies for S3 Express One Zone in the + * Amazon S3 User Guide.

+ *

To grant cross-account access to Zonal endpoint API operations, the bucket policy should also grant both + * accounts the s3express:CreateSession permission.

+ *

If you want to encrypt objects with SSE-KMS, you must also have the + * kms:GenerateDataKey and the kms:Decrypt permissions in IAM + * identity-based policies and KMS key policies for the target KMS key.

+ *
+ *
Encryption
+ *
+ *

For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (aws:kms). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your + * CreateSession requests or PUT object requests. Then, new objects + * are automatically encrypted with the desired encryption settings. For more + * information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.

+ *

For Zonal endpoint (object-level) API operations except CopyObject and UploadPartCopy, + * you authenticate and authorize requests through CreateSession for low latency. + * To encrypt new objects in a directory bucket with SSE-KMS, you must specify SSE-KMS as the directory bucket's default encryption configuration with a KMS key (specifically, a customer managed key). Then, when a session is created for Zonal endpoint API operations, new objects are automatically encrypted and decrypted with SSE-KMS and S3 Bucket Keys during the session.

+ * + *

+ * Only 1 customer managed key is supported per directory bucket for the lifetime of the bucket. The Amazon Web Services managed key (aws/s3) isn't supported. + * After you specify SSE-KMS as your bucket's default encryption configuration with a customer managed key, you can't change the customer managed key for the bucket's SSE-KMS configuration. + *

+ *
+ *

In the Zonal endpoint API calls (except CopyObject and UploadPartCopy) using the REST API, + * you can't override the values of the encryption settings (x-amz-server-side-encryption, x-amz-server-side-encryption-aws-kms-key-id, x-amz-server-side-encryption-context, and x-amz-server-side-encryption-bucket-key-enabled) from the CreateSession request. + * You don't need to explicitly specify these encryption settings values in Zonal endpoint API calls, and + * Amazon S3 will use the encryption settings values from the CreateSession request to protect new objects in the directory bucket. + *

+ * + *

When you use the CLI or the Amazon Web Services SDKs, for CreateSession, the session token refreshes automatically to avoid service interruptions when a session expires. The CLI or the Amazon Web Services SDKs use the bucket's default encryption configuration for the + * CreateSession request. It's not supported to override the encryption settings values in the CreateSession request. + * Also, in the Zonal endpoint API calls (except CopyObject and UploadPartCopy), + * it's not supported to override the values of the encryption settings from the CreateSession request. + * + *

+ *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * Bucket-name.s3express-zone-id.region-code.amazonaws.com.

+ *
+ *
+ * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, CreateSessionCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, CreateSessionCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // CreateSessionRequest + * SessionMode: "ReadOnly" || "ReadWrite", + * Bucket: "STRING_VALUE", // required + * ServerSideEncryption: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse", + * SSEKMSKeyId: "STRING_VALUE", + * SSEKMSEncryptionContext: "STRING_VALUE", + * BucketKeyEnabled: true || false, + * }; + * const command = new CreateSessionCommand(input); + * const response = await client.send(command); + * // { // CreateSessionOutput + * // ServerSideEncryption: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse", + * // SSEKMSKeyId: "STRING_VALUE", + * // SSEKMSEncryptionContext: "STRING_VALUE", + * // BucketKeyEnabled: true || false, + * // Credentials: { // SessionCredentials + * // AccessKeyId: "STRING_VALUE", // required + * // SecretAccessKey: "STRING_VALUE", // required + * // SessionToken: "STRING_VALUE", // required + * // Expiration: new Date("TIMESTAMP"), // required + * // }, + * // }; + * + * ``` + * + * @param CreateSessionCommandInput - {@link CreateSessionCommandInput} + * @returns {@link CreateSessionCommandOutput} + * @see {@link CreateSessionCommandInput} for command's `input` shape. + * @see {@link CreateSessionCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link NoSuchBucket} (client fault) + *

The specified bucket does not exist.

+ * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class CreateSessionCommand extends CreateSessionCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: CreateSessionRequest; + output: CreateSessionOutput; + }; + sdk: { + input: CreateSessionCommandInput; + output: CreateSessionCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts new file mode 100644 index 0000000..d6a2d39 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts @@ -0,0 +1,105 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { DeleteBucketAnalyticsConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteBucketAnalyticsConfigurationCommand}. + */ +export interface DeleteBucketAnalyticsConfigurationCommandInput extends DeleteBucketAnalyticsConfigurationRequest { +} +/** + * @public + * + * The output of {@link DeleteBucketAnalyticsConfigurationCommand}. + */ +export interface DeleteBucketAnalyticsConfigurationCommandOutput extends __MetadataBearer { +} +declare const DeleteBucketAnalyticsConfigurationCommand_base: { + new (input: DeleteBucketAnalyticsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: DeleteBucketAnalyticsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Deletes an analytics configuration for the bucket (specified by the analytics configuration + * ID).

+ *

To use this operation, you must have permissions to perform the + * s3:PutAnalyticsConfiguration action. The bucket owner has this permission by default. The + * bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

+ *

For information about the Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class + * Analysis.

+ *

The following operations are related to DeleteBucketAnalyticsConfiguration:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, DeleteBucketAnalyticsConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, DeleteBucketAnalyticsConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // DeleteBucketAnalyticsConfigurationRequest + * Bucket: "STRING_VALUE", // required + * Id: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new DeleteBucketAnalyticsConfigurationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteBucketAnalyticsConfigurationCommandInput - {@link DeleteBucketAnalyticsConfigurationCommandInput} + * @returns {@link DeleteBucketAnalyticsConfigurationCommandOutput} + * @see {@link DeleteBucketAnalyticsConfigurationCommandInput} for command's `input` shape. + * @see {@link DeleteBucketAnalyticsConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class DeleteBucketAnalyticsConfigurationCommand extends DeleteBucketAnalyticsConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: DeleteBucketAnalyticsConfigurationRequest; + output: {}; + }; + sdk: { + input: DeleteBucketAnalyticsConfigurationCommandInput; + output: DeleteBucketAnalyticsConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts new file mode 100644 index 0000000..cde54ad --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts @@ -0,0 +1,144 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { DeleteBucketRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteBucketCommand}. + */ +export interface DeleteBucketCommandInput extends DeleteBucketRequest { +} +/** + * @public + * + * The output of {@link DeleteBucketCommand}. + */ +export interface DeleteBucketCommandOutput extends __MetadataBearer { +} +declare const DeleteBucketCommand_base: { + new (input: DeleteBucketCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: DeleteBucketCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Deletes the S3 bucket. All objects (including all object versions and delete markers) in the bucket + * must be deleted before the bucket itself can be deleted.

+ * + *
    + *
  • + *

    + * Directory buckets - If multipart uploads in a + * directory bucket are in progress, you can't delete the bucket until all the in-progress multipart + * uploads are aborted or completed.

    + *
  • + *
  • + *

    + * Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. + * For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

    + *
  • + *
+ *
+ *
+ *
Permissions
+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - You must have the + * s3:DeleteBucket permission on the specified bucket in a policy.

    + *
  • + *
  • + *

    + * Directory bucket permissions - You must have the + * s3express:DeleteBucket permission in an IAM identity-based policy instead of a bucket policy. + * Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

+ *
+ *
+ *

The following operations are related to DeleteBucket:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, DeleteBucketCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, DeleteBucketCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // DeleteBucketRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new DeleteBucketCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteBucketCommandInput - {@link DeleteBucketCommandInput} + * @returns {@link DeleteBucketCommandOutput} + * @see {@link DeleteBucketCommandInput} for command's `input` shape. + * @see {@link DeleteBucketCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To delete a bucket + * ```javascript + * // The following example deletes the specified bucket. + * const input = { + * Bucket: "forrandall2" + * }; + * const command = new DeleteBucketCommand(input); + * const response = await client.send(command); + * /* response is + * { /* metadata only *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class DeleteBucketCommand extends DeleteBucketCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: DeleteBucketRequest; + output: {}; + }; + sdk: { + input: DeleteBucketCommandInput; + output: DeleteBucketCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts new file mode 100644 index 0000000..76ca9dc --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts @@ -0,0 +1,111 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { DeleteBucketCorsRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteBucketCorsCommand}. + */ +export interface DeleteBucketCorsCommandInput extends DeleteBucketCorsRequest { +} +/** + * @public + * + * The output of {@link DeleteBucketCorsCommand}. + */ +export interface DeleteBucketCorsCommandOutput extends __MetadataBearer { +} +declare const DeleteBucketCorsCommand_base: { + new (input: DeleteBucketCorsCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: DeleteBucketCorsCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Deletes the cors configuration information set for the bucket.

+ *

To use this operation, you must have permission to perform the s3:PutBucketCORS action. + * The bucket owner has this permission by default and can grant this permission to others.

+ *

For information about cors, see Enabling Cross-Origin Resource Sharing in the + * Amazon S3 User Guide.

+ *

+ * Related Resources + *

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, DeleteBucketCorsCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, DeleteBucketCorsCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // DeleteBucketCorsRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new DeleteBucketCorsCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteBucketCorsCommandInput - {@link DeleteBucketCorsCommandInput} + * @returns {@link DeleteBucketCorsCommandOutput} + * @see {@link DeleteBucketCorsCommandInput} for command's `input` shape. + * @see {@link DeleteBucketCorsCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To delete cors configuration on a bucket. + * ```javascript + * // The following example deletes CORS configuration on a bucket. + * const input = { + * Bucket: "examplebucket" + * }; + * const command = new DeleteBucketCorsCommand(input); + * const response = await client.send(command); + * /* response is + * { /* metadata only *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class DeleteBucketCorsCommand extends DeleteBucketCorsCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: DeleteBucketCorsRequest; + output: {}; + }; + sdk: { + input: DeleteBucketCorsCommandInput; + output: DeleteBucketCorsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts new file mode 100644 index 0000000..ff88c90 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts @@ -0,0 +1,134 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { DeleteBucketEncryptionRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteBucketEncryptionCommand}. + */ +export interface DeleteBucketEncryptionCommandInput extends DeleteBucketEncryptionRequest { +} +/** + * @public + * + * The output of {@link DeleteBucketEncryptionCommand}. + */ +export interface DeleteBucketEncryptionCommandOutput extends __MetadataBearer { +} +declare const DeleteBucketEncryptionCommand_base: { + new (input: DeleteBucketEncryptionCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: DeleteBucketEncryptionCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

This implementation of the DELETE action resets the default encryption for the bucket as server-side + * encryption with Amazon S3 managed keys (SSE-S3).

+ * + * + * + *
+ *
Permissions
+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - The + * s3:PutEncryptionConfiguration permission is required in a policy. The bucket + * owner has this permission by default. The bucket owner can grant this permission to others. + * For more information about permissions, see Permissions Related to Bucket Operations and Managing Access Permissions to Your + * Amazon S3 Resources.

    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to + * this API operation, you must have the s3express:PutEncryptionConfiguration + * permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. + * For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

+ *
+ *
+ *

The following operations are related to DeleteBucketEncryption:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, DeleteBucketEncryptionCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, DeleteBucketEncryptionCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // DeleteBucketEncryptionRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new DeleteBucketEncryptionCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteBucketEncryptionCommandInput - {@link DeleteBucketEncryptionCommandInput} + * @returns {@link DeleteBucketEncryptionCommandOutput} + * @see {@link DeleteBucketEncryptionCommandInput} for command's `input` shape. + * @see {@link DeleteBucketEncryptionCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class DeleteBucketEncryptionCommand extends DeleteBucketEncryptionCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: DeleteBucketEncryptionRequest; + output: {}; + }; + sdk: { + input: DeleteBucketEncryptionCommandInput; + output: DeleteBucketEncryptionCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts new file mode 100644 index 0000000..e6c4417 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts @@ -0,0 +1,101 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { DeleteBucketIntelligentTieringConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteBucketIntelligentTieringConfigurationCommand}. + */ +export interface DeleteBucketIntelligentTieringConfigurationCommandInput extends DeleteBucketIntelligentTieringConfigurationRequest { +} +/** + * @public + * + * The output of {@link DeleteBucketIntelligentTieringConfigurationCommand}. + */ +export interface DeleteBucketIntelligentTieringConfigurationCommandOutput extends __MetadataBearer { +} +declare const DeleteBucketIntelligentTieringConfigurationCommand_base: { + new (input: DeleteBucketIntelligentTieringConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: DeleteBucketIntelligentTieringConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Deletes the S3 Intelligent-Tiering configuration from the specified bucket.

+ *

The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.

+ *

The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.

+ *

For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.

+ *

Operations related to DeleteBucketIntelligentTieringConfiguration include:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, DeleteBucketIntelligentTieringConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, DeleteBucketIntelligentTieringConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // DeleteBucketIntelligentTieringConfigurationRequest + * Bucket: "STRING_VALUE", // required + * Id: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new DeleteBucketIntelligentTieringConfigurationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteBucketIntelligentTieringConfigurationCommandInput - {@link DeleteBucketIntelligentTieringConfigurationCommandInput} + * @returns {@link DeleteBucketIntelligentTieringConfigurationCommandOutput} + * @see {@link DeleteBucketIntelligentTieringConfigurationCommandInput} for command's `input` shape. + * @see {@link DeleteBucketIntelligentTieringConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class DeleteBucketIntelligentTieringConfigurationCommand extends DeleteBucketIntelligentTieringConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: DeleteBucketIntelligentTieringConfigurationRequest; + output: {}; + }; + sdk: { + input: DeleteBucketIntelligentTieringConfigurationCommandInput; + output: DeleteBucketIntelligentTieringConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts new file mode 100644 index 0000000..a3c3fca --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts @@ -0,0 +1,107 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { DeleteBucketInventoryConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteBucketInventoryConfigurationCommand}. + */ +export interface DeleteBucketInventoryConfigurationCommandInput extends DeleteBucketInventoryConfigurationRequest { +} +/** + * @public + * + * The output of {@link DeleteBucketInventoryConfigurationCommand}. + */ +export interface DeleteBucketInventoryConfigurationCommandOutput extends __MetadataBearer { +} +declare const DeleteBucketInventoryConfigurationCommand_base: { + new (input: DeleteBucketInventoryConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: DeleteBucketInventoryConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Deletes an S3 Inventory configuration (identified by the inventory ID) from the bucket.

+ *

To use this operation, you must have permissions to perform the + * s3:PutInventoryConfiguration action. The bucket owner has this permission by default. The + * bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

+ *

For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.

+ * + *

After deleting a configuration, Amazon S3 might still deliver one additional inventory + * report during a brief transition period while the system processes the deletion.

+ *
+ *

Operations related to DeleteBucketInventoryConfiguration include:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, DeleteBucketInventoryConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, DeleteBucketInventoryConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // DeleteBucketInventoryConfigurationRequest + * Bucket: "STRING_VALUE", // required + * Id: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new DeleteBucketInventoryConfigurationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteBucketInventoryConfigurationCommandInput - {@link DeleteBucketInventoryConfigurationCommandInput} + * @returns {@link DeleteBucketInventoryConfigurationCommandOutput} + * @see {@link DeleteBucketInventoryConfigurationCommandInput} for command's `input` shape. + * @see {@link DeleteBucketInventoryConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class DeleteBucketInventoryConfigurationCommand extends DeleteBucketInventoryConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: DeleteBucketInventoryConfigurationRequest; + output: {}; + }; + sdk: { + input: DeleteBucketInventoryConfigurationCommandInput; + output: DeleteBucketInventoryConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts new file mode 100644 index 0000000..82ed8b3 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts @@ -0,0 +1,153 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { DeleteBucketLifecycleRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteBucketLifecycleCommand}. + */ +export interface DeleteBucketLifecycleCommandInput extends DeleteBucketLifecycleRequest { +} +/** + * @public + * + * The output of {@link DeleteBucketLifecycleCommand}. + */ +export interface DeleteBucketLifecycleCommandOutput extends __MetadataBearer { +} +declare const DeleteBucketLifecycleCommand_base: { + new (input: DeleteBucketLifecycleCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: DeleteBucketLifecycleCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Deletes the lifecycle configuration from the specified bucket. Amazon S3 removes all the lifecycle + * configuration rules in the lifecycle subresource associated with the bucket. Your objects never expire, + * and Amazon S3 no longer automatically deletes any objects on the basis of rules contained in the deleted + * lifecycle configuration.

+ *
+ *
Permissions
+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - By default, all Amazon S3 + * resources are private, including buckets, objects, and related subresources (for example, + * lifecycle configuration and website configuration). Only the resource owner (that is, the + * Amazon Web Services account that created it) can access the resource. The resource owner can optionally + * grant access permissions to others by writing an access policy. For this operation, a user + * must have the s3:PutLifecycleConfiguration permission.

    + *

    For more information about permissions, see Managing Access Permissions to Your + * Amazon S3 Resources.

    + *
  • + *
+ *
    + *
  • + *

    + * Directory bucket permissions - You must have the + * s3express:PutLifecycleConfiguration permission in an IAM identity-based policy + * to use this operation. Cross-account access to this API operation isn't supported. The + * resource owner can optionally grant access permissions to others by creating a role or user + * for them as long as they are within the same account as the owner and resource.

    + *

    For more information about directory bucket policies and permissions, see Authorizing Regional endpoint APIs with IAM in the Amazon S3 User + * Guide.

    + * + *

    + * Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. + * For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

    + *
    + *
  • + *
+ *
+ *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * s3express-control.region.amazonaws.com.

+ *
+ *
+ *

For more information about the object expiration, see Elements to + * Describe Lifecycle Actions.

+ *

Related actions include:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, DeleteBucketLifecycleCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, DeleteBucketLifecycleCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // DeleteBucketLifecycleRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new DeleteBucketLifecycleCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteBucketLifecycleCommandInput - {@link DeleteBucketLifecycleCommandInput} + * @returns {@link DeleteBucketLifecycleCommandOutput} + * @see {@link DeleteBucketLifecycleCommandInput} for command's `input` shape. + * @see {@link DeleteBucketLifecycleCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To delete lifecycle configuration on a bucket. + * ```javascript + * // The following example deletes lifecycle configuration on a bucket. + * const input = { + * Bucket: "examplebucket" + * }; + * const command = new DeleteBucketLifecycleCommand(input); + * const response = await client.send(command); + * /* response is + * { /* metadata only *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class DeleteBucketLifecycleCommand extends DeleteBucketLifecycleCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: DeleteBucketLifecycleRequest; + output: {}; + }; + sdk: { + input: DeleteBucketLifecycleCommandInput; + output: DeleteBucketLifecycleCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts new file mode 100644 index 0000000..292e675 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts @@ -0,0 +1,119 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { DeleteBucketMetadataConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteBucketMetadataConfigurationCommand}. + */ +export interface DeleteBucketMetadataConfigurationCommandInput extends DeleteBucketMetadataConfigurationRequest { +} +/** + * @public + * + * The output of {@link DeleteBucketMetadataConfigurationCommand}. + */ +export interface DeleteBucketMetadataConfigurationCommandOutput extends __MetadataBearer { +} +declare const DeleteBucketMetadataConfigurationCommand_base: { + new (input: DeleteBucketMetadataConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: DeleteBucketMetadataConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Deletes an S3 Metadata configuration from a general purpose bucket. For more information, see + * Accelerating + * data discovery with S3 Metadata in the Amazon S3 User Guide.

+ * + *

You can use the V2 DeleteBucketMetadataConfiguration API operation with V1 or V2 + * metadata configurations. However, if you try to use the V1 + * DeleteBucketMetadataTableConfiguration API operation with V2 configurations, you + * will receive an HTTP 405 Method Not Allowed error.

+ *
+ *
+ *
Permissions
+ *
+ *

To use this operation, you must have the + * s3:DeleteBucketMetadataTableConfiguration permission. For more information, see + * Setting up permissions for configuring metadata tables in the + * Amazon S3 User Guide.

+ * + *

The IAM policy action name is the same for the V1 and V2 API operations.

+ *
+ *
+ *
+ *

The following operations are related to DeleteBucketMetadataConfiguration:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, DeleteBucketMetadataConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, DeleteBucketMetadataConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // DeleteBucketMetadataConfigurationRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new DeleteBucketMetadataConfigurationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteBucketMetadataConfigurationCommandInput - {@link DeleteBucketMetadataConfigurationCommandInput} + * @returns {@link DeleteBucketMetadataConfigurationCommandOutput} + * @see {@link DeleteBucketMetadataConfigurationCommandInput} for command's `input` shape. + * @see {@link DeleteBucketMetadataConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class DeleteBucketMetadataConfigurationCommand extends DeleteBucketMetadataConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: DeleteBucketMetadataConfigurationRequest; + output: {}; + }; + sdk: { + input: DeleteBucketMetadataConfigurationCommandInput; + output: DeleteBucketMetadataConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts new file mode 100644 index 0000000..8ccb8d8 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts @@ -0,0 +1,119 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { DeleteBucketMetadataTableConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteBucketMetadataTableConfigurationCommand}. + */ +export interface DeleteBucketMetadataTableConfigurationCommandInput extends DeleteBucketMetadataTableConfigurationRequest { +} +/** + * @public + * + * The output of {@link DeleteBucketMetadataTableConfigurationCommand}. + */ +export interface DeleteBucketMetadataTableConfigurationCommandOutput extends __MetadataBearer { +} +declare const DeleteBucketMetadataTableConfigurationCommand_base: { + new (input: DeleteBucketMetadataTableConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: DeleteBucketMetadataTableConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

+ * We recommend that you delete your S3 Metadata configurations by using the V2 + * DeleteBucketMetadataTableConfiguration API operation. We no longer recommend using + * the V1 DeleteBucketMetadataTableConfiguration API operation. + *

+ *

If you created your S3 Metadata configuration before July 15, 2025, we recommend that you delete + * and re-create your configuration by using CreateBucketMetadataConfiguration so that you can expire journal table records and create + * a live inventory table.

+ *
+ *

Deletes a V1 S3 Metadata configuration from a general purpose bucket. For more information, see + * Accelerating + * data discovery with S3 Metadata in the Amazon S3 User Guide.

+ * + *

You can use the V2 DeleteBucketMetadataConfiguration API operation with V1 or V2 + * metadata table configurations. However, if you try to use the V1 + * DeleteBucketMetadataTableConfiguration API operation with V2 configurations, you + * will receive an HTTP 405 Method Not Allowed error.

+ *

Make sure that you update your processes to use the new V2 API operations + * (CreateBucketMetadataConfiguration, GetBucketMetadataConfiguration, and + * DeleteBucketMetadataConfiguration) instead of the V1 API operations.

+ *
+ *
+ *
Permissions
+ *
+ *

To use this operation, you must have the + * s3:DeleteBucketMetadataTableConfiguration permission. For more information, see + * Setting up permissions for configuring metadata tables in the + * Amazon S3 User Guide.

+ *
+ *
+ *

The following operations are related to DeleteBucketMetadataTableConfiguration:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, DeleteBucketMetadataTableConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, DeleteBucketMetadataTableConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // DeleteBucketMetadataTableConfigurationRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new DeleteBucketMetadataTableConfigurationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteBucketMetadataTableConfigurationCommandInput - {@link DeleteBucketMetadataTableConfigurationCommandInput} + * @returns {@link DeleteBucketMetadataTableConfigurationCommandOutput} + * @see {@link DeleteBucketMetadataTableConfigurationCommandInput} for command's `input` shape. + * @see {@link DeleteBucketMetadataTableConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class DeleteBucketMetadataTableConfigurationCommand extends DeleteBucketMetadataTableConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: DeleteBucketMetadataTableConfigurationRequest; + output: {}; + }; + sdk: { + input: DeleteBucketMetadataTableConfigurationCommandInput; + output: DeleteBucketMetadataTableConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts new file mode 100644 index 0000000..2f7e33a --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts @@ -0,0 +1,141 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { DeleteBucketMetricsConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteBucketMetricsConfigurationCommand}. + */ +export interface DeleteBucketMetricsConfigurationCommandInput extends DeleteBucketMetricsConfigurationRequest { +} +/** + * @public + * + * The output of {@link DeleteBucketMetricsConfigurationCommand}. + */ +export interface DeleteBucketMetricsConfigurationCommandOutput extends __MetadataBearer { +} +declare const DeleteBucketMetricsConfigurationCommand_base: { + new (input: DeleteBucketMetricsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: DeleteBucketMetricsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Deletes a metrics configuration for the Amazon CloudWatch request metrics (specified by the metrics + * configuration ID) from the bucket. Note that this doesn't include the daily storage metrics.

+ * + *

+ * Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. + * For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

+ *
+ *
+ *
Permissions
+ *
+ *

To use this operation, you must have permissions to perform the + * s3:PutMetricsConfiguration action. The bucket owner has this permission by default. The + * bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

+ *
    + *
  • + *

    + * General purpose bucket permissions - The + * s3:PutMetricsConfiguration permission is required in a policy. For more information + * about general purpose buckets permissions, see Using Bucket Policies and User + * Policies in the Amazon S3 User Guide.

    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to + * this API operation, you must have the s3express:PutMetricsConfiguration permission in + * an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. + * For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

+ *
+ *
+ *

For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon CloudWatch.

+ *

The following operations are related to DeleteBucketMetricsConfiguration:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, DeleteBucketMetricsConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, DeleteBucketMetricsConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // DeleteBucketMetricsConfigurationRequest + * Bucket: "STRING_VALUE", // required + * Id: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new DeleteBucketMetricsConfigurationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteBucketMetricsConfigurationCommandInput - {@link DeleteBucketMetricsConfigurationCommandInput} + * @returns {@link DeleteBucketMetricsConfigurationCommandOutput} + * @see {@link DeleteBucketMetricsConfigurationCommandInput} for command's `input` shape. + * @see {@link DeleteBucketMetricsConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class DeleteBucketMetricsConfigurationCommand extends DeleteBucketMetricsConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: DeleteBucketMetricsConfigurationRequest; + output: {}; + }; + sdk: { + input: DeleteBucketMetricsConfigurationCommandInput; + output: DeleteBucketMetricsConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts new file mode 100644 index 0000000..5cb0478 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts @@ -0,0 +1,96 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { DeleteBucketOwnershipControlsRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteBucketOwnershipControlsCommand}. + */ +export interface DeleteBucketOwnershipControlsCommandInput extends DeleteBucketOwnershipControlsRequest { +} +/** + * @public + * + * The output of {@link DeleteBucketOwnershipControlsCommand}. + */ +export interface DeleteBucketOwnershipControlsCommandOutput extends __MetadataBearer { +} +declare const DeleteBucketOwnershipControlsCommand_base: { + new (input: DeleteBucketOwnershipControlsCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: DeleteBucketOwnershipControlsCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Removes OwnershipControls for an Amazon S3 bucket. To use this operation, you must have the + * s3:PutBucketOwnershipControls permission. For more information about Amazon S3 permissions, + * see Specifying + * Permissions in a Policy.

+ *

For information about Amazon S3 Object Ownership, see Using Object Ownership.

+ *

The following operations are related to DeleteBucketOwnershipControls:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, DeleteBucketOwnershipControlsCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, DeleteBucketOwnershipControlsCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // DeleteBucketOwnershipControlsRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new DeleteBucketOwnershipControlsCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteBucketOwnershipControlsCommandInput - {@link DeleteBucketOwnershipControlsCommandInput} + * @returns {@link DeleteBucketOwnershipControlsCommandOutput} + * @see {@link DeleteBucketOwnershipControlsCommandInput} for command's `input` shape. + * @see {@link DeleteBucketOwnershipControlsCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class DeleteBucketOwnershipControlsCommand extends DeleteBucketOwnershipControlsCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: DeleteBucketOwnershipControlsRequest; + output: {}; + }; + sdk: { + input: DeleteBucketOwnershipControlsCommandInput; + output: DeleteBucketOwnershipControlsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts new file mode 100644 index 0000000..90042eb --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts @@ -0,0 +1,152 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { DeleteBucketPolicyRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteBucketPolicyCommand}. + */ +export interface DeleteBucketPolicyCommandInput extends DeleteBucketPolicyRequest { +} +/** + * @public + * + * The output of {@link DeleteBucketPolicyCommand}. + */ +export interface DeleteBucketPolicyCommandOutput extends __MetadataBearer { +} +declare const DeleteBucketPolicyCommand_base: { + new (input: DeleteBucketPolicyCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: DeleteBucketPolicyCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Deletes the policy of a specified bucket.

+ * + *

+ * Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. + * For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

+ *
+ *
+ *
Permissions
+ *
+ *

If you are using an identity other than the root user of the Amazon Web Services account that owns the + * bucket, the calling identity must both have the DeleteBucketPolicy permissions on the + * specified bucket and belong to the bucket owner's account in order to use this operation.

+ *

If you don't have DeleteBucketPolicy permissions, Amazon S3 returns a 403 Access + * Denied error. If you have the correct permissions, but you're not using an identity that + * belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not Allowed + * error.

+ * + *

To ensure that bucket owners don't inadvertently lock themselves out of their own buckets, + * the root principal in a bucket owner's Amazon Web Services account can perform the + * GetBucketPolicy, PutBucketPolicy, and + * DeleteBucketPolicy API actions, even if their bucket policy explicitly denies the + * root principal's access. Bucket owner root principals can only be blocked from performing these + * API actions by VPC endpoint policies and Amazon Web Services Organizations policies.

+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - The + * s3:DeleteBucketPolicy permission is required in a policy. For more information + * about general purpose buckets bucket policies, see Using Bucket Policies and User + * Policies in the Amazon S3 User Guide.

    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to + * this API operation, you must have the s3express:DeleteBucketPolicy permission in + * an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. + * For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

+ *
+ *
+ *

The following operations are related to DeleteBucketPolicy + *

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, DeleteBucketPolicyCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, DeleteBucketPolicyCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // DeleteBucketPolicyRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new DeleteBucketPolicyCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteBucketPolicyCommandInput - {@link DeleteBucketPolicyCommandInput} + * @returns {@link DeleteBucketPolicyCommandOutput} + * @see {@link DeleteBucketPolicyCommandInput} for command's `input` shape. + * @see {@link DeleteBucketPolicyCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To delete bucket policy + * ```javascript + * // The following example deletes bucket policy on the specified bucket. + * const input = { + * Bucket: "examplebucket" + * }; + * const command = new DeleteBucketPolicyCommand(input); + * const response = await client.send(command); + * /* response is + * { /* metadata only *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class DeleteBucketPolicyCommand extends DeleteBucketPolicyCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: DeleteBucketPolicyRequest; + output: {}; + }; + sdk: { + input: DeleteBucketPolicyCommandInput; + output: DeleteBucketPolicyCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts new file mode 100644 index 0000000..dae9043 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts @@ -0,0 +1,114 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { DeleteBucketReplicationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteBucketReplicationCommand}. + */ +export interface DeleteBucketReplicationCommandInput extends DeleteBucketReplicationRequest { +} +/** + * @public + * + * The output of {@link DeleteBucketReplicationCommand}. + */ +export interface DeleteBucketReplicationCommandOutput extends __MetadataBearer { +} +declare const DeleteBucketReplicationCommand_base: { + new (input: DeleteBucketReplicationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: DeleteBucketReplicationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Deletes the replication configuration from the bucket.

+ *

To use this operation, you must have permissions to perform the + * s3:PutReplicationConfiguration action. The bucket owner has these permissions by default + * and can grant it to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

+ * + *

It can take a while for the deletion of a replication configuration to fully propagate.

+ *
+ *

For information about replication configuration, see Replication in the + * Amazon S3 User Guide.

+ *

The following operations are related to DeleteBucketReplication:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, DeleteBucketReplicationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, DeleteBucketReplicationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // DeleteBucketReplicationRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new DeleteBucketReplicationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteBucketReplicationCommandInput - {@link DeleteBucketReplicationCommandInput} + * @returns {@link DeleteBucketReplicationCommandOutput} + * @see {@link DeleteBucketReplicationCommandInput} for command's `input` shape. + * @see {@link DeleteBucketReplicationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To delete bucket replication configuration + * ```javascript + * // The following example deletes replication configuration set on bucket. + * const input = { + * Bucket: "example" + * }; + * const command = new DeleteBucketReplicationCommand(input); + * const response = await client.send(command); + * /* response is + * { /* metadata only *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class DeleteBucketReplicationCommand extends DeleteBucketReplicationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: DeleteBucketReplicationRequest; + output: {}; + }; + sdk: { + input: DeleteBucketReplicationCommandInput; + output: DeleteBucketReplicationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts new file mode 100644 index 0000000..d9e7712 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts @@ -0,0 +1,107 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { DeleteBucketTaggingRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteBucketTaggingCommand}. + */ +export interface DeleteBucketTaggingCommandInput extends DeleteBucketTaggingRequest { +} +/** + * @public + * + * The output of {@link DeleteBucketTaggingCommand}. + */ +export interface DeleteBucketTaggingCommandOutput extends __MetadataBearer { +} +declare const DeleteBucketTaggingCommand_base: { + new (input: DeleteBucketTaggingCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: DeleteBucketTaggingCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Deletes tags from the general purpose bucket if attribute based access control (ABAC) is not enabled for the bucket. When you enable ABAC for a general purpose bucket, you can no longer use this operation for that bucket and must use UntagResource instead.

+ *

To use this operation, you must have permission to perform the s3:PutBucketTagging + * action. By default, the bucket owner has this permission and can grant this permission to others.

+ *

The following operations are related to DeleteBucketTagging:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, DeleteBucketTaggingCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, DeleteBucketTaggingCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // DeleteBucketTaggingRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new DeleteBucketTaggingCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteBucketTaggingCommandInput - {@link DeleteBucketTaggingCommandInput} + * @returns {@link DeleteBucketTaggingCommandOutput} + * @see {@link DeleteBucketTaggingCommandInput} for command's `input` shape. + * @see {@link DeleteBucketTaggingCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To delete bucket tags + * ```javascript + * // The following example deletes bucket tags. + * const input = { + * Bucket: "examplebucket" + * }; + * const command = new DeleteBucketTaggingCommand(input); + * const response = await client.send(command); + * /* response is + * { /* metadata only *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class DeleteBucketTaggingCommand extends DeleteBucketTaggingCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: DeleteBucketTaggingRequest; + output: {}; + }; + sdk: { + input: DeleteBucketTaggingCommandInput; + output: DeleteBucketTaggingCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts new file mode 100644 index 0000000..4bb019f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts @@ -0,0 +1,114 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { DeleteBucketWebsiteRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteBucketWebsiteCommand}. + */ +export interface DeleteBucketWebsiteCommandInput extends DeleteBucketWebsiteRequest { +} +/** + * @public + * + * The output of {@link DeleteBucketWebsiteCommand}. + */ +export interface DeleteBucketWebsiteCommandOutput extends __MetadataBearer { +} +declare const DeleteBucketWebsiteCommand_base: { + new (input: DeleteBucketWebsiteCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: DeleteBucketWebsiteCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

This action removes the website configuration for a bucket. Amazon S3 returns a 200 OK + * response upon successfully deleting a website configuration on the specified bucket. You will get a + * 200 OK response if the website configuration you are trying to delete does not exist on + * the bucket. Amazon S3 returns a 404 response if the bucket specified in the request does not + * exist.

+ *

This DELETE action requires the S3:DeleteBucketWebsite permission. By default, only the + * bucket owner can delete the website configuration attached to a bucket. However, bucket owners can grant + * other users permission to delete the website configuration by writing a bucket policy granting them the + * S3:DeleteBucketWebsite permission.

+ *

For more information about hosting websites, see Hosting Websites on Amazon S3.

+ *

The following operations are related to DeleteBucketWebsite:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, DeleteBucketWebsiteCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, DeleteBucketWebsiteCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // DeleteBucketWebsiteRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new DeleteBucketWebsiteCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteBucketWebsiteCommandInput - {@link DeleteBucketWebsiteCommandInput} + * @returns {@link DeleteBucketWebsiteCommandOutput} + * @see {@link DeleteBucketWebsiteCommandInput} for command's `input` shape. + * @see {@link DeleteBucketWebsiteCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To delete bucket website configuration + * ```javascript + * // The following example deletes bucket website configuration. + * const input = { + * Bucket: "examplebucket" + * }; + * const command = new DeleteBucketWebsiteCommand(input); + * const response = await client.send(command); + * /* response is + * { /* metadata only *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class DeleteBucketWebsiteCommand extends DeleteBucketWebsiteCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: DeleteBucketWebsiteRequest; + output: {}; + }; + sdk: { + input: DeleteBucketWebsiteCommandInput; + output: DeleteBucketWebsiteCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts new file mode 100644 index 0000000..d628d35 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts @@ -0,0 +1,237 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { DeleteObjectOutput, DeleteObjectRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteObjectCommand}. + */ +export interface DeleteObjectCommandInput extends DeleteObjectRequest { +} +/** + * @public + * + * The output of {@link DeleteObjectCommand}. + */ +export interface DeleteObjectCommandOutput extends DeleteObjectOutput, __MetadataBearer { +} +declare const DeleteObjectCommand_base: { + new (input: DeleteObjectCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: DeleteObjectCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Removes an object from a bucket. The behavior depends on the bucket's versioning state:

+ *
    + *
  • + *

    If bucket versioning is not enabled, the operation permanently deletes the object.

    + *
  • + *
  • + *

    If bucket versioning is enabled, the operation inserts a delete marker, which becomes the + * current version of the object. To permanently delete an object in a versioned bucket, you must + * include the object’s versionId in the request. For more information about + * versioning-enabled buckets, see Deleting object versions from a + * versioning-enabled bucket.

    + *
  • + *
  • + *

    If bucket versioning is suspended, the operation removes the object that has a null + * versionId, if there is one, and inserts a delete marker that becomes the current + * version of the object. If there isn't an object with a null versionId, and all versions + * of the object have a versionId, Amazon S3 does not remove the object and only inserts a + * delete marker. To permanently delete an object that has a versionId, you must include + * the object’s versionId in the request. For more information about versioning-suspended + * buckets, see Deleting + * objects from versioning-suspended buckets.

    + *
  • + *
+ * + *
    + *
  • + *

    + * Directory buckets - S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null value of the version ID is supported by directory buckets. + * You can only specify null to the versionId query parameter in the + * request.

    + *
  • + *
  • + *

    + * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name + * . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

    + *
  • + *
+ *
+ *

To remove a specific version, you must use the versionId query parameter. Using this + * query parameter permanently deletes the version. If the object deleted is a delete marker, Amazon S3 sets the + * response header x-amz-delete-marker to true.

+ *

If the object you want to delete is in a bucket where the bucket versioning configuration is MFA + * Delete enabled, you must include the x-amz-mfa request header in the DELETE + * versionId request. Requests that include x-amz-mfa must use HTTPS. For more + * information about MFA Delete, see Using MFA Delete in the Amazon S3 User + * Guide. To see sample requests that use versioning, see Sample Request.

+ * + *

+ * Directory buckets - MFA delete is not supported by directory buckets.

+ *
+ *

You can delete objects by explicitly calling DELETE Object or calling (PutBucketLifecycle) to enable Amazon S3 to + * remove them for you. If you want to block users or accounts from removing or deleting objects from your + * bucket, you must deny them the s3:DeleteObject, s3:DeleteObjectVersion, and + * s3:PutLifeCycleConfiguration actions.

+ * + *

+ * Directory buckets - + * S3 Lifecycle is not supported by directory buckets.

+ *
+ *
+ *
Permissions
+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - The following + * permissions are required in your policies when your DeleteObjects request + * includes specific headers.

    + *
      + *
    • + *

      + * + * s3:DeleteObject + * - To + * delete an object from a bucket, you must always have the + * s3:DeleteObject permission.

      + *
    • + *
    • + *

      + * + * s3:DeleteObjectVersion + * - To delete a specific version of an object from a versioning-enabled + * bucket, you must have the s3:DeleteObjectVersion permission.

      + * + *

      If the s3:DeleteObject or s3:DeleteObjectVersion permissions are explicitly + * denied in your bucket policy, attempts to delete any unversioned objects + * result in a 403 Access Denied error.

      + *
      + *
    • + *
    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the + * CreateSession + * API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. + * Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see + * CreateSession + * .

    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * Bucket-name.s3express-zone-id.region-code.amazonaws.com.

+ *
+ *
+ *

The following action is related to DeleteObject:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * + *

The If-Match header is supported for both general purpose and directory buckets. IfMatchLastModifiedTime and IfMatchSize is only supported for directory buckets.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, DeleteObjectCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, DeleteObjectCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // DeleteObjectRequest + * Bucket: "STRING_VALUE", // required + * Key: "STRING_VALUE", // required + * MFA: "STRING_VALUE", + * VersionId: "STRING_VALUE", + * RequestPayer: "requester", + * BypassGovernanceRetention: true || false, + * ExpectedBucketOwner: "STRING_VALUE", + * IfMatch: "STRING_VALUE", + * IfMatchLastModifiedTime: new Date("TIMESTAMP"), + * IfMatchSize: Number("long"), + * }; + * const command = new DeleteObjectCommand(input); + * const response = await client.send(command); + * // { // DeleteObjectOutput + * // DeleteMarker: true || false, + * // VersionId: "STRING_VALUE", + * // RequestCharged: "requester", + * // }; + * + * ``` + * + * @param DeleteObjectCommandInput - {@link DeleteObjectCommandInput} + * @returns {@link DeleteObjectCommandOutput} + * @see {@link DeleteObjectCommandInput} for command's `input` shape. + * @see {@link DeleteObjectCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To delete an object (from a non-versioned bucket) + * ```javascript + * // The following example deletes an object from a non-versioned bucket. + * const input = { + * Bucket: "ExampleBucket", + * Key: "HappyFace.jpg" + * }; + * const command = new DeleteObjectCommand(input); + * const response = await client.send(command); + * /* response is + * { /* metadata only *\/ } + * *\/ + * ``` + * + * @example To delete an object + * ```javascript + * // The following example deletes an object from an S3 bucket. + * const input = { + * Bucket: "examplebucket", + * Key: "objectkey.jpg" + * }; + * const command = new DeleteObjectCommand(input); + * const response = await client.send(command); + * /* response is + * { /* empty *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class DeleteObjectCommand extends DeleteObjectCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: DeleteObjectRequest; + output: DeleteObjectOutput; + }; + sdk: { + input: DeleteObjectCommandInput; + output: DeleteObjectCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts new file mode 100644 index 0000000..430f1be --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts @@ -0,0 +1,135 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { DeleteObjectTaggingOutput, DeleteObjectTaggingRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteObjectTaggingCommand}. + */ +export interface DeleteObjectTaggingCommandInput extends DeleteObjectTaggingRequest { +} +/** + * @public + * + * The output of {@link DeleteObjectTaggingCommand}. + */ +export interface DeleteObjectTaggingCommandOutput extends DeleteObjectTaggingOutput, __MetadataBearer { +} +declare const DeleteObjectTaggingCommand_base: { + new (input: DeleteObjectTaggingCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: DeleteObjectTaggingCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Removes the entire tag set from the specified object. For more information about managing object + * tags, see Object + * Tagging.

+ *

To use this operation, you must have permission to perform the s3:DeleteObjectTagging + * action.

+ *

To delete tags of a specific object version, add the versionId query parameter in the + * request. You will need permission for the s3:DeleteObjectVersionTagging action.

+ *

The following operations are related to DeleteObjectTagging:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, DeleteObjectTaggingCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, DeleteObjectTaggingCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // DeleteObjectTaggingRequest + * Bucket: "STRING_VALUE", // required + * Key: "STRING_VALUE", // required + * VersionId: "STRING_VALUE", + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new DeleteObjectTaggingCommand(input); + * const response = await client.send(command); + * // { // DeleteObjectTaggingOutput + * // VersionId: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DeleteObjectTaggingCommandInput - {@link DeleteObjectTaggingCommandInput} + * @returns {@link DeleteObjectTaggingCommandOutput} + * @see {@link DeleteObjectTaggingCommandInput} for command's `input` shape. + * @see {@link DeleteObjectTaggingCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To remove tag set from an object + * ```javascript + * // The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version. + * const input = { + * Bucket: "examplebucket", + * Key: "HappyFace.jpg" + * }; + * const command = new DeleteObjectTaggingCommand(input); + * const response = await client.send(command); + * /* response is + * { + * VersionId: "null" + * } + * *\/ + * ``` + * + * @example To remove tag set from an object version + * ```javascript + * // The following example removes tag set associated with the specified object version. The request specifies both the object key and object version. + * const input = { + * Bucket: "examplebucket", + * Key: "HappyFace.jpg", + * VersionId: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI" + * }; + * const command = new DeleteObjectTaggingCommand(input); + * const response = await client.send(command); + * /* response is + * { + * VersionId: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI" + * } + * *\/ + * ``` + * + * @public + */ +export declare class DeleteObjectTaggingCommand extends DeleteObjectTaggingCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: DeleteObjectTaggingRequest; + output: DeleteObjectTaggingOutput; + }; + sdk: { + input: DeleteObjectTaggingCommandInput; + output: DeleteObjectTaggingCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts new file mode 100644 index 0000000..b09bf58 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts @@ -0,0 +1,318 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { DeleteObjectsOutput, DeleteObjectsRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeleteObjectsCommand}. + */ +export interface DeleteObjectsCommandInput extends DeleteObjectsRequest { +} +/** + * @public + * + * The output of {@link DeleteObjectsCommand}. + */ +export interface DeleteObjectsCommandOutput extends DeleteObjectsOutput, __MetadataBearer { +} +declare const DeleteObjectsCommand_base: { + new (input: DeleteObjectsCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: DeleteObjectsCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

This operation enables you to delete multiple objects from a bucket using a single HTTP request. If + * you know the object keys that you want to delete, then this operation provides a suitable alternative to + * sending individual delete requests, reducing per-request overhead.

+ *

The request can contain a list of up to 1,000 keys that you want to delete. In the XML, you provide + * the object key names, and optionally, version IDs if you want to delete a specific version of the object + * from a versioning-enabled bucket. For each key, Amazon S3 performs a delete operation and returns the result + * of that delete, success or failure, in the response. If the object specified in the request isn't found, + * Amazon S3 confirms the deletion by returning the result as deleted.

+ * + *
    + *
  • + *

    + * Directory buckets - + * S3 Versioning isn't enabled and supported for directory buckets.

    + *
  • + *
  • + *

    + * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name + * . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

    + *
  • + *
+ *
+ *

The operation supports two modes for the response: verbose and quiet. By default, the operation uses + * verbose mode in which the response includes the result of deletion of each key in your request. In quiet + * mode the response includes only keys where the delete operation encountered an error. For a successful + * deletion in a quiet mode, the operation does not return any information about the delete in the response + * body.

+ *

When performing this action on an MFA Delete enabled bucket, that attempts to delete any versioned + * objects, you must include an MFA token. If you do not provide one, the entire request will fail, even if + * there are non-versioned objects you are trying to delete. If you provide an invalid token, whether there + * are versioned keys in the request or not, the entire Multi-Object Delete request will fail. For + * information about MFA Delete, see MFA Delete in the + * Amazon S3 User Guide.

+ * + *

+ * Directory buckets - MFA delete is not supported by directory buckets.

+ *
+ *
+ *
Permissions
+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - The following + * permissions are required in your policies when your DeleteObjects request + * includes specific headers.

    + *
      + *
    • + *

      + * + * s3:DeleteObject + * - To delete an + * object from a bucket, you must always specify the s3:DeleteObject + * permission.

      + *
    • + *
    • + *

      + * + * s3:DeleteObjectVersion + * - To delete a specific version of an object from a versioning-enabled + * bucket, you must specify the s3:DeleteObjectVersion permission.

      + * + *

      If the s3:DeleteObject or s3:DeleteObjectVersion permissions are explicitly + * denied in your bucket policy, attempts to delete any unversioned objects + * result in a 403 Access Denied error.

      + *
      + *
    • + *
    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the + * CreateSession + * API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. + * Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see + * CreateSession + * .

    + *
  • + *
+ *
+ *
Content-MD5 request header
+ *
+ *
    + *
  • + *

    + * General purpose bucket - The Content-MD5 request header + * is required for all Multi-Object Delete requests. Amazon S3 uses the header value to ensure that + * your request body has not been altered in transit.

    + *
  • + *
  • + *

    + * Directory bucket - The Content-MD5 request header + * or a additional checksum request header (including x-amz-checksum-crc32, + * x-amz-checksum-crc32c, x-amz-checksum-sha1, or + * x-amz-checksum-sha256) is required for all Multi-Object Delete requests.

    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * Bucket-name.s3express-zone-id.region-code.amazonaws.com.

+ *
+ *
+ *

The following operations are related to DeleteObjects:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, DeleteObjectsCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, DeleteObjectsCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // DeleteObjectsRequest + * Bucket: "STRING_VALUE", // required + * Delete: { // Delete + * Objects: [ // ObjectIdentifierList // required + * { // ObjectIdentifier + * Key: "STRING_VALUE", // required + * VersionId: "STRING_VALUE", + * ETag: "STRING_VALUE", + * LastModifiedTime: new Date("TIMESTAMP"), + * Size: Number("long"), + * }, + * ], + * Quiet: true || false, + * }, + * MFA: "STRING_VALUE", + * RequestPayer: "requester", + * BypassGovernanceRetention: true || false, + * ExpectedBucketOwner: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * }; + * const command = new DeleteObjectsCommand(input); + * const response = await client.send(command); + * // { // DeleteObjectsOutput + * // Deleted: [ // DeletedObjects + * // { // DeletedObject + * // Key: "STRING_VALUE", + * // VersionId: "STRING_VALUE", + * // DeleteMarker: true || false, + * // DeleteMarkerVersionId: "STRING_VALUE", + * // }, + * // ], + * // RequestCharged: "requester", + * // Errors: [ // Errors + * // { // Error + * // Key: "STRING_VALUE", + * // VersionId: "STRING_VALUE", + * // Code: "STRING_VALUE", + * // Message: "STRING_VALUE", + * // }, + * // ], + * // }; + * + * ``` + * + * @param DeleteObjectsCommandInput - {@link DeleteObjectsCommandInput} + * @returns {@link DeleteObjectsCommandOutput} + * @see {@link DeleteObjectsCommandInput} for command's `input` shape. + * @see {@link DeleteObjectsCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To delete multiple object versions from a versioned bucket + * ```javascript + * // The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object versions and returns the key and versions of deleted objects in the response. + * const input = { + * Bucket: "examplebucket", + * Delete: { + * Objects: [ + * { + * Key: "HappyFace.jpg", + * VersionId: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b" + * }, + * { + * Key: "HappyFace.jpg", + * VersionId: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd" + * } + * ], + * Quiet: false + * } + * }; + * const command = new DeleteObjectsCommand(input); + * const response = await client.send(command); + * /* response is + * { + * Deleted: [ + * { + * Key: "HappyFace.jpg", + * VersionId: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd" + * }, + * { + * Key: "HappyFace.jpg", + * VersionId: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b" + * } + * ] + * } + * *\/ + * ``` + * + * @example To delete multiple objects from a versioned bucket + * ```javascript + * // The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker. + * const input = { + * Bucket: "examplebucket", + * Delete: { + * Objects: [ + * { + * Key: "objectkey1" + * }, + * { + * Key: "objectkey2" + * } + * ], + * Quiet: false + * } + * }; + * const command = new DeleteObjectsCommand(input); + * const response = await client.send(command); + * /* response is + * { + * Deleted: [ + * { + * DeleteMarker: true, + * DeleteMarkerVersionId: "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F", + * Key: "objectkey1" + * }, + * { + * DeleteMarker: true, + * DeleteMarkerVersionId: "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt", + * Key: "objectkey2" + * } + * ] + * } + * *\/ + * ``` + * + * @public + */ +export declare class DeleteObjectsCommand extends DeleteObjectsCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: DeleteObjectsRequest; + output: DeleteObjectsOutput; + }; + sdk: { + input: DeleteObjectsCommandInput; + output: DeleteObjectsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts new file mode 100644 index 0000000..8b7db2b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts @@ -0,0 +1,108 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { DeletePublicAccessBlockRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link DeletePublicAccessBlockCommand}. + */ +export interface DeletePublicAccessBlockCommandInput extends DeletePublicAccessBlockRequest { +} +/** + * @public + * + * The output of {@link DeletePublicAccessBlockCommand}. + */ +export interface DeletePublicAccessBlockCommandOutput extends __MetadataBearer { +} +declare const DeletePublicAccessBlockCommand_base: { + new (input: DeletePublicAccessBlockCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: DeletePublicAccessBlockCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Removes the PublicAccessBlock configuration for an Amazon S3 bucket. This + * operation removes the bucket-level configuration only. The effective public access behavior + * will still be governed by account-level settings (which may inherit from organization-level + * policies). To use this operation, you must have the s3:PutBucketPublicAccessBlock + * permission. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access + * Permissions to Your Amazon S3 Resources.

+ *

The following operations are related to DeletePublicAccessBlock:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, DeletePublicAccessBlockCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, DeletePublicAccessBlockCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // DeletePublicAccessBlockRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new DeletePublicAccessBlockCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeletePublicAccessBlockCommandInput - {@link DeletePublicAccessBlockCommandInput} + * @returns {@link DeletePublicAccessBlockCommandOutput} + * @see {@link DeletePublicAccessBlockCommandInput} for command's `input` shape. + * @see {@link DeletePublicAccessBlockCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class DeletePublicAccessBlockCommand extends DeletePublicAccessBlockCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: DeletePublicAccessBlockRequest; + output: {}; + }; + sdk: { + input: DeletePublicAccessBlockCommandInput; + output: DeletePublicAccessBlockCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAbacCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAbacCommand.d.ts new file mode 100644 index 0000000..8cb5b30 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAbacCommand.d.ts @@ -0,0 +1,77 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketAbacOutput, GetBucketAbacRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketAbacCommand}. + */ +export interface GetBucketAbacCommandInput extends GetBucketAbacRequest { +} +/** + * @public + * + * The output of {@link GetBucketAbacCommand}. + */ +export interface GetBucketAbacCommandOutput extends GetBucketAbacOutput, __MetadataBearer { +} +declare const GetBucketAbacCommand_base: { + new (input: GetBucketAbacCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketAbacCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Returns the attribute-based access control (ABAC) property of the general purpose bucket. If ABAC is enabled on your bucket, you can use tags on the bucket for access control. For more information, see Enabling ABAC in general purpose buckets.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketAbacCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketAbacCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketAbacRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketAbacCommand(input); + * const response = await client.send(command); + * // { // GetBucketAbacOutput + * // AbacStatus: { // AbacStatus + * // Status: "Enabled" || "Disabled", + * // }, + * // }; + * + * ``` + * + * @param GetBucketAbacCommandInput - {@link GetBucketAbacCommandInput} + * @returns {@link GetBucketAbacCommandOutput} + * @see {@link GetBucketAbacCommandInput} for command's `input` shape. + * @see {@link GetBucketAbacCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class GetBucketAbacCommand extends GetBucketAbacCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketAbacRequest; + output: GetBucketAbacOutput; + }; + sdk: { + input: GetBucketAbacCommandInput; + output: GetBucketAbacCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts new file mode 100644 index 0000000..9504ab1 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts @@ -0,0 +1,105 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketAccelerateConfigurationOutput, GetBucketAccelerateConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketAccelerateConfigurationCommand}. + */ +export interface GetBucketAccelerateConfigurationCommandInput extends GetBucketAccelerateConfigurationRequest { +} +/** + * @public + * + * The output of {@link GetBucketAccelerateConfigurationCommand}. + */ +export interface GetBucketAccelerateConfigurationCommandOutput extends GetBucketAccelerateConfigurationOutput, __MetadataBearer { +} +declare const GetBucketAccelerateConfigurationCommand_base: { + new (input: GetBucketAccelerateConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketAccelerateConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

This implementation of the GET action uses the accelerate subresource to return the + * Transfer Acceleration state of a bucket, which is either Enabled or Suspended. + * Amazon S3 Transfer Acceleration is a bucket-level feature that enables you to perform faster data transfers + * to and from Amazon S3.

+ *

To use this operation, you must have permission to perform the + * s3:GetAccelerateConfiguration action. The bucket owner has this permission by default. + * The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to your Amazon S3 + * Resources in the Amazon S3 User Guide.

+ *

You set the Transfer Acceleration state of an existing bucket to Enabled or + * Suspended by using the PutBucketAccelerateConfiguration operation.

+ *

A GET accelerate request does not return a state value for a bucket that has no + * transfer acceleration state. A bucket has no Transfer Acceleration state if a state has never been set + * on the bucket.

+ *

For more information about transfer acceleration, see Transfer Acceleration in the + * Amazon S3 User Guide.

+ *

The following operations are related to GetBucketAccelerateConfiguration:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketAccelerateConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketAccelerateConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketAccelerateConfigurationRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * RequestPayer: "requester", + * }; + * const command = new GetBucketAccelerateConfigurationCommand(input); + * const response = await client.send(command); + * // { // GetBucketAccelerateConfigurationOutput + * // Status: "Enabled" || "Suspended", + * // RequestCharged: "requester", + * // }; + * + * ``` + * + * @param GetBucketAccelerateConfigurationCommandInput - {@link GetBucketAccelerateConfigurationCommandInput} + * @returns {@link GetBucketAccelerateConfigurationCommandOutput} + * @see {@link GetBucketAccelerateConfigurationCommandInput} for command's `input` shape. + * @see {@link GetBucketAccelerateConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class GetBucketAccelerateConfigurationCommand extends GetBucketAccelerateConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketAccelerateConfigurationRequest; + output: GetBucketAccelerateConfigurationOutput; + }; + sdk: { + input: GetBucketAccelerateConfigurationCommandInput; + output: GetBucketAccelerateConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts new file mode 100644 index 0000000..6a0f670 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts @@ -0,0 +1,119 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketAclOutput, GetBucketAclRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketAclCommand}. + */ +export interface GetBucketAclCommandInput extends GetBucketAclRequest { +} +/** + * @public + * + * The output of {@link GetBucketAclCommand}. + */ +export interface GetBucketAclCommandOutput extends GetBucketAclOutput, __MetadataBearer { +} +declare const GetBucketAclCommand_base: { + new (input: GetBucketAclCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketAclCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

This implementation of the GET action uses the acl subresource to return + * the access control list (ACL) of a bucket. To use GET to return the ACL of the bucket, you + * must have the READ_ACP access to the bucket. If READ_ACP permission is granted + * to the anonymous user, you can return the ACL of the bucket without using an authorization + * header.

+ *

When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.

+ *

When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. + * If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError is returned. + * For more information about InvalidAccessPointAliasError, see List of + * Error Codes.

+ * + *

If your bucket uses the bucket owner enforced setting for S3 Object Ownership, requests to read + * ACLs are still supported and return the bucket-owner-full-control ACL with the owner + * being the account that created the bucket. For more information, see Controlling object ownership and + * disabling ACLs in the Amazon S3 User Guide.

+ *
+ * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ *

The following operations are related to GetBucketAcl:

+ * + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketAclCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketAclCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketAclRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketAclCommand(input); + * const response = await client.send(command); + * // { // GetBucketAclOutput + * // Owner: { // Owner + * // DisplayName: "STRING_VALUE", + * // ID: "STRING_VALUE", + * // }, + * // Grants: [ // Grants + * // { // Grant + * // Grantee: { // Grantee + * // DisplayName: "STRING_VALUE", + * // EmailAddress: "STRING_VALUE", + * // ID: "STRING_VALUE", + * // URI: "STRING_VALUE", + * // Type: "CanonicalUser" || "AmazonCustomerByEmail" || "Group", // required + * // }, + * // Permission: "FULL_CONTROL" || "WRITE" || "WRITE_ACP" || "READ" || "READ_ACP", + * // }, + * // ], + * // }; + * + * ``` + * + * @param GetBucketAclCommandInput - {@link GetBucketAclCommandInput} + * @returns {@link GetBucketAclCommandOutput} + * @see {@link GetBucketAclCommandInput} for command's `input` shape. + * @see {@link GetBucketAclCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class GetBucketAclCommand extends GetBucketAclCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketAclRequest; + output: GetBucketAclOutput; + }; + sdk: { + input: GetBucketAclCommandInput; + output: GetBucketAclCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts new file mode 100644 index 0000000..5160504 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts @@ -0,0 +1,138 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketAnalyticsConfigurationOutput, GetBucketAnalyticsConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketAnalyticsConfigurationCommand}. + */ +export interface GetBucketAnalyticsConfigurationCommandInput extends GetBucketAnalyticsConfigurationRequest { +} +/** + * @public + * + * The output of {@link GetBucketAnalyticsConfigurationCommand}. + */ +export interface GetBucketAnalyticsConfigurationCommandOutput extends GetBucketAnalyticsConfigurationOutput, __MetadataBearer { +} +declare const GetBucketAnalyticsConfigurationCommand_base: { + new (input: GetBucketAnalyticsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketAnalyticsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

This implementation of the GET action returns an analytics configuration (identified by the + * analytics configuration ID) from the bucket.

+ *

To use this operation, you must have permissions to perform the + * s3:GetAnalyticsConfiguration action. The bucket owner has this permission by default. The + * bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources in the Amazon S3 User Guide.

+ *

For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class Analysis + * in the Amazon S3 User Guide.

+ *

The following operations are related to GetBucketAnalyticsConfiguration:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketAnalyticsConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketAnalyticsConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketAnalyticsConfigurationRequest + * Bucket: "STRING_VALUE", // required + * Id: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketAnalyticsConfigurationCommand(input); + * const response = await client.send(command); + * // { // GetBucketAnalyticsConfigurationOutput + * // AnalyticsConfiguration: { // AnalyticsConfiguration + * // Id: "STRING_VALUE", // required + * // Filter: { // AnalyticsFilter Union: only one key present + * // Prefix: "STRING_VALUE", + * // Tag: { // Tag + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // And: { // AnalyticsAndOperator + * // Prefix: "STRING_VALUE", + * // Tags: [ // TagSet + * // { + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // }, + * // StorageClassAnalysis: { // StorageClassAnalysis + * // DataExport: { // StorageClassAnalysisDataExport + * // OutputSchemaVersion: "V_1", // required + * // Destination: { // AnalyticsExportDestination + * // S3BucketDestination: { // AnalyticsS3BucketDestination + * // Format: "CSV", // required + * // BucketAccountId: "STRING_VALUE", + * // Bucket: "STRING_VALUE", // required + * // Prefix: "STRING_VALUE", + * // }, + * // }, + * // }, + * // }, + * // }, + * // }; + * + * ``` + * + * @param GetBucketAnalyticsConfigurationCommandInput - {@link GetBucketAnalyticsConfigurationCommandInput} + * @returns {@link GetBucketAnalyticsConfigurationCommandOutput} + * @see {@link GetBucketAnalyticsConfigurationCommandInput} for command's `input` shape. + * @see {@link GetBucketAnalyticsConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class GetBucketAnalyticsConfigurationCommand extends GetBucketAnalyticsConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketAnalyticsConfigurationRequest; + output: GetBucketAnalyticsConfigurationOutput; + }; + sdk: { + input: GetBucketAnalyticsConfigurationCommandInput; + output: GetBucketAnalyticsConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts new file mode 100644 index 0000000..4edb078 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts @@ -0,0 +1,148 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketCorsOutput, GetBucketCorsRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketCorsCommand}. + */ +export interface GetBucketCorsCommandInput extends GetBucketCorsRequest { +} +/** + * @public + * + * The output of {@link GetBucketCorsCommand}. + */ +export interface GetBucketCorsCommandOutput extends GetBucketCorsOutput, __MetadataBearer { +} +declare const GetBucketCorsCommand_base: { + new (input: GetBucketCorsCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketCorsCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Returns the Cross-Origin Resource Sharing (CORS) configuration information set for the + * bucket.

+ *

To use this operation, you must have permission to perform the s3:GetBucketCORS + * action. By default, the bucket owner has this permission and can grant it to others.

+ *

When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.

+ *

When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. + * If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError is returned. + * For more information about InvalidAccessPointAliasError, see List of + * Error Codes.

+ *

For more information about CORS, see Enabling Cross-Origin Resource Sharing.

+ *

The following operations are related to GetBucketCors:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketCorsCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketCorsCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketCorsRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketCorsCommand(input); + * const response = await client.send(command); + * // { // GetBucketCorsOutput + * // CORSRules: [ // CORSRules + * // { // CORSRule + * // ID: "STRING_VALUE", + * // AllowedHeaders: [ // AllowedHeaders + * // "STRING_VALUE", + * // ], + * // AllowedMethods: [ // AllowedMethods // required + * // "STRING_VALUE", + * // ], + * // AllowedOrigins: [ // AllowedOrigins // required + * // "STRING_VALUE", + * // ], + * // ExposeHeaders: [ // ExposeHeaders + * // "STRING_VALUE", + * // ], + * // MaxAgeSeconds: Number("int"), + * // }, + * // ], + * // }; + * + * ``` + * + * @param GetBucketCorsCommandInput - {@link GetBucketCorsCommandInput} + * @returns {@link GetBucketCorsCommandOutput} + * @see {@link GetBucketCorsCommandInput} for command's `input` shape. + * @see {@link GetBucketCorsCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To get cors configuration set on a bucket + * ```javascript + * // The following example returns cross-origin resource sharing (CORS) configuration set on a bucket. + * const input = { + * Bucket: "examplebucket" + * }; + * const command = new GetBucketCorsCommand(input); + * const response = await client.send(command); + * /* response is + * { + * CORSRules: [ + * { + * AllowedHeaders: [ + * "Authorization" + * ], + * AllowedMethods: [ + * "GET" + * ], + * AllowedOrigins: [ + * "*" + * ], + * MaxAgeSeconds: 3000 + * } + * ] + * } + * *\/ + * ``` + * + * @public + */ +export declare class GetBucketCorsCommand extends GetBucketCorsCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketCorsRequest; + output: GetBucketCorsOutput; + }; + sdk: { + input: GetBucketCorsCommandInput; + output: GetBucketCorsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts new file mode 100644 index 0000000..e4538a7 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts @@ -0,0 +1,151 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketEncryptionOutput, GetBucketEncryptionRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketEncryptionCommand}. + */ +export interface GetBucketEncryptionCommandInput extends GetBucketEncryptionRequest { +} +/** + * @public + * + * The output of {@link GetBucketEncryptionCommand}. + */ +export interface GetBucketEncryptionCommandOutput extends GetBucketEncryptionOutput, __MetadataBearer { +} +declare const GetBucketEncryptionCommand_base: { + new (input: GetBucketEncryptionCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketEncryptionCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Returns the default encryption configuration for an Amazon S3 bucket. By default, all buckets have a + * default encryption configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). This operation also returns the BucketKeyEnabled and BlockedEncryptionTypes statuses.

+ * + * + * + *
+ *
Permissions
+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - The + * s3:GetEncryptionConfiguration permission is required in a policy. The bucket + * owner has this permission by default. The bucket owner can grant this permission to others. + * For more information about permissions, see Permissions Related to Bucket Operations and Managing Access Permissions to Your + * Amazon S3 Resources.

    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to + * this API operation, you must have the s3express:GetEncryptionConfiguration + * permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. + * For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

+ *
+ *
+ *

The following operations are related to GetBucketEncryption:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketEncryptionCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketEncryptionCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketEncryptionRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketEncryptionCommand(input); + * const response = await client.send(command); + * // { // GetBucketEncryptionOutput + * // ServerSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration + * // Rules: [ // ServerSideEncryptionRules // required + * // { // ServerSideEncryptionRule + * // ApplyServerSideEncryptionByDefault: { // ServerSideEncryptionByDefault + * // SSEAlgorithm: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse", // required + * // KMSMasterKeyID: "STRING_VALUE", + * // }, + * // BucketKeyEnabled: true || false, + * // BlockedEncryptionTypes: { // BlockedEncryptionTypes + * // EncryptionType: [ // EncryptionTypeList + * // "NONE" || "SSE-C", + * // ], + * // }, + * // }, + * // ], + * // }, + * // }; + * + * ``` + * + * @param GetBucketEncryptionCommandInput - {@link GetBucketEncryptionCommandInput} + * @returns {@link GetBucketEncryptionCommandOutput} + * @see {@link GetBucketEncryptionCommandInput} for command's `input` shape. + * @see {@link GetBucketEncryptionCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class GetBucketEncryptionCommand extends GetBucketEncryptionCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketEncryptionRequest; + output: GetBucketEncryptionOutput; + }; + sdk: { + input: GetBucketEncryptionCommandInput; + output: GetBucketEncryptionCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts new file mode 100644 index 0000000..bae56e8 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts @@ -0,0 +1,128 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketIntelligentTieringConfigurationOutput, GetBucketIntelligentTieringConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketIntelligentTieringConfigurationCommand}. + */ +export interface GetBucketIntelligentTieringConfigurationCommandInput extends GetBucketIntelligentTieringConfigurationRequest { +} +/** + * @public + * + * The output of {@link GetBucketIntelligentTieringConfigurationCommand}. + */ +export interface GetBucketIntelligentTieringConfigurationCommandOutput extends GetBucketIntelligentTieringConfigurationOutput, __MetadataBearer { +} +declare const GetBucketIntelligentTieringConfigurationCommand_base: { + new (input: GetBucketIntelligentTieringConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketIntelligentTieringConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Gets the S3 Intelligent-Tiering configuration from the specified bucket.

+ *

The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.

+ *

The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.

+ *

For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.

+ *

Operations related to GetBucketIntelligentTieringConfiguration include:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketIntelligentTieringConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketIntelligentTieringConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketIntelligentTieringConfigurationRequest + * Bucket: "STRING_VALUE", // required + * Id: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketIntelligentTieringConfigurationCommand(input); + * const response = await client.send(command); + * // { // GetBucketIntelligentTieringConfigurationOutput + * // IntelligentTieringConfiguration: { // IntelligentTieringConfiguration + * // Id: "STRING_VALUE", // required + * // Filter: { // IntelligentTieringFilter + * // Prefix: "STRING_VALUE", + * // Tag: { // Tag + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // And: { // IntelligentTieringAndOperator + * // Prefix: "STRING_VALUE", + * // Tags: [ // TagSet + * // { + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // }, + * // Status: "Enabled" || "Disabled", // required + * // Tierings: [ // TieringList // required + * // { // Tiering + * // Days: Number("int"), // required + * // AccessTier: "ARCHIVE_ACCESS" || "DEEP_ARCHIVE_ACCESS", // required + * // }, + * // ], + * // }, + * // }; + * + * ``` + * + * @param GetBucketIntelligentTieringConfigurationCommandInput - {@link GetBucketIntelligentTieringConfigurationCommandInput} + * @returns {@link GetBucketIntelligentTieringConfigurationCommandOutput} + * @see {@link GetBucketIntelligentTieringConfigurationCommandInput} for command's `input` shape. + * @see {@link GetBucketIntelligentTieringConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class GetBucketIntelligentTieringConfigurationCommand extends GetBucketIntelligentTieringConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketIntelligentTieringConfigurationRequest; + output: GetBucketIntelligentTieringConfigurationOutput; + }; + sdk: { + input: GetBucketIntelligentTieringConfigurationCommandInput; + output: GetBucketIntelligentTieringConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts new file mode 100644 index 0000000..be0007d --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts @@ -0,0 +1,133 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketInventoryConfigurationOutput, GetBucketInventoryConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketInventoryConfigurationCommand}. + */ +export interface GetBucketInventoryConfigurationCommandInput extends GetBucketInventoryConfigurationRequest { +} +/** + * @public + * + * The output of {@link GetBucketInventoryConfigurationCommand}. + */ +export interface GetBucketInventoryConfigurationCommandOutput extends GetBucketInventoryConfigurationOutput, __MetadataBearer { +} +declare const GetBucketInventoryConfigurationCommand_base: { + new (input: GetBucketInventoryConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketInventoryConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Returns an S3 Inventory configuration (identified by the inventory configuration ID) from the + * bucket.

+ *

To use this operation, you must have permissions to perform the + * s3:GetInventoryConfiguration action. The bucket owner has this permission by default and + * can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

+ *

For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.

+ *

The following operations are related to GetBucketInventoryConfiguration:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketInventoryConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketInventoryConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketInventoryConfigurationRequest + * Bucket: "STRING_VALUE", // required + * Id: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketInventoryConfigurationCommand(input); + * const response = await client.send(command); + * // { // GetBucketInventoryConfigurationOutput + * // InventoryConfiguration: { // InventoryConfiguration + * // Destination: { // InventoryDestination + * // S3BucketDestination: { // InventoryS3BucketDestination + * // AccountId: "STRING_VALUE", + * // Bucket: "STRING_VALUE", // required + * // Format: "CSV" || "ORC" || "Parquet", // required + * // Prefix: "STRING_VALUE", + * // Encryption: { // InventoryEncryption + * // SSES3: {}, + * // SSEKMS: { // SSEKMS + * // KeyId: "STRING_VALUE", // required + * // }, + * // }, + * // }, + * // }, + * // IsEnabled: true || false, // required + * // Filter: { // InventoryFilter + * // Prefix: "STRING_VALUE", // required + * // }, + * // Id: "STRING_VALUE", // required + * // IncludedObjectVersions: "All" || "Current", // required + * // OptionalFields: [ // InventoryOptionalFields + * // "Size" || "LastModifiedDate" || "StorageClass" || "ETag" || "IsMultipartUploaded" || "ReplicationStatus" || "EncryptionStatus" || "ObjectLockRetainUntilDate" || "ObjectLockMode" || "ObjectLockLegalHoldStatus" || "IntelligentTieringAccessTier" || "BucketKeyStatus" || "ChecksumAlgorithm" || "ObjectAccessControlList" || "ObjectOwner" || "LifecycleExpirationDate", + * // ], + * // Schedule: { // InventorySchedule + * // Frequency: "Daily" || "Weekly", // required + * // }, + * // }, + * // }; + * + * ``` + * + * @param GetBucketInventoryConfigurationCommandInput - {@link GetBucketInventoryConfigurationCommandInput} + * @returns {@link GetBucketInventoryConfigurationCommandOutput} + * @see {@link GetBucketInventoryConfigurationCommandInput} for command's `input` shape. + * @see {@link GetBucketInventoryConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class GetBucketInventoryConfigurationCommand extends GetBucketInventoryConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketInventoryConfigurationRequest; + output: GetBucketInventoryConfigurationOutput; + }; + sdk: { + input: GetBucketInventoryConfigurationCommandInput; + output: GetBucketInventoryConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts new file mode 100644 index 0000000..1a518d8 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts @@ -0,0 +1,250 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketLifecycleConfigurationOutput, GetBucketLifecycleConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketLifecycleConfigurationCommand}. + */ +export interface GetBucketLifecycleConfigurationCommandInput extends GetBucketLifecycleConfigurationRequest { +} +/** + * @public + * + * The output of {@link GetBucketLifecycleConfigurationCommand}. + */ +export interface GetBucketLifecycleConfigurationCommandOutput extends GetBucketLifecycleConfigurationOutput, __MetadataBearer { +} +declare const GetBucketLifecycleConfigurationCommand_base: { + new (input: GetBucketLifecycleConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketLifecycleConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Returns the lifecycle configuration information set on the bucket. For information about lifecycle + * configuration, see Object Lifecycle Management.

+ *

Bucket lifecycle configuration now supports specifying a lifecycle rule using an object key name + * prefix, one or more object tags, object size, or any combination of these. Accordingly, this section + * describes the latest API, which is compatible with the new functionality. The previous version of the + * API supported filtering based only on an object key name prefix, which is supported for general purpose + * buckets for backward compatibility. For the related API description, see GetBucketLifecycle.

+ * + *

Lifecyle configurations for directory buckets only support expiring objects and cancelling + * multipart uploads. Expiring of versioned objects, transitions and tag filters are not + * supported.

+ *
+ *
+ *
Permissions
+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - By default, all Amazon S3 + * resources are private, including buckets, objects, and related subresources (for example, + * lifecycle configuration and website configuration). Only the resource owner (that is, the + * Amazon Web Services account that created it) can access the resource. The resource owner can optionally + * grant access permissions to others by writing an access policy. For this operation, a user + * must have the s3:GetLifecycleConfiguration permission.

    + *

    For more information about permissions, see Managing Access Permissions to Your + * Amazon S3 Resources.

    + *
  • + *
+ *
    + *
  • + *

    + * Directory bucket permissions - You must have the + * s3express:GetLifecycleConfiguration permission in an IAM identity-based policy + * to use this operation. Cross-account access to this API operation isn't supported. The + * resource owner can optionally grant access permissions to others by creating a role or user + * for them as long as they are within the same account as the owner and resource.

    + *

    For more information about directory bucket policies and permissions, see Authorizing Regional endpoint APIs with IAM in the Amazon S3 User + * Guide.

    + * + *

    + * Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. + * For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

    + *
    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * s3express-control.region.amazonaws.com.

+ *
+ *
+ *

+ * GetBucketLifecycleConfiguration has the following special error:

+ *
    + *
  • + *

    Error code: NoSuchLifecycleConfiguration + *

    + *
      + *
    • + *

      Description: The lifecycle configuration does not exist.

      + *
    • + *
    • + *

      HTTP Status Code: 404 Not Found

      + *
    • + *
    • + *

      SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
+ *

The following operations are related to GetBucketLifecycleConfiguration:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketLifecycleConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketLifecycleConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketLifecycleConfigurationRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketLifecycleConfigurationCommand(input); + * const response = await client.send(command); + * // { // GetBucketLifecycleConfigurationOutput + * // Rules: [ // LifecycleRules + * // { // LifecycleRule + * // Expiration: { // LifecycleExpiration + * // Date: new Date("TIMESTAMP"), + * // Days: Number("int"), + * // ExpiredObjectDeleteMarker: true || false, + * // }, + * // ID: "STRING_VALUE", + * // Prefix: "STRING_VALUE", + * // Filter: { // LifecycleRuleFilter + * // Prefix: "STRING_VALUE", + * // Tag: { // Tag + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // ObjectSizeGreaterThan: Number("long"), + * // ObjectSizeLessThan: Number("long"), + * // And: { // LifecycleRuleAndOperator + * // Prefix: "STRING_VALUE", + * // Tags: [ // TagSet + * // { + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // ], + * // ObjectSizeGreaterThan: Number("long"), + * // ObjectSizeLessThan: Number("long"), + * // }, + * // }, + * // Status: "Enabled" || "Disabled", // required + * // Transitions: [ // TransitionList + * // { // Transition + * // Date: new Date("TIMESTAMP"), + * // Days: Number("int"), + * // StorageClass: "GLACIER" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "DEEP_ARCHIVE" || "GLACIER_IR", + * // }, + * // ], + * // NoncurrentVersionTransitions: [ // NoncurrentVersionTransitionList + * // { // NoncurrentVersionTransition + * // NoncurrentDays: Number("int"), + * // StorageClass: "GLACIER" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "DEEP_ARCHIVE" || "GLACIER_IR", + * // NewerNoncurrentVersions: Number("int"), + * // }, + * // ], + * // NoncurrentVersionExpiration: { // NoncurrentVersionExpiration + * // NoncurrentDays: Number("int"), + * // NewerNoncurrentVersions: Number("int"), + * // }, + * // AbortIncompleteMultipartUpload: { // AbortIncompleteMultipartUpload + * // DaysAfterInitiation: Number("int"), + * // }, + * // }, + * // ], + * // TransitionDefaultMinimumObjectSize: "varies_by_storage_class" || "all_storage_classes_128K", + * // }; + * + * ``` + * + * @param GetBucketLifecycleConfigurationCommandInput - {@link GetBucketLifecycleConfigurationCommandInput} + * @returns {@link GetBucketLifecycleConfigurationCommandOutput} + * @see {@link GetBucketLifecycleConfigurationCommandInput} for command's `input` shape. + * @see {@link GetBucketLifecycleConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To get lifecycle configuration on a bucket + * ```javascript + * // The following example retrieves lifecycle configuration on set on a bucket. + * const input = { + * Bucket: "examplebucket" + * }; + * const command = new GetBucketLifecycleConfigurationCommand(input); + * const response = await client.send(command); + * /* response is + * { + * Rules: [ + * { + * ID: "Rule for TaxDocs/", + * Prefix: "TaxDocs", + * Status: "Enabled", + * Transitions: [ + * { + * Days: 365, + * StorageClass: "STANDARD_IA" + * } + * ] + * } + * ] + * } + * *\/ + * ``` + * + * @public + */ +export declare class GetBucketLifecycleConfigurationCommand extends GetBucketLifecycleConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketLifecycleConfigurationRequest; + output: GetBucketLifecycleConfigurationOutput; + }; + sdk: { + input: GetBucketLifecycleConfigurationCommandInput; + output: GetBucketLifecycleConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts new file mode 100644 index 0000000..ca79786 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts @@ -0,0 +1,131 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketLocationOutput, GetBucketLocationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketLocationCommand}. + */ +export interface GetBucketLocationCommandInput extends GetBucketLocationRequest { +} +/** + * @public + * + * The output of {@link GetBucketLocationCommand}. + */ +export interface GetBucketLocationCommandOutput extends GetBucketLocationOutput, __MetadataBearer { +} +declare const GetBucketLocationCommand_base: { + new (input: GetBucketLocationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketLocationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

Using the GetBucketLocation operation is no longer a best practice. To return the + * Region that a bucket resides in, we recommend that you use the + * HeadBucket + * operation instead. For backward compatibility, Amazon S3 continues to support the + * GetBucketLocation operation.

+ *
+ *

Returns the Region the bucket resides in. You set the bucket's Region using the + * LocationConstraint request parameter in a CreateBucket request. For more + * information, see CreateBucket.

+ * + *

In a bucket's home Region, calls to the GetBucketLocation operation are governed + * by the bucket's policy. In other Regions, the bucket policy doesn't apply, which means that + * cross-account access won't be authorized. However, calls to the HeadBucket operation + * always return the bucket’s location through an HTTP response header, whether access to the bucket + * is authorized or not. Therefore, we recommend using the HeadBucket operation for + * bucket Region discovery and to avoid using the GetBucketLocation operation.

+ *
+ *

When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.

+ *

When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. + * If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError is returned. + * For more information about InvalidAccessPointAliasError, see List of + * Error Codes.

+ * + *

This operation is not supported for directory buckets.

+ *
+ *

The following operations are related to GetBucketLocation:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketLocationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketLocationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketLocationRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketLocationCommand(input); + * const response = await client.send(command); + * // { // GetBucketLocationOutput + * // LocationConstraint: "af-south-1" || "ap-east-1" || "ap-northeast-1" || "ap-northeast-2" || "ap-northeast-3" || "ap-south-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-4" || "ap-southeast-5" || "ca-central-1" || "cn-north-1" || "cn-northwest-1" || "EU" || "eu-central-1" || "eu-central-2" || "eu-north-1" || "eu-south-1" || "eu-south-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "il-central-1" || "me-central-1" || "me-south-1" || "sa-east-1" || "us-east-2" || "us-gov-east-1" || "us-gov-west-1" || "us-west-1" || "us-west-2", + * // }; + * + * ``` + * + * @param GetBucketLocationCommandInput - {@link GetBucketLocationCommandInput} + * @returns {@link GetBucketLocationCommandOutput} + * @see {@link GetBucketLocationCommandInput} for command's `input` shape. + * @see {@link GetBucketLocationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To get bucket location + * ```javascript + * // The following example returns bucket location. + * const input = { + * Bucket: "examplebucket" + * }; + * const command = new GetBucketLocationCommand(input); + * const response = await client.send(command); + * /* response is + * { + * LocationConstraint: "us-west-2" + * } + * *\/ + * ``` + * + * @public + */ +export declare class GetBucketLocationCommand extends GetBucketLocationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketLocationRequest; + output: GetBucketLocationOutput; + }; + sdk: { + input: GetBucketLocationCommandInput; + output: GetBucketLocationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts new file mode 100644 index 0000000..26972fa --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts @@ -0,0 +1,116 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketLoggingOutput, GetBucketLoggingRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketLoggingCommand}. + */ +export interface GetBucketLoggingCommandInput extends GetBucketLoggingRequest { +} +/** + * @public + * + * The output of {@link GetBucketLoggingCommand}. + */ +export interface GetBucketLoggingCommandOutput extends GetBucketLoggingOutput, __MetadataBearer { +} +declare const GetBucketLoggingCommand_base: { + new (input: GetBucketLoggingCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketLoggingCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Returns the logging status of a bucket and the permissions users have to view and modify that + * status.

+ *

The following operations are related to GetBucketLogging:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketLoggingCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketLoggingCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketLoggingRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketLoggingCommand(input); + * const response = await client.send(command); + * // { // GetBucketLoggingOutput + * // LoggingEnabled: { // LoggingEnabled + * // TargetBucket: "STRING_VALUE", // required + * // TargetGrants: [ // TargetGrants + * // { // TargetGrant + * // Grantee: { // Grantee + * // DisplayName: "STRING_VALUE", + * // EmailAddress: "STRING_VALUE", + * // ID: "STRING_VALUE", + * // URI: "STRING_VALUE", + * // Type: "CanonicalUser" || "AmazonCustomerByEmail" || "Group", // required + * // }, + * // Permission: "FULL_CONTROL" || "READ" || "WRITE", + * // }, + * // ], + * // TargetPrefix: "STRING_VALUE", // required + * // TargetObjectKeyFormat: { // TargetObjectKeyFormat + * // SimplePrefix: {}, + * // PartitionedPrefix: { // PartitionedPrefix + * // PartitionDateSource: "EventTime" || "DeliveryTime", + * // }, + * // }, + * // }, + * // }; + * + * ``` + * + * @param GetBucketLoggingCommandInput - {@link GetBucketLoggingCommandInput} + * @returns {@link GetBucketLoggingCommandOutput} + * @see {@link GetBucketLoggingCommandInput} for command's `input` shape. + * @see {@link GetBucketLoggingCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class GetBucketLoggingCommand extends GetBucketLoggingCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketLoggingRequest; + output: GetBucketLoggingOutput; + }; + sdk: { + input: GetBucketLoggingCommandInput; + output: GetBucketLoggingCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts new file mode 100644 index 0000000..121bcef --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts @@ -0,0 +1,151 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketMetadataConfigurationOutput, GetBucketMetadataConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketMetadataConfigurationCommand}. + */ +export interface GetBucketMetadataConfigurationCommandInput extends GetBucketMetadataConfigurationRequest { +} +/** + * @public + * + * The output of {@link GetBucketMetadataConfigurationCommand}. + */ +export interface GetBucketMetadataConfigurationCommandOutput extends GetBucketMetadataConfigurationOutput, __MetadataBearer { +} +declare const GetBucketMetadataConfigurationCommand_base: { + new (input: GetBucketMetadataConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketMetadataConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Retrieves the S3 Metadata configuration for a general purpose bucket. For more information, see + * Accelerating + * data discovery with S3 Metadata in the Amazon S3 User Guide.

+ * + *

You can use the V2 GetBucketMetadataConfiguration API operation with V1 or V2 + * metadata configurations. However, if you try to use the V1 + * GetBucketMetadataTableConfiguration API operation with V2 configurations, you + * will receive an HTTP 405 Method Not Allowed error.

+ *
+ *
+ *
Permissions
+ *
+ *

To use this operation, you must have the s3:GetBucketMetadataTableConfiguration + * permission. For more information, see Setting up permissions for + * configuring metadata tables in the Amazon S3 User Guide.

+ * + *

The IAM policy action name is the same for the V1 and V2 API operations.

+ *
+ *
+ *
+ *

The following operations are related to GetBucketMetadataConfiguration:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketMetadataConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketMetadataConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketMetadataConfigurationRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketMetadataConfigurationCommand(input); + * const response = await client.send(command); + * // { // GetBucketMetadataConfigurationOutput + * // GetBucketMetadataConfigurationResult: { // GetBucketMetadataConfigurationResult + * // MetadataConfigurationResult: { // MetadataConfigurationResult + * // DestinationResult: { // DestinationResult + * // TableBucketType: "aws" || "customer", + * // TableBucketArn: "STRING_VALUE", + * // TableNamespace: "STRING_VALUE", + * // }, + * // JournalTableConfigurationResult: { // JournalTableConfigurationResult + * // TableStatus: "STRING_VALUE", // required + * // Error: { // ErrorDetails + * // ErrorCode: "STRING_VALUE", + * // ErrorMessage: "STRING_VALUE", + * // }, + * // TableName: "STRING_VALUE", // required + * // TableArn: "STRING_VALUE", + * // RecordExpiration: { // RecordExpiration + * // Expiration: "ENABLED" || "DISABLED", // required + * // Days: Number("int"), + * // }, + * // }, + * // InventoryTableConfigurationResult: { // InventoryTableConfigurationResult + * // ConfigurationState: "ENABLED" || "DISABLED", // required + * // TableStatus: "STRING_VALUE", + * // Error: { + * // ErrorCode: "STRING_VALUE", + * // ErrorMessage: "STRING_VALUE", + * // }, + * // TableName: "STRING_VALUE", + * // TableArn: "STRING_VALUE", + * // }, + * // }, + * // }, + * // }; + * + * ``` + * + * @param GetBucketMetadataConfigurationCommandInput - {@link GetBucketMetadataConfigurationCommandInput} + * @returns {@link GetBucketMetadataConfigurationCommandOutput} + * @see {@link GetBucketMetadataConfigurationCommandInput} for command's `input` shape. + * @see {@link GetBucketMetadataConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class GetBucketMetadataConfigurationCommand extends GetBucketMetadataConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketMetadataConfigurationRequest; + output: GetBucketMetadataConfigurationOutput; + }; + sdk: { + input: GetBucketMetadataConfigurationCommandInput; + output: GetBucketMetadataConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts new file mode 100644 index 0000000..a330858 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts @@ -0,0 +1,134 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketMetadataTableConfigurationOutput, GetBucketMetadataTableConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketMetadataTableConfigurationCommand}. + */ +export interface GetBucketMetadataTableConfigurationCommandInput extends GetBucketMetadataTableConfigurationRequest { +} +/** + * @public + * + * The output of {@link GetBucketMetadataTableConfigurationCommand}. + */ +export interface GetBucketMetadataTableConfigurationCommandOutput extends GetBucketMetadataTableConfigurationOutput, __MetadataBearer { +} +declare const GetBucketMetadataTableConfigurationCommand_base: { + new (input: GetBucketMetadataTableConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketMetadataTableConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

+ * We recommend that you retrieve your S3 Metadata configurations by using the V2 + * GetBucketMetadataTableConfiguration API operation. We no longer recommend using the V1 + * GetBucketMetadataTableConfiguration API operation. + *

+ *

If you created your S3 Metadata configuration before July 15, 2025, we recommend that you delete + * and re-create your configuration by using CreateBucketMetadataConfiguration so that you can expire journal table records and create + * a live inventory table.

+ *
+ *

Retrieves the V1 S3 Metadata configuration for a general purpose bucket. For more information, see + * Accelerating + * data discovery with S3 Metadata in the Amazon S3 User Guide.

+ * + *

You can use the V2 GetBucketMetadataConfiguration API operation with V1 or V2 + * metadata table configurations. However, if you try to use the V1 + * GetBucketMetadataTableConfiguration API operation with V2 configurations, you + * will receive an HTTP 405 Method Not Allowed error.

+ *

Make sure that you update your processes to use the new V2 API operations + * (CreateBucketMetadataConfiguration, GetBucketMetadataConfiguration, and + * DeleteBucketMetadataConfiguration) instead of the V1 API operations.

+ *
+ *
+ *
Permissions
+ *
+ *

To use this operation, you must have the s3:GetBucketMetadataTableConfiguration + * permission. For more information, see Setting up permissions for + * configuring metadata tables in the Amazon S3 User Guide.

+ *
+ *
+ *

The following operations are related to GetBucketMetadataTableConfiguration:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketMetadataTableConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketMetadataTableConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketMetadataTableConfigurationRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketMetadataTableConfigurationCommand(input); + * const response = await client.send(command); + * // { // GetBucketMetadataTableConfigurationOutput + * // GetBucketMetadataTableConfigurationResult: { // GetBucketMetadataTableConfigurationResult + * // MetadataTableConfigurationResult: { // MetadataTableConfigurationResult + * // S3TablesDestinationResult: { // S3TablesDestinationResult + * // TableBucketArn: "STRING_VALUE", // required + * // TableName: "STRING_VALUE", // required + * // TableArn: "STRING_VALUE", // required + * // TableNamespace: "STRING_VALUE", // required + * // }, + * // }, + * // Status: "STRING_VALUE", // required + * // Error: { // ErrorDetails + * // ErrorCode: "STRING_VALUE", + * // ErrorMessage: "STRING_VALUE", + * // }, + * // }, + * // }; + * + * ``` + * + * @param GetBucketMetadataTableConfigurationCommandInput - {@link GetBucketMetadataTableConfigurationCommandInput} + * @returns {@link GetBucketMetadataTableConfigurationCommandOutput} + * @see {@link GetBucketMetadataTableConfigurationCommandInput} for command's `input` shape. + * @see {@link GetBucketMetadataTableConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class GetBucketMetadataTableConfigurationCommand extends GetBucketMetadataTableConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketMetadataTableConfigurationRequest; + output: GetBucketMetadataTableConfigurationOutput; + }; + sdk: { + input: GetBucketMetadataTableConfigurationCommandInput; + output: GetBucketMetadataTableConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts new file mode 100644 index 0000000..4b6d41c --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts @@ -0,0 +1,164 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketMetricsConfigurationOutput, GetBucketMetricsConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketMetricsConfigurationCommand}. + */ +export interface GetBucketMetricsConfigurationCommandInput extends GetBucketMetricsConfigurationRequest { +} +/** + * @public + * + * The output of {@link GetBucketMetricsConfigurationCommand}. + */ +export interface GetBucketMetricsConfigurationCommandOutput extends GetBucketMetricsConfigurationOutput, __MetadataBearer { +} +declare const GetBucketMetricsConfigurationCommand_base: { + new (input: GetBucketMetricsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketMetricsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Gets a metrics configuration (specified by the metrics configuration ID) from the bucket. Note that + * this doesn't include the daily storage metrics.

+ * + *

+ * Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. + * For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

+ *
+ *
+ *
Permissions
+ *
+ *

To use this operation, you must have permissions to perform the + * s3:GetMetricsConfiguration action. The bucket owner has this permission by default. The + * bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

+ *
    + *
  • + *

    + * General purpose bucket permissions - The + * s3:GetMetricsConfiguration permission is required in a policy. For more information + * about general purpose buckets permissions, see Using Bucket Policies and User + * Policies in the Amazon S3 User Guide.

    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to + * this API operation, you must have the s3express:GetMetricsConfiguration permission in + * an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. + * For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

+ *
+ *
+ *

For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon + * CloudWatch.

+ *

The following operations are related to GetBucketMetricsConfiguration:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketMetricsConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketMetricsConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketMetricsConfigurationRequest + * Bucket: "STRING_VALUE", // required + * Id: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketMetricsConfigurationCommand(input); + * const response = await client.send(command); + * // { // GetBucketMetricsConfigurationOutput + * // MetricsConfiguration: { // MetricsConfiguration + * // Id: "STRING_VALUE", // required + * // Filter: { // MetricsFilter Union: only one key present + * // Prefix: "STRING_VALUE", + * // Tag: { // Tag + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // AccessPointArn: "STRING_VALUE", + * // And: { // MetricsAndOperator + * // Prefix: "STRING_VALUE", + * // Tags: [ // TagSet + * // { + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // ], + * // AccessPointArn: "STRING_VALUE", + * // }, + * // }, + * // }, + * // }; + * + * ``` + * + * @param GetBucketMetricsConfigurationCommandInput - {@link GetBucketMetricsConfigurationCommandInput} + * @returns {@link GetBucketMetricsConfigurationCommandOutput} + * @see {@link GetBucketMetricsConfigurationCommandInput} for command's `input` shape. + * @see {@link GetBucketMetricsConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class GetBucketMetricsConfigurationCommand extends GetBucketMetricsConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketMetricsConfigurationRequest; + output: GetBucketMetricsConfigurationOutput; + }; + sdk: { + input: GetBucketMetricsConfigurationCommandInput; + output: GetBucketMetricsConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts new file mode 100644 index 0000000..ea2603f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts @@ -0,0 +1,159 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketNotificationConfigurationRequest, NotificationConfiguration } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketNotificationConfigurationCommand}. + */ +export interface GetBucketNotificationConfigurationCommandInput extends GetBucketNotificationConfigurationRequest { +} +/** + * @public + * + * The output of {@link GetBucketNotificationConfigurationCommand}. + */ +export interface GetBucketNotificationConfigurationCommandOutput extends NotificationConfiguration, __MetadataBearer { +} +declare const GetBucketNotificationConfigurationCommand_base: { + new (input: GetBucketNotificationConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketNotificationConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Returns the notification configuration of a bucket.

+ *

If notifications are not enabled on the bucket, the action returns an empty + * NotificationConfiguration element.

+ *

By default, you must be the bucket owner to read the notification configuration of a bucket. + * However, the bucket owner can use a bucket policy to grant permission to other users to read this + * configuration with the s3:GetBucketNotification permission.

+ *

When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.

+ *

When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. + * If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError is returned. + * For more information about InvalidAccessPointAliasError, see List of + * Error Codes.

+ *

For more information about setting and reading the notification configuration on a bucket, see + * Setting Up Notification + * of Bucket Events. For more information about bucket policies, see Using Bucket Policies.

+ *

The following action is related to GetBucketNotification:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketNotificationConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketNotificationConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketNotificationConfigurationRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketNotificationConfigurationCommand(input); + * const response = await client.send(command); + * // { // NotificationConfiguration + * // TopicConfigurations: [ // TopicConfigurationList + * // { // TopicConfiguration + * // Id: "STRING_VALUE", + * // TopicArn: "STRING_VALUE", // required + * // Events: [ // EventList // required + * // "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete", + * // ], + * // Filter: { // NotificationConfigurationFilter + * // Key: { // S3KeyFilter + * // FilterRules: [ // FilterRuleList + * // { // FilterRule + * // Name: "prefix" || "suffix", + * // Value: "STRING_VALUE", + * // }, + * // ], + * // }, + * // }, + * // }, + * // ], + * // QueueConfigurations: [ // QueueConfigurationList + * // { // QueueConfiguration + * // Id: "STRING_VALUE", + * // QueueArn: "STRING_VALUE", // required + * // Events: [ // required + * // "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete", + * // ], + * // Filter: { + * // Key: { + * // FilterRules: [ + * // { + * // Name: "prefix" || "suffix", + * // Value: "STRING_VALUE", + * // }, + * // ], + * // }, + * // }, + * // }, + * // ], + * // LambdaFunctionConfigurations: [ // LambdaFunctionConfigurationList + * // { // LambdaFunctionConfiguration + * // Id: "STRING_VALUE", + * // LambdaFunctionArn: "STRING_VALUE", // required + * // Events: [ // required + * // "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete", + * // ], + * // Filter: { + * // Key: { + * // FilterRules: [ + * // { + * // Name: "prefix" || "suffix", + * // Value: "STRING_VALUE", + * // }, + * // ], + * // }, + * // }, + * // }, + * // ], + * // EventBridgeConfiguration: {}, + * // }; + * + * ``` + * + * @param GetBucketNotificationConfigurationCommandInput - {@link GetBucketNotificationConfigurationCommandInput} + * @returns {@link GetBucketNotificationConfigurationCommandOutput} + * @see {@link GetBucketNotificationConfigurationCommandInput} for command's `input` shape. + * @see {@link GetBucketNotificationConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class GetBucketNotificationConfigurationCommand extends GetBucketNotificationConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketNotificationConfigurationRequest; + output: NotificationConfiguration; + }; + sdk: { + input: GetBucketNotificationConfigurationCommandInput; + output: GetBucketNotificationConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts new file mode 100644 index 0000000..6d26920 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts @@ -0,0 +1,118 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketOwnershipControlsOutput, GetBucketOwnershipControlsRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketOwnershipControlsCommand}. + */ +export interface GetBucketOwnershipControlsCommandInput extends GetBucketOwnershipControlsRequest { +} +/** + * @public + * + * The output of {@link GetBucketOwnershipControlsCommand}. + */ +export interface GetBucketOwnershipControlsCommandOutput extends GetBucketOwnershipControlsOutput, __MetadataBearer { +} +declare const GetBucketOwnershipControlsCommand_base: { + new (input: GetBucketOwnershipControlsCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketOwnershipControlsCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Retrieves OwnershipControls for an Amazon S3 bucket. To use this operation, you must have + * the s3:GetBucketOwnershipControls permission. For more information about Amazon S3 permissions, + * see Specifying + * permissions in a policy.

+ * + *

A bucket doesn't have OwnershipControls settings in the following cases:

+ *
    + *
  • + *

    The bucket was created before the BucketOwnerEnforced ownership setting was + * introduced and you've never explicitly applied this value

    + *
  • + *
  • + *

    You've manually deleted the bucket ownership control value using the + * DeleteBucketOwnershipControls API operation.

    + *
  • + *
+ *

By default, Amazon S3 sets OwnershipControls for all newly created buckets.

+ *
+ *

For information about Amazon S3 Object Ownership, see Using Object Ownership.

+ *

The following operations are related to GetBucketOwnershipControls:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketOwnershipControlsCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketOwnershipControlsCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketOwnershipControlsRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketOwnershipControlsCommand(input); + * const response = await client.send(command); + * // { // GetBucketOwnershipControlsOutput + * // OwnershipControls: { // OwnershipControls + * // Rules: [ // OwnershipControlsRules // required + * // { // OwnershipControlsRule + * // ObjectOwnership: "BucketOwnerPreferred" || "ObjectWriter" || "BucketOwnerEnforced", // required + * // }, + * // ], + * // }, + * // }; + * + * ``` + * + * @param GetBucketOwnershipControlsCommandInput - {@link GetBucketOwnershipControlsCommandInput} + * @returns {@link GetBucketOwnershipControlsCommandOutput} + * @see {@link GetBucketOwnershipControlsCommandInput} for command's `input` shape. + * @see {@link GetBucketOwnershipControlsCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class GetBucketOwnershipControlsCommand extends GetBucketOwnershipControlsCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketOwnershipControlsRequest; + output: GetBucketOwnershipControlsOutput; + }; + sdk: { + input: GetBucketOwnershipControlsCommandInput; + output: GetBucketOwnershipControlsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts new file mode 100644 index 0000000..8f9f65b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts @@ -0,0 +1,159 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketPolicyOutput, GetBucketPolicyRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketPolicyCommand}. + */ +export interface GetBucketPolicyCommandInput extends GetBucketPolicyRequest { +} +/** + * @public + * + * The output of {@link GetBucketPolicyCommand}. + */ +export interface GetBucketPolicyCommandOutput extends GetBucketPolicyOutput, __MetadataBearer { +} +declare const GetBucketPolicyCommand_base: { + new (input: GetBucketPolicyCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketPolicyCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Returns the policy of a specified bucket.

+ * + *

+ * Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. + * For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

+ *
+ *
+ *
Permissions
+ *
+ *

If you are using an identity other than the root user of the Amazon Web Services account that owns the + * bucket, the calling identity must both have the GetBucketPolicy permissions on the + * specified bucket and belong to the bucket owner's account in order to use this operation.

+ *

If you don't have GetBucketPolicy permissions, Amazon S3 returns a 403 Access + * Denied error. If you have the correct permissions, but you're not using an identity that + * belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not Allowed + * error.

+ * + *

To ensure that bucket owners don't inadvertently lock themselves out of their own buckets, + * the root principal in a bucket owner's Amazon Web Services account can perform the + * GetBucketPolicy, PutBucketPolicy, and + * DeleteBucketPolicy API actions, even if their bucket policy explicitly denies the + * root principal's access. Bucket owner root principals can only be blocked from performing these + * API actions by VPC endpoint policies and Amazon Web Services Organizations policies.

+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - The + * s3:GetBucketPolicy permission is required in a policy. For more information + * about general purpose buckets bucket policies, see Using Bucket Policies and User + * Policies in the Amazon S3 User Guide.

    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to + * this API operation, you must have the s3express:GetBucketPolicy permission in + * an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. + * For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    + *
  • + *
+ *
+ *
Example bucket policies
+ *
+ *

+ * General purpose buckets example bucket policies - See Bucket policy + * examples in the Amazon S3 User Guide.

+ *

+ * Directory bucket example bucket policies - See Example + * bucket policies for S3 Express One Zone in the Amazon S3 User Guide.

+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

+ *
+ *
+ *

The following action is related to GetBucketPolicy:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketPolicyCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketPolicyCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketPolicyRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketPolicyCommand(input); + * const response = await client.send(command); + * // { // GetBucketPolicyOutput + * // Policy: "STRING_VALUE", + * // }; + * + * ``` + * + * @param GetBucketPolicyCommandInput - {@link GetBucketPolicyCommandInput} + * @returns {@link GetBucketPolicyCommandOutput} + * @see {@link GetBucketPolicyCommandInput} for command's `input` shape. + * @see {@link GetBucketPolicyCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To get bucket policy + * ```javascript + * // The following example returns bucket policy associated with a bucket. + * const input = { + * Bucket: "examplebucket" + * }; + * const command = new GetBucketPolicyCommand(input); + * const response = await client.send(command); + * /* response is + * { + * Policy: `{"Version":"2008-10-17",&TCX5-2025-waiver;"Id":"LogPolicy","Statement":[{"Sid":"Enables the log delivery group to publish logs to your bucket ","Effect":"Allow","Principal":{"AWS":"111122223333"},"Action":["s3:GetBucketAcl","s3:GetObjectAcl","s3:PutObject"],"Resource":["arn:aws:s3:::policytest1/*","arn:aws:s3:::policytest1"]}]}` + * } + * *\/ + * ``` + * + * @public + */ +export declare class GetBucketPolicyCommand extends GetBucketPolicyCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketPolicyRequest; + output: GetBucketPolicyOutput; + }; + sdk: { + input: GetBucketPolicyCommandInput; + output: GetBucketPolicyCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts new file mode 100644 index 0000000..00a8f2b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts @@ -0,0 +1,110 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketPolicyStatusOutput, GetBucketPolicyStatusRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketPolicyStatusCommand}. + */ +export interface GetBucketPolicyStatusCommandInput extends GetBucketPolicyStatusRequest { +} +/** + * @public + * + * The output of {@link GetBucketPolicyStatusCommand}. + */ +export interface GetBucketPolicyStatusCommandOutput extends GetBucketPolicyStatusOutput, __MetadataBearer { +} +declare const GetBucketPolicyStatusCommand_base: { + new (input: GetBucketPolicyStatusCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketPolicyStatusCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Retrieves the policy status for an Amazon S3 bucket, indicating whether the bucket is public. In order to + * use this operation, you must have the s3:GetBucketPolicyStatus permission. For more + * information about Amazon S3 permissions, see Specifying Permissions in a + * Policy.

+ *

For more information about when Amazon S3 considers a bucket public, see The Meaning of "Public".

+ *

The following operations are related to GetBucketPolicyStatus:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketPolicyStatusCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketPolicyStatusCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketPolicyStatusRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketPolicyStatusCommand(input); + * const response = await client.send(command); + * // { // GetBucketPolicyStatusOutput + * // PolicyStatus: { // PolicyStatus + * // IsPublic: true || false, + * // }, + * // }; + * + * ``` + * + * @param GetBucketPolicyStatusCommandInput - {@link GetBucketPolicyStatusCommandInput} + * @returns {@link GetBucketPolicyStatusCommandOutput} + * @see {@link GetBucketPolicyStatusCommandInput} for command's `input` shape. + * @see {@link GetBucketPolicyStatusCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class GetBucketPolicyStatusCommand extends GetBucketPolicyStatusCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketPolicyStatusRequest; + output: GetBucketPolicyStatusOutput; + }; + sdk: { + input: GetBucketPolicyStatusCommandInput; + output: GetBucketPolicyStatusCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts new file mode 100644 index 0000000..640c9e4 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts @@ -0,0 +1,199 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketReplicationOutput, GetBucketReplicationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketReplicationCommand}. + */ +export interface GetBucketReplicationCommandInput extends GetBucketReplicationRequest { +} +/** + * @public + * + * The output of {@link GetBucketReplicationCommand}. + */ +export interface GetBucketReplicationCommandOutput extends GetBucketReplicationOutput, __MetadataBearer { +} +declare const GetBucketReplicationCommand_base: { + new (input: GetBucketReplicationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketReplicationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Returns the replication configuration of a bucket.

+ * + *

It can take a while to propagate the put or delete a replication configuration to all Amazon S3 + * systems. Therefore, a get request soon after put or delete can return a wrong result.

+ *
+ *

For information about replication configuration, see Replication in the + * Amazon S3 User Guide.

+ *

This action requires permissions for the s3:GetReplicationConfiguration action. For + * more information about permissions, see Using Bucket Policies and User + * Policies.

+ *

If you include the Filter element in a replication configuration, you must also include + * the DeleteMarkerReplication and Priority elements. The response also returns + * those elements.

+ *

For information about GetBucketReplication errors, see List of replication-related + * error codes + *

+ *

The following operations are related to GetBucketReplication:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketReplicationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketReplicationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketReplicationRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketReplicationCommand(input); + * const response = await client.send(command); + * // { // GetBucketReplicationOutput + * // ReplicationConfiguration: { // ReplicationConfiguration + * // Role: "STRING_VALUE", // required + * // Rules: [ // ReplicationRules // required + * // { // ReplicationRule + * // ID: "STRING_VALUE", + * // Priority: Number("int"), + * // Prefix: "STRING_VALUE", + * // Filter: { // ReplicationRuleFilter + * // Prefix: "STRING_VALUE", + * // Tag: { // Tag + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // And: { // ReplicationRuleAndOperator + * // Prefix: "STRING_VALUE", + * // Tags: [ // TagSet + * // { + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // }, + * // Status: "Enabled" || "Disabled", // required + * // SourceSelectionCriteria: { // SourceSelectionCriteria + * // SseKmsEncryptedObjects: { // SseKmsEncryptedObjects + * // Status: "Enabled" || "Disabled", // required + * // }, + * // ReplicaModifications: { // ReplicaModifications + * // Status: "Enabled" || "Disabled", // required + * // }, + * // }, + * // ExistingObjectReplication: { // ExistingObjectReplication + * // Status: "Enabled" || "Disabled", // required + * // }, + * // Destination: { // Destination + * // Bucket: "STRING_VALUE", // required + * // Account: "STRING_VALUE", + * // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE" || "FSX_OPENZFS" || "FSX_ONTAP", + * // AccessControlTranslation: { // AccessControlTranslation + * // Owner: "Destination", // required + * // }, + * // EncryptionConfiguration: { // EncryptionConfiguration + * // ReplicaKmsKeyID: "STRING_VALUE", + * // }, + * // ReplicationTime: { // ReplicationTime + * // Status: "Enabled" || "Disabled", // required + * // Time: { // ReplicationTimeValue + * // Minutes: Number("int"), + * // }, + * // }, + * // Metrics: { // Metrics + * // Status: "Enabled" || "Disabled", // required + * // EventThreshold: { + * // Minutes: Number("int"), + * // }, + * // }, + * // }, + * // DeleteMarkerReplication: { // DeleteMarkerReplication + * // Status: "Enabled" || "Disabled", + * // }, + * // }, + * // ], + * // }, + * // }; + * + * ``` + * + * @param GetBucketReplicationCommandInput - {@link GetBucketReplicationCommandInput} + * @returns {@link GetBucketReplicationCommandOutput} + * @see {@link GetBucketReplicationCommandInput} for command's `input` shape. + * @see {@link GetBucketReplicationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To get replication configuration set on a bucket + * ```javascript + * // The following example returns replication configuration set on a bucket. + * const input = { + * Bucket: "examplebucket" + * }; + * const command = new GetBucketReplicationCommand(input); + * const response = await client.send(command); + * /* response is + * { + * ReplicationConfiguration: { + * Role: "arn:aws:iam::acct-id:role/example-role", + * Rules: [ + * { + * Destination: { + * Bucket: "arn:aws:s3:::destination-bucket" + * }, + * ID: "MWIwNTkwZmItMTE3MS00ZTc3LWJkZDEtNzRmODQwYzc1OTQy", + * Prefix: "Tax", + * Status: "Enabled" + * } + * ] + * } + * } + * *\/ + * ``` + * + * @public + */ +export declare class GetBucketReplicationCommand extends GetBucketReplicationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketReplicationRequest; + output: GetBucketReplicationOutput; + }; + sdk: { + input: GetBucketReplicationCommandInput; + output: GetBucketReplicationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts new file mode 100644 index 0000000..d0700e8 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts @@ -0,0 +1,105 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketRequestPaymentOutput, GetBucketRequestPaymentRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketRequestPaymentCommand}. + */ +export interface GetBucketRequestPaymentCommandInput extends GetBucketRequestPaymentRequest { +} +/** + * @public + * + * The output of {@link GetBucketRequestPaymentCommand}. + */ +export interface GetBucketRequestPaymentCommandOutput extends GetBucketRequestPaymentOutput, __MetadataBearer { +} +declare const GetBucketRequestPaymentCommand_base: { + new (input: GetBucketRequestPaymentCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketRequestPaymentCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Returns the request payment configuration of a bucket. To use this version of the operation, you + * must be the bucket owner. For more information, see Requester Pays Buckets.

+ *

The following operations are related to GetBucketRequestPayment:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketRequestPaymentCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketRequestPaymentCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketRequestPaymentRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketRequestPaymentCommand(input); + * const response = await client.send(command); + * // { // GetBucketRequestPaymentOutput + * // Payer: "Requester" || "BucketOwner", + * // }; + * + * ``` + * + * @param GetBucketRequestPaymentCommandInput - {@link GetBucketRequestPaymentCommandInput} + * @returns {@link GetBucketRequestPaymentCommandOutput} + * @see {@link GetBucketRequestPaymentCommandInput} for command's `input` shape. + * @see {@link GetBucketRequestPaymentCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To get bucket versioning configuration + * ```javascript + * // The following example retrieves bucket versioning configuration. + * const input = { + * Bucket: "examplebucket" + * }; + * const command = new GetBucketRequestPaymentCommand(input); + * const response = await client.send(command); + * /* response is + * { + * Payer: "BucketOwner" + * } + * *\/ + * ``` + * + * @public + */ +export declare class GetBucketRequestPaymentCommand extends GetBucketRequestPaymentCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketRequestPaymentRequest; + output: GetBucketRequestPaymentOutput; + }; + sdk: { + input: GetBucketRequestPaymentCommandInput; + output: GetBucketRequestPaymentCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts new file mode 100644 index 0000000..4525f22 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts @@ -0,0 +1,138 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketTaggingOutput, GetBucketTaggingRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketTaggingCommand}. + */ +export interface GetBucketTaggingCommandInput extends GetBucketTaggingRequest { +} +/** + * @public + * + * The output of {@link GetBucketTaggingCommand}. + */ +export interface GetBucketTaggingCommandOutput extends GetBucketTaggingOutput, __MetadataBearer { +} +declare const GetBucketTaggingCommand_base: { + new (input: GetBucketTaggingCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketTaggingCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Returns the tag set associated with the general purpose bucket.

+ *

To use this operation, you must have permission to perform the s3:GetBucketTagging + * action. By default, the bucket owner has this permission and can grant this permission to others.

+ *

+ * GetBucketTagging has the following special error:

+ *
    + *
  • + *

    Error code: NoSuchTagSet + *

    + *
      + *
    • + *

      Description: There is no tag set associated with the bucket.

      + *
    • + *
    + *
  • + *
+ *

The following operations are related to GetBucketTagging:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketTaggingCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketTaggingCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketTaggingRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketTaggingCommand(input); + * const response = await client.send(command); + * // { // GetBucketTaggingOutput + * // TagSet: [ // TagSet // required + * // { // Tag + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // ], + * // }; + * + * ``` + * + * @param GetBucketTaggingCommandInput - {@link GetBucketTaggingCommandInput} + * @returns {@link GetBucketTaggingCommandOutput} + * @see {@link GetBucketTaggingCommandInput} for command's `input` shape. + * @see {@link GetBucketTaggingCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To get tag set associated with a bucket + * ```javascript + * // The following example returns tag set associated with a bucket + * const input = { + * Bucket: "examplebucket" + * }; + * const command = new GetBucketTaggingCommand(input); + * const response = await client.send(command); + * /* response is + * { + * TagSet: [ + * { + * Key: "key1", + * Value: "value1" + * }, + * { + * Key: "key2", + * Value: "value2" + * } + * ] + * } + * *\/ + * ``` + * + * @public + */ +export declare class GetBucketTaggingCommand extends GetBucketTaggingCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketTaggingRequest; + output: GetBucketTaggingOutput; + }; + sdk: { + input: GetBucketTaggingCommandInput; + output: GetBucketTaggingCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts new file mode 100644 index 0000000..35066b5 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts @@ -0,0 +1,120 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketVersioningOutput, GetBucketVersioningRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketVersioningCommand}. + */ +export interface GetBucketVersioningCommandInput extends GetBucketVersioningRequest { +} +/** + * @public + * + * The output of {@link GetBucketVersioningCommand}. + */ +export interface GetBucketVersioningCommandOutput extends GetBucketVersioningOutput, __MetadataBearer { +} +declare const GetBucketVersioningCommand_base: { + new (input: GetBucketVersioningCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketVersioningCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Returns the versioning state of a bucket.

+ *

To retrieve the versioning state of a bucket, you must be the bucket owner.

+ *

This implementation also returns the MFA Delete status of the versioning state. If the MFA Delete + * status is enabled, the bucket owner must use an authentication device to change the + * versioning state of the bucket.

+ *

The following operations are related to GetBucketVersioning:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketVersioningCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketVersioningCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketVersioningRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketVersioningCommand(input); + * const response = await client.send(command); + * // { // GetBucketVersioningOutput + * // Status: "Enabled" || "Suspended", + * // MFADelete: "Enabled" || "Disabled", + * // }; + * + * ``` + * + * @param GetBucketVersioningCommandInput - {@link GetBucketVersioningCommandInput} + * @returns {@link GetBucketVersioningCommandOutput} + * @see {@link GetBucketVersioningCommandInput} for command's `input` shape. + * @see {@link GetBucketVersioningCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To get bucket versioning configuration + * ```javascript + * // The following example retrieves bucket versioning configuration. + * const input = { + * Bucket: "examplebucket" + * }; + * const command = new GetBucketVersioningCommand(input); + * const response = await client.send(command); + * /* response is + * { + * MFADelete: "Disabled", + * Status: "Enabled" + * } + * *\/ + * ``` + * + * @public + */ +export declare class GetBucketVersioningCommand extends GetBucketVersioningCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketVersioningRequest; + output: GetBucketVersioningOutput; + }; + sdk: { + input: GetBucketVersioningCommandInput; + output: GetBucketVersioningCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts new file mode 100644 index 0000000..d10f797 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts @@ -0,0 +1,143 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetBucketWebsiteOutput, GetBucketWebsiteRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetBucketWebsiteCommand}. + */ +export interface GetBucketWebsiteCommandInput extends GetBucketWebsiteRequest { +} +/** + * @public + * + * The output of {@link GetBucketWebsiteCommand}. + */ +export interface GetBucketWebsiteCommandOutput extends GetBucketWebsiteOutput, __MetadataBearer { +} +declare const GetBucketWebsiteCommand_base: { + new (input: GetBucketWebsiteCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetBucketWebsiteCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Returns the website configuration for a bucket. To host website on Amazon S3, you can configure a bucket + * as website by adding a website configuration. For more information about hosting websites, see Hosting Websites on Amazon S3.

+ *

This GET action requires the S3:GetBucketWebsite permission. By default, only the + * bucket owner can read the bucket website configuration. However, bucket owners can allow other users to + * read the website configuration by writing a bucket policy granting them the + * S3:GetBucketWebsite permission.

+ *

The following operations are related to GetBucketWebsite:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetBucketWebsiteCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetBucketWebsiteCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetBucketWebsiteRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetBucketWebsiteCommand(input); + * const response = await client.send(command); + * // { // GetBucketWebsiteOutput + * // RedirectAllRequestsTo: { // RedirectAllRequestsTo + * // HostName: "STRING_VALUE", // required + * // Protocol: "http" || "https", + * // }, + * // IndexDocument: { // IndexDocument + * // Suffix: "STRING_VALUE", // required + * // }, + * // ErrorDocument: { // ErrorDocument + * // Key: "STRING_VALUE", // required + * // }, + * // RoutingRules: [ // RoutingRules + * // { // RoutingRule + * // Condition: { // Condition + * // HttpErrorCodeReturnedEquals: "STRING_VALUE", + * // KeyPrefixEquals: "STRING_VALUE", + * // }, + * // Redirect: { // Redirect + * // HostName: "STRING_VALUE", + * // HttpRedirectCode: "STRING_VALUE", + * // Protocol: "http" || "https", + * // ReplaceKeyPrefixWith: "STRING_VALUE", + * // ReplaceKeyWith: "STRING_VALUE", + * // }, + * // }, + * // ], + * // }; + * + * ``` + * + * @param GetBucketWebsiteCommandInput - {@link GetBucketWebsiteCommandInput} + * @returns {@link GetBucketWebsiteCommandOutput} + * @see {@link GetBucketWebsiteCommandInput} for command's `input` shape. + * @see {@link GetBucketWebsiteCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To get bucket website configuration + * ```javascript + * // The following example retrieves website configuration of a bucket. + * const input = { + * Bucket: "examplebucket" + * }; + * const command = new GetBucketWebsiteCommand(input); + * const response = await client.send(command); + * /* response is + * { + * ErrorDocument: { + * Key: "error.html" + * }, + * IndexDocument: { + * Suffix: "index.html" + * } + * } + * *\/ + * ``` + * + * @public + */ +export declare class GetBucketWebsiteCommand extends GetBucketWebsiteCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetBucketWebsiteRequest; + output: GetBucketWebsiteOutput; + }; + sdk: { + input: GetBucketWebsiteCommandInput; + output: GetBucketWebsiteCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts new file mode 100644 index 0000000..46f4c11 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts @@ -0,0 +1,192 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetObjectAclOutput, GetObjectAclRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetObjectAclCommand}. + */ +export interface GetObjectAclCommandInput extends GetObjectAclRequest { +} +/** + * @public + * + * The output of {@link GetObjectAclCommand}. + */ +export interface GetObjectAclCommandOutput extends GetObjectAclOutput, __MetadataBearer { +} +declare const GetObjectAclCommand_base: { + new (input: GetObjectAclCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetObjectAclCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Returns the access control list (ACL) of an object. To use this operation, you must have + * s3:GetObjectAcl permissions or READ_ACP access to the object. For more + * information, see Mapping of ACL + * permissions and access policy permissions in the Amazon S3 User Guide + *

+ *

This functionality is not supported for Amazon S3 on Outposts.

+ *

By default, GET returns ACL information about the current version of an object. To return ACL + * information about a different version, use the versionId subresource.

+ * + *

If your bucket uses the bucket owner enforced setting for S3 Object Ownership, requests to read + * ACLs are still supported and return the bucket-owner-full-control ACL with the owner + * being the account that created the bucket. For more information, see Controlling object ownership and + * disabling ACLs in the Amazon S3 User Guide.

+ *
+ *

The following operations are related to GetObjectAcl:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetObjectAclCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetObjectAclCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetObjectAclRequest + * Bucket: "STRING_VALUE", // required + * Key: "STRING_VALUE", // required + * VersionId: "STRING_VALUE", + * RequestPayer: "requester", + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetObjectAclCommand(input); + * const response = await client.send(command); + * // { // GetObjectAclOutput + * // Owner: { // Owner + * // DisplayName: "STRING_VALUE", + * // ID: "STRING_VALUE", + * // }, + * // Grants: [ // Grants + * // { // Grant + * // Grantee: { // Grantee + * // DisplayName: "STRING_VALUE", + * // EmailAddress: "STRING_VALUE", + * // ID: "STRING_VALUE", + * // URI: "STRING_VALUE", + * // Type: "CanonicalUser" || "AmazonCustomerByEmail" || "Group", // required + * // }, + * // Permission: "FULL_CONTROL" || "WRITE" || "WRITE_ACP" || "READ" || "READ_ACP", + * // }, + * // ], + * // RequestCharged: "requester", + * // }; + * + * ``` + * + * @param GetObjectAclCommandInput - {@link GetObjectAclCommandInput} + * @returns {@link GetObjectAclCommandOutput} + * @see {@link GetObjectAclCommandInput} for command's `input` shape. + * @see {@link GetObjectAclCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link NoSuchKey} (client fault) + *

The specified key does not exist.

+ * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To retrieve object ACL + * ```javascript + * // The following example retrieves access control list (ACL) of an object. + * const input = { + * Bucket: "examplebucket", + * Key: "HappyFace.jpg" + * }; + * const command = new GetObjectAclCommand(input); + * const response = await client.send(command); + * /* response is + * { + * Grants: [ + * { + * Grantee: { + * DisplayName: "owner-display-name", + * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc", + * Type: "CanonicalUser" + * }, + * Permission: "WRITE" + * }, + * { + * Grantee: { + * DisplayName: "owner-display-name", + * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc", + * Type: "CanonicalUser" + * }, + * Permission: "WRITE_ACP" + * }, + * { + * Grantee: { + * DisplayName: "owner-display-name", + * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc", + * Type: "CanonicalUser" + * }, + * Permission: "READ" + * }, + * { + * Grantee: { + * DisplayName: "owner-display-name", + * ID: "852b113eexamplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc", + * Type: "CanonicalUser" + * }, + * Permission: "READ_ACP" + * } + * ], + * Owner: { + * DisplayName: "owner-display-name", + * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" + * } + * } + * *\/ + * ``` + * + * @public + */ +export declare class GetObjectAclCommand extends GetObjectAclCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetObjectAclRequest; + output: GetObjectAclOutput; + }; + sdk: { + input: GetObjectAclCommandInput; + output: GetObjectAclCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts new file mode 100644 index 0000000..5e79611 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts @@ -0,0 +1,328 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetObjectAttributesOutput, GetObjectAttributesRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetObjectAttributesCommand}. + */ +export interface GetObjectAttributesCommandInput extends GetObjectAttributesRequest { +} +/** + * @public + * + * The output of {@link GetObjectAttributesCommand}. + */ +export interface GetObjectAttributesCommandOutput extends GetObjectAttributesOutput, __MetadataBearer { +} +declare const GetObjectAttributesCommand_base: { + new (input: GetObjectAttributesCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetObjectAttributesCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Retrieves all of the metadata from an object without returning the object itself. This operation is + * useful if you're interested only in an object's metadata.

+ *

+ * GetObjectAttributes combines the functionality of HeadObject and + * ListParts. All of the data returned with both of those individual calls can be returned + * with a single call to GetObjectAttributes.

+ * + *

+ * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name + * . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

+ *
+ *
+ *
Permissions
+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - To use + * GetObjectAttributes, you must have READ access to the object.

    + *

    The other permissions that you need to use this operation depend on whether the bucket is + * versioned and if a version ID is passed in the GetObjectAttributes request.

    + *
      + *
    • + *

      If you pass a version ID in your request, you need both the + * s3:GetObjectVersion and s3:GetObjectVersionAttributes + * permissions.

      + *
    • + *
    • + *

      If you do not pass a version ID in your request, you need the + * s3:GetObject and s3:GetObjectAttributes permissions.

      + *
    • + *
    + *

    For more information, see Specifying Permissions in a + * Policy in the Amazon S3 User Guide.

    + *

    If the object that you request does not exist, the error Amazon S3 returns depends on whether + * you also have the s3:ListBucket permission.

    + *
      + *
    • + *

      If you have the s3:ListBucket permission on the bucket, Amazon S3 returns an + * HTTP status code 404 Not Found ("no such key") error.

      + *
    • + *
    • + *

      If you don't have the s3:ListBucket permission, Amazon S3 returns an HTTP + * status code 403 Forbidden ("access denied") error.

      + *
    • + *
    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the + * CreateSession + * API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. + * Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see + * CreateSession + * .

    + *

    If + * the + * object is encrypted with SSE-KMS, you must also have the kms:GenerateDataKey and + * kms:Decrypt permissions in IAM identity-based policies and KMS key policies + * for the KMS key.

    + *
  • + *
+ *
+ *
Encryption
+ *
+ * + *

Encryption request headers, like x-amz-server-side-encryption, should not be + * sent for HEAD requests if your object uses server-side encryption with Key Management Service + * (KMS) keys (SSE-KMS), dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), or + * server-side encryption with Amazon S3 managed encryption keys (SSE-S3). The + * x-amz-server-side-encryption header is used when you PUT an object + * to S3 and want to specify the encryption method. If you include this header in a + * GET request for an object that uses these types of keys, you’ll get an HTTP + * 400 Bad Request error. It's because the encryption method can't be changed when + * you retrieve the object.

+ *
+ *

If you encrypted an object when you stored the object in Amazon S3 by using server-side encryption + * with customer-provided encryption keys (SSE-C), then when you retrieve the metadata from the + * object, you must use the following headers. These headers provide the server with the encryption + * key required to retrieve the object's metadata. The headers are:

+ *
    + *
  • + *

    + * x-amz-server-side-encryption-customer-algorithm + *

    + *
  • + *
  • + *

    + * x-amz-server-side-encryption-customer-key + *

    + *
  • + *
  • + *

    + * x-amz-server-side-encryption-customer-key-MD5 + *

    + *
  • + *
+ *

For more information about SSE-C, see Server-Side Encryption (Using + * Customer-Provided Encryption Keys) in the Amazon S3 User Guide.

+ * + *

+ * Directory bucket permissions - + * For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (aws:kms). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your + * CreateSession requests or PUT object requests. Then, new objects + * are automatically encrypted with the desired encryption settings. For more + * information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.

+ *
+ *
+ *
Versioning
+ *
+ *

+ * Directory buckets - S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null value of the version ID is supported by directory buckets. + * You can only specify null to the versionId query parameter in the + * request.

+ *
+ *
Conditional request headers
+ *
+ *

Consider the following when using request headers:

+ *
    + *
  • + *

    If both of the If-Match and If-Unmodified-Since headers are + * present in the request as follows, then Amazon S3 returns the HTTP status code 200 OK + * and the data requested:

    + *
      + *
    • + *

      + * If-Match condition evaluates to true.

      + *
    • + *
    • + *

      + * If-Unmodified-Since condition evaluates to false.

      + *
    • + *
    + *

    For more information about conditional requests, see RFC 7232.

    + *
  • + *
  • + *

    If both of the If-None-Match and If-Modified-Since headers are + * present in the request as follows, then Amazon S3 returns the HTTP status code 304 Not + * Modified:

    + *
      + *
    • + *

      + * If-None-Match condition evaluates to false.

      + *
    • + *
    • + *

      + * If-Modified-Since condition evaluates to true.

      + *
    • + *
    + *

    For more information about conditional requests, see RFC 7232.

    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * Bucket-name.s3express-zone-id.region-code.amazonaws.com.

+ *
+ *
+ *

The following actions are related to GetObjectAttributes:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetObjectAttributesCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetObjectAttributesCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetObjectAttributesRequest + * Bucket: "STRING_VALUE", // required + * Key: "STRING_VALUE", // required + * VersionId: "STRING_VALUE", + * MaxParts: Number("int"), + * PartNumberMarker: "STRING_VALUE", + * SSECustomerAlgorithm: "STRING_VALUE", + * SSECustomerKey: "STRING_VALUE", + * SSECustomerKeyMD5: "STRING_VALUE", + * RequestPayer: "requester", + * ExpectedBucketOwner: "STRING_VALUE", + * ObjectAttributes: [ // ObjectAttributesList // required + * "ETag" || "Checksum" || "ObjectParts" || "StorageClass" || "ObjectSize", + * ], + * }; + * const command = new GetObjectAttributesCommand(input); + * const response = await client.send(command); + * // { // GetObjectAttributesOutput + * // DeleteMarker: true || false, + * // LastModified: new Date("TIMESTAMP"), + * // VersionId: "STRING_VALUE", + * // RequestCharged: "requester", + * // ETag: "STRING_VALUE", + * // Checksum: { // Checksum + * // ChecksumCRC32: "STRING_VALUE", + * // ChecksumCRC32C: "STRING_VALUE", + * // ChecksumCRC64NVME: "STRING_VALUE", + * // ChecksumSHA1: "STRING_VALUE", + * // ChecksumSHA256: "STRING_VALUE", + * // ChecksumType: "COMPOSITE" || "FULL_OBJECT", + * // }, + * // ObjectParts: { // GetObjectAttributesParts + * // TotalPartsCount: Number("int"), + * // PartNumberMarker: "STRING_VALUE", + * // NextPartNumberMarker: "STRING_VALUE", + * // MaxParts: Number("int"), + * // IsTruncated: true || false, + * // Parts: [ // PartsList + * // { // ObjectPart + * // PartNumber: Number("int"), + * // Size: Number("long"), + * // ChecksumCRC32: "STRING_VALUE", + * // ChecksumCRC32C: "STRING_VALUE", + * // ChecksumCRC64NVME: "STRING_VALUE", + * // ChecksumSHA1: "STRING_VALUE", + * // ChecksumSHA256: "STRING_VALUE", + * // }, + * // ], + * // }, + * // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE" || "FSX_OPENZFS" || "FSX_ONTAP", + * // ObjectSize: Number("long"), + * // }; + * + * ``` + * + * @param GetObjectAttributesCommandInput - {@link GetObjectAttributesCommandInput} + * @returns {@link GetObjectAttributesCommandOutput} + * @see {@link GetObjectAttributesCommandInput} for command's `input` shape. + * @see {@link GetObjectAttributesCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link NoSuchKey} (client fault) + *

The specified key does not exist.

+ * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class GetObjectAttributesCommand extends GetObjectAttributesCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetObjectAttributesRequest; + output: GetObjectAttributesOutput; + }; + sdk: { + input: GetObjectAttributesCommandInput; + output: GetObjectAttributesCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts new file mode 100644 index 0000000..7947ca4 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts @@ -0,0 +1,373 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types"; +import type { GetObjectOutput, GetObjectRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetObjectCommand}. + */ +export interface GetObjectCommandInput extends GetObjectRequest { +} +/** + * @public + * + * The output of {@link GetObjectCommand}. + */ +export interface GetObjectCommandOutput extends Omit, __MetadataBearer { + Body?: StreamingBlobPayloadOutputTypes; +} +declare const GetObjectCommand_base: { + new (input: GetObjectCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetObjectCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Retrieves an object from Amazon S3.

+ *

In the GetObject request, specify the full key name for the object.

+ *

+ * General purpose buckets - Both the virtual-hosted-style requests + * and the path-style requests are supported. For a virtual hosted-style request example, if you have the + * object photos/2006/February/sample.jpg, specify the object key name as + * /photos/2006/February/sample.jpg. For a path-style request example, if you have the + * object photos/2006/February/sample.jpg in the bucket named examplebucket, + * specify the object key name as /examplebucket/photos/2006/February/sample.jpg. For more + * information about request types, see HTTP Host Header Bucket + * Specification in the Amazon S3 User Guide.

+ *

+ * Directory buckets - + * Only virtual-hosted-style requests are supported. For a virtual hosted-style request example, if you have the object photos/2006/February/sample.jpg in the bucket named amzn-s3-demo-bucket--usw2-az1--x-s3, specify the object key name as /photos/2006/February/sample.jpg. Also, when you make requests to this API operation, your requests are sent to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name + * . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

+ *
+ *
Permissions
+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - You must have the + * required permissions in a policy. To use GetObject, you must have the + * READ access to the object (or version). If you grant READ access + * to the anonymous user, the GetObject operation returns the object without using + * an authorization header. For more information, see Specifying permissions in a + * policy in the Amazon S3 User Guide.

    + *

    If you include a versionId in your request header, you must have the + * s3:GetObjectVersion permission to access a specific version of an object. The + * s3:GetObject permission is not required in this scenario.

    + *

    If you request the current version of an object without a specific versionId + * in the request header, only the s3:GetObject permission is required. The + * s3:GetObjectVersion permission is not required in this scenario.

    + *

    If the object that you request doesn’t exist, the error that Amazon S3 returns depends on + * whether you also have the s3:ListBucket permission.

    + *
      + *
    • + *

      If you have the s3:ListBucket permission on the bucket, Amazon S3 returns an + * HTTP status code 404 Not Found error.

      + *
    • + *
    • + *

      If you don’t have the s3:ListBucket permission, Amazon S3 returns an HTTP + * status code 403 Access Denied error.

      + *
    • + *
    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the + * CreateSession + * API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. + * Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see + * CreateSession + * .

    + *

    If the object is + * encrypted using SSE-KMS, you must also have the kms:GenerateDataKey and + * kms:Decrypt permissions in IAM identity-based policies and KMS key policies + * for the KMS key.

    + *
  • + *
+ *
+ *
Storage classes
+ *
+ *

If the object you are retrieving is stored in the S3 Glacier Flexible Retrieval storage class, + * the S3 Glacier Deep Archive storage class, the S3 Intelligent-Tiering Archive Access tier, or the + * S3 Intelligent-Tiering Deep Archive Access tier, before you can retrieve the object you must first restore a + * copy using RestoreObject. Otherwise, this operation returns an InvalidObjectState + * error. For information about restoring archived objects, see Restoring Archived Objects in the + * Amazon S3 User Guide.

+ *

+ * Directory buckets - + * Directory buckets only support EXPRESS_ONEZONE (the S3 Express One Zone storage class) in Availability Zones and ONEZONE_IA (the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones. + * Unsupported storage class values won't write a destination object and will respond with the HTTP status code 400 Bad Request.

+ *
+ *
Encryption
+ *
+ *

Encryption request headers, like x-amz-server-side-encryption, should not be sent + * for the GetObject requests, if your object uses server-side encryption with Amazon S3 + * managed encryption keys (SSE-S3), server-side encryption with Key Management Service (KMS) keys (SSE-KMS), or + * dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS). If you include the header in + * your GetObject requests for the object that uses these types of keys, you’ll get an + * HTTP 400 Bad Request error.

+ *

+ * Directory buckets - + * For directory buckets, there are only two supported options for server-side encryption: SSE-S3 and SSE-KMS. SSE-C isn't supported. For more + * information, see Protecting data with server-side encryption in the Amazon S3 User Guide.

+ *
+ *
Overriding response header values through the request
+ *
+ *

There are times when you want to override certain response header values of a + * GetObject response. For example, you might override the + * Content-Disposition response header value through your GetObject + * request.

+ *

You can override values for a set of response headers. These modified response header values + * are included only in a successful response, that is, when the HTTP status code 200 OK + * is returned. The headers you can override using the following query parameters in the request are + * a subset of the headers that Amazon S3 accepts when you create an object.

+ *

The response headers that you can override for the GetObject response are + * Cache-Control, Content-Disposition, Content-Encoding, + * Content-Language, Content-Type, and Expires.

+ *

To override values for a set of response headers in the GetObject response, you + * can use the following query parameters in the request.

+ *
    + *
  • + *

    + * response-cache-control + *

    + *
  • + *
  • + *

    + * response-content-disposition + *

    + *
  • + *
  • + *

    + * response-content-encoding + *

    + *
  • + *
  • + *

    + * response-content-language + *

    + *
  • + *
  • + *

    + * response-content-type + *

    + *
  • + *
  • + *

    + * response-expires + *

    + *
  • + *
+ * + *

When you use these parameters, you must sign the request by using either an Authorization + * header or a presigned URL. These parameters cannot be used with an unsigned (anonymous) + * request.

+ *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * Bucket-name.s3express-zone-id.region-code.amazonaws.com.

+ *
+ *
+ *

The following operations are related to GetObject:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetObjectCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetObjectCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetObjectRequest + * Bucket: "STRING_VALUE", // required + * IfMatch: "STRING_VALUE", + * IfModifiedSince: new Date("TIMESTAMP"), + * IfNoneMatch: "STRING_VALUE", + * IfUnmodifiedSince: new Date("TIMESTAMP"), + * Key: "STRING_VALUE", // required + * Range: "STRING_VALUE", + * ResponseCacheControl: "STRING_VALUE", + * ResponseContentDisposition: "STRING_VALUE", + * ResponseContentEncoding: "STRING_VALUE", + * ResponseContentLanguage: "STRING_VALUE", + * ResponseContentType: "STRING_VALUE", + * ResponseExpires: new Date("TIMESTAMP"), + * VersionId: "STRING_VALUE", + * SSECustomerAlgorithm: "STRING_VALUE", + * SSECustomerKey: "STRING_VALUE", + * SSECustomerKeyMD5: "STRING_VALUE", + * RequestPayer: "requester", + * PartNumber: Number("int"), + * ExpectedBucketOwner: "STRING_VALUE", + * ChecksumMode: "ENABLED", + * }; + * const command = new GetObjectCommand(input); + * const response = await client.send(command); + * // consume or destroy the stream to free the socket. + * const bytes = await response.Body.transformToByteArray(); + * // const str = await response.Body.transformToString(); + * // response.Body.destroy(); // only applicable to Node.js Readable streams. + * + * // { // GetObjectOutput + * // Body: "", // see \@smithy/types -> StreamingBlobPayloadOutputTypes + * // DeleteMarker: true || false, + * // AcceptRanges: "STRING_VALUE", + * // Expiration: "STRING_VALUE", + * // Restore: "STRING_VALUE", + * // LastModified: new Date("TIMESTAMP"), + * // ContentLength: Number("long"), + * // ETag: "STRING_VALUE", + * // ChecksumCRC32: "STRING_VALUE", + * // ChecksumCRC32C: "STRING_VALUE", + * // ChecksumCRC64NVME: "STRING_VALUE", + * // ChecksumSHA1: "STRING_VALUE", + * // ChecksumSHA256: "STRING_VALUE", + * // ChecksumType: "COMPOSITE" || "FULL_OBJECT", + * // MissingMeta: Number("int"), + * // VersionId: "STRING_VALUE", + * // CacheControl: "STRING_VALUE", + * // ContentDisposition: "STRING_VALUE", + * // ContentEncoding: "STRING_VALUE", + * // ContentLanguage: "STRING_VALUE", + * // ContentRange: "STRING_VALUE", + * // ContentType: "STRING_VALUE", + * // Expires: new Date("TIMESTAMP"), + * // ExpiresString: "STRING_VALUE", + * // WebsiteRedirectLocation: "STRING_VALUE", + * // ServerSideEncryption: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse", + * // Metadata: { // Metadata + * // "": "STRING_VALUE", + * // }, + * // SSECustomerAlgorithm: "STRING_VALUE", + * // SSECustomerKeyMD5: "STRING_VALUE", + * // SSEKMSKeyId: "STRING_VALUE", + * // BucketKeyEnabled: true || false, + * // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE" || "FSX_OPENZFS" || "FSX_ONTAP", + * // RequestCharged: "requester", + * // ReplicationStatus: "COMPLETE" || "PENDING" || "FAILED" || "REPLICA" || "COMPLETED", + * // PartsCount: Number("int"), + * // TagCount: Number("int"), + * // ObjectLockMode: "GOVERNANCE" || "COMPLIANCE", + * // ObjectLockRetainUntilDate: new Date("TIMESTAMP"), + * // ObjectLockLegalHoldStatus: "ON" || "OFF", + * // }; + * + * ``` + * + * @param GetObjectCommandInput - {@link GetObjectCommandInput} + * @returns {@link GetObjectCommandOutput} + * @see {@link GetObjectCommandInput} for command's `input` shape. + * @see {@link GetObjectCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link InvalidObjectState} (client fault) + *

Object is archived and inaccessible until restored.

+ *

If the object you are retrieving is stored in the S3 Glacier Flexible Retrieval storage class, the + * S3 Glacier Deep Archive storage class, the S3 Intelligent-Tiering Archive Access tier, or the + * S3 Intelligent-Tiering Deep Archive Access tier, before you can retrieve the object you must first restore a copy + * using RestoreObject. Otherwise, this operation returns an InvalidObjectState error. For + * information about restoring archived objects, see Restoring Archived Objects in the + * Amazon S3 User Guide.

+ * + * @throws {@link NoSuchKey} (client fault) + *

The specified key does not exist.

+ * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To retrieve a byte range of an object + * ```javascript + * // The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range. + * const input = { + * Bucket: "examplebucket", + * Key: "SampleFile.txt", + * Range: "bytes=0-9" + * }; + * const command = new GetObjectCommand(input); + * const response = await client.send(command); + * // consume or destroy the stream to free the socket. + * const bytes = await response.Body.transformToByteArray(); + * // const str = await response.Body.transformToString(); + * // response.Body.destroy(); // only applicable to Node.js Readable streams. + * + * /* response is + * { + * AcceptRanges: "bytes", + * ContentLength: 10, + * ContentRange: "bytes 0-9/43", + * ContentType: "text/plain", + * ETag: `"0d94420ffd0bc68cd3d152506b97a9cc"`, + * LastModified: "2014-10-09T22:57:28.000Z", + * Metadata: { /* empty *\/ }, + * VersionId: "null" + * } + * *\/ + * ``` + * + * @example To retrieve an object + * ```javascript + * // The following example retrieves an object for an S3 bucket. + * const input = { + * Bucket: "examplebucket", + * Key: "HappyFace.jpg" + * }; + * const command = new GetObjectCommand(input); + * const response = await client.send(command); + * // consume or destroy the stream to free the socket. + * const bytes = await response.Body.transformToByteArray(); + * // const str = await response.Body.transformToString(); + * // response.Body.destroy(); // only applicable to Node.js Readable streams. + * + * /* response is + * { + * AcceptRanges: "bytes", + * ContentLength: 3191, + * ContentType: "image/jpeg", + * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`, + * LastModified: "2016-12-15T01:19:41.000Z", + * Metadata: { /* empty *\/ }, + * TagCount: 2, + * VersionId: "null" + * } + * *\/ + * ``` + * + * @public + */ +export declare class GetObjectCommand extends GetObjectCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetObjectRequest; + output: GetObjectOutput; + }; + sdk: { + input: GetObjectCommandInput; + output: GetObjectCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts new file mode 100644 index 0000000..03f1009 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts @@ -0,0 +1,95 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetObjectLegalHoldOutput, GetObjectLegalHoldRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetObjectLegalHoldCommand}. + */ +export interface GetObjectLegalHoldCommandInput extends GetObjectLegalHoldRequest { +} +/** + * @public + * + * The output of {@link GetObjectLegalHoldCommand}. + */ +export interface GetObjectLegalHoldCommandOutput extends GetObjectLegalHoldOutput, __MetadataBearer { +} +declare const GetObjectLegalHoldCommand_base: { + new (input: GetObjectLegalHoldCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetObjectLegalHoldCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Gets an object's current legal hold status. For more information, see Locking Objects.

+ *

This functionality is not supported for Amazon S3 on Outposts.

+ *

The following action is related to GetObjectLegalHold:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetObjectLegalHoldCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetObjectLegalHoldCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetObjectLegalHoldRequest + * Bucket: "STRING_VALUE", // required + * Key: "STRING_VALUE", // required + * VersionId: "STRING_VALUE", + * RequestPayer: "requester", + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetObjectLegalHoldCommand(input); + * const response = await client.send(command); + * // { // GetObjectLegalHoldOutput + * // LegalHold: { // ObjectLockLegalHold + * // Status: "ON" || "OFF", + * // }, + * // }; + * + * ``` + * + * @param GetObjectLegalHoldCommandInput - {@link GetObjectLegalHoldCommandInput} + * @returns {@link GetObjectLegalHoldCommandOutput} + * @see {@link GetObjectLegalHoldCommandInput} for command's `input` shape. + * @see {@link GetObjectLegalHoldCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class GetObjectLegalHoldCommand extends GetObjectLegalHoldCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetObjectLegalHoldRequest; + output: GetObjectLegalHoldOutput; + }; + sdk: { + input: GetObjectLegalHoldCommandInput; + output: GetObjectLegalHoldCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts new file mode 100644 index 0000000..be50e4e --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts @@ -0,0 +1,100 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetObjectLockConfigurationOutput, GetObjectLockConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetObjectLockConfigurationCommand}. + */ +export interface GetObjectLockConfigurationCommandInput extends GetObjectLockConfigurationRequest { +} +/** + * @public + * + * The output of {@link GetObjectLockConfigurationCommand}. + */ +export interface GetObjectLockConfigurationCommandOutput extends GetObjectLockConfigurationOutput, __MetadataBearer { +} +declare const GetObjectLockConfigurationCommand_base: { + new (input: GetObjectLockConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetObjectLockConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Gets the Object Lock configuration for a bucket. The rule specified in the Object Lock configuration + * will be applied by default to every new object placed in the specified bucket. For more information, see + * Locking Objects.

+ *

The following action is related to GetObjectLockConfiguration:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetObjectLockConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetObjectLockConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetObjectLockConfigurationRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetObjectLockConfigurationCommand(input); + * const response = await client.send(command); + * // { // GetObjectLockConfigurationOutput + * // ObjectLockConfiguration: { // ObjectLockConfiguration + * // ObjectLockEnabled: "Enabled", + * // Rule: { // ObjectLockRule + * // DefaultRetention: { // DefaultRetention + * // Mode: "GOVERNANCE" || "COMPLIANCE", + * // Days: Number("int"), + * // Years: Number("int"), + * // }, + * // }, + * // }, + * // }; + * + * ``` + * + * @param GetObjectLockConfigurationCommandInput - {@link GetObjectLockConfigurationCommandInput} + * @returns {@link GetObjectLockConfigurationCommandOutput} + * @see {@link GetObjectLockConfigurationCommandInput} for command's `input` shape. + * @see {@link GetObjectLockConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class GetObjectLockConfigurationCommand extends GetObjectLockConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetObjectLockConfigurationRequest; + output: GetObjectLockConfigurationOutput; + }; + sdk: { + input: GetObjectLockConfigurationCommandInput; + output: GetObjectLockConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts new file mode 100644 index 0000000..2a4796e --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts @@ -0,0 +1,96 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetObjectRetentionOutput, GetObjectRetentionRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetObjectRetentionCommand}. + */ +export interface GetObjectRetentionCommandInput extends GetObjectRetentionRequest { +} +/** + * @public + * + * The output of {@link GetObjectRetentionCommand}. + */ +export interface GetObjectRetentionCommandOutput extends GetObjectRetentionOutput, __MetadataBearer { +} +declare const GetObjectRetentionCommand_base: { + new (input: GetObjectRetentionCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetObjectRetentionCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Retrieves an object's retention settings. For more information, see Locking Objects.

+ *

This functionality is not supported for Amazon S3 on Outposts.

+ *

The following action is related to GetObjectRetention:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetObjectRetentionCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetObjectRetentionCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetObjectRetentionRequest + * Bucket: "STRING_VALUE", // required + * Key: "STRING_VALUE", // required + * VersionId: "STRING_VALUE", + * RequestPayer: "requester", + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetObjectRetentionCommand(input); + * const response = await client.send(command); + * // { // GetObjectRetentionOutput + * // Retention: { // ObjectLockRetention + * // Mode: "GOVERNANCE" || "COMPLIANCE", + * // RetainUntilDate: new Date("TIMESTAMP"), + * // }, + * // }; + * + * ``` + * + * @param GetObjectRetentionCommandInput - {@link GetObjectRetentionCommandInput} + * @returns {@link GetObjectRetentionCommandOutput} + * @see {@link GetObjectRetentionCommandInput} for command's `input` shape. + * @see {@link GetObjectRetentionCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class GetObjectRetentionCommand extends GetObjectRetentionCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetObjectRetentionRequest; + output: GetObjectRetentionOutput; + }; + sdk: { + input: GetObjectRetentionCommandInput; + output: GetObjectRetentionCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts new file mode 100644 index 0000000..094690f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts @@ -0,0 +1,165 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetObjectTaggingOutput, GetObjectTaggingRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetObjectTaggingCommand}. + */ +export interface GetObjectTaggingCommandInput extends GetObjectTaggingRequest { +} +/** + * @public + * + * The output of {@link GetObjectTaggingCommand}. + */ +export interface GetObjectTaggingCommandOutput extends GetObjectTaggingOutput, __MetadataBearer { +} +declare const GetObjectTaggingCommand_base: { + new (input: GetObjectTaggingCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetObjectTaggingCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Returns the tag-set of an object. You send the GET request against the tagging subresource + * associated with the object.

+ *

To use this operation, you must have permission to perform the s3:GetObjectTagging + * action. By default, the GET action returns information about current version of an object. For a + * versioned bucket, you can have multiple versions of an object in your bucket. To retrieve tags of any + * other version, use the versionId query parameter. You also need permission for the + * s3:GetObjectVersionTagging action.

+ *

By default, the bucket owner has this permission and can grant this permission to others.

+ *

For information about the Amazon S3 object tagging feature, see Object Tagging.

+ *

The following actions are related to GetObjectTagging:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetObjectTaggingCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetObjectTaggingCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetObjectTaggingRequest + * Bucket: "STRING_VALUE", // required + * Key: "STRING_VALUE", // required + * VersionId: "STRING_VALUE", + * ExpectedBucketOwner: "STRING_VALUE", + * RequestPayer: "requester", + * }; + * const command = new GetObjectTaggingCommand(input); + * const response = await client.send(command); + * // { // GetObjectTaggingOutput + * // VersionId: "STRING_VALUE", + * // TagSet: [ // TagSet // required + * // { // Tag + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // ], + * // }; + * + * ``` + * + * @param GetObjectTaggingCommandInput - {@link GetObjectTaggingCommandInput} + * @returns {@link GetObjectTaggingCommandOutput} + * @see {@link GetObjectTaggingCommandInput} for command's `input` shape. + * @see {@link GetObjectTaggingCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To retrieve tag set of a specific object version + * ```javascript + * // The following example retrieves tag set of an object. The request specifies object version. + * const input = { + * Bucket: "examplebucket", + * Key: "exampleobject", + * VersionId: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI" + * }; + * const command = new GetObjectTaggingCommand(input); + * const response = await client.send(command); + * /* response is + * { + * TagSet: [ + * { + * Key: "Key1", + * Value: "Value1" + * } + * ], + * VersionId: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI" + * } + * *\/ + * ``` + * + * @example To retrieve tag set of an object + * ```javascript + * // The following example retrieves tag set of an object. + * const input = { + * Bucket: "examplebucket", + * Key: "HappyFace.jpg" + * }; + * const command = new GetObjectTaggingCommand(input); + * const response = await client.send(command); + * /* response is + * { + * TagSet: [ + * { + * Key: "Key4", + * Value: "Value4" + * }, + * { + * Key: "Key3", + * Value: "Value3" + * } + * ], + * VersionId: "null" + * } + * *\/ + * ``` + * + * @public + */ +export declare class GetObjectTaggingCommand extends GetObjectTaggingCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetObjectTaggingRequest; + output: GetObjectTaggingOutput; + }; + sdk: { + input: GetObjectTaggingCommandInput; + output: GetObjectTaggingCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts new file mode 100644 index 0000000..afcf169 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts @@ -0,0 +1,124 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types"; +import type { GetObjectTorrentOutput, GetObjectTorrentRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetObjectTorrentCommand}. + */ +export interface GetObjectTorrentCommandInput extends GetObjectTorrentRequest { +} +/** + * @public + * + * The output of {@link GetObjectTorrentCommand}. + */ +export interface GetObjectTorrentCommandOutput extends Omit, __MetadataBearer { + Body?: StreamingBlobPayloadOutputTypes; +} +declare const GetObjectTorrentCommand_base: { + new (input: GetObjectTorrentCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetObjectTorrentCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Returns torrent files from a bucket. BitTorrent can save you bandwidth when you're distributing + * large files.

+ * + *

You can get torrent only for objects that are less than 5 GB in size, and that are not encrypted + * using server-side encryption with a customer-provided encryption key.

+ *
+ *

To use GET, you must have READ access to the object.

+ *

This functionality is not supported for Amazon S3 on Outposts.

+ *

The following action is related to GetObjectTorrent:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetObjectTorrentCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetObjectTorrentCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetObjectTorrentRequest + * Bucket: "STRING_VALUE", // required + * Key: "STRING_VALUE", // required + * RequestPayer: "requester", + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetObjectTorrentCommand(input); + * const response = await client.send(command); + * // consume or destroy the stream to free the socket. + * const bytes = await response.Body.transformToByteArray(); + * // const str = await response.Body.transformToString(); + * // response.Body.destroy(); // only applicable to Node.js Readable streams. + * + * // { // GetObjectTorrentOutput + * // Body: "", // see \@smithy/types -> StreamingBlobPayloadOutputTypes + * // RequestCharged: "requester", + * // }; + * + * ``` + * + * @param GetObjectTorrentCommandInput - {@link GetObjectTorrentCommandInput} + * @returns {@link GetObjectTorrentCommandOutput} + * @see {@link GetObjectTorrentCommandInput} for command's `input` shape. + * @see {@link GetObjectTorrentCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To retrieve torrent files for an object + * ```javascript + * // The following example retrieves torrent files of an object. + * const input = { + * Bucket: "examplebucket", + * Key: "HappyFace.jpg" + * }; + * const command = new GetObjectTorrentCommand(input); + * const response = await client.send(command); + * // consume or destroy the stream to free the socket. + * const bytes = await response.Body.transformToByteArray(); + * // const str = await response.Body.transformToString(); + * // response.Body.destroy(); // only applicable to Node.js Readable streams. + * + * /* response is + * { /* empty *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class GetObjectTorrentCommand extends GetObjectTorrentCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetObjectTorrentRequest; + output: GetObjectTorrentOutput; + }; + sdk: { + input: GetObjectTorrentCommandInput; + output: GetObjectTorrentCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts new file mode 100644 index 0000000..180ddde --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts @@ -0,0 +1,125 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetPublicAccessBlockOutput, GetPublicAccessBlockRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetPublicAccessBlockCommand}. + */ +export interface GetPublicAccessBlockCommandInput extends GetPublicAccessBlockRequest { +} +/** + * @public + * + * The output of {@link GetPublicAccessBlockCommand}. + */ +export interface GetPublicAccessBlockCommandOutput extends GetPublicAccessBlockOutput, __MetadataBearer { +} +declare const GetPublicAccessBlockCommand_base: { + new (input: GetPublicAccessBlockCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetPublicAccessBlockCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Retrieves the PublicAccessBlock configuration for an Amazon S3 bucket. This + * operation returns the bucket-level configuration only. To understand the effective public + * access behavior, you must also consider account-level settings (which may inherit from + * organization-level policies). To use this operation, you must have the + * s3:GetBucketPublicAccessBlock permission. For more information about Amazon S3 + * permissions, see Specifying Permissions in a + * Policy.

+ * + *

When Amazon S3 evaluates the PublicAccessBlock configuration for a bucket or an + * object, it checks the PublicAccessBlock configuration for both the bucket (or + * the bucket that contains the object) and the bucket owner's account. Account-level settings + * automatically inherit from organization-level policies when present. If the + * PublicAccessBlock settings are different between the bucket and the account, + * Amazon S3 uses the most restrictive combination of the bucket-level and account-level + * settings.

+ *
+ *

For more information about when Amazon S3 considers a bucket or an object public, see The Meaning of "Public".

+ *

The following operations are related to GetPublicAccessBlock:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, GetPublicAccessBlockCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, GetPublicAccessBlockCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // GetPublicAccessBlockRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new GetPublicAccessBlockCommand(input); + * const response = await client.send(command); + * // { // GetPublicAccessBlockOutput + * // PublicAccessBlockConfiguration: { // PublicAccessBlockConfiguration + * // BlockPublicAcls: true || false, + * // IgnorePublicAcls: true || false, + * // BlockPublicPolicy: true || false, + * // RestrictPublicBuckets: true || false, + * // }, + * // }; + * + * ``` + * + * @param GetPublicAccessBlockCommandInput - {@link GetPublicAccessBlockCommandInput} + * @returns {@link GetPublicAccessBlockCommandOutput} + * @see {@link GetPublicAccessBlockCommandInput} for command's `input` shape. + * @see {@link GetPublicAccessBlockCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class GetPublicAccessBlockCommand extends GetPublicAccessBlockCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetPublicAccessBlockRequest; + output: GetPublicAccessBlockOutput; + }; + sdk: { + input: GetPublicAccessBlockCommandInput; + output: GetPublicAccessBlockCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts new file mode 100644 index 0000000..d8e8a1d --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts @@ -0,0 +1,168 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { HeadBucketOutput, HeadBucketRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link HeadBucketCommand}. + */ +export interface HeadBucketCommandInput extends HeadBucketRequest { +} +/** + * @public + * + * The output of {@link HeadBucketCommand}. + */ +export interface HeadBucketCommandOutput extends HeadBucketOutput, __MetadataBearer { +} +declare const HeadBucketCommand_base: { + new (input: HeadBucketCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: HeadBucketCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

You can use this operation to determine if a bucket exists and if you have permission to access it. + * The action returns a 200 OK HTTP status code if the bucket exists and you have + * permission to access it. You can make a HeadBucket call on any bucket name to any + * Region in the partition, and regardless of the permissions on the bucket, you will receive a + * response header with the correct bucket location so that you can then make a proper, signed request + * to the appropriate Regional endpoint.

+ * + *

If the bucket doesn't exist or you don't have permission to access it, the HEAD + * request returns a generic 400 Bad Request, 403 Forbidden, or + * 404 Not Found HTTP status code. A message body isn't included, so you can't determine + * the exception beyond these HTTP response codes.

+ *
+ *
+ *
Authentication and authorization
+ *
+ *

+ * General purpose buckets - Request to public buckets that + * grant the s3:ListBucket permission publicly do not need to be signed. All other + * HeadBucket requests must be authenticated and signed by using IAM credentials + * (access key ID and secret access key for the IAM identities). All headers with the + * x-amz- prefix, including x-amz-copy-source, must be signed. For more + * information, see REST Authentication.

+ *

+ * Directory buckets - You must use IAM credentials to + * authenticate and authorize your access to the HeadBucket API operation, instead of + * using the temporary security credentials through the CreateSession API + * operation.

+ *

Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.

+ *
+ *
Permissions
+ *
+ *

+ *
    + *
  • + *

    + * General purpose bucket permissions - To use this + * operation, you must have permissions to perform the s3:ListBucket action. The + * bucket owner has this permission by default and can grant this permission to others. For more + * information about permissions, see Managing access permissions to your + * Amazon S3 resources in the Amazon S3 User Guide.

    + *
  • + *
  • + *

    + * Directory bucket permissions - You must have the + * + * s3express:CreateSession + * permission in the + * Action element of a policy. If no session mode is specified, the session will be + * created with the maximum allowable privilege, attempting ReadWrite first, + * then ReadOnly if ReadWrite is not permitted. If you want to explicitly + * restrict the access to be read-only, you can set the s3express:SessionMode condition key to + * ReadOnly on the bucket.

    + *

    For more information about example bucket policies, see Example + * bucket policies for S3 Express One Zone and Amazon Web Services + * Identity and Access Management (IAM) identity-based policies for S3 Express One Zone in the + * Amazon S3 User Guide.

    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * Bucket-name.s3express-zone-id.region-code.amazonaws.com.

+ * + *

You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

+ *
+ *
+ *
+ * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, HeadBucketCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, HeadBucketCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // HeadBucketRequest + * Bucket: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new HeadBucketCommand(input); + * const response = await client.send(command); + * // { // HeadBucketOutput + * // BucketArn: "STRING_VALUE", + * // BucketLocationType: "AvailabilityZone" || "LocalZone", + * // BucketLocationName: "STRING_VALUE", + * // BucketRegion: "STRING_VALUE", + * // AccessPointAlias: true || false, + * // }; + * + * ``` + * + * @param HeadBucketCommandInput - {@link HeadBucketCommandInput} + * @returns {@link HeadBucketCommandOutput} + * @see {@link HeadBucketCommandInput} for command's `input` shape. + * @see {@link HeadBucketCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link NotFound} (client fault) + *

The specified content does not exist.

+ * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To determine if bucket exists + * ```javascript + * // This operation checks to see if a bucket exists. + * const input = { + * Bucket: "acl1" + * }; + * const command = new HeadBucketCommand(input); + * const response = await client.send(command); + * /* response is + * { /* metadata only *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class HeadBucketCommand extends HeadBucketCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: HeadBucketRequest; + output: HeadBucketOutput; + }; + sdk: { + input: HeadBucketCommandInput; + output: HeadBucketCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts new file mode 100644 index 0000000..0b4c935 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts @@ -0,0 +1,312 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { HeadObjectOutput, HeadObjectRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link HeadObjectCommand}. + */ +export interface HeadObjectCommandInput extends HeadObjectRequest { +} +/** + * @public + * + * The output of {@link HeadObjectCommand}. + */ +export interface HeadObjectCommandOutput extends HeadObjectOutput, __MetadataBearer { +} +declare const HeadObjectCommand_base: { + new (input: HeadObjectCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: HeadObjectCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

The HEAD operation retrieves metadata from an object without returning the object + * itself. This operation is useful if you're interested only in an object's metadata.

+ * + *

A HEAD request has the same options as a GET operation on an object. The + * response is identical to the GET response except that there is no response body. Because + * of this, if the HEAD request generates an error, it returns a generic code, such as + * 400 Bad Request, 403 Forbidden, 404 Not Found, 405 + * Method Not Allowed, 412 Precondition Failed, or 304 Not Modified. + * It's not possible to retrieve the exact exception of these error codes.

+ *
+ *

Request headers are limited to 8 KB in size. For more information, see Common Request Headers.

+ *
+ *
Permissions
+ *
+ *

+ *
    + *
  • + *

    + * General purpose bucket permissions - To use + * HEAD, you must have the s3:GetObject permission. You need the + * relevant read object (or version) permission for this operation. For more information, see + * Actions, resources, + * and condition keys for Amazon S3 in the Amazon S3 User Guide. For more + * information about the permissions to S3 API operations by S3 resource types, see Required permissions for + * Amazon S3 API operations in the Amazon S3 User Guide.

    + *

    If the object you request doesn't exist, the error that Amazon S3 returns depends on whether + * you also have the s3:ListBucket permission.

    + *
      + *
    • + *

      If you have the s3:ListBucket permission on the bucket, Amazon S3 returns an + * HTTP status code 404 Not Found error.

      + *
    • + *
    • + *

      If you don’t have the s3:ListBucket permission, Amazon S3 returns an HTTP + * status code 403 Forbidden error.

      + *
    • + *
    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the + * CreateSession + * API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. + * Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see + * CreateSession + * .

    + *

    If you enable x-amz-checksum-mode in the request and the object is encrypted + * with Amazon Web Services Key Management Service (Amazon Web Services KMS), you must also have the + * kms:GenerateDataKey and kms:Decrypt permissions in IAM + * identity-based policies and KMS key policies for the KMS key to retrieve the checksum of + * the object.

    + *
  • + *
+ *
+ *
Encryption
+ *
+ * + *

Encryption request headers, like x-amz-server-side-encryption, should not be + * sent for HEAD requests if your object uses server-side encryption with Key Management Service + * (KMS) keys (SSE-KMS), dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), or + * server-side encryption with Amazon S3 managed encryption keys (SSE-S3). The + * x-amz-server-side-encryption header is used when you PUT an object + * to S3 and want to specify the encryption method. If you include this header in a + * HEAD request for an object that uses these types of keys, you’ll get an HTTP + * 400 Bad Request error. It's because the encryption method can't be changed when + * you retrieve the object.

+ *
+ *

If you encrypt an object by using server-side encryption with customer-provided encryption + * keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the metadata from the + * object, you must use the following headers to provide the encryption key for the server to be able + * to retrieve the object's metadata. The headers are:

+ *
    + *
  • + *

    + * x-amz-server-side-encryption-customer-algorithm + *

    + *
  • + *
  • + *

    + * x-amz-server-side-encryption-customer-key + *

    + *
  • + *
  • + *

    + * x-amz-server-side-encryption-customer-key-MD5 + *

    + *
  • + *
+ *

For more information about SSE-C, see Server-Side Encryption (Using + * Customer-Provided Encryption Keys) in the Amazon S3 User Guide.

+ * + *

+ * Directory bucket - + * For directory buckets, there are only two supported options for server-side encryption: SSE-S3 and SSE-KMS. SSE-C isn't supported. For more + * information, see Protecting data with server-side encryption in the Amazon S3 User Guide.

+ *
+ *
+ *
Versioning
+ *
+ *
    + *
  • + *

    If the current version of the object is a delete marker, Amazon S3 behaves as if the object was + * deleted and includes x-amz-delete-marker: true in the response.

    + *
  • + *
  • + *

    If the specified version is a delete marker, the response returns a 405 Method Not + * Allowed error and the Last-Modified: timestamp response header.

    + *
  • + *
+ * + *
    + *
  • + *

    + * Directory buckets - + * Delete marker is not supported for directory buckets.

    + *
  • + *
  • + *

    + * Directory buckets - + * S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null value of the version ID is supported by directory buckets. You can only specify null to the + * versionId query parameter in the request.

    + *
  • + *
+ *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * Bucket-name.s3express-zone-id.region-code.amazonaws.com.

+ * + *

For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name + * . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

+ *
+ *
+ *
+ *

The following actions are related to HeadObject:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, HeadObjectCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, HeadObjectCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // HeadObjectRequest + * Bucket: "STRING_VALUE", // required + * IfMatch: "STRING_VALUE", + * IfModifiedSince: new Date("TIMESTAMP"), + * IfNoneMatch: "STRING_VALUE", + * IfUnmodifiedSince: new Date("TIMESTAMP"), + * Key: "STRING_VALUE", // required + * Range: "STRING_VALUE", + * ResponseCacheControl: "STRING_VALUE", + * ResponseContentDisposition: "STRING_VALUE", + * ResponseContentEncoding: "STRING_VALUE", + * ResponseContentLanguage: "STRING_VALUE", + * ResponseContentType: "STRING_VALUE", + * ResponseExpires: new Date("TIMESTAMP"), + * VersionId: "STRING_VALUE", + * SSECustomerAlgorithm: "STRING_VALUE", + * SSECustomerKey: "STRING_VALUE", + * SSECustomerKeyMD5: "STRING_VALUE", + * RequestPayer: "requester", + * PartNumber: Number("int"), + * ExpectedBucketOwner: "STRING_VALUE", + * ChecksumMode: "ENABLED", + * }; + * const command = new HeadObjectCommand(input); + * const response = await client.send(command); + * // { // HeadObjectOutput + * // DeleteMarker: true || false, + * // AcceptRanges: "STRING_VALUE", + * // Expiration: "STRING_VALUE", + * // Restore: "STRING_VALUE", + * // ArchiveStatus: "ARCHIVE_ACCESS" || "DEEP_ARCHIVE_ACCESS", + * // LastModified: new Date("TIMESTAMP"), + * // ContentLength: Number("long"), + * // ChecksumCRC32: "STRING_VALUE", + * // ChecksumCRC32C: "STRING_VALUE", + * // ChecksumCRC64NVME: "STRING_VALUE", + * // ChecksumSHA1: "STRING_VALUE", + * // ChecksumSHA256: "STRING_VALUE", + * // ChecksumType: "COMPOSITE" || "FULL_OBJECT", + * // ETag: "STRING_VALUE", + * // MissingMeta: Number("int"), + * // VersionId: "STRING_VALUE", + * // CacheControl: "STRING_VALUE", + * // ContentDisposition: "STRING_VALUE", + * // ContentEncoding: "STRING_VALUE", + * // ContentLanguage: "STRING_VALUE", + * // ContentType: "STRING_VALUE", + * // ContentRange: "STRING_VALUE", + * // Expires: new Date("TIMESTAMP"), + * // ExpiresString: "STRING_VALUE", + * // WebsiteRedirectLocation: "STRING_VALUE", + * // ServerSideEncryption: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse", + * // Metadata: { // Metadata + * // "": "STRING_VALUE", + * // }, + * // SSECustomerAlgorithm: "STRING_VALUE", + * // SSECustomerKeyMD5: "STRING_VALUE", + * // SSEKMSKeyId: "STRING_VALUE", + * // BucketKeyEnabled: true || false, + * // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE" || "FSX_OPENZFS" || "FSX_ONTAP", + * // RequestCharged: "requester", + * // ReplicationStatus: "COMPLETE" || "PENDING" || "FAILED" || "REPLICA" || "COMPLETED", + * // PartsCount: Number("int"), + * // TagCount: Number("int"), + * // ObjectLockMode: "GOVERNANCE" || "COMPLIANCE", + * // ObjectLockRetainUntilDate: new Date("TIMESTAMP"), + * // ObjectLockLegalHoldStatus: "ON" || "OFF", + * // }; + * + * ``` + * + * @param HeadObjectCommandInput - {@link HeadObjectCommandInput} + * @returns {@link HeadObjectCommandOutput} + * @see {@link HeadObjectCommandInput} for command's `input` shape. + * @see {@link HeadObjectCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link NotFound} (client fault) + *

The specified content does not exist.

+ * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To retrieve metadata of an object without returning the object itself + * ```javascript + * // The following example retrieves an object metadata. + * const input = { + * Bucket: "examplebucket", + * Key: "HappyFace.jpg" + * }; + * const command = new HeadObjectCommand(input); + * const response = await client.send(command); + * /* response is + * { + * AcceptRanges: "bytes", + * ContentLength: 3191, + * ContentType: "image/jpeg", + * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`, + * LastModified: "2016-12-15T01:19:41.000Z", + * Metadata: { /* empty *\/ }, + * VersionId: "null" + * } + * *\/ + * ``` + * + * @public + */ +export declare class HeadObjectCommand extends HeadObjectCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: HeadObjectRequest; + output: HeadObjectOutput; + }; + sdk: { + input: HeadObjectCommandInput; + output: HeadObjectCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts new file mode 100644 index 0000000..ed5eadf --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts @@ -0,0 +1,150 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { ListBucketAnalyticsConfigurationsOutput, ListBucketAnalyticsConfigurationsRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link ListBucketAnalyticsConfigurationsCommand}. + */ +export interface ListBucketAnalyticsConfigurationsCommandInput extends ListBucketAnalyticsConfigurationsRequest { +} +/** + * @public + * + * The output of {@link ListBucketAnalyticsConfigurationsCommand}. + */ +export interface ListBucketAnalyticsConfigurationsCommandOutput extends ListBucketAnalyticsConfigurationsOutput, __MetadataBearer { +} +declare const ListBucketAnalyticsConfigurationsCommand_base: { + new (input: ListBucketAnalyticsConfigurationsCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: ListBucketAnalyticsConfigurationsCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Lists the analytics configurations for the bucket. You can have up to 1,000 analytics configurations + * per bucket.

+ *

This action supports list pagination and does not return more than 100 configurations at a time. You + * should always check the IsTruncated element in the response. If there are no more + * configurations to list, IsTruncated is set to false. If there are more configurations to + * list, IsTruncated is set to true, and there will be a value in + * NextContinuationToken. You use the NextContinuationToken value to continue + * the pagination of the list by passing the value in continuation-token in the request to GET + * the next page.

+ *

To use this operation, you must have permissions to perform the + * s3:GetAnalyticsConfiguration action. The bucket owner has this permission by default. The + * bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

+ *

For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class + * Analysis.

+ *

The following operations are related to ListBucketAnalyticsConfigurations:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, ListBucketAnalyticsConfigurationsCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, ListBucketAnalyticsConfigurationsCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // ListBucketAnalyticsConfigurationsRequest + * Bucket: "STRING_VALUE", // required + * ContinuationToken: "STRING_VALUE", + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new ListBucketAnalyticsConfigurationsCommand(input); + * const response = await client.send(command); + * // { // ListBucketAnalyticsConfigurationsOutput + * // IsTruncated: true || false, + * // ContinuationToken: "STRING_VALUE", + * // NextContinuationToken: "STRING_VALUE", + * // AnalyticsConfigurationList: [ // AnalyticsConfigurationList + * // { // AnalyticsConfiguration + * // Id: "STRING_VALUE", // required + * // Filter: { // AnalyticsFilter Union: only one key present + * // Prefix: "STRING_VALUE", + * // Tag: { // Tag + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // And: { // AnalyticsAndOperator + * // Prefix: "STRING_VALUE", + * // Tags: [ // TagSet + * // { + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // }, + * // StorageClassAnalysis: { // StorageClassAnalysis + * // DataExport: { // StorageClassAnalysisDataExport + * // OutputSchemaVersion: "V_1", // required + * // Destination: { // AnalyticsExportDestination + * // S3BucketDestination: { // AnalyticsS3BucketDestination + * // Format: "CSV", // required + * // BucketAccountId: "STRING_VALUE", + * // Bucket: "STRING_VALUE", // required + * // Prefix: "STRING_VALUE", + * // }, + * // }, + * // }, + * // }, + * // }, + * // ], + * // }; + * + * ``` + * + * @param ListBucketAnalyticsConfigurationsCommandInput - {@link ListBucketAnalyticsConfigurationsCommandInput} + * @returns {@link ListBucketAnalyticsConfigurationsCommandOutput} + * @see {@link ListBucketAnalyticsConfigurationsCommandInput} for command's `input` shape. + * @see {@link ListBucketAnalyticsConfigurationsCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class ListBucketAnalyticsConfigurationsCommand extends ListBucketAnalyticsConfigurationsCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: ListBucketAnalyticsConfigurationsRequest; + output: ListBucketAnalyticsConfigurationsOutput; + }; + sdk: { + input: ListBucketAnalyticsConfigurationsCommandInput; + output: ListBucketAnalyticsConfigurationsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts new file mode 100644 index 0000000..9427357 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts @@ -0,0 +1,133 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { ListBucketIntelligentTieringConfigurationsOutput, ListBucketIntelligentTieringConfigurationsRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link ListBucketIntelligentTieringConfigurationsCommand}. + */ +export interface ListBucketIntelligentTieringConfigurationsCommandInput extends ListBucketIntelligentTieringConfigurationsRequest { +} +/** + * @public + * + * The output of {@link ListBucketIntelligentTieringConfigurationsCommand}. + */ +export interface ListBucketIntelligentTieringConfigurationsCommandOutput extends ListBucketIntelligentTieringConfigurationsOutput, __MetadataBearer { +} +declare const ListBucketIntelligentTieringConfigurationsCommand_base: { + new (input: ListBucketIntelligentTieringConfigurationsCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: ListBucketIntelligentTieringConfigurationsCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Lists the S3 Intelligent-Tiering configuration from the specified bucket.

+ *

The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.

+ *

The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.

+ *

For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.

+ *

Operations related to ListBucketIntelligentTieringConfigurations include:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, ListBucketIntelligentTieringConfigurationsCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, ListBucketIntelligentTieringConfigurationsCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // ListBucketIntelligentTieringConfigurationsRequest + * Bucket: "STRING_VALUE", // required + * ContinuationToken: "STRING_VALUE", + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new ListBucketIntelligentTieringConfigurationsCommand(input); + * const response = await client.send(command); + * // { // ListBucketIntelligentTieringConfigurationsOutput + * // IsTruncated: true || false, + * // ContinuationToken: "STRING_VALUE", + * // NextContinuationToken: "STRING_VALUE", + * // IntelligentTieringConfigurationList: [ // IntelligentTieringConfigurationList + * // { // IntelligentTieringConfiguration + * // Id: "STRING_VALUE", // required + * // Filter: { // IntelligentTieringFilter + * // Prefix: "STRING_VALUE", + * // Tag: { // Tag + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // And: { // IntelligentTieringAndOperator + * // Prefix: "STRING_VALUE", + * // Tags: [ // TagSet + * // { + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // }, + * // Status: "Enabled" || "Disabled", // required + * // Tierings: [ // TieringList // required + * // { // Tiering + * // Days: Number("int"), // required + * // AccessTier: "ARCHIVE_ACCESS" || "DEEP_ARCHIVE_ACCESS", // required + * // }, + * // ], + * // }, + * // ], + * // }; + * + * ``` + * + * @param ListBucketIntelligentTieringConfigurationsCommandInput - {@link ListBucketIntelligentTieringConfigurationsCommandInput} + * @returns {@link ListBucketIntelligentTieringConfigurationsCommandOutput} + * @see {@link ListBucketIntelligentTieringConfigurationsCommandInput} for command's `input` shape. + * @see {@link ListBucketIntelligentTieringConfigurationsCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class ListBucketIntelligentTieringConfigurationsCommand extends ListBucketIntelligentTieringConfigurationsCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: ListBucketIntelligentTieringConfigurationsRequest; + output: ListBucketIntelligentTieringConfigurationsOutput; + }; + sdk: { + input: ListBucketIntelligentTieringConfigurationsCommandInput; + output: ListBucketIntelligentTieringConfigurationsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts new file mode 100644 index 0000000..b93d83b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts @@ -0,0 +1,145 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { ListBucketInventoryConfigurationsOutput, ListBucketInventoryConfigurationsRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link ListBucketInventoryConfigurationsCommand}. + */ +export interface ListBucketInventoryConfigurationsCommandInput extends ListBucketInventoryConfigurationsRequest { +} +/** + * @public + * + * The output of {@link ListBucketInventoryConfigurationsCommand}. + */ +export interface ListBucketInventoryConfigurationsCommandOutput extends ListBucketInventoryConfigurationsOutput, __MetadataBearer { +} +declare const ListBucketInventoryConfigurationsCommand_base: { + new (input: ListBucketInventoryConfigurationsCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: ListBucketInventoryConfigurationsCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Returns a list of S3 Inventory configurations for the bucket. You can have up to 1,000 inventory + * configurations per bucket.

+ *

This action supports list pagination and does not return more than 100 configurations at a time. + * Always check the IsTruncated element in the response. If there are no more configurations + * to list, IsTruncated is set to false. If there are more configurations to list, + * IsTruncated is set to true, and there is a value in NextContinuationToken. + * You use the NextContinuationToken value to continue the pagination of the list by passing + * the value in continuation-token in the request to GET the next page.

+ *

To use this operation, you must have permissions to perform the + * s3:GetInventoryConfiguration action. The bucket owner has this permission by default. The + * bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

+ *

For information about the Amazon S3 inventory feature, see Amazon S3 Inventory + *

+ *

The following operations are related to ListBucketInventoryConfigurations:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, ListBucketInventoryConfigurationsCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, ListBucketInventoryConfigurationsCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // ListBucketInventoryConfigurationsRequest + * Bucket: "STRING_VALUE", // required + * ContinuationToken: "STRING_VALUE", + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new ListBucketInventoryConfigurationsCommand(input); + * const response = await client.send(command); + * // { // ListBucketInventoryConfigurationsOutput + * // ContinuationToken: "STRING_VALUE", + * // InventoryConfigurationList: [ // InventoryConfigurationList + * // { // InventoryConfiguration + * // Destination: { // InventoryDestination + * // S3BucketDestination: { // InventoryS3BucketDestination + * // AccountId: "STRING_VALUE", + * // Bucket: "STRING_VALUE", // required + * // Format: "CSV" || "ORC" || "Parquet", // required + * // Prefix: "STRING_VALUE", + * // Encryption: { // InventoryEncryption + * // SSES3: {}, + * // SSEKMS: { // SSEKMS + * // KeyId: "STRING_VALUE", // required + * // }, + * // }, + * // }, + * // }, + * // IsEnabled: true || false, // required + * // Filter: { // InventoryFilter + * // Prefix: "STRING_VALUE", // required + * // }, + * // Id: "STRING_VALUE", // required + * // IncludedObjectVersions: "All" || "Current", // required + * // OptionalFields: [ // InventoryOptionalFields + * // "Size" || "LastModifiedDate" || "StorageClass" || "ETag" || "IsMultipartUploaded" || "ReplicationStatus" || "EncryptionStatus" || "ObjectLockRetainUntilDate" || "ObjectLockMode" || "ObjectLockLegalHoldStatus" || "IntelligentTieringAccessTier" || "BucketKeyStatus" || "ChecksumAlgorithm" || "ObjectAccessControlList" || "ObjectOwner" || "LifecycleExpirationDate", + * // ], + * // Schedule: { // InventorySchedule + * // Frequency: "Daily" || "Weekly", // required + * // }, + * // }, + * // ], + * // IsTruncated: true || false, + * // NextContinuationToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListBucketInventoryConfigurationsCommandInput - {@link ListBucketInventoryConfigurationsCommandInput} + * @returns {@link ListBucketInventoryConfigurationsCommandOutput} + * @see {@link ListBucketInventoryConfigurationsCommandInput} for command's `input` shape. + * @see {@link ListBucketInventoryConfigurationsCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class ListBucketInventoryConfigurationsCommand extends ListBucketInventoryConfigurationsCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: ListBucketInventoryConfigurationsRequest; + output: ListBucketInventoryConfigurationsOutput; + }; + sdk: { + input: ListBucketInventoryConfigurationsCommandInput; + output: ListBucketInventoryConfigurationsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts new file mode 100644 index 0000000..9f517ac --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts @@ -0,0 +1,170 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { ListBucketMetricsConfigurationsOutput, ListBucketMetricsConfigurationsRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link ListBucketMetricsConfigurationsCommand}. + */ +export interface ListBucketMetricsConfigurationsCommandInput extends ListBucketMetricsConfigurationsRequest { +} +/** + * @public + * + * The output of {@link ListBucketMetricsConfigurationsCommand}. + */ +export interface ListBucketMetricsConfigurationsCommandOutput extends ListBucketMetricsConfigurationsOutput, __MetadataBearer { +} +declare const ListBucketMetricsConfigurationsCommand_base: { + new (input: ListBucketMetricsConfigurationsCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: ListBucketMetricsConfigurationsCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Lists the metrics configurations for the bucket. The metrics configurations are only for the request + * metrics of the bucket and do not provide information on daily storage metrics. You can have up to 1,000 + * configurations per bucket.

+ * + *

+ * Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. + * For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

+ *
+ *

This action supports list pagination and does not return more than 100 configurations at a time. + * Always check the IsTruncated element in the response. If there are no more configurations + * to list, IsTruncated is set to false. If there are more configurations to list, + * IsTruncated is set to true, and there is a value in NextContinuationToken. + * You use the NextContinuationToken value to continue the pagination of the list by passing + * the value in continuation-token in the request to GET the next page.

+ *
+ *
Permissions
+ *
+ *

To use this operation, you must have permissions to perform the + * s3:GetMetricsConfiguration action. The bucket owner has this permission by default. The + * bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

+ *
    + *
  • + *

    + * General purpose bucket permissions - The + * s3:GetMetricsConfiguration permission is required in a policy. For more information + * about general purpose buckets permissions, see Using Bucket Policies and User + * Policies in the Amazon S3 User Guide.

    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to + * this API operation, you must have the s3express:GetMetricsConfiguration permission in + * an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. + * For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

+ *
+ *
+ *

For more information about metrics configurations and CloudWatch request metrics, see Monitoring Metrics with + * Amazon CloudWatch.

+ *

The following operations are related to ListBucketMetricsConfigurations:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, ListBucketMetricsConfigurationsCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, ListBucketMetricsConfigurationsCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // ListBucketMetricsConfigurationsRequest + * Bucket: "STRING_VALUE", // required + * ContinuationToken: "STRING_VALUE", + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new ListBucketMetricsConfigurationsCommand(input); + * const response = await client.send(command); + * // { // ListBucketMetricsConfigurationsOutput + * // IsTruncated: true || false, + * // ContinuationToken: "STRING_VALUE", + * // NextContinuationToken: "STRING_VALUE", + * // MetricsConfigurationList: [ // MetricsConfigurationList + * // { // MetricsConfiguration + * // Id: "STRING_VALUE", // required + * // Filter: { // MetricsFilter Union: only one key present + * // Prefix: "STRING_VALUE", + * // Tag: { // Tag + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // AccessPointArn: "STRING_VALUE", + * // And: { // MetricsAndOperator + * // Prefix: "STRING_VALUE", + * // Tags: [ // TagSet + * // { + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // ], + * // AccessPointArn: "STRING_VALUE", + * // }, + * // }, + * // }, + * // ], + * // }; + * + * ``` + * + * @param ListBucketMetricsConfigurationsCommandInput - {@link ListBucketMetricsConfigurationsCommandInput} + * @returns {@link ListBucketMetricsConfigurationsCommandOutput} + * @see {@link ListBucketMetricsConfigurationsCommandInput} for command's `input` shape. + * @see {@link ListBucketMetricsConfigurationsCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class ListBucketMetricsConfigurationsCommand extends ListBucketMetricsConfigurationsCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: ListBucketMetricsConfigurationsRequest; + output: ListBucketMetricsConfigurationsOutput; + }; + sdk: { + input: ListBucketMetricsConfigurationsCommandInput; + output: ListBucketMetricsConfigurationsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts new file mode 100644 index 0000000..48f6f11 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts @@ -0,0 +1,137 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { ListBucketsOutput, ListBucketsRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link ListBucketsCommand}. + */ +export interface ListBucketsCommandInput extends ListBucketsRequest { +} +/** + * @public + * + * The output of {@link ListBucketsCommand}. + */ +export interface ListBucketsCommandOutput extends ListBucketsOutput, __MetadataBearer { +} +declare const ListBucketsCommand_base: { + new (input: ListBucketsCommandInput): import("@smithy/smithy-client").CommandImpl; + new (...[input]: [] | [ListBucketsCommandInput]): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Returns a list of all buckets owned by the authenticated sender of the request. To grant IAM + * permission to use this operation, you must add the s3:ListAllMyBuckets policy action.

+ *

For information about Amazon S3 buckets, see Creating, configuring, and working with Amazon S3 + * buckets.

+ * + *

We strongly recommend using only paginated ListBuckets requests. Unpaginated + * ListBuckets requests are only supported for Amazon Web Services accounts set to the default general + * purpose bucket quota of 10,000. If you have an approved general purpose bucket quota above 10,000, you + * must send paginated ListBuckets requests to list your account’s buckets. All unpaginated + * ListBuckets requests will be rejected for Amazon Web Services accounts with a general purpose bucket + * quota greater than 10,000.

+ *
+ * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, ListBucketsCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, ListBucketsCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // ListBucketsRequest + * MaxBuckets: Number("int"), + * ContinuationToken: "STRING_VALUE", + * Prefix: "STRING_VALUE", + * BucketRegion: "STRING_VALUE", + * }; + * const command = new ListBucketsCommand(input); + * const response = await client.send(command); + * // { // ListBucketsOutput + * // Buckets: [ // Buckets + * // { // Bucket + * // Name: "STRING_VALUE", + * // CreationDate: new Date("TIMESTAMP"), + * // BucketRegion: "STRING_VALUE", + * // BucketArn: "STRING_VALUE", + * // }, + * // ], + * // Owner: { // Owner + * // DisplayName: "STRING_VALUE", + * // ID: "STRING_VALUE", + * // }, + * // ContinuationToken: "STRING_VALUE", + * // Prefix: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListBucketsCommandInput - {@link ListBucketsCommandInput} + * @returns {@link ListBucketsCommandOutput} + * @see {@link ListBucketsCommandInput} for command's `input` shape. + * @see {@link ListBucketsCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To list all buckets + * ```javascript + * // The following example returns all the buckets owned by the sender of this request. + * const input = { /* empty *\/ }; + * const command = new ListBucketsCommand(input); + * const response = await client.send(command); + * /* response is + * { + * Buckets: [ + * { + * CreationDate: "2012-02-15T21:03:02.000Z", + * Name: "examplebucket" + * }, + * { + * CreationDate: "2011-07-24T19:33:50.000Z", + * Name: "examplebucket2" + * }, + * { + * CreationDate: "2010-12-17T00:56:49.000Z", + * Name: "examplebucket3" + * } + * ], + * Owner: { + * DisplayName: "own-display-name", + * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31" + * } + * } + * *\/ + * ``` + * + * @public + */ +export declare class ListBucketsCommand extends ListBucketsCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: ListBucketsRequest; + output: ListBucketsOutput; + }; + sdk: { + input: ListBucketsCommandInput; + output: ListBucketsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts new file mode 100644 index 0000000..c9baa0f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts @@ -0,0 +1,114 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { ListDirectoryBucketsOutput, ListDirectoryBucketsRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link ListDirectoryBucketsCommand}. + */ +export interface ListDirectoryBucketsCommandInput extends ListDirectoryBucketsRequest { +} +/** + * @public + * + * The output of {@link ListDirectoryBucketsCommand}. + */ +export interface ListDirectoryBucketsCommandOutput extends ListDirectoryBucketsOutput, __MetadataBearer { +} +declare const ListDirectoryBucketsCommand_base: { + new (input: ListDirectoryBucketsCommandInput): import("@smithy/smithy-client").CommandImpl; + new (...[input]: [] | [ListDirectoryBucketsCommandInput]): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Returns a list of all Amazon S3 directory buckets owned by the authenticated sender of the request. For + * more information about directory buckets, see Directory buckets in the + * Amazon S3 User Guide.

+ * + *

+ * Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. + * For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

+ *
+ *
+ *
Permissions
+ *
+ *

You must have the s3express:ListAllMyDirectoryBuckets permission in + * an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. + * For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * s3express-control.region.amazonaws.com.

+ *
+ *
+ * + *

The BucketRegion response element is not part of the + * ListDirectoryBuckets Response Syntax.

+ *
+ * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, ListDirectoryBucketsCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, ListDirectoryBucketsCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // ListDirectoryBucketsRequest + * ContinuationToken: "STRING_VALUE", + * MaxDirectoryBuckets: Number("int"), + * }; + * const command = new ListDirectoryBucketsCommand(input); + * const response = await client.send(command); + * // { // ListDirectoryBucketsOutput + * // Buckets: [ // Buckets + * // { // Bucket + * // Name: "STRING_VALUE", + * // CreationDate: new Date("TIMESTAMP"), + * // BucketRegion: "STRING_VALUE", + * // BucketArn: "STRING_VALUE", + * // }, + * // ], + * // ContinuationToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListDirectoryBucketsCommandInput - {@link ListDirectoryBucketsCommandInput} + * @returns {@link ListDirectoryBucketsCommandOutput} + * @see {@link ListDirectoryBucketsCommandInput} for command's `input` shape. + * @see {@link ListDirectoryBucketsCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class ListDirectoryBucketsCommand extends ListDirectoryBucketsCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: ListDirectoryBucketsRequest; + output: ListDirectoryBucketsOutput; + }; + sdk: { + input: ListDirectoryBucketsCommandInput; + output: ListDirectoryBucketsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts new file mode 100644 index 0000000..5a84f46 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts @@ -0,0 +1,341 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { ListMultipartUploadsOutput, ListMultipartUploadsRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link ListMultipartUploadsCommand}. + */ +export interface ListMultipartUploadsCommandInput extends ListMultipartUploadsRequest { +} +/** + * @public + * + * The output of {@link ListMultipartUploadsCommand}. + */ +export interface ListMultipartUploadsCommandOutput extends ListMultipartUploadsOutput, __MetadataBearer { +} +declare const ListMultipartUploadsCommand_base: { + new (input: ListMultipartUploadsCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: ListMultipartUploadsCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

This operation lists in-progress multipart uploads in a bucket. An in-progress multipart upload is a + * multipart upload that has been initiated by the CreateMultipartUpload request, but has not + * yet been completed or aborted.

+ * + *

+ * Directory buckets - If multipart uploads in a + * directory bucket are in progress, you can't delete the bucket until all the in-progress multipart + * uploads are aborted or completed. To delete these in-progress multipart uploads, use the + * ListMultipartUploads operation to list the in-progress multipart uploads in the bucket + * and use the AbortMultipartUpload operation to abort all the in-progress multipart + * uploads.

+ *
+ *

The ListMultipartUploads operation returns a maximum of 1,000 multipart uploads in the + * response. The limit of 1,000 multipart uploads is also the default value. You can further limit the + * number of uploads in a response by specifying the max-uploads request parameter. If there + * are more than 1,000 multipart uploads that satisfy your ListMultipartUploads request, the + * response returns an IsTruncated element with the value of true, a + * NextKeyMarker element, and a NextUploadIdMarker element. To list the + * remaining multipart uploads, you need to make subsequent ListMultipartUploads requests. In + * these requests, include two query parameters: key-marker and upload-id-marker. + * Set the value of key-marker to the NextKeyMarker value from the previous + * response. Similarly, set the value of upload-id-marker to the + * NextUploadIdMarker value from the previous response.

+ * + *

+ * Directory buckets - The upload-id-marker + * element and the NextUploadIdMarker element aren't supported by directory buckets. To + * list the additional multipart uploads, you only need to set the value of key-marker to + * the NextKeyMarker value from the previous response.

+ *
+ *

For more information about multipart uploads, see Uploading Objects Using Multipart Upload in + * the Amazon S3 User Guide.

+ * + *

+ * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name + * . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

+ *
+ *
+ *
Permissions
+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - For information + * about permissions required to use the multipart upload API, see Multipart Upload and Permissions in + * the Amazon S3 User Guide.

    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the + * CreateSession + * API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. + * Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see + * CreateSession + * .

    + *
  • + *
+ *
+ *
Sorting of multipart uploads in response
+ *
+ *
    + *
  • + *

    + * General purpose bucket - In the + * ListMultipartUploads response, the multipart uploads are sorted based on two + * criteria:

    + *
      + *
    • + *

      Key-based sorting - Multipart uploads are initially sorted in ascending order + * based on their object keys.

      + *
    • + *
    • + *

      Time-based sorting - For uploads that share the same object key, they are + * further sorted in ascending order based on the upload initiation time. Among uploads with + * the same key, the one that was initiated first will appear before the ones that were + * initiated later.

      + *
    • + *
    + *
  • + *
  • + *

    + * Directory bucket - In the + * ListMultipartUploads response, the multipart uploads aren't sorted + * lexicographically based on the object keys. + * + *

    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * Bucket-name.s3express-zone-id.region-code.amazonaws.com.

+ *
+ *
+ *

The following operations are related to ListMultipartUploads:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, ListMultipartUploadsCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, ListMultipartUploadsCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // ListMultipartUploadsRequest + * Bucket: "STRING_VALUE", // required + * Delimiter: "STRING_VALUE", + * EncodingType: "url", + * KeyMarker: "STRING_VALUE", + * MaxUploads: Number("int"), + * Prefix: "STRING_VALUE", + * UploadIdMarker: "STRING_VALUE", + * ExpectedBucketOwner: "STRING_VALUE", + * RequestPayer: "requester", + * }; + * const command = new ListMultipartUploadsCommand(input); + * const response = await client.send(command); + * // { // ListMultipartUploadsOutput + * // Bucket: "STRING_VALUE", + * // KeyMarker: "STRING_VALUE", + * // UploadIdMarker: "STRING_VALUE", + * // NextKeyMarker: "STRING_VALUE", + * // Prefix: "STRING_VALUE", + * // Delimiter: "STRING_VALUE", + * // NextUploadIdMarker: "STRING_VALUE", + * // MaxUploads: Number("int"), + * // IsTruncated: true || false, + * // Uploads: [ // MultipartUploadList + * // { // MultipartUpload + * // UploadId: "STRING_VALUE", + * // Key: "STRING_VALUE", + * // Initiated: new Date("TIMESTAMP"), + * // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE" || "FSX_OPENZFS" || "FSX_ONTAP", + * // Owner: { // Owner + * // DisplayName: "STRING_VALUE", + * // ID: "STRING_VALUE", + * // }, + * // Initiator: { // Initiator + * // ID: "STRING_VALUE", + * // DisplayName: "STRING_VALUE", + * // }, + * // ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * // ChecksumType: "COMPOSITE" || "FULL_OBJECT", + * // }, + * // ], + * // CommonPrefixes: [ // CommonPrefixList + * // { // CommonPrefix + * // Prefix: "STRING_VALUE", + * // }, + * // ], + * // EncodingType: "url", + * // RequestCharged: "requester", + * // }; + * + * ``` + * + * @param ListMultipartUploadsCommandInput - {@link ListMultipartUploadsCommandInput} + * @returns {@link ListMultipartUploadsCommandOutput} + * @see {@link ListMultipartUploadsCommandInput} for command's `input` shape. + * @see {@link ListMultipartUploadsCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example List next set of multipart uploads when previous result is truncated + * ```javascript + * // The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next setup of multipart uploads. + * const input = { + * Bucket: "examplebucket", + * KeyMarker: "nextkeyfrompreviousresponse", + * MaxUploads: 2, + * UploadIdMarker: "valuefrompreviousresponse" + * }; + * const command = new ListMultipartUploadsCommand(input); + * const response = await client.send(command); + * /* response is + * { + * Bucket: "acl1", + * IsTruncated: true, + * KeyMarker: "", + * MaxUploads: 2, + * NextKeyMarker: "someobjectkey", + * NextUploadIdMarker: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--", + * UploadIdMarker: "", + * Uploads: [ + * { + * Initiated: "2014-05-01T05:40:58.000Z", + * Initiator: { + * DisplayName: "ownder-display-name", + * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" + * }, + * Key: "JavaFile", + * Owner: { + * DisplayName: "mohanataws", + * ID: "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" + * }, + * StorageClass: "STANDARD", + * UploadId: "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--" + * }, + * { + * Initiated: "2014-05-01T05:41:27.000Z", + * Initiator: { + * DisplayName: "ownder-display-name", + * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" + * }, + * Key: "JavaFile", + * Owner: { + * DisplayName: "ownder-display-name", + * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" + * }, + * StorageClass: "STANDARD", + * UploadId: "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--" + * } + * ] + * } + * *\/ + * ``` + * + * @example To list in-progress multipart uploads on a bucket + * ```javascript + * // The following example lists in-progress multipart uploads on a specific bucket. + * const input = { + * Bucket: "examplebucket" + * }; + * const command = new ListMultipartUploadsCommand(input); + * const response = await client.send(command); + * /* response is + * { + * Uploads: [ + * { + * Initiated: "2014-05-01T05:40:58.000Z", + * Initiator: { + * DisplayName: "display-name", + * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" + * }, + * Key: "JavaFile", + * Owner: { + * DisplayName: "display-name", + * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" + * }, + * StorageClass: "STANDARD", + * UploadId: "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--" + * }, + * { + * Initiated: "2014-05-01T05:41:27.000Z", + * Initiator: { + * DisplayName: "display-name", + * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" + * }, + * Key: "JavaFile", + * Owner: { + * DisplayName: "display-name", + * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" + * }, + * StorageClass: "STANDARD", + * UploadId: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--" + * } + * ] + * } + * *\/ + * ``` + * + * @public + */ +export declare class ListMultipartUploadsCommand extends ListMultipartUploadsCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: ListMultipartUploadsRequest; + output: ListMultipartUploadsOutput; + }; + sdk: { + input: ListMultipartUploadsCommandInput; + output: ListMultipartUploadsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts new file mode 100644 index 0000000..cd93ad0 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts @@ -0,0 +1,217 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { ListObjectVersionsOutput, ListObjectVersionsRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link ListObjectVersionsCommand}. + */ +export interface ListObjectVersionsCommandInput extends ListObjectVersionsRequest { +} +/** + * @public + * + * The output of {@link ListObjectVersionsCommand}. + */ +export interface ListObjectVersionsCommandOutput extends ListObjectVersionsOutput, __MetadataBearer { +} +declare const ListObjectVersionsCommand_base: { + new (input: ListObjectVersionsCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: ListObjectVersionsCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Returns metadata about all versions of the objects in a bucket. You can also use request parameters + * as selection criteria to return metadata about a subset of all the object versions.

+ * + *

To use this operation, you must have permission to perform the s3:ListBucketVersions + * action. Be aware of the name difference.

+ *
+ * + *

A 200 OK response can contain valid or invalid XML. Make sure to design your + * application to parse the contents of the response and handle it appropriately.

+ *
+ *

To use this operation, you must have READ access to the bucket.

+ *

The following operations are related to ListObjectVersions:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, ListObjectVersionsCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, ListObjectVersionsCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // ListObjectVersionsRequest + * Bucket: "STRING_VALUE", // required + * Delimiter: "STRING_VALUE", + * EncodingType: "url", + * KeyMarker: "STRING_VALUE", + * MaxKeys: Number("int"), + * Prefix: "STRING_VALUE", + * VersionIdMarker: "STRING_VALUE", + * ExpectedBucketOwner: "STRING_VALUE", + * RequestPayer: "requester", + * OptionalObjectAttributes: [ // OptionalObjectAttributesList + * "RestoreStatus", + * ], + * }; + * const command = new ListObjectVersionsCommand(input); + * const response = await client.send(command); + * // { // ListObjectVersionsOutput + * // IsTruncated: true || false, + * // KeyMarker: "STRING_VALUE", + * // VersionIdMarker: "STRING_VALUE", + * // NextKeyMarker: "STRING_VALUE", + * // NextVersionIdMarker: "STRING_VALUE", + * // Versions: [ // ObjectVersionList + * // { // ObjectVersion + * // ETag: "STRING_VALUE", + * // ChecksumAlgorithm: [ // ChecksumAlgorithmList + * // "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * // ], + * // ChecksumType: "COMPOSITE" || "FULL_OBJECT", + * // Size: Number("long"), + * // StorageClass: "STANDARD", + * // Key: "STRING_VALUE", + * // VersionId: "STRING_VALUE", + * // IsLatest: true || false, + * // LastModified: new Date("TIMESTAMP"), + * // Owner: { // Owner + * // DisplayName: "STRING_VALUE", + * // ID: "STRING_VALUE", + * // }, + * // RestoreStatus: { // RestoreStatus + * // IsRestoreInProgress: true || false, + * // RestoreExpiryDate: new Date("TIMESTAMP"), + * // }, + * // }, + * // ], + * // DeleteMarkers: [ // DeleteMarkers + * // { // DeleteMarkerEntry + * // Owner: { + * // DisplayName: "STRING_VALUE", + * // ID: "STRING_VALUE", + * // }, + * // Key: "STRING_VALUE", + * // VersionId: "STRING_VALUE", + * // IsLatest: true || false, + * // LastModified: new Date("TIMESTAMP"), + * // }, + * // ], + * // Name: "STRING_VALUE", + * // Prefix: "STRING_VALUE", + * // Delimiter: "STRING_VALUE", + * // MaxKeys: Number("int"), + * // CommonPrefixes: [ // CommonPrefixList + * // { // CommonPrefix + * // Prefix: "STRING_VALUE", + * // }, + * // ], + * // EncodingType: "url", + * // RequestCharged: "requester", + * // }; + * + * ``` + * + * @param ListObjectVersionsCommandInput - {@link ListObjectVersionsCommandInput} + * @returns {@link ListObjectVersionsCommandOutput} + * @see {@link ListObjectVersionsCommandInput} for command's `input` shape. + * @see {@link ListObjectVersionsCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To list object versions + * ```javascript + * // The following example returns versions of an object with specific key name prefix. + * const input = { + * Bucket: "examplebucket", + * Prefix: "HappyFace.jpg" + * }; + * const command = new ListObjectVersionsCommand(input); + * const response = await client.send(command); + * /* response is + * { + * Versions: [ + * { + * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`, + * IsLatest: true, + * Key: "HappyFace.jpg", + * LastModified: "2016-12-15T01:19:41.000Z", + * Owner: { + * DisplayName: "owner-display-name", + * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" + * }, + * Size: 3191, + * StorageClass: "STANDARD", + * VersionId: "null" + * }, + * { + * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`, + * IsLatest: false, + * Key: "HappyFace.jpg", + * LastModified: "2016-12-13T00:58:26.000Z", + * Owner: { + * DisplayName: "owner-display-name", + * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" + * }, + * Size: 3191, + * StorageClass: "STANDARD", + * VersionId: "PHtexPGjH2y.zBgT8LmB7wwLI2mpbz.k" + * } + * ] + * } + * *\/ + * ``` + * + * @public + */ +export declare class ListObjectVersionsCommand extends ListObjectVersionsCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: ListObjectVersionsRequest; + output: ListObjectVersionsOutput; + }; + sdk: { + input: ListObjectVersionsCommandInput; + output: ListObjectVersionsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts new file mode 100644 index 0000000..b406c99 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts @@ -0,0 +1,203 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { ListObjectsOutput, ListObjectsRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link ListObjectsCommand}. + */ +export interface ListObjectsCommandInput extends ListObjectsRequest { +} +/** + * @public + * + * The output of {@link ListObjectsCommand}. + */ +export interface ListObjectsCommandOutput extends ListObjectsOutput, __MetadataBearer { +} +declare const ListObjectsCommand_base: { + new (input: ListObjectsCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: ListObjectsCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Returns some or all (up to 1,000) of the objects in a bucket. You can use the request parameters as + * selection criteria to return a subset of the objects in a bucket. A 200 OK response can contain valid or + * invalid XML. Be sure to design your application to parse the contents of the response and handle it + * appropriately.

+ * + *

This action has been revised. We recommend that you use the newer version, ListObjectsV2, when + * developing applications. For backward compatibility, Amazon S3 continues to support + * ListObjects.

+ *
+ *

The following operations are related to ListObjects:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, ListObjectsCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, ListObjectsCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // ListObjectsRequest + * Bucket: "STRING_VALUE", // required + * Delimiter: "STRING_VALUE", + * EncodingType: "url", + * Marker: "STRING_VALUE", + * MaxKeys: Number("int"), + * Prefix: "STRING_VALUE", + * RequestPayer: "requester", + * ExpectedBucketOwner: "STRING_VALUE", + * OptionalObjectAttributes: [ // OptionalObjectAttributesList + * "RestoreStatus", + * ], + * }; + * const command = new ListObjectsCommand(input); + * const response = await client.send(command); + * // { // ListObjectsOutput + * // IsTruncated: true || false, + * // Marker: "STRING_VALUE", + * // NextMarker: "STRING_VALUE", + * // Contents: [ // ObjectList + * // { // Object + * // Key: "STRING_VALUE", + * // LastModified: new Date("TIMESTAMP"), + * // ETag: "STRING_VALUE", + * // ChecksumAlgorithm: [ // ChecksumAlgorithmList + * // "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * // ], + * // ChecksumType: "COMPOSITE" || "FULL_OBJECT", + * // Size: Number("long"), + * // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "GLACIER" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE" || "FSX_OPENZFS" || "FSX_ONTAP", + * // Owner: { // Owner + * // DisplayName: "STRING_VALUE", + * // ID: "STRING_VALUE", + * // }, + * // RestoreStatus: { // RestoreStatus + * // IsRestoreInProgress: true || false, + * // RestoreExpiryDate: new Date("TIMESTAMP"), + * // }, + * // }, + * // ], + * // Name: "STRING_VALUE", + * // Prefix: "STRING_VALUE", + * // Delimiter: "STRING_VALUE", + * // MaxKeys: Number("int"), + * // CommonPrefixes: [ // CommonPrefixList + * // { // CommonPrefix + * // Prefix: "STRING_VALUE", + * // }, + * // ], + * // EncodingType: "url", + * // RequestCharged: "requester", + * // }; + * + * ``` + * + * @param ListObjectsCommandInput - {@link ListObjectsCommandInput} + * @returns {@link ListObjectsCommandOutput} + * @see {@link ListObjectsCommandInput} for command's `input` shape. + * @see {@link ListObjectsCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link NoSuchBucket} (client fault) + *

The specified bucket does not exist.

+ * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To list objects in a bucket + * ```javascript + * // The following example list two objects in a bucket. + * const input = { + * Bucket: "examplebucket", + * MaxKeys: 2 + * }; + * const command = new ListObjectsCommand(input); + * const response = await client.send(command); + * /* response is + * { + * Contents: [ + * { + * ETag: `"70ee1738b6b21e2c8a43f3a5ab0eee71"`, + * Key: "example1.jpg", + * LastModified: "2014-11-21T19:40:05.000Z", + * Owner: { + * DisplayName: "myname", + * ID: "12345example25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" + * }, + * Size: 11, + * StorageClass: "STANDARD" + * }, + * { + * ETag: `"9c8af9a76df052144598c115ef33e511"`, + * Key: "example2.jpg", + * LastModified: "2013-11-15T01:10:49.000Z", + * Owner: { + * DisplayName: "myname", + * ID: "12345example25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" + * }, + * Size: 713193, + * StorageClass: "STANDARD" + * } + * ], + * NextMarker: "eyJNYXJrZXIiOiBudWxsLCAiYm90b190cnVuY2F0ZV9hbW91bnQiOiAyfQ==" + * } + * *\/ + * ``` + * + * @public + */ +export declare class ListObjectsCommand extends ListObjectsCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: ListObjectsRequest; + output: ListObjectsOutput; + }; + sdk: { + input: ListObjectsCommandInput; + output: ListObjectsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts new file mode 100644 index 0000000..dc686b0 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts @@ -0,0 +1,264 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { ListObjectsV2Output, ListObjectsV2Request } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link ListObjectsV2Command}. + */ +export interface ListObjectsV2CommandInput extends ListObjectsV2Request { +} +/** + * @public + * + * The output of {@link ListObjectsV2Command}. + */ +export interface ListObjectsV2CommandOutput extends ListObjectsV2Output, __MetadataBearer { +} +declare const ListObjectsV2Command_base: { + new (input: ListObjectsV2CommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: ListObjectsV2CommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Returns some or all (up to 1,000) of the objects in a bucket with each request. You can use the + * request parameters as selection criteria to return a subset of the objects in a bucket. A 200 + * OK response can contain valid or invalid XML. Make sure to design your application to parse the + * contents of the response and handle it appropriately. For more information about listing objects, see + * Listing object + * keys programmatically in the Amazon S3 User Guide. To get a list of your + * buckets, see ListBuckets.

+ * + *
    + *
  • + *

    + * General purpose bucket - For general purpose buckets, + * ListObjectsV2 doesn't return prefixes that are related only to in-progress + * multipart uploads.

    + *
  • + *
  • + *

    + * Directory buckets - For directory buckets, + * ListObjectsV2 response includes the prefixes that are related only to in-progress + * multipart uploads.

    + *
  • + *
  • + *

    + * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name + * . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

    + *
  • + *
+ *
+ *
+ *
Permissions
+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - To use this + * operation, you must have READ access to the bucket. You must have permission to perform the + * s3:ListBucket action. The bucket owner has this permission by default and can + * grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access + * Permissions to Your Amazon S3 Resources in the + * Amazon S3 User Guide.

    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the + * CreateSession + * API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. + * Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see + * CreateSession + * .

    + *
  • + *
+ *
+ *
Sorting order of returned objects
+ *
+ *
    + *
  • + *

    + * General purpose bucket - For general purpose buckets, + * ListObjectsV2 returns objects in lexicographical order based on their key + * names.

    + *
  • + *
  • + *

    + * Directory bucket - For directory buckets, + * ListObjectsV2 does not return objects in lexicographical order.

    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * Bucket-name.s3express-zone-id.region-code.amazonaws.com.

+ *
+ *
+ * + *

This section describes the latest revision of this action. We recommend that you use this revised + * API operation for application development. For backward compatibility, Amazon S3 continues to support the + * prior version of this API operation, ListObjects.

+ *
+ *

The following operations are related to ListObjectsV2:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, ListObjectsV2Command } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, ListObjectsV2Command } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // ListObjectsV2Request + * Bucket: "STRING_VALUE", // required + * Delimiter: "STRING_VALUE", + * EncodingType: "url", + * MaxKeys: Number("int"), + * Prefix: "STRING_VALUE", + * ContinuationToken: "STRING_VALUE", + * FetchOwner: true || false, + * StartAfter: "STRING_VALUE", + * RequestPayer: "requester", + * ExpectedBucketOwner: "STRING_VALUE", + * OptionalObjectAttributes: [ // OptionalObjectAttributesList + * "RestoreStatus", + * ], + * }; + * const command = new ListObjectsV2Command(input); + * const response = await client.send(command); + * // { // ListObjectsV2Output + * // IsTruncated: true || false, + * // Contents: [ // ObjectList + * // { // Object + * // Key: "STRING_VALUE", + * // LastModified: new Date("TIMESTAMP"), + * // ETag: "STRING_VALUE", + * // ChecksumAlgorithm: [ // ChecksumAlgorithmList + * // "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * // ], + * // ChecksumType: "COMPOSITE" || "FULL_OBJECT", + * // Size: Number("long"), + * // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "GLACIER" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE" || "FSX_OPENZFS" || "FSX_ONTAP", + * // Owner: { // Owner + * // DisplayName: "STRING_VALUE", + * // ID: "STRING_VALUE", + * // }, + * // RestoreStatus: { // RestoreStatus + * // IsRestoreInProgress: true || false, + * // RestoreExpiryDate: new Date("TIMESTAMP"), + * // }, + * // }, + * // ], + * // Name: "STRING_VALUE", + * // Prefix: "STRING_VALUE", + * // Delimiter: "STRING_VALUE", + * // MaxKeys: Number("int"), + * // CommonPrefixes: [ // CommonPrefixList + * // { // CommonPrefix + * // Prefix: "STRING_VALUE", + * // }, + * // ], + * // EncodingType: "url", + * // KeyCount: Number("int"), + * // ContinuationToken: "STRING_VALUE", + * // NextContinuationToken: "STRING_VALUE", + * // StartAfter: "STRING_VALUE", + * // RequestCharged: "requester", + * // }; + * + * ``` + * + * @param ListObjectsV2CommandInput - {@link ListObjectsV2CommandInput} + * @returns {@link ListObjectsV2CommandOutput} + * @see {@link ListObjectsV2CommandInput} for command's `input` shape. + * @see {@link ListObjectsV2CommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link NoSuchBucket} (client fault) + *

The specified bucket does not exist.

+ * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To get object list + * ```javascript + * // The following example retrieves object list. The request specifies max keys to limit response to include only 2 object keys. + * const input = { + * Bucket: "DOC-EXAMPLE-BUCKET", + * MaxKeys: 2 + * }; + * const command = new ListObjectsV2Command(input); + * const response = await client.send(command); + * /* response is + * { + * Contents: [ + * { + * ETag: `"70ee1738b6b21e2c8a43f3a5ab0eee71"`, + * Key: "happyface.jpg", + * LastModified: "2014-11-21T19:40:05.000Z", + * Size: 11, + * StorageClass: "STANDARD" + * }, + * { + * ETag: `"becf17f89c30367a9a44495d62ed521a-1"`, + * Key: "test.jpg", + * LastModified: "2014-05-02T04:51:50.000Z", + * Size: 4192256, + * StorageClass: "STANDARD" + * } + * ], + * IsTruncated: true, + * KeyCount: 2, + * MaxKeys: 2, + * Name: "DOC-EXAMPLE-BUCKET", + * NextContinuationToken: "1w41l63U0xa8q7smH50vCxyTQqdxo69O3EmK28Bi5PcROI4wI/EyIJg==", + * Prefix: "" + * } + * *\/ + * ``` + * + * @public + */ +export declare class ListObjectsV2Command extends ListObjectsV2Command_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: ListObjectsV2Request; + output: ListObjectsV2Output; + }; + sdk: { + input: ListObjectsV2CommandInput; + output: ListObjectsV2CommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts new file mode 100644 index 0000000..1e7ae39 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts @@ -0,0 +1,242 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { ListPartsOutput, ListPartsRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link ListPartsCommand}. + */ +export interface ListPartsCommandInput extends ListPartsRequest { +} +/** + * @public + * + * The output of {@link ListPartsCommand}. + */ +export interface ListPartsCommandOutput extends ListPartsOutput, __MetadataBearer { +} +declare const ListPartsCommand_base: { + new (input: ListPartsCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: ListPartsCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Lists the parts that have been uploaded for a specific multipart upload.

+ *

To use this operation, you must provide the upload ID in the request. You obtain this + * uploadID by sending the initiate multipart upload request through CreateMultipartUpload.

+ *

The ListParts request returns a maximum of 1,000 uploaded parts. The limit of 1,000 + * parts is also the default value. You can restrict the number of parts in a response by specifying the + * max-parts request parameter. If your multipart upload consists of more than 1,000 parts, + * the response returns an IsTruncated field with the value of true, and a + * NextPartNumberMarker element. To list remaining uploaded parts, in subsequent + * ListParts requests, include the part-number-marker query string parameter + * and set its value to the NextPartNumberMarker field value from the previous + * response.

+ *

For more information on multipart uploads, see Uploading Objects Using Multipart Upload in + * the Amazon S3 User Guide.

+ * + *

+ * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name + * . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

+ *
+ *
+ *
Permissions
+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - For information + * about permissions required to use the multipart upload API, see Multipart Upload and Permissions in + * the Amazon S3 User Guide.

    + *

    If the upload was created using server-side encryption with Key Management Service (KMS) keys + * (SSE-KMS) or dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), you must have + * permission to the kms:Decrypt action for the ListParts request to + * succeed.

    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the + * CreateSession + * API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. + * Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see + * CreateSession + * .

    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * Bucket-name.s3express-zone-id.region-code.amazonaws.com.

+ *
+ *
+ *

The following operations are related to ListParts:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, ListPartsCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, ListPartsCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // ListPartsRequest + * Bucket: "STRING_VALUE", // required + * Key: "STRING_VALUE", // required + * MaxParts: Number("int"), + * PartNumberMarker: "STRING_VALUE", + * UploadId: "STRING_VALUE", // required + * RequestPayer: "requester", + * ExpectedBucketOwner: "STRING_VALUE", + * SSECustomerAlgorithm: "STRING_VALUE", + * SSECustomerKey: "STRING_VALUE", + * SSECustomerKeyMD5: "STRING_VALUE", + * }; + * const command = new ListPartsCommand(input); + * const response = await client.send(command); + * // { // ListPartsOutput + * // AbortDate: new Date("TIMESTAMP"), + * // AbortRuleId: "STRING_VALUE", + * // Bucket: "STRING_VALUE", + * // Key: "STRING_VALUE", + * // UploadId: "STRING_VALUE", + * // PartNumberMarker: "STRING_VALUE", + * // NextPartNumberMarker: "STRING_VALUE", + * // MaxParts: Number("int"), + * // IsTruncated: true || false, + * // Parts: [ // Parts + * // { // Part + * // PartNumber: Number("int"), + * // LastModified: new Date("TIMESTAMP"), + * // ETag: "STRING_VALUE", + * // Size: Number("long"), + * // ChecksumCRC32: "STRING_VALUE", + * // ChecksumCRC32C: "STRING_VALUE", + * // ChecksumCRC64NVME: "STRING_VALUE", + * // ChecksumSHA1: "STRING_VALUE", + * // ChecksumSHA256: "STRING_VALUE", + * // }, + * // ], + * // Initiator: { // Initiator + * // ID: "STRING_VALUE", + * // DisplayName: "STRING_VALUE", + * // }, + * // Owner: { // Owner + * // DisplayName: "STRING_VALUE", + * // ID: "STRING_VALUE", + * // }, + * // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE" || "FSX_OPENZFS" || "FSX_ONTAP", + * // RequestCharged: "requester", + * // ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * // ChecksumType: "COMPOSITE" || "FULL_OBJECT", + * // }; + * + * ``` + * + * @param ListPartsCommandInput - {@link ListPartsCommandInput} + * @returns {@link ListPartsCommandOutput} + * @see {@link ListPartsCommandInput} for command's `input` shape. + * @see {@link ListPartsCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To list parts of a multipart upload. + * ```javascript + * // The following example lists parts uploaded for a specific multipart upload. + * const input = { + * Bucket: "examplebucket", + * Key: "bigobject", + * UploadId: "example7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--" + * }; + * const command = new ListPartsCommand(input); + * const response = await client.send(command); + * /* response is + * { + * Initiator: { + * DisplayName: "owner-display-name", + * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" + * }, + * Owner: { + * DisplayName: "owner-display-name", + * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc" + * }, + * Parts: [ + * { + * ETag: `"d8c2eafd90c266e19ab9dcacc479f8af"`, + * LastModified: "2016-12-16T00:11:42.000Z", + * PartNumber: 1, + * Size: 26246026 + * }, + * { + * ETag: `"d8c2eafd90c266e19ab9dcacc479f8af"`, + * LastModified: "2016-12-16T00:15:01.000Z", + * PartNumber: 2, + * Size: 26246026 + * } + * ], + * StorageClass: "STANDARD" + * } + * *\/ + * ``` + * + * @public + */ +export declare class ListPartsCommand extends ListPartsCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: ListPartsRequest; + output: ListPartsOutput; + }; + sdk: { + input: ListPartsCommandInput; + output: ListPartsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAbacCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAbacCommand.d.ts new file mode 100644 index 0000000..879ac12 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAbacCommand.d.ts @@ -0,0 +1,78 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutBucketAbacRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutBucketAbacCommand}. + */ +export interface PutBucketAbacCommandInput extends PutBucketAbacRequest { +} +/** + * @public + * + * The output of {@link PutBucketAbacCommand}. + */ +export interface PutBucketAbacCommandOutput extends __MetadataBearer { +} +declare const PutBucketAbacCommand_base: { + new (input: PutBucketAbacCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutBucketAbacCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Sets the attribute-based access control (ABAC) property of the general purpose bucket. You must have s3:PutBucketABAC permission to perform this action. When you enable ABAC, you can use tags for access control on your buckets. Additionally, when ABAC is enabled, you must use the TagResource and UntagResource actions to manage tags on your buckets. You can nolonger use the PutBucketTagging and DeleteBucketTagging actions to tag your bucket. For more information, see Enabling ABAC in general purpose buckets.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutBucketAbacCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutBucketAbacCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutBucketAbacRequest + * Bucket: "STRING_VALUE", // required + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * ExpectedBucketOwner: "STRING_VALUE", + * AbacStatus: { // AbacStatus + * Status: "Enabled" || "Disabled", + * }, + * }; + * const command = new PutBucketAbacCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PutBucketAbacCommandInput - {@link PutBucketAbacCommandInput} + * @returns {@link PutBucketAbacCommandOutput} + * @see {@link PutBucketAbacCommandInput} for command's `input` shape. + * @see {@link PutBucketAbacCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class PutBucketAbacCommand extends PutBucketAbacCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutBucketAbacRequest; + output: {}; + }; + sdk: { + input: PutBucketAbacCommandInput; + output: PutBucketAbacCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts new file mode 100644 index 0000000..d514133 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts @@ -0,0 +1,117 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutBucketAccelerateConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutBucketAccelerateConfigurationCommand}. + */ +export interface PutBucketAccelerateConfigurationCommandInput extends PutBucketAccelerateConfigurationRequest { +} +/** + * @public + * + * The output of {@link PutBucketAccelerateConfigurationCommand}. + */ +export interface PutBucketAccelerateConfigurationCommandOutput extends __MetadataBearer { +} +declare const PutBucketAccelerateConfigurationCommand_base: { + new (input: PutBucketAccelerateConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutBucketAccelerateConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Sets the accelerate configuration of an existing bucket. Amazon S3 Transfer Acceleration is a + * bucket-level feature that enables you to perform faster data transfers to Amazon S3.

+ *

To use this operation, you must have permission to perform the + * s3:PutAccelerateConfiguration action. The bucket owner has this permission by default. + * The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

+ *

The Transfer Acceleration state of a bucket can be set to one of the following two values:

+ *
    + *
  • + *

    Enabled – Enables accelerated data transfers to the bucket.

    + *
  • + *
  • + *

    Suspended – Disables accelerated data transfers to the bucket.

    + *
  • + *
+ *

The GetBucketAccelerateConfiguration action returns the transfer acceleration state of a + * bucket.

+ *

After setting the Transfer Acceleration state of a bucket to Enabled, it might take up to thirty + * minutes before the data transfer rates to the bucket increase.

+ *

The name of the bucket used for Transfer Acceleration must be DNS-compliant and must not contain + * periods (".").

+ *

For more information about transfer acceleration, see Transfer Acceleration.

+ *

The following operations are related to PutBucketAccelerateConfiguration:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutBucketAccelerateConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutBucketAccelerateConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutBucketAccelerateConfigurationRequest + * Bucket: "STRING_VALUE", // required + * AccelerateConfiguration: { // AccelerateConfiguration + * Status: "Enabled" || "Suspended", + * }, + * ExpectedBucketOwner: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * }; + * const command = new PutBucketAccelerateConfigurationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PutBucketAccelerateConfigurationCommandInput - {@link PutBucketAccelerateConfigurationCommandInput} + * @returns {@link PutBucketAccelerateConfigurationCommandOutput} + * @see {@link PutBucketAccelerateConfigurationCommandInput} for command's `input` shape. + * @see {@link PutBucketAccelerateConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class PutBucketAccelerateConfigurationCommand extends PutBucketAccelerateConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutBucketAccelerateConfigurationRequest; + output: {}; + }; + sdk: { + input: PutBucketAccelerateConfigurationCommandInput; + output: PutBucketAccelerateConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts new file mode 100644 index 0000000..a11e937 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts @@ -0,0 +1,314 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutBucketAclRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutBucketAclCommand}. + */ +export interface PutBucketAclCommandInput extends PutBucketAclRequest { +} +/** + * @public + * + * The output of {@link PutBucketAclCommand}. + */ +export interface PutBucketAclCommandOutput extends __MetadataBearer { +} +declare const PutBucketAclCommand_base: { + new (input: PutBucketAclCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutBucketAclCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

End of support notice: As of October 1, 2025, Amazon S3 has discontinued support for Email Grantee Access Control Lists (ACLs). If you attempt to use an Email Grantee ACL in a request after October 1, 2025, + * the request will receive an HTTP 405 (Method Not Allowed) error.

+ *

This change affects the following Amazon Web Services Regions: US East (N. Virginia), US West (N. California), US West (Oregon), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo), Europe (Ireland), and South America (São Paulo).

+ *
+ * + *

This operation is not supported for directory buckets.

+ *
+ *

Sets the permissions on an existing bucket using access control lists (ACL). For more information, + * see Using ACLs. To + * set the ACL of a bucket, you must have the WRITE_ACP permission.

+ *

You can use one of the following two ways to set a bucket's permissions:

+ *
    + *
  • + *

    Specify the ACL in the request body

    + *
  • + *
  • + *

    Specify permissions using request headers

    + *
  • + *
+ * + *

You cannot specify access permission using both the body and the request headers.

+ *
+ *

Depending on your application needs, you may choose to set the ACL on a bucket using either the + * request body or the headers. For example, if you have an existing application that updates a bucket ACL + * using the request body, then you can continue to use that approach.

+ * + *

If your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs are disabled + * and no longer affect permissions. You must use policies to grant access to your bucket and the objects + * in it. Requests to set ACLs or update ACLs fail and return the + * AccessControlListNotSupported error code. Requests to read ACLs are still supported. + * For more information, see Controlling object ownership in + * the Amazon S3 User Guide.

+ *
+ *
+ *
Permissions
+ *
+ *

You can set access permissions by using one of the following methods:

+ *
    + *
  • + *

    Specify a canned ACL with the x-amz-acl request header. Amazon S3 supports a set + * of predefined ACLs, known as canned ACLs. Each canned ACL has a + * predefined set of grantees and permissions. Specify the canned ACL name as the value of + * x-amz-acl. If you use this header, you cannot use other access control-specific + * headers in your request. For more information, see Canned ACL.

    + *
  • + *
  • + *

    Specify access permissions explicitly with the x-amz-grant-read, + * x-amz-grant-read-acp, x-amz-grant-write-acp, and + * x-amz-grant-full-control headers. When using these headers, you specify + * explicit access permissions and grantees (Amazon Web Services accounts or Amazon S3 groups) who will receive the + * permission. If you use these ACL-specific headers, you cannot use the x-amz-acl + * header to set a canned ACL. These parameters map to the set of permissions that Amazon S3 supports + * in an ACL. For more information, see Access Control List (ACL) + * Overview.

    + *

    You specify each grantee as a type=value pair, where the type is one of the + * following:

    + *
      + *
    • + *

      + * id – if the value specified is the canonical user ID of an + * Amazon Web Services account

      + *
    • + *
    • + *

      + * uri – if you are granting permissions to a predefined group

      + *
    • + *
    • + *

      + * emailAddress – if the value specified is the email address of an + * Amazon Web Services account

      + * + *

      Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:

      + *
        + *
      • + *

        US East (N. Virginia)

        + *
      • + *
      • + *

        US West (N. California)

        + *
      • + *
      • + *

        US West (Oregon)

        + *
      • + *
      • + *

        Asia Pacific (Singapore)

        + *
      • + *
      • + *

        Asia Pacific (Sydney)

        + *
      • + *
      • + *

        Asia Pacific (Tokyo)

        + *
      • + *
      • + *

        Europe (Ireland)

        + *
      • + *
      • + *

        South America (São Paulo)

        + *
      • + *
      + *

      For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.

      + *
      + *
    • + *
    + *

    For example, the following x-amz-grant-write header grants create, overwrite, + * and delete objects permission to LogDelivery group predefined by Amazon S3 and two Amazon Web Services accounts + * identified by their email addresses.

    + *

    + * x-amz-grant-write: uri="http://acs.amazonaws.com/groups/s3/LogDelivery", + * id="111122223333", id="555566667777" + *

    + *
  • + *
+ *

You can use either a canned ACL or specify access permissions explicitly. You cannot do + * both.

+ *
+ *
Grantee Values
+ *
+ *

You can specify the person (grantee) to whom you're assigning access rights (using request + * elements) in the following ways. For examples of how to specify these grantee values in JSON + * format, see the Amazon Web Services CLI example in Enabling Amazon S3 server + * access logging in the Amazon S3 User Guide.

+ *
    + *
  • + *

    By the person's ID:

    + *

    + * <>ID<><>GranteesEmail<> + * + *

    + *

    DisplayName is optional and ignored in the request

    + *
  • + *
  • + *

    By URI:

    + *

    + * <>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<> + *

    + *
  • + *
  • + *

    By Email address:

    + *

    + * <>Grantees@email.com<>& + *

    + *

    The grantee is resolved to the CanonicalUser and, in a response to a GET Object acl + * request, appears as the CanonicalUser.

    + * + *

    Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:

    + *
      + *
    • + *

      US East (N. Virginia)

      + *
    • + *
    • + *

      US West (N. California)

      + *
    • + *
    • + *

      US West (Oregon)

      + *
    • + *
    • + *

      Asia Pacific (Singapore)

      + *
    • + *
    • + *

      Asia Pacific (Sydney)

      + *
    • + *
    • + *

      Asia Pacific (Tokyo)

      + *
    • + *
    • + *

      Europe (Ireland)

      + *
    • + *
    • + *

      South America (São Paulo)

      + *
    • + *
    + *

    For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.

    + *
    + *
  • + *
+ *
+ *
+ *

The following operations are related to PutBucketAcl:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutBucketAclCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutBucketAclCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutBucketAclRequest + * ACL: "private" || "public-read" || "public-read-write" || "authenticated-read", + * AccessControlPolicy: { // AccessControlPolicy + * Grants: [ // Grants + * { // Grant + * Grantee: { // Grantee + * DisplayName: "STRING_VALUE", + * EmailAddress: "STRING_VALUE", + * ID: "STRING_VALUE", + * URI: "STRING_VALUE", + * Type: "CanonicalUser" || "AmazonCustomerByEmail" || "Group", // required + * }, + * Permission: "FULL_CONTROL" || "WRITE" || "WRITE_ACP" || "READ" || "READ_ACP", + * }, + * ], + * Owner: { // Owner + * DisplayName: "STRING_VALUE", + * ID: "STRING_VALUE", + * }, + * }, + * Bucket: "STRING_VALUE", // required + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * GrantFullControl: "STRING_VALUE", + * GrantRead: "STRING_VALUE", + * GrantReadACP: "STRING_VALUE", + * GrantWrite: "STRING_VALUE", + * GrantWriteACP: "STRING_VALUE", + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new PutBucketAclCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PutBucketAclCommandInput - {@link PutBucketAclCommandInput} + * @returns {@link PutBucketAclCommandOutput} + * @see {@link PutBucketAclCommandInput} for command's `input` shape. + * @see {@link PutBucketAclCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example Put bucket acl + * ```javascript + * // The following example replaces existing ACL on a bucket. The ACL grants the bucket owner (specified using the owner ID) and write permission to the LogDelivery group. Because this is a replace operation, you must specify all the grants in your request. To incrementally add or remove ACL grants, you might use the console. + * const input = { + * Bucket: "examplebucket", + * GrantFullControl: "id=examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484", + * GrantWrite: "uri=http://acs.amazonaws.com/groups/s3/LogDelivery" + * }; + * const command = new PutBucketAclCommand(input); + * const response = await client.send(command); + * /* response is + * { /* metadata only *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class PutBucketAclCommand extends PutBucketAclCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutBucketAclRequest; + output: {}; + }; + sdk: { + input: PutBucketAclCommandInput; + output: PutBucketAclCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts new file mode 100644 index 0000000..137b99f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts @@ -0,0 +1,212 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutBucketAnalyticsConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutBucketAnalyticsConfigurationCommand}. + */ +export interface PutBucketAnalyticsConfigurationCommandInput extends PutBucketAnalyticsConfigurationRequest { +} +/** + * @public + * + * The output of {@link PutBucketAnalyticsConfigurationCommand}. + */ +export interface PutBucketAnalyticsConfigurationCommandOutput extends __MetadataBearer { +} +declare const PutBucketAnalyticsConfigurationCommand_base: { + new (input: PutBucketAnalyticsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutBucketAnalyticsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Sets an analytics configuration for the bucket (specified by the analytics configuration ID). You + * can have up to 1,000 analytics configurations per bucket.

+ *

You can choose to have storage class analysis export analysis reports sent to a comma-separated + * values (CSV) flat file. See the DataExport request element. Reports are updated daily and + * are based on the object filters that you configure. When selecting data export, you specify a + * destination bucket and an optional destination prefix where the file is written. You can export the data + * to a destination bucket in a different account. However, the destination bucket must be in the same + * Region as the bucket that you are making the PUT analytics configuration to. For more information, see + * Amazon S3 Analytics – + * Storage Class Analysis.

+ * + *

You must create a bucket policy on the destination bucket where the exported file is written to + * grant permissions to Amazon S3 to write objects to the bucket. For an example policy, see Granting + * Permissions for Amazon S3 Inventory and Storage Class Analysis.

+ *
+ *

To use this operation, you must have permissions to perform the + * s3:PutAnalyticsConfiguration action. The bucket owner has this permission by default. The + * bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

+ *

+ * PutBucketAnalyticsConfiguration has the following special errors:

+ *
    + *
  • + *
      + *
    • + *

      + * HTTP Error: HTTP 400 Bad Request + *

      + *
    • + *
    • + *

      + * Code: InvalidArgument + *

      + *
    • + *
    • + *

      + * Cause: Invalid argument. + *

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * HTTP Error: HTTP 400 Bad Request + *

      + *
    • + *
    • + *

      + * Code: TooManyConfigurations + *

      + *
    • + *
    • + *

      + * Cause: You are attempting to create a new configuration but have already reached + * the 1,000-configuration limit. + *

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * HTTP Error: HTTP 403 Forbidden + *

      + *
    • + *
    • + *

      + * Code: AccessDenied + *

      + *
    • + *
    • + *

      + * Cause: You are not the owner of the specified bucket, or you do not have the + * s3:PutAnalyticsConfiguration bucket permission to set the configuration on the + * bucket. + *

      + *
    • + *
    + *
  • + *
+ *

The following operations are related to PutBucketAnalyticsConfiguration:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutBucketAnalyticsConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutBucketAnalyticsConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutBucketAnalyticsConfigurationRequest + * Bucket: "STRING_VALUE", // required + * Id: "STRING_VALUE", // required + * AnalyticsConfiguration: { // AnalyticsConfiguration + * Id: "STRING_VALUE", // required + * Filter: { // AnalyticsFilter Union: only one key present + * Prefix: "STRING_VALUE", + * Tag: { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * And: { // AnalyticsAndOperator + * Prefix: "STRING_VALUE", + * Tags: [ // TagSet + * { + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * }, + * }, + * StorageClassAnalysis: { // StorageClassAnalysis + * DataExport: { // StorageClassAnalysisDataExport + * OutputSchemaVersion: "V_1", // required + * Destination: { // AnalyticsExportDestination + * S3BucketDestination: { // AnalyticsS3BucketDestination + * Format: "CSV", // required + * BucketAccountId: "STRING_VALUE", + * Bucket: "STRING_VALUE", // required + * Prefix: "STRING_VALUE", + * }, + * }, + * }, + * }, + * }, + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new PutBucketAnalyticsConfigurationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PutBucketAnalyticsConfigurationCommandInput - {@link PutBucketAnalyticsConfigurationCommandInput} + * @returns {@link PutBucketAnalyticsConfigurationCommandOutput} + * @see {@link PutBucketAnalyticsConfigurationCommandInput} for command's `input` shape. + * @see {@link PutBucketAnalyticsConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class PutBucketAnalyticsConfigurationCommand extends PutBucketAnalyticsConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutBucketAnalyticsConfigurationRequest; + output: {}; + }; + sdk: { + input: PutBucketAnalyticsConfigurationCommandInput; + output: PutBucketAnalyticsConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts new file mode 100644 index 0000000..e856451 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts @@ -0,0 +1,197 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutBucketCorsRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutBucketCorsCommand}. + */ +export interface PutBucketCorsCommandInput extends PutBucketCorsRequest { +} +/** + * @public + * + * The output of {@link PutBucketCorsCommand}. + */ +export interface PutBucketCorsCommandOutput extends __MetadataBearer { +} +declare const PutBucketCorsCommand_base: { + new (input: PutBucketCorsCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutBucketCorsCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Sets the cors configuration for your bucket. If the configuration exists, Amazon S3 replaces + * it.

+ *

To use this operation, you must be allowed to perform the s3:PutBucketCORS action. By + * default, the bucket owner has this permission and can grant it to others.

+ *

You set this configuration on a bucket so that the bucket can service cross-origin requests. For + * example, you might want to enable a request whose origin is http://www.example.com to + * access your Amazon S3 bucket at my.example.bucket.com by using the browser's + * XMLHttpRequest capability.

+ *

To enable cross-origin resource sharing (CORS) on a bucket, you add the cors + * subresource to the bucket. The cors subresource is an XML document in which you configure + * rules that identify origins and the HTTP methods that can be executed on your bucket. The document is + * limited to 64 KB in size.

+ *

When Amazon S3 receives a cross-origin request (or a pre-flight OPTIONS request) against a bucket, it + * evaluates the cors configuration on the bucket and uses the first CORSRule + * rule that matches the incoming browser request to enable a cross-origin request. For a rule to match, + * the following conditions must be met:

+ *
    + *
  • + *

    The request's Origin header must match AllowedOrigin elements.

    + *
  • + *
  • + *

    The request method (for example, GET, PUT, HEAD, and so on) or the + * Access-Control-Request-Method header in case of a pre-flight OPTIONS + * request must be one of the AllowedMethod elements.

    + *
  • + *
  • + *

    Every header specified in the Access-Control-Request-Headers request header of a + * pre-flight request must match an AllowedHeader element.

    + *
  • + *
+ *

For more information about CORS, go to Enabling Cross-Origin Resource Sharing in the + * Amazon S3 User Guide.

+ *

The following operations are related to PutBucketCors:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutBucketCorsCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutBucketCorsCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutBucketCorsRequest + * Bucket: "STRING_VALUE", // required + * CORSConfiguration: { // CORSConfiguration + * CORSRules: [ // CORSRules // required + * { // CORSRule + * ID: "STRING_VALUE", + * AllowedHeaders: [ // AllowedHeaders + * "STRING_VALUE", + * ], + * AllowedMethods: [ // AllowedMethods // required + * "STRING_VALUE", + * ], + * AllowedOrigins: [ // AllowedOrigins // required + * "STRING_VALUE", + * ], + * ExposeHeaders: [ // ExposeHeaders + * "STRING_VALUE", + * ], + * MaxAgeSeconds: Number("int"), + * }, + * ], + * }, + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new PutBucketCorsCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PutBucketCorsCommandInput - {@link PutBucketCorsCommandInput} + * @returns {@link PutBucketCorsCommandOutput} + * @see {@link PutBucketCorsCommandInput} for command's `input` shape. + * @see {@link PutBucketCorsCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To set cors configuration on a bucket. + * ```javascript + * // The following example enables PUT, POST, and DELETE requests from www.example.com, and enables GET requests from any domain. + * const input = { + * Bucket: "", + * CORSConfiguration: { + * CORSRules: [ + * { + * AllowedHeaders: [ + * "*" + * ], + * AllowedMethods: [ + * "PUT", + * "POST", + * "DELETE" + * ], + * AllowedOrigins: [ + * "http://www.example.com" + * ], + * ExposeHeaders: [ + * "x-amz-server-side-encryption" + * ], + * MaxAgeSeconds: 3000 + * }, + * { + * AllowedHeaders: [ + * "Authorization" + * ], + * AllowedMethods: [ + * "GET" + * ], + * AllowedOrigins: [ + * "*" + * ], + * MaxAgeSeconds: 3000 + * } + * ] + * }, + * ContentMD5: "" + * }; + * const command = new PutBucketCorsCommand(input); + * const response = await client.send(command); + * /* response is + * { /* metadata only *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class PutBucketCorsCommand extends PutBucketCorsCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutBucketCorsRequest; + output: {}; + }; + sdk: { + input: PutBucketCorsCommandInput; + output: PutBucketCorsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts new file mode 100644 index 0000000..6a72eb5 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts @@ -0,0 +1,212 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutBucketEncryptionRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutBucketEncryptionCommand}. + */ +export interface PutBucketEncryptionCommandInput extends PutBucketEncryptionRequest { +} +/** + * @public + * + * The output of {@link PutBucketEncryptionCommand}. + */ +export interface PutBucketEncryptionCommandOutput extends __MetadataBearer { +} +declare const PutBucketEncryptionCommand_base: { + new (input: PutBucketEncryptionCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutBucketEncryptionCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

This operation configures default encryption and Amazon S3 Bucket Keys for an existing bucket. You can also block encryption types using this operation.

+ * + *

+ * Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. + * For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

+ *
+ *

By default, all buckets have a default encryption configuration that uses server-side encryption + * with Amazon S3 managed keys (SSE-S3).

+ * + *
    + *
  • + *

    + * General purpose buckets + *

    + *
      + *
    • + *

      You can optionally configure default encryption for a bucket by using server-side + * encryption with Key Management Service (KMS) keys (SSE-KMS) or dual-layer server-side encryption with + * Amazon Web Services KMS keys (DSSE-KMS). If you specify default encryption by using SSE-KMS, you can also + * configure Amazon S3 Bucket + * Keys. For information about the bucket default encryption feature, see Amazon S3 Bucket Default + * Encryption in the Amazon S3 User Guide.

      + *
    • + *
    • + *

      If you use PutBucketEncryption to set your default bucket encryption to + * SSE-KMS, you should verify that your KMS key ID is correct. Amazon S3 doesn't validate the + * KMS key ID provided in PutBucketEncryption requests.

      + *
    • + *
    + *
  • + *
  • + *

    + * Directory buckets - You can optionally configure + * default encryption for a bucket by using server-side encryption with Key Management Service (KMS) keys + * (SSE-KMS).

    + *
      + *
    • + *

      We recommend that the bucket's default encryption uses the desired encryption + * configuration and you don't override the bucket default encryption in your + * CreateSession requests or PUT object requests. Then, new objects + * are automatically encrypted with the desired encryption settings. + * For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.

      + *
    • + *
    • + *

      Your SSE-KMS configuration can only support 1 customer managed key per directory bucket's lifetime. + * The Amazon Web Services managed key (aws/s3) isn't supported. + *

      + *
    • + *
    • + *

      S3 Bucket Keys are always enabled for GET and PUT operations in a directory bucket and can’t be disabled. S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets + * to directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through CopyObject, UploadPartCopy, the Copy operation in Batch Operations, or + * the import jobs. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.

      + *
    • + *
    • + *

      When you specify an KMS customer managed key for encryption in your directory bucket, only use the key ID or key ARN. The key alias format of the KMS key isn't supported.

      + *
    • + *
    • + *

      For directory buckets, if you use PutBucketEncryption to set your default bucket + * encryption to SSE-KMS, Amazon S3 validates the KMS key ID provided in + * PutBucketEncryption requests.

      + *
    • + *
    + *
  • + *
+ *
+ * + *

If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key + * ARN. If you use a KMS key alias instead, then KMS resolves the key within the requester’s account. + * This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and + * not the bucket owner.

+ *

Also, this action requires Amazon Web Services Signature Version 4. For more information, see Authenticating + * Requests (Amazon Web Services Signature Version 4).

+ *
+ *
+ *
Permissions
+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - The + * s3:PutEncryptionConfiguration permission is required in a policy. The bucket + * owner has this permission by default. The bucket owner can grant this permission to others. + * For more information about permissions, see Permissions Related to Bucket Operations and Managing Access Permissions to Your + * Amazon S3 Resources in the Amazon S3 User Guide.

    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to + * this API operation, you must have the s3express:PutEncryptionConfiguration + * permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. + * For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    + *

    To set a directory bucket default encryption with SSE-KMS, you must also have the + * kms:GenerateDataKey and the kms:Decrypt permissions in IAM + * identity-based policies and KMS key policies for the target KMS key.

    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

+ *
+ *
+ *

The following operations are related to PutBucketEncryption:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutBucketEncryptionCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutBucketEncryptionCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutBucketEncryptionRequest + * Bucket: "STRING_VALUE", // required + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * ServerSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration + * Rules: [ // ServerSideEncryptionRules // required + * { // ServerSideEncryptionRule + * ApplyServerSideEncryptionByDefault: { // ServerSideEncryptionByDefault + * SSEAlgorithm: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse", // required + * KMSMasterKeyID: "STRING_VALUE", + * }, + * BucketKeyEnabled: true || false, + * BlockedEncryptionTypes: { // BlockedEncryptionTypes + * EncryptionType: [ // EncryptionTypeList + * "NONE" || "SSE-C", + * ], + * }, + * }, + * ], + * }, + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new PutBucketEncryptionCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PutBucketEncryptionCommandInput - {@link PutBucketEncryptionCommandInput} + * @returns {@link PutBucketEncryptionCommandOutput} + * @see {@link PutBucketEncryptionCommandInput} for command's `input` shape. + * @see {@link PutBucketEncryptionCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class PutBucketEncryptionCommand extends PutBucketEncryptionCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutBucketEncryptionRequest; + output: {}; + }; + sdk: { + input: PutBucketEncryptionCommandInput; + output: PutBucketEncryptionCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts new file mode 100644 index 0000000..c5e6ebd --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts @@ -0,0 +1,159 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutBucketIntelligentTieringConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutBucketIntelligentTieringConfigurationCommand}. + */ +export interface PutBucketIntelligentTieringConfigurationCommandInput extends PutBucketIntelligentTieringConfigurationRequest { +} +/** + * @public + * + * The output of {@link PutBucketIntelligentTieringConfigurationCommand}. + */ +export interface PutBucketIntelligentTieringConfigurationCommandOutput extends __MetadataBearer { +} +declare const PutBucketIntelligentTieringConfigurationCommand_base: { + new (input: PutBucketIntelligentTieringConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutBucketIntelligentTieringConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Puts a S3 Intelligent-Tiering configuration to the specified bucket. You can have up to 1,000 + * S3 Intelligent-Tiering configurations per bucket.

+ *

The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.

+ *

The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.

+ *

For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.

+ *

Operations related to PutBucketIntelligentTieringConfiguration include:

+ * + * + *

You only need S3 Intelligent-Tiering enabled on a bucket if you want to automatically move objects + * stored in the S3 Intelligent-Tiering storage class to the Archive Access or Deep Archive Access + * tier.

+ *
+ *

+ * PutBucketIntelligentTieringConfiguration has the following special errors:

+ *
+ *
HTTP 400 Bad Request Error
+ *
+ *

+ * Code: InvalidArgument

+ *

+ * Cause: Invalid Argument

+ *
+ *
HTTP 400 Bad Request Error
+ *
+ *

+ * Code: TooManyConfigurations

+ *

+ * Cause: You are attempting to create a new configuration but have already + * reached the 1,000-configuration limit.

+ *
+ *
HTTP 403 Forbidden Error
+ *
+ *

+ * Cause: You are not the owner of the specified bucket, or you do not have + * the s3:PutIntelligentTieringConfiguration bucket permission to set the configuration + * on the bucket.

+ *
+ *
+ * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutBucketIntelligentTieringConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutBucketIntelligentTieringConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutBucketIntelligentTieringConfigurationRequest + * Bucket: "STRING_VALUE", // required + * Id: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * IntelligentTieringConfiguration: { // IntelligentTieringConfiguration + * Id: "STRING_VALUE", // required + * Filter: { // IntelligentTieringFilter + * Prefix: "STRING_VALUE", + * Tag: { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * And: { // IntelligentTieringAndOperator + * Prefix: "STRING_VALUE", + * Tags: [ // TagSet + * { + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * }, + * }, + * Status: "Enabled" || "Disabled", // required + * Tierings: [ // TieringList // required + * { // Tiering + * Days: Number("int"), // required + * AccessTier: "ARCHIVE_ACCESS" || "DEEP_ARCHIVE_ACCESS", // required + * }, + * ], + * }, + * }; + * const command = new PutBucketIntelligentTieringConfigurationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PutBucketIntelligentTieringConfigurationCommandInput - {@link PutBucketIntelligentTieringConfigurationCommandInput} + * @returns {@link PutBucketIntelligentTieringConfigurationCommandOutput} + * @see {@link PutBucketIntelligentTieringConfigurationCommandInput} for command's `input` shape. + * @see {@link PutBucketIntelligentTieringConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class PutBucketIntelligentTieringConfigurationCommand extends PutBucketIntelligentTieringConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutBucketIntelligentTieringConfigurationRequest; + output: {}; + }; + sdk: { + input: PutBucketIntelligentTieringConfigurationCommandInput; + output: PutBucketIntelligentTieringConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts new file mode 100644 index 0000000..46e7956 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts @@ -0,0 +1,187 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutBucketInventoryConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutBucketInventoryConfigurationCommand}. + */ +export interface PutBucketInventoryConfigurationCommandInput extends PutBucketInventoryConfigurationRequest { +} +/** + * @public + * + * The output of {@link PutBucketInventoryConfigurationCommand}. + */ +export interface PutBucketInventoryConfigurationCommandOutput extends __MetadataBearer { +} +declare const PutBucketInventoryConfigurationCommand_base: { + new (input: PutBucketInventoryConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutBucketInventoryConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

This implementation of the PUT action adds an S3 Inventory configuration (identified by + * the inventory ID) to the bucket. You can have up to 1,000 inventory configurations per bucket.

+ *

Amazon S3 inventory generates inventories of the objects in the bucket on a daily or weekly basis, and + * the results are published to a flat file. The bucket that is inventoried is called the + * source bucket, and the bucket where the inventory flat file is stored is called + * the destination bucket. The destination bucket must be in the + * same Amazon Web Services Region as the source bucket.

+ *

When you configure an inventory for a source bucket, you specify the + * destination bucket where you want the inventory to be stored, and whether to + * generate the inventory daily or weekly. You can also configure what object metadata to include and + * whether to inventory all object versions or only current versions. For more information, see Amazon S3 Inventory in the + * Amazon S3 User Guide.

+ * + *

You must create a bucket policy on the destination bucket to grant + * permissions to Amazon S3 to write objects to the bucket in the defined location. For an example policy, see + * Granting + * Permissions for Amazon S3 Inventory and Storage Class Analysis.

+ *
+ *
+ *
Permissions
+ *
+ *

To use this operation, you must have permission to perform the + * s3:PutInventoryConfiguration action. The bucket owner has this permission by + * default and can grant this permission to others.

+ *

The s3:PutInventoryConfiguration permission allows a user to create an S3 Inventory + * report that includes all object metadata fields available and to specify the destination bucket to + * store the inventory. A user with read access to objects in the destination bucket can also access + * all object metadata fields that are available in the inventory report.

+ *

To restrict access to an inventory report, see Restricting access to an Amazon S3 Inventory report in the + * Amazon S3 User Guide. For more information about the metadata fields available + * in S3 Inventory, see Amazon S3 Inventory + * lists in the Amazon S3 User Guide. For more information about + * permissions, see Permissions related to bucket subresource operations and Identity and access management in + * Amazon S3 in the Amazon S3 User Guide.

+ *
+ *
+ *

+ * PutBucketInventoryConfiguration has the following special errors:

+ *
+ *
HTTP 400 Bad Request Error
+ *
+ *

+ * Code: InvalidArgument

+ *

+ * Cause: Invalid Argument

+ *
+ *
HTTP 400 Bad Request Error
+ *
+ *

+ * Code: TooManyConfigurations

+ *

+ * Cause: You are attempting to create a new configuration but have already + * reached the 1,000-configuration limit.

+ *
+ *
HTTP 403 Forbidden Error
+ *
+ *

+ * Cause: You are not the owner of the specified bucket, or you do not have + * the s3:PutInventoryConfiguration bucket permission to set the configuration on the + * bucket.

+ *
+ *
+ *

The following operations are related to PutBucketInventoryConfiguration:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutBucketInventoryConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutBucketInventoryConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutBucketInventoryConfigurationRequest + * Bucket: "STRING_VALUE", // required + * Id: "STRING_VALUE", // required + * InventoryConfiguration: { // InventoryConfiguration + * Destination: { // InventoryDestination + * S3BucketDestination: { // InventoryS3BucketDestination + * AccountId: "STRING_VALUE", + * Bucket: "STRING_VALUE", // required + * Format: "CSV" || "ORC" || "Parquet", // required + * Prefix: "STRING_VALUE", + * Encryption: { // InventoryEncryption + * SSES3: {}, + * SSEKMS: { // SSEKMS + * KeyId: "STRING_VALUE", // required + * }, + * }, + * }, + * }, + * IsEnabled: true || false, // required + * Filter: { // InventoryFilter + * Prefix: "STRING_VALUE", // required + * }, + * Id: "STRING_VALUE", // required + * IncludedObjectVersions: "All" || "Current", // required + * OptionalFields: [ // InventoryOptionalFields + * "Size" || "LastModifiedDate" || "StorageClass" || "ETag" || "IsMultipartUploaded" || "ReplicationStatus" || "EncryptionStatus" || "ObjectLockRetainUntilDate" || "ObjectLockMode" || "ObjectLockLegalHoldStatus" || "IntelligentTieringAccessTier" || "BucketKeyStatus" || "ChecksumAlgorithm" || "ObjectAccessControlList" || "ObjectOwner" || "LifecycleExpirationDate", + * ], + * Schedule: { // InventorySchedule + * Frequency: "Daily" || "Weekly", // required + * }, + * }, + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new PutBucketInventoryConfigurationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PutBucketInventoryConfigurationCommandInput - {@link PutBucketInventoryConfigurationCommandInput} + * @returns {@link PutBucketInventoryConfigurationCommandOutput} + * @see {@link PutBucketInventoryConfigurationCommandInput} for command's `input` shape. + * @see {@link PutBucketInventoryConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class PutBucketInventoryConfigurationCommand extends PutBucketInventoryConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutBucketInventoryConfigurationRequest; + output: {}; + }; + sdk: { + input: PutBucketInventoryConfigurationCommandInput; + output: PutBucketInventoryConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts new file mode 100644 index 0000000..7d2c948 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts @@ -0,0 +1,292 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutBucketLifecycleConfigurationOutput, PutBucketLifecycleConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutBucketLifecycleConfigurationCommand}. + */ +export interface PutBucketLifecycleConfigurationCommandInput extends PutBucketLifecycleConfigurationRequest { +} +/** + * @public + * + * The output of {@link PutBucketLifecycleConfigurationCommand}. + */ +export interface PutBucketLifecycleConfigurationCommandOutput extends PutBucketLifecycleConfigurationOutput, __MetadataBearer { +} +declare const PutBucketLifecycleConfigurationCommand_base: { + new (input: PutBucketLifecycleConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutBucketLifecycleConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Creates a new lifecycle configuration for the bucket or replaces an existing lifecycle + * configuration. Keep in mind that this will overwrite an existing lifecycle configuration, so if you want + * to retain any configuration details, they must be included in the new lifecycle configuration. For + * information about lifecycle configuration, see Managing your storage + * lifecycle.

+ * + *

Bucket lifecycle configuration now supports specifying a lifecycle rule using an object key name + * prefix, one or more object tags, object size, or any combination of these. Accordingly, this section + * describes the latest API. The previous version of the API supported filtering based only on an object + * key name prefix, which is supported for backward compatibility. For the related API description, see + * PutBucketLifecycle.

+ *
+ *
+ *
Rules
+ *
+ *

You specify the lifecycle configuration in your request body. The lifecycle configuration is + * specified as XML consisting of one or more rules. An Amazon S3 Lifecycle configuration can have up to + * 1,000 rules. This limit is not adjustable.

+ *

Bucket lifecycle configuration supports specifying a lifecycle rule using an object key name + * prefix, one or more object tags, object size, or any combination of these. Accordingly, this + * section describes the latest API. The previous version of the API supported filtering based only + * on an object key name prefix, which is supported for backward compatibility for general purpose + * buckets. For the related API description, see PutBucketLifecycle.

+ * + *

Lifecyle configurations for directory buckets only support expiring objects and cancelling + * multipart uploads. Expiring of versioned objects,transitions and tag filters are not + * supported.

+ *
+ *

A lifecycle rule consists of the following:

+ *
    + *
  • + *

    A filter identifying a subset of objects to which the rule applies. The filter can be + * based on a key name prefix, object tags, object size, or any combination of these.

    + *
  • + *
  • + *

    A status indicating whether the rule is in effect.

    + *
  • + *
  • + *

    One or more lifecycle transition and expiration actions that you want Amazon S3 to perform on + * the objects identified by the filter. If the state of your bucket is versioning-enabled or + * versioning-suspended, you can have many versions of the same object (one current version and + * zero or more noncurrent versions). Amazon S3 provides predefined actions that you can specify for + * current and noncurrent object versions.

    + *
  • + *
+ *

For more information, see Object Lifecycle Management and + * Lifecycle + * Configuration Elements.

+ *
+ *
Permissions
+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - By default, all Amazon S3 + * resources are private, including buckets, objects, and related subresources (for example, + * lifecycle configuration and website configuration). Only the resource owner (that is, the + * Amazon Web Services account that created it) can access the resource. The resource owner can optionally + * grant access permissions to others by writing an access policy. For this operation, a user + * must have the s3:PutLifecycleConfiguration permission.

    + *

    You can also explicitly deny permissions. An explicit deny also supersedes any other + * permissions. If you want to block users or accounts from removing or deleting objects from + * your bucket, you must deny them permissions for the following actions:

    + * + *
  • + *
+ *
    + *
  • + *

    + * Directory bucket permissions - You must have the + * s3express:PutLifecycleConfiguration permission in an IAM identity-based policy + * to use this operation. Cross-account access to this API operation isn't supported. The + * resource owner can optionally grant access permissions to others by creating a role or user + * for them as long as they are within the same account as the owner and resource.

    + *

    For more information about directory bucket policies and permissions, see Authorizing Regional endpoint APIs with IAM in the Amazon S3 User + * Guide.

    + * + *

    + * Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. + * For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

    + *
    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * s3express-control.region.amazonaws.com.

+ *

The following operations are related to PutBucketLifecycleConfiguration:

+ * + *
+ *
+ * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutBucketLifecycleConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutBucketLifecycleConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutBucketLifecycleConfigurationRequest + * Bucket: "STRING_VALUE", // required + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * LifecycleConfiguration: { // BucketLifecycleConfiguration + * Rules: [ // LifecycleRules // required + * { // LifecycleRule + * Expiration: { // LifecycleExpiration + * Date: new Date("TIMESTAMP"), + * Days: Number("int"), + * ExpiredObjectDeleteMarker: true || false, + * }, + * ID: "STRING_VALUE", + * Prefix: "STRING_VALUE", + * Filter: { // LifecycleRuleFilter + * Prefix: "STRING_VALUE", + * Tag: { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ObjectSizeGreaterThan: Number("long"), + * ObjectSizeLessThan: Number("long"), + * And: { // LifecycleRuleAndOperator + * Prefix: "STRING_VALUE", + * Tags: [ // TagSet + * { + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * ObjectSizeGreaterThan: Number("long"), + * ObjectSizeLessThan: Number("long"), + * }, + * }, + * Status: "Enabled" || "Disabled", // required + * Transitions: [ // TransitionList + * { // Transition + * Date: new Date("TIMESTAMP"), + * Days: Number("int"), + * StorageClass: "GLACIER" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "DEEP_ARCHIVE" || "GLACIER_IR", + * }, + * ], + * NoncurrentVersionTransitions: [ // NoncurrentVersionTransitionList + * { // NoncurrentVersionTransition + * NoncurrentDays: Number("int"), + * StorageClass: "GLACIER" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "DEEP_ARCHIVE" || "GLACIER_IR", + * NewerNoncurrentVersions: Number("int"), + * }, + * ], + * NoncurrentVersionExpiration: { // NoncurrentVersionExpiration + * NoncurrentDays: Number("int"), + * NewerNoncurrentVersions: Number("int"), + * }, + * AbortIncompleteMultipartUpload: { // AbortIncompleteMultipartUpload + * DaysAfterInitiation: Number("int"), + * }, + * }, + * ], + * }, + * ExpectedBucketOwner: "STRING_VALUE", + * TransitionDefaultMinimumObjectSize: "varies_by_storage_class" || "all_storage_classes_128K", + * }; + * const command = new PutBucketLifecycleConfigurationCommand(input); + * const response = await client.send(command); + * // { // PutBucketLifecycleConfigurationOutput + * // TransitionDefaultMinimumObjectSize: "varies_by_storage_class" || "all_storage_classes_128K", + * // }; + * + * ``` + * + * @param PutBucketLifecycleConfigurationCommandInput - {@link PutBucketLifecycleConfigurationCommandInput} + * @returns {@link PutBucketLifecycleConfigurationCommandOutput} + * @see {@link PutBucketLifecycleConfigurationCommandInput} for command's `input` shape. + * @see {@link PutBucketLifecycleConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example Put bucket lifecycle + * ```javascript + * // The following example replaces existing lifecycle configuration, if any, on the specified bucket. + * const input = { + * Bucket: "examplebucket", + * LifecycleConfiguration: { + * Rules: [ + * { + * Expiration: { + * Days: 3650 + * }, + * Filter: { + * Prefix: "documents/" + * }, + * ID: "TestOnly", + * Status: "Enabled", + * Transitions: [ + * { + * Days: 365, + * StorageClass: "GLACIER" + * } + * ] + * } + * ] + * } + * }; + * const command = new PutBucketLifecycleConfigurationCommand(input); + * const response = await client.send(command); + * /* response is + * { /* metadata only *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class PutBucketLifecycleConfigurationCommand extends PutBucketLifecycleConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutBucketLifecycleConfigurationRequest; + output: PutBucketLifecycleConfigurationOutput; + }; + sdk: { + input: PutBucketLifecycleConfigurationCommandInput; + output: PutBucketLifecycleConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts new file mode 100644 index 0000000..16c5a43 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts @@ -0,0 +1,218 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutBucketLoggingRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutBucketLoggingCommand}. + */ +export interface PutBucketLoggingCommandInput extends PutBucketLoggingRequest { +} +/** + * @public + * + * The output of {@link PutBucketLoggingCommand}. + */ +export interface PutBucketLoggingCommandOutput extends __MetadataBearer { +} +declare const PutBucketLoggingCommand_base: { + new (input: PutBucketLoggingCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutBucketLoggingCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

End of support notice: As of October 1, 2025, Amazon S3 has discontinued support for Email Grantee Access Control Lists (ACLs). If you attempt to use an Email Grantee ACL in a request after October 1, 2025, + * the request will receive an HTTP 405 (Method Not Allowed) error.

+ *

This change affects the following Amazon Web Services Regions: US East (N. Virginia), US West (N. California), US West (Oregon), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo), Europe (Ireland), and South America (São Paulo).

+ *
+ * + *

This operation is not supported for directory buckets.

+ *
+ *

Set the logging parameters for a bucket and to specify permissions for who can view and modify the + * logging parameters. All logs are saved to buckets in the same Amazon Web Services Region as the source bucket. To set + * the logging status of a bucket, you must be the bucket owner.

+ *

The bucket owner is automatically granted FULL_CONTROL to all logs. You use the Grantee + * request element to grant access to other people. The Permissions request element specifies + * the kind of access the grantee has to the logs.

+ * + *

If the target bucket for log delivery uses the bucket owner enforced setting for S3 Object + * Ownership, you can't use the Grantee request element to grant access to others. + * Permissions can only be granted using policies. For more information, see Permissions for server access log delivery in the + * Amazon S3 User Guide.

+ *
+ *
+ *
Grantee Values
+ *
+ *

You can specify the person (grantee) to whom you're assigning access rights (by using request + * elements) in the following ways. For examples of how to specify these grantee values in JSON + * format, see the Amazon Web Services CLI example in Enabling Amazon S3 server + * access logging in the Amazon S3 User Guide.

+ *
    + *
  • + *

    By the person's ID:

    + *

    + * <>ID<><>GranteesEmail<> + * + *

    + *

    + * DisplayName is optional and ignored in the request.

    + *
  • + *
  • + *

    By Email address:

    + *

    + * <>Grantees@email.com<> + *

    + *

    The grantee is resolved to the CanonicalUser and, in a response to a + * GETObjectAcl request, appears as the CanonicalUser.

    + *
  • + *
  • + *

    By URI:

    + *

    + * <>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<> + *

    + *
  • + *
+ *
+ *
+ *

To enable logging, you use LoggingEnabled and its children request elements. To disable + * logging, you use an empty BucketLoggingStatus request element:

+ *

+ * + *

+ *

For more information about server access logging, see Server Access Logging in the + * Amazon S3 User Guide.

+ *

For more information about creating a bucket, see CreateBucket. For more information about + * returning the logging status of a bucket, see GetBucketLogging.

+ *

The following operations are related to PutBucketLogging:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutBucketLoggingCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutBucketLoggingCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutBucketLoggingRequest + * Bucket: "STRING_VALUE", // required + * BucketLoggingStatus: { // BucketLoggingStatus + * LoggingEnabled: { // LoggingEnabled + * TargetBucket: "STRING_VALUE", // required + * TargetGrants: [ // TargetGrants + * { // TargetGrant + * Grantee: { // Grantee + * DisplayName: "STRING_VALUE", + * EmailAddress: "STRING_VALUE", + * ID: "STRING_VALUE", + * URI: "STRING_VALUE", + * Type: "CanonicalUser" || "AmazonCustomerByEmail" || "Group", // required + * }, + * Permission: "FULL_CONTROL" || "READ" || "WRITE", + * }, + * ], + * TargetPrefix: "STRING_VALUE", // required + * TargetObjectKeyFormat: { // TargetObjectKeyFormat + * SimplePrefix: {}, + * PartitionedPrefix: { // PartitionedPrefix + * PartitionDateSource: "EventTime" || "DeliveryTime", + * }, + * }, + * }, + * }, + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new PutBucketLoggingCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PutBucketLoggingCommandInput - {@link PutBucketLoggingCommandInput} + * @returns {@link PutBucketLoggingCommandOutput} + * @see {@link PutBucketLoggingCommandInput} for command's `input` shape. + * @see {@link PutBucketLoggingCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example Set logging configuration for a bucket + * ```javascript + * // The following example sets logging policy on a bucket. For the Log Delivery group to deliver logs to the destination bucket, it needs permission for the READ_ACP action which the policy grants. + * const input = { + * Bucket: "sourcebucket", + * BucketLoggingStatus: { + * LoggingEnabled: { + * TargetBucket: "targetbucket", + * TargetGrants: [ + * { + * Grantee: { + * Type: "Group", + * URI: "http://acs.amazonaws.com/groups/global/AllUsers" + * }, + * Permission: "READ" + * } + * ], + * TargetPrefix: "MyBucketLogs/" + * } + * } + * }; + * const command = new PutBucketLoggingCommand(input); + * const response = await client.send(command); + * /* response is + * { /* metadata only *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class PutBucketLoggingCommand extends PutBucketLoggingCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutBucketLoggingRequest; + output: {}; + }; + sdk: { + input: PutBucketLoggingCommandInput; + output: PutBucketLoggingCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts new file mode 100644 index 0000000..86689f5 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts @@ -0,0 +1,176 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutBucketMetricsConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutBucketMetricsConfigurationCommand}. + */ +export interface PutBucketMetricsConfigurationCommandInput extends PutBucketMetricsConfigurationRequest { +} +/** + * @public + * + * The output of {@link PutBucketMetricsConfigurationCommand}. + */ +export interface PutBucketMetricsConfigurationCommandOutput extends __MetadataBearer { +} +declare const PutBucketMetricsConfigurationCommand_base: { + new (input: PutBucketMetricsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutBucketMetricsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Sets a metrics configuration (specified by the metrics configuration ID) for the bucket. You can + * have up to 1,000 metrics configurations per bucket. If you're updating an existing metrics + * configuration, note that this is a full replacement of the existing metrics configuration. If you don't + * include the elements you want to keep, they are erased.

+ * + *

+ * Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. + * For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

+ *
+ *
+ *
Permissions
+ *
+ *

To use this operation, you must have permissions to perform the + * s3:PutMetricsConfiguration action. The bucket owner has this permission by default. The + * bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

+ *
    + *
  • + *

    + * General purpose bucket permissions - The + * s3:PutMetricsConfiguration permission is required in a policy. For more information + * about general purpose buckets permissions, see Using Bucket Policies and User + * Policies in the Amazon S3 User Guide.

    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to + * this API operation, you must have the s3express:PutMetricsConfiguration permission in + * an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. + * For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

+ *
+ *
+ *

For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon + * CloudWatch.

+ *

The following operations are related to PutBucketMetricsConfiguration:

+ * + *

+ * PutBucketMetricsConfiguration has the following special error:

+ *
    + *
  • + *

    Error code: TooManyConfigurations + *

    + *
      + *
    • + *

      Description: You are attempting to create a new configuration but have already reached the + * 1,000-configuration limit.

      + *
    • + *
    • + *

      HTTP Status Code: HTTP 400 Bad Request

      + *
    • + *
    + *
  • + *
+ * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutBucketMetricsConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutBucketMetricsConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutBucketMetricsConfigurationRequest + * Bucket: "STRING_VALUE", // required + * Id: "STRING_VALUE", // required + * MetricsConfiguration: { // MetricsConfiguration + * Id: "STRING_VALUE", // required + * Filter: { // MetricsFilter Union: only one key present + * Prefix: "STRING_VALUE", + * Tag: { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * AccessPointArn: "STRING_VALUE", + * And: { // MetricsAndOperator + * Prefix: "STRING_VALUE", + * Tags: [ // TagSet + * { + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * AccessPointArn: "STRING_VALUE", + * }, + * }, + * }, + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new PutBucketMetricsConfigurationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PutBucketMetricsConfigurationCommandInput - {@link PutBucketMetricsConfigurationCommandInput} + * @returns {@link PutBucketMetricsConfigurationCommandOutput} + * @see {@link PutBucketMetricsConfigurationCommandInput} for command's `input` shape. + * @see {@link PutBucketMetricsConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class PutBucketMetricsConfigurationCommand extends PutBucketMetricsConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutBucketMetricsConfigurationRequest; + output: {}; + }; + sdk: { + input: PutBucketMetricsConfigurationCommandInput; + output: PutBucketMetricsConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts new file mode 100644 index 0000000..fbeb238 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts @@ -0,0 +1,208 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutBucketNotificationConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutBucketNotificationConfigurationCommand}. + */ +export interface PutBucketNotificationConfigurationCommandInput extends PutBucketNotificationConfigurationRequest { +} +/** + * @public + * + * The output of {@link PutBucketNotificationConfigurationCommand}. + */ +export interface PutBucketNotificationConfigurationCommandOutput extends __MetadataBearer { +} +declare const PutBucketNotificationConfigurationCommand_base: { + new (input: PutBucketNotificationConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutBucketNotificationConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Enables notifications of specified events for a bucket. For more information about event + * notifications, see Configuring Event Notifications.

+ *

Using this API, you can replace an existing notification configuration. The configuration is an XML + * file that defines the event types that you want Amazon S3 to publish and the destination where you want Amazon S3 + * to publish an event notification when it detects an event of the specified type.

+ *

By default, your bucket has no event notifications configured. That is, the notification + * configuration will be an empty NotificationConfiguration.

+ *

+ * + *

+ *

+ * + *

+ *

This action replaces the existing notification configuration with the configuration you include in + * the request body.

+ *

After Amazon S3 receives this request, it first verifies that any Amazon Simple Notification Service + * (Amazon SNS) or Amazon Simple Queue Service (Amazon SQS) destination exists, and that the bucket owner + * has permission to publish to it by sending a test notification. In the case of Lambda destinations, + * Amazon S3 verifies that the Lambda function permissions grant Amazon S3 permission to invoke the function from the + * Amazon S3 bucket. For more information, see Configuring Notifications for Amazon S3 + * Events.

+ *

You can disable notifications by adding the empty NotificationConfiguration element.

+ *

For more information about the number of event notification configurations that you can create per + * bucket, see Amazon S3 service + * quotas in Amazon Web Services General Reference.

+ *

By default, only the bucket owner can configure notifications on a bucket. However, bucket owners + * can use a bucket policy to grant permission to other users to set this configuration with the required + * s3:PutBucketNotification permission.

+ * + *

The PUT notification is an atomic operation. For example, suppose your notification configuration + * includes SNS topic, SQS queue, and Lambda function configurations. When you send a PUT request with + * this configuration, Amazon S3 sends test messages to your SNS topic. If the message fails, the entire PUT + * action will fail, and Amazon S3 will not add the configuration to your bucket.

+ *
+ *

If the configuration in the request body includes only one TopicConfiguration + * specifying only the s3:ReducedRedundancyLostObject event type, the response will also + * include the x-amz-sns-test-message-id header containing the message ID of the test + * notification sent to the topic.

+ *

The following action is related to PutBucketNotificationConfiguration:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutBucketNotificationConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutBucketNotificationConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutBucketNotificationConfigurationRequest + * Bucket: "STRING_VALUE", // required + * NotificationConfiguration: { // NotificationConfiguration + * TopicConfigurations: [ // TopicConfigurationList + * { // TopicConfiguration + * Id: "STRING_VALUE", + * TopicArn: "STRING_VALUE", // required + * Events: [ // EventList // required + * "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete", + * ], + * Filter: { // NotificationConfigurationFilter + * Key: { // S3KeyFilter + * FilterRules: [ // FilterRuleList + * { // FilterRule + * Name: "prefix" || "suffix", + * Value: "STRING_VALUE", + * }, + * ], + * }, + * }, + * }, + * ], + * QueueConfigurations: [ // QueueConfigurationList + * { // QueueConfiguration + * Id: "STRING_VALUE", + * QueueArn: "STRING_VALUE", // required + * Events: [ // required + * "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete", + * ], + * Filter: { + * Key: { + * FilterRules: [ + * { + * Name: "prefix" || "suffix", + * Value: "STRING_VALUE", + * }, + * ], + * }, + * }, + * }, + * ], + * LambdaFunctionConfigurations: [ // LambdaFunctionConfigurationList + * { // LambdaFunctionConfiguration + * Id: "STRING_VALUE", + * LambdaFunctionArn: "STRING_VALUE", // required + * Events: [ // required + * "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete", + * ], + * Filter: { + * Key: { + * FilterRules: [ + * { + * Name: "prefix" || "suffix", + * Value: "STRING_VALUE", + * }, + * ], + * }, + * }, + * }, + * ], + * EventBridgeConfiguration: {}, + * }, + * ExpectedBucketOwner: "STRING_VALUE", + * SkipDestinationValidation: true || false, + * }; + * const command = new PutBucketNotificationConfigurationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PutBucketNotificationConfigurationCommandInput - {@link PutBucketNotificationConfigurationCommandInput} + * @returns {@link PutBucketNotificationConfigurationCommandOutput} + * @see {@link PutBucketNotificationConfigurationCommandInput} for command's `input` shape. + * @see {@link PutBucketNotificationConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example Set notification configuration for a bucket + * ```javascript + * // The following example sets notification configuration on a bucket to publish the object created events to an SNS topic. + * const input = { + * Bucket: "examplebucket", + * NotificationConfiguration: { + * TopicConfigurations: [ + * { + * Events: [ + * "s3:ObjectCreated:*" + * ], + * TopicArn: "arn:aws:sns:us-west-2:123456789012:s3-notification-topic" + * } + * ] + * } + * }; + * const command = new PutBucketNotificationConfigurationCommand(input); + * const response = await client.send(command); + * /* response is + * { /* metadata only *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class PutBucketNotificationConfigurationCommand extends PutBucketNotificationConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutBucketNotificationConfigurationRequest; + output: {}; + }; + sdk: { + input: PutBucketNotificationConfigurationCommandInput; + output: PutBucketNotificationConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts new file mode 100644 index 0000000..e3607b4 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts @@ -0,0 +1,104 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutBucketOwnershipControlsRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutBucketOwnershipControlsCommand}. + */ +export interface PutBucketOwnershipControlsCommandInput extends PutBucketOwnershipControlsRequest { +} +/** + * @public + * + * The output of {@link PutBucketOwnershipControlsCommand}. + */ +export interface PutBucketOwnershipControlsCommandOutput extends __MetadataBearer { +} +declare const PutBucketOwnershipControlsCommand_base: { + new (input: PutBucketOwnershipControlsCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutBucketOwnershipControlsCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Creates or modifies OwnershipControls for an Amazon S3 bucket. To use this operation, you + * must have the s3:PutBucketOwnershipControls permission. For more information about Amazon S3 + * permissions, see Specifying permissions in a policy.

+ *

For information about Amazon S3 Object Ownership, see Using object ownership.

+ *

The following operations are related to PutBucketOwnershipControls:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutBucketOwnershipControlsCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutBucketOwnershipControlsCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutBucketOwnershipControlsRequest + * Bucket: "STRING_VALUE", // required + * ContentMD5: "STRING_VALUE", + * ExpectedBucketOwner: "STRING_VALUE", + * OwnershipControls: { // OwnershipControls + * Rules: [ // OwnershipControlsRules // required + * { // OwnershipControlsRule + * ObjectOwnership: "BucketOwnerPreferred" || "ObjectWriter" || "BucketOwnerEnforced", // required + * }, + * ], + * }, + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * }; + * const command = new PutBucketOwnershipControlsCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PutBucketOwnershipControlsCommandInput - {@link PutBucketOwnershipControlsCommandInput} + * @returns {@link PutBucketOwnershipControlsCommandOutput} + * @see {@link PutBucketOwnershipControlsCommandInput} for command's `input` shape. + * @see {@link PutBucketOwnershipControlsCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class PutBucketOwnershipControlsCommand extends PutBucketOwnershipControlsCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutBucketOwnershipControlsRequest; + output: {}; + }; + sdk: { + input: PutBucketOwnershipControlsCommandInput; + output: PutBucketOwnershipControlsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts new file mode 100644 index 0000000..38ba2c1 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts @@ -0,0 +1,165 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutBucketPolicyRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutBucketPolicyCommand}. + */ +export interface PutBucketPolicyCommandInput extends PutBucketPolicyRequest { +} +/** + * @public + * + * The output of {@link PutBucketPolicyCommand}. + */ +export interface PutBucketPolicyCommandOutput extends __MetadataBearer { +} +declare const PutBucketPolicyCommand_base: { + new (input: PutBucketPolicyCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutBucketPolicyCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Applies an Amazon S3 bucket policy to an Amazon S3 bucket.

+ * + *

+ * Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. + * For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

+ *
+ *
+ *
Permissions
+ *
+ *

If you are using an identity other than the root user of the Amazon Web Services account that owns the + * bucket, the calling identity must both have the PutBucketPolicy permissions on the + * specified bucket and belong to the bucket owner's account in order to use this operation.

+ *

If you don't have PutBucketPolicy permissions, Amazon S3 returns a 403 Access + * Denied error. If you have the correct permissions, but you're not using an identity that + * belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not Allowed + * error.

+ * + *

To ensure that bucket owners don't inadvertently lock themselves out of their own buckets, + * the root principal in a bucket owner's Amazon Web Services account can perform the + * GetBucketPolicy, PutBucketPolicy, and + * DeleteBucketPolicy API actions, even if their bucket policy explicitly denies the + * root principal's access. Bucket owner root principals can only be blocked from performing these + * API actions by VPC endpoint policies and Amazon Web Services Organizations policies.

+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - The + * s3:PutBucketPolicy permission is required in a policy. For more information + * about general purpose buckets bucket policies, see Using Bucket Policies and User + * Policies in the Amazon S3 User Guide.

    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to + * this API operation, you must have the s3express:PutBucketPolicy permission in + * an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. + * For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    + *
  • + *
+ *
+ *
Example bucket policies
+ *
+ *

+ * General purpose buckets example bucket policies - See Bucket policy + * examples in the Amazon S3 User Guide.

+ *

+ * Directory bucket example bucket policies - See Example + * bucket policies for S3 Express One Zone in the Amazon S3 User Guide.

+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

+ *
+ *
+ *

The following operations are related to PutBucketPolicy:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutBucketPolicyCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutBucketPolicyCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutBucketPolicyRequest + * Bucket: "STRING_VALUE", // required + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * ConfirmRemoveSelfBucketAccess: true || false, + * Policy: "STRING_VALUE", // required + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new PutBucketPolicyCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PutBucketPolicyCommandInput - {@link PutBucketPolicyCommandInput} + * @returns {@link PutBucketPolicyCommandOutput} + * @see {@link PutBucketPolicyCommandInput} for command's `input` shape. + * @see {@link PutBucketPolicyCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example Set bucket policy + * ```javascript + * // The following example sets a permission policy on a bucket. + * const input = { + * Bucket: "examplebucket", + * Policy: `{"Version": "2012-10-17", "Statement": [{ "Sid": "id-1","Effect": "Allow","Principal": {"AWS": "arn:aws:iam::123456789012:root"}, "Action": [ "s3:PutObject","s3:PutObjectAcl"], "Resource": ["arn:aws:s3:::acl3/*" ] } ]}` + * }; + * const command = new PutBucketPolicyCommand(input); + * const response = await client.send(command); + * /* response is + * { /* metadata only *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class PutBucketPolicyCommand extends PutBucketPolicyCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutBucketPolicyRequest; + output: {}; + }; + sdk: { + input: PutBucketPolicyCommandInput; + output: PutBucketPolicyCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts new file mode 100644 index 0000000..912859c --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts @@ -0,0 +1,234 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutBucketReplicationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutBucketReplicationCommand}. + */ +export interface PutBucketReplicationCommandInput extends PutBucketReplicationRequest { +} +/** + * @public + * + * The output of {@link PutBucketReplicationCommand}. + */ +export interface PutBucketReplicationCommandOutput extends __MetadataBearer { +} +declare const PutBucketReplicationCommand_base: { + new (input: PutBucketReplicationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutBucketReplicationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Creates a replication configuration or replaces an existing one. For more information, see Replication in the + * Amazon S3 User Guide.

+ *

Specify the replication configuration in the request body. In the replication configuration, you + * provide the name of the destination bucket or buckets where you want Amazon S3 to replicate objects, the + * IAM role that Amazon S3 can assume to replicate objects on your behalf, and other relevant information. You + * can invoke this request for a specific Amazon Web Services Region by using the + * aws:RequestedRegion + * condition key.

+ *

A replication configuration must include at least one rule, and can contain a maximum of 1,000. Each + * rule identifies a subset of objects to replicate by filtering the objects in the source bucket. To + * choose additional subsets of objects to replicate, add a rule for each subset.

+ *

To specify a subset of the objects in the source bucket to apply a replication rule to, add the + * Filter element as a child of the Rule element. You can filter objects based on an object key prefix, one + * or more object tags, or both. When you add the Filter element in the configuration, you must also add + * the following elements: DeleteMarkerReplication, Status, and + * Priority.

+ * + *

If you are using an earlier version of the replication configuration, Amazon S3 handles replication of + * delete markers differently. For more information, see Backward Compatibility.

+ *
+ *

For information about enabling versioning on a bucket, see Using Versioning.

+ *
+ *
Handling Replication of Encrypted Objects
+ *
+ *

By default, Amazon S3 doesn't replicate objects that are stored at rest using server-side + * encryption with KMS keys. To replicate Amazon Web Services KMS-encrypted objects, add the following: + * SourceSelectionCriteria, SseKmsEncryptedObjects, Status, + * EncryptionConfiguration, and ReplicaKmsKeyID. For information about + * replication configuration, see Replicating Objects Created + * with SSE Using KMS keys.

+ *

For information on PutBucketReplication errors, see List of + * replication-related error codes + *

+ *
+ *
Permissions
+ *
+ *

To create a PutBucketReplication request, you must have + * s3:PutReplicationConfiguration permissions for the bucket. + * + *

+ *

By default, a resource owner, in this case the Amazon Web Services account that created the bucket, can + * perform this operation. The resource owner can also grant others permissions to perform the + * operation. For more information about permissions, see Specifying Permissions in a Policy + * and Managing + * Access Permissions to Your Amazon S3 Resources.

+ * + *

To perform this operation, the user or role performing the action must have the iam:PassRole permission.

+ *
+ *
+ *
+ *

The following operations are related to PutBucketReplication:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutBucketReplicationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutBucketReplicationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutBucketReplicationRequest + * Bucket: "STRING_VALUE", // required + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * ReplicationConfiguration: { // ReplicationConfiguration + * Role: "STRING_VALUE", // required + * Rules: [ // ReplicationRules // required + * { // ReplicationRule + * ID: "STRING_VALUE", + * Priority: Number("int"), + * Prefix: "STRING_VALUE", + * Filter: { // ReplicationRuleFilter + * Prefix: "STRING_VALUE", + * Tag: { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * And: { // ReplicationRuleAndOperator + * Prefix: "STRING_VALUE", + * Tags: [ // TagSet + * { + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * }, + * }, + * Status: "Enabled" || "Disabled", // required + * SourceSelectionCriteria: { // SourceSelectionCriteria + * SseKmsEncryptedObjects: { // SseKmsEncryptedObjects + * Status: "Enabled" || "Disabled", // required + * }, + * ReplicaModifications: { // ReplicaModifications + * Status: "Enabled" || "Disabled", // required + * }, + * }, + * ExistingObjectReplication: { // ExistingObjectReplication + * Status: "Enabled" || "Disabled", // required + * }, + * Destination: { // Destination + * Bucket: "STRING_VALUE", // required + * Account: "STRING_VALUE", + * StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE" || "FSX_OPENZFS" || "FSX_ONTAP", + * AccessControlTranslation: { // AccessControlTranslation + * Owner: "Destination", // required + * }, + * EncryptionConfiguration: { // EncryptionConfiguration + * ReplicaKmsKeyID: "STRING_VALUE", + * }, + * ReplicationTime: { // ReplicationTime + * Status: "Enabled" || "Disabled", // required + * Time: { // ReplicationTimeValue + * Minutes: Number("int"), + * }, + * }, + * Metrics: { // Metrics + * Status: "Enabled" || "Disabled", // required + * EventThreshold: { + * Minutes: Number("int"), + * }, + * }, + * }, + * DeleteMarkerReplication: { // DeleteMarkerReplication + * Status: "Enabled" || "Disabled", + * }, + * }, + * ], + * }, + * Token: "STRING_VALUE", + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new PutBucketReplicationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PutBucketReplicationCommandInput - {@link PutBucketReplicationCommandInput} + * @returns {@link PutBucketReplicationCommandOutput} + * @see {@link PutBucketReplicationCommandInput} for command's `input` shape. + * @see {@link PutBucketReplicationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example Set replication configuration on a bucket + * ```javascript + * // The following example sets replication configuration on a bucket. + * const input = { + * Bucket: "examplebucket", + * ReplicationConfiguration: { + * Role: "arn:aws:iam::123456789012:role/examplerole", + * Rules: [ + * { + * Destination: { + * Bucket: "arn:aws:s3:::destinationbucket", + * StorageClass: "STANDARD" + * }, + * Prefix: "", + * Status: "Enabled" + * } + * ] + * } + * }; + * const command = new PutBucketReplicationCommand(input); + * const response = await client.send(command); + * /* response is + * { /* metadata only *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class PutBucketReplicationCommand extends PutBucketReplicationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutBucketReplicationRequest; + output: {}; + }; + sdk: { + input: PutBucketReplicationCommandInput; + output: PutBucketReplicationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts new file mode 100644 index 0000000..4954de6 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts @@ -0,0 +1,116 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutBucketRequestPaymentRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutBucketRequestPaymentCommand}. + */ +export interface PutBucketRequestPaymentCommandInput extends PutBucketRequestPaymentRequest { +} +/** + * @public + * + * The output of {@link PutBucketRequestPaymentCommand}. + */ +export interface PutBucketRequestPaymentCommandOutput extends __MetadataBearer { +} +declare const PutBucketRequestPaymentCommand_base: { + new (input: PutBucketRequestPaymentCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutBucketRequestPaymentCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Sets the request payment configuration for a bucket. By default, the bucket owner pays for downloads + * from the bucket. This configuration parameter enables the bucket owner (only) to specify that the person + * requesting the download will be charged for the download. For more information, see Requester Pays + * Buckets.

+ *

The following operations are related to PutBucketRequestPayment:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutBucketRequestPaymentCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutBucketRequestPaymentCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutBucketRequestPaymentRequest + * Bucket: "STRING_VALUE", // required + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * RequestPaymentConfiguration: { // RequestPaymentConfiguration + * Payer: "Requester" || "BucketOwner", // required + * }, + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new PutBucketRequestPaymentCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PutBucketRequestPaymentCommandInput - {@link PutBucketRequestPaymentCommandInput} + * @returns {@link PutBucketRequestPaymentCommandOutput} + * @see {@link PutBucketRequestPaymentCommandInput} for command's `input` shape. + * @see {@link PutBucketRequestPaymentCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example Set request payment configuration on a bucket. + * ```javascript + * // The following example sets request payment configuration on a bucket so that person requesting the download is charged. + * const input = { + * Bucket: "examplebucket", + * RequestPaymentConfiguration: { + * Payer: "Requester" + * } + * }; + * const command = new PutBucketRequestPaymentCommand(input); + * const response = await client.send(command); + * /* response is + * { /* metadata only *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class PutBucketRequestPaymentCommand extends PutBucketRequestPaymentCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutBucketRequestPaymentRequest; + output: {}; + }; + sdk: { + input: PutBucketRequestPaymentCommandInput; + output: PutBucketRequestPaymentCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts new file mode 100644 index 0000000..ea0e961 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts @@ -0,0 +1,165 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutBucketTaggingRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutBucketTaggingCommand}. + */ +export interface PutBucketTaggingCommandInput extends PutBucketTaggingRequest { +} +/** + * @public + * + * The output of {@link PutBucketTaggingCommand}. + */ +export interface PutBucketTaggingCommandOutput extends __MetadataBearer { +} +declare const PutBucketTaggingCommand_base: { + new (input: PutBucketTaggingCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutBucketTaggingCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Sets the tags for a general purpose bucket if attribute based access control (ABAC) is not enabled for the bucket. When you enable ABAC for a general purpose bucket, you can no longer use this operation for that bucket and must use the TagResource or UntagResource operations instead.

+ *

Use tags to organize your Amazon Web Services bill to reflect your own cost structure. To do this, sign up to get + * your Amazon Web Services account bill with tag key values included. Then, to see the cost of combined resources, + * organize your billing information according to resources with the same tag key values. For example, you + * can tag several resources with a specific application name, and then organize your billing information + * to see the total cost of that application across several services. For more information, see Cost Allocation and + * Tagging and Using Cost Allocation in Amazon S3 Bucket Tags.

+ * + *

When this operation sets the tags for a bucket, it will overwrite any current tags the bucket + * already has. You cannot use this operation to add tags to an existing list of tags.

+ *
+ *

To use this operation, you must have permissions to perform the s3:PutBucketTagging + * action. The bucket owner has this permission by default and can grant this permission to others. For + * more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources.

+ *

+ * PutBucketTagging has the following special errors. For more Amazon S3 errors see, Error Responses.

+ *
    + *
  • + *

    + * InvalidTag - The tag provided was not a valid tag. This error can occur if + * the tag did not pass input validation. For more information, see Using Cost Allocation in Amazon S3 Bucket + * Tags.

    + *
  • + *
  • + *

    + * MalformedXML - The XML provided does not match the schema.

    + *
  • + *
  • + *

    + * OperationAborted - A conflicting conditional action is currently in progress + * against this resource. Please try again.

    + *
  • + *
  • + *

    + * InternalError - The service was unable to apply the provided tag to the + * bucket.

    + *
  • + *
+ *

The following operations are related to PutBucketTagging:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutBucketTaggingCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutBucketTaggingCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutBucketTaggingRequest + * Bucket: "STRING_VALUE", // required + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * Tagging: { // Tagging + * TagSet: [ // TagSet // required + * { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * }, + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new PutBucketTaggingCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PutBucketTaggingCommandInput - {@link PutBucketTaggingCommandInput} + * @returns {@link PutBucketTaggingCommandOutput} + * @see {@link PutBucketTaggingCommandInput} for command's `input` shape. + * @see {@link PutBucketTaggingCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example Set tags on a bucket + * ```javascript + * // The following example sets tags on a bucket. Any existing tags are replaced. + * const input = { + * Bucket: "examplebucket", + * Tagging: { + * TagSet: [ + * { + * Key: "Key1", + * Value: "Value1" + * }, + * { + * Key: "Key2", + * Value: "Value2" + * } + * ] + * } + * }; + * const command = new PutBucketTaggingCommand(input); + * const response = await client.send(command); + * /* response is + * { /* metadata only *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class PutBucketTaggingCommand extends PutBucketTaggingCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutBucketTaggingRequest; + output: {}; + }; + sdk: { + input: PutBucketTaggingCommandInput; + output: PutBucketTaggingCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts new file mode 100644 index 0000000..d93bcf5 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts @@ -0,0 +1,148 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutBucketVersioningRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutBucketVersioningCommand}. + */ +export interface PutBucketVersioningCommandInput extends PutBucketVersioningRequest { +} +/** + * @public + * + * The output of {@link PutBucketVersioningCommand}. + */ +export interface PutBucketVersioningCommandOutput extends __MetadataBearer { +} +declare const PutBucketVersioningCommand_base: { + new (input: PutBucketVersioningCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutBucketVersioningCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ * + *

When you enable versioning on a bucket for the first time, it might take a short amount of time + * for the change to be fully propagated. While this change is propagating, you might encounter + * intermittent HTTP 404 NoSuchKey errors for requests to objects created or updated after + * enabling versioning. We recommend that you wait for 15 minutes after enabling versioning before + * issuing write operations (PUT or DELETE) on objects in the bucket.

+ *
+ *

Sets the versioning state of an existing bucket.

+ *

You can set the versioning state with one of the following values:

+ *

+ * Enabled—Enables versioning for the objects in the bucket. All + * objects added to the bucket receive a unique version ID.

+ *

+ * Suspended—Disables versioning for the objects in the bucket. All + * objects added to the bucket receive the version ID null.

+ *

If the versioning state has never been set on a bucket, it has no versioning state; a GetBucketVersioning request does not return a versioning state value.

+ *

In order to enable MFA Delete, you must be the bucket owner. If you are the bucket owner and want to + * enable MFA Delete in the bucket versioning configuration, you must include the x-amz-mfa + * request header and the Status and the MfaDelete request elements in a + * request to set the versioning state of the bucket.

+ * + *

If you have an object expiration lifecycle configuration in your non-versioned bucket and you want + * to maintain the same permanent delete behavior when you enable versioning, you must add a noncurrent + * expiration policy. The noncurrent expiration lifecycle configuration will manage the deletes of the + * noncurrent object versions in the version-enabled bucket. (A version-enabled bucket maintains one + * current and zero or more noncurrent object versions.) For more information, see Lifecycle and + * Versioning.

+ *
+ *

The following operations are related to PutBucketVersioning:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutBucketVersioningCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutBucketVersioningCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutBucketVersioningRequest + * Bucket: "STRING_VALUE", // required + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * MFA: "STRING_VALUE", + * VersioningConfiguration: { // VersioningConfiguration + * MFADelete: "Enabled" || "Disabled", + * Status: "Enabled" || "Suspended", + * }, + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new PutBucketVersioningCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PutBucketVersioningCommandInput - {@link PutBucketVersioningCommandInput} + * @returns {@link PutBucketVersioningCommandOutput} + * @see {@link PutBucketVersioningCommandInput} for command's `input` shape. + * @see {@link PutBucketVersioningCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example Set versioning configuration on a bucket + * ```javascript + * // The following example sets versioning configuration on bucket. The configuration enables versioning on the bucket. + * const input = { + * Bucket: "examplebucket", + * VersioningConfiguration: { + * MFADelete: "Disabled", + * Status: "Enabled" + * } + * }; + * const command = new PutBucketVersioningCommand(input); + * const response = await client.send(command); + * /* response is + * { /* metadata only *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class PutBucketVersioningCommand extends PutBucketVersioningCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutBucketVersioningRequest; + output: {}; + }; + sdk: { + input: PutBucketVersioningCommandInput; + output: PutBucketVersioningCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts new file mode 100644 index 0000000..2852360 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts @@ -0,0 +1,253 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutBucketWebsiteRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutBucketWebsiteCommand}. + */ +export interface PutBucketWebsiteCommandInput extends PutBucketWebsiteRequest { +} +/** + * @public + * + * The output of {@link PutBucketWebsiteCommand}. + */ +export interface PutBucketWebsiteCommandOutput extends __MetadataBearer { +} +declare const PutBucketWebsiteCommand_base: { + new (input: PutBucketWebsiteCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutBucketWebsiteCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Sets the configuration of the website that is specified in the website subresource. To + * configure a bucket as a website, you can add this subresource on the bucket with website configuration + * information such as the file name of the index document and any redirect rules. For more information, + * see Hosting Websites on + * Amazon S3.

+ *

This PUT action requires the S3:PutBucketWebsite permission. By default, only the + * bucket owner can configure the website attached to a bucket; however, bucket owners can allow other + * users to set the website configuration by writing a bucket policy that grants them the + * S3:PutBucketWebsite permission.

+ *

To redirect all website requests sent to the bucket's website endpoint, you add a website + * configuration with the following elements. Because all requests are sent to another website, you don't + * need to provide index document name for the bucket.

+ *
    + *
  • + *

    + * WebsiteConfiguration + *

    + *
  • + *
  • + *

    + * RedirectAllRequestsTo + *

    + *
  • + *
  • + *

    + * HostName + *

    + *
  • + *
  • + *

    + * Protocol + *

    + *
  • + *
+ *

If you want granular control over redirects, you can use the following elements to add routing rules + * that describe conditions for redirecting requests and information about the redirect destination. In + * this case, the website configuration must provide an index document for the bucket, because some + * requests might not be redirected.

+ *
    + *
  • + *

    + * WebsiteConfiguration + *

    + *
  • + *
  • + *

    + * IndexDocument + *

    + *
  • + *
  • + *

    + * Suffix + *

    + *
  • + *
  • + *

    + * ErrorDocument + *

    + *
  • + *
  • + *

    + * Key + *

    + *
  • + *
  • + *

    + * RoutingRules + *

    + *
  • + *
  • + *

    + * RoutingRule + *

    + *
  • + *
  • + *

    + * Condition + *

    + *
  • + *
  • + *

    + * HttpErrorCodeReturnedEquals + *

    + *
  • + *
  • + *

    + * KeyPrefixEquals + *

    + *
  • + *
  • + *

    + * Redirect + *

    + *
  • + *
  • + *

    + * Protocol + *

    + *
  • + *
  • + *

    + * HostName + *

    + *
  • + *
  • + *

    + * ReplaceKeyPrefixWith + *

    + *
  • + *
  • + *

    + * ReplaceKeyWith + *

    + *
  • + *
  • + *

    + * HttpRedirectCode + *

    + *
  • + *
+ *

Amazon S3 has a limitation of 50 routing rules per website configuration. If you require more than 50 + * routing rules, you can use object redirect. For more information, see Configuring an Object Redirect in the + * Amazon S3 User Guide.

+ *

The maximum request length is limited to 128 KB.

+ * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutBucketWebsiteCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutBucketWebsiteCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutBucketWebsiteRequest + * Bucket: "STRING_VALUE", // required + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * WebsiteConfiguration: { // WebsiteConfiguration + * ErrorDocument: { // ErrorDocument + * Key: "STRING_VALUE", // required + * }, + * IndexDocument: { // IndexDocument + * Suffix: "STRING_VALUE", // required + * }, + * RedirectAllRequestsTo: { // RedirectAllRequestsTo + * HostName: "STRING_VALUE", // required + * Protocol: "http" || "https", + * }, + * RoutingRules: [ // RoutingRules + * { // RoutingRule + * Condition: { // Condition + * HttpErrorCodeReturnedEquals: "STRING_VALUE", + * KeyPrefixEquals: "STRING_VALUE", + * }, + * Redirect: { // Redirect + * HostName: "STRING_VALUE", + * HttpRedirectCode: "STRING_VALUE", + * Protocol: "http" || "https", + * ReplaceKeyPrefixWith: "STRING_VALUE", + * ReplaceKeyWith: "STRING_VALUE", + * }, + * }, + * ], + * }, + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new PutBucketWebsiteCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PutBucketWebsiteCommandInput - {@link PutBucketWebsiteCommandInput} + * @returns {@link PutBucketWebsiteCommandOutput} + * @see {@link PutBucketWebsiteCommandInput} for command's `input` shape. + * @see {@link PutBucketWebsiteCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example Set website configuration on a bucket + * ```javascript + * // The following example adds website configuration to a bucket. + * const input = { + * Bucket: "examplebucket", + * ContentMD5: "", + * WebsiteConfiguration: { + * ErrorDocument: { + * Key: "error.html" + * }, + * IndexDocument: { + * Suffix: "index.html" + * } + * } + * }; + * const command = new PutBucketWebsiteCommand(input); + * const response = await client.send(command); + * /* response is + * { /* metadata only *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class PutBucketWebsiteCommand extends PutBucketWebsiteCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutBucketWebsiteRequest; + output: {}; + }; + sdk: { + input: PutBucketWebsiteCommandInput; + output: PutBucketWebsiteCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts new file mode 100644 index 0000000..c24f8a5 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts @@ -0,0 +1,315 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutObjectAclOutput, PutObjectAclRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutObjectAclCommand}. + */ +export interface PutObjectAclCommandInput extends PutObjectAclRequest { +} +/** + * @public + * + * The output of {@link PutObjectAclCommand}. + */ +export interface PutObjectAclCommandOutput extends PutObjectAclOutput, __MetadataBearer { +} +declare const PutObjectAclCommand_base: { + new (input: PutObjectAclCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutObjectAclCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

End of support notice: As of October 1, 2025, Amazon S3 has discontinued support for Email Grantee Access Control Lists (ACLs). If you attempt to use an Email Grantee ACL in a request after October 1, 2025, + * the request will receive an HTTP 405 (Method Not Allowed) error.

+ *

This change affects the following Amazon Web Services Regions: US East (N. Virginia), US West (N. California), US West (Oregon), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo), Europe (Ireland), and South America (São Paulo).

+ *
+ * + *

This operation is not supported for directory buckets.

+ *
+ *

Uses the acl subresource to set the access control list (ACL) permissions for a new or + * existing object in an S3 bucket. You must have the WRITE_ACP permission to set the ACL of + * an object. For more information, see What permissions can I grant? in the + * Amazon S3 User Guide.

+ *

This functionality is not supported for Amazon S3 on Outposts.

+ *

Depending on your application needs, you can choose to set the ACL on an object using either the + * request body or the headers. For example, if you have an existing application that updates a bucket ACL + * using the request body, you can continue to use that approach. For more information, see Access Control List (ACL) + * Overview in the Amazon S3 User Guide.

+ * + *

If your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs are disabled + * and no longer affect permissions. You must use policies to grant access to your bucket and the objects + * in it. Requests to set ACLs or update ACLs fail and return the + * AccessControlListNotSupported error code. Requests to read ACLs are still supported. + * For more information, see Controlling object ownership in + * the Amazon S3 User Guide.

+ *
+ *
+ *
Permissions
+ *
+ *

You can set access permissions using one of the following methods:

+ *
    + *
  • + *

    Specify a canned ACL with the x-amz-acl request header. Amazon S3 supports a set + * of predefined ACLs, known as canned ACLs. Each canned ACL has a predefined set of grantees and + * permissions. Specify the canned ACL name as the value of x-amz-acl. If you use + * this header, you cannot use other access control-specific headers in your request. For more + * information, see Canned ACL.

    + *
  • + *
  • + *

    Specify access permissions explicitly with the x-amz-grant-read, + * x-amz-grant-read-acp, x-amz-grant-write-acp, and + * x-amz-grant-full-control headers. When using these headers, you specify + * explicit access permissions and grantees (Amazon Web Services accounts or Amazon S3 groups) who will receive the + * permission. If you use these ACL-specific headers, you cannot use x-amz-acl + * header to set a canned ACL. These parameters map to the set of permissions that Amazon S3 supports + * in an ACL. For more information, see Access Control List (ACL) + * Overview.

    + *

    You specify each grantee as a type=value pair, where the type is one of the + * following:

    + *
      + *
    • + *

      + * id – if the value specified is the canonical user ID of an + * Amazon Web Services account

      + *
    • + *
    • + *

      + * uri – if you are granting permissions to a predefined group

      + *
    • + *
    • + *

      + * emailAddress – if the value specified is the email address of an + * Amazon Web Services account

      + * + *

      Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:

      + *
        + *
      • + *

        US East (N. Virginia)

        + *
      • + *
      • + *

        US West (N. California)

        + *
      • + *
      • + *

        US West (Oregon)

        + *
      • + *
      • + *

        Asia Pacific (Singapore)

        + *
      • + *
      • + *

        Asia Pacific (Sydney)

        + *
      • + *
      • + *

        Asia Pacific (Tokyo)

        + *
      • + *
      • + *

        Europe (Ireland)

        + *
      • + *
      • + *

        South America (São Paulo)

        + *
      • + *
      + *

      For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.

      + *
      + *
    • + *
    + *

    For example, the following x-amz-grant-read header grants list objects + * permission to the two Amazon Web Services accounts identified by their email addresses.

    + *

    + * x-amz-grant-read: emailAddress="xyz@amazon.com", emailAddress="abc@amazon.com" + * + *

    + *
  • + *
+ *

You can use either a canned ACL or specify access permissions explicitly. You cannot do + * both.

+ *
+ *
Grantee Values
+ *
+ *

You can specify the person (grantee) to whom you're assigning access rights (using request + * elements) in the following ways. For examples of how to specify these grantee values in JSON + * format, see the Amazon Web Services CLI example in Enabling Amazon S3 server + * access logging in the Amazon S3 User Guide.

+ *
    + *
  • + *

    By the person's ID:

    + *

    + * <>ID<><>GranteesEmail<> + * + *

    + *

    DisplayName is optional and ignored in the request.

    + *
  • + *
  • + *

    By URI:

    + *

    + * <>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<> + *

    + *
  • + *
  • + *

    By Email address:

    + *

    + * <>Grantees@email.com<>lt;/Grantee> + *

    + *

    The grantee is resolved to the CanonicalUser and, in a response to a GET Object acl + * request, appears as the CanonicalUser.

    + * + *

    Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:

    + *
      + *
    • + *

      US East (N. Virginia)

      + *
    • + *
    • + *

      US West (N. California)

      + *
    • + *
    • + *

      US West (Oregon)

      + *
    • + *
    • + *

      Asia Pacific (Singapore)

      + *
    • + *
    • + *

      Asia Pacific (Sydney)

      + *
    • + *
    • + *

      Asia Pacific (Tokyo)

      + *
    • + *
    • + *

      Europe (Ireland)

      + *
    • + *
    • + *

      South America (São Paulo)

      + *
    • + *
    + *

    For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.

    + *
    + *
  • + *
+ *
+ *
Versioning
+ *
+ *

The ACL of an object is set at the object version level. By default, PUT sets the ACL of the + * current version of an object. To set the ACL of a different version, use the + * versionId subresource.

+ *
+ *
+ *

The following operations are related to PutObjectAcl:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutObjectAclCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutObjectAclCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutObjectAclRequest + * ACL: "private" || "public-read" || "public-read-write" || "authenticated-read" || "aws-exec-read" || "bucket-owner-read" || "bucket-owner-full-control", + * AccessControlPolicy: { // AccessControlPolicy + * Grants: [ // Grants + * { // Grant + * Grantee: { // Grantee + * DisplayName: "STRING_VALUE", + * EmailAddress: "STRING_VALUE", + * ID: "STRING_VALUE", + * URI: "STRING_VALUE", + * Type: "CanonicalUser" || "AmazonCustomerByEmail" || "Group", // required + * }, + * Permission: "FULL_CONTROL" || "WRITE" || "WRITE_ACP" || "READ" || "READ_ACP", + * }, + * ], + * Owner: { // Owner + * DisplayName: "STRING_VALUE", + * ID: "STRING_VALUE", + * }, + * }, + * Bucket: "STRING_VALUE", // required + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * GrantFullControl: "STRING_VALUE", + * GrantRead: "STRING_VALUE", + * GrantReadACP: "STRING_VALUE", + * GrantWrite: "STRING_VALUE", + * GrantWriteACP: "STRING_VALUE", + * Key: "STRING_VALUE", // required + * RequestPayer: "requester", + * VersionId: "STRING_VALUE", + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new PutObjectAclCommand(input); + * const response = await client.send(command); + * // { // PutObjectAclOutput + * // RequestCharged: "requester", + * // }; + * + * ``` + * + * @param PutObjectAclCommandInput - {@link PutObjectAclCommandInput} + * @returns {@link PutObjectAclCommandOutput} + * @see {@link PutObjectAclCommandInput} for command's `input` shape. + * @see {@link PutObjectAclCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link NoSuchKey} (client fault) + *

The specified key does not exist.

+ * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To grant permissions using object ACL + * ```javascript + * // The following example adds grants to an object ACL. The first permission grants user1 and user2 FULL_CONTROL and the AllUsers group READ permission. + * const input = { + * AccessControlPolicy: { /* empty *\/ }, + * Bucket: "examplebucket", + * GrantFullControl: "emailaddress=user1@example.com,emailaddress=user2@example.com", + * GrantRead: "uri=http://acs.amazonaws.com/groups/global/AllUsers", + * Key: "HappyFace.jpg" + * }; + * const command = new PutObjectAclCommand(input); + * const response = await client.send(command); + * /* response is + * { /* empty *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class PutObjectAclCommand extends PutObjectAclCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutObjectAclRequest; + output: PutObjectAclOutput; + }; + sdk: { + input: PutObjectAclCommandInput; + output: PutObjectAclCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts new file mode 100644 index 0000000..92758a4 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts @@ -0,0 +1,466 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } from "@smithy/types"; +import type { PutObjectOutput, PutObjectRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutObjectCommand}. + */ +export interface PutObjectCommandInput extends Omit { + Body?: StreamingBlobPayloadInputTypes; +} +/** + * @public + * + * The output of {@link PutObjectCommand}. + */ +export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBearer { +} +declare const PutObjectCommand_base: { + new (input: PutObjectCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutObjectCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

End of support notice: As of October 1, 2025, Amazon S3 has discontinued support for Email Grantee Access Control Lists (ACLs). If you attempt to use an Email Grantee ACL in a request after October 1, 2025, + * the request will receive an HTTP 405 (Method Not Allowed) error.

+ *

This change affects the following Amazon Web Services Regions: US East (N. Virginia), US West (N. California), US West (Oregon), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo), Europe (Ireland), and South America (São Paulo).

+ *
+ *

Adds an object to a bucket.

+ * + *
    + *
  • + *

    Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added the entire + * object to the bucket. You cannot use PutObject to only update a single piece of + * metadata for an existing object. You must put the entire object with updated metadata if you want + * to update some values.

    + *
  • + *
  • + *

    If your bucket uses the bucket owner enforced setting for Object Ownership, ACLs are disabled + * and no longer affect permissions. All objects written to the bucket by any account will be owned + * by the bucket owner.

    + *
  • + *
  • + *

    + * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name + * . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

    + *
  • + *
+ *
+ *

Amazon S3 is a distributed system. If it receives multiple write requests for the same object + * simultaneously, it overwrites all but the last object written. However, Amazon S3 provides features that can + * modify this behavior:

+ *
    + *
  • + *

    + * S3 Object Lock - To prevent objects from being deleted + * or overwritten, you can use Amazon S3 Object Lock in the Amazon S3 User Guide.

    + * + *

    This functionality is not supported for directory buckets.

    + *
    + *
  • + *
  • + *

    + * If-None-Match - Uploads the object only if the object + * key name does not already exist in the specified bucket. Otherwise, Amazon S3 returns a 412 + * Precondition Failed error. If a conflicting operation occurs during the upload, S3 returns + * a 409 ConditionalRequestConflict response. On a 409 failure, retry the upload.

    + *

    Expects the * character (asterisk).

    + *

    For more information, see Add preconditions to S3 operations with + * conditional requests in the Amazon S3 User Guide or RFC 7232.

    + * + *

    This functionality is not supported for S3 on Outposts.

    + *
    + *
  • + *
  • + *

    + * S3 Versioning - When you enable versioning for a bucket, + * if Amazon S3 receives multiple write requests for the same object simultaneously, it stores all versions + * of the objects. For each write request that is made to the same object, Amazon S3 automatically generates + * a unique version ID of that object being stored in Amazon S3. You can retrieve, replace, or delete any + * version of the object. For more information about versioning, see Adding Objects to + * Versioning-Enabled Buckets in the Amazon S3 User Guide. For information + * about returning the versioning state of a bucket, see GetBucketVersioning.

    + * + *

    This functionality is not supported for directory buckets.

    + *
    + *
  • + *
+ *
+ *
Permissions
+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - The following + * permissions are required in your policies when your PutObject request includes + * specific headers.

    + *
      + *
    • + *

      + * + * s3:PutObject + * - To successfully + * complete the PutObject request, you must always have the + * s3:PutObject permission on a bucket to add an object to it.

      + *
    • + *
    • + *

      + * + * s3:PutObjectAcl + * - To successfully change the objects ACL of your PutObject + * request, you must have the s3:PutObjectAcl.

      + *
    • + *
    • + *

      + * + * s3:PutObjectTagging + * - To successfully set the tag-set with your PutObject + * request, you must have the s3:PutObjectTagging.

      + *
    • + *
    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the + * CreateSession + * API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. + * Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see + * CreateSession + * .

    + *

    If the object is encrypted with SSE-KMS, you must also have the + * kms:GenerateDataKey and kms:Decrypt permissions in IAM + * identity-based policies and KMS key policies for the KMS key.

    + *
  • + *
+ *
+ *
Data integrity with Content-MD5
+ *
+ *
    + *
  • + *

    + * General purpose bucket - To ensure that data is not + * corrupted traversing the network, use the Content-MD5 header. When you use this + * header, Amazon S3 checks the object against the provided MD5 value and, if they do not match, Amazon S3 + * returns an error. Alternatively, when the object's ETag is its MD5 digest, you can calculate + * the MD5 while putting the object to Amazon S3 and compare the returned ETag to the calculated MD5 + * value.

    + *
  • + *
  • + *

    + * Directory bucket - + * This functionality is not supported for directory buckets.

    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * Bucket-name.s3express-zone-id.region-code.amazonaws.com.

+ *
+ *
+ *
+ *
Errors
+ *
+ *
    + *
  • + *

    You might receive an InvalidRequest error for several reasons. Depending on the reason for the error, you might receive one of the following messages:

    + *
      + *
    • + *

      Cannot specify both a write offset value and user-defined object metadata for existing + * objects.

      + *
    • + *
    • + *

      Checksum Type mismatch occurred, expected checksum Type: sha1, actual checksum Type: + * crc32c.

      + *
    • + *
    • + *

      Request body cannot be empty when 'write offset' is specified.

      + *
    • + *
    + *
  • + *
+ *
+ *
+ *

For more information about related Amazon S3 APIs, see the following:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutObjectCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutObjectCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutObjectRequest + * ACL: "private" || "public-read" || "public-read-write" || "authenticated-read" || "aws-exec-read" || "bucket-owner-read" || "bucket-owner-full-control", + * Body: "MULTIPLE_TYPES_ACCEPTED", // see \@smithy/types -> StreamingBlobPayloadInputTypes + * Bucket: "STRING_VALUE", // required + * CacheControl: "STRING_VALUE", + * ContentDisposition: "STRING_VALUE", + * ContentEncoding: "STRING_VALUE", + * ContentLanguage: "STRING_VALUE", + * ContentLength: Number("long"), + * ContentMD5: "STRING_VALUE", + * ContentType: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * ChecksumCRC32: "STRING_VALUE", + * ChecksumCRC32C: "STRING_VALUE", + * ChecksumCRC64NVME: "STRING_VALUE", + * ChecksumSHA1: "STRING_VALUE", + * ChecksumSHA256: "STRING_VALUE", + * Expires: new Date("TIMESTAMP"), + * IfMatch: "STRING_VALUE", + * IfNoneMatch: "STRING_VALUE", + * GrantFullControl: "STRING_VALUE", + * GrantRead: "STRING_VALUE", + * GrantReadACP: "STRING_VALUE", + * GrantWriteACP: "STRING_VALUE", + * Key: "STRING_VALUE", // required + * WriteOffsetBytes: Number("long"), + * Metadata: { // Metadata + * "": "STRING_VALUE", + * }, + * ServerSideEncryption: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse", + * StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE" || "FSX_OPENZFS" || "FSX_ONTAP", + * WebsiteRedirectLocation: "STRING_VALUE", + * SSECustomerAlgorithm: "STRING_VALUE", + * SSECustomerKey: "STRING_VALUE", + * SSECustomerKeyMD5: "STRING_VALUE", + * SSEKMSKeyId: "STRING_VALUE", + * SSEKMSEncryptionContext: "STRING_VALUE", + * BucketKeyEnabled: true || false, + * RequestPayer: "requester", + * Tagging: "STRING_VALUE", + * ObjectLockMode: "GOVERNANCE" || "COMPLIANCE", + * ObjectLockRetainUntilDate: new Date("TIMESTAMP"), + * ObjectLockLegalHoldStatus: "ON" || "OFF", + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new PutObjectCommand(input); + * const response = await client.send(command); + * // { // PutObjectOutput + * // Expiration: "STRING_VALUE", + * // ETag: "STRING_VALUE", + * // ChecksumCRC32: "STRING_VALUE", + * // ChecksumCRC32C: "STRING_VALUE", + * // ChecksumCRC64NVME: "STRING_VALUE", + * // ChecksumSHA1: "STRING_VALUE", + * // ChecksumSHA256: "STRING_VALUE", + * // ChecksumType: "COMPOSITE" || "FULL_OBJECT", + * // ServerSideEncryption: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse", + * // VersionId: "STRING_VALUE", + * // SSECustomerAlgorithm: "STRING_VALUE", + * // SSECustomerKeyMD5: "STRING_VALUE", + * // SSEKMSKeyId: "STRING_VALUE", + * // SSEKMSEncryptionContext: "STRING_VALUE", + * // BucketKeyEnabled: true || false, + * // Size: Number("long"), + * // RequestCharged: "requester", + * // }; + * + * ``` + * + * @param PutObjectCommandInput - {@link PutObjectCommandInput} + * @returns {@link PutObjectCommandOutput} + * @see {@link PutObjectCommandInput} for command's `input` shape. + * @see {@link PutObjectCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link EncryptionTypeMismatch} (client fault) + *

The existing object was created with a different encryption type. Subsequent write requests must + * include the appropriate encryption parameters in the request or while creating the session.

+ * + * @throws {@link InvalidRequest} (client fault) + *

A parameter or header in your request isn't valid. For details, see the description of this API + * operation.

+ * + * @throws {@link InvalidWriteOffset} (client fault) + *

The write offset value that you specified does not match the current object size.

+ * + * @throws {@link TooManyParts} (client fault) + *

You have attempted to add more parts than the maximum of 10000 that are allowed for this object. + * You can use the CopyObject operation to copy this object to another and then add more data to the newly + * copied object.

+ * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To create an object. + * ```javascript + * // The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response. + * const input = { + * Body: "filetoupload", + * Bucket: "examplebucket", + * Key: "objectkey" + * }; + * const command = new PutObjectCommand(input); + * const response = await client.send(command); + * /* response is + * { + * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`, + * VersionId: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ" + * } + * *\/ + * ``` + * + * @example To upload an object (specify optional headers) + * ```javascript + * // The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption. + * const input = { + * Body: "HappyFace.jpg", + * Bucket: "examplebucket", + * Key: "HappyFace.jpg", + * ServerSideEncryption: "AES256", + * StorageClass: "STANDARD_IA" + * }; + * const command = new PutObjectCommand(input); + * const response = await client.send(command); + * /* response is + * { + * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`, + * ServerSideEncryption: "AES256", + * VersionId: "CG612hodqujkf8FaaNfp8U..FIhLROcp" + * } + * *\/ + * ``` + * + * @example To upload an object + * ```javascript + * // The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object. + * const input = { + * Body: "HappyFace.jpg", + * Bucket: "examplebucket", + * Key: "HappyFace.jpg" + * }; + * const command = new PutObjectCommand(input); + * const response = await client.send(command); + * /* response is + * { + * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`, + * VersionId: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk" + * } + * *\/ + * ``` + * + * @example To upload an object and specify canned ACL. + * ```javascript + * // The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response. + * const input = { + * ACL: "authenticated-read", + * Body: "filetoupload", + * Bucket: "examplebucket", + * Key: "exampleobject" + * }; + * const command = new PutObjectCommand(input); + * const response = await client.send(command); + * /* response is + * { + * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`, + * VersionId: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr" + * } + * *\/ + * ``` + * + * @example To upload an object and specify optional tags + * ```javascript + * // The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object. + * const input = { + * Body: "c:\HappyFace.jpg", + * Bucket: "examplebucket", + * Key: "HappyFace.jpg", + * Tagging: "key1=value1&key2=value2" + * }; + * const command = new PutObjectCommand(input); + * const response = await client.send(command); + * /* response is + * { + * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`, + * VersionId: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a" + * } + * *\/ + * ``` + * + * @example To upload an object and specify server-side encryption and object tags + * ```javascript + * // The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response. + * const input = { + * Body: "filetoupload", + * Bucket: "examplebucket", + * Key: "exampleobject", + * ServerSideEncryption: "AES256", + * Tagging: "key1=value1&key2=value2" + * }; + * const command = new PutObjectCommand(input); + * const response = await client.send(command); + * /* response is + * { + * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`, + * ServerSideEncryption: "AES256", + * VersionId: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt" + * } + * *\/ + * ``` + * + * @example To upload object and specify user-defined metadata + * ```javascript + * // The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response. + * const input = { + * Body: "filetoupload", + * Bucket: "examplebucket", + * Key: "exampleobject", + * Metadata: { + * metadata1: "value1", + * metadata2: "value2" + * } + * }; + * const command = new PutObjectCommand(input); + * const response = await client.send(command); + * /* response is + * { + * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`, + * VersionId: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0" + * } + * *\/ + * ``` + * + * @public + */ +export declare class PutObjectCommand extends PutObjectCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutObjectRequest; + output: PutObjectOutput; + }; + sdk: { + input: PutObjectCommandInput; + output: PutObjectCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts new file mode 100644 index 0000000..289250b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts @@ -0,0 +1,90 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutObjectLegalHoldOutput, PutObjectLegalHoldRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutObjectLegalHoldCommand}. + */ +export interface PutObjectLegalHoldCommandInput extends PutObjectLegalHoldRequest { +} +/** + * @public + * + * The output of {@link PutObjectLegalHoldCommand}. + */ +export interface PutObjectLegalHoldCommandOutput extends PutObjectLegalHoldOutput, __MetadataBearer { +} +declare const PutObjectLegalHoldCommand_base: { + new (input: PutObjectLegalHoldCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutObjectLegalHoldCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Applies a legal hold configuration to the specified object. For more information, see Locking Objects.

+ *

This functionality is not supported for Amazon S3 on Outposts.

+ * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutObjectLegalHoldCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutObjectLegalHoldCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutObjectLegalHoldRequest + * Bucket: "STRING_VALUE", // required + * Key: "STRING_VALUE", // required + * LegalHold: { // ObjectLockLegalHold + * Status: "ON" || "OFF", + * }, + * RequestPayer: "requester", + * VersionId: "STRING_VALUE", + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new PutObjectLegalHoldCommand(input); + * const response = await client.send(command); + * // { // PutObjectLegalHoldOutput + * // RequestCharged: "requester", + * // }; + * + * ``` + * + * @param PutObjectLegalHoldCommandInput - {@link PutObjectLegalHoldCommandInput} + * @returns {@link PutObjectLegalHoldCommandOutput} + * @see {@link PutObjectLegalHoldCommandInput} for command's `input` shape. + * @see {@link PutObjectLegalHoldCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class PutObjectLegalHoldCommand extends PutObjectLegalHoldCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutObjectLegalHoldRequest; + output: PutObjectLegalHoldOutput; + }; + sdk: { + input: PutObjectLegalHoldCommandInput; + output: PutObjectLegalHoldCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts new file mode 100644 index 0000000..1c37bec --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts @@ -0,0 +1,114 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutObjectLockConfigurationOutput, PutObjectLockConfigurationRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutObjectLockConfigurationCommand}. + */ +export interface PutObjectLockConfigurationCommandInput extends PutObjectLockConfigurationRequest { +} +/** + * @public + * + * The output of {@link PutObjectLockConfigurationCommand}. + */ +export interface PutObjectLockConfigurationCommandOutput extends PutObjectLockConfigurationOutput, __MetadataBearer { +} +declare const PutObjectLockConfigurationCommand_base: { + new (input: PutObjectLockConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutObjectLockConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Places an Object Lock configuration on the specified bucket. The rule specified in the Object Lock + * configuration will be applied by default to every new object placed in the specified bucket. For more + * information, see Locking + * Objects.

+ * + *
    + *
  • + *

    The DefaultRetention settings require both a mode and a period.

    + *
  • + *
  • + *

    The DefaultRetention period can be either Days or Years + * but you must select one. You cannot specify Days and Years at the same + * time.

    + *
  • + *
  • + *

    You can enable Object Lock for new or existing buckets. For more information, see Configuring + * Object Lock.

    + *
  • + *
+ *
+ * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutObjectLockConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutObjectLockConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutObjectLockConfigurationRequest + * Bucket: "STRING_VALUE", // required + * ObjectLockConfiguration: { // ObjectLockConfiguration + * ObjectLockEnabled: "Enabled", + * Rule: { // ObjectLockRule + * DefaultRetention: { // DefaultRetention + * Mode: "GOVERNANCE" || "COMPLIANCE", + * Days: Number("int"), + * Years: Number("int"), + * }, + * }, + * }, + * RequestPayer: "requester", + * Token: "STRING_VALUE", + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new PutObjectLockConfigurationCommand(input); + * const response = await client.send(command); + * // { // PutObjectLockConfigurationOutput + * // RequestCharged: "requester", + * // }; + * + * ``` + * + * @param PutObjectLockConfigurationCommandInput - {@link PutObjectLockConfigurationCommandInput} + * @returns {@link PutObjectLockConfigurationCommandOutput} + * @see {@link PutObjectLockConfigurationCommandInput} for command's `input` shape. + * @see {@link PutObjectLockConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class PutObjectLockConfigurationCommand extends PutObjectLockConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutObjectLockConfigurationRequest; + output: PutObjectLockConfigurationOutput; + }; + sdk: { + input: PutObjectLockConfigurationCommandInput; + output: PutObjectLockConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts new file mode 100644 index 0000000..c84954e --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts @@ -0,0 +1,95 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutObjectRetentionOutput, PutObjectRetentionRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutObjectRetentionCommand}. + */ +export interface PutObjectRetentionCommandInput extends PutObjectRetentionRequest { +} +/** + * @public + * + * The output of {@link PutObjectRetentionCommand}. + */ +export interface PutObjectRetentionCommandOutput extends PutObjectRetentionOutput, __MetadataBearer { +} +declare const PutObjectRetentionCommand_base: { + new (input: PutObjectRetentionCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutObjectRetentionCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Places an Object Retention configuration on an object. For more information, see Locking Objects. Users or + * accounts require the s3:PutObjectRetention permission in order to place an Object Retention + * configuration on objects. Bypassing a Governance Retention configuration requires the + * s3:BypassGovernanceRetention permission.

+ *

This functionality is not supported for Amazon S3 on Outposts.

+ * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutObjectRetentionCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutObjectRetentionCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutObjectRetentionRequest + * Bucket: "STRING_VALUE", // required + * Key: "STRING_VALUE", // required + * Retention: { // ObjectLockRetention + * Mode: "GOVERNANCE" || "COMPLIANCE", + * RetainUntilDate: new Date("TIMESTAMP"), + * }, + * RequestPayer: "requester", + * VersionId: "STRING_VALUE", + * BypassGovernanceRetention: true || false, + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new PutObjectRetentionCommand(input); + * const response = await client.send(command); + * // { // PutObjectRetentionOutput + * // RequestCharged: "requester", + * // }; + * + * ``` + * + * @param PutObjectRetentionCommandInput - {@link PutObjectRetentionCommandInput} + * @returns {@link PutObjectRetentionCommandOutput} + * @see {@link PutObjectRetentionCommandInput} for command's `input` shape. + * @see {@link PutObjectRetentionCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class PutObjectRetentionCommand extends PutObjectRetentionCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutObjectRetentionRequest; + output: PutObjectRetentionOutput; + }; + sdk: { + input: PutObjectRetentionCommandInput; + output: PutObjectRetentionCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts new file mode 100644 index 0000000..e2ccde2 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts @@ -0,0 +1,168 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutObjectTaggingOutput, PutObjectTaggingRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutObjectTaggingCommand}. + */ +export interface PutObjectTaggingCommandInput extends PutObjectTaggingRequest { +} +/** + * @public + * + * The output of {@link PutObjectTaggingCommand}. + */ +export interface PutObjectTaggingCommandOutput extends PutObjectTaggingOutput, __MetadataBearer { +} +declare const PutObjectTaggingCommand_base: { + new (input: PutObjectTaggingCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutObjectTaggingCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Sets the supplied tag-set to an object that already exists in a bucket. A tag is a key-value pair. + * For more information, see Object Tagging.

+ *

You can associate tags with an object by sending a PUT request against the tagging subresource that + * is associated with the object. You can retrieve tags by sending a GET request. For more information, see + * GetObjectTagging.

+ *

For tagging-related restrictions related to characters and encodings, see Tag + * Restrictions. Note that Amazon S3 limits the maximum number of tags to 10 tags per object.

+ *

To use this operation, you must have permission to perform the s3:PutObjectTagging + * action. By default, the bucket owner has this permission and can grant this permission to others.

+ *

To put tags of any other version, use the versionId query parameter. You also need + * permission for the s3:PutObjectVersionTagging action.

+ *

+ * PutObjectTagging has the following special errors. For more Amazon S3 errors see, Error Responses.

+ *
    + *
  • + *

    + * InvalidTag - The tag provided was not a valid tag. This error can occur if + * the tag did not pass input validation. For more information, see Object Tagging.

    + *
  • + *
  • + *

    + * MalformedXML - The XML provided does not match the schema.

    + *
  • + *
  • + *

    + * OperationAborted - A conflicting conditional action is currently in progress + * against this resource. Please try again.

    + *
  • + *
  • + *

    + * InternalError - The service was unable to apply the provided tag to the + * object.

    + *
  • + *
+ *

The following operations are related to PutObjectTagging:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutObjectTaggingCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutObjectTaggingCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutObjectTaggingRequest + * Bucket: "STRING_VALUE", // required + * Key: "STRING_VALUE", // required + * VersionId: "STRING_VALUE", + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * Tagging: { // Tagging + * TagSet: [ // TagSet // required + * { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * }, + * ExpectedBucketOwner: "STRING_VALUE", + * RequestPayer: "requester", + * }; + * const command = new PutObjectTaggingCommand(input); + * const response = await client.send(command); + * // { // PutObjectTaggingOutput + * // VersionId: "STRING_VALUE", + * // }; + * + * ``` + * + * @param PutObjectTaggingCommandInput - {@link PutObjectTaggingCommandInput} + * @returns {@link PutObjectTaggingCommandOutput} + * @see {@link PutObjectTaggingCommandInput} for command's `input` shape. + * @see {@link PutObjectTaggingCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To add tags to an existing object + * ```javascript + * // The following example adds tags to an existing object. + * const input = { + * Bucket: "examplebucket", + * Key: "HappyFace.jpg", + * Tagging: { + * TagSet: [ + * { + * Key: "Key3", + * Value: "Value3" + * }, + * { + * Key: "Key4", + * Value: "Value4" + * } + * ] + * } + * }; + * const command = new PutObjectTaggingCommand(input); + * const response = await client.send(command); + * /* response is + * { + * VersionId: "null" + * } + * *\/ + * ``` + * + * @public + */ +export declare class PutObjectTaggingCommand extends PutObjectTaggingCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutObjectTaggingRequest; + output: PutObjectTaggingOutput; + }; + sdk: { + input: PutObjectTaggingCommandInput; + output: PutObjectTaggingCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts new file mode 100644 index 0000000..b512b0c --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts @@ -0,0 +1,123 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { PutPublicAccessBlockRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link PutPublicAccessBlockCommand}. + */ +export interface PutPublicAccessBlockCommandInput extends PutPublicAccessBlockRequest { +} +/** + * @public + * + * The output of {@link PutPublicAccessBlockCommand}. + */ +export interface PutPublicAccessBlockCommandOutput extends __MetadataBearer { +} +declare const PutPublicAccessBlockCommand_base: { + new (input: PutPublicAccessBlockCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: PutPublicAccessBlockCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Creates or modifies the PublicAccessBlock configuration for an Amazon S3 bucket. To use this + * operation, you must have the s3:PutBucketPublicAccessBlock permission. For more information + * about Amazon S3 permissions, see Specifying Permissions in a + * Policy.

+ * + *

When Amazon S3 evaluates the PublicAccessBlock configuration for a bucket or an + * object, it checks the PublicAccessBlock configuration for both the bucket (or + * the bucket that contains the object) and the bucket owner's account. Account-level settings + * automatically inherit from organization-level policies when present. If the + * PublicAccessBlock configurations are different between the bucket and the + * account, Amazon S3 uses the most restrictive combination of the bucket-level and account-level + * settings.

+ *
+ *

For more information about when Amazon S3 considers a bucket or an object public, see The Meaning of "Public".

+ *

The following operations are related to PutPublicAccessBlock:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, PutPublicAccessBlockCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, PutPublicAccessBlockCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // PutPublicAccessBlockRequest + * Bucket: "STRING_VALUE", // required + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * PublicAccessBlockConfiguration: { // PublicAccessBlockConfiguration + * BlockPublicAcls: true || false, + * IgnorePublicAcls: true || false, + * BlockPublicPolicy: true || false, + * RestrictPublicBuckets: true || false, + * }, + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new PutPublicAccessBlockCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PutPublicAccessBlockCommandInput - {@link PutPublicAccessBlockCommandInput} + * @returns {@link PutPublicAccessBlockCommandOutput} + * @see {@link PutPublicAccessBlockCommandInput} for command's `input` shape. + * @see {@link PutPublicAccessBlockCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class PutPublicAccessBlockCommand extends PutPublicAccessBlockCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: PutPublicAccessBlockRequest; + output: {}; + }; + sdk: { + input: PutPublicAccessBlockCommandInput; + output: PutPublicAccessBlockCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/RenameObjectCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/RenameObjectCommand.d.ts new file mode 100644 index 0000000..4803146 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/RenameObjectCommand.d.ts @@ -0,0 +1,143 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { RenameObjectOutput, RenameObjectRequest } from "../models/models_0"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link RenameObjectCommand}. + */ +export interface RenameObjectCommandInput extends RenameObjectRequest { +} +/** + * @public + * + * The output of {@link RenameObjectCommand}. + */ +export interface RenameObjectCommandOutput extends RenameObjectOutput, __MetadataBearer { +} +declare const RenameObjectCommand_base: { + new (input: RenameObjectCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: RenameObjectCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Renames an existing object in a directory bucket that uses the S3 Express One Zone storage class. + * You can use RenameObject by specifying an existing object’s name as the source and the new + * name of the object as the destination within the same directory bucket.

+ * + *

+ * RenameObject is only supported for objects stored in the S3 Express One Zone storage + * class.

+ *
+ *

To prevent overwriting an object, you can use the If-None-Match conditional + * header.

+ *
    + *
  • + *

    + * If-None-Match - Renames the object only if an object + * with the specified name does not already exist in the directory bucket. If you don't want to + * overwrite an existing object, you can add the If-None-Match conditional header with the + * value ‘*’ in the RenameObject request. Amazon S3 then returns a 412 + * Precondition Failed error if the object with the specified name already exists. For more + * information, see RFC 7232.

    + *
  • + *
+ *
+ *
Permissions
+ *
+ *

To grant access to the RenameObject operation on a directory bucket, we + * recommend that you use the CreateSession operation for session-based authorization. + * Specifically, you grant the s3express:CreateSession permission to the directory + * bucket in a bucket policy or an IAM identity-based policy. Then, you make the + * CreateSession API call on the directory bucket to obtain a session token. With the + * session token in your request header, you can make API requests to this operation. After the + * session token expires, you make another CreateSession API call to generate a new + * session token for use. The Amazon Web Services CLI and SDKs will create and manage your session including + * refreshing the session token automatically to avoid service interruptions when a session expires. + * In your bucket policy, you can specify the s3express:SessionMode condition key to + * control who can create a ReadWrite or ReadOnly session. A + * ReadWrite session is required for executing all the Zonal endpoint API operations, + * including RenameObject. For more information about authorization, see + * CreateSession + * . To learn more about Zonal endpoint API operations, see + * Authorizing Zonal endpoint API operations with CreateSession in the Amazon S3 User + * Guide.

+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * Bucket-name.s3express-zone-id.region-code.amazonaws.com.

+ *
+ *
+ * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, RenameObjectCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, RenameObjectCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // RenameObjectRequest + * Bucket: "STRING_VALUE", // required + * Key: "STRING_VALUE", // required + * RenameSource: "STRING_VALUE", // required + * DestinationIfMatch: "STRING_VALUE", + * DestinationIfNoneMatch: "STRING_VALUE", + * DestinationIfModifiedSince: new Date("TIMESTAMP"), + * DestinationIfUnmodifiedSince: new Date("TIMESTAMP"), + * SourceIfMatch: "STRING_VALUE", + * SourceIfNoneMatch: "STRING_VALUE", + * SourceIfModifiedSince: new Date("TIMESTAMP"), + * SourceIfUnmodifiedSince: new Date("TIMESTAMP"), + * ClientToken: "STRING_VALUE", + * }; + * const command = new RenameObjectCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param RenameObjectCommandInput - {@link RenameObjectCommandInput} + * @returns {@link RenameObjectCommandOutput} + * @see {@link RenameObjectCommandInput} for command's `input` shape. + * @see {@link RenameObjectCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link IdempotencyParameterMismatch} (client fault) + *

Parameters on this idempotent request are inconsistent with parameters used in previous request(s).

+ *

For a list of error codes and more information on Amazon S3 errors, see Error codes.

+ * + *

Idempotency ensures that an API request completes no more than one time. With an idempotent + * request, if the original request completes successfully, any subsequent retries complete successfully + * without performing any further actions.

+ *
+ * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class RenameObjectCommand extends RenameObjectCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: RenameObjectRequest; + output: {}; + }; + sdk: { + input: RenameObjectCommandInput; + output: RenameObjectCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts new file mode 100644 index 0000000..c2c75c8 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts @@ -0,0 +1,381 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { RestoreObjectOutput } from "../models/models_0"; +import type { RestoreObjectRequest } from "../models/models_1"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link RestoreObjectCommand}. + */ +export interface RestoreObjectCommandInput extends RestoreObjectRequest { +} +/** + * @public + * + * The output of {@link RestoreObjectCommand}. + */ +export interface RestoreObjectCommandOutput extends RestoreObjectOutput, __MetadataBearer { +} +declare const RestoreObjectCommand_base: { + new (input: RestoreObjectCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: RestoreObjectCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Restores an archived copy of an object back into Amazon S3

+ *

This functionality is not supported for Amazon S3 on Outposts.

+ *

This action performs the following types of requests:

+ *
    + *
  • + *

    + * restore an archive - Restore an archived object

    + *
  • + *
+ *

For more information about the S3 structure in the request body, see the + * following:

+ * + *
+ *
Permissions
+ *
+ *

To use this operation, you must have permissions to perform the s3:RestoreObject + * action. The bucket owner has this permission by default and can grant this permission to others. + * For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 + * Resources in the Amazon S3 User Guide.

+ *
+ *
Restoring objects
+ *
+ *

Objects that you archive to the S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive + * storage class, and S3 Intelligent-Tiering Archive or S3 Intelligent-Tiering Deep Archive tiers, are not accessible in + * real time. For objects in the S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive + * storage classes, you must first initiate a restore request, and then wait until a temporary copy + * of the object is available. If you want a permanent copy of the object, create a copy of it in the + * Amazon S3 Standard storage class in your S3 bucket. To access an archived object, you must restore the + * object for the duration (number of days) that you specify. For objects in the Archive Access or + * Deep Archive Access tiers of S3 Intelligent-Tiering, you must first initiate a restore request, and + * then wait until the object is moved into the Frequent Access tier.

+ *

To restore a specific object version, you can provide a version ID. If you don't provide a + * version ID, Amazon S3 restores the current version.

+ *

When restoring an archived object, you can specify one of the following data access tier + * options in the Tier element of the request body:

+ *
    + *
  • + *

    + * Expedited - Expedited retrievals allow you to quickly access your data stored + * in the S3 Glacier Flexible Retrieval storage class or S3 Intelligent-Tiering Archive tier when occasional + * urgent requests for restoring archives are required. For all but the largest archived objects + * (250 MB+), data accessed using Expedited retrievals is typically made available within 1–5 + * minutes. Provisioned capacity ensures that retrieval capacity for Expedited retrievals is + * available when you need it. Expedited retrievals and provisioned capacity are not available + * for objects stored in the S3 Glacier Deep Archive storage class or + * S3 Intelligent-Tiering Deep Archive tier.

    + *
  • + *
  • + *

    + * Standard - Standard retrievals allow you to access any of your archived + * objects within several hours. This is the default option for retrieval requests that do not + * specify the retrieval option. Standard retrievals typically finish within 3–5 hours for + * objects stored in the S3 Glacier Flexible Retrieval storage class or S3 Intelligent-Tiering Archive tier. + * They typically finish within 12 hours for objects stored in the + * S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier. Standard + * retrievals are free for objects stored in S3 Intelligent-Tiering.

    + *
  • + *
  • + *

    + * Bulk - Bulk retrievals free for objects stored in the S3 Glacier Flexible + * Retrieval and S3 Intelligent-Tiering storage classes, enabling you to retrieve large amounts, + * even petabytes, of data at no cost. Bulk retrievals typically finish within 5–12 hours for + * objects stored in the S3 Glacier Flexible Retrieval storage class or S3 Intelligent-Tiering Archive tier. + * Bulk retrievals are also the lowest-cost retrieval option when restoring objects from + * S3 Glacier Deep Archive. They typically finish within 48 hours for objects stored in + * the S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier.

    + *
  • + *
+ *

For more information about archive retrieval options and provisioned capacity for + * Expedited data access, see Restoring Archived Objects in the + * Amazon S3 User Guide.

+ *

You can use Amazon S3 restore speed upgrade to change the restore speed to a faster speed while it + * is in progress. For more information, see + * Upgrading the speed of an in-progress restore in the + * Amazon S3 User Guide.

+ *

To get the status of object restoration, you can send a HEAD request. Operations + * return the x-amz-restore header, which provides information about the restoration + * status, in the response. You can use Amazon S3 event notifications to notify you when a restore is + * initiated or completed. For more information, see Configuring Amazon S3 Event Notifications in + * the Amazon S3 User Guide.

+ *

After restoring an archived object, you can update the restoration period by reissuing the + * request with a new period. Amazon S3 updates the restoration period relative to the current time and + * charges only for the request-there are no data transfer charges. You cannot update the + * restoration period when Amazon S3 is actively processing your current restore request for the + * object.

+ *

If your bucket has a lifecycle configuration with a rule that includes an expiration action, + * the object expiration overrides the life span that you specify in a restore request. For example, + * if you restore an object copy for 10 days, but the object is scheduled to expire in 3 days, Amazon S3 + * deletes the object in 3 days. For more information about lifecycle configuration, see PutBucketLifecycleConfiguration and Object Lifecycle Management in + * Amazon S3 User Guide.

+ *
+ *
Responses
+ *
+ *

A successful action returns either the 200 OK or 202 Accepted status + * code.

+ *
    + *
  • + *

    If the object is not previously restored, then Amazon S3 returns 202 Accepted in + * the response.

    + *
  • + *
  • + *

    If the object is previously restored, Amazon S3 returns 200 OK in the response. + *

    + *
  • + *
+ *
    + *
  • + *

    Special errors:

    + *
      + *
    • + *

      + * Code: RestoreAlreadyInProgress + *

      + *
    • + *
    • + *

      + * Cause: Object restore is already in progress. + *

      + *
    • + *
    • + *

      + * HTTP Status Code: 409 Conflict + *

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client + *

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: GlacierExpeditedRetrievalNotAvailable + *

      + *
    • + *
    • + *

      + * Cause: expedited retrievals are currently not available. Try again later. + * (Returned if there is insufficient capacity to process the Expedited request. This error + * applies only to Expedited retrievals and not to S3 Standard or Bulk + * retrievals.) + *

      + *
    • + *
    • + *

      + * HTTP Status Code: 503 + *

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: N/A + *

      + *
    • + *
    + *
  • + *
+ *
+ *
+ *

The following operations are related to RestoreObject:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, RestoreObjectCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, RestoreObjectCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // RestoreObjectRequest + * Bucket: "STRING_VALUE", // required + * Key: "STRING_VALUE", // required + * VersionId: "STRING_VALUE", + * RestoreRequest: { // RestoreRequest + * Days: Number("int"), + * GlacierJobParameters: { // GlacierJobParameters + * Tier: "Standard" || "Bulk" || "Expedited", // required + * }, + * Type: "SELECT", + * Tier: "Standard" || "Bulk" || "Expedited", + * Description: "STRING_VALUE", + * SelectParameters: { // SelectParameters + * InputSerialization: { // InputSerialization + * CSV: { // CSVInput + * FileHeaderInfo: "USE" || "IGNORE" || "NONE", + * Comments: "STRING_VALUE", + * QuoteEscapeCharacter: "STRING_VALUE", + * RecordDelimiter: "STRING_VALUE", + * FieldDelimiter: "STRING_VALUE", + * QuoteCharacter: "STRING_VALUE", + * AllowQuotedRecordDelimiter: true || false, + * }, + * CompressionType: "NONE" || "GZIP" || "BZIP2", + * JSON: { // JSONInput + * Type: "DOCUMENT" || "LINES", + * }, + * Parquet: {}, + * }, + * ExpressionType: "SQL", // required + * Expression: "STRING_VALUE", // required + * OutputSerialization: { // OutputSerialization + * CSV: { // CSVOutput + * QuoteFields: "ALWAYS" || "ASNEEDED", + * QuoteEscapeCharacter: "STRING_VALUE", + * RecordDelimiter: "STRING_VALUE", + * FieldDelimiter: "STRING_VALUE", + * QuoteCharacter: "STRING_VALUE", + * }, + * JSON: { // JSONOutput + * RecordDelimiter: "STRING_VALUE", + * }, + * }, + * }, + * OutputLocation: { // OutputLocation + * S3: { // S3Location + * BucketName: "STRING_VALUE", // required + * Prefix: "STRING_VALUE", // required + * Encryption: { // Encryption + * EncryptionType: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse", // required + * KMSKeyId: "STRING_VALUE", + * KMSContext: "STRING_VALUE", + * }, + * CannedACL: "private" || "public-read" || "public-read-write" || "authenticated-read" || "aws-exec-read" || "bucket-owner-read" || "bucket-owner-full-control", + * AccessControlList: [ // Grants + * { // Grant + * Grantee: { // Grantee + * DisplayName: "STRING_VALUE", + * EmailAddress: "STRING_VALUE", + * ID: "STRING_VALUE", + * URI: "STRING_VALUE", + * Type: "CanonicalUser" || "AmazonCustomerByEmail" || "Group", // required + * }, + * Permission: "FULL_CONTROL" || "WRITE" || "WRITE_ACP" || "READ" || "READ_ACP", + * }, + * ], + * Tagging: { // Tagging + * TagSet: [ // TagSet // required + * { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * }, + * UserMetadata: [ // UserMetadata + * { // MetadataEntry + * Name: "STRING_VALUE", + * Value: "STRING_VALUE", + * }, + * ], + * StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE" || "FSX_OPENZFS" || "FSX_ONTAP", + * }, + * }, + * }, + * RequestPayer: "requester", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new RestoreObjectCommand(input); + * const response = await client.send(command); + * // { // RestoreObjectOutput + * // RequestCharged: "requester", + * // RestoreOutputPath: "STRING_VALUE", + * // }; + * + * ``` + * + * @param RestoreObjectCommandInput - {@link RestoreObjectCommandInput} + * @returns {@link RestoreObjectCommandOutput} + * @see {@link RestoreObjectCommandInput} for command's `input` shape. + * @see {@link RestoreObjectCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link ObjectAlreadyInActiveTierError} (client fault) + *

This action is not allowed against this storage tier.

+ * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To restore an archived object + * ```javascript + * // The following example restores for one day an archived copy of an object back into Amazon S3 bucket. + * const input = { + * Bucket: "examplebucket", + * Key: "archivedobjectkey", + * RestoreRequest: { + * Days: 1, + * GlacierJobParameters: { + * Tier: "Expedited" + * } + * } + * }; + * const command = new RestoreObjectCommand(input); + * const response = await client.send(command); + * /* response is + * { /* empty *\/ } + * *\/ + * ``` + * + * @public + */ +export declare class RestoreObjectCommand extends RestoreObjectCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: RestoreObjectRequest; + output: RestoreObjectOutput; + }; + sdk: { + input: RestoreObjectCommandInput; + output: RestoreObjectCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts new file mode 100644 index 0000000..c846177 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts @@ -0,0 +1,251 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { SelectObjectContentOutput, SelectObjectContentRequest } from "../models/models_1"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link SelectObjectContentCommand}. + */ +export interface SelectObjectContentCommandInput extends SelectObjectContentRequest { +} +/** + * @public + * + * The output of {@link SelectObjectContentCommand}. + */ +export interface SelectObjectContentCommandOutput extends SelectObjectContentOutput, __MetadataBearer { +} +declare const SelectObjectContentCommand_base: { + new (input: SelectObjectContentCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: SelectObjectContentCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

This action filters the contents of an Amazon S3 object based on a simple structured query language (SQL) + * statement. In the request, along with the SQL expression, you must also specify a data serialization + * format (JSON, CSV, or Apache Parquet) of the object. Amazon S3 uses this format to parse object data into + * records, and returns only records that match the specified SQL expression. You must also specify the + * data serialization format for the response.

+ *

This functionality is not supported for Amazon S3 on Outposts.

+ *

For more information about Amazon S3 Select, see Selecting Content from Objects + * and SELECT Command in + * the Amazon S3 User Guide.

+ *

+ *
+ *
Permissions
+ *
+ *

You must have the s3:GetObject permission for this operation. Amazon S3 Select does + * not support anonymous access. For more information about permissions, see Specifying Permissions + * in a Policy in the Amazon S3 User Guide.

+ *
+ *
Object Data Formats
+ *
+ *

You can use Amazon S3 Select to query objects that have the following format properties:

+ *
    + *
  • + *

    + * CSV, JSON, and Parquet - Objects must be in CSV, JSON, or Parquet + * format.

    + *
  • + *
  • + *

    + * UTF-8 - UTF-8 is the only encoding type Amazon S3 Select supports.

    + *
  • + *
  • + *

    + * GZIP or BZIP2 - CSV and JSON files can be compressed using GZIP or + * BZIP2. GZIP and BZIP2 are the only compression formats that Amazon S3 Select supports for CSV and + * JSON files. Amazon S3 Select supports columnar compression for Parquet using GZIP or Snappy. Amazon S3 + * Select does not support whole-object compression for Parquet objects.

    + *
  • + *
  • + *

    + * Server-side encryption - Amazon S3 Select supports querying objects that + * are protected with server-side encryption.

    + *

    For objects that are encrypted with customer-provided encryption keys (SSE-C), you must + * use HTTPS, and you must use the headers that are documented in the GetObject. For more information about + * SSE-C, see Server-Side Encryption + * (Using Customer-Provided Encryption Keys) in the + * Amazon S3 User Guide.

    + *

    For objects that are encrypted with Amazon S3 managed keys (SSE-S3) and Amazon Web Services KMS keys + * (SSE-KMS), server-side encryption is handled transparently, so you don't need to specify + * anything. For more information about server-side encryption, including SSE-S3 and SSE-KMS, see + * Protecting + * Data Using Server-Side Encryption in the + * Amazon S3 User Guide.

    + *
  • + *
+ *
+ *
Working with the Response Body
+ *
+ *

Given the response size is unknown, Amazon S3 Select streams the response as a series of messages + * and includes a Transfer-Encoding header with chunked as its value in the + * response. For more information, see Appendix: SelectObjectContent + * Response.

+ *
+ *
GetObject Support
+ *
+ *

The SelectObjectContent action does not support the following + * GetObject functionality. For more information, see GetObject.

+ *
    + *
  • + *

    + * Range: Although you can specify a scan range for an Amazon S3 Select request (see + * SelectObjectContentRequest - ScanRange in the request parameters), you + * cannot specify the range of bytes of an object to return.

    + *
  • + *
  • + *

    The GLACIER, DEEP_ARCHIVE, and REDUCED_REDUNDANCY + * storage classes, or the ARCHIVE_ACCESS and DEEP_ARCHIVE_ACCESS + * access tiers of the INTELLIGENT_TIERING storage class: You cannot query objects + * in the GLACIER, DEEP_ARCHIVE, or REDUCED_REDUNDANCY + * storage classes, nor objects in the ARCHIVE_ACCESS or + * DEEP_ARCHIVE_ACCESS access tiers of the INTELLIGENT_TIERING + * storage class. For more information about storage classes, see Using Amazon S3 storage classes + * in the Amazon S3 User Guide.

    + *
  • + *
+ *
+ *
Special Errors
+ *
+ *

For a list of special errors for this operation, see List of SELECT + * Object Content Error Codes + *

+ *
+ *
+ *

The following operations are related to SelectObjectContent:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, SelectObjectContentCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, SelectObjectContentCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // SelectObjectContentRequest + * Bucket: "STRING_VALUE", // required + * Key: "STRING_VALUE", // required + * SSECustomerAlgorithm: "STRING_VALUE", + * SSECustomerKey: "STRING_VALUE", + * SSECustomerKeyMD5: "STRING_VALUE", + * Expression: "STRING_VALUE", // required + * ExpressionType: "SQL", // required + * RequestProgress: { // RequestProgress + * Enabled: true || false, + * }, + * InputSerialization: { // InputSerialization + * CSV: { // CSVInput + * FileHeaderInfo: "USE" || "IGNORE" || "NONE", + * Comments: "STRING_VALUE", + * QuoteEscapeCharacter: "STRING_VALUE", + * RecordDelimiter: "STRING_VALUE", + * FieldDelimiter: "STRING_VALUE", + * QuoteCharacter: "STRING_VALUE", + * AllowQuotedRecordDelimiter: true || false, + * }, + * CompressionType: "NONE" || "GZIP" || "BZIP2", + * JSON: { // JSONInput + * Type: "DOCUMENT" || "LINES", + * }, + * Parquet: {}, + * }, + * OutputSerialization: { // OutputSerialization + * CSV: { // CSVOutput + * QuoteFields: "ALWAYS" || "ASNEEDED", + * QuoteEscapeCharacter: "STRING_VALUE", + * RecordDelimiter: "STRING_VALUE", + * FieldDelimiter: "STRING_VALUE", + * QuoteCharacter: "STRING_VALUE", + * }, + * JSON: { // JSONOutput + * RecordDelimiter: "STRING_VALUE", + * }, + * }, + * ScanRange: { // ScanRange + * Start: Number("long"), + * End: Number("long"), + * }, + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new SelectObjectContentCommand(input); + * const response = await client.send(command); + * // { // SelectObjectContentOutput + * // Payload: { // SelectObjectContentEventStream Union: only one key present + * // Records: { // RecordsEvent + * // Payload: new Uint8Array(), + * // }, + * // Stats: { // StatsEvent + * // Details: { // Stats + * // BytesScanned: Number("long"), + * // BytesProcessed: Number("long"), + * // BytesReturned: Number("long"), + * // }, + * // }, + * // Progress: { // ProgressEvent + * // Details: { // Progress + * // BytesScanned: Number("long"), + * // BytesProcessed: Number("long"), + * // BytesReturned: Number("long"), + * // }, + * // }, + * // Cont: {}, + * // End: {}, + * // }, + * // }; + * + * ``` + * + * @param SelectObjectContentCommandInput - {@link SelectObjectContentCommandInput} + * @returns {@link SelectObjectContentCommandOutput} + * @see {@link SelectObjectContentCommandInput} for command's `input` shape. + * @see {@link SelectObjectContentCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class SelectObjectContentCommand extends SelectObjectContentCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: SelectObjectContentRequest; + output: SelectObjectContentOutput; + }; + sdk: { + input: SelectObjectContentCommandInput; + output: SelectObjectContentCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts new file mode 100644 index 0000000..d5d92f0 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts @@ -0,0 +1,166 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { UpdateBucketMetadataInventoryTableConfigurationRequest } from "../models/models_1"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link UpdateBucketMetadataInventoryTableConfigurationCommand}. + */ +export interface UpdateBucketMetadataInventoryTableConfigurationCommandInput extends UpdateBucketMetadataInventoryTableConfigurationRequest { +} +/** + * @public + * + * The output of {@link UpdateBucketMetadataInventoryTableConfigurationCommand}. + */ +export interface UpdateBucketMetadataInventoryTableConfigurationCommandOutput extends __MetadataBearer { +} +declare const UpdateBucketMetadataInventoryTableConfigurationCommand_base: { + new (input: UpdateBucketMetadataInventoryTableConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: UpdateBucketMetadataInventoryTableConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Enables or disables a live inventory table for an S3 Metadata configuration on a general + * purpose bucket. For more information, see + * Accelerating + * data discovery with S3 Metadata in the Amazon S3 User Guide.

+ *
+ *
Permissions
+ *
+ *

To use this operation, you must have the following permissions. For more information, see + * Setting up permissions for configuring metadata tables in the + * Amazon S3 User Guide.

+ *

If you want to encrypt your inventory table with server-side encryption with Key Management Service + * (KMS) keys (SSE-KMS), you need additional permissions in your KMS key policy. For more + * information, see + * Setting up permissions for configuring metadata tables in the + * Amazon S3 User Guide.

+ *
    + *
  • + *

    + * s3:UpdateBucketMetadataInventoryTableConfiguration + *

    + *
  • + *
  • + *

    + * s3tables:CreateTableBucket + *

    + *
  • + *
  • + *

    + * s3tables:CreateNamespace + *

    + *
  • + *
  • + *

    + * s3tables:GetTable + *

    + *
  • + *
  • + *

    + * s3tables:CreateTable + *

    + *
  • + *
  • + *

    + * s3tables:PutTablePolicy + *

    + *
  • + *
  • + *

    + * s3tables:PutTableEncryption + *

    + *
  • + *
  • + *

    + * kms:DescribeKey + *

    + *
  • + *
+ *
+ *
+ *

The following operations are related to UpdateBucketMetadataInventoryTableConfiguration:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, UpdateBucketMetadataInventoryTableConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, UpdateBucketMetadataInventoryTableConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // UpdateBucketMetadataInventoryTableConfigurationRequest + * Bucket: "STRING_VALUE", // required + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * InventoryTableConfiguration: { // InventoryTableConfigurationUpdates + * ConfigurationState: "ENABLED" || "DISABLED", // required + * EncryptionConfiguration: { // MetadataTableEncryptionConfiguration + * SseAlgorithm: "aws:kms" || "AES256", // required + * KmsKeyArn: "STRING_VALUE", + * }, + * }, + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new UpdateBucketMetadataInventoryTableConfigurationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param UpdateBucketMetadataInventoryTableConfigurationCommandInput - {@link UpdateBucketMetadataInventoryTableConfigurationCommandInput} + * @returns {@link UpdateBucketMetadataInventoryTableConfigurationCommandOutput} + * @see {@link UpdateBucketMetadataInventoryTableConfigurationCommandInput} for command's `input` shape. + * @see {@link UpdateBucketMetadataInventoryTableConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class UpdateBucketMetadataInventoryTableConfigurationCommand extends UpdateBucketMetadataInventoryTableConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: UpdateBucketMetadataInventoryTableConfigurationRequest; + output: {}; + }; + sdk: { + input: UpdateBucketMetadataInventoryTableConfigurationCommandInput; + output: UpdateBucketMetadataInventoryTableConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts new file mode 100644 index 0000000..619e58a --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts @@ -0,0 +1,118 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { UpdateBucketMetadataJournalTableConfigurationRequest } from "../models/models_1"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link UpdateBucketMetadataJournalTableConfigurationCommand}. + */ +export interface UpdateBucketMetadataJournalTableConfigurationCommandInput extends UpdateBucketMetadataJournalTableConfigurationRequest { +} +/** + * @public + * + * The output of {@link UpdateBucketMetadataJournalTableConfigurationCommand}. + */ +export interface UpdateBucketMetadataJournalTableConfigurationCommandOutput extends __MetadataBearer { +} +declare const UpdateBucketMetadataJournalTableConfigurationCommand_base: { + new (input: UpdateBucketMetadataJournalTableConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: UpdateBucketMetadataJournalTableConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Enables or disables journal table record expiration for an S3 Metadata configuration on a general + * purpose bucket. For more information, see + * Accelerating + * data discovery with S3 Metadata in the Amazon S3 User Guide.

+ *
+ *
Permissions
+ *
+ *

To use this operation, you must have the s3:UpdateBucketMetadataJournalTableConfiguration + * permission. For more information, see Setting up permissions for + * configuring metadata tables in the Amazon S3 User Guide.

+ *
+ *
+ *

The following operations are related to UpdateBucketMetadataJournalTableConfiguration:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, UpdateBucketMetadataJournalTableConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, UpdateBucketMetadataJournalTableConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // UpdateBucketMetadataJournalTableConfigurationRequest + * Bucket: "STRING_VALUE", // required + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * JournalTableConfiguration: { // JournalTableConfigurationUpdates + * RecordExpiration: { // RecordExpiration + * Expiration: "ENABLED" || "DISABLED", // required + * Days: Number("int"), + * }, + * }, + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new UpdateBucketMetadataJournalTableConfigurationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param UpdateBucketMetadataJournalTableConfigurationCommandInput - {@link UpdateBucketMetadataJournalTableConfigurationCommandInput} + * @returns {@link UpdateBucketMetadataJournalTableConfigurationCommandOutput} + * @see {@link UpdateBucketMetadataJournalTableConfigurationCommandInput} for command's `input` shape. + * @see {@link UpdateBucketMetadataJournalTableConfigurationCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class UpdateBucketMetadataJournalTableConfigurationCommand extends UpdateBucketMetadataJournalTableConfigurationCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: UpdateBucketMetadataJournalTableConfigurationRequest; + output: {}; + }; + sdk: { + input: UpdateBucketMetadataJournalTableConfigurationCommandInput; + output: UpdateBucketMetadataJournalTableConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateObjectEncryptionCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateObjectEncryptionCommand.d.ts new file mode 100644 index 0000000..48326a1 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateObjectEncryptionCommand.d.ts @@ -0,0 +1,259 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { UpdateObjectEncryptionRequest, UpdateObjectEncryptionResponse } from "../models/models_1"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link UpdateObjectEncryptionCommand}. + */ +export interface UpdateObjectEncryptionCommandInput extends UpdateObjectEncryptionRequest { +} +/** + * @public + * + * The output of {@link UpdateObjectEncryptionCommand}. + */ +export interface UpdateObjectEncryptionCommandOutput extends UpdateObjectEncryptionResponse, __MetadataBearer { +} +declare const UpdateObjectEncryptionCommand_base: { + new (input: UpdateObjectEncryptionCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: UpdateObjectEncryptionCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets or Amazon S3 on Outposts buckets. + *

+ *
+ *

+ * Updates the server-side encryption type of an existing encrypted object in a general purpose bucket. + * You can use the UpdateObjectEncryption operation to change encrypted objects from + * server-side encryption with Amazon S3 managed keys (SSE-S3) to server-side encryption with Key Management Service (KMS) + * keys (SSE-KMS), or to apply S3 Bucket Keys. You can also use the UpdateObjectEncryption operation + * to change the customer-managed KMS key used to encrypt your data so that you can comply with custom + * key-rotation standards. + *

+ *

Using the UpdateObjectEncryption operation, you can atomically update the server-side + * encryption type of an existing object in a general purpose bucket without any data movement. The + * UpdateObjectEncryption operation uses envelope encryption to re-encrypt the data key used to + * encrypt and decrypt your object with your newly specified server-side encryption type. In other words, + * when you use the UpdateObjectEncryption operation, your data isn't copied, archived + * objects in the S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive storage classes aren't + * restored, and objects in the S3 Intelligent-Tiering storage class aren't moved between tiers. + * Additionally, the UpdateObjectEncryption operation preserves all object metadata + * properties, including the storage class, creation date, last modified date, ETag, and checksum + * properties. For more information, see + * + * Updating server-side encryption for existing objects in the + * Amazon S3 User Guide.

+ *

By default, all UpdateObjectEncryption requests that specify a customer-managed + * KMS key are restricted to KMS keys that are owned by the bucket owner's Amazon Web Services account. If you're + * using Organizations, you can request the ability to use KMS keys owned by other member + * accounts within your organization by contacting Amazon Web Services Support.

+ * + *

Source objects that are unencrypted, or encrypted with either dual-layer server-side encryption + * with KMS keys (DSSE-KMS) or server-side encryption with customer-provided keys (SSE-C) aren't + * supported by this operation. Additionally, you cannot specify SSE-S3 encryption as the requested + * new encryption type UpdateObjectEncryption request.

+ *
+ *
+ *
Permissions
+ *
+ *
    + *
  • + *

    To use the UpdateObjectEncryption operation, you must have the following + * permissions:

    + *
      + *
    • + *

      + * s3:PutObject + *

      + *
    • + *
    • + *

      + * s3:UpdateObjectEncryption + *

      + *
    • + *
    • + *

      + * kms:Encrypt + *

      + *
    • + *
    • + *

      + * kms:Decrypt + *

      + *
    • + *
    • + *

      + * kms:GenerateDataKey + *

      + *
    • + *
    • + *

      + * kms:ReEncrypt* + *

      + *
    • + *
    + *
  • + *
  • + *

    If you're using Organizations, to use this operation with customer-managed + * KMS keys from other Amazon Web Services accounts within your organization, you must have the + * organizations:DescribeAccount permission.

    + *
  • + *
+ *
+ *
+ *
+ *
Errors
+ *
+ *
    + *
  • + *

    You might receive an InvalidRequest error for several reasons. Depending + * on the reason for the error, you might receive one of the following messages:

    + *
      + *
    • + *

      The UpdateObjectEncryption operation doesn't supported unencrypted + * source objects. Only source objects encrypted with SSE-S3 or SSE-KMS are supported.

      + *
    • + *
    • + *

      The UpdateObjectEncryption operation doesn't support source objects + * with the encryption type DSSE-KMS or SSE-C. Only source objects encrypted with SSE-S3 + * or SSE-KMS are supported.

      + *
    • + *
    • + *

      The UpdateObjectEncryption operation doesn't support updating the + * encryption type to DSSE-KMS or SSE-C. Modify the request to specify SSE-KMS + * for the updated encryption type, and then try again.

      + *
    • + *
    • + *

      Requests that modify an object encryption configuration require Amazon Web Services Signature + * Version 4. Modify the request to use Amazon Web Services Signature Version 4, and then try again.

      + *
    • + *
    • + *

      Requests that modify an object encryption configuration require a valid new + * encryption type. Valid values are SSEKMS. Modify the request to specify + * SSE-KMS for the updated encryption type, and then try again.

      + *
    • + *
    • + *

      Requests that modify an object's encryption type to SSE-KMS require an Amazon Web Services KMS key + * Amazon Resource Name (ARN). Modify the request to specify a KMS key ARN, and then + * try again.

      + *
    • + *
    • + *

      Requests that modify an object's encryption type to SSE-KMS require a valid + * Amazon Web Services KMS key Amazon Resource Name (ARN). Confirm that you have a correctly formatted + * KMS key ARN in your request, and then try again.

      + *
    • + *
    • + *

      The BucketKeyEnabled value isn't valid. Valid values are + * true or false. Modify the request to specify a valid value, + * and then try again.

      + *
    • + *
    + *
  • + *
  • + *

    You might receive an AccessDenied error for several reasons. Depending on + * the reason for the error, you might receive one of the following messages:

    + *
      + *
    • + *

      The Amazon Web Services KMS key in the request must be owned by the same account as the bucket. Modify + * the request to specify a KMS key from the same account, and then try again.

      + *
    • + *
    • + *

      The bucket owner's account was approved to make UpdateObjectEncryption requests + * that use any Amazon Web Services KMS key in their organization, but the bucket owner's account isn't part of + * an organization in Organizations. Make sure that the bucket owner's account and the + * specified KMS key belong to the same organization, and then try again.

      + *
    • + *
    • + *

      The specified Amazon Web Services KMS key must be from the same organization in Organizations as + * the bucket. Specify a KMS key that belongs to the same organization as the bucket, and then + * try again.

      + *
    • + *
    • + *

      The encryption type for the specified object can’t be updated because that object is + * protected by S3 Object Lock. If the object has a governance-mode retention period or a legal + * hold, you must first remove the Object Lock status on the object before you issue your + * UpdateObjectEncryption request. You can't use the UpdateObjectEncryption + * operation with objects that have an Object Lock compliance mode retention period applied to them.

      + *
    • + *
    + *
  • + *
+ *
+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, UpdateObjectEncryptionCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, UpdateObjectEncryptionCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // UpdateObjectEncryptionRequest + * Bucket: "STRING_VALUE", // required + * Key: "STRING_VALUE", // required + * VersionId: "STRING_VALUE", + * ObjectEncryption: { // ObjectEncryption Union: only one key present + * SSEKMS: { // SSEKMSEncryption + * KMSKeyArn: "STRING_VALUE", // required + * BucketKeyEnabled: true || false, + * }, + * }, + * RequestPayer: "requester", + * ExpectedBucketOwner: "STRING_VALUE", + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * }; + * const command = new UpdateObjectEncryptionCommand(input); + * const response = await client.send(command); + * // { // UpdateObjectEncryptionResponse + * // RequestCharged: "requester", + * // }; + * + * ``` + * + * @param UpdateObjectEncryptionCommandInput - {@link UpdateObjectEncryptionCommandInput} + * @returns {@link UpdateObjectEncryptionCommandOutput} + * @see {@link UpdateObjectEncryptionCommandInput} for command's `input` shape. + * @see {@link UpdateObjectEncryptionCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link AccessDenied} (client fault) + *

+ * You might receive this error for several reasons. For details, see the description of this API + * operation.

+ * + * @throws {@link InvalidRequest} (client fault) + *

A parameter or header in your request isn't valid. For details, see the description of this API + * operation.

+ * + * @throws {@link NoSuchKey} (client fault) + *

The specified key does not exist.

+ * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class UpdateObjectEncryptionCommand extends UpdateObjectEncryptionCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: UpdateObjectEncryptionRequest; + output: UpdateObjectEncryptionResponse; + }; + sdk: { + input: UpdateObjectEncryptionCommandInput; + output: UpdateObjectEncryptionCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts new file mode 100644 index 0000000..7f1fdce --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts @@ -0,0 +1,307 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } from "@smithy/types"; +import type { UploadPartOutput, UploadPartRequest } from "../models/models_1"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link UploadPartCommand}. + */ +export interface UploadPartCommandInput extends Omit { + Body?: StreamingBlobPayloadInputTypes; +} +/** + * @public + * + * The output of {@link UploadPartCommand}. + */ +export interface UploadPartCommandOutput extends UploadPartOutput, __MetadataBearer { +} +declare const UploadPartCommand_base: { + new (input: UploadPartCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: UploadPartCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Uploads a part in a multipart upload.

+ * + *

In this operation, you provide new data as a part of an object in your request. However, you have + * an option to specify your existing Amazon S3 object as a data source for the part you are uploading. To + * upload a part from an existing object, you use the UploadPartCopy operation.

+ *
+ *

You must initiate a multipart upload (see CreateMultipartUpload) before you can + * upload any part. In response to your initiate request, Amazon S3 returns an upload ID, a unique identifier + * that you must include in your upload part request.

+ *

Part numbers can be any number from 1 to 10,000, inclusive. A part number uniquely identifies a part + * and also defines its position within the object being created. If you upload a new part using the same + * part number that was used with a previous part, the previously uploaded part is overwritten.

+ *

For information about maximum and minimum part sizes and other multipart upload specifications, see + * Multipart upload + * limits in the Amazon S3 User Guide.

+ * + *

After you initiate multipart upload and upload one or more parts, you must either complete or + * abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after + * you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you + * for the parts storage.

+ *
+ *

For more information on multipart uploads, go to Multipart Upload Overview in the + * Amazon S3 User Guide .

+ * + *

+ * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name + * . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

+ *
+ *
+ *
Permissions
+ *
+ *
    + *
  • + *

    + * General purpose bucket permissions - To perform a + * multipart upload with encryption using an Key Management Service key, the requester must have permission to + * the kms:Decrypt and kms:GenerateDataKey actions on the key. The + * requester must also have permissions for the kms:GenerateDataKey action for the + * CreateMultipartUpload API. Then, the requester needs permissions for the + * kms:Decrypt action on the UploadPart and + * UploadPartCopy APIs.

    + *

    These permissions are required because Amazon S3 must decrypt and read data from the encrypted + * file parts before it completes the multipart upload. For more information about KMS + * permissions, see Protecting data using server-side + * encryption with KMS in the Amazon S3 User Guide. For information + * about the permissions required to use the multipart upload API, see Multipart upload and + * permissions and Multipart upload API and + * permissions in the Amazon S3 User Guide.

    + *
  • + *
  • + *

    + * Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the + * CreateSession + * API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. + * Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see + * CreateSession + * .

    + *

    If the object is encrypted with SSE-KMS, you must also have the + * kms:GenerateDataKey and kms:Decrypt permissions in IAM + * identity-based policies and KMS key policies for the KMS key.

    + *
  • + *
+ *
+ *
Data integrity
+ *
+ *

+ * General purpose bucket - To ensure that data is not corrupted + * traversing the network, specify the Content-MD5 header in the upload part request. + * Amazon S3 checks the part data against the provided MD5 value. If they do not match, Amazon S3 returns an + * error. If the upload request is signed with Signature Version 4, then Amazon Web Services S3 uses the + * x-amz-content-sha256 header as a checksum instead of Content-MD5. For + * more information see Authenticating Requests: + * Using the Authorization Header (Amazon Web Services Signature Version 4).

+ * + *

+ * Directory buckets - MD5 is not supported by directory buckets. You can use checksum algorithms to check object integrity.

+ *
+ *
+ *
Encryption
+ *
+ *
    + *
  • + *

    + * General purpose bucket - Server-side encryption is for + * data encryption at rest. Amazon S3 encrypts your data as it writes it to disks in its data centers + * and decrypts it when you access it. You have mutually exclusive options to protect data using + * server-side encryption in Amazon S3, depending on how you choose to manage the encryption keys. + * Specifically, the encryption key options are Amazon S3 managed keys (SSE-S3), Amazon Web Services KMS keys + * (SSE-KMS), and Customer-Provided Keys (SSE-C). Amazon S3 encrypts data with server-side encryption + * using Amazon S3 managed keys (SSE-S3) by default. You can optionally tell Amazon S3 to encrypt data at + * rest using server-side encryption with other key options. The option you use depends on + * whether you want to use KMS keys (SSE-KMS) or provide your own encryption key + * (SSE-C).

    + *

    Server-side encryption is supported by the S3 Multipart Upload operations. Unless you are + * using a customer-provided encryption key (SSE-C), you don't need to specify the encryption + * parameters in each UploadPart request. Instead, you only need to specify the server-side + * encryption parameters in the initial Initiate Multipart request. For more information, see + * CreateMultipartUpload.

    + * + *

    If you have server-side encryption with customer-provided keys (SSE-C) blocked for your general purpose bucket, you will get an HTTP 403 Access Denied error when you specify the SSE-C request headers while writing new data to your bucket. For more information, see Blocking or unblocking SSE-C for a general purpose bucket.

    + *
    + *

    If you request server-side encryption using a customer-provided encryption key (SSE-C) in + * your initiate multipart upload request, you must provide identical encryption information in + * each part upload using the following request headers.

    + *
      + *
    • + *

      x-amz-server-side-encryption-customer-algorithm

      + *
    • + *
    • + *

      x-amz-server-side-encryption-customer-key

      + *
    • + *
    • + *

      x-amz-server-side-encryption-customer-key-MD5

      + *
    • + *
    + *

    For more information, see Using Server-Side + * Encryption in the Amazon S3 User Guide.

    + *
  • + *
  • + *

    + * Directory buckets - + * For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (aws:kms).

    + *
  • + *
+ *
+ *
Special errors
+ *
+ *
    + *
  • + *

    Error Code: NoSuchUpload + *

    + *
      + *
    • + *

      Description: The specified multipart upload does not exist. The upload ID might be + * invalid, or the multipart upload might have been aborted or completed.

      + *
    • + *
    • + *

      HTTP Status Code: 404 Not Found

      + *
    • + *
    • + *

      SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * Bucket-name.s3express-zone-id.region-code.amazonaws.com.

+ *
+ *
+ *

The following operations are related to UploadPart:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, UploadPartCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, UploadPartCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // UploadPartRequest + * Body: "MULTIPLE_TYPES_ACCEPTED", // see \@smithy/types -> StreamingBlobPayloadInputTypes + * Bucket: "STRING_VALUE", // required + * ContentLength: Number("long"), + * ContentMD5: "STRING_VALUE", + * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME", + * ChecksumCRC32: "STRING_VALUE", + * ChecksumCRC32C: "STRING_VALUE", + * ChecksumCRC64NVME: "STRING_VALUE", + * ChecksumSHA1: "STRING_VALUE", + * ChecksumSHA256: "STRING_VALUE", + * Key: "STRING_VALUE", // required + * PartNumber: Number("int"), // required + * UploadId: "STRING_VALUE", // required + * SSECustomerAlgorithm: "STRING_VALUE", + * SSECustomerKey: "STRING_VALUE", + * SSECustomerKeyMD5: "STRING_VALUE", + * RequestPayer: "requester", + * ExpectedBucketOwner: "STRING_VALUE", + * }; + * const command = new UploadPartCommand(input); + * const response = await client.send(command); + * // { // UploadPartOutput + * // ServerSideEncryption: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse", + * // ETag: "STRING_VALUE", + * // ChecksumCRC32: "STRING_VALUE", + * // ChecksumCRC32C: "STRING_VALUE", + * // ChecksumCRC64NVME: "STRING_VALUE", + * // ChecksumSHA1: "STRING_VALUE", + * // ChecksumSHA256: "STRING_VALUE", + * // SSECustomerAlgorithm: "STRING_VALUE", + * // SSECustomerKeyMD5: "STRING_VALUE", + * // SSEKMSKeyId: "STRING_VALUE", + * // BucketKeyEnabled: true || false, + * // RequestCharged: "requester", + * // }; + * + * ``` + * + * @param UploadPartCommandInput - {@link UploadPartCommandInput} + * @returns {@link UploadPartCommandOutput} + * @see {@link UploadPartCommandInput} for command's `input` shape. + * @see {@link UploadPartCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To upload a part + * ```javascript + * // The following example uploads part 1 of a multipart upload. The example specifies a file name for the part data. The Upload ID is same that is returned by the initiate multipart upload. + * const input = { + * Body: "fileToUpload", + * Bucket: "examplebucket", + * Key: "examplelargeobject", + * PartNumber: 1, + * UploadId: "xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--" + * }; + * const command = new UploadPartCommand(input); + * const response = await client.send(command); + * /* response is + * { + * ETag: `"d8c2eafd90c266e19ab9dcacc479f8af"` + * } + * *\/ + * ``` + * + * @public + */ +export declare class UploadPartCommand extends UploadPartCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: UploadPartRequest; + output: UploadPartOutput; + }; + sdk: { + input: UploadPartCommandInput; + output: UploadPartCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts new file mode 100644 index 0000000..d2243ad --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts @@ -0,0 +1,368 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { UploadPartCopyOutput, UploadPartCopyRequest } from "../models/models_1"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link UploadPartCopyCommand}. + */ +export interface UploadPartCopyCommandInput extends UploadPartCopyRequest { +} +/** + * @public + * + * The output of {@link UploadPartCopyCommand}. + */ +export interface UploadPartCopyCommandOutput extends UploadPartCopyOutput, __MetadataBearer { +} +declare const UploadPartCopyCommand_base: { + new (input: UploadPartCopyCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: UploadPartCopyCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Uploads a part by copying data from an existing object as data source. To specify the data source, + * you add the request header x-amz-copy-source in your request. To specify a byte range, you + * add the request header x-amz-copy-source-range in your request.

+ *

For information about maximum and minimum part sizes and other multipart upload specifications, see + * Multipart upload + * limits in the Amazon S3 User Guide.

+ * + *

Instead of copying data from an existing object as part data, you might use the UploadPart action to + * upload new data as a part of an object in your request.

+ *
+ *

You must initiate a multipart upload before you can upload any part. In response to your initiate + * request, Amazon S3 returns the upload ID, a unique identifier that you must include in your upload part + * request.

+ *

For conceptual information about multipart uploads, see Uploading Objects Using Multipart Upload in + * the Amazon S3 User Guide. For information about copying objects using a single atomic + * action vs. a multipart upload, see Operations on Objects in the + * Amazon S3 User Guide.

+ * + *

+ * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name + * . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the + * Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the + * Amazon S3 User Guide.

+ *
+ *
+ *
Authentication and authorization
+ *
+ *

All UploadPartCopy requests must be authenticated and signed by using IAM + * credentials (access key ID and secret access key for the IAM identities). All headers with the + * x-amz- prefix, including x-amz-copy-source, must be signed. For more + * information, see REST Authentication.

+ *

+ * Directory buckets - You must use IAM credentials to + * authenticate and authorize your access to the UploadPartCopy API operation, instead + * of using the temporary security credentials through the CreateSession API + * operation.

+ *

Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.

+ *
+ *
Permissions
+ *
+ *

You must have READ access to the source object and WRITE access to + * the destination bucket.

+ *
    + *
  • + *

    + * General purpose bucket permissions - You must have the + * permissions in a policy based on the bucket types of your source bucket and destination bucket + * in an UploadPartCopy operation.

    + *
      + *
    • + *

      If the source object is in a general purpose bucket, you must have the + * s3:GetObject + * permission to read the source object that is + * being copied.

      + *
    • + *
    • + *

      If the destination bucket is a general purpose bucket, you must have the + * s3:PutObject + * permission to write the object copy to + * the destination bucket.

      + *
    • + *
    • + *

      To perform a multipart upload with encryption using an Key Management Service key, the requester + * must have permission to the kms:Decrypt and kms:GenerateDataKey + * actions on the key. The requester must also have permissions for the + * kms:GenerateDataKey action for the CreateMultipartUpload API. + * Then, the requester needs permissions for the kms:Decrypt action on the + * UploadPart and UploadPartCopy APIs. These permissions are + * required because Amazon S3 must decrypt and read data from the encrypted file parts before it + * completes the multipart upload. For more information about KMS permissions, see Protecting + * data using server-side encryption with KMS in the + * Amazon S3 User Guide. For information about the permissions required to + * use the multipart upload API, see Multipart upload and + * permissions and Multipart upload API + * and permissions in the Amazon S3 User Guide.

      + *
    • + *
    + *
  • + *
  • + *

    + * Directory bucket permissions - You must have + * permissions in a bucket policy or an IAM identity-based policy based on the source and destination bucket types + * in an UploadPartCopy operation.

    + *
      + *
    • + *

      If the source object that you want to copy is in a directory bucket, you must have + * the + * s3express:CreateSession + * permission in + * the Action element of a policy to read the object. If no session mode is specified, + * the session will be created with the maximum allowable privilege, attempting + * ReadWrite first, then ReadOnly if ReadWrite is not permitted. + * If you want to explicitly restrict the access to be read-only, you can set the s3express:SessionMode + * condition key to ReadOnly on the copy source bucket.

      + *
    • + *
    • + *

      If the copy destination is a directory bucket, you must have the + * s3express:CreateSession + * permission in the + * Action element of a policy to write the object to the destination. The + * s3express:SessionMode condition key cannot be set to ReadOnly + * on the copy destination.

      + *
    • + *
    + *

    If the object is encrypted with SSE-KMS, you must also have the + * kms:GenerateDataKey and kms:Decrypt permissions in IAM + * identity-based policies and KMS key policies for the KMS key.

    + *

    For example policies, see Example + * bucket policies for S3 Express One Zone and Amazon Web Services + * Identity and Access Management (IAM) identity-based policies for S3 Express One Zone in the + * Amazon S3 User Guide.

    + *
  • + *
+ *
+ *
Encryption
+ *
+ *
    + *
  • + *

    + * General purpose buckets - + * For information about using server-side encryption with + * customer-provided encryption keys with the UploadPartCopy operation, see CopyObject and + * UploadPart.

    + * + *

    If you have server-side encryption with customer-provided keys (SSE-C) blocked for your general purpose bucket, you will get an HTTP 403 Access Denied error when you specify the SSE-C request headers while writing new data to your bucket. For more information, see Blocking or unblocking SSE-C for a general purpose bucket.

    + *
    + *
  • + *
  • + *

    + * Directory buckets - + * For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (aws:kms). For more + * information, see Protecting data with server-side encryption in the Amazon S3 User Guide.

    + * + *

    For directory buckets, when you perform a CreateMultipartUpload operation + * and an UploadPartCopy operation, the request headers you provide in the + * CreateMultipartUpload request must match the default encryption configuration + * of the destination bucket.

    + *
    + *

    S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets + * to directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through UploadPartCopy. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.

    + *
  • + *
+ *
+ *
Special errors
+ *
+ *
    + *
  • + *

    Error Code: NoSuchUpload + *

    + *
      + *
    • + *

      Description: The specified multipart upload does not exist. The upload ID might be + * invalid, or the multipart upload might have been aborted or completed.

      + *
    • + *
    • + *

      HTTP Status Code: 404 Not Found

      + *
    • + *
    + *
  • + *
  • + *

    Error Code: InvalidRequest + *

    + *
      + *
    • + *

      Description: The specified copy source is not supported as a byte-range copy + * source.

      + *
    • + *
    • + *

      HTTP Status Code: 400 Bad Request

      + *
    • + *
    + *
  • + *
+ *
+ *
HTTP Host header syntax
+ *
+ *

+ * Directory buckets - The HTTP Host header syntax is + * Bucket-name.s3express-zone-id.region-code.amazonaws.com.

+ *
+ *
+ *

The following operations are related to UploadPartCopy:

+ * + * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, UploadPartCopyCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, UploadPartCopyCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // UploadPartCopyRequest + * Bucket: "STRING_VALUE", // required + * CopySource: "STRING_VALUE", // required + * CopySourceIfMatch: "STRING_VALUE", + * CopySourceIfModifiedSince: new Date("TIMESTAMP"), + * CopySourceIfNoneMatch: "STRING_VALUE", + * CopySourceIfUnmodifiedSince: new Date("TIMESTAMP"), + * CopySourceRange: "STRING_VALUE", + * Key: "STRING_VALUE", // required + * PartNumber: Number("int"), // required + * UploadId: "STRING_VALUE", // required + * SSECustomerAlgorithm: "STRING_VALUE", + * SSECustomerKey: "STRING_VALUE", + * SSECustomerKeyMD5: "STRING_VALUE", + * CopySourceSSECustomerAlgorithm: "STRING_VALUE", + * CopySourceSSECustomerKey: "STRING_VALUE", + * CopySourceSSECustomerKeyMD5: "STRING_VALUE", + * RequestPayer: "requester", + * ExpectedBucketOwner: "STRING_VALUE", + * ExpectedSourceBucketOwner: "STRING_VALUE", + * }; + * const command = new UploadPartCopyCommand(input); + * const response = await client.send(command); + * // { // UploadPartCopyOutput + * // CopySourceVersionId: "STRING_VALUE", + * // CopyPartResult: { // CopyPartResult + * // ETag: "STRING_VALUE", + * // LastModified: new Date("TIMESTAMP"), + * // ChecksumCRC32: "STRING_VALUE", + * // ChecksumCRC32C: "STRING_VALUE", + * // ChecksumCRC64NVME: "STRING_VALUE", + * // ChecksumSHA1: "STRING_VALUE", + * // ChecksumSHA256: "STRING_VALUE", + * // }, + * // ServerSideEncryption: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse", + * // SSECustomerAlgorithm: "STRING_VALUE", + * // SSECustomerKeyMD5: "STRING_VALUE", + * // SSEKMSKeyId: "STRING_VALUE", + * // BucketKeyEnabled: true || false, + * // RequestCharged: "requester", + * // }; + * + * ``` + * + * @param UploadPartCopyCommandInput - {@link UploadPartCopyCommandInput} + * @returns {@link UploadPartCopyCommandOutput} + * @see {@link UploadPartCopyCommandInput} for command's `input` shape. + * @see {@link UploadPartCopyCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @example To upload a part by copying byte range from an existing object as data source + * ```javascript + * // The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as data source. + * const input = { + * Bucket: "examplebucket", + * CopySource: "/bucketname/sourceobjectkey", + * CopySourceRange: "bytes=1-100000", + * Key: "examplelargeobject", + * PartNumber: 2, + * UploadId: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--" + * }; + * const command = new UploadPartCopyCommand(input); + * const response = await client.send(command); + * /* response is + * { + * CopyPartResult: { + * ETag: `"65d16d19e65a7508a51f043180edcc36"`, + * LastModified: "2016-12-29T21:44:28.000Z" + * } + * } + * *\/ + * ``` + * + * @example To upload a part by copying data from an existing object as data source + * ```javascript + * // The following example uploads a part of a multipart upload by copying data from an existing object as data source. + * const input = { + * Bucket: "examplebucket", + * CopySource: "/bucketname/sourceobjectkey", + * Key: "examplelargeobject", + * PartNumber: 1, + * UploadId: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--" + * }; + * const command = new UploadPartCopyCommand(input); + * const response = await client.send(command); + * /* response is + * { + * CopyPartResult: { + * ETag: `"b0c6f0e7e054ab8fa2536a2677f8734d"`, + * LastModified: "2016-12-29T21:24:43.000Z" + * } + * } + * *\/ + * ``` + * + * @public + */ +export declare class UploadPartCopyCommand extends UploadPartCopyCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: UploadPartCopyRequest; + output: UploadPartCopyOutput; + }; + sdk: { + input: UploadPartCopyCommandInput; + output: UploadPartCopyCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts new file mode 100644 index 0000000..cacc130 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts @@ -0,0 +1,150 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } from "@smithy/types"; +import type { WriteGetObjectResponseRequest } from "../models/models_1"; +import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link WriteGetObjectResponseCommand}. + */ +export interface WriteGetObjectResponseCommandInput extends Omit { + Body?: StreamingBlobPayloadInputTypes; +} +/** + * @public + * + * The output of {@link WriteGetObjectResponseCommand}. + */ +export interface WriteGetObjectResponseCommandOutput extends __MetadataBearer { +} +declare const WriteGetObjectResponseCommand_base: { + new (input: WriteGetObjectResponseCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: WriteGetObjectResponseCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * + *

This operation is not supported for directory buckets.

+ *
+ *

Passes transformed objects to a GetObject operation when using Object Lambda access points. For information + * about Object Lambda access points, see Transforming objects with Object Lambda access points in the Amazon S3 User Guide.

+ *

This operation supports metadata that can be returned by GetObject, in addition to + * RequestRoute, RequestToken, StatusCode, ErrorCode, + * and ErrorMessage. The GetObject response metadata is supported so that the + * WriteGetObjectResponse caller, typically an Lambda function, can provide the same + * metadata when it internally invokes GetObject. When WriteGetObjectResponse is + * called by a customer-owned Lambda function, the metadata returned to the end user GetObject + * call might differ from what Amazon S3 would normally return.

+ *

You can include any number of metadata headers. When including a metadata header, it should be + * prefaced with x-amz-meta. For example, x-amz-meta-my-custom-header: + * MyCustomValue. The primary use case for this is to forward GetObject + * metadata.

+ *

Amazon Web Services provides some prebuilt Lambda functions that you can use with S3 Object Lambda to detect and + * redact personally identifiable information (PII) and decompress S3 objects. These Lambda functions are + * available in the Amazon Web Services Serverless Application Repository, and can be selected through the Amazon Web Services + * Management Console when you create your Object Lambda access point.

+ *

Example 1: PII Access Control - This Lambda function uses Amazon Comprehend, a natural + * language processing (NLP) service using machine learning to find insights and relationships in text. It + * automatically detects personally identifiable information (PII) such as names, addresses, dates, credit + * card numbers, and social security numbers from documents in your Amazon S3 bucket.

+ *

Example 2: PII Redaction - This Lambda function uses Amazon Comprehend, a natural language + * processing (NLP) service using machine learning to find insights and relationships in text. It + * automatically redacts personally identifiable information (PII) such as names, addresses, dates, credit + * card numbers, and social security numbers from documents in your Amazon S3 bucket.

+ *

Example 3: Decompression - The Lambda function S3ObjectLambdaDecompression, is equipped to + * decompress objects stored in S3 in one of six compressed file formats including bzip2, gzip, snappy, + * zlib, zstandard and ZIP.

+ *

For information on how to view and use these functions, see Using Amazon Web Services built Lambda functions in the + * Amazon S3 User Guide.

+ * + *

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { S3Client, WriteGetObjectResponseCommand } from "@aws-sdk/client-s3"; // ES Modules import + * // const { S3Client, WriteGetObjectResponseCommand } = require("@aws-sdk/client-s3"); // CommonJS import + * // import type { S3ClientConfig } from "@aws-sdk/client-s3"; + * const config = {}; // type is S3ClientConfig + * const client = new S3Client(config); + * const input = { // WriteGetObjectResponseRequest + * RequestRoute: "STRING_VALUE", // required + * RequestToken: "STRING_VALUE", // required + * Body: "MULTIPLE_TYPES_ACCEPTED", // see \@smithy/types -> StreamingBlobPayloadInputTypes + * StatusCode: Number("int"), + * ErrorCode: "STRING_VALUE", + * ErrorMessage: "STRING_VALUE", + * AcceptRanges: "STRING_VALUE", + * CacheControl: "STRING_VALUE", + * ContentDisposition: "STRING_VALUE", + * ContentEncoding: "STRING_VALUE", + * ContentLanguage: "STRING_VALUE", + * ContentLength: Number("long"), + * ContentRange: "STRING_VALUE", + * ContentType: "STRING_VALUE", + * ChecksumCRC32: "STRING_VALUE", + * ChecksumCRC32C: "STRING_VALUE", + * ChecksumCRC64NVME: "STRING_VALUE", + * ChecksumSHA1: "STRING_VALUE", + * ChecksumSHA256: "STRING_VALUE", + * DeleteMarker: true || false, + * ETag: "STRING_VALUE", + * Expires: new Date("TIMESTAMP"), + * Expiration: "STRING_VALUE", + * LastModified: new Date("TIMESTAMP"), + * MissingMeta: Number("int"), + * Metadata: { // Metadata + * "": "STRING_VALUE", + * }, + * ObjectLockMode: "GOVERNANCE" || "COMPLIANCE", + * ObjectLockLegalHoldStatus: "ON" || "OFF", + * ObjectLockRetainUntilDate: new Date("TIMESTAMP"), + * PartsCount: Number("int"), + * ReplicationStatus: "COMPLETE" || "PENDING" || "FAILED" || "REPLICA" || "COMPLETED", + * RequestCharged: "requester", + * Restore: "STRING_VALUE", + * ServerSideEncryption: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse", + * SSECustomerAlgorithm: "STRING_VALUE", + * SSEKMSKeyId: "STRING_VALUE", + * SSECustomerKeyMD5: "STRING_VALUE", + * StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE" || "FSX_OPENZFS" || "FSX_ONTAP", + * TagCount: Number("int"), + * VersionId: "STRING_VALUE", + * BucketKeyEnabled: true || false, + * }; + * const command = new WriteGetObjectResponseCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param WriteGetObjectResponseCommandInput - {@link WriteGetObjectResponseCommandInput} + * @returns {@link WriteGetObjectResponseCommandOutput} + * @see {@link WriteGetObjectResponseCommandInput} for command's `input` shape. + * @see {@link WriteGetObjectResponseCommandOutput} for command's `response` shape. + * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape. + * + * @throws {@link S3ServiceException} + *

Base exception class for all service exceptions from S3 service.

+ * + * + * @public + */ +export declare class WriteGetObjectResponseCommand extends WriteGetObjectResponseCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: WriteGetObjectResponseRequest; + output: {}; + }; + sdk: { + input: WriteGetObjectResponseCommandInput; + output: WriteGetObjectResponseCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts new file mode 100644 index 0000000..2d7b505 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts @@ -0,0 +1,107 @@ +export * from "./AbortMultipartUploadCommand"; +export * from "./CompleteMultipartUploadCommand"; +export * from "./CopyObjectCommand"; +export * from "./CreateBucketCommand"; +export * from "./CreateBucketMetadataConfigurationCommand"; +export * from "./CreateBucketMetadataTableConfigurationCommand"; +export * from "./CreateMultipartUploadCommand"; +export * from "./CreateSessionCommand"; +export * from "./DeleteBucketAnalyticsConfigurationCommand"; +export * from "./DeleteBucketCommand"; +export * from "./DeleteBucketCorsCommand"; +export * from "./DeleteBucketEncryptionCommand"; +export * from "./DeleteBucketIntelligentTieringConfigurationCommand"; +export * from "./DeleteBucketInventoryConfigurationCommand"; +export * from "./DeleteBucketLifecycleCommand"; +export * from "./DeleteBucketMetadataConfigurationCommand"; +export * from "./DeleteBucketMetadataTableConfigurationCommand"; +export * from "./DeleteBucketMetricsConfigurationCommand"; +export * from "./DeleteBucketOwnershipControlsCommand"; +export * from "./DeleteBucketPolicyCommand"; +export * from "./DeleteBucketReplicationCommand"; +export * from "./DeleteBucketTaggingCommand"; +export * from "./DeleteBucketWebsiteCommand"; +export * from "./DeleteObjectCommand"; +export * from "./DeleteObjectTaggingCommand"; +export * from "./DeleteObjectsCommand"; +export * from "./DeletePublicAccessBlockCommand"; +export * from "./GetBucketAbacCommand"; +export * from "./GetBucketAccelerateConfigurationCommand"; +export * from "./GetBucketAclCommand"; +export * from "./GetBucketAnalyticsConfigurationCommand"; +export * from "./GetBucketCorsCommand"; +export * from "./GetBucketEncryptionCommand"; +export * from "./GetBucketIntelligentTieringConfigurationCommand"; +export * from "./GetBucketInventoryConfigurationCommand"; +export * from "./GetBucketLifecycleConfigurationCommand"; +export * from "./GetBucketLocationCommand"; +export * from "./GetBucketLoggingCommand"; +export * from "./GetBucketMetadataConfigurationCommand"; +export * from "./GetBucketMetadataTableConfigurationCommand"; +export * from "./GetBucketMetricsConfigurationCommand"; +export * from "./GetBucketNotificationConfigurationCommand"; +export * from "./GetBucketOwnershipControlsCommand"; +export * from "./GetBucketPolicyCommand"; +export * from "./GetBucketPolicyStatusCommand"; +export * from "./GetBucketReplicationCommand"; +export * from "./GetBucketRequestPaymentCommand"; +export * from "./GetBucketTaggingCommand"; +export * from "./GetBucketVersioningCommand"; +export * from "./GetBucketWebsiteCommand"; +export * from "./GetObjectAclCommand"; +export * from "./GetObjectAttributesCommand"; +export * from "./GetObjectCommand"; +export * from "./GetObjectLegalHoldCommand"; +export * from "./GetObjectLockConfigurationCommand"; +export * from "./GetObjectRetentionCommand"; +export * from "./GetObjectTaggingCommand"; +export * from "./GetObjectTorrentCommand"; +export * from "./GetPublicAccessBlockCommand"; +export * from "./HeadBucketCommand"; +export * from "./HeadObjectCommand"; +export * from "./ListBucketAnalyticsConfigurationsCommand"; +export * from "./ListBucketIntelligentTieringConfigurationsCommand"; +export * from "./ListBucketInventoryConfigurationsCommand"; +export * from "./ListBucketMetricsConfigurationsCommand"; +export * from "./ListBucketsCommand"; +export * from "./ListDirectoryBucketsCommand"; +export * from "./ListMultipartUploadsCommand"; +export * from "./ListObjectVersionsCommand"; +export * from "./ListObjectsCommand"; +export * from "./ListObjectsV2Command"; +export * from "./ListPartsCommand"; +export * from "./PutBucketAbacCommand"; +export * from "./PutBucketAccelerateConfigurationCommand"; +export * from "./PutBucketAclCommand"; +export * from "./PutBucketAnalyticsConfigurationCommand"; +export * from "./PutBucketCorsCommand"; +export * from "./PutBucketEncryptionCommand"; +export * from "./PutBucketIntelligentTieringConfigurationCommand"; +export * from "./PutBucketInventoryConfigurationCommand"; +export * from "./PutBucketLifecycleConfigurationCommand"; +export * from "./PutBucketLoggingCommand"; +export * from "./PutBucketMetricsConfigurationCommand"; +export * from "./PutBucketNotificationConfigurationCommand"; +export * from "./PutBucketOwnershipControlsCommand"; +export * from "./PutBucketPolicyCommand"; +export * from "./PutBucketReplicationCommand"; +export * from "./PutBucketRequestPaymentCommand"; +export * from "./PutBucketTaggingCommand"; +export * from "./PutBucketVersioningCommand"; +export * from "./PutBucketWebsiteCommand"; +export * from "./PutObjectAclCommand"; +export * from "./PutObjectCommand"; +export * from "./PutObjectLegalHoldCommand"; +export * from "./PutObjectLockConfigurationCommand"; +export * from "./PutObjectRetentionCommand"; +export * from "./PutObjectTaggingCommand"; +export * from "./PutPublicAccessBlockCommand"; +export * from "./RenameObjectCommand"; +export * from "./RestoreObjectCommand"; +export * from "./SelectObjectContentCommand"; +export * from "./UpdateBucketMetadataInventoryTableConfigurationCommand"; +export * from "./UpdateBucketMetadataJournalTableConfigurationCommand"; +export * from "./UpdateObjectEncryptionCommand"; +export * from "./UploadPartCommand"; +export * from "./UploadPartCopyCommand"; +export * from "./WriteGetObjectResponseCommand"; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts new file mode 100644 index 0000000..487281c --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts @@ -0,0 +1,96 @@ +import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types"; +/** + * @public + */ +export interface ClientInputEndpointParameters { + clientContextParams?: { + disableS3ExpressSessionAuth?: boolean | undefined | Provider; + }; + region?: string | undefined | Provider; + useFipsEndpoint?: boolean | undefined | Provider; + useDualstackEndpoint?: boolean | undefined | Provider; + endpoint?: string | Provider | Endpoint | Provider | EndpointV2 | Provider; + forcePathStyle?: boolean | undefined | Provider; + useAccelerateEndpoint?: boolean | undefined | Provider; + useGlobalEndpoint?: boolean | undefined | Provider; + disableMultiregionAccessPoints?: boolean | undefined | Provider; + useArnRegion?: boolean | undefined | Provider; + disableS3ExpressSessionAuth?: boolean | undefined | Provider; +} +/** + * @public + */ +export type ClientResolvedEndpointParameters = Omit & { + defaultSigningName: string; +}; +/** + * @internal + */ +export declare const resolveClientEndpointParameters: (options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters; +/** + * @internal + */ +export declare const commonParams: { + readonly ForcePathStyle: { + readonly type: "clientContextParams"; + readonly name: "forcePathStyle"; + }; + readonly UseArnRegion: { + readonly type: "clientContextParams"; + readonly name: "useArnRegion"; + }; + readonly DisableMultiRegionAccessPoints: { + readonly type: "clientContextParams"; + readonly name: "disableMultiregionAccessPoints"; + }; + readonly Accelerate: { + readonly type: "clientContextParams"; + readonly name: "useAccelerateEndpoint"; + }; + readonly DisableS3ExpressSessionAuth: { + readonly type: "clientContextParams"; + readonly name: "disableS3ExpressSessionAuth"; + }; + readonly UseGlobalEndpoint: { + readonly type: "builtInParams"; + readonly name: "useGlobalEndpoint"; + }; + readonly UseFIPS: { + readonly type: "builtInParams"; + readonly name: "useFipsEndpoint"; + }; + readonly Endpoint: { + readonly type: "builtInParams"; + readonly name: "endpoint"; + }; + readonly Region: { + readonly type: "builtInParams"; + readonly name: "region"; + }; + readonly UseDualStack: { + readonly type: "builtInParams"; + readonly name: "useDualstackEndpoint"; + }; +}; +/** + * @internal + */ +export interface EndpointParameters extends __EndpointParameters { + Bucket?: string | undefined; + Region?: string | undefined; + UseFIPS?: boolean | undefined; + UseDualStack?: boolean | undefined; + Endpoint?: string | undefined; + ForcePathStyle?: boolean | undefined; + Accelerate?: boolean | undefined; + UseGlobalEndpoint?: boolean | undefined; + UseObjectLambdaEndpoint?: boolean | undefined; + Key?: string | undefined; + Prefix?: string | undefined; + CopySource?: string | undefined; + DisableAccessPoints?: boolean | undefined; + DisableMultiRegionAccessPoints?: boolean | undefined; + UseArnRegion?: boolean | undefined; + UseS3ExpressControlEndpoint?: boolean | undefined; + DisableS3ExpressSessionAuth?: boolean | undefined; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/endpoint/endpointResolver.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/endpoint/endpointResolver.d.ts new file mode 100644 index 0000000..c1de67d --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/endpoint/endpointResolver.d.ts @@ -0,0 +1,8 @@ +import type { EndpointV2, Logger } from "@smithy/types"; +import type { EndpointParameters } from "./EndpointParameters"; +/** + * @internal + */ +export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: { + logger?: Logger; +}) => EndpointV2; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/endpoint/ruleset.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/endpoint/ruleset.d.ts new file mode 100644 index 0000000..4b23899 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/endpoint/ruleset.d.ts @@ -0,0 +1,2 @@ +import { RuleSetObject } from "@smithy/types"; +export declare const ruleSet: RuleSetObject; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts new file mode 100644 index 0000000..6294e8f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts @@ -0,0 +1,9 @@ +import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; +import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; +import type { DefaultExtensionConfiguration } from "@smithy/types"; +import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; +/** + * @internal + */ +export interface S3ExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts new file mode 100644 index 0000000..ca5f866 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts @@ -0,0 +1,19 @@ +/** + *

+ * + * @packageDocumentation + */ +export * from "./S3Client"; +export * from "./S3"; +export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; +export type { RuntimeExtension } from "./runtimeExtensions"; +export type { S3ExtensionConfiguration } from "./extensionConfiguration"; +export * from "./commands"; +export * from "./schemas/schemas_0"; +export * from "./pagination"; +export * from "./waiters"; +export * from "./models/enums"; +export * from "./models/errors"; +export * from "./models/models_0"; +export * from "./models/models_1"; +export { S3ServiceException } from "./models/S3ServiceException"; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts new file mode 100644 index 0000000..37e9751 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts @@ -0,0 +1,14 @@ +import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client"; +export type { __ServiceExceptionOptions }; +export { __ServiceException }; +/** + * @public + * + * Base exception class for all service exceptions from S3 service. + */ +export declare class S3ServiceException extends __ServiceException { + /** + * @internal + */ + constructor(options: __ServiceExceptionOptions); +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts new file mode 100644 index 0000000..78add98 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts @@ -0,0 +1,987 @@ +/** + * @public + * @enum + */ +export declare const BucketAbacStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +/** + * @public + */ +export type BucketAbacStatus = (typeof BucketAbacStatus)[keyof typeof BucketAbacStatus]; +/** + * @public + * @enum + */ +export declare const RequestCharged: { + readonly requester: "requester"; +}; +/** + * @public + */ +export type RequestCharged = (typeof RequestCharged)[keyof typeof RequestCharged]; +/** + * @public + * @enum + */ +export declare const RequestPayer: { + readonly requester: "requester"; +}; +/** + * @public + */ +export type RequestPayer = (typeof RequestPayer)[keyof typeof RequestPayer]; +/** + * @public + * @enum + */ +export declare const BucketAccelerateStatus: { + readonly Enabled: "Enabled"; + readonly Suspended: "Suspended"; +}; +/** + * @public + */ +export type BucketAccelerateStatus = (typeof BucketAccelerateStatus)[keyof typeof BucketAccelerateStatus]; +/** + * @public + * @enum + */ +export declare const Type: { + readonly AmazonCustomerByEmail: "AmazonCustomerByEmail"; + readonly CanonicalUser: "CanonicalUser"; + readonly Group: "Group"; +}; +/** + * @public + */ +export type Type = (typeof Type)[keyof typeof Type]; +/** + * @public + * @enum + */ +export declare const Permission: { + readonly FULL_CONTROL: "FULL_CONTROL"; + readonly READ: "READ"; + readonly READ_ACP: "READ_ACP"; + readonly WRITE: "WRITE"; + readonly WRITE_ACP: "WRITE_ACP"; +}; +/** + * @public + */ +export type Permission = (typeof Permission)[keyof typeof Permission]; +/** + * @public + * @enum + */ +export declare const OwnerOverride: { + readonly Destination: "Destination"; +}; +/** + * @public + */ +export type OwnerOverride = (typeof OwnerOverride)[keyof typeof OwnerOverride]; +/** + * @public + * @enum + */ +export declare const ChecksumType: { + readonly COMPOSITE: "COMPOSITE"; + readonly FULL_OBJECT: "FULL_OBJECT"; +}; +/** + * @public + */ +export type ChecksumType = (typeof ChecksumType)[keyof typeof ChecksumType]; +/** + * @public + * @enum + */ +export declare const ServerSideEncryption: { + readonly AES256: "AES256"; + readonly aws_fsx: "aws:fsx"; + readonly aws_kms: "aws:kms"; + readonly aws_kms_dsse: "aws:kms:dsse"; +}; +/** + * @public + */ +export type ServerSideEncryption = (typeof ServerSideEncryption)[keyof typeof ServerSideEncryption]; +/** + * @public + * @enum + */ +export declare const ObjectCannedACL: { + readonly authenticated_read: "authenticated-read"; + readonly aws_exec_read: "aws-exec-read"; + readonly bucket_owner_full_control: "bucket-owner-full-control"; + readonly bucket_owner_read: "bucket-owner-read"; + readonly private: "private"; + readonly public_read: "public-read"; + readonly public_read_write: "public-read-write"; +}; +/** + * @public + */ +export type ObjectCannedACL = (typeof ObjectCannedACL)[keyof typeof ObjectCannedACL]; +/** + * @public + * @enum + */ +export declare const ChecksumAlgorithm: { + readonly CRC32: "CRC32"; + readonly CRC32C: "CRC32C"; + readonly CRC64NVME: "CRC64NVME"; + readonly SHA1: "SHA1"; + readonly SHA256: "SHA256"; +}; +/** + * @public + */ +export type ChecksumAlgorithm = (typeof ChecksumAlgorithm)[keyof typeof ChecksumAlgorithm]; +/** + * @public + * @enum + */ +export declare const MetadataDirective: { + readonly COPY: "COPY"; + readonly REPLACE: "REPLACE"; +}; +/** + * @public + */ +export type MetadataDirective = (typeof MetadataDirective)[keyof typeof MetadataDirective]; +/** + * @public + * @enum + */ +export declare const ObjectLockLegalHoldStatus: { + readonly OFF: "OFF"; + readonly ON: "ON"; +}; +/** + * @public + */ +export type ObjectLockLegalHoldStatus = (typeof ObjectLockLegalHoldStatus)[keyof typeof ObjectLockLegalHoldStatus]; +/** + * @public + * @enum + */ +export declare const ObjectLockMode: { + readonly COMPLIANCE: "COMPLIANCE"; + readonly GOVERNANCE: "GOVERNANCE"; +}; +/** + * @public + */ +export type ObjectLockMode = (typeof ObjectLockMode)[keyof typeof ObjectLockMode]; +/** + * @public + * @enum + */ +export declare const StorageClass: { + readonly DEEP_ARCHIVE: "DEEP_ARCHIVE"; + readonly EXPRESS_ONEZONE: "EXPRESS_ONEZONE"; + readonly FSX_ONTAP: "FSX_ONTAP"; + readonly FSX_OPENZFS: "FSX_OPENZFS"; + readonly GLACIER: "GLACIER"; + readonly GLACIER_IR: "GLACIER_IR"; + readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING"; + readonly ONEZONE_IA: "ONEZONE_IA"; + readonly OUTPOSTS: "OUTPOSTS"; + readonly REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY"; + readonly SNOW: "SNOW"; + readonly STANDARD: "STANDARD"; + readonly STANDARD_IA: "STANDARD_IA"; +}; +/** + * @public + */ +export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass]; +/** + * @public + * @enum + */ +export declare const TaggingDirective: { + readonly COPY: "COPY"; + readonly REPLACE: "REPLACE"; +}; +/** + * @public + */ +export type TaggingDirective = (typeof TaggingDirective)[keyof typeof TaggingDirective]; +/** + * @public + * @enum + */ +export declare const BucketCannedACL: { + readonly authenticated_read: "authenticated-read"; + readonly private: "private"; + readonly public_read: "public-read"; + readonly public_read_write: "public-read-write"; +}; +/** + * @public + */ +export type BucketCannedACL = (typeof BucketCannedACL)[keyof typeof BucketCannedACL]; +/** + * @public + * @enum + */ +export declare const BucketNamespace: { + readonly ACCOUNT_REGIONAL: "account-regional"; + readonly GLOBAL: "global"; +}; +/** + * @public + */ +export type BucketNamespace = (typeof BucketNamespace)[keyof typeof BucketNamespace]; +/** + * @public + * @enum + */ +export declare const DataRedundancy: { + readonly SingleAvailabilityZone: "SingleAvailabilityZone"; + readonly SingleLocalZone: "SingleLocalZone"; +}; +/** + * @public + */ +export type DataRedundancy = (typeof DataRedundancy)[keyof typeof DataRedundancy]; +/** + * @public + * @enum + */ +export declare const BucketType: { + readonly Directory: "Directory"; +}; +/** + * @public + */ +export type BucketType = (typeof BucketType)[keyof typeof BucketType]; +/** + * @public + * @enum + */ +export declare const LocationType: { + readonly AvailabilityZone: "AvailabilityZone"; + readonly LocalZone: "LocalZone"; +}; +/** + * @public + */ +export type LocationType = (typeof LocationType)[keyof typeof LocationType]; +/** + * @public + * @enum + */ +export declare const BucketLocationConstraint: { + readonly EU: "EU"; + readonly af_south_1: "af-south-1"; + readonly ap_east_1: "ap-east-1"; + readonly ap_northeast_1: "ap-northeast-1"; + readonly ap_northeast_2: "ap-northeast-2"; + readonly ap_northeast_3: "ap-northeast-3"; + readonly ap_south_1: "ap-south-1"; + readonly ap_south_2: "ap-south-2"; + readonly ap_southeast_1: "ap-southeast-1"; + readonly ap_southeast_2: "ap-southeast-2"; + readonly ap_southeast_3: "ap-southeast-3"; + readonly ap_southeast_4: "ap-southeast-4"; + readonly ap_southeast_5: "ap-southeast-5"; + readonly ca_central_1: "ca-central-1"; + readonly cn_north_1: "cn-north-1"; + readonly cn_northwest_1: "cn-northwest-1"; + readonly eu_central_1: "eu-central-1"; + readonly eu_central_2: "eu-central-2"; + readonly eu_north_1: "eu-north-1"; + readonly eu_south_1: "eu-south-1"; + readonly eu_south_2: "eu-south-2"; + readonly eu_west_1: "eu-west-1"; + readonly eu_west_2: "eu-west-2"; + readonly eu_west_3: "eu-west-3"; + readonly il_central_1: "il-central-1"; + readonly me_central_1: "me-central-1"; + readonly me_south_1: "me-south-1"; + readonly sa_east_1: "sa-east-1"; + readonly us_east_2: "us-east-2"; + readonly us_gov_east_1: "us-gov-east-1"; + readonly us_gov_west_1: "us-gov-west-1"; + readonly us_west_1: "us-west-1"; + readonly us_west_2: "us-west-2"; +}; +/** + * @public + */ +export type BucketLocationConstraint = (typeof BucketLocationConstraint)[keyof typeof BucketLocationConstraint]; +/** + * @public + * @enum + */ +export declare const ObjectOwnership: { + readonly BucketOwnerEnforced: "BucketOwnerEnforced"; + readonly BucketOwnerPreferred: "BucketOwnerPreferred"; + readonly ObjectWriter: "ObjectWriter"; +}; +/** + * @public + */ +export type ObjectOwnership = (typeof ObjectOwnership)[keyof typeof ObjectOwnership]; +/** + * @public + * @enum + */ +export declare const InventoryConfigurationState: { + readonly DISABLED: "DISABLED"; + readonly ENABLED: "ENABLED"; +}; +/** + * @public + */ +export type InventoryConfigurationState = (typeof InventoryConfigurationState)[keyof typeof InventoryConfigurationState]; +/** + * @public + * @enum + */ +export declare const TableSseAlgorithm: { + readonly AES256: "AES256"; + readonly aws_kms: "aws:kms"; +}; +/** + * @public + */ +export type TableSseAlgorithm = (typeof TableSseAlgorithm)[keyof typeof TableSseAlgorithm]; +/** + * @public + * @enum + */ +export declare const ExpirationState: { + readonly DISABLED: "DISABLED"; + readonly ENABLED: "ENABLED"; +}; +/** + * @public + */ +export type ExpirationState = (typeof ExpirationState)[keyof typeof ExpirationState]; +/** + * @public + * @enum + */ +export declare const SessionMode: { + readonly ReadOnly: "ReadOnly"; + readonly ReadWrite: "ReadWrite"; +}; +/** + * @public + */ +export type SessionMode = (typeof SessionMode)[keyof typeof SessionMode]; +/** + * @public + * @enum + */ +export declare const AnalyticsS3ExportFileFormat: { + readonly CSV: "CSV"; +}; +/** + * @public + */ +export type AnalyticsS3ExportFileFormat = (typeof AnalyticsS3ExportFileFormat)[keyof typeof AnalyticsS3ExportFileFormat]; +/** + * @public + * @enum + */ +export declare const StorageClassAnalysisSchemaVersion: { + readonly V_1: "V_1"; +}; +/** + * @public + */ +export type StorageClassAnalysisSchemaVersion = (typeof StorageClassAnalysisSchemaVersion)[keyof typeof StorageClassAnalysisSchemaVersion]; +/** + * @public + * @enum + */ +export declare const EncryptionType: { + readonly NONE: "NONE"; + readonly SSE_C: "SSE-C"; +}; +/** + * @public + */ +export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType]; +/** + * @public + * @enum + */ +export declare const IntelligentTieringStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +/** + * @public + */ +export type IntelligentTieringStatus = (typeof IntelligentTieringStatus)[keyof typeof IntelligentTieringStatus]; +/** + * @public + * @enum + */ +export declare const IntelligentTieringAccessTier: { + readonly ARCHIVE_ACCESS: "ARCHIVE_ACCESS"; + readonly DEEP_ARCHIVE_ACCESS: "DEEP_ARCHIVE_ACCESS"; +}; +/** + * @public + */ +export type IntelligentTieringAccessTier = (typeof IntelligentTieringAccessTier)[keyof typeof IntelligentTieringAccessTier]; +/** + * @public + * @enum + */ +export declare const InventoryFormat: { + readonly CSV: "CSV"; + readonly ORC: "ORC"; + readonly Parquet: "Parquet"; +}; +/** + * @public + */ +export type InventoryFormat = (typeof InventoryFormat)[keyof typeof InventoryFormat]; +/** + * @public + * @enum + */ +export declare const InventoryIncludedObjectVersions: { + readonly All: "All"; + readonly Current: "Current"; +}; +/** + * @public + */ +export type InventoryIncludedObjectVersions = (typeof InventoryIncludedObjectVersions)[keyof typeof InventoryIncludedObjectVersions]; +/** + * @public + * @enum + */ +export declare const InventoryOptionalField: { + readonly BucketKeyStatus: "BucketKeyStatus"; + readonly ChecksumAlgorithm: "ChecksumAlgorithm"; + readonly ETag: "ETag"; + readonly EncryptionStatus: "EncryptionStatus"; + readonly IntelligentTieringAccessTier: "IntelligentTieringAccessTier"; + readonly IsMultipartUploaded: "IsMultipartUploaded"; + readonly LastModifiedDate: "LastModifiedDate"; + readonly LifecycleExpirationDate: "LifecycleExpirationDate"; + readonly ObjectAccessControlList: "ObjectAccessControlList"; + readonly ObjectLockLegalHoldStatus: "ObjectLockLegalHoldStatus"; + readonly ObjectLockMode: "ObjectLockMode"; + readonly ObjectLockRetainUntilDate: "ObjectLockRetainUntilDate"; + readonly ObjectOwner: "ObjectOwner"; + readonly ReplicationStatus: "ReplicationStatus"; + readonly Size: "Size"; + readonly StorageClass: "StorageClass"; +}; +/** + * @public + */ +export type InventoryOptionalField = (typeof InventoryOptionalField)[keyof typeof InventoryOptionalField]; +/** + * @public + * @enum + */ +export declare const InventoryFrequency: { + readonly Daily: "Daily"; + readonly Weekly: "Weekly"; +}; +/** + * @public + */ +export type InventoryFrequency = (typeof InventoryFrequency)[keyof typeof InventoryFrequency]; +/** + * @public + * @enum + */ +export declare const TransitionStorageClass: { + readonly DEEP_ARCHIVE: "DEEP_ARCHIVE"; + readonly GLACIER: "GLACIER"; + readonly GLACIER_IR: "GLACIER_IR"; + readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING"; + readonly ONEZONE_IA: "ONEZONE_IA"; + readonly STANDARD_IA: "STANDARD_IA"; +}; +/** + * @public + */ +export type TransitionStorageClass = (typeof TransitionStorageClass)[keyof typeof TransitionStorageClass]; +/** + * @public + * @enum + */ +export declare const ExpirationStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +/** + * @public + */ +export type ExpirationStatus = (typeof ExpirationStatus)[keyof typeof ExpirationStatus]; +/** + * @public + * @enum + */ +export declare const TransitionDefaultMinimumObjectSize: { + readonly all_storage_classes_128K: "all_storage_classes_128K"; + readonly varies_by_storage_class: "varies_by_storage_class"; +}; +/** + * @public + */ +export type TransitionDefaultMinimumObjectSize = (typeof TransitionDefaultMinimumObjectSize)[keyof typeof TransitionDefaultMinimumObjectSize]; +/** + * @public + * @enum + */ +export declare const BucketLogsPermission: { + readonly FULL_CONTROL: "FULL_CONTROL"; + readonly READ: "READ"; + readonly WRITE: "WRITE"; +}; +/** + * @public + */ +export type BucketLogsPermission = (typeof BucketLogsPermission)[keyof typeof BucketLogsPermission]; +/** + * @public + * @enum + */ +export declare const PartitionDateSource: { + readonly DeliveryTime: "DeliveryTime"; + readonly EventTime: "EventTime"; +}; +/** + * @public + */ +export type PartitionDateSource = (typeof PartitionDateSource)[keyof typeof PartitionDateSource]; +/** + * @public + * @enum + */ +export declare const S3TablesBucketType: { + readonly aws: "aws"; + readonly customer: "customer"; +}; +/** + * @public + */ +export type S3TablesBucketType = (typeof S3TablesBucketType)[keyof typeof S3TablesBucketType]; +/** + * @public + * @enum + */ +export declare const Event: { + readonly s3_IntelligentTiering: "s3:IntelligentTiering"; + readonly s3_LifecycleExpiration_: "s3:LifecycleExpiration:*"; + readonly s3_LifecycleExpiration_Delete: "s3:LifecycleExpiration:Delete"; + readonly s3_LifecycleExpiration_DeleteMarkerCreated: "s3:LifecycleExpiration:DeleteMarkerCreated"; + readonly s3_LifecycleTransition: "s3:LifecycleTransition"; + readonly s3_ObjectAcl_Put: "s3:ObjectAcl:Put"; + readonly s3_ObjectCreated_: "s3:ObjectCreated:*"; + readonly s3_ObjectCreated_CompleteMultipartUpload: "s3:ObjectCreated:CompleteMultipartUpload"; + readonly s3_ObjectCreated_Copy: "s3:ObjectCreated:Copy"; + readonly s3_ObjectCreated_Post: "s3:ObjectCreated:Post"; + readonly s3_ObjectCreated_Put: "s3:ObjectCreated:Put"; + readonly s3_ObjectRemoved_: "s3:ObjectRemoved:*"; + readonly s3_ObjectRemoved_Delete: "s3:ObjectRemoved:Delete"; + readonly s3_ObjectRemoved_DeleteMarkerCreated: "s3:ObjectRemoved:DeleteMarkerCreated"; + readonly s3_ObjectRestore_: "s3:ObjectRestore:*"; + readonly s3_ObjectRestore_Completed: "s3:ObjectRestore:Completed"; + readonly s3_ObjectRestore_Delete: "s3:ObjectRestore:Delete"; + readonly s3_ObjectRestore_Post: "s3:ObjectRestore:Post"; + readonly s3_ObjectTagging_: "s3:ObjectTagging:*"; + readonly s3_ObjectTagging_Delete: "s3:ObjectTagging:Delete"; + readonly s3_ObjectTagging_Put: "s3:ObjectTagging:Put"; + readonly s3_ReducedRedundancyLostObject: "s3:ReducedRedundancyLostObject"; + readonly s3_Replication_: "s3:Replication:*"; + readonly s3_Replication_OperationFailedReplication: "s3:Replication:OperationFailedReplication"; + readonly s3_Replication_OperationMissedThreshold: "s3:Replication:OperationMissedThreshold"; + readonly s3_Replication_OperationNotTracked: "s3:Replication:OperationNotTracked"; + readonly s3_Replication_OperationReplicatedAfterThreshold: "s3:Replication:OperationReplicatedAfterThreshold"; +}; +/** + * @public + */ +export type Event = (typeof Event)[keyof typeof Event]; +/** + * @public + * @enum + */ +export declare const FilterRuleName: { + readonly prefix: "prefix"; + readonly suffix: "suffix"; +}; +/** + * @public + */ +export type FilterRuleName = (typeof FilterRuleName)[keyof typeof FilterRuleName]; +/** + * @public + * @enum + */ +export declare const DeleteMarkerReplicationStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +/** + * @public + */ +export type DeleteMarkerReplicationStatus = (typeof DeleteMarkerReplicationStatus)[keyof typeof DeleteMarkerReplicationStatus]; +/** + * @public + * @enum + */ +export declare const MetricsStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +/** + * @public + */ +export type MetricsStatus = (typeof MetricsStatus)[keyof typeof MetricsStatus]; +/** + * @public + * @enum + */ +export declare const ReplicationTimeStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +/** + * @public + */ +export type ReplicationTimeStatus = (typeof ReplicationTimeStatus)[keyof typeof ReplicationTimeStatus]; +/** + * @public + * @enum + */ +export declare const ExistingObjectReplicationStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +/** + * @public + */ +export type ExistingObjectReplicationStatus = (typeof ExistingObjectReplicationStatus)[keyof typeof ExistingObjectReplicationStatus]; +/** + * @public + * @enum + */ +export declare const ReplicaModificationsStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +/** + * @public + */ +export type ReplicaModificationsStatus = (typeof ReplicaModificationsStatus)[keyof typeof ReplicaModificationsStatus]; +/** + * @public + * @enum + */ +export declare const SseKmsEncryptedObjectsStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +/** + * @public + */ +export type SseKmsEncryptedObjectsStatus = (typeof SseKmsEncryptedObjectsStatus)[keyof typeof SseKmsEncryptedObjectsStatus]; +/** + * @public + * @enum + */ +export declare const ReplicationRuleStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +/** + * @public + */ +export type ReplicationRuleStatus = (typeof ReplicationRuleStatus)[keyof typeof ReplicationRuleStatus]; +/** + * @public + * @enum + */ +export declare const Payer: { + readonly BucketOwner: "BucketOwner"; + readonly Requester: "Requester"; +}; +/** + * @public + */ +export type Payer = (typeof Payer)[keyof typeof Payer]; +/** + * @public + * @enum + */ +export declare const MFADeleteStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +/** + * @public + */ +export type MFADeleteStatus = (typeof MFADeleteStatus)[keyof typeof MFADeleteStatus]; +/** + * @public + * @enum + */ +export declare const BucketVersioningStatus: { + readonly Enabled: "Enabled"; + readonly Suspended: "Suspended"; +}; +/** + * @public + */ +export type BucketVersioningStatus = (typeof BucketVersioningStatus)[keyof typeof BucketVersioningStatus]; +/** + * @public + * @enum + */ +export declare const Protocol: { + readonly http: "http"; + readonly https: "https"; +}; +/** + * @public + */ +export type Protocol = (typeof Protocol)[keyof typeof Protocol]; +/** + * @public + * @enum + */ +export declare const ReplicationStatus: { + readonly COMPLETE: "COMPLETE"; + readonly COMPLETED: "COMPLETED"; + readonly FAILED: "FAILED"; + readonly PENDING: "PENDING"; + readonly REPLICA: "REPLICA"; +}; +/** + * @public + */ +export type ReplicationStatus = (typeof ReplicationStatus)[keyof typeof ReplicationStatus]; +/** + * @public + * @enum + */ +export declare const ChecksumMode: { + readonly ENABLED: "ENABLED"; +}; +/** + * @public + */ +export type ChecksumMode = (typeof ChecksumMode)[keyof typeof ChecksumMode]; +/** + * @public + * @enum + */ +export declare const ObjectAttributes: { + readonly CHECKSUM: "Checksum"; + readonly ETAG: "ETag"; + readonly OBJECT_PARTS: "ObjectParts"; + readonly OBJECT_SIZE: "ObjectSize"; + readonly STORAGE_CLASS: "StorageClass"; +}; +/** + * @public + */ +export type ObjectAttributes = (typeof ObjectAttributes)[keyof typeof ObjectAttributes]; +/** + * @public + * @enum + */ +export declare const ObjectLockEnabled: { + readonly Enabled: "Enabled"; +}; +/** + * @public + */ +export type ObjectLockEnabled = (typeof ObjectLockEnabled)[keyof typeof ObjectLockEnabled]; +/** + * @public + * @enum + */ +export declare const ObjectLockRetentionMode: { + readonly COMPLIANCE: "COMPLIANCE"; + readonly GOVERNANCE: "GOVERNANCE"; +}; +/** + * @public + */ +export type ObjectLockRetentionMode = (typeof ObjectLockRetentionMode)[keyof typeof ObjectLockRetentionMode]; +/** + * @public + * @enum + */ +export declare const ArchiveStatus: { + readonly ARCHIVE_ACCESS: "ARCHIVE_ACCESS"; + readonly DEEP_ARCHIVE_ACCESS: "DEEP_ARCHIVE_ACCESS"; +}; +/** + * @public + */ +export type ArchiveStatus = (typeof ArchiveStatus)[keyof typeof ArchiveStatus]; +/** + * @public + * @enum + */ +export declare const EncodingType: { + readonly url: "url"; +}; +/** + * @public + */ +export type EncodingType = (typeof EncodingType)[keyof typeof EncodingType]; +/** + * @public + * @enum + */ +export declare const ObjectStorageClass: { + readonly DEEP_ARCHIVE: "DEEP_ARCHIVE"; + readonly EXPRESS_ONEZONE: "EXPRESS_ONEZONE"; + readonly FSX_ONTAP: "FSX_ONTAP"; + readonly FSX_OPENZFS: "FSX_OPENZFS"; + readonly GLACIER: "GLACIER"; + readonly GLACIER_IR: "GLACIER_IR"; + readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING"; + readonly ONEZONE_IA: "ONEZONE_IA"; + readonly OUTPOSTS: "OUTPOSTS"; + readonly REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY"; + readonly SNOW: "SNOW"; + readonly STANDARD: "STANDARD"; + readonly STANDARD_IA: "STANDARD_IA"; +}; +/** + * @public + */ +export type ObjectStorageClass = (typeof ObjectStorageClass)[keyof typeof ObjectStorageClass]; +/** + * @public + * @enum + */ +export declare const OptionalObjectAttributes: { + readonly RESTORE_STATUS: "RestoreStatus"; +}; +/** + * @public + */ +export type OptionalObjectAttributes = (typeof OptionalObjectAttributes)[keyof typeof OptionalObjectAttributes]; +/** + * @public + * @enum + */ +export declare const ObjectVersionStorageClass: { + readonly STANDARD: "STANDARD"; +}; +/** + * @public + */ +export type ObjectVersionStorageClass = (typeof ObjectVersionStorageClass)[keyof typeof ObjectVersionStorageClass]; +/** + * @public + * @enum + */ +export declare const MFADelete: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +/** + * @public + */ +export type MFADelete = (typeof MFADelete)[keyof typeof MFADelete]; +/** + * @public + * @enum + */ +export declare const Tier: { + readonly Bulk: "Bulk"; + readonly Expedited: "Expedited"; + readonly Standard: "Standard"; +}; +/** + * @public + */ +export type Tier = (typeof Tier)[keyof typeof Tier]; +/** + * @public + * @enum + */ +export declare const ExpressionType: { + readonly SQL: "SQL"; +}; +/** + * @public + */ +export type ExpressionType = (typeof ExpressionType)[keyof typeof ExpressionType]; +/** + * @public + * @enum + */ +export declare const CompressionType: { + readonly BZIP2: "BZIP2"; + readonly GZIP: "GZIP"; + readonly NONE: "NONE"; +}; +/** + * @public + */ +export type CompressionType = (typeof CompressionType)[keyof typeof CompressionType]; +/** + * @public + * @enum + */ +export declare const FileHeaderInfo: { + readonly IGNORE: "IGNORE"; + readonly NONE: "NONE"; + readonly USE: "USE"; +}; +/** + * @public + */ +export type FileHeaderInfo = (typeof FileHeaderInfo)[keyof typeof FileHeaderInfo]; +/** + * @public + * @enum + */ +export declare const JSONType: { + readonly DOCUMENT: "DOCUMENT"; + readonly LINES: "LINES"; +}; +/** + * @public + */ +export type JSONType = (typeof JSONType)[keyof typeof JSONType]; +/** + * @public + * @enum + */ +export declare const QuoteFields: { + readonly ALWAYS: "ALWAYS"; + readonly ASNEEDED: "ASNEEDED"; +}; +/** + * @public + */ +export type QuoteFields = (typeof QuoteFields)[keyof typeof QuoteFields]; +/** + * @public + * @enum + */ +export declare const RestoreRequestType: { + readonly SELECT: "SELECT"; +}; +/** + * @public + */ +export type RestoreRequestType = (typeof RestoreRequestType)[keyof typeof RestoreRequestType]; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/models/errors.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/models/errors.d.ts new file mode 100644 index 0000000..98eb80d --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/models/errors.d.ts @@ -0,0 +1,208 @@ +import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; +import type { IntelligentTieringAccessTier, StorageClass } from "./enums"; +import { S3ServiceException as __BaseException } from "./S3ServiceException"; +/** + *

The specified multipart upload does not exist.

+ * @public + */ +export declare class NoSuchUpload extends __BaseException { + readonly name: "NoSuchUpload"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

+ * You might receive this error for several reasons. For details, see the description of this API + * operation.

+ * @public + */ +export declare class AccessDenied extends __BaseException { + readonly name: "AccessDenied"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

The source object of the COPY action is not in the active tier and is only stored in Amazon S3 + * Glacier.

+ * @public + */ +export declare class ObjectNotInActiveTierError extends __BaseException { + readonly name: "ObjectNotInActiveTierError"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

The requested bucket name is not available. The bucket namespace is shared by all users of the + * system. Select a different name and try again.

+ * @public + */ +export declare class BucketAlreadyExists extends __BaseException { + readonly name: "BucketAlreadyExists"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

The bucket you tried to create already exists, and you own it. Amazon S3 returns this error in all Amazon Web Services + * Regions except in the North Virginia Region. For legacy compatibility, if you re-create an existing + * bucket that you already own in the North Virginia Region, Amazon S3 returns 200 OK and resets the bucket + * access control lists (ACLs).

+ * @public + */ +export declare class BucketAlreadyOwnedByYou extends __BaseException { + readonly name: "BucketAlreadyOwnedByYou"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

The specified bucket does not exist.

+ * @public + */ +export declare class NoSuchBucket extends __BaseException { + readonly name: "NoSuchBucket"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Object is archived and inaccessible until restored.

+ *

If the object you are retrieving is stored in the S3 Glacier Flexible Retrieval storage class, the + * S3 Glacier Deep Archive storage class, the S3 Intelligent-Tiering Archive Access tier, or the + * S3 Intelligent-Tiering Deep Archive Access tier, before you can retrieve the object you must first restore a copy + * using RestoreObject. Otherwise, this operation returns an InvalidObjectState error. For + * information about restoring archived objects, see Restoring Archived Objects in the + * Amazon S3 User Guide.

+ * @public + */ +export declare class InvalidObjectState extends __BaseException { + readonly name: "InvalidObjectState"; + readonly $fault: "client"; + StorageClass?: StorageClass | undefined; + AccessTier?: IntelligentTieringAccessTier | undefined; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

The specified key does not exist.

+ * @public + */ +export declare class NoSuchKey extends __BaseException { + readonly name: "NoSuchKey"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

The specified content does not exist.

+ * @public + */ +export declare class NotFound extends __BaseException { + readonly name: "NotFound"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

The existing object was created with a different encryption type. Subsequent write requests must + * include the appropriate encryption parameters in the request or while creating the session.

+ * @public + */ +export declare class EncryptionTypeMismatch extends __BaseException { + readonly name: "EncryptionTypeMismatch"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

A parameter or header in your request isn't valid. For details, see the description of this API + * operation.

+ * @public + */ +export declare class InvalidRequest extends __BaseException { + readonly name: "InvalidRequest"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

The write offset value that you specified does not match the current object size.

+ * @public + */ +export declare class InvalidWriteOffset extends __BaseException { + readonly name: "InvalidWriteOffset"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

You have attempted to add more parts than the maximum of 10000 that are allowed for this object. + * You can use the CopyObject operation to copy this object to another and then add more data to the newly + * copied object.

+ * @public + */ +export declare class TooManyParts extends __BaseException { + readonly name: "TooManyParts"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Parameters on this idempotent request are inconsistent with parameters used in previous request(s).

+ *

For a list of error codes and more information on Amazon S3 errors, see Error codes.

+ * + *

Idempotency ensures that an API request completes no more than one time. With an idempotent + * request, if the original request completes successfully, any subsequent retries complete successfully + * without performing any further actions.

+ *
+ * @public + */ +export declare class IdempotencyParameterMismatch extends __BaseException { + readonly name: "IdempotencyParameterMismatch"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

This action is not allowed against this storage tier.

+ * @public + */ +export declare class ObjectAlreadyInActiveTierError extends __BaseException { + readonly name: "ObjectAlreadyInActiveTierError"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts new file mode 100644 index 0000000..3690ce1 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts @@ -0,0 +1,15270 @@ +import type { StreamingBlobTypes } from "@smithy/types"; +import type { AnalyticsS3ExportFileFormat, ArchiveStatus, BucketAbacStatus, BucketAccelerateStatus, BucketCannedACL, BucketLocationConstraint, BucketLogsPermission, BucketNamespace, BucketType, BucketVersioningStatus, ChecksumAlgorithm, ChecksumMode, ChecksumType, DataRedundancy, DeleteMarkerReplicationStatus, EncodingType, EncryptionType, Event, ExistingObjectReplicationStatus, ExpirationState, ExpirationStatus, FileHeaderInfo, FilterRuleName, IntelligentTieringAccessTier, IntelligentTieringStatus, InventoryConfigurationState, InventoryFormat, InventoryFrequency, InventoryIncludedObjectVersions, InventoryOptionalField, JSONType, LocationType, MetadataDirective, MetricsStatus, MFADelete, MFADeleteStatus, ObjectAttributes, ObjectCannedACL, ObjectLockEnabled, ObjectLockLegalHoldStatus, ObjectLockMode, ObjectLockRetentionMode, ObjectOwnership, ObjectStorageClass, ObjectVersionStorageClass, OptionalObjectAttributes, OwnerOverride, PartitionDateSource, Payer, Permission, Protocol, ReplicaModificationsStatus, ReplicationRuleStatus, ReplicationStatus, ReplicationTimeStatus, RequestCharged, RequestPayer, S3TablesBucketType, ServerSideEncryption, SessionMode, SseKmsEncryptedObjectsStatus, StorageClass, StorageClassAnalysisSchemaVersion, TableSseAlgorithm, TaggingDirective, Tier, TransitionDefaultMinimumObjectSize, TransitionStorageClass, Type } from "./enums"; +/** + *

The ABAC status of the general purpose bucket. When ABAC is enabled for the general purpose bucket, you can use tags to manage access to the general purpose buckets as well as for cost tracking purposes. When ABAC is disabled for the general purpose buckets, you can only use tags for cost tracking purposes. For more information, see Using tags with S3 general purpose buckets.

+ * @public + */ +export interface AbacStatus { + /** + *

The ABAC status of the general purpose bucket.

+ * @public + */ + Status?: BucketAbacStatus | undefined; +} +/** + *

Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before + * permanently removing all parts of the upload. For more information, see Aborting + * Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration in the + * Amazon S3 User Guide.

+ * @public + */ +export interface AbortIncompleteMultipartUpload { + /** + *

Specifies the number of days after which Amazon S3 aborts an incomplete multipart upload.

+ * @public + */ + DaysAfterInitiation?: number | undefined; +} +/** + * @public + */ +export interface AbortMultipartUploadOutput { + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; +} +/** + * @public + */ +export interface AbortMultipartUploadRequest { + /** + *

The bucket name to which the upload was taking place.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format + * Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * amzn-s3-demo-bucket--usw2-az1--x-s3). For information about bucket naming + * restrictions, see Directory bucket naming + * rules in the Amazon S3 User Guide.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ * + *

Object Lambda access points are not supported by directory buckets.

+ *
+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Key of the object for which the multipart upload was initiated.

+ * @public + */ + Key: string | undefined; + /** + *

Upload ID that identifies the multipart upload.

+ * @public + */ + UploadId: string | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

If present, this header aborts an in progress multipart upload only if it was initiated on the + * provided timestamp. If the initiated timestamp of the multipart upload does not match the provided + * value, the operation returns a 412 Precondition Failed error. If the initiated timestamp + * matches or if the multipart upload doesn’t exist, the operation returns a 204 Success (No + * Content) response.

+ * + *

This functionality is only supported for directory buckets.

+ *
+ * @public + */ + IfMatchInitiatedTime?: Date | undefined; +} +/** + *

Configures the transfer acceleration state for an Amazon S3 bucket. For more information, see Amazon S3 Transfer + * Acceleration in the Amazon S3 User Guide.

+ * @public + */ +export interface AccelerateConfiguration { + /** + *

Specifies the transfer acceleration status of the bucket.

+ * @public + */ + Status?: BucketAccelerateStatus | undefined; +} +/** + *

Container for the person being granted permissions.

+ * @public + */ +export interface Grantee { + /** + *

+ * @public + */ + DisplayName?: string | undefined; + /** + *

+ * @public + */ + EmailAddress?: string | undefined; + /** + *

The canonical user ID of the grantee.

+ * @public + */ + ID?: string | undefined; + /** + *

URI of the grantee group.

+ * @public + */ + URI?: string | undefined; + /** + *

Type of grantee

+ * @public + */ + Type: Type | undefined; +} +/** + *

Container for grant information.

+ * @public + */ +export interface Grant { + /** + *

The person being granted permissions.

+ * @public + */ + Grantee?: Grantee | undefined; + /** + *

Specifies the permission given to the grantee.

+ * @public + */ + Permission?: Permission | undefined; +} +/** + *

Container for the owner's display name and ID.

+ * @public + */ +export interface Owner { + /** + *

+ * @public + */ + DisplayName?: string | undefined; + /** + *

Container for the ID of the owner.

+ * @public + */ + ID?: string | undefined; +} +/** + *

Contains the elements that set the ACL permissions for an object per grantee.

+ * @public + */ +export interface AccessControlPolicy { + /** + *

A list of grants.

+ * @public + */ + Grants?: Grant[] | undefined; + /** + *

Container for the bucket owner's display name and ID.

+ * @public + */ + Owner?: Owner | undefined; +} +/** + *

A container for information about access control for replicas.

+ * @public + */ +export interface AccessControlTranslation { + /** + *

Specifies the replica ownership. For default and valid values, see PUT bucket replication in the + * Amazon S3 API Reference.

+ * @public + */ + Owner: OwnerOverride | undefined; +} +/** + * @public + */ +export interface CompleteMultipartUploadOutput { + /** + *

The URI that identifies the newly created object.

+ * @public + */ + Location?: string | undefined; + /** + *

The name of the bucket that contains the newly created object. Does not return the access point ARN or access point + * alias if used.

+ * + *

Access points are not supported by directory buckets.

+ *
+ * @public + */ + Bucket?: string | undefined; + /** + *

The object key of the newly created object.

+ * @public + */ + Key?: string | undefined; + /** + *

If the object expiration is configured, this will contain the expiration date + * (expiry-date) and rule ID (rule-id). The value of rule-id is + * URL-encoded.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + Expiration?: string | undefined; + /** + *

Entity tag that identifies the newly created object's data. Objects with different object data will + * have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 + * digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain + * one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal + * digits. For more information about how the entity tag is calculated, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ETag?: string | undefined; + /** + *

The Base64 encoded, 32-bit CRC32 checksum of the object. This checksum is only present if the checksum was uploaded + * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated + * with multipart uploads, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32?: string | undefined; + /** + *

The Base64 encoded, 32-bit CRC32C checksum of the object. This checksum is only present if the checksum was uploaded + * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated + * with multipart uploads, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32C?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data + * that was originally sent. This header specifies the Base64 encoded, 64-bit CRC64NVME + * checksum of the object. The CRC64NVME checksum is always a full object checksum. For more + * information, see Checking object integrity in the Amazon S3 + * User Guide.

+ * @public + */ + ChecksumCRC64NVME?: string | undefined; + /** + *

The Base64 encoded, 160-bit SHA1 digest of the object. This checksum is only present if the checksum was uploaded + * with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated + * with multipart uploads, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA1?: string | undefined; + /** + *

The Base64 encoded, 256-bit SHA256 digest of the object. This checksum is only present if the checksum was uploaded + * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated + * with multipart uploads, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA256?: string | undefined; + /** + *

The checksum type, which determines how part-level checksums are combined to create an object-level + * checksum for multipart objects. You can use this header as a data integrity check to verify that the + * checksum type that is received is the same checksum type that was specified during the + * CreateMultipartUpload request. For more information, see Checking object integrity in the Amazon S3 + * User Guide.

+ * @public + */ + ChecksumType?: ChecksumType | undefined; + /** + *

The server-side encryption algorithm used when storing this object in Amazon S3.

+ * + *

When accessing data stored in Amazon FSx file systems using S3 access points, the only valid server side + * encryption option is aws:fsx.

+ *
+ *

+ * @public + */ + ServerSideEncryption?: ServerSideEncryption | undefined; + /** + *

Version ID of the newly created object, in case the bucket has versioning turned on.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + VersionId?: string | undefined; + /** + *

If present, indicates the ID of the KMS key that was used for object encryption.

+ * @public + */ + SSEKMSKeyId?: string | undefined; + /** + *

Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with + * Key Management Service (KMS) keys (SSE-KMS).

+ * @public + */ + BucketKeyEnabled?: boolean | undefined; + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; +} +/** + *

Details of the parts that were uploaded.

+ * @public + */ +export interface CompletedPart { + /** + *

Entity tag returned when the part was uploaded.

+ * @public + */ + ETag?: string | undefined; + /** + *

The Base64 encoded, 32-bit CRC32 checksum of the part. This checksum is present if the + * multipart upload request was created with the CRC32 checksum algorithm. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32?: string | undefined; + /** + *

The Base64 encoded, 32-bit CRC32C checksum of the part. This checksum is present if the + * multipart upload request was created with the CRC32C checksum algorithm. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32C?: string | undefined; + /** + *

The Base64 encoded, 64-bit CRC64NVME checksum of the part. This checksum is present if + * the multipart upload request was created with the CRC64NVME checksum algorithm to the + * uploaded object). For more information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC64NVME?: string | undefined; + /** + *

The Base64 encoded, 160-bit SHA1 checksum of the part. This checksum is present if the + * multipart upload request was created with the SHA1 checksum algorithm. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA1?: string | undefined; + /** + *

The Base64 encoded, 256-bit SHA256 checksum of the part. This checksum is present if + * the multipart upload request was created with the SHA256 checksum algorithm. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA256?: string | undefined; + /** + *

Part number that identifies the part. This is a positive integer between 1 and 10,000.

+ * + *
    + *
  • + *

    + * General purpose buckets - In + * CompleteMultipartUpload, when a additional checksum (including + * x-amz-checksum-crc32, x-amz-checksum-crc32c, + * x-amz-checksum-sha1, or x-amz-checksum-sha256) is applied to each + * part, the PartNumber must start at 1 and the part numbers must be consecutive. + * Otherwise, Amazon S3 generates an HTTP 400 Bad Request status code and an + * InvalidPartOrder error code.

    + *
  • + *
  • + *

    + * Directory buckets - In + * CompleteMultipartUpload, the PartNumber must start at 1 and the part + * numbers must be consecutive.

    + *
  • + *
+ *
+ * @public + */ + PartNumber?: number | undefined; +} +/** + *

The container for the completed multipart upload details.

+ * @public + */ +export interface CompletedMultipartUpload { + /** + *

Array of CompletedPart data types.

+ *

If you do not supply a valid Part with your request, the service sends back an HTTP 400 + * response.

+ * @public + */ + Parts?: CompletedPart[] | undefined; +} +/** + * @public + */ +export interface CompleteMultipartUploadRequest { + /** + *

Name of the bucket to which the multipart upload was initiated.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format + * Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * amzn-s3-demo-bucket--usw2-az1--x-s3). For information about bucket naming + * restrictions, see Directory bucket naming + * rules in the Amazon S3 User Guide.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ * + *

Object Lambda access points are not supported by directory buckets.

+ *
+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Object key for which the multipart upload was initiated.

+ * @public + */ + Key: string | undefined; + /** + *

The container for the multipart upload request information.

+ * @public + */ + MultipartUpload?: CompletedMultipartUpload | undefined; + /** + *

ID for the initiated multipart upload.

+ * @public + */ + UploadId: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. + * This header specifies the Base64 encoded, 32-bit CRC32 checksum of the object. For more information, see + * Checking object integrity in the + * Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. + * This header specifies the Base64 encoded, 32-bit CRC32C checksum of the object. For more information, see + * Checking object integrity in the + * Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32C?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data + * that was originally sent. This header specifies the Base64 encoded, 64-bit CRC64NVME + * checksum of the object. The CRC64NVME checksum is always a full object checksum. For more + * information, see Checking object integrity in the Amazon S3 + * User Guide.

+ * @public + */ + ChecksumCRC64NVME?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. + * This header specifies the Base64 encoded, 160-bit SHA1 digest of the object. For more information, see + * Checking object integrity in the + * Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA1?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. + * This header specifies the Base64 encoded, 256-bit SHA256 digest of the object. For more information, see + * Checking object integrity in the + * Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA256?: string | undefined; + /** + *

This header specifies the checksum type of the object, which determines how part-level checksums are + * combined to create an object-level checksum for multipart objects. You can use this header as a data + * integrity check to verify that the checksum type that is received is the same checksum that was + * specified. If the checksum type doesn’t match the checksum type that was specified for the object during + * the CreateMultipartUpload request, it’ll result in a BadDigest error. For more + * information, see Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumType?: ChecksumType | undefined; + /** + *

The expected total object size of the multipart upload request. If there’s a mismatch between the + * specified object size value and the actual object size value, it results in an HTTP 400 + * InvalidRequest error.

+ * @public + */ + MpuObjectSize?: number | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

Uploads the object only if the ETag (entity tag) value provided during the WRITE operation matches + * the ETag of the object in S3. If the ETag values do not match, the operation returns a 412 + * Precondition Failed error.

+ *

If a conflicting operation occurs during the upload S3 returns a 409 + * ConditionalRequestConflict response. On a 409 failure you should fetch the object's ETag, + * re-initiate the multipart upload with CreateMultipartUpload, and re-upload each + * part.

+ *

Expects the ETag value as a string.

+ *

For more information about conditional requests, see RFC 7232, or Conditional requests in the + * Amazon S3 User Guide.

+ * @public + */ + IfMatch?: string | undefined; + /** + *

Uploads the object only if the object key name does not already exist in the bucket specified. + * Otherwise, Amazon S3 returns a 412 Precondition Failed error.

+ *

If a conflicting operation occurs during the upload S3 returns a 409 + * ConditionalRequestConflict response. On a 409 failure you should re-initiate the multipart + * upload with CreateMultipartUpload and re-upload each part.

+ *

Expects the '*' (asterisk) character.

+ *

For more information about conditional requests, see RFC 7232, or Conditional requests in the + * Amazon S3 User Guide.

+ * @public + */ + IfNoneMatch?: string | undefined; + /** + *

The server-side encryption (SSE) algorithm used to encrypt the object. This parameter is required + * only when the object was created using a checksum algorithm or if your bucket policy requires the use of + * SSE-C. For more information, see Protecting data using SSE-C keys in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerAlgorithm?: string | undefined; + /** + *

The server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm. + * For more information, see + * Protecting data using SSE-C keys in the + * Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKey?: string | undefined; + /** + *

The MD5 server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum + * algorithm. For more information, + * see Protecting data using SSE-C keys in the + * Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKeyMD5?: string | undefined; +} +/** + *

Container for all response elements.

+ * @public + */ +export interface CopyObjectResult { + /** + *

Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not + * its metadata.

+ * @public + */ + ETag?: string | undefined; + /** + *

Creation date of the object.

+ * @public + */ + LastModified?: Date | undefined; + /** + *

The checksum type that is used to calculate the object’s checksum value. For more information, see + * Checking + * object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumType?: ChecksumType | undefined; + /** + *

The Base64 encoded, 32-bit CRC32 checksum of the object. This checksum is only present if the object was uploaded + * with the object. For more information, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32?: string | undefined; + /** + *

The Base64 encoded, 32-bit CRC32C checksum of the object. This checksum is only present if the checksum was uploaded + * with the object. For more information, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32C?: string | undefined; + /** + *

The Base64 encoded, 64-bit CRC64NVME checksum of the object. This checksum is present + * if the object being copied was uploaded with the CRC64NVME checksum algorithm, or if the + * object was uploaded without a checksum (and Amazon S3 added the default checksum, CRC64NVME, to + * the uploaded object). For more information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC64NVME?: string | undefined; + /** + *

The Base64 encoded, 160-bit SHA1 digest of the object. This checksum is only present if the checksum was uploaded + * with the object. For more information, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA1?: string | undefined; + /** + *

The Base64 encoded, 256-bit SHA256 digest of the object. This checksum is only present if the checksum was uploaded + * with the object. For more information, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA256?: string | undefined; +} +/** + * @public + */ +export interface CopyObjectOutput { + /** + *

Container for all response elements.

+ * @public + */ + CopyObjectResult?: CopyObjectResult | undefined; + /** + *

If the object expiration is configured, the response includes this header.

+ * + *

Object expiration information is not returned in directory buckets and this header returns the + * value "NotImplemented" in all responses for directory buckets.

+ *
+ * @public + */ + Expiration?: string | undefined; + /** + *

Version ID of the source object that was copied.

+ * + *

This functionality is not supported when the source object is in a directory bucket.

+ *
+ * @public + */ + CopySourceVersionId?: string | undefined; + /** + *

Version ID of the newly created copy.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + VersionId?: string | undefined; + /** + *

The server-side encryption algorithm used when you store this object in Amazon S3 or Amazon FSx.

+ * + *

When accessing data stored in Amazon FSx file systems using S3 access points, the only valid server side + * encryption option is aws:fsx.

+ *
+ * @public + */ + ServerSideEncryption?: ServerSideEncryption | undefined; + /** + *

If server-side encryption with a customer-provided encryption key was requested, the response will + * include this header to confirm the encryption algorithm that's used.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerAlgorithm?: string | undefined; + /** + *

If server-side encryption with a customer-provided encryption key was requested, the response will + * include this header to provide the round-trip message integrity verification of the customer-provided + * encryption key.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKeyMD5?: string | undefined; + /** + *

If present, indicates the ID of the KMS key that was used for object encryption.

+ * @public + */ + SSEKMSKeyId?: string | undefined; + /** + *

If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of + * this header is a Base64 encoded UTF-8 string holding JSON with the encryption context key-value + * pairs.

+ * @public + */ + SSEKMSEncryptionContext?: string | undefined; + /** + *

Indicates whether the copied object uses an S3 Bucket Key for server-side encryption with Key Management Service + * (KMS) keys (SSE-KMS).

+ * @public + */ + BucketKeyEnabled?: boolean | undefined; + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; +} +/** + * @public + */ +export interface CopyObjectRequest { + /** + *

The canned access control list (ACL) to apply to the object.

+ *

When you copy an object, the ACL metadata is not preserved and is set to private by + * default. Only the owner has full access control. To override the default ACL setting, specify a new ACL + * when you generate a copy request. For more information, see Using ACLs.

+ *

If the destination bucket that you're copying objects to uses the bucket owner enforced setting for + * S3 Object Ownership, ACLs are disabled and no longer affect permissions. Buckets that use this setting + * only accept PUT requests that don't specify an ACL or PUT requests that + * specify bucket owner full control ACLs, such as the bucket-owner-full-control canned ACL or + * an equivalent form of this ACL expressed in the XML format. For more information, see Controlling ownership + * of objects and disabling ACLs in the Amazon S3 User Guide.

+ * + *
    + *
  • + *

    If your destination bucket uses the bucket owner enforced setting for Object Ownership, all + * objects written to the bucket by any account will be owned by the bucket owner.

    + *
  • + *
  • + *

    This functionality is not supported for directory buckets.

    + *
  • + *
  • + *

    This functionality is not supported for Amazon S3 on Outposts.

    + *
  • + *
+ *
+ * @public + */ + ACL?: ObjectCannedACL | undefined; + /** + *

The name of the destination bucket.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format + * Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * amzn-s3-demo-bucket--usw2-az1--x-s3). For information about bucket naming + * restrictions, see Directory bucket naming + * rules in the Amazon S3 User Guide.

+ * + *

Copying objects across different Amazon Web Services Regions isn't supported when the source or destination + * bucket is in Amazon Web Services Local Zones. The source and destination buckets must have the same parent Amazon Web Services Region. + * Otherwise, you get an HTTP 400 Bad Request error with the error code + * InvalidRequest.

+ *
+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ * + *

Object Lambda access points are not supported by directory buckets.

+ *
+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, + * you must use the Outpost bucket access point ARN or the access point alias for the destination bucket. + * You can only copy objects within the same Outpost bucket. It's not supported to copy objects across + * different Amazon Web Services Outposts, between buckets on the same Outposts, or between Outposts buckets and any + * other bucket types. For more information about S3 on Outposts, see What is S3 on Outposts? in the + * S3 on Outposts guide. When you use this action with S3 on Outposts through the REST + * API, you must direct requests to the S3 on Outposts hostname, in the format + * + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. + * The hostname isn't required when you use the Amazon Web Services CLI or SDKs.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Specifies the caching behavior along the request/reply chain.

+ * @public + */ + CacheControl?: string | undefined; + /** + *

Indicates the algorithm that you want Amazon S3 to use to create the checksum for the object. For more information, see + * Checking object integrity in + * the Amazon S3 User Guide.

+ *

When you copy an object, if the source object has a checksum, that checksum value will be copied to + * the new object by default. If the CopyObject request does not include this + * x-amz-checksum-algorithm header, the checksum algorithm will be copied from the source + * object to the destination object (if it's present on the source object). You can optionally specify a + * different checksum algorithm to use with the x-amz-checksum-algorithm header. Unrecognized + * or unsupported values will respond with the HTTP status code 400 Bad Request.

+ * + *

For directory buckets, when you use Amazon Web Services SDKs, CRC32 is the default checksum algorithm that's used for performance.

+ *
+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

Specifies presentational information for the object. Indicates whether an object should be displayed + * in a web browser or downloaded as a file. It allows specifying the desired filename for the downloaded + * file.

+ * @public + */ + ContentDisposition?: string | undefined; + /** + *

Specifies what content encodings have been applied to the object and thus what decoding mechanisms + * must be applied to obtain the media-type referenced by the Content-Type header field.

+ * + *

For directory buckets, only the aws-chunked value is supported in this header field.

+ *
+ * @public + */ + ContentEncoding?: string | undefined; + /** + *

The language the content is in.

+ * @public + */ + ContentLanguage?: string | undefined; + /** + *

A standard MIME type that describes the format of the object data.

+ * @public + */ + ContentType?: string | undefined; + /** + *

Specifies the source object for the copy operation. The source object can be up to 5 GB. If the + * source object is an object that was uploaded by using a multipart upload, the object copy will be a + * single part object after the source object is copied to the destination bucket.

+ *

You specify the value of the copy source in one of two formats, depending on whether you want to + * access the source object through an access point:

+ *
    + *
  • + *

    For objects not accessed through an access point, specify the name of the source bucket and the key of + * the source object, separated by a slash (/). For example, to copy the object + * reports/january.pdf from the general purpose bucket awsexamplebucket, use + * awsexamplebucket/reports/january.pdf. The value must be URL-encoded. To copy the + * object reports/january.pdf from the directory bucket + * awsexamplebucket--use1-az5--x-s3, use + * awsexamplebucket--use1-az5--x-s3/reports/january.pdf. The value must be + * URL-encoded.

    + *
  • + *
  • + *

    For objects accessed through access points, specify the Amazon Resource Name (ARN) of the object as accessed through the access point, in the format arn:aws:s3:::accesspoint//object/. For example, to copy the object reports/january.pdf through access point my-access-point owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf. The value must be URL encoded.

    + * + *
      + *
    • + *

      Amazon S3 supports copy operations using Access points only when the source and destination buckets are in the same Amazon Web Services Region.

      + *
    • + *
    • + *

      Access points are not supported by directory buckets.

      + *
    • + *
    + *
    + *

    Alternatively, for objects accessed through Amazon S3 on Outposts, specify the ARN of the object as accessed in the format arn:aws:s3-outposts:::outpost//object/. For example, to copy the object reports/january.pdf through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf. The value must be URL-encoded.

    + *
  • + *
+ *

If your source bucket versioning is enabled, the x-amz-copy-source header by default + * identifies the current version of an object to copy. If the current version is a delete marker, Amazon S3 + * behaves as if the object was deleted. To copy a different version, use the versionId query + * parameter. Specifically, append ?versionId= to the value (for example, + * awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893). If + * you don't specify a version ID, Amazon S3 copies the latest version of the source object.

+ *

If you enable versioning on the destination bucket, Amazon S3 generates a unique version ID for the + * copied object. This version ID is different from the version ID of the source object. Amazon S3 returns the + * version ID of the copied object in the x-amz-version-id response header in the + * response.

+ *

If you do not enable versioning or suspend it on the destination bucket, the version ID that Amazon S3 + * generates in the x-amz-version-id response header is always null.

+ * + *

+ * Directory buckets - S3 Versioning isn't enabled and supported for directory buckets.

+ *
+ * @public + */ + CopySource: string | undefined; + /** + *

Copies the object if its entity tag (ETag) matches the specified tag.

+ *

If both the x-amz-copy-source-if-match and + * x-amz-copy-source-if-unmodified-since headers are present in the request and evaluate as + * follows, Amazon S3 returns 200 OK and copies the data:

+ *
    + *
  • + *

    + * x-amz-copy-source-if-match condition evaluates to true

    + *
  • + *
  • + *

    + * x-amz-copy-source-if-unmodified-since condition evaluates to false

    + *
  • + *
+ * @public + */ + CopySourceIfMatch?: string | undefined; + /** + *

Copies the object if it has been modified since the specified time.

+ *

If both the x-amz-copy-source-if-none-match and + * x-amz-copy-source-if-modified-since headers are present in the request and evaluate as + * follows, Amazon S3 returns the 412 Precondition Failed response code:

+ *
    + *
  • + *

    + * x-amz-copy-source-if-none-match condition evaluates to false

    + *
  • + *
  • + *

    + * x-amz-copy-source-if-modified-since condition evaluates to true

    + *
  • + *
+ * @public + */ + CopySourceIfModifiedSince?: Date | undefined; + /** + *

Copies the object if its entity tag (ETag) is different than the specified ETag.

+ *

If both the x-amz-copy-source-if-none-match and + * x-amz-copy-source-if-modified-since headers are present in the request and evaluate as + * follows, Amazon S3 returns the 412 Precondition Failed response code:

+ *
    + *
  • + *

    + * x-amz-copy-source-if-none-match condition evaluates to false

    + *
  • + *
  • + *

    + * x-amz-copy-source-if-modified-since condition evaluates to true

    + *
  • + *
+ * @public + */ + CopySourceIfNoneMatch?: string | undefined; + /** + *

Copies the object if it hasn't been modified since the specified time.

+ *

If both the x-amz-copy-source-if-match and + * x-amz-copy-source-if-unmodified-since headers are present in the request and evaluate as + * follows, Amazon S3 returns 200 OK and copies the data:

+ *
    + *
  • + *

    + * x-amz-copy-source-if-match condition evaluates to true

    + *
  • + *
  • + *

    + * x-amz-copy-source-if-unmodified-since condition evaluates to false

    + *
  • + *
+ * @public + */ + CopySourceIfUnmodifiedSince?: Date | undefined; + /** + *

The date and time at which the object is no longer cacheable.

+ * @public + */ + Expires?: Date | undefined; + /** + *

Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.

+ * + *
    + *
  • + *

    This functionality is not supported for directory buckets.

    + *
  • + *
  • + *

    This functionality is not supported for Amazon S3 on Outposts.

    + *
  • + *
+ *
+ * @public + */ + GrantFullControl?: string | undefined; + /** + *

Allows grantee to read the object data and its metadata.

+ * + *
    + *
  • + *

    This functionality is not supported for directory buckets.

    + *
  • + *
  • + *

    This functionality is not supported for Amazon S3 on Outposts.

    + *
  • + *
+ *
+ * @public + */ + GrantRead?: string | undefined; + /** + *

Allows grantee to read the object ACL.

+ * + *
    + *
  • + *

    This functionality is not supported for directory buckets.

    + *
  • + *
  • + *

    This functionality is not supported for Amazon S3 on Outposts.

    + *
  • + *
+ *
+ * @public + */ + GrantReadACP?: string | undefined; + /** + *

Allows grantee to write the ACL for the applicable object.

+ * + *
    + *
  • + *

    This functionality is not supported for directory buckets.

    + *
  • + *
  • + *

    This functionality is not supported for Amazon S3 on Outposts.

    + *
  • + *
+ *
+ * @public + */ + GrantWriteACP?: string | undefined; + /** + *

Copies the object if the entity tag (ETag) of the destination object matches the specified + * tag. If the ETag values do not match, the operation returns a 412 Precondition + * Failed error. If a concurrent operation occurs during the upload S3 returns a + * 409 ConditionalRequestConflict response. On a 409 failure you should fetch the + * object's ETag and retry the upload.

+ *

Expects the ETag value as a string.

+ *

For more information about conditional requests, see RFC 7232.

+ * @public + */ + IfMatch?: string | undefined; + /** + *

Copies the object only if the object key name at the destination does not already exist in + * the bucket specified. Otherwise, Amazon S3 returns a 412 Precondition Failed error. If a + * concurrent operation occurs during the upload S3 returns a 409 ConditionalRequestConflict + * response. On a 409 failure you should retry the upload.

+ *

Expects the '*' (asterisk) character.

+ *

For more information about conditional requests, see RFC 7232.

+ * @public + */ + IfNoneMatch?: string | undefined; + /** + *

The key of the destination object.

+ * @public + */ + Key: string | undefined; + /** + *

A map of metadata to store with the object in S3.

+ * @public + */ + Metadata?: Record | undefined; + /** + *

Specifies whether the metadata is copied from the source object or replaced with metadata that's + * provided in the request. When copying an object, you can preserve all metadata (the default) or specify + * new metadata. If this header isn’t specified, COPY is the default behavior.

+ *

+ * General purpose bucket - For general purpose buckets, when you grant + * permissions, you can use the s3:x-amz-metadata-directive condition key to enforce certain + * metadata behavior when objects are uploaded. For more information, see Amazon S3 condition key examples in the + * Amazon S3 User Guide.

+ * + *

+ * x-amz-website-redirect-location is unique to each object and is not copied when using + * the x-amz-metadata-directive header. To copy the value, you must specify + * x-amz-website-redirect-location in the request header.

+ *
+ * @public + */ + MetadataDirective?: MetadataDirective | undefined; + /** + *

Specifies whether the object tag-set is copied from the source object or replaced with the tag-set + * that's provided in the request.

+ *

The default value is COPY.

+ * + *

+ * Directory buckets - For directory buckets in a CopyObject operation, only the empty tag-set is supported. Any requests that attempt to write non-empty tags into directory buckets will receive a 501 Not Implemented status code. + * When the destination bucket is a directory bucket, you will receive a 501 Not Implemented response in any of the following situations:

+ *
    + *
  • + *

    When you attempt to COPY the tag-set from an S3 source object that has non-empty tags.

    + *
  • + *
  • + *

    When you attempt to REPLACE the tag-set of a source object and set a non-empty value to x-amz-tagging.

    + *
  • + *
  • + *

    When you don't set the x-amz-tagging-directive header and the source object has non-empty tags. This is because the default value of x-amz-tagging-directive is COPY.

    + *
  • + *
+ *

Because only the empty tag-set is supported for directory buckets in a CopyObject operation, the following situations are allowed:

+ *
    + *
  • + *

    When you attempt to COPY the tag-set from a directory bucket source object that has no tags to a general purpose bucket. It copies an empty tag-set to the destination object.

    + *
  • + *
  • + *

    When you attempt to REPLACE the tag-set of a directory bucket source object and set the x-amz-tagging value of the directory bucket destination object to empty.

    + *
  • + *
  • + *

    When you attempt to REPLACE the tag-set of a general purpose bucket source object that has non-empty tags and set the x-amz-tagging value of the directory bucket destination object to empty.

    + *
  • + *
  • + *

    When you attempt to REPLACE the tag-set of a directory bucket source object and don't set the x-amz-tagging value of the directory bucket destination object. This is because the default value of x-amz-tagging is the empty value.

    + *
  • + *
+ *
+ * @public + */ + TaggingDirective?: TaggingDirective | undefined; + /** + *

The server-side encryption algorithm used when storing this object in Amazon S3. Unrecognized or + * unsupported values won’t write a destination object and will receive a 400 Bad Request + * response.

+ *

Amazon S3 automatically encrypts all new objects that are copied to an S3 bucket. When copying an object, + * if you don't specify encryption information in your copy request, the encryption setting of the target + * object is set to the default encryption configuration of the destination bucket. By default, all buckets + * have a base level of encryption configuration that uses server-side encryption with Amazon S3 managed keys + * (SSE-S3). If the destination bucket has a different default encryption configuration, Amazon S3 uses the + * corresponding encryption key to encrypt the target object copy.

+ *

With server-side encryption, Amazon S3 encrypts your data as it writes your data to disks in its data + * centers and decrypts the data when you access it. For more information about server-side encryption, see + * Using Server-Side + * Encryption in the Amazon S3 User Guide.

+ *

+ * General purpose buckets + *

+ *
    + *
  • + *

    For general purpose buckets, there are the following supported options for server-side encryption: + * server-side encryption with Key Management Service (KMS) keys (SSE-KMS), dual-layer server-side encryption with + * Amazon Web Services KMS keys (DSSE-KMS), and server-side encryption with customer-provided encryption keys + * (SSE-C). Amazon S3 uses the corresponding KMS key, or a customer-provided key to encrypt the target + * object copy.

    + *
  • + *
  • + *

    When you perform a CopyObject operation, if you want to use a different type of + * encryption setting for the target object, you can specify appropriate encryption-related headers to + * encrypt the target object with an Amazon S3 managed key, a KMS key, or a customer-provided key. If the + * encryption setting in your request is different from the default encryption configuration of the + * destination bucket, the encryption setting in your request takes precedence.

    + *
  • + *
+ *

+ * Directory buckets + *

+ *
    + *
  • + *

    For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (aws:kms). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your + * CreateSession requests or PUT object requests. Then, new objects + * are automatically encrypted with the desired encryption settings. For more + * information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.

    + *
  • + *
  • + *

    To encrypt new object copies to a directory bucket with SSE-KMS, we recommend you specify + * SSE-KMS as the directory bucket's default encryption configuration with a KMS key + * (specifically, a customer managed key). The Amazon Web Services managed key (aws/s3) isn't supported. Your SSE-KMS configuration can + * only support 1 customer managed key per + * directory bucket for the lifetime of the bucket. After you specify a customer managed key for SSE-KMS, you + * can't override the customer managed key for the bucket's SSE-KMS configuration. Then, when you + * perform a CopyObject operation and want to specify server-side encryption settings for + * new object copies with SSE-KMS in the encryption-related request headers, you must ensure the + * encryption key is the same customer managed key that you specified for the directory bucket's default + * encryption configuration. + *

    + *
  • + *
  • + *

    + * S3 access points for Amazon FSx - When accessing data stored in + * Amazon FSx file systems using S3 access points, the only valid server side encryption option is + * aws:fsx. All Amazon FSx file systems have encryption configured by default and are + * encrypted at rest. Data is automatically encrypted before being written to the file system, and + * automatically decrypted as it is read. These processes are handled transparently by Amazon FSx.

    + *
  • + *
+ * @public + */ + ServerSideEncryption?: ServerSideEncryption | undefined; + /** + *

If the x-amz-storage-class header is not used, the copied object will be stored in the + * STANDARD Storage Class by default. The STANDARD storage class provides high + * durability and high availability. Depending on performance needs, you can specify a different Storage + * Class.

+ * + *
    + *
  • + *

    + * Directory buckets - + * Directory buckets only support EXPRESS_ONEZONE (the S3 Express One Zone storage class) in Availability Zones and ONEZONE_IA (the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones. + * Unsupported storage class values won't write a destination object and will respond with the HTTP status code 400 Bad Request.

    + *
  • + *
  • + *

    + * Amazon S3 on Outposts - S3 on Outposts only uses the + * OUTPOSTS Storage Class.

    + *
  • + *
+ *
+ *

You can use the CopyObject action to change the storage class of an object that is + * already stored in Amazon S3 by using the x-amz-storage-class header. For more information, see + * Storage Classes + * in the Amazon S3 User Guide.

+ *

Before using an object as a source object for the copy operation, you must restore a copy of it if + * it meets any of the following conditions:

+ *
    + *
  • + *

    The storage class of the source object is GLACIER or + * DEEP_ARCHIVE.

    + *
  • + *
  • + *

    The storage class of the source object is INTELLIGENT_TIERING and it's S3 + * Intelligent-Tiering access tier is Archive Access or Deep Archive + * Access.

    + *
  • + *
+ *

For more information, see RestoreObject and Copying Objects in the + * Amazon S3 User Guide.

+ * @public + */ + StorageClass?: StorageClass | undefined; + /** + *

If the destination bucket is configured as a website, redirects requests for this object copy to + * another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the + * object metadata. This value is unique to each object and is not copied when using the + * x-amz-metadata-directive header. Instead, you may opt to provide this header in + * combination with the x-amz-metadata-directive header.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + WebsiteRedirectLocation?: string | undefined; + /** + *

Specifies the algorithm to use when encrypting the object (for example, AES256).

+ *

When you perform a CopyObject operation, if you want to use a different type of + * encryption setting for the target object, you can specify appropriate encryption-related headers to + * encrypt the target object with an Amazon S3 managed key, a KMS key, or a customer-provided key. If the + * encryption setting in your request is different from the default encryption configuration of the + * destination bucket, the encryption setting in your request takes precedence.

+ * + *

This functionality is not supported when the destination bucket is a directory bucket.

+ *
+ * @public + */ + SSECustomerAlgorithm?: string | undefined; + /** + *

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is + * used to store the object and then it is discarded. Amazon S3 does not store the encryption key. The key must + * be appropriate for use with the algorithm specified in the + * x-amz-server-side-encryption-customer-algorithm header.

+ * + *

This functionality is not supported when the destination bucket is a directory bucket.

+ *
+ * @public + */ + SSECustomerKey?: string | undefined; + /** + *

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header + * for a message integrity check to ensure that the encryption key was transmitted without error.

+ * + *

This functionality is not supported when the destination bucket is a directory bucket.

+ *
+ * @public + */ + SSECustomerKeyMD5?: string | undefined; + /** + *

Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for object encryption. All GET and + * PUT requests for an object protected by KMS will fail if they're not made via SSL or using SigV4. For + * information about configuring any of the officially supported Amazon Web Services SDKs and Amazon Web Services CLI, see Specifying + * the Signature Version in Request Authentication in the + * Amazon S3 User Guide.

+ *

+ * Directory buckets - + * To encrypt data using SSE-KMS, it's recommended to specify the + * x-amz-server-side-encryption header to aws:kms. Then, the x-amz-server-side-encryption-aws-kms-key-id header implicitly uses + * the bucket's default KMS customer managed key ID. If you want to explicitly set the + * x-amz-server-side-encryption-aws-kms-key-id header, it must match the bucket's default customer managed key (using key ID or ARN, not alias). Your SSE-KMS configuration can only support 1 customer managed key per directory bucket's lifetime. + * The Amazon Web Services managed key (aws/s3) isn't supported. + * + * Incorrect key specification results in an HTTP 400 Bad Request error.

+ * @public + */ + SSEKMSKeyId?: string | undefined; + /** + *

Specifies the Amazon Web Services KMS Encryption Context as an additional encryption context to use for the + * destination object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON + * with the encryption context key-value pairs.

+ *

+ * General purpose buckets - This value must be explicitly added to + * specify encryption context for CopyObject requests if you want an additional encryption + * context for your destination object. The additional encryption context of the source object won't be + * copied to the destination object. For more information, see Encryption context + * in the Amazon S3 User Guide.

+ *

+ * Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported.

+ * @public + */ + SSEKMSEncryptionContext?: string | undefined; + /** + *

Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption + * using Key Management Service (KMS) keys (SSE-KMS). If a target object uses SSE-KMS, you can enable an S3 Bucket Key + * for the object.

+ *

Setting this header to true causes Amazon S3 to use an S3 Bucket Key for object encryption + * with SSE-KMS. Specifying this header with a COPY action doesn’t affect bucket-level settings for S3 + * Bucket Key.

+ *

For more information, see Amazon S3 + * Bucket Keys in the Amazon S3 User Guide.

+ * + *

+ * Directory buckets - + * S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets + * to directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through CopyObject. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.

+ *
+ * @public + */ + BucketKeyEnabled?: boolean | undefined; + /** + *

Specifies the algorithm to use when decrypting the source object (for example, + * AES256).

+ *

If the source object for the copy is stored in Amazon S3 using SSE-C, you must provide the necessary + * encryption information in your request so that Amazon S3 can decrypt the object for copying.

+ * + *

This functionality is not supported when the source object is in a directory bucket.

+ *
+ * @public + */ + CopySourceSSECustomerAlgorithm?: string | undefined; + /** + *

Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source object. The + * encryption key provided in this header must be the same one that was used when the source object was + * created.

+ *

If the source object for the copy is stored in Amazon S3 using SSE-C, you must provide the necessary + * encryption information in your request so that Amazon S3 can decrypt the object for copying.

+ * + *

This functionality is not supported when the source object is in a directory bucket.

+ *
+ * @public + */ + CopySourceSSECustomerKey?: string | undefined; + /** + *

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header + * for a message integrity check to ensure that the encryption key was transmitted without error.

+ *

If the source object for the copy is stored in Amazon S3 using SSE-C, you must provide the necessary + * encryption information in your request so that Amazon S3 can decrypt the object for copying.

+ * + *

This functionality is not supported when the source object is in a directory bucket.

+ *
+ * @public + */ + CopySourceSSECustomerKeyMD5?: string | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

The tag-set for the object copy in the destination bucket. This value must be used in conjunction + * with the x-amz-tagging-directive if you choose REPLACE for the + * x-amz-tagging-directive. If you choose COPY for the + * x-amz-tagging-directive, you don't need to set the x-amz-tagging header, + * because the tag-set will be copied from the source object directly. The tag-set must be encoded as URL + * Query parameters.

+ *

The default value is the empty value.

+ * + *

+ * Directory buckets - For directory buckets in a CopyObject operation, only the empty tag-set is supported. Any requests that attempt to write non-empty tags into directory buckets will receive a 501 Not Implemented status code. + * When the destination bucket is a directory bucket, you will receive a 501 Not Implemented response in any of the following situations:

+ *
    + *
  • + *

    When you attempt to COPY the tag-set from an S3 source object that has non-empty tags.

    + *
  • + *
  • + *

    When you attempt to REPLACE the tag-set of a source object and set a non-empty value to x-amz-tagging.

    + *
  • + *
  • + *

    When you don't set the x-amz-tagging-directive header and the source object has non-empty tags. This is because the default value of x-amz-tagging-directive is COPY.

    + *
  • + *
+ *

Because only the empty tag-set is supported for directory buckets in a CopyObject operation, the following situations are allowed:

+ *
    + *
  • + *

    When you attempt to COPY the tag-set from a directory bucket source object that has no tags to a general purpose bucket. It copies an empty tag-set to the destination object.

    + *
  • + *
  • + *

    When you attempt to REPLACE the tag-set of a directory bucket source object and set the x-amz-tagging value of the directory bucket destination object to empty.

    + *
  • + *
  • + *

    When you attempt to REPLACE the tag-set of a general purpose bucket source object that has non-empty tags and set the x-amz-tagging value of the directory bucket destination object to empty.

    + *
  • + *
  • + *

    When you attempt to REPLACE the tag-set of a directory bucket source object and don't set the x-amz-tagging value of the directory bucket destination object. This is because the default value of x-amz-tagging is the empty value.

    + *
  • + *
+ *
+ * @public + */ + Tagging?: string | undefined; + /** + *

The Object Lock mode that you want to apply to the object copy.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ObjectLockMode?: ObjectLockMode | undefined; + /** + *

The date and time when you want the Object Lock of the object copy to expire.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ObjectLockRetainUntilDate?: Date | undefined; + /** + *

Specifies whether you want to apply a legal hold to the object copy.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined; + /** + *

The account ID of the expected destination bucket owner. If the account ID that you provide does not match the actual owner of the destination bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

The account ID of the expected source bucket owner. If the account ID that you provide does not match the actual owner of the source bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedSourceBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface CreateBucketOutput { + /** + *

A forward slash followed by the name of the bucket.

+ * @public + */ + Location?: string | undefined; + /** + *

The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify Amazon Web Services resources across all + * of Amazon Web Services.

+ * + *

This parameter is only supported for S3 directory buckets. For more information, see Using tags with + * directory buckets.

+ *
+ * @public + */ + BucketArn?: string | undefined; +} +/** + *

Specifies the information about the bucket that will be created. For more information about + * directory buckets, see Directory buckets in the + * Amazon S3 User Guide.

+ * + *

This functionality is only supported by directory buckets.

+ *
+ * @public + */ +export interface BucketInfo { + /** + *

The number of Zone (Availability Zone or Local Zone) that's used for redundancy for the bucket.

+ * @public + */ + DataRedundancy?: DataRedundancy | undefined; + /** + *

The type of bucket.

+ * @public + */ + Type?: BucketType | undefined; +} +/** + *

Specifies the location where the bucket will be created.

+ *

For directory buckets, the location type is Availability Zone or Local Zone. For more information about + * directory buckets, see Working with + * directory buckets in the Amazon S3 User Guide.

+ * + *

This functionality is only supported by directory buckets.

+ *
+ * @public + */ +export interface LocationInfo { + /** + *

The type of location where the bucket will be created.

+ * @public + */ + Type?: LocationType | undefined; + /** + *

The name of the location where the bucket will be created.

+ *

For directory buckets, the name of the location is the Zone ID of the Availability Zone (AZ) or Local Zone (LZ) where + * the bucket will be created. An example AZ ID value is usw2-az1.

+ * @public + */ + Name?: string | undefined; +} +/** + *

A container of a key value name pair.

+ * @public + */ +export interface Tag { + /** + *

Name of the object key.

+ * @public + */ + Key: string | undefined; + /** + *

Value of the tag.

+ * @public + */ + Value: string | undefined; +} +/** + *

The configuration information for the bucket.

+ * @public + */ +export interface CreateBucketConfiguration { + /** + *

Specifies the Region where the bucket will be created. You might choose a Region to optimize + * latency, minimize costs, or address regulatory requirements. For example, if you reside in Europe, you + * will probably find it advantageous to create buckets in the Europe (Ireland) Region.

+ *

If you don't specify a Region, the bucket is created in the US East (N. Virginia) Region (us-east-1) + * by default. Configurations using the value EU will create a bucket in + * eu-west-1.

+ *

For a list of the valid values for all of the Amazon Web Services Regions, see Regions and Endpoints.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + LocationConstraint?: BucketLocationConstraint | undefined; + /** + *

Specifies the location where the bucket will be created.

+ *

+ * Directory buckets - The location type is Availability Zone or Local Zone. To + * use the Local Zone location type, your account must be enabled + * for Local Zones. Otherwise, you get an HTTP 403 Forbidden error with the error code + * AccessDenied. To learn more, + * see Enable + * accounts for Local Zones in the Amazon S3 User Guide.

+ * + *

This functionality is only supported by directory buckets.

+ *
+ * @public + */ + Location?: LocationInfo | undefined; + /** + *

Specifies the information about the bucket that will be created.

+ * + *

This functionality is only supported by directory buckets.

+ *
+ * @public + */ + Bucket?: BucketInfo | undefined; + /** + *

An array of tags that you can apply to the bucket that you're creating. Tags are key-value pairs of metadata used to categorize and organize your buckets, track costs, and control access.

+ *

You must have the s3:TagResource permission to create a general + * purpose bucket with tags or the s3express:TagResource permission to create a directory bucket with tags.

+ *

When creating buckets with tags, note that tag-based conditions using aws:ResourceTag and s3:BucketTag condition keys are applicable only after ABAC is enabled on the bucket. To learn more, see Enabling ABAC in general purpose buckets.

+ * @public + */ + Tags?: Tag[] | undefined; +} +/** + * @public + */ +export interface CreateBucketRequest { + /** + *

The canned ACL to apply to the bucket.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ACL?: BucketCannedACL | undefined; + /** + *

The name of the bucket to create.

+ *

+ * General purpose buckets - For information about bucket naming + * restrictions, see Bucket naming + * rules in the Amazon S3 User Guide.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide + *

+ * @public + */ + Bucket: string | undefined; + /** + *

The configuration information for the bucket.

+ * @public + */ + CreateBucketConfiguration?: CreateBucketConfiguration | undefined; + /** + *

Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + GrantFullControl?: string | undefined; + /** + *

Allows grantee to list the objects in the bucket.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + GrantRead?: string | undefined; + /** + *

Allows grantee to read the bucket ACL.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + GrantReadACP?: string | undefined; + /** + *

Allows grantee to create new objects in the bucket.

+ *

For the bucket and object owners of existing objects, also allows deletions and overwrites of those + * objects.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + GrantWrite?: string | undefined; + /** + *

Allows grantee to write the ACL for the applicable bucket.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + GrantWriteACP?: string | undefined; + /** + *

Specifies whether you want S3 Object Lock to be enabled for the new bucket.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ObjectLockEnabledForBucket?: boolean | undefined; + /** + *

The container element for object ownership for a bucket's ownership controls.

+ *

+ * BucketOwnerPreferred - Objects uploaded to the bucket change ownership to the bucket + * owner if the objects are uploaded with the bucket-owner-full-control canned ACL.

+ *

+ * ObjectWriter - The uploading account will own the object if the object is uploaded with + * the bucket-owner-full-control canned ACL.

+ *

+ * BucketOwnerEnforced - Access control lists (ACLs) are disabled and no longer affect + * permissions. The bucket owner automatically owns and has full control over every object in the bucket. + * The bucket only accepts PUT requests that don't specify an ACL or specify bucket owner full control ACLs + * (such as the predefined bucket-owner-full-control canned ACL or a custom ACL in XML format + * that grants the same permissions).

+ *

By default, ObjectOwnership is set to BucketOwnerEnforced and ACLs are + * disabled. We recommend keeping ACLs disabled, except in uncommon use cases where you must control access + * for each object individually. For more information about S3 Object Ownership, see Controlling + * ownership of objects and disabling ACLs for your bucket in the + * Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets. Directory buckets use the bucket owner enforced setting for S3 Object Ownership.

+ *
+ * @public + */ + ObjectOwnership?: ObjectOwnership | undefined; + /** + *

Specifies the namespace where you want to create your general purpose bucket. When you create a + * general purpose bucket, you can choose to create a bucket in the shared global namespace or you can choose to + * create a bucket in your account regional namespace. Your account regional namespace is a subdivision of + * the global namespace that only your account can create buckets in. For more information on bucket + * namespaces, see Namespaces for general purpose buckets.

+ *

General purpose buckets in your account regional namespace must follow a specific naming convention. These + * buckets consist of a bucket name prefix that you create, and a suffix that contains your 12-digit Amazon Web Services + * Account ID, the Amazon Web Services Region code, and ends with -an. Bucket names must follow the format + * bucket-name-prefix-accountId-region-an (for example, + * amzn-s3-demo-bucket-111122223333-us-west-2-an). For information about bucket naming + * restrictions, see Account regional namespace naming rules + * in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + BucketNamespace?: BucketNamespace | undefined; +} +/** + *

+ * The encryption settings for an S3 Metadata journal table or inventory table configuration. + *

+ * @public + */ +export interface MetadataTableEncryptionConfiguration { + /** + *

+ * The encryption type specified for a metadata table. To specify server-side encryption with + * Key Management Service (KMS) keys (SSE-KMS), use the aws:kms value. To specify server-side + * encryption with Amazon S3 managed keys (SSE-S3), use the AES256 value. + *

+ * @public + */ + SseAlgorithm: TableSseAlgorithm | undefined; + /** + *

+ * If server-side encryption with Key Management Service (KMS) keys (SSE-KMS) is specified, you must also + * specify the KMS key Amazon Resource Name (ARN). You must specify a customer-managed KMS key + * that's located in the same Region as the general purpose bucket that corresponds to the metadata + * table configuration. + *

+ * @public + */ + KmsKeyArn?: string | undefined; +} +/** + *

+ * The inventory table configuration for an S3 Metadata configuration. + *

+ * @public + */ +export interface InventoryTableConfiguration { + /** + *

+ * The configuration state of the inventory table, indicating whether the inventory table is enabled + * or disabled. + *

+ * @public + */ + ConfigurationState: InventoryConfigurationState | undefined; + /** + *

+ * The encryption configuration for the inventory table. + *

+ * @public + */ + EncryptionConfiguration?: MetadataTableEncryptionConfiguration | undefined; +} +/** + *

+ * The journal table record expiration settings for a journal table in an S3 Metadata configuration. + *

+ * @public + */ +export interface RecordExpiration { + /** + *

+ * Specifies whether journal table record expiration is enabled or disabled. + *

+ * @public + */ + Expiration: ExpirationState | undefined; + /** + *

+ * If you enable journal table record expiration, you can set the number of days to retain your + * journal table records. Journal table records must be retained for a minimum of 7 days. To set + * this value, specify any whole number from 7 to 2147483647. For example, + * to retain your journal table records for one year, set this value to 365. + *

+ * @public + */ + Days?: number | undefined; +} +/** + *

+ * The journal table configuration for an S3 Metadata configuration. + *

+ * @public + */ +export interface JournalTableConfiguration { + /** + *

+ * The journal table record expiration settings for the journal table. + *

+ * @public + */ + RecordExpiration: RecordExpiration | undefined; + /** + *

+ * The encryption configuration for the journal table. + *

+ * @public + */ + EncryptionConfiguration?: MetadataTableEncryptionConfiguration | undefined; +} +/** + *

+ * The S3 Metadata configuration for a general purpose bucket. + *

+ * @public + */ +export interface MetadataConfiguration { + /** + *

+ * The journal table configuration for a metadata configuration. + *

+ * @public + */ + JournalTableConfiguration: JournalTableConfiguration | undefined; + /** + *

+ * The inventory table configuration for a metadata configuration. + *

+ * @public + */ + InventoryTableConfiguration?: InventoryTableConfiguration | undefined; +} +/** + * @public + */ +export interface CreateBucketMetadataConfigurationRequest { + /** + *

+ * The general purpose bucket that you want to create the metadata configuration for. + *

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

+ * The Content-MD5 header for the metadata configuration. + *

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

+ * The checksum algorithm to use with your metadata configuration. + *

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

+ * The contents of your metadata configuration. + *

+ * @public + */ + MetadataConfiguration: MetadataConfiguration | undefined; + /** + *

+ * The expected owner of the general purpose bucket that corresponds to your metadata configuration. + *

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

The destination information for a V1 S3 Metadata configuration. The destination table bucket must + * be in the same Region and Amazon Web Services account as the general purpose bucket. The specified metadata table name + * must be unique within the aws_s3_metadata namespace in the destination table bucket. + *

+ * + *

If you created your S3 Metadata configuration before July 15, 2025, we recommend that you delete + * and re-create your configuration by using CreateBucketMetadataConfiguration so that you can expire journal table records and create + * a live inventory table.

+ *
+ * @public + */ +export interface S3TablesDestination { + /** + *

The Amazon Resource Name (ARN) for the table bucket that's specified as the destination in the + * metadata table configuration. The destination table bucket must be in the same Region and Amazon Web Services account + * as the general purpose bucket.

+ * @public + */ + TableBucketArn: string | undefined; + /** + *

The name for the metadata table in your metadata table configuration. The specified metadata table + * name must be unique within the aws_s3_metadata namespace in the destination table bucket. + *

+ * @public + */ + TableName: string | undefined; +} +/** + *

The V1 S3 Metadata configuration for a general purpose bucket.

+ * + *

If you created your S3 Metadata configuration before July 15, 2025, we recommend that you delete + * and re-create your configuration by using CreateBucketMetadataConfiguration so that you can expire journal table records and create + * a live inventory table.

+ *
+ * @public + */ +export interface MetadataTableConfiguration { + /** + *

The destination information for the metadata table configuration. The destination table bucket must + * be in the same Region and Amazon Web Services account as the general purpose bucket. The specified metadata table name + * must be unique within the aws_s3_metadata namespace in the destination table bucket. + *

+ * @public + */ + S3TablesDestination: S3TablesDestination | undefined; +} +/** + * @public + */ +export interface CreateBucketMetadataTableConfigurationRequest { + /** + *

The general purpose bucket that you want to create the metadata table configuration for.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The Content-MD5 header for the metadata table configuration.

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

The checksum algorithm to use with your metadata table configuration.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

The contents of your metadata table configuration.

+ * @public + */ + MetadataTableConfiguration: MetadataTableConfiguration | undefined; + /** + *

The expected owner of the general purpose bucket that corresponds to your metadata table configuration. + *

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface CreateMultipartUploadOutput { + /** + *

If the bucket has a lifecycle rule configured with an action to abort incomplete multipart uploads + * and the prefix in the lifecycle rule matches the object name in the request, the response includes this + * header. The header indicates when the initiated multipart upload becomes eligible for an abort + * operation. For more information, see Aborting + * Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration in the + * Amazon S3 User Guide.

+ *

The response also includes the x-amz-abort-rule-id header that provides the ID of the + * lifecycle configuration rule that defines the abort action.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + AbortDate?: Date | undefined; + /** + *

This header is returned along with the x-amz-abort-date header. It identifies the + * applicable lifecycle configuration rule that defines the action to abort incomplete multipart + * uploads.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + AbortRuleId?: string | undefined; + /** + *

The name of the bucket to which the multipart upload was initiated. Does not return the access point ARN or + * access point alias if used.

+ * + *

Access points are not supported by directory buckets.

+ *
+ * @public + */ + Bucket?: string | undefined; + /** + *

Object key for which the multipart upload was initiated.

+ * @public + */ + Key?: string | undefined; + /** + *

ID for the initiated multipart upload.

+ * @public + */ + UploadId?: string | undefined; + /** + *

The server-side encryption algorithm used when you store this object in Amazon S3 or Amazon FSx.

+ * + *

When accessing data stored in Amazon FSx file systems using S3 access points, the only valid server side + * encryption option is aws:fsx.

+ *
+ * @public + */ + ServerSideEncryption?: ServerSideEncryption | undefined; + /** + *

If server-side encryption with a customer-provided encryption key was requested, the response will + * include this header to confirm the encryption algorithm that's used.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerAlgorithm?: string | undefined; + /** + *

If server-side encryption with a customer-provided encryption key was requested, the response will + * include this header to provide the round-trip message integrity verification of the customer-provided + * encryption key.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKeyMD5?: string | undefined; + /** + *

If present, indicates the ID of the KMS key that was used for object encryption.

+ * @public + */ + SSEKMSKeyId?: string | undefined; + /** + *

If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of + * this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs.

+ * @public + */ + SSEKMSEncryptionContext?: string | undefined; + /** + *

Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with + * Key Management Service (KMS) keys (SSE-KMS).

+ * @public + */ + BucketKeyEnabled?: boolean | undefined; + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; + /** + *

The algorithm that was used to create a checksum of the object.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

Indicates the checksum type that you want Amazon S3 to use to calculate the object’s checksum + * value. For more information, see Checking object integrity in the Amazon S3 + * User Guide.

+ * @public + */ + ChecksumType?: ChecksumType | undefined; +} +/** + * @public + */ +export interface CreateMultipartUploadRequest { + /** + *

The canned ACL to apply to the object. Amazon S3 supports a set of predefined ACLs, known as + * canned ACLs. Each canned ACL has a predefined set of grantees and permissions. + * For more information, see Canned ACL in the + * Amazon S3 User Guide.

+ *

By default, all objects are private. Only the owner has full access control. When uploading an + * object, you can grant access permissions to individual Amazon Web Services accounts or to predefined groups defined by + * Amazon S3. These permissions are then added to the access control list (ACL) on the new object. For more + * information, see Using + * ACLs. One way to grant the permissions using the request headers is to specify a canned ACL + * with the x-amz-acl request header.

+ * + *
    + *
  • + *

    This functionality is not supported for directory buckets.

    + *
  • + *
  • + *

    This functionality is not supported for Amazon S3 on Outposts.

    + *
  • + *
+ *
+ * @public + */ + ACL?: ObjectCannedACL | undefined; + /** + *

The name of the bucket where the multipart upload is initiated and where the object is + * uploaded.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format + * Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * amzn-s3-demo-bucket--usw2-az1--x-s3). For information about bucket naming + * restrictions, see Directory bucket naming + * rules in the Amazon S3 User Guide.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ * + *

Object Lambda access points are not supported by directory buckets.

+ *
+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Specifies caching behavior along the request/reply chain.

+ * @public + */ + CacheControl?: string | undefined; + /** + *

Specifies presentational information for the object.

+ * @public + */ + ContentDisposition?: string | undefined; + /** + *

Specifies what content encodings have been applied to the object and thus what decoding mechanisms + * must be applied to obtain the media-type referenced by the Content-Type header field.

+ * + *

For directory buckets, only the aws-chunked value is supported in this header field.

+ *
+ * @public + */ + ContentEncoding?: string | undefined; + /** + *

The language that the content is in.

+ * @public + */ + ContentLanguage?: string | undefined; + /** + *

A standard MIME type describing the format of the object data.

+ * @public + */ + ContentType?: string | undefined; + /** + *

The date and time at which the object is no longer cacheable.

+ * @public + */ + Expires?: Date | undefined; + /** + *

Specify access permissions explicitly to give the grantee READ, READ_ACP, and WRITE_ACP permissions + * on the object.

+ *

By default, all objects are private. Only the owner has full access control. When uploading an + * object, you can use this header to explicitly grant access permissions to specific Amazon Web Services accounts or + * groups. This header maps to specific permissions that Amazon S3 supports in an ACL. For more information, see + * Access Control List (ACL) + * Overview in the Amazon S3 User Guide.

+ *

You specify each grantee as a type=value pair, where the type is one of the following:

+ *
    + *
  • + *

    + * id – if the value specified is the canonical user ID of an Amazon Web Services account

    + *
  • + *
  • + *

    + * uri – if you are granting permissions to a predefined group

    + *
  • + *
  • + *

    + * emailAddress – if the value specified is the email address of an + * Amazon Web Services account

    + * + *

    Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:

    + *
      + *
    • + *

      US East (N. Virginia)

      + *
    • + *
    • + *

      US West (N. California)

      + *
    • + *
    • + *

      US West (Oregon)

      + *
    • + *
    • + *

      Asia Pacific (Singapore)

      + *
    • + *
    • + *

      Asia Pacific (Sydney)

      + *
    • + *
    • + *

      Asia Pacific (Tokyo)

      + *
    • + *
    • + *

      Europe (Ireland)

      + *
    • + *
    • + *

      South America (São Paulo)

      + *
    • + *
    + *

    For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.

    + *
    + *
  • + *
+ *

For example, the following x-amz-grant-read header grants the Amazon Web Services accounts identified by account IDs permissions to read object data and its metadata:

+ *

+ * x-amz-grant-read: id="11112222333", id="444455556666" + *

+ * + *
    + *
  • + *

    This functionality is not supported for directory buckets.

    + *
  • + *
  • + *

    This functionality is not supported for Amazon S3 on Outposts.

    + *
  • + *
+ *
+ * @public + */ + GrantFullControl?: string | undefined; + /** + *

Specify access permissions explicitly to allow grantee to read the object data and its + * metadata.

+ *

By default, all objects are private. Only the owner has full access control. When uploading an + * object, you can use this header to explicitly grant access permissions to specific Amazon Web Services accounts or + * groups. This header maps to specific permissions that Amazon S3 supports in an ACL. For more information, see + * Access Control List (ACL) + * Overview in the Amazon S3 User Guide.

+ *

You specify each grantee as a type=value pair, where the type is one of the following:

+ *
    + *
  • + *

    + * id – if the value specified is the canonical user ID of an Amazon Web Services account

    + *
  • + *
  • + *

    + * uri – if you are granting permissions to a predefined group

    + *
  • + *
  • + *

    + * emailAddress – if the value specified is the email address of an + * Amazon Web Services account

    + * + *

    Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:

    + *
      + *
    • + *

      US East (N. Virginia)

      + *
    • + *
    • + *

      US West (N. California)

      + *
    • + *
    • + *

      US West (Oregon)

      + *
    • + *
    • + *

      Asia Pacific (Singapore)

      + *
    • + *
    • + *

      Asia Pacific (Sydney)

      + *
    • + *
    • + *

      Asia Pacific (Tokyo)

      + *
    • + *
    • + *

      Europe (Ireland)

      + *
    • + *
    • + *

      South America (São Paulo)

      + *
    • + *
    + *

    For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.

    + *
    + *
  • + *
+ *

For example, the following x-amz-grant-read header grants the Amazon Web Services accounts identified by account IDs permissions to read object data and its metadata:

+ *

+ * x-amz-grant-read: id="11112222333", id="444455556666" + *

+ * + *
    + *
  • + *

    This functionality is not supported for directory buckets.

    + *
  • + *
  • + *

    This functionality is not supported for Amazon S3 on Outposts.

    + *
  • + *
+ *
+ * @public + */ + GrantRead?: string | undefined; + /** + *

Specify access permissions explicitly to allows grantee to read the object ACL.

+ *

By default, all objects are private. Only the owner has full access control. When uploading an + * object, you can use this header to explicitly grant access permissions to specific Amazon Web Services accounts or + * groups. This header maps to specific permissions that Amazon S3 supports in an ACL. For more information, see + * Access Control List (ACL) + * Overview in the Amazon S3 User Guide.

+ *

You specify each grantee as a type=value pair, where the type is one of the following:

+ *
    + *
  • + *

    + * id – if the value specified is the canonical user ID of an Amazon Web Services account

    + *
  • + *
  • + *

    + * uri – if you are granting permissions to a predefined group

    + *
  • + *
  • + *

    + * emailAddress – if the value specified is the email address of an + * Amazon Web Services account

    + * + *

    Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:

    + *
      + *
    • + *

      US East (N. Virginia)

      + *
    • + *
    • + *

      US West (N. California)

      + *
    • + *
    • + *

      US West (Oregon)

      + *
    • + *
    • + *

      Asia Pacific (Singapore)

      + *
    • + *
    • + *

      Asia Pacific (Sydney)

      + *
    • + *
    • + *

      Asia Pacific (Tokyo)

      + *
    • + *
    • + *

      Europe (Ireland)

      + *
    • + *
    • + *

      South America (São Paulo)

      + *
    • + *
    + *

    For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.

    + *
    + *
  • + *
+ *

For example, the following x-amz-grant-read header grants the Amazon Web Services accounts identified by account IDs permissions to read object data and its metadata:

+ *

+ * x-amz-grant-read: id="11112222333", id="444455556666" + *

+ * + *
    + *
  • + *

    This functionality is not supported for directory buckets.

    + *
  • + *
  • + *

    This functionality is not supported for Amazon S3 on Outposts.

    + *
  • + *
+ *
+ * @public + */ + GrantReadACP?: string | undefined; + /** + *

Specify access permissions explicitly to allows grantee to allow grantee to write the ACL for the + * applicable object.

+ *

By default, all objects are private. Only the owner has full access control. When uploading an + * object, you can use this header to explicitly grant access permissions to specific Amazon Web Services accounts or + * groups. This header maps to specific permissions that Amazon S3 supports in an ACL. For more information, see + * Access Control List (ACL) + * Overview in the Amazon S3 User Guide.

+ *

You specify each grantee as a type=value pair, where the type is one of the following:

+ *
    + *
  • + *

    + * id – if the value specified is the canonical user ID of an Amazon Web Services account

    + *
  • + *
  • + *

    + * uri – if you are granting permissions to a predefined group

    + *
  • + *
  • + *

    + * emailAddress – if the value specified is the email address of an + * Amazon Web Services account

    + * + *

    Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:

    + *
      + *
    • + *

      US East (N. Virginia)

      + *
    • + *
    • + *

      US West (N. California)

      + *
    • + *
    • + *

      US West (Oregon)

      + *
    • + *
    • + *

      Asia Pacific (Singapore)

      + *
    • + *
    • + *

      Asia Pacific (Sydney)

      + *
    • + *
    • + *

      Asia Pacific (Tokyo)

      + *
    • + *
    • + *

      Europe (Ireland)

      + *
    • + *
    • + *

      South America (São Paulo)

      + *
    • + *
    + *

    For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.

    + *
    + *
  • + *
+ *

For example, the following x-amz-grant-read header grants the Amazon Web Services accounts identified by account IDs permissions to read object data and its metadata:

+ *

+ * x-amz-grant-read: id="11112222333", id="444455556666" + *

+ * + *
    + *
  • + *

    This functionality is not supported for directory buckets.

    + *
  • + *
  • + *

    This functionality is not supported for Amazon S3 on Outposts.

    + *
  • + *
+ *
+ * @public + */ + GrantWriteACP?: string | undefined; + /** + *

Object key for which the multipart upload is to be initiated.

+ * @public + */ + Key: string | undefined; + /** + *

A map of metadata to store with the object in S3.

+ * @public + */ + Metadata?: Record | undefined; + /** + *

The server-side encryption algorithm used when you store this object in Amazon S3 or Amazon FSx.

+ *
    + *
  • + *

    + * Directory buckets - + * For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (aws:kms). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your + * CreateSession requests or PUT object requests. Then, new objects + * are automatically encrypted with the desired encryption settings. For more + * information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.

    + *

    In the Zonal endpoint API calls (except CopyObject and UploadPartCopy) using the REST API, the encryption request headers must match the encryption settings that are specified in the CreateSession request. + * You can't override the values of the encryption settings (x-amz-server-side-encryption, x-amz-server-side-encryption-aws-kms-key-id, x-amz-server-side-encryption-context, and x-amz-server-side-encryption-bucket-key-enabled) that are specified in the CreateSession request. + * You don't need to explicitly specify these encryption settings values in Zonal endpoint API calls, and + * Amazon S3 will use the encryption settings values from the CreateSession request to protect new objects in the directory bucket. + *

    + * + *

    When you use the CLI or the Amazon Web Services SDKs, for CreateSession, the session token refreshes automatically to avoid service interruptions when a session expires. The CLI or the Amazon Web Services SDKs use the bucket's default encryption configuration for the + * CreateSession request. It's not supported to override the encryption settings values in the CreateSession request. + * So in the Zonal endpoint API calls (except CopyObject and UploadPartCopy), + * the encryption request headers must match the default encryption configuration of the directory bucket. + * + *

    + *
    + *
  • + *
  • + *

    + * S3 access points for Amazon FSx - When accessing data stored in + * Amazon FSx file systems using S3 access points, the only valid server side encryption option is + * aws:fsx. All Amazon FSx file systems have encryption configured by default and are + * encrypted at rest. Data is automatically encrypted before being written to the file system, and + * automatically decrypted as it is read. These processes are handled transparently by Amazon FSx.

    + *
  • + *
+ * @public + */ + ServerSideEncryption?: ServerSideEncryption | undefined; + /** + *

By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The STANDARD + * storage class provides high durability and high availability. Depending on performance needs, you can + * specify a different Storage Class. For more information, see Storage Classes in the + * Amazon S3 User Guide.

+ * + *
    + *
  • + *

    Directory buckets only support EXPRESS_ONEZONE (the S3 Express One Zone storage class) in + * Availability Zones and ONEZONE_IA (the S3 One Zone-Infrequent Access storage class) in + * Dedicated Local Zones.

    + *
  • + *
  • + *

    Amazon S3 on Outposts only uses the OUTPOSTS Storage Class.

    + *
  • + *
+ *
+ * @public + */ + StorageClass?: StorageClass | undefined; + /** + *

If the bucket is configured as a website, redirects requests for this object to another object in + * the same bucket or to an external URL. Amazon S3 stores the value of this header in the object + * metadata.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + WebsiteRedirectLocation?: string | undefined; + /** + *

Specifies the algorithm to use when encrypting the object (for example, AES256).

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerAlgorithm?: string | undefined; + /** + *

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is + * used to store the object and then it is discarded; Amazon S3 does not store the encryption key. The key must + * be appropriate for use with the algorithm specified in the + * x-amz-server-side-encryption-customer-algorithm header.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKey?: string | undefined; + /** + *

Specifies the 128-bit MD5 digest of the customer-provided encryption key according to RFC 1321. Amazon S3 + * uses this header for a message integrity check to ensure that the encryption key was transmitted without + * error.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKeyMD5?: string | undefined; + /** + *

Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for object encryption. If the KMS key doesn't exist in the same + * account that's issuing the command, you must use the full Key ARN not the Key ID.

+ *

+ * General purpose buckets - If you specify x-amz-server-side-encryption with aws:kms or aws:kms:dsse, this header specifies the ID (Key ID, Key ARN, or Key Alias) of the KMS + * key to use. If you specify + * x-amz-server-side-encryption:aws:kms or + * x-amz-server-side-encryption:aws:kms:dsse, but do not provide x-amz-server-side-encryption-aws-kms-key-id, Amazon S3 uses the Amazon Web Services managed key + * (aws/s3) to protect the data.

+ *

+ * Directory buckets - To encrypt data using SSE-KMS, it's recommended to specify the + * x-amz-server-side-encryption header to aws:kms. Then, the x-amz-server-side-encryption-aws-kms-key-id header implicitly uses + * the bucket's default KMS customer managed key ID. If you want to explicitly set the + * x-amz-server-side-encryption-aws-kms-key-id header, it must match the bucket's default customer managed key (using key ID or ARN, not alias). Your SSE-KMS configuration can only support 1 customer managed key per directory bucket's lifetime. + * The Amazon Web Services managed key (aws/s3) isn't supported. + * + * Incorrect key specification results in an HTTP 400 Bad Request error.

+ * @public + */ + SSEKMSKeyId?: string | undefined; + /** + *

Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of + * this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs.

+ *

+ * Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported.

+ * @public + */ + SSEKMSEncryptionContext?: string | undefined; + /** + *

Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with + * server-side encryption using Key Management Service (KMS) keys (SSE-KMS).

+ *

+ * General purpose buckets - Setting this header to + * true causes Amazon S3 to use an S3 Bucket Key for object encryption with + * SSE-KMS. Also, specifying this header with a PUT action doesn't affect bucket-level settings for S3 + * Bucket Key.

+ *

+ * Directory buckets - S3 Bucket Keys are always enabled for GET and PUT operations in a directory bucket and can’t be disabled. S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets + * to directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through CopyObject, UploadPartCopy, the Copy operation in Batch Operations, or + * the import jobs. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.

+ * @public + */ + BucketKeyEnabled?: boolean | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

The tag-set for the object. The tag-set must be encoded as URL Query parameters.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + Tagging?: string | undefined; + /** + *

Specifies the Object Lock mode that you want to apply to the uploaded object.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ObjectLockMode?: ObjectLockMode | undefined; + /** + *

Specifies the date and time when you want the Object Lock to expire.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ObjectLockRetainUntilDate?: Date | undefined; + /** + *

Specifies whether you want to apply a legal hold to the uploaded object.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

Indicates the algorithm that you want Amazon S3 to use to create the checksum for the object. For more information, see + * Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

Indicates the checksum type that you want Amazon S3 to use to calculate the object’s checksum value. For + * more information, see Checking object integrity in the Amazon S3 + * User Guide.

+ * @public + */ + ChecksumType?: ChecksumType | undefined; +} +/** + *

The established temporary security credentials of the session.

+ * + *

+ * Directory buckets - These session credentials are only + * supported for the authentication and authorization of Zonal endpoint API operations on directory buckets.

+ *
+ * @public + */ +export interface SessionCredentials { + /** + *

A unique identifier that's associated with a secret access key. The access key ID and the secret + * access key are used together to sign programmatic Amazon Web Services requests cryptographically.

+ * @public + */ + AccessKeyId: string | undefined; + /** + *

A key that's used with the access key ID to cryptographically sign programmatic Amazon Web Services requests. + * Signing a request identifies the sender and prevents the request from being altered.

+ * @public + */ + SecretAccessKey: string | undefined; + /** + *

A part of the temporary security credentials. The session token is used to validate the temporary + * security credentials. + * + *

+ * @public + */ + SessionToken: string | undefined; + /** + *

Temporary security credentials expire after a specified interval. After temporary credentials + * expire, any calls that you make with those credentials will fail. So you must generate a new set of + * temporary credentials. Temporary credentials cannot be extended or refreshed beyond the original + * specified interval.

+ * @public + */ + Expiration: Date | undefined; +} +/** + * @public + */ +export interface CreateSessionOutput { + /** + *

The server-side encryption algorithm used when you store objects in the directory bucket.

+ * + *

When accessing data stored in Amazon FSx file systems using S3 access points, the only valid server side + * encryption option is aws:fsx.

+ *
+ * @public + */ + ServerSideEncryption?: ServerSideEncryption | undefined; + /** + *

If you specify x-amz-server-side-encryption with aws:kms, this header indicates the ID of the KMS + * symmetric encryption customer managed key that was used for object encryption.

+ * @public + */ + SSEKMSKeyId?: string | undefined; + /** + *

If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of + * this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. + * This value is stored as object metadata and automatically gets + * passed on to Amazon Web Services KMS for future GetObject + * operations on this object.

+ * @public + */ + SSEKMSEncryptionContext?: string | undefined; + /** + *

Indicates whether to use an S3 Bucket Key for server-side encryption + * with KMS keys (SSE-KMS).

+ * @public + */ + BucketKeyEnabled?: boolean | undefined; + /** + *

The established temporary security credentials for the created session.

+ * @public + */ + Credentials: SessionCredentials | undefined; +} +/** + * @public + */ +export interface CreateSessionRequest { + /** + *

Specifies the mode of the session that will be created, either ReadWrite or + * ReadOnly. If no session mode is specified, the default behavior attempts to create + * a session with the maximum allowable privilege. It will first attempt to create a + * ReadWrite session, and if that is not allowed by permissions, it will attempt to create a + * ReadOnly session. If neither session type is allowed, the request will return an Access Denied error. A + * ReadWrite session is capable of executing all the Zonal endpoint API operations on a directory bucket. A + * ReadOnly session is constrained to execute the following Zonal endpoint API operations: + * GetObject, HeadObject, ListObjectsV2, + * GetObjectAttributes, ListParts, and + * ListMultipartUploads.

+ * @public + */ + SessionMode?: SessionMode | undefined; + /** + *

The name of the bucket that you create a session for.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The server-side encryption algorithm to use when you store objects in the directory bucket.

+ *

For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (aws:kms). By default, Amazon S3 encrypts data with SSE-S3. + * For more + * information, see Protecting data with server-side encryption in the Amazon S3 User Guide.

+ *

+ * S3 access points for Amazon FSx - When accessing data stored in Amazon FSx + * file systems using S3 access points, the only valid server side encryption option is aws:fsx. All + * Amazon FSx file systems have encryption configured by default and are encrypted at rest. Data is + * automatically encrypted before being written to the file system, and automatically decrypted as it is + * read. These processes are handled transparently by Amazon FSx.

+ * @public + */ + ServerSideEncryption?: ServerSideEncryption | undefined; + /** + *

If you specify x-amz-server-side-encryption with aws:kms, you must specify the + * x-amz-server-side-encryption-aws-kms-key-id header with the ID (Key ID or Key ARN) of the KMS + * symmetric encryption customer managed key to use. Otherwise, you get an HTTP 400 Bad Request error. Only use the key ID or key ARN. The key alias format of the KMS key isn't supported. Also, if the KMS key doesn't exist in the same + * account that't issuing the command, you must use the full Key ARN not the Key ID.

+ *

Your SSE-KMS configuration can only support 1 customer managed key per directory bucket's lifetime. + * The Amazon Web Services managed key (aws/s3) isn't supported. + *

+ * @public + */ + SSEKMSKeyId?: string | undefined; + /** + *

Specifies the Amazon Web Services KMS Encryption Context as an additional encryption context to use for object encryption. The value of + * this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. + * This value is stored as object metadata and automatically gets passed on + * to Amazon Web Services KMS for future GetObject operations on + * this object.

+ *

+ * General purpose buckets - This value must be explicitly added during CopyObject operations if you want an additional encryption context for your object. For more information, see Encryption context in the Amazon S3 User Guide.

+ *

+ * Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported.

+ * @public + */ + SSEKMSEncryptionContext?: string | undefined; + /** + *

Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with + * server-side encryption using KMS keys (SSE-KMS).

+ *

S3 Bucket Keys are always enabled for GET and PUT operations in a directory bucket and can’t be disabled. S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets + * to directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through CopyObject, UploadPartCopy, the Copy operation in Batch Operations, or + * the import jobs. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.

+ * @public + */ + BucketKeyEnabled?: boolean | undefined; +} +/** + * @public + */ +export interface DeleteBucketRequest { + /** + *

Specifies the bucket being deleted.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide + *

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * + *

For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code + * 501 Not Implemented.

+ *
+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface DeleteBucketAnalyticsConfigurationRequest { + /** + *

The name of the bucket from which an analytics configuration is deleted.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The ID that identifies the analytics configuration.

+ * @public + */ + Id: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface DeleteBucketCorsRequest { + /** + *

Specifies the bucket whose cors configuration is being deleted.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface DeleteBucketEncryptionRequest { + /** + *

The name of the bucket containing the server-side encryption configuration to delete.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide + *

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * + *

For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code + * 501 Not Implemented.

+ *
+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface DeleteBucketIntelligentTieringConfigurationRequest { + /** + *

The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The ID used to identify the S3 Intelligent-Tiering configuration.

+ * @public + */ + Id: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface DeleteBucketInventoryConfigurationRequest { + /** + *

The name of the bucket containing the inventory configuration to delete.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The ID used to identify the inventory configuration.

+ * @public + */ + Id: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface DeleteBucketLifecycleRequest { + /** + *

The bucket name of the lifecycle to delete.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * + *

This parameter applies to general purpose buckets only. It is not supported for directory bucket + * lifecycle configurations.

+ *
+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface DeleteBucketMetadataConfigurationRequest { + /** + *

+ * The general purpose bucket that you want to remove the metadata configuration from. + *

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

+ * The expected bucket owner of the general purpose bucket that you want to remove the metadata table + * configuration from. + *

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface DeleteBucketMetadataTableConfigurationRequest { + /** + *

The general purpose bucket that you want to remove the metadata table configuration from.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The expected bucket owner of the general purpose bucket that you want to remove the metadata table + * configuration from.

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface DeleteBucketMetricsConfigurationRequest { + /** + *

The name of the bucket containing the metrics configuration to delete.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide + *

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The ID used to identify the metrics configuration. The ID has a 64 character limit and can only + * contain letters, numbers, periods, dashes, and underscores.

+ * @public + */ + Id: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * + *

For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code + * 501 Not Implemented.

+ *
+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface DeleteBucketOwnershipControlsRequest { + /** + *

The Amazon S3 bucket whose OwnershipControls you want to delete.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface DeleteBucketPolicyRequest { + /** + *

The bucket name.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide + *

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * + *

For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code + * 501 Not Implemented.

+ *
+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface DeleteBucketReplicationRequest { + /** + *

The bucket name.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface DeleteBucketTaggingRequest { + /** + *

The bucket that has the tag set to be removed.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface DeleteBucketWebsiteRequest { + /** + *

The bucket name for which you want to remove the website configuration.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface DeleteObjectOutput { + /** + *

Indicates whether the specified object version that was permanently deleted was (true) or was not + * (false) a delete marker before deletion. In a simple DELETE, this header indicates whether (true) or not + * (false) the current version of the object is a delete marker. To learn more about delete markers, see + * Working with delete + * markers.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + DeleteMarker?: boolean | undefined; + /** + *

Returns the version ID of the delete marker created as a result of the DELETE operation.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + VersionId?: string | undefined; + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; +} +/** + * @public + */ +export interface DeleteObjectRequest { + /** + *

The bucket name of the bucket containing the object.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format + * Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * amzn-s3-demo-bucket--usw2-az1--x-s3). For information about bucket naming + * restrictions, see Directory bucket naming + * rules in the Amazon S3 User Guide.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ * + *

Object Lambda access points are not supported by directory buckets.

+ *
+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Key name of the object to delete.

+ * @public + */ + Key: string | undefined; + /** + *

The concatenation of the authentication device's serial number, a space, and the value that is + * displayed on your authentication device. Required to permanently delete a versioned object if versioning + * is configured with MFA delete enabled.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + MFA?: string | undefined; + /** + *

Version ID used to reference a specific version of the object.

+ * + *

For directory buckets in this API operation, only the null value of the version ID is supported.

+ *
+ * @public + */ + VersionId?: string | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

Indicates whether S3 Object Lock should bypass Governance-mode restrictions to process this + * operation. To use this header, you must have the s3:BypassGovernanceRetention + * permission.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + BypassGovernanceRetention?: boolean | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

Deletes the object if the ETag (entity tag) value provided during the delete operation matches the ETag of the object in S3. + * If the ETag values do not match, the operation returns a 412 Precondition Failed error.

+ *

Expects the ETag value as a string. If-Match does accept a string value of an '*' (asterisk) character to denote a match of any ETag.

+ *

For more information about conditional requests, see RFC 7232.

+ * @public + */ + IfMatch?: string | undefined; + /** + *

If present, the object is deleted only if its modification times matches the provided + * Timestamp. If the Timestamp values do not match, the operation returns a + * 412 Precondition Failed error. If the Timestamp matches or if the object + * doesn’t exist, the operation returns a 204 Success (No Content) response.

+ * + *

This functionality is only supported for directory buckets.

+ *
+ * @public + */ + IfMatchLastModifiedTime?: Date | undefined; + /** + *

If present, the object is deleted only if its size matches the provided size in bytes. If the + * Size value does not match, the operation returns a 412 Precondition Failed + * error. If the Size matches or if the object doesn’t exist, the operation returns a + * 204 Success (No Content) response.

+ * + *

This functionality is only supported for directory buckets.

+ *
+ * + *

You can use the If-Match, x-amz-if-match-last-modified-time and + * x-amz-if-match-size conditional headers in conjunction with each-other or + * individually.

+ *
+ * @public + */ + IfMatchSize?: number | undefined; +} +/** + *

Information about the deleted object.

+ * @public + */ +export interface DeletedObject { + /** + *

The name of the deleted object.

+ * @public + */ + Key?: string | undefined; + /** + *

The version ID of the deleted object.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + VersionId?: string | undefined; + /** + *

Indicates whether the specified object version that was permanently deleted was (true) or was not + * (false) a delete marker before deletion. In a simple DELETE, this header indicates whether (true) or not + * (false) the current version of the object is a delete marker. To learn more about delete markers, see + * Working with delete + * markers.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + DeleteMarker?: boolean | undefined; + /** + *

The version ID of the delete marker created as a result of the DELETE operation. If you delete a + * specific object version, the value returned by this header is the version ID of the object version + * deleted.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + DeleteMarkerVersionId?: string | undefined; +} +/** + *

Container for all error elements.

+ * @public + */ +export interface _Error { + /** + *

The error key.

+ * @public + */ + Key?: string | undefined; + /** + *

The version ID of the error.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + VersionId?: string | undefined; + /** + *

The error code is a string that uniquely identifies an error condition. It is meant to be read and + * understood by programs that detect and handle errors by type. The following is a list of Amazon S3 error + * codes. For more information, see Error responses.

+ *
    + *
  • + *
      + *
    • + *

      + * Code: AccessDenied

      + *
    • + *
    • + *

      + * Description: Access Denied

      + *
    • + *
    • + *

      + * HTTP Status Code: 403 Forbidden

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: AccountProblem

      + *
    • + *
    • + *

      + * Description: There is a problem with your Amazon Web Services account that prevents + * the action from completing successfully. Contact Amazon Web Services Support for further assistance.

      + *
    • + *
    • + *

      + * HTTP Status Code: 403 Forbidden

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: AllAccessDisabled

      + *
    • + *
    • + *

      + * Description: All access to this Amazon S3 resource has been disabled. + * Contact Amazon Web Services Support for further assistance.

      + *
    • + *
    • + *

      + * HTTP Status Code: 403 Forbidden

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: AmbiguousGrantByEmailAddress

      + *
    • + *
    • + *

      + * Description: The email address you provided is associated with more + * than one account.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: AuthorizationHeaderMalformed

      + *
    • + *
    • + *

      + * Description: The authorization header you provided is invalid.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * HTTP Status Code: N/A

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: BadDigest

      + *
    • + *
    • + *

      + * Description: The Content-MD5 you specified did not match what we + * received.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: BucketAlreadyExists

      + *
    • + *
    • + *

      + * Description: The requested bucket name is not available. The bucket + * namespace is shared by all users of the system. Please select a different name and try + * again.

      + *
    • + *
    • + *

      + * HTTP Status Code: 409 Conflict

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: BucketAlreadyOwnedByYou

      + *
    • + *
    • + *

      + * Description: The bucket you tried to create already exists, and you own + * it. Amazon S3 returns this error in all Amazon Web Services Regions except in the North Virginia Region. For legacy + * compatibility, if you re-create an existing bucket that you already own in the North Virginia + * Region, Amazon S3 returns 200 OK and resets the bucket access control lists (ACLs).

      + *
    • + *
    • + *

      + * Code: 409 Conflict (in all Regions except the North Virginia Region) + *

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: BucketNotEmpty

      + *
    • + *
    • + *

      + * Description: The bucket you tried to delete is not empty.

      + *
    • + *
    • + *

      + * HTTP Status Code: 409 Conflict

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: CredentialsNotSupported

      + *
    • + *
    • + *

      + * Description: This request does not support credentials.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: CrossLocationLoggingProhibited

      + *
    • + *
    • + *

      + * Description: Cross-location logging not allowed. Buckets in one + * geographic location cannot log information to a bucket in another location.

      + *
    • + *
    • + *

      + * HTTP Status Code: 403 Forbidden

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: EntityTooSmall

      + *
    • + *
    • + *

      + * Description: Your proposed upload is smaller than the minimum allowed + * object size.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: EntityTooLarge

      + *
    • + *
    • + *

      + * Description: Your proposed upload exceeds the maximum allowed object + * size.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: ExpiredToken

      + *
    • + *
    • + *

      + * Description: The provided token has expired.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: IllegalVersioningConfigurationException

      + *
    • + *
    • + *

      + * Description: Indicates that the versioning configuration specified in + * the request is invalid.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: IncompleteBody

      + *
    • + *
    • + *

      + * Description: You did not provide the number of bytes specified by the + * Content-Length HTTP header

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: IncorrectNumberOfFilesInPostRequest

      + *
    • + *
    • + *

      + * Description: POST requires exactly one file upload per request.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InlineDataTooLarge

      + *
    • + *
    • + *

      + * Description: Inline data exceeds the maximum allowed size.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InternalError

      + *
    • + *
    • + *

      + * Description: We encountered an internal error. Please try again.

      + *
    • + *
    • + *

      + * HTTP Status Code: 500 Internal Server Error

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Server

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidAccessKeyId

      + *
    • + *
    • + *

      + * Description: The Amazon Web Services access key ID you provided does not exist in our + * records.

      + *
    • + *
    • + *

      + * HTTP Status Code: 403 Forbidden

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidAddressingHeader

      + *
    • + *
    • + *

      + * Description: You must specify the Anonymous role.

      + *
    • + *
    • + *

      + * HTTP Status Code: N/A

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidArgument

      + *
    • + *
    • + *

      + * Description: Invalid Argument

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidBucketName

      + *
    • + *
    • + *

      + * Description: The specified bucket is not valid.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidBucketState

      + *
    • + *
    • + *

      + * Description: The request is not valid with the current state of the + * bucket.

      + *
    • + *
    • + *

      + * HTTP Status Code: 409 Conflict

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidDigest

      + *
    • + *
    • + *

      + * Description: The Content-MD5 you specified is not valid.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidEncryptionAlgorithmError

      + *
    • + *
    • + *

      + * Description: The encryption request you specified is not valid. The + * valid value is AES256.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidLocationConstraint

      + *
    • + *
    • + *

      + * Description: The specified location constraint is not valid. For more + * information about Regions, see How to Select a Region for Your + * Buckets.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidObjectState

      + *
    • + *
    • + *

      + * Description: The action is not valid for the current state of the + * object.

      + *
    • + *
    • + *

      + * HTTP Status Code: 403 Forbidden

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidPart

      + *
    • + *
    • + *

      + * Description: One or more of the specified parts could not be found. The + * part might not have been uploaded, or the specified entity tag might not have matched the part's + * entity tag.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidPartOrder

      + *
    • + *
    • + *

      + * Description: The list of parts was not in ascending order. Parts list + * must be specified in order by part number.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidPayer

      + *
    • + *
    • + *

      + * Description: All access to this object has been disabled. Please + * contact Amazon Web Services Support for further assistance.

      + *
    • + *
    • + *

      + * HTTP Status Code: 403 Forbidden

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidPolicyDocument

      + *
    • + *
    • + *

      + * Description: The content of the form does not meet the conditions + * specified in the policy document.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidRange

      + *
    • + *
    • + *

      + * Description: The requested range cannot be satisfied.

      + *
    • + *
    • + *

      + * HTTP Status Code: 416 Requested Range Not Satisfiable

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidRequest

      + *
    • + *
    • + *

      + * Description: Please use AWS4-HMAC-SHA256.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * Code: N/A

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidRequest

      + *
    • + *
    • + *

      + * Description: SOAP requests must be made over an HTTPS + * connection.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidRequest

      + *
    • + *
    • + *

      + * Description: Amazon S3 Transfer Acceleration is not supported for buckets + * with non-DNS compliant names.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * Code: N/A

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidRequest

      + *
    • + *
    • + *

      + * Description: Amazon S3 Transfer Acceleration is not supported for buckets + * with periods (.) in their names.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * Code: N/A

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidRequest

      + *
    • + *
    • + *

      + * Description: Amazon S3 Transfer Accelerate endpoint only supports virtual + * style requests.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * Code: N/A

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidRequest

      + *
    • + *
    • + *

      + * Description: Amazon S3 Transfer Accelerate is not configured on this + * bucket.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * Code: N/A

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidRequest

      + *
    • + *
    • + *

      + * Description: Amazon S3 Transfer Accelerate is disabled on this + * bucket.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * Code: N/A

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidRequest

      + *
    • + *
    • + *

      + * Description: Amazon S3 Transfer Acceleration is not supported on this + * bucket. Contact Amazon Web Services Support for more information.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * Code: N/A

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidRequest

      + *
    • + *
    • + *

      + * Description: Amazon S3 Transfer Acceleration cannot be enabled on this + * bucket. Contact Amazon Web Services Support for more information.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * Code: N/A

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidSecurity

      + *
    • + *
    • + *

      + * Description: The provided security credentials are not valid.

      + *
    • + *
    • + *

      + * HTTP Status Code: 403 Forbidden

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidSOAPRequest

      + *
    • + *
    • + *

      + * Description: The SOAP request body is invalid.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidStorageClass

      + *
    • + *
    • + *

      + * Description: The storage class you specified is not valid.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidTargetBucketForLogging

      + *
    • + *
    • + *

      + * Description: The target bucket for logging does not exist, is not owned + * by you, or does not have the appropriate grants for the log-delivery group.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidToken

      + *
    • + *
    • + *

      + * Description: The provided token is malformed or otherwise + * invalid.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: InvalidURI

      + *
    • + *
    • + *

      + * Description: Couldn't parse the specified URI.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: KeyTooLongError

      + *
    • + *
    • + *

      + * Description: Your key is too long.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: MalformedACLError

      + *
    • + *
    • + *

      + * Description: The XML you provided was not well-formed or did not + * validate against our published schema.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: MalformedPOSTRequest

      + *
    • + *
    • + *

      + * Description: The body of your POST request is not well-formed + * multipart/form-data.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: MalformedXML

      + *
    • + *
    • + *

      + * Description: This happens when the user sends malformed XML (XML that + * doesn't conform to the published XSD) for the configuration. The error message is, "The XML you + * provided was not well-formed or did not validate against our published schema."

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: MaxMessageLengthExceeded

      + *
    • + *
    • + *

      + * Description: Your request was too big.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: MaxPostPreDataLengthExceededError

      + *
    • + *
    • + *

      + * Description: Your POST request fields preceding the upload file were + * too large.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: MetadataTooLarge

      + *
    • + *
    • + *

      + * Description: Your metadata headers exceed the maximum allowed metadata + * size.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: MethodNotAllowed

      + *
    • + *
    • + *

      + * Description: The specified method is not allowed against this + * resource.

      + *
    • + *
    • + *

      + * HTTP Status Code: 405 Method Not Allowed

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: MissingAttachment

      + *
    • + *
    • + *

      + * Description: A SOAP attachment was expected, but none were + * found.

      + *
    • + *
    • + *

      + * HTTP Status Code: N/A

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: MissingContentLength

      + *
    • + *
    • + *

      + * Description: You must provide the Content-Length HTTP header.

      + *
    • + *
    • + *

      + * HTTP Status Code: 411 Length Required

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: MissingRequestBodyError

      + *
    • + *
    • + *

      + * Description: This happens when the user sends an empty XML document as + * a request. The error message is, "Request body is empty."

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: MissingSecurityElement

      + *
    • + *
    • + *

      + * Description: The SOAP 1.1 request is missing a security element.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: MissingSecurityHeader

      + *
    • + *
    • + *

      + * Description: Your request is missing a required header.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: NoLoggingStatusForKey

      + *
    • + *
    • + *

      + * Description: There is no such thing as a logging status subresource for + * a key.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: NoSuchBucket

      + *
    • + *
    • + *

      + * Description: The specified bucket does not exist.

      + *
    • + *
    • + *

      + * HTTP Status Code: 404 Not Found

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: NoSuchBucketPolicy

      + *
    • + *
    • + *

      + * Description: The specified bucket does not have a bucket policy.

      + *
    • + *
    • + *

      + * HTTP Status Code: 404 Not Found

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: NoSuchKey

      + *
    • + *
    • + *

      + * Description: The specified key does not exist.

      + *
    • + *
    • + *

      + * HTTP Status Code: 404 Not Found

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: NoSuchLifecycleConfiguration

      + *
    • + *
    • + *

      + * Description: The lifecycle configuration does not exist.

      + *
    • + *
    • + *

      + * HTTP Status Code: 404 Not Found

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: NoSuchUpload

      + *
    • + *
    • + *

      + * Description: The specified multipart upload does not exist. The upload + * ID might be invalid, or the multipart upload might have been aborted or completed.

      + *
    • + *
    • + *

      + * HTTP Status Code: 404 Not Found

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: NoSuchVersion

      + *
    • + *
    • + *

      + * Description: Indicates that the version ID specified in the request + * does not match an existing version.

      + *
    • + *
    • + *

      + * HTTP Status Code: 404 Not Found

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: NotImplemented

      + *
    • + *
    • + *

      + * Description: A header you provided implies functionality that is not + * implemented.

      + *
    • + *
    • + *

      + * HTTP Status Code: 501 Not Implemented

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Server

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: NotSignedUp

      + *
    • + *
    • + *

      + * Description: Your account is not signed up for the Amazon S3 service. You + * must sign up before you can use Amazon S3. You can sign up at the following URL: Amazon S3 + *

      + *
    • + *
    • + *

      + * HTTP Status Code: 403 Forbidden

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: OperationAborted

      + *
    • + *
    • + *

      + * Description: A conflicting conditional action is currently in progress + * against this resource. Try again.

      + *
    • + *
    • + *

      + * HTTP Status Code: 409 Conflict

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: PermanentRedirect

      + *
    • + *
    • + *

      + * Description: The bucket you are attempting to access must be addressed + * using the specified endpoint. Send all future requests to this endpoint.

      + *
    • + *
    • + *

      + * HTTP Status Code: 301 Moved Permanently

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: PreconditionFailed

      + *
    • + *
    • + *

      + * Description: At least one of the preconditions you specified did not + * hold.

      + *
    • + *
    • + *

      + * HTTP Status Code: 412 Precondition Failed

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: Redirect

      + *
    • + *
    • + *

      + * Description: Temporary redirect.

      + *
    • + *
    • + *

      + * HTTP Status Code: 307 Moved Temporarily

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: RestoreAlreadyInProgress

      + *
    • + *
    • + *

      + * Description: Object restore is already in progress.

      + *
    • + *
    • + *

      + * HTTP Status Code: 409 Conflict

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: RequestIsNotMultiPartContent

      + *
    • + *
    • + *

      + * Description: Bucket POST must be of the enclosure-type + * multipart/form-data.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: RequestTimeout

      + *
    • + *
    • + *

      + * Description: Your socket connection to the server was not read from or + * written to within the timeout period.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: RequestTimeTooSkewed

      + *
    • + *
    • + *

      + * Description: The difference between the request time and the server's + * time is too large.

      + *
    • + *
    • + *

      + * HTTP Status Code: 403 Forbidden

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: RequestTorrentOfBucketError

      + *
    • + *
    • + *

      + * Description: Requesting the torrent file of a bucket is not + * permitted.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: SignatureDoesNotMatch

      + *
    • + *
    • + *

      + * Description: The request signature we calculated does not match the + * signature you provided. Check your Amazon Web Services secret access key and signing method. For more + * information, see REST Authentication and SOAP Authentication for + * details.

      + *
    • + *
    • + *

      + * HTTP Status Code: 403 Forbidden

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: ServiceUnavailable

      + *
    • + *
    • + *

      + * Description: Service is unable to handle request.

      + *
    • + *
    • + *

      + * HTTP Status Code: 503 Service Unavailable

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Server

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: SlowDown

      + *
    • + *
    • + *

      + * Description: Reduce your request rate.

      + *
    • + *
    • + *

      + * HTTP Status Code: 503 Slow Down

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Server

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: TemporaryRedirect

      + *
    • + *
    • + *

      + * Description: You are being redirected to the bucket while DNS + * updates.

      + *
    • + *
    • + *

      + * HTTP Status Code: 307 Moved Temporarily

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: TokenRefreshRequired

      + *
    • + *
    • + *

      + * Description: The provided token must be refreshed.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: TooManyBuckets

      + *
    • + *
    • + *

      + * Description: You have attempted to create more buckets than + * allowed.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: UnexpectedContent

      + *
    • + *
    • + *

      + * Description: This request does not support content.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: UnresolvableGrantByEmailAddress

      + *
    • + *
    • + *

      + * Description: The email address you provided does not match any account + * on record.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
  • + *
      + *
    • + *

      + * Code: UserKeyMustBeSpecified

      + *
    • + *
    • + *

      + * Description: The bucket POST must contain the specified field name. If + * it is specified, check the order of the fields.

      + *
    • + *
    • + *

      + * HTTP Status Code: 400 Bad Request

      + *
    • + *
    • + *

      + * SOAP Fault Code Prefix: Client

      + *
    • + *
    + *
  • + *
+ *

+ * @public + */ + Code?: string | undefined; + /** + *

The error message contains a generic description of the error condition in English. It is intended + * for a human audience. Simple programs display the message directly to the end user if they encounter an + * error condition they don't know how or don't care to handle. Sophisticated programs with more exhaustive + * error handling and proper internationalization are more likely to ignore the error message.

+ * @public + */ + Message?: string | undefined; +} +/** + * @public + */ +export interface DeleteObjectsOutput { + /** + *

Container element for a successful delete. It identifies the object that was successfully + * deleted.

+ * @public + */ + Deleted?: DeletedObject[] | undefined; + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; + /** + *

Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the + * error it encountered.

+ * @public + */ + Errors?: _Error[] | undefined; +} +/** + *

Object Identifier is unique value to identify objects.

+ * @public + */ +export interface ObjectIdentifier { + /** + *

Key name of the object.

+ * + *

Replacement must be made for object keys containing special characters (such as carriage returns) when using + * XML requests. For more information, see + * XML related object key constraints.

+ *
+ * @public + */ + Key: string | undefined; + /** + *

Version ID for the specific version of the object to delete.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + VersionId?: string | undefined; + /** + *

An entity tag (ETag) is an identifier assigned by a web server to a specific version of a resource + * found at a URL. This header field makes the request method conditional on ETags.

+ * + *

Entity tags (ETags) for S3 Express One Zone are random alphanumeric strings unique to the object. + *

+ *
+ * @public + */ + ETag?: string | undefined; + /** + *

If present, the objects are deleted only if its modification times matches the provided + * Timestamp.

+ * + *

This functionality is only supported for directory buckets.

+ *
+ * @public + */ + LastModifiedTime?: Date | undefined; + /** + *

If present, the objects are deleted only if its size matches the provided size in bytes.

+ * + *

This functionality is only supported for directory buckets.

+ *
+ * @public + */ + Size?: number | undefined; +} +/** + *

Container for the objects to delete.

+ * @public + */ +export interface Delete { + /** + *

The object to delete.

+ * + *

+ * Directory buckets - For directory buckets, an object + * that's composed entirely of whitespace characters is not supported by the DeleteObjects + * API operation. The request will receive a 400 Bad Request error and none of the objects + * in the request will be deleted.

+ *
+ * @public + */ + Objects: ObjectIdentifier[] | undefined; + /** + *

Element to enable quiet mode for the request. When you add this element, you must set its value to + * true.

+ * @public + */ + Quiet?: boolean | undefined; +} +/** + * @public + */ +export interface DeleteObjectsRequest { + /** + *

The bucket name containing the objects to delete.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format + * Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * amzn-s3-demo-bucket--usw2-az1--x-s3). For information about bucket naming + * restrictions, see Directory bucket naming + * rules in the Amazon S3 User Guide.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ * + *

Object Lambda access points are not supported by directory buckets.

+ *
+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Container for the request.

+ * @public + */ + Delete: Delete | undefined; + /** + *

The concatenation of the authentication device's serial number, a space, and the value that is + * displayed on your authentication device. Required to permanently delete a versioned object if versioning + * is configured with MFA delete enabled.

+ *

When performing the DeleteObjects operation on an MFA delete enabled bucket, which + * attempts to delete the specified versioned objects, you must include an MFA token. If you don't provide + * an MFA token, the entire request will fail, even if there are non-versioned objects that you are trying + * to delete. If you provide an invalid token, whether there are versioned object keys in the request or + * not, the entire Multi-Object Delete request will fail. For information about MFA Delete, see MFA + * Delete in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + MFA?: string | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

Specifies whether you want to delete this object even if it has a Governance-type Object Lock in + * place. To use this header, you must have the s3:BypassGovernanceRetention + * permission.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + BypassGovernanceRetention?: boolean | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum-algorithm + * or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request.

+ *

For the x-amz-checksum-algorithm + * header, replace + * algorithm + * with the supported algorithm from the following list:

+ *
    + *
  • + *

    + * CRC32 + *

    + *
  • + *
  • + *

    + * CRC32C + *

    + *
  • + *
  • + *

    + * CRC64NVME + *

    + *
  • + *
  • + *

    + * SHA1 + *

    + *
  • + *
  • + *

    + * SHA256 + *

    + *
  • + *
+ *

For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If the individual checksum value you provide through x-amz-checksum-algorithm + * doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm, Amazon S3 fails the request with a BadDigest error.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; +} +/** + * @public + */ +export interface DeleteObjectTaggingOutput { + /** + *

The versionId of the object the tag-set was removed from.

+ * @public + */ + VersionId?: string | undefined; +} +/** + * @public + */ +export interface DeleteObjectTaggingRequest { + /** + *

The bucket name containing the objects from which to remove the tags.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The key that identifies the object in the bucket from which to remove all tags.

+ * @public + */ + Key: string | undefined; + /** + *

The versionId of the object that the tag-set will be removed from.

+ * @public + */ + VersionId?: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface DeletePublicAccessBlockRequest { + /** + *

The Amazon S3 bucket whose PublicAccessBlock configuration you want to delete.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface GetBucketAbacOutput { + /** + *

The ABAC status of the general purpose bucket.

+ * @public + */ + AbacStatus?: AbacStatus | undefined; +} +/** + * @public + */ +export interface GetBucketAbacRequest { + /** + *

The name of the general purpose bucket.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The Amazon Web Services account ID of the general purpose bucket's owner.

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface GetBucketAccelerateConfigurationOutput { + /** + *

The accelerate configuration of the bucket.

+ * @public + */ + Status?: BucketAccelerateStatus | undefined; + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; +} +/** + * @public + */ +export interface GetBucketAccelerateConfigurationRequest { + /** + *

The name of the bucket for which the accelerate configuration is retrieved.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; +} +/** + * @public + */ +export interface GetBucketAclOutput { + /** + *

Container for the bucket owner's ID.

+ * @public + */ + Owner?: Owner | undefined; + /** + *

A list of grants.

+ * @public + */ + Grants?: Grant[] | undefined; +} +/** + * @public + */ +export interface GetBucketAclRequest { + /** + *

Specifies the S3 bucket whose ACL is being requested.

+ *

When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.

+ *

When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. + * If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError is returned. + * For more information about InvalidAccessPointAliasError, see List of + * Error Codes.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The + * operator must have at least two predicates in any combination, and an object must match all of the + * predicates for the filter to apply.

+ * @public + */ +export interface AnalyticsAndOperator { + /** + *

The prefix to use when evaluating an AND predicate: The prefix that an object must have to be + * included in the metrics results.

+ * @public + */ + Prefix?: string | undefined; + /** + *

The list of tags to use when evaluating an AND predicate.

+ * @public + */ + Tags?: Tag[] | undefined; +} +/** + *

The filter used to describe a set of objects for analyses. A filter must have exactly one prefix, + * one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, all objects will be + * considered in any analysis.

+ * @public + */ +export type AnalyticsFilter = AnalyticsFilter.AndMember | AnalyticsFilter.PrefixMember | AnalyticsFilter.TagMember | AnalyticsFilter.$UnknownMember; +/** + * @public + */ +export declare namespace AnalyticsFilter { + /** + *

The prefix to use when evaluating an analytics filter.

+ * @public + */ + interface PrefixMember { + Prefix: string; + Tag?: never; + And?: never; + $unknown?: never; + } + /** + *

The tag to use when evaluating an analytics filter.

+ * @public + */ + interface TagMember { + Prefix?: never; + Tag: Tag; + And?: never; + $unknown?: never; + } + /** + *

A conjunction (logical AND) of predicates, which is used in evaluating an analytics filter. The + * operator must have at least two predicates.

+ * @public + */ + interface AndMember { + Prefix?: never; + Tag?: never; + And: AnalyticsAndOperator; + $unknown?: never; + } + /** + * @public + */ + interface $UnknownMember { + Prefix?: never; + Tag?: never; + And?: never; + $unknown: [string, any]; + } + /** + * @deprecated unused in schema-serde mode. + * + */ + interface Visitor { + Prefix: (value: string) => T; + Tag: (value: Tag) => T; + And: (value: AnalyticsAndOperator) => T; + _: (name: string, value: any) => T; + } +} +/** + *

Contains information about where to publish the analytics results.

+ * @public + */ +export interface AnalyticsS3BucketDestination { + /** + *

Specifies the file format used when exporting data to Amazon S3.

+ * @public + */ + Format: AnalyticsS3ExportFileFormat | undefined; + /** + *

The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not + * validated before exporting data.

+ * + *

Although this value is optional, we strongly recommend that you set it to help prevent problems + * if the destination bucket ownership changes.

+ *
+ * @public + */ + BucketAccountId?: string | undefined; + /** + *

The Amazon Resource Name (ARN) of the bucket to which data is exported.

+ * @public + */ + Bucket: string | undefined; + /** + *

The prefix to use when exporting data. The prefix is prepended to all results.

+ * @public + */ + Prefix?: string | undefined; +} +/** + *

Where to publish the analytics results.

+ * @public + */ +export interface AnalyticsExportDestination { + /** + *

A destination signifying output to an S3 bucket.

+ * @public + */ + S3BucketDestination: AnalyticsS3BucketDestination | undefined; +} +/** + *

Container for data related to the storage class analysis for an Amazon S3 bucket for export.

+ * @public + */ +export interface StorageClassAnalysisDataExport { + /** + *

The version of the output schema to use when exporting data. Must be V_1.

+ * @public + */ + OutputSchemaVersion: StorageClassAnalysisSchemaVersion | undefined; + /** + *

The place to store the data for an analysis.

+ * @public + */ + Destination: AnalyticsExportDestination | undefined; +} +/** + *

Specifies data related to access patterns to be collected and made available to analyze the + * tradeoffs between different storage classes for an Amazon S3 bucket.

+ * @public + */ +export interface StorageClassAnalysis { + /** + *

Specifies how data related to the storage class analysis for an Amazon S3 bucket should be + * exported.

+ * @public + */ + DataExport?: StorageClassAnalysisDataExport | undefined; +} +/** + *

Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.

+ * @public + */ +export interface AnalyticsConfiguration { + /** + *

The ID that identifies the analytics configuration.

+ * @public + */ + Id: string | undefined; + /** + *

The filter used to describe a set of objects for analyses. A filter must have exactly one prefix, + * one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, all objects will be + * considered in any analysis.

+ * @public + */ + Filter?: AnalyticsFilter | undefined; + /** + *

Contains data related to access patterns to be collected and made available to analyze the + * tradeoffs between different storage classes.

+ * @public + */ + StorageClassAnalysis: StorageClassAnalysis | undefined; +} +/** + * @public + */ +export interface GetBucketAnalyticsConfigurationOutput { + /** + *

The configuration and any analyses for the analytics filter.

+ * @public + */ + AnalyticsConfiguration?: AnalyticsConfiguration | undefined; +} +/** + * @public + */ +export interface GetBucketAnalyticsConfigurationRequest { + /** + *

The name of the bucket from which an analytics configuration is retrieved.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The ID that identifies the analytics configuration.

+ * @public + */ + Id: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

Specifies a cross-origin access rule for an Amazon S3 bucket.

+ * @public + */ +export interface CORSRule { + /** + *

Unique identifier for the rule. The value cannot be longer than 255 characters.

+ * @public + */ + ID?: string | undefined; + /** + *

Headers that are specified in the Access-Control-Request-Headers header. These headers + * are allowed in a preflight OPTIONS request. In response to any preflight OPTIONS request, Amazon S3 returns + * any requested headers that are allowed.

+ * @public + */ + AllowedHeaders?: string[] | undefined; + /** + *

An HTTP method that you allow the origin to execute. Valid values are GET, + * PUT, HEAD, POST, and DELETE.

+ * @public + */ + AllowedMethods: string[] | undefined; + /** + *

One or more origins you want customers to be able to access the bucket from.

+ * @public + */ + AllowedOrigins: string[] | undefined; + /** + *

One or more headers in the response that you want customers to be able to access from their + * applications (for example, from a JavaScript XMLHttpRequest object).

+ * @public + */ + ExposeHeaders?: string[] | undefined; + /** + *

The time in seconds that your browser is to cache the preflight response for the specified + * resource.

+ * @public + */ + MaxAgeSeconds?: number | undefined; +} +/** + * @public + */ +export interface GetBucketCorsOutput { + /** + *

A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 + * rules to the configuration.

+ * @public + */ + CORSRules?: CORSRule[] | undefined; +} +/** + * @public + */ +export interface GetBucketCorsRequest { + /** + *

The bucket name for which to get the cors configuration.

+ *

When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.

+ *

When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. + * If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError is returned. + * For more information about InvalidAccessPointAliasError, see List of + * Error Codes.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

Describes the default server-side encryption to apply to new objects in the bucket. If a PUT Object + * request doesn't specify any server-side encryption, this default encryption will be applied. For more + * information, see PutBucketEncryption.

+ * + *
    + *
  • + *

    + * General purpose buckets - If you don't specify a customer managed key + * at configuration, Amazon S3 automatically creates an Amazon Web Services KMS key (aws/s3) in your Amazon Web Services + * account the first time that you add an object encrypted with SSE-KMS to a bucket. By default, Amazon S3 + * uses this KMS key for SSE-KMS.

    + *
  • + *
  • + *

    + * Directory buckets - + * Your SSE-KMS configuration can only support 1 customer managed key per directory bucket's lifetime. + * The Amazon Web Services managed key (aws/s3) isn't supported. + *

    + *
  • + *
  • + *

    + * Directory buckets - + * For directory buckets, there are only two supported options for server-side encryption: SSE-S3 and SSE-KMS.

    + *
  • + *
+ *
+ * @public + */ +export interface ServerSideEncryptionByDefault { + /** + *

Server-side encryption algorithm to use for the default encryption.

+ * + *

For directory buckets, there are only two supported values for server-side encryption: AES256 and aws:kms.

+ *
+ * @public + */ + SSEAlgorithm: ServerSideEncryption | undefined; + /** + *

Amazon Web Services Key Management Service (KMS) customer managed key ID to use for the default encryption.

+ * + *
    + *
  • + *

    + * General purpose buckets - This parameter is allowed if and + * only if SSEAlgorithm is set to aws:kms or + * aws:kms:dsse.

    + *
  • + *
  • + *

    + * Directory buckets - This parameter is allowed if and + * only if SSEAlgorithm is set to aws:kms.

    + *
  • + *
+ *
+ *

You can specify the key ID, key alias, or the Amazon Resource Name (ARN) of the KMS key.

+ *
    + *
  • + *

    Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab + *

    + *
  • + *
  • + *

    Key ARN: + * arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab + *

    + *
  • + *
  • + *

    Key Alias: alias/alias-name + *

    + *
  • + *
+ *

If you are using encryption with cross-account or Amazon Web Services service operations, you must use a fully + * qualified KMS key ARN. For more information, see Using + * encryption for cross-account operations.

+ * + *
    + *
  • + *

    + * General purpose buckets - If you're specifying a customer + * managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key + * alias instead, then KMS resolves the key within the requester’s account. This behavior can + * result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket + * owner. Also, if you use a key ID, you can run into a LogDestination undeliverable error when + * creating a VPC flow log.

    + *
  • + *
  • + *

    + * Directory buckets - + * When you specify an KMS customer managed key for encryption in your directory bucket, only use the key ID or key ARN. The key alias format of the KMS key isn't supported.

    + *
  • + *
+ *
+ * + *

Amazon S3 only supports symmetric encryption KMS keys. For more information, see Asymmetric keys in + * Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.

+ *
+ * @public + */ + KMSMasterKeyID?: string | undefined; +} +/** + *

A bucket-level setting for Amazon S3 general purpose buckets used to prevent the upload of new objects encrypted with the specified server-side encryption type. For example, blocking an encryption type will block PutObject, CopyObject, PostObject, multipart upload, and replication requests to the bucket for objects with the specified encryption type. However, you can continue to read and list any pre-existing objects already encrypted with the specified encryption type. For more information, see Blocking or unblocking SSE-C for a general purpose bucket.

+ *

This data type is used with the following actions:

+ * + *
+ *
Permissions
+ *
+ *

You must have the s3:PutEncryptionConfiguration permission to block or unblock an encryption type for a bucket.

+ *

You must have the s3:GetEncryptionConfiguration permission to view a bucket's encryption type.

+ *
+ *
+ * @public + */ +export interface BlockedEncryptionTypes { + /** + *

The object encryption type that you want to block or unblock for an Amazon S3 general purpose bucket.

+ * + *

Currently, this parameter only supports blocking or unblocking server side encryption with customer-provided keys (SSE-C). For more information about SSE-C, see Using server-side encryption with customer-provided keys (SSE-C).

+ *
+ * @public + */ + EncryptionType?: EncryptionType[] | undefined; +} +/** + *

Specifies the default server-side encryption configuration.

+ * + *
    + *
  • + *

    + * General purpose buckets - If you're specifying a customer + * managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key + * alias instead, then KMS resolves the key within the requester’s account. This behavior can + * result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket + * owner.

    + *
  • + *
  • + *

    + * Directory buckets - + * When you specify an KMS customer managed key for encryption in your directory bucket, only use the key ID or key ARN. The key alias format of the KMS key isn't supported.

    + *
  • + *
+ *
+ * @public + */ +export interface ServerSideEncryptionRule { + /** + *

Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object + * request doesn't specify any server-side encryption, this default encryption will be applied.

+ * @public + */ + ApplyServerSideEncryptionByDefault?: ServerSideEncryptionByDefault | undefined; + /** + *

Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) + * for new objects in the bucket. Existing objects are not affected. Setting the + * BucketKeyEnabled element to true causes Amazon S3 to use an S3 Bucket Key.

+ * + *
    + *
  • + *

    + * General purpose buckets - By default, S3 Bucket Key is not + * enabled. For more information, see Amazon S3 Bucket Keys in the + * Amazon S3 User Guide.

    + *
  • + *
  • + *

    + * Directory buckets - + * S3 Bucket Keys are always enabled for GET and PUT operations in a directory bucket and can’t be disabled. S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets + * to directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through CopyObject, UploadPartCopy, the Copy operation in Batch Operations, or + * the import jobs. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.

    + *
  • + *
+ *
+ * @public + */ + BucketKeyEnabled?: boolean | undefined; + /** + *

A bucket-level setting for Amazon S3 general purpose buckets used to prevent the upload of new objects encrypted with the specified server-side encryption type. For example, blocking an encryption type will block PutObject, CopyObject, PostObject, multipart upload, and replication requests to the bucket for objects with the specified encryption type. However, you can continue to read and list any pre-existing objects already encrypted with the specified encryption type. For more information, see Blocking or unblocking SSE-C for a general purpose bucket.

+ * + *

Currently, this parameter only supports blocking or unblocking server-side encryption with customer-provided keys (SSE-C). For more information about SSE-C, see Using server-side encryption with customer-provided keys (SSE-C).

+ *
+ * @public + */ + BlockedEncryptionTypes?: BlockedEncryptionTypes | undefined; +} +/** + *

Specifies the default server-side-encryption configuration.

+ * @public + */ +export interface ServerSideEncryptionConfiguration { + /** + *

Container for information about a particular server-side encryption configuration rule.

+ * @public + */ + Rules: ServerSideEncryptionRule[] | undefined; +} +/** + * @public + */ +export interface GetBucketEncryptionOutput { + /** + *

Specifies the default server-side-encryption configuration.

+ * @public + */ + ServerSideEncryptionConfiguration?: ServerSideEncryptionConfiguration | undefined; +} +/** + * @public + */ +export interface GetBucketEncryptionRequest { + /** + *

The name of the bucket from which the server-side encryption configuration is retrieved.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide + *

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * + *

For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code + * 501 Not Implemented.

+ *
+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

A container for specifying S3 Intelligent-Tiering filters. The filters determine the subset of + * objects to which the rule applies.

+ * @public + */ +export interface IntelligentTieringAndOperator { + /** + *

An object key name prefix that identifies the subset of objects to which the configuration + * applies.

+ * @public + */ + Prefix?: string | undefined; + /** + *

All of these tags must exist in the object's tag set in order for the configuration to apply.

+ * @public + */ + Tags?: Tag[] | undefined; +} +/** + *

The Filter is used to identify objects that the S3 Intelligent-Tiering configuration + * applies to.

+ * @public + */ +export interface IntelligentTieringFilter { + /** + *

An object key name prefix that identifies the subset of objects to which the rule applies.

+ * + *

Replacement must be made for object keys containing special characters (such as carriage returns) when using + * XML requests. For more information, see + * XML related object key constraints.

+ *
+ * @public + */ + Prefix?: string | undefined; + /** + *

A container of a key value name pair.

+ * @public + */ + Tag?: Tag | undefined; + /** + *

A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The + * operator must have at least two predicates, and an object must match all of the predicates in order for + * the filter to apply.

+ * @public + */ + And?: IntelligentTieringAndOperator | undefined; +} +/** + *

The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically + * moving data to the most cost-effective storage access tier, without additional operational + * overhead.

+ * @public + */ +export interface Tiering { + /** + *

The number of consecutive days of no access after which an object will be eligible to be + * transitioned to the corresponding tier. The minimum number of days specified for Archive Access tier + * must be at least 90 days and Deep Archive Access tier must be at least 180 days. The maximum can be up to + * 2 years (730 days).

+ * @public + */ + Days: number | undefined; + /** + *

S3 Intelligent-Tiering access tier. See Storage class for + * automatically optimizing frequently and infrequently accessed objects for a list of access + * tiers in the S3 Intelligent-Tiering storage class.

+ * @public + */ + AccessTier: IntelligentTieringAccessTier | undefined; +} +/** + *

Specifies the S3 Intelligent-Tiering configuration for an Amazon S3 bucket.

+ *

For information about the S3 Intelligent-Tiering storage class, see Storage class for + * automatically optimizing frequently and infrequently accessed objects.

+ * @public + */ +export interface IntelligentTieringConfiguration { + /** + *

The ID used to identify the S3 Intelligent-Tiering configuration.

+ * @public + */ + Id: string | undefined; + /** + *

Specifies a bucket filter. The configuration only includes objects that meet the filter's + * criteria.

+ * @public + */ + Filter?: IntelligentTieringFilter | undefined; + /** + *

Specifies the status of the configuration.

+ * @public + */ + Status: IntelligentTieringStatus | undefined; + /** + *

Specifies the S3 Intelligent-Tiering storage class tier of the configuration.

+ * @public + */ + Tierings: Tiering[] | undefined; +} +/** + * @public + */ +export interface GetBucketIntelligentTieringConfigurationOutput { + /** + *

Container for S3 Intelligent-Tiering configuration.

+ * @public + */ + IntelligentTieringConfiguration?: IntelligentTieringConfiguration | undefined; +} +/** + * @public + */ +export interface GetBucketIntelligentTieringConfigurationRequest { + /** + *

The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The ID used to identify the S3 Intelligent-Tiering configuration.

+ * @public + */ + Id: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

Specifies the use of SSE-KMS to encrypt delivered inventory reports.

+ * @public + */ +export interface SSEKMS { + /** + *

Specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key to use for encrypting + * inventory reports.

+ * @public + */ + KeyId: string | undefined; +} +/** + *

Specifies the use of SSE-S3 to encrypt delivered inventory reports.

+ * @public + */ +export interface SSES3 { +} +/** + *

Contains the type of server-side encryption used to encrypt the S3 Inventory results.

+ * @public + */ +export interface InventoryEncryption { + /** + *

Specifies the use of SSE-S3 to encrypt delivered inventory reports.

+ * @public + */ + SSES3?: SSES3 | undefined; + /** + *

Specifies the use of SSE-KMS to encrypt delivered inventory reports.

+ * @public + */ + SSEKMS?: SSEKMS | undefined; +} +/** + *

Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where + * S3 Inventory results are published.

+ * @public + */ +export interface InventoryS3BucketDestination { + /** + *

The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not + * validated before exporting data.

+ * + *

Although this value is optional, we strongly recommend that you set it to help prevent problems + * if the destination bucket ownership changes.

+ *
+ * @public + */ + AccountId?: string | undefined; + /** + *

The Amazon Resource Name (ARN) of the bucket where inventory results will be published.

+ * @public + */ + Bucket: string | undefined; + /** + *

Specifies the output format of the inventory results.

+ * @public + */ + Format: InventoryFormat | undefined; + /** + *

The prefix that is prepended to all inventory results.

+ * @public + */ + Prefix?: string | undefined; + /** + *

Contains the type of server-side encryption used to encrypt the inventory results.

+ * @public + */ + Encryption?: InventoryEncryption | undefined; +} +/** + *

Specifies the S3 Inventory configuration for an Amazon S3 bucket.

+ * @public + */ +export interface InventoryDestination { + /** + *

Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where + * inventory results are published.

+ * @public + */ + S3BucketDestination: InventoryS3BucketDestination | undefined; +} +/** + *

Specifies an S3 Inventory filter. The inventory only includes objects that meet the filter's + * criteria.

+ * @public + */ +export interface InventoryFilter { + /** + *

The prefix that an object must have to be included in the inventory results.

+ * @public + */ + Prefix: string | undefined; +} +/** + *

Specifies the schedule for generating S3 Inventory results.

+ * @public + */ +export interface InventorySchedule { + /** + *

Specifies how frequently inventory results are produced.

+ * @public + */ + Frequency: InventoryFrequency | undefined; +} +/** + *

Specifies the S3 Inventory configuration for an Amazon S3 bucket. For more information, see GET Bucket + * inventory in the Amazon S3 API Reference.

+ * @public + */ +export interface InventoryConfiguration { + /** + *

Contains information about where to publish the inventory results.

+ * @public + */ + Destination: InventoryDestination | undefined; + /** + *

Specifies whether the inventory is enabled or disabled. If set to True, an inventory + * list is generated. If set to False, no inventory list is generated.

+ * @public + */ + IsEnabled: boolean | undefined; + /** + *

Specifies an inventory filter. The inventory only includes objects that meet the filter's + * criteria.

+ * @public + */ + Filter?: InventoryFilter | undefined; + /** + *

The ID used to identify the inventory configuration.

+ * @public + */ + Id: string | undefined; + /** + *

Object versions to include in the inventory list. If set to All, the list includes all + * the object versions, which adds the version-related fields VersionId, + * IsLatest, and DeleteMarker to the list. If set to Current, the + * list does not contain these version-related fields.

+ * @public + */ + IncludedObjectVersions: InventoryIncludedObjectVersions | undefined; + /** + *

Contains the optional fields that are included in the inventory results.

+ * @public + */ + OptionalFields?: InventoryOptionalField[] | undefined; + /** + *

Specifies the schedule for generating inventory results.

+ * @public + */ + Schedule: InventorySchedule | undefined; +} +/** + * @public + */ +export interface GetBucketInventoryConfigurationOutput { + /** + *

Specifies the inventory configuration.

+ * @public + */ + InventoryConfiguration?: InventoryConfiguration | undefined; +} +/** + * @public + */ +export interface GetBucketInventoryConfigurationRequest { + /** + *

The name of the bucket containing the inventory configuration to retrieve.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The ID used to identify the inventory configuration.

+ * @public + */ + Id: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

Container for the expiration for the lifecycle of the object.

+ *

For more information see, Managing your storage lifecycle in + * the Amazon S3 User Guide.

+ * @public + */ +export interface LifecycleExpiration { + /** + *

Indicates at what date the object is to be moved or deleted. The date value must conform to the ISO + * 8601 format. The time is always midnight UTC.

+ * + *

This parameter applies to general purpose buckets only. It is not supported for directory bucket + * lifecycle configurations.

+ *
+ * @public + */ + Date?: Date | undefined; + /** + *

Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a + * non-zero positive integer.

+ * @public + */ + Days?: number | undefined; + /** + *

Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set to true, the + * delete marker will be expired; if set to false the policy takes no action. This cannot be specified with + * Days or Date in a Lifecycle Expiration Policy.

+ * + *

This parameter applies to general purpose buckets only. It is not supported for directory bucket + * lifecycle configurations.

+ *
+ * @public + */ + ExpiredObjectDeleteMarker?: boolean | undefined; +} +/** + *

This is used in a Lifecycle Rule Filter to apply a logical AND to two or more predicates. The + * Lifecycle Rule will apply to any object matching all of the predicates configured inside the And + * operator.

+ * @public + */ +export interface LifecycleRuleAndOperator { + /** + *

Prefix identifying one or more objects to which the rule applies.

+ * @public + */ + Prefix?: string | undefined; + /** + *

All of these tags must exist in the object's tag set in order for the rule to apply.

+ * @public + */ + Tags?: Tag[] | undefined; + /** + *

Minimum object size to which the rule applies.

+ * @public + */ + ObjectSizeGreaterThan?: number | undefined; + /** + *

Maximum object size to which the rule applies.

+ * @public + */ + ObjectSizeLessThan?: number | undefined; +} +/** + *

The Filter is used to identify objects that a Lifecycle Rule applies to. A + * Filter can have exactly one of Prefix, Tag, + * ObjectSizeGreaterThan, ObjectSizeLessThan, or And specified. If + * the Filter element is left empty, the Lifecycle Rule applies to all objects in the + * bucket.

+ * @public + */ +export interface LifecycleRuleFilter { + /** + *

Prefix identifying one or more objects to which the rule applies.

+ * + *

Replacement must be made for object keys containing special characters (such as carriage returns) when using + * XML requests. For more information, see + * XML related object key constraints.

+ *
+ * @public + */ + Prefix?: string | undefined; + /** + *

This tag must exist in the object's tag set in order for the rule to apply.

+ * + *

This parameter applies to general purpose buckets only. It is not supported for directory bucket + * lifecycle configurations.

+ *
+ * @public + */ + Tag?: Tag | undefined; + /** + *

Minimum object size to which the rule applies.

+ * @public + */ + ObjectSizeGreaterThan?: number | undefined; + /** + *

Maximum object size to which the rule applies.

+ * @public + */ + ObjectSizeLessThan?: number | undefined; + /** + *

This is used in a Lifecycle Rule Filter to apply a logical AND to two or more predicates. The + * Lifecycle Rule will apply to any object matching all of the predicates configured inside the And + * operator.

+ * @public + */ + And?: LifecycleRuleAndOperator | undefined; +} +/** + *

Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently deletes the + * noncurrent object versions. You set this lifecycle configuration action on a bucket that has versioning + * enabled (or suspended) to request that Amazon S3 delete noncurrent object versions at a specific period in + * the object's lifetime.

+ * + *

This parameter applies to general purpose buckets only. It is not supported for directory bucket + * lifecycle configurations.

+ *
+ * @public + */ +export interface NoncurrentVersionExpiration { + /** + *

Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. + * The value must be a non-zero positive integer. For information about the noncurrent days calculations, + * see How Amazon S3 Calculates + * When an Object Became Noncurrent in the Amazon S3 User Guide.

+ * + *

This parameter applies to general purpose buckets only. It is not supported for directory bucket + * lifecycle configurations.

+ *
+ * @public + */ + NoncurrentDays?: number | undefined; + /** + *

Specifies how many noncurrent versions Amazon S3 will retain. You can specify up to 100 noncurrent + * versions to retain. Amazon S3 will permanently delete any additional noncurrent versions beyond the specified + * number to retain. For more information about noncurrent versions, see Lifecycle configuration elements in + * the Amazon S3 User Guide.

+ * + *

This parameter applies to general purpose buckets only. It is not supported for directory bucket + * lifecycle configurations.

+ *
+ * @public + */ + NewerNoncurrentVersions?: number | undefined; +} +/** + *

Container for the transition rule that describes when noncurrent objects transition to the + * STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, + * GLACIER_IR, GLACIER, or DEEP_ARCHIVE storage class. If your + * bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 + * transition noncurrent object versions to the STANDARD_IA, ONEZONE_IA, + * INTELLIGENT_TIERING, GLACIER_IR, GLACIER, or + * DEEP_ARCHIVE storage class at a specific period in the object's lifetime.

+ * @public + */ +export interface NoncurrentVersionTransition { + /** + *

Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. + * For information about the noncurrent days calculations, see How Amazon S3 Calculates + * How Long an Object Has Been Noncurrent in the Amazon S3 User Guide.

+ * @public + */ + NoncurrentDays?: number | undefined; + /** + *

The class of storage used to store the object.

+ * @public + */ + StorageClass?: TransitionStorageClass | undefined; + /** + *

Specifies how many noncurrent versions Amazon S3 will retain in the same storage class before + * transitioning objects. You can specify up to 100 noncurrent versions to retain. Amazon S3 will transition any + * additional noncurrent versions beyond the specified number to retain. For more information about + * noncurrent versions, see Lifecycle configuration elements in + * the Amazon S3 User Guide.

+ * @public + */ + NewerNoncurrentVersions?: number | undefined; +} +/** + *

Specifies when an object transitions to a specified storage class. For more information about Amazon S3 + * lifecycle configuration rules, see Transitioning Objects Using + * Amazon S3 Lifecycle in the Amazon S3 User Guide.

+ * @public + */ +export interface Transition { + /** + *

Indicates when objects are transitioned to the specified storage class. The date value must be in + * ISO 8601 format. The time is always midnight UTC.

+ * @public + */ + Date?: Date | undefined; + /** + *

Indicates the number of days after creation when objects are transitioned to the specified storage + * class. If the specified storage class is INTELLIGENT_TIERING, GLACIER_IR, + * GLACIER, or DEEP_ARCHIVE, valid values are 0 or positive + * integers. If the specified storage class is STANDARD_IA or ONEZONE_IA, valid + * values are positive integers greater than 30. Be aware that some storage classes have a + * minimum storage duration and that you're charged for transitioning objects before their minimum storage + * duration. For more information, see Constraints and considerations for transitions in the Amazon S3 User + * Guide.

+ * @public + */ + Days?: number | undefined; + /** + *

The storage class to which you want the object to transition.

+ * @public + */ + StorageClass?: TransitionStorageClass | undefined; +} +/** + *

A lifecycle rule for individual objects in an Amazon S3 bucket.

+ *

For more information see, Managing your storage lifecycle in + * the Amazon S3 User Guide.

+ * @public + */ +export interface LifecycleRule { + /** + *

Specifies the expiration for the lifecycle of the object in the form of date, days and, whether the + * object has a delete marker.

+ * @public + */ + Expiration?: LifecycleExpiration | undefined; + /** + *

Unique identifier for the rule. The value cannot be longer than 255 characters.

+ * @public + */ + ID?: string | undefined; + /** + *

The general purpose bucket prefix that identifies one or more objects to which the rule applies. We recommend using Filter instead of Prefix for new PUTs. Previous configurations where a prefix is defined will continue to operate as before.

+ * + *

Replacement must be made for object keys containing special characters (such as carriage returns) when using + * XML requests. For more information, see + * XML related object key constraints.

+ *
+ * + * @deprecated deprecated. + * @public + */ + Prefix?: string | undefined; + /** + *

The Filter is used to identify objects that a Lifecycle Rule applies to. A + * Filter must have exactly one of Prefix, Tag, + * ObjectSizeGreaterThan, ObjectSizeLessThan, or And specified. + * Filter is required if the LifecycleRule does not contain a + * Prefix element.

+ *

For more information about Tag filters, see Adding filters to Lifecycle rules + * in the Amazon S3 User Guide.

+ * + *

+ * Tag filters are not supported for directory buckets.

+ *
+ * @public + */ + Filter?: LifecycleRuleFilter | undefined; + /** + *

If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not currently being + * applied.

+ * @public + */ + Status: ExpirationStatus | undefined; + /** + *

Specifies when an Amazon S3 object transitions to a specified storage class.

+ * + *

This parameter applies to general purpose buckets only. It is not supported for directory bucket + * lifecycle configurations.

+ *
+ * @public + */ + Transitions?: Transition[] | undefined; + /** + *

Specifies the transition rule for the lifecycle rule that describes when noncurrent objects + * transition to a specific storage class. If your bucket is versioning-enabled (or versioning is + * suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to a + * specific storage class at a set period in the object's lifetime.

+ * + *

This parameter applies to general purpose buckets only. It is not supported for directory bucket + * lifecycle configurations.

+ *
+ * @public + */ + NoncurrentVersionTransitions?: NoncurrentVersionTransition[] | undefined; + /** + *

Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently deletes the + * noncurrent object versions. You set this lifecycle configuration action on a bucket that has versioning + * enabled (or suspended) to request that Amazon S3 delete noncurrent object versions at a specific period in + * the object's lifetime.

+ * + *

This parameter applies to general purpose buckets only. It is not supported for directory bucket + * lifecycle configurations.

+ *
+ * @public + */ + NoncurrentVersionExpiration?: NoncurrentVersionExpiration | undefined; + /** + *

Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before + * permanently removing all parts of the upload. For more information, see Aborting + * Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration in the + * Amazon S3 User Guide.

+ * @public + */ + AbortIncompleteMultipartUpload?: AbortIncompleteMultipartUpload | undefined; +} +/** + * @public + */ +export interface GetBucketLifecycleConfigurationOutput { + /** + *

Container for a lifecycle rule.

+ * @public + */ + Rules?: LifecycleRule[] | undefined; + /** + *

Indicates which default minimum object size behavior is applied to the lifecycle + * configuration.

+ * + *

This parameter applies to general purpose buckets only. It isn't supported for directory bucket + * lifecycle configurations.

+ *
+ *
    + *
  • + *

    + * all_storage_classes_128K - Objects smaller than 128 KB will not transition to + * any storage class by default.

    + *
  • + *
  • + *

    + * varies_by_storage_class - Objects smaller than 128 KB will transition to Glacier + * Flexible Retrieval or Glacier Deep Archive storage classes. By default, all other storage classes + * will prevent transitions smaller than 128 KB.

    + *
  • + *
+ *

To customize the minimum object size for any transition you can add a filter that specifies a custom + * ObjectSizeGreaterThan or ObjectSizeLessThan in the body of your transition + * rule. Custom filters always take precedence over the default transition behavior.

+ * @public + */ + TransitionDefaultMinimumObjectSize?: TransitionDefaultMinimumObjectSize | undefined; +} +/** + * @public + */ +export interface GetBucketLifecycleConfigurationRequest { + /** + *

The name of the bucket for which to get the lifecycle information.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * + *

This parameter applies to general purpose buckets only. It is not supported for directory bucket + * lifecycle configurations.

+ *
+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface GetBucketLocationOutput { + /** + *

Specifies the Region where the bucket resides. For a list of all the Amazon S3 supported location + * constraints by Region, see Regions and Endpoints.

+ *

Buckets in Region us-east-1 have a LocationConstraint of null. Buckets + * with a LocationConstraint of EU reside in eu-west-1.

+ * @public + */ + LocationConstraint?: BucketLocationConstraint | undefined; +} +/** + * @public + */ +export interface GetBucketLocationRequest { + /** + *

The name of the bucket for which to get the location.

+ *

When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.

+ *

When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. + * If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError is returned. + * For more information about InvalidAccessPointAliasError, see List of + * Error Codes.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

Container for granting information.

+ *

Buckets that use the bucket owner enforced setting for Object Ownership don't support target grants. + * For more information, see Permissions server access log delivery in the Amazon S3 User Guide.

+ * @public + */ +export interface TargetGrant { + /** + *

Container for the person being granted permissions.

+ * @public + */ + Grantee?: Grantee | undefined; + /** + *

Logging permissions assigned to the grantee for the bucket.

+ * @public + */ + Permission?: BucketLogsPermission | undefined; +} +/** + *

Amazon S3 keys for log objects are partitioned in the following format:

+ *

+ * [DestinationPrefix][SourceAccountId]/[SourceRegion]/[SourceBucket]/[YYYY]/[MM]/[DD]/[YYYY]-[MM]-[DD]-[hh]-[mm]-[ss]-[UniqueString] + *

+ *

PartitionedPrefix defaults to EventTime delivery when server access logs are delivered.

+ * @public + */ +export interface PartitionedPrefix { + /** + *

Specifies the partition date source for the partitioned prefix. PartitionDateSource can + * be EventTime or DeliveryTime.

+ *

For DeliveryTime, the time in the log file names corresponds to the delivery time for + * the log files.

+ *

For EventTime, The logs delivered are for a specific day only. The year, month, and + * day correspond to the day on which the event occurred, and the hour, minutes and seconds are set to 00 + * in the key.

+ * @public + */ + PartitionDateSource?: PartitionDateSource | undefined; +} +/** + *

To use simple format for S3 keys for log objects, set SimplePrefix to an empty object.

+ *

+ * [DestinationPrefix][YYYY]-[MM]-[DD]-[hh]-[mm]-[ss]-[UniqueString] + *

+ * @public + */ +export interface SimplePrefix { +} +/** + *

Amazon S3 key format for log objects. Only one format, PartitionedPrefix or SimplePrefix, is + * allowed.

+ * @public + */ +export interface TargetObjectKeyFormat { + /** + *

To use the simple format for S3 keys for log objects. To specify SimplePrefix format, set + * SimplePrefix to \{\}.

+ * @public + */ + SimplePrefix?: SimplePrefix | undefined; + /** + *

Partitioned S3 key for log objects.

+ * @public + */ + PartitionedPrefix?: PartitionedPrefix | undefined; +} +/** + *

Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys for a + * bucket. For more information, see PUT Bucket logging in the + * Amazon S3 API Reference.

+ * @public + */ +export interface LoggingEnabled { + /** + *

Specifies the bucket where you want Amazon S3 to store server access logs. You can have your logs + * delivered to any bucket that you own, including the same bucket that is being logged. You can also + * configure multiple buckets to deliver their logs to the same target bucket. In this case, you should + * choose a different TargetPrefix for each source bucket so that the delivered log files can + * be distinguished by key.

+ * @public + */ + TargetBucket: string | undefined; + /** + *

Container for granting information.

+ *

Buckets that use the bucket owner enforced setting for Object Ownership don't support target grants. + * For more information, see Permissions for server access log delivery in the + * Amazon S3 User Guide.

+ * @public + */ + TargetGrants?: TargetGrant[] | undefined; + /** + *

A prefix for all log object keys. If you store log files from multiple Amazon S3 buckets in a single + * bucket, you can use a prefix to distinguish which log files came from which bucket.

+ * @public + */ + TargetPrefix: string | undefined; + /** + *

Amazon S3 key format for log objects.

+ * @public + */ + TargetObjectKeyFormat?: TargetObjectKeyFormat | undefined; +} +/** + * @public + */ +export interface GetBucketLoggingOutput { + /** + *

Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys for a + * bucket. For more information, see PUT Bucket logging in the + * Amazon S3 API Reference.

+ * @public + */ + LoggingEnabled?: LoggingEnabled | undefined; +} +/** + * @public + */ +export interface GetBucketLoggingRequest { + /** + *

The bucket name for which to get the logging information.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

+ * The destination information for the S3 Metadata configuration. + *

+ * @public + */ +export interface DestinationResult { + /** + *

+ * The type of the table bucket where the metadata configuration is stored. The aws + * value indicates an Amazon Web Services managed table bucket, and the customer value indicates a + * customer-managed table bucket. V2 metadata configurations are stored in Amazon Web Services managed table + * buckets, and V1 metadata configurations are stored in customer-managed table buckets. + *

+ * @public + */ + TableBucketType?: S3TablesBucketType | undefined; + /** + *

+ * The Amazon Resource Name (ARN) of the table bucket where the metadata configuration is stored. + *

+ * @public + */ + TableBucketArn?: string | undefined; + /** + *

+ * The namespace in the table bucket where the metadata tables for a metadata configuration are + * stored. + *

+ * @public + */ + TableNamespace?: string | undefined; +} +/** + *

If an S3 Metadata V1 CreateBucketMetadataTableConfiguration or V2 + * CreateBucketMetadataConfiguration request succeeds, but S3 Metadata was + * unable to create the table, this structure contains the error code and error message.

+ * + *

If you created your S3 Metadata configuration before July 15, 2025, we recommend that you delete + * and re-create your configuration by using CreateBucketMetadataConfiguration so that you can expire journal table records and create + * a live inventory table.

+ *
+ * @public + */ +export interface ErrorDetails { + /** + *

If the V1 CreateBucketMetadataTableConfiguration request succeeds, but S3 Metadata was + * unable to create the table, this structure contains the error code. The possible error codes and error + * messages are as follows:

+ *
    + *
  • + *

    + * AccessDeniedCreatingResources - You don't have sufficient permissions to create the + * required resources. Make sure that you have s3tables:CreateNamespace, + * s3tables:CreateTable, s3tables:GetTable and + * s3tables:PutTablePolicy permissions, and then try again. To create a new metadata + * table, you must delete the metadata configuration for this bucket, and then create a new metadata + * configuration.

    + *
  • + *
  • + *

    + * AccessDeniedWritingToTable - Unable to write to the metadata table because of + * missing resource permissions. To fix the resource policy, Amazon S3 needs to create a new metadata + * table. To create a new metadata table, you must delete the metadata configuration for this bucket, + * and then create a new metadata configuration.

    + *
  • + *
  • + *

    + * DestinationTableNotFound - The destination table doesn't exist. To create a new + * metadata table, you must delete the metadata configuration for this bucket, and then create a new + * metadata configuration.

    + *
  • + *
  • + *

    + * ServerInternalError - An internal error has occurred. To create a new metadata + * table, you must delete the metadata configuration for this bucket, and then create a new metadata + * configuration.

    + *
  • + *
  • + *

    + * TableAlreadyExists - The table that you specified already exists in the table + * bucket's namespace. Specify a different table name. To create a new metadata table, you must delete + * the metadata configuration for this bucket, and then create a new metadata configuration.

    + *
  • + *
  • + *

    + * TableBucketNotFound - The table bucket that you specified doesn't exist in this + * Amazon Web Services Region and account. Create or choose a different table bucket. To create a new metadata table, + * you must delete the metadata configuration for this bucket, and then create a new metadata + * configuration.

    + *
  • + *
+ *

If the V2 CreateBucketMetadataConfiguration request succeeds, but S3 Metadata was + * unable to create the table, this structure contains the error code. The possible error codes and error + * messages are as follows:

+ *
    + *
  • + *

    + * AccessDeniedCreatingResources - You don't have sufficient permissions to create + * the required resources. Make sure that you have s3tables:CreateTableBucket, + * s3tables:CreateNamespace, s3tables:CreateTable, + * s3tables:GetTable, s3tables:PutTablePolicy, + * kms:DescribeKey, and s3tables:PutTableEncryption permissions. + * Additionally, ensure that the KMS key used to encrypt the table still exists, is active and + * has a resource policy granting access to the S3 service principals + * 'maintenance.s3tables.amazonaws.com' and 'metadata.s3.amazonaws.com'. + * To create a new metadata table, you must delete the metadata configuration for this bucket, and + * then create a new metadata configuration.

    + *
  • + *
  • + *

    + * AccessDeniedWritingToTable - Unable to write to the metadata table because of + * missing resource permissions. To fix the resource policy, Amazon S3 needs to create a new metadata + * table. To create a new metadata table, you must delete the metadata configuration for this bucket, + * and then create a new metadata configuration.

    + *
  • + *
  • + *

    + * DestinationTableNotFound - The destination table doesn't exist. To create a new + * metadata table, you must delete the metadata configuration for this bucket, and then create a new + * metadata configuration.

    + *
  • + *
  • + *

    + * ServerInternalError - An internal error has occurred. To create a new metadata + * table, you must delete the metadata configuration for this bucket, and then create a new metadata + * configuration.

    + *
  • + *
  • + *

    + * JournalTableAlreadyExists - A journal table already exists in the Amazon Web Services managed table bucket's + * namespace. Delete the journal table, and then try again. To create a new metadata table, you must delete + * the metadata configuration for this bucket, and then create a new metadata configuration.

    + *
  • + *
  • + *

    + * InventoryTableAlreadyExists - An inventory table already exists in the Amazon Web Services managed table + * bucket's namespace. Delete the inventory table, and then try again. To create a new metadata table, you must delete + * the metadata configuration for this bucket, and then create a new metadata configuration.

    + *
  • + *
  • + *

    + * JournalTableNotAvailable - The journal table that the inventory table relies on + * has a FAILED status. An inventory table requires a journal table with an + * ACTIVE status. To create a new journal or inventory table, you must delete the metadata + * configuration for this bucket, along with any journal or inventory tables, and then create a new + * metadata configuration.

    + *
  • + *
  • + *

    + * NoSuchBucket - The specified general purpose bucket does not exist.

    + *
  • + *
+ * @public + */ + ErrorCode?: string | undefined; + /** + *

If the V1 CreateBucketMetadataTableConfiguration request succeeds, but S3 Metadata was + * unable to create the table, this structure contains the error message. The possible error codes and + * error messages are as follows:

+ *
    + *
  • + *

    + * AccessDeniedCreatingResources - You don't have sufficient permissions to create the + * required resources. Make sure that you have s3tables:CreateNamespace, + * s3tables:CreateTable, s3tables:GetTable and + * s3tables:PutTablePolicy permissions, and then try again. To create a new metadata + * table, you must delete the metadata configuration for this bucket, and then create a new metadata + * configuration.

    + *
  • + *
  • + *

    + * AccessDeniedWritingToTable - Unable to write to the metadata table because of + * missing resource permissions. To fix the resource policy, Amazon S3 needs to create a new metadata + * table. To create a new metadata table, you must delete the metadata configuration for this bucket, + * and then create a new metadata configuration.

    + *
  • + *
  • + *

    + * DestinationTableNotFound - The destination table doesn't exist. To create a new + * metadata table, you must delete the metadata configuration for this bucket, and then create a new + * metadata configuration.

    + *
  • + *
  • + *

    + * ServerInternalError - An internal error has occurred. To create a new metadata + * table, you must delete the metadata configuration for this bucket, and then create a new metadata + * configuration.

    + *
  • + *
  • + *

    + * TableAlreadyExists - The table that you specified already exists in the table + * bucket's namespace. Specify a different table name. To create a new metadata table, you must delete + * the metadata configuration for this bucket, and then create a new metadata configuration.

    + *
  • + *
  • + *

    + * TableBucketNotFound - The table bucket that you specified doesn't exist in this + * Amazon Web Services Region and account. Create or choose a different table bucket. To create a new metadata table, + * you must delete the metadata configuration for this bucket, and then create a new metadata + * configuration.

    + *
  • + *
+ *

If the V2 CreateBucketMetadataConfiguration request succeeds, but S3 Metadata was + * unable to create the table, this structure contains the error code. The possible error codes and error + * messages are as follows:

+ *
    + *
  • + *

    + * AccessDeniedCreatingResources - You don't have sufficient permissions to create + * the required resources. Make sure that you have s3tables:CreateTableBucket, + * s3tables:CreateNamespace, s3tables:CreateTable, + * s3tables:GetTable, s3tables:PutTablePolicy, + * kms:DescribeKey, and s3tables:PutTableEncryption permissions. + * Additionally, ensure that the KMS key used to encrypt the table still exists, is active and + * has a resource policy granting access to the S3 service principals + * 'maintenance.s3tables.amazonaws.com' and 'metadata.s3.amazonaws.com'. + * To create a new metadata table, you must delete the metadata configuration for this bucket, and + * then create a new metadata configuration.

    + *
  • + *
  • + *

    + * AccessDeniedWritingToTable - Unable to write to the metadata table because of + * missing resource permissions. To fix the resource policy, Amazon S3 needs to create a new metadata + * table. To create a new metadata table, you must delete the metadata configuration for this bucket, + * and then create a new metadata configuration.

    + *
  • + *
  • + *

    + * DestinationTableNotFound - The destination table doesn't exist. To create a new + * metadata table, you must delete the metadata configuration for this bucket, and then create a new + * metadata configuration.

    + *
  • + *
  • + *

    + * ServerInternalError - An internal error has occurred. To create a new metadata + * table, you must delete the metadata configuration for this bucket, and then create a new metadata + * configuration.

    + *
  • + *
  • + *

    + * JournalTableAlreadyExists - A journal table already exists in the Amazon Web Services managed table bucket's + * namespace. Delete the journal table, and then try again. To create a new metadata table, you must delete + * the metadata configuration for this bucket, and then create a new metadata configuration.

    + *
  • + *
  • + *

    + * InventoryTableAlreadyExists - An inventory table already exists in the Amazon Web Services managed table + * bucket's namespace. Delete the inventory table, and then try again. To create a new metadata table, you must delete + * the metadata configuration for this bucket, and then create a new metadata configuration.

    + *
  • + *
  • + *

    + * JournalTableNotAvailable - The journal table that the inventory table relies on + * has a FAILED status. An inventory table requires a journal table with an + * ACTIVE status. To create a new journal or inventory table, you must delete the metadata + * configuration for this bucket, along with any journal or inventory tables, and then create a new + * metadata configuration.

    + *
  • + *
  • + *

    + * NoSuchBucket - The specified general purpose bucket does not exist.

    + *
  • + *
+ * @public + */ + ErrorMessage?: string | undefined; +} +/** + *

+ * The inventory table configuration for an S3 Metadata configuration. + *

+ * @public + */ +export interface InventoryTableConfigurationResult { + /** + *

+ * The configuration state of the inventory table, indicating whether the inventory table is enabled + * or disabled. + *

+ * @public + */ + ConfigurationState: InventoryConfigurationState | undefined; + /** + *

The status of the inventory table. The status values are:

+ *
    + *
  • + *

    + * CREATING - The inventory table is in the process of being created in the specified + * Amazon Web Services managed table bucket.

    + *
  • + *
  • + *

    + * BACKFILLING - The inventory table is in the process of being backfilled. When + * you enable the inventory table for your metadata configuration, the table goes through a + * process known as backfilling, during which Amazon S3 scans your general purpose bucket to retrieve + * the initial metadata for all objects in the bucket. Depending on the number of objects in your + * bucket, this process can take several hours. When the backfilling process is finished, the + * status of your inventory table changes from BACKFILLING to ACTIVE. + * After backfilling is completed, updates to your objects are reflected in the inventory table + * within one hour.

    + *
  • + *
  • + *

    + * ACTIVE - The inventory table has been created successfully, and records are being + * delivered to the table.

    + *
  • + *
  • + *

    + * FAILED - Amazon S3 is unable to create the inventory table, or Amazon S3 is unable to deliver + * records.

    + *
  • + *
+ * @public + */ + TableStatus?: string | undefined; + /** + *

If an S3 Metadata V1 CreateBucketMetadataTableConfiguration or V2 + * CreateBucketMetadataConfiguration request succeeds, but S3 Metadata was + * unable to create the table, this structure contains the error code and error message.

+ * + *

If you created your S3 Metadata configuration before July 15, 2025, we recommend that you delete + * and re-create your configuration by using CreateBucketMetadataConfiguration so that you can expire journal table records and create + * a live inventory table.

+ *
+ * @public + */ + Error?: ErrorDetails | undefined; + /** + *

+ * The name of the inventory table. + *

+ * @public + */ + TableName?: string | undefined; + /** + *

+ * The Amazon Resource Name (ARN) for the inventory table. + *

+ * @public + */ + TableArn?: string | undefined; +} +/** + *

+ * The journal table configuration for the S3 Metadata configuration. + *

+ * @public + */ +export interface JournalTableConfigurationResult { + /** + *

The status of the journal table. The status values are:

+ *
    + *
  • + *

    + * CREATING - The journal table is in the process of being created in the specified + * table bucket.

    + *
  • + *
  • + *

    + * ACTIVE - The journal table has been created successfully, and records are being + * delivered to the table.

    + *
  • + *
  • + *

    + * FAILED - Amazon S3 is unable to create the journal table, or Amazon S3 is unable to deliver + * records.

    + *
  • + *
+ * @public + */ + TableStatus: string | undefined; + /** + *

If an S3 Metadata V1 CreateBucketMetadataTableConfiguration or V2 + * CreateBucketMetadataConfiguration request succeeds, but S3 Metadata was + * unable to create the table, this structure contains the error code and error message.

+ * + *

If you created your S3 Metadata configuration before July 15, 2025, we recommend that you delete + * and re-create your configuration by using CreateBucketMetadataConfiguration so that you can expire journal table records and create + * a live inventory table.

+ *
+ * @public + */ + Error?: ErrorDetails | undefined; + /** + *

+ * The name of the journal table. + *

+ * @public + */ + TableName: string | undefined; + /** + *

+ * The Amazon Resource Name (ARN) for the journal table. + *

+ * @public + */ + TableArn?: string | undefined; + /** + *

+ * The journal table record expiration settings for the journal table. + *

+ * @public + */ + RecordExpiration: RecordExpiration | undefined; +} +/** + *

+ * The S3 Metadata configuration for a general purpose bucket. + *

+ * @public + */ +export interface MetadataConfigurationResult { + /** + *

+ * The destination settings for a metadata configuration. + *

+ * @public + */ + DestinationResult: DestinationResult | undefined; + /** + *

+ * The journal table configuration for a metadata configuration. + *

+ * @public + */ + JournalTableConfigurationResult?: JournalTableConfigurationResult | undefined; + /** + *

+ * The inventory table configuration for a metadata configuration. + *

+ * @public + */ + InventoryTableConfigurationResult?: InventoryTableConfigurationResult | undefined; +} +/** + *

+ * The S3 Metadata configuration for a general purpose bucket. + *

+ * @public + */ +export interface GetBucketMetadataConfigurationResult { + /** + *

+ * The metadata configuration for a general purpose bucket. + *

+ * @public + */ + MetadataConfigurationResult: MetadataConfigurationResult | undefined; +} +/** + * @public + */ +export interface GetBucketMetadataConfigurationOutput { + /** + *

+ * The metadata configuration for the general purpose bucket. + *

+ * @public + */ + GetBucketMetadataConfigurationResult?: GetBucketMetadataConfigurationResult | undefined; +} +/** + * @public + */ +export interface GetBucketMetadataConfigurationRequest { + /** + *

+ * The general purpose bucket that corresponds to the metadata configuration that you want to + * retrieve. + *

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

+ * The expected owner of the general purpose bucket that you want to retrieve the metadata table + * configuration for. + *

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

The destination information for a V1 S3 Metadata configuration. The destination table bucket must + * be in the same Region and Amazon Web Services account as the general purpose bucket. The specified metadata table name + * must be unique within the aws_s3_metadata namespace in the destination table bucket. + *

+ * + *

If you created your S3 Metadata configuration before July 15, 2025, we recommend that you delete + * and re-create your configuration by using CreateBucketMetadataConfiguration so that you can expire journal table records and create + * a live inventory table.

+ *
+ * @public + */ +export interface S3TablesDestinationResult { + /** + *

The Amazon Resource Name (ARN) for the table bucket that's specified as the destination in the + * metadata table configuration. The destination table bucket must be in the same Region and Amazon Web Services account + * as the general purpose bucket.

+ * @public + */ + TableBucketArn: string | undefined; + /** + *

The name for the metadata table in your metadata table configuration. The specified metadata table + * name must be unique within the aws_s3_metadata namespace in the destination table bucket. + *

+ * @public + */ + TableName: string | undefined; + /** + *

The Amazon Resource Name (ARN) for the metadata table in the metadata table configuration. The + * specified metadata table name must be unique within the aws_s3_metadata namespace in the + * destination table bucket.

+ * @public + */ + TableArn: string | undefined; + /** + *

The table bucket namespace for the metadata table in your metadata table configuration. This value + * is always aws_s3_metadata.

+ * @public + */ + TableNamespace: string | undefined; +} +/** + *

The V1 S3 Metadata configuration for a general purpose bucket. The destination table bucket must be + * in the same Region and Amazon Web Services account as the general purpose bucket. The specified metadata table name + * must be unique within the aws_s3_metadata namespace in the destination table bucket. + *

+ * + *

If you created your S3 Metadata configuration before July 15, 2025, we recommend that you delete + * and re-create your configuration by using CreateBucketMetadataConfiguration so that you can expire journal table records and create + * a live inventory table.

+ *
+ * @public + */ +export interface MetadataTableConfigurationResult { + /** + *

The destination information for the metadata table configuration. The destination table bucket must + * be in the same Region and Amazon Web Services account as the general purpose bucket. The specified metadata table name + * must be unique within the aws_s3_metadata namespace in the destination table bucket. + *

+ * @public + */ + S3TablesDestinationResult: S3TablesDestinationResult | undefined; +} +/** + *

The V1 S3 Metadata configuration for a general purpose bucket.

+ * + *

If you created your S3 Metadata configuration before July 15, 2025, we recommend that you delete + * and re-create your configuration by using CreateBucketMetadataConfiguration so that you can expire journal table records and create + * a live inventory table.

+ *
+ * @public + */ +export interface GetBucketMetadataTableConfigurationResult { + /** + *

The V1 S3 Metadata configuration for a general purpose bucket.

+ * @public + */ + MetadataTableConfigurationResult: MetadataTableConfigurationResult | undefined; + /** + *

The status of the metadata table. The status values are:

+ *
    + *
  • + *

    + * CREATING - The metadata table is in the process of being created in the specified + * table bucket.

    + *
  • + *
  • + *

    + * ACTIVE - The metadata table has been created successfully, and records are being + * delivered to the table.

    + *
  • + *
  • + *

    + * FAILED - Amazon S3 is unable to create the metadata table, or Amazon S3 is unable to deliver + * records. See ErrorDetails for details.

    + *
  • + *
+ * @public + */ + Status: string | undefined; + /** + *

If the CreateBucketMetadataTableConfiguration request succeeds, but S3 Metadata was + * unable to create the table, this structure contains the error code and error message.

+ * @public + */ + Error?: ErrorDetails | undefined; +} +/** + * @public + */ +export interface GetBucketMetadataTableConfigurationOutput { + /** + *

The metadata table configuration for the general purpose bucket.

+ * @public + */ + GetBucketMetadataTableConfigurationResult?: GetBucketMetadataTableConfigurationResult | undefined; +} +/** + * @public + */ +export interface GetBucketMetadataTableConfigurationRequest { + /** + *

The general purpose bucket that corresponds to the metadata table configuration that you want to + * retrieve.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The expected owner of the general purpose bucket that you want to retrieve the metadata table + * configuration for.

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The + * operator must have at least two predicates, and an object must match all of the predicates in order for + * the filter to apply.

+ * @public + */ +export interface MetricsAndOperator { + /** + *

The prefix used when evaluating an AND predicate.

+ * @public + */ + Prefix?: string | undefined; + /** + *

The list of tags used when evaluating an AND predicate.

+ * + *

+ * Tag filters are not supported for directory buckets.

+ *
+ * @public + */ + Tags?: Tag[] | undefined; + /** + *

The access point ARN used when evaluating an AND predicate.

+ * @public + */ + AccessPointArn?: string | undefined; +} +/** + *

Specifies a metrics configuration filter. The metrics configuration only includes objects that meet + * the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction + * (MetricsAndOperator). For more information, see PutBucketMetricsConfiguration.

+ * @public + */ +export type MetricsFilter = MetricsFilter.AccessPointArnMember | MetricsFilter.AndMember | MetricsFilter.PrefixMember | MetricsFilter.TagMember | MetricsFilter.$UnknownMember; +/** + * @public + */ +export declare namespace MetricsFilter { + /** + *

The prefix used when evaluating a metrics filter.

+ * @public + */ + interface PrefixMember { + Prefix: string; + Tag?: never; + AccessPointArn?: never; + And?: never; + $unknown?: never; + } + /** + *

The tag used when evaluating a metrics filter.

+ * + *

+ * Tag filters are not supported for directory buckets.

+ *
+ * @public + */ + interface TagMember { + Prefix?: never; + Tag: Tag; + AccessPointArn?: never; + And?: never; + $unknown?: never; + } + /** + *

The access point ARN used when evaluating a metrics filter.

+ * @public + */ + interface AccessPointArnMember { + Prefix?: never; + Tag?: never; + AccessPointArn: string; + And?: never; + $unknown?: never; + } + /** + *

A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The + * operator must have at least two predicates, and an object must match all of the predicates in order for + * the filter to apply.

+ * @public + */ + interface AndMember { + Prefix?: never; + Tag?: never; + AccessPointArn?: never; + And: MetricsAndOperator; + $unknown?: never; + } + /** + * @public + */ + interface $UnknownMember { + Prefix?: never; + Tag?: never; + AccessPointArn?: never; + And?: never; + $unknown: [string, any]; + } + /** + * @deprecated unused in schema-serde mode. + * + */ + interface Visitor { + Prefix: (value: string) => T; + Tag: (value: Tag) => T; + AccessPointArn: (value: string) => T; + And: (value: MetricsAndOperator) => T; + _: (name: string, value: any) => T; + } +} +/** + *

Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics + * configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that + * this is a full replacement of the existing metrics configuration. If you don't include the elements you + * want to keep, they are erased. For more information, see PutBucketMetricsConfiguration.

+ * @public + */ +export interface MetricsConfiguration { + /** + *

The ID used to identify the metrics configuration. The ID has a 64 character limit and can only + * contain letters, numbers, periods, dashes, and underscores.

+ * @public + */ + Id: string | undefined; + /** + *

Specifies a metrics configuration filter. The metrics configuration will only include objects that + * meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a + * conjunction (MetricsAndOperator).

+ * + *

Metrics configurations for directory buckets do not support tag filters.

+ *
+ * @public + */ + Filter?: MetricsFilter | undefined; +} +/** + * @public + */ +export interface GetBucketMetricsConfigurationOutput { + /** + *

Specifies the metrics configuration.

+ * @public + */ + MetricsConfiguration?: MetricsConfiguration | undefined; +} +/** + * @public + */ +export interface GetBucketMetricsConfigurationRequest { + /** + *

The name of the bucket containing the metrics configuration to retrieve.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide + *

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The ID used to identify the metrics configuration. The ID has a 64 character limit and can only + * contain letters, numbers, periods, dashes, and underscores.

+ * @public + */ + Id: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * + *

For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code + * 501 Not Implemented.

+ *
+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface GetBucketNotificationConfigurationRequest { + /** + *

The name of the bucket for which to get the notification configuration.

+ *

When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.

+ *

When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. + * If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError is returned. + * For more information about InvalidAccessPointAliasError, see List of + * Error Codes.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

A container for specifying the configuration for Amazon EventBridge.

+ * @public + */ +export interface EventBridgeConfiguration { +} +/** + *

Specifies the Amazon S3 object key name to filter on. An object key name is the name assigned to an + * object in your Amazon S3 bucket. You specify whether to filter on the suffix or prefix of the object key + * name. A prefix is a specific string of characters at the beginning of an object key name, which you can + * use to organize objects. For example, you can start the key names of related objects with a prefix, such + * as 2023- or engineering/. Then, you can use FilterRule to find + * objects in a bucket with key names that have the same prefix. A suffix is similar to a prefix, but it is + * at the end of the object key name instead of at the beginning.

+ * @public + */ +export interface FilterRule { + /** + *

The object key name prefix or suffix identifying one or more objects to which the filtering rule + * applies. The maximum length is 1,024 characters. Overlapping prefixes and suffixes are not supported. + * For more information, see Configuring Event Notifications in the Amazon S3 User Guide.

+ * @public + */ + Name?: FilterRuleName | undefined; + /** + *

The value that the filter searches for in object key names.

+ * @public + */ + Value?: string | undefined; +} +/** + *

A container for object key name prefix and suffix filtering rules.

+ * @public + */ +export interface S3KeyFilter { + /** + *

A list of containers for the key-value pair that defines the criteria for the filter rule.

+ * @public + */ + FilterRules?: FilterRule[] | undefined; +} +/** + *

Specifies object key name filtering rules. For information about key name filtering, see Configuring + * event notifications using object key name filtering in the + * Amazon S3 User Guide.

+ * @public + */ +export interface NotificationConfigurationFilter { + /** + *

A container for object key name prefix and suffix filtering rules.

+ * @public + */ + Key?: S3KeyFilter | undefined; +} +/** + *

A container for specifying the configuration for Lambda notifications.

+ * @public + */ +export interface LambdaFunctionConfiguration { + /** + *

An optional unique identifier for configurations in a notification configuration. If you don't + * provide one, Amazon S3 will assign an ID.

+ * @public + */ + Id?: string | undefined; + /** + *

The Amazon Resource Name (ARN) of the Lambda function that Amazon S3 invokes when the specified event + * type occurs.

+ * @public + */ + LambdaFunctionArn: string | undefined; + /** + *

The Amazon S3 bucket event for which to invoke the Lambda function. For more information, see Supported Event Types in + * the Amazon S3 User Guide.

+ * @public + */ + Events: Event[] | undefined; + /** + *

Specifies object key name filtering rules. For information about key name filtering, see Configuring + * event notifications using object key name filtering in the + * Amazon S3 User Guide.

+ * @public + */ + Filter?: NotificationConfigurationFilter | undefined; +} +/** + *

Specifies the configuration for publishing messages to an Amazon Simple Queue Service (Amazon SQS) + * queue when Amazon S3 detects specified events.

+ * @public + */ +export interface QueueConfiguration { + /** + *

An optional unique identifier for configurations in a notification configuration. If you don't + * provide one, Amazon S3 will assign an ID.

+ * @public + */ + Id?: string | undefined; + /** + *

The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 publishes a message when it + * detects events of the specified type.

+ * @public + */ + QueueArn: string | undefined; + /** + *

A collection of bucket events for which to send notifications

+ * @public + */ + Events: Event[] | undefined; + /** + *

Specifies object key name filtering rules. For information about key name filtering, see Configuring + * event notifications using object key name filtering in the + * Amazon S3 User Guide.

+ * @public + */ + Filter?: NotificationConfigurationFilter | undefined; +} +/** + *

A container for specifying the configuration for publication of messages to an Amazon Simple + * Notification Service (Amazon SNS) topic when Amazon S3 detects specified events.

+ * @public + */ +export interface TopicConfiguration { + /** + *

An optional unique identifier for configurations in a notification configuration. If you don't + * provide one, Amazon S3 will assign an ID.

+ * @public + */ + Id?: string | undefined; + /** + *

The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a message when it + * detects events of the specified type.

+ * @public + */ + TopicArn: string | undefined; + /** + *

The Amazon S3 bucket event about which to send notifications. For more information, see Supported Event Types in + * the Amazon S3 User Guide.

+ * @public + */ + Events: Event[] | undefined; + /** + *

Specifies object key name filtering rules. For information about key name filtering, see Configuring + * event notifications using object key name filtering in the + * Amazon S3 User Guide.

+ * @public + */ + Filter?: NotificationConfigurationFilter | undefined; +} +/** + *

A container for specifying the notification configuration of the bucket. If this element is empty, + * notifications are turned off for the bucket.

+ * @public + */ +export interface NotificationConfiguration { + /** + *

The topic to which notifications are sent and the events for which notifications are + * generated.

+ * @public + */ + TopicConfigurations?: TopicConfiguration[] | undefined; + /** + *

The Amazon Simple Queue Service queues to publish messages to and the events for which to publish + * messages.

+ * @public + */ + QueueConfigurations?: QueueConfiguration[] | undefined; + /** + *

Describes the Lambda functions to invoke and the events for which to invoke them.

+ * @public + */ + LambdaFunctionConfigurations?: LambdaFunctionConfiguration[] | undefined; + /** + *

Enables delivery of events to Amazon EventBridge.

+ * @public + */ + EventBridgeConfiguration?: EventBridgeConfiguration | undefined; +} +/** + *

The container element for an ownership control rule.

+ * @public + */ +export interface OwnershipControlsRule { + /** + *

The container element for object ownership for a bucket's ownership controls.

+ *

+ * BucketOwnerPreferred - Objects uploaded to the bucket change ownership to the bucket + * owner if the objects are uploaded with the bucket-owner-full-control canned ACL.

+ *

+ * ObjectWriter - The uploading account will own the object if the object is uploaded with + * the bucket-owner-full-control canned ACL.

+ *

+ * BucketOwnerEnforced - Access control lists (ACLs) are disabled and no longer affect + * permissions. The bucket owner automatically owns and has full control over every object in the bucket. + * The bucket only accepts PUT requests that don't specify an ACL or specify bucket owner full control ACLs + * (such as the predefined bucket-owner-full-control canned ACL or a custom ACL in XML format + * that grants the same permissions).

+ *

By default, ObjectOwnership is set to BucketOwnerEnforced and ACLs are + * disabled. We recommend keeping ACLs disabled, except in uncommon use cases where you must control access + * for each object individually. For more information about S3 Object Ownership, see Controlling + * ownership of objects and disabling ACLs for your bucket in the + * Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets. Directory buckets use the bucket owner enforced setting for S3 Object Ownership.

+ *
+ * @public + */ + ObjectOwnership: ObjectOwnership | undefined; +} +/** + *

The container element for a bucket's ownership controls.

+ * @public + */ +export interface OwnershipControls { + /** + *

The container element for an ownership control rule.

+ * @public + */ + Rules: OwnershipControlsRule[] | undefined; +} +/** + * @public + */ +export interface GetBucketOwnershipControlsOutput { + /** + *

The OwnershipControls (BucketOwnerEnforced, BucketOwnerPreferred, or ObjectWriter) + * currently in effect for this Amazon S3 bucket.

+ * @public + */ + OwnershipControls?: OwnershipControls | undefined; +} +/** + * @public + */ +export interface GetBucketOwnershipControlsRequest { + /** + *

The name of the Amazon S3 bucket whose OwnershipControls you want to retrieve.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface GetBucketPolicyOutput { + /** + *

The bucket policy as a JSON document.

+ * @public + */ + Policy?: string | undefined; +} +/** + * @public + */ +export interface GetBucketPolicyRequest { + /** + *

The bucket name to get the bucket policy for.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide + *

+ *

+ * Access points - When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.

+ *

+ * Object Lambda access points - When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. + * If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError is returned. + * For more information about InvalidAccessPointAliasError, see List of + * Error Codes.

+ * + *

Object Lambda access points are not supported by directory buckets.

+ *
+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * + *

For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code + * 501 Not Implemented.

+ *
+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

The container element for a bucket's policy status.

+ * @public + */ +export interface PolicyStatus { + /** + *

The policy status for this bucket. TRUE indicates that this bucket is public. + * FALSE indicates that the bucket is not public.

+ * @public + */ + IsPublic?: boolean | undefined; +} +/** + * @public + */ +export interface GetBucketPolicyStatusOutput { + /** + *

The policy status for the specified bucket.

+ * @public + */ + PolicyStatus?: PolicyStatus | undefined; +} +/** + * @public + */ +export interface GetBucketPolicyStatusRequest { + /** + *

The name of the Amazon S3 bucket whose policy status you want to retrieve.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

Specifies whether Amazon S3 replicates delete markers. If you specify a Filter in your + * replication configuration, you must also include a DeleteMarkerReplication element. If your + * Filter includes a Tag element, the DeleteMarkerReplication + * Status must be set to Disabled, because Amazon S3 does not support replicating delete markers + * for tag-based rules. For an example configuration, see Basic Rule + * Configuration.

+ *

For more information about delete marker replication, see Basic Rule Configuration.

+ * + *

If you are using an earlier version of the replication configuration, Amazon S3 handles replication of + * delete markers differently. For more information, see Backward Compatibility.

+ *
+ * @public + */ +export interface DeleteMarkerReplication { + /** + *

Indicates whether to replicate delete markers.

+ * + *

Indicates whether to replicate delete markers.

+ *
+ * @public + */ + Status?: DeleteMarkerReplicationStatus | undefined; +} +/** + *

Specifies encryption-related information for an Amazon S3 bucket that is a destination for replicated + * objects.

+ * + *

If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key + * ARN. If you use a KMS key alias instead, then KMS resolves the key within the requester’s account. + * This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and + * not the bucket owner.

+ *
+ * @public + */ +export interface EncryptionConfiguration { + /** + *

Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web Services KMS key stored in Amazon Web Services Key + * Management Service (KMS) for the destination bucket. Amazon S3 uses this key to encrypt replica objects. Amazon S3 + * only supports symmetric encryption KMS keys. For more information, see Asymmetric keys in Amazon Web Services KMS in the + * Amazon Web Services Key Management Service Developer Guide.

+ * @public + */ + ReplicaKmsKeyID?: string | undefined; +} +/** + *

A container specifying the time value for S3 Replication Time Control (S3 RTC) and replication metrics + * EventThreshold.

+ * @public + */ +export interface ReplicationTimeValue { + /** + *

Contains an integer specifying time in minutes.

+ *

Valid value: 15

+ * @public + */ + Minutes?: number | undefined; +} +/** + *

A container specifying replication metrics-related settings enabling replication metrics and + * events.

+ * @public + */ +export interface Metrics { + /** + *

Specifies whether the replication metrics are enabled.

+ * @public + */ + Status: MetricsStatus | undefined; + /** + *

A container specifying the time threshold for emitting the + * s3:Replication:OperationMissedThreshold event.

+ * @public + */ + EventThreshold?: ReplicationTimeValue | undefined; +} +/** + *

A container specifying S3 Replication Time Control (S3 RTC) related information, including whether S3 RTC is enabled and + * the time when all objects and operations on objects must be replicated. Must be specified together with + * a Metrics block.

+ * @public + */ +export interface ReplicationTime { + /** + *

Specifies whether the replication time is enabled.

+ * @public + */ + Status: ReplicationTimeStatus | undefined; + /** + *

A container specifying the time by which replication should be complete for all objects and + * operations on objects.

+ * @public + */ + Time: ReplicationTimeValue | undefined; +} +/** + *

Specifies information about where to publish analysis or configuration results for an Amazon S3 bucket + * and S3 Replication Time Control (S3 RTC).

+ * @public + */ +export interface Destination { + /** + *

The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results.

+ * @public + */ + Bucket: string | undefined; + /** + *

Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 to change + * replica ownership to the Amazon Web Services account that owns the destination bucket by specifying the + * AccessControlTranslation property, this is the account ID of the destination bucket + * owner. For more information, see Replication Additional Configuration: Changing + * the Replica Owner in the Amazon S3 User Guide.

+ * @public + */ + Account?: string | undefined; + /** + *

The storage class to use when replicating objects, such as S3 Standard or reduced redundancy. By + * default, Amazon S3 uses the storage class of the source object to create the object replica.

+ *

For valid values, see the StorageClass element of the PUT Bucket replication action in the + * Amazon S3 API Reference.

+ *

+ * FSX_OPENZFS is not an accepted value when replicating objects.

+ * @public + */ + StorageClass?: StorageClass | undefined; + /** + *

Specify this only in a cross-account scenario (where source and destination bucket owners are not + * the same), and you want to change replica ownership to the Amazon Web Services account that owns the destination + * bucket. If this is not specified in the replication configuration, the replicas are owned by same + * Amazon Web Services account that owns the source object.

+ * @public + */ + AccessControlTranslation?: AccessControlTranslation | undefined; + /** + *

A container that provides information about encryption. If SourceSelectionCriteria is + * specified, you must specify this element.

+ * @public + */ + EncryptionConfiguration?: EncryptionConfiguration | undefined; + /** + *

A container specifying S3 Replication Time Control (S3 RTC), including whether S3 RTC is enabled and the time when all + * objects and operations on objects must be replicated. Must be specified together with a + * Metrics block.

+ * @public + */ + ReplicationTime?: ReplicationTime | undefined; + /** + *

A container specifying replication metrics-related settings enabling replication metrics and + * events.

+ * @public + */ + Metrics?: Metrics | undefined; +} +/** + *

Optional configuration to replicate existing source bucket objects.

+ * + *

This parameter is no longer supported. To replicate existing objects, see Replicating + * existing objects with S3 Batch Replication in the + * Amazon S3 User Guide.

+ *
+ * @public + */ +export interface ExistingObjectReplication { + /** + *

Specifies whether Amazon S3 replicates existing source bucket objects.

+ * @public + */ + Status: ExistingObjectReplicationStatus | undefined; +} +/** + *

A container for specifying rule filters. The filters determine the subset of objects to which the + * rule applies. This element is required only if you specify more than one filter.

+ *

For example:

+ *
    + *
  • + *

    If you specify both a Prefix and a Tag filter, wrap these filters in + * an And tag.

    + *
  • + *
  • + *

    If you specify a filter based on multiple tags, wrap the Tag elements in an + * And tag.

    + *
  • + *
+ * @public + */ +export interface ReplicationRuleAndOperator { + /** + *

An object key name prefix that identifies the subset of objects to which the rule applies.

+ * @public + */ + Prefix?: string | undefined; + /** + *

An array of tags containing key and value pairs.

+ * @public + */ + Tags?: Tag[] | undefined; +} +/** + *

A filter that identifies the subset of objects to which the replication rule applies. A + * Filter must specify exactly one Prefix, Tag, or an + * And child element.

+ * @public + */ +export interface ReplicationRuleFilter { + /** + *

An object key name prefix that identifies the subset of objects to which the rule applies.

+ * + *

Replacement must be made for object keys containing special characters (such as carriage returns) when using + * XML requests. For more information, see + * XML related object key constraints.

+ *
+ * @public + */ + Prefix?: string | undefined; + /** + *

A container for specifying a tag key and value.

+ *

The rule applies only to objects that have the tag in their tag set.

+ * @public + */ + Tag?: Tag | undefined; + /** + *

A container for specifying rule filters. The filters determine the subset of objects to which the + * rule applies. This element is required only if you specify more than one filter. For example:

+ *
    + *
  • + *

    If you specify both a Prefix and a Tag filter, wrap these filters in + * an And tag.

    + *
  • + *
  • + *

    If you specify a filter based on multiple tags, wrap the Tag elements in an + * And tag.

    + *
  • + *
+ * @public + */ + And?: ReplicationRuleAndOperator | undefined; +} +/** + *

A filter that you can specify for selection for modifications on replicas. Amazon S3 doesn't replicate + * replica modifications by default. In the latest version of replication configuration (when + * Filter is specified), you can specify this element and set the status to + * Enabled to replicate modifications on replicas.

+ * + *

If you don't specify the Filter element, Amazon S3 assumes that the replication + * configuration is the earlier version, V1. In the earlier version, this element is not allowed.

+ *
+ * @public + */ +export interface ReplicaModifications { + /** + *

Specifies whether Amazon S3 replicates modifications on replicas.

+ * @public + */ + Status: ReplicaModificationsStatus | undefined; +} +/** + *

A container for filter information for the selection of S3 objects encrypted with Amazon Web Services KMS.

+ * @public + */ +export interface SseKmsEncryptedObjects { + /** + *

Specifies whether Amazon S3 replicates objects created with server-side encryption using an Amazon Web Services KMS key + * stored in Amazon Web Services Key Management Service.

+ * @public + */ + Status: SseKmsEncryptedObjectsStatus | undefined; +} +/** + *

A container that describes additional filters for identifying the source objects that you want to + * replicate. You can choose to enable or disable the replication of these objects. Currently, Amazon S3 + * supports only the filter that you can specify for objects created with server-side encryption using a + * customer managed key stored in Amazon Web Services Key Management Service (SSE-KMS).

+ * @public + */ +export interface SourceSelectionCriteria { + /** + *

A container for filter information for the selection of Amazon S3 objects encrypted with Amazon Web Services KMS. If + * you include SourceSelectionCriteria in the replication configuration, this element is + * required.

+ * @public + */ + SseKmsEncryptedObjects?: SseKmsEncryptedObjects | undefined; + /** + *

A filter that you can specify for selections for modifications on replicas. Amazon S3 doesn't replicate + * replica modifications by default. In the latest version of replication configuration (when + * Filter is specified), you can specify this element and set the status to + * Enabled to replicate modifications on replicas.

+ * + *

If you don't specify the Filter element, Amazon S3 assumes that the replication + * configuration is the earlier version, V1. In the earlier version, this element is not allowed

+ *
+ * @public + */ + ReplicaModifications?: ReplicaModifications | undefined; +} +/** + *

Specifies which Amazon S3 objects to replicate and where to store the replicas.

+ * @public + */ +export interface ReplicationRule { + /** + *

A unique identifier for the rule. The maximum value is 255 characters.

+ * @public + */ + ID?: string | undefined; + /** + *

The priority indicates which rule has precedence whenever two or more replication rules conflict. + * Amazon S3 will attempt to replicate objects according to all replication rules. However, if there are two or + * more rules with the same destination bucket, then objects will be replicated according to the rule with + * the highest priority. The higher the number, the higher the priority.

+ *

For more information, see Replication in the Amazon S3 User Guide.

+ * @public + */ + Priority?: number | undefined; + /** + *

An object key name prefix that identifies the object or objects to which the rule applies. The + * maximum prefix length is 1,024 characters. To include all objects in a bucket, specify an empty string. + *

+ * + *

Replacement must be made for object keys containing special characters (such as carriage returns) when using + * XML requests. For more information, see + * XML related object key constraints.

+ *
+ * + * @deprecated deprecated. + * @public + */ + Prefix?: string | undefined; + /** + *

A filter that identifies the subset of objects to which the replication rule applies. A + * Filter must specify exactly one Prefix, Tag, or an + * And child element.

+ * @public + */ + Filter?: ReplicationRuleFilter | undefined; + /** + *

Specifies whether the rule is enabled.

+ * @public + */ + Status: ReplicationRuleStatus | undefined; + /** + *

A container that describes additional filters for identifying the source objects that you want to + * replicate. You can choose to enable or disable the replication of these objects. Currently, Amazon S3 + * supports only the filter that you can specify for objects created with server-side encryption using a + * customer managed key stored in Amazon Web Services Key Management Service (SSE-KMS).

+ * @public + */ + SourceSelectionCriteria?: SourceSelectionCriteria | undefined; + /** + *

Optional configuration to replicate existing source bucket objects.

+ * + *

This parameter is no longer supported. To replicate existing objects, see Replicating + * existing objects with S3 Batch Replication in the + * Amazon S3 User Guide.

+ *
+ * @public + */ + ExistingObjectReplication?: ExistingObjectReplication | undefined; + /** + *

A container for information about the replication destination and its configurations including + * enabling the S3 Replication Time Control (S3 RTC).

+ * @public + */ + Destination: Destination | undefined; + /** + *

Specifies whether Amazon S3 replicates delete markers. If you specify a Filter in your + * replication configuration, you must also include a DeleteMarkerReplication element. If your + * Filter includes a Tag element, the DeleteMarkerReplication + * Status must be set to Disabled, because Amazon S3 does not support replicating delete markers + * for tag-based rules. For an example configuration, see Basic Rule + * Configuration.

+ *

For more information about delete marker replication, see Basic Rule Configuration.

+ * + *

If you are using an earlier version of the replication configuration, Amazon S3 handles replication of + * delete markers differently. For more information, see Backward Compatibility.

+ *
+ * @public + */ + DeleteMarkerReplication?: DeleteMarkerReplication | undefined; +} +/** + *

A container for replication rules. You can add up to 1,000 rules. The maximum size of a replication + * configuration is 2 MB.

+ * @public + */ +export interface ReplicationConfiguration { + /** + *

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that Amazon S3 assumes when replicating + * objects. For more information, see How to Set Up Replication in the + * Amazon S3 User Guide.

+ * @public + */ + Role: string | undefined; + /** + *

A container for one or more replication rules. A replication configuration must have at least one + * rule and can contain a maximum of 1,000 rules.

+ * @public + */ + Rules: ReplicationRule[] | undefined; +} +/** + * @public + */ +export interface GetBucketReplicationOutput { + /** + *

A container for replication rules. You can add up to 1,000 rules. The maximum size of a replication + * configuration is 2 MB.

+ * @public + */ + ReplicationConfiguration?: ReplicationConfiguration | undefined; +} +/** + * @public + */ +export interface GetBucketReplicationRequest { + /** + *

The bucket name for which to get the replication information.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface GetBucketRequestPaymentOutput { + /** + *

Specifies who pays for the download and request fees.

+ * @public + */ + Payer?: Payer | undefined; +} +/** + * @public + */ +export interface GetBucketRequestPaymentRequest { + /** + *

The name of the bucket for which to get the payment request configuration

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface GetBucketTaggingOutput { + /** + *

Contains the tag set.

+ * @public + */ + TagSet: Tag[] | undefined; +} +/** + * @public + */ +export interface GetBucketTaggingRequest { + /** + *

The name of the bucket for which to get the tagging information.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface GetBucketVersioningOutput { + /** + *

The versioning state of the bucket.

+ * @public + */ + Status?: BucketVersioningStatus | undefined; + /** + *

Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only + * returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, + * this element is not returned.

+ * @public + */ + MFADelete?: MFADeleteStatus | undefined; +} +/** + * @public + */ +export interface GetBucketVersioningRequest { + /** + *

The name of the bucket for which to get the versioning information.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

The error information.

+ * @public + */ +export interface ErrorDocument { + /** + *

The object key name to use when a 4XX class error occurs.

+ * + *

Replacement must be made for object keys containing special characters (such as carriage returns) when using + * XML requests. For more information, see + * XML related object key constraints.

+ *
+ * @public + */ + Key: string | undefined; +} +/** + *

Container for the Suffix element.

+ * @public + */ +export interface IndexDocument { + /** + *

A suffix that is appended to a request that is for a directory on the website endpoint. (For + * example, if the suffix is index.html and you make a request to + * samplebucket/images/, the data that is returned will be for the object with the key name + * images/index.html.) The suffix must not be empty and must not include a slash + * character.

+ * + *

Replacement must be made for object keys containing special characters (such as carriage returns) when using + * XML requests. For more information, see + * XML related object key constraints.

+ *
+ * @public + */ + Suffix: string | undefined; +} +/** + *

Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.

+ * @public + */ +export interface RedirectAllRequestsTo { + /** + *

Name of the host where requests are redirected.

+ * @public + */ + HostName: string | undefined; + /** + *

Protocol to use when redirecting requests. The default is the protocol that is used in the original + * request.

+ * @public + */ + Protocol?: Protocol | undefined; +} +/** + *

A container for describing a condition that must be met for the specified redirect to apply. For + * example, 1. If request is for pages in the /docs folder, redirect to the + * /documents folder. 2. If request results in HTTP error 4xx, redirect request to another + * host where you might process the error.

+ * @public + */ +export interface Condition { + /** + *

The HTTP error code when the redirect is applied. In the event of an error, if the error code equals + * this value, then the specified redirect is applied. Required when parent element Condition + * is specified and sibling KeyPrefixEquals is not specified. If both are specified, then both + * must be true for the redirect to be applied.

+ * @public + */ + HttpErrorCodeReturnedEquals?: string | undefined; + /** + *

The object key name prefix when the redirect is applied. For example, to redirect requests for + * ExamplePage.html, the key prefix will be ExamplePage.html. To redirect + * request for all pages with the prefix docs/, the key prefix will be /docs, + * which identifies all objects in the docs/ folder. Required when the parent element + * Condition is specified and sibling HttpErrorCodeReturnedEquals is not + * specified. If both conditions are specified, both must be true for the redirect to be applied.

+ * + *

Replacement must be made for object keys containing special characters (such as carriage returns) when using + * XML requests. For more information, see + * XML related object key constraints.

+ *
+ * @public + */ + KeyPrefixEquals?: string | undefined; +} +/** + *

Specifies how requests are redirected. In the event of an error, you can specify a different error + * code to return.

+ * @public + */ +export interface Redirect { + /** + *

The host name to use in the redirect request.

+ * @public + */ + HostName?: string | undefined; + /** + *

The HTTP redirect code to use on the response. Not required if one of the siblings is + * present.

+ * @public + */ + HttpRedirectCode?: string | undefined; + /** + *

Protocol to use when redirecting requests. The default is the protocol that is used in the original + * request.

+ * @public + */ + Protocol?: Protocol | undefined; + /** + *

The object key prefix to use in the redirect request. For example, to redirect requests for all + * pages with prefix docs/ (objects in the docs/ folder) to + * documents/, you can set a condition block with KeyPrefixEquals set to + * docs/ and in the Redirect set ReplaceKeyPrefixWith to + * /documents. Not required if one of the siblings is present. Can be present only if + * ReplaceKeyWith is not provided.

+ * + *

Replacement must be made for object keys containing special characters (such as carriage returns) when using + * XML requests. For more information, see + * XML related object key constraints.

+ *
+ * @public + */ + ReplaceKeyPrefixWith?: string | undefined; + /** + *

The specific object key to use in the redirect request. For example, redirect request to + * error.html. Not required if one of the siblings is present. Can be present only if + * ReplaceKeyPrefixWith is not provided.

+ * + *

Replacement must be made for object keys containing special characters (such as carriage returns) when using + * XML requests. For more information, see + * XML related object key constraints.

+ *
+ * @public + */ + ReplaceKeyWith?: string | undefined; +} +/** + *

Specifies the redirect behavior and when a redirect is applied. For more information about routing + * rules, see Configuring + * advanced conditional redirects in the Amazon S3 User Guide.

+ * @public + */ +export interface RoutingRule { + /** + *

A container for describing a condition that must be met for the specified redirect to apply. For + * example, 1. If request is for pages in the /docs folder, redirect to the + * /documents folder. 2. If request results in HTTP error 4xx, redirect request to another + * host where you might process the error.

+ * @public + */ + Condition?: Condition | undefined; + /** + *

Container for redirect information. You can redirect requests to another host, to another page, or + * with another protocol. In the event of an error, you can specify a different error code to + * return.

+ * @public + */ + Redirect: Redirect | undefined; +} +/** + * @public + */ +export interface GetBucketWebsiteOutput { + /** + *

Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.

+ * @public + */ + RedirectAllRequestsTo?: RedirectAllRequestsTo | undefined; + /** + *

The name of the index document for the website (for example index.html).

+ * @public + */ + IndexDocument?: IndexDocument | undefined; + /** + *

The object key name of the website error document to use for 4XX class errors.

+ * @public + */ + ErrorDocument?: ErrorDocument | undefined; + /** + *

Rules that define when a redirect is applied and the redirect behavior.

+ * @public + */ + RoutingRules?: RoutingRule[] | undefined; +} +/** + * @public + */ +export interface GetBucketWebsiteRequest { + /** + *

The bucket name for which to get the website configuration.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface GetObjectOutput { + /** + *

Object data.

+ * @public + */ + Body?: StreamingBlobTypes | undefined; + /** + *

Indicates whether the object retrieved was (true) or was not (false) a Delete Marker. If false, this + * response header does not appear in the response.

+ * + *
    + *
  • + *

    If the current version of the object is a delete marker, Amazon S3 behaves as if the object was + * deleted and includes x-amz-delete-marker: true in the response.

    + *
  • + *
  • + *

    If the specified version in the request is a delete marker, the response returns a 405 + * Method Not Allowed error and the Last-Modified: timestamp response + * header.

    + *
  • + *
+ *
+ * @public + */ + DeleteMarker?: boolean | undefined; + /** + *

Indicates that a range of bytes was specified in the request.

+ * @public + */ + AcceptRanges?: string | undefined; + /** + *

If the object expiration is configured (see + * PutBucketLifecycleConfiguration + * ), the response includes this header. It + * includes the expiry-date and rule-id key-value pairs providing object + * expiration information. The value of the rule-id is URL-encoded.

+ * + *

Object expiration information is not returned in directory buckets and this header returns the + * value "NotImplemented" in all responses for directory buckets.

+ *
+ * @public + */ + Expiration?: string | undefined; + /** + *

Provides information about object restoration action and expiration time of the restored object + * copy.

+ * + *

This functionality is not supported for directory buckets. Directory buckets only support EXPRESS_ONEZONE (the S3 Express One Zone storage class) in Availability Zones and ONEZONE_IA (the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones.

+ *
+ * @public + */ + Restore?: string | undefined; + /** + *

Date and time when the object was last modified.

+ *

+ * General purpose buckets - When you specify a + * versionId of the object in your request, if the specified version in the request is a + * delete marker, the response returns a 405 Method Not Allowed error and the + * Last-Modified: timestamp response header.

+ * @public + */ + LastModified?: Date | undefined; + /** + *

Size of the body in bytes.

+ * @public + */ + ContentLength?: number | undefined; + /** + *

An entity tag (ETag) is an opaque identifier assigned by a web server to a specific version of a + * resource found at a URL.

+ * @public + */ + ETag?: string | undefined; + /** + *

The Base64 encoded, 32-bit CRC32 checksum of the object. This checksum is only present if the object was uploaded + * with the object. For more information, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32?: string | undefined; + /** + *

The Base64 encoded, 32-bit CRC32C checksum of the object. This checksum is only present if the checksum was uploaded + * with the object. For more information, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32C?: string | undefined; + /** + *

The Base64 encoded, 64-bit CRC64NVME checksum of the object. For more information, see + * Checking + * object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC64NVME?: string | undefined; + /** + *

The Base64 encoded, 160-bit SHA1 digest of the object. This checksum is only present if the checksum was uploaded + * with the object. For more information, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA1?: string | undefined; + /** + *

The Base64 encoded, 256-bit SHA256 digest of the object. This checksum is only present if the checksum was uploaded + * with the object. For more information, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA256?: string | undefined; + /** + *

The checksum type, which determines how part-level checksums are combined to create an object-level + * checksum for multipart objects. You can use this header response to verify that the checksum type that + * is received is the same checksum type that was specified in the CreateMultipartUpload + * request. For more information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumType?: ChecksumType | undefined; + /** + *

This is set to the number of metadata entries not returned in the headers that are prefixed with + * x-amz-meta-. This can happen if you create metadata using an API like SOAP that supports + * more flexible metadata than the REST API. For example, using SOAP, you can create metadata whose values + * are not legal HTTP headers.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + MissingMeta?: number | undefined; + /** + *

Version ID of the object.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + VersionId?: string | undefined; + /** + *

Specifies caching behavior along the request/reply chain.

+ * @public + */ + CacheControl?: string | undefined; + /** + *

Specifies presentational information for the object.

+ * @public + */ + ContentDisposition?: string | undefined; + /** + *

Indicates what content encodings have been applied to the object and thus what decoding mechanisms + * must be applied to obtain the media-type referenced by the Content-Type header field.

+ * @public + */ + ContentEncoding?: string | undefined; + /** + *

The language the content is in.

+ * @public + */ + ContentLanguage?: string | undefined; + /** + *

The portion of the object returned in the response.

+ * @public + */ + ContentRange?: string | undefined; + /** + *

A standard MIME type describing the format of the object data.

+ * @public + */ + ContentType?: string | undefined; + /** + * Deprecated in favor of ExpiresString. + * + * @deprecated deprecated. + * @public + */ + Expires?: Date | undefined; + /** + *

The date and time at which the object is no longer cacheable.

+ * @public + */ + ExpiresString?: string | undefined; + /** + *

If the bucket is configured as a website, redirects requests for this object to another object in + * the same bucket or to an external URL. Amazon S3 stores the value of this header in the object + * metadata.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + WebsiteRedirectLocation?: string | undefined; + /** + *

The server-side encryption algorithm used when you store this object in Amazon S3 or Amazon FSx.

+ * + *

When accessing data stored in Amazon FSx file systems using S3 access points, the only valid server side + * encryption option is aws:fsx.

+ *
+ * @public + */ + ServerSideEncryption?: ServerSideEncryption | undefined; + /** + *

A map of metadata to store with the object in S3.

+ * @public + */ + Metadata?: Record | undefined; + /** + *

If server-side encryption with a customer-provided encryption key was requested, the response will + * include this header to confirm the encryption algorithm that's used.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerAlgorithm?: string | undefined; + /** + *

If server-side encryption with a customer-provided encryption key was requested, the response will + * include this header to provide the round-trip message integrity verification of the customer-provided + * encryption key.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKeyMD5?: string | undefined; + /** + *

If present, indicates the ID of the KMS key that was used for object encryption.

+ * @public + */ + SSEKMSKeyId?: string | undefined; + /** + *

Indicates whether the object uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) + * keys (SSE-KMS).

+ * @public + */ + BucketKeyEnabled?: boolean | undefined; + /** + *

Provides storage class information of the object. Amazon S3 returns this header for all objects except + * for S3 Standard storage class objects.

+ * + *

+ * Directory buckets - + * Directory buckets only support EXPRESS_ONEZONE (the S3 Express One Zone storage class) in Availability Zones and ONEZONE_IA (the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones.

+ *
+ * @public + */ + StorageClass?: StorageClass | undefined; + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; + /** + *

Amazon S3 can return this if your request involves a bucket that is either a source or destination in a + * replication rule.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ReplicationStatus?: ReplicationStatus | undefined; + /** + *

The count of parts this object has. This value is only returned if you specify + * partNumber in your request and the object was uploaded as a multipart upload.

+ * @public + */ + PartsCount?: number | undefined; + /** + *

The number of tags, if any, on the object, when you have the relevant permission to read object + * tags.

+ *

You can use GetObjectTagging to retrieve the tag set associated with an object.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + TagCount?: number | undefined; + /** + *

The Object Lock mode that's currently in place for this object.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ObjectLockMode?: ObjectLockMode | undefined; + /** + *

The date and time when this object's Object Lock will expire.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ObjectLockRetainUntilDate?: Date | undefined; + /** + *

Indicates whether this object has an active legal hold. This field is only returned if you have + * permission to view an object's legal hold status.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined; +} +/** + * @public + */ +export interface GetObjectRequest { + /** + *

The bucket name containing the object.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format + * Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * amzn-s3-demo-bucket--usw2-az1--x-s3). For information about bucket naming + * restrictions, see Directory bucket naming + * rules in the Amazon S3 User Guide.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ *

+ * Object Lambda access points - When you use this action with an Object Lambda access point, you must direct requests to the Object Lambda access point hostname. The Object Lambda access point hostname takes the form AccessPointName-AccountId.s3-object-lambda.Region.amazonaws.com.

+ * + *

Object Lambda access points are not supported by directory buckets.

+ *
+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Return the object only if its entity tag (ETag) is the same as the one specified in this header; + * otherwise, return a 412 Precondition Failed error.

+ *

If both of the If-Match and If-Unmodified-Since headers are present in the + * request as follows: If-Match condition evaluates to true, and; + * If-Unmodified-Since condition evaluates to false; then, S3 returns 200 + * OK and the data requested.

+ *

For more information about conditional requests, see RFC 7232.

+ * @public + */ + IfMatch?: string | undefined; + /** + *

Return the object only if it has been modified since the specified time; otherwise, return a + * 304 Not Modified error.

+ *

If both of the If-None-Match and If-Modified-Since headers are present in + * the request as follows: If-None-Match condition evaluates to false, and; + * If-Modified-Since condition evaluates to true; then, S3 returns 304 + * Not Modified status code.

+ *

For more information about conditional requests, see RFC 7232.

+ * @public + */ + IfModifiedSince?: Date | undefined; + /** + *

Return the object only if its entity tag (ETag) is different from the one specified in this header; + * otherwise, return a 304 Not Modified error.

+ *

If both of the If-None-Match and If-Modified-Since headers are present in + * the request as follows: If-None-Match condition evaluates to false, and; + * If-Modified-Since condition evaluates to true; then, S3 returns 304 + * Not Modified HTTP status code.

+ *

For more information about conditional requests, see RFC 7232.

+ * @public + */ + IfNoneMatch?: string | undefined; + /** + *

Return the object only if it has not been modified since the specified time; otherwise, return a + * 412 Precondition Failed error.

+ *

If both of the If-Match and If-Unmodified-Since headers are present in the + * request as follows: If-Match condition evaluates to true, and; + * If-Unmodified-Since condition evaluates to false; then, S3 returns 200 + * OK and the data requested.

+ *

For more information about conditional requests, see RFC 7232.

+ * @public + */ + IfUnmodifiedSince?: Date | undefined; + /** + *

Key of the object to get.

+ * @public + */ + Key: string | undefined; + /** + *

Downloads the specified byte range of an object. For more information about the HTTP Range header, + * see https://www.rfc-editor.org/rfc/rfc9110.html#name-range.

+ * + *

Amazon S3 doesn't support retrieving multiple ranges of data per GET request.

+ *
+ * @public + */ + Range?: string | undefined; + /** + *

Sets the Cache-Control header of the response.

+ * @public + */ + ResponseCacheControl?: string | undefined; + /** + *

Sets the Content-Disposition header of the response.

+ * @public + */ + ResponseContentDisposition?: string | undefined; + /** + *

Sets the Content-Encoding header of the response.

+ * @public + */ + ResponseContentEncoding?: string | undefined; + /** + *

Sets the Content-Language header of the response.

+ * @public + */ + ResponseContentLanguage?: string | undefined; + /** + *

Sets the Content-Type header of the response.

+ * @public + */ + ResponseContentType?: string | undefined; + /** + *

Sets the Expires header of the response.

+ * @public + */ + ResponseExpires?: Date | undefined; + /** + *

Version ID used to reference a specific version of the object.

+ *

By default, the GetObject operation returns the current version of an object. To return + * a different version, use the versionId subresource.

+ * + *
    + *
  • + *

    If you include a versionId in your request header, you must have the + * s3:GetObjectVersion permission to access a specific version of an object. The + * s3:GetObject permission is not required in this scenario.

    + *
  • + *
  • + *

    If you request the current version of an object without a specific versionId in + * the request header, only the s3:GetObject permission is required. The + * s3:GetObjectVersion permission is not required in this scenario.

    + *
  • + *
  • + *

    + * Directory buckets - S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null value of the version ID is supported by directory buckets. + * You can only specify null to the versionId query parameter in the + * request.

    + *
  • + *
+ *
+ *

For more information about versioning, see PutBucketVersioning.

+ * @public + */ + VersionId?: string | undefined; + /** + *

Specifies the algorithm to use when decrypting the object (for example, AES256).

+ *

If you encrypt an object by using server-side encryption with customer-provided encryption keys + * (SSE-C) when you store the object in Amazon S3, then when you GET the object, you must use the following + * headers:

+ *
    + *
  • + *

    + * x-amz-server-side-encryption-customer-algorithm + *

    + *
  • + *
  • + *

    + * x-amz-server-side-encryption-customer-key + *

    + *
  • + *
  • + *

    + * x-amz-server-side-encryption-customer-key-MD5 + *

    + *
  • + *
+ *

For more information about SSE-C, see Server-Side Encryption (Using + * Customer-Provided Encryption Keys) in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerAlgorithm?: string | undefined; + /** + *

Specifies the customer-provided encryption key that you originally provided for Amazon S3 to encrypt the + * data before storing it. This value is used to decrypt the object when recovering it and must match the + * one used when storing the data. The key must be appropriate for use with the algorithm specified in the + * x-amz-server-side-encryption-customer-algorithm header.

+ *

If you encrypt an object by using server-side encryption with customer-provided encryption keys + * (SSE-C) when you store the object in Amazon S3, then when you GET the object, you must use the following + * headers:

+ *
    + *
  • + *

    + * x-amz-server-side-encryption-customer-algorithm + *

    + *
  • + *
  • + *

    + * x-amz-server-side-encryption-customer-key + *

    + *
  • + *
  • + *

    + * x-amz-server-side-encryption-customer-key-MD5 + *

    + *
  • + *
+ *

For more information about SSE-C, see Server-Side Encryption (Using + * Customer-Provided Encryption Keys) in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKey?: string | undefined; + /** + *

Specifies the 128-bit MD5 digest of the customer-provided encryption key according to RFC 1321. Amazon S3 + * uses this header for a message integrity check to ensure that the encryption key was transmitted without + * error.

+ *

If you encrypt an object by using server-side encryption with customer-provided encryption keys + * (SSE-C) when you store the object in Amazon S3, then when you GET the object, you must use the following + * headers:

+ *
    + *
  • + *

    + * x-amz-server-side-encryption-customer-algorithm + *

    + *
  • + *
  • + *

    + * x-amz-server-side-encryption-customer-key + *

    + *
  • + *
  • + *

    + * x-amz-server-side-encryption-customer-key-MD5 + *

    + *
  • + *
+ *

For more information about SSE-C, see Server-Side Encryption (Using + * Customer-Provided Encryption Keys) in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKeyMD5?: string | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

Part number of the object being read. This is a positive integer between 1 and 10,000. Effectively + * performs a 'ranged' GET request for the part specified. Useful for downloading just a part of an + * object.

+ * @public + */ + PartNumber?: number | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

To retrieve the checksum, this mode must be enabled.

+ * @public + */ + ChecksumMode?: ChecksumMode | undefined; +} +/** + * @public + */ +export interface GetObjectAclOutput { + /** + *

Container for the bucket owner's ID.

+ * @public + */ + Owner?: Owner | undefined; + /** + *

A list of grants.

+ * @public + */ + Grants?: Grant[] | undefined; + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; +} +/** + * @public + */ +export interface GetObjectAclRequest { + /** + *

The bucket name that contains the object for which to get the ACL information.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The key of the object for which to get the ACL information.

+ * @public + */ + Key: string | undefined; + /** + *

Version ID used to reference a specific version of the object.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + VersionId?: string | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

Contains all the possible checksum or digest values for an object.

+ * @public + */ +export interface Checksum { + /** + *

The Base64 encoded, 32-bit CRC32 checksum of the object. This checksum is only present if the checksum was uploaded + * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated + * with multipart uploads, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32?: string | undefined; + /** + *

The Base64 encoded, 32-bit CRC32C checksum of the object. This checksum is only present if the checksum was uploaded + * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated + * with multipart uploads, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32C?: string | undefined; + /** + *

The Base64 encoded, 64-bit CRC64NVME checksum of the object. This checksum is present + * if the object was uploaded with the CRC64NVME checksum algorithm, or if the object was + * uploaded without a checksum (and Amazon S3 added the default checksum, CRC64NVME, to the + * uploaded object). For more information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC64NVME?: string | undefined; + /** + *

The Base64 encoded, 160-bit SHA1 digest of the object. This checksum is only present if the checksum was uploaded + * with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated + * with multipart uploads, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA1?: string | undefined; + /** + *

The Base64 encoded, 256-bit SHA256 digest of the object. This checksum is only present if the checksum was uploaded + * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated + * with multipart uploads, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA256?: string | undefined; + /** + *

The checksum type that is used to calculate the object’s checksum value. For more information, see + * Checking + * object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumType?: ChecksumType | undefined; +} +/** + *

A container for elements related to an individual part.

+ * @public + */ +export interface ObjectPart { + /** + *

The part number identifying the part. This value is a positive integer between 1 and 10,000.

+ * @public + */ + PartNumber?: number | undefined; + /** + *

The size of the uploaded part in bytes.

+ * @public + */ + Size?: number | undefined; + /** + *

The Base64 encoded, 32-bit CRC32 checksum of the part. This checksum is present if the + * multipart upload request was created with the CRC32 checksum algorithm. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32?: string | undefined; + /** + *

The Base64 encoded, 32-bit CRC32C checksum of the part. This checksum is present if the + * multipart upload request was created with the CRC32C checksum algorithm. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32C?: string | undefined; + /** + *

The Base64 encoded, 64-bit CRC64NVME checksum of the part. This checksum is present if + * the multipart upload request was created with the CRC64NVME checksum algorithm, or if the + * object was uploaded without a checksum (and Amazon S3 added the default checksum, CRC64NVME, to + * the uploaded object). For more information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC64NVME?: string | undefined; + /** + *

The Base64 encoded, 160-bit SHA1 checksum of the part. This checksum is present if the + * multipart upload request was created with the SHA1 checksum algorithm. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA1?: string | undefined; + /** + *

The Base64 encoded, 256-bit SHA256 checksum of the part. This checksum is present if + * the multipart upload request was created with the SHA256 checksum algorithm. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA256?: string | undefined; +} +/** + *

A collection of parts associated with a multipart upload.

+ * @public + */ +export interface GetObjectAttributesParts { + /** + *

The total number of parts.

+ * @public + */ + TotalPartsCount?: number | undefined; + /** + *

The marker for the current part.

+ * @public + */ + PartNumberMarker?: string | undefined; + /** + *

When a list is truncated, this element specifies the last part in the list, as well as the value to + * use for the PartNumberMarker request parameter in a subsequent request.

+ * @public + */ + NextPartNumberMarker?: string | undefined; + /** + *

The maximum number of parts allowed in the response.

+ * @public + */ + MaxParts?: number | undefined; + /** + *

Indicates whether the returned list of parts is truncated. A value of true indicates + * that the list was truncated. A list can be truncated if the number of parts exceeds the limit returned + * in the MaxParts element.

+ * @public + */ + IsTruncated?: boolean | undefined; + /** + *

A container for elements related to a particular part. A response can contain zero or more + * Parts elements.

+ * + *
    + *
  • + *

    + * General purpose buckets - For + * GetObjectAttributes, if an additional checksum (including + * x-amz-checksum-crc32, x-amz-checksum-crc32c, + * x-amz-checksum-sha1, or x-amz-checksum-sha256) isn't applied to the + * object specified in the request, the response doesn't return the Part element.

    + *
  • + *
  • + *

    + * Directory buckets - For + * GetObjectAttributes, regardless of whether an additional checksum is applied to the + * object specified in the request, the response returns the Part element.

    + *
  • + *
+ *
+ * @public + */ + Parts?: ObjectPart[] | undefined; +} +/** + * @public + */ +export interface GetObjectAttributesOutput { + /** + *

Specifies whether the object retrieved was (true) or was not (false) a + * delete marker. If false, this response header does not appear in the response. To learn + * more about delete markers, see Working with delete markers.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + DeleteMarker?: boolean | undefined; + /** + *

Date and time when the object was last modified.

+ * @public + */ + LastModified?: Date | undefined; + /** + *

The version ID of the object.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + VersionId?: string | undefined; + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; + /** + *

An ETag is an opaque identifier assigned by a web server to a specific version of a resource found + * at a URL.

+ * @public + */ + ETag?: string | undefined; + /** + *

The checksum or digest of the object.

+ * @public + */ + Checksum?: Checksum | undefined; + /** + *

A collection of parts associated with a multipart upload.

+ * @public + */ + ObjectParts?: GetObjectAttributesParts | undefined; + /** + *

Provides the storage class information of the object. Amazon S3 returns this header for all objects + * except for S3 Standard storage class objects.

+ *

For more information, see Storage Classes.

+ * + *

+ * Directory buckets - + * Directory buckets only support EXPRESS_ONEZONE (the S3 Express One Zone storage class) in Availability Zones and ONEZONE_IA (the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones.

+ *
+ * @public + */ + StorageClass?: StorageClass | undefined; + /** + *

The size of the object in bytes.

+ * @public + */ + ObjectSize?: number | undefined; +} +/** + * @public + */ +export interface GetObjectAttributesRequest { + /** + *

The name of the bucket that contains the object.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format + * Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * amzn-s3-demo-bucket--usw2-az1--x-s3). For information about bucket naming + * restrictions, see Directory bucket naming + * rules in the Amazon S3 User Guide.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ * + *

Object Lambda access points are not supported by directory buckets.

+ *
+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The object key.

+ * @public + */ + Key: string | undefined; + /** + *

The version ID used to reference a specific version of the object.

+ * + *

S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null value of the version ID is supported by directory buckets. You can only specify null to the + * versionId query parameter in the request.

+ *
+ * @public + */ + VersionId?: string | undefined; + /** + *

Sets the maximum number of parts to return. For more information, see Uploading and copying objects using multipart upload + * in Amazon S3 in the Amazon Simple Storage Service user guide.

+ * @public + */ + MaxParts?: number | undefined; + /** + *

Specifies the part after which listing should begin. Only parts with higher part numbers will be + * listed. For more information, see Uploading and copying objects using multipart upload + * in Amazon S3 in the Amazon Simple Storage Service user guide.

+ * @public + */ + PartNumberMarker?: string | undefined; + /** + *

Specifies the algorithm to use when encrypting the object (for example, AES256).

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerAlgorithm?: string | undefined; + /** + *

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is + * used to store the object and then it is discarded; Amazon S3 does not store the encryption key. The key must + * be appropriate for use with the algorithm specified in the + * x-amz-server-side-encryption-customer-algorithm header.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKey?: string | undefined; + /** + *

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header + * for a message integrity check to ensure that the encryption key was transmitted without error.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKeyMD5?: string | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

Specifies the fields at the root level that you want returned in the response. Fields that you do + * not specify are not returned.

+ * @public + */ + ObjectAttributes: ObjectAttributes[] | undefined; +} +/** + *

A legal hold configuration for an object.

+ * @public + */ +export interface ObjectLockLegalHold { + /** + *

Indicates whether the specified object has a legal hold in place.

+ * @public + */ + Status?: ObjectLockLegalHoldStatus | undefined; +} +/** + * @public + */ +export interface GetObjectLegalHoldOutput { + /** + *

The current legal hold status for the specified object.

+ * @public + */ + LegalHold?: ObjectLockLegalHold | undefined; +} +/** + * @public + */ +export interface GetObjectLegalHoldRequest { + /** + *

The bucket name containing the object whose legal hold status you want to retrieve.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The key name for the object whose legal hold status you want to retrieve.

+ * @public + */ + Key: string | undefined; + /** + *

The version ID of the object whose legal hold status you want to retrieve.

+ * @public + */ + VersionId?: string | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

The container element for optionally specifying the default Object Lock retention settings for new + * objects placed in the specified bucket.

+ * + *
    + *
  • + *

    The DefaultRetention settings require both a mode and a period.

    + *
  • + *
  • + *

    The DefaultRetention period can be either Days or Years + * but you must select one. You cannot specify Days and Years at the same + * time.

    + *
  • + *
+ *
+ * @public + */ +export interface DefaultRetention { + /** + *

The default Object Lock retention mode you want to apply to new objects placed in the specified + * bucket. Must be used with either Days or Years.

+ * @public + */ + Mode?: ObjectLockRetentionMode | undefined; + /** + *

The number of days that you want to specify for the default retention period. Must be used with + * Mode.

+ * @public + */ + Days?: number | undefined; + /** + *

The number of years that you want to specify for the default retention period. Must be used with + * Mode.

+ * @public + */ + Years?: number | undefined; +} +/** + *

The container element for an Object Lock rule.

+ * @public + */ +export interface ObjectLockRule { + /** + *

The default Object Lock retention mode and period that you want to apply to new objects placed in + * the specified bucket. Bucket settings require both a mode and a period. The period can be either + * Days or Years but you must select one. You cannot specify Days + * and Years at the same time.

+ * @public + */ + DefaultRetention?: DefaultRetention | undefined; +} +/** + *

The container element for Object Lock configuration parameters.

+ * @public + */ +export interface ObjectLockConfiguration { + /** + *

Indicates whether this bucket has an Object Lock configuration enabled. Enable + * ObjectLockEnabled when you apply ObjectLockConfiguration to a bucket. + *

+ * @public + */ + ObjectLockEnabled?: ObjectLockEnabled | undefined; + /** + *

Specifies the Object Lock rule for the specified object. Enable the this rule when you apply + * ObjectLockConfiguration to a bucket. Bucket settings require both a mode and a period. + * The period can be either Days or Years but you must select one. You cannot + * specify Days and Years at the same time.

+ * @public + */ + Rule?: ObjectLockRule | undefined; +} +/** + * @public + */ +export interface GetObjectLockConfigurationOutput { + /** + *

The specified bucket's Object Lock configuration.

+ * @public + */ + ObjectLockConfiguration?: ObjectLockConfiguration | undefined; +} +/** + * @public + */ +export interface GetObjectLockConfigurationRequest { + /** + *

The bucket whose Object Lock configuration you want to retrieve.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

A Retention configuration for an object.

+ * @public + */ +export interface ObjectLockRetention { + /** + *

Indicates the Retention mode for the specified object.

+ * @public + */ + Mode?: ObjectLockRetentionMode | undefined; + /** + *

The date on which this Object Lock Retention will expire.

+ * @public + */ + RetainUntilDate?: Date | undefined; +} +/** + * @public + */ +export interface GetObjectRetentionOutput { + /** + *

The container element for an object's retention settings.

+ * @public + */ + Retention?: ObjectLockRetention | undefined; +} +/** + * @public + */ +export interface GetObjectRetentionRequest { + /** + *

The bucket name containing the object whose retention settings you want to retrieve.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The key name for the object whose retention settings you want to retrieve.

+ * @public + */ + Key: string | undefined; + /** + *

The version ID for the object whose retention settings you want to retrieve.

+ * @public + */ + VersionId?: string | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface GetObjectTaggingOutput { + /** + *

The versionId of the object for which you got the tagging information.

+ * @public + */ + VersionId?: string | undefined; + /** + *

Contains the tag set.

+ * @public + */ + TagSet: Tag[] | undefined; +} +/** + * @public + */ +export interface GetObjectTaggingRequest { + /** + *

The bucket name containing the object for which to get the tagging information.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Object key for which to get the tagging information.

+ * @public + */ + Key: string | undefined; + /** + *

The versionId of the object for which to get the tagging information.

+ * @public + */ + VersionId?: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; +} +/** + * @public + */ +export interface GetObjectTorrentOutput { + /** + *

A Bencoded dictionary as defined by the BitTorrent specification

+ * @public + */ + Body?: StreamingBlobTypes | undefined; + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; +} +/** + * @public + */ +export interface GetObjectTorrentRequest { + /** + *

The name of the bucket containing the object for which to get the torrent files.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The object key for which to get the information.

+ * @public + */ + Key: string | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. You can + * enable the configuration options in any combination. Bucket-level settings work alongside + * account-level settings (which may inherit from organization-level policies). For more + * information about when Amazon S3 considers a bucket or object public, see The Meaning of "Public" in the Amazon S3 User Guide.

+ * @public + */ +export interface PublicAccessBlockConfiguration { + /** + *

Specifies whether Amazon S3 should block public access control lists (ACLs) for this bucket and objects + * in this bucket. Setting this element to TRUE causes the following behavior:

+ *
    + *
  • + *

    PUT Bucket ACL and PUT Object ACL calls fail if the specified ACL is public.

    + *
  • + *
  • + *

    PUT Object calls fail if the request includes a public ACL.

    + *
  • + *
  • + *

    PUT Bucket calls fail if the request includes a public ACL.

    + *
  • + *
+ *

Enabling this setting doesn't affect existing policies or ACLs.

+ * @public + */ + BlockPublicAcls?: boolean | undefined; + /** + *

Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket. Setting + * this element to TRUE causes Amazon S3 to ignore all public ACLs on this bucket and objects in + * this bucket.

+ *

Enabling this setting doesn't affect the persistence of any existing ACLs and doesn't prevent new + * public ACLs from being set.

+ * @public + */ + IgnorePublicAcls?: boolean | undefined; + /** + *

Specifies whether Amazon S3 should block public bucket policies for this bucket. Setting this element to + * TRUE causes Amazon S3 to reject calls to PUT Bucket policy if the specified bucket policy + * allows public access.

+ *

Enabling this setting doesn't affect existing bucket policies.

+ * @public + */ + BlockPublicPolicy?: boolean | undefined; + /** + *

Specifies whether Amazon S3 should restrict public bucket policies for this bucket. Setting this element + * to TRUE restricts access to this bucket to only Amazon Web Services service principals and + * authorized users within this account if the bucket has a public policy.

+ *

Enabling this setting doesn't affect previously stored bucket policies, except that public and + * cross-account access within any public bucket policy, including non-public delegation to specific + * accounts, is blocked.

+ * @public + */ + RestrictPublicBuckets?: boolean | undefined; +} +/** + * @public + */ +export interface GetPublicAccessBlockOutput { + /** + *

The PublicAccessBlock configuration currently in effect for this Amazon S3 bucket.

+ * @public + */ + PublicAccessBlockConfiguration?: PublicAccessBlockConfiguration | undefined; +} +/** + * @public + */ +export interface GetPublicAccessBlockRequest { + /** + *

The name of the Amazon S3 bucket whose PublicAccessBlock configuration you want to retrieve. + *

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface HeadBucketOutput { + /** + *

The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify Amazon Web Services resources across all + * of Amazon Web Services.

+ * + *

This parameter is only supported for S3 directory buckets. For more information, see Using tags with + * directory buckets.

+ *
+ * @public + */ + BucketArn?: string | undefined; + /** + *

The type of location where the bucket is created.

+ * + *

This functionality is only supported by directory buckets.

+ *
+ * @public + */ + BucketLocationType?: LocationType | undefined; + /** + *

The name of the location where the bucket will be created.

+ *

For directory buckets, the Zone ID of the Availability Zone or the Local Zone where the bucket is created. An example + * Zone ID value for an Availability Zone is usw2-az1.

+ * + *

This functionality is only supported by directory buckets.

+ *
+ * @public + */ + BucketLocationName?: string | undefined; + /** + *

The Region that the bucket is located.

+ * @public + */ + BucketRegion?: string | undefined; + /** + *

Indicates whether the bucket name used in the request is an access point alias.

+ * + *

For directory buckets, the value of this field is false.

+ *
+ * @public + */ + AccessPointAlias?: boolean | undefined; +} +/** + * @public + */ +export interface HeadBucketRequest { + /** + *

The bucket name.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format + * Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * amzn-s3-demo-bucket--usw2-az1--x-s3). For information about bucket naming + * restrictions, see Directory bucket naming + * rules in the Amazon S3 User Guide.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ *

+ * Object Lambda access points - When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. + * If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError is returned. + * For more information about InvalidAccessPointAliasError, see List of + * Error Codes.

+ * + *

Object Lambda access points are not supported by directory buckets.

+ *
+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface HeadObjectOutput { + /** + *

Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If false, this + * response header does not appear in the response.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + DeleteMarker?: boolean | undefined; + /** + *

Indicates that a range of bytes was specified.

+ * @public + */ + AcceptRanges?: string | undefined; + /** + *

If the object expiration is configured (see + * PutBucketLifecycleConfiguration + * ), the response includes this header. It + * includes the expiry-date and rule-id key-value pairs providing object + * expiration information. The value of the rule-id is URL-encoded.

+ * + *

Object expiration information is not returned in directory buckets and this header returns the + * value "NotImplemented" in all responses for directory buckets.

+ *
+ * @public + */ + Expiration?: string | undefined; + /** + *

If the object is an archived object (an object whose storage class is GLACIER), the response + * includes this header if either the archive restoration is in progress (see RestoreObject or an archive copy is already + * restored.

+ *

If an archive copy is already restored, the header value indicates when Amazon S3 is scheduled to delete + * the object copy. For example:

+ *

+ * x-amz-restore: ongoing-request="false", expiry-date="Fri, 21 Dec 2012 00:00:00 + * GMT" + *

+ *

If the object restoration is in progress, the header returns the value + * ongoing-request="true".

+ *

For more information about archiving objects, see Transitioning Objects: General Considerations.

+ * + *

This functionality is not supported for directory buckets. Directory buckets only support EXPRESS_ONEZONE (the S3 Express One Zone storage class) in Availability Zones and ONEZONE_IA (the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones.

+ *
+ * @public + */ + Restore?: string | undefined; + /** + *

The archive state of the head object.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ArchiveStatus?: ArchiveStatus | undefined; + /** + *

Date and time when the object was last modified.

+ * @public + */ + LastModified?: Date | undefined; + /** + *

Size of the body in bytes.

+ * @public + */ + ContentLength?: number | undefined; + /** + *

The Base64 encoded, 32-bit CRC32 checksum of the object. This checksum is only present if the checksum was uploaded + * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated + * with multipart uploads, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32?: string | undefined; + /** + *

The Base64 encoded, 32-bit CRC32C checksum of the object. This checksum is only present if the checksum was uploaded + * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated + * with multipart uploads, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32C?: string | undefined; + /** + *

The Base64 encoded, 64-bit CRC64NVME checksum of the object. For more information, see + * Checking + * object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC64NVME?: string | undefined; + /** + *

The Base64 encoded, 160-bit SHA1 digest of the object. This checksum is only present if the checksum was uploaded + * with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated + * with multipart uploads, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA1?: string | undefined; + /** + *

The Base64 encoded, 256-bit SHA256 digest of the object. This checksum is only present if the checksum was uploaded + * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated + * with multipart uploads, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA256?: string | undefined; + /** + *

The checksum type, which determines how part-level checksums are combined to create an object-level + * checksum for multipart objects. You can use this header response to verify that the checksum type that + * is received is the same checksum type that was specified in CreateMultipartUpload request. + * For more information, see Checking object integrity in the Amazon S3 + * User Guide.

+ * @public + */ + ChecksumType?: ChecksumType | undefined; + /** + *

An entity tag (ETag) is an opaque identifier assigned by a web server to a specific version of a + * resource found at a URL.

+ * @public + */ + ETag?: string | undefined; + /** + *

This is set to the number of metadata entries not returned in x-amz-meta headers. This + * can happen if you create metadata using an API like SOAP that supports more flexible metadata than the + * REST API. For example, using SOAP, you can create metadata whose values are not legal HTTP + * headers.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + MissingMeta?: number | undefined; + /** + *

Version ID of the object.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + VersionId?: string | undefined; + /** + *

Specifies caching behavior along the request/reply chain.

+ * @public + */ + CacheControl?: string | undefined; + /** + *

Specifies presentational information for the object.

+ * @public + */ + ContentDisposition?: string | undefined; + /** + *

Indicates what content encodings have been applied to the object and thus what decoding mechanisms + * must be applied to obtain the media-type referenced by the Content-Type header field.

+ * @public + */ + ContentEncoding?: string | undefined; + /** + *

The language the content is in.

+ * @public + */ + ContentLanguage?: string | undefined; + /** + *

A standard MIME type describing the format of the object data.

+ * @public + */ + ContentType?: string | undefined; + /** + *

The portion of the object returned in the response for a GET request.

+ * @public + */ + ContentRange?: string | undefined; + /** + * Deprecated in favor of ExpiresString. + * + * @deprecated deprecated. + * @public + */ + Expires?: Date | undefined; + /** + *

The date and time at which the object is no longer cacheable.

+ * @public + */ + ExpiresString?: string | undefined; + /** + *

If the bucket is configured as a website, redirects requests for this object to another object in + * the same bucket or to an external URL. Amazon S3 stores the value of this header in the object + * metadata.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + WebsiteRedirectLocation?: string | undefined; + /** + *

The server-side encryption algorithm used when you store this object in Amazon S3 or Amazon FSx.

+ * + *

When accessing data stored in Amazon FSx file systems using S3 access points, the only valid server side + * encryption option is aws:fsx.

+ *
+ * @public + */ + ServerSideEncryption?: ServerSideEncryption | undefined; + /** + *

A map of metadata to store with the object in S3.

+ * @public + */ + Metadata?: Record | undefined; + /** + *

If server-side encryption with a customer-provided encryption key was requested, the response will + * include this header to confirm the encryption algorithm that's used.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerAlgorithm?: string | undefined; + /** + *

If server-side encryption with a customer-provided encryption key was requested, the response will + * include this header to provide the round-trip message integrity verification of the customer-provided + * encryption key.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKeyMD5?: string | undefined; + /** + *

If present, indicates the ID of the KMS key that was used for object encryption.

+ * @public + */ + SSEKMSKeyId?: string | undefined; + /** + *

Indicates whether the object uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) + * keys (SSE-KMS).

+ * @public + */ + BucketKeyEnabled?: boolean | undefined; + /** + *

Provides storage class information of the object. Amazon S3 returns this header for all objects except + * for S3 Standard storage class objects.

+ *

For more information, see Storage Classes.

+ * + *

+ * Directory buckets - + * Directory buckets only support EXPRESS_ONEZONE (the S3 Express One Zone storage class) in Availability Zones and ONEZONE_IA (the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones.

+ *
+ * @public + */ + StorageClass?: StorageClass | undefined; + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; + /** + *

Amazon S3 can return this header if your request involves a bucket that is either a source or a + * destination in a replication rule.

+ *

In replication, you have a source bucket on which you configure replication and destination bucket + * or buckets where Amazon S3 stores object replicas. When you request an object (GetObject) or + * object metadata (HeadObject) from these buckets, Amazon S3 will return the + * x-amz-replication-status header in the response as follows:

+ *
    + *
  • + *

    + * If requesting an object from the source bucket, Amazon S3 will + * return the x-amz-replication-status header if the object in your request is eligible + * for replication.

    + *

    For example, suppose that in your replication configuration, you specify object prefix + * TaxDocs requesting Amazon S3 to replicate objects with key prefix TaxDocs. + * Any objects you upload with this key name prefix, for example TaxDocs/document1.pdf, + * are eligible for replication. For any object request with this key name prefix, Amazon S3 will return the + * x-amz-replication-status header with value PENDING, COMPLETED or FAILED indicating + * object replication status.

    + *
  • + *
  • + *

    + * If requesting an object from a destination bucket, Amazon S3 will + * return the x-amz-replication-status header with value REPLICA if the object in your + * request is a replica that Amazon S3 created and there is no replica modification replication in + * progress.

    + *
  • + *
  • + *

    + * When replicating objects to multiple destination buckets, the + * x-amz-replication-status header acts differently. The header of the source object + * will only return a value of COMPLETED when replication is successful to all destinations. The header + * will remain at value PENDING until replication has completed for all destinations. If one or more + * destinations fails replication the header will return FAILED.

    + *
  • + *
+ *

For more information, see Replication.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ReplicationStatus?: ReplicationStatus | undefined; + /** + *

The count of parts this object has. This value is only returned if you specify + * partNumber in your request and the object was uploaded as a multipart upload.

+ * @public + */ + PartsCount?: number | undefined; + /** + *

The number of tags, if any, on the object, when you have the relevant permission to read object + * tags.

+ *

You can use GetObjectTagging to retrieve the tag set associated with an object.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + TagCount?: number | undefined; + /** + *

The Object Lock mode, if any, that's in effect for this object. This header is only returned if the + * requester has the s3:GetObjectRetention permission. For more information about S3 Object + * Lock, see Object Lock.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ObjectLockMode?: ObjectLockMode | undefined; + /** + *

The date and time when the Object Lock retention period expires. This header is only returned if the + * requester has the s3:GetObjectRetention permission.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ObjectLockRetainUntilDate?: Date | undefined; + /** + *

Specifies whether a legal hold is in effect for this object. This header is only returned if the + * requester has the s3:GetObjectLegalHold permission. This header is not returned if the + * specified version of this object has never had a legal hold applied. For more information about S3 + * Object Lock, see Object + * Lock.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined; +} +/** + * @public + */ +export interface HeadObjectRequest { + /** + *

The name of the bucket that contains the object.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format + * Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * amzn-s3-demo-bucket--usw2-az1--x-s3). For information about bucket naming + * restrictions, see Directory bucket naming + * rules in the Amazon S3 User Guide.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ * + *

Object Lambda access points are not supported by directory buckets.

+ *
+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Return the object only if its entity tag (ETag) is the same as the one specified; otherwise, return + * a 412 (precondition failed) error.

+ *

If both of the If-Match and If-Unmodified-Since headers are present in the + * request as follows:

+ *
    + *
  • + *

    + * If-Match condition evaluates to true, and;

    + *
  • + *
  • + *

    + * If-Unmodified-Since condition evaluates to false;

    + *
  • + *
+ *

Then Amazon S3 returns 200 OK and the data requested.

+ *

For more information about conditional requests, see RFC 7232.

+ * @public + */ + IfMatch?: string | undefined; + /** + *

Return the object only if it has been modified since the specified time; otherwise, return a 304 + * (not modified) error.

+ *

If both of the If-None-Match and If-Modified-Since headers are present in + * the request as follows:

+ *
    + *
  • + *

    + * If-None-Match condition evaluates to false, and;

    + *
  • + *
  • + *

    + * If-Modified-Since condition evaluates to true;

    + *
  • + *
+ *

Then Amazon S3 returns the 304 Not Modified response code.

+ *

For more information about conditional requests, see RFC 7232.

+ * @public + */ + IfModifiedSince?: Date | undefined; + /** + *

Return the object only if its entity tag (ETag) is different from the one specified; otherwise, + * return a 304 (not modified) error.

+ *

If both of the If-None-Match and If-Modified-Since headers are present in + * the request as follows:

+ *
    + *
  • + *

    + * If-None-Match condition evaluates to false, and;

    + *
  • + *
  • + *

    + * If-Modified-Since condition evaluates to true;

    + *
  • + *
+ *

Then Amazon S3 returns the 304 Not Modified response code.

+ *

For more information about conditional requests, see RFC 7232.

+ * @public + */ + IfNoneMatch?: string | undefined; + /** + *

Return the object only if it has not been modified since the specified time; otherwise, return a 412 + * (precondition failed) error.

+ *

If both of the If-Match and If-Unmodified-Since headers are present in the + * request as follows:

+ *
    + *
  • + *

    + * If-Match condition evaluates to true, and;

    + *
  • + *
  • + *

    + * If-Unmodified-Since condition evaluates to false;

    + *
  • + *
+ *

Then Amazon S3 returns 200 OK and the data requested.

+ *

For more information about conditional requests, see RFC 7232.

+ * @public + */ + IfUnmodifiedSince?: Date | undefined; + /** + *

The object key.

+ * @public + */ + Key: string | undefined; + /** + *

HeadObject returns only the metadata for an object. If the Range is satisfiable, only the + * ContentLength is affected in the response. If the Range is not satisfiable, S3 returns a + * 416 - Requested Range Not Satisfiable error.

+ * @public + */ + Range?: string | undefined; + /** + *

Sets the Cache-Control header of the response.

+ * @public + */ + ResponseCacheControl?: string | undefined; + /** + *

Sets the Content-Disposition header of the response.

+ * @public + */ + ResponseContentDisposition?: string | undefined; + /** + *

Sets the Content-Encoding header of the response.

+ * @public + */ + ResponseContentEncoding?: string | undefined; + /** + *

Sets the Content-Language header of the response.

+ * @public + */ + ResponseContentLanguage?: string | undefined; + /** + *

Sets the Content-Type header of the response.

+ * @public + */ + ResponseContentType?: string | undefined; + /** + *

Sets the Expires header of the response.

+ * @public + */ + ResponseExpires?: Date | undefined; + /** + *

Version ID used to reference a specific version of the object.

+ * + *

For directory buckets in this API operation, only the null value of the version ID is supported.

+ *
+ * @public + */ + VersionId?: string | undefined; + /** + *

Specifies the algorithm to use when encrypting the object (for example, AES256).

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerAlgorithm?: string | undefined; + /** + *

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is + * used to store the object and then it is discarded; Amazon S3 does not store the encryption key. The key must + * be appropriate for use with the algorithm specified in the + * x-amz-server-side-encryption-customer-algorithm header.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKey?: string | undefined; + /** + *

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header + * for a message integrity check to ensure that the encryption key was transmitted without error.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKeyMD5?: string | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

Part number of the object being read. This is a positive integer between 1 and 10,000. Effectively + * performs a 'ranged' HEAD request for the part specified. Useful querying about the size of the part and + * the number of parts in this object.

+ * @public + */ + PartNumber?: number | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

To retrieve the checksum, this parameter must be enabled.

+ *

+ * General purpose buckets - + * If you enable checksum mode and the object is uploaded with a checksum and encrypted with + * an Key Management Service (KMS) key, you must have permission to use the kms:Decrypt action to + * retrieve the checksum.

+ *

+ * Directory buckets - If you enable ChecksumMode + * and the object is encrypted with Amazon Web Services Key Management Service (Amazon Web Services KMS), you must also have the + * kms:GenerateDataKey and kms:Decrypt permissions in IAM identity-based + * policies and KMS key policies for the KMS key to retrieve the checksum of the object.

+ * @public + */ + ChecksumMode?: ChecksumMode | undefined; +} +/** + * @public + */ +export interface ListBucketAnalyticsConfigurationsOutput { + /** + *

Indicates whether the returned list of analytics configurations is complete. A value of true + * indicates that the list is not complete and the NextContinuationToken will be provided for a subsequent + * request.

+ * @public + */ + IsTruncated?: boolean | undefined; + /** + *

The marker that is used as a starting point for this analytics configuration list response. This + * value is present if it was sent in the request.

+ * @public + */ + ContinuationToken?: string | undefined; + /** + *

+ * NextContinuationToken is sent when isTruncated is true, which indicates + * that there are more analytics configurations to list. The next request must include this + * NextContinuationToken. The token is obfuscated and is not a usable value.

+ * @public + */ + NextContinuationToken?: string | undefined; + /** + *

The list of analytics configurations for a bucket.

+ * @public + */ + AnalyticsConfigurationList?: AnalyticsConfiguration[] | undefined; +} +/** + * @public + */ +export interface ListBucketAnalyticsConfigurationsRequest { + /** + *

The name of the bucket from which analytics configurations are retrieved.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The ContinuationToken that represents a placeholder from where this request should + * begin.

+ * @public + */ + ContinuationToken?: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface ListBucketIntelligentTieringConfigurationsOutput { + /** + *

Indicates whether the returned list of analytics configurations is complete. A value of + * true indicates that the list is not complete and the NextContinuationToken + * will be provided for a subsequent request.

+ * @public + */ + IsTruncated?: boolean | undefined; + /** + *

The ContinuationToken that represents a placeholder from where this request should + * begin.

+ * @public + */ + ContinuationToken?: string | undefined; + /** + *

The marker used to continue this inventory configuration listing. Use the + * NextContinuationToken from this response to continue the listing in a subsequent request. + * The continuation token is an opaque value that Amazon S3 understands.

+ * @public + */ + NextContinuationToken?: string | undefined; + /** + *

The list of S3 Intelligent-Tiering configurations for a bucket.

+ * @public + */ + IntelligentTieringConfigurationList?: IntelligentTieringConfiguration[] | undefined; +} +/** + * @public + */ +export interface ListBucketIntelligentTieringConfigurationsRequest { + /** + *

The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The ContinuationToken that represents a placeholder from where this request should + * begin.

+ * @public + */ + ContinuationToken?: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface ListBucketInventoryConfigurationsOutput { + /** + *

If sent in the request, the marker that is used as a starting point for this inventory configuration + * list response.

+ * @public + */ + ContinuationToken?: string | undefined; + /** + *

The list of inventory configurations for a bucket.

+ * @public + */ + InventoryConfigurationList?: InventoryConfiguration[] | undefined; + /** + *

Tells whether the returned list of inventory configurations is complete. A value of true indicates + * that the list is not complete and the NextContinuationToken is provided for a subsequent request.

+ * @public + */ + IsTruncated?: boolean | undefined; + /** + *

The marker used to continue this inventory configuration listing. Use the + * NextContinuationToken from this response to continue the listing in a subsequent request. + * The continuation token is an opaque value that Amazon S3 understands.

+ * @public + */ + NextContinuationToken?: string | undefined; +} +/** + * @public + */ +export interface ListBucketInventoryConfigurationsRequest { + /** + *

The name of the bucket containing the inventory configurations to retrieve.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The marker used to continue an inventory configuration listing that has been truncated. Use the + * NextContinuationToken from a previously truncated list response to continue the listing. + * The continuation token is an opaque value that Amazon S3 understands.

+ * @public + */ + ContinuationToken?: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface ListBucketMetricsConfigurationsOutput { + /** + *

Indicates whether the returned list of metrics configurations is complete. A value of true indicates + * that the list is not complete and the NextContinuationToken will be provided for a subsequent + * request.

+ * @public + */ + IsTruncated?: boolean | undefined; + /** + *

The marker that is used as a starting point for this metrics configuration list response. This value + * is present if it was sent in the request.

+ * @public + */ + ContinuationToken?: string | undefined; + /** + *

The marker used to continue a metrics configuration listing that has been truncated. Use the + * NextContinuationToken from a previously truncated list response to continue the listing. + * The continuation token is an opaque value that Amazon S3 understands.

+ * @public + */ + NextContinuationToken?: string | undefined; + /** + *

The list of metrics configurations for a bucket.

+ * @public + */ + MetricsConfigurationList?: MetricsConfiguration[] | undefined; +} +/** + * @public + */ +export interface ListBucketMetricsConfigurationsRequest { + /** + *

The name of the bucket containing the metrics configurations to retrieve.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide + *

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The marker that is used to continue a metrics configuration listing that has been truncated. Use the + * NextContinuationToken from a previously truncated list response to continue the listing. + * The continuation token is an opaque value that Amazon S3 understands.

+ * @public + */ + ContinuationToken?: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * + *

For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code + * 501 Not Implemented.

+ *
+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

In terms of implementation, a Bucket is a resource.

+ * @public + */ +export interface Bucket { + /** + *

The name of the bucket.

+ * @public + */ + Name?: string | undefined; + /** + *

Date the bucket was created. This date can change when making changes to your bucket, such as + * editing its bucket policy.

+ * @public + */ + CreationDate?: Date | undefined; + /** + *

+ * BucketRegion indicates the Amazon Web Services region where the bucket is located. If the request + * contains at least one valid parameter, it is included in the response.

+ * @public + */ + BucketRegion?: string | undefined; + /** + *

The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify Amazon Web Services resources across all + * of Amazon Web Services.

+ * + *

This parameter is only supported for S3 directory buckets. For more information, see Using tags with + * directory buckets.

+ *
+ * @public + */ + BucketArn?: string | undefined; +} +/** + * @public + */ +export interface ListBucketsOutput { + /** + *

The list of buckets owned by the requester.

+ * @public + */ + Buckets?: Bucket[] | undefined; + /** + *

The owner of the buckets listed.

+ * @public + */ + Owner?: Owner | undefined; + /** + *

+ * ContinuationToken is included in the response when there are more buckets that can be + * listed with pagination. The next ListBuckets request to Amazon S3 can be continued with this + * ContinuationToken. ContinuationToken is obfuscated and is not a real + * bucket.

+ * @public + */ + ContinuationToken?: string | undefined; + /** + *

If Prefix was sent with the request, it is included in the response.

+ *

All bucket names in the response begin with the specified bucket name prefix.

+ * @public + */ + Prefix?: string | undefined; +} +/** + * @public + */ +export interface ListBucketsRequest { + /** + *

Maximum number of buckets to be returned in response. When the number is more than the count of + * buckets that are owned by an Amazon Web Services account, return all the buckets in response.

+ * @public + */ + MaxBuckets?: number | undefined; + /** + *

+ * ContinuationToken indicates to Amazon S3 that the list is being continued on this bucket + * with a token. ContinuationToken is obfuscated and is not a real key. You can use this + * ContinuationToken for pagination of the list results.

+ *

Length Constraints: Minimum length of 0. Maximum length of 1024.

+ *

Required: No.

+ * + *

If you specify the bucket-region, prefix, or + * continuation-token query parameters without using max-buckets to set the + * maximum number of buckets returned in the response, Amazon S3 applies a default page size of 10,000 and + * provides a continuation token if there are more buckets.

+ *
+ * @public + */ + ContinuationToken?: string | undefined; + /** + *

Limits the response to bucket names that begin with the specified bucket name prefix.

+ * @public + */ + Prefix?: string | undefined; + /** + *

Limits the response to buckets that are located in the specified Amazon Web Services Region. The Amazon Web Services Region must + * be expressed according to the Amazon Web Services Region code, such as us-west-2 for the US West (Oregon) + * Region. For a list of the valid values for all of the Amazon Web Services Regions, see Regions and Endpoints.

+ * + *

Requests made to a Regional endpoint that is different from the bucket-region + * parameter are not supported. For example, if you want to limit the response to your buckets in Region + * us-west-2, the request must be made to an endpoint in Region + * us-west-2.

+ *
+ * @public + */ + BucketRegion?: string | undefined; +} +/** + * @public + */ +export interface ListDirectoryBucketsOutput { + /** + *

The list of buckets owned by the requester.

+ * @public + */ + Buckets?: Bucket[] | undefined; + /** + *

If ContinuationToken was sent with the request, it is included in the response. You can + * use the returned ContinuationToken for pagination of the list response.

+ * @public + */ + ContinuationToken?: string | undefined; +} +/** + * @public + */ +export interface ListDirectoryBucketsRequest { + /** + *

+ * ContinuationToken indicates to Amazon S3 that the list is being continued on buckets in this + * account with a token. ContinuationToken is obfuscated and is not a real bucket name. You + * can use this ContinuationToken for the pagination of the list results.

+ * @public + */ + ContinuationToken?: string | undefined; + /** + *

Maximum number of buckets to be returned in response. When the number is more than the count of + * buckets that are owned by an Amazon Web Services account, return all the buckets in response.

+ * @public + */ + MaxDirectoryBuckets?: number | undefined; +} +/** + *

Container for all (if there are any) keys between Prefix and the next occurrence of the string + * specified by a delimiter. CommonPrefixes lists keys that act like subdirectories in the directory + * specified by Prefix. For example, if the prefix is notes/ and the delimiter is a slash (/) as in + * notes/summer/july, the common prefix is notes/summer/.

+ * @public + */ +export interface CommonPrefix { + /** + *

Container for the specified common prefix.

+ * @public + */ + Prefix?: string | undefined; +} +/** + *

Container element that identifies who initiated the multipart upload.

+ * @public + */ +export interface Initiator { + /** + *

If the principal is an Amazon Web Services account, it provides the Canonical User ID. If the principal is an + * IAM User, it provides a user ARN value.

+ * + *

+ * Directory buckets - If the principal is an Amazon Web Services account, + * it provides the Amazon Web Services account ID. If the principal is an IAM User, it provides a user ARN + * value.

+ *
+ * @public + */ + ID?: string | undefined; + /** + *

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + DisplayName?: string | undefined; +} +/** + *

Container for the MultipartUpload for the Amazon S3 object.

+ * @public + */ +export interface MultipartUpload { + /** + *

Upload ID that identifies the multipart upload.

+ * @public + */ + UploadId?: string | undefined; + /** + *

Key of the object for which the multipart upload was initiated.

+ * @public + */ + Key?: string | undefined; + /** + *

Date and time at which the multipart upload was initiated.

+ * @public + */ + Initiated?: Date | undefined; + /** + *

The class of storage used to store the object.

+ * + *

+ * Directory buckets - + * Directory buckets only support EXPRESS_ONEZONE (the S3 Express One Zone storage class) in Availability Zones and ONEZONE_IA (the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones.

+ *
+ * @public + */ + StorageClass?: StorageClass | undefined; + /** + *

Specifies the owner of the object that is part of the multipart upload.

+ * + *

+ * Directory buckets - The bucket owner is returned as the + * object owner for all the objects.

+ *
+ * @public + */ + Owner?: Owner | undefined; + /** + *

Identifies who initiated the multipart upload.

+ * @public + */ + Initiator?: Initiator | undefined; + /** + *

The algorithm that was used to create a checksum of the object.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

The checksum type that is used to calculate the object’s checksum value. For more information, see + * Checking + * object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumType?: ChecksumType | undefined; +} +/** + * @public + */ +export interface ListMultipartUploadsOutput { + /** + *

The name of the bucket to which the multipart upload was initiated. Does not return the access point ARN or + * access point alias if used.

+ * @public + */ + Bucket?: string | undefined; + /** + *

The key at or after which the listing began.

+ * @public + */ + KeyMarker?: string | undefined; + /** + *

Together with key-marker, specifies the multipart upload after which listing should begin. If + * key-marker is not specified, the upload-id-marker parameter is ignored. Otherwise, any multipart uploads + * for a key equal to the key-marker might be included in the list only if they have an upload ID + * lexicographically greater than the specified upload-id-marker.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + UploadIdMarker?: string | undefined; + /** + *

When a list is truncated, this element specifies the value that should be used for the key-marker + * request parameter in a subsequent request.

+ * @public + */ + NextKeyMarker?: string | undefined; + /** + *

When a prefix is provided in the request, this field contains the specified prefix. The result + * contains only keys starting with the specified prefix.

+ * + *

+ * Directory buckets - For directory buckets, only prefixes that end in a delimiter (/) are supported.

+ *
+ * @public + */ + Prefix?: string | undefined; + /** + *

Contains the delimiter you specified in the request. If you don't specify a delimiter in your + * request, this element is absent from the response.

+ * + *

+ * Directory buckets - For directory buckets, / is the only supported delimiter.

+ *
+ * @public + */ + Delimiter?: string | undefined; + /** + *

When a list is truncated, this element specifies the value that should be used for the + * upload-id-marker request parameter in a subsequent request.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + NextUploadIdMarker?: string | undefined; + /** + *

Maximum number of multipart uploads that could have been included in the response.

+ * @public + */ + MaxUploads?: number | undefined; + /** + *

Indicates whether the returned list of multipart uploads is truncated. A value of true indicates + * that the list was truncated. The list can be truncated if the number of multipart uploads exceeds the + * limit allowed or specified by max uploads.

+ * @public + */ + IsTruncated?: boolean | undefined; + /** + *

Container for elements related to a particular multipart upload. A response can contain zero or more + * Upload elements.

+ * @public + */ + Uploads?: MultipartUpload[] | undefined; + /** + *

If you specify a delimiter in the request, then the result returns each distinct key prefix + * containing the delimiter in a CommonPrefixes element. The distinct key prefixes are + * returned in the Prefix child element.

+ * + *

+ * Directory buckets - For directory buckets, only prefixes that end in a delimiter (/) are supported.

+ *
+ * @public + */ + CommonPrefixes?: CommonPrefix[] | undefined; + /** + *

Encoding type used by Amazon S3 to encode object keys in the response.

+ *

If you specify the encoding-type request parameter, Amazon S3 includes this element in the + * response, and returns encoded key name values in the following response elements:

+ *

+ * Delimiter, KeyMarker, Prefix, NextKeyMarker, + * Key.

+ * @public + */ + EncodingType?: EncodingType | undefined; + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; +} +/** + * @public + */ +export interface ListMultipartUploadsRequest { + /** + *

The name of the bucket to which the multipart upload was initiated.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format + * Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * amzn-s3-demo-bucket--usw2-az1--x-s3). For information about bucket naming + * restrictions, see Directory bucket naming + * rules in the Amazon S3 User Guide.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ * + *

Object Lambda access points are not supported by directory buckets.

+ *
+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Character you use to group keys.

+ *

All keys that contain the same string between the prefix, if specified, and the first occurrence of + * the delimiter after the prefix are grouped under a single result element, CommonPrefixes. + * If you don't specify the prefix parameter, then the substring starts at the beginning of the key. The + * keys that are grouped under CommonPrefixes result element are not returned elsewhere in the + * response.

+ *

+ * CommonPrefixes is filtered out from results if it is not lexicographically greater than + * the key-marker.

+ * + *

+ * Directory buckets - For directory buckets, / is the only supported delimiter.

+ *
+ * @public + */ + Delimiter?: string | undefined; + /** + *

Encoding type used by Amazon S3 to encode the object keys in the response. Responses are + * encoded only in UTF-8. An object key can contain any Unicode character. However, the XML 1.0 parser + * can't parse certain characters, such as characters with an ASCII value from 0 to 10. For characters that + * aren't supported in XML 1.0, you can add this parameter to request that Amazon S3 encode the keys in the + * response. For more information about characters to avoid in object key names, see Object key + * naming guidelines.

+ * + *

When using the URL encoding type, non-ASCII characters that are used in an object's key name will + * be percent-encoded according to UTF-8 code values. For example, the object + * test_file(3).png will appear as test_file%283%29.png.

+ *
+ * @public + */ + EncodingType?: EncodingType | undefined; + /** + *

Specifies the multipart upload after which listing should begin.

+ * + *
    + *
  • + *

    + * General purpose buckets - For general purpose buckets, + * key-marker is an object key. Together with upload-id-marker, this + * parameter specifies the multipart upload after which listing should begin.

    + *

    If upload-id-marker is not specified, only the keys lexicographically greater + * than the specified key-marker will be included in the list.

    + *

    If upload-id-marker is specified, any multipart uploads for a key equal to the + * key-marker might also be included, provided those multipart uploads have upload IDs + * lexicographically greater than the specified upload-id-marker.

    + *
  • + *
  • + *

    + * Directory buckets - For directory buckets, + * key-marker is obfuscated and isn't a real object key. The + * upload-id-marker parameter isn't supported by directory buckets. To list the + * additional multipart uploads, you only need to set the value of key-marker to the + * NextKeyMarker value from the previous response.

    + *

    In the ListMultipartUploads response, the multipart uploads aren't sorted + * lexicographically based on the object keys. + * + *

    + *
  • + *
+ *
+ * @public + */ + KeyMarker?: string | undefined; + /** + *

Sets the maximum number of multipart uploads, from 1 to 1,000, to return in the response body. 1,000 + * is the maximum number of uploads that can be returned in a response.

+ * @public + */ + MaxUploads?: number | undefined; + /** + *

Lists in-progress uploads only for those keys that begin with the specified prefix. You can use + * prefixes to separate a bucket into different grouping of keys. (You can think of using + * prefix to make groups in the same way that you'd use a folder in a file system.)

+ * + *

+ * Directory buckets - For directory buckets, only prefixes that end in a delimiter (/) are supported.

+ *
+ * @public + */ + Prefix?: string | undefined; + /** + *

Together with key-marker, specifies the multipart upload after which listing should begin. If + * key-marker is not specified, the upload-id-marker parameter is ignored. Otherwise, any multipart uploads + * for a key equal to the key-marker might be included in the list only if they have an upload ID + * lexicographically greater than the specified upload-id-marker.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + UploadIdMarker?: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; +} +/** + *

Specifies the restoration status of an object. Objects in certain storage classes must be restored + * before they can be retrieved. For more information about these storage classes and how to work with + * archived objects, see + * Working with archived objects in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets. Directory buckets only support EXPRESS_ONEZONE (the S3 Express One Zone storage class) in Availability Zones and ONEZONE_IA (the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones.

+ *
+ * @public + */ +export interface RestoreStatus { + /** + *

Specifies whether the object is currently being restored. If the object restoration is in progress, + * the header returns the value TRUE. For example:

+ *

+ * x-amz-optional-object-attributes: IsRestoreInProgress="true" + *

+ *

If the object restoration has completed, the header returns the value FALSE. For + * example:

+ *

+ * x-amz-optional-object-attributes: IsRestoreInProgress="false", + * RestoreExpiryDate="2012-12-21T00:00:00.000Z" + *

+ *

If the object hasn't been restored, there is no header response.

+ * @public + */ + IsRestoreInProgress?: boolean | undefined; + /** + *

Indicates when the restored copy will expire. This value is populated only if the object has already + * been restored. For example:

+ *

+ * x-amz-optional-object-attributes: IsRestoreInProgress="false", + * RestoreExpiryDate="2012-12-21T00:00:00.000Z" + *

+ * @public + */ + RestoreExpiryDate?: Date | undefined; +} +/** + *

An object consists of data and its descriptive metadata.

+ * @public + */ +export interface _Object { + /** + *

The name that you assign to an object. You use the object key to retrieve the object.

+ * @public + */ + Key?: string | undefined; + /** + *

Creation date of the object.

+ * @public + */ + LastModified?: Date | undefined; + /** + *

The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, + * not its metadata. The ETag may or may not be an MD5 digest of the object data. Whether or not it is + * depends on how the object was created and how it is encrypted as described below:

+ *
    + *
  • + *

    Objects created by the PUT Object, POST Object, or Copy operation, or through the Amazon Web Services + * Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that are an MD5 digest of + * their object data.

    + *
  • + *
  • + *

    Objects created by the PUT Object, POST Object, or Copy operation, or through the Amazon Web Services + * Management Console, and are encrypted by SSE-C or SSE-KMS, have ETags that are not an MD5 digest of + * their object data.

    + *
  • + *
  • + *

    If an object is created by either the Multipart Upload or Part Copy operation, the ETag is not + * an MD5 digest, regardless of the method of encryption. If an object is larger than 16 MB, the Amazon Web Services + * Management Console will upload or copy that object as a Multipart Upload, and therefore the ETag + * will not be an MD5 digest.

    + *
  • + *
+ * + *

+ * Directory buckets - MD5 is not supported by directory buckets.

+ *
+ * @public + */ + ETag?: string | undefined; + /** + *

The algorithm that was used to create a checksum of the object.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm[] | undefined; + /** + *

The checksum type that is used to calculate the object’s checksum value. For more information, see + * Checking + * object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumType?: ChecksumType | undefined; + /** + *

Size in bytes of the object

+ * @public + */ + Size?: number | undefined; + /** + *

The class of storage used to store the object.

+ * + *

+ * Directory buckets - + * Directory buckets only support EXPRESS_ONEZONE (the S3 Express One Zone storage class) in Availability Zones and ONEZONE_IA (the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones.

+ *
+ * @public + */ + StorageClass?: ObjectStorageClass | undefined; + /** + *

The owner of the object

+ * + *

+ * Directory buckets - The bucket owner is returned as the + * object owner.

+ *
+ * @public + */ + Owner?: Owner | undefined; + /** + *

Specifies the restoration status of an object. Objects in certain storage classes must be restored + * before they can be retrieved. For more information about these storage classes and how to work with + * archived objects, see + * Working with archived objects in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets. Directory buckets only support EXPRESS_ONEZONE (the S3 Express One Zone storage class) in Availability Zones and ONEZONE_IA (the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones.

+ *
+ * @public + */ + RestoreStatus?: RestoreStatus | undefined; +} +/** + * @public + */ +export interface ListObjectsOutput { + /** + *

A flag that indicates whether Amazon S3 returned all of the results that satisfied the search + * criteria.

+ * @public + */ + IsTruncated?: boolean | undefined; + /** + *

Indicates where in the bucket listing begins. Marker is included in the response if it was sent with + * the request.

+ * @public + */ + Marker?: string | undefined; + /** + *

When the response is truncated (the IsTruncated element value in the response is + * true), you can use the key name in this field as the marker parameter in the + * subsequent request to get the next set of objects. Amazon S3 lists objects in alphabetical order.

+ * + *

This element is returned only if you have the delimiter request parameter specified. + * If the response does not include the NextMarker element and it is truncated, you can use + * the value of the last Key element in the response as the marker parameter in + * the subsequent request to get the next set of object keys.

+ *
+ * @public + */ + NextMarker?: string | undefined; + /** + *

Metadata about each object returned.

+ * @public + */ + Contents?: _Object[] | undefined; + /** + *

The bucket name.

+ * @public + */ + Name?: string | undefined; + /** + *

Keys that begin with the indicated prefix.

+ * @public + */ + Prefix?: string | undefined; + /** + *

Causes keys that contain the same string between the prefix and the first occurrence of the + * delimiter to be rolled up into a single result element in the CommonPrefixes collection. + * These rolled-up keys are not returned elsewhere in the response. Each rolled-up result counts as only + * one return against the MaxKeys value.

+ * @public + */ + Delimiter?: string | undefined; + /** + *

The maximum number of keys returned in the response body.

+ * @public + */ + MaxKeys?: number | undefined; + /** + *

All of the keys (up to 1,000) rolled up in a common prefix count as a single return when calculating + * the number of returns.

+ *

A response can contain CommonPrefixes only if you specify a delimiter.

+ *

+ * CommonPrefixes contains all (if there are any) keys between Prefix and the + * next occurrence of the string specified by the delimiter.

+ *

+ * CommonPrefixes lists keys that act like subdirectories in the directory specified by + * Prefix.

+ *

For example, if the prefix is notes/ and the delimiter is a slash (/), as + * in notes/summer/july, the common prefix is notes/summer/. All of the keys that + * roll up into a common prefix count as a single return when calculating the number of returns.

+ * @public + */ + CommonPrefixes?: CommonPrefix[] | undefined; + /** + *

Encoding type used by Amazon S3 to encode the object keys in the response. Responses are + * encoded only in UTF-8. An object key can contain any Unicode character. However, the XML 1.0 parser + * can't parse certain characters, such as characters with an ASCII value from 0 to 10. For characters that + * aren't supported in XML 1.0, you can add this parameter to request that Amazon S3 encode the keys in the + * response. For more information about characters to avoid in object key names, see Object key + * naming guidelines.

+ * + *

When using the URL encoding type, non-ASCII characters that are used in an object's key name will + * be percent-encoded according to UTF-8 code values. For example, the object + * test_file(3).png will appear as test_file%283%29.png.

+ *
+ * @public + */ + EncodingType?: EncodingType | undefined; + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; +} +/** + * @public + */ +export interface ListObjectsRequest { + /** + *

The name of the bucket containing the objects.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format + * Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * amzn-s3-demo-bucket--usw2-az1--x-s3). For information about bucket naming + * restrictions, see Directory bucket naming + * rules in the Amazon S3 User Guide.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ * + *

Object Lambda access points are not supported by directory buckets.

+ *
+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

A delimiter is a character that you use to group keys.

+ *

+ * CommonPrefixes is filtered out from results if it is not lexicographically greater than + * the key-marker.

+ * @public + */ + Delimiter?: string | undefined; + /** + *

Encoding type used by Amazon S3 to encode the object keys in the response. Responses are + * encoded only in UTF-8. An object key can contain any Unicode character. However, the XML 1.0 parser + * can't parse certain characters, such as characters with an ASCII value from 0 to 10. For characters that + * aren't supported in XML 1.0, you can add this parameter to request that Amazon S3 encode the keys in the + * response. For more information about characters to avoid in object key names, see Object key + * naming guidelines.

+ * + *

When using the URL encoding type, non-ASCII characters that are used in an object's key name will + * be percent-encoded according to UTF-8 code values. For example, the object + * test_file(3).png will appear as test_file%283%29.png.

+ *
+ * @public + */ + EncodingType?: EncodingType | undefined; + /** + *

Marker is where you want Amazon S3 to start listing from. Amazon S3 starts listing after this specified + * key. Marker can be any key in the bucket.

+ * @public + */ + Marker?: string | undefined; + /** + *

Sets the maximum number of keys returned in the response. By default, the action returns up to 1,000 + * key names. The response might contain fewer keys but will never contain more.

+ * @public + */ + MaxKeys?: number | undefined; + /** + *

Limits the response to keys that begin with the specified prefix.

+ * @public + */ + Prefix?: string | undefined; + /** + *

Confirms that the requester knows that she or he will be charged for the list objects request. + * Bucket owners need not specify this parameter in their requests.

+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

Specifies the optional fields that you want returned in the response. Fields that you do not specify + * are not returned.

+ * @public + */ + OptionalObjectAttributes?: OptionalObjectAttributes[] | undefined; +} +/** + * @public + */ +export interface ListObjectsV2Output { + /** + *

Set to false if all of the results were returned. Set to true if more keys + * are available to return. If the number of results exceeds that specified by MaxKeys, all of + * the results might not be returned.

+ * @public + */ + IsTruncated?: boolean | undefined; + /** + *

Metadata about each object returned.

+ * @public + */ + Contents?: _Object[] | undefined; + /** + *

The bucket name.

+ * @public + */ + Name?: string | undefined; + /** + *

Keys that begin with the indicated prefix.

+ * + *

+ * Directory buckets - For directory buckets, only prefixes that end in a delimiter (/) are supported.

+ *
+ * @public + */ + Prefix?: string | undefined; + /** + *

Causes keys that contain the same string between the prefix and the first occurrence of + * the delimiter to be rolled up into a single result element in the CommonPrefixes + * collection. These rolled-up keys are not returned elsewhere in the response. Each rolled-up result + * counts as only one return against the MaxKeys value.

+ * + *

+ * Directory buckets - For directory buckets, / is the only supported delimiter.

+ *
+ * @public + */ + Delimiter?: string | undefined; + /** + *

Sets the maximum number of keys returned in the response. By default, the action returns up to 1,000 + * key names. The response might contain fewer keys but will never contain more.

+ * @public + */ + MaxKeys?: number | undefined; + /** + *

All of the keys (up to 1,000) that share the same prefix are grouped together. When counting the + * total numbers of returns by this API operation, this group of keys is considered as one item.

+ *

A response can contain CommonPrefixes only if you specify a delimiter.

+ *

+ * CommonPrefixes contains all (if there are any) keys between Prefix and the + * next occurrence of the string specified by a delimiter.

+ *

+ * CommonPrefixes lists keys that act like subdirectories in the directory specified by + * Prefix.

+ *

For example, if the prefix is notes/ and the delimiter is a slash (/) as + * in notes/summer/july, the common prefix is notes/summer/. All of the keys that + * roll up into a common prefix count as a single return when calculating the number of returns.

+ * + *
    + *
  • + *

    + * Directory buckets - For directory buckets, only prefixes that end in a delimiter (/) are supported.

    + *
  • + *
  • + *

    + * Directory buckets - When you query + * ListObjectsV2 with a delimiter during in-progress multipart uploads, the + * CommonPrefixes response parameter contains the prefixes that are associated with + * the in-progress multipart uploads. For more information about multipart uploads, see Multipart Upload + * Overview in the Amazon S3 User Guide.

    + *
  • + *
+ *
+ * @public + */ + CommonPrefixes?: CommonPrefix[] | undefined; + /** + *

Encoding type used by Amazon S3 to encode object key names in the XML response.

+ *

If you specify the encoding-type request parameter, Amazon S3 includes this element in the + * response, and returns encoded key name values in the following response elements:

+ *

+ * Delimiter, Prefix, Key, and StartAfter.

+ * @public + */ + EncodingType?: EncodingType | undefined; + /** + *

+ * KeyCount is the number of keys returned with this request. KeyCount will + * always be less than or equal to the MaxKeys field. For example, if you ask for 50 keys, + * your result will include 50 keys or fewer.

+ * @public + */ + KeyCount?: number | undefined; + /** + *

If ContinuationToken was sent with the request, it is included in the response. You + * can use the returned ContinuationToken for pagination of the list response.

+ * @public + */ + ContinuationToken?: string | undefined; + /** + *

+ * NextContinuationToken is sent when isTruncated is true, which means there + * are more keys in the bucket that can be listed. The next list requests to Amazon S3 can be continued with + * this NextContinuationToken. NextContinuationToken is obfuscated and is not a + * real key

+ * @public + */ + NextContinuationToken?: string | undefined; + /** + *

If StartAfter was sent with the request, it is included in the response.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + StartAfter?: string | undefined; + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; +} +/** + * @public + */ +export interface ListObjectsV2Request { + /** + *

+ * Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format + * Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * amzn-s3-demo-bucket--usw2-az1--x-s3). For information about bucket naming + * restrictions, see Directory bucket naming + * rules in the Amazon S3 User Guide.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ * + *

Object Lambda access points are not supported by directory buckets.

+ *
+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

A delimiter is a character that you use to group keys.

+ *

+ * CommonPrefixes is filtered out from results if it is not lexicographically greater than + * the StartAfter value.

+ * + *
    + *
  • + *

    + * Directory buckets - For directory buckets, / is the only supported delimiter.

    + *
  • + *
  • + *

    + * Directory buckets - When you query + * ListObjectsV2 with a delimiter during in-progress multipart uploads, the + * CommonPrefixes response parameter contains the prefixes that are associated with + * the in-progress multipart uploads. For more information about multipart uploads, see Multipart Upload + * Overview in the Amazon S3 User Guide.

    + *
  • + *
+ *
+ * @public + */ + Delimiter?: string | undefined; + /** + *

Encoding type used by Amazon S3 to encode the object keys in the response. Responses are + * encoded only in UTF-8. An object key can contain any Unicode character. However, the XML 1.0 parser + * can't parse certain characters, such as characters with an ASCII value from 0 to 10. For characters that + * aren't supported in XML 1.0, you can add this parameter to request that Amazon S3 encode the keys in the + * response. For more information about characters to avoid in object key names, see Object key + * naming guidelines.

+ * + *

When using the URL encoding type, non-ASCII characters that are used in an object's key name will + * be percent-encoded according to UTF-8 code values. For example, the object + * test_file(3).png will appear as test_file%283%29.png.

+ *
+ * @public + */ + EncodingType?: EncodingType | undefined; + /** + *

Sets the maximum number of keys returned in the response. By default, the action returns up to 1,000 + * key names. The response might contain fewer keys but will never contain more.

+ * @public + */ + MaxKeys?: number | undefined; + /** + *

Limits the response to keys that begin with the specified prefix.

+ * + *

+ * Directory buckets - For directory buckets, only prefixes that end in a delimiter (/) are supported.

+ *
+ * @public + */ + Prefix?: string | undefined; + /** + *

+ * ContinuationToken indicates to Amazon S3 that the list is being continued on this bucket + * with a token. ContinuationToken is obfuscated and is not a real key. You can use this + * ContinuationToken for pagination of the list results.

+ * @public + */ + ContinuationToken?: string | undefined; + /** + *

The owner field is not present in ListObjectsV2 by default. If you want to return the + * owner field with each key in the result, then set the FetchOwner field to + * true.

+ * + *

+ * Directory buckets - For directory buckets, the bucket + * owner is returned as the object owner for all objects.

+ *
+ * @public + */ + FetchOwner?: boolean | undefined; + /** + *

StartAfter is where you want Amazon S3 to start listing from. Amazon S3 starts listing after this specified + * key. StartAfter can be any key in the bucket.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + StartAfter?: string | undefined; + /** + *

Confirms that the requester knows that she or he will be charged for the list objects request in V2 + * style. Bucket owners need not specify this parameter in their requests.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

Specifies the optional fields that you want returned in the response. Fields that you do not specify + * are not returned.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + OptionalObjectAttributes?: OptionalObjectAttributes[] | undefined; +} +/** + *

Information about the delete marker.

+ * @public + */ +export interface DeleteMarkerEntry { + /** + *

The account that created the delete marker.

+ * @public + */ + Owner?: Owner | undefined; + /** + *

The object key.

+ * @public + */ + Key?: string | undefined; + /** + *

Version ID of an object.

+ * @public + */ + VersionId?: string | undefined; + /** + *

Specifies whether the object is (true) or is not (false) the latest version of an object.

+ * @public + */ + IsLatest?: boolean | undefined; + /** + *

Date and time when the object was last modified.

+ * @public + */ + LastModified?: Date | undefined; +} +/** + *

The version of an object.

+ * @public + */ +export interface ObjectVersion { + /** + *

The entity tag is an MD5 hash of that version of the object.

+ * @public + */ + ETag?: string | undefined; + /** + *

The algorithm that was used to create a checksum of the object.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm[] | undefined; + /** + *

The checksum type that is used to calculate the object’s checksum value. For more information, see + * Checking + * object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumType?: ChecksumType | undefined; + /** + *

Size in bytes of the object.

+ * @public + */ + Size?: number | undefined; + /** + *

The class of storage used to store the object.

+ * @public + */ + StorageClass?: ObjectVersionStorageClass | undefined; + /** + *

The object key.

+ * @public + */ + Key?: string | undefined; + /** + *

Version ID of an object.

+ * @public + */ + VersionId?: string | undefined; + /** + *

Specifies whether the object is (true) or is not (false) the latest version of an object.

+ * @public + */ + IsLatest?: boolean | undefined; + /** + *

Date and time when the object was last modified.

+ * @public + */ + LastModified?: Date | undefined; + /** + *

Specifies the owner of the object.

+ * @public + */ + Owner?: Owner | undefined; + /** + *

Specifies the restoration status of an object. Objects in certain storage classes must be restored + * before they can be retrieved. For more information about these storage classes and how to work with + * archived objects, see + * Working with archived objects in the Amazon S3 User Guide.

+ * @public + */ + RestoreStatus?: RestoreStatus | undefined; +} +/** + * @public + */ +export interface ListObjectVersionsOutput { + /** + *

A flag that indicates whether Amazon S3 returned all of the results that satisfied the search criteria. + * If your results were truncated, you can make a follow-up paginated request by using the + * NextKeyMarker and NextVersionIdMarker response parameters as a starting + * place in another request to return the rest of the results.

+ * @public + */ + IsTruncated?: boolean | undefined; + /** + *

Marks the last key returned in a truncated response.

+ * @public + */ + KeyMarker?: string | undefined; + /** + *

Marks the last version of the key returned in a truncated response.

+ * @public + */ + VersionIdMarker?: string | undefined; + /** + *

When the number of responses exceeds the value of MaxKeys, NextKeyMarker + * specifies the first key not returned that satisfies the search criteria. Use this value for the + * key-marker request parameter in a subsequent request.

+ * @public + */ + NextKeyMarker?: string | undefined; + /** + *

When the number of responses exceeds the value of MaxKeys, + * NextVersionIdMarker specifies the first object version not returned that satisfies the + * search criteria. Use this value for the version-id-marker request parameter in a subsequent + * request.

+ * @public + */ + NextVersionIdMarker?: string | undefined; + /** + *

Container for version information.

+ * @public + */ + Versions?: ObjectVersion[] | undefined; + /** + *

Container for an object that is a delete marker. To learn more about delete markers, see Working with delete + * markers.

+ * @public + */ + DeleteMarkers?: DeleteMarkerEntry[] | undefined; + /** + *

The bucket name.

+ * @public + */ + Name?: string | undefined; + /** + *

Selects objects that start with the value supplied by this parameter.

+ * @public + */ + Prefix?: string | undefined; + /** + *

The delimiter grouping the included keys. A delimiter is a character that you specify to group keys. + * All keys that contain the same string between the prefix and the first occurrence of the delimiter are + * grouped under a single result element in CommonPrefixes. These groups are counted as one + * result against the max-keys limitation. These keys are not returned elsewhere in the + * response.

+ * @public + */ + Delimiter?: string | undefined; + /** + *

Specifies the maximum number of objects to return.

+ * @public + */ + MaxKeys?: number | undefined; + /** + *

All of the keys rolled up into a common prefix count as a single return when calculating the number + * of returns.

+ * @public + */ + CommonPrefixes?: CommonPrefix[] | undefined; + /** + *

Encoding type used by Amazon S3 to encode object key names in the XML response.

+ *

If you specify the encoding-type request parameter, Amazon S3 includes this element in the + * response, and returns encoded key name values in the following response elements:

+ *

+ * KeyMarker, NextKeyMarker, Prefix, Key, and Delimiter.

+ * @public + */ + EncodingType?: EncodingType | undefined; + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; +} +/** + * @public + */ +export interface ListObjectVersionsRequest { + /** + *

The bucket name that contains the objects.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

A delimiter is a character that you specify to group keys. All keys that contain the same string + * between the prefix and the first occurrence of the delimiter are grouped under a single + * result element in CommonPrefixes. These groups are counted as one result against the + * max-keys limitation. These keys are not returned elsewhere in the response.

+ *

+ * CommonPrefixes is filtered out from results if it is not lexicographically greater than + * the key-marker.

+ * @public + */ + Delimiter?: string | undefined; + /** + *

Encoding type used by Amazon S3 to encode the object keys in the response. Responses are + * encoded only in UTF-8. An object key can contain any Unicode character. However, the XML 1.0 parser + * can't parse certain characters, such as characters with an ASCII value from 0 to 10. For characters that + * aren't supported in XML 1.0, you can add this parameter to request that Amazon S3 encode the keys in the + * response. For more information about characters to avoid in object key names, see Object key + * naming guidelines.

+ * + *

When using the URL encoding type, non-ASCII characters that are used in an object's key name will + * be percent-encoded according to UTF-8 code values. For example, the object + * test_file(3).png will appear as test_file%283%29.png.

+ *
+ * @public + */ + EncodingType?: EncodingType | undefined; + /** + *

Specifies the key to start with when listing objects in a bucket.

+ * @public + */ + KeyMarker?: string | undefined; + /** + *

Sets the maximum number of keys returned in the response. By default, the action returns up to 1,000 + * key names. The response might contain fewer keys but will never contain more. If additional keys satisfy + * the search criteria, but were not returned because max-keys was exceeded, the response + * contains true. To return the additional keys, see + * key-marker and version-id-marker.

+ * @public + */ + MaxKeys?: number | undefined; + /** + *

Use this parameter to select only those keys that begin with the specified prefix. You can use + * prefixes to separate a bucket into different groupings of keys. (You can think of using + * prefix to make groups in the same way that you'd use a folder in a file system.) You can + * use prefix with delimiter to roll up numerous objects into a single result + * under CommonPrefixes.

+ * @public + */ + Prefix?: string | undefined; + /** + *

Specifies the object version you want to start listing from.

+ * @public + */ + VersionIdMarker?: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

Specifies the optional fields that you want returned in the response. Fields that you do not specify + * are not returned.

+ * @public + */ + OptionalObjectAttributes?: OptionalObjectAttributes[] | undefined; +} +/** + *

Container for elements related to a part.

+ * @public + */ +export interface Part { + /** + *

Part number identifying the part. This is a positive integer between 1 and 10,000.

+ * @public + */ + PartNumber?: number | undefined; + /** + *

Date and time at which the part was uploaded.

+ * @public + */ + LastModified?: Date | undefined; + /** + *

Entity tag returned when the part was uploaded.

+ * @public + */ + ETag?: string | undefined; + /** + *

Size in bytes of the uploaded part data.

+ * @public + */ + Size?: number | undefined; + /** + *

The Base64 encoded, 32-bit CRC32 checksum of the part. This checksum is present if the + * object was uploaded with the CRC32 checksum algorithm. For more information, see Checking object + * integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32?: string | undefined; + /** + *

The Base64 encoded, 32-bit CRC32C checksum of the part. This checksum is present if the + * object was uploaded with the CRC32C checksum algorithm. For more information, see Checking object + * integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32C?: string | undefined; + /** + *

The Base64 encoded, 64-bit CRC64NVME checksum of the part. This checksum is present if + * the multipart upload request was created with the CRC64NVME checksum algorithm, or if the + * object was uploaded without a checksum (and Amazon S3 added the default checksum, CRC64NVME, to + * the uploaded object). For more information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC64NVME?: string | undefined; + /** + *

The Base64 encoded, 160-bit SHA1 checksum of the part. This checksum is present if the + * object was uploaded with the SHA1 checksum algorithm. For more information, see Checking object + * integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA1?: string | undefined; + /** + *

The Base64 encoded, 256-bit SHA256 checksum of the part. This checksum is present if + * the object was uploaded with the SHA256 checksum algorithm. For more information, see + * Checking + * object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA256?: string | undefined; +} +/** + * @public + */ +export interface ListPartsOutput { + /** + *

If the bucket has a lifecycle rule configured with an action to abort incomplete multipart uploads + * and the prefix in the lifecycle rule matches the object name in the request, then the response includes + * this header indicating when the initiated multipart upload will become eligible for abort operation. For + * more information, see Aborting + * Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration.

+ *

The response will also include the x-amz-abort-rule-id header that will provide the ID + * of the lifecycle configuration rule that defines this action.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + AbortDate?: Date | undefined; + /** + *

This header is returned along with the x-amz-abort-date header. It identifies + * applicable lifecycle configuration rule that defines the action to abort incomplete multipart + * uploads.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + AbortRuleId?: string | undefined; + /** + *

The name of the bucket to which the multipart upload was initiated. Does not return the access point ARN or + * access point alias if used.

+ * @public + */ + Bucket?: string | undefined; + /** + *

Object key for which the multipart upload was initiated.

+ * @public + */ + Key?: string | undefined; + /** + *

Upload ID identifying the multipart upload whose parts are being listed.

+ * @public + */ + UploadId?: string | undefined; + /** + *

Specifies the part after which listing should begin. Only parts with higher part numbers will be + * listed.

+ * @public + */ + PartNumberMarker?: string | undefined; + /** + *

When a list is truncated, this element specifies the last part in the list, as well as the value to + * use for the part-number-marker request parameter in a subsequent request.

+ * @public + */ + NextPartNumberMarker?: string | undefined; + /** + *

Maximum number of parts that were allowed in the response.

+ * @public + */ + MaxParts?: number | undefined; + /** + *

Indicates whether the returned list of parts is truncated. A true value indicates that the list was + * truncated. A list can be truncated if the number of parts exceeds the limit returned in the MaxParts + * element.

+ * @public + */ + IsTruncated?: boolean | undefined; + /** + *

Container for elements related to a particular part. A response can contain zero or more + * Part elements.

+ * @public + */ + Parts?: Part[] | undefined; + /** + *

Container element that identifies who initiated the multipart upload. If the initiator is an + * Amazon Web Services account, this element provides the same information as the Owner element. If the + * initiator is an IAM User, this element provides the user ARN.

+ * @public + */ + Initiator?: Initiator | undefined; + /** + *

Container element that identifies the object owner, after the object is created. If multipart upload + * is initiated by an IAM user, this element provides the parent account ID.

+ * + *

+ * Directory buckets - The bucket owner is returned as the + * object owner for all the parts.

+ *
+ * @public + */ + Owner?: Owner | undefined; + /** + *

The class of storage used to store the uploaded object.

+ * + *

+ * Directory buckets - + * Directory buckets only support EXPRESS_ONEZONE (the S3 Express One Zone storage class) in Availability Zones and ONEZONE_IA (the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones.

+ *
+ * @public + */ + StorageClass?: StorageClass | undefined; + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; + /** + *

The algorithm that was used to create a checksum of the object.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

The checksum type, which determines how part-level checksums are combined to create an object-level + * checksum for multipart objects. You can use this header response to verify that the checksum type that + * is received is the same checksum type that was specified in CreateMultipartUpload request. + * For more information, see Checking object integrity in the Amazon S3 + * User Guide.

+ * @public + */ + ChecksumType?: ChecksumType | undefined; +} +/** + * @public + */ +export interface ListPartsRequest { + /** + *

The name of the bucket to which the parts are being uploaded.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format + * Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * amzn-s3-demo-bucket--usw2-az1--x-s3). For information about bucket naming + * restrictions, see Directory bucket naming + * rules in the Amazon S3 User Guide.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ * + *

Object Lambda access points are not supported by directory buckets.

+ *
+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Object key for which the multipart upload was initiated.

+ * @public + */ + Key: string | undefined; + /** + *

Sets the maximum number of parts to return.

+ * @public + */ + MaxParts?: number | undefined; + /** + *

Specifies the part after which listing should begin. Only parts with higher part numbers will be + * listed.

+ * @public + */ + PartNumberMarker?: string | undefined; + /** + *

Upload ID identifying the multipart upload whose parts are being listed.

+ * @public + */ + UploadId: string | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

The server-side encryption (SSE) algorithm used to encrypt the object. This parameter is needed only when the object was created + * using a checksum algorithm. For more information, + * see Protecting data using SSE-C keys in the + * Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerAlgorithm?: string | undefined; + /** + *

The server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm. + * For more information, see + * Protecting data using SSE-C keys in the + * Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKey?: string | undefined; + /** + *

The MD5 server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum + * algorithm. For more information, + * see Protecting data using SSE-C keys in the + * Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKeyMD5?: string | undefined; +} +/** + * @public + */ +export interface PutBucketAbacRequest { + /** + *

The name of the general purpose bucket.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The MD5 hash of the PutBucketAbac request body.

+ *

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

Indicates the algorithm that you want Amazon S3 to use to create the checksum. For more + * information, see Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

The Amazon Web Services account ID of the general purpose bucket's owner.

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

The ABAC status of the general purpose bucket. When ABAC is enabled for the general purpose bucket, you can use tags to manage access to the general purpose buckets as well as for cost tracking purposes. When ABAC is disabled for the general purpose buckets, you can only use tags for cost tracking purposes. For more information, see Using tags with S3 general purpose buckets.

+ * @public + */ + AbacStatus: AbacStatus | undefined; +} +/** + * @public + */ +export interface PutBucketAccelerateConfigurationRequest { + /** + *

The name of the bucket for which the accelerate configuration is set.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Container for setting the transfer acceleration state.

+ * @public + */ + AccelerateConfiguration: AccelerateConfiguration | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; +} +/** + * @public + */ +export interface PutBucketAclRequest { + /** + *

The canned ACL to apply to the bucket.

+ * @public + */ + ACL?: BucketCannedACL | undefined; + /** + *

Contains the elements that set the ACL permissions for an object per grantee.

+ * @public + */ + AccessControlPolicy?: AccessControlPolicy | undefined; + /** + *

The bucket to which to apply the ACL.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The Base64 encoded 128-bit MD5 digest of the data. This header must be used as a + * message integrity check to verify that the request body was not corrupted in transit. For more + * information, go to RFC 1864. + *

+ *

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.

+ * @public + */ + GrantFullControl?: string | undefined; + /** + *

Allows grantee to list the objects in the bucket.

+ * @public + */ + GrantRead?: string | undefined; + /** + *

Allows grantee to read the bucket ACL.

+ * @public + */ + GrantReadACP?: string | undefined; + /** + *

Allows grantee to create new objects in the bucket.

+ *

For the bucket and object owners of existing objects, also allows deletions and overwrites of those + * objects.

+ * @public + */ + GrantWrite?: string | undefined; + /** + *

Allows grantee to write the ACL for the applicable bucket.

+ * @public + */ + GrantWriteACP?: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface PutBucketAnalyticsConfigurationRequest { + /** + *

The name of the bucket to which an analytics configuration is stored.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The ID that identifies the analytics configuration.

+ * @public + */ + Id: string | undefined; + /** + *

The configuration and any analyses for the analytics filter.

+ * @public + */ + AnalyticsConfiguration: AnalyticsConfiguration | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, + * see Enabling Cross-Origin Resource + * Sharing in the Amazon S3 User Guide.

+ * @public + */ +export interface CORSConfiguration { + /** + *

A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 + * rules to the configuration.

+ * @public + */ + CORSRules: CORSRule[] | undefined; +} +/** + * @public + */ +export interface PutBucketCorsRequest { + /** + *

Specifies the bucket impacted by the corsconfiguration.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, + * see Enabling Cross-Origin Resource + * Sharing in the Amazon S3 User Guide.

+ * @public + */ + CORSConfiguration: CORSConfiguration | undefined; + /** + *

The Base64 encoded 128-bit MD5 digest of the data. This header must be used as a + * message integrity check to verify that the request body was not corrupted in transit. For more + * information, go to RFC 1864. + *

+ *

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface PutBucketEncryptionRequest { + /** + *

Specifies default encryption for a bucket using server-side encryption with different key + * options.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide + *

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The Base64 encoded 128-bit MD5 digest of the server-side encryption + * configuration.

+ *

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ContentMD5?: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * + *

For directory buckets, when you use Amazon Web Services SDKs, CRC32 is the default checksum algorithm that's used for performance.

+ *
+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

Specifies the default server-side-encryption configuration.

+ * @public + */ + ServerSideEncryptionConfiguration: ServerSideEncryptionConfiguration | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * + *

For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code + * 501 Not Implemented.

+ *
+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface PutBucketIntelligentTieringConfigurationRequest { + /** + *

The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The ID used to identify the S3 Intelligent-Tiering configuration.

+ * @public + */ + Id: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

Container for S3 Intelligent-Tiering configuration.

+ * @public + */ + IntelligentTieringConfiguration: IntelligentTieringConfiguration | undefined; +} +/** + * @public + */ +export interface PutBucketInventoryConfigurationRequest { + /** + *

The name of the bucket where the inventory configuration will be stored.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The ID used to identify the inventory configuration.

+ * @public + */ + Id: string | undefined; + /** + *

Specifies the inventory configuration.

+ * @public + */ + InventoryConfiguration: InventoryConfiguration | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface PutBucketLifecycleConfigurationOutput { + /** + *

Indicates which default minimum object size behavior is applied to the lifecycle + * configuration.

+ * + *

This parameter applies to general purpose buckets only. It is not supported for directory bucket + * lifecycle configurations.

+ *
+ *
    + *
  • + *

    + * all_storage_classes_128K - Objects smaller than 128 KB will not transition to + * any storage class by default.

    + *
  • + *
  • + *

    + * varies_by_storage_class - Objects smaller than 128 KB will transition to Glacier + * Flexible Retrieval or Glacier Deep Archive storage classes. By default, all other storage classes + * will prevent transitions smaller than 128 KB.

    + *
  • + *
+ *

To customize the minimum object size for any transition you can add a filter that specifies a custom + * ObjectSizeGreaterThan or ObjectSizeLessThan in the body of your transition + * rule. Custom filters always take precedence over the default transition behavior.

+ * @public + */ + TransitionDefaultMinimumObjectSize?: TransitionDefaultMinimumObjectSize | undefined; +} +/** + *

Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For more information, see + * Object Lifecycle + * Management in the Amazon S3 User Guide.

+ * @public + */ +export interface BucketLifecycleConfiguration { + /** + *

A lifecycle rule for individual objects in an Amazon S3 bucket.

+ * @public + */ + Rules: LifecycleRule[] | undefined; +} +/** + * @public + */ +export interface PutBucketLifecycleConfigurationRequest { + /** + *

The name of the bucket for which to set the configuration.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

Container for lifecycle rules. You can add as many as 1,000 rules.

+ * @public + */ + LifecycleConfiguration?: BucketLifecycleConfiguration | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * + *

This parameter applies to general purpose buckets only. It is not supported for directory bucket + * lifecycle configurations.

+ *
+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

Indicates which default minimum object size behavior is applied to the lifecycle + * configuration.

+ * + *

This parameter applies to general purpose buckets only. It is not supported for directory bucket + * lifecycle configurations.

+ *
+ *
    + *
  • + *

    + * all_storage_classes_128K - Objects smaller than 128 KB will not transition to + * any storage class by default.

    + *
  • + *
  • + *

    + * varies_by_storage_class - Objects smaller than 128 KB will transition to Glacier + * Flexible Retrieval or Glacier Deep Archive storage classes. By default, all other storage classes + * will prevent transitions smaller than 128 KB.

    + *
  • + *
+ *

To customize the minimum object size for any transition you can add a filter that specifies a custom + * ObjectSizeGreaterThan or ObjectSizeLessThan in the body of your transition + * rule. Custom filters always take precedence over the default transition behavior.

+ * @public + */ + TransitionDefaultMinimumObjectSize?: TransitionDefaultMinimumObjectSize | undefined; +} +/** + *

Container for logging status information.

+ * @public + */ +export interface BucketLoggingStatus { + /** + *

Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys for a + * bucket. For more information, see PUT Bucket logging in the + * Amazon S3 API Reference.

+ * @public + */ + LoggingEnabled?: LoggingEnabled | undefined; +} +/** + * @public + */ +export interface PutBucketLoggingRequest { + /** + *

The name of the bucket for which to set the logging parameters.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Container for logging status information.

+ * @public + */ + BucketLoggingStatus: BucketLoggingStatus | undefined; + /** + *

The MD5 hash of the PutBucketLogging request body.

+ *

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface PutBucketMetricsConfigurationRequest { + /** + *

The name of the bucket for which the metrics configuration is set.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide + *

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The ID used to identify the metrics configuration. The ID has a 64 character limit and can only + * contain letters, numbers, periods, dashes, and underscores.

+ * @public + */ + Id: string | undefined; + /** + *

Specifies the metrics configuration.

+ * @public + */ + MetricsConfiguration: MetricsConfiguration | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * + *

For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code + * 501 Not Implemented.

+ *
+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface PutBucketNotificationConfigurationRequest { + /** + *

The name of the bucket.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

A container for specifying the notification configuration of the bucket. If this element is empty, + * notifications are turned off for the bucket.

+ * @public + */ + NotificationConfiguration: NotificationConfiguration | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. + * True or false value.

+ * @public + */ + SkipDestinationValidation?: boolean | undefined; +} +/** + * @public + */ +export interface PutBucketOwnershipControlsRequest { + /** + *

The name of the Amazon S3 bucket whose OwnershipControls you want to set.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The MD5 hash of the OwnershipControls request body.

+ *

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

The OwnershipControls (BucketOwnerEnforced, BucketOwnerPreferred, or ObjectWriter) that + * you want to apply to this Amazon S3 bucket.

+ * @public + */ + OwnershipControls: OwnershipControls | undefined; + /** + *

Indicates the algorithm used to create the checksum for the object when you use the SDK. This + * header will not provide any additional functionality if you don't use the SDK. When you send this + * header, there must be a corresponding x-amz-checksum-algorithm + * header + * sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; +} +/** + * @public + */ +export interface PutBucketPolicyRequest { + /** + *

The name of the bucket.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name + * . Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide + *

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The MD5 hash of the request body.

+ *

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ContentMD5?: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum-algorithm + * or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request.

+ *

For the x-amz-checksum-algorithm + * header, replace + * algorithm + * with the supported algorithm from the following list:

+ *
    + *
  • + *

    + * CRC32 + *

    + *
  • + *
  • + *

    + * CRC32C + *

    + *
  • + *
  • + *

    + * CRC64NVME + *

    + *
  • + *
  • + *

    + * SHA1 + *

    + *
  • + *
  • + *

    + * SHA256 + *

    + *
  • + *
+ *

For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If the individual checksum value you provide through x-amz-checksum-algorithm + * doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm, Amazon S3 fails the request with a BadDigest error.

+ * + *

For directory buckets, when you use Amazon Web Services SDKs, CRC32 is the default checksum algorithm that's used for performance.

+ *
+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

Set this parameter to true to confirm that you want to remove your permissions to change this bucket + * policy in the future.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ConfirmRemoveSelfBucketAccess?: boolean | undefined; + /** + *

The bucket policy as a JSON document.

+ *

For directory buckets, the only IAM action supported in the bucket policy is + * s3express:CreateSession.

+ * @public + */ + Policy: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * + *

For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code + * 501 Not Implemented.

+ *
+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface PutBucketReplicationRequest { + /** + *

The name of the bucket

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The Base64 encoded 128-bit MD5 digest of the data. You must use this header as a + * message integrity check to verify that the request body was not corrupted in transit. For more + * information, see RFC 1864.

+ *

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

A container for replication rules. You can add up to 1,000 rules. The maximum size of a replication + * configuration is 2 MB.

+ * @public + */ + ReplicationConfiguration: ReplicationConfiguration | undefined; + /** + *

A token to allow Object Lock to be enabled for an existing bucket.

+ * @public + */ + Token?: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

Container for Payer.

+ * @public + */ +export interface RequestPaymentConfiguration { + /** + *

Specifies who pays for the download and request fees.

+ * @public + */ + Payer: Payer | undefined; +} +/** + * @public + */ +export interface PutBucketRequestPaymentRequest { + /** + *

The bucket name.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The Base64 encoded 128-bit MD5 digest of the data. You must use this header as a + * message integrity check to verify that the request body was not corrupted in transit. For more + * information, see RFC 1864.

+ *

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

Container for Payer.

+ * @public + */ + RequestPaymentConfiguration: RequestPaymentConfiguration | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

Container for TagSet elements.

+ * @public + */ +export interface Tagging { + /** + *

A collection for a set of tags

+ * @public + */ + TagSet: Tag[] | undefined; +} +/** + * @public + */ +export interface PutBucketTaggingRequest { + /** + *

The bucket name.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The Base64 encoded 128-bit MD5 digest of the data. You must use this header as a + * message integrity check to verify that the request body was not corrupted in transit. For more + * information, see RFC 1864.

+ *

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

Container for the TagSet and Tag elements.

+ * @public + */ + Tagging: Tagging | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

Describes the versioning state of an Amazon S3 bucket. For more information, see PUT Bucket + * versioning in the Amazon S3 API Reference.

+ * @public + */ +export interface VersioningConfiguration { + /** + *

Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only + * returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, + * this element is not returned.

+ * @public + */ + MFADelete?: MFADelete | undefined; + /** + *

The versioning state of the bucket.

+ * @public + */ + Status?: BucketVersioningStatus | undefined; +} +/** + * @public + */ +export interface PutBucketVersioningRequest { + /** + *

The bucket name.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

>The Base64 encoded 128-bit MD5 digest of the data. You must use this header as a + * message integrity check to verify that the request body was not corrupted in transit. For more + * information, see RFC 1864.

+ *

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device. The serial number is the number that uniquely identifies the MFA device. For physical MFA devices, this is the unique serial number that's provided with the device. For virtual MFA devices, the serial number is the device ARN. For more information, see Enabling versioning on buckets and Configuring MFA delete in the Amazon Simple Storage Service User Guide.

+ * @public + */ + MFA?: string | undefined; + /** + *

Container for setting the versioning state.

+ * @public + */ + VersioningConfiguration: VersioningConfiguration | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

Specifies website configuration parameters for an Amazon S3 bucket.

+ * @public + */ +export interface WebsiteConfiguration { + /** + *

The name of the error document for the website.

+ * @public + */ + ErrorDocument?: ErrorDocument | undefined; + /** + *

The name of the index document for the website.

+ * @public + */ + IndexDocument?: IndexDocument | undefined; + /** + *

The redirect behavior for every request to this bucket's website endpoint.

+ * + *

If you specify this property, you can't specify any other property.

+ *
+ * @public + */ + RedirectAllRequestsTo?: RedirectAllRequestsTo | undefined; + /** + *

Rules that define when a redirect is applied and the redirect behavior.

+ * @public + */ + RoutingRules?: RoutingRule[] | undefined; +} +/** + * @public + */ +export interface PutBucketWebsiteRequest { + /** + *

The bucket name.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The Base64 encoded 128-bit MD5 digest of the data. You must use this header as a + * message integrity check to verify that the request body was not corrupted in transit. For more + * information, see RFC 1864.

+ *

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

Container for the request.

+ * @public + */ + WebsiteConfiguration: WebsiteConfiguration | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface PutObjectOutput { + /** + *

If the expiration is configured for the object (see PutBucketLifecycleConfiguration) in the Amazon S3 User Guide, the response + * includes this header. It includes the expiry-date and rule-id key-value pairs + * that provide information about object expiration. The value of the rule-id is + * URL-encoded.

+ * + *

Object expiration information is not returned in directory buckets and this header returns the + * value "NotImplemented" in all responses for directory buckets.

+ *
+ * @public + */ + Expiration?: string | undefined; + /** + *

Entity tag for the uploaded object.

+ *

+ * General purpose buckets - To ensure that data is not corrupted + * traversing the network, for objects where the ETag is the MD5 digest of the object, you can calculate + * the MD5 while putting an object to Amazon S3 and compare the returned ETag to the calculated MD5 + * value.

+ *

+ * Directory buckets - The ETag for the object in a + * directory bucket isn't the MD5 digest of the object.

+ * @public + */ + ETag?: string | undefined; + /** + *

The Base64 encoded, 32-bit CRC32 checksum of the object. This checksum is only present if the checksum was uploaded + * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated + * with multipart uploads, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32?: string | undefined; + /** + *

The Base64 encoded, 32-bit CRC32C checksum of the object. This checksum is only present if the checksum was uploaded + * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated + * with multipart uploads, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32C?: string | undefined; + /** + *

The Base64 encoded, 64-bit CRC64NVME checksum of the object. This header is present if + * the object was uploaded with the CRC64NVME checksum algorithm, or if it was uploaded + * without a checksum (and Amazon S3 added the default checksum, CRC64NVME, to the uploaded + * object). For more information about how checksums are calculated with multipart uploads, see Checking object + * integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC64NVME?: string | undefined; + /** + *

The Base64 encoded, 160-bit SHA1 digest of the object. This checksum is only present if the checksum was uploaded + * with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated + * with multipart uploads, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA1?: string | undefined; + /** + *

The Base64 encoded, 256-bit SHA256 digest of the object. This checksum is only present if the checksum was uploaded + * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated + * with multipart uploads, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA256?: string | undefined; + /** + *

This header specifies the checksum type of the object, which determines how part-level checksums are + * combined to create an object-level checksum for multipart objects. For PutObject uploads, + * the checksum type is always FULL_OBJECT. You can use this header as a data integrity check + * to verify that the checksum type that is received is the same checksum that was specified. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumType?: ChecksumType | undefined; + /** + *

The server-side encryption algorithm used when you store this object in Amazon S3 or Amazon FSx.

+ * + *

When accessing data stored in Amazon FSx file systems using S3 access points, the only valid server side + * encryption option is aws:fsx.

+ *
+ * @public + */ + ServerSideEncryption?: ServerSideEncryption | undefined; + /** + *

Version ID of the object.

+ *

If you enable versioning for a bucket, Amazon S3 automatically generates a unique version ID for the + * object being stored. Amazon S3 returns this ID in the response. When you enable versioning for a bucket, if + * Amazon S3 receives multiple write requests for the same object simultaneously, it stores all of the objects. + * For more information about versioning, see Adding Objects to + * Versioning-Enabled Buckets in the Amazon S3 User Guide. For information about + * returning the versioning state of a bucket, see GetBucketVersioning.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + VersionId?: string | undefined; + /** + *

If server-side encryption with a customer-provided encryption key was requested, the response will + * include this header to confirm the encryption algorithm that's used.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerAlgorithm?: string | undefined; + /** + *

If server-side encryption with a customer-provided encryption key was requested, the response will + * include this header to provide the round-trip message integrity verification of the customer-provided + * encryption key.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKeyMD5?: string | undefined; + /** + *

If present, indicates the ID of the KMS key that was used for object encryption.

+ * @public + */ + SSEKMSKeyId?: string | undefined; + /** + *

If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of + * this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. + * This value is stored as object metadata and automatically gets + * passed on to Amazon Web Services KMS for future GetObject + * operations on this object.

+ * @public + */ + SSEKMSEncryptionContext?: string | undefined; + /** + *

Indicates whether the uploaded object uses an S3 Bucket Key for server-side encryption with + * Key Management Service (KMS) keys (SSE-KMS).

+ * @public + */ + BucketKeyEnabled?: boolean | undefined; + /** + *

The size of the object in bytes. This value is only be present if you append to an object.

+ * + *

This functionality is only supported for objects in the Amazon S3 Express One Zone storage class in + * directory buckets.

+ *
+ * @public + */ + Size?: number | undefined; + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; +} +/** + * @public + */ +export interface PutObjectRequest { + /** + *

The canned ACL to apply to the object. For more information, see Canned ACL in the + * Amazon S3 User Guide.

+ *

When adding a new object, you can use headers to grant ACL-based permissions to individual + * Amazon Web Services accounts or to predefined groups defined by Amazon S3. These permissions are then added to the ACL on + * the object. By default, all objects are private. Only the owner has full access control. For more + * information, see Access Control + * List (ACL) Overview and Managing ACLs Using the REST API in the + * Amazon S3 User Guide.

+ *

If the bucket that you're uploading objects to uses the bucket owner enforced setting for S3 Object + * Ownership, ACLs are disabled and no longer affect permissions. Buckets that use this setting only accept + * PUT requests that don't specify an ACL or PUT requests that specify bucket owner full control ACLs, such + * as the bucket-owner-full-control canned ACL or an equivalent form of this ACL expressed in + * the XML format. PUT requests that contain other ACLs (for example, custom grants to certain + * Amazon Web Services accounts) fail and return a 400 error with the error code + * AccessControlListNotSupported. For more information, see Controlling ownership of objects and + * disabling ACLs in the Amazon S3 User Guide.

+ * + *
    + *
  • + *

    This functionality is not supported for directory buckets.

    + *
  • + *
  • + *

    This functionality is not supported for Amazon S3 on Outposts.

    + *
  • + *
+ *
+ * @public + */ + ACL?: ObjectCannedACL | undefined; + /** + *

Object data.

+ * @public + */ + Body?: StreamingBlobTypes | undefined; + /** + *

The bucket name to which the PUT action was initiated.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format + * Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * amzn-s3-demo-bucket--usw2-az1--x-s3). For information about bucket naming + * restrictions, see Directory bucket naming + * rules in the Amazon S3 User Guide.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ * + *

Object Lambda access points are not supported by directory buckets.

+ *
+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Can be used to specify caching behavior along the request/reply chain. For more information, see + * http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.

+ * @public + */ + CacheControl?: string | undefined; + /** + *

Specifies presentational information for the object. For more information, see https://www.rfc-editor.org/rfc/rfc6266#section-4.

+ * @public + */ + ContentDisposition?: string | undefined; + /** + *

Specifies what content encodings have been applied to the object and thus what decoding mechanisms + * must be applied to obtain the media-type referenced by the Content-Type header field. For more + * information, see https://www.rfc-editor.org/rfc/rfc9110.html#field.content-encoding.

+ * @public + */ + ContentEncoding?: string | undefined; + /** + *

The language the content is in.

+ * @public + */ + ContentLanguage?: string | undefined; + /** + *

Size of the body in bytes. This parameter is useful when the size of the body cannot be determined + * automatically. For more information, see https://www.rfc-editor.org/rfc/rfc9110.html#name-content-length.

+ * @public + */ + ContentLength?: number | undefined; + /** + *

The Base64 encoded 128-bit MD5 digest of the message (without the headers) according to + * RFC 1864. This header can be used as a message integrity check to verify that the data is the same data + * that was originally sent. Although it is optional, we recommend using the Content-MD5 mechanism as an + * end-to-end integrity check. For more information about REST request authentication, see REST + * Authentication.

+ * + *

The Content-MD5 or x-amz-sdk-checksum-algorithm header is required for + * any request to upload an object with a retention period configured using Amazon S3 Object Lock. For more + * information, see Uploading objects + * to an Object Lock enabled bucket in the Amazon S3 User Guide.

+ *
+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ContentMD5?: string | undefined; + /** + *

A standard MIME type describing the format of the contents. For more information, see https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type.

+ * @public + */ + ContentType?: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum-algorithm + * or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request.

+ *

For the x-amz-checksum-algorithm + * header, replace + * algorithm + * with the supported algorithm from the following list:

+ *
    + *
  • + *

    + * CRC32 + *

    + *
  • + *
  • + *

    + * CRC32C + *

    + *
  • + *
  • + *

    + * CRC64NVME + *

    + *
  • + *
  • + *

    + * SHA1 + *

    + *
  • + *
  • + *

    + * SHA256 + *

    + *
  • + *
+ *

For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If the individual checksum value you provide through x-amz-checksum-algorithm + * doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm, Amazon S3 fails the request with a BadDigest error.

+ * + *

The Content-MD5 or x-amz-sdk-checksum-algorithm header is required for + * any request to upload an object with a retention period configured using Amazon S3 Object Lock. For more + * information, see Uploading objects + * to an Object Lock enabled bucket in the Amazon S3 User Guide.

+ *
+ *

For directory buckets, when you use Amazon Web Services SDKs, CRC32 is the default checksum algorithm that's used for performance.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. + * This header specifies the Base64 encoded, 32-bit CRC32 checksum of the object. For more information, see + * Checking object integrity in the + * Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. + * This header specifies the Base64 encoded, 32-bit CRC32C checksum of the object. For more information, see + * Checking object integrity in the + * Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32C?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data + * that was originally sent. This header specifies the Base64 encoded, 64-bit CRC64NVME + * checksum of the object. The CRC64NVME checksum is always a full object checksum. For more + * information, see Checking object integrity in the Amazon S3 + * User Guide.

+ * @public + */ + ChecksumCRC64NVME?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. + * This header specifies the Base64 encoded, 160-bit SHA1 digest of the object. For more information, see + * Checking object integrity in the + * Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA1?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. + * This header specifies the Base64 encoded, 256-bit SHA256 digest of the object. For more information, see + * Checking object integrity in the + * Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA256?: string | undefined; + /** + *

The date and time at which the object is no longer cacheable. For more information, see https://www.rfc-editor.org/rfc/rfc7234#section-5.3.

+ * @public + */ + Expires?: Date | undefined; + /** + *

Uploads the object only if the ETag (entity tag) value provided during the WRITE operation matches + * the ETag of the object in S3. If the ETag values do not match, the operation returns a 412 + * Precondition Failed error.

+ *

If a conflicting operation occurs during the upload S3 returns a 409 + * ConditionalRequestConflict response. On a 409 failure you should fetch the object's ETag and + * retry the upload.

+ *

Expects the ETag value as a string.

+ *

For more information about conditional requests, see RFC 7232, or Conditional requests in the + * Amazon S3 User Guide.

+ * @public + */ + IfMatch?: string | undefined; + /** + *

Uploads the object only if the object key name does not already exist in the bucket specified. + * Otherwise, Amazon S3 returns a 412 Precondition Failed error.

+ *

If a conflicting operation occurs during the upload S3 returns a 409 + * ConditionalRequestConflict response. On a 409 failure you should retry the upload.

+ *

Expects the '*' (asterisk) character.

+ *

For more information about conditional requests, see RFC 7232, or Conditional requests in the + * Amazon S3 User Guide.

+ * @public + */ + IfNoneMatch?: string | undefined; + /** + *

Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.

+ * + *
    + *
  • + *

    This functionality is not supported for directory buckets.

    + *
  • + *
  • + *

    This functionality is not supported for Amazon S3 on Outposts.

    + *
  • + *
+ *
+ * @public + */ + GrantFullControl?: string | undefined; + /** + *

Allows grantee to read the object data and its metadata.

+ * + *
    + *
  • + *

    This functionality is not supported for directory buckets.

    + *
  • + *
  • + *

    This functionality is not supported for Amazon S3 on Outposts.

    + *
  • + *
+ *
+ * @public + */ + GrantRead?: string | undefined; + /** + *

Allows grantee to read the object ACL.

+ * + *
    + *
  • + *

    This functionality is not supported for directory buckets.

    + *
  • + *
  • + *

    This functionality is not supported for Amazon S3 on Outposts.

    + *
  • + *
+ *
+ * @public + */ + GrantReadACP?: string | undefined; + /** + *

Allows grantee to write the ACL for the applicable object.

+ * + *
    + *
  • + *

    This functionality is not supported for directory buckets.

    + *
  • + *
  • + *

    This functionality is not supported for Amazon S3 on Outposts.

    + *
  • + *
+ *
+ * @public + */ + GrantWriteACP?: string | undefined; + /** + *

Object key for which the PUT action was initiated.

+ * @public + */ + Key: string | undefined; + /** + *

Specifies the offset for appending data to existing objects in bytes. The offset must be equal to + * the size of the existing object being appended to. If no object exists, setting this header to 0 will + * create a new object.

+ * + *

This functionality is only supported for objects in the Amazon S3 Express One Zone storage class in + * directory buckets.

+ *
+ * @public + */ + WriteOffsetBytes?: number | undefined; + /** + *

A map of metadata to store with the object in S3.

+ * @public + */ + Metadata?: Record | undefined; + /** + *

The server-side encryption algorithm that was used when you store this object in Amazon S3 or + * Amazon FSx.

+ *
    + *
  • + *

    + * General purpose buckets - You have four mutually exclusive + * options to protect data using server-side encryption in Amazon S3, depending on how you choose to manage + * the encryption keys. Specifically, the encryption key options are Amazon S3 managed keys (SSE-S3), + * Amazon Web Services KMS keys (SSE-KMS or DSSE-KMS), and customer-provided keys (SSE-C). Amazon S3 encrypts data with + * server-side encryption by using Amazon S3 managed keys (SSE-S3) by default. You can optionally tell Amazon S3 + * to encrypt data at rest by using server-side encryption with other key options. For more + * information, see Using Server-Side Encryption in + * the Amazon S3 User Guide.

    + *
  • + *
  • + *

    + * Directory buckets - + * For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (aws:kms). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your + * CreateSession requests or PUT object requests. Then, new objects + * are automatically encrypted with the desired encryption settings. For more + * information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.

    + *

    In the Zonal endpoint API calls (except CopyObject and UploadPartCopy) using the REST API, the encryption request headers must match the encryption settings that are specified in the CreateSession request. + * You can't override the values of the encryption settings (x-amz-server-side-encryption, x-amz-server-side-encryption-aws-kms-key-id, x-amz-server-side-encryption-context, and x-amz-server-side-encryption-bucket-key-enabled) that are specified in the CreateSession request. + * You don't need to explicitly specify these encryption settings values in Zonal endpoint API calls, and + * Amazon S3 will use the encryption settings values from the CreateSession request to protect new objects in the directory bucket. + *

    + * + *

    When you use the CLI or the Amazon Web Services SDKs, for CreateSession, the session token refreshes automatically to avoid service interruptions when a session expires. The CLI or the Amazon Web Services SDKs use the bucket's default encryption configuration for the + * CreateSession request. It's not supported to override the encryption settings values in the CreateSession request. + * So in the Zonal endpoint API calls (except CopyObject and UploadPartCopy), + * the encryption request headers must match the default encryption configuration of the directory bucket. + * + *

    + *
    + *
  • + *
  • + *

    + * S3 access points for Amazon FSx - When accessing data stored in + * Amazon FSx file systems using S3 access points, the only valid server side encryption option is + * aws:fsx. All Amazon FSx file systems have encryption configured by default and are + * encrypted at rest. Data is automatically encrypted before being written to the file system, and + * automatically decrypted as it is read. These processes are handled transparently by Amazon FSx.

    + *
  • + *
+ * @public + */ + ServerSideEncryption?: ServerSideEncryption | undefined; + /** + *

By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The STANDARD + * storage class provides high durability and high availability. Depending on performance needs, you can + * specify a different Storage Class. For more information, see Storage Classes in the + * Amazon S3 User Guide.

+ * + *
    + *
  • + *

    Directory buckets only support EXPRESS_ONEZONE (the S3 Express One Zone storage class) in + * Availability Zones and ONEZONE_IA (the S3 One Zone-Infrequent Access storage class) in + * Dedicated Local Zones.

    + *
  • + *
  • + *

    Amazon S3 on Outposts only uses the OUTPOSTS Storage Class.

    + *
  • + *
+ *
+ * @public + */ + StorageClass?: StorageClass | undefined; + /** + *

If the bucket is configured as a website, redirects requests for this object to another object in + * the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata. For + * information about object metadata, see Object Key and Metadata in the Amazon S3 + * User Guide.

+ *

In the following example, the request header sets the redirect to an object (anotherPage.html) in + * the same bucket:

+ *

+ * x-amz-website-redirect-location: /anotherPage.html + *

+ *

In the following example, the request header sets the object redirect to another website:

+ *

+ * x-amz-website-redirect-location: http://www.example.com/ + *

+ *

For more information about website hosting in Amazon S3, see Hosting Websites on Amazon S3 and How to Configure Website Page + * Redirects in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + WebsiteRedirectLocation?: string | undefined; + /** + *

Specifies the algorithm to use when encrypting the object (for example, AES256).

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerAlgorithm?: string | undefined; + /** + *

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is + * used to store the object and then it is discarded; Amazon S3 does not store the encryption key. The key must + * be appropriate for use with the algorithm specified in the + * x-amz-server-side-encryption-customer-algorithm header.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKey?: string | undefined; + /** + *

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header + * for a message integrity check to ensure that the encryption key was transmitted without error.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKeyMD5?: string | undefined; + /** + *

Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for object encryption. If the KMS key doesn't exist in the same + * account that's issuing the command, you must use the full Key ARN not the Key ID.

+ *

+ * General purpose buckets - If you specify x-amz-server-side-encryption with aws:kms or aws:kms:dsse, this header specifies the ID (Key ID, Key ARN, or Key Alias) of the KMS + * key to use. If you specify + * x-amz-server-side-encryption:aws:kms or + * x-amz-server-side-encryption:aws:kms:dsse, but do not provide x-amz-server-side-encryption-aws-kms-key-id, Amazon S3 uses the Amazon Web Services managed key + * (aws/s3) to protect the data.

+ *

+ * Directory buckets - To encrypt data using SSE-KMS, it's recommended to specify the + * x-amz-server-side-encryption header to aws:kms. Then, the x-amz-server-side-encryption-aws-kms-key-id header implicitly uses + * the bucket's default KMS customer managed key ID. If you want to explicitly set the + * x-amz-server-side-encryption-aws-kms-key-id header, it must match the bucket's default customer managed key (using key ID or ARN, not alias). Your SSE-KMS configuration can only support 1 customer managed key per directory bucket's lifetime. + * The Amazon Web Services managed key (aws/s3) isn't supported. + * + * Incorrect key specification results in an HTTP 400 Bad Request error.

+ * @public + */ + SSEKMSKeyId?: string | undefined; + /** + *

Specifies the Amazon Web Services KMS Encryption Context as an additional encryption context to use for object encryption. The value of + * this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. + * This value is stored as object metadata and automatically gets passed on + * to Amazon Web Services KMS for future GetObject operations on + * this object.

+ *

+ * General purpose buckets - This value must be explicitly added during CopyObject operations if you want an additional encryption context for your object. For more information, see Encryption context in the Amazon S3 User Guide.

+ *

+ * Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported.

+ * @public + */ + SSEKMSEncryptionContext?: string | undefined; + /** + *

Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with + * server-side encryption using Key Management Service (KMS) keys (SSE-KMS).

+ *

+ * General purpose buckets - Setting this header to + * true causes Amazon S3 to use an S3 Bucket Key for object encryption with + * SSE-KMS. Also, specifying this header with a PUT action doesn't affect bucket-level settings for S3 + * Bucket Key.

+ *

+ * Directory buckets - S3 Bucket Keys are always enabled for GET and PUT operations in a directory bucket and can’t be disabled. S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets + * to directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through CopyObject, UploadPartCopy, the Copy operation in Batch Operations, or + * the import jobs. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.

+ * @public + */ + BucketKeyEnabled?: boolean | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

The tag-set for the object. The tag-set must be encoded as URL Query parameters. (For example, + * "Key1=Value1")

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + Tagging?: string | undefined; + /** + *

The Object Lock mode that you want to apply to this object.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ObjectLockMode?: ObjectLockMode | undefined; + /** + *

The date and time when you want this object's Object Lock to expire. Must be formatted as a + * timestamp parameter.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ObjectLockRetainUntilDate?: Date | undefined; + /** + *

Specifies whether a legal hold will be applied to this object. For more information about S3 Object + * Lock, see Object Lock in + * the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface PutObjectAclOutput { + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; +} +/** + * @public + */ +export interface PutObjectAclRequest { + /** + *

The canned ACL to apply to the object. For more information, see Canned ACL.

+ * @public + */ + ACL?: ObjectCannedACL | undefined; + /** + *

Contains the elements that set the ACL permissions for an object per grantee.

+ * @public + */ + AccessControlPolicy?: AccessControlPolicy | undefined; + /** + *

The bucket name that contains the object to which you want to attach the ACL.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The Base64 encoded 128-bit MD5 digest of the data. This header must be used as a + * message integrity check to verify that the request body was not corrupted in transit. For more + * information, go to RFC 1864.> + *

+ *

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.

+ *

This functionality is not supported for Amazon S3 on Outposts.

+ * @public + */ + GrantFullControl?: string | undefined; + /** + *

Allows grantee to list the objects in the bucket.

+ *

This functionality is not supported for Amazon S3 on Outposts.

+ * @public + */ + GrantRead?: string | undefined; + /** + *

Allows grantee to read the bucket ACL.

+ *

This functionality is not supported for Amazon S3 on Outposts.

+ * @public + */ + GrantReadACP?: string | undefined; + /** + *

Allows grantee to create new objects in the bucket.

+ *

For the bucket and object owners of existing objects, also allows deletions and overwrites of those + * objects.

+ * @public + */ + GrantWrite?: string | undefined; + /** + *

Allows grantee to write the ACL for the applicable bucket.

+ *

This functionality is not supported for Amazon S3 on Outposts.

+ * @public + */ + GrantWriteACP?: string | undefined; + /** + *

Key for which the PUT action was initiated.

+ * @public + */ + Key: string | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

Version ID used to reference a specific version of the object.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + VersionId?: string | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface PutObjectLegalHoldOutput { + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; +} +/** + * @public + */ +export interface PutObjectLegalHoldRequest { + /** + *

The bucket name containing the object that you want to place a legal hold on.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The key name for the object that you want to place a legal hold on.

+ * @public + */ + Key: string | undefined; + /** + *

Container element for the legal hold configuration you want to apply to the specified object.

+ * @public + */ + LegalHold?: ObjectLockLegalHold | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

The version ID of the object that you want to place a legal hold on.

+ * @public + */ + VersionId?: string | undefined; + /** + *

The MD5 hash for the request body.

+ *

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface PutObjectLockConfigurationOutput { + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; +} +/** + * @public + */ +export interface PutObjectLockConfigurationRequest { + /** + *

The bucket whose Object Lock configuration you want to create or replace.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The Object Lock configuration that you want to apply to the specified bucket.

+ * @public + */ + ObjectLockConfiguration?: ObjectLockConfiguration | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

A token to allow Object Lock to be enabled for an existing bucket.

+ * @public + */ + Token?: string | undefined; + /** + *

The MD5 hash for the request body.

+ *

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface PutObjectRetentionOutput { + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; +} +/** + * @public + */ +export interface PutObjectRetentionRequest { + /** + *

The bucket name that contains the object you want to apply this Object Retention configuration to.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The key name for the object that you want to apply this Object Retention configuration to.

+ * @public + */ + Key: string | undefined; + /** + *

The container element for the Object Retention configuration.

+ * @public + */ + Retention?: ObjectLockRetention | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

The version ID for the object that you want to apply this Object Retention configuration to.

+ * @public + */ + VersionId?: string | undefined; + /** + *

Indicates whether this action should bypass Governance-mode restrictions.

+ * @public + */ + BypassGovernanceRetention?: boolean | undefined; + /** + *

The MD5 hash for the request body.

+ *

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface PutObjectTaggingOutput { + /** + *

The versionId of the object the tag-set was added to.

+ * @public + */ + VersionId?: string | undefined; +} +/** + * @public + */ +export interface PutObjectTaggingRequest { + /** + *

The bucket name containing the object.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Name of the object key.

+ * @public + */ + Key: string | undefined; + /** + *

The versionId of the object that the tag-set will be added to.

+ * @public + */ + VersionId?: string | undefined; + /** + *

The MD5 hash for the request body.

+ *

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

Container for the TagSet and Tag elements

+ * @public + */ + Tagging: Tagging | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

Confirms that the requester knows that she or he will be charged for the tagging object + * request. Bucket owners need not specify this parameter in their requests.

+ * @public + */ + RequestPayer?: RequestPayer | undefined; +} +/** + * @public + */ +export interface PutPublicAccessBlockRequest { + /** + *

The name of the Amazon S3 bucket whose PublicAccessBlock configuration you want to + * set.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The MD5 hash of the PutPublicAccessBlock request body.

+ *

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

The PublicAccessBlock configuration that you want to apply to this Amazon S3 + * bucket. You can enable the configuration options in any combination. For more information + * about when Amazon S3 considers a bucket or object public, see The Meaning of "Public" in the Amazon S3 User Guide.

+ * @public + */ + PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface RenameObjectOutput { +} +/** + * @public + */ +export interface RenameObjectRequest { + /** + *

The bucket name of the directory bucket containing the object.

+ *

You must use virtual-hosted-style requests in the format + * Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not + * supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must + * follow the format bucket-base-name--zone-id--x-s3 (for example, + * amzn-s3-demo-bucket--usw2-az1--x-s3). For information about bucket naming restrictions, see + * Directory bucket naming rules in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Key name of the object to rename.

+ * @public + */ + Key: string | undefined; + /** + *

Specifies the source for the rename operation. The value must be URL encoded.

+ * @public + */ + RenameSource: string | undefined; + /** + *

Renames the object only if the ETag (entity tag) value provided during the operation matches the + * ETag of the object in S3. The If-Match header field makes the request method conditional on + * ETags. If the ETag values do not match, the operation returns a 412 Precondition Failed + * error.

+ *

Expects the ETag value as a string.

+ * @public + */ + DestinationIfMatch?: string | undefined; + /** + *

Renames the object only if the destination does not already exist in the specified directory + * bucket. If the object does exist when you send a request with If-None-Match:*, the S3 API + * will return a 412 Precondition Failed error, preventing an overwrite. The + * If-None-Match header prevents overwrites of existing data by validating that there's not + * an object with the same key name already in your directory bucket.

+ *

Expects the * character (asterisk).

+ * @public + */ + DestinationIfNoneMatch?: string | undefined; + /** + *

Renames the object if the destination exists and if it has been modified since the specified + * time.

+ * @public + */ + DestinationIfModifiedSince?: Date | undefined; + /** + *

Renames the object if it hasn't been modified since the specified time.

+ * @public + */ + DestinationIfUnmodifiedSince?: Date | undefined; + /** + *

Renames the object if the source exists and if its entity tag (ETag) matches the specified ETag. + *

+ * @public + */ + SourceIfMatch?: string | undefined; + /** + *

Renames the object if the source exists and if its entity tag (ETag) is different than the specified + * ETag. If an asterisk (*) character is provided, the operation will fail and return a + * 412 Precondition Failed error.

+ * @public + */ + SourceIfNoneMatch?: string | undefined; + /** + *

Renames the object if the source exists and if it has been modified since the specified time.

+ * @public + */ + SourceIfModifiedSince?: Date | undefined; + /** + *

Renames the object if the source exists and hasn't been modified since the specified time.

+ * @public + */ + SourceIfUnmodifiedSince?: Date | undefined; + /** + *

A unique string with a max of 64 ASCII characters in the ASCII range of 33 - 126.

+ * + *

+ * RenameObject supports idempotency using a client token. To make an idempotent API request + * using RenameObject, specify a client token in the request. You should not reuse the same + * client token for other API requests. If you retry a request that completed successfully using the same + * client token and the same parameters, the retry succeeds without performing any further actions. If + * you retry a successful request using the same client token, but one or more of the parameters are + * different, the retry fails and an IdempotentParameterMismatch error is returned.

+ *
+ * @public + */ + ClientToken?: string | undefined; +} +/** + * @public + */ +export interface RestoreObjectOutput { + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; + /** + *

Indicates the path in the provided S3 output location where Select results will be restored + * to.

+ * @public + */ + RestoreOutputPath?: string | undefined; +} +/** + *

Container for S3 Glacier job parameters.

+ * @public + */ +export interface GlacierJobParameters { + /** + *

Retrieval tier at which the restore will be processed.

+ * @public + */ + Tier: Tier | undefined; +} +/** + *

Contains the type of server-side encryption used.

+ * @public + */ +export interface Encryption { + /** + *

The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256, + * aws:kms).

+ * @public + */ + EncryptionType: ServerSideEncryption | undefined; + /** + *

If the encryption type is aws:kms, this optional value specifies the ID of the + * symmetric encryption customer managed key to use for encryption of job results. Amazon S3 only supports symmetric + * encryption KMS keys. For more information, see Asymmetric keys in KMS in the + * Amazon Web Services Key Management Service Developer Guide.

+ * @public + */ + KMSKeyId?: string | undefined; + /** + *

If the encryption type is aws:kms, this optional value can be used to specify the + * encryption context for the restore results.

+ * @public + */ + KMSContext?: string | undefined; +} +/** + *

A metadata key-value pair to store with an object.

+ * @public + */ +export interface MetadataEntry { + /** + *

Name of the object.

+ * @public + */ + Name?: string | undefined; + /** + *

Value of the object.

+ * @public + */ + Value?: string | undefined; +} +/** + *

Describes an Amazon S3 location that will receive the results of the restore request.

+ * @public + */ +export interface S3Location { + /** + *

The name of the bucket where the restore results will be placed.

+ * @public + */ + BucketName: string | undefined; + /** + *

The prefix that is prepended to the restore results for this request.

+ * @public + */ + Prefix: string | undefined; + /** + *

Contains the type of server-side encryption used.

+ * @public + */ + Encryption?: Encryption | undefined; + /** + *

The canned ACL to apply to the restore results.

+ * @public + */ + CannedACL?: ObjectCannedACL | undefined; + /** + *

A list of grants that control access to the staged results.

+ * @public + */ + AccessControlList?: Grant[] | undefined; + /** + *

The tag-set that is applied to the restore results.

+ * @public + */ + Tagging?: Tagging | undefined; + /** + *

A list of metadata to store with the restore results in S3.

+ * @public + */ + UserMetadata?: MetadataEntry[] | undefined; + /** + *

The class of storage used to store the restore results.

+ * @public + */ + StorageClass?: StorageClass | undefined; +} +/** + *

Describes the location where the restore job's output is stored.

+ * @public + */ +export interface OutputLocation { + /** + *

Describes an S3 location that will receive the results of the restore request.

+ * @public + */ + S3?: S3Location | undefined; +} +/** + *

Describes how an uncompressed comma-separated values (CSV)-formatted input object is + * formatted.

+ * @public + */ +export interface CSVInput { + /** + *

Describes the first line of input. Valid values are:

+ *
    + *
  • + *

    + * NONE: First line is not a header.

    + *
  • + *
  • + *

    + * IGNORE: First line is a header, but you can't use the header values to indicate the + * column in an expression. You can use column position (such as _1, _2, …) to indicate the column + * (SELECT s._1 FROM OBJECT s).

    + *
  • + *
  • + *

    + * Use: First line is a header, and you can use the header value to identify a column + * in an expression (SELECT "name" FROM OBJECT).

    + *
  • + *
+ * @public + */ + FileHeaderInfo?: FileHeaderInfo | undefined; + /** + *

A single character used to indicate that a row should be ignored when the character is present at + * the start of that row. You can specify any character to indicate a comment line. The default character + * is #.

+ *

Default: # + *

+ * @public + */ + Comments?: string | undefined; + /** + *

A single character used for escaping the quotation mark character inside an already escaped value. + * For example, the value """ a , b """ is parsed as " a , b ".

+ * @public + */ + QuoteEscapeCharacter?: string | undefined; + /** + *

A single character used to separate individual records in the input. Instead of the default value, + * you can specify an arbitrary delimiter.

+ * @public + */ + RecordDelimiter?: string | undefined; + /** + *

A single character used to separate individual fields in a record. You can specify an arbitrary + * delimiter.

+ * @public + */ + FieldDelimiter?: string | undefined; + /** + *

A single character used for escaping when the field delimiter is part of the value. For example, if + * the value is a, b, Amazon S3 wraps this field value in quotation marks, as follows: " a , + * b ".

+ *

Type: String

+ *

Default: " + *

+ *

Ancestors: CSV + *

+ * @public + */ + QuoteCharacter?: string | undefined; + /** + *

Specifies that CSV field values may contain quoted record delimiters and such records should be + * allowed. Default value is FALSE. Setting this value to TRUE may lower performance.

+ * @public + */ + AllowQuotedRecordDelimiter?: boolean | undefined; +} +/** + *

Specifies JSON as object's input serialization format.

+ * @public + */ +export interface JSONInput { + /** + *

The type of JSON. Valid values: Document, Lines.

+ * @public + */ + Type?: JSONType | undefined; +} +/** + *

Container for Parquet.

+ * @public + */ +export interface ParquetInput { +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts new file mode 100644 index 0000000..5fba01e --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts @@ -0,0 +1,1875 @@ +import type { StreamingBlobTypes } from "@smithy/types"; +import type { ChecksumAlgorithm, CompressionType, ExpressionType, InventoryConfigurationState, ObjectLockLegalHoldStatus, ObjectLockMode, QuoteFields, ReplicationStatus, RequestCharged, RequestPayer, RestoreRequestType, ServerSideEncryption, StorageClass, Tier } from "./enums"; +import type { CSVInput, GlacierJobParameters, JSONInput, MetadataTableEncryptionConfiguration, OutputLocation, ParquetInput, RecordExpiration } from "./models_0"; +/** + *

Describes the serialization format of the object.

+ * @public + */ +export interface InputSerialization { + /** + *

Describes the serialization of a CSV-encoded object.

+ * @public + */ + CSV?: CSVInput | undefined; + /** + *

Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. Default Value: NONE.

+ * @public + */ + CompressionType?: CompressionType | undefined; + /** + *

Specifies JSON as object's input serialization format.

+ * @public + */ + JSON?: JSONInput | undefined; + /** + *

Specifies Parquet as object's input serialization format.

+ * @public + */ + Parquet?: ParquetInput | undefined; +} +/** + *

Describes how uncompressed comma-separated values (CSV)-formatted results are formatted.

+ * @public + */ +export interface CSVOutput { + /** + *

Indicates whether to use quotation marks around output fields.

+ *
    + *
  • + *

    + * ALWAYS: Always use quotation marks for output fields.

    + *
  • + *
  • + *

    + * ASNEEDED: Use quotation marks for output fields when needed.

    + *
  • + *
+ * @public + */ + QuoteFields?: QuoteFields | undefined; + /** + *

The single character used for escaping the quote character inside an already escaped value.

+ * @public + */ + QuoteEscapeCharacter?: string | undefined; + /** + *

A single character used to separate individual records in the output. Instead of the default value, + * you can specify an arbitrary delimiter.

+ * @public + */ + RecordDelimiter?: string | undefined; + /** + *

The value used to separate individual fields in a record. You can specify an arbitrary + * delimiter.

+ * @public + */ + FieldDelimiter?: string | undefined; + /** + *

A single character used for escaping when the field delimiter is part of the value. For example, if + * the value is a, b, Amazon S3 wraps this field value in quotation marks, as follows: " a , + * b ".

+ * @public + */ + QuoteCharacter?: string | undefined; +} +/** + *

Specifies JSON as request's output serialization format.

+ * @public + */ +export interface JSONOutput { + /** + *

The value used to separate individual records in the output. If no value is specified, Amazon S3 uses a + * newline character ('\n').

+ * @public + */ + RecordDelimiter?: string | undefined; +} +/** + *

Describes how results of the Select job are serialized.

+ * @public + */ +export interface OutputSerialization { + /** + *

Describes the serialization of CSV-encoded Select results.

+ * @public + */ + CSV?: CSVOutput | undefined; + /** + *

Specifies JSON as request's output serialization format.

+ * @public + */ + JSON?: JSONOutput | undefined; +} +/** + * + *

Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can + * continue to use the feature as usual. Learn more + *

+ *
+ *

Describes the parameters for Select job types.

+ *

Learn How to + * optimize querying your data in Amazon S3 using Amazon Athena, S3 Object Lambda, or client-side + * filtering.

+ * @public + */ +export interface SelectParameters { + /** + *

Describes the serialization format of the object.

+ * @public + */ + InputSerialization: InputSerialization | undefined; + /** + *

The type of the provided expression (for example, SQL).

+ * @public + */ + ExpressionType: ExpressionType | undefined; + /** + * + *

Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can + * continue to use the feature as usual. Learn more + *

+ *
+ *

The expression that is used to query the object.

+ * @public + */ + Expression: string | undefined; + /** + *

Describes how the results of the Select job are serialized.

+ * @public + */ + OutputSerialization: OutputSerialization | undefined; +} +/** + *

Container for restore job parameters.

+ * @public + */ +export interface RestoreRequest { + /** + *

Lifetime of the active copy in days. Do not use with restores that specify + * OutputLocation.

+ *

The Days element is required for regular restores, and must not be provided for select + * requests.

+ * @public + */ + Days?: number | undefined; + /** + *

S3 Glacier related parameters pertaining to this job. Do not use with restores that specify + * OutputLocation.

+ * @public + */ + GlacierJobParameters?: GlacierJobParameters | undefined; + /** + * + *

Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can + * continue to use the feature as usual. Learn more + *

+ *
+ *

Type of restore request.

+ * @public + */ + Type?: RestoreRequestType | undefined; + /** + *

Retrieval tier at which the restore will be processed.

+ * @public + */ + Tier?: Tier | undefined; + /** + *

The optional description for the job.

+ * @public + */ + Description?: string | undefined; + /** + * + *

Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can + * continue to use the feature as usual. Learn more + *

+ *
+ *

Describes the parameters for Select job types.

+ * @public + */ + SelectParameters?: SelectParameters | undefined; + /** + *

Describes the location where the restore job's output is stored.

+ * @public + */ + OutputLocation?: OutputLocation | undefined; +} +/** + * @public + */ +export interface RestoreObjectRequest { + /** + *

The bucket name containing the object to restore.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Object key for which the action was initiated.

+ * @public + */ + Key: string | undefined; + /** + *

VersionId used to reference a specific version of the object.

+ * @public + */ + VersionId?: string | undefined; + /** + *

Container for restore job parameters.

+ * @public + */ + RestoreRequest?: RestoreRequest | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

+ * @public + */ +export interface ContinuationEvent { +} +/** + *

A message that indicates the request is complete and no more messages will be sent. You should not + * assume that the request is complete until the client receives an EndEvent.

+ * @public + */ +export interface EndEvent { +} +/** + *

This data type contains information about progress of an operation.

+ * @public + */ +export interface Progress { + /** + *

The current number of object bytes scanned.

+ * @public + */ + BytesScanned?: number | undefined; + /** + *

The current number of uncompressed object bytes processed.

+ * @public + */ + BytesProcessed?: number | undefined; + /** + *

The current number of bytes of records payload data returned.

+ * @public + */ + BytesReturned?: number | undefined; +} +/** + *

This data type contains information about the progress event of an operation.

+ * @public + */ +export interface ProgressEvent { + /** + *

The Progress event details.

+ * @public + */ + Details?: Progress | undefined; +} +/** + *

The container for the records event.

+ * @public + */ +export interface RecordsEvent { + /** + *

The byte array of partial, one or more result records. S3 Select doesn't guarantee that a record + * will be self-contained in one record frame. To ensure continuous streaming of data, S3 Select might + * split the same record across multiple record frames instead of aggregating the results in memory. Some + * S3 clients (for example, the SDK for Java) handle this behavior by creating a + * ByteStream out of the response by default. Other clients might not handle this behavior + * by default. In those cases, you must aggregate the results on the client side and parse the + * response.

+ * @public + */ + Payload?: Uint8Array | undefined; +} +/** + *

Container for the stats details.

+ * @public + */ +export interface Stats { + /** + *

The total number of object bytes scanned.

+ * @public + */ + BytesScanned?: number | undefined; + /** + *

The total number of uncompressed object bytes processed.

+ * @public + */ + BytesProcessed?: number | undefined; + /** + *

The total number of bytes of records payload data returned.

+ * @public + */ + BytesReturned?: number | undefined; +} +/** + *

Container for the Stats Event.

+ * @public + */ +export interface StatsEvent { + /** + *

The Stats event details.

+ * @public + */ + Details?: Stats | undefined; +} +/** + *

The container for selecting objects from a content event stream.

+ * @public + */ +export type SelectObjectContentEventStream = SelectObjectContentEventStream.ContMember | SelectObjectContentEventStream.EndMember | SelectObjectContentEventStream.ProgressMember | SelectObjectContentEventStream.RecordsMember | SelectObjectContentEventStream.StatsMember | SelectObjectContentEventStream.$UnknownMember; +/** + * @public + */ +export declare namespace SelectObjectContentEventStream { + /** + *

The Records Event.

+ * @public + */ + interface RecordsMember { + Records: RecordsEvent; + Stats?: never; + Progress?: never; + Cont?: never; + End?: never; + $unknown?: never; + } + /** + *

The Stats Event.

+ * @public + */ + interface StatsMember { + Records?: never; + Stats: StatsEvent; + Progress?: never; + Cont?: never; + End?: never; + $unknown?: never; + } + /** + *

The Progress Event.

+ * @public + */ + interface ProgressMember { + Records?: never; + Stats?: never; + Progress: ProgressEvent; + Cont?: never; + End?: never; + $unknown?: never; + } + /** + *

The Continuation Event.

+ * @public + */ + interface ContMember { + Records?: never; + Stats?: never; + Progress?: never; + Cont: ContinuationEvent; + End?: never; + $unknown?: never; + } + /** + *

The End Event.

+ * @public + */ + interface EndMember { + Records?: never; + Stats?: never; + Progress?: never; + Cont?: never; + End: EndEvent; + $unknown?: never; + } + /** + * @public + */ + interface $UnknownMember { + Records?: never; + Stats?: never; + Progress?: never; + Cont?: never; + End?: never; + $unknown: [string, any]; + } + /** + * @deprecated unused in schema-serde mode. + * + */ + interface Visitor { + Records: (value: RecordsEvent) => T; + Stats: (value: StatsEvent) => T; + Progress: (value: ProgressEvent) => T; + Cont: (value: ContinuationEvent) => T; + End: (value: EndEvent) => T; + _: (name: string, value: any) => T; + } +} +/** + * @public + */ +export interface SelectObjectContentOutput { + /** + *

The array of results.

+ * @public + */ + Payload?: AsyncIterable | undefined; +} +/** + *

Container for specifying if periodic QueryProgress messages should be sent.

+ * @public + */ +export interface RequestProgress { + /** + *

Specifies whether periodic QueryProgress frames should be sent. Valid values: TRUE, FALSE. Default + * value: FALSE.

+ * @public + */ + Enabled?: boolean | undefined; +} +/** + *

Specifies the byte range of the object to get the records from. A record is processed when its first + * byte is contained by the range. This parameter is optional, but when specified, it must not be empty. + * See RFC 2616, Section 14.35.1 about how to specify the start and end of the range.

+ * @public + */ +export interface ScanRange { + /** + *

Specifies the start of the byte range. This parameter is optional. Valid values: non-negative + * integers. The default value is 0. If only start is supplied, it means scan from that point + * to the end of the file. For example, + * 50 means scan from byte 50 + * until the end of the file.

+ * @public + */ + Start?: number | undefined; + /** + *

Specifies the end of the byte range. This parameter is optional. Valid values: non-negative + * integers. The default value is one less than the size of the object being queried. If only the End + * parameter is supplied, it is interpreted to mean scan the last N bytes of the file. For example, + * 50 means scan the last 50 + * bytes.

+ * @public + */ + End?: number | undefined; +} +/** + * + *

Learn Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 + * Select can continue to use the feature as usual. Learn more + *

+ *
+ *

Request to filter the contents of an Amazon S3 object based on a simple Structured Query Language (SQL) + * statement. In the request, along with the SQL expression, you must specify a data serialization format + * (JSON or CSV) of the object. Amazon S3 uses this to parse object data into records. It returns only records + * that match the specified SQL expression. You must also specify the data serialization format for the + * response. For more information, see S3Select API Documentation.

+ * @public + */ +export interface SelectObjectContentRequest { + /** + *

The S3 bucket.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

The object key.

+ * @public + */ + Key: string | undefined; + /** + *

The server-side encryption (SSE) algorithm used to encrypt the object. This parameter is needed only when the object was created + * using a checksum algorithm. For more information, + * see Protecting data using SSE-C keys in the + * Amazon S3 User Guide.

+ * @public + */ + SSECustomerAlgorithm?: string | undefined; + /** + *

The server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm. + * For more information, see + * Protecting data using SSE-C keys in the + * Amazon S3 User Guide.

+ * @public + */ + SSECustomerKey?: string | undefined; + /** + *

The MD5 server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum + * algorithm. For more information, + * see Protecting data using SSE-C keys in the + * Amazon S3 User Guide.

+ * @public + */ + SSECustomerKeyMD5?: string | undefined; + /** + *

The expression that is used to query the object.

+ * @public + */ + Expression: string | undefined; + /** + *

The type of the provided expression (for example, SQL).

+ * @public + */ + ExpressionType: ExpressionType | undefined; + /** + *

Specifies if periodic request progress information should be enabled.

+ * @public + */ + RequestProgress?: RequestProgress | undefined; + /** + *

Describes the format of the data in the object that is being queried.

+ * @public + */ + InputSerialization: InputSerialization | undefined; + /** + *

Describes the format of the data that you want Amazon S3 to return in response.

+ * @public + */ + OutputSerialization: OutputSerialization | undefined; + /** + *

Specifies the byte range of the object to get the records from. A record is processed when its first + * byte is contained by the range. This parameter is optional, but when specified, it must not be empty. + * See RFC 2616, Section 14.35.1 about how to specify the start and end of the range.

+ *

+ * ScanRangemay be used in the following ways:

+ *
    + *
  • + *

    + * 50100 + * - process only the records starting between the bytes 50 and 100 (inclusive, counting from + * zero)

    + *
  • + *
  • + *

    + * 50 - process only the + * records starting after the byte 50

    + *
  • + *
  • + *

    + * 50 - process only the + * records within the last 50 bytes of the file.

    + *
  • + *
+ * @public + */ + ScanRange?: ScanRange | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

+ * The specified updates to the S3 Metadata inventory table configuration. + *

+ * @public + */ +export interface InventoryTableConfigurationUpdates { + /** + *

+ * The configuration state of the inventory table, indicating whether the inventory table is enabled + * or disabled. + *

+ * @public + */ + ConfigurationState: InventoryConfigurationState | undefined; + /** + *

+ * The encryption configuration for the inventory table. + *

+ * @public + */ + EncryptionConfiguration?: MetadataTableEncryptionConfiguration | undefined; +} +/** + * @public + */ +export interface UpdateBucketMetadataInventoryTableConfigurationRequest { + /** + *

+ * The general purpose bucket that corresponds to the metadata configuration that you want to + * enable or disable an inventory table for. + *

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

+ * The Content-MD5 header for the inventory table configuration. + *

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

+ * The checksum algorithm to use with your inventory table configuration. + *

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

+ * The contents of your inventory table configuration. + *

+ * @public + */ + InventoryTableConfiguration: InventoryTableConfigurationUpdates | undefined; + /** + *

+ * The expected owner of the general purpose bucket that corresponds to the metadata table + * configuration that you want to enable or disable an inventory table for. + *

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

+ * The specified updates to the S3 Metadata journal table configuration. + *

+ * @public + */ +export interface JournalTableConfigurationUpdates { + /** + *

+ * The journal table record expiration settings for the journal table. + *

+ * @public + */ + RecordExpiration: RecordExpiration | undefined; +} +/** + * @public + */ +export interface UpdateBucketMetadataJournalTableConfigurationRequest { + /** + *

+ * The general purpose bucket that corresponds to the metadata configuration that you want to + * enable or disable journal table record expiration for. + *

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

+ * The Content-MD5 header for the journal table configuration. + *

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

+ * The checksum algorithm to use with your journal table configuration. + *

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

+ * The contents of your journal table configuration. + *

+ * @public + */ + JournalTableConfiguration: JournalTableConfigurationUpdates | undefined; + /** + *

+ * The expected owner of the general purpose bucket that corresponds to the metadata table + * configuration that you want to enable or disable journal table record expiration for. + *

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

+ * If SSEKMS is specified for ObjectEncryption, this data type specifies + * the Amazon Web Services KMS key Amazon Resource Name (ARN) to use and whether to use an S3 Bucket Key for + * server-side encryption using Key Management Service (KMS) keys (SSE-KMS). + *

+ * @public + */ +export interface SSEKMSEncryption { + /** + *

+ * Specifies the Amazon Web Services KMS key Amazon Resource Name (ARN) to use for the updated server-side encryption + * type. Required if ObjectEncryption specifies SSEKMS. + *

+ * + *

You must specify the full Amazon Web Services KMS key ARN. The KMS key ID and KMS key alias aren't + * supported.

+ *
+ *

Pattern: (arn:aws[-a-z0-9]*:kms:[-a-z0-9]*:[0-9]\{12\}:key/.+)

+ * @public + */ + KMSKeyArn: string | undefined; + /** + *

+ * Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption + * using Key Management Service (KMS) keys (SSE-KMS). If this value isn't specified, it defaults to false. + * Setting this value to true causes Amazon S3 to use an S3 Bucket Key for object encryption with + * SSE-KMS. For more information, see + * + * Using Amazon S3 Bucket Keys in the Amazon S3 User Guide. + *

+ *

Valid Values: true | false + *

+ * @public + */ + BucketKeyEnabled?: boolean | undefined; +} +/** + *

+ * The updated server-side encryption type for this object. The UpdateObjectEncryption + * operation supports the SSE-S3 and SSE-KMS encryption types. + *

+ *

Valid Values: SSES3 | SSEKMS + *

+ * @public + */ +export type ObjectEncryption = ObjectEncryption.SSEKMSMember | ObjectEncryption.$UnknownMember; +/** + * @public + */ +export declare namespace ObjectEncryption { + /** + *

+ * Specifies to update the object encryption type to server-side encryption with Key Management Service (KMS) keys + * (SSE-KMS). + *

+ * @public + */ + interface SSEKMSMember { + SSEKMS: SSEKMSEncryption; + $unknown?: never; + } + /** + * @public + */ + interface $UnknownMember { + SSEKMS?: never; + $unknown: [string, any]; + } + /** + * @deprecated unused in schema-serde mode. + * + */ + interface Visitor { + SSEKMS: (value: SSEKMSEncryption) => T; + _: (name: string, value: any) => T; + } +} +/** + * @public + */ +export interface UpdateObjectEncryptionRequest { + /** + *

+ * The name of the general purpose bucket that contains the specified object key name. + *

+ *

When you use this operation with an access point attached to a general purpose bucket, you + * must either provide the alias of the access point in place of the bucket name or you must specify + * the access point Amazon Resource Name (ARN). When using the access point ARN, you must direct + * requests to the access point hostname. The access point hostname takes the form + * + * AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. + * When using this operation with an access point through the Amazon Web Services SDKs, you provide the access point + * ARN in place of the bucket name. For more information about access point ARNs, see + * + * Referencing access points in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

+ * The key name of the object that you want to update the server-side encryption type for. + *

+ * @public + */ + Key: string | undefined; + /** + *

+ * The version ID of the object that you want to update the server-side encryption type for. + *

+ * @public + */ + VersionId?: string | undefined; + /** + *

+ * The updated server-side encryption type for this object. The UpdateObjectEncryption + * operation supports the SSE-S3 and SSE-KMS encryption types. + *

+ *

Valid Values: SSES3 | SSEKMS + *

+ * @public + */ + ObjectEncryption: ObjectEncryption | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

+ * The account ID of the expected bucket owner. If the account ID that you provide doesn't match the + * actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden + * (access denied). + *

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

+ * The MD5 hash for the request body. For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically. + *

+ * @public + */ + ContentMD5?: string | undefined; + /** + *

+ * Indicates the algorithm used to create the checksum for the object when you use an Amazon Web Services SDK. This header + * doesn't provide any additional functionality if you don't use the SDK. When you send this header, + * there must be a corresponding x-amz-checksum or x-amz-trailer header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see + * Checking object integrity in the Amazon S3 User Guide. + *

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; +} +/** + * @public + */ +export interface UpdateObjectEncryptionResponse { + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; +} +/** + * @public + */ +export interface UploadPartOutput { + /** + *

The server-side encryption algorithm used when you store this object in Amazon S3 or Amazon FSx.

+ * + *

When accessing data stored in Amazon FSx file systems using S3 access points, the only valid server side + * encryption option is aws:fsx.

+ *
+ * @public + */ + ServerSideEncryption?: ServerSideEncryption | undefined; + /** + *

Entity tag for the uploaded object.

+ * @public + */ + ETag?: string | undefined; + /** + *

The Base64 encoded, 32-bit CRC32 checksum of the object. This checksum is only present if the checksum was uploaded + * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated + * with multipart uploads, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32?: string | undefined; + /** + *

The Base64 encoded, 32-bit CRC32C checksum of the object. This checksum is only present if the checksum was uploaded + * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated + * with multipart uploads, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32C?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data + * that was originally sent. This header specifies the Base64 encoded, 64-bit CRC64NVME + * checksum of the part. For more information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC64NVME?: string | undefined; + /** + *

The Base64 encoded, 160-bit SHA1 digest of the object. This checksum is only present if the checksum was uploaded + * with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated + * with multipart uploads, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA1?: string | undefined; + /** + *

The Base64 encoded, 256-bit SHA256 digest of the object. This checksum is only present if the checksum was uploaded + * with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated + * with multipart uploads, see + * Checking object integrity in the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA256?: string | undefined; + /** + *

If server-side encryption with a customer-provided encryption key was requested, the response will + * include this header to confirm the encryption algorithm that's used.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerAlgorithm?: string | undefined; + /** + *

If server-side encryption with a customer-provided encryption key was requested, the response will + * include this header to provide the round-trip message integrity verification of the customer-provided + * encryption key.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKeyMD5?: string | undefined; + /** + *

If present, indicates the ID of the KMS key that was used for object encryption.

+ * @public + */ + SSEKMSKeyId?: string | undefined; + /** + *

Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with + * Key Management Service (KMS) keys (SSE-KMS).

+ * @public + */ + BucketKeyEnabled?: boolean | undefined; + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; +} +/** + * @public + */ +export interface UploadPartRequest { + /** + *

Object data.

+ * @public + */ + Body?: StreamingBlobTypes | undefined; + /** + *

The name of the bucket to which the multipart upload was initiated.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format + * Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * amzn-s3-demo-bucket--usw2-az1--x-s3). For information about bucket naming + * restrictions, see Directory bucket naming + * rules in the Amazon S3 User Guide.

+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ * + *

Object Lambda access points are not supported by directory buckets.

+ *
+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Size of the body in bytes. This parameter is useful when the size of the body cannot be determined + * automatically.

+ * @public + */ + ContentLength?: number | undefined; + /** + *

The Base64 encoded 128-bit MD5 digest of the part data. This parameter is auto-populated when using + * the command from the CLI. This parameter is required if object lock parameters are specified.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + ContentMD5?: string | undefined; + /** + *

Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any + * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or + * x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more + * information, see Checking object integrity in + * the Amazon S3 User Guide.

+ *

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm + * parameter.

+ *

This checksum algorithm must be the same for all parts and it match the checksum value supplied in + * the CreateMultipartUpload request.

+ * @public + */ + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. + * This header specifies the Base64 encoded, 32-bit CRC32 checksum of the object. For more information, see + * Checking object integrity in the + * Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. + * This header specifies the Base64 encoded, 32-bit CRC32C checksum of the object. For more information, see + * Checking object integrity in the + * Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32C?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data + * that was originally sent. This header specifies the Base64 encoded, 64-bit CRC64NVME + * checksum of the part. For more information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC64NVME?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. + * This header specifies the Base64 encoded, 160-bit SHA1 digest of the object. For more information, see + * Checking object integrity in the + * Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA1?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. + * This header specifies the Base64 encoded, 256-bit SHA256 digest of the object. For more information, see + * Checking object integrity in the + * Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA256?: string | undefined; + /** + *

Object key for which the multipart upload was initiated.

+ * @public + */ + Key: string | undefined; + /** + *

Part number of part being uploaded. This is a positive integer between 1 and 10,000.

+ * @public + */ + PartNumber: number | undefined; + /** + *

Upload ID identifying the multipart upload whose part is being uploaded.

+ * @public + */ + UploadId: string | undefined; + /** + *

Specifies the algorithm to use when encrypting the object (for example, AES256).

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerAlgorithm?: string | undefined; + /** + *

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is + * used to store the object and then it is discarded; Amazon S3 does not store the encryption key. The key must + * be appropriate for use with the algorithm specified in the + * x-amz-server-side-encryption-customer-algorithm header. This must be the same encryption + * key specified in the initiate multipart upload request.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKey?: string | undefined; + /** + *

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header + * for a message integrity check to ensure that the encryption key was transmitted without error.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKeyMD5?: string | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; +} +/** + *

Container for all response elements.

+ * @public + */ +export interface CopyPartResult { + /** + *

Entity tag of the object.

+ * @public + */ + ETag?: string | undefined; + /** + *

Date and time at which the object was uploaded.

+ * @public + */ + LastModified?: Date | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data + * that was originally sent. This header specifies the Base64 encoded, 32-bit CRC32 checksum + * of the part. For more information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data + * that was originally sent. This header specifies the Base64 encoded, 32-bit CRC32C checksum + * of the part. For more information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC32C?: string | undefined; + /** + *

The Base64 encoded, 64-bit CRC64NVME checksum of the part. This checksum is present if + * the multipart upload request was created with the CRC64NVME checksum algorithm to the + * uploaded object). For more information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC64NVME?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data + * that was originally sent. This header specifies the Base64 encoded, 160-bit SHA1 checksum + * of the part. For more information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA1?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data + * that was originally sent. This header specifies the Base64 encoded, 256-bit SHA256 checksum + * of the part. For more information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumSHA256?: string | undefined; +} +/** + * @public + */ +export interface UploadPartCopyOutput { + /** + *

The version of the source object that was copied, if you have enabled versioning on the source + * bucket.

+ * + *

This functionality is not supported when the source object is in a directory bucket.

+ *
+ * @public + */ + CopySourceVersionId?: string | undefined; + /** + *

Container for all response elements.

+ * @public + */ + CopyPartResult?: CopyPartResult | undefined; + /** + *

The server-side encryption algorithm used when you store this object in Amazon S3 or Amazon FSx.

+ * + *

When accessing data stored in Amazon FSx file systems using S3 access points, the only valid server side + * encryption option is aws:fsx.

+ *
+ * @public + */ + ServerSideEncryption?: ServerSideEncryption | undefined; + /** + *

If server-side encryption with a customer-provided encryption key was requested, the response will + * include this header to confirm the encryption algorithm that's used.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerAlgorithm?: string | undefined; + /** + *

If server-side encryption with a customer-provided encryption key was requested, the response will + * include this header to provide the round-trip message integrity verification of the customer-provided + * encryption key.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + SSECustomerKeyMD5?: string | undefined; + /** + *

If present, indicates the ID of the KMS key that was used for object encryption.

+ * @public + */ + SSEKMSKeyId?: string | undefined; + /** + *

Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with + * Key Management Service (KMS) keys (SSE-KMS).

+ * @public + */ + BucketKeyEnabled?: boolean | undefined; + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; +} +/** + * @public + */ +export interface UploadPartCopyRequest { + /** + *

The bucket name.

+ *

+ * Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format + * Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format + * bucket-base-name--zone-id--x-s3 (for example, + * amzn-s3-demo-bucket--usw2-az1--x-s3). For information about bucket naming + * restrictions, see Directory bucket naming + * rules in the Amazon S3 User Guide.

+ * + *

Copying objects across different Amazon Web Services Regions isn't supported when the source or destination + * bucket is in Amazon Web Services Local Zones. The source and destination buckets must have the same parent Amazon Web Services Region. + * Otherwise, you get an HTTP 400 Bad Request error with the error code + * InvalidRequest.

+ *
+ *

+ * Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

+ * + *

Object Lambda access points are not supported by directory buckets.

+ *
+ *

+ * S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the + * form + * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see What is S3 on Outposts? in the Amazon S3 User Guide.

+ *

Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. + * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues

+ * @public + */ + Bucket: string | undefined; + /** + *

Specifies the source object for the copy operation. You specify the value in one of two formats, + * depending on whether you want to access the source object through an access point:

+ *
    + *
  • + *

    For objects not accessed through an access point, specify the name of the source bucket and key of the + * source object, separated by a slash (/). For example, to copy the object + * reports/january.pdf from the bucket awsexamplebucket, use + * awsexamplebucket/reports/january.pdf. The value must be URL-encoded.

    + *
  • + *
  • + *

    For objects accessed through access points, specify the Amazon Resource Name (ARN) of the object as accessed through the access point, in the format arn:aws:s3:::accesspoint//object/. For example, to copy the object reports/january.pdf through access point my-access-point owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf. The value must be URL encoded.

    + * + *
      + *
    • + *

      Amazon S3 supports copy operations using Access points only when the source and destination buckets are in the same Amazon Web Services Region.

      + *
    • + *
    • + *

      Access points are not supported by directory buckets.

      + *
    • + *
    + *
    + *

    Alternatively, for objects accessed through Amazon S3 on Outposts, specify the ARN of the object as accessed in the format arn:aws:s3-outposts:::outpost//object/. For example, to copy the object reports/january.pdf through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf. The value must be URL-encoded.

    + *
  • + *
+ *

If your bucket has versioning enabled, you could have multiple versions of the same object. By + * default, x-amz-copy-source identifies the current version of the source object to copy. To + * copy a specific version of the source object to copy, append ?versionId= to + * the x-amz-copy-source request header (for example, x-amz-copy-source: + * /awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893).

+ *

If the current version is a delete marker and you don't specify a versionId in the + * x-amz-copy-source request header, Amazon S3 returns a 404 Not Found error, + * because the object does not exist. If you specify versionId in the x-amz-copy-source and + * the versionId is a delete marker, Amazon S3 returns an HTTP 400 Bad Request error, because you + * are not allowed to specify a delete marker as a version for the x-amz-copy-source.

+ * + *

+ * Directory buckets - S3 Versioning isn't enabled and supported for directory buckets.

+ *
+ * @public + */ + CopySource: string | undefined; + /** + *

Copies the object if its entity tag (ETag) matches the specified tag.

+ *

If both of the x-amz-copy-source-if-match and + * x-amz-copy-source-if-unmodified-since headers are present in the request as + * follows:

+ *

+ * x-amz-copy-source-if-match condition evaluates to true, and;

+ *

+ * x-amz-copy-source-if-unmodified-since condition evaluates to false;

+ *

Amazon S3 returns 200 OK and copies the data. + *

+ * @public + */ + CopySourceIfMatch?: string | undefined; + /** + *

Copies the object if it has been modified since the specified time.

+ *

If both of the x-amz-copy-source-if-none-match and + * x-amz-copy-source-if-modified-since headers are present in the request as follows:

+ *

+ * x-amz-copy-source-if-none-match condition evaluates to false, and;

+ *

+ * x-amz-copy-source-if-modified-since condition evaluates to true;

+ *

Amazon S3 returns 412 Precondition Failed response code. + *

+ * @public + */ + CopySourceIfModifiedSince?: Date | undefined; + /** + *

Copies the object if its entity tag (ETag) is different than the specified ETag.

+ *

If both of the x-amz-copy-source-if-none-match and + * x-amz-copy-source-if-modified-since headers are present in the request as follows:

+ *

+ * x-amz-copy-source-if-none-match condition evaluates to false, and;

+ *

+ * x-amz-copy-source-if-modified-since condition evaluates to true;

+ *

Amazon S3 returns 412 Precondition Failed response code. + *

+ * @public + */ + CopySourceIfNoneMatch?: string | undefined; + /** + *

Copies the object if it hasn't been modified since the specified time.

+ *

If both of the x-amz-copy-source-if-match and + * x-amz-copy-source-if-unmodified-since headers are present in the request as + * follows:

+ *

+ * x-amz-copy-source-if-match condition evaluates to true, and;

+ *

+ * x-amz-copy-source-if-unmodified-since condition evaluates to false;

+ *

Amazon S3 returns 200 OK and copies the data. + *

+ * @public + */ + CopySourceIfUnmodifiedSince?: Date | undefined; + /** + *

The range of bytes to copy from the source object. The range value must use the form + * bytes=first-last, where the first and last are the zero-based byte offsets to copy. For example, + * bytes=0-9 indicates that you want to copy the first 10 bytes of the source. You can copy a range only if + * the source object is greater than 5 MB.

+ * @public + */ + CopySourceRange?: string | undefined; + /** + *

Object key for which the multipart upload was initiated.

+ * @public + */ + Key: string | undefined; + /** + *

Part number of part being copied. This is a positive integer between 1 and 10,000.

+ * @public + */ + PartNumber: number | undefined; + /** + *

Upload ID identifying the multipart upload whose part is being copied.

+ * @public + */ + UploadId: string | undefined; + /** + *

Specifies the algorithm to use when encrypting the object (for example, AES256).

+ * + *

This functionality is not supported when the destination bucket is a directory bucket.

+ *
+ * @public + */ + SSECustomerAlgorithm?: string | undefined; + /** + *

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is + * used to store the object and then it is discarded; Amazon S3 does not store the encryption key. The key must + * be appropriate for use with the algorithm specified in the + * x-amz-server-side-encryption-customer-algorithm header. This must be the same encryption + * key specified in the initiate multipart upload request.

+ * + *

This functionality is not supported when the destination bucket is a directory bucket.

+ *
+ * @public + */ + SSECustomerKey?: string | undefined; + /** + *

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header + * for a message integrity check to ensure that the encryption key was transmitted without error.

+ * + *

This functionality is not supported when the destination bucket is a directory bucket.

+ *
+ * @public + */ + SSECustomerKeyMD5?: string | undefined; + /** + *

Specifies the algorithm to use when decrypting the source object (for example, + * AES256).

+ * + *

This functionality is not supported when the source object is in a directory bucket.

+ *
+ * @public + */ + CopySourceSSECustomerAlgorithm?: string | undefined; + /** + *

Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source object. The + * encryption key provided in this header must be one that was used when the source object was + * created.

+ * + *

This functionality is not supported when the source object is in a directory bucket.

+ *
+ * @public + */ + CopySourceSSECustomerKey?: string | undefined; + /** + *

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header + * for a message integrity check to ensure that the encryption key was transmitted without error.

+ * + *

This functionality is not supported when the source object is in a directory bucket.

+ *
+ * @public + */ + CopySourceSSECustomerKeyMD5?: string | undefined; + /** + *

Confirms that the requester knows that they will be charged for the request. Bucket owners need not + * specify this parameter in their requests. If either the source or destination S3 bucket has Requester + * Pays enabled, the requester will pay for the corresponding charges. For information about + * downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays + * Buckets in the Amazon S3 User Guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestPayer?: RequestPayer | undefined; + /** + *

The account ID of the expected destination bucket owner. If the account ID that you provide does not match the actual owner of the destination bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedBucketOwner?: string | undefined; + /** + *

The account ID of the expected source bucket owner. If the account ID that you provide does not match the actual owner of the source bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

+ * @public + */ + ExpectedSourceBucketOwner?: string | undefined; +} +/** + * @public + */ +export interface WriteGetObjectResponseRequest { + /** + *

Route prefix to the HTTP URL generated.

+ * @public + */ + RequestRoute: string | undefined; + /** + *

A single use encrypted token that maps WriteGetObjectResponse to the end user + * GetObject request.

+ * @public + */ + RequestToken: string | undefined; + /** + *

The object data.

+ * @public + */ + Body?: StreamingBlobTypes | undefined; + /** + *

The integer status code for an HTTP response of a corresponding GetObject request. The + * following is a list of status codes.

+ *
    + *
  • + *

    + * 200 - OK + *

    + *
  • + *
  • + *

    + * 206 - Partial Content + *

    + *
  • + *
  • + *

    + * 304 - Not Modified + *

    + *
  • + *
  • + *

    + * 400 - Bad Request + *

    + *
  • + *
  • + *

    + * 401 - Unauthorized + *

    + *
  • + *
  • + *

    + * 403 - Forbidden + *

    + *
  • + *
  • + *

    + * 404 - Not Found + *

    + *
  • + *
  • + *

    + * 405 - Method Not Allowed + *

    + *
  • + *
  • + *

    + * 409 - Conflict + *

    + *
  • + *
  • + *

    + * 411 - Length Required + *

    + *
  • + *
  • + *

    + * 412 - Precondition Failed + *

    + *
  • + *
  • + *

    + * 416 - Range Not Satisfiable + *

    + *
  • + *
  • + *

    + * 500 - Internal Server Error + *

    + *
  • + *
  • + *

    + * 503 - Service Unavailable + *

    + *
  • + *
+ * @public + */ + StatusCode?: number | undefined; + /** + *

A string that uniquely identifies an error condition. Returned in the tag of the error + * XML response for a corresponding GetObject call. Cannot be used with a successful + * StatusCode header or when the transformed object is provided in the body. All error codes + * from S3 are sentence-cased. The regular expression (regex) value is + * "^[A-Z][a-zA-Z]+$".

+ * @public + */ + ErrorCode?: string | undefined; + /** + *

Contains a generic description of the error condition. Returned in the tag of the + * error XML response for a corresponding GetObject call. Cannot be used with a successful + * StatusCode header or when the transformed object is provided in body.

+ * @public + */ + ErrorMessage?: string | undefined; + /** + *

Indicates that a range of bytes was specified.

+ * @public + */ + AcceptRanges?: string | undefined; + /** + *

Specifies caching behavior along the request/reply chain.

+ * @public + */ + CacheControl?: string | undefined; + /** + *

Specifies presentational information for the object.

+ * @public + */ + ContentDisposition?: string | undefined; + /** + *

Specifies what content encodings have been applied to the object and thus what decoding mechanisms + * must be applied to obtain the media-type referenced by the Content-Type header field.

+ * @public + */ + ContentEncoding?: string | undefined; + /** + *

The language the content is in.

+ * @public + */ + ContentLanguage?: string | undefined; + /** + *

The size of the content body in bytes.

+ * @public + */ + ContentLength?: number | undefined; + /** + *

The portion of the object returned in the response.

+ * @public + */ + ContentRange?: string | undefined; + /** + *

A standard MIME type describing the format of the object data.

+ * @public + */ + ContentType?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data + * that was originally sent. This specifies the Base64 encoded, 32-bit CRC32 checksum of the + * object returned by the Object Lambda function. This may not match the checksum for the object stored in + * Amazon S3. Amazon S3 will perform validation of the checksum values only when the original GetObject + * request required checksum validation. For more information about checksums, see Checking object + * integrity in the Amazon S3 User Guide.

+ *

Only one checksum header can be specified at a time. If you supply multiple checksum headers, this + * request will fail.

+ *

+ * @public + */ + ChecksumCRC32?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data + * that was originally sent. This specifies the Base64 encoded, 32-bit CRC32C checksum of the + * object returned by the Object Lambda function. This may not match the checksum for the object stored in + * Amazon S3. Amazon S3 will perform validation of the checksum values only when the original GetObject + * request required checksum validation. For more information about checksums, see Checking object + * integrity in the Amazon S3 User Guide.

+ *

Only one checksum header can be specified at a time. If you supply multiple checksum headers, this + * request will fail.

+ * @public + */ + ChecksumCRC32C?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data + * that was originally sent. This header specifies the Base64 encoded, 64-bit CRC64NVME + * checksum of the part. For more information, see Checking object integrity in + * the Amazon S3 User Guide.

+ * @public + */ + ChecksumCRC64NVME?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data + * that was originally sent. This specifies the Base64 encoded, 160-bit SHA1 digest of the + * object returned by the Object Lambda function. This may not match the checksum for the object stored in + * Amazon S3. Amazon S3 will perform validation of the checksum values only when the original GetObject + * request required checksum validation. For more information about checksums, see Checking object + * integrity in the Amazon S3 User Guide.

+ *

Only one checksum header can be specified at a time. If you supply multiple checksum headers, this + * request will fail.

+ * @public + */ + ChecksumSHA1?: string | undefined; + /** + *

This header can be used as a data integrity check to verify that the data received is the same data + * that was originally sent. This specifies the Base64 encoded, 256-bit SHA256 digest of the + * object returned by the Object Lambda function. This may not match the checksum for the object stored in + * Amazon S3. Amazon S3 will perform validation of the checksum values only when the original GetObject + * request required checksum validation. For more information about checksums, see Checking object + * integrity in the Amazon S3 User Guide.

+ *

Only one checksum header can be specified at a time. If you supply multiple checksum headers, this + * request will fail.

+ * @public + */ + ChecksumSHA256?: string | undefined; + /** + *

Specifies whether an object stored in Amazon S3 is (true) or is not (false) a + * delete marker. To learn more about delete markers, see Working with delete markers.

+ * @public + */ + DeleteMarker?: boolean | undefined; + /** + *

An opaque identifier assigned by a web server to a specific version of a resource found at a URL. + *

+ * @public + */ + ETag?: string | undefined; + /** + *

The date and time at which the object is no longer cacheable.

+ * @public + */ + Expires?: Date | undefined; + /** + *

If the object expiration is configured (see PUT Bucket lifecycle), the response includes this + * header. It includes the expiry-date and rule-id key-value pairs that provide + * the object expiration information. The value of the rule-id is URL-encoded.

+ * @public + */ + Expiration?: string | undefined; + /** + *

The date and time that the object was last modified.

+ * @public + */ + LastModified?: Date | undefined; + /** + *

Set to the number of metadata entries not returned in x-amz-meta headers. This can + * happen if you create metadata using an API like SOAP that supports more flexible metadata than the REST + * API. For example, using SOAP, you can create metadata whose values are not legal HTTP headers.

+ * @public + */ + MissingMeta?: number | undefined; + /** + *

A map of metadata to store with the object in S3.

+ * @public + */ + Metadata?: Record | undefined; + /** + *

Indicates whether an object stored in Amazon S3 has Object Lock enabled. For more information about S3 + * Object Lock, see Object + * Lock.

+ * @public + */ + ObjectLockMode?: ObjectLockMode | undefined; + /** + *

Indicates whether an object stored in Amazon S3 has an active legal hold.

+ * @public + */ + ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined; + /** + *

The date and time when Object Lock is configured to expire.

+ * @public + */ + ObjectLockRetainUntilDate?: Date | undefined; + /** + *

The count of parts this object has.

+ * @public + */ + PartsCount?: number | undefined; + /** + *

Indicates if request involves bucket that is either a source or destination in a Replication rule. + * For more information about S3 Replication, see Replication.

+ * @public + */ + ReplicationStatus?: ReplicationStatus | undefined; + /** + *

If present, indicates that the requester was successfully charged for the request. For more + * information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple + * Storage Service user guide.

+ * + *

This functionality is not supported for directory buckets.

+ *
+ * @public + */ + RequestCharged?: RequestCharged | undefined; + /** + *

Provides information about object restoration operation and expiration time of the restored object + * copy.

+ * @public + */ + Restore?: string | undefined; + /** + *

The server-side encryption algorithm used when storing requested object in Amazon S3 or Amazon FSx.

+ * + *

When accessing data stored in Amazon FSx file systems using S3 access points, the only valid server side + * encryption option is aws:fsx.

+ *
+ * @public + */ + ServerSideEncryption?: ServerSideEncryption | undefined; + /** + *

Encryption algorithm used if server-side encryption with a customer-provided encryption key was + * specified for object stored in Amazon S3.

+ * @public + */ + SSECustomerAlgorithm?: string | undefined; + /** + *

If present, specifies the ID (Key ID, Key ARN, or Key Alias) of the Amazon Web Services Key Management Service + * (Amazon Web Services KMS) symmetric encryption customer managed key that was used for stored in Amazon S3 object.

+ * @public + */ + SSEKMSKeyId?: string | undefined; + /** + *

128-bit MD5 digest of customer-provided encryption key used in Amazon S3 to encrypt data stored in S3. + * For more information, see Protecting data using + * server-side encryption with customer-provided encryption keys (SSE-C).

+ * @public + */ + SSECustomerKeyMD5?: string | undefined; + /** + *

Provides storage class information of the object. Amazon S3 returns this header for all objects except + * for S3 Standard storage class objects.

+ *

For more information, see Storage Classes.

+ * @public + */ + StorageClass?: StorageClass | undefined; + /** + *

The number of tags, if any, on the object.

+ * @public + */ + TagCount?: number | undefined; + /** + *

An ID used to reference a specific version of the object.

+ * @public + */ + VersionId?: string | undefined; + /** + *

Indicates whether the object stored in Amazon S3 uses an S3 bucket key for server-side encryption with + * Amazon Web Services KMS (SSE-KMS).

+ * @public + */ + BucketKeyEnabled?: boolean | undefined; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/pagination/Interfaces.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/pagination/Interfaces.d.ts new file mode 100644 index 0000000..74637ae --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/pagination/Interfaces.d.ts @@ -0,0 +1,8 @@ +import type { PaginationConfiguration } from "@smithy/types"; +import { S3Client } from "../S3Client"; +/** + * @public + */ +export interface S3PaginationConfiguration extends PaginationConfiguration { + client: S3Client; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListBucketsPaginator.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListBucketsPaginator.d.ts new file mode 100644 index 0000000..a604b49 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListBucketsPaginator.d.ts @@ -0,0 +1,7 @@ +import type { Paginator } from "@smithy/types"; +import { ListBucketsCommandInput, ListBucketsCommandOutput } from "../commands/ListBucketsCommand"; +import type { S3PaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare const paginateListBuckets: (config: S3PaginationConfiguration, input: ListBucketsCommandInput, ...rest: any[]) => Paginator; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts new file mode 100644 index 0000000..beae798 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts @@ -0,0 +1,7 @@ +import type { Paginator } from "@smithy/types"; +import { ListDirectoryBucketsCommandInput, ListDirectoryBucketsCommandOutput } from "../commands/ListDirectoryBucketsCommand"; +import type { S3PaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare const paginateListDirectoryBuckets: (config: S3PaginationConfiguration, input: ListDirectoryBucketsCommandInput, ...rest: any[]) => Paginator; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts new file mode 100644 index 0000000..30e6fb9 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts @@ -0,0 +1,7 @@ +import type { Paginator } from "@smithy/types"; +import { ListObjectsV2CommandInput, ListObjectsV2CommandOutput } from "../commands/ListObjectsV2Command"; +import type { S3PaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare const paginateListObjectsV2: (config: S3PaginationConfiguration, input: ListObjectsV2CommandInput, ...rest: any[]) => Paginator; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts new file mode 100644 index 0000000..018f69f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts @@ -0,0 +1,7 @@ +import type { Paginator } from "@smithy/types"; +import { ListPartsCommandInput, ListPartsCommandOutput } from "../commands/ListPartsCommand"; +import type { S3PaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare const paginateListParts: (config: S3PaginationConfiguration, input: ListPartsCommandInput, ...rest: any[]) => Paginator; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts new file mode 100644 index 0000000..9438ebe --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts @@ -0,0 +1,5 @@ +export * from "./Interfaces"; +export * from "./ListBucketsPaginator"; +export * from "./ListDirectoryBucketsPaginator"; +export * from "./ListObjectsV2Paginator"; +export * from "./ListPartsPaginator"; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts new file mode 100644 index 0000000..54a62fb --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts @@ -0,0 +1,87 @@ +import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; +import type { S3ClientConfig } from "./S3Client"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: S3ClientConfig) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise); + defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise; + eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider; + maxAttempts: number | import("@smithy/types").Provider; + md5: import("@smithy/types").HashConstructor; + region: string | import("@smithy/types").Provider; + requestHandler: import("@smithy/protocol-http").HttpHandler | RequestHandler; + retryMode: string | import("@smithy/types").Provider; + sha1: import("@smithy/types").HashConstructor; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + streamHasher: import("@smithy/types").StreamHasher | import("@smithy/types").StreamHasher; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + cacheMiddleware?: boolean | undefined; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/middleware-sdk-s3").S3RestXmlProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + getAwsChunkedEncodingStream: import("@smithy/types").GetAwsChunkedEncodingStream | typeof import("@smithy/util-stream").getAwsChunkedEncodingStream; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + signingEscapePath: boolean; + useArnRegion: boolean | undefined | import("@smithy/types").Provider; + sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: string | undefined | import("@smithy/types").Provider; + requestChecksumCalculation?: import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation | import("@smithy/types").Provider; + responseChecksumValidation?: import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation | import("@smithy/types").Provider; + requestStreamBufferSize?: number | false; + checksumAlgorithms?: { + CRC32?: import("@smithy/types").ChecksumConstructor; + CRC32C?: import("@smithy/types").ChecksumConstructor; + CRC64NVME?: import("@smithy/types").ChecksumConstructor; + SHA1?: import("@smithy/types").ChecksumConstructor; + SHA256?: import("@smithy/types").ChecksumConstructor; + } & { + [algorithmId: string]: import("@smithy/types").ChecksumConstructor; + }; + retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; + endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; + endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider; + credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); + systemClockOffset?: number; + signingRegion?: string; + signerConstructor: typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion | (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner); + sigv4aSigningRegionSet?: string[] | undefined | import("@smithy/types").Provider; + forcePathStyle?: (boolean & (boolean | import("@smithy/types").Provider)) | undefined; + useAccelerateEndpoint?: (boolean & (boolean | import("@smithy/types").Provider)) | undefined; + disableMultiregionAccessPoints?: (boolean & (boolean | import("@smithy/types").Provider)) | undefined; + followRegionRedirects?: boolean; + s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider; + bucketEndpoint?: boolean; + expectContinueHeader?: boolean | number; + clientContextParams?: { + disableS3ExpressSessionAuth?: boolean | undefined | import("@smithy/types").Provider; + }; + useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider; + disableS3ExpressSessionAuth?: boolean | undefined | import("@smithy/types").Provider; +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts new file mode 100644 index 0000000..7bde590 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts @@ -0,0 +1,88 @@ +import { ChecksumConstructor as __ChecksumConstructor, HashConstructor as __HashConstructor } from "@aws-sdk/types"; +import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; +import type { S3ClientConfig } from "./S3Client"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: S3ClientConfig) => { + runtime: string; + defaultsMode: import("@aws-sdk/types").Provider; + authSchemePreference: string[] | import("@aws-sdk/types").Provider; + bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator; + credentialDefaultProvider: ((input: any) => import("@aws-sdk/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider); + defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise; + disableS3ExpressSessionAuth: boolean | import("@aws-sdk/types").Provider; + eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider; + maxAttempts: number | import("@aws-sdk/types").Provider; + md5: __HashConstructor; + region: string | import("@aws-sdk/types").Provider; + requestChecksumCalculation: import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation | import("@aws-sdk/types").Provider; + requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler; + responseChecksumValidation: import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation | import("@aws-sdk/types").Provider; + retryMode: string | import("@aws-sdk/types").Provider; + sha1: __HashConstructor; + sha256: __HashConstructor; + sigv4aSigningRegionSet: string[] | import("@aws-sdk/types").Provider; + streamCollector: import("@aws-sdk/types").StreamCollector; + streamHasher: import("@aws-sdk/types").StreamHasher | import("@aws-sdk/types").StreamHasher; + useArnRegion: boolean | import("@aws-sdk/types").Provider; + useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider; + useFipsEndpoint: boolean | import("@aws-sdk/types").Provider; + userAgentAppId: string | import("@aws-sdk/types").Provider; + cacheMiddleware?: boolean | undefined; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/middleware-sdk-s3").S3RestXmlProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@aws-sdk/types").UrlParser; + base64Decoder: import("@aws-sdk/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@aws-sdk/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + getAwsChunkedEncodingStream: import("@aws-sdk/types").GetAwsChunkedEncodingStream | typeof import("@smithy/util-stream").getAwsChunkedEncodingStream; + logger: import("@aws-sdk/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + signingEscapePath: boolean; + sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector; + customUserAgent?: string | import("@aws-sdk/types").UserAgent; + requestStreamBufferSize?: number | false; + checksumAlgorithms?: { + CRC32?: __ChecksumConstructor; + CRC32C?: __ChecksumConstructor; + CRC64NVME?: __ChecksumConstructor; + SHA1?: __ChecksumConstructor; + SHA256?: __ChecksumConstructor; + } & { + [algorithmId: string]: __ChecksumConstructor; + }; + retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2; + endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider) & (string | import("@aws-sdk/types").Provider | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider)) | undefined; + endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@aws-sdk/types").Logger; + }) => import("@aws-sdk/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider; + credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").AwsCredentialIdentityProvider; + signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme) => Promise); + systemClockOffset?: number; + signingRegion?: string; + signerConstructor: typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion | (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner); + forcePathStyle?: (boolean & (boolean | import("@aws-sdk/types").Provider)) | undefined; + useAccelerateEndpoint?: (boolean & (boolean | import("@aws-sdk/types").Provider)) | undefined; + disableMultiregionAccessPoints?: (boolean & (boolean | import("@aws-sdk/types").Provider)) | undefined; + followRegionRedirects?: boolean; + s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider; + bucketEndpoint?: boolean; + expectContinueHeader?: boolean | number; + clientContextParams?: { + disableS3ExpressSessionAuth?: boolean | undefined | import("@aws-sdk/types").Provider; + }; + useGlobalEndpoint?: boolean | undefined | import("@aws-sdk/types").Provider; +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts new file mode 100644 index 0000000..282ee7d --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts @@ -0,0 +1,86 @@ +import type { S3ClientConfig } from "./S3Client"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: S3ClientConfig) => { + runtime: string; + sha256: import("@smithy/types").HashConstructor; + requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record | import("@smithy/protocol-http").HttpHandler | import("@smithy/fetch-http-handler").FetchHttpHandler; + cacheMiddleware?: boolean; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/middleware-sdk-s3").S3RestXmlProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + streamCollector: import("@smithy/types").StreamCollector; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + region: string | import("@smithy/types").Provider; + profile?: string; + defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise; + streamHasher: import("@smithy/types").StreamHasher | import("@smithy/types").StreamHasher; + md5: import("@smithy/types").HashConstructor; + sha1: import("@smithy/types").HashConstructor; + getAwsChunkedEncodingStream: import("@smithy/types").GetAwsChunkedEncodingStream | typeof import("@smithy/util-stream").getAwsChunkedEncodingStream; + credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise); + maxAttempts: number | import("@smithy/types").Provider; + retryMode: string | import("@smithy/types").Provider; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider; + defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider; + signingEscapePath: boolean; + useArnRegion: boolean | undefined | import("@smithy/types").Provider; + sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: string | undefined | import("@smithy/types").Provider; + requestChecksumCalculation?: import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation | import("@smithy/types").Provider; + responseChecksumValidation?: import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation | import("@smithy/types").Provider; + requestStreamBufferSize?: number | false; + checksumAlgorithms?: { + CRC32?: import("@smithy/types").ChecksumConstructor; + CRC32C?: import("@smithy/types").ChecksumConstructor; + CRC64NVME?: import("@smithy/types").ChecksumConstructor; + SHA1?: import("@smithy/types").ChecksumConstructor; + SHA256?: import("@smithy/types").ChecksumConstructor; + } & { + [algorithmId: string]: import("@smithy/types").ChecksumConstructor; + }; + retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; + endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; + endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider; + credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); + systemClockOffset?: number; + signingRegion?: string; + signerConstructor: typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion | (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner); + sigv4aSigningRegionSet?: string[] | undefined | import("@smithy/types").Provider; + forcePathStyle?: (boolean & (boolean | import("@smithy/types").Provider)) | undefined; + useAccelerateEndpoint?: (boolean & (boolean | import("@smithy/types").Provider)) | undefined; + disableMultiregionAccessPoints?: (boolean & (boolean | import("@smithy/types").Provider)) | undefined; + followRegionRedirects?: boolean; + s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider; + bucketEndpoint?: boolean; + expectContinueHeader?: boolean | number; + clientContextParams?: { + disableS3ExpressSessionAuth?: boolean | undefined | import("@smithy/types").Provider; + }; + useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider; + disableS3ExpressSessionAuth?: boolean | undefined | import("@smithy/types").Provider; +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts new file mode 100644 index 0000000..555479a --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts @@ -0,0 +1,34 @@ +import { S3RestXmlProtocol } from "@aws-sdk/middleware-sdk-s3"; +import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region"; +import { getAwsChunkedEncodingStream } from "@smithy/util-stream"; +import type { S3ClientConfig } from "./S3Client"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: S3ClientConfig) => { + apiVersion: string; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + disableHostPrefix: boolean; + endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + getAwsChunkedEncodingStream: import("@smithy/types").GetAwsChunkedEncodingStream | typeof getAwsChunkedEncodingStream; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; + logger: import("@smithy/types").Logger; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof S3RestXmlProtocol; + protocolSettings: { + [setting: string]: unknown; + defaultNamespace?: string; + }; + sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector; + serviceId: string; + signerConstructor: typeof SignatureV4MultiRegion | (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner); + signingEscapePath: boolean; + urlParser: import("@smithy/types").UrlParser; + useArnRegion: boolean | import("@smithy/types").Provider | undefined; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/runtimeExtensions.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/runtimeExtensions.d.ts new file mode 100644 index 0000000..1c8c846 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/runtimeExtensions.d.ts @@ -0,0 +1,17 @@ +import type { S3ExtensionConfiguration } from "./extensionConfiguration"; +/** + * @public + */ +export interface RuntimeExtension { + configure(extensionConfiguration: S3ExtensionConfiguration): void; +} +/** + * @public + */ +export interface RuntimeExtensionsConfig { + extensions: RuntimeExtension[]; +} +/** + * @internal + */ +export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/schemas/schemas_0.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/schemas/schemas_0.d.ts new file mode 100644 index 0000000..3d4cb0a --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/schemas/schemas_0.d.ts @@ -0,0 +1,464 @@ +import { TypeRegistry } from "@smithy/core/schema"; +import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types"; +export declare var S3ServiceException$: StaticErrorSchema; +export declare var AccessDenied$: StaticErrorSchema; +export declare var BucketAlreadyExists$: StaticErrorSchema; +export declare var BucketAlreadyOwnedByYou$: StaticErrorSchema; +export declare var EncryptionTypeMismatch$: StaticErrorSchema; +export declare var IdempotencyParameterMismatch$: StaticErrorSchema; +export declare var InvalidObjectState$: StaticErrorSchema; +export declare var InvalidRequest$: StaticErrorSchema; +export declare var InvalidWriteOffset$: StaticErrorSchema; +export declare var NoSuchBucket$: StaticErrorSchema; +export declare var NoSuchKey$: StaticErrorSchema; +export declare var NoSuchUpload$: StaticErrorSchema; +export declare var NotFound$: StaticErrorSchema; +export declare var ObjectAlreadyInActiveTierError$: StaticErrorSchema; +export declare var ObjectNotInActiveTierError$: StaticErrorSchema; +export declare var TooManyParts$: StaticErrorSchema; +/** + * TypeRegistry instances containing modeled errors. + * @internal + * + */ +export declare const errorTypeRegistries: TypeRegistry[]; +export declare var AbacStatus$: StaticStructureSchema; +export declare var AbortIncompleteMultipartUpload$: StaticStructureSchema; +export declare var AbortMultipartUploadOutput$: StaticStructureSchema; +export declare var AbortMultipartUploadRequest$: StaticStructureSchema; +export declare var AccelerateConfiguration$: StaticStructureSchema; +export declare var AccessControlPolicy$: StaticStructureSchema; +export declare var AccessControlTranslation$: StaticStructureSchema; +export declare var AnalyticsAndOperator$: StaticStructureSchema; +export declare var AnalyticsConfiguration$: StaticStructureSchema; +export declare var AnalyticsExportDestination$: StaticStructureSchema; +export declare var AnalyticsS3BucketDestination$: StaticStructureSchema; +export declare var BlockedEncryptionTypes$: StaticStructureSchema; +export declare var Bucket$: StaticStructureSchema; +export declare var BucketInfo$: StaticStructureSchema; +export declare var BucketLifecycleConfiguration$: StaticStructureSchema; +export declare var BucketLoggingStatus$: StaticStructureSchema; +export declare var Checksum$: StaticStructureSchema; +export declare var CommonPrefix$: StaticStructureSchema; +export declare var CompletedMultipartUpload$: StaticStructureSchema; +export declare var CompletedPart$: StaticStructureSchema; +export declare var CompleteMultipartUploadOutput$: StaticStructureSchema; +export declare var CompleteMultipartUploadRequest$: StaticStructureSchema; +export declare var Condition$: StaticStructureSchema; +export declare var ContinuationEvent$: StaticStructureSchema; +export declare var CopyObjectOutput$: StaticStructureSchema; +export declare var CopyObjectRequest$: StaticStructureSchema; +export declare var CopyObjectResult$: StaticStructureSchema; +export declare var CopyPartResult$: StaticStructureSchema; +export declare var CORSConfiguration$: StaticStructureSchema; +export declare var CORSRule$: StaticStructureSchema; +export declare var CreateBucketConfiguration$: StaticStructureSchema; +export declare var CreateBucketMetadataConfigurationRequest$: StaticStructureSchema; +export declare var CreateBucketMetadataTableConfigurationRequest$: StaticStructureSchema; +export declare var CreateBucketOutput$: StaticStructureSchema; +export declare var CreateBucketRequest$: StaticStructureSchema; +export declare var CreateMultipartUploadOutput$: StaticStructureSchema; +export declare var CreateMultipartUploadRequest$: StaticStructureSchema; +export declare var CreateSessionOutput$: StaticStructureSchema; +export declare var CreateSessionRequest$: StaticStructureSchema; +export declare var CSVInput$: StaticStructureSchema; +export declare var CSVOutput$: StaticStructureSchema; +export declare var DefaultRetention$: StaticStructureSchema; +export declare var Delete$: StaticStructureSchema; +export declare var DeleteBucketAnalyticsConfigurationRequest$: StaticStructureSchema; +export declare var DeleteBucketCorsRequest$: StaticStructureSchema; +export declare var DeleteBucketEncryptionRequest$: StaticStructureSchema; +export declare var DeleteBucketIntelligentTieringConfigurationRequest$: StaticStructureSchema; +export declare var DeleteBucketInventoryConfigurationRequest$: StaticStructureSchema; +export declare var DeleteBucketLifecycleRequest$: StaticStructureSchema; +export declare var DeleteBucketMetadataConfigurationRequest$: StaticStructureSchema; +export declare var DeleteBucketMetadataTableConfigurationRequest$: StaticStructureSchema; +export declare var DeleteBucketMetricsConfigurationRequest$: StaticStructureSchema; +export declare var DeleteBucketOwnershipControlsRequest$: StaticStructureSchema; +export declare var DeleteBucketPolicyRequest$: StaticStructureSchema; +export declare var DeleteBucketReplicationRequest$: StaticStructureSchema; +export declare var DeleteBucketRequest$: StaticStructureSchema; +export declare var DeleteBucketTaggingRequest$: StaticStructureSchema; +export declare var DeleteBucketWebsiteRequest$: StaticStructureSchema; +export declare var DeletedObject$: StaticStructureSchema; +export declare var DeleteMarkerEntry$: StaticStructureSchema; +export declare var DeleteMarkerReplication$: StaticStructureSchema; +export declare var DeleteObjectOutput$: StaticStructureSchema; +export declare var DeleteObjectRequest$: StaticStructureSchema; +export declare var DeleteObjectsOutput$: StaticStructureSchema; +export declare var DeleteObjectsRequest$: StaticStructureSchema; +export declare var DeleteObjectTaggingOutput$: StaticStructureSchema; +export declare var DeleteObjectTaggingRequest$: StaticStructureSchema; +export declare var DeletePublicAccessBlockRequest$: StaticStructureSchema; +export declare var Destination$: StaticStructureSchema; +export declare var DestinationResult$: StaticStructureSchema; +export declare var Encryption$: StaticStructureSchema; +export declare var EncryptionConfiguration$: StaticStructureSchema; +export declare var EndEvent$: StaticStructureSchema; +export declare var _Error$: StaticStructureSchema; +export declare var ErrorDetails$: StaticStructureSchema; +export declare var ErrorDocument$: StaticStructureSchema; +export declare var EventBridgeConfiguration$: StaticStructureSchema; +export declare var ExistingObjectReplication$: StaticStructureSchema; +export declare var FilterRule$: StaticStructureSchema; +export declare var GetBucketAbacOutput$: StaticStructureSchema; +export declare var GetBucketAbacRequest$: StaticStructureSchema; +export declare var GetBucketAccelerateConfigurationOutput$: StaticStructureSchema; +export declare var GetBucketAccelerateConfigurationRequest$: StaticStructureSchema; +export declare var GetBucketAclOutput$: StaticStructureSchema; +export declare var GetBucketAclRequest$: StaticStructureSchema; +export declare var GetBucketAnalyticsConfigurationOutput$: StaticStructureSchema; +export declare var GetBucketAnalyticsConfigurationRequest$: StaticStructureSchema; +export declare var GetBucketCorsOutput$: StaticStructureSchema; +export declare var GetBucketCorsRequest$: StaticStructureSchema; +export declare var GetBucketEncryptionOutput$: StaticStructureSchema; +export declare var GetBucketEncryptionRequest$: StaticStructureSchema; +export declare var GetBucketIntelligentTieringConfigurationOutput$: StaticStructureSchema; +export declare var GetBucketIntelligentTieringConfigurationRequest$: StaticStructureSchema; +export declare var GetBucketInventoryConfigurationOutput$: StaticStructureSchema; +export declare var GetBucketInventoryConfigurationRequest$: StaticStructureSchema; +export declare var GetBucketLifecycleConfigurationOutput$: StaticStructureSchema; +export declare var GetBucketLifecycleConfigurationRequest$: StaticStructureSchema; +export declare var GetBucketLocationOutput$: StaticStructureSchema; +export declare var GetBucketLocationRequest$: StaticStructureSchema; +export declare var GetBucketLoggingOutput$: StaticStructureSchema; +export declare var GetBucketLoggingRequest$: StaticStructureSchema; +export declare var GetBucketMetadataConfigurationOutput$: StaticStructureSchema; +export declare var GetBucketMetadataConfigurationRequest$: StaticStructureSchema; +export declare var GetBucketMetadataConfigurationResult$: StaticStructureSchema; +export declare var GetBucketMetadataTableConfigurationOutput$: StaticStructureSchema; +export declare var GetBucketMetadataTableConfigurationRequest$: StaticStructureSchema; +export declare var GetBucketMetadataTableConfigurationResult$: StaticStructureSchema; +export declare var GetBucketMetricsConfigurationOutput$: StaticStructureSchema; +export declare var GetBucketMetricsConfigurationRequest$: StaticStructureSchema; +export declare var GetBucketNotificationConfigurationRequest$: StaticStructureSchema; +export declare var GetBucketOwnershipControlsOutput$: StaticStructureSchema; +export declare var GetBucketOwnershipControlsRequest$: StaticStructureSchema; +export declare var GetBucketPolicyOutput$: StaticStructureSchema; +export declare var GetBucketPolicyRequest$: StaticStructureSchema; +export declare var GetBucketPolicyStatusOutput$: StaticStructureSchema; +export declare var GetBucketPolicyStatusRequest$: StaticStructureSchema; +export declare var GetBucketReplicationOutput$: StaticStructureSchema; +export declare var GetBucketReplicationRequest$: StaticStructureSchema; +export declare var GetBucketRequestPaymentOutput$: StaticStructureSchema; +export declare var GetBucketRequestPaymentRequest$: StaticStructureSchema; +export declare var GetBucketTaggingOutput$: StaticStructureSchema; +export declare var GetBucketTaggingRequest$: StaticStructureSchema; +export declare var GetBucketVersioningOutput$: StaticStructureSchema; +export declare var GetBucketVersioningRequest$: StaticStructureSchema; +export declare var GetBucketWebsiteOutput$: StaticStructureSchema; +export declare var GetBucketWebsiteRequest$: StaticStructureSchema; +export declare var GetObjectAclOutput$: StaticStructureSchema; +export declare var GetObjectAclRequest$: StaticStructureSchema; +export declare var GetObjectAttributesOutput$: StaticStructureSchema; +export declare var GetObjectAttributesParts$: StaticStructureSchema; +export declare var GetObjectAttributesRequest$: StaticStructureSchema; +export declare var GetObjectLegalHoldOutput$: StaticStructureSchema; +export declare var GetObjectLegalHoldRequest$: StaticStructureSchema; +export declare var GetObjectLockConfigurationOutput$: StaticStructureSchema; +export declare var GetObjectLockConfigurationRequest$: StaticStructureSchema; +export declare var GetObjectOutput$: StaticStructureSchema; +export declare var GetObjectRequest$: StaticStructureSchema; +export declare var GetObjectRetentionOutput$: StaticStructureSchema; +export declare var GetObjectRetentionRequest$: StaticStructureSchema; +export declare var GetObjectTaggingOutput$: StaticStructureSchema; +export declare var GetObjectTaggingRequest$: StaticStructureSchema; +export declare var GetObjectTorrentOutput$: StaticStructureSchema; +export declare var GetObjectTorrentRequest$: StaticStructureSchema; +export declare var GetPublicAccessBlockOutput$: StaticStructureSchema; +export declare var GetPublicAccessBlockRequest$: StaticStructureSchema; +export declare var GlacierJobParameters$: StaticStructureSchema; +export declare var Grant$: StaticStructureSchema; +export declare var Grantee$: StaticStructureSchema; +export declare var HeadBucketOutput$: StaticStructureSchema; +export declare var HeadBucketRequest$: StaticStructureSchema; +export declare var HeadObjectOutput$: StaticStructureSchema; +export declare var HeadObjectRequest$: StaticStructureSchema; +export declare var IndexDocument$: StaticStructureSchema; +export declare var Initiator$: StaticStructureSchema; +export declare var InputSerialization$: StaticStructureSchema; +export declare var IntelligentTieringAndOperator$: StaticStructureSchema; +export declare var IntelligentTieringConfiguration$: StaticStructureSchema; +export declare var IntelligentTieringFilter$: StaticStructureSchema; +export declare var InventoryConfiguration$: StaticStructureSchema; +export declare var InventoryDestination$: StaticStructureSchema; +export declare var InventoryEncryption$: StaticStructureSchema; +export declare var InventoryFilter$: StaticStructureSchema; +export declare var InventoryS3BucketDestination$: StaticStructureSchema; +export declare var InventorySchedule$: StaticStructureSchema; +export declare var InventoryTableConfiguration$: StaticStructureSchema; +export declare var InventoryTableConfigurationResult$: StaticStructureSchema; +export declare var InventoryTableConfigurationUpdates$: StaticStructureSchema; +export declare var JournalTableConfiguration$: StaticStructureSchema; +export declare var JournalTableConfigurationResult$: StaticStructureSchema; +export declare var JournalTableConfigurationUpdates$: StaticStructureSchema; +export declare var JSONInput$: StaticStructureSchema; +export declare var JSONOutput$: StaticStructureSchema; +export declare var LambdaFunctionConfiguration$: StaticStructureSchema; +export declare var LifecycleExpiration$: StaticStructureSchema; +export declare var LifecycleRule$: StaticStructureSchema; +export declare var LifecycleRuleAndOperator$: StaticStructureSchema; +export declare var LifecycleRuleFilter$: StaticStructureSchema; +export declare var ListBucketAnalyticsConfigurationsOutput$: StaticStructureSchema; +export declare var ListBucketAnalyticsConfigurationsRequest$: StaticStructureSchema; +export declare var ListBucketIntelligentTieringConfigurationsOutput$: StaticStructureSchema; +export declare var ListBucketIntelligentTieringConfigurationsRequest$: StaticStructureSchema; +export declare var ListBucketInventoryConfigurationsOutput$: StaticStructureSchema; +export declare var ListBucketInventoryConfigurationsRequest$: StaticStructureSchema; +export declare var ListBucketMetricsConfigurationsOutput$: StaticStructureSchema; +export declare var ListBucketMetricsConfigurationsRequest$: StaticStructureSchema; +export declare var ListBucketsOutput$: StaticStructureSchema; +export declare var ListBucketsRequest$: StaticStructureSchema; +export declare var ListDirectoryBucketsOutput$: StaticStructureSchema; +export declare var ListDirectoryBucketsRequest$: StaticStructureSchema; +export declare var ListMultipartUploadsOutput$: StaticStructureSchema; +export declare var ListMultipartUploadsRequest$: StaticStructureSchema; +export declare var ListObjectsOutput$: StaticStructureSchema; +export declare var ListObjectsRequest$: StaticStructureSchema; +export declare var ListObjectsV2Output$: StaticStructureSchema; +export declare var ListObjectsV2Request$: StaticStructureSchema; +export declare var ListObjectVersionsOutput$: StaticStructureSchema; +export declare var ListObjectVersionsRequest$: StaticStructureSchema; +export declare var ListPartsOutput$: StaticStructureSchema; +export declare var ListPartsRequest$: StaticStructureSchema; +export declare var LocationInfo$: StaticStructureSchema; +export declare var LoggingEnabled$: StaticStructureSchema; +export declare var MetadataConfiguration$: StaticStructureSchema; +export declare var MetadataConfigurationResult$: StaticStructureSchema; +export declare var MetadataEntry$: StaticStructureSchema; +export declare var MetadataTableConfiguration$: StaticStructureSchema; +export declare var MetadataTableConfigurationResult$: StaticStructureSchema; +export declare var MetadataTableEncryptionConfiguration$: StaticStructureSchema; +export declare var Metrics$: StaticStructureSchema; +export declare var MetricsAndOperator$: StaticStructureSchema; +export declare var MetricsConfiguration$: StaticStructureSchema; +export declare var MultipartUpload$: StaticStructureSchema; +export declare var NoncurrentVersionExpiration$: StaticStructureSchema; +export declare var NoncurrentVersionTransition$: StaticStructureSchema; +export declare var NotificationConfiguration$: StaticStructureSchema; +export declare var NotificationConfigurationFilter$: StaticStructureSchema; +export declare var _Object$: StaticStructureSchema; +export declare var ObjectIdentifier$: StaticStructureSchema; +export declare var ObjectLockConfiguration$: StaticStructureSchema; +export declare var ObjectLockLegalHold$: StaticStructureSchema; +export declare var ObjectLockRetention$: StaticStructureSchema; +export declare var ObjectLockRule$: StaticStructureSchema; +export declare var ObjectPart$: StaticStructureSchema; +export declare var ObjectVersion$: StaticStructureSchema; +export declare var OutputLocation$: StaticStructureSchema; +export declare var OutputSerialization$: StaticStructureSchema; +export declare var Owner$: StaticStructureSchema; +export declare var OwnershipControls$: StaticStructureSchema; +export declare var OwnershipControlsRule$: StaticStructureSchema; +export declare var ParquetInput$: StaticStructureSchema; +export declare var Part$: StaticStructureSchema; +export declare var PartitionedPrefix$: StaticStructureSchema; +export declare var PolicyStatus$: StaticStructureSchema; +export declare var Progress$: StaticStructureSchema; +export declare var ProgressEvent$: StaticStructureSchema; +export declare var PublicAccessBlockConfiguration$: StaticStructureSchema; +export declare var PutBucketAbacRequest$: StaticStructureSchema; +export declare var PutBucketAccelerateConfigurationRequest$: StaticStructureSchema; +export declare var PutBucketAclRequest$: StaticStructureSchema; +export declare var PutBucketAnalyticsConfigurationRequest$: StaticStructureSchema; +export declare var PutBucketCorsRequest$: StaticStructureSchema; +export declare var PutBucketEncryptionRequest$: StaticStructureSchema; +export declare var PutBucketIntelligentTieringConfigurationRequest$: StaticStructureSchema; +export declare var PutBucketInventoryConfigurationRequest$: StaticStructureSchema; +export declare var PutBucketLifecycleConfigurationOutput$: StaticStructureSchema; +export declare var PutBucketLifecycleConfigurationRequest$: StaticStructureSchema; +export declare var PutBucketLoggingRequest$: StaticStructureSchema; +export declare var PutBucketMetricsConfigurationRequest$: StaticStructureSchema; +export declare var PutBucketNotificationConfigurationRequest$: StaticStructureSchema; +export declare var PutBucketOwnershipControlsRequest$: StaticStructureSchema; +export declare var PutBucketPolicyRequest$: StaticStructureSchema; +export declare var PutBucketReplicationRequest$: StaticStructureSchema; +export declare var PutBucketRequestPaymentRequest$: StaticStructureSchema; +export declare var PutBucketTaggingRequest$: StaticStructureSchema; +export declare var PutBucketVersioningRequest$: StaticStructureSchema; +export declare var PutBucketWebsiteRequest$: StaticStructureSchema; +export declare var PutObjectAclOutput$: StaticStructureSchema; +export declare var PutObjectAclRequest$: StaticStructureSchema; +export declare var PutObjectLegalHoldOutput$: StaticStructureSchema; +export declare var PutObjectLegalHoldRequest$: StaticStructureSchema; +export declare var PutObjectLockConfigurationOutput$: StaticStructureSchema; +export declare var PutObjectLockConfigurationRequest$: StaticStructureSchema; +export declare var PutObjectOutput$: StaticStructureSchema; +export declare var PutObjectRequest$: StaticStructureSchema; +export declare var PutObjectRetentionOutput$: StaticStructureSchema; +export declare var PutObjectRetentionRequest$: StaticStructureSchema; +export declare var PutObjectTaggingOutput$: StaticStructureSchema; +export declare var PutObjectTaggingRequest$: StaticStructureSchema; +export declare var PutPublicAccessBlockRequest$: StaticStructureSchema; +export declare var QueueConfiguration$: StaticStructureSchema; +export declare var RecordExpiration$: StaticStructureSchema; +export declare var RecordsEvent$: StaticStructureSchema; +export declare var Redirect$: StaticStructureSchema; +export declare var RedirectAllRequestsTo$: StaticStructureSchema; +export declare var RenameObjectOutput$: StaticStructureSchema; +export declare var RenameObjectRequest$: StaticStructureSchema; +export declare var ReplicaModifications$: StaticStructureSchema; +export declare var ReplicationConfiguration$: StaticStructureSchema; +export declare var ReplicationRule$: StaticStructureSchema; +export declare var ReplicationRuleAndOperator$: StaticStructureSchema; +export declare var ReplicationRuleFilter$: StaticStructureSchema; +export declare var ReplicationTime$: StaticStructureSchema; +export declare var ReplicationTimeValue$: StaticStructureSchema; +export declare var RequestPaymentConfiguration$: StaticStructureSchema; +export declare var RequestProgress$: StaticStructureSchema; +export declare var RestoreObjectOutput$: StaticStructureSchema; +export declare var RestoreObjectRequest$: StaticStructureSchema; +export declare var RestoreRequest$: StaticStructureSchema; +export declare var RestoreStatus$: StaticStructureSchema; +export declare var RoutingRule$: StaticStructureSchema; +export declare var S3KeyFilter$: StaticStructureSchema; +export declare var S3Location$: StaticStructureSchema; +export declare var S3TablesDestination$: StaticStructureSchema; +export declare var S3TablesDestinationResult$: StaticStructureSchema; +export declare var ScanRange$: StaticStructureSchema; +export declare var SelectObjectContentOutput$: StaticStructureSchema; +export declare var SelectObjectContentRequest$: StaticStructureSchema; +export declare var SelectParameters$: StaticStructureSchema; +export declare var ServerSideEncryptionByDefault$: StaticStructureSchema; +export declare var ServerSideEncryptionConfiguration$: StaticStructureSchema; +export declare var ServerSideEncryptionRule$: StaticStructureSchema; +export declare var SessionCredentials$: StaticStructureSchema; +export declare var SimplePrefix$: StaticStructureSchema; +export declare var SourceSelectionCriteria$: StaticStructureSchema; +export declare var SSEKMS$: StaticStructureSchema; +export declare var SseKmsEncryptedObjects$: StaticStructureSchema; +export declare var SSEKMSEncryption$: StaticStructureSchema; +export declare var SSES3$: StaticStructureSchema; +export declare var Stats$: StaticStructureSchema; +export declare var StatsEvent$: StaticStructureSchema; +export declare var StorageClassAnalysis$: StaticStructureSchema; +export declare var StorageClassAnalysisDataExport$: StaticStructureSchema; +export declare var Tag$: StaticStructureSchema; +export declare var Tagging$: StaticStructureSchema; +export declare var TargetGrant$: StaticStructureSchema; +export declare var TargetObjectKeyFormat$: StaticStructureSchema; +export declare var Tiering$: StaticStructureSchema; +export declare var TopicConfiguration$: StaticStructureSchema; +export declare var Transition$: StaticStructureSchema; +export declare var UpdateBucketMetadataInventoryTableConfigurationRequest$: StaticStructureSchema; +export declare var UpdateBucketMetadataJournalTableConfigurationRequest$: StaticStructureSchema; +export declare var UpdateObjectEncryptionRequest$: StaticStructureSchema; +export declare var UpdateObjectEncryptionResponse$: StaticStructureSchema; +export declare var UploadPartCopyOutput$: StaticStructureSchema; +export declare var UploadPartCopyRequest$: StaticStructureSchema; +export declare var UploadPartOutput$: StaticStructureSchema; +export declare var UploadPartRequest$: StaticStructureSchema; +export declare var VersioningConfiguration$: StaticStructureSchema; +export declare var WebsiteConfiguration$: StaticStructureSchema; +export declare var WriteGetObjectResponseRequest$: StaticStructureSchema; +export declare var AnalyticsFilter$: StaticUnionSchema; +export declare var MetricsFilter$: StaticUnionSchema; +export declare var ObjectEncryption$: StaticUnionSchema; +export declare var SelectObjectContentEventStream$: StaticUnionSchema; +export declare var AbortMultipartUpload$: StaticOperationSchema; +export declare var CompleteMultipartUpload$: StaticOperationSchema; +export declare var CopyObject$: StaticOperationSchema; +export declare var CreateBucket$: StaticOperationSchema; +export declare var CreateBucketMetadataConfiguration$: StaticOperationSchema; +export declare var CreateBucketMetadataTableConfiguration$: StaticOperationSchema; +export declare var CreateMultipartUpload$: StaticOperationSchema; +export declare var CreateSession$: StaticOperationSchema; +export declare var DeleteBucket$: StaticOperationSchema; +export declare var DeleteBucketAnalyticsConfiguration$: StaticOperationSchema; +export declare var DeleteBucketCors$: StaticOperationSchema; +export declare var DeleteBucketEncryption$: StaticOperationSchema; +export declare var DeleteBucketIntelligentTieringConfiguration$: StaticOperationSchema; +export declare var DeleteBucketInventoryConfiguration$: StaticOperationSchema; +export declare var DeleteBucketLifecycle$: StaticOperationSchema; +export declare var DeleteBucketMetadataConfiguration$: StaticOperationSchema; +export declare var DeleteBucketMetadataTableConfiguration$: StaticOperationSchema; +export declare var DeleteBucketMetricsConfiguration$: StaticOperationSchema; +export declare var DeleteBucketOwnershipControls$: StaticOperationSchema; +export declare var DeleteBucketPolicy$: StaticOperationSchema; +export declare var DeleteBucketReplication$: StaticOperationSchema; +export declare var DeleteBucketTagging$: StaticOperationSchema; +export declare var DeleteBucketWebsite$: StaticOperationSchema; +export declare var DeleteObject$: StaticOperationSchema; +export declare var DeleteObjects$: StaticOperationSchema; +export declare var DeleteObjectTagging$: StaticOperationSchema; +export declare var DeletePublicAccessBlock$: StaticOperationSchema; +export declare var GetBucketAbac$: StaticOperationSchema; +export declare var GetBucketAccelerateConfiguration$: StaticOperationSchema; +export declare var GetBucketAcl$: StaticOperationSchema; +export declare var GetBucketAnalyticsConfiguration$: StaticOperationSchema; +export declare var GetBucketCors$: StaticOperationSchema; +export declare var GetBucketEncryption$: StaticOperationSchema; +export declare var GetBucketIntelligentTieringConfiguration$: StaticOperationSchema; +export declare var GetBucketInventoryConfiguration$: StaticOperationSchema; +export declare var GetBucketLifecycleConfiguration$: StaticOperationSchema; +export declare var GetBucketLocation$: StaticOperationSchema; +export declare var GetBucketLogging$: StaticOperationSchema; +export declare var GetBucketMetadataConfiguration$: StaticOperationSchema; +export declare var GetBucketMetadataTableConfiguration$: StaticOperationSchema; +export declare var GetBucketMetricsConfiguration$: StaticOperationSchema; +export declare var GetBucketNotificationConfiguration$: StaticOperationSchema; +export declare var GetBucketOwnershipControls$: StaticOperationSchema; +export declare var GetBucketPolicy$: StaticOperationSchema; +export declare var GetBucketPolicyStatus$: StaticOperationSchema; +export declare var GetBucketReplication$: StaticOperationSchema; +export declare var GetBucketRequestPayment$: StaticOperationSchema; +export declare var GetBucketTagging$: StaticOperationSchema; +export declare var GetBucketVersioning$: StaticOperationSchema; +export declare var GetBucketWebsite$: StaticOperationSchema; +export declare var GetObject$: StaticOperationSchema; +export declare var GetObjectAcl$: StaticOperationSchema; +export declare var GetObjectAttributes$: StaticOperationSchema; +export declare var GetObjectLegalHold$: StaticOperationSchema; +export declare var GetObjectLockConfiguration$: StaticOperationSchema; +export declare var GetObjectRetention$: StaticOperationSchema; +export declare var GetObjectTagging$: StaticOperationSchema; +export declare var GetObjectTorrent$: StaticOperationSchema; +export declare var GetPublicAccessBlock$: StaticOperationSchema; +export declare var HeadBucket$: StaticOperationSchema; +export declare var HeadObject$: StaticOperationSchema; +export declare var ListBucketAnalyticsConfigurations$: StaticOperationSchema; +export declare var ListBucketIntelligentTieringConfigurations$: StaticOperationSchema; +export declare var ListBucketInventoryConfigurations$: StaticOperationSchema; +export declare var ListBucketMetricsConfigurations$: StaticOperationSchema; +export declare var ListBuckets$: StaticOperationSchema; +export declare var ListDirectoryBuckets$: StaticOperationSchema; +export declare var ListMultipartUploads$: StaticOperationSchema; +export declare var ListObjects$: StaticOperationSchema; +export declare var ListObjectsV2$: StaticOperationSchema; +export declare var ListObjectVersions$: StaticOperationSchema; +export declare var ListParts$: StaticOperationSchema; +export declare var PutBucketAbac$: StaticOperationSchema; +export declare var PutBucketAccelerateConfiguration$: StaticOperationSchema; +export declare var PutBucketAcl$: StaticOperationSchema; +export declare var PutBucketAnalyticsConfiguration$: StaticOperationSchema; +export declare var PutBucketCors$: StaticOperationSchema; +export declare var PutBucketEncryption$: StaticOperationSchema; +export declare var PutBucketIntelligentTieringConfiguration$: StaticOperationSchema; +export declare var PutBucketInventoryConfiguration$: StaticOperationSchema; +export declare var PutBucketLifecycleConfiguration$: StaticOperationSchema; +export declare var PutBucketLogging$: StaticOperationSchema; +export declare var PutBucketMetricsConfiguration$: StaticOperationSchema; +export declare var PutBucketNotificationConfiguration$: StaticOperationSchema; +export declare var PutBucketOwnershipControls$: StaticOperationSchema; +export declare var PutBucketPolicy$: StaticOperationSchema; +export declare var PutBucketReplication$: StaticOperationSchema; +export declare var PutBucketRequestPayment$: StaticOperationSchema; +export declare var PutBucketTagging$: StaticOperationSchema; +export declare var PutBucketVersioning$: StaticOperationSchema; +export declare var PutBucketWebsite$: StaticOperationSchema; +export declare var PutObject$: StaticOperationSchema; +export declare var PutObjectAcl$: StaticOperationSchema; +export declare var PutObjectLegalHold$: StaticOperationSchema; +export declare var PutObjectLockConfiguration$: StaticOperationSchema; +export declare var PutObjectRetention$: StaticOperationSchema; +export declare var PutObjectTagging$: StaticOperationSchema; +export declare var PutPublicAccessBlock$: StaticOperationSchema; +export declare var RenameObject$: StaticOperationSchema; +export declare var RestoreObject$: StaticOperationSchema; +export declare var SelectObjectContent$: StaticOperationSchema; +export declare var UpdateBucketMetadataInventoryTableConfiguration$: StaticOperationSchema; +export declare var UpdateBucketMetadataJournalTableConfiguration$: StaticOperationSchema; +export declare var UpdateObjectEncryption$: StaticOperationSchema; +export declare var UploadPart$: StaticOperationSchema; +export declare var UploadPartCopy$: StaticOperationSchema; +export declare var WriteGetObjectResponse$: StaticOperationSchema; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts new file mode 100644 index 0000000..350156b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts @@ -0,0 +1,1998 @@ +import { + HttpHandlerOptions as __HttpHandlerOptions, + PaginationConfiguration, + Paginator, + WaiterConfiguration, +} from "@smithy/types"; +import { WaiterResult } from "@smithy/util-waiter"; +import { + AbortMultipartUploadCommandInput, + AbortMultipartUploadCommandOutput, +} from "./commands/AbortMultipartUploadCommand"; +import { + CompleteMultipartUploadCommandInput, + CompleteMultipartUploadCommandOutput, +} from "./commands/CompleteMultipartUploadCommand"; +import { + CopyObjectCommandInput, + CopyObjectCommandOutput, +} from "./commands/CopyObjectCommand"; +import { + CreateBucketCommandInput, + CreateBucketCommandOutput, +} from "./commands/CreateBucketCommand"; +import { + CreateBucketMetadataConfigurationCommandInput, + CreateBucketMetadataConfigurationCommandOutput, +} from "./commands/CreateBucketMetadataConfigurationCommand"; +import { + CreateBucketMetadataTableConfigurationCommandInput, + CreateBucketMetadataTableConfigurationCommandOutput, +} from "./commands/CreateBucketMetadataTableConfigurationCommand"; +import { + CreateMultipartUploadCommandInput, + CreateMultipartUploadCommandOutput, +} from "./commands/CreateMultipartUploadCommand"; +import { + CreateSessionCommandInput, + CreateSessionCommandOutput, +} from "./commands/CreateSessionCommand"; +import { + DeleteBucketAnalyticsConfigurationCommandInput, + DeleteBucketAnalyticsConfigurationCommandOutput, +} from "./commands/DeleteBucketAnalyticsConfigurationCommand"; +import { + DeleteBucketCommandInput, + DeleteBucketCommandOutput, +} from "./commands/DeleteBucketCommand"; +import { + DeleteBucketCorsCommandInput, + DeleteBucketCorsCommandOutput, +} from "./commands/DeleteBucketCorsCommand"; +import { + DeleteBucketEncryptionCommandInput, + DeleteBucketEncryptionCommandOutput, +} from "./commands/DeleteBucketEncryptionCommand"; +import { + DeleteBucketIntelligentTieringConfigurationCommandInput, + DeleteBucketIntelligentTieringConfigurationCommandOutput, +} from "./commands/DeleteBucketIntelligentTieringConfigurationCommand"; +import { + DeleteBucketInventoryConfigurationCommandInput, + DeleteBucketInventoryConfigurationCommandOutput, +} from "./commands/DeleteBucketInventoryConfigurationCommand"; +import { + DeleteBucketLifecycleCommandInput, + DeleteBucketLifecycleCommandOutput, +} from "./commands/DeleteBucketLifecycleCommand"; +import { + DeleteBucketMetadataConfigurationCommandInput, + DeleteBucketMetadataConfigurationCommandOutput, +} from "./commands/DeleteBucketMetadataConfigurationCommand"; +import { + DeleteBucketMetadataTableConfigurationCommandInput, + DeleteBucketMetadataTableConfigurationCommandOutput, +} from "./commands/DeleteBucketMetadataTableConfigurationCommand"; +import { + DeleteBucketMetricsConfigurationCommandInput, + DeleteBucketMetricsConfigurationCommandOutput, +} from "./commands/DeleteBucketMetricsConfigurationCommand"; +import { + DeleteBucketOwnershipControlsCommandInput, + DeleteBucketOwnershipControlsCommandOutput, +} from "./commands/DeleteBucketOwnershipControlsCommand"; +import { + DeleteBucketPolicyCommandInput, + DeleteBucketPolicyCommandOutput, +} from "./commands/DeleteBucketPolicyCommand"; +import { + DeleteBucketReplicationCommandInput, + DeleteBucketReplicationCommandOutput, +} from "./commands/DeleteBucketReplicationCommand"; +import { + DeleteBucketTaggingCommandInput, + DeleteBucketTaggingCommandOutput, +} from "./commands/DeleteBucketTaggingCommand"; +import { + DeleteBucketWebsiteCommandInput, + DeleteBucketWebsiteCommandOutput, +} from "./commands/DeleteBucketWebsiteCommand"; +import { + DeleteObjectCommandInput, + DeleteObjectCommandOutput, +} from "./commands/DeleteObjectCommand"; +import { + DeleteObjectsCommandInput, + DeleteObjectsCommandOutput, +} from "./commands/DeleteObjectsCommand"; +import { + DeleteObjectTaggingCommandInput, + DeleteObjectTaggingCommandOutput, +} from "./commands/DeleteObjectTaggingCommand"; +import { + DeletePublicAccessBlockCommandInput, + DeletePublicAccessBlockCommandOutput, +} from "./commands/DeletePublicAccessBlockCommand"; +import { + GetBucketAbacCommandInput, + GetBucketAbacCommandOutput, +} from "./commands/GetBucketAbacCommand"; +import { + GetBucketAccelerateConfigurationCommandInput, + GetBucketAccelerateConfigurationCommandOutput, +} from "./commands/GetBucketAccelerateConfigurationCommand"; +import { + GetBucketAclCommandInput, + GetBucketAclCommandOutput, +} from "./commands/GetBucketAclCommand"; +import { + GetBucketAnalyticsConfigurationCommandInput, + GetBucketAnalyticsConfigurationCommandOutput, +} from "./commands/GetBucketAnalyticsConfigurationCommand"; +import { + GetBucketCorsCommandInput, + GetBucketCorsCommandOutput, +} from "./commands/GetBucketCorsCommand"; +import { + GetBucketEncryptionCommandInput, + GetBucketEncryptionCommandOutput, +} from "./commands/GetBucketEncryptionCommand"; +import { + GetBucketIntelligentTieringConfigurationCommandInput, + GetBucketIntelligentTieringConfigurationCommandOutput, +} from "./commands/GetBucketIntelligentTieringConfigurationCommand"; +import { + GetBucketInventoryConfigurationCommandInput, + GetBucketInventoryConfigurationCommandOutput, +} from "./commands/GetBucketInventoryConfigurationCommand"; +import { + GetBucketLifecycleConfigurationCommandInput, + GetBucketLifecycleConfigurationCommandOutput, +} from "./commands/GetBucketLifecycleConfigurationCommand"; +import { + GetBucketLocationCommandInput, + GetBucketLocationCommandOutput, +} from "./commands/GetBucketLocationCommand"; +import { + GetBucketLoggingCommandInput, + GetBucketLoggingCommandOutput, +} from "./commands/GetBucketLoggingCommand"; +import { + GetBucketMetadataConfigurationCommandInput, + GetBucketMetadataConfigurationCommandOutput, +} from "./commands/GetBucketMetadataConfigurationCommand"; +import { + GetBucketMetadataTableConfigurationCommandInput, + GetBucketMetadataTableConfigurationCommandOutput, +} from "./commands/GetBucketMetadataTableConfigurationCommand"; +import { + GetBucketMetricsConfigurationCommandInput, + GetBucketMetricsConfigurationCommandOutput, +} from "./commands/GetBucketMetricsConfigurationCommand"; +import { + GetBucketNotificationConfigurationCommandInput, + GetBucketNotificationConfigurationCommandOutput, +} from "./commands/GetBucketNotificationConfigurationCommand"; +import { + GetBucketOwnershipControlsCommandInput, + GetBucketOwnershipControlsCommandOutput, +} from "./commands/GetBucketOwnershipControlsCommand"; +import { + GetBucketPolicyCommandInput, + GetBucketPolicyCommandOutput, +} from "./commands/GetBucketPolicyCommand"; +import { + GetBucketPolicyStatusCommandInput, + GetBucketPolicyStatusCommandOutput, +} from "./commands/GetBucketPolicyStatusCommand"; +import { + GetBucketReplicationCommandInput, + GetBucketReplicationCommandOutput, +} from "./commands/GetBucketReplicationCommand"; +import { + GetBucketRequestPaymentCommandInput, + GetBucketRequestPaymentCommandOutput, +} from "./commands/GetBucketRequestPaymentCommand"; +import { + GetBucketTaggingCommandInput, + GetBucketTaggingCommandOutput, +} from "./commands/GetBucketTaggingCommand"; +import { + GetBucketVersioningCommandInput, + GetBucketVersioningCommandOutput, +} from "./commands/GetBucketVersioningCommand"; +import { + GetBucketWebsiteCommandInput, + GetBucketWebsiteCommandOutput, +} from "./commands/GetBucketWebsiteCommand"; +import { + GetObjectAclCommandInput, + GetObjectAclCommandOutput, +} from "./commands/GetObjectAclCommand"; +import { + GetObjectAttributesCommandInput, + GetObjectAttributesCommandOutput, +} from "./commands/GetObjectAttributesCommand"; +import { + GetObjectCommandInput, + GetObjectCommandOutput, +} from "./commands/GetObjectCommand"; +import { + GetObjectLegalHoldCommandInput, + GetObjectLegalHoldCommandOutput, +} from "./commands/GetObjectLegalHoldCommand"; +import { + GetObjectLockConfigurationCommandInput, + GetObjectLockConfigurationCommandOutput, +} from "./commands/GetObjectLockConfigurationCommand"; +import { + GetObjectRetentionCommandInput, + GetObjectRetentionCommandOutput, +} from "./commands/GetObjectRetentionCommand"; +import { + GetObjectTaggingCommandInput, + GetObjectTaggingCommandOutput, +} from "./commands/GetObjectTaggingCommand"; +import { + GetObjectTorrentCommandInput, + GetObjectTorrentCommandOutput, +} from "./commands/GetObjectTorrentCommand"; +import { + GetPublicAccessBlockCommandInput, + GetPublicAccessBlockCommandOutput, +} from "./commands/GetPublicAccessBlockCommand"; +import { + HeadBucketCommandInput, + HeadBucketCommandOutput, +} from "./commands/HeadBucketCommand"; +import { + HeadObjectCommandInput, + HeadObjectCommandOutput, +} from "./commands/HeadObjectCommand"; +import { + ListBucketAnalyticsConfigurationsCommandInput, + ListBucketAnalyticsConfigurationsCommandOutput, +} from "./commands/ListBucketAnalyticsConfigurationsCommand"; +import { + ListBucketIntelligentTieringConfigurationsCommandInput, + ListBucketIntelligentTieringConfigurationsCommandOutput, +} from "./commands/ListBucketIntelligentTieringConfigurationsCommand"; +import { + ListBucketInventoryConfigurationsCommandInput, + ListBucketInventoryConfigurationsCommandOutput, +} from "./commands/ListBucketInventoryConfigurationsCommand"; +import { + ListBucketMetricsConfigurationsCommandInput, + ListBucketMetricsConfigurationsCommandOutput, +} from "./commands/ListBucketMetricsConfigurationsCommand"; +import { + ListBucketsCommandInput, + ListBucketsCommandOutput, +} from "./commands/ListBucketsCommand"; +import { + ListDirectoryBucketsCommandInput, + ListDirectoryBucketsCommandOutput, +} from "./commands/ListDirectoryBucketsCommand"; +import { + ListMultipartUploadsCommandInput, + ListMultipartUploadsCommandOutput, +} from "./commands/ListMultipartUploadsCommand"; +import { + ListObjectsCommandInput, + ListObjectsCommandOutput, +} from "./commands/ListObjectsCommand"; +import { + ListObjectsV2CommandInput, + ListObjectsV2CommandOutput, +} from "./commands/ListObjectsV2Command"; +import { + ListObjectVersionsCommandInput, + ListObjectVersionsCommandOutput, +} from "./commands/ListObjectVersionsCommand"; +import { + ListPartsCommandInput, + ListPartsCommandOutput, +} from "./commands/ListPartsCommand"; +import { + PutBucketAbacCommandInput, + PutBucketAbacCommandOutput, +} from "./commands/PutBucketAbacCommand"; +import { + PutBucketAccelerateConfigurationCommandInput, + PutBucketAccelerateConfigurationCommandOutput, +} from "./commands/PutBucketAccelerateConfigurationCommand"; +import { + PutBucketAclCommandInput, + PutBucketAclCommandOutput, +} from "./commands/PutBucketAclCommand"; +import { + PutBucketAnalyticsConfigurationCommandInput, + PutBucketAnalyticsConfigurationCommandOutput, +} from "./commands/PutBucketAnalyticsConfigurationCommand"; +import { + PutBucketCorsCommandInput, + PutBucketCorsCommandOutput, +} from "./commands/PutBucketCorsCommand"; +import { + PutBucketEncryptionCommandInput, + PutBucketEncryptionCommandOutput, +} from "./commands/PutBucketEncryptionCommand"; +import { + PutBucketIntelligentTieringConfigurationCommandInput, + PutBucketIntelligentTieringConfigurationCommandOutput, +} from "./commands/PutBucketIntelligentTieringConfigurationCommand"; +import { + PutBucketInventoryConfigurationCommandInput, + PutBucketInventoryConfigurationCommandOutput, +} from "./commands/PutBucketInventoryConfigurationCommand"; +import { + PutBucketLifecycleConfigurationCommandInput, + PutBucketLifecycleConfigurationCommandOutput, +} from "./commands/PutBucketLifecycleConfigurationCommand"; +import { + PutBucketLoggingCommandInput, + PutBucketLoggingCommandOutput, +} from "./commands/PutBucketLoggingCommand"; +import { + PutBucketMetricsConfigurationCommandInput, + PutBucketMetricsConfigurationCommandOutput, +} from "./commands/PutBucketMetricsConfigurationCommand"; +import { + PutBucketNotificationConfigurationCommandInput, + PutBucketNotificationConfigurationCommandOutput, +} from "./commands/PutBucketNotificationConfigurationCommand"; +import { + PutBucketOwnershipControlsCommandInput, + PutBucketOwnershipControlsCommandOutput, +} from "./commands/PutBucketOwnershipControlsCommand"; +import { + PutBucketPolicyCommandInput, + PutBucketPolicyCommandOutput, +} from "./commands/PutBucketPolicyCommand"; +import { + PutBucketReplicationCommandInput, + PutBucketReplicationCommandOutput, +} from "./commands/PutBucketReplicationCommand"; +import { + PutBucketRequestPaymentCommandInput, + PutBucketRequestPaymentCommandOutput, +} from "./commands/PutBucketRequestPaymentCommand"; +import { + PutBucketTaggingCommandInput, + PutBucketTaggingCommandOutput, +} from "./commands/PutBucketTaggingCommand"; +import { + PutBucketVersioningCommandInput, + PutBucketVersioningCommandOutput, +} from "./commands/PutBucketVersioningCommand"; +import { + PutBucketWebsiteCommandInput, + PutBucketWebsiteCommandOutput, +} from "./commands/PutBucketWebsiteCommand"; +import { + PutObjectAclCommandInput, + PutObjectAclCommandOutput, +} from "./commands/PutObjectAclCommand"; +import { + PutObjectCommandInput, + PutObjectCommandOutput, +} from "./commands/PutObjectCommand"; +import { + PutObjectLegalHoldCommandInput, + PutObjectLegalHoldCommandOutput, +} from "./commands/PutObjectLegalHoldCommand"; +import { + PutObjectLockConfigurationCommandInput, + PutObjectLockConfigurationCommandOutput, +} from "./commands/PutObjectLockConfigurationCommand"; +import { + PutObjectRetentionCommandInput, + PutObjectRetentionCommandOutput, +} from "./commands/PutObjectRetentionCommand"; +import { + PutObjectTaggingCommandInput, + PutObjectTaggingCommandOutput, +} from "./commands/PutObjectTaggingCommand"; +import { + PutPublicAccessBlockCommandInput, + PutPublicAccessBlockCommandOutput, +} from "./commands/PutPublicAccessBlockCommand"; +import { + RenameObjectCommandInput, + RenameObjectCommandOutput, +} from "./commands/RenameObjectCommand"; +import { + RestoreObjectCommandInput, + RestoreObjectCommandOutput, +} from "./commands/RestoreObjectCommand"; +import { + SelectObjectContentCommandInput, + SelectObjectContentCommandOutput, +} from "./commands/SelectObjectContentCommand"; +import { + UpdateBucketMetadataInventoryTableConfigurationCommandInput, + UpdateBucketMetadataInventoryTableConfigurationCommandOutput, +} from "./commands/UpdateBucketMetadataInventoryTableConfigurationCommand"; +import { + UpdateBucketMetadataJournalTableConfigurationCommandInput, + UpdateBucketMetadataJournalTableConfigurationCommandOutput, +} from "./commands/UpdateBucketMetadataJournalTableConfigurationCommand"; +import { + UpdateObjectEncryptionCommandInput, + UpdateObjectEncryptionCommandOutput, +} from "./commands/UpdateObjectEncryptionCommand"; +import { + UploadPartCommandInput, + UploadPartCommandOutput, +} from "./commands/UploadPartCommand"; +import { + UploadPartCopyCommandInput, + UploadPartCopyCommandOutput, +} from "./commands/UploadPartCopyCommand"; +import { + WriteGetObjectResponseCommandInput, + WriteGetObjectResponseCommandOutput, +} from "./commands/WriteGetObjectResponseCommand"; +import { S3Client } from "./S3Client"; +export interface S3 { + abortMultipartUpload( + args: AbortMultipartUploadCommandInput, + options?: __HttpHandlerOptions + ): Promise; + abortMultipartUpload( + args: AbortMultipartUploadCommandInput, + cb: (err: any, data?: AbortMultipartUploadCommandOutput) => void + ): void; + abortMultipartUpload( + args: AbortMultipartUploadCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: AbortMultipartUploadCommandOutput) => void + ): void; + completeMultipartUpload( + args: CompleteMultipartUploadCommandInput, + options?: __HttpHandlerOptions + ): Promise; + completeMultipartUpload( + args: CompleteMultipartUploadCommandInput, + cb: (err: any, data?: CompleteMultipartUploadCommandOutput) => void + ): void; + completeMultipartUpload( + args: CompleteMultipartUploadCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CompleteMultipartUploadCommandOutput) => void + ): void; + copyObject( + args: CopyObjectCommandInput, + options?: __HttpHandlerOptions + ): Promise; + copyObject( + args: CopyObjectCommandInput, + cb: (err: any, data?: CopyObjectCommandOutput) => void + ): void; + copyObject( + args: CopyObjectCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CopyObjectCommandOutput) => void + ): void; + createBucket( + args: CreateBucketCommandInput, + options?: __HttpHandlerOptions + ): Promise; + createBucket( + args: CreateBucketCommandInput, + cb: (err: any, data?: CreateBucketCommandOutput) => void + ): void; + createBucket( + args: CreateBucketCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateBucketCommandOutput) => void + ): void; + createBucketMetadataConfiguration( + args: CreateBucketMetadataConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + createBucketMetadataConfiguration( + args: CreateBucketMetadataConfigurationCommandInput, + cb: ( + err: any, + data?: CreateBucketMetadataConfigurationCommandOutput + ) => void + ): void; + createBucketMetadataConfiguration( + args: CreateBucketMetadataConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: CreateBucketMetadataConfigurationCommandOutput + ) => void + ): void; + createBucketMetadataTableConfiguration( + args: CreateBucketMetadataTableConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + createBucketMetadataTableConfiguration( + args: CreateBucketMetadataTableConfigurationCommandInput, + cb: ( + err: any, + data?: CreateBucketMetadataTableConfigurationCommandOutput + ) => void + ): void; + createBucketMetadataTableConfiguration( + args: CreateBucketMetadataTableConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: CreateBucketMetadataTableConfigurationCommandOutput + ) => void + ): void; + createMultipartUpload( + args: CreateMultipartUploadCommandInput, + options?: __HttpHandlerOptions + ): Promise; + createMultipartUpload( + args: CreateMultipartUploadCommandInput, + cb: (err: any, data?: CreateMultipartUploadCommandOutput) => void + ): void; + createMultipartUpload( + args: CreateMultipartUploadCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateMultipartUploadCommandOutput) => void + ): void; + createSession( + args: CreateSessionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + createSession( + args: CreateSessionCommandInput, + cb: (err: any, data?: CreateSessionCommandOutput) => void + ): void; + createSession( + args: CreateSessionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateSessionCommandOutput) => void + ): void; + deleteBucket( + args: DeleteBucketCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteBucket( + args: DeleteBucketCommandInput, + cb: (err: any, data?: DeleteBucketCommandOutput) => void + ): void; + deleteBucket( + args: DeleteBucketCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteBucketCommandOutput) => void + ): void; + deleteBucketAnalyticsConfiguration( + args: DeleteBucketAnalyticsConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteBucketAnalyticsConfiguration( + args: DeleteBucketAnalyticsConfigurationCommandInput, + cb: ( + err: any, + data?: DeleteBucketAnalyticsConfigurationCommandOutput + ) => void + ): void; + deleteBucketAnalyticsConfiguration( + args: DeleteBucketAnalyticsConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: DeleteBucketAnalyticsConfigurationCommandOutput + ) => void + ): void; + deleteBucketCors( + args: DeleteBucketCorsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteBucketCors( + args: DeleteBucketCorsCommandInput, + cb: (err: any, data?: DeleteBucketCorsCommandOutput) => void + ): void; + deleteBucketCors( + args: DeleteBucketCorsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteBucketCorsCommandOutput) => void + ): void; + deleteBucketEncryption( + args: DeleteBucketEncryptionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteBucketEncryption( + args: DeleteBucketEncryptionCommandInput, + cb: (err: any, data?: DeleteBucketEncryptionCommandOutput) => void + ): void; + deleteBucketEncryption( + args: DeleteBucketEncryptionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteBucketEncryptionCommandOutput) => void + ): void; + deleteBucketIntelligentTieringConfiguration( + args: DeleteBucketIntelligentTieringConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteBucketIntelligentTieringConfiguration( + args: DeleteBucketIntelligentTieringConfigurationCommandInput, + cb: ( + err: any, + data?: DeleteBucketIntelligentTieringConfigurationCommandOutput + ) => void + ): void; + deleteBucketIntelligentTieringConfiguration( + args: DeleteBucketIntelligentTieringConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: DeleteBucketIntelligentTieringConfigurationCommandOutput + ) => void + ): void; + deleteBucketInventoryConfiguration( + args: DeleteBucketInventoryConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteBucketInventoryConfiguration( + args: DeleteBucketInventoryConfigurationCommandInput, + cb: ( + err: any, + data?: DeleteBucketInventoryConfigurationCommandOutput + ) => void + ): void; + deleteBucketInventoryConfiguration( + args: DeleteBucketInventoryConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: DeleteBucketInventoryConfigurationCommandOutput + ) => void + ): void; + deleteBucketLifecycle( + args: DeleteBucketLifecycleCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteBucketLifecycle( + args: DeleteBucketLifecycleCommandInput, + cb: (err: any, data?: DeleteBucketLifecycleCommandOutput) => void + ): void; + deleteBucketLifecycle( + args: DeleteBucketLifecycleCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteBucketLifecycleCommandOutput) => void + ): void; + deleteBucketMetadataConfiguration( + args: DeleteBucketMetadataConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteBucketMetadataConfiguration( + args: DeleteBucketMetadataConfigurationCommandInput, + cb: ( + err: any, + data?: DeleteBucketMetadataConfigurationCommandOutput + ) => void + ): void; + deleteBucketMetadataConfiguration( + args: DeleteBucketMetadataConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: DeleteBucketMetadataConfigurationCommandOutput + ) => void + ): void; + deleteBucketMetadataTableConfiguration( + args: DeleteBucketMetadataTableConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteBucketMetadataTableConfiguration( + args: DeleteBucketMetadataTableConfigurationCommandInput, + cb: ( + err: any, + data?: DeleteBucketMetadataTableConfigurationCommandOutput + ) => void + ): void; + deleteBucketMetadataTableConfiguration( + args: DeleteBucketMetadataTableConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: DeleteBucketMetadataTableConfigurationCommandOutput + ) => void + ): void; + deleteBucketMetricsConfiguration( + args: DeleteBucketMetricsConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteBucketMetricsConfiguration( + args: DeleteBucketMetricsConfigurationCommandInput, + cb: (err: any, data?: DeleteBucketMetricsConfigurationCommandOutput) => void + ): void; + deleteBucketMetricsConfiguration( + args: DeleteBucketMetricsConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteBucketMetricsConfigurationCommandOutput) => void + ): void; + deleteBucketOwnershipControls( + args: DeleteBucketOwnershipControlsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteBucketOwnershipControls( + args: DeleteBucketOwnershipControlsCommandInput, + cb: (err: any, data?: DeleteBucketOwnershipControlsCommandOutput) => void + ): void; + deleteBucketOwnershipControls( + args: DeleteBucketOwnershipControlsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteBucketOwnershipControlsCommandOutput) => void + ): void; + deleteBucketPolicy( + args: DeleteBucketPolicyCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteBucketPolicy( + args: DeleteBucketPolicyCommandInput, + cb: (err: any, data?: DeleteBucketPolicyCommandOutput) => void + ): void; + deleteBucketPolicy( + args: DeleteBucketPolicyCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteBucketPolicyCommandOutput) => void + ): void; + deleteBucketReplication( + args: DeleteBucketReplicationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteBucketReplication( + args: DeleteBucketReplicationCommandInput, + cb: (err: any, data?: DeleteBucketReplicationCommandOutput) => void + ): void; + deleteBucketReplication( + args: DeleteBucketReplicationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteBucketReplicationCommandOutput) => void + ): void; + deleteBucketTagging( + args: DeleteBucketTaggingCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteBucketTagging( + args: DeleteBucketTaggingCommandInput, + cb: (err: any, data?: DeleteBucketTaggingCommandOutput) => void + ): void; + deleteBucketTagging( + args: DeleteBucketTaggingCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteBucketTaggingCommandOutput) => void + ): void; + deleteBucketWebsite( + args: DeleteBucketWebsiteCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteBucketWebsite( + args: DeleteBucketWebsiteCommandInput, + cb: (err: any, data?: DeleteBucketWebsiteCommandOutput) => void + ): void; + deleteBucketWebsite( + args: DeleteBucketWebsiteCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteBucketWebsiteCommandOutput) => void + ): void; + deleteObject( + args: DeleteObjectCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteObject( + args: DeleteObjectCommandInput, + cb: (err: any, data?: DeleteObjectCommandOutput) => void + ): void; + deleteObject( + args: DeleteObjectCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteObjectCommandOutput) => void + ): void; + deleteObjects( + args: DeleteObjectsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteObjects( + args: DeleteObjectsCommandInput, + cb: (err: any, data?: DeleteObjectsCommandOutput) => void + ): void; + deleteObjects( + args: DeleteObjectsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteObjectsCommandOutput) => void + ): void; + deleteObjectTagging( + args: DeleteObjectTaggingCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteObjectTagging( + args: DeleteObjectTaggingCommandInput, + cb: (err: any, data?: DeleteObjectTaggingCommandOutput) => void + ): void; + deleteObjectTagging( + args: DeleteObjectTaggingCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteObjectTaggingCommandOutput) => void + ): void; + deletePublicAccessBlock( + args: DeletePublicAccessBlockCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deletePublicAccessBlock( + args: DeletePublicAccessBlockCommandInput, + cb: (err: any, data?: DeletePublicAccessBlockCommandOutput) => void + ): void; + deletePublicAccessBlock( + args: DeletePublicAccessBlockCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeletePublicAccessBlockCommandOutput) => void + ): void; + getBucketAbac( + args: GetBucketAbacCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketAbac( + args: GetBucketAbacCommandInput, + cb: (err: any, data?: GetBucketAbacCommandOutput) => void + ): void; + getBucketAbac( + args: GetBucketAbacCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketAbacCommandOutput) => void + ): void; + getBucketAccelerateConfiguration( + args: GetBucketAccelerateConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketAccelerateConfiguration( + args: GetBucketAccelerateConfigurationCommandInput, + cb: (err: any, data?: GetBucketAccelerateConfigurationCommandOutput) => void + ): void; + getBucketAccelerateConfiguration( + args: GetBucketAccelerateConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketAccelerateConfigurationCommandOutput) => void + ): void; + getBucketAcl( + args: GetBucketAclCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketAcl( + args: GetBucketAclCommandInput, + cb: (err: any, data?: GetBucketAclCommandOutput) => void + ): void; + getBucketAcl( + args: GetBucketAclCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketAclCommandOutput) => void + ): void; + getBucketAnalyticsConfiguration( + args: GetBucketAnalyticsConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketAnalyticsConfiguration( + args: GetBucketAnalyticsConfigurationCommandInput, + cb: (err: any, data?: GetBucketAnalyticsConfigurationCommandOutput) => void + ): void; + getBucketAnalyticsConfiguration( + args: GetBucketAnalyticsConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketAnalyticsConfigurationCommandOutput) => void + ): void; + getBucketCors( + args: GetBucketCorsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketCors( + args: GetBucketCorsCommandInput, + cb: (err: any, data?: GetBucketCorsCommandOutput) => void + ): void; + getBucketCors( + args: GetBucketCorsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketCorsCommandOutput) => void + ): void; + getBucketEncryption( + args: GetBucketEncryptionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketEncryption( + args: GetBucketEncryptionCommandInput, + cb: (err: any, data?: GetBucketEncryptionCommandOutput) => void + ): void; + getBucketEncryption( + args: GetBucketEncryptionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketEncryptionCommandOutput) => void + ): void; + getBucketIntelligentTieringConfiguration( + args: GetBucketIntelligentTieringConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketIntelligentTieringConfiguration( + args: GetBucketIntelligentTieringConfigurationCommandInput, + cb: ( + err: any, + data?: GetBucketIntelligentTieringConfigurationCommandOutput + ) => void + ): void; + getBucketIntelligentTieringConfiguration( + args: GetBucketIntelligentTieringConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: GetBucketIntelligentTieringConfigurationCommandOutput + ) => void + ): void; + getBucketInventoryConfiguration( + args: GetBucketInventoryConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketInventoryConfiguration( + args: GetBucketInventoryConfigurationCommandInput, + cb: (err: any, data?: GetBucketInventoryConfigurationCommandOutput) => void + ): void; + getBucketInventoryConfiguration( + args: GetBucketInventoryConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketInventoryConfigurationCommandOutput) => void + ): void; + getBucketLifecycleConfiguration( + args: GetBucketLifecycleConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketLifecycleConfiguration( + args: GetBucketLifecycleConfigurationCommandInput, + cb: (err: any, data?: GetBucketLifecycleConfigurationCommandOutput) => void + ): void; + getBucketLifecycleConfiguration( + args: GetBucketLifecycleConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketLifecycleConfigurationCommandOutput) => void + ): void; + getBucketLocation( + args: GetBucketLocationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketLocation( + args: GetBucketLocationCommandInput, + cb: (err: any, data?: GetBucketLocationCommandOutput) => void + ): void; + getBucketLocation( + args: GetBucketLocationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketLocationCommandOutput) => void + ): void; + getBucketLogging( + args: GetBucketLoggingCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketLogging( + args: GetBucketLoggingCommandInput, + cb: (err: any, data?: GetBucketLoggingCommandOutput) => void + ): void; + getBucketLogging( + args: GetBucketLoggingCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketLoggingCommandOutput) => void + ): void; + getBucketMetadataConfiguration( + args: GetBucketMetadataConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketMetadataConfiguration( + args: GetBucketMetadataConfigurationCommandInput, + cb: (err: any, data?: GetBucketMetadataConfigurationCommandOutput) => void + ): void; + getBucketMetadataConfiguration( + args: GetBucketMetadataConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketMetadataConfigurationCommandOutput) => void + ): void; + getBucketMetadataTableConfiguration( + args: GetBucketMetadataTableConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketMetadataTableConfiguration( + args: GetBucketMetadataTableConfigurationCommandInput, + cb: ( + err: any, + data?: GetBucketMetadataTableConfigurationCommandOutput + ) => void + ): void; + getBucketMetadataTableConfiguration( + args: GetBucketMetadataTableConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: GetBucketMetadataTableConfigurationCommandOutput + ) => void + ): void; + getBucketMetricsConfiguration( + args: GetBucketMetricsConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketMetricsConfiguration( + args: GetBucketMetricsConfigurationCommandInput, + cb: (err: any, data?: GetBucketMetricsConfigurationCommandOutput) => void + ): void; + getBucketMetricsConfiguration( + args: GetBucketMetricsConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketMetricsConfigurationCommandOutput) => void + ): void; + getBucketNotificationConfiguration( + args: GetBucketNotificationConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketNotificationConfiguration( + args: GetBucketNotificationConfigurationCommandInput, + cb: ( + err: any, + data?: GetBucketNotificationConfigurationCommandOutput + ) => void + ): void; + getBucketNotificationConfiguration( + args: GetBucketNotificationConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: GetBucketNotificationConfigurationCommandOutput + ) => void + ): void; + getBucketOwnershipControls( + args: GetBucketOwnershipControlsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketOwnershipControls( + args: GetBucketOwnershipControlsCommandInput, + cb: (err: any, data?: GetBucketOwnershipControlsCommandOutput) => void + ): void; + getBucketOwnershipControls( + args: GetBucketOwnershipControlsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketOwnershipControlsCommandOutput) => void + ): void; + getBucketPolicy( + args: GetBucketPolicyCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketPolicy( + args: GetBucketPolicyCommandInput, + cb: (err: any, data?: GetBucketPolicyCommandOutput) => void + ): void; + getBucketPolicy( + args: GetBucketPolicyCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketPolicyCommandOutput) => void + ): void; + getBucketPolicyStatus( + args: GetBucketPolicyStatusCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketPolicyStatus( + args: GetBucketPolicyStatusCommandInput, + cb: (err: any, data?: GetBucketPolicyStatusCommandOutput) => void + ): void; + getBucketPolicyStatus( + args: GetBucketPolicyStatusCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketPolicyStatusCommandOutput) => void + ): void; + getBucketReplication( + args: GetBucketReplicationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketReplication( + args: GetBucketReplicationCommandInput, + cb: (err: any, data?: GetBucketReplicationCommandOutput) => void + ): void; + getBucketReplication( + args: GetBucketReplicationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketReplicationCommandOutput) => void + ): void; + getBucketRequestPayment( + args: GetBucketRequestPaymentCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketRequestPayment( + args: GetBucketRequestPaymentCommandInput, + cb: (err: any, data?: GetBucketRequestPaymentCommandOutput) => void + ): void; + getBucketRequestPayment( + args: GetBucketRequestPaymentCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketRequestPaymentCommandOutput) => void + ): void; + getBucketTagging( + args: GetBucketTaggingCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketTagging( + args: GetBucketTaggingCommandInput, + cb: (err: any, data?: GetBucketTaggingCommandOutput) => void + ): void; + getBucketTagging( + args: GetBucketTaggingCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketTaggingCommandOutput) => void + ): void; + getBucketVersioning( + args: GetBucketVersioningCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketVersioning( + args: GetBucketVersioningCommandInput, + cb: (err: any, data?: GetBucketVersioningCommandOutput) => void + ): void; + getBucketVersioning( + args: GetBucketVersioningCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketVersioningCommandOutput) => void + ): void; + getBucketWebsite( + args: GetBucketWebsiteCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getBucketWebsite( + args: GetBucketWebsiteCommandInput, + cb: (err: any, data?: GetBucketWebsiteCommandOutput) => void + ): void; + getBucketWebsite( + args: GetBucketWebsiteCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBucketWebsiteCommandOutput) => void + ): void; + getObject( + args: GetObjectCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getObject( + args: GetObjectCommandInput, + cb: (err: any, data?: GetObjectCommandOutput) => void + ): void; + getObject( + args: GetObjectCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetObjectCommandOutput) => void + ): void; + getObjectAcl( + args: GetObjectAclCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getObjectAcl( + args: GetObjectAclCommandInput, + cb: (err: any, data?: GetObjectAclCommandOutput) => void + ): void; + getObjectAcl( + args: GetObjectAclCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetObjectAclCommandOutput) => void + ): void; + getObjectAttributes( + args: GetObjectAttributesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getObjectAttributes( + args: GetObjectAttributesCommandInput, + cb: (err: any, data?: GetObjectAttributesCommandOutput) => void + ): void; + getObjectAttributes( + args: GetObjectAttributesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetObjectAttributesCommandOutput) => void + ): void; + getObjectLegalHold( + args: GetObjectLegalHoldCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getObjectLegalHold( + args: GetObjectLegalHoldCommandInput, + cb: (err: any, data?: GetObjectLegalHoldCommandOutput) => void + ): void; + getObjectLegalHold( + args: GetObjectLegalHoldCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetObjectLegalHoldCommandOutput) => void + ): void; + getObjectLockConfiguration( + args: GetObjectLockConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getObjectLockConfiguration( + args: GetObjectLockConfigurationCommandInput, + cb: (err: any, data?: GetObjectLockConfigurationCommandOutput) => void + ): void; + getObjectLockConfiguration( + args: GetObjectLockConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetObjectLockConfigurationCommandOutput) => void + ): void; + getObjectRetention( + args: GetObjectRetentionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getObjectRetention( + args: GetObjectRetentionCommandInput, + cb: (err: any, data?: GetObjectRetentionCommandOutput) => void + ): void; + getObjectRetention( + args: GetObjectRetentionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetObjectRetentionCommandOutput) => void + ): void; + getObjectTagging( + args: GetObjectTaggingCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getObjectTagging( + args: GetObjectTaggingCommandInput, + cb: (err: any, data?: GetObjectTaggingCommandOutput) => void + ): void; + getObjectTagging( + args: GetObjectTaggingCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetObjectTaggingCommandOutput) => void + ): void; + getObjectTorrent( + args: GetObjectTorrentCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getObjectTorrent( + args: GetObjectTorrentCommandInput, + cb: (err: any, data?: GetObjectTorrentCommandOutput) => void + ): void; + getObjectTorrent( + args: GetObjectTorrentCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetObjectTorrentCommandOutput) => void + ): void; + getPublicAccessBlock( + args: GetPublicAccessBlockCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getPublicAccessBlock( + args: GetPublicAccessBlockCommandInput, + cb: (err: any, data?: GetPublicAccessBlockCommandOutput) => void + ): void; + getPublicAccessBlock( + args: GetPublicAccessBlockCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetPublicAccessBlockCommandOutput) => void + ): void; + headBucket( + args: HeadBucketCommandInput, + options?: __HttpHandlerOptions + ): Promise; + headBucket( + args: HeadBucketCommandInput, + cb: (err: any, data?: HeadBucketCommandOutput) => void + ): void; + headBucket( + args: HeadBucketCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: HeadBucketCommandOutput) => void + ): void; + headObject( + args: HeadObjectCommandInput, + options?: __HttpHandlerOptions + ): Promise; + headObject( + args: HeadObjectCommandInput, + cb: (err: any, data?: HeadObjectCommandOutput) => void + ): void; + headObject( + args: HeadObjectCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: HeadObjectCommandOutput) => void + ): void; + listBucketAnalyticsConfigurations( + args: ListBucketAnalyticsConfigurationsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listBucketAnalyticsConfigurations( + args: ListBucketAnalyticsConfigurationsCommandInput, + cb: ( + err: any, + data?: ListBucketAnalyticsConfigurationsCommandOutput + ) => void + ): void; + listBucketAnalyticsConfigurations( + args: ListBucketAnalyticsConfigurationsCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: ListBucketAnalyticsConfigurationsCommandOutput + ) => void + ): void; + listBucketIntelligentTieringConfigurations( + args: ListBucketIntelligentTieringConfigurationsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listBucketIntelligentTieringConfigurations( + args: ListBucketIntelligentTieringConfigurationsCommandInput, + cb: ( + err: any, + data?: ListBucketIntelligentTieringConfigurationsCommandOutput + ) => void + ): void; + listBucketIntelligentTieringConfigurations( + args: ListBucketIntelligentTieringConfigurationsCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: ListBucketIntelligentTieringConfigurationsCommandOutput + ) => void + ): void; + listBucketInventoryConfigurations( + args: ListBucketInventoryConfigurationsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listBucketInventoryConfigurations( + args: ListBucketInventoryConfigurationsCommandInput, + cb: ( + err: any, + data?: ListBucketInventoryConfigurationsCommandOutput + ) => void + ): void; + listBucketInventoryConfigurations( + args: ListBucketInventoryConfigurationsCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: ListBucketInventoryConfigurationsCommandOutput + ) => void + ): void; + listBucketMetricsConfigurations( + args: ListBucketMetricsConfigurationsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listBucketMetricsConfigurations( + args: ListBucketMetricsConfigurationsCommandInput, + cb: (err: any, data?: ListBucketMetricsConfigurationsCommandOutput) => void + ): void; + listBucketMetricsConfigurations( + args: ListBucketMetricsConfigurationsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListBucketMetricsConfigurationsCommandOutput) => void + ): void; + listBuckets(): Promise; + listBuckets( + args: ListBucketsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listBuckets( + args: ListBucketsCommandInput, + cb: (err: any, data?: ListBucketsCommandOutput) => void + ): void; + listBuckets( + args: ListBucketsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListBucketsCommandOutput) => void + ): void; + listDirectoryBuckets(): Promise; + listDirectoryBuckets( + args: ListDirectoryBucketsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listDirectoryBuckets( + args: ListDirectoryBucketsCommandInput, + cb: (err: any, data?: ListDirectoryBucketsCommandOutput) => void + ): void; + listDirectoryBuckets( + args: ListDirectoryBucketsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListDirectoryBucketsCommandOutput) => void + ): void; + listMultipartUploads( + args: ListMultipartUploadsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listMultipartUploads( + args: ListMultipartUploadsCommandInput, + cb: (err: any, data?: ListMultipartUploadsCommandOutput) => void + ): void; + listMultipartUploads( + args: ListMultipartUploadsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListMultipartUploadsCommandOutput) => void + ): void; + listObjects( + args: ListObjectsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listObjects( + args: ListObjectsCommandInput, + cb: (err: any, data?: ListObjectsCommandOutput) => void + ): void; + listObjects( + args: ListObjectsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListObjectsCommandOutput) => void + ): void; + listObjectsV2( + args: ListObjectsV2CommandInput, + options?: __HttpHandlerOptions + ): Promise; + listObjectsV2( + args: ListObjectsV2CommandInput, + cb: (err: any, data?: ListObjectsV2CommandOutput) => void + ): void; + listObjectsV2( + args: ListObjectsV2CommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListObjectsV2CommandOutput) => void + ): void; + listObjectVersions( + args: ListObjectVersionsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listObjectVersions( + args: ListObjectVersionsCommandInput, + cb: (err: any, data?: ListObjectVersionsCommandOutput) => void + ): void; + listObjectVersions( + args: ListObjectVersionsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListObjectVersionsCommandOutput) => void + ): void; + listParts( + args: ListPartsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listParts( + args: ListPartsCommandInput, + cb: (err: any, data?: ListPartsCommandOutput) => void + ): void; + listParts( + args: ListPartsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListPartsCommandOutput) => void + ): void; + putBucketAbac( + args: PutBucketAbacCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putBucketAbac( + args: PutBucketAbacCommandInput, + cb: (err: any, data?: PutBucketAbacCommandOutput) => void + ): void; + putBucketAbac( + args: PutBucketAbacCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutBucketAbacCommandOutput) => void + ): void; + putBucketAccelerateConfiguration( + args: PutBucketAccelerateConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putBucketAccelerateConfiguration( + args: PutBucketAccelerateConfigurationCommandInput, + cb: (err: any, data?: PutBucketAccelerateConfigurationCommandOutput) => void + ): void; + putBucketAccelerateConfiguration( + args: PutBucketAccelerateConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutBucketAccelerateConfigurationCommandOutput) => void + ): void; + putBucketAcl( + args: PutBucketAclCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putBucketAcl( + args: PutBucketAclCommandInput, + cb: (err: any, data?: PutBucketAclCommandOutput) => void + ): void; + putBucketAcl( + args: PutBucketAclCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutBucketAclCommandOutput) => void + ): void; + putBucketAnalyticsConfiguration( + args: PutBucketAnalyticsConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putBucketAnalyticsConfiguration( + args: PutBucketAnalyticsConfigurationCommandInput, + cb: (err: any, data?: PutBucketAnalyticsConfigurationCommandOutput) => void + ): void; + putBucketAnalyticsConfiguration( + args: PutBucketAnalyticsConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutBucketAnalyticsConfigurationCommandOutput) => void + ): void; + putBucketCors( + args: PutBucketCorsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putBucketCors( + args: PutBucketCorsCommandInput, + cb: (err: any, data?: PutBucketCorsCommandOutput) => void + ): void; + putBucketCors( + args: PutBucketCorsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutBucketCorsCommandOutput) => void + ): void; + putBucketEncryption( + args: PutBucketEncryptionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putBucketEncryption( + args: PutBucketEncryptionCommandInput, + cb: (err: any, data?: PutBucketEncryptionCommandOutput) => void + ): void; + putBucketEncryption( + args: PutBucketEncryptionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutBucketEncryptionCommandOutput) => void + ): void; + putBucketIntelligentTieringConfiguration( + args: PutBucketIntelligentTieringConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putBucketIntelligentTieringConfiguration( + args: PutBucketIntelligentTieringConfigurationCommandInput, + cb: ( + err: any, + data?: PutBucketIntelligentTieringConfigurationCommandOutput + ) => void + ): void; + putBucketIntelligentTieringConfiguration( + args: PutBucketIntelligentTieringConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: PutBucketIntelligentTieringConfigurationCommandOutput + ) => void + ): void; + putBucketInventoryConfiguration( + args: PutBucketInventoryConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putBucketInventoryConfiguration( + args: PutBucketInventoryConfigurationCommandInput, + cb: (err: any, data?: PutBucketInventoryConfigurationCommandOutput) => void + ): void; + putBucketInventoryConfiguration( + args: PutBucketInventoryConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutBucketInventoryConfigurationCommandOutput) => void + ): void; + putBucketLifecycleConfiguration( + args: PutBucketLifecycleConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putBucketLifecycleConfiguration( + args: PutBucketLifecycleConfigurationCommandInput, + cb: (err: any, data?: PutBucketLifecycleConfigurationCommandOutput) => void + ): void; + putBucketLifecycleConfiguration( + args: PutBucketLifecycleConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutBucketLifecycleConfigurationCommandOutput) => void + ): void; + putBucketLogging( + args: PutBucketLoggingCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putBucketLogging( + args: PutBucketLoggingCommandInput, + cb: (err: any, data?: PutBucketLoggingCommandOutput) => void + ): void; + putBucketLogging( + args: PutBucketLoggingCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutBucketLoggingCommandOutput) => void + ): void; + putBucketMetricsConfiguration( + args: PutBucketMetricsConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putBucketMetricsConfiguration( + args: PutBucketMetricsConfigurationCommandInput, + cb: (err: any, data?: PutBucketMetricsConfigurationCommandOutput) => void + ): void; + putBucketMetricsConfiguration( + args: PutBucketMetricsConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutBucketMetricsConfigurationCommandOutput) => void + ): void; + putBucketNotificationConfiguration( + args: PutBucketNotificationConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putBucketNotificationConfiguration( + args: PutBucketNotificationConfigurationCommandInput, + cb: ( + err: any, + data?: PutBucketNotificationConfigurationCommandOutput + ) => void + ): void; + putBucketNotificationConfiguration( + args: PutBucketNotificationConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: PutBucketNotificationConfigurationCommandOutput + ) => void + ): void; + putBucketOwnershipControls( + args: PutBucketOwnershipControlsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putBucketOwnershipControls( + args: PutBucketOwnershipControlsCommandInput, + cb: (err: any, data?: PutBucketOwnershipControlsCommandOutput) => void + ): void; + putBucketOwnershipControls( + args: PutBucketOwnershipControlsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutBucketOwnershipControlsCommandOutput) => void + ): void; + putBucketPolicy( + args: PutBucketPolicyCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putBucketPolicy( + args: PutBucketPolicyCommandInput, + cb: (err: any, data?: PutBucketPolicyCommandOutput) => void + ): void; + putBucketPolicy( + args: PutBucketPolicyCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutBucketPolicyCommandOutput) => void + ): void; + putBucketReplication( + args: PutBucketReplicationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putBucketReplication( + args: PutBucketReplicationCommandInput, + cb: (err: any, data?: PutBucketReplicationCommandOutput) => void + ): void; + putBucketReplication( + args: PutBucketReplicationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutBucketReplicationCommandOutput) => void + ): void; + putBucketRequestPayment( + args: PutBucketRequestPaymentCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putBucketRequestPayment( + args: PutBucketRequestPaymentCommandInput, + cb: (err: any, data?: PutBucketRequestPaymentCommandOutput) => void + ): void; + putBucketRequestPayment( + args: PutBucketRequestPaymentCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutBucketRequestPaymentCommandOutput) => void + ): void; + putBucketTagging( + args: PutBucketTaggingCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putBucketTagging( + args: PutBucketTaggingCommandInput, + cb: (err: any, data?: PutBucketTaggingCommandOutput) => void + ): void; + putBucketTagging( + args: PutBucketTaggingCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutBucketTaggingCommandOutput) => void + ): void; + putBucketVersioning( + args: PutBucketVersioningCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putBucketVersioning( + args: PutBucketVersioningCommandInput, + cb: (err: any, data?: PutBucketVersioningCommandOutput) => void + ): void; + putBucketVersioning( + args: PutBucketVersioningCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutBucketVersioningCommandOutput) => void + ): void; + putBucketWebsite( + args: PutBucketWebsiteCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putBucketWebsite( + args: PutBucketWebsiteCommandInput, + cb: (err: any, data?: PutBucketWebsiteCommandOutput) => void + ): void; + putBucketWebsite( + args: PutBucketWebsiteCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutBucketWebsiteCommandOutput) => void + ): void; + putObject( + args: PutObjectCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putObject( + args: PutObjectCommandInput, + cb: (err: any, data?: PutObjectCommandOutput) => void + ): void; + putObject( + args: PutObjectCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutObjectCommandOutput) => void + ): void; + putObjectAcl( + args: PutObjectAclCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putObjectAcl( + args: PutObjectAclCommandInput, + cb: (err: any, data?: PutObjectAclCommandOutput) => void + ): void; + putObjectAcl( + args: PutObjectAclCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutObjectAclCommandOutput) => void + ): void; + putObjectLegalHold( + args: PutObjectLegalHoldCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putObjectLegalHold( + args: PutObjectLegalHoldCommandInput, + cb: (err: any, data?: PutObjectLegalHoldCommandOutput) => void + ): void; + putObjectLegalHold( + args: PutObjectLegalHoldCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutObjectLegalHoldCommandOutput) => void + ): void; + putObjectLockConfiguration( + args: PutObjectLockConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putObjectLockConfiguration( + args: PutObjectLockConfigurationCommandInput, + cb: (err: any, data?: PutObjectLockConfigurationCommandOutput) => void + ): void; + putObjectLockConfiguration( + args: PutObjectLockConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutObjectLockConfigurationCommandOutput) => void + ): void; + putObjectRetention( + args: PutObjectRetentionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putObjectRetention( + args: PutObjectRetentionCommandInput, + cb: (err: any, data?: PutObjectRetentionCommandOutput) => void + ): void; + putObjectRetention( + args: PutObjectRetentionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutObjectRetentionCommandOutput) => void + ): void; + putObjectTagging( + args: PutObjectTaggingCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putObjectTagging( + args: PutObjectTaggingCommandInput, + cb: (err: any, data?: PutObjectTaggingCommandOutput) => void + ): void; + putObjectTagging( + args: PutObjectTaggingCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutObjectTaggingCommandOutput) => void + ): void; + putPublicAccessBlock( + args: PutPublicAccessBlockCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putPublicAccessBlock( + args: PutPublicAccessBlockCommandInput, + cb: (err: any, data?: PutPublicAccessBlockCommandOutput) => void + ): void; + putPublicAccessBlock( + args: PutPublicAccessBlockCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutPublicAccessBlockCommandOutput) => void + ): void; + renameObject( + args: RenameObjectCommandInput, + options?: __HttpHandlerOptions + ): Promise; + renameObject( + args: RenameObjectCommandInput, + cb: (err: any, data?: RenameObjectCommandOutput) => void + ): void; + renameObject( + args: RenameObjectCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: RenameObjectCommandOutput) => void + ): void; + restoreObject( + args: RestoreObjectCommandInput, + options?: __HttpHandlerOptions + ): Promise; + restoreObject( + args: RestoreObjectCommandInput, + cb: (err: any, data?: RestoreObjectCommandOutput) => void + ): void; + restoreObject( + args: RestoreObjectCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: RestoreObjectCommandOutput) => void + ): void; + selectObjectContent( + args: SelectObjectContentCommandInput, + options?: __HttpHandlerOptions + ): Promise; + selectObjectContent( + args: SelectObjectContentCommandInput, + cb: (err: any, data?: SelectObjectContentCommandOutput) => void + ): void; + selectObjectContent( + args: SelectObjectContentCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: SelectObjectContentCommandOutput) => void + ): void; + updateBucketMetadataInventoryTableConfiguration( + args: UpdateBucketMetadataInventoryTableConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + updateBucketMetadataInventoryTableConfiguration( + args: UpdateBucketMetadataInventoryTableConfigurationCommandInput, + cb: ( + err: any, + data?: UpdateBucketMetadataInventoryTableConfigurationCommandOutput + ) => void + ): void; + updateBucketMetadataInventoryTableConfiguration( + args: UpdateBucketMetadataInventoryTableConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: UpdateBucketMetadataInventoryTableConfigurationCommandOutput + ) => void + ): void; + updateBucketMetadataJournalTableConfiguration( + args: UpdateBucketMetadataJournalTableConfigurationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + updateBucketMetadataJournalTableConfiguration( + args: UpdateBucketMetadataJournalTableConfigurationCommandInput, + cb: ( + err: any, + data?: UpdateBucketMetadataJournalTableConfigurationCommandOutput + ) => void + ): void; + updateBucketMetadataJournalTableConfiguration( + args: UpdateBucketMetadataJournalTableConfigurationCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: UpdateBucketMetadataJournalTableConfigurationCommandOutput + ) => void + ): void; + updateObjectEncryption( + args: UpdateObjectEncryptionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + updateObjectEncryption( + args: UpdateObjectEncryptionCommandInput, + cb: (err: any, data?: UpdateObjectEncryptionCommandOutput) => void + ): void; + updateObjectEncryption( + args: UpdateObjectEncryptionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateObjectEncryptionCommandOutput) => void + ): void; + uploadPart( + args: UploadPartCommandInput, + options?: __HttpHandlerOptions + ): Promise; + uploadPart( + args: UploadPartCommandInput, + cb: (err: any, data?: UploadPartCommandOutput) => void + ): void; + uploadPart( + args: UploadPartCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UploadPartCommandOutput) => void + ): void; + uploadPartCopy( + args: UploadPartCopyCommandInput, + options?: __HttpHandlerOptions + ): Promise; + uploadPartCopy( + args: UploadPartCopyCommandInput, + cb: (err: any, data?: UploadPartCopyCommandOutput) => void + ): void; + uploadPartCopy( + args: UploadPartCopyCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UploadPartCopyCommandOutput) => void + ): void; + writeGetObjectResponse( + args: WriteGetObjectResponseCommandInput, + options?: __HttpHandlerOptions + ): Promise; + writeGetObjectResponse( + args: WriteGetObjectResponseCommandInput, + cb: (err: any, data?: WriteGetObjectResponseCommandOutput) => void + ): void; + writeGetObjectResponse( + args: WriteGetObjectResponseCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: WriteGetObjectResponseCommandOutput) => void + ): void; + paginateListBuckets( + args?: ListBucketsCommandInput, + paginationConfig?: Pick< + PaginationConfiguration, + Exclude + > + ): Paginator; + paginateListDirectoryBuckets( + args?: ListDirectoryBucketsCommandInput, + paginationConfig?: Pick< + PaginationConfiguration, + Exclude + > + ): Paginator; + paginateListObjectsV2( + args: ListObjectsV2CommandInput, + paginationConfig?: Pick< + PaginationConfiguration, + Exclude + > + ): Paginator; + paginateListParts( + args: ListPartsCommandInput, + paginationConfig?: Pick< + PaginationConfiguration, + Exclude + > + ): Paginator; + waitUntilBucketExists( + args: HeadBucketCommandInput, + waiterConfig: + | number + | Pick< + WaiterConfiguration, + Exclude, "client"> + > + ): Promise; + waitUntilBucketNotExists( + args: HeadBucketCommandInput, + waiterConfig: + | number + | Pick< + WaiterConfiguration, + Exclude, "client"> + > + ): Promise; + waitUntilObjectExists( + args: HeadObjectCommandInput, + waiterConfig: + | number + | Pick< + WaiterConfiguration, + Exclude, "client"> + > + ): Promise; + waitUntilObjectNotExists( + args: HeadObjectCommandInput, + waiterConfig: + | number + | Pick< + WaiterConfiguration, + Exclude, "client"> + > + ): Promise; +} +export declare class S3 extends S3Client implements S3 {} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts new file mode 100644 index 0000000..e9c68d9 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts @@ -0,0 +1,785 @@ +import { + FlexibleChecksumsInputConfig, + FlexibleChecksumsResolvedConfig, +} from "@aws-sdk/middleware-flexible-checksums"; +import { + HostHeaderInputConfig, + HostHeaderResolvedConfig, +} from "@aws-sdk/middleware-host-header"; +import { S3InputConfig, S3ResolvedConfig } from "@aws-sdk/middleware-sdk-s3"; +import { + UserAgentInputConfig, + UserAgentResolvedConfig, +} from "@aws-sdk/middleware-user-agent"; +import { GetAwsChunkedEncodingStream } from "@aws-sdk/types"; +import { + RegionInputConfig, + RegionResolvedConfig, +} from "@smithy/config-resolver"; +import { + EventStreamSerdeInputConfig, + EventStreamSerdeResolvedConfig, +} from "@smithy/eventstream-serde-config-resolver"; +import { + EndpointInputConfig, + EndpointResolvedConfig, +} from "@smithy/middleware-endpoint"; +import { + RetryInputConfig, + RetryResolvedConfig, +} from "@smithy/middleware-retry"; +import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http"; +import { + DefaultsMode as __DefaultsMode, + SmithyConfiguration as __SmithyConfiguration, + SmithyResolvedConfiguration as __SmithyResolvedConfiguration, + Client as __Client, +} from "@smithy/smithy-client"; +import { + AwsCredentialIdentityProvider, + BodyLengthCalculator as __BodyLengthCalculator, + CheckOptionalClientConfig as __CheckOptionalClientConfig, + ChecksumConstructor as __ChecksumConstructor, + Decoder as __Decoder, + Encoder as __Encoder, + EventStreamSerdeProvider as __EventStreamSerdeProvider, + HashConstructor as __HashConstructor, + HttpHandlerOptions as __HttpHandlerOptions, + Logger as __Logger, + Provider as __Provider, + SdkStreamMixinInjector as __SdkStreamMixinInjector, + StreamCollector as __StreamCollector, + StreamHasher as __StreamHasher, + UrlParser as __UrlParser, + UserAgent as __UserAgent, +} from "@smithy/types"; +import { Readable as Readable } from "node:stream"; +import { + HttpAuthSchemeInputConfig, + HttpAuthSchemeResolvedConfig, +} from "./auth/httpAuthSchemeProvider"; +import { + AbortMultipartUploadCommandInput, + AbortMultipartUploadCommandOutput, +} from "./commands/AbortMultipartUploadCommand"; +import { + CompleteMultipartUploadCommandInput, + CompleteMultipartUploadCommandOutput, +} from "./commands/CompleteMultipartUploadCommand"; +import { + CopyObjectCommandInput, + CopyObjectCommandOutput, +} from "./commands/CopyObjectCommand"; +import { + CreateBucketCommandInput, + CreateBucketCommandOutput, +} from "./commands/CreateBucketCommand"; +import { + CreateBucketMetadataConfigurationCommandInput, + CreateBucketMetadataConfigurationCommandOutput, +} from "./commands/CreateBucketMetadataConfigurationCommand"; +import { + CreateBucketMetadataTableConfigurationCommandInput, + CreateBucketMetadataTableConfigurationCommandOutput, +} from "./commands/CreateBucketMetadataTableConfigurationCommand"; +import { + CreateMultipartUploadCommandInput, + CreateMultipartUploadCommandOutput, +} from "./commands/CreateMultipartUploadCommand"; +import { + CreateSessionCommandInput, + CreateSessionCommandOutput, +} from "./commands/CreateSessionCommand"; +import { + DeleteBucketAnalyticsConfigurationCommandInput, + DeleteBucketAnalyticsConfigurationCommandOutput, +} from "./commands/DeleteBucketAnalyticsConfigurationCommand"; +import { + DeleteBucketCommandInput, + DeleteBucketCommandOutput, +} from "./commands/DeleteBucketCommand"; +import { + DeleteBucketCorsCommandInput, + DeleteBucketCorsCommandOutput, +} from "./commands/DeleteBucketCorsCommand"; +import { + DeleteBucketEncryptionCommandInput, + DeleteBucketEncryptionCommandOutput, +} from "./commands/DeleteBucketEncryptionCommand"; +import { + DeleteBucketIntelligentTieringConfigurationCommandInput, + DeleteBucketIntelligentTieringConfigurationCommandOutput, +} from "./commands/DeleteBucketIntelligentTieringConfigurationCommand"; +import { + DeleteBucketInventoryConfigurationCommandInput, + DeleteBucketInventoryConfigurationCommandOutput, +} from "./commands/DeleteBucketInventoryConfigurationCommand"; +import { + DeleteBucketLifecycleCommandInput, + DeleteBucketLifecycleCommandOutput, +} from "./commands/DeleteBucketLifecycleCommand"; +import { + DeleteBucketMetadataConfigurationCommandInput, + DeleteBucketMetadataConfigurationCommandOutput, +} from "./commands/DeleteBucketMetadataConfigurationCommand"; +import { + DeleteBucketMetadataTableConfigurationCommandInput, + DeleteBucketMetadataTableConfigurationCommandOutput, +} from "./commands/DeleteBucketMetadataTableConfigurationCommand"; +import { + DeleteBucketMetricsConfigurationCommandInput, + DeleteBucketMetricsConfigurationCommandOutput, +} from "./commands/DeleteBucketMetricsConfigurationCommand"; +import { + DeleteBucketOwnershipControlsCommandInput, + DeleteBucketOwnershipControlsCommandOutput, +} from "./commands/DeleteBucketOwnershipControlsCommand"; +import { + DeleteBucketPolicyCommandInput, + DeleteBucketPolicyCommandOutput, +} from "./commands/DeleteBucketPolicyCommand"; +import { + DeleteBucketReplicationCommandInput, + DeleteBucketReplicationCommandOutput, +} from "./commands/DeleteBucketReplicationCommand"; +import { + DeleteBucketTaggingCommandInput, + DeleteBucketTaggingCommandOutput, +} from "./commands/DeleteBucketTaggingCommand"; +import { + DeleteBucketWebsiteCommandInput, + DeleteBucketWebsiteCommandOutput, +} from "./commands/DeleteBucketWebsiteCommand"; +import { + DeleteObjectCommandInput, + DeleteObjectCommandOutput, +} from "./commands/DeleteObjectCommand"; +import { + DeleteObjectsCommandInput, + DeleteObjectsCommandOutput, +} from "./commands/DeleteObjectsCommand"; +import { + DeleteObjectTaggingCommandInput, + DeleteObjectTaggingCommandOutput, +} from "./commands/DeleteObjectTaggingCommand"; +import { + DeletePublicAccessBlockCommandInput, + DeletePublicAccessBlockCommandOutput, +} from "./commands/DeletePublicAccessBlockCommand"; +import { + GetBucketAbacCommandInput, + GetBucketAbacCommandOutput, +} from "./commands/GetBucketAbacCommand"; +import { + GetBucketAccelerateConfigurationCommandInput, + GetBucketAccelerateConfigurationCommandOutput, +} from "./commands/GetBucketAccelerateConfigurationCommand"; +import { + GetBucketAclCommandInput, + GetBucketAclCommandOutput, +} from "./commands/GetBucketAclCommand"; +import { + GetBucketAnalyticsConfigurationCommandInput, + GetBucketAnalyticsConfigurationCommandOutput, +} from "./commands/GetBucketAnalyticsConfigurationCommand"; +import { + GetBucketCorsCommandInput, + GetBucketCorsCommandOutput, +} from "./commands/GetBucketCorsCommand"; +import { + GetBucketEncryptionCommandInput, + GetBucketEncryptionCommandOutput, +} from "./commands/GetBucketEncryptionCommand"; +import { + GetBucketIntelligentTieringConfigurationCommandInput, + GetBucketIntelligentTieringConfigurationCommandOutput, +} from "./commands/GetBucketIntelligentTieringConfigurationCommand"; +import { + GetBucketInventoryConfigurationCommandInput, + GetBucketInventoryConfigurationCommandOutput, +} from "./commands/GetBucketInventoryConfigurationCommand"; +import { + GetBucketLifecycleConfigurationCommandInput, + GetBucketLifecycleConfigurationCommandOutput, +} from "./commands/GetBucketLifecycleConfigurationCommand"; +import { + GetBucketLocationCommandInput, + GetBucketLocationCommandOutput, +} from "./commands/GetBucketLocationCommand"; +import { + GetBucketLoggingCommandInput, + GetBucketLoggingCommandOutput, +} from "./commands/GetBucketLoggingCommand"; +import { + GetBucketMetadataConfigurationCommandInput, + GetBucketMetadataConfigurationCommandOutput, +} from "./commands/GetBucketMetadataConfigurationCommand"; +import { + GetBucketMetadataTableConfigurationCommandInput, + GetBucketMetadataTableConfigurationCommandOutput, +} from "./commands/GetBucketMetadataTableConfigurationCommand"; +import { + GetBucketMetricsConfigurationCommandInput, + GetBucketMetricsConfigurationCommandOutput, +} from "./commands/GetBucketMetricsConfigurationCommand"; +import { + GetBucketNotificationConfigurationCommandInput, + GetBucketNotificationConfigurationCommandOutput, +} from "./commands/GetBucketNotificationConfigurationCommand"; +import { + GetBucketOwnershipControlsCommandInput, + GetBucketOwnershipControlsCommandOutput, +} from "./commands/GetBucketOwnershipControlsCommand"; +import { + GetBucketPolicyCommandInput, + GetBucketPolicyCommandOutput, +} from "./commands/GetBucketPolicyCommand"; +import { + GetBucketPolicyStatusCommandInput, + GetBucketPolicyStatusCommandOutput, +} from "./commands/GetBucketPolicyStatusCommand"; +import { + GetBucketReplicationCommandInput, + GetBucketReplicationCommandOutput, +} from "./commands/GetBucketReplicationCommand"; +import { + GetBucketRequestPaymentCommandInput, + GetBucketRequestPaymentCommandOutput, +} from "./commands/GetBucketRequestPaymentCommand"; +import { + GetBucketTaggingCommandInput, + GetBucketTaggingCommandOutput, +} from "./commands/GetBucketTaggingCommand"; +import { + GetBucketVersioningCommandInput, + GetBucketVersioningCommandOutput, +} from "./commands/GetBucketVersioningCommand"; +import { + GetBucketWebsiteCommandInput, + GetBucketWebsiteCommandOutput, +} from "./commands/GetBucketWebsiteCommand"; +import { + GetObjectAclCommandInput, + GetObjectAclCommandOutput, +} from "./commands/GetObjectAclCommand"; +import { + GetObjectAttributesCommandInput, + GetObjectAttributesCommandOutput, +} from "./commands/GetObjectAttributesCommand"; +import { + GetObjectCommandInput, + GetObjectCommandOutput, +} from "./commands/GetObjectCommand"; +import { + GetObjectLegalHoldCommandInput, + GetObjectLegalHoldCommandOutput, +} from "./commands/GetObjectLegalHoldCommand"; +import { + GetObjectLockConfigurationCommandInput, + GetObjectLockConfigurationCommandOutput, +} from "./commands/GetObjectLockConfigurationCommand"; +import { + GetObjectRetentionCommandInput, + GetObjectRetentionCommandOutput, +} from "./commands/GetObjectRetentionCommand"; +import { + GetObjectTaggingCommandInput, + GetObjectTaggingCommandOutput, +} from "./commands/GetObjectTaggingCommand"; +import { + GetObjectTorrentCommandInput, + GetObjectTorrentCommandOutput, +} from "./commands/GetObjectTorrentCommand"; +import { + GetPublicAccessBlockCommandInput, + GetPublicAccessBlockCommandOutput, +} from "./commands/GetPublicAccessBlockCommand"; +import { + HeadBucketCommandInput, + HeadBucketCommandOutput, +} from "./commands/HeadBucketCommand"; +import { + HeadObjectCommandInput, + HeadObjectCommandOutput, +} from "./commands/HeadObjectCommand"; +import { + ListBucketAnalyticsConfigurationsCommandInput, + ListBucketAnalyticsConfigurationsCommandOutput, +} from "./commands/ListBucketAnalyticsConfigurationsCommand"; +import { + ListBucketIntelligentTieringConfigurationsCommandInput, + ListBucketIntelligentTieringConfigurationsCommandOutput, +} from "./commands/ListBucketIntelligentTieringConfigurationsCommand"; +import { + ListBucketInventoryConfigurationsCommandInput, + ListBucketInventoryConfigurationsCommandOutput, +} from "./commands/ListBucketInventoryConfigurationsCommand"; +import { + ListBucketMetricsConfigurationsCommandInput, + ListBucketMetricsConfigurationsCommandOutput, +} from "./commands/ListBucketMetricsConfigurationsCommand"; +import { + ListBucketsCommandInput, + ListBucketsCommandOutput, +} from "./commands/ListBucketsCommand"; +import { + ListDirectoryBucketsCommandInput, + ListDirectoryBucketsCommandOutput, +} from "./commands/ListDirectoryBucketsCommand"; +import { + ListMultipartUploadsCommandInput, + ListMultipartUploadsCommandOutput, +} from "./commands/ListMultipartUploadsCommand"; +import { + ListObjectsCommandInput, + ListObjectsCommandOutput, +} from "./commands/ListObjectsCommand"; +import { + ListObjectsV2CommandInput, + ListObjectsV2CommandOutput, +} from "./commands/ListObjectsV2Command"; +import { + ListObjectVersionsCommandInput, + ListObjectVersionsCommandOutput, +} from "./commands/ListObjectVersionsCommand"; +import { + ListPartsCommandInput, + ListPartsCommandOutput, +} from "./commands/ListPartsCommand"; +import { + PutBucketAbacCommandInput, + PutBucketAbacCommandOutput, +} from "./commands/PutBucketAbacCommand"; +import { + PutBucketAccelerateConfigurationCommandInput, + PutBucketAccelerateConfigurationCommandOutput, +} from "./commands/PutBucketAccelerateConfigurationCommand"; +import { + PutBucketAclCommandInput, + PutBucketAclCommandOutput, +} from "./commands/PutBucketAclCommand"; +import { + PutBucketAnalyticsConfigurationCommandInput, + PutBucketAnalyticsConfigurationCommandOutput, +} from "./commands/PutBucketAnalyticsConfigurationCommand"; +import { + PutBucketCorsCommandInput, + PutBucketCorsCommandOutput, +} from "./commands/PutBucketCorsCommand"; +import { + PutBucketEncryptionCommandInput, + PutBucketEncryptionCommandOutput, +} from "./commands/PutBucketEncryptionCommand"; +import { + PutBucketIntelligentTieringConfigurationCommandInput, + PutBucketIntelligentTieringConfigurationCommandOutput, +} from "./commands/PutBucketIntelligentTieringConfigurationCommand"; +import { + PutBucketInventoryConfigurationCommandInput, + PutBucketInventoryConfigurationCommandOutput, +} from "./commands/PutBucketInventoryConfigurationCommand"; +import { + PutBucketLifecycleConfigurationCommandInput, + PutBucketLifecycleConfigurationCommandOutput, +} from "./commands/PutBucketLifecycleConfigurationCommand"; +import { + PutBucketLoggingCommandInput, + PutBucketLoggingCommandOutput, +} from "./commands/PutBucketLoggingCommand"; +import { + PutBucketMetricsConfigurationCommandInput, + PutBucketMetricsConfigurationCommandOutput, +} from "./commands/PutBucketMetricsConfigurationCommand"; +import { + PutBucketNotificationConfigurationCommandInput, + PutBucketNotificationConfigurationCommandOutput, +} from "./commands/PutBucketNotificationConfigurationCommand"; +import { + PutBucketOwnershipControlsCommandInput, + PutBucketOwnershipControlsCommandOutput, +} from "./commands/PutBucketOwnershipControlsCommand"; +import { + PutBucketPolicyCommandInput, + PutBucketPolicyCommandOutput, +} from "./commands/PutBucketPolicyCommand"; +import { + PutBucketReplicationCommandInput, + PutBucketReplicationCommandOutput, +} from "./commands/PutBucketReplicationCommand"; +import { + PutBucketRequestPaymentCommandInput, + PutBucketRequestPaymentCommandOutput, +} from "./commands/PutBucketRequestPaymentCommand"; +import { + PutBucketTaggingCommandInput, + PutBucketTaggingCommandOutput, +} from "./commands/PutBucketTaggingCommand"; +import { + PutBucketVersioningCommandInput, + PutBucketVersioningCommandOutput, +} from "./commands/PutBucketVersioningCommand"; +import { + PutBucketWebsiteCommandInput, + PutBucketWebsiteCommandOutput, +} from "./commands/PutBucketWebsiteCommand"; +import { + PutObjectAclCommandInput, + PutObjectAclCommandOutput, +} from "./commands/PutObjectAclCommand"; +import { + PutObjectCommandInput, + PutObjectCommandOutput, +} from "./commands/PutObjectCommand"; +import { + PutObjectLegalHoldCommandInput, + PutObjectLegalHoldCommandOutput, +} from "./commands/PutObjectLegalHoldCommand"; +import { + PutObjectLockConfigurationCommandInput, + PutObjectLockConfigurationCommandOutput, +} from "./commands/PutObjectLockConfigurationCommand"; +import { + PutObjectRetentionCommandInput, + PutObjectRetentionCommandOutput, +} from "./commands/PutObjectRetentionCommand"; +import { + PutObjectTaggingCommandInput, + PutObjectTaggingCommandOutput, +} from "./commands/PutObjectTaggingCommand"; +import { + PutPublicAccessBlockCommandInput, + PutPublicAccessBlockCommandOutput, +} from "./commands/PutPublicAccessBlockCommand"; +import { + RenameObjectCommandInput, + RenameObjectCommandOutput, +} from "./commands/RenameObjectCommand"; +import { + RestoreObjectCommandInput, + RestoreObjectCommandOutput, +} from "./commands/RestoreObjectCommand"; +import { + SelectObjectContentCommandInput, + SelectObjectContentCommandOutput, +} from "./commands/SelectObjectContentCommand"; +import { + UpdateBucketMetadataInventoryTableConfigurationCommandInput, + UpdateBucketMetadataInventoryTableConfigurationCommandOutput, +} from "./commands/UpdateBucketMetadataInventoryTableConfigurationCommand"; +import { + UpdateBucketMetadataJournalTableConfigurationCommandInput, + UpdateBucketMetadataJournalTableConfigurationCommandOutput, +} from "./commands/UpdateBucketMetadataJournalTableConfigurationCommand"; +import { + UpdateObjectEncryptionCommandInput, + UpdateObjectEncryptionCommandOutput, +} from "./commands/UpdateObjectEncryptionCommand"; +import { + UploadPartCommandInput, + UploadPartCommandOutput, +} from "./commands/UploadPartCommand"; +import { + UploadPartCopyCommandInput, + UploadPartCopyCommandOutput, +} from "./commands/UploadPartCopyCommand"; +import { + WriteGetObjectResponseCommandInput, + WriteGetObjectResponseCommandOutput, +} from "./commands/WriteGetObjectResponseCommand"; +import { + ClientInputEndpointParameters, + ClientResolvedEndpointParameters, + EndpointParameters, +} from "./endpoint/EndpointParameters"; +import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions"; +export { __Client }; +export type ServiceInputTypes = + | AbortMultipartUploadCommandInput + | CompleteMultipartUploadCommandInput + | CopyObjectCommandInput + | CreateBucketCommandInput + | CreateBucketMetadataConfigurationCommandInput + | CreateBucketMetadataTableConfigurationCommandInput + | CreateMultipartUploadCommandInput + | CreateSessionCommandInput + | DeleteBucketAnalyticsConfigurationCommandInput + | DeleteBucketCommandInput + | DeleteBucketCorsCommandInput + | DeleteBucketEncryptionCommandInput + | DeleteBucketIntelligentTieringConfigurationCommandInput + | DeleteBucketInventoryConfigurationCommandInput + | DeleteBucketLifecycleCommandInput + | DeleteBucketMetadataConfigurationCommandInput + | DeleteBucketMetadataTableConfigurationCommandInput + | DeleteBucketMetricsConfigurationCommandInput + | DeleteBucketOwnershipControlsCommandInput + | DeleteBucketPolicyCommandInput + | DeleteBucketReplicationCommandInput + | DeleteBucketTaggingCommandInput + | DeleteBucketWebsiteCommandInput + | DeleteObjectCommandInput + | DeleteObjectTaggingCommandInput + | DeleteObjectsCommandInput + | DeletePublicAccessBlockCommandInput + | GetBucketAbacCommandInput + | GetBucketAccelerateConfigurationCommandInput + | GetBucketAclCommandInput + | GetBucketAnalyticsConfigurationCommandInput + | GetBucketCorsCommandInput + | GetBucketEncryptionCommandInput + | GetBucketIntelligentTieringConfigurationCommandInput + | GetBucketInventoryConfigurationCommandInput + | GetBucketLifecycleConfigurationCommandInput + | GetBucketLocationCommandInput + | GetBucketLoggingCommandInput + | GetBucketMetadataConfigurationCommandInput + | GetBucketMetadataTableConfigurationCommandInput + | GetBucketMetricsConfigurationCommandInput + | GetBucketNotificationConfigurationCommandInput + | GetBucketOwnershipControlsCommandInput + | GetBucketPolicyCommandInput + | GetBucketPolicyStatusCommandInput + | GetBucketReplicationCommandInput + | GetBucketRequestPaymentCommandInput + | GetBucketTaggingCommandInput + | GetBucketVersioningCommandInput + | GetBucketWebsiteCommandInput + | GetObjectAclCommandInput + | GetObjectAttributesCommandInput + | GetObjectCommandInput + | GetObjectLegalHoldCommandInput + | GetObjectLockConfigurationCommandInput + | GetObjectRetentionCommandInput + | GetObjectTaggingCommandInput + | GetObjectTorrentCommandInput + | GetPublicAccessBlockCommandInput + | HeadBucketCommandInput + | HeadObjectCommandInput + | ListBucketAnalyticsConfigurationsCommandInput + | ListBucketIntelligentTieringConfigurationsCommandInput + | ListBucketInventoryConfigurationsCommandInput + | ListBucketMetricsConfigurationsCommandInput + | ListBucketsCommandInput + | ListDirectoryBucketsCommandInput + | ListMultipartUploadsCommandInput + | ListObjectVersionsCommandInput + | ListObjectsCommandInput + | ListObjectsV2CommandInput + | ListPartsCommandInput + | PutBucketAbacCommandInput + | PutBucketAccelerateConfigurationCommandInput + | PutBucketAclCommandInput + | PutBucketAnalyticsConfigurationCommandInput + | PutBucketCorsCommandInput + | PutBucketEncryptionCommandInput + | PutBucketIntelligentTieringConfigurationCommandInput + | PutBucketInventoryConfigurationCommandInput + | PutBucketLifecycleConfigurationCommandInput + | PutBucketLoggingCommandInput + | PutBucketMetricsConfigurationCommandInput + | PutBucketNotificationConfigurationCommandInput + | PutBucketOwnershipControlsCommandInput + | PutBucketPolicyCommandInput + | PutBucketReplicationCommandInput + | PutBucketRequestPaymentCommandInput + | PutBucketTaggingCommandInput + | PutBucketVersioningCommandInput + | PutBucketWebsiteCommandInput + | PutObjectAclCommandInput + | PutObjectCommandInput + | PutObjectLegalHoldCommandInput + | PutObjectLockConfigurationCommandInput + | PutObjectRetentionCommandInput + | PutObjectTaggingCommandInput + | PutPublicAccessBlockCommandInput + | RenameObjectCommandInput + | RestoreObjectCommandInput + | SelectObjectContentCommandInput + | UpdateBucketMetadataInventoryTableConfigurationCommandInput + | UpdateBucketMetadataJournalTableConfigurationCommandInput + | UpdateObjectEncryptionCommandInput + | UploadPartCommandInput + | UploadPartCopyCommandInput + | WriteGetObjectResponseCommandInput; +export type ServiceOutputTypes = + | AbortMultipartUploadCommandOutput + | CompleteMultipartUploadCommandOutput + | CopyObjectCommandOutput + | CreateBucketCommandOutput + | CreateBucketMetadataConfigurationCommandOutput + | CreateBucketMetadataTableConfigurationCommandOutput + | CreateMultipartUploadCommandOutput + | CreateSessionCommandOutput + | DeleteBucketAnalyticsConfigurationCommandOutput + | DeleteBucketCommandOutput + | DeleteBucketCorsCommandOutput + | DeleteBucketEncryptionCommandOutput + | DeleteBucketIntelligentTieringConfigurationCommandOutput + | DeleteBucketInventoryConfigurationCommandOutput + | DeleteBucketLifecycleCommandOutput + | DeleteBucketMetadataConfigurationCommandOutput + | DeleteBucketMetadataTableConfigurationCommandOutput + | DeleteBucketMetricsConfigurationCommandOutput + | DeleteBucketOwnershipControlsCommandOutput + | DeleteBucketPolicyCommandOutput + | DeleteBucketReplicationCommandOutput + | DeleteBucketTaggingCommandOutput + | DeleteBucketWebsiteCommandOutput + | DeleteObjectCommandOutput + | DeleteObjectTaggingCommandOutput + | DeleteObjectsCommandOutput + | DeletePublicAccessBlockCommandOutput + | GetBucketAbacCommandOutput + | GetBucketAccelerateConfigurationCommandOutput + | GetBucketAclCommandOutput + | GetBucketAnalyticsConfigurationCommandOutput + | GetBucketCorsCommandOutput + | GetBucketEncryptionCommandOutput + | GetBucketIntelligentTieringConfigurationCommandOutput + | GetBucketInventoryConfigurationCommandOutput + | GetBucketLifecycleConfigurationCommandOutput + | GetBucketLocationCommandOutput + | GetBucketLoggingCommandOutput + | GetBucketMetadataConfigurationCommandOutput + | GetBucketMetadataTableConfigurationCommandOutput + | GetBucketMetricsConfigurationCommandOutput + | GetBucketNotificationConfigurationCommandOutput + | GetBucketOwnershipControlsCommandOutput + | GetBucketPolicyCommandOutput + | GetBucketPolicyStatusCommandOutput + | GetBucketReplicationCommandOutput + | GetBucketRequestPaymentCommandOutput + | GetBucketTaggingCommandOutput + | GetBucketVersioningCommandOutput + | GetBucketWebsiteCommandOutput + | GetObjectAclCommandOutput + | GetObjectAttributesCommandOutput + | GetObjectCommandOutput + | GetObjectLegalHoldCommandOutput + | GetObjectLockConfigurationCommandOutput + | GetObjectRetentionCommandOutput + | GetObjectTaggingCommandOutput + | GetObjectTorrentCommandOutput + | GetPublicAccessBlockCommandOutput + | HeadBucketCommandOutput + | HeadObjectCommandOutput + | ListBucketAnalyticsConfigurationsCommandOutput + | ListBucketIntelligentTieringConfigurationsCommandOutput + | ListBucketInventoryConfigurationsCommandOutput + | ListBucketMetricsConfigurationsCommandOutput + | ListBucketsCommandOutput + | ListDirectoryBucketsCommandOutput + | ListMultipartUploadsCommandOutput + | ListObjectVersionsCommandOutput + | ListObjectsCommandOutput + | ListObjectsV2CommandOutput + | ListPartsCommandOutput + | PutBucketAbacCommandOutput + | PutBucketAccelerateConfigurationCommandOutput + | PutBucketAclCommandOutput + | PutBucketAnalyticsConfigurationCommandOutput + | PutBucketCorsCommandOutput + | PutBucketEncryptionCommandOutput + | PutBucketIntelligentTieringConfigurationCommandOutput + | PutBucketInventoryConfigurationCommandOutput + | PutBucketLifecycleConfigurationCommandOutput + | PutBucketLoggingCommandOutput + | PutBucketMetricsConfigurationCommandOutput + | PutBucketNotificationConfigurationCommandOutput + | PutBucketOwnershipControlsCommandOutput + | PutBucketPolicyCommandOutput + | PutBucketReplicationCommandOutput + | PutBucketRequestPaymentCommandOutput + | PutBucketTaggingCommandOutput + | PutBucketVersioningCommandOutput + | PutBucketWebsiteCommandOutput + | PutObjectAclCommandOutput + | PutObjectCommandOutput + | PutObjectLegalHoldCommandOutput + | PutObjectLockConfigurationCommandOutput + | PutObjectRetentionCommandOutput + | PutObjectTaggingCommandOutput + | PutPublicAccessBlockCommandOutput + | RenameObjectCommandOutput + | RestoreObjectCommandOutput + | SelectObjectContentCommandOutput + | UpdateBucketMetadataInventoryTableConfigurationCommandOutput + | UpdateBucketMetadataJournalTableConfigurationCommandOutput + | UpdateObjectEncryptionCommandOutput + | UploadPartCommandOutput + | UploadPartCopyCommandOutput + | WriteGetObjectResponseCommandOutput; +export interface ClientDefaults + extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { + requestHandler?: __HttpHandlerUserInput; + sha256?: __ChecksumConstructor | __HashConstructor; + urlParser?: __UrlParser; + bodyLengthChecker?: __BodyLengthCalculator; + streamCollector?: __StreamCollector; + base64Decoder?: __Decoder; + base64Encoder?: __Encoder; + utf8Decoder?: __Decoder; + utf8Encoder?: __Encoder; + runtime?: string; + disableHostPrefix?: boolean; + serviceId?: string; + useDualstackEndpoint?: boolean | __Provider; + useFipsEndpoint?: boolean | __Provider; + region?: string | __Provider; + profile?: string; + defaultUserAgentProvider?: __Provider<__UserAgent>; + streamHasher?: __StreamHasher | __StreamHasher; + md5?: __ChecksumConstructor | __HashConstructor; + sha1?: __ChecksumConstructor | __HashConstructor; + getAwsChunkedEncodingStream?: GetAwsChunkedEncodingStream; + credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; + maxAttempts?: number | __Provider; + retryMode?: string | __Provider; + logger?: __Logger; + extensions?: RuntimeExtension[]; + eventStreamSerdeProvider?: __EventStreamSerdeProvider; + defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; + signingEscapePath?: boolean; + useArnRegion?: boolean | undefined | __Provider; + sdkStreamMixin?: __SdkStreamMixinInjector; +} +export type S3ClientConfigType = Partial< + __SmithyConfiguration<__HttpHandlerOptions> +> & + ClientDefaults & + UserAgentInputConfig & + FlexibleChecksumsInputConfig & + RetryInputConfig & + RegionInputConfig & + HostHeaderInputConfig & + EndpointInputConfig & + EventStreamSerdeInputConfig & + HttpAuthSchemeInputConfig & + S3InputConfig & + ClientInputEndpointParameters; +export interface S3ClientConfig extends S3ClientConfigType {} +export type S3ClientResolvedConfigType = + __SmithyResolvedConfiguration<__HttpHandlerOptions> & + Required & + RuntimeExtensionsConfig & + UserAgentResolvedConfig & + FlexibleChecksumsResolvedConfig & + RetryResolvedConfig & + RegionResolvedConfig & + HostHeaderResolvedConfig & + EndpointResolvedConfig & + EventStreamSerdeResolvedConfig & + HttpAuthSchemeResolvedConfig & + S3ResolvedConfig & + ClientResolvedEndpointParameters; +export interface S3ClientResolvedConfig extends S3ClientResolvedConfigType {} +export declare class S3Client extends __Client< + __HttpHandlerOptions, + ServiceInputTypes, + ServiceOutputTypes, + S3ClientResolvedConfig +> { + readonly config: S3ClientResolvedConfig; + constructor(...[configuration]: __CheckOptionalClientConfig); + destroy(): void; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts new file mode 100644 index 0000000..9a00449 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts @@ -0,0 +1,32 @@ +import { + AwsCredentialIdentity, + AwsCredentialIdentityProvider, + HttpAuthScheme, +} from "@smithy/types"; +import { S3HttpAuthSchemeProvider } from "./httpAuthSchemeProvider"; +export interface HttpAuthExtensionConfiguration { + setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void; + httpAuthSchemes(): HttpAuthScheme[]; + setHttpAuthSchemeProvider( + httpAuthSchemeProvider: S3HttpAuthSchemeProvider + ): void; + httpAuthSchemeProvider(): S3HttpAuthSchemeProvider; + setCredentials( + credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider + ): void; + credentials(): + | AwsCredentialIdentity + | AwsCredentialIdentityProvider + | undefined; +} +export type HttpAuthRuntimeConfig = Partial<{ + httpAuthSchemes: HttpAuthScheme[]; + httpAuthSchemeProvider: S3HttpAuthSchemeProvider; + credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider; +}>; +export declare const getHttpAuthExtensionConfiguration: ( + runtimeConfig: HttpAuthRuntimeConfig +) => HttpAuthExtensionConfiguration; +export declare const resolveHttpAuthRuntimeConfig: ( + config: HttpAuthExtensionConfiguration +) => HttpAuthRuntimeConfig; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts new file mode 100644 index 0000000..4359721 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts @@ -0,0 +1,58 @@ +import { + AwsSdkSigV4AAuthInputConfig, + AwsSdkSigV4AAuthResolvedConfig, + AwsSdkSigV4APreviouslyResolved, + AwsSdkSigV4AuthInputConfig, + AwsSdkSigV4AuthResolvedConfig, + AwsSdkSigV4PreviouslyResolved, +} from "@aws-sdk/core/httpAuthSchemes"; +import { + HandlerExecutionContext, + HttpAuthScheme, + HttpAuthSchemeParameters, + HttpAuthSchemeParametersProvider, + HttpAuthSchemeProvider, + Provider, +} from "@smithy/types"; +import { EndpointParameters } from "../endpoint/EndpointParameters"; +import { S3ClientResolvedConfig } from "../S3Client"; +interface _S3HttpAuthSchemeParameters extends HttpAuthSchemeParameters { + region?: string; +} +export interface S3HttpAuthSchemeParameters + extends _S3HttpAuthSchemeParameters, + EndpointParameters { + region?: string; +} +export interface S3HttpAuthSchemeParametersProvider + extends HttpAuthSchemeParametersProvider< + S3ClientResolvedConfig, + HandlerExecutionContext, + S3HttpAuthSchemeParameters, + object + > {} +export declare const defaultS3HttpAuthSchemeParametersProvider: S3HttpAuthSchemeParametersProvider; +export interface S3HttpAuthSchemeProvider + extends HttpAuthSchemeProvider {} +export declare const defaultS3HttpAuthSchemeProvider: S3HttpAuthSchemeProvider; +export interface HttpAuthSchemeInputConfig + extends AwsSdkSigV4AuthInputConfig, + AwsSdkSigV4AAuthInputConfig { + authSchemePreference?: string[] | Provider; + httpAuthSchemes?: HttpAuthScheme[]; + httpAuthSchemeProvider?: S3HttpAuthSchemeProvider; +} +export interface HttpAuthSchemeResolvedConfig + extends AwsSdkSigV4AuthResolvedConfig, + AwsSdkSigV4AAuthResolvedConfig { + readonly authSchemePreference: Provider; + readonly httpAuthSchemes: HttpAuthScheme[]; + readonly httpAuthSchemeProvider: S3HttpAuthSchemeProvider; +} +export declare const resolveHttpAuthSchemeConfig: ( + config: T & + HttpAuthSchemeInputConfig & + AwsSdkSigV4PreviouslyResolved & + AwsSdkSigV4APreviouslyResolved +) => T & HttpAuthSchemeResolvedConfig; +export {}; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts new file mode 100644 index 0000000..fa2ab3a --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + AbortMultipartUploadOutput, + AbortMultipartUploadRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface AbortMultipartUploadCommandInput + extends AbortMultipartUploadRequest {} +export interface AbortMultipartUploadCommandOutput + extends AbortMultipartUploadOutput, + __MetadataBearer {} +declare const AbortMultipartUploadCommand_base: { + new ( + input: AbortMultipartUploadCommandInput + ): import("@smithy/smithy-client").CommandImpl< + AbortMultipartUploadCommandInput, + AbortMultipartUploadCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: AbortMultipartUploadCommandInput + ): import("@smithy/smithy-client").CommandImpl< + AbortMultipartUploadCommandInput, + AbortMultipartUploadCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class AbortMultipartUploadCommand extends AbortMultipartUploadCommand_base { + protected static __types: { + api: { + input: AbortMultipartUploadRequest; + output: AbortMultipartUploadOutput; + }; + sdk: { + input: AbortMultipartUploadCommandInput; + output: AbortMultipartUploadCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts new file mode 100644 index 0000000..b3beb1f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + CompleteMultipartUploadOutput, + CompleteMultipartUploadRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface CompleteMultipartUploadCommandInput + extends CompleteMultipartUploadRequest {} +export interface CompleteMultipartUploadCommandOutput + extends CompleteMultipartUploadOutput, + __MetadataBearer {} +declare const CompleteMultipartUploadCommand_base: { + new ( + input: CompleteMultipartUploadCommandInput + ): import("@smithy/smithy-client").CommandImpl< + CompleteMultipartUploadCommandInput, + CompleteMultipartUploadCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: CompleteMultipartUploadCommandInput + ): import("@smithy/smithy-client").CommandImpl< + CompleteMultipartUploadCommandInput, + CompleteMultipartUploadCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class CompleteMultipartUploadCommand extends CompleteMultipartUploadCommand_base { + protected static __types: { + api: { + input: CompleteMultipartUploadRequest; + output: CompleteMultipartUploadOutput; + }; + sdk: { + input: CompleteMultipartUploadCommandInput; + output: CompleteMultipartUploadCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts new file mode 100644 index 0000000..c909be0 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { CopyObjectOutput, CopyObjectRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface CopyObjectCommandInput extends CopyObjectRequest {} +export interface CopyObjectCommandOutput + extends CopyObjectOutput, + __MetadataBearer {} +declare const CopyObjectCommand_base: { + new ( + input: CopyObjectCommandInput + ): import("@smithy/smithy-client").CommandImpl< + CopyObjectCommandInput, + CopyObjectCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: CopyObjectCommandInput + ): import("@smithy/smithy-client").CommandImpl< + CopyObjectCommandInput, + CopyObjectCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class CopyObjectCommand extends CopyObjectCommand_base { + protected static __types: { + api: { + input: CopyObjectRequest; + output: CopyObjectOutput; + }; + sdk: { + input: CopyObjectCommandInput; + output: CopyObjectCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts new file mode 100644 index 0000000..cf2769c --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { CreateBucketOutput, CreateBucketRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface CreateBucketCommandInput extends CreateBucketRequest {} +export interface CreateBucketCommandOutput + extends CreateBucketOutput, + __MetadataBearer {} +declare const CreateBucketCommand_base: { + new ( + input: CreateBucketCommandInput + ): import("@smithy/smithy-client").CommandImpl< + CreateBucketCommandInput, + CreateBucketCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: CreateBucketCommandInput + ): import("@smithy/smithy-client").CommandImpl< + CreateBucketCommandInput, + CreateBucketCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class CreateBucketCommand extends CreateBucketCommand_base { + protected static __types: { + api: { + input: CreateBucketRequest; + output: CreateBucketOutput; + }; + sdk: { + input: CreateBucketCommandInput; + output: CreateBucketCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts new file mode 100644 index 0000000..de96654 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { CreateBucketMetadataConfigurationRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface CreateBucketMetadataConfigurationCommandInput + extends CreateBucketMetadataConfigurationRequest {} +export interface CreateBucketMetadataConfigurationCommandOutput + extends __MetadataBearer {} +declare const CreateBucketMetadataConfigurationCommand_base: { + new ( + input: CreateBucketMetadataConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + CreateBucketMetadataConfigurationCommandInput, + CreateBucketMetadataConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: CreateBucketMetadataConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + CreateBucketMetadataConfigurationCommandInput, + CreateBucketMetadataConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class CreateBucketMetadataConfigurationCommand extends CreateBucketMetadataConfigurationCommand_base { + protected static __types: { + api: { + input: CreateBucketMetadataConfigurationRequest; + output: {}; + }; + sdk: { + input: CreateBucketMetadataConfigurationCommandInput; + output: CreateBucketMetadataConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts new file mode 100644 index 0000000..6244983 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { CreateBucketMetadataTableConfigurationRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface CreateBucketMetadataTableConfigurationCommandInput + extends CreateBucketMetadataTableConfigurationRequest {} +export interface CreateBucketMetadataTableConfigurationCommandOutput + extends __MetadataBearer {} +declare const CreateBucketMetadataTableConfigurationCommand_base: { + new ( + input: CreateBucketMetadataTableConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + CreateBucketMetadataTableConfigurationCommandInput, + CreateBucketMetadataTableConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: CreateBucketMetadataTableConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + CreateBucketMetadataTableConfigurationCommandInput, + CreateBucketMetadataTableConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class CreateBucketMetadataTableConfigurationCommand extends CreateBucketMetadataTableConfigurationCommand_base { + protected static __types: { + api: { + input: CreateBucketMetadataTableConfigurationRequest; + output: {}; + }; + sdk: { + input: CreateBucketMetadataTableConfigurationCommandInput; + output: CreateBucketMetadataTableConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts new file mode 100644 index 0000000..d29115f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + CreateMultipartUploadOutput, + CreateMultipartUploadRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface CreateMultipartUploadCommandInput + extends CreateMultipartUploadRequest {} +export interface CreateMultipartUploadCommandOutput + extends CreateMultipartUploadOutput, + __MetadataBearer {} +declare const CreateMultipartUploadCommand_base: { + new ( + input: CreateMultipartUploadCommandInput + ): import("@smithy/smithy-client").CommandImpl< + CreateMultipartUploadCommandInput, + CreateMultipartUploadCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: CreateMultipartUploadCommandInput + ): import("@smithy/smithy-client").CommandImpl< + CreateMultipartUploadCommandInput, + CreateMultipartUploadCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class CreateMultipartUploadCommand extends CreateMultipartUploadCommand_base { + protected static __types: { + api: { + input: CreateMultipartUploadRequest; + output: CreateMultipartUploadOutput; + }; + sdk: { + input: CreateMultipartUploadCommandInput; + output: CreateMultipartUploadCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts new file mode 100644 index 0000000..d4a3f26 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { CreateSessionOutput, CreateSessionRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface CreateSessionCommandInput extends CreateSessionRequest {} +export interface CreateSessionCommandOutput + extends CreateSessionOutput, + __MetadataBearer {} +declare const CreateSessionCommand_base: { + new ( + input: CreateSessionCommandInput + ): import("@smithy/smithy-client").CommandImpl< + CreateSessionCommandInput, + CreateSessionCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: CreateSessionCommandInput + ): import("@smithy/smithy-client").CommandImpl< + CreateSessionCommandInput, + CreateSessionCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class CreateSessionCommand extends CreateSessionCommand_base { + protected static __types: { + api: { + input: CreateSessionRequest; + output: CreateSessionOutput; + }; + sdk: { + input: CreateSessionCommandInput; + output: CreateSessionCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts new file mode 100644 index 0000000..9a48fdd --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { DeleteBucketAnalyticsConfigurationRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface DeleteBucketAnalyticsConfigurationCommandInput + extends DeleteBucketAnalyticsConfigurationRequest {} +export interface DeleteBucketAnalyticsConfigurationCommandOutput + extends __MetadataBearer {} +declare const DeleteBucketAnalyticsConfigurationCommand_base: { + new ( + input: DeleteBucketAnalyticsConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketAnalyticsConfigurationCommandInput, + DeleteBucketAnalyticsConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: DeleteBucketAnalyticsConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketAnalyticsConfigurationCommandInput, + DeleteBucketAnalyticsConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class DeleteBucketAnalyticsConfigurationCommand extends DeleteBucketAnalyticsConfigurationCommand_base { + protected static __types: { + api: { + input: DeleteBucketAnalyticsConfigurationRequest; + output: {}; + }; + sdk: { + input: DeleteBucketAnalyticsConfigurationCommandInput; + output: DeleteBucketAnalyticsConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts new file mode 100644 index 0000000..9ad8a7c --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts @@ -0,0 +1,45 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { DeleteBucketRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface DeleteBucketCommandInput extends DeleteBucketRequest {} +export interface DeleteBucketCommandOutput extends __MetadataBearer {} +declare const DeleteBucketCommand_base: { + new ( + input: DeleteBucketCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketCommandInput, + DeleteBucketCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: DeleteBucketCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketCommandInput, + DeleteBucketCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class DeleteBucketCommand extends DeleteBucketCommand_base { + protected static __types: { + api: { + input: DeleteBucketRequest; + output: {}; + }; + sdk: { + input: DeleteBucketCommandInput; + output: DeleteBucketCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts new file mode 100644 index 0000000..d87223d --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts @@ -0,0 +1,45 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { DeleteBucketCorsRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface DeleteBucketCorsCommandInput extends DeleteBucketCorsRequest {} +export interface DeleteBucketCorsCommandOutput extends __MetadataBearer {} +declare const DeleteBucketCorsCommand_base: { + new ( + input: DeleteBucketCorsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketCorsCommandInput, + DeleteBucketCorsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: DeleteBucketCorsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketCorsCommandInput, + DeleteBucketCorsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class DeleteBucketCorsCommand extends DeleteBucketCorsCommand_base { + protected static __types: { + api: { + input: DeleteBucketCorsRequest; + output: {}; + }; + sdk: { + input: DeleteBucketCorsCommandInput; + output: DeleteBucketCorsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts new file mode 100644 index 0000000..338ae26 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts @@ -0,0 +1,46 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { DeleteBucketEncryptionRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface DeleteBucketEncryptionCommandInput + extends DeleteBucketEncryptionRequest {} +export interface DeleteBucketEncryptionCommandOutput extends __MetadataBearer {} +declare const DeleteBucketEncryptionCommand_base: { + new ( + input: DeleteBucketEncryptionCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketEncryptionCommandInput, + DeleteBucketEncryptionCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: DeleteBucketEncryptionCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketEncryptionCommandInput, + DeleteBucketEncryptionCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class DeleteBucketEncryptionCommand extends DeleteBucketEncryptionCommand_base { + protected static __types: { + api: { + input: DeleteBucketEncryptionRequest; + output: {}; + }; + sdk: { + input: DeleteBucketEncryptionCommandInput; + output: DeleteBucketEncryptionCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts new file mode 100644 index 0000000..1e8ef97 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { DeleteBucketIntelligentTieringConfigurationRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface DeleteBucketIntelligentTieringConfigurationCommandInput + extends DeleteBucketIntelligentTieringConfigurationRequest {} +export interface DeleteBucketIntelligentTieringConfigurationCommandOutput + extends __MetadataBearer {} +declare const DeleteBucketIntelligentTieringConfigurationCommand_base: { + new ( + input: DeleteBucketIntelligentTieringConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketIntelligentTieringConfigurationCommandInput, + DeleteBucketIntelligentTieringConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: DeleteBucketIntelligentTieringConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketIntelligentTieringConfigurationCommandInput, + DeleteBucketIntelligentTieringConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class DeleteBucketIntelligentTieringConfigurationCommand extends DeleteBucketIntelligentTieringConfigurationCommand_base { + protected static __types: { + api: { + input: DeleteBucketIntelligentTieringConfigurationRequest; + output: {}; + }; + sdk: { + input: DeleteBucketIntelligentTieringConfigurationCommandInput; + output: DeleteBucketIntelligentTieringConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts new file mode 100644 index 0000000..b0cfe13 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { DeleteBucketInventoryConfigurationRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface DeleteBucketInventoryConfigurationCommandInput + extends DeleteBucketInventoryConfigurationRequest {} +export interface DeleteBucketInventoryConfigurationCommandOutput + extends __MetadataBearer {} +declare const DeleteBucketInventoryConfigurationCommand_base: { + new ( + input: DeleteBucketInventoryConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketInventoryConfigurationCommandInput, + DeleteBucketInventoryConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: DeleteBucketInventoryConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketInventoryConfigurationCommandInput, + DeleteBucketInventoryConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class DeleteBucketInventoryConfigurationCommand extends DeleteBucketInventoryConfigurationCommand_base { + protected static __types: { + api: { + input: DeleteBucketInventoryConfigurationRequest; + output: {}; + }; + sdk: { + input: DeleteBucketInventoryConfigurationCommandInput; + output: DeleteBucketInventoryConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts new file mode 100644 index 0000000..6acbea0 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts @@ -0,0 +1,46 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { DeleteBucketLifecycleRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface DeleteBucketLifecycleCommandInput + extends DeleteBucketLifecycleRequest {} +export interface DeleteBucketLifecycleCommandOutput extends __MetadataBearer {} +declare const DeleteBucketLifecycleCommand_base: { + new ( + input: DeleteBucketLifecycleCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketLifecycleCommandInput, + DeleteBucketLifecycleCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: DeleteBucketLifecycleCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketLifecycleCommandInput, + DeleteBucketLifecycleCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class DeleteBucketLifecycleCommand extends DeleteBucketLifecycleCommand_base { + protected static __types: { + api: { + input: DeleteBucketLifecycleRequest; + output: {}; + }; + sdk: { + input: DeleteBucketLifecycleCommandInput; + output: DeleteBucketLifecycleCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts new file mode 100644 index 0000000..1c2ec42 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { DeleteBucketMetadataConfigurationRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface DeleteBucketMetadataConfigurationCommandInput + extends DeleteBucketMetadataConfigurationRequest {} +export interface DeleteBucketMetadataConfigurationCommandOutput + extends __MetadataBearer {} +declare const DeleteBucketMetadataConfigurationCommand_base: { + new ( + input: DeleteBucketMetadataConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketMetadataConfigurationCommandInput, + DeleteBucketMetadataConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: DeleteBucketMetadataConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketMetadataConfigurationCommandInput, + DeleteBucketMetadataConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class DeleteBucketMetadataConfigurationCommand extends DeleteBucketMetadataConfigurationCommand_base { + protected static __types: { + api: { + input: DeleteBucketMetadataConfigurationRequest; + output: {}; + }; + sdk: { + input: DeleteBucketMetadataConfigurationCommandInput; + output: DeleteBucketMetadataConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts new file mode 100644 index 0000000..1f01054 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { DeleteBucketMetadataTableConfigurationRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface DeleteBucketMetadataTableConfigurationCommandInput + extends DeleteBucketMetadataTableConfigurationRequest {} +export interface DeleteBucketMetadataTableConfigurationCommandOutput + extends __MetadataBearer {} +declare const DeleteBucketMetadataTableConfigurationCommand_base: { + new ( + input: DeleteBucketMetadataTableConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketMetadataTableConfigurationCommandInput, + DeleteBucketMetadataTableConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: DeleteBucketMetadataTableConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketMetadataTableConfigurationCommandInput, + DeleteBucketMetadataTableConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class DeleteBucketMetadataTableConfigurationCommand extends DeleteBucketMetadataTableConfigurationCommand_base { + protected static __types: { + api: { + input: DeleteBucketMetadataTableConfigurationRequest; + output: {}; + }; + sdk: { + input: DeleteBucketMetadataTableConfigurationCommandInput; + output: DeleteBucketMetadataTableConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts new file mode 100644 index 0000000..4e4ecee --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { DeleteBucketMetricsConfigurationRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface DeleteBucketMetricsConfigurationCommandInput + extends DeleteBucketMetricsConfigurationRequest {} +export interface DeleteBucketMetricsConfigurationCommandOutput + extends __MetadataBearer {} +declare const DeleteBucketMetricsConfigurationCommand_base: { + new ( + input: DeleteBucketMetricsConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketMetricsConfigurationCommandInput, + DeleteBucketMetricsConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: DeleteBucketMetricsConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketMetricsConfigurationCommandInput, + DeleteBucketMetricsConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class DeleteBucketMetricsConfigurationCommand extends DeleteBucketMetricsConfigurationCommand_base { + protected static __types: { + api: { + input: DeleteBucketMetricsConfigurationRequest; + output: {}; + }; + sdk: { + input: DeleteBucketMetricsConfigurationCommandInput; + output: DeleteBucketMetricsConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts new file mode 100644 index 0000000..38009af --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { DeleteBucketOwnershipControlsRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface DeleteBucketOwnershipControlsCommandInput + extends DeleteBucketOwnershipControlsRequest {} +export interface DeleteBucketOwnershipControlsCommandOutput + extends __MetadataBearer {} +declare const DeleteBucketOwnershipControlsCommand_base: { + new ( + input: DeleteBucketOwnershipControlsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketOwnershipControlsCommandInput, + DeleteBucketOwnershipControlsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: DeleteBucketOwnershipControlsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketOwnershipControlsCommandInput, + DeleteBucketOwnershipControlsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class DeleteBucketOwnershipControlsCommand extends DeleteBucketOwnershipControlsCommand_base { + protected static __types: { + api: { + input: DeleteBucketOwnershipControlsRequest; + output: {}; + }; + sdk: { + input: DeleteBucketOwnershipControlsCommandInput; + output: DeleteBucketOwnershipControlsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts new file mode 100644 index 0000000..7b2765d --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts @@ -0,0 +1,46 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { DeleteBucketPolicyRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface DeleteBucketPolicyCommandInput + extends DeleteBucketPolicyRequest {} +export interface DeleteBucketPolicyCommandOutput extends __MetadataBearer {} +declare const DeleteBucketPolicyCommand_base: { + new ( + input: DeleteBucketPolicyCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketPolicyCommandInput, + DeleteBucketPolicyCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: DeleteBucketPolicyCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketPolicyCommandInput, + DeleteBucketPolicyCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class DeleteBucketPolicyCommand extends DeleteBucketPolicyCommand_base { + protected static __types: { + api: { + input: DeleteBucketPolicyRequest; + output: {}; + }; + sdk: { + input: DeleteBucketPolicyCommandInput; + output: DeleteBucketPolicyCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts new file mode 100644 index 0000000..c3d3360 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { DeleteBucketReplicationRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface DeleteBucketReplicationCommandInput + extends DeleteBucketReplicationRequest {} +export interface DeleteBucketReplicationCommandOutput + extends __MetadataBearer {} +declare const DeleteBucketReplicationCommand_base: { + new ( + input: DeleteBucketReplicationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketReplicationCommandInput, + DeleteBucketReplicationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: DeleteBucketReplicationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketReplicationCommandInput, + DeleteBucketReplicationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class DeleteBucketReplicationCommand extends DeleteBucketReplicationCommand_base { + protected static __types: { + api: { + input: DeleteBucketReplicationRequest; + output: {}; + }; + sdk: { + input: DeleteBucketReplicationCommandInput; + output: DeleteBucketReplicationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts new file mode 100644 index 0000000..5651977 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts @@ -0,0 +1,46 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { DeleteBucketTaggingRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface DeleteBucketTaggingCommandInput + extends DeleteBucketTaggingRequest {} +export interface DeleteBucketTaggingCommandOutput extends __MetadataBearer {} +declare const DeleteBucketTaggingCommand_base: { + new ( + input: DeleteBucketTaggingCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketTaggingCommandInput, + DeleteBucketTaggingCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: DeleteBucketTaggingCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketTaggingCommandInput, + DeleteBucketTaggingCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class DeleteBucketTaggingCommand extends DeleteBucketTaggingCommand_base { + protected static __types: { + api: { + input: DeleteBucketTaggingRequest; + output: {}; + }; + sdk: { + input: DeleteBucketTaggingCommandInput; + output: DeleteBucketTaggingCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts new file mode 100644 index 0000000..3176422 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts @@ -0,0 +1,46 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { DeleteBucketWebsiteRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface DeleteBucketWebsiteCommandInput + extends DeleteBucketWebsiteRequest {} +export interface DeleteBucketWebsiteCommandOutput extends __MetadataBearer {} +declare const DeleteBucketWebsiteCommand_base: { + new ( + input: DeleteBucketWebsiteCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketWebsiteCommandInput, + DeleteBucketWebsiteCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: DeleteBucketWebsiteCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteBucketWebsiteCommandInput, + DeleteBucketWebsiteCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class DeleteBucketWebsiteCommand extends DeleteBucketWebsiteCommand_base { + protected static __types: { + api: { + input: DeleteBucketWebsiteRequest; + output: {}; + }; + sdk: { + input: DeleteBucketWebsiteCommandInput; + output: DeleteBucketWebsiteCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts new file mode 100644 index 0000000..28547ff --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { DeleteObjectOutput, DeleteObjectRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface DeleteObjectCommandInput extends DeleteObjectRequest {} +export interface DeleteObjectCommandOutput + extends DeleteObjectOutput, + __MetadataBearer {} +declare const DeleteObjectCommand_base: { + new ( + input: DeleteObjectCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteObjectCommandInput, + DeleteObjectCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: DeleteObjectCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteObjectCommandInput, + DeleteObjectCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class DeleteObjectCommand extends DeleteObjectCommand_base { + protected static __types: { + api: { + input: DeleteObjectRequest; + output: DeleteObjectOutput; + }; + sdk: { + input: DeleteObjectCommandInput; + output: DeleteObjectCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts new file mode 100644 index 0000000..820300f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + DeleteObjectTaggingOutput, + DeleteObjectTaggingRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface DeleteObjectTaggingCommandInput + extends DeleteObjectTaggingRequest {} +export interface DeleteObjectTaggingCommandOutput + extends DeleteObjectTaggingOutput, + __MetadataBearer {} +declare const DeleteObjectTaggingCommand_base: { + new ( + input: DeleteObjectTaggingCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteObjectTaggingCommandInput, + DeleteObjectTaggingCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: DeleteObjectTaggingCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteObjectTaggingCommandInput, + DeleteObjectTaggingCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class DeleteObjectTaggingCommand extends DeleteObjectTaggingCommand_base { + protected static __types: { + api: { + input: DeleteObjectTaggingRequest; + output: DeleteObjectTaggingOutput; + }; + sdk: { + input: DeleteObjectTaggingCommandInput; + output: DeleteObjectTaggingCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts new file mode 100644 index 0000000..0f8a30f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { DeleteObjectsOutput, DeleteObjectsRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface DeleteObjectsCommandInput extends DeleteObjectsRequest {} +export interface DeleteObjectsCommandOutput + extends DeleteObjectsOutput, + __MetadataBearer {} +declare const DeleteObjectsCommand_base: { + new ( + input: DeleteObjectsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteObjectsCommandInput, + DeleteObjectsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: DeleteObjectsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeleteObjectsCommandInput, + DeleteObjectsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class DeleteObjectsCommand extends DeleteObjectsCommand_base { + protected static __types: { + api: { + input: DeleteObjectsRequest; + output: DeleteObjectsOutput; + }; + sdk: { + input: DeleteObjectsCommandInput; + output: DeleteObjectsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts new file mode 100644 index 0000000..d572811 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { DeletePublicAccessBlockRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface DeletePublicAccessBlockCommandInput + extends DeletePublicAccessBlockRequest {} +export interface DeletePublicAccessBlockCommandOutput + extends __MetadataBearer {} +declare const DeletePublicAccessBlockCommand_base: { + new ( + input: DeletePublicAccessBlockCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeletePublicAccessBlockCommandInput, + DeletePublicAccessBlockCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: DeletePublicAccessBlockCommandInput + ): import("@smithy/smithy-client").CommandImpl< + DeletePublicAccessBlockCommandInput, + DeletePublicAccessBlockCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class DeletePublicAccessBlockCommand extends DeletePublicAccessBlockCommand_base { + protected static __types: { + api: { + input: DeletePublicAccessBlockRequest; + output: {}; + }; + sdk: { + input: DeletePublicAccessBlockCommandInput; + output: DeletePublicAccessBlockCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAbacCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAbacCommand.d.ts new file mode 100644 index 0000000..f57e1d3 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAbacCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { GetBucketAbacOutput, GetBucketAbacRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketAbacCommandInput extends GetBucketAbacRequest {} +export interface GetBucketAbacCommandOutput + extends GetBucketAbacOutput, + __MetadataBearer {} +declare const GetBucketAbacCommand_base: { + new ( + input: GetBucketAbacCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketAbacCommandInput, + GetBucketAbacCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketAbacCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketAbacCommandInput, + GetBucketAbacCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketAbacCommand extends GetBucketAbacCommand_base { + protected static __types: { + api: { + input: GetBucketAbacRequest; + output: GetBucketAbacOutput; + }; + sdk: { + input: GetBucketAbacCommandInput; + output: GetBucketAbacCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts new file mode 100644 index 0000000..44c8db8 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetBucketAccelerateConfigurationOutput, + GetBucketAccelerateConfigurationRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketAccelerateConfigurationCommandInput + extends GetBucketAccelerateConfigurationRequest {} +export interface GetBucketAccelerateConfigurationCommandOutput + extends GetBucketAccelerateConfigurationOutput, + __MetadataBearer {} +declare const GetBucketAccelerateConfigurationCommand_base: { + new ( + input: GetBucketAccelerateConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketAccelerateConfigurationCommandInput, + GetBucketAccelerateConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketAccelerateConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketAccelerateConfigurationCommandInput, + GetBucketAccelerateConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketAccelerateConfigurationCommand extends GetBucketAccelerateConfigurationCommand_base { + protected static __types: { + api: { + input: GetBucketAccelerateConfigurationRequest; + output: GetBucketAccelerateConfigurationOutput; + }; + sdk: { + input: GetBucketAccelerateConfigurationCommandInput; + output: GetBucketAccelerateConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts new file mode 100644 index 0000000..895e35f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { GetBucketAclOutput, GetBucketAclRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketAclCommandInput extends GetBucketAclRequest {} +export interface GetBucketAclCommandOutput + extends GetBucketAclOutput, + __MetadataBearer {} +declare const GetBucketAclCommand_base: { + new ( + input: GetBucketAclCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketAclCommandInput, + GetBucketAclCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketAclCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketAclCommandInput, + GetBucketAclCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketAclCommand extends GetBucketAclCommand_base { + protected static __types: { + api: { + input: GetBucketAclRequest; + output: GetBucketAclOutput; + }; + sdk: { + input: GetBucketAclCommandInput; + output: GetBucketAclCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts new file mode 100644 index 0000000..1016a1c --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetBucketAnalyticsConfigurationOutput, + GetBucketAnalyticsConfigurationRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketAnalyticsConfigurationCommandInput + extends GetBucketAnalyticsConfigurationRequest {} +export interface GetBucketAnalyticsConfigurationCommandOutput + extends GetBucketAnalyticsConfigurationOutput, + __MetadataBearer {} +declare const GetBucketAnalyticsConfigurationCommand_base: { + new ( + input: GetBucketAnalyticsConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketAnalyticsConfigurationCommandInput, + GetBucketAnalyticsConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketAnalyticsConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketAnalyticsConfigurationCommandInput, + GetBucketAnalyticsConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketAnalyticsConfigurationCommand extends GetBucketAnalyticsConfigurationCommand_base { + protected static __types: { + api: { + input: GetBucketAnalyticsConfigurationRequest; + output: GetBucketAnalyticsConfigurationOutput; + }; + sdk: { + input: GetBucketAnalyticsConfigurationCommandInput; + output: GetBucketAnalyticsConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts new file mode 100644 index 0000000..e1e7062 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { GetBucketCorsOutput, GetBucketCorsRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketCorsCommandInput extends GetBucketCorsRequest {} +export interface GetBucketCorsCommandOutput + extends GetBucketCorsOutput, + __MetadataBearer {} +declare const GetBucketCorsCommand_base: { + new ( + input: GetBucketCorsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketCorsCommandInput, + GetBucketCorsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketCorsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketCorsCommandInput, + GetBucketCorsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketCorsCommand extends GetBucketCorsCommand_base { + protected static __types: { + api: { + input: GetBucketCorsRequest; + output: GetBucketCorsOutput; + }; + sdk: { + input: GetBucketCorsCommandInput; + output: GetBucketCorsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts new file mode 100644 index 0000000..d57f75c --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetBucketEncryptionOutput, + GetBucketEncryptionRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketEncryptionCommandInput + extends GetBucketEncryptionRequest {} +export interface GetBucketEncryptionCommandOutput + extends GetBucketEncryptionOutput, + __MetadataBearer {} +declare const GetBucketEncryptionCommand_base: { + new ( + input: GetBucketEncryptionCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketEncryptionCommandInput, + GetBucketEncryptionCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketEncryptionCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketEncryptionCommandInput, + GetBucketEncryptionCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketEncryptionCommand extends GetBucketEncryptionCommand_base { + protected static __types: { + api: { + input: GetBucketEncryptionRequest; + output: GetBucketEncryptionOutput; + }; + sdk: { + input: GetBucketEncryptionCommandInput; + output: GetBucketEncryptionCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts new file mode 100644 index 0000000..287af0c --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetBucketIntelligentTieringConfigurationOutput, + GetBucketIntelligentTieringConfigurationRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketIntelligentTieringConfigurationCommandInput + extends GetBucketIntelligentTieringConfigurationRequest {} +export interface GetBucketIntelligentTieringConfigurationCommandOutput + extends GetBucketIntelligentTieringConfigurationOutput, + __MetadataBearer {} +declare const GetBucketIntelligentTieringConfigurationCommand_base: { + new ( + input: GetBucketIntelligentTieringConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketIntelligentTieringConfigurationCommandInput, + GetBucketIntelligentTieringConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketIntelligentTieringConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketIntelligentTieringConfigurationCommandInput, + GetBucketIntelligentTieringConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketIntelligentTieringConfigurationCommand extends GetBucketIntelligentTieringConfigurationCommand_base { + protected static __types: { + api: { + input: GetBucketIntelligentTieringConfigurationRequest; + output: GetBucketIntelligentTieringConfigurationOutput; + }; + sdk: { + input: GetBucketIntelligentTieringConfigurationCommandInput; + output: GetBucketIntelligentTieringConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts new file mode 100644 index 0000000..d20b096 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetBucketInventoryConfigurationOutput, + GetBucketInventoryConfigurationRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketInventoryConfigurationCommandInput + extends GetBucketInventoryConfigurationRequest {} +export interface GetBucketInventoryConfigurationCommandOutput + extends GetBucketInventoryConfigurationOutput, + __MetadataBearer {} +declare const GetBucketInventoryConfigurationCommand_base: { + new ( + input: GetBucketInventoryConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketInventoryConfigurationCommandInput, + GetBucketInventoryConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketInventoryConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketInventoryConfigurationCommandInput, + GetBucketInventoryConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketInventoryConfigurationCommand extends GetBucketInventoryConfigurationCommand_base { + protected static __types: { + api: { + input: GetBucketInventoryConfigurationRequest; + output: GetBucketInventoryConfigurationOutput; + }; + sdk: { + input: GetBucketInventoryConfigurationCommandInput; + output: GetBucketInventoryConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts new file mode 100644 index 0000000..69e0f8c --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetBucketLifecycleConfigurationOutput, + GetBucketLifecycleConfigurationRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketLifecycleConfigurationCommandInput + extends GetBucketLifecycleConfigurationRequest {} +export interface GetBucketLifecycleConfigurationCommandOutput + extends GetBucketLifecycleConfigurationOutput, + __MetadataBearer {} +declare const GetBucketLifecycleConfigurationCommand_base: { + new ( + input: GetBucketLifecycleConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketLifecycleConfigurationCommandInput, + GetBucketLifecycleConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketLifecycleConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketLifecycleConfigurationCommandInput, + GetBucketLifecycleConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketLifecycleConfigurationCommand extends GetBucketLifecycleConfigurationCommand_base { + protected static __types: { + api: { + input: GetBucketLifecycleConfigurationRequest; + output: GetBucketLifecycleConfigurationOutput; + }; + sdk: { + input: GetBucketLifecycleConfigurationCommandInput; + output: GetBucketLifecycleConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts new file mode 100644 index 0000000..bbe5ed2 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetBucketLocationOutput, + GetBucketLocationRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketLocationCommandInput + extends GetBucketLocationRequest {} +export interface GetBucketLocationCommandOutput + extends GetBucketLocationOutput, + __MetadataBearer {} +declare const GetBucketLocationCommand_base: { + new ( + input: GetBucketLocationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketLocationCommandInput, + GetBucketLocationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketLocationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketLocationCommandInput, + GetBucketLocationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketLocationCommand extends GetBucketLocationCommand_base { + protected static __types: { + api: { + input: GetBucketLocationRequest; + output: GetBucketLocationOutput; + }; + sdk: { + input: GetBucketLocationCommandInput; + output: GetBucketLocationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts new file mode 100644 index 0000000..18c5137 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts @@ -0,0 +1,50 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetBucketLoggingOutput, + GetBucketLoggingRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketLoggingCommandInput extends GetBucketLoggingRequest {} +export interface GetBucketLoggingCommandOutput + extends GetBucketLoggingOutput, + __MetadataBearer {} +declare const GetBucketLoggingCommand_base: { + new ( + input: GetBucketLoggingCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketLoggingCommandInput, + GetBucketLoggingCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketLoggingCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketLoggingCommandInput, + GetBucketLoggingCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketLoggingCommand extends GetBucketLoggingCommand_base { + protected static __types: { + api: { + input: GetBucketLoggingRequest; + output: GetBucketLoggingOutput; + }; + sdk: { + input: GetBucketLoggingCommandInput; + output: GetBucketLoggingCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts new file mode 100644 index 0000000..358472b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetBucketMetadataConfigurationOutput, + GetBucketMetadataConfigurationRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketMetadataConfigurationCommandInput + extends GetBucketMetadataConfigurationRequest {} +export interface GetBucketMetadataConfigurationCommandOutput + extends GetBucketMetadataConfigurationOutput, + __MetadataBearer {} +declare const GetBucketMetadataConfigurationCommand_base: { + new ( + input: GetBucketMetadataConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketMetadataConfigurationCommandInput, + GetBucketMetadataConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketMetadataConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketMetadataConfigurationCommandInput, + GetBucketMetadataConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketMetadataConfigurationCommand extends GetBucketMetadataConfigurationCommand_base { + protected static __types: { + api: { + input: GetBucketMetadataConfigurationRequest; + output: GetBucketMetadataConfigurationOutput; + }; + sdk: { + input: GetBucketMetadataConfigurationCommandInput; + output: GetBucketMetadataConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts new file mode 100644 index 0000000..44708c4 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetBucketMetadataTableConfigurationOutput, + GetBucketMetadataTableConfigurationRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketMetadataTableConfigurationCommandInput + extends GetBucketMetadataTableConfigurationRequest {} +export interface GetBucketMetadataTableConfigurationCommandOutput + extends GetBucketMetadataTableConfigurationOutput, + __MetadataBearer {} +declare const GetBucketMetadataTableConfigurationCommand_base: { + new ( + input: GetBucketMetadataTableConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketMetadataTableConfigurationCommandInput, + GetBucketMetadataTableConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketMetadataTableConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketMetadataTableConfigurationCommandInput, + GetBucketMetadataTableConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketMetadataTableConfigurationCommand extends GetBucketMetadataTableConfigurationCommand_base { + protected static __types: { + api: { + input: GetBucketMetadataTableConfigurationRequest; + output: GetBucketMetadataTableConfigurationOutput; + }; + sdk: { + input: GetBucketMetadataTableConfigurationCommandInput; + output: GetBucketMetadataTableConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts new file mode 100644 index 0000000..39bb6ec --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetBucketMetricsConfigurationOutput, + GetBucketMetricsConfigurationRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketMetricsConfigurationCommandInput + extends GetBucketMetricsConfigurationRequest {} +export interface GetBucketMetricsConfigurationCommandOutput + extends GetBucketMetricsConfigurationOutput, + __MetadataBearer {} +declare const GetBucketMetricsConfigurationCommand_base: { + new ( + input: GetBucketMetricsConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketMetricsConfigurationCommandInput, + GetBucketMetricsConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketMetricsConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketMetricsConfigurationCommandInput, + GetBucketMetricsConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketMetricsConfigurationCommand extends GetBucketMetricsConfigurationCommand_base { + protected static __types: { + api: { + input: GetBucketMetricsConfigurationRequest; + output: GetBucketMetricsConfigurationOutput; + }; + sdk: { + input: GetBucketMetricsConfigurationCommandInput; + output: GetBucketMetricsConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts new file mode 100644 index 0000000..8a5de9d --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetBucketNotificationConfigurationRequest, + NotificationConfiguration, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketNotificationConfigurationCommandInput + extends GetBucketNotificationConfigurationRequest {} +export interface GetBucketNotificationConfigurationCommandOutput + extends NotificationConfiguration, + __MetadataBearer {} +declare const GetBucketNotificationConfigurationCommand_base: { + new ( + input: GetBucketNotificationConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketNotificationConfigurationCommandInput, + GetBucketNotificationConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketNotificationConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketNotificationConfigurationCommandInput, + GetBucketNotificationConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketNotificationConfigurationCommand extends GetBucketNotificationConfigurationCommand_base { + protected static __types: { + api: { + input: GetBucketNotificationConfigurationRequest; + output: NotificationConfiguration; + }; + sdk: { + input: GetBucketNotificationConfigurationCommandInput; + output: GetBucketNotificationConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts new file mode 100644 index 0000000..03f323d --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetBucketOwnershipControlsOutput, + GetBucketOwnershipControlsRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketOwnershipControlsCommandInput + extends GetBucketOwnershipControlsRequest {} +export interface GetBucketOwnershipControlsCommandOutput + extends GetBucketOwnershipControlsOutput, + __MetadataBearer {} +declare const GetBucketOwnershipControlsCommand_base: { + new ( + input: GetBucketOwnershipControlsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketOwnershipControlsCommandInput, + GetBucketOwnershipControlsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketOwnershipControlsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketOwnershipControlsCommandInput, + GetBucketOwnershipControlsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketOwnershipControlsCommand extends GetBucketOwnershipControlsCommand_base { + protected static __types: { + api: { + input: GetBucketOwnershipControlsRequest; + output: GetBucketOwnershipControlsOutput; + }; + sdk: { + input: GetBucketOwnershipControlsCommandInput; + output: GetBucketOwnershipControlsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts new file mode 100644 index 0000000..edc1810 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts @@ -0,0 +1,50 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetBucketPolicyOutput, + GetBucketPolicyRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketPolicyCommandInput extends GetBucketPolicyRequest {} +export interface GetBucketPolicyCommandOutput + extends GetBucketPolicyOutput, + __MetadataBearer {} +declare const GetBucketPolicyCommand_base: { + new ( + input: GetBucketPolicyCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketPolicyCommandInput, + GetBucketPolicyCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketPolicyCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketPolicyCommandInput, + GetBucketPolicyCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketPolicyCommand extends GetBucketPolicyCommand_base { + protected static __types: { + api: { + input: GetBucketPolicyRequest; + output: GetBucketPolicyOutput; + }; + sdk: { + input: GetBucketPolicyCommandInput; + output: GetBucketPolicyCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts new file mode 100644 index 0000000..20dada2 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetBucketPolicyStatusOutput, + GetBucketPolicyStatusRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketPolicyStatusCommandInput + extends GetBucketPolicyStatusRequest {} +export interface GetBucketPolicyStatusCommandOutput + extends GetBucketPolicyStatusOutput, + __MetadataBearer {} +declare const GetBucketPolicyStatusCommand_base: { + new ( + input: GetBucketPolicyStatusCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketPolicyStatusCommandInput, + GetBucketPolicyStatusCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketPolicyStatusCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketPolicyStatusCommandInput, + GetBucketPolicyStatusCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketPolicyStatusCommand extends GetBucketPolicyStatusCommand_base { + protected static __types: { + api: { + input: GetBucketPolicyStatusRequest; + output: GetBucketPolicyStatusOutput; + }; + sdk: { + input: GetBucketPolicyStatusCommandInput; + output: GetBucketPolicyStatusCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts new file mode 100644 index 0000000..a595ba5 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetBucketReplicationOutput, + GetBucketReplicationRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketReplicationCommandInput + extends GetBucketReplicationRequest {} +export interface GetBucketReplicationCommandOutput + extends GetBucketReplicationOutput, + __MetadataBearer {} +declare const GetBucketReplicationCommand_base: { + new ( + input: GetBucketReplicationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketReplicationCommandInput, + GetBucketReplicationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketReplicationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketReplicationCommandInput, + GetBucketReplicationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketReplicationCommand extends GetBucketReplicationCommand_base { + protected static __types: { + api: { + input: GetBucketReplicationRequest; + output: GetBucketReplicationOutput; + }; + sdk: { + input: GetBucketReplicationCommandInput; + output: GetBucketReplicationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts new file mode 100644 index 0000000..1393dfb --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetBucketRequestPaymentOutput, + GetBucketRequestPaymentRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketRequestPaymentCommandInput + extends GetBucketRequestPaymentRequest {} +export interface GetBucketRequestPaymentCommandOutput + extends GetBucketRequestPaymentOutput, + __MetadataBearer {} +declare const GetBucketRequestPaymentCommand_base: { + new ( + input: GetBucketRequestPaymentCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketRequestPaymentCommandInput, + GetBucketRequestPaymentCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketRequestPaymentCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketRequestPaymentCommandInput, + GetBucketRequestPaymentCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketRequestPaymentCommand extends GetBucketRequestPaymentCommand_base { + protected static __types: { + api: { + input: GetBucketRequestPaymentRequest; + output: GetBucketRequestPaymentOutput; + }; + sdk: { + input: GetBucketRequestPaymentCommandInput; + output: GetBucketRequestPaymentCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts new file mode 100644 index 0000000..f092499 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts @@ -0,0 +1,50 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetBucketTaggingOutput, + GetBucketTaggingRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketTaggingCommandInput extends GetBucketTaggingRequest {} +export interface GetBucketTaggingCommandOutput + extends GetBucketTaggingOutput, + __MetadataBearer {} +declare const GetBucketTaggingCommand_base: { + new ( + input: GetBucketTaggingCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketTaggingCommandInput, + GetBucketTaggingCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketTaggingCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketTaggingCommandInput, + GetBucketTaggingCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketTaggingCommand extends GetBucketTaggingCommand_base { + protected static __types: { + api: { + input: GetBucketTaggingRequest; + output: GetBucketTaggingOutput; + }; + sdk: { + input: GetBucketTaggingCommandInput; + output: GetBucketTaggingCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts new file mode 100644 index 0000000..3cb0553 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetBucketVersioningOutput, + GetBucketVersioningRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketVersioningCommandInput + extends GetBucketVersioningRequest {} +export interface GetBucketVersioningCommandOutput + extends GetBucketVersioningOutput, + __MetadataBearer {} +declare const GetBucketVersioningCommand_base: { + new ( + input: GetBucketVersioningCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketVersioningCommandInput, + GetBucketVersioningCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketVersioningCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketVersioningCommandInput, + GetBucketVersioningCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketVersioningCommand extends GetBucketVersioningCommand_base { + protected static __types: { + api: { + input: GetBucketVersioningRequest; + output: GetBucketVersioningOutput; + }; + sdk: { + input: GetBucketVersioningCommandInput; + output: GetBucketVersioningCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts new file mode 100644 index 0000000..5fda11e --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts @@ -0,0 +1,50 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetBucketWebsiteOutput, + GetBucketWebsiteRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetBucketWebsiteCommandInput extends GetBucketWebsiteRequest {} +export interface GetBucketWebsiteCommandOutput + extends GetBucketWebsiteOutput, + __MetadataBearer {} +declare const GetBucketWebsiteCommand_base: { + new ( + input: GetBucketWebsiteCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketWebsiteCommandInput, + GetBucketWebsiteCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetBucketWebsiteCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetBucketWebsiteCommandInput, + GetBucketWebsiteCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetBucketWebsiteCommand extends GetBucketWebsiteCommand_base { + protected static __types: { + api: { + input: GetBucketWebsiteRequest; + output: GetBucketWebsiteOutput; + }; + sdk: { + input: GetBucketWebsiteCommandInput; + output: GetBucketWebsiteCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts new file mode 100644 index 0000000..3b6a32e --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { GetObjectAclOutput, GetObjectAclRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetObjectAclCommandInput extends GetObjectAclRequest {} +export interface GetObjectAclCommandOutput + extends GetObjectAclOutput, + __MetadataBearer {} +declare const GetObjectAclCommand_base: { + new ( + input: GetObjectAclCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetObjectAclCommandInput, + GetObjectAclCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetObjectAclCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetObjectAclCommandInput, + GetObjectAclCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetObjectAclCommand extends GetObjectAclCommand_base { + protected static __types: { + api: { + input: GetObjectAclRequest; + output: GetObjectAclOutput; + }; + sdk: { + input: GetObjectAclCommandInput; + output: GetObjectAclCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts new file mode 100644 index 0000000..77cfbb7 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetObjectAttributesOutput, + GetObjectAttributesRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetObjectAttributesCommandInput + extends GetObjectAttributesRequest {} +export interface GetObjectAttributesCommandOutput + extends GetObjectAttributesOutput, + __MetadataBearer {} +declare const GetObjectAttributesCommand_base: { + new ( + input: GetObjectAttributesCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetObjectAttributesCommandInput, + GetObjectAttributesCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetObjectAttributesCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetObjectAttributesCommandInput, + GetObjectAttributesCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetObjectAttributesCommand extends GetObjectAttributesCommand_base { + protected static __types: { + api: { + input: GetObjectAttributesRequest; + output: GetObjectAttributesOutput; + }; + sdk: { + input: GetObjectAttributesCommandInput; + output: GetObjectAttributesCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts new file mode 100644 index 0000000..9bf02a6 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts @@ -0,0 +1,52 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { + MetadataBearer as __MetadataBearer, + StreamingBlobPayloadOutputTypes, +} from "@smithy/types"; +import { GetObjectOutput, GetObjectRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetObjectCommandInput extends GetObjectRequest {} +export interface GetObjectCommandOutput + extends Pick>, + __MetadataBearer { + Body?: StreamingBlobPayloadOutputTypes; +} +declare const GetObjectCommand_base: { + new ( + input: GetObjectCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetObjectCommandInput, + GetObjectCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetObjectCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetObjectCommandInput, + GetObjectCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetObjectCommand extends GetObjectCommand_base { + protected static __types: { + api: { + input: GetObjectRequest; + output: GetObjectOutput; + }; + sdk: { + input: GetObjectCommandInput; + output: GetObjectCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts new file mode 100644 index 0000000..8ce0a07 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetObjectLegalHoldOutput, + GetObjectLegalHoldRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetObjectLegalHoldCommandInput + extends GetObjectLegalHoldRequest {} +export interface GetObjectLegalHoldCommandOutput + extends GetObjectLegalHoldOutput, + __MetadataBearer {} +declare const GetObjectLegalHoldCommand_base: { + new ( + input: GetObjectLegalHoldCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetObjectLegalHoldCommandInput, + GetObjectLegalHoldCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetObjectLegalHoldCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetObjectLegalHoldCommandInput, + GetObjectLegalHoldCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetObjectLegalHoldCommand extends GetObjectLegalHoldCommand_base { + protected static __types: { + api: { + input: GetObjectLegalHoldRequest; + output: GetObjectLegalHoldOutput; + }; + sdk: { + input: GetObjectLegalHoldCommandInput; + output: GetObjectLegalHoldCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts new file mode 100644 index 0000000..7e85446 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetObjectLockConfigurationOutput, + GetObjectLockConfigurationRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetObjectLockConfigurationCommandInput + extends GetObjectLockConfigurationRequest {} +export interface GetObjectLockConfigurationCommandOutput + extends GetObjectLockConfigurationOutput, + __MetadataBearer {} +declare const GetObjectLockConfigurationCommand_base: { + new ( + input: GetObjectLockConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetObjectLockConfigurationCommandInput, + GetObjectLockConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetObjectLockConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetObjectLockConfigurationCommandInput, + GetObjectLockConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetObjectLockConfigurationCommand extends GetObjectLockConfigurationCommand_base { + protected static __types: { + api: { + input: GetObjectLockConfigurationRequest; + output: GetObjectLockConfigurationOutput; + }; + sdk: { + input: GetObjectLockConfigurationCommandInput; + output: GetObjectLockConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts new file mode 100644 index 0000000..8b937e4 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetObjectRetentionOutput, + GetObjectRetentionRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetObjectRetentionCommandInput + extends GetObjectRetentionRequest {} +export interface GetObjectRetentionCommandOutput + extends GetObjectRetentionOutput, + __MetadataBearer {} +declare const GetObjectRetentionCommand_base: { + new ( + input: GetObjectRetentionCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetObjectRetentionCommandInput, + GetObjectRetentionCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetObjectRetentionCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetObjectRetentionCommandInput, + GetObjectRetentionCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetObjectRetentionCommand extends GetObjectRetentionCommand_base { + protected static __types: { + api: { + input: GetObjectRetentionRequest; + output: GetObjectRetentionOutput; + }; + sdk: { + input: GetObjectRetentionCommandInput; + output: GetObjectRetentionCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts new file mode 100644 index 0000000..3987335 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts @@ -0,0 +1,50 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetObjectTaggingOutput, + GetObjectTaggingRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetObjectTaggingCommandInput extends GetObjectTaggingRequest {} +export interface GetObjectTaggingCommandOutput + extends GetObjectTaggingOutput, + __MetadataBearer {} +declare const GetObjectTaggingCommand_base: { + new ( + input: GetObjectTaggingCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetObjectTaggingCommandInput, + GetObjectTaggingCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetObjectTaggingCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetObjectTaggingCommandInput, + GetObjectTaggingCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetObjectTaggingCommand extends GetObjectTaggingCommand_base { + protected static __types: { + api: { + input: GetObjectTaggingRequest; + output: GetObjectTaggingOutput; + }; + sdk: { + input: GetObjectTaggingCommandInput; + output: GetObjectTaggingCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts new file mode 100644 index 0000000..f8f7b1f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts @@ -0,0 +1,58 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { + MetadataBearer as __MetadataBearer, + StreamingBlobPayloadOutputTypes, +} from "@smithy/types"; +import { + GetObjectTorrentOutput, + GetObjectTorrentRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetObjectTorrentCommandInput extends GetObjectTorrentRequest {} +export interface GetObjectTorrentCommandOutput + extends Pick< + GetObjectTorrentOutput, + Exclude + >, + __MetadataBearer { + Body?: StreamingBlobPayloadOutputTypes; +} +declare const GetObjectTorrentCommand_base: { + new ( + input: GetObjectTorrentCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetObjectTorrentCommandInput, + GetObjectTorrentCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetObjectTorrentCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetObjectTorrentCommandInput, + GetObjectTorrentCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetObjectTorrentCommand extends GetObjectTorrentCommand_base { + protected static __types: { + api: { + input: GetObjectTorrentRequest; + output: GetObjectTorrentOutput; + }; + sdk: { + input: GetObjectTorrentCommandInput; + output: GetObjectTorrentCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts new file mode 100644 index 0000000..97417f4 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetPublicAccessBlockOutput, + GetPublicAccessBlockRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface GetPublicAccessBlockCommandInput + extends GetPublicAccessBlockRequest {} +export interface GetPublicAccessBlockCommandOutput + extends GetPublicAccessBlockOutput, + __MetadataBearer {} +declare const GetPublicAccessBlockCommand_base: { + new ( + input: GetPublicAccessBlockCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetPublicAccessBlockCommandInput, + GetPublicAccessBlockCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetPublicAccessBlockCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetPublicAccessBlockCommandInput, + GetPublicAccessBlockCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetPublicAccessBlockCommand extends GetPublicAccessBlockCommand_base { + protected static __types: { + api: { + input: GetPublicAccessBlockRequest; + output: GetPublicAccessBlockOutput; + }; + sdk: { + input: GetPublicAccessBlockCommandInput; + output: GetPublicAccessBlockCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts new file mode 100644 index 0000000..654e06d --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { HeadBucketOutput, HeadBucketRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface HeadBucketCommandInput extends HeadBucketRequest {} +export interface HeadBucketCommandOutput + extends HeadBucketOutput, + __MetadataBearer {} +declare const HeadBucketCommand_base: { + new ( + input: HeadBucketCommandInput + ): import("@smithy/smithy-client").CommandImpl< + HeadBucketCommandInput, + HeadBucketCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: HeadBucketCommandInput + ): import("@smithy/smithy-client").CommandImpl< + HeadBucketCommandInput, + HeadBucketCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class HeadBucketCommand extends HeadBucketCommand_base { + protected static __types: { + api: { + input: HeadBucketRequest; + output: HeadBucketOutput; + }; + sdk: { + input: HeadBucketCommandInput; + output: HeadBucketCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts new file mode 100644 index 0000000..b6bb937 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { HeadObjectOutput, HeadObjectRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface HeadObjectCommandInput extends HeadObjectRequest {} +export interface HeadObjectCommandOutput + extends HeadObjectOutput, + __MetadataBearer {} +declare const HeadObjectCommand_base: { + new ( + input: HeadObjectCommandInput + ): import("@smithy/smithy-client").CommandImpl< + HeadObjectCommandInput, + HeadObjectCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: HeadObjectCommandInput + ): import("@smithy/smithy-client").CommandImpl< + HeadObjectCommandInput, + HeadObjectCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class HeadObjectCommand extends HeadObjectCommand_base { + protected static __types: { + api: { + input: HeadObjectRequest; + output: HeadObjectOutput; + }; + sdk: { + input: HeadObjectCommandInput; + output: HeadObjectCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts new file mode 100644 index 0000000..d0bfe9f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + ListBucketAnalyticsConfigurationsOutput, + ListBucketAnalyticsConfigurationsRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface ListBucketAnalyticsConfigurationsCommandInput + extends ListBucketAnalyticsConfigurationsRequest {} +export interface ListBucketAnalyticsConfigurationsCommandOutput + extends ListBucketAnalyticsConfigurationsOutput, + __MetadataBearer {} +declare const ListBucketAnalyticsConfigurationsCommand_base: { + new ( + input: ListBucketAnalyticsConfigurationsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + ListBucketAnalyticsConfigurationsCommandInput, + ListBucketAnalyticsConfigurationsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: ListBucketAnalyticsConfigurationsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + ListBucketAnalyticsConfigurationsCommandInput, + ListBucketAnalyticsConfigurationsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class ListBucketAnalyticsConfigurationsCommand extends ListBucketAnalyticsConfigurationsCommand_base { + protected static __types: { + api: { + input: ListBucketAnalyticsConfigurationsRequest; + output: ListBucketAnalyticsConfigurationsOutput; + }; + sdk: { + input: ListBucketAnalyticsConfigurationsCommandInput; + output: ListBucketAnalyticsConfigurationsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts new file mode 100644 index 0000000..9d3ef72 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + ListBucketIntelligentTieringConfigurationsOutput, + ListBucketIntelligentTieringConfigurationsRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface ListBucketIntelligentTieringConfigurationsCommandInput + extends ListBucketIntelligentTieringConfigurationsRequest {} +export interface ListBucketIntelligentTieringConfigurationsCommandOutput + extends ListBucketIntelligentTieringConfigurationsOutput, + __MetadataBearer {} +declare const ListBucketIntelligentTieringConfigurationsCommand_base: { + new ( + input: ListBucketIntelligentTieringConfigurationsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + ListBucketIntelligentTieringConfigurationsCommandInput, + ListBucketIntelligentTieringConfigurationsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: ListBucketIntelligentTieringConfigurationsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + ListBucketIntelligentTieringConfigurationsCommandInput, + ListBucketIntelligentTieringConfigurationsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class ListBucketIntelligentTieringConfigurationsCommand extends ListBucketIntelligentTieringConfigurationsCommand_base { + protected static __types: { + api: { + input: ListBucketIntelligentTieringConfigurationsRequest; + output: ListBucketIntelligentTieringConfigurationsOutput; + }; + sdk: { + input: ListBucketIntelligentTieringConfigurationsCommandInput; + output: ListBucketIntelligentTieringConfigurationsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts new file mode 100644 index 0000000..1b4f0d6 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + ListBucketInventoryConfigurationsOutput, + ListBucketInventoryConfigurationsRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface ListBucketInventoryConfigurationsCommandInput + extends ListBucketInventoryConfigurationsRequest {} +export interface ListBucketInventoryConfigurationsCommandOutput + extends ListBucketInventoryConfigurationsOutput, + __MetadataBearer {} +declare const ListBucketInventoryConfigurationsCommand_base: { + new ( + input: ListBucketInventoryConfigurationsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + ListBucketInventoryConfigurationsCommandInput, + ListBucketInventoryConfigurationsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: ListBucketInventoryConfigurationsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + ListBucketInventoryConfigurationsCommandInput, + ListBucketInventoryConfigurationsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class ListBucketInventoryConfigurationsCommand extends ListBucketInventoryConfigurationsCommand_base { + protected static __types: { + api: { + input: ListBucketInventoryConfigurationsRequest; + output: ListBucketInventoryConfigurationsOutput; + }; + sdk: { + input: ListBucketInventoryConfigurationsCommandInput; + output: ListBucketInventoryConfigurationsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts new file mode 100644 index 0000000..84aa37e --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + ListBucketMetricsConfigurationsOutput, + ListBucketMetricsConfigurationsRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface ListBucketMetricsConfigurationsCommandInput + extends ListBucketMetricsConfigurationsRequest {} +export interface ListBucketMetricsConfigurationsCommandOutput + extends ListBucketMetricsConfigurationsOutput, + __MetadataBearer {} +declare const ListBucketMetricsConfigurationsCommand_base: { + new ( + input: ListBucketMetricsConfigurationsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + ListBucketMetricsConfigurationsCommandInput, + ListBucketMetricsConfigurationsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: ListBucketMetricsConfigurationsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + ListBucketMetricsConfigurationsCommandInput, + ListBucketMetricsConfigurationsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class ListBucketMetricsConfigurationsCommand extends ListBucketMetricsConfigurationsCommand_base { + protected static __types: { + api: { + input: ListBucketMetricsConfigurationsRequest; + output: ListBucketMetricsConfigurationsOutput; + }; + sdk: { + input: ListBucketMetricsConfigurationsCommandInput; + output: ListBucketMetricsConfigurationsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts new file mode 100644 index 0000000..ab0696e --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { ListBucketsOutput, ListBucketsRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface ListBucketsCommandInput extends ListBucketsRequest {} +export interface ListBucketsCommandOutput + extends ListBucketsOutput, + __MetadataBearer {} +declare const ListBucketsCommand_base: { + new ( + input: ListBucketsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + ListBucketsCommandInput, + ListBucketsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + ...[input]: [] | [ListBucketsCommandInput] + ): import("@smithy/smithy-client").CommandImpl< + ListBucketsCommandInput, + ListBucketsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class ListBucketsCommand extends ListBucketsCommand_base { + protected static __types: { + api: { + input: ListBucketsRequest; + output: ListBucketsOutput; + }; + sdk: { + input: ListBucketsCommandInput; + output: ListBucketsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts new file mode 100644 index 0000000..0b0103c --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + ListDirectoryBucketsOutput, + ListDirectoryBucketsRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface ListDirectoryBucketsCommandInput + extends ListDirectoryBucketsRequest {} +export interface ListDirectoryBucketsCommandOutput + extends ListDirectoryBucketsOutput, + __MetadataBearer {} +declare const ListDirectoryBucketsCommand_base: { + new ( + input: ListDirectoryBucketsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + ListDirectoryBucketsCommandInput, + ListDirectoryBucketsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + ...[input]: [] | [ListDirectoryBucketsCommandInput] + ): import("@smithy/smithy-client").CommandImpl< + ListDirectoryBucketsCommandInput, + ListDirectoryBucketsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class ListDirectoryBucketsCommand extends ListDirectoryBucketsCommand_base { + protected static __types: { + api: { + input: ListDirectoryBucketsRequest; + output: ListDirectoryBucketsOutput; + }; + sdk: { + input: ListDirectoryBucketsCommandInput; + output: ListDirectoryBucketsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts new file mode 100644 index 0000000..210c157 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + ListMultipartUploadsOutput, + ListMultipartUploadsRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface ListMultipartUploadsCommandInput + extends ListMultipartUploadsRequest {} +export interface ListMultipartUploadsCommandOutput + extends ListMultipartUploadsOutput, + __MetadataBearer {} +declare const ListMultipartUploadsCommand_base: { + new ( + input: ListMultipartUploadsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + ListMultipartUploadsCommandInput, + ListMultipartUploadsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: ListMultipartUploadsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + ListMultipartUploadsCommandInput, + ListMultipartUploadsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class ListMultipartUploadsCommand extends ListMultipartUploadsCommand_base { + protected static __types: { + api: { + input: ListMultipartUploadsRequest; + output: ListMultipartUploadsOutput; + }; + sdk: { + input: ListMultipartUploadsCommandInput; + output: ListMultipartUploadsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts new file mode 100644 index 0000000..b6bfb22 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + ListObjectVersionsOutput, + ListObjectVersionsRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface ListObjectVersionsCommandInput + extends ListObjectVersionsRequest {} +export interface ListObjectVersionsCommandOutput + extends ListObjectVersionsOutput, + __MetadataBearer {} +declare const ListObjectVersionsCommand_base: { + new ( + input: ListObjectVersionsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + ListObjectVersionsCommandInput, + ListObjectVersionsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: ListObjectVersionsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + ListObjectVersionsCommandInput, + ListObjectVersionsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class ListObjectVersionsCommand extends ListObjectVersionsCommand_base { + protected static __types: { + api: { + input: ListObjectVersionsRequest; + output: ListObjectVersionsOutput; + }; + sdk: { + input: ListObjectVersionsCommandInput; + output: ListObjectVersionsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts new file mode 100644 index 0000000..4608002 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { ListObjectsOutput, ListObjectsRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface ListObjectsCommandInput extends ListObjectsRequest {} +export interface ListObjectsCommandOutput + extends ListObjectsOutput, + __MetadataBearer {} +declare const ListObjectsCommand_base: { + new ( + input: ListObjectsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + ListObjectsCommandInput, + ListObjectsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: ListObjectsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + ListObjectsCommandInput, + ListObjectsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class ListObjectsCommand extends ListObjectsCommand_base { + protected static __types: { + api: { + input: ListObjectsRequest; + output: ListObjectsOutput; + }; + sdk: { + input: ListObjectsCommandInput; + output: ListObjectsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts new file mode 100644 index 0000000..e0086bb --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { ListObjectsV2Output, ListObjectsV2Request } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface ListObjectsV2CommandInput extends ListObjectsV2Request {} +export interface ListObjectsV2CommandOutput + extends ListObjectsV2Output, + __MetadataBearer {} +declare const ListObjectsV2Command_base: { + new ( + input: ListObjectsV2CommandInput + ): import("@smithy/smithy-client").CommandImpl< + ListObjectsV2CommandInput, + ListObjectsV2CommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: ListObjectsV2CommandInput + ): import("@smithy/smithy-client").CommandImpl< + ListObjectsV2CommandInput, + ListObjectsV2CommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class ListObjectsV2Command extends ListObjectsV2Command_base { + protected static __types: { + api: { + input: ListObjectsV2Request; + output: ListObjectsV2Output; + }; + sdk: { + input: ListObjectsV2CommandInput; + output: ListObjectsV2CommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts new file mode 100644 index 0000000..df51d6b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { ListPartsOutput, ListPartsRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface ListPartsCommandInput extends ListPartsRequest {} +export interface ListPartsCommandOutput + extends ListPartsOutput, + __MetadataBearer {} +declare const ListPartsCommand_base: { + new ( + input: ListPartsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + ListPartsCommandInput, + ListPartsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: ListPartsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + ListPartsCommandInput, + ListPartsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class ListPartsCommand extends ListPartsCommand_base { + protected static __types: { + api: { + input: ListPartsRequest; + output: ListPartsOutput; + }; + sdk: { + input: ListPartsCommandInput; + output: ListPartsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAbacCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAbacCommand.d.ts new file mode 100644 index 0000000..6dc11aa --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAbacCommand.d.ts @@ -0,0 +1,45 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { PutBucketAbacRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutBucketAbacCommandInput extends PutBucketAbacRequest {} +export interface PutBucketAbacCommandOutput extends __MetadataBearer {} +declare const PutBucketAbacCommand_base: { + new ( + input: PutBucketAbacCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketAbacCommandInput, + PutBucketAbacCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutBucketAbacCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketAbacCommandInput, + PutBucketAbacCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutBucketAbacCommand extends PutBucketAbacCommand_base { + protected static __types: { + api: { + input: PutBucketAbacRequest; + output: {}; + }; + sdk: { + input: PutBucketAbacCommandInput; + output: PutBucketAbacCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts new file mode 100644 index 0000000..3e60a66 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { PutBucketAccelerateConfigurationRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutBucketAccelerateConfigurationCommandInput + extends PutBucketAccelerateConfigurationRequest {} +export interface PutBucketAccelerateConfigurationCommandOutput + extends __MetadataBearer {} +declare const PutBucketAccelerateConfigurationCommand_base: { + new ( + input: PutBucketAccelerateConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketAccelerateConfigurationCommandInput, + PutBucketAccelerateConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutBucketAccelerateConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketAccelerateConfigurationCommandInput, + PutBucketAccelerateConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutBucketAccelerateConfigurationCommand extends PutBucketAccelerateConfigurationCommand_base { + protected static __types: { + api: { + input: PutBucketAccelerateConfigurationRequest; + output: {}; + }; + sdk: { + input: PutBucketAccelerateConfigurationCommandInput; + output: PutBucketAccelerateConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts new file mode 100644 index 0000000..a33e9de --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts @@ -0,0 +1,45 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { PutBucketAclRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutBucketAclCommandInput extends PutBucketAclRequest {} +export interface PutBucketAclCommandOutput extends __MetadataBearer {} +declare const PutBucketAclCommand_base: { + new ( + input: PutBucketAclCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketAclCommandInput, + PutBucketAclCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutBucketAclCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketAclCommandInput, + PutBucketAclCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutBucketAclCommand extends PutBucketAclCommand_base { + protected static __types: { + api: { + input: PutBucketAclRequest; + output: {}; + }; + sdk: { + input: PutBucketAclCommandInput; + output: PutBucketAclCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts new file mode 100644 index 0000000..e86547b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { PutBucketAnalyticsConfigurationRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutBucketAnalyticsConfigurationCommandInput + extends PutBucketAnalyticsConfigurationRequest {} +export interface PutBucketAnalyticsConfigurationCommandOutput + extends __MetadataBearer {} +declare const PutBucketAnalyticsConfigurationCommand_base: { + new ( + input: PutBucketAnalyticsConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketAnalyticsConfigurationCommandInput, + PutBucketAnalyticsConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutBucketAnalyticsConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketAnalyticsConfigurationCommandInput, + PutBucketAnalyticsConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutBucketAnalyticsConfigurationCommand extends PutBucketAnalyticsConfigurationCommand_base { + protected static __types: { + api: { + input: PutBucketAnalyticsConfigurationRequest; + output: {}; + }; + sdk: { + input: PutBucketAnalyticsConfigurationCommandInput; + output: PutBucketAnalyticsConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts new file mode 100644 index 0000000..da0300a --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts @@ -0,0 +1,45 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { PutBucketCorsRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutBucketCorsCommandInput extends PutBucketCorsRequest {} +export interface PutBucketCorsCommandOutput extends __MetadataBearer {} +declare const PutBucketCorsCommand_base: { + new ( + input: PutBucketCorsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketCorsCommandInput, + PutBucketCorsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutBucketCorsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketCorsCommandInput, + PutBucketCorsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutBucketCorsCommand extends PutBucketCorsCommand_base { + protected static __types: { + api: { + input: PutBucketCorsRequest; + output: {}; + }; + sdk: { + input: PutBucketCorsCommandInput; + output: PutBucketCorsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts new file mode 100644 index 0000000..b8fb8d9 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts @@ -0,0 +1,46 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { PutBucketEncryptionRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutBucketEncryptionCommandInput + extends PutBucketEncryptionRequest {} +export interface PutBucketEncryptionCommandOutput extends __MetadataBearer {} +declare const PutBucketEncryptionCommand_base: { + new ( + input: PutBucketEncryptionCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketEncryptionCommandInput, + PutBucketEncryptionCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutBucketEncryptionCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketEncryptionCommandInput, + PutBucketEncryptionCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutBucketEncryptionCommand extends PutBucketEncryptionCommand_base { + protected static __types: { + api: { + input: PutBucketEncryptionRequest; + output: {}; + }; + sdk: { + input: PutBucketEncryptionCommandInput; + output: PutBucketEncryptionCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts new file mode 100644 index 0000000..357ca08 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { PutBucketIntelligentTieringConfigurationRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutBucketIntelligentTieringConfigurationCommandInput + extends PutBucketIntelligentTieringConfigurationRequest {} +export interface PutBucketIntelligentTieringConfigurationCommandOutput + extends __MetadataBearer {} +declare const PutBucketIntelligentTieringConfigurationCommand_base: { + new ( + input: PutBucketIntelligentTieringConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketIntelligentTieringConfigurationCommandInput, + PutBucketIntelligentTieringConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutBucketIntelligentTieringConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketIntelligentTieringConfigurationCommandInput, + PutBucketIntelligentTieringConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutBucketIntelligentTieringConfigurationCommand extends PutBucketIntelligentTieringConfigurationCommand_base { + protected static __types: { + api: { + input: PutBucketIntelligentTieringConfigurationRequest; + output: {}; + }; + sdk: { + input: PutBucketIntelligentTieringConfigurationCommandInput; + output: PutBucketIntelligentTieringConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts new file mode 100644 index 0000000..96a8c07 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { PutBucketInventoryConfigurationRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutBucketInventoryConfigurationCommandInput + extends PutBucketInventoryConfigurationRequest {} +export interface PutBucketInventoryConfigurationCommandOutput + extends __MetadataBearer {} +declare const PutBucketInventoryConfigurationCommand_base: { + new ( + input: PutBucketInventoryConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketInventoryConfigurationCommandInput, + PutBucketInventoryConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutBucketInventoryConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketInventoryConfigurationCommandInput, + PutBucketInventoryConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutBucketInventoryConfigurationCommand extends PutBucketInventoryConfigurationCommand_base { + protected static __types: { + api: { + input: PutBucketInventoryConfigurationRequest; + output: {}; + }; + sdk: { + input: PutBucketInventoryConfigurationCommandInput; + output: PutBucketInventoryConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts new file mode 100644 index 0000000..592872b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + PutBucketLifecycleConfigurationOutput, + PutBucketLifecycleConfigurationRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutBucketLifecycleConfigurationCommandInput + extends PutBucketLifecycleConfigurationRequest {} +export interface PutBucketLifecycleConfigurationCommandOutput + extends PutBucketLifecycleConfigurationOutput, + __MetadataBearer {} +declare const PutBucketLifecycleConfigurationCommand_base: { + new ( + input: PutBucketLifecycleConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketLifecycleConfigurationCommandInput, + PutBucketLifecycleConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutBucketLifecycleConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketLifecycleConfigurationCommandInput, + PutBucketLifecycleConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutBucketLifecycleConfigurationCommand extends PutBucketLifecycleConfigurationCommand_base { + protected static __types: { + api: { + input: PutBucketLifecycleConfigurationRequest; + output: PutBucketLifecycleConfigurationOutput; + }; + sdk: { + input: PutBucketLifecycleConfigurationCommandInput; + output: PutBucketLifecycleConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts new file mode 100644 index 0000000..c19a247 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts @@ -0,0 +1,45 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { PutBucketLoggingRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutBucketLoggingCommandInput extends PutBucketLoggingRequest {} +export interface PutBucketLoggingCommandOutput extends __MetadataBearer {} +declare const PutBucketLoggingCommand_base: { + new ( + input: PutBucketLoggingCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketLoggingCommandInput, + PutBucketLoggingCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutBucketLoggingCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketLoggingCommandInput, + PutBucketLoggingCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutBucketLoggingCommand extends PutBucketLoggingCommand_base { + protected static __types: { + api: { + input: PutBucketLoggingRequest; + output: {}; + }; + sdk: { + input: PutBucketLoggingCommandInput; + output: PutBucketLoggingCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts new file mode 100644 index 0000000..1d38b53 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { PutBucketMetricsConfigurationRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutBucketMetricsConfigurationCommandInput + extends PutBucketMetricsConfigurationRequest {} +export interface PutBucketMetricsConfigurationCommandOutput + extends __MetadataBearer {} +declare const PutBucketMetricsConfigurationCommand_base: { + new ( + input: PutBucketMetricsConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketMetricsConfigurationCommandInput, + PutBucketMetricsConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutBucketMetricsConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketMetricsConfigurationCommandInput, + PutBucketMetricsConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutBucketMetricsConfigurationCommand extends PutBucketMetricsConfigurationCommand_base { + protected static __types: { + api: { + input: PutBucketMetricsConfigurationRequest; + output: {}; + }; + sdk: { + input: PutBucketMetricsConfigurationCommandInput; + output: PutBucketMetricsConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts new file mode 100644 index 0000000..c85d1e9 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { PutBucketNotificationConfigurationRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutBucketNotificationConfigurationCommandInput + extends PutBucketNotificationConfigurationRequest {} +export interface PutBucketNotificationConfigurationCommandOutput + extends __MetadataBearer {} +declare const PutBucketNotificationConfigurationCommand_base: { + new ( + input: PutBucketNotificationConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketNotificationConfigurationCommandInput, + PutBucketNotificationConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutBucketNotificationConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketNotificationConfigurationCommandInput, + PutBucketNotificationConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutBucketNotificationConfigurationCommand extends PutBucketNotificationConfigurationCommand_base { + protected static __types: { + api: { + input: PutBucketNotificationConfigurationRequest; + output: {}; + }; + sdk: { + input: PutBucketNotificationConfigurationCommandInput; + output: PutBucketNotificationConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts new file mode 100644 index 0000000..5274485 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { PutBucketOwnershipControlsRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutBucketOwnershipControlsCommandInput + extends PutBucketOwnershipControlsRequest {} +export interface PutBucketOwnershipControlsCommandOutput + extends __MetadataBearer {} +declare const PutBucketOwnershipControlsCommand_base: { + new ( + input: PutBucketOwnershipControlsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketOwnershipControlsCommandInput, + PutBucketOwnershipControlsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutBucketOwnershipControlsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketOwnershipControlsCommandInput, + PutBucketOwnershipControlsCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutBucketOwnershipControlsCommand extends PutBucketOwnershipControlsCommand_base { + protected static __types: { + api: { + input: PutBucketOwnershipControlsRequest; + output: {}; + }; + sdk: { + input: PutBucketOwnershipControlsCommandInput; + output: PutBucketOwnershipControlsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts new file mode 100644 index 0000000..73acb03 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts @@ -0,0 +1,45 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { PutBucketPolicyRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutBucketPolicyCommandInput extends PutBucketPolicyRequest {} +export interface PutBucketPolicyCommandOutput extends __MetadataBearer {} +declare const PutBucketPolicyCommand_base: { + new ( + input: PutBucketPolicyCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketPolicyCommandInput, + PutBucketPolicyCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutBucketPolicyCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketPolicyCommandInput, + PutBucketPolicyCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutBucketPolicyCommand extends PutBucketPolicyCommand_base { + protected static __types: { + api: { + input: PutBucketPolicyRequest; + output: {}; + }; + sdk: { + input: PutBucketPolicyCommandInput; + output: PutBucketPolicyCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts new file mode 100644 index 0000000..a9463a8 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts @@ -0,0 +1,46 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { PutBucketReplicationRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutBucketReplicationCommandInput + extends PutBucketReplicationRequest {} +export interface PutBucketReplicationCommandOutput extends __MetadataBearer {} +declare const PutBucketReplicationCommand_base: { + new ( + input: PutBucketReplicationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketReplicationCommandInput, + PutBucketReplicationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutBucketReplicationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketReplicationCommandInput, + PutBucketReplicationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutBucketReplicationCommand extends PutBucketReplicationCommand_base { + protected static __types: { + api: { + input: PutBucketReplicationRequest; + output: {}; + }; + sdk: { + input: PutBucketReplicationCommandInput; + output: PutBucketReplicationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts new file mode 100644 index 0000000..b839020 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { PutBucketRequestPaymentRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutBucketRequestPaymentCommandInput + extends PutBucketRequestPaymentRequest {} +export interface PutBucketRequestPaymentCommandOutput + extends __MetadataBearer {} +declare const PutBucketRequestPaymentCommand_base: { + new ( + input: PutBucketRequestPaymentCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketRequestPaymentCommandInput, + PutBucketRequestPaymentCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutBucketRequestPaymentCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketRequestPaymentCommandInput, + PutBucketRequestPaymentCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutBucketRequestPaymentCommand extends PutBucketRequestPaymentCommand_base { + protected static __types: { + api: { + input: PutBucketRequestPaymentRequest; + output: {}; + }; + sdk: { + input: PutBucketRequestPaymentCommandInput; + output: PutBucketRequestPaymentCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts new file mode 100644 index 0000000..510c983 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts @@ -0,0 +1,45 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { PutBucketTaggingRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutBucketTaggingCommandInput extends PutBucketTaggingRequest {} +export interface PutBucketTaggingCommandOutput extends __MetadataBearer {} +declare const PutBucketTaggingCommand_base: { + new ( + input: PutBucketTaggingCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketTaggingCommandInput, + PutBucketTaggingCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutBucketTaggingCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketTaggingCommandInput, + PutBucketTaggingCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutBucketTaggingCommand extends PutBucketTaggingCommand_base { + protected static __types: { + api: { + input: PutBucketTaggingRequest; + output: {}; + }; + sdk: { + input: PutBucketTaggingCommandInput; + output: PutBucketTaggingCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts new file mode 100644 index 0000000..cf4e308 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts @@ -0,0 +1,46 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { PutBucketVersioningRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutBucketVersioningCommandInput + extends PutBucketVersioningRequest {} +export interface PutBucketVersioningCommandOutput extends __MetadataBearer {} +declare const PutBucketVersioningCommand_base: { + new ( + input: PutBucketVersioningCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketVersioningCommandInput, + PutBucketVersioningCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutBucketVersioningCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketVersioningCommandInput, + PutBucketVersioningCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutBucketVersioningCommand extends PutBucketVersioningCommand_base { + protected static __types: { + api: { + input: PutBucketVersioningRequest; + output: {}; + }; + sdk: { + input: PutBucketVersioningCommandInput; + output: PutBucketVersioningCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts new file mode 100644 index 0000000..c60bfce --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts @@ -0,0 +1,45 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { PutBucketWebsiteRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutBucketWebsiteCommandInput extends PutBucketWebsiteRequest {} +export interface PutBucketWebsiteCommandOutput extends __MetadataBearer {} +declare const PutBucketWebsiteCommand_base: { + new ( + input: PutBucketWebsiteCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketWebsiteCommandInput, + PutBucketWebsiteCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutBucketWebsiteCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutBucketWebsiteCommandInput, + PutBucketWebsiteCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutBucketWebsiteCommand extends PutBucketWebsiteCommand_base { + protected static __types: { + api: { + input: PutBucketWebsiteRequest; + output: {}; + }; + sdk: { + input: PutBucketWebsiteCommandInput; + output: PutBucketWebsiteCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts new file mode 100644 index 0000000..99b7755 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { PutObjectAclOutput, PutObjectAclRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutObjectAclCommandInput extends PutObjectAclRequest {} +export interface PutObjectAclCommandOutput + extends PutObjectAclOutput, + __MetadataBearer {} +declare const PutObjectAclCommand_base: { + new ( + input: PutObjectAclCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutObjectAclCommandInput, + PutObjectAclCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutObjectAclCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutObjectAclCommandInput, + PutObjectAclCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutObjectAclCommand extends PutObjectAclCommand_base { + protected static __types: { + api: { + input: PutObjectAclRequest; + output: PutObjectAclOutput; + }; + sdk: { + input: PutObjectAclCommandInput; + output: PutObjectAclCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts new file mode 100644 index 0000000..134bda9 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts @@ -0,0 +1,53 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { + MetadataBearer as __MetadataBearer, + StreamingBlobPayloadInputTypes, +} from "@smithy/types"; +import { PutObjectOutput, PutObjectRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutObjectCommandInput + extends Pick> { + Body?: StreamingBlobPayloadInputTypes; +} +export interface PutObjectCommandOutput + extends PutObjectOutput, + __MetadataBearer {} +declare const PutObjectCommand_base: { + new ( + input: PutObjectCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutObjectCommandInput, + PutObjectCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutObjectCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutObjectCommandInput, + PutObjectCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutObjectCommand extends PutObjectCommand_base { + protected static __types: { + api: { + input: PutObjectRequest; + output: PutObjectOutput; + }; + sdk: { + input: PutObjectCommandInput; + output: PutObjectCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts new file mode 100644 index 0000000..4937a29 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + PutObjectLegalHoldOutput, + PutObjectLegalHoldRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutObjectLegalHoldCommandInput + extends PutObjectLegalHoldRequest {} +export interface PutObjectLegalHoldCommandOutput + extends PutObjectLegalHoldOutput, + __MetadataBearer {} +declare const PutObjectLegalHoldCommand_base: { + new ( + input: PutObjectLegalHoldCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutObjectLegalHoldCommandInput, + PutObjectLegalHoldCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutObjectLegalHoldCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutObjectLegalHoldCommandInput, + PutObjectLegalHoldCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutObjectLegalHoldCommand extends PutObjectLegalHoldCommand_base { + protected static __types: { + api: { + input: PutObjectLegalHoldRequest; + output: PutObjectLegalHoldOutput; + }; + sdk: { + input: PutObjectLegalHoldCommandInput; + output: PutObjectLegalHoldCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts new file mode 100644 index 0000000..5b813ce --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + PutObjectLockConfigurationOutput, + PutObjectLockConfigurationRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutObjectLockConfigurationCommandInput + extends PutObjectLockConfigurationRequest {} +export interface PutObjectLockConfigurationCommandOutput + extends PutObjectLockConfigurationOutput, + __MetadataBearer {} +declare const PutObjectLockConfigurationCommand_base: { + new ( + input: PutObjectLockConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutObjectLockConfigurationCommandInput, + PutObjectLockConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutObjectLockConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutObjectLockConfigurationCommandInput, + PutObjectLockConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutObjectLockConfigurationCommand extends PutObjectLockConfigurationCommand_base { + protected static __types: { + api: { + input: PutObjectLockConfigurationRequest; + output: PutObjectLockConfigurationOutput; + }; + sdk: { + input: PutObjectLockConfigurationCommandInput; + output: PutObjectLockConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts new file mode 100644 index 0000000..24018b5 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + PutObjectRetentionOutput, + PutObjectRetentionRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutObjectRetentionCommandInput + extends PutObjectRetentionRequest {} +export interface PutObjectRetentionCommandOutput + extends PutObjectRetentionOutput, + __MetadataBearer {} +declare const PutObjectRetentionCommand_base: { + new ( + input: PutObjectRetentionCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutObjectRetentionCommandInput, + PutObjectRetentionCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutObjectRetentionCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutObjectRetentionCommandInput, + PutObjectRetentionCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutObjectRetentionCommand extends PutObjectRetentionCommand_base { + protected static __types: { + api: { + input: PutObjectRetentionRequest; + output: PutObjectRetentionOutput; + }; + sdk: { + input: PutObjectRetentionCommandInput; + output: PutObjectRetentionCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts new file mode 100644 index 0000000..cf3b55b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts @@ -0,0 +1,50 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + PutObjectTaggingOutput, + PutObjectTaggingRequest, +} from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutObjectTaggingCommandInput extends PutObjectTaggingRequest {} +export interface PutObjectTaggingCommandOutput + extends PutObjectTaggingOutput, + __MetadataBearer {} +declare const PutObjectTaggingCommand_base: { + new ( + input: PutObjectTaggingCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutObjectTaggingCommandInput, + PutObjectTaggingCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutObjectTaggingCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutObjectTaggingCommandInput, + PutObjectTaggingCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutObjectTaggingCommand extends PutObjectTaggingCommand_base { + protected static __types: { + api: { + input: PutObjectTaggingRequest; + output: PutObjectTaggingOutput; + }; + sdk: { + input: PutObjectTaggingCommandInput; + output: PutObjectTaggingCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts new file mode 100644 index 0000000..0b0c16d --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts @@ -0,0 +1,46 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { PutPublicAccessBlockRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface PutPublicAccessBlockCommandInput + extends PutPublicAccessBlockRequest {} +export interface PutPublicAccessBlockCommandOutput extends __MetadataBearer {} +declare const PutPublicAccessBlockCommand_base: { + new ( + input: PutPublicAccessBlockCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutPublicAccessBlockCommandInput, + PutPublicAccessBlockCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: PutPublicAccessBlockCommandInput + ): import("@smithy/smithy-client").CommandImpl< + PutPublicAccessBlockCommandInput, + PutPublicAccessBlockCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class PutPublicAccessBlockCommand extends PutPublicAccessBlockCommand_base { + protected static __types: { + api: { + input: PutPublicAccessBlockRequest; + output: {}; + }; + sdk: { + input: PutPublicAccessBlockCommandInput; + output: PutPublicAccessBlockCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts new file mode 100644 index 0000000..cbfc38b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { RenameObjectOutput, RenameObjectRequest } from "../models/models_0"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface RenameObjectCommandInput extends RenameObjectRequest {} +export interface RenameObjectCommandOutput + extends RenameObjectOutput, + __MetadataBearer {} +declare const RenameObjectCommand_base: { + new ( + input: RenameObjectCommandInput + ): import("@smithy/smithy-client").CommandImpl< + RenameObjectCommandInput, + RenameObjectCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: RenameObjectCommandInput + ): import("@smithy/smithy-client").CommandImpl< + RenameObjectCommandInput, + RenameObjectCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class RenameObjectCommand extends RenameObjectCommand_base { + protected static __types: { + api: { + input: RenameObjectRequest; + output: {}; + }; + sdk: { + input: RenameObjectCommandInput; + output: RenameObjectCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts new file mode 100644 index 0000000..3774431 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts @@ -0,0 +1,48 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { RestoreObjectOutput } from "../models/models_0"; +import { RestoreObjectRequest } from "../models/models_1"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface RestoreObjectCommandInput extends RestoreObjectRequest {} +export interface RestoreObjectCommandOutput + extends RestoreObjectOutput, + __MetadataBearer {} +declare const RestoreObjectCommand_base: { + new ( + input: RestoreObjectCommandInput + ): import("@smithy/smithy-client").CommandImpl< + RestoreObjectCommandInput, + RestoreObjectCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: RestoreObjectCommandInput + ): import("@smithy/smithy-client").CommandImpl< + RestoreObjectCommandInput, + RestoreObjectCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class RestoreObjectCommand extends RestoreObjectCommand_base { + protected static __types: { + api: { + input: RestoreObjectRequest; + output: RestoreObjectOutput; + }; + sdk: { + input: RestoreObjectCommandInput; + output: RestoreObjectCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts new file mode 100644 index 0000000..ee25665 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + SelectObjectContentOutput, + SelectObjectContentRequest, +} from "../models/models_1"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface SelectObjectContentCommandInput + extends SelectObjectContentRequest {} +export interface SelectObjectContentCommandOutput + extends SelectObjectContentOutput, + __MetadataBearer {} +declare const SelectObjectContentCommand_base: { + new ( + input: SelectObjectContentCommandInput + ): import("@smithy/smithy-client").CommandImpl< + SelectObjectContentCommandInput, + SelectObjectContentCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: SelectObjectContentCommandInput + ): import("@smithy/smithy-client").CommandImpl< + SelectObjectContentCommandInput, + SelectObjectContentCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class SelectObjectContentCommand extends SelectObjectContentCommand_base { + protected static __types: { + api: { + input: SelectObjectContentRequest; + output: SelectObjectContentOutput; + }; + sdk: { + input: SelectObjectContentCommandInput; + output: SelectObjectContentCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts new file mode 100644 index 0000000..158af3a --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { UpdateBucketMetadataInventoryTableConfigurationRequest } from "../models/models_1"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface UpdateBucketMetadataInventoryTableConfigurationCommandInput + extends UpdateBucketMetadataInventoryTableConfigurationRequest {} +export interface UpdateBucketMetadataInventoryTableConfigurationCommandOutput + extends __MetadataBearer {} +declare const UpdateBucketMetadataInventoryTableConfigurationCommand_base: { + new ( + input: UpdateBucketMetadataInventoryTableConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + UpdateBucketMetadataInventoryTableConfigurationCommandInput, + UpdateBucketMetadataInventoryTableConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: UpdateBucketMetadataInventoryTableConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + UpdateBucketMetadataInventoryTableConfigurationCommandInput, + UpdateBucketMetadataInventoryTableConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class UpdateBucketMetadataInventoryTableConfigurationCommand extends UpdateBucketMetadataInventoryTableConfigurationCommand_base { + protected static __types: { + api: { + input: UpdateBucketMetadataInventoryTableConfigurationRequest; + output: {}; + }; + sdk: { + input: UpdateBucketMetadataInventoryTableConfigurationCommandInput; + output: UpdateBucketMetadataInventoryTableConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts new file mode 100644 index 0000000..77f8061 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { UpdateBucketMetadataJournalTableConfigurationRequest } from "../models/models_1"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface UpdateBucketMetadataJournalTableConfigurationCommandInput + extends UpdateBucketMetadataJournalTableConfigurationRequest {} +export interface UpdateBucketMetadataJournalTableConfigurationCommandOutput + extends __MetadataBearer {} +declare const UpdateBucketMetadataJournalTableConfigurationCommand_base: { + new ( + input: UpdateBucketMetadataJournalTableConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + UpdateBucketMetadataJournalTableConfigurationCommandInput, + UpdateBucketMetadataJournalTableConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: UpdateBucketMetadataJournalTableConfigurationCommandInput + ): import("@smithy/smithy-client").CommandImpl< + UpdateBucketMetadataJournalTableConfigurationCommandInput, + UpdateBucketMetadataJournalTableConfigurationCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class UpdateBucketMetadataJournalTableConfigurationCommand extends UpdateBucketMetadataJournalTableConfigurationCommand_base { + protected static __types: { + api: { + input: UpdateBucketMetadataJournalTableConfigurationRequest; + output: {}; + }; + sdk: { + input: UpdateBucketMetadataJournalTableConfigurationCommandInput; + output: UpdateBucketMetadataJournalTableConfigurationCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateObjectEncryptionCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateObjectEncryptionCommand.d.ts new file mode 100644 index 0000000..a8fecd5 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateObjectEncryptionCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + UpdateObjectEncryptionRequest, + UpdateObjectEncryptionResponse, +} from "../models/models_1"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface UpdateObjectEncryptionCommandInput + extends UpdateObjectEncryptionRequest {} +export interface UpdateObjectEncryptionCommandOutput + extends UpdateObjectEncryptionResponse, + __MetadataBearer {} +declare const UpdateObjectEncryptionCommand_base: { + new ( + input: UpdateObjectEncryptionCommandInput + ): import("@smithy/smithy-client").CommandImpl< + UpdateObjectEncryptionCommandInput, + UpdateObjectEncryptionCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: UpdateObjectEncryptionCommandInput + ): import("@smithy/smithy-client").CommandImpl< + UpdateObjectEncryptionCommandInput, + UpdateObjectEncryptionCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class UpdateObjectEncryptionCommand extends UpdateObjectEncryptionCommand_base { + protected static __types: { + api: { + input: UpdateObjectEncryptionRequest; + output: UpdateObjectEncryptionResponse; + }; + sdk: { + input: UpdateObjectEncryptionCommandInput; + output: UpdateObjectEncryptionCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts new file mode 100644 index 0000000..7e89a24 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts @@ -0,0 +1,53 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { + MetadataBearer as __MetadataBearer, + StreamingBlobPayloadInputTypes, +} from "@smithy/types"; +import { UploadPartOutput, UploadPartRequest } from "../models/models_1"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface UploadPartCommandInput + extends Pick> { + Body?: StreamingBlobPayloadInputTypes; +} +export interface UploadPartCommandOutput + extends UploadPartOutput, + __MetadataBearer {} +declare const UploadPartCommand_base: { + new ( + input: UploadPartCommandInput + ): import("@smithy/smithy-client").CommandImpl< + UploadPartCommandInput, + UploadPartCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: UploadPartCommandInput + ): import("@smithy/smithy-client").CommandImpl< + UploadPartCommandInput, + UploadPartCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class UploadPartCommand extends UploadPartCommand_base { + protected static __types: { + api: { + input: UploadPartRequest; + output: UploadPartOutput; + }; + sdk: { + input: UploadPartCommandInput; + output: UploadPartCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts new file mode 100644 index 0000000..a478464 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts @@ -0,0 +1,50 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + UploadPartCopyOutput, + UploadPartCopyRequest, +} from "../models/models_1"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface UploadPartCopyCommandInput extends UploadPartCopyRequest {} +export interface UploadPartCopyCommandOutput + extends UploadPartCopyOutput, + __MetadataBearer {} +declare const UploadPartCopyCommand_base: { + new ( + input: UploadPartCopyCommandInput + ): import("@smithy/smithy-client").CommandImpl< + UploadPartCopyCommandInput, + UploadPartCopyCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: UploadPartCopyCommandInput + ): import("@smithy/smithy-client").CommandImpl< + UploadPartCopyCommandInput, + UploadPartCopyCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class UploadPartCopyCommand extends UploadPartCopyCommand_base { + protected static __types: { + api: { + input: UploadPartCopyRequest; + output: UploadPartCopyOutput; + }; + sdk: { + input: UploadPartCopyCommandInput; + output: UploadPartCopyCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts new file mode 100644 index 0000000..b41fd7b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts @@ -0,0 +1,54 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { + MetadataBearer as __MetadataBearer, + StreamingBlobPayloadInputTypes, +} from "@smithy/types"; +import { WriteGetObjectResponseRequest } from "../models/models_1"; +import { + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../S3Client"; +export { __MetadataBearer }; +export { $Command }; +export interface WriteGetObjectResponseCommandInput + extends Pick< + WriteGetObjectResponseRequest, + Exclude + > { + Body?: StreamingBlobPayloadInputTypes; +} +export interface WriteGetObjectResponseCommandOutput extends __MetadataBearer {} +declare const WriteGetObjectResponseCommand_base: { + new ( + input: WriteGetObjectResponseCommandInput + ): import("@smithy/smithy-client").CommandImpl< + WriteGetObjectResponseCommandInput, + WriteGetObjectResponseCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: WriteGetObjectResponseCommandInput + ): import("@smithy/smithy-client").CommandImpl< + WriteGetObjectResponseCommandInput, + WriteGetObjectResponseCommandOutput, + S3ClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class WriteGetObjectResponseCommand extends WriteGetObjectResponseCommand_base { + protected static __types: { + api: { + input: WriteGetObjectResponseRequest; + output: {}; + }; + sdk: { + input: WriteGetObjectResponseCommandInput; + output: WriteGetObjectResponseCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts new file mode 100644 index 0000000..2d7b505 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts @@ -0,0 +1,107 @@ +export * from "./AbortMultipartUploadCommand"; +export * from "./CompleteMultipartUploadCommand"; +export * from "./CopyObjectCommand"; +export * from "./CreateBucketCommand"; +export * from "./CreateBucketMetadataConfigurationCommand"; +export * from "./CreateBucketMetadataTableConfigurationCommand"; +export * from "./CreateMultipartUploadCommand"; +export * from "./CreateSessionCommand"; +export * from "./DeleteBucketAnalyticsConfigurationCommand"; +export * from "./DeleteBucketCommand"; +export * from "./DeleteBucketCorsCommand"; +export * from "./DeleteBucketEncryptionCommand"; +export * from "./DeleteBucketIntelligentTieringConfigurationCommand"; +export * from "./DeleteBucketInventoryConfigurationCommand"; +export * from "./DeleteBucketLifecycleCommand"; +export * from "./DeleteBucketMetadataConfigurationCommand"; +export * from "./DeleteBucketMetadataTableConfigurationCommand"; +export * from "./DeleteBucketMetricsConfigurationCommand"; +export * from "./DeleteBucketOwnershipControlsCommand"; +export * from "./DeleteBucketPolicyCommand"; +export * from "./DeleteBucketReplicationCommand"; +export * from "./DeleteBucketTaggingCommand"; +export * from "./DeleteBucketWebsiteCommand"; +export * from "./DeleteObjectCommand"; +export * from "./DeleteObjectTaggingCommand"; +export * from "./DeleteObjectsCommand"; +export * from "./DeletePublicAccessBlockCommand"; +export * from "./GetBucketAbacCommand"; +export * from "./GetBucketAccelerateConfigurationCommand"; +export * from "./GetBucketAclCommand"; +export * from "./GetBucketAnalyticsConfigurationCommand"; +export * from "./GetBucketCorsCommand"; +export * from "./GetBucketEncryptionCommand"; +export * from "./GetBucketIntelligentTieringConfigurationCommand"; +export * from "./GetBucketInventoryConfigurationCommand"; +export * from "./GetBucketLifecycleConfigurationCommand"; +export * from "./GetBucketLocationCommand"; +export * from "./GetBucketLoggingCommand"; +export * from "./GetBucketMetadataConfigurationCommand"; +export * from "./GetBucketMetadataTableConfigurationCommand"; +export * from "./GetBucketMetricsConfigurationCommand"; +export * from "./GetBucketNotificationConfigurationCommand"; +export * from "./GetBucketOwnershipControlsCommand"; +export * from "./GetBucketPolicyCommand"; +export * from "./GetBucketPolicyStatusCommand"; +export * from "./GetBucketReplicationCommand"; +export * from "./GetBucketRequestPaymentCommand"; +export * from "./GetBucketTaggingCommand"; +export * from "./GetBucketVersioningCommand"; +export * from "./GetBucketWebsiteCommand"; +export * from "./GetObjectAclCommand"; +export * from "./GetObjectAttributesCommand"; +export * from "./GetObjectCommand"; +export * from "./GetObjectLegalHoldCommand"; +export * from "./GetObjectLockConfigurationCommand"; +export * from "./GetObjectRetentionCommand"; +export * from "./GetObjectTaggingCommand"; +export * from "./GetObjectTorrentCommand"; +export * from "./GetPublicAccessBlockCommand"; +export * from "./HeadBucketCommand"; +export * from "./HeadObjectCommand"; +export * from "./ListBucketAnalyticsConfigurationsCommand"; +export * from "./ListBucketIntelligentTieringConfigurationsCommand"; +export * from "./ListBucketInventoryConfigurationsCommand"; +export * from "./ListBucketMetricsConfigurationsCommand"; +export * from "./ListBucketsCommand"; +export * from "./ListDirectoryBucketsCommand"; +export * from "./ListMultipartUploadsCommand"; +export * from "./ListObjectVersionsCommand"; +export * from "./ListObjectsCommand"; +export * from "./ListObjectsV2Command"; +export * from "./ListPartsCommand"; +export * from "./PutBucketAbacCommand"; +export * from "./PutBucketAccelerateConfigurationCommand"; +export * from "./PutBucketAclCommand"; +export * from "./PutBucketAnalyticsConfigurationCommand"; +export * from "./PutBucketCorsCommand"; +export * from "./PutBucketEncryptionCommand"; +export * from "./PutBucketIntelligentTieringConfigurationCommand"; +export * from "./PutBucketInventoryConfigurationCommand"; +export * from "./PutBucketLifecycleConfigurationCommand"; +export * from "./PutBucketLoggingCommand"; +export * from "./PutBucketMetricsConfigurationCommand"; +export * from "./PutBucketNotificationConfigurationCommand"; +export * from "./PutBucketOwnershipControlsCommand"; +export * from "./PutBucketPolicyCommand"; +export * from "./PutBucketReplicationCommand"; +export * from "./PutBucketRequestPaymentCommand"; +export * from "./PutBucketTaggingCommand"; +export * from "./PutBucketVersioningCommand"; +export * from "./PutBucketWebsiteCommand"; +export * from "./PutObjectAclCommand"; +export * from "./PutObjectCommand"; +export * from "./PutObjectLegalHoldCommand"; +export * from "./PutObjectLockConfigurationCommand"; +export * from "./PutObjectRetentionCommand"; +export * from "./PutObjectTaggingCommand"; +export * from "./PutPublicAccessBlockCommand"; +export * from "./RenameObjectCommand"; +export * from "./RestoreObjectCommand"; +export * from "./SelectObjectContentCommand"; +export * from "./UpdateBucketMetadataInventoryTableConfigurationCommand"; +export * from "./UpdateBucketMetadataJournalTableConfigurationCommand"; +export * from "./UpdateObjectEncryptionCommand"; +export * from "./UploadPartCommand"; +export * from "./UploadPartCopyCommand"; +export * from "./WriteGetObjectResponseCommand"; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts new file mode 100644 index 0000000..b6a9ba9 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts @@ -0,0 +1,106 @@ +import { + Endpoint, + EndpointParameters as __EndpointParameters, + EndpointV2, + Provider, +} from "@smithy/types"; +export interface ClientInputEndpointParameters { + clientContextParams?: { + disableS3ExpressSessionAuth?: + | boolean + | undefined + | Provider; + }; + region?: string | undefined | Provider; + useFipsEndpoint?: boolean | undefined | Provider; + useDualstackEndpoint?: boolean | undefined | Provider; + endpoint?: + | string + | Provider + | Endpoint + | Provider + | EndpointV2 + | Provider; + forcePathStyle?: boolean | undefined | Provider; + useAccelerateEndpoint?: boolean | undefined | Provider; + useGlobalEndpoint?: boolean | undefined | Provider; + disableMultiregionAccessPoints?: + | boolean + | undefined + | Provider; + useArnRegion?: boolean | undefined | Provider; + disableS3ExpressSessionAuth?: + | boolean + | undefined + | Provider; +} +export type ClientResolvedEndpointParameters = Pick< + ClientInputEndpointParameters, + Exclude +> & { + defaultSigningName: string; +}; +export declare const resolveClientEndpointParameters: ( + options: T & ClientInputEndpointParameters +) => T & ClientResolvedEndpointParameters; +export declare const commonParams: { + readonly ForcePathStyle: { + readonly type: "clientContextParams"; + readonly name: "forcePathStyle"; + }; + readonly UseArnRegion: { + readonly type: "clientContextParams"; + readonly name: "useArnRegion"; + }; + readonly DisableMultiRegionAccessPoints: { + readonly type: "clientContextParams"; + readonly name: "disableMultiregionAccessPoints"; + }; + readonly Accelerate: { + readonly type: "clientContextParams"; + readonly name: "useAccelerateEndpoint"; + }; + readonly DisableS3ExpressSessionAuth: { + readonly type: "clientContextParams"; + readonly name: "disableS3ExpressSessionAuth"; + }; + readonly UseGlobalEndpoint: { + readonly type: "builtInParams"; + readonly name: "useGlobalEndpoint"; + }; + readonly UseFIPS: { + readonly type: "builtInParams"; + readonly name: "useFipsEndpoint"; + }; + readonly Endpoint: { + readonly type: "builtInParams"; + readonly name: "endpoint"; + }; + readonly Region: { + readonly type: "builtInParams"; + readonly name: "region"; + }; + readonly UseDualStack: { + readonly type: "builtInParams"; + readonly name: "useDualstackEndpoint"; + }; +}; +export interface EndpointParameters extends __EndpointParameters { + Bucket?: string | undefined; + Region?: string | undefined; + UseFIPS?: boolean | undefined; + UseDualStack?: boolean | undefined; + Endpoint?: string | undefined; + ForcePathStyle?: boolean | undefined; + Accelerate?: boolean | undefined; + UseGlobalEndpoint?: boolean | undefined; + UseObjectLambdaEndpoint?: boolean | undefined; + Key?: string | undefined; + Prefix?: string | undefined; + CopySource?: string | undefined; + DisableAccessPoints?: boolean | undefined; + DisableMultiRegionAccessPoints?: boolean | undefined; + UseArnRegion?: boolean | undefined; + UseS3ExpressControlEndpoint?: boolean | undefined; + DisableS3ExpressSessionAuth?: boolean | undefined; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/endpointResolver.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/endpointResolver.d.ts new file mode 100644 index 0000000..5909925 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/endpointResolver.d.ts @@ -0,0 +1,8 @@ +import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParameters } from "./EndpointParameters"; +export declare const defaultEndpointResolver: ( + endpointParams: EndpointParameters, + context?: { + logger?: Logger; + } +) => EndpointV2; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/ruleset.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/ruleset.d.ts new file mode 100644 index 0000000..4b23899 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/ruleset.d.ts @@ -0,0 +1,2 @@ +import { RuleSetObject } from "@smithy/types"; +export declare const ruleSet: RuleSetObject; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts new file mode 100644 index 0000000..b559eff --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts @@ -0,0 +1,9 @@ +import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; +import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; +import { DefaultExtensionConfiguration } from "@smithy/types"; +import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; +export interface S3ExtensionConfiguration + extends HttpHandlerExtensionConfiguration, + DefaultExtensionConfiguration, + AwsRegionExtensionConfiguration, + HttpAuthExtensionConfiguration {} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..0c1e183 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts @@ -0,0 +1,14 @@ +export * from "./S3Client"; +export * from "./S3"; +export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; +export { RuntimeExtension } from "./runtimeExtensions"; +export { S3ExtensionConfiguration } from "./extensionConfiguration"; +export * from "./commands"; +export * from "./schemas/schemas_0"; +export * from "./pagination"; +export * from "./waiters"; +export * from "./models/enums"; +export * from "./models/errors"; +export * from "./models/models_0"; +export * from "./models/models_1"; +export { S3ServiceException } from "./models/S3ServiceException"; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts new file mode 100644 index 0000000..ce4e657 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts @@ -0,0 +1,9 @@ +import { + ServiceExceptionOptions as __ServiceExceptionOptions, + ServiceException as __ServiceException, +} from "@smithy/smithy-client"; +export { __ServiceExceptionOptions }; +export { __ServiceException }; +export declare class S3ServiceException extends __ServiceException { + constructor(options: __ServiceExceptionOptions); +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts new file mode 100644 index 0000000..e72b4bc --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts @@ -0,0 +1,529 @@ +export declare const BucketAbacStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +export type BucketAbacStatus = + (typeof BucketAbacStatus)[keyof typeof BucketAbacStatus]; +export declare const RequestCharged: { + readonly requester: "requester"; +}; +export type RequestCharged = + (typeof RequestCharged)[keyof typeof RequestCharged]; +export declare const RequestPayer: { + readonly requester: "requester"; +}; +export type RequestPayer = (typeof RequestPayer)[keyof typeof RequestPayer]; +export declare const BucketAccelerateStatus: { + readonly Enabled: "Enabled"; + readonly Suspended: "Suspended"; +}; +export type BucketAccelerateStatus = + (typeof BucketAccelerateStatus)[keyof typeof BucketAccelerateStatus]; +export declare const Type: { + readonly AmazonCustomerByEmail: "AmazonCustomerByEmail"; + readonly CanonicalUser: "CanonicalUser"; + readonly Group: "Group"; +}; +export type Type = (typeof Type)[keyof typeof Type]; +export declare const Permission: { + readonly FULL_CONTROL: "FULL_CONTROL"; + readonly READ: "READ"; + readonly READ_ACP: "READ_ACP"; + readonly WRITE: "WRITE"; + readonly WRITE_ACP: "WRITE_ACP"; +}; +export type Permission = (typeof Permission)[keyof typeof Permission]; +export declare const OwnerOverride: { + readonly Destination: "Destination"; +}; +export type OwnerOverride = (typeof OwnerOverride)[keyof typeof OwnerOverride]; +export declare const ChecksumType: { + readonly COMPOSITE: "COMPOSITE"; + readonly FULL_OBJECT: "FULL_OBJECT"; +}; +export type ChecksumType = (typeof ChecksumType)[keyof typeof ChecksumType]; +export declare const ServerSideEncryption: { + readonly AES256: "AES256"; + readonly aws_fsx: "aws:fsx"; + readonly aws_kms: "aws:kms"; + readonly aws_kms_dsse: "aws:kms:dsse"; +}; +export type ServerSideEncryption = + (typeof ServerSideEncryption)[keyof typeof ServerSideEncryption]; +export declare const ObjectCannedACL: { + readonly authenticated_read: "authenticated-read"; + readonly aws_exec_read: "aws-exec-read"; + readonly bucket_owner_full_control: "bucket-owner-full-control"; + readonly bucket_owner_read: "bucket-owner-read"; + readonly private: "private"; + readonly public_read: "public-read"; + readonly public_read_write: "public-read-write"; +}; +export type ObjectCannedACL = + (typeof ObjectCannedACL)[keyof typeof ObjectCannedACL]; +export declare const ChecksumAlgorithm: { + readonly CRC32: "CRC32"; + readonly CRC32C: "CRC32C"; + readonly CRC64NVME: "CRC64NVME"; + readonly SHA1: "SHA1"; + readonly SHA256: "SHA256"; +}; +export type ChecksumAlgorithm = + (typeof ChecksumAlgorithm)[keyof typeof ChecksumAlgorithm]; +export declare const MetadataDirective: { + readonly COPY: "COPY"; + readonly REPLACE: "REPLACE"; +}; +export type MetadataDirective = + (typeof MetadataDirective)[keyof typeof MetadataDirective]; +export declare const ObjectLockLegalHoldStatus: { + readonly OFF: "OFF"; + readonly ON: "ON"; +}; +export type ObjectLockLegalHoldStatus = + (typeof ObjectLockLegalHoldStatus)[keyof typeof ObjectLockLegalHoldStatus]; +export declare const ObjectLockMode: { + readonly COMPLIANCE: "COMPLIANCE"; + readonly GOVERNANCE: "GOVERNANCE"; +}; +export type ObjectLockMode = + (typeof ObjectLockMode)[keyof typeof ObjectLockMode]; +export declare const StorageClass: { + readonly DEEP_ARCHIVE: "DEEP_ARCHIVE"; + readonly EXPRESS_ONEZONE: "EXPRESS_ONEZONE"; + readonly FSX_ONTAP: "FSX_ONTAP"; + readonly FSX_OPENZFS: "FSX_OPENZFS"; + readonly GLACIER: "GLACIER"; + readonly GLACIER_IR: "GLACIER_IR"; + readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING"; + readonly ONEZONE_IA: "ONEZONE_IA"; + readonly OUTPOSTS: "OUTPOSTS"; + readonly REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY"; + readonly SNOW: "SNOW"; + readonly STANDARD: "STANDARD"; + readonly STANDARD_IA: "STANDARD_IA"; +}; +export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass]; +export declare const TaggingDirective: { + readonly COPY: "COPY"; + readonly REPLACE: "REPLACE"; +}; +export type TaggingDirective = + (typeof TaggingDirective)[keyof typeof TaggingDirective]; +export declare const BucketCannedACL: { + readonly authenticated_read: "authenticated-read"; + readonly private: "private"; + readonly public_read: "public-read"; + readonly public_read_write: "public-read-write"; +}; +export type BucketCannedACL = + (typeof BucketCannedACL)[keyof typeof BucketCannedACL]; +export declare const BucketNamespace: { + readonly ACCOUNT_REGIONAL: "account-regional"; + readonly GLOBAL: "global"; +}; +export type BucketNamespace = + (typeof BucketNamespace)[keyof typeof BucketNamespace]; +export declare const DataRedundancy: { + readonly SingleAvailabilityZone: "SingleAvailabilityZone"; + readonly SingleLocalZone: "SingleLocalZone"; +}; +export type DataRedundancy = + (typeof DataRedundancy)[keyof typeof DataRedundancy]; +export declare const BucketType: { + readonly Directory: "Directory"; +}; +export type BucketType = (typeof BucketType)[keyof typeof BucketType]; +export declare const LocationType: { + readonly AvailabilityZone: "AvailabilityZone"; + readonly LocalZone: "LocalZone"; +}; +export type LocationType = (typeof LocationType)[keyof typeof LocationType]; +export declare const BucketLocationConstraint: { + readonly EU: "EU"; + readonly af_south_1: "af-south-1"; + readonly ap_east_1: "ap-east-1"; + readonly ap_northeast_1: "ap-northeast-1"; + readonly ap_northeast_2: "ap-northeast-2"; + readonly ap_northeast_3: "ap-northeast-3"; + readonly ap_south_1: "ap-south-1"; + readonly ap_south_2: "ap-south-2"; + readonly ap_southeast_1: "ap-southeast-1"; + readonly ap_southeast_2: "ap-southeast-2"; + readonly ap_southeast_3: "ap-southeast-3"; + readonly ap_southeast_4: "ap-southeast-4"; + readonly ap_southeast_5: "ap-southeast-5"; + readonly ca_central_1: "ca-central-1"; + readonly cn_north_1: "cn-north-1"; + readonly cn_northwest_1: "cn-northwest-1"; + readonly eu_central_1: "eu-central-1"; + readonly eu_central_2: "eu-central-2"; + readonly eu_north_1: "eu-north-1"; + readonly eu_south_1: "eu-south-1"; + readonly eu_south_2: "eu-south-2"; + readonly eu_west_1: "eu-west-1"; + readonly eu_west_2: "eu-west-2"; + readonly eu_west_3: "eu-west-3"; + readonly il_central_1: "il-central-1"; + readonly me_central_1: "me-central-1"; + readonly me_south_1: "me-south-1"; + readonly sa_east_1: "sa-east-1"; + readonly us_east_2: "us-east-2"; + readonly us_gov_east_1: "us-gov-east-1"; + readonly us_gov_west_1: "us-gov-west-1"; + readonly us_west_1: "us-west-1"; + readonly us_west_2: "us-west-2"; +}; +export type BucketLocationConstraint = + (typeof BucketLocationConstraint)[keyof typeof BucketLocationConstraint]; +export declare const ObjectOwnership: { + readonly BucketOwnerEnforced: "BucketOwnerEnforced"; + readonly BucketOwnerPreferred: "BucketOwnerPreferred"; + readonly ObjectWriter: "ObjectWriter"; +}; +export type ObjectOwnership = + (typeof ObjectOwnership)[keyof typeof ObjectOwnership]; +export declare const InventoryConfigurationState: { + readonly DISABLED: "DISABLED"; + readonly ENABLED: "ENABLED"; +}; +export type InventoryConfigurationState = + (typeof InventoryConfigurationState)[keyof typeof InventoryConfigurationState]; +export declare const TableSseAlgorithm: { + readonly AES256: "AES256"; + readonly aws_kms: "aws:kms"; +}; +export type TableSseAlgorithm = + (typeof TableSseAlgorithm)[keyof typeof TableSseAlgorithm]; +export declare const ExpirationState: { + readonly DISABLED: "DISABLED"; + readonly ENABLED: "ENABLED"; +}; +export type ExpirationState = + (typeof ExpirationState)[keyof typeof ExpirationState]; +export declare const SessionMode: { + readonly ReadOnly: "ReadOnly"; + readonly ReadWrite: "ReadWrite"; +}; +export type SessionMode = (typeof SessionMode)[keyof typeof SessionMode]; +export declare const AnalyticsS3ExportFileFormat: { + readonly CSV: "CSV"; +}; +export type AnalyticsS3ExportFileFormat = + (typeof AnalyticsS3ExportFileFormat)[keyof typeof AnalyticsS3ExportFileFormat]; +export declare const StorageClassAnalysisSchemaVersion: { + readonly V_1: "V_1"; +}; +export type StorageClassAnalysisSchemaVersion = + (typeof StorageClassAnalysisSchemaVersion)[keyof typeof StorageClassAnalysisSchemaVersion]; +export declare const EncryptionType: { + readonly NONE: "NONE"; + readonly SSE_C: "SSE-C"; +}; +export type EncryptionType = + (typeof EncryptionType)[keyof typeof EncryptionType]; +export declare const IntelligentTieringStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +export type IntelligentTieringStatus = + (typeof IntelligentTieringStatus)[keyof typeof IntelligentTieringStatus]; +export declare const IntelligentTieringAccessTier: { + readonly ARCHIVE_ACCESS: "ARCHIVE_ACCESS"; + readonly DEEP_ARCHIVE_ACCESS: "DEEP_ARCHIVE_ACCESS"; +}; +export type IntelligentTieringAccessTier = + (typeof IntelligentTieringAccessTier)[keyof typeof IntelligentTieringAccessTier]; +export declare const InventoryFormat: { + readonly CSV: "CSV"; + readonly ORC: "ORC"; + readonly Parquet: "Parquet"; +}; +export type InventoryFormat = + (typeof InventoryFormat)[keyof typeof InventoryFormat]; +export declare const InventoryIncludedObjectVersions: { + readonly All: "All"; + readonly Current: "Current"; +}; +export type InventoryIncludedObjectVersions = + (typeof InventoryIncludedObjectVersions)[keyof typeof InventoryIncludedObjectVersions]; +export declare const InventoryOptionalField: { + readonly BucketKeyStatus: "BucketKeyStatus"; + readonly ChecksumAlgorithm: "ChecksumAlgorithm"; + readonly ETag: "ETag"; + readonly EncryptionStatus: "EncryptionStatus"; + readonly IntelligentTieringAccessTier: "IntelligentTieringAccessTier"; + readonly IsMultipartUploaded: "IsMultipartUploaded"; + readonly LastModifiedDate: "LastModifiedDate"; + readonly LifecycleExpirationDate: "LifecycleExpirationDate"; + readonly ObjectAccessControlList: "ObjectAccessControlList"; + readonly ObjectLockLegalHoldStatus: "ObjectLockLegalHoldStatus"; + readonly ObjectLockMode: "ObjectLockMode"; + readonly ObjectLockRetainUntilDate: "ObjectLockRetainUntilDate"; + readonly ObjectOwner: "ObjectOwner"; + readonly ReplicationStatus: "ReplicationStatus"; + readonly Size: "Size"; + readonly StorageClass: "StorageClass"; +}; +export type InventoryOptionalField = + (typeof InventoryOptionalField)[keyof typeof InventoryOptionalField]; +export declare const InventoryFrequency: { + readonly Daily: "Daily"; + readonly Weekly: "Weekly"; +}; +export type InventoryFrequency = + (typeof InventoryFrequency)[keyof typeof InventoryFrequency]; +export declare const TransitionStorageClass: { + readonly DEEP_ARCHIVE: "DEEP_ARCHIVE"; + readonly GLACIER: "GLACIER"; + readonly GLACIER_IR: "GLACIER_IR"; + readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING"; + readonly ONEZONE_IA: "ONEZONE_IA"; + readonly STANDARD_IA: "STANDARD_IA"; +}; +export type TransitionStorageClass = + (typeof TransitionStorageClass)[keyof typeof TransitionStorageClass]; +export declare const ExpirationStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +export type ExpirationStatus = + (typeof ExpirationStatus)[keyof typeof ExpirationStatus]; +export declare const TransitionDefaultMinimumObjectSize: { + readonly all_storage_classes_128K: "all_storage_classes_128K"; + readonly varies_by_storage_class: "varies_by_storage_class"; +}; +export type TransitionDefaultMinimumObjectSize = + (typeof TransitionDefaultMinimumObjectSize)[keyof typeof TransitionDefaultMinimumObjectSize]; +export declare const BucketLogsPermission: { + readonly FULL_CONTROL: "FULL_CONTROL"; + readonly READ: "READ"; + readonly WRITE: "WRITE"; +}; +export type BucketLogsPermission = + (typeof BucketLogsPermission)[keyof typeof BucketLogsPermission]; +export declare const PartitionDateSource: { + readonly DeliveryTime: "DeliveryTime"; + readonly EventTime: "EventTime"; +}; +export type PartitionDateSource = + (typeof PartitionDateSource)[keyof typeof PartitionDateSource]; +export declare const S3TablesBucketType: { + readonly aws: "aws"; + readonly customer: "customer"; +}; +export type S3TablesBucketType = + (typeof S3TablesBucketType)[keyof typeof S3TablesBucketType]; +export declare const Event: { + readonly s3_IntelligentTiering: "s3:IntelligentTiering"; + readonly s3_LifecycleExpiration_: "s3:LifecycleExpiration:*"; + readonly s3_LifecycleExpiration_Delete: "s3:LifecycleExpiration:Delete"; + readonly s3_LifecycleExpiration_DeleteMarkerCreated: "s3:LifecycleExpiration:DeleteMarkerCreated"; + readonly s3_LifecycleTransition: "s3:LifecycleTransition"; + readonly s3_ObjectAcl_Put: "s3:ObjectAcl:Put"; + readonly s3_ObjectCreated_: "s3:ObjectCreated:*"; + readonly s3_ObjectCreated_CompleteMultipartUpload: "s3:ObjectCreated:CompleteMultipartUpload"; + readonly s3_ObjectCreated_Copy: "s3:ObjectCreated:Copy"; + readonly s3_ObjectCreated_Post: "s3:ObjectCreated:Post"; + readonly s3_ObjectCreated_Put: "s3:ObjectCreated:Put"; + readonly s3_ObjectRemoved_: "s3:ObjectRemoved:*"; + readonly s3_ObjectRemoved_Delete: "s3:ObjectRemoved:Delete"; + readonly s3_ObjectRemoved_DeleteMarkerCreated: "s3:ObjectRemoved:DeleteMarkerCreated"; + readonly s3_ObjectRestore_: "s3:ObjectRestore:*"; + readonly s3_ObjectRestore_Completed: "s3:ObjectRestore:Completed"; + readonly s3_ObjectRestore_Delete: "s3:ObjectRestore:Delete"; + readonly s3_ObjectRestore_Post: "s3:ObjectRestore:Post"; + readonly s3_ObjectTagging_: "s3:ObjectTagging:*"; + readonly s3_ObjectTagging_Delete: "s3:ObjectTagging:Delete"; + readonly s3_ObjectTagging_Put: "s3:ObjectTagging:Put"; + readonly s3_ReducedRedundancyLostObject: "s3:ReducedRedundancyLostObject"; + readonly s3_Replication_: "s3:Replication:*"; + readonly s3_Replication_OperationFailedReplication: "s3:Replication:OperationFailedReplication"; + readonly s3_Replication_OperationMissedThreshold: "s3:Replication:OperationMissedThreshold"; + readonly s3_Replication_OperationNotTracked: "s3:Replication:OperationNotTracked"; + readonly s3_Replication_OperationReplicatedAfterThreshold: "s3:Replication:OperationReplicatedAfterThreshold"; +}; +export type Event = (typeof Event)[keyof typeof Event]; +export declare const FilterRuleName: { + readonly prefix: "prefix"; + readonly suffix: "suffix"; +}; +export type FilterRuleName = + (typeof FilterRuleName)[keyof typeof FilterRuleName]; +export declare const DeleteMarkerReplicationStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +export type DeleteMarkerReplicationStatus = + (typeof DeleteMarkerReplicationStatus)[keyof typeof DeleteMarkerReplicationStatus]; +export declare const MetricsStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +export type MetricsStatus = (typeof MetricsStatus)[keyof typeof MetricsStatus]; +export declare const ReplicationTimeStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +export type ReplicationTimeStatus = + (typeof ReplicationTimeStatus)[keyof typeof ReplicationTimeStatus]; +export declare const ExistingObjectReplicationStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +export type ExistingObjectReplicationStatus = + (typeof ExistingObjectReplicationStatus)[keyof typeof ExistingObjectReplicationStatus]; +export declare const ReplicaModificationsStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +export type ReplicaModificationsStatus = + (typeof ReplicaModificationsStatus)[keyof typeof ReplicaModificationsStatus]; +export declare const SseKmsEncryptedObjectsStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +export type SseKmsEncryptedObjectsStatus = + (typeof SseKmsEncryptedObjectsStatus)[keyof typeof SseKmsEncryptedObjectsStatus]; +export declare const ReplicationRuleStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +export type ReplicationRuleStatus = + (typeof ReplicationRuleStatus)[keyof typeof ReplicationRuleStatus]; +export declare const Payer: { + readonly BucketOwner: "BucketOwner"; + readonly Requester: "Requester"; +}; +export type Payer = (typeof Payer)[keyof typeof Payer]; +export declare const MFADeleteStatus: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +export type MFADeleteStatus = + (typeof MFADeleteStatus)[keyof typeof MFADeleteStatus]; +export declare const BucketVersioningStatus: { + readonly Enabled: "Enabled"; + readonly Suspended: "Suspended"; +}; +export type BucketVersioningStatus = + (typeof BucketVersioningStatus)[keyof typeof BucketVersioningStatus]; +export declare const Protocol: { + readonly http: "http"; + readonly https: "https"; +}; +export type Protocol = (typeof Protocol)[keyof typeof Protocol]; +export declare const ReplicationStatus: { + readonly COMPLETE: "COMPLETE"; + readonly COMPLETED: "COMPLETED"; + readonly FAILED: "FAILED"; + readonly PENDING: "PENDING"; + readonly REPLICA: "REPLICA"; +}; +export type ReplicationStatus = + (typeof ReplicationStatus)[keyof typeof ReplicationStatus]; +export declare const ChecksumMode: { + readonly ENABLED: "ENABLED"; +}; +export type ChecksumMode = (typeof ChecksumMode)[keyof typeof ChecksumMode]; +export declare const ObjectAttributes: { + readonly CHECKSUM: "Checksum"; + readonly ETAG: "ETag"; + readonly OBJECT_PARTS: "ObjectParts"; + readonly OBJECT_SIZE: "ObjectSize"; + readonly STORAGE_CLASS: "StorageClass"; +}; +export type ObjectAttributes = + (typeof ObjectAttributes)[keyof typeof ObjectAttributes]; +export declare const ObjectLockEnabled: { + readonly Enabled: "Enabled"; +}; +export type ObjectLockEnabled = + (typeof ObjectLockEnabled)[keyof typeof ObjectLockEnabled]; +export declare const ObjectLockRetentionMode: { + readonly COMPLIANCE: "COMPLIANCE"; + readonly GOVERNANCE: "GOVERNANCE"; +}; +export type ObjectLockRetentionMode = + (typeof ObjectLockRetentionMode)[keyof typeof ObjectLockRetentionMode]; +export declare const ArchiveStatus: { + readonly ARCHIVE_ACCESS: "ARCHIVE_ACCESS"; + readonly DEEP_ARCHIVE_ACCESS: "DEEP_ARCHIVE_ACCESS"; +}; +export type ArchiveStatus = (typeof ArchiveStatus)[keyof typeof ArchiveStatus]; +export declare const EncodingType: { + readonly url: "url"; +}; +export type EncodingType = (typeof EncodingType)[keyof typeof EncodingType]; +export declare const ObjectStorageClass: { + readonly DEEP_ARCHIVE: "DEEP_ARCHIVE"; + readonly EXPRESS_ONEZONE: "EXPRESS_ONEZONE"; + readonly FSX_ONTAP: "FSX_ONTAP"; + readonly FSX_OPENZFS: "FSX_OPENZFS"; + readonly GLACIER: "GLACIER"; + readonly GLACIER_IR: "GLACIER_IR"; + readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING"; + readonly ONEZONE_IA: "ONEZONE_IA"; + readonly OUTPOSTS: "OUTPOSTS"; + readonly REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY"; + readonly SNOW: "SNOW"; + readonly STANDARD: "STANDARD"; + readonly STANDARD_IA: "STANDARD_IA"; +}; +export type ObjectStorageClass = + (typeof ObjectStorageClass)[keyof typeof ObjectStorageClass]; +export declare const OptionalObjectAttributes: { + readonly RESTORE_STATUS: "RestoreStatus"; +}; +export type OptionalObjectAttributes = + (typeof OptionalObjectAttributes)[keyof typeof OptionalObjectAttributes]; +export declare const ObjectVersionStorageClass: { + readonly STANDARD: "STANDARD"; +}; +export type ObjectVersionStorageClass = + (typeof ObjectVersionStorageClass)[keyof typeof ObjectVersionStorageClass]; +export declare const MFADelete: { + readonly Disabled: "Disabled"; + readonly Enabled: "Enabled"; +}; +export type MFADelete = (typeof MFADelete)[keyof typeof MFADelete]; +export declare const Tier: { + readonly Bulk: "Bulk"; + readonly Expedited: "Expedited"; + readonly Standard: "Standard"; +}; +export type Tier = (typeof Tier)[keyof typeof Tier]; +export declare const ExpressionType: { + readonly SQL: "SQL"; +}; +export type ExpressionType = + (typeof ExpressionType)[keyof typeof ExpressionType]; +export declare const CompressionType: { + readonly BZIP2: "BZIP2"; + readonly GZIP: "GZIP"; + readonly NONE: "NONE"; +}; +export type CompressionType = + (typeof CompressionType)[keyof typeof CompressionType]; +export declare const FileHeaderInfo: { + readonly IGNORE: "IGNORE"; + readonly NONE: "NONE"; + readonly USE: "USE"; +}; +export type FileHeaderInfo = + (typeof FileHeaderInfo)[keyof typeof FileHeaderInfo]; +export declare const JSONType: { + readonly DOCUMENT: "DOCUMENT"; + readonly LINES: "LINES"; +}; +export type JSONType = (typeof JSONType)[keyof typeof JSONType]; +export declare const QuoteFields: { + readonly ALWAYS: "ALWAYS"; + readonly ASNEEDED: "ASNEEDED"; +}; +export type QuoteFields = (typeof QuoteFields)[keyof typeof QuoteFields]; +export declare const RestoreRequestType: { + readonly SELECT: "SELECT"; +}; +export type RestoreRequestType = + (typeof RestoreRequestType)[keyof typeof RestoreRequestType]; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/errors.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/errors.d.ts new file mode 100644 index 0000000..379325b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/errors.d.ts @@ -0,0 +1,92 @@ +import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; +import { IntelligentTieringAccessTier, StorageClass } from "./enums"; +import { S3ServiceException as __BaseException } from "./S3ServiceException"; +export declare class NoSuchUpload extends __BaseException { + readonly name: "NoSuchUpload"; + readonly $fault: "client"; + constructor(opts: __ExceptionOptionType); +} +export declare class AccessDenied extends __BaseException { + readonly name: "AccessDenied"; + readonly $fault: "client"; + constructor(opts: __ExceptionOptionType); +} +export declare class ObjectNotInActiveTierError extends __BaseException { + readonly name: "ObjectNotInActiveTierError"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class BucketAlreadyExists extends __BaseException { + readonly name: "BucketAlreadyExists"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class BucketAlreadyOwnedByYou extends __BaseException { + readonly name: "BucketAlreadyOwnedByYou"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class NoSuchBucket extends __BaseException { + readonly name: "NoSuchBucket"; + readonly $fault: "client"; + constructor(opts: __ExceptionOptionType); +} +export declare class InvalidObjectState extends __BaseException { + readonly name: "InvalidObjectState"; + readonly $fault: "client"; + StorageClass?: StorageClass | undefined; + AccessTier?: IntelligentTieringAccessTier | undefined; + constructor(opts: __ExceptionOptionType); +} +export declare class NoSuchKey extends __BaseException { + readonly name: "NoSuchKey"; + readonly $fault: "client"; + constructor(opts: __ExceptionOptionType); +} +export declare class NotFound extends __BaseException { + readonly name: "NotFound"; + readonly $fault: "client"; + constructor(opts: __ExceptionOptionType); +} +export declare class EncryptionTypeMismatch extends __BaseException { + readonly name: "EncryptionTypeMismatch"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InvalidRequest extends __BaseException { + readonly name: "InvalidRequest"; + readonly $fault: "client"; + constructor(opts: __ExceptionOptionType); +} +export declare class InvalidWriteOffset extends __BaseException { + readonly name: "InvalidWriteOffset"; + readonly $fault: "client"; + constructor(opts: __ExceptionOptionType); +} +export declare class TooManyParts extends __BaseException { + readonly name: "TooManyParts"; + readonly $fault: "client"; + constructor(opts: __ExceptionOptionType); +} +export declare class IdempotencyParameterMismatch extends __BaseException { + readonly name: "IdempotencyParameterMismatch"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class ObjectAlreadyInActiveTierError extends __BaseException { + readonly name: "ObjectAlreadyInActiveTierError"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts new file mode 100644 index 0000000..541464b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts @@ -0,0 +1,2045 @@ +import { StreamingBlobTypes } from "@smithy/types"; +import { + AnalyticsS3ExportFileFormat, + ArchiveStatus, + BucketAbacStatus, + BucketAccelerateStatus, + BucketCannedACL, + BucketLocationConstraint, + BucketLogsPermission, + BucketNamespace, + BucketType, + BucketVersioningStatus, + ChecksumAlgorithm, + ChecksumMode, + ChecksumType, + DataRedundancy, + DeleteMarkerReplicationStatus, + EncodingType, + EncryptionType, + Event, + ExistingObjectReplicationStatus, + ExpirationState, + ExpirationStatus, + FileHeaderInfo, + FilterRuleName, + IntelligentTieringAccessTier, + IntelligentTieringStatus, + InventoryConfigurationState, + InventoryFormat, + InventoryFrequency, + InventoryIncludedObjectVersions, + InventoryOptionalField, + JSONType, + LocationType, + MetadataDirective, + MetricsStatus, + MFADelete, + MFADeleteStatus, + ObjectAttributes, + ObjectCannedACL, + ObjectLockEnabled, + ObjectLockLegalHoldStatus, + ObjectLockMode, + ObjectLockRetentionMode, + ObjectOwnership, + ObjectStorageClass, + ObjectVersionStorageClass, + OptionalObjectAttributes, + OwnerOverride, + PartitionDateSource, + Payer, + Permission, + Protocol, + ReplicaModificationsStatus, + ReplicationRuleStatus, + ReplicationStatus, + ReplicationTimeStatus, + RequestCharged, + RequestPayer, + S3TablesBucketType, + ServerSideEncryption, + SessionMode, + SseKmsEncryptedObjectsStatus, + StorageClass, + StorageClassAnalysisSchemaVersion, + TableSseAlgorithm, + TaggingDirective, + Tier, + TransitionDefaultMinimumObjectSize, + TransitionStorageClass, + Type, +} from "./enums"; +export interface AbacStatus { + Status?: BucketAbacStatus | undefined; +} +export interface AbortIncompleteMultipartUpload { + DaysAfterInitiation?: number | undefined; +} +export interface AbortMultipartUploadOutput { + RequestCharged?: RequestCharged | undefined; +} +export interface AbortMultipartUploadRequest { + Bucket: string | undefined; + Key: string | undefined; + UploadId: string | undefined; + RequestPayer?: RequestPayer | undefined; + ExpectedBucketOwner?: string | undefined; + IfMatchInitiatedTime?: Date | undefined; +} +export interface AccelerateConfiguration { + Status?: BucketAccelerateStatus | undefined; +} +export interface Grantee { + DisplayName?: string | undefined; + EmailAddress?: string | undefined; + ID?: string | undefined; + URI?: string | undefined; + Type: Type | undefined; +} +export interface Grant { + Grantee?: Grantee | undefined; + Permission?: Permission | undefined; +} +export interface Owner { + DisplayName?: string | undefined; + ID?: string | undefined; +} +export interface AccessControlPolicy { + Grants?: Grant[] | undefined; + Owner?: Owner | undefined; +} +export interface AccessControlTranslation { + Owner: OwnerOverride | undefined; +} +export interface CompleteMultipartUploadOutput { + Location?: string | undefined; + Bucket?: string | undefined; + Key?: string | undefined; + Expiration?: string | undefined; + ETag?: string | undefined; + ChecksumCRC32?: string | undefined; + ChecksumCRC32C?: string | undefined; + ChecksumCRC64NVME?: string | undefined; + ChecksumSHA1?: string | undefined; + ChecksumSHA256?: string | undefined; + ChecksumType?: ChecksumType | undefined; + ServerSideEncryption?: ServerSideEncryption | undefined; + VersionId?: string | undefined; + SSEKMSKeyId?: string | undefined; + BucketKeyEnabled?: boolean | undefined; + RequestCharged?: RequestCharged | undefined; +} +export interface CompletedPart { + ETag?: string | undefined; + ChecksumCRC32?: string | undefined; + ChecksumCRC32C?: string | undefined; + ChecksumCRC64NVME?: string | undefined; + ChecksumSHA1?: string | undefined; + ChecksumSHA256?: string | undefined; + PartNumber?: number | undefined; +} +export interface CompletedMultipartUpload { + Parts?: CompletedPart[] | undefined; +} +export interface CompleteMultipartUploadRequest { + Bucket: string | undefined; + Key: string | undefined; + MultipartUpload?: CompletedMultipartUpload | undefined; + UploadId: string | undefined; + ChecksumCRC32?: string | undefined; + ChecksumCRC32C?: string | undefined; + ChecksumCRC64NVME?: string | undefined; + ChecksumSHA1?: string | undefined; + ChecksumSHA256?: string | undefined; + ChecksumType?: ChecksumType | undefined; + MpuObjectSize?: number | undefined; + RequestPayer?: RequestPayer | undefined; + ExpectedBucketOwner?: string | undefined; + IfMatch?: string | undefined; + IfNoneMatch?: string | undefined; + SSECustomerAlgorithm?: string | undefined; + SSECustomerKey?: string | undefined; + SSECustomerKeyMD5?: string | undefined; +} +export interface CopyObjectResult { + ETag?: string | undefined; + LastModified?: Date | undefined; + ChecksumType?: ChecksumType | undefined; + ChecksumCRC32?: string | undefined; + ChecksumCRC32C?: string | undefined; + ChecksumCRC64NVME?: string | undefined; + ChecksumSHA1?: string | undefined; + ChecksumSHA256?: string | undefined; +} +export interface CopyObjectOutput { + CopyObjectResult?: CopyObjectResult | undefined; + Expiration?: string | undefined; + CopySourceVersionId?: string | undefined; + VersionId?: string | undefined; + ServerSideEncryption?: ServerSideEncryption | undefined; + SSECustomerAlgorithm?: string | undefined; + SSECustomerKeyMD5?: string | undefined; + SSEKMSKeyId?: string | undefined; + SSEKMSEncryptionContext?: string | undefined; + BucketKeyEnabled?: boolean | undefined; + RequestCharged?: RequestCharged | undefined; +} +export interface CopyObjectRequest { + ACL?: ObjectCannedACL | undefined; + Bucket: string | undefined; + CacheControl?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + ContentDisposition?: string | undefined; + ContentEncoding?: string | undefined; + ContentLanguage?: string | undefined; + ContentType?: string | undefined; + CopySource: string | undefined; + CopySourceIfMatch?: string | undefined; + CopySourceIfModifiedSince?: Date | undefined; + CopySourceIfNoneMatch?: string | undefined; + CopySourceIfUnmodifiedSince?: Date | undefined; + Expires?: Date | undefined; + GrantFullControl?: string | undefined; + GrantRead?: string | undefined; + GrantReadACP?: string | undefined; + GrantWriteACP?: string | undefined; + IfMatch?: string | undefined; + IfNoneMatch?: string | undefined; + Key: string | undefined; + Metadata?: Record | undefined; + MetadataDirective?: MetadataDirective | undefined; + TaggingDirective?: TaggingDirective | undefined; + ServerSideEncryption?: ServerSideEncryption | undefined; + StorageClass?: StorageClass | undefined; + WebsiteRedirectLocation?: string | undefined; + SSECustomerAlgorithm?: string | undefined; + SSECustomerKey?: string | undefined; + SSECustomerKeyMD5?: string | undefined; + SSEKMSKeyId?: string | undefined; + SSEKMSEncryptionContext?: string | undefined; + BucketKeyEnabled?: boolean | undefined; + CopySourceSSECustomerAlgorithm?: string | undefined; + CopySourceSSECustomerKey?: string | undefined; + CopySourceSSECustomerKeyMD5?: string | undefined; + RequestPayer?: RequestPayer | undefined; + Tagging?: string | undefined; + ObjectLockMode?: ObjectLockMode | undefined; + ObjectLockRetainUntilDate?: Date | undefined; + ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined; + ExpectedBucketOwner?: string | undefined; + ExpectedSourceBucketOwner?: string | undefined; +} +export interface CreateBucketOutput { + Location?: string | undefined; + BucketArn?: string | undefined; +} +export interface BucketInfo { + DataRedundancy?: DataRedundancy | undefined; + Type?: BucketType | undefined; +} +export interface LocationInfo { + Type?: LocationType | undefined; + Name?: string | undefined; +} +export interface Tag { + Key: string | undefined; + Value: string | undefined; +} +export interface CreateBucketConfiguration { + LocationConstraint?: BucketLocationConstraint | undefined; + Location?: LocationInfo | undefined; + Bucket?: BucketInfo | undefined; + Tags?: Tag[] | undefined; +} +export interface CreateBucketRequest { + ACL?: BucketCannedACL | undefined; + Bucket: string | undefined; + CreateBucketConfiguration?: CreateBucketConfiguration | undefined; + GrantFullControl?: string | undefined; + GrantRead?: string | undefined; + GrantReadACP?: string | undefined; + GrantWrite?: string | undefined; + GrantWriteACP?: string | undefined; + ObjectLockEnabledForBucket?: boolean | undefined; + ObjectOwnership?: ObjectOwnership | undefined; + BucketNamespace?: BucketNamespace | undefined; +} +export interface MetadataTableEncryptionConfiguration { + SseAlgorithm: TableSseAlgorithm | undefined; + KmsKeyArn?: string | undefined; +} +export interface InventoryTableConfiguration { + ConfigurationState: InventoryConfigurationState | undefined; + EncryptionConfiguration?: MetadataTableEncryptionConfiguration | undefined; +} +export interface RecordExpiration { + Expiration: ExpirationState | undefined; + Days?: number | undefined; +} +export interface JournalTableConfiguration { + RecordExpiration: RecordExpiration | undefined; + EncryptionConfiguration?: MetadataTableEncryptionConfiguration | undefined; +} +export interface MetadataConfiguration { + JournalTableConfiguration: JournalTableConfiguration | undefined; + InventoryTableConfiguration?: InventoryTableConfiguration | undefined; +} +export interface CreateBucketMetadataConfigurationRequest { + Bucket: string | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + MetadataConfiguration: MetadataConfiguration | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface S3TablesDestination { + TableBucketArn: string | undefined; + TableName: string | undefined; +} +export interface MetadataTableConfiguration { + S3TablesDestination: S3TablesDestination | undefined; +} +export interface CreateBucketMetadataTableConfigurationRequest { + Bucket: string | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + MetadataTableConfiguration: MetadataTableConfiguration | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface CreateMultipartUploadOutput { + AbortDate?: Date | undefined; + AbortRuleId?: string | undefined; + Bucket?: string | undefined; + Key?: string | undefined; + UploadId?: string | undefined; + ServerSideEncryption?: ServerSideEncryption | undefined; + SSECustomerAlgorithm?: string | undefined; + SSECustomerKeyMD5?: string | undefined; + SSEKMSKeyId?: string | undefined; + SSEKMSEncryptionContext?: string | undefined; + BucketKeyEnabled?: boolean | undefined; + RequestCharged?: RequestCharged | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + ChecksumType?: ChecksumType | undefined; +} +export interface CreateMultipartUploadRequest { + ACL?: ObjectCannedACL | undefined; + Bucket: string | undefined; + CacheControl?: string | undefined; + ContentDisposition?: string | undefined; + ContentEncoding?: string | undefined; + ContentLanguage?: string | undefined; + ContentType?: string | undefined; + Expires?: Date | undefined; + GrantFullControl?: string | undefined; + GrantRead?: string | undefined; + GrantReadACP?: string | undefined; + GrantWriteACP?: string | undefined; + Key: string | undefined; + Metadata?: Record | undefined; + ServerSideEncryption?: ServerSideEncryption | undefined; + StorageClass?: StorageClass | undefined; + WebsiteRedirectLocation?: string | undefined; + SSECustomerAlgorithm?: string | undefined; + SSECustomerKey?: string | undefined; + SSECustomerKeyMD5?: string | undefined; + SSEKMSKeyId?: string | undefined; + SSEKMSEncryptionContext?: string | undefined; + BucketKeyEnabled?: boolean | undefined; + RequestPayer?: RequestPayer | undefined; + Tagging?: string | undefined; + ObjectLockMode?: ObjectLockMode | undefined; + ObjectLockRetainUntilDate?: Date | undefined; + ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined; + ExpectedBucketOwner?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + ChecksumType?: ChecksumType | undefined; +} +export interface SessionCredentials { + AccessKeyId: string | undefined; + SecretAccessKey: string | undefined; + SessionToken: string | undefined; + Expiration: Date | undefined; +} +export interface CreateSessionOutput { + ServerSideEncryption?: ServerSideEncryption | undefined; + SSEKMSKeyId?: string | undefined; + SSEKMSEncryptionContext?: string | undefined; + BucketKeyEnabled?: boolean | undefined; + Credentials: SessionCredentials | undefined; +} +export interface CreateSessionRequest { + SessionMode?: SessionMode | undefined; + Bucket: string | undefined; + ServerSideEncryption?: ServerSideEncryption | undefined; + SSEKMSKeyId?: string | undefined; + SSEKMSEncryptionContext?: string | undefined; + BucketKeyEnabled?: boolean | undefined; +} +export interface DeleteBucketRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface DeleteBucketAnalyticsConfigurationRequest { + Bucket: string | undefined; + Id: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface DeleteBucketCorsRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface DeleteBucketEncryptionRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface DeleteBucketIntelligentTieringConfigurationRequest { + Bucket: string | undefined; + Id: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface DeleteBucketInventoryConfigurationRequest { + Bucket: string | undefined; + Id: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface DeleteBucketLifecycleRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface DeleteBucketMetadataConfigurationRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface DeleteBucketMetadataTableConfigurationRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface DeleteBucketMetricsConfigurationRequest { + Bucket: string | undefined; + Id: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface DeleteBucketOwnershipControlsRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface DeleteBucketPolicyRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface DeleteBucketReplicationRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface DeleteBucketTaggingRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface DeleteBucketWebsiteRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface DeleteObjectOutput { + DeleteMarker?: boolean | undefined; + VersionId?: string | undefined; + RequestCharged?: RequestCharged | undefined; +} +export interface DeleteObjectRequest { + Bucket: string | undefined; + Key: string | undefined; + MFA?: string | undefined; + VersionId?: string | undefined; + RequestPayer?: RequestPayer | undefined; + BypassGovernanceRetention?: boolean | undefined; + ExpectedBucketOwner?: string | undefined; + IfMatch?: string | undefined; + IfMatchLastModifiedTime?: Date | undefined; + IfMatchSize?: number | undefined; +} +export interface DeletedObject { + Key?: string | undefined; + VersionId?: string | undefined; + DeleteMarker?: boolean | undefined; + DeleteMarkerVersionId?: string | undefined; +} +export interface _Error { + Key?: string | undefined; + VersionId?: string | undefined; + Code?: string | undefined; + Message?: string | undefined; +} +export interface DeleteObjectsOutput { + Deleted?: DeletedObject[] | undefined; + RequestCharged?: RequestCharged | undefined; + Errors?: _Error[] | undefined; +} +export interface ObjectIdentifier { + Key: string | undefined; + VersionId?: string | undefined; + ETag?: string | undefined; + LastModifiedTime?: Date | undefined; + Size?: number | undefined; +} +export interface Delete { + Objects: ObjectIdentifier[] | undefined; + Quiet?: boolean | undefined; +} +export interface DeleteObjectsRequest { + Bucket: string | undefined; + Delete: Delete | undefined; + MFA?: string | undefined; + RequestPayer?: RequestPayer | undefined; + BypassGovernanceRetention?: boolean | undefined; + ExpectedBucketOwner?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; +} +export interface DeleteObjectTaggingOutput { + VersionId?: string | undefined; +} +export interface DeleteObjectTaggingRequest { + Bucket: string | undefined; + Key: string | undefined; + VersionId?: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface DeletePublicAccessBlockRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface GetBucketAbacOutput { + AbacStatus?: AbacStatus | undefined; +} +export interface GetBucketAbacRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface GetBucketAccelerateConfigurationOutput { + Status?: BucketAccelerateStatus | undefined; + RequestCharged?: RequestCharged | undefined; +} +export interface GetBucketAccelerateConfigurationRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; + RequestPayer?: RequestPayer | undefined; +} +export interface GetBucketAclOutput { + Owner?: Owner | undefined; + Grants?: Grant[] | undefined; +} +export interface GetBucketAclRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface AnalyticsAndOperator { + Prefix?: string | undefined; + Tags?: Tag[] | undefined; +} +export type AnalyticsFilter = + | AnalyticsFilter.AndMember + | AnalyticsFilter.PrefixMember + | AnalyticsFilter.TagMember + | AnalyticsFilter.$UnknownMember; +export declare namespace AnalyticsFilter { + interface PrefixMember { + Prefix: string; + Tag?: never; + And?: never; + $unknown?: never; + } + interface TagMember { + Prefix?: never; + Tag: Tag; + And?: never; + $unknown?: never; + } + interface AndMember { + Prefix?: never; + Tag?: never; + And: AnalyticsAndOperator; + $unknown?: never; + } + interface $UnknownMember { + Prefix?: never; + Tag?: never; + And?: never; + $unknown: [string, any]; + } + interface Visitor { + Prefix: (value: string) => T; + Tag: (value: Tag) => T; + And: (value: AnalyticsAndOperator) => T; + _: (name: string, value: any) => T; + } +} +export interface AnalyticsS3BucketDestination { + Format: AnalyticsS3ExportFileFormat | undefined; + BucketAccountId?: string | undefined; + Bucket: string | undefined; + Prefix?: string | undefined; +} +export interface AnalyticsExportDestination { + S3BucketDestination: AnalyticsS3BucketDestination | undefined; +} +export interface StorageClassAnalysisDataExport { + OutputSchemaVersion: StorageClassAnalysisSchemaVersion | undefined; + Destination: AnalyticsExportDestination | undefined; +} +export interface StorageClassAnalysis { + DataExport?: StorageClassAnalysisDataExport | undefined; +} +export interface AnalyticsConfiguration { + Id: string | undefined; + Filter?: AnalyticsFilter | undefined; + StorageClassAnalysis: StorageClassAnalysis | undefined; +} +export interface GetBucketAnalyticsConfigurationOutput { + AnalyticsConfiguration?: AnalyticsConfiguration | undefined; +} +export interface GetBucketAnalyticsConfigurationRequest { + Bucket: string | undefined; + Id: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface CORSRule { + ID?: string | undefined; + AllowedHeaders?: string[] | undefined; + AllowedMethods: string[] | undefined; + AllowedOrigins: string[] | undefined; + ExposeHeaders?: string[] | undefined; + MaxAgeSeconds?: number | undefined; +} +export interface GetBucketCorsOutput { + CORSRules?: CORSRule[] | undefined; +} +export interface GetBucketCorsRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface ServerSideEncryptionByDefault { + SSEAlgorithm: ServerSideEncryption | undefined; + KMSMasterKeyID?: string | undefined; +} +export interface BlockedEncryptionTypes { + EncryptionType?: EncryptionType[] | undefined; +} +export interface ServerSideEncryptionRule { + ApplyServerSideEncryptionByDefault?: + | ServerSideEncryptionByDefault + | undefined; + BucketKeyEnabled?: boolean | undefined; + BlockedEncryptionTypes?: BlockedEncryptionTypes | undefined; +} +export interface ServerSideEncryptionConfiguration { + Rules: ServerSideEncryptionRule[] | undefined; +} +export interface GetBucketEncryptionOutput { + ServerSideEncryptionConfiguration?: + | ServerSideEncryptionConfiguration + | undefined; +} +export interface GetBucketEncryptionRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface IntelligentTieringAndOperator { + Prefix?: string | undefined; + Tags?: Tag[] | undefined; +} +export interface IntelligentTieringFilter { + Prefix?: string | undefined; + Tag?: Tag | undefined; + And?: IntelligentTieringAndOperator | undefined; +} +export interface Tiering { + Days: number | undefined; + AccessTier: IntelligentTieringAccessTier | undefined; +} +export interface IntelligentTieringConfiguration { + Id: string | undefined; + Filter?: IntelligentTieringFilter | undefined; + Status: IntelligentTieringStatus | undefined; + Tierings: Tiering[] | undefined; +} +export interface GetBucketIntelligentTieringConfigurationOutput { + IntelligentTieringConfiguration?: IntelligentTieringConfiguration | undefined; +} +export interface GetBucketIntelligentTieringConfigurationRequest { + Bucket: string | undefined; + Id: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface SSEKMS { + KeyId: string | undefined; +} +export interface SSES3 {} +export interface InventoryEncryption { + SSES3?: SSES3 | undefined; + SSEKMS?: SSEKMS | undefined; +} +export interface InventoryS3BucketDestination { + AccountId?: string | undefined; + Bucket: string | undefined; + Format: InventoryFormat | undefined; + Prefix?: string | undefined; + Encryption?: InventoryEncryption | undefined; +} +export interface InventoryDestination { + S3BucketDestination: InventoryS3BucketDestination | undefined; +} +export interface InventoryFilter { + Prefix: string | undefined; +} +export interface InventorySchedule { + Frequency: InventoryFrequency | undefined; +} +export interface InventoryConfiguration { + Destination: InventoryDestination | undefined; + IsEnabled: boolean | undefined; + Filter?: InventoryFilter | undefined; + Id: string | undefined; + IncludedObjectVersions: InventoryIncludedObjectVersions | undefined; + OptionalFields?: InventoryOptionalField[] | undefined; + Schedule: InventorySchedule | undefined; +} +export interface GetBucketInventoryConfigurationOutput { + InventoryConfiguration?: InventoryConfiguration | undefined; +} +export interface GetBucketInventoryConfigurationRequest { + Bucket: string | undefined; + Id: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface LifecycleExpiration { + Date?: Date | undefined; + Days?: number | undefined; + ExpiredObjectDeleteMarker?: boolean | undefined; +} +export interface LifecycleRuleAndOperator { + Prefix?: string | undefined; + Tags?: Tag[] | undefined; + ObjectSizeGreaterThan?: number | undefined; + ObjectSizeLessThan?: number | undefined; +} +export interface LifecycleRuleFilter { + Prefix?: string | undefined; + Tag?: Tag | undefined; + ObjectSizeGreaterThan?: number | undefined; + ObjectSizeLessThan?: number | undefined; + And?: LifecycleRuleAndOperator | undefined; +} +export interface NoncurrentVersionExpiration { + NoncurrentDays?: number | undefined; + NewerNoncurrentVersions?: number | undefined; +} +export interface NoncurrentVersionTransition { + NoncurrentDays?: number | undefined; + StorageClass?: TransitionStorageClass | undefined; + NewerNoncurrentVersions?: number | undefined; +} +export interface Transition { + Date?: Date | undefined; + Days?: number | undefined; + StorageClass?: TransitionStorageClass | undefined; +} +export interface LifecycleRule { + Expiration?: LifecycleExpiration | undefined; + ID?: string | undefined; + Prefix?: string | undefined; + Filter?: LifecycleRuleFilter | undefined; + Status: ExpirationStatus | undefined; + Transitions?: Transition[] | undefined; + NoncurrentVersionTransitions?: NoncurrentVersionTransition[] | undefined; + NoncurrentVersionExpiration?: NoncurrentVersionExpiration | undefined; + AbortIncompleteMultipartUpload?: AbortIncompleteMultipartUpload | undefined; +} +export interface GetBucketLifecycleConfigurationOutput { + Rules?: LifecycleRule[] | undefined; + TransitionDefaultMinimumObjectSize?: + | TransitionDefaultMinimumObjectSize + | undefined; +} +export interface GetBucketLifecycleConfigurationRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface GetBucketLocationOutput { + LocationConstraint?: BucketLocationConstraint | undefined; +} +export interface GetBucketLocationRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface TargetGrant { + Grantee?: Grantee | undefined; + Permission?: BucketLogsPermission | undefined; +} +export interface PartitionedPrefix { + PartitionDateSource?: PartitionDateSource | undefined; +} +export interface SimplePrefix {} +export interface TargetObjectKeyFormat { + SimplePrefix?: SimplePrefix | undefined; + PartitionedPrefix?: PartitionedPrefix | undefined; +} +export interface LoggingEnabled { + TargetBucket: string | undefined; + TargetGrants?: TargetGrant[] | undefined; + TargetPrefix: string | undefined; + TargetObjectKeyFormat?: TargetObjectKeyFormat | undefined; +} +export interface GetBucketLoggingOutput { + LoggingEnabled?: LoggingEnabled | undefined; +} +export interface GetBucketLoggingRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface DestinationResult { + TableBucketType?: S3TablesBucketType | undefined; + TableBucketArn?: string | undefined; + TableNamespace?: string | undefined; +} +export interface ErrorDetails { + ErrorCode?: string | undefined; + ErrorMessage?: string | undefined; +} +export interface InventoryTableConfigurationResult { + ConfigurationState: InventoryConfigurationState | undefined; + TableStatus?: string | undefined; + Error?: ErrorDetails | undefined; + TableName?: string | undefined; + TableArn?: string | undefined; +} +export interface JournalTableConfigurationResult { + TableStatus: string | undefined; + Error?: ErrorDetails | undefined; + TableName: string | undefined; + TableArn?: string | undefined; + RecordExpiration: RecordExpiration | undefined; +} +export interface MetadataConfigurationResult { + DestinationResult: DestinationResult | undefined; + JournalTableConfigurationResult?: JournalTableConfigurationResult | undefined; + InventoryTableConfigurationResult?: + | InventoryTableConfigurationResult + | undefined; +} +export interface GetBucketMetadataConfigurationResult { + MetadataConfigurationResult: MetadataConfigurationResult | undefined; +} +export interface GetBucketMetadataConfigurationOutput { + GetBucketMetadataConfigurationResult?: + | GetBucketMetadataConfigurationResult + | undefined; +} +export interface GetBucketMetadataConfigurationRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface S3TablesDestinationResult { + TableBucketArn: string | undefined; + TableName: string | undefined; + TableArn: string | undefined; + TableNamespace: string | undefined; +} +export interface MetadataTableConfigurationResult { + S3TablesDestinationResult: S3TablesDestinationResult | undefined; +} +export interface GetBucketMetadataTableConfigurationResult { + MetadataTableConfigurationResult: + | MetadataTableConfigurationResult + | undefined; + Status: string | undefined; + Error?: ErrorDetails | undefined; +} +export interface GetBucketMetadataTableConfigurationOutput { + GetBucketMetadataTableConfigurationResult?: + | GetBucketMetadataTableConfigurationResult + | undefined; +} +export interface GetBucketMetadataTableConfigurationRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface MetricsAndOperator { + Prefix?: string | undefined; + Tags?: Tag[] | undefined; + AccessPointArn?: string | undefined; +} +export type MetricsFilter = + | MetricsFilter.AccessPointArnMember + | MetricsFilter.AndMember + | MetricsFilter.PrefixMember + | MetricsFilter.TagMember + | MetricsFilter.$UnknownMember; +export declare namespace MetricsFilter { + interface PrefixMember { + Prefix: string; + Tag?: never; + AccessPointArn?: never; + And?: never; + $unknown?: never; + } + interface TagMember { + Prefix?: never; + Tag: Tag; + AccessPointArn?: never; + And?: never; + $unknown?: never; + } + interface AccessPointArnMember { + Prefix?: never; + Tag?: never; + AccessPointArn: string; + And?: never; + $unknown?: never; + } + interface AndMember { + Prefix?: never; + Tag?: never; + AccessPointArn?: never; + And: MetricsAndOperator; + $unknown?: never; + } + interface $UnknownMember { + Prefix?: never; + Tag?: never; + AccessPointArn?: never; + And?: never; + $unknown: [string, any]; + } + interface Visitor { + Prefix: (value: string) => T; + Tag: (value: Tag) => T; + AccessPointArn: (value: string) => T; + And: (value: MetricsAndOperator) => T; + _: (name: string, value: any) => T; + } +} +export interface MetricsConfiguration { + Id: string | undefined; + Filter?: MetricsFilter | undefined; +} +export interface GetBucketMetricsConfigurationOutput { + MetricsConfiguration?: MetricsConfiguration | undefined; +} +export interface GetBucketMetricsConfigurationRequest { + Bucket: string | undefined; + Id: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface GetBucketNotificationConfigurationRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface EventBridgeConfiguration {} +export interface FilterRule { + Name?: FilterRuleName | undefined; + Value?: string | undefined; +} +export interface S3KeyFilter { + FilterRules?: FilterRule[] | undefined; +} +export interface NotificationConfigurationFilter { + Key?: S3KeyFilter | undefined; +} +export interface LambdaFunctionConfiguration { + Id?: string | undefined; + LambdaFunctionArn: string | undefined; + Events: Event[] | undefined; + Filter?: NotificationConfigurationFilter | undefined; +} +export interface QueueConfiguration { + Id?: string | undefined; + QueueArn: string | undefined; + Events: Event[] | undefined; + Filter?: NotificationConfigurationFilter | undefined; +} +export interface TopicConfiguration { + Id?: string | undefined; + TopicArn: string | undefined; + Events: Event[] | undefined; + Filter?: NotificationConfigurationFilter | undefined; +} +export interface NotificationConfiguration { + TopicConfigurations?: TopicConfiguration[] | undefined; + QueueConfigurations?: QueueConfiguration[] | undefined; + LambdaFunctionConfigurations?: LambdaFunctionConfiguration[] | undefined; + EventBridgeConfiguration?: EventBridgeConfiguration | undefined; +} +export interface OwnershipControlsRule { + ObjectOwnership: ObjectOwnership | undefined; +} +export interface OwnershipControls { + Rules: OwnershipControlsRule[] | undefined; +} +export interface GetBucketOwnershipControlsOutput { + OwnershipControls?: OwnershipControls | undefined; +} +export interface GetBucketOwnershipControlsRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface GetBucketPolicyOutput { + Policy?: string | undefined; +} +export interface GetBucketPolicyRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface PolicyStatus { + IsPublic?: boolean | undefined; +} +export interface GetBucketPolicyStatusOutput { + PolicyStatus?: PolicyStatus | undefined; +} +export interface GetBucketPolicyStatusRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface DeleteMarkerReplication { + Status?: DeleteMarkerReplicationStatus | undefined; +} +export interface EncryptionConfiguration { + ReplicaKmsKeyID?: string | undefined; +} +export interface ReplicationTimeValue { + Minutes?: number | undefined; +} +export interface Metrics { + Status: MetricsStatus | undefined; + EventThreshold?: ReplicationTimeValue | undefined; +} +export interface ReplicationTime { + Status: ReplicationTimeStatus | undefined; + Time: ReplicationTimeValue | undefined; +} +export interface Destination { + Bucket: string | undefined; + Account?: string | undefined; + StorageClass?: StorageClass | undefined; + AccessControlTranslation?: AccessControlTranslation | undefined; + EncryptionConfiguration?: EncryptionConfiguration | undefined; + ReplicationTime?: ReplicationTime | undefined; + Metrics?: Metrics | undefined; +} +export interface ExistingObjectReplication { + Status: ExistingObjectReplicationStatus | undefined; +} +export interface ReplicationRuleAndOperator { + Prefix?: string | undefined; + Tags?: Tag[] | undefined; +} +export interface ReplicationRuleFilter { + Prefix?: string | undefined; + Tag?: Tag | undefined; + And?: ReplicationRuleAndOperator | undefined; +} +export interface ReplicaModifications { + Status: ReplicaModificationsStatus | undefined; +} +export interface SseKmsEncryptedObjects { + Status: SseKmsEncryptedObjectsStatus | undefined; +} +export interface SourceSelectionCriteria { + SseKmsEncryptedObjects?: SseKmsEncryptedObjects | undefined; + ReplicaModifications?: ReplicaModifications | undefined; +} +export interface ReplicationRule { + ID?: string | undefined; + Priority?: number | undefined; + Prefix?: string | undefined; + Filter?: ReplicationRuleFilter | undefined; + Status: ReplicationRuleStatus | undefined; + SourceSelectionCriteria?: SourceSelectionCriteria | undefined; + ExistingObjectReplication?: ExistingObjectReplication | undefined; + Destination: Destination | undefined; + DeleteMarkerReplication?: DeleteMarkerReplication | undefined; +} +export interface ReplicationConfiguration { + Role: string | undefined; + Rules: ReplicationRule[] | undefined; +} +export interface GetBucketReplicationOutput { + ReplicationConfiguration?: ReplicationConfiguration | undefined; +} +export interface GetBucketReplicationRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface GetBucketRequestPaymentOutput { + Payer?: Payer | undefined; +} +export interface GetBucketRequestPaymentRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface GetBucketTaggingOutput { + TagSet: Tag[] | undefined; +} +export interface GetBucketTaggingRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface GetBucketVersioningOutput { + Status?: BucketVersioningStatus | undefined; + MFADelete?: MFADeleteStatus | undefined; +} +export interface GetBucketVersioningRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface ErrorDocument { + Key: string | undefined; +} +export interface IndexDocument { + Suffix: string | undefined; +} +export interface RedirectAllRequestsTo { + HostName: string | undefined; + Protocol?: Protocol | undefined; +} +export interface Condition { + HttpErrorCodeReturnedEquals?: string | undefined; + KeyPrefixEquals?: string | undefined; +} +export interface Redirect { + HostName?: string | undefined; + HttpRedirectCode?: string | undefined; + Protocol?: Protocol | undefined; + ReplaceKeyPrefixWith?: string | undefined; + ReplaceKeyWith?: string | undefined; +} +export interface RoutingRule { + Condition?: Condition | undefined; + Redirect: Redirect | undefined; +} +export interface GetBucketWebsiteOutput { + RedirectAllRequestsTo?: RedirectAllRequestsTo | undefined; + IndexDocument?: IndexDocument | undefined; + ErrorDocument?: ErrorDocument | undefined; + RoutingRules?: RoutingRule[] | undefined; +} +export interface GetBucketWebsiteRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface GetObjectOutput { + Body?: StreamingBlobTypes | undefined; + DeleteMarker?: boolean | undefined; + AcceptRanges?: string | undefined; + Expiration?: string | undefined; + Restore?: string | undefined; + LastModified?: Date | undefined; + ContentLength?: number | undefined; + ETag?: string | undefined; + ChecksumCRC32?: string | undefined; + ChecksumCRC32C?: string | undefined; + ChecksumCRC64NVME?: string | undefined; + ChecksumSHA1?: string | undefined; + ChecksumSHA256?: string | undefined; + ChecksumType?: ChecksumType | undefined; + MissingMeta?: number | undefined; + VersionId?: string | undefined; + CacheControl?: string | undefined; + ContentDisposition?: string | undefined; + ContentEncoding?: string | undefined; + ContentLanguage?: string | undefined; + ContentRange?: string | undefined; + ContentType?: string | undefined; + Expires?: Date | undefined; + ExpiresString?: string | undefined; + WebsiteRedirectLocation?: string | undefined; + ServerSideEncryption?: ServerSideEncryption | undefined; + Metadata?: Record | undefined; + SSECustomerAlgorithm?: string | undefined; + SSECustomerKeyMD5?: string | undefined; + SSEKMSKeyId?: string | undefined; + BucketKeyEnabled?: boolean | undefined; + StorageClass?: StorageClass | undefined; + RequestCharged?: RequestCharged | undefined; + ReplicationStatus?: ReplicationStatus | undefined; + PartsCount?: number | undefined; + TagCount?: number | undefined; + ObjectLockMode?: ObjectLockMode | undefined; + ObjectLockRetainUntilDate?: Date | undefined; + ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined; +} +export interface GetObjectRequest { + Bucket: string | undefined; + IfMatch?: string | undefined; + IfModifiedSince?: Date | undefined; + IfNoneMatch?: string | undefined; + IfUnmodifiedSince?: Date | undefined; + Key: string | undefined; + Range?: string | undefined; + ResponseCacheControl?: string | undefined; + ResponseContentDisposition?: string | undefined; + ResponseContentEncoding?: string | undefined; + ResponseContentLanguage?: string | undefined; + ResponseContentType?: string | undefined; + ResponseExpires?: Date | undefined; + VersionId?: string | undefined; + SSECustomerAlgorithm?: string | undefined; + SSECustomerKey?: string | undefined; + SSECustomerKeyMD5?: string | undefined; + RequestPayer?: RequestPayer | undefined; + PartNumber?: number | undefined; + ExpectedBucketOwner?: string | undefined; + ChecksumMode?: ChecksumMode | undefined; +} +export interface GetObjectAclOutput { + Owner?: Owner | undefined; + Grants?: Grant[] | undefined; + RequestCharged?: RequestCharged | undefined; +} +export interface GetObjectAclRequest { + Bucket: string | undefined; + Key: string | undefined; + VersionId?: string | undefined; + RequestPayer?: RequestPayer | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface Checksum { + ChecksumCRC32?: string | undefined; + ChecksumCRC32C?: string | undefined; + ChecksumCRC64NVME?: string | undefined; + ChecksumSHA1?: string | undefined; + ChecksumSHA256?: string | undefined; + ChecksumType?: ChecksumType | undefined; +} +export interface ObjectPart { + PartNumber?: number | undefined; + Size?: number | undefined; + ChecksumCRC32?: string | undefined; + ChecksumCRC32C?: string | undefined; + ChecksumCRC64NVME?: string | undefined; + ChecksumSHA1?: string | undefined; + ChecksumSHA256?: string | undefined; +} +export interface GetObjectAttributesParts { + TotalPartsCount?: number | undefined; + PartNumberMarker?: string | undefined; + NextPartNumberMarker?: string | undefined; + MaxParts?: number | undefined; + IsTruncated?: boolean | undefined; + Parts?: ObjectPart[] | undefined; +} +export interface GetObjectAttributesOutput { + DeleteMarker?: boolean | undefined; + LastModified?: Date | undefined; + VersionId?: string | undefined; + RequestCharged?: RequestCharged | undefined; + ETag?: string | undefined; + Checksum?: Checksum | undefined; + ObjectParts?: GetObjectAttributesParts | undefined; + StorageClass?: StorageClass | undefined; + ObjectSize?: number | undefined; +} +export interface GetObjectAttributesRequest { + Bucket: string | undefined; + Key: string | undefined; + VersionId?: string | undefined; + MaxParts?: number | undefined; + PartNumberMarker?: string | undefined; + SSECustomerAlgorithm?: string | undefined; + SSECustomerKey?: string | undefined; + SSECustomerKeyMD5?: string | undefined; + RequestPayer?: RequestPayer | undefined; + ExpectedBucketOwner?: string | undefined; + ObjectAttributes: ObjectAttributes[] | undefined; +} +export interface ObjectLockLegalHold { + Status?: ObjectLockLegalHoldStatus | undefined; +} +export interface GetObjectLegalHoldOutput { + LegalHold?: ObjectLockLegalHold | undefined; +} +export interface GetObjectLegalHoldRequest { + Bucket: string | undefined; + Key: string | undefined; + VersionId?: string | undefined; + RequestPayer?: RequestPayer | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface DefaultRetention { + Mode?: ObjectLockRetentionMode | undefined; + Days?: number | undefined; + Years?: number | undefined; +} +export interface ObjectLockRule { + DefaultRetention?: DefaultRetention | undefined; +} +export interface ObjectLockConfiguration { + ObjectLockEnabled?: ObjectLockEnabled | undefined; + Rule?: ObjectLockRule | undefined; +} +export interface GetObjectLockConfigurationOutput { + ObjectLockConfiguration?: ObjectLockConfiguration | undefined; +} +export interface GetObjectLockConfigurationRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface ObjectLockRetention { + Mode?: ObjectLockRetentionMode | undefined; + RetainUntilDate?: Date | undefined; +} +export interface GetObjectRetentionOutput { + Retention?: ObjectLockRetention | undefined; +} +export interface GetObjectRetentionRequest { + Bucket: string | undefined; + Key: string | undefined; + VersionId?: string | undefined; + RequestPayer?: RequestPayer | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface GetObjectTaggingOutput { + VersionId?: string | undefined; + TagSet: Tag[] | undefined; +} +export interface GetObjectTaggingRequest { + Bucket: string | undefined; + Key: string | undefined; + VersionId?: string | undefined; + ExpectedBucketOwner?: string | undefined; + RequestPayer?: RequestPayer | undefined; +} +export interface GetObjectTorrentOutput { + Body?: StreamingBlobTypes | undefined; + RequestCharged?: RequestCharged | undefined; +} +export interface GetObjectTorrentRequest { + Bucket: string | undefined; + Key: string | undefined; + RequestPayer?: RequestPayer | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface PublicAccessBlockConfiguration { + BlockPublicAcls?: boolean | undefined; + IgnorePublicAcls?: boolean | undefined; + BlockPublicPolicy?: boolean | undefined; + RestrictPublicBuckets?: boolean | undefined; +} +export interface GetPublicAccessBlockOutput { + PublicAccessBlockConfiguration?: PublicAccessBlockConfiguration | undefined; +} +export interface GetPublicAccessBlockRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface HeadBucketOutput { + BucketArn?: string | undefined; + BucketLocationType?: LocationType | undefined; + BucketLocationName?: string | undefined; + BucketRegion?: string | undefined; + AccessPointAlias?: boolean | undefined; +} +export interface HeadBucketRequest { + Bucket: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface HeadObjectOutput { + DeleteMarker?: boolean | undefined; + AcceptRanges?: string | undefined; + Expiration?: string | undefined; + Restore?: string | undefined; + ArchiveStatus?: ArchiveStatus | undefined; + LastModified?: Date | undefined; + ContentLength?: number | undefined; + ChecksumCRC32?: string | undefined; + ChecksumCRC32C?: string | undefined; + ChecksumCRC64NVME?: string | undefined; + ChecksumSHA1?: string | undefined; + ChecksumSHA256?: string | undefined; + ChecksumType?: ChecksumType | undefined; + ETag?: string | undefined; + MissingMeta?: number | undefined; + VersionId?: string | undefined; + CacheControl?: string | undefined; + ContentDisposition?: string | undefined; + ContentEncoding?: string | undefined; + ContentLanguage?: string | undefined; + ContentType?: string | undefined; + ContentRange?: string | undefined; + Expires?: Date | undefined; + ExpiresString?: string | undefined; + WebsiteRedirectLocation?: string | undefined; + ServerSideEncryption?: ServerSideEncryption | undefined; + Metadata?: Record | undefined; + SSECustomerAlgorithm?: string | undefined; + SSECustomerKeyMD5?: string | undefined; + SSEKMSKeyId?: string | undefined; + BucketKeyEnabled?: boolean | undefined; + StorageClass?: StorageClass | undefined; + RequestCharged?: RequestCharged | undefined; + ReplicationStatus?: ReplicationStatus | undefined; + PartsCount?: number | undefined; + TagCount?: number | undefined; + ObjectLockMode?: ObjectLockMode | undefined; + ObjectLockRetainUntilDate?: Date | undefined; + ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined; +} +export interface HeadObjectRequest { + Bucket: string | undefined; + IfMatch?: string | undefined; + IfModifiedSince?: Date | undefined; + IfNoneMatch?: string | undefined; + IfUnmodifiedSince?: Date | undefined; + Key: string | undefined; + Range?: string | undefined; + ResponseCacheControl?: string | undefined; + ResponseContentDisposition?: string | undefined; + ResponseContentEncoding?: string | undefined; + ResponseContentLanguage?: string | undefined; + ResponseContentType?: string | undefined; + ResponseExpires?: Date | undefined; + VersionId?: string | undefined; + SSECustomerAlgorithm?: string | undefined; + SSECustomerKey?: string | undefined; + SSECustomerKeyMD5?: string | undefined; + RequestPayer?: RequestPayer | undefined; + PartNumber?: number | undefined; + ExpectedBucketOwner?: string | undefined; + ChecksumMode?: ChecksumMode | undefined; +} +export interface ListBucketAnalyticsConfigurationsOutput { + IsTruncated?: boolean | undefined; + ContinuationToken?: string | undefined; + NextContinuationToken?: string | undefined; + AnalyticsConfigurationList?: AnalyticsConfiguration[] | undefined; +} +export interface ListBucketAnalyticsConfigurationsRequest { + Bucket: string | undefined; + ContinuationToken?: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface ListBucketIntelligentTieringConfigurationsOutput { + IsTruncated?: boolean | undefined; + ContinuationToken?: string | undefined; + NextContinuationToken?: string | undefined; + IntelligentTieringConfigurationList?: + | IntelligentTieringConfiguration[] + | undefined; +} +export interface ListBucketIntelligentTieringConfigurationsRequest { + Bucket: string | undefined; + ContinuationToken?: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface ListBucketInventoryConfigurationsOutput { + ContinuationToken?: string | undefined; + InventoryConfigurationList?: InventoryConfiguration[] | undefined; + IsTruncated?: boolean | undefined; + NextContinuationToken?: string | undefined; +} +export interface ListBucketInventoryConfigurationsRequest { + Bucket: string | undefined; + ContinuationToken?: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface ListBucketMetricsConfigurationsOutput { + IsTruncated?: boolean | undefined; + ContinuationToken?: string | undefined; + NextContinuationToken?: string | undefined; + MetricsConfigurationList?: MetricsConfiguration[] | undefined; +} +export interface ListBucketMetricsConfigurationsRequest { + Bucket: string | undefined; + ContinuationToken?: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface Bucket { + Name?: string | undefined; + CreationDate?: Date | undefined; + BucketRegion?: string | undefined; + BucketArn?: string | undefined; +} +export interface ListBucketsOutput { + Buckets?: Bucket[] | undefined; + Owner?: Owner | undefined; + ContinuationToken?: string | undefined; + Prefix?: string | undefined; +} +export interface ListBucketsRequest { + MaxBuckets?: number | undefined; + ContinuationToken?: string | undefined; + Prefix?: string | undefined; + BucketRegion?: string | undefined; +} +export interface ListDirectoryBucketsOutput { + Buckets?: Bucket[] | undefined; + ContinuationToken?: string | undefined; +} +export interface ListDirectoryBucketsRequest { + ContinuationToken?: string | undefined; + MaxDirectoryBuckets?: number | undefined; +} +export interface CommonPrefix { + Prefix?: string | undefined; +} +export interface Initiator { + ID?: string | undefined; + DisplayName?: string | undefined; +} +export interface MultipartUpload { + UploadId?: string | undefined; + Key?: string | undefined; + Initiated?: Date | undefined; + StorageClass?: StorageClass | undefined; + Owner?: Owner | undefined; + Initiator?: Initiator | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + ChecksumType?: ChecksumType | undefined; +} +export interface ListMultipartUploadsOutput { + Bucket?: string | undefined; + KeyMarker?: string | undefined; + UploadIdMarker?: string | undefined; + NextKeyMarker?: string | undefined; + Prefix?: string | undefined; + Delimiter?: string | undefined; + NextUploadIdMarker?: string | undefined; + MaxUploads?: number | undefined; + IsTruncated?: boolean | undefined; + Uploads?: MultipartUpload[] | undefined; + CommonPrefixes?: CommonPrefix[] | undefined; + EncodingType?: EncodingType | undefined; + RequestCharged?: RequestCharged | undefined; +} +export interface ListMultipartUploadsRequest { + Bucket: string | undefined; + Delimiter?: string | undefined; + EncodingType?: EncodingType | undefined; + KeyMarker?: string | undefined; + MaxUploads?: number | undefined; + Prefix?: string | undefined; + UploadIdMarker?: string | undefined; + ExpectedBucketOwner?: string | undefined; + RequestPayer?: RequestPayer | undefined; +} +export interface RestoreStatus { + IsRestoreInProgress?: boolean | undefined; + RestoreExpiryDate?: Date | undefined; +} +export interface _Object { + Key?: string | undefined; + LastModified?: Date | undefined; + ETag?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm[] | undefined; + ChecksumType?: ChecksumType | undefined; + Size?: number | undefined; + StorageClass?: ObjectStorageClass | undefined; + Owner?: Owner | undefined; + RestoreStatus?: RestoreStatus | undefined; +} +export interface ListObjectsOutput { + IsTruncated?: boolean | undefined; + Marker?: string | undefined; + NextMarker?: string | undefined; + Contents?: _Object[] | undefined; + Name?: string | undefined; + Prefix?: string | undefined; + Delimiter?: string | undefined; + MaxKeys?: number | undefined; + CommonPrefixes?: CommonPrefix[] | undefined; + EncodingType?: EncodingType | undefined; + RequestCharged?: RequestCharged | undefined; +} +export interface ListObjectsRequest { + Bucket: string | undefined; + Delimiter?: string | undefined; + EncodingType?: EncodingType | undefined; + Marker?: string | undefined; + MaxKeys?: number | undefined; + Prefix?: string | undefined; + RequestPayer?: RequestPayer | undefined; + ExpectedBucketOwner?: string | undefined; + OptionalObjectAttributes?: OptionalObjectAttributes[] | undefined; +} +export interface ListObjectsV2Output { + IsTruncated?: boolean | undefined; + Contents?: _Object[] | undefined; + Name?: string | undefined; + Prefix?: string | undefined; + Delimiter?: string | undefined; + MaxKeys?: number | undefined; + CommonPrefixes?: CommonPrefix[] | undefined; + EncodingType?: EncodingType | undefined; + KeyCount?: number | undefined; + ContinuationToken?: string | undefined; + NextContinuationToken?: string | undefined; + StartAfter?: string | undefined; + RequestCharged?: RequestCharged | undefined; +} +export interface ListObjectsV2Request { + Bucket: string | undefined; + Delimiter?: string | undefined; + EncodingType?: EncodingType | undefined; + MaxKeys?: number | undefined; + Prefix?: string | undefined; + ContinuationToken?: string | undefined; + FetchOwner?: boolean | undefined; + StartAfter?: string | undefined; + RequestPayer?: RequestPayer | undefined; + ExpectedBucketOwner?: string | undefined; + OptionalObjectAttributes?: OptionalObjectAttributes[] | undefined; +} +export interface DeleteMarkerEntry { + Owner?: Owner | undefined; + Key?: string | undefined; + VersionId?: string | undefined; + IsLatest?: boolean | undefined; + LastModified?: Date | undefined; +} +export interface ObjectVersion { + ETag?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm[] | undefined; + ChecksumType?: ChecksumType | undefined; + Size?: number | undefined; + StorageClass?: ObjectVersionStorageClass | undefined; + Key?: string | undefined; + VersionId?: string | undefined; + IsLatest?: boolean | undefined; + LastModified?: Date | undefined; + Owner?: Owner | undefined; + RestoreStatus?: RestoreStatus | undefined; +} +export interface ListObjectVersionsOutput { + IsTruncated?: boolean | undefined; + KeyMarker?: string | undefined; + VersionIdMarker?: string | undefined; + NextKeyMarker?: string | undefined; + NextVersionIdMarker?: string | undefined; + Versions?: ObjectVersion[] | undefined; + DeleteMarkers?: DeleteMarkerEntry[] | undefined; + Name?: string | undefined; + Prefix?: string | undefined; + Delimiter?: string | undefined; + MaxKeys?: number | undefined; + CommonPrefixes?: CommonPrefix[] | undefined; + EncodingType?: EncodingType | undefined; + RequestCharged?: RequestCharged | undefined; +} +export interface ListObjectVersionsRequest { + Bucket: string | undefined; + Delimiter?: string | undefined; + EncodingType?: EncodingType | undefined; + KeyMarker?: string | undefined; + MaxKeys?: number | undefined; + Prefix?: string | undefined; + VersionIdMarker?: string | undefined; + ExpectedBucketOwner?: string | undefined; + RequestPayer?: RequestPayer | undefined; + OptionalObjectAttributes?: OptionalObjectAttributes[] | undefined; +} +export interface Part { + PartNumber?: number | undefined; + LastModified?: Date | undefined; + ETag?: string | undefined; + Size?: number | undefined; + ChecksumCRC32?: string | undefined; + ChecksumCRC32C?: string | undefined; + ChecksumCRC64NVME?: string | undefined; + ChecksumSHA1?: string | undefined; + ChecksumSHA256?: string | undefined; +} +export interface ListPartsOutput { + AbortDate?: Date | undefined; + AbortRuleId?: string | undefined; + Bucket?: string | undefined; + Key?: string | undefined; + UploadId?: string | undefined; + PartNumberMarker?: string | undefined; + NextPartNumberMarker?: string | undefined; + MaxParts?: number | undefined; + IsTruncated?: boolean | undefined; + Parts?: Part[] | undefined; + Initiator?: Initiator | undefined; + Owner?: Owner | undefined; + StorageClass?: StorageClass | undefined; + RequestCharged?: RequestCharged | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + ChecksumType?: ChecksumType | undefined; +} +export interface ListPartsRequest { + Bucket: string | undefined; + Key: string | undefined; + MaxParts?: number | undefined; + PartNumberMarker?: string | undefined; + UploadId: string | undefined; + RequestPayer?: RequestPayer | undefined; + ExpectedBucketOwner?: string | undefined; + SSECustomerAlgorithm?: string | undefined; + SSECustomerKey?: string | undefined; + SSECustomerKeyMD5?: string | undefined; +} +export interface PutBucketAbacRequest { + Bucket: string | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + ExpectedBucketOwner?: string | undefined; + AbacStatus: AbacStatus | undefined; +} +export interface PutBucketAccelerateConfigurationRequest { + Bucket: string | undefined; + AccelerateConfiguration: AccelerateConfiguration | undefined; + ExpectedBucketOwner?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; +} +export interface PutBucketAclRequest { + ACL?: BucketCannedACL | undefined; + AccessControlPolicy?: AccessControlPolicy | undefined; + Bucket: string | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + GrantFullControl?: string | undefined; + GrantRead?: string | undefined; + GrantReadACP?: string | undefined; + GrantWrite?: string | undefined; + GrantWriteACP?: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface PutBucketAnalyticsConfigurationRequest { + Bucket: string | undefined; + Id: string | undefined; + AnalyticsConfiguration: AnalyticsConfiguration | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface CORSConfiguration { + CORSRules: CORSRule[] | undefined; +} +export interface PutBucketCorsRequest { + Bucket: string | undefined; + CORSConfiguration: CORSConfiguration | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface PutBucketEncryptionRequest { + Bucket: string | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + ServerSideEncryptionConfiguration: + | ServerSideEncryptionConfiguration + | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface PutBucketIntelligentTieringConfigurationRequest { + Bucket: string | undefined; + Id: string | undefined; + ExpectedBucketOwner?: string | undefined; + IntelligentTieringConfiguration: IntelligentTieringConfiguration | undefined; +} +export interface PutBucketInventoryConfigurationRequest { + Bucket: string | undefined; + Id: string | undefined; + InventoryConfiguration: InventoryConfiguration | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface PutBucketLifecycleConfigurationOutput { + TransitionDefaultMinimumObjectSize?: + | TransitionDefaultMinimumObjectSize + | undefined; +} +export interface BucketLifecycleConfiguration { + Rules: LifecycleRule[] | undefined; +} +export interface PutBucketLifecycleConfigurationRequest { + Bucket: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + LifecycleConfiguration?: BucketLifecycleConfiguration | undefined; + ExpectedBucketOwner?: string | undefined; + TransitionDefaultMinimumObjectSize?: + | TransitionDefaultMinimumObjectSize + | undefined; +} +export interface BucketLoggingStatus { + LoggingEnabled?: LoggingEnabled | undefined; +} +export interface PutBucketLoggingRequest { + Bucket: string | undefined; + BucketLoggingStatus: BucketLoggingStatus | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface PutBucketMetricsConfigurationRequest { + Bucket: string | undefined; + Id: string | undefined; + MetricsConfiguration: MetricsConfiguration | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface PutBucketNotificationConfigurationRequest { + Bucket: string | undefined; + NotificationConfiguration: NotificationConfiguration | undefined; + ExpectedBucketOwner?: string | undefined; + SkipDestinationValidation?: boolean | undefined; +} +export interface PutBucketOwnershipControlsRequest { + Bucket: string | undefined; + ContentMD5?: string | undefined; + ExpectedBucketOwner?: string | undefined; + OwnershipControls: OwnershipControls | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; +} +export interface PutBucketPolicyRequest { + Bucket: string | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + ConfirmRemoveSelfBucketAccess?: boolean | undefined; + Policy: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface PutBucketReplicationRequest { + Bucket: string | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + ReplicationConfiguration: ReplicationConfiguration | undefined; + Token?: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface RequestPaymentConfiguration { + Payer: Payer | undefined; +} +export interface PutBucketRequestPaymentRequest { + Bucket: string | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + RequestPaymentConfiguration: RequestPaymentConfiguration | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface Tagging { + TagSet: Tag[] | undefined; +} +export interface PutBucketTaggingRequest { + Bucket: string | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + Tagging: Tagging | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface VersioningConfiguration { + MFADelete?: MFADelete | undefined; + Status?: BucketVersioningStatus | undefined; +} +export interface PutBucketVersioningRequest { + Bucket: string | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + MFA?: string | undefined; + VersioningConfiguration: VersioningConfiguration | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface WebsiteConfiguration { + ErrorDocument?: ErrorDocument | undefined; + IndexDocument?: IndexDocument | undefined; + RedirectAllRequestsTo?: RedirectAllRequestsTo | undefined; + RoutingRules?: RoutingRule[] | undefined; +} +export interface PutBucketWebsiteRequest { + Bucket: string | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + WebsiteConfiguration: WebsiteConfiguration | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface PutObjectOutput { + Expiration?: string | undefined; + ETag?: string | undefined; + ChecksumCRC32?: string | undefined; + ChecksumCRC32C?: string | undefined; + ChecksumCRC64NVME?: string | undefined; + ChecksumSHA1?: string | undefined; + ChecksumSHA256?: string | undefined; + ChecksumType?: ChecksumType | undefined; + ServerSideEncryption?: ServerSideEncryption | undefined; + VersionId?: string | undefined; + SSECustomerAlgorithm?: string | undefined; + SSECustomerKeyMD5?: string | undefined; + SSEKMSKeyId?: string | undefined; + SSEKMSEncryptionContext?: string | undefined; + BucketKeyEnabled?: boolean | undefined; + Size?: number | undefined; + RequestCharged?: RequestCharged | undefined; +} +export interface PutObjectRequest { + ACL?: ObjectCannedACL | undefined; + Body?: StreamingBlobTypes | undefined; + Bucket: string | undefined; + CacheControl?: string | undefined; + ContentDisposition?: string | undefined; + ContentEncoding?: string | undefined; + ContentLanguage?: string | undefined; + ContentLength?: number | undefined; + ContentMD5?: string | undefined; + ContentType?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + ChecksumCRC32?: string | undefined; + ChecksumCRC32C?: string | undefined; + ChecksumCRC64NVME?: string | undefined; + ChecksumSHA1?: string | undefined; + ChecksumSHA256?: string | undefined; + Expires?: Date | undefined; + IfMatch?: string | undefined; + IfNoneMatch?: string | undefined; + GrantFullControl?: string | undefined; + GrantRead?: string | undefined; + GrantReadACP?: string | undefined; + GrantWriteACP?: string | undefined; + Key: string | undefined; + WriteOffsetBytes?: number | undefined; + Metadata?: Record | undefined; + ServerSideEncryption?: ServerSideEncryption | undefined; + StorageClass?: StorageClass | undefined; + WebsiteRedirectLocation?: string | undefined; + SSECustomerAlgorithm?: string | undefined; + SSECustomerKey?: string | undefined; + SSECustomerKeyMD5?: string | undefined; + SSEKMSKeyId?: string | undefined; + SSEKMSEncryptionContext?: string | undefined; + BucketKeyEnabled?: boolean | undefined; + RequestPayer?: RequestPayer | undefined; + Tagging?: string | undefined; + ObjectLockMode?: ObjectLockMode | undefined; + ObjectLockRetainUntilDate?: Date | undefined; + ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface PutObjectAclOutput { + RequestCharged?: RequestCharged | undefined; +} +export interface PutObjectAclRequest { + ACL?: ObjectCannedACL | undefined; + AccessControlPolicy?: AccessControlPolicy | undefined; + Bucket: string | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + GrantFullControl?: string | undefined; + GrantRead?: string | undefined; + GrantReadACP?: string | undefined; + GrantWrite?: string | undefined; + GrantWriteACP?: string | undefined; + Key: string | undefined; + RequestPayer?: RequestPayer | undefined; + VersionId?: string | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface PutObjectLegalHoldOutput { + RequestCharged?: RequestCharged | undefined; +} +export interface PutObjectLegalHoldRequest { + Bucket: string | undefined; + Key: string | undefined; + LegalHold?: ObjectLockLegalHold | undefined; + RequestPayer?: RequestPayer | undefined; + VersionId?: string | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface PutObjectLockConfigurationOutput { + RequestCharged?: RequestCharged | undefined; +} +export interface PutObjectLockConfigurationRequest { + Bucket: string | undefined; + ObjectLockConfiguration?: ObjectLockConfiguration | undefined; + RequestPayer?: RequestPayer | undefined; + Token?: string | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface PutObjectRetentionOutput { + RequestCharged?: RequestCharged | undefined; +} +export interface PutObjectRetentionRequest { + Bucket: string | undefined; + Key: string | undefined; + Retention?: ObjectLockRetention | undefined; + RequestPayer?: RequestPayer | undefined; + VersionId?: string | undefined; + BypassGovernanceRetention?: boolean | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface PutObjectTaggingOutput { + VersionId?: string | undefined; +} +export interface PutObjectTaggingRequest { + Bucket: string | undefined; + Key: string | undefined; + VersionId?: string | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + Tagging: Tagging | undefined; + ExpectedBucketOwner?: string | undefined; + RequestPayer?: RequestPayer | undefined; +} +export interface PutPublicAccessBlockRequest { + Bucket: string | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface RenameObjectOutput {} +export interface RenameObjectRequest { + Bucket: string | undefined; + Key: string | undefined; + RenameSource: string | undefined; + DestinationIfMatch?: string | undefined; + DestinationIfNoneMatch?: string | undefined; + DestinationIfModifiedSince?: Date | undefined; + DestinationIfUnmodifiedSince?: Date | undefined; + SourceIfMatch?: string | undefined; + SourceIfNoneMatch?: string | undefined; + SourceIfModifiedSince?: Date | undefined; + SourceIfUnmodifiedSince?: Date | undefined; + ClientToken?: string | undefined; +} +export interface RestoreObjectOutput { + RequestCharged?: RequestCharged | undefined; + RestoreOutputPath?: string | undefined; +} +export interface GlacierJobParameters { + Tier: Tier | undefined; +} +export interface Encryption { + EncryptionType: ServerSideEncryption | undefined; + KMSKeyId?: string | undefined; + KMSContext?: string | undefined; +} +export interface MetadataEntry { + Name?: string | undefined; + Value?: string | undefined; +} +export interface S3Location { + BucketName: string | undefined; + Prefix: string | undefined; + Encryption?: Encryption | undefined; + CannedACL?: ObjectCannedACL | undefined; + AccessControlList?: Grant[] | undefined; + Tagging?: Tagging | undefined; + UserMetadata?: MetadataEntry[] | undefined; + StorageClass?: StorageClass | undefined; +} +export interface OutputLocation { + S3?: S3Location | undefined; +} +export interface CSVInput { + FileHeaderInfo?: FileHeaderInfo | undefined; + Comments?: string | undefined; + QuoteEscapeCharacter?: string | undefined; + RecordDelimiter?: string | undefined; + FieldDelimiter?: string | undefined; + QuoteCharacter?: string | undefined; + AllowQuotedRecordDelimiter?: boolean | undefined; +} +export interface JSONInput { + Type?: JSONType | undefined; +} +export interface ParquetInput {} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts new file mode 100644 index 0000000..9786d4f --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts @@ -0,0 +1,352 @@ +import { StreamingBlobTypes } from "@smithy/types"; +import { + ChecksumAlgorithm, + CompressionType, + ExpressionType, + InventoryConfigurationState, + ObjectLockLegalHoldStatus, + ObjectLockMode, + QuoteFields, + ReplicationStatus, + RequestCharged, + RequestPayer, + RestoreRequestType, + ServerSideEncryption, + StorageClass, + Tier, +} from "./enums"; +import { + CSVInput, + GlacierJobParameters, + JSONInput, + MetadataTableEncryptionConfiguration, + OutputLocation, + ParquetInput, + RecordExpiration, +} from "./models_0"; +export interface InputSerialization { + CSV?: CSVInput | undefined; + CompressionType?: CompressionType | undefined; + JSON?: JSONInput | undefined; + Parquet?: ParquetInput | undefined; +} +export interface CSVOutput { + QuoteFields?: QuoteFields | undefined; + QuoteEscapeCharacter?: string | undefined; + RecordDelimiter?: string | undefined; + FieldDelimiter?: string | undefined; + QuoteCharacter?: string | undefined; +} +export interface JSONOutput { + RecordDelimiter?: string | undefined; +} +export interface OutputSerialization { + CSV?: CSVOutput | undefined; + JSON?: JSONOutput | undefined; +} +export interface SelectParameters { + InputSerialization: InputSerialization | undefined; + ExpressionType: ExpressionType | undefined; + Expression: string | undefined; + OutputSerialization: OutputSerialization | undefined; +} +export interface RestoreRequest { + Days?: number | undefined; + GlacierJobParameters?: GlacierJobParameters | undefined; + Type?: RestoreRequestType | undefined; + Tier?: Tier | undefined; + Description?: string | undefined; + SelectParameters?: SelectParameters | undefined; + OutputLocation?: OutputLocation | undefined; +} +export interface RestoreObjectRequest { + Bucket: string | undefined; + Key: string | undefined; + VersionId?: string | undefined; + RestoreRequest?: RestoreRequest | undefined; + RequestPayer?: RequestPayer | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface ContinuationEvent {} +export interface EndEvent {} +export interface Progress { + BytesScanned?: number | undefined; + BytesProcessed?: number | undefined; + BytesReturned?: number | undefined; +} +export interface ProgressEvent { + Details?: Progress | undefined; +} +export interface RecordsEvent { + Payload?: Uint8Array | undefined; +} +export interface Stats { + BytesScanned?: number | undefined; + BytesProcessed?: number | undefined; + BytesReturned?: number | undefined; +} +export interface StatsEvent { + Details?: Stats | undefined; +} +export type SelectObjectContentEventStream = + | SelectObjectContentEventStream.ContMember + | SelectObjectContentEventStream.EndMember + | SelectObjectContentEventStream.ProgressMember + | SelectObjectContentEventStream.RecordsMember + | SelectObjectContentEventStream.StatsMember + | SelectObjectContentEventStream.$UnknownMember; +export declare namespace SelectObjectContentEventStream { + interface RecordsMember { + Records: RecordsEvent; + Stats?: never; + Progress?: never; + Cont?: never; + End?: never; + $unknown?: never; + } + interface StatsMember { + Records?: never; + Stats: StatsEvent; + Progress?: never; + Cont?: never; + End?: never; + $unknown?: never; + } + interface ProgressMember { + Records?: never; + Stats?: never; + Progress: ProgressEvent; + Cont?: never; + End?: never; + $unknown?: never; + } + interface ContMember { + Records?: never; + Stats?: never; + Progress?: never; + Cont: ContinuationEvent; + End?: never; + $unknown?: never; + } + interface EndMember { + Records?: never; + Stats?: never; + Progress?: never; + Cont?: never; + End: EndEvent; + $unknown?: never; + } + interface $UnknownMember { + Records?: never; + Stats?: never; + Progress?: never; + Cont?: never; + End?: never; + $unknown: [string, any]; + } + interface Visitor { + Records: (value: RecordsEvent) => T; + Stats: (value: StatsEvent) => T; + Progress: (value: ProgressEvent) => T; + Cont: (value: ContinuationEvent) => T; + End: (value: EndEvent) => T; + _: (name: string, value: any) => T; + } +} +export interface SelectObjectContentOutput { + Payload?: AsyncIterable | undefined; +} +export interface RequestProgress { + Enabled?: boolean | undefined; +} +export interface ScanRange { + Start?: number | undefined; + End?: number | undefined; +} +export interface SelectObjectContentRequest { + Bucket: string | undefined; + Key: string | undefined; + SSECustomerAlgorithm?: string | undefined; + SSECustomerKey?: string | undefined; + SSECustomerKeyMD5?: string | undefined; + Expression: string | undefined; + ExpressionType: ExpressionType | undefined; + RequestProgress?: RequestProgress | undefined; + InputSerialization: InputSerialization | undefined; + OutputSerialization: OutputSerialization | undefined; + ScanRange?: ScanRange | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface InventoryTableConfigurationUpdates { + ConfigurationState: InventoryConfigurationState | undefined; + EncryptionConfiguration?: MetadataTableEncryptionConfiguration | undefined; +} +export interface UpdateBucketMetadataInventoryTableConfigurationRequest { + Bucket: string | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + InventoryTableConfiguration: InventoryTableConfigurationUpdates | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface JournalTableConfigurationUpdates { + RecordExpiration: RecordExpiration | undefined; +} +export interface UpdateBucketMetadataJournalTableConfigurationRequest { + Bucket: string | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + JournalTableConfiguration: JournalTableConfigurationUpdates | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface SSEKMSEncryption { + KMSKeyArn: string | undefined; + BucketKeyEnabled?: boolean | undefined; +} +export type ObjectEncryption = + | ObjectEncryption.SSEKMSMember + | ObjectEncryption.$UnknownMember; +export declare namespace ObjectEncryption { + interface SSEKMSMember { + SSEKMS: SSEKMSEncryption; + $unknown?: never; + } + interface $UnknownMember { + SSEKMS?: never; + $unknown: [string, any]; + } + interface Visitor { + SSEKMS: (value: SSEKMSEncryption) => T; + _: (name: string, value: any) => T; + } +} +export interface UpdateObjectEncryptionRequest { + Bucket: string | undefined; + Key: string | undefined; + VersionId?: string | undefined; + ObjectEncryption: ObjectEncryption | undefined; + RequestPayer?: RequestPayer | undefined; + ExpectedBucketOwner?: string | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; +} +export interface UpdateObjectEncryptionResponse { + RequestCharged?: RequestCharged | undefined; +} +export interface UploadPartOutput { + ServerSideEncryption?: ServerSideEncryption | undefined; + ETag?: string | undefined; + ChecksumCRC32?: string | undefined; + ChecksumCRC32C?: string | undefined; + ChecksumCRC64NVME?: string | undefined; + ChecksumSHA1?: string | undefined; + ChecksumSHA256?: string | undefined; + SSECustomerAlgorithm?: string | undefined; + SSECustomerKeyMD5?: string | undefined; + SSEKMSKeyId?: string | undefined; + BucketKeyEnabled?: boolean | undefined; + RequestCharged?: RequestCharged | undefined; +} +export interface UploadPartRequest { + Body?: StreamingBlobTypes | undefined; + Bucket: string | undefined; + ContentLength?: number | undefined; + ContentMD5?: string | undefined; + ChecksumAlgorithm?: ChecksumAlgorithm | undefined; + ChecksumCRC32?: string | undefined; + ChecksumCRC32C?: string | undefined; + ChecksumCRC64NVME?: string | undefined; + ChecksumSHA1?: string | undefined; + ChecksumSHA256?: string | undefined; + Key: string | undefined; + PartNumber: number | undefined; + UploadId: string | undefined; + SSECustomerAlgorithm?: string | undefined; + SSECustomerKey?: string | undefined; + SSECustomerKeyMD5?: string | undefined; + RequestPayer?: RequestPayer | undefined; + ExpectedBucketOwner?: string | undefined; +} +export interface CopyPartResult { + ETag?: string | undefined; + LastModified?: Date | undefined; + ChecksumCRC32?: string | undefined; + ChecksumCRC32C?: string | undefined; + ChecksumCRC64NVME?: string | undefined; + ChecksumSHA1?: string | undefined; + ChecksumSHA256?: string | undefined; +} +export interface UploadPartCopyOutput { + CopySourceVersionId?: string | undefined; + CopyPartResult?: CopyPartResult | undefined; + ServerSideEncryption?: ServerSideEncryption | undefined; + SSECustomerAlgorithm?: string | undefined; + SSECustomerKeyMD5?: string | undefined; + SSEKMSKeyId?: string | undefined; + BucketKeyEnabled?: boolean | undefined; + RequestCharged?: RequestCharged | undefined; +} +export interface UploadPartCopyRequest { + Bucket: string | undefined; + CopySource: string | undefined; + CopySourceIfMatch?: string | undefined; + CopySourceIfModifiedSince?: Date | undefined; + CopySourceIfNoneMatch?: string | undefined; + CopySourceIfUnmodifiedSince?: Date | undefined; + CopySourceRange?: string | undefined; + Key: string | undefined; + PartNumber: number | undefined; + UploadId: string | undefined; + SSECustomerAlgorithm?: string | undefined; + SSECustomerKey?: string | undefined; + SSECustomerKeyMD5?: string | undefined; + CopySourceSSECustomerAlgorithm?: string | undefined; + CopySourceSSECustomerKey?: string | undefined; + CopySourceSSECustomerKeyMD5?: string | undefined; + RequestPayer?: RequestPayer | undefined; + ExpectedBucketOwner?: string | undefined; + ExpectedSourceBucketOwner?: string | undefined; +} +export interface WriteGetObjectResponseRequest { + RequestRoute: string | undefined; + RequestToken: string | undefined; + Body?: StreamingBlobTypes | undefined; + StatusCode?: number | undefined; + ErrorCode?: string | undefined; + ErrorMessage?: string | undefined; + AcceptRanges?: string | undefined; + CacheControl?: string | undefined; + ContentDisposition?: string | undefined; + ContentEncoding?: string | undefined; + ContentLanguage?: string | undefined; + ContentLength?: number | undefined; + ContentRange?: string | undefined; + ContentType?: string | undefined; + ChecksumCRC32?: string | undefined; + ChecksumCRC32C?: string | undefined; + ChecksumCRC64NVME?: string | undefined; + ChecksumSHA1?: string | undefined; + ChecksumSHA256?: string | undefined; + DeleteMarker?: boolean | undefined; + ETag?: string | undefined; + Expires?: Date | undefined; + Expiration?: string | undefined; + LastModified?: Date | undefined; + MissingMeta?: number | undefined; + Metadata?: Record | undefined; + ObjectLockMode?: ObjectLockMode | undefined; + ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined; + ObjectLockRetainUntilDate?: Date | undefined; + PartsCount?: number | undefined; + ReplicationStatus?: ReplicationStatus | undefined; + RequestCharged?: RequestCharged | undefined; + Restore?: string | undefined; + ServerSideEncryption?: ServerSideEncryption | undefined; + SSECustomerAlgorithm?: string | undefined; + SSEKMSKeyId?: string | undefined; + SSECustomerKeyMD5?: string | undefined; + StorageClass?: StorageClass | undefined; + TagCount?: number | undefined; + VersionId?: string | undefined; + BucketKeyEnabled?: boolean | undefined; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/Interfaces.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/Interfaces.d.ts new file mode 100644 index 0000000..0c7a2b1 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/Interfaces.d.ts @@ -0,0 +1,5 @@ +import { PaginationConfiguration } from "@smithy/types"; +import { S3Client } from "../S3Client"; +export interface S3PaginationConfiguration extends PaginationConfiguration { + client: S3Client; +} diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListBucketsPaginator.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListBucketsPaginator.d.ts new file mode 100644 index 0000000..55b27e6 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListBucketsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + ListBucketsCommandInput, + ListBucketsCommandOutput, +} from "../commands/ListBucketsCommand"; +import { S3PaginationConfiguration } from "./Interfaces"; +export declare const paginateListBuckets: ( + config: S3PaginationConfiguration, + input: ListBucketsCommandInput, + ...rest: any[] +) => Paginator; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts new file mode 100644 index 0000000..30dc9d9 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + ListDirectoryBucketsCommandInput, + ListDirectoryBucketsCommandOutput, +} from "../commands/ListDirectoryBucketsCommand"; +import { S3PaginationConfiguration } from "./Interfaces"; +export declare const paginateListDirectoryBuckets: ( + config: S3PaginationConfiguration, + input: ListDirectoryBucketsCommandInput, + ...rest: any[] +) => Paginator; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts new file mode 100644 index 0000000..84168dd --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + ListObjectsV2CommandInput, + ListObjectsV2CommandOutput, +} from "../commands/ListObjectsV2Command"; +import { S3PaginationConfiguration } from "./Interfaces"; +export declare const paginateListObjectsV2: ( + config: S3PaginationConfiguration, + input: ListObjectsV2CommandInput, + ...rest: any[] +) => Paginator; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts new file mode 100644 index 0000000..b3585db --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + ListPartsCommandInput, + ListPartsCommandOutput, +} from "../commands/ListPartsCommand"; +import { S3PaginationConfiguration } from "./Interfaces"; +export declare const paginateListParts: ( + config: S3PaginationConfiguration, + input: ListPartsCommandInput, + ...rest: any[] +) => Paginator; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts new file mode 100644 index 0000000..9438ebe --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts @@ -0,0 +1,5 @@ +export * from "./Interfaces"; +export * from "./ListBucketsPaginator"; +export * from "./ListDirectoryBucketsPaginator"; +export * from "./ListObjectsV2Paginator"; +export * from "./ListPartsPaginator"; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts new file mode 100644 index 0000000..cf14b99 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts @@ -0,0 +1,170 @@ +import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; +import { S3ClientConfig } from "./S3Client"; +export declare const getRuntimeConfig: (config: S3ClientConfig) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider< + import("@smithy/smithy-client").ResolvedDefaultsMode + >; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + credentialDefaultProvider: + | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) + | (( + _: unknown + ) => () => Promise); + defaultUserAgentProvider: ( + config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved + ) => Promise; + eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider; + maxAttempts: number | import("@smithy/types").Provider; + md5: import("@smithy/types").HashConstructor; + region: string | import("@smithy/types").Provider; + requestHandler: + | import("@smithy/protocol-http").HttpHandler + | RequestHandler; + retryMode: string | import("@smithy/types").Provider; + sha1: import("@smithy/types").HashConstructor; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + streamHasher: + | import("@smithy/types").StreamHasher + | import("@smithy/types").StreamHasher; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + cacheMiddleware?: boolean | undefined; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof import("@aws-sdk/middleware-sdk-s3").S3RestXmlProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + getAwsChunkedEncodingStream: + | import("@smithy/types").GetAwsChunkedEncodingStream + | typeof import("@smithy/util-stream").getAwsChunkedEncodingStream; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + signingEscapePath: boolean; + useArnRegion: + | boolean + | undefined + | import("@smithy/types").Provider; + sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: + | string + | undefined + | import("@smithy/types").Provider; + requestChecksumCalculation?: + | import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation + | import("@smithy/types").Provider< + import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation + >; + responseChecksumValidation?: + | import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation + | import("@smithy/types").Provider< + import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation + >; + requestStreamBufferSize?: number | false; + checksumAlgorithms?: { + CRC32?: import("@smithy/types").ChecksumConstructor; + CRC32C?: import("@smithy/types").ChecksumConstructor; + CRC64NVME?: import("@smithy/types").ChecksumConstructor; + SHA1?: import("@smithy/types").ChecksumConstructor; + SHA256?: import("@smithy/types").ChecksumConstructor; + } & { + [algorithmId: string]: import("@smithy/types").ChecksumConstructor; + }; + retryStrategy?: + | import("@smithy/types").RetryStrategy + | import("@smithy/types").RetryStrategyV2; + endpoint?: + | (( + | string + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + ) & + ( + | string + | import("@smithy/types").Provider + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + )) + | undefined; + endpointProvider: ( + endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider; + credentials?: + | import("@smithy/types").AwsCredentialIdentity + | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: + | import("@smithy/types").RequestSigner + | (( + authScheme?: import("@smithy/types").AuthScheme + ) => Promise); + systemClockOffset?: number; + signingRegion?: string; + signerConstructor: + | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion + | (new ( + options: import("@smithy/signature-v4").SignatureV4Init & + import("@smithy/signature-v4").SignatureV4CryptoInit + ) => import("@smithy/types").RequestSigner); + sigv4aSigningRegionSet?: + | string[] + | undefined + | import("@smithy/types").Provider; + forcePathStyle?: + | (boolean & + (boolean | import("@smithy/types").Provider)) + | undefined; + useAccelerateEndpoint?: + | (boolean & + (boolean | import("@smithy/types").Provider)) + | undefined; + disableMultiregionAccessPoints?: + | (boolean & + (boolean | import("@smithy/types").Provider)) + | undefined; + followRegionRedirects?: boolean; + s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider; + bucketEndpoint?: boolean; + expectContinueHeader?: boolean | number; + clientContextParams?: { + disableS3ExpressSessionAuth?: + | boolean + | undefined + | import("@smithy/types").Provider; + }; + useGlobalEndpoint?: + | boolean + | undefined + | import("@smithy/types").Provider; + disableS3ExpressSessionAuth?: + | boolean + | undefined + | import("@smithy/types").Provider; +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts new file mode 100644 index 0000000..17b5b24 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts @@ -0,0 +1,170 @@ +import { + ChecksumConstructor as __ChecksumConstructor, + HashConstructor as __HashConstructor, +} from "@aws-sdk/types"; +import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; +import { S3ClientConfig } from "./S3Client"; +export declare const getRuntimeConfig: (config: S3ClientConfig) => { + runtime: string; + defaultsMode: import("@aws-sdk/types").Provider< + import("@smithy/smithy-client").ResolvedDefaultsMode + >; + authSchemePreference: string[] | import("@aws-sdk/types").Provider; + bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator; + credentialDefaultProvider: + | ((input: any) => import("@aws-sdk/types").AwsCredentialIdentityProvider) + | (( + init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit + ) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider); + defaultUserAgentProvider: ( + config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved + ) => Promise; + disableS3ExpressSessionAuth: + | boolean + | import("@aws-sdk/types").Provider; + eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider; + maxAttempts: number | import("@aws-sdk/types").Provider; + md5: __HashConstructor; + region: string | import("@aws-sdk/types").Provider; + requestChecksumCalculation: + | import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation + | import("@aws-sdk/types").Provider< + import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation + >; + requestHandler: + | RequestHandler + | import("@smithy/protocol-http").HttpHandler; + responseChecksumValidation: + | import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation + | import("@aws-sdk/types").Provider< + import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation + >; + retryMode: string | import("@aws-sdk/types").Provider; + sha1: __HashConstructor; + sha256: __HashConstructor; + sigv4aSigningRegionSet: + | string[] + | import("@aws-sdk/types").Provider; + streamCollector: import("@aws-sdk/types").StreamCollector; + streamHasher: + | import("@aws-sdk/types").StreamHasher + | import("@aws-sdk/types").StreamHasher; + useArnRegion: + | boolean + | import("@aws-sdk/types").Provider; + useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider; + useFipsEndpoint: boolean | import("@aws-sdk/types").Provider; + userAgentAppId: + | string + | import("@aws-sdk/types").Provider; + cacheMiddleware?: boolean | undefined; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof import("@aws-sdk/middleware-sdk-s3").S3RestXmlProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@aws-sdk/types").UrlParser; + base64Decoder: import("@aws-sdk/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@aws-sdk/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + getAwsChunkedEncodingStream: + | import("@aws-sdk/types").GetAwsChunkedEncodingStream + | typeof import("@smithy/util-stream").getAwsChunkedEncodingStream; + logger: import("@aws-sdk/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + signingEscapePath: boolean; + sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector; + customUserAgent?: string | import("@aws-sdk/types").UserAgent; + requestStreamBufferSize?: number | false; + checksumAlgorithms?: { + CRC32?: __ChecksumConstructor; + CRC32C?: __ChecksumConstructor; + CRC64NVME?: __ChecksumConstructor; + SHA1?: __ChecksumConstructor; + SHA256?: __ChecksumConstructor; + } & { + [algorithmId: string]: __ChecksumConstructor; + }; + retryStrategy?: + | import("@aws-sdk/types").RetryStrategy + | import("@aws-sdk/types").RetryStrategyV2; + endpoint?: + | (( + | string + | import("@aws-sdk/types").Endpoint + | import("@aws-sdk/types").Provider + | import("@aws-sdk/types").EndpointV2 + | import("@aws-sdk/types").Provider + ) & + ( + | string + | import("@aws-sdk/types").Provider + | import("@aws-sdk/types").Endpoint + | import("@aws-sdk/types").Provider + | import("@aws-sdk/types").EndpointV2 + | import("@aws-sdk/types").Provider< + import("@aws-sdk/types").EndpointV2 + > + )) + | undefined; + endpointProvider: ( + endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@aws-sdk/types").Logger; + } + ) => import("@aws-sdk/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider; + credentials?: + | import("@aws-sdk/types").AwsCredentialIdentity + | import("@aws-sdk/types").AwsCredentialIdentityProvider; + signer?: + | import("@aws-sdk/types").RequestSigner + | (( + authScheme?: import("@aws-sdk/types").AuthScheme + ) => Promise); + systemClockOffset?: number; + signingRegion?: string; + signerConstructor: + | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion + | (new ( + options: import("@smithy/signature-v4").SignatureV4Init & + import("@smithy/signature-v4").SignatureV4CryptoInit + ) => import("@aws-sdk/types").RequestSigner); + forcePathStyle?: + | (boolean & + (boolean | import("@aws-sdk/types").Provider)) + | undefined; + useAccelerateEndpoint?: + | (boolean & + (boolean | import("@aws-sdk/types").Provider)) + | undefined; + disableMultiregionAccessPoints?: + | (boolean & + (boolean | import("@aws-sdk/types").Provider)) + | undefined; + followRegionRedirects?: boolean; + s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider; + bucketEndpoint?: boolean; + expectContinueHeader?: boolean | number; + clientContextParams?: { + disableS3ExpressSessionAuth?: + | boolean + | undefined + | import("@aws-sdk/types").Provider; + }; + useGlobalEndpoint?: + | boolean + | undefined + | import("@aws-sdk/types").Provider; +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts new file mode 100644 index 0000000..220b6f8 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts @@ -0,0 +1,174 @@ +import { S3ClientConfig } from "./S3Client"; +export declare const getRuntimeConfig: (config: S3ClientConfig) => { + runtime: string; + sha256: import("@smithy/types").HashConstructor; + requestHandler: + | import("@smithy/types").NodeHttpHandlerOptions + | import("@smithy/types").FetchHttpHandlerOptions + | Record + | import("@smithy/protocol-http").HttpHandler + | import("@smithy/fetch-http-handler").FetchHttpHandler; + cacheMiddleware?: boolean; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof import("@aws-sdk/middleware-sdk-s3").S3RestXmlProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + streamCollector: import("@smithy/types").StreamCollector; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + region: string | import("@smithy/types").Provider; + profile?: string; + defaultUserAgentProvider: ( + config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved + ) => Promise; + streamHasher: + | import("@smithy/types").StreamHasher + | import("@smithy/types").StreamHasher; + md5: import("@smithy/types").HashConstructor; + sha1: import("@smithy/types").HashConstructor; + getAwsChunkedEncodingStream: + | import("@smithy/types").GetAwsChunkedEncodingStream + | typeof import("@smithy/util-stream").getAwsChunkedEncodingStream; + credentialDefaultProvider: + | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) + | (( + _: unknown + ) => () => Promise); + maxAttempts: number | import("@smithy/types").Provider; + retryMode: string | import("@smithy/types").Provider; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider; + defaultsMode: + | import("@smithy/smithy-client").DefaultsMode + | import("@smithy/types").Provider< + import("@smithy/smithy-client").DefaultsMode + >; + signingEscapePath: boolean; + useArnRegion: + | boolean + | undefined + | import("@smithy/types").Provider; + sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: + | string + | undefined + | import("@smithy/types").Provider; + requestChecksumCalculation?: + | import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation + | import("@smithy/types").Provider< + import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation + >; + responseChecksumValidation?: + | import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation + | import("@smithy/types").Provider< + import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation + >; + requestStreamBufferSize?: number | false; + checksumAlgorithms?: { + CRC32?: import("@smithy/types").ChecksumConstructor; + CRC32C?: import("@smithy/types").ChecksumConstructor; + CRC64NVME?: import("@smithy/types").ChecksumConstructor; + SHA1?: import("@smithy/types").ChecksumConstructor; + SHA256?: import("@smithy/types").ChecksumConstructor; + } & { + [algorithmId: string]: import("@smithy/types").ChecksumConstructor; + }; + retryStrategy?: + | import("@smithy/types").RetryStrategy + | import("@smithy/types").RetryStrategyV2; + endpoint?: + | (( + | string + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + ) & + ( + | string + | import("@smithy/types").Provider + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + )) + | undefined; + endpointProvider: ( + endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider; + credentials?: + | import("@smithy/types").AwsCredentialIdentity + | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: + | import("@smithy/types").RequestSigner + | (( + authScheme?: import("@smithy/types").AuthScheme + ) => Promise); + systemClockOffset?: number; + signingRegion?: string; + signerConstructor: + | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion + | (new ( + options: import("@smithy/signature-v4").SignatureV4Init & + import("@smithy/signature-v4").SignatureV4CryptoInit + ) => import("@smithy/types").RequestSigner); + sigv4aSigningRegionSet?: + | string[] + | undefined + | import("@smithy/types").Provider; + forcePathStyle?: + | (boolean & + (boolean | import("@smithy/types").Provider)) + | undefined; + useAccelerateEndpoint?: + | (boolean & + (boolean | import("@smithy/types").Provider)) + | undefined; + disableMultiregionAccessPoints?: + | (boolean & + (boolean | import("@smithy/types").Provider)) + | undefined; + followRegionRedirects?: boolean; + s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider; + bucketEndpoint?: boolean; + expectContinueHeader?: boolean | number; + clientContextParams?: { + disableS3ExpressSessionAuth?: + | boolean + | undefined + | import("@smithy/types").Provider; + }; + useGlobalEndpoint?: + | boolean + | undefined + | import("@smithy/types").Provider; + disableS3ExpressSessionAuth?: + | boolean + | undefined + | import("@smithy/types").Provider; +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts new file mode 100644 index 0000000..a6cd0ff --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts @@ -0,0 +1,47 @@ +import { S3RestXmlProtocol } from "@aws-sdk/middleware-sdk-s3"; +import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region"; +import { getAwsChunkedEncodingStream } from "@smithy/util-stream"; +import { S3ClientConfig } from "./S3Client"; +export declare const getRuntimeConfig: (config: S3ClientConfig) => { + apiVersion: string; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + disableHostPrefix: boolean; + endpointProvider: ( + endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + getAwsChunkedEncodingStream: + | import("@smithy/types").GetAwsChunkedEncodingStream + | typeof getAwsChunkedEncodingStream; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; + logger: import("@smithy/types").Logger; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof S3RestXmlProtocol; + protocolSettings: { + [setting: string]: unknown; + defaultNamespace?: string; + }; + sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector; + serviceId: string; + signerConstructor: + | typeof SignatureV4MultiRegion + | (new ( + options: import("@smithy/signature-v4").SignatureV4Init & + import("@smithy/signature-v4").SignatureV4CryptoInit + ) => import("@smithy/types").RequestSigner); + signingEscapePath: boolean; + urlParser: import("@smithy/types").UrlParser; + useArnRegion: + | boolean + | import("@smithy/types").Provider + | undefined; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; +}; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts new file mode 100644 index 0000000..90793a4 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts @@ -0,0 +1,11 @@ +import { S3ExtensionConfiguration } from "./extensionConfiguration"; +export interface RuntimeExtension { + configure(extensionConfiguration: S3ExtensionConfiguration): void; +} +export interface RuntimeExtensionsConfig { + extensions: RuntimeExtension[]; +} +export declare const resolveRuntimeExtensions: ( + runtimeConfig: any, + extensions: RuntimeExtension[] +) => any; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/schemas/schemas_0.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/schemas/schemas_0.d.ts new file mode 100644 index 0000000..4618930 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/schemas/schemas_0.d.ts @@ -0,0 +1,464 @@ +import { TypeRegistry } from "@smithy/core/schema"; +import { + StaticErrorSchema, + StaticOperationSchema, + StaticStructureSchema, + StaticUnionSchema, +} from "@smithy/types"; +export declare var S3ServiceException$: StaticErrorSchema; +export declare var AccessDenied$: StaticErrorSchema; +export declare var BucketAlreadyExists$: StaticErrorSchema; +export declare var BucketAlreadyOwnedByYou$: StaticErrorSchema; +export declare var EncryptionTypeMismatch$: StaticErrorSchema; +export declare var IdempotencyParameterMismatch$: StaticErrorSchema; +export declare var InvalidObjectState$: StaticErrorSchema; +export declare var InvalidRequest$: StaticErrorSchema; +export declare var InvalidWriteOffset$: StaticErrorSchema; +export declare var NoSuchBucket$: StaticErrorSchema; +export declare var NoSuchKey$: StaticErrorSchema; +export declare var NoSuchUpload$: StaticErrorSchema; +export declare var NotFound$: StaticErrorSchema; +export declare var ObjectAlreadyInActiveTierError$: StaticErrorSchema; +export declare var ObjectNotInActiveTierError$: StaticErrorSchema; +export declare var TooManyParts$: StaticErrorSchema; +export declare const errorTypeRegistries: TypeRegistry[]; +export declare var AbacStatus$: StaticStructureSchema; +export declare var AbortIncompleteMultipartUpload$: StaticStructureSchema; +export declare var AbortMultipartUploadOutput$: StaticStructureSchema; +export declare var AbortMultipartUploadRequest$: StaticStructureSchema; +export declare var AccelerateConfiguration$: StaticStructureSchema; +export declare var AccessControlPolicy$: StaticStructureSchema; +export declare var AccessControlTranslation$: StaticStructureSchema; +export declare var AnalyticsAndOperator$: StaticStructureSchema; +export declare var AnalyticsConfiguration$: StaticStructureSchema; +export declare var AnalyticsExportDestination$: StaticStructureSchema; +export declare var AnalyticsS3BucketDestination$: StaticStructureSchema; +export declare var BlockedEncryptionTypes$: StaticStructureSchema; +export declare var Bucket$: StaticStructureSchema; +export declare var BucketInfo$: StaticStructureSchema; +export declare var BucketLifecycleConfiguration$: StaticStructureSchema; +export declare var BucketLoggingStatus$: StaticStructureSchema; +export declare var Checksum$: StaticStructureSchema; +export declare var CommonPrefix$: StaticStructureSchema; +export declare var CompletedMultipartUpload$: StaticStructureSchema; +export declare var CompletedPart$: StaticStructureSchema; +export declare var CompleteMultipartUploadOutput$: StaticStructureSchema; +export declare var CompleteMultipartUploadRequest$: StaticStructureSchema; +export declare var Condition$: StaticStructureSchema; +export declare var ContinuationEvent$: StaticStructureSchema; +export declare var CopyObjectOutput$: StaticStructureSchema; +export declare var CopyObjectRequest$: StaticStructureSchema; +export declare var CopyObjectResult$: StaticStructureSchema; +export declare var CopyPartResult$: StaticStructureSchema; +export declare var CORSConfiguration$: StaticStructureSchema; +export declare var CORSRule$: StaticStructureSchema; +export declare var CreateBucketConfiguration$: StaticStructureSchema; +export declare var CreateBucketMetadataConfigurationRequest$: StaticStructureSchema; +export declare var CreateBucketMetadataTableConfigurationRequest$: StaticStructureSchema; +export declare var CreateBucketOutput$: StaticStructureSchema; +export declare var CreateBucketRequest$: StaticStructureSchema; +export declare var CreateMultipartUploadOutput$: StaticStructureSchema; +export declare var CreateMultipartUploadRequest$: StaticStructureSchema; +export declare var CreateSessionOutput$: StaticStructureSchema; +export declare var CreateSessionRequest$: StaticStructureSchema; +export declare var CSVInput$: StaticStructureSchema; +export declare var CSVOutput$: StaticStructureSchema; +export declare var DefaultRetention$: StaticStructureSchema; +export declare var Delete$: StaticStructureSchema; +export declare var DeleteBucketAnalyticsConfigurationRequest$: StaticStructureSchema; +export declare var DeleteBucketCorsRequest$: StaticStructureSchema; +export declare var DeleteBucketEncryptionRequest$: StaticStructureSchema; +export declare var DeleteBucketIntelligentTieringConfigurationRequest$: StaticStructureSchema; +export declare var DeleteBucketInventoryConfigurationRequest$: StaticStructureSchema; +export declare var DeleteBucketLifecycleRequest$: StaticStructureSchema; +export declare var DeleteBucketMetadataConfigurationRequest$: StaticStructureSchema; +export declare var DeleteBucketMetadataTableConfigurationRequest$: StaticStructureSchema; +export declare var DeleteBucketMetricsConfigurationRequest$: StaticStructureSchema; +export declare var DeleteBucketOwnershipControlsRequest$: StaticStructureSchema; +export declare var DeleteBucketPolicyRequest$: StaticStructureSchema; +export declare var DeleteBucketReplicationRequest$: StaticStructureSchema; +export declare var DeleteBucketRequest$: StaticStructureSchema; +export declare var DeleteBucketTaggingRequest$: StaticStructureSchema; +export declare var DeleteBucketWebsiteRequest$: StaticStructureSchema; +export declare var DeletedObject$: StaticStructureSchema; +export declare var DeleteMarkerEntry$: StaticStructureSchema; +export declare var DeleteMarkerReplication$: StaticStructureSchema; +export declare var DeleteObjectOutput$: StaticStructureSchema; +export declare var DeleteObjectRequest$: StaticStructureSchema; +export declare var DeleteObjectsOutput$: StaticStructureSchema; +export declare var DeleteObjectsRequest$: StaticStructureSchema; +export declare var DeleteObjectTaggingOutput$: StaticStructureSchema; +export declare var DeleteObjectTaggingRequest$: StaticStructureSchema; +export declare var DeletePublicAccessBlockRequest$: StaticStructureSchema; +export declare var Destination$: StaticStructureSchema; +export declare var DestinationResult$: StaticStructureSchema; +export declare var Encryption$: StaticStructureSchema; +export declare var EncryptionConfiguration$: StaticStructureSchema; +export declare var EndEvent$: StaticStructureSchema; +export declare var _Error$: StaticStructureSchema; +export declare var ErrorDetails$: StaticStructureSchema; +export declare var ErrorDocument$: StaticStructureSchema; +export declare var EventBridgeConfiguration$: StaticStructureSchema; +export declare var ExistingObjectReplication$: StaticStructureSchema; +export declare var FilterRule$: StaticStructureSchema; +export declare var GetBucketAbacOutput$: StaticStructureSchema; +export declare var GetBucketAbacRequest$: StaticStructureSchema; +export declare var GetBucketAccelerateConfigurationOutput$: StaticStructureSchema; +export declare var GetBucketAccelerateConfigurationRequest$: StaticStructureSchema; +export declare var GetBucketAclOutput$: StaticStructureSchema; +export declare var GetBucketAclRequest$: StaticStructureSchema; +export declare var GetBucketAnalyticsConfigurationOutput$: StaticStructureSchema; +export declare var GetBucketAnalyticsConfigurationRequest$: StaticStructureSchema; +export declare var GetBucketCorsOutput$: StaticStructureSchema; +export declare var GetBucketCorsRequest$: StaticStructureSchema; +export declare var GetBucketEncryptionOutput$: StaticStructureSchema; +export declare var GetBucketEncryptionRequest$: StaticStructureSchema; +export declare var GetBucketIntelligentTieringConfigurationOutput$: StaticStructureSchema; +export declare var GetBucketIntelligentTieringConfigurationRequest$: StaticStructureSchema; +export declare var GetBucketInventoryConfigurationOutput$: StaticStructureSchema; +export declare var GetBucketInventoryConfigurationRequest$: StaticStructureSchema; +export declare var GetBucketLifecycleConfigurationOutput$: StaticStructureSchema; +export declare var GetBucketLifecycleConfigurationRequest$: StaticStructureSchema; +export declare var GetBucketLocationOutput$: StaticStructureSchema; +export declare var GetBucketLocationRequest$: StaticStructureSchema; +export declare var GetBucketLoggingOutput$: StaticStructureSchema; +export declare var GetBucketLoggingRequest$: StaticStructureSchema; +export declare var GetBucketMetadataConfigurationOutput$: StaticStructureSchema; +export declare var GetBucketMetadataConfigurationRequest$: StaticStructureSchema; +export declare var GetBucketMetadataConfigurationResult$: StaticStructureSchema; +export declare var GetBucketMetadataTableConfigurationOutput$: StaticStructureSchema; +export declare var GetBucketMetadataTableConfigurationRequest$: StaticStructureSchema; +export declare var GetBucketMetadataTableConfigurationResult$: StaticStructureSchema; +export declare var GetBucketMetricsConfigurationOutput$: StaticStructureSchema; +export declare var GetBucketMetricsConfigurationRequest$: StaticStructureSchema; +export declare var GetBucketNotificationConfigurationRequest$: StaticStructureSchema; +export declare var GetBucketOwnershipControlsOutput$: StaticStructureSchema; +export declare var GetBucketOwnershipControlsRequest$: StaticStructureSchema; +export declare var GetBucketPolicyOutput$: StaticStructureSchema; +export declare var GetBucketPolicyRequest$: StaticStructureSchema; +export declare var GetBucketPolicyStatusOutput$: StaticStructureSchema; +export declare var GetBucketPolicyStatusRequest$: StaticStructureSchema; +export declare var GetBucketReplicationOutput$: StaticStructureSchema; +export declare var GetBucketReplicationRequest$: StaticStructureSchema; +export declare var GetBucketRequestPaymentOutput$: StaticStructureSchema; +export declare var GetBucketRequestPaymentRequest$: StaticStructureSchema; +export declare var GetBucketTaggingOutput$: StaticStructureSchema; +export declare var GetBucketTaggingRequest$: StaticStructureSchema; +export declare var GetBucketVersioningOutput$: StaticStructureSchema; +export declare var GetBucketVersioningRequest$: StaticStructureSchema; +export declare var GetBucketWebsiteOutput$: StaticStructureSchema; +export declare var GetBucketWebsiteRequest$: StaticStructureSchema; +export declare var GetObjectAclOutput$: StaticStructureSchema; +export declare var GetObjectAclRequest$: StaticStructureSchema; +export declare var GetObjectAttributesOutput$: StaticStructureSchema; +export declare var GetObjectAttributesParts$: StaticStructureSchema; +export declare var GetObjectAttributesRequest$: StaticStructureSchema; +export declare var GetObjectLegalHoldOutput$: StaticStructureSchema; +export declare var GetObjectLegalHoldRequest$: StaticStructureSchema; +export declare var GetObjectLockConfigurationOutput$: StaticStructureSchema; +export declare var GetObjectLockConfigurationRequest$: StaticStructureSchema; +export declare var GetObjectOutput$: StaticStructureSchema; +export declare var GetObjectRequest$: StaticStructureSchema; +export declare var GetObjectRetentionOutput$: StaticStructureSchema; +export declare var GetObjectRetentionRequest$: StaticStructureSchema; +export declare var GetObjectTaggingOutput$: StaticStructureSchema; +export declare var GetObjectTaggingRequest$: StaticStructureSchema; +export declare var GetObjectTorrentOutput$: StaticStructureSchema; +export declare var GetObjectTorrentRequest$: StaticStructureSchema; +export declare var GetPublicAccessBlockOutput$: StaticStructureSchema; +export declare var GetPublicAccessBlockRequest$: StaticStructureSchema; +export declare var GlacierJobParameters$: StaticStructureSchema; +export declare var Grant$: StaticStructureSchema; +export declare var Grantee$: StaticStructureSchema; +export declare var HeadBucketOutput$: StaticStructureSchema; +export declare var HeadBucketRequest$: StaticStructureSchema; +export declare var HeadObjectOutput$: StaticStructureSchema; +export declare var HeadObjectRequest$: StaticStructureSchema; +export declare var IndexDocument$: StaticStructureSchema; +export declare var Initiator$: StaticStructureSchema; +export declare var InputSerialization$: StaticStructureSchema; +export declare var IntelligentTieringAndOperator$: StaticStructureSchema; +export declare var IntelligentTieringConfiguration$: StaticStructureSchema; +export declare var IntelligentTieringFilter$: StaticStructureSchema; +export declare var InventoryConfiguration$: StaticStructureSchema; +export declare var InventoryDestination$: StaticStructureSchema; +export declare var InventoryEncryption$: StaticStructureSchema; +export declare var InventoryFilter$: StaticStructureSchema; +export declare var InventoryS3BucketDestination$: StaticStructureSchema; +export declare var InventorySchedule$: StaticStructureSchema; +export declare var InventoryTableConfiguration$: StaticStructureSchema; +export declare var InventoryTableConfigurationResult$: StaticStructureSchema; +export declare var InventoryTableConfigurationUpdates$: StaticStructureSchema; +export declare var JournalTableConfiguration$: StaticStructureSchema; +export declare var JournalTableConfigurationResult$: StaticStructureSchema; +export declare var JournalTableConfigurationUpdates$: StaticStructureSchema; +export declare var JSONInput$: StaticStructureSchema; +export declare var JSONOutput$: StaticStructureSchema; +export declare var LambdaFunctionConfiguration$: StaticStructureSchema; +export declare var LifecycleExpiration$: StaticStructureSchema; +export declare var LifecycleRule$: StaticStructureSchema; +export declare var LifecycleRuleAndOperator$: StaticStructureSchema; +export declare var LifecycleRuleFilter$: StaticStructureSchema; +export declare var ListBucketAnalyticsConfigurationsOutput$: StaticStructureSchema; +export declare var ListBucketAnalyticsConfigurationsRequest$: StaticStructureSchema; +export declare var ListBucketIntelligentTieringConfigurationsOutput$: StaticStructureSchema; +export declare var ListBucketIntelligentTieringConfigurationsRequest$: StaticStructureSchema; +export declare var ListBucketInventoryConfigurationsOutput$: StaticStructureSchema; +export declare var ListBucketInventoryConfigurationsRequest$: StaticStructureSchema; +export declare var ListBucketMetricsConfigurationsOutput$: StaticStructureSchema; +export declare var ListBucketMetricsConfigurationsRequest$: StaticStructureSchema; +export declare var ListBucketsOutput$: StaticStructureSchema; +export declare var ListBucketsRequest$: StaticStructureSchema; +export declare var ListDirectoryBucketsOutput$: StaticStructureSchema; +export declare var ListDirectoryBucketsRequest$: StaticStructureSchema; +export declare var ListMultipartUploadsOutput$: StaticStructureSchema; +export declare var ListMultipartUploadsRequest$: StaticStructureSchema; +export declare var ListObjectsOutput$: StaticStructureSchema; +export declare var ListObjectsRequest$: StaticStructureSchema; +export declare var ListObjectsV2Output$: StaticStructureSchema; +export declare var ListObjectsV2Request$: StaticStructureSchema; +export declare var ListObjectVersionsOutput$: StaticStructureSchema; +export declare var ListObjectVersionsRequest$: StaticStructureSchema; +export declare var ListPartsOutput$: StaticStructureSchema; +export declare var ListPartsRequest$: StaticStructureSchema; +export declare var LocationInfo$: StaticStructureSchema; +export declare var LoggingEnabled$: StaticStructureSchema; +export declare var MetadataConfiguration$: StaticStructureSchema; +export declare var MetadataConfigurationResult$: StaticStructureSchema; +export declare var MetadataEntry$: StaticStructureSchema; +export declare var MetadataTableConfiguration$: StaticStructureSchema; +export declare var MetadataTableConfigurationResult$: StaticStructureSchema; +export declare var MetadataTableEncryptionConfiguration$: StaticStructureSchema; +export declare var Metrics$: StaticStructureSchema; +export declare var MetricsAndOperator$: StaticStructureSchema; +export declare var MetricsConfiguration$: StaticStructureSchema; +export declare var MultipartUpload$: StaticStructureSchema; +export declare var NoncurrentVersionExpiration$: StaticStructureSchema; +export declare var NoncurrentVersionTransition$: StaticStructureSchema; +export declare var NotificationConfiguration$: StaticStructureSchema; +export declare var NotificationConfigurationFilter$: StaticStructureSchema; +export declare var _Object$: StaticStructureSchema; +export declare var ObjectIdentifier$: StaticStructureSchema; +export declare var ObjectLockConfiguration$: StaticStructureSchema; +export declare var ObjectLockLegalHold$: StaticStructureSchema; +export declare var ObjectLockRetention$: StaticStructureSchema; +export declare var ObjectLockRule$: StaticStructureSchema; +export declare var ObjectPart$: StaticStructureSchema; +export declare var ObjectVersion$: StaticStructureSchema; +export declare var OutputLocation$: StaticStructureSchema; +export declare var OutputSerialization$: StaticStructureSchema; +export declare var Owner$: StaticStructureSchema; +export declare var OwnershipControls$: StaticStructureSchema; +export declare var OwnershipControlsRule$: StaticStructureSchema; +export declare var ParquetInput$: StaticStructureSchema; +export declare var Part$: StaticStructureSchema; +export declare var PartitionedPrefix$: StaticStructureSchema; +export declare var PolicyStatus$: StaticStructureSchema; +export declare var Progress$: StaticStructureSchema; +export declare var ProgressEvent$: StaticStructureSchema; +export declare var PublicAccessBlockConfiguration$: StaticStructureSchema; +export declare var PutBucketAbacRequest$: StaticStructureSchema; +export declare var PutBucketAccelerateConfigurationRequest$: StaticStructureSchema; +export declare var PutBucketAclRequest$: StaticStructureSchema; +export declare var PutBucketAnalyticsConfigurationRequest$: StaticStructureSchema; +export declare var PutBucketCorsRequest$: StaticStructureSchema; +export declare var PutBucketEncryptionRequest$: StaticStructureSchema; +export declare var PutBucketIntelligentTieringConfigurationRequest$: StaticStructureSchema; +export declare var PutBucketInventoryConfigurationRequest$: StaticStructureSchema; +export declare var PutBucketLifecycleConfigurationOutput$: StaticStructureSchema; +export declare var PutBucketLifecycleConfigurationRequest$: StaticStructureSchema; +export declare var PutBucketLoggingRequest$: StaticStructureSchema; +export declare var PutBucketMetricsConfigurationRequest$: StaticStructureSchema; +export declare var PutBucketNotificationConfigurationRequest$: StaticStructureSchema; +export declare var PutBucketOwnershipControlsRequest$: StaticStructureSchema; +export declare var PutBucketPolicyRequest$: StaticStructureSchema; +export declare var PutBucketReplicationRequest$: StaticStructureSchema; +export declare var PutBucketRequestPaymentRequest$: StaticStructureSchema; +export declare var PutBucketTaggingRequest$: StaticStructureSchema; +export declare var PutBucketVersioningRequest$: StaticStructureSchema; +export declare var PutBucketWebsiteRequest$: StaticStructureSchema; +export declare var PutObjectAclOutput$: StaticStructureSchema; +export declare var PutObjectAclRequest$: StaticStructureSchema; +export declare var PutObjectLegalHoldOutput$: StaticStructureSchema; +export declare var PutObjectLegalHoldRequest$: StaticStructureSchema; +export declare var PutObjectLockConfigurationOutput$: StaticStructureSchema; +export declare var PutObjectLockConfigurationRequest$: StaticStructureSchema; +export declare var PutObjectOutput$: StaticStructureSchema; +export declare var PutObjectRequest$: StaticStructureSchema; +export declare var PutObjectRetentionOutput$: StaticStructureSchema; +export declare var PutObjectRetentionRequest$: StaticStructureSchema; +export declare var PutObjectTaggingOutput$: StaticStructureSchema; +export declare var PutObjectTaggingRequest$: StaticStructureSchema; +export declare var PutPublicAccessBlockRequest$: StaticStructureSchema; +export declare var QueueConfiguration$: StaticStructureSchema; +export declare var RecordExpiration$: StaticStructureSchema; +export declare var RecordsEvent$: StaticStructureSchema; +export declare var Redirect$: StaticStructureSchema; +export declare var RedirectAllRequestsTo$: StaticStructureSchema; +export declare var RenameObjectOutput$: StaticStructureSchema; +export declare var RenameObjectRequest$: StaticStructureSchema; +export declare var ReplicaModifications$: StaticStructureSchema; +export declare var ReplicationConfiguration$: StaticStructureSchema; +export declare var ReplicationRule$: StaticStructureSchema; +export declare var ReplicationRuleAndOperator$: StaticStructureSchema; +export declare var ReplicationRuleFilter$: StaticStructureSchema; +export declare var ReplicationTime$: StaticStructureSchema; +export declare var ReplicationTimeValue$: StaticStructureSchema; +export declare var RequestPaymentConfiguration$: StaticStructureSchema; +export declare var RequestProgress$: StaticStructureSchema; +export declare var RestoreObjectOutput$: StaticStructureSchema; +export declare var RestoreObjectRequest$: StaticStructureSchema; +export declare var RestoreRequest$: StaticStructureSchema; +export declare var RestoreStatus$: StaticStructureSchema; +export declare var RoutingRule$: StaticStructureSchema; +export declare var S3KeyFilter$: StaticStructureSchema; +export declare var S3Location$: StaticStructureSchema; +export declare var S3TablesDestination$: StaticStructureSchema; +export declare var S3TablesDestinationResult$: StaticStructureSchema; +export declare var ScanRange$: StaticStructureSchema; +export declare var SelectObjectContentOutput$: StaticStructureSchema; +export declare var SelectObjectContentRequest$: StaticStructureSchema; +export declare var SelectParameters$: StaticStructureSchema; +export declare var ServerSideEncryptionByDefault$: StaticStructureSchema; +export declare var ServerSideEncryptionConfiguration$: StaticStructureSchema; +export declare var ServerSideEncryptionRule$: StaticStructureSchema; +export declare var SessionCredentials$: StaticStructureSchema; +export declare var SimplePrefix$: StaticStructureSchema; +export declare var SourceSelectionCriteria$: StaticStructureSchema; +export declare var SSEKMS$: StaticStructureSchema; +export declare var SseKmsEncryptedObjects$: StaticStructureSchema; +export declare var SSEKMSEncryption$: StaticStructureSchema; +export declare var SSES3$: StaticStructureSchema; +export declare var Stats$: StaticStructureSchema; +export declare var StatsEvent$: StaticStructureSchema; +export declare var StorageClassAnalysis$: StaticStructureSchema; +export declare var StorageClassAnalysisDataExport$: StaticStructureSchema; +export declare var Tag$: StaticStructureSchema; +export declare var Tagging$: StaticStructureSchema; +export declare var TargetGrant$: StaticStructureSchema; +export declare var TargetObjectKeyFormat$: StaticStructureSchema; +export declare var Tiering$: StaticStructureSchema; +export declare var TopicConfiguration$: StaticStructureSchema; +export declare var Transition$: StaticStructureSchema; +export declare var UpdateBucketMetadataInventoryTableConfigurationRequest$: StaticStructureSchema; +export declare var UpdateBucketMetadataJournalTableConfigurationRequest$: StaticStructureSchema; +export declare var UpdateObjectEncryptionRequest$: StaticStructureSchema; +export declare var UpdateObjectEncryptionResponse$: StaticStructureSchema; +export declare var UploadPartCopyOutput$: StaticStructureSchema; +export declare var UploadPartCopyRequest$: StaticStructureSchema; +export declare var UploadPartOutput$: StaticStructureSchema; +export declare var UploadPartRequest$: StaticStructureSchema; +export declare var VersioningConfiguration$: StaticStructureSchema; +export declare var WebsiteConfiguration$: StaticStructureSchema; +export declare var WriteGetObjectResponseRequest$: StaticStructureSchema; +export declare var AnalyticsFilter$: StaticUnionSchema; +export declare var MetricsFilter$: StaticUnionSchema; +export declare var ObjectEncryption$: StaticUnionSchema; +export declare var SelectObjectContentEventStream$: StaticUnionSchema; +export declare var AbortMultipartUpload$: StaticOperationSchema; +export declare var CompleteMultipartUpload$: StaticOperationSchema; +export declare var CopyObject$: StaticOperationSchema; +export declare var CreateBucket$: StaticOperationSchema; +export declare var CreateBucketMetadataConfiguration$: StaticOperationSchema; +export declare var CreateBucketMetadataTableConfiguration$: StaticOperationSchema; +export declare var CreateMultipartUpload$: StaticOperationSchema; +export declare var CreateSession$: StaticOperationSchema; +export declare var DeleteBucket$: StaticOperationSchema; +export declare var DeleteBucketAnalyticsConfiguration$: StaticOperationSchema; +export declare var DeleteBucketCors$: StaticOperationSchema; +export declare var DeleteBucketEncryption$: StaticOperationSchema; +export declare var DeleteBucketIntelligentTieringConfiguration$: StaticOperationSchema; +export declare var DeleteBucketInventoryConfiguration$: StaticOperationSchema; +export declare var DeleteBucketLifecycle$: StaticOperationSchema; +export declare var DeleteBucketMetadataConfiguration$: StaticOperationSchema; +export declare var DeleteBucketMetadataTableConfiguration$: StaticOperationSchema; +export declare var DeleteBucketMetricsConfiguration$: StaticOperationSchema; +export declare var DeleteBucketOwnershipControls$: StaticOperationSchema; +export declare var DeleteBucketPolicy$: StaticOperationSchema; +export declare var DeleteBucketReplication$: StaticOperationSchema; +export declare var DeleteBucketTagging$: StaticOperationSchema; +export declare var DeleteBucketWebsite$: StaticOperationSchema; +export declare var DeleteObject$: StaticOperationSchema; +export declare var DeleteObjects$: StaticOperationSchema; +export declare var DeleteObjectTagging$: StaticOperationSchema; +export declare var DeletePublicAccessBlock$: StaticOperationSchema; +export declare var GetBucketAbac$: StaticOperationSchema; +export declare var GetBucketAccelerateConfiguration$: StaticOperationSchema; +export declare var GetBucketAcl$: StaticOperationSchema; +export declare var GetBucketAnalyticsConfiguration$: StaticOperationSchema; +export declare var GetBucketCors$: StaticOperationSchema; +export declare var GetBucketEncryption$: StaticOperationSchema; +export declare var GetBucketIntelligentTieringConfiguration$: StaticOperationSchema; +export declare var GetBucketInventoryConfiguration$: StaticOperationSchema; +export declare var GetBucketLifecycleConfiguration$: StaticOperationSchema; +export declare var GetBucketLocation$: StaticOperationSchema; +export declare var GetBucketLogging$: StaticOperationSchema; +export declare var GetBucketMetadataConfiguration$: StaticOperationSchema; +export declare var GetBucketMetadataTableConfiguration$: StaticOperationSchema; +export declare var GetBucketMetricsConfiguration$: StaticOperationSchema; +export declare var GetBucketNotificationConfiguration$: StaticOperationSchema; +export declare var GetBucketOwnershipControls$: StaticOperationSchema; +export declare var GetBucketPolicy$: StaticOperationSchema; +export declare var GetBucketPolicyStatus$: StaticOperationSchema; +export declare var GetBucketReplication$: StaticOperationSchema; +export declare var GetBucketRequestPayment$: StaticOperationSchema; +export declare var GetBucketTagging$: StaticOperationSchema; +export declare var GetBucketVersioning$: StaticOperationSchema; +export declare var GetBucketWebsite$: StaticOperationSchema; +export declare var GetObject$: StaticOperationSchema; +export declare var GetObjectAcl$: StaticOperationSchema; +export declare var GetObjectAttributes$: StaticOperationSchema; +export declare var GetObjectLegalHold$: StaticOperationSchema; +export declare var GetObjectLockConfiguration$: StaticOperationSchema; +export declare var GetObjectRetention$: StaticOperationSchema; +export declare var GetObjectTagging$: StaticOperationSchema; +export declare var GetObjectTorrent$: StaticOperationSchema; +export declare var GetPublicAccessBlock$: StaticOperationSchema; +export declare var HeadBucket$: StaticOperationSchema; +export declare var HeadObject$: StaticOperationSchema; +export declare var ListBucketAnalyticsConfigurations$: StaticOperationSchema; +export declare var ListBucketIntelligentTieringConfigurations$: StaticOperationSchema; +export declare var ListBucketInventoryConfigurations$: StaticOperationSchema; +export declare var ListBucketMetricsConfigurations$: StaticOperationSchema; +export declare var ListBuckets$: StaticOperationSchema; +export declare var ListDirectoryBuckets$: StaticOperationSchema; +export declare var ListMultipartUploads$: StaticOperationSchema; +export declare var ListObjects$: StaticOperationSchema; +export declare var ListObjectsV2$: StaticOperationSchema; +export declare var ListObjectVersions$: StaticOperationSchema; +export declare var ListParts$: StaticOperationSchema; +export declare var PutBucketAbac$: StaticOperationSchema; +export declare var PutBucketAccelerateConfiguration$: StaticOperationSchema; +export declare var PutBucketAcl$: StaticOperationSchema; +export declare var PutBucketAnalyticsConfiguration$: StaticOperationSchema; +export declare var PutBucketCors$: StaticOperationSchema; +export declare var PutBucketEncryption$: StaticOperationSchema; +export declare var PutBucketIntelligentTieringConfiguration$: StaticOperationSchema; +export declare var PutBucketInventoryConfiguration$: StaticOperationSchema; +export declare var PutBucketLifecycleConfiguration$: StaticOperationSchema; +export declare var PutBucketLogging$: StaticOperationSchema; +export declare var PutBucketMetricsConfiguration$: StaticOperationSchema; +export declare var PutBucketNotificationConfiguration$: StaticOperationSchema; +export declare var PutBucketOwnershipControls$: StaticOperationSchema; +export declare var PutBucketPolicy$: StaticOperationSchema; +export declare var PutBucketReplication$: StaticOperationSchema; +export declare var PutBucketRequestPayment$: StaticOperationSchema; +export declare var PutBucketTagging$: StaticOperationSchema; +export declare var PutBucketVersioning$: StaticOperationSchema; +export declare var PutBucketWebsite$: StaticOperationSchema; +export declare var PutObject$: StaticOperationSchema; +export declare var PutObjectAcl$: StaticOperationSchema; +export declare var PutObjectLegalHold$: StaticOperationSchema; +export declare var PutObjectLockConfiguration$: StaticOperationSchema; +export declare var PutObjectRetention$: StaticOperationSchema; +export declare var PutObjectTagging$: StaticOperationSchema; +export declare var PutPublicAccessBlock$: StaticOperationSchema; +export declare var RenameObject$: StaticOperationSchema; +export declare var RestoreObject$: StaticOperationSchema; +export declare var SelectObjectContent$: StaticOperationSchema; +export declare var UpdateBucketMetadataInventoryTableConfiguration$: StaticOperationSchema; +export declare var UpdateBucketMetadataJournalTableConfiguration$: StaticOperationSchema; +export declare var UpdateObjectEncryption$: StaticOperationSchema; +export declare var UploadPart$: StaticOperationSchema; +export declare var UploadPartCopy$: StaticOperationSchema; +export declare var WriteGetObjectResponse$: StaticOperationSchema; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/index.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/index.d.ts new file mode 100644 index 0000000..a139674 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/index.d.ts @@ -0,0 +1,4 @@ +export * from "./waitForBucketExists"; +export * from "./waitForBucketNotExists"; +export * from "./waitForObjectExists"; +export * from "./waitForObjectNotExists"; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketExists.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketExists.d.ts new file mode 100644 index 0000000..e9976fc --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketExists.d.ts @@ -0,0 +1,11 @@ +import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; +import { HeadBucketCommandInput } from "../commands/HeadBucketCommand"; +import { S3Client } from "../S3Client"; +export declare const waitForBucketExists: ( + params: WaiterConfiguration, + input: HeadBucketCommandInput +) => Promise; +export declare const waitUntilBucketExists: ( + params: WaiterConfiguration, + input: HeadBucketCommandInput +) => Promise; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts new file mode 100644 index 0000000..3da8b19 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts @@ -0,0 +1,11 @@ +import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; +import { HeadBucketCommandInput } from "../commands/HeadBucketCommand"; +import { S3Client } from "../S3Client"; +export declare const waitForBucketNotExists: ( + params: WaiterConfiguration, + input: HeadBucketCommandInput +) => Promise; +export declare const waitUntilBucketNotExists: ( + params: WaiterConfiguration, + input: HeadBucketCommandInput +) => Promise; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectExists.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectExists.d.ts new file mode 100644 index 0000000..54d815a --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectExists.d.ts @@ -0,0 +1,11 @@ +import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; +import { HeadObjectCommandInput } from "../commands/HeadObjectCommand"; +import { S3Client } from "../S3Client"; +export declare const waitForObjectExists: ( + params: WaiterConfiguration, + input: HeadObjectCommandInput +) => Promise; +export declare const waitUntilObjectExists: ( + params: WaiterConfiguration, + input: HeadObjectCommandInput +) => Promise; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts new file mode 100644 index 0000000..fbea261 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts @@ -0,0 +1,11 @@ +import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; +import { HeadObjectCommandInput } from "../commands/HeadObjectCommand"; +import { S3Client } from "../S3Client"; +export declare const waitForObjectNotExists: ( + params: WaiterConfiguration, + input: HeadObjectCommandInput +) => Promise; +export declare const waitUntilObjectNotExists: ( + params: WaiterConfiguration, + input: HeadObjectCommandInput +) => Promise; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/waiters/index.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/waiters/index.d.ts new file mode 100644 index 0000000..a139674 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/waiters/index.d.ts @@ -0,0 +1,4 @@ +export * from "./waitForBucketExists"; +export * from "./waitForBucketNotExists"; +export * from "./waitForObjectExists"; +export * from "./waitForObjectNotExists"; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketExists.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketExists.d.ts new file mode 100644 index 0000000..495b21b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketExists.d.ts @@ -0,0 +1,14 @@ +import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter"; +import { type HeadBucketCommandInput } from "../commands/HeadBucketCommand"; +import type { S3Client } from "../S3Client"; +/** + * + * @deprecated Use waitUntilBucketExists instead. waitForBucketExists does not throw error in non-success cases. + */ +export declare const waitForBucketExists: (params: WaiterConfiguration, input: HeadBucketCommandInput) => Promise; +/** + * + * @param params - Waiter configuration options. + * @param input - The input to HeadBucketCommand for polling. + */ +export declare const waitUntilBucketExists: (params: WaiterConfiguration, input: HeadBucketCommandInput) => Promise; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketNotExists.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketNotExists.d.ts new file mode 100644 index 0000000..56aeab8 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketNotExists.d.ts @@ -0,0 +1,14 @@ +import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter"; +import { type HeadBucketCommandInput } from "../commands/HeadBucketCommand"; +import type { S3Client } from "../S3Client"; +/** + * + * @deprecated Use waitUntilBucketNotExists instead. waitForBucketNotExists does not throw error in non-success cases. + */ +export declare const waitForBucketNotExists: (params: WaiterConfiguration, input: HeadBucketCommandInput) => Promise; +/** + * + * @param params - Waiter configuration options. + * @param input - The input to HeadBucketCommand for polling. + */ +export declare const waitUntilBucketNotExists: (params: WaiterConfiguration, input: HeadBucketCommandInput) => Promise; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectExists.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectExists.d.ts new file mode 100644 index 0000000..9b8aba3 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectExists.d.ts @@ -0,0 +1,14 @@ +import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter"; +import { type HeadObjectCommandInput } from "../commands/HeadObjectCommand"; +import type { S3Client } from "../S3Client"; +/** + * + * @deprecated Use waitUntilObjectExists instead. waitForObjectExists does not throw error in non-success cases. + */ +export declare const waitForObjectExists: (params: WaiterConfiguration, input: HeadObjectCommandInput) => Promise; +/** + * + * @param params - Waiter configuration options. + * @param input - The input to HeadObjectCommand for polling. + */ +export declare const waitUntilObjectExists: (params: WaiterConfiguration, input: HeadObjectCommandInput) => Promise; diff --git a/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectNotExists.d.ts b/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectNotExists.d.ts new file mode 100644 index 0000000..dcfbc7b --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectNotExists.d.ts @@ -0,0 +1,14 @@ +import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter"; +import { type HeadObjectCommandInput } from "../commands/HeadObjectCommand"; +import type { S3Client } from "../S3Client"; +/** + * + * @deprecated Use waitUntilObjectNotExists instead. waitForObjectNotExists does not throw error in non-success cases. + */ +export declare const waitForObjectNotExists: (params: WaiterConfiguration, input: HeadObjectCommandInput) => Promise; +/** + * + * @param params - Waiter configuration options. + * @param input - The input to HeadObjectCommand for polling. + */ +export declare const waitUntilObjectNotExists: (params: WaiterConfiguration, input: HeadObjectCommandInput) => Promise; diff --git a/node_modules/@aws-sdk/client-s3/package.json b/node_modules/@aws-sdk/client-s3/package.json new file mode 100644 index 0000000..1f61128 --- /dev/null +++ b/node_modules/@aws-sdk/client-s3/package.json @@ -0,0 +1,127 @@ +{ + "name": "@aws-sdk/client-s3", + "description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native", + "version": "3.1024.0", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline client-s3", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "extract:docs": "api-extractor run --local", + "generate:client": "node ../../scripts/generate-clients/single-service --solo s3", + "test": "yarn g:vitest run", + "test:browser": "node ./test/browser-build/esbuild && yarn g:vitest run -c vitest.config.browser.mts", + "test:browser:watch": "node ./test/browser-build/esbuild && yarn g:vitest watch -c vitest.config.browser.mts", + "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts && yarn test:browser", + "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts", + "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "types": "./dist-types/index.d.ts", + "module": "./dist-es/index.js", + "sideEffects": false, + "dependencies": { + "@aws-crypto/sha1-browser": "5.2.0", + "@aws-crypto/sha256-browser": "5.2.0", + "@aws-crypto/sha256-js": "5.2.0", + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/credential-provider-node": "^3.972.29", + "@aws-sdk/middleware-bucket-endpoint": "^3.972.8", + "@aws-sdk/middleware-expect-continue": "^3.972.8", + "@aws-sdk/middleware-flexible-checksums": "^3.974.6", + "@aws-sdk/middleware-host-header": "^3.972.8", + "@aws-sdk/middleware-location-constraint": "^3.972.8", + "@aws-sdk/middleware-logger": "^3.972.8", + "@aws-sdk/middleware-recursion-detection": "^3.972.9", + "@aws-sdk/middleware-sdk-s3": "^3.972.27", + "@aws-sdk/middleware-ssec": "^3.972.8", + "@aws-sdk/middleware-user-agent": "^3.972.28", + "@aws-sdk/region-config-resolver": "^3.972.10", + "@aws-sdk/signature-v4-multi-region": "^3.996.15", + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/util-endpoints": "^3.996.5", + "@aws-sdk/util-user-agent-browser": "^3.972.8", + "@aws-sdk/util-user-agent-node": "^3.973.14", + "@smithy/config-resolver": "^4.4.13", + "@smithy/core": "^3.23.13", + "@smithy/eventstream-serde-browser": "^4.2.12", + "@smithy/eventstream-serde-config-resolver": "^4.3.12", + "@smithy/eventstream-serde-node": "^4.2.12", + "@smithy/fetch-http-handler": "^5.3.15", + "@smithy/hash-blob-browser": "^4.2.13", + "@smithy/hash-node": "^4.2.12", + "@smithy/hash-stream-node": "^4.2.12", + "@smithy/invalid-dependency": "^4.2.12", + "@smithy/md5-js": "^4.2.12", + "@smithy/middleware-content-length": "^4.2.12", + "@smithy/middleware-endpoint": "^4.4.28", + "@smithy/middleware-retry": "^4.4.46", + "@smithy/middleware-serde": "^4.2.16", + "@smithy/middleware-stack": "^4.2.12", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/node-http-handler": "^4.5.1", + "@smithy/protocol-http": "^5.3.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "@smithy/url-parser": "^4.2.12", + "@smithy/util-base64": "^4.3.2", + "@smithy/util-body-length-browser": "^4.2.2", + "@smithy/util-body-length-node": "^4.2.3", + "@smithy/util-defaults-mode-browser": "^4.3.44", + "@smithy/util-defaults-mode-node": "^4.2.48", + "@smithy/util-endpoints": "^3.3.3", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-retry": "^4.2.13", + "@smithy/util-stream": "^4.5.21", + "@smithy/util-utf8": "^4.2.2", + "@smithy/util-waiter": "^4.2.14", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@aws-sdk/signature-v4-crt": "3.1024.0", + "@smithy/snapshot-testing": "^2.0.4", + "@tsconfig/node20": "20.1.8", + "@types/node": "^20.14.8", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3", + "vitest": "^4.0.17" + }, + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "browser": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" + }, + "react-native": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" + }, + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "clients/client-s3" + } +} diff --git a/node_modules/@aws-sdk/core/LICENSE b/node_modules/@aws-sdk/core/LICENSE new file mode 100644 index 0000000..0322cba --- /dev/null +++ b/node_modules/@aws-sdk/core/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-sdk/core/README.md b/node_modules/@aws-sdk/core/README.md new file mode 100644 index 0000000..6056468 --- /dev/null +++ b/node_modules/@aws-sdk/core/README.md @@ -0,0 +1,39 @@ +# `@aws-sdk/core` + +This package provides common or core functionality to the AWS SDK for JavaScript (v3). + +You do not need to explicitly install this package, since it will be transitively installed by AWS SDK clients. + +## `@aws-sdk/core` submodules + +Core submodules are organized for distribution via the `package.json` `exports` field. + +`exports` is supported by default by the latest Node.js, webpack, and esbuild. For react-native, it can be +enabled via instructions found at [reactnative.dev/blog](https://reactnative.dev/blog/2023/06/21/package-exports-support). + +Think of `@aws-sdk/core` as a mono-package within the monorepo. +It preserves the benefits of modularization, for example to optimize Node.js initialization speed, +while making it easier to have a consistent version of core dependencies, reducing package sprawl when +installing an SDK client. + +### Guide for submodules + +- Each `index.ts` file corresponding to the pattern `./src/submodules//index.ts` will be + published as a separate `dist-cjs` bundled submodule index using the `Inliner.js` build script. +- create a folder as `./src/submodules/` including an `index.ts` file and a `README.md` file. + - The linter will throw an error on missing submodule metadata in `package.json` and the various `tsconfig.json` files, but it will automatically fix them if possible. +- a submodule is equivalent to a standalone `@aws-sdk/` package in that importing it in Node.js will resolve a separate bundle. +- submodules may not relatively import files from other submodules. Instead, directly use the `@scope/pkg/submodule` name as the import. + - The linter will check for this and throw an error. +- To the extent possible, correctly declaring submodule metadata is validated by the linter in `@aws-sdk/core`. + The linter runs during `yarn build` and also as `yarn lint`. + +### When should I create an `@aws-sdk/core/submodule` vs. `@aws-sdk/new-package`? + +Keep in mind that the core package is installed by all AWS SDK clients. + +If the component functionality is upstream of multiple clients, it is +a good candidate for a core submodule. For example, XML serialization. + +If the component's functionality is downstream of a client, for example S3 pre-signing, +it should be a standalone package with potentially a peer or runtime dependency on an AWS SDK client. diff --git a/node_modules/@aws-sdk/core/account-id-endpoint.d.ts b/node_modules/@aws-sdk/core/account-id-endpoint.d.ts new file mode 100644 index 0000000..60f14d1 --- /dev/null +++ b/node_modules/@aws-sdk/core/account-id-endpoint.d.ts @@ -0,0 +1,7 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +declare module "@aws-sdk/core/account-id-endpoint" { + export * from "@aws-sdk/core/dist-types/submodules/account-id-endpoint/index.d"; +} diff --git a/node_modules/@aws-sdk/core/account-id-endpoint.js b/node_modules/@aws-sdk/core/account-id-endpoint.js new file mode 100644 index 0000000..d86e100 --- /dev/null +++ b/node_modules/@aws-sdk/core/account-id-endpoint.js @@ -0,0 +1,5 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +module.exports = require("./dist-cjs/submodules/account-id-endpoint/index.js"); diff --git a/node_modules/@aws-sdk/core/client.d.ts b/node_modules/@aws-sdk/core/client.d.ts new file mode 100644 index 0000000..ce995ae --- /dev/null +++ b/node_modules/@aws-sdk/core/client.d.ts @@ -0,0 +1,7 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +declare module "@aws-sdk/core/client" { + export * from "@aws-sdk/core/dist-types/submodules/client/index.d"; +} diff --git a/node_modules/@aws-sdk/core/client.js b/node_modules/@aws-sdk/core/client.js new file mode 100644 index 0000000..e3a644b --- /dev/null +++ b/node_modules/@aws-sdk/core/client.js @@ -0,0 +1,5 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +module.exports = require("./dist-cjs/submodules/client/index.js"); diff --git a/node_modules/@aws-sdk/core/dist-cjs/index.js b/node_modules/@aws-sdk/core/dist-cjs/index.js new file mode 100644 index 0000000..be9a83e --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-cjs/index.js @@ -0,0 +1,2245 @@ +'use strict'; + +var protocolHttp = require('@smithy/protocol-http'); +var core = require('@smithy/core'); +var propertyProvider = require('@smithy/property-provider'); +var client = require('@aws-sdk/core/client'); +var signatureV4 = require('@smithy/signature-v4'); +var cbor = require('@smithy/core/cbor'); +var schema = require('@smithy/core/schema'); +var smithyClient = require('@smithy/smithy-client'); +var protocols = require('@smithy/core/protocols'); +var serde = require('@smithy/core/serde'); +var utilBase64 = require('@smithy/util-base64'); +var utilUtf8 = require('@smithy/util-utf8'); +var xmlBuilder = require('@aws-sdk/xml-builder'); + +const state = { + warningEmitted: false, +}; +const emitWarningIfUnsupportedVersion = (version) => { + if (version && !state.warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 20) { + state.warningEmitted = true; + process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will +no longer support Node.js ${version} in January 2026. + +To continue receiving updates to AWS services, bug fixes, and security +updates please upgrade to a supported Node.js LTS version. + +More information can be found at: https://a.co/c895JFp`); + } +}; + +function setCredentialFeature(credentials, feature, value) { + if (!credentials.$source) { + credentials.$source = {}; + } + credentials.$source[feature] = value; + return credentials; +} + +function setFeature(context, feature, value) { + if (!context.__aws_sdk_context) { + context.__aws_sdk_context = { + features: {}, + }; + } + else if (!context.__aws_sdk_context.features) { + context.__aws_sdk_context.features = {}; + } + context.__aws_sdk_context.features[feature] = value; +} + +function setTokenFeature(token, feature, value) { + if (!token.$source) { + token.$source = {}; + } + token.$source[feature] = value; + return token; +} + +const getDateHeader = (response) => protocolHttp.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : undefined; + +const getSkewCorrectedDate = (systemClockOffset) => new Date(Date.now() + systemClockOffset); + +const isClockSkewed = (clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 300000; + +const getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset) => { + const clockTimeInMs = Date.parse(clockTime); + if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) { + return clockTimeInMs - Date.now(); + } + return currentSystemClockOffset; +}; + +const throwSigningPropertyError = (name, property) => { + if (!property) { + throw new Error(`Property \`${name}\` is not resolved for AWS SDK SigV4Auth`); + } + return property; +}; +const validateSigningProperties = async (signingProperties) => { + const context = throwSigningPropertyError("context", signingProperties.context); + const config = throwSigningPropertyError("config", signingProperties.config); + const authScheme = context.endpointV2?.properties?.authSchemes?.[0]; + const signerFunction = throwSigningPropertyError("signer", config.signer); + const signer = await signerFunction(authScheme); + const signingRegion = signingProperties?.signingRegion; + const signingRegionSet = signingProperties?.signingRegionSet; + const signingName = signingProperties?.signingName; + return { + config, + signer, + signingRegion, + signingRegionSet, + signingName, + }; +}; +class AwsSdkSigV4Signer { + async sign(httpRequest, identity, signingProperties) { + if (!protocolHttp.HttpRequest.isInstance(httpRequest)) { + throw new Error("The request is not an instance of `HttpRequest` and cannot be signed"); + } + const validatedProps = await validateSigningProperties(signingProperties); + const { config, signer } = validatedProps; + let { signingRegion, signingName } = validatedProps; + const handlerExecutionContext = signingProperties.context; + if (handlerExecutionContext?.authSchemes?.length ?? 0 > 1) { + const [first, second] = handlerExecutionContext.authSchemes; + if (first?.name === "sigv4a" && second?.name === "sigv4") { + signingRegion = second?.signingRegion ?? signingRegion; + signingName = second?.signingName ?? signingName; + } + } + const signedRequest = await signer.sign(httpRequest, { + signingDate: getSkewCorrectedDate(config.systemClockOffset), + signingRegion: signingRegion, + signingService: signingName, + }); + return signedRequest; + } + errorHandler(signingProperties) { + return (error) => { + const serverTime = error.ServerTime ?? getDateHeader(error.$response); + if (serverTime) { + const config = throwSigningPropertyError("config", signingProperties.config); + const initialSystemClockOffset = config.systemClockOffset; + config.systemClockOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset); + const clockSkewCorrected = config.systemClockOffset !== initialSystemClockOffset; + if (clockSkewCorrected && error.$metadata) { + error.$metadata.clockSkewCorrected = true; + } + } + throw error; + }; + } + successHandler(httpResponse, signingProperties) { + const dateHeader = getDateHeader(httpResponse); + if (dateHeader) { + const config = throwSigningPropertyError("config", signingProperties.config); + config.systemClockOffset = getUpdatedSystemClockOffset(dateHeader, config.systemClockOffset); + } + } +} +const AWSSDKSigV4Signer = AwsSdkSigV4Signer; + +class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer { + async sign(httpRequest, identity, signingProperties) { + if (!protocolHttp.HttpRequest.isInstance(httpRequest)) { + throw new Error("The request is not an instance of `HttpRequest` and cannot be signed"); + } + const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties(signingProperties); + const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.(); + const multiRegionOverride = (configResolvedSigningRegionSet ?? + signingRegionSet ?? [signingRegion]).join(","); + const signedRequest = await signer.sign(httpRequest, { + signingDate: getSkewCorrectedDate(config.systemClockOffset), + signingRegion: multiRegionOverride, + signingService: signingName, + }); + return signedRequest; + } +} + +const getArrayForCommaSeparatedString = (str) => typeof str === "string" && str.length > 0 ? str.split(",").map((item) => item.trim()) : []; + +const getBearerTokenEnvKey = (signingName) => `AWS_BEARER_TOKEN_${signingName.replace(/[\s-]/g, "_").toUpperCase()}`; + +const NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = "AWS_AUTH_SCHEME_PREFERENCE"; +const NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = "auth_scheme_preference"; +const NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = { + environmentVariableSelector: (env, options) => { + if (options?.signingName) { + const bearerTokenKey = getBearerTokenEnvKey(options.signingName); + if (bearerTokenKey in env) + return ["httpBearerAuth"]; + } + if (!(NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY in env)) + return undefined; + return getArrayForCommaSeparatedString(env[NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY]); + }, + configFileSelector: (profile) => { + if (!(NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY in profile)) + return undefined; + return getArrayForCommaSeparatedString(profile[NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY]); + }, + default: [], +}; + +const resolveAwsSdkSigV4AConfig = (config) => { + config.sigv4aSigningRegionSet = core.normalizeProvider(config.sigv4aSigningRegionSet); + return config; +}; +const NODE_SIGV4A_CONFIG_OPTIONS = { + environmentVariableSelector(env) { + if (env.AWS_SIGV4A_SIGNING_REGION_SET) { + return env.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((_) => _.trim()); + } + throw new propertyProvider.ProviderError("AWS_SIGV4A_SIGNING_REGION_SET not set in env.", { + tryNextLink: true, + }); + }, + configFileSelector(profile) { + if (profile.sigv4a_signing_region_set) { + return (profile.sigv4a_signing_region_set ?? "").split(",").map((_) => _.trim()); + } + throw new propertyProvider.ProviderError("sigv4a_signing_region_set not set in profile.", { + tryNextLink: true, + }); + }, + default: undefined, +}; + +const resolveAwsSdkSigV4Config = (config) => { + let inputCredentials = config.credentials; + let isUserSupplied = !!config.credentials; + let resolvedCredentials = undefined; + Object.defineProperty(config, "credentials", { + set(credentials) { + if (credentials && credentials !== inputCredentials && credentials !== resolvedCredentials) { + isUserSupplied = true; + } + inputCredentials = credentials; + const memoizedProvider = normalizeCredentialProvider(config, { + credentials: inputCredentials, + credentialDefaultProvider: config.credentialDefaultProvider, + }); + const boundProvider = bindCallerConfig(config, memoizedProvider); + if (isUserSupplied && !boundProvider.attributed) { + const isCredentialObject = typeof inputCredentials === "object" && inputCredentials !== null; + resolvedCredentials = async (options) => { + const creds = await boundProvider(options); + const attributedCreds = creds; + if (isCredentialObject && (!attributedCreds.$source || Object.keys(attributedCreds.$source).length === 0)) { + return client.setCredentialFeature(attributedCreds, "CREDENTIALS_CODE", "e"); + } + return attributedCreds; + }; + resolvedCredentials.memoized = boundProvider.memoized; + resolvedCredentials.configBound = boundProvider.configBound; + resolvedCredentials.attributed = true; + } + else { + resolvedCredentials = boundProvider; + } + }, + get() { + return resolvedCredentials; + }, + enumerable: true, + configurable: true, + }); + config.credentials = inputCredentials; + const { signingEscapePath = true, systemClockOffset = config.systemClockOffset || 0, sha256, } = config; + let signer; + if (config.signer) { + signer = core.normalizeProvider(config.signer); + } + else if (config.regionInfoProvider) { + signer = () => core.normalizeProvider(config.region)() + .then(async (region) => [ + (await config.regionInfoProvider(region, { + useFipsEndpoint: await config.useFipsEndpoint(), + useDualstackEndpoint: await config.useDualstackEndpoint(), + })) || {}, + region, + ]) + .then(([regionInfo, region]) => { + const { signingRegion, signingService } = regionInfo; + config.signingRegion = config.signingRegion || signingRegion || region; + config.signingName = config.signingName || signingService || config.serviceId; + const params = { + ...config, + credentials: config.credentials, + region: config.signingRegion, + service: config.signingName, + sha256, + uriEscapePath: signingEscapePath, + }; + const SignerCtor = config.signerConstructor || signatureV4.SignatureV4; + return new SignerCtor(params); + }); + } + else { + signer = async (authScheme) => { + authScheme = Object.assign({}, { + name: "sigv4", + signingName: config.signingName || config.defaultSigningName, + signingRegion: await core.normalizeProvider(config.region)(), + properties: {}, + }, authScheme); + const signingRegion = authScheme.signingRegion; + const signingService = authScheme.signingName; + config.signingRegion = config.signingRegion || signingRegion; + config.signingName = config.signingName || signingService || config.serviceId; + const params = { + ...config, + credentials: config.credentials, + region: config.signingRegion, + service: config.signingName, + sha256, + uriEscapePath: signingEscapePath, + }; + const SignerCtor = config.signerConstructor || signatureV4.SignatureV4; + return new SignerCtor(params); + }; + } + const resolvedConfig = Object.assign(config, { + systemClockOffset, + signingEscapePath, + signer, + }); + return resolvedConfig; +}; +const resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config; +function normalizeCredentialProvider(config, { credentials, credentialDefaultProvider, }) { + let credentialsProvider; + if (credentials) { + if (!credentials?.memoized) { + credentialsProvider = core.memoizeIdentityProvider(credentials, core.isIdentityExpired, core.doesIdentityRequireRefresh); + } + else { + credentialsProvider = credentials; + } + } + else { + if (credentialDefaultProvider) { + credentialsProvider = core.normalizeProvider(credentialDefaultProvider(Object.assign({}, config, { + parentClientConfig: config, + }))); + } + else { + credentialsProvider = async () => { + throw new Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured."); + }; + } + } + credentialsProvider.memoized = true; + return credentialsProvider; +} +function bindCallerConfig(config, credentialsProvider) { + if (credentialsProvider.configBound) { + return credentialsProvider; + } + const fn = async (options) => credentialsProvider({ ...options, callerClientConfig: config }); + fn.memoized = credentialsProvider.memoized; + fn.configBound = true; + return fn; +} + +class ProtocolLib { + queryCompat; + errorRegistry; + constructor(queryCompat = false) { + this.queryCompat = queryCompat; + } + resolveRestContentType(defaultContentType, inputSchema) { + const members = inputSchema.getMemberSchemas(); + const httpPayloadMember = Object.values(members).find((m) => { + return !!m.getMergedTraits().httpPayload; + }); + if (httpPayloadMember) { + const mediaType = httpPayloadMember.getMergedTraits().mediaType; + if (mediaType) { + return mediaType; + } + else if (httpPayloadMember.isStringSchema()) { + return "text/plain"; + } + else if (httpPayloadMember.isBlobSchema()) { + return "application/octet-stream"; + } + else { + return defaultContentType; + } + } + else if (!inputSchema.isUnitSchema()) { + const hasBody = Object.values(members).find((m) => { + const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits(); + const noPrefixHeaders = httpPrefixHeaders === void 0; + return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && noPrefixHeaders; + }); + if (hasBody) { + return defaultContentType; + } + } + } + async getErrorSchemaOrThrowBaseException(errorIdentifier, defaultNamespace, response, dataObject, metadata, getErrorSchema) { + let errorName = errorIdentifier; + if (errorIdentifier.includes("#")) { + [, errorName] = errorIdentifier.split("#"); + } + const errorMetadata = { + $metadata: metadata, + $fault: response.statusCode < 500 ? "client" : "server", + }; + if (!this.errorRegistry) { + throw new Error("@aws-sdk/core/protocols - error handler not initialized."); + } + try { + const errorSchema = getErrorSchema?.(this.errorRegistry, errorName) ?? + this.errorRegistry.getSchema(errorIdentifier); + return { errorSchema, errorMetadata }; + } + catch (e) { + dataObject.message = dataObject.message ?? dataObject.Message ?? "UnknownError"; + const synthetic = this.errorRegistry; + const baseExceptionSchema = synthetic.getBaseException(); + if (baseExceptionSchema) { + const ErrorCtor = synthetic.getErrorCtor(baseExceptionSchema) ?? Error; + throw this.decorateServiceException(Object.assign(new ErrorCtor({ name: errorName }), errorMetadata), dataObject); + } + const d = dataObject; + const message = d?.message ?? d?.Message ?? d?.Error?.Message ?? d?.Error?.message; + throw this.decorateServiceException(Object.assign(new Error(message), { + name: errorName, + }, errorMetadata), dataObject); + } + } + compose(composite, errorIdentifier, defaultNamespace) { + let namespace = defaultNamespace; + if (errorIdentifier.includes("#")) { + [namespace] = errorIdentifier.split("#"); + } + const staticRegistry = schema.TypeRegistry.for(namespace); + const defaultSyntheticRegistry = schema.TypeRegistry.for("smithy.ts.sdk.synthetic." + defaultNamespace); + composite.copyFrom(staticRegistry); + composite.copyFrom(defaultSyntheticRegistry); + this.errorRegistry = composite; + } + decorateServiceException(exception, additions = {}) { + if (this.queryCompat) { + const msg = exception.Message ?? additions.Message; + const error = smithyClient.decorateServiceException(exception, additions); + if (msg) { + error.message = msg; + } + error.Error = { + ...error.Error, + Type: error.Error?.Type, + Code: error.Error?.Code, + Message: error.Error?.message ?? error.Error?.Message ?? msg, + }; + const reqId = error.$metadata.requestId; + if (reqId) { + error.RequestId = reqId; + } + return error; + } + return smithyClient.decorateServiceException(exception, additions); + } + setQueryCompatError(output, response) { + const queryErrorHeader = response.headers?.["x-amzn-query-error"]; + if (output !== undefined && queryErrorHeader != null) { + const [Code, Type] = queryErrorHeader.split(";"); + const entries = Object.entries(output); + const Error = { + Code, + Type, + }; + Object.assign(output, Error); + for (const [k, v] of entries) { + Error[k === "message" ? "Message" : k] = v; + } + delete Error.__type; + output.Error = Error; + } + } + queryCompatOutput(queryCompatErrorData, errorData) { + if (queryCompatErrorData.Error) { + errorData.Error = queryCompatErrorData.Error; + } + if (queryCompatErrorData.Type) { + errorData.Type = queryCompatErrorData.Type; + } + if (queryCompatErrorData.Code) { + errorData.Code = queryCompatErrorData.Code; + } + } + findQueryCompatibleError(registry, errorName) { + try { + return registry.getSchema(errorName); + } + catch (e) { + return registry.find((schema$1) => schema.NormalizedSchema.of(schema$1).getMergedTraits().awsQueryError?.[0] === errorName); + } + } +} + +class AwsSmithyRpcV2CborProtocol extends cbor.SmithyRpcV2CborProtocol { + awsQueryCompatible; + mixin; + constructor({ defaultNamespace, errorTypeRegistries, awsQueryCompatible, }) { + super({ defaultNamespace, errorTypeRegistries }); + this.awsQueryCompatible = !!awsQueryCompatible; + this.mixin = new ProtocolLib(this.awsQueryCompatible); + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + if (this.awsQueryCompatible) { + request.headers["x-amzn-query-mode"] = "true"; + } + return request; + } + async handleError(operationSchema, context, response, dataObject, metadata) { + if (this.awsQueryCompatible) { + this.mixin.setQueryCompatError(dataObject, response); + } + const errorName = (() => { + const compatHeader = response.headers["x-amzn-query-error"]; + if (compatHeader && this.awsQueryCompatible) { + return compatHeader.split(";")[0]; + } + return cbor.loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown"; + })(); + this.mixin.compose(this.compositeErrorRegistry, errorName, this.options.defaultNamespace); + const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined); + const ns = schema.NormalizedSchema.of(errorSchema); + const message = dataObject.message ?? dataObject.Message ?? "UnknownError"; + const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error; + const exception = new ErrorCtor(message); + const output = {}; + for (const [name, member] of ns.structIterator()) { + if (dataObject[name] != null) { + output[name] = this.deserializer.readValue(member, dataObject[name]); + } + } + if (this.awsQueryCompatible) { + this.mixin.queryCompatOutput(dataObject, output); + } + throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output), dataObject); + } +} + +const _toStr = (val) => { + if (val == null) { + return val; + } + if (typeof val === "number" || typeof val === "bigint") { + const warning = new Error(`Received number ${val} where a string was expected.`); + warning.name = "Warning"; + console.warn(warning); + return String(val); + } + if (typeof val === "boolean") { + const warning = new Error(`Received boolean ${val} where a string was expected.`); + warning.name = "Warning"; + console.warn(warning); + return String(val); + } + return val; +}; +const _toBool = (val) => { + if (val == null) { + return val; + } + if (typeof val === "string") { + const lowercase = val.toLowerCase(); + if (val !== "" && lowercase !== "false" && lowercase !== "true") { + const warning = new Error(`Received string "${val}" where a boolean was expected.`); + warning.name = "Warning"; + console.warn(warning); + } + return val !== "" && lowercase !== "false"; + } + return val; +}; +const _toNum = (val) => { + if (val == null) { + return val; + } + if (typeof val === "string") { + const num = Number(val); + if (num.toString() !== val) { + const warning = new Error(`Received string "${val}" where a number was expected.`); + warning.name = "Warning"; + console.warn(warning); + return val; + } + return num; + } + return val; +}; + +class SerdeContextConfig { + serdeContext; + setSerdeContext(serdeContext) { + this.serdeContext = serdeContext; + } +} + +class UnionSerde { + from; + to; + keys; + constructor(from, to) { + this.from = from; + this.to = to; + this.keys = new Set(Object.keys(this.from).filter((k) => k !== "__type")); + } + mark(key) { + this.keys.delete(key); + } + hasUnknown() { + return this.keys.size === 1 && Object.keys(this.to).length === 0; + } + writeUnknown() { + if (this.hasUnknown()) { + const k = this.keys.values().next().value; + const v = this.from[k]; + this.to.$unknown = [k, v]; + } + } +} + +function jsonReviver(key, value, context) { + if (context?.source) { + const numericString = context.source; + if (typeof value === "number") { + if (value > Number.MAX_SAFE_INTEGER || value < Number.MIN_SAFE_INTEGER || numericString !== String(value)) { + const isFractional = numericString.includes("."); + if (isFractional) { + return new serde.NumericValue(numericString, "bigDecimal"); + } + else { + return BigInt(numericString); + } + } + } + } + return value; +} + +const collectBodyString = (streamBody, context) => smithyClient.collectBody(streamBody, context).then((body) => (context?.utf8Encoder ?? utilUtf8.toUtf8)(body)); + +const parseJsonBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { + if (encoded.length) { + try { + return JSON.parse(encoded); + } + catch (e) { + if (e?.name === "SyntaxError") { + Object.defineProperty(e, "$responseBodyText", { + value: encoded, + }); + } + throw e; + } + } + return {}; +}); +const parseJsonErrorBody = async (errorBody, context) => { + const value = await parseJsonBody(errorBody, context); + value.message = value.message ?? value.Message; + return value; +}; +const loadRestJsonErrorCode = (output, data) => { + const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()); + const sanitizeErrorCode = (rawValue) => { + let cleanValue = rawValue; + if (typeof cleanValue === "number") { + cleanValue = cleanValue.toString(); + } + if (cleanValue.indexOf(",") >= 0) { + cleanValue = cleanValue.split(",")[0]; + } + if (cleanValue.indexOf(":") >= 0) { + cleanValue = cleanValue.split(":")[0]; + } + if (cleanValue.indexOf("#") >= 0) { + cleanValue = cleanValue.split("#")[1]; + } + return cleanValue; + }; + const headerKey = findKey(output.headers, "x-amzn-errortype"); + if (headerKey !== undefined) { + return sanitizeErrorCode(output.headers[headerKey]); + } + if (data && typeof data === "object") { + const codeKey = findKey(data, "code"); + if (codeKey && data[codeKey] !== undefined) { + return sanitizeErrorCode(data[codeKey]); + } + if (data["__type"] !== undefined) { + return sanitizeErrorCode(data["__type"]); + } + } +}; + +class JsonShapeDeserializer extends SerdeContextConfig { + settings; + constructor(settings) { + super(); + this.settings = settings; + } + async read(schema, data) { + return this._read(schema, typeof data === "string" ? JSON.parse(data, jsonReviver) : await parseJsonBody(data, this.serdeContext)); + } + readObject(schema, data) { + return this._read(schema, data); + } + _read(schema$1, value) { + const isObject = value !== null && typeof value === "object"; + const ns = schema.NormalizedSchema.of(schema$1); + if (isObject) { + if (ns.isStructSchema()) { + const record = value; + const union = ns.isUnionSchema(); + const out = {}; + let nameMap = void 0; + const { jsonName } = this.settings; + if (jsonName) { + nameMap = {}; + } + let unionSerde; + if (union) { + unionSerde = new UnionSerde(record, out); + } + for (const [memberName, memberSchema] of ns.structIterator()) { + let fromKey = memberName; + if (jsonName) { + fromKey = memberSchema.getMergedTraits().jsonName ?? fromKey; + nameMap[fromKey] = memberName; + } + if (union) { + unionSerde.mark(fromKey); + } + if (record[fromKey] != null) { + out[memberName] = this._read(memberSchema, record[fromKey]); + } + } + if (union) { + unionSerde.writeUnknown(); + } + else if (typeof record.__type === "string") { + for (const [k, v] of Object.entries(record)) { + const t = jsonName ? nameMap[k] ?? k : k; + if (!(t in out)) { + out[t] = v; + } + } + } + return out; + } + if (Array.isArray(value) && ns.isListSchema()) { + const listMember = ns.getValueSchema(); + const out = []; + for (const item of value) { + out.push(this._read(listMember, item)); + } + return out; + } + if (ns.isMapSchema()) { + const mapMember = ns.getValueSchema(); + const out = {}; + for (const [_k, _v] of Object.entries(value)) { + out[_k] = this._read(mapMember, _v); + } + return out; + } + } + if (ns.isBlobSchema() && typeof value === "string") { + return utilBase64.fromBase64(value); + } + const mediaType = ns.getMergedTraits().mediaType; + if (ns.isStringSchema() && typeof value === "string" && mediaType) { + const isJson = mediaType === "application/json" || mediaType.endsWith("+json"); + if (isJson) { + return serde.LazyJsonString.from(value); + } + return value; + } + if (ns.isTimestampSchema() && value != null) { + const format = protocols.determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + return serde.parseRfc3339DateTimeWithOffset(value); + case 6: + return serde.parseRfc7231DateTime(value); + case 7: + return serde.parseEpochTimestamp(value); + default: + console.warn("Missing timestamp format, parsing value with Date constructor:", value); + return new Date(value); + } + } + if (ns.isBigIntegerSchema() && (typeof value === "number" || typeof value === "string")) { + return BigInt(value); + } + if (ns.isBigDecimalSchema() && value != undefined) { + if (value instanceof serde.NumericValue) { + return value; + } + const untyped = value; + if (untyped.type === "bigDecimal" && "string" in untyped) { + return new serde.NumericValue(untyped.string, untyped.type); + } + return new serde.NumericValue(String(value), "bigDecimal"); + } + if (ns.isNumericSchema() && typeof value === "string") { + switch (value) { + case "Infinity": + return Infinity; + case "-Infinity": + return -Infinity; + case "NaN": + return NaN; + } + return value; + } + if (ns.isDocumentSchema()) { + if (isObject) { + const out = Array.isArray(value) ? [] : {}; + for (const [k, v] of Object.entries(value)) { + if (v instanceof serde.NumericValue) { + out[k] = v; + } + else { + out[k] = this._read(ns, v); + } + } + return out; + } + else { + return structuredClone(value); + } + } + return value; + } +} + +const NUMERIC_CONTROL_CHAR = String.fromCharCode(925); +class JsonReplacer { + values = new Map(); + counter = 0; + stage = 0; + createReplacer() { + if (this.stage === 1) { + throw new Error("@aws-sdk/core/protocols - JsonReplacer already created."); + } + if (this.stage === 2) { + throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted."); + } + this.stage = 1; + return (key, value) => { + if (value instanceof serde.NumericValue) { + const v = `${NUMERIC_CONTROL_CHAR + "nv" + this.counter++}_` + value.string; + this.values.set(`"${v}"`, value.string); + return v; + } + if (typeof value === "bigint") { + const s = value.toString(); + const v = `${NUMERIC_CONTROL_CHAR + "b" + this.counter++}_` + s; + this.values.set(`"${v}"`, s); + return v; + } + return value; + }; + } + replaceInJson(json) { + if (this.stage === 0) { + throw new Error("@aws-sdk/core/protocols - JsonReplacer not created yet."); + } + if (this.stage === 2) { + throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted."); + } + this.stage = 2; + if (this.counter === 0) { + return json; + } + for (const [key, value] of this.values) { + json = json.replace(key, value); + } + return json; + } +} + +class JsonShapeSerializer extends SerdeContextConfig { + settings; + buffer; + useReplacer = false; + rootSchema; + constructor(settings) { + super(); + this.settings = settings; + } + write(schema$1, value) { + this.rootSchema = schema.NormalizedSchema.of(schema$1); + this.buffer = this._write(this.rootSchema, value); + } + writeDiscriminatedDocument(schema$1, value) { + this.write(schema$1, value); + if (typeof this.buffer === "object") { + this.buffer.__type = schema.NormalizedSchema.of(schema$1).getName(true); + } + } + flush() { + const { rootSchema, useReplacer } = this; + this.rootSchema = undefined; + this.useReplacer = false; + if (rootSchema?.isStructSchema() || rootSchema?.isDocumentSchema()) { + if (!useReplacer) { + return JSON.stringify(this.buffer); + } + const replacer = new JsonReplacer(); + return replacer.replaceInJson(JSON.stringify(this.buffer, replacer.createReplacer(), 0)); + } + return this.buffer; + } + _write(schema$1, value, container) { + const isObject = value !== null && typeof value === "object"; + const ns = schema.NormalizedSchema.of(schema$1); + if (isObject) { + if (ns.isStructSchema()) { + const record = value; + const out = {}; + const { jsonName } = this.settings; + let nameMap = void 0; + if (jsonName) { + nameMap = {}; + } + for (const [memberName, memberSchema] of ns.structIterator()) { + const serializableValue = this._write(memberSchema, record[memberName], ns); + if (serializableValue !== undefined) { + let targetKey = memberName; + if (jsonName) { + targetKey = memberSchema.getMergedTraits().jsonName ?? memberName; + nameMap[memberName] = targetKey; + } + out[targetKey] = serializableValue; + } + } + if (ns.isUnionSchema() && Object.keys(out).length === 0) { + const { $unknown } = record; + if (Array.isArray($unknown)) { + const [k, v] = $unknown; + out[k] = this._write(15, v); + } + } + else if (typeof record.__type === "string") { + for (const [k, v] of Object.entries(record)) { + const targetKey = jsonName ? nameMap[k] ?? k : k; + if (!(targetKey in out)) { + out[targetKey] = this._write(15, v); + } + } + } + return out; + } + if (Array.isArray(value) && ns.isListSchema()) { + const listMember = ns.getValueSchema(); + const out = []; + const sparse = !!ns.getMergedTraits().sparse; + for (const item of value) { + if (sparse || item != null) { + out.push(this._write(listMember, item)); + } + } + return out; + } + if (ns.isMapSchema()) { + const mapMember = ns.getValueSchema(); + const out = {}; + const sparse = !!ns.getMergedTraits().sparse; + for (const [_k, _v] of Object.entries(value)) { + if (sparse || _v != null) { + out[_k] = this._write(mapMember, _v); + } + } + return out; + } + if (value instanceof Uint8Array && (ns.isBlobSchema() || ns.isDocumentSchema())) { + if (ns === this.rootSchema) { + return value; + } + return (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value); + } + if (value instanceof Date && (ns.isTimestampSchema() || ns.isDocumentSchema())) { + const format = protocols.determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + return value.toISOString().replace(".000Z", "Z"); + case 6: + return serde.dateToUtcString(value); + case 7: + return value.getTime() / 1000; + default: + console.warn("Missing timestamp format, using epoch seconds", value); + return value.getTime() / 1000; + } + } + if (value instanceof serde.NumericValue) { + this.useReplacer = true; + } + } + if (value === null && container?.isStructSchema()) { + return void 0; + } + if (ns.isStringSchema()) { + if (typeof value === "undefined" && ns.isIdempotencyToken()) { + return serde.generateIdempotencyToken(); + } + const mediaType = ns.getMergedTraits().mediaType; + if (value != null && mediaType) { + const isJson = mediaType === "application/json" || mediaType.endsWith("+json"); + if (isJson) { + return serde.LazyJsonString.from(value); + } + } + return value; + } + if (typeof value === "number" && ns.isNumericSchema()) { + if (Math.abs(value) === Infinity || isNaN(value)) { + return String(value); + } + return value; + } + if (typeof value === "string" && ns.isBlobSchema()) { + if (ns === this.rootSchema) { + return value; + } + return (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value); + } + if (typeof value === "bigint") { + this.useReplacer = true; + } + if (ns.isDocumentSchema()) { + if (isObject) { + const out = Array.isArray(value) ? [] : {}; + for (const [k, v] of Object.entries(value)) { + if (v instanceof serde.NumericValue) { + this.useReplacer = true; + out[k] = v; + } + else { + out[k] = this._write(ns, v); + } + } + return out; + } + else { + return structuredClone(value); + } + } + return value; + } +} + +class JsonCodec extends SerdeContextConfig { + settings; + constructor(settings) { + super(); + this.settings = settings; + } + createSerializer() { + const serializer = new JsonShapeSerializer(this.settings); + serializer.setSerdeContext(this.serdeContext); + return serializer; + } + createDeserializer() { + const deserializer = new JsonShapeDeserializer(this.settings); + deserializer.setSerdeContext(this.serdeContext); + return deserializer; + } +} + +class AwsJsonRpcProtocol extends protocols.RpcProtocol { + serializer; + deserializer; + serviceTarget; + codec; + mixin; + awsQueryCompatible; + constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) { + super({ + defaultNamespace, + errorTypeRegistries, + }); + this.serviceTarget = serviceTarget; + this.codec = + jsonCodec ?? + new JsonCodec({ + timestampFormat: { + useTrait: true, + default: 7, + }, + jsonName: false, + }); + this.serializer = this.codec.createSerializer(); + this.deserializer = this.codec.createDeserializer(); + this.awsQueryCompatible = !!awsQueryCompatible; + this.mixin = new ProtocolLib(this.awsQueryCompatible); + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + if (!request.path.endsWith("/")) { + request.path += "/"; + } + Object.assign(request.headers, { + "content-type": `application/x-amz-json-${this.getJsonRpcVersion()}`, + "x-amz-target": `${this.serviceTarget}.${operationSchema.name}`, + }); + if (this.awsQueryCompatible) { + request.headers["x-amzn-query-mode"] = "true"; + } + if (schema.deref(operationSchema.input) === "unit" || !request.body) { + request.body = "{}"; + } + return request; + } + getPayloadCodec() { + return this.codec; + } + async handleError(operationSchema, context, response, dataObject, metadata) { + if (this.awsQueryCompatible) { + this.mixin.setQueryCompatError(dataObject, response); + } + const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown"; + this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace); + const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined); + const ns = schema.NormalizedSchema.of(errorSchema); + const message = dataObject.message ?? dataObject.Message ?? "UnknownError"; + const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error; + const exception = new ErrorCtor(message); + const output = {}; + for (const [name, member] of ns.structIterator()) { + if (dataObject[name] != null) { + output[name] = this.codec.createDeserializer().readObject(member, dataObject[name]); + } + } + if (this.awsQueryCompatible) { + this.mixin.queryCompatOutput(dataObject, output); + } + throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output), dataObject); + } +} + +class AwsJson1_0Protocol extends AwsJsonRpcProtocol { + constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) { + super({ + defaultNamespace, + errorTypeRegistries, + serviceTarget, + awsQueryCompatible, + jsonCodec, + }); + } + getShapeId() { + return "aws.protocols#awsJson1_0"; + } + getJsonRpcVersion() { + return "1.0"; + } + getDefaultContentType() { + return "application/x-amz-json-1.0"; + } +} + +class AwsJson1_1Protocol extends AwsJsonRpcProtocol { + constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) { + super({ + defaultNamespace, + errorTypeRegistries, + serviceTarget, + awsQueryCompatible, + jsonCodec, + }); + } + getShapeId() { + return "aws.protocols#awsJson1_1"; + } + getJsonRpcVersion() { + return "1.1"; + } + getDefaultContentType() { + return "application/x-amz-json-1.1"; + } +} + +class AwsRestJsonProtocol extends protocols.HttpBindingProtocol { + serializer; + deserializer; + codec; + mixin = new ProtocolLib(); + constructor({ defaultNamespace, errorTypeRegistries, }) { + super({ + defaultNamespace, + errorTypeRegistries, + }); + const settings = { + timestampFormat: { + useTrait: true, + default: 7, + }, + httpBindings: true, + jsonName: true, + }; + this.codec = new JsonCodec(settings); + this.serializer = new protocols.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings); + this.deserializer = new protocols.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings); + } + getShapeId() { + return "aws.protocols#restJson1"; + } + getPayloadCodec() { + return this.codec; + } + setSerdeContext(serdeContext) { + this.codec.setSerdeContext(serdeContext); + super.setSerdeContext(serdeContext); + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + const inputSchema = schema.NormalizedSchema.of(operationSchema.input); + if (!request.headers["content-type"]) { + const contentType = this.mixin.resolveRestContentType(this.getDefaultContentType(), inputSchema); + if (contentType) { + request.headers["content-type"] = contentType; + } + } + if (request.body == null && request.headers["content-type"] === this.getDefaultContentType()) { + request.body = "{}"; + } + return request; + } + async deserializeResponse(operationSchema, context, response) { + const output = await super.deserializeResponse(operationSchema, context, response); + const outputSchema = schema.NormalizedSchema.of(operationSchema.output); + for (const [name, member] of outputSchema.structIterator()) { + if (member.getMemberTraits().httpPayload && !(name in output)) { + output[name] = null; + } + } + return output; + } + async handleError(operationSchema, context, response, dataObject, metadata) { + const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown"; + this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace); + const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata); + const ns = schema.NormalizedSchema.of(errorSchema); + const message = dataObject.message ?? dataObject.Message ?? "UnknownError"; + const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error; + const exception = new ErrorCtor(message); + await this.deserializeHttpMessage(errorSchema, context, response, dataObject); + const output = {}; + for (const [name, member] of ns.structIterator()) { + const target = member.getMergedTraits().jsonName ?? name; + output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]); + } + throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output), dataObject); + } + getDefaultContentType() { + return "application/json"; + } +} + +const awsExpectUnion = (value) => { + if (value == null) { + return undefined; + } + if (typeof value === "object" && "__type" in value) { + delete value.__type; + } + return smithyClient.expectUnion(value); +}; + +class XmlShapeDeserializer extends SerdeContextConfig { + settings; + stringDeserializer; + constructor(settings) { + super(); + this.settings = settings; + this.stringDeserializer = new protocols.FromStringShapeDeserializer(settings); + } + setSerdeContext(serdeContext) { + this.serdeContext = serdeContext; + this.stringDeserializer.setSerdeContext(serdeContext); + } + read(schema$1, bytes, key) { + const ns = schema.NormalizedSchema.of(schema$1); + const memberSchemas = ns.getMemberSchemas(); + const isEventPayload = ns.isStructSchema() && + ns.isMemberSchema() && + !!Object.values(memberSchemas).find((memberNs) => { + return !!memberNs.getMemberTraits().eventPayload; + }); + if (isEventPayload) { + const output = {}; + const memberName = Object.keys(memberSchemas)[0]; + const eventMemberSchema = memberSchemas[memberName]; + if (eventMemberSchema.isBlobSchema()) { + output[memberName] = bytes; + } + else { + output[memberName] = this.read(memberSchemas[memberName], bytes); + } + return output; + } + const xmlString = (this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8)(bytes); + const parsedObject = this.parseXml(xmlString); + return this.readSchema(schema$1, key ? parsedObject[key] : parsedObject); + } + readSchema(_schema, value) { + const ns = schema.NormalizedSchema.of(_schema); + if (ns.isUnitSchema()) { + return; + } + const traits = ns.getMergedTraits(); + if (ns.isListSchema() && !Array.isArray(value)) { + return this.readSchema(ns, [value]); + } + if (value == null) { + return value; + } + if (typeof value === "object") { + const flat = !!traits.xmlFlattened; + if (ns.isListSchema()) { + const listValue = ns.getValueSchema(); + const buffer = []; + const sourceKey = listValue.getMergedTraits().xmlName ?? "member"; + const source = flat ? value : (value[0] ?? value)[sourceKey]; + if (source == null) { + return buffer; + } + const sourceArray = Array.isArray(source) ? source : [source]; + for (const v of sourceArray) { + buffer.push(this.readSchema(listValue, v)); + } + return buffer; + } + const buffer = {}; + if (ns.isMapSchema()) { + const keyNs = ns.getKeySchema(); + const memberNs = ns.getValueSchema(); + let entries; + if (flat) { + entries = Array.isArray(value) ? value : [value]; + } + else { + entries = Array.isArray(value.entry) ? value.entry : [value.entry]; + } + const keyProperty = keyNs.getMergedTraits().xmlName ?? "key"; + const valueProperty = memberNs.getMergedTraits().xmlName ?? "value"; + for (const entry of entries) { + const key = entry[keyProperty]; + const value = entry[valueProperty]; + buffer[key] = this.readSchema(memberNs, value); + } + return buffer; + } + if (ns.isStructSchema()) { + const union = ns.isUnionSchema(); + let unionSerde; + if (union) { + unionSerde = new UnionSerde(value, buffer); + } + for (const [memberName, memberSchema] of ns.structIterator()) { + const memberTraits = memberSchema.getMergedTraits(); + const xmlObjectKey = !memberTraits.httpPayload + ? memberSchema.getMemberTraits().xmlName ?? memberName + : memberTraits.xmlName ?? memberSchema.getName(); + if (union) { + unionSerde.mark(xmlObjectKey); + } + if (value[xmlObjectKey] != null) { + buffer[memberName] = this.readSchema(memberSchema, value[xmlObjectKey]); + } + } + if (union) { + unionSerde.writeUnknown(); + } + return buffer; + } + if (ns.isDocumentSchema()) { + return value; + } + throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${ns.getName(true)}`); + } + if (ns.isListSchema()) { + return []; + } + if (ns.isMapSchema() || ns.isStructSchema()) { + return {}; + } + return this.stringDeserializer.read(ns, value); + } + parseXml(xml) { + if (xml.length) { + let parsedObj; + try { + parsedObj = xmlBuilder.parseXML(xml); + } + catch (e) { + if (e && typeof e === "object") { + Object.defineProperty(e, "$responseBodyText", { + value: xml, + }); + } + throw e; + } + const textNodeName = "#text"; + const key = Object.keys(parsedObj)[0]; + const parsedObjToReturn = parsedObj[key]; + if (parsedObjToReturn[textNodeName]) { + parsedObjToReturn[key] = parsedObjToReturn[textNodeName]; + delete parsedObjToReturn[textNodeName]; + } + return smithyClient.getValueFromTextNode(parsedObjToReturn); + } + return {}; + } +} + +class QueryShapeSerializer extends SerdeContextConfig { + settings; + buffer; + constructor(settings) { + super(); + this.settings = settings; + } + write(schema$1, value, prefix = "") { + if (this.buffer === undefined) { + this.buffer = ""; + } + const ns = schema.NormalizedSchema.of(schema$1); + if (prefix && !prefix.endsWith(".")) { + prefix += "."; + } + if (ns.isBlobSchema()) { + if (typeof value === "string" || value instanceof Uint8Array) { + this.writeKey(prefix); + this.writeValue((this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value)); + } + } + else if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isStringSchema()) { + if (value != null) { + this.writeKey(prefix); + this.writeValue(String(value)); + } + else if (ns.isIdempotencyToken()) { + this.writeKey(prefix); + this.writeValue(serde.generateIdempotencyToken()); + } + } + else if (ns.isBigIntegerSchema()) { + if (value != null) { + this.writeKey(prefix); + this.writeValue(String(value)); + } + } + else if (ns.isBigDecimalSchema()) { + if (value != null) { + this.writeKey(prefix); + this.writeValue(value instanceof serde.NumericValue ? value.string : String(value)); + } + } + else if (ns.isTimestampSchema()) { + if (value instanceof Date) { + this.writeKey(prefix); + const format = protocols.determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + this.writeValue(value.toISOString().replace(".000Z", "Z")); + break; + case 6: + this.writeValue(smithyClient.dateToUtcString(value)); + break; + case 7: + this.writeValue(String(value.getTime() / 1000)); + break; + } + } + } + else if (ns.isDocumentSchema()) { + if (Array.isArray(value)) { + this.write(64 | 15, value, prefix); + } + else if (value instanceof Date) { + this.write(4, value, prefix); + } + else if (value instanceof Uint8Array) { + this.write(21, value, prefix); + } + else if (value && typeof value === "object") { + this.write(128 | 15, value, prefix); + } + else { + this.writeKey(prefix); + this.writeValue(String(value)); + } + } + else if (ns.isListSchema()) { + if (Array.isArray(value)) { + if (value.length === 0) { + if (this.settings.serializeEmptyLists) { + this.writeKey(prefix); + this.writeValue(""); + } + } + else { + const member = ns.getValueSchema(); + const flat = this.settings.flattenLists || ns.getMergedTraits().xmlFlattened; + let i = 1; + for (const item of value) { + if (item == null) { + continue; + } + const traits = member.getMergedTraits(); + const suffix = this.getKey("member", traits.xmlName, traits.ec2QueryName); + const key = flat ? `${prefix}${i}` : `${prefix}${suffix}.${i}`; + this.write(member, item, key); + ++i; + } + } + } + } + else if (ns.isMapSchema()) { + if (value && typeof value === "object") { + const keySchema = ns.getKeySchema(); + const memberSchema = ns.getValueSchema(); + const flat = ns.getMergedTraits().xmlFlattened; + let i = 1; + for (const [k, v] of Object.entries(value)) { + if (v == null) { + continue; + } + const keyTraits = keySchema.getMergedTraits(); + const keySuffix = this.getKey("key", keyTraits.xmlName, keyTraits.ec2QueryName); + const key = flat ? `${prefix}${i}.${keySuffix}` : `${prefix}entry.${i}.${keySuffix}`; + const valTraits = memberSchema.getMergedTraits(); + const valueSuffix = this.getKey("value", valTraits.xmlName, valTraits.ec2QueryName); + const valueKey = flat ? `${prefix}${i}.${valueSuffix}` : `${prefix}entry.${i}.${valueSuffix}`; + this.write(keySchema, k, key); + this.write(memberSchema, v, valueKey); + ++i; + } + } + } + else if (ns.isStructSchema()) { + if (value && typeof value === "object") { + let didWriteMember = false; + for (const [memberName, member] of ns.structIterator()) { + if (value[memberName] == null && !member.isIdempotencyToken()) { + continue; + } + const traits = member.getMergedTraits(); + const suffix = this.getKey(memberName, traits.xmlName, traits.ec2QueryName, "struct"); + const key = `${prefix}${suffix}`; + this.write(member, value[memberName], key); + didWriteMember = true; + } + if (!didWriteMember && ns.isUnionSchema()) { + const { $unknown } = value; + if (Array.isArray($unknown)) { + const [k, v] = $unknown; + const key = `${prefix}${k}`; + this.write(15, v, key); + } + } + } + } + else if (ns.isUnitSchema()) ; + else { + throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${ns.getName(true)}`); + } + } + flush() { + if (this.buffer === undefined) { + throw new Error("@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer."); + } + const str = this.buffer; + delete this.buffer; + return str; + } + getKey(memberName, xmlName, ec2QueryName, keySource) { + const { ec2, capitalizeKeys } = this.settings; + if (ec2 && ec2QueryName) { + return ec2QueryName; + } + const key = xmlName ?? memberName; + if (capitalizeKeys && keySource === "struct") { + return key[0].toUpperCase() + key.slice(1); + } + return key; + } + writeKey(key) { + if (key.endsWith(".")) { + key = key.slice(0, key.length - 1); + } + this.buffer += `&${protocols.extendedEncodeURIComponent(key)}=`; + } + writeValue(value) { + this.buffer += protocols.extendedEncodeURIComponent(value); + } +} + +class AwsQueryProtocol extends protocols.RpcProtocol { + options; + serializer; + deserializer; + mixin = new ProtocolLib(); + constructor(options) { + super({ + defaultNamespace: options.defaultNamespace, + errorTypeRegistries: options.errorTypeRegistries, + }); + this.options = options; + const settings = { + timestampFormat: { + useTrait: true, + default: 5, + }, + httpBindings: false, + xmlNamespace: options.xmlNamespace, + serviceNamespace: options.defaultNamespace, + serializeEmptyLists: true, + }; + this.serializer = new QueryShapeSerializer(settings); + this.deserializer = new XmlShapeDeserializer(settings); + } + getShapeId() { + return "aws.protocols#awsQuery"; + } + setSerdeContext(serdeContext) { + this.serializer.setSerdeContext(serdeContext); + this.deserializer.setSerdeContext(serdeContext); + } + getPayloadCodec() { + throw new Error("AWSQuery protocol has no payload codec."); + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + if (!request.path.endsWith("/")) { + request.path += "/"; + } + Object.assign(request.headers, { + "content-type": `application/x-www-form-urlencoded`, + }); + if (schema.deref(operationSchema.input) === "unit" || !request.body) { + request.body = ""; + } + const action = operationSchema.name.split("#")[1] ?? operationSchema.name; + request.body = `Action=${action}&Version=${this.options.version}` + request.body; + if (request.body.endsWith("&")) { + request.body = request.body.slice(-1); + } + return request; + } + async deserializeResponse(operationSchema, context, response) { + const deserializer = this.deserializer; + const ns = schema.NormalizedSchema.of(operationSchema.output); + const dataObject = {}; + if (response.statusCode >= 300) { + const bytes = await protocols.collectBody(response.body, context); + if (bytes.byteLength > 0) { + Object.assign(dataObject, await deserializer.read(15, bytes)); + } + await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response)); + } + for (const header in response.headers) { + const value = response.headers[header]; + delete response.headers[header]; + response.headers[header.toLowerCase()] = value; + } + const shortName = operationSchema.name.split("#")[1] ?? operationSchema.name; + const awsQueryResultKey = ns.isStructSchema() && this.useNestedResult() ? shortName + "Result" : undefined; + const bytes = await protocols.collectBody(response.body, context); + if (bytes.byteLength > 0) { + Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey)); + } + const output = { + $metadata: this.deserializeMetadata(response), + ...dataObject, + }; + return output; + } + useNestedResult() { + return true; + } + async handleError(operationSchema, context, response, dataObject, metadata) { + const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? "Unknown"; + this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace); + const errorData = this.loadQueryError(dataObject) ?? {}; + const message = this.loadQueryErrorMessage(dataObject); + errorData.message = message; + errorData.Error = { + Type: errorData.Type, + Code: errorData.Code, + Message: message, + }; + const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, errorData, metadata, this.mixin.findQueryCompatibleError); + const ns = schema.NormalizedSchema.of(errorSchema); + const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error; + const exception = new ErrorCtor(message); + const output = { + Type: errorData.Error.Type, + Code: errorData.Error.Code, + Error: errorData.Error, + }; + for (const [name, member] of ns.structIterator()) { + const target = member.getMergedTraits().xmlName ?? name; + const value = errorData[target] ?? dataObject[target]; + output[name] = this.deserializer.readSchema(member, value); + } + throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output), dataObject); + } + loadQueryErrorCode(output, data) { + const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code; + if (code !== undefined) { + return code; + } + if (output.statusCode == 404) { + return "NotFound"; + } + } + loadQueryError(data) { + return data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error; + } + loadQueryErrorMessage(data) { + const errorData = this.loadQueryError(data); + return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? "Unknown"; + } + getDefaultContentType() { + return "application/x-www-form-urlencoded"; + } +} + +class AwsEc2QueryProtocol extends AwsQueryProtocol { + options; + constructor(options) { + super(options); + this.options = options; + const ec2Settings = { + capitalizeKeys: true, + flattenLists: true, + serializeEmptyLists: false, + ec2: true, + }; + Object.assign(this.serializer.settings, ec2Settings); + } + getShapeId() { + return "aws.protocols#ec2Query"; + } + useNestedResult() { + return false; + } +} + +const parseXmlBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { + if (encoded.length) { + let parsedObj; + try { + parsedObj = xmlBuilder.parseXML(encoded); + } + catch (e) { + if (e && typeof e === "object") { + Object.defineProperty(e, "$responseBodyText", { + value: encoded, + }); + } + throw e; + } + const textNodeName = "#text"; + const key = Object.keys(parsedObj)[0]; + const parsedObjToReturn = parsedObj[key]; + if (parsedObjToReturn[textNodeName]) { + parsedObjToReturn[key] = parsedObjToReturn[textNodeName]; + delete parsedObjToReturn[textNodeName]; + } + return smithyClient.getValueFromTextNode(parsedObjToReturn); + } + return {}; +}); +const parseXmlErrorBody = async (errorBody, context) => { + const value = await parseXmlBody(errorBody, context); + if (value.Error) { + value.Error.message = value.Error.message ?? value.Error.Message; + } + return value; +}; +const loadRestXmlErrorCode = (output, data) => { + if (data?.Error?.Code !== undefined) { + return data.Error.Code; + } + if (data?.Code !== undefined) { + return data.Code; + } + if (output.statusCode == 404) { + return "NotFound"; + } +}; + +class XmlShapeSerializer extends SerdeContextConfig { + settings; + stringBuffer; + byteBuffer; + buffer; + constructor(settings) { + super(); + this.settings = settings; + } + write(schema$1, value) { + const ns = schema.NormalizedSchema.of(schema$1); + if (ns.isStringSchema() && typeof value === "string") { + this.stringBuffer = value; + } + else if (ns.isBlobSchema()) { + this.byteBuffer = + "byteLength" in value + ? value + : (this.serdeContext?.base64Decoder ?? utilBase64.fromBase64)(value); + } + else { + this.buffer = this.writeStruct(ns, value, undefined); + const traits = ns.getMergedTraits(); + if (traits.httpPayload && !traits.xmlName) { + this.buffer.withName(ns.getName()); + } + } + } + flush() { + if (this.byteBuffer !== undefined) { + const bytes = this.byteBuffer; + delete this.byteBuffer; + return bytes; + } + if (this.stringBuffer !== undefined) { + const str = this.stringBuffer; + delete this.stringBuffer; + return str; + } + const buffer = this.buffer; + if (this.settings.xmlNamespace) { + if (!buffer?.attributes?.["xmlns"]) { + buffer.addAttribute("xmlns", this.settings.xmlNamespace); + } + } + delete this.buffer; + return buffer.toString(); + } + writeStruct(ns, value, parentXmlns) { + const traits = ns.getMergedTraits(); + const name = ns.isMemberSchema() && !traits.httpPayload + ? ns.getMemberTraits().xmlName ?? ns.getMemberName() + : traits.xmlName ?? ns.getName(); + if (!name || !ns.isStructSchema()) { + throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${ns.getName(true)}.`); + } + const structXmlNode = xmlBuilder.XmlNode.of(name); + const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns); + for (const [memberName, memberSchema] of ns.structIterator()) { + const val = value[memberName]; + if (val != null || memberSchema.isIdempotencyToken()) { + if (memberSchema.getMergedTraits().xmlAttribute) { + structXmlNode.addAttribute(memberSchema.getMergedTraits().xmlName ?? memberName, this.writeSimple(memberSchema, val)); + continue; + } + if (memberSchema.isListSchema()) { + this.writeList(memberSchema, val, structXmlNode, xmlns); + } + else if (memberSchema.isMapSchema()) { + this.writeMap(memberSchema, val, structXmlNode, xmlns); + } + else if (memberSchema.isStructSchema()) { + structXmlNode.addChildNode(this.writeStruct(memberSchema, val, xmlns)); + } + else { + const memberNode = xmlBuilder.XmlNode.of(memberSchema.getMergedTraits().xmlName ?? memberSchema.getMemberName()); + this.writeSimpleInto(memberSchema, val, memberNode, xmlns); + structXmlNode.addChildNode(memberNode); + } + } + } + const { $unknown } = value; + if ($unknown && ns.isUnionSchema() && Array.isArray($unknown) && Object.keys(value).length === 1) { + const [k, v] = $unknown; + const node = xmlBuilder.XmlNode.of(k); + if (typeof v !== "string") { + if (value instanceof xmlBuilder.XmlNode || value instanceof xmlBuilder.XmlText) { + structXmlNode.addChildNode(value); + } + else { + throw new Error(`@aws-sdk - $unknown union member in XML requires ` + + `value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.`); + } + } + this.writeSimpleInto(0, v, node, xmlns); + structXmlNode.addChildNode(node); + } + if (xmlns) { + structXmlNode.addAttribute(xmlnsAttr, xmlns); + } + return structXmlNode; + } + writeList(listMember, array, container, parentXmlns) { + if (!listMember.isMemberSchema()) { + throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${listMember.getName(true)}`); + } + const listTraits = listMember.getMergedTraits(); + const listValueSchema = listMember.getValueSchema(); + const listValueTraits = listValueSchema.getMergedTraits(); + const sparse = !!listValueTraits.sparse; + const flat = !!listTraits.xmlFlattened; + const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(listMember, parentXmlns); + const writeItem = (container, value) => { + if (listValueSchema.isListSchema()) { + this.writeList(listValueSchema, Array.isArray(value) ? value : [value], container, xmlns); + } + else if (listValueSchema.isMapSchema()) { + this.writeMap(listValueSchema, value, container, xmlns); + } + else if (listValueSchema.isStructSchema()) { + const struct = this.writeStruct(listValueSchema, value, xmlns); + container.addChildNode(struct.withName(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? "member")); + } + else { + const listItemNode = xmlBuilder.XmlNode.of(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? "member"); + this.writeSimpleInto(listValueSchema, value, listItemNode, xmlns); + container.addChildNode(listItemNode); + } + }; + if (flat) { + for (const value of array) { + if (sparse || value != null) { + writeItem(container, value); + } + } + } + else { + const listNode = xmlBuilder.XmlNode.of(listTraits.xmlName ?? listMember.getMemberName()); + if (xmlns) { + listNode.addAttribute(xmlnsAttr, xmlns); + } + for (const value of array) { + if (sparse || value != null) { + writeItem(listNode, value); + } + } + container.addChildNode(listNode); + } + } + writeMap(mapMember, map, container, parentXmlns, containerIsMap = false) { + if (!mapMember.isMemberSchema()) { + throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${mapMember.getName(true)}`); + } + const mapTraits = mapMember.getMergedTraits(); + const mapKeySchema = mapMember.getKeySchema(); + const mapKeyTraits = mapKeySchema.getMergedTraits(); + const keyTag = mapKeyTraits.xmlName ?? "key"; + const mapValueSchema = mapMember.getValueSchema(); + const mapValueTraits = mapValueSchema.getMergedTraits(); + const valueTag = mapValueTraits.xmlName ?? "value"; + const sparse = !!mapValueTraits.sparse; + const flat = !!mapTraits.xmlFlattened; + const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(mapMember, parentXmlns); + const addKeyValue = (entry, key, val) => { + const keyNode = xmlBuilder.XmlNode.of(keyTag, key); + const [keyXmlnsAttr, keyXmlns] = this.getXmlnsAttribute(mapKeySchema, xmlns); + if (keyXmlns) { + keyNode.addAttribute(keyXmlnsAttr, keyXmlns); + } + entry.addChildNode(keyNode); + let valueNode = xmlBuilder.XmlNode.of(valueTag); + if (mapValueSchema.isListSchema()) { + this.writeList(mapValueSchema, val, valueNode, xmlns); + } + else if (mapValueSchema.isMapSchema()) { + this.writeMap(mapValueSchema, val, valueNode, xmlns, true); + } + else if (mapValueSchema.isStructSchema()) { + valueNode = this.writeStruct(mapValueSchema, val, xmlns); + } + else { + this.writeSimpleInto(mapValueSchema, val, valueNode, xmlns); + } + entry.addChildNode(valueNode); + }; + if (flat) { + for (const [key, val] of Object.entries(map)) { + if (sparse || val != null) { + const entry = xmlBuilder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName()); + addKeyValue(entry, key, val); + container.addChildNode(entry); + } + } + } + else { + let mapNode; + if (!containerIsMap) { + mapNode = xmlBuilder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName()); + if (xmlns) { + mapNode.addAttribute(xmlnsAttr, xmlns); + } + container.addChildNode(mapNode); + } + for (const [key, val] of Object.entries(map)) { + if (sparse || val != null) { + const entry = xmlBuilder.XmlNode.of("entry"); + addKeyValue(entry, key, val); + (containerIsMap ? container : mapNode).addChildNode(entry); + } + } + } + } + writeSimple(_schema, value) { + if (null === value) { + throw new Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value."); + } + const ns = schema.NormalizedSchema.of(_schema); + let nodeContents = null; + if (value && typeof value === "object") { + if (ns.isBlobSchema()) { + nodeContents = (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value); + } + else if (ns.isTimestampSchema() && value instanceof Date) { + const format = protocols.determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + nodeContents = value.toISOString().replace(".000Z", "Z"); + break; + case 6: + nodeContents = smithyClient.dateToUtcString(value); + break; + case 7: + nodeContents = String(value.getTime() / 1000); + break; + default: + console.warn("Missing timestamp format, using http date", value); + nodeContents = smithyClient.dateToUtcString(value); + break; + } + } + else if (ns.isBigDecimalSchema() && value) { + if (value instanceof serde.NumericValue) { + return value.string; + } + return String(value); + } + else if (ns.isMapSchema() || ns.isListSchema()) { + throw new Error("@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead."); + } + else { + throw new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(true)}`); + } + } + if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) { + nodeContents = String(value); + } + if (ns.isStringSchema()) { + if (value === undefined && ns.isIdempotencyToken()) { + nodeContents = serde.generateIdempotencyToken(); + } + else { + nodeContents = String(value); + } + } + if (nodeContents === null) { + throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`); + } + return nodeContents; + } + writeSimpleInto(_schema, value, into, parentXmlns) { + const nodeContents = this.writeSimple(_schema, value); + const ns = schema.NormalizedSchema.of(_schema); + const content = new xmlBuilder.XmlText(nodeContents); + const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns); + if (xmlns) { + into.addAttribute(xmlnsAttr, xmlns); + } + into.addChildNode(content); + } + getXmlnsAttribute(ns, parentXmlns) { + const traits = ns.getMergedTraits(); + const [prefix, xmlns] = traits.xmlNamespace ?? []; + if (xmlns && xmlns !== parentXmlns) { + return [prefix ? `xmlns:${prefix}` : "xmlns", xmlns]; + } + return [void 0, void 0]; + } +} + +class XmlCodec extends SerdeContextConfig { + settings; + constructor(settings) { + super(); + this.settings = settings; + } + createSerializer() { + const serializer = new XmlShapeSerializer(this.settings); + serializer.setSerdeContext(this.serdeContext); + return serializer; + } + createDeserializer() { + const deserializer = new XmlShapeDeserializer(this.settings); + deserializer.setSerdeContext(this.serdeContext); + return deserializer; + } +} + +class AwsRestXmlProtocol extends protocols.HttpBindingProtocol { + codec; + serializer; + deserializer; + mixin = new ProtocolLib(); + constructor(options) { + super(options); + const settings = { + timestampFormat: { + useTrait: true, + default: 5, + }, + httpBindings: true, + xmlNamespace: options.xmlNamespace, + serviceNamespace: options.defaultNamespace, + }; + this.codec = new XmlCodec(settings); + this.serializer = new protocols.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings); + this.deserializer = new protocols.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings); + this.compositeErrorRegistry; + } + getPayloadCodec() { + return this.codec; + } + getShapeId() { + return "aws.protocols#restXml"; + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + const inputSchema = schema.NormalizedSchema.of(operationSchema.input); + if (!request.headers["content-type"]) { + const contentType = this.mixin.resolveRestContentType(this.getDefaultContentType(), inputSchema); + if (contentType) { + request.headers["content-type"] = contentType; + } + } + if (typeof request.body === "string" && + request.headers["content-type"] === this.getDefaultContentType() && + !request.body.startsWith("' + request.body; + } + return request; + } + async deserializeResponse(operationSchema, context, response) { + return super.deserializeResponse(operationSchema, context, response); + } + async handleError(operationSchema, context, response, dataObject, metadata) { + const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? "Unknown"; + this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace); + if (dataObject.Error && typeof dataObject.Error === "object") { + for (const key of Object.keys(dataObject.Error)) { + dataObject[key] = dataObject.Error[key]; + if (key.toLowerCase() === "message") { + dataObject.message = dataObject.Error[key]; + } + } + } + if (dataObject.RequestId && !metadata.requestId) { + metadata.requestId = dataObject.RequestId; + } + const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata); + const ns = schema.NormalizedSchema.of(errorSchema); + const message = dataObject.Error?.message ?? + dataObject.Error?.Message ?? + dataObject.message ?? + dataObject.Message ?? + "UnknownError"; + const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error; + const exception = new ErrorCtor(message); + await this.deserializeHttpMessage(errorSchema, context, response, dataObject); + const output = {}; + for (const [name, member] of ns.structIterator()) { + const target = member.getMergedTraits().xmlName ?? name; + const value = dataObject.Error?.[target] ?? dataObject[target]; + output[name] = this.codec.createDeserializer().readSchema(member, value); + } + throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output), dataObject); + } + getDefaultContentType() { + return "application/xml"; + } + hasUnstructuredPayloadBinding(ns) { + for (const [, member] of ns.structIterator()) { + if (member.getMergedTraits().httpPayload) { + return !(member.isStructSchema() || member.isMapSchema() || member.isListSchema()); + } + } + return false; + } +} + +exports.AWSSDKSigV4Signer = AWSSDKSigV4Signer; +exports.AwsEc2QueryProtocol = AwsEc2QueryProtocol; +exports.AwsJson1_0Protocol = AwsJson1_0Protocol; +exports.AwsJson1_1Protocol = AwsJson1_1Protocol; +exports.AwsJsonRpcProtocol = AwsJsonRpcProtocol; +exports.AwsQueryProtocol = AwsQueryProtocol; +exports.AwsRestJsonProtocol = AwsRestJsonProtocol; +exports.AwsRestXmlProtocol = AwsRestXmlProtocol; +exports.AwsSdkSigV4ASigner = AwsSdkSigV4ASigner; +exports.AwsSdkSigV4Signer = AwsSdkSigV4Signer; +exports.AwsSmithyRpcV2CborProtocol = AwsSmithyRpcV2CborProtocol; +exports.JsonCodec = JsonCodec; +exports.JsonShapeDeserializer = JsonShapeDeserializer; +exports.JsonShapeSerializer = JsonShapeSerializer; +exports.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = NODE_AUTH_SCHEME_PREFERENCE_OPTIONS; +exports.NODE_SIGV4A_CONFIG_OPTIONS = NODE_SIGV4A_CONFIG_OPTIONS; +exports.QueryShapeSerializer = QueryShapeSerializer; +exports.XmlCodec = XmlCodec; +exports.XmlShapeDeserializer = XmlShapeDeserializer; +exports.XmlShapeSerializer = XmlShapeSerializer; +exports._toBool = _toBool; +exports._toNum = _toNum; +exports._toStr = _toStr; +exports.awsExpectUnion = awsExpectUnion; +exports.emitWarningIfUnsupportedVersion = emitWarningIfUnsupportedVersion; +exports.getBearerTokenEnvKey = getBearerTokenEnvKey; +exports.loadRestJsonErrorCode = loadRestJsonErrorCode; +exports.loadRestXmlErrorCode = loadRestXmlErrorCode; +exports.parseJsonBody = parseJsonBody; +exports.parseJsonErrorBody = parseJsonErrorBody; +exports.parseXmlBody = parseXmlBody; +exports.parseXmlErrorBody = parseXmlErrorBody; +exports.resolveAWSSDKSigV4Config = resolveAWSSDKSigV4Config; +exports.resolveAwsSdkSigV4AConfig = resolveAwsSdkSigV4AConfig; +exports.resolveAwsSdkSigV4Config = resolveAwsSdkSigV4Config; +exports.setCredentialFeature = setCredentialFeature; +exports.setFeature = setFeature; +exports.setTokenFeature = setTokenFeature; +exports.state = state; +exports.validateSigningProperties = validateSigningProperties; diff --git a/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js b/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js new file mode 100644 index 0000000..5016c37 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js @@ -0,0 +1,55 @@ +'use strict'; + +var utilMiddleware = require('@smithy/util-middleware'); + +const DEFAULT_ACCOUNT_ID_ENDPOINT_MODE = "preferred"; +const ACCOUNT_ID_ENDPOINT_MODE_VALUES = ["disabled", "preferred", "required"]; +function validateAccountIdEndpointMode(value) { + return ACCOUNT_ID_ENDPOINT_MODE_VALUES.includes(value); +} + +const resolveAccountIdEndpointModeConfig = (input) => { + const { accountIdEndpointMode } = input; + const accountIdEndpointModeProvider = utilMiddleware.normalizeProvider(accountIdEndpointMode ?? DEFAULT_ACCOUNT_ID_ENDPOINT_MODE); + return Object.assign(input, { + accountIdEndpointMode: async () => { + const accIdMode = await accountIdEndpointModeProvider(); + if (!validateAccountIdEndpointMode(accIdMode)) { + throw new Error(`Invalid value for accountIdEndpointMode: ${accIdMode}. Valid values are: "required", "preferred", "disabled".`); + } + return accIdMode; + }, + }); +}; + +const err = "Invalid AccountIdEndpointMode value"; +const _throw = (message) => { + throw new Error(message); +}; +const ENV_ACCOUNT_ID_ENDPOINT_MODE = "AWS_ACCOUNT_ID_ENDPOINT_MODE"; +const CONFIG_ACCOUNT_ID_ENDPOINT_MODE = "account_id_endpoint_mode"; +const NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => { + const value = env[ENV_ACCOUNT_ID_ENDPOINT_MODE]; + if (value && !validateAccountIdEndpointMode(value)) { + _throw(err); + } + return value; + }, + configFileSelector: (profile) => { + const value = profile[CONFIG_ACCOUNT_ID_ENDPOINT_MODE]; + if (value && !validateAccountIdEndpointMode(value)) { + _throw(err); + } + return value; + }, + default: DEFAULT_ACCOUNT_ID_ENDPOINT_MODE, +}; + +exports.ACCOUNT_ID_ENDPOINT_MODE_VALUES = ACCOUNT_ID_ENDPOINT_MODE_VALUES; +exports.CONFIG_ACCOUNT_ID_ENDPOINT_MODE = CONFIG_ACCOUNT_ID_ENDPOINT_MODE; +exports.DEFAULT_ACCOUNT_ID_ENDPOINT_MODE = DEFAULT_ACCOUNT_ID_ENDPOINT_MODE; +exports.ENV_ACCOUNT_ID_ENDPOINT_MODE = ENV_ACCOUNT_ID_ENDPOINT_MODE; +exports.NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS = NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS; +exports.resolveAccountIdEndpointModeConfig = resolveAccountIdEndpointModeConfig; +exports.validateAccountIdEndpointMode = validateAccountIdEndpointMode; diff --git a/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js b/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js new file mode 100644 index 0000000..ac64112 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js @@ -0,0 +1,51 @@ +'use strict'; + +const state = { + warningEmitted: false, +}; +const emitWarningIfUnsupportedVersion = (version) => { + if (version && !state.warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 20) { + state.warningEmitted = true; + process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will +no longer support Node.js ${version} in January 2026. + +To continue receiving updates to AWS services, bug fixes, and security +updates please upgrade to a supported Node.js LTS version. + +More information can be found at: https://a.co/c895JFp`); + } +}; + +function setCredentialFeature(credentials, feature, value) { + if (!credentials.$source) { + credentials.$source = {}; + } + credentials.$source[feature] = value; + return credentials; +} + +function setFeature(context, feature, value) { + if (!context.__aws_sdk_context) { + context.__aws_sdk_context = { + features: {}, + }; + } + else if (!context.__aws_sdk_context.features) { + context.__aws_sdk_context.features = {}; + } + context.__aws_sdk_context.features[feature] = value; +} + +function setTokenFeature(token, feature, value) { + if (!token.$source) { + token.$source = {}; + } + token.$source[feature] = value; + return token; +} + +exports.emitWarningIfUnsupportedVersion = emitWarningIfUnsupportedVersion; +exports.setCredentialFeature = setCredentialFeature; +exports.setFeature = setFeature; +exports.setTokenFeature = setTokenFeature; +exports.state = state; diff --git a/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js b/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js new file mode 100644 index 0000000..26b6301 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js @@ -0,0 +1,307 @@ +'use strict'; + +var protocolHttp = require('@smithy/protocol-http'); +var core = require('@smithy/core'); +var propertyProvider = require('@smithy/property-provider'); +var client = require('@aws-sdk/core/client'); +var signatureV4 = require('@smithy/signature-v4'); + +const getDateHeader = (response) => protocolHttp.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : undefined; + +const getSkewCorrectedDate = (systemClockOffset) => new Date(Date.now() + systemClockOffset); + +const isClockSkewed = (clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 300000; + +const getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset) => { + const clockTimeInMs = Date.parse(clockTime); + if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) { + return clockTimeInMs - Date.now(); + } + return currentSystemClockOffset; +}; + +const throwSigningPropertyError = (name, property) => { + if (!property) { + throw new Error(`Property \`${name}\` is not resolved for AWS SDK SigV4Auth`); + } + return property; +}; +const validateSigningProperties = async (signingProperties) => { + const context = throwSigningPropertyError("context", signingProperties.context); + const config = throwSigningPropertyError("config", signingProperties.config); + const authScheme = context.endpointV2?.properties?.authSchemes?.[0]; + const signerFunction = throwSigningPropertyError("signer", config.signer); + const signer = await signerFunction(authScheme); + const signingRegion = signingProperties?.signingRegion; + const signingRegionSet = signingProperties?.signingRegionSet; + const signingName = signingProperties?.signingName; + return { + config, + signer, + signingRegion, + signingRegionSet, + signingName, + }; +}; +class AwsSdkSigV4Signer { + async sign(httpRequest, identity, signingProperties) { + if (!protocolHttp.HttpRequest.isInstance(httpRequest)) { + throw new Error("The request is not an instance of `HttpRequest` and cannot be signed"); + } + const validatedProps = await validateSigningProperties(signingProperties); + const { config, signer } = validatedProps; + let { signingRegion, signingName } = validatedProps; + const handlerExecutionContext = signingProperties.context; + if (handlerExecutionContext?.authSchemes?.length ?? 0 > 1) { + const [first, second] = handlerExecutionContext.authSchemes; + if (first?.name === "sigv4a" && second?.name === "sigv4") { + signingRegion = second?.signingRegion ?? signingRegion; + signingName = second?.signingName ?? signingName; + } + } + const signedRequest = await signer.sign(httpRequest, { + signingDate: getSkewCorrectedDate(config.systemClockOffset), + signingRegion: signingRegion, + signingService: signingName, + }); + return signedRequest; + } + errorHandler(signingProperties) { + return (error) => { + const serverTime = error.ServerTime ?? getDateHeader(error.$response); + if (serverTime) { + const config = throwSigningPropertyError("config", signingProperties.config); + const initialSystemClockOffset = config.systemClockOffset; + config.systemClockOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset); + const clockSkewCorrected = config.systemClockOffset !== initialSystemClockOffset; + if (clockSkewCorrected && error.$metadata) { + error.$metadata.clockSkewCorrected = true; + } + } + throw error; + }; + } + successHandler(httpResponse, signingProperties) { + const dateHeader = getDateHeader(httpResponse); + if (dateHeader) { + const config = throwSigningPropertyError("config", signingProperties.config); + config.systemClockOffset = getUpdatedSystemClockOffset(dateHeader, config.systemClockOffset); + } + } +} +const AWSSDKSigV4Signer = AwsSdkSigV4Signer; + +class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer { + async sign(httpRequest, identity, signingProperties) { + if (!protocolHttp.HttpRequest.isInstance(httpRequest)) { + throw new Error("The request is not an instance of `HttpRequest` and cannot be signed"); + } + const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties(signingProperties); + const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.(); + const multiRegionOverride = (configResolvedSigningRegionSet ?? + signingRegionSet ?? [signingRegion]).join(","); + const signedRequest = await signer.sign(httpRequest, { + signingDate: getSkewCorrectedDate(config.systemClockOffset), + signingRegion: multiRegionOverride, + signingService: signingName, + }); + return signedRequest; + } +} + +const getArrayForCommaSeparatedString = (str) => typeof str === "string" && str.length > 0 ? str.split(",").map((item) => item.trim()) : []; + +const getBearerTokenEnvKey = (signingName) => `AWS_BEARER_TOKEN_${signingName.replace(/[\s-]/g, "_").toUpperCase()}`; + +const NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = "AWS_AUTH_SCHEME_PREFERENCE"; +const NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = "auth_scheme_preference"; +const NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = { + environmentVariableSelector: (env, options) => { + if (options?.signingName) { + const bearerTokenKey = getBearerTokenEnvKey(options.signingName); + if (bearerTokenKey in env) + return ["httpBearerAuth"]; + } + if (!(NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY in env)) + return undefined; + return getArrayForCommaSeparatedString(env[NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY]); + }, + configFileSelector: (profile) => { + if (!(NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY in profile)) + return undefined; + return getArrayForCommaSeparatedString(profile[NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY]); + }, + default: [], +}; + +const resolveAwsSdkSigV4AConfig = (config) => { + config.sigv4aSigningRegionSet = core.normalizeProvider(config.sigv4aSigningRegionSet); + return config; +}; +const NODE_SIGV4A_CONFIG_OPTIONS = { + environmentVariableSelector(env) { + if (env.AWS_SIGV4A_SIGNING_REGION_SET) { + return env.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((_) => _.trim()); + } + throw new propertyProvider.ProviderError("AWS_SIGV4A_SIGNING_REGION_SET not set in env.", { + tryNextLink: true, + }); + }, + configFileSelector(profile) { + if (profile.sigv4a_signing_region_set) { + return (profile.sigv4a_signing_region_set ?? "").split(",").map((_) => _.trim()); + } + throw new propertyProvider.ProviderError("sigv4a_signing_region_set not set in profile.", { + tryNextLink: true, + }); + }, + default: undefined, +}; + +const resolveAwsSdkSigV4Config = (config) => { + let inputCredentials = config.credentials; + let isUserSupplied = !!config.credentials; + let resolvedCredentials = undefined; + Object.defineProperty(config, "credentials", { + set(credentials) { + if (credentials && credentials !== inputCredentials && credentials !== resolvedCredentials) { + isUserSupplied = true; + } + inputCredentials = credentials; + const memoizedProvider = normalizeCredentialProvider(config, { + credentials: inputCredentials, + credentialDefaultProvider: config.credentialDefaultProvider, + }); + const boundProvider = bindCallerConfig(config, memoizedProvider); + if (isUserSupplied && !boundProvider.attributed) { + const isCredentialObject = typeof inputCredentials === "object" && inputCredentials !== null; + resolvedCredentials = async (options) => { + const creds = await boundProvider(options); + const attributedCreds = creds; + if (isCredentialObject && (!attributedCreds.$source || Object.keys(attributedCreds.$source).length === 0)) { + return client.setCredentialFeature(attributedCreds, "CREDENTIALS_CODE", "e"); + } + return attributedCreds; + }; + resolvedCredentials.memoized = boundProvider.memoized; + resolvedCredentials.configBound = boundProvider.configBound; + resolvedCredentials.attributed = true; + } + else { + resolvedCredentials = boundProvider; + } + }, + get() { + return resolvedCredentials; + }, + enumerable: true, + configurable: true, + }); + config.credentials = inputCredentials; + const { signingEscapePath = true, systemClockOffset = config.systemClockOffset || 0, sha256, } = config; + let signer; + if (config.signer) { + signer = core.normalizeProvider(config.signer); + } + else if (config.regionInfoProvider) { + signer = () => core.normalizeProvider(config.region)() + .then(async (region) => [ + (await config.regionInfoProvider(region, { + useFipsEndpoint: await config.useFipsEndpoint(), + useDualstackEndpoint: await config.useDualstackEndpoint(), + })) || {}, + region, + ]) + .then(([regionInfo, region]) => { + const { signingRegion, signingService } = regionInfo; + config.signingRegion = config.signingRegion || signingRegion || region; + config.signingName = config.signingName || signingService || config.serviceId; + const params = { + ...config, + credentials: config.credentials, + region: config.signingRegion, + service: config.signingName, + sha256, + uriEscapePath: signingEscapePath, + }; + const SignerCtor = config.signerConstructor || signatureV4.SignatureV4; + return new SignerCtor(params); + }); + } + else { + signer = async (authScheme) => { + authScheme = Object.assign({}, { + name: "sigv4", + signingName: config.signingName || config.defaultSigningName, + signingRegion: await core.normalizeProvider(config.region)(), + properties: {}, + }, authScheme); + const signingRegion = authScheme.signingRegion; + const signingService = authScheme.signingName; + config.signingRegion = config.signingRegion || signingRegion; + config.signingName = config.signingName || signingService || config.serviceId; + const params = { + ...config, + credentials: config.credentials, + region: config.signingRegion, + service: config.signingName, + sha256, + uriEscapePath: signingEscapePath, + }; + const SignerCtor = config.signerConstructor || signatureV4.SignatureV4; + return new SignerCtor(params); + }; + } + const resolvedConfig = Object.assign(config, { + systemClockOffset, + signingEscapePath, + signer, + }); + return resolvedConfig; +}; +const resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config; +function normalizeCredentialProvider(config, { credentials, credentialDefaultProvider, }) { + let credentialsProvider; + if (credentials) { + if (!credentials?.memoized) { + credentialsProvider = core.memoizeIdentityProvider(credentials, core.isIdentityExpired, core.doesIdentityRequireRefresh); + } + else { + credentialsProvider = credentials; + } + } + else { + if (credentialDefaultProvider) { + credentialsProvider = core.normalizeProvider(credentialDefaultProvider(Object.assign({}, config, { + parentClientConfig: config, + }))); + } + else { + credentialsProvider = async () => { + throw new Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured."); + }; + } + } + credentialsProvider.memoized = true; + return credentialsProvider; +} +function bindCallerConfig(config, credentialsProvider) { + if (credentialsProvider.configBound) { + return credentialsProvider; + } + const fn = async (options) => credentialsProvider({ ...options, callerClientConfig: config }); + fn.memoized = credentialsProvider.memoized; + fn.configBound = true; + return fn; +} + +exports.AWSSDKSigV4Signer = AWSSDKSigV4Signer; +exports.AwsSdkSigV4ASigner = AwsSdkSigV4ASigner; +exports.AwsSdkSigV4Signer = AwsSdkSigV4Signer; +exports.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = NODE_AUTH_SCHEME_PREFERENCE_OPTIONS; +exports.NODE_SIGV4A_CONFIG_OPTIONS = NODE_SIGV4A_CONFIG_OPTIONS; +exports.getBearerTokenEnvKey = getBearerTokenEnvKey; +exports.resolveAWSSDKSigV4Config = resolveAWSSDKSigV4Config; +exports.resolveAwsSdkSigV4AConfig = resolveAwsSdkSigV4AConfig; +exports.resolveAwsSdkSigV4Config = resolveAwsSdkSigV4Config; +exports.validateSigningProperties = validateSigningProperties; diff --git a/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js b/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js new file mode 100644 index 0000000..fede8ac --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js @@ -0,0 +1,1892 @@ +'use strict'; + +var cbor = require('@smithy/core/cbor'); +var schema = require('@smithy/core/schema'); +var smithyClient = require('@smithy/smithy-client'); +var protocols = require('@smithy/core/protocols'); +var serde = require('@smithy/core/serde'); +var utilBase64 = require('@smithy/util-base64'); +var utilUtf8 = require('@smithy/util-utf8'); +var xmlBuilder = require('@aws-sdk/xml-builder'); + +class ProtocolLib { + queryCompat; + errorRegistry; + constructor(queryCompat = false) { + this.queryCompat = queryCompat; + } + resolveRestContentType(defaultContentType, inputSchema) { + const members = inputSchema.getMemberSchemas(); + const httpPayloadMember = Object.values(members).find((m) => { + return !!m.getMergedTraits().httpPayload; + }); + if (httpPayloadMember) { + const mediaType = httpPayloadMember.getMergedTraits().mediaType; + if (mediaType) { + return mediaType; + } + else if (httpPayloadMember.isStringSchema()) { + return "text/plain"; + } + else if (httpPayloadMember.isBlobSchema()) { + return "application/octet-stream"; + } + else { + return defaultContentType; + } + } + else if (!inputSchema.isUnitSchema()) { + const hasBody = Object.values(members).find((m) => { + const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits(); + const noPrefixHeaders = httpPrefixHeaders === void 0; + return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && noPrefixHeaders; + }); + if (hasBody) { + return defaultContentType; + } + } + } + async getErrorSchemaOrThrowBaseException(errorIdentifier, defaultNamespace, response, dataObject, metadata, getErrorSchema) { + let errorName = errorIdentifier; + if (errorIdentifier.includes("#")) { + [, errorName] = errorIdentifier.split("#"); + } + const errorMetadata = { + $metadata: metadata, + $fault: response.statusCode < 500 ? "client" : "server", + }; + if (!this.errorRegistry) { + throw new Error("@aws-sdk/core/protocols - error handler not initialized."); + } + try { + const errorSchema = getErrorSchema?.(this.errorRegistry, errorName) ?? + this.errorRegistry.getSchema(errorIdentifier); + return { errorSchema, errorMetadata }; + } + catch (e) { + dataObject.message = dataObject.message ?? dataObject.Message ?? "UnknownError"; + const synthetic = this.errorRegistry; + const baseExceptionSchema = synthetic.getBaseException(); + if (baseExceptionSchema) { + const ErrorCtor = synthetic.getErrorCtor(baseExceptionSchema) ?? Error; + throw this.decorateServiceException(Object.assign(new ErrorCtor({ name: errorName }), errorMetadata), dataObject); + } + const d = dataObject; + const message = d?.message ?? d?.Message ?? d?.Error?.Message ?? d?.Error?.message; + throw this.decorateServiceException(Object.assign(new Error(message), { + name: errorName, + }, errorMetadata), dataObject); + } + } + compose(composite, errorIdentifier, defaultNamespace) { + let namespace = defaultNamespace; + if (errorIdentifier.includes("#")) { + [namespace] = errorIdentifier.split("#"); + } + const staticRegistry = schema.TypeRegistry.for(namespace); + const defaultSyntheticRegistry = schema.TypeRegistry.for("smithy.ts.sdk.synthetic." + defaultNamespace); + composite.copyFrom(staticRegistry); + composite.copyFrom(defaultSyntheticRegistry); + this.errorRegistry = composite; + } + decorateServiceException(exception, additions = {}) { + if (this.queryCompat) { + const msg = exception.Message ?? additions.Message; + const error = smithyClient.decorateServiceException(exception, additions); + if (msg) { + error.message = msg; + } + error.Error = { + ...error.Error, + Type: error.Error?.Type, + Code: error.Error?.Code, + Message: error.Error?.message ?? error.Error?.Message ?? msg, + }; + const reqId = error.$metadata.requestId; + if (reqId) { + error.RequestId = reqId; + } + return error; + } + return smithyClient.decorateServiceException(exception, additions); + } + setQueryCompatError(output, response) { + const queryErrorHeader = response.headers?.["x-amzn-query-error"]; + if (output !== undefined && queryErrorHeader != null) { + const [Code, Type] = queryErrorHeader.split(";"); + const entries = Object.entries(output); + const Error = { + Code, + Type, + }; + Object.assign(output, Error); + for (const [k, v] of entries) { + Error[k === "message" ? "Message" : k] = v; + } + delete Error.__type; + output.Error = Error; + } + } + queryCompatOutput(queryCompatErrorData, errorData) { + if (queryCompatErrorData.Error) { + errorData.Error = queryCompatErrorData.Error; + } + if (queryCompatErrorData.Type) { + errorData.Type = queryCompatErrorData.Type; + } + if (queryCompatErrorData.Code) { + errorData.Code = queryCompatErrorData.Code; + } + } + findQueryCompatibleError(registry, errorName) { + try { + return registry.getSchema(errorName); + } + catch (e) { + return registry.find((schema$1) => schema.NormalizedSchema.of(schema$1).getMergedTraits().awsQueryError?.[0] === errorName); + } + } +} + +class AwsSmithyRpcV2CborProtocol extends cbor.SmithyRpcV2CborProtocol { + awsQueryCompatible; + mixin; + constructor({ defaultNamespace, errorTypeRegistries, awsQueryCompatible, }) { + super({ defaultNamespace, errorTypeRegistries }); + this.awsQueryCompatible = !!awsQueryCompatible; + this.mixin = new ProtocolLib(this.awsQueryCompatible); + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + if (this.awsQueryCompatible) { + request.headers["x-amzn-query-mode"] = "true"; + } + return request; + } + async handleError(operationSchema, context, response, dataObject, metadata) { + if (this.awsQueryCompatible) { + this.mixin.setQueryCompatError(dataObject, response); + } + const errorName = (() => { + const compatHeader = response.headers["x-amzn-query-error"]; + if (compatHeader && this.awsQueryCompatible) { + return compatHeader.split(";")[0]; + } + return cbor.loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown"; + })(); + this.mixin.compose(this.compositeErrorRegistry, errorName, this.options.defaultNamespace); + const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined); + const ns = schema.NormalizedSchema.of(errorSchema); + const message = dataObject.message ?? dataObject.Message ?? "UnknownError"; + const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error; + const exception = new ErrorCtor(message); + const output = {}; + for (const [name, member] of ns.structIterator()) { + if (dataObject[name] != null) { + output[name] = this.deserializer.readValue(member, dataObject[name]); + } + } + if (this.awsQueryCompatible) { + this.mixin.queryCompatOutput(dataObject, output); + } + throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output), dataObject); + } +} + +const _toStr = (val) => { + if (val == null) { + return val; + } + if (typeof val === "number" || typeof val === "bigint") { + const warning = new Error(`Received number ${val} where a string was expected.`); + warning.name = "Warning"; + console.warn(warning); + return String(val); + } + if (typeof val === "boolean") { + const warning = new Error(`Received boolean ${val} where a string was expected.`); + warning.name = "Warning"; + console.warn(warning); + return String(val); + } + return val; +}; +const _toBool = (val) => { + if (val == null) { + return val; + } + if (typeof val === "string") { + const lowercase = val.toLowerCase(); + if (val !== "" && lowercase !== "false" && lowercase !== "true") { + const warning = new Error(`Received string "${val}" where a boolean was expected.`); + warning.name = "Warning"; + console.warn(warning); + } + return val !== "" && lowercase !== "false"; + } + return val; +}; +const _toNum = (val) => { + if (val == null) { + return val; + } + if (typeof val === "string") { + const num = Number(val); + if (num.toString() !== val) { + const warning = new Error(`Received string "${val}" where a number was expected.`); + warning.name = "Warning"; + console.warn(warning); + return val; + } + return num; + } + return val; +}; + +class SerdeContextConfig { + serdeContext; + setSerdeContext(serdeContext) { + this.serdeContext = serdeContext; + } +} + +class UnionSerde { + from; + to; + keys; + constructor(from, to) { + this.from = from; + this.to = to; + this.keys = new Set(Object.keys(this.from).filter((k) => k !== "__type")); + } + mark(key) { + this.keys.delete(key); + } + hasUnknown() { + return this.keys.size === 1 && Object.keys(this.to).length === 0; + } + writeUnknown() { + if (this.hasUnknown()) { + const k = this.keys.values().next().value; + const v = this.from[k]; + this.to.$unknown = [k, v]; + } + } +} + +function jsonReviver(key, value, context) { + if (context?.source) { + const numericString = context.source; + if (typeof value === "number") { + if (value > Number.MAX_SAFE_INTEGER || value < Number.MIN_SAFE_INTEGER || numericString !== String(value)) { + const isFractional = numericString.includes("."); + if (isFractional) { + return new serde.NumericValue(numericString, "bigDecimal"); + } + else { + return BigInt(numericString); + } + } + } + } + return value; +} + +const collectBodyString = (streamBody, context) => smithyClient.collectBody(streamBody, context).then((body) => (context?.utf8Encoder ?? utilUtf8.toUtf8)(body)); + +const parseJsonBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { + if (encoded.length) { + try { + return JSON.parse(encoded); + } + catch (e) { + if (e?.name === "SyntaxError") { + Object.defineProperty(e, "$responseBodyText", { + value: encoded, + }); + } + throw e; + } + } + return {}; +}); +const parseJsonErrorBody = async (errorBody, context) => { + const value = await parseJsonBody(errorBody, context); + value.message = value.message ?? value.Message; + return value; +}; +const loadRestJsonErrorCode = (output, data) => { + const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()); + const sanitizeErrorCode = (rawValue) => { + let cleanValue = rawValue; + if (typeof cleanValue === "number") { + cleanValue = cleanValue.toString(); + } + if (cleanValue.indexOf(",") >= 0) { + cleanValue = cleanValue.split(",")[0]; + } + if (cleanValue.indexOf(":") >= 0) { + cleanValue = cleanValue.split(":")[0]; + } + if (cleanValue.indexOf("#") >= 0) { + cleanValue = cleanValue.split("#")[1]; + } + return cleanValue; + }; + const headerKey = findKey(output.headers, "x-amzn-errortype"); + if (headerKey !== undefined) { + return sanitizeErrorCode(output.headers[headerKey]); + } + if (data && typeof data === "object") { + const codeKey = findKey(data, "code"); + if (codeKey && data[codeKey] !== undefined) { + return sanitizeErrorCode(data[codeKey]); + } + if (data["__type"] !== undefined) { + return sanitizeErrorCode(data["__type"]); + } + } +}; + +class JsonShapeDeserializer extends SerdeContextConfig { + settings; + constructor(settings) { + super(); + this.settings = settings; + } + async read(schema, data) { + return this._read(schema, typeof data === "string" ? JSON.parse(data, jsonReviver) : await parseJsonBody(data, this.serdeContext)); + } + readObject(schema, data) { + return this._read(schema, data); + } + _read(schema$1, value) { + const isObject = value !== null && typeof value === "object"; + const ns = schema.NormalizedSchema.of(schema$1); + if (isObject) { + if (ns.isStructSchema()) { + const record = value; + const union = ns.isUnionSchema(); + const out = {}; + let nameMap = void 0; + const { jsonName } = this.settings; + if (jsonName) { + nameMap = {}; + } + let unionSerde; + if (union) { + unionSerde = new UnionSerde(record, out); + } + for (const [memberName, memberSchema] of ns.structIterator()) { + let fromKey = memberName; + if (jsonName) { + fromKey = memberSchema.getMergedTraits().jsonName ?? fromKey; + nameMap[fromKey] = memberName; + } + if (union) { + unionSerde.mark(fromKey); + } + if (record[fromKey] != null) { + out[memberName] = this._read(memberSchema, record[fromKey]); + } + } + if (union) { + unionSerde.writeUnknown(); + } + else if (typeof record.__type === "string") { + for (const [k, v] of Object.entries(record)) { + const t = jsonName ? nameMap[k] ?? k : k; + if (!(t in out)) { + out[t] = v; + } + } + } + return out; + } + if (Array.isArray(value) && ns.isListSchema()) { + const listMember = ns.getValueSchema(); + const out = []; + for (const item of value) { + out.push(this._read(listMember, item)); + } + return out; + } + if (ns.isMapSchema()) { + const mapMember = ns.getValueSchema(); + const out = {}; + for (const [_k, _v] of Object.entries(value)) { + out[_k] = this._read(mapMember, _v); + } + return out; + } + } + if (ns.isBlobSchema() && typeof value === "string") { + return utilBase64.fromBase64(value); + } + const mediaType = ns.getMergedTraits().mediaType; + if (ns.isStringSchema() && typeof value === "string" && mediaType) { + const isJson = mediaType === "application/json" || mediaType.endsWith("+json"); + if (isJson) { + return serde.LazyJsonString.from(value); + } + return value; + } + if (ns.isTimestampSchema() && value != null) { + const format = protocols.determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + return serde.parseRfc3339DateTimeWithOffset(value); + case 6: + return serde.parseRfc7231DateTime(value); + case 7: + return serde.parseEpochTimestamp(value); + default: + console.warn("Missing timestamp format, parsing value with Date constructor:", value); + return new Date(value); + } + } + if (ns.isBigIntegerSchema() && (typeof value === "number" || typeof value === "string")) { + return BigInt(value); + } + if (ns.isBigDecimalSchema() && value != undefined) { + if (value instanceof serde.NumericValue) { + return value; + } + const untyped = value; + if (untyped.type === "bigDecimal" && "string" in untyped) { + return new serde.NumericValue(untyped.string, untyped.type); + } + return new serde.NumericValue(String(value), "bigDecimal"); + } + if (ns.isNumericSchema() && typeof value === "string") { + switch (value) { + case "Infinity": + return Infinity; + case "-Infinity": + return -Infinity; + case "NaN": + return NaN; + } + return value; + } + if (ns.isDocumentSchema()) { + if (isObject) { + const out = Array.isArray(value) ? [] : {}; + for (const [k, v] of Object.entries(value)) { + if (v instanceof serde.NumericValue) { + out[k] = v; + } + else { + out[k] = this._read(ns, v); + } + } + return out; + } + else { + return structuredClone(value); + } + } + return value; + } +} + +const NUMERIC_CONTROL_CHAR = String.fromCharCode(925); +class JsonReplacer { + values = new Map(); + counter = 0; + stage = 0; + createReplacer() { + if (this.stage === 1) { + throw new Error("@aws-sdk/core/protocols - JsonReplacer already created."); + } + if (this.stage === 2) { + throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted."); + } + this.stage = 1; + return (key, value) => { + if (value instanceof serde.NumericValue) { + const v = `${NUMERIC_CONTROL_CHAR + "nv" + this.counter++}_` + value.string; + this.values.set(`"${v}"`, value.string); + return v; + } + if (typeof value === "bigint") { + const s = value.toString(); + const v = `${NUMERIC_CONTROL_CHAR + "b" + this.counter++}_` + s; + this.values.set(`"${v}"`, s); + return v; + } + return value; + }; + } + replaceInJson(json) { + if (this.stage === 0) { + throw new Error("@aws-sdk/core/protocols - JsonReplacer not created yet."); + } + if (this.stage === 2) { + throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted."); + } + this.stage = 2; + if (this.counter === 0) { + return json; + } + for (const [key, value] of this.values) { + json = json.replace(key, value); + } + return json; + } +} + +class JsonShapeSerializer extends SerdeContextConfig { + settings; + buffer; + useReplacer = false; + rootSchema; + constructor(settings) { + super(); + this.settings = settings; + } + write(schema$1, value) { + this.rootSchema = schema.NormalizedSchema.of(schema$1); + this.buffer = this._write(this.rootSchema, value); + } + writeDiscriminatedDocument(schema$1, value) { + this.write(schema$1, value); + if (typeof this.buffer === "object") { + this.buffer.__type = schema.NormalizedSchema.of(schema$1).getName(true); + } + } + flush() { + const { rootSchema, useReplacer } = this; + this.rootSchema = undefined; + this.useReplacer = false; + if (rootSchema?.isStructSchema() || rootSchema?.isDocumentSchema()) { + if (!useReplacer) { + return JSON.stringify(this.buffer); + } + const replacer = new JsonReplacer(); + return replacer.replaceInJson(JSON.stringify(this.buffer, replacer.createReplacer(), 0)); + } + return this.buffer; + } + _write(schema$1, value, container) { + const isObject = value !== null && typeof value === "object"; + const ns = schema.NormalizedSchema.of(schema$1); + if (isObject) { + if (ns.isStructSchema()) { + const record = value; + const out = {}; + const { jsonName } = this.settings; + let nameMap = void 0; + if (jsonName) { + nameMap = {}; + } + for (const [memberName, memberSchema] of ns.structIterator()) { + const serializableValue = this._write(memberSchema, record[memberName], ns); + if (serializableValue !== undefined) { + let targetKey = memberName; + if (jsonName) { + targetKey = memberSchema.getMergedTraits().jsonName ?? memberName; + nameMap[memberName] = targetKey; + } + out[targetKey] = serializableValue; + } + } + if (ns.isUnionSchema() && Object.keys(out).length === 0) { + const { $unknown } = record; + if (Array.isArray($unknown)) { + const [k, v] = $unknown; + out[k] = this._write(15, v); + } + } + else if (typeof record.__type === "string") { + for (const [k, v] of Object.entries(record)) { + const targetKey = jsonName ? nameMap[k] ?? k : k; + if (!(targetKey in out)) { + out[targetKey] = this._write(15, v); + } + } + } + return out; + } + if (Array.isArray(value) && ns.isListSchema()) { + const listMember = ns.getValueSchema(); + const out = []; + const sparse = !!ns.getMergedTraits().sparse; + for (const item of value) { + if (sparse || item != null) { + out.push(this._write(listMember, item)); + } + } + return out; + } + if (ns.isMapSchema()) { + const mapMember = ns.getValueSchema(); + const out = {}; + const sparse = !!ns.getMergedTraits().sparse; + for (const [_k, _v] of Object.entries(value)) { + if (sparse || _v != null) { + out[_k] = this._write(mapMember, _v); + } + } + return out; + } + if (value instanceof Uint8Array && (ns.isBlobSchema() || ns.isDocumentSchema())) { + if (ns === this.rootSchema) { + return value; + } + return (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value); + } + if (value instanceof Date && (ns.isTimestampSchema() || ns.isDocumentSchema())) { + const format = protocols.determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + return value.toISOString().replace(".000Z", "Z"); + case 6: + return serde.dateToUtcString(value); + case 7: + return value.getTime() / 1000; + default: + console.warn("Missing timestamp format, using epoch seconds", value); + return value.getTime() / 1000; + } + } + if (value instanceof serde.NumericValue) { + this.useReplacer = true; + } + } + if (value === null && container?.isStructSchema()) { + return void 0; + } + if (ns.isStringSchema()) { + if (typeof value === "undefined" && ns.isIdempotencyToken()) { + return serde.generateIdempotencyToken(); + } + const mediaType = ns.getMergedTraits().mediaType; + if (value != null && mediaType) { + const isJson = mediaType === "application/json" || mediaType.endsWith("+json"); + if (isJson) { + return serde.LazyJsonString.from(value); + } + } + return value; + } + if (typeof value === "number" && ns.isNumericSchema()) { + if (Math.abs(value) === Infinity || isNaN(value)) { + return String(value); + } + return value; + } + if (typeof value === "string" && ns.isBlobSchema()) { + if (ns === this.rootSchema) { + return value; + } + return (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value); + } + if (typeof value === "bigint") { + this.useReplacer = true; + } + if (ns.isDocumentSchema()) { + if (isObject) { + const out = Array.isArray(value) ? [] : {}; + for (const [k, v] of Object.entries(value)) { + if (v instanceof serde.NumericValue) { + this.useReplacer = true; + out[k] = v; + } + else { + out[k] = this._write(ns, v); + } + } + return out; + } + else { + return structuredClone(value); + } + } + return value; + } +} + +class JsonCodec extends SerdeContextConfig { + settings; + constructor(settings) { + super(); + this.settings = settings; + } + createSerializer() { + const serializer = new JsonShapeSerializer(this.settings); + serializer.setSerdeContext(this.serdeContext); + return serializer; + } + createDeserializer() { + const deserializer = new JsonShapeDeserializer(this.settings); + deserializer.setSerdeContext(this.serdeContext); + return deserializer; + } +} + +class AwsJsonRpcProtocol extends protocols.RpcProtocol { + serializer; + deserializer; + serviceTarget; + codec; + mixin; + awsQueryCompatible; + constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) { + super({ + defaultNamespace, + errorTypeRegistries, + }); + this.serviceTarget = serviceTarget; + this.codec = + jsonCodec ?? + new JsonCodec({ + timestampFormat: { + useTrait: true, + default: 7, + }, + jsonName: false, + }); + this.serializer = this.codec.createSerializer(); + this.deserializer = this.codec.createDeserializer(); + this.awsQueryCompatible = !!awsQueryCompatible; + this.mixin = new ProtocolLib(this.awsQueryCompatible); + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + if (!request.path.endsWith("/")) { + request.path += "/"; + } + Object.assign(request.headers, { + "content-type": `application/x-amz-json-${this.getJsonRpcVersion()}`, + "x-amz-target": `${this.serviceTarget}.${operationSchema.name}`, + }); + if (this.awsQueryCompatible) { + request.headers["x-amzn-query-mode"] = "true"; + } + if (schema.deref(operationSchema.input) === "unit" || !request.body) { + request.body = "{}"; + } + return request; + } + getPayloadCodec() { + return this.codec; + } + async handleError(operationSchema, context, response, dataObject, metadata) { + if (this.awsQueryCompatible) { + this.mixin.setQueryCompatError(dataObject, response); + } + const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown"; + this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace); + const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined); + const ns = schema.NormalizedSchema.of(errorSchema); + const message = dataObject.message ?? dataObject.Message ?? "UnknownError"; + const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error; + const exception = new ErrorCtor(message); + const output = {}; + for (const [name, member] of ns.structIterator()) { + if (dataObject[name] != null) { + output[name] = this.codec.createDeserializer().readObject(member, dataObject[name]); + } + } + if (this.awsQueryCompatible) { + this.mixin.queryCompatOutput(dataObject, output); + } + throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output), dataObject); + } +} + +class AwsJson1_0Protocol extends AwsJsonRpcProtocol { + constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) { + super({ + defaultNamespace, + errorTypeRegistries, + serviceTarget, + awsQueryCompatible, + jsonCodec, + }); + } + getShapeId() { + return "aws.protocols#awsJson1_0"; + } + getJsonRpcVersion() { + return "1.0"; + } + getDefaultContentType() { + return "application/x-amz-json-1.0"; + } +} + +class AwsJson1_1Protocol extends AwsJsonRpcProtocol { + constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) { + super({ + defaultNamespace, + errorTypeRegistries, + serviceTarget, + awsQueryCompatible, + jsonCodec, + }); + } + getShapeId() { + return "aws.protocols#awsJson1_1"; + } + getJsonRpcVersion() { + return "1.1"; + } + getDefaultContentType() { + return "application/x-amz-json-1.1"; + } +} + +class AwsRestJsonProtocol extends protocols.HttpBindingProtocol { + serializer; + deserializer; + codec; + mixin = new ProtocolLib(); + constructor({ defaultNamespace, errorTypeRegistries, }) { + super({ + defaultNamespace, + errorTypeRegistries, + }); + const settings = { + timestampFormat: { + useTrait: true, + default: 7, + }, + httpBindings: true, + jsonName: true, + }; + this.codec = new JsonCodec(settings); + this.serializer = new protocols.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings); + this.deserializer = new protocols.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings); + } + getShapeId() { + return "aws.protocols#restJson1"; + } + getPayloadCodec() { + return this.codec; + } + setSerdeContext(serdeContext) { + this.codec.setSerdeContext(serdeContext); + super.setSerdeContext(serdeContext); + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + const inputSchema = schema.NormalizedSchema.of(operationSchema.input); + if (!request.headers["content-type"]) { + const contentType = this.mixin.resolveRestContentType(this.getDefaultContentType(), inputSchema); + if (contentType) { + request.headers["content-type"] = contentType; + } + } + if (request.body == null && request.headers["content-type"] === this.getDefaultContentType()) { + request.body = "{}"; + } + return request; + } + async deserializeResponse(operationSchema, context, response) { + const output = await super.deserializeResponse(operationSchema, context, response); + const outputSchema = schema.NormalizedSchema.of(operationSchema.output); + for (const [name, member] of outputSchema.structIterator()) { + if (member.getMemberTraits().httpPayload && !(name in output)) { + output[name] = null; + } + } + return output; + } + async handleError(operationSchema, context, response, dataObject, metadata) { + const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown"; + this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace); + const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata); + const ns = schema.NormalizedSchema.of(errorSchema); + const message = dataObject.message ?? dataObject.Message ?? "UnknownError"; + const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error; + const exception = new ErrorCtor(message); + await this.deserializeHttpMessage(errorSchema, context, response, dataObject); + const output = {}; + for (const [name, member] of ns.structIterator()) { + const target = member.getMergedTraits().jsonName ?? name; + output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]); + } + throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output), dataObject); + } + getDefaultContentType() { + return "application/json"; + } +} + +const awsExpectUnion = (value) => { + if (value == null) { + return undefined; + } + if (typeof value === "object" && "__type" in value) { + delete value.__type; + } + return smithyClient.expectUnion(value); +}; + +class XmlShapeDeserializer extends SerdeContextConfig { + settings; + stringDeserializer; + constructor(settings) { + super(); + this.settings = settings; + this.stringDeserializer = new protocols.FromStringShapeDeserializer(settings); + } + setSerdeContext(serdeContext) { + this.serdeContext = serdeContext; + this.stringDeserializer.setSerdeContext(serdeContext); + } + read(schema$1, bytes, key) { + const ns = schema.NormalizedSchema.of(schema$1); + const memberSchemas = ns.getMemberSchemas(); + const isEventPayload = ns.isStructSchema() && + ns.isMemberSchema() && + !!Object.values(memberSchemas).find((memberNs) => { + return !!memberNs.getMemberTraits().eventPayload; + }); + if (isEventPayload) { + const output = {}; + const memberName = Object.keys(memberSchemas)[0]; + const eventMemberSchema = memberSchemas[memberName]; + if (eventMemberSchema.isBlobSchema()) { + output[memberName] = bytes; + } + else { + output[memberName] = this.read(memberSchemas[memberName], bytes); + } + return output; + } + const xmlString = (this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8)(bytes); + const parsedObject = this.parseXml(xmlString); + return this.readSchema(schema$1, key ? parsedObject[key] : parsedObject); + } + readSchema(_schema, value) { + const ns = schema.NormalizedSchema.of(_schema); + if (ns.isUnitSchema()) { + return; + } + const traits = ns.getMergedTraits(); + if (ns.isListSchema() && !Array.isArray(value)) { + return this.readSchema(ns, [value]); + } + if (value == null) { + return value; + } + if (typeof value === "object") { + const flat = !!traits.xmlFlattened; + if (ns.isListSchema()) { + const listValue = ns.getValueSchema(); + const buffer = []; + const sourceKey = listValue.getMergedTraits().xmlName ?? "member"; + const source = flat ? value : (value[0] ?? value)[sourceKey]; + if (source == null) { + return buffer; + } + const sourceArray = Array.isArray(source) ? source : [source]; + for (const v of sourceArray) { + buffer.push(this.readSchema(listValue, v)); + } + return buffer; + } + const buffer = {}; + if (ns.isMapSchema()) { + const keyNs = ns.getKeySchema(); + const memberNs = ns.getValueSchema(); + let entries; + if (flat) { + entries = Array.isArray(value) ? value : [value]; + } + else { + entries = Array.isArray(value.entry) ? value.entry : [value.entry]; + } + const keyProperty = keyNs.getMergedTraits().xmlName ?? "key"; + const valueProperty = memberNs.getMergedTraits().xmlName ?? "value"; + for (const entry of entries) { + const key = entry[keyProperty]; + const value = entry[valueProperty]; + buffer[key] = this.readSchema(memberNs, value); + } + return buffer; + } + if (ns.isStructSchema()) { + const union = ns.isUnionSchema(); + let unionSerde; + if (union) { + unionSerde = new UnionSerde(value, buffer); + } + for (const [memberName, memberSchema] of ns.structIterator()) { + const memberTraits = memberSchema.getMergedTraits(); + const xmlObjectKey = !memberTraits.httpPayload + ? memberSchema.getMemberTraits().xmlName ?? memberName + : memberTraits.xmlName ?? memberSchema.getName(); + if (union) { + unionSerde.mark(xmlObjectKey); + } + if (value[xmlObjectKey] != null) { + buffer[memberName] = this.readSchema(memberSchema, value[xmlObjectKey]); + } + } + if (union) { + unionSerde.writeUnknown(); + } + return buffer; + } + if (ns.isDocumentSchema()) { + return value; + } + throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${ns.getName(true)}`); + } + if (ns.isListSchema()) { + return []; + } + if (ns.isMapSchema() || ns.isStructSchema()) { + return {}; + } + return this.stringDeserializer.read(ns, value); + } + parseXml(xml) { + if (xml.length) { + let parsedObj; + try { + parsedObj = xmlBuilder.parseXML(xml); + } + catch (e) { + if (e && typeof e === "object") { + Object.defineProperty(e, "$responseBodyText", { + value: xml, + }); + } + throw e; + } + const textNodeName = "#text"; + const key = Object.keys(parsedObj)[0]; + const parsedObjToReturn = parsedObj[key]; + if (parsedObjToReturn[textNodeName]) { + parsedObjToReturn[key] = parsedObjToReturn[textNodeName]; + delete parsedObjToReturn[textNodeName]; + } + return smithyClient.getValueFromTextNode(parsedObjToReturn); + } + return {}; + } +} + +class QueryShapeSerializer extends SerdeContextConfig { + settings; + buffer; + constructor(settings) { + super(); + this.settings = settings; + } + write(schema$1, value, prefix = "") { + if (this.buffer === undefined) { + this.buffer = ""; + } + const ns = schema.NormalizedSchema.of(schema$1); + if (prefix && !prefix.endsWith(".")) { + prefix += "."; + } + if (ns.isBlobSchema()) { + if (typeof value === "string" || value instanceof Uint8Array) { + this.writeKey(prefix); + this.writeValue((this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value)); + } + } + else if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isStringSchema()) { + if (value != null) { + this.writeKey(prefix); + this.writeValue(String(value)); + } + else if (ns.isIdempotencyToken()) { + this.writeKey(prefix); + this.writeValue(serde.generateIdempotencyToken()); + } + } + else if (ns.isBigIntegerSchema()) { + if (value != null) { + this.writeKey(prefix); + this.writeValue(String(value)); + } + } + else if (ns.isBigDecimalSchema()) { + if (value != null) { + this.writeKey(prefix); + this.writeValue(value instanceof serde.NumericValue ? value.string : String(value)); + } + } + else if (ns.isTimestampSchema()) { + if (value instanceof Date) { + this.writeKey(prefix); + const format = protocols.determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + this.writeValue(value.toISOString().replace(".000Z", "Z")); + break; + case 6: + this.writeValue(smithyClient.dateToUtcString(value)); + break; + case 7: + this.writeValue(String(value.getTime() / 1000)); + break; + } + } + } + else if (ns.isDocumentSchema()) { + if (Array.isArray(value)) { + this.write(64 | 15, value, prefix); + } + else if (value instanceof Date) { + this.write(4, value, prefix); + } + else if (value instanceof Uint8Array) { + this.write(21, value, prefix); + } + else if (value && typeof value === "object") { + this.write(128 | 15, value, prefix); + } + else { + this.writeKey(prefix); + this.writeValue(String(value)); + } + } + else if (ns.isListSchema()) { + if (Array.isArray(value)) { + if (value.length === 0) { + if (this.settings.serializeEmptyLists) { + this.writeKey(prefix); + this.writeValue(""); + } + } + else { + const member = ns.getValueSchema(); + const flat = this.settings.flattenLists || ns.getMergedTraits().xmlFlattened; + let i = 1; + for (const item of value) { + if (item == null) { + continue; + } + const traits = member.getMergedTraits(); + const suffix = this.getKey("member", traits.xmlName, traits.ec2QueryName); + const key = flat ? `${prefix}${i}` : `${prefix}${suffix}.${i}`; + this.write(member, item, key); + ++i; + } + } + } + } + else if (ns.isMapSchema()) { + if (value && typeof value === "object") { + const keySchema = ns.getKeySchema(); + const memberSchema = ns.getValueSchema(); + const flat = ns.getMergedTraits().xmlFlattened; + let i = 1; + for (const [k, v] of Object.entries(value)) { + if (v == null) { + continue; + } + const keyTraits = keySchema.getMergedTraits(); + const keySuffix = this.getKey("key", keyTraits.xmlName, keyTraits.ec2QueryName); + const key = flat ? `${prefix}${i}.${keySuffix}` : `${prefix}entry.${i}.${keySuffix}`; + const valTraits = memberSchema.getMergedTraits(); + const valueSuffix = this.getKey("value", valTraits.xmlName, valTraits.ec2QueryName); + const valueKey = flat ? `${prefix}${i}.${valueSuffix}` : `${prefix}entry.${i}.${valueSuffix}`; + this.write(keySchema, k, key); + this.write(memberSchema, v, valueKey); + ++i; + } + } + } + else if (ns.isStructSchema()) { + if (value && typeof value === "object") { + let didWriteMember = false; + for (const [memberName, member] of ns.structIterator()) { + if (value[memberName] == null && !member.isIdempotencyToken()) { + continue; + } + const traits = member.getMergedTraits(); + const suffix = this.getKey(memberName, traits.xmlName, traits.ec2QueryName, "struct"); + const key = `${prefix}${suffix}`; + this.write(member, value[memberName], key); + didWriteMember = true; + } + if (!didWriteMember && ns.isUnionSchema()) { + const { $unknown } = value; + if (Array.isArray($unknown)) { + const [k, v] = $unknown; + const key = `${prefix}${k}`; + this.write(15, v, key); + } + } + } + } + else if (ns.isUnitSchema()) ; + else { + throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${ns.getName(true)}`); + } + } + flush() { + if (this.buffer === undefined) { + throw new Error("@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer."); + } + const str = this.buffer; + delete this.buffer; + return str; + } + getKey(memberName, xmlName, ec2QueryName, keySource) { + const { ec2, capitalizeKeys } = this.settings; + if (ec2 && ec2QueryName) { + return ec2QueryName; + } + const key = xmlName ?? memberName; + if (capitalizeKeys && keySource === "struct") { + return key[0].toUpperCase() + key.slice(1); + } + return key; + } + writeKey(key) { + if (key.endsWith(".")) { + key = key.slice(0, key.length - 1); + } + this.buffer += `&${protocols.extendedEncodeURIComponent(key)}=`; + } + writeValue(value) { + this.buffer += protocols.extendedEncodeURIComponent(value); + } +} + +class AwsQueryProtocol extends protocols.RpcProtocol { + options; + serializer; + deserializer; + mixin = new ProtocolLib(); + constructor(options) { + super({ + defaultNamespace: options.defaultNamespace, + errorTypeRegistries: options.errorTypeRegistries, + }); + this.options = options; + const settings = { + timestampFormat: { + useTrait: true, + default: 5, + }, + httpBindings: false, + xmlNamespace: options.xmlNamespace, + serviceNamespace: options.defaultNamespace, + serializeEmptyLists: true, + }; + this.serializer = new QueryShapeSerializer(settings); + this.deserializer = new XmlShapeDeserializer(settings); + } + getShapeId() { + return "aws.protocols#awsQuery"; + } + setSerdeContext(serdeContext) { + this.serializer.setSerdeContext(serdeContext); + this.deserializer.setSerdeContext(serdeContext); + } + getPayloadCodec() { + throw new Error("AWSQuery protocol has no payload codec."); + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + if (!request.path.endsWith("/")) { + request.path += "/"; + } + Object.assign(request.headers, { + "content-type": `application/x-www-form-urlencoded`, + }); + if (schema.deref(operationSchema.input) === "unit" || !request.body) { + request.body = ""; + } + const action = operationSchema.name.split("#")[1] ?? operationSchema.name; + request.body = `Action=${action}&Version=${this.options.version}` + request.body; + if (request.body.endsWith("&")) { + request.body = request.body.slice(-1); + } + return request; + } + async deserializeResponse(operationSchema, context, response) { + const deserializer = this.deserializer; + const ns = schema.NormalizedSchema.of(operationSchema.output); + const dataObject = {}; + if (response.statusCode >= 300) { + const bytes = await protocols.collectBody(response.body, context); + if (bytes.byteLength > 0) { + Object.assign(dataObject, await deserializer.read(15, bytes)); + } + await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response)); + } + for (const header in response.headers) { + const value = response.headers[header]; + delete response.headers[header]; + response.headers[header.toLowerCase()] = value; + } + const shortName = operationSchema.name.split("#")[1] ?? operationSchema.name; + const awsQueryResultKey = ns.isStructSchema() && this.useNestedResult() ? shortName + "Result" : undefined; + const bytes = await protocols.collectBody(response.body, context); + if (bytes.byteLength > 0) { + Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey)); + } + const output = { + $metadata: this.deserializeMetadata(response), + ...dataObject, + }; + return output; + } + useNestedResult() { + return true; + } + async handleError(operationSchema, context, response, dataObject, metadata) { + const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? "Unknown"; + this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace); + const errorData = this.loadQueryError(dataObject) ?? {}; + const message = this.loadQueryErrorMessage(dataObject); + errorData.message = message; + errorData.Error = { + Type: errorData.Type, + Code: errorData.Code, + Message: message, + }; + const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, errorData, metadata, this.mixin.findQueryCompatibleError); + const ns = schema.NormalizedSchema.of(errorSchema); + const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error; + const exception = new ErrorCtor(message); + const output = { + Type: errorData.Error.Type, + Code: errorData.Error.Code, + Error: errorData.Error, + }; + for (const [name, member] of ns.structIterator()) { + const target = member.getMergedTraits().xmlName ?? name; + const value = errorData[target] ?? dataObject[target]; + output[name] = this.deserializer.readSchema(member, value); + } + throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output), dataObject); + } + loadQueryErrorCode(output, data) { + const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code; + if (code !== undefined) { + return code; + } + if (output.statusCode == 404) { + return "NotFound"; + } + } + loadQueryError(data) { + return data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error; + } + loadQueryErrorMessage(data) { + const errorData = this.loadQueryError(data); + return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? "Unknown"; + } + getDefaultContentType() { + return "application/x-www-form-urlencoded"; + } +} + +class AwsEc2QueryProtocol extends AwsQueryProtocol { + options; + constructor(options) { + super(options); + this.options = options; + const ec2Settings = { + capitalizeKeys: true, + flattenLists: true, + serializeEmptyLists: false, + ec2: true, + }; + Object.assign(this.serializer.settings, ec2Settings); + } + getShapeId() { + return "aws.protocols#ec2Query"; + } + useNestedResult() { + return false; + } +} + +const parseXmlBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { + if (encoded.length) { + let parsedObj; + try { + parsedObj = xmlBuilder.parseXML(encoded); + } + catch (e) { + if (e && typeof e === "object") { + Object.defineProperty(e, "$responseBodyText", { + value: encoded, + }); + } + throw e; + } + const textNodeName = "#text"; + const key = Object.keys(parsedObj)[0]; + const parsedObjToReturn = parsedObj[key]; + if (parsedObjToReturn[textNodeName]) { + parsedObjToReturn[key] = parsedObjToReturn[textNodeName]; + delete parsedObjToReturn[textNodeName]; + } + return smithyClient.getValueFromTextNode(parsedObjToReturn); + } + return {}; +}); +const parseXmlErrorBody = async (errorBody, context) => { + const value = await parseXmlBody(errorBody, context); + if (value.Error) { + value.Error.message = value.Error.message ?? value.Error.Message; + } + return value; +}; +const loadRestXmlErrorCode = (output, data) => { + if (data?.Error?.Code !== undefined) { + return data.Error.Code; + } + if (data?.Code !== undefined) { + return data.Code; + } + if (output.statusCode == 404) { + return "NotFound"; + } +}; + +class XmlShapeSerializer extends SerdeContextConfig { + settings; + stringBuffer; + byteBuffer; + buffer; + constructor(settings) { + super(); + this.settings = settings; + } + write(schema$1, value) { + const ns = schema.NormalizedSchema.of(schema$1); + if (ns.isStringSchema() && typeof value === "string") { + this.stringBuffer = value; + } + else if (ns.isBlobSchema()) { + this.byteBuffer = + "byteLength" in value + ? value + : (this.serdeContext?.base64Decoder ?? utilBase64.fromBase64)(value); + } + else { + this.buffer = this.writeStruct(ns, value, undefined); + const traits = ns.getMergedTraits(); + if (traits.httpPayload && !traits.xmlName) { + this.buffer.withName(ns.getName()); + } + } + } + flush() { + if (this.byteBuffer !== undefined) { + const bytes = this.byteBuffer; + delete this.byteBuffer; + return bytes; + } + if (this.stringBuffer !== undefined) { + const str = this.stringBuffer; + delete this.stringBuffer; + return str; + } + const buffer = this.buffer; + if (this.settings.xmlNamespace) { + if (!buffer?.attributes?.["xmlns"]) { + buffer.addAttribute("xmlns", this.settings.xmlNamespace); + } + } + delete this.buffer; + return buffer.toString(); + } + writeStruct(ns, value, parentXmlns) { + const traits = ns.getMergedTraits(); + const name = ns.isMemberSchema() && !traits.httpPayload + ? ns.getMemberTraits().xmlName ?? ns.getMemberName() + : traits.xmlName ?? ns.getName(); + if (!name || !ns.isStructSchema()) { + throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${ns.getName(true)}.`); + } + const structXmlNode = xmlBuilder.XmlNode.of(name); + const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns); + for (const [memberName, memberSchema] of ns.structIterator()) { + const val = value[memberName]; + if (val != null || memberSchema.isIdempotencyToken()) { + if (memberSchema.getMergedTraits().xmlAttribute) { + structXmlNode.addAttribute(memberSchema.getMergedTraits().xmlName ?? memberName, this.writeSimple(memberSchema, val)); + continue; + } + if (memberSchema.isListSchema()) { + this.writeList(memberSchema, val, structXmlNode, xmlns); + } + else if (memberSchema.isMapSchema()) { + this.writeMap(memberSchema, val, structXmlNode, xmlns); + } + else if (memberSchema.isStructSchema()) { + structXmlNode.addChildNode(this.writeStruct(memberSchema, val, xmlns)); + } + else { + const memberNode = xmlBuilder.XmlNode.of(memberSchema.getMergedTraits().xmlName ?? memberSchema.getMemberName()); + this.writeSimpleInto(memberSchema, val, memberNode, xmlns); + structXmlNode.addChildNode(memberNode); + } + } + } + const { $unknown } = value; + if ($unknown && ns.isUnionSchema() && Array.isArray($unknown) && Object.keys(value).length === 1) { + const [k, v] = $unknown; + const node = xmlBuilder.XmlNode.of(k); + if (typeof v !== "string") { + if (value instanceof xmlBuilder.XmlNode || value instanceof xmlBuilder.XmlText) { + structXmlNode.addChildNode(value); + } + else { + throw new Error(`@aws-sdk - $unknown union member in XML requires ` + + `value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.`); + } + } + this.writeSimpleInto(0, v, node, xmlns); + structXmlNode.addChildNode(node); + } + if (xmlns) { + structXmlNode.addAttribute(xmlnsAttr, xmlns); + } + return structXmlNode; + } + writeList(listMember, array, container, parentXmlns) { + if (!listMember.isMemberSchema()) { + throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${listMember.getName(true)}`); + } + const listTraits = listMember.getMergedTraits(); + const listValueSchema = listMember.getValueSchema(); + const listValueTraits = listValueSchema.getMergedTraits(); + const sparse = !!listValueTraits.sparse; + const flat = !!listTraits.xmlFlattened; + const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(listMember, parentXmlns); + const writeItem = (container, value) => { + if (listValueSchema.isListSchema()) { + this.writeList(listValueSchema, Array.isArray(value) ? value : [value], container, xmlns); + } + else if (listValueSchema.isMapSchema()) { + this.writeMap(listValueSchema, value, container, xmlns); + } + else if (listValueSchema.isStructSchema()) { + const struct = this.writeStruct(listValueSchema, value, xmlns); + container.addChildNode(struct.withName(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? "member")); + } + else { + const listItemNode = xmlBuilder.XmlNode.of(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? "member"); + this.writeSimpleInto(listValueSchema, value, listItemNode, xmlns); + container.addChildNode(listItemNode); + } + }; + if (flat) { + for (const value of array) { + if (sparse || value != null) { + writeItem(container, value); + } + } + } + else { + const listNode = xmlBuilder.XmlNode.of(listTraits.xmlName ?? listMember.getMemberName()); + if (xmlns) { + listNode.addAttribute(xmlnsAttr, xmlns); + } + for (const value of array) { + if (sparse || value != null) { + writeItem(listNode, value); + } + } + container.addChildNode(listNode); + } + } + writeMap(mapMember, map, container, parentXmlns, containerIsMap = false) { + if (!mapMember.isMemberSchema()) { + throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${mapMember.getName(true)}`); + } + const mapTraits = mapMember.getMergedTraits(); + const mapKeySchema = mapMember.getKeySchema(); + const mapKeyTraits = mapKeySchema.getMergedTraits(); + const keyTag = mapKeyTraits.xmlName ?? "key"; + const mapValueSchema = mapMember.getValueSchema(); + const mapValueTraits = mapValueSchema.getMergedTraits(); + const valueTag = mapValueTraits.xmlName ?? "value"; + const sparse = !!mapValueTraits.sparse; + const flat = !!mapTraits.xmlFlattened; + const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(mapMember, parentXmlns); + const addKeyValue = (entry, key, val) => { + const keyNode = xmlBuilder.XmlNode.of(keyTag, key); + const [keyXmlnsAttr, keyXmlns] = this.getXmlnsAttribute(mapKeySchema, xmlns); + if (keyXmlns) { + keyNode.addAttribute(keyXmlnsAttr, keyXmlns); + } + entry.addChildNode(keyNode); + let valueNode = xmlBuilder.XmlNode.of(valueTag); + if (mapValueSchema.isListSchema()) { + this.writeList(mapValueSchema, val, valueNode, xmlns); + } + else if (mapValueSchema.isMapSchema()) { + this.writeMap(mapValueSchema, val, valueNode, xmlns, true); + } + else if (mapValueSchema.isStructSchema()) { + valueNode = this.writeStruct(mapValueSchema, val, xmlns); + } + else { + this.writeSimpleInto(mapValueSchema, val, valueNode, xmlns); + } + entry.addChildNode(valueNode); + }; + if (flat) { + for (const [key, val] of Object.entries(map)) { + if (sparse || val != null) { + const entry = xmlBuilder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName()); + addKeyValue(entry, key, val); + container.addChildNode(entry); + } + } + } + else { + let mapNode; + if (!containerIsMap) { + mapNode = xmlBuilder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName()); + if (xmlns) { + mapNode.addAttribute(xmlnsAttr, xmlns); + } + container.addChildNode(mapNode); + } + for (const [key, val] of Object.entries(map)) { + if (sparse || val != null) { + const entry = xmlBuilder.XmlNode.of("entry"); + addKeyValue(entry, key, val); + (containerIsMap ? container : mapNode).addChildNode(entry); + } + } + } + } + writeSimple(_schema, value) { + if (null === value) { + throw new Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value."); + } + const ns = schema.NormalizedSchema.of(_schema); + let nodeContents = null; + if (value && typeof value === "object") { + if (ns.isBlobSchema()) { + nodeContents = (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value); + } + else if (ns.isTimestampSchema() && value instanceof Date) { + const format = protocols.determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + nodeContents = value.toISOString().replace(".000Z", "Z"); + break; + case 6: + nodeContents = smithyClient.dateToUtcString(value); + break; + case 7: + nodeContents = String(value.getTime() / 1000); + break; + default: + console.warn("Missing timestamp format, using http date", value); + nodeContents = smithyClient.dateToUtcString(value); + break; + } + } + else if (ns.isBigDecimalSchema() && value) { + if (value instanceof serde.NumericValue) { + return value.string; + } + return String(value); + } + else if (ns.isMapSchema() || ns.isListSchema()) { + throw new Error("@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead."); + } + else { + throw new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(true)}`); + } + } + if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) { + nodeContents = String(value); + } + if (ns.isStringSchema()) { + if (value === undefined && ns.isIdempotencyToken()) { + nodeContents = serde.generateIdempotencyToken(); + } + else { + nodeContents = String(value); + } + } + if (nodeContents === null) { + throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`); + } + return nodeContents; + } + writeSimpleInto(_schema, value, into, parentXmlns) { + const nodeContents = this.writeSimple(_schema, value); + const ns = schema.NormalizedSchema.of(_schema); + const content = new xmlBuilder.XmlText(nodeContents); + const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns); + if (xmlns) { + into.addAttribute(xmlnsAttr, xmlns); + } + into.addChildNode(content); + } + getXmlnsAttribute(ns, parentXmlns) { + const traits = ns.getMergedTraits(); + const [prefix, xmlns] = traits.xmlNamespace ?? []; + if (xmlns && xmlns !== parentXmlns) { + return [prefix ? `xmlns:${prefix}` : "xmlns", xmlns]; + } + return [void 0, void 0]; + } +} + +class XmlCodec extends SerdeContextConfig { + settings; + constructor(settings) { + super(); + this.settings = settings; + } + createSerializer() { + const serializer = new XmlShapeSerializer(this.settings); + serializer.setSerdeContext(this.serdeContext); + return serializer; + } + createDeserializer() { + const deserializer = new XmlShapeDeserializer(this.settings); + deserializer.setSerdeContext(this.serdeContext); + return deserializer; + } +} + +class AwsRestXmlProtocol extends protocols.HttpBindingProtocol { + codec; + serializer; + deserializer; + mixin = new ProtocolLib(); + constructor(options) { + super(options); + const settings = { + timestampFormat: { + useTrait: true, + default: 5, + }, + httpBindings: true, + xmlNamespace: options.xmlNamespace, + serviceNamespace: options.defaultNamespace, + }; + this.codec = new XmlCodec(settings); + this.serializer = new protocols.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings); + this.deserializer = new protocols.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings); + this.compositeErrorRegistry; + } + getPayloadCodec() { + return this.codec; + } + getShapeId() { + return "aws.protocols#restXml"; + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + const inputSchema = schema.NormalizedSchema.of(operationSchema.input); + if (!request.headers["content-type"]) { + const contentType = this.mixin.resolveRestContentType(this.getDefaultContentType(), inputSchema); + if (contentType) { + request.headers["content-type"] = contentType; + } + } + if (typeof request.body === "string" && + request.headers["content-type"] === this.getDefaultContentType() && + !request.body.startsWith("' + request.body; + } + return request; + } + async deserializeResponse(operationSchema, context, response) { + return super.deserializeResponse(operationSchema, context, response); + } + async handleError(operationSchema, context, response, dataObject, metadata) { + const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? "Unknown"; + this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace); + if (dataObject.Error && typeof dataObject.Error === "object") { + for (const key of Object.keys(dataObject.Error)) { + dataObject[key] = dataObject.Error[key]; + if (key.toLowerCase() === "message") { + dataObject.message = dataObject.Error[key]; + } + } + } + if (dataObject.RequestId && !metadata.requestId) { + metadata.requestId = dataObject.RequestId; + } + const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata); + const ns = schema.NormalizedSchema.of(errorSchema); + const message = dataObject.Error?.message ?? + dataObject.Error?.Message ?? + dataObject.message ?? + dataObject.Message ?? + "UnknownError"; + const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error; + const exception = new ErrorCtor(message); + await this.deserializeHttpMessage(errorSchema, context, response, dataObject); + const output = {}; + for (const [name, member] of ns.structIterator()) { + const target = member.getMergedTraits().xmlName ?? name; + const value = dataObject.Error?.[target] ?? dataObject[target]; + output[name] = this.codec.createDeserializer().readSchema(member, value); + } + throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output), dataObject); + } + getDefaultContentType() { + return "application/xml"; + } + hasUnstructuredPayloadBinding(ns) { + for (const [, member] of ns.structIterator()) { + if (member.getMergedTraits().httpPayload) { + return !(member.isStructSchema() || member.isMapSchema() || member.isListSchema()); + } + } + return false; + } +} + +exports.AwsEc2QueryProtocol = AwsEc2QueryProtocol; +exports.AwsJson1_0Protocol = AwsJson1_0Protocol; +exports.AwsJson1_1Protocol = AwsJson1_1Protocol; +exports.AwsJsonRpcProtocol = AwsJsonRpcProtocol; +exports.AwsQueryProtocol = AwsQueryProtocol; +exports.AwsRestJsonProtocol = AwsRestJsonProtocol; +exports.AwsRestXmlProtocol = AwsRestXmlProtocol; +exports.AwsSmithyRpcV2CborProtocol = AwsSmithyRpcV2CborProtocol; +exports.JsonCodec = JsonCodec; +exports.JsonShapeDeserializer = JsonShapeDeserializer; +exports.JsonShapeSerializer = JsonShapeSerializer; +exports.QueryShapeSerializer = QueryShapeSerializer; +exports.XmlCodec = XmlCodec; +exports.XmlShapeDeserializer = XmlShapeDeserializer; +exports.XmlShapeSerializer = XmlShapeSerializer; +exports._toBool = _toBool; +exports._toNum = _toNum; +exports._toStr = _toStr; +exports.awsExpectUnion = awsExpectUnion; +exports.loadRestJsonErrorCode = loadRestJsonErrorCode; +exports.loadRestXmlErrorCode = loadRestXmlErrorCode; +exports.parseJsonBody = parseJsonBody; +exports.parseJsonErrorBody = parseJsonErrorBody; +exports.parseXmlBody = parseXmlBody; +exports.parseXmlErrorBody = parseXmlErrorBody; diff --git a/node_modules/@aws-sdk/core/dist-es/index.js b/node_modules/@aws-sdk/core/dist-es/index.js new file mode 100644 index 0000000..239de7a --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/index.js @@ -0,0 +1,3 @@ +export * from "./submodules/client/index"; +export * from "./submodules/httpAuthSchemes/index"; +export * from "./submodules/protocols/index"; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js b/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js new file mode 100644 index 0000000..9f56daf --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js @@ -0,0 +1,15 @@ +import { normalizeProvider } from "@smithy/util-middleware"; +import { DEFAULT_ACCOUNT_ID_ENDPOINT_MODE, validateAccountIdEndpointMode } from "./AccountIdEndpointModeConstants"; +export const resolveAccountIdEndpointModeConfig = (input) => { + const { accountIdEndpointMode } = input; + const accountIdEndpointModeProvider = normalizeProvider(accountIdEndpointMode ?? DEFAULT_ACCOUNT_ID_ENDPOINT_MODE); + return Object.assign(input, { + accountIdEndpointMode: async () => { + const accIdMode = await accountIdEndpointModeProvider(); + if (!validateAccountIdEndpointMode(accIdMode)) { + throw new Error(`Invalid value for accountIdEndpointMode: ${accIdMode}. Valid values are: "required", "preferred", "disabled".`); + } + return accIdMode; + }, + }); +}; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConstants.js b/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConstants.js new file mode 100644 index 0000000..e7a2ca0 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConstants.js @@ -0,0 +1,5 @@ +export const DEFAULT_ACCOUNT_ID_ENDPOINT_MODE = "preferred"; +export const ACCOUNT_ID_ENDPOINT_MODE_VALUES = ["disabled", "preferred", "required"]; +export function validateAccountIdEndpointMode(value) { + return ACCOUNT_ID_ENDPOINT_MODE_VALUES.includes(value); +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js b/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js new file mode 100644 index 0000000..adc1496 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js @@ -0,0 +1,24 @@ +import { DEFAULT_ACCOUNT_ID_ENDPOINT_MODE, validateAccountIdEndpointMode } from "./AccountIdEndpointModeConstants"; +const err = "Invalid AccountIdEndpointMode value"; +const _throw = (message) => { + throw new Error(message); +}; +export const ENV_ACCOUNT_ID_ENDPOINT_MODE = "AWS_ACCOUNT_ID_ENDPOINT_MODE"; +export const CONFIG_ACCOUNT_ID_ENDPOINT_MODE = "account_id_endpoint_mode"; +export const NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => { + const value = env[ENV_ACCOUNT_ID_ENDPOINT_MODE]; + if (value && !validateAccountIdEndpointMode(value)) { + _throw(err); + } + return value; + }, + configFileSelector: (profile) => { + const value = profile[CONFIG_ACCOUNT_ID_ENDPOINT_MODE]; + if (value && !validateAccountIdEndpointMode(value)) { + _throw(err); + } + return value; + }, + default: DEFAULT_ACCOUNT_ID_ENDPOINT_MODE, +}; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/index.js b/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/index.js new file mode 100644 index 0000000..52af11d --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/index.js @@ -0,0 +1,3 @@ +export * from "./AccountIdEndpointModeConfigResolver"; +export * from "./AccountIdEndpointModeConstants"; +export * from "./NodeAccountIdEndpointModeConfigOptions"; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js b/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js new file mode 100644 index 0000000..b254425 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js @@ -0,0 +1,15 @@ +export const state = { + warningEmitted: false, +}; +export const emitWarningIfUnsupportedVersion = (version) => { + if (version && !state.warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 20) { + state.warningEmitted = true; + process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will +no longer support Node.js ${version} in January 2026. + +To continue receiving updates to AWS services, bug fixes, and security +updates please upgrade to a supported Node.js LTS version. + +More information can be found at: https://a.co/c895JFp`); + } +}; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js b/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js new file mode 100644 index 0000000..492c6cd --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js @@ -0,0 +1,4 @@ +export * from "./emitWarningIfUnsupportedVersion"; +export * from "./setCredentialFeature"; +export * from "./setFeature"; +export * from "./setTokenFeature"; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/client/setCredentialFeature.js b/node_modules/@aws-sdk/core/dist-es/submodules/client/setCredentialFeature.js new file mode 100644 index 0000000..a489c40 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/client/setCredentialFeature.js @@ -0,0 +1,7 @@ +export function setCredentialFeature(credentials, feature, value) { + if (!credentials.$source) { + credentials.$source = {}; + } + credentials.$source[feature] = value; + return credentials; +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js b/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js new file mode 100644 index 0000000..2d8804b --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js @@ -0,0 +1,11 @@ +export function setFeature(context, feature, value) { + if (!context.__aws_sdk_context) { + context.__aws_sdk_context = { + features: {}, + }; + } + else if (!context.__aws_sdk_context.features) { + context.__aws_sdk_context.features = {}; + } + context.__aws_sdk_context.features[feature] = value; +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/client/setTokenFeature.js b/node_modules/@aws-sdk/core/dist-es/submodules/client/setTokenFeature.js new file mode 100644 index 0000000..3f2bc60 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/client/setTokenFeature.js @@ -0,0 +1,7 @@ +export function setTokenFeature(token, feature, value) { + if (!token.$source) { + token.$source = {}; + } + token.$source[feature] = value; + return token; +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js new file mode 100644 index 0000000..548fefb --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js @@ -0,0 +1,20 @@ +import { HttpRequest } from "@smithy/protocol-http"; +import { getSkewCorrectedDate } from "../utils"; +import { AwsSdkSigV4Signer, validateSigningProperties } from "./AwsSdkSigV4Signer"; +export class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer { + async sign(httpRequest, identity, signingProperties) { + if (!HttpRequest.isInstance(httpRequest)) { + throw new Error("The request is not an instance of `HttpRequest` and cannot be signed"); + } + const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties(signingProperties); + const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.(); + const multiRegionOverride = (configResolvedSigningRegionSet ?? + signingRegionSet ?? [signingRegion]).join(","); + const signedRequest = await signer.sign(httpRequest, { + signingDate: getSkewCorrectedDate(config.systemClockOffset), + signingRegion: multiRegionOverride, + signingService: signingName, + }); + return signedRequest; + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js new file mode 100644 index 0000000..ee236cd --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js @@ -0,0 +1,72 @@ +import { HttpRequest } from "@smithy/protocol-http"; +import { getDateHeader, getSkewCorrectedDate, getUpdatedSystemClockOffset } from "../utils"; +const throwSigningPropertyError = (name, property) => { + if (!property) { + throw new Error(`Property \`${name}\` is not resolved for AWS SDK SigV4Auth`); + } + return property; +}; +export const validateSigningProperties = async (signingProperties) => { + const context = throwSigningPropertyError("context", signingProperties.context); + const config = throwSigningPropertyError("config", signingProperties.config); + const authScheme = context.endpointV2?.properties?.authSchemes?.[0]; + const signerFunction = throwSigningPropertyError("signer", config.signer); + const signer = await signerFunction(authScheme); + const signingRegion = signingProperties?.signingRegion; + const signingRegionSet = signingProperties?.signingRegionSet; + const signingName = signingProperties?.signingName; + return { + config, + signer, + signingRegion, + signingRegionSet, + signingName, + }; +}; +export class AwsSdkSigV4Signer { + async sign(httpRequest, identity, signingProperties) { + if (!HttpRequest.isInstance(httpRequest)) { + throw new Error("The request is not an instance of `HttpRequest` and cannot be signed"); + } + const validatedProps = await validateSigningProperties(signingProperties); + const { config, signer } = validatedProps; + let { signingRegion, signingName } = validatedProps; + const handlerExecutionContext = signingProperties.context; + if (handlerExecutionContext?.authSchemes?.length ?? 0 > 1) { + const [first, second] = handlerExecutionContext.authSchemes; + if (first?.name === "sigv4a" && second?.name === "sigv4") { + signingRegion = second?.signingRegion ?? signingRegion; + signingName = second?.signingName ?? signingName; + } + } + const signedRequest = await signer.sign(httpRequest, { + signingDate: getSkewCorrectedDate(config.systemClockOffset), + signingRegion: signingRegion, + signingService: signingName, + }); + return signedRequest; + } + errorHandler(signingProperties) { + return (error) => { + const serverTime = error.ServerTime ?? getDateHeader(error.$response); + if (serverTime) { + const config = throwSigningPropertyError("config", signingProperties.config); + const initialSystemClockOffset = config.systemClockOffset; + config.systemClockOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset); + const clockSkewCorrected = config.systemClockOffset !== initialSystemClockOffset; + if (clockSkewCorrected && error.$metadata) { + error.$metadata.clockSkewCorrected = true; + } + } + throw error; + }; + } + successHandler(httpResponse, signingProperties) { + const dateHeader = getDateHeader(httpResponse); + if (dateHeader) { + const config = throwSigningPropertyError("config", signingProperties.config); + config.systemClockOffset = getUpdatedSystemClockOffset(dateHeader, config.systemClockOffset); + } + } +} +export const AWSSDKSigV4Signer = AwsSdkSigV4Signer; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js new file mode 100644 index 0000000..5d7cf82 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js @@ -0,0 +1,22 @@ +import { getArrayForCommaSeparatedString } from "../utils/getArrayForCommaSeparatedString"; +import { getBearerTokenEnvKey } from "../utils/getBearerTokenEnvKey"; +const NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = "AWS_AUTH_SCHEME_PREFERENCE"; +const NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = "auth_scheme_preference"; +export const NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = { + environmentVariableSelector: (env, options) => { + if (options?.signingName) { + const bearerTokenKey = getBearerTokenEnvKey(options.signingName); + if (bearerTokenKey in env) + return ["httpBearerAuth"]; + } + if (!(NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY in env)) + return undefined; + return getArrayForCommaSeparatedString(env[NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY]); + }, + configFileSelector: (profile) => { + if (!(NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY in profile)) + return undefined; + return getArrayForCommaSeparatedString(profile[NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY]); + }, + default: [], +}; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js new file mode 100644 index 0000000..4071225 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js @@ -0,0 +1,5 @@ +export { AwsSdkSigV4Signer, AWSSDKSigV4Signer, validateSigningProperties } from "./AwsSdkSigV4Signer"; +export { AwsSdkSigV4ASigner } from "./AwsSdkSigV4ASigner"; +export * from "./NODE_AUTH_SCHEME_PREFERENCE_OPTIONS"; +export * from "./resolveAwsSdkSigV4AConfig"; +export * from "./resolveAwsSdkSigV4Config"; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.js b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.js new file mode 100644 index 0000000..0e62ef0 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.js @@ -0,0 +1,25 @@ +import { normalizeProvider } from "@smithy/core"; +import { ProviderError } from "@smithy/property-provider"; +export const resolveAwsSdkSigV4AConfig = (config) => { + config.sigv4aSigningRegionSet = normalizeProvider(config.sigv4aSigningRegionSet); + return config; +}; +export const NODE_SIGV4A_CONFIG_OPTIONS = { + environmentVariableSelector(env) { + if (env.AWS_SIGV4A_SIGNING_REGION_SET) { + return env.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((_) => _.trim()); + } + throw new ProviderError("AWS_SIGV4A_SIGNING_REGION_SET not set in env.", { + tryNextLink: true, + }); + }, + configFileSelector(profile) { + if (profile.sigv4a_signing_region_set) { + return (profile.sigv4a_signing_region_set ?? "").split(",").map((_) => _.trim()); + } + throw new ProviderError("sigv4a_signing_region_set not set in profile.", { + tryNextLink: true, + }); + }, + default: undefined, +}; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js new file mode 100644 index 0000000..8c8db4f --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js @@ -0,0 +1,139 @@ +import { setCredentialFeature } from "@aws-sdk/core/client"; +import { doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider, normalizeProvider, } from "@smithy/core"; +import { SignatureV4 } from "@smithy/signature-v4"; +export const resolveAwsSdkSigV4Config = (config) => { + let inputCredentials = config.credentials; + let isUserSupplied = !!config.credentials; + let resolvedCredentials = undefined; + Object.defineProperty(config, "credentials", { + set(credentials) { + if (credentials && credentials !== inputCredentials && credentials !== resolvedCredentials) { + isUserSupplied = true; + } + inputCredentials = credentials; + const memoizedProvider = normalizeCredentialProvider(config, { + credentials: inputCredentials, + credentialDefaultProvider: config.credentialDefaultProvider, + }); + const boundProvider = bindCallerConfig(config, memoizedProvider); + if (isUserSupplied && !boundProvider.attributed) { + const isCredentialObject = typeof inputCredentials === "object" && inputCredentials !== null; + resolvedCredentials = async (options) => { + const creds = await boundProvider(options); + const attributedCreds = creds; + if (isCredentialObject && (!attributedCreds.$source || Object.keys(attributedCreds.$source).length === 0)) { + return setCredentialFeature(attributedCreds, "CREDENTIALS_CODE", "e"); + } + return attributedCreds; + }; + resolvedCredentials.memoized = boundProvider.memoized; + resolvedCredentials.configBound = boundProvider.configBound; + resolvedCredentials.attributed = true; + } + else { + resolvedCredentials = boundProvider; + } + }, + get() { + return resolvedCredentials; + }, + enumerable: true, + configurable: true, + }); + config.credentials = inputCredentials; + const { signingEscapePath = true, systemClockOffset = config.systemClockOffset || 0, sha256, } = config; + let signer; + if (config.signer) { + signer = normalizeProvider(config.signer); + } + else if (config.regionInfoProvider) { + signer = () => normalizeProvider(config.region)() + .then(async (region) => [ + (await config.regionInfoProvider(region, { + useFipsEndpoint: await config.useFipsEndpoint(), + useDualstackEndpoint: await config.useDualstackEndpoint(), + })) || {}, + region, + ]) + .then(([regionInfo, region]) => { + const { signingRegion, signingService } = regionInfo; + config.signingRegion = config.signingRegion || signingRegion || region; + config.signingName = config.signingName || signingService || config.serviceId; + const params = { + ...config, + credentials: config.credentials, + region: config.signingRegion, + service: config.signingName, + sha256, + uriEscapePath: signingEscapePath, + }; + const SignerCtor = config.signerConstructor || SignatureV4; + return new SignerCtor(params); + }); + } + else { + signer = async (authScheme) => { + authScheme = Object.assign({}, { + name: "sigv4", + signingName: config.signingName || config.defaultSigningName, + signingRegion: await normalizeProvider(config.region)(), + properties: {}, + }, authScheme); + const signingRegion = authScheme.signingRegion; + const signingService = authScheme.signingName; + config.signingRegion = config.signingRegion || signingRegion; + config.signingName = config.signingName || signingService || config.serviceId; + const params = { + ...config, + credentials: config.credentials, + region: config.signingRegion, + service: config.signingName, + sha256, + uriEscapePath: signingEscapePath, + }; + const SignerCtor = config.signerConstructor || SignatureV4; + return new SignerCtor(params); + }; + } + const resolvedConfig = Object.assign(config, { + systemClockOffset, + signingEscapePath, + signer, + }); + return resolvedConfig; +}; +export const resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config; +function normalizeCredentialProvider(config, { credentials, credentialDefaultProvider, }) { + let credentialsProvider; + if (credentials) { + if (!credentials?.memoized) { + credentialsProvider = memoizeIdentityProvider(credentials, isIdentityExpired, doesIdentityRequireRefresh); + } + else { + credentialsProvider = credentials; + } + } + else { + if (credentialDefaultProvider) { + credentialsProvider = normalizeProvider(credentialDefaultProvider(Object.assign({}, config, { + parentClientConfig: config, + }))); + } + else { + credentialsProvider = async () => { + throw new Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured."); + }; + } + } + credentialsProvider.memoized = true; + return credentialsProvider; +} +function bindCallerConfig(config, credentialsProvider) { + if (credentialsProvider.configBound) { + return credentialsProvider; + } + const fn = async (options) => credentialsProvider({ ...options, callerClientConfig: config }); + fn.memoized = credentialsProvider.memoized; + fn.configBound = true; + return fn; +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js new file mode 100644 index 0000000..3927741 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js @@ -0,0 +1,2 @@ +export * from "./aws_sdk"; +export * from "./utils/getBearerTokenEnvKey"; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.js b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.js new file mode 100644 index 0000000..aa60799 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.js @@ -0,0 +1 @@ +export const getArrayForCommaSeparatedString = (str) => typeof str === "string" && str.length > 0 ? str.split(",").map((item) => item.trim()) : []; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.js b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.js new file mode 100644 index 0000000..27eff7f --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.js @@ -0,0 +1 @@ +export const getBearerTokenEnvKey = (signingName) => `AWS_BEARER_TOKEN_${signingName.replace(/[\s-]/g, "_").toUpperCase()}`; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js new file mode 100644 index 0000000..449c182 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js @@ -0,0 +1,2 @@ +import { HttpResponse } from "@smithy/protocol-http"; +export const getDateHeader = (response) => HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : undefined; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.js b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.js new file mode 100644 index 0000000..6ee8036 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.js @@ -0,0 +1 @@ +export const getSkewCorrectedDate = (systemClockOffset) => new Date(Date.now() + systemClockOffset); diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js new file mode 100644 index 0000000..859c41a --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js @@ -0,0 +1,8 @@ +import { isClockSkewed } from "./isClockSkewed"; +export const getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset) => { + const clockTimeInMs = Date.parse(clockTime); + if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) { + return clockTimeInMs - Date.now(); + } + return currentSystemClockOffset; +}; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js new file mode 100644 index 0000000..07c2195 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js @@ -0,0 +1,3 @@ +export * from "./getDateHeader"; +export * from "./getSkewCorrectedDate"; +export * from "./getUpdatedSystemClockOffset"; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/isClockSkewed.js b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/isClockSkewed.js new file mode 100644 index 0000000..086d7a8 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/isClockSkewed.js @@ -0,0 +1,2 @@ +import { getSkewCorrectedDate } from "./getSkewCorrectedDate"; +export const isClockSkewed = (clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 300000; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js new file mode 100644 index 0000000..0684ab6 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js @@ -0,0 +1,6 @@ +export class SerdeContextConfig { + serdeContext; + setSerdeContext(serdeContext) { + this.serdeContext = serdeContext; + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js new file mode 100644 index 0000000..95da94d --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js @@ -0,0 +1,140 @@ +import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema"; +import { decorateServiceException } from "@smithy/smithy-client"; +export class ProtocolLib { + queryCompat; + errorRegistry; + constructor(queryCompat = false) { + this.queryCompat = queryCompat; + } + resolveRestContentType(defaultContentType, inputSchema) { + const members = inputSchema.getMemberSchemas(); + const httpPayloadMember = Object.values(members).find((m) => { + return !!m.getMergedTraits().httpPayload; + }); + if (httpPayloadMember) { + const mediaType = httpPayloadMember.getMergedTraits().mediaType; + if (mediaType) { + return mediaType; + } + else if (httpPayloadMember.isStringSchema()) { + return "text/plain"; + } + else if (httpPayloadMember.isBlobSchema()) { + return "application/octet-stream"; + } + else { + return defaultContentType; + } + } + else if (!inputSchema.isUnitSchema()) { + const hasBody = Object.values(members).find((m) => { + const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits(); + const noPrefixHeaders = httpPrefixHeaders === void 0; + return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && noPrefixHeaders; + }); + if (hasBody) { + return defaultContentType; + } + } + } + async getErrorSchemaOrThrowBaseException(errorIdentifier, defaultNamespace, response, dataObject, metadata, getErrorSchema) { + let errorName = errorIdentifier; + if (errorIdentifier.includes("#")) { + [, errorName] = errorIdentifier.split("#"); + } + const errorMetadata = { + $metadata: metadata, + $fault: response.statusCode < 500 ? "client" : "server", + }; + if (!this.errorRegistry) { + throw new Error("@aws-sdk/core/protocols - error handler not initialized."); + } + try { + const errorSchema = getErrorSchema?.(this.errorRegistry, errorName) ?? + this.errorRegistry.getSchema(errorIdentifier); + return { errorSchema, errorMetadata }; + } + catch (e) { + dataObject.message = dataObject.message ?? dataObject.Message ?? "UnknownError"; + const synthetic = this.errorRegistry; + const baseExceptionSchema = synthetic.getBaseException(); + if (baseExceptionSchema) { + const ErrorCtor = synthetic.getErrorCtor(baseExceptionSchema) ?? Error; + throw this.decorateServiceException(Object.assign(new ErrorCtor({ name: errorName }), errorMetadata), dataObject); + } + const d = dataObject; + const message = d?.message ?? d?.Message ?? d?.Error?.Message ?? d?.Error?.message; + throw this.decorateServiceException(Object.assign(new Error(message), { + name: errorName, + }, errorMetadata), dataObject); + } + } + compose(composite, errorIdentifier, defaultNamespace) { + let namespace = defaultNamespace; + if (errorIdentifier.includes("#")) { + [namespace] = errorIdentifier.split("#"); + } + const staticRegistry = TypeRegistry.for(namespace); + const defaultSyntheticRegistry = TypeRegistry.for("smithy.ts.sdk.synthetic." + defaultNamespace); + composite.copyFrom(staticRegistry); + composite.copyFrom(defaultSyntheticRegistry); + this.errorRegistry = composite; + } + decorateServiceException(exception, additions = {}) { + if (this.queryCompat) { + const msg = exception.Message ?? additions.Message; + const error = decorateServiceException(exception, additions); + if (msg) { + error.message = msg; + } + error.Error = { + ...error.Error, + Type: error.Error?.Type, + Code: error.Error?.Code, + Message: error.Error?.message ?? error.Error?.Message ?? msg, + }; + const reqId = error.$metadata.requestId; + if (reqId) { + error.RequestId = reqId; + } + return error; + } + return decorateServiceException(exception, additions); + } + setQueryCompatError(output, response) { + const queryErrorHeader = response.headers?.["x-amzn-query-error"]; + if (output !== undefined && queryErrorHeader != null) { + const [Code, Type] = queryErrorHeader.split(";"); + const entries = Object.entries(output); + const Error = { + Code, + Type, + }; + Object.assign(output, Error); + for (const [k, v] of entries) { + Error[k === "message" ? "Message" : k] = v; + } + delete Error.__type; + output.Error = Error; + } + } + queryCompatOutput(queryCompatErrorData, errorData) { + if (queryCompatErrorData.Error) { + errorData.Error = queryCompatErrorData.Error; + } + if (queryCompatErrorData.Type) { + errorData.Type = queryCompatErrorData.Type; + } + if (queryCompatErrorData.Code) { + errorData.Code = queryCompatErrorData.Code; + } + } + findQueryCompatibleError(registry, errorName) { + try { + return registry.getSchema(errorName); + } + catch (e) { + return registry.find((schema) => NormalizedSchema.of(schema).getMergedTraits().awsQueryError?.[0] === errorName); + } + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/UnionSerde.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/UnionSerde.js new file mode 100644 index 0000000..ed75be6 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/UnionSerde.js @@ -0,0 +1,23 @@ +export class UnionSerde { + from; + to; + keys; + constructor(from, to) { + this.from = from; + this.to = to; + this.keys = new Set(Object.keys(this.from).filter((k) => k !== "__type")); + } + mark(key) { + this.keys.delete(key); + } + hasUnknown() { + return this.keys.size === 1 && Object.keys(this.to).length === 0; + } + writeUnknown() { + if (this.hasUnknown()) { + const k = this.keys.values().next().value; + const v = this.from[k]; + this.to.$unknown = [k, v]; + } + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js new file mode 100644 index 0000000..9e64354 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js @@ -0,0 +1,50 @@ +import { loadSmithyRpcV2CborErrorCode, SmithyRpcV2CborProtocol } from "@smithy/core/cbor"; +import { NormalizedSchema } from "@smithy/core/schema"; +import { ProtocolLib } from "../ProtocolLib"; +export class AwsSmithyRpcV2CborProtocol extends SmithyRpcV2CborProtocol { + awsQueryCompatible; + mixin; + constructor({ defaultNamespace, errorTypeRegistries, awsQueryCompatible, }) { + super({ defaultNamespace, errorTypeRegistries }); + this.awsQueryCompatible = !!awsQueryCompatible; + this.mixin = new ProtocolLib(this.awsQueryCompatible); + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + if (this.awsQueryCompatible) { + request.headers["x-amzn-query-mode"] = "true"; + } + return request; + } + async handleError(operationSchema, context, response, dataObject, metadata) { + if (this.awsQueryCompatible) { + this.mixin.setQueryCompatError(dataObject, response); + } + const errorName = (() => { + const compatHeader = response.headers["x-amzn-query-error"]; + if (compatHeader && this.awsQueryCompatible) { + return compatHeader.split(";")[0]; + } + return loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown"; + })(); + this.mixin.compose(this.compositeErrorRegistry, errorName, this.options.defaultNamespace); + const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined); + const ns = NormalizedSchema.of(errorSchema); + const message = dataObject.message ?? dataObject.Message ?? "UnknownError"; + const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error; + const exception = new ErrorCtor(message); + const output = {}; + for (const [name, member] of ns.structIterator()) { + if (dataObject[name] != null) { + output[name] = this.deserializer.readValue(member, dataObject[name]); + } + } + if (this.awsQueryCompatible) { + this.mixin.queryCompatOutput(dataObject, output); + } + throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output), dataObject); + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/coercing-serializers.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/coercing-serializers.js new file mode 100644 index 0000000..fce893b --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/coercing-serializers.js @@ -0,0 +1,53 @@ +export const _toStr = (val) => { + if (val == null) { + return val; + } + if (typeof val === "number" || typeof val === "bigint") { + const warning = new Error(`Received number ${val} where a string was expected.`); + warning.name = "Warning"; + console.warn(warning); + return String(val); + } + if (typeof val === "boolean") { + const warning = new Error(`Received boolean ${val} where a string was expected.`); + warning.name = "Warning"; + console.warn(warning); + return String(val); + } + return val; +}; +export const _toBool = (val) => { + if (val == null) { + return val; + } + if (typeof val === "number") { + } + if (typeof val === "string") { + const lowercase = val.toLowerCase(); + if (val !== "" && lowercase !== "false" && lowercase !== "true") { + const warning = new Error(`Received string "${val}" where a boolean was expected.`); + warning.name = "Warning"; + console.warn(warning); + } + return val !== "" && lowercase !== "false"; + } + return val; +}; +export const _toNum = (val) => { + if (val == null) { + return val; + } + if (typeof val === "boolean") { + } + if (typeof val === "string") { + const num = Number(val); + if (num.toString() !== val) { + const warning = new Error(`Received string "${val}" where a number was expected.`); + warning.name = "Warning"; + console.warn(warning); + return val; + } + return num; + } + return val; +}; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js new file mode 100644 index 0000000..1b16750 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js @@ -0,0 +1,3 @@ +import { collectBody } from "@smithy/smithy-client"; +import { toUtf8 } from "@smithy/util-utf8"; +export const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => (context?.utf8Encoder ?? toUtf8)(body)); diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js new file mode 100644 index 0000000..0a230f9 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js @@ -0,0 +1,20 @@ +export * from "./cbor/AwsSmithyRpcV2CborProtocol"; +export * from "./coercing-serializers"; +export * from "./json/AwsJson1_0Protocol"; +export * from "./json/AwsJson1_1Protocol"; +export * from "./json/AwsJsonRpcProtocol"; +export * from "./json/AwsRestJsonProtocol"; +export * from "./json/JsonCodec"; +export * from "./json/JsonShapeDeserializer"; +export * from "./json/JsonShapeSerializer"; +export * from "./json/awsExpectUnion"; +export * from "./json/parseJsonBody"; +export * from "./query/AwsEc2QueryProtocol"; +export * from "./query/AwsQueryProtocol"; +export * from "./query/QuerySerializerSettings"; +export * from "./query/QueryShapeSerializer"; +export * from "./xml/AwsRestXmlProtocol"; +export * from "./xml/XmlCodec"; +export * from "./xml/XmlShapeDeserializer"; +export * from "./xml/XmlShapeSerializer"; +export * from "./xml/parseXmlBody"; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js new file mode 100644 index 0000000..c25db44 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js @@ -0,0 +1,21 @@ +import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol"; +export class AwsJson1_0Protocol extends AwsJsonRpcProtocol { + constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) { + super({ + defaultNamespace, + errorTypeRegistries, + serviceTarget, + awsQueryCompatible, + jsonCodec, + }); + } + getShapeId() { + return "aws.protocols#awsJson1_0"; + } + getJsonRpcVersion() { + return "1.0"; + } + getDefaultContentType() { + return "application/x-amz-json-1.0"; + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js new file mode 100644 index 0000000..28d0145 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js @@ -0,0 +1,21 @@ +import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol"; +export class AwsJson1_1Protocol extends AwsJsonRpcProtocol { + constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) { + super({ + defaultNamespace, + errorTypeRegistries, + serviceTarget, + awsQueryCompatible, + jsonCodec, + }); + } + getShapeId() { + return "aws.protocols#awsJson1_1"; + } + getJsonRpcVersion() { + return "1.1"; + } + getDefaultContentType() { + return "application/x-amz-json-1.1"; + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js new file mode 100644 index 0000000..6e4f3be --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js @@ -0,0 +1,78 @@ +import { RpcProtocol } from "@smithy/core/protocols"; +import { deref, NormalizedSchema } from "@smithy/core/schema"; +import { ProtocolLib } from "../ProtocolLib"; +import { JsonCodec } from "./JsonCodec"; +import { loadRestJsonErrorCode } from "./parseJsonBody"; +export class AwsJsonRpcProtocol extends RpcProtocol { + serializer; + deserializer; + serviceTarget; + codec; + mixin; + awsQueryCompatible; + constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) { + super({ + defaultNamespace, + errorTypeRegistries, + }); + this.serviceTarget = serviceTarget; + this.codec = + jsonCodec ?? + new JsonCodec({ + timestampFormat: { + useTrait: true, + default: 7, + }, + jsonName: false, + }); + this.serializer = this.codec.createSerializer(); + this.deserializer = this.codec.createDeserializer(); + this.awsQueryCompatible = !!awsQueryCompatible; + this.mixin = new ProtocolLib(this.awsQueryCompatible); + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + if (!request.path.endsWith("/")) { + request.path += "/"; + } + Object.assign(request.headers, { + "content-type": `application/x-amz-json-${this.getJsonRpcVersion()}`, + "x-amz-target": `${this.serviceTarget}.${operationSchema.name}`, + }); + if (this.awsQueryCompatible) { + request.headers["x-amzn-query-mode"] = "true"; + } + if (deref(operationSchema.input) === "unit" || !request.body) { + request.body = "{}"; + } + return request; + } + getPayloadCodec() { + return this.codec; + } + async handleError(operationSchema, context, response, dataObject, metadata) { + if (this.awsQueryCompatible) { + this.mixin.setQueryCompatError(dataObject, response); + } + const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown"; + this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace); + const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined); + const ns = NormalizedSchema.of(errorSchema); + const message = dataObject.message ?? dataObject.Message ?? "UnknownError"; + const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error; + const exception = new ErrorCtor(message); + const output = {}; + for (const [name, member] of ns.structIterator()) { + if (dataObject[name] != null) { + output[name] = this.codec.createDeserializer().readObject(member, dataObject[name]); + } + } + if (this.awsQueryCompatible) { + this.mixin.queryCompatOutput(dataObject, output); + } + throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output), dataObject); + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js new file mode 100644 index 0000000..5baab18 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js @@ -0,0 +1,84 @@ +import { HttpBindingProtocol, HttpInterceptingShapeDeserializer, HttpInterceptingShapeSerializer, } from "@smithy/core/protocols"; +import { NormalizedSchema } from "@smithy/core/schema"; +import { ProtocolLib } from "../ProtocolLib"; +import { JsonCodec } from "./JsonCodec"; +import { loadRestJsonErrorCode } from "./parseJsonBody"; +export class AwsRestJsonProtocol extends HttpBindingProtocol { + serializer; + deserializer; + codec; + mixin = new ProtocolLib(); + constructor({ defaultNamespace, errorTypeRegistries, }) { + super({ + defaultNamespace, + errorTypeRegistries, + }); + const settings = { + timestampFormat: { + useTrait: true, + default: 7, + }, + httpBindings: true, + jsonName: true, + }; + this.codec = new JsonCodec(settings); + this.serializer = new HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings); + this.deserializer = new HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings); + } + getShapeId() { + return "aws.protocols#restJson1"; + } + getPayloadCodec() { + return this.codec; + } + setSerdeContext(serdeContext) { + this.codec.setSerdeContext(serdeContext); + super.setSerdeContext(serdeContext); + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + const inputSchema = NormalizedSchema.of(operationSchema.input); + if (!request.headers["content-type"]) { + const contentType = this.mixin.resolveRestContentType(this.getDefaultContentType(), inputSchema); + if (contentType) { + request.headers["content-type"] = contentType; + } + } + if (request.body == null && request.headers["content-type"] === this.getDefaultContentType()) { + request.body = "{}"; + } + return request; + } + async deserializeResponse(operationSchema, context, response) { + const output = await super.deserializeResponse(operationSchema, context, response); + const outputSchema = NormalizedSchema.of(operationSchema.output); + for (const [name, member] of outputSchema.structIterator()) { + if (member.getMemberTraits().httpPayload && !(name in output)) { + output[name] = null; + } + } + return output; + } + async handleError(operationSchema, context, response, dataObject, metadata) { + const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown"; + this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace); + const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata); + const ns = NormalizedSchema.of(errorSchema); + const message = dataObject.message ?? dataObject.Message ?? "UnknownError"; + const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error; + const exception = new ErrorCtor(message); + await this.deserializeHttpMessage(errorSchema, context, response, dataObject); + const output = {}; + for (const [name, member] of ns.structIterator()) { + const target = member.getMergedTraits().jsonName ?? name; + output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]); + } + throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output), dataObject); + } + getDefaultContentType() { + return "application/json"; + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonCodec.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonCodec.js new file mode 100644 index 0000000..9a0b234 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonCodec.js @@ -0,0 +1,20 @@ +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +import { JsonShapeDeserializer } from "./JsonShapeDeserializer"; +import { JsonShapeSerializer } from "./JsonShapeSerializer"; +export class JsonCodec extends SerdeContextConfig { + settings; + constructor(settings) { + super(); + this.settings = settings; + } + createSerializer() { + const serializer = new JsonShapeSerializer(this.settings); + serializer.setSerdeContext(this.serdeContext); + return serializer; + } + createDeserializer() { + const deserializer = new JsonShapeDeserializer(this.settings); + deserializer.setSerdeContext(this.serdeContext); + return deserializer; + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js new file mode 100644 index 0000000..5e29279 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js @@ -0,0 +1,149 @@ +import { determineTimestampFormat } from "@smithy/core/protocols"; +import { NormalizedSchema } from "@smithy/core/schema"; +import { LazyJsonString, NumericValue, parseEpochTimestamp, parseRfc3339DateTimeWithOffset, parseRfc7231DateTime, } from "@smithy/core/serde"; +import { fromBase64 } from "@smithy/util-base64"; +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +import { UnionSerde } from "../UnionSerde"; +import { jsonReviver } from "./jsonReviver"; +import { parseJsonBody } from "./parseJsonBody"; +export class JsonShapeDeserializer extends SerdeContextConfig { + settings; + constructor(settings) { + super(); + this.settings = settings; + } + async read(schema, data) { + return this._read(schema, typeof data === "string" ? JSON.parse(data, jsonReviver) : await parseJsonBody(data, this.serdeContext)); + } + readObject(schema, data) { + return this._read(schema, data); + } + _read(schema, value) { + const isObject = value !== null && typeof value === "object"; + const ns = NormalizedSchema.of(schema); + if (isObject) { + if (ns.isStructSchema()) { + const record = value; + const union = ns.isUnionSchema(); + const out = {}; + let nameMap = void 0; + const { jsonName } = this.settings; + if (jsonName) { + nameMap = {}; + } + let unionSerde; + if (union) { + unionSerde = new UnionSerde(record, out); + } + for (const [memberName, memberSchema] of ns.structIterator()) { + let fromKey = memberName; + if (jsonName) { + fromKey = memberSchema.getMergedTraits().jsonName ?? fromKey; + nameMap[fromKey] = memberName; + } + if (union) { + unionSerde.mark(fromKey); + } + if (record[fromKey] != null) { + out[memberName] = this._read(memberSchema, record[fromKey]); + } + } + if (union) { + unionSerde.writeUnknown(); + } + else if (typeof record.__type === "string") { + for (const [k, v] of Object.entries(record)) { + const t = jsonName ? nameMap[k] ?? k : k; + if (!(t in out)) { + out[t] = v; + } + } + } + return out; + } + if (Array.isArray(value) && ns.isListSchema()) { + const listMember = ns.getValueSchema(); + const out = []; + for (const item of value) { + out.push(this._read(listMember, item)); + } + return out; + } + if (ns.isMapSchema()) { + const mapMember = ns.getValueSchema(); + const out = {}; + for (const [_k, _v] of Object.entries(value)) { + out[_k] = this._read(mapMember, _v); + } + return out; + } + } + if (ns.isBlobSchema() && typeof value === "string") { + return fromBase64(value); + } + const mediaType = ns.getMergedTraits().mediaType; + if (ns.isStringSchema() && typeof value === "string" && mediaType) { + const isJson = mediaType === "application/json" || mediaType.endsWith("+json"); + if (isJson) { + return LazyJsonString.from(value); + } + return value; + } + if (ns.isTimestampSchema() && value != null) { + const format = determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + return parseRfc3339DateTimeWithOffset(value); + case 6: + return parseRfc7231DateTime(value); + case 7: + return parseEpochTimestamp(value); + default: + console.warn("Missing timestamp format, parsing value with Date constructor:", value); + return new Date(value); + } + } + if (ns.isBigIntegerSchema() && (typeof value === "number" || typeof value === "string")) { + return BigInt(value); + } + if (ns.isBigDecimalSchema() && value != undefined) { + if (value instanceof NumericValue) { + return value; + } + const untyped = value; + if (untyped.type === "bigDecimal" && "string" in untyped) { + return new NumericValue(untyped.string, untyped.type); + } + return new NumericValue(String(value), "bigDecimal"); + } + if (ns.isNumericSchema() && typeof value === "string") { + switch (value) { + case "Infinity": + return Infinity; + case "-Infinity": + return -Infinity; + case "NaN": + return NaN; + } + return value; + } + if (ns.isDocumentSchema()) { + if (isObject) { + const out = Array.isArray(value) ? [] : {}; + for (const [k, v] of Object.entries(value)) { + if (v instanceof NumericValue) { + out[k] = v; + } + else { + out[k] = this._read(ns, v); + } + } + return out; + } + else { + return structuredClone(value); + } + } + return value; + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js new file mode 100644 index 0000000..8f5e202 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js @@ -0,0 +1,176 @@ +import { determineTimestampFormat } from "@smithy/core/protocols"; +import { NormalizedSchema } from "@smithy/core/schema"; +import { dateToUtcString, generateIdempotencyToken, LazyJsonString, NumericValue } from "@smithy/core/serde"; +import { toBase64 } from "@smithy/util-base64"; +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +import { JsonReplacer } from "./jsonReplacer"; +export class JsonShapeSerializer extends SerdeContextConfig { + settings; + buffer; + useReplacer = false; + rootSchema; + constructor(settings) { + super(); + this.settings = settings; + } + write(schema, value) { + this.rootSchema = NormalizedSchema.of(schema); + this.buffer = this._write(this.rootSchema, value); + } + writeDiscriminatedDocument(schema, value) { + this.write(schema, value); + if (typeof this.buffer === "object") { + this.buffer.__type = NormalizedSchema.of(schema).getName(true); + } + } + flush() { + const { rootSchema, useReplacer } = this; + this.rootSchema = undefined; + this.useReplacer = false; + if (rootSchema?.isStructSchema() || rootSchema?.isDocumentSchema()) { + if (!useReplacer) { + return JSON.stringify(this.buffer); + } + const replacer = new JsonReplacer(); + return replacer.replaceInJson(JSON.stringify(this.buffer, replacer.createReplacer(), 0)); + } + return this.buffer; + } + _write(schema, value, container) { + const isObject = value !== null && typeof value === "object"; + const ns = NormalizedSchema.of(schema); + if (isObject) { + if (ns.isStructSchema()) { + const record = value; + const out = {}; + const { jsonName } = this.settings; + let nameMap = void 0; + if (jsonName) { + nameMap = {}; + } + for (const [memberName, memberSchema] of ns.structIterator()) { + const serializableValue = this._write(memberSchema, record[memberName], ns); + if (serializableValue !== undefined) { + let targetKey = memberName; + if (jsonName) { + targetKey = memberSchema.getMergedTraits().jsonName ?? memberName; + nameMap[memberName] = targetKey; + } + out[targetKey] = serializableValue; + } + } + if (ns.isUnionSchema() && Object.keys(out).length === 0) { + const { $unknown } = record; + if (Array.isArray($unknown)) { + const [k, v] = $unknown; + out[k] = this._write(15, v); + } + } + else if (typeof record.__type === "string") { + for (const [k, v] of Object.entries(record)) { + const targetKey = jsonName ? nameMap[k] ?? k : k; + if (!(targetKey in out)) { + out[targetKey] = this._write(15, v); + } + } + } + return out; + } + if (Array.isArray(value) && ns.isListSchema()) { + const listMember = ns.getValueSchema(); + const out = []; + const sparse = !!ns.getMergedTraits().sparse; + for (const item of value) { + if (sparse || item != null) { + out.push(this._write(listMember, item)); + } + } + return out; + } + if (ns.isMapSchema()) { + const mapMember = ns.getValueSchema(); + const out = {}; + const sparse = !!ns.getMergedTraits().sparse; + for (const [_k, _v] of Object.entries(value)) { + if (sparse || _v != null) { + out[_k] = this._write(mapMember, _v); + } + } + return out; + } + if (value instanceof Uint8Array && (ns.isBlobSchema() || ns.isDocumentSchema())) { + if (ns === this.rootSchema) { + return value; + } + return (this.serdeContext?.base64Encoder ?? toBase64)(value); + } + if (value instanceof Date && (ns.isTimestampSchema() || ns.isDocumentSchema())) { + const format = determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + return value.toISOString().replace(".000Z", "Z"); + case 6: + return dateToUtcString(value); + case 7: + return value.getTime() / 1000; + default: + console.warn("Missing timestamp format, using epoch seconds", value); + return value.getTime() / 1000; + } + } + if (value instanceof NumericValue) { + this.useReplacer = true; + } + } + if (value === null && container?.isStructSchema()) { + return void 0; + } + if (ns.isStringSchema()) { + if (typeof value === "undefined" && ns.isIdempotencyToken()) { + return generateIdempotencyToken(); + } + const mediaType = ns.getMergedTraits().mediaType; + if (value != null && mediaType) { + const isJson = mediaType === "application/json" || mediaType.endsWith("+json"); + if (isJson) { + return LazyJsonString.from(value); + } + } + return value; + } + if (typeof value === "number" && ns.isNumericSchema()) { + if (Math.abs(value) === Infinity || isNaN(value)) { + return String(value); + } + return value; + } + if (typeof value === "string" && ns.isBlobSchema()) { + if (ns === this.rootSchema) { + return value; + } + return (this.serdeContext?.base64Encoder ?? toBase64)(value); + } + if (typeof value === "bigint") { + this.useReplacer = true; + } + if (ns.isDocumentSchema()) { + if (isObject) { + const out = Array.isArray(value) ? [] : {}; + for (const [k, v] of Object.entries(value)) { + if (v instanceof NumericValue) { + this.useReplacer = true; + out[k] = v; + } + else { + out[k] = this._write(ns, v); + } + } + return out; + } + else { + return structuredClone(value); + } + } + return value; + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/awsExpectUnion.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/awsExpectUnion.js new file mode 100644 index 0000000..1c6cc32 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/awsExpectUnion.js @@ -0,0 +1,10 @@ +import { expectUnion } from "@smithy/smithy-client"; +export const awsExpectUnion = (value) => { + if (value == null) { + return undefined; + } + if (typeof value === "object" && "__type" in value) { + delete value.__type; + } + return expectUnion(value); +}; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js new file mode 100644 index 0000000..31d0439 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js @@ -0,0 +1,135 @@ +import { determineTimestampFormat } from "@smithy/core/protocols"; +import { NormalizedSchema } from "@smithy/core/schema"; +import { dateToUtcString, generateIdempotencyToken, LazyJsonString, NumericValue } from "@smithy/core/serde"; +import { toBase64 } from "@smithy/util-base64"; +import { SerdeContextConfig } from "../../ConfigurableSerdeContext"; +export class SinglePassJsonShapeSerializer extends SerdeContextConfig { + settings; + buffer; + rootSchema; + constructor(settings) { + super(); + this.settings = settings; + } + write(schema, value) { + this.rootSchema = NormalizedSchema.of(schema); + this.buffer = this.writeObject(this.rootSchema, value); + } + writeDiscriminatedDocument(schema, value) { + this.write(schema, value); + if (typeof this.buffer === "object") { + this.buffer.__type = NormalizedSchema.of(schema).getName(true); + } + } + flush() { + this.rootSchema = undefined; + return this.buffer; + } + writeObject(schema, value) { + if (value == undefined) { + return ""; + } + let b = ""; + const ns = NormalizedSchema.of(schema); + const sparse = !!ns.getMergedTraits().sparse; + if (Array.isArray(value) && (ns.isDocumentSchema() || ns.isListSchema())) { + b += "["; + for (let i = 0; i < value.length; ++i) { + const item = value[i]; + if (item != null || sparse) { + b += this.writeValue(ns.getValueSchema(), item); + b += ","; + } + } + } + else if (ns.isStructSchema()) { + b += "{"; + let didWriteMember = false; + for (const [name, member] of ns.structIterator()) { + const item = value[name]; + const targetKey = this.settings.jsonName ? member.getMergedTraits().jsonName ?? name : name; + const serializableValue = this.writeValue(member, item); + if (item != null || member.isIdempotencyToken()) { + didWriteMember = true; + b += `"${targetKey}":${serializableValue}`; + b += ","; + } + } + if (!didWriteMember && ns.isUnionSchema()) { + const { $unknown } = value; + if (Array.isArray($unknown)) { + const [k, v] = $unknown; + b += `"${k}":${this.writeValue(15, v)}`; + } + } + } + else if (ns.isMapSchema() || ns.isDocumentSchema()) { + b += "{"; + for (const [k, v] of Object.entries(value)) { + if (v != null || sparse) { + b += `"${k}":${this.writeValue(ns, v)}`; + b += ","; + } + } + } + if (b[b.length - 1] === ",") { + b = b.slice(0, -1); + } + if (b[0] === "[") { + b += "]"; + } + if (b[0] === "{") { + b += "}"; + } + return b; + } + writeValue(schema, value) { + const isObject = value !== null && typeof value === "object"; + const ns = NormalizedSchema.of(schema); + const quote = (_) => `"${_}"`; + if ((ns.isBlobSchema() && (value instanceof Uint8Array || typeof value === "string")) || + (ns.isDocumentSchema() && value instanceof Uint8Array)) { + return quote((this.serdeContext?.base64Encoder ?? toBase64)(value)); + } + if ((ns.isTimestampSchema() || ns.isDocumentSchema()) && value instanceof Date) { + const format = determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + return quote(value.toISOString().replace(".000Z", "Z")); + case 6: + return quote(dateToUtcString(value)); + case 7: + return String(value.getTime() / 1000); + default: + console.warn("Missing timestamp format, using epoch seconds", value); + return String(value.getTime() / 1000); + } + } + if (ns.isNumericSchema() && typeof value === "number") { + if (Math.abs(value) === Infinity || isNaN(value)) { + return quote(String(value)); + } + } + if (ns.isStringSchema()) { + if (typeof value === "undefined" && ns.isIdempotencyToken()) { + return quote(generateIdempotencyToken()); + } + if (typeof value === "string") { + const mediaType = ns.getMergedTraits().mediaType; + if (mediaType) { + const isJson = mediaType === "application/json" || mediaType.endsWith("+json"); + if (isJson) { + return quote(LazyJsonString.from(value).toString()); + } + } + } + } + if (value instanceof NumericValue) { + return value.string; + } + if (isObject) { + return this.writeObject(ns, value); + } + return typeof value === "string" ? quote(value) : String(value); + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReplacer.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReplacer.js new file mode 100644 index 0000000..7dbb98c --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReplacer.js @@ -0,0 +1,46 @@ +import { NumericValue } from "@smithy/core/serde"; +const NUMERIC_CONTROL_CHAR = String.fromCharCode(925); +export class JsonReplacer { + values = new Map(); + counter = 0; + stage = 0; + createReplacer() { + if (this.stage === 1) { + throw new Error("@aws-sdk/core/protocols - JsonReplacer already created."); + } + if (this.stage === 2) { + throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted."); + } + this.stage = 1; + return (key, value) => { + if (value instanceof NumericValue) { + const v = `${NUMERIC_CONTROL_CHAR + "nv" + this.counter++}_` + value.string; + this.values.set(`"${v}"`, value.string); + return v; + } + if (typeof value === "bigint") { + const s = value.toString(); + const v = `${NUMERIC_CONTROL_CHAR + "b" + this.counter++}_` + s; + this.values.set(`"${v}"`, s); + return v; + } + return value; + }; + } + replaceInJson(json) { + if (this.stage === 0) { + throw new Error("@aws-sdk/core/protocols - JsonReplacer not created yet."); + } + if (this.stage === 2) { + throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted."); + } + this.stage = 2; + if (this.counter === 0) { + return json; + } + for (const [key, value] of this.values) { + json = json.replace(key, value); + } + return json; + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js new file mode 100644 index 0000000..ab01eef --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js @@ -0,0 +1,18 @@ +import { NumericValue } from "@smithy/core/serde"; +export function jsonReviver(key, value, context) { + if (context?.source) { + const numericString = context.source; + if (typeof value === "number") { + if (value > Number.MAX_SAFE_INTEGER || value < Number.MIN_SAFE_INTEGER || numericString !== String(value)) { + const isFractional = numericString.includes("."); + if (isFractional) { + return new NumericValue(numericString, "bigDecimal"); + } + else { + return BigInt(numericString); + } + } + } + } + return value; +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js new file mode 100644 index 0000000..39f4910 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js @@ -0,0 +1,54 @@ +import { collectBodyString } from "../common"; +export const parseJsonBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { + if (encoded.length) { + try { + return JSON.parse(encoded); + } + catch (e) { + if (e?.name === "SyntaxError") { + Object.defineProperty(e, "$responseBodyText", { + value: encoded, + }); + } + throw e; + } + } + return {}; +}); +export const parseJsonErrorBody = async (errorBody, context) => { + const value = await parseJsonBody(errorBody, context); + value.message = value.message ?? value.Message; + return value; +}; +export const loadRestJsonErrorCode = (output, data) => { + const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()); + const sanitizeErrorCode = (rawValue) => { + let cleanValue = rawValue; + if (typeof cleanValue === "number") { + cleanValue = cleanValue.toString(); + } + if (cleanValue.indexOf(",") >= 0) { + cleanValue = cleanValue.split(",")[0]; + } + if (cleanValue.indexOf(":") >= 0) { + cleanValue = cleanValue.split(":")[0]; + } + if (cleanValue.indexOf("#") >= 0) { + cleanValue = cleanValue.split("#")[1]; + } + return cleanValue; + }; + const headerKey = findKey(output.headers, "x-amzn-errortype"); + if (headerKey !== undefined) { + return sanitizeErrorCode(output.headers[headerKey]); + } + if (data && typeof data === "object") { + const codeKey = findKey(data, "code"); + if (codeKey && data[codeKey] !== undefined) { + return sanitizeErrorCode(data[codeKey]); + } + if (data["__type"] !== undefined) { + return sanitizeErrorCode(data["__type"]); + } + } +}; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js new file mode 100644 index 0000000..349fd9a --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js @@ -0,0 +1,21 @@ +import { AwsQueryProtocol } from "./AwsQueryProtocol"; +export class AwsEc2QueryProtocol extends AwsQueryProtocol { + options; + constructor(options) { + super(options); + this.options = options; + const ec2Settings = { + capitalizeKeys: true, + flattenLists: true, + serializeEmptyLists: false, + ec2: true, + }; + Object.assign(this.serializer.settings, ec2Settings); + } + getShapeId() { + return "aws.protocols#ec2Query"; + } + useNestedResult() { + return false; + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js new file mode 100644 index 0000000..f2530e6 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js @@ -0,0 +1,138 @@ +import { collectBody, RpcProtocol } from "@smithy/core/protocols"; +import { deref, NormalizedSchema } from "@smithy/core/schema"; +import { ProtocolLib } from "../ProtocolLib"; +import { XmlShapeDeserializer } from "../xml/XmlShapeDeserializer"; +import { QueryShapeSerializer } from "./QueryShapeSerializer"; +export class AwsQueryProtocol extends RpcProtocol { + options; + serializer; + deserializer; + mixin = new ProtocolLib(); + constructor(options) { + super({ + defaultNamespace: options.defaultNamespace, + errorTypeRegistries: options.errorTypeRegistries, + }); + this.options = options; + const settings = { + timestampFormat: { + useTrait: true, + default: 5, + }, + httpBindings: false, + xmlNamespace: options.xmlNamespace, + serviceNamespace: options.defaultNamespace, + serializeEmptyLists: true, + }; + this.serializer = new QueryShapeSerializer(settings); + this.deserializer = new XmlShapeDeserializer(settings); + } + getShapeId() { + return "aws.protocols#awsQuery"; + } + setSerdeContext(serdeContext) { + this.serializer.setSerdeContext(serdeContext); + this.deserializer.setSerdeContext(serdeContext); + } + getPayloadCodec() { + throw new Error("AWSQuery protocol has no payload codec."); + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + if (!request.path.endsWith("/")) { + request.path += "/"; + } + Object.assign(request.headers, { + "content-type": `application/x-www-form-urlencoded`, + }); + if (deref(operationSchema.input) === "unit" || !request.body) { + request.body = ""; + } + const action = operationSchema.name.split("#")[1] ?? operationSchema.name; + request.body = `Action=${action}&Version=${this.options.version}` + request.body; + if (request.body.endsWith("&")) { + request.body = request.body.slice(-1); + } + return request; + } + async deserializeResponse(operationSchema, context, response) { + const deserializer = this.deserializer; + const ns = NormalizedSchema.of(operationSchema.output); + const dataObject = {}; + if (response.statusCode >= 300) { + const bytes = await collectBody(response.body, context); + if (bytes.byteLength > 0) { + Object.assign(dataObject, await deserializer.read(15, bytes)); + } + await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response)); + } + for (const header in response.headers) { + const value = response.headers[header]; + delete response.headers[header]; + response.headers[header.toLowerCase()] = value; + } + const shortName = operationSchema.name.split("#")[1] ?? operationSchema.name; + const awsQueryResultKey = ns.isStructSchema() && this.useNestedResult() ? shortName + "Result" : undefined; + const bytes = await collectBody(response.body, context); + if (bytes.byteLength > 0) { + Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey)); + } + const output = { + $metadata: this.deserializeMetadata(response), + ...dataObject, + }; + return output; + } + useNestedResult() { + return true; + } + async handleError(operationSchema, context, response, dataObject, metadata) { + const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? "Unknown"; + this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace); + const errorData = this.loadQueryError(dataObject) ?? {}; + const message = this.loadQueryErrorMessage(dataObject); + errorData.message = message; + errorData.Error = { + Type: errorData.Type, + Code: errorData.Code, + Message: message, + }; + const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, errorData, metadata, this.mixin.findQueryCompatibleError); + const ns = NormalizedSchema.of(errorSchema); + const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error; + const exception = new ErrorCtor(message); + const output = { + Type: errorData.Error.Type, + Code: errorData.Error.Code, + Error: errorData.Error, + }; + for (const [name, member] of ns.structIterator()) { + const target = member.getMergedTraits().xmlName ?? name; + const value = errorData[target] ?? dataObject[target]; + output[name] = this.deserializer.readSchema(member, value); + } + throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output), dataObject); + } + loadQueryErrorCode(output, data) { + const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code; + if (code !== undefined) { + return code; + } + if (output.statusCode == 404) { + return "NotFound"; + } + } + loadQueryError(data) { + return data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error; + } + loadQueryErrorMessage(data) { + const errorData = this.loadQueryError(data); + return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? "Unknown"; + } + getDefaultContentType() { + return "application/x-www-form-urlencoded"; + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QuerySerializerSettings.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QuerySerializerSettings.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QuerySerializerSettings.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js new file mode 100644 index 0000000..d584c51 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js @@ -0,0 +1,189 @@ +import { determineTimestampFormat, extendedEncodeURIComponent } from "@smithy/core/protocols"; +import { NormalizedSchema } from "@smithy/core/schema"; +import { generateIdempotencyToken, NumericValue } from "@smithy/core/serde"; +import { dateToUtcString } from "@smithy/smithy-client"; +import { toBase64 } from "@smithy/util-base64"; +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +export class QueryShapeSerializer extends SerdeContextConfig { + settings; + buffer; + constructor(settings) { + super(); + this.settings = settings; + } + write(schema, value, prefix = "") { + if (this.buffer === undefined) { + this.buffer = ""; + } + const ns = NormalizedSchema.of(schema); + if (prefix && !prefix.endsWith(".")) { + prefix += "."; + } + if (ns.isBlobSchema()) { + if (typeof value === "string" || value instanceof Uint8Array) { + this.writeKey(prefix); + this.writeValue((this.serdeContext?.base64Encoder ?? toBase64)(value)); + } + } + else if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isStringSchema()) { + if (value != null) { + this.writeKey(prefix); + this.writeValue(String(value)); + } + else if (ns.isIdempotencyToken()) { + this.writeKey(prefix); + this.writeValue(generateIdempotencyToken()); + } + } + else if (ns.isBigIntegerSchema()) { + if (value != null) { + this.writeKey(prefix); + this.writeValue(String(value)); + } + } + else if (ns.isBigDecimalSchema()) { + if (value != null) { + this.writeKey(prefix); + this.writeValue(value instanceof NumericValue ? value.string : String(value)); + } + } + else if (ns.isTimestampSchema()) { + if (value instanceof Date) { + this.writeKey(prefix); + const format = determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + this.writeValue(value.toISOString().replace(".000Z", "Z")); + break; + case 6: + this.writeValue(dateToUtcString(value)); + break; + case 7: + this.writeValue(String(value.getTime() / 1000)); + break; + } + } + } + else if (ns.isDocumentSchema()) { + if (Array.isArray(value)) { + this.write(64 | 15, value, prefix); + } + else if (value instanceof Date) { + this.write(4, value, prefix); + } + else if (value instanceof Uint8Array) { + this.write(21, value, prefix); + } + else if (value && typeof value === "object") { + this.write(128 | 15, value, prefix); + } + else { + this.writeKey(prefix); + this.writeValue(String(value)); + } + } + else if (ns.isListSchema()) { + if (Array.isArray(value)) { + if (value.length === 0) { + if (this.settings.serializeEmptyLists) { + this.writeKey(prefix); + this.writeValue(""); + } + } + else { + const member = ns.getValueSchema(); + const flat = this.settings.flattenLists || ns.getMergedTraits().xmlFlattened; + let i = 1; + for (const item of value) { + if (item == null) { + continue; + } + const traits = member.getMergedTraits(); + const suffix = this.getKey("member", traits.xmlName, traits.ec2QueryName); + const key = flat ? `${prefix}${i}` : `${prefix}${suffix}.${i}`; + this.write(member, item, key); + ++i; + } + } + } + } + else if (ns.isMapSchema()) { + if (value && typeof value === "object") { + const keySchema = ns.getKeySchema(); + const memberSchema = ns.getValueSchema(); + const flat = ns.getMergedTraits().xmlFlattened; + let i = 1; + for (const [k, v] of Object.entries(value)) { + if (v == null) { + continue; + } + const keyTraits = keySchema.getMergedTraits(); + const keySuffix = this.getKey("key", keyTraits.xmlName, keyTraits.ec2QueryName); + const key = flat ? `${prefix}${i}.${keySuffix}` : `${prefix}entry.${i}.${keySuffix}`; + const valTraits = memberSchema.getMergedTraits(); + const valueSuffix = this.getKey("value", valTraits.xmlName, valTraits.ec2QueryName); + const valueKey = flat ? `${prefix}${i}.${valueSuffix}` : `${prefix}entry.${i}.${valueSuffix}`; + this.write(keySchema, k, key); + this.write(memberSchema, v, valueKey); + ++i; + } + } + } + else if (ns.isStructSchema()) { + if (value && typeof value === "object") { + let didWriteMember = false; + for (const [memberName, member] of ns.structIterator()) { + if (value[memberName] == null && !member.isIdempotencyToken()) { + continue; + } + const traits = member.getMergedTraits(); + const suffix = this.getKey(memberName, traits.xmlName, traits.ec2QueryName, "struct"); + const key = `${prefix}${suffix}`; + this.write(member, value[memberName], key); + didWriteMember = true; + } + if (!didWriteMember && ns.isUnionSchema()) { + const { $unknown } = value; + if (Array.isArray($unknown)) { + const [k, v] = $unknown; + const key = `${prefix}${k}`; + this.write(15, v, key); + } + } + } + } + else if (ns.isUnitSchema()) { + } + else { + throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${ns.getName(true)}`); + } + } + flush() { + if (this.buffer === undefined) { + throw new Error("@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer."); + } + const str = this.buffer; + delete this.buffer; + return str; + } + getKey(memberName, xmlName, ec2QueryName, keySource) { + const { ec2, capitalizeKeys } = this.settings; + if (ec2 && ec2QueryName) { + return ec2QueryName; + } + const key = xmlName ?? memberName; + if (capitalizeKeys && keySource === "struct") { + return key[0].toUpperCase() + key.slice(1); + } + return key; + } + writeKey(key) { + if (key.endsWith(".")) { + key = key.slice(0, key.length - 1); + } + this.buffer += `&${extendedEncodeURIComponent(key)}=`; + } + writeValue(value) { + this.buffer += extendedEncodeURIComponent(value); + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js new file mode 100644 index 0000000..4226ffd --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js @@ -0,0 +1,99 @@ +import { HttpBindingProtocol, HttpInterceptingShapeDeserializer, HttpInterceptingShapeSerializer, } from "@smithy/core/protocols"; +import { NormalizedSchema } from "@smithy/core/schema"; +import { ProtocolLib } from "../ProtocolLib"; +import { loadRestXmlErrorCode } from "./parseXmlBody"; +import { XmlCodec } from "./XmlCodec"; +export class AwsRestXmlProtocol extends HttpBindingProtocol { + codec; + serializer; + deserializer; + mixin = new ProtocolLib(); + constructor(options) { + super(options); + const settings = { + timestampFormat: { + useTrait: true, + default: 5, + }, + httpBindings: true, + xmlNamespace: options.xmlNamespace, + serviceNamespace: options.defaultNamespace, + }; + this.codec = new XmlCodec(settings); + this.serializer = new HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings); + this.deserializer = new HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings); + this.compositeErrorRegistry; + } + getPayloadCodec() { + return this.codec; + } + getShapeId() { + return "aws.protocols#restXml"; + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + const inputSchema = NormalizedSchema.of(operationSchema.input); + if (!request.headers["content-type"]) { + const contentType = this.mixin.resolveRestContentType(this.getDefaultContentType(), inputSchema); + if (contentType) { + request.headers["content-type"] = contentType; + } + } + if (typeof request.body === "string" && + request.headers["content-type"] === this.getDefaultContentType() && + !request.body.startsWith("' + request.body; + } + return request; + } + async deserializeResponse(operationSchema, context, response) { + return super.deserializeResponse(operationSchema, context, response); + } + async handleError(operationSchema, context, response, dataObject, metadata) { + const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? "Unknown"; + this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace); + if (dataObject.Error && typeof dataObject.Error === "object") { + for (const key of Object.keys(dataObject.Error)) { + dataObject[key] = dataObject.Error[key]; + if (key.toLowerCase() === "message") { + dataObject.message = dataObject.Error[key]; + } + } + } + if (dataObject.RequestId && !metadata.requestId) { + metadata.requestId = dataObject.RequestId; + } + const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata); + const ns = NormalizedSchema.of(errorSchema); + const message = dataObject.Error?.message ?? + dataObject.Error?.Message ?? + dataObject.message ?? + dataObject.Message ?? + "UnknownError"; + const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error; + const exception = new ErrorCtor(message); + await this.deserializeHttpMessage(errorSchema, context, response, dataObject); + const output = {}; + for (const [name, member] of ns.structIterator()) { + const target = member.getMergedTraits().xmlName ?? name; + const value = dataObject.Error?.[target] ?? dataObject[target]; + output[name] = this.codec.createDeserializer().readSchema(member, value); + } + throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output), dataObject); + } + getDefaultContentType() { + return "application/xml"; + } + hasUnstructuredPayloadBinding(ns) { + for (const [, member] of ns.structIterator()) { + if (member.getMergedTraits().httpPayload) { + return !(member.isStructSchema() || member.isMapSchema() || member.isListSchema()); + } + } + return false; + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlCodec.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlCodec.js new file mode 100644 index 0000000..0a148dc --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlCodec.js @@ -0,0 +1,20 @@ +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +import { XmlShapeDeserializer } from "./XmlShapeDeserializer"; +import { XmlShapeSerializer } from "./XmlShapeSerializer"; +export class XmlCodec extends SerdeContextConfig { + settings; + constructor(settings) { + super(); + this.settings = settings; + } + createSerializer() { + const serializer = new XmlShapeSerializer(this.settings); + serializer.setSerdeContext(this.serdeContext); + return serializer; + } + createDeserializer() { + const deserializer = new XmlShapeDeserializer(this.settings); + deserializer.setSerdeContext(this.serdeContext); + return deserializer; + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js new file mode 100644 index 0000000..847a514 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js @@ -0,0 +1,153 @@ +import { parseXML } from "@aws-sdk/xml-builder"; +import { FromStringShapeDeserializer } from "@smithy/core/protocols"; +import { NormalizedSchema } from "@smithy/core/schema"; +import { getValueFromTextNode } from "@smithy/smithy-client"; +import { toUtf8 } from "@smithy/util-utf8"; +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +import { UnionSerde } from "../UnionSerde"; +export class XmlShapeDeserializer extends SerdeContextConfig { + settings; + stringDeserializer; + constructor(settings) { + super(); + this.settings = settings; + this.stringDeserializer = new FromStringShapeDeserializer(settings); + } + setSerdeContext(serdeContext) { + this.serdeContext = serdeContext; + this.stringDeserializer.setSerdeContext(serdeContext); + } + read(schema, bytes, key) { + const ns = NormalizedSchema.of(schema); + const memberSchemas = ns.getMemberSchemas(); + const isEventPayload = ns.isStructSchema() && + ns.isMemberSchema() && + !!Object.values(memberSchemas).find((memberNs) => { + return !!memberNs.getMemberTraits().eventPayload; + }); + if (isEventPayload) { + const output = {}; + const memberName = Object.keys(memberSchemas)[0]; + const eventMemberSchema = memberSchemas[memberName]; + if (eventMemberSchema.isBlobSchema()) { + output[memberName] = bytes; + } + else { + output[memberName] = this.read(memberSchemas[memberName], bytes); + } + return output; + } + const xmlString = (this.serdeContext?.utf8Encoder ?? toUtf8)(bytes); + const parsedObject = this.parseXml(xmlString); + return this.readSchema(schema, key ? parsedObject[key] : parsedObject); + } + readSchema(_schema, value) { + const ns = NormalizedSchema.of(_schema); + if (ns.isUnitSchema()) { + return; + } + const traits = ns.getMergedTraits(); + if (ns.isListSchema() && !Array.isArray(value)) { + return this.readSchema(ns, [value]); + } + if (value == null) { + return value; + } + if (typeof value === "object") { + const flat = !!traits.xmlFlattened; + if (ns.isListSchema()) { + const listValue = ns.getValueSchema(); + const buffer = []; + const sourceKey = listValue.getMergedTraits().xmlName ?? "member"; + const source = flat ? value : (value[0] ?? value)[sourceKey]; + if (source == null) { + return buffer; + } + const sourceArray = Array.isArray(source) ? source : [source]; + for (const v of sourceArray) { + buffer.push(this.readSchema(listValue, v)); + } + return buffer; + } + const buffer = {}; + if (ns.isMapSchema()) { + const keyNs = ns.getKeySchema(); + const memberNs = ns.getValueSchema(); + let entries; + if (flat) { + entries = Array.isArray(value) ? value : [value]; + } + else { + entries = Array.isArray(value.entry) ? value.entry : [value.entry]; + } + const keyProperty = keyNs.getMergedTraits().xmlName ?? "key"; + const valueProperty = memberNs.getMergedTraits().xmlName ?? "value"; + for (const entry of entries) { + const key = entry[keyProperty]; + const value = entry[valueProperty]; + buffer[key] = this.readSchema(memberNs, value); + } + return buffer; + } + if (ns.isStructSchema()) { + const union = ns.isUnionSchema(); + let unionSerde; + if (union) { + unionSerde = new UnionSerde(value, buffer); + } + for (const [memberName, memberSchema] of ns.structIterator()) { + const memberTraits = memberSchema.getMergedTraits(); + const xmlObjectKey = !memberTraits.httpPayload + ? memberSchema.getMemberTraits().xmlName ?? memberName + : memberTraits.xmlName ?? memberSchema.getName(); + if (union) { + unionSerde.mark(xmlObjectKey); + } + if (value[xmlObjectKey] != null) { + buffer[memberName] = this.readSchema(memberSchema, value[xmlObjectKey]); + } + } + if (union) { + unionSerde.writeUnknown(); + } + return buffer; + } + if (ns.isDocumentSchema()) { + return value; + } + throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${ns.getName(true)}`); + } + if (ns.isListSchema()) { + return []; + } + if (ns.isMapSchema() || ns.isStructSchema()) { + return {}; + } + return this.stringDeserializer.read(ns, value); + } + parseXml(xml) { + if (xml.length) { + let parsedObj; + try { + parsedObj = parseXML(xml); + } + catch (e) { + if (e && typeof e === "object") { + Object.defineProperty(e, "$responseBodyText", { + value: xml, + }); + } + throw e; + } + const textNodeName = "#text"; + const key = Object.keys(parsedObj)[0]; + const parsedObjToReturn = parsedObj[key]; + if (parsedObjToReturn[textNodeName]) { + parsedObjToReturn[key] = parsedObjToReturn[textNodeName]; + delete parsedObjToReturn[textNodeName]; + } + return getValueFromTextNode(parsedObjToReturn); + } + return {}; + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js new file mode 100644 index 0000000..701ed93 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js @@ -0,0 +1,295 @@ +import { XmlNode, XmlText } from "@aws-sdk/xml-builder"; +import { determineTimestampFormat } from "@smithy/core/protocols"; +import { NormalizedSchema } from "@smithy/core/schema"; +import { generateIdempotencyToken, NumericValue } from "@smithy/core/serde"; +import { dateToUtcString } from "@smithy/smithy-client"; +import { fromBase64, toBase64 } from "@smithy/util-base64"; +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +export class XmlShapeSerializer extends SerdeContextConfig { + settings; + stringBuffer; + byteBuffer; + buffer; + constructor(settings) { + super(); + this.settings = settings; + } + write(schema, value) { + const ns = NormalizedSchema.of(schema); + if (ns.isStringSchema() && typeof value === "string") { + this.stringBuffer = value; + } + else if (ns.isBlobSchema()) { + this.byteBuffer = + "byteLength" in value + ? value + : (this.serdeContext?.base64Decoder ?? fromBase64)(value); + } + else { + this.buffer = this.writeStruct(ns, value, undefined); + const traits = ns.getMergedTraits(); + if (traits.httpPayload && !traits.xmlName) { + this.buffer.withName(ns.getName()); + } + } + } + flush() { + if (this.byteBuffer !== undefined) { + const bytes = this.byteBuffer; + delete this.byteBuffer; + return bytes; + } + if (this.stringBuffer !== undefined) { + const str = this.stringBuffer; + delete this.stringBuffer; + return str; + } + const buffer = this.buffer; + if (this.settings.xmlNamespace) { + if (!buffer?.attributes?.["xmlns"]) { + buffer.addAttribute("xmlns", this.settings.xmlNamespace); + } + } + delete this.buffer; + return buffer.toString(); + } + writeStruct(ns, value, parentXmlns) { + const traits = ns.getMergedTraits(); + const name = ns.isMemberSchema() && !traits.httpPayload + ? ns.getMemberTraits().xmlName ?? ns.getMemberName() + : traits.xmlName ?? ns.getName(); + if (!name || !ns.isStructSchema()) { + throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${ns.getName(true)}.`); + } + const structXmlNode = XmlNode.of(name); + const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns); + for (const [memberName, memberSchema] of ns.structIterator()) { + const val = value[memberName]; + if (val != null || memberSchema.isIdempotencyToken()) { + if (memberSchema.getMergedTraits().xmlAttribute) { + structXmlNode.addAttribute(memberSchema.getMergedTraits().xmlName ?? memberName, this.writeSimple(memberSchema, val)); + continue; + } + if (memberSchema.isListSchema()) { + this.writeList(memberSchema, val, structXmlNode, xmlns); + } + else if (memberSchema.isMapSchema()) { + this.writeMap(memberSchema, val, structXmlNode, xmlns); + } + else if (memberSchema.isStructSchema()) { + structXmlNode.addChildNode(this.writeStruct(memberSchema, val, xmlns)); + } + else { + const memberNode = XmlNode.of(memberSchema.getMergedTraits().xmlName ?? memberSchema.getMemberName()); + this.writeSimpleInto(memberSchema, val, memberNode, xmlns); + structXmlNode.addChildNode(memberNode); + } + } + } + const { $unknown } = value; + if ($unknown && ns.isUnionSchema() && Array.isArray($unknown) && Object.keys(value).length === 1) { + const [k, v] = $unknown; + const node = XmlNode.of(k); + if (typeof v !== "string") { + if (value instanceof XmlNode || value instanceof XmlText) { + structXmlNode.addChildNode(value); + } + else { + throw new Error(`@aws-sdk - $unknown union member in XML requires ` + + `value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.`); + } + } + this.writeSimpleInto(0, v, node, xmlns); + structXmlNode.addChildNode(node); + } + if (xmlns) { + structXmlNode.addAttribute(xmlnsAttr, xmlns); + } + return structXmlNode; + } + writeList(listMember, array, container, parentXmlns) { + if (!listMember.isMemberSchema()) { + throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${listMember.getName(true)}`); + } + const listTraits = listMember.getMergedTraits(); + const listValueSchema = listMember.getValueSchema(); + const listValueTraits = listValueSchema.getMergedTraits(); + const sparse = !!listValueTraits.sparse; + const flat = !!listTraits.xmlFlattened; + const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(listMember, parentXmlns); + const writeItem = (container, value) => { + if (listValueSchema.isListSchema()) { + this.writeList(listValueSchema, Array.isArray(value) ? value : [value], container, xmlns); + } + else if (listValueSchema.isMapSchema()) { + this.writeMap(listValueSchema, value, container, xmlns); + } + else if (listValueSchema.isStructSchema()) { + const struct = this.writeStruct(listValueSchema, value, xmlns); + container.addChildNode(struct.withName(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? "member")); + } + else { + const listItemNode = XmlNode.of(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? "member"); + this.writeSimpleInto(listValueSchema, value, listItemNode, xmlns); + container.addChildNode(listItemNode); + } + }; + if (flat) { + for (const value of array) { + if (sparse || value != null) { + writeItem(container, value); + } + } + } + else { + const listNode = XmlNode.of(listTraits.xmlName ?? listMember.getMemberName()); + if (xmlns) { + listNode.addAttribute(xmlnsAttr, xmlns); + } + for (const value of array) { + if (sparse || value != null) { + writeItem(listNode, value); + } + } + container.addChildNode(listNode); + } + } + writeMap(mapMember, map, container, parentXmlns, containerIsMap = false) { + if (!mapMember.isMemberSchema()) { + throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${mapMember.getName(true)}`); + } + const mapTraits = mapMember.getMergedTraits(); + const mapKeySchema = mapMember.getKeySchema(); + const mapKeyTraits = mapKeySchema.getMergedTraits(); + const keyTag = mapKeyTraits.xmlName ?? "key"; + const mapValueSchema = mapMember.getValueSchema(); + const mapValueTraits = mapValueSchema.getMergedTraits(); + const valueTag = mapValueTraits.xmlName ?? "value"; + const sparse = !!mapValueTraits.sparse; + const flat = !!mapTraits.xmlFlattened; + const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(mapMember, parentXmlns); + const addKeyValue = (entry, key, val) => { + const keyNode = XmlNode.of(keyTag, key); + const [keyXmlnsAttr, keyXmlns] = this.getXmlnsAttribute(mapKeySchema, xmlns); + if (keyXmlns) { + keyNode.addAttribute(keyXmlnsAttr, keyXmlns); + } + entry.addChildNode(keyNode); + let valueNode = XmlNode.of(valueTag); + if (mapValueSchema.isListSchema()) { + this.writeList(mapValueSchema, val, valueNode, xmlns); + } + else if (mapValueSchema.isMapSchema()) { + this.writeMap(mapValueSchema, val, valueNode, xmlns, true); + } + else if (mapValueSchema.isStructSchema()) { + valueNode = this.writeStruct(mapValueSchema, val, xmlns); + } + else { + this.writeSimpleInto(mapValueSchema, val, valueNode, xmlns); + } + entry.addChildNode(valueNode); + }; + if (flat) { + for (const [key, val] of Object.entries(map)) { + if (sparse || val != null) { + const entry = XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName()); + addKeyValue(entry, key, val); + container.addChildNode(entry); + } + } + } + else { + let mapNode; + if (!containerIsMap) { + mapNode = XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName()); + if (xmlns) { + mapNode.addAttribute(xmlnsAttr, xmlns); + } + container.addChildNode(mapNode); + } + for (const [key, val] of Object.entries(map)) { + if (sparse || val != null) { + const entry = XmlNode.of("entry"); + addKeyValue(entry, key, val); + (containerIsMap ? container : mapNode).addChildNode(entry); + } + } + } + } + writeSimple(_schema, value) { + if (null === value) { + throw new Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value."); + } + const ns = NormalizedSchema.of(_schema); + let nodeContents = null; + if (value && typeof value === "object") { + if (ns.isBlobSchema()) { + nodeContents = (this.serdeContext?.base64Encoder ?? toBase64)(value); + } + else if (ns.isTimestampSchema() && value instanceof Date) { + const format = determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + nodeContents = value.toISOString().replace(".000Z", "Z"); + break; + case 6: + nodeContents = dateToUtcString(value); + break; + case 7: + nodeContents = String(value.getTime() / 1000); + break; + default: + console.warn("Missing timestamp format, using http date", value); + nodeContents = dateToUtcString(value); + break; + } + } + else if (ns.isBigDecimalSchema() && value) { + if (value instanceof NumericValue) { + return value.string; + } + return String(value); + } + else if (ns.isMapSchema() || ns.isListSchema()) { + throw new Error("@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead."); + } + else { + throw new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(true)}`); + } + } + if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) { + nodeContents = String(value); + } + if (ns.isStringSchema()) { + if (value === undefined && ns.isIdempotencyToken()) { + nodeContents = generateIdempotencyToken(); + } + else { + nodeContents = String(value); + } + } + if (nodeContents === null) { + throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`); + } + return nodeContents; + } + writeSimpleInto(_schema, value, into, parentXmlns) { + const nodeContents = this.writeSimple(_schema, value); + const ns = NormalizedSchema.of(_schema); + const content = new XmlText(nodeContents); + const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns); + if (xmlns) { + into.addAttribute(xmlnsAttr, xmlns); + } + into.addChildNode(content); + } + getXmlnsAttribute(ns, parentXmlns) { + const traits = ns.getMergedTraits(); + const [prefix, xmlns] = traits.xmlNamespace ?? []; + if (xmlns && xmlns !== parentXmlns) { + return [prefix ? `xmlns:${prefix}` : "xmlns", xmlns]; + } + return [void 0, void 0]; + } +} diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js new file mode 100644 index 0000000..9ff7cad --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js @@ -0,0 +1,46 @@ +import { parseXML } from "@aws-sdk/xml-builder"; +import { getValueFromTextNode } from "@smithy/smithy-client"; +import { collectBodyString } from "../common"; +export const parseXmlBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { + if (encoded.length) { + let parsedObj; + try { + parsedObj = parseXML(encoded); + } + catch (e) { + if (e && typeof e === "object") { + Object.defineProperty(e, "$responseBodyText", { + value: encoded, + }); + } + throw e; + } + const textNodeName = "#text"; + const key = Object.keys(parsedObj)[0]; + const parsedObjToReturn = parsedObj[key]; + if (parsedObjToReturn[textNodeName]) { + parsedObjToReturn[key] = parsedObjToReturn[textNodeName]; + delete parsedObjToReturn[textNodeName]; + } + return getValueFromTextNode(parsedObjToReturn); + } + return {}; +}); +export const parseXmlErrorBody = async (errorBody, context) => { + const value = await parseXmlBody(errorBody, context); + if (value.Error) { + value.Error.message = value.Error.message ?? value.Error.Message; + } + return value; +}; +export const loadRestXmlErrorCode = (output, data) => { + if (data?.Error?.Code !== undefined) { + return data.Error.Code; + } + if (data?.Code !== undefined) { + return data.Code; + } + if (output.statusCode == 404) { + return "NotFound"; + } +}; diff --git a/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/simpleFormatXml.js b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/simpleFormatXml.js new file mode 100644 index 0000000..e61303b --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/simpleFormatXml.js @@ -0,0 +1,27 @@ +export function simpleFormatXml(xml) { + let b = ""; + let indentation = 0; + for (let i = 0; i < xml.length; ++i) { + const c = xml[i]; + if (c === "<") { + if (xml[i + 1] === "/") { + b += "\n" + " ".repeat(indentation - 2) + c; + indentation -= 4; + } + else { + b += c; + } + } + else if (c === ">") { + indentation += 2; + b += c + "\n" + " ".repeat(indentation); + } + else { + b += c; + } + } + return b + .split("\n") + .filter((s) => !!s.trim()) + .join("\n"); +} diff --git a/node_modules/@aws-sdk/core/dist-types/api-extractor-type-index.d.ts b/node_modules/@aws-sdk/core/dist-types/api-extractor-type-index.d.ts new file mode 100644 index 0000000..e83f927 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/api-extractor-type-index.d.ts @@ -0,0 +1,5 @@ +export * from "./index"; +export * from "./submodules/account-id-endpoint/index"; +export * from "./submodules/client/index"; +export * from "./submodules/httpAuthSchemes/index"; +export * from "./submodules/protocols/index"; diff --git a/node_modules/@aws-sdk/core/dist-types/index.d.ts b/node_modules/@aws-sdk/core/dist-types/index.d.ts new file mode 100644 index 0000000..5d51cdb --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/index.d.ts @@ -0,0 +1,22 @@ +/** + * Submodules annotated with "Legacy" are from prior to the submodule system. + * They are exported from the package's root index to preserve backwards compatibility. + * + * New development should go in a proper submodule and not be exported from the root index. + */ +/** + * Legacy submodule. + */ +export * from "./submodules/client/index"; +/** + * Legacy submodule. + */ +export * from "./submodules/httpAuthSchemes/index"; +/** + * Legacy submodule. + */ +export * from "./submodules/protocols/index"; +/** + * Warning: do not export any additional submodules from the root of this package. See readme.md for + * guide on developing submodules. + */ diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts new file mode 100644 index 0000000..56edb38 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts @@ -0,0 +1,27 @@ +import type { Provider } from "@smithy/types"; +import type { AccountIdEndpointMode } from "./AccountIdEndpointModeConstants"; +/** + * @public + */ +export interface AccountIdEndpointModeInputConfig { + /** + * The account ID endpoint mode to use. + */ + accountIdEndpointMode?: AccountIdEndpointMode | Provider; +} +/** + * @internal + */ +interface PreviouslyResolved { +} +/** + * @internal + */ +export interface AccountIdEndpointModeResolvedConfig { + accountIdEndpointMode: Provider; +} +/** + * @internal + */ +export declare const resolveAccountIdEndpointModeConfig: (input: T & AccountIdEndpointModeInputConfig & PreviouslyResolved) => T & AccountIdEndpointModeResolvedConfig; +export {}; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts new file mode 100644 index 0000000..640a747 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts @@ -0,0 +1,16 @@ +/** + * @public + */ +export type AccountIdEndpointMode = "disabled" | "preferred" | "required"; +/** + * @internal + */ +export declare const DEFAULT_ACCOUNT_ID_ENDPOINT_MODE = "preferred"; +/** + * @internal + */ +export declare const ACCOUNT_ID_ENDPOINT_MODE_VALUES: AccountIdEndpointMode[]; +/** + * @internal + */ +export declare function validateAccountIdEndpointMode(value: any): value is AccountIdEndpointMode; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts new file mode 100644 index 0000000..ed26c32 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts @@ -0,0 +1,14 @@ +import type { LoadedConfigSelectors } from "@smithy/node-config-provider"; +import type { AccountIdEndpointMode } from "./AccountIdEndpointModeConstants"; +/** + * @internal + */ +export declare const ENV_ACCOUNT_ID_ENDPOINT_MODE = "AWS_ACCOUNT_ID_ENDPOINT_MODE"; +/** + * @internal + */ +export declare const CONFIG_ACCOUNT_ID_ENDPOINT_MODE = "account_id_endpoint_mode"; +/** + * @internal + */ +export declare const NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/index.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/index.d.ts new file mode 100644 index 0000000..52af11d --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/index.d.ts @@ -0,0 +1,3 @@ +export * from "./AccountIdEndpointModeConfigResolver"; +export * from "./AccountIdEndpointModeConstants"; +export * from "./NodeAccountIdEndpointModeConfigOptions"; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/client/emitWarningIfUnsupportedVersion.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/client/emitWarningIfUnsupportedVersion.d.ts new file mode 100644 index 0000000..d97bc8c --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/client/emitWarningIfUnsupportedVersion.d.ts @@ -0,0 +1,12 @@ +export declare const state: { + warningEmitted: boolean; +}; +/** + * @internal + * + * Emits warning if the provided Node.js version string is + * pending deprecation by AWS SDK JSv3. + * + * @param version - The Node.js version string. + */ +export declare const emitWarningIfUnsupportedVersion: (version: string) => void; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts new file mode 100644 index 0000000..492c6cd --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts @@ -0,0 +1,4 @@ +export * from "./emitWarningIfUnsupportedVersion"; +export * from "./setCredentialFeature"; +export * from "./setFeature"; +export * from "./setTokenFeature"; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/client/setCredentialFeature.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/client/setCredentialFeature.d.ts new file mode 100644 index 0000000..b3b4a68 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/client/setCredentialFeature.d.ts @@ -0,0 +1,7 @@ +import type { AttributedAwsCredentialIdentity, AwsSdkCredentialsFeatures } from "@aws-sdk/types"; +/** + * @internal + * + * @returns the credentials with source feature attribution. + */ +export declare function setCredentialFeature(credentials: AttributedAwsCredentialIdentity, feature: F, value: AwsSdkCredentialsFeatures[F]): AttributedAwsCredentialIdentity; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/client/setFeature.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/client/setFeature.d.ts new file mode 100644 index 0000000..93458bf --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/client/setFeature.d.ts @@ -0,0 +1,12 @@ +import type { AwsHandlerExecutionContext, AwsSdkFeatures } from "@aws-sdk/types"; +/** + * @internal + * Indicates to the request context that a given feature is active. + * + * @param context - handler execution context. + * @param feature - readable name of feature. + * @param value - encoding value of feature. This is required because the + * specification asks the SDK not to include a runtime lookup of all + * the feature identifiers. + */ +export declare function setFeature(context: AwsHandlerExecutionContext, feature: F, value: AwsSdkFeatures[F]): void; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/client/setTokenFeature.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/client/setTokenFeature.d.ts new file mode 100644 index 0000000..affb049 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/client/setTokenFeature.d.ts @@ -0,0 +1,7 @@ +import type { AttributedTokenIdentity, AwsSdkTokenFeatures } from "@aws-sdk/types"; +/** + * @internal + * + * @returns the token with source feature attribution. + */ +export declare function setTokenFeature(token: AttributedTokenIdentity, feature: F, value: AwsSdkTokenFeatures[F]): AttributedTokenIdentity; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts new file mode 100644 index 0000000..38e2fe9 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts @@ -0,0 +1,10 @@ +import type { AwsCredentialIdentity, HttpRequest as IHttpRequest } from "@smithy/types"; +import { AwsSdkSigV4Signer } from "./AwsSdkSigV4Signer"; +/** + * @internal + * Note: this is not a signing algorithm implementation. The sign method + * accepts the real signer as an input parameter. + */ +export declare class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer { + sign(httpRequest: IHttpRequest, identity: AwsCredentialIdentity, signingProperties: Record): Promise; +} diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts new file mode 100644 index 0000000..6795d9b --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts @@ -0,0 +1,43 @@ +import type { AuthScheme, AwsCredentialIdentity, HttpRequest as IHttpRequest, HttpResponse, HttpSigner, RequestSigner } from "@smithy/types"; +import type { AwsSdkSigV4AAuthResolvedConfig } from "./resolveAwsSdkSigV4AConfig"; +/** + * @internal + */ +interface AwsSdkSigV4Config extends AwsSdkSigV4AAuthResolvedConfig { + systemClockOffset: number; + signer: (authScheme?: AuthScheme) => Promise; +} +/** + * @internal + */ +interface AwsSdkSigV4AuthSigningProperties { + config: AwsSdkSigV4Config; + signer: RequestSigner; + signingRegion?: string; + signingRegionSet?: string[]; + signingName?: string; +} +/** + * @internal + */ +export declare const validateSigningProperties: (signingProperties: Record) => Promise; +/** + * Note: this is not a signing algorithm implementation. The sign method + * accepts the real signer as an input parameter. + * @internal + */ +export declare class AwsSdkSigV4Signer implements HttpSigner { + sign(httpRequest: IHttpRequest, + /** + * `identity` is bound in {@link resolveAWSSDKSigV4Config} + */ + identity: AwsCredentialIdentity, signingProperties: Record): Promise; + errorHandler(signingProperties: Record): (error: Error) => never; + successHandler(httpResponse: HttpResponse | unknown, signingProperties: Record): void; +} +/** + * @internal + * @deprecated renamed to {@link AwsSdkSigV4Signer} + */ +export declare const AWSSDKSigV4Signer: typeof AwsSdkSigV4Signer; +export {}; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts new file mode 100644 index 0000000..2d5bfc1 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts @@ -0,0 +1,5 @@ +import type { LoadedConfigSelectors } from "@smithy/node-config-provider"; +/** + * @public + */ +export declare const NODE_AUTH_SCHEME_PREFERENCE_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts new file mode 100644 index 0000000..4071225 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts @@ -0,0 +1,5 @@ +export { AwsSdkSigV4Signer, AWSSDKSigV4Signer, validateSigningProperties } from "./AwsSdkSigV4Signer"; +export { AwsSdkSigV4ASigner } from "./AwsSdkSigV4ASigner"; +export * from "./NODE_AUTH_SCHEME_PREFERENCE_OPTIONS"; +export * from "./resolveAwsSdkSigV4AConfig"; +export * from "./resolveAwsSdkSigV4Config"; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts new file mode 100644 index 0000000..37d3902 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts @@ -0,0 +1,38 @@ +import type { LoadedConfigSelectors } from "@smithy/node-config-provider"; +import type { Provider } from "@smithy/types"; +/** + * @public + */ +export interface AwsSdkSigV4AAuthInputConfig { + /** + * This option will override the AWS sigv4a + * signing regionSet from any other source. + * + * The lookup order is: + * 1. this value + * 2. configuration file value of sigv4a_signing_region_set. + * 3. environment value of AWS_SIGV4A_SIGNING_REGION_SET. + * 4. signingRegionSet given by endpoint resolution. + * 5. the singular region of the SDK client. + */ + sigv4aSigningRegionSet?: string[] | undefined | Provider; +} +/** + * @internal + */ +export interface AwsSdkSigV4APreviouslyResolved { +} +/** + * @internal + */ +export interface AwsSdkSigV4AAuthResolvedConfig { + sigv4aSigningRegionSet: Provider; +} +/** + * @internal + */ +export declare const resolveAwsSdkSigV4AConfig: (config: T & AwsSdkSigV4AAuthInputConfig & AwsSdkSigV4APreviouslyResolved) => T & AwsSdkSigV4AAuthResolvedConfig; +/** + * @internal + */ +export declare const NODE_SIGV4A_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts new file mode 100644 index 0000000..a9e7395 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts @@ -0,0 +1,117 @@ +import type { MergeFunctions } from "@aws-sdk/types"; +import type { SignatureV4CryptoInit, SignatureV4Init } from "@smithy/signature-v4"; +import type { AuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider, ChecksumConstructor, HashConstructor, MemoizedProvider, Provider, RegionInfoProvider, RequestSigner } from "@smithy/types"; +/** + * @public + */ +export interface AwsSdkSigV4AuthInputConfig { + /** + * The credentials used to sign requests. + */ + credentials?: AwsCredentialIdentity | AwsCredentialIdentityProvider; + /** + * The signer to use when signing requests. + */ + signer?: RequestSigner | ((authScheme?: AuthScheme) => Promise); + /** + * Whether to escape request path when signing the request. + */ + signingEscapePath?: boolean; + /** + * An offset value in milliseconds to apply to all signing times. + */ + systemClockOffset?: number; + /** + * The region where you want to sign your request against. This + * can be different to the region in the endpoint. + */ + signingRegion?: string; + /** + * The injectable SigV4-compatible signer class constructor. If not supplied, + * regular SignatureV4 constructor will be used. + * + * @internal + */ + signerConstructor?: new (options: SignatureV4Init & SignatureV4CryptoInit) => RequestSigner; +} +/** + * Used to indicate whether a credential provider function was memoized by this resolver. + * @public + */ +export type AwsSdkSigV4Memoized = { + /** + * The credential provider has been memoized by the AWS SDK SigV4 config resolver. + */ + memoized?: boolean; + /** + * The credential provider has the caller client config object bound to its arguments. + */ + configBound?: boolean; + /** + * Function is wrapped with attribution transform. + */ + attributed?: boolean; +}; +/** + * @internal + */ +export interface AwsSdkSigV4PreviouslyResolved { + credentialDefaultProvider?: (input: any) => MemoizedProvider; + region: string | Provider; + sha256: ChecksumConstructor | HashConstructor; + signingName?: string; + regionInfoProvider?: RegionInfoProvider; + defaultSigningName?: string; + serviceId: string; + useFipsEndpoint: Provider; + useDualstackEndpoint: Provider; +} +/** + * @internal + */ +export interface AwsSdkSigV4AuthResolvedConfig { + /** + * Resolved value for input config {@link AwsSdkSigV4AuthInputConfig.credentials} + * This provider MAY memoize the loaded credentials for certain period. + */ + credentials: MergeFunctions> & AwsSdkSigV4Memoized; + /** + * Resolved value for input config {@link AwsSdkSigV4AuthInputConfig.signer} + */ + signer: (authScheme?: AuthScheme) => Promise; + /** + * Resolved value for input config {@link AwsSdkSigV4AuthInputConfig.signingEscapePath} + */ + signingEscapePath: boolean; + /** + * Resolved value for input config {@link AwsSdkSigV4AuthInputConfig.systemClockOffset} + */ + systemClockOffset: number; +} +/** + * @internal + */ +export declare const resolveAwsSdkSigV4Config: (config: T & AwsSdkSigV4AuthInputConfig & AwsSdkSigV4PreviouslyResolved) => T & AwsSdkSigV4AuthResolvedConfig; +/** + * @internal + * @deprecated renamed to {@link AwsSdkSigV4AuthInputConfig} + */ +export interface AWSSDKSigV4AuthInputConfig extends AwsSdkSigV4AuthInputConfig { +} +/** + * @internal + * @deprecated renamed to {@link AwsSdkSigV4PreviouslyResolved} + */ +export interface AWSSDKSigV4PreviouslyResolved extends AwsSdkSigV4PreviouslyResolved { +} +/** + * @internal + * @deprecated renamed to {@link AwsSdkSigV4AuthResolvedConfig} + */ +export interface AWSSDKSigV4AuthResolvedConfig extends AwsSdkSigV4AuthResolvedConfig { +} +/** + * @internal + * @deprecated renamed to {@link resolveAwsSdkSigV4Config} + */ +export declare const resolveAWSSDKSigV4Config: (config: T & AwsSdkSigV4AuthInputConfig & AwsSdkSigV4PreviouslyResolved) => T & AwsSdkSigV4AuthResolvedConfig; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts new file mode 100644 index 0000000..3927741 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts @@ -0,0 +1,2 @@ +export * from "./aws_sdk"; +export * from "./utils/getBearerTokenEnvKey"; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts new file mode 100644 index 0000000..823921b --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts @@ -0,0 +1,8 @@ +/** + * Converts a comma-separated string into an array of trimmed strings + * @param str The comma-separated input string to split + * @returns Array of trimmed strings split from the input + * + * @internal + */ +export declare const getArrayForCommaSeparatedString: (str: string) => string[]; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.d.ts new file mode 100644 index 0000000..b3df9cb --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.d.ts @@ -0,0 +1,6 @@ +/** + * Returns an environment variable key base on signing name. + * @param signingName - The signing name to use in the key + * @returns The environment variable key in format AWS_BEARER_TOKEN_ + */ +export declare const getBearerTokenEnvKey: (signingName: string) => string; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getDateHeader.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getDateHeader.d.ts new file mode 100644 index 0000000..2c9157b --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getDateHeader.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const getDateHeader: (response: unknown) => string | undefined; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts new file mode 100644 index 0000000..4b72690 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + * + * Returns a date that is corrected for clock skew. + * + * @param systemClockOffset The offset of the system clock in milliseconds. + */ +export declare const getSkewCorrectedDate: (systemClockOffset: number) => Date; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts new file mode 100644 index 0000000..2d554b8 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts @@ -0,0 +1,10 @@ +/** + * @internal + * + * If clock is skewed, it returns the difference between serverTime and current time. + * If clock is not skewed, it returns currentSystemClockOffset. + * + * @param clockTime The string value of the server time. + * @param currentSystemClockOffset The current system clock offset. + */ +export declare const getUpdatedSystemClockOffset: (clockTime: string, currentSystemClockOffset: number) => number; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/index.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/index.d.ts new file mode 100644 index 0000000..07c2195 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/index.d.ts @@ -0,0 +1,3 @@ +export * from "./getDateHeader"; +export * from "./getSkewCorrectedDate"; +export * from "./getUpdatedSystemClockOffset"; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts new file mode 100644 index 0000000..970fa15 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts @@ -0,0 +1,9 @@ +/** + * @internal + * + * Checks if the provided date is within the skew window of 300000ms. + * + * @param clockTime - The time to check for skew in milliseconds. + * @param systemClockOffset - The offset of the system clock in milliseconds. + */ +export declare const isClockSkewed: (clockTime: number, systemClockOffset: number) => boolean; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts new file mode 100644 index 0000000..29b2e61 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts @@ -0,0 +1,8 @@ +import type { ConfigurableSerdeContext, SerdeFunctions } from "@smithy/types"; +/** + * @internal + */ +export declare class SerdeContextConfig implements ConfigurableSerdeContext { + protected serdeContext?: SerdeFunctions; + setSerdeContext(serdeContext: SerdeFunctions): void; +} diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts new file mode 100644 index 0000000..32ce7c2 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts @@ -0,0 +1,74 @@ +import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema"; +import type { ServiceException as SDKBaseServiceException } from "@smithy/smithy-client"; +import type { HttpResponse as IHttpResponse, MetadataBearer, ResponseMetadata, StaticErrorSchema } from "@smithy/types"; +/** + * @internal + */ +type ErrorMetadataBearer = MetadataBearer & { + $fault: "client" | "server"; +}; +/** + * Shared code for Protocols. + * + * @internal + */ +export declare class ProtocolLib { + private queryCompat; + private errorRegistry?; + constructor(queryCompat?: boolean); + /** + * This is only for REST protocols. + * + * @param defaultContentType - of the protocol. + * @param inputSchema - schema for which to determine content type. + * + * @returns content-type header value or undefined when not applicable. + */ + resolveRestContentType(defaultContentType: string, inputSchema: NormalizedSchema): string | undefined; + /** + * Shared code for finding error schema or throwing an unmodeled base error. + * @returns error schema and error metadata. + * + * @throws ServiceBaseException or generic Error if no error schema could be found. + */ + getErrorSchemaOrThrowBaseException(errorIdentifier: string, defaultNamespace: string, response: IHttpResponse, dataObject: any, metadata: ResponseMetadata, getErrorSchema?: (registry: TypeRegistry, errorName: string) => StaticErrorSchema): Promise<{ + errorSchema: StaticErrorSchema; + errorMetadata: ErrorMetadataBearer; + }>; + /** + * This method exists because in older clients, no `errorTypeRegistries` array is provided to the Protocol + * implementation. This means that the TypeRegistry queried by the error's namespace or the service's defaultNamespace + * must be composed into the possibly-empty local compositeErrorRegistry. + * + * + * @param composite - TypeRegistry instance local to instances of HttpProtocol. In newer clients, this instance directly + * receives the error registries exported by the client. + * @param errorIdentifier - parsed from the response, used to look up the error schema within the registry. + * @param defaultNamespace - property of the Protocol implementation pointing to a specific service. + */ + compose(composite: TypeRegistry, errorIdentifier: string, defaultNamespace: string): void; + /** + * Assigns additions onto exception if not already present. + */ + decorateServiceException(exception: E, additions?: Record): E; + /** + * Reads the x-amzn-query-error header for awsQuery compatibility. + * + * @param output - values that will be assigned to an error object. + * @param response - from which to read awsQueryError headers. + */ + setQueryCompatError(output: Record, response: IHttpResponse): void; + /** + * Assigns Error, Type, Code from the awsQuery error object to the output error object. + * @param queryCompatErrorData - query compat error object. + * @param errorData - canonical error object returned to the caller. + */ + queryCompatOutput(queryCompatErrorData: any, errorData: any): void; + /** + * Finds the canonical modeled error using the awsQueryError alias. + * @param registry - service error registry. + * @param errorName - awsQueryError name or regular qualified shapeId. + */ + findQueryCompatibleError(registry: TypeRegistry, errorName: string): StaticErrorSchema; +} +export {}; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/UnionSerde.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/UnionSerde.d.ts new file mode 100644 index 0000000..51b5940 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/UnionSerde.d.ts @@ -0,0 +1,24 @@ +/** + * Helper for identifying unknown union members during deserialization. + */ +export declare class UnionSerde { + private from; + private to; + private keys; + constructor(from: any, to: any); + /** + * Marks the key as being a known member. + * @param key - to mark. + */ + mark(key: string): void; + /** + * @returns whether only one key remains unmarked and nothing has been written, + * implying the object is a union. + */ + hasUnknown(): boolean; + /** + * Writes the unknown key-value pair, if present, into the $unknown property + * of the union object. + */ + writeUnknown(): void; +} diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts new file mode 100644 index 0000000..b827578 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts @@ -0,0 +1,25 @@ +import { SmithyRpcV2CborProtocol } from "@smithy/core/cbor"; +import type { TypeRegistry } from "@smithy/core/schema"; +import type { EndpointBearer, HandlerExecutionContext, HttpRequest, HttpResponse, OperationSchema, ResponseMetadata, SerdeFunctions } from "@smithy/types"; +/** + * Extends the Smithy implementation to add AwsQueryCompatibility support. + * + * @public + */ +export declare class AwsSmithyRpcV2CborProtocol extends SmithyRpcV2CborProtocol { + private readonly awsQueryCompatible; + private readonly mixin; + constructor({ defaultNamespace, errorTypeRegistries, awsQueryCompatible, }: { + defaultNamespace: string; + errorTypeRegistries?: TypeRegistry[]; + awsQueryCompatible?: boolean; + }); + /** + * @override + */ + serializeRequest(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise; + /** + * @override + */ + protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: HttpResponse, dataObject: any, metadata: ResponseMetadata): Promise; +} diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/coercing-serializers.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/coercing-serializers.d.ts new file mode 100644 index 0000000..10d9d39 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/coercing-serializers.d.ts @@ -0,0 +1,18 @@ +/** + * @internal + * + * Used for awsQueryCompatibility trait. + */ +export declare const _toStr: (val: unknown) => string | undefined; +/** + * @internal + * + * Used for awsQueryCompatibility trait. + */ +export declare const _toBool: (val: unknown) => boolean | undefined; +/** + * @internal + * + * Used for awsQueryCompatibility trait. + */ +export declare const _toNum: (val: unknown) => number | undefined; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/common.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/common.d.ts new file mode 100644 index 0000000..2b9b171 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/common.d.ts @@ -0,0 +1,2 @@ +import type { SerdeFunctions } from "@smithy/types"; +export declare const collectBodyString: (streamBody: any, context: SerdeFunctions) => Promise; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts new file mode 100644 index 0000000..0a230f9 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts @@ -0,0 +1,20 @@ +export * from "./cbor/AwsSmithyRpcV2CborProtocol"; +export * from "./coercing-serializers"; +export * from "./json/AwsJson1_0Protocol"; +export * from "./json/AwsJson1_1Protocol"; +export * from "./json/AwsJsonRpcProtocol"; +export * from "./json/AwsRestJsonProtocol"; +export * from "./json/JsonCodec"; +export * from "./json/JsonShapeDeserializer"; +export * from "./json/JsonShapeSerializer"; +export * from "./json/awsExpectUnion"; +export * from "./json/parseJsonBody"; +export * from "./query/AwsEc2QueryProtocol"; +export * from "./query/AwsQueryProtocol"; +export * from "./query/QuerySerializerSettings"; +export * from "./query/QueryShapeSerializer"; +export * from "./xml/AwsRestXmlProtocol"; +export * from "./xml/XmlCodec"; +export * from "./xml/XmlShapeDeserializer"; +export * from "./xml/XmlShapeSerializer"; +export * from "./xml/parseXmlBody"; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts new file mode 100644 index 0000000..20bcd09 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts @@ -0,0 +1,22 @@ +import type { TypeRegistry } from "@smithy/core/schema"; +import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol"; +import type { JsonCodec } from "./JsonCodec"; +/** + * @public + * @see https://smithy.io/2.0/aws/protocols/aws-json-1_1-protocol.html#differences-between-awsjson1-0-and-awsjson1-1 + */ +export declare class AwsJson1_0Protocol extends AwsJsonRpcProtocol { + constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }: { + defaultNamespace: string; + errorTypeRegistries?: TypeRegistry[]; + serviceTarget: string; + awsQueryCompatible?: boolean; + jsonCodec?: JsonCodec; + }); + getShapeId(): string; + protected getJsonRpcVersion(): "1.0"; + /** + * @override + */ + protected getDefaultContentType(): string; +} diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts new file mode 100644 index 0000000..a52f24d --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts @@ -0,0 +1,22 @@ +import type { TypeRegistry } from "@smithy/core/schema"; +import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol"; +import type { JsonCodec } from "./JsonCodec"; +/** + * @public + * @see https://smithy.io/2.0/aws/protocols/aws-json-1_1-protocol.html#differences-between-awsjson1-0-and-awsjson1-1 + */ +export declare class AwsJson1_1Protocol extends AwsJsonRpcProtocol { + constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }: { + defaultNamespace: string; + errorTypeRegistries?: TypeRegistry[]; + serviceTarget: string; + awsQueryCompatible?: boolean; + jsonCodec?: JsonCodec; + }); + getShapeId(): string; + protected getJsonRpcVersion(): "1.1"; + /** + * @override + */ + protected getDefaultContentType(): string; +} diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts new file mode 100644 index 0000000..4b21680 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts @@ -0,0 +1,29 @@ +import { RpcProtocol } from "@smithy/core/protocols"; +import type { TypeRegistry } from "@smithy/core/schema"; +import type { EndpointBearer, HandlerExecutionContext, HttpRequest, HttpResponse, OperationSchema, ResponseMetadata, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types"; +import { JsonCodec } from "./JsonCodec"; +/** + * @public + */ +export declare abstract class AwsJsonRpcProtocol extends RpcProtocol { + protected serializer: ShapeSerializer; + protected deserializer: ShapeDeserializer; + protected serviceTarget: string; + private readonly codec; + private readonly mixin; + private readonly awsQueryCompatible; + protected constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }: { + defaultNamespace: string; + errorTypeRegistries?: TypeRegistry[]; + serviceTarget: string; + awsQueryCompatible?: boolean; + jsonCodec?: JsonCodec; + }); + serializeRequest(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise; + getPayloadCodec(): JsonCodec; + protected abstract getJsonRpcVersion(): "1.1" | "1.0"; + /** + * @override + */ + protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: HttpResponse, dataObject: any, metadata: ResponseMetadata): Promise; +} diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts new file mode 100644 index 0000000..e945d08 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts @@ -0,0 +1,36 @@ +import { HttpBindingProtocol } from "@smithy/core/protocols"; +import type { TypeRegistry } from "@smithy/core/schema"; +import type { EndpointBearer, HandlerExecutionContext, HttpRequest, HttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types"; +import { JsonCodec } from "./JsonCodec"; +/** + * @public + */ +export declare class AwsRestJsonProtocol extends HttpBindingProtocol { + protected serializer: ShapeSerializer; + protected deserializer: ShapeDeserializer; + private readonly codec; + private readonly mixin; + constructor({ defaultNamespace, errorTypeRegistries, }: { + defaultNamespace: string; + errorTypeRegistries?: TypeRegistry[]; + }); + getShapeId(): string; + getPayloadCodec(): JsonCodec; + setSerdeContext(serdeContext: SerdeFunctions): void; + /** + * @override + */ + serializeRequest(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise; + /** + * @override + */ + deserializeResponse(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: HttpResponse): Promise; + /** + * @override + */ + protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: HttpResponse, dataObject: any, metadata: ResponseMetadata): Promise; + /** + * @override + */ + protected getDefaultContentType(): string; +} diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts new file mode 100644 index 0000000..3553758 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts @@ -0,0 +1,19 @@ +import type { Codec, CodecSettings } from "@smithy/types"; +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +import { JsonShapeDeserializer } from "./JsonShapeDeserializer"; +import { JsonShapeSerializer } from "./JsonShapeSerializer"; +/** + * @public + */ +export type JsonSettings = CodecSettings & { + jsonName: boolean; +}; +/** + * @public + */ +export declare class JsonCodec extends SerdeContextConfig implements Codec { + readonly settings: JsonSettings; + constructor(settings: JsonSettings); + createSerializer(): JsonShapeSerializer; + createDeserializer(): JsonShapeDeserializer; +} diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts new file mode 100644 index 0000000..19fddf8 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts @@ -0,0 +1,13 @@ +import type { DocumentType, Schema, ShapeDeserializer } from "@smithy/types"; +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +import type { JsonSettings } from "./JsonCodec"; +/** + * @public + */ +export declare class JsonShapeDeserializer extends SerdeContextConfig implements ShapeDeserializer { + readonly settings: JsonSettings; + constructor(settings: JsonSettings); + read(schema: Schema, data: string | Uint8Array | unknown): Promise; + readObject(schema: Schema, data: DocumentType): any; + protected _read(schema: Schema, value: unknown): any; +} diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts new file mode 100644 index 0000000..0b0d8ab --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts @@ -0,0 +1,28 @@ +import { NormalizedSchema } from "@smithy/core/schema"; +import type { Schema, ShapeSerializer } from "@smithy/types"; +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +import type { JsonSettings } from "./JsonCodec"; +/** + * @public + */ +export declare class JsonShapeSerializer extends SerdeContextConfig implements ShapeSerializer { + readonly settings: JsonSettings; + /** + * Write buffer. Reused per value serialization pass. + * In the initial implementation, this is not an incremental buffer. + */ + protected buffer: any; + protected useReplacer: boolean; + protected rootSchema: NormalizedSchema | undefined; + constructor(settings: JsonSettings); + write(schema: Schema, value: unknown): void; + /** + * @internal + */ + writeDiscriminatedDocument(schema: Schema, value: unknown): void; + flush(): string; + /** + * Order if-statements by order of likelihood. + */ + protected _write(schema: Schema, value: unknown, container?: NormalizedSchema): any; +} diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/awsExpectUnion.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/awsExpectUnion.d.ts new file mode 100644 index 0000000..98607ea --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/awsExpectUnion.d.ts @@ -0,0 +1,7 @@ +/** + * @internal + * + * Forwards to Smithy's expectUnion function, but also ignores + * the `__type` field if it is present. + */ +export declare const awsExpectUnion: (value: unknown) => Record | undefined; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts new file mode 100644 index 0000000..54724c5 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts @@ -0,0 +1,27 @@ +import type { Schema, ShapeSerializer } from "@smithy/types"; +import { SerdeContextConfig } from "../../ConfigurableSerdeContext"; +import type { JsonSettings } from "../JsonCodec"; +/** + * This implementation uses single-pass JSON serialization with JS code instead of + * JSON.stringify. + * + * It isn't significantly faster than dual-pass ending with native JSON.stringify + * that I would want to use it. It seems to be barely faster in some mid-range object + * sizes but slower on the high end. + * + * @internal + */ +export declare class SinglePassJsonShapeSerializer extends SerdeContextConfig implements ShapeSerializer { + readonly settings: JsonSettings; + private buffer; + private rootSchema; + constructor(settings: JsonSettings); + write(schema: Schema, value: unknown): void; + /** + * @internal + */ + writeDiscriminatedDocument(schema: Schema, value: unknown): void; + flush(): string; + private writeObject; + private writeValue; +} diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReplacer.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReplacer.d.ts new file mode 100644 index 0000000..ae1c9b5 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReplacer.d.ts @@ -0,0 +1,21 @@ +/** + * Serializes BigInt and NumericValue to JSON-number. + * @internal + */ +export declare class JsonReplacer { + /** + * Stores placeholder key to true serialized value lookup. + */ + private readonly values; + private counter; + private stage; + /** + * Creates a jsonReplacer function that reserves big integer and big decimal values + * for later replacement. + */ + createReplacer(): (key: string, value: unknown) => unknown; + /** + * Replaces placeholder keys with their true values. + */ + replaceInJson(json: string): string; +} diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReviver.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReviver.d.ts new file mode 100644 index 0000000..aedfd87 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReviver.d.ts @@ -0,0 +1,15 @@ +/** + * @param key - JSON object key. + * @param value - parsed value. + * @param context - original JSON string for reference. Not available until Node.js 21 and unavailable in Safari as + * of April 2025. + * + * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#browser_compatibility + * + * @internal + * + * @returns transformed value. + */ +export declare function jsonReviver(key: string, value: any, context?: { + source?: string; +}): any; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts new file mode 100644 index 0000000..947a0eb --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts @@ -0,0 +1,13 @@ +import type { HttpResponse, SerdeFunctions } from "@smithy/types"; +/** + * @internal + */ +export declare const parseJsonBody: (streamBody: any, context: SerdeFunctions) => any; +/** + * @internal + */ +export declare const parseJsonErrorBody: (errorBody: any, context: SerdeFunctions) => Promise; +/** + * @internal + */ +export declare const loadRestJsonErrorCode: (output: HttpResponse, data: any) => string | undefined; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts new file mode 100644 index 0000000..ec5b879 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts @@ -0,0 +1,27 @@ +import type { TypeRegistry } from "@smithy/core/schema"; +import { AwsQueryProtocol } from "./AwsQueryProtocol"; +/** + * @public + */ +export declare class AwsEc2QueryProtocol extends AwsQueryProtocol { + options: { + defaultNamespace: string; + xmlNamespace: string; + version: string; + errorTypeRegistries?: TypeRegistry[]; + }; + constructor(options: { + defaultNamespace: string; + xmlNamespace: string; + version: string; + errorTypeRegistries?: TypeRegistry[]; + }); + /** + * @override + */ + getShapeId(): string; + /** + * EC2 Query reads XResponse.XResult instead of XResponse directly. + */ + protected useNestedResult(): boolean; +} diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts new file mode 100644 index 0000000..d61d929 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts @@ -0,0 +1,49 @@ +import { RpcProtocol } from "@smithy/core/protocols"; +import type { TypeRegistry } from "@smithy/core/schema"; +import type { Codec, EndpointBearer, HandlerExecutionContext, HttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, SerdeFunctions } from "@smithy/types"; +import { XmlShapeDeserializer } from "../xml/XmlShapeDeserializer"; +import { QueryShapeSerializer } from "./QueryShapeSerializer"; +/** + * @public + */ +export declare class AwsQueryProtocol extends RpcProtocol { + options: { + defaultNamespace: string; + xmlNamespace: string; + version: string; + errorTypeRegistries?: TypeRegistry[]; + }; + protected serializer: QueryShapeSerializer; + protected deserializer: XmlShapeDeserializer; + private readonly mixin; + constructor(options: { + defaultNamespace: string; + xmlNamespace: string; + version: string; + errorTypeRegistries?: TypeRegistry[]; + }); + getShapeId(): string; + setSerdeContext(serdeContext: SerdeFunctions): void; + getPayloadCodec(): Codec; + serializeRequest(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise; + deserializeResponse(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise; + /** + * EC2 Query overrides this. + */ + protected useNestedResult(): boolean; + /** + * override + */ + protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any, metadata: ResponseMetadata): Promise; + /** + * The variations in the error and error message locations are attributed to + * divergence between AWS Query and EC2 Query behavior. + */ + protected loadQueryErrorCode(output: IHttpResponse, data: any): string | undefined; + protected loadQueryError(data: any): any | undefined; + protected loadQueryErrorMessage(data: any): string; + /** + * @override + */ + protected getDefaultContentType(): string; +} diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts new file mode 100644 index 0000000..cab2d47 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts @@ -0,0 +1,13 @@ +import type { CodecSettings } from "@smithy/types"; +/** + * @internal + */ +export type QuerySerializerSettings = CodecSettings & { + capitalizeKeys?: boolean; + flattenLists?: boolean; + serializeEmptyLists?: boolean; + /** + * Whether to read from ec2QueryName before xmlName. + */ + ec2?: boolean; +}; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts new file mode 100644 index 0000000..1c30e48 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts @@ -0,0 +1,16 @@ +import type { Schema, ShapeSerializer } from "@smithy/types"; +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +import type { QuerySerializerSettings } from "./QuerySerializerSettings"; +/** + * @public + */ +export declare class QueryShapeSerializer extends SerdeContextConfig implements ShapeSerializer { + readonly settings: QuerySerializerSettings; + private buffer; + constructor(settings: QuerySerializerSettings); + write(schema: Schema, value: unknown, prefix?: string): void; + flush(): string | Uint8Array; + protected getKey(memberName: string, xmlName?: string, ec2QueryName?: unknown, keySource?: string): string; + protected writeKey(key: string): void; + protected writeValue(value: string): void; +} diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts new file mode 100644 index 0000000..dffa1d9 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts @@ -0,0 +1,31 @@ +import { HttpBindingProtocol } from "@smithy/core/protocols"; +import type { TypeRegistry } from "@smithy/core/schema"; +import type { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types"; +import { XmlCodec } from "./XmlCodec"; +/** + * @public + */ +export declare class AwsRestXmlProtocol extends HttpBindingProtocol { + private readonly codec; + protected serializer: ShapeSerializer; + protected deserializer: ShapeDeserializer; + private readonly mixin; + constructor(options: { + defaultNamespace: string; + xmlNamespace: string; + errorTypeRegistries?: TypeRegistry[]; + }); + getPayloadCodec(): XmlCodec; + getShapeId(): string; + serializeRequest(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise; + deserializeResponse(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise; + /** + * @override + */ + protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any, metadata: ResponseMetadata): Promise; + /** + * @override + */ + protected getDefaultContentType(): string; + private hasUnstructuredPayloadBinding; +} diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlCodec.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlCodec.d.ts new file mode 100644 index 0000000..4d69b40 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlCodec.d.ts @@ -0,0 +1,14 @@ +import type { Codec, CodecSettings } from "@smithy/types"; +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +import { XmlShapeDeserializer } from "./XmlShapeDeserializer"; +import { XmlShapeSerializer } from "./XmlShapeSerializer"; +export type XmlSettings = CodecSettings & { + xmlNamespace: string; + serviceNamespace: string; +}; +export declare class XmlCodec extends SerdeContextConfig implements Codec { + readonly settings: XmlSettings; + constructor(settings: XmlSettings); + createSerializer(): XmlShapeSerializer; + createDeserializer(): XmlShapeDeserializer; +} diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeDeserializer.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeDeserializer.d.ts new file mode 100644 index 0000000..ee2e034 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeDeserializer.d.ts @@ -0,0 +1,20 @@ +import type { Schema, SerdeFunctions, ShapeDeserializer } from "@smithy/types"; +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +import type { XmlSettings } from "./XmlCodec"; +/** + * @public + */ +export declare class XmlShapeDeserializer extends SerdeContextConfig implements ShapeDeserializer { + readonly settings: XmlSettings; + private stringDeserializer; + constructor(settings: XmlSettings); + setSerdeContext(serdeContext: SerdeFunctions): void; + /** + * @param schema - describing the data. + * @param bytes - serialized data. + * @param key - used by AwsQuery to step one additional depth into the object before reading it. + */ + read(schema: Schema, bytes: Uint8Array | string, key?: string): any; + readSchema(_schema: Schema, value: any): any; + protected parseXml(xml: string): any; +} diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts new file mode 100644 index 0000000..5289f5c --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts @@ -0,0 +1,21 @@ +import type { Schema as ISchema, ShapeSerializer } from "@smithy/types"; +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +import type { XmlSettings } from "./XmlCodec"; +/** + * @public + */ +export declare class XmlShapeSerializer extends SerdeContextConfig implements ShapeSerializer { + readonly settings: XmlSettings; + private stringBuffer?; + private byteBuffer?; + private buffer?; + constructor(settings: XmlSettings); + write(schema: ISchema, value: unknown): void; + flush(): string | Uint8Array; + private writeStruct; + private writeList; + private writeMap; + private writeSimple; + private writeSimpleInto; + private getXmlnsAttribute; +} diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/parseXmlBody.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/parseXmlBody.d.ts new file mode 100644 index 0000000..30cfc30 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/parseXmlBody.d.ts @@ -0,0 +1,13 @@ +import type { HttpResponse, SerdeContext } from "@smithy/types"; +/** + * @internal + */ +export declare const parseXmlBody: (streamBody: any, context: SerdeContext) => any; +/** + * @internal + */ +export declare const parseXmlErrorBody: (errorBody: any, context: SerdeContext) => Promise; +/** + * @internal + */ +export declare const loadRestXmlErrorCode: (output: HttpResponse, data: any) => string | undefined; diff --git a/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/simpleFormatXml.d.ts b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/simpleFormatXml.d.ts new file mode 100644 index 0000000..43da7fc --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/simpleFormatXml.d.ts @@ -0,0 +1,6 @@ +/** + * Formats XML, for testing only. + * @internal + * @deprecated don't use in runtime code. + */ +export declare function simpleFormatXml(xml: string): string; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts new file mode 100644 index 0000000..e83f927 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts @@ -0,0 +1,5 @@ +export * from "./index"; +export * from "./submodules/account-id-endpoint/index"; +export * from "./submodules/client/index"; +export * from "./submodules/httpAuthSchemes/index"; +export * from "./submodules/protocols/index"; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..239de7a --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts @@ -0,0 +1,3 @@ +export * from "./submodules/client/index"; +export * from "./submodules/httpAuthSchemes/index"; +export * from "./submodules/protocols/index"; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts new file mode 100644 index 0000000..10d5c21 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts @@ -0,0 +1,15 @@ +import { Provider } from "@smithy/types"; +import { AccountIdEndpointMode } from "./AccountIdEndpointModeConstants"; +export interface AccountIdEndpointModeInputConfig { + accountIdEndpointMode?: + | AccountIdEndpointMode + | Provider; +} +interface PreviouslyResolved {} +export interface AccountIdEndpointModeResolvedConfig { + accountIdEndpointMode: Provider; +} +export declare const resolveAccountIdEndpointModeConfig: ( + input: T & AccountIdEndpointModeInputConfig & PreviouslyResolved +) => T & AccountIdEndpointModeResolvedConfig; +export {}; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts new file mode 100644 index 0000000..27bdce9 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts @@ -0,0 +1,6 @@ +export type AccountIdEndpointMode = "disabled" | "preferred" | "required"; +export declare const DEFAULT_ACCOUNT_ID_ENDPOINT_MODE = "preferred"; +export declare const ACCOUNT_ID_ENDPOINT_MODE_VALUES: AccountIdEndpointMode[]; +export declare function validateAccountIdEndpointMode( + value: any +): value is AccountIdEndpointMode; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts new file mode 100644 index 0000000..9b04566 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts @@ -0,0 +1,7 @@ +import { LoadedConfigSelectors } from "@smithy/node-config-provider"; +import { AccountIdEndpointMode } from "./AccountIdEndpointModeConstants"; +export declare const ENV_ACCOUNT_ID_ENDPOINT_MODE = + "AWS_ACCOUNT_ID_ENDPOINT_MODE"; +export declare const CONFIG_ACCOUNT_ID_ENDPOINT_MODE = + "account_id_endpoint_mode"; +export declare const NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts new file mode 100644 index 0000000..52af11d --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts @@ -0,0 +1,3 @@ +export * from "./AccountIdEndpointModeConfigResolver"; +export * from "./AccountIdEndpointModeConstants"; +export * from "./NodeAccountIdEndpointModeConfigOptions"; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts new file mode 100644 index 0000000..84af567 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts @@ -0,0 +1,4 @@ +export declare const state: { + warningEmitted: boolean; +}; +export declare const emitWarningIfUnsupportedVersion: (version: string) => void; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts new file mode 100644 index 0000000..492c6cd --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts @@ -0,0 +1,4 @@ +export * from "./emitWarningIfUnsupportedVersion"; +export * from "./setCredentialFeature"; +export * from "./setFeature"; +export * from "./setTokenFeature"; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts new file mode 100644 index 0000000..1336619 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts @@ -0,0 +1,11 @@ +import { + AttributedAwsCredentialIdentity, + AwsSdkCredentialsFeatures, +} from "@aws-sdk/types"; +export declare function setCredentialFeature< + F extends keyof AwsSdkCredentialsFeatures +>( + credentials: AttributedAwsCredentialIdentity, + feature: F, + value: AwsSdkCredentialsFeatures[F] +): AttributedAwsCredentialIdentity; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts new file mode 100644 index 0000000..84482ee --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts @@ -0,0 +1,6 @@ +import { AwsHandlerExecutionContext, AwsSdkFeatures } from "@aws-sdk/types"; +export declare function setFeature( + context: AwsHandlerExecutionContext, + feature: F, + value: AwsSdkFeatures[F] +): void; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts new file mode 100644 index 0000000..469548c --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts @@ -0,0 +1,6 @@ +import { AttributedTokenIdentity, AwsSdkTokenFeatures } from "@aws-sdk/types"; +export declare function setTokenFeature( + token: AttributedTokenIdentity, + feature: F, + value: AwsSdkTokenFeatures[F] +): AttributedTokenIdentity; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts new file mode 100644 index 0000000..b8c2b74 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts @@ -0,0 +1,12 @@ +import { + AwsCredentialIdentity, + HttpRequest as IHttpRequest, +} from "@smithy/types"; +import { AwsSdkSigV4Signer } from "./AwsSdkSigV4Signer"; +export declare class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer { + sign( + httpRequest: IHttpRequest, + identity: AwsCredentialIdentity, + signingProperties: Record + ): Promise; +} diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts new file mode 100644 index 0000000..0be6b41 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts @@ -0,0 +1,39 @@ +import { + AuthScheme, + AwsCredentialIdentity, + HttpRequest as IHttpRequest, + HttpResponse, + HttpSigner, + RequestSigner, +} from "@smithy/types"; +import { AwsSdkSigV4AAuthResolvedConfig } from "./resolveAwsSdkSigV4AConfig"; +interface AwsSdkSigV4Config extends AwsSdkSigV4AAuthResolvedConfig { + systemClockOffset: number; + signer: (authScheme?: AuthScheme) => Promise; +} +interface AwsSdkSigV4AuthSigningProperties { + config: AwsSdkSigV4Config; + signer: RequestSigner; + signingRegion?: string; + signingRegionSet?: string[]; + signingName?: string; +} +export declare const validateSigningProperties: ( + signingProperties: Record +) => Promise; +export declare class AwsSdkSigV4Signer implements HttpSigner { + sign( + httpRequest: IHttpRequest, + identity: AwsCredentialIdentity, + signingProperties: Record + ): Promise; + errorHandler( + signingProperties: Record + ): (error: Error) => never; + successHandler( + httpResponse: HttpResponse | unknown, + signingProperties: Record + ): void; +} +export declare const AWSSDKSigV4Signer: typeof AwsSdkSigV4Signer; +export {}; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts new file mode 100644 index 0000000..effc1e0 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts @@ -0,0 +1,4 @@ +import { LoadedConfigSelectors } from "@smithy/node-config-provider"; +export declare const NODE_AUTH_SCHEME_PREFERENCE_OPTIONS: LoadedConfigSelectors< + string[] +>; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts new file mode 100644 index 0000000..6047921 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts @@ -0,0 +1,9 @@ +export { + AwsSdkSigV4Signer, + AWSSDKSigV4Signer, + validateSigningProperties, +} from "./AwsSdkSigV4Signer"; +export { AwsSdkSigV4ASigner } from "./AwsSdkSigV4ASigner"; +export * from "./NODE_AUTH_SCHEME_PREFERENCE_OPTIONS"; +export * from "./resolveAwsSdkSigV4AConfig"; +export * from "./resolveAwsSdkSigV4Config"; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts new file mode 100644 index 0000000..9f949b0 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts @@ -0,0 +1,18 @@ +import { LoadedConfigSelectors } from "@smithy/node-config-provider"; +import { Provider } from "@smithy/types"; +export interface AwsSdkSigV4AAuthInputConfig { + sigv4aSigningRegionSet?: + | string[] + | undefined + | Provider; +} +export interface AwsSdkSigV4APreviouslyResolved {} +export interface AwsSdkSigV4AAuthResolvedConfig { + sigv4aSigningRegionSet: Provider; +} +export declare const resolveAwsSdkSigV4AConfig: ( + config: T & AwsSdkSigV4AAuthInputConfig & AwsSdkSigV4APreviouslyResolved +) => T & AwsSdkSigV4AAuthResolvedConfig; +export declare const NODE_SIGV4A_CONFIG_OPTIONS: LoadedConfigSelectors< + string[] | undefined +>; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts new file mode 100644 index 0000000..fc562d9 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts @@ -0,0 +1,65 @@ +import { MergeFunctions } from "@aws-sdk/types"; +import { SignatureV4CryptoInit, SignatureV4Init } from "@smithy/signature-v4"; +import { + AuthScheme, + AwsCredentialIdentity, + AwsCredentialIdentityProvider, + ChecksumConstructor, + HashConstructor, + MemoizedProvider, + Provider, + RegionInfoProvider, + RequestSigner, +} from "@smithy/types"; +export interface AwsSdkSigV4AuthInputConfig { + credentials?: AwsCredentialIdentity | AwsCredentialIdentityProvider; + signer?: + | RequestSigner + | ((authScheme?: AuthScheme) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new ( + options: SignatureV4Init & SignatureV4CryptoInit + ) => RequestSigner; +} +export type AwsSdkSigV4Memoized = { + memoized?: boolean; + configBound?: boolean; + attributed?: boolean; +}; +export interface AwsSdkSigV4PreviouslyResolved { + credentialDefaultProvider?: ( + input: any + ) => MemoizedProvider; + region: string | Provider; + sha256: ChecksumConstructor | HashConstructor; + signingName?: string; + regionInfoProvider?: RegionInfoProvider; + defaultSigningName?: string; + serviceId: string; + useFipsEndpoint: Provider; + useDualstackEndpoint: Provider; +} +export interface AwsSdkSigV4AuthResolvedConfig { + credentials: MergeFunctions< + AwsCredentialIdentityProvider, + MemoizedProvider + > & + AwsSdkSigV4Memoized; + signer: (authScheme?: AuthScheme) => Promise; + signingEscapePath: boolean; + systemClockOffset: number; +} +export declare const resolveAwsSdkSigV4Config: ( + config: T & AwsSdkSigV4AuthInputConfig & AwsSdkSigV4PreviouslyResolved +) => T & AwsSdkSigV4AuthResolvedConfig; +export interface AWSSDKSigV4AuthInputConfig + extends AwsSdkSigV4AuthInputConfig {} +export interface AWSSDKSigV4PreviouslyResolved + extends AwsSdkSigV4PreviouslyResolved {} +export interface AWSSDKSigV4AuthResolvedConfig + extends AwsSdkSigV4AuthResolvedConfig {} +export declare const resolveAWSSDKSigV4Config: ( + config: T & AwsSdkSigV4AuthInputConfig & AwsSdkSigV4PreviouslyResolved +) => T & AwsSdkSigV4AuthResolvedConfig; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts new file mode 100644 index 0000000..3927741 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts @@ -0,0 +1,2 @@ +export * from "./aws_sdk"; +export * from "./utils/getBearerTokenEnvKey"; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts new file mode 100644 index 0000000..aee2328 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts @@ -0,0 +1 @@ +export declare const getArrayForCommaSeparatedString: (str: string) => string[]; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.d.ts new file mode 100644 index 0000000..2904f0b --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.d.ts @@ -0,0 +1 @@ +export declare const getBearerTokenEnvKey: (signingName: string) => string; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getDateHeader.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getDateHeader.d.ts new file mode 100644 index 0000000..73fc529 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getDateHeader.d.ts @@ -0,0 +1 @@ +export declare const getDateHeader: (response: unknown) => string | undefined; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts new file mode 100644 index 0000000..741c5ea --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts @@ -0,0 +1 @@ +export declare const getSkewCorrectedDate: (systemClockOffset: number) => Date; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts new file mode 100644 index 0000000..eae3311 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts @@ -0,0 +1,4 @@ +export declare const getUpdatedSystemClockOffset: ( + clockTime: string, + currentSystemClockOffset: number +) => number; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts new file mode 100644 index 0000000..07c2195 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts @@ -0,0 +1,3 @@ +export * from "./getDateHeader"; +export * from "./getSkewCorrectedDate"; +export * from "./getUpdatedSystemClockOffset"; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts new file mode 100644 index 0000000..9f994f8 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts @@ -0,0 +1,4 @@ +export declare const isClockSkewed: ( + clockTime: number, + systemClockOffset: number +) => boolean; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts new file mode 100644 index 0000000..a225d08 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts @@ -0,0 +1,5 @@ +import { ConfigurableSerdeContext, SerdeFunctions } from "@smithy/types"; +export declare class SerdeContextConfig implements ConfigurableSerdeContext { + protected serdeContext?: SerdeFunctions; + setSerdeContext(serdeContext: SerdeFunctions): void; +} diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts new file mode 100644 index 0000000..58f7c54 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts @@ -0,0 +1,53 @@ +import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema"; +import { ServiceException as SDKBaseServiceException } from "@smithy/smithy-client"; +import { + HttpResponse as IHttpResponse, + MetadataBearer, + ResponseMetadata, + StaticErrorSchema, +} from "@smithy/types"; +type ErrorMetadataBearer = MetadataBearer & { + $fault: "client" | "server"; +}; +export declare class ProtocolLib { + private queryCompat; + private errorRegistry?; + constructor(queryCompat?: boolean); + resolveRestContentType( + defaultContentType: string, + inputSchema: NormalizedSchema + ): string | undefined; + getErrorSchemaOrThrowBaseException( + errorIdentifier: string, + defaultNamespace: string, + response: IHttpResponse, + dataObject: any, + metadata: ResponseMetadata, + getErrorSchema?: ( + registry: TypeRegistry, + errorName: string + ) => StaticErrorSchema + ): Promise<{ + errorSchema: StaticErrorSchema; + errorMetadata: ErrorMetadataBearer; + }>; + compose( + composite: TypeRegistry, + errorIdentifier: string, + defaultNamespace: string + ): void; + decorateServiceException( + exception: E, + additions?: Record + ): E; + setQueryCompatError( + output: Record, + response: IHttpResponse + ): void; + queryCompatOutput(queryCompatErrorData: any, errorData: any): void; + findQueryCompatibleError( + registry: TypeRegistry, + errorName: string + ): StaticErrorSchema; +} +export {}; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts new file mode 100644 index 0000000..0daa335 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts @@ -0,0 +1,9 @@ +export declare class UnionSerde { + private from; + private to; + private keys; + constructor(from: any, to: any); + mark(key: string): void; + hasUnknown(): boolean; + writeUnknown(): void; +} diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts new file mode 100644 index 0000000..555d46f --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts @@ -0,0 +1,36 @@ +import { SmithyRpcV2CborProtocol } from "@smithy/core/cbor"; +import { TypeRegistry } from "@smithy/core/schema"; +import { + EndpointBearer, + HandlerExecutionContext, + HttpRequest, + HttpResponse, + OperationSchema, + ResponseMetadata, + SerdeFunctions, +} from "@smithy/types"; +export declare class AwsSmithyRpcV2CborProtocol extends SmithyRpcV2CborProtocol { + private readonly awsQueryCompatible; + private readonly mixin; + constructor({ + defaultNamespace, + errorTypeRegistries, + awsQueryCompatible, + }: { + defaultNamespace: string; + errorTypeRegistries?: TypeRegistry[]; + awsQueryCompatible?: boolean; + }); + serializeRequest( + operationSchema: OperationSchema, + input: Input, + context: HandlerExecutionContext & SerdeFunctions & EndpointBearer + ): Promise; + protected handleError( + operationSchema: OperationSchema, + context: HandlerExecutionContext & SerdeFunctions, + response: HttpResponse, + dataObject: any, + metadata: ResponseMetadata + ): Promise; +} diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/coercing-serializers.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/coercing-serializers.d.ts new file mode 100644 index 0000000..7657ceb --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/coercing-serializers.d.ts @@ -0,0 +1,3 @@ +export declare const _toStr: (val: unknown) => string | undefined; +export declare const _toBool: (val: unknown) => boolean | undefined; +export declare const _toNum: (val: unknown) => number | undefined; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts new file mode 100644 index 0000000..105253e --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts @@ -0,0 +1,5 @@ +import { SerdeFunctions } from "@smithy/types"; +export declare const collectBodyString: ( + streamBody: any, + context: SerdeFunctions +) => Promise; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts new file mode 100644 index 0000000..0a230f9 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts @@ -0,0 +1,20 @@ +export * from "./cbor/AwsSmithyRpcV2CborProtocol"; +export * from "./coercing-serializers"; +export * from "./json/AwsJson1_0Protocol"; +export * from "./json/AwsJson1_1Protocol"; +export * from "./json/AwsJsonRpcProtocol"; +export * from "./json/AwsRestJsonProtocol"; +export * from "./json/JsonCodec"; +export * from "./json/JsonShapeDeserializer"; +export * from "./json/JsonShapeSerializer"; +export * from "./json/awsExpectUnion"; +export * from "./json/parseJsonBody"; +export * from "./query/AwsEc2QueryProtocol"; +export * from "./query/AwsQueryProtocol"; +export * from "./query/QuerySerializerSettings"; +export * from "./query/QueryShapeSerializer"; +export * from "./xml/AwsRestXmlProtocol"; +export * from "./xml/XmlCodec"; +export * from "./xml/XmlShapeDeserializer"; +export * from "./xml/XmlShapeSerializer"; +export * from "./xml/parseXmlBody"; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts new file mode 100644 index 0000000..87fd366 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts @@ -0,0 +1,21 @@ +import { TypeRegistry } from "@smithy/core/schema"; +import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol"; +import { JsonCodec } from "./JsonCodec"; +export declare class AwsJson1_0Protocol extends AwsJsonRpcProtocol { + constructor({ + defaultNamespace, + errorTypeRegistries, + serviceTarget, + awsQueryCompatible, + jsonCodec, + }: { + defaultNamespace: string; + errorTypeRegistries?: TypeRegistry[]; + serviceTarget: string; + awsQueryCompatible?: boolean; + jsonCodec?: JsonCodec; + }); + getShapeId(): string; + protected getJsonRpcVersion(): "1.0"; + protected getDefaultContentType(): string; +} diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts new file mode 100644 index 0000000..17a7439 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts @@ -0,0 +1,21 @@ +import { TypeRegistry } from "@smithy/core/schema"; +import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol"; +import { JsonCodec } from "./JsonCodec"; +export declare class AwsJson1_1Protocol extends AwsJsonRpcProtocol { + constructor({ + defaultNamespace, + errorTypeRegistries, + serviceTarget, + awsQueryCompatible, + jsonCodec, + }: { + defaultNamespace: string; + errorTypeRegistries?: TypeRegistry[]; + serviceTarget: string; + awsQueryCompatible?: boolean; + jsonCodec?: JsonCodec; + }); + getShapeId(): string; + protected getJsonRpcVersion(): "1.1"; + protected getDefaultContentType(): string; +} diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts new file mode 100644 index 0000000..4b954b4 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts @@ -0,0 +1,49 @@ +import { RpcProtocol } from "@smithy/core/protocols"; +import { TypeRegistry } from "@smithy/core/schema"; +import { + EndpointBearer, + HandlerExecutionContext, + HttpRequest, + HttpResponse, + OperationSchema, + ResponseMetadata, + SerdeFunctions, + ShapeDeserializer, + ShapeSerializer, +} from "@smithy/types"; +import { JsonCodec } from "./JsonCodec"; +export declare abstract class AwsJsonRpcProtocol extends RpcProtocol { + protected serializer: ShapeSerializer; + protected deserializer: ShapeDeserializer; + protected serviceTarget: string; + private readonly codec; + private readonly mixin; + private readonly awsQueryCompatible; + protected constructor({ + defaultNamespace, + errorTypeRegistries, + serviceTarget, + awsQueryCompatible, + jsonCodec, + }: { + defaultNamespace: string; + errorTypeRegistries?: TypeRegistry[]; + serviceTarget: string; + awsQueryCompatible?: boolean; + jsonCodec?: JsonCodec; + }); + serializeRequest( + operationSchema: OperationSchema, + input: Input, + context: HandlerExecutionContext & SerdeFunctions & EndpointBearer + ): Promise; + getPayloadCodec(): JsonCodec; + protected abstract getJsonRpcVersion(): "1.1" | "1.0"; + protected handleError( + operationSchema: OperationSchema, + context: HandlerExecutionContext & SerdeFunctions, + response: HttpResponse, + dataObject: any, + metadata: ResponseMetadata + ): Promise; +} diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts new file mode 100644 index 0000000..bc74f0b --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts @@ -0,0 +1,49 @@ +import { HttpBindingProtocol } from "@smithy/core/protocols"; +import { TypeRegistry } from "@smithy/core/schema"; +import { + EndpointBearer, + HandlerExecutionContext, + HttpRequest, + HttpResponse, + MetadataBearer, + OperationSchema, + ResponseMetadata, + SerdeFunctions, + ShapeDeserializer, + ShapeSerializer, +} from "@smithy/types"; +import { JsonCodec } from "./JsonCodec"; +export declare class AwsRestJsonProtocol extends HttpBindingProtocol { + protected serializer: ShapeSerializer; + protected deserializer: ShapeDeserializer; + private readonly codec; + private readonly mixin; + constructor({ + defaultNamespace, + errorTypeRegistries, + }: { + defaultNamespace: string; + errorTypeRegistries?: TypeRegistry[]; + }); + getShapeId(): string; + getPayloadCodec(): JsonCodec; + setSerdeContext(serdeContext: SerdeFunctions): void; + serializeRequest( + operationSchema: OperationSchema, + input: Input, + context: HandlerExecutionContext & SerdeFunctions & EndpointBearer + ): Promise; + deserializeResponse( + operationSchema: OperationSchema, + context: HandlerExecutionContext & SerdeFunctions, + response: HttpResponse + ): Promise; + protected handleError( + operationSchema: OperationSchema, + context: HandlerExecutionContext & SerdeFunctions, + response: HttpResponse, + dataObject: any, + metadata: ResponseMetadata + ): Promise; + protected getDefaultContentType(): string; +} diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts new file mode 100644 index 0000000..225608a --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts @@ -0,0 +1,16 @@ +import { Codec, CodecSettings } from "@smithy/types"; +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +import { JsonShapeDeserializer } from "./JsonShapeDeserializer"; +import { JsonShapeSerializer } from "./JsonShapeSerializer"; +export type JsonSettings = CodecSettings & { + jsonName: boolean; +}; +export declare class JsonCodec + extends SerdeContextConfig + implements Codec +{ + readonly settings: JsonSettings; + constructor(settings: JsonSettings); + createSerializer(): JsonShapeSerializer; + createDeserializer(): JsonShapeDeserializer; +} diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeDeserializer.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeDeserializer.d.ts new file mode 100644 index 0000000..ae1579f --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeDeserializer.d.ts @@ -0,0 +1,13 @@ +import { DocumentType, Schema, ShapeDeserializer } from "@smithy/types"; +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +import { JsonSettings } from "./JsonCodec"; +export declare class JsonShapeDeserializer + extends SerdeContextConfig + implements ShapeDeserializer +{ + readonly settings: JsonSettings; + constructor(settings: JsonSettings); + read(schema: Schema, data: string | Uint8Array | unknown): Promise; + readObject(schema: Schema, data: DocumentType): any; + protected _read(schema: Schema, value: unknown): any; +} diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts new file mode 100644 index 0000000..41d82e6 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts @@ -0,0 +1,22 @@ +import { NormalizedSchema } from "@smithy/core/schema"; +import { Schema, ShapeSerializer } from "@smithy/types"; +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +import { JsonSettings } from "./JsonCodec"; +export declare class JsonShapeSerializer + extends SerdeContextConfig + implements ShapeSerializer +{ + readonly settings: JsonSettings; + protected buffer: any; + protected useReplacer: boolean; + protected rootSchema: NormalizedSchema | undefined; + constructor(settings: JsonSettings); + write(schema: Schema, value: unknown): void; + writeDiscriminatedDocument(schema: Schema, value: unknown): void; + flush(): string; + protected _write( + schema: Schema, + value: unknown, + container?: NormalizedSchema + ): any; +} diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts new file mode 100644 index 0000000..fdc331e --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts @@ -0,0 +1,3 @@ +export declare const awsExpectUnion: ( + value: unknown +) => Record | undefined; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts new file mode 100644 index 0000000..d6b97bf --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts @@ -0,0 +1,17 @@ +import { Schema, ShapeSerializer } from "@smithy/types"; +import { SerdeContextConfig } from "../../ConfigurableSerdeContext"; +import { JsonSettings } from "../JsonCodec"; +export declare class SinglePassJsonShapeSerializer + extends SerdeContextConfig + implements ShapeSerializer +{ + readonly settings: JsonSettings; + private buffer; + private rootSchema; + constructor(settings: JsonSettings); + write(schema: Schema, value: unknown): void; + writeDiscriminatedDocument(schema: Schema, value: unknown): void; + flush(): string; + private writeObject; + private writeValue; +} diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts new file mode 100644 index 0000000..c781ab9 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts @@ -0,0 +1,7 @@ +export declare class JsonReplacer { + private readonly values; + private counter; + private stage; + createReplacer(): (key: string, value: unknown) => unknown; + replaceInJson(json: string): string; +} diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts new file mode 100644 index 0000000..6411604 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts @@ -0,0 +1,7 @@ +export declare function jsonReviver( + key: string, + value: any, + context?: { + source?: string; + } +): any; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts new file mode 100644 index 0000000..f13884a --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts @@ -0,0 +1,13 @@ +import { HttpResponse, SerdeFunctions } from "@smithy/types"; +export declare const parseJsonBody: ( + streamBody: any, + context: SerdeFunctions +) => any; +export declare const parseJsonErrorBody: ( + errorBody: any, + context: SerdeFunctions +) => Promise; +export declare const loadRestJsonErrorCode: ( + output: HttpResponse, + data: any +) => string | undefined; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts new file mode 100644 index 0000000..781dcd6 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts @@ -0,0 +1,18 @@ +import { TypeRegistry } from "@smithy/core/schema"; +import { AwsQueryProtocol } from "./AwsQueryProtocol"; +export declare class AwsEc2QueryProtocol extends AwsQueryProtocol { + options: { + defaultNamespace: string; + xmlNamespace: string; + version: string; + errorTypeRegistries?: TypeRegistry[]; + }; + constructor(options: { + defaultNamespace: string; + xmlNamespace: string; + version: string; + errorTypeRegistries?: TypeRegistry[]; + }); + getShapeId(): string; + protected useNestedResult(): boolean; +} diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts new file mode 100644 index 0000000..ef1632f --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts @@ -0,0 +1,60 @@ +import { RpcProtocol } from "@smithy/core/protocols"; +import { TypeRegistry } from "@smithy/core/schema"; +import { + Codec, + EndpointBearer, + HandlerExecutionContext, + HttpRequest, + HttpResponse as IHttpResponse, + MetadataBearer, + OperationSchema, + ResponseMetadata, + SerdeFunctions, +} from "@smithy/types"; +import { XmlShapeDeserializer } from "../xml/XmlShapeDeserializer"; +import { QueryShapeSerializer } from "./QueryShapeSerializer"; +export declare class AwsQueryProtocol extends RpcProtocol { + options: { + defaultNamespace: string; + xmlNamespace: string; + version: string; + errorTypeRegistries?: TypeRegistry[]; + }; + protected serializer: QueryShapeSerializer; + protected deserializer: XmlShapeDeserializer; + private readonly mixin; + constructor(options: { + defaultNamespace: string; + xmlNamespace: string; + version: string; + errorTypeRegistries?: TypeRegistry[]; + }); + getShapeId(): string; + setSerdeContext(serdeContext: SerdeFunctions): void; + getPayloadCodec(): Codec; + serializeRequest( + operationSchema: OperationSchema, + input: Input, + context: HandlerExecutionContext & SerdeFunctions & EndpointBearer + ): Promise; + deserializeResponse( + operationSchema: OperationSchema, + context: HandlerExecutionContext & SerdeFunctions, + response: IHttpResponse + ): Promise; + protected useNestedResult(): boolean; + protected handleError( + operationSchema: OperationSchema, + context: HandlerExecutionContext & SerdeFunctions, + response: IHttpResponse, + dataObject: any, + metadata: ResponseMetadata + ): Promise; + protected loadQueryErrorCode( + output: IHttpResponse, + data: any + ): string | undefined; + protected loadQueryError(data: any): any | undefined; + protected loadQueryErrorMessage(data: any): string; + protected getDefaultContentType(): string; +} diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts new file mode 100644 index 0000000..315d4aa --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts @@ -0,0 +1,7 @@ +import { CodecSettings } from "@smithy/types"; +export type QuerySerializerSettings = CodecSettings & { + capitalizeKeys?: boolean; + flattenLists?: boolean; + serializeEmptyLists?: boolean; + ec2?: boolean; +}; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts new file mode 100644 index 0000000..f373507 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts @@ -0,0 +1,21 @@ +import { Schema, ShapeSerializer } from "@smithy/types"; +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +import { QuerySerializerSettings } from "./QuerySerializerSettings"; +export declare class QueryShapeSerializer + extends SerdeContextConfig + implements ShapeSerializer +{ + readonly settings: QuerySerializerSettings; + private buffer; + constructor(settings: QuerySerializerSettings); + write(schema: Schema, value: unknown, prefix?: string): void; + flush(): string | Uint8Array; + protected getKey( + memberName: string, + xmlName?: string, + ec2QueryName?: unknown, + keySource?: string + ): string; + protected writeKey(key: string): void; + protected writeValue(value: string): void; +} diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts new file mode 100644 index 0000000..5985cea --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts @@ -0,0 +1,47 @@ +import { HttpBindingProtocol } from "@smithy/core/protocols"; +import { TypeRegistry } from "@smithy/core/schema"; +import { + EndpointBearer, + HandlerExecutionContext, + HttpRequest as IHttpRequest, + HttpResponse as IHttpResponse, + MetadataBearer, + OperationSchema, + ResponseMetadata, + SerdeFunctions, + ShapeDeserializer, + ShapeSerializer, +} from "@smithy/types"; +import { XmlCodec } from "./XmlCodec"; +export declare class AwsRestXmlProtocol extends HttpBindingProtocol { + private readonly codec; + protected serializer: ShapeSerializer; + protected deserializer: ShapeDeserializer; + private readonly mixin; + constructor(options: { + defaultNamespace: string; + xmlNamespace: string; + errorTypeRegistries?: TypeRegistry[]; + }); + getPayloadCodec(): XmlCodec; + getShapeId(): string; + serializeRequest( + operationSchema: OperationSchema, + input: Input, + context: HandlerExecutionContext & SerdeFunctions & EndpointBearer + ): Promise; + deserializeResponse( + operationSchema: OperationSchema, + context: HandlerExecutionContext & SerdeFunctions, + response: IHttpResponse + ): Promise; + protected handleError( + operationSchema: OperationSchema, + context: HandlerExecutionContext & SerdeFunctions, + response: IHttpResponse, + dataObject: any, + metadata: ResponseMetadata + ): Promise; + protected getDefaultContentType(): string; + private hasUnstructuredPayloadBinding; +} diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlCodec.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlCodec.d.ts new file mode 100644 index 0000000..14f46e0 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlCodec.d.ts @@ -0,0 +1,17 @@ +import { Codec, CodecSettings } from "@smithy/types"; +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +import { XmlShapeDeserializer } from "./XmlShapeDeserializer"; +import { XmlShapeSerializer } from "./XmlShapeSerializer"; +export type XmlSettings = CodecSettings & { + xmlNamespace: string; + serviceNamespace: string; +}; +export declare class XmlCodec + extends SerdeContextConfig + implements Codec +{ + readonly settings: XmlSettings; + constructor(settings: XmlSettings); + createSerializer(): XmlShapeSerializer; + createDeserializer(): XmlShapeDeserializer; +} diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeDeserializer.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeDeserializer.d.ts new file mode 100644 index 0000000..0c5b7cd --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeDeserializer.d.ts @@ -0,0 +1,15 @@ +import { Schema, SerdeFunctions, ShapeDeserializer } from "@smithy/types"; +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +import { XmlSettings } from "./XmlCodec"; +export declare class XmlShapeDeserializer + extends SerdeContextConfig + implements ShapeDeserializer +{ + readonly settings: XmlSettings; + private stringDeserializer; + constructor(settings: XmlSettings); + setSerdeContext(serdeContext: SerdeFunctions): void; + read(schema: Schema, bytes: Uint8Array | string, key?: string): any; + readSchema(_schema: Schema, value: any): any; + protected parseXml(xml: string): any; +} diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeSerializer.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeSerializer.d.ts new file mode 100644 index 0000000..9ad3736 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeSerializer.d.ts @@ -0,0 +1,21 @@ +import { Schema as ISchema, ShapeSerializer } from "@smithy/types"; +import { SerdeContextConfig } from "../ConfigurableSerdeContext"; +import { XmlSettings } from "./XmlCodec"; +export declare class XmlShapeSerializer + extends SerdeContextConfig + implements ShapeSerializer +{ + readonly settings: XmlSettings; + private stringBuffer?; + private byteBuffer?; + private buffer?; + constructor(settings: XmlSettings); + write(schema: ISchema, value: unknown): void; + flush(): string | Uint8Array; + private writeStruct; + private writeList; + private writeMap; + private writeSimple; + private writeSimpleInto; + private getXmlnsAttribute; +} diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/parseXmlBody.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/parseXmlBody.d.ts new file mode 100644 index 0000000..f151834 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/parseXmlBody.d.ts @@ -0,0 +1,13 @@ +import { HttpResponse, SerdeContext } from "@smithy/types"; +export declare const parseXmlBody: ( + streamBody: any, + context: SerdeContext +) => any; +export declare const parseXmlErrorBody: ( + errorBody: any, + context: SerdeContext +) => Promise; +export declare const loadRestXmlErrorCode: ( + output: HttpResponse, + data: any +) => string | undefined; diff --git a/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/simpleFormatXml.d.ts b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/simpleFormatXml.d.ts new file mode 100644 index 0000000..b70cfc4 --- /dev/null +++ b/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/simpleFormatXml.d.ts @@ -0,0 +1 @@ +export declare function simpleFormatXml(xml: string): string; diff --git a/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts b/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts new file mode 100644 index 0000000..3783b5e --- /dev/null +++ b/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts @@ -0,0 +1,7 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +declare module "@aws-sdk/core/httpAuthSchemes" { + export * from "@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d"; +} diff --git a/node_modules/@aws-sdk/core/httpAuthSchemes.js b/node_modules/@aws-sdk/core/httpAuthSchemes.js new file mode 100644 index 0000000..17685b0 --- /dev/null +++ b/node_modules/@aws-sdk/core/httpAuthSchemes.js @@ -0,0 +1,5 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +module.exports = require("./dist-cjs/submodules/httpAuthSchemes/index.js"); diff --git a/node_modules/@aws-sdk/core/package.json b/node_modules/@aws-sdk/core/package.json new file mode 100644 index 0000000..d06430c --- /dev/null +++ b/node_modules/@aws-sdk/core/package.json @@ -0,0 +1,121 @@ +{ + "name": "@aws-sdk/core", + "version": "3.973.26", + "description": "Core functions & classes shared by multiple AWS SDK clients.", + "scripts": { + "build": "yarn lint && concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline core && premove ./dist-cjs/api-extractor-type-index.js", + "build:es": "tsc -p tsconfig.es.json && premove ./dist-es/api-extractor-type-index.js", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "lint": "node ../../scripts/validation/submodules-linter.js --pkg core", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "extract:docs": "api-extractor run --local", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "exports": { + ".": { + "types": "./dist-types/index.d.ts", + "module": "./dist-es/index.js", + "node": "./dist-cjs/index.js", + "import": "./dist-es/index.js", + "require": "./dist-cjs/index.js" + }, + "./package.json": { + "module": "./package.json", + "node": "./package.json", + "import": "./package.json", + "require": "./package.json" + }, + "./client": { + "types": "./dist-types/submodules/client/index.d.ts", + "module": "./dist-es/submodules/client/index.js", + "node": "./dist-cjs/submodules/client/index.js", + "import": "./dist-es/submodules/client/index.js", + "require": "./dist-cjs/submodules/client/index.js" + }, + "./httpAuthSchemes": { + "types": "./dist-types/submodules/httpAuthSchemes/index.d.ts", + "module": "./dist-es/submodules/httpAuthSchemes/index.js", + "node": "./dist-cjs/submodules/httpAuthSchemes/index.js", + "import": "./dist-es/submodules/httpAuthSchemes/index.js", + "require": "./dist-cjs/submodules/httpAuthSchemes/index.js" + }, + "./account-id-endpoint": { + "types": "./dist-types/submodules/account-id-endpoint/index.d.ts", + "module": "./dist-es/submodules/account-id-endpoint/index.js", + "node": "./dist-cjs/submodules/account-id-endpoint/index.js", + "import": "./dist-es/submodules/account-id-endpoint/index.js", + "require": "./dist-cjs/submodules/account-id-endpoint/index.js" + }, + "./protocols": { + "types": "./dist-types/submodules/protocols/index.d.ts", + "module": "./dist-es/submodules/protocols/index.js", + "node": "./dist-cjs/submodules/protocols/index.js", + "import": "./dist-es/submodules/protocols/index.js", + "require": "./dist-cjs/submodules/protocols/index.js" + } + }, + "files": [ + "./account-id-endpoint.d.ts", + "./account-id-endpoint.js", + "./client.d.ts", + "./client.js", + "./httpAuthSchemes.d.ts", + "./httpAuthSchemes.js", + "./protocols.d.ts", + "./protocols.js", + "dist-*/**" + ], + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/xml-builder": "^3.972.16", + "@smithy/core": "^3.23.13", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/property-provider": "^4.2.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/signature-v4": "^5.3.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "@smithy/util-base64": "^4.3.2", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/core", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/core" + } +} diff --git a/node_modules/@aws-sdk/core/protocols.d.ts b/node_modules/@aws-sdk/core/protocols.d.ts new file mode 100644 index 0000000..7a36334 --- /dev/null +++ b/node_modules/@aws-sdk/core/protocols.d.ts @@ -0,0 +1,7 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +declare module "@aws-sdk/core/protocols" { + export * from "@aws-sdk/core/dist-types/submodules/protocols/index.d"; +} diff --git a/node_modules/@aws-sdk/core/protocols.js b/node_modules/@aws-sdk/core/protocols.js new file mode 100644 index 0000000..e2916e8 --- /dev/null +++ b/node_modules/@aws-sdk/core/protocols.js @@ -0,0 +1,5 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +module.exports = require("./dist-cjs/submodules/protocols/index.js"); diff --git a/node_modules/@aws-sdk/crc64-nvme/LICENSE b/node_modules/@aws-sdk/crc64-nvme/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-sdk/crc64-nvme/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-sdk/crc64-nvme/README.md b/node_modules/@aws-sdk/crc64-nvme/README.md new file mode 100644 index 0000000..b1b6c45 --- /dev/null +++ b/node_modules/@aws-sdk/crc64-nvme/README.md @@ -0,0 +1,61 @@ +# @aws-sdk/crc64-nvme + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/crc64-nvme/latest.svg)](https://www.npmjs.com/package/@aws-sdk/crc64-nvme) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/crc64-nvme.svg)](https://www.npmjs.com/package/@aws-sdk/crc64-nvme) + +JavaScript Implementation of CRC64NVME which follows Smithy Checksum interface. + +## Usage + +### Basic Usage + +```javascript +import { Crc64Nvme } from "@aws-sdk/crc64-nvme"; + +const checksum = new Crc64Nvme(); +checksum.update(new Uint8Array([1, 2, 3, 4, 5])); +const result = await checksum.digest(); +console.log(result); // Uint8Array(8) containing the checksum +``` + +### String Input + +```javascript +import { Crc64Nvme } from "@aws-sdk/crc64-nvme"; + +const checksum = new Crc64Nvme(); +const data = new TextEncoder().encode("Hello, World!"); +checksum.update(data); +const result = await checksum.digest(); +``` + +### Incremental Updates + +```javascript +import { Crc64Nvme } from "@aws-sdk/crc64-nvme"; + +const checksum = new Crc64Nvme(); + +// Process data in chunks +checksum.update(new TextEncoder().encode("Hello, ")); +checksum.update(new TextEncoder().encode("World!")); + +const result = await checksum.digest(); +``` + +### Reset and Reuse + +```javascript +import { Crc64Nvme } from "@aws-sdk/crc64-nvme"; + +const checksum = new Crc64Nvme(); + +// First calculation +checksum.update(new TextEncoder().encode("data1")); +const result1 = await checksum.digest(); + +// Reset for new calculation +checksum.reset(); +checksum.update(new TextEncoder().encode("data2")); +const result2 = await checksum.digest(); +``` diff --git a/node_modules/@aws-sdk/crc64-nvme/dist-cjs/index.js b/node_modules/@aws-sdk/crc64-nvme/dist-cjs/index.js new file mode 100644 index 0000000..20b07f1 --- /dev/null +++ b/node_modules/@aws-sdk/crc64-nvme/dist-cjs/index.js @@ -0,0 +1,101 @@ +'use strict'; + +const generateCRC64NVMETable = () => { + const sliceLength = 8; + const tables = new Array(sliceLength); + for (let slice = 0; slice < sliceLength; slice++) { + const table = new Array(512); + for (let i = 0; i < 256; i++) { + let crc = BigInt(i); + for (let j = 0; j < 8 * (slice + 1); j++) { + if (crc & 1n) { + crc = (crc >> 1n) ^ 0x9a6c9329ac4bc9b5n; + } + else { + crc = crc >> 1n; + } + } + table[i * 2] = Number((crc >> 32n) & 0xffffffffn); + table[i * 2 + 1] = Number(crc & 0xffffffffn); + } + tables[slice] = new Uint32Array(table); + } + return tables; +}; +let CRC64_NVME_REVERSED_TABLE; +let t0, t1, t2, t3; +let t4, t5, t6, t7; +const ensureTablesInitialized = () => { + if (!CRC64_NVME_REVERSED_TABLE) { + CRC64_NVME_REVERSED_TABLE = generateCRC64NVMETable(); + [t0, t1, t2, t3, t4, t5, t6, t7] = CRC64_NVME_REVERSED_TABLE; + } +}; +class Crc64Nvme { + c1 = 0; + c2 = 0; + constructor() { + ensureTablesInitialized(); + this.reset(); + } + update(data) { + const len = data.length; + let i = 0; + let crc1 = this.c1; + let crc2 = this.c2; + while (i + 8 <= len) { + const idx0 = ((crc2 ^ data[i++]) & 255) << 1; + const idx1 = (((crc2 >>> 8) ^ data[i++]) & 255) << 1; + const idx2 = (((crc2 >>> 16) ^ data[i++]) & 255) << 1; + const idx3 = (((crc2 >>> 24) ^ data[i++]) & 255) << 1; + const idx4 = ((crc1 ^ data[i++]) & 255) << 1; + const idx5 = (((crc1 >>> 8) ^ data[i++]) & 255) << 1; + const idx6 = (((crc1 >>> 16) ^ data[i++]) & 255) << 1; + const idx7 = (((crc1 >>> 24) ^ data[i++]) & 255) << 1; + crc1 = t7[idx0] ^ t6[idx1] ^ t5[idx2] ^ t4[idx3] ^ t3[idx4] ^ t2[idx5] ^ t1[idx6] ^ t0[idx7]; + crc2 = + t7[idx0 + 1] ^ + t6[idx1 + 1] ^ + t5[idx2 + 1] ^ + t4[idx3 + 1] ^ + t3[idx4 + 1] ^ + t2[idx5 + 1] ^ + t1[idx6 + 1] ^ + t0[idx7 + 1]; + } + while (i < len) { + const idx = ((crc2 ^ data[i]) & 255) << 1; + crc2 = ((crc2 >>> 8) | ((crc1 & 255) << 24)) >>> 0; + crc1 = (crc1 >>> 8) ^ t0[idx]; + crc2 ^= t0[idx + 1]; + i++; + } + this.c1 = crc1; + this.c2 = crc2; + } + async digest() { + const c1 = this.c1 ^ 4294967295; + const c2 = this.c2 ^ 4294967295; + return new Uint8Array([ + c1 >>> 24, + (c1 >>> 16) & 255, + (c1 >>> 8) & 255, + c1 & 255, + c2 >>> 24, + (c2 >>> 16) & 255, + (c2 >>> 8) & 255, + c2 & 255, + ]); + } + reset() { + this.c1 = 4294967295; + this.c2 = 4294967295; + } +} + +const crc64NvmeCrtContainer = { + CrtCrc64Nvme: null, +}; + +exports.Crc64Nvme = Crc64Nvme; +exports.crc64NvmeCrtContainer = crc64NvmeCrtContainer; diff --git a/node_modules/@aws-sdk/crc64-nvme/dist-es/Crc64Nvme.js b/node_modules/@aws-sdk/crc64-nvme/dist-es/Crc64Nvme.js new file mode 100644 index 0000000..86d8275 --- /dev/null +++ b/node_modules/@aws-sdk/crc64-nvme/dist-es/Crc64Nvme.js @@ -0,0 +1,92 @@ +const generateCRC64NVMETable = () => { + const sliceLength = 8; + const tables = new Array(sliceLength); + for (let slice = 0; slice < sliceLength; slice++) { + const table = new Array(512); + for (let i = 0; i < 256; i++) { + let crc = BigInt(i); + for (let j = 0; j < 8 * (slice + 1); j++) { + if (crc & 1n) { + crc = (crc >> 1n) ^ 0x9a6c9329ac4bc9b5n; + } + else { + crc = crc >> 1n; + } + } + table[i * 2] = Number((crc >> 32n) & 0xffffffffn); + table[i * 2 + 1] = Number(crc & 0xffffffffn); + } + tables[slice] = new Uint32Array(table); + } + return tables; +}; +let CRC64_NVME_REVERSED_TABLE; +let t0, t1, t2, t3; +let t4, t5, t6, t7; +const ensureTablesInitialized = () => { + if (!CRC64_NVME_REVERSED_TABLE) { + CRC64_NVME_REVERSED_TABLE = generateCRC64NVMETable(); + [t0, t1, t2, t3, t4, t5, t6, t7] = CRC64_NVME_REVERSED_TABLE; + } +}; +export class Crc64Nvme { + c1 = 0; + c2 = 0; + constructor() { + ensureTablesInitialized(); + this.reset(); + } + update(data) { + const len = data.length; + let i = 0; + let crc1 = this.c1; + let crc2 = this.c2; + while (i + 8 <= len) { + const idx0 = ((crc2 ^ data[i++]) & 255) << 1; + const idx1 = (((crc2 >>> 8) ^ data[i++]) & 255) << 1; + const idx2 = (((crc2 >>> 16) ^ data[i++]) & 255) << 1; + const idx3 = (((crc2 >>> 24) ^ data[i++]) & 255) << 1; + const idx4 = ((crc1 ^ data[i++]) & 255) << 1; + const idx5 = (((crc1 >>> 8) ^ data[i++]) & 255) << 1; + const idx6 = (((crc1 >>> 16) ^ data[i++]) & 255) << 1; + const idx7 = (((crc1 >>> 24) ^ data[i++]) & 255) << 1; + crc1 = t7[idx0] ^ t6[idx1] ^ t5[idx2] ^ t4[idx3] ^ t3[idx4] ^ t2[idx5] ^ t1[idx6] ^ t0[idx7]; + crc2 = + t7[idx0 + 1] ^ + t6[idx1 + 1] ^ + t5[idx2 + 1] ^ + t4[idx3 + 1] ^ + t3[idx4 + 1] ^ + t2[idx5 + 1] ^ + t1[idx6 + 1] ^ + t0[idx7 + 1]; + } + while (i < len) { + const idx = ((crc2 ^ data[i]) & 255) << 1; + crc2 = ((crc2 >>> 8) | ((crc1 & 255) << 24)) >>> 0; + crc1 = (crc1 >>> 8) ^ t0[idx]; + crc2 ^= t0[idx + 1]; + i++; + } + this.c1 = crc1; + this.c2 = crc2; + } + async digest() { + const c1 = this.c1 ^ 4294967295; + const c2 = this.c2 ^ 4294967295; + return new Uint8Array([ + c1 >>> 24, + (c1 >>> 16) & 255, + (c1 >>> 8) & 255, + c1 & 255, + c2 >>> 24, + (c2 >>> 16) & 255, + (c2 >>> 8) & 255, + c2 & 255, + ]); + } + reset() { + this.c1 = 4294967295; + this.c2 = 4294967295; + } +} diff --git a/node_modules/@aws-sdk/crc64-nvme/dist-es/crc64-nvme-crt-container.js b/node_modules/@aws-sdk/crc64-nvme/dist-es/crc64-nvme-crt-container.js new file mode 100644 index 0000000..6cc799b --- /dev/null +++ b/node_modules/@aws-sdk/crc64-nvme/dist-es/crc64-nvme-crt-container.js @@ -0,0 +1,3 @@ +export const crc64NvmeCrtContainer = { + CrtCrc64Nvme: null, +}; diff --git a/node_modules/@aws-sdk/crc64-nvme/dist-es/index.js b/node_modules/@aws-sdk/crc64-nvme/dist-es/index.js new file mode 100644 index 0000000..b79240f --- /dev/null +++ b/node_modules/@aws-sdk/crc64-nvme/dist-es/index.js @@ -0,0 +1,2 @@ +export * from "./Crc64Nvme"; +export * from "./crc64-nvme-crt-container"; diff --git a/node_modules/@aws-sdk/crc64-nvme/dist-types/Crc64Nvme.d.ts b/node_modules/@aws-sdk/crc64-nvme/dist-types/Crc64Nvme.d.ts new file mode 100644 index 0000000..008bc50 --- /dev/null +++ b/node_modules/@aws-sdk/crc64-nvme/dist-types/Crc64Nvme.d.ts @@ -0,0 +1,24 @@ +import type { Checksum } from "@smithy/types"; +/** + * Implements CRC-64/NVME checksum algorithm. + * + * This class provides CRC-64 checksum calculation using the NVMe polynomial (0x9a6c9329ac4bc9b5). + * It uses an 8-slice lookup table for efficient computation. + * + * @example + * ```typescript + * const checksum = new Crc64Nvme(); + * checksum.update(new Uint8Array([1, 2, 3])); + * const result = await checksum.digest(); + * ``` + * + * @public + */ +export declare class Crc64Nvme implements Checksum { + private c1; + private c2; + constructor(); + update(data: Uint8Array): void; + digest(): Promise; + reset(): void; +} diff --git a/node_modules/@aws-sdk/crc64-nvme/dist-types/crc64-nvme-crt-container.d.ts b/node_modules/@aws-sdk/crc64-nvme/dist-types/crc64-nvme-crt-container.d.ts new file mode 100644 index 0000000..f2459c1 --- /dev/null +++ b/node_modules/@aws-sdk/crc64-nvme/dist-types/crc64-nvme-crt-container.d.ts @@ -0,0 +1,13 @@ +import type { ChecksumConstructor } from "@smithy/types"; +/** + * @internal + * + * \@aws-sdk/crc64-nvme-crt will install the constructor in this + * container if it is installed. + * + * This avoids a runtime-require being interpreted statically by bundlers. + * + */ +export declare const crc64NvmeCrtContainer: { + CrtCrc64Nvme: null | ChecksumConstructor; +}; diff --git a/node_modules/@aws-sdk/crc64-nvme/dist-types/index.d.ts b/node_modules/@aws-sdk/crc64-nvme/dist-types/index.d.ts new file mode 100644 index 0000000..b79240f --- /dev/null +++ b/node_modules/@aws-sdk/crc64-nvme/dist-types/index.d.ts @@ -0,0 +1,2 @@ +export * from "./Crc64Nvme"; +export * from "./crc64-nvme-crt-container"; diff --git a/node_modules/@aws-sdk/crc64-nvme/dist-types/ts3.4/Crc64Nvme.d.ts b/node_modules/@aws-sdk/crc64-nvme/dist-types/ts3.4/Crc64Nvme.d.ts new file mode 100644 index 0000000..4975dbe --- /dev/null +++ b/node_modules/@aws-sdk/crc64-nvme/dist-types/ts3.4/Crc64Nvme.d.ts @@ -0,0 +1,9 @@ +import { Checksum } from "@smithy/types"; +export declare class Crc64Nvme implements Checksum { + private c1; + private c2; + constructor(); + update(data: Uint8Array): void; + digest(): Promise; + reset(): void; +} diff --git a/node_modules/@aws-sdk/crc64-nvme/dist-types/ts3.4/crc64-nvme-crt-container.d.ts b/node_modules/@aws-sdk/crc64-nvme/dist-types/ts3.4/crc64-nvme-crt-container.d.ts new file mode 100644 index 0000000..4277ae5 --- /dev/null +++ b/node_modules/@aws-sdk/crc64-nvme/dist-types/ts3.4/crc64-nvme-crt-container.d.ts @@ -0,0 +1,4 @@ +import { ChecksumConstructor } from "@smithy/types"; +export declare const crc64NvmeCrtContainer: { + CrtCrc64Nvme: null | ChecksumConstructor; +}; diff --git a/node_modules/@aws-sdk/crc64-nvme/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/crc64-nvme/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..b79240f --- /dev/null +++ b/node_modules/@aws-sdk/crc64-nvme/dist-types/ts3.4/index.d.ts @@ -0,0 +1,2 @@ +export * from "./Crc64Nvme"; +export * from "./crc64-nvme-crt-container"; diff --git a/node_modules/@aws-sdk/crc64-nvme/package.json b/node_modules/@aws-sdk/crc64-nvme/package.json new file mode 100644 index 0000000..3927c4a --- /dev/null +++ b/node_modules/@aws-sdk/crc64-nvme/package.json @@ -0,0 +1,50 @@ +{ + "name": "@aws-sdk/crc64-nvme", + "version": "3.972.5", + "description": "A pure JS implementation of CRC64-NVME checksum", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline crc64-nvme", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "extract:docs": "api-extractor run --local", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "sideEffects": true, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@smithy/util-base64": "^4.3.2", + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "engines": { + "node": ">=20.0.0" + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/crc64-nvme", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages/crc64-nvme" + } +} diff --git a/node_modules/@aws-sdk/credential-provider-env/LICENSE b/node_modules/@aws-sdk/credential-provider-env/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-env/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-sdk/credential-provider-env/README.md b/node_modules/@aws-sdk/credential-provider-env/README.md new file mode 100644 index 0000000..ac40adc --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-env/README.md @@ -0,0 +1,20 @@ +# @aws-sdk/credential-provider-env + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/credential-provider-env/latest.svg)](https://www.npmjs.com/package/@aws-sdk/credential-provider-env) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/credential-provider-env.svg)](https://www.npmjs.com/package/@aws-sdk/credential-provider-env) + +### :warning: Internal API :warning: + +> This is an internal package. +> That means this is used as a dependency for other, public packages, but +> should not be taken directly as a dependency in your application's `package.json`. + +> If you are updating the version of this package, for example to bring in a +> bug-fix, you should do so by updating your application lockfile with +> e.g. `npm up @scope/package` or equivalent command in another +> package manager, rather than taking a direct dependency. + +--- + +Please use [@aws-sdk/credential-providers](https://www.npmjs.com/package/@aws-sdk/credential-providers) +instead. diff --git a/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js b/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js new file mode 100644 index 0000000..74d76aa --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js @@ -0,0 +1,41 @@ +'use strict'; + +var client = require('@aws-sdk/core/client'); +var propertyProvider = require('@smithy/property-provider'); + +const ENV_KEY = "AWS_ACCESS_KEY_ID"; +const ENV_SECRET = "AWS_SECRET_ACCESS_KEY"; +const ENV_SESSION = "AWS_SESSION_TOKEN"; +const ENV_EXPIRATION = "AWS_CREDENTIAL_EXPIRATION"; +const ENV_CREDENTIAL_SCOPE = "AWS_CREDENTIAL_SCOPE"; +const ENV_ACCOUNT_ID = "AWS_ACCOUNT_ID"; +const fromEnv = (init) => async () => { + init?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv"); + const accessKeyId = process.env[ENV_KEY]; + const secretAccessKey = process.env[ENV_SECRET]; + const sessionToken = process.env[ENV_SESSION]; + const expiry = process.env[ENV_EXPIRATION]; + const credentialScope = process.env[ENV_CREDENTIAL_SCOPE]; + const accountId = process.env[ENV_ACCOUNT_ID]; + if (accessKeyId && secretAccessKey) { + const credentials = { + accessKeyId, + secretAccessKey, + ...(sessionToken && { sessionToken }), + ...(expiry && { expiration: new Date(expiry) }), + ...(credentialScope && { credentialScope }), + ...(accountId && { accountId }), + }; + client.setCredentialFeature(credentials, "CREDENTIALS_ENV_VARS", "g"); + return credentials; + } + throw new propertyProvider.CredentialsProviderError("Unable to find environment variable credentials.", { logger: init?.logger }); +}; + +exports.ENV_ACCOUNT_ID = ENV_ACCOUNT_ID; +exports.ENV_CREDENTIAL_SCOPE = ENV_CREDENTIAL_SCOPE; +exports.ENV_EXPIRATION = ENV_EXPIRATION; +exports.ENV_KEY = ENV_KEY; +exports.ENV_SECRET = ENV_SECRET; +exports.ENV_SESSION = ENV_SESSION; +exports.fromEnv = fromEnv; diff --git a/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js b/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js new file mode 100644 index 0000000..a6a2928 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js @@ -0,0 +1,30 @@ +import { setCredentialFeature } from "@aws-sdk/core/client"; +import { CredentialsProviderError } from "@smithy/property-provider"; +export const ENV_KEY = "AWS_ACCESS_KEY_ID"; +export const ENV_SECRET = "AWS_SECRET_ACCESS_KEY"; +export const ENV_SESSION = "AWS_SESSION_TOKEN"; +export const ENV_EXPIRATION = "AWS_CREDENTIAL_EXPIRATION"; +export const ENV_CREDENTIAL_SCOPE = "AWS_CREDENTIAL_SCOPE"; +export const ENV_ACCOUNT_ID = "AWS_ACCOUNT_ID"; +export const fromEnv = (init) => async () => { + init?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv"); + const accessKeyId = process.env[ENV_KEY]; + const secretAccessKey = process.env[ENV_SECRET]; + const sessionToken = process.env[ENV_SESSION]; + const expiry = process.env[ENV_EXPIRATION]; + const credentialScope = process.env[ENV_CREDENTIAL_SCOPE]; + const accountId = process.env[ENV_ACCOUNT_ID]; + if (accessKeyId && secretAccessKey) { + const credentials = { + accessKeyId, + secretAccessKey, + ...(sessionToken && { sessionToken }), + ...(expiry && { expiration: new Date(expiry) }), + ...(credentialScope && { credentialScope }), + ...(accountId && { accountId }), + }; + setCredentialFeature(credentials, "CREDENTIALS_ENV_VARS", "g"); + return credentials; + } + throw new CredentialsProviderError("Unable to find environment variable credentials.", { logger: init?.logger }); +}; diff --git a/node_modules/@aws-sdk/credential-provider-env/dist-es/index.js b/node_modules/@aws-sdk/credential-provider-env/dist-es/index.js new file mode 100644 index 0000000..17bf6da --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-env/dist-es/index.js @@ -0,0 +1 @@ +export * from "./fromEnv"; diff --git a/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts b/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts new file mode 100644 index 0000000..dbf5ba6 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts @@ -0,0 +1,36 @@ +import type { CredentialProviderOptions } from "@aws-sdk/types"; +import type { AwsCredentialIdentityProvider } from "@smithy/types"; +export interface FromEnvInit extends CredentialProviderOptions { +} +/** + * @internal + */ +export declare const ENV_KEY = "AWS_ACCESS_KEY_ID"; +/** + * @internal + */ +export declare const ENV_SECRET = "AWS_SECRET_ACCESS_KEY"; +/** + * @internal + */ +export declare const ENV_SESSION = "AWS_SESSION_TOKEN"; +/** + * @internal + */ +export declare const ENV_EXPIRATION = "AWS_CREDENTIAL_EXPIRATION"; +/** + * @internal + */ +export declare const ENV_CREDENTIAL_SCOPE = "AWS_CREDENTIAL_SCOPE"; +/** + * @internal + */ +export declare const ENV_ACCOUNT_ID = "AWS_ACCOUNT_ID"; +/** + * @internal + * + * Source AWS credentials from known environment variables. If either the + * `AWS_ACCESS_KEY_ID` or `AWS_SECRET_ACCESS_KEY` environment variable is not + * set in this process, the provider will return a rejected promise. + */ +export declare const fromEnv: (init?: FromEnvInit) => AwsCredentialIdentityProvider; diff --git a/node_modules/@aws-sdk/credential-provider-env/dist-types/index.d.ts b/node_modules/@aws-sdk/credential-provider-env/dist-types/index.d.ts new file mode 100644 index 0000000..fe76e31 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-env/dist-types/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export * from "./fromEnv"; diff --git a/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts b/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts new file mode 100644 index 0000000..55c454e --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts @@ -0,0 +1,12 @@ +import { CredentialProviderOptions } from "@aws-sdk/types"; +import { AwsCredentialIdentityProvider } from "@smithy/types"; +export interface FromEnvInit extends CredentialProviderOptions {} +export declare const ENV_KEY = "AWS_ACCESS_KEY_ID"; +export declare const ENV_SECRET = "AWS_SECRET_ACCESS_KEY"; +export declare const ENV_SESSION = "AWS_SESSION_TOKEN"; +export declare const ENV_EXPIRATION = "AWS_CREDENTIAL_EXPIRATION"; +export declare const ENV_CREDENTIAL_SCOPE = "AWS_CREDENTIAL_SCOPE"; +export declare const ENV_ACCOUNT_ID = "AWS_ACCOUNT_ID"; +export declare const fromEnv: ( + init?: FromEnvInit +) => AwsCredentialIdentityProvider; diff --git a/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..17bf6da --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/index.d.ts @@ -0,0 +1 @@ +export * from "./fromEnv"; diff --git a/node_modules/@aws-sdk/credential-provider-env/package.json b/node_modules/@aws-sdk/credential-provider-env/package.json new file mode 100644 index 0000000..b018831 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-env/package.json @@ -0,0 +1,63 @@ +{ + "name": "@aws-sdk/credential-provider-env", + "version": "3.972.24", + "description": "AWS credential provider that sources credentials from known environment variables", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline credential-provider-env", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "keywords": [ + "aws", + "credentials" + ], + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/types": "^3.973.6", + "@smithy/property-provider": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "@types/node": "^20.14.8", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/credential-provider-env", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/credential-provider-env" + } +} diff --git a/node_modules/@aws-sdk/credential-provider-http/README.md b/node_modules/@aws-sdk/credential-provider-http/README.md new file mode 100644 index 0000000..e8f19f8 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/README.md @@ -0,0 +1,10 @@ +# @aws-sdk/credential-provider-http + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/credential-provider-http/latest.svg)](https://www.npmjs.com/package/@aws-sdk/credential-provider-http) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/credential-provider-http.svg)](https://www.npmjs.com/package/@aws-sdk/credential-provider-http) + +> An internal transitively required package. + +## Usage + +See https://www.npmjs.com/package/@aws-sdk/credential-providers diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js b/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js new file mode 100644 index 0000000..c4adb5f --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js @@ -0,0 +1,46 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.checkUrl = void 0; +const property_provider_1 = require("@smithy/property-provider"); +const LOOPBACK_CIDR_IPv4 = "127.0.0.0/8"; +const LOOPBACK_CIDR_IPv6 = "::1/128"; +const ECS_CONTAINER_HOST = "169.254.170.2"; +const EKS_CONTAINER_HOST_IPv4 = "169.254.170.23"; +const EKS_CONTAINER_HOST_IPv6 = "[fd00:ec2::23]"; +const checkUrl = (url, logger) => { + if (url.protocol === "https:") { + return; + } + if (url.hostname === ECS_CONTAINER_HOST || + url.hostname === EKS_CONTAINER_HOST_IPv4 || + url.hostname === EKS_CONTAINER_HOST_IPv6) { + return; + } + if (url.hostname.includes("[")) { + if (url.hostname === "[::1]" || url.hostname === "[0000:0000:0000:0000:0000:0000:0000:0001]") { + return; + } + } + else { + if (url.hostname === "localhost") { + return; + } + const ipComponents = url.hostname.split("."); + const inRange = (component) => { + const num = parseInt(component, 10); + return 0 <= num && num <= 255; + }; + if (ipComponents[0] === "127" && + inRange(ipComponents[1]) && + inRange(ipComponents[2]) && + inRange(ipComponents[3]) && + ipComponents.length === 4) { + return; + } + } + throw new property_provider_1.CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following: + - loopback CIDR 127.0.0.0/8 or [::1/128] + - ECS container host 169.254.170.2 + - EKS container host 169.254.170.23 or [fd00:ec2::23]`, { logger }); +}; +exports.checkUrl = checkUrl; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js b/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js new file mode 100644 index 0000000..d7c0efa --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js @@ -0,0 +1,31 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.fromHttp = void 0; +const fetch_http_handler_1 = require("@smithy/fetch-http-handler"); +const property_provider_1 = require("@smithy/property-provider"); +const checkUrl_1 = require("./checkUrl"); +const requestHelpers_1 = require("./requestHelpers"); +const retry_wrapper_1 = require("./retry-wrapper"); +const fromHttp = (options = {}) => { + options.logger?.debug("@aws-sdk/credential-provider-http - fromHttp"); + let host; + const full = options.credentialsFullUri; + if (full) { + host = full; + } + else { + throw new property_provider_1.CredentialsProviderError("No HTTP credential provider host provided.", { logger: options.logger }); + } + const url = new URL(host); + (0, checkUrl_1.checkUrl)(url, options.logger); + const requestHandler = new fetch_http_handler_1.FetchHttpHandler(); + return (0, retry_wrapper_1.retryWrapper)(async () => { + const request = (0, requestHelpers_1.createGetRequest)(url); + if (options.authorizationToken) { + request.headers.Authorization = options.authorizationToken; + } + const result = await requestHandler.handle(request); + return (0, requestHelpers_1.getCredentials)(result.response); + }, options.maxRetries ?? 3, options.timeout ?? 1000); +}; +exports.fromHttp = fromHttp; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js b/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js new file mode 100644 index 0000000..2950193 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js @@ -0,0 +1,70 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.fromHttp = void 0; +const tslib_1 = require("tslib"); +const client_1 = require("@aws-sdk/core/client"); +const node_http_handler_1 = require("@smithy/node-http-handler"); +const property_provider_1 = require("@smithy/property-provider"); +const promises_1 = tslib_1.__importDefault(require("node:fs/promises")); +const checkUrl_1 = require("./checkUrl"); +const requestHelpers_1 = require("./requestHelpers"); +const retry_wrapper_1 = require("./retry-wrapper"); +const AWS_CONTAINER_CREDENTIALS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"; +const DEFAULT_LINK_LOCAL_HOST = "http://169.254.170.2"; +const AWS_CONTAINER_CREDENTIALS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI"; +const AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE = "AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE"; +const AWS_CONTAINER_AUTHORIZATION_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN"; +const fromHttp = (options = {}) => { + options.logger?.debug("@aws-sdk/credential-provider-http - fromHttp"); + let host; + const relative = options.awsContainerCredentialsRelativeUri ?? process.env[AWS_CONTAINER_CREDENTIALS_RELATIVE_URI]; + const full = options.awsContainerCredentialsFullUri ?? process.env[AWS_CONTAINER_CREDENTIALS_FULL_URI]; + const token = options.awsContainerAuthorizationToken ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN]; + const tokenFile = options.awsContainerAuthorizationTokenFile ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE]; + const warn = options.logger?.constructor?.name === "NoOpLogger" || !options.logger?.warn + ? console.warn + : options.logger.warn.bind(options.logger); + if (relative && full) { + warn("@aws-sdk/credential-provider-http: " + + "you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri."); + warn("awsContainerCredentialsFullUri will take precedence."); + } + if (token && tokenFile) { + warn("@aws-sdk/credential-provider-http: " + + "you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile."); + warn("awsContainerAuthorizationToken will take precedence."); + } + if (full) { + host = full; + } + else if (relative) { + host = `${DEFAULT_LINK_LOCAL_HOST}${relative}`; + } + else { + throw new property_provider_1.CredentialsProviderError(`No HTTP credential provider host provided. +Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`, { logger: options.logger }); + } + const url = new URL(host); + (0, checkUrl_1.checkUrl)(url, options.logger); + const requestHandler = node_http_handler_1.NodeHttpHandler.create({ + requestTimeout: options.timeout ?? 1000, + connectionTimeout: options.timeout ?? 1000, + }); + return (0, retry_wrapper_1.retryWrapper)(async () => { + const request = (0, requestHelpers_1.createGetRequest)(url); + if (token) { + request.headers.Authorization = token; + } + else if (tokenFile) { + request.headers.Authorization = (await promises_1.default.readFile(tokenFile)).toString(); + } + try { + const result = await requestHandler.handle(request); + return (0, requestHelpers_1.getCredentials)(result.response).then((creds) => (0, client_1.setCredentialFeature)(creds, "CREDENTIALS_HTTP", "z")); + } + catch (e) { + throw new property_provider_1.CredentialsProviderError(String(e), { logger: options.logger }); + } + }, options.maxRetries ?? 3, options.timeout ?? 1000); +}; +exports.fromHttp = fromHttp; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttpTypes.js b/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttpTypes.js new file mode 100644 index 0000000..c8ad2e5 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttpTypes.js @@ -0,0 +1,2 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js b/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js new file mode 100644 index 0000000..48159a3 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js @@ -0,0 +1,53 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.createGetRequest = createGetRequest; +exports.getCredentials = getCredentials; +const property_provider_1 = require("@smithy/property-provider"); +const protocol_http_1 = require("@smithy/protocol-http"); +const smithy_client_1 = require("@smithy/smithy-client"); +const util_stream_1 = require("@smithy/util-stream"); +function createGetRequest(url) { + return new protocol_http_1.HttpRequest({ + protocol: url.protocol, + hostname: url.hostname, + port: Number(url.port), + path: url.pathname, + query: Array.from(url.searchParams.entries()).reduce((acc, [k, v]) => { + acc[k] = v; + return acc; + }, {}), + fragment: url.hash, + }); +} +async function getCredentials(response, logger) { + const stream = (0, util_stream_1.sdkStreamMixin)(response.body); + const str = await stream.transformToString(); + if (response.statusCode === 200) { + const parsed = JSON.parse(str); + if (typeof parsed.AccessKeyId !== "string" || + typeof parsed.SecretAccessKey !== "string" || + typeof parsed.Token !== "string" || + typeof parsed.Expiration !== "string") { + throw new property_provider_1.CredentialsProviderError("HTTP credential provider response not of the required format, an object matching: " + + "{ AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }", { logger }); + } + return { + accessKeyId: parsed.AccessKeyId, + secretAccessKey: parsed.SecretAccessKey, + sessionToken: parsed.Token, + expiration: (0, smithy_client_1.parseRfc3339DateTime)(parsed.Expiration), + }; + } + if (response.statusCode >= 400 && response.statusCode < 500) { + let parsedBody = {}; + try { + parsedBody = JSON.parse(str); + } + catch (e) { } + throw Object.assign(new property_provider_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger }), { + Code: parsedBody.Code, + Message: parsedBody.Message, + }); + } + throw new property_provider_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger }); +} diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js b/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js new file mode 100644 index 0000000..b99b2ef --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js @@ -0,0 +1,17 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.retryWrapper = void 0; +const retryWrapper = (toRetry, maxRetries, delayMs) => { + return async () => { + for (let i = 0; i < maxRetries; ++i) { + try { + return await toRetry(); + } + catch (e) { + await new Promise((resolve) => setTimeout(resolve, delayMs)); + } + } + return await toRetry(); + }; +}; +exports.retryWrapper = retryWrapper; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js b/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js new file mode 100644 index 0000000..9300747 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js @@ -0,0 +1,5 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.fromHttp = void 0; +var fromHttp_browser_1 = require("./fromHttp/fromHttp.browser"); +Object.defineProperty(exports, "fromHttp", { enumerable: true, get: function () { return fromHttp_browser_1.fromHttp; } }); diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js b/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js new file mode 100644 index 0000000..0286ea0 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js @@ -0,0 +1,5 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.fromHttp = void 0; +var fromHttp_1 = require("./fromHttp/fromHttp"); +Object.defineProperty(exports, "fromHttp", { enumerable: true, get: function () { return fromHttp_1.fromHttp; } }); diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js b/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js new file mode 100644 index 0000000..2a42ed7 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js @@ -0,0 +1,42 @@ +import { CredentialsProviderError } from "@smithy/property-provider"; +const LOOPBACK_CIDR_IPv4 = "127.0.0.0/8"; +const LOOPBACK_CIDR_IPv6 = "::1/128"; +const ECS_CONTAINER_HOST = "169.254.170.2"; +const EKS_CONTAINER_HOST_IPv4 = "169.254.170.23"; +const EKS_CONTAINER_HOST_IPv6 = "[fd00:ec2::23]"; +export const checkUrl = (url, logger) => { + if (url.protocol === "https:") { + return; + } + if (url.hostname === ECS_CONTAINER_HOST || + url.hostname === EKS_CONTAINER_HOST_IPv4 || + url.hostname === EKS_CONTAINER_HOST_IPv6) { + return; + } + if (url.hostname.includes("[")) { + if (url.hostname === "[::1]" || url.hostname === "[0000:0000:0000:0000:0000:0000:0000:0001]") { + return; + } + } + else { + if (url.hostname === "localhost") { + return; + } + const ipComponents = url.hostname.split("."); + const inRange = (component) => { + const num = parseInt(component, 10); + return 0 <= num && num <= 255; + }; + if (ipComponents[0] === "127" && + inRange(ipComponents[1]) && + inRange(ipComponents[2]) && + inRange(ipComponents[3]) && + ipComponents.length === 4) { + return; + } + } + throw new CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following: + - loopback CIDR 127.0.0.0/8 or [::1/128] + - ECS container host 169.254.170.2 + - EKS container host 169.254.170.23 or [fd00:ec2::23]`, { logger }); +}; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.browser.js b/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.browser.js new file mode 100644 index 0000000..7189b92 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.browser.js @@ -0,0 +1,27 @@ +import { FetchHttpHandler } from "@smithy/fetch-http-handler"; +import { CredentialsProviderError } from "@smithy/property-provider"; +import { checkUrl } from "./checkUrl"; +import { createGetRequest, getCredentials } from "./requestHelpers"; +import { retryWrapper } from "./retry-wrapper"; +export const fromHttp = (options = {}) => { + options.logger?.debug("@aws-sdk/credential-provider-http - fromHttp"); + let host; + const full = options.credentialsFullUri; + if (full) { + host = full; + } + else { + throw new CredentialsProviderError("No HTTP credential provider host provided.", { logger: options.logger }); + } + const url = new URL(host); + checkUrl(url, options.logger); + const requestHandler = new FetchHttpHandler(); + return retryWrapper(async () => { + const request = createGetRequest(url); + if (options.authorizationToken) { + request.headers.Authorization = options.authorizationToken; + } + const result = await requestHandler.handle(request); + return getCredentials(result.response); + }, options.maxRetries ?? 3, options.timeout ?? 1000); +}; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js b/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js new file mode 100644 index 0000000..40b6a76 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js @@ -0,0 +1,65 @@ +import { setCredentialFeature } from "@aws-sdk/core/client"; +import { NodeHttpHandler } from "@smithy/node-http-handler"; +import { CredentialsProviderError } from "@smithy/property-provider"; +import fs from "node:fs/promises"; +import { checkUrl } from "./checkUrl"; +import { createGetRequest, getCredentials } from "./requestHelpers"; +import { retryWrapper } from "./retry-wrapper"; +const AWS_CONTAINER_CREDENTIALS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"; +const DEFAULT_LINK_LOCAL_HOST = "http://169.254.170.2"; +const AWS_CONTAINER_CREDENTIALS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI"; +const AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE = "AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE"; +const AWS_CONTAINER_AUTHORIZATION_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN"; +export const fromHttp = (options = {}) => { + options.logger?.debug("@aws-sdk/credential-provider-http - fromHttp"); + let host; + const relative = options.awsContainerCredentialsRelativeUri ?? process.env[AWS_CONTAINER_CREDENTIALS_RELATIVE_URI]; + const full = options.awsContainerCredentialsFullUri ?? process.env[AWS_CONTAINER_CREDENTIALS_FULL_URI]; + const token = options.awsContainerAuthorizationToken ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN]; + const tokenFile = options.awsContainerAuthorizationTokenFile ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE]; + const warn = options.logger?.constructor?.name === "NoOpLogger" || !options.logger?.warn + ? console.warn + : options.logger.warn.bind(options.logger); + if (relative && full) { + warn("@aws-sdk/credential-provider-http: " + + "you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri."); + warn("awsContainerCredentialsFullUri will take precedence."); + } + if (token && tokenFile) { + warn("@aws-sdk/credential-provider-http: " + + "you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile."); + warn("awsContainerAuthorizationToken will take precedence."); + } + if (full) { + host = full; + } + else if (relative) { + host = `${DEFAULT_LINK_LOCAL_HOST}${relative}`; + } + else { + throw new CredentialsProviderError(`No HTTP credential provider host provided. +Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`, { logger: options.logger }); + } + const url = new URL(host); + checkUrl(url, options.logger); + const requestHandler = NodeHttpHandler.create({ + requestTimeout: options.timeout ?? 1000, + connectionTimeout: options.timeout ?? 1000, + }); + return retryWrapper(async () => { + const request = createGetRequest(url); + if (token) { + request.headers.Authorization = token; + } + else if (tokenFile) { + request.headers.Authorization = (await fs.readFile(tokenFile)).toString(); + } + try { + const result = await requestHandler.handle(request); + return getCredentials(result.response).then((creds) => setCredentialFeature(creds, "CREDENTIALS_HTTP", "z")); + } + catch (e) { + throw new CredentialsProviderError(String(e), { logger: options.logger }); + } + }, options.maxRetries ?? 3, options.timeout ?? 1000); +}; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttpTypes.js b/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttpTypes.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttpTypes.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js b/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js new file mode 100644 index 0000000..9e271ce --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js @@ -0,0 +1,49 @@ +import { CredentialsProviderError } from "@smithy/property-provider"; +import { HttpRequest } from "@smithy/protocol-http"; +import { parseRfc3339DateTime } from "@smithy/smithy-client"; +import { sdkStreamMixin } from "@smithy/util-stream"; +export function createGetRequest(url) { + return new HttpRequest({ + protocol: url.protocol, + hostname: url.hostname, + port: Number(url.port), + path: url.pathname, + query: Array.from(url.searchParams.entries()).reduce((acc, [k, v]) => { + acc[k] = v; + return acc; + }, {}), + fragment: url.hash, + }); +} +export async function getCredentials(response, logger) { + const stream = sdkStreamMixin(response.body); + const str = await stream.transformToString(); + if (response.statusCode === 200) { + const parsed = JSON.parse(str); + if (typeof parsed.AccessKeyId !== "string" || + typeof parsed.SecretAccessKey !== "string" || + typeof parsed.Token !== "string" || + typeof parsed.Expiration !== "string") { + throw new CredentialsProviderError("HTTP credential provider response not of the required format, an object matching: " + + "{ AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }", { logger }); + } + return { + accessKeyId: parsed.AccessKeyId, + secretAccessKey: parsed.SecretAccessKey, + sessionToken: parsed.Token, + expiration: parseRfc3339DateTime(parsed.Expiration), + }; + } + if (response.statusCode >= 400 && response.statusCode < 500) { + let parsedBody = {}; + try { + parsedBody = JSON.parse(str); + } + catch (e) { } + throw Object.assign(new CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger }), { + Code: parsedBody.Code, + Message: parsedBody.Message, + }); + } + throw new CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger }); +} diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/retry-wrapper.js b/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/retry-wrapper.js new file mode 100644 index 0000000..7006f3c --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/retry-wrapper.js @@ -0,0 +1,13 @@ +export const retryWrapper = (toRetry, maxRetries, delayMs) => { + return async () => { + for (let i = 0; i < maxRetries; ++i) { + try { + return await toRetry(); + } + catch (e) { + await new Promise((resolve) => setTimeout(resolve, delayMs)); + } + } + return await toRetry(); + }; +}; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-es/index.browser.js b/node_modules/@aws-sdk/credential-provider-http/dist-es/index.browser.js new file mode 100644 index 0000000..98204c5 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-es/index.browser.js @@ -0,0 +1 @@ +export { fromHttp } from "./fromHttp/fromHttp.browser"; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-es/index.js b/node_modules/@aws-sdk/credential-provider-http/dist-es/index.js new file mode 100644 index 0000000..2911386 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-es/index.js @@ -0,0 +1 @@ +export { fromHttp } from "./fromHttp/fromHttp"; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/checkUrl.d.ts b/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/checkUrl.d.ts new file mode 100644 index 0000000..8451855 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/checkUrl.d.ts @@ -0,0 +1,9 @@ +import type { Logger } from "@smithy/types"; +/** + * @internal + * + * @param url - to be validated. + * @param logger - passed to CredentialsProviderError. + * @throws if not acceptable to this provider. + */ +export declare const checkUrl: (url: URL, logger?: Logger) => void; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.browser.d.ts b/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.browser.d.ts new file mode 100644 index 0000000..a4a9427 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.browser.d.ts @@ -0,0 +1,6 @@ +import type { AwsCredentialIdentityProvider } from "@smithy/types"; +import type { FromHttpOptions } from "./fromHttpTypes"; +/** + * Creates a provider that gets credentials via HTTP request. + */ +export declare const fromHttp: (options?: FromHttpOptions) => AwsCredentialIdentityProvider; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.d.ts b/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.d.ts new file mode 100644 index 0000000..a4a9427 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.d.ts @@ -0,0 +1,6 @@ +import type { AwsCredentialIdentityProvider } from "@smithy/types"; +import type { FromHttpOptions } from "./fromHttpTypes"; +/** + * Creates a provider that gets credentials via HTTP request. + */ +export declare const fromHttp: (options?: FromHttpOptions) => AwsCredentialIdentityProvider; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttpTypes.d.ts b/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttpTypes.d.ts new file mode 100644 index 0000000..b751ded --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttpTypes.d.ts @@ -0,0 +1,69 @@ +import type { CredentialProviderOptions } from "@aws-sdk/types"; +/** + * @public + * + * Input for the fromHttp function in the HTTP Credentials Provider for Node.js. + */ +export interface FromHttpOptions extends CredentialProviderOptions { + /** + * If this value is provided, it will be used as-is. + * + * For browser environments, use instead {@link credentialsFullUri}. + */ + awsContainerCredentialsFullUri?: string; + /** + * If this value is provided instead of the full URI, it + * will be appended to the default link local host of 169.254.170.2. + * + * Not supported in browsers. + */ + awsContainerCredentialsRelativeUri?: string; + /** + * Will be read on each credentials request to + * add an Authorization request header value. + * + * Not supported in browsers. + */ + awsContainerAuthorizationTokenFile?: string; + /** + * An alternative to awsContainerAuthorizationTokenFile, + * this is the token value itself. + * + * For browser environments, use instead {@link authorizationToken}. + */ + awsContainerAuthorizationToken?: string; + /** + * BROWSER ONLY. + * + * In browsers, a relative URI is not allowed, and a full URI must be provided. + * HTTPS is required. + * + * This value is required for the browser environment. + */ + credentialsFullUri?: string; + /** + * BROWSER ONLY. + * + * Providing this value will set an "Authorization" request + * header value on the GET request. + */ + authorizationToken?: string; + /** + * Default is 3 retry attempts or 4 total attempts. + */ + maxRetries?: number; + /** + * Default is 1000ms. Time in milliseconds to spend waiting between retry attempts. + */ + timeout?: number; +} +/** + * @public + */ +export type HttpProviderCredentials = { + AccessKeyId: string; + SecretAccessKey: string; + Token: string; + AccountId?: string; + Expiration: string; +}; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts b/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts new file mode 100644 index 0000000..0ebd8d9 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts @@ -0,0 +1,11 @@ +import type { AwsCredentialIdentity } from "@aws-sdk/types"; +import { HttpRequest } from "@smithy/protocol-http"; +import type { HttpResponse, Logger } from "@smithy/types"; +/** + * @internal + */ +export declare function createGetRequest(url: URL): HttpRequest; +/** + * @internal + */ +export declare function getCredentials(response: HttpResponse, logger?: Logger): Promise; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/retry-wrapper.d.ts b/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/retry-wrapper.d.ts new file mode 100644 index 0000000..bf63add --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/retry-wrapper.d.ts @@ -0,0 +1,10 @@ +/** + * @internal + */ +export interface RetryableProvider { + (): Promise; +} +/** + * @internal + */ +export declare const retryWrapper: (toRetry: RetryableProvider, maxRetries: number, delayMs: number) => RetryableProvider; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-types/index.browser.d.ts b/node_modules/@aws-sdk/credential-provider-http/dist-types/index.browser.d.ts new file mode 100644 index 0000000..2a9e4ec --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-types/index.browser.d.ts @@ -0,0 +1,2 @@ +export { fromHttp } from "./fromHttp/fromHttp.browser"; +export type { FromHttpOptions, HttpProviderCredentials } from "./fromHttp/fromHttpTypes"; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-types/index.d.ts b/node_modules/@aws-sdk/credential-provider-http/dist-types/index.d.ts new file mode 100644 index 0000000..b1e9985 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-types/index.d.ts @@ -0,0 +1,2 @@ +export { fromHttp } from "./fromHttp/fromHttp"; +export type { FromHttpOptions, HttpProviderCredentials } from "./fromHttp/fromHttpTypes"; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/checkUrl.d.ts b/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/checkUrl.d.ts new file mode 100644 index 0000000..9f518b0 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/checkUrl.d.ts @@ -0,0 +1,2 @@ +import { Logger } from "@smithy/types"; +export declare const checkUrl: (url: URL, logger?: Logger) => void; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.browser.d.ts b/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.browser.d.ts new file mode 100644 index 0000000..00f1506 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.browser.d.ts @@ -0,0 +1,5 @@ +import { AwsCredentialIdentityProvider } from "@smithy/types"; +import { FromHttpOptions } from "./fromHttpTypes"; +export declare const fromHttp: ( + options?: FromHttpOptions +) => AwsCredentialIdentityProvider; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.d.ts b/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.d.ts new file mode 100644 index 0000000..00f1506 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.d.ts @@ -0,0 +1,5 @@ +import { AwsCredentialIdentityProvider } from "@smithy/types"; +import { FromHttpOptions } from "./fromHttpTypes"; +export declare const fromHttp: ( + options?: FromHttpOptions +) => AwsCredentialIdentityProvider; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttpTypes.d.ts b/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttpTypes.d.ts new file mode 100644 index 0000000..767b6b0 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttpTypes.d.ts @@ -0,0 +1,18 @@ +import { CredentialProviderOptions } from "@aws-sdk/types"; +export interface FromHttpOptions extends CredentialProviderOptions { + awsContainerCredentialsFullUri?: string; + awsContainerCredentialsRelativeUri?: string; + awsContainerAuthorizationTokenFile?: string; + awsContainerAuthorizationToken?: string; + credentialsFullUri?: string; + authorizationToken?: string; + maxRetries?: number; + timeout?: number; +} +export type HttpProviderCredentials = { + AccessKeyId: string; + SecretAccessKey: string; + Token: string; + AccountId?: string; + Expiration: string; +}; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/requestHelpers.d.ts b/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/requestHelpers.d.ts new file mode 100644 index 0000000..68a3285 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/requestHelpers.d.ts @@ -0,0 +1,8 @@ +import { AwsCredentialIdentity } from "@aws-sdk/types"; +import { HttpRequest } from "@smithy/protocol-http"; +import { HttpResponse, Logger } from "@smithy/types"; +export declare function createGetRequest(url: URL): HttpRequest; +export declare function getCredentials( + response: HttpResponse, + logger?: Logger +): Promise; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/retry-wrapper.d.ts b/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/retry-wrapper.d.ts new file mode 100644 index 0000000..f992038 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/retry-wrapper.d.ts @@ -0,0 +1,8 @@ +export interface RetryableProvider { + (): Promise; +} +export declare const retryWrapper: ( + toRetry: RetryableProvider, + maxRetries: number, + delayMs: number +) => RetryableProvider; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.browser.d.ts b/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.browser.d.ts new file mode 100644 index 0000000..40696b9 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.browser.d.ts @@ -0,0 +1,5 @@ +export { fromHttp } from "./fromHttp/fromHttp.browser"; +export { + FromHttpOptions, + HttpProviderCredentials, +} from "./fromHttp/fromHttpTypes"; diff --git a/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..560256f --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.d.ts @@ -0,0 +1,5 @@ +export { fromHttp } from "./fromHttp/fromHttp"; +export { + FromHttpOptions, + HttpProviderCredentials, +} from "./fromHttp/fromHttpTypes"; diff --git a/node_modules/@aws-sdk/credential-provider-http/package.json b/node_modules/@aws-sdk/credential-provider-http/package.json new file mode 100644 index 0000000..eaa126c --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-http/package.json @@ -0,0 +1,70 @@ +{ + "name": "@aws-sdk/credential-provider-http", + "version": "3.972.26", + "description": "AWS credential provider for containers and HTTP sources", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "browser": "./dist-es/index.browser.js", + "react-native": "./dist-es/index.browser.js", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline credential-provider-http", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "keywords": [ + "aws", + "credentials" + ], + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/types": "^3.973.6", + "@smithy/fetch-http-handler": "^5.3.15", + "@smithy/node-http-handler": "^4.5.1", + "@smithy/property-provider": "^4.2.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "@smithy/util-stream": "^4.5.21", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "@types/node": "^20.14.8", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/credential-provider-http", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/credential-provider-http" + } +} diff --git a/node_modules/@aws-sdk/credential-provider-ini/LICENSE b/node_modules/@aws-sdk/credential-provider-ini/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-sdk/credential-provider-ini/README.md b/node_modules/@aws-sdk/credential-provider-ini/README.md new file mode 100644 index 0000000..fb7bf85 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/README.md @@ -0,0 +1,20 @@ +# @aws-sdk/credential-provider-ini + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/credential-provider-ini/latest.svg)](https://www.npmjs.com/package/@aws-sdk/credential-provider-ini) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/credential-provider-ini.svg)](https://www.npmjs.com/package/@aws-sdk/credential-provider-ini) + +### :warning: Internal API :warning: + +> This is an internal package. +> That means this is used as a dependency for other, public packages, but +> should not be taken directly as a dependency in your application's `package.json`. + +> If you are updating the version of this package, for example to bring in a +> bug-fix, you should do so by updating your application lockfile with +> e.g. `npm up @scope/package` or equivalent command in another +> package manager, rather than taking a direct dependency. + +--- + +Please use [@aws-sdk/credential-providers](https://www.npmjs.com/package/@aws-sdk/credential-providers) +instead. diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js b/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js new file mode 100644 index 0000000..6fe2f31 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js @@ -0,0 +1,224 @@ +'use strict'; + +var sharedIniFileLoader = require('@smithy/shared-ini-file-loader'); +var propertyProvider = require('@smithy/property-provider'); +var client = require('@aws-sdk/core/client'); +var credentialProviderLogin = require('@aws-sdk/credential-provider-login'); + +const resolveCredentialSource = (credentialSource, profileName, logger) => { + const sourceProvidersMap = { + EcsContainer: async (options) => { + const { fromHttp } = await import('@aws-sdk/credential-provider-http'); + const { fromContainerMetadata } = await import('@smithy/credential-provider-imds'); + logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer"); + return async () => propertyProvider.chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider); + }, + Ec2InstanceMetadata: async (options) => { + logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata"); + const { fromInstanceMetadata } = await import('@smithy/credential-provider-imds'); + return async () => fromInstanceMetadata(options)().then(setNamedProvider); + }, + Environment: async (options) => { + logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment"); + const { fromEnv } = await import('@aws-sdk/credential-provider-env'); + return async () => fromEnv(options)().then(setNamedProvider); + }, + }; + if (credentialSource in sourceProvidersMap) { + return sourceProvidersMap[credentialSource]; + } + else { + throw new propertyProvider.CredentialsProviderError(`Unsupported credential source in profile ${profileName}. Got ${credentialSource}, ` + + `expected EcsContainer or Ec2InstanceMetadata or Environment.`, { logger }); + } +}; +const setNamedProvider = (creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_NAMED_PROVIDER", "p"); + +const isAssumeRoleProfile = (arg, { profile = "default", logger } = {}) => { + return (Boolean(arg) && + typeof arg === "object" && + typeof arg.role_arn === "string" && + ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 && + ["undefined", "string"].indexOf(typeof arg.external_id) > -1 && + ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 && + (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger }))); +}; +const isAssumeRoleWithSourceProfile = (arg, { profile, logger }) => { + const withSourceProfile = typeof arg.source_profile === "string" && typeof arg.credential_source === "undefined"; + if (withSourceProfile) { + logger?.debug?.(` ${profile} isAssumeRoleWithSourceProfile source_profile=${arg.source_profile}`); + } + return withSourceProfile; +}; +const isCredentialSourceProfile = (arg, { profile, logger }) => { + const withProviderProfile = typeof arg.credential_source === "string" && typeof arg.source_profile === "undefined"; + if (withProviderProfile) { + logger?.debug?.(` ${profile} isCredentialSourceProfile credential_source=${arg.credential_source}`); + } + return withProviderProfile; +}; +const resolveAssumeRoleCredentials = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, resolveProfileData) => { + options.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)"); + const profileData = profiles[profileName]; + const { source_profile, region } = profileData; + if (!options.roleAssumer) { + const { getDefaultRoleAssumer } = await import('@aws-sdk/nested-clients/sts'); + options.roleAssumer = getDefaultRoleAssumer({ + ...options.clientConfig, + credentialProviderLogger: options.logger, + parentClientConfig: { + ...callerClientConfig, + ...options?.parentClientConfig, + region: region ?? options?.parentClientConfig?.region ?? callerClientConfig?.region, + }, + }, options.clientPlugins); + } + if (source_profile && source_profile in visitedProfiles) { + throw new propertyProvider.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile` + + ` ${sharedIniFileLoader.getProfileName(options)}. Profiles visited: ` + + Object.keys(visitedProfiles).join(", "), { logger: options.logger }); + } + options.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`); + const sourceCredsProvider = source_profile + ? resolveProfileData(source_profile, profiles, options, callerClientConfig, { + ...visitedProfiles, + [source_profile]: true, + }, isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {})) + : (await resolveCredentialSource(profileData.credential_source, profileName, options.logger)(options))(); + if (isCredentialSourceWithoutRoleArn(profileData)) { + return sourceCredsProvider.then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SOURCE_PROFILE", "o")); + } + else { + const params = { + RoleArn: profileData.role_arn, + RoleSessionName: profileData.role_session_name || `aws-sdk-js-${Date.now()}`, + ExternalId: profileData.external_id, + DurationSeconds: parseInt(profileData.duration_seconds || "3600", 10), + }; + const { mfa_serial } = profileData; + if (mfa_serial) { + if (!options.mfaCodeProvider) { + throw new propertyProvider.CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, { logger: options.logger, tryNextLink: false }); + } + params.SerialNumber = mfa_serial; + params.TokenCode = await options.mfaCodeProvider(mfa_serial); + } + const sourceCreds = await sourceCredsProvider; + return options.roleAssumer(sourceCreds, params).then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SOURCE_PROFILE", "o")); + } +}; +const isCredentialSourceWithoutRoleArn = (section) => { + return !section.role_arn && !!section.credential_source; +}; + +const isLoginProfile = (data) => { + return Boolean(data && data.login_session); +}; +const resolveLoginCredentials = async (profileName, options, callerClientConfig) => { + const credentials = await credentialProviderLogin.fromLoginCredentials({ + ...options, + profile: profileName, + })({ callerClientConfig }); + return client.setCredentialFeature(credentials, "CREDENTIALS_PROFILE_LOGIN", "AC"); +}; + +const isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string"; +const resolveProcessCredentials = async (options, profile) => import('@aws-sdk/credential-provider-process').then(({ fromProcess }) => fromProcess({ + ...options, + profile, +})().then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_PROCESS", "v"))); + +const resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => { + const { fromSSO } = await import('@aws-sdk/credential-provider-sso'); + return fromSSO({ + profile, + logger: options.logger, + parentClientConfig: options.parentClientConfig, + clientConfig: options.clientConfig, + })({ + callerClientConfig, + }).then((creds) => { + if (profileData.sso_session) { + return client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SSO", "r"); + } + else { + return client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SSO_LEGACY", "t"); + } + }); +}; +const isSsoProfile = (arg) => arg && + (typeof arg.sso_start_url === "string" || + typeof arg.sso_account_id === "string" || + typeof arg.sso_session === "string" || + typeof arg.sso_region === "string" || + typeof arg.sso_role_name === "string"); + +const isStaticCredsProfile = (arg) => Boolean(arg) && + typeof arg === "object" && + typeof arg.aws_access_key_id === "string" && + typeof arg.aws_secret_access_key === "string" && + ["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1 && + ["undefined", "string"].indexOf(typeof arg.aws_account_id) > -1; +const resolveStaticCredentials = async (profile, options) => { + options?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials"); + const credentials = { + accessKeyId: profile.aws_access_key_id, + secretAccessKey: profile.aws_secret_access_key, + sessionToken: profile.aws_session_token, + ...(profile.aws_credential_scope && { credentialScope: profile.aws_credential_scope }), + ...(profile.aws_account_id && { accountId: profile.aws_account_id }), + }; + return client.setCredentialFeature(credentials, "CREDENTIALS_PROFILE", "n"); +}; + +const isWebIdentityProfile = (arg) => Boolean(arg) && + typeof arg === "object" && + typeof arg.web_identity_token_file === "string" && + typeof arg.role_arn === "string" && + ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1; +const resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import('@aws-sdk/credential-provider-web-identity').then(({ fromTokenFile }) => fromTokenFile({ + webIdentityTokenFile: profile.web_identity_token_file, + roleArn: profile.role_arn, + roleSessionName: profile.role_session_name, + roleAssumerWithWebIdentity: options.roleAssumerWithWebIdentity, + logger: options.logger, + parentClientConfig: options.parentClientConfig, +})({ + callerClientConfig, +}).then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN", "q"))); + +const resolveProfileData = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => { + const data = profiles[profileName]; + if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) { + return resolveStaticCredentials(data, options); + } + if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) { + return resolveAssumeRoleCredentials(profileName, profiles, options, callerClientConfig, visitedProfiles, resolveProfileData); + } + if (isStaticCredsProfile(data)) { + return resolveStaticCredentials(data, options); + } + if (isWebIdentityProfile(data)) { + return resolveWebIdentityCredentials(data, options, callerClientConfig); + } + if (isProcessProfile(data)) { + return resolveProcessCredentials(options, profileName); + } + if (isSsoProfile(data)) { + return await resolveSsoCredentials(profileName, data, options, callerClientConfig); + } + if (isLoginProfile(data)) { + return resolveLoginCredentials(profileName, options, callerClientConfig); + } + throw new propertyProvider.CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger }); +}; + +const fromIni = (init = {}) => async ({ callerClientConfig } = {}) => { + init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni"); + const profiles = await sharedIniFileLoader.parseKnownFiles(init); + return resolveProfileData(sharedIniFileLoader.getProfileName({ + profile: init.profile ?? callerClientConfig?.profile, + }), profiles, init, callerClientConfig); +}; + +exports.fromIni = fromIni; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js b/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js new file mode 100644 index 0000000..b79b4fb --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js @@ -0,0 +1,9 @@ +import { getProfileName, parseKnownFiles } from "@smithy/shared-ini-file-loader"; +import { resolveProfileData } from "./resolveProfileData"; +export const fromIni = (init = {}) => async ({ callerClientConfig } = {}) => { + init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni"); + const profiles = await parseKnownFiles(init); + return resolveProfileData(getProfileName({ + profile: init.profile ?? callerClientConfig?.profile, + }), profiles, init, callerClientConfig); +}; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-es/index.js b/node_modules/@aws-sdk/credential-provider-ini/dist-es/index.js new file mode 100644 index 0000000..b019131 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-es/index.js @@ -0,0 +1 @@ +export * from "./fromIni"; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js b/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js new file mode 100644 index 0000000..6258240 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js @@ -0,0 +1,80 @@ +import { setCredentialFeature } from "@aws-sdk/core/client"; +import { CredentialsProviderError } from "@smithy/property-provider"; +import { getProfileName } from "@smithy/shared-ini-file-loader"; +import { resolveCredentialSource } from "./resolveCredentialSource"; +export const isAssumeRoleProfile = (arg, { profile = "default", logger } = {}) => { + return (Boolean(arg) && + typeof arg === "object" && + typeof arg.role_arn === "string" && + ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 && + ["undefined", "string"].indexOf(typeof arg.external_id) > -1 && + ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 && + (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger }))); +}; +const isAssumeRoleWithSourceProfile = (arg, { profile, logger }) => { + const withSourceProfile = typeof arg.source_profile === "string" && typeof arg.credential_source === "undefined"; + if (withSourceProfile) { + logger?.debug?.(` ${profile} isAssumeRoleWithSourceProfile source_profile=${arg.source_profile}`); + } + return withSourceProfile; +}; +const isCredentialSourceProfile = (arg, { profile, logger }) => { + const withProviderProfile = typeof arg.credential_source === "string" && typeof arg.source_profile === "undefined"; + if (withProviderProfile) { + logger?.debug?.(` ${profile} isCredentialSourceProfile credential_source=${arg.credential_source}`); + } + return withProviderProfile; +}; +export const resolveAssumeRoleCredentials = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, resolveProfileData) => { + options.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)"); + const profileData = profiles[profileName]; + const { source_profile, region } = profileData; + if (!options.roleAssumer) { + const { getDefaultRoleAssumer } = await import("@aws-sdk/nested-clients/sts"); + options.roleAssumer = getDefaultRoleAssumer({ + ...options.clientConfig, + credentialProviderLogger: options.logger, + parentClientConfig: { + ...callerClientConfig, + ...options?.parentClientConfig, + region: region ?? options?.parentClientConfig?.region ?? callerClientConfig?.region, + }, + }, options.clientPlugins); + } + if (source_profile && source_profile in visitedProfiles) { + throw new CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile` + + ` ${getProfileName(options)}. Profiles visited: ` + + Object.keys(visitedProfiles).join(", "), { logger: options.logger }); + } + options.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`); + const sourceCredsProvider = source_profile + ? resolveProfileData(source_profile, profiles, options, callerClientConfig, { + ...visitedProfiles, + [source_profile]: true, + }, isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {})) + : (await resolveCredentialSource(profileData.credential_source, profileName, options.logger)(options))(); + if (isCredentialSourceWithoutRoleArn(profileData)) { + return sourceCredsProvider.then((creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_SOURCE_PROFILE", "o")); + } + else { + const params = { + RoleArn: profileData.role_arn, + RoleSessionName: profileData.role_session_name || `aws-sdk-js-${Date.now()}`, + ExternalId: profileData.external_id, + DurationSeconds: parseInt(profileData.duration_seconds || "3600", 10), + }; + const { mfa_serial } = profileData; + if (mfa_serial) { + if (!options.mfaCodeProvider) { + throw new CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, { logger: options.logger, tryNextLink: false }); + } + params.SerialNumber = mfa_serial; + params.TokenCode = await options.mfaCodeProvider(mfa_serial); + } + const sourceCreds = await sourceCredsProvider; + return options.roleAssumer(sourceCreds, params).then((creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_SOURCE_PROFILE", "o")); + } +}; +const isCredentialSourceWithoutRoleArn = (section) => { + return !section.role_arn && !!section.credential_source; +}; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js b/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js new file mode 100644 index 0000000..b004933 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js @@ -0,0 +1,30 @@ +import { setCredentialFeature } from "@aws-sdk/core/client"; +import { chain, CredentialsProviderError } from "@smithy/property-provider"; +export const resolveCredentialSource = (credentialSource, profileName, logger) => { + const sourceProvidersMap = { + EcsContainer: async (options) => { + const { fromHttp } = await import("@aws-sdk/credential-provider-http"); + const { fromContainerMetadata } = await import("@smithy/credential-provider-imds"); + logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer"); + return async () => chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider); + }, + Ec2InstanceMetadata: async (options) => { + logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata"); + const { fromInstanceMetadata } = await import("@smithy/credential-provider-imds"); + return async () => fromInstanceMetadata(options)().then(setNamedProvider); + }, + Environment: async (options) => { + logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment"); + const { fromEnv } = await import("@aws-sdk/credential-provider-env"); + return async () => fromEnv(options)().then(setNamedProvider); + }, + }; + if (credentialSource in sourceProvidersMap) { + return sourceProvidersMap[credentialSource]; + } + else { + throw new CredentialsProviderError(`Unsupported credential source in profile ${profileName}. Got ${credentialSource}, ` + + `expected EcsContainer or Ec2InstanceMetadata or Environment.`, { logger }); + } +}; +const setNamedProvider = (creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_NAMED_PROVIDER", "p"); diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js b/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js new file mode 100644 index 0000000..845b6a1 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js @@ -0,0 +1,12 @@ +import { setCredentialFeature } from "@aws-sdk/core/client"; +import { fromLoginCredentials } from "@aws-sdk/credential-provider-login"; +export const isLoginProfile = (data) => { + return Boolean(data && data.login_session); +}; +export const resolveLoginCredentials = async (profileName, options, callerClientConfig) => { + const credentials = await fromLoginCredentials({ + ...options, + profile: profileName, + })({ callerClientConfig }); + return setCredentialFeature(credentials, "CREDENTIALS_PROFILE_LOGIN", "AC"); +}; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js b/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js new file mode 100644 index 0000000..5a9f975 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js @@ -0,0 +1,6 @@ +import { setCredentialFeature } from "@aws-sdk/core/client"; +export const isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string"; +export const resolveProcessCredentials = async (options, profile) => import("@aws-sdk/credential-provider-process").then(({ fromProcess }) => fromProcess({ + ...options, + profile, +})().then((creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_PROCESS", "v"))); diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js b/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js new file mode 100644 index 0000000..c0d1547 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js @@ -0,0 +1,32 @@ +import { CredentialsProviderError } from "@smithy/property-provider"; +import { isAssumeRoleProfile, resolveAssumeRoleCredentials } from "./resolveAssumeRoleCredentials"; +import { isLoginProfile, resolveLoginCredentials } from "./resolveLoginCredentials"; +import { isProcessProfile, resolveProcessCredentials } from "./resolveProcessCredentials"; +import { isSsoProfile, resolveSsoCredentials } from "./resolveSsoCredentials"; +import { isStaticCredsProfile, resolveStaticCredentials } from "./resolveStaticCredentials"; +import { isWebIdentityProfile, resolveWebIdentityCredentials } from "./resolveWebIdentityCredentials"; +export const resolveProfileData = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => { + const data = profiles[profileName]; + if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) { + return resolveStaticCredentials(data, options); + } + if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) { + return resolveAssumeRoleCredentials(profileName, profiles, options, callerClientConfig, visitedProfiles, resolveProfileData); + } + if (isStaticCredsProfile(data)) { + return resolveStaticCredentials(data, options); + } + if (isWebIdentityProfile(data)) { + return resolveWebIdentityCredentials(data, options, callerClientConfig); + } + if (isProcessProfile(data)) { + return resolveProcessCredentials(options, profileName); + } + if (isSsoProfile(data)) { + return await resolveSsoCredentials(profileName, data, options, callerClientConfig); + } + if (isLoginProfile(data)) { + return resolveLoginCredentials(profileName, options, callerClientConfig); + } + throw new CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger }); +}; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js b/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js new file mode 100644 index 0000000..3e81627 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js @@ -0,0 +1,25 @@ +import { setCredentialFeature } from "@aws-sdk/core/client"; +export const resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => { + const { fromSSO } = await import("@aws-sdk/credential-provider-sso"); + return fromSSO({ + profile, + logger: options.logger, + parentClientConfig: options.parentClientConfig, + clientConfig: options.clientConfig, + })({ + callerClientConfig, + }).then((creds) => { + if (profileData.sso_session) { + return setCredentialFeature(creds, "CREDENTIALS_PROFILE_SSO", "r"); + } + else { + return setCredentialFeature(creds, "CREDENTIALS_PROFILE_SSO_LEGACY", "t"); + } + }); +}; +export const isSsoProfile = (arg) => arg && + (typeof arg.sso_start_url === "string" || + typeof arg.sso_account_id === "string" || + typeof arg.sso_session === "string" || + typeof arg.sso_region === "string" || + typeof arg.sso_role_name === "string"); diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js b/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js new file mode 100644 index 0000000..c04435f --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js @@ -0,0 +1,18 @@ +import { setCredentialFeature } from "@aws-sdk/core/client"; +export const isStaticCredsProfile = (arg) => Boolean(arg) && + typeof arg === "object" && + typeof arg.aws_access_key_id === "string" && + typeof arg.aws_secret_access_key === "string" && + ["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1 && + ["undefined", "string"].indexOf(typeof arg.aws_account_id) > -1; +export const resolveStaticCredentials = async (profile, options) => { + options?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials"); + const credentials = { + accessKeyId: profile.aws_access_key_id, + secretAccessKey: profile.aws_secret_access_key, + sessionToken: profile.aws_session_token, + ...(profile.aws_credential_scope && { credentialScope: profile.aws_credential_scope }), + ...(profile.aws_account_id && { accountId: profile.aws_account_id }), + }; + return setCredentialFeature(credentials, "CREDENTIALS_PROFILE", "n"); +}; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js b/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js new file mode 100644 index 0000000..102e2fc --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js @@ -0,0 +1,16 @@ +import { setCredentialFeature } from "@aws-sdk/core/client"; +export const isWebIdentityProfile = (arg) => Boolean(arg) && + typeof arg === "object" && + typeof arg.web_identity_token_file === "string" && + typeof arg.role_arn === "string" && + ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1; +export const resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import("@aws-sdk/credential-provider-web-identity").then(({ fromTokenFile }) => fromTokenFile({ + webIdentityTokenFile: profile.web_identity_token_file, + roleArn: profile.role_arn, + roleSessionName: profile.role_session_name, + roleAssumerWithWebIdentity: options.roleAssumerWithWebIdentity, + logger: options.logger, + parentClientConfig: options.parentClientConfig, +})({ + callerClientConfig, +}).then((creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN", "q"))); diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts b/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts new file mode 100644 index 0000000..90e795f --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts @@ -0,0 +1,55 @@ +import type { FromLoginCredentialsInit } from "@aws-sdk/credential-provider-login"; +import type { AssumeRoleWithWebIdentityParams } from "@aws-sdk/credential-provider-web-identity"; +import type { CredentialProviderOptions, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types"; +import type { SourceProfileInit } from "@smithy/shared-ini-file-loader"; +import type { AwsCredentialIdentity, Pluggable } from "@smithy/types"; +import type { AssumeRoleParams } from "./resolveAssumeRoleCredentials"; +/** + * @public + */ +export interface FromIniInit extends SourceProfileInit, CredentialProviderOptions, FromLoginCredentialsInit { + /** + * A function that returns a promise fulfilled with an MFA token code for + * the provided MFA Serial code. If a profile requires an MFA code and + * `mfaCodeProvider` is not a valid function, the credential provider + * promise will be rejected. + * + * @param mfaSerial The serial code of the MFA device specified. + */ + mfaCodeProvider?: (mfaSerial: string) => Promise; + /** + * A function that assumes a role and returns a promise fulfilled with + * credentials for the assumed role. + * + * @param sourceCreds The credentials with which to assume a role. + * @param params + */ + roleAssumer?: (sourceCreds: AwsCredentialIdentity, params: AssumeRoleParams) => Promise; + /** + * A function that assumes a role with web identity and returns a promise fulfilled with + * credentials for the assumed role. + * + * @param sourceCreds The credentials with which to assume a role. + * @param params + */ + roleAssumerWithWebIdentity?: (params: AssumeRoleWithWebIdentityParams) => Promise; + /** + * AWS SDK Client configuration to be used for creating inner client + * for auth operations. Inner clients include STS, SSO, and Signin clients. + * @internal + */ + clientConfig?: any; + clientPlugins?: Pluggable[]; + /** + * When true, always reload credentials from the file system instead of using cached values. + * This is useful when you need to detect changes to the credentials file. + */ + ignoreCache?: boolean; +} +/** + * @internal + * + * Creates a credential provider that will read from ini files and supports + * role assumption and multi-factor authentication. + */ +export declare const fromIni: (init?: FromIniInit) => RuntimeConfigAwsCredentialIdentityProvider; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-types/index.d.ts b/node_modules/@aws-sdk/credential-provider-ini/dist-types/index.d.ts new file mode 100644 index 0000000..75680c0 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-types/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export * from "./fromIni"; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts new file mode 100644 index 0000000..1b73de6 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts @@ -0,0 +1,48 @@ +import type { AwsIdentityProperties } from "@aws-sdk/types"; +import type { Logger, ParsedIniData } from "@smithy/types"; +import type { FromIniInit } from "./fromIni"; +import type { ResolveProfileData } from "./resolveProfileData"; +/** + * @internal + * + * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sts/command/AssumeRoleCommand/ + */ +export interface AssumeRoleParams { + /** + * The identifier of the role to be assumed. + */ + RoleArn: string; + /** + * A name for the assumed role session. + */ + RoleSessionName: string; + /** + * A unique identifier that is used by third parties when assuming roles in + * their customers' accounts. + */ + ExternalId?: string; + /** + * The identification number of the MFA device that is associated with the + * user who is making the `AssumeRole` call. + */ + SerialNumber?: string; + /** + * The value provided by the MFA device. + */ + TokenCode?: string; + /** + * The duration, in seconds, of the role session. + */ + DurationSeconds?: number; +} +/** + * @internal + */ +export declare const isAssumeRoleProfile: (arg: any, { profile, logger }?: { + profile?: string; + logger?: Logger; +}) => boolean; +/** + * @internal + */ +export declare const resolveAssumeRoleCredentials: (profileName: string, profiles: ParsedIniData, options: FromIniInit, callerClientConfig: AwsIdentityProperties["callerClientConfig"] | undefined, visitedProfiles: Record | undefined, resolveProfileData: ResolveProfileData) => Promise; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts b/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts new file mode 100644 index 0000000..0746bd2 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts @@ -0,0 +1,12 @@ +import type { CredentialProviderOptions } from "@aws-sdk/types"; +import type { AwsCredentialIdentityProvider, Logger } from "@smithy/types"; +/** + * @internal + * + * Resolve the `credential_source` entry from the profile, and return the + * credential providers respectively. No memoization is needed for the + * credential source providers because memoization should be added outside the + * fromIni() provider. The source credential needs to be refreshed every time + * fromIni() is called. + */ +export declare const resolveCredentialSource: (credentialSource: string, profileName: string, logger?: Logger) => ((options?: CredentialProviderOptions) => Promise); diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveLoginCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveLoginCredentials.d.ts new file mode 100644 index 0000000..ab4d276 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveLoginCredentials.d.ts @@ -0,0 +1,11 @@ +import type { AwsIdentityProperties } from "@aws-sdk/types"; +import type { AwsCredentialIdentity, ParsedIniData } from "@smithy/types"; +import type { FromIniInit } from "./fromIni"; +/** + * @internal + */ +export declare const isLoginProfile: (data: ParsedIniData[string]) => boolean; +/** + * @internal + */ +export declare const resolveLoginCredentials: (profileName: string, options: FromIniInit, callerClientConfig?: AwsIdentityProperties["callerClientConfig"]) => Promise; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProcessCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProcessCredentials.d.ts new file mode 100644 index 0000000..1aa4c1c --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProcessCredentials.d.ts @@ -0,0 +1,16 @@ +import type { Credentials, Profile } from "@aws-sdk/types"; +import type { FromIniInit } from "./fromIni"; +/** + * @internal + */ +export interface ProcessProfile extends Profile { + credential_process: string; +} +/** + * @internal + */ +export declare const isProcessProfile: (arg: any) => arg is ProcessProfile; +/** + * @internal + */ +export declare const resolveProcessCredentials: (options: FromIniInit, profile: string) => Promise; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts b/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts new file mode 100644 index 0000000..4b0c730 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts @@ -0,0 +1,19 @@ +import type { AwsIdentityProperties } from "@aws-sdk/types"; +import type { AwsCredentialIdentity, ParsedIniData } from "@smithy/types"; +import type { FromIniInit } from "./fromIni"; +/** + * @internal + */ +export type ResolveProfileData = typeof resolveProfileData; +/** + * @internal + */ +export declare const resolveProfileData: (profileName: string, profiles: ParsedIniData, options: FromIniInit, callerClientConfig?: AwsIdentityProperties["callerClientConfig"], visitedProfiles?: Record, +/** + * This override comes from recursive calls only. + * It is used to flag a recursive profile section + * that does not have a role_arn, e.g. a credential_source + * with no role_arn, as part of a larger recursive assume-role + * call stack, and to re-enter the assume-role resolver function. + */ +isAssumeRoleRecursiveCall?: boolean) => Promise; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts new file mode 100644 index 0000000..51c9148 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts @@ -0,0 +1,13 @@ +import type { SsoProfile } from "@aws-sdk/credential-provider-sso"; +import type { AwsIdentityProperties } from "@aws-sdk/types"; +import type { IniSection, Profile } from "@smithy/types"; +import type { FromIniInit } from "./fromIni"; +/** + * @internal + */ +export declare const resolveSsoCredentials: (profile: string, profileData: IniSection, options?: FromIniInit, callerClientConfig?: AwsIdentityProperties["callerClientConfig"]) => Promise; +/** + * @internal + * duplicated from \@aws-sdk/credential-provider-sso to defer import. + */ +export declare const isSsoProfile: (arg: Profile) => arg is Partial; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts new file mode 100644 index 0000000..d1464b9 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts @@ -0,0 +1,20 @@ +import type { AwsCredentialIdentity, Profile } from "@smithy/types"; +import type { FromIniInit } from "./fromIni"; +/** + * @internal + */ +export interface StaticCredsProfile extends Profile { + aws_access_key_id: string; + aws_secret_access_key: string; + aws_session_token?: string; + aws_credential_scope?: string; + aws_account_id?: string; +} +/** + * @internal + */ +export declare const isStaticCredsProfile: (arg: any) => arg is StaticCredsProfile; +/** + * @internal + */ +export declare const resolveStaticCredentials: (profile: StaticCredsProfile, options?: FromIniInit) => Promise; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts new file mode 100644 index 0000000..c8c1a35 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts @@ -0,0 +1,19 @@ +import type { AwsIdentityProperties } from "@aws-sdk/types"; +import type { AwsCredentialIdentity, Profile } from "@smithy/types"; +import type { FromIniInit } from "./fromIni"; +/** + * @internal + */ +export interface WebIdentityProfile extends Profile { + web_identity_token_file: string; + role_arn: string; + role_session_name?: string; +} +/** + * @internal + */ +export declare const isWebIdentityProfile: (arg: any) => arg is WebIdentityProfile; +/** + * @internal + */ +export declare const resolveWebIdentityCredentials: (profile: WebIdentityProfile, options: FromIniInit, callerClientConfig?: AwsIdentityProperties["callerClientConfig"]) => Promise; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts b/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts new file mode 100644 index 0000000..a9703a1 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts @@ -0,0 +1,28 @@ +import { FromLoginCredentialsInit } from "@aws-sdk/credential-provider-login"; +import { AssumeRoleWithWebIdentityParams } from "@aws-sdk/credential-provider-web-identity"; +import { + CredentialProviderOptions, + RuntimeConfigAwsCredentialIdentityProvider, +} from "@aws-sdk/types"; +import { SourceProfileInit } from "@smithy/shared-ini-file-loader"; +import { AwsCredentialIdentity, Pluggable } from "@smithy/types"; +import { AssumeRoleParams } from "./resolveAssumeRoleCredentials"; +export interface FromIniInit + extends SourceProfileInit, + CredentialProviderOptions, + FromLoginCredentialsInit { + mfaCodeProvider?: (mfaSerial: string) => Promise; + roleAssumer?: ( + sourceCreds: AwsCredentialIdentity, + params: AssumeRoleParams + ) => Promise; + roleAssumerWithWebIdentity?: ( + params: AssumeRoleWithWebIdentityParams + ) => Promise; + clientConfig?: any; + clientPlugins?: Pluggable[]; + ignoreCache?: boolean; +} +export declare const fromIni: ( + init?: FromIniInit +) => RuntimeConfigAwsCredentialIdentityProvider; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..b019131 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/index.d.ts @@ -0,0 +1 @@ +export * from "./fromIni"; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts new file mode 100644 index 0000000..6e79cdd --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts @@ -0,0 +1,30 @@ +import { AwsIdentityProperties } from "@aws-sdk/types"; +import { Logger, ParsedIniData } from "@smithy/types"; +import { FromIniInit } from "./fromIni"; +import { ResolveProfileData } from "./resolveProfileData"; +export interface AssumeRoleParams { + RoleArn: string; + RoleSessionName: string; + ExternalId?: string; + SerialNumber?: string; + TokenCode?: string; + DurationSeconds?: number; +} +export declare const isAssumeRoleProfile: ( + arg: any, + { + profile, + logger, + }?: { + profile?: string; + logger?: Logger; + } +) => boolean; +export declare const resolveAssumeRoleCredentials: ( + profileName: string, + profiles: ParsedIniData, + options: FromIniInit, + callerClientConfig: AwsIdentityProperties["callerClientConfig"] | undefined, + visitedProfiles: Record | undefined, + resolveProfileData: ResolveProfileData +) => Promise; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveCredentialSource.d.ts b/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveCredentialSource.d.ts new file mode 100644 index 0000000..21a7f9f --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveCredentialSource.d.ts @@ -0,0 +1,9 @@ +import { CredentialProviderOptions } from "@aws-sdk/types"; +import { AwsCredentialIdentityProvider, Logger } from "@smithy/types"; +export declare const resolveCredentialSource: ( + credentialSource: string, + profileName: string, + logger?: Logger +) => ( + options?: CredentialProviderOptions +) => Promise; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts new file mode 100644 index 0000000..9f67a6c --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts @@ -0,0 +1,9 @@ +import { AwsIdentityProperties } from "@aws-sdk/types"; +import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types"; +import { FromIniInit } from "./fromIni"; +export declare const isLoginProfile: (data: ParsedIniData[string]) => boolean; +export declare const resolveLoginCredentials: ( + profileName: string, + options: FromIniInit, + callerClientConfig?: AwsIdentityProperties["callerClientConfig"] +) => Promise; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProcessCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProcessCredentials.d.ts new file mode 100644 index 0000000..dbd5583 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProcessCredentials.d.ts @@ -0,0 +1,10 @@ +import { Credentials, Profile } from "@aws-sdk/types"; +import { FromIniInit } from "./fromIni"; +export interface ProcessProfile extends Profile { + credential_process: string; +} +export declare const isProcessProfile: (arg: any) => arg is ProcessProfile; +export declare const resolveProcessCredentials: ( + options: FromIniInit, + profile: string +) => Promise; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts b/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts new file mode 100644 index 0000000..b439b9f --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts @@ -0,0 +1,12 @@ +import { AwsIdentityProperties } from "@aws-sdk/types"; +import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types"; +import { FromIniInit } from "./fromIni"; +export type ResolveProfileData = typeof resolveProfileData; +export declare const resolveProfileData: ( + profileName: string, + profiles: ParsedIniData, + options: FromIniInit, + callerClientConfig?: AwsIdentityProperties["callerClientConfig"], + visitedProfiles?: Record, + isAssumeRoleRecursiveCall?: boolean +) => Promise; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts new file mode 100644 index 0000000..749c5fc --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts @@ -0,0 +1,11 @@ +import { SsoProfile } from "@aws-sdk/credential-provider-sso"; +import { AwsIdentityProperties } from "@aws-sdk/types"; +import { IniSection, Profile } from "@smithy/types"; +import { FromIniInit } from "./fromIni"; +export declare const resolveSsoCredentials: ( + profile: string, + profileData: IniSection, + options?: FromIniInit, + callerClientConfig?: AwsIdentityProperties["callerClientConfig"] +) => Promise; +export declare const isSsoProfile: (arg: Profile) => arg is Partial; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts new file mode 100644 index 0000000..5f5daa9 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts @@ -0,0 +1,16 @@ +import { AwsCredentialIdentity, Profile } from "@smithy/types"; +import { FromIniInit } from "./fromIni"; +export interface StaticCredsProfile extends Profile { + aws_access_key_id: string; + aws_secret_access_key: string; + aws_session_token?: string; + aws_credential_scope?: string; + aws_account_id?: string; +} +export declare const isStaticCredsProfile: ( + arg: any +) => arg is StaticCredsProfile; +export declare const resolveStaticCredentials: ( + profile: StaticCredsProfile, + options?: FromIniInit +) => Promise; diff --git a/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveWebIdentityCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveWebIdentityCredentials.d.ts new file mode 100644 index 0000000..02d11b0 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveWebIdentityCredentials.d.ts @@ -0,0 +1,16 @@ +import { AwsIdentityProperties } from "@aws-sdk/types"; +import { AwsCredentialIdentity, Profile } from "@smithy/types"; +import { FromIniInit } from "./fromIni"; +export interface WebIdentityProfile extends Profile { + web_identity_token_file: string; + role_arn: string; + role_session_name?: string; +} +export declare const isWebIdentityProfile: ( + arg: any +) => arg is WebIdentityProfile; +export declare const resolveWebIdentityCredentials: ( + profile: WebIdentityProfile, + options: FromIniInit, + callerClientConfig?: AwsIdentityProperties["callerClientConfig"] +) => Promise; diff --git a/node_modules/@aws-sdk/credential-provider-ini/package.json b/node_modules/@aws-sdk/credential-provider-ini/package.json new file mode 100644 index 0000000..b013107 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-ini/package.json @@ -0,0 +1,74 @@ +{ + "name": "@aws-sdk/credential-provider-ini", + "version": "3.972.28", + "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline credential-provider-ini", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "keywords": [ + "aws", + "credentials" + ], + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/credential-provider-env": "^3.972.24", + "@aws-sdk/credential-provider-http": "^3.972.26", + "@aws-sdk/credential-provider-login": "^3.972.28", + "@aws-sdk/credential-provider-process": "^3.972.24", + "@aws-sdk/credential-provider-sso": "^3.972.28", + "@aws-sdk/credential-provider-web-identity": "^3.972.28", + "@aws-sdk/nested-clients": "^3.996.18", + "@aws-sdk/types": "^3.973.6", + "@smithy/credential-provider-imds": "^4.2.12", + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "@types/node": "^20.14.8", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/credential-provider-ini", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/credential-provider-ini" + } +} diff --git a/node_modules/@aws-sdk/credential-provider-login/README.md b/node_modules/@aws-sdk/credential-provider-login/README.md new file mode 100644 index 0000000..4f51261 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-login/README.md @@ -0,0 +1,16 @@ +# @aws-sdk/credential-provider-login + +### :warning: Internal API :warning: + +> This is an internal package. +> That means this is used as a dependency for other, public packages, but +> should not be taken directly as a dependency in your application's `package.json`. + +> If you are updating the version of this package, for example to bring in a +> bug-fix, you should do so by updating your application lockfile with +> e.g. `npm up @scope/package` or equivalent command in another +> package manager, rather than taking a direct dependency. + +--- + +Please use [@aws-sdk/credential-providers](https://www.npmjs.com/package/@aws-sdk/credential-providers) instead. diff --git a/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js b/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js new file mode 100644 index 0000000..487bc23 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js @@ -0,0 +1,286 @@ +'use strict'; + +var client = require('@aws-sdk/core/client'); +var propertyProvider = require('@smithy/property-provider'); +var sharedIniFileLoader = require('@smithy/shared-ini-file-loader'); +var protocolHttp = require('@smithy/protocol-http'); +var node_crypto = require('node:crypto'); +var node_fs = require('node:fs'); +var node_os = require('node:os'); +var node_path = require('node:path'); + +class LoginCredentialsFetcher { + profileData; + init; + callerClientConfig; + static REFRESH_THRESHOLD = 5 * 60 * 1000; + constructor(profileData, init, callerClientConfig) { + this.profileData = profileData; + this.init = init; + this.callerClientConfig = callerClientConfig; + } + async loadCredentials() { + const token = await this.loadToken(); + if (!token) { + throw new propertyProvider.CredentialsProviderError(`Failed to load a token for session ${this.loginSession}, please re-authenticate using aws login`, { tryNextLink: false, logger: this.logger }); + } + const accessToken = token.accessToken; + const now = Date.now(); + const expiryTime = new Date(accessToken.expiresAt).getTime(); + const timeUntilExpiry = expiryTime - now; + if (timeUntilExpiry <= LoginCredentialsFetcher.REFRESH_THRESHOLD) { + return this.refresh(token); + } + return { + accessKeyId: accessToken.accessKeyId, + secretAccessKey: accessToken.secretAccessKey, + sessionToken: accessToken.sessionToken, + accountId: accessToken.accountId, + expiration: new Date(accessToken.expiresAt), + }; + } + get logger() { + return this.init?.logger; + } + get loginSession() { + return this.profileData.login_session; + } + async refresh(token) { + const { SigninClient, CreateOAuth2TokenCommand } = await import('@aws-sdk/nested-clients/signin'); + const { logger, userAgentAppId } = this.callerClientConfig ?? {}; + const isH2 = (requestHandler) => { + return requestHandler?.metadata?.handlerProtocol === "h2"; + }; + const requestHandler = isH2(this.callerClientConfig?.requestHandler) + ? undefined + : this.callerClientConfig?.requestHandler; + const region = this.profileData.region ?? (await this.callerClientConfig?.region?.()) ?? process.env.AWS_REGION; + const client = new SigninClient({ + credentials: { + accessKeyId: "", + secretAccessKey: "", + }, + region, + requestHandler, + logger, + userAgentAppId, + ...this.init?.clientConfig, + }); + this.createDPoPInterceptor(client.middlewareStack); + const commandInput = { + tokenInput: { + clientId: token.clientId, + refreshToken: token.refreshToken, + grantType: "refresh_token", + }, + }; + try { + const response = await client.send(new CreateOAuth2TokenCommand(commandInput)); + const { accessKeyId, secretAccessKey, sessionToken } = response.tokenOutput?.accessToken ?? {}; + const { refreshToken, expiresIn } = response.tokenOutput ?? {}; + if (!accessKeyId || !secretAccessKey || !sessionToken || !refreshToken) { + throw new propertyProvider.CredentialsProviderError("Token refresh response missing required fields", { + logger: this.logger, + tryNextLink: false, + }); + } + const expiresInMs = (expiresIn ?? 900) * 1000; + const expiration = new Date(Date.now() + expiresInMs); + const updatedToken = { + ...token, + accessToken: { + ...token.accessToken, + accessKeyId: accessKeyId, + secretAccessKey: secretAccessKey, + sessionToken: sessionToken, + expiresAt: expiration.toISOString(), + }, + refreshToken: refreshToken, + }; + await this.saveToken(updatedToken); + const newAccessToken = updatedToken.accessToken; + return { + accessKeyId: newAccessToken.accessKeyId, + secretAccessKey: newAccessToken.secretAccessKey, + sessionToken: newAccessToken.sessionToken, + accountId: newAccessToken.accountId, + expiration, + }; + } + catch (error) { + if (error.name === "AccessDeniedException") { + const errorType = error.error; + let message; + switch (errorType) { + case "TOKEN_EXPIRED": + message = "Your session has expired. Please reauthenticate."; + break; + case "USER_CREDENTIALS_CHANGED": + message = + "Unable to refresh credentials because of a change in your password. Please reauthenticate with your new password."; + break; + case "INSUFFICIENT_PERMISSIONS": + message = + "Unable to refresh credentials due to insufficient permissions. You may be missing permission for the 'CreateOAuth2Token' action."; + break; + default: + message = `Failed to refresh token: ${String(error)}. Please re-authenticate using \`aws login\``; + } + throw new propertyProvider.CredentialsProviderError(message, { logger: this.logger, tryNextLink: false }); + } + throw new propertyProvider.CredentialsProviderError(`Failed to refresh token: ${String(error)}. Please re-authenticate using aws login`, { logger: this.logger }); + } + } + async loadToken() { + const tokenFilePath = this.getTokenFilePath(); + try { + let tokenData; + try { + tokenData = await sharedIniFileLoader.readFile(tokenFilePath, { ignoreCache: this.init?.ignoreCache }); + } + catch { + tokenData = await node_fs.promises.readFile(tokenFilePath, "utf8"); + } + const token = JSON.parse(tokenData); + const missingFields = ["accessToken", "clientId", "refreshToken", "dpopKey"].filter((k) => !token[k]); + if (!token.accessToken?.accountId) { + missingFields.push("accountId"); + } + if (missingFields.length > 0) { + throw new propertyProvider.CredentialsProviderError(`Token validation failed, missing fields: ${missingFields.join(", ")}`, { + logger: this.logger, + tryNextLink: false, + }); + } + return token; + } + catch (error) { + throw new propertyProvider.CredentialsProviderError(`Failed to load token from ${tokenFilePath}: ${String(error)}`, { + logger: this.logger, + tryNextLink: false, + }); + } + } + async saveToken(token) { + const tokenFilePath = this.getTokenFilePath(); + const directory = node_path.dirname(tokenFilePath); + try { + await node_fs.promises.mkdir(directory, { recursive: true }); + } + catch (error) { + } + await node_fs.promises.writeFile(tokenFilePath, JSON.stringify(token, null, 2), "utf8"); + } + getTokenFilePath() { + const directory = process.env.AWS_LOGIN_CACHE_DIRECTORY ?? node_path.join(node_os.homedir(), ".aws", "login", "cache"); + const loginSessionBytes = Buffer.from(this.loginSession, "utf8"); + const loginSessionSha256 = node_crypto.createHash("sha256").update(loginSessionBytes).digest("hex"); + return node_path.join(directory, `${loginSessionSha256}.json`); + } + derToRawSignature(derSignature) { + let offset = 2; + if (derSignature[offset] !== 0x02) { + throw new Error("Invalid DER signature"); + } + offset++; + const rLength = derSignature[offset++]; + let r = derSignature.subarray(offset, offset + rLength); + offset += rLength; + if (derSignature[offset] !== 0x02) { + throw new Error("Invalid DER signature"); + } + offset++; + const sLength = derSignature[offset++]; + let s = derSignature.subarray(offset, offset + sLength); + r = r[0] === 0x00 ? r.subarray(1) : r; + s = s[0] === 0x00 ? s.subarray(1) : s; + const rPadded = Buffer.concat([Buffer.alloc(32 - r.length), r]); + const sPadded = Buffer.concat([Buffer.alloc(32 - s.length), s]); + return Buffer.concat([rPadded, sPadded]); + } + createDPoPInterceptor(middlewareStack) { + middlewareStack.add((next) => async (args) => { + if (protocolHttp.HttpRequest.isInstance(args.request)) { + const request = args.request; + const actualEndpoint = `${request.protocol}//${request.hostname}${request.port ? `:${request.port}` : ""}${request.path}`; + const dpop = await this.generateDpop(request.method, actualEndpoint); + request.headers = { + ...request.headers, + DPoP: dpop, + }; + } + return next(args); + }, { + step: "finalizeRequest", + name: "dpopInterceptor", + override: true, + }); + } + async generateDpop(method = "POST", endpoint) { + const token = await this.loadToken(); + try { + const privateKey = node_crypto.createPrivateKey({ + key: token.dpopKey, + format: "pem", + type: "sec1", + }); + const publicKey = node_crypto.createPublicKey(privateKey); + const publicDer = publicKey.export({ format: "der", type: "spki" }); + let pointStart = -1; + for (let i = 0; i < publicDer.length; i++) { + if (publicDer[i] === 0x04) { + pointStart = i; + break; + } + } + const x = publicDer.slice(pointStart + 1, pointStart + 33); + const y = publicDer.slice(pointStart + 33, pointStart + 65); + const header = { + alg: "ES256", + typ: "dpop+jwt", + jwk: { + kty: "EC", + crv: "P-256", + x: x.toString("base64url"), + y: y.toString("base64url"), + }, + }; + const payload = { + jti: crypto.randomUUID(), + htm: method, + htu: endpoint, + iat: Math.floor(Date.now() / 1000), + }; + const headerB64 = Buffer.from(JSON.stringify(header)).toString("base64url"); + const payloadB64 = Buffer.from(JSON.stringify(payload)).toString("base64url"); + const message = `${headerB64}.${payloadB64}`; + const asn1Signature = node_crypto.sign("sha256", Buffer.from(message), privateKey); + const rawSignature = this.derToRawSignature(asn1Signature); + const signatureB64 = rawSignature.toString("base64url"); + return `${message}.${signatureB64}`; + } + catch (error) { + throw new propertyProvider.CredentialsProviderError(`Failed to generate Dpop proof: ${error instanceof Error ? error.message : String(error)}`, { logger: this.logger, tryNextLink: false }); + } + } +} + +const fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => { + init?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials"); + const profiles = await sharedIniFileLoader.parseKnownFiles(init || {}); + const profileName = sharedIniFileLoader.getProfileName({ + profile: init?.profile ?? callerClientConfig?.profile, + }); + const profile = profiles[profileName]; + if (!profile?.login_session) { + throw new propertyProvider.CredentialsProviderError(`Profile ${profileName} does not contain login_session.`, { + tryNextLink: true, + logger: init?.logger, + }); + } + const fetcher = new LoginCredentialsFetcher(profile, init, callerClientConfig); + const credentials = await fetcher.loadCredentials(); + return client.setCredentialFeature(credentials, "CREDENTIALS_LOGIN", "AD"); +}; + +exports.fromLoginCredentials = fromLoginCredentials; diff --git a/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js b/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js new file mode 100644 index 0000000..875b9ee --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js @@ -0,0 +1,262 @@ +import { CredentialsProviderError } from "@smithy/property-provider"; +import { HttpRequest } from "@smithy/protocol-http"; +import { readFile } from "@smithy/shared-ini-file-loader"; +import { createHash, createPrivateKey, createPublicKey, sign } from "node:crypto"; +import { promises as fs } from "node:fs"; +import { homedir } from "node:os"; +import { dirname, join } from "node:path"; +export class LoginCredentialsFetcher { + profileData; + init; + callerClientConfig; + static REFRESH_THRESHOLD = 5 * 60 * 1000; + constructor(profileData, init, callerClientConfig) { + this.profileData = profileData; + this.init = init; + this.callerClientConfig = callerClientConfig; + } + async loadCredentials() { + const token = await this.loadToken(); + if (!token) { + throw new CredentialsProviderError(`Failed to load a token for session ${this.loginSession}, please re-authenticate using aws login`, { tryNextLink: false, logger: this.logger }); + } + const accessToken = token.accessToken; + const now = Date.now(); + const expiryTime = new Date(accessToken.expiresAt).getTime(); + const timeUntilExpiry = expiryTime - now; + if (timeUntilExpiry <= LoginCredentialsFetcher.REFRESH_THRESHOLD) { + return this.refresh(token); + } + return { + accessKeyId: accessToken.accessKeyId, + secretAccessKey: accessToken.secretAccessKey, + sessionToken: accessToken.sessionToken, + accountId: accessToken.accountId, + expiration: new Date(accessToken.expiresAt), + }; + } + get logger() { + return this.init?.logger; + } + get loginSession() { + return this.profileData.login_session; + } + async refresh(token) { + const { SigninClient, CreateOAuth2TokenCommand } = await import("@aws-sdk/nested-clients/signin"); + const { logger, userAgentAppId } = this.callerClientConfig ?? {}; + const isH2 = (requestHandler) => { + return requestHandler?.metadata?.handlerProtocol === "h2"; + }; + const requestHandler = isH2(this.callerClientConfig?.requestHandler) + ? undefined + : this.callerClientConfig?.requestHandler; + const region = this.profileData.region ?? (await this.callerClientConfig?.region?.()) ?? process.env.AWS_REGION; + const client = new SigninClient({ + credentials: { + accessKeyId: "", + secretAccessKey: "", + }, + region, + requestHandler, + logger, + userAgentAppId, + ...this.init?.clientConfig, + }); + this.createDPoPInterceptor(client.middlewareStack); + const commandInput = { + tokenInput: { + clientId: token.clientId, + refreshToken: token.refreshToken, + grantType: "refresh_token", + }, + }; + try { + const response = await client.send(new CreateOAuth2TokenCommand(commandInput)); + const { accessKeyId, secretAccessKey, sessionToken } = response.tokenOutput?.accessToken ?? {}; + const { refreshToken, expiresIn } = response.tokenOutput ?? {}; + if (!accessKeyId || !secretAccessKey || !sessionToken || !refreshToken) { + throw new CredentialsProviderError("Token refresh response missing required fields", { + logger: this.logger, + tryNextLink: false, + }); + } + const expiresInMs = (expiresIn ?? 900) * 1000; + const expiration = new Date(Date.now() + expiresInMs); + const updatedToken = { + ...token, + accessToken: { + ...token.accessToken, + accessKeyId: accessKeyId, + secretAccessKey: secretAccessKey, + sessionToken: sessionToken, + expiresAt: expiration.toISOString(), + }, + refreshToken: refreshToken, + }; + await this.saveToken(updatedToken); + const newAccessToken = updatedToken.accessToken; + return { + accessKeyId: newAccessToken.accessKeyId, + secretAccessKey: newAccessToken.secretAccessKey, + sessionToken: newAccessToken.sessionToken, + accountId: newAccessToken.accountId, + expiration, + }; + } + catch (error) { + if (error.name === "AccessDeniedException") { + const errorType = error.error; + let message; + switch (errorType) { + case "TOKEN_EXPIRED": + message = "Your session has expired. Please reauthenticate."; + break; + case "USER_CREDENTIALS_CHANGED": + message = + "Unable to refresh credentials because of a change in your password. Please reauthenticate with your new password."; + break; + case "INSUFFICIENT_PERMISSIONS": + message = + "Unable to refresh credentials due to insufficient permissions. You may be missing permission for the 'CreateOAuth2Token' action."; + break; + default: + message = `Failed to refresh token: ${String(error)}. Please re-authenticate using \`aws login\``; + } + throw new CredentialsProviderError(message, { logger: this.logger, tryNextLink: false }); + } + throw new CredentialsProviderError(`Failed to refresh token: ${String(error)}. Please re-authenticate using aws login`, { logger: this.logger }); + } + } + async loadToken() { + const tokenFilePath = this.getTokenFilePath(); + try { + let tokenData; + try { + tokenData = await readFile(tokenFilePath, { ignoreCache: this.init?.ignoreCache }); + } + catch { + tokenData = await fs.readFile(tokenFilePath, "utf8"); + } + const token = JSON.parse(tokenData); + const missingFields = ["accessToken", "clientId", "refreshToken", "dpopKey"].filter((k) => !token[k]); + if (!token.accessToken?.accountId) { + missingFields.push("accountId"); + } + if (missingFields.length > 0) { + throw new CredentialsProviderError(`Token validation failed, missing fields: ${missingFields.join(", ")}`, { + logger: this.logger, + tryNextLink: false, + }); + } + return token; + } + catch (error) { + throw new CredentialsProviderError(`Failed to load token from ${tokenFilePath}: ${String(error)}`, { + logger: this.logger, + tryNextLink: false, + }); + } + } + async saveToken(token) { + const tokenFilePath = this.getTokenFilePath(); + const directory = dirname(tokenFilePath); + try { + await fs.mkdir(directory, { recursive: true }); + } + catch (error) { + } + await fs.writeFile(tokenFilePath, JSON.stringify(token, null, 2), "utf8"); + } + getTokenFilePath() { + const directory = process.env.AWS_LOGIN_CACHE_DIRECTORY ?? join(homedir(), ".aws", "login", "cache"); + const loginSessionBytes = Buffer.from(this.loginSession, "utf8"); + const loginSessionSha256 = createHash("sha256").update(loginSessionBytes).digest("hex"); + return join(directory, `${loginSessionSha256}.json`); + } + derToRawSignature(derSignature) { + let offset = 2; + if (derSignature[offset] !== 0x02) { + throw new Error("Invalid DER signature"); + } + offset++; + const rLength = derSignature[offset++]; + let r = derSignature.subarray(offset, offset + rLength); + offset += rLength; + if (derSignature[offset] !== 0x02) { + throw new Error("Invalid DER signature"); + } + offset++; + const sLength = derSignature[offset++]; + let s = derSignature.subarray(offset, offset + sLength); + r = r[0] === 0x00 ? r.subarray(1) : r; + s = s[0] === 0x00 ? s.subarray(1) : s; + const rPadded = Buffer.concat([Buffer.alloc(32 - r.length), r]); + const sPadded = Buffer.concat([Buffer.alloc(32 - s.length), s]); + return Buffer.concat([rPadded, sPadded]); + } + createDPoPInterceptor(middlewareStack) { + middlewareStack.add((next) => async (args) => { + if (HttpRequest.isInstance(args.request)) { + const request = args.request; + const actualEndpoint = `${request.protocol}//${request.hostname}${request.port ? `:${request.port}` : ""}${request.path}`; + const dpop = await this.generateDpop(request.method, actualEndpoint); + request.headers = { + ...request.headers, + DPoP: dpop, + }; + } + return next(args); + }, { + step: "finalizeRequest", + name: "dpopInterceptor", + override: true, + }); + } + async generateDpop(method = "POST", endpoint) { + const token = await this.loadToken(); + try { + const privateKey = createPrivateKey({ + key: token.dpopKey, + format: "pem", + type: "sec1", + }); + const publicKey = createPublicKey(privateKey); + const publicDer = publicKey.export({ format: "der", type: "spki" }); + let pointStart = -1; + for (let i = 0; i < publicDer.length; i++) { + if (publicDer[i] === 0x04) { + pointStart = i; + break; + } + } + const x = publicDer.slice(pointStart + 1, pointStart + 33); + const y = publicDer.slice(pointStart + 33, pointStart + 65); + const header = { + alg: "ES256", + typ: "dpop+jwt", + jwk: { + kty: "EC", + crv: "P-256", + x: x.toString("base64url"), + y: y.toString("base64url"), + }, + }; + const payload = { + jti: crypto.randomUUID(), + htm: method, + htu: endpoint, + iat: Math.floor(Date.now() / 1000), + }; + const headerB64 = Buffer.from(JSON.stringify(header)).toString("base64url"); + const payloadB64 = Buffer.from(JSON.stringify(payload)).toString("base64url"); + const message = `${headerB64}.${payloadB64}`; + const asn1Signature = sign("sha256", Buffer.from(message), privateKey); + const rawSignature = this.derToRawSignature(asn1Signature); + const signatureB64 = rawSignature.toString("base64url"); + return `${message}.${signatureB64}`; + } + catch (error) { + throw new CredentialsProviderError(`Failed to generate Dpop proof: ${error instanceof Error ? error.message : String(error)}`, { logger: this.logger, tryNextLink: false }); + } + } +} diff --git a/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js b/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js new file mode 100644 index 0000000..6022841 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js @@ -0,0 +1,21 @@ +import { setCredentialFeature } from "@aws-sdk/core/client"; +import { CredentialsProviderError } from "@smithy/property-provider"; +import { getProfileName, parseKnownFiles } from "@smithy/shared-ini-file-loader"; +import { LoginCredentialsFetcher } from "./LoginCredentialsFetcher"; +export const fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => { + init?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials"); + const profiles = await parseKnownFiles(init || {}); + const profileName = getProfileName({ + profile: init?.profile ?? callerClientConfig?.profile, + }); + const profile = profiles[profileName]; + if (!profile?.login_session) { + throw new CredentialsProviderError(`Profile ${profileName} does not contain login_session.`, { + tryNextLink: true, + logger: init?.logger, + }); + } + const fetcher = new LoginCredentialsFetcher(profile, init, callerClientConfig); + const credentials = await fetcher.loadCredentials(); + return setCredentialFeature(credentials, "CREDENTIALS_LOGIN", "AD"); +}; diff --git a/node_modules/@aws-sdk/credential-provider-login/dist-es/index.js b/node_modules/@aws-sdk/credential-provider-login/dist-es/index.js new file mode 100644 index 0000000..d559017 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-login/dist-es/index.js @@ -0,0 +1,2 @@ +export * from "./fromLoginCredentials"; +export * from "./types"; diff --git a/node_modules/@aws-sdk/credential-provider-login/dist-es/types.js b/node_modules/@aws-sdk/credential-provider-login/dist-es/types.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-login/dist-es/types.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/credential-provider-login/dist-types/LoginCredentialsFetcher.d.ts b/node_modules/@aws-sdk/credential-provider-login/dist-types/LoginCredentialsFetcher.d.ts new file mode 100644 index 0000000..e9b1b9c --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-login/dist-types/LoginCredentialsFetcher.d.ts @@ -0,0 +1,42 @@ +import type { AwsCredentialIdentity, AwsIdentityProperties } from "@aws-sdk/types"; +import type { IniSection } from "@smithy/types"; +import type { FromLoginCredentialsInit } from "./types"; +/** + * Handles loading and refreshing Sign-In credentials from cached tokens. + * @internal + */ +export declare class LoginCredentialsFetcher { + private readonly profileData; + private readonly init?; + private readonly callerClientConfig?; + private static readonly REFRESH_THRESHOLD; + constructor(profileData: IniSection, init?: FromLoginCredentialsInit | undefined, callerClientConfig?: AwsIdentityProperties["callerClientConfig"]); + /** + * Loads credentials and refreshes if necessary + */ + loadCredentials(): Promise; + private get logger(); + private get loginSession(); + private refresh; + private loadToken; + private saveToken; + private getTokenFilePath; + /** + * Converts ASN.1 DER encoded ECDSA signature to raw r||s format. + * raw format is a fixed 64-byte concatenation of r and s values (32 bytes each). + * + * References: + * - ECDSA algorithm: https://thecopenhagenbook.com/cryptography/ecdsa + * - ASN.1 DER encoding: https://www.rfc-editor.org/rfc/rfc5480#section-2.2 + * + * @param derSignature - ASN.1 DER encoded signature from crypto.sign() + * @returns Raw signature as 64-byte buffer (32-byte r + 32-byte s) + */ + private derToRawSignature; + /** + * Creates a DPoP interceptor that updates the DPoP header with the actual resolved endpoint + * @internal + */ + private createDPoPInterceptor; + private generateDpop; +} diff --git a/node_modules/@aws-sdk/credential-provider-login/dist-types/fromLoginCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-login/dist-types/fromLoginCredentials.d.ts new file mode 100644 index 0000000..bcca25c --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-login/dist-types/fromLoginCredentials.d.ts @@ -0,0 +1,7 @@ +import type { RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types"; +import type { FromLoginCredentialsInit } from "./types"; +/** + * Creates a credential provider that sources credentials from aws login cached tokens + * @internal + */ +export declare const fromLoginCredentials: (init?: FromLoginCredentialsInit) => RuntimeConfigAwsCredentialIdentityProvider; diff --git a/node_modules/@aws-sdk/credential-provider-login/dist-types/index.d.ts b/node_modules/@aws-sdk/credential-provider-login/dist-types/index.d.ts new file mode 100644 index 0000000..2986833 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-login/dist-types/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./fromLoginCredentials"; +/** + * @internal + */ +export * from "./types"; diff --git a/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/LoginCredentialsFetcher.d.ts b/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/LoginCredentialsFetcher.d.ts new file mode 100644 index 0000000..2d714b7 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/LoginCredentialsFetcher.d.ts @@ -0,0 +1,24 @@ +import { AwsCredentialIdentity, AwsIdentityProperties } from "@aws-sdk/types"; +import { IniSection } from "@smithy/types"; +import { FromLoginCredentialsInit } from "./types"; +export declare class LoginCredentialsFetcher { + private readonly profileData; + private readonly init?; + private readonly callerClientConfig?; + private static readonly REFRESH_THRESHOLD; + constructor( + profileData: IniSection, + init?: FromLoginCredentialsInit | undefined, + callerClientConfig?: AwsIdentityProperties["callerClientConfig"] + ); + loadCredentials(): Promise; + private readonly logger: any; + private readonly loginSession: any; + private refresh; + private loadToken; + private saveToken; + private getTokenFilePath; + private derToRawSignature; + private createDPoPInterceptor; + private generateDpop; +} diff --git a/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/fromLoginCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/fromLoginCredentials.d.ts new file mode 100644 index 0000000..6435c82 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/fromLoginCredentials.d.ts @@ -0,0 +1,5 @@ +import { RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types"; +import { FromLoginCredentialsInit } from "./types"; +export declare const fromLoginCredentials: ( + init?: FromLoginCredentialsInit +) => RuntimeConfigAwsCredentialIdentityProvider; diff --git a/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..d559017 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/index.d.ts @@ -0,0 +1,2 @@ +export * from "./fromLoginCredentials"; +export * from "./types"; diff --git a/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/types.d.ts b/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/types.d.ts new file mode 100644 index 0000000..e0f84c9 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/types.d.ts @@ -0,0 +1,39 @@ +import { SigninClientConfig } from "@aws-sdk/nested-clients/signin"; +import { CredentialProviderOptions } from "@aws-sdk/types"; +import { SharedConfigInit } from "@smithy/shared-ini-file-loader"; +export interface FromLoginCredentialsInit + extends CredentialProviderOptions, + SharedConfigInit { + profile?: string; + clientConfig?: SigninClientConfig; +} +export interface LoginToken { + accessToken: { + accessKeyId: string; + secretAccessKey: string; + sessionToken: string; + accountId?: string; + expiresAt: string; + }; + tokenType: string; + clientId: string; + refreshToken: string; + idToken: string; + dpopKey: string; +} +export interface DpopHeader { + typ: "dpop+jwt"; + alg: "ES256"; + jwk: { + kty: "EC"; + crv: "P-256"; + x: string; + y: string; + }; +} +export interface DpopPayload { + jti: string; + htm: string; + htu: string; + iat: number; +} diff --git a/node_modules/@aws-sdk/credential-provider-login/dist-types/types.d.ts b/node_modules/@aws-sdk/credential-provider-login/dist-types/types.d.ts new file mode 100644 index 0000000..d19f4f4 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-login/dist-types/types.d.ts @@ -0,0 +1,59 @@ +import type { SigninClientConfig } from "@aws-sdk/nested-clients/signin"; +import type { CredentialProviderOptions } from "@aws-sdk/types"; +import type { SharedConfigInit } from "@smithy/shared-ini-file-loader"; +/** + * Configuration options for the Login credential provider + * @public + */ +export interface FromLoginCredentialsInit extends CredentialProviderOptions, SharedConfigInit { + /** + * Profile name to use for Login credentials + */ + profile?: string; + /** + * Login client configuration for token refresh operations + */ + clientConfig?: SigninClientConfig; +} +/** + * Login token structure stored on disk + * @internal + */ +export interface LoginToken { + accessToken: { + accessKeyId: string; + secretAccessKey: string; + sessionToken: string; + accountId?: string; + expiresAt: string; + }; + tokenType: string; + clientId: string; + refreshToken: string; + idToken: string; + dpopKey: string; +} +/** + * DPoP header structure for OAuth 2.0 Demonstrating Proof of Possession + * @internal + */ +export interface DpopHeader { + typ: "dpop+jwt"; + alg: "ES256"; + jwk: { + kty: "EC"; + crv: "P-256"; + x: string; + y: string; + }; +} +/** + * DPoP payload structure + * @internal + */ +export interface DpopPayload { + jti: string; + htm: string; + htu: string; + iat: number; +} diff --git a/node_modules/@aws-sdk/credential-provider-login/package.json b/node_modules/@aws-sdk/credential-provider-login/package.json new file mode 100644 index 0000000..5971fd8 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-login/package.json @@ -0,0 +1,68 @@ +{ + "name": "@aws-sdk/credential-provider-login", + "version": "3.972.28", + "description": "AWS credential provider that sources credentials from aws login cached tokens", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline credential-provider-login", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "keywords": [ + "aws", + "credentials", + "signin", + "login" + ], + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/nested-clients": "^3.996.18", + "@aws-sdk/types": "^3.973.6", + "@smithy/property-provider": "^4.2.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "@types/node": "^20.14.8", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/credential-provider-login", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/credential-provider-login" + } +} diff --git a/node_modules/@aws-sdk/credential-provider-node/LICENSE b/node_modules/@aws-sdk/credential-provider-node/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-node/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-sdk/credential-provider-node/README.md b/node_modules/@aws-sdk/credential-provider-node/README.md new file mode 100644 index 0000000..74e9902 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-node/README.md @@ -0,0 +1,104 @@ +# @aws-sdk/credential-provider-node + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/credential-provider-node/latest.svg)](https://www.npmjs.com/package/@aws-sdk/credential-provider-node) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/credential-provider-node.svg)](https://www.npmjs.com/package/@aws-sdk/credential-provider-node) + +## AWS Credential Provider for Node.JS + +This module provides a factory function, `defaultProvider`, that will attempt to +source AWS credentials from a Node.JS environment. It will attempt to find +credentials from the following sources (listed in order of precedence): + +- Environment variables exposed via `process.env` +- SSO credentials from token cache +- Web identity token credentials +- Shared credentials and config ini files +- The EC2/ECS Instance Metadata Service + +The default credential provider will invoke one provider at a time and only +continue to the next if no credentials have been located. For example, if the +process finds values defined via the `AWS_ACCESS_KEY_ID` and +`AWS_SECRET_ACCESS_KEY` environment variables, the files at `~/.aws/credentials` +and `~/.aws/config` will not be read, nor will any messages be sent to the +Instance Metadata Service. + +If invalid configuration is encountered (such as a profile in +`~/.aws/credentials` specifying as its `source_profile` the name of a profile +that does not exist), then the chained provider will be rejected with an error +and will not invoke the next provider in the list. + +_IMPORTANT_: if you intend to acquire credentials using EKS +[IAM Roles for Service Accounts](https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html), +then you must explicitly specify a value for `roleAssumerWithWebIdentity`. There is a +default function available in `@aws-sdk/client-sts` package. An example of using +this: + +```js +const { getDefaultRoleAssumerWithWebIdentity } = require("@aws-sdk/client-sts"); +const { defaultProvider } = require("@aws-sdk/credential-provider-node"); +const { S3Client, GetObjectCommand } = require("@aws-sdk/client-s3"); + +const provider = defaultProvider({ + roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity({ + // You must explicitly pass a region if you are not using us-east-1 + region: "eu-west-1", + }), +}); + +const client = new S3Client({ credentialDefaultProvider: provider }); +``` + +_IMPORTANT_: We provide a wrapper of this provider in `@aws-sdk/credential-providers` +package to save you from importing `getDefaultRoleAssumerWithWebIdentity()` or +`getDefaultRoleAssume()` from STS package. Similarly, you can do: + +```js +const { fromNodeProviderChain } = require("@aws-sdk/credential-providers"); + +const credentials = fromNodeProviderChain(); + +const client = new S3Client({ credentials }); +``` + +## Supported configuration + +You may customize how credentials are resolved by providing an options hash to +the `defaultProvider` factory function. The following options are +supported: + +- `profile` - The configuration profile to use. If not specified, the provider + will use the value in the `AWS_PROFILE` environment variable or a default of + `default`. +- `filepath` - The path to the shared credentials file. If not specified, the + provider will use the value in the `AWS_SHARED_CREDENTIALS_FILE` environment + variable or a default of `~/.aws/credentials`. +- `configFilepath` - The path to the shared config file. If not specified, the + provider will use the value in the `AWS_CONFIG_FILE` environment variable or a + default of `~/.aws/config`. +- `mfaCodeProvider` - A function that returns a a promise fulfilled with an + MFA token code for the provided MFA Serial code. If a profile requires an MFA + code and `mfaCodeProvider` is not a valid function, the credential provider + promise will be rejected. +- `roleAssumer` - A function that assumes a role and returns a promise + fulfilled with credentials for the assumed role. If not specified, no role + will be assumed, and an error will be thrown. +- `roleArn` - ARN to assume. If not specified, the provider will use the value + in the `AWS_ROLE_ARN` environment variable. +- `webIdentityTokenFile` - File location of where the `OIDC` token is stored. + If not specified, the provider will use the value in the `AWS_WEB_IDENTITY_TOKEN_FILE` + environment variable. +- `roleAssumerWithWebIdentity` - A function that assumes a role with web identity and + returns a promise fulfilled with credentials for the assumed role. +- `timeout` - The connection timeout (in milliseconds) to apply to any remote + requests. If not specified, a default value of `1000` (one second) is used. +- `maxRetries` - The maximum number of times any HTTP connections should be + retried. If not specified, a default value of `0` will be used. + +## Related packages: + +- [AWS Credential Provider for Node.JS - Environment Variables](../credential-provider-env) +- [AWS Credential Provider for Node.JS - SSO](../credential-provider-sso) +- [AWS Credential Provider for Node.JS - Web Identity](../credential-provider-web-identity) +- [AWS Credential Provider for Node.JS - Shared Configuration Files](../credential-provider-ini) +- [AWS Credential Provider for Node.JS - Instance and Container Metadata](../credential-provider-imds) +- [AWS Shared Configuration File Loader](../shared-ini-file-loader) diff --git a/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js b/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js new file mode 100644 index 0000000..171b35a --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js @@ -0,0 +1,156 @@ +'use strict'; + +var credentialProviderEnv = require('@aws-sdk/credential-provider-env'); +var propertyProvider = require('@smithy/property-provider'); +var sharedIniFileLoader = require('@smithy/shared-ini-file-loader'); + +const ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED"; +const remoteProvider = async (init) => { + const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import('@smithy/credential-provider-imds'); + if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) { + init.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata"); + const { fromHttp } = await import('@aws-sdk/credential-provider-http'); + return propertyProvider.chain(fromHttp(init), fromContainerMetadata(init)); + } + if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== "false") { + return async () => { + throw new propertyProvider.CredentialsProviderError("EC2 Instance Metadata Service access disabled", { logger: init.logger }); + }; + } + init.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata"); + return fromInstanceMetadata(init); +}; + +function memoizeChain(providers, treatAsExpired) { + const chain = internalCreateChain(providers); + let activeLock; + let passiveLock; + let credentials; + const provider = async (options) => { + if (options?.forceRefresh) { + return await chain(options); + } + if (credentials?.expiration) { + if (credentials?.expiration?.getTime() < Date.now()) { + credentials = undefined; + } + } + if (activeLock) { + await activeLock; + } + else if (!credentials || treatAsExpired?.(credentials)) { + if (credentials) { + if (!passiveLock) { + passiveLock = chain(options) + .then((c) => { + credentials = c; + }) + .finally(() => { + passiveLock = undefined; + }); + } + } + else { + activeLock = chain(options) + .then((c) => { + credentials = c; + }) + .finally(() => { + activeLock = undefined; + }); + return provider(options); + } + } + return credentials; + }; + return provider; +} +const internalCreateChain = (providers) => async (awsIdentityProperties) => { + let lastProviderError; + for (const provider of providers) { + try { + return await provider(awsIdentityProperties); + } + catch (err) { + lastProviderError = err; + if (err?.tryNextLink) { + continue; + } + throw err; + } + } + throw lastProviderError; +}; + +let multipleCredentialSourceWarningEmitted = false; +const defaultProvider = (init = {}) => memoizeChain([ + async () => { + const profile = init.profile ?? process.env[sharedIniFileLoader.ENV_PROFILE]; + if (profile) { + const envStaticCredentialsAreSet = process.env[credentialProviderEnv.ENV_KEY] && process.env[credentialProviderEnv.ENV_SECRET]; + if (envStaticCredentialsAreSet) { + if (!multipleCredentialSourceWarningEmitted) { + const warnFn = init.logger?.warn && init.logger?.constructor?.name !== "NoOpLogger" + ? init.logger.warn.bind(init.logger) + : console.warn; + warnFn(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING: + Multiple credential sources detected: + Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set. + This SDK will proceed with the AWS_PROFILE value. + + However, a future version may change this behavior to prefer the ENV static credentials. + Please ensure that your environment only sets either the AWS_PROFILE or the + AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair. +`); + multipleCredentialSourceWarningEmitted = true; + } + } + throw new propertyProvider.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", { + logger: init.logger, + tryNextLink: true, + }); + } + init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"); + return credentialProviderEnv.fromEnv(init)(); + }, + async (awsIdentityProperties) => { + init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO"); + const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init; + if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) { + throw new propertyProvider.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init.logger }); + } + const { fromSSO } = await import('@aws-sdk/credential-provider-sso'); + return fromSSO(init)(awsIdentityProperties); + }, + async (awsIdentityProperties) => { + init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni"); + const { fromIni } = await import('@aws-sdk/credential-provider-ini'); + return fromIni(init)(awsIdentityProperties); + }, + async (awsIdentityProperties) => { + init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess"); + const { fromProcess } = await import('@aws-sdk/credential-provider-process'); + return fromProcess(init)(awsIdentityProperties); + }, + async (awsIdentityProperties) => { + init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile"); + const { fromTokenFile } = await import('@aws-sdk/credential-provider-web-identity'); + return fromTokenFile(init)(awsIdentityProperties); + }, + async () => { + init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"); + return (await remoteProvider(init))(); + }, + async () => { + throw new propertyProvider.CredentialsProviderError("Could not load credentials from any providers", { + tryNextLink: false, + logger: init.logger, + }); + }, +], credentialsTreatedAsExpired); +const credentialsWillNeedRefresh = (credentials) => credentials?.expiration !== undefined; +const credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000; + +exports.credentialsTreatedAsExpired = credentialsTreatedAsExpired; +exports.credentialsWillNeedRefresh = credentialsWillNeedRefresh; +exports.defaultProvider = defaultProvider; diff --git a/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js b/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js new file mode 100644 index 0000000..092ff56 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js @@ -0,0 +1,73 @@ +import { ENV_KEY, ENV_SECRET, fromEnv } from "@aws-sdk/credential-provider-env"; +import { CredentialsProviderError } from "@smithy/property-provider"; +import { ENV_PROFILE } from "@smithy/shared-ini-file-loader"; +import { remoteProvider } from "./remoteProvider"; +import { memoizeChain } from "./runtime/memoize-chain"; +let multipleCredentialSourceWarningEmitted = false; +export const defaultProvider = (init = {}) => memoizeChain([ + async () => { + const profile = init.profile ?? process.env[ENV_PROFILE]; + if (profile) { + const envStaticCredentialsAreSet = process.env[ENV_KEY] && process.env[ENV_SECRET]; + if (envStaticCredentialsAreSet) { + if (!multipleCredentialSourceWarningEmitted) { + const warnFn = init.logger?.warn && init.logger?.constructor?.name !== "NoOpLogger" + ? init.logger.warn.bind(init.logger) + : console.warn; + warnFn(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING: + Multiple credential sources detected: + Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set. + This SDK will proceed with the AWS_PROFILE value. + + However, a future version may change this behavior to prefer the ENV static credentials. + Please ensure that your environment only sets either the AWS_PROFILE or the + AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair. +`); + multipleCredentialSourceWarningEmitted = true; + } + } + throw new CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", { + logger: init.logger, + tryNextLink: true, + }); + } + init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"); + return fromEnv(init)(); + }, + async (awsIdentityProperties) => { + init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO"); + const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init; + if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) { + throw new CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init.logger }); + } + const { fromSSO } = await import("@aws-sdk/credential-provider-sso"); + return fromSSO(init)(awsIdentityProperties); + }, + async (awsIdentityProperties) => { + init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni"); + const { fromIni } = await import("@aws-sdk/credential-provider-ini"); + return fromIni(init)(awsIdentityProperties); + }, + async (awsIdentityProperties) => { + init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess"); + const { fromProcess } = await import("@aws-sdk/credential-provider-process"); + return fromProcess(init)(awsIdentityProperties); + }, + async (awsIdentityProperties) => { + init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile"); + const { fromTokenFile } = await import("@aws-sdk/credential-provider-web-identity"); + return fromTokenFile(init)(awsIdentityProperties); + }, + async () => { + init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"); + return (await remoteProvider(init))(); + }, + async () => { + throw new CredentialsProviderError("Could not load credentials from any providers", { + tryNextLink: false, + logger: init.logger, + }); + }, +], credentialsTreatedAsExpired); +export const credentialsWillNeedRefresh = (credentials) => credentials?.expiration !== undefined; +export const credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000; diff --git a/node_modules/@aws-sdk/credential-provider-node/dist-es/index.js b/node_modules/@aws-sdk/credential-provider-node/dist-es/index.js new file mode 100644 index 0000000..c82818e --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-node/dist-es/index.js @@ -0,0 +1 @@ +export * from "./defaultProvider"; diff --git a/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js b/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js new file mode 100644 index 0000000..c455bc1 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js @@ -0,0 +1,17 @@ +import { chain, CredentialsProviderError } from "@smithy/property-provider"; +export const ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED"; +export const remoteProvider = async (init) => { + const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import("@smithy/credential-provider-imds"); + if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) { + init.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata"); + const { fromHttp } = await import("@aws-sdk/credential-provider-http"); + return chain(fromHttp(init), fromContainerMetadata(init)); + } + if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== "false") { + return async () => { + throw new CredentialsProviderError("EC2 Instance Metadata Service access disabled", { logger: init.logger }); + }; + } + init.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata"); + return fromInstanceMetadata(init); +}; diff --git a/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js b/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js new file mode 100644 index 0000000..741ddf0 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js @@ -0,0 +1,60 @@ +export function memoizeChain(providers, treatAsExpired) { + const chain = internalCreateChain(providers); + let activeLock; + let passiveLock; + let credentials; + const provider = async (options) => { + if (options?.forceRefresh) { + return await chain(options); + } + if (credentials?.expiration) { + if (credentials?.expiration?.getTime() < Date.now()) { + credentials = undefined; + } + } + if (activeLock) { + await activeLock; + } + else if (!credentials || treatAsExpired?.(credentials)) { + if (credentials) { + if (!passiveLock) { + passiveLock = chain(options) + .then((c) => { + credentials = c; + }) + .finally(() => { + passiveLock = undefined; + }); + } + } + else { + activeLock = chain(options) + .then((c) => { + credentials = c; + }) + .finally(() => { + activeLock = undefined; + }); + return provider(options); + } + } + return credentials; + }; + return provider; +} +export const internalCreateChain = (providers) => async (awsIdentityProperties) => { + let lastProviderError; + for (const provider of providers) { + try { + return await provider(awsIdentityProperties); + } + catch (err) { + lastProviderError = err; + if (err?.tryNextLink) { + continue; + } + throw err; + } + } + throw lastProviderError; +}; diff --git a/node_modules/@aws-sdk/credential-provider-node/dist-types/defaultProvider.d.ts b/node_modules/@aws-sdk/credential-provider-node/dist-types/defaultProvider.d.ts new file mode 100644 index 0000000..ed50dde --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-node/dist-types/defaultProvider.d.ts @@ -0,0 +1,59 @@ +import type { FromHttpOptions } from "@aws-sdk/credential-provider-http"; +import type { FromIniInit } from "@aws-sdk/credential-provider-ini"; +import type { FromProcessInit } from "@aws-sdk/credential-provider-process"; +import type { FromSSOInit, SsoCredentialsParameters } from "@aws-sdk/credential-provider-sso"; +import type { FromTokenFileInit } from "@aws-sdk/credential-provider-web-identity"; +import type { RemoteProviderInit } from "@smithy/credential-provider-imds"; +import type { AwsCredentialIdentity } from "@smithy/types"; +import { type MemoizedRuntimeConfigAwsCredentialIdentityProvider } from "./runtime/memoize-chain"; +/** + * @public + */ +export type DefaultProviderInit = FromIniInit & FromHttpOptions & RemoteProviderInit & FromProcessInit & (FromSSOInit & Partial) & FromTokenFileInit; +/** + * Creates a credential provider that will attempt to find credentials from the + * following sources (listed in order of precedence): + * * Environment variables exposed via `process.env` + * * SSO credentials from token cache + * * Web identity token credentials + * * Shared credentials and config ini files + * * The EC2/ECS Instance Metadata Service + * + * The default credential provider will invoke one provider at a time and only + * continue to the next if no credentials have been located. For example, if + * the process finds values defined via the `AWS_ACCESS_KEY_ID` and + * `AWS_SECRET_ACCESS_KEY` environment variables, the files at + * `~/.aws/credentials` and `~/.aws/config` will not be read, nor will any + * messages be sent to the Instance Metadata Service. + * + * @param init Configuration that is passed to each individual + * provider + * + * @see {@link fromEnv} The function used to source credentials from + * environment variables. + * @see {@link fromSSO} The function used to source credentials from + * resolved SSO token cache. + * @see {@link fromTokenFile} The function used to source credentials from + * token file. + * @see {@link fromIni} The function used to source credentials from INI + * files. + * @see {@link fromProcess} The function used to sources credentials from + * credential_process in INI files. + * @see {@link fromInstanceMetadata} The function used to source credentials from the + * EC2 Instance Metadata Service. + * @see {@link fromContainerMetadata} The function used to source credentials from the + * ECS Container Metadata Service. + */ +export declare const defaultProvider: (init?: DefaultProviderInit) => MemoizedRuntimeConfigAwsCredentialIdentityProvider; +/** + * @internal + * + * @returns credentials have expiration. + */ +export declare const credentialsWillNeedRefresh: (credentials: AwsCredentialIdentity) => boolean; +/** + * @internal + * + * @returns credentials with less than 5 minutes left. + */ +export declare const credentialsTreatedAsExpired: (credentials: AwsCredentialIdentity) => boolean; diff --git a/node_modules/@aws-sdk/credential-provider-node/dist-types/index.d.ts b/node_modules/@aws-sdk/credential-provider-node/dist-types/index.d.ts new file mode 100644 index 0000000..c82818e --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-node/dist-types/index.d.ts @@ -0,0 +1 @@ +export * from "./defaultProvider"; diff --git a/node_modules/@aws-sdk/credential-provider-node/dist-types/remoteProvider.d.ts b/node_modules/@aws-sdk/credential-provider-node/dist-types/remoteProvider.d.ts new file mode 100644 index 0000000..4022a4e --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-node/dist-types/remoteProvider.d.ts @@ -0,0 +1,11 @@ +import type { FromHttpOptions } from "@aws-sdk/credential-provider-http"; +import type { RemoteProviderInit } from "@smithy/credential-provider-imds"; +import type { AwsCredentialIdentityProvider } from "@smithy/types"; +/** + * @internal + */ +export declare const ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED"; +/** + * @internal + */ +export declare const remoteProvider: (init: RemoteProviderInit | FromHttpOptions) => Promise; diff --git a/node_modules/@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain.d.ts b/node_modules/@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain.d.ts new file mode 100644 index 0000000..63fa7b7 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain.d.ts @@ -0,0 +1,18 @@ +import type { AwsCredentialIdentity, AwsIdentityProperties, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types"; +/** + * Memoized provider chain for AWS credentials. + * The options are only reevaluated if forceRefresh=true is passed or a natural + * refresh occurs. + * + * @public + */ +export interface MemoizedRuntimeConfigAwsCredentialIdentityProvider { + (options?: AwsIdentityProperties & { + forceRefresh?: boolean; + }): Promise; +} +/** + * @internal + */ +export declare function memoizeChain(providers: RuntimeConfigAwsCredentialIdentityProvider[], treatAsExpired: (resolved: AwsCredentialIdentity) => boolean): MemoizedRuntimeConfigAwsCredentialIdentityProvider; +export declare const internalCreateChain: (providers: RuntimeConfigAwsCredentialIdentityProvider[]) => RuntimeConfigAwsCredentialIdentityProvider; diff --git a/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/defaultProvider.d.ts b/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/defaultProvider.d.ts new file mode 100644 index 0000000..a8711c0 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/defaultProvider.d.ts @@ -0,0 +1,26 @@ +import { FromHttpOptions } from "@aws-sdk/credential-provider-http"; +import { FromIniInit } from "@aws-sdk/credential-provider-ini"; +import { FromProcessInit } from "@aws-sdk/credential-provider-process"; +import { + FromSSOInit, + SsoCredentialsParameters, +} from "@aws-sdk/credential-provider-sso"; +import { FromTokenFileInit } from "@aws-sdk/credential-provider-web-identity"; +import { RemoteProviderInit } from "@smithy/credential-provider-imds"; +import { AwsCredentialIdentity } from "@smithy/types"; +import { MemoizedRuntimeConfigAwsCredentialIdentityProvider } from "./runtime/memoize-chain"; +export type DefaultProviderInit = FromIniInit & + FromHttpOptions & + RemoteProviderInit & + FromProcessInit & + (FromSSOInit & Partial) & + FromTokenFileInit; +export declare const defaultProvider: ( + init?: DefaultProviderInit +) => MemoizedRuntimeConfigAwsCredentialIdentityProvider; +export declare const credentialsWillNeedRefresh: ( + credentials: AwsCredentialIdentity +) => boolean; +export declare const credentialsTreatedAsExpired: ( + credentials: AwsCredentialIdentity +) => boolean; diff --git a/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..c82818e --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/index.d.ts @@ -0,0 +1 @@ +export * from "./defaultProvider"; diff --git a/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/remoteProvider.d.ts b/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/remoteProvider.d.ts new file mode 100644 index 0000000..90948cc --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/remoteProvider.d.ts @@ -0,0 +1,7 @@ +import { FromHttpOptions } from "@aws-sdk/credential-provider-http"; +import { RemoteProviderInit } from "@smithy/credential-provider-imds"; +import { AwsCredentialIdentityProvider } from "@smithy/types"; +export declare const ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED"; +export declare const remoteProvider: ( + init: RemoteProviderInit | FromHttpOptions +) => Promise; diff --git a/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/runtime/memoize-chain.d.ts b/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/runtime/memoize-chain.d.ts new file mode 100644 index 0000000..dc72157 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/runtime/memoize-chain.d.ts @@ -0,0 +1,19 @@ +import { + AwsCredentialIdentity, + AwsIdentityProperties, + RuntimeConfigAwsCredentialIdentityProvider, +} from "@aws-sdk/types"; +export interface MemoizedRuntimeConfigAwsCredentialIdentityProvider { + ( + options?: AwsIdentityProperties & { + forceRefresh?: boolean; + } + ): Promise; +} +export declare function memoizeChain( + providers: RuntimeConfigAwsCredentialIdentityProvider[], + treatAsExpired: (resolved: AwsCredentialIdentity) => boolean +): MemoizedRuntimeConfigAwsCredentialIdentityProvider; +export declare const internalCreateChain: ( + providers: RuntimeConfigAwsCredentialIdentityProvider[] +) => RuntimeConfigAwsCredentialIdentityProvider; diff --git a/node_modules/@aws-sdk/credential-provider-node/package.json b/node_modules/@aws-sdk/credential-provider-node/package.json new file mode 100644 index 0000000..da0bfc9 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-node/package.json @@ -0,0 +1,72 @@ +{ + "name": "@aws-sdk/credential-provider-node", + "version": "3.972.29", + "description": "AWS credential provider that sources credentials from a Node.JS environment. ", + "engines": { + "node": ">=20.0.0" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline credential-provider-node", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run --reporter verbose", + "test:watch": "yarn g:vitest watch", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "keywords": [ + "aws", + "credentials" + ], + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/credential-provider-env": "^3.972.24", + "@aws-sdk/credential-provider-http": "^3.972.26", + "@aws-sdk/credential-provider-ini": "^3.972.28", + "@aws-sdk/credential-provider-process": "^3.972.24", + "@aws-sdk/credential-provider-sso": "^3.972.28", + "@aws-sdk/credential-provider-web-identity": "^3.972.28", + "@aws-sdk/types": "^3.973.6", + "@smithy/credential-provider-imds": "^4.2.12", + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "@types/node": "^20.14.8", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "types": "./dist-types/index.d.ts", + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/credential-provider-node", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/credential-provider-node" + } +} diff --git a/node_modules/@aws-sdk/credential-provider-process/LICENSE b/node_modules/@aws-sdk/credential-provider-process/LICENSE new file mode 100644 index 0000000..f9a6673 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-process/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-sdk/credential-provider-process/README.md b/node_modules/@aws-sdk/credential-provider-process/README.md new file mode 100644 index 0000000..4d47cd2 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-process/README.md @@ -0,0 +1,20 @@ +# @aws-sdk/credential-provider-process + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/credential-provider-process/latest.svg)](https://www.npmjs.com/package/@aws-sdk/credential-provider-process) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/credential-provider-process.svg)](https://www.npmjs.com/package/@aws-sdk/credential-provider-process) + +### :warning: Internal API :warning: + +> This is an internal package. +> That means this is used as a dependency for other, public packages, but +> should not be taken directly as a dependency in your application's `package.json`. + +> If you are updating the version of this package, for example to bring in a +> bug-fix, you should do so by updating your application lockfile with +> e.g. `npm up @scope/package` or equivalent command in another +> package manager, rather than taking a direct dependency. + +--- + +Please use [@aws-sdk/credential-providers](https://www.npmjs.com/package/@aws-sdk/credential-providers) +instead. diff --git a/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js b/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js new file mode 100644 index 0000000..899fefb --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js @@ -0,0 +1,79 @@ +'use strict'; + +var sharedIniFileLoader = require('@smithy/shared-ini-file-loader'); +var propertyProvider = require('@smithy/property-provider'); +var node_child_process = require('node:child_process'); +var node_util = require('node:util'); +var client = require('@aws-sdk/core/client'); + +const getValidatedProcessCredentials = (profileName, data, profiles) => { + if (data.Version !== 1) { + throw Error(`Profile ${profileName} credential_process did not return Version 1.`); + } + if (data.AccessKeyId === undefined || data.SecretAccessKey === undefined) { + throw Error(`Profile ${profileName} credential_process returned invalid credentials.`); + } + if (data.Expiration) { + const currentTime = new Date(); + const expireTime = new Date(data.Expiration); + if (expireTime < currentTime) { + throw Error(`Profile ${profileName} credential_process returned expired credentials.`); + } + } + let accountId = data.AccountId; + if (!accountId && profiles?.[profileName]?.aws_account_id) { + accountId = profiles[profileName].aws_account_id; + } + const credentials = { + accessKeyId: data.AccessKeyId, + secretAccessKey: data.SecretAccessKey, + ...(data.SessionToken && { sessionToken: data.SessionToken }), + ...(data.Expiration && { expiration: new Date(data.Expiration) }), + ...(data.CredentialScope && { credentialScope: data.CredentialScope }), + ...(accountId && { accountId }), + }; + client.setCredentialFeature(credentials, "CREDENTIALS_PROCESS", "w"); + return credentials; +}; + +const resolveProcessCredentials = async (profileName, profiles, logger) => { + const profile = profiles[profileName]; + if (profiles[profileName]) { + const credentialProcess = profile["credential_process"]; + if (credentialProcess !== undefined) { + const execPromise = node_util.promisify(sharedIniFileLoader.externalDataInterceptor?.getTokenRecord?.().exec ?? node_child_process.exec); + try { + const { stdout } = await execPromise(credentialProcess); + let data; + try { + data = JSON.parse(stdout.trim()); + } + catch { + throw Error(`Profile ${profileName} credential_process returned invalid JSON.`); + } + return getValidatedProcessCredentials(profileName, data, profiles); + } + catch (error) { + throw new propertyProvider.CredentialsProviderError(error.message, { logger }); + } + } + else { + throw new propertyProvider.CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`, { logger }); + } + } + else { + throw new propertyProvider.CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`, { + logger, + }); + } +}; + +const fromProcess = (init = {}) => async ({ callerClientConfig } = {}) => { + init.logger?.debug("@aws-sdk/credential-provider-process - fromProcess"); + const profiles = await sharedIniFileLoader.parseKnownFiles(init); + return resolveProcessCredentials(sharedIniFileLoader.getProfileName({ + profile: init.profile ?? callerClientConfig?.profile, + }), profiles, init.logger); +}; + +exports.fromProcess = fromProcess; diff --git a/node_modules/@aws-sdk/credential-provider-process/dist-es/ProcessCredentials.js b/node_modules/@aws-sdk/credential-provider-process/dist-es/ProcessCredentials.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-process/dist-es/ProcessCredentials.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js b/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js new file mode 100644 index 0000000..9e1e800 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js @@ -0,0 +1,9 @@ +import { getProfileName, parseKnownFiles } from "@smithy/shared-ini-file-loader"; +import { resolveProcessCredentials } from "./resolveProcessCredentials"; +export const fromProcess = (init = {}) => async ({ callerClientConfig } = {}) => { + init.logger?.debug("@aws-sdk/credential-provider-process - fromProcess"); + const profiles = await parseKnownFiles(init); + return resolveProcessCredentials(getProfileName({ + profile: init.profile ?? callerClientConfig?.profile, + }), profiles, init.logger); +}; diff --git a/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js b/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js new file mode 100644 index 0000000..caa0dd1 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js @@ -0,0 +1,30 @@ +import { setCredentialFeature } from "@aws-sdk/core/client"; +export const getValidatedProcessCredentials = (profileName, data, profiles) => { + if (data.Version !== 1) { + throw Error(`Profile ${profileName} credential_process did not return Version 1.`); + } + if (data.AccessKeyId === undefined || data.SecretAccessKey === undefined) { + throw Error(`Profile ${profileName} credential_process returned invalid credentials.`); + } + if (data.Expiration) { + const currentTime = new Date(); + const expireTime = new Date(data.Expiration); + if (expireTime < currentTime) { + throw Error(`Profile ${profileName} credential_process returned expired credentials.`); + } + } + let accountId = data.AccountId; + if (!accountId && profiles?.[profileName]?.aws_account_id) { + accountId = profiles[profileName].aws_account_id; + } + const credentials = { + accessKeyId: data.AccessKeyId, + secretAccessKey: data.SecretAccessKey, + ...(data.SessionToken && { sessionToken: data.SessionToken }), + ...(data.Expiration && { expiration: new Date(data.Expiration) }), + ...(data.CredentialScope && { credentialScope: data.CredentialScope }), + ...(accountId && { accountId }), + }; + setCredentialFeature(credentials, "CREDENTIALS_PROCESS", "w"); + return credentials; +}; diff --git a/node_modules/@aws-sdk/credential-provider-process/dist-es/index.js b/node_modules/@aws-sdk/credential-provider-process/dist-es/index.js new file mode 100644 index 0000000..b921d35 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-process/dist-es/index.js @@ -0,0 +1 @@ +export * from "./fromProcess"; diff --git a/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js b/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js new file mode 100644 index 0000000..d3bc161 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js @@ -0,0 +1,36 @@ +import { CredentialsProviderError } from "@smithy/property-provider"; +import { externalDataInterceptor } from "@smithy/shared-ini-file-loader"; +import { exec } from "node:child_process"; +import { promisify } from "node:util"; +import { getValidatedProcessCredentials } from "./getValidatedProcessCredentials"; +export const resolveProcessCredentials = async (profileName, profiles, logger) => { + const profile = profiles[profileName]; + if (profiles[profileName]) { + const credentialProcess = profile["credential_process"]; + if (credentialProcess !== undefined) { + const execPromise = promisify(externalDataInterceptor?.getTokenRecord?.().exec ?? exec); + try { + const { stdout } = await execPromise(credentialProcess); + let data; + try { + data = JSON.parse(stdout.trim()); + } + catch { + throw Error(`Profile ${profileName} credential_process returned invalid JSON.`); + } + return getValidatedProcessCredentials(profileName, data, profiles); + } + catch (error) { + throw new CredentialsProviderError(error.message, { logger }); + } + } + else { + throw new CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`, { logger }); + } + } + else { + throw new CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`, { + logger, + }); + } +}; diff --git a/node_modules/@aws-sdk/credential-provider-process/dist-types/ProcessCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-process/dist-types/ProcessCredentials.d.ts new file mode 100644 index 0000000..a4e6b46 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-process/dist-types/ProcessCredentials.d.ts @@ -0,0 +1,12 @@ +/** + * @internal + */ +export type ProcessCredentials = { + Version: number; + AccessKeyId: string; + SecretAccessKey: string; + SessionToken?: string; + Expiration?: number; + CredentialScope?: string; + AccountId?: string; +}; diff --git a/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts b/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts new file mode 100644 index 0000000..ec73f39 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts @@ -0,0 +1,14 @@ +import type { CredentialProviderOptions, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types"; +import type { SourceProfileInit } from "@smithy/shared-ini-file-loader"; +/** + * @internal + */ +export interface FromProcessInit extends SourceProfileInit, CredentialProviderOptions { +} +/** + * @internal + * + * Creates a credential provider that will read from a credential_process specified + * in ini files. + */ +export declare const fromProcess: (init?: FromProcessInit) => RuntimeConfigAwsCredentialIdentityProvider; diff --git a/node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts new file mode 100644 index 0000000..d3faa05 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts @@ -0,0 +1,6 @@ +import type { AwsCredentialIdentity, ParsedIniData } from "@smithy/types"; +import type { ProcessCredentials } from "./ProcessCredentials"; +/** + * @internal + */ +export declare const getValidatedProcessCredentials: (profileName: string, data: ProcessCredentials, profiles: ParsedIniData) => AwsCredentialIdentity; diff --git a/node_modules/@aws-sdk/credential-provider-process/dist-types/index.d.ts b/node_modules/@aws-sdk/credential-provider-process/dist-types/index.d.ts new file mode 100644 index 0000000..adad939 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-process/dist-types/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export * from "./fromProcess"; diff --git a/node_modules/@aws-sdk/credential-provider-process/dist-types/resolveProcessCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-process/dist-types/resolveProcessCredentials.d.ts new file mode 100644 index 0000000..cd4b76f --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-process/dist-types/resolveProcessCredentials.d.ts @@ -0,0 +1,5 @@ +import type { AwsCredentialIdentity, Logger, ParsedIniData } from "@smithy/types"; +/** + * @internal + */ +export declare const resolveProcessCredentials: (profileName: string, profiles: ParsedIniData, logger?: Logger) => Promise; diff --git a/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/ProcessCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/ProcessCredentials.d.ts new file mode 100644 index 0000000..45acf5e --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/ProcessCredentials.d.ts @@ -0,0 +1,9 @@ +export type ProcessCredentials = { + Version: number; + AccessKeyId: string; + SecretAccessKey: string; + SessionToken?: string; + Expiration?: number; + CredentialScope?: string; + AccountId?: string; +}; diff --git a/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/fromProcess.d.ts b/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/fromProcess.d.ts new file mode 100644 index 0000000..8e39656 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/fromProcess.d.ts @@ -0,0 +1,11 @@ +import { + CredentialProviderOptions, + RuntimeConfigAwsCredentialIdentityProvider, +} from "@aws-sdk/types"; +import { SourceProfileInit } from "@smithy/shared-ini-file-loader"; +export interface FromProcessInit + extends SourceProfileInit, + CredentialProviderOptions {} +export declare const fromProcess: ( + init?: FromProcessInit +) => RuntimeConfigAwsCredentialIdentityProvider; diff --git a/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/getValidatedProcessCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/getValidatedProcessCredentials.d.ts new file mode 100644 index 0000000..f44c81c --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/getValidatedProcessCredentials.d.ts @@ -0,0 +1,7 @@ +import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types"; +import { ProcessCredentials } from "./ProcessCredentials"; +export declare const getValidatedProcessCredentials: ( + profileName: string, + data: ProcessCredentials, + profiles: ParsedIniData +) => AwsCredentialIdentity; diff --git a/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..b921d35 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/index.d.ts @@ -0,0 +1 @@ +export * from "./fromProcess"; diff --git a/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/resolveProcessCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/resolveProcessCredentials.d.ts new file mode 100644 index 0000000..a204db4 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/resolveProcessCredentials.d.ts @@ -0,0 +1,6 @@ +import { AwsCredentialIdentity, Logger, ParsedIniData } from "@smithy/types"; +export declare const resolveProcessCredentials: ( + profileName: string, + profiles: ParsedIniData, + logger?: Logger +) => Promise; diff --git a/node_modules/@aws-sdk/credential-provider-process/package.json b/node_modules/@aws-sdk/credential-provider-process/package.json new file mode 100644 index 0000000..45c109f --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-process/package.json @@ -0,0 +1,64 @@ +{ + "name": "@aws-sdk/credential-provider-process", + "version": "3.972.24", + "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline credential-provider-process", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "keywords": [ + "aws", + "credentials" + ], + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/types": "^3.973.6", + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "@types/node": "^20.14.8", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/credential-provider-process", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/credential-provider-process" + } +} diff --git a/node_modules/@aws-sdk/credential-provider-sso/LICENSE b/node_modules/@aws-sdk/credential-provider-sso/LICENSE new file mode 100644 index 0000000..f9a6673 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-sdk/credential-provider-sso/README.md b/node_modules/@aws-sdk/credential-provider-sso/README.md new file mode 100644 index 0000000..f5b7623 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/README.md @@ -0,0 +1,20 @@ +# @aws-sdk/credential-provider-sso + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/credential-provider-sso/latest.svg)](https://www.npmjs.com/package/@aws-sdk/credential-provider-sso) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/credential-provider-sso.svg)](https://www.npmjs.com/package/@aws-sdk/credential-provider-sso) + +### :warning: Internal API :warning: + +> This is an internal package. +> That means this is used as a dependency for other, public packages, but +> should not be taken directly as a dependency in your application's `package.json`. + +> If you are updating the version of this package, for example to bring in a +> bug-fix, you should do so by updating your application lockfile with +> e.g. `npm up @scope/package` or equivalent command in another +> package manager, rather than taking a direct dependency. + +--- + +Please use [@aws-sdk/credential-providers](https://www.npmjs.com/package/@aws-sdk/credential-providers) +instead. diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js b/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js new file mode 100644 index 0000000..85d3612 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js @@ -0,0 +1,192 @@ +'use strict'; + +var propertyProvider = require('@smithy/property-provider'); +var sharedIniFileLoader = require('@smithy/shared-ini-file-loader'); +var client = require('@aws-sdk/core/client'); +var tokenProviders = require('@aws-sdk/token-providers'); + +const isSsoProfile = (arg) => arg && + (typeof arg.sso_start_url === "string" || + typeof arg.sso_account_id === "string" || + typeof arg.sso_session === "string" || + typeof arg.sso_region === "string" || + typeof arg.sso_role_name === "string"); + +const SHOULD_FAIL_CREDENTIAL_CHAIN = false; +const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, callerClientConfig, profile, filepath, configFilepath, ignoreCache, logger, }) => { + let token; + const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`; + if (ssoSession) { + try { + const _token = await tokenProviders.fromSso({ + profile, + filepath, + configFilepath, + ignoreCache, + })(); + token = { + accessToken: _token.token, + expiresAt: new Date(_token.expiration).toISOString(), + }; + } + catch (e) { + throw new propertyProvider.CredentialsProviderError(e.message, { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger, + }); + } + } + else { + try { + token = await sharedIniFileLoader.getSSOTokenFromFile(ssoStartUrl); + } + catch (e) { + throw new propertyProvider.CredentialsProviderError(`The SSO session associated with this profile is invalid. ${refreshMessage}`, { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger, + }); + } + } + if (new Date(token.expiresAt).getTime() - Date.now() <= 0) { + throw new propertyProvider.CredentialsProviderError(`The SSO session associated with this profile has expired. ${refreshMessage}`, { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger, + }); + } + const { accessToken } = token; + const { SSOClient, GetRoleCredentialsCommand } = await Promise.resolve().then(function () { return require('./loadSso-BKDNrsal.js'); }); + const sso = ssoClient || + new SSOClient(Object.assign({}, clientConfig ?? {}, { + logger: clientConfig?.logger ?? callerClientConfig?.logger ?? parentClientConfig?.logger, + region: clientConfig?.region ?? ssoRegion, + userAgentAppId: clientConfig?.userAgentAppId ?? callerClientConfig?.userAgentAppId ?? parentClientConfig?.userAgentAppId, + })); + let ssoResp; + try { + ssoResp = await sso.send(new GetRoleCredentialsCommand({ + accountId: ssoAccountId, + roleName: ssoRoleName, + accessToken, + })); + } + catch (e) { + throw new propertyProvider.CredentialsProviderError(e, { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger, + }); + } + const { roleCredentials: { accessKeyId, secretAccessKey, sessionToken, expiration, credentialScope, accountId } = {}, } = ssoResp; + if (!accessKeyId || !secretAccessKey || !sessionToken || !expiration) { + throw new propertyProvider.CredentialsProviderError("SSO returns an invalid temporary credential.", { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger, + }); + } + const credentials = { + accessKeyId, + secretAccessKey, + sessionToken, + expiration: new Date(expiration), + ...(credentialScope && { credentialScope }), + ...(accountId && { accountId }), + }; + if (ssoSession) { + client.setCredentialFeature(credentials, "CREDENTIALS_SSO", "s"); + } + else { + client.setCredentialFeature(credentials, "CREDENTIALS_SSO_LEGACY", "u"); + } + return credentials; +}; + +const validateSsoProfile = (profile, logger) => { + const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile; + if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) { + throw new propertyProvider.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", ` + + `"sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(profile).join(", ")}\nReference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`, { tryNextLink: false, logger }); + } + return profile; +}; + +const fromSSO = (init = {}) => async ({ callerClientConfig } = {}) => { + init.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO"); + const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init; + const { ssoClient } = init; + const profileName = sharedIniFileLoader.getProfileName({ + profile: init.profile ?? callerClientConfig?.profile, + }); + if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) { + const profiles = await sharedIniFileLoader.parseKnownFiles(init); + const profile = profiles[profileName]; + if (!profile) { + throw new propertyProvider.CredentialsProviderError(`Profile ${profileName} was not found.`, { logger: init.logger }); + } + if (!isSsoProfile(profile)) { + throw new propertyProvider.CredentialsProviderError(`Profile ${profileName} is not configured with SSO credentials.`, { + logger: init.logger, + }); + } + if (profile?.sso_session) { + const ssoSessions = await sharedIniFileLoader.loadSsoSessionData(init); + const session = ssoSessions[profile.sso_session]; + const conflictMsg = ` configurations in profile ${profileName} and sso-session ${profile.sso_session}`; + if (ssoRegion && ssoRegion !== session.sso_region) { + throw new propertyProvider.CredentialsProviderError(`Conflicting SSO region` + conflictMsg, { + tryNextLink: false, + logger: init.logger, + }); + } + if (ssoStartUrl && ssoStartUrl !== session.sso_start_url) { + throw new propertyProvider.CredentialsProviderError(`Conflicting SSO start_url` + conflictMsg, { + tryNextLink: false, + logger: init.logger, + }); + } + profile.sso_region = session.sso_region; + profile.sso_start_url = session.sso_start_url; + } + const { sso_start_url, sso_account_id, sso_region, sso_role_name, sso_session } = validateSsoProfile(profile, init.logger); + return resolveSSOCredentials({ + ssoStartUrl: sso_start_url, + ssoSession: sso_session, + ssoAccountId: sso_account_id, + ssoRegion: sso_region, + ssoRoleName: sso_role_name, + ssoClient: ssoClient, + clientConfig: init.clientConfig, + parentClientConfig: init.parentClientConfig, + callerClientConfig: init.callerClientConfig, + profile: profileName, + filepath: init.filepath, + configFilepath: init.configFilepath, + ignoreCache: init.ignoreCache, + logger: init.logger, + }); + } + else if (!ssoStartUrl || !ssoAccountId || !ssoRegion || !ssoRoleName) { + throw new propertyProvider.CredentialsProviderError("Incomplete configuration. The fromSSO() argument hash must include " + + '"ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"', { tryNextLink: false, logger: init.logger }); + } + else { + return resolveSSOCredentials({ + ssoStartUrl, + ssoSession, + ssoAccountId, + ssoRegion, + ssoRoleName, + ssoClient, + clientConfig: init.clientConfig, + parentClientConfig: init.parentClientConfig, + callerClientConfig: init.callerClientConfig, + profile: profileName, + filepath: init.filepath, + configFilepath: init.configFilepath, + ignoreCache: init.ignoreCache, + logger: init.logger, + }); + } +}; + +exports.fromSSO = fromSSO; +exports.isSsoProfile = isSsoProfile; +exports.validateSsoProfile = validateSsoProfile; diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js b/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js new file mode 100644 index 0000000..f2e8e97 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js @@ -0,0 +1,8 @@ +'use strict'; + +var sso = require('@aws-sdk/nested-clients/sso'); + + + +exports.GetRoleCredentialsCommand = sso.GetRoleCredentialsCommand; +exports.SSOClient = sso.SSOClient; diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js b/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js new file mode 100644 index 0000000..60daab1 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js @@ -0,0 +1,83 @@ +import { CredentialsProviderError } from "@smithy/property-provider"; +import { getProfileName, loadSsoSessionData, parseKnownFiles } from "@smithy/shared-ini-file-loader"; +import { isSsoProfile } from "./isSsoProfile"; +import { resolveSSOCredentials } from "./resolveSSOCredentials"; +import { validateSsoProfile } from "./validateSsoProfile"; +export const fromSSO = (init = {}) => async ({ callerClientConfig } = {}) => { + init.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO"); + const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init; + const { ssoClient } = init; + const profileName = getProfileName({ + profile: init.profile ?? callerClientConfig?.profile, + }); + if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) { + const profiles = await parseKnownFiles(init); + const profile = profiles[profileName]; + if (!profile) { + throw new CredentialsProviderError(`Profile ${profileName} was not found.`, { logger: init.logger }); + } + if (!isSsoProfile(profile)) { + throw new CredentialsProviderError(`Profile ${profileName} is not configured with SSO credentials.`, { + logger: init.logger, + }); + } + if (profile?.sso_session) { + const ssoSessions = await loadSsoSessionData(init); + const session = ssoSessions[profile.sso_session]; + const conflictMsg = ` configurations in profile ${profileName} and sso-session ${profile.sso_session}`; + if (ssoRegion && ssoRegion !== session.sso_region) { + throw new CredentialsProviderError(`Conflicting SSO region` + conflictMsg, { + tryNextLink: false, + logger: init.logger, + }); + } + if (ssoStartUrl && ssoStartUrl !== session.sso_start_url) { + throw new CredentialsProviderError(`Conflicting SSO start_url` + conflictMsg, { + tryNextLink: false, + logger: init.logger, + }); + } + profile.sso_region = session.sso_region; + profile.sso_start_url = session.sso_start_url; + } + const { sso_start_url, sso_account_id, sso_region, sso_role_name, sso_session } = validateSsoProfile(profile, init.logger); + return resolveSSOCredentials({ + ssoStartUrl: sso_start_url, + ssoSession: sso_session, + ssoAccountId: sso_account_id, + ssoRegion: sso_region, + ssoRoleName: sso_role_name, + ssoClient: ssoClient, + clientConfig: init.clientConfig, + parentClientConfig: init.parentClientConfig, + callerClientConfig: init.callerClientConfig, + profile: profileName, + filepath: init.filepath, + configFilepath: init.configFilepath, + ignoreCache: init.ignoreCache, + logger: init.logger, + }); + } + else if (!ssoStartUrl || !ssoAccountId || !ssoRegion || !ssoRoleName) { + throw new CredentialsProviderError("Incomplete configuration. The fromSSO() argument hash must include " + + '"ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"', { tryNextLink: false, logger: init.logger }); + } + else { + return resolveSSOCredentials({ + ssoStartUrl, + ssoSession, + ssoAccountId, + ssoRegion, + ssoRoleName, + ssoClient, + clientConfig: init.clientConfig, + parentClientConfig: init.parentClientConfig, + callerClientConfig: init.callerClientConfig, + profile: profileName, + filepath: init.filepath, + configFilepath: init.configFilepath, + ignoreCache: init.ignoreCache, + logger: init.logger, + }); + } +}; diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-es/index.js b/node_modules/@aws-sdk/credential-provider-sso/dist-es/index.js new file mode 100644 index 0000000..7215fb6 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-es/index.js @@ -0,0 +1,4 @@ +export * from "./fromSSO"; +export * from "./isSsoProfile"; +export * from "./types"; +export * from "./validateSsoProfile"; diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-es/isSsoProfile.js b/node_modules/@aws-sdk/credential-provider-sso/dist-es/isSsoProfile.js new file mode 100644 index 0000000..e655438 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-es/isSsoProfile.js @@ -0,0 +1,6 @@ +export const isSsoProfile = (arg) => arg && + (typeof arg.sso_start_url === "string" || + typeof arg.sso_account_id === "string" || + typeof arg.sso_session === "string" || + typeof arg.sso_region === "string" || + typeof arg.sso_role_name === "string"); diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js b/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js new file mode 100644 index 0000000..67d9d9c --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js @@ -0,0 +1,2 @@ +import { GetRoleCredentialsCommand, SSOClient } from "@aws-sdk/nested-clients/sso"; +export { GetRoleCredentialsCommand, SSOClient }; diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js b/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js new file mode 100644 index 0000000..71b54b8 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js @@ -0,0 +1,90 @@ +import { setCredentialFeature } from "@aws-sdk/core/client"; +import { fromSso as getSsoTokenProvider } from "@aws-sdk/token-providers"; +import { CredentialsProviderError } from "@smithy/property-provider"; +import { getSSOTokenFromFile } from "@smithy/shared-ini-file-loader"; +const SHOULD_FAIL_CREDENTIAL_CHAIN = false; +export const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, callerClientConfig, profile, filepath, configFilepath, ignoreCache, logger, }) => { + let token; + const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`; + if (ssoSession) { + try { + const _token = await getSsoTokenProvider({ + profile, + filepath, + configFilepath, + ignoreCache, + })(); + token = { + accessToken: _token.token, + expiresAt: new Date(_token.expiration).toISOString(), + }; + } + catch (e) { + throw new CredentialsProviderError(e.message, { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger, + }); + } + } + else { + try { + token = await getSSOTokenFromFile(ssoStartUrl); + } + catch (e) { + throw new CredentialsProviderError(`The SSO session associated with this profile is invalid. ${refreshMessage}`, { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger, + }); + } + } + if (new Date(token.expiresAt).getTime() - Date.now() <= 0) { + throw new CredentialsProviderError(`The SSO session associated with this profile has expired. ${refreshMessage}`, { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger, + }); + } + const { accessToken } = token; + const { SSOClient, GetRoleCredentialsCommand } = await import("./loadSso"); + const sso = ssoClient || + new SSOClient(Object.assign({}, clientConfig ?? {}, { + logger: clientConfig?.logger ?? callerClientConfig?.logger ?? parentClientConfig?.logger, + region: clientConfig?.region ?? ssoRegion, + userAgentAppId: clientConfig?.userAgentAppId ?? callerClientConfig?.userAgentAppId ?? parentClientConfig?.userAgentAppId, + })); + let ssoResp; + try { + ssoResp = await sso.send(new GetRoleCredentialsCommand({ + accountId: ssoAccountId, + roleName: ssoRoleName, + accessToken, + })); + } + catch (e) { + throw new CredentialsProviderError(e, { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger, + }); + } + const { roleCredentials: { accessKeyId, secretAccessKey, sessionToken, expiration, credentialScope, accountId } = {}, } = ssoResp; + if (!accessKeyId || !secretAccessKey || !sessionToken || !expiration) { + throw new CredentialsProviderError("SSO returns an invalid temporary credential.", { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger, + }); + } + const credentials = { + accessKeyId, + secretAccessKey, + sessionToken, + expiration: new Date(expiration), + ...(credentialScope && { credentialScope }), + ...(accountId && { accountId }), + }; + if (ssoSession) { + setCredentialFeature(credentials, "CREDENTIALS_SSO", "s"); + } + else { + setCredentialFeature(credentials, "CREDENTIALS_SSO_LEGACY", "u"); + } + return credentials; +}; diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-es/types.js b/node_modules/@aws-sdk/credential-provider-sso/dist-es/types.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-es/types.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js b/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js new file mode 100644 index 0000000..94174b6 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js @@ -0,0 +1,9 @@ +import { CredentialsProviderError } from "@smithy/property-provider"; +export const validateSsoProfile = (profile, logger) => { + const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile; + if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) { + throw new CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", ` + + `"sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(profile).join(", ")}\nReference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`, { tryNextLink: false, logger }); + } + return profile; +}; diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts b/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts new file mode 100644 index 0000000..76747b6 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts @@ -0,0 +1,69 @@ +import type { AwsIdentityProperties, CredentialProviderOptions, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types"; +import type { SourceProfileInit } from "@smithy/shared-ini-file-loader"; +import type { SSOClient, SSOClientConfig } from "./loadSso"; +/** + * @internal + */ +export interface SsoCredentialsParameters { + /** + * The URL to the AWS SSO service. + */ + ssoStartUrl: string; + /** + * SSO session identifier. + * Presence implies usage of the SSOTokenProvider. + */ + ssoSession?: string; + /** + * The ID of the AWS account to use for temporary credentials. + */ + ssoAccountId: string; + /** + * The AWS region to use for temporary credentials. + */ + ssoRegion: string; + /** + * The name of the AWS role to assume. + */ + ssoRoleName: string; +} +/** + * @internal + */ +export interface FromSSOInit extends SourceProfileInit, CredentialProviderOptions { + ssoClient?: SSOClient; + clientConfig?: SSOClientConfig; + callerClientConfig?: AwsIdentityProperties["callerClientConfig"]; +} +/** + * @internal + * + * Creates a credential provider that will read from a credential_process specified + * in ini files. + * + * The SSO credential provider must support both + * + * 1. the legacy profile format, + * @example + * ``` + * [profile sample-profile] + * sso_account_id = 012345678901 + * sso_region = us-east-1 + * sso_role_name = SampleRole + * sso_start_url = https://www.....com/start + * ``` + * + * 2. and the profile format for SSO Token Providers. + * @example + * ``` + * [profile sso-profile] + * sso_session = dev + * sso_account_id = 012345678901 + * sso_role_name = SampleRole + * + * [sso-session dev] + * sso_region = us-east-1 + * sso_start_url = https://www.....com/start + * ``` + */ +export declare const fromSSO: (init?: FromSSOInit & Partial) => RuntimeConfigAwsCredentialIdentityProvider; diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-types/index.d.ts b/node_modules/@aws-sdk/credential-provider-sso/dist-types/index.d.ts new file mode 100644 index 0000000..d851c15 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-types/index.d.ts @@ -0,0 +1,16 @@ +/** + * @internal + */ +export * from "./fromSSO"; +/** + * @internal + */ +export * from "./isSsoProfile"; +/** + * @internal + */ +export * from "./types"; +/** + * @internal + */ +export * from "./validateSsoProfile"; diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-types/isSsoProfile.d.ts b/node_modules/@aws-sdk/credential-provider-sso/dist-types/isSsoProfile.d.ts new file mode 100644 index 0000000..f627420 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-types/isSsoProfile.d.ts @@ -0,0 +1,6 @@ +import type { Profile } from "@smithy/types"; +import type { SsoProfile } from "./types"; +/** + * @internal + */ +export declare const isSsoProfile: (arg: Profile) => arg is Partial; diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-types/loadSso.d.ts b/node_modules/@aws-sdk/credential-provider-sso/dist-types/loadSso.d.ts new file mode 100644 index 0000000..182bec1 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-types/loadSso.d.ts @@ -0,0 +1,3 @@ +import { GetRoleCredentialsCommand, SSOClient } from "@aws-sdk/nested-clients/sso"; +export { GetRoleCredentialsCommand, SSOClient }; +export type { SSOClientConfig, GetRoleCredentialsCommandOutput } from "@aws-sdk/nested-clients/sso"; diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts new file mode 100644 index 0000000..f395deb --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts @@ -0,0 +1,6 @@ +import type { AwsCredentialIdentity } from "@smithy/types"; +import type { FromSSOInit, SsoCredentialsParameters } from "./fromSSO"; +/** + * @internal + */ +export declare const resolveSSOCredentials: ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, callerClientConfig, profile, filepath, configFilepath, ignoreCache, logger, }: FromSSOInit & SsoCredentialsParameters) => Promise; diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts b/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts new file mode 100644 index 0000000..39b0d5a --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts @@ -0,0 +1,24 @@ +import { + AwsIdentityProperties, + CredentialProviderOptions, + RuntimeConfigAwsCredentialIdentityProvider, +} from "@aws-sdk/types"; +import { SourceProfileInit } from "@smithy/shared-ini-file-loader"; +import { SSOClient, SSOClientConfig } from "./loadSso"; +export interface SsoCredentialsParameters { + ssoStartUrl: string; + ssoSession?: string; + ssoAccountId: string; + ssoRegion: string; + ssoRoleName: string; +} +export interface FromSSOInit + extends SourceProfileInit, + CredentialProviderOptions { + ssoClient?: SSOClient; + clientConfig?: SSOClientConfig; + callerClientConfig?: AwsIdentityProperties["callerClientConfig"]; +} +export declare const fromSSO: ( + init?: FromSSOInit & Partial +) => RuntimeConfigAwsCredentialIdentityProvider; diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..7215fb6 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/index.d.ts @@ -0,0 +1,4 @@ +export * from "./fromSSO"; +export * from "./isSsoProfile"; +export * from "./types"; +export * from "./validateSsoProfile"; diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/isSsoProfile.d.ts b/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/isSsoProfile.d.ts new file mode 100644 index 0000000..b4e8bdd --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/isSsoProfile.d.ts @@ -0,0 +1,3 @@ +import { Profile } from "@smithy/types"; +import { SsoProfile } from "./types"; +export declare const isSsoProfile: (arg: Profile) => arg is Partial; diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts b/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts new file mode 100644 index 0000000..749ebc1 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts @@ -0,0 +1,9 @@ +import { + GetRoleCredentialsCommand, + SSOClient, +} from "@aws-sdk/nested-clients/sso"; +export { GetRoleCredentialsCommand, SSOClient }; +export { + SSOClientConfig, + GetRoleCredentialsCommandOutput, +} from "@aws-sdk/nested-clients/sso"; diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/resolveSSOCredentials.d.ts b/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/resolveSSOCredentials.d.ts new file mode 100644 index 0000000..044a759 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/resolveSSOCredentials.d.ts @@ -0,0 +1,18 @@ +import { AwsCredentialIdentity } from "@smithy/types"; +import { FromSSOInit, SsoCredentialsParameters } from "./fromSSO"; +export declare const resolveSSOCredentials: ({ + ssoStartUrl, + ssoSession, + ssoAccountId, + ssoRegion, + ssoRoleName, + ssoClient, + clientConfig, + parentClientConfig, + callerClientConfig, + profile, + filepath, + configFilepath, + ignoreCache, + logger, +}: FromSSOInit & SsoCredentialsParameters) => Promise; diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/types.d.ts b/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/types.d.ts new file mode 100644 index 0000000..4a3986b --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/types.d.ts @@ -0,0 +1,14 @@ +import { Profile } from "@smithy/types"; +export interface SSOToken { + accessToken: string; + expiresAt: string; + region?: string; + startUrl?: string; +} +export interface SsoProfile extends Profile { + sso_start_url: string; + sso_session?: string; + sso_account_id: string; + sso_region: string; + sso_role_name: string; +} diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/validateSsoProfile.d.ts b/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/validateSsoProfile.d.ts new file mode 100644 index 0000000..6572fc4 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/validateSsoProfile.d.ts @@ -0,0 +1,6 @@ +import { Logger } from "@smithy/types"; +import { SsoProfile } from "./types"; +export declare const validateSsoProfile: ( + profile: Partial, + logger?: Logger +) => SsoProfile; diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-types/types.d.ts b/node_modules/@aws-sdk/credential-provider-sso/dist-types/types.d.ts new file mode 100644 index 0000000..632bb16 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-types/types.d.ts @@ -0,0 +1,22 @@ +import type { Profile } from "@smithy/types"; +/** + * @internal + * + * Cached SSO token retrieved from SSO login flow. + */ +export interface SSOToken { + accessToken: string; + expiresAt: string; + region?: string; + startUrl?: string; +} +/** + * @internal + */ +export interface SsoProfile extends Profile { + sso_start_url: string; + sso_session?: string; + sso_account_id: string; + sso_region: string; + sso_role_name: string; +} diff --git a/node_modules/@aws-sdk/credential-provider-sso/dist-types/validateSsoProfile.d.ts b/node_modules/@aws-sdk/credential-provider-sso/dist-types/validateSsoProfile.d.ts new file mode 100644 index 0000000..9df0144 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/dist-types/validateSsoProfile.d.ts @@ -0,0 +1,6 @@ +import type { Logger } from "@smithy/types"; +import type { SsoProfile } from "./types"; +/** + * @internal + */ +export declare const validateSsoProfile: (profile: Partial, logger?: Logger) => SsoProfile; diff --git a/node_modules/@aws-sdk/credential-provider-sso/package.json b/node_modules/@aws-sdk/credential-provider-sso/package.json new file mode 100644 index 0000000..127956f --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-sso/package.json @@ -0,0 +1,66 @@ +{ + "name": "@aws-sdk/credential-provider-sso", + "version": "3.972.28", + "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline credential-provider-sso", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "keywords": [ + "aws", + "credentials" + ], + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/nested-clients": "^3.996.18", + "@aws-sdk/token-providers": "3.1021.0", + "@aws-sdk/types": "^3.973.6", + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "@types/node": "^20.14.8", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/credential-provider-sso", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/credential-provider-sso" + } +} diff --git a/node_modules/@aws-sdk/credential-provider-web-identity/LICENSE b/node_modules/@aws-sdk/credential-provider-web-identity/LICENSE new file mode 100644 index 0000000..f9a6673 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-web-identity/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-sdk/credential-provider-web-identity/README.md b/node_modules/@aws-sdk/credential-provider-web-identity/README.md new file mode 100644 index 0000000..98f74c9 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-web-identity/README.md @@ -0,0 +1,20 @@ +# @aws-sdk/credential-provider-web-identity + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/credential-provider-web-identity/latest.svg)](https://www.npmjs.com/package/@aws-sdk/credential-provider-web-identity) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/credential-provider-web-identity.svg)](https://www.npmjs.com/package/@aws-sdk/credential-provider-web-identity) + +### :warning: Internal API :warning: + +> This is an internal package. +> That means this is used as a dependency for other, public packages, but +> should not be taken directly as a dependency in your application's `package.json`. + +> If you are updating the version of this package, for example to bring in a +> bug-fix, you should do so by updating your application lockfile with +> e.g. `npm up @scope/package` or equivalent command in another +> package manager, rather than taking a direct dependency. + +--- + +Please use [@aws-sdk/credential-providers](https://www.npmjs.com/package/@aws-sdk/credential-providers) +instead. diff --git a/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js b/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js new file mode 100644 index 0000000..fe46312 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js @@ -0,0 +1,34 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.fromTokenFile = void 0; +const client_1 = require("@aws-sdk/core/client"); +const property_provider_1 = require("@smithy/property-provider"); +const shared_ini_file_loader_1 = require("@smithy/shared-ini-file-loader"); +const node_fs_1 = require("node:fs"); +const fromWebToken_1 = require("./fromWebToken"); +const ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE"; +const ENV_ROLE_ARN = "AWS_ROLE_ARN"; +const ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME"; +const fromTokenFile = (init = {}) => async (awsIdentityProperties) => { + init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile"); + const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE]; + const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN]; + const roleSessionName = init?.roleSessionName ?? process.env[ENV_ROLE_SESSION_NAME]; + if (!webIdentityTokenFile || !roleArn) { + throw new property_provider_1.CredentialsProviderError("Web identity configuration not specified", { + logger: init.logger, + }); + } + const credentials = await (0, fromWebToken_1.fromWebToken)({ + ...init, + webIdentityToken: shared_ini_file_loader_1.externalDataInterceptor?.getTokenRecord?.()[webIdentityTokenFile] ?? + (0, node_fs_1.readFileSync)(webIdentityTokenFile, { encoding: "ascii" }), + roleArn, + roleSessionName, + })(awsIdentityProperties); + if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) { + (0, client_1.setCredentialFeature)(credentials, "CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN", "h"); + } + return credentials; +}; +exports.fromTokenFile = fromTokenFile; diff --git a/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js b/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js new file mode 100644 index 0000000..b92af29 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js @@ -0,0 +1,62 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.fromWebToken = void 0; +const fromWebToken = (init) => async (awsIdentityProperties) => { + init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken"); + const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init; + let { roleAssumerWithWebIdentity } = init; + if (!roleAssumerWithWebIdentity) { + const { getDefaultRoleAssumerWithWebIdentity } = await Promise.resolve().then(() => __importStar(require("@aws-sdk/nested-clients/sts"))); + roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({ + ...init.clientConfig, + credentialProviderLogger: init.logger, + parentClientConfig: { + ...awsIdentityProperties?.callerClientConfig, + ...init.parentClientConfig, + }, + }, init.clientPlugins); + } + return roleAssumerWithWebIdentity({ + RoleArn: roleArn, + RoleSessionName: roleSessionName ?? `aws-sdk-js-session-${Date.now()}`, + WebIdentityToken: webIdentityToken, + ProviderId: providerId, + PolicyArns: policyArns, + Policy: policy, + DurationSeconds: durationSeconds, + }); +}; +exports.fromWebToken = fromWebToken; diff --git a/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js b/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js new file mode 100644 index 0000000..d4674e7 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js @@ -0,0 +1,27 @@ +'use strict'; + +var fromTokenFile = require('./fromTokenFile'); +var fromWebToken = require('./fromWebToken'); + + + +Object.prototype.hasOwnProperty.call(fromTokenFile, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: fromTokenFile['__proto__'] + }); + +Object.keys(fromTokenFile).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = fromTokenFile[k]; +}); +Object.prototype.hasOwnProperty.call(fromWebToken, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: fromWebToken['__proto__'] + }); + +Object.keys(fromWebToken).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = fromWebToken[k]; +}); diff --git a/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js b/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js new file mode 100644 index 0000000..a624407 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js @@ -0,0 +1,30 @@ +import { setCredentialFeature } from "@aws-sdk/core/client"; +import { CredentialsProviderError } from "@smithy/property-provider"; +import { externalDataInterceptor } from "@smithy/shared-ini-file-loader"; +import { readFileSync } from "node:fs"; +import { fromWebToken } from "./fromWebToken"; +const ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE"; +const ENV_ROLE_ARN = "AWS_ROLE_ARN"; +const ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME"; +export const fromTokenFile = (init = {}) => async (awsIdentityProperties) => { + init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile"); + const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE]; + const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN]; + const roleSessionName = init?.roleSessionName ?? process.env[ENV_ROLE_SESSION_NAME]; + if (!webIdentityTokenFile || !roleArn) { + throw new CredentialsProviderError("Web identity configuration not specified", { + logger: init.logger, + }); + } + const credentials = await fromWebToken({ + ...init, + webIdentityToken: externalDataInterceptor?.getTokenRecord?.()[webIdentityTokenFile] ?? + readFileSync(webIdentityTokenFile, { encoding: "ascii" }), + roleArn, + roleSessionName, + })(awsIdentityProperties); + if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) { + setCredentialFeature(credentials, "CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN", "h"); + } + return credentials; +}; diff --git a/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js b/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js new file mode 100644 index 0000000..268e0aa --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js @@ -0,0 +1,25 @@ +export const fromWebToken = (init) => async (awsIdentityProperties) => { + init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken"); + const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init; + let { roleAssumerWithWebIdentity } = init; + if (!roleAssumerWithWebIdentity) { + const { getDefaultRoleAssumerWithWebIdentity } = await import("@aws-sdk/nested-clients/sts"); + roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({ + ...init.clientConfig, + credentialProviderLogger: init.logger, + parentClientConfig: { + ...awsIdentityProperties?.callerClientConfig, + ...init.parentClientConfig, + }, + }, init.clientPlugins); + } + return roleAssumerWithWebIdentity({ + RoleArn: roleArn, + RoleSessionName: roleSessionName ?? `aws-sdk-js-session-${Date.now()}`, + WebIdentityToken: webIdentityToken, + ProviderId: providerId, + PolicyArns: policyArns, + Policy: policy, + DurationSeconds: durationSeconds, + }); +}; diff --git a/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/index.js b/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/index.js new file mode 100644 index 0000000..0e900c0 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/index.js @@ -0,0 +1,2 @@ +export * from "./fromTokenFile"; +export * from "./fromWebToken"; diff --git a/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromTokenFile.d.ts b/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromTokenFile.d.ts new file mode 100644 index 0000000..6aa9a14 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromTokenFile.d.ts @@ -0,0 +1,17 @@ +import type { CredentialProviderOptions, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types"; +import type { FromWebTokenInit } from "./fromWebToken"; +/** + * @public + */ +export interface FromTokenFileInit extends Partial>, CredentialProviderOptions { + /** + * File location of where the `OIDC` token is stored. + */ + webIdentityTokenFile?: string; +} +/** + * @internal + * + * Represents OIDC credentials from a file on disk. + */ +export declare const fromTokenFile: (init?: FromTokenFileInit) => RuntimeConfigAwsCredentialIdentityProvider; diff --git a/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromWebToken.d.ts b/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromWebToken.d.ts new file mode 100644 index 0000000..6b5e066 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromWebToken.d.ts @@ -0,0 +1,145 @@ +import type { CredentialProviderOptions, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types"; +import type { AwsCredentialIdentity, Pluggable } from "@smithy/types"; +/** + * @public + */ +export interface AssumeRoleWithWebIdentityParams { + /** + *

The Amazon Resource Name (ARN) of the role that the caller is assuming.

+ */ + RoleArn: string; + /** + *

An identifier for the assumed role session. Typically, you pass the name or identifier + * that is associated with the user who is using your application. That way, the temporary + * security credentials that your application will use are associated with that user. This + * session name is included as part of the ARN and assumed role ID in the + * AssumedRoleUser response element.

+ *

The regex used to validate this parameter is a string of characters + * consisting of upper- and lower-case alphanumeric characters with no spaces. You can + * also include underscores or any of the following characters: =,.@-

+ */ + RoleSessionName: string; + /** + *

The OAuth 2.0 access token or OpenID Connect ID token that is provided by the identity + * provider. Your application must get this token by authenticating the user who is using your + * application with a web identity provider before the application makes an + * AssumeRoleWithWebIdentity call.

+ */ + WebIdentityToken: string; + /** + *

The fully qualified host component of the domain name of the identity provider.

+ *

Specify this value only for OAuth 2.0 access tokens. Currently + * www.amazon.com and graph.facebook.com are the only supported + * identity providers for OAuth 2.0 access tokens. Do not include URL schemes and port + * numbers.

+ *

Do not specify this value for OpenID Connect ID tokens.

+ */ + ProviderId?: string; + /** + *

The Amazon Resource Names (ARNs) of the IAM managed policies that you want to use as + * managed session policies. The policies must exist in the same account as the role.

+ *

This parameter is optional. You can provide up to 10 managed policy ARNs. However, the + * plain text that you use for both inline and managed session policies can't exceed 2,048 + * characters. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS + * Service Namespaces in the AWS General Reference.

+ * + *

An AWS conversion compresses the passed session policies and session tags into a + * packed binary format that has a separate limit. Your request can fail for this limit + * even if your plain text meets the other requirements. The PackedPolicySize + * response element indicates by percentage how close the policies and tags for your + * request are to the upper size limit. + *

+ *
+ * + *

Passing policies to this operation returns new + * temporary credentials. The resulting session's permissions are the intersection of the + * role's identity-based policy and the session policies. You can use the role's temporary + * credentials in subsequent AWS API calls to access resources in the account that owns + * the role. You cannot use session policies to grant more permissions than those allowed + * by the identity-based policy of the role that is being assumed. For more information, see + * Session + * Policies in the IAM User Guide.

+ */ + PolicyArns?: { + arn?: string; + }[]; + /** + *

An IAM policy in JSON format that you want to use as an inline session policy.

+ *

This parameter is optional. Passing policies to this operation returns new + * temporary credentials. The resulting session's permissions are the intersection of the + * role's identity-based policy and the session policies. You can use the role's temporary + * credentials in subsequent AWS API calls to access resources in the account that owns + * the role. You cannot use session policies to grant more permissions than those allowed + * by the identity-based policy of the role that is being assumed. For more information, see + * Session + * Policies in the IAM User Guide.

+ *

The plain text that you use for both inline and managed session policies can't exceed + * 2,048 characters. The JSON policy characters can be any ASCII character from the space + * character to the end of the valid character list (\u0020 through \u00FF). It can also + * include the tab (\u0009), linefeed (\u000A), and carriage return (\u000D) + * characters.

+ * + *

An AWS conversion compresses the passed session policies and session tags into a + * packed binary format that has a separate limit. Your request can fail for this limit + * even if your plain text meets the other requirements. The PackedPolicySize + * response element indicates by percentage how close the policies and tags for your + * request are to the upper size limit. + *

+ *
+ */ + Policy?: string; + /** + *

The duration, in seconds, of the role session. The value can range from 900 seconds (15 + * minutes) up to the maximum session duration setting for the role. This setting can have a + * value from 1 hour to 12 hours. If you specify a value higher than this setting, the + * operation fails. For example, if you specify a session duration of 12 hours, but your + * administrator set the maximum session duration to 6 hours, your operation fails. To learn + * how to view the maximum value for your role, see View the + * Maximum Session Duration Setting for a Role in the + * IAM User Guide.

+ *

By default, the value is set to 3600 seconds.

+ * + *

The DurationSeconds parameter is separate from the duration of a console + * session that you might request using the returned credentials. The request to the + * federation endpoint for a console sign-in token takes a SessionDuration + * parameter that specifies the maximum length of the console session. For more + * information, see Creating a URL + * that Enables Federated Users to Access the AWS Management Console in the + * IAM User Guide.

+ *
+ */ + DurationSeconds?: number; +} +type LowerCaseKey = { + [K in keyof T as `${Uncapitalize}`]: T[K]; +}; +/** + * @public + */ +export interface FromWebTokenInit extends Omit, "roleSessionName">, CredentialProviderOptions { + /** + * The IAM session name used to distinguish sessions. + */ + roleSessionName?: string; + /** + * A function that assumes a role with web identity and returns a promise fulfilled with + * credentials for the assumed role. + * + * @param params input parameter of sts:AssumeRoleWithWebIdentity API. + */ + roleAssumerWithWebIdentity?: (params: AssumeRoleWithWebIdentityParams) => Promise; + /** + * STSClientConfig to be used for creating STS Client for assuming role. + * @internal + */ + clientConfig?: any; + /** + * @internal + */ + clientPlugins?: Pluggable[]; +} +/** + * @internal + */ +export declare const fromWebToken: (init: FromWebTokenInit) => RuntimeConfigAwsCredentialIdentityProvider; +export {}; diff --git a/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/index.d.ts b/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/index.d.ts new file mode 100644 index 0000000..36c15dc --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./fromTokenFile"; +/** + * @internal + */ +export * from "./fromWebToken"; diff --git a/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromTokenFile.d.ts b/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromTokenFile.d.ts new file mode 100644 index 0000000..2db3394 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromTokenFile.d.ts @@ -0,0 +1,18 @@ +import { + CredentialProviderOptions, + RuntimeConfigAwsCredentialIdentityProvider, +} from "@aws-sdk/types"; +import { FromWebTokenInit } from "./fromWebToken"; +export interface FromTokenFileInit + extends Partial< + Pick< + FromWebTokenInit, + Exclude + > + >, + CredentialProviderOptions { + webIdentityTokenFile?: string; +} +export declare const fromTokenFile: ( + init?: FromTokenFileInit +) => RuntimeConfigAwsCredentialIdentityProvider; diff --git a/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts b/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts new file mode 100644 index 0000000..73529a1 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts @@ -0,0 +1,39 @@ +import { + CredentialProviderOptions, + RuntimeConfigAwsCredentialIdentityProvider, +} from "@aws-sdk/types"; +import { AwsCredentialIdentity, Pluggable } from "@smithy/types"; +export interface AssumeRoleWithWebIdentityParams { + RoleArn: string; + RoleSessionName: string; + WebIdentityToken: string; + ProviderId?: string; + PolicyArns?: { + arn?: string; + }[]; + Policy?: string; + DurationSeconds?: number; +} +type LowerCaseKey = { + [K in keyof T as `${Uncapitalize}`]: T[K]; +}; +export interface FromWebTokenInit + extends Pick< + LowerCaseKey, + Exclude< + keyof LowerCaseKey, + "roleSessionName" + > + >, + CredentialProviderOptions { + roleSessionName?: string; + roleAssumerWithWebIdentity?: ( + params: AssumeRoleWithWebIdentityParams + ) => Promise; + clientConfig?: any; + clientPlugins?: Pluggable[]; +} +export declare const fromWebToken: ( + init: FromWebTokenInit +) => RuntimeConfigAwsCredentialIdentityProvider; +export {}; diff --git a/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..0e900c0 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/index.d.ts @@ -0,0 +1,2 @@ +export * from "./fromTokenFile"; +export * from "./fromWebToken"; diff --git a/node_modules/@aws-sdk/credential-provider-web-identity/package.json b/node_modules/@aws-sdk/credential-provider-web-identity/package.json new file mode 100644 index 0000000..1278886 --- /dev/null +++ b/node_modules/@aws-sdk/credential-provider-web-identity/package.json @@ -0,0 +1,73 @@ +{ + "name": "@aws-sdk/credential-provider-web-identity", + "version": "3.972.28", + "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline credential-provider-web-identity", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "browser": { + "./dist-cjs/fromTokenFile": false, + "./dist-es/fromTokenFile": false + }, + "react-native": { + "./dist-es/fromTokenFile": false, + "./dist-cjs/fromTokenFile": false + }, + "keywords": [ + "aws", + "credentials" + ], + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/nested-clients": "^3.996.18", + "@aws-sdk/types": "^3.973.6", + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "@types/node": "^20.14.8", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/credential-provider-web-identity", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/credential-provider-web-identity" + } +} diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/LICENSE b/node_modules/@aws-sdk/middleware-bucket-endpoint/LICENSE new file mode 100644 index 0000000..dd65ae0 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/README.md b/node_modules/@aws-sdk/middleware-bucket-endpoint/README.md new file mode 100644 index 0000000..99cd3c5 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/README.md @@ -0,0 +1,4 @@ +# @aws-sdk/middleware-bucket-endpoint + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-bucket-endpoint/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-bucket-endpoint) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-bucket-endpoint.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-bucket-endpoint) diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js new file mode 100644 index 0000000..94ab3f7 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js @@ -0,0 +1,352 @@ +'use strict'; + +var utilConfigProvider = require('@smithy/util-config-provider'); +var utilArnParser = require('@aws-sdk/util-arn-parser'); +var protocolHttp = require('@smithy/protocol-http'); + +const NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME = "AWS_S3_DISABLE_MULTIREGION_ACCESS_POINTS"; +const NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME = "s3_disable_multiregion_access_points"; +const NODE_DISABLE_MULTIREGION_ACCESS_POINT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME, utilConfigProvider.SelectorType.ENV), + configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME, utilConfigProvider.SelectorType.CONFIG), + default: false, +}; + +const NODE_USE_ARN_REGION_ENV_NAME = "AWS_S3_USE_ARN_REGION"; +const NODE_USE_ARN_REGION_INI_NAME = "s3_use_arn_region"; +const NODE_USE_ARN_REGION_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, NODE_USE_ARN_REGION_ENV_NAME, utilConfigProvider.SelectorType.ENV), + configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, NODE_USE_ARN_REGION_INI_NAME, utilConfigProvider.SelectorType.CONFIG), + default: undefined, +}; + +const DOMAIN_PATTERN = /^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/; +const IP_ADDRESS_PATTERN = /(\d+\.){3}\d+/; +const DOTS_PATTERN = /\.\./; +const DOT_PATTERN = /\./; +const S3_HOSTNAME_PATTERN = /^(.+\.)?s3(-fips)?(\.dualstack)?[.-]([a-z0-9-]+)\./; +const S3_US_EAST_1_ALTNAME_PATTERN = /^s3(-external-1)?\.amazonaws\.com$/; +const AWS_PARTITION_SUFFIX = "amazonaws.com"; +const isBucketNameOptions = (options) => typeof options.bucketName === "string"; +const isDnsCompatibleBucketName = (bucketName) => DOMAIN_PATTERN.test(bucketName) && !IP_ADDRESS_PATTERN.test(bucketName) && !DOTS_PATTERN.test(bucketName); +const getRegionalSuffix = (hostname) => { + const parts = hostname.match(S3_HOSTNAME_PATTERN); + return [parts[4], hostname.replace(new RegExp(`^${parts[0]}`), "")]; +}; +const getSuffix = (hostname) => S3_US_EAST_1_ALTNAME_PATTERN.test(hostname) ? ["us-east-1", AWS_PARTITION_SUFFIX] : getRegionalSuffix(hostname); +const getSuffixForArnEndpoint = (hostname) => S3_US_EAST_1_ALTNAME_PATTERN.test(hostname) + ? [hostname.replace(`.${AWS_PARTITION_SUFFIX}`, ""), AWS_PARTITION_SUFFIX] + : getRegionalSuffix(hostname); +const validateArnEndpointOptions = (options) => { + if (options.pathStyleEndpoint) { + throw new Error("Path-style S3 endpoint is not supported when bucket is an ARN"); + } + if (options.accelerateEndpoint) { + throw new Error("Accelerate endpoint is not supported when bucket is an ARN"); + } + if (!options.tlsCompatible) { + throw new Error("HTTPS is required when bucket is an ARN"); + } +}; +const validateService = (service) => { + if (service !== "s3" && service !== "s3-outposts" && service !== "s3-object-lambda") { + throw new Error("Expect 's3' or 's3-outposts' or 's3-object-lambda' in ARN service component"); + } +}; +const validateS3Service = (service) => { + if (service !== "s3") { + throw new Error("Expect 's3' in Accesspoint ARN service component"); + } +}; +const validateOutpostService = (service) => { + if (service !== "s3-outposts") { + throw new Error("Expect 's3-posts' in Outpost ARN service component"); + } +}; +const validatePartition = (partition, options) => { + if (partition !== options.clientPartition) { + throw new Error(`Partition in ARN is incompatible, got "${partition}" but expected "${options.clientPartition}"`); + } +}; +const validateRegion = (region, options) => { }; +const validateRegionalClient = (region) => { + if (["s3-external-1", "aws-global"].includes(region)) { + throw new Error(`Client region ${region} is not regional`); + } +}; +const validateAccountId = (accountId) => { + if (!/[0-9]{12}/.exec(accountId)) { + throw new Error("Access point ARN accountID does not match regex '[0-9]{12}'"); + } +}; +const validateDNSHostLabel = (label, options = { tlsCompatible: true }) => { + if (label.length >= 64 || + !/^[a-z0-9][a-z0-9.-]*[a-z0-9]$/.test(label) || + /(\d+\.){3}\d+/.test(label) || + /[.-]{2}/.test(label) || + (options?.tlsCompatible && DOT_PATTERN.test(label))) { + throw new Error(`Invalid DNS label ${label}`); + } +}; +const validateCustomEndpoint = (options) => { + if (options.isCustomEndpoint) { + if (options.dualstackEndpoint) + throw new Error("Dualstack endpoint is not supported with custom endpoint"); + if (options.accelerateEndpoint) + throw new Error("Accelerate endpoint is not supported with custom endpoint"); + } +}; +const getArnResources = (resource) => { + const delimiter = resource.includes(":") ? ":" : "/"; + const [resourceType, ...rest] = resource.split(delimiter); + if (resourceType === "accesspoint") { + if (rest.length !== 1 || rest[0] === "") { + throw new Error(`Access Point ARN should have one resource accesspoint${delimiter}{accesspointname}`); + } + return { accesspointName: rest[0] }; + } + else if (resourceType === "outpost") { + if (!rest[0] || rest[1] !== "accesspoint" || !rest[2] || rest.length !== 3) { + throw new Error(`Outpost ARN should have resource outpost${delimiter}{outpostId}${delimiter}accesspoint${delimiter}{accesspointName}`); + } + const [outpostId, _, accesspointName] = rest; + return { outpostId, accesspointName }; + } + else { + throw new Error(`ARN resource should begin with 'accesspoint${delimiter}' or 'outpost${delimiter}'`); + } +}; +const validateNoDualstack = (dualstackEndpoint) => { }; +const validateNoFIPS = (useFipsEndpoint) => { + if (useFipsEndpoint) + throw new Error(`FIPS region is not supported with Outpost.`); +}; +const validateMrapAlias = (name) => { + try { + name.split(".").forEach((label) => { + validateDNSHostLabel(label); + }); + } + catch (e) { + throw new Error(`"${name}" is not a DNS compatible name.`); + } +}; + +const bucketHostname = (options) => { + validateCustomEndpoint(options); + return isBucketNameOptions(options) + ? + getEndpointFromBucketName(options) + : + getEndpointFromArn(options); +}; +const getEndpointFromBucketName = ({ accelerateEndpoint = false, clientRegion: region, baseHostname, bucketName, dualstackEndpoint = false, fipsEndpoint = false, pathStyleEndpoint = false, tlsCompatible = true, isCustomEndpoint = false, }) => { + const [clientRegion, hostnameSuffix] = isCustomEndpoint ? [region, baseHostname] : getSuffix(baseHostname); + if (pathStyleEndpoint || !isDnsCompatibleBucketName(bucketName) || (tlsCompatible && DOT_PATTERN.test(bucketName))) { + return { + bucketEndpoint: false, + hostname: dualstackEndpoint ? `s3.dualstack.${clientRegion}.${hostnameSuffix}` : baseHostname, + }; + } + if (accelerateEndpoint) { + baseHostname = `s3-accelerate${dualstackEndpoint ? ".dualstack" : ""}.${hostnameSuffix}`; + } + else if (dualstackEndpoint) { + baseHostname = `s3.dualstack.${clientRegion}.${hostnameSuffix}`; + } + return { + bucketEndpoint: true, + hostname: `${bucketName}.${baseHostname}`, + }; +}; +const getEndpointFromArn = (options) => { + const { isCustomEndpoint, baseHostname, clientRegion } = options; + const hostnameSuffix = isCustomEndpoint ? baseHostname : getSuffixForArnEndpoint(baseHostname)[1]; + const { pathStyleEndpoint, accelerateEndpoint = false, fipsEndpoint = false, tlsCompatible = true, bucketName, clientPartition = "aws", } = options; + validateArnEndpointOptions({ pathStyleEndpoint, accelerateEndpoint, tlsCompatible }); + const { service, partition, accountId, region, resource } = bucketName; + validateService(service); + validatePartition(partition, { clientPartition }); + validateAccountId(accountId); + const { accesspointName, outpostId } = getArnResources(resource); + if (service === "s3-object-lambda") { + return getEndpointFromObjectLambdaArn({ ...options, tlsCompatible, bucketName, accesspointName, hostnameSuffix }); + } + if (region === "") { + return getEndpointFromMRAPArn({ ...options, mrapAlias: accesspointName, hostnameSuffix }); + } + if (outpostId) { + return getEndpointFromOutpostArn({ ...options, clientRegion, outpostId, accesspointName, hostnameSuffix }); + } + return getEndpointFromAccessPointArn({ ...options, clientRegion, accesspointName, hostnameSuffix }); +}; +const getEndpointFromObjectLambdaArn = ({ dualstackEndpoint = false, fipsEndpoint = false, tlsCompatible = true, useArnRegion, clientRegion, clientSigningRegion = clientRegion, accesspointName, bucketName, hostnameSuffix, }) => { + const { accountId, region, service } = bucketName; + validateRegionalClient(clientRegion); + const DNSHostLabel = `${accesspointName}-${accountId}`; + validateDNSHostLabel(DNSHostLabel, { tlsCompatible }); + const endpointRegion = useArnRegion ? region : clientRegion; + const signingRegion = useArnRegion ? region : clientSigningRegion; + return { + bucketEndpoint: true, + hostname: `${DNSHostLabel}.${service}${fipsEndpoint ? "-fips" : ""}.${endpointRegion}.${hostnameSuffix}`, + signingRegion, + signingService: service, + }; +}; +const getEndpointFromMRAPArn = ({ disableMultiregionAccessPoints, dualstackEndpoint = false, isCustomEndpoint, mrapAlias, hostnameSuffix, }) => { + if (disableMultiregionAccessPoints === true) { + throw new Error("SDK is attempting to use a MRAP ARN. Please enable to feature."); + } + validateMrapAlias(mrapAlias); + return { + bucketEndpoint: true, + hostname: `${mrapAlias}${isCustomEndpoint ? "" : `.accesspoint.s3-global`}.${hostnameSuffix}`, + signingRegion: "*", + }; +}; +const getEndpointFromOutpostArn = ({ useArnRegion, clientRegion, clientSigningRegion = clientRegion, bucketName, outpostId, dualstackEndpoint = false, fipsEndpoint = false, tlsCompatible = true, accesspointName, isCustomEndpoint, hostnameSuffix, }) => { + validateRegionalClient(clientRegion); + const DNSHostLabel = `${accesspointName}-${bucketName.accountId}`; + validateDNSHostLabel(DNSHostLabel, { tlsCompatible }); + const endpointRegion = useArnRegion ? bucketName.region : clientRegion; + const signingRegion = useArnRegion ? bucketName.region : clientSigningRegion; + validateOutpostService(bucketName.service); + validateDNSHostLabel(outpostId, { tlsCompatible }); + validateNoFIPS(fipsEndpoint); + const hostnamePrefix = `${DNSHostLabel}.${outpostId}`; + return { + bucketEndpoint: true, + hostname: `${hostnamePrefix}${isCustomEndpoint ? "" : `.s3-outposts.${endpointRegion}`}.${hostnameSuffix}`, + signingRegion, + signingService: "s3-outposts", + }; +}; +const getEndpointFromAccessPointArn = ({ useArnRegion, clientRegion, clientSigningRegion = clientRegion, bucketName, dualstackEndpoint = false, fipsEndpoint = false, tlsCompatible = true, accesspointName, isCustomEndpoint, hostnameSuffix, }) => { + validateRegionalClient(clientRegion); + const hostnamePrefix = `${accesspointName}-${bucketName.accountId}`; + validateDNSHostLabel(hostnamePrefix, { tlsCompatible }); + const endpointRegion = useArnRegion ? bucketName.region : clientRegion; + const signingRegion = useArnRegion ? bucketName.region : clientSigningRegion; + validateS3Service(bucketName.service); + return { + bucketEndpoint: true, + hostname: `${hostnamePrefix}${isCustomEndpoint + ? "" + : `.s3-accesspoint${fipsEndpoint ? "-fips" : ""}${dualstackEndpoint ? ".dualstack" : ""}.${endpointRegion}`}.${hostnameSuffix}`, + signingRegion, + }; +}; + +const bucketEndpointMiddleware = (options) => (next, context) => async (args) => { + const { Bucket: bucketName } = args.input; + let replaceBucketInPath = options.bucketEndpoint; + const request = args.request; + if (protocolHttp.HttpRequest.isInstance(request)) { + if (options.bucketEndpoint) { + request.hostname = bucketName; + } + else if (utilArnParser.validate(bucketName)) { + const bucketArn = utilArnParser.parse(bucketName); + const clientRegion = await options.region(); + const useDualstackEndpoint = await options.useDualstackEndpoint(); + const useFipsEndpoint = await options.useFipsEndpoint(); + const { partition, signingRegion = clientRegion } = (await options.regionInfoProvider(clientRegion, { useDualstackEndpoint, useFipsEndpoint })) || {}; + const useArnRegion = await options.useArnRegion(); + const { hostname, bucketEndpoint, signingRegion: modifiedSigningRegion, signingService, } = bucketHostname({ + bucketName: bucketArn, + baseHostname: request.hostname, + accelerateEndpoint: options.useAccelerateEndpoint, + dualstackEndpoint: useDualstackEndpoint, + fipsEndpoint: useFipsEndpoint, + pathStyleEndpoint: options.forcePathStyle, + tlsCompatible: request.protocol === "https:", + useArnRegion, + clientPartition: partition, + clientSigningRegion: signingRegion, + clientRegion: clientRegion, + isCustomEndpoint: options.isCustomEndpoint, + disableMultiregionAccessPoints: await options.disableMultiregionAccessPoints(), + }); + if (modifiedSigningRegion && modifiedSigningRegion !== signingRegion) { + context["signing_region"] = modifiedSigningRegion; + } + if (signingService && signingService !== "s3") { + context["signing_service"] = signingService; + } + request.hostname = hostname; + replaceBucketInPath = bucketEndpoint; + } + else { + const clientRegion = await options.region(); + const dualstackEndpoint = await options.useDualstackEndpoint(); + const fipsEndpoint = await options.useFipsEndpoint(); + const { hostname, bucketEndpoint } = bucketHostname({ + bucketName, + clientRegion, + baseHostname: request.hostname, + accelerateEndpoint: options.useAccelerateEndpoint, + dualstackEndpoint, + fipsEndpoint, + pathStyleEndpoint: options.forcePathStyle, + tlsCompatible: request.protocol === "https:", + isCustomEndpoint: options.isCustomEndpoint, + }); + request.hostname = hostname; + replaceBucketInPath = bucketEndpoint; + } + if (replaceBucketInPath) { + request.path = request.path.replace(/^(\/)?[^\/]+/, ""); + if (request.path === "") { + request.path = "/"; + } + } + } + return next({ ...args, request }); +}; +const bucketEndpointMiddlewareOptions = { + tags: ["BUCKET_ENDPOINT"], + name: "bucketEndpointMiddleware", + relation: "before", + toMiddleware: "hostHeaderMiddleware", + override: true, +}; +const getBucketEndpointPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(bucketEndpointMiddleware(options), bucketEndpointMiddlewareOptions); + }, +}); + +function resolveBucketEndpointConfig(input) { + const { bucketEndpoint = false, forcePathStyle = false, useAccelerateEndpoint = false, useArnRegion, disableMultiregionAccessPoints = false, } = input; + return Object.assign(input, { + bucketEndpoint, + forcePathStyle, + useAccelerateEndpoint, + useArnRegion: typeof useArnRegion === "function" ? useArnRegion : () => Promise.resolve(useArnRegion), + disableMultiregionAccessPoints: typeof disableMultiregionAccessPoints === "function" + ? disableMultiregionAccessPoints + : () => Promise.resolve(disableMultiregionAccessPoints), + }); +} + +exports.NODE_DISABLE_MULTIREGION_ACCESS_POINT_CONFIG_OPTIONS = NODE_DISABLE_MULTIREGION_ACCESS_POINT_CONFIG_OPTIONS; +exports.NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME = NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME; +exports.NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME = NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME; +exports.NODE_USE_ARN_REGION_CONFIG_OPTIONS = NODE_USE_ARN_REGION_CONFIG_OPTIONS; +exports.NODE_USE_ARN_REGION_ENV_NAME = NODE_USE_ARN_REGION_ENV_NAME; +exports.NODE_USE_ARN_REGION_INI_NAME = NODE_USE_ARN_REGION_INI_NAME; +exports.bucketEndpointMiddleware = bucketEndpointMiddleware; +exports.bucketEndpointMiddlewareOptions = bucketEndpointMiddlewareOptions; +exports.bucketHostname = bucketHostname; +exports.getArnResources = getArnResources; +exports.getBucketEndpointPlugin = getBucketEndpointPlugin; +exports.getSuffixForArnEndpoint = getSuffixForArnEndpoint; +exports.resolveBucketEndpointConfig = resolveBucketEndpointConfig; +exports.validateAccountId = validateAccountId; +exports.validateDNSHostLabel = validateDNSHostLabel; +exports.validateNoDualstack = validateNoDualstack; +exports.validateNoFIPS = validateNoFIPS; +exports.validateOutpostService = validateOutpostService; +exports.validatePartition = validatePartition; +exports.validateRegion = validateRegion; diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/NodeDisableMultiregionAccessPointConfigOptions.js b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/NodeDisableMultiregionAccessPointConfigOptions.js new file mode 100644 index 0000000..ebcf87f --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/NodeDisableMultiregionAccessPointConfigOptions.js @@ -0,0 +1,8 @@ +import { booleanSelector, SelectorType } from "@smithy/util-config-provider"; +export const NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME = "AWS_S3_DISABLE_MULTIREGION_ACCESS_POINTS"; +export const NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME = "s3_disable_multiregion_access_points"; +export const NODE_DISABLE_MULTIREGION_ACCESS_POINT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => booleanSelector(env, NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME, SelectorType.ENV), + configFileSelector: (profile) => booleanSelector(profile, NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME, SelectorType.CONFIG), + default: false, +}; diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/NodeUseArnRegionConfigOptions.js b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/NodeUseArnRegionConfigOptions.js new file mode 100644 index 0000000..6d04557 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/NodeUseArnRegionConfigOptions.js @@ -0,0 +1,8 @@ +import { booleanSelector, SelectorType } from "@smithy/util-config-provider"; +export const NODE_USE_ARN_REGION_ENV_NAME = "AWS_S3_USE_ARN_REGION"; +export const NODE_USE_ARN_REGION_INI_NAME = "s3_use_arn_region"; +export const NODE_USE_ARN_REGION_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => booleanSelector(env, NODE_USE_ARN_REGION_ENV_NAME, SelectorType.ENV), + configFileSelector: (profile) => booleanSelector(profile, NODE_USE_ARN_REGION_INI_NAME, SelectorType.CONFIG), + default: undefined, +}; diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/bucketEndpointMiddleware.js b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/bucketEndpointMiddleware.js new file mode 100644 index 0000000..6e0f8f8 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/bucketEndpointMiddleware.js @@ -0,0 +1,81 @@ +import { parse as parseArn, validate as validateArn } from "@aws-sdk/util-arn-parser"; +import { HttpRequest } from "@smithy/protocol-http"; +import { bucketHostname } from "./bucketHostname"; +export const bucketEndpointMiddleware = (options) => (next, context) => async (args) => { + const { Bucket: bucketName } = args.input; + let replaceBucketInPath = options.bucketEndpoint; + const request = args.request; + if (HttpRequest.isInstance(request)) { + if (options.bucketEndpoint) { + request.hostname = bucketName; + } + else if (validateArn(bucketName)) { + const bucketArn = parseArn(bucketName); + const clientRegion = await options.region(); + const useDualstackEndpoint = await options.useDualstackEndpoint(); + const useFipsEndpoint = await options.useFipsEndpoint(); + const { partition, signingRegion = clientRegion } = (await options.regionInfoProvider(clientRegion, { useDualstackEndpoint, useFipsEndpoint })) || {}; + const useArnRegion = await options.useArnRegion(); + const { hostname, bucketEndpoint, signingRegion: modifiedSigningRegion, signingService, } = bucketHostname({ + bucketName: bucketArn, + baseHostname: request.hostname, + accelerateEndpoint: options.useAccelerateEndpoint, + dualstackEndpoint: useDualstackEndpoint, + fipsEndpoint: useFipsEndpoint, + pathStyleEndpoint: options.forcePathStyle, + tlsCompatible: request.protocol === "https:", + useArnRegion, + clientPartition: partition, + clientSigningRegion: signingRegion, + clientRegion: clientRegion, + isCustomEndpoint: options.isCustomEndpoint, + disableMultiregionAccessPoints: await options.disableMultiregionAccessPoints(), + }); + if (modifiedSigningRegion && modifiedSigningRegion !== signingRegion) { + context["signing_region"] = modifiedSigningRegion; + } + if (signingService && signingService !== "s3") { + context["signing_service"] = signingService; + } + request.hostname = hostname; + replaceBucketInPath = bucketEndpoint; + } + else { + const clientRegion = await options.region(); + const dualstackEndpoint = await options.useDualstackEndpoint(); + const fipsEndpoint = await options.useFipsEndpoint(); + const { hostname, bucketEndpoint } = bucketHostname({ + bucketName, + clientRegion, + baseHostname: request.hostname, + accelerateEndpoint: options.useAccelerateEndpoint, + dualstackEndpoint, + fipsEndpoint, + pathStyleEndpoint: options.forcePathStyle, + tlsCompatible: request.protocol === "https:", + isCustomEndpoint: options.isCustomEndpoint, + }); + request.hostname = hostname; + replaceBucketInPath = bucketEndpoint; + } + if (replaceBucketInPath) { + request.path = request.path.replace(/^(\/)?[^\/]+/, ""); + if (request.path === "") { + request.path = "/"; + } + } + } + return next({ ...args, request }); +}; +export const bucketEndpointMiddlewareOptions = { + tags: ["BUCKET_ENDPOINT"], + name: "bucketEndpointMiddleware", + relation: "before", + toMiddleware: "hostHeaderMiddleware", + override: true, +}; +export const getBucketEndpointPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(bucketEndpointMiddleware(options), bucketEndpointMiddlewareOptions); + }, +}); diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/bucketHostname.js b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/bucketHostname.js new file mode 100644 index 0000000..1e6fdbb --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/bucketHostname.js @@ -0,0 +1,106 @@ +import { DOT_PATTERN, getArnResources, getSuffix, getSuffixForArnEndpoint, isBucketNameOptions, isDnsCompatibleBucketName, validateAccountId, validateArnEndpointOptions, validateCustomEndpoint, validateDNSHostLabel, validateMrapAlias, validateNoFIPS, validateOutpostService, validatePartition, validateRegionalClient, validateS3Service, validateService, } from "./bucketHostnameUtils"; +export const bucketHostname = (options) => { + validateCustomEndpoint(options); + return isBucketNameOptions(options) + ? + getEndpointFromBucketName(options) + : + getEndpointFromArn(options); +}; +const getEndpointFromBucketName = ({ accelerateEndpoint = false, clientRegion: region, baseHostname, bucketName, dualstackEndpoint = false, fipsEndpoint = false, pathStyleEndpoint = false, tlsCompatible = true, isCustomEndpoint = false, }) => { + const [clientRegion, hostnameSuffix] = isCustomEndpoint ? [region, baseHostname] : getSuffix(baseHostname); + if (pathStyleEndpoint || !isDnsCompatibleBucketName(bucketName) || (tlsCompatible && DOT_PATTERN.test(bucketName))) { + return { + bucketEndpoint: false, + hostname: dualstackEndpoint ? `s3.dualstack.${clientRegion}.${hostnameSuffix}` : baseHostname, + }; + } + if (accelerateEndpoint) { + baseHostname = `s3-accelerate${dualstackEndpoint ? ".dualstack" : ""}.${hostnameSuffix}`; + } + else if (dualstackEndpoint) { + baseHostname = `s3.dualstack.${clientRegion}.${hostnameSuffix}`; + } + return { + bucketEndpoint: true, + hostname: `${bucketName}.${baseHostname}`, + }; +}; +const getEndpointFromArn = (options) => { + const { isCustomEndpoint, baseHostname, clientRegion } = options; + const hostnameSuffix = isCustomEndpoint ? baseHostname : getSuffixForArnEndpoint(baseHostname)[1]; + const { pathStyleEndpoint, accelerateEndpoint = false, fipsEndpoint = false, tlsCompatible = true, bucketName, clientPartition = "aws", } = options; + validateArnEndpointOptions({ pathStyleEndpoint, accelerateEndpoint, tlsCompatible }); + const { service, partition, accountId, region, resource } = bucketName; + validateService(service); + validatePartition(partition, { clientPartition }); + validateAccountId(accountId); + const { accesspointName, outpostId } = getArnResources(resource); + if (service === "s3-object-lambda") { + return getEndpointFromObjectLambdaArn({ ...options, tlsCompatible, bucketName, accesspointName, hostnameSuffix }); + } + if (region === "") { + return getEndpointFromMRAPArn({ ...options, clientRegion, mrapAlias: accesspointName, hostnameSuffix }); + } + if (outpostId) { + return getEndpointFromOutpostArn({ ...options, clientRegion, outpostId, accesspointName, hostnameSuffix }); + } + return getEndpointFromAccessPointArn({ ...options, clientRegion, accesspointName, hostnameSuffix }); +}; +const getEndpointFromObjectLambdaArn = ({ dualstackEndpoint = false, fipsEndpoint = false, tlsCompatible = true, useArnRegion, clientRegion, clientSigningRegion = clientRegion, accesspointName, bucketName, hostnameSuffix, }) => { + const { accountId, region, service } = bucketName; + validateRegionalClient(clientRegion); + const DNSHostLabel = `${accesspointName}-${accountId}`; + validateDNSHostLabel(DNSHostLabel, { tlsCompatible }); + const endpointRegion = useArnRegion ? region : clientRegion; + const signingRegion = useArnRegion ? region : clientSigningRegion; + return { + bucketEndpoint: true, + hostname: `${DNSHostLabel}.${service}${fipsEndpoint ? "-fips" : ""}.${endpointRegion}.${hostnameSuffix}`, + signingRegion, + signingService: service, + }; +}; +const getEndpointFromMRAPArn = ({ disableMultiregionAccessPoints, dualstackEndpoint = false, isCustomEndpoint, mrapAlias, hostnameSuffix, }) => { + if (disableMultiregionAccessPoints === true) { + throw new Error("SDK is attempting to use a MRAP ARN. Please enable to feature."); + } + validateMrapAlias(mrapAlias); + return { + bucketEndpoint: true, + hostname: `${mrapAlias}${isCustomEndpoint ? "" : `.accesspoint.s3-global`}.${hostnameSuffix}`, + signingRegion: "*", + }; +}; +const getEndpointFromOutpostArn = ({ useArnRegion, clientRegion, clientSigningRegion = clientRegion, bucketName, outpostId, dualstackEndpoint = false, fipsEndpoint = false, tlsCompatible = true, accesspointName, isCustomEndpoint, hostnameSuffix, }) => { + validateRegionalClient(clientRegion); + const DNSHostLabel = `${accesspointName}-${bucketName.accountId}`; + validateDNSHostLabel(DNSHostLabel, { tlsCompatible }); + const endpointRegion = useArnRegion ? bucketName.region : clientRegion; + const signingRegion = useArnRegion ? bucketName.region : clientSigningRegion; + validateOutpostService(bucketName.service); + validateDNSHostLabel(outpostId, { tlsCompatible }); + validateNoFIPS(fipsEndpoint); + const hostnamePrefix = `${DNSHostLabel}.${outpostId}`; + return { + bucketEndpoint: true, + hostname: `${hostnamePrefix}${isCustomEndpoint ? "" : `.s3-outposts.${endpointRegion}`}.${hostnameSuffix}`, + signingRegion, + signingService: "s3-outposts", + }; +}; +const getEndpointFromAccessPointArn = ({ useArnRegion, clientRegion, clientSigningRegion = clientRegion, bucketName, dualstackEndpoint = false, fipsEndpoint = false, tlsCompatible = true, accesspointName, isCustomEndpoint, hostnameSuffix, }) => { + validateRegionalClient(clientRegion); + const hostnamePrefix = `${accesspointName}-${bucketName.accountId}`; + validateDNSHostLabel(hostnamePrefix, { tlsCompatible }); + const endpointRegion = useArnRegion ? bucketName.region : clientRegion; + const signingRegion = useArnRegion ? bucketName.region : clientSigningRegion; + validateS3Service(bucketName.service); + return { + bucketEndpoint: true, + hostname: `${hostnamePrefix}${isCustomEndpoint + ? "" + : `.s3-accesspoint${fipsEndpoint ? "-fips" : ""}${dualstackEndpoint ? ".dualstack" : ""}.${endpointRegion}`}.${hostnameSuffix}`, + signingRegion, + }; +}; diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/bucketHostnameUtils.js b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/bucketHostnameUtils.js new file mode 100644 index 0000000..8283cd8 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/bucketHostnameUtils.js @@ -0,0 +1,111 @@ +const DOMAIN_PATTERN = /^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/; +const IP_ADDRESS_PATTERN = /(\d+\.){3}\d+/; +const DOTS_PATTERN = /\.\./; +export const DOT_PATTERN = /\./; +export const S3_HOSTNAME_PATTERN = /^(.+\.)?s3(-fips)?(\.dualstack)?[.-]([a-z0-9-]+)\./; +const S3_US_EAST_1_ALTNAME_PATTERN = /^s3(-external-1)?\.amazonaws\.com$/; +const AWS_PARTITION_SUFFIX = "amazonaws.com"; +export const isBucketNameOptions = (options) => typeof options.bucketName === "string"; +export const isDnsCompatibleBucketName = (bucketName) => DOMAIN_PATTERN.test(bucketName) && !IP_ADDRESS_PATTERN.test(bucketName) && !DOTS_PATTERN.test(bucketName); +const getRegionalSuffix = (hostname) => { + const parts = hostname.match(S3_HOSTNAME_PATTERN); + return [parts[4], hostname.replace(new RegExp(`^${parts[0]}`), "")]; +}; +export const getSuffix = (hostname) => S3_US_EAST_1_ALTNAME_PATTERN.test(hostname) ? ["us-east-1", AWS_PARTITION_SUFFIX] : getRegionalSuffix(hostname); +export const getSuffixForArnEndpoint = (hostname) => S3_US_EAST_1_ALTNAME_PATTERN.test(hostname) + ? [hostname.replace(`.${AWS_PARTITION_SUFFIX}`, ""), AWS_PARTITION_SUFFIX] + : getRegionalSuffix(hostname); +export const validateArnEndpointOptions = (options) => { + if (options.pathStyleEndpoint) { + throw new Error("Path-style S3 endpoint is not supported when bucket is an ARN"); + } + if (options.accelerateEndpoint) { + throw new Error("Accelerate endpoint is not supported when bucket is an ARN"); + } + if (!options.tlsCompatible) { + throw new Error("HTTPS is required when bucket is an ARN"); + } +}; +export const validateService = (service) => { + if (service !== "s3" && service !== "s3-outposts" && service !== "s3-object-lambda") { + throw new Error("Expect 's3' or 's3-outposts' or 's3-object-lambda' in ARN service component"); + } +}; +export const validateS3Service = (service) => { + if (service !== "s3") { + throw new Error("Expect 's3' in Accesspoint ARN service component"); + } +}; +export const validateOutpostService = (service) => { + if (service !== "s3-outposts") { + throw new Error("Expect 's3-posts' in Outpost ARN service component"); + } +}; +export const validatePartition = (partition, options) => { + if (partition !== options.clientPartition) { + throw new Error(`Partition in ARN is incompatible, got "${partition}" but expected "${options.clientPartition}"`); + } +}; +export const validateRegion = (region, options) => { }; +export const validateRegionalClient = (region) => { + if (["s3-external-1", "aws-global"].includes(region)) { + throw new Error(`Client region ${region} is not regional`); + } +}; +export const validateAccountId = (accountId) => { + if (!/[0-9]{12}/.exec(accountId)) { + throw new Error("Access point ARN accountID does not match regex '[0-9]{12}'"); + } +}; +export const validateDNSHostLabel = (label, options = { tlsCompatible: true }) => { + if (label.length >= 64 || + !/^[a-z0-9][a-z0-9.-]*[a-z0-9]$/.test(label) || + /(\d+\.){3}\d+/.test(label) || + /[.-]{2}/.test(label) || + (options?.tlsCompatible && DOT_PATTERN.test(label))) { + throw new Error(`Invalid DNS label ${label}`); + } +}; +export const validateCustomEndpoint = (options) => { + if (options.isCustomEndpoint) { + if (options.dualstackEndpoint) + throw new Error("Dualstack endpoint is not supported with custom endpoint"); + if (options.accelerateEndpoint) + throw new Error("Accelerate endpoint is not supported with custom endpoint"); + } +}; +export const getArnResources = (resource) => { + const delimiter = resource.includes(":") ? ":" : "/"; + const [resourceType, ...rest] = resource.split(delimiter); + if (resourceType === "accesspoint") { + if (rest.length !== 1 || rest[0] === "") { + throw new Error(`Access Point ARN should have one resource accesspoint${delimiter}{accesspointname}`); + } + return { accesspointName: rest[0] }; + } + else if (resourceType === "outpost") { + if (!rest[0] || rest[1] !== "accesspoint" || !rest[2] || rest.length !== 3) { + throw new Error(`Outpost ARN should have resource outpost${delimiter}{outpostId}${delimiter}accesspoint${delimiter}{accesspointName}`); + } + const [outpostId, _, accesspointName] = rest; + return { outpostId, accesspointName }; + } + else { + throw new Error(`ARN resource should begin with 'accesspoint${delimiter}' or 'outpost${delimiter}'`); + } +}; +export const validateNoDualstack = (dualstackEndpoint) => { }; +export const validateNoFIPS = (useFipsEndpoint) => { + if (useFipsEndpoint) + throw new Error(`FIPS region is not supported with Outpost.`); +}; +export const validateMrapAlias = (name) => { + try { + name.split(".").forEach((label) => { + validateDNSHostLabel(label); + }); + } + catch (e) { + throw new Error(`"${name}" is not a DNS compatible name.`); + } +}; diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/configurations.js b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/configurations.js new file mode 100644 index 0000000..a465f51 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/configurations.js @@ -0,0 +1,12 @@ +export function resolveBucketEndpointConfig(input) { + const { bucketEndpoint = false, forcePathStyle = false, useAccelerateEndpoint = false, useArnRegion, disableMultiregionAccessPoints = false, } = input; + return Object.assign(input, { + bucketEndpoint, + forcePathStyle, + useAccelerateEndpoint, + useArnRegion: typeof useArnRegion === "function" ? useArnRegion : () => Promise.resolve(useArnRegion), + disableMultiregionAccessPoints: typeof disableMultiregionAccessPoints === "function" + ? disableMultiregionAccessPoints + : () => Promise.resolve(disableMultiregionAccessPoints), + }); +} diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/index.js b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/index.js new file mode 100644 index 0000000..c8583c2 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/index.js @@ -0,0 +1,6 @@ +export * from "./NodeDisableMultiregionAccessPointConfigOptions"; +export * from "./NodeUseArnRegionConfigOptions"; +export * from "./bucketEndpointMiddleware"; +export * from "./bucketHostname"; +export * from "./configurations"; +export { getArnResources, getSuffixForArnEndpoint, validateOutpostService, validatePartition, validateAccountId, validateRegion, validateDNSHostLabel, validateNoDualstack, validateNoFIPS, } from "./bucketHostnameUtils"; diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/NodeDisableMultiregionAccessPointConfigOptions.d.ts b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/NodeDisableMultiregionAccessPointConfigOptions.d.ts new file mode 100644 index 0000000..adcbbc9 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/NodeDisableMultiregionAccessPointConfigOptions.d.ts @@ -0,0 +1,4 @@ +import type { LoadedConfigSelectors } from "@smithy/node-config-provider"; +export declare const NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME = "AWS_S3_DISABLE_MULTIREGION_ACCESS_POINTS"; +export declare const NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME = "s3_disable_multiregion_access_points"; +export declare const NODE_DISABLE_MULTIREGION_ACCESS_POINT_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/NodeUseArnRegionConfigOptions.d.ts b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/NodeUseArnRegionConfigOptions.d.ts new file mode 100644 index 0000000..9cfd0c1 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/NodeUseArnRegionConfigOptions.d.ts @@ -0,0 +1,9 @@ +import type { LoadedConfigSelectors } from "@smithy/node-config-provider"; +export declare const NODE_USE_ARN_REGION_ENV_NAME = "AWS_S3_USE_ARN_REGION"; +export declare const NODE_USE_ARN_REGION_INI_NAME = "s3_use_arn_region"; +/** + * Config to load useArnRegion from environment variables and shared INI files + * + * @internal + */ +export declare const NODE_USE_ARN_REGION_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketEndpointMiddleware.d.ts b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketEndpointMiddleware.d.ts new file mode 100644 index 0000000..9e58bb4 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketEndpointMiddleware.d.ts @@ -0,0 +1,17 @@ +import type { BuildMiddleware, Pluggable, RelativeMiddlewareOptions } from "@smithy/types"; +import type { BucketEndpointResolvedConfig } from "./configurations"; +/** + * @deprecated unused as of EndpointsV2. + * @internal + */ +export declare const bucketEndpointMiddleware: (options: BucketEndpointResolvedConfig) => BuildMiddleware; +/** + * @deprecated unused as of EndpointsV2. + * @internal + */ +export declare const bucketEndpointMiddlewareOptions: RelativeMiddlewareOptions; +/** + * @deprecated unused as of EndpointsV2. + * @internal + */ +export declare const getBucketEndpointPlugin: (options: BucketEndpointResolvedConfig) => Pluggable; diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketHostname.d.ts b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketHostname.d.ts new file mode 100644 index 0000000..7f1ae40 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketHostname.d.ts @@ -0,0 +1,16 @@ +import type { ArnHostnameParams, BucketHostnameParams } from "./bucketHostnameUtils"; +/** + * @deprecated unused as of EndpointsV2. + * @internal + */ +export interface BucketHostname { + hostname: string; + bucketEndpoint: boolean; + signingRegion?: string; + signingService?: string; +} +/** + * @deprecated unused as of EndpointsV2. + * @internal + */ +export declare const bucketHostname: (options: BucketHostnameParams | ArnHostnameParams) => BucketHostname; diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketHostnameUtils.d.ts b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketHostnameUtils.d.ts new file mode 100644 index 0000000..62982aa --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketHostnameUtils.d.ts @@ -0,0 +1,174 @@ +import type { ARN } from "@aws-sdk/util-arn-parser"; +/** + * @deprecated unused as of EndpointsV2. + */ +export declare const DOT_PATTERN: RegExp; +/** + * @deprecated unused as of EndpointsV2. + */ +export declare const S3_HOSTNAME_PATTERN: RegExp; +/** + * @deprecated unused as of EndpointsV2. + * @internal + */ +export interface AccessPointArn extends ARN { + accessPointName: string; +} +/** + * @deprecated unused as of EndpointsV2. + * @internal + */ +export interface BucketHostnameParams { + isCustomEndpoint?: boolean; + baseHostname: string; + bucketName: string; + clientRegion: string; + accelerateEndpoint?: boolean; + dualstackEndpoint?: boolean; + fipsEndpoint?: boolean; + pathStyleEndpoint?: boolean; + tlsCompatible?: boolean; +} +/** + * @deprecated unused as of EndpointsV2. + * @internal + */ +export interface ArnHostnameParams extends Omit { + bucketName: ARN; + clientSigningRegion?: string; + clientPartition?: string; + useArnRegion?: boolean; + disableMultiregionAccessPoints?: boolean; +} +/** + * @deprecated unused as of EndpointsV2. + * @internal + */ +export declare const isBucketNameOptions: (options: BucketHostnameParams | ArnHostnameParams) => options is BucketHostnameParams; +/** + * Determines whether a given string is DNS compliant per the rules outlined by + * S3. Length, capitaization, and leading dot restrictions are enforced by the + * DOMAIN_PATTERN regular expression. + * @internal + * + * @see https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html + * + * @deprecated unused as of EndpointsV2. + */ +export declare const isDnsCompatibleBucketName: (bucketName: string) => boolean; +/** + * @deprecated unused as of EndpointsV2. + * @internal + */ +export declare const getSuffix: (hostname: string) => [string, string]; +/** + * Infer region and hostname suffix from a complete hostname + * @internal + * @param hostname - Hostname + * @returns [Region, Hostname suffix] + * + * @deprecated unused as of EndpointsV2. + */ +export declare const getSuffixForArnEndpoint: (hostname: string) => [string, string]; +/** + * @deprecated unused as of EndpointsV2. + * @internal + */ +export declare const validateArnEndpointOptions: (options: { + accelerateEndpoint?: boolean; + tlsCompatible?: boolean; + pathStyleEndpoint?: boolean; +}) => void; +/** + * @deprecated unused as of EndpointsV2. + * @internal + */ +export declare const validateService: (service: string) => void; +/** + * @deprecated unused as of EndpointsV2. + * @internal + */ +export declare const validateS3Service: (service: string) => void; +/** + * @internal + */ +export declare const validateOutpostService: (service: string) => void; +/** + * Validate partition inferred from ARN is the same to `options.clientPartition`. + * @internal + */ +export declare const validatePartition: (partition: string, options: { + clientPartition: string; +}) => void; +/** + * (Previous to deprecation) + * validate region value inferred from ARN. If `options.useArnRegion` is set, it validates the region is not a FIPS + * region. If `options.useArnRegion` is unset, it validates the region is equal to `options.clientRegion` or + * `options.clientSigningRegion`. + * + * @internal + * + * @deprecated validation is deferred to the endpoint ruleset. + */ +export declare const validateRegion: (region: string, options: { + useArnRegion?: boolean; + allowFipsRegion?: boolean; + clientRegion: string; + clientSigningRegion: string; + useFipsEndpoint: boolean; +}) => void; +/** + * @deprecated unused as of EndpointsV2. + */ +export declare const validateRegionalClient: (region: string) => void; +/** + * Validate an account ID + * @internal + */ +export declare const validateAccountId: (accountId: string) => void; +/** + * Validate a host label according to https://tools.ietf.org/html/rfc3986#section-3.2.2 + * @internal + * @deprecated unused as of EndpointsV2. + */ +export declare const validateDNSHostLabel: (label: string, options?: { + tlsCompatible?: boolean; +}) => void; +/** + * @deprecated unused as of EndpointsV2. + */ +export declare const validateCustomEndpoint: (options: { + isCustomEndpoint?: boolean; + dualstackEndpoint?: boolean; + accelerateEndpoint?: boolean; +}) => void; +/** + * Validate and parse an Access Point ARN or Outposts ARN + * @internal + * + * @param resource - The resource section of an ARN + * @returns Access Point Name and optional Outpost ID. + */ +export declare const getArnResources: (resource: string) => { + accesspointName: string; + outpostId?: string; +}; +/** + * (Prior to deprecation) Throw if dual stack configuration is set to true. + * @internal + * + * @deprecated validation deferred to endpoints ruleset. + */ +export declare const validateNoDualstack: (dualstackEndpoint?: boolean) => void; +/** + * Validate fips endpoint is not set up. + * @internal + * @deprecated unused as of EndpointsV2. + */ +export declare const validateNoFIPS: (useFipsEndpoint?: boolean) => void; +/** + * Validate the multi-region access point alias. + * @internal + * @deprecated unused as of EndpointsV2. + */ +export declare const validateMrapAlias: (name: string) => void; diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/configurations.d.ts b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/configurations.d.ts new file mode 100644 index 0000000..3396b90 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/configurations.d.ts @@ -0,0 +1,95 @@ +import type { Provider, RegionInfoProvider } from "@smithy/types"; +/** + * @deprecated unused as of EndpointsV2. + */ +export interface BucketEndpointInputConfig { + /** + * Whether to use the bucket name as the endpoint for this request. The bucket + * name must be a domain name with a CNAME record alias to an appropriate virtual + * hosted-style S3 hostname, e.g. a bucket of `images.johnsmith.net` and a DNS + * record of: + * + * ``` + * images.johnsmith.net CNAME images.johnsmith.net.s3.amazonaws.com. + * ``` + * + * @see https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html#VirtualHostingCustomURLs + */ + bucketEndpoint?: boolean; + /** + * Whether to force path style URLs for S3 objects (e.g., https://s3.amazonaws.com// instead of https://.s3.amazonaws.com/ + */ + forcePathStyle?: boolean; + /** + * Whether to use the S3 Transfer Acceleration endpoint by default + */ + useAccelerateEndpoint?: boolean; + /** + * Whether to override the request region with the region inferred from requested resource's ARN. Defaults to false + */ + useArnRegion?: boolean | Provider; + /** + * Whether to prevent SDK from making cross-region request when supplied bucket is a multi-region access point ARN. + * Defaults to false + */ + disableMultiregionAccessPoints?: boolean | Provider; +} +/** + * @deprecated unused as of EndpointsV2. + */ +interface PreviouslyResolved { + isCustomEndpoint?: boolean; + region: Provider; + regionInfoProvider: RegionInfoProvider; + useFipsEndpoint: Provider; + useDualstackEndpoint: Provider; +} +/** + * @deprecated unused as of EndpointsV2. + */ +export interface BucketEndpointResolvedConfig { + /** + * Whether the endpoint is specified by caller. + * @internal + */ + isCustomEndpoint?: boolean; + /** + * Resolved value for input config {@link BucketEndpointInputConfig.bucketEndpoint} + */ + bucketEndpoint: boolean; + /** + * Resolved value for input config {@link BucketEndpointInputConfig.forcePathStyle} + */ + forcePathStyle: boolean; + /** + * Resolved value for input config {@link BucketEndpointInputConfig.useAccelerateEndpoint} + */ + useAccelerateEndpoint: boolean; + /** + * Enables FIPS compatible endpoints. + */ + useFipsEndpoint: Provider; + /** + * Enables IPv6/IPv4 dualstack endpoint. + */ + useDualstackEndpoint: Provider; + /** + * Resolved value for input config {@link BucketEndpointInputConfig.useArnRegion} + */ + useArnRegion: Provider; + /** + * Resolved value for input config {@link RegionInputConfig.region} + */ + region: Provider; + /** + * Fetch related hostname, signing name or signing region with given region. + * @internal + */ + regionInfoProvider: RegionInfoProvider; + disableMultiregionAccessPoints: Provider; +} +/** + * @deprecated unused as of EndpointsV2. + */ +export declare function resolveBucketEndpointConfig(input: T & PreviouslyResolved & BucketEndpointInputConfig): T & BucketEndpointResolvedConfig; +export {}; diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/index.d.ts b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/index.d.ts new file mode 100644 index 0000000..c8583c2 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/index.d.ts @@ -0,0 +1,6 @@ +export * from "./NodeDisableMultiregionAccessPointConfigOptions"; +export * from "./NodeUseArnRegionConfigOptions"; +export * from "./bucketEndpointMiddleware"; +export * from "./bucketHostname"; +export * from "./configurations"; +export { getArnResources, getSuffixForArnEndpoint, validateOutpostService, validatePartition, validateAccountId, validateRegion, validateDNSHostLabel, validateNoDualstack, validateNoFIPS, } from "./bucketHostnameUtils"; diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/NodeDisableMultiregionAccessPointConfigOptions.d.ts b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/NodeDisableMultiregionAccessPointConfigOptions.d.ts new file mode 100644 index 0000000..2275039 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/NodeDisableMultiregionAccessPointConfigOptions.d.ts @@ -0,0 +1,6 @@ +import { LoadedConfigSelectors } from "@smithy/node-config-provider"; +export declare const NODE_DISABLE_MULTIREGION_ACCESS_POINT_ENV_NAME = + "AWS_S3_DISABLE_MULTIREGION_ACCESS_POINTS"; +export declare const NODE_DISABLE_MULTIREGION_ACCESS_POINT_INI_NAME = + "s3_disable_multiregion_access_points"; +export declare const NODE_DISABLE_MULTIREGION_ACCESS_POINT_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/NodeUseArnRegionConfigOptions.d.ts b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/NodeUseArnRegionConfigOptions.d.ts new file mode 100644 index 0000000..5d60ffa --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/NodeUseArnRegionConfigOptions.d.ts @@ -0,0 +1,6 @@ +import { LoadedConfigSelectors } from "@smithy/node-config-provider"; +export declare const NODE_USE_ARN_REGION_ENV_NAME = "AWS_S3_USE_ARN_REGION"; +export declare const NODE_USE_ARN_REGION_INI_NAME = "s3_use_arn_region"; +export declare const NODE_USE_ARN_REGION_CONFIG_OPTIONS: LoadedConfigSelectors< + boolean | undefined +>; diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/bucketEndpointMiddleware.d.ts b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/bucketEndpointMiddleware.d.ts new file mode 100644 index 0000000..e54851b --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/bucketEndpointMiddleware.d.ts @@ -0,0 +1,13 @@ +import { + BuildMiddleware, + Pluggable, + RelativeMiddlewareOptions, +} from "@smithy/types"; +import { BucketEndpointResolvedConfig } from "./configurations"; +export declare const bucketEndpointMiddleware: ( + options: BucketEndpointResolvedConfig +) => BuildMiddleware; +export declare const bucketEndpointMiddlewareOptions: RelativeMiddlewareOptions; +export declare const getBucketEndpointPlugin: ( + options: BucketEndpointResolvedConfig +) => Pluggable; diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/bucketHostname.d.ts b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/bucketHostname.d.ts new file mode 100644 index 0000000..1d2b948 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/bucketHostname.d.ts @@ -0,0 +1,10 @@ +import { ArnHostnameParams, BucketHostnameParams } from "./bucketHostnameUtils"; +export interface BucketHostname { + hostname: string; + bucketEndpoint: boolean; + signingRegion?: string; + signingService?: string; +} +export declare const bucketHostname: ( + options: BucketHostnameParams | ArnHostnameParams +) => BucketHostname; diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/bucketHostnameUtils.d.ts b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/bucketHostnameUtils.d.ts new file mode 100644 index 0000000..30091f7 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/bucketHostnameUtils.d.ts @@ -0,0 +1,80 @@ +import { ARN } from "@aws-sdk/util-arn-parser"; +export declare const DOT_PATTERN: RegExp; +export declare const S3_HOSTNAME_PATTERN: RegExp; +export interface AccessPointArn extends ARN { + accessPointName: string; +} +export interface BucketHostnameParams { + isCustomEndpoint?: boolean; + baseHostname: string; + bucketName: string; + clientRegion: string; + accelerateEndpoint?: boolean; + dualstackEndpoint?: boolean; + fipsEndpoint?: boolean; + pathStyleEndpoint?: boolean; + tlsCompatible?: boolean; +} +export interface ArnHostnameParams + extends Pick< + BucketHostnameParams, + Exclude + > { + bucketName: ARN; + clientSigningRegion?: string; + clientPartition?: string; + useArnRegion?: boolean; + disableMultiregionAccessPoints?: boolean; +} +export declare const isBucketNameOptions: ( + options: BucketHostnameParams | ArnHostnameParams +) => options is BucketHostnameParams; +export declare const isDnsCompatibleBucketName: (bucketName: string) => boolean; +export declare const getSuffix: (hostname: string) => [string, string]; +export declare const getSuffixForArnEndpoint: ( + hostname: string +) => [string, string]; +export declare const validateArnEndpointOptions: (options: { + accelerateEndpoint?: boolean; + tlsCompatible?: boolean; + pathStyleEndpoint?: boolean; +}) => void; +export declare const validateService: (service: string) => void; +export declare const validateS3Service: (service: string) => void; +export declare const validateOutpostService: (service: string) => void; +export declare const validatePartition: ( + partition: string, + options: { + clientPartition: string; + } +) => void; +export declare const validateRegion: ( + region: string, + options: { + useArnRegion?: boolean; + allowFipsRegion?: boolean; + clientRegion: string; + clientSigningRegion: string; + useFipsEndpoint: boolean; + } +) => void; +export declare const validateRegionalClient: (region: string) => void; +export declare const validateAccountId: (accountId: string) => void; +export declare const validateDNSHostLabel: ( + label: string, + options?: { + tlsCompatible?: boolean; + } +) => void; +export declare const validateCustomEndpoint: (options: { + isCustomEndpoint?: boolean; + dualstackEndpoint?: boolean; + accelerateEndpoint?: boolean; +}) => void; +export declare const getArnResources: (resource: string) => { + accesspointName: string; + outpostId?: string; +}; +export declare const validateNoDualstack: (dualstackEndpoint?: boolean) => void; +export declare const validateNoFIPS: (useFipsEndpoint?: boolean) => void; +export declare const validateMrapAlias: (name: string) => void; diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/configurations.d.ts b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/configurations.d.ts new file mode 100644 index 0000000..c800ab5 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/configurations.d.ts @@ -0,0 +1,31 @@ +import { Provider, RegionInfoProvider } from "@smithy/types"; +export interface BucketEndpointInputConfig { + bucketEndpoint?: boolean; + forcePathStyle?: boolean; + useAccelerateEndpoint?: boolean; + useArnRegion?: boolean | Provider; + disableMultiregionAccessPoints?: boolean | Provider; +} +interface PreviouslyResolved { + isCustomEndpoint?: boolean; + region: Provider; + regionInfoProvider: RegionInfoProvider; + useFipsEndpoint: Provider; + useDualstackEndpoint: Provider; +} +export interface BucketEndpointResolvedConfig { + isCustomEndpoint?: boolean; + bucketEndpoint: boolean; + forcePathStyle: boolean; + useAccelerateEndpoint: boolean; + useFipsEndpoint: Provider; + useDualstackEndpoint: Provider; + useArnRegion: Provider; + region: Provider; + regionInfoProvider: RegionInfoProvider; + disableMultiregionAccessPoints: Provider; +} +export declare function resolveBucketEndpointConfig( + input: T & PreviouslyResolved & BucketEndpointInputConfig +): T & BucketEndpointResolvedConfig; +export {}; diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..9687a3e --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/index.d.ts @@ -0,0 +1,16 @@ +export * from "./NodeDisableMultiregionAccessPointConfigOptions"; +export * from "./NodeUseArnRegionConfigOptions"; +export * from "./bucketEndpointMiddleware"; +export * from "./bucketHostname"; +export * from "./configurations"; +export { + getArnResources, + getSuffixForArnEndpoint, + validateOutpostService, + validatePartition, + validateAccountId, + validateRegion, + validateDNSHostLabel, + validateNoDualstack, + validateNoFIPS, +} from "./bucketHostnameUtils"; diff --git a/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json b/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json new file mode 100644 index 0000000..a62d318 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json @@ -0,0 +1,60 @@ +{ + "name": "@aws-sdk/middleware-bucket-endpoint", + "version": "3.972.8", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline middleware-bucket-endpoint", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "extract:docs": "api-extractor run --local", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/util-arn-parser": "^3.972.3", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-config-provider": "^4.2.2", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-bucket-endpoint", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/middleware-bucket-endpoint" + } +} diff --git a/node_modules/@aws-sdk/middleware-expect-continue/LICENSE b/node_modules/@aws-sdk/middleware-expect-continue/LICENSE new file mode 100644 index 0000000..dd65ae0 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-expect-continue/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@aws-sdk/middleware-expect-continue/README.md b/node_modules/@aws-sdk/middleware-expect-continue/README.md new file mode 100644 index 0000000..e19bd83 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-expect-continue/README.md @@ -0,0 +1,4 @@ +# @aws-sdk/middleware-expect-continue + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-expect-continue/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-expect-continue) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-expect-continue.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-expect-continue) diff --git a/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js b/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js new file mode 100644 index 0000000..c22c8dc --- /dev/null +++ b/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js @@ -0,0 +1,48 @@ +'use strict'; + +var protocolHttp = require('@smithy/protocol-http'); + +function addExpectContinueMiddleware(options) { + return (next) => async (args) => { + const { request } = args; + if (options.expectContinueHeader !== false && + protocolHttp.HttpRequest.isInstance(request) && + request.body && + options.runtime === "node" && + options.requestHandler?.constructor?.name !== "FetchHttpHandler") { + let sendHeader = true; + if (typeof options.expectContinueHeader === "number") { + try { + const bodyLength = Number(request.headers?.["content-length"]) ?? options.bodyLengthChecker?.(request.body) ?? Infinity; + sendHeader = bodyLength >= options.expectContinueHeader; + } + catch (e) { } + } + else { + sendHeader = !!options.expectContinueHeader; + } + if (sendHeader) { + request.headers.Expect = "100-continue"; + } + } + return next({ + ...args, + request, + }); + }; +} +const addExpectContinueMiddlewareOptions = { + step: "build", + tags: ["SET_EXPECT_HEADER", "EXPECT_HEADER"], + name: "addExpectContinueMiddleware", + override: true, +}; +const getAddExpectContinuePlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(addExpectContinueMiddleware(options), addExpectContinueMiddlewareOptions); + }, +}); + +exports.addExpectContinueMiddleware = addExpectContinueMiddleware; +exports.addExpectContinueMiddlewareOptions = addExpectContinueMiddlewareOptions; +exports.getAddExpectContinuePlugin = getAddExpectContinuePlugin; diff --git a/node_modules/@aws-sdk/middleware-expect-continue/dist-es/index.js b/node_modules/@aws-sdk/middleware-expect-continue/dist-es/index.js new file mode 100644 index 0000000..7fcef09 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-expect-continue/dist-es/index.js @@ -0,0 +1,41 @@ +import { HttpRequest } from "@smithy/protocol-http"; +export function addExpectContinueMiddleware(options) { + return (next) => async (args) => { + const { request } = args; + if (options.expectContinueHeader !== false && + HttpRequest.isInstance(request) && + request.body && + options.runtime === "node" && + options.requestHandler?.constructor?.name !== "FetchHttpHandler") { + let sendHeader = true; + if (typeof options.expectContinueHeader === "number") { + try { + const bodyLength = Number(request.headers?.["content-length"]) ?? options.bodyLengthChecker?.(request.body) ?? Infinity; + sendHeader = bodyLength >= options.expectContinueHeader; + } + catch (e) { } + } + else { + sendHeader = !!options.expectContinueHeader; + } + if (sendHeader) { + request.headers.Expect = "100-continue"; + } + } + return next({ + ...args, + request, + }); + }; +} +export const addExpectContinueMiddlewareOptions = { + step: "build", + tags: ["SET_EXPECT_HEADER", "EXPECT_HEADER"], + name: "addExpectContinueMiddleware", + override: true, +}; +export const getAddExpectContinuePlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(addExpectContinueMiddleware(options), addExpectContinueMiddlewareOptions); + }, +}); diff --git a/node_modules/@aws-sdk/middleware-expect-continue/dist-types/index.d.ts b/node_modules/@aws-sdk/middleware-expect-continue/dist-types/index.d.ts new file mode 100644 index 0000000..f8897cb --- /dev/null +++ b/node_modules/@aws-sdk/middleware-expect-continue/dist-types/index.d.ts @@ -0,0 +1,12 @@ +import type { HttpHandler } from "@smithy/protocol-http"; +import type { BodyLengthCalculator, BuildHandlerOptions, BuildMiddleware, Pluggable, RequestHandler } from "@smithy/types"; +interface PreviouslyResolved { + runtime: string; + requestHandler?: RequestHandler | HttpHandler; + bodyLengthChecker?: BodyLengthCalculator; + expectContinueHeader?: boolean | number; +} +export declare function addExpectContinueMiddleware(options: PreviouslyResolved): BuildMiddleware; +export declare const addExpectContinueMiddlewareOptions: BuildHandlerOptions; +export declare const getAddExpectContinuePlugin: (options: PreviouslyResolved) => Pluggable; +export {}; diff --git a/node_modules/@aws-sdk/middleware-expect-continue/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/middleware-expect-continue/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..447cff5 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-expect-continue/dist-types/ts3.4/index.d.ts @@ -0,0 +1,22 @@ +import { HttpHandler } from "@smithy/protocol-http"; +import { + BodyLengthCalculator, + BuildHandlerOptions, + BuildMiddleware, + Pluggable, + RequestHandler, +} from "@smithy/types"; +interface PreviouslyResolved { + runtime: string; + requestHandler?: RequestHandler | HttpHandler; + bodyLengthChecker?: BodyLengthCalculator; + expectContinueHeader?: boolean | number; +} +export declare function addExpectContinueMiddleware( + options: PreviouslyResolved +): BuildMiddleware; +export declare const addExpectContinueMiddlewareOptions: BuildHandlerOptions; +export declare const getAddExpectContinuePlugin: ( + options: PreviouslyResolved +) => Pluggable; +export {}; diff --git a/node_modules/@aws-sdk/middleware-expect-continue/package.json b/node_modules/@aws-sdk/middleware-expect-continue/package.json new file mode 100644 index 0000000..87f9d14 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-expect-continue/package.json @@ -0,0 +1,58 @@ +{ + "name": "@aws-sdk/middleware-expect-continue", + "version": "3.972.8", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline middleware-expect-continue", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:watch": "yarn g:vitest watch", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-expect-continue", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/middleware-expect-continue" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + } +} diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/LICENSE b/node_modules/@aws-sdk/middleware-flexible-checksums/LICENSE new file mode 100644 index 0000000..8efcd8d --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/README.md b/node_modules/@aws-sdk/middleware-flexible-checksums/README.md new file mode 100644 index 0000000..ac7b4d3 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/README.md @@ -0,0 +1,7 @@ +# @aws-sdk/middleware-flexible-checksums + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-flexible-checksums/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-flexible-checksums) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-flexible-checksums.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-flexible-checksums) + +This package provides AWS SDK for JavaScript middleware that applies a checksum +of the request body as a header. diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.browser.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.browser.js new file mode 100644 index 0000000..3fc2576 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.browser.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getCrc32ChecksumAlgorithmFunction = void 0; +const crc32_1 = require("@aws-crypto/crc32"); +const getCrc32ChecksumAlgorithmFunction = () => crc32_1.AwsCrc32; +exports.getCrc32ChecksumAlgorithmFunction = getCrc32ChecksumAlgorithmFunction; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js new file mode 100644 index 0000000..97883e7 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js @@ -0,0 +1,26 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getCrc32ChecksumAlgorithmFunction = void 0; +const tslib_1 = require("tslib"); +const crc32_1 = require("@aws-crypto/crc32"); +const util_1 = require("@aws-crypto/util"); +const zlib = tslib_1.__importStar(require("node:zlib")); +class NodeCrc32 { + checksum = 0; + update(data) { + this.checksum = zlib.crc32(data, this.checksum); + } + async digest() { + return (0, util_1.numToUint8)(this.checksum); + } + reset() { + this.checksum = 0; + } +} +const getCrc32ChecksumAlgorithmFunction = () => { + if (typeof zlib.crc32 === "undefined") { + return crc32_1.AwsCrc32; + } + return NodeCrc32; +}; +exports.getCrc32ChecksumAlgorithmFunction = getCrc32ChecksumAlgorithmFunction; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js new file mode 100644 index 0000000..7124ba9 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js @@ -0,0 +1,451 @@ +'use strict'; + +var client = require('@aws-sdk/core/client'); +var protocolHttp = require('@smithy/protocol-http'); +var utilStream = require('@smithy/util-stream'); +var isArrayBuffer = require('@smithy/is-array-buffer'); +var crc32c = require('@aws-crypto/crc32c'); +var crc64Nvme = require('@aws-sdk/crc64-nvme'); +var getCrc32ChecksumAlgorithmFunction = require('./getCrc32ChecksumAlgorithmFunction'); +var utilUtf8 = require('@smithy/util-utf8'); +var utilMiddleware = require('@smithy/util-middleware'); + +const RequestChecksumCalculation = { + WHEN_SUPPORTED: "WHEN_SUPPORTED", + WHEN_REQUIRED: "WHEN_REQUIRED", +}; +const DEFAULT_REQUEST_CHECKSUM_CALCULATION = RequestChecksumCalculation.WHEN_SUPPORTED; +const ResponseChecksumValidation = { + WHEN_SUPPORTED: "WHEN_SUPPORTED", + WHEN_REQUIRED: "WHEN_REQUIRED", +}; +const DEFAULT_RESPONSE_CHECKSUM_VALIDATION = RequestChecksumCalculation.WHEN_SUPPORTED; +exports.ChecksumAlgorithm = void 0; +(function (ChecksumAlgorithm) { + ChecksumAlgorithm["MD5"] = "MD5"; + ChecksumAlgorithm["CRC32"] = "CRC32"; + ChecksumAlgorithm["CRC32C"] = "CRC32C"; + ChecksumAlgorithm["CRC64NVME"] = "CRC64NVME"; + ChecksumAlgorithm["SHA1"] = "SHA1"; + ChecksumAlgorithm["SHA256"] = "SHA256"; +})(exports.ChecksumAlgorithm || (exports.ChecksumAlgorithm = {})); +exports.ChecksumLocation = void 0; +(function (ChecksumLocation) { + ChecksumLocation["HEADER"] = "header"; + ChecksumLocation["TRAILER"] = "trailer"; +})(exports.ChecksumLocation || (exports.ChecksumLocation = {})); +const DEFAULT_CHECKSUM_ALGORITHM = exports.ChecksumAlgorithm.CRC32; + +var SelectorType; +(function (SelectorType) { + SelectorType["ENV"] = "env"; + SelectorType["CONFIG"] = "shared config entry"; +})(SelectorType || (SelectorType = {})); +const stringUnionSelector = (obj, key, union, type) => { + if (!(key in obj)) + return undefined; + const value = obj[key].toUpperCase(); + if (!Object.values(union).includes(value)) { + throw new TypeError(`Cannot load ${type} '${key}'. Expected one of ${Object.values(union)}, got '${obj[key]}'.`); + } + return value; +}; + +const ENV_REQUEST_CHECKSUM_CALCULATION = "AWS_REQUEST_CHECKSUM_CALCULATION"; +const CONFIG_REQUEST_CHECKSUM_CALCULATION = "request_checksum_calculation"; +const NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => stringUnionSelector(env, ENV_REQUEST_CHECKSUM_CALCULATION, RequestChecksumCalculation, SelectorType.ENV), + configFileSelector: (profile) => stringUnionSelector(profile, CONFIG_REQUEST_CHECKSUM_CALCULATION, RequestChecksumCalculation, SelectorType.CONFIG), + default: DEFAULT_REQUEST_CHECKSUM_CALCULATION, +}; + +const ENV_RESPONSE_CHECKSUM_VALIDATION = "AWS_RESPONSE_CHECKSUM_VALIDATION"; +const CONFIG_RESPONSE_CHECKSUM_VALIDATION = "response_checksum_validation"; +const NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => stringUnionSelector(env, ENV_RESPONSE_CHECKSUM_VALIDATION, ResponseChecksumValidation, SelectorType.ENV), + configFileSelector: (profile) => stringUnionSelector(profile, CONFIG_RESPONSE_CHECKSUM_VALIDATION, ResponseChecksumValidation, SelectorType.CONFIG), + default: DEFAULT_RESPONSE_CHECKSUM_VALIDATION, +}; + +const getChecksumAlgorithmForRequest = (input, { requestChecksumRequired, requestAlgorithmMember, requestChecksumCalculation }) => { + if (!requestAlgorithmMember) { + return requestChecksumCalculation === RequestChecksumCalculation.WHEN_SUPPORTED || requestChecksumRequired + ? DEFAULT_CHECKSUM_ALGORITHM + : undefined; + } + if (!input[requestAlgorithmMember]) { + return undefined; + } + const checksumAlgorithm = input[requestAlgorithmMember]; + return checksumAlgorithm; +}; + +const getChecksumLocationName = (algorithm) => algorithm === exports.ChecksumAlgorithm.MD5 ? "content-md5" : `x-amz-checksum-${algorithm.toLowerCase()}`; + +const hasHeader = (header, headers) => { + const soughtHeader = header.toLowerCase(); + for (const headerName of Object.keys(headers)) { + if (soughtHeader === headerName.toLowerCase()) { + return true; + } + } + return false; +}; + +const hasHeaderWithPrefix = (headerPrefix, headers) => { + const soughtHeaderPrefix = headerPrefix.toLowerCase(); + for (const headerName of Object.keys(headers)) { + if (headerName.toLowerCase().startsWith(soughtHeaderPrefix)) { + return true; + } + } + return false; +}; + +const isStreaming = (body) => body !== undefined && typeof body !== "string" && !ArrayBuffer.isView(body) && !isArrayBuffer.isArrayBuffer(body); + +const CLIENT_SUPPORTED_ALGORITHMS = [ + exports.ChecksumAlgorithm.CRC32, + exports.ChecksumAlgorithm.CRC32C, + exports.ChecksumAlgorithm.CRC64NVME, + exports.ChecksumAlgorithm.SHA1, + exports.ChecksumAlgorithm.SHA256, +]; +const PRIORITY_ORDER_ALGORITHMS = [ + exports.ChecksumAlgorithm.SHA256, + exports.ChecksumAlgorithm.SHA1, + exports.ChecksumAlgorithm.CRC32, + exports.ChecksumAlgorithm.CRC32C, + exports.ChecksumAlgorithm.CRC64NVME, +]; + +const selectChecksumAlgorithmFunction = (checksumAlgorithm, config) => { + const { checksumAlgorithms = {} } = config; + switch (checksumAlgorithm) { + case exports.ChecksumAlgorithm.MD5: + return checksumAlgorithms?.MD5 ?? config.md5; + case exports.ChecksumAlgorithm.CRC32: + return checksumAlgorithms?.CRC32 ?? getCrc32ChecksumAlgorithmFunction.getCrc32ChecksumAlgorithmFunction(); + case exports.ChecksumAlgorithm.CRC32C: + return checksumAlgorithms?.CRC32C ?? crc32c.AwsCrc32c; + case exports.ChecksumAlgorithm.CRC64NVME: + if (typeof crc64Nvme.crc64NvmeCrtContainer.CrtCrc64Nvme !== "function") { + return checksumAlgorithms?.CRC64NVME ?? crc64Nvme.Crc64Nvme; + } + return checksumAlgorithms?.CRC64NVME ?? crc64Nvme.crc64NvmeCrtContainer.CrtCrc64Nvme; + case exports.ChecksumAlgorithm.SHA1: + return checksumAlgorithms?.SHA1 ?? config.sha1; + case exports.ChecksumAlgorithm.SHA256: + return checksumAlgorithms?.SHA256 ?? config.sha256; + default: + if (checksumAlgorithms?.[checksumAlgorithm]) { + return checksumAlgorithms[checksumAlgorithm]; + } + throw new Error(`The checksum algorithm "${checksumAlgorithm}" is not supported by the client.` + + ` Select one of ${CLIENT_SUPPORTED_ALGORITHMS}, or provide an implementation to ` + + ` the client constructor checksums field.`); + } +}; + +const stringHasher = (checksumAlgorithmFn, body) => { + const hash = new checksumAlgorithmFn(); + hash.update(utilUtf8.toUint8Array(body || "")); + return hash.digest(); +}; + +const flexibleChecksumsMiddlewareOptions = { + name: "flexibleChecksumsMiddleware", + step: "build", + tags: ["BODY_CHECKSUM"], + override: true, +}; +const flexibleChecksumsMiddleware = (config, middlewareConfig) => (next, context) => async (args) => { + if (!protocolHttp.HttpRequest.isInstance(args.request)) { + return next(args); + } + if (hasHeaderWithPrefix("x-amz-checksum-", args.request.headers)) { + return next(args); + } + const { request, input } = args; + const { body: requestBody, headers } = request; + const { base64Encoder, streamHasher } = config; + const { requestChecksumRequired, requestAlgorithmMember } = middlewareConfig; + const requestChecksumCalculation = await config.requestChecksumCalculation(); + const requestAlgorithmMemberName = requestAlgorithmMember?.name; + const requestAlgorithmMemberHttpHeader = requestAlgorithmMember?.httpHeader; + if (requestAlgorithmMemberName && !input[requestAlgorithmMemberName]) { + if (requestChecksumCalculation === RequestChecksumCalculation.WHEN_SUPPORTED || requestChecksumRequired) { + input[requestAlgorithmMemberName] = DEFAULT_CHECKSUM_ALGORITHM; + if (requestAlgorithmMemberHttpHeader) { + headers[requestAlgorithmMemberHttpHeader] = DEFAULT_CHECKSUM_ALGORITHM; + } + } + } + const checksumAlgorithm = getChecksumAlgorithmForRequest(input, { + requestChecksumRequired, + requestAlgorithmMember: requestAlgorithmMember?.name, + requestChecksumCalculation, + }); + let updatedBody = requestBody; + let updatedHeaders = headers; + if (checksumAlgorithm) { + switch (checksumAlgorithm) { + case exports.ChecksumAlgorithm.CRC32: + client.setFeature(context, "FLEXIBLE_CHECKSUMS_REQ_CRC32", "U"); + break; + case exports.ChecksumAlgorithm.CRC32C: + client.setFeature(context, "FLEXIBLE_CHECKSUMS_REQ_CRC32C", "V"); + break; + case exports.ChecksumAlgorithm.CRC64NVME: + client.setFeature(context, "FLEXIBLE_CHECKSUMS_REQ_CRC64", "W"); + break; + case exports.ChecksumAlgorithm.SHA1: + client.setFeature(context, "FLEXIBLE_CHECKSUMS_REQ_SHA1", "X"); + break; + case exports.ChecksumAlgorithm.SHA256: + client.setFeature(context, "FLEXIBLE_CHECKSUMS_REQ_SHA256", "Y"); + break; + } + const checksumLocationName = getChecksumLocationName(checksumAlgorithm); + const checksumAlgorithmFn = selectChecksumAlgorithmFunction(checksumAlgorithm, config); + if (isStreaming(requestBody)) { + const { getAwsChunkedEncodingStream, bodyLengthChecker } = config; + updatedBody = getAwsChunkedEncodingStream(typeof config.requestStreamBufferSize === "number" && config.requestStreamBufferSize >= 8 * 1024 + ? utilStream.createBufferedReadable(requestBody, config.requestStreamBufferSize, context.logger) + : requestBody, { + base64Encoder, + bodyLengthChecker, + checksumLocationName, + checksumAlgorithmFn, + streamHasher, + }); + updatedHeaders = { + ...headers, + "content-encoding": headers["content-encoding"] + ? `${headers["content-encoding"]},aws-chunked` + : "aws-chunked", + "transfer-encoding": "chunked", + "x-amz-decoded-content-length": headers["content-length"], + "x-amz-content-sha256": "STREAMING-UNSIGNED-PAYLOAD-TRAILER", + "x-amz-trailer": checksumLocationName, + }; + delete updatedHeaders["content-length"]; + } + else if (!hasHeader(checksumLocationName, headers)) { + const rawChecksum = await stringHasher(checksumAlgorithmFn, requestBody); + updatedHeaders = { + ...headers, + [checksumLocationName]: base64Encoder(rawChecksum), + }; + } + } + try { + const result = await next({ + ...args, + request: { + ...request, + headers: updatedHeaders, + body: updatedBody, + }, + }); + return result; + } + catch (e) { + if (e instanceof Error && e.name === "InvalidChunkSizeError") { + try { + if (!e.message.endsWith(".")) { + e.message += "."; + } + e.message += + " Set [requestStreamBufferSize=number e.g. 65_536] in client constructor to instruct AWS SDK to buffer your input stream."; + } + catch (ignored) { + } + } + throw e; + } +}; + +const flexibleChecksumsInputMiddlewareOptions = { + name: "flexibleChecksumsInputMiddleware", + toMiddleware: "serializerMiddleware", + relation: "before", + tags: ["BODY_CHECKSUM"], + override: true, +}; +const flexibleChecksumsInputMiddleware = (config, middlewareConfig) => (next, context) => async (args) => { + const input = args.input; + const { requestValidationModeMember } = middlewareConfig; + const requestChecksumCalculation = await config.requestChecksumCalculation(); + const responseChecksumValidation = await config.responseChecksumValidation(); + switch (requestChecksumCalculation) { + case RequestChecksumCalculation.WHEN_REQUIRED: + client.setFeature(context, "FLEXIBLE_CHECKSUMS_REQ_WHEN_REQUIRED", "a"); + break; + case RequestChecksumCalculation.WHEN_SUPPORTED: + client.setFeature(context, "FLEXIBLE_CHECKSUMS_REQ_WHEN_SUPPORTED", "Z"); + break; + } + switch (responseChecksumValidation) { + case ResponseChecksumValidation.WHEN_REQUIRED: + client.setFeature(context, "FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED", "c"); + break; + case ResponseChecksumValidation.WHEN_SUPPORTED: + client.setFeature(context, "FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED", "b"); + break; + } + if (requestValidationModeMember && !input[requestValidationModeMember]) { + if (responseChecksumValidation === ResponseChecksumValidation.WHEN_SUPPORTED) { + input[requestValidationModeMember] = "ENABLED"; + } + } + return next(args); +}; + +const getChecksumAlgorithmListForResponse = (responseAlgorithms = []) => { + const validChecksumAlgorithms = []; + let i = PRIORITY_ORDER_ALGORITHMS.length; + for (const algorithm of responseAlgorithms) { + const priority = PRIORITY_ORDER_ALGORITHMS.indexOf(algorithm); + if (priority !== -1) { + validChecksumAlgorithms[priority] = algorithm; + } + else { + validChecksumAlgorithms[i++] = algorithm; + } + } + return validChecksumAlgorithms.filter(Boolean); +}; + +const isChecksumWithPartNumber = (checksum) => { + const lastHyphenIndex = checksum.lastIndexOf("-"); + if (lastHyphenIndex !== -1) { + const numberPart = checksum.slice(lastHyphenIndex + 1); + if (!numberPart.startsWith("0")) { + const number = parseInt(numberPart, 10); + if (!isNaN(number) && number >= 1 && number <= 10000) { + return true; + } + } + } + return false; +}; + +const getChecksum = async (body, { checksumAlgorithmFn, base64Encoder }) => base64Encoder(await stringHasher(checksumAlgorithmFn, body)); + +const validateChecksumFromResponse = async (response, { config, responseAlgorithms, logger }) => { + const checksumAlgorithms = getChecksumAlgorithmListForResponse(responseAlgorithms); + const { body: responseBody, headers: responseHeaders } = response; + for (const algorithm of checksumAlgorithms) { + const responseHeader = getChecksumLocationName(algorithm); + const checksumFromResponse = responseHeaders[responseHeader]; + if (checksumFromResponse) { + let checksumAlgorithmFn; + try { + checksumAlgorithmFn = selectChecksumAlgorithmFunction(algorithm, config); + } + catch (error) { + if (algorithm === exports.ChecksumAlgorithm.CRC64NVME) { + logger?.warn(`Skipping ${exports.ChecksumAlgorithm.CRC64NVME} checksum validation: ${error.message}`); + continue; + } + throw error; + } + const { base64Encoder } = config; + if (isStreaming(responseBody)) { + response.body = utilStream.createChecksumStream({ + expectedChecksum: checksumFromResponse, + checksumSourceLocation: responseHeader, + checksum: new checksumAlgorithmFn(), + source: responseBody, + base64Encoder, + }); + return; + } + const checksum = await getChecksum(responseBody, { checksumAlgorithmFn, base64Encoder }); + if (checksum === checksumFromResponse) { + break; + } + throw new Error(`Checksum mismatch: expected "${checksum}" but received "${checksumFromResponse}"` + + ` in response header "${responseHeader}".`); + } + } +}; + +const flexibleChecksumsResponseMiddlewareOptions = { + name: "flexibleChecksumsResponseMiddleware", + toMiddleware: "deserializerMiddleware", + relation: "after", + tags: ["BODY_CHECKSUM"], + override: true, +}; +const flexibleChecksumsResponseMiddleware = (config, middlewareConfig) => (next, context) => async (args) => { + if (!protocolHttp.HttpRequest.isInstance(args.request)) { + return next(args); + } + const input = args.input; + const result = await next(args); + const response = result.response; + const { requestValidationModeMember, responseAlgorithms } = middlewareConfig; + if (requestValidationModeMember && input[requestValidationModeMember] === "ENABLED") { + const { clientName, commandName } = context; + const customChecksumAlgorithms = Object.keys(config.checksumAlgorithms ?? {}).filter((algorithm) => { + const responseHeader = getChecksumLocationName(algorithm); + return response.headers[responseHeader] !== undefined; + }); + const algoList = getChecksumAlgorithmListForResponse([ + ...(responseAlgorithms ?? []), + ...customChecksumAlgorithms, + ]); + const isS3WholeObjectMultipartGetResponseChecksum = clientName === "S3Client" && + commandName === "GetObjectCommand" && + algoList.every((algorithm) => { + const responseHeader = getChecksumLocationName(algorithm); + const checksumFromResponse = response.headers[responseHeader]; + return !checksumFromResponse || isChecksumWithPartNumber(checksumFromResponse); + }); + if (isS3WholeObjectMultipartGetResponseChecksum) { + return result; + } + await validateChecksumFromResponse(response, { + config, + responseAlgorithms: algoList, + logger: context.logger, + }); + } + return result; +}; + +const getFlexibleChecksumsPlugin = (config, middlewareConfig) => ({ + applyToStack: (clientStack) => { + clientStack.add(flexibleChecksumsMiddleware(config, middlewareConfig), flexibleChecksumsMiddlewareOptions); + clientStack.addRelativeTo(flexibleChecksumsInputMiddleware(config, middlewareConfig), flexibleChecksumsInputMiddlewareOptions); + clientStack.addRelativeTo(flexibleChecksumsResponseMiddleware(config, middlewareConfig), flexibleChecksumsResponseMiddlewareOptions); + }, +}); + +const resolveFlexibleChecksumsConfig = (input) => { + const { requestChecksumCalculation, responseChecksumValidation, requestStreamBufferSize } = input; + return Object.assign(input, { + requestChecksumCalculation: utilMiddleware.normalizeProvider(requestChecksumCalculation ?? DEFAULT_REQUEST_CHECKSUM_CALCULATION), + responseChecksumValidation: utilMiddleware.normalizeProvider(responseChecksumValidation ?? DEFAULT_RESPONSE_CHECKSUM_VALIDATION), + requestStreamBufferSize: Number(requestStreamBufferSize ?? 0), + checksumAlgorithms: input.checksumAlgorithms ?? {}, + }); +}; + +exports.CONFIG_REQUEST_CHECKSUM_CALCULATION = CONFIG_REQUEST_CHECKSUM_CALCULATION; +exports.CONFIG_RESPONSE_CHECKSUM_VALIDATION = CONFIG_RESPONSE_CHECKSUM_VALIDATION; +exports.DEFAULT_CHECKSUM_ALGORITHM = DEFAULT_CHECKSUM_ALGORITHM; +exports.DEFAULT_REQUEST_CHECKSUM_CALCULATION = DEFAULT_REQUEST_CHECKSUM_CALCULATION; +exports.DEFAULT_RESPONSE_CHECKSUM_VALIDATION = DEFAULT_RESPONSE_CHECKSUM_VALIDATION; +exports.ENV_REQUEST_CHECKSUM_CALCULATION = ENV_REQUEST_CHECKSUM_CALCULATION; +exports.ENV_RESPONSE_CHECKSUM_VALIDATION = ENV_RESPONSE_CHECKSUM_VALIDATION; +exports.NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS = NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS; +exports.NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS = NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS; +exports.RequestChecksumCalculation = RequestChecksumCalculation; +exports.ResponseChecksumValidation = ResponseChecksumValidation; +exports.flexibleChecksumsMiddleware = flexibleChecksumsMiddleware; +exports.flexibleChecksumsMiddlewareOptions = flexibleChecksumsMiddlewareOptions; +exports.getFlexibleChecksumsPlugin = getFlexibleChecksumsPlugin; +exports.resolveFlexibleChecksumsConfig = resolveFlexibleChecksumsConfig; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.js new file mode 100644 index 0000000..b46f933 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.js @@ -0,0 +1,9 @@ +import { DEFAULT_REQUEST_CHECKSUM_CALCULATION, RequestChecksumCalculation } from "./constants"; +import { SelectorType, stringUnionSelector } from "./stringUnionSelector"; +export const ENV_REQUEST_CHECKSUM_CALCULATION = "AWS_REQUEST_CHECKSUM_CALCULATION"; +export const CONFIG_REQUEST_CHECKSUM_CALCULATION = "request_checksum_calculation"; +export const NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => stringUnionSelector(env, ENV_REQUEST_CHECKSUM_CALCULATION, RequestChecksumCalculation, SelectorType.ENV), + configFileSelector: (profile) => stringUnionSelector(profile, CONFIG_REQUEST_CHECKSUM_CALCULATION, RequestChecksumCalculation, SelectorType.CONFIG), + default: DEFAULT_REQUEST_CHECKSUM_CALCULATION, +}; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.js new file mode 100644 index 0000000..36619f7 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.js @@ -0,0 +1,9 @@ +import { DEFAULT_RESPONSE_CHECKSUM_VALIDATION, ResponseChecksumValidation } from "./constants"; +import { SelectorType, stringUnionSelector } from "./stringUnionSelector"; +export const ENV_RESPONSE_CHECKSUM_VALIDATION = "AWS_RESPONSE_CHECKSUM_VALIDATION"; +export const CONFIG_RESPONSE_CHECKSUM_VALIDATION = "response_checksum_validation"; +export const NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => stringUnionSelector(env, ENV_RESPONSE_CHECKSUM_VALIDATION, ResponseChecksumValidation, SelectorType.ENV), + configFileSelector: (profile) => stringUnionSelector(profile, CONFIG_RESPONSE_CHECKSUM_VALIDATION, ResponseChecksumValidation, SelectorType.CONFIG), + default: DEFAULT_RESPONSE_CHECKSUM_VALIDATION, +}; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/configuration.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/configuration.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/configuration.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/constants.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/constants.js new file mode 100644 index 0000000..a817c53 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/constants.js @@ -0,0 +1,25 @@ +export const RequestChecksumCalculation = { + WHEN_SUPPORTED: "WHEN_SUPPORTED", + WHEN_REQUIRED: "WHEN_REQUIRED", +}; +export const DEFAULT_REQUEST_CHECKSUM_CALCULATION = RequestChecksumCalculation.WHEN_SUPPORTED; +export const ResponseChecksumValidation = { + WHEN_SUPPORTED: "WHEN_SUPPORTED", + WHEN_REQUIRED: "WHEN_REQUIRED", +}; +export const DEFAULT_RESPONSE_CHECKSUM_VALIDATION = RequestChecksumCalculation.WHEN_SUPPORTED; +export var ChecksumAlgorithm; +(function (ChecksumAlgorithm) { + ChecksumAlgorithm["MD5"] = "MD5"; + ChecksumAlgorithm["CRC32"] = "CRC32"; + ChecksumAlgorithm["CRC32C"] = "CRC32C"; + ChecksumAlgorithm["CRC64NVME"] = "CRC64NVME"; + ChecksumAlgorithm["SHA1"] = "SHA1"; + ChecksumAlgorithm["SHA256"] = "SHA256"; +})(ChecksumAlgorithm || (ChecksumAlgorithm = {})); +export var ChecksumLocation; +(function (ChecksumLocation) { + ChecksumLocation["HEADER"] = "header"; + ChecksumLocation["TRAILER"] = "trailer"; +})(ChecksumLocation || (ChecksumLocation = {})); +export const DEFAULT_CHECKSUM_ALGORITHM = ChecksumAlgorithm.CRC32; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsInputMiddleware.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsInputMiddleware.js new file mode 100644 index 0000000..12cf788 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsInputMiddleware.js @@ -0,0 +1,37 @@ +import { setFeature } from "@aws-sdk/core/client"; +import { RequestChecksumCalculation, ResponseChecksumValidation } from "./constants"; +export const flexibleChecksumsInputMiddlewareOptions = { + name: "flexibleChecksumsInputMiddleware", + toMiddleware: "serializerMiddleware", + relation: "before", + tags: ["BODY_CHECKSUM"], + override: true, +}; +export const flexibleChecksumsInputMiddleware = (config, middlewareConfig) => (next, context) => async (args) => { + const input = args.input; + const { requestValidationModeMember } = middlewareConfig; + const requestChecksumCalculation = await config.requestChecksumCalculation(); + const responseChecksumValidation = await config.responseChecksumValidation(); + switch (requestChecksumCalculation) { + case RequestChecksumCalculation.WHEN_REQUIRED: + setFeature(context, "FLEXIBLE_CHECKSUMS_REQ_WHEN_REQUIRED", "a"); + break; + case RequestChecksumCalculation.WHEN_SUPPORTED: + setFeature(context, "FLEXIBLE_CHECKSUMS_REQ_WHEN_SUPPORTED", "Z"); + break; + } + switch (responseChecksumValidation) { + case ResponseChecksumValidation.WHEN_REQUIRED: + setFeature(context, "FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED", "c"); + break; + case ResponseChecksumValidation.WHEN_SUPPORTED: + setFeature(context, "FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED", "b"); + break; + } + if (requestValidationModeMember && !input[requestValidationModeMember]) { + if (responseChecksumValidation === ResponseChecksumValidation.WHEN_SUPPORTED) { + input[requestValidationModeMember] = "ENABLED"; + } + } + return next(args); +}; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsMiddleware.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsMiddleware.js new file mode 100644 index 0000000..6b1f980 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsMiddleware.js @@ -0,0 +1,123 @@ +import { setFeature } from "@aws-sdk/core/client"; +import { HttpRequest } from "@smithy/protocol-http"; +import { createBufferedReadable } from "@smithy/util-stream"; +import { ChecksumAlgorithm, DEFAULT_CHECKSUM_ALGORITHM, RequestChecksumCalculation } from "./constants"; +import { getChecksumAlgorithmForRequest } from "./getChecksumAlgorithmForRequest"; +import { getChecksumLocationName } from "./getChecksumLocationName"; +import { hasHeader } from "./hasHeader"; +import { hasHeaderWithPrefix } from "./hasHeaderWithPrefix"; +import { isStreaming } from "./isStreaming"; +import { selectChecksumAlgorithmFunction } from "./selectChecksumAlgorithmFunction"; +import { stringHasher } from "./stringHasher"; +export const flexibleChecksumsMiddlewareOptions = { + name: "flexibleChecksumsMiddleware", + step: "build", + tags: ["BODY_CHECKSUM"], + override: true, +}; +export const flexibleChecksumsMiddleware = (config, middlewareConfig) => (next, context) => async (args) => { + if (!HttpRequest.isInstance(args.request)) { + return next(args); + } + if (hasHeaderWithPrefix("x-amz-checksum-", args.request.headers)) { + return next(args); + } + const { request, input } = args; + const { body: requestBody, headers } = request; + const { base64Encoder, streamHasher } = config; + const { requestChecksumRequired, requestAlgorithmMember } = middlewareConfig; + const requestChecksumCalculation = await config.requestChecksumCalculation(); + const requestAlgorithmMemberName = requestAlgorithmMember?.name; + const requestAlgorithmMemberHttpHeader = requestAlgorithmMember?.httpHeader; + if (requestAlgorithmMemberName && !input[requestAlgorithmMemberName]) { + if (requestChecksumCalculation === RequestChecksumCalculation.WHEN_SUPPORTED || requestChecksumRequired) { + input[requestAlgorithmMemberName] = DEFAULT_CHECKSUM_ALGORITHM; + if (requestAlgorithmMemberHttpHeader) { + headers[requestAlgorithmMemberHttpHeader] = DEFAULT_CHECKSUM_ALGORITHM; + } + } + } + const checksumAlgorithm = getChecksumAlgorithmForRequest(input, { + requestChecksumRequired, + requestAlgorithmMember: requestAlgorithmMember?.name, + requestChecksumCalculation, + }); + let updatedBody = requestBody; + let updatedHeaders = headers; + if (checksumAlgorithm) { + switch (checksumAlgorithm) { + case ChecksumAlgorithm.CRC32: + setFeature(context, "FLEXIBLE_CHECKSUMS_REQ_CRC32", "U"); + break; + case ChecksumAlgorithm.CRC32C: + setFeature(context, "FLEXIBLE_CHECKSUMS_REQ_CRC32C", "V"); + break; + case ChecksumAlgorithm.CRC64NVME: + setFeature(context, "FLEXIBLE_CHECKSUMS_REQ_CRC64", "W"); + break; + case ChecksumAlgorithm.SHA1: + setFeature(context, "FLEXIBLE_CHECKSUMS_REQ_SHA1", "X"); + break; + case ChecksumAlgorithm.SHA256: + setFeature(context, "FLEXIBLE_CHECKSUMS_REQ_SHA256", "Y"); + break; + } + const checksumLocationName = getChecksumLocationName(checksumAlgorithm); + const checksumAlgorithmFn = selectChecksumAlgorithmFunction(checksumAlgorithm, config); + if (isStreaming(requestBody)) { + const { getAwsChunkedEncodingStream, bodyLengthChecker } = config; + updatedBody = getAwsChunkedEncodingStream(typeof config.requestStreamBufferSize === "number" && config.requestStreamBufferSize >= 8 * 1024 + ? createBufferedReadable(requestBody, config.requestStreamBufferSize, context.logger) + : requestBody, { + base64Encoder, + bodyLengthChecker, + checksumLocationName, + checksumAlgorithmFn, + streamHasher, + }); + updatedHeaders = { + ...headers, + "content-encoding": headers["content-encoding"] + ? `${headers["content-encoding"]},aws-chunked` + : "aws-chunked", + "transfer-encoding": "chunked", + "x-amz-decoded-content-length": headers["content-length"], + "x-amz-content-sha256": "STREAMING-UNSIGNED-PAYLOAD-TRAILER", + "x-amz-trailer": checksumLocationName, + }; + delete updatedHeaders["content-length"]; + } + else if (!hasHeader(checksumLocationName, headers)) { + const rawChecksum = await stringHasher(checksumAlgorithmFn, requestBody); + updatedHeaders = { + ...headers, + [checksumLocationName]: base64Encoder(rawChecksum), + }; + } + } + try { + const result = await next({ + ...args, + request: { + ...request, + headers: updatedHeaders, + body: updatedBody, + }, + }); + return result; + } + catch (e) { + if (e instanceof Error && e.name === "InvalidChunkSizeError") { + try { + if (!e.message.endsWith(".")) { + e.message += "."; + } + e.message += + " Set [requestStreamBufferSize=number e.g. 65_536] in client constructor to instruct AWS SDK to buffer your input stream."; + } + catch (ignored) { + } + } + throw e; + } +}; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsResponseMiddleware.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsResponseMiddleware.js new file mode 100644 index 0000000..383b257 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsResponseMiddleware.js @@ -0,0 +1,48 @@ +import { HttpRequest } from "@smithy/protocol-http"; +import { getChecksumAlgorithmListForResponse } from "./getChecksumAlgorithmListForResponse"; +import { getChecksumLocationName } from "./getChecksumLocationName"; +import { isChecksumWithPartNumber } from "./isChecksumWithPartNumber"; +import { validateChecksumFromResponse } from "./validateChecksumFromResponse"; +export const flexibleChecksumsResponseMiddlewareOptions = { + name: "flexibleChecksumsResponseMiddleware", + toMiddleware: "deserializerMiddleware", + relation: "after", + tags: ["BODY_CHECKSUM"], + override: true, +}; +export const flexibleChecksumsResponseMiddleware = (config, middlewareConfig) => (next, context) => async (args) => { + if (!HttpRequest.isInstance(args.request)) { + return next(args); + } + const input = args.input; + const result = await next(args); + const response = result.response; + const { requestValidationModeMember, responseAlgorithms } = middlewareConfig; + if (requestValidationModeMember && input[requestValidationModeMember] === "ENABLED") { + const { clientName, commandName } = context; + const customChecksumAlgorithms = Object.keys(config.checksumAlgorithms ?? {}).filter((algorithm) => { + const responseHeader = getChecksumLocationName(algorithm); + return response.headers[responseHeader] !== undefined; + }); + const algoList = getChecksumAlgorithmListForResponse([ + ...(responseAlgorithms ?? []), + ...customChecksumAlgorithms, + ]); + const isS3WholeObjectMultipartGetResponseChecksum = clientName === "S3Client" && + commandName === "GetObjectCommand" && + algoList.every((algorithm) => { + const responseHeader = getChecksumLocationName(algorithm); + const checksumFromResponse = response.headers[responseHeader]; + return !checksumFromResponse || isChecksumWithPartNumber(checksumFromResponse); + }); + if (isS3WholeObjectMultipartGetResponseChecksum) { + return result; + } + await validateChecksumFromResponse(response, { + config, + responseAlgorithms: algoList, + logger: context.logger, + }); + } + return result; +}; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksum.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksum.js new file mode 100644 index 0000000..886d669 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksum.js @@ -0,0 +1,2 @@ +import { stringHasher } from "./stringHasher"; +export const getChecksum = async (body, { checksumAlgorithmFn, base64Encoder }) => base64Encoder(await stringHasher(checksumAlgorithmFn, body)); diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumAlgorithmForRequest.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumAlgorithmForRequest.js new file mode 100644 index 0000000..5cc5652 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumAlgorithmForRequest.js @@ -0,0 +1,13 @@ +import { DEFAULT_CHECKSUM_ALGORITHM, RequestChecksumCalculation } from "./constants"; +export const getChecksumAlgorithmForRequest = (input, { requestChecksumRequired, requestAlgorithmMember, requestChecksumCalculation }) => { + if (!requestAlgorithmMember) { + return requestChecksumCalculation === RequestChecksumCalculation.WHEN_SUPPORTED || requestChecksumRequired + ? DEFAULT_CHECKSUM_ALGORITHM + : undefined; + } + if (!input[requestAlgorithmMember]) { + return undefined; + } + const checksumAlgorithm = input[requestAlgorithmMember]; + return checksumAlgorithm; +}; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumAlgorithmListForResponse.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumAlgorithmListForResponse.js new file mode 100644 index 0000000..8f2860c --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumAlgorithmListForResponse.js @@ -0,0 +1,15 @@ +import { PRIORITY_ORDER_ALGORITHMS } from "./types"; +export const getChecksumAlgorithmListForResponse = (responseAlgorithms = []) => { + const validChecksumAlgorithms = []; + let i = PRIORITY_ORDER_ALGORITHMS.length; + for (const algorithm of responseAlgorithms) { + const priority = PRIORITY_ORDER_ALGORITHMS.indexOf(algorithm); + if (priority !== -1) { + validChecksumAlgorithms[priority] = algorithm; + } + else { + validChecksumAlgorithms[i++] = algorithm; + } + } + return validChecksumAlgorithms.filter(Boolean); +}; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumLocationName.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumLocationName.js new file mode 100644 index 0000000..0e2d21e --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumLocationName.js @@ -0,0 +1,2 @@ +import { ChecksumAlgorithm } from "./constants"; +export const getChecksumLocationName = (algorithm) => algorithm === ChecksumAlgorithm.MD5 ? "content-md5" : `x-amz-checksum-${algorithm.toLowerCase()}`; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.browser.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.browser.js new file mode 100644 index 0000000..904c4e0 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.browser.js @@ -0,0 +1,2 @@ +import { AwsCrc32 } from "@aws-crypto/crc32"; +export const getCrc32ChecksumAlgorithmFunction = () => AwsCrc32; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.js new file mode 100644 index 0000000..7698356 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.js @@ -0,0 +1,21 @@ +import { AwsCrc32 } from "@aws-crypto/crc32"; +import { numToUint8 } from "@aws-crypto/util"; +import * as zlib from "node:zlib"; +class NodeCrc32 { + checksum = 0; + update(data) { + this.checksum = zlib.crc32(data, this.checksum); + } + async digest() { + return numToUint8(this.checksum); + } + reset() { + this.checksum = 0; + } +} +export const getCrc32ChecksumAlgorithmFunction = () => { + if (typeof zlib.crc32 === "undefined") { + return AwsCrc32; + } + return NodeCrc32; +}; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getFlexibleChecksumsPlugin.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getFlexibleChecksumsPlugin.js new file mode 100644 index 0000000..dfe9ebb --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getFlexibleChecksumsPlugin.js @@ -0,0 +1,10 @@ +import { flexibleChecksumsInputMiddleware, flexibleChecksumsInputMiddlewareOptions, } from "./flexibleChecksumsInputMiddleware"; +import { flexibleChecksumsMiddleware, flexibleChecksumsMiddlewareOptions } from "./flexibleChecksumsMiddleware"; +import { flexibleChecksumsResponseMiddleware, flexibleChecksumsResponseMiddlewareOptions, } from "./flexibleChecksumsResponseMiddleware"; +export const getFlexibleChecksumsPlugin = (config, middlewareConfig) => ({ + applyToStack: (clientStack) => { + clientStack.add(flexibleChecksumsMiddleware(config, middlewareConfig), flexibleChecksumsMiddlewareOptions); + clientStack.addRelativeTo(flexibleChecksumsInputMiddleware(config, middlewareConfig), flexibleChecksumsInputMiddlewareOptions); + clientStack.addRelativeTo(flexibleChecksumsResponseMiddleware(config, middlewareConfig), flexibleChecksumsResponseMiddlewareOptions); + }, +}); diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/hasHeader.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/hasHeader.js new file mode 100644 index 0000000..8455075 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/hasHeader.js @@ -0,0 +1,9 @@ +export const hasHeader = (header, headers) => { + const soughtHeader = header.toLowerCase(); + for (const headerName of Object.keys(headers)) { + if (soughtHeader === headerName.toLowerCase()) { + return true; + } + } + return false; +}; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/hasHeaderWithPrefix.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/hasHeaderWithPrefix.js new file mode 100644 index 0000000..cf9bdfe --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/hasHeaderWithPrefix.js @@ -0,0 +1,9 @@ +export const hasHeaderWithPrefix = (headerPrefix, headers) => { + const soughtHeaderPrefix = headerPrefix.toLowerCase(); + for (const headerName of Object.keys(headers)) { + if (headerName.toLowerCase().startsWith(soughtHeaderPrefix)) { + return true; + } + } + return false; +}; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/index.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/index.js new file mode 100644 index 0000000..c014f44 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/index.js @@ -0,0 +1,6 @@ +export * from "./NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS"; +export * from "./NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS"; +export * from "./constants"; +export * from "./flexibleChecksumsMiddleware"; +export * from "./getFlexibleChecksumsPlugin"; +export * from "./resolveFlexibleChecksumsConfig"; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/isChecksumWithPartNumber.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/isChecksumWithPartNumber.js new file mode 100644 index 0000000..aa1d840 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/isChecksumWithPartNumber.js @@ -0,0 +1,13 @@ +export const isChecksumWithPartNumber = (checksum) => { + const lastHyphenIndex = checksum.lastIndexOf("-"); + if (lastHyphenIndex !== -1) { + const numberPart = checksum.slice(lastHyphenIndex + 1); + if (!numberPart.startsWith("0")) { + const number = parseInt(numberPart, 10); + if (!isNaN(number) && number >= 1 && number <= 10000) { + return true; + } + } + } + return false; +}; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/isStreaming.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/isStreaming.js new file mode 100644 index 0000000..e9fcd7e --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/isStreaming.js @@ -0,0 +1,2 @@ +import { isArrayBuffer } from "@smithy/is-array-buffer"; +export const isStreaming = (body) => body !== undefined && typeof body !== "string" && !ArrayBuffer.isView(body) && !isArrayBuffer(body); diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/resolveFlexibleChecksumsConfig.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/resolveFlexibleChecksumsConfig.js new file mode 100644 index 0000000..7ee20d2 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/resolveFlexibleChecksumsConfig.js @@ -0,0 +1,11 @@ +import { normalizeProvider } from "@smithy/util-middleware"; +import { DEFAULT_REQUEST_CHECKSUM_CALCULATION, DEFAULT_RESPONSE_CHECKSUM_VALIDATION } from "./constants"; +export const resolveFlexibleChecksumsConfig = (input) => { + const { requestChecksumCalculation, responseChecksumValidation, requestStreamBufferSize } = input; + return Object.assign(input, { + requestChecksumCalculation: normalizeProvider(requestChecksumCalculation ?? DEFAULT_REQUEST_CHECKSUM_CALCULATION), + responseChecksumValidation: normalizeProvider(responseChecksumValidation ?? DEFAULT_RESPONSE_CHECKSUM_VALIDATION), + requestStreamBufferSize: Number(requestStreamBufferSize ?? 0), + checksumAlgorithms: input.checksumAlgorithms ?? {}, + }); +}; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/selectChecksumAlgorithmFunction.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/selectChecksumAlgorithmFunction.js new file mode 100644 index 0000000..ec9ccf5 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/selectChecksumAlgorithmFunction.js @@ -0,0 +1,32 @@ +import { AwsCrc32c } from "@aws-crypto/crc32c"; +import { Crc64Nvme, crc64NvmeCrtContainer } from "@aws-sdk/crc64-nvme"; +import { ChecksumAlgorithm } from "./constants"; +import { getCrc32ChecksumAlgorithmFunction } from "./getCrc32ChecksumAlgorithmFunction"; +import { CLIENT_SUPPORTED_ALGORITHMS } from "./types"; +export const selectChecksumAlgorithmFunction = (checksumAlgorithm, config) => { + const { checksumAlgorithms = {} } = config; + switch (checksumAlgorithm) { + case ChecksumAlgorithm.MD5: + return checksumAlgorithms?.MD5 ?? config.md5; + case ChecksumAlgorithm.CRC32: + return checksumAlgorithms?.CRC32 ?? getCrc32ChecksumAlgorithmFunction(); + case ChecksumAlgorithm.CRC32C: + return checksumAlgorithms?.CRC32C ?? AwsCrc32c; + case ChecksumAlgorithm.CRC64NVME: + if (typeof crc64NvmeCrtContainer.CrtCrc64Nvme !== "function") { + return checksumAlgorithms?.CRC64NVME ?? Crc64Nvme; + } + return checksumAlgorithms?.CRC64NVME ?? crc64NvmeCrtContainer.CrtCrc64Nvme; + case ChecksumAlgorithm.SHA1: + return checksumAlgorithms?.SHA1 ?? config.sha1; + case ChecksumAlgorithm.SHA256: + return checksumAlgorithms?.SHA256 ?? config.sha256; + default: + if (checksumAlgorithms?.[checksumAlgorithm]) { + return checksumAlgorithms[checksumAlgorithm]; + } + throw new Error(`The checksum algorithm "${checksumAlgorithm}" is not supported by the client.` + + ` Select one of ${CLIENT_SUPPORTED_ALGORITHMS}, or provide an implementation to ` + + ` the client constructor checksums field.`); + } +}; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/stringHasher.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/stringHasher.js new file mode 100644 index 0000000..642325d --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/stringHasher.js @@ -0,0 +1,6 @@ +import { toUint8Array } from "@smithy/util-utf8"; +export const stringHasher = (checksumAlgorithmFn, body) => { + const hash = new checksumAlgorithmFn(); + hash.update(toUint8Array(body || "")); + return hash.digest(); +}; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/stringUnionSelector.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/stringUnionSelector.js new file mode 100644 index 0000000..5f5bfc8 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/stringUnionSelector.js @@ -0,0 +1,14 @@ +export var SelectorType; +(function (SelectorType) { + SelectorType["ENV"] = "env"; + SelectorType["CONFIG"] = "shared config entry"; +})(SelectorType || (SelectorType = {})); +export const stringUnionSelector = (obj, key, union, type) => { + if (!(key in obj)) + return undefined; + const value = obj[key].toUpperCase(); + if (!Object.values(union).includes(value)) { + throw new TypeError(`Cannot load ${type} '${key}'. Expected one of ${Object.values(union)}, got '${obj[key]}'.`); + } + return value; +}; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/types.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/types.js new file mode 100644 index 0000000..751d4c5 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/types.js @@ -0,0 +1,15 @@ +import { ChecksumAlgorithm } from "./constants"; +export const CLIENT_SUPPORTED_ALGORITHMS = [ + ChecksumAlgorithm.CRC32, + ChecksumAlgorithm.CRC32C, + ChecksumAlgorithm.CRC64NVME, + ChecksumAlgorithm.SHA1, + ChecksumAlgorithm.SHA256, +]; +export const PRIORITY_ORDER_ALGORITHMS = [ + ChecksumAlgorithm.SHA256, + ChecksumAlgorithm.SHA1, + ChecksumAlgorithm.CRC32, + ChecksumAlgorithm.CRC32C, + ChecksumAlgorithm.CRC64NVME, +]; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/validateChecksumFromResponse.js b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/validateChecksumFromResponse.js new file mode 100644 index 0000000..1ce8d74 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/validateChecksumFromResponse.js @@ -0,0 +1,45 @@ +import { createChecksumStream } from "@smithy/util-stream"; +import { ChecksumAlgorithm } from "./constants"; +import { getChecksum } from "./getChecksum"; +import { getChecksumAlgorithmListForResponse } from "./getChecksumAlgorithmListForResponse"; +import { getChecksumLocationName } from "./getChecksumLocationName"; +import { isStreaming } from "./isStreaming"; +import { selectChecksumAlgorithmFunction } from "./selectChecksumAlgorithmFunction"; +export const validateChecksumFromResponse = async (response, { config, responseAlgorithms, logger }) => { + const checksumAlgorithms = getChecksumAlgorithmListForResponse(responseAlgorithms); + const { body: responseBody, headers: responseHeaders } = response; + for (const algorithm of checksumAlgorithms) { + const responseHeader = getChecksumLocationName(algorithm); + const checksumFromResponse = responseHeaders[responseHeader]; + if (checksumFromResponse) { + let checksumAlgorithmFn; + try { + checksumAlgorithmFn = selectChecksumAlgorithmFunction(algorithm, config); + } + catch (error) { + if (algorithm === ChecksumAlgorithm.CRC64NVME) { + logger?.warn(`Skipping ${ChecksumAlgorithm.CRC64NVME} checksum validation: ${error.message}`); + continue; + } + throw error; + } + const { base64Encoder } = config; + if (isStreaming(responseBody)) { + response.body = createChecksumStream({ + expectedChecksum: checksumFromResponse, + checksumSourceLocation: responseHeader, + checksum: new checksumAlgorithmFn(), + source: responseBody, + base64Encoder, + }); + return; + } + const checksum = await getChecksum(responseBody, { checksumAlgorithmFn, base64Encoder }); + if (checksum === checksumFromResponse) { + break; + } + throw new Error(`Checksum mismatch: expected "${checksum}" but received "${checksumFromResponse}"` + + ` in response header "${responseHeader}".`); + } + } +}; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts new file mode 100644 index 0000000..b74b243 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts @@ -0,0 +1,14 @@ +import type { LoadedConfigSelectors } from "@smithy/node-config-provider"; +import { RequestChecksumCalculation } from "./constants"; +/** + * @internal + */ +export declare const ENV_REQUEST_CHECKSUM_CALCULATION = "AWS_REQUEST_CHECKSUM_CALCULATION"; +/** + * @internal + */ +export declare const CONFIG_REQUEST_CHECKSUM_CALCULATION = "request_checksum_calculation"; +/** + * @internal + */ +export declare const NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts new file mode 100644 index 0000000..2b98b48 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts @@ -0,0 +1,14 @@ +import type { LoadedConfigSelectors } from "@smithy/node-config-provider"; +import { ResponseChecksumValidation } from "./constants"; +/** + * @internal + */ +export declare const ENV_RESPONSE_CHECKSUM_VALIDATION = "AWS_RESPONSE_CHECKSUM_VALIDATION"; +/** + * @internal + */ +export declare const CONFIG_RESPONSE_CHECKSUM_VALIDATION = "response_checksum_validation"; +/** + * @internal + */ +export declare const NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/configuration.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/configuration.d.ts new file mode 100644 index 0000000..ac3ffa7 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/configuration.d.ts @@ -0,0 +1,58 @@ +import type { BodyLengthCalculator, ChecksumConstructor, Encoder, GetAwsChunkedEncodingStream, HashConstructor, Provider, StreamCollector, StreamHasher } from "@smithy/types"; +import type { RequestChecksumCalculation, ResponseChecksumValidation } from "./constants"; +import type { FlexibleChecksumsInputConfig } from "./resolveFlexibleChecksumsConfig"; +/** + * @internal + */ +export interface PreviouslyResolved { + /** + * The function that will be used to convert binary data to a base64-encoded string. + * @internal + */ + base64Encoder: Encoder; + /** + * A function that can calculate the length of a body. + */ + bodyLengthChecker: BodyLengthCalculator; + /** + * A function that returns Readable Stream which follows aws-chunked encoding stream. + */ + getAwsChunkedEncodingStream: GetAwsChunkedEncodingStream; + /** + * A constructor for a class implementing the {@link Hash} interface that computes MD5 hashes. + * @internal + */ + md5: ChecksumConstructor | HashConstructor; + /** + * Determines when a checksum will be calculated for request payloads + */ + requestChecksumCalculation: Provider; + /** + * Determines when a checksum will be calculated for response payloads + */ + responseChecksumValidation: Provider; + /** + * A constructor for a class implementing the {@link Hash} interface that computes SHA1 hashes. + * @internal + */ + sha1: ChecksumConstructor | HashConstructor; + /** + * A constructor for a class implementing the {@link Hash} interface that computes SHA256 hashes. + * @internal + */ + sha256: ChecksumConstructor | HashConstructor; + /** + * A function that, given a hash constructor and a stream, calculates the hash of the streamed value. + * @internal + */ + streamHasher: StreamHasher; + /** + * Collects streams into buffers. + */ + streamCollector: StreamCollector; + /** + * Minimum bytes from a stream to buffer into a chunk before passing to chunked encoding. + */ + requestStreamBufferSize: number; + checksumAlgorithms?: FlexibleChecksumsInputConfig["checksumAlgorithms"]; +} diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/constants.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/constants.d.ts new file mode 100644 index 0000000..5da3f00 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/constants.d.ts @@ -0,0 +1,83 @@ +/** + * Determines when a checksum will be calculated for request payloads. + * @public + */ +export declare const RequestChecksumCalculation: { + /** + * When set, a checksum will be calculated for all request payloads of operations + * modeled with the {@link httpChecksum} trait where `requestChecksumRequired` is `true` + * AND/OR a `requestAlgorithmMember` is modeled. + * {@link https://smithy.io/2.0/aws/aws-core.html#aws-protocols-httpchecksum-trait httpChecksum} + */ + readonly WHEN_SUPPORTED: "WHEN_SUPPORTED"; + /** + * When set, a checksum will only be calculated for request payloads of operations + * modeled with the {@link httpChecksum} trait where `requestChecksumRequired` is `true` + * OR where a `requestAlgorithmMember` is modeled and the user sets it. + * {@link https://smithy.io/2.0/aws/aws-core.html#aws-protocols-httpchecksum-trait httpChecksum} + */ + readonly WHEN_REQUIRED: "WHEN_REQUIRED"; +}; +/** + * @public + */ +export type RequestChecksumCalculation = (typeof RequestChecksumCalculation)[keyof typeof RequestChecksumCalculation]; +/** + * @internal + */ +export declare const DEFAULT_REQUEST_CHECKSUM_CALCULATION: "WHEN_SUPPORTED"; +/** + * Determines when checksum validation will be performed on response payloads. + * @public + */ +export declare const ResponseChecksumValidation: { + /** + * When set, checksum validation MUST be performed on all response payloads of operations + * modeled with the {@link httpChecksum} trait where `responseAlgorithms` is modeled, + * except when no modeled checksum algorithms are supported by an SDK. + * {@link https://smithy.io/2.0/aws/aws-core.html#aws-protocols-httpchecksum-trait httpChecksum} + */ + readonly WHEN_SUPPORTED: "WHEN_SUPPORTED"; + /** + * When set, checksum validation MUST NOT be performed on response payloads of operations UNLESS + * the SDK supports the modeled checksum algorithms AND the user has set the `requestValidationModeMember` to `ENABLED`. + * It is currently impossible to model an operation as requiring a response checksum, + * but this setting leaves the door open for future updates. + */ + readonly WHEN_REQUIRED: "WHEN_REQUIRED"; +}; +/** + * @public + */ +export type ResponseChecksumValidation = (typeof ResponseChecksumValidation)[keyof typeof ResponseChecksumValidation]; +/** + * @internal + */ +export declare const DEFAULT_RESPONSE_CHECKSUM_VALIDATION: "WHEN_SUPPORTED"; +/** + * Checksum Algorithms supported by the SDK. + * @public + */ +export declare enum ChecksumAlgorithm { + /** + * @deprecated Use {@link ChecksumAlgorithm.CRC32} instead. + */ + MD5 = "MD5", + CRC32 = "CRC32", + CRC32C = "CRC32C", + CRC64NVME = "CRC64NVME", + SHA1 = "SHA1", + SHA256 = "SHA256" +} +/** + * Location when the checksum is stored in the request body. + * @internal + */ +export declare enum ChecksumLocation { + HEADER = "header", + TRAILER = "trailer" +} +/** + * @internal + */ +export declare const DEFAULT_CHECKSUM_ALGORITHM = ChecksumAlgorithm.CRC32; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsInputMiddleware.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsInputMiddleware.d.ts new file mode 100644 index 0000000..5ba128b --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsInputMiddleware.d.ts @@ -0,0 +1,22 @@ +import type { RelativeMiddlewareOptions, SerializeMiddleware } from "@smithy/types"; +import type { PreviouslyResolved } from "./configuration"; +/** + * @internal + */ +export interface FlexibleChecksumsInputMiddlewareConfig { + /** + * Defines a top-level operation input member used to opt-in to best-effort validation + * of a checksum returned in the HTTP response of the operation. + */ + requestValidationModeMember?: string; +} +/** + * @internal + */ +export declare const flexibleChecksumsInputMiddlewareOptions: RelativeMiddlewareOptions; +/** + * @internal + * + * The input counterpart to the flexibleChecksumsMiddleware. + */ +export declare const flexibleChecksumsInputMiddleware: (config: PreviouslyResolved, middlewareConfig: FlexibleChecksumsInputMiddlewareConfig) => SerializeMiddleware; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsMiddleware.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsMiddleware.d.ts new file mode 100644 index 0000000..363b0a6 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsMiddleware.d.ts @@ -0,0 +1,33 @@ +import type { BuildHandlerOptions, BuildMiddleware } from "@smithy/types"; +import type { PreviouslyResolved } from "./configuration"; +/** + * @internal + */ +export interface FlexibleChecksumsRequestMiddlewareConfig { + /** + * Indicates an operation requires a checksum in its HTTP request. + */ + requestChecksumRequired: boolean; + /** + * Member that is used to configure request checksum behavior. + */ + requestAlgorithmMember?: { + /** + * Defines a top-level operation input member that is used to configure request checksum behavior. + */ + name: string; + /** + * The {@link httpHeader} value, if present. + * {@link https://smithy.io/2.0/spec/http-bindings.html#httpheader-trait httpHeader} + */ + httpHeader?: string; + }; +} +/** + * @internal + */ +export declare const flexibleChecksumsMiddlewareOptions: BuildHandlerOptions; +/** + * @internal + */ +export declare const flexibleChecksumsMiddleware: (config: PreviouslyResolved, middlewareConfig: FlexibleChecksumsRequestMiddlewareConfig) => BuildMiddleware; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsResponseMiddleware.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsResponseMiddleware.d.ts new file mode 100644 index 0000000..e0f2404 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsResponseMiddleware.d.ts @@ -0,0 +1,27 @@ +import type { DeserializeMiddleware, RelativeMiddlewareOptions } from "@smithy/types"; +import type { PreviouslyResolved } from "./configuration"; +/** + * @internal + */ +export interface FlexibleChecksumsResponseMiddlewareConfig { + /** + * Defines a top-level operation input member used to opt-in to best-effort validation + * of a checksum returned in the HTTP response of the operation. + */ + requestValidationModeMember?: string; + /** + * Defines the checksum algorithms clients SHOULD look for when validating checksums + * returned in the HTTP response. + */ + responseAlgorithms?: string[]; +} +/** + * @internal + */ +export declare const flexibleChecksumsResponseMiddlewareOptions: RelativeMiddlewareOptions; +/** + * @internal + * + * The validation counterpart to the flexibleChecksumsMiddleware. + */ +export declare const flexibleChecksumsResponseMiddleware: (config: PreviouslyResolved, middlewareConfig: FlexibleChecksumsResponseMiddlewareConfig) => DeserializeMiddleware; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksum.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksum.d.ts new file mode 100644 index 0000000..e97fefb --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksum.d.ts @@ -0,0 +1,6 @@ +import type { ChecksumConstructor, Encoder, HashConstructor } from "@smithy/types"; +export interface GetChecksumDigestOptions { + checksumAlgorithmFn: ChecksumConstructor | HashConstructor; + base64Encoder: Encoder; +} +export declare const getChecksum: (body: unknown, { checksumAlgorithmFn, base64Encoder }: GetChecksumDigestOptions) => Promise; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksumAlgorithmForRequest.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksumAlgorithmForRequest.d.ts new file mode 100644 index 0000000..15d776e --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksumAlgorithmForRequest.d.ts @@ -0,0 +1,22 @@ +import type { ChecksumAlgorithm } from "./constants"; +import { RequestChecksumCalculation } from "./constants"; +export interface GetChecksumAlgorithmForRequestOptions { + /** + * Indicates an operation requires a checksum in its HTTP request. + */ + requestChecksumRequired: boolean; + /** + * Defines a top-level operation input member that is used to configure request checksum behavior. + */ + requestAlgorithmMember?: string; + /** + * Determines when a checksum will be calculated for request payloads + */ + requestChecksumCalculation: RequestChecksumCalculation; +} +/** + * Returns the checksum algorithm to use for the request, along with + * the priority array of location to use to populate checksum and names + * to be used as a key at the location. + */ +export declare const getChecksumAlgorithmForRequest: (input: any, { requestChecksumRequired, requestAlgorithmMember, requestChecksumCalculation }: GetChecksumAlgorithmForRequestOptions) => ChecksumAlgorithm | string | undefined; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksumAlgorithmListForResponse.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksumAlgorithmListForResponse.d.ts new file mode 100644 index 0000000..42f1195 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksumAlgorithmListForResponse.d.ts @@ -0,0 +1,6 @@ +import type { ChecksumAlgorithm } from "./constants"; +/** + * Returns the priority array of algorithm to use to verify checksum and names + * to be used as a key in the response header. + */ +export declare const getChecksumAlgorithmListForResponse: (responseAlgorithms?: string[]) => ChecksumAlgorithm[]; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksumLocationName.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksumLocationName.d.ts new file mode 100644 index 0000000..3f7d6b8 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksumLocationName.d.ts @@ -0,0 +1,5 @@ +import { ChecksumAlgorithm } from "./constants"; +/** + * Returns location (header/trailer) name to use to populate checksum in. + */ +export declare const getChecksumLocationName: (algorithm: ChecksumAlgorithm | string) => string; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.browser.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.browser.d.ts new file mode 100644 index 0000000..889142f --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.browser.d.ts @@ -0,0 +1,2 @@ +import { AwsCrc32 } from "@aws-crypto/crc32"; +export declare const getCrc32ChecksumAlgorithmFunction: () => typeof AwsCrc32; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.d.ts new file mode 100644 index 0000000..43ab51b --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.d.ts @@ -0,0 +1,10 @@ +import { AwsCrc32 } from "@aws-crypto/crc32"; +import type { Checksum } from "@smithy/types"; +declare class NodeCrc32 implements Checksum { + private checksum; + update(data: Uint8Array): void; + digest(): Promise; + reset(): void; +} +export declare const getCrc32ChecksumAlgorithmFunction: () => typeof NodeCrc32 | typeof AwsCrc32; +export {}; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getFlexibleChecksumsPlugin.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getFlexibleChecksumsPlugin.d.ts new file mode 100644 index 0000000..ce223be --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getFlexibleChecksumsPlugin.d.ts @@ -0,0 +1,14 @@ +import type { Pluggable } from "@smithy/types"; +import type { PreviouslyResolved } from "./configuration"; +import type { FlexibleChecksumsInputMiddlewareConfig } from "./flexibleChecksumsInputMiddleware"; +import type { FlexibleChecksumsRequestMiddlewareConfig } from "./flexibleChecksumsMiddleware"; +import type { FlexibleChecksumsResponseMiddlewareConfig } from "./flexibleChecksumsResponseMiddleware"; +/** + * @internal + */ +export interface FlexibleChecksumsMiddlewareConfig extends FlexibleChecksumsRequestMiddlewareConfig, FlexibleChecksumsInputMiddlewareConfig, FlexibleChecksumsResponseMiddlewareConfig { +} +/** + * @internal + */ +export declare const getFlexibleChecksumsPlugin: (config: PreviouslyResolved, middlewareConfig: FlexibleChecksumsMiddlewareConfig) => Pluggable; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/hasHeader.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/hasHeader.d.ts new file mode 100644 index 0000000..d0ae5f9 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/hasHeader.d.ts @@ -0,0 +1,6 @@ +import type { HeaderBag } from "@smithy/types"; +/** + * Returns true if header is present in headers. + * Comparisons are case-insensitive. + */ +export declare const hasHeader: (header: string, headers: HeaderBag) => boolean; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/hasHeaderWithPrefix.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/hasHeaderWithPrefix.d.ts new file mode 100644 index 0000000..69c63f3 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/hasHeaderWithPrefix.d.ts @@ -0,0 +1,6 @@ +import type { HeaderBag } from "@smithy/types"; +/** + * Returns true if header with headerPrefix is present in headers. + * Comparisons are case-insensitive. + */ +export declare const hasHeaderWithPrefix: (headerPrefix: string, headers: HeaderBag) => boolean; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/index.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/index.d.ts new file mode 100644 index 0000000..c014f44 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/index.d.ts @@ -0,0 +1,6 @@ +export * from "./NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS"; +export * from "./NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS"; +export * from "./constants"; +export * from "./flexibleChecksumsMiddleware"; +export * from "./getFlexibleChecksumsPlugin"; +export * from "./resolveFlexibleChecksumsConfig"; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/isChecksumWithPartNumber.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/isChecksumWithPartNumber.d.ts new file mode 100644 index 0000000..99f6c79 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/isChecksumWithPartNumber.d.ts @@ -0,0 +1 @@ +export declare const isChecksumWithPartNumber: (checksum: string) => boolean; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/isStreaming.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/isStreaming.d.ts new file mode 100644 index 0000000..8f38d14 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/isStreaming.d.ts @@ -0,0 +1,4 @@ +/** + * Returns true if the given value is a streaming response. + */ +export declare const isStreaming: (body: unknown) => boolean; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/resolveFlexibleChecksumsConfig.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/resolveFlexibleChecksumsConfig.d.ts new file mode 100644 index 0000000..e4a8102 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/resolveFlexibleChecksumsConfig.d.ts @@ -0,0 +1,57 @@ +import type { ChecksumConstructor, Provider } from "@smithy/types"; +import type { RequestChecksumCalculation, ResponseChecksumValidation } from "./constants"; +/** + * @public + */ +export interface FlexibleChecksumsInputConfig { + /** + * Determines when a checksum will be calculated for request payloads. + */ + requestChecksumCalculation?: RequestChecksumCalculation | Provider; + /** + * Determines when checksum validation will be performed on response payloads. + */ + responseChecksumValidation?: ResponseChecksumValidation | Provider; + /** + * Default 0 (off). + * + * When set to a value greater than or equal to 8192, sets the minimum number + * of bytes to buffer into a chunk when processing input streams + * with chunked encoding (that is, when request checksums are enabled). + * A minimum of 8kb = 8 * 1024 is required, and 64kb or higher is recommended. + * + * See https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-streaming.html. + * + * This has a slight performance penalty because it must wrap and buffer + * your input stream. + * You do not need to set this value if your stream already flows chunks + * of 8kb or greater. + */ + requestStreamBufferSize?: number | false; + /** + * Optional implementations of checksum algorithms adhering to the + * Checksum interface. + */ + checksumAlgorithms?: { + CRC32?: ChecksumConstructor; + CRC32C?: ChecksumConstructor; + CRC64NVME?: ChecksumConstructor; + SHA1?: ChecksumConstructor; + SHA256?: ChecksumConstructor; + } & { + [algorithmId: string]: ChecksumConstructor; + }; +} +/** + * @internal + */ +export interface FlexibleChecksumsResolvedConfig { + requestChecksumCalculation: Provider; + responseChecksumValidation: Provider; + requestStreamBufferSize: number; + checksumAlgorithms?: FlexibleChecksumsInputConfig["checksumAlgorithms"]; +} +/** + * @internal + */ +export declare const resolveFlexibleChecksumsConfig: (input: T & FlexibleChecksumsInputConfig) => T & FlexibleChecksumsResolvedConfig; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/selectChecksumAlgorithmFunction.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/selectChecksumAlgorithmFunction.d.ts new file mode 100644 index 0000000..2a19160 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/selectChecksumAlgorithmFunction.d.ts @@ -0,0 +1,7 @@ +import type { ChecksumConstructor, HashConstructor } from "@smithy/types"; +import type { PreviouslyResolved } from "./configuration"; +import { ChecksumAlgorithm } from "./constants"; +/** + * Returns the function that will compute the checksum for the given {@link ChecksumAlgorithm}. + */ +export declare const selectChecksumAlgorithmFunction: (checksumAlgorithm: ChecksumAlgorithm | string, config: PreviouslyResolved) => ChecksumConstructor | HashConstructor; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/stringHasher.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/stringHasher.d.ts new file mode 100644 index 0000000..ed9433c --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/stringHasher.d.ts @@ -0,0 +1,5 @@ +import type { ChecksumConstructor, HashConstructor } from "@smithy/types"; +/** + * A function that, given a hash constructor and a string, calculates the hash of the string. + */ +export declare const stringHasher: (checksumAlgorithmFn: ChecksumConstructor | HashConstructor, body: any) => Promise; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/stringUnionSelector.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/stringUnionSelector.d.ts new file mode 100644 index 0000000..446f09d --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/stringUnionSelector.d.ts @@ -0,0 +1,12 @@ +export declare enum SelectorType { + ENV = "env", + CONFIG = "shared config entry" +} +/** + * Returns undefined, if obj[key] is not defined. + * Returns string value, if the string is defined in obj[key] and it's uppercase matches union value. + * Throws error for all other cases. + * + * @internal + */ +export declare const stringUnionSelector: (obj: Record, key: string, union: U, type: SelectorType) => U[K] | undefined; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts new file mode 100644 index 0000000..4ce4dc5 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts @@ -0,0 +1,7 @@ +import { LoadedConfigSelectors } from "@smithy/node-config-provider"; +import { RequestChecksumCalculation } from "./constants"; +export declare const ENV_REQUEST_CHECKSUM_CALCULATION = + "AWS_REQUEST_CHECKSUM_CALCULATION"; +export declare const CONFIG_REQUEST_CHECKSUM_CALCULATION = + "request_checksum_calculation"; +export declare const NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts new file mode 100644 index 0000000..be8aa90 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts @@ -0,0 +1,7 @@ +import { LoadedConfigSelectors } from "@smithy/node-config-provider"; +import { ResponseChecksumValidation } from "./constants"; +export declare const ENV_RESPONSE_CHECKSUM_VALIDATION = + "AWS_RESPONSE_CHECKSUM_VALIDATION"; +export declare const CONFIG_RESPONSE_CHECKSUM_VALIDATION = + "response_checksum_validation"; +export declare const NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/configuration.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/configuration.d.ts new file mode 100644 index 0000000..0f06fb0 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/configuration.d.ts @@ -0,0 +1,29 @@ +import { + BodyLengthCalculator, + ChecksumConstructor, + Encoder, + GetAwsChunkedEncodingStream, + HashConstructor, + Provider, + StreamCollector, + StreamHasher, +} from "@smithy/types"; +import { + RequestChecksumCalculation, + ResponseChecksumValidation, +} from "./constants"; +import { FlexibleChecksumsInputConfig } from "./resolveFlexibleChecksumsConfig"; +export interface PreviouslyResolved { + base64Encoder: Encoder; + bodyLengthChecker: BodyLengthCalculator; + getAwsChunkedEncodingStream: GetAwsChunkedEncodingStream; + md5: ChecksumConstructor | HashConstructor; + requestChecksumCalculation: Provider; + responseChecksumValidation: Provider; + sha1: ChecksumConstructor | HashConstructor; + sha256: ChecksumConstructor | HashConstructor; + streamHasher: StreamHasher; + streamCollector: StreamCollector; + requestStreamBufferSize: number; + checksumAlgorithms?: FlexibleChecksumsInputConfig["checksumAlgorithms"]; +} diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/constants.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/constants.d.ts new file mode 100644 index 0000000..4f75272 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/constants.d.ts @@ -0,0 +1,27 @@ +export declare const RequestChecksumCalculation: { + readonly WHEN_SUPPORTED: "WHEN_SUPPORTED"; + readonly WHEN_REQUIRED: "WHEN_REQUIRED"; +}; +export type RequestChecksumCalculation = + (typeof RequestChecksumCalculation)[keyof typeof RequestChecksumCalculation]; +export declare const DEFAULT_REQUEST_CHECKSUM_CALCULATION: "WHEN_SUPPORTED"; +export declare const ResponseChecksumValidation: { + readonly WHEN_SUPPORTED: "WHEN_SUPPORTED"; + readonly WHEN_REQUIRED: "WHEN_REQUIRED"; +}; +export type ResponseChecksumValidation = + (typeof ResponseChecksumValidation)[keyof typeof ResponseChecksumValidation]; +export declare const DEFAULT_RESPONSE_CHECKSUM_VALIDATION: "WHEN_SUPPORTED"; +export declare enum ChecksumAlgorithm { + MD5 = "MD5", + CRC32 = "CRC32", + CRC32C = "CRC32C", + CRC64NVME = "CRC64NVME", + SHA1 = "SHA1", + SHA256 = "SHA256", +} +export declare enum ChecksumLocation { + HEADER = "header", + TRAILER = "trailer", +} +export declare const DEFAULT_CHECKSUM_ALGORITHM = ChecksumAlgorithm.CRC32; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsInputMiddleware.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsInputMiddleware.d.ts new file mode 100644 index 0000000..b853721 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsInputMiddleware.d.ts @@ -0,0 +1,10 @@ +import { RelativeMiddlewareOptions, SerializeMiddleware } from "@smithy/types"; +import { PreviouslyResolved } from "./configuration"; +export interface FlexibleChecksumsInputMiddlewareConfig { + requestValidationModeMember?: string; +} +export declare const flexibleChecksumsInputMiddlewareOptions: RelativeMiddlewareOptions; +export declare const flexibleChecksumsInputMiddleware: ( + config: PreviouslyResolved, + middlewareConfig: FlexibleChecksumsInputMiddlewareConfig +) => SerializeMiddleware; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsMiddleware.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsMiddleware.d.ts new file mode 100644 index 0000000..14f45d6 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsMiddleware.d.ts @@ -0,0 +1,14 @@ +import { BuildHandlerOptions, BuildMiddleware } from "@smithy/types"; +import { PreviouslyResolved } from "./configuration"; +export interface FlexibleChecksumsRequestMiddlewareConfig { + requestChecksumRequired: boolean; + requestAlgorithmMember?: { + name: string; + httpHeader?: string; + }; +} +export declare const flexibleChecksumsMiddlewareOptions: BuildHandlerOptions; +export declare const flexibleChecksumsMiddleware: ( + config: PreviouslyResolved, + middlewareConfig: FlexibleChecksumsRequestMiddlewareConfig +) => BuildMiddleware; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsResponseMiddleware.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsResponseMiddleware.d.ts new file mode 100644 index 0000000..6d39d5f --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsResponseMiddleware.d.ts @@ -0,0 +1,14 @@ +import { + DeserializeMiddleware, + RelativeMiddlewareOptions, +} from "@smithy/types"; +import { PreviouslyResolved } from "./configuration"; +export interface FlexibleChecksumsResponseMiddlewareConfig { + requestValidationModeMember?: string; + responseAlgorithms?: string[]; +} +export declare const flexibleChecksumsResponseMiddlewareOptions: RelativeMiddlewareOptions; +export declare const flexibleChecksumsResponseMiddleware: ( + config: PreviouslyResolved, + middlewareConfig: FlexibleChecksumsResponseMiddlewareConfig +) => DeserializeMiddleware; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksum.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksum.d.ts new file mode 100644 index 0000000..ab46bb5 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksum.d.ts @@ -0,0 +1,9 @@ +import { ChecksumConstructor, Encoder, HashConstructor } from "@smithy/types"; +export interface GetChecksumDigestOptions { + checksumAlgorithmFn: ChecksumConstructor | HashConstructor; + base64Encoder: Encoder; +} +export declare const getChecksum: ( + body: unknown, + { checksumAlgorithmFn, base64Encoder }: GetChecksumDigestOptions +) => Promise; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksumAlgorithmForRequest.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksumAlgorithmForRequest.d.ts new file mode 100644 index 0000000..8f0ad68 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksumAlgorithmForRequest.d.ts @@ -0,0 +1,15 @@ +import { ChecksumAlgorithm } from "./constants"; +import { RequestChecksumCalculation } from "./constants"; +export interface GetChecksumAlgorithmForRequestOptions { + requestChecksumRequired: boolean; + requestAlgorithmMember?: string; + requestChecksumCalculation: RequestChecksumCalculation; +} +export declare const getChecksumAlgorithmForRequest: ( + input: any, + { + requestChecksumRequired, + requestAlgorithmMember, + requestChecksumCalculation, + }: GetChecksumAlgorithmForRequestOptions +) => ChecksumAlgorithm | string | undefined; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksumAlgorithmListForResponse.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksumAlgorithmListForResponse.d.ts new file mode 100644 index 0000000..39f2eb5 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksumAlgorithmListForResponse.d.ts @@ -0,0 +1,4 @@ +import { ChecksumAlgorithm } from "./constants"; +export declare const getChecksumAlgorithmListForResponse: ( + responseAlgorithms?: string[] +) => ChecksumAlgorithm[]; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksumLocationName.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksumLocationName.d.ts new file mode 100644 index 0000000..5aacd1f --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksumLocationName.d.ts @@ -0,0 +1,4 @@ +import { ChecksumAlgorithm } from "./constants"; +export declare const getChecksumLocationName: ( + algorithm: ChecksumAlgorithm | string +) => string; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getCrc32ChecksumAlgorithmFunction.browser.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getCrc32ChecksumAlgorithmFunction.browser.d.ts new file mode 100644 index 0000000..889142f --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getCrc32ChecksumAlgorithmFunction.browser.d.ts @@ -0,0 +1,2 @@ +import { AwsCrc32 } from "@aws-crypto/crc32"; +export declare const getCrc32ChecksumAlgorithmFunction: () => typeof AwsCrc32; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getCrc32ChecksumAlgorithmFunction.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getCrc32ChecksumAlgorithmFunction.d.ts new file mode 100644 index 0000000..62f01df --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getCrc32ChecksumAlgorithmFunction.d.ts @@ -0,0 +1,12 @@ +import { AwsCrc32 } from "@aws-crypto/crc32"; +import { Checksum } from "@smithy/types"; +declare class NodeCrc32 implements Checksum { + private checksum; + update(data: Uint8Array): void; + digest(): Promise; + reset(): void; +} +export declare const getCrc32ChecksumAlgorithmFunction: () => + | typeof NodeCrc32 + | typeof AwsCrc32; +export {}; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getFlexibleChecksumsPlugin.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getFlexibleChecksumsPlugin.d.ts new file mode 100644 index 0000000..2d4b094 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getFlexibleChecksumsPlugin.d.ts @@ -0,0 +1,13 @@ +import { Pluggable } from "@smithy/types"; +import { PreviouslyResolved } from "./configuration"; +import { FlexibleChecksumsInputMiddlewareConfig } from "./flexibleChecksumsInputMiddleware"; +import { FlexibleChecksumsRequestMiddlewareConfig } from "./flexibleChecksumsMiddleware"; +import { FlexibleChecksumsResponseMiddlewareConfig } from "./flexibleChecksumsResponseMiddleware"; +export interface FlexibleChecksumsMiddlewareConfig + extends FlexibleChecksumsRequestMiddlewareConfig, + FlexibleChecksumsInputMiddlewareConfig, + FlexibleChecksumsResponseMiddlewareConfig {} +export declare const getFlexibleChecksumsPlugin: ( + config: PreviouslyResolved, + middlewareConfig: FlexibleChecksumsMiddlewareConfig +) => Pluggable; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/hasHeader.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/hasHeader.d.ts new file mode 100644 index 0000000..a3f38cd --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/hasHeader.d.ts @@ -0,0 +1,2 @@ +import { HeaderBag } from "@smithy/types"; +export declare const hasHeader: (header: string, headers: HeaderBag) => boolean; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/hasHeaderWithPrefix.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/hasHeaderWithPrefix.d.ts new file mode 100644 index 0000000..3caf7a2 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/hasHeaderWithPrefix.d.ts @@ -0,0 +1,5 @@ +import { HeaderBag } from "@smithy/types"; +export declare const hasHeaderWithPrefix: ( + headerPrefix: string, + headers: HeaderBag +) => boolean; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..c014f44 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/index.d.ts @@ -0,0 +1,6 @@ +export * from "./NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS"; +export * from "./NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS"; +export * from "./constants"; +export * from "./flexibleChecksumsMiddleware"; +export * from "./getFlexibleChecksumsPlugin"; +export * from "./resolveFlexibleChecksumsConfig"; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/isChecksumWithPartNumber.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/isChecksumWithPartNumber.d.ts new file mode 100644 index 0000000..99f6c79 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/isChecksumWithPartNumber.d.ts @@ -0,0 +1 @@ +export declare const isChecksumWithPartNumber: (checksum: string) => boolean; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/isStreaming.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/isStreaming.d.ts new file mode 100644 index 0000000..0ee946e --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/isStreaming.d.ts @@ -0,0 +1 @@ +export declare const isStreaming: (body: unknown) => boolean; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/resolveFlexibleChecksumsConfig.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/resolveFlexibleChecksumsConfig.d.ts new file mode 100644 index 0000000..7e66b9e --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/resolveFlexibleChecksumsConfig.d.ts @@ -0,0 +1,32 @@ +import { ChecksumConstructor, Provider } from "@smithy/types"; +import { + RequestChecksumCalculation, + ResponseChecksumValidation, +} from "./constants"; +export interface FlexibleChecksumsInputConfig { + requestChecksumCalculation?: + | RequestChecksumCalculation + | Provider; + responseChecksumValidation?: + | ResponseChecksumValidation + | Provider; + requestStreamBufferSize?: number | false; + checksumAlgorithms?: { + CRC32?: ChecksumConstructor; + CRC32C?: ChecksumConstructor; + CRC64NVME?: ChecksumConstructor; + SHA1?: ChecksumConstructor; + SHA256?: ChecksumConstructor; + } & { + [algorithmId: string]: ChecksumConstructor; + }; +} +export interface FlexibleChecksumsResolvedConfig { + requestChecksumCalculation: Provider; + responseChecksumValidation: Provider; + requestStreamBufferSize: number; + checksumAlgorithms?: FlexibleChecksumsInputConfig["checksumAlgorithms"]; +} +export declare const resolveFlexibleChecksumsConfig: ( + input: T & FlexibleChecksumsInputConfig +) => T & FlexibleChecksumsResolvedConfig; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/selectChecksumAlgorithmFunction.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/selectChecksumAlgorithmFunction.d.ts new file mode 100644 index 0000000..4bd6031 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/selectChecksumAlgorithmFunction.d.ts @@ -0,0 +1,7 @@ +import { ChecksumConstructor, HashConstructor } from "@smithy/types"; +import { PreviouslyResolved } from "./configuration"; +import { ChecksumAlgorithm } from "./constants"; +export declare const selectChecksumAlgorithmFunction: ( + checksumAlgorithm: ChecksumAlgorithm | string, + config: PreviouslyResolved +) => ChecksumConstructor | HashConstructor; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/stringHasher.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/stringHasher.d.ts new file mode 100644 index 0000000..fbccb53 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/stringHasher.d.ts @@ -0,0 +1,5 @@ +import { ChecksumConstructor, HashConstructor } from "@smithy/types"; +export declare const stringHasher: ( + checksumAlgorithmFn: ChecksumConstructor | HashConstructor, + body: any +) => Promise; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/stringUnionSelector.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/stringUnionSelector.d.ts new file mode 100644 index 0000000..88f2875 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/stringUnionSelector.d.ts @@ -0,0 +1,10 @@ +export declare enum SelectorType { + ENV = "env", + CONFIG = "shared config entry", +} +export declare const stringUnionSelector: ( + obj: Record, + key: string, + union: U, + type: SelectorType +) => U[K] | undefined; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/types.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/types.d.ts new file mode 100644 index 0000000..0006541 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/types.d.ts @@ -0,0 +1,3 @@ +import { ChecksumAlgorithm } from "./constants"; +export declare const CLIENT_SUPPORTED_ALGORITHMS: ChecksumAlgorithm[]; +export declare const PRIORITY_ORDER_ALGORITHMS: ChecksumAlgorithm[]; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/validateChecksumFromResponse.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/validateChecksumFromResponse.d.ts new file mode 100644 index 0000000..0fc2fd0 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/validateChecksumFromResponse.d.ts @@ -0,0 +1,12 @@ +import { HttpResponse } from "@smithy/protocol-http"; +import { Logger } from "@smithy/types"; +import { PreviouslyResolved } from "./configuration"; +export interface ValidateChecksumFromResponseOptions { + config: PreviouslyResolved; + responseAlgorithms?: string[]; + logger?: Logger; +} +export declare const validateChecksumFromResponse: ( + response: HttpResponse, + { config, responseAlgorithms, logger }: ValidateChecksumFromResponseOptions +) => Promise; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/types.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/types.d.ts new file mode 100644 index 0000000..518b84e --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/types.d.ts @@ -0,0 +1,9 @@ +import { ChecksumAlgorithm } from "./constants"; +/** + * List of algorithms supported by client. + */ +export declare const CLIENT_SUPPORTED_ALGORITHMS: ChecksumAlgorithm[]; +/** + * Priority order for validating checksum algorithm. A faster algorithm has higher priority. + */ +export declare const PRIORITY_ORDER_ALGORITHMS: ChecksumAlgorithm[]; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/validateChecksumFromResponse.d.ts b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/validateChecksumFromResponse.d.ts new file mode 100644 index 0000000..7163b67 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/validateChecksumFromResponse.d.ts @@ -0,0 +1,13 @@ +import type { HttpResponse } from "@smithy/protocol-http"; +import type { Logger } from "@smithy/types"; +import type { PreviouslyResolved } from "./configuration"; +export interface ValidateChecksumFromResponseOptions { + config: PreviouslyResolved; + /** + * Defines the checksum algorithms clients SHOULD look for when validating checksums + * returned in the HTTP response. + */ + responseAlgorithms?: string[]; + logger?: Logger; +} +export declare const validateChecksumFromResponse: (response: HttpResponse, { config, responseAlgorithms, logger }: ValidateChecksumFromResponseOptions) => Promise; diff --git a/node_modules/@aws-sdk/middleware-flexible-checksums/package.json b/node_modules/@aws-sdk/middleware-flexible-checksums/package.json new file mode 100644 index 0000000..a48e2a9 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-flexible-checksums/package.json @@ -0,0 +1,78 @@ +{ + "name": "@aws-sdk/middleware-flexible-checksums", + "version": "3.974.6", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline middleware-flexible-checksums", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "extract:docs": "api-extractor run --local", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts", + "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts", + "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "browser": { + "./dist-es/getCrc32ChecksumAlgorithmFunction": "./dist-es/getCrc32ChecksumAlgorithmFunction.browser" + }, + "react-native": { + "./dist-es/getCrc32ChecksumAlgorithmFunction": "./dist-es/getCrc32ChecksumAlgorithmFunction.browser", + "./dist-cjs/getCrc32ChecksumAlgorithmFunction": "./dist-cjs/getCrc32ChecksumAlgorithmFunction.browser" + }, + "types": "./dist-types/index.d.ts", + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/crc32": "5.2.0", + "@aws-crypto/crc32c": "5.2.0", + "@aws-crypto/util": "5.2.0", + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/crc64-nvme": "^3.972.5", + "@aws-sdk/types": "^3.973.6", + "@smithy/is-array-buffer": "^4.2.2", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-stream": "^4.5.21", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@smithy/node-http-handler": "^4.5.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-flexible-checksums", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/middleware-flexible-checksums" + } +} diff --git a/node_modules/@aws-sdk/middleware-host-header/LICENSE b/node_modules/@aws-sdk/middleware-host-header/LICENSE new file mode 100644 index 0000000..e907b58 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-host-header/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@aws-sdk/middleware-host-header/README.md b/node_modules/@aws-sdk/middleware-host-header/README.md new file mode 100644 index 0000000..123940e --- /dev/null +++ b/node_modules/@aws-sdk/middleware-host-header/README.md @@ -0,0 +1,4 @@ +# @aws-sdk/middleware-host-header + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-host-header/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-host-header) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-host-header.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-host-header) diff --git a/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js b/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js new file mode 100644 index 0000000..2dc022c --- /dev/null +++ b/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js @@ -0,0 +1,41 @@ +'use strict'; + +var protocolHttp = require('@smithy/protocol-http'); + +function resolveHostHeaderConfig(input) { + return input; +} +const hostHeaderMiddleware = (options) => (next) => async (args) => { + if (!protocolHttp.HttpRequest.isInstance(args.request)) + return next(args); + const { request } = args; + const { handlerProtocol = "" } = options.requestHandler.metadata || {}; + if (handlerProtocol.indexOf("h2") >= 0 && !request.headers[":authority"]) { + delete request.headers["host"]; + request.headers[":authority"] = request.hostname + (request.port ? ":" + request.port : ""); + } + else if (!request.headers["host"]) { + let host = request.hostname; + if (request.port != null) + host += `:${request.port}`; + request.headers["host"] = host; + } + return next(args); +}; +const hostHeaderMiddlewareOptions = { + name: "hostHeaderMiddleware", + step: "build", + priority: "low", + tags: ["HOST"], + override: true, +}; +const getHostHeaderPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(hostHeaderMiddleware(options), hostHeaderMiddlewareOptions); + }, +}); + +exports.getHostHeaderPlugin = getHostHeaderPlugin; +exports.hostHeaderMiddleware = hostHeaderMiddleware; +exports.hostHeaderMiddlewareOptions = hostHeaderMiddlewareOptions; +exports.resolveHostHeaderConfig = resolveHostHeaderConfig; diff --git a/node_modules/@aws-sdk/middleware-host-header/dist-es/index.js b/node_modules/@aws-sdk/middleware-host-header/dist-es/index.js new file mode 100644 index 0000000..2e2fb62 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-host-header/dist-es/index.js @@ -0,0 +1,33 @@ +import { HttpRequest } from "@smithy/protocol-http"; +export function resolveHostHeaderConfig(input) { + return input; +} +export const hostHeaderMiddleware = (options) => (next) => async (args) => { + if (!HttpRequest.isInstance(args.request)) + return next(args); + const { request } = args; + const { handlerProtocol = "" } = options.requestHandler.metadata || {}; + if (handlerProtocol.indexOf("h2") >= 0 && !request.headers[":authority"]) { + delete request.headers["host"]; + request.headers[":authority"] = request.hostname + (request.port ? ":" + request.port : ""); + } + else if (!request.headers["host"]) { + let host = request.hostname; + if (request.port != null) + host += `:${request.port}`; + request.headers["host"] = host; + } + return next(args); +}; +export const hostHeaderMiddlewareOptions = { + name: "hostHeaderMiddleware", + step: "build", + priority: "low", + tags: ["HOST"], + override: true, +}; +export const getHostHeaderPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(hostHeaderMiddleware(options), hostHeaderMiddlewareOptions); + }, +}); diff --git a/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts b/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts new file mode 100644 index 0000000..d6b348c --- /dev/null +++ b/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts @@ -0,0 +1,35 @@ +import type { AbsoluteLocation, BuildHandlerOptions, BuildMiddleware, Pluggable, RequestHandler } from "@smithy/types"; +/** + * @public + */ +export interface HostHeaderInputConfig { +} +interface PreviouslyResolved { + requestHandler: RequestHandler; +} +/** + * @internal + */ +export interface HostHeaderResolvedConfig { + /** + * The HTTP handler to use. Fetch in browser and Https in Nodejs. + */ + requestHandler: RequestHandler; +} +/** + * @internal + */ +export declare function resolveHostHeaderConfig(input: T & PreviouslyResolved & HostHeaderInputConfig): T & HostHeaderResolvedConfig; +/** + * @internal + */ +export declare const hostHeaderMiddleware: (options: HostHeaderResolvedConfig) => BuildMiddleware; +/** + * @internal + */ +export declare const hostHeaderMiddlewareOptions: BuildHandlerOptions & AbsoluteLocation; +/** + * @internal + */ +export declare const getHostHeaderPlugin: (options: HostHeaderResolvedConfig) => Pluggable; +export {}; diff --git a/node_modules/@aws-sdk/middleware-host-header/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/middleware-host-header/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..3ca5561 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-host-header/dist-types/ts3.4/index.d.ts @@ -0,0 +1,29 @@ +import { + AbsoluteLocation, + BuildHandlerOptions, + BuildMiddleware, + Pluggable, + RequestHandler, +} from "@smithy/types"; +export interface HostHeaderInputConfig {} +interface PreviouslyResolved { + requestHandler: RequestHandler; +} +export interface HostHeaderResolvedConfig { + requestHandler: RequestHandler; +} +export declare function resolveHostHeaderConfig( + input: T & PreviouslyResolved & HostHeaderInputConfig +): T & HostHeaderResolvedConfig; +export declare const hostHeaderMiddleware: < + Input extends object, + Output extends object +>( + options: HostHeaderResolvedConfig +) => BuildMiddleware; +export declare const hostHeaderMiddlewareOptions: BuildHandlerOptions & + AbsoluteLocation; +export declare const getHostHeaderPlugin: ( + options: HostHeaderResolvedConfig +) => Pluggable; +export {}; diff --git a/node_modules/@aws-sdk/middleware-host-header/package.json b/node_modules/@aws-sdk/middleware-host-header/package.json new file mode 100644 index 0000000..b939962 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-host-header/package.json @@ -0,0 +1,59 @@ +{ + "name": "@aws-sdk/middleware-host-header", + "version": "3.972.8", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline middleware-host-header", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "extract:docs": "api-extractor run --local", + "test": "yarn g:vitest run", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:watch": "yarn g:vitest watch", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-host-header", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/middleware-host-header" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + } +} diff --git a/node_modules/@aws-sdk/middleware-location-constraint/LICENSE b/node_modules/@aws-sdk/middleware-location-constraint/LICENSE new file mode 100644 index 0000000..dd65ae0 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-location-constraint/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@aws-sdk/middleware-location-constraint/README.md b/node_modules/@aws-sdk/middleware-location-constraint/README.md new file mode 100644 index 0000000..2a1b4f0 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-location-constraint/README.md @@ -0,0 +1,4 @@ +# @aws-sdk/middleware-location-constraint + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-location-constraint/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-location-constraint) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-location-constraint.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-location-constraint) diff --git a/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js b/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js new file mode 100644 index 0000000..31b3fcb --- /dev/null +++ b/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js @@ -0,0 +1,30 @@ +'use strict'; + +function locationConstraintMiddleware(options) { + return (next) => async (args) => { + const { CreateBucketConfiguration } = args.input; + const region = await options.region(); + if (!CreateBucketConfiguration?.LocationConstraint && !CreateBucketConfiguration?.Location) { + if (region !== "us-east-1") { + args.input.CreateBucketConfiguration = args.input.CreateBucketConfiguration ?? {}; + args.input.CreateBucketConfiguration.LocationConstraint = region; + } + } + return next(args); + }; +} +const locationConstraintMiddlewareOptions = { + step: "initialize", + tags: ["LOCATION_CONSTRAINT", "CREATE_BUCKET_CONFIGURATION"], + name: "locationConstraintMiddleware", + override: true, +}; +const getLocationConstraintPlugin = (config) => ({ + applyToStack: (clientStack) => { + clientStack.add(locationConstraintMiddleware(config), locationConstraintMiddlewareOptions); + }, +}); + +exports.getLocationConstraintPlugin = getLocationConstraintPlugin; +exports.locationConstraintMiddleware = locationConstraintMiddleware; +exports.locationConstraintMiddlewareOptions = locationConstraintMiddlewareOptions; diff --git a/node_modules/@aws-sdk/middleware-location-constraint/dist-es/configuration.js b/node_modules/@aws-sdk/middleware-location-constraint/dist-es/configuration.js new file mode 100644 index 0000000..40dfb35 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-location-constraint/dist-es/configuration.js @@ -0,0 +1,3 @@ +export function resolveLocationConstraintConfig(input) { + return input; +} diff --git a/node_modules/@aws-sdk/middleware-location-constraint/dist-es/index.js b/node_modules/@aws-sdk/middleware-location-constraint/dist-es/index.js new file mode 100644 index 0000000..acea671 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-location-constraint/dist-es/index.js @@ -0,0 +1,24 @@ +export function locationConstraintMiddleware(options) { + return (next) => async (args) => { + const { CreateBucketConfiguration } = args.input; + const region = await options.region(); + if (!CreateBucketConfiguration?.LocationConstraint && !CreateBucketConfiguration?.Location) { + if (region !== "us-east-1") { + args.input.CreateBucketConfiguration = args.input.CreateBucketConfiguration ?? {}; + args.input.CreateBucketConfiguration.LocationConstraint = region; + } + } + return next(args); + }; +} +export const locationConstraintMiddlewareOptions = { + step: "initialize", + tags: ["LOCATION_CONSTRAINT", "CREATE_BUCKET_CONFIGURATION"], + name: "locationConstraintMiddleware", + override: true, +}; +export const getLocationConstraintPlugin = (config) => ({ + applyToStack: (clientStack) => { + clientStack.add(locationConstraintMiddleware(config), locationConstraintMiddlewareOptions); + }, +}); diff --git a/node_modules/@aws-sdk/middleware-location-constraint/dist-types/configuration.d.ts b/node_modules/@aws-sdk/middleware-location-constraint/dist-types/configuration.d.ts new file mode 100644 index 0000000..103b6af --- /dev/null +++ b/node_modules/@aws-sdk/middleware-location-constraint/dist-types/configuration.d.ts @@ -0,0 +1,17 @@ +import type { Provider } from "@smithy/types"; +/** + * @public + */ +export interface LocationConstraintInputConfig { +} +interface PreviouslyResolved { + region: Provider; +} +export interface LocationConstraintResolvedConfig { + /** + * Resolved value for input config {@link RegionInputConfig.region} + */ + region: Provider; +} +export declare function resolveLocationConstraintConfig(input: T & LocationConstraintInputConfig & PreviouslyResolved): T & LocationConstraintResolvedConfig; +export {}; diff --git a/node_modules/@aws-sdk/middleware-location-constraint/dist-types/index.d.ts b/node_modules/@aws-sdk/middleware-location-constraint/dist-types/index.d.ts new file mode 100644 index 0000000..7d6ce0e --- /dev/null +++ b/node_modules/@aws-sdk/middleware-location-constraint/dist-types/index.d.ts @@ -0,0 +1,10 @@ +import type { InitializeHandlerOptions, InitializeMiddleware, Pluggable } from "@smithy/types"; +import type { LocationConstraintResolvedConfig } from "./configuration"; +/** + * This middleware modifies the input on S3 CreateBucket requests. If the LocationConstraint has not been set, this + * middleware will set a LocationConstraint to match the configured region. The CreateBucketConfiguration will be + * removed entirely on requests to the us-east-1 region. + */ +export declare function locationConstraintMiddleware(options: LocationConstraintResolvedConfig): InitializeMiddleware; +export declare const locationConstraintMiddlewareOptions: InitializeHandlerOptions; +export declare const getLocationConstraintPlugin: (config: LocationConstraintResolvedConfig) => Pluggable; diff --git a/node_modules/@aws-sdk/middleware-location-constraint/dist-types/ts3.4/configuration.d.ts b/node_modules/@aws-sdk/middleware-location-constraint/dist-types/ts3.4/configuration.d.ts new file mode 100644 index 0000000..05fd779 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-location-constraint/dist-types/ts3.4/configuration.d.ts @@ -0,0 +1,12 @@ +import { Provider } from "@smithy/types"; +export interface LocationConstraintInputConfig {} +interface PreviouslyResolved { + region: Provider; +} +export interface LocationConstraintResolvedConfig { + region: Provider; +} +export declare function resolveLocationConstraintConfig( + input: T & LocationConstraintInputConfig & PreviouslyResolved +): T & LocationConstraintResolvedConfig; +export {}; diff --git a/node_modules/@aws-sdk/middleware-location-constraint/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/middleware-location-constraint/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..5e11513 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-location-constraint/dist-types/ts3.4/index.d.ts @@ -0,0 +1,13 @@ +import { + InitializeHandlerOptions, + InitializeMiddleware, + Pluggable, +} from "@smithy/types"; +import { LocationConstraintResolvedConfig } from "./configuration"; +export declare function locationConstraintMiddleware( + options: LocationConstraintResolvedConfig +): InitializeMiddleware; +export declare const locationConstraintMiddlewareOptions: InitializeHandlerOptions; +export declare const getLocationConstraintPlugin: ( + config: LocationConstraintResolvedConfig +) => Pluggable; diff --git a/node_modules/@aws-sdk/middleware-location-constraint/package.json b/node_modules/@aws-sdk/middleware-location-constraint/package.json new file mode 100644 index 0000000..ec50053 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-location-constraint/package.json @@ -0,0 +1,57 @@ +{ + "name": "@aws-sdk/middleware-location-constraint", + "version": "3.972.8", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline middleware-location-constraint", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:watch": "yarn g:vitest watch", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-location-constraint", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/middleware-location-constraint" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + } +} diff --git a/node_modules/@aws-sdk/middleware-logger/LICENSE b/node_modules/@aws-sdk/middleware-logger/LICENSE new file mode 100644 index 0000000..74d4e5c --- /dev/null +++ b/node_modules/@aws-sdk/middleware-logger/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-sdk/middleware-logger/README.md b/node_modules/@aws-sdk/middleware-logger/README.md new file mode 100644 index 0000000..861fa43 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-logger/README.md @@ -0,0 +1,4 @@ +# @aws-sdk/middleware-logger + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-logger/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-logger) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-logger.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-logger) diff --git a/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js b/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js new file mode 100644 index 0000000..584a4fa --- /dev/null +++ b/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js @@ -0,0 +1,48 @@ +'use strict'; + +const loggerMiddleware = () => (next, context) => async (args) => { + try { + const response = await next(args); + const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context; + const { overrideInputFilterSensitiveLog, overrideOutputFilterSensitiveLog } = dynamoDbDocumentClientOptions; + const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog; + const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog ?? context.outputFilterSensitiveLog; + const { $metadata, ...outputWithoutMetadata } = response.output; + logger?.info?.({ + clientName, + commandName, + input: inputFilterSensitiveLog(args.input), + output: outputFilterSensitiveLog(outputWithoutMetadata), + metadata: $metadata, + }); + return response; + } + catch (error) { + const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context; + const { overrideInputFilterSensitiveLog } = dynamoDbDocumentClientOptions; + const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog; + logger?.error?.({ + clientName, + commandName, + input: inputFilterSensitiveLog(args.input), + error, + metadata: error.$metadata, + }); + throw error; + } +}; +const loggerMiddlewareOptions = { + name: "loggerMiddleware", + tags: ["LOGGER"], + step: "initialize", + override: true, +}; +const getLoggerPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(loggerMiddleware(), loggerMiddlewareOptions); + }, +}); + +exports.getLoggerPlugin = getLoggerPlugin; +exports.loggerMiddleware = loggerMiddleware; +exports.loggerMiddlewareOptions = loggerMiddlewareOptions; diff --git a/node_modules/@aws-sdk/middleware-logger/dist-es/index.js b/node_modules/@aws-sdk/middleware-logger/dist-es/index.js new file mode 100644 index 0000000..171e3bc --- /dev/null +++ b/node_modules/@aws-sdk/middleware-logger/dist-es/index.js @@ -0,0 +1 @@ +export * from "./loggerMiddleware"; diff --git a/node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js b/node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js new file mode 100644 index 0000000..50da4cc --- /dev/null +++ b/node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js @@ -0,0 +1,42 @@ +export const loggerMiddleware = () => (next, context) => async (args) => { + try { + const response = await next(args); + const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context; + const { overrideInputFilterSensitiveLog, overrideOutputFilterSensitiveLog } = dynamoDbDocumentClientOptions; + const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog; + const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog ?? context.outputFilterSensitiveLog; + const { $metadata, ...outputWithoutMetadata } = response.output; + logger?.info?.({ + clientName, + commandName, + input: inputFilterSensitiveLog(args.input), + output: outputFilterSensitiveLog(outputWithoutMetadata), + metadata: $metadata, + }); + return response; + } + catch (error) { + const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context; + const { overrideInputFilterSensitiveLog } = dynamoDbDocumentClientOptions; + const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog; + logger?.error?.({ + clientName, + commandName, + input: inputFilterSensitiveLog(args.input), + error, + metadata: error.$metadata, + }); + throw error; + } +}; +export const loggerMiddlewareOptions = { + name: "loggerMiddleware", + tags: ["LOGGER"], + step: "initialize", + override: true, +}; +export const getLoggerPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(loggerMiddleware(), loggerMiddlewareOptions); + }, +}); diff --git a/node_modules/@aws-sdk/middleware-logger/dist-types/index.d.ts b/node_modules/@aws-sdk/middleware-logger/dist-types/index.d.ts new file mode 100644 index 0000000..171e3bc --- /dev/null +++ b/node_modules/@aws-sdk/middleware-logger/dist-types/index.d.ts @@ -0,0 +1 @@ +export * from "./loggerMiddleware"; diff --git a/node_modules/@aws-sdk/middleware-logger/dist-types/loggerMiddleware.d.ts b/node_modules/@aws-sdk/middleware-logger/dist-types/loggerMiddleware.d.ts new file mode 100644 index 0000000..3aaa0dd --- /dev/null +++ b/node_modules/@aws-sdk/middleware-logger/dist-types/loggerMiddleware.d.ts @@ -0,0 +1,4 @@ +import type { AbsoluteLocation, HandlerExecutionContext, InitializeHandler, InitializeHandlerOptions, MetadataBearer, Pluggable } from "@smithy/types"; +export declare const loggerMiddleware: () => (next: InitializeHandler, context: HandlerExecutionContext) => InitializeHandler; +export declare const loggerMiddlewareOptions: InitializeHandlerOptions & AbsoluteLocation; +export declare const getLoggerPlugin: (options: any) => Pluggable; diff --git a/node_modules/@aws-sdk/middleware-logger/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/middleware-logger/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..171e3bc --- /dev/null +++ b/node_modules/@aws-sdk/middleware-logger/dist-types/ts3.4/index.d.ts @@ -0,0 +1 @@ +export * from "./loggerMiddleware"; diff --git a/node_modules/@aws-sdk/middleware-logger/dist-types/ts3.4/loggerMiddleware.d.ts b/node_modules/@aws-sdk/middleware-logger/dist-types/ts3.4/loggerMiddleware.d.ts new file mode 100644 index 0000000..10ded9e --- /dev/null +++ b/node_modules/@aws-sdk/middleware-logger/dist-types/ts3.4/loggerMiddleware.d.ts @@ -0,0 +1,17 @@ +import { + AbsoluteLocation, + HandlerExecutionContext, + InitializeHandler, + InitializeHandlerOptions, + MetadataBearer, + Pluggable, +} from "@smithy/types"; +export declare const loggerMiddleware: () => < + Output extends MetadataBearer = MetadataBearer +>( + next: InitializeHandler, + context: HandlerExecutionContext +) => InitializeHandler; +export declare const loggerMiddlewareOptions: InitializeHandlerOptions & + AbsoluteLocation; +export declare const getLoggerPlugin: (options: any) => Pluggable; diff --git a/node_modules/@aws-sdk/middleware-logger/package.json b/node_modules/@aws-sdk/middleware-logger/package.json new file mode 100644 index 0000000..d49920c --- /dev/null +++ b/node_modules/@aws-sdk/middleware-logger/package.json @@ -0,0 +1,59 @@ +{ + "name": "@aws-sdk/middleware-logger", + "version": "3.972.8", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline middleware-logger", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:watch": "yarn g:vitest watch", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "email": "", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "@types/node": "^20.14.8", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-logger", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/middleware-logger" + } +} diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/LICENSE b/node_modules/@aws-sdk/middleware-recursion-detection/LICENSE new file mode 100644 index 0000000..e907b58 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/README.md b/node_modules/@aws-sdk/middleware-recursion-detection/README.md new file mode 100644 index 0000000..5009aaa --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/README.md @@ -0,0 +1,17 @@ +# @aws-sdk/middleware-recursion-detection + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-recursion-detection/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-recursion-detection) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-recursion-detection.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-recursion-detection) + +### :warning: Internal API :warning: + +> This is an internal package. +> That means this is used as a dependency for other, public packages, but +> should not be taken directly as a dependency in your application's `package.json`. + +> If you are updating the version of this package, for example to bring in a +> bug-fix, you should do so by updating your application lockfile with +> e.g. `npm up @scope/package` or equivalent command in another +> package manager, rather than taking a direct dependency. + +--- diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js b/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js new file mode 100644 index 0000000..0b01212 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js @@ -0,0 +1,29 @@ +'use strict'; + +var recursionDetectionMiddleware = require('./recursionDetectionMiddleware'); + +const recursionDetectionMiddlewareOptions = { + step: "build", + tags: ["RECURSION_DETECTION"], + name: "recursionDetectionMiddleware", + override: true, + priority: "low", +}; + +const getRecursionDetectionPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(recursionDetectionMiddleware.recursionDetectionMiddleware(), recursionDetectionMiddlewareOptions); + }, +}); + +exports.getRecursionDetectionPlugin = getRecursionDetectionPlugin; +Object.prototype.hasOwnProperty.call(recursionDetectionMiddleware, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: recursionDetectionMiddleware['__proto__'] + }); + +Object.keys(recursionDetectionMiddleware).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = recursionDetectionMiddleware[k]; +}); diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js b/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js new file mode 100644 index 0000000..1300be0 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js @@ -0,0 +1,33 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.recursionDetectionMiddleware = void 0; +const lambda_invoke_store_1 = require("@aws/lambda-invoke-store"); +const protocol_http_1 = require("@smithy/protocol-http"); +const TRACE_ID_HEADER_NAME = "X-Amzn-Trace-Id"; +const ENV_LAMBDA_FUNCTION_NAME = "AWS_LAMBDA_FUNCTION_NAME"; +const ENV_TRACE_ID = "_X_AMZN_TRACE_ID"; +const recursionDetectionMiddleware = () => (next) => async (args) => { + const { request } = args; + if (!protocol_http_1.HttpRequest.isInstance(request)) { + return next(args); + } + const traceIdHeader = Object.keys(request.headers ?? {}).find((h) => h.toLowerCase() === TRACE_ID_HEADER_NAME.toLowerCase()) ?? + TRACE_ID_HEADER_NAME; + if (request.headers.hasOwnProperty(traceIdHeader)) { + return next(args); + } + const functionName = process.env[ENV_LAMBDA_FUNCTION_NAME]; + const traceIdFromEnv = process.env[ENV_TRACE_ID]; + const invokeStore = await lambda_invoke_store_1.InvokeStore.getInstanceAsync(); + const traceIdFromInvokeStore = invokeStore?.getXRayTraceId(); + const traceId = traceIdFromInvokeStore ?? traceIdFromEnv; + const nonEmptyString = (str) => typeof str === "string" && str.length > 0; + if (nonEmptyString(functionName) && nonEmptyString(traceId)) { + request.headers[TRACE_ID_HEADER_NAME] = traceId; + } + return next({ + ...args, + request, + }); +}; +exports.recursionDetectionMiddleware = recursionDetectionMiddleware; diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.native.js b/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.native.js new file mode 100644 index 0000000..fb26510 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.native.js @@ -0,0 +1,5 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.recursionDetectionMiddleware = void 0; +const recursionDetectionMiddleware = () => (next) => async (args) => next(args); +exports.recursionDetectionMiddleware = recursionDetectionMiddleware; diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/configuration.js b/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/configuration.js new file mode 100644 index 0000000..059715f --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/configuration.js @@ -0,0 +1,7 @@ +export const recursionDetectionMiddlewareOptions = { + step: "build", + tags: ["RECURSION_DETECTION"], + name: "recursionDetectionMiddleware", + override: true, + priority: "low", +}; diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/getRecursionDetectionPlugin.js b/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/getRecursionDetectionPlugin.js new file mode 100644 index 0000000..3a35e02 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/getRecursionDetectionPlugin.js @@ -0,0 +1,7 @@ +import { recursionDetectionMiddlewareOptions } from "./configuration"; +import { recursionDetectionMiddleware } from "./recursionDetectionMiddleware"; +export const getRecursionDetectionPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(recursionDetectionMiddleware(), recursionDetectionMiddlewareOptions); + }, +}); diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js b/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js new file mode 100644 index 0000000..88e92b6 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js @@ -0,0 +1,2 @@ +export * from "./getRecursionDetectionPlugin"; +export * from "./recursionDetectionMiddleware"; diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.browser.js b/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.browser.js new file mode 100644 index 0000000..74f4d0f --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.browser.js @@ -0,0 +1 @@ +export const recursionDetectionMiddleware = () => (next) => async (args) => next(args); diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js b/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js new file mode 100644 index 0000000..5deb6b4 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js @@ -0,0 +1,29 @@ +import { InvokeStore } from "@aws/lambda-invoke-store"; +import { HttpRequest } from "@smithy/protocol-http"; +const TRACE_ID_HEADER_NAME = "X-Amzn-Trace-Id"; +const ENV_LAMBDA_FUNCTION_NAME = "AWS_LAMBDA_FUNCTION_NAME"; +const ENV_TRACE_ID = "_X_AMZN_TRACE_ID"; +export const recursionDetectionMiddleware = () => (next) => async (args) => { + const { request } = args; + if (!HttpRequest.isInstance(request)) { + return next(args); + } + const traceIdHeader = Object.keys(request.headers ?? {}).find((h) => h.toLowerCase() === TRACE_ID_HEADER_NAME.toLowerCase()) ?? + TRACE_ID_HEADER_NAME; + if (request.headers.hasOwnProperty(traceIdHeader)) { + return next(args); + } + const functionName = process.env[ENV_LAMBDA_FUNCTION_NAME]; + const traceIdFromEnv = process.env[ENV_TRACE_ID]; + const invokeStore = await InvokeStore.getInstanceAsync(); + const traceIdFromInvokeStore = invokeStore?.getXRayTraceId(); + const traceId = traceIdFromInvokeStore ?? traceIdFromEnv; + const nonEmptyString = (str) => typeof str === "string" && str.length > 0; + if (nonEmptyString(functionName) && nonEmptyString(traceId)) { + request.headers[TRACE_ID_HEADER_NAME] = traceId; + } + return next({ + ...args, + request, + }); +}; diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.native.js b/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.native.js new file mode 100644 index 0000000..74f4d0f --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.native.js @@ -0,0 +1 @@ +export const recursionDetectionMiddleware = () => (next) => async (args) => next(args); diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts new file mode 100644 index 0000000..83243af --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts @@ -0,0 +1,5 @@ +import type { AbsoluteLocation, BuildHandlerOptions } from "@smithy/types"; +/** + * @internal + */ +export declare const recursionDetectionMiddlewareOptions: BuildHandlerOptions & AbsoluteLocation; diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts new file mode 100644 index 0000000..27a7c12 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts @@ -0,0 +1,5 @@ +import type { Pluggable } from "@smithy/types"; +/** + * @internal + */ +export declare const getRecursionDetectionPlugin: (options: any) => Pluggable; diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/index.d.ts b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/index.d.ts new file mode 100644 index 0000000..88e92b6 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/index.d.ts @@ -0,0 +1,2 @@ +export * from "./getRecursionDetectionPlugin"; +export * from "./recursionDetectionMiddleware"; diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts new file mode 100644 index 0000000..c199825 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts @@ -0,0 +1,6 @@ +import type { BuildMiddleware } from "@smithy/types"; +/** + * No-op middleware for runtimes outside of Node.js + * @internal + */ +export declare const recursionDetectionMiddleware: () => BuildMiddleware; diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts new file mode 100644 index 0000000..b8a39d5 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts @@ -0,0 +1,6 @@ +import type { BuildMiddleware } from "@smithy/types"; +/** + * Inject to trace ID to request header to detect recursion invocation in Lambda. + * @internal + */ +export declare const recursionDetectionMiddleware: () => BuildMiddleware; diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts new file mode 100644 index 0000000..c199825 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts @@ -0,0 +1,6 @@ +import type { BuildMiddleware } from "@smithy/types"; +/** + * No-op middleware for runtimes outside of Node.js + * @internal + */ +export declare const recursionDetectionMiddleware: () => BuildMiddleware; diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/configuration.d.ts b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/configuration.d.ts new file mode 100644 index 0000000..2ff2544 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/configuration.d.ts @@ -0,0 +1,3 @@ +import { AbsoluteLocation, BuildHandlerOptions } from "@smithy/types"; +export declare const recursionDetectionMiddlewareOptions: BuildHandlerOptions & + AbsoluteLocation; diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/getRecursionDetectionPlugin.d.ts b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/getRecursionDetectionPlugin.d.ts new file mode 100644 index 0000000..cf326dd --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/getRecursionDetectionPlugin.d.ts @@ -0,0 +1,4 @@ +import { Pluggable } from "@smithy/types"; +export declare const getRecursionDetectionPlugin: ( + options: any +) => Pluggable; diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..88e92b6 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/index.d.ts @@ -0,0 +1,2 @@ +export * from "./getRecursionDetectionPlugin"; +export * from "./recursionDetectionMiddleware"; diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.browser.d.ts b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.browser.d.ts new file mode 100644 index 0000000..3981c31 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.browser.d.ts @@ -0,0 +1,5 @@ +import { BuildMiddleware } from "@smithy/types"; +export declare const recursionDetectionMiddleware: () => BuildMiddleware< + any, + any +>; diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.d.ts b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.d.ts new file mode 100644 index 0000000..3981c31 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.d.ts @@ -0,0 +1,5 @@ +import { BuildMiddleware } from "@smithy/types"; +export declare const recursionDetectionMiddleware: () => BuildMiddleware< + any, + any +>; diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.native.d.ts b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.native.d.ts new file mode 100644 index 0000000..3981c31 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.native.d.ts @@ -0,0 +1,5 @@ +import { BuildMiddleware } from "@smithy/types"; +export declare const recursionDetectionMiddleware: () => BuildMiddleware< + any, + any +>; diff --git a/node_modules/@aws-sdk/middleware-recursion-detection/package.json b/node_modules/@aws-sdk/middleware-recursion-detection/package.json new file mode 100644 index 0000000..8a1bf4b --- /dev/null +++ b/node_modules/@aws-sdk/middleware-recursion-detection/package.json @@ -0,0 +1,63 @@ +{ + "name": "@aws-sdk/middleware-recursion-detection", + "version": "3.972.9", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline middleware-recursion-detection", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:watch": "yarn g:vitest watch", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@aws/lambda-invoke-store": "^0.2.2", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-recursion-detection", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/middleware-recursion-detection" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "browser": { + "./dist-es/recursionDetectionMiddleware": "./dist-es/recursionDetectionMiddleware.browser" + }, + "react-native": {} +} diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/LICENSE b/node_modules/@aws-sdk/middleware-sdk-s3/LICENSE new file mode 100644 index 0000000..e907b58 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/README.md b/node_modules/@aws-sdk/middleware-sdk-s3/README.md new file mode 100644 index 0000000..8163944 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/README.md @@ -0,0 +1,4 @@ +# @aws-sdk/middleware-sdk-s3 + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-sdk-s3/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-sdk-s3) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-sdk-s3.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-sdk-s3) diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js new file mode 100644 index 0000000..076bfdf --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js @@ -0,0 +1,597 @@ +'use strict'; + +var protocolHttp = require('@smithy/protocol-http'); +var smithyClient = require('@smithy/smithy-client'); +var utilStream = require('@smithy/util-stream'); +var utilArnParser = require('@aws-sdk/util-arn-parser'); +var protocols = require('@aws-sdk/core/protocols'); +var schema = require('@smithy/core/schema'); +var signatureV4 = require('@smithy/signature-v4'); +var utilConfigProvider = require('@smithy/util-config-provider'); +var client = require('@aws-sdk/core/client'); +var core = require('@smithy/core'); +var utilMiddleware = require('@smithy/util-middleware'); + +const CONTENT_LENGTH_HEADER = "content-length"; +const DECODED_CONTENT_LENGTH_HEADER = "x-amz-decoded-content-length"; +function checkContentLengthHeader() { + return (next, context) => async (args) => { + const { request } = args; + if (protocolHttp.HttpRequest.isInstance(request)) { + if (!(CONTENT_LENGTH_HEADER in request.headers) && !(DECODED_CONTENT_LENGTH_HEADER in request.headers)) { + const message = `Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.`; + if (typeof context?.logger?.warn === "function" && !(context.logger instanceof smithyClient.NoOpLogger)) { + context.logger.warn(message); + } + else { + console.warn(message); + } + } + } + return next({ ...args }); + }; +} +const checkContentLengthHeaderMiddlewareOptions = { + step: "finalizeRequest", + tags: ["CHECK_CONTENT_LENGTH_HEADER"], + name: "getCheckContentLengthHeaderPlugin", + override: true, +}; +const getCheckContentLengthHeaderPlugin = (unused) => ({ + applyToStack: (clientStack) => { + clientStack.add(checkContentLengthHeader(), checkContentLengthHeaderMiddlewareOptions); + }, +}); + +const regionRedirectEndpointMiddleware = (config) => { + return (next, context) => async (args) => { + const originalRegion = await config.region(); + const regionProviderRef = config.region; + let unlock = () => { }; + if (context.__s3RegionRedirect) { + Object.defineProperty(config, "region", { + writable: false, + value: async () => { + return context.__s3RegionRedirect; + }, + }); + unlock = () => Object.defineProperty(config, "region", { + writable: true, + value: regionProviderRef, + }); + } + try { + const result = await next(args); + if (context.__s3RegionRedirect) { + unlock(); + const region = await config.region(); + if (originalRegion !== region) { + throw new Error("Region was not restored following S3 region redirect."); + } + } + return result; + } + catch (e) { + unlock(); + throw e; + } + }; +}; +const regionRedirectEndpointMiddlewareOptions = { + tags: ["REGION_REDIRECT", "S3"], + name: "regionRedirectEndpointMiddleware", + override: true, + relation: "before", + toMiddleware: "endpointV2Middleware", +}; + +function regionRedirectMiddleware(clientConfig) { + return (next, context) => async (args) => { + try { + return await next(args); + } + catch (err) { + if (clientConfig.followRegionRedirects) { + const statusCode = err?.$metadata?.httpStatusCode; + const isHeadBucket = context.commandName === "HeadBucketCommand"; + const bucketRegionHeader = err?.$response?.headers?.["x-amz-bucket-region"]; + if (bucketRegionHeader) { + if (statusCode === 301 || + (statusCode === 400 && (err?.name === "IllegalLocationConstraintException" || isHeadBucket))) { + try { + const actualRegion = bucketRegionHeader; + context.logger?.debug(`Redirecting from ${await clientConfig.region()} to ${actualRegion}`); + context.__s3RegionRedirect = actualRegion; + } + catch (e) { + throw new Error("Region redirect failed: " + e); + } + return next(args); + } + } + } + throw err; + } + }; +} +const regionRedirectMiddlewareOptions = { + step: "initialize", + tags: ["REGION_REDIRECT", "S3"], + name: "regionRedirectMiddleware", + override: true, +}; +const getRegionRedirectMiddlewarePlugin = (clientConfig) => ({ + applyToStack: (clientStack) => { + clientStack.add(regionRedirectMiddleware(clientConfig), regionRedirectMiddlewareOptions); + clientStack.addRelativeTo(regionRedirectEndpointMiddleware(clientConfig), regionRedirectEndpointMiddlewareOptions); + }, +}); + +const s3ExpiresMiddleware = (config) => { + return (next, context) => async (args) => { + const result = await next(args); + const { response } = result; + if (protocolHttp.HttpResponse.isInstance(response)) { + if (response.headers.expires) { + response.headers.expiresstring = response.headers.expires; + try { + smithyClient.parseRfc7231DateTime(response.headers.expires); + } + catch (e) { + context.logger?.warn(`AWS SDK Warning for ${context.clientName}::${context.commandName} response parsing (${response.headers.expires}): ${e}`); + delete response.headers.expires; + } + } + } + return result; + }; +}; +const s3ExpiresMiddlewareOptions = { + tags: ["S3"], + name: "s3ExpiresMiddleware", + override: true, + relation: "after", + toMiddleware: "deserializerMiddleware", +}; +const getS3ExpiresMiddlewarePlugin = (clientConfig) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(s3ExpiresMiddleware(), s3ExpiresMiddlewareOptions); + }, +}); + +class S3ExpressIdentityCache { + data; + lastPurgeTime = Date.now(); + static EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS = 30_000; + constructor(data = {}) { + this.data = data; + } + get(key) { + const entry = this.data[key]; + if (!entry) { + return; + } + return entry; + } + set(key, entry) { + this.data[key] = entry; + return entry; + } + delete(key) { + delete this.data[key]; + } + async purgeExpired() { + const now = Date.now(); + if (this.lastPurgeTime + S3ExpressIdentityCache.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS > now) { + return; + } + for (const key in this.data) { + const entry = this.data[key]; + if (!entry.isRefreshing) { + const credential = await entry.identity; + if (credential.expiration) { + if (credential.expiration.getTime() < now) { + delete this.data[key]; + } + } + } + } + } +} + +class S3ExpressIdentityCacheEntry { + _identity; + isRefreshing; + accessed; + constructor(_identity, isRefreshing = false, accessed = Date.now()) { + this._identity = _identity; + this.isRefreshing = isRefreshing; + this.accessed = accessed; + } + get identity() { + this.accessed = Date.now(); + return this._identity; + } +} + +class S3ExpressIdentityProviderImpl { + createSessionFn; + cache; + static REFRESH_WINDOW_MS = 60_000; + constructor(createSessionFn, cache = new S3ExpressIdentityCache()) { + this.createSessionFn = createSessionFn; + this.cache = cache; + } + async getS3ExpressIdentity(awsIdentity, identityProperties) { + const key = identityProperties.Bucket; + const { cache } = this; + const entry = cache.get(key); + if (entry) { + return entry.identity.then((identity) => { + const isExpired = (identity.expiration?.getTime() ?? 0) < Date.now(); + if (isExpired) { + return cache.set(key, new S3ExpressIdentityCacheEntry(this.getIdentity(key))).identity; + } + const isExpiringSoon = (identity.expiration?.getTime() ?? 0) < Date.now() + S3ExpressIdentityProviderImpl.REFRESH_WINDOW_MS; + if (isExpiringSoon && !entry.isRefreshing) { + entry.isRefreshing = true; + this.getIdentity(key).then((id) => { + cache.set(key, new S3ExpressIdentityCacheEntry(Promise.resolve(id))); + }); + } + return identity; + }); + } + return cache.set(key, new S3ExpressIdentityCacheEntry(this.getIdentity(key))).identity; + } + async getIdentity(key) { + await this.cache.purgeExpired().catch((error) => { + console.warn("Error while clearing expired entries in S3ExpressIdentityCache: \n" + error); + }); + const session = await this.createSessionFn(key); + if (!session.Credentials?.AccessKeyId || !session.Credentials?.SecretAccessKey) { + throw new Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey."); + } + const identity = { + accessKeyId: session.Credentials.AccessKeyId, + secretAccessKey: session.Credentials.SecretAccessKey, + sessionToken: session.Credentials.SessionToken, + expiration: session.Credentials.Expiration ? new Date(session.Credentials.Expiration) : undefined, + }; + return identity; + } +} + +const S3_EXPRESS_BUCKET_TYPE = "Directory"; +const S3_EXPRESS_BACKEND = "S3Express"; +const S3_EXPRESS_AUTH_SCHEME = "sigv4-s3express"; +const SESSION_TOKEN_QUERY_PARAM = "X-Amz-S3session-Token"; +const SESSION_TOKEN_HEADER = SESSION_TOKEN_QUERY_PARAM.toLowerCase(); +const NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_ENV_NAME = "AWS_S3_DISABLE_EXPRESS_SESSION_AUTH"; +const NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_INI_NAME = "s3_disable_express_session_auth"; +const NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS = { + environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_ENV_NAME, utilConfigProvider.SelectorType.ENV), + configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_INI_NAME, utilConfigProvider.SelectorType.CONFIG), + default: false, +}; + +class SignatureV4S3Express extends signatureV4.SignatureV4 { + async signWithCredentials(requestToSign, credentials, options) { + const credentialsWithoutSessionToken = getCredentialsWithoutSessionToken(credentials); + requestToSign.headers[SESSION_TOKEN_HEADER] = credentials.sessionToken; + const privateAccess = this; + setSingleOverride(privateAccess, credentialsWithoutSessionToken); + return privateAccess.signRequest(requestToSign, options ?? {}); + } + async presignWithCredentials(requestToSign, credentials, options) { + const credentialsWithoutSessionToken = getCredentialsWithoutSessionToken(credentials); + delete requestToSign.headers[SESSION_TOKEN_HEADER]; + requestToSign.headers[SESSION_TOKEN_QUERY_PARAM] = credentials.sessionToken; + requestToSign.query = requestToSign.query ?? {}; + requestToSign.query[SESSION_TOKEN_QUERY_PARAM] = credentials.sessionToken; + const privateAccess = this; + setSingleOverride(privateAccess, credentialsWithoutSessionToken); + return this.presign(requestToSign, options); + } +} +function getCredentialsWithoutSessionToken(credentials) { + const credentialsWithoutSessionToken = { + accessKeyId: credentials.accessKeyId, + secretAccessKey: credentials.secretAccessKey, + expiration: credentials.expiration, + }; + return credentialsWithoutSessionToken; +} +function setSingleOverride(privateAccess, credentialsWithoutSessionToken) { + const id = setTimeout(() => { + throw new Error("SignatureV4S3Express credential override was created but not called."); + }, 10); + const currentCredentialProvider = privateAccess.credentialProvider; + const overrideCredentialsProviderOnce = () => { + clearTimeout(id); + privateAccess.credentialProvider = currentCredentialProvider; + return Promise.resolve(credentialsWithoutSessionToken); + }; + privateAccess.credentialProvider = overrideCredentialsProviderOnce; +} + +const s3ExpressMiddleware = (options) => { + return (next, context) => async (args) => { + if (context.endpointV2) { + const endpoint = context.endpointV2; + const isS3ExpressAuth = endpoint.properties?.authSchemes?.[0]?.name === S3_EXPRESS_AUTH_SCHEME; + const isS3ExpressBucket = endpoint.properties?.backend === S3_EXPRESS_BACKEND || + endpoint.properties?.bucketType === S3_EXPRESS_BUCKET_TYPE; + if (isS3ExpressBucket) { + client.setFeature(context, "S3_EXPRESS_BUCKET", "J"); + context.isS3ExpressBucket = true; + } + if (isS3ExpressAuth) { + const requestBucket = args.input.Bucket; + if (requestBucket) { + const s3ExpressIdentity = await options.s3ExpressIdentityProvider.getS3ExpressIdentity(await options.credentials(), { + Bucket: requestBucket, + }); + context.s3ExpressIdentity = s3ExpressIdentity; + if (protocolHttp.HttpRequest.isInstance(args.request) && s3ExpressIdentity.sessionToken) { + args.request.headers[SESSION_TOKEN_HEADER] = s3ExpressIdentity.sessionToken; + } + } + } + } + return next(args); + }; +}; +const s3ExpressMiddlewareOptions = { + name: "s3ExpressMiddleware", + step: "build", + tags: ["S3", "S3_EXPRESS"], + override: true, +}; +const getS3ExpressPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(s3ExpressMiddleware(options), s3ExpressMiddlewareOptions); + }, +}); + +const signS3Express = async (s3ExpressIdentity, signingOptions, request, sigV4MultiRegionSigner) => { + const signedRequest = await sigV4MultiRegionSigner.signWithCredentials(request, s3ExpressIdentity, {}); + if (signedRequest.headers["X-Amz-Security-Token"] || signedRequest.headers["x-amz-security-token"]) { + throw new Error("X-Amz-Security-Token must not be set for s3-express requests."); + } + return signedRequest; +}; + +const defaultErrorHandler = (signingProperties) => (error) => { + throw error; +}; +const defaultSuccessHandler = (httpResponse, signingProperties) => { }; +const s3ExpressHttpSigningMiddlewareOptions = core.httpSigningMiddlewareOptions; +const s3ExpressHttpSigningMiddleware = (config) => (next, context) => async (args) => { + if (!protocolHttp.HttpRequest.isInstance(args.request)) { + return next(args); + } + const smithyContext = utilMiddleware.getSmithyContext(context); + const scheme = smithyContext.selectedHttpAuthScheme; + if (!scheme) { + throw new Error(`No HttpAuthScheme was selected: unable to sign request`); + } + const { httpAuthOption: { signingProperties = {} }, identity, signer, } = scheme; + let request; + if (context.s3ExpressIdentity) { + request = await signS3Express(context.s3ExpressIdentity, signingProperties, args.request, await config.signer()); + } + else { + request = await signer.sign(args.request, identity, signingProperties); + } + const output = await next({ + ...args, + request, + }).catch((signer.errorHandler || defaultErrorHandler)(signingProperties)); + (signer.successHandler || defaultSuccessHandler)(output.response, signingProperties); + return output; +}; +const getS3ExpressHttpSigningPlugin = (config) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(s3ExpressHttpSigningMiddleware(config), core.httpSigningMiddlewareOptions); + }, +}); + +const resolveS3Config = (input, { session, }) => { + const [s3ClientProvider, CreateSessionCommandCtor] = session; + const { forcePathStyle, useAccelerateEndpoint, disableMultiregionAccessPoints, followRegionRedirects, s3ExpressIdentityProvider, bucketEndpoint, expectContinueHeader, } = input; + return Object.assign(input, { + forcePathStyle: forcePathStyle ?? false, + useAccelerateEndpoint: useAccelerateEndpoint ?? false, + disableMultiregionAccessPoints: disableMultiregionAccessPoints ?? false, + followRegionRedirects: followRegionRedirects ?? false, + s3ExpressIdentityProvider: s3ExpressIdentityProvider ?? + new S3ExpressIdentityProviderImpl(async (key) => s3ClientProvider().send(new CreateSessionCommandCtor({ + Bucket: key, + }))), + bucketEndpoint: bucketEndpoint ?? false, + expectContinueHeader: expectContinueHeader ?? 2_097_152, + }); +}; + +const THROW_IF_EMPTY_BODY = { + CopyObjectCommand: true, + UploadPartCopyCommand: true, + CompleteMultipartUploadCommand: true, +}; +const MAX_BYTES_TO_INSPECT = 3000; +const throw200ExceptionsMiddleware = (config) => (next, context) => async (args) => { + const result = await next(args); + const { response } = result; + if (!protocolHttp.HttpResponse.isInstance(response)) { + return result; + } + const { statusCode, body: sourceBody } = response; + if (statusCode < 200 || statusCode >= 300) { + return result; + } + const isSplittableStream = typeof sourceBody?.stream === "function" || + typeof sourceBody?.pipe === "function" || + typeof sourceBody?.tee === "function"; + if (!isSplittableStream) { + return result; + } + let bodyCopy = sourceBody; + let body = sourceBody; + if (sourceBody && typeof sourceBody === "object" && !(sourceBody instanceof Uint8Array)) { + [bodyCopy, body] = await utilStream.splitStream(sourceBody); + } + response.body = body; + const bodyBytes = await collectBody(bodyCopy, { + streamCollector: async (stream) => { + return utilStream.headStream(stream, MAX_BYTES_TO_INSPECT); + }, + }); + if (typeof bodyCopy?.destroy === "function") { + bodyCopy.destroy(); + } + const bodyStringTail = config.utf8Encoder(bodyBytes.subarray(bodyBytes.length - 16)); + if (bodyBytes.length === 0 && THROW_IF_EMPTY_BODY[context.commandName]) { + const err = new Error("S3 aborted request"); + err.name = "InternalError"; + throw err; + } + if (bodyStringTail && bodyStringTail.endsWith("")) { + response.statusCode = 400; + } + return result; +}; +const collectBody = (streamBody = new Uint8Array(), context) => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } + return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()); +}; +const throw200ExceptionsMiddlewareOptions = { + relation: "after", + toMiddleware: "deserializerMiddleware", + tags: ["THROW_200_EXCEPTIONS", "S3"], + name: "throw200ExceptionsMiddleware", + override: true, +}; +const getThrow200ExceptionsPlugin = (config) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(throw200ExceptionsMiddleware(config), throw200ExceptionsMiddlewareOptions); + }, +}); + +function bucketEndpointMiddleware(options) { + return (next, context) => async (args) => { + if (options.bucketEndpoint) { + const endpoint = context.endpointV2; + if (endpoint) { + const bucket = args.input.Bucket; + if (typeof bucket === "string") { + try { + const bucketEndpointUrl = new URL(bucket); + context.endpointV2 = { + ...endpoint, + url: bucketEndpointUrl, + }; + } + catch (e) { + const warning = `@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${bucket} could not be parsed as URL.`; + if (context.logger?.constructor?.name === "NoOpLogger") { + console.warn(warning); + } + else { + context.logger?.warn?.(warning); + } + throw e; + } + } + } + } + return next(args); + }; +} +const bucketEndpointMiddlewareOptions = { + name: "bucketEndpointMiddleware", + override: true, + relation: "after", + toMiddleware: "endpointV2Middleware", +}; + +function validateBucketNameMiddleware({ bucketEndpoint }) { + return (next) => async (args) => { + const { input: { Bucket }, } = args; + if (!bucketEndpoint && typeof Bucket === "string" && !utilArnParser.validate(Bucket) && Bucket.indexOf("/") >= 0) { + const err = new Error(`Bucket name shouldn't contain '/', received '${Bucket}'`); + err.name = "InvalidBucketName"; + throw err; + } + return next({ ...args }); + }; +} +const validateBucketNameMiddlewareOptions = { + step: "initialize", + tags: ["VALIDATE_BUCKET_NAME"], + name: "validateBucketNameMiddleware", + override: true, +}; +const getValidateBucketNamePlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(validateBucketNameMiddleware(options), validateBucketNameMiddlewareOptions); + clientStack.addRelativeTo(bucketEndpointMiddleware(options), bucketEndpointMiddlewareOptions); + }, +}); + +class S3RestXmlProtocol extends protocols.AwsRestXmlProtocol { + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + const ns = schema.NormalizedSchema.of(operationSchema.input); + const staticStructureSchema = ns.getSchema(); + let bucketMemberIndex = 0; + const requiredMemberCount = staticStructureSchema[6] ?? 0; + if (input && typeof input === "object") { + for (const [memberName, memberNs] of ns.structIterator()) { + if (++bucketMemberIndex > requiredMemberCount) { + break; + } + if (memberName === "Bucket") { + if (!input.Bucket && memberNs.getMergedTraits().httpLabel) { + throw new Error(`No value provided for input HTTP label: Bucket.`); + } + break; + } + } + } + return request; + } +} + +exports.NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS = NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS; +exports.S3ExpressIdentityCache = S3ExpressIdentityCache; +exports.S3ExpressIdentityCacheEntry = S3ExpressIdentityCacheEntry; +exports.S3ExpressIdentityProviderImpl = S3ExpressIdentityProviderImpl; +exports.S3RestXmlProtocol = S3RestXmlProtocol; +exports.SignatureV4S3Express = SignatureV4S3Express; +exports.checkContentLengthHeader = checkContentLengthHeader; +exports.checkContentLengthHeaderMiddlewareOptions = checkContentLengthHeaderMiddlewareOptions; +exports.getCheckContentLengthHeaderPlugin = getCheckContentLengthHeaderPlugin; +exports.getRegionRedirectMiddlewarePlugin = getRegionRedirectMiddlewarePlugin; +exports.getS3ExpiresMiddlewarePlugin = getS3ExpiresMiddlewarePlugin; +exports.getS3ExpressHttpSigningPlugin = getS3ExpressHttpSigningPlugin; +exports.getS3ExpressPlugin = getS3ExpressPlugin; +exports.getThrow200ExceptionsPlugin = getThrow200ExceptionsPlugin; +exports.getValidateBucketNamePlugin = getValidateBucketNamePlugin; +exports.regionRedirectEndpointMiddleware = regionRedirectEndpointMiddleware; +exports.regionRedirectEndpointMiddlewareOptions = regionRedirectEndpointMiddlewareOptions; +exports.regionRedirectMiddleware = regionRedirectMiddleware; +exports.regionRedirectMiddlewareOptions = regionRedirectMiddlewareOptions; +exports.resolveS3Config = resolveS3Config; +exports.s3ExpiresMiddleware = s3ExpiresMiddleware; +exports.s3ExpiresMiddlewareOptions = s3ExpiresMiddlewareOptions; +exports.s3ExpressHttpSigningMiddleware = s3ExpressHttpSigningMiddleware; +exports.s3ExpressHttpSigningMiddlewareOptions = s3ExpressHttpSigningMiddlewareOptions; +exports.s3ExpressMiddleware = s3ExpressMiddleware; +exports.s3ExpressMiddlewareOptions = s3ExpressMiddlewareOptions; +exports.throw200ExceptionsMiddleware = throw200ExceptionsMiddleware; +exports.throw200ExceptionsMiddlewareOptions = throw200ExceptionsMiddlewareOptions; +exports.validateBucketNameMiddleware = validateBucketNameMiddleware; +exports.validateBucketNameMiddlewareOptions = validateBucketNameMiddlewareOptions; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/bucket-endpoint-middleware.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/bucket-endpoint-middleware.js new file mode 100644 index 0000000..1902faf --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/bucket-endpoint-middleware.js @@ -0,0 +1,36 @@ +export function bucketEndpointMiddleware(options) { + return (next, context) => async (args) => { + if (options.bucketEndpoint) { + const endpoint = context.endpointV2; + if (endpoint) { + const bucket = args.input.Bucket; + if (typeof bucket === "string") { + try { + const bucketEndpointUrl = new URL(bucket); + context.endpointV2 = { + ...endpoint, + url: bucketEndpointUrl, + }; + } + catch (e) { + const warning = `@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${bucket} could not be parsed as URL.`; + if (context.logger?.constructor?.name === "NoOpLogger") { + console.warn(warning); + } + else { + context.logger?.warn?.(warning); + } + throw e; + } + } + } + } + return next(args); + }; +} +export const bucketEndpointMiddlewareOptions = { + name: "bucketEndpointMiddleware", + override: true, + relation: "after", + toMiddleware: "endpointV2Middleware", +}; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/check-content-length-header.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/check-content-length-header.js new file mode 100644 index 0000000..87498fe --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/check-content-length-header.js @@ -0,0 +1,32 @@ +import { HttpRequest } from "@smithy/protocol-http"; +import { NoOpLogger } from "@smithy/smithy-client"; +const CONTENT_LENGTH_HEADER = "content-length"; +const DECODED_CONTENT_LENGTH_HEADER = "x-amz-decoded-content-length"; +export function checkContentLengthHeader() { + return (next, context) => async (args) => { + const { request } = args; + if (HttpRequest.isInstance(request)) { + if (!(CONTENT_LENGTH_HEADER in request.headers) && !(DECODED_CONTENT_LENGTH_HEADER in request.headers)) { + const message = `Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.`; + if (typeof context?.logger?.warn === "function" && !(context.logger instanceof NoOpLogger)) { + context.logger.warn(message); + } + else { + console.warn(message); + } + } + } + return next({ ...args }); + }; +} +export const checkContentLengthHeaderMiddlewareOptions = { + step: "finalizeRequest", + tags: ["CHECK_CONTENT_LENGTH_HEADER"], + name: "getCheckContentLengthHeaderPlugin", + override: true, +}; +export const getCheckContentLengthHeaderPlugin = (unused) => ({ + applyToStack: (clientStack) => { + clientStack.add(checkContentLengthHeader(), checkContentLengthHeaderMiddlewareOptions); + }, +}); diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js new file mode 100644 index 0000000..129fc2a --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js @@ -0,0 +1,9 @@ +export * from "./check-content-length-header"; +export * from "./region-redirect-endpoint-middleware"; +export * from "./region-redirect-middleware"; +export * from "./s3-expires-middleware"; +export * from "./s3-express/index"; +export * from "./s3Configuration"; +export * from "./throw-200-exceptions"; +export * from "./validate-bucket-name"; +export { S3RestXmlProtocol } from "./protocol/S3RestXmlProtocol"; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/protocol/S3RestXmlProtocol.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/protocol/S3RestXmlProtocol.js new file mode 100644 index 0000000..26b3e44 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/protocol/S3RestXmlProtocol.js @@ -0,0 +1,25 @@ +import { AwsRestXmlProtocol } from "@aws-sdk/core/protocols"; +import { NormalizedSchema } from "@smithy/core/schema"; +export class S3RestXmlProtocol extends AwsRestXmlProtocol { + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + const ns = NormalizedSchema.of(operationSchema.input); + const staticStructureSchema = ns.getSchema(); + let bucketMemberIndex = 0; + const requiredMemberCount = staticStructureSchema[6] ?? 0; + if (input && typeof input === "object") { + for (const [memberName, memberNs] of ns.structIterator()) { + if (++bucketMemberIndex > requiredMemberCount) { + break; + } + if (memberName === "Bucket") { + if (!input.Bucket && memberNs.getMergedTraits().httpLabel) { + throw new Error(`No value provided for input HTTP label: Bucket.`); + } + break; + } + } + } + return request; + } +} diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-endpoint-middleware.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-endpoint-middleware.js new file mode 100644 index 0000000..cd72761 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-endpoint-middleware.js @@ -0,0 +1,41 @@ +export const regionRedirectEndpointMiddleware = (config) => { + return (next, context) => async (args) => { + const originalRegion = await config.region(); + const regionProviderRef = config.region; + let unlock = () => { }; + if (context.__s3RegionRedirect) { + Object.defineProperty(config, "region", { + writable: false, + value: async () => { + return context.__s3RegionRedirect; + }, + }); + unlock = () => Object.defineProperty(config, "region", { + writable: true, + value: regionProviderRef, + }); + } + try { + const result = await next(args); + if (context.__s3RegionRedirect) { + unlock(); + const region = await config.region(); + if (originalRegion !== region) { + throw new Error("Region was not restored following S3 region redirect."); + } + } + return result; + } + catch (e) { + unlock(); + throw e; + } + }; +}; +export const regionRedirectEndpointMiddlewareOptions = { + tags: ["REGION_REDIRECT", "S3"], + name: "regionRedirectEndpointMiddleware", + override: true, + relation: "before", + toMiddleware: "endpointV2Middleware", +}; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js new file mode 100644 index 0000000..0f835d0 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js @@ -0,0 +1,42 @@ +import { regionRedirectEndpointMiddleware, regionRedirectEndpointMiddlewareOptions, } from "./region-redirect-endpoint-middleware"; +export function regionRedirectMiddleware(clientConfig) { + return (next, context) => async (args) => { + try { + return await next(args); + } + catch (err) { + if (clientConfig.followRegionRedirects) { + const statusCode = err?.$metadata?.httpStatusCode; + const isHeadBucket = context.commandName === "HeadBucketCommand"; + const bucketRegionHeader = err?.$response?.headers?.["x-amz-bucket-region"]; + if (bucketRegionHeader) { + if (statusCode === 301 || + (statusCode === 400 && (err?.name === "IllegalLocationConstraintException" || isHeadBucket))) { + try { + const actualRegion = bucketRegionHeader; + context.logger?.debug(`Redirecting from ${await clientConfig.region()} to ${actualRegion}`); + context.__s3RegionRedirect = actualRegion; + } + catch (e) { + throw new Error("Region redirect failed: " + e); + } + return next(args); + } + } + } + throw err; + } + }; +} +export const regionRedirectMiddlewareOptions = { + step: "initialize", + tags: ["REGION_REDIRECT", "S3"], + name: "regionRedirectMiddleware", + override: true, +}; +export const getRegionRedirectMiddlewarePlugin = (clientConfig) => ({ + applyToStack: (clientStack) => { + clientStack.add(regionRedirectMiddleware(clientConfig), regionRedirectMiddlewareOptions); + clientStack.addRelativeTo(regionRedirectEndpointMiddleware(clientConfig), regionRedirectEndpointMiddlewareOptions); + }, +}); diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-expires-middleware.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-expires-middleware.js new file mode 100644 index 0000000..1256487 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-expires-middleware.js @@ -0,0 +1,33 @@ +import { HttpResponse } from "@smithy/protocol-http"; +import { parseRfc7231DateTime } from "@smithy/smithy-client"; +export const s3ExpiresMiddleware = (config) => { + return (next, context) => async (args) => { + const result = await next(args); + const { response } = result; + if (HttpResponse.isInstance(response)) { + if (response.headers.expires) { + response.headers.expiresstring = response.headers.expires; + try { + parseRfc7231DateTime(response.headers.expires); + } + catch (e) { + context.logger?.warn(`AWS SDK Warning for ${context.clientName}::${context.commandName} response parsing (${response.headers.expires}): ${e}`); + delete response.headers.expires; + } + } + } + return result; + }; +}; +export const s3ExpiresMiddlewareOptions = { + tags: ["S3"], + name: "s3ExpiresMiddleware", + override: true, + relation: "after", + toMiddleware: "deserializerMiddleware", +}; +export const getS3ExpiresMiddlewarePlugin = (clientConfig) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(s3ExpiresMiddleware(clientConfig), s3ExpiresMiddlewareOptions); + }, +}); diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCache.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCache.js new file mode 100644 index 0000000..2693b25 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCache.js @@ -0,0 +1,39 @@ +export class S3ExpressIdentityCache { + data; + lastPurgeTime = Date.now(); + static EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS = 30_000; + constructor(data = {}) { + this.data = data; + } + get(key) { + const entry = this.data[key]; + if (!entry) { + return; + } + return entry; + } + set(key, entry) { + this.data[key] = entry; + return entry; + } + delete(key) { + delete this.data[key]; + } + async purgeExpired() { + const now = Date.now(); + if (this.lastPurgeTime + S3ExpressIdentityCache.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS > now) { + return; + } + for (const key in this.data) { + const entry = this.data[key]; + if (!entry.isRefreshing) { + const credential = await entry.identity; + if (credential.expiration) { + if (credential.expiration.getTime() < now) { + delete this.data[key]; + } + } + } + } + } +} diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCacheEntry.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCacheEntry.js new file mode 100644 index 0000000..30b284e --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCacheEntry.js @@ -0,0 +1,14 @@ +export class S3ExpressIdentityCacheEntry { + _identity; + isRefreshing; + accessed; + constructor(_identity, isRefreshing = false, accessed = Date.now()) { + this._identity = _identity; + this.isRefreshing = isRefreshing; + this.accessed = accessed; + } + get identity() { + this.accessed = Date.now(); + return this._identity; + } +} diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityProviderImpl.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityProviderImpl.js new file mode 100644 index 0000000..3c70b30 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityProviderImpl.js @@ -0,0 +1,49 @@ +import { S3ExpressIdentityCache } from "./S3ExpressIdentityCache"; +import { S3ExpressIdentityCacheEntry } from "./S3ExpressIdentityCacheEntry"; +export class S3ExpressIdentityProviderImpl { + createSessionFn; + cache; + static REFRESH_WINDOW_MS = 60_000; + constructor(createSessionFn, cache = new S3ExpressIdentityCache()) { + this.createSessionFn = createSessionFn; + this.cache = cache; + } + async getS3ExpressIdentity(awsIdentity, identityProperties) { + const key = identityProperties.Bucket; + const { cache } = this; + const entry = cache.get(key); + if (entry) { + return entry.identity.then((identity) => { + const isExpired = (identity.expiration?.getTime() ?? 0) < Date.now(); + if (isExpired) { + return cache.set(key, new S3ExpressIdentityCacheEntry(this.getIdentity(key))).identity; + } + const isExpiringSoon = (identity.expiration?.getTime() ?? 0) < Date.now() + S3ExpressIdentityProviderImpl.REFRESH_WINDOW_MS; + if (isExpiringSoon && !entry.isRefreshing) { + entry.isRefreshing = true; + this.getIdentity(key).then((id) => { + cache.set(key, new S3ExpressIdentityCacheEntry(Promise.resolve(id))); + }); + } + return identity; + }); + } + return cache.set(key, new S3ExpressIdentityCacheEntry(this.getIdentity(key))).identity; + } + async getIdentity(key) { + await this.cache.purgeExpired().catch((error) => { + console.warn("Error while clearing expired entries in S3ExpressIdentityCache: \n" + error); + }); + const session = await this.createSessionFn(key); + if (!session.Credentials?.AccessKeyId || !session.Credentials?.SecretAccessKey) { + throw new Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey."); + } + const identity = { + accessKeyId: session.Credentials.AccessKeyId, + secretAccessKey: session.Credentials.SecretAccessKey, + sessionToken: session.Credentials.SessionToken, + expiration: session.Credentials.Expiration ? new Date(session.Credentials.Expiration) : undefined, + }; + return identity; + } +} diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/SignatureV4S3Express.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/SignatureV4S3Express.js new file mode 100644 index 0000000..af66190 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/SignatureV4S3Express.js @@ -0,0 +1,41 @@ +import { SignatureV4 } from "@smithy/signature-v4"; +import { SESSION_TOKEN_HEADER, SESSION_TOKEN_QUERY_PARAM } from "../constants"; +export class SignatureV4S3Express extends SignatureV4 { + async signWithCredentials(requestToSign, credentials, options) { + const credentialsWithoutSessionToken = getCredentialsWithoutSessionToken(credentials); + requestToSign.headers[SESSION_TOKEN_HEADER] = credentials.sessionToken; + const privateAccess = this; + setSingleOverride(privateAccess, credentialsWithoutSessionToken); + return privateAccess.signRequest(requestToSign, options ?? {}); + } + async presignWithCredentials(requestToSign, credentials, options) { + const credentialsWithoutSessionToken = getCredentialsWithoutSessionToken(credentials); + delete requestToSign.headers[SESSION_TOKEN_HEADER]; + requestToSign.headers[SESSION_TOKEN_QUERY_PARAM] = credentials.sessionToken; + requestToSign.query = requestToSign.query ?? {}; + requestToSign.query[SESSION_TOKEN_QUERY_PARAM] = credentials.sessionToken; + const privateAccess = this; + setSingleOverride(privateAccess, credentialsWithoutSessionToken); + return this.presign(requestToSign, options); + } +} +function getCredentialsWithoutSessionToken(credentials) { + const credentialsWithoutSessionToken = { + accessKeyId: credentials.accessKeyId, + secretAccessKey: credentials.secretAccessKey, + expiration: credentials.expiration, + }; + return credentialsWithoutSessionToken; +} +function setSingleOverride(privateAccess, credentialsWithoutSessionToken) { + const id = setTimeout(() => { + throw new Error("SignatureV4S3Express credential override was created but not called."); + }, 10); + const currentCredentialProvider = privateAccess.credentialProvider; + const overrideCredentialsProviderOnce = () => { + clearTimeout(id); + privateAccess.credentialProvider = currentCredentialProvider; + return Promise.resolve(credentialsWithoutSessionToken); + }; + privateAccess.credentialProvider = overrideCredentialsProviderOnce; +} diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/constants.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/constants.js new file mode 100644 index 0000000..8ede71e --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/constants.js @@ -0,0 +1,13 @@ +import { booleanSelector, SelectorType } from "@smithy/util-config-provider"; +export const S3_EXPRESS_BUCKET_TYPE = "Directory"; +export const S3_EXPRESS_BACKEND = "S3Express"; +export const S3_EXPRESS_AUTH_SCHEME = "sigv4-s3express"; +export const SESSION_TOKEN_QUERY_PARAM = "X-Amz-S3session-Token"; +export const SESSION_TOKEN_HEADER = SESSION_TOKEN_QUERY_PARAM.toLowerCase(); +export const NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_ENV_NAME = "AWS_S3_DISABLE_EXPRESS_SESSION_AUTH"; +export const NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_INI_NAME = "s3_disable_express_session_auth"; +export const NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS = { + environmentVariableSelector: (env) => booleanSelector(env, NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_ENV_NAME, SelectorType.ENV), + configFileSelector: (profile) => booleanSelector(profile, NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_INI_NAME, SelectorType.CONFIG), + default: false, +}; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressHttpSigningMiddleware.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressHttpSigningMiddleware.js new file mode 100644 index 0000000..dedb24e --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressHttpSigningMiddleware.js @@ -0,0 +1,38 @@ +import { httpSigningMiddlewareOptions } from "@smithy/core"; +import { HttpRequest } from "@smithy/protocol-http"; +import { getSmithyContext } from "@smithy/util-middleware"; +import { signS3Express } from "./signS3Express"; +const defaultErrorHandler = (signingProperties) => (error) => { + throw error; +}; +const defaultSuccessHandler = (httpResponse, signingProperties) => { }; +export const s3ExpressHttpSigningMiddlewareOptions = httpSigningMiddlewareOptions; +export const s3ExpressHttpSigningMiddleware = (config) => (next, context) => async (args) => { + if (!HttpRequest.isInstance(args.request)) { + return next(args); + } + const smithyContext = getSmithyContext(context); + const scheme = smithyContext.selectedHttpAuthScheme; + if (!scheme) { + throw new Error(`No HttpAuthScheme was selected: unable to sign request`); + } + const { httpAuthOption: { signingProperties = {} }, identity, signer, } = scheme; + let request; + if (context.s3ExpressIdentity) { + request = await signS3Express(context.s3ExpressIdentity, signingProperties, args.request, await config.signer()); + } + else { + request = await signer.sign(args.request, identity, signingProperties); + } + const output = await next({ + ...args, + request, + }).catch((signer.errorHandler || defaultErrorHandler)(signingProperties)); + (signer.successHandler || defaultSuccessHandler)(output.response, signingProperties); + return output; +}; +export const getS3ExpressHttpSigningPlugin = (config) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(s3ExpressHttpSigningMiddleware(config), httpSigningMiddlewareOptions); + }, +}); diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressMiddleware.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressMiddleware.js new file mode 100644 index 0000000..ad519fa --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressMiddleware.js @@ -0,0 +1,41 @@ +import { setFeature } from "@aws-sdk/core/client"; +import { HttpRequest } from "@smithy/protocol-http"; +import { S3_EXPRESS_AUTH_SCHEME, S3_EXPRESS_BACKEND, S3_EXPRESS_BUCKET_TYPE, SESSION_TOKEN_HEADER } from "../constants"; +export const s3ExpressMiddleware = (options) => { + return (next, context) => async (args) => { + if (context.endpointV2) { + const endpoint = context.endpointV2; + const isS3ExpressAuth = endpoint.properties?.authSchemes?.[0]?.name === S3_EXPRESS_AUTH_SCHEME; + const isS3ExpressBucket = endpoint.properties?.backend === S3_EXPRESS_BACKEND || + endpoint.properties?.bucketType === S3_EXPRESS_BUCKET_TYPE; + if (isS3ExpressBucket) { + setFeature(context, "S3_EXPRESS_BUCKET", "J"); + context.isS3ExpressBucket = true; + } + if (isS3ExpressAuth) { + const requestBucket = args.input.Bucket; + if (requestBucket) { + const s3ExpressIdentity = await options.s3ExpressIdentityProvider.getS3ExpressIdentity(await options.credentials(), { + Bucket: requestBucket, + }); + context.s3ExpressIdentity = s3ExpressIdentity; + if (HttpRequest.isInstance(args.request) && s3ExpressIdentity.sessionToken) { + args.request.headers[SESSION_TOKEN_HEADER] = s3ExpressIdentity.sessionToken; + } + } + } + } + return next(args); + }; +}; +export const s3ExpressMiddlewareOptions = { + name: "s3ExpressMiddleware", + step: "build", + tags: ["S3", "S3_EXPRESS"], + override: true, +}; +export const getS3ExpressPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(s3ExpressMiddleware(options), s3ExpressMiddlewareOptions); + }, +}); diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/signS3Express.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/signS3Express.js new file mode 100644 index 0000000..b12c9ec --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/signS3Express.js @@ -0,0 +1,7 @@ +export const signS3Express = async (s3ExpressIdentity, signingOptions, request, sigV4MultiRegionSigner) => { + const signedRequest = await sigV4MultiRegionSigner.signWithCredentials(request, s3ExpressIdentity, {}); + if (signedRequest.headers["X-Amz-Security-Token"] || signedRequest.headers["x-amz-security-token"]) { + throw new Error("X-Amz-Security-Token must not be set for s3-express requests."); + } + return signedRequest; +}; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/index.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/index.js new file mode 100644 index 0000000..e6c1da7 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/index.js @@ -0,0 +1,7 @@ +export { S3ExpressIdentityCache } from "./classes/S3ExpressIdentityCache"; +export { S3ExpressIdentityCacheEntry } from "./classes/S3ExpressIdentityCacheEntry"; +export { S3ExpressIdentityProviderImpl } from "./classes/S3ExpressIdentityProviderImpl"; +export { SignatureV4S3Express } from "./classes/SignatureV4S3Express"; +export { NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS } from "./constants"; +export { getS3ExpressPlugin, s3ExpressMiddleware, s3ExpressMiddlewareOptions } from "./functions/s3ExpressMiddleware"; +export { getS3ExpressHttpSigningPlugin, s3ExpressHttpSigningMiddleware, s3ExpressHttpSigningMiddlewareOptions, } from "./functions/s3ExpressHttpSigningMiddleware"; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentity.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentity.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentity.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentityProvider.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentityProvider.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentityProvider.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3Configuration.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3Configuration.js new file mode 100644 index 0000000..50295e2 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3Configuration.js @@ -0,0 +1,17 @@ +import { S3ExpressIdentityProviderImpl } from "./s3-express"; +export const resolveS3Config = (input, { session, }) => { + const [s3ClientProvider, CreateSessionCommandCtor] = session; + const { forcePathStyle, useAccelerateEndpoint, disableMultiregionAccessPoints, followRegionRedirects, s3ExpressIdentityProvider, bucketEndpoint, expectContinueHeader, } = input; + return Object.assign(input, { + forcePathStyle: forcePathStyle ?? false, + useAccelerateEndpoint: useAccelerateEndpoint ?? false, + disableMultiregionAccessPoints: disableMultiregionAccessPoints ?? false, + followRegionRedirects: followRegionRedirects ?? false, + s3ExpressIdentityProvider: s3ExpressIdentityProvider ?? + new S3ExpressIdentityProviderImpl(async (key) => s3ClientProvider().send(new CreateSessionCommandCtor({ + Bucket: key, + }))), + bucketEndpoint: bucketEndpoint ?? false, + expectContinueHeader: expectContinueHeader ?? 2_097_152, + }); +}; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js new file mode 100644 index 0000000..f0f5ca3 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js @@ -0,0 +1,67 @@ +import { HttpResponse } from "@smithy/protocol-http"; +import { headStream, splitStream } from "@smithy/util-stream"; +const THROW_IF_EMPTY_BODY = { + CopyObjectCommand: true, + UploadPartCopyCommand: true, + CompleteMultipartUploadCommand: true, +}; +const MAX_BYTES_TO_INSPECT = 3000; +export const throw200ExceptionsMiddleware = (config) => (next, context) => async (args) => { + const result = await next(args); + const { response } = result; + if (!HttpResponse.isInstance(response)) { + return result; + } + const { statusCode, body: sourceBody } = response; + if (statusCode < 200 || statusCode >= 300) { + return result; + } + const isSplittableStream = typeof sourceBody?.stream === "function" || + typeof sourceBody?.pipe === "function" || + typeof sourceBody?.tee === "function"; + if (!isSplittableStream) { + return result; + } + let bodyCopy = sourceBody; + let body = sourceBody; + if (sourceBody && typeof sourceBody === "object" && !(sourceBody instanceof Uint8Array)) { + [bodyCopy, body] = await splitStream(sourceBody); + } + response.body = body; + const bodyBytes = await collectBody(bodyCopy, { + streamCollector: async (stream) => { + return headStream(stream, MAX_BYTES_TO_INSPECT); + }, + }); + if (typeof bodyCopy?.destroy === "function") { + bodyCopy.destroy(); + } + const bodyStringTail = config.utf8Encoder(bodyBytes.subarray(bodyBytes.length - 16)); + if (bodyBytes.length === 0 && THROW_IF_EMPTY_BODY[context.commandName]) { + const err = new Error("S3 aborted request"); + err.name = "InternalError"; + throw err; + } + if (bodyStringTail && bodyStringTail.endsWith("")) { + response.statusCode = 400; + } + return result; +}; +const collectBody = (streamBody = new Uint8Array(), context) => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } + return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()); +}; +export const throw200ExceptionsMiddlewareOptions = { + relation: "after", + toMiddleware: "deserializerMiddleware", + tags: ["THROW_200_EXCEPTIONS", "S3"], + name: "throw200ExceptionsMiddleware", + override: true, +}; +export const getThrow200ExceptionsPlugin = (config) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(throw200ExceptionsMiddleware(config), throw200ExceptionsMiddlewareOptions); + }, +}); diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/validate-bucket-name.js b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/validate-bucket-name.js new file mode 100644 index 0000000..9636cbe --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/validate-bucket-name.js @@ -0,0 +1,25 @@ +import { validate as validateArn } from "@aws-sdk/util-arn-parser"; +import { bucketEndpointMiddleware, bucketEndpointMiddlewareOptions } from "./bucket-endpoint-middleware"; +export function validateBucketNameMiddleware({ bucketEndpoint }) { + return (next) => async (args) => { + const { input: { Bucket }, } = args; + if (!bucketEndpoint && typeof Bucket === "string" && !validateArn(Bucket) && Bucket.indexOf("/") >= 0) { + const err = new Error(`Bucket name shouldn't contain '/', received '${Bucket}'`); + err.name = "InvalidBucketName"; + throw err; + } + return next({ ...args }); + }; +} +export const validateBucketNameMiddlewareOptions = { + step: "initialize", + tags: ["VALIDATE_BUCKET_NAME"], + name: "validateBucketNameMiddleware", + override: true, +}; +export const getValidateBucketNamePlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(validateBucketNameMiddleware(options), validateBucketNameMiddlewareOptions); + clientStack.addRelativeTo(bucketEndpointMiddleware(options), bucketEndpointMiddlewareOptions); + }, +}); diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/bucket-endpoint-middleware.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/bucket-endpoint-middleware.d.ts new file mode 100644 index 0000000..22d6ab0 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/bucket-endpoint-middleware.d.ts @@ -0,0 +1,13 @@ +import type { RelativeMiddlewareOptions, SerializeMiddleware } from "@smithy/types"; +interface PreviouslyResolved { + bucketEndpoint?: boolean; +} +/** + * @internal + */ +export declare function bucketEndpointMiddleware(options: PreviouslyResolved): SerializeMiddleware; +/** + * @internal + */ +export declare const bucketEndpointMiddlewareOptions: RelativeMiddlewareOptions; +export {}; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/check-content-length-header.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/check-content-length-header.d.ts new file mode 100644 index 0000000..9cd37a4 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/check-content-length-header.d.ts @@ -0,0 +1,16 @@ +import type { FinalizeRequestHandlerOptions, FinalizeRequestMiddleware, Pluggable } from "@smithy/types"; +/** + * @internal + * + * Log a warning if the input to PutObject is detected to be a Stream of unknown ContentLength and + * recommend the usage of the @aws-sdk/lib-storage Upload class. + */ +export declare function checkContentLengthHeader(): FinalizeRequestMiddleware; +/** + * @internal + */ +export declare const checkContentLengthHeaderMiddlewareOptions: FinalizeRequestHandlerOptions; +/** + * @internal + */ +export declare const getCheckContentLengthHeaderPlugin: (unused: any) => Pluggable; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/index.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/index.d.ts new file mode 100644 index 0000000..129fc2a --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/index.d.ts @@ -0,0 +1,9 @@ +export * from "./check-content-length-header"; +export * from "./region-redirect-endpoint-middleware"; +export * from "./region-redirect-middleware"; +export * from "./s3-expires-middleware"; +export * from "./s3-express/index"; +export * from "./s3Configuration"; +export * from "./throw-200-exceptions"; +export * from "./validate-bucket-name"; +export { S3RestXmlProtocol } from "./protocol/S3RestXmlProtocol"; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/protocol/S3RestXmlProtocol.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/protocol/S3RestXmlProtocol.d.ts new file mode 100644 index 0000000..4fbdcc9 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/protocol/S3RestXmlProtocol.d.ts @@ -0,0 +1,20 @@ +import { AwsRestXmlProtocol } from "@aws-sdk/core/protocols"; +import type { EndpointBearer, HandlerExecutionContext, HttpRequest, OperationSchema, SerdeFunctions } from "@smithy/types"; +/** + * Customization for S3 backwards compatibility. + * + * In the S3 model, Bucket is considered an HTTP label, and we normally perform http label client + * side validation. However, the standard validation is that the http label appears in + * the request path. Bucket is unique in that it is an endpoint context param. It appears + * where the endpoint resolver decides, rather than in the URL path (although sometimes it does appear there). + * + * For consistency with older code generated clients, we throw the HTTP label validation + * error when the Bucket input is missing, if-and-only-if it is an httpLabel and is a required top level member. + * + * This does not apply to S3 Control. + * + * @internal + */ +export declare class S3RestXmlProtocol extends AwsRestXmlProtocol { + serializeRequest(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise; +} diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/region-redirect-endpoint-middleware.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/region-redirect-endpoint-middleware.d.ts new file mode 100644 index 0000000..6c94b8f --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/region-redirect-endpoint-middleware.d.ts @@ -0,0 +1,10 @@ +import type { RelativeMiddlewareOptions, SerializeMiddleware } from "@smithy/types"; +import type { PreviouslyResolved } from "./region-redirect-middleware"; +/** + * @internal + */ +export declare const regionRedirectEndpointMiddleware: (config: PreviouslyResolved) => SerializeMiddleware; +/** + * @internal + */ +export declare const regionRedirectEndpointMiddlewareOptions: RelativeMiddlewareOptions; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/region-redirect-middleware.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/region-redirect-middleware.d.ts new file mode 100644 index 0000000..c96efaa --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/region-redirect-middleware.d.ts @@ -0,0 +1,20 @@ +import type { InitializeHandlerOptions, InitializeMiddleware, Pluggable, Provider } from "@smithy/types"; +/** + * @internal + */ +export interface PreviouslyResolved { + region: Provider; + followRegionRedirects: boolean; +} +/** + * @internal + */ +export declare function regionRedirectMiddleware(clientConfig: PreviouslyResolved): InitializeMiddleware; +/** + * @internal + */ +export declare const regionRedirectMiddlewareOptions: InitializeHandlerOptions; +/** + * @internal + */ +export declare const getRegionRedirectMiddlewarePlugin: (clientConfig: PreviouslyResolved) => Pluggable; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-expires-middleware.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-expires-middleware.d.ts new file mode 100644 index 0000000..48e204a --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-expires-middleware.d.ts @@ -0,0 +1,26 @@ +import type { DeserializeMiddleware, Pluggable, RelativeMiddlewareOptions } from "@smithy/types"; +/** + * @internal + */ +interface PreviouslyResolved { +} +/** + * @internal + * + * From the S3 Expires compatibility spec. + * A model transform will ensure S3#Expires remains a timestamp shape, though + * it is deprecated. + * If a particular object has a non-date string set as the Expires value, + * the SDK will have the raw string as "ExpiresString" on the response. + * + */ +export declare const s3ExpiresMiddleware: (config: PreviouslyResolved) => DeserializeMiddleware; +/** + * @internal + */ +export declare const s3ExpiresMiddlewareOptions: RelativeMiddlewareOptions; +/** + * @internal + */ +export declare const getS3ExpiresMiddlewarePlugin: (clientConfig: PreviouslyResolved) => Pluggable; +export {}; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityCache.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityCache.d.ts new file mode 100644 index 0000000..7193036 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityCache.d.ts @@ -0,0 +1,16 @@ +import type { S3ExpressIdentityCacheEntry } from "./S3ExpressIdentityCacheEntry"; +/** + * @internal + * + * Stores identities by key. + */ +export declare class S3ExpressIdentityCache { + private data; + private lastPurgeTime; + static EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS: number; + constructor(data?: Record); + get(key: string): undefined | S3ExpressIdentityCacheEntry; + set(key: string, entry: S3ExpressIdentityCacheEntry): S3ExpressIdentityCacheEntry; + delete(key: string): void; + purgeExpired(): Promise; +} diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityCacheEntry.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityCacheEntry.d.ts new file mode 100644 index 0000000..2d8290d --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityCacheEntry.d.ts @@ -0,0 +1,16 @@ +import type { S3ExpressIdentity } from "../interfaces/S3ExpressIdentity"; +/** + * @internal + */ +export declare class S3ExpressIdentityCacheEntry { + private _identity; + isRefreshing: boolean; + accessed: number; + /** + * @param identity - stored identity. + * @param accessed - timestamp of last access in epoch ms. + * @param isRefreshing - this key is currently in the process of being refreshed (background). + */ + constructor(_identity: Promise, isRefreshing?: boolean, accessed?: number); + get identity(): Promise; +} diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityProviderImpl.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityProviderImpl.d.ts new file mode 100644 index 0000000..f20cf59 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityProviderImpl.d.ts @@ -0,0 +1,32 @@ +import type { AwsCredentialIdentity } from "@aws-sdk/types"; +import type { S3ExpressIdentity } from "../interfaces/S3ExpressIdentity"; +import type { S3ExpressIdentityProvider } from "../interfaces/S3ExpressIdentityProvider"; +import { S3ExpressIdentityCache } from "./S3ExpressIdentityCache"; +/** + * @internal + * + * This should match S3::CreateSessionCommandOutput::SessionCredentials + * but it is not imported since that would create a circular dependency. + */ +type Credentials = { + AccessKeyId: string | undefined; + SecretAccessKey: string | undefined; + SessionToken: string | undefined; + Expiration: Date | undefined; +}; +/** + * @internal + */ +export declare class S3ExpressIdentityProviderImpl implements S3ExpressIdentityProvider { + private createSessionFn; + private cache; + static REFRESH_WINDOW_MS: number; + constructor(createSessionFn: (key: string) => Promise<{ + Credentials: Credentials; + }>, cache?: S3ExpressIdentityCache); + getS3ExpressIdentity(awsIdentity: AwsCredentialIdentity, identityProperties: { + Bucket: string; + } & Record): Promise; + private getIdentity; +} +export {}; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/SignatureV4S3Express.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/SignatureV4S3Express.d.ts new file mode 100644 index 0000000..841c111 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/SignatureV4S3Express.d.ts @@ -0,0 +1,17 @@ +import type { AwsCredentialIdentity } from "@aws-sdk/types"; +import { SignatureV4 } from "@smithy/signature-v4"; +import type { HttpRequest as IHttpRequest, RequestPresigningArguments, RequestSigningArguments } from "@smithy/types"; +export declare class SignatureV4S3Express extends SignatureV4 { + /** + * Signs with alternate provided credentials instead of those provided in the + * constructor. + * + * Additionally omits the credential sessionToken and assigns it to the + * alternate header field for S3 Express. + */ + signWithCredentials(requestToSign: IHttpRequest, credentials: AwsCredentialIdentity, options?: RequestSigningArguments): Promise; + /** + * Similar to {@link SignatureV4S3Express#signWithCredentials} but for presigning. + */ + presignWithCredentials(requestToSign: IHttpRequest, credentials: AwsCredentialIdentity, options?: RequestPresigningArguments): Promise; +} diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/constants.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/constants.d.ts new file mode 100644 index 0000000..328e504 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/constants.d.ts @@ -0,0 +1,37 @@ +import type { LoadedConfigSelectors } from "@smithy/node-config-provider"; +/** + * @internal + * + * @deprecated will be replaced by backend. + * + * TODO(s3-express): non-beta value, backend == S3Express. + */ +export declare const S3_EXPRESS_BUCKET_TYPE = "Directory"; +/** + * @internal + */ +export declare const S3_EXPRESS_BACKEND = "S3Express"; +/** + * @internal + */ +export declare const S3_EXPRESS_AUTH_SCHEME = "sigv4-s3express"; +/** + * @internal + */ +export declare const SESSION_TOKEN_QUERY_PARAM = "X-Amz-S3session-Token"; +/** + * @internal + */ +export declare const SESSION_TOKEN_HEADER: string; +/** + * @internal + */ +export declare const NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_ENV_NAME = "AWS_S3_DISABLE_EXPRESS_SESSION_AUTH"; +/** + * @internal + */ +export declare const NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_INI_NAME = "s3_disable_express_session_auth"; +/** + * @internal + */ +export declare const NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts new file mode 100644 index 0000000..ca9b364 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts @@ -0,0 +1,27 @@ +import type { IHttpRequest } from "@smithy/protocol-http"; +import type { AuthScheme, AwsCredentialIdentity, FinalizeRequestMiddleware, Pluggable, RequestSigner } from "@smithy/types"; +interface SigningProperties { + signingRegion: string; + signingDate: Date; + signingService: string; +} +interface PreviouslyResolved { + signer: (authScheme?: AuthScheme | undefined) => Promise): Promise; + }>; +} +/** + * @internal + */ +export declare const s3ExpressHttpSigningMiddlewareOptions: import("@smithy/types").FinalizeRequestHandlerOptions & import("@smithy/types").RelativeLocation & Omit; +/** + * @internal + */ +export declare const s3ExpressHttpSigningMiddleware: (config: PreviouslyResolved) => FinalizeRequestMiddleware; +/** + * @internal + */ +export declare const getS3ExpressHttpSigningPlugin: (config: { + signer: (authScheme?: AuthScheme | undefined) => Promise; +}) => Pluggable; +export {}; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3ExpressMiddleware.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3ExpressMiddleware.d.ts new file mode 100644 index 0000000..40b56bb --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3ExpressMiddleware.d.ts @@ -0,0 +1,32 @@ +import type { AwsCredentialIdentity } from "@aws-sdk/types"; +import type { BuildHandlerOptions, BuildMiddleware, Logger, MemoizedProvider, Pluggable } from "@smithy/types"; +import type { S3ExpressIdentity } from "../interfaces/S3ExpressIdentity"; +import type { S3ExpressIdentityProvider } from "../interfaces/S3ExpressIdentityProvider"; +declare module "@smithy/types" { + interface HandlerExecutionContext { + /** + * Reserved key, only when using S3. + */ + s3ExpressIdentity?: S3ExpressIdentity; + } +} +/** + * @internal + */ +export interface S3ExpressResolvedConfig { + logger?: Logger; + s3ExpressIdentityProvider: S3ExpressIdentityProvider; + credentials: MemoizedProvider; +} +/** + * @internal + */ +export declare const s3ExpressMiddleware: (options: S3ExpressResolvedConfig) => BuildMiddleware; +/** + * @internal + */ +export declare const s3ExpressMiddlewareOptions: BuildHandlerOptions; +/** + * @internal + */ +export declare const getS3ExpressPlugin: (options: S3ExpressResolvedConfig) => Pluggable; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/signS3Express.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/signS3Express.d.ts new file mode 100644 index 0000000..0233086 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/signS3Express.d.ts @@ -0,0 +1,9 @@ +import type { AwsCredentialIdentity, HttpRequest as IHttpRequest } from "@smithy/types"; +import type { S3ExpressIdentity } from "../interfaces/S3ExpressIdentity"; +export declare const signS3Express: (s3ExpressIdentity: S3ExpressIdentity, signingOptions: { + signingDate: Date; + signingRegion: string; + signingService: string; +}, request: IHttpRequest, sigV4MultiRegionSigner: { + signWithCredentials(req: IHttpRequest, identity: AwsCredentialIdentity, opts?: Partial): Promise; +}) => Promise; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/index.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/index.d.ts new file mode 100644 index 0000000..a8a239a --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/index.d.ts @@ -0,0 +1,9 @@ +export { S3ExpressIdentityCache } from "./classes/S3ExpressIdentityCache"; +export { S3ExpressIdentityCacheEntry } from "./classes/S3ExpressIdentityCacheEntry"; +export { S3ExpressIdentityProviderImpl } from "./classes/S3ExpressIdentityProviderImpl"; +export { SignatureV4S3Express } from "./classes/SignatureV4S3Express"; +export { NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS } from "./constants"; +export { getS3ExpressPlugin, s3ExpressMiddleware, s3ExpressMiddlewareOptions } from "./functions/s3ExpressMiddleware"; +export { getS3ExpressHttpSigningPlugin, s3ExpressHttpSigningMiddleware, s3ExpressHttpSigningMiddlewareOptions, } from "./functions/s3ExpressHttpSigningMiddleware"; +export { S3ExpressIdentity } from "./interfaces/S3ExpressIdentity"; +export { S3ExpressIdentityProvider } from "./interfaces/S3ExpressIdentityProvider"; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/interfaces/S3ExpressIdentity.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/interfaces/S3ExpressIdentity.d.ts new file mode 100644 index 0000000..0dcbdb4 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/interfaces/S3ExpressIdentity.d.ts @@ -0,0 +1,6 @@ +import type { AwsCredentialIdentity } from "@aws-sdk/types"; +/** + * @public + */ +export interface S3ExpressIdentity extends AwsCredentialIdentity { +} diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/interfaces/S3ExpressIdentityProvider.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/interfaces/S3ExpressIdentityProvider.d.ts new file mode 100644 index 0000000..688f025 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/interfaces/S3ExpressIdentityProvider.d.ts @@ -0,0 +1,12 @@ +import type { AwsCredentialIdentity } from "@aws-sdk/types"; +import type { S3ExpressIdentity } from "./S3ExpressIdentity"; +/** + * @public + */ +export interface S3ExpressIdentityProvider { + /** + * @param awsIdentity - pre-existing credentials. + * @param identityProperties - unknown. + */ + getS3ExpressIdentity(awsIdentity: AwsCredentialIdentity, identityProperties: Record): Promise; +} diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3Configuration.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3Configuration.d.ts new file mode 100644 index 0000000..7e1ffd2 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3Configuration.d.ts @@ -0,0 +1,79 @@ +import type { Client, Command } from "@smithy/types"; +import type { S3ExpressIdentityProvider } from "./s3-express"; +/** + * All endpoint parameters with built-in bindings of AWS::S3::* + * @public + */ +export interface S3InputConfig { + /** + * Whether to force path style URLs for S3 objects + * (e.g., https://s3.amazonaws.com// instead of https://.s3.amazonaws.com/ + */ + forcePathStyle?: boolean; + /** + * Whether to use the S3 Transfer Acceleration endpoint by default + */ + useAccelerateEndpoint?: boolean; + /** + * Whether multi-region access points (MRAP) should be disabled. + */ + disableMultiregionAccessPoints?: boolean; + /** + * This feature was previously called the S3 Global Client. + * This can result in additional latency as failed requests are retried + * with a corrected region when receiving a permanent redirect error with status 301. + * This feature should only be used as a last resort if you do not know the region of your bucket(s) ahead of time. + */ + followRegionRedirects?: boolean; + /** + * Identity provider for an S3 feature. + */ + s3ExpressIdentityProvider?: S3ExpressIdentityProvider; + /** + * Whether to use the bucket name as the endpoint for this client. + */ + bucketEndpoint?: boolean; + /** + * This field configures the SDK's behavior around setting the `expect: 100-continue` header. + * + * Default: 2_097_152 (2 MB) + * + * When given as a boolean - always send or omit the header. + * When given as a number - minimum byte threshold of the payload before setting the header. + * Unmeasurable payload sizes (streams) will set the header too. + * + * The `expect: 100-continue` header is used to allow the server a chance to validate the PUT request + * headers before the client begins to send the object payload. This avoids wasteful data transmission for a + * request that is rejected. + * + * However, there is a trade-off where the request will take longer to complete. + */ + expectContinueHeader?: boolean | number; +} +/** + * This is a placeholder for the actual + * S3Client type from \@aws-sdk/client-s3. It is not explicitly + * imported to avoid a circular dependency. + * @internal + */ +type PlaceholderS3Client = Client & any; +/** + * Placeholder for the constructor for CreateSessionCommand. + * @internal + */ +type PlaceholderCreateSessionCommandCtor = { + new (args: any): Command; +}; +export interface S3ResolvedConfig { + forcePathStyle: boolean; + useAccelerateEndpoint: boolean; + disableMultiregionAccessPoints: boolean; + followRegionRedirects: boolean; + s3ExpressIdentityProvider: S3ExpressIdentityProvider; + bucketEndpoint: boolean; + expectContinueHeader: boolean | number; +} +export declare const resolveS3Config: (input: T & S3InputConfig, { session, }: { + session: [() => PlaceholderS3Client, PlaceholderCreateSessionCommandCtor]; +}) => T & S3ResolvedConfig; +export {}; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/throw-200-exceptions.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/throw-200-exceptions.d.ts new file mode 100644 index 0000000..ed9a48d --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/throw-200-exceptions.d.ts @@ -0,0 +1,20 @@ +import type { DeserializeMiddleware, Encoder, Pluggable, RelativeMiddlewareOptions } from "@smithy/types"; +type PreviouslyResolved = { + utf8Encoder: Encoder; +}; +/** + * In case of an internal error/terminated connection, S3 operations may return 200 errors. CopyObject, UploadPartCopy, + * CompleteMultipartUpload may return empty payload or payload with only xml Preamble. + * @internal + */ +export declare const throw200ExceptionsMiddleware: (config: PreviouslyResolved) => DeserializeMiddleware; +/** + * @internal + */ +export declare const throw200ExceptionsMiddlewareOptions: RelativeMiddlewareOptions; +/** + * + * @internal + */ +export declare const getThrow200ExceptionsPlugin: (config: PreviouslyResolved) => Pluggable; +export {}; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/bucket-endpoint-middleware.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/bucket-endpoint-middleware.d.ts new file mode 100644 index 0000000..1b4e2a6 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/bucket-endpoint-middleware.d.ts @@ -0,0 +1,9 @@ +import { RelativeMiddlewareOptions, SerializeMiddleware } from "@smithy/types"; +interface PreviouslyResolved { + bucketEndpoint?: boolean; +} +export declare function bucketEndpointMiddleware( + options: PreviouslyResolved +): SerializeMiddleware; +export declare const bucketEndpointMiddlewareOptions: RelativeMiddlewareOptions; +export {}; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/check-content-length-header.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/check-content-length-header.d.ts new file mode 100644 index 0000000..09db7f0 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/check-content-length-header.d.ts @@ -0,0 +1,13 @@ +import { + FinalizeRequestHandlerOptions, + FinalizeRequestMiddleware, + Pluggable, +} from "@smithy/types"; +export declare function checkContentLengthHeader(): FinalizeRequestMiddleware< + any, + any +>; +export declare const checkContentLengthHeaderMiddlewareOptions: FinalizeRequestHandlerOptions; +export declare const getCheckContentLengthHeaderPlugin: ( + unused: any +) => Pluggable; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..129fc2a --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/index.d.ts @@ -0,0 +1,9 @@ +export * from "./check-content-length-header"; +export * from "./region-redirect-endpoint-middleware"; +export * from "./region-redirect-middleware"; +export * from "./s3-expires-middleware"; +export * from "./s3-express/index"; +export * from "./s3Configuration"; +export * from "./throw-200-exceptions"; +export * from "./validate-bucket-name"; +export { S3RestXmlProtocol } from "./protocol/S3RestXmlProtocol"; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/protocol/S3RestXmlProtocol.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/protocol/S3RestXmlProtocol.d.ts new file mode 100644 index 0000000..fe78dd4 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/protocol/S3RestXmlProtocol.d.ts @@ -0,0 +1,15 @@ +import { AwsRestXmlProtocol } from "@aws-sdk/core/protocols"; +import { + EndpointBearer, + HandlerExecutionContext, + HttpRequest, + OperationSchema, + SerdeFunctions, +} from "@smithy/types"; +export declare class S3RestXmlProtocol extends AwsRestXmlProtocol { + serializeRequest( + operationSchema: OperationSchema, + input: Input, + context: HandlerExecutionContext & SerdeFunctions & EndpointBearer + ): Promise; +} diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/region-redirect-endpoint-middleware.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/region-redirect-endpoint-middleware.d.ts new file mode 100644 index 0000000..bbe5b12 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/region-redirect-endpoint-middleware.d.ts @@ -0,0 +1,6 @@ +import { RelativeMiddlewareOptions, SerializeMiddleware } from "@smithy/types"; +import { PreviouslyResolved } from "./region-redirect-middleware"; +export declare const regionRedirectEndpointMiddleware: ( + config: PreviouslyResolved +) => SerializeMiddleware; +export declare const regionRedirectEndpointMiddlewareOptions: RelativeMiddlewareOptions; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/region-redirect-middleware.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/region-redirect-middleware.d.ts new file mode 100644 index 0000000..7be451a --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/region-redirect-middleware.d.ts @@ -0,0 +1,17 @@ +import { + InitializeHandlerOptions, + InitializeMiddleware, + Pluggable, + Provider, +} from "@smithy/types"; +export interface PreviouslyResolved { + region: Provider; + followRegionRedirects: boolean; +} +export declare function regionRedirectMiddleware( + clientConfig: PreviouslyResolved +): InitializeMiddleware; +export declare const regionRedirectMiddlewareOptions: InitializeHandlerOptions; +export declare const getRegionRedirectMiddlewarePlugin: ( + clientConfig: PreviouslyResolved +) => Pluggable; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-expires-middleware.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-expires-middleware.d.ts new file mode 100644 index 0000000..652274f --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-expires-middleware.d.ts @@ -0,0 +1,14 @@ +import { + DeserializeMiddleware, + Pluggable, + RelativeMiddlewareOptions, +} from "@smithy/types"; +interface PreviouslyResolved {} +export declare const s3ExpiresMiddleware: ( + config: PreviouslyResolved +) => DeserializeMiddleware; +export declare const s3ExpiresMiddlewareOptions: RelativeMiddlewareOptions; +export declare const getS3ExpiresMiddlewarePlugin: ( + clientConfig: PreviouslyResolved +) => Pluggable; +export {}; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityCache.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityCache.d.ts new file mode 100644 index 0000000..7fc0c0e --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityCache.d.ts @@ -0,0 +1,14 @@ +import { S3ExpressIdentityCacheEntry } from "./S3ExpressIdentityCacheEntry"; +export declare class S3ExpressIdentityCache { + private data; + private lastPurgeTime; + static EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS: number; + constructor(data?: Record); + get(key: string): undefined | S3ExpressIdentityCacheEntry; + set( + key: string, + entry: S3ExpressIdentityCacheEntry + ): S3ExpressIdentityCacheEntry; + delete(key: string): void; + purgeExpired(): Promise; +} diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityCacheEntry.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityCacheEntry.d.ts new file mode 100644 index 0000000..5c0ed4c --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityCacheEntry.d.ts @@ -0,0 +1,12 @@ +import { S3ExpressIdentity } from "../interfaces/S3ExpressIdentity"; +export declare class S3ExpressIdentityCacheEntry { + private _identity; + isRefreshing: boolean; + accessed: number; + constructor( + _identity: Promise, + isRefreshing?: boolean, + accessed?: number + ); + readonly identity: Promise; +} diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityProviderImpl.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityProviderImpl.d.ts new file mode 100644 index 0000000..3ee33c3 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityProviderImpl.d.ts @@ -0,0 +1,31 @@ +import { AwsCredentialIdentity } from "@aws-sdk/types"; +import { S3ExpressIdentity } from "../interfaces/S3ExpressIdentity"; +import { S3ExpressIdentityProvider } from "../interfaces/S3ExpressIdentityProvider"; +import { S3ExpressIdentityCache } from "./S3ExpressIdentityCache"; +type Credentials = { + AccessKeyId: string | undefined; + SecretAccessKey: string | undefined; + SessionToken: string | undefined; + Expiration: Date | undefined; +}; +export declare class S3ExpressIdentityProviderImpl + implements S3ExpressIdentityProvider +{ + private createSessionFn; + private cache; + static REFRESH_WINDOW_MS: number; + constructor( + createSessionFn: (key: string) => Promise<{ + Credentials: Credentials; + }>, + cache?: S3ExpressIdentityCache + ); + getS3ExpressIdentity( + awsIdentity: AwsCredentialIdentity, + identityProperties: { + Bucket: string; + } & Record + ): Promise; + private getIdentity; +} +export {}; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/SignatureV4S3Express.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/SignatureV4S3Express.d.ts new file mode 100644 index 0000000..effd0eb --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/SignatureV4S3Express.d.ts @@ -0,0 +1,19 @@ +import { AwsCredentialIdentity } from "@aws-sdk/types"; +import { SignatureV4 } from "@smithy/signature-v4"; +import { + HttpRequest as IHttpRequest, + RequestPresigningArguments, + RequestSigningArguments, +} from "@smithy/types"; +export declare class SignatureV4S3Express extends SignatureV4 { + signWithCredentials( + requestToSign: IHttpRequest, + credentials: AwsCredentialIdentity, + options?: RequestSigningArguments + ): Promise; + presignWithCredentials( + requestToSign: IHttpRequest, + credentials: AwsCredentialIdentity, + options?: RequestPresigningArguments + ): Promise; +} diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/constants.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/constants.d.ts new file mode 100644 index 0000000..58629b1 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/constants.d.ts @@ -0,0 +1,11 @@ +import { LoadedConfigSelectors } from "@smithy/node-config-provider"; +export declare const S3_EXPRESS_BUCKET_TYPE = "Directory"; +export declare const S3_EXPRESS_BACKEND = "S3Express"; +export declare const S3_EXPRESS_AUTH_SCHEME = "sigv4-s3express"; +export declare const SESSION_TOKEN_QUERY_PARAM = "X-Amz-S3session-Token"; +export declare const SESSION_TOKEN_HEADER: string; +export declare const NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_ENV_NAME = + "AWS_S3_DISABLE_EXPRESS_SESSION_AUTH"; +export declare const NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_INI_NAME = + "s3_disable_express_session_auth"; +export declare const NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts new file mode 100644 index 0000000..269ad83 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts @@ -0,0 +1,40 @@ +import { IHttpRequest } from "@smithy/protocol-http"; +import { + AuthScheme, + AwsCredentialIdentity, + FinalizeRequestMiddleware, + Pluggable, + RequestSigner, +} from "@smithy/types"; +interface SigningProperties { + signingRegion: string; + signingDate: Date; + signingService: string; +} +interface PreviouslyResolved { + signer: (authScheme?: AuthScheme | undefined) => Promise< + RequestSigner & { + signWithCredentials( + req: IHttpRequest, + identity: AwsCredentialIdentity, + opts?: Partial + ): Promise; + } + >; +} +export declare const s3ExpressHttpSigningMiddlewareOptions: import("@smithy/types").FinalizeRequestHandlerOptions & + import("@smithy/types").RelativeLocation & + Pick< + import("@smithy/types").HandlerOptions, + Exclude + >; +export declare const s3ExpressHttpSigningMiddleware: < + Input extends object, + Output extends object +>( + config: PreviouslyResolved +) => FinalizeRequestMiddleware; +export declare const getS3ExpressHttpSigningPlugin: (config: { + signer: (authScheme?: AuthScheme | undefined) => Promise; +}) => Pluggable; +export {}; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/s3ExpressMiddleware.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/s3ExpressMiddleware.d.ts new file mode 100644 index 0000000..a85634e --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/s3ExpressMiddleware.d.ts @@ -0,0 +1,27 @@ +import { AwsCredentialIdentity } from "@aws-sdk/types"; +import { + BuildHandlerOptions, + BuildMiddleware, + Logger, + MemoizedProvider, + Pluggable, +} from "@smithy/types"; +import { S3ExpressIdentity } from "../interfaces/S3ExpressIdentity"; +import { S3ExpressIdentityProvider } from "../interfaces/S3ExpressIdentityProvider"; +declare module "@smithy/types" { + interface HandlerExecutionContext { + s3ExpressIdentity?: S3ExpressIdentity; + } +} +export interface S3ExpressResolvedConfig { + logger?: Logger; + s3ExpressIdentityProvider: S3ExpressIdentityProvider; + credentials: MemoizedProvider; +} +export declare const s3ExpressMiddleware: ( + options: S3ExpressResolvedConfig +) => BuildMiddleware; +export declare const s3ExpressMiddlewareOptions: BuildHandlerOptions; +export declare const getS3ExpressPlugin: ( + options: S3ExpressResolvedConfig +) => Pluggable; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/signS3Express.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/signS3Express.d.ts new file mode 100644 index 0000000..95921d2 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/signS3Express.d.ts @@ -0,0 +1,21 @@ +import { + AwsCredentialIdentity, + HttpRequest as IHttpRequest, +} from "@smithy/types"; +import { S3ExpressIdentity } from "../interfaces/S3ExpressIdentity"; +export declare const signS3Express: ( + s3ExpressIdentity: S3ExpressIdentity, + signingOptions: { + signingDate: Date; + signingRegion: string; + signingService: string; + }, + request: IHttpRequest, + sigV4MultiRegionSigner: { + signWithCredentials( + req: IHttpRequest, + identity: AwsCredentialIdentity, + opts?: Partial + ): Promise; + } +) => Promise; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/index.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/index.d.ts new file mode 100644 index 0000000..4051937 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/index.d.ts @@ -0,0 +1,17 @@ +export { S3ExpressIdentityCache } from "./classes/S3ExpressIdentityCache"; +export { S3ExpressIdentityCacheEntry } from "./classes/S3ExpressIdentityCacheEntry"; +export { S3ExpressIdentityProviderImpl } from "./classes/S3ExpressIdentityProviderImpl"; +export { SignatureV4S3Express } from "./classes/SignatureV4S3Express"; +export { NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS } from "./constants"; +export { + getS3ExpressPlugin, + s3ExpressMiddleware, + s3ExpressMiddlewareOptions, +} from "./functions/s3ExpressMiddleware"; +export { + getS3ExpressHttpSigningPlugin, + s3ExpressHttpSigningMiddleware, + s3ExpressHttpSigningMiddlewareOptions, +} from "./functions/s3ExpressHttpSigningMiddleware"; +export { S3ExpressIdentity } from "./interfaces/S3ExpressIdentity"; +export { S3ExpressIdentityProvider } from "./interfaces/S3ExpressIdentityProvider"; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/interfaces/S3ExpressIdentity.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/interfaces/S3ExpressIdentity.d.ts new file mode 100644 index 0000000..2ee15c9 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/interfaces/S3ExpressIdentity.d.ts @@ -0,0 +1,2 @@ +import { AwsCredentialIdentity } from "@aws-sdk/types"; +export interface S3ExpressIdentity extends AwsCredentialIdentity {} diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/interfaces/S3ExpressIdentityProvider.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/interfaces/S3ExpressIdentityProvider.d.ts new file mode 100644 index 0000000..2c1d36c --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/interfaces/S3ExpressIdentityProvider.d.ts @@ -0,0 +1,8 @@ +import { AwsCredentialIdentity } from "@aws-sdk/types"; +import { S3ExpressIdentity } from "./S3ExpressIdentity"; +export interface S3ExpressIdentityProvider { + getS3ExpressIdentity( + awsIdentity: AwsCredentialIdentity, + identityProperties: Record + ): Promise; +} diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3Configuration.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3Configuration.d.ts new file mode 100644 index 0000000..cbb2466 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3Configuration.d.ts @@ -0,0 +1,33 @@ +import { Client, Command } from "@smithy/types"; +import { S3ExpressIdentityProvider } from "./s3-express"; +export interface S3InputConfig { + forcePathStyle?: boolean; + useAccelerateEndpoint?: boolean; + disableMultiregionAccessPoints?: boolean; + followRegionRedirects?: boolean; + s3ExpressIdentityProvider?: S3ExpressIdentityProvider; + bucketEndpoint?: boolean; + expectContinueHeader?: boolean | number; +} +type PlaceholderS3Client = Client & any; +type PlaceholderCreateSessionCommandCtor = { + new (args: any): Command; +}; +export interface S3ResolvedConfig { + forcePathStyle: boolean; + useAccelerateEndpoint: boolean; + disableMultiregionAccessPoints: boolean; + followRegionRedirects: boolean; + s3ExpressIdentityProvider: S3ExpressIdentityProvider; + bucketEndpoint: boolean; + expectContinueHeader: boolean | number; +} +export declare const resolveS3Config: ( + input: T & S3InputConfig, + { + session, + }: { + session: [() => PlaceholderS3Client, PlaceholderCreateSessionCommandCtor]; + } +) => T & S3ResolvedConfig; +export {}; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/throw-200-exceptions.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/throw-200-exceptions.d.ts new file mode 100644 index 0000000..413b96a --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/throw-200-exceptions.d.ts @@ -0,0 +1,17 @@ +import { + DeserializeMiddleware, + Encoder, + Pluggable, + RelativeMiddlewareOptions, +} from "@smithy/types"; +type PreviouslyResolved = { + utf8Encoder: Encoder; +}; +export declare const throw200ExceptionsMiddleware: ( + config: PreviouslyResolved +) => DeserializeMiddleware; +export declare const throw200ExceptionsMiddlewareOptions: RelativeMiddlewareOptions; +export declare const getThrow200ExceptionsPlugin: ( + config: PreviouslyResolved +) => Pluggable; +export {}; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/validate-bucket-name.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/validate-bucket-name.d.ts new file mode 100644 index 0000000..1775731 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/validate-bucket-name.d.ts @@ -0,0 +1,13 @@ +import { + InitializeHandlerOptions, + InitializeMiddleware, + Pluggable, +} from "@smithy/types"; +import { S3ResolvedConfig } from "./s3Configuration"; +export declare function validateBucketNameMiddleware({ + bucketEndpoint, +}: S3ResolvedConfig): InitializeMiddleware; +export declare const validateBucketNameMiddlewareOptions: InitializeHandlerOptions; +export declare const getValidateBucketNamePlugin: ( + options: S3ResolvedConfig +) => Pluggable; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/validate-bucket-name.d.ts b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/validate-bucket-name.d.ts new file mode 100644 index 0000000..01311f5 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/validate-bucket-name.d.ts @@ -0,0 +1,14 @@ +import type { InitializeHandlerOptions, InitializeMiddleware, Pluggable } from "@smithy/types"; +import type { S3ResolvedConfig } from "./s3Configuration"; +/** + * @internal + */ +export declare function validateBucketNameMiddleware({ bucketEndpoint }: S3ResolvedConfig): InitializeMiddleware; +/** + * @internal + */ +export declare const validateBucketNameMiddlewareOptions: InitializeHandlerOptions; +/** + * @internal + */ +export declare const getValidateBucketNamePlugin: (options: S3ResolvedConfig) => Pluggable; diff --git a/node_modules/@aws-sdk/middleware-sdk-s3/package.json b/node_modules/@aws-sdk/middleware-sdk-s3/package.json new file mode 100644 index 0000000..f2ea063 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-sdk-s3/package.json @@ -0,0 +1,72 @@ +{ + "name": "@aws-sdk/middleware-sdk-s3", + "version": "3.972.27", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline middleware-sdk-s3", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:types": "tsc -p tsconfig.test.json", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts && yarn test:types", + "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts --mode development", + "extract:docs": "api-extractor run --local", + "test:watch": "yarn g:vitest watch", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts", + "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/util-arn-parser": "^3.972.3", + "@smithy/core": "^3.23.13", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/signature-v4": "^5.3.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "@smithy/util-config-provider": "^4.2.2", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-stream": "^4.5.21", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-sdk-s3", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/middleware-sdk-s3" + } +} diff --git a/node_modules/@aws-sdk/middleware-ssec/LICENSE b/node_modules/@aws-sdk/middleware-ssec/LICENSE new file mode 100644 index 0000000..dd65ae0 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-ssec/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@aws-sdk/middleware-ssec/README.md b/node_modules/@aws-sdk/middleware-ssec/README.md new file mode 100644 index 0000000..a25f60b --- /dev/null +++ b/node_modules/@aws-sdk/middleware-ssec/README.md @@ -0,0 +1,4 @@ +# @aws-sdk/middleware-ssec + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-ssec/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-ssec) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-ssec.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-ssec) diff --git a/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js b/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js new file mode 100644 index 0000000..c364847 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js @@ -0,0 +1,73 @@ +'use strict'; + +function ssecMiddleware(options) { + return (next) => async (args) => { + const input = { ...args.input }; + const properties = [ + { + target: "SSECustomerKey", + hash: "SSECustomerKeyMD5", + }, + { + target: "CopySourceSSECustomerKey", + hash: "CopySourceSSECustomerKeyMD5", + }, + ]; + for (const prop of properties) { + const value = input[prop.target]; + if (value) { + let valueForHash; + if (typeof value === "string") { + if (isValidBase64EncodedSSECustomerKey(value, options)) { + valueForHash = options.base64Decoder(value); + } + else { + valueForHash = options.utf8Decoder(value); + input[prop.target] = options.base64Encoder(valueForHash); + } + } + else { + valueForHash = ArrayBuffer.isView(value) + ? new Uint8Array(value.buffer, value.byteOffset, value.byteLength) + : new Uint8Array(value); + input[prop.target] = options.base64Encoder(valueForHash); + } + const hash = new options.md5(); + hash.update(valueForHash); + input[prop.hash] = options.base64Encoder(await hash.digest()); + } + } + return next({ + ...args, + input, + }); + }; +} +const ssecMiddlewareOptions = { + name: "ssecMiddleware", + step: "initialize", + tags: ["SSE"], + override: true, +}; +const getSsecPlugin = (config) => ({ + applyToStack: (clientStack) => { + clientStack.add(ssecMiddleware(config), ssecMiddlewareOptions); + }, +}); +function isValidBase64EncodedSSECustomerKey(str, options) { + const base64Regex = /^(?:[A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/; + if (!base64Regex.test(str)) + return false; + try { + const decodedBytes = options.base64Decoder(str); + return decodedBytes.length === 32; + } + catch { + return false; + } +} + +exports.getSsecPlugin = getSsecPlugin; +exports.isValidBase64EncodedSSECustomerKey = isValidBase64EncodedSSECustomerKey; +exports.ssecMiddleware = ssecMiddleware; +exports.ssecMiddlewareOptions = ssecMiddlewareOptions; diff --git a/node_modules/@aws-sdk/middleware-ssec/dist-es/index.js b/node_modules/@aws-sdk/middleware-ssec/dist-es/index.js new file mode 100644 index 0000000..3abb4b6 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-ssec/dist-es/index.js @@ -0,0 +1,66 @@ +export function ssecMiddleware(options) { + return (next) => async (args) => { + const input = { ...args.input }; + const properties = [ + { + target: "SSECustomerKey", + hash: "SSECustomerKeyMD5", + }, + { + target: "CopySourceSSECustomerKey", + hash: "CopySourceSSECustomerKeyMD5", + }, + ]; + for (const prop of properties) { + const value = input[prop.target]; + if (value) { + let valueForHash; + if (typeof value === "string") { + if (isValidBase64EncodedSSECustomerKey(value, options)) { + valueForHash = options.base64Decoder(value); + } + else { + valueForHash = options.utf8Decoder(value); + input[prop.target] = options.base64Encoder(valueForHash); + } + } + else { + valueForHash = ArrayBuffer.isView(value) + ? new Uint8Array(value.buffer, value.byteOffset, value.byteLength) + : new Uint8Array(value); + input[prop.target] = options.base64Encoder(valueForHash); + } + const hash = new options.md5(); + hash.update(valueForHash); + input[prop.hash] = options.base64Encoder(await hash.digest()); + } + } + return next({ + ...args, + input, + }); + }; +} +export const ssecMiddlewareOptions = { + name: "ssecMiddleware", + step: "initialize", + tags: ["SSE"], + override: true, +}; +export const getSsecPlugin = (config) => ({ + applyToStack: (clientStack) => { + clientStack.add(ssecMiddleware(config), ssecMiddlewareOptions); + }, +}); +export function isValidBase64EncodedSSECustomerKey(str, options) { + const base64Regex = /^(?:[A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/; + if (!base64Regex.test(str)) + return false; + try { + const decodedBytes = options.base64Decoder(str); + return decodedBytes.length === 32; + } + catch { + return false; + } +} diff --git a/node_modules/@aws-sdk/middleware-ssec/dist-types/index.d.ts b/node_modules/@aws-sdk/middleware-ssec/dist-types/index.d.ts new file mode 100644 index 0000000..ee7e98a --- /dev/null +++ b/node_modules/@aws-sdk/middleware-ssec/dist-types/index.d.ts @@ -0,0 +1,12 @@ +import type { ChecksumConstructor, Decoder, Encoder, HashConstructor, InitializeHandlerOptions, InitializeMiddleware, Pluggable } from "@smithy/types"; +interface PreviouslyResolved { + base64Encoder: Encoder; + md5: ChecksumConstructor | HashConstructor; + utf8Decoder: Decoder; + base64Decoder: Decoder; +} +export declare function ssecMiddleware(options: PreviouslyResolved): InitializeMiddleware; +export declare const ssecMiddlewareOptions: InitializeHandlerOptions; +export declare const getSsecPlugin: (config: PreviouslyResolved) => Pluggable; +export declare function isValidBase64EncodedSSECustomerKey(str: string, options: PreviouslyResolved): boolean; +export {}; diff --git a/node_modules/@aws-sdk/middleware-ssec/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/middleware-ssec/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..cfffd59 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-ssec/dist-types/ts3.4/index.d.ts @@ -0,0 +1,27 @@ +import { + ChecksumConstructor, + Decoder, + Encoder, + HashConstructor, + InitializeHandlerOptions, + InitializeMiddleware, + Pluggable, +} from "@smithy/types"; +interface PreviouslyResolved { + base64Encoder: Encoder; + md5: ChecksumConstructor | HashConstructor; + utf8Decoder: Decoder; + base64Decoder: Decoder; +} +export declare function ssecMiddleware( + options: PreviouslyResolved +): InitializeMiddleware; +export declare const ssecMiddlewareOptions: InitializeHandlerOptions; +export declare const getSsecPlugin: ( + config: PreviouslyResolved +) => Pluggable; +export declare function isValidBase64EncodedSSECustomerKey( + str: string, + options: PreviouslyResolved +): boolean; +export {}; diff --git a/node_modules/@aws-sdk/middleware-ssec/package.json b/node_modules/@aws-sdk/middleware-ssec/package.json new file mode 100644 index 0000000..dfea501 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-ssec/package.json @@ -0,0 +1,57 @@ +{ + "name": "@aws-sdk/middleware-ssec", + "version": "3.972.8", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline middleware-ssec", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:watch": "yarn g:vitest watch", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-ssec", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/middleware-ssec" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + } +} diff --git a/node_modules/@aws-sdk/middleware-user-agent/LICENSE b/node_modules/@aws-sdk/middleware-user-agent/LICENSE new file mode 100644 index 0000000..e907b58 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@aws-sdk/middleware-user-agent/README.md b/node_modules/@aws-sdk/middleware-user-agent/README.md new file mode 100644 index 0000000..a0bf1a9 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/README.md @@ -0,0 +1,4 @@ +# @aws-sdk/middleware-user-agent + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-user-agent/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-user-agent) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-user-agent.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-user-agent) diff --git a/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js b/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js new file mode 100644 index 0000000..2d4fecb --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js @@ -0,0 +1,194 @@ +'use strict'; + +var core = require('@smithy/core'); +var utilEndpoints = require('@aws-sdk/util-endpoints'); +var protocolHttp = require('@smithy/protocol-http'); +var client = require('@aws-sdk/core/client'); +var utilRetry = require('@smithy/util-retry'); + +const DEFAULT_UA_APP_ID = undefined; +function isValidUserAgentAppId(appId) { + if (appId === undefined) { + return true; + } + return typeof appId === "string" && appId.length <= 50; +} +function resolveUserAgentConfig(input) { + const normalizedAppIdProvider = core.normalizeProvider(input.userAgentAppId ?? DEFAULT_UA_APP_ID); + const { customUserAgent } = input; + return Object.assign(input, { + customUserAgent: typeof customUserAgent === "string" ? [[customUserAgent]] : customUserAgent, + userAgentAppId: async () => { + const appId = await normalizedAppIdProvider(); + if (!isValidUserAgentAppId(appId)) { + const logger = input.logger?.constructor?.name === "NoOpLogger" || !input.logger ? console : input.logger; + if (typeof appId !== "string") { + logger?.warn("userAgentAppId must be a string or undefined."); + } + else if (appId.length > 50) { + logger?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters."); + } + } + return appId; + }, + }); +} + +const ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/; +async function checkFeatures(context, config, args) { + const request = args.request; + if (request?.headers?.["smithy-protocol"] === "rpc-v2-cbor") { + client.setFeature(context, "PROTOCOL_RPC_V2_CBOR", "M"); + } + if (typeof config.retryStrategy === "function") { + const retryStrategy = await config.retryStrategy(); + if (typeof retryStrategy.mode === "string") { + switch (retryStrategy.mode) { + case utilRetry.RETRY_MODES.ADAPTIVE: + client.setFeature(context, "RETRY_MODE_ADAPTIVE", "F"); + break; + case utilRetry.RETRY_MODES.STANDARD: + client.setFeature(context, "RETRY_MODE_STANDARD", "E"); + break; + } + } + } + if (typeof config.accountIdEndpointMode === "function") { + const endpointV2 = context.endpointV2; + if (String(endpointV2?.url?.hostname).match(ACCOUNT_ID_ENDPOINT_REGEX)) { + client.setFeature(context, "ACCOUNT_ID_ENDPOINT", "O"); + } + switch (await config.accountIdEndpointMode?.()) { + case "disabled": + client.setFeature(context, "ACCOUNT_ID_MODE_DISABLED", "Q"); + break; + case "preferred": + client.setFeature(context, "ACCOUNT_ID_MODE_PREFERRED", "P"); + break; + case "required": + client.setFeature(context, "ACCOUNT_ID_MODE_REQUIRED", "R"); + break; + } + } + const identity = context.__smithy_context?.selectedHttpAuthScheme?.identity; + if (identity?.$source) { + const credentials = identity; + if (credentials.accountId) { + client.setFeature(context, "RESOLVED_ACCOUNT_ID", "T"); + } + for (const [key, value] of Object.entries(credentials.$source ?? {})) { + client.setFeature(context, key, value); + } + } +} + +const USER_AGENT = "user-agent"; +const X_AMZ_USER_AGENT = "x-amz-user-agent"; +const SPACE = " "; +const UA_NAME_SEPARATOR = "/"; +const UA_NAME_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w]/g; +const UA_VALUE_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w#]/g; +const UA_ESCAPE_CHAR = "-"; + +const BYTE_LIMIT = 1024; +function encodeFeatures(features) { + let buffer = ""; + for (const key in features) { + const val = features[key]; + if (buffer.length + val.length + 1 <= BYTE_LIMIT) { + if (buffer.length) { + buffer += "," + val; + } + else { + buffer += val; + } + continue; + } + break; + } + return buffer; +} + +const userAgentMiddleware = (options) => (next, context) => async (args) => { + const { request } = args; + if (!protocolHttp.HttpRequest.isInstance(request)) { + return next(args); + } + const { headers } = request; + const userAgent = context?.userAgent?.map(escapeUserAgent) || []; + const defaultUserAgent = (await options.defaultUserAgentProvider()).map(escapeUserAgent); + await checkFeatures(context, options, args); + const awsContext = context; + defaultUserAgent.push(`m/${encodeFeatures(Object.assign({}, context.__smithy_context?.features, awsContext.__aws_sdk_context?.features))}`); + const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || []; + const appId = await options.userAgentAppId(); + if (appId) { + defaultUserAgent.push(escapeUserAgent([`app`, `${appId}`])); + } + const prefix = utilEndpoints.getUserAgentPrefix(); + const sdkUserAgentValue = (prefix ? [prefix] : []) + .concat([...defaultUserAgent, ...userAgent, ...customUserAgent]) + .join(SPACE); + const normalUAValue = [ + ...defaultUserAgent.filter((section) => section.startsWith("aws-sdk-")), + ...customUserAgent, + ].join(SPACE); + if (options.runtime !== "browser") { + if (normalUAValue) { + headers[X_AMZ_USER_AGENT] = headers[X_AMZ_USER_AGENT] + ? `${headers[USER_AGENT]} ${normalUAValue}` + : normalUAValue; + } + headers[USER_AGENT] = sdkUserAgentValue; + } + else { + headers[X_AMZ_USER_AGENT] = sdkUserAgentValue; + } + return next({ + ...args, + request, + }); +}; +const escapeUserAgent = (userAgentPair) => { + const name = userAgentPair[0] + .split(UA_NAME_SEPARATOR) + .map((part) => part.replace(UA_NAME_ESCAPE_REGEX, UA_ESCAPE_CHAR)) + .join(UA_NAME_SEPARATOR); + const version = userAgentPair[1]?.replace(UA_VALUE_ESCAPE_REGEX, UA_ESCAPE_CHAR); + const prefixSeparatorIndex = name.indexOf(UA_NAME_SEPARATOR); + const prefix = name.substring(0, prefixSeparatorIndex); + let uaName = name.substring(prefixSeparatorIndex + 1); + if (prefix === "api") { + uaName = uaName.toLowerCase(); + } + return [prefix, uaName, version] + .filter((item) => item && item.length > 0) + .reduce((acc, item, index) => { + switch (index) { + case 0: + return item; + case 1: + return `${acc}/${item}`; + default: + return `${acc}#${item}`; + } + }, ""); +}; +const getUserAgentMiddlewareOptions = { + name: "getUserAgentMiddleware", + step: "build", + priority: "low", + tags: ["SET_USER_AGENT", "USER_AGENT"], + override: true, +}; +const getUserAgentPlugin = (config) => ({ + applyToStack: (clientStack) => { + clientStack.add(userAgentMiddleware(config), getUserAgentMiddlewareOptions); + }, +}); + +exports.DEFAULT_UA_APP_ID = DEFAULT_UA_APP_ID; +exports.getUserAgentMiddlewareOptions = getUserAgentMiddlewareOptions; +exports.getUserAgentPlugin = getUserAgentPlugin; +exports.resolveUserAgentConfig = resolveUserAgentConfig; +exports.userAgentMiddleware = userAgentMiddleware; diff --git a/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js b/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js new file mode 100644 index 0000000..7a39d10 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js @@ -0,0 +1,49 @@ +import { setFeature } from "@aws-sdk/core/client"; +import { RETRY_MODES } from "@smithy/util-retry"; +const ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/; +export async function checkFeatures(context, config, args) { + const request = args.request; + if (request?.headers?.["smithy-protocol"] === "rpc-v2-cbor") { + setFeature(context, "PROTOCOL_RPC_V2_CBOR", "M"); + } + if (typeof config.retryStrategy === "function") { + const retryStrategy = await config.retryStrategy(); + if (typeof retryStrategy.mode === "string") { + switch (retryStrategy.mode) { + case RETRY_MODES.ADAPTIVE: + setFeature(context, "RETRY_MODE_ADAPTIVE", "F"); + break; + case RETRY_MODES.STANDARD: + setFeature(context, "RETRY_MODE_STANDARD", "E"); + break; + } + } + } + if (typeof config.accountIdEndpointMode === "function") { + const endpointV2 = context.endpointV2; + if (String(endpointV2?.url?.hostname).match(ACCOUNT_ID_ENDPOINT_REGEX)) { + setFeature(context, "ACCOUNT_ID_ENDPOINT", "O"); + } + switch (await config.accountIdEndpointMode?.()) { + case "disabled": + setFeature(context, "ACCOUNT_ID_MODE_DISABLED", "Q"); + break; + case "preferred": + setFeature(context, "ACCOUNT_ID_MODE_PREFERRED", "P"); + break; + case "required": + setFeature(context, "ACCOUNT_ID_MODE_REQUIRED", "R"); + break; + } + } + const identity = context.__smithy_context?.selectedHttpAuthScheme?.identity; + if (identity?.$source) { + const credentials = identity; + if (credentials.accountId) { + setFeature(context, "RESOLVED_ACCOUNT_ID", "T"); + } + for (const [key, value] of Object.entries(credentials.$source ?? {})) { + setFeature(context, key, value); + } + } +} diff --git a/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js b/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js new file mode 100644 index 0000000..7fff087 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js @@ -0,0 +1,28 @@ +import { normalizeProvider } from "@smithy/core"; +export const DEFAULT_UA_APP_ID = undefined; +function isValidUserAgentAppId(appId) { + if (appId === undefined) { + return true; + } + return typeof appId === "string" && appId.length <= 50; +} +export function resolveUserAgentConfig(input) { + const normalizedAppIdProvider = normalizeProvider(input.userAgentAppId ?? DEFAULT_UA_APP_ID); + const { customUserAgent } = input; + return Object.assign(input, { + customUserAgent: typeof customUserAgent === "string" ? [[customUserAgent]] : customUserAgent, + userAgentAppId: async () => { + const appId = await normalizedAppIdProvider(); + if (!isValidUserAgentAppId(appId)) { + const logger = input.logger?.constructor?.name === "NoOpLogger" || !input.logger ? console : input.logger; + if (typeof appId !== "string") { + logger?.warn("userAgentAppId must be a string or undefined."); + } + else if (appId.length > 50) { + logger?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters."); + } + } + return appId; + }, + }); +} diff --git a/node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js b/node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js new file mode 100644 index 0000000..3d23893 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js @@ -0,0 +1,7 @@ +export const USER_AGENT = "user-agent"; +export const X_AMZ_USER_AGENT = "x-amz-user-agent"; +export const SPACE = " "; +export const UA_NAME_SEPARATOR = "/"; +export const UA_NAME_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w]/g; +export const UA_VALUE_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w#]/g; +export const UA_ESCAPE_CHAR = "-"; diff --git a/node_modules/@aws-sdk/middleware-user-agent/dist-es/encode-features.js b/node_modules/@aws-sdk/middleware-user-agent/dist-es/encode-features.js new file mode 100644 index 0000000..23002b6 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/dist-es/encode-features.js @@ -0,0 +1,18 @@ +const BYTE_LIMIT = 1024; +export function encodeFeatures(features) { + let buffer = ""; + for (const key in features) { + const val = features[key]; + if (buffer.length + val.length + 1 <= BYTE_LIMIT) { + if (buffer.length) { + buffer += "," + val; + } + else { + buffer += val; + } + continue; + } + break; + } + return buffer; +} diff --git a/node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js b/node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js new file mode 100644 index 0000000..0456ec7 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js @@ -0,0 +1,2 @@ +export * from "./configurations"; +export * from "./user-agent-middleware"; diff --git a/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js b/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js new file mode 100644 index 0000000..7085ec6 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js @@ -0,0 +1,82 @@ +import { getUserAgentPrefix } from "@aws-sdk/util-endpoints"; +import { HttpRequest } from "@smithy/protocol-http"; +import { checkFeatures } from "./check-features"; +import { SPACE, UA_ESCAPE_CHAR, UA_NAME_ESCAPE_REGEX, UA_NAME_SEPARATOR, UA_VALUE_ESCAPE_REGEX, USER_AGENT, X_AMZ_USER_AGENT, } from "./constants"; +import { encodeFeatures } from "./encode-features"; +export const userAgentMiddleware = (options) => (next, context) => async (args) => { + const { request } = args; + if (!HttpRequest.isInstance(request)) { + return next(args); + } + const { headers } = request; + const userAgent = context?.userAgent?.map(escapeUserAgent) || []; + const defaultUserAgent = (await options.defaultUserAgentProvider()).map(escapeUserAgent); + await checkFeatures(context, options, args); + const awsContext = context; + defaultUserAgent.push(`m/${encodeFeatures(Object.assign({}, context.__smithy_context?.features, awsContext.__aws_sdk_context?.features))}`); + const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || []; + const appId = await options.userAgentAppId(); + if (appId) { + defaultUserAgent.push(escapeUserAgent([`app`, `${appId}`])); + } + const prefix = getUserAgentPrefix(); + const sdkUserAgentValue = (prefix ? [prefix] : []) + .concat([...defaultUserAgent, ...userAgent, ...customUserAgent]) + .join(SPACE); + const normalUAValue = [ + ...defaultUserAgent.filter((section) => section.startsWith("aws-sdk-")), + ...customUserAgent, + ].join(SPACE); + if (options.runtime !== "browser") { + if (normalUAValue) { + headers[X_AMZ_USER_AGENT] = headers[X_AMZ_USER_AGENT] + ? `${headers[USER_AGENT]} ${normalUAValue}` + : normalUAValue; + } + headers[USER_AGENT] = sdkUserAgentValue; + } + else { + headers[X_AMZ_USER_AGENT] = sdkUserAgentValue; + } + return next({ + ...args, + request, + }); +}; +const escapeUserAgent = (userAgentPair) => { + const name = userAgentPair[0] + .split(UA_NAME_SEPARATOR) + .map((part) => part.replace(UA_NAME_ESCAPE_REGEX, UA_ESCAPE_CHAR)) + .join(UA_NAME_SEPARATOR); + const version = userAgentPair[1]?.replace(UA_VALUE_ESCAPE_REGEX, UA_ESCAPE_CHAR); + const prefixSeparatorIndex = name.indexOf(UA_NAME_SEPARATOR); + const prefix = name.substring(0, prefixSeparatorIndex); + let uaName = name.substring(prefixSeparatorIndex + 1); + if (prefix === "api") { + uaName = uaName.toLowerCase(); + } + return [prefix, uaName, version] + .filter((item) => item && item.length > 0) + .reduce((acc, item, index) => { + switch (index) { + case 0: + return item; + case 1: + return `${acc}/${item}`; + default: + return `${acc}#${item}`; + } + }, ""); +}; +export const getUserAgentMiddlewareOptions = { + name: "getUserAgentMiddleware", + step: "build", + priority: "low", + tags: ["SET_USER_AGENT", "USER_AGENT"], + override: true, +}; +export const getUserAgentPlugin = (config) => ({ + applyToStack: (clientStack) => { + clientStack.add(userAgentMiddleware(config), getUserAgentMiddlewareOptions); + }, +}); diff --git a/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts b/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts new file mode 100644 index 0000000..fc8c17c --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts @@ -0,0 +1,20 @@ +import type { AccountIdEndpointMode } from "@aws-sdk/core/account-id-endpoint"; +import type { AwsHandlerExecutionContext } from "@aws-sdk/types"; +import type { AwsCredentialIdentityProvider, BuildHandlerArguments, Provider } from "@smithy/types"; +/** + * @internal + */ +type PreviouslyResolved = Partial<{ + credentials?: AwsCredentialIdentityProvider; + accountIdEndpointMode?: Provider; + retryStrategy?: Provider<{ + mode?: string; + }>; +}>; +/** + * @internal + * Check for features that don't have a middleware activation site but + * may be detected on the context, client config, or request. + */ +export declare function checkFeatures(context: AwsHandlerExecutionContext, config: PreviouslyResolved, args: BuildHandlerArguments): Promise; +export {}; diff --git a/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts b/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts new file mode 100644 index 0000000..cfed670 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts @@ -0,0 +1,44 @@ +import type { Logger, Provider, UserAgent } from "@smithy/types"; +/** + * @internal + */ +export declare const DEFAULT_UA_APP_ID: undefined; +/** + * @public + */ +export interface UserAgentInputConfig { + /** + * The custom user agent header that would be appended to default one + */ + customUserAgent?: string | UserAgent; + /** + * The application ID used to identify the application. + */ + userAgentAppId?: string | undefined | Provider; +} +interface PreviouslyResolved { + defaultUserAgentProvider: Provider; + runtime: string; + logger?: Logger; +} +export interface UserAgentResolvedConfig { + /** + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header. + * @internal + */ + defaultUserAgentProvider: Provider; + /** + * The custom user agent header that would be appended to default one + */ + customUserAgent?: UserAgent; + /** + * The runtime environment + */ + runtime: string; + /** + * Resolved value for input config {config.userAgentAppId} + */ + userAgentAppId: Provider; +} +export declare function resolveUserAgentConfig(input: T & PreviouslyResolved & UserAgentInputConfig): T & UserAgentResolvedConfig; +export {}; diff --git a/node_modules/@aws-sdk/middleware-user-agent/dist-types/constants.d.ts b/node_modules/@aws-sdk/middleware-user-agent/dist-types/constants.d.ts new file mode 100644 index 0000000..8c0dfc9 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/dist-types/constants.d.ts @@ -0,0 +1,7 @@ +export declare const USER_AGENT = "user-agent"; +export declare const X_AMZ_USER_AGENT = "x-amz-user-agent"; +export declare const SPACE = " "; +export declare const UA_NAME_SEPARATOR = "/"; +export declare const UA_NAME_ESCAPE_REGEX: RegExp; +export declare const UA_VALUE_ESCAPE_REGEX: RegExp; +export declare const UA_ESCAPE_CHAR = "-"; diff --git a/node_modules/@aws-sdk/middleware-user-agent/dist-types/encode-features.d.ts b/node_modules/@aws-sdk/middleware-user-agent/dist-types/encode-features.d.ts new file mode 100644 index 0000000..d6079ae --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/dist-types/encode-features.d.ts @@ -0,0 +1,5 @@ +import type { AwsSdkFeatures } from "@aws-sdk/types"; +/** + * @internal + */ +export declare function encodeFeatures(features: AwsSdkFeatures): string; diff --git a/node_modules/@aws-sdk/middleware-user-agent/dist-types/index.d.ts b/node_modules/@aws-sdk/middleware-user-agent/dist-types/index.d.ts new file mode 100644 index 0000000..0456ec7 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/dist-types/index.d.ts @@ -0,0 +1,2 @@ +export * from "./configurations"; +export * from "./user-agent-middleware"; diff --git a/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts b/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts new file mode 100644 index 0000000..d1aa102 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts @@ -0,0 +1,20 @@ +import { AccountIdEndpointMode } from "@aws-sdk/core/account-id-endpoint"; +import { AwsHandlerExecutionContext } from "@aws-sdk/types"; +import { + AwsCredentialIdentityProvider, + BuildHandlerArguments, + Provider, +} from "@smithy/types"; +type PreviouslyResolved = Partial<{ + credentials?: AwsCredentialIdentityProvider; + accountIdEndpointMode?: Provider; + retryStrategy?: Provider<{ + mode?: string; + }>; +}>; +export declare function checkFeatures( + context: AwsHandlerExecutionContext, + config: PreviouslyResolved, + args: BuildHandlerArguments +): Promise; +export {}; diff --git a/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/configurations.d.ts b/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/configurations.d.ts new file mode 100644 index 0000000..a4a1b10 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/configurations.d.ts @@ -0,0 +1,21 @@ +import { Logger, Provider, UserAgent } from "@smithy/types"; +export declare const DEFAULT_UA_APP_ID: undefined; +export interface UserAgentInputConfig { + customUserAgent?: string | UserAgent; + userAgentAppId?: string | undefined | Provider; +} +interface PreviouslyResolved { + defaultUserAgentProvider: Provider; + runtime: string; + logger?: Logger; +} +export interface UserAgentResolvedConfig { + defaultUserAgentProvider: Provider; + customUserAgent?: UserAgent; + runtime: string; + userAgentAppId: Provider; +} +export declare function resolveUserAgentConfig( + input: T & PreviouslyResolved & UserAgentInputConfig +): T & UserAgentResolvedConfig; +export {}; diff --git a/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/constants.d.ts b/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/constants.d.ts new file mode 100644 index 0000000..8c0dfc9 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/constants.d.ts @@ -0,0 +1,7 @@ +export declare const USER_AGENT = "user-agent"; +export declare const X_AMZ_USER_AGENT = "x-amz-user-agent"; +export declare const SPACE = " "; +export declare const UA_NAME_SEPARATOR = "/"; +export declare const UA_NAME_ESCAPE_REGEX: RegExp; +export declare const UA_VALUE_ESCAPE_REGEX: RegExp; +export declare const UA_ESCAPE_CHAR = "-"; diff --git a/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/encode-features.d.ts b/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/encode-features.d.ts new file mode 100644 index 0000000..a7be5b7 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/encode-features.d.ts @@ -0,0 +1,2 @@ +import { AwsSdkFeatures } from "@aws-sdk/types"; +export declare function encodeFeatures(features: AwsSdkFeatures): string; diff --git a/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..0456ec7 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/index.d.ts @@ -0,0 +1,2 @@ +export * from "./configurations"; +export * from "./user-agent-middleware"; diff --git a/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/user-agent-middleware.d.ts b/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/user-agent-middleware.d.ts new file mode 100644 index 0000000..a4da01e --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/user-agent-middleware.d.ts @@ -0,0 +1,21 @@ +import { AwsHandlerExecutionContext } from "@aws-sdk/types"; +import { + AbsoluteLocation, + BuildHandler, + BuildHandlerOptions, + HandlerExecutionContext, + MetadataBearer, + Pluggable, +} from "@smithy/types"; +import { UserAgentResolvedConfig } from "./configurations"; +export declare const userAgentMiddleware: ( + options: UserAgentResolvedConfig +) => ( + next: BuildHandler, + context: HandlerExecutionContext | AwsHandlerExecutionContext +) => BuildHandler; +export declare const getUserAgentMiddlewareOptions: BuildHandlerOptions & + AbsoluteLocation; +export declare const getUserAgentPlugin: ( + config: UserAgentResolvedConfig +) => Pluggable; diff --git a/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts b/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts new file mode 100644 index 0000000..d2096c9 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts @@ -0,0 +1,18 @@ +import type { AwsHandlerExecutionContext } from "@aws-sdk/types"; +import type { AbsoluteLocation, BuildHandler, BuildHandlerOptions, HandlerExecutionContext, MetadataBearer, Pluggable } from "@smithy/types"; +import type { UserAgentResolvedConfig } from "./configurations"; +/** + * Build user agent header sections from: + * 1. runtime-specific default user agent provider; + * 2. custom user agent from `customUserAgent` client config; + * 3. handler execution context set by internal SDK components; + * The built user agent will be set to `x-amz-user-agent` header for ALL the + * runtimes. + * Please note that any override to the `user-agent` or `x-amz-user-agent` header + * in the HTTP request is discouraged. Please use `customUserAgent` client + * config or middleware setting the `userAgent` context to generate desired user + * agent. + */ +export declare const userAgentMiddleware: (options: UserAgentResolvedConfig) => (next: BuildHandler, context: HandlerExecutionContext | AwsHandlerExecutionContext) => BuildHandler; +export declare const getUserAgentMiddlewareOptions: BuildHandlerOptions & AbsoluteLocation; +export declare const getUserAgentPlugin: (config: UserAgentResolvedConfig) => Pluggable; diff --git a/node_modules/@aws-sdk/middleware-user-agent/package.json b/node_modules/@aws-sdk/middleware-user-agent/package.json new file mode 100644 index 0000000..b903386 --- /dev/null +++ b/node_modules/@aws-sdk/middleware-user-agent/package.json @@ -0,0 +1,63 @@ +{ + "name": "@aws-sdk/middleware-user-agent", + "version": "3.972.28", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline middleware-user-agent", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "extract:docs": "api-extractor run --local", + "test:watch": "yarn g:vitest watch", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/util-endpoints": "^3.996.5", + "@smithy/core": "^3.23.13", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-retry": "^4.2.13", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-user-agent", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/middleware-user-agent" + } +} diff --git a/node_modules/@aws-sdk/nested-clients/README.md b/node_modules/@aws-sdk/nested-clients/README.md new file mode 100644 index 0000000..1182bbd --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/README.md @@ -0,0 +1,13 @@ +# @aws-sdk/nested-clients + +## Description + +This is an internal package. Do not install this as a direct dependency. + +This package contains separate internal implementations of the STS and SSO-OIDC AWS SDK clients +to be used by the AWS SDK credential providers to break a cyclic dependency. + +### Bundlers + +This package may be marked as external if you do not use STS nor SSO-OIDC +in your credential resolution process. diff --git a/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts b/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts new file mode 100644 index 0000000..a16db4e --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts @@ -0,0 +1,7 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +declare module "@aws-sdk/nested-clients/cognito-identity" { + export * from "@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d"; +} diff --git a/node_modules/@aws-sdk/nested-clients/cognito-identity.js b/node_modules/@aws-sdk/nested-clients/cognito-identity.js new file mode 100644 index 0000000..cdfed35 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/cognito-identity.js @@ -0,0 +1,5 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +module.exports = require("./dist-cjs/submodules/cognito-identity/index.js"); diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js new file mode 100644 index 0000000..eb109ab --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js @@ -0,0 +1,2 @@ +'use strict'; + diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js new file mode 100644 index 0000000..b419ecb --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js @@ -0,0 +1,60 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.resolveHttpAuthSchemeConfig = exports.defaultCognitoIdentityHttpAuthSchemeProvider = exports.defaultCognitoIdentityHttpAuthSchemeParametersProvider = void 0; +const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); +const util_middleware_1 = require("@smithy/util-middleware"); +const defaultCognitoIdentityHttpAuthSchemeParametersProvider = async (config, context, input) => { + return { + operation: (0, util_middleware_1.getSmithyContext)(context).operation, + region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) || + (() => { + throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); + })(), + }; +}; +exports.defaultCognitoIdentityHttpAuthSchemeParametersProvider = defaultCognitoIdentityHttpAuthSchemeParametersProvider; +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "cognito-identity", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createSmithyApiNoAuthHttpAuthOption(authParameters) { + return { + schemeId: "smithy.api#noAuth", + }; +} +const defaultCognitoIdentityHttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + case "GetCredentialsForIdentity": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + case "GetId": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; +}; +exports.defaultCognitoIdentityHttpAuthSchemeProvider = defaultCognitoIdentityHttpAuthSchemeProvider; +const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config); + return Object.assign(config_0, { + authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []), + }); +}; +exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js new file mode 100644 index 0000000..7258a35 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js @@ -0,0 +1,18 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.defaultEndpointResolver = void 0; +const util_endpoints_1 = require("@aws-sdk/util-endpoints"); +const util_endpoints_2 = require("@smithy/util-endpoints"); +const ruleset_1 = require("./ruleset"); +const cache = new util_endpoints_2.EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], +}); +const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +exports.defaultEndpointResolver = defaultEndpointResolver; +util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js new file mode 100644 index 0000000..77610c0 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js @@ -0,0 +1,146 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ruleSet = void 0; +const w = "required", x = "fn", y = "argv", z = "ref"; +const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = "stringEquals", j = { [w]: false, type: "string" }, k = { [w]: true, default: false, type: "boolean" }, l = { [z]: "Endpoint" }, m = { [x]: c, [y]: [{ [z]: "UseFIPS" }, true] }, n = { [x]: c, [y]: [{ [z]: "UseDualStack" }, true] }, o = {}, p = { [z]: "Region" }, q = { [x]: h, [y]: [{ [z]: g }, "supportsFIPS"] }, r = { [z]: g }, s = { [x]: c, [y]: [true, { [x]: h, [y]: [r, "supportsDualStack"] }] }, t = [m], u = [n], v = [p]; +const _data = { + version: "1.0", + parameters: { Region: j, UseDualStack: k, UseFIPS: k, Endpoint: j }, + rules: [ + { + conditions: [{ [x]: b, [y]: [l] }], + rules: [ + { conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, + { conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, + { endpoint: { url: l, properties: o, headers: o }, type: e }, + ], + type: f, + }, + { + conditions: [{ [x]: b, [y]: v }], + rules: [ + { + conditions: [{ [x]: "aws.partition", [y]: v, assign: g }], + rules: [ + { + conditions: [m, n], + rules: [ + { + conditions: [{ [x]: c, [y]: [a, q] }, s], + rules: [ + { + conditions: [{ [x]: i, [y]: [p, "us-east-1"] }], + endpoint: { + url: "https://cognito-identity-fips.us-east-1.amazonaws.com", + properties: o, + headers: o, + }, + type: e, + }, + { + conditions: [{ [x]: i, [y]: [p, "us-east-2"] }], + endpoint: { + url: "https://cognito-identity-fips.us-east-2.amazonaws.com", + properties: o, + headers: o, + }, + type: e, + }, + { + conditions: [{ [x]: i, [y]: [p, "us-west-1"] }], + endpoint: { + url: "https://cognito-identity-fips.us-west-1.amazonaws.com", + properties: o, + headers: o, + }, + type: e, + }, + { + conditions: [{ [x]: i, [y]: [p, "us-west-2"] }], + endpoint: { + url: "https://cognito-identity-fips.us-west-2.amazonaws.com", + properties: o, + headers: o, + }, + type: e, + }, + { + endpoint: { + url: "https://cognito-identity-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + properties: o, + headers: o, + }, + type: e, + }, + ], + type: f, + }, + { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }, + ], + type: f, + }, + { + conditions: t, + rules: [ + { + conditions: [{ [x]: c, [y]: [q, a] }], + rules: [ + { + endpoint: { + url: "https://cognito-identity-fips.{Region}.{PartitionResult#dnsSuffix}", + properties: o, + headers: o, + }, + type: e, + }, + ], + type: f, + }, + { error: "FIPS is enabled but this partition does not support FIPS", type: d }, + ], + type: f, + }, + { + conditions: u, + rules: [ + { + conditions: [s], + rules: [ + { + conditions: [{ [x]: i, [y]: ["aws", { [x]: h, [y]: [r, "name"] }] }], + endpoint: { url: "https://cognito-identity.{Region}.amazonaws.com", properties: o, headers: o }, + type: e, + }, + { + endpoint: { + url: "https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}", + properties: o, + headers: o, + }, + type: e, + }, + ], + type: f, + }, + { error: "DualStack is enabled but this partition does not support DualStack", type: d }, + ], + type: f, + }, + { + endpoint: { + url: "https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}", + properties: o, + headers: o, + }, + type: e, + }, + ], + type: f, + }, + ], + type: f, + }, + { error: "Invalid Configuration: Missing Region", type: d }, + ], +}; +exports.ruleSet = _data; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js new file mode 100644 index 0000000..cda8758 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js @@ -0,0 +1,174 @@ +'use strict'; + +var middlewareHostHeader = require('@aws-sdk/middleware-host-header'); +var middlewareLogger = require('@aws-sdk/middleware-logger'); +var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection'); +var middlewareUserAgent = require('@aws-sdk/middleware-user-agent'); +var configResolver = require('@smithy/config-resolver'); +var core = require('@smithy/core'); +var schema = require('@smithy/core/schema'); +var middlewareContentLength = require('@smithy/middleware-content-length'); +var middlewareEndpoint = require('@smithy/middleware-endpoint'); +var middlewareRetry = require('@smithy/middleware-retry'); +var smithyClient = require('@smithy/smithy-client'); +var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider'); +var runtimeConfig = require('./runtimeConfig'); +var regionConfigResolver = require('@aws-sdk/region-config-resolver'); +var protocolHttp = require('@smithy/protocol-http'); +var schemas_0 = require('./schemas/schemas_0'); +var errors = require('./models/errors'); +var CognitoIdentityServiceException = require('./models/CognitoIdentityServiceException'); + +const resolveClientEndpointParameters = (options) => { + return Object.assign(options, { + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + defaultSigningName: "cognito-identity", + }); +}; +const commonParams = { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, +}; + +const getHttpAuthExtensionConfiguration = (runtimeConfig) => { + const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; + let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; + let _credentials = runtimeConfig.credentials; + return { + setHttpAuthScheme(httpAuthScheme) { + const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); + if (index === -1) { + _httpAuthSchemes.push(httpAuthScheme); + } + else { + _httpAuthSchemes.splice(index, 1, httpAuthScheme); + } + }, + httpAuthSchemes() { + return _httpAuthSchemes; + }, + setHttpAuthSchemeProvider(httpAuthSchemeProvider) { + _httpAuthSchemeProvider = httpAuthSchemeProvider; + }, + httpAuthSchemeProvider() { + return _httpAuthSchemeProvider; + }, + setCredentials(credentials) { + _credentials = credentials; + }, + credentials() { + return _credentials; + }, + }; +}; +const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; +}; + +const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); +}; + +class CognitoIdentityClient extends smithyClient.Client { + config; + constructor(...[configuration]) { + const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = resolveClientEndpointParameters(_config_0); + const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1); + const _config_3 = middlewareRetry.resolveRetryConfig(_config_2); + const _config_4 = configResolver.resolveRegionConfig(_config_3); + const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4); + const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5); + const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); + this.config = _config_8; + this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); + this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config)); + this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config)); + this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config)); + this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config)); + this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config)); + this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config)); + this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { + httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultCognitoIdentityHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + }), + })); + this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); + } + destroy() { + super.destroy(); + } +} + +class GetCredentialsForIdentityCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AWSCognitoIdentityService", "GetCredentialsForIdentity", {}) + .n("CognitoIdentityClient", "GetCredentialsForIdentityCommand") + .sc(schemas_0.GetCredentialsForIdentity$) + .build() { +} + +class GetIdCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AWSCognitoIdentityService", "GetId", {}) + .n("CognitoIdentityClient", "GetIdCommand") + .sc(schemas_0.GetId$) + .build() { +} + +const commands = { + GetCredentialsForIdentityCommand, + GetIdCommand, +}; +class CognitoIdentity extends CognitoIdentityClient { +} +smithyClient.createAggregatedClient(commands, CognitoIdentity); + +exports.$Command = smithyClient.Command; +exports.__Client = smithyClient.Client; +exports.CognitoIdentityServiceException = CognitoIdentityServiceException.CognitoIdentityServiceException; +exports.CognitoIdentity = CognitoIdentity; +exports.CognitoIdentityClient = CognitoIdentityClient; +exports.GetCredentialsForIdentityCommand = GetCredentialsForIdentityCommand; +exports.GetIdCommand = GetIdCommand; +Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: schemas_0['__proto__'] + }); + +Object.keys(schemas_0).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k]; +}); +Object.prototype.hasOwnProperty.call(errors, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: errors['__proto__'] + }); + +Object.keys(errors).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k]; +}); diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js new file mode 100644 index 0000000..8d4847a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CognitoIdentityServiceException = exports.__ServiceException = void 0; +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } }); +class CognitoIdentityServiceException extends smithy_client_1.ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, CognitoIdentityServiceException.prototype); + } +} +exports.CognitoIdentityServiceException = CognitoIdentityServiceException; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/errors.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/errors.js new file mode 100644 index 0000000..72ce0c6 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/errors.js @@ -0,0 +1,121 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.LimitExceededException = exports.TooManyRequestsException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.NotAuthorizedException = exports.InvalidParameterException = exports.InvalidIdentityPoolConfigurationException = exports.InternalErrorException = exports.ExternalServiceException = void 0; +const CognitoIdentityServiceException_1 = require("./CognitoIdentityServiceException"); +class ExternalServiceException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException { + name = "ExternalServiceException"; + $fault = "client"; + constructor(opts) { + super({ + name: "ExternalServiceException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ExternalServiceException.prototype); + } +} +exports.ExternalServiceException = ExternalServiceException; +class InternalErrorException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException { + name = "InternalErrorException"; + $fault = "server"; + constructor(opts) { + super({ + name: "InternalErrorException", + $fault: "server", + ...opts, + }); + Object.setPrototypeOf(this, InternalErrorException.prototype); + } +} +exports.InternalErrorException = InternalErrorException; +class InvalidIdentityPoolConfigurationException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException { + name = "InvalidIdentityPoolConfigurationException"; + $fault = "client"; + constructor(opts) { + super({ + name: "InvalidIdentityPoolConfigurationException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidIdentityPoolConfigurationException.prototype); + } +} +exports.InvalidIdentityPoolConfigurationException = InvalidIdentityPoolConfigurationException; +class InvalidParameterException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException { + name = "InvalidParameterException"; + $fault = "client"; + constructor(opts) { + super({ + name: "InvalidParameterException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidParameterException.prototype); + } +} +exports.InvalidParameterException = InvalidParameterException; +class NotAuthorizedException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException { + name = "NotAuthorizedException"; + $fault = "client"; + constructor(opts) { + super({ + name: "NotAuthorizedException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, NotAuthorizedException.prototype); + } +} +exports.NotAuthorizedException = NotAuthorizedException; +class ResourceConflictException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException { + name = "ResourceConflictException"; + $fault = "client"; + constructor(opts) { + super({ + name: "ResourceConflictException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ResourceConflictException.prototype); + } +} +exports.ResourceConflictException = ResourceConflictException; +class ResourceNotFoundException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException { + name = "ResourceNotFoundException"; + $fault = "client"; + constructor(opts) { + super({ + name: "ResourceNotFoundException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ResourceNotFoundException.prototype); + } +} +exports.ResourceNotFoundException = ResourceNotFoundException; +class TooManyRequestsException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException { + name = "TooManyRequestsException"; + $fault = "client"; + constructor(opts) { + super({ + name: "TooManyRequestsException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, TooManyRequestsException.prototype); + } +} +exports.TooManyRequestsException = TooManyRequestsException; +class LimitExceededException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException { + name = "LimitExceededException"; + $fault = "client"; + constructor(opts) { + super({ + name: "LimitExceededException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, LimitExceededException.prototype); + } +} +exports.LimitExceededException = LimitExceededException; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.browser.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.browser.js new file mode 100644 index 0000000..9f7380e --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.browser.js @@ -0,0 +1,38 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const tslib_1 = require("tslib"); +const package_json_1 = tslib_1.__importDefault(require("../../../package.json")); +const sha256_browser_1 = require("@aws-crypto/sha256-browser"); +const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser"); +const config_resolver_1 = require("@smithy/config-resolver"); +const fetch_http_handler_1 = require("@smithy/fetch-http-handler"); +const invalid_dependency_1 = require("@smithy/invalid-dependency"); +const smithy_client_1 = require("@smithy/smithy-client"); +const util_body_length_browser_1 = require("@smithy/util-body-length-browser"); +const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser"); +const util_retry_1 = require("@smithy/util-retry"); +const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); +const getRuntimeConfig = (config) => { + const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config); + const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); + const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + return { + ...clientSharedValues, + ...config, + runtime: "browser", + defaultsMode, + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS, + region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"), + requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE), + sha256: config?.sha256 ?? sha256_browser_1.Sha256, + streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)), + useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.js new file mode 100644 index 0000000..572fca0 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.js @@ -0,0 +1,54 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const tslib_1 = require("tslib"); +const package_json_1 = tslib_1.__importDefault(require("../../../package.json")); +const client_1 = require("@aws-sdk/core/client"); +const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); +const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node"); +const config_resolver_1 = require("@smithy/config-resolver"); +const hash_node_1 = require("@smithy/hash-node"); +const middleware_retry_1 = require("@smithy/middleware-retry"); +const node_config_provider_1 = require("@smithy/node-config-provider"); +const node_http_handler_1 = require("@smithy/node-http-handler"); +const smithy_client_1 = require("@smithy/smithy-client"); +const util_body_length_node_1 = require("@smithy/util-body-length-node"); +const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node"); +const util_retry_1 = require("@smithy/util-retry"); +const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); +const getRuntimeConfig = (config) => { + (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version); + const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config); + const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); + const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + (0, client_1.emitWarningIfUnsupportedVersion)(process.version); + const loaderConfig = { + profile: config?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), + region: config?.region ?? + (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? + (0, node_config_provider_1.loadConfig)({ + ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE, + }, config), + sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"), + streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.native.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.native.js new file mode 100644 index 0000000..34c5f8e --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.native.js @@ -0,0 +1,15 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const sha256_js_1 = require("@aws-crypto/sha256-js"); +const runtimeConfig_browser_1 = require("./runtimeConfig.browser"); +const getRuntimeConfig = (config) => { + const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config); + return { + ...browserDefaults, + ...config, + runtime: "react-native", + sha256: config?.sha256 ?? sha256_js_1.Sha256, + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js new file mode 100644 index 0000000..72acdb4 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js @@ -0,0 +1,50 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); +const protocols_1 = require("@aws-sdk/core/protocols"); +const core_1 = require("@smithy/core"); +const smithy_client_1 = require("@smithy/smithy-client"); +const url_parser_1 = require("@smithy/url-parser"); +const util_base64_1 = require("@smithy/util-base64"); +const util_utf8_1 = require("@smithy/util-utf8"); +const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider"); +const endpointResolver_1 = require("./endpoint/endpointResolver"); +const schemas_0_1 = require("./schemas/schemas_0"); +const getRuntimeConfig = (config) => { + return { + apiVersion: "2014-06-30", + base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, + base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, + extensions: config?.extensions ?? [], + httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultCognitoIdentityHttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new core_1.NoAuthSigner(), + }, + ], + logger: config?.logger ?? new smithy_client_1.NoOpLogger(), + protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.cognitoidentity", + errorTypeRegistries: schemas_0_1.errorTypeRegistries, + xmlNamespace: "http://cognito-identity.amazonaws.com/doc/2014-06-30/", + version: "2014-06-30", + serviceTarget: "AWSCognitoIdentityService", + }, + serviceId: config?.serviceId ?? "Cognito Identity", + urlParser: config?.urlParser ?? url_parser_1.parseUrl, + utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, + utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8, + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js new file mode 100644 index 0000000..027f610 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js @@ -0,0 +1,110 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GetId$ = exports.GetCredentialsForIdentity$ = exports.GetIdResponse$ = exports.GetIdInput$ = exports.GetCredentialsForIdentityResponse$ = exports.GetCredentialsForIdentityInput$ = exports.Credentials$ = exports.errorTypeRegistries = exports.TooManyRequestsException$ = exports.ResourceNotFoundException$ = exports.ResourceConflictException$ = exports.NotAuthorizedException$ = exports.LimitExceededException$ = exports.InvalidParameterException$ = exports.InvalidIdentityPoolConfigurationException$ = exports.InternalErrorException$ = exports.ExternalServiceException$ = exports.CognitoIdentityServiceException$ = void 0; +const _AI = "AccountId"; +const _AKI = "AccessKeyId"; +const _C = "Credentials"; +const _CRA = "CustomRoleArn"; +const _E = "Expiration"; +const _ESE = "ExternalServiceException"; +const _GCFI = "GetCredentialsForIdentity"; +const _GCFII = "GetCredentialsForIdentityInput"; +const _GCFIR = "GetCredentialsForIdentityResponse"; +const _GI = "GetId"; +const _GII = "GetIdInput"; +const _GIR = "GetIdResponse"; +const _IEE = "InternalErrorException"; +const _II = "IdentityId"; +const _IIPCE = "InvalidIdentityPoolConfigurationException"; +const _IPE = "InvalidParameterException"; +const _IPI = "IdentityPoolId"; +const _IPT = "IdentityProviderToken"; +const _L = "Logins"; +const _LEE = "LimitExceededException"; +const _LM = "LoginsMap"; +const _NAE = "NotAuthorizedException"; +const _RCE = "ResourceConflictException"; +const _RNFE = "ResourceNotFoundException"; +const _SK = "SecretKey"; +const _SKS = "SecretKeyString"; +const _ST = "SessionToken"; +const _TMRE = "TooManyRequestsException"; +const _c = "client"; +const _e = "error"; +const _hE = "httpError"; +const _m = "message"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.cognitoidentity"; +const _se = "server"; +const n0 = "com.amazonaws.cognitoidentity"; +const schema_1 = require("@smithy/core/schema"); +const CognitoIdentityServiceException_1 = require("../models/CognitoIdentityServiceException"); +const errors_1 = require("../models/errors"); +const _s_registry = schema_1.TypeRegistry.for(_s); +exports.CognitoIdentityServiceException$ = [-3, _s, "CognitoIdentityServiceException", 0, [], []]; +_s_registry.registerError(exports.CognitoIdentityServiceException$, CognitoIdentityServiceException_1.CognitoIdentityServiceException); +const n0_registry = schema_1.TypeRegistry.for(n0); +exports.ExternalServiceException$ = [-3, n0, _ESE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; +n0_registry.registerError(exports.ExternalServiceException$, errors_1.ExternalServiceException); +exports.InternalErrorException$ = [-3, n0, _IEE, { [_e]: _se }, [_m], [0]]; +n0_registry.registerError(exports.InternalErrorException$, errors_1.InternalErrorException); +exports.InvalidIdentityPoolConfigurationException$ = [ + -3, + n0, + _IIPCE, + { [_e]: _c, [_hE]: 400 }, + [_m], + [0], +]; +n0_registry.registerError(exports.InvalidIdentityPoolConfigurationException$, errors_1.InvalidIdentityPoolConfigurationException); +exports.InvalidParameterException$ = [-3, n0, _IPE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; +n0_registry.registerError(exports.InvalidParameterException$, errors_1.InvalidParameterException); +exports.LimitExceededException$ = [-3, n0, _LEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; +n0_registry.registerError(exports.LimitExceededException$, errors_1.LimitExceededException); +exports.NotAuthorizedException$ = [-3, n0, _NAE, { [_e]: _c, [_hE]: 403 }, [_m], [0]]; +n0_registry.registerError(exports.NotAuthorizedException$, errors_1.NotAuthorizedException); +exports.ResourceConflictException$ = [-3, n0, _RCE, { [_e]: _c, [_hE]: 409 }, [_m], [0]]; +n0_registry.registerError(exports.ResourceConflictException$, errors_1.ResourceConflictException); +exports.ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]]; +n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException); +exports.TooManyRequestsException$ = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_m], [0]]; +n0_registry.registerError(exports.TooManyRequestsException$, errors_1.TooManyRequestsException); +exports.errorTypeRegistries = [_s_registry, n0_registry]; +var IdentityProviderToken = [0, n0, _IPT, 8, 0]; +var SecretKeyString = [0, n0, _SKS, 8, 0]; +exports.Credentials$ = [ + 3, + n0, + _C, + 0, + [_AKI, _SK, _ST, _E], + [0, [() => SecretKeyString, 0], 0, 4], +]; +exports.GetCredentialsForIdentityInput$ = [ + 3, + n0, + _GCFII, + 0, + [_II, _L, _CRA], + [0, [() => LoginsMap, 0], 0], + 1, +]; +exports.GetCredentialsForIdentityResponse$ = [ + 3, + n0, + _GCFIR, + 0, + [_II, _C], + [0, [() => exports.Credentials$, 0]], +]; +exports.GetIdInput$ = [3, n0, _GII, 0, [_IPI, _AI, _L], [0, 0, [() => LoginsMap, 0]], 1]; +exports.GetIdResponse$ = [3, n0, _GIR, 0, [_II], [0]]; +var LoginsMap = [2, n0, _LM, 0, [0, 0], [() => IdentityProviderToken, 0]]; +exports.GetCredentialsForIdentity$ = [ + 9, + n0, + _GCFI, + 0, + () => exports.GetCredentialsForIdentityInput$, + () => exports.GetCredentialsForIdentityResponse$, +]; +exports.GetId$ = [9, n0, _GI, 0, () => exports.GetIdInput$, () => exports.GetIdResponse$]; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js new file mode 100644 index 0000000..07622c8 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js @@ -0,0 +1,56 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.resolveHttpAuthSchemeConfig = exports.defaultSigninHttpAuthSchemeProvider = exports.defaultSigninHttpAuthSchemeParametersProvider = void 0; +const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); +const util_middleware_1 = require("@smithy/util-middleware"); +const defaultSigninHttpAuthSchemeParametersProvider = async (config, context, input) => { + return { + operation: (0, util_middleware_1.getSmithyContext)(context).operation, + region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) || + (() => { + throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); + })(), + }; +}; +exports.defaultSigninHttpAuthSchemeParametersProvider = defaultSigninHttpAuthSchemeParametersProvider; +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "signin", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createSmithyApiNoAuthHttpAuthOption(authParameters) { + return { + schemeId: "smithy.api#noAuth", + }; +} +const defaultSigninHttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + case "CreateOAuth2Token": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; +}; +exports.defaultSigninHttpAuthSchemeProvider = defaultSigninHttpAuthSchemeProvider; +const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config); + return Object.assign(config_0, { + authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []), + }); +}; +exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js new file mode 100644 index 0000000..7258a35 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js @@ -0,0 +1,18 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.defaultEndpointResolver = void 0; +const util_endpoints_1 = require("@aws-sdk/util-endpoints"); +const util_endpoints_2 = require("@smithy/util-endpoints"); +const ruleset_1 = require("./ruleset"); +const cache = new util_endpoints_2.EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], +}); +const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +exports.defaultEndpointResolver = defaultEndpointResolver; +util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js new file mode 100644 index 0000000..0a888e8 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js @@ -0,0 +1,133 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ruleSet = void 0; +const u = "required", v = "fn", w = "argv", x = "ref"; +const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = { [u]: true, default: false, type: "boolean" }, j = { [u]: false, type: "string" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: "getAttr", [w]: [{ [x]: g }, "name"] }, p = { [v]: c, [w]: [{ [x]: "UseFIPS" }, false] }, q = { [v]: c, [w]: [{ [x]: "UseDualStack" }, false] }, r = { [v]: "getAttr", [w]: [{ [x]: g }, "supportsFIPS"] }, s = { [v]: c, [w]: [true, { [v]: "getAttr", [w]: [{ [x]: g }, "supportsDualStack"] }] }, t = [{ [x]: "Region" }]; +const _data = { + version: "1.0", + parameters: { UseDualStack: i, UseFIPS: i, Endpoint: j, Region: j }, + rules: [ + { + conditions: [{ [v]: b, [w]: [k] }], + rules: [ + { conditions: [l], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, + { + rules: [ + { + conditions: [m], + error: "Invalid Configuration: Dualstack and custom endpoint are not supported", + type: d, + }, + { endpoint: { url: k, properties: n, headers: n }, type: e }, + ], + type: f, + }, + ], + type: f, + }, + { + rules: [ + { + conditions: [{ [v]: b, [w]: t }], + rules: [ + { + conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], + rules: [ + { + conditions: [{ [v]: h, [w]: [o, "aws"] }, p, q], + endpoint: { url: "https://{Region}.signin.aws.amazon.com", properties: n, headers: n }, + type: e, + }, + { + conditions: [{ [v]: h, [w]: [o, "aws-cn"] }, p, q], + endpoint: { url: "https://{Region}.signin.amazonaws.cn", properties: n, headers: n }, + type: e, + }, + { + conditions: [{ [v]: h, [w]: [o, "aws-us-gov"] }, p, q], + endpoint: { url: "https://{Region}.signin.amazonaws-us-gov.com", properties: n, headers: n }, + type: e, + }, + { + conditions: [l, m], + rules: [ + { + conditions: [{ [v]: c, [w]: [a, r] }, s], + rules: [ + { + endpoint: { + url: "https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + properties: n, + headers: n, + }, + type: e, + }, + ], + type: f, + }, + { + error: "FIPS and DualStack are enabled, but this partition does not support one or both", + type: d, + }, + ], + type: f, + }, + { + conditions: [l, q], + rules: [ + { + conditions: [{ [v]: c, [w]: [r, a] }], + rules: [ + { + endpoint: { + url: "https://signin-fips.{Region}.{PartitionResult#dnsSuffix}", + properties: n, + headers: n, + }, + type: e, + }, + ], + type: f, + }, + { error: "FIPS is enabled but this partition does not support FIPS", type: d }, + ], + type: f, + }, + { + conditions: [p, m], + rules: [ + { + conditions: [s], + rules: [ + { + endpoint: { + url: "https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}", + properties: n, + headers: n, + }, + type: e, + }, + ], + type: f, + }, + { error: "DualStack is enabled but this partition does not support DualStack", type: d }, + ], + type: f, + }, + { + endpoint: { url: "https://signin.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, + type: e, + }, + ], + type: f, + }, + ], + type: f, + }, + { error: "Invalid Configuration: Missing Region", type: d }, + ], + type: f, + }, + ], +}; +exports.ruleSet = _data; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js new file mode 100644 index 0000000..cea6794 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js @@ -0,0 +1,170 @@ +'use strict'; + +var middlewareHostHeader = require('@aws-sdk/middleware-host-header'); +var middlewareLogger = require('@aws-sdk/middleware-logger'); +var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection'); +var middlewareUserAgent = require('@aws-sdk/middleware-user-agent'); +var configResolver = require('@smithy/config-resolver'); +var core = require('@smithy/core'); +var schema = require('@smithy/core/schema'); +var middlewareContentLength = require('@smithy/middleware-content-length'); +var middlewareEndpoint = require('@smithy/middleware-endpoint'); +var middlewareRetry = require('@smithy/middleware-retry'); +var smithyClient = require('@smithy/smithy-client'); +var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider'); +var runtimeConfig = require('./runtimeConfig'); +var regionConfigResolver = require('@aws-sdk/region-config-resolver'); +var protocolHttp = require('@smithy/protocol-http'); +var schemas_0 = require('./schemas/schemas_0'); +var errors = require('./models/errors'); +var SigninServiceException = require('./models/SigninServiceException'); + +const resolveClientEndpointParameters = (options) => { + return Object.assign(options, { + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + defaultSigningName: "signin", + }); +}; +const commonParams = { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, +}; + +const getHttpAuthExtensionConfiguration = (runtimeConfig) => { + const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; + let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; + let _credentials = runtimeConfig.credentials; + return { + setHttpAuthScheme(httpAuthScheme) { + const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); + if (index === -1) { + _httpAuthSchemes.push(httpAuthScheme); + } + else { + _httpAuthSchemes.splice(index, 1, httpAuthScheme); + } + }, + httpAuthSchemes() { + return _httpAuthSchemes; + }, + setHttpAuthSchemeProvider(httpAuthSchemeProvider) { + _httpAuthSchemeProvider = httpAuthSchemeProvider; + }, + httpAuthSchemeProvider() { + return _httpAuthSchemeProvider; + }, + setCredentials(credentials) { + _credentials = credentials; + }, + credentials() { + return _credentials; + }, + }; +}; +const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; +}; + +const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); +}; + +class SigninClient extends smithyClient.Client { + config; + constructor(...[configuration]) { + const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = resolveClientEndpointParameters(_config_0); + const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1); + const _config_3 = middlewareRetry.resolveRetryConfig(_config_2); + const _config_4 = configResolver.resolveRegionConfig(_config_3); + const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4); + const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5); + const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); + this.config = _config_8; + this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); + this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config)); + this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config)); + this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config)); + this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config)); + this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config)); + this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config)); + this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { + httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSigninHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + }), + })); + this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); + } + destroy() { + super.destroy(); + } +} + +class CreateOAuth2TokenCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("Signin", "CreateOAuth2Token", {}) + .n("SigninClient", "CreateOAuth2TokenCommand") + .sc(schemas_0.CreateOAuth2Token$) + .build() { +} + +const commands = { + CreateOAuth2TokenCommand, +}; +class Signin extends SigninClient { +} +smithyClient.createAggregatedClient(commands, Signin); + +const OAuth2ErrorCode = { + AUTHCODE_EXPIRED: "AUTHCODE_EXPIRED", + INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS", + INVALID_REQUEST: "INVALID_REQUEST", + SERVER_ERROR: "server_error", + TOKEN_EXPIRED: "TOKEN_EXPIRED", + USER_CREDENTIALS_CHANGED: "USER_CREDENTIALS_CHANGED", +}; + +exports.$Command = smithyClient.Command; +exports.__Client = smithyClient.Client; +exports.SigninServiceException = SigninServiceException.SigninServiceException; +exports.CreateOAuth2TokenCommand = CreateOAuth2TokenCommand; +exports.OAuth2ErrorCode = OAuth2ErrorCode; +exports.Signin = Signin; +exports.SigninClient = SigninClient; +Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: schemas_0['__proto__'] + }); + +Object.keys(schemas_0).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k]; +}); +Object.prototype.hasOwnProperty.call(errors, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: errors['__proto__'] + }); + +Object.keys(errors).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k]; +}); diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js new file mode 100644 index 0000000..954bc68 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SigninServiceException = exports.__ServiceException = void 0; +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } }); +class SigninServiceException extends smithy_client_1.ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, SigninServiceException.prototype); + } +} +exports.SigninServiceException = SigninServiceException; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js new file mode 100644 index 0000000..cdebf89 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js @@ -0,0 +1,64 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ValidationException = exports.TooManyRequestsError = exports.InternalServerException = exports.AccessDeniedException = void 0; +const SigninServiceException_1 = require("./SigninServiceException"); +class AccessDeniedException extends SigninServiceException_1.SigninServiceException { + name = "AccessDeniedException"; + $fault = "client"; + error; + constructor(opts) { + super({ + name: "AccessDeniedException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, AccessDeniedException.prototype); + this.error = opts.error; + } +} +exports.AccessDeniedException = AccessDeniedException; +class InternalServerException extends SigninServiceException_1.SigninServiceException { + name = "InternalServerException"; + $fault = "server"; + error; + constructor(opts) { + super({ + name: "InternalServerException", + $fault: "server", + ...opts, + }); + Object.setPrototypeOf(this, InternalServerException.prototype); + this.error = opts.error; + } +} +exports.InternalServerException = InternalServerException; +class TooManyRequestsError extends SigninServiceException_1.SigninServiceException { + name = "TooManyRequestsError"; + $fault = "client"; + error; + constructor(opts) { + super({ + name: "TooManyRequestsError", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, TooManyRequestsError.prototype); + this.error = opts.error; + } +} +exports.TooManyRequestsError = TooManyRequestsError; +class ValidationException extends SigninServiceException_1.SigninServiceException { + name = "ValidationException"; + $fault = "client"; + error; + constructor(opts) { + super({ + name: "ValidationException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ValidationException.prototype); + this.error = opts.error; + } +} +exports.ValidationException = ValidationException; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.browser.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.browser.js new file mode 100644 index 0000000..10986e2 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.browser.js @@ -0,0 +1,39 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const tslib_1 = require("tslib"); +const package_json_1 = tslib_1.__importDefault(require("../../../package.json")); +const sha256_browser_1 = require("@aws-crypto/sha256-browser"); +const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser"); +const config_resolver_1 = require("@smithy/config-resolver"); +const fetch_http_handler_1 = require("@smithy/fetch-http-handler"); +const invalid_dependency_1 = require("@smithy/invalid-dependency"); +const smithy_client_1 = require("@smithy/smithy-client"); +const util_body_length_browser_1 = require("@smithy/util-body-length-browser"); +const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser"); +const util_retry_1 = require("@smithy/util-retry"); +const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); +const getRuntimeConfig = (config) => { + const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config); + const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); + const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + return { + ...clientSharedValues, + ...config, + runtime: "browser", + defaultsMode, + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength, + credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))), + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS, + region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"), + requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE), + sha256: config?.sha256 ?? sha256_browser_1.Sha256, + streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)), + useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js new file mode 100644 index 0000000..572fca0 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js @@ -0,0 +1,54 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const tslib_1 = require("tslib"); +const package_json_1 = tslib_1.__importDefault(require("../../../package.json")); +const client_1 = require("@aws-sdk/core/client"); +const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); +const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node"); +const config_resolver_1 = require("@smithy/config-resolver"); +const hash_node_1 = require("@smithy/hash-node"); +const middleware_retry_1 = require("@smithy/middleware-retry"); +const node_config_provider_1 = require("@smithy/node-config-provider"); +const node_http_handler_1 = require("@smithy/node-http-handler"); +const smithy_client_1 = require("@smithy/smithy-client"); +const util_body_length_node_1 = require("@smithy/util-body-length-node"); +const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node"); +const util_retry_1 = require("@smithy/util-retry"); +const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); +const getRuntimeConfig = (config) => { + (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version); + const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config); + const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); + const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + (0, client_1.emitWarningIfUnsupportedVersion)(process.version); + const loaderConfig = { + profile: config?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), + region: config?.region ?? + (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? + (0, node_config_provider_1.loadConfig)({ + ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE, + }, config), + sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"), + streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.native.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.native.js new file mode 100644 index 0000000..34c5f8e --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.native.js @@ -0,0 +1,15 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const sha256_js_1 = require("@aws-crypto/sha256-js"); +const runtimeConfig_browser_1 = require("./runtimeConfig.browser"); +const getRuntimeConfig = (config) => { + const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config); + return { + ...browserDefaults, + ...config, + runtime: "react-native", + sha256: config?.sha256 ?? sha256_js_1.Sha256, + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js new file mode 100644 index 0000000..051743f --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js @@ -0,0 +1,49 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); +const protocols_1 = require("@aws-sdk/core/protocols"); +const core_1 = require("@smithy/core"); +const smithy_client_1 = require("@smithy/smithy-client"); +const url_parser_1 = require("@smithy/url-parser"); +const util_base64_1 = require("@smithy/util-base64"); +const util_utf8_1 = require("@smithy/util-utf8"); +const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider"); +const endpointResolver_1 = require("./endpoint/endpointResolver"); +const schemas_0_1 = require("./schemas/schemas_0"); +const getRuntimeConfig = (config) => { + return { + apiVersion: "2023-01-01", + base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, + base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, + extensions: config?.extensions ?? [], + httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSigninHttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new core_1.NoAuthSigner(), + }, + ], + logger: config?.logger ?? new smithy_client_1.NoOpLogger(), + protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.signin", + errorTypeRegistries: schemas_0_1.errorTypeRegistries, + version: "2023-01-01", + serviceTarget: "Signin", + }, + serviceId: config?.serviceId ?? "Signin", + urlParser: config?.urlParser ?? url_parser_1.parseUrl, + utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, + utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8, + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js new file mode 100644 index 0000000..c9340b2 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js @@ -0,0 +1,125 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CreateOAuth2Token$ = exports.CreateOAuth2TokenResponseBody$ = exports.CreateOAuth2TokenResponse$ = exports.CreateOAuth2TokenRequestBody$ = exports.CreateOAuth2TokenRequest$ = exports.AccessToken$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.TooManyRequestsError$ = exports.InternalServerException$ = exports.AccessDeniedException$ = exports.SigninServiceException$ = void 0; +const _ADE = "AccessDeniedException"; +const _AT = "AccessToken"; +const _COAT = "CreateOAuth2Token"; +const _COATR = "CreateOAuth2TokenRequest"; +const _COATRB = "CreateOAuth2TokenRequestBody"; +const _COATRBr = "CreateOAuth2TokenResponseBody"; +const _COATRr = "CreateOAuth2TokenResponse"; +const _ISE = "InternalServerException"; +const _RT = "RefreshToken"; +const _TMRE = "TooManyRequestsError"; +const _VE = "ValidationException"; +const _aKI = "accessKeyId"; +const _aT = "accessToken"; +const _c = "client"; +const _cI = "clientId"; +const _cV = "codeVerifier"; +const _co = "code"; +const _e = "error"; +const _eI = "expiresIn"; +const _gT = "grantType"; +const _h = "http"; +const _hE = "httpError"; +const _iT = "idToken"; +const _jN = "jsonName"; +const _m = "message"; +const _rT = "refreshToken"; +const _rU = "redirectUri"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.signin"; +const _sAK = "secretAccessKey"; +const _sT = "sessionToken"; +const _se = "server"; +const _tI = "tokenInput"; +const _tO = "tokenOutput"; +const _tT = "tokenType"; +const n0 = "com.amazonaws.signin"; +const schema_1 = require("@smithy/core/schema"); +const errors_1 = require("../models/errors"); +const SigninServiceException_1 = require("../models/SigninServiceException"); +const _s_registry = schema_1.TypeRegistry.for(_s); +exports.SigninServiceException$ = [-3, _s, "SigninServiceException", 0, [], []]; +_s_registry.registerError(exports.SigninServiceException$, SigninServiceException_1.SigninServiceException); +const n0_registry = schema_1.TypeRegistry.for(n0); +exports.AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c }, [_e, _m], [0, 0], 2]; +n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException); +exports.InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _m], [0, 0], 2]; +n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException); +exports.TooManyRequestsError$ = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_e, _m], [0, 0], 2]; +n0_registry.registerError(exports.TooManyRequestsError$, errors_1.TooManyRequestsError); +exports.ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_e, _m], [0, 0], 2]; +n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException); +exports.errorTypeRegistries = [_s_registry, n0_registry]; +var RefreshToken = [0, n0, _RT, 8, 0]; +exports.AccessToken$ = [ + 3, + n0, + _AT, + 8, + [_aKI, _sAK, _sT], + [ + [0, { [_jN]: _aKI }], + [0, { [_jN]: _sAK }], + [0, { [_jN]: _sT }], + ], + 3, +]; +exports.CreateOAuth2TokenRequest$ = [ + 3, + n0, + _COATR, + 0, + [_tI], + [[() => exports.CreateOAuth2TokenRequestBody$, 16]], + 1, +]; +exports.CreateOAuth2TokenRequestBody$ = [ + 3, + n0, + _COATRB, + 0, + [_cI, _gT, _co, _rU, _cV, _rT], + [ + [0, { [_jN]: _cI }], + [0, { [_jN]: _gT }], + 0, + [0, { [_jN]: _rU }], + [0, { [_jN]: _cV }], + [() => RefreshToken, { [_jN]: _rT }], + ], + 2, +]; +exports.CreateOAuth2TokenResponse$ = [ + 3, + n0, + _COATRr, + 0, + [_tO], + [[() => exports.CreateOAuth2TokenResponseBody$, 16]], + 1, +]; +exports.CreateOAuth2TokenResponseBody$ = [ + 3, + n0, + _COATRBr, + 0, + [_aT, _tT, _eI, _rT, _iT], + [ + [() => exports.AccessToken$, { [_jN]: _aT }], + [0, { [_jN]: _tT }], + [1, { [_jN]: _eI }], + [() => RefreshToken, { [_jN]: _rT }], + [0, { [_jN]: _iT }], + ], + 4, +]; +exports.CreateOAuth2Token$ = [ + 9, + n0, + _COAT, + { [_h]: ["POST", "/v1/token", 200] }, + () => exports.CreateOAuth2TokenRequest$, + () => exports.CreateOAuth2TokenResponse$, +]; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js new file mode 100644 index 0000000..8c1fa2a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js @@ -0,0 +1,56 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.resolveHttpAuthSchemeConfig = exports.defaultSSOOIDCHttpAuthSchemeProvider = exports.defaultSSOOIDCHttpAuthSchemeParametersProvider = void 0; +const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); +const util_middleware_1 = require("@smithy/util-middleware"); +const defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => { + return { + operation: (0, util_middleware_1.getSmithyContext)(context).operation, + region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) || + (() => { + throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); + })(), + }; +}; +exports.defaultSSOOIDCHttpAuthSchemeParametersProvider = defaultSSOOIDCHttpAuthSchemeParametersProvider; +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "sso-oauth", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createSmithyApiNoAuthHttpAuthOption(authParameters) { + return { + schemeId: "smithy.api#noAuth", + }; +} +const defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + case "CreateToken": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; +}; +exports.defaultSSOOIDCHttpAuthSchemeProvider = defaultSSOOIDCHttpAuthSchemeProvider; +const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config); + return Object.assign(config_0, { + authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []), + }); +}; +exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js new file mode 100644 index 0000000..7258a35 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js @@ -0,0 +1,18 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.defaultEndpointResolver = void 0; +const util_endpoints_1 = require("@aws-sdk/util-endpoints"); +const util_endpoints_2 = require("@smithy/util-endpoints"); +const ruleset_1 = require("./ruleset"); +const cache = new util_endpoints_2.EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], +}); +const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +exports.defaultEndpointResolver = defaultEndpointResolver; +util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js new file mode 100644 index 0000000..bf97a89 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js @@ -0,0 +1,106 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ruleSet = void 0; +const u = "required", v = "fn", w = "argv", x = "ref"; +const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, type: "string" }, j = { [u]: true, default: false, type: "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }]; +const _data = { + version: "1.0", + parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, + rules: [ + { + conditions: [{ [v]: b, [w]: [k] }], + rules: [ + { conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, + { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, + { endpoint: { url: k, properties: n, headers: n }, type: e }, + ], + type: f, + }, + { + conditions: [{ [v]: b, [w]: t }], + rules: [ + { + conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], + rules: [ + { + conditions: [l, m], + rules: [ + { + conditions: [{ [v]: c, [w]: [a, o] }, q], + rules: [ + { + endpoint: { + url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + properties: n, + headers: n, + }, + type: e, + }, + ], + type: f, + }, + { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }, + ], + type: f, + }, + { + conditions: r, + rules: [ + { + conditions: [{ [v]: c, [w]: [o, a] }], + rules: [ + { + conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], + endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: n, headers: n }, + type: e, + }, + { + endpoint: { + url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", + properties: n, + headers: n, + }, + type: e, + }, + ], + type: f, + }, + { error: "FIPS is enabled but this partition does not support FIPS", type: d }, + ], + type: f, + }, + { + conditions: s, + rules: [ + { + conditions: [q], + rules: [ + { + endpoint: { + url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", + properties: n, + headers: n, + }, + type: e, + }, + ], + type: f, + }, + { error: "DualStack is enabled but this partition does not support DualStack", type: d }, + ], + type: f, + }, + { + endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, + type: e, + }, + ], + type: f, + }, + ], + type: f, + }, + { error: "Invalid Configuration: Missing Region", type: d }, + ], +}; +exports.ruleSet = _data; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js new file mode 100644 index 0000000..3f841d9 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js @@ -0,0 +1,172 @@ +'use strict'; + +var middlewareHostHeader = require('@aws-sdk/middleware-host-header'); +var middlewareLogger = require('@aws-sdk/middleware-logger'); +var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection'); +var middlewareUserAgent = require('@aws-sdk/middleware-user-agent'); +var configResolver = require('@smithy/config-resolver'); +var core = require('@smithy/core'); +var schema = require('@smithy/core/schema'); +var middlewareContentLength = require('@smithy/middleware-content-length'); +var middlewareEndpoint = require('@smithy/middleware-endpoint'); +var middlewareRetry = require('@smithy/middleware-retry'); +var smithyClient = require('@smithy/smithy-client'); +var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider'); +var runtimeConfig = require('./runtimeConfig'); +var regionConfigResolver = require('@aws-sdk/region-config-resolver'); +var protocolHttp = require('@smithy/protocol-http'); +var schemas_0 = require('./schemas/schemas_0'); +var errors = require('./models/errors'); +var SSOOIDCServiceException = require('./models/SSOOIDCServiceException'); + +const resolveClientEndpointParameters = (options) => { + return Object.assign(options, { + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + defaultSigningName: "sso-oauth", + }); +}; +const commonParams = { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, +}; + +const getHttpAuthExtensionConfiguration = (runtimeConfig) => { + const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; + let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; + let _credentials = runtimeConfig.credentials; + return { + setHttpAuthScheme(httpAuthScheme) { + const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); + if (index === -1) { + _httpAuthSchemes.push(httpAuthScheme); + } + else { + _httpAuthSchemes.splice(index, 1, httpAuthScheme); + } + }, + httpAuthSchemes() { + return _httpAuthSchemes; + }, + setHttpAuthSchemeProvider(httpAuthSchemeProvider) { + _httpAuthSchemeProvider = httpAuthSchemeProvider; + }, + httpAuthSchemeProvider() { + return _httpAuthSchemeProvider; + }, + setCredentials(credentials) { + _credentials = credentials; + }, + credentials() { + return _credentials; + }, + }; +}; +const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; +}; + +const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); +}; + +class SSOOIDCClient extends smithyClient.Client { + config; + constructor(...[configuration]) { + const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = resolveClientEndpointParameters(_config_0); + const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1); + const _config_3 = middlewareRetry.resolveRetryConfig(_config_2); + const _config_4 = configResolver.resolveRegionConfig(_config_3); + const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4); + const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5); + const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); + this.config = _config_8; + this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); + this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config)); + this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config)); + this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config)); + this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config)); + this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config)); + this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config)); + this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { + httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSSOOIDCHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + }), + })); + this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); + } + destroy() { + super.destroy(); + } +} + +class CreateTokenCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AWSSSOOIDCService", "CreateToken", {}) + .n("SSOOIDCClient", "CreateTokenCommand") + .sc(schemas_0.CreateToken$) + .build() { +} + +const commands = { + CreateTokenCommand, +}; +class SSOOIDC extends SSOOIDCClient { +} +smithyClient.createAggregatedClient(commands, SSOOIDC); + +const AccessDeniedExceptionReason = { + KMS_ACCESS_DENIED: "KMS_AccessDeniedException", +}; +const InvalidRequestExceptionReason = { + KMS_DISABLED_KEY: "KMS_DisabledException", + KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException", + KMS_INVALID_STATE: "KMS_InvalidStateException", + KMS_KEY_NOT_FOUND: "KMS_NotFoundException", +}; + +exports.$Command = smithyClient.Command; +exports.__Client = smithyClient.Client; +exports.SSOOIDCServiceException = SSOOIDCServiceException.SSOOIDCServiceException; +exports.AccessDeniedExceptionReason = AccessDeniedExceptionReason; +exports.CreateTokenCommand = CreateTokenCommand; +exports.InvalidRequestExceptionReason = InvalidRequestExceptionReason; +exports.SSOOIDC = SSOOIDC; +exports.SSOOIDCClient = SSOOIDCClient; +Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: schemas_0['__proto__'] + }); + +Object.keys(schemas_0).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k]; +}); +Object.prototype.hasOwnProperty.call(errors, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: errors['__proto__'] + }); + +Object.keys(errors).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k]; +}); diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js new file mode 100644 index 0000000..878e098 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SSOOIDCServiceException = exports.__ServiceException = void 0; +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } }); +class SSOOIDCServiceException extends smithy_client_1.ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, SSOOIDCServiceException.prototype); + } +} +exports.SSOOIDCServiceException = SSOOIDCServiceException; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js new file mode 100644 index 0000000..c937588 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js @@ -0,0 +1,195 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UnsupportedGrantTypeException = exports.UnauthorizedClientException = exports.SlowDownException = exports.InvalidScopeException = exports.InvalidRequestException = exports.InvalidGrantException = exports.InvalidClientException = exports.InternalServerException = exports.ExpiredTokenException = exports.AuthorizationPendingException = exports.AccessDeniedException = void 0; +const SSOOIDCServiceException_1 = require("./SSOOIDCServiceException"); +class AccessDeniedException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "AccessDeniedException"; + $fault = "client"; + error; + reason; + error_description; + constructor(opts) { + super({ + name: "AccessDeniedException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, AccessDeniedException.prototype); + this.error = opts.error; + this.reason = opts.reason; + this.error_description = opts.error_description; + } +} +exports.AccessDeniedException = AccessDeniedException; +class AuthorizationPendingException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "AuthorizationPendingException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "AuthorizationPendingException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, AuthorizationPendingException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +exports.AuthorizationPendingException = AuthorizationPendingException; +class ExpiredTokenException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "ExpiredTokenException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "ExpiredTokenException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ExpiredTokenException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +exports.ExpiredTokenException = ExpiredTokenException; +class InternalServerException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "InternalServerException"; + $fault = "server"; + error; + error_description; + constructor(opts) { + super({ + name: "InternalServerException", + $fault: "server", + ...opts, + }); + Object.setPrototypeOf(this, InternalServerException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +exports.InternalServerException = InternalServerException; +class InvalidClientException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "InvalidClientException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "InvalidClientException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidClientException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +exports.InvalidClientException = InvalidClientException; +class InvalidGrantException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "InvalidGrantException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "InvalidGrantException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidGrantException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +exports.InvalidGrantException = InvalidGrantException; +class InvalidRequestException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "InvalidRequestException"; + $fault = "client"; + error; + reason; + error_description; + constructor(opts) { + super({ + name: "InvalidRequestException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidRequestException.prototype); + this.error = opts.error; + this.reason = opts.reason; + this.error_description = opts.error_description; + } +} +exports.InvalidRequestException = InvalidRequestException; +class InvalidScopeException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "InvalidScopeException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "InvalidScopeException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidScopeException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +exports.InvalidScopeException = InvalidScopeException; +class SlowDownException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "SlowDownException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "SlowDownException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, SlowDownException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +exports.SlowDownException = SlowDownException; +class UnauthorizedClientException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "UnauthorizedClientException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "UnauthorizedClientException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, UnauthorizedClientException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +exports.UnauthorizedClientException = UnauthorizedClientException; +class UnsupportedGrantTypeException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "UnsupportedGrantTypeException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "UnsupportedGrantTypeException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, UnsupportedGrantTypeException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.browser.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.browser.js new file mode 100644 index 0000000..9f7380e --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.browser.js @@ -0,0 +1,38 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const tslib_1 = require("tslib"); +const package_json_1 = tslib_1.__importDefault(require("../../../package.json")); +const sha256_browser_1 = require("@aws-crypto/sha256-browser"); +const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser"); +const config_resolver_1 = require("@smithy/config-resolver"); +const fetch_http_handler_1 = require("@smithy/fetch-http-handler"); +const invalid_dependency_1 = require("@smithy/invalid-dependency"); +const smithy_client_1 = require("@smithy/smithy-client"); +const util_body_length_browser_1 = require("@smithy/util-body-length-browser"); +const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser"); +const util_retry_1 = require("@smithy/util-retry"); +const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); +const getRuntimeConfig = (config) => { + const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config); + const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); + const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + return { + ...clientSharedValues, + ...config, + runtime: "browser", + defaultsMode, + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS, + region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"), + requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE), + sha256: config?.sha256 ?? sha256_browser_1.Sha256, + streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)), + useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js new file mode 100644 index 0000000..572fca0 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js @@ -0,0 +1,54 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const tslib_1 = require("tslib"); +const package_json_1 = tslib_1.__importDefault(require("../../../package.json")); +const client_1 = require("@aws-sdk/core/client"); +const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); +const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node"); +const config_resolver_1 = require("@smithy/config-resolver"); +const hash_node_1 = require("@smithy/hash-node"); +const middleware_retry_1 = require("@smithy/middleware-retry"); +const node_config_provider_1 = require("@smithy/node-config-provider"); +const node_http_handler_1 = require("@smithy/node-http-handler"); +const smithy_client_1 = require("@smithy/smithy-client"); +const util_body_length_node_1 = require("@smithy/util-body-length-node"); +const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node"); +const util_retry_1 = require("@smithy/util-retry"); +const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); +const getRuntimeConfig = (config) => { + (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version); + const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config); + const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); + const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + (0, client_1.emitWarningIfUnsupportedVersion)(process.version); + const loaderConfig = { + profile: config?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), + region: config?.region ?? + (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? + (0, node_config_provider_1.loadConfig)({ + ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE, + }, config), + sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"), + streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.native.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.native.js new file mode 100644 index 0000000..34c5f8e --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.native.js @@ -0,0 +1,15 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const sha256_js_1 = require("@aws-crypto/sha256-js"); +const runtimeConfig_browser_1 = require("./runtimeConfig.browser"); +const getRuntimeConfig = (config) => { + const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config); + return { + ...browserDefaults, + ...config, + runtime: "react-native", + sha256: config?.sha256 ?? sha256_js_1.Sha256, + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js new file mode 100644 index 0000000..f2c364c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js @@ -0,0 +1,49 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); +const protocols_1 = require("@aws-sdk/core/protocols"); +const core_1 = require("@smithy/core"); +const smithy_client_1 = require("@smithy/smithy-client"); +const url_parser_1 = require("@smithy/url-parser"); +const util_base64_1 = require("@smithy/util-base64"); +const util_utf8_1 = require("@smithy/util-utf8"); +const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider"); +const endpointResolver_1 = require("./endpoint/endpointResolver"); +const schemas_0_1 = require("./schemas/schemas_0"); +const getRuntimeConfig = (config) => { + return { + apiVersion: "2019-06-10", + base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, + base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, + extensions: config?.extensions ?? [], + httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSOOIDCHttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new core_1.NoAuthSigner(), + }, + ], + logger: config?.logger ?? new smithy_client_1.NoOpLogger(), + protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.ssooidc", + errorTypeRegistries: schemas_0_1.errorTypeRegistries, + version: "2019-06-10", + serviceTarget: "AWSSSOOIDCService", + }, + serviceId: config?.serviceId ?? "SSO OIDC", + urlParser: config?.urlParser ?? url_parser_1.parseUrl, + utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, + utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8, + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js new file mode 100644 index 0000000..685cafb --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js @@ -0,0 +1,140 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CreateToken$ = exports.CreateTokenResponse$ = exports.CreateTokenRequest$ = exports.errorTypeRegistries = exports.UnsupportedGrantTypeException$ = exports.UnauthorizedClientException$ = exports.SlowDownException$ = exports.InvalidScopeException$ = exports.InvalidRequestException$ = exports.InvalidGrantException$ = exports.InvalidClientException$ = exports.InternalServerException$ = exports.ExpiredTokenException$ = exports.AuthorizationPendingException$ = exports.AccessDeniedException$ = exports.SSOOIDCServiceException$ = void 0; +const _ADE = "AccessDeniedException"; +const _APE = "AuthorizationPendingException"; +const _AT = "AccessToken"; +const _CS = "ClientSecret"; +const _CT = "CreateToken"; +const _CTR = "CreateTokenRequest"; +const _CTRr = "CreateTokenResponse"; +const _CV = "CodeVerifier"; +const _ETE = "ExpiredTokenException"; +const _ICE = "InvalidClientException"; +const _IGE = "InvalidGrantException"; +const _IRE = "InvalidRequestException"; +const _ISE = "InternalServerException"; +const _ISEn = "InvalidScopeException"; +const _IT = "IdToken"; +const _RT = "RefreshToken"; +const _SDE = "SlowDownException"; +const _UCE = "UnauthorizedClientException"; +const _UGTE = "UnsupportedGrantTypeException"; +const _aT = "accessToken"; +const _c = "client"; +const _cI = "clientId"; +const _cS = "clientSecret"; +const _cV = "codeVerifier"; +const _co = "code"; +const _dC = "deviceCode"; +const _e = "error"; +const _eI = "expiresIn"; +const _ed = "error_description"; +const _gT = "grantType"; +const _h = "http"; +const _hE = "httpError"; +const _iT = "idToken"; +const _r = "reason"; +const _rT = "refreshToken"; +const _rU = "redirectUri"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc"; +const _sc = "scope"; +const _se = "server"; +const _tT = "tokenType"; +const n0 = "com.amazonaws.ssooidc"; +const schema_1 = require("@smithy/core/schema"); +const errors_1 = require("../models/errors"); +const SSOOIDCServiceException_1 = require("../models/SSOOIDCServiceException"); +const _s_registry = schema_1.TypeRegistry.for(_s); +exports.SSOOIDCServiceException$ = [-3, _s, "SSOOIDCServiceException", 0, [], []]; +_s_registry.registerError(exports.SSOOIDCServiceException$, SSOOIDCServiceException_1.SSOOIDCServiceException); +const n0_registry = schema_1.TypeRegistry.for(n0); +exports.AccessDeniedException$ = [ + -3, + n0, + _ADE, + { [_e]: _c, [_hE]: 400 }, + [_e, _r, _ed], + [0, 0, 0], +]; +n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException); +exports.AuthorizationPendingException$ = [ + -3, + n0, + _APE, + { [_e]: _c, [_hE]: 400 }, + [_e, _ed], + [0, 0], +]; +n0_registry.registerError(exports.AuthorizationPendingException$, errors_1.AuthorizationPendingException); +exports.ExpiredTokenException$ = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]]; +n0_registry.registerError(exports.ExpiredTokenException$, errors_1.ExpiredTokenException); +exports.InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _ed], [0, 0]]; +n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException); +exports.InvalidClientException$ = [-3, n0, _ICE, { [_e]: _c, [_hE]: 401 }, [_e, _ed], [0, 0]]; +n0_registry.registerError(exports.InvalidClientException$, errors_1.InvalidClientException); +exports.InvalidGrantException$ = [-3, n0, _IGE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]]; +n0_registry.registerError(exports.InvalidGrantException$, errors_1.InvalidGrantException); +exports.InvalidRequestException$ = [ + -3, + n0, + _IRE, + { [_e]: _c, [_hE]: 400 }, + [_e, _r, _ed], + [0, 0, 0], +]; +n0_registry.registerError(exports.InvalidRequestException$, errors_1.InvalidRequestException); +exports.InvalidScopeException$ = [-3, n0, _ISEn, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]]; +n0_registry.registerError(exports.InvalidScopeException$, errors_1.InvalidScopeException); +exports.SlowDownException$ = [-3, n0, _SDE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]]; +n0_registry.registerError(exports.SlowDownException$, errors_1.SlowDownException); +exports.UnauthorizedClientException$ = [ + -3, + n0, + _UCE, + { [_e]: _c, [_hE]: 400 }, + [_e, _ed], + [0, 0], +]; +n0_registry.registerError(exports.UnauthorizedClientException$, errors_1.UnauthorizedClientException); +exports.UnsupportedGrantTypeException$ = [ + -3, + n0, + _UGTE, + { [_e]: _c, [_hE]: 400 }, + [_e, _ed], + [0, 0], +]; +n0_registry.registerError(exports.UnsupportedGrantTypeException$, errors_1.UnsupportedGrantTypeException); +exports.errorTypeRegistries = [_s_registry, n0_registry]; +var AccessToken = [0, n0, _AT, 8, 0]; +var ClientSecret = [0, n0, _CS, 8, 0]; +var CodeVerifier = [0, n0, _CV, 8, 0]; +var IdToken = [0, n0, _IT, 8, 0]; +var RefreshToken = [0, n0, _RT, 8, 0]; +exports.CreateTokenRequest$ = [ + 3, + n0, + _CTR, + 0, + [_cI, _cS, _gT, _dC, _co, _rT, _sc, _rU, _cV], + [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]], + 3, +]; +exports.CreateTokenResponse$ = [ + 3, + n0, + _CTRr, + 0, + [_aT, _tT, _eI, _rT, _iT], + [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]], +]; +var Scopes = 64 | 0; +exports.CreateToken$ = [ + 9, + n0, + _CT, + { [_h]: ["POST", "/token", 200] }, + () => exports.CreateTokenRequest$, + () => exports.CreateTokenResponse$, +]; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js new file mode 100644 index 0000000..810fb29 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js @@ -0,0 +1,56 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.resolveHttpAuthSchemeConfig = exports.defaultSSOHttpAuthSchemeProvider = exports.defaultSSOHttpAuthSchemeParametersProvider = void 0; +const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); +const util_middleware_1 = require("@smithy/util-middleware"); +const defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => { + return { + operation: (0, util_middleware_1.getSmithyContext)(context).operation, + region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) || + (() => { + throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); + })(), + }; +}; +exports.defaultSSOHttpAuthSchemeParametersProvider = defaultSSOHttpAuthSchemeParametersProvider; +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "awsssoportal", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createSmithyApiNoAuthHttpAuthOption(authParameters) { + return { + schemeId: "smithy.api#noAuth", + }; +} +const defaultSSOHttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + case "GetRoleCredentials": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; +}; +exports.defaultSSOHttpAuthSchemeProvider = defaultSSOHttpAuthSchemeProvider; +const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config); + return Object.assign(config_0, { + authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []), + }); +}; +exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js new file mode 100644 index 0000000..7258a35 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js @@ -0,0 +1,18 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.defaultEndpointResolver = void 0; +const util_endpoints_1 = require("@aws-sdk/util-endpoints"); +const util_endpoints_2 = require("@smithy/util-endpoints"); +const ruleset_1 = require("./ruleset"); +const cache = new util_endpoints_2.EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], +}); +const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +exports.defaultEndpointResolver = defaultEndpointResolver; +util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js new file mode 100644 index 0000000..b46fe78 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js @@ -0,0 +1,106 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ruleSet = void 0; +const u = "required", v = "fn", w = "argv", x = "ref"; +const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, type: "string" }, j = { [u]: true, default: false, type: "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }]; +const _data = { + version: "1.0", + parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, + rules: [ + { + conditions: [{ [v]: b, [w]: [k] }], + rules: [ + { conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, + { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, + { endpoint: { url: k, properties: n, headers: n }, type: e }, + ], + type: f, + }, + { + conditions: [{ [v]: b, [w]: t }], + rules: [ + { + conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], + rules: [ + { + conditions: [l, m], + rules: [ + { + conditions: [{ [v]: c, [w]: [a, o] }, q], + rules: [ + { + endpoint: { + url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + properties: n, + headers: n, + }, + type: e, + }, + ], + type: f, + }, + { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }, + ], + type: f, + }, + { + conditions: r, + rules: [ + { + conditions: [{ [v]: c, [w]: [o, a] }], + rules: [ + { + conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], + endpoint: { url: "https://portal.sso.{Region}.amazonaws.com", properties: n, headers: n }, + type: e, + }, + { + endpoint: { + url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}", + properties: n, + headers: n, + }, + type: e, + }, + ], + type: f, + }, + { error: "FIPS is enabled but this partition does not support FIPS", type: d }, + ], + type: f, + }, + { + conditions: s, + rules: [ + { + conditions: [q], + rules: [ + { + endpoint: { + url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}", + properties: n, + headers: n, + }, + type: e, + }, + ], + type: f, + }, + { error: "DualStack is enabled but this partition does not support DualStack", type: d }, + ], + type: f, + }, + { + endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, + type: e, + }, + ], + type: f, + }, + ], + type: f, + }, + { error: "Invalid Configuration: Missing Region", type: d }, + ], +}; +exports.ruleSet = _data; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js new file mode 100644 index 0000000..29c9e0b --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js @@ -0,0 +1,160 @@ +'use strict'; + +var middlewareHostHeader = require('@aws-sdk/middleware-host-header'); +var middlewareLogger = require('@aws-sdk/middleware-logger'); +var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection'); +var middlewareUserAgent = require('@aws-sdk/middleware-user-agent'); +var configResolver = require('@smithy/config-resolver'); +var core = require('@smithy/core'); +var schema = require('@smithy/core/schema'); +var middlewareContentLength = require('@smithy/middleware-content-length'); +var middlewareEndpoint = require('@smithy/middleware-endpoint'); +var middlewareRetry = require('@smithy/middleware-retry'); +var smithyClient = require('@smithy/smithy-client'); +var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider'); +var runtimeConfig = require('./runtimeConfig'); +var regionConfigResolver = require('@aws-sdk/region-config-resolver'); +var protocolHttp = require('@smithy/protocol-http'); +var schemas_0 = require('./schemas/schemas_0'); +var errors = require('./models/errors'); +var SSOServiceException = require('./models/SSOServiceException'); + +const resolveClientEndpointParameters = (options) => { + return Object.assign(options, { + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + defaultSigningName: "awsssoportal", + }); +}; +const commonParams = { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, +}; + +const getHttpAuthExtensionConfiguration = (runtimeConfig) => { + const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; + let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; + let _credentials = runtimeConfig.credentials; + return { + setHttpAuthScheme(httpAuthScheme) { + const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); + if (index === -1) { + _httpAuthSchemes.push(httpAuthScheme); + } + else { + _httpAuthSchemes.splice(index, 1, httpAuthScheme); + } + }, + httpAuthSchemes() { + return _httpAuthSchemes; + }, + setHttpAuthSchemeProvider(httpAuthSchemeProvider) { + _httpAuthSchemeProvider = httpAuthSchemeProvider; + }, + httpAuthSchemeProvider() { + return _httpAuthSchemeProvider; + }, + setCredentials(credentials) { + _credentials = credentials; + }, + credentials() { + return _credentials; + }, + }; +}; +const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; +}; + +const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); +}; + +class SSOClient extends smithyClient.Client { + config; + constructor(...[configuration]) { + const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = resolveClientEndpointParameters(_config_0); + const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1); + const _config_3 = middlewareRetry.resolveRetryConfig(_config_2); + const _config_4 = configResolver.resolveRegionConfig(_config_3); + const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4); + const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5); + const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); + this.config = _config_8; + this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); + this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config)); + this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config)); + this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config)); + this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config)); + this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config)); + this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config)); + this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { + httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSSOHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + }), + })); + this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); + } + destroy() { + super.destroy(); + } +} + +class GetRoleCredentialsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("SWBPortalService", "GetRoleCredentials", {}) + .n("SSOClient", "GetRoleCredentialsCommand") + .sc(schemas_0.GetRoleCredentials$) + .build() { +} + +const commands = { + GetRoleCredentialsCommand, +}; +class SSO extends SSOClient { +} +smithyClient.createAggregatedClient(commands, SSO); + +exports.$Command = smithyClient.Command; +exports.__Client = smithyClient.Client; +exports.SSOServiceException = SSOServiceException.SSOServiceException; +exports.GetRoleCredentialsCommand = GetRoleCredentialsCommand; +exports.SSO = SSO; +exports.SSOClient = SSOClient; +Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: schemas_0['__proto__'] + }); + +Object.keys(schemas_0).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k]; +}); +Object.prototype.hasOwnProperty.call(errors, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: errors['__proto__'] + }); + +Object.keys(errors).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k]; +}); diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js new file mode 100644 index 0000000..97ba0d8 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SSOServiceException = exports.__ServiceException = void 0; +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } }); +class SSOServiceException extends smithy_client_1.ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, SSOServiceException.prototype); + } +} +exports.SSOServiceException = SSOServiceException; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js new file mode 100644 index 0000000..a27b96c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js @@ -0,0 +1,56 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UnauthorizedException = exports.TooManyRequestsException = exports.ResourceNotFoundException = exports.InvalidRequestException = void 0; +const SSOServiceException_1 = require("./SSOServiceException"); +class InvalidRequestException extends SSOServiceException_1.SSOServiceException { + name = "InvalidRequestException"; + $fault = "client"; + constructor(opts) { + super({ + name: "InvalidRequestException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidRequestException.prototype); + } +} +exports.InvalidRequestException = InvalidRequestException; +class ResourceNotFoundException extends SSOServiceException_1.SSOServiceException { + name = "ResourceNotFoundException"; + $fault = "client"; + constructor(opts) { + super({ + name: "ResourceNotFoundException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ResourceNotFoundException.prototype); + } +} +exports.ResourceNotFoundException = ResourceNotFoundException; +class TooManyRequestsException extends SSOServiceException_1.SSOServiceException { + name = "TooManyRequestsException"; + $fault = "client"; + constructor(opts) { + super({ + name: "TooManyRequestsException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, TooManyRequestsException.prototype); + } +} +exports.TooManyRequestsException = TooManyRequestsException; +class UnauthorizedException extends SSOServiceException_1.SSOServiceException { + name = "UnauthorizedException"; + $fault = "client"; + constructor(opts) { + super({ + name: "UnauthorizedException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, UnauthorizedException.prototype); + } +} +exports.UnauthorizedException = UnauthorizedException; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.browser.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.browser.js new file mode 100644 index 0000000..9f7380e --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.browser.js @@ -0,0 +1,38 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const tslib_1 = require("tslib"); +const package_json_1 = tslib_1.__importDefault(require("../../../package.json")); +const sha256_browser_1 = require("@aws-crypto/sha256-browser"); +const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser"); +const config_resolver_1 = require("@smithy/config-resolver"); +const fetch_http_handler_1 = require("@smithy/fetch-http-handler"); +const invalid_dependency_1 = require("@smithy/invalid-dependency"); +const smithy_client_1 = require("@smithy/smithy-client"); +const util_body_length_browser_1 = require("@smithy/util-body-length-browser"); +const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser"); +const util_retry_1 = require("@smithy/util-retry"); +const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); +const getRuntimeConfig = (config) => { + const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config); + const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); + const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + return { + ...clientSharedValues, + ...config, + runtime: "browser", + defaultsMode, + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS, + region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"), + requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE), + sha256: config?.sha256 ?? sha256_browser_1.Sha256, + streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)), + useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js new file mode 100644 index 0000000..572fca0 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js @@ -0,0 +1,54 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const tslib_1 = require("tslib"); +const package_json_1 = tslib_1.__importDefault(require("../../../package.json")); +const client_1 = require("@aws-sdk/core/client"); +const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); +const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node"); +const config_resolver_1 = require("@smithy/config-resolver"); +const hash_node_1 = require("@smithy/hash-node"); +const middleware_retry_1 = require("@smithy/middleware-retry"); +const node_config_provider_1 = require("@smithy/node-config-provider"); +const node_http_handler_1 = require("@smithy/node-http-handler"); +const smithy_client_1 = require("@smithy/smithy-client"); +const util_body_length_node_1 = require("@smithy/util-body-length-node"); +const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node"); +const util_retry_1 = require("@smithy/util-retry"); +const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); +const getRuntimeConfig = (config) => { + (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version); + const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config); + const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); + const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + (0, client_1.emitWarningIfUnsupportedVersion)(process.version); + const loaderConfig = { + profile: config?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), + region: config?.region ?? + (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? + (0, node_config_provider_1.loadConfig)({ + ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE, + }, config), + sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"), + streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js new file mode 100644 index 0000000..34c5f8e --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js @@ -0,0 +1,15 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const sha256_js_1 = require("@aws-crypto/sha256-js"); +const runtimeConfig_browser_1 = require("./runtimeConfig.browser"); +const getRuntimeConfig = (config) => { + const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config); + return { + ...browserDefaults, + ...config, + runtime: "react-native", + sha256: config?.sha256 ?? sha256_js_1.Sha256, + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js new file mode 100644 index 0000000..ec81275 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js @@ -0,0 +1,49 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); +const protocols_1 = require("@aws-sdk/core/protocols"); +const core_1 = require("@smithy/core"); +const smithy_client_1 = require("@smithy/smithy-client"); +const url_parser_1 = require("@smithy/url-parser"); +const util_base64_1 = require("@smithy/util-base64"); +const util_utf8_1 = require("@smithy/util-utf8"); +const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider"); +const endpointResolver_1 = require("./endpoint/endpointResolver"); +const schemas_0_1 = require("./schemas/schemas_0"); +const getRuntimeConfig = (config) => { + return { + apiVersion: "2019-06-10", + base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, + base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, + extensions: config?.extensions ?? [], + httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSOHttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new core_1.NoAuthSigner(), + }, + ], + logger: config?.logger ?? new smithy_client_1.NoOpLogger(), + protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.sso", + errorTypeRegistries: schemas_0_1.errorTypeRegistries, + version: "2019-06-10", + serviceTarget: "SWBPortalService", + }, + serviceId: config?.serviceId ?? "SSO", + urlParser: config?.urlParser ?? url_parser_1.parseUrl, + utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, + utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8, + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js new file mode 100644 index 0000000..bec44e6 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js @@ -0,0 +1,90 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GetRoleCredentials$ = exports.RoleCredentials$ = exports.GetRoleCredentialsResponse$ = exports.GetRoleCredentialsRequest$ = exports.errorTypeRegistries = exports.UnauthorizedException$ = exports.TooManyRequestsException$ = exports.ResourceNotFoundException$ = exports.InvalidRequestException$ = exports.SSOServiceException$ = void 0; +const _ATT = "AccessTokenType"; +const _GRC = "GetRoleCredentials"; +const _GRCR = "GetRoleCredentialsRequest"; +const _GRCRe = "GetRoleCredentialsResponse"; +const _IRE = "InvalidRequestException"; +const _RC = "RoleCredentials"; +const _RNFE = "ResourceNotFoundException"; +const _SAKT = "SecretAccessKeyType"; +const _STT = "SessionTokenType"; +const _TMRE = "TooManyRequestsException"; +const _UE = "UnauthorizedException"; +const _aI = "accountId"; +const _aKI = "accessKeyId"; +const _aT = "accessToken"; +const _ai = "account_id"; +const _c = "client"; +const _e = "error"; +const _ex = "expiration"; +const _h = "http"; +const _hE = "httpError"; +const _hH = "httpHeader"; +const _hQ = "httpQuery"; +const _m = "message"; +const _rC = "roleCredentials"; +const _rN = "roleName"; +const _rn = "role_name"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sso"; +const _sAK = "secretAccessKey"; +const _sT = "sessionToken"; +const _xasbt = "x-amz-sso_bearer_token"; +const n0 = "com.amazonaws.sso"; +const schema_1 = require("@smithy/core/schema"); +const errors_1 = require("../models/errors"); +const SSOServiceException_1 = require("../models/SSOServiceException"); +const _s_registry = schema_1.TypeRegistry.for(_s); +exports.SSOServiceException$ = [-3, _s, "SSOServiceException", 0, [], []]; +_s_registry.registerError(exports.SSOServiceException$, SSOServiceException_1.SSOServiceException); +const n0_registry = schema_1.TypeRegistry.for(n0); +exports.InvalidRequestException$ = [-3, n0, _IRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; +n0_registry.registerError(exports.InvalidRequestException$, errors_1.InvalidRequestException); +exports.ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]]; +n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException); +exports.TooManyRequestsException$ = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_m], [0]]; +n0_registry.registerError(exports.TooManyRequestsException$, errors_1.TooManyRequestsException); +exports.UnauthorizedException$ = [-3, n0, _UE, { [_e]: _c, [_hE]: 401 }, [_m], [0]]; +n0_registry.registerError(exports.UnauthorizedException$, errors_1.UnauthorizedException); +exports.errorTypeRegistries = [_s_registry, n0_registry]; +var AccessTokenType = [0, n0, _ATT, 8, 0]; +var SecretAccessKeyType = [0, n0, _SAKT, 8, 0]; +var SessionTokenType = [0, n0, _STT, 8, 0]; +exports.GetRoleCredentialsRequest$ = [ + 3, + n0, + _GRCR, + 0, + [_rN, _aI, _aT], + [ + [0, { [_hQ]: _rn }], + [0, { [_hQ]: _ai }], + [() => AccessTokenType, { [_hH]: _xasbt }], + ], + 3, +]; +exports.GetRoleCredentialsResponse$ = [ + 3, + n0, + _GRCRe, + 0, + [_rC], + [[() => exports.RoleCredentials$, 0]], +]; +exports.RoleCredentials$ = [ + 3, + n0, + _RC, + 0, + [_aKI, _sAK, _sT, _ex], + [0, [() => SecretAccessKeyType, 0], [() => SessionTokenType, 0], 1], +]; +exports.GetRoleCredentials$ = [ + 9, + n0, + _GRC, + { [_h]: ["GET", "/federation/credentials", 200] }, + () => exports.GetRoleCredentialsRequest$, + () => exports.GetRoleCredentialsResponse$, +]; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js new file mode 100644 index 0000000..879af8b --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js @@ -0,0 +1,54 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.STSClient = exports.__Client = void 0; +const middleware_host_header_1 = require("@aws-sdk/middleware-host-header"); +const middleware_logger_1 = require("@aws-sdk/middleware-logger"); +const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection"); +const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent"); +const config_resolver_1 = require("@smithy/config-resolver"); +const core_1 = require("@smithy/core"); +const schema_1 = require("@smithy/core/schema"); +const middleware_content_length_1 = require("@smithy/middleware-content-length"); +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_retry_1 = require("@smithy/middleware-retry"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } }); +const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider"); +const EndpointParameters_1 = require("./endpoint/EndpointParameters"); +const runtimeConfig_1 = require("./runtimeConfig"); +const runtimeExtensions_1 = require("./runtimeExtensions"); +class STSClient extends smithy_client_1.Client { + config; + constructor(...[configuration]) { + const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0); + const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1); + const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2); + const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3); + const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4); + const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5); + const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6); + const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []); + this.config = _config_8; + this.middlewareStack.use((0, schema_1.getSchemaSerdePlugin)(this.config)); + this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config)); + this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config)); + this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config)); + this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config)); + this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config)); + this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config)); + this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { + httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + }), + })); + this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config)); + } + destroy() { + super.destroy(); + } +} +exports.STSClient = STSClient; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js new file mode 100644 index 0000000..239095e --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js @@ -0,0 +1,43 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0; +const getHttpAuthExtensionConfiguration = (runtimeConfig) => { + const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; + let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; + let _credentials = runtimeConfig.credentials; + return { + setHttpAuthScheme(httpAuthScheme) { + const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); + if (index === -1) { + _httpAuthSchemes.push(httpAuthScheme); + } + else { + _httpAuthSchemes.splice(index, 1, httpAuthScheme); + } + }, + httpAuthSchemes() { + return _httpAuthSchemes; + }, + setHttpAuthSchemeProvider(httpAuthSchemeProvider) { + _httpAuthSchemeProvider = httpAuthSchemeProvider; + }, + httpAuthSchemeProvider() { + return _httpAuthSchemeProvider; + }, + setCredentials(credentials) { + _credentials = credentials; + }, + credentials() { + return _credentials; + }, + }; +}; +exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration; +const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; +}; +exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js new file mode 100644 index 0000000..132cce4 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js @@ -0,0 +1,62 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.resolveHttpAuthSchemeConfig = exports.resolveStsAuthConfig = exports.defaultSTSHttpAuthSchemeProvider = exports.defaultSTSHttpAuthSchemeParametersProvider = void 0; +const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); +const util_middleware_1 = require("@smithy/util-middleware"); +const STSClient_1 = require("../STSClient"); +const defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => { + return { + operation: (0, util_middleware_1.getSmithyContext)(context).operation, + region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) || + (() => { + throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); + })(), + }; +}; +exports.defaultSTSHttpAuthSchemeParametersProvider = defaultSTSHttpAuthSchemeParametersProvider; +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "sts", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createSmithyApiNoAuthHttpAuthOption(authParameters) { + return { + schemeId: "smithy.api#noAuth", + }; +} +const defaultSTSHttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + case "AssumeRoleWithWebIdentity": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; +}; +exports.defaultSTSHttpAuthSchemeProvider = defaultSTSHttpAuthSchemeProvider; +const resolveStsAuthConfig = (input) => Object.assign(input, { + stsClientCtor: STSClient_1.STSClient, +}); +exports.resolveStsAuthConfig = resolveStsAuthConfig; +const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = (0, exports.resolveStsAuthConfig)(config); + const config_1 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config_0); + return Object.assign(config_1, { + authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []), + }); +}; +exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js new file mode 100644 index 0000000..3aec6a5 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js @@ -0,0 +1,19 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.commonParams = exports.resolveClientEndpointParameters = void 0; +const resolveClientEndpointParameters = (options) => { + return Object.assign(options, { + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + useGlobalEndpoint: options.useGlobalEndpoint ?? false, + defaultSigningName: "sts", + }); +}; +exports.resolveClientEndpointParameters = resolveClientEndpointParameters; +exports.commonParams = { + UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js new file mode 100644 index 0000000..6bfb6e9 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js @@ -0,0 +1,18 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.defaultEndpointResolver = void 0; +const util_endpoints_1 = require("@aws-sdk/util-endpoints"); +const util_endpoints_2 = require("@smithy/util-endpoints"); +const ruleset_1 = require("./ruleset"); +const cache = new util_endpoints_2.EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS", "UseGlobalEndpoint"], +}); +const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +exports.defaultEndpointResolver = defaultEndpointResolver; +util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js new file mode 100644 index 0000000..66cb867 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js @@ -0,0 +1,145 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ruleSet = void 0; +const F = "required", G = "type", H = "fn", I = "argv", J = "ref"; +const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "string" }, n = { [F]: true, default: false, [G]: "boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], assign: "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = { + url: "https://sts.amazonaws.com", + properties: { authSchemes: [{ name: e, signingName: f, signingRegion: g }] }, + headers: {}, +}, v = {}, w = { conditions: [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y]; +const _data = { + version: "1.0", + parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, + rules: [ + { + conditions: [ + { [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, + { [H]: "not", [I]: C }, + p, + r, + { [H]: c, [I]: [s, a] }, + { [H]: c, [I]: [t, a] }, + ], + rules: [ + { conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h }, + w, + { conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h }, + { + endpoint: { + url: i, + properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] }, + headers: v, + }, + [G]: h, + }, + ], + [G]: j, + }, + { + conditions: C, + rules: [ + { conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, + { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, + { endpoint: { url: o, properties: v, headers: v }, [G]: h }, + ], + [G]: j, + }, + { + conditions: [p], + rules: [ + { + conditions: [r], + rules: [ + { + conditions: [x, y], + rules: [ + { + conditions: [{ [H]: c, [I]: [b, z] }, B], + rules: [ + { + endpoint: { + url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + properties: v, + headers: v, + }, + [G]: h, + }, + ], + [G]: j, + }, + { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }, + ], + [G]: j, + }, + { + conditions: D, + rules: [ + { + conditions: [{ [H]: c, [I]: [z, b] }], + rules: [ + { + conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }], + endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, + [G]: h, + }, + { + endpoint: { + url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", + properties: v, + headers: v, + }, + [G]: h, + }, + ], + [G]: j, + }, + { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }, + ], + [G]: j, + }, + { + conditions: E, + rules: [ + { + conditions: [B], + rules: [ + { + endpoint: { + url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", + properties: v, + headers: v, + }, + [G]: h, + }, + ], + [G]: j, + }, + { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }, + ], + [G]: j, + }, + w, + { endpoint: { url: i, properties: v, headers: v }, [G]: h }, + ], + [G]: j, + }, + ], + [G]: j, + }, + { error: "Invalid Configuration: Missing Region", [G]: k }, + ], +}; +exports.ruleSet = _data; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js new file mode 100644 index 0000000..2d1b3f5 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js @@ -0,0 +1,202 @@ +'use strict'; + +var STSClient = require('./STSClient'); +var smithyClient = require('@smithy/smithy-client'); +var middlewareEndpoint = require('@smithy/middleware-endpoint'); +var EndpointParameters = require('./endpoint/EndpointParameters'); +var schemas_0 = require('./schemas/schemas_0'); +var errors = require('./models/errors'); +var client = require('@aws-sdk/core/client'); +var regionConfigResolver = require('@aws-sdk/region-config-resolver'); +var STSServiceException = require('./models/STSServiceException'); + +class AssumeRoleCommand extends smithyClient.Command + .classBuilder() + .ep(EndpointParameters.commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AWSSecurityTokenServiceV20110615", "AssumeRole", {}) + .n("STSClient", "AssumeRoleCommand") + .sc(schemas_0.AssumeRole$) + .build() { +} + +class AssumeRoleWithWebIdentityCommand extends smithyClient.Command + .classBuilder() + .ep(EndpointParameters.commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {}) + .n("STSClient", "AssumeRoleWithWebIdentityCommand") + .sc(schemas_0.AssumeRoleWithWebIdentity$) + .build() { +} + +const commands = { + AssumeRoleCommand, + AssumeRoleWithWebIdentityCommand, +}; +class STS extends STSClient.STSClient { +} +smithyClient.createAggregatedClient(commands, STS); + +const getAccountIdFromAssumedRoleUser = (assumedRoleUser) => { + if (typeof assumedRoleUser?.Arn === "string") { + const arnComponents = assumedRoleUser.Arn.split(":"); + if (arnComponents.length > 4 && arnComponents[4] !== "") { + return arnComponents[4]; + } + } + return undefined; +}; +const resolveRegion = async (_region, _parentRegion, credentialProviderLogger, loaderConfig = {}) => { + const region = typeof _region === "function" ? await _region() : _region; + const parentRegion = typeof _parentRegion === "function" ? await _parentRegion() : _parentRegion; + let stsDefaultRegion = ""; + const resolvedRegion = region ?? parentRegion ?? (stsDefaultRegion = await regionConfigResolver.stsRegionDefaultResolver(loaderConfig)()); + credentialProviderLogger?.debug?.("@aws-sdk/client-sts::resolveRegion", "accepting first of:", `${region} (credential provider clientConfig)`, `${parentRegion} (contextual client)`, `${stsDefaultRegion} (STS default: AWS_REGION, profile region, or us-east-1)`); + return resolvedRegion; +}; +const getDefaultRoleAssumer$1 = (stsOptions, STSClient) => { + let stsClient; + let closureSourceCreds; + return async (sourceCreds, params) => { + closureSourceCreds = sourceCreds; + if (!stsClient) { + const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions; + const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, { + logger, + profile, + }); + const isCompatibleRequestHandler = !isH2(requestHandler); + stsClient = new STSClient({ + ...stsOptions, + userAgentAppId, + profile, + credentialDefaultProvider: () => async () => closureSourceCreds, + region: resolvedRegion, + requestHandler: isCompatibleRequestHandler ? requestHandler : undefined, + logger: logger, + }); + } + const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleCommand(params)); + if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) { + throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`); + } + const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser); + const credentials = { + accessKeyId: Credentials.AccessKeyId, + secretAccessKey: Credentials.SecretAccessKey, + sessionToken: Credentials.SessionToken, + expiration: Credentials.Expiration, + ...(Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope }), + ...(accountId && { accountId }), + }; + client.setCredentialFeature(credentials, "CREDENTIALS_STS_ASSUME_ROLE", "i"); + return credentials; + }; +}; +const getDefaultRoleAssumerWithWebIdentity$1 = (stsOptions, STSClient) => { + let stsClient; + return async (params) => { + if (!stsClient) { + const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions; + const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, { + logger, + profile, + }); + const isCompatibleRequestHandler = !isH2(requestHandler); + stsClient = new STSClient({ + ...stsOptions, + userAgentAppId, + profile, + region: resolvedRegion, + requestHandler: isCompatibleRequestHandler ? requestHandler : undefined, + logger: logger, + }); + } + const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params)); + if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) { + throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`); + } + const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser); + const credentials = { + accessKeyId: Credentials.AccessKeyId, + secretAccessKey: Credentials.SecretAccessKey, + sessionToken: Credentials.SessionToken, + expiration: Credentials.Expiration, + ...(Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope }), + ...(accountId && { accountId }), + }; + if (accountId) { + client.setCredentialFeature(credentials, "RESOLVED_ACCOUNT_ID", "T"); + } + client.setCredentialFeature(credentials, "CREDENTIALS_STS_ASSUME_ROLE_WEB_ID", "k"); + return credentials; + }; +}; +const isH2 = (requestHandler) => { + return requestHandler?.metadata?.handlerProtocol === "h2"; +}; + +const getCustomizableStsClientCtor = (baseCtor, customizations) => { + if (!customizations) + return baseCtor; + else + return class CustomizableSTSClient extends baseCtor { + constructor(config) { + super(config); + for (const customization of customizations) { + this.middlewareStack.use(customization); + } + } + }; +}; +const getDefaultRoleAssumer = (stsOptions = {}, stsPlugins) => getDefaultRoleAssumer$1(stsOptions, getCustomizableStsClientCtor(STSClient.STSClient, stsPlugins)); +const getDefaultRoleAssumerWithWebIdentity = (stsOptions = {}, stsPlugins) => getDefaultRoleAssumerWithWebIdentity$1(stsOptions, getCustomizableStsClientCtor(STSClient.STSClient, stsPlugins)); +const decorateDefaultCredentialProvider = (provider) => (input) => provider({ + roleAssumer: getDefaultRoleAssumer(input), + roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity(input), + ...input, +}); + +exports.$Command = smithyClient.Command; +exports.STSServiceException = STSServiceException.STSServiceException; +exports.AssumeRoleCommand = AssumeRoleCommand; +exports.AssumeRoleWithWebIdentityCommand = AssumeRoleWithWebIdentityCommand; +exports.STS = STS; +exports.decorateDefaultCredentialProvider = decorateDefaultCredentialProvider; +exports.getDefaultRoleAssumer = getDefaultRoleAssumer; +exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity; +Object.prototype.hasOwnProperty.call(STSClient, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: STSClient['__proto__'] + }); + +Object.keys(STSClient).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = STSClient[k]; +}); +Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: schemas_0['__proto__'] + }); + +Object.keys(schemas_0).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k]; +}); +Object.prototype.hasOwnProperty.call(errors, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: errors['__proto__'] + }); + +Object.keys(errors).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k]; +}); diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js new file mode 100644 index 0000000..0e7b68a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.STSServiceException = exports.__ServiceException = void 0; +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } }); +class STSServiceException extends smithy_client_1.ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, STSServiceException.prototype); + } +} +exports.STSServiceException = STSServiceException; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js new file mode 100644 index 0000000..72f2ac8 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js @@ -0,0 +1,95 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.IDPCommunicationErrorException = exports.InvalidIdentityTokenException = exports.IDPRejectedClaimException = exports.RegionDisabledException = exports.PackedPolicyTooLargeException = exports.MalformedPolicyDocumentException = exports.ExpiredTokenException = void 0; +const STSServiceException_1 = require("./STSServiceException"); +class ExpiredTokenException extends STSServiceException_1.STSServiceException { + name = "ExpiredTokenException"; + $fault = "client"; + constructor(opts) { + super({ + name: "ExpiredTokenException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ExpiredTokenException.prototype); + } +} +exports.ExpiredTokenException = ExpiredTokenException; +class MalformedPolicyDocumentException extends STSServiceException_1.STSServiceException { + name = "MalformedPolicyDocumentException"; + $fault = "client"; + constructor(opts) { + super({ + name: "MalformedPolicyDocumentException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype); + } +} +exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException; +class PackedPolicyTooLargeException extends STSServiceException_1.STSServiceException { + name = "PackedPolicyTooLargeException"; + $fault = "client"; + constructor(opts) { + super({ + name: "PackedPolicyTooLargeException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype); + } +} +exports.PackedPolicyTooLargeException = PackedPolicyTooLargeException; +class RegionDisabledException extends STSServiceException_1.STSServiceException { + name = "RegionDisabledException"; + $fault = "client"; + constructor(opts) { + super({ + name: "RegionDisabledException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, RegionDisabledException.prototype); + } +} +exports.RegionDisabledException = RegionDisabledException; +class IDPRejectedClaimException extends STSServiceException_1.STSServiceException { + name = "IDPRejectedClaimException"; + $fault = "client"; + constructor(opts) { + super({ + name: "IDPRejectedClaimException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, IDPRejectedClaimException.prototype); + } +} +exports.IDPRejectedClaimException = IDPRejectedClaimException; +class InvalidIdentityTokenException extends STSServiceException_1.STSServiceException { + name = "InvalidIdentityTokenException"; + $fault = "client"; + constructor(opts) { + super({ + name: "InvalidIdentityTokenException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype); + } +} +exports.InvalidIdentityTokenException = InvalidIdentityTokenException; +class IDPCommunicationErrorException extends STSServiceException_1.STSServiceException { + name = "IDPCommunicationErrorException"; + $fault = "client"; + constructor(opts) { + super({ + name: "IDPCommunicationErrorException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype); + } +} +exports.IDPCommunicationErrorException = IDPCommunicationErrorException; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.browser.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.browser.js new file mode 100644 index 0000000..10986e2 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.browser.js @@ -0,0 +1,39 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const tslib_1 = require("tslib"); +const package_json_1 = tslib_1.__importDefault(require("../../../package.json")); +const sha256_browser_1 = require("@aws-crypto/sha256-browser"); +const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser"); +const config_resolver_1 = require("@smithy/config-resolver"); +const fetch_http_handler_1 = require("@smithy/fetch-http-handler"); +const invalid_dependency_1 = require("@smithy/invalid-dependency"); +const smithy_client_1 = require("@smithy/smithy-client"); +const util_body_length_browser_1 = require("@smithy/util-body-length-browser"); +const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser"); +const util_retry_1 = require("@smithy/util-retry"); +const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); +const getRuntimeConfig = (config) => { + const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config); + const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); + const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + return { + ...clientSharedValues, + ...config, + runtime: "browser", + defaultsMode, + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength, + credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))), + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS, + region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"), + requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE), + sha256: config?.sha256 ?? sha256_browser_1.Sha256, + streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)), + useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js new file mode 100644 index 0000000..4d56dd6 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js @@ -0,0 +1,68 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const tslib_1 = require("tslib"); +const package_json_1 = tslib_1.__importDefault(require("../../../package.json")); +const client_1 = require("@aws-sdk/core/client"); +const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); +const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node"); +const config_resolver_1 = require("@smithy/config-resolver"); +const core_1 = require("@smithy/core"); +const hash_node_1 = require("@smithy/hash-node"); +const middleware_retry_1 = require("@smithy/middleware-retry"); +const node_config_provider_1 = require("@smithy/node-config-provider"); +const node_http_handler_1 = require("@smithy/node-http-handler"); +const smithy_client_1 = require("@smithy/smithy-client"); +const util_body_length_node_1 = require("@smithy/util-body-length-node"); +const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node"); +const util_retry_1 = require("@smithy/util-retry"); +const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); +const getRuntimeConfig = (config) => { + (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version); + const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config); + const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); + const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + (0, client_1.emitWarningIfUnsupportedVersion)(process.version); + const loaderConfig = { + profile: config?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") || + (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()), + signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new core_1.NoAuthSigner(), + }, + ], + maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), + region: config?.region ?? + (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? + (0, node_config_provider_1.loadConfig)({ + ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE, + }, config), + sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"), + streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.native.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.native.js new file mode 100644 index 0000000..34c5f8e --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.native.js @@ -0,0 +1,15 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const sha256_js_1 = require("@aws-crypto/sha256-js"); +const runtimeConfig_browser_1 = require("./runtimeConfig.browser"); +const getRuntimeConfig = (config) => { + const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config); + return { + ...browserDefaults, + ...config, + runtime: "react-native", + sha256: config?.sha256 ?? sha256_js_1.Sha256, + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js new file mode 100644 index 0000000..9d99445 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js @@ -0,0 +1,50 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRuntimeConfig = void 0; +const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); +const protocols_1 = require("@aws-sdk/core/protocols"); +const core_1 = require("@smithy/core"); +const smithy_client_1 = require("@smithy/smithy-client"); +const url_parser_1 = require("@smithy/url-parser"); +const util_base64_1 = require("@smithy/util-base64"); +const util_utf8_1 = require("@smithy/util-utf8"); +const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider"); +const endpointResolver_1 = require("./endpoint/endpointResolver"); +const schemas_0_1 = require("./schemas/schemas_0"); +const getRuntimeConfig = (config) => { + return { + apiVersion: "2011-06-15", + base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, + base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, + extensions: config?.extensions ?? [], + httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new core_1.NoAuthSigner(), + }, + ], + logger: config?.logger ?? new smithy_client_1.NoOpLogger(), + protocol: config?.protocol ?? protocols_1.AwsQueryProtocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.sts", + errorTypeRegistries: schemas_0_1.errorTypeRegistries, + xmlNamespace: "https://sts.amazonaws.com/doc/2011-06-15/", + version: "2011-06-15", + serviceTarget: "AWSSecurityTokenServiceV20110615", + }, + serviceId: config?.serviceId ?? "STS", + urlParser: config?.urlParser ?? url_parser_1.parseUrl, + utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, + utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8, + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js new file mode 100644 index 0000000..a50ebec --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js @@ -0,0 +1,13 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.resolveRuntimeExtensions = void 0; +const region_config_resolver_1 = require("@aws-sdk/region-config-resolver"); +const protocol_http_1 = require("@smithy/protocol-http"); +const smithy_client_1 = require("@smithy/smithy-client"); +const httpAuthExtensionConfiguration_1 = require("./auth/httpAuthExtensionConfiguration"); +const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(runtimeConfig, (0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration)); +}; +exports.resolveRuntimeExtensions = resolveRuntimeExtensions; diff --git a/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js new file mode 100644 index 0000000..2030a47 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js @@ -0,0 +1,195 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AssumeRoleWithWebIdentity$ = exports.AssumeRole$ = exports.Tag$ = exports.ProvidedContext$ = exports.PolicyDescriptorType$ = exports.Credentials$ = exports.AssumeRoleWithWebIdentityResponse$ = exports.AssumeRoleWithWebIdentityRequest$ = exports.AssumeRoleResponse$ = exports.AssumeRoleRequest$ = exports.AssumedRoleUser$ = exports.errorTypeRegistries = exports.RegionDisabledException$ = exports.PackedPolicyTooLargeException$ = exports.MalformedPolicyDocumentException$ = exports.InvalidIdentityTokenException$ = exports.IDPRejectedClaimException$ = exports.IDPCommunicationErrorException$ = exports.ExpiredTokenException$ = exports.STSServiceException$ = void 0; +const _A = "Arn"; +const _AKI = "AccessKeyId"; +const _AR = "AssumeRole"; +const _ARI = "AssumedRoleId"; +const _ARR = "AssumeRoleRequest"; +const _ARRs = "AssumeRoleResponse"; +const _ARU = "AssumedRoleUser"; +const _ARWWI = "AssumeRoleWithWebIdentity"; +const _ARWWIR = "AssumeRoleWithWebIdentityRequest"; +const _ARWWIRs = "AssumeRoleWithWebIdentityResponse"; +const _Au = "Audience"; +const _C = "Credentials"; +const _CA = "ContextAssertion"; +const _DS = "DurationSeconds"; +const _E = "Expiration"; +const _EI = "ExternalId"; +const _ETE = "ExpiredTokenException"; +const _IDPCEE = "IDPCommunicationErrorException"; +const _IDPRCE = "IDPRejectedClaimException"; +const _IITE = "InvalidIdentityTokenException"; +const _K = "Key"; +const _MPDE = "MalformedPolicyDocumentException"; +const _P = "Policy"; +const _PA = "PolicyArns"; +const _PAr = "ProviderArn"; +const _PC = "ProvidedContexts"; +const _PCLT = "ProvidedContextsListType"; +const _PCr = "ProvidedContext"; +const _PDT = "PolicyDescriptorType"; +const _PI = "ProviderId"; +const _PPS = "PackedPolicySize"; +const _PPTLE = "PackedPolicyTooLargeException"; +const _Pr = "Provider"; +const _RA = "RoleArn"; +const _RDE = "RegionDisabledException"; +const _RSN = "RoleSessionName"; +const _SAK = "SecretAccessKey"; +const _SFWIT = "SubjectFromWebIdentityToken"; +const _SI = "SourceIdentity"; +const _SN = "SerialNumber"; +const _ST = "SessionToken"; +const _T = "Tags"; +const _TC = "TokenCode"; +const _TTK = "TransitiveTagKeys"; +const _Ta = "Tag"; +const _V = "Value"; +const _WIT = "WebIdentityToken"; +const _a = "arn"; +const _aKST = "accessKeySecretType"; +const _aQE = "awsQueryError"; +const _c = "client"; +const _cTT = "clientTokenType"; +const _e = "error"; +const _hE = "httpError"; +const _m = "message"; +const _pDLT = "policyDescriptorListType"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sts"; +const _tLT = "tagListType"; +const n0 = "com.amazonaws.sts"; +const schema_1 = require("@smithy/core/schema"); +const errors_1 = require("../models/errors"); +const STSServiceException_1 = require("../models/STSServiceException"); +const _s_registry = schema_1.TypeRegistry.for(_s); +exports.STSServiceException$ = [-3, _s, "STSServiceException", 0, [], []]; +_s_registry.registerError(exports.STSServiceException$, STSServiceException_1.STSServiceException); +const n0_registry = schema_1.TypeRegistry.for(n0); +exports.ExpiredTokenException$ = [ + -3, + n0, + _ETE, + { [_aQE]: [`ExpiredTokenException`, 400], [_e]: _c, [_hE]: 400 }, + [_m], + [0], +]; +n0_registry.registerError(exports.ExpiredTokenException$, errors_1.ExpiredTokenException); +exports.IDPCommunicationErrorException$ = [ + -3, + n0, + _IDPCEE, + { [_aQE]: [`IDPCommunicationError`, 400], [_e]: _c, [_hE]: 400 }, + [_m], + [0], +]; +n0_registry.registerError(exports.IDPCommunicationErrorException$, errors_1.IDPCommunicationErrorException); +exports.IDPRejectedClaimException$ = [ + -3, + n0, + _IDPRCE, + { [_aQE]: [`IDPRejectedClaim`, 403], [_e]: _c, [_hE]: 403 }, + [_m], + [0], +]; +n0_registry.registerError(exports.IDPRejectedClaimException$, errors_1.IDPRejectedClaimException); +exports.InvalidIdentityTokenException$ = [ + -3, + n0, + _IITE, + { [_aQE]: [`InvalidIdentityToken`, 400], [_e]: _c, [_hE]: 400 }, + [_m], + [0], +]; +n0_registry.registerError(exports.InvalidIdentityTokenException$, errors_1.InvalidIdentityTokenException); +exports.MalformedPolicyDocumentException$ = [ + -3, + n0, + _MPDE, + { [_aQE]: [`MalformedPolicyDocument`, 400], [_e]: _c, [_hE]: 400 }, + [_m], + [0], +]; +n0_registry.registerError(exports.MalformedPolicyDocumentException$, errors_1.MalformedPolicyDocumentException); +exports.PackedPolicyTooLargeException$ = [ + -3, + n0, + _PPTLE, + { [_aQE]: [`PackedPolicyTooLarge`, 400], [_e]: _c, [_hE]: 400 }, + [_m], + [0], +]; +n0_registry.registerError(exports.PackedPolicyTooLargeException$, errors_1.PackedPolicyTooLargeException); +exports.RegionDisabledException$ = [ + -3, + n0, + _RDE, + { [_aQE]: [`RegionDisabledException`, 403], [_e]: _c, [_hE]: 403 }, + [_m], + [0], +]; +n0_registry.registerError(exports.RegionDisabledException$, errors_1.RegionDisabledException); +exports.errorTypeRegistries = [_s_registry, n0_registry]; +var accessKeySecretType = [0, n0, _aKST, 8, 0]; +var clientTokenType = [0, n0, _cTT, 8, 0]; +exports.AssumedRoleUser$ = [3, n0, _ARU, 0, [_ARI, _A], [0, 0], 2]; +exports.AssumeRoleRequest$ = [ + 3, + n0, + _ARR, + 0, + [_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC], + [0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType], + 2, +]; +exports.AssumeRoleResponse$ = [ + 3, + n0, + _ARRs, + 0, + [_C, _ARU, _PPS, _SI], + [[() => exports.Credentials$, 0], () => exports.AssumedRoleUser$, 1, 0], +]; +exports.AssumeRoleWithWebIdentityRequest$ = [ + 3, + n0, + _ARWWIR, + 0, + [_RA, _RSN, _WIT, _PI, _PA, _P, _DS], + [0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1], + 3, +]; +exports.AssumeRoleWithWebIdentityResponse$ = [ + 3, + n0, + _ARWWIRs, + 0, + [_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI], + [[() => exports.Credentials$, 0], 0, () => exports.AssumedRoleUser$, 1, 0, 0, 0], +]; +exports.Credentials$ = [ + 3, + n0, + _C, + 0, + [_AKI, _SAK, _ST, _E], + [0, [() => accessKeySecretType, 0], 0, 4], + 4, +]; +exports.PolicyDescriptorType$ = [3, n0, _PDT, 0, [_a], [0]]; +exports.ProvidedContext$ = [3, n0, _PCr, 0, [_PAr, _CA], [0, 0]]; +exports.Tag$ = [3, n0, _Ta, 0, [_K, _V], [0, 0], 2]; +var policyDescriptorListType = [1, n0, _pDLT, 0, () => exports.PolicyDescriptorType$]; +var ProvidedContextsListType = [1, n0, _PCLT, 0, () => exports.ProvidedContext$]; +var tagKeyListType = 64 | 0; +var tagListType = [1, n0, _tLT, 0, () => exports.Tag$]; +exports.AssumeRole$ = [9, n0, _AR, 0, () => exports.AssumeRoleRequest$, () => exports.AssumeRoleResponse$]; +exports.AssumeRoleWithWebIdentity$ = [ + 9, + n0, + _ARWWI, + 0, + () => exports.AssumeRoleWithWebIdentityRequest$, + () => exports.AssumeRoleWithWebIdentityResponse$, +]; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/index.js b/node_modules/@aws-sdk/nested-clients/dist-es/index.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/index.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js new file mode 100644 index 0000000..efdf096 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js @@ -0,0 +1,11 @@ +import { createAggregatedClient } from "@smithy/smithy-client"; +import { CognitoIdentityClient } from "./CognitoIdentityClient"; +import { GetCredentialsForIdentityCommand, } from "./commands/GetCredentialsForIdentityCommand"; +import { GetIdCommand } from "./commands/GetIdCommand"; +const commands = { + GetCredentialsForIdentityCommand, + GetIdCommand, +}; +export class CognitoIdentity extends CognitoIdentityClient { +} +createAggregatedClient(commands, CognitoIdentity); diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js new file mode 100644 index 0000000..cfe0de0 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js @@ -0,0 +1,50 @@ +import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header"; +import { getLoggerPlugin } from "@aws-sdk/middleware-logger"; +import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection"; +import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent"; +import { resolveRegionConfig } from "@smithy/config-resolver"; +import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core"; +import { getSchemaSerdePlugin } from "@smithy/core/schema"; +import { getContentLengthPlugin } from "@smithy/middleware-content-length"; +import { resolveEndpointConfig, } from "@smithy/middleware-endpoint"; +import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry"; +import { Client as __Client, } from "@smithy/smithy-client"; +import { defaultCognitoIdentityHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider"; +import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters"; +import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig"; +import { resolveRuntimeExtensions } from "./runtimeExtensions"; +export { __Client }; +export class CognitoIdentityClient extends __Client { + config; + constructor(...[configuration]) { + const _config_0 = __getRuntimeConfig(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = resolveClientEndpointParameters(_config_0); + const _config_2 = resolveUserAgentConfig(_config_1); + const _config_3 = resolveRetryConfig(_config_2); + const _config_4 = resolveRegionConfig(_config_3); + const _config_5 = resolveHostHeaderConfig(_config_4); + const _config_6 = resolveEndpointConfig(_config_5); + const _config_7 = resolveHttpAuthSchemeConfig(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); + this.config = _config_8; + this.middlewareStack.use(getSchemaSerdePlugin(this.config)); + this.middlewareStack.use(getUserAgentPlugin(this.config)); + this.middlewareStack.use(getRetryPlugin(this.config)); + this.middlewareStack.use(getContentLengthPlugin(this.config)); + this.middlewareStack.use(getHostHeaderPlugin(this.config)); + this.middlewareStack.use(getLoggerPlugin(this.config)); + this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); + this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { + httpAuthSchemeParametersProvider: defaultCognitoIdentityHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + }), + })); + this.middlewareStack.use(getHttpSigningPlugin(this.config)); + } + destroy() { + super.destroy(); + } +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.js new file mode 100644 index 0000000..2ba1d48 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.js @@ -0,0 +1,38 @@ +export const getHttpAuthExtensionConfiguration = (runtimeConfig) => { + const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; + let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; + let _credentials = runtimeConfig.credentials; + return { + setHttpAuthScheme(httpAuthScheme) { + const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); + if (index === -1) { + _httpAuthSchemes.push(httpAuthScheme); + } + else { + _httpAuthSchemes.splice(index, 1, httpAuthScheme); + } + }, + httpAuthSchemes() { + return _httpAuthSchemes; + }, + setHttpAuthSchemeProvider(httpAuthSchemeProvider) { + _httpAuthSchemeProvider = httpAuthSchemeProvider; + }, + httpAuthSchemeProvider() { + return _httpAuthSchemeProvider; + }, + setCredentials(credentials) { + _credentials = credentials; + }, + credentials() { + return _credentials; + }, + }; +}; +export const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js new file mode 100644 index 0000000..7840ee0 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js @@ -0,0 +1,54 @@ +import { resolveAwsSdkSigV4Config } from "@aws-sdk/core/httpAuthSchemes"; +import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware"; +export const defaultCognitoIdentityHttpAuthSchemeParametersProvider = async (config, context, input) => { + return { + operation: getSmithyContext(context).operation, + region: (await normalizeProvider(config.region)()) || + (() => { + throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); + })(), + }; +}; +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "cognito-identity", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createSmithyApiNoAuthHttpAuthOption(authParameters) { + return { + schemeId: "smithy.api#noAuth", + }; +} +export const defaultCognitoIdentityHttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + case "GetCredentialsForIdentity": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + case "GetId": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; +}; +export const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = resolveAwsSdkSigV4Config(config); + return Object.assign(config_0, { + authSchemePreference: normalizeProvider(config.authSchemePreference ?? []), + }); +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js new file mode 100644 index 0000000..4c9e29f --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js @@ -0,0 +1,16 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetCredentialsForIdentity$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetCredentialsForIdentityCommand extends $Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AWSCognitoIdentityService", "GetCredentialsForIdentity", {}) + .n("CognitoIdentityClient", "GetCredentialsForIdentityCommand") + .sc(GetCredentialsForIdentity$) + .build() { +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js new file mode 100644 index 0000000..3125405 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js @@ -0,0 +1,16 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetId$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetIdCommand extends $Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AWSCognitoIdentityService", "GetId", {}) + .n("CognitoIdentityClient", "GetIdCommand") + .sc(GetId$) + .build() { +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/index.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/index.js new file mode 100644 index 0000000..dc560a4 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/index.js @@ -0,0 +1,2 @@ +export * from "./GetCredentialsForIdentityCommand"; +export * from "./GetIdCommand"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/EndpointParameters.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/EndpointParameters.js new file mode 100644 index 0000000..9cc09f0 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/EndpointParameters.js @@ -0,0 +1,13 @@ +export const resolveClientEndpointParameters = (options) => { + return Object.assign(options, { + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + defaultSigningName: "cognito-identity", + }); +}; +export const commonParams = { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/endpointResolver.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/endpointResolver.js new file mode 100644 index 0000000..0ac15bc --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/endpointResolver.js @@ -0,0 +1,14 @@ +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints"; +import { ruleSet } from "./ruleset"; +const cache = new EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], +}); +export const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => resolveEndpoint(ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js new file mode 100644 index 0000000..ad1ec5a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js @@ -0,0 +1,143 @@ +const w = "required", x = "fn", y = "argv", z = "ref"; +const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = "stringEquals", j = { [w]: false, type: "string" }, k = { [w]: true, default: false, type: "boolean" }, l = { [z]: "Endpoint" }, m = { [x]: c, [y]: [{ [z]: "UseFIPS" }, true] }, n = { [x]: c, [y]: [{ [z]: "UseDualStack" }, true] }, o = {}, p = { [z]: "Region" }, q = { [x]: h, [y]: [{ [z]: g }, "supportsFIPS"] }, r = { [z]: g }, s = { [x]: c, [y]: [true, { [x]: h, [y]: [r, "supportsDualStack"] }] }, t = [m], u = [n], v = [p]; +const _data = { + version: "1.0", + parameters: { Region: j, UseDualStack: k, UseFIPS: k, Endpoint: j }, + rules: [ + { + conditions: [{ [x]: b, [y]: [l] }], + rules: [ + { conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, + { conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, + { endpoint: { url: l, properties: o, headers: o }, type: e }, + ], + type: f, + }, + { + conditions: [{ [x]: b, [y]: v }], + rules: [ + { + conditions: [{ [x]: "aws.partition", [y]: v, assign: g }], + rules: [ + { + conditions: [m, n], + rules: [ + { + conditions: [{ [x]: c, [y]: [a, q] }, s], + rules: [ + { + conditions: [{ [x]: i, [y]: [p, "us-east-1"] }], + endpoint: { + url: "https://cognito-identity-fips.us-east-1.amazonaws.com", + properties: o, + headers: o, + }, + type: e, + }, + { + conditions: [{ [x]: i, [y]: [p, "us-east-2"] }], + endpoint: { + url: "https://cognito-identity-fips.us-east-2.amazonaws.com", + properties: o, + headers: o, + }, + type: e, + }, + { + conditions: [{ [x]: i, [y]: [p, "us-west-1"] }], + endpoint: { + url: "https://cognito-identity-fips.us-west-1.amazonaws.com", + properties: o, + headers: o, + }, + type: e, + }, + { + conditions: [{ [x]: i, [y]: [p, "us-west-2"] }], + endpoint: { + url: "https://cognito-identity-fips.us-west-2.amazonaws.com", + properties: o, + headers: o, + }, + type: e, + }, + { + endpoint: { + url: "https://cognito-identity-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + properties: o, + headers: o, + }, + type: e, + }, + ], + type: f, + }, + { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }, + ], + type: f, + }, + { + conditions: t, + rules: [ + { + conditions: [{ [x]: c, [y]: [q, a] }], + rules: [ + { + endpoint: { + url: "https://cognito-identity-fips.{Region}.{PartitionResult#dnsSuffix}", + properties: o, + headers: o, + }, + type: e, + }, + ], + type: f, + }, + { error: "FIPS is enabled but this partition does not support FIPS", type: d }, + ], + type: f, + }, + { + conditions: u, + rules: [ + { + conditions: [s], + rules: [ + { + conditions: [{ [x]: i, [y]: ["aws", { [x]: h, [y]: [r, "name"] }] }], + endpoint: { url: "https://cognito-identity.{Region}.amazonaws.com", properties: o, headers: o }, + type: e, + }, + { + endpoint: { + url: "https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}", + properties: o, + headers: o, + }, + type: e, + }, + ], + type: f, + }, + { error: "DualStack is enabled but this partition does not support DualStack", type: d }, + ], + type: f, + }, + { + endpoint: { + url: "https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}", + properties: o, + headers: o, + }, + type: e, + }, + ], + type: f, + }, + ], + type: f, + }, + { error: "Invalid Configuration: Missing Region", type: d }, + ], +}; +export const ruleSet = _data; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/extensionConfiguration.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/extensionConfiguration.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/extensionConfiguration.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/index.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/index.js new file mode 100644 index 0000000..0fa6157 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/index.js @@ -0,0 +1,7 @@ +export * from "./CognitoIdentityClient"; +export * from "./CognitoIdentity"; +export * from "./commands"; +export * from "./schemas/schemas_0"; +export * from "./models/errors"; +export * from "./models/models_0"; +export { CognitoIdentityServiceException } from "./models/CognitoIdentityServiceException"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js new file mode 100644 index 0000000..09c7613 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js @@ -0,0 +1,8 @@ +import { ServiceException as __ServiceException, } from "@smithy/smithy-client"; +export { __ServiceException }; +export class CognitoIdentityServiceException extends __ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, CognitoIdentityServiceException.prototype); + } +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/errors.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/errors.js new file mode 100644 index 0000000..2f386d9 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/errors.js @@ -0,0 +1,109 @@ +import { CognitoIdentityServiceException as __BaseException } from "./CognitoIdentityServiceException"; +export class ExternalServiceException extends __BaseException { + name = "ExternalServiceException"; + $fault = "client"; + constructor(opts) { + super({ + name: "ExternalServiceException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ExternalServiceException.prototype); + } +} +export class InternalErrorException extends __BaseException { + name = "InternalErrorException"; + $fault = "server"; + constructor(opts) { + super({ + name: "InternalErrorException", + $fault: "server", + ...opts, + }); + Object.setPrototypeOf(this, InternalErrorException.prototype); + } +} +export class InvalidIdentityPoolConfigurationException extends __BaseException { + name = "InvalidIdentityPoolConfigurationException"; + $fault = "client"; + constructor(opts) { + super({ + name: "InvalidIdentityPoolConfigurationException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidIdentityPoolConfigurationException.prototype); + } +} +export class InvalidParameterException extends __BaseException { + name = "InvalidParameterException"; + $fault = "client"; + constructor(opts) { + super({ + name: "InvalidParameterException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidParameterException.prototype); + } +} +export class NotAuthorizedException extends __BaseException { + name = "NotAuthorizedException"; + $fault = "client"; + constructor(opts) { + super({ + name: "NotAuthorizedException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, NotAuthorizedException.prototype); + } +} +export class ResourceConflictException extends __BaseException { + name = "ResourceConflictException"; + $fault = "client"; + constructor(opts) { + super({ + name: "ResourceConflictException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ResourceConflictException.prototype); + } +} +export class ResourceNotFoundException extends __BaseException { + name = "ResourceNotFoundException"; + $fault = "client"; + constructor(opts) { + super({ + name: "ResourceNotFoundException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ResourceNotFoundException.prototype); + } +} +export class TooManyRequestsException extends __BaseException { + name = "TooManyRequestsException"; + $fault = "client"; + constructor(opts) { + super({ + name: "TooManyRequestsException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, TooManyRequestsException.prototype); + } +} +export class LimitExceededException extends __BaseException { + name = "LimitExceededException"; + $fault = "client"; + constructor(opts) { + super({ + name: "LimitExceededException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, LimitExceededException.prototype); + } +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/models_0.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/models_0.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/models_0.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js new file mode 100644 index 0000000..d147235 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js @@ -0,0 +1,33 @@ +import packageInfo from "../../../package.json"; +import { Sha256 } from "@aws-crypto/sha256-browser"; +import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser"; +import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver"; +import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler"; +import { invalidProvider } from "@smithy/invalid-dependency"; +import { loadConfigsForDefaultMode } from "@smithy/smithy-client"; +import { calculateBodyLength } from "@smithy/util-body-length-browser"; +import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser"; +import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry"; +import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; +export const getRuntimeConfig = (config) => { + const defaultsMode = resolveDefaultsModeConfig(config); + const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); + const clientSharedValues = getSharedRuntimeConfig(config); + return { + ...clientSharedValues, + ...config, + runtime: "browser", + defaultsMode, + bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), + maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, + region: config?.region ?? invalidProvider("Region is missing"), + requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE), + sha256: config?.sha256 ?? Sha256, + streamCollector: config?.streamCollector ?? streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)), + useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)), + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js new file mode 100644 index 0000000..95d5f98 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js @@ -0,0 +1,49 @@ +import packageInfo from "../../../package.json"; +import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client"; +import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes"; +import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node"; +import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver"; +import { Hash } from "@smithy/hash-node"; +import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry"; +import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider"; +import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler"; +import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client"; +import { calculateBodyLength } from "@smithy/util-body-length-node"; +import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node"; +import { DEFAULT_RETRY_MODE } from "@smithy/util-retry"; +import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; +export const getRuntimeConfig = (config) => { + emitWarningIfUnsupportedVersion(process.version); + const defaultsMode = resolveDefaultsModeConfig(config); + const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); + const clientSharedValues = getSharedRuntimeConfig(config); + awsCheckVersion(process.version); + const loaderConfig = { + profile: config?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), + maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), + region: config?.region ?? + loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? + loadNodeConfig({ + ...NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, + }, config), + sha256: config?.sha256 ?? Hash.bind(null, "sha256"), + streamCollector: config?.streamCollector ?? streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.native.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.native.js new file mode 100644 index 0000000..0b54695 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.native.js @@ -0,0 +1,11 @@ +import { Sha256 } from "@aws-crypto/sha256-js"; +import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser"; +export const getRuntimeConfig = (config) => { + const browserDefaults = getBrowserRuntimeConfig(config); + return { + ...browserDefaults, + ...config, + runtime: "react-native", + sha256: config?.sha256 ?? Sha256, + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js new file mode 100644 index 0000000..9f2955f --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js @@ -0,0 +1,46 @@ +import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; +import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols"; +import { NoAuthSigner } from "@smithy/core"; +import { NoOpLogger } from "@smithy/smithy-client"; +import { parseUrl } from "@smithy/url-parser"; +import { fromBase64, toBase64 } from "@smithy/util-base64"; +import { fromUtf8, toUtf8 } from "@smithy/util-utf8"; +import { defaultCognitoIdentityHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider"; +import { defaultEndpointResolver } from "./endpoint/endpointResolver"; +import { errorTypeRegistries } from "./schemas/schemas_0"; +export const getRuntimeConfig = (config) => { + return { + apiVersion: "2014-06-30", + base64Decoder: config?.base64Decoder ?? fromBase64, + base64Encoder: config?.base64Encoder ?? toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, + extensions: config?.extensions ?? [], + httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultCognitoIdentityHttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new NoAuthSigner(), + }, + ], + logger: config?.logger ?? new NoOpLogger(), + protocol: config?.protocol ?? AwsJson1_1Protocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.cognitoidentity", + errorTypeRegistries, + xmlNamespace: "http://cognito-identity.amazonaws.com/doc/2014-06-30/", + version: "2014-06-30", + serviceTarget: "AWSCognitoIdentityService", + }, + serviceId: config?.serviceId ?? "Cognito Identity", + urlParser: config?.urlParser ?? parseUrl, + utf8Decoder: config?.utf8Decoder ?? fromUtf8, + utf8Encoder: config?.utf8Encoder ?? toUtf8, + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeExtensions.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeExtensions.js new file mode 100644 index 0000000..5b29695 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeExtensions.js @@ -0,0 +1,9 @@ +import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver"; +import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http"; +import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client"; +import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration"; +export const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js new file mode 100644 index 0000000..d69ca87 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js @@ -0,0 +1,107 @@ +const _AI = "AccountId"; +const _AKI = "AccessKeyId"; +const _C = "Credentials"; +const _CRA = "CustomRoleArn"; +const _E = "Expiration"; +const _ESE = "ExternalServiceException"; +const _GCFI = "GetCredentialsForIdentity"; +const _GCFII = "GetCredentialsForIdentityInput"; +const _GCFIR = "GetCredentialsForIdentityResponse"; +const _GI = "GetId"; +const _GII = "GetIdInput"; +const _GIR = "GetIdResponse"; +const _IEE = "InternalErrorException"; +const _II = "IdentityId"; +const _IIPCE = "InvalidIdentityPoolConfigurationException"; +const _IPE = "InvalidParameterException"; +const _IPI = "IdentityPoolId"; +const _IPT = "IdentityProviderToken"; +const _L = "Logins"; +const _LEE = "LimitExceededException"; +const _LM = "LoginsMap"; +const _NAE = "NotAuthorizedException"; +const _RCE = "ResourceConflictException"; +const _RNFE = "ResourceNotFoundException"; +const _SK = "SecretKey"; +const _SKS = "SecretKeyString"; +const _ST = "SessionToken"; +const _TMRE = "TooManyRequestsException"; +const _c = "client"; +const _e = "error"; +const _hE = "httpError"; +const _m = "message"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.cognitoidentity"; +const _se = "server"; +const n0 = "com.amazonaws.cognitoidentity"; +import { TypeRegistry } from "@smithy/core/schema"; +import { CognitoIdentityServiceException } from "../models/CognitoIdentityServiceException"; +import { ExternalServiceException, InternalErrorException, InvalidIdentityPoolConfigurationException, InvalidParameterException, LimitExceededException, NotAuthorizedException, ResourceConflictException, ResourceNotFoundException, TooManyRequestsException, } from "../models/errors"; +const _s_registry = TypeRegistry.for(_s); +export var CognitoIdentityServiceException$ = [-3, _s, "CognitoIdentityServiceException", 0, [], []]; +_s_registry.registerError(CognitoIdentityServiceException$, CognitoIdentityServiceException); +const n0_registry = TypeRegistry.for(n0); +export var ExternalServiceException$ = [-3, n0, _ESE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; +n0_registry.registerError(ExternalServiceException$, ExternalServiceException); +export var InternalErrorException$ = [-3, n0, _IEE, { [_e]: _se }, [_m], [0]]; +n0_registry.registerError(InternalErrorException$, InternalErrorException); +export var InvalidIdentityPoolConfigurationException$ = [ + -3, + n0, + _IIPCE, + { [_e]: _c, [_hE]: 400 }, + [_m], + [0], +]; +n0_registry.registerError(InvalidIdentityPoolConfigurationException$, InvalidIdentityPoolConfigurationException); +export var InvalidParameterException$ = [-3, n0, _IPE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; +n0_registry.registerError(InvalidParameterException$, InvalidParameterException); +export var LimitExceededException$ = [-3, n0, _LEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; +n0_registry.registerError(LimitExceededException$, LimitExceededException); +export var NotAuthorizedException$ = [-3, n0, _NAE, { [_e]: _c, [_hE]: 403 }, [_m], [0]]; +n0_registry.registerError(NotAuthorizedException$, NotAuthorizedException); +export var ResourceConflictException$ = [-3, n0, _RCE, { [_e]: _c, [_hE]: 409 }, [_m], [0]]; +n0_registry.registerError(ResourceConflictException$, ResourceConflictException); +export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]]; +n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException); +export var TooManyRequestsException$ = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_m], [0]]; +n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException); +export const errorTypeRegistries = [_s_registry, n0_registry]; +var IdentityProviderToken = [0, n0, _IPT, 8, 0]; +var SecretKeyString = [0, n0, _SKS, 8, 0]; +export var Credentials$ = [ + 3, + n0, + _C, + 0, + [_AKI, _SK, _ST, _E], + [0, [() => SecretKeyString, 0], 0, 4], +]; +export var GetCredentialsForIdentityInput$ = [ + 3, + n0, + _GCFII, + 0, + [_II, _L, _CRA], + [0, [() => LoginsMap, 0], 0], + 1, +]; +export var GetCredentialsForIdentityResponse$ = [ + 3, + n0, + _GCFIR, + 0, + [_II, _C], + [0, [() => Credentials$, 0]], +]; +export var GetIdInput$ = [3, n0, _GII, 0, [_IPI, _AI, _L], [0, 0, [() => LoginsMap, 0]], 1]; +export var GetIdResponse$ = [3, n0, _GIR, 0, [_II], [0]]; +var LoginsMap = [2, n0, _LM, 0, [0, 0], [() => IdentityProviderToken, 0]]; +export var GetCredentialsForIdentity$ = [ + 9, + n0, + _GCFI, + 0, + () => GetCredentialsForIdentityInput$, + () => GetCredentialsForIdentityResponse$, +]; +export var GetId$ = [9, n0, _GI, 0, () => GetIdInput$, () => GetIdResponse$]; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js new file mode 100644 index 0000000..5bfcd7f --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js @@ -0,0 +1,9 @@ +import { createAggregatedClient } from "@smithy/smithy-client"; +import { CreateOAuth2TokenCommand, } from "./commands/CreateOAuth2TokenCommand"; +import { SigninClient } from "./SigninClient"; +const commands = { + CreateOAuth2TokenCommand, +}; +export class Signin extends SigninClient { +} +createAggregatedClient(commands, Signin); diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js new file mode 100644 index 0000000..4cf6ef5 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js @@ -0,0 +1,50 @@ +import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header"; +import { getLoggerPlugin } from "@aws-sdk/middleware-logger"; +import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection"; +import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent"; +import { resolveRegionConfig } from "@smithy/config-resolver"; +import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core"; +import { getSchemaSerdePlugin } from "@smithy/core/schema"; +import { getContentLengthPlugin } from "@smithy/middleware-content-length"; +import { resolveEndpointConfig, } from "@smithy/middleware-endpoint"; +import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry"; +import { Client as __Client, } from "@smithy/smithy-client"; +import { defaultSigninHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider"; +import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters"; +import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig"; +import { resolveRuntimeExtensions } from "./runtimeExtensions"; +export { __Client }; +export class SigninClient extends __Client { + config; + constructor(...[configuration]) { + const _config_0 = __getRuntimeConfig(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = resolveClientEndpointParameters(_config_0); + const _config_2 = resolveUserAgentConfig(_config_1); + const _config_3 = resolveRetryConfig(_config_2); + const _config_4 = resolveRegionConfig(_config_3); + const _config_5 = resolveHostHeaderConfig(_config_4); + const _config_6 = resolveEndpointConfig(_config_5); + const _config_7 = resolveHttpAuthSchemeConfig(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); + this.config = _config_8; + this.middlewareStack.use(getSchemaSerdePlugin(this.config)); + this.middlewareStack.use(getUserAgentPlugin(this.config)); + this.middlewareStack.use(getRetryPlugin(this.config)); + this.middlewareStack.use(getContentLengthPlugin(this.config)); + this.middlewareStack.use(getHostHeaderPlugin(this.config)); + this.middlewareStack.use(getLoggerPlugin(this.config)); + this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); + this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { + httpAuthSchemeParametersProvider: defaultSigninHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + }), + })); + this.middlewareStack.use(getHttpSigningPlugin(this.config)); + } + destroy() { + super.destroy(); + } +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthExtensionConfiguration.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthExtensionConfiguration.js new file mode 100644 index 0000000..2ba1d48 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthExtensionConfiguration.js @@ -0,0 +1,38 @@ +export const getHttpAuthExtensionConfiguration = (runtimeConfig) => { + const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; + let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; + let _credentials = runtimeConfig.credentials; + return { + setHttpAuthScheme(httpAuthScheme) { + const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); + if (index === -1) { + _httpAuthSchemes.push(httpAuthScheme); + } + else { + _httpAuthSchemes.splice(index, 1, httpAuthScheme); + } + }, + httpAuthSchemes() { + return _httpAuthSchemes; + }, + setHttpAuthSchemeProvider(httpAuthSchemeProvider) { + _httpAuthSchemeProvider = httpAuthSchemeProvider; + }, + httpAuthSchemeProvider() { + return _httpAuthSchemeProvider; + }, + setCredentials(credentials) { + _credentials = credentials; + }, + credentials() { + return _credentials; + }, + }; +}; +export const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js new file mode 100644 index 0000000..9060076 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js @@ -0,0 +1,50 @@ +import { resolveAwsSdkSigV4Config } from "@aws-sdk/core/httpAuthSchemes"; +import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware"; +export const defaultSigninHttpAuthSchemeParametersProvider = async (config, context, input) => { + return { + operation: getSmithyContext(context).operation, + region: (await normalizeProvider(config.region)()) || + (() => { + throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); + })(), + }; +}; +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "signin", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createSmithyApiNoAuthHttpAuthOption(authParameters) { + return { + schemeId: "smithy.api#noAuth", + }; +} +export const defaultSigninHttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + case "CreateOAuth2Token": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; +}; +export const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = resolveAwsSdkSigV4Config(config); + return Object.assign(config_0, { + authSchemePreference: normalizeProvider(config.authSchemePreference ?? []), + }); +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js new file mode 100644 index 0000000..155b4c4 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js @@ -0,0 +1,16 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { CreateOAuth2Token$ } from "../schemas/schemas_0"; +export { $Command }; +export class CreateOAuth2TokenCommand extends $Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("Signin", "CreateOAuth2Token", {}) + .n("SigninClient", "CreateOAuth2TokenCommand") + .sc(CreateOAuth2Token$) + .build() { +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/index.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/index.js new file mode 100644 index 0000000..d32e4a3 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/index.js @@ -0,0 +1 @@ +export * from "./CreateOAuth2TokenCommand"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/EndpointParameters.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/EndpointParameters.js new file mode 100644 index 0000000..c6b9ec7 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/EndpointParameters.js @@ -0,0 +1,13 @@ +export const resolveClientEndpointParameters = (options) => { + return Object.assign(options, { + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + defaultSigningName: "signin", + }); +}; +export const commonParams = { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js new file mode 100644 index 0000000..0ac15bc --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js @@ -0,0 +1,14 @@ +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints"; +import { ruleSet } from "./ruleset"; +const cache = new EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], +}); +export const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => resolveEndpoint(ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js new file mode 100644 index 0000000..ff11614 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js @@ -0,0 +1,130 @@ +const u = "required", v = "fn", w = "argv", x = "ref"; +const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = { [u]: true, default: false, type: "boolean" }, j = { [u]: false, type: "string" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: "getAttr", [w]: [{ [x]: g }, "name"] }, p = { [v]: c, [w]: [{ [x]: "UseFIPS" }, false] }, q = { [v]: c, [w]: [{ [x]: "UseDualStack" }, false] }, r = { [v]: "getAttr", [w]: [{ [x]: g }, "supportsFIPS"] }, s = { [v]: c, [w]: [true, { [v]: "getAttr", [w]: [{ [x]: g }, "supportsDualStack"] }] }, t = [{ [x]: "Region" }]; +const _data = { + version: "1.0", + parameters: { UseDualStack: i, UseFIPS: i, Endpoint: j, Region: j }, + rules: [ + { + conditions: [{ [v]: b, [w]: [k] }], + rules: [ + { conditions: [l], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, + { + rules: [ + { + conditions: [m], + error: "Invalid Configuration: Dualstack and custom endpoint are not supported", + type: d, + }, + { endpoint: { url: k, properties: n, headers: n }, type: e }, + ], + type: f, + }, + ], + type: f, + }, + { + rules: [ + { + conditions: [{ [v]: b, [w]: t }], + rules: [ + { + conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], + rules: [ + { + conditions: [{ [v]: h, [w]: [o, "aws"] }, p, q], + endpoint: { url: "https://{Region}.signin.aws.amazon.com", properties: n, headers: n }, + type: e, + }, + { + conditions: [{ [v]: h, [w]: [o, "aws-cn"] }, p, q], + endpoint: { url: "https://{Region}.signin.amazonaws.cn", properties: n, headers: n }, + type: e, + }, + { + conditions: [{ [v]: h, [w]: [o, "aws-us-gov"] }, p, q], + endpoint: { url: "https://{Region}.signin.amazonaws-us-gov.com", properties: n, headers: n }, + type: e, + }, + { + conditions: [l, m], + rules: [ + { + conditions: [{ [v]: c, [w]: [a, r] }, s], + rules: [ + { + endpoint: { + url: "https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + properties: n, + headers: n, + }, + type: e, + }, + ], + type: f, + }, + { + error: "FIPS and DualStack are enabled, but this partition does not support one or both", + type: d, + }, + ], + type: f, + }, + { + conditions: [l, q], + rules: [ + { + conditions: [{ [v]: c, [w]: [r, a] }], + rules: [ + { + endpoint: { + url: "https://signin-fips.{Region}.{PartitionResult#dnsSuffix}", + properties: n, + headers: n, + }, + type: e, + }, + ], + type: f, + }, + { error: "FIPS is enabled but this partition does not support FIPS", type: d }, + ], + type: f, + }, + { + conditions: [p, m], + rules: [ + { + conditions: [s], + rules: [ + { + endpoint: { + url: "https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}", + properties: n, + headers: n, + }, + type: e, + }, + ], + type: f, + }, + { error: "DualStack is enabled but this partition does not support DualStack", type: d }, + ], + type: f, + }, + { + endpoint: { url: "https://signin.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, + type: e, + }, + ], + type: f, + }, + ], + type: f, + }, + { error: "Invalid Configuration: Missing Region", type: d }, + ], + type: f, + }, + ], +}; +export const ruleSet = _data; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/extensionConfiguration.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/extensionConfiguration.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/extensionConfiguration.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js new file mode 100644 index 0000000..9051da4 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js @@ -0,0 +1,8 @@ +export * from "./SigninClient"; +export * from "./Signin"; +export * from "./commands"; +export * from "./schemas/schemas_0"; +export * from "./models/enums"; +export * from "./models/errors"; +export * from "./models/models_0"; +export { SigninServiceException } from "./models/SigninServiceException"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js new file mode 100644 index 0000000..b931766 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js @@ -0,0 +1,8 @@ +import { ServiceException as __ServiceException, } from "@smithy/smithy-client"; +export { __ServiceException }; +export class SigninServiceException extends __ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, SigninServiceException.prototype); + } +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js new file mode 100644 index 0000000..8e379e3 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js @@ -0,0 +1,8 @@ +export const OAuth2ErrorCode = { + AUTHCODE_EXPIRED: "AUTHCODE_EXPIRED", + INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS", + INVALID_REQUEST: "INVALID_REQUEST", + SERVER_ERROR: "server_error", + TOKEN_EXPIRED: "TOKEN_EXPIRED", + USER_CREDENTIALS_CHANGED: "USER_CREDENTIALS_CHANGED", +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js new file mode 100644 index 0000000..97974bb --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js @@ -0,0 +1,57 @@ +import { SigninServiceException as __BaseException } from "./SigninServiceException"; +export class AccessDeniedException extends __BaseException { + name = "AccessDeniedException"; + $fault = "client"; + error; + constructor(opts) { + super({ + name: "AccessDeniedException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, AccessDeniedException.prototype); + this.error = opts.error; + } +} +export class InternalServerException extends __BaseException { + name = "InternalServerException"; + $fault = "server"; + error; + constructor(opts) { + super({ + name: "InternalServerException", + $fault: "server", + ...opts, + }); + Object.setPrototypeOf(this, InternalServerException.prototype); + this.error = opts.error; + } +} +export class TooManyRequestsError extends __BaseException { + name = "TooManyRequestsError"; + $fault = "client"; + error; + constructor(opts) { + super({ + name: "TooManyRequestsError", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, TooManyRequestsError.prototype); + this.error = opts.error; + } +} +export class ValidationException extends __BaseException { + name = "ValidationException"; + $fault = "client"; + error; + constructor(opts) { + super({ + name: "ValidationException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ValidationException.prototype); + this.error = opts.error; + } +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/models_0.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/models_0.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/models_0.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js new file mode 100644 index 0000000..2102cbd --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js @@ -0,0 +1,34 @@ +import packageInfo from "../../../package.json"; +import { Sha256 } from "@aws-crypto/sha256-browser"; +import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser"; +import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver"; +import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler"; +import { invalidProvider } from "@smithy/invalid-dependency"; +import { loadConfigsForDefaultMode } from "@smithy/smithy-client"; +import { calculateBodyLength } from "@smithy/util-body-length-browser"; +import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser"; +import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry"; +import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; +export const getRuntimeConfig = (config) => { + const defaultsMode = resolveDefaultsModeConfig(config); + const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); + const clientSharedValues = getSharedRuntimeConfig(config); + return { + ...clientSharedValues, + ...config, + runtime: "browser", + defaultsMode, + bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, + credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))), + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), + maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, + region: config?.region ?? invalidProvider("Region is missing"), + requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE), + sha256: config?.sha256 ?? Sha256, + streamCollector: config?.streamCollector ?? streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)), + useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)), + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js new file mode 100644 index 0000000..95d5f98 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js @@ -0,0 +1,49 @@ +import packageInfo from "../../../package.json"; +import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client"; +import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes"; +import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node"; +import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver"; +import { Hash } from "@smithy/hash-node"; +import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry"; +import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider"; +import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler"; +import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client"; +import { calculateBodyLength } from "@smithy/util-body-length-node"; +import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node"; +import { DEFAULT_RETRY_MODE } from "@smithy/util-retry"; +import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; +export const getRuntimeConfig = (config) => { + emitWarningIfUnsupportedVersion(process.version); + const defaultsMode = resolveDefaultsModeConfig(config); + const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); + const clientSharedValues = getSharedRuntimeConfig(config); + awsCheckVersion(process.version); + const loaderConfig = { + profile: config?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), + maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), + region: config?.region ?? + loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? + loadNodeConfig({ + ...NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, + }, config), + sha256: config?.sha256 ?? Hash.bind(null, "sha256"), + streamCollector: config?.streamCollector ?? streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.native.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.native.js new file mode 100644 index 0000000..0b54695 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.native.js @@ -0,0 +1,11 @@ +import { Sha256 } from "@aws-crypto/sha256-js"; +import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser"; +export const getRuntimeConfig = (config) => { + const browserDefaults = getBrowserRuntimeConfig(config); + return { + ...browserDefaults, + ...config, + runtime: "react-native", + sha256: config?.sha256 ?? Sha256, + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js new file mode 100644 index 0000000..4c9f211 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js @@ -0,0 +1,45 @@ +import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; +import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols"; +import { NoAuthSigner } from "@smithy/core"; +import { NoOpLogger } from "@smithy/smithy-client"; +import { parseUrl } from "@smithy/url-parser"; +import { fromBase64, toBase64 } from "@smithy/util-base64"; +import { fromUtf8, toUtf8 } from "@smithy/util-utf8"; +import { defaultSigninHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider"; +import { defaultEndpointResolver } from "./endpoint/endpointResolver"; +import { errorTypeRegistries } from "./schemas/schemas_0"; +export const getRuntimeConfig = (config) => { + return { + apiVersion: "2023-01-01", + base64Decoder: config?.base64Decoder ?? fromBase64, + base64Encoder: config?.base64Encoder ?? toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, + extensions: config?.extensions ?? [], + httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSigninHttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new NoAuthSigner(), + }, + ], + logger: config?.logger ?? new NoOpLogger(), + protocol: config?.protocol ?? AwsRestJsonProtocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.signin", + errorTypeRegistries, + version: "2023-01-01", + serviceTarget: "Signin", + }, + serviceId: config?.serviceId ?? "Signin", + urlParser: config?.urlParser ?? parseUrl, + utf8Decoder: config?.utf8Decoder ?? fromUtf8, + utf8Encoder: config?.utf8Encoder ?? toUtf8, + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js new file mode 100644 index 0000000..5b29695 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js @@ -0,0 +1,9 @@ +import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver"; +import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http"; +import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client"; +import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration"; +export const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js new file mode 100644 index 0000000..b292094 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js @@ -0,0 +1,122 @@ +const _ADE = "AccessDeniedException"; +const _AT = "AccessToken"; +const _COAT = "CreateOAuth2Token"; +const _COATR = "CreateOAuth2TokenRequest"; +const _COATRB = "CreateOAuth2TokenRequestBody"; +const _COATRBr = "CreateOAuth2TokenResponseBody"; +const _COATRr = "CreateOAuth2TokenResponse"; +const _ISE = "InternalServerException"; +const _RT = "RefreshToken"; +const _TMRE = "TooManyRequestsError"; +const _VE = "ValidationException"; +const _aKI = "accessKeyId"; +const _aT = "accessToken"; +const _c = "client"; +const _cI = "clientId"; +const _cV = "codeVerifier"; +const _co = "code"; +const _e = "error"; +const _eI = "expiresIn"; +const _gT = "grantType"; +const _h = "http"; +const _hE = "httpError"; +const _iT = "idToken"; +const _jN = "jsonName"; +const _m = "message"; +const _rT = "refreshToken"; +const _rU = "redirectUri"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.signin"; +const _sAK = "secretAccessKey"; +const _sT = "sessionToken"; +const _se = "server"; +const _tI = "tokenInput"; +const _tO = "tokenOutput"; +const _tT = "tokenType"; +const n0 = "com.amazonaws.signin"; +import { TypeRegistry } from "@smithy/core/schema"; +import { AccessDeniedException, InternalServerException, TooManyRequestsError, ValidationException, } from "../models/errors"; +import { SigninServiceException } from "../models/SigninServiceException"; +const _s_registry = TypeRegistry.for(_s); +export var SigninServiceException$ = [-3, _s, "SigninServiceException", 0, [], []]; +_s_registry.registerError(SigninServiceException$, SigninServiceException); +const n0_registry = TypeRegistry.for(n0); +export var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c }, [_e, _m], [0, 0], 2]; +n0_registry.registerError(AccessDeniedException$, AccessDeniedException); +export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _m], [0, 0], 2]; +n0_registry.registerError(InternalServerException$, InternalServerException); +export var TooManyRequestsError$ = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_e, _m], [0, 0], 2]; +n0_registry.registerError(TooManyRequestsError$, TooManyRequestsError); +export var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_e, _m], [0, 0], 2]; +n0_registry.registerError(ValidationException$, ValidationException); +export const errorTypeRegistries = [_s_registry, n0_registry]; +var RefreshToken = [0, n0, _RT, 8, 0]; +export var AccessToken$ = [ + 3, + n0, + _AT, + 8, + [_aKI, _sAK, _sT], + [ + [0, { [_jN]: _aKI }], + [0, { [_jN]: _sAK }], + [0, { [_jN]: _sT }], + ], + 3, +]; +export var CreateOAuth2TokenRequest$ = [ + 3, + n0, + _COATR, + 0, + [_tI], + [[() => CreateOAuth2TokenRequestBody$, 16]], + 1, +]; +export var CreateOAuth2TokenRequestBody$ = [ + 3, + n0, + _COATRB, + 0, + [_cI, _gT, _co, _rU, _cV, _rT], + [ + [0, { [_jN]: _cI }], + [0, { [_jN]: _gT }], + 0, + [0, { [_jN]: _rU }], + [0, { [_jN]: _cV }], + [() => RefreshToken, { [_jN]: _rT }], + ], + 2, +]; +export var CreateOAuth2TokenResponse$ = [ + 3, + n0, + _COATRr, + 0, + [_tO], + [[() => CreateOAuth2TokenResponseBody$, 16]], + 1, +]; +export var CreateOAuth2TokenResponseBody$ = [ + 3, + n0, + _COATRBr, + 0, + [_aT, _tT, _eI, _rT, _iT], + [ + [() => AccessToken$, { [_jN]: _aT }], + [0, { [_jN]: _tT }], + [1, { [_jN]: _eI }], + [() => RefreshToken, { [_jN]: _rT }], + [0, { [_jN]: _iT }], + ], + 4, +]; +export var CreateOAuth2Token$ = [ + 9, + n0, + _COAT, + { [_h]: ["POST", "/v1/token", 200] }, + () => CreateOAuth2TokenRequest$, + () => CreateOAuth2TokenResponse$, +]; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js new file mode 100644 index 0000000..df0a0ed --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js @@ -0,0 +1,9 @@ +import { createAggregatedClient } from "@smithy/smithy-client"; +import { CreateTokenCommand, } from "./commands/CreateTokenCommand"; +import { SSOOIDCClient } from "./SSOOIDCClient"; +const commands = { + CreateTokenCommand, +}; +export class SSOOIDC extends SSOOIDCClient { +} +createAggregatedClient(commands, SSOOIDC); diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js new file mode 100644 index 0000000..ce8da7f --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js @@ -0,0 +1,50 @@ +import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header"; +import { getLoggerPlugin } from "@aws-sdk/middleware-logger"; +import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection"; +import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent"; +import { resolveRegionConfig } from "@smithy/config-resolver"; +import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core"; +import { getSchemaSerdePlugin } from "@smithy/core/schema"; +import { getContentLengthPlugin } from "@smithy/middleware-content-length"; +import { resolveEndpointConfig, } from "@smithy/middleware-endpoint"; +import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry"; +import { Client as __Client, } from "@smithy/smithy-client"; +import { defaultSSOOIDCHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider"; +import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters"; +import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig"; +import { resolveRuntimeExtensions } from "./runtimeExtensions"; +export { __Client }; +export class SSOOIDCClient extends __Client { + config; + constructor(...[configuration]) { + const _config_0 = __getRuntimeConfig(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = resolveClientEndpointParameters(_config_0); + const _config_2 = resolveUserAgentConfig(_config_1); + const _config_3 = resolveRetryConfig(_config_2); + const _config_4 = resolveRegionConfig(_config_3); + const _config_5 = resolveHostHeaderConfig(_config_4); + const _config_6 = resolveEndpointConfig(_config_5); + const _config_7 = resolveHttpAuthSchemeConfig(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); + this.config = _config_8; + this.middlewareStack.use(getSchemaSerdePlugin(this.config)); + this.middlewareStack.use(getUserAgentPlugin(this.config)); + this.middlewareStack.use(getRetryPlugin(this.config)); + this.middlewareStack.use(getContentLengthPlugin(this.config)); + this.middlewareStack.use(getHostHeaderPlugin(this.config)); + this.middlewareStack.use(getLoggerPlugin(this.config)); + this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); + this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { + httpAuthSchemeParametersProvider: defaultSSOOIDCHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + }), + })); + this.middlewareStack.use(getHttpSigningPlugin(this.config)); + } + destroy() { + super.destroy(); + } +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js new file mode 100644 index 0000000..2ba1d48 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js @@ -0,0 +1,38 @@ +export const getHttpAuthExtensionConfiguration = (runtimeConfig) => { + const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; + let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; + let _credentials = runtimeConfig.credentials; + return { + setHttpAuthScheme(httpAuthScheme) { + const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); + if (index === -1) { + _httpAuthSchemes.push(httpAuthScheme); + } + else { + _httpAuthSchemes.splice(index, 1, httpAuthScheme); + } + }, + httpAuthSchemes() { + return _httpAuthSchemes; + }, + setHttpAuthSchemeProvider(httpAuthSchemeProvider) { + _httpAuthSchemeProvider = httpAuthSchemeProvider; + }, + httpAuthSchemeProvider() { + return _httpAuthSchemeProvider; + }, + setCredentials(credentials) { + _credentials = credentials; + }, + credentials() { + return _credentials; + }, + }; +}; +export const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js new file mode 100644 index 0000000..eb3d2f6 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js @@ -0,0 +1,50 @@ +import { resolveAwsSdkSigV4Config } from "@aws-sdk/core/httpAuthSchemes"; +import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware"; +export const defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => { + return { + operation: getSmithyContext(context).operation, + region: (await normalizeProvider(config.region)()) || + (() => { + throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); + })(), + }; +}; +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "sso-oauth", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createSmithyApiNoAuthHttpAuthOption(authParameters) { + return { + schemeId: "smithy.api#noAuth", + }; +} +export const defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + case "CreateToken": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; +}; +export const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = resolveAwsSdkSigV4Config(config); + return Object.assign(config_0, { + authSchemePreference: normalizeProvider(config.authSchemePreference ?? []), + }); +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js new file mode 100644 index 0000000..b8e1755 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js @@ -0,0 +1,16 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { CreateToken$ } from "../schemas/schemas_0"; +export { $Command }; +export class CreateTokenCommand extends $Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AWSSSOOIDCService", "CreateToken", {}) + .n("SSOOIDCClient", "CreateTokenCommand") + .sc(CreateToken$) + .build() { +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/index.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/index.js new file mode 100644 index 0000000..09214ca --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/index.js @@ -0,0 +1 @@ +export * from "./CreateTokenCommand"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js new file mode 100644 index 0000000..2b26c44 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js @@ -0,0 +1,13 @@ +export const resolveClientEndpointParameters = (options) => { + return Object.assign(options, { + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + defaultSigningName: "sso-oauth", + }); +}; +export const commonParams = { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js new file mode 100644 index 0000000..0ac15bc --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js @@ -0,0 +1,14 @@ +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints"; +import { ruleSet } from "./ruleset"; +const cache = new EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], +}); +export const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => resolveEndpoint(ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js new file mode 100644 index 0000000..f1bec7b --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js @@ -0,0 +1,103 @@ +const u = "required", v = "fn", w = "argv", x = "ref"; +const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, type: "string" }, j = { [u]: true, default: false, type: "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }]; +const _data = { + version: "1.0", + parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, + rules: [ + { + conditions: [{ [v]: b, [w]: [k] }], + rules: [ + { conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, + { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, + { endpoint: { url: k, properties: n, headers: n }, type: e }, + ], + type: f, + }, + { + conditions: [{ [v]: b, [w]: t }], + rules: [ + { + conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], + rules: [ + { + conditions: [l, m], + rules: [ + { + conditions: [{ [v]: c, [w]: [a, o] }, q], + rules: [ + { + endpoint: { + url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + properties: n, + headers: n, + }, + type: e, + }, + ], + type: f, + }, + { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }, + ], + type: f, + }, + { + conditions: r, + rules: [ + { + conditions: [{ [v]: c, [w]: [o, a] }], + rules: [ + { + conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], + endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: n, headers: n }, + type: e, + }, + { + endpoint: { + url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", + properties: n, + headers: n, + }, + type: e, + }, + ], + type: f, + }, + { error: "FIPS is enabled but this partition does not support FIPS", type: d }, + ], + type: f, + }, + { + conditions: s, + rules: [ + { + conditions: [q], + rules: [ + { + endpoint: { + url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", + properties: n, + headers: n, + }, + type: e, + }, + ], + type: f, + }, + { error: "DualStack is enabled but this partition does not support DualStack", type: d }, + ], + type: f, + }, + { + endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, + type: e, + }, + ], + type: f, + }, + ], + type: f, + }, + { error: "Invalid Configuration: Missing Region", type: d }, + ], +}; +export const ruleSet = _data; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/extensionConfiguration.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/extensionConfiguration.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/extensionConfiguration.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js new file mode 100644 index 0000000..1da522c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js @@ -0,0 +1,8 @@ +export * from "./SSOOIDCClient"; +export * from "./SSOOIDC"; +export * from "./commands"; +export * from "./schemas/schemas_0"; +export * from "./models/enums"; +export * from "./models/errors"; +export * from "./models/models_0"; +export { SSOOIDCServiceException } from "./models/SSOOIDCServiceException"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js new file mode 100644 index 0000000..176cec3 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js @@ -0,0 +1,8 @@ +import { ServiceException as __ServiceException, } from "@smithy/smithy-client"; +export { __ServiceException }; +export class SSOOIDCServiceException extends __ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, SSOOIDCServiceException.prototype); + } +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/enums.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/enums.js new file mode 100644 index 0000000..aab18c9 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/enums.js @@ -0,0 +1,9 @@ +export const AccessDeniedExceptionReason = { + KMS_ACCESS_DENIED: "KMS_AccessDeniedException", +}; +export const InvalidRequestExceptionReason = { + KMS_DISABLED_KEY: "KMS_DisabledException", + KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException", + KMS_INVALID_STATE: "KMS_InvalidStateException", + KMS_KEY_NOT_FOUND: "KMS_NotFoundException", +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js new file mode 100644 index 0000000..be72c7f --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js @@ -0,0 +1,181 @@ +import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException"; +export class AccessDeniedException extends __BaseException { + name = "AccessDeniedException"; + $fault = "client"; + error; + reason; + error_description; + constructor(opts) { + super({ + name: "AccessDeniedException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, AccessDeniedException.prototype); + this.error = opts.error; + this.reason = opts.reason; + this.error_description = opts.error_description; + } +} +export class AuthorizationPendingException extends __BaseException { + name = "AuthorizationPendingException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "AuthorizationPendingException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, AuthorizationPendingException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +export class ExpiredTokenException extends __BaseException { + name = "ExpiredTokenException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "ExpiredTokenException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ExpiredTokenException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +export class InternalServerException extends __BaseException { + name = "InternalServerException"; + $fault = "server"; + error; + error_description; + constructor(opts) { + super({ + name: "InternalServerException", + $fault: "server", + ...opts, + }); + Object.setPrototypeOf(this, InternalServerException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +export class InvalidClientException extends __BaseException { + name = "InvalidClientException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "InvalidClientException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidClientException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +export class InvalidGrantException extends __BaseException { + name = "InvalidGrantException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "InvalidGrantException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidGrantException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +export class InvalidRequestException extends __BaseException { + name = "InvalidRequestException"; + $fault = "client"; + error; + reason; + error_description; + constructor(opts) { + super({ + name: "InvalidRequestException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidRequestException.prototype); + this.error = opts.error; + this.reason = opts.reason; + this.error_description = opts.error_description; + } +} +export class InvalidScopeException extends __BaseException { + name = "InvalidScopeException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "InvalidScopeException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidScopeException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +export class SlowDownException extends __BaseException { + name = "SlowDownException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "SlowDownException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, SlowDownException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +export class UnauthorizedClientException extends __BaseException { + name = "UnauthorizedClientException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "UnauthorizedClientException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, UnauthorizedClientException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +export class UnsupportedGrantTypeException extends __BaseException { + name = "UnsupportedGrantTypeException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "UnsupportedGrantTypeException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, UnsupportedGrantTypeException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js new file mode 100644 index 0000000..d147235 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js @@ -0,0 +1,33 @@ +import packageInfo from "../../../package.json"; +import { Sha256 } from "@aws-crypto/sha256-browser"; +import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser"; +import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver"; +import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler"; +import { invalidProvider } from "@smithy/invalid-dependency"; +import { loadConfigsForDefaultMode } from "@smithy/smithy-client"; +import { calculateBodyLength } from "@smithy/util-body-length-browser"; +import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser"; +import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry"; +import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; +export const getRuntimeConfig = (config) => { + const defaultsMode = resolveDefaultsModeConfig(config); + const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); + const clientSharedValues = getSharedRuntimeConfig(config); + return { + ...clientSharedValues, + ...config, + runtime: "browser", + defaultsMode, + bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), + maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, + region: config?.region ?? invalidProvider("Region is missing"), + requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE), + sha256: config?.sha256 ?? Sha256, + streamCollector: config?.streamCollector ?? streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)), + useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)), + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js new file mode 100644 index 0000000..95d5f98 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js @@ -0,0 +1,49 @@ +import packageInfo from "../../../package.json"; +import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client"; +import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes"; +import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node"; +import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver"; +import { Hash } from "@smithy/hash-node"; +import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry"; +import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider"; +import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler"; +import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client"; +import { calculateBodyLength } from "@smithy/util-body-length-node"; +import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node"; +import { DEFAULT_RETRY_MODE } from "@smithy/util-retry"; +import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; +export const getRuntimeConfig = (config) => { + emitWarningIfUnsupportedVersion(process.version); + const defaultsMode = resolveDefaultsModeConfig(config); + const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); + const clientSharedValues = getSharedRuntimeConfig(config); + awsCheckVersion(process.version); + const loaderConfig = { + profile: config?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), + maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), + region: config?.region ?? + loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? + loadNodeConfig({ + ...NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, + }, config), + sha256: config?.sha256 ?? Hash.bind(null, "sha256"), + streamCollector: config?.streamCollector ?? streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.native.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.native.js new file mode 100644 index 0000000..0b54695 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.native.js @@ -0,0 +1,11 @@ +import { Sha256 } from "@aws-crypto/sha256-js"; +import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser"; +export const getRuntimeConfig = (config) => { + const browserDefaults = getBrowserRuntimeConfig(config); + return { + ...browserDefaults, + ...config, + runtime: "react-native", + sha256: config?.sha256 ?? Sha256, + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js new file mode 100644 index 0000000..3692996 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js @@ -0,0 +1,45 @@ +import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; +import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols"; +import { NoAuthSigner } from "@smithy/core"; +import { NoOpLogger } from "@smithy/smithy-client"; +import { parseUrl } from "@smithy/url-parser"; +import { fromBase64, toBase64 } from "@smithy/util-base64"; +import { fromUtf8, toUtf8 } from "@smithy/util-utf8"; +import { defaultSSOOIDCHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider"; +import { defaultEndpointResolver } from "./endpoint/endpointResolver"; +import { errorTypeRegistries } from "./schemas/schemas_0"; +export const getRuntimeConfig = (config) => { + return { + apiVersion: "2019-06-10", + base64Decoder: config?.base64Decoder ?? fromBase64, + base64Encoder: config?.base64Encoder ?? toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, + extensions: config?.extensions ?? [], + httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSOOIDCHttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new NoAuthSigner(), + }, + ], + logger: config?.logger ?? new NoOpLogger(), + protocol: config?.protocol ?? AwsRestJsonProtocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.ssooidc", + errorTypeRegistries, + version: "2019-06-10", + serviceTarget: "AWSSSOOIDCService", + }, + serviceId: config?.serviceId ?? "SSO OIDC", + urlParser: config?.urlParser ?? parseUrl, + utf8Decoder: config?.utf8Decoder ?? fromUtf8, + utf8Encoder: config?.utf8Encoder ?? toUtf8, + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js new file mode 100644 index 0000000..5b29695 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js @@ -0,0 +1,9 @@ +import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver"; +import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http"; +import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client"; +import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration"; +export const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js new file mode 100644 index 0000000..a059db5 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js @@ -0,0 +1,137 @@ +const _ADE = "AccessDeniedException"; +const _APE = "AuthorizationPendingException"; +const _AT = "AccessToken"; +const _CS = "ClientSecret"; +const _CT = "CreateToken"; +const _CTR = "CreateTokenRequest"; +const _CTRr = "CreateTokenResponse"; +const _CV = "CodeVerifier"; +const _ETE = "ExpiredTokenException"; +const _ICE = "InvalidClientException"; +const _IGE = "InvalidGrantException"; +const _IRE = "InvalidRequestException"; +const _ISE = "InternalServerException"; +const _ISEn = "InvalidScopeException"; +const _IT = "IdToken"; +const _RT = "RefreshToken"; +const _SDE = "SlowDownException"; +const _UCE = "UnauthorizedClientException"; +const _UGTE = "UnsupportedGrantTypeException"; +const _aT = "accessToken"; +const _c = "client"; +const _cI = "clientId"; +const _cS = "clientSecret"; +const _cV = "codeVerifier"; +const _co = "code"; +const _dC = "deviceCode"; +const _e = "error"; +const _eI = "expiresIn"; +const _ed = "error_description"; +const _gT = "grantType"; +const _h = "http"; +const _hE = "httpError"; +const _iT = "idToken"; +const _r = "reason"; +const _rT = "refreshToken"; +const _rU = "redirectUri"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc"; +const _sc = "scope"; +const _se = "server"; +const _tT = "tokenType"; +const n0 = "com.amazonaws.ssooidc"; +import { TypeRegistry } from "@smithy/core/schema"; +import { AccessDeniedException, AuthorizationPendingException, ExpiredTokenException, InternalServerException, InvalidClientException, InvalidGrantException, InvalidRequestException, InvalidScopeException, SlowDownException, UnauthorizedClientException, UnsupportedGrantTypeException, } from "../models/errors"; +import { SSOOIDCServiceException } from "../models/SSOOIDCServiceException"; +const _s_registry = TypeRegistry.for(_s); +export var SSOOIDCServiceException$ = [-3, _s, "SSOOIDCServiceException", 0, [], []]; +_s_registry.registerError(SSOOIDCServiceException$, SSOOIDCServiceException); +const n0_registry = TypeRegistry.for(n0); +export var AccessDeniedException$ = [ + -3, + n0, + _ADE, + { [_e]: _c, [_hE]: 400 }, + [_e, _r, _ed], + [0, 0, 0], +]; +n0_registry.registerError(AccessDeniedException$, AccessDeniedException); +export var AuthorizationPendingException$ = [ + -3, + n0, + _APE, + { [_e]: _c, [_hE]: 400 }, + [_e, _ed], + [0, 0], +]; +n0_registry.registerError(AuthorizationPendingException$, AuthorizationPendingException); +export var ExpiredTokenException$ = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]]; +n0_registry.registerError(ExpiredTokenException$, ExpiredTokenException); +export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _ed], [0, 0]]; +n0_registry.registerError(InternalServerException$, InternalServerException); +export var InvalidClientException$ = [-3, n0, _ICE, { [_e]: _c, [_hE]: 401 }, [_e, _ed], [0, 0]]; +n0_registry.registerError(InvalidClientException$, InvalidClientException); +export var InvalidGrantException$ = [-3, n0, _IGE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]]; +n0_registry.registerError(InvalidGrantException$, InvalidGrantException); +export var InvalidRequestException$ = [ + -3, + n0, + _IRE, + { [_e]: _c, [_hE]: 400 }, + [_e, _r, _ed], + [0, 0, 0], +]; +n0_registry.registerError(InvalidRequestException$, InvalidRequestException); +export var InvalidScopeException$ = [-3, n0, _ISEn, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]]; +n0_registry.registerError(InvalidScopeException$, InvalidScopeException); +export var SlowDownException$ = [-3, n0, _SDE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]]; +n0_registry.registerError(SlowDownException$, SlowDownException); +export var UnauthorizedClientException$ = [ + -3, + n0, + _UCE, + { [_e]: _c, [_hE]: 400 }, + [_e, _ed], + [0, 0], +]; +n0_registry.registerError(UnauthorizedClientException$, UnauthorizedClientException); +export var UnsupportedGrantTypeException$ = [ + -3, + n0, + _UGTE, + { [_e]: _c, [_hE]: 400 }, + [_e, _ed], + [0, 0], +]; +n0_registry.registerError(UnsupportedGrantTypeException$, UnsupportedGrantTypeException); +export const errorTypeRegistries = [_s_registry, n0_registry]; +var AccessToken = [0, n0, _AT, 8, 0]; +var ClientSecret = [0, n0, _CS, 8, 0]; +var CodeVerifier = [0, n0, _CV, 8, 0]; +var IdToken = [0, n0, _IT, 8, 0]; +var RefreshToken = [0, n0, _RT, 8, 0]; +export var CreateTokenRequest$ = [ + 3, + n0, + _CTR, + 0, + [_cI, _cS, _gT, _dC, _co, _rT, _sc, _rU, _cV], + [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]], + 3, +]; +export var CreateTokenResponse$ = [ + 3, + n0, + _CTRr, + 0, + [_aT, _tT, _eI, _rT, _iT], + [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]], +]; +var Scopes = 64 | 0; +export var CreateToken$ = [ + 9, + n0, + _CT, + { [_h]: ["POST", "/token", 200] }, + () => CreateTokenRequest$, + () => CreateTokenResponse$, +]; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js new file mode 100644 index 0000000..e174534 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js @@ -0,0 +1,9 @@ +import { createAggregatedClient } from "@smithy/smithy-client"; +import { GetRoleCredentialsCommand, } from "./commands/GetRoleCredentialsCommand"; +import { SSOClient } from "./SSOClient"; +const commands = { + GetRoleCredentialsCommand, +}; +export class SSO extends SSOClient { +} +createAggregatedClient(commands, SSO); diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js new file mode 100644 index 0000000..de3ffa9 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js @@ -0,0 +1,50 @@ +import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header"; +import { getLoggerPlugin } from "@aws-sdk/middleware-logger"; +import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection"; +import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent"; +import { resolveRegionConfig } from "@smithy/config-resolver"; +import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core"; +import { getSchemaSerdePlugin } from "@smithy/core/schema"; +import { getContentLengthPlugin } from "@smithy/middleware-content-length"; +import { resolveEndpointConfig, } from "@smithy/middleware-endpoint"; +import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry"; +import { Client as __Client, } from "@smithy/smithy-client"; +import { defaultSSOHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider"; +import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters"; +import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig"; +import { resolveRuntimeExtensions } from "./runtimeExtensions"; +export { __Client }; +export class SSOClient extends __Client { + config; + constructor(...[configuration]) { + const _config_0 = __getRuntimeConfig(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = resolveClientEndpointParameters(_config_0); + const _config_2 = resolveUserAgentConfig(_config_1); + const _config_3 = resolveRetryConfig(_config_2); + const _config_4 = resolveRegionConfig(_config_3); + const _config_5 = resolveHostHeaderConfig(_config_4); + const _config_6 = resolveEndpointConfig(_config_5); + const _config_7 = resolveHttpAuthSchemeConfig(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); + this.config = _config_8; + this.middlewareStack.use(getSchemaSerdePlugin(this.config)); + this.middlewareStack.use(getUserAgentPlugin(this.config)); + this.middlewareStack.use(getRetryPlugin(this.config)); + this.middlewareStack.use(getContentLengthPlugin(this.config)); + this.middlewareStack.use(getHostHeaderPlugin(this.config)); + this.middlewareStack.use(getLoggerPlugin(this.config)); + this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); + this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { + httpAuthSchemeParametersProvider: defaultSSOHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + }), + })); + this.middlewareStack.use(getHttpSigningPlugin(this.config)); + } + destroy() { + super.destroy(); + } +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js new file mode 100644 index 0000000..2ba1d48 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js @@ -0,0 +1,38 @@ +export const getHttpAuthExtensionConfiguration = (runtimeConfig) => { + const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; + let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; + let _credentials = runtimeConfig.credentials; + return { + setHttpAuthScheme(httpAuthScheme) { + const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); + if (index === -1) { + _httpAuthSchemes.push(httpAuthScheme); + } + else { + _httpAuthSchemes.splice(index, 1, httpAuthScheme); + } + }, + httpAuthSchemes() { + return _httpAuthSchemes; + }, + setHttpAuthSchemeProvider(httpAuthSchemeProvider) { + _httpAuthSchemeProvider = httpAuthSchemeProvider; + }, + httpAuthSchemeProvider() { + return _httpAuthSchemeProvider; + }, + setCredentials(credentials) { + _credentials = credentials; + }, + credentials() { + return _credentials; + }, + }; +}; +export const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js new file mode 100644 index 0000000..c169333 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js @@ -0,0 +1,50 @@ +import { resolveAwsSdkSigV4Config } from "@aws-sdk/core/httpAuthSchemes"; +import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware"; +export const defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => { + return { + operation: getSmithyContext(context).operation, + region: (await normalizeProvider(config.region)()) || + (() => { + throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); + })(), + }; +}; +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "awsssoportal", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createSmithyApiNoAuthHttpAuthOption(authParameters) { + return { + schemeId: "smithy.api#noAuth", + }; +} +export const defaultSSOHttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + case "GetRoleCredentials": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; +}; +export const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = resolveAwsSdkSigV4Config(config); + return Object.assign(config_0, { + authSchemePreference: normalizeProvider(config.authSchemePreference ?? []), + }); +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js new file mode 100644 index 0000000..9554e71 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js @@ -0,0 +1,16 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { GetRoleCredentials$ } from "../schemas/schemas_0"; +export { $Command }; +export class GetRoleCredentialsCommand extends $Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("SWBPortalService", "GetRoleCredentials", {}) + .n("SSOClient", "GetRoleCredentialsCommand") + .sc(GetRoleCredentials$) + .build() { +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/index.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/index.js new file mode 100644 index 0000000..69ba055 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/index.js @@ -0,0 +1 @@ +export * from "./GetRoleCredentialsCommand"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/EndpointParameters.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/EndpointParameters.js new file mode 100644 index 0000000..77e34f8 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/EndpointParameters.js @@ -0,0 +1,13 @@ +export const resolveClientEndpointParameters = (options) => { + return Object.assign(options, { + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + defaultSigningName: "awsssoportal", + }); +}; +export const commonParams = { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js new file mode 100644 index 0000000..0ac15bc --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js @@ -0,0 +1,14 @@ +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints"; +import { ruleSet } from "./ruleset"; +const cache = new EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], +}); +export const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => resolveEndpoint(ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js new file mode 100644 index 0000000..ed10044 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js @@ -0,0 +1,103 @@ +const u = "required", v = "fn", w = "argv", x = "ref"; +const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, type: "string" }, j = { [u]: true, default: false, type: "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }]; +const _data = { + version: "1.0", + parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, + rules: [ + { + conditions: [{ [v]: b, [w]: [k] }], + rules: [ + { conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, + { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, + { endpoint: { url: k, properties: n, headers: n }, type: e }, + ], + type: f, + }, + { + conditions: [{ [v]: b, [w]: t }], + rules: [ + { + conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], + rules: [ + { + conditions: [l, m], + rules: [ + { + conditions: [{ [v]: c, [w]: [a, o] }, q], + rules: [ + { + endpoint: { + url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + properties: n, + headers: n, + }, + type: e, + }, + ], + type: f, + }, + { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }, + ], + type: f, + }, + { + conditions: r, + rules: [ + { + conditions: [{ [v]: c, [w]: [o, a] }], + rules: [ + { + conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], + endpoint: { url: "https://portal.sso.{Region}.amazonaws.com", properties: n, headers: n }, + type: e, + }, + { + endpoint: { + url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}", + properties: n, + headers: n, + }, + type: e, + }, + ], + type: f, + }, + { error: "FIPS is enabled but this partition does not support FIPS", type: d }, + ], + type: f, + }, + { + conditions: s, + rules: [ + { + conditions: [q], + rules: [ + { + endpoint: { + url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}", + properties: n, + headers: n, + }, + type: e, + }, + ], + type: f, + }, + { error: "DualStack is enabled but this partition does not support DualStack", type: d }, + ], + type: f, + }, + { + endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, + type: e, + }, + ], + type: f, + }, + ], + type: f, + }, + { error: "Invalid Configuration: Missing Region", type: d }, + ], +}; +export const ruleSet = _data; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/extensionConfiguration.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/extensionConfiguration.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/extensionConfiguration.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/index.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/index.js new file mode 100644 index 0000000..3838fb8 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/index.js @@ -0,0 +1,7 @@ +export * from "./SSOClient"; +export * from "./SSO"; +export * from "./commands"; +export * from "./schemas/schemas_0"; +export * from "./models/errors"; +export * from "./models/models_0"; +export { SSOServiceException } from "./models/SSOServiceException"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js new file mode 100644 index 0000000..fa5d8fb --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js @@ -0,0 +1,8 @@ +import { ServiceException as __ServiceException, } from "@smithy/smithy-client"; +export { __ServiceException }; +export class SSOServiceException extends __ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, SSOServiceException.prototype); + } +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/errors.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/errors.js new file mode 100644 index 0000000..81e418a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/errors.js @@ -0,0 +1,49 @@ +import { SSOServiceException as __BaseException } from "./SSOServiceException"; +export class InvalidRequestException extends __BaseException { + name = "InvalidRequestException"; + $fault = "client"; + constructor(opts) { + super({ + name: "InvalidRequestException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidRequestException.prototype); + } +} +export class ResourceNotFoundException extends __BaseException { + name = "ResourceNotFoundException"; + $fault = "client"; + constructor(opts) { + super({ + name: "ResourceNotFoundException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ResourceNotFoundException.prototype); + } +} +export class TooManyRequestsException extends __BaseException { + name = "TooManyRequestsException"; + $fault = "client"; + constructor(opts) { + super({ + name: "TooManyRequestsException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, TooManyRequestsException.prototype); + } +} +export class UnauthorizedException extends __BaseException { + name = "UnauthorizedException"; + $fault = "client"; + constructor(opts) { + super({ + name: "UnauthorizedException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, UnauthorizedException.prototype); + } +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/models_0.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/models_0.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/models_0.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js new file mode 100644 index 0000000..d147235 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js @@ -0,0 +1,33 @@ +import packageInfo from "../../../package.json"; +import { Sha256 } from "@aws-crypto/sha256-browser"; +import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser"; +import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver"; +import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler"; +import { invalidProvider } from "@smithy/invalid-dependency"; +import { loadConfigsForDefaultMode } from "@smithy/smithy-client"; +import { calculateBodyLength } from "@smithy/util-body-length-browser"; +import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser"; +import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry"; +import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; +export const getRuntimeConfig = (config) => { + const defaultsMode = resolveDefaultsModeConfig(config); + const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); + const clientSharedValues = getSharedRuntimeConfig(config); + return { + ...clientSharedValues, + ...config, + runtime: "browser", + defaultsMode, + bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), + maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, + region: config?.region ?? invalidProvider("Region is missing"), + requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE), + sha256: config?.sha256 ?? Sha256, + streamCollector: config?.streamCollector ?? streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)), + useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)), + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js new file mode 100644 index 0000000..95d5f98 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js @@ -0,0 +1,49 @@ +import packageInfo from "../../../package.json"; +import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client"; +import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes"; +import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node"; +import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver"; +import { Hash } from "@smithy/hash-node"; +import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry"; +import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider"; +import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler"; +import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client"; +import { calculateBodyLength } from "@smithy/util-body-length-node"; +import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node"; +import { DEFAULT_RETRY_MODE } from "@smithy/util-retry"; +import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; +export const getRuntimeConfig = (config) => { + emitWarningIfUnsupportedVersion(process.version); + const defaultsMode = resolveDefaultsModeConfig(config); + const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); + const clientSharedValues = getSharedRuntimeConfig(config); + awsCheckVersion(process.version); + const loaderConfig = { + profile: config?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), + maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), + region: config?.region ?? + loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? + loadNodeConfig({ + ...NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, + }, config), + sha256: config?.sha256 ?? Hash.bind(null, "sha256"), + streamCollector: config?.streamCollector ?? streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js new file mode 100644 index 0000000..0b54695 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js @@ -0,0 +1,11 @@ +import { Sha256 } from "@aws-crypto/sha256-js"; +import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser"; +export const getRuntimeConfig = (config) => { + const browserDefaults = getBrowserRuntimeConfig(config); + return { + ...browserDefaults, + ...config, + runtime: "react-native", + sha256: config?.sha256 ?? Sha256, + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js new file mode 100644 index 0000000..c6ff386 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js @@ -0,0 +1,45 @@ +import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; +import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols"; +import { NoAuthSigner } from "@smithy/core"; +import { NoOpLogger } from "@smithy/smithy-client"; +import { parseUrl } from "@smithy/url-parser"; +import { fromBase64, toBase64 } from "@smithy/util-base64"; +import { fromUtf8, toUtf8 } from "@smithy/util-utf8"; +import { defaultSSOHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider"; +import { defaultEndpointResolver } from "./endpoint/endpointResolver"; +import { errorTypeRegistries } from "./schemas/schemas_0"; +export const getRuntimeConfig = (config) => { + return { + apiVersion: "2019-06-10", + base64Decoder: config?.base64Decoder ?? fromBase64, + base64Encoder: config?.base64Encoder ?? toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, + extensions: config?.extensions ?? [], + httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSOHttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new NoAuthSigner(), + }, + ], + logger: config?.logger ?? new NoOpLogger(), + protocol: config?.protocol ?? AwsRestJsonProtocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.sso", + errorTypeRegistries, + version: "2019-06-10", + serviceTarget: "SWBPortalService", + }, + serviceId: config?.serviceId ?? "SSO", + urlParser: config?.urlParser ?? parseUrl, + utf8Decoder: config?.utf8Decoder ?? fromUtf8, + utf8Encoder: config?.utf8Encoder ?? toUtf8, + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js new file mode 100644 index 0000000..5b29695 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js @@ -0,0 +1,9 @@ +import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver"; +import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http"; +import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client"; +import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration"; +export const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js new file mode 100644 index 0000000..f0be39c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js @@ -0,0 +1,87 @@ +const _ATT = "AccessTokenType"; +const _GRC = "GetRoleCredentials"; +const _GRCR = "GetRoleCredentialsRequest"; +const _GRCRe = "GetRoleCredentialsResponse"; +const _IRE = "InvalidRequestException"; +const _RC = "RoleCredentials"; +const _RNFE = "ResourceNotFoundException"; +const _SAKT = "SecretAccessKeyType"; +const _STT = "SessionTokenType"; +const _TMRE = "TooManyRequestsException"; +const _UE = "UnauthorizedException"; +const _aI = "accountId"; +const _aKI = "accessKeyId"; +const _aT = "accessToken"; +const _ai = "account_id"; +const _c = "client"; +const _e = "error"; +const _ex = "expiration"; +const _h = "http"; +const _hE = "httpError"; +const _hH = "httpHeader"; +const _hQ = "httpQuery"; +const _m = "message"; +const _rC = "roleCredentials"; +const _rN = "roleName"; +const _rn = "role_name"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sso"; +const _sAK = "secretAccessKey"; +const _sT = "sessionToken"; +const _xasbt = "x-amz-sso_bearer_token"; +const n0 = "com.amazonaws.sso"; +import { TypeRegistry } from "@smithy/core/schema"; +import { InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, UnauthorizedException, } from "../models/errors"; +import { SSOServiceException } from "../models/SSOServiceException"; +const _s_registry = TypeRegistry.for(_s); +export var SSOServiceException$ = [-3, _s, "SSOServiceException", 0, [], []]; +_s_registry.registerError(SSOServiceException$, SSOServiceException); +const n0_registry = TypeRegistry.for(n0); +export var InvalidRequestException$ = [-3, n0, _IRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; +n0_registry.registerError(InvalidRequestException$, InvalidRequestException); +export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]]; +n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException); +export var TooManyRequestsException$ = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_m], [0]]; +n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException); +export var UnauthorizedException$ = [-3, n0, _UE, { [_e]: _c, [_hE]: 401 }, [_m], [0]]; +n0_registry.registerError(UnauthorizedException$, UnauthorizedException); +export const errorTypeRegistries = [_s_registry, n0_registry]; +var AccessTokenType = [0, n0, _ATT, 8, 0]; +var SecretAccessKeyType = [0, n0, _SAKT, 8, 0]; +var SessionTokenType = [0, n0, _STT, 8, 0]; +export var GetRoleCredentialsRequest$ = [ + 3, + n0, + _GRCR, + 0, + [_rN, _aI, _aT], + [ + [0, { [_hQ]: _rn }], + [0, { [_hQ]: _ai }], + [() => AccessTokenType, { [_hH]: _xasbt }], + ], + 3, +]; +export var GetRoleCredentialsResponse$ = [ + 3, + n0, + _GRCRe, + 0, + [_rC], + [[() => RoleCredentials$, 0]], +]; +export var RoleCredentials$ = [ + 3, + n0, + _RC, + 0, + [_aKI, _sAK, _sT, _ex], + [0, [() => SecretAccessKeyType, 0], [() => SessionTokenType, 0], 1], +]; +export var GetRoleCredentials$ = [ + 9, + n0, + _GRC, + { [_h]: ["GET", "/federation/credentials", 200] }, + () => GetRoleCredentialsRequest$, + () => GetRoleCredentialsResponse$, +]; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js new file mode 100644 index 0000000..eee7e54 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js @@ -0,0 +1,11 @@ +import { createAggregatedClient } from "@smithy/smithy-client"; +import { AssumeRoleCommand, } from "./commands/AssumeRoleCommand"; +import { AssumeRoleWithWebIdentityCommand, } from "./commands/AssumeRoleWithWebIdentityCommand"; +import { STSClient } from "./STSClient"; +const commands = { + AssumeRoleCommand, + AssumeRoleWithWebIdentityCommand, +}; +export class STS extends STSClient { +} +createAggregatedClient(commands, STS); diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js new file mode 100644 index 0000000..86ede13 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js @@ -0,0 +1,50 @@ +import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header"; +import { getLoggerPlugin } from "@aws-sdk/middleware-logger"; +import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection"; +import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent"; +import { resolveRegionConfig } from "@smithy/config-resolver"; +import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core"; +import { getSchemaSerdePlugin } from "@smithy/core/schema"; +import { getContentLengthPlugin } from "@smithy/middleware-content-length"; +import { resolveEndpointConfig, } from "@smithy/middleware-endpoint"; +import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry"; +import { Client as __Client, } from "@smithy/smithy-client"; +import { defaultSTSHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider"; +import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters"; +import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig"; +import { resolveRuntimeExtensions } from "./runtimeExtensions"; +export { __Client }; +export class STSClient extends __Client { + config; + constructor(...[configuration]) { + const _config_0 = __getRuntimeConfig(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = resolveClientEndpointParameters(_config_0); + const _config_2 = resolveUserAgentConfig(_config_1); + const _config_3 = resolveRetryConfig(_config_2); + const _config_4 = resolveRegionConfig(_config_3); + const _config_5 = resolveHostHeaderConfig(_config_4); + const _config_6 = resolveEndpointConfig(_config_5); + const _config_7 = resolveHttpAuthSchemeConfig(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); + this.config = _config_8; + this.middlewareStack.use(getSchemaSerdePlugin(this.config)); + this.middlewareStack.use(getUserAgentPlugin(this.config)); + this.middlewareStack.use(getRetryPlugin(this.config)); + this.middlewareStack.use(getContentLengthPlugin(this.config)); + this.middlewareStack.use(getHostHeaderPlugin(this.config)); + this.middlewareStack.use(getLoggerPlugin(this.config)); + this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); + this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { + httpAuthSchemeParametersProvider: defaultSTSHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + }), + })); + this.middlewareStack.use(getHttpSigningPlugin(this.config)); + } + destroy() { + super.destroy(); + } +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthExtensionConfiguration.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthExtensionConfiguration.js new file mode 100644 index 0000000..2ba1d48 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthExtensionConfiguration.js @@ -0,0 +1,38 @@ +export const getHttpAuthExtensionConfiguration = (runtimeConfig) => { + const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; + let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; + let _credentials = runtimeConfig.credentials; + return { + setHttpAuthScheme(httpAuthScheme) { + const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); + if (index === -1) { + _httpAuthSchemes.push(httpAuthScheme); + } + else { + _httpAuthSchemes.splice(index, 1, httpAuthScheme); + } + }, + httpAuthSchemes() { + return _httpAuthSchemes; + }, + setHttpAuthSchemeProvider(httpAuthSchemeProvider) { + _httpAuthSchemeProvider = httpAuthSchemeProvider; + }, + httpAuthSchemeProvider() { + return _httpAuthSchemeProvider; + }, + setCredentials(credentials) { + _credentials = credentials; + }, + credentials() { + return _credentials; + }, + }; +}; +export const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js new file mode 100644 index 0000000..a827d2e --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js @@ -0,0 +1,55 @@ +import { resolveAwsSdkSigV4Config } from "@aws-sdk/core/httpAuthSchemes"; +import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware"; +import { STSClient } from "../STSClient"; +export const defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => { + return { + operation: getSmithyContext(context).operation, + region: (await normalizeProvider(config.region)()) || + (() => { + throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); + })(), + }; +}; +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "sts", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createSmithyApiNoAuthHttpAuthOption(authParameters) { + return { + schemeId: "smithy.api#noAuth", + }; +} +export const defaultSTSHttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + case "AssumeRoleWithWebIdentity": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; +}; +export const resolveStsAuthConfig = (input) => Object.assign(input, { + stsClientCtor: STSClient, +}); +export const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = resolveStsAuthConfig(config); + const config_1 = resolveAwsSdkSigV4Config(config_0); + return Object.assign(config_1, { + authSchemePreference: normalizeProvider(config.authSchemePreference ?? []), + }); +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js new file mode 100644 index 0000000..c8d64b6 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js @@ -0,0 +1,16 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { AssumeRole$ } from "../schemas/schemas_0"; +export { $Command }; +export class AssumeRoleCommand extends $Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AWSSecurityTokenServiceV20110615", "AssumeRole", {}) + .n("STSClient", "AssumeRoleCommand") + .sc(AssumeRole$) + .build() { +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js new file mode 100644 index 0000000..d8c551e --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js @@ -0,0 +1,16 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { commonParams } from "../endpoint/EndpointParameters"; +import { AssumeRoleWithWebIdentity$ } from "../schemas/schemas_0"; +export { $Command }; +export class AssumeRoleWithWebIdentityCommand extends $Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {}) + .n("STSClient", "AssumeRoleWithWebIdentityCommand") + .sc(AssumeRoleWithWebIdentity$) + .build() { +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/index.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/index.js new file mode 100644 index 0000000..0f200f5 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/index.js @@ -0,0 +1,2 @@ +export * from "./AssumeRoleCommand"; +export * from "./AssumeRoleWithWebIdentityCommand"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js new file mode 100644 index 0000000..aafb8c4 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js @@ -0,0 +1,22 @@ +import { getDefaultRoleAssumer as StsGetDefaultRoleAssumer, getDefaultRoleAssumerWithWebIdentity as StsGetDefaultRoleAssumerWithWebIdentity, } from "./defaultStsRoleAssumers"; +import { STSClient } from "./STSClient"; +const getCustomizableStsClientCtor = (baseCtor, customizations) => { + if (!customizations) + return baseCtor; + else + return class CustomizableSTSClient extends baseCtor { + constructor(config) { + super(config); + for (const customization of customizations) { + this.middlewareStack.use(customization); + } + } + }; +}; +export const getDefaultRoleAssumer = (stsOptions = {}, stsPlugins) => StsGetDefaultRoleAssumer(stsOptions, getCustomizableStsClientCtor(STSClient, stsPlugins)); +export const getDefaultRoleAssumerWithWebIdentity = (stsOptions = {}, stsPlugins) => StsGetDefaultRoleAssumerWithWebIdentity(stsOptions, getCustomizableStsClientCtor(STSClient, stsPlugins)); +export const decorateDefaultCredentialProvider = (provider) => (input) => provider({ + roleAssumer: getDefaultRoleAssumer(input), + roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity(input), + ...input, +}); diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js new file mode 100644 index 0000000..befc3b6 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js @@ -0,0 +1,107 @@ +import { setCredentialFeature } from "@aws-sdk/core/client"; +import { stsRegionDefaultResolver } from "@aws-sdk/region-config-resolver"; +import { AssumeRoleCommand } from "./commands/AssumeRoleCommand"; +import { AssumeRoleWithWebIdentityCommand } from "./commands/AssumeRoleWithWebIdentityCommand"; +const getAccountIdFromAssumedRoleUser = (assumedRoleUser) => { + if (typeof assumedRoleUser?.Arn === "string") { + const arnComponents = assumedRoleUser.Arn.split(":"); + if (arnComponents.length > 4 && arnComponents[4] !== "") { + return arnComponents[4]; + } + } + return undefined; +}; +const resolveRegion = async (_region, _parentRegion, credentialProviderLogger, loaderConfig = {}) => { + const region = typeof _region === "function" ? await _region() : _region; + const parentRegion = typeof _parentRegion === "function" ? await _parentRegion() : _parentRegion; + let stsDefaultRegion = ""; + const resolvedRegion = region ?? parentRegion ?? (stsDefaultRegion = await stsRegionDefaultResolver(loaderConfig)()); + credentialProviderLogger?.debug?.("@aws-sdk/client-sts::resolveRegion", "accepting first of:", `${region} (credential provider clientConfig)`, `${parentRegion} (contextual client)`, `${stsDefaultRegion} (STS default: AWS_REGION, profile region, or us-east-1)`); + return resolvedRegion; +}; +export const getDefaultRoleAssumer = (stsOptions, STSClient) => { + let stsClient; + let closureSourceCreds; + return async (sourceCreds, params) => { + closureSourceCreds = sourceCreds; + if (!stsClient) { + const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions; + const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, { + logger, + profile, + }); + const isCompatibleRequestHandler = !isH2(requestHandler); + stsClient = new STSClient({ + ...stsOptions, + userAgentAppId, + profile, + credentialDefaultProvider: () => async () => closureSourceCreds, + region: resolvedRegion, + requestHandler: isCompatibleRequestHandler ? requestHandler : undefined, + logger: logger, + }); + } + const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleCommand(params)); + if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) { + throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`); + } + const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser); + const credentials = { + accessKeyId: Credentials.AccessKeyId, + secretAccessKey: Credentials.SecretAccessKey, + sessionToken: Credentials.SessionToken, + expiration: Credentials.Expiration, + ...(Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope }), + ...(accountId && { accountId }), + }; + setCredentialFeature(credentials, "CREDENTIALS_STS_ASSUME_ROLE", "i"); + return credentials; + }; +}; +export const getDefaultRoleAssumerWithWebIdentity = (stsOptions, STSClient) => { + let stsClient; + return async (params) => { + if (!stsClient) { + const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions; + const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, { + logger, + profile, + }); + const isCompatibleRequestHandler = !isH2(requestHandler); + stsClient = new STSClient({ + ...stsOptions, + userAgentAppId, + profile, + region: resolvedRegion, + requestHandler: isCompatibleRequestHandler ? requestHandler : undefined, + logger: logger, + }); + } + const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params)); + if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) { + throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`); + } + const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser); + const credentials = { + accessKeyId: Credentials.AccessKeyId, + secretAccessKey: Credentials.SecretAccessKey, + sessionToken: Credentials.SessionToken, + expiration: Credentials.Expiration, + ...(Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope }), + ...(accountId && { accountId }), + }; + if (accountId) { + setCredentialFeature(credentials, "RESOLVED_ACCOUNT_ID", "T"); + } + setCredentialFeature(credentials, "CREDENTIALS_STS_ASSUME_ROLE_WEB_ID", "k"); + return credentials; + }; +}; +export const decorateDefaultCredentialProvider = (provider) => (input) => provider({ + roleAssumer: getDefaultRoleAssumer(input, input.stsClientCtor), + roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity(input, input.stsClientCtor), + ...input, +}); +const isH2 = (requestHandler) => { + return requestHandler?.metadata?.handlerProtocol === "h2"; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js new file mode 100644 index 0000000..1c74b01 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js @@ -0,0 +1,15 @@ +export const resolveClientEndpointParameters = (options) => { + return Object.assign(options, { + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + useGlobalEndpoint: options.useGlobalEndpoint ?? false, + defaultSigningName: "sts", + }); +}; +export const commonParams = { + UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js new file mode 100644 index 0000000..f54d279 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js @@ -0,0 +1,14 @@ +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints"; +import { ruleSet } from "./ruleset"; +const cache = new EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS", "UseGlobalEndpoint"], +}); +export const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => resolveEndpoint(ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js new file mode 100644 index 0000000..1eedbbd --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js @@ -0,0 +1,142 @@ +const F = "required", G = "type", H = "fn", I = "argv", J = "ref"; +const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "string" }, n = { [F]: true, default: false, [G]: "boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], assign: "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = { + url: "https://sts.amazonaws.com", + properties: { authSchemes: [{ name: e, signingName: f, signingRegion: g }] }, + headers: {}, +}, v = {}, w = { conditions: [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y]; +const _data = { + version: "1.0", + parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, + rules: [ + { + conditions: [ + { [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, + { [H]: "not", [I]: C }, + p, + r, + { [H]: c, [I]: [s, a] }, + { [H]: c, [I]: [t, a] }, + ], + rules: [ + { conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h }, + w, + { conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h }, + { conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h }, + { + endpoint: { + url: i, + properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] }, + headers: v, + }, + [G]: h, + }, + ], + [G]: j, + }, + { + conditions: C, + rules: [ + { conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, + { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, + { endpoint: { url: o, properties: v, headers: v }, [G]: h }, + ], + [G]: j, + }, + { + conditions: [p], + rules: [ + { + conditions: [r], + rules: [ + { + conditions: [x, y], + rules: [ + { + conditions: [{ [H]: c, [I]: [b, z] }, B], + rules: [ + { + endpoint: { + url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + properties: v, + headers: v, + }, + [G]: h, + }, + ], + [G]: j, + }, + { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }, + ], + [G]: j, + }, + { + conditions: D, + rules: [ + { + conditions: [{ [H]: c, [I]: [z, b] }], + rules: [ + { + conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }], + endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, + [G]: h, + }, + { + endpoint: { + url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", + properties: v, + headers: v, + }, + [G]: h, + }, + ], + [G]: j, + }, + { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }, + ], + [G]: j, + }, + { + conditions: E, + rules: [ + { + conditions: [B], + rules: [ + { + endpoint: { + url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", + properties: v, + headers: v, + }, + [G]: h, + }, + ], + [G]: j, + }, + { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }, + ], + [G]: j, + }, + w, + { endpoint: { url: i, properties: v, headers: v }, [G]: h }, + ], + [G]: j, + }, + ], + [G]: j, + }, + { error: "Invalid Configuration: Missing Region", [G]: k }, + ], +}; +export const ruleSet = _data; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/extensionConfiguration.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/extensionConfiguration.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/extensionConfiguration.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js new file mode 100644 index 0000000..b77613a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js @@ -0,0 +1,8 @@ +export * from "./STSClient"; +export * from "./STS"; +export * from "./commands"; +export * from "./schemas/schemas_0"; +export * from "./models/errors"; +export * from "./models/models_0"; +export * from "./defaultRoleAssumers"; +export { STSServiceException } from "./models/STSServiceException"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js new file mode 100644 index 0000000..6d2963c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js @@ -0,0 +1,8 @@ +import { ServiceException as __ServiceException, } from "@smithy/smithy-client"; +export { __ServiceException }; +export class STSServiceException extends __ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, STSServiceException.prototype); + } +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js new file mode 100644 index 0000000..d3447c2 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js @@ -0,0 +1,85 @@ +import { STSServiceException as __BaseException } from "./STSServiceException"; +export class ExpiredTokenException extends __BaseException { + name = "ExpiredTokenException"; + $fault = "client"; + constructor(opts) { + super({ + name: "ExpiredTokenException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ExpiredTokenException.prototype); + } +} +export class MalformedPolicyDocumentException extends __BaseException { + name = "MalformedPolicyDocumentException"; + $fault = "client"; + constructor(opts) { + super({ + name: "MalformedPolicyDocumentException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype); + } +} +export class PackedPolicyTooLargeException extends __BaseException { + name = "PackedPolicyTooLargeException"; + $fault = "client"; + constructor(opts) { + super({ + name: "PackedPolicyTooLargeException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype); + } +} +export class RegionDisabledException extends __BaseException { + name = "RegionDisabledException"; + $fault = "client"; + constructor(opts) { + super({ + name: "RegionDisabledException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, RegionDisabledException.prototype); + } +} +export class IDPRejectedClaimException extends __BaseException { + name = "IDPRejectedClaimException"; + $fault = "client"; + constructor(opts) { + super({ + name: "IDPRejectedClaimException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, IDPRejectedClaimException.prototype); + } +} +export class InvalidIdentityTokenException extends __BaseException { + name = "InvalidIdentityTokenException"; + $fault = "client"; + constructor(opts) { + super({ + name: "InvalidIdentityTokenException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype); + } +} +export class IDPCommunicationErrorException extends __BaseException { + name = "IDPCommunicationErrorException"; + $fault = "client"; + constructor(opts) { + super({ + name: "IDPCommunicationErrorException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype); + } +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js new file mode 100644 index 0000000..2102cbd --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js @@ -0,0 +1,34 @@ +import packageInfo from "../../../package.json"; +import { Sha256 } from "@aws-crypto/sha256-browser"; +import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser"; +import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver"; +import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler"; +import { invalidProvider } from "@smithy/invalid-dependency"; +import { loadConfigsForDefaultMode } from "@smithy/smithy-client"; +import { calculateBodyLength } from "@smithy/util-body-length-browser"; +import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser"; +import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry"; +import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; +export const getRuntimeConfig = (config) => { + const defaultsMode = resolveDefaultsModeConfig(config); + const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); + const clientSharedValues = getSharedRuntimeConfig(config); + return { + ...clientSharedValues, + ...config, + runtime: "browser", + defaultsMode, + bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, + credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))), + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), + maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, + region: config?.region ?? invalidProvider("Region is missing"), + requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE), + sha256: config?.sha256 ?? Sha256, + streamCollector: config?.streamCollector ?? streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)), + useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)), + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js new file mode 100644 index 0000000..68c9bec --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js @@ -0,0 +1,63 @@ +import packageInfo from "../../../package.json"; +import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client"; +import { AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes"; +import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node"; +import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver"; +import { NoAuthSigner } from "@smithy/core"; +import { Hash } from "@smithy/hash-node"; +import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry"; +import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider"; +import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler"; +import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client"; +import { calculateBodyLength } from "@smithy/util-body-length-node"; +import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node"; +import { DEFAULT_RETRY_MODE } from "@smithy/util-retry"; +import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; +export const getRuntimeConfig = (config) => { + emitWarningIfUnsupportedVersion(process.version); + const defaultsMode = resolveDefaultsModeConfig(config); + const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); + const clientSharedValues = getSharedRuntimeConfig(config); + awsCheckVersion(process.version); + const loaderConfig = { + profile: config?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") || + (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()), + signer: new AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new NoAuthSigner(), + }, + ], + maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), + region: config?.region ?? + loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? + loadNodeConfig({ + ...NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, + }, config), + sha256: config?.sha256 ?? Hash.bind(null, "sha256"), + streamCollector: config?.streamCollector ?? streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.native.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.native.js new file mode 100644 index 0000000..0b54695 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.native.js @@ -0,0 +1,11 @@ +import { Sha256 } from "@aws-crypto/sha256-js"; +import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser"; +export const getRuntimeConfig = (config) => { + const browserDefaults = getBrowserRuntimeConfig(config); + return { + ...browserDefaults, + ...config, + runtime: "react-native", + sha256: config?.sha256 ?? Sha256, + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js new file mode 100644 index 0000000..00f76f6 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js @@ -0,0 +1,46 @@ +import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; +import { AwsQueryProtocol } from "@aws-sdk/core/protocols"; +import { NoAuthSigner } from "@smithy/core"; +import { NoOpLogger } from "@smithy/smithy-client"; +import { parseUrl } from "@smithy/url-parser"; +import { fromBase64, toBase64 } from "@smithy/util-base64"; +import { fromUtf8, toUtf8 } from "@smithy/util-utf8"; +import { defaultSTSHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider"; +import { defaultEndpointResolver } from "./endpoint/endpointResolver"; +import { errorTypeRegistries } from "./schemas/schemas_0"; +export const getRuntimeConfig = (config) => { + return { + apiVersion: "2011-06-15", + base64Decoder: config?.base64Decoder ?? fromBase64, + base64Encoder: config?.base64Encoder ?? toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, + extensions: config?.extensions ?? [], + httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSTSHttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new NoAuthSigner(), + }, + ], + logger: config?.logger ?? new NoOpLogger(), + protocol: config?.protocol ?? AwsQueryProtocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.sts", + errorTypeRegistries, + xmlNamespace: "https://sts.amazonaws.com/doc/2011-06-15/", + version: "2011-06-15", + serviceTarget: "AWSSecurityTokenServiceV20110615", + }, + serviceId: config?.serviceId ?? "STS", + urlParser: config?.urlParser ?? parseUrl, + utf8Decoder: config?.utf8Decoder ?? fromUtf8, + utf8Encoder: config?.utf8Encoder ?? toUtf8, + }; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js new file mode 100644 index 0000000..5b29695 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js @@ -0,0 +1,9 @@ +import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver"; +import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http"; +import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client"; +import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration"; +export const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js new file mode 100644 index 0000000..144d0a3 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js @@ -0,0 +1,192 @@ +const _A = "Arn"; +const _AKI = "AccessKeyId"; +const _AR = "AssumeRole"; +const _ARI = "AssumedRoleId"; +const _ARR = "AssumeRoleRequest"; +const _ARRs = "AssumeRoleResponse"; +const _ARU = "AssumedRoleUser"; +const _ARWWI = "AssumeRoleWithWebIdentity"; +const _ARWWIR = "AssumeRoleWithWebIdentityRequest"; +const _ARWWIRs = "AssumeRoleWithWebIdentityResponse"; +const _Au = "Audience"; +const _C = "Credentials"; +const _CA = "ContextAssertion"; +const _DS = "DurationSeconds"; +const _E = "Expiration"; +const _EI = "ExternalId"; +const _ETE = "ExpiredTokenException"; +const _IDPCEE = "IDPCommunicationErrorException"; +const _IDPRCE = "IDPRejectedClaimException"; +const _IITE = "InvalidIdentityTokenException"; +const _K = "Key"; +const _MPDE = "MalformedPolicyDocumentException"; +const _P = "Policy"; +const _PA = "PolicyArns"; +const _PAr = "ProviderArn"; +const _PC = "ProvidedContexts"; +const _PCLT = "ProvidedContextsListType"; +const _PCr = "ProvidedContext"; +const _PDT = "PolicyDescriptorType"; +const _PI = "ProviderId"; +const _PPS = "PackedPolicySize"; +const _PPTLE = "PackedPolicyTooLargeException"; +const _Pr = "Provider"; +const _RA = "RoleArn"; +const _RDE = "RegionDisabledException"; +const _RSN = "RoleSessionName"; +const _SAK = "SecretAccessKey"; +const _SFWIT = "SubjectFromWebIdentityToken"; +const _SI = "SourceIdentity"; +const _SN = "SerialNumber"; +const _ST = "SessionToken"; +const _T = "Tags"; +const _TC = "TokenCode"; +const _TTK = "TransitiveTagKeys"; +const _Ta = "Tag"; +const _V = "Value"; +const _WIT = "WebIdentityToken"; +const _a = "arn"; +const _aKST = "accessKeySecretType"; +const _aQE = "awsQueryError"; +const _c = "client"; +const _cTT = "clientTokenType"; +const _e = "error"; +const _hE = "httpError"; +const _m = "message"; +const _pDLT = "policyDescriptorListType"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sts"; +const _tLT = "tagListType"; +const n0 = "com.amazonaws.sts"; +import { TypeRegistry } from "@smithy/core/schema"; +import { ExpiredTokenException, IDPCommunicationErrorException, IDPRejectedClaimException, InvalidIdentityTokenException, MalformedPolicyDocumentException, PackedPolicyTooLargeException, RegionDisabledException, } from "../models/errors"; +import { STSServiceException } from "../models/STSServiceException"; +const _s_registry = TypeRegistry.for(_s); +export var STSServiceException$ = [-3, _s, "STSServiceException", 0, [], []]; +_s_registry.registerError(STSServiceException$, STSServiceException); +const n0_registry = TypeRegistry.for(n0); +export var ExpiredTokenException$ = [ + -3, + n0, + _ETE, + { [_aQE]: [`ExpiredTokenException`, 400], [_e]: _c, [_hE]: 400 }, + [_m], + [0], +]; +n0_registry.registerError(ExpiredTokenException$, ExpiredTokenException); +export var IDPCommunicationErrorException$ = [ + -3, + n0, + _IDPCEE, + { [_aQE]: [`IDPCommunicationError`, 400], [_e]: _c, [_hE]: 400 }, + [_m], + [0], +]; +n0_registry.registerError(IDPCommunicationErrorException$, IDPCommunicationErrorException); +export var IDPRejectedClaimException$ = [ + -3, + n0, + _IDPRCE, + { [_aQE]: [`IDPRejectedClaim`, 403], [_e]: _c, [_hE]: 403 }, + [_m], + [0], +]; +n0_registry.registerError(IDPRejectedClaimException$, IDPRejectedClaimException); +export var InvalidIdentityTokenException$ = [ + -3, + n0, + _IITE, + { [_aQE]: [`InvalidIdentityToken`, 400], [_e]: _c, [_hE]: 400 }, + [_m], + [0], +]; +n0_registry.registerError(InvalidIdentityTokenException$, InvalidIdentityTokenException); +export var MalformedPolicyDocumentException$ = [ + -3, + n0, + _MPDE, + { [_aQE]: [`MalformedPolicyDocument`, 400], [_e]: _c, [_hE]: 400 }, + [_m], + [0], +]; +n0_registry.registerError(MalformedPolicyDocumentException$, MalformedPolicyDocumentException); +export var PackedPolicyTooLargeException$ = [ + -3, + n0, + _PPTLE, + { [_aQE]: [`PackedPolicyTooLarge`, 400], [_e]: _c, [_hE]: 400 }, + [_m], + [0], +]; +n0_registry.registerError(PackedPolicyTooLargeException$, PackedPolicyTooLargeException); +export var RegionDisabledException$ = [ + -3, + n0, + _RDE, + { [_aQE]: [`RegionDisabledException`, 403], [_e]: _c, [_hE]: 403 }, + [_m], + [0], +]; +n0_registry.registerError(RegionDisabledException$, RegionDisabledException); +export const errorTypeRegistries = [_s_registry, n0_registry]; +var accessKeySecretType = [0, n0, _aKST, 8, 0]; +var clientTokenType = [0, n0, _cTT, 8, 0]; +export var AssumedRoleUser$ = [3, n0, _ARU, 0, [_ARI, _A], [0, 0], 2]; +export var AssumeRoleRequest$ = [ + 3, + n0, + _ARR, + 0, + [_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC], + [0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType], + 2, +]; +export var AssumeRoleResponse$ = [ + 3, + n0, + _ARRs, + 0, + [_C, _ARU, _PPS, _SI], + [[() => Credentials$, 0], () => AssumedRoleUser$, 1, 0], +]; +export var AssumeRoleWithWebIdentityRequest$ = [ + 3, + n0, + _ARWWIR, + 0, + [_RA, _RSN, _WIT, _PI, _PA, _P, _DS], + [0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1], + 3, +]; +export var AssumeRoleWithWebIdentityResponse$ = [ + 3, + n0, + _ARWWIRs, + 0, + [_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI], + [[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0], +]; +export var Credentials$ = [ + 3, + n0, + _C, + 0, + [_AKI, _SAK, _ST, _E], + [0, [() => accessKeySecretType, 0], 0, 4], + 4, +]; +export var PolicyDescriptorType$ = [3, n0, _PDT, 0, [_a], [0]]; +export var ProvidedContext$ = [3, n0, _PCr, 0, [_PAr, _CA], [0, 0]]; +export var Tag$ = [3, n0, _Ta, 0, [_K, _V], [0, 0], 2]; +var policyDescriptorListType = [1, n0, _pDLT, 0, () => PolicyDescriptorType$]; +var ProvidedContextsListType = [1, n0, _PCLT, 0, () => ProvidedContext$]; +var tagKeyListType = 64 | 0; +var tagListType = [1, n0, _tLT, 0, () => Tag$]; +export var AssumeRole$ = [9, n0, _AR, 0, () => AssumeRoleRequest$, () => AssumeRoleResponse$]; +export var AssumeRoleWithWebIdentity$ = [ + 9, + n0, + _ARWWI, + 0, + () => AssumeRoleWithWebIdentityRequest$, + () => AssumeRoleWithWebIdentityResponse$, +]; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/index.d.ts new file mode 100644 index 0000000..9d99a73 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/index.d.ts @@ -0,0 +1,7 @@ +/** + * This package exports nothing at the root. + * Use submodules e.g. \@aws-sdk/nested-clients/client-sts. + * + * @internal + */ +export {}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts new file mode 100644 index 0000000..11028a6 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts @@ -0,0 +1,38 @@ +import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; +import { CognitoIdentityClient } from "./CognitoIdentityClient"; +import { type GetCredentialsForIdentityCommandInput, type GetCredentialsForIdentityCommandOutput } from "./commands/GetCredentialsForIdentityCommand"; +import { type GetIdCommandInput, type GetIdCommandOutput } from "./commands/GetIdCommand"; +export interface CognitoIdentity { + /** + * @see {@link GetCredentialsForIdentityCommand} + */ + getCredentialsForIdentity(args: GetCredentialsForIdentityCommandInput, options?: __HttpHandlerOptions): Promise; + getCredentialsForIdentity(args: GetCredentialsForIdentityCommandInput, cb: (err: any, data?: GetCredentialsForIdentityCommandOutput) => void): void; + getCredentialsForIdentity(args: GetCredentialsForIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCredentialsForIdentityCommandOutput) => void): void; + /** + * @see {@link GetIdCommand} + */ + getId(args: GetIdCommandInput, options?: __HttpHandlerOptions): Promise; + getId(args: GetIdCommandInput, cb: (err: any, data?: GetIdCommandOutput) => void): void; + getId(args: GetIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIdCommandOutput) => void): void; +} +/** + * Amazon Cognito Federated Identities + *

Amazon Cognito Federated Identities is a web service that delivers scoped temporary + * credentials to mobile devices and other untrusted environments. It uniquely identifies a + * device and supplies the user with a consistent identity over the lifetime of an + * application.

+ *

Using Amazon Cognito Federated Identities, you can enable authentication with one or + * more third-party identity providers (Facebook, Google, or Login with Amazon) or an Amazon + * Cognito user pool, and you can also choose to support unauthenticated access from your app. + * Cognito delivers a unique identifier for each user and acts as an OpenID token provider + * trusted by Security Token Service (STS) to access temporary, limited-privilege Amazon Web Services credentials.

+ *

For a description of the authentication flow from the Amazon Cognito Developer Guide + * see Authentication + * Flow.

+ *

For more information see Amazon Cognito Federated + * Identities.

+ * @public + */ +export declare class CognitoIdentity extends CognitoIdentityClient implements CognitoIdentity { +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts new file mode 100644 index 0000000..ba7ab53 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts @@ -0,0 +1,197 @@ +import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header"; +import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent"; +import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver"; +import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint"; +import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry"; +import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http"; +import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client"; +import type { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types"; +import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider"; +import type { GetCredentialsForIdentityCommandInput, GetCredentialsForIdentityCommandOutput } from "./commands/GetCredentialsForIdentityCommand"; +import type { GetIdCommandInput, GetIdCommandOutput } from "./commands/GetIdCommand"; +import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters"; +import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions"; +export { __Client }; +/** + * @public + */ +export type ServiceInputTypes = GetCredentialsForIdentityCommandInput | GetIdCommandInput; +/** + * @public + */ +export type ServiceOutputTypes = GetCredentialsForIdentityCommandOutput | GetIdCommandOutput; +/** + * @public + */ +export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { + /** + * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs. + */ + requestHandler?: __HttpHandlerUserInput; + /** + * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface + * that computes the SHA-256 HMAC or checksum of a string or binary buffer. + * @internal + */ + sha256?: __ChecksumConstructor | __HashConstructor; + /** + * The function that will be used to convert strings into HTTP endpoints. + * @internal + */ + urlParser?: __UrlParser; + /** + * A function that can calculate the length of a request body. + * @internal + */ + bodyLengthChecker?: __BodyLengthCalculator; + /** + * A function that converts a stream into an array of bytes. + * @internal + */ + streamCollector?: __StreamCollector; + /** + * The function that will be used to convert a base64-encoded string to a byte array. + * @internal + */ + base64Decoder?: __Decoder; + /** + * The function that will be used to convert binary data to a base64-encoded string. + * @internal + */ + base64Encoder?: __Encoder; + /** + * The function that will be used to convert a UTF8-encoded string to a byte array. + * @internal + */ + utf8Decoder?: __Decoder; + /** + * The function that will be used to convert binary data to a UTF-8 encoded string. + * @internal + */ + utf8Encoder?: __Encoder; + /** + * The runtime environment. + * @internal + */ + runtime?: string; + /** + * Disable dynamically changing the endpoint of the client based on the hostPrefix + * trait of an operation. + */ + disableHostPrefix?: boolean; + /** + * Unique service identifier. + * @internal + */ + serviceId?: string; + /** + * Enables IPv6/IPv4 dualstack endpoint. + */ + useDualstackEndpoint?: boolean | __Provider; + /** + * Enables FIPS compatible endpoints. + */ + useFipsEndpoint?: boolean | __Provider; + /** + * The AWS region to which this client will send requests + */ + region?: string | __Provider; + /** + * Setting a client profile is similar to setting a value for the + * AWS_PROFILE environment variable. Setting a profile on a client + * in code only affects the single client instance, unlike AWS_PROFILE. + * + * When set, and only for environments where an AWS configuration + * file exists, fields configurable by this file will be retrieved + * from the specified profile within that file. + * Conflicting code configuration and environment variables will + * still have higher priority. + * + * For client credential resolution that involves checking the AWS + * configuration file, the client's profile (this value) will be + * used unless a different profile is set in the credential + * provider options. + * + */ + profile?: string; + /** + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal + */ + defaultUserAgentProvider?: __Provider<__UserAgent>; + /** + * Value for how many times a request will be made at most in case of retry. + */ + maxAttempts?: number | __Provider; + /** + * Specifies which retry algorithm to use. + * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/ + * + */ + retryMode?: string | __Provider; + /** + * Optional logger for logging debug/info/warn/error. + */ + logger?: __Logger; + /** + * Optional extensions + */ + extensions?: RuntimeExtension[]; + /** + * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. + */ + defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; +} +/** + * @public + */ +export type CognitoIdentityClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters; +/** + * @public + * + * The configuration interface of CognitoIdentityClient class constructor that set the region, credentials and other options. + */ +export interface CognitoIdentityClientConfig extends CognitoIdentityClientConfigType { +} +/** + * @public + */ +export type CognitoIdentityClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters; +/** + * @public + * + * The resolved configuration interface of CognitoIdentityClient class. This is resolved and normalized from the {@link CognitoIdentityClientConfig | constructor configuration interface}. + */ +export interface CognitoIdentityClientResolvedConfig extends CognitoIdentityClientResolvedConfigType { +} +/** + * Amazon Cognito Federated Identities + *

Amazon Cognito Federated Identities is a web service that delivers scoped temporary + * credentials to mobile devices and other untrusted environments. It uniquely identifies a + * device and supplies the user with a consistent identity over the lifetime of an + * application.

+ *

Using Amazon Cognito Federated Identities, you can enable authentication with one or + * more third-party identity providers (Facebook, Google, or Login with Amazon) or an Amazon + * Cognito user pool, and you can also choose to support unauthenticated access from your app. + * Cognito delivers a unique identifier for each user and acts as an OpenID token provider + * trusted by Security Token Service (STS) to access temporary, limited-privilege Amazon Web Services credentials.

+ *

For a description of the authentication flow from the Amazon Cognito Developer Guide + * see Authentication + * Flow.

+ *

For more information see Amazon Cognito Federated + * Identities.

+ * @public + */ +export declare class CognitoIdentityClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CognitoIdentityClientResolvedConfig> { + /** + * The resolved configuration of CognitoIdentityClient class. This is resolved and normalized from the {@link CognitoIdentityClientConfig | constructor configuration interface}. + */ + readonly config: CognitoIdentityClientResolvedConfig; + constructor(...[configuration]: __CheckOptionalClientConfig); + /** + * Destroy underlying resources, like sockets. It's usually not necessary to do this. + * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. + * Otherwise, sockets might stay open for quite a long time before the server terminates them. + */ + destroy(): void; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts new file mode 100644 index 0000000..022f9f9 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts @@ -0,0 +1,29 @@ +import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types"; +import type { CognitoIdentityHttpAuthSchemeProvider } from "./httpAuthSchemeProvider"; +/** + * @internal + */ +export interface HttpAuthExtensionConfiguration { + setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void; + httpAuthSchemes(): HttpAuthScheme[]; + setHttpAuthSchemeProvider(httpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider): void; + httpAuthSchemeProvider(): CognitoIdentityHttpAuthSchemeProvider; + setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void; + credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined; +} +/** + * @internal + */ +export type HttpAuthRuntimeConfig = Partial<{ + httpAuthSchemes: HttpAuthScheme[]; + httpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider; + credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider; +}>; +/** + * @internal + */ +export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration; +/** + * @internal + */ +export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts new file mode 100644 index 0000000..f09052e --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts @@ -0,0 +1,75 @@ +import type { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes"; +import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types"; +import { type CognitoIdentityClientResolvedConfig } from "../CognitoIdentityClient"; +/** + * @internal + */ +export interface CognitoIdentityHttpAuthSchemeParameters extends HttpAuthSchemeParameters { + region?: string; +} +/** + * @internal + */ +export interface CognitoIdentityHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider { +} +/** + * @internal + */ +export declare const defaultCognitoIdentityHttpAuthSchemeParametersProvider: (config: CognitoIdentityClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise; +/** + * @internal + */ +export interface CognitoIdentityHttpAuthSchemeProvider extends HttpAuthSchemeProvider { +} +/** + * @internal + */ +export declare const defaultCognitoIdentityHttpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider; +/** + * @public + */ +export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig { + /** + * A comma-separated list of case-sensitive auth scheme names. + * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed. + * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4. + * @public + */ + authSchemePreference?: string[] | Provider; + /** + * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. + * @internal + */ + httpAuthSchemes?: HttpAuthScheme[]; + /** + * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. + * @internal + */ + httpAuthSchemeProvider?: CognitoIdentityHttpAuthSchemeProvider; +} +/** + * @internal + */ +export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig { + /** + * A comma-separated list of case-sensitive auth scheme names. + * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed. + * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4. + * @public + */ + readonly authSchemePreference: Provider; + /** + * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. + * @internal + */ + readonly httpAuthSchemes: HttpAuthScheme[]; + /** + * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. + * @internal + */ + readonly httpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider; +} +/** + * @internal + */ +export declare const resolveHttpAuthSchemeConfig: (config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts new file mode 100644 index 0000000..0eecefa --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts @@ -0,0 +1,120 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient"; +import type { GetCredentialsForIdentityInput, GetCredentialsForIdentityResponse } from "../models/models_0"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetCredentialsForIdentityCommand}. + */ +export interface GetCredentialsForIdentityCommandInput extends GetCredentialsForIdentityInput { +} +/** + * @public + * + * The output of {@link GetCredentialsForIdentityCommand}. + */ +export interface GetCredentialsForIdentityCommandOutput extends GetCredentialsForIdentityResponse, __MetadataBearer { +} +declare const GetCredentialsForIdentityCommand_base: { + new (input: GetCredentialsForIdentityCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetCredentialsForIdentityCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Returns credentials for the provided identity ID. Any provided logins will be + * validated against supported login providers. If the token is for + * cognito-identity.amazonaws.com, it will be passed through to Security Token Service with the appropriate role for the token.

+ *

This is a public API. You do not need any credentials to call this API.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { CognitoIdentityClient, GetCredentialsForIdentityCommand } from "@aws-sdk/client-cognito-identity"; // ES Modules import + * // const { CognitoIdentityClient, GetCredentialsForIdentityCommand } = require("@aws-sdk/client-cognito-identity"); // CommonJS import + * // import type { CognitoIdentityClientConfig } from "@aws-sdk/client-cognito-identity"; + * const config = {}; // type is CognitoIdentityClientConfig + * const client = new CognitoIdentityClient(config); + * const input = { // GetCredentialsForIdentityInput + * IdentityId: "STRING_VALUE", // required + * Logins: { // LoginsMap + * "": "STRING_VALUE", + * }, + * CustomRoleArn: "STRING_VALUE", + * }; + * const command = new GetCredentialsForIdentityCommand(input); + * const response = await client.send(command); + * // { // GetCredentialsForIdentityResponse + * // IdentityId: "STRING_VALUE", + * // Credentials: { // Credentials + * // AccessKeyId: "STRING_VALUE", + * // SecretKey: "STRING_VALUE", + * // SessionToken: "STRING_VALUE", + * // Expiration: new Date("TIMESTAMP"), + * // }, + * // }; + * + * ``` + * + * @param GetCredentialsForIdentityCommandInput - {@link GetCredentialsForIdentityCommandInput} + * @returns {@link GetCredentialsForIdentityCommandOutput} + * @see {@link GetCredentialsForIdentityCommandInput} for command's `input` shape. + * @see {@link GetCredentialsForIdentityCommandOutput} for command's `response` shape. + * @see {@link CognitoIdentityClientResolvedConfig | config} for CognitoIdentityClient's `config` shape. + * + * @throws {@link ExternalServiceException} (client fault) + *

An exception thrown when a dependent service such as Facebook or Twitter is not + * responding

+ * + * @throws {@link InternalErrorException} (server fault) + *

Thrown when the service encounters an error during processing the request.

+ * + * @throws {@link InvalidIdentityPoolConfigurationException} (client fault) + *

If you provided authentication information in the request, the identity pool has no + * authenticated role configured, or STS returned an error response to the + * request to assume the authenticated role from the identity pool. If you provided no + * authentication information in the request, the identity pool has no unauthenticated role + * configured, or STS returned an error response to the request to assume the + * unauthenticated role from the identity pool.

+ *

Your role trust policy must grant AssumeRoleWithWebIdentity permissions to cognito-identity.amazonaws.com.

+ * + * @throws {@link InvalidParameterException} (client fault) + *

Thrown for missing or bad input parameter(s).

+ * + * @throws {@link NotAuthorizedException} (client fault) + *

Thrown when a user is not authorized to access the requested resource.

+ * + * @throws {@link ResourceConflictException} (client fault) + *

Thrown when a user tries to use a login which is already linked to another + * account.

+ * + * @throws {@link ResourceNotFoundException} (client fault) + *

Thrown when the requested resource (for example, a dataset or record) does not + * exist.

+ * + * @throws {@link TooManyRequestsException} (client fault) + *

Thrown when a request is throttled.

+ * + * @throws {@link CognitoIdentityServiceException} + *

Base exception class for all service exceptions from CognitoIdentity service.

+ * + * + * @public + */ +export declare class GetCredentialsForIdentityCommand extends GetCredentialsForIdentityCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetCredentialsForIdentityInput; + output: GetCredentialsForIdentityResponse; + }; + sdk: { + input: GetCredentialsForIdentityCommandInput; + output: GetCredentialsForIdentityCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts new file mode 100644 index 0000000..df1f81c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts @@ -0,0 +1,107 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient"; +import type { GetIdInput, GetIdResponse } from "../models/models_0"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetIdCommand}. + */ +export interface GetIdCommandInput extends GetIdInput { +} +/** + * @public + * + * The output of {@link GetIdCommand}. + */ +export interface GetIdCommandOutput extends GetIdResponse, __MetadataBearer { +} +declare const GetIdCommand_base: { + new (input: GetIdCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetIdCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Generates (or retrieves) IdentityID. Supplying multiple logins will create an + * implicit linked account.

+ *

This is a public API. You do not need any credentials to call this API.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { CognitoIdentityClient, GetIdCommand } from "@aws-sdk/client-cognito-identity"; // ES Modules import + * // const { CognitoIdentityClient, GetIdCommand } = require("@aws-sdk/client-cognito-identity"); // CommonJS import + * // import type { CognitoIdentityClientConfig } from "@aws-sdk/client-cognito-identity"; + * const config = {}; // type is CognitoIdentityClientConfig + * const client = new CognitoIdentityClient(config); + * const input = { // GetIdInput + * AccountId: "STRING_VALUE", + * IdentityPoolId: "STRING_VALUE", // required + * Logins: { // LoginsMap + * "": "STRING_VALUE", + * }, + * }; + * const command = new GetIdCommand(input); + * const response = await client.send(command); + * // { // GetIdResponse + * // IdentityId: "STRING_VALUE", + * // }; + * + * ``` + * + * @param GetIdCommandInput - {@link GetIdCommandInput} + * @returns {@link GetIdCommandOutput} + * @see {@link GetIdCommandInput} for command's `input` shape. + * @see {@link GetIdCommandOutput} for command's `response` shape. + * @see {@link CognitoIdentityClientResolvedConfig | config} for CognitoIdentityClient's `config` shape. + * + * @throws {@link ExternalServiceException} (client fault) + *

An exception thrown when a dependent service such as Facebook or Twitter is not + * responding

+ * + * @throws {@link InternalErrorException} (server fault) + *

Thrown when the service encounters an error during processing the request.

+ * + * @throws {@link InvalidParameterException} (client fault) + *

Thrown for missing or bad input parameter(s).

+ * + * @throws {@link LimitExceededException} (client fault) + *

Thrown when the total number of user pools has exceeded a preset limit.

+ * + * @throws {@link NotAuthorizedException} (client fault) + *

Thrown when a user is not authorized to access the requested resource.

+ * + * @throws {@link ResourceConflictException} (client fault) + *

Thrown when a user tries to use a login which is already linked to another + * account.

+ * + * @throws {@link ResourceNotFoundException} (client fault) + *

Thrown when the requested resource (for example, a dataset or record) does not + * exist.

+ * + * @throws {@link TooManyRequestsException} (client fault) + *

Thrown when a request is throttled.

+ * + * @throws {@link CognitoIdentityServiceException} + *

Base exception class for all service exceptions from CognitoIdentity service.

+ * + * + * @public + */ +export declare class GetIdCommand extends GetIdCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetIdInput; + output: GetIdResponse; + }; + sdk: { + input: GetIdCommandInput; + output: GetIdCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/index.d.ts new file mode 100644 index 0000000..dc560a4 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/index.d.ts @@ -0,0 +1,2 @@ +export * from "./GetCredentialsForIdentityCommand"; +export * from "./GetIdCommand"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/EndpointParameters.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/EndpointParameters.d.ts new file mode 100644 index 0000000..240d523 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/EndpointParameters.d.ts @@ -0,0 +1,50 @@ +import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types"; +/** + * @public + */ +export interface ClientInputEndpointParameters { + region?: string | undefined | Provider; + useDualstackEndpoint?: boolean | undefined | Provider; + useFipsEndpoint?: boolean | undefined | Provider; + endpoint?: string | Provider | Endpoint | Provider | EndpointV2 | Provider; +} +/** + * @public + */ +export type ClientResolvedEndpointParameters = Omit & { + defaultSigningName: string; +}; +/** + * @internal + */ +export declare const resolveClientEndpointParameters: (options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters; +/** + * @internal + */ +export declare const commonParams: { + readonly UseFIPS: { + readonly type: "builtInParams"; + readonly name: "useFipsEndpoint"; + }; + readonly Endpoint: { + readonly type: "builtInParams"; + readonly name: "endpoint"; + }; + readonly Region: { + readonly type: "builtInParams"; + readonly name: "region"; + }; + readonly UseDualStack: { + readonly type: "builtInParams"; + readonly name: "useDualstackEndpoint"; + }; +}; +/** + * @internal + */ +export interface EndpointParameters extends __EndpointParameters { + Region?: string | undefined; + UseDualStack?: boolean | undefined; + UseFIPS?: boolean | undefined; + Endpoint?: string | undefined; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/endpointResolver.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/endpointResolver.d.ts new file mode 100644 index 0000000..c1de67d --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/endpointResolver.d.ts @@ -0,0 +1,8 @@ +import type { EndpointV2, Logger } from "@smithy/types"; +import type { EndpointParameters } from "./EndpointParameters"; +/** + * @internal + */ +export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: { + logger?: Logger; +}) => EndpointV2; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts new file mode 100644 index 0000000..4dda20a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts @@ -0,0 +1,2 @@ +import type { RuleSetObject } from "@smithy/types"; +export declare const ruleSet: RuleSetObject; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/extensionConfiguration.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/extensionConfiguration.d.ts new file mode 100644 index 0000000..bfdae88 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/extensionConfiguration.d.ts @@ -0,0 +1,9 @@ +import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; +import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; +import type { DefaultExtensionConfiguration } from "@smithy/types"; +import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; +/** + * @internal + */ +export interface CognitoIdentityExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration { +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts new file mode 100644 index 0000000..e1a9ca4 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts @@ -0,0 +1,29 @@ +/** + * Amazon Cognito Federated Identities + *

Amazon Cognito Federated Identities is a web service that delivers scoped temporary + * credentials to mobile devices and other untrusted environments. It uniquely identifies a + * device and supplies the user with a consistent identity over the lifetime of an + * application.

+ *

Using Amazon Cognito Federated Identities, you can enable authentication with one or + * more third-party identity providers (Facebook, Google, or Login with Amazon) or an Amazon + * Cognito user pool, and you can also choose to support unauthenticated access from your app. + * Cognito delivers a unique identifier for each user and acts as an OpenID token provider + * trusted by Security Token Service (STS) to access temporary, limited-privilege Amazon Web Services credentials.

+ *

For a description of the authentication flow from the Amazon Cognito Developer Guide + * see Authentication + * Flow.

+ *

For more information see Amazon Cognito Federated + * Identities.

+ * + * @packageDocumentation + */ +export * from "./CognitoIdentityClient"; +export * from "./CognitoIdentity"; +export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; +export type { RuntimeExtension } from "./runtimeExtensions"; +export type { CognitoIdentityExtensionConfiguration } from "./extensionConfiguration"; +export * from "./commands"; +export * from "./schemas/schemas_0"; +export * from "./models/errors"; +export * from "./models/models_0"; +export { CognitoIdentityServiceException } from "./models/CognitoIdentityServiceException"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts new file mode 100644 index 0000000..20b34eb --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts @@ -0,0 +1,14 @@ +import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client"; +export type { __ServiceExceptionOptions }; +export { __ServiceException }; +/** + * @public + * + * Base exception class for all service exceptions from CognitoIdentity service. + */ +export declare class CognitoIdentityServiceException extends __ServiceException { + /** + * @internal + */ + constructor(options: __ServiceExceptionOptions); +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts new file mode 100644 index 0000000..f049b08 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts @@ -0,0 +1,119 @@ +import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; +import { CognitoIdentityServiceException as __BaseException } from "./CognitoIdentityServiceException"; +/** + *

An exception thrown when a dependent service such as Facebook or Twitter is not + * responding

+ * @public + */ +export declare class ExternalServiceException extends __BaseException { + readonly name: "ExternalServiceException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Thrown when the service encounters an error during processing the request.

+ * @public + */ +export declare class InternalErrorException extends __BaseException { + readonly name: "InternalErrorException"; + readonly $fault: "server"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

If you provided authentication information in the request, the identity pool has no + * authenticated role configured, or STS returned an error response to the + * request to assume the authenticated role from the identity pool. If you provided no + * authentication information in the request, the identity pool has no unauthenticated role + * configured, or STS returned an error response to the request to assume the + * unauthenticated role from the identity pool.

+ *

Your role trust policy must grant AssumeRoleWithWebIdentity permissions to cognito-identity.amazonaws.com.

+ * @public + */ +export declare class InvalidIdentityPoolConfigurationException extends __BaseException { + readonly name: "InvalidIdentityPoolConfigurationException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Thrown for missing or bad input parameter(s).

+ * @public + */ +export declare class InvalidParameterException extends __BaseException { + readonly name: "InvalidParameterException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Thrown when a user is not authorized to access the requested resource.

+ * @public + */ +export declare class NotAuthorizedException extends __BaseException { + readonly name: "NotAuthorizedException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Thrown when a user tries to use a login which is already linked to another + * account.

+ * @public + */ +export declare class ResourceConflictException extends __BaseException { + readonly name: "ResourceConflictException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Thrown when the requested resource (for example, a dataset or record) does not + * exist.

+ * @public + */ +export declare class ResourceNotFoundException extends __BaseException { + readonly name: "ResourceNotFoundException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Thrown when a request is throttled.

+ * @public + */ +export declare class TooManyRequestsException extends __BaseException { + readonly name: "TooManyRequestsException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Thrown when the total number of user pools has exceeded a preset limit.

+ * @public + */ +export declare class LimitExceededException extends __BaseException { + readonly name: "LimitExceededException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/models_0.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/models_0.d.ts new file mode 100644 index 0000000..3bf7c02 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/models_0.d.ts @@ -0,0 +1,136 @@ +/** + *

Input to the GetCredentialsForIdentity action.

+ * @public + */ +export interface GetCredentialsForIdentityInput { + /** + *

A unique identifier in the format REGION:GUID.

+ * @public + */ + IdentityId: string | undefined; + /** + *

A set of optional name-value pairs that map provider names to provider tokens. The + * name-value pair will follow the syntax "provider_name": + * "provider_user_identifier".

+ *

Logins should not be specified when trying to get credentials for an unauthenticated + * identity.

+ *

The Logins parameter is required when using identities associated with external + * identity providers such as Facebook. For examples of Logins maps, see the code + * examples in the External Identity + * Providers section of the Amazon Cognito Developer Guide.

+ * @public + */ + Logins?: Record | undefined; + /** + *

The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were + * received in the token from the identity provider. For example, a SAML-based identity + * provider. This parameter is optional for identity providers that do not support role + * customization.

+ * @public + */ + CustomRoleArn?: string | undefined; +} +/** + *

Credentials for the provided identity ID.

+ * @public + */ +export interface Credentials { + /** + *

The Access Key portion of the credentials.

+ * @public + */ + AccessKeyId?: string | undefined; + /** + *

The Secret Access Key portion of the credentials

+ * @public + */ + SecretKey?: string | undefined; + /** + *

The Session Token portion of the credentials

+ * @public + */ + SessionToken?: string | undefined; + /** + *

The date at which these credentials will expire.

+ * @public + */ + Expiration?: Date | undefined; +} +/** + *

Returned in response to a successful GetCredentialsForIdentity + * operation.

+ * @public + */ +export interface GetCredentialsForIdentityResponse { + /** + *

A unique identifier in the format REGION:GUID.

+ * @public + */ + IdentityId?: string | undefined; + /** + *

Credentials for the provided identity ID.

+ * @public + */ + Credentials?: Credentials | undefined; +} +/** + *

Input to the GetId action.

+ * @public + */ +export interface GetIdInput { + /** + *

A standard Amazon Web Services account ID (9+ digits).

+ * @public + */ + AccountId?: string | undefined; + /** + *

An identity pool ID in the format REGION:GUID.

+ * @public + */ + IdentityPoolId: string | undefined; + /** + *

A set of optional name-value pairs that map provider names to provider tokens. The + * available provider names for Logins are as follows:

+ *
    + *
  • + *

    Facebook: graph.facebook.com + *

    + *
  • + *
  • + *

    Amazon Cognito user pool: + * cognito-idp..amazonaws.com/, + * for example, cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789. + *

    + *
  • + *
  • + *

    Google: accounts.google.com + *

    + *
  • + *
  • + *

    Amazon: www.amazon.com + *

    + *
  • + *
  • + *

    Twitter: api.twitter.com + *

    + *
  • + *
  • + *

    Digits: www.digits.com + *

    + *
  • + *
+ * @public + */ + Logins?: Record | undefined; +} +/** + *

Returned in response to a GetId request.

+ * @public + */ +export interface GetIdResponse { + /** + *

A unique identifier in the format REGION:GUID.

+ * @public + */ + IdentityId?: string | undefined; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts new file mode 100644 index 0000000..e7c8e1c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts @@ -0,0 +1,62 @@ +import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; +import type { CognitoIdentityClientConfig } from "./CognitoIdentityClient"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + region: string | import("@smithy/types").Provider; + requestHandler: import("@smithy/protocol-http").HttpHandler | RequestHandler; + retryMode: string | import("@smithy/types").Provider; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + cacheMiddleware?: boolean | undefined; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsJson1_1Protocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: string | undefined | import("@smithy/types").Provider; + retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; + endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; + endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | undefined; + signer: import("@aws-sdk/core/dist-types/submodules/httpAuthSchemes").AwsSdkSigV4Signer; + } | { + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + })[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CognitoIdentityHttpAuthSchemeProvider; + credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts new file mode 100644 index 0000000..f9cbf64 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts @@ -0,0 +1,62 @@ +import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; +import type { CognitoIdentityClientConfig } from "./CognitoIdentityClient"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider; + authSchemePreference: string[] | import("@smithy/types").Provider; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + region: string | import("@smithy/types").Provider; + requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler; + retryMode: string | import("@smithy/types").Provider; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + useDualstackEndpoint: boolean | import("@smithy/types").Provider; + useFipsEndpoint: boolean | import("@smithy/types").Provider; + userAgentAppId: string | import("@smithy/types").Provider; + cacheMiddleware?: boolean | undefined; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsJson1_1Protocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + customUserAgent?: string | import("@smithy/types").UserAgent; + retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; + endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; + endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | undefined; + signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; + } | { + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + })[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CognitoIdentityHttpAuthSchemeProvider; + credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts new file mode 100644 index 0000000..07e8a69 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts @@ -0,0 +1,61 @@ +import type { CognitoIdentityClientConfig } from "./CognitoIdentityClient"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) => { + runtime: string; + sha256: import("@smithy/types").HashConstructor; + requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record | import("@smithy/protocol-http").HttpHandler | import("@smithy/fetch-http-handler").FetchHttpHandler; + cacheMiddleware?: boolean; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsJson1_1Protocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + streamCollector: import("@smithy/types").StreamCollector; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + region: string | import("@smithy/types").Provider; + profile?: string; + defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + retryMode: string | import("@smithy/types").Provider; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: string | undefined | import("@smithy/types").Provider; + retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; + endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; + endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | undefined; + signer: import("@aws-sdk/core/dist-types/submodules/httpAuthSchemes").AwsSdkSigV4Signer; + } | { + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + })[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CognitoIdentityHttpAuthSchemeProvider; + credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts new file mode 100644 index 0000000..8cd1708 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts @@ -0,0 +1,38 @@ +import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; +import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols"; +import { NoAuthSigner } from "@smithy/core"; +import type { IdentityProviderConfig } from "@smithy/types"; +import type { CognitoIdentityClientConfig } from "./CognitoIdentityClient"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) => { + apiVersion: string; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + disableHostPrefix: boolean; + endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CognitoIdentityHttpAuthSchemeProvider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ + schemeId: string; + identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider | undefined; + signer: AwsSdkSigV4Signer; + } | { + schemeId: string; + identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider | (() => Promise<{}>); + signer: NoAuthSigner; + })[]; + logger: import("@smithy/types").Logger; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof AwsJson1_1Protocol; + protocolSettings: { + [setting: string]: unknown; + defaultNamespace?: string; + }; + serviceId: string; + urlParser: import("@smithy/types").UrlParser; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeExtensions.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeExtensions.d.ts new file mode 100644 index 0000000..2a4d33e --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeExtensions.d.ts @@ -0,0 +1,17 @@ +import type { CognitoIdentityExtensionConfiguration } from "./extensionConfiguration"; +/** + * @public + */ +export interface RuntimeExtension { + configure(extensionConfiguration: CognitoIdentityExtensionConfiguration): void; +} +/** + * @public + */ +export interface RuntimeExtensionsConfig { + extensions: RuntimeExtension[]; +} +/** + * @internal + */ +export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/schemas/schemas_0.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/schemas/schemas_0.d.ts new file mode 100644 index 0000000..fd3092b --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/schemas/schemas_0.d.ts @@ -0,0 +1,25 @@ +import { TypeRegistry } from "@smithy/core/schema"; +import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types"; +export declare var CognitoIdentityServiceException$: StaticErrorSchema; +export declare var ExternalServiceException$: StaticErrorSchema; +export declare var InternalErrorException$: StaticErrorSchema; +export declare var InvalidIdentityPoolConfigurationException$: StaticErrorSchema; +export declare var InvalidParameterException$: StaticErrorSchema; +export declare var LimitExceededException$: StaticErrorSchema; +export declare var NotAuthorizedException$: StaticErrorSchema; +export declare var ResourceConflictException$: StaticErrorSchema; +export declare var ResourceNotFoundException$: StaticErrorSchema; +export declare var TooManyRequestsException$: StaticErrorSchema; +/** + * TypeRegistry instances containing modeled errors. + * @internal + * + */ +export declare const errorTypeRegistries: TypeRegistry[]; +export declare var Credentials$: StaticStructureSchema; +export declare var GetCredentialsForIdentityInput$: StaticStructureSchema; +export declare var GetCredentialsForIdentityResponse$: StaticStructureSchema; +export declare var GetIdInput$: StaticStructureSchema; +export declare var GetIdResponse$: StaticStructureSchema; +export declare var GetCredentialsForIdentity$: StaticOperationSchema; +export declare var GetId$: StaticOperationSchema; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts new file mode 100644 index 0000000..3ccec3c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts @@ -0,0 +1,18 @@ +import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; +import { type CreateOAuth2TokenCommandInput, type CreateOAuth2TokenCommandOutput } from "./commands/CreateOAuth2TokenCommand"; +import { SigninClient } from "./SigninClient"; +export interface Signin { + /** + * @see {@link CreateOAuth2TokenCommand} + */ + createOAuth2Token(args: CreateOAuth2TokenCommandInput, options?: __HttpHandlerOptions): Promise; + createOAuth2Token(args: CreateOAuth2TokenCommandInput, cb: (err: any, data?: CreateOAuth2TokenCommandOutput) => void): void; + createOAuth2Token(args: CreateOAuth2TokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateOAuth2TokenCommandOutput) => void): void; +} +/** + * AWS Sign-In manages authentication for AWS services. This service provides + * secure authentication flows for accessing AWS resources from the console and developer tools. + * @public + */ +export declare class Signin extends SigninClient implements Signin { +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts new file mode 100644 index 0000000..f2db2e8 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts @@ -0,0 +1,189 @@ +import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header"; +import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent"; +import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver"; +import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint"; +import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry"; +import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http"; +import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client"; +import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types"; +import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider"; +import type { CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput } from "./commands/CreateOAuth2TokenCommand"; +import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters"; +import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions"; +export { __Client }; +/** + * @public + */ +export type ServiceInputTypes = CreateOAuth2TokenCommandInput; +/** + * @public + */ +export type ServiceOutputTypes = CreateOAuth2TokenCommandOutput; +/** + * @public + */ +export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { + /** + * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs. + */ + requestHandler?: __HttpHandlerUserInput; + /** + * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface + * that computes the SHA-256 HMAC or checksum of a string or binary buffer. + * @internal + */ + sha256?: __ChecksumConstructor | __HashConstructor; + /** + * The function that will be used to convert strings into HTTP endpoints. + * @internal + */ + urlParser?: __UrlParser; + /** + * A function that can calculate the length of a request body. + * @internal + */ + bodyLengthChecker?: __BodyLengthCalculator; + /** + * A function that converts a stream into an array of bytes. + * @internal + */ + streamCollector?: __StreamCollector; + /** + * The function that will be used to convert a base64-encoded string to a byte array. + * @internal + */ + base64Decoder?: __Decoder; + /** + * The function that will be used to convert binary data to a base64-encoded string. + * @internal + */ + base64Encoder?: __Encoder; + /** + * The function that will be used to convert a UTF8-encoded string to a byte array. + * @internal + */ + utf8Decoder?: __Decoder; + /** + * The function that will be used to convert binary data to a UTF-8 encoded string. + * @internal + */ + utf8Encoder?: __Encoder; + /** + * The runtime environment. + * @internal + */ + runtime?: string; + /** + * Disable dynamically changing the endpoint of the client based on the hostPrefix + * trait of an operation. + */ + disableHostPrefix?: boolean; + /** + * Unique service identifier. + * @internal + */ + serviceId?: string; + /** + * Enables IPv6/IPv4 dualstack endpoint. + */ + useDualstackEndpoint?: boolean | __Provider; + /** + * Enables FIPS compatible endpoints. + */ + useFipsEndpoint?: boolean | __Provider; + /** + * The AWS region to which this client will send requests + */ + region?: string | __Provider; + /** + * Setting a client profile is similar to setting a value for the + * AWS_PROFILE environment variable. Setting a profile on a client + * in code only affects the single client instance, unlike AWS_PROFILE. + * + * When set, and only for environments where an AWS configuration + * file exists, fields configurable by this file will be retrieved + * from the specified profile within that file. + * Conflicting code configuration and environment variables will + * still have higher priority. + * + * For client credential resolution that involves checking the AWS + * configuration file, the client's profile (this value) will be + * used unless a different profile is set in the credential + * provider options. + * + */ + profile?: string; + /** + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal + */ + defaultUserAgentProvider?: __Provider<__UserAgent>; + /** + * Default credentials provider; Not available in browser runtime. + * @deprecated + * @internal + */ + credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; + /** + * Value for how many times a request will be made at most in case of retry. + */ + maxAttempts?: number | __Provider; + /** + * Specifies which retry algorithm to use. + * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/ + * + */ + retryMode?: string | __Provider; + /** + * Optional logger for logging debug/info/warn/error. + */ + logger?: __Logger; + /** + * Optional extensions + */ + extensions?: RuntimeExtension[]; + /** + * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. + */ + defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; +} +/** + * @public + */ +export type SigninClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters; +/** + * @public + * + * The configuration interface of SigninClient class constructor that set the region, credentials and other options. + */ +export interface SigninClientConfig extends SigninClientConfigType { +} +/** + * @public + */ +export type SigninClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters; +/** + * @public + * + * The resolved configuration interface of SigninClient class. This is resolved and normalized from the {@link SigninClientConfig | constructor configuration interface}. + */ +export interface SigninClientResolvedConfig extends SigninClientResolvedConfigType { +} +/** + * AWS Sign-In manages authentication for AWS services. This service provides + * secure authentication flows for accessing AWS resources from the console and developer tools. + * @public + */ +export declare class SigninClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SigninClientResolvedConfig> { + /** + * The resolved configuration of SigninClient class. This is resolved and normalized from the {@link SigninClientConfig | constructor configuration interface}. + */ + readonly config: SigninClientResolvedConfig; + constructor(...[configuration]: __CheckOptionalClientConfig); + /** + * Destroy underlying resources, like sockets. It's usually not necessary to do this. + * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. + * Otherwise, sockets might stay open for quite a long time before the server terminates them. + */ + destroy(): void; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts new file mode 100644 index 0000000..da4c63c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts @@ -0,0 +1,29 @@ +import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types"; +import type { SigninHttpAuthSchemeProvider } from "./httpAuthSchemeProvider"; +/** + * @internal + */ +export interface HttpAuthExtensionConfiguration { + setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void; + httpAuthSchemes(): HttpAuthScheme[]; + setHttpAuthSchemeProvider(httpAuthSchemeProvider: SigninHttpAuthSchemeProvider): void; + httpAuthSchemeProvider(): SigninHttpAuthSchemeProvider; + setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void; + credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined; +} +/** + * @internal + */ +export type HttpAuthRuntimeConfig = Partial<{ + httpAuthSchemes: HttpAuthScheme[]; + httpAuthSchemeProvider: SigninHttpAuthSchemeProvider; + credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider; +}>; +/** + * @internal + */ +export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration; +/** + * @internal + */ +export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts new file mode 100644 index 0000000..c679adb --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts @@ -0,0 +1,75 @@ +import type { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes"; +import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types"; +import { type SigninClientResolvedConfig } from "../SigninClient"; +/** + * @internal + */ +export interface SigninHttpAuthSchemeParameters extends HttpAuthSchemeParameters { + region?: string; +} +/** + * @internal + */ +export interface SigninHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider { +} +/** + * @internal + */ +export declare const defaultSigninHttpAuthSchemeParametersProvider: (config: SigninClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise; +/** + * @internal + */ +export interface SigninHttpAuthSchemeProvider extends HttpAuthSchemeProvider { +} +/** + * @internal + */ +export declare const defaultSigninHttpAuthSchemeProvider: SigninHttpAuthSchemeProvider; +/** + * @public + */ +export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig { + /** + * A comma-separated list of case-sensitive auth scheme names. + * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed. + * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4. + * @public + */ + authSchemePreference?: string[] | Provider; + /** + * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. + * @internal + */ + httpAuthSchemes?: HttpAuthScheme[]; + /** + * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. + * @internal + */ + httpAuthSchemeProvider?: SigninHttpAuthSchemeProvider; +} +/** + * @internal + */ +export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig { + /** + * A comma-separated list of case-sensitive auth scheme names. + * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed. + * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4. + * @public + */ + readonly authSchemePreference: Provider; + /** + * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. + * @internal + */ + readonly httpAuthSchemes: HttpAuthScheme[]; + /** + * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. + * @internal + */ + readonly httpAuthSchemeProvider: SigninHttpAuthSchemeProvider; +} +/** + * @internal + */ +export declare const resolveHttpAuthSchemeConfig: (config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts new file mode 100644 index 0000000..d6950ed --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts @@ -0,0 +1,157 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { CreateOAuth2TokenRequest, CreateOAuth2TokenResponse } from "../models/models_0"; +import type { SigninClientResolvedConfig } from "../SigninClient"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link CreateOAuth2TokenCommand}. + */ +export interface CreateOAuth2TokenCommandInput extends CreateOAuth2TokenRequest { +} +/** + * @public + * + * The output of {@link CreateOAuth2TokenCommand}. + */ +export interface CreateOAuth2TokenCommandOutput extends CreateOAuth2TokenResponse, __MetadataBearer { +} +declare const CreateOAuth2TokenCommand_base: { + new (input: CreateOAuth2TokenCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: CreateOAuth2TokenCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + * CreateOAuth2Token API + * + * Path: /v1/token + * Request Method: POST + * Content-Type: application/json or application/x-www-form-urlencoded + * + * This API implements OAuth 2.0 flows for AWS Sign-In CLI clients, supporting both: + * 1. Authorization code redemption (grant_type=authorization_code) - NOT idempotent + * 2. Token refresh (grant_type=refresh_token) - Idempotent within token validity window + * + * The operation behavior is determined by the grant_type parameter in the request body: + * + * **Authorization Code Flow (NOT Idempotent):** + * - JSON or form-encoded body with client_id, grant_type=authorization_code, code, redirect_uri, code_verifier + * - Returns access_token, token_type, expires_in, refresh_token, and id_token + * - Each authorization code can only be used ONCE for security (prevents replay attacks) + * + * **Token Refresh Flow (Idempotent):** + * - JSON or form-encoded body with client_id, grant_type=refresh_token, refresh_token + * - Returns access_token, token_type, expires_in, and refresh_token (no id_token) + * - Multiple calls with same refresh_token return consistent results within validity window + * + * Authentication and authorization: + * - Confidential clients: sigv4 signing required with signin:ExchangeToken permissions + * - CLI clients (public): authn/authz skipped based on client_id & grant_type + * + * Note: This operation cannot be marked as @idempotent because it handles both idempotent + * (token refresh) and non-idempotent (auth code redemption) flows in a single endpoint. + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SigninClient, CreateOAuth2TokenCommand } from "@aws-sdk/client-signin"; // ES Modules import + * // const { SigninClient, CreateOAuth2TokenCommand } = require("@aws-sdk/client-signin"); // CommonJS import + * // import type { SigninClientConfig } from "@aws-sdk/client-signin"; + * const config = {}; // type is SigninClientConfig + * const client = new SigninClient(config); + * const input = { // CreateOAuth2TokenRequest + * tokenInput: { // CreateOAuth2TokenRequestBody + * clientId: "STRING_VALUE", // required + * grantType: "STRING_VALUE", // required + * code: "STRING_VALUE", + * redirectUri: "STRING_VALUE", + * codeVerifier: "STRING_VALUE", + * refreshToken: "STRING_VALUE", + * }, + * }; + * const command = new CreateOAuth2TokenCommand(input); + * const response = await client.send(command); + * // { // CreateOAuth2TokenResponse + * // tokenOutput: { // CreateOAuth2TokenResponseBody + * // accessToken: { // AccessToken + * // accessKeyId: "STRING_VALUE", // required + * // secretAccessKey: "STRING_VALUE", // required + * // sessionToken: "STRING_VALUE", // required + * // }, + * // tokenType: "STRING_VALUE", // required + * // expiresIn: Number("int"), // required + * // refreshToken: "STRING_VALUE", // required + * // idToken: "STRING_VALUE", + * // }, + * // }; + * + * ``` + * + * @param CreateOAuth2TokenCommandInput - {@link CreateOAuth2TokenCommandInput} + * @returns {@link CreateOAuth2TokenCommandOutput} + * @see {@link CreateOAuth2TokenCommandInput} for command's `input` shape. + * @see {@link CreateOAuth2TokenCommandOutput} for command's `response` shape. + * @see {@link SigninClientResolvedConfig | config} for SigninClient's `config` shape. + * + * @throws {@link AccessDeniedException} (client fault) + * Error thrown for access denied scenarios with flexible HTTP status mapping + * + * Runtime HTTP Status Code Mapping: + * - HTTP 401 (Unauthorized): TOKEN_EXPIRED, AUTHCODE_EXPIRED + * - HTTP 403 (Forbidden): USER_CREDENTIALS_CHANGED, INSUFFICIENT_PERMISSIONS + * + * The specific HTTP status code is determined at runtime based on the error enum value. + * Consumers should use the error field to determine the specific access denial reason. + * + * @throws {@link InternalServerException} (server fault) + * Error thrown when an internal server error occurs + * + * HTTP Status Code: 500 Internal Server Error + * + * Used for unexpected server-side errors that prevent request processing. + * + * @throws {@link TooManyRequestsError} (client fault) + * Error thrown when rate limit is exceeded + * + * HTTP Status Code: 429 Too Many Requests + * + * Possible OAuth2ErrorCode values: + * - INVALID_REQUEST: Rate limiting, too many requests, abuse prevention + * + * Possible causes: + * - Too many token requests from the same client + * - Rate limiting based on client_id or IP address + * - Abuse prevention mechanisms triggered + * - Service protection against excessive token generation + * + * @throws {@link ValidationException} (client fault) + * Error thrown when request validation fails + * + * HTTP Status Code: 400 Bad Request + * + * Used for request validation errors such as malformed parameters, + * missing required fields, or invalid parameter values. + * + * @throws {@link SigninServiceException} + *

Base exception class for all service exceptions from Signin service.

+ * + * + * @public + */ +export declare class CreateOAuth2TokenCommand extends CreateOAuth2TokenCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: CreateOAuth2TokenRequest; + output: CreateOAuth2TokenResponse; + }; + sdk: { + input: CreateOAuth2TokenCommandInput; + output: CreateOAuth2TokenCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/index.d.ts new file mode 100644 index 0000000..d32e4a3 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/index.d.ts @@ -0,0 +1 @@ +export * from "./CreateOAuth2TokenCommand"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts new file mode 100644 index 0000000..8c8611b --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts @@ -0,0 +1,50 @@ +import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types"; +/** + * @public + */ +export interface ClientInputEndpointParameters { + useDualstackEndpoint?: boolean | undefined | Provider; + useFipsEndpoint?: boolean | undefined | Provider; + endpoint?: string | Provider | Endpoint | Provider | EndpointV2 | Provider; + region?: string | undefined | Provider; +} +/** + * @public + */ +export type ClientResolvedEndpointParameters = Omit & { + defaultSigningName: string; +}; +/** + * @internal + */ +export declare const resolveClientEndpointParameters: (options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters; +/** + * @internal + */ +export declare const commonParams: { + readonly UseFIPS: { + readonly type: "builtInParams"; + readonly name: "useFipsEndpoint"; + }; + readonly Endpoint: { + readonly type: "builtInParams"; + readonly name: "endpoint"; + }; + readonly Region: { + readonly type: "builtInParams"; + readonly name: "region"; + }; + readonly UseDualStack: { + readonly type: "builtInParams"; + readonly name: "useDualstackEndpoint"; + }; +}; +/** + * @internal + */ +export interface EndpointParameters extends __EndpointParameters { + UseDualStack?: boolean | undefined; + UseFIPS?: boolean | undefined; + Endpoint?: string | undefined; + Region?: string | undefined; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/endpointResolver.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/endpointResolver.d.ts new file mode 100644 index 0000000..c1de67d --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/endpointResolver.d.ts @@ -0,0 +1,8 @@ +import type { EndpointV2, Logger } from "@smithy/types"; +import type { EndpointParameters } from "./EndpointParameters"; +/** + * @internal + */ +export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: { + logger?: Logger; +}) => EndpointV2; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts new file mode 100644 index 0000000..4dda20a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts @@ -0,0 +1,2 @@ +import type { RuleSetObject } from "@smithy/types"; +export declare const ruleSet: RuleSetObject; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/extensionConfiguration.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/extensionConfiguration.d.ts new file mode 100644 index 0000000..33234b0 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/extensionConfiguration.d.ts @@ -0,0 +1,9 @@ +import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; +import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; +import type { DefaultExtensionConfiguration } from "@smithy/types"; +import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; +/** + * @internal + */ +export interface SigninExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration { +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts new file mode 100644 index 0000000..91da90c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts @@ -0,0 +1,17 @@ +/** + * AWS Sign-In manages authentication for AWS services. This service provides + * secure authentication flows for accessing AWS resources from the console and developer tools. + * + * @packageDocumentation + */ +export * from "./SigninClient"; +export * from "./Signin"; +export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; +export type { RuntimeExtension } from "./runtimeExtensions"; +export type { SigninExtensionConfiguration } from "./extensionConfiguration"; +export * from "./commands"; +export * from "./schemas/schemas_0"; +export * from "./models/enums"; +export * from "./models/errors"; +export * from "./models/models_0"; +export { SigninServiceException } from "./models/SigninServiceException"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/SigninServiceException.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/SigninServiceException.d.ts new file mode 100644 index 0000000..4303adf --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/SigninServiceException.d.ts @@ -0,0 +1,14 @@ +import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client"; +export type { __ServiceExceptionOptions }; +export { __ServiceException }; +/** + * @public + * + * Base exception class for all service exceptions from Signin service. + */ +export declare class SigninServiceException extends __ServiceException { + /** + * @internal + */ + constructor(options: __ServiceExceptionOptions); +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts new file mode 100644 index 0000000..8d46b8d --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts @@ -0,0 +1,34 @@ +/** + * @public + * @enum + */ +export declare const OAuth2ErrorCode: { + /** + * Authorization code has expired + */ + readonly AUTHCODE_EXPIRED: "AUTHCODE_EXPIRED"; + /** + * Insufficient permissions to perform this operation + */ + readonly INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS"; + /** + * The request is missing a required parameter, includes an invalid parameter value, or is otherwise malformed + */ + readonly INVALID_REQUEST: "INVALID_REQUEST"; + /** + * Internal server error occurred + */ + readonly SERVER_ERROR: "server_error"; + /** + * Token has expired and needs to be refreshed + */ + readonly TOKEN_EXPIRED: "TOKEN_EXPIRED"; + /** + * User credentials have been changed + */ + readonly USER_CREDENTIALS_CHANGED: "USER_CREDENTIALS_CHANGED"; +}; +/** + * @public + */ +export type OAuth2ErrorCode = (typeof OAuth2ErrorCode)[keyof typeof OAuth2ErrorCode]; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts new file mode 100644 index 0000000..e5f8b6f --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts @@ -0,0 +1,102 @@ +import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; +import type { OAuth2ErrorCode } from "./enums"; +import { SigninServiceException as __BaseException } from "./SigninServiceException"; +/** + * Error thrown for access denied scenarios with flexible HTTP status mapping + * + * Runtime HTTP Status Code Mapping: + * - HTTP 401 (Unauthorized): TOKEN_EXPIRED, AUTHCODE_EXPIRED + * - HTTP 403 (Forbidden): USER_CREDENTIALS_CHANGED, INSUFFICIENT_PERMISSIONS + * + * The specific HTTP status code is determined at runtime based on the error enum value. + * Consumers should use the error field to determine the specific access denial reason. + * @public + */ +export declare class AccessDeniedException extends __BaseException { + readonly name: "AccessDeniedException"; + readonly $fault: "client"; + /** + * OAuth 2.0 error code indicating the specific type of access denial + * Can be TOKEN_EXPIRED, AUTHCODE_EXPIRED, USER_CREDENTIALS_CHANGED, or INSUFFICIENT_PERMISSIONS + * @public + */ + error: OAuth2ErrorCode | undefined; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * Error thrown when an internal server error occurs + * + * HTTP Status Code: 500 Internal Server Error + * + * Used for unexpected server-side errors that prevent request processing. + * @public + */ +export declare class InternalServerException extends __BaseException { + readonly name: "InternalServerException"; + readonly $fault: "server"; + /** + * OAuth 2.0 error code indicating server error + * Will be SERVER_ERROR for internal server errors + * @public + */ + error: OAuth2ErrorCode | undefined; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * Error thrown when rate limit is exceeded + * + * HTTP Status Code: 429 Too Many Requests + * + * Possible OAuth2ErrorCode values: + * - INVALID_REQUEST: Rate limiting, too many requests, abuse prevention + * + * Possible causes: + * - Too many token requests from the same client + * - Rate limiting based on client_id or IP address + * - Abuse prevention mechanisms triggered + * - Service protection against excessive token generation + * @public + */ +export declare class TooManyRequestsError extends __BaseException { + readonly name: "TooManyRequestsError"; + readonly $fault: "client"; + /** + * OAuth 2.0 error code indicating the specific type of error + * Will be INVALID_REQUEST for rate limiting scenarios + * @public + */ + error: OAuth2ErrorCode | undefined; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * Error thrown when request validation fails + * + * HTTP Status Code: 400 Bad Request + * + * Used for request validation errors such as malformed parameters, + * missing required fields, or invalid parameter values. + * @public + */ +export declare class ValidationException extends __BaseException { + readonly name: "ValidationException"; + readonly $fault: "client"; + /** + * OAuth 2.0 error code indicating validation failure + * Will be INVALID_REQUEST for validation errors + * @public + */ + error: OAuth2ErrorCode | undefined; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts new file mode 100644 index 0000000..3f59b64 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts @@ -0,0 +1,142 @@ +/** + * AWS credentials structure containing temporary access credentials + * + * The scoped-down, 15 minute duration AWS credentials. + * Scoping down will be based on CLI policy (CLI team needs to create it). + * Similar to cloud shell implementation. + * @public + */ +export interface AccessToken { + /** + * AWS access key ID for temporary credentials + * @public + */ + accessKeyId: string | undefined; + /** + * AWS secret access key for temporary credentials + * @public + */ + secretAccessKey: string | undefined; + /** + * AWS session token for temporary credentials + * @public + */ + sessionToken: string | undefined; +} +/** + * Request body payload for CreateOAuth2Token operation + * + * The operation type is determined by the grant_type parameter: + * - grant_type=authorization_code: Requires code, redirect_uri, code_verifier + * - grant_type=refresh_token: Requires refresh_token + * @public + */ +export interface CreateOAuth2TokenRequestBody { + /** + * The client identifier (ARN) used during Sign-In onboarding + * Required for both authorization code and refresh token flows + * @public + */ + clientId: string | undefined; + /** + * OAuth 2.0 grant type - determines which flow is used + * Must be "authorization_code" or "refresh_token" + * @public + */ + grantType: string | undefined; + /** + * The authorization code received from /v1/authorize + * Required only when grant_type=authorization_code + * @public + */ + code?: string | undefined; + /** + * The redirect URI that must match the original authorization request + * Required only when grant_type=authorization_code + * @public + */ + redirectUri?: string | undefined; + /** + * PKCE code verifier to prove possession of the original code challenge + * Required only when grant_type=authorization_code + * @public + */ + codeVerifier?: string | undefined; + /** + * The refresh token returned from auth_code redemption + * Required only when grant_type=refresh_token + * @public + */ + refreshToken?: string | undefined; +} +/** + * Input structure for CreateOAuth2Token operation + * + * Contains flattened token operation inputs for both authorization code and refresh token flows. + * The operation type is determined by the grant_type parameter in the request body. + * @public + */ +export interface CreateOAuth2TokenRequest { + /** + * Flattened token operation inputs + * The specific operation is determined by grant_type in the request body + * @public + */ + tokenInput: CreateOAuth2TokenRequestBody | undefined; +} +/** + * Response body payload for CreateOAuth2Token operation + * + * The response content depends on the grant_type from the request: + * - grant_type=authorization_code: Returns all fields including refresh_token and id_token + * - grant_type=refresh_token: Returns access_token, token_type, expires_in, refresh_token (no id_token) + * @public + */ +export interface CreateOAuth2TokenResponseBody { + /** + * Scoped-down AWS credentials (15 minute duration) + * Present for both authorization code redemption and token refresh + * @public + */ + accessToken: AccessToken | undefined; + /** + * Token type indicating this is AWS SigV4 credentials + * Value is "aws_sigv4" for both flows + * @public + */ + tokenType: string | undefined; + /** + * Time to expiry in seconds (maximum 900) + * Present for both authorization code redemption and token refresh + * @public + */ + expiresIn: number | undefined; + /** + * Encrypted refresh token with cnf.jkt (SHA-256 thumbprint of presented jwk) + * Always present in responses (required for both flows) + * @public + */ + refreshToken: string | undefined; + /** + * ID token containing user identity information + * Present only in authorization code redemption response (grant_type=authorization_code) + * Not included in token refresh responses + * @public + */ + idToken?: string | undefined; +} +/** + * Output structure for CreateOAuth2Token operation + * + * Contains flattened token operation outputs for both authorization code and refresh token flows. + * The response content depends on the grant_type from the original request. + * @public + */ +export interface CreateOAuth2TokenResponse { + /** + * Flattened token operation outputs + * The specific response fields depend on the grant_type used in the request + * @public + */ + tokenOutput: CreateOAuth2TokenResponseBody | undefined; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts new file mode 100644 index 0000000..d9491f5 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts @@ -0,0 +1,63 @@ +import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; +import type { SigninClientConfig } from "./SigninClient"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: SigninClientConfig) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise); + defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + region: string | import("@smithy/types").Provider; + requestHandler: import("@smithy/protocol-http").HttpHandler | RequestHandler; + retryMode: string | import("@smithy/types").Provider; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + cacheMiddleware?: boolean | undefined; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsRestJsonProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: string | undefined | import("@smithy/types").Provider; + retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; + endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; + endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | undefined; + signer: import("@aws-sdk/core/dist-types/submodules/httpAuthSchemes").AwsSdkSigV4Signer; + } | { + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + })[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SigninHttpAuthSchemeProvider; + credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts new file mode 100644 index 0000000..9ed5c56 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts @@ -0,0 +1,63 @@ +import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; +import type { SigninClientConfig } from "./SigninClient"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: SigninClientConfig) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider; + authSchemePreference: string[] | import("@smithy/types").Provider; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + region: string | import("@smithy/types").Provider; + requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler; + retryMode: string | import("@smithy/types").Provider; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + useDualstackEndpoint: boolean | import("@smithy/types").Provider; + useFipsEndpoint: boolean | import("@smithy/types").Provider; + userAgentAppId: string | import("@smithy/types").Provider; + cacheMiddleware?: boolean | undefined; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsRestJsonProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + credentialDefaultProvider?: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + customUserAgent?: string | import("@smithy/types").UserAgent; + retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; + endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; + endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | undefined; + signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; + } | { + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + })[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SigninHttpAuthSchemeProvider; + credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts new file mode 100644 index 0000000..cc37429 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts @@ -0,0 +1,62 @@ +import type { SigninClientConfig } from "./SigninClient"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: SigninClientConfig) => { + runtime: string; + sha256: import("@smithy/types").HashConstructor; + requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record | import("@smithy/protocol-http").HttpHandler | import("@smithy/fetch-http-handler").FetchHttpHandler; + cacheMiddleware?: boolean; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsRestJsonProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + streamCollector: import("@smithy/types").StreamCollector; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + region: string | import("@smithy/types").Provider; + profile?: string; + defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise; + credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise); + maxAttempts: number | import("@smithy/types").Provider; + retryMode: string | import("@smithy/types").Provider; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: string | undefined | import("@smithy/types").Provider; + retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; + endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; + endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | undefined; + signer: import("@aws-sdk/core/dist-types/submodules/httpAuthSchemes").AwsSdkSigV4Signer; + } | { + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + })[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SigninHttpAuthSchemeProvider; + credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts new file mode 100644 index 0000000..d9cea2a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts @@ -0,0 +1,38 @@ +import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; +import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols"; +import { NoAuthSigner } from "@smithy/core"; +import type { IdentityProviderConfig } from "@smithy/types"; +import type { SigninClientConfig } from "./SigninClient"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: SigninClientConfig) => { + apiVersion: string; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + disableHostPrefix: boolean; + endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SigninHttpAuthSchemeProvider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ + schemeId: string; + identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider | undefined; + signer: AwsSdkSigV4Signer; + } | { + schemeId: string; + identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider | (() => Promise<{}>); + signer: NoAuthSigner; + })[]; + logger: import("@smithy/types").Logger; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof AwsRestJsonProtocol; + protocolSettings: { + [setting: string]: unknown; + defaultNamespace?: string; + }; + serviceId: string; + urlParser: import("@smithy/types").UrlParser; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeExtensions.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeExtensions.d.ts new file mode 100644 index 0000000..cc51453 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeExtensions.d.ts @@ -0,0 +1,17 @@ +import type { SigninExtensionConfiguration } from "./extensionConfiguration"; +/** + * @public + */ +export interface RuntimeExtension { + configure(extensionConfiguration: SigninExtensionConfiguration): void; +} +/** + * @public + */ +export interface RuntimeExtensionsConfig { + extensions: RuntimeExtension[]; +} +/** + * @internal + */ +export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts new file mode 100644 index 0000000..8a1f9e4 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts @@ -0,0 +1,19 @@ +import { TypeRegistry } from "@smithy/core/schema"; +import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types"; +export declare var SigninServiceException$: StaticErrorSchema; +export declare var AccessDeniedException$: StaticErrorSchema; +export declare var InternalServerException$: StaticErrorSchema; +export declare var TooManyRequestsError$: StaticErrorSchema; +export declare var ValidationException$: StaticErrorSchema; +/** + * TypeRegistry instances containing modeled errors. + * @internal + * + */ +export declare const errorTypeRegistries: TypeRegistry[]; +export declare var AccessToken$: StaticStructureSchema; +export declare var CreateOAuth2TokenRequest$: StaticStructureSchema; +export declare var CreateOAuth2TokenRequestBody$: StaticStructureSchema; +export declare var CreateOAuth2TokenResponse$: StaticStructureSchema; +export declare var CreateOAuth2TokenResponseBody$: StaticStructureSchema; +export declare var CreateOAuth2Token$: StaticOperationSchema; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts new file mode 100644 index 0000000..750d255 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts @@ -0,0 +1,55 @@ +import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; +import { type CreateTokenCommandInput, type CreateTokenCommandOutput } from "./commands/CreateTokenCommand"; +import { SSOOIDCClient } from "./SSOOIDCClient"; +export interface SSOOIDC { + /** + * @see {@link CreateTokenCommand} + */ + createToken(args: CreateTokenCommandInput, options?: __HttpHandlerOptions): Promise; + createToken(args: CreateTokenCommandInput, cb: (err: any, data?: CreateTokenCommandOutput) => void): void; + createToken(args: CreateTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTokenCommandOutput) => void): void; +} +/** + *

IAM Identity Center OpenID Connect (OIDC) is a web service that enables a client (such as CLI or a + * native application) to register with IAM Identity Center. The service also enables the client to fetch the + * user’s access token upon successful authentication and authorization with IAM Identity Center.

+ *

+ * API namespaces + *

+ *

IAM Identity Center uses the sso and identitystore API namespaces. IAM Identity Center + * OpenID Connect uses the sso-oauth namespace.

+ *

+ * Considerations for using this guide + *

+ *

Before you begin using this guide, we recommend that you first review the following + * important information about how the IAM Identity Center OIDC service works.

+ *
    + *
  • + *

    The IAM Identity Center OIDC service currently implements only the portions of the OAuth 2.0 Device + * Authorization Grant standard (https://tools.ietf.org/html/rfc8628) that are necessary to enable single + * sign-on authentication with the CLI.

    + *
  • + *
  • + *

    With older versions of the CLI, the service only emits OIDC access tokens, so to + * obtain a new token, users must explicitly re-authenticate. To access the OIDC flow that + * supports token refresh and doesn’t require re-authentication, update to the latest CLI + * version (1.27.10 for CLI V1 and 2.9.0 for CLI V2) with support for OIDC token refresh + * and configurable IAM Identity Center session durations. For more information, see Configure Amazon Web Services access portal session duration .

    + *
  • + *
  • + *

    The access tokens provided by this service grant access to all Amazon Web Services account + * entitlements assigned to an IAM Identity Center user, not just a particular application.

    + *
  • + *
  • + *

    The documentation in this guide does not describe the mechanism to convert the access + * token into Amazon Web Services Auth (“sigv4”) credentials for use with IAM-protected Amazon Web Services service + * endpoints. For more information, see GetRoleCredentials in the IAM Identity Center Portal API Reference + * Guide.

    + *
  • + *
+ *

For general information about IAM Identity Center, see What is + * IAM Identity Center? in the IAM Identity Center User Guide.

+ * @public + */ +export declare class SSOOIDC extends SSOOIDCClient implements SSOOIDC { +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts new file mode 100644 index 0000000..0c06823 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts @@ -0,0 +1,220 @@ +import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header"; +import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent"; +import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver"; +import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint"; +import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry"; +import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http"; +import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client"; +import type { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types"; +import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider"; +import type { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand"; +import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters"; +import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions"; +export { __Client }; +/** + * @public + */ +export type ServiceInputTypes = CreateTokenCommandInput; +/** + * @public + */ +export type ServiceOutputTypes = CreateTokenCommandOutput; +/** + * @public + */ +export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { + /** + * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs. + */ + requestHandler?: __HttpHandlerUserInput; + /** + * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface + * that computes the SHA-256 HMAC or checksum of a string or binary buffer. + * @internal + */ + sha256?: __ChecksumConstructor | __HashConstructor; + /** + * The function that will be used to convert strings into HTTP endpoints. + * @internal + */ + urlParser?: __UrlParser; + /** + * A function that can calculate the length of a request body. + * @internal + */ + bodyLengthChecker?: __BodyLengthCalculator; + /** + * A function that converts a stream into an array of bytes. + * @internal + */ + streamCollector?: __StreamCollector; + /** + * The function that will be used to convert a base64-encoded string to a byte array. + * @internal + */ + base64Decoder?: __Decoder; + /** + * The function that will be used to convert binary data to a base64-encoded string. + * @internal + */ + base64Encoder?: __Encoder; + /** + * The function that will be used to convert a UTF8-encoded string to a byte array. + * @internal + */ + utf8Decoder?: __Decoder; + /** + * The function that will be used to convert binary data to a UTF-8 encoded string. + * @internal + */ + utf8Encoder?: __Encoder; + /** + * The runtime environment. + * @internal + */ + runtime?: string; + /** + * Disable dynamically changing the endpoint of the client based on the hostPrefix + * trait of an operation. + */ + disableHostPrefix?: boolean; + /** + * Unique service identifier. + * @internal + */ + serviceId?: string; + /** + * Enables IPv6/IPv4 dualstack endpoint. + */ + useDualstackEndpoint?: boolean | __Provider; + /** + * Enables FIPS compatible endpoints. + */ + useFipsEndpoint?: boolean | __Provider; + /** + * The AWS region to which this client will send requests + */ + region?: string | __Provider; + /** + * Setting a client profile is similar to setting a value for the + * AWS_PROFILE environment variable. Setting a profile on a client + * in code only affects the single client instance, unlike AWS_PROFILE. + * + * When set, and only for environments where an AWS configuration + * file exists, fields configurable by this file will be retrieved + * from the specified profile within that file. + * Conflicting code configuration and environment variables will + * still have higher priority. + * + * For client credential resolution that involves checking the AWS + * configuration file, the client's profile (this value) will be + * used unless a different profile is set in the credential + * provider options. + * + */ + profile?: string; + /** + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal + */ + defaultUserAgentProvider?: __Provider<__UserAgent>; + /** + * Value for how many times a request will be made at most in case of retry. + */ + maxAttempts?: number | __Provider; + /** + * Specifies which retry algorithm to use. + * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/ + * + */ + retryMode?: string | __Provider; + /** + * Optional logger for logging debug/info/warn/error. + */ + logger?: __Logger; + /** + * Optional extensions + */ + extensions?: RuntimeExtension[]; + /** + * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. + */ + defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; +} +/** + * @public + */ +export type SSOOIDCClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters; +/** + * @public + * + * The configuration interface of SSOOIDCClient class constructor that set the region, credentials and other options. + */ +export interface SSOOIDCClientConfig extends SSOOIDCClientConfigType { +} +/** + * @public + */ +export type SSOOIDCClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters; +/** + * @public + * + * The resolved configuration interface of SSOOIDCClient class. This is resolved and normalized from the {@link SSOOIDCClientConfig | constructor configuration interface}. + */ +export interface SSOOIDCClientResolvedConfig extends SSOOIDCClientResolvedConfigType { +} +/** + *

IAM Identity Center OpenID Connect (OIDC) is a web service that enables a client (such as CLI or a + * native application) to register with IAM Identity Center. The service also enables the client to fetch the + * user’s access token upon successful authentication and authorization with IAM Identity Center.

+ *

+ * API namespaces + *

+ *

IAM Identity Center uses the sso and identitystore API namespaces. IAM Identity Center + * OpenID Connect uses the sso-oauth namespace.

+ *

+ * Considerations for using this guide + *

+ *

Before you begin using this guide, we recommend that you first review the following + * important information about how the IAM Identity Center OIDC service works.

+ *
    + *
  • + *

    The IAM Identity Center OIDC service currently implements only the portions of the OAuth 2.0 Device + * Authorization Grant standard (https://tools.ietf.org/html/rfc8628) that are necessary to enable single + * sign-on authentication with the CLI.

    + *
  • + *
  • + *

    With older versions of the CLI, the service only emits OIDC access tokens, so to + * obtain a new token, users must explicitly re-authenticate. To access the OIDC flow that + * supports token refresh and doesn’t require re-authentication, update to the latest CLI + * version (1.27.10 for CLI V1 and 2.9.0 for CLI V2) with support for OIDC token refresh + * and configurable IAM Identity Center session durations. For more information, see Configure Amazon Web Services access portal session duration .

    + *
  • + *
  • + *

    The access tokens provided by this service grant access to all Amazon Web Services account + * entitlements assigned to an IAM Identity Center user, not just a particular application.

    + *
  • + *
  • + *

    The documentation in this guide does not describe the mechanism to convert the access + * token into Amazon Web Services Auth (“sigv4”) credentials for use with IAM-protected Amazon Web Services service + * endpoints. For more information, see GetRoleCredentials in the IAM Identity Center Portal API Reference + * Guide.

    + *
  • + *
+ *

For general information about IAM Identity Center, see What is + * IAM Identity Center? in the IAM Identity Center User Guide.

+ * @public + */ +export declare class SSOOIDCClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SSOOIDCClientResolvedConfig> { + /** + * The resolved configuration of SSOOIDCClient class. This is resolved and normalized from the {@link SSOOIDCClientConfig | constructor configuration interface}. + */ + readonly config: SSOOIDCClientResolvedConfig; + constructor(...[configuration]: __CheckOptionalClientConfig); + /** + * Destroy underlying resources, like sockets. It's usually not necessary to do this. + * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. + * Otherwise, sockets might stay open for quite a long time before the server terminates them. + */ + destroy(): void; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts new file mode 100644 index 0000000..fbbc160 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts @@ -0,0 +1,29 @@ +import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types"; +import type { SSOOIDCHttpAuthSchemeProvider } from "./httpAuthSchemeProvider"; +/** + * @internal + */ +export interface HttpAuthExtensionConfiguration { + setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void; + httpAuthSchemes(): HttpAuthScheme[]; + setHttpAuthSchemeProvider(httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider): void; + httpAuthSchemeProvider(): SSOOIDCHttpAuthSchemeProvider; + setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void; + credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined; +} +/** + * @internal + */ +export type HttpAuthRuntimeConfig = Partial<{ + httpAuthSchemes: HttpAuthScheme[]; + httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider; + credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider; +}>; +/** + * @internal + */ +export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration; +/** + * @internal + */ +export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts new file mode 100644 index 0000000..e58d02b --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts @@ -0,0 +1,75 @@ +import type { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes"; +import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types"; +import { type SSOOIDCClientResolvedConfig } from "../SSOOIDCClient"; +/** + * @internal + */ +export interface SSOOIDCHttpAuthSchemeParameters extends HttpAuthSchemeParameters { + region?: string; +} +/** + * @internal + */ +export interface SSOOIDCHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider { +} +/** + * @internal + */ +export declare const defaultSSOOIDCHttpAuthSchemeParametersProvider: (config: SSOOIDCClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise; +/** + * @internal + */ +export interface SSOOIDCHttpAuthSchemeProvider extends HttpAuthSchemeProvider { +} +/** + * @internal + */ +export declare const defaultSSOOIDCHttpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider; +/** + * @public + */ +export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig { + /** + * A comma-separated list of case-sensitive auth scheme names. + * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed. + * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4. + * @public + */ + authSchemePreference?: string[] | Provider; + /** + * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. + * @internal + */ + httpAuthSchemes?: HttpAuthScheme[]; + /** + * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. + * @internal + */ + httpAuthSchemeProvider?: SSOOIDCHttpAuthSchemeProvider; +} +/** + * @internal + */ +export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig { + /** + * A comma-separated list of case-sensitive auth scheme names. + * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed. + * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4. + * @public + */ + readonly authSchemePreference: Provider; + /** + * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. + * @internal + */ + readonly httpAuthSchemes: HttpAuthScheme[]; + /** + * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. + * @internal + */ + readonly httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider; +} +/** + * @internal + */ +export declare const resolveHttpAuthSchemeConfig: (config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts new file mode 100644 index 0000000..a4c900b --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts @@ -0,0 +1,176 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { CreateTokenRequest, CreateTokenResponse } from "../models/models_0"; +import type { SSOOIDCClientResolvedConfig } from "../SSOOIDCClient"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link CreateTokenCommand}. + */ +export interface CreateTokenCommandInput extends CreateTokenRequest { +} +/** + * @public + * + * The output of {@link CreateTokenCommand}. + */ +export interface CreateTokenCommandOutput extends CreateTokenResponse, __MetadataBearer { +} +declare const CreateTokenCommand_base: { + new (input: CreateTokenCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: CreateTokenCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Creates and returns access and refresh tokens for clients that are authenticated using + * client secrets. The access token can be used to fetch short-lived credentials for the assigned + * AWS accounts or to access application APIs using bearer authentication.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSOOIDCClient, CreateTokenCommand } from "@aws-sdk/client-sso-oidc"; // ES Modules import + * // const { SSOOIDCClient, CreateTokenCommand } = require("@aws-sdk/client-sso-oidc"); // CommonJS import + * // import type { SSOOIDCClientConfig } from "@aws-sdk/client-sso-oidc"; + * const config = {}; // type is SSOOIDCClientConfig + * const client = new SSOOIDCClient(config); + * const input = { // CreateTokenRequest + * clientId: "STRING_VALUE", // required + * clientSecret: "STRING_VALUE", // required + * grantType: "STRING_VALUE", // required + * deviceCode: "STRING_VALUE", + * code: "STRING_VALUE", + * refreshToken: "STRING_VALUE", + * scope: [ // Scopes + * "STRING_VALUE", + * ], + * redirectUri: "STRING_VALUE", + * codeVerifier: "STRING_VALUE", + * }; + * const command = new CreateTokenCommand(input); + * const response = await client.send(command); + * // { // CreateTokenResponse + * // accessToken: "STRING_VALUE", + * // tokenType: "STRING_VALUE", + * // expiresIn: Number("int"), + * // refreshToken: "STRING_VALUE", + * // idToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param CreateTokenCommandInput - {@link CreateTokenCommandInput} + * @returns {@link CreateTokenCommandOutput} + * @see {@link CreateTokenCommandInput} for command's `input` shape. + * @see {@link CreateTokenCommandOutput} for command's `response` shape. + * @see {@link SSOOIDCClientResolvedConfig | config} for SSOOIDCClient's `config` shape. + * + * @throws {@link AccessDeniedException} (client fault) + *

You do not have sufficient access to perform this action.

+ * + * @throws {@link AuthorizationPendingException} (client fault) + *

Indicates that a request to authorize a client with an access user session token is + * pending.

+ * + * @throws {@link ExpiredTokenException} (client fault) + *

Indicates that the token issued by the service is expired and is no longer valid.

+ * + * @throws {@link InternalServerException} (server fault) + *

Indicates that an error from the service occurred while trying to process a + * request.

+ * + * @throws {@link InvalidClientException} (client fault) + *

Indicates that the clientId or clientSecret in the request is + * invalid. For example, this can occur when a client sends an incorrect clientId or + * an expired clientSecret.

+ * + * @throws {@link InvalidGrantException} (client fault) + *

Indicates that a request contains an invalid grant. This can occur if a client makes a + * CreateToken request with an invalid grant type.

+ * + * @throws {@link InvalidRequestException} (client fault) + *

Indicates that something is wrong with the input to the request. For example, a required + * parameter might be missing or out of range.

+ * + * @throws {@link InvalidScopeException} (client fault) + *

Indicates that the scope provided in the request is invalid.

+ * + * @throws {@link SlowDownException} (client fault) + *

Indicates that the client is making the request too frequently and is more than the + * service can handle.

+ * + * @throws {@link UnauthorizedClientException} (client fault) + *

Indicates that the client is not currently authorized to make the request. This can happen + * when a clientId is not issued for a public client.

+ * + * @throws {@link UnsupportedGrantTypeException} (client fault) + *

Indicates that the grant type in the request is not supported by the service.

+ * + * @throws {@link SSOOIDCServiceException} + *

Base exception class for all service exceptions from SSOOIDC service.

+ * + * + * @example Call OAuth/OIDC /token endpoint for Device Code grant with Secret authentication + * ```javascript + * // + * const input = { + * clientId: "_yzkThXVzLWVhc3QtMQEXAMPLECLIENTID", + * clientSecret: "VERYLONGSECRETeyJraWQiOiJrZXktMTU2NDAyODA5OSIsImFsZyI6IkhTMzg0In0", + * deviceCode: "yJraWQiOiJrZXktMTU2Njk2ODA4OCIsImFsZyI6IkhTMzIn0EXAMPLEDEVICECODE", + * grantType: "urn:ietf:params:oauth:grant-type:device-code" + * }; + * const command = new CreateTokenCommand(input); + * const response = await client.send(command); + * /* response is + * { + * accessToken: "aoal-YigITUDiNX1xZwOMXM5MxOWDL0E0jg9P6_C_jKQPxS_SKCP6f0kh1Up4g7TtvQqkMnD-GJiU_S1gvug6SrggAkc0:MGYCMQD3IatVjV7jAJU91kK3PkS/SfA2wtgWzOgZWDOR7sDGN9t0phCZz5It/aes/3C1Zj0CMQCKWOgRaiz6AIhza3DSXQNMLjRKXC8F8ceCsHlgYLMZ7hZidEXAMPLEACCESSTOKEN", + * expiresIn: 1579729529, + * refreshToken: "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN", + * tokenType: "Bearer" + * } + * *\/ + * ``` + * + * @example Call OAuth/OIDC /token endpoint for Refresh Token grant with Secret authentication + * ```javascript + * // + * const input = { + * clientId: "_yzkThXVzLWVhc3QtMQEXAMPLECLIENTID", + * clientSecret: "VERYLONGSECRETeyJraWQiOiJrZXktMTU2NDAyODA5OSIsImFsZyI6IkhTMzg0In0", + * grantType: "refresh_token", + * refreshToken: "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN", + * scope: [ + * "codewhisperer:completions" + * ] + * }; + * const command = new CreateTokenCommand(input); + * const response = await client.send(command); + * /* response is + * { + * accessToken: "aoal-YigITUDiNX1xZwOMXM5MxOWDL0E0jg9P6_C_jKQPxS_SKCP6f0kh1Up4g7TtvQqkMnD-GJiU_S1gvug6SrggAkc0:MGYCMQD3IatVjV7jAJU91kK3PkS/SfA2wtgWzOgZWDOR7sDGN9t0phCZz5It/aes/3C1Zj0CMQCKWOgRaiz6AIhza3DSXQNMLjRKXC8F8ceCsHlgYLMZ7hZidEXAMPLEACCESSTOKEN", + * expiresIn: 1579729529, + * refreshToken: "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN", + * tokenType: "Bearer" + * } + * *\/ + * ``` + * + * @public + */ +export declare class CreateTokenCommand extends CreateTokenCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: CreateTokenRequest; + output: CreateTokenResponse; + }; + sdk: { + input: CreateTokenCommandInput; + output: CreateTokenCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/index.d.ts new file mode 100644 index 0000000..09214ca --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/index.d.ts @@ -0,0 +1 @@ +export * from "./CreateTokenCommand"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/EndpointParameters.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/EndpointParameters.d.ts new file mode 100644 index 0000000..240d523 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/EndpointParameters.d.ts @@ -0,0 +1,50 @@ +import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types"; +/** + * @public + */ +export interface ClientInputEndpointParameters { + region?: string | undefined | Provider; + useDualstackEndpoint?: boolean | undefined | Provider; + useFipsEndpoint?: boolean | undefined | Provider; + endpoint?: string | Provider | Endpoint | Provider | EndpointV2 | Provider; +} +/** + * @public + */ +export type ClientResolvedEndpointParameters = Omit & { + defaultSigningName: string; +}; +/** + * @internal + */ +export declare const resolveClientEndpointParameters: (options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters; +/** + * @internal + */ +export declare const commonParams: { + readonly UseFIPS: { + readonly type: "builtInParams"; + readonly name: "useFipsEndpoint"; + }; + readonly Endpoint: { + readonly type: "builtInParams"; + readonly name: "endpoint"; + }; + readonly Region: { + readonly type: "builtInParams"; + readonly name: "region"; + }; + readonly UseDualStack: { + readonly type: "builtInParams"; + readonly name: "useDualstackEndpoint"; + }; +}; +/** + * @internal + */ +export interface EndpointParameters extends __EndpointParameters { + Region?: string | undefined; + UseDualStack?: boolean | undefined; + UseFIPS?: boolean | undefined; + Endpoint?: string | undefined; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/endpointResolver.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/endpointResolver.d.ts new file mode 100644 index 0000000..c1de67d --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/endpointResolver.d.ts @@ -0,0 +1,8 @@ +import type { EndpointV2, Logger } from "@smithy/types"; +import type { EndpointParameters } from "./EndpointParameters"; +/** + * @internal + */ +export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: { + logger?: Logger; +}) => EndpointV2; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts new file mode 100644 index 0000000..4dda20a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts @@ -0,0 +1,2 @@ +import type { RuleSetObject } from "@smithy/types"; +export declare const ruleSet: RuleSetObject; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/extensionConfiguration.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/extensionConfiguration.d.ts new file mode 100644 index 0000000..4f50ca0 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/extensionConfiguration.d.ts @@ -0,0 +1,9 @@ +import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; +import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; +import type { DefaultExtensionConfiguration } from "@smithy/types"; +import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; +/** + * @internal + */ +export interface SSOOIDCExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration { +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts new file mode 100644 index 0000000..2d7be0a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts @@ -0,0 +1,54 @@ +/** + *

IAM Identity Center OpenID Connect (OIDC) is a web service that enables a client (such as CLI or a + * native application) to register with IAM Identity Center. The service also enables the client to fetch the + * user’s access token upon successful authentication and authorization with IAM Identity Center.

+ *

+ * API namespaces + *

+ *

IAM Identity Center uses the sso and identitystore API namespaces. IAM Identity Center + * OpenID Connect uses the sso-oauth namespace.

+ *

+ * Considerations for using this guide + *

+ *

Before you begin using this guide, we recommend that you first review the following + * important information about how the IAM Identity Center OIDC service works.

+ *
    + *
  • + *

    The IAM Identity Center OIDC service currently implements only the portions of the OAuth 2.0 Device + * Authorization Grant standard (https://tools.ietf.org/html/rfc8628) that are necessary to enable single + * sign-on authentication with the CLI.

    + *
  • + *
  • + *

    With older versions of the CLI, the service only emits OIDC access tokens, so to + * obtain a new token, users must explicitly re-authenticate. To access the OIDC flow that + * supports token refresh and doesn’t require re-authentication, update to the latest CLI + * version (1.27.10 for CLI V1 and 2.9.0 for CLI V2) with support for OIDC token refresh + * and configurable IAM Identity Center session durations. For more information, see Configure Amazon Web Services access portal session duration .

    + *
  • + *
  • + *

    The access tokens provided by this service grant access to all Amazon Web Services account + * entitlements assigned to an IAM Identity Center user, not just a particular application.

    + *
  • + *
  • + *

    The documentation in this guide does not describe the mechanism to convert the access + * token into Amazon Web Services Auth (“sigv4”) credentials for use with IAM-protected Amazon Web Services service + * endpoints. For more information, see GetRoleCredentials in the IAM Identity Center Portal API Reference + * Guide.

    + *
  • + *
+ *

For general information about IAM Identity Center, see What is + * IAM Identity Center? in the IAM Identity Center User Guide.

+ * + * @packageDocumentation + */ +export * from "./SSOOIDCClient"; +export * from "./SSOOIDC"; +export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; +export type { RuntimeExtension } from "./runtimeExtensions"; +export type { SSOOIDCExtensionConfiguration } from "./extensionConfiguration"; +export * from "./commands"; +export * from "./schemas/schemas_0"; +export * from "./models/enums"; +export * from "./models/errors"; +export * from "./models/models_0"; +export { SSOOIDCServiceException } from "./models/SSOOIDCServiceException"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts new file mode 100644 index 0000000..e9499ca --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts @@ -0,0 +1,14 @@ +import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client"; +export type { __ServiceExceptionOptions }; +export { __ServiceException }; +/** + * @public + * + * Base exception class for all service exceptions from SSOOIDC service. + */ +export declare class SSOOIDCServiceException extends __ServiceException { + /** + * @internal + */ + constructor(options: __ServiceExceptionOptions); +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/enums.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/enums.d.ts new file mode 100644 index 0000000..176a463 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/enums.d.ts @@ -0,0 +1,25 @@ +/** + * @public + * @enum + */ +export declare const AccessDeniedExceptionReason: { + readonly KMS_ACCESS_DENIED: "KMS_AccessDeniedException"; +}; +/** + * @public + */ +export type AccessDeniedExceptionReason = (typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason]; +/** + * @public + * @enum + */ +export declare const InvalidRequestExceptionReason: { + readonly KMS_DISABLED_KEY: "KMS_DisabledException"; + readonly KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException"; + readonly KMS_INVALID_STATE: "KMS_InvalidStateException"; + readonly KMS_KEY_NOT_FOUND: "KMS_NotFoundException"; +}; +/** + * @public + */ +export type InvalidRequestExceptionReason = (typeof InvalidRequestExceptionReason)[keyof typeof InvalidRequestExceptionReason]; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts new file mode 100644 index 0000000..48af951 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts @@ -0,0 +1,279 @@ +import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; +import type { AccessDeniedExceptionReason, InvalidRequestExceptionReason } from "./enums"; +import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException"; +/** + *

You do not have sufficient access to perform this action.

+ * @public + */ +export declare class AccessDeniedException extends __BaseException { + readonly name: "AccessDeniedException"; + readonly $fault: "client"; + /** + *

Single error code. For this exception the value will be access_denied.

+ * @public + */ + error?: string | undefined; + /** + *

A string that uniquely identifies a reason for the error.

+ * @public + */ + reason?: AccessDeniedExceptionReason | undefined; + /** + *

Human-readable text providing additional information, used to assist the client developer + * in understanding the error that occurred.

+ * @public + */ + error_description?: string | undefined; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Indicates that a request to authorize a client with an access user session token is + * pending.

+ * @public + */ +export declare class AuthorizationPendingException extends __BaseException { + readonly name: "AuthorizationPendingException"; + readonly $fault: "client"; + /** + *

Single error code. For this exception the value will be + * authorization_pending.

+ * @public + */ + error?: string | undefined; + /** + *

Human-readable text providing additional information, used to assist the client developer + * in understanding the error that occurred.

+ * @public + */ + error_description?: string | undefined; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Indicates that the token issued by the service is expired and is no longer valid.

+ * @public + */ +export declare class ExpiredTokenException extends __BaseException { + readonly name: "ExpiredTokenException"; + readonly $fault: "client"; + /** + *

Single error code. For this exception the value will be expired_token.

+ * @public + */ + error?: string | undefined; + /** + *

Human-readable text providing additional information, used to assist the client developer + * in understanding the error that occurred.

+ * @public + */ + error_description?: string | undefined; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Indicates that an error from the service occurred while trying to process a + * request.

+ * @public + */ +export declare class InternalServerException extends __BaseException { + readonly name: "InternalServerException"; + readonly $fault: "server"; + /** + *

Single error code. For this exception the value will be server_error.

+ * @public + */ + error?: string | undefined; + /** + *

Human-readable text providing additional information, used to assist the client developer + * in understanding the error that occurred.

+ * @public + */ + error_description?: string | undefined; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Indicates that the clientId or clientSecret in the request is + * invalid. For example, this can occur when a client sends an incorrect clientId or + * an expired clientSecret.

+ * @public + */ +export declare class InvalidClientException extends __BaseException { + readonly name: "InvalidClientException"; + readonly $fault: "client"; + /** + *

Single error code. For this exception the value will be + * invalid_client.

+ * @public + */ + error?: string | undefined; + /** + *

Human-readable text providing additional information, used to assist the client developer + * in understanding the error that occurred.

+ * @public + */ + error_description?: string | undefined; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Indicates that a request contains an invalid grant. This can occur if a client makes a + * CreateToken request with an invalid grant type.

+ * @public + */ +export declare class InvalidGrantException extends __BaseException { + readonly name: "InvalidGrantException"; + readonly $fault: "client"; + /** + *

Single error code. For this exception the value will be invalid_grant.

+ * @public + */ + error?: string | undefined; + /** + *

Human-readable text providing additional information, used to assist the client developer + * in understanding the error that occurred.

+ * @public + */ + error_description?: string | undefined; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Indicates that something is wrong with the input to the request. For example, a required + * parameter might be missing or out of range.

+ * @public + */ +export declare class InvalidRequestException extends __BaseException { + readonly name: "InvalidRequestException"; + readonly $fault: "client"; + /** + *

Single error code. For this exception the value will be + * invalid_request.

+ * @public + */ + error?: string | undefined; + /** + *

A string that uniquely identifies a reason for the error.

+ * @public + */ + reason?: InvalidRequestExceptionReason | undefined; + /** + *

Human-readable text providing additional information, used to assist the client developer + * in understanding the error that occurred.

+ * @public + */ + error_description?: string | undefined; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Indicates that the scope provided in the request is invalid.

+ * @public + */ +export declare class InvalidScopeException extends __BaseException { + readonly name: "InvalidScopeException"; + readonly $fault: "client"; + /** + *

Single error code. For this exception the value will be invalid_scope.

+ * @public + */ + error?: string | undefined; + /** + *

Human-readable text providing additional information, used to assist the client developer + * in understanding the error that occurred.

+ * @public + */ + error_description?: string | undefined; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Indicates that the client is making the request too frequently and is more than the + * service can handle.

+ * @public + */ +export declare class SlowDownException extends __BaseException { + readonly name: "SlowDownException"; + readonly $fault: "client"; + /** + *

Single error code. For this exception the value will be slow_down.

+ * @public + */ + error?: string | undefined; + /** + *

Human-readable text providing additional information, used to assist the client developer + * in understanding the error that occurred.

+ * @public + */ + error_description?: string | undefined; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Indicates that the client is not currently authorized to make the request. This can happen + * when a clientId is not issued for a public client.

+ * @public + */ +export declare class UnauthorizedClientException extends __BaseException { + readonly name: "UnauthorizedClientException"; + readonly $fault: "client"; + /** + *

Single error code. For this exception the value will be + * unauthorized_client.

+ * @public + */ + error?: string | undefined; + /** + *

Human-readable text providing additional information, used to assist the client developer + * in understanding the error that occurred.

+ * @public + */ + error_description?: string | undefined; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Indicates that the grant type in the request is not supported by the service.

+ * @public + */ +export declare class UnsupportedGrantTypeException extends __BaseException { + readonly name: "UnsupportedGrantTypeException"; + readonly $fault: "client"; + /** + *

Single error code. For this exception the value will be + * unsupported_grant_type.

+ * @public + */ + error?: string | undefined; + /** + *

Human-readable text providing additional information, used to assist the client developer + * in understanding the error that occurred.

+ * @public + */ + error_description?: string | undefined; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts new file mode 100644 index 0000000..24eec1b --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts @@ -0,0 +1,109 @@ +/** + * @public + */ +export interface CreateTokenRequest { + /** + *

The unique identifier string for the client or application. This value comes from the + * result of the RegisterClient API.

+ * @public + */ + clientId: string | undefined; + /** + *

A secret string generated for the client. This value should come from the persisted result + * of the RegisterClient API.

+ * @public + */ + clientSecret: string | undefined; + /** + *

Supports the following OAuth grant types: Authorization Code, Device Code, and Refresh + * Token. Specify one of the following values, depending on the grant type that you want:

+ *

* Authorization Code - authorization_code + *

+ *

* Device Code - urn:ietf:params:oauth:grant-type:device_code + *

+ *

* Refresh Token - refresh_token + *

+ * @public + */ + grantType: string | undefined; + /** + *

Used only when calling this API for the Device Code grant type. This short-lived code is + * used to identify this authorization request. This comes from the result of the StartDeviceAuthorization API.

+ * @public + */ + deviceCode?: string | undefined; + /** + *

Used only when calling this API for the Authorization Code grant type. The short-lived + * code is used to identify this authorization request.

+ * @public + */ + code?: string | undefined; + /** + *

Used only when calling this API for the Refresh Token grant type. This token is used to + * refresh short-lived tokens, such as the access token, that might expire.

+ *

For more information about the features and limitations of the current IAM Identity Center OIDC + * implementation, see Considerations for Using this Guide in the IAM Identity Center + * OIDC API Reference.

+ * @public + */ + refreshToken?: string | undefined; + /** + *

The list of scopes for which authorization is requested. This parameter has no effect; the access token will always include all scopes configured during client registration.

+ * @public + */ + scope?: string[] | undefined; + /** + *

Used only when calling this API for the Authorization Code grant type. This value + * specifies the location of the client or application that has registered to receive the + * authorization code.

+ * @public + */ + redirectUri?: string | undefined; + /** + *

Used only when calling this API for the Authorization Code grant type. This value is + * generated by the client and presented to validate the original code challenge value the client + * passed at authorization time.

+ * @public + */ + codeVerifier?: string | undefined; +} +/** + * @public + */ +export interface CreateTokenResponse { + /** + *

A bearer token to access Amazon Web Services accounts and applications assigned to a user.

+ * @public + */ + accessToken?: string | undefined; + /** + *

Used to notify the client that the returned token is an access token. The supported token + * type is Bearer.

+ * @public + */ + tokenType?: string | undefined; + /** + *

Indicates the time in seconds when an access token will expire.

+ * @public + */ + expiresIn?: number | undefined; + /** + *

A token that, if present, can be used to refresh a previously issued access token that + * might have expired.

+ *

For more information about the features and limitations of the current IAM Identity Center OIDC + * implementation, see Considerations for Using this Guide in the IAM Identity Center + * OIDC API Reference.

+ * @public + */ + refreshToken?: string | undefined; + /** + *

The idToken is not implemented or supported. For more information about the + * features and limitations of the current IAM Identity Center OIDC implementation, see + * Considerations for Using this Guide in the IAM Identity Center + * OIDC API Reference.

+ *

A JSON Web Token (JWT) that identifies who is associated with the issued access token. + *

+ * @public + */ + idToken?: string | undefined; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts new file mode 100644 index 0000000..f6b3f62 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts @@ -0,0 +1,62 @@ +import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; +import type { SSOOIDCClientConfig } from "./SSOOIDCClient"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + region: string | import("@smithy/types").Provider; + requestHandler: import("@smithy/protocol-http").HttpHandler | RequestHandler; + retryMode: string | import("@smithy/types").Provider; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + cacheMiddleware?: boolean | undefined; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsRestJsonProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: string | undefined | import("@smithy/types").Provider; + retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; + endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; + endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | undefined; + signer: import("@aws-sdk/core/dist-types/submodules/httpAuthSchemes").AwsSdkSigV4Signer; + } | { + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + })[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider; + credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts new file mode 100644 index 0000000..602d7e9 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts @@ -0,0 +1,62 @@ +import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; +import type { SSOOIDCClientConfig } from "./SSOOIDCClient"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider; + authSchemePreference: string[] | import("@smithy/types").Provider; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + region: string | import("@smithy/types").Provider; + requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler; + retryMode: string | import("@smithy/types").Provider; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + useDualstackEndpoint: boolean | import("@smithy/types").Provider; + useFipsEndpoint: boolean | import("@smithy/types").Provider; + userAgentAppId: string | import("@smithy/types").Provider; + cacheMiddleware?: boolean | undefined; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsRestJsonProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + customUserAgent?: string | import("@smithy/types").UserAgent; + retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; + endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; + endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | undefined; + signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; + } | { + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + })[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider; + credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts new file mode 100644 index 0000000..81e3542 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts @@ -0,0 +1,61 @@ +import type { SSOOIDCClientConfig } from "./SSOOIDCClient"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => { + runtime: string; + sha256: import("@smithy/types").HashConstructor; + requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record | import("@smithy/protocol-http").HttpHandler | import("@smithy/fetch-http-handler").FetchHttpHandler; + cacheMiddleware?: boolean; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsRestJsonProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + streamCollector: import("@smithy/types").StreamCollector; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + region: string | import("@smithy/types").Provider; + profile?: string; + defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + retryMode: string | import("@smithy/types").Provider; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: string | undefined | import("@smithy/types").Provider; + retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; + endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; + endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | undefined; + signer: import("@aws-sdk/core/dist-types/submodules/httpAuthSchemes").AwsSdkSigV4Signer; + } | { + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + })[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider; + credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts new file mode 100644 index 0000000..cae7a84 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts @@ -0,0 +1,38 @@ +import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; +import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols"; +import { NoAuthSigner } from "@smithy/core"; +import type { IdentityProviderConfig } from "@smithy/types"; +import type { SSOOIDCClientConfig } from "./SSOOIDCClient"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => { + apiVersion: string; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + disableHostPrefix: boolean; + endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ + schemeId: string; + identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider | undefined; + signer: AwsSdkSigV4Signer; + } | { + schemeId: string; + identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider | (() => Promise<{}>); + signer: NoAuthSigner; + })[]; + logger: import("@smithy/types").Logger; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof AwsRestJsonProtocol; + protocolSettings: { + [setting: string]: unknown; + defaultNamespace?: string; + }; + serviceId: string; + urlParser: import("@smithy/types").UrlParser; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeExtensions.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeExtensions.d.ts new file mode 100644 index 0000000..442eab1 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeExtensions.d.ts @@ -0,0 +1,17 @@ +import type { SSOOIDCExtensionConfiguration } from "./extensionConfiguration"; +/** + * @public + */ +export interface RuntimeExtension { + configure(extensionConfiguration: SSOOIDCExtensionConfiguration): void; +} +/** + * @public + */ +export interface RuntimeExtensionsConfig { + extensions: RuntimeExtension[]; +} +/** + * @internal + */ +export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts new file mode 100644 index 0000000..472e687 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts @@ -0,0 +1,23 @@ +import { TypeRegistry } from "@smithy/core/schema"; +import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types"; +export declare var SSOOIDCServiceException$: StaticErrorSchema; +export declare var AccessDeniedException$: StaticErrorSchema; +export declare var AuthorizationPendingException$: StaticErrorSchema; +export declare var ExpiredTokenException$: StaticErrorSchema; +export declare var InternalServerException$: StaticErrorSchema; +export declare var InvalidClientException$: StaticErrorSchema; +export declare var InvalidGrantException$: StaticErrorSchema; +export declare var InvalidRequestException$: StaticErrorSchema; +export declare var InvalidScopeException$: StaticErrorSchema; +export declare var SlowDownException$: StaticErrorSchema; +export declare var UnauthorizedClientException$: StaticErrorSchema; +export declare var UnsupportedGrantTypeException$: StaticErrorSchema; +/** + * TypeRegistry instances containing modeled errors. + * @internal + * + */ +export declare const errorTypeRegistries: TypeRegistry[]; +export declare var CreateTokenRequest$: StaticStructureSchema; +export declare var CreateTokenResponse$: StaticStructureSchema; +export declare var CreateToken$: StaticOperationSchema; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts new file mode 100644 index 0000000..5d448c0 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts @@ -0,0 +1,32 @@ +import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; +import { type GetRoleCredentialsCommandInput, type GetRoleCredentialsCommandOutput } from "./commands/GetRoleCredentialsCommand"; +import { SSOClient } from "./SSOClient"; +export interface SSO { + /** + * @see {@link GetRoleCredentialsCommand} + */ + getRoleCredentials(args: GetRoleCredentialsCommandInput, options?: __HttpHandlerOptions): Promise; + getRoleCredentials(args: GetRoleCredentialsCommandInput, cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void): void; + getRoleCredentials(args: GetRoleCredentialsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void): void; +} +/** + *

AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to + * IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles + * assigned to them and get federated into the application.

+ * + *

Although AWS Single Sign-On was renamed, the sso and + * identitystore API namespaces will continue to retain their original name for + * backward compatibility purposes. For more information, see IAM Identity Center rename.

+ *
+ *

This reference guide describes the IAM Identity Center Portal operations that you can call + * programatically and includes detailed information on data types and errors.

+ * + *

AWS provides SDKs that consist of libraries and sample code for various programming + * languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a + * convenient way to create programmatic access to IAM Identity Center and other AWS services. For more + * information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.

+ *
+ * @public + */ +export declare class SSO extends SSOClient implements SSO { +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSOClient.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSOClient.d.ts new file mode 100644 index 0000000..ec72214 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSOClient.d.ts @@ -0,0 +1,197 @@ +import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header"; +import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent"; +import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver"; +import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint"; +import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry"; +import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http"; +import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client"; +import type { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types"; +import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider"; +import type { GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput } from "./commands/GetRoleCredentialsCommand"; +import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters"; +import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions"; +export { __Client }; +/** + * @public + */ +export type ServiceInputTypes = GetRoleCredentialsCommandInput; +/** + * @public + */ +export type ServiceOutputTypes = GetRoleCredentialsCommandOutput; +/** + * @public + */ +export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { + /** + * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs. + */ + requestHandler?: __HttpHandlerUserInput; + /** + * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface + * that computes the SHA-256 HMAC or checksum of a string or binary buffer. + * @internal + */ + sha256?: __ChecksumConstructor | __HashConstructor; + /** + * The function that will be used to convert strings into HTTP endpoints. + * @internal + */ + urlParser?: __UrlParser; + /** + * A function that can calculate the length of a request body. + * @internal + */ + bodyLengthChecker?: __BodyLengthCalculator; + /** + * A function that converts a stream into an array of bytes. + * @internal + */ + streamCollector?: __StreamCollector; + /** + * The function that will be used to convert a base64-encoded string to a byte array. + * @internal + */ + base64Decoder?: __Decoder; + /** + * The function that will be used to convert binary data to a base64-encoded string. + * @internal + */ + base64Encoder?: __Encoder; + /** + * The function that will be used to convert a UTF8-encoded string to a byte array. + * @internal + */ + utf8Decoder?: __Decoder; + /** + * The function that will be used to convert binary data to a UTF-8 encoded string. + * @internal + */ + utf8Encoder?: __Encoder; + /** + * The runtime environment. + * @internal + */ + runtime?: string; + /** + * Disable dynamically changing the endpoint of the client based on the hostPrefix + * trait of an operation. + */ + disableHostPrefix?: boolean; + /** + * Unique service identifier. + * @internal + */ + serviceId?: string; + /** + * Enables IPv6/IPv4 dualstack endpoint. + */ + useDualstackEndpoint?: boolean | __Provider; + /** + * Enables FIPS compatible endpoints. + */ + useFipsEndpoint?: boolean | __Provider; + /** + * The AWS region to which this client will send requests + */ + region?: string | __Provider; + /** + * Setting a client profile is similar to setting a value for the + * AWS_PROFILE environment variable. Setting a profile on a client + * in code only affects the single client instance, unlike AWS_PROFILE. + * + * When set, and only for environments where an AWS configuration + * file exists, fields configurable by this file will be retrieved + * from the specified profile within that file. + * Conflicting code configuration and environment variables will + * still have higher priority. + * + * For client credential resolution that involves checking the AWS + * configuration file, the client's profile (this value) will be + * used unless a different profile is set in the credential + * provider options. + * + */ + profile?: string; + /** + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal + */ + defaultUserAgentProvider?: __Provider<__UserAgent>; + /** + * Value for how many times a request will be made at most in case of retry. + */ + maxAttempts?: number | __Provider; + /** + * Specifies which retry algorithm to use. + * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/ + * + */ + retryMode?: string | __Provider; + /** + * Optional logger for logging debug/info/warn/error. + */ + logger?: __Logger; + /** + * Optional extensions + */ + extensions?: RuntimeExtension[]; + /** + * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. + */ + defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; +} +/** + * @public + */ +export type SSOClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters; +/** + * @public + * + * The configuration interface of SSOClient class constructor that set the region, credentials and other options. + */ +export interface SSOClientConfig extends SSOClientConfigType { +} +/** + * @public + */ +export type SSOClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters; +/** + * @public + * + * The resolved configuration interface of SSOClient class. This is resolved and normalized from the {@link SSOClientConfig | constructor configuration interface}. + */ +export interface SSOClientResolvedConfig extends SSOClientResolvedConfigType { +} +/** + *

AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to + * IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles + * assigned to them and get federated into the application.

+ * + *

Although AWS Single Sign-On was renamed, the sso and + * identitystore API namespaces will continue to retain their original name for + * backward compatibility purposes. For more information, see IAM Identity Center rename.

+ *
+ *

This reference guide describes the IAM Identity Center Portal operations that you can call + * programatically and includes detailed information on data types and errors.

+ * + *

AWS provides SDKs that consist of libraries and sample code for various programming + * languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a + * convenient way to create programmatic access to IAM Identity Center and other AWS services. For more + * information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.

+ *
+ * @public + */ +export declare class SSOClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig> { + /** + * The resolved configuration of SSOClient class. This is resolved and normalized from the {@link SSOClientConfig | constructor configuration interface}. + */ + readonly config: SSOClientResolvedConfig; + constructor(...[configuration]: __CheckOptionalClientConfig); + /** + * Destroy underlying resources, like sockets. It's usually not necessary to do this. + * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. + * Otherwise, sockets might stay open for quite a long time before the server terminates them. + */ + destroy(): void; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts new file mode 100644 index 0000000..2a00459 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts @@ -0,0 +1,29 @@ +import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types"; +import type { SSOHttpAuthSchemeProvider } from "./httpAuthSchemeProvider"; +/** + * @internal + */ +export interface HttpAuthExtensionConfiguration { + setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void; + httpAuthSchemes(): HttpAuthScheme[]; + setHttpAuthSchemeProvider(httpAuthSchemeProvider: SSOHttpAuthSchemeProvider): void; + httpAuthSchemeProvider(): SSOHttpAuthSchemeProvider; + setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void; + credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined; +} +/** + * @internal + */ +export type HttpAuthRuntimeConfig = Partial<{ + httpAuthSchemes: HttpAuthScheme[]; + httpAuthSchemeProvider: SSOHttpAuthSchemeProvider; + credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider; +}>; +/** + * @internal + */ +export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration; +/** + * @internal + */ +export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthSchemeProvider.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthSchemeProvider.d.ts new file mode 100644 index 0000000..5bcce6a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthSchemeProvider.d.ts @@ -0,0 +1,75 @@ +import type { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes"; +import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types"; +import { type SSOClientResolvedConfig } from "../SSOClient"; +/** + * @internal + */ +export interface SSOHttpAuthSchemeParameters extends HttpAuthSchemeParameters { + region?: string; +} +/** + * @internal + */ +export interface SSOHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider { +} +/** + * @internal + */ +export declare const defaultSSOHttpAuthSchemeParametersProvider: (config: SSOClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise; +/** + * @internal + */ +export interface SSOHttpAuthSchemeProvider extends HttpAuthSchemeProvider { +} +/** + * @internal + */ +export declare const defaultSSOHttpAuthSchemeProvider: SSOHttpAuthSchemeProvider; +/** + * @public + */ +export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig { + /** + * A comma-separated list of case-sensitive auth scheme names. + * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed. + * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4. + * @public + */ + authSchemePreference?: string[] | Provider; + /** + * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. + * @internal + */ + httpAuthSchemes?: HttpAuthScheme[]; + /** + * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. + * @internal + */ + httpAuthSchemeProvider?: SSOHttpAuthSchemeProvider; +} +/** + * @internal + */ +export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig { + /** + * A comma-separated list of case-sensitive auth scheme names. + * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed. + * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4. + * @public + */ + readonly authSchemePreference: Provider; + /** + * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. + * @internal + */ + readonly httpAuthSchemes: HttpAuthScheme[]; + /** + * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. + * @internal + */ + readonly httpAuthSchemeProvider: SSOHttpAuthSchemeProvider; +} +/** + * @internal + */ +export declare const resolveHttpAuthSchemeConfig: (config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/GetRoleCredentialsCommand.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/GetRoleCredentialsCommand.d.ts new file mode 100644 index 0000000..27cf2e1 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/GetRoleCredentialsCommand.d.ts @@ -0,0 +1,97 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { GetRoleCredentialsRequest, GetRoleCredentialsResponse } from "../models/models_0"; +import type { SSOClientResolvedConfig } from "../SSOClient"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link GetRoleCredentialsCommand}. + */ +export interface GetRoleCredentialsCommandInput extends GetRoleCredentialsRequest { +} +/** + * @public + * + * The output of {@link GetRoleCredentialsCommand}. + */ +export interface GetRoleCredentialsCommandOutput extends GetRoleCredentialsResponse, __MetadataBearer { +} +declare const GetRoleCredentialsCommand_base: { + new (input: GetRoleCredentialsCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: GetRoleCredentialsCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Returns the STS short-term credentials for a given role name that is assigned to the + * user.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSOClient, GetRoleCredentialsCommand } from "@aws-sdk/client-sso"; // ES Modules import + * // const { SSOClient, GetRoleCredentialsCommand } = require("@aws-sdk/client-sso"); // CommonJS import + * // import type { SSOClientConfig } from "@aws-sdk/client-sso"; + * const config = {}; // type is SSOClientConfig + * const client = new SSOClient(config); + * const input = { // GetRoleCredentialsRequest + * roleName: "STRING_VALUE", // required + * accountId: "STRING_VALUE", // required + * accessToken: "STRING_VALUE", // required + * }; + * const command = new GetRoleCredentialsCommand(input); + * const response = await client.send(command); + * // { // GetRoleCredentialsResponse + * // roleCredentials: { // RoleCredentials + * // accessKeyId: "STRING_VALUE", + * // secretAccessKey: "STRING_VALUE", + * // sessionToken: "STRING_VALUE", + * // expiration: Number("long"), + * // }, + * // }; + * + * ``` + * + * @param GetRoleCredentialsCommandInput - {@link GetRoleCredentialsCommandInput} + * @returns {@link GetRoleCredentialsCommandOutput} + * @see {@link GetRoleCredentialsCommandInput} for command's `input` shape. + * @see {@link GetRoleCredentialsCommandOutput} for command's `response` shape. + * @see {@link SSOClientResolvedConfig | config} for SSOClient's `config` shape. + * + * @throws {@link InvalidRequestException} (client fault) + *

Indicates that a problem occurred with the input to the request. For example, a required + * parameter might be missing or out of range.

+ * + * @throws {@link ResourceNotFoundException} (client fault) + *

The specified resource doesn't exist.

+ * + * @throws {@link TooManyRequestsException} (client fault) + *

Indicates that the request is being made too frequently and is more than what the server + * can handle.

+ * + * @throws {@link UnauthorizedException} (client fault) + *

Indicates that the request is not authorized. This can happen due to an invalid access + * token in the request.

+ * + * @throws {@link SSOServiceException} + *

Base exception class for all service exceptions from SSO service.

+ * + * + * @public + */ +export declare class GetRoleCredentialsCommand extends GetRoleCredentialsCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: GetRoleCredentialsRequest; + output: GetRoleCredentialsResponse; + }; + sdk: { + input: GetRoleCredentialsCommandInput; + output: GetRoleCredentialsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/index.d.ts new file mode 100644 index 0000000..69ba055 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/index.d.ts @@ -0,0 +1 @@ +export * from "./GetRoleCredentialsCommand"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/EndpointParameters.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/EndpointParameters.d.ts new file mode 100644 index 0000000..240d523 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/EndpointParameters.d.ts @@ -0,0 +1,50 @@ +import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types"; +/** + * @public + */ +export interface ClientInputEndpointParameters { + region?: string | undefined | Provider; + useDualstackEndpoint?: boolean | undefined | Provider; + useFipsEndpoint?: boolean | undefined | Provider; + endpoint?: string | Provider | Endpoint | Provider | EndpointV2 | Provider; +} +/** + * @public + */ +export type ClientResolvedEndpointParameters = Omit & { + defaultSigningName: string; +}; +/** + * @internal + */ +export declare const resolveClientEndpointParameters: (options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters; +/** + * @internal + */ +export declare const commonParams: { + readonly UseFIPS: { + readonly type: "builtInParams"; + readonly name: "useFipsEndpoint"; + }; + readonly Endpoint: { + readonly type: "builtInParams"; + readonly name: "endpoint"; + }; + readonly Region: { + readonly type: "builtInParams"; + readonly name: "region"; + }; + readonly UseDualStack: { + readonly type: "builtInParams"; + readonly name: "useDualstackEndpoint"; + }; +}; +/** + * @internal + */ +export interface EndpointParameters extends __EndpointParameters { + Region?: string | undefined; + UseDualStack?: boolean | undefined; + UseFIPS?: boolean | undefined; + Endpoint?: string | undefined; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/endpointResolver.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/endpointResolver.d.ts new file mode 100644 index 0000000..c1de67d --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/endpointResolver.d.ts @@ -0,0 +1,8 @@ +import type { EndpointV2, Logger } from "@smithy/types"; +import type { EndpointParameters } from "./EndpointParameters"; +/** + * @internal + */ +export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: { + logger?: Logger; +}) => EndpointV2; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts new file mode 100644 index 0000000..4dda20a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts @@ -0,0 +1,2 @@ +import type { RuleSetObject } from "@smithy/types"; +export declare const ruleSet: RuleSetObject; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/extensionConfiguration.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/extensionConfiguration.d.ts new file mode 100644 index 0000000..1d3c084 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/extensionConfiguration.d.ts @@ -0,0 +1,9 @@ +import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; +import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; +import type { DefaultExtensionConfiguration } from "@smithy/types"; +import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; +/** + * @internal + */ +export interface SSOExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration { +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/index.d.ts new file mode 100644 index 0000000..daf5d81 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/index.d.ts @@ -0,0 +1,30 @@ +/** + *

AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to + * IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles + * assigned to them and get federated into the application.

+ * + *

Although AWS Single Sign-On was renamed, the sso and + * identitystore API namespaces will continue to retain their original name for + * backward compatibility purposes. For more information, see IAM Identity Center rename.

+ *
+ *

This reference guide describes the IAM Identity Center Portal operations that you can call + * programatically and includes detailed information on data types and errors.

+ * + *

AWS provides SDKs that consist of libraries and sample code for various programming + * languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a + * convenient way to create programmatic access to IAM Identity Center and other AWS services. For more + * information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.

+ *
+ * + * @packageDocumentation + */ +export * from "./SSOClient"; +export * from "./SSO"; +export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; +export type { RuntimeExtension } from "./runtimeExtensions"; +export type { SSOExtensionConfiguration } from "./extensionConfiguration"; +export * from "./commands"; +export * from "./schemas/schemas_0"; +export * from "./models/errors"; +export * from "./models/models_0"; +export { SSOServiceException } from "./models/SSOServiceException"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/SSOServiceException.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/SSOServiceException.d.ts new file mode 100644 index 0000000..6cd0886 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/SSOServiceException.d.ts @@ -0,0 +1,14 @@ +import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client"; +export type { __ServiceExceptionOptions }; +export { __ServiceException }; +/** + * @public + * + * Base exception class for all service exceptions from SSO service. + */ +export declare class SSOServiceException extends __ServiceException { + /** + * @internal + */ + constructor(options: __ServiceExceptionOptions); +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/errors.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/errors.d.ts new file mode 100644 index 0000000..488bea4 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/errors.d.ts @@ -0,0 +1,53 @@ +import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; +import { SSOServiceException as __BaseException } from "./SSOServiceException"; +/** + *

Indicates that a problem occurred with the input to the request. For example, a required + * parameter might be missing or out of range.

+ * @public + */ +export declare class InvalidRequestException extends __BaseException { + readonly name: "InvalidRequestException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

The specified resource doesn't exist.

+ * @public + */ +export declare class ResourceNotFoundException extends __BaseException { + readonly name: "ResourceNotFoundException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Indicates that the request is being made too frequently and is more than what the server + * can handle.

+ * @public + */ +export declare class TooManyRequestsException extends __BaseException { + readonly name: "TooManyRequestsException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

Indicates that the request is not authorized. This can happen due to an invalid access + * token in the request.

+ * @public + */ +export declare class UnauthorizedException extends __BaseException { + readonly name: "UnauthorizedException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/models_0.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/models_0.d.ts new file mode 100644 index 0000000..0eb108e --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/models_0.d.ts @@ -0,0 +1,61 @@ +/** + * @public + */ +export interface GetRoleCredentialsRequest { + /** + *

The friendly name of the role that is assigned to the user.

+ * @public + */ + roleName: string | undefined; + /** + *

The identifier for the AWS account that is assigned to the user.

+ * @public + */ + accountId: string | undefined; + /** + *

The token issued by the CreateToken API call. For more information, see + * CreateToken in the IAM Identity Center OIDC API Reference Guide.

+ * @public + */ + accessToken: string | undefined; +} +/** + *

Provides information about the role credentials that are assigned to the user.

+ * @public + */ +export interface RoleCredentials { + /** + *

The identifier used for the temporary security credentials. For more information, see + * Using Temporary Security Credentials to Request Access to AWS Resources in the + * AWS IAM User Guide.

+ * @public + */ + accessKeyId?: string | undefined; + /** + *

The key that is used to sign the request. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the + * AWS IAM User Guide.

+ * @public + */ + secretAccessKey?: string | undefined; + /** + *

The token used for temporary credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the + * AWS IAM User Guide.

+ * @public + */ + sessionToken?: string | undefined; + /** + *

The date on which temporary security credentials expire.

+ * @public + */ + expiration?: number | undefined; +} +/** + * @public + */ +export interface GetRoleCredentialsResponse { + /** + *

The credentials for the role that is assigned to the user.

+ * @public + */ + roleCredentials?: RoleCredentials | undefined; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts new file mode 100644 index 0000000..5331311 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts @@ -0,0 +1,62 @@ +import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; +import type { SSOClientConfig } from "./SSOClient"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: SSOClientConfig) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + region: string | import("@smithy/types").Provider; + requestHandler: import("@smithy/protocol-http").HttpHandler | RequestHandler; + retryMode: string | import("@smithy/types").Provider; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + cacheMiddleware?: boolean | undefined; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsRestJsonProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: string | undefined | import("@smithy/types").Provider; + retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; + endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; + endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | undefined; + signer: import("@aws-sdk/core/dist-types/submodules/httpAuthSchemes").AwsSdkSigV4Signer; + } | { + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + })[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOHttpAuthSchemeProvider; + credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts new file mode 100644 index 0000000..bfe3d02 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts @@ -0,0 +1,62 @@ +import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; +import type { SSOClientConfig } from "./SSOClient"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: SSOClientConfig) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider; + authSchemePreference: string[] | import("@smithy/types").Provider; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + region: string | import("@smithy/types").Provider; + requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler; + retryMode: string | import("@smithy/types").Provider; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + useDualstackEndpoint: boolean | import("@smithy/types").Provider; + useFipsEndpoint: boolean | import("@smithy/types").Provider; + userAgentAppId: string | import("@smithy/types").Provider; + cacheMiddleware?: boolean | undefined; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsRestJsonProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + customUserAgent?: string | import("@smithy/types").UserAgent; + retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; + endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; + endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | undefined; + signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; + } | { + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + })[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOHttpAuthSchemeProvider; + credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts new file mode 100644 index 0000000..3b628d9 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts @@ -0,0 +1,61 @@ +import type { SSOClientConfig } from "./SSOClient"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: SSOClientConfig) => { + runtime: string; + sha256: import("@smithy/types").HashConstructor; + requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record | import("@smithy/protocol-http").HttpHandler | import("@smithy/fetch-http-handler").FetchHttpHandler; + cacheMiddleware?: boolean; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsRestJsonProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + streamCollector: import("@smithy/types").StreamCollector; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + region: string | import("@smithy/types").Provider; + profile?: string; + defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + retryMode: string | import("@smithy/types").Provider; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: string | undefined | import("@smithy/types").Provider; + retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; + endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; + endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | undefined; + signer: import("@aws-sdk/core/dist-types/submodules/httpAuthSchemes").AwsSdkSigV4Signer; + } | { + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + })[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOHttpAuthSchemeProvider; + credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts new file mode 100644 index 0000000..9644dd1 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts @@ -0,0 +1,38 @@ +import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; +import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols"; +import { NoAuthSigner } from "@smithy/core"; +import type { IdentityProviderConfig } from "@smithy/types"; +import type { SSOClientConfig } from "./SSOClient"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: SSOClientConfig) => { + apiVersion: string; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + disableHostPrefix: boolean; + endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOHttpAuthSchemeProvider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ + schemeId: string; + identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider | undefined; + signer: AwsSdkSigV4Signer; + } | { + schemeId: string; + identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider | (() => Promise<{}>); + signer: NoAuthSigner; + })[]; + logger: import("@smithy/types").Logger; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof AwsRestJsonProtocol; + protocolSettings: { + [setting: string]: unknown; + defaultNamespace?: string; + }; + serviceId: string; + urlParser: import("@smithy/types").UrlParser; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeExtensions.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeExtensions.d.ts new file mode 100644 index 0000000..61b5376 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeExtensions.d.ts @@ -0,0 +1,17 @@ +import type { SSOExtensionConfiguration } from "./extensionConfiguration"; +/** + * @public + */ +export interface RuntimeExtension { + configure(extensionConfiguration: SSOExtensionConfiguration): void; +} +/** + * @public + */ +export interface RuntimeExtensionsConfig { + extensions: RuntimeExtension[]; +} +/** + * @internal + */ +export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/schemas/schemas_0.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/schemas/schemas_0.d.ts new file mode 100644 index 0000000..bd50d99 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/schemas/schemas_0.d.ts @@ -0,0 +1,17 @@ +import { TypeRegistry } from "@smithy/core/schema"; +import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types"; +export declare var SSOServiceException$: StaticErrorSchema; +export declare var InvalidRequestException$: StaticErrorSchema; +export declare var ResourceNotFoundException$: StaticErrorSchema; +export declare var TooManyRequestsException$: StaticErrorSchema; +export declare var UnauthorizedException$: StaticErrorSchema; +/** + * TypeRegistry instances containing modeled errors. + * @internal + * + */ +export declare const errorTypeRegistries: TypeRegistry[]; +export declare var GetRoleCredentialsRequest$: StaticStructureSchema; +export declare var GetRoleCredentialsResponse$: StaticStructureSchema; +export declare var RoleCredentials$: StaticStructureSchema; +export declare var GetRoleCredentials$: StaticOperationSchema; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts new file mode 100644 index 0000000..37a153e --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts @@ -0,0 +1,27 @@ +import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; +import { type AssumeRoleCommandInput, type AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand"; +import { type AssumeRoleWithWebIdentityCommandInput, type AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand"; +import { STSClient } from "./STSClient"; +export interface STS { + /** + * @see {@link AssumeRoleCommand} + */ + assumeRole(args: AssumeRoleCommandInput, options?: __HttpHandlerOptions): Promise; + assumeRole(args: AssumeRoleCommandInput, cb: (err: any, data?: AssumeRoleCommandOutput) => void): void; + assumeRole(args: AssumeRoleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssumeRoleCommandOutput) => void): void; + /** + * @see {@link AssumeRoleWithWebIdentityCommand} + */ + assumeRoleWithWebIdentity(args: AssumeRoleWithWebIdentityCommandInput, options?: __HttpHandlerOptions): Promise; + assumeRoleWithWebIdentity(args: AssumeRoleWithWebIdentityCommandInput, cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void): void; + assumeRoleWithWebIdentity(args: AssumeRoleWithWebIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void): void; +} +/** + * Security Token Service + *

Security Token Service (STS) enables you to request temporary, limited-privilege + * credentials for users. This guide provides descriptions of the STS API. For + * more information about using this service, see Temporary Security Credentials.

+ * @public + */ +export declare class STS extends STSClient implements STS { +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts new file mode 100644 index 0000000..509dff2 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts @@ -0,0 +1,192 @@ +import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header"; +import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent"; +import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver"; +import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint"; +import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry"; +import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http"; +import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client"; +import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types"; +import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider"; +import type { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand"; +import type { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand"; +import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters"; +import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions"; +export { __Client }; +/** + * @public + */ +export type ServiceInputTypes = AssumeRoleCommandInput | AssumeRoleWithWebIdentityCommandInput; +/** + * @public + */ +export type ServiceOutputTypes = AssumeRoleCommandOutput | AssumeRoleWithWebIdentityCommandOutput; +/** + * @public + */ +export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { + /** + * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs. + */ + requestHandler?: __HttpHandlerUserInput; + /** + * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface + * that computes the SHA-256 HMAC or checksum of a string or binary buffer. + * @internal + */ + sha256?: __ChecksumConstructor | __HashConstructor; + /** + * The function that will be used to convert strings into HTTP endpoints. + * @internal + */ + urlParser?: __UrlParser; + /** + * A function that can calculate the length of a request body. + * @internal + */ + bodyLengthChecker?: __BodyLengthCalculator; + /** + * A function that converts a stream into an array of bytes. + * @internal + */ + streamCollector?: __StreamCollector; + /** + * The function that will be used to convert a base64-encoded string to a byte array. + * @internal + */ + base64Decoder?: __Decoder; + /** + * The function that will be used to convert binary data to a base64-encoded string. + * @internal + */ + base64Encoder?: __Encoder; + /** + * The function that will be used to convert a UTF8-encoded string to a byte array. + * @internal + */ + utf8Decoder?: __Decoder; + /** + * The function that will be used to convert binary data to a UTF-8 encoded string. + * @internal + */ + utf8Encoder?: __Encoder; + /** + * The runtime environment. + * @internal + */ + runtime?: string; + /** + * Disable dynamically changing the endpoint of the client based on the hostPrefix + * trait of an operation. + */ + disableHostPrefix?: boolean; + /** + * Unique service identifier. + * @internal + */ + serviceId?: string; + /** + * Enables IPv6/IPv4 dualstack endpoint. + */ + useDualstackEndpoint?: boolean | __Provider; + /** + * Enables FIPS compatible endpoints. + */ + useFipsEndpoint?: boolean | __Provider; + /** + * The AWS region to which this client will send requests + */ + region?: string | __Provider; + /** + * Setting a client profile is similar to setting a value for the + * AWS_PROFILE environment variable. Setting a profile on a client + * in code only affects the single client instance, unlike AWS_PROFILE. + * + * When set, and only for environments where an AWS configuration + * file exists, fields configurable by this file will be retrieved + * from the specified profile within that file. + * Conflicting code configuration and environment variables will + * still have higher priority. + * + * For client credential resolution that involves checking the AWS + * configuration file, the client's profile (this value) will be + * used unless a different profile is set in the credential + * provider options. + * + */ + profile?: string; + /** + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal + */ + defaultUserAgentProvider?: __Provider<__UserAgent>; + /** + * Default credentials provider; Not available in browser runtime. + * @deprecated + * @internal + */ + credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; + /** + * Value for how many times a request will be made at most in case of retry. + */ + maxAttempts?: number | __Provider; + /** + * Specifies which retry algorithm to use. + * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/ + * + */ + retryMode?: string | __Provider; + /** + * Optional logger for logging debug/info/warn/error. + */ + logger?: __Logger; + /** + * Optional extensions + */ + extensions?: RuntimeExtension[]; + /** + * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. + */ + defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; +} +/** + * @public + */ +export type STSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters; +/** + * @public + * + * The configuration interface of STSClient class constructor that set the region, credentials and other options. + */ +export interface STSClientConfig extends STSClientConfigType { +} +/** + * @public + */ +export type STSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters; +/** + * @public + * + * The resolved configuration interface of STSClient class. This is resolved and normalized from the {@link STSClientConfig | constructor configuration interface}. + */ +export interface STSClientResolvedConfig extends STSClientResolvedConfigType { +} +/** + * Security Token Service + *

Security Token Service (STS) enables you to request temporary, limited-privilege + * credentials for users. This guide provides descriptions of the STS API. For + * more information about using this service, see Temporary Security Credentials.

+ * @public + */ +export declare class STSClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig> { + /** + * The resolved configuration of STSClient class. This is resolved and normalized from the {@link STSClientConfig | constructor configuration interface}. + */ + readonly config: STSClientResolvedConfig; + constructor(...[configuration]: __CheckOptionalClientConfig); + /** + * Destroy underlying resources, like sockets. It's usually not necessary to do this. + * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. + * Otherwise, sockets might stay open for quite a long time before the server terminates them. + */ + destroy(): void; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts new file mode 100644 index 0000000..389cad1 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts @@ -0,0 +1,29 @@ +import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types"; +import type { STSHttpAuthSchemeProvider } from "./httpAuthSchemeProvider"; +/** + * @internal + */ +export interface HttpAuthExtensionConfiguration { + setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void; + httpAuthSchemes(): HttpAuthScheme[]; + setHttpAuthSchemeProvider(httpAuthSchemeProvider: STSHttpAuthSchemeProvider): void; + httpAuthSchemeProvider(): STSHttpAuthSchemeProvider; + setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void; + credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined; +} +/** + * @internal + */ +export type HttpAuthRuntimeConfig = Partial<{ + httpAuthSchemes: HttpAuthScheme[]; + httpAuthSchemeProvider: STSHttpAuthSchemeProvider; + credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider; +}>; +/** + * @internal + */ +export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration; +/** + * @internal + */ +export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts new file mode 100644 index 0000000..fa0aff4 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts @@ -0,0 +1,85 @@ +import type { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes"; +import type { Client, HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types"; +import { type STSClientResolvedConfig } from "../STSClient"; +/** + * @internal + */ +export interface STSHttpAuthSchemeParameters extends HttpAuthSchemeParameters { + region?: string; +} +/** + * @internal + */ +export interface STSHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider { +} +/** + * @internal + */ +export declare const defaultSTSHttpAuthSchemeParametersProvider: (config: STSClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise; +/** + * @internal + */ +export interface STSHttpAuthSchemeProvider extends HttpAuthSchemeProvider { +} +/** + * @internal + */ +export declare const defaultSTSHttpAuthSchemeProvider: STSHttpAuthSchemeProvider; +export interface StsAuthInputConfig { +} +export interface StsAuthResolvedConfig { + /** + * Reference to STSClient class constructor. + * @internal + */ + stsClientCtor: new (clientConfig: any) => Client; +} +export declare const resolveStsAuthConfig: (input: T & StsAuthInputConfig) => T & StsAuthResolvedConfig; +/** + * @public + */ +export interface HttpAuthSchemeInputConfig extends StsAuthInputConfig, AwsSdkSigV4AuthInputConfig { + /** + * A comma-separated list of case-sensitive auth scheme names. + * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed. + * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4. + * @public + */ + authSchemePreference?: string[] | Provider; + /** + * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. + * @internal + */ + httpAuthSchemes?: HttpAuthScheme[]; + /** + * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. + * @internal + */ + httpAuthSchemeProvider?: STSHttpAuthSchemeProvider; +} +/** + * @internal + */ +export interface HttpAuthSchemeResolvedConfig extends StsAuthResolvedConfig, AwsSdkSigV4AuthResolvedConfig { + /** + * A comma-separated list of case-sensitive auth scheme names. + * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed. + * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4. + * @public + */ + readonly authSchemePreference: Provider; + /** + * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. + * @internal + */ + readonly httpAuthSchemes: HttpAuthScheme[]; + /** + * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. + * @internal + */ + readonly httpAuthSchemeProvider: STSHttpAuthSchemeProvider; +} +/** + * @internal + */ +export declare const resolveHttpAuthSchemeConfig: (config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts new file mode 100644 index 0000000..04ea0b2 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts @@ -0,0 +1,270 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { AssumeRoleRequest, AssumeRoleResponse } from "../models/models_0"; +import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link AssumeRoleCommand}. + */ +export interface AssumeRoleCommandInput extends AssumeRoleRequest { +} +/** + * @public + * + * The output of {@link AssumeRoleCommand}. + */ +export interface AssumeRoleCommandOutput extends AssumeRoleResponse, __MetadataBearer { +} +declare const AssumeRoleCommand_base: { + new (input: AssumeRoleCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: AssumeRoleCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Returns a set of temporary security credentials that you can use to access Amazon Web Services + * resources. These temporary credentials consist of an access key ID, a secret access key, + * and a security token. Typically, you use AssumeRole within your account or for + * cross-account access. For a comparison of AssumeRole with other API operations + * that produce temporary credentials, see Requesting Temporary Security + * Credentials and Compare STS + * credentials in the IAM User Guide.

+ *

+ * Permissions + *

+ *

The temporary security credentials created by AssumeRole can be used to + * make API calls to any Amazon Web Services service with the following exception: You cannot call the + * Amazon Web Services STS GetFederationToken or GetSessionToken API + * operations.

+ *

(Optional) You can pass inline or managed session policies to this operation. You can + * pass a single JSON policy document to use as an inline session policy. You can also specify + * up to 10 managed policy Amazon Resource Names (ARNs) to use as managed session policies. + * The plaintext that you use for both inline and managed session policies can't exceed 2,048 + * characters. Passing policies to this operation returns new + * temporary credentials. The resulting session's permissions are the intersection of the + * role's identity-based policy and the session policies. You can use the role's temporary + * credentials in subsequent Amazon Web Services API calls to access resources in the account that owns + * the role. You cannot use session policies to grant more permissions than those allowed + * by the identity-based policy of the role that is being assumed. For more information, see + * Session + * Policies in the IAM User Guide.

+ *

When you create a role, you create two policies: a role trust policy that specifies + * who can assume the role, and a permissions policy that specifies + * what can be done with the role. You specify the trusted principal + * that is allowed to assume the role in the role trust policy.

+ *

To assume a role from a different account, your Amazon Web Services account must be trusted by the + * role. The trust relationship is defined in the role's trust policy when the role is + * created. That trust policy states which accounts are allowed to delegate that access to + * users in the account.

+ *

A user who wants to access a role in a different account must also have permissions that + * are delegated from the account administrator. The administrator must attach a policy that + * allows the user to call AssumeRole for the ARN of the role in the other + * account.

+ *

To allow a user to assume a role in the same account, you can do either of the + * following:

+ *
    + *
  • + *

    Attach a policy to the user that allows the user to call AssumeRole + * (as long as the role's trust policy trusts the account).

    + *
  • + *
  • + *

    Add the user as a principal directly in the role's trust policy.

    + *
  • + *
+ *

You can do either because the role’s trust policy acts as an IAM resource-based + * policy. When a resource-based policy grants access to a principal in the same account, no + * additional identity-based policy is required. For more information about trust policies and + * resource-based policies, see IAM Policies in the + * IAM User Guide.

+ *

+ * Tags + *

+ *

(Optional) You can pass tag key-value pairs to your session. These tags are called + * session tags. For more information about session tags, see Passing Session Tags in STS in the + * IAM User Guide.

+ *

An administrator must grant you the permissions necessary to pass session tags. The + * administrator can also create granular permissions to allow you to pass only specific + * session tags. For more information, see Tutorial: Using Tags + * for Attribute-Based Access Control in the + * IAM User Guide.

+ *

You can set the session tags as transitive. Transitive tags persist during role + * chaining. For more information, see Chaining Roles + * with Session Tags in the IAM User Guide.

+ *

+ * Using MFA with AssumeRole + *

+ *

(Optional) You can include multi-factor authentication (MFA) information when you call + * AssumeRole. This is useful for cross-account scenarios to ensure that the + * user that assumes the role has been authenticated with an Amazon Web Services MFA device. In that + * scenario, the trust policy of the role being assumed includes a condition that tests for + * MFA authentication. If the caller does not include valid MFA information, the request to + * assume the role is denied. The condition in a trust policy that tests for MFA + * authentication might look like the following example.

+ *

+ * "Condition": \{"Bool": \{"aws:MultiFactorAuthPresent": true\}\} + *

+ *

For more information, see Configuring MFA-Protected API Access + * in the IAM User Guide guide.

+ *

To use MFA with AssumeRole, you pass values for the + * SerialNumber and TokenCode parameters. The + * SerialNumber value identifies the user's hardware or virtual MFA device. + * The TokenCode is the time-based one-time password (TOTP) that the MFA device + * produces.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { STSClient, AssumeRoleCommand } from "@aws-sdk/client-sts"; // ES Modules import + * // const { STSClient, AssumeRoleCommand } = require("@aws-sdk/client-sts"); // CommonJS import + * // import type { STSClientConfig } from "@aws-sdk/client-sts"; + * const config = {}; // type is STSClientConfig + * const client = new STSClient(config); + * const input = { // AssumeRoleRequest + * RoleArn: "STRING_VALUE", // required + * RoleSessionName: "STRING_VALUE", // required + * PolicyArns: [ // policyDescriptorListType + * { // PolicyDescriptorType + * arn: "STRING_VALUE", + * }, + * ], + * Policy: "STRING_VALUE", + * DurationSeconds: Number("int"), + * Tags: [ // tagListType + * { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * TransitiveTagKeys: [ // tagKeyListType + * "STRING_VALUE", + * ], + * ExternalId: "STRING_VALUE", + * SerialNumber: "STRING_VALUE", + * TokenCode: "STRING_VALUE", + * SourceIdentity: "STRING_VALUE", + * ProvidedContexts: [ // ProvidedContextsListType + * { // ProvidedContext + * ProviderArn: "STRING_VALUE", + * ContextAssertion: "STRING_VALUE", + * }, + * ], + * }; + * const command = new AssumeRoleCommand(input); + * const response = await client.send(command); + * // { // AssumeRoleResponse + * // Credentials: { // Credentials + * // AccessKeyId: "STRING_VALUE", // required + * // SecretAccessKey: "STRING_VALUE", // required + * // SessionToken: "STRING_VALUE", // required + * // Expiration: new Date("TIMESTAMP"), // required + * // }, + * // AssumedRoleUser: { // AssumedRoleUser + * // AssumedRoleId: "STRING_VALUE", // required + * // Arn: "STRING_VALUE", // required + * // }, + * // PackedPolicySize: Number("int"), + * // SourceIdentity: "STRING_VALUE", + * // }; + * + * ``` + * + * @param AssumeRoleCommandInput - {@link AssumeRoleCommandInput} + * @returns {@link AssumeRoleCommandOutput} + * @see {@link AssumeRoleCommandInput} for command's `input` shape. + * @see {@link AssumeRoleCommandOutput} for command's `response` shape. + * @see {@link STSClientResolvedConfig | config} for STSClient's `config` shape. + * + * @throws {@link ExpiredTokenException} (client fault) + *

The web identity token that was passed is expired or is not valid. Get a new identity + * token from the identity provider and then retry the request.

+ * + * @throws {@link MalformedPolicyDocumentException} (client fault) + *

The request was rejected because the policy document was malformed. The error message + * describes the specific error.

+ * + * @throws {@link PackedPolicyTooLargeException} (client fault) + *

The request was rejected because the total packed size of the session policies and + * session tags combined was too large. An Amazon Web Services conversion compresses the session policy + * document, session policy ARNs, and session tags into a packed binary format that has a + * separate limit. The error message indicates by percentage how close the policies and + * tags are to the upper size limit. For more information, see Passing Session Tags in STS in + * the IAM User Guide.

+ *

You could receive this error even though you meet other defined session policy and + * session tag limits. For more information, see IAM and STS Entity Character Limits in the IAM User + * Guide.

+ * + * @throws {@link RegionDisabledException} (client fault) + *

STS is not activated in the requested region for the account that is being asked to + * generate credentials. The account administrator must use the IAM console to activate + * STS in that region. For more information, see Activating and Deactivating STS in an Amazon Web Services Region in the IAM + * User Guide.

+ * + * @throws {@link STSServiceException} + *

Base exception class for all service exceptions from STS service.

+ * + * + * @example To assume a role + * ```javascript + * // + * const input = { + * ExternalId: "123ABC", + * Policy: "escaped-JSON-IAM-POLICY", + * RoleArn: "arn:aws:iam::123456789012:role/demo", + * RoleSessionName: "testAssumeRoleSession", + * Tags: [ + * { + * Key: "Project", + * Value: "Unicorn" + * }, + * { + * Key: "Team", + * Value: "Automation" + * }, + * { + * Key: "Cost-Center", + * Value: "12345" + * } + * ], + * TransitiveTagKeys: [ + * "Project", + * "Cost-Center" + * ] + * }; + * const command = new AssumeRoleCommand(input); + * const response = await client.send(command); + * /* response is + * { + * AssumedRoleUser: { + * Arn: "arn:aws:sts::123456789012:assumed-role/demo/Bob", + * AssumedRoleId: "ARO123EXAMPLE123:Bob" + * }, + * Credentials: { + * AccessKeyId: "AKIAIOSFODNN7EXAMPLE", + * Expiration: "2011-07-15T23:28:33.359Z", + * SecretAccessKey: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY", + * SessionToken: "AQoDYXdzEPT//////////wEXAMPLEtc764bNrC9SAPBSM22wDOk4x4HIZ8j4FZTwdQWLWsKWHGBuFqwAeMicRXmxfpSPfIeoIYRqTflfKD8YUuwthAx7mSEI/qkPpKPi/kMcGdQrmGdeehM4IC1NtBmUpp2wUE8phUZampKsburEDy0KPkyQDYwT7WZ0wq5VSXDvp75YU9HFvlRd8Tx6q6fE8YQcHNVXAkiY9q6d+xo0rKwT38xVqr7ZD0u0iPPkUL64lIZbqBAz+scqKmlzm8FDrypNC9Yjc8fPOLn9FX9KSYvKTr4rvx3iSIlTJabIQwj2ICCR/oLxBA==" + * }, + * PackedPolicySize: 8 + * } + * *\/ + * ``` + * + * @public + */ +export declare class AssumeRoleCommand extends AssumeRoleCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: AssumeRoleRequest; + output: AssumeRoleResponse; + }; + sdk: { + input: AssumeRoleCommandInput; + output: AssumeRoleCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts new file mode 100644 index 0000000..d590715 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts @@ -0,0 +1,290 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import type { AssumeRoleWithWebIdentityRequest, AssumeRoleWithWebIdentityResponse } from "../models/models_0"; +import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient"; +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link AssumeRoleWithWebIdentityCommand}. + */ +export interface AssumeRoleWithWebIdentityCommandInput extends AssumeRoleWithWebIdentityRequest { +} +/** + * @public + * + * The output of {@link AssumeRoleWithWebIdentityCommand}. + */ +export interface AssumeRoleWithWebIdentityCommandOutput extends AssumeRoleWithWebIdentityResponse, __MetadataBearer { +} +declare const AssumeRoleWithWebIdentityCommand_base: { + new (input: AssumeRoleWithWebIdentityCommandInput): import("@smithy/smithy-client").CommandImpl; + new (input: AssumeRoleWithWebIdentityCommandInput): import("@smithy/smithy-client").CommandImpl; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +/** + *

Returns a set of temporary security credentials for users who have been authenticated in + * a mobile or web application with a web identity provider. Example providers include the + * OAuth 2.0 providers Login with Amazon and Facebook, or any OpenID Connect-compatible + * identity provider such as Google or Amazon Cognito federated identities.

+ * + *

For mobile applications, we recommend that you use Amazon Cognito. You can use Amazon Cognito with the + * Amazon Web Services SDK for iOS Developer Guide and the Amazon Web Services SDK for Android Developer Guide to uniquely + * identify a user. You can also supply the user with a consistent identity throughout the + * lifetime of an application.

+ *

To learn more about Amazon Cognito, see Amazon Cognito identity + * pools in Amazon Cognito Developer Guide.

+ *
+ *

Calling AssumeRoleWithWebIdentity does not require the use of Amazon Web Services + * security credentials. Therefore, you can distribute an application (for example, on mobile + * devices) that requests temporary security credentials without including long-term Amazon Web Services + * credentials in the application. You also don't need to deploy server-based proxy services + * that use long-term Amazon Web Services credentials. Instead, the identity of the caller is validated by + * using a token from the web identity provider. For a comparison of + * AssumeRoleWithWebIdentity with the other API operations that produce + * temporary credentials, see Requesting Temporary Security + * Credentials and Compare STS + * credentials in the IAM User Guide.

+ *

The temporary security credentials returned by this API consist of an access key ID, a + * secret access key, and a security token. Applications can use these temporary security + * credentials to sign calls to Amazon Web Services service API operations.

+ *

+ * Session Duration + *

+ *

By default, the temporary security credentials created by + * AssumeRoleWithWebIdentity last for one hour. However, you can use the + * optional DurationSeconds parameter to specify the duration of your session. + * You can provide a value from 900 seconds (15 minutes) up to the maximum session duration + * setting for the role. This setting can have a value from 1 hour to 12 hours. To learn how + * to view the maximum value for your role, see Update the maximum session duration for a role in the + * IAM User Guide. The maximum session duration limit applies when + * you use the AssumeRole* API operations or the assume-role* CLI + * commands. However the limit does not apply when you use those operations to create a + * console URL. For more information, see Using IAM Roles in the + * IAM User Guide.

+ *

+ * Permissions + *

+ *

The temporary security credentials created by AssumeRoleWithWebIdentity can + * be used to make API calls to any Amazon Web Services service with the following exception: you cannot + * call the STS GetFederationToken or GetSessionToken API + * operations.

+ *

(Optional) You can pass inline or managed session policies to + * this operation. You can pass a single JSON policy document to use as an inline session + * policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as + * managed session policies. The plaintext that you use for both inline and managed session + * policies can't exceed 2,048 characters. Passing policies to this operation returns new + * temporary credentials. The resulting session's permissions are the intersection of the + * role's identity-based policy and the session policies. You can use the role's temporary + * credentials in subsequent Amazon Web Services API calls to access resources in the account that owns + * the role. You cannot use session policies to grant more permissions than those allowed + * by the identity-based policy of the role that is being assumed. For more information, see + * Session + * Policies in the IAM User Guide.

+ *

+ * Tags + *

+ *

(Optional) You can configure your IdP to pass attributes into your web identity token as + * session tags. Each session tag consists of a key name and an associated value. For more + * information about session tags, see Passing + * session tags using AssumeRoleWithWebIdentity in the + * IAM User Guide.

+ *

You can pass up to 50 session tags. The plaintext session tag keys can’t exceed 128 + * characters and the values can’t exceed 256 characters. For these and additional limits, see + * IAM + * and STS Character Limits in the IAM User Guide.

+ * + *

An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs, + * and session tags into a packed binary format that has a separate limit. Your request can + * fail for this limit even if your plaintext meets the other requirements. The + * PackedPolicySize response element indicates by percentage how close the + * policies and tags for your request are to the upper size limit.

+ *
+ *

You can pass a session tag with the same key as a tag that is attached to the role. When + * you do, the session tag overrides the role tag with the same key.

+ *

An administrator must grant you the permissions necessary to pass session tags. The + * administrator can also create granular permissions to allow you to pass only specific + * session tags. For more information, see Tutorial: Using Tags + * for Attribute-Based Access Control in the + * IAM User Guide.

+ *

You can set the session tags as transitive. Transitive tags persist during role + * chaining. For more information, see Chaining Roles + * with Session Tags in the IAM User Guide.

+ *

+ * Identities + *

+ *

Before your application can call AssumeRoleWithWebIdentity, you must have + * an identity token from a supported identity provider and create a role that the application + * can assume. The role that your application assumes must trust the identity provider that is + * associated with the identity token. In other words, the identity provider must be specified + * in the role's trust policy.

+ * + *

Calling AssumeRoleWithWebIdentity can result in an entry in your + * CloudTrail logs. The entry includes the Subject of + * the provided web identity token. We recommend that you avoid using any personally + * identifiable information (PII) in this field. For example, you could instead use a GUID + * or a pairwise identifier, as suggested + * in the OIDC specification.

+ *
+ *

For more information about how to use OIDC federation and the + * AssumeRoleWithWebIdentity API, see the following resources:

+ * + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { STSClient, AssumeRoleWithWebIdentityCommand } from "@aws-sdk/client-sts"; // ES Modules import + * // const { STSClient, AssumeRoleWithWebIdentityCommand } = require("@aws-sdk/client-sts"); // CommonJS import + * // import type { STSClientConfig } from "@aws-sdk/client-sts"; + * const config = {}; // type is STSClientConfig + * const client = new STSClient(config); + * const input = { // AssumeRoleWithWebIdentityRequest + * RoleArn: "STRING_VALUE", // required + * RoleSessionName: "STRING_VALUE", // required + * WebIdentityToken: "STRING_VALUE", // required + * ProviderId: "STRING_VALUE", + * PolicyArns: [ // policyDescriptorListType + * { // PolicyDescriptorType + * arn: "STRING_VALUE", + * }, + * ], + * Policy: "STRING_VALUE", + * DurationSeconds: Number("int"), + * }; + * const command = new AssumeRoleWithWebIdentityCommand(input); + * const response = await client.send(command); + * // { // AssumeRoleWithWebIdentityResponse + * // Credentials: { // Credentials + * // AccessKeyId: "STRING_VALUE", // required + * // SecretAccessKey: "STRING_VALUE", // required + * // SessionToken: "STRING_VALUE", // required + * // Expiration: new Date("TIMESTAMP"), // required + * // }, + * // SubjectFromWebIdentityToken: "STRING_VALUE", + * // AssumedRoleUser: { // AssumedRoleUser + * // AssumedRoleId: "STRING_VALUE", // required + * // Arn: "STRING_VALUE", // required + * // }, + * // PackedPolicySize: Number("int"), + * // Provider: "STRING_VALUE", + * // Audience: "STRING_VALUE", + * // SourceIdentity: "STRING_VALUE", + * // }; + * + * ``` + * + * @param AssumeRoleWithWebIdentityCommandInput - {@link AssumeRoleWithWebIdentityCommandInput} + * @returns {@link AssumeRoleWithWebIdentityCommandOutput} + * @see {@link AssumeRoleWithWebIdentityCommandInput} for command's `input` shape. + * @see {@link AssumeRoleWithWebIdentityCommandOutput} for command's `response` shape. + * @see {@link STSClientResolvedConfig | config} for STSClient's `config` shape. + * + * @throws {@link ExpiredTokenException} (client fault) + *

The web identity token that was passed is expired or is not valid. Get a new identity + * token from the identity provider and then retry the request.

+ * + * @throws {@link IDPCommunicationErrorException} (client fault) + *

The request could not be fulfilled because the identity provider (IDP) that was asked + * to verify the incoming identity token could not be reached. This is often a transient + * error caused by network conditions. Retry the request a limited number of times so that + * you don't exceed the request rate. If the error persists, the identity provider might be + * down or not responding.

+ * + * @throws {@link IDPRejectedClaimException} (client fault) + *

The identity provider (IdP) reported that authentication failed. This might be because + * the claim is invalid.

+ *

If this error is returned for the AssumeRoleWithWebIdentity operation, it + * can also mean that the claim has expired or has been explicitly revoked.

+ * + * @throws {@link InvalidIdentityTokenException} (client fault) + *

The web identity token that was passed could not be validated by Amazon Web Services. Get a new + * identity token from the identity provider and then retry the request.

+ * + * @throws {@link MalformedPolicyDocumentException} (client fault) + *

The request was rejected because the policy document was malformed. The error message + * describes the specific error.

+ * + * @throws {@link PackedPolicyTooLargeException} (client fault) + *

The request was rejected because the total packed size of the session policies and + * session tags combined was too large. An Amazon Web Services conversion compresses the session policy + * document, session policy ARNs, and session tags into a packed binary format that has a + * separate limit. The error message indicates by percentage how close the policies and + * tags are to the upper size limit. For more information, see Passing Session Tags in STS in + * the IAM User Guide.

+ *

You could receive this error even though you meet other defined session policy and + * session tag limits. For more information, see IAM and STS Entity Character Limits in the IAM User + * Guide.

+ * + * @throws {@link RegionDisabledException} (client fault) + *

STS is not activated in the requested region for the account that is being asked to + * generate credentials. The account administrator must use the IAM console to activate + * STS in that region. For more information, see Activating and Deactivating STS in an Amazon Web Services Region in the IAM + * User Guide.

+ * + * @throws {@link STSServiceException} + *

Base exception class for all service exceptions from STS service.

+ * + * + * @example To assume a role as an OpenID Connect-federated user + * ```javascript + * // + * const input = { + * DurationSeconds: 3600, + * Policy: "escaped-JSON-IAM-POLICY", + * ProviderId: "www.amazon.com", + * RoleArn: "arn:aws:iam::123456789012:role/FederatedWebIdentityRole", + * RoleSessionName: "app1", + * WebIdentityToken: "Atza%7CIQEBLjAsAhRFiXuWpUXuRvQ9PZL3GMFcYevydwIUFAHZwXZXXXXXXXXJnrulxKDHwy87oGKPznh0D6bEQZTSCzyoCtL_8S07pLpr0zMbn6w1lfVZKNTBdDansFBmtGnIsIapjI6xKR02Yc_2bQ8LZbUXSGm6Ry6_BG7PrtLZtj_dfCTj92xNGed-CrKqjG7nPBjNIL016GGvuS5gSvPRUxWES3VYfm1wl7WTI7jn-Pcb6M-buCgHhFOzTQxod27L9CqnOLio7N3gZAGpsp6n1-AJBOCJckcyXe2c6uD0srOJeZlKUm2eTDVMf8IehDVI0r1QOnTV6KzzAI3OY87Vd_cVMQ" + * }; + * const command = new AssumeRoleWithWebIdentityCommand(input); + * const response = await client.send(command); + * /* response is + * { + * AssumedRoleUser: { + * Arn: "arn:aws:sts::123456789012:assumed-role/FederatedWebIdentityRole/app1", + * AssumedRoleId: "AROACLKWSDQRAOEXAMPLE:app1" + * }, + * Audience: "client.5498841531868486423.1548@apps.example.com", + * Credentials: { + * AccessKeyId: "AKIAIOSFODNN7EXAMPLE", + * Expiration: "2014-10-24T23:00:23Z", + * SecretAccessKey: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY", + * SessionToken: "AQoDYXdzEE0a8ANXXXXXXXXNO1ewxE5TijQyp+IEXAMPLE" + * }, + * PackedPolicySize: 123, + * Provider: "www.amazon.com", + * SubjectFromWebIdentityToken: "amzn1.account.AF6RHO7KZU5XRVQJGXK6HEXAMPLE" + * } + * *\/ + * ``` + * + * @public + */ +export declare class AssumeRoleWithWebIdentityCommand extends AssumeRoleWithWebIdentityCommand_base { + /** @internal type navigation helper, not in runtime. */ + protected static __types: { + api: { + input: AssumeRoleWithWebIdentityRequest; + output: AssumeRoleWithWebIdentityResponse; + }; + sdk: { + input: AssumeRoleWithWebIdentityCommandInput; + output: AssumeRoleWithWebIdentityCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/index.d.ts new file mode 100644 index 0000000..0f200f5 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/index.d.ts @@ -0,0 +1,2 @@ +export * from "./AssumeRoleCommand"; +export * from "./AssumeRoleWithWebIdentityCommand"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultRoleAssumers.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultRoleAssumers.d.ts new file mode 100644 index 0000000..ba9e542 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultRoleAssumers.d.ts @@ -0,0 +1,23 @@ +import type { Pluggable } from "@smithy/types"; +import type { DefaultCredentialProvider, RoleAssumer, RoleAssumerWithWebIdentity, STSRoleAssumerOptions } from "./defaultStsRoleAssumers"; +import type { ServiceInputTypes, ServiceOutputTypes } from "./STSClient"; +/** + * The default role assumer that used by credential providers when sts:AssumeRole API is needed. + */ +export declare const getDefaultRoleAssumer: (stsOptions?: STSRoleAssumerOptions, stsPlugins?: Pluggable[]) => RoleAssumer; +/** + * The default role assumer that used by credential providers when sts:AssumeRoleWithWebIdentity API is needed. + */ +export declare const getDefaultRoleAssumerWithWebIdentity: (stsOptions?: STSRoleAssumerOptions, stsPlugins?: Pluggable[]) => RoleAssumerWithWebIdentity; +/** + * The default credential providers depend STS client to assume role with desired API: sts:assumeRole, + * sts:assumeRoleWithWebIdentity, etc. This function decorates the default credential provider with role assumers which + * encapsulates the process of calling STS commands. This can only be imported by AWS client packages to avoid circular + * dependencies. + * + * @internal + * + * @deprecated this is no longer needed. Use the defaultProvider directly, + * which will load STS if needed. + */ +export declare const decorateDefaultCredentialProvider: (provider: DefaultCredentialProvider) => DefaultCredentialProvider; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts new file mode 100644 index 0000000..7833b21 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts @@ -0,0 +1,43 @@ +import type { CredentialProviderOptions } from "@aws-sdk/types"; +import type { AwsCredentialIdentity, Logger, Provider } from "@smithy/types"; +import type { AssumeRoleCommandInput } from "./commands/AssumeRoleCommand"; +import type { AssumeRoleWithWebIdentityCommandInput } from "./commands/AssumeRoleWithWebIdentityCommand"; +import type { STSClient, STSClientConfig } from "./STSClient"; +/** + * @public + */ +export type STSRoleAssumerOptions = Pick & { + credentialProviderLogger?: Logger; + parentClientConfig?: CredentialProviderOptions["parentClientConfig"]; +}; +/** + * @internal + */ +export type RoleAssumer = (sourceCreds: AwsCredentialIdentity, params: AssumeRoleCommandInput) => Promise; +/** + * The default role assumer that used by credential providers when sts:AssumeRole API is needed. + * @internal + */ +export declare const getDefaultRoleAssumer: (stsOptions: STSRoleAssumerOptions, STSClient: new (options: STSClientConfig) => STSClient) => RoleAssumer; +/** + * @internal + */ +export type RoleAssumerWithWebIdentity = (params: AssumeRoleWithWebIdentityCommandInput) => Promise; +/** + * The default role assumer that used by credential providers when sts:AssumeRoleWithWebIdentity API is needed. + * @internal + */ +export declare const getDefaultRoleAssumerWithWebIdentity: (stsOptions: STSRoleAssumerOptions, STSClient: new (options: STSClientConfig) => STSClient) => RoleAssumerWithWebIdentity; +/** + * @internal + */ +export type DefaultCredentialProvider = (input: any) => Provider; +/** + * The default credential providers depend STS client to assume role with desired API: sts:assumeRole, + * sts:assumeRoleWithWebIdentity, etc. This function decorates the default credential provider with role assumers which + * encapsulates the process of calling STS commands. This can only be imported by AWS client packages to avoid circular + * dependencies. + * + * @internal + */ +export declare const decorateDefaultCredentialProvider: (provider: DefaultCredentialProvider) => DefaultCredentialProvider; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/EndpointParameters.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/EndpointParameters.d.ts new file mode 100644 index 0000000..ca93660 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/EndpointParameters.d.ts @@ -0,0 +1,56 @@ +import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types"; +/** + * @public + */ +export interface ClientInputEndpointParameters { + region?: string | undefined | Provider; + useDualstackEndpoint?: boolean | undefined | Provider; + useFipsEndpoint?: boolean | undefined | Provider; + endpoint?: string | Provider | Endpoint | Provider | EndpointV2 | Provider; + useGlobalEndpoint?: boolean | undefined | Provider; +} +/** + * @public + */ +export type ClientResolvedEndpointParameters = Omit & { + defaultSigningName: string; +}; +/** + * @internal + */ +export declare const resolveClientEndpointParameters: (options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters; +/** + * @internal + */ +export declare const commonParams: { + readonly UseGlobalEndpoint: { + readonly type: "builtInParams"; + readonly name: "useGlobalEndpoint"; + }; + readonly UseFIPS: { + readonly type: "builtInParams"; + readonly name: "useFipsEndpoint"; + }; + readonly Endpoint: { + readonly type: "builtInParams"; + readonly name: "endpoint"; + }; + readonly Region: { + readonly type: "builtInParams"; + readonly name: "region"; + }; + readonly UseDualStack: { + readonly type: "builtInParams"; + readonly name: "useDualstackEndpoint"; + }; +}; +/** + * @internal + */ +export interface EndpointParameters extends __EndpointParameters { + Region?: string | undefined; + UseDualStack?: boolean | undefined; + UseFIPS?: boolean | undefined; + Endpoint?: string | undefined; + UseGlobalEndpoint?: boolean | undefined; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/endpointResolver.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/endpointResolver.d.ts new file mode 100644 index 0000000..c1de67d --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/endpointResolver.d.ts @@ -0,0 +1,8 @@ +import type { EndpointV2, Logger } from "@smithy/types"; +import type { EndpointParameters } from "./EndpointParameters"; +/** + * @internal + */ +export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: { + logger?: Logger; +}) => EndpointV2; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts new file mode 100644 index 0000000..4dda20a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts @@ -0,0 +1,2 @@ +import type { RuleSetObject } from "@smithy/types"; +export declare const ruleSet: RuleSetObject; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/extensionConfiguration.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/extensionConfiguration.d.ts new file mode 100644 index 0000000..f80c369 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/extensionConfiguration.d.ts @@ -0,0 +1,9 @@ +import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; +import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; +import type { DefaultExtensionConfiguration } from "@smithy/types"; +import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; +/** + * @internal + */ +export interface STSExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration { +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts new file mode 100644 index 0000000..2f9af6e --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts @@ -0,0 +1,19 @@ +/** + * Security Token Service + *

Security Token Service (STS) enables you to request temporary, limited-privilege + * credentials for users. This guide provides descriptions of the STS API. For + * more information about using this service, see Temporary Security Credentials.

+ * + * @packageDocumentation + */ +export * from "./STSClient"; +export * from "./STS"; +export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; +export type { RuntimeExtension } from "./runtimeExtensions"; +export type { STSExtensionConfiguration } from "./extensionConfiguration"; +export * from "./commands"; +export * from "./schemas/schemas_0"; +export * from "./models/errors"; +export * from "./models/models_0"; +export * from "./defaultRoleAssumers"; +export { STSServiceException } from "./models/STSServiceException"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/STSServiceException.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/STSServiceException.d.ts new file mode 100644 index 0000000..de90dfa --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/STSServiceException.d.ts @@ -0,0 +1,14 @@ +import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client"; +export type { __ServiceExceptionOptions }; +export { __ServiceException }; +/** + * @public + * + * Base exception class for all service exceptions from STS service. + */ +export declare class STSServiceException extends __ServiceException { + /** + * @internal + */ + constructor(options: __ServiceExceptionOptions); +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts new file mode 100644 index 0000000..e1f8613 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts @@ -0,0 +1,107 @@ +import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; +import { STSServiceException as __BaseException } from "./STSServiceException"; +/** + *

The web identity token that was passed is expired or is not valid. Get a new identity + * token from the identity provider and then retry the request.

+ * @public + */ +export declare class ExpiredTokenException extends __BaseException { + readonly name: "ExpiredTokenException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

The request was rejected because the policy document was malformed. The error message + * describes the specific error.

+ * @public + */ +export declare class MalformedPolicyDocumentException extends __BaseException { + readonly name: "MalformedPolicyDocumentException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

The request was rejected because the total packed size of the session policies and + * session tags combined was too large. An Amazon Web Services conversion compresses the session policy + * document, session policy ARNs, and session tags into a packed binary format that has a + * separate limit. The error message indicates by percentage how close the policies and + * tags are to the upper size limit. For more information, see Passing Session Tags in STS in + * the IAM User Guide.

+ *

You could receive this error even though you meet other defined session policy and + * session tag limits. For more information, see IAM and STS Entity Character Limits in the IAM User + * Guide.

+ * @public + */ +export declare class PackedPolicyTooLargeException extends __BaseException { + readonly name: "PackedPolicyTooLargeException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

STS is not activated in the requested region for the account that is being asked to + * generate credentials. The account administrator must use the IAM console to activate + * STS in that region. For more information, see Activating and Deactivating STS in an Amazon Web Services Region in the IAM + * User Guide.

+ * @public + */ +export declare class RegionDisabledException extends __BaseException { + readonly name: "RegionDisabledException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

The identity provider (IdP) reported that authentication failed. This might be because + * the claim is invalid.

+ *

If this error is returned for the AssumeRoleWithWebIdentity operation, it + * can also mean that the claim has expired or has been explicitly revoked.

+ * @public + */ +export declare class IDPRejectedClaimException extends __BaseException { + readonly name: "IDPRejectedClaimException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

The web identity token that was passed could not be validated by Amazon Web Services. Get a new + * identity token from the identity provider and then retry the request.

+ * @public + */ +export declare class InvalidIdentityTokenException extends __BaseException { + readonly name: "InvalidIdentityTokenException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + *

The request could not be fulfilled because the identity provider (IDP) that was asked + * to verify the incoming identity token could not be reached. This is often a transient + * error caused by network conditions. Retry the request a limited number of times so that + * you don't exceed the request rate. If the error persists, the identity provider might be + * down or not responding.

+ * @public + */ +export declare class IDPCommunicationErrorException extends __BaseException { + readonly name: "IDPCommunicationErrorException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts new file mode 100644 index 0000000..2ee8377 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts @@ -0,0 +1,588 @@ +/** + *

The identifiers for the temporary security credentials that the operation + * returns.

+ * @public + */ +export interface AssumedRoleUser { + /** + *

A unique identifier that contains the role ID and the role session name of the role that + * is being assumed. The role ID is generated by Amazon Web Services when the role is created.

+ * @public + */ + AssumedRoleId: string | undefined; + /** + *

The ARN of the temporary security credentials that are returned from the AssumeRole action. For more information about ARNs and how to use them in + * policies, see IAM Identifiers in the + * IAM User Guide.

+ * @public + */ + Arn: string | undefined; +} +/** + *

A reference to the IAM managed policy that is passed as a session policy for a role + * session or a federated user session.

+ * @public + */ +export interface PolicyDescriptorType { + /** + *

The Amazon Resource Name (ARN) of the IAM managed policy to use as a session policy + * for the role. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services + * Service Namespaces in the Amazon Web Services General Reference.

+ * @public + */ + arn?: string | undefined; +} +/** + *

Contains information about the provided context. This includes the signed and encrypted + * trusted context assertion and the context provider ARN from which the trusted context + * assertion was generated.

+ * @public + */ +export interface ProvidedContext { + /** + *

The context provider ARN from which the trusted context assertion was generated.

+ * @public + */ + ProviderArn?: string | undefined; + /** + *

The signed and encrypted trusted context assertion generated by the context provider. + * The trusted context assertion is signed and encrypted by Amazon Web Services STS.

+ * @public + */ + ContextAssertion?: string | undefined; +} +/** + *

You can pass custom key-value pair attributes when you assume a role or federate a user. + * These are called session tags. You can then use the session tags to control access to + * resources. For more information, see Tagging Amazon Web Services STS Sessions in the + * IAM User Guide.

+ * @public + */ +export interface Tag { + /** + *

The key for a session tag.

+ *

You can pass up to 50 session tags. The plain text session tag keys can’t exceed 128 + * characters. For these and additional limits, see IAM + * and STS Character Limits in the IAM User Guide.

+ * @public + */ + Key: string | undefined; + /** + *

The value for a session tag.

+ *

You can pass up to 50 session tags. The plain text session tag values can’t exceed 256 + * characters. For these and additional limits, see IAM + * and STS Character Limits in the IAM User Guide.

+ * @public + */ + Value: string | undefined; +} +/** + * @public + */ +export interface AssumeRoleRequest { + /** + *

The Amazon Resource Name (ARN) of the role to assume.

+ * @public + */ + RoleArn: string | undefined; + /** + *

An identifier for the assumed role session.

+ *

Use the role session name to uniquely identify a session when the same role is assumed + * by different principals or for different reasons. In cross-account scenarios, the role + * session name is visible to, and can be logged by the account that owns the role. The role + * session name is also used in the ARN of the assumed role principal. This means that + * subsequent cross-account API requests that use the temporary security credentials will + * expose the role session name to the external account in their CloudTrail logs.

+ *

For security purposes, administrators can view this field in CloudTrail logs to help identify who performed an action in Amazon Web Services. Your + * administrator might require that you specify your user name as the session name when you + * assume the role. For more information, see + * sts:RoleSessionName + * .

+ *

The regex used to validate this parameter is a string of + * characters consisting of upper- and lower-case alphanumeric characters with no spaces. + * You can also include underscores or any of the following characters: +=,.@-

+ * @public + */ + RoleSessionName: string | undefined; + /** + *

The Amazon Resource Names (ARNs) of the IAM managed policies that you want to use as + * managed session policies. The policies must exist in the same account as the role.

+ *

This parameter is optional. You can provide up to 10 managed policy ARNs. However, the + * plaintext that you use for both inline and managed session policies can't exceed 2,048 + * characters. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services + * Service Namespaces in the Amazon Web Services General Reference.

+ * + *

An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs, + * and session tags into a packed binary format that has a separate limit. Your request can + * fail for this limit even if your plaintext meets the other requirements. The + * PackedPolicySize response element indicates by percentage how close the + * policies and tags for your request are to the upper size limit.

+ *
+ *

Passing policies to this operation returns new + * temporary credentials. The resulting session's permissions are the intersection of the + * role's identity-based policy and the session policies. You can use the role's temporary + * credentials in subsequent Amazon Web Services API calls to access resources in the account that owns + * the role. You cannot use session policies to grant more permissions than those allowed + * by the identity-based policy of the role that is being assumed. For more information, see + * Session + * Policies in the IAM User Guide.

+ * @public + */ + PolicyArns?: PolicyDescriptorType[] | undefined; + /** + *

An IAM policy in JSON format that you want to use as an inline session policy.

+ *

This parameter is optional. Passing policies to this operation returns new + * temporary credentials. The resulting session's permissions are the intersection of the + * role's identity-based policy and the session policies. You can use the role's temporary + * credentials in subsequent Amazon Web Services API calls to access resources in the account that owns + * the role. You cannot use session policies to grant more permissions than those allowed + * by the identity-based policy of the role that is being assumed. For more information, see + * Session + * Policies in the IAM User Guide.

+ *

The plaintext that you use for both inline and managed session policies can't exceed + * 2,048 characters. The JSON policy characters can be any ASCII character from the space + * character to the end of the valid character list (\u0020 through \u00FF). It can also + * include the tab (\u0009), linefeed (\u000A), and carriage return (\u000D) + * characters.

+ * + *

An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs, + * and session tags into a packed binary format that has a separate limit. Your request can + * fail for this limit even if your plaintext meets the other requirements. The + * PackedPolicySize response element indicates by percentage how close the + * policies and tags for your request are to the upper size limit.

+ *
+ *

For more information about role session permissions, see Session + * policies.

+ * @public + */ + Policy?: string | undefined; + /** + *

The duration, in seconds, of the role session. The value specified can range from 900 + * seconds (15 minutes) up to the maximum session duration set for the role. The maximum + * session duration setting can have a value from 1 hour to 12 hours. If you specify a value + * higher than this setting or the administrator setting (whichever is lower), the operation + * fails. For example, if you specify a session duration of 12 hours, but your administrator + * set the maximum session duration to 6 hours, your operation fails.

+ *

Role chaining limits your Amazon Web Services CLI or Amazon Web Services API role session to a maximum of one hour. + * When you use the AssumeRole API operation to assume a role, you can specify + * the duration of your role session with the DurationSeconds parameter. You can + * specify a parameter value of up to 43200 seconds (12 hours), depending on the maximum + * session duration setting for your role. However, if you assume a role using role chaining + * and provide a DurationSeconds parameter value greater than one hour, the + * operation fails. To learn how to view the maximum value for your role, see Update the maximum session duration for a role.

+ *

By default, the value is set to 3600 seconds.

+ * + *

The DurationSeconds parameter is separate from the duration of a console + * session that you might request using the returned credentials. The request to the + * federation endpoint for a console sign-in token takes a SessionDuration + * parameter that specifies the maximum length of the console session. For more + * information, see Creating a URL + * that Enables Federated Users to Access the Amazon Web Services Management Console in the + * IAM User Guide.

+ *
+ * @public + */ + DurationSeconds?: number | undefined; + /** + *

A list of session tags that you want to pass. Each session tag consists of a key name + * and an associated value. For more information about session tags, see Tagging Amazon Web Services STS + * Sessions in the IAM User Guide.

+ *

This parameter is optional. You can pass up to 50 session tags. The plaintext session + * tag keys can’t exceed 128 characters, and the values can’t exceed 256 characters. For these + * and additional limits, see IAM + * and STS Character Limits in the IAM User Guide.

+ * + *

An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs, + * and session tags into a packed binary format that has a separate limit. Your request can + * fail for this limit even if your plaintext meets the other requirements. The + * PackedPolicySize response element indicates by percentage how close the + * policies and tags for your request are to the upper size limit.

+ *
+ *

You can pass a session tag with the same key as a tag that is already attached to the + * role. When you do, session tags override a role tag with the same key.

+ *

Tag key–value pairs are not case sensitive, but case is preserved. This means that you + * cannot have separate Department and department tag keys. Assume + * that the role has the Department=Marketing tag and you pass the + * department=engineering session tag. Department + * and department are not saved as separate tags, and the session tag passed in + * the request takes precedence over the role tag.

+ *

Additionally, if you used temporary credentials to perform this operation, the new + * session inherits any transitive session tags from the calling session. If you pass a + * session tag with the same key as an inherited tag, the operation fails. To view the + * inherited tags for a session, see the CloudTrail logs. For more information, see Viewing Session Tags in CloudTrail in the + * IAM User Guide.

+ * @public + */ + Tags?: Tag[] | undefined; + /** + *

A list of keys for session tags that you want to set as transitive. If you set a tag key + * as transitive, the corresponding key and value passes to subsequent sessions in a role + * chain. For more information, see Chaining Roles + * with Session Tags in the IAM User Guide.

+ *

This parameter is optional. The transitive status of a session tag does not impact its + * packed binary size.

+ *

If you choose not to specify a transitive tag key, then no tags are passed from this + * session to any subsequent sessions.

+ * @public + */ + TransitiveTagKeys?: string[] | undefined; + /** + *

A unique identifier that might be required when you assume a role in another account. If + * the administrator of the account to which the role belongs provided you with an external + * ID, then provide that value in the ExternalId parameter. This value can be any + * string, such as a passphrase or account number. A cross-account role is usually set up to + * trust everyone in an account. Therefore, the administrator of the trusting account might + * send an external ID to the administrator of the trusted account. That way, only someone + * with the ID can assume the role, rather than everyone in the account. For more information + * about the external ID, see How to Use an External ID + * When Granting Access to Your Amazon Web Services Resources to a Third Party in the + * IAM User Guide.

+ *

The regex used to validate this parameter is a string of + * characters consisting of upper- and lower-case alphanumeric characters with no spaces. + * You can also include underscores or any of the following characters: +=,.@:\/-

+ * @public + */ + ExternalId?: string | undefined; + /** + *

The identification number of the MFA device that is associated with the user who is + * making the AssumeRole call. Specify this value if the trust policy of the role + * being assumed includes a condition that requires MFA authentication. The value is either + * the serial number for a hardware device (such as GAHT12345678) or an Amazon + * Resource Name (ARN) for a virtual device (such as + * arn:aws:iam::123456789012:mfa/user).

+ *

The regex used to validate this parameter is a string of + * characters consisting of upper- and lower-case alphanumeric characters with no spaces. + * You can also include underscores or any of the following characters: +=/:,.@-

+ * @public + */ + SerialNumber?: string | undefined; + /** + *

The value provided by the MFA device, if the trust policy of the role being assumed + * requires MFA. (In other words, if the policy includes a condition that tests for MFA). If + * the role being assumed requires MFA and if the TokenCode value is missing or + * expired, the AssumeRole call returns an "access denied" error.

+ *

The format for this parameter, as described by its regex pattern, is a sequence of six + * numeric digits.

+ * @public + */ + TokenCode?: string | undefined; + /** + *

The source identity specified by the principal that is calling the + * AssumeRole operation. The source identity value persists across chained role sessions.

+ *

You can require users to specify a source identity when they assume a role. You do this + * by using the + * sts:SourceIdentity + * condition key in a role trust policy. You + * can use source identity information in CloudTrail logs to determine who took actions with a + * role. You can use the aws:SourceIdentity condition key to further control + * access to Amazon Web Services resources based on the value of source identity. For more information about + * using source identity, see Monitor and control + * actions taken with assumed roles in the + * IAM User Guide.

+ *

The regex used to validate this parameter is a string of characters consisting of upper- + * and lower-case alphanumeric characters with no spaces. You can also include underscores or + * any of the following characters: +=,.@-. You cannot use a value that begins with the text + * aws:. This prefix is reserved for Amazon Web Services internal use.

+ * @public + */ + SourceIdentity?: string | undefined; + /** + *

A list of previously acquired trusted context assertions in the format of a JSON array. + * The trusted context assertion is signed and encrypted by Amazon Web Services STS.

+ *

The following is an example of a ProvidedContext value that includes a + * single trusted context assertion and the ARN of the context provider from which the trusted + * context assertion was generated.

+ *

+ * [\{"ProviderArn":"arn:aws:iam::aws:contextProvider/IdentityCenter","ContextAssertion":"trusted-context-assertion"\}] + *

+ * @public + */ + ProvidedContexts?: ProvidedContext[] | undefined; +} +/** + *

Amazon Web Services credentials for API authentication.

+ * @public + */ +export interface Credentials { + /** + *

The access key ID that identifies the temporary security credentials.

+ * @public + */ + AccessKeyId: string | undefined; + /** + *

The secret access key that can be used to sign requests.

+ * @public + */ + SecretAccessKey: string | undefined; + /** + *

The token that users must pass to the service API to use the temporary + * credentials.

+ * @public + */ + SessionToken: string | undefined; + /** + *

The date on which the current credentials expire.

+ * @public + */ + Expiration: Date | undefined; +} +/** + *

Contains the response to a successful AssumeRole request, including + * temporary Amazon Web Services credentials that can be used to make Amazon Web Services requests.

+ * @public + */ +export interface AssumeRoleResponse { + /** + *

The temporary security credentials, which include an access key ID, a secret access key, + * and a security (or session) token.

+ * + *

The size of the security token that STS API operations return is not fixed. We + * strongly recommend that you make no assumptions about the maximum size.

+ *
+ * @public + */ + Credentials?: Credentials | undefined; + /** + *

The Amazon Resource Name (ARN) and the assumed role ID, which are identifiers that you + * can use to refer to the resulting temporary security credentials. For example, you can + * reference these credentials as a principal in a resource-based policy by using the ARN or + * assumed role ID. The ARN and ID include the RoleSessionName that you specified + * when you called AssumeRole.

+ * @public + */ + AssumedRoleUser?: AssumedRoleUser | undefined; + /** + *

A percentage value that indicates the packed size of the session policies and session + * tags combined passed in the request. The request fails if the packed size is greater than 100 percent, + * which means the policies and tags exceeded the allowed space.

+ * @public + */ + PackedPolicySize?: number | undefined; + /** + *

The source identity specified by the principal that is calling the + * AssumeRole operation.

+ *

You can require users to specify a source identity when they assume a role. You do this + * by using the sts:SourceIdentity condition key in a role trust policy. You can + * use source identity information in CloudTrail logs to determine who took actions with a role. + * You can use the aws:SourceIdentity condition key to further control access to + * Amazon Web Services resources based on the value of source identity. For more information about using + * source identity, see Monitor and control + * actions taken with assumed roles in the + * IAM User Guide.

+ *

The regex used to validate this parameter is a string of characters consisting of upper- + * and lower-case alphanumeric characters with no spaces. You can also include underscores or + * any of the following characters: =,.@-

+ * @public + */ + SourceIdentity?: string | undefined; +} +/** + * @public + */ +export interface AssumeRoleWithWebIdentityRequest { + /** + *

The Amazon Resource Name (ARN) of the role that the caller is assuming.

+ * + *

Additional considerations apply to Amazon Cognito identity pools that assume cross-account IAM roles. The trust policies of these roles must accept the + * cognito-identity.amazonaws.com service principal and must contain the + * cognito-identity.amazonaws.com:aud condition key to restrict role + * assumption to users from your intended identity pools. A policy that trusts Amazon Cognito + * identity pools without this condition creates a risk that a user from an unintended + * identity pool can assume the role. For more information, see Trust policies for + * IAM roles in Basic (Classic) authentication in the Amazon Cognito + * Developer Guide.

+ *
+ * @public + */ + RoleArn: string | undefined; + /** + *

An identifier for the assumed role session. Typically, you pass the name or identifier + * that is associated with the user who is using your application. That way, the temporary + * security credentials that your application will use are associated with that user. This + * session name is included as part of the ARN and assumed role ID in the + * AssumedRoleUser response element.

+ *

For security purposes, administrators can view this field in CloudTrail logs to help identify who performed an action in Amazon Web Services. Your + * administrator might require that you specify your user name as the session name when you + * assume the role. For more information, see + * sts:RoleSessionName + * .

+ *

The regex used to validate this parameter is a string of characters + * consisting of upper- and lower-case alphanumeric characters with no spaces. You can + * also include underscores or any of the following characters: =,.@-

+ * @public + */ + RoleSessionName: string | undefined; + /** + *

The OAuth 2.0 access token or OpenID Connect ID token that is provided by the identity + * provider. Your application must get this token by authenticating the user who is using your + * application with a web identity provider before the application makes an + * AssumeRoleWithWebIdentity call. Timestamps in the token must be formatted + * as either an integer or a long integer. Tokens must be signed using either RSA keys (RS256, + * RS384, or RS512) or ECDSA keys (ES256, ES384, or ES512).

+ * @public + */ + WebIdentityToken: string | undefined; + /** + *

The fully qualified host component of the domain name of the OAuth 2.0 identity + * provider. Do not specify this value for an OpenID Connect identity provider.

+ *

Currently www.amazon.com and graph.facebook.com are the only + * supported identity providers for OAuth 2.0 access tokens. Do not include URL schemes and + * port numbers.

+ *

Do not specify this value for OpenID Connect ID tokens.

+ * @public + */ + ProviderId?: string | undefined; + /** + *

The Amazon Resource Names (ARNs) of the IAM managed policies that you want to use as + * managed session policies. The policies must exist in the same account as the role.

+ *

This parameter is optional. You can provide up to 10 managed policy ARNs. However, the + * plaintext that you use for both inline and managed session policies can't exceed 2,048 + * characters. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services + * Service Namespaces in the Amazon Web Services General Reference.

+ * + *

An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs, + * and session tags into a packed binary format that has a separate limit. Your request can + * fail for this limit even if your plaintext meets the other requirements. The + * PackedPolicySize response element indicates by percentage how close the + * policies and tags for your request are to the upper size limit.

+ *
+ *

Passing policies to this operation returns new + * temporary credentials. The resulting session's permissions are the intersection of the + * role's identity-based policy and the session policies. You can use the role's temporary + * credentials in subsequent Amazon Web Services API calls to access resources in the account that owns + * the role. You cannot use session policies to grant more permissions than those allowed + * by the identity-based policy of the role that is being assumed. For more information, see + * Session + * Policies in the IAM User Guide.

+ * @public + */ + PolicyArns?: PolicyDescriptorType[] | undefined; + /** + *

An IAM policy in JSON format that you want to use as an inline session policy.

+ *

This parameter is optional. Passing policies to this operation returns new + * temporary credentials. The resulting session's permissions are the intersection of the + * role's identity-based policy and the session policies. You can use the role's temporary + * credentials in subsequent Amazon Web Services API calls to access resources in the account that owns + * the role. You cannot use session policies to grant more permissions than those allowed + * by the identity-based policy of the role that is being assumed. For more information, see + * Session + * Policies in the IAM User Guide.

+ *

The plaintext that you use for both inline and managed session policies can't exceed + * 2,048 characters. The JSON policy characters can be any ASCII character from the space + * character to the end of the valid character list (\u0020 through \u00FF). It can also + * include the tab (\u0009), linefeed (\u000A), and carriage return (\u000D) + * characters.

+ *

For more information about role session permissions, see Session + * policies.

+ * + *

An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs, + * and session tags into a packed binary format that has a separate limit. Your request can + * fail for this limit even if your plaintext meets the other requirements. The + * PackedPolicySize response element indicates by percentage how close the + * policies and tags for your request are to the upper size limit.

+ *
+ * @public + */ + Policy?: string | undefined; + /** + *

The duration, in seconds, of the role session. The value can range from 900 seconds (15 + * minutes) up to the maximum session duration setting for the role. This setting can have a + * value from 1 hour to 12 hours. If you specify a value higher than this setting, the + * operation fails. For example, if you specify a session duration of 12 hours, but your + * administrator set the maximum session duration to 6 hours, your operation fails. To learn + * how to view the maximum value for your role, see View the + * Maximum Session Duration Setting for a Role in the + * IAM User Guide.

+ *

By default, the value is set to 3600 seconds.

+ * + *

The DurationSeconds parameter is separate from the duration of a console + * session that you might request using the returned credentials. The request to the + * federation endpoint for a console sign-in token takes a SessionDuration + * parameter that specifies the maximum length of the console session. For more + * information, see Creating a URL + * that Enables Federated Users to Access the Amazon Web Services Management Console in the + * IAM User Guide.

+ *
+ * @public + */ + DurationSeconds?: number | undefined; +} +/** + *

Contains the response to a successful AssumeRoleWithWebIdentity + * request, including temporary Amazon Web Services credentials that can be used to make Amazon Web Services requests.

+ * @public + */ +export interface AssumeRoleWithWebIdentityResponse { + /** + *

The temporary security credentials, which include an access key ID, a secret access key, + * and a security token.

+ * + *

The size of the security token that STS API operations return is not fixed. We + * strongly recommend that you make no assumptions about the maximum size.

+ *
+ * @public + */ + Credentials?: Credentials | undefined; + /** + *

The unique user identifier that is returned by the identity provider. This identifier is + * associated with the WebIdentityToken that was submitted with the + * AssumeRoleWithWebIdentity call. The identifier is typically unique to the + * user and the application that acquired the WebIdentityToken (pairwise + * identifier). For OpenID Connect ID tokens, this field contains the value returned by the + * identity provider as the token's sub (Subject) claim.

+ * @public + */ + SubjectFromWebIdentityToken?: string | undefined; + /** + *

The Amazon Resource Name (ARN) and the assumed role ID, which are identifiers that you + * can use to refer to the resulting temporary security credentials. For example, you can + * reference these credentials as a principal in a resource-based policy by using the ARN or + * assumed role ID. The ARN and ID include the RoleSessionName that you specified + * when you called AssumeRole.

+ * @public + */ + AssumedRoleUser?: AssumedRoleUser | undefined; + /** + *

A percentage value that indicates the packed size of the session policies and session + * tags combined passed in the request. The request fails if the packed size is greater than 100 percent, + * which means the policies and tags exceeded the allowed space.

+ * @public + */ + PackedPolicySize?: number | undefined; + /** + *

The issuing authority of the web identity token presented. For OpenID Connect ID + * tokens, this contains the value of the iss field. For OAuth 2.0 access tokens, + * this contains the value of the ProviderId parameter that was passed in the + * AssumeRoleWithWebIdentity request.

+ * @public + */ + Provider?: string | undefined; + /** + *

The intended audience (also known as client ID) of the web identity token. This is + * traditionally the client identifier issued to the application that requested the web + * identity token.

+ * @public + */ + Audience?: string | undefined; + /** + *

The value of the source identity that is returned in the JSON web token (JWT) from the + * identity provider.

+ *

You can require users to set a source identity value when they assume a role. You do + * this by using the sts:SourceIdentity condition key in a role trust policy. + * That way, actions that are taken with the role are associated with that user. After the + * source identity is set, the value cannot be changed. It is present in the request for all + * actions that are taken by the role and persists across chained role + * sessions. You can configure your identity provider to use an attribute associated with your + * users, like user name or email, as the source identity when calling + * AssumeRoleWithWebIdentity. You do this by adding a claim to the JSON web + * token. To learn more about OIDC tokens and claims, see Using Tokens with User Pools in the Amazon Cognito Developer Guide. + * For more information about using source identity, see Monitor and control + * actions taken with assumed roles in the + * IAM User Guide.

+ *

The regex used to validate this parameter is a string of characters + * consisting of upper- and lower-case alphanumeric characters with no spaces. You can + * also include underscores or any of the following characters: =,.@-

+ * @public + */ + SourceIdentity?: string | undefined; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts new file mode 100644 index 0000000..d6e5b3e --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts @@ -0,0 +1,64 @@ +import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; +import type { STSClientConfig } from "./STSClient"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: STSClientConfig) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise); + defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + region: string | import("@smithy/types").Provider; + requestHandler: import("@smithy/protocol-http").HttpHandler | RequestHandler; + retryMode: string | import("@smithy/types").Provider; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + cacheMiddleware?: boolean | undefined; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsQueryProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: string | undefined | import("@smithy/types").Provider; + retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; + endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; + endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | undefined; + signer: import("@aws-sdk/core/dist-types/submodules/httpAuthSchemes").AwsSdkSigV4Signer; + } | { + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + })[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider; + credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; + useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts new file mode 100644 index 0000000..5cd4ef1 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts @@ -0,0 +1,62 @@ +import { NoAuthSigner } from "@smithy/core"; +import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; +import type { IdentityProviderConfig } from "@smithy/types"; +import type { STSClientConfig } from "./STSClient"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: STSClientConfig) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider; + authSchemePreference: string[] | import("@smithy/types").Provider; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | { + schemeId: string; + identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider | (() => Promise<{}>); + signer: NoAuthSigner; + }[]; + maxAttempts: number | import("@smithy/types").Provider; + region: string | import("@smithy/types").Provider; + requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler; + retryMode: string | import("@smithy/types").Provider; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + useDualstackEndpoint: boolean | import("@smithy/types").Provider; + useFipsEndpoint: boolean | import("@smithy/types").Provider; + userAgentAppId: string | import("@smithy/types").Provider; + cacheMiddleware?: boolean | undefined; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsQueryProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + credentialDefaultProvider?: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + customUserAgent?: string | import("@smithy/types").UserAgent; + retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; + endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; + endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider; + credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; + useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts new file mode 100644 index 0000000..57434cc --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts @@ -0,0 +1,63 @@ +import type { STSClientConfig } from "./STSClient"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: STSClientConfig) => { + runtime: string; + sha256: import("@smithy/types").HashConstructor; + requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record | import("@smithy/protocol-http").HttpHandler | import("@smithy/fetch-http-handler").FetchHttpHandler; + cacheMiddleware?: boolean; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsQueryProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + streamCollector: import("@smithy/types").StreamCollector; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); + region: string | import("@smithy/types").Provider; + profile?: string; + defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise; + credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise); + maxAttempts: number | import("@smithy/types").Provider; + retryMode: string | import("@smithy/types").Provider; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: string | undefined | import("@smithy/types").Provider; + retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; + endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; + endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | undefined; + signer: import("@aws-sdk/core/dist-types/submodules/httpAuthSchemes").AwsSdkSigV4Signer; + } | { + schemeId: string; + identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + })[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider; + credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; + useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts new file mode 100644 index 0000000..21b5fd3 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts @@ -0,0 +1,38 @@ +import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; +import { AwsQueryProtocol } from "@aws-sdk/core/protocols"; +import { NoAuthSigner } from "@smithy/core"; +import type { IdentityProviderConfig } from "@smithy/types"; +import type { STSClientConfig } from "./STSClient"; +/** + * @internal + */ +export declare const getRuntimeConfig: (config: STSClientConfig) => { + apiVersion: string; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + disableHostPrefix: boolean; + endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: { + logger?: import("@smithy/types").Logger; + }) => import("@smithy/types").EndpointV2; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider; + httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({ + schemeId: string; + identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider | undefined; + signer: AwsSdkSigV4Signer; + } | { + schemeId: string; + identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider | (() => Promise<{}>); + signer: NoAuthSigner; + })[]; + logger: import("@smithy/types").Logger; + protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof AwsQueryProtocol; + protocolSettings: { + [setting: string]: unknown; + defaultNamespace?: string; + }; + serviceId: string; + urlParser: import("@smithy/types").UrlParser; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeExtensions.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeExtensions.d.ts new file mode 100644 index 0000000..8b34a63 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeExtensions.d.ts @@ -0,0 +1,17 @@ +import type { STSExtensionConfiguration } from "./extensionConfiguration"; +/** + * @public + */ +export interface RuntimeExtension { + configure(extensionConfiguration: STSExtensionConfiguration): void; +} +/** + * @public + */ +export interface RuntimeExtensionsConfig { + extensions: RuntimeExtension[]; +} +/** + * @internal + */ +export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts new file mode 100644 index 0000000..e8f1d2f --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts @@ -0,0 +1,27 @@ +import { TypeRegistry } from "@smithy/core/schema"; +import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types"; +export declare var STSServiceException$: StaticErrorSchema; +export declare var ExpiredTokenException$: StaticErrorSchema; +export declare var IDPCommunicationErrorException$: StaticErrorSchema; +export declare var IDPRejectedClaimException$: StaticErrorSchema; +export declare var InvalidIdentityTokenException$: StaticErrorSchema; +export declare var MalformedPolicyDocumentException$: StaticErrorSchema; +export declare var PackedPolicyTooLargeException$: StaticErrorSchema; +export declare var RegionDisabledException$: StaticErrorSchema; +/** + * TypeRegistry instances containing modeled errors. + * @internal + * + */ +export declare const errorTypeRegistries: TypeRegistry[]; +export declare var AssumedRoleUser$: StaticStructureSchema; +export declare var AssumeRoleRequest$: StaticStructureSchema; +export declare var AssumeRoleResponse$: StaticStructureSchema; +export declare var AssumeRoleWithWebIdentityRequest$: StaticStructureSchema; +export declare var AssumeRoleWithWebIdentityResponse$: StaticStructureSchema; +export declare var Credentials$: StaticStructureSchema; +export declare var PolicyDescriptorType$: StaticStructureSchema; +export declare var ProvidedContext$: StaticStructureSchema; +export declare var Tag$: StaticStructureSchema; +export declare var AssumeRole$: StaticOperationSchema; +export declare var AssumeRoleWithWebIdentity$: StaticOperationSchema; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/index.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts new file mode 100644 index 0000000..7749e20 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts @@ -0,0 +1,38 @@ +import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; +import { CognitoIdentityClient } from "./CognitoIdentityClient"; +import { + GetCredentialsForIdentityCommandInput, + GetCredentialsForIdentityCommandOutput, +} from "./commands/GetCredentialsForIdentityCommand"; +import { GetIdCommandInput, GetIdCommandOutput } from "./commands/GetIdCommand"; +export interface CognitoIdentity { + getCredentialsForIdentity( + args: GetCredentialsForIdentityCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getCredentialsForIdentity( + args: GetCredentialsForIdentityCommandInput, + cb: (err: any, data?: GetCredentialsForIdentityCommandOutput) => void + ): void; + getCredentialsForIdentity( + args: GetCredentialsForIdentityCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetCredentialsForIdentityCommandOutput) => void + ): void; + getId( + args: GetIdCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getId( + args: GetIdCommandInput, + cb: (err: any, data?: GetIdCommandOutput) => void + ): void; + getId( + args: GetIdCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetIdCommandOutput) => void + ): void; +} +export declare class CognitoIdentity + extends CognitoIdentityClient + implements CognitoIdentity {} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts new file mode 100644 index 0000000..8678537 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts @@ -0,0 +1,126 @@ +import { + HostHeaderInputConfig, + HostHeaderResolvedConfig, +} from "@aws-sdk/middleware-host-header"; +import { + UserAgentInputConfig, + UserAgentResolvedConfig, +} from "@aws-sdk/middleware-user-agent"; +import { + RegionInputConfig, + RegionResolvedConfig, +} from "@smithy/config-resolver"; +import { + EndpointInputConfig, + EndpointResolvedConfig, +} from "@smithy/middleware-endpoint"; +import { + RetryInputConfig, + RetryResolvedConfig, +} from "@smithy/middleware-retry"; +import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http"; +import { + DefaultsMode as __DefaultsMode, + SmithyConfiguration as __SmithyConfiguration, + SmithyResolvedConfiguration as __SmithyResolvedConfiguration, + Client as __Client, +} from "@smithy/smithy-client"; +import { + BodyLengthCalculator as __BodyLengthCalculator, + CheckOptionalClientConfig as __CheckOptionalClientConfig, + ChecksumConstructor as __ChecksumConstructor, + Decoder as __Decoder, + Encoder as __Encoder, + HashConstructor as __HashConstructor, + HttpHandlerOptions as __HttpHandlerOptions, + Logger as __Logger, + Provider as __Provider, + StreamCollector as __StreamCollector, + UrlParser as __UrlParser, + UserAgent as __UserAgent, +} from "@smithy/types"; +import { + HttpAuthSchemeInputConfig, + HttpAuthSchemeResolvedConfig, +} from "./auth/httpAuthSchemeProvider"; +import { + GetCredentialsForIdentityCommandInput, + GetCredentialsForIdentityCommandOutput, +} from "./commands/GetCredentialsForIdentityCommand"; +import { GetIdCommandInput, GetIdCommandOutput } from "./commands/GetIdCommand"; +import { + ClientInputEndpointParameters, + ClientResolvedEndpointParameters, + EndpointParameters, +} from "./endpoint/EndpointParameters"; +import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions"; +export { __Client }; +export type ServiceInputTypes = + | GetCredentialsForIdentityCommandInput + | GetIdCommandInput; +export type ServiceOutputTypes = + | GetCredentialsForIdentityCommandOutput + | GetIdCommandOutput; +export interface ClientDefaults + extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { + requestHandler?: __HttpHandlerUserInput; + sha256?: __ChecksumConstructor | __HashConstructor; + urlParser?: __UrlParser; + bodyLengthChecker?: __BodyLengthCalculator; + streamCollector?: __StreamCollector; + base64Decoder?: __Decoder; + base64Encoder?: __Encoder; + utf8Decoder?: __Decoder; + utf8Encoder?: __Encoder; + runtime?: string; + disableHostPrefix?: boolean; + serviceId?: string; + useDualstackEndpoint?: boolean | __Provider; + useFipsEndpoint?: boolean | __Provider; + region?: string | __Provider; + profile?: string; + defaultUserAgentProvider?: __Provider<__UserAgent>; + maxAttempts?: number | __Provider; + retryMode?: string | __Provider; + logger?: __Logger; + extensions?: RuntimeExtension[]; + defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; +} +export type CognitoIdentityClientConfigType = Partial< + __SmithyConfiguration<__HttpHandlerOptions> +> & + ClientDefaults & + UserAgentInputConfig & + RetryInputConfig & + RegionInputConfig & + HostHeaderInputConfig & + EndpointInputConfig & + HttpAuthSchemeInputConfig & + ClientInputEndpointParameters; +export interface CognitoIdentityClientConfig + extends CognitoIdentityClientConfigType {} +export type CognitoIdentityClientResolvedConfigType = + __SmithyResolvedConfiguration<__HttpHandlerOptions> & + Required & + RuntimeExtensionsConfig & + UserAgentResolvedConfig & + RetryResolvedConfig & + RegionResolvedConfig & + HostHeaderResolvedConfig & + EndpointResolvedConfig & + HttpAuthSchemeResolvedConfig & + ClientResolvedEndpointParameters; +export interface CognitoIdentityClientResolvedConfig + extends CognitoIdentityClientResolvedConfigType {} +export declare class CognitoIdentityClient extends __Client< + __HttpHandlerOptions, + ServiceInputTypes, + ServiceOutputTypes, + CognitoIdentityClientResolvedConfig +> { + readonly config: CognitoIdentityClientResolvedConfig; + constructor( + ...[configuration]: __CheckOptionalClientConfig + ); + destroy(): void; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts new file mode 100644 index 0000000..bc87c28 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts @@ -0,0 +1,32 @@ +import { + AwsCredentialIdentity, + AwsCredentialIdentityProvider, + HttpAuthScheme, +} from "@smithy/types"; +import { CognitoIdentityHttpAuthSchemeProvider } from "./httpAuthSchemeProvider"; +export interface HttpAuthExtensionConfiguration { + setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void; + httpAuthSchemes(): HttpAuthScheme[]; + setHttpAuthSchemeProvider( + httpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider + ): void; + httpAuthSchemeProvider(): CognitoIdentityHttpAuthSchemeProvider; + setCredentials( + credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider + ): void; + credentials(): + | AwsCredentialIdentity + | AwsCredentialIdentityProvider + | undefined; +} +export type HttpAuthRuntimeConfig = Partial<{ + httpAuthSchemes: HttpAuthScheme[]; + httpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider; + credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider; +}>; +export declare const getHttpAuthExtensionConfiguration: ( + runtimeConfig: HttpAuthRuntimeConfig +) => HttpAuthExtensionConfiguration; +export declare const resolveHttpAuthRuntimeConfig: ( + config: HttpAuthExtensionConfiguration +) => HttpAuthRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts new file mode 100644 index 0000000..8223f51 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts @@ -0,0 +1,47 @@ +import { + AwsSdkSigV4AuthInputConfig, + AwsSdkSigV4AuthResolvedConfig, + AwsSdkSigV4PreviouslyResolved, +} from "@aws-sdk/core/httpAuthSchemes"; +import { + HandlerExecutionContext, + HttpAuthScheme, + HttpAuthSchemeParameters, + HttpAuthSchemeParametersProvider, + HttpAuthSchemeProvider, + Provider, +} from "@smithy/types"; +import { CognitoIdentityClientResolvedConfig } from "../CognitoIdentityClient"; +export interface CognitoIdentityHttpAuthSchemeParameters + extends HttpAuthSchemeParameters { + region?: string; +} +export interface CognitoIdentityHttpAuthSchemeParametersProvider + extends HttpAuthSchemeParametersProvider< + CognitoIdentityClientResolvedConfig, + HandlerExecutionContext, + CognitoIdentityHttpAuthSchemeParameters, + object + > {} +export declare const defaultCognitoIdentityHttpAuthSchemeParametersProvider: ( + config: CognitoIdentityClientResolvedConfig, + context: HandlerExecutionContext, + input: object +) => Promise; +export interface CognitoIdentityHttpAuthSchemeProvider + extends HttpAuthSchemeProvider {} +export declare const defaultCognitoIdentityHttpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider; +export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig { + authSchemePreference?: string[] | Provider; + httpAuthSchemes?: HttpAuthScheme[]; + httpAuthSchemeProvider?: CognitoIdentityHttpAuthSchemeProvider; +} +export interface HttpAuthSchemeResolvedConfig + extends AwsSdkSigV4AuthResolvedConfig { + readonly authSchemePreference: Provider; + readonly httpAuthSchemes: HttpAuthScheme[]; + readonly httpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider; +} +export declare const resolveHttpAuthSchemeConfig: ( + config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved +) => T & HttpAuthSchemeResolvedConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts new file mode 100644 index 0000000..9270d7e --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + CognitoIdentityClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../CognitoIdentityClient"; +import { + GetCredentialsForIdentityInput, + GetCredentialsForIdentityResponse, +} from "../models/models_0"; +export { __MetadataBearer }; +export { $Command }; +export interface GetCredentialsForIdentityCommandInput + extends GetCredentialsForIdentityInput {} +export interface GetCredentialsForIdentityCommandOutput + extends GetCredentialsForIdentityResponse, + __MetadataBearer {} +declare const GetCredentialsForIdentityCommand_base: { + new ( + input: GetCredentialsForIdentityCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetCredentialsForIdentityCommandInput, + GetCredentialsForIdentityCommandOutput, + CognitoIdentityClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: GetCredentialsForIdentityCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetCredentialsForIdentityCommandInput, + GetCredentialsForIdentityCommandOutput, + CognitoIdentityClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetCredentialsForIdentityCommand extends GetCredentialsForIdentityCommand_base { + protected static __types: { + api: { + input: GetCredentialsForIdentityInput; + output: GetCredentialsForIdentityResponse; + }; + sdk: { + input: GetCredentialsForIdentityCommandInput; + output: GetCredentialsForIdentityCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts new file mode 100644 index 0000000..f57d0c7 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts @@ -0,0 +1,41 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + CognitoIdentityClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes, +} from "../CognitoIdentityClient"; +import { GetIdInput, GetIdResponse } from "../models/models_0"; +export { __MetadataBearer }; +export { $Command }; +export interface GetIdCommandInput extends GetIdInput {} +export interface GetIdCommandOutput extends GetIdResponse, __MetadataBearer {} +declare const GetIdCommand_base: { + new (input: GetIdCommandInput): import("@smithy/smithy-client").CommandImpl< + GetIdCommandInput, + GetIdCommandOutput, + CognitoIdentityClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new (input: GetIdCommandInput): import("@smithy/smithy-client").CommandImpl< + GetIdCommandInput, + GetIdCommandOutput, + CognitoIdentityClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetIdCommand extends GetIdCommand_base { + protected static __types: { + api: { + input: GetIdInput; + output: GetIdResponse; + }; + sdk: { + input: GetIdCommandInput; + output: GetIdCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/index.d.ts new file mode 100644 index 0000000..dc560a4 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/index.d.ts @@ -0,0 +1,2 @@ +export * from "./GetCredentialsForIdentityCommand"; +export * from "./GetIdCommand"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/EndpointParameters.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/EndpointParameters.d.ts new file mode 100644 index 0000000..c4baac5 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/EndpointParameters.d.ts @@ -0,0 +1,51 @@ +import { + Endpoint, + EndpointParameters as __EndpointParameters, + EndpointV2, + Provider, +} from "@smithy/types"; +export interface ClientInputEndpointParameters { + region?: string | undefined | Provider; + useDualstackEndpoint?: boolean | undefined | Provider; + useFipsEndpoint?: boolean | undefined | Provider; + endpoint?: + | string + | Provider + | Endpoint + | Provider + | EndpointV2 + | Provider; +} +export type ClientResolvedEndpointParameters = Pick< + ClientInputEndpointParameters, + Exclude +> & { + defaultSigningName: string; +}; +export declare const resolveClientEndpointParameters: ( + options: T & ClientInputEndpointParameters +) => T & ClientResolvedEndpointParameters; +export declare const commonParams: { + readonly UseFIPS: { + readonly type: "builtInParams"; + readonly name: "useFipsEndpoint"; + }; + readonly Endpoint: { + readonly type: "builtInParams"; + readonly name: "endpoint"; + }; + readonly Region: { + readonly type: "builtInParams"; + readonly name: "region"; + }; + readonly UseDualStack: { + readonly type: "builtInParams"; + readonly name: "useDualstackEndpoint"; + }; +}; +export interface EndpointParameters extends __EndpointParameters { + Region?: string | undefined; + UseDualStack?: boolean | undefined; + UseFIPS?: boolean | undefined; + Endpoint?: string | undefined; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/endpointResolver.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/endpointResolver.d.ts new file mode 100644 index 0000000..5909925 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/endpointResolver.d.ts @@ -0,0 +1,8 @@ +import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParameters } from "./EndpointParameters"; +export declare const defaultEndpointResolver: ( + endpointParams: EndpointParameters, + context?: { + logger?: Logger; + } +) => EndpointV2; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/ruleset.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/ruleset.d.ts new file mode 100644 index 0000000..4b23899 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/ruleset.d.ts @@ -0,0 +1,2 @@ +import { RuleSetObject } from "@smithy/types"; +export declare const ruleSet: RuleSetObject; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts new file mode 100644 index 0000000..956fdc2 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts @@ -0,0 +1,9 @@ +import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; +import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; +import { DefaultExtensionConfiguration } from "@smithy/types"; +import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; +export interface CognitoIdentityExtensionConfiguration + extends HttpHandlerExtensionConfiguration, + DefaultExtensionConfiguration, + AwsRegionExtensionConfiguration, + HttpAuthExtensionConfiguration {} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/index.d.ts new file mode 100644 index 0000000..1e774d9 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/index.d.ts @@ -0,0 +1,10 @@ +export * from "./CognitoIdentityClient"; +export * from "./CognitoIdentity"; +export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; +export { RuntimeExtension } from "./runtimeExtensions"; +export { CognitoIdentityExtensionConfiguration } from "./extensionConfiguration"; +export * from "./commands"; +export * from "./schemas/schemas_0"; +export * from "./models/errors"; +export * from "./models/models_0"; +export { CognitoIdentityServiceException } from "./models/CognitoIdentityServiceException"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts new file mode 100644 index 0000000..ba28be3 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts @@ -0,0 +1,9 @@ +import { + ServiceExceptionOptions as __ServiceExceptionOptions, + ServiceException as __ServiceException, +} from "@smithy/smithy-client"; +export { __ServiceExceptionOptions }; +export { __ServiceException }; +export declare class CognitoIdentityServiceException extends __ServiceException { + constructor(options: __ServiceExceptionOptions); +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts new file mode 100644 index 0000000..34d67d4 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts @@ -0,0 +1,68 @@ +import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; +import { CognitoIdentityServiceException as __BaseException } from "./CognitoIdentityServiceException"; +export declare class ExternalServiceException extends __BaseException { + readonly name: "ExternalServiceException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InternalErrorException extends __BaseException { + readonly name: "InternalErrorException"; + readonly $fault: "server"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InvalidIdentityPoolConfigurationException extends __BaseException { + readonly name: "InvalidIdentityPoolConfigurationException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType< + InvalidIdentityPoolConfigurationException, + __BaseException + > + ); +} +export declare class InvalidParameterException extends __BaseException { + readonly name: "InvalidParameterException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class NotAuthorizedException extends __BaseException { + readonly name: "NotAuthorizedException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class ResourceConflictException extends __BaseException { + readonly name: "ResourceConflictException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class ResourceNotFoundException extends __BaseException { + readonly name: "ResourceNotFoundException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class TooManyRequestsException extends __BaseException { + readonly name: "TooManyRequestsException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class LimitExceededException extends __BaseException { + readonly name: "LimitExceededException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/models_0.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/models_0.d.ts new file mode 100644 index 0000000..7ef0c1f --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/models_0.d.ts @@ -0,0 +1,23 @@ +export interface GetCredentialsForIdentityInput { + IdentityId: string | undefined; + Logins?: Record | undefined; + CustomRoleArn?: string | undefined; +} +export interface Credentials { + AccessKeyId?: string | undefined; + SecretKey?: string | undefined; + SessionToken?: string | undefined; + Expiration?: Date | undefined; +} +export interface GetCredentialsForIdentityResponse { + IdentityId?: string | undefined; + Credentials?: Credentials | undefined; +} +export interface GetIdInput { + AccountId?: string | undefined; + IdentityPoolId: string | undefined; + Logins?: Record | undefined; +} +export interface GetIdResponse { + IdentityId?: string | undefined; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts new file mode 100644 index 0000000..b4bcf94 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts @@ -0,0 +1,122 @@ +import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; +import { CognitoIdentityClientConfig } from "./CognitoIdentityClient"; +export declare const getRuntimeConfig: ( + config: CognitoIdentityClientConfig +) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider< + import("@smithy/smithy-client").ResolvedDefaultsMode + >; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + defaultUserAgentProvider: ( + config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved + ) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + region: string | import("@smithy/types").Provider; + requestHandler: + | import("@smithy/protocol-http").HttpHandler + | RequestHandler; + retryMode: string | import("@smithy/types").Provider; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + cacheMiddleware?: boolean | undefined; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsJson1_1Protocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: + | string + | undefined + | import("@smithy/types").Provider; + retryStrategy?: + | import("@smithy/types").RetryStrategy + | import("@smithy/types").RetryStrategyV2; + endpoint?: + | (( + | string + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + ) & + ( + | string + | import("@smithy/types").Provider + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + )) + | undefined; + endpointProvider: ( + endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: + | import("@smithy/types").HttpAuthScheme[] + | ( + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | undefined; + signer: import("@aws-sdk/core/dist-types/submodules/httpAuthSchemes").AwsSdkSigV4Signer; + } + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + } + )[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CognitoIdentityHttpAuthSchemeProvider; + credentials?: + | import("@smithy/types").AwsCredentialIdentity + | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: + | import("@smithy/types").RequestSigner + | (( + authScheme?: import("@smithy/types").AuthScheme + ) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new ( + options: import("@smithy/signature-v4").SignatureV4Init & + import("@smithy/signature-v4").SignatureV4CryptoInit + ) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts new file mode 100644 index 0000000..50dc960 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts @@ -0,0 +1,117 @@ +import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; +import { CognitoIdentityClientConfig } from "./CognitoIdentityClient"; +export declare const getRuntimeConfig: ( + config: CognitoIdentityClientConfig +) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider< + import("@smithy/smithy-client").ResolvedDefaultsMode + >; + authSchemePreference: string[] | import("@smithy/types").Provider; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + defaultUserAgentProvider: ( + config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved + ) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + region: string | import("@smithy/types").Provider; + requestHandler: + | RequestHandler + | import("@smithy/protocol-http").HttpHandler; + retryMode: string | import("@smithy/types").Provider; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + useDualstackEndpoint: boolean | import("@smithy/types").Provider; + useFipsEndpoint: boolean | import("@smithy/types").Provider; + userAgentAppId: string | import("@smithy/types").Provider; + cacheMiddleware?: boolean | undefined; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsJson1_1Protocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + customUserAgent?: string | import("@smithy/types").UserAgent; + retryStrategy?: + | import("@smithy/types").RetryStrategy + | import("@smithy/types").RetryStrategyV2; + endpoint?: + | (( + | string + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + ) & + ( + | string + | import("@smithy/types").Provider + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + )) + | undefined; + endpointProvider: ( + endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + httpAuthSchemes: + | import("@smithy/types").HttpAuthScheme[] + | ( + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | undefined; + signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; + } + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + } + )[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CognitoIdentityHttpAuthSchemeProvider; + credentials?: + | import("@smithy/types").AwsCredentialIdentity + | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: + | import("@smithy/types").RequestSigner + | (( + authScheme?: import("@smithy/types").AuthScheme + ) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new ( + options: import("@smithy/signature-v4").SignatureV4Init & + import("@smithy/signature-v4").SignatureV4CryptoInit + ) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts new file mode 100644 index 0000000..e60bb08 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts @@ -0,0 +1,126 @@ +import { CognitoIdentityClientConfig } from "./CognitoIdentityClient"; +export declare const getRuntimeConfig: ( + config: CognitoIdentityClientConfig +) => { + runtime: string; + sha256: import("@smithy/types").HashConstructor; + requestHandler: + | import("@smithy/types").NodeHttpHandlerOptions + | import("@smithy/types").FetchHttpHandlerOptions + | Record + | import("@smithy/protocol-http").HttpHandler + | import("@smithy/fetch-http-handler").FetchHttpHandler; + cacheMiddleware?: boolean; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsJson1_1Protocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + streamCollector: import("@smithy/types").StreamCollector; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + region: string | import("@smithy/types").Provider; + profile?: string; + defaultUserAgentProvider: ( + config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved + ) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + retryMode: string | import("@smithy/types").Provider; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + defaultsMode: + | import("@smithy/smithy-client").DefaultsMode + | import("@smithy/types").Provider< + import("@smithy/smithy-client").DefaultsMode + >; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: + | string + | undefined + | import("@smithy/types").Provider; + retryStrategy?: + | import("@smithy/types").RetryStrategy + | import("@smithy/types").RetryStrategyV2; + endpoint?: + | (( + | string + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + ) & + ( + | string + | import("@smithy/types").Provider + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + )) + | undefined; + endpointProvider: ( + endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: + | import("@smithy/types").HttpAuthScheme[] + | ( + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | undefined; + signer: import("@aws-sdk/core/dist-types/submodules/httpAuthSchemes").AwsSdkSigV4Signer; + } + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + } + )[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CognitoIdentityHttpAuthSchemeProvider; + credentials?: + | import("@smithy/types").AwsCredentialIdentity + | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: + | import("@smithy/types").RequestSigner + | (( + authScheme?: import("@smithy/types").AuthScheme + ) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new ( + options: import("@smithy/signature-v4").SignatureV4Init & + import("@smithy/signature-v4").SignatureV4CryptoInit + ) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts new file mode 100644 index 0000000..cd5e144 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts @@ -0,0 +1,60 @@ +import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; +import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols"; +import { NoAuthSigner } from "@smithy/core"; +import { IdentityProviderConfig } from "@smithy/types"; +import { CognitoIdentityClientConfig } from "./CognitoIdentityClient"; +export declare const getRuntimeConfig: ( + config: CognitoIdentityClientConfig +) => { + apiVersion: string; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + disableHostPrefix: boolean; + endpointProvider: ( + endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CognitoIdentityHttpAuthSchemeProvider; + httpAuthSchemes: + | import("@smithy/types").HttpAuthScheme[] + | ( + | { + schemeId: string; + identityProvider: ( + ipc: IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | undefined; + signer: AwsSdkSigV4Signer; + } + | { + schemeId: string; + identityProvider: ( + ipc: IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | (() => Promise<{}>); + signer: NoAuthSigner; + } + )[]; + logger: import("@smithy/types").Logger; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof AwsJson1_1Protocol; + protocolSettings: { + [setting: string]: unknown; + defaultNamespace?: string; + }; + serviceId: string; + urlParser: import("@smithy/types").UrlParser; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts new file mode 100644 index 0000000..3ce8366 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts @@ -0,0 +1,13 @@ +import { CognitoIdentityExtensionConfiguration } from "./extensionConfiguration"; +export interface RuntimeExtension { + configure( + extensionConfiguration: CognitoIdentityExtensionConfiguration + ): void; +} +export interface RuntimeExtensionsConfig { + extensions: RuntimeExtension[]; +} +export declare const resolveRuntimeExtensions: ( + runtimeConfig: any, + extensions: RuntimeExtension[] +) => any; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts new file mode 100644 index 0000000..d45fba2 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts @@ -0,0 +1,24 @@ +import { TypeRegistry } from "@smithy/core/schema"; +import { + StaticErrorSchema, + StaticOperationSchema, + StaticStructureSchema, +} from "@smithy/types"; +export declare var CognitoIdentityServiceException$: StaticErrorSchema; +export declare var ExternalServiceException$: StaticErrorSchema; +export declare var InternalErrorException$: StaticErrorSchema; +export declare var InvalidIdentityPoolConfigurationException$: StaticErrorSchema; +export declare var InvalidParameterException$: StaticErrorSchema; +export declare var LimitExceededException$: StaticErrorSchema; +export declare var NotAuthorizedException$: StaticErrorSchema; +export declare var ResourceConflictException$: StaticErrorSchema; +export declare var ResourceNotFoundException$: StaticErrorSchema; +export declare var TooManyRequestsException$: StaticErrorSchema; +export declare const errorTypeRegistries: TypeRegistry[]; +export declare var Credentials$: StaticStructureSchema; +export declare var GetCredentialsForIdentityInput$: StaticStructureSchema; +export declare var GetCredentialsForIdentityResponse$: StaticStructureSchema; +export declare var GetIdInput$: StaticStructureSchema; +export declare var GetIdResponse$: StaticStructureSchema; +export declare var GetCredentialsForIdentity$: StaticOperationSchema; +export declare var GetId$: StaticOperationSchema; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts new file mode 100644 index 0000000..89e01fe --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts @@ -0,0 +1,22 @@ +import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; +import { + CreateOAuth2TokenCommandInput, + CreateOAuth2TokenCommandOutput, +} from "./commands/CreateOAuth2TokenCommand"; +import { SigninClient } from "./SigninClient"; +export interface Signin { + createOAuth2Token( + args: CreateOAuth2TokenCommandInput, + options?: __HttpHandlerOptions + ): Promise; + createOAuth2Token( + args: CreateOAuth2TokenCommandInput, + cb: (err: any, data?: CreateOAuth2TokenCommandOutput) => void + ): void; + createOAuth2Token( + args: CreateOAuth2TokenCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateOAuth2TokenCommandOutput) => void + ): void; +} +export declare class Signin extends SigninClient implements Signin {} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts new file mode 100644 index 0000000..a275cd2 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts @@ -0,0 +1,122 @@ +import { + HostHeaderInputConfig, + HostHeaderResolvedConfig, +} from "@aws-sdk/middleware-host-header"; +import { + UserAgentInputConfig, + UserAgentResolvedConfig, +} from "@aws-sdk/middleware-user-agent"; +import { + RegionInputConfig, + RegionResolvedConfig, +} from "@smithy/config-resolver"; +import { + EndpointInputConfig, + EndpointResolvedConfig, +} from "@smithy/middleware-endpoint"; +import { + RetryInputConfig, + RetryResolvedConfig, +} from "@smithy/middleware-retry"; +import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http"; +import { + DefaultsMode as __DefaultsMode, + SmithyConfiguration as __SmithyConfiguration, + SmithyResolvedConfiguration as __SmithyResolvedConfiguration, + Client as __Client, +} from "@smithy/smithy-client"; +import { + AwsCredentialIdentityProvider, + BodyLengthCalculator as __BodyLengthCalculator, + CheckOptionalClientConfig as __CheckOptionalClientConfig, + ChecksumConstructor as __ChecksumConstructor, + Decoder as __Decoder, + Encoder as __Encoder, + HashConstructor as __HashConstructor, + HttpHandlerOptions as __HttpHandlerOptions, + Logger as __Logger, + Provider as __Provider, + StreamCollector as __StreamCollector, + UrlParser as __UrlParser, + UserAgent as __UserAgent, +} from "@smithy/types"; +import { + HttpAuthSchemeInputConfig, + HttpAuthSchemeResolvedConfig, +} from "./auth/httpAuthSchemeProvider"; +import { + CreateOAuth2TokenCommandInput, + CreateOAuth2TokenCommandOutput, +} from "./commands/CreateOAuth2TokenCommand"; +import { + ClientInputEndpointParameters, + ClientResolvedEndpointParameters, + EndpointParameters, +} from "./endpoint/EndpointParameters"; +import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions"; +export { __Client }; +export type ServiceInputTypes = CreateOAuth2TokenCommandInput; +export type ServiceOutputTypes = CreateOAuth2TokenCommandOutput; +export interface ClientDefaults + extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { + requestHandler?: __HttpHandlerUserInput; + sha256?: __ChecksumConstructor | __HashConstructor; + urlParser?: __UrlParser; + bodyLengthChecker?: __BodyLengthCalculator; + streamCollector?: __StreamCollector; + base64Decoder?: __Decoder; + base64Encoder?: __Encoder; + utf8Decoder?: __Decoder; + utf8Encoder?: __Encoder; + runtime?: string; + disableHostPrefix?: boolean; + serviceId?: string; + useDualstackEndpoint?: boolean | __Provider; + useFipsEndpoint?: boolean | __Provider; + region?: string | __Provider; + profile?: string; + defaultUserAgentProvider?: __Provider<__UserAgent>; + credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; + maxAttempts?: number | __Provider; + retryMode?: string | __Provider; + logger?: __Logger; + extensions?: RuntimeExtension[]; + defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; +} +export type SigninClientConfigType = Partial< + __SmithyConfiguration<__HttpHandlerOptions> +> & + ClientDefaults & + UserAgentInputConfig & + RetryInputConfig & + RegionInputConfig & + HostHeaderInputConfig & + EndpointInputConfig & + HttpAuthSchemeInputConfig & + ClientInputEndpointParameters; +export interface SigninClientConfig extends SigninClientConfigType {} +export type SigninClientResolvedConfigType = + __SmithyResolvedConfiguration<__HttpHandlerOptions> & + Required & + RuntimeExtensionsConfig & + UserAgentResolvedConfig & + RetryResolvedConfig & + RegionResolvedConfig & + HostHeaderResolvedConfig & + EndpointResolvedConfig & + HttpAuthSchemeResolvedConfig & + ClientResolvedEndpointParameters; +export interface SigninClientResolvedConfig + extends SigninClientResolvedConfigType {} +export declare class SigninClient extends __Client< + __HttpHandlerOptions, + ServiceInputTypes, + ServiceOutputTypes, + SigninClientResolvedConfig +> { + readonly config: SigninClientResolvedConfig; + constructor( + ...[configuration]: __CheckOptionalClientConfig + ); + destroy(): void; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts new file mode 100644 index 0000000..728b0fa --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts @@ -0,0 +1,32 @@ +import { + AwsCredentialIdentity, + AwsCredentialIdentityProvider, + HttpAuthScheme, +} from "@smithy/types"; +import { SigninHttpAuthSchemeProvider } from "./httpAuthSchemeProvider"; +export interface HttpAuthExtensionConfiguration { + setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void; + httpAuthSchemes(): HttpAuthScheme[]; + setHttpAuthSchemeProvider( + httpAuthSchemeProvider: SigninHttpAuthSchemeProvider + ): void; + httpAuthSchemeProvider(): SigninHttpAuthSchemeProvider; + setCredentials( + credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider + ): void; + credentials(): + | AwsCredentialIdentity + | AwsCredentialIdentityProvider + | undefined; +} +export type HttpAuthRuntimeConfig = Partial<{ + httpAuthSchemes: HttpAuthScheme[]; + httpAuthSchemeProvider: SigninHttpAuthSchemeProvider; + credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider; +}>; +export declare const getHttpAuthExtensionConfiguration: ( + runtimeConfig: HttpAuthRuntimeConfig +) => HttpAuthExtensionConfiguration; +export declare const resolveHttpAuthRuntimeConfig: ( + config: HttpAuthExtensionConfiguration +) => HttpAuthRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts new file mode 100644 index 0000000..5ef2b0b --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts @@ -0,0 +1,47 @@ +import { + AwsSdkSigV4AuthInputConfig, + AwsSdkSigV4AuthResolvedConfig, + AwsSdkSigV4PreviouslyResolved, +} from "@aws-sdk/core/httpAuthSchemes"; +import { + HandlerExecutionContext, + HttpAuthScheme, + HttpAuthSchemeParameters, + HttpAuthSchemeParametersProvider, + HttpAuthSchemeProvider, + Provider, +} from "@smithy/types"; +import { SigninClientResolvedConfig } from "../SigninClient"; +export interface SigninHttpAuthSchemeParameters + extends HttpAuthSchemeParameters { + region?: string; +} +export interface SigninHttpAuthSchemeParametersProvider + extends HttpAuthSchemeParametersProvider< + SigninClientResolvedConfig, + HandlerExecutionContext, + SigninHttpAuthSchemeParameters, + object + > {} +export declare const defaultSigninHttpAuthSchemeParametersProvider: ( + config: SigninClientResolvedConfig, + context: HandlerExecutionContext, + input: object +) => Promise; +export interface SigninHttpAuthSchemeProvider + extends HttpAuthSchemeProvider {} +export declare const defaultSigninHttpAuthSchemeProvider: SigninHttpAuthSchemeProvider; +export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig { + authSchemePreference?: string[] | Provider; + httpAuthSchemes?: HttpAuthScheme[]; + httpAuthSchemeProvider?: SigninHttpAuthSchemeProvider; +} +export interface HttpAuthSchemeResolvedConfig + extends AwsSdkSigV4AuthResolvedConfig { + readonly authSchemePreference: Provider; + readonly httpAuthSchemes: HttpAuthScheme[]; + readonly httpAuthSchemeProvider: SigninHttpAuthSchemeProvider; +} +export declare const resolveHttpAuthSchemeConfig: ( + config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved +) => T & HttpAuthSchemeResolvedConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts new file mode 100644 index 0000000..3f2873f --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + CreateOAuth2TokenRequest, + CreateOAuth2TokenResponse, +} from "../models/models_0"; +import { SigninClientResolvedConfig } from "../SigninClient"; +export { __MetadataBearer }; +export { $Command }; +export interface CreateOAuth2TokenCommandInput + extends CreateOAuth2TokenRequest {} +export interface CreateOAuth2TokenCommandOutput + extends CreateOAuth2TokenResponse, + __MetadataBearer {} +declare const CreateOAuth2TokenCommand_base: { + new ( + input: CreateOAuth2TokenCommandInput + ): import("@smithy/smithy-client").CommandImpl< + CreateOAuth2TokenCommandInput, + CreateOAuth2TokenCommandOutput, + SigninClientResolvedConfig, + CreateOAuth2TokenCommandInput, + CreateOAuth2TokenCommandOutput + >; + new ( + input: CreateOAuth2TokenCommandInput + ): import("@smithy/smithy-client").CommandImpl< + CreateOAuth2TokenCommandInput, + CreateOAuth2TokenCommandOutput, + SigninClientResolvedConfig, + CreateOAuth2TokenCommandInput, + CreateOAuth2TokenCommandOutput + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class CreateOAuth2TokenCommand extends CreateOAuth2TokenCommand_base { + protected static __types: { + api: { + input: CreateOAuth2TokenRequest; + output: CreateOAuth2TokenResponse; + }; + sdk: { + input: CreateOAuth2TokenCommandInput; + output: CreateOAuth2TokenCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/index.d.ts new file mode 100644 index 0000000..d32e4a3 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/index.d.ts @@ -0,0 +1 @@ +export * from "./CreateOAuth2TokenCommand"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts new file mode 100644 index 0000000..30ccc88 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts @@ -0,0 +1,51 @@ +import { + Endpoint, + EndpointParameters as __EndpointParameters, + EndpointV2, + Provider, +} from "@smithy/types"; +export interface ClientInputEndpointParameters { + useDualstackEndpoint?: boolean | undefined | Provider; + useFipsEndpoint?: boolean | undefined | Provider; + endpoint?: + | string + | Provider + | Endpoint + | Provider + | EndpointV2 + | Provider; + region?: string | undefined | Provider; +} +export type ClientResolvedEndpointParameters = Pick< + ClientInputEndpointParameters, + Exclude +> & { + defaultSigningName: string; +}; +export declare const resolveClientEndpointParameters: ( + options: T & ClientInputEndpointParameters +) => T & ClientResolvedEndpointParameters; +export declare const commonParams: { + readonly UseFIPS: { + readonly type: "builtInParams"; + readonly name: "useFipsEndpoint"; + }; + readonly Endpoint: { + readonly type: "builtInParams"; + readonly name: "endpoint"; + }; + readonly Region: { + readonly type: "builtInParams"; + readonly name: "region"; + }; + readonly UseDualStack: { + readonly type: "builtInParams"; + readonly name: "useDualstackEndpoint"; + }; +}; +export interface EndpointParameters extends __EndpointParameters { + UseDualStack?: boolean | undefined; + UseFIPS?: boolean | undefined; + Endpoint?: string | undefined; + Region?: string | undefined; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/endpointResolver.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/endpointResolver.d.ts new file mode 100644 index 0000000..5909925 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/endpointResolver.d.ts @@ -0,0 +1,8 @@ +import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParameters } from "./EndpointParameters"; +export declare const defaultEndpointResolver: ( + endpointParams: EndpointParameters, + context?: { + logger?: Logger; + } +) => EndpointV2; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/ruleset.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/ruleset.d.ts new file mode 100644 index 0000000..4b23899 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/ruleset.d.ts @@ -0,0 +1,2 @@ +import { RuleSetObject } from "@smithy/types"; +export declare const ruleSet: RuleSetObject; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts new file mode 100644 index 0000000..d017d11 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts @@ -0,0 +1,9 @@ +import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; +import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; +import { DefaultExtensionConfiguration } from "@smithy/types"; +import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; +export interface SigninExtensionConfiguration + extends HttpHandlerExtensionConfiguration, + DefaultExtensionConfiguration, + AwsRegionExtensionConfiguration, + HttpAuthExtensionConfiguration {} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/index.d.ts new file mode 100644 index 0000000..5619b72 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/index.d.ts @@ -0,0 +1,11 @@ +export * from "./SigninClient"; +export * from "./Signin"; +export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; +export { RuntimeExtension } from "./runtimeExtensions"; +export { SigninExtensionConfiguration } from "./extensionConfiguration"; +export * from "./commands"; +export * from "./schemas/schemas_0"; +export * from "./models/enums"; +export * from "./models/errors"; +export * from "./models/models_0"; +export { SigninServiceException } from "./models/SigninServiceException"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts new file mode 100644 index 0000000..3356c49 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts @@ -0,0 +1,9 @@ +import { + ServiceExceptionOptions as __ServiceExceptionOptions, + ServiceException as __ServiceException, +} from "@smithy/smithy-client"; +export { __ServiceExceptionOptions }; +export { __ServiceException }; +export declare class SigninServiceException extends __ServiceException { + constructor(options: __ServiceExceptionOptions); +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts new file mode 100644 index 0000000..dd1fceb --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts @@ -0,0 +1,10 @@ +export declare const OAuth2ErrorCode: { + readonly AUTHCODE_EXPIRED: "AUTHCODE_EXPIRED"; + readonly INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS"; + readonly INVALID_REQUEST: "INVALID_REQUEST"; + readonly SERVER_ERROR: "server_error"; + readonly TOKEN_EXPIRED: "TOKEN_EXPIRED"; + readonly USER_CREDENTIALS_CHANGED: "USER_CREDENTIALS_CHANGED"; +}; +export type OAuth2ErrorCode = + (typeof OAuth2ErrorCode)[keyof typeof OAuth2ErrorCode]; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts new file mode 100644 index 0000000..3818549 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts @@ -0,0 +1,35 @@ +import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; +import { OAuth2ErrorCode } from "./enums"; +import { SigninServiceException as __BaseException } from "./SigninServiceException"; +export declare class AccessDeniedException extends __BaseException { + readonly name: "AccessDeniedException"; + readonly $fault: "client"; + error: OAuth2ErrorCode | undefined; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InternalServerException extends __BaseException { + readonly name: "InternalServerException"; + readonly $fault: "server"; + error: OAuth2ErrorCode | undefined; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class TooManyRequestsError extends __BaseException { + readonly name: "TooManyRequestsError"; + readonly $fault: "client"; + error: OAuth2ErrorCode | undefined; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class ValidationException extends __BaseException { + readonly name: "ValidationException"; + readonly $fault: "client"; + error: OAuth2ErrorCode | undefined; + constructor( + opts: __ExceptionOptionType + ); +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/models_0.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/models_0.d.ts new file mode 100644 index 0000000..ea16c9a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/models_0.d.ts @@ -0,0 +1,26 @@ +export interface AccessToken { + accessKeyId: string | undefined; + secretAccessKey: string | undefined; + sessionToken: string | undefined; +} +export interface CreateOAuth2TokenRequestBody { + clientId: string | undefined; + grantType: string | undefined; + code?: string | undefined; + redirectUri?: string | undefined; + codeVerifier?: string | undefined; + refreshToken?: string | undefined; +} +export interface CreateOAuth2TokenRequest { + tokenInput: CreateOAuth2TokenRequestBody | undefined; +} +export interface CreateOAuth2TokenResponseBody { + accessToken: AccessToken | undefined; + tokenType: string | undefined; + expiresIn: number | undefined; + refreshToken: string | undefined; + idToken?: string | undefined; +} +export interface CreateOAuth2TokenResponse { + tokenOutput: CreateOAuth2TokenResponseBody | undefined; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts new file mode 100644 index 0000000..51c43df --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts @@ -0,0 +1,125 @@ +import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; +import { SigninClientConfig } from "./SigninClient"; +export declare const getRuntimeConfig: (config: SigninClientConfig) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider< + import("@smithy/smithy-client").ResolvedDefaultsMode + >; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + credentialDefaultProvider: + | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) + | (( + _: unknown + ) => () => Promise); + defaultUserAgentProvider: ( + config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved + ) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + region: string | import("@smithy/types").Provider; + requestHandler: + | import("@smithy/protocol-http").HttpHandler + | RequestHandler; + retryMode: string | import("@smithy/types").Provider; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + cacheMiddleware?: boolean | undefined; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsRestJsonProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: + | string + | undefined + | import("@smithy/types").Provider; + retryStrategy?: + | import("@smithy/types").RetryStrategy + | import("@smithy/types").RetryStrategyV2; + endpoint?: + | (( + | string + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + ) & + ( + | string + | import("@smithy/types").Provider + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + )) + | undefined; + endpointProvider: ( + endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: + | import("@smithy/types").HttpAuthScheme[] + | ( + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | undefined; + signer: import("@aws-sdk/core/dist-types/submodules/httpAuthSchemes").AwsSdkSigV4Signer; + } + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + } + )[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SigninHttpAuthSchemeProvider; + credentials?: + | import("@smithy/types").AwsCredentialIdentity + | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: + | import("@smithy/types").RequestSigner + | (( + authScheme?: import("@smithy/types").AuthScheme + ) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new ( + options: import("@smithy/signature-v4").SignatureV4Init & + import("@smithy/signature-v4").SignatureV4CryptoInit + ) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts new file mode 100644 index 0000000..cbafda4 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts @@ -0,0 +1,118 @@ +import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; +import { SigninClientConfig } from "./SigninClient"; +export declare const getRuntimeConfig: (config: SigninClientConfig) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider< + import("@smithy/smithy-client").ResolvedDefaultsMode + >; + authSchemePreference: string[] | import("@smithy/types").Provider; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + defaultUserAgentProvider: ( + config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved + ) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + region: string | import("@smithy/types").Provider; + requestHandler: + | RequestHandler + | import("@smithy/protocol-http").HttpHandler; + retryMode: string | import("@smithy/types").Provider; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + useDualstackEndpoint: boolean | import("@smithy/types").Provider; + useFipsEndpoint: boolean | import("@smithy/types").Provider; + userAgentAppId: string | import("@smithy/types").Provider; + cacheMiddleware?: boolean | undefined; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsRestJsonProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + credentialDefaultProvider?: ( + input: any + ) => import("@smithy/types").AwsCredentialIdentityProvider; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + customUserAgent?: string | import("@smithy/types").UserAgent; + retryStrategy?: + | import("@smithy/types").RetryStrategy + | import("@smithy/types").RetryStrategyV2; + endpoint?: + | (( + | string + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + ) & + ( + | string + | import("@smithy/types").Provider + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + )) + | undefined; + endpointProvider: ( + endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + httpAuthSchemes: + | import("@smithy/types").HttpAuthScheme[] + | ( + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | undefined; + signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; + } + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + } + )[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SigninHttpAuthSchemeProvider; + credentials?: + | import("@smithy/types").AwsCredentialIdentity + | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: + | import("@smithy/types").RequestSigner + | (( + authScheme?: import("@smithy/types").AuthScheme + ) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new ( + options: import("@smithy/signature-v4").SignatureV4Init & + import("@smithy/signature-v4").SignatureV4CryptoInit + ) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts new file mode 100644 index 0000000..3203d3e --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts @@ -0,0 +1,129 @@ +import { SigninClientConfig } from "./SigninClient"; +export declare const getRuntimeConfig: (config: SigninClientConfig) => { + runtime: string; + sha256: import("@smithy/types").HashConstructor; + requestHandler: + | import("@smithy/types").NodeHttpHandlerOptions + | import("@smithy/types").FetchHttpHandlerOptions + | Record + | import("@smithy/protocol-http").HttpHandler + | import("@smithy/fetch-http-handler").FetchHttpHandler; + cacheMiddleware?: boolean; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsRestJsonProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + streamCollector: import("@smithy/types").StreamCollector; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + region: string | import("@smithy/types").Provider; + profile?: string; + defaultUserAgentProvider: ( + config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved + ) => Promise; + credentialDefaultProvider: + | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) + | (( + _: unknown + ) => () => Promise); + maxAttempts: number | import("@smithy/types").Provider; + retryMode: string | import("@smithy/types").Provider; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + defaultsMode: + | import("@smithy/smithy-client").DefaultsMode + | import("@smithy/types").Provider< + import("@smithy/smithy-client").DefaultsMode + >; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: + | string + | undefined + | import("@smithy/types").Provider; + retryStrategy?: + | import("@smithy/types").RetryStrategy + | import("@smithy/types").RetryStrategyV2; + endpoint?: + | (( + | string + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + ) & + ( + | string + | import("@smithy/types").Provider + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + )) + | undefined; + endpointProvider: ( + endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: + | import("@smithy/types").HttpAuthScheme[] + | ( + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | undefined; + signer: import("@aws-sdk/core/dist-types/submodules/httpAuthSchemes").AwsSdkSigV4Signer; + } + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + } + )[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SigninHttpAuthSchemeProvider; + credentials?: + | import("@smithy/types").AwsCredentialIdentity + | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: + | import("@smithy/types").RequestSigner + | (( + authScheme?: import("@smithy/types").AuthScheme + ) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new ( + options: import("@smithy/signature-v4").SignatureV4Init & + import("@smithy/signature-v4").SignatureV4CryptoInit + ) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts new file mode 100644 index 0000000..3be6b7a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts @@ -0,0 +1,58 @@ +import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; +import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols"; +import { NoAuthSigner } from "@smithy/core"; +import { IdentityProviderConfig } from "@smithy/types"; +import { SigninClientConfig } from "./SigninClient"; +export declare const getRuntimeConfig: (config: SigninClientConfig) => { + apiVersion: string; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + disableHostPrefix: boolean; + endpointProvider: ( + endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SigninHttpAuthSchemeProvider; + httpAuthSchemes: + | import("@smithy/types").HttpAuthScheme[] + | ( + | { + schemeId: string; + identityProvider: ( + ipc: IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | undefined; + signer: AwsSdkSigV4Signer; + } + | { + schemeId: string; + identityProvider: ( + ipc: IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | (() => Promise<{}>); + signer: NoAuthSigner; + } + )[]; + logger: import("@smithy/types").Logger; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof AwsRestJsonProtocol; + protocolSettings: { + [setting: string]: unknown; + defaultNamespace?: string; + }; + serviceId: string; + urlParser: import("@smithy/types").UrlParser; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeExtensions.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeExtensions.d.ts new file mode 100644 index 0000000..b62e7d8 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeExtensions.d.ts @@ -0,0 +1,11 @@ +import { SigninExtensionConfiguration } from "./extensionConfiguration"; +export interface RuntimeExtension { + configure(extensionConfiguration: SigninExtensionConfiguration): void; +} +export interface RuntimeExtensionsConfig { + extensions: RuntimeExtension[]; +} +export declare const resolveRuntimeExtensions: ( + runtimeConfig: any, + extensions: RuntimeExtension[] +) => any; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts new file mode 100644 index 0000000..693e44c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts @@ -0,0 +1,18 @@ +import { TypeRegistry } from "@smithy/core/schema"; +import { + StaticErrorSchema, + StaticOperationSchema, + StaticStructureSchema, +} from "@smithy/types"; +export declare var SigninServiceException$: StaticErrorSchema; +export declare var AccessDeniedException$: StaticErrorSchema; +export declare var InternalServerException$: StaticErrorSchema; +export declare var TooManyRequestsError$: StaticErrorSchema; +export declare var ValidationException$: StaticErrorSchema; +export declare const errorTypeRegistries: TypeRegistry[]; +export declare var AccessToken$: StaticStructureSchema; +export declare var CreateOAuth2TokenRequest$: StaticStructureSchema; +export declare var CreateOAuth2TokenRequestBody$: StaticStructureSchema; +export declare var CreateOAuth2TokenResponse$: StaticStructureSchema; +export declare var CreateOAuth2TokenResponseBody$: StaticStructureSchema; +export declare var CreateOAuth2Token$: StaticOperationSchema; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts new file mode 100644 index 0000000..10ee849 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts @@ -0,0 +1,22 @@ +import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; +import { + CreateTokenCommandInput, + CreateTokenCommandOutput, +} from "./commands/CreateTokenCommand"; +import { SSOOIDCClient } from "./SSOOIDCClient"; +export interface SSOOIDC { + createToken( + args: CreateTokenCommandInput, + options?: __HttpHandlerOptions + ): Promise; + createToken( + args: CreateTokenCommandInput, + cb: (err: any, data?: CreateTokenCommandOutput) => void + ): void; + createToken( + args: CreateTokenCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateTokenCommandOutput) => void + ): void; +} +export declare class SSOOIDC extends SSOOIDCClient implements SSOOIDC {} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts new file mode 100644 index 0000000..f1ca1fc --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts @@ -0,0 +1,120 @@ +import { + HostHeaderInputConfig, + HostHeaderResolvedConfig, +} from "@aws-sdk/middleware-host-header"; +import { + UserAgentInputConfig, + UserAgentResolvedConfig, +} from "@aws-sdk/middleware-user-agent"; +import { + RegionInputConfig, + RegionResolvedConfig, +} from "@smithy/config-resolver"; +import { + EndpointInputConfig, + EndpointResolvedConfig, +} from "@smithy/middleware-endpoint"; +import { + RetryInputConfig, + RetryResolvedConfig, +} from "@smithy/middleware-retry"; +import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http"; +import { + DefaultsMode as __DefaultsMode, + SmithyConfiguration as __SmithyConfiguration, + SmithyResolvedConfiguration as __SmithyResolvedConfiguration, + Client as __Client, +} from "@smithy/smithy-client"; +import { + BodyLengthCalculator as __BodyLengthCalculator, + CheckOptionalClientConfig as __CheckOptionalClientConfig, + ChecksumConstructor as __ChecksumConstructor, + Decoder as __Decoder, + Encoder as __Encoder, + HashConstructor as __HashConstructor, + HttpHandlerOptions as __HttpHandlerOptions, + Logger as __Logger, + Provider as __Provider, + StreamCollector as __StreamCollector, + UrlParser as __UrlParser, + UserAgent as __UserAgent, +} from "@smithy/types"; +import { + HttpAuthSchemeInputConfig, + HttpAuthSchemeResolvedConfig, +} from "./auth/httpAuthSchemeProvider"; +import { + CreateTokenCommandInput, + CreateTokenCommandOutput, +} from "./commands/CreateTokenCommand"; +import { + ClientInputEndpointParameters, + ClientResolvedEndpointParameters, + EndpointParameters, +} from "./endpoint/EndpointParameters"; +import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions"; +export { __Client }; +export type ServiceInputTypes = CreateTokenCommandInput; +export type ServiceOutputTypes = CreateTokenCommandOutput; +export interface ClientDefaults + extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { + requestHandler?: __HttpHandlerUserInput; + sha256?: __ChecksumConstructor | __HashConstructor; + urlParser?: __UrlParser; + bodyLengthChecker?: __BodyLengthCalculator; + streamCollector?: __StreamCollector; + base64Decoder?: __Decoder; + base64Encoder?: __Encoder; + utf8Decoder?: __Decoder; + utf8Encoder?: __Encoder; + runtime?: string; + disableHostPrefix?: boolean; + serviceId?: string; + useDualstackEndpoint?: boolean | __Provider; + useFipsEndpoint?: boolean | __Provider; + region?: string | __Provider; + profile?: string; + defaultUserAgentProvider?: __Provider<__UserAgent>; + maxAttempts?: number | __Provider; + retryMode?: string | __Provider; + logger?: __Logger; + extensions?: RuntimeExtension[]; + defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; +} +export type SSOOIDCClientConfigType = Partial< + __SmithyConfiguration<__HttpHandlerOptions> +> & + ClientDefaults & + UserAgentInputConfig & + RetryInputConfig & + RegionInputConfig & + HostHeaderInputConfig & + EndpointInputConfig & + HttpAuthSchemeInputConfig & + ClientInputEndpointParameters; +export interface SSOOIDCClientConfig extends SSOOIDCClientConfigType {} +export type SSOOIDCClientResolvedConfigType = + __SmithyResolvedConfiguration<__HttpHandlerOptions> & + Required & + RuntimeExtensionsConfig & + UserAgentResolvedConfig & + RetryResolvedConfig & + RegionResolvedConfig & + HostHeaderResolvedConfig & + EndpointResolvedConfig & + HttpAuthSchemeResolvedConfig & + ClientResolvedEndpointParameters; +export interface SSOOIDCClientResolvedConfig + extends SSOOIDCClientResolvedConfigType {} +export declare class SSOOIDCClient extends __Client< + __HttpHandlerOptions, + ServiceInputTypes, + ServiceOutputTypes, + SSOOIDCClientResolvedConfig +> { + readonly config: SSOOIDCClientResolvedConfig; + constructor( + ...[configuration]: __CheckOptionalClientConfig + ); + destroy(): void; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts new file mode 100644 index 0000000..c39ba91 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts @@ -0,0 +1,32 @@ +import { + AwsCredentialIdentity, + AwsCredentialIdentityProvider, + HttpAuthScheme, +} from "@smithy/types"; +import { SSOOIDCHttpAuthSchemeProvider } from "./httpAuthSchemeProvider"; +export interface HttpAuthExtensionConfiguration { + setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void; + httpAuthSchemes(): HttpAuthScheme[]; + setHttpAuthSchemeProvider( + httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider + ): void; + httpAuthSchemeProvider(): SSOOIDCHttpAuthSchemeProvider; + setCredentials( + credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider + ): void; + credentials(): + | AwsCredentialIdentity + | AwsCredentialIdentityProvider + | undefined; +} +export type HttpAuthRuntimeConfig = Partial<{ + httpAuthSchemes: HttpAuthScheme[]; + httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider; + credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider; +}>; +export declare const getHttpAuthExtensionConfiguration: ( + runtimeConfig: HttpAuthRuntimeConfig +) => HttpAuthExtensionConfiguration; +export declare const resolveHttpAuthRuntimeConfig: ( + config: HttpAuthExtensionConfiguration +) => HttpAuthRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts new file mode 100644 index 0000000..ccbc4e7 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts @@ -0,0 +1,47 @@ +import { + AwsSdkSigV4AuthInputConfig, + AwsSdkSigV4AuthResolvedConfig, + AwsSdkSigV4PreviouslyResolved, +} from "@aws-sdk/core/httpAuthSchemes"; +import { + HandlerExecutionContext, + HttpAuthScheme, + HttpAuthSchemeParameters, + HttpAuthSchemeParametersProvider, + HttpAuthSchemeProvider, + Provider, +} from "@smithy/types"; +import { SSOOIDCClientResolvedConfig } from "../SSOOIDCClient"; +export interface SSOOIDCHttpAuthSchemeParameters + extends HttpAuthSchemeParameters { + region?: string; +} +export interface SSOOIDCHttpAuthSchemeParametersProvider + extends HttpAuthSchemeParametersProvider< + SSOOIDCClientResolvedConfig, + HandlerExecutionContext, + SSOOIDCHttpAuthSchemeParameters, + object + > {} +export declare const defaultSSOOIDCHttpAuthSchemeParametersProvider: ( + config: SSOOIDCClientResolvedConfig, + context: HandlerExecutionContext, + input: object +) => Promise; +export interface SSOOIDCHttpAuthSchemeProvider + extends HttpAuthSchemeProvider {} +export declare const defaultSSOOIDCHttpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider; +export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig { + authSchemePreference?: string[] | Provider; + httpAuthSchemes?: HttpAuthScheme[]; + httpAuthSchemeProvider?: SSOOIDCHttpAuthSchemeProvider; +} +export interface HttpAuthSchemeResolvedConfig + extends AwsSdkSigV4AuthResolvedConfig { + readonly authSchemePreference: Provider; + readonly httpAuthSchemes: HttpAuthScheme[]; + readonly httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider; +} +export declare const resolveHttpAuthSchemeConfig: ( + config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved +) => T & HttpAuthSchemeResolvedConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts new file mode 100644 index 0000000..bcf1e7a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts @@ -0,0 +1,43 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { CreateTokenRequest, CreateTokenResponse } from "../models/models_0"; +import { SSOOIDCClientResolvedConfig } from "../SSOOIDCClient"; +export { __MetadataBearer }; +export { $Command }; +export interface CreateTokenCommandInput extends CreateTokenRequest {} +export interface CreateTokenCommandOutput + extends CreateTokenResponse, + __MetadataBearer {} +declare const CreateTokenCommand_base: { + new ( + input: CreateTokenCommandInput + ): import("@smithy/smithy-client").CommandImpl< + CreateTokenCommandInput, + CreateTokenCommandOutput, + SSOOIDCClientResolvedConfig, + CreateTokenCommandInput, + CreateTokenCommandOutput + >; + new ( + input: CreateTokenCommandInput + ): import("@smithy/smithy-client").CommandImpl< + CreateTokenCommandInput, + CreateTokenCommandOutput, + SSOOIDCClientResolvedConfig, + CreateTokenCommandInput, + CreateTokenCommandOutput + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class CreateTokenCommand extends CreateTokenCommand_base { + protected static __types: { + api: { + input: CreateTokenRequest; + output: CreateTokenResponse; + }; + sdk: { + input: CreateTokenCommandInput; + output: CreateTokenCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/index.d.ts new file mode 100644 index 0000000..09214ca --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/index.d.ts @@ -0,0 +1 @@ +export * from "./CreateTokenCommand"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts new file mode 100644 index 0000000..c4baac5 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts @@ -0,0 +1,51 @@ +import { + Endpoint, + EndpointParameters as __EndpointParameters, + EndpointV2, + Provider, +} from "@smithy/types"; +export interface ClientInputEndpointParameters { + region?: string | undefined | Provider; + useDualstackEndpoint?: boolean | undefined | Provider; + useFipsEndpoint?: boolean | undefined | Provider; + endpoint?: + | string + | Provider + | Endpoint + | Provider + | EndpointV2 + | Provider; +} +export type ClientResolvedEndpointParameters = Pick< + ClientInputEndpointParameters, + Exclude +> & { + defaultSigningName: string; +}; +export declare const resolveClientEndpointParameters: ( + options: T & ClientInputEndpointParameters +) => T & ClientResolvedEndpointParameters; +export declare const commonParams: { + readonly UseFIPS: { + readonly type: "builtInParams"; + readonly name: "useFipsEndpoint"; + }; + readonly Endpoint: { + readonly type: "builtInParams"; + readonly name: "endpoint"; + }; + readonly Region: { + readonly type: "builtInParams"; + readonly name: "region"; + }; + readonly UseDualStack: { + readonly type: "builtInParams"; + readonly name: "useDualstackEndpoint"; + }; +}; +export interface EndpointParameters extends __EndpointParameters { + Region?: string | undefined; + UseDualStack?: boolean | undefined; + UseFIPS?: boolean | undefined; + Endpoint?: string | undefined; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/endpointResolver.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/endpointResolver.d.ts new file mode 100644 index 0000000..5909925 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/endpointResolver.d.ts @@ -0,0 +1,8 @@ +import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParameters } from "./EndpointParameters"; +export declare const defaultEndpointResolver: ( + endpointParams: EndpointParameters, + context?: { + logger?: Logger; + } +) => EndpointV2; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/ruleset.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/ruleset.d.ts new file mode 100644 index 0000000..4b23899 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/ruleset.d.ts @@ -0,0 +1,2 @@ +import { RuleSetObject } from "@smithy/types"; +export declare const ruleSet: RuleSetObject; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/extensionConfiguration.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/extensionConfiguration.d.ts new file mode 100644 index 0000000..c208e33 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/extensionConfiguration.d.ts @@ -0,0 +1,9 @@ +import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; +import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; +import { DefaultExtensionConfiguration } from "@smithy/types"; +import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; +export interface SSOOIDCExtensionConfiguration + extends HttpHandlerExtensionConfiguration, + DefaultExtensionConfiguration, + AwsRegionExtensionConfiguration, + HttpAuthExtensionConfiguration {} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/index.d.ts new file mode 100644 index 0000000..e64e68a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/index.d.ts @@ -0,0 +1,11 @@ +export * from "./SSOOIDCClient"; +export * from "./SSOOIDC"; +export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; +export { RuntimeExtension } from "./runtimeExtensions"; +export { SSOOIDCExtensionConfiguration } from "./extensionConfiguration"; +export * from "./commands"; +export * from "./schemas/schemas_0"; +export * from "./models/enums"; +export * from "./models/errors"; +export * from "./models/models_0"; +export { SSOOIDCServiceException } from "./models/SSOOIDCServiceException"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts new file mode 100644 index 0000000..c7318f2 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts @@ -0,0 +1,9 @@ +import { + ServiceExceptionOptions as __ServiceExceptionOptions, + ServiceException as __ServiceException, +} from "@smithy/smithy-client"; +export { __ServiceExceptionOptions }; +export { __ServiceException }; +export declare class SSOOIDCServiceException extends __ServiceException { + constructor(options: __ServiceExceptionOptions); +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/enums.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/enums.d.ts new file mode 100644 index 0000000..9028dae --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/enums.d.ts @@ -0,0 +1,13 @@ +export declare const AccessDeniedExceptionReason: { + readonly KMS_ACCESS_DENIED: "KMS_AccessDeniedException"; +}; +export type AccessDeniedExceptionReason = + (typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason]; +export declare const InvalidRequestExceptionReason: { + readonly KMS_DISABLED_KEY: "KMS_DisabledException"; + readonly KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException"; + readonly KMS_INVALID_STATE: "KMS_InvalidStateException"; + readonly KMS_KEY_NOT_FOUND: "KMS_NotFoundException"; +}; +export type InvalidRequestExceptionReason = + (typeof InvalidRequestExceptionReason)[keyof typeof InvalidRequestExceptionReason]; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts new file mode 100644 index 0000000..2037dfe --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts @@ -0,0 +1,105 @@ +import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; +import { + AccessDeniedExceptionReason, + InvalidRequestExceptionReason, +} from "./enums"; +import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException"; +export declare class AccessDeniedException extends __BaseException { + readonly name: "AccessDeniedException"; + readonly $fault: "client"; + error?: string | undefined; + reason?: AccessDeniedExceptionReason | undefined; + error_description?: string | undefined; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class AuthorizationPendingException extends __BaseException { + readonly name: "AuthorizationPendingException"; + readonly $fault: "client"; + error?: string | undefined; + error_description?: string | undefined; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class ExpiredTokenException extends __BaseException { + readonly name: "ExpiredTokenException"; + readonly $fault: "client"; + error?: string | undefined; + error_description?: string | undefined; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InternalServerException extends __BaseException { + readonly name: "InternalServerException"; + readonly $fault: "server"; + error?: string | undefined; + error_description?: string | undefined; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InvalidClientException extends __BaseException { + readonly name: "InvalidClientException"; + readonly $fault: "client"; + error?: string | undefined; + error_description?: string | undefined; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InvalidGrantException extends __BaseException { + readonly name: "InvalidGrantException"; + readonly $fault: "client"; + error?: string | undefined; + error_description?: string | undefined; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InvalidRequestException extends __BaseException { + readonly name: "InvalidRequestException"; + readonly $fault: "client"; + error?: string | undefined; + reason?: InvalidRequestExceptionReason | undefined; + error_description?: string | undefined; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InvalidScopeException extends __BaseException { + readonly name: "InvalidScopeException"; + readonly $fault: "client"; + error?: string | undefined; + error_description?: string | undefined; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class SlowDownException extends __BaseException { + readonly name: "SlowDownException"; + readonly $fault: "client"; + error?: string | undefined; + error_description?: string | undefined; + constructor(opts: __ExceptionOptionType); +} +export declare class UnauthorizedClientException extends __BaseException { + readonly name: "UnauthorizedClientException"; + readonly $fault: "client"; + error?: string | undefined; + error_description?: string | undefined; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class UnsupportedGrantTypeException extends __BaseException { + readonly name: "UnsupportedGrantTypeException"; + readonly $fault: "client"; + error?: string | undefined; + error_description?: string | undefined; + constructor( + opts: __ExceptionOptionType + ); +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts new file mode 100644 index 0000000..16216b6 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts @@ -0,0 +1,18 @@ +export interface CreateTokenRequest { + clientId: string | undefined; + clientSecret: string | undefined; + grantType: string | undefined; + deviceCode?: string | undefined; + code?: string | undefined; + refreshToken?: string | undefined; + scope?: string[] | undefined; + redirectUri?: string | undefined; + codeVerifier?: string | undefined; +} +export interface CreateTokenResponse { + accessToken?: string | undefined; + tokenType?: string | undefined; + expiresIn?: number | undefined; + refreshToken?: string | undefined; + idToken?: string | undefined; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts new file mode 100644 index 0000000..4c67f3b --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts @@ -0,0 +1,120 @@ +import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; +import { SSOOIDCClientConfig } from "./SSOOIDCClient"; +export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider< + import("@smithy/smithy-client").ResolvedDefaultsMode + >; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + defaultUserAgentProvider: ( + config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved + ) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + region: string | import("@smithy/types").Provider; + requestHandler: + | import("@smithy/protocol-http").HttpHandler + | RequestHandler; + retryMode: string | import("@smithy/types").Provider; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + cacheMiddleware?: boolean | undefined; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsRestJsonProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: + | string + | undefined + | import("@smithy/types").Provider; + retryStrategy?: + | import("@smithy/types").RetryStrategy + | import("@smithy/types").RetryStrategyV2; + endpoint?: + | (( + | string + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + ) & + ( + | string + | import("@smithy/types").Provider + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + )) + | undefined; + endpointProvider: ( + endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: + | import("@smithy/types").HttpAuthScheme[] + | ( + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | undefined; + signer: import("@aws-sdk/core/dist-types/submodules/httpAuthSchemes").AwsSdkSigV4Signer; + } + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + } + )[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider; + credentials?: + | import("@smithy/types").AwsCredentialIdentity + | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: + | import("@smithy/types").RequestSigner + | (( + authScheme?: import("@smithy/types").AuthScheme + ) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new ( + options: import("@smithy/signature-v4").SignatureV4Init & + import("@smithy/signature-v4").SignatureV4CryptoInit + ) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts new file mode 100644 index 0000000..4a1908a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts @@ -0,0 +1,115 @@ +import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; +import { SSOOIDCClientConfig } from "./SSOOIDCClient"; +export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider< + import("@smithy/smithy-client").ResolvedDefaultsMode + >; + authSchemePreference: string[] | import("@smithy/types").Provider; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + defaultUserAgentProvider: ( + config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved + ) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + region: string | import("@smithy/types").Provider; + requestHandler: + | RequestHandler + | import("@smithy/protocol-http").HttpHandler; + retryMode: string | import("@smithy/types").Provider; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + useDualstackEndpoint: boolean | import("@smithy/types").Provider; + useFipsEndpoint: boolean | import("@smithy/types").Provider; + userAgentAppId: string | import("@smithy/types").Provider; + cacheMiddleware?: boolean | undefined; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsRestJsonProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + customUserAgent?: string | import("@smithy/types").UserAgent; + retryStrategy?: + | import("@smithy/types").RetryStrategy + | import("@smithy/types").RetryStrategyV2; + endpoint?: + | (( + | string + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + ) & + ( + | string + | import("@smithy/types").Provider + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + )) + | undefined; + endpointProvider: ( + endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + httpAuthSchemes: + | import("@smithy/types").HttpAuthScheme[] + | ( + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | undefined; + signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; + } + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + } + )[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider; + credentials?: + | import("@smithy/types").AwsCredentialIdentity + | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: + | import("@smithy/types").RequestSigner + | (( + authScheme?: import("@smithy/types").AuthScheme + ) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new ( + options: import("@smithy/signature-v4").SignatureV4Init & + import("@smithy/signature-v4").SignatureV4CryptoInit + ) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts new file mode 100644 index 0000000..adbd350 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts @@ -0,0 +1,124 @@ +import { SSOOIDCClientConfig } from "./SSOOIDCClient"; +export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => { + runtime: string; + sha256: import("@smithy/types").HashConstructor; + requestHandler: + | import("@smithy/types").NodeHttpHandlerOptions + | import("@smithy/types").FetchHttpHandlerOptions + | Record + | import("@smithy/protocol-http").HttpHandler + | import("@smithy/fetch-http-handler").FetchHttpHandler; + cacheMiddleware?: boolean; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsRestJsonProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + streamCollector: import("@smithy/types").StreamCollector; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + region: string | import("@smithy/types").Provider; + profile?: string; + defaultUserAgentProvider: ( + config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved + ) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + retryMode: string | import("@smithy/types").Provider; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + defaultsMode: + | import("@smithy/smithy-client").DefaultsMode + | import("@smithy/types").Provider< + import("@smithy/smithy-client").DefaultsMode + >; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: + | string + | undefined + | import("@smithy/types").Provider; + retryStrategy?: + | import("@smithy/types").RetryStrategy + | import("@smithy/types").RetryStrategyV2; + endpoint?: + | (( + | string + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + ) & + ( + | string + | import("@smithy/types").Provider + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + )) + | undefined; + endpointProvider: ( + endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: + | import("@smithy/types").HttpAuthScheme[] + | ( + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | undefined; + signer: import("@aws-sdk/core/dist-types/submodules/httpAuthSchemes").AwsSdkSigV4Signer; + } + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + } + )[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider; + credentials?: + | import("@smithy/types").AwsCredentialIdentity + | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: + | import("@smithy/types").RequestSigner + | (( + authScheme?: import("@smithy/types").AuthScheme + ) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new ( + options: import("@smithy/signature-v4").SignatureV4Init & + import("@smithy/signature-v4").SignatureV4CryptoInit + ) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts new file mode 100644 index 0000000..0cade97 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts @@ -0,0 +1,58 @@ +import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; +import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols"; +import { NoAuthSigner } from "@smithy/core"; +import { IdentityProviderConfig } from "@smithy/types"; +import { SSOOIDCClientConfig } from "./SSOOIDCClient"; +export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => { + apiVersion: string; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + disableHostPrefix: boolean; + endpointProvider: ( + endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider; + httpAuthSchemes: + | import("@smithy/types").HttpAuthScheme[] + | ( + | { + schemeId: string; + identityProvider: ( + ipc: IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | undefined; + signer: AwsSdkSigV4Signer; + } + | { + schemeId: string; + identityProvider: ( + ipc: IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | (() => Promise<{}>); + signer: NoAuthSigner; + } + )[]; + logger: import("@smithy/types").Logger; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof AwsRestJsonProtocol; + protocolSettings: { + [setting: string]: unknown; + defaultNamespace?: string; + }; + serviceId: string; + urlParser: import("@smithy/types").UrlParser; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeExtensions.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeExtensions.d.ts new file mode 100644 index 0000000..d226882 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeExtensions.d.ts @@ -0,0 +1,11 @@ +import { SSOOIDCExtensionConfiguration } from "./extensionConfiguration"; +export interface RuntimeExtension { + configure(extensionConfiguration: SSOOIDCExtensionConfiguration): void; +} +export interface RuntimeExtensionsConfig { + extensions: RuntimeExtension[]; +} +export declare const resolveRuntimeExtensions: ( + runtimeConfig: any, + extensions: RuntimeExtension[] +) => any; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts new file mode 100644 index 0000000..446e4fb --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts @@ -0,0 +1,22 @@ +import { TypeRegistry } from "@smithy/core/schema"; +import { + StaticErrorSchema, + StaticOperationSchema, + StaticStructureSchema, +} from "@smithy/types"; +export declare var SSOOIDCServiceException$: StaticErrorSchema; +export declare var AccessDeniedException$: StaticErrorSchema; +export declare var AuthorizationPendingException$: StaticErrorSchema; +export declare var ExpiredTokenException$: StaticErrorSchema; +export declare var InternalServerException$: StaticErrorSchema; +export declare var InvalidClientException$: StaticErrorSchema; +export declare var InvalidGrantException$: StaticErrorSchema; +export declare var InvalidRequestException$: StaticErrorSchema; +export declare var InvalidScopeException$: StaticErrorSchema; +export declare var SlowDownException$: StaticErrorSchema; +export declare var UnauthorizedClientException$: StaticErrorSchema; +export declare var UnsupportedGrantTypeException$: StaticErrorSchema; +export declare const errorTypeRegistries: TypeRegistry[]; +export declare var CreateTokenRequest$: StaticStructureSchema; +export declare var CreateTokenResponse$: StaticStructureSchema; +export declare var CreateToken$: StaticOperationSchema; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts new file mode 100644 index 0000000..aaf6628 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts @@ -0,0 +1,22 @@ +import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; +import { + GetRoleCredentialsCommandInput, + GetRoleCredentialsCommandOutput, +} from "./commands/GetRoleCredentialsCommand"; +import { SSOClient } from "./SSOClient"; +export interface SSO { + getRoleCredentials( + args: GetRoleCredentialsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getRoleCredentials( + args: GetRoleCredentialsCommandInput, + cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void + ): void; + getRoleCredentials( + args: GetRoleCredentialsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void + ): void; +} +export declare class SSO extends SSOClient implements SSO {} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSOClient.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSOClient.d.ts new file mode 100644 index 0000000..42bfcc0 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSOClient.d.ts @@ -0,0 +1,117 @@ +import { + HostHeaderInputConfig, + HostHeaderResolvedConfig, +} from "@aws-sdk/middleware-host-header"; +import { + UserAgentInputConfig, + UserAgentResolvedConfig, +} from "@aws-sdk/middleware-user-agent"; +import { + RegionInputConfig, + RegionResolvedConfig, +} from "@smithy/config-resolver"; +import { + EndpointInputConfig, + EndpointResolvedConfig, +} from "@smithy/middleware-endpoint"; +import { + RetryInputConfig, + RetryResolvedConfig, +} from "@smithy/middleware-retry"; +import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http"; +import { + DefaultsMode as __DefaultsMode, + SmithyConfiguration as __SmithyConfiguration, + SmithyResolvedConfiguration as __SmithyResolvedConfiguration, + Client as __Client, +} from "@smithy/smithy-client"; +import { + BodyLengthCalculator as __BodyLengthCalculator, + CheckOptionalClientConfig as __CheckOptionalClientConfig, + ChecksumConstructor as __ChecksumConstructor, + Decoder as __Decoder, + Encoder as __Encoder, + HashConstructor as __HashConstructor, + HttpHandlerOptions as __HttpHandlerOptions, + Logger as __Logger, + Provider as __Provider, + StreamCollector as __StreamCollector, + UrlParser as __UrlParser, + UserAgent as __UserAgent, +} from "@smithy/types"; +import { + HttpAuthSchemeInputConfig, + HttpAuthSchemeResolvedConfig, +} from "./auth/httpAuthSchemeProvider"; +import { + GetRoleCredentialsCommandInput, + GetRoleCredentialsCommandOutput, +} from "./commands/GetRoleCredentialsCommand"; +import { + ClientInputEndpointParameters, + ClientResolvedEndpointParameters, + EndpointParameters, +} from "./endpoint/EndpointParameters"; +import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions"; +export { __Client }; +export type ServiceInputTypes = GetRoleCredentialsCommandInput; +export type ServiceOutputTypes = GetRoleCredentialsCommandOutput; +export interface ClientDefaults + extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { + requestHandler?: __HttpHandlerUserInput; + sha256?: __ChecksumConstructor | __HashConstructor; + urlParser?: __UrlParser; + bodyLengthChecker?: __BodyLengthCalculator; + streamCollector?: __StreamCollector; + base64Decoder?: __Decoder; + base64Encoder?: __Encoder; + utf8Decoder?: __Decoder; + utf8Encoder?: __Encoder; + runtime?: string; + disableHostPrefix?: boolean; + serviceId?: string; + useDualstackEndpoint?: boolean | __Provider; + useFipsEndpoint?: boolean | __Provider; + region?: string | __Provider; + profile?: string; + defaultUserAgentProvider?: __Provider<__UserAgent>; + maxAttempts?: number | __Provider; + retryMode?: string | __Provider; + logger?: __Logger; + extensions?: RuntimeExtension[]; + defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; +} +export type SSOClientConfigType = Partial< + __SmithyConfiguration<__HttpHandlerOptions> +> & + ClientDefaults & + UserAgentInputConfig & + RetryInputConfig & + RegionInputConfig & + HostHeaderInputConfig & + EndpointInputConfig & + HttpAuthSchemeInputConfig & + ClientInputEndpointParameters; +export interface SSOClientConfig extends SSOClientConfigType {} +export type SSOClientResolvedConfigType = + __SmithyResolvedConfiguration<__HttpHandlerOptions> & + Required & + RuntimeExtensionsConfig & + UserAgentResolvedConfig & + RetryResolvedConfig & + RegionResolvedConfig & + HostHeaderResolvedConfig & + EndpointResolvedConfig & + HttpAuthSchemeResolvedConfig & + ClientResolvedEndpointParameters; +export interface SSOClientResolvedConfig extends SSOClientResolvedConfigType {} +export declare class SSOClient extends __Client< + __HttpHandlerOptions, + ServiceInputTypes, + ServiceOutputTypes, + SSOClientResolvedConfig +> { + readonly config: SSOClientResolvedConfig; + constructor(...[configuration]: __CheckOptionalClientConfig); + destroy(): void; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts new file mode 100644 index 0000000..29f38b3 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts @@ -0,0 +1,32 @@ +import { + AwsCredentialIdentity, + AwsCredentialIdentityProvider, + HttpAuthScheme, +} from "@smithy/types"; +import { SSOHttpAuthSchemeProvider } from "./httpAuthSchemeProvider"; +export interface HttpAuthExtensionConfiguration { + setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void; + httpAuthSchemes(): HttpAuthScheme[]; + setHttpAuthSchemeProvider( + httpAuthSchemeProvider: SSOHttpAuthSchemeProvider + ): void; + httpAuthSchemeProvider(): SSOHttpAuthSchemeProvider; + setCredentials( + credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider + ): void; + credentials(): + | AwsCredentialIdentity + | AwsCredentialIdentityProvider + | undefined; +} +export type HttpAuthRuntimeConfig = Partial<{ + httpAuthSchemes: HttpAuthScheme[]; + httpAuthSchemeProvider: SSOHttpAuthSchemeProvider; + credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider; +}>; +export declare const getHttpAuthExtensionConfiguration: ( + runtimeConfig: HttpAuthRuntimeConfig +) => HttpAuthExtensionConfiguration; +export declare const resolveHttpAuthRuntimeConfig: ( + config: HttpAuthExtensionConfiguration +) => HttpAuthRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthSchemeProvider.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthSchemeProvider.d.ts new file mode 100644 index 0000000..563d970 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthSchemeProvider.d.ts @@ -0,0 +1,46 @@ +import { + AwsSdkSigV4AuthInputConfig, + AwsSdkSigV4AuthResolvedConfig, + AwsSdkSigV4PreviouslyResolved, +} from "@aws-sdk/core/httpAuthSchemes"; +import { + HandlerExecutionContext, + HttpAuthScheme, + HttpAuthSchemeParameters, + HttpAuthSchemeParametersProvider, + HttpAuthSchemeProvider, + Provider, +} from "@smithy/types"; +import { SSOClientResolvedConfig } from "../SSOClient"; +export interface SSOHttpAuthSchemeParameters extends HttpAuthSchemeParameters { + region?: string; +} +export interface SSOHttpAuthSchemeParametersProvider + extends HttpAuthSchemeParametersProvider< + SSOClientResolvedConfig, + HandlerExecutionContext, + SSOHttpAuthSchemeParameters, + object + > {} +export declare const defaultSSOHttpAuthSchemeParametersProvider: ( + config: SSOClientResolvedConfig, + context: HandlerExecutionContext, + input: object +) => Promise; +export interface SSOHttpAuthSchemeProvider + extends HttpAuthSchemeProvider {} +export declare const defaultSSOHttpAuthSchemeProvider: SSOHttpAuthSchemeProvider; +export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig { + authSchemePreference?: string[] | Provider; + httpAuthSchemes?: HttpAuthScheme[]; + httpAuthSchemeProvider?: SSOHttpAuthSchemeProvider; +} +export interface HttpAuthSchemeResolvedConfig + extends AwsSdkSigV4AuthResolvedConfig { + readonly authSchemePreference: Provider; + readonly httpAuthSchemes: HttpAuthScheme[]; + readonly httpAuthSchemeProvider: SSOHttpAuthSchemeProvider; +} +export declare const resolveHttpAuthSchemeConfig: ( + config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved +) => T & HttpAuthSchemeResolvedConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts new file mode 100644 index 0000000..6b58e62 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + GetRoleCredentialsRequest, + GetRoleCredentialsResponse, +} from "../models/models_0"; +import { SSOClientResolvedConfig } from "../SSOClient"; +export { __MetadataBearer }; +export { $Command }; +export interface GetRoleCredentialsCommandInput + extends GetRoleCredentialsRequest {} +export interface GetRoleCredentialsCommandOutput + extends GetRoleCredentialsResponse, + __MetadataBearer {} +declare const GetRoleCredentialsCommand_base: { + new ( + input: GetRoleCredentialsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetRoleCredentialsCommandInput, + GetRoleCredentialsCommandOutput, + SSOClientResolvedConfig, + GetRoleCredentialsCommandInput, + GetRoleCredentialsCommandOutput + >; + new ( + input: GetRoleCredentialsCommandInput + ): import("@smithy/smithy-client").CommandImpl< + GetRoleCredentialsCommandInput, + GetRoleCredentialsCommandOutput, + SSOClientResolvedConfig, + GetRoleCredentialsCommandInput, + GetRoleCredentialsCommandOutput + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class GetRoleCredentialsCommand extends GetRoleCredentialsCommand_base { + protected static __types: { + api: { + input: GetRoleCredentialsRequest; + output: GetRoleCredentialsResponse; + }; + sdk: { + input: GetRoleCredentialsCommandInput; + output: GetRoleCredentialsCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/index.d.ts new file mode 100644 index 0000000..69ba055 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/index.d.ts @@ -0,0 +1 @@ +export * from "./GetRoleCredentialsCommand"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts new file mode 100644 index 0000000..c4baac5 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts @@ -0,0 +1,51 @@ +import { + Endpoint, + EndpointParameters as __EndpointParameters, + EndpointV2, + Provider, +} from "@smithy/types"; +export interface ClientInputEndpointParameters { + region?: string | undefined | Provider; + useDualstackEndpoint?: boolean | undefined | Provider; + useFipsEndpoint?: boolean | undefined | Provider; + endpoint?: + | string + | Provider + | Endpoint + | Provider + | EndpointV2 + | Provider; +} +export type ClientResolvedEndpointParameters = Pick< + ClientInputEndpointParameters, + Exclude +> & { + defaultSigningName: string; +}; +export declare const resolveClientEndpointParameters: ( + options: T & ClientInputEndpointParameters +) => T & ClientResolvedEndpointParameters; +export declare const commonParams: { + readonly UseFIPS: { + readonly type: "builtInParams"; + readonly name: "useFipsEndpoint"; + }; + readonly Endpoint: { + readonly type: "builtInParams"; + readonly name: "endpoint"; + }; + readonly Region: { + readonly type: "builtInParams"; + readonly name: "region"; + }; + readonly UseDualStack: { + readonly type: "builtInParams"; + readonly name: "useDualstackEndpoint"; + }; +}; +export interface EndpointParameters extends __EndpointParameters { + Region?: string | undefined; + UseDualStack?: boolean | undefined; + UseFIPS?: boolean | undefined; + Endpoint?: string | undefined; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts new file mode 100644 index 0000000..5909925 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts @@ -0,0 +1,8 @@ +import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParameters } from "./EndpointParameters"; +export declare const defaultEndpointResolver: ( + endpointParams: EndpointParameters, + context?: { + logger?: Logger; + } +) => EndpointV2; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/ruleset.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/ruleset.d.ts new file mode 100644 index 0000000..4b23899 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/ruleset.d.ts @@ -0,0 +1,2 @@ +import { RuleSetObject } from "@smithy/types"; +export declare const ruleSet: RuleSetObject; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/extensionConfiguration.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/extensionConfiguration.d.ts new file mode 100644 index 0000000..c1b43ff --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/extensionConfiguration.d.ts @@ -0,0 +1,9 @@ +import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; +import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; +import { DefaultExtensionConfiguration } from "@smithy/types"; +import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; +export interface SSOExtensionConfiguration + extends HttpHandlerExtensionConfiguration, + DefaultExtensionConfiguration, + AwsRegionExtensionConfiguration, + HttpAuthExtensionConfiguration {} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/index.d.ts new file mode 100644 index 0000000..3c592ed --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/index.d.ts @@ -0,0 +1,10 @@ +export * from "./SSOClient"; +export * from "./SSO"; +export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; +export { RuntimeExtension } from "./runtimeExtensions"; +export { SSOExtensionConfiguration } from "./extensionConfiguration"; +export * from "./commands"; +export * from "./schemas/schemas_0"; +export * from "./models/errors"; +export * from "./models/models_0"; +export { SSOServiceException } from "./models/SSOServiceException"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/SSOServiceException.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/SSOServiceException.d.ts new file mode 100644 index 0000000..4ab1cb2 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/SSOServiceException.d.ts @@ -0,0 +1,9 @@ +import { + ServiceExceptionOptions as __ServiceExceptionOptions, + ServiceException as __ServiceException, +} from "@smithy/smithy-client"; +export { __ServiceExceptionOptions }; +export { __ServiceException }; +export declare class SSOServiceException extends __ServiceException { + constructor(options: __ServiceExceptionOptions); +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/errors.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/errors.d.ts new file mode 100644 index 0000000..2a2eaf7 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/errors.d.ts @@ -0,0 +1,30 @@ +import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; +import { SSOServiceException as __BaseException } from "./SSOServiceException"; +export declare class InvalidRequestException extends __BaseException { + readonly name: "InvalidRequestException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class ResourceNotFoundException extends __BaseException { + readonly name: "ResourceNotFoundException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class TooManyRequestsException extends __BaseException { + readonly name: "TooManyRequestsException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class UnauthorizedException extends __BaseException { + readonly name: "UnauthorizedException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/models_0.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/models_0.d.ts new file mode 100644 index 0000000..0eac104 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/models_0.d.ts @@ -0,0 +1,14 @@ +export interface GetRoleCredentialsRequest { + roleName: string | undefined; + accountId: string | undefined; + accessToken: string | undefined; +} +export interface RoleCredentials { + accessKeyId?: string | undefined; + secretAccessKey?: string | undefined; + sessionToken?: string | undefined; + expiration?: number | undefined; +} +export interface GetRoleCredentialsResponse { + roleCredentials?: RoleCredentials | undefined; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts new file mode 100644 index 0000000..7b73418 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts @@ -0,0 +1,120 @@ +import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; +import { SSOClientConfig } from "./SSOClient"; +export declare const getRuntimeConfig: (config: SSOClientConfig) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider< + import("@smithy/smithy-client").ResolvedDefaultsMode + >; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + defaultUserAgentProvider: ( + config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved + ) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + region: string | import("@smithy/types").Provider; + requestHandler: + | import("@smithy/protocol-http").HttpHandler + | RequestHandler; + retryMode: string | import("@smithy/types").Provider; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + cacheMiddleware?: boolean | undefined; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsRestJsonProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: + | string + | undefined + | import("@smithy/types").Provider; + retryStrategy?: + | import("@smithy/types").RetryStrategy + | import("@smithy/types").RetryStrategyV2; + endpoint?: + | (( + | string + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + ) & + ( + | string + | import("@smithy/types").Provider + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + )) + | undefined; + endpointProvider: ( + endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: + | import("@smithy/types").HttpAuthScheme[] + | ( + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | undefined; + signer: import("@aws-sdk/core/dist-types/submodules/httpAuthSchemes").AwsSdkSigV4Signer; + } + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + } + )[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOHttpAuthSchemeProvider; + credentials?: + | import("@smithy/types").AwsCredentialIdentity + | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: + | import("@smithy/types").RequestSigner + | (( + authScheme?: import("@smithy/types").AuthScheme + ) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new ( + options: import("@smithy/signature-v4").SignatureV4Init & + import("@smithy/signature-v4").SignatureV4CryptoInit + ) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts new file mode 100644 index 0000000..d15ce74 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts @@ -0,0 +1,115 @@ +import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; +import { SSOClientConfig } from "./SSOClient"; +export declare const getRuntimeConfig: (config: SSOClientConfig) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider< + import("@smithy/smithy-client").ResolvedDefaultsMode + >; + authSchemePreference: string[] | import("@smithy/types").Provider; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + defaultUserAgentProvider: ( + config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved + ) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + region: string | import("@smithy/types").Provider; + requestHandler: + | RequestHandler + | import("@smithy/protocol-http").HttpHandler; + retryMode: string | import("@smithy/types").Provider; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + useDualstackEndpoint: boolean | import("@smithy/types").Provider; + useFipsEndpoint: boolean | import("@smithy/types").Provider; + userAgentAppId: string | import("@smithy/types").Provider; + cacheMiddleware?: boolean | undefined; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsRestJsonProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + customUserAgent?: string | import("@smithy/types").UserAgent; + retryStrategy?: + | import("@smithy/types").RetryStrategy + | import("@smithy/types").RetryStrategyV2; + endpoint?: + | (( + | string + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + ) & + ( + | string + | import("@smithy/types").Provider + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + )) + | undefined; + endpointProvider: ( + endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + httpAuthSchemes: + | import("@smithy/types").HttpAuthScheme[] + | ( + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | undefined; + signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; + } + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + } + )[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOHttpAuthSchemeProvider; + credentials?: + | import("@smithy/types").AwsCredentialIdentity + | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: + | import("@smithy/types").RequestSigner + | (( + authScheme?: import("@smithy/types").AuthScheme + ) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new ( + options: import("@smithy/signature-v4").SignatureV4Init & + import("@smithy/signature-v4").SignatureV4CryptoInit + ) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts new file mode 100644 index 0000000..cfa698a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts @@ -0,0 +1,124 @@ +import { SSOClientConfig } from "./SSOClient"; +export declare const getRuntimeConfig: (config: SSOClientConfig) => { + runtime: string; + sha256: import("@smithy/types").HashConstructor; + requestHandler: + | import("@smithy/types").NodeHttpHandlerOptions + | import("@smithy/types").FetchHttpHandlerOptions + | Record + | import("@smithy/protocol-http").HttpHandler + | import("@smithy/fetch-http-handler").FetchHttpHandler; + cacheMiddleware?: boolean; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsRestJsonProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + streamCollector: import("@smithy/types").StreamCollector; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + region: string | import("@smithy/types").Provider; + profile?: string; + defaultUserAgentProvider: ( + config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved + ) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + retryMode: string | import("@smithy/types").Provider; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + defaultsMode: + | import("@smithy/smithy-client").DefaultsMode + | import("@smithy/types").Provider< + import("@smithy/smithy-client").DefaultsMode + >; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: + | string + | undefined + | import("@smithy/types").Provider; + retryStrategy?: + | import("@smithy/types").RetryStrategy + | import("@smithy/types").RetryStrategyV2; + endpoint?: + | (( + | string + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + ) & + ( + | string + | import("@smithy/types").Provider + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + )) + | undefined; + endpointProvider: ( + endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: + | import("@smithy/types").HttpAuthScheme[] + | ( + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | undefined; + signer: import("@aws-sdk/core/dist-types/submodules/httpAuthSchemes").AwsSdkSigV4Signer; + } + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + } + )[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOHttpAuthSchemeProvider; + credentials?: + | import("@smithy/types").AwsCredentialIdentity + | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: + | import("@smithy/types").RequestSigner + | (( + authScheme?: import("@smithy/types").AuthScheme + ) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new ( + options: import("@smithy/signature-v4").SignatureV4Init & + import("@smithy/signature-v4").SignatureV4CryptoInit + ) => import("@smithy/types").RequestSigner; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts new file mode 100644 index 0000000..11fb947 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts @@ -0,0 +1,58 @@ +import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; +import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols"; +import { NoAuthSigner } from "@smithy/core"; +import { IdentityProviderConfig } from "@smithy/types"; +import { SSOClientConfig } from "./SSOClient"; +export declare const getRuntimeConfig: (config: SSOClientConfig) => { + apiVersion: string; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + disableHostPrefix: boolean; + endpointProvider: ( + endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOHttpAuthSchemeProvider; + httpAuthSchemes: + | import("@smithy/types").HttpAuthScheme[] + | ( + | { + schemeId: string; + identityProvider: ( + ipc: IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | undefined; + signer: AwsSdkSigV4Signer; + } + | { + schemeId: string; + identityProvider: ( + ipc: IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | (() => Promise<{}>); + signer: NoAuthSigner; + } + )[]; + logger: import("@smithy/types").Logger; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof AwsRestJsonProtocol; + protocolSettings: { + [setting: string]: unknown; + defaultNamespace?: string; + }; + serviceId: string; + urlParser: import("@smithy/types").UrlParser; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeExtensions.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeExtensions.d.ts new file mode 100644 index 0000000..fbec1e5 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeExtensions.d.ts @@ -0,0 +1,11 @@ +import { SSOExtensionConfiguration } from "./extensionConfiguration"; +export interface RuntimeExtension { + configure(extensionConfiguration: SSOExtensionConfiguration): void; +} +export interface RuntimeExtensionsConfig { + extensions: RuntimeExtension[]; +} +export declare const resolveRuntimeExtensions: ( + runtimeConfig: any, + extensions: RuntimeExtension[] +) => any; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/schemas/schemas_0.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/schemas/schemas_0.d.ts new file mode 100644 index 0000000..df61d4a --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/schemas/schemas_0.d.ts @@ -0,0 +1,16 @@ +import { TypeRegistry } from "@smithy/core/schema"; +import { + StaticErrorSchema, + StaticOperationSchema, + StaticStructureSchema, +} from "@smithy/types"; +export declare var SSOServiceException$: StaticErrorSchema; +export declare var InvalidRequestException$: StaticErrorSchema; +export declare var ResourceNotFoundException$: StaticErrorSchema; +export declare var TooManyRequestsException$: StaticErrorSchema; +export declare var UnauthorizedException$: StaticErrorSchema; +export declare const errorTypeRegistries: TypeRegistry[]; +export declare var GetRoleCredentialsRequest$: StaticStructureSchema; +export declare var GetRoleCredentialsResponse$: StaticStructureSchema; +export declare var RoleCredentials$: StaticStructureSchema; +export declare var GetRoleCredentials$: StaticOperationSchema; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts new file mode 100644 index 0000000..cca9cbb --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts @@ -0,0 +1,39 @@ +import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; +import { + AssumeRoleCommandInput, + AssumeRoleCommandOutput, +} from "./commands/AssumeRoleCommand"; +import { + AssumeRoleWithWebIdentityCommandInput, + AssumeRoleWithWebIdentityCommandOutput, +} from "./commands/AssumeRoleWithWebIdentityCommand"; +import { STSClient } from "./STSClient"; +export interface STS { + assumeRole( + args: AssumeRoleCommandInput, + options?: __HttpHandlerOptions + ): Promise; + assumeRole( + args: AssumeRoleCommandInput, + cb: (err: any, data?: AssumeRoleCommandOutput) => void + ): void; + assumeRole( + args: AssumeRoleCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: AssumeRoleCommandOutput) => void + ): void; + assumeRoleWithWebIdentity( + args: AssumeRoleWithWebIdentityCommandInput, + options?: __HttpHandlerOptions + ): Promise; + assumeRoleWithWebIdentity( + args: AssumeRoleWithWebIdentityCommandInput, + cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void + ): void; + assumeRoleWithWebIdentity( + args: AssumeRoleWithWebIdentityCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void + ): void; +} +export declare class STS extends STSClient implements STS {} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts new file mode 100644 index 0000000..4e37922 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts @@ -0,0 +1,127 @@ +import { + HostHeaderInputConfig, + HostHeaderResolvedConfig, +} from "@aws-sdk/middleware-host-header"; +import { + UserAgentInputConfig, + UserAgentResolvedConfig, +} from "@aws-sdk/middleware-user-agent"; +import { + RegionInputConfig, + RegionResolvedConfig, +} from "@smithy/config-resolver"; +import { + EndpointInputConfig, + EndpointResolvedConfig, +} from "@smithy/middleware-endpoint"; +import { + RetryInputConfig, + RetryResolvedConfig, +} from "@smithy/middleware-retry"; +import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http"; +import { + DefaultsMode as __DefaultsMode, + SmithyConfiguration as __SmithyConfiguration, + SmithyResolvedConfiguration as __SmithyResolvedConfiguration, + Client as __Client, +} from "@smithy/smithy-client"; +import { + AwsCredentialIdentityProvider, + BodyLengthCalculator as __BodyLengthCalculator, + CheckOptionalClientConfig as __CheckOptionalClientConfig, + ChecksumConstructor as __ChecksumConstructor, + Decoder as __Decoder, + Encoder as __Encoder, + HashConstructor as __HashConstructor, + HttpHandlerOptions as __HttpHandlerOptions, + Logger as __Logger, + Provider as __Provider, + StreamCollector as __StreamCollector, + UrlParser as __UrlParser, + UserAgent as __UserAgent, +} from "@smithy/types"; +import { + HttpAuthSchemeInputConfig, + HttpAuthSchemeResolvedConfig, +} from "./auth/httpAuthSchemeProvider"; +import { + AssumeRoleCommandInput, + AssumeRoleCommandOutput, +} from "./commands/AssumeRoleCommand"; +import { + AssumeRoleWithWebIdentityCommandInput, + AssumeRoleWithWebIdentityCommandOutput, +} from "./commands/AssumeRoleWithWebIdentityCommand"; +import { + ClientInputEndpointParameters, + ClientResolvedEndpointParameters, + EndpointParameters, +} from "./endpoint/EndpointParameters"; +import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions"; +export { __Client }; +export type ServiceInputTypes = + | AssumeRoleCommandInput + | AssumeRoleWithWebIdentityCommandInput; +export type ServiceOutputTypes = + | AssumeRoleCommandOutput + | AssumeRoleWithWebIdentityCommandOutput; +export interface ClientDefaults + extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { + requestHandler?: __HttpHandlerUserInput; + sha256?: __ChecksumConstructor | __HashConstructor; + urlParser?: __UrlParser; + bodyLengthChecker?: __BodyLengthCalculator; + streamCollector?: __StreamCollector; + base64Decoder?: __Decoder; + base64Encoder?: __Encoder; + utf8Decoder?: __Decoder; + utf8Encoder?: __Encoder; + runtime?: string; + disableHostPrefix?: boolean; + serviceId?: string; + useDualstackEndpoint?: boolean | __Provider; + useFipsEndpoint?: boolean | __Provider; + region?: string | __Provider; + profile?: string; + defaultUserAgentProvider?: __Provider<__UserAgent>; + credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; + maxAttempts?: number | __Provider; + retryMode?: string | __Provider; + logger?: __Logger; + extensions?: RuntimeExtension[]; + defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; +} +export type STSClientConfigType = Partial< + __SmithyConfiguration<__HttpHandlerOptions> +> & + ClientDefaults & + UserAgentInputConfig & + RetryInputConfig & + RegionInputConfig & + HostHeaderInputConfig & + EndpointInputConfig & + HttpAuthSchemeInputConfig & + ClientInputEndpointParameters; +export interface STSClientConfig extends STSClientConfigType {} +export type STSClientResolvedConfigType = + __SmithyResolvedConfiguration<__HttpHandlerOptions> & + Required & + RuntimeExtensionsConfig & + UserAgentResolvedConfig & + RetryResolvedConfig & + RegionResolvedConfig & + HostHeaderResolvedConfig & + EndpointResolvedConfig & + HttpAuthSchemeResolvedConfig & + ClientResolvedEndpointParameters; +export interface STSClientResolvedConfig extends STSClientResolvedConfigType {} +export declare class STSClient extends __Client< + __HttpHandlerOptions, + ServiceInputTypes, + ServiceOutputTypes, + STSClientResolvedConfig +> { + readonly config: STSClientResolvedConfig; + constructor(...[configuration]: __CheckOptionalClientConfig); + destroy(): void; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts new file mode 100644 index 0000000..ef83018 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts @@ -0,0 +1,32 @@ +import { + AwsCredentialIdentity, + AwsCredentialIdentityProvider, + HttpAuthScheme, +} from "@smithy/types"; +import { STSHttpAuthSchemeProvider } from "./httpAuthSchemeProvider"; +export interface HttpAuthExtensionConfiguration { + setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void; + httpAuthSchemes(): HttpAuthScheme[]; + setHttpAuthSchemeProvider( + httpAuthSchemeProvider: STSHttpAuthSchemeProvider + ): void; + httpAuthSchemeProvider(): STSHttpAuthSchemeProvider; + setCredentials( + credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider + ): void; + credentials(): + | AwsCredentialIdentity + | AwsCredentialIdentityProvider + | undefined; +} +export type HttpAuthRuntimeConfig = Partial<{ + httpAuthSchemes: HttpAuthScheme[]; + httpAuthSchemeProvider: STSHttpAuthSchemeProvider; + credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider; +}>; +export declare const getHttpAuthExtensionConfiguration: ( + runtimeConfig: HttpAuthRuntimeConfig +) => HttpAuthExtensionConfiguration; +export declare const resolveHttpAuthRuntimeConfig: ( + config: HttpAuthExtensionConfiguration +) => HttpAuthRuntimeConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts new file mode 100644 index 0000000..986e9bf --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts @@ -0,0 +1,57 @@ +import { + AwsSdkSigV4AuthInputConfig, + AwsSdkSigV4AuthResolvedConfig, + AwsSdkSigV4PreviouslyResolved, +} from "@aws-sdk/core/httpAuthSchemes"; +import { + Client, + HandlerExecutionContext, + HttpAuthScheme, + HttpAuthSchemeParameters, + HttpAuthSchemeParametersProvider, + HttpAuthSchemeProvider, + Provider, +} from "@smithy/types"; +import { STSClientResolvedConfig } from "../STSClient"; +export interface STSHttpAuthSchemeParameters extends HttpAuthSchemeParameters { + region?: string; +} +export interface STSHttpAuthSchemeParametersProvider + extends HttpAuthSchemeParametersProvider< + STSClientResolvedConfig, + HandlerExecutionContext, + STSHttpAuthSchemeParameters, + object + > {} +export declare const defaultSTSHttpAuthSchemeParametersProvider: ( + config: STSClientResolvedConfig, + context: HandlerExecutionContext, + input: object +) => Promise; +export interface STSHttpAuthSchemeProvider + extends HttpAuthSchemeProvider {} +export declare const defaultSTSHttpAuthSchemeProvider: STSHttpAuthSchemeProvider; +export interface StsAuthInputConfig {} +export interface StsAuthResolvedConfig { + stsClientCtor: new (clientConfig: any) => Client; +} +export declare const resolveStsAuthConfig: ( + input: T & StsAuthInputConfig +) => T & StsAuthResolvedConfig; +export interface HttpAuthSchemeInputConfig + extends StsAuthInputConfig, + AwsSdkSigV4AuthInputConfig { + authSchemePreference?: string[] | Provider; + httpAuthSchemes?: HttpAuthScheme[]; + httpAuthSchemeProvider?: STSHttpAuthSchemeProvider; +} +export interface HttpAuthSchemeResolvedConfig + extends StsAuthResolvedConfig, + AwsSdkSigV4AuthResolvedConfig { + readonly authSchemePreference: Provider; + readonly httpAuthSchemes: HttpAuthScheme[]; + readonly httpAuthSchemeProvider: STSHttpAuthSchemeProvider; +} +export declare const resolveHttpAuthSchemeConfig: ( + config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved +) => T & HttpAuthSchemeResolvedConfig; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts new file mode 100644 index 0000000..efc55c9 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts @@ -0,0 +1,47 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { AssumeRoleRequest, AssumeRoleResponse } from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + STSClientResolvedConfig, +} from "../STSClient"; +export { __MetadataBearer }; +export { $Command }; +export interface AssumeRoleCommandInput extends AssumeRoleRequest {} +export interface AssumeRoleCommandOutput + extends AssumeRoleResponse, + __MetadataBearer {} +declare const AssumeRoleCommand_base: { + new ( + input: AssumeRoleCommandInput + ): import("@smithy/smithy-client").CommandImpl< + AssumeRoleCommandInput, + AssumeRoleCommandOutput, + STSClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: AssumeRoleCommandInput + ): import("@smithy/smithy-client").CommandImpl< + AssumeRoleCommandInput, + AssumeRoleCommandOutput, + STSClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class AssumeRoleCommand extends AssumeRoleCommand_base { + protected static __types: { + api: { + input: AssumeRoleRequest; + output: AssumeRoleResponse; + }; + sdk: { + input: AssumeRoleCommandInput; + output: AssumeRoleCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts new file mode 100644 index 0000000..941164f --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts @@ -0,0 +1,51 @@ +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer } from "@smithy/types"; +import { + AssumeRoleWithWebIdentityRequest, + AssumeRoleWithWebIdentityResponse, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + STSClientResolvedConfig, +} from "../STSClient"; +export { __MetadataBearer }; +export { $Command }; +export interface AssumeRoleWithWebIdentityCommandInput + extends AssumeRoleWithWebIdentityRequest {} +export interface AssumeRoleWithWebIdentityCommandOutput + extends AssumeRoleWithWebIdentityResponse, + __MetadataBearer {} +declare const AssumeRoleWithWebIdentityCommand_base: { + new ( + input: AssumeRoleWithWebIdentityCommandInput + ): import("@smithy/smithy-client").CommandImpl< + AssumeRoleWithWebIdentityCommandInput, + AssumeRoleWithWebIdentityCommandOutput, + STSClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + new ( + input: AssumeRoleWithWebIdentityCommandInput + ): import("@smithy/smithy-client").CommandImpl< + AssumeRoleWithWebIdentityCommandInput, + AssumeRoleWithWebIdentityCommandOutput, + STSClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >; + getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; +}; +export declare class AssumeRoleWithWebIdentityCommand extends AssumeRoleWithWebIdentityCommand_base { + protected static __types: { + api: { + input: AssumeRoleWithWebIdentityRequest; + output: AssumeRoleWithWebIdentityResponse; + }; + sdk: { + input: AssumeRoleWithWebIdentityCommandInput; + output: AssumeRoleWithWebIdentityCommandOutput; + }; + }; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/index.d.ts new file mode 100644 index 0000000..0f200f5 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/index.d.ts @@ -0,0 +1,2 @@ +export * from "./AssumeRoleCommand"; +export * from "./AssumeRoleWithWebIdentityCommand"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultRoleAssumers.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultRoleAssumers.d.ts new file mode 100644 index 0000000..b6f22cc --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultRoleAssumers.d.ts @@ -0,0 +1,19 @@ +import { Pluggable } from "@smithy/types"; +import { + DefaultCredentialProvider, + RoleAssumer, + RoleAssumerWithWebIdentity, + STSRoleAssumerOptions, +} from "./defaultStsRoleAssumers"; +import { ServiceInputTypes, ServiceOutputTypes } from "./STSClient"; +export declare const getDefaultRoleAssumer: ( + stsOptions?: STSRoleAssumerOptions, + stsPlugins?: Pluggable[] +) => RoleAssumer; +export declare const getDefaultRoleAssumerWithWebIdentity: ( + stsOptions?: STSRoleAssumerOptions, + stsPlugins?: Pluggable[] +) => RoleAssumerWithWebIdentity; +export declare const decorateDefaultCredentialProvider: ( + provider: DefaultCredentialProvider +) => DefaultCredentialProvider; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts new file mode 100644 index 0000000..2da7241 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts @@ -0,0 +1,33 @@ +import { CredentialProviderOptions } from "@aws-sdk/types"; +import { AwsCredentialIdentity, Logger, Provider } from "@smithy/types"; +import { AssumeRoleCommandInput } from "./commands/AssumeRoleCommand"; +import { AssumeRoleWithWebIdentityCommandInput } from "./commands/AssumeRoleWithWebIdentityCommand"; +import { STSClient, STSClientConfig } from "./STSClient"; +export type STSRoleAssumerOptions = Pick< + STSClientConfig, + "logger" | "region" | "requestHandler" | "profile" | "userAgentAppId" +> & { + credentialProviderLogger?: Logger; + parentClientConfig?: CredentialProviderOptions["parentClientConfig"]; +}; +export type RoleAssumer = ( + sourceCreds: AwsCredentialIdentity, + params: AssumeRoleCommandInput +) => Promise; +export declare const getDefaultRoleAssumer: ( + stsOptions: STSRoleAssumerOptions, + STSClient: new (options: STSClientConfig) => STSClient +) => RoleAssumer; +export type RoleAssumerWithWebIdentity = ( + params: AssumeRoleWithWebIdentityCommandInput +) => Promise; +export declare const getDefaultRoleAssumerWithWebIdentity: ( + stsOptions: STSRoleAssumerOptions, + STSClient: new (options: STSClientConfig) => STSClient +) => RoleAssumerWithWebIdentity; +export type DefaultCredentialProvider = ( + input: any +) => Provider; +export declare const decorateDefaultCredentialProvider: ( + provider: DefaultCredentialProvider +) => DefaultCredentialProvider; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts new file mode 100644 index 0000000..7ff3fe5 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts @@ -0,0 +1,57 @@ +import { + Endpoint, + EndpointParameters as __EndpointParameters, + EndpointV2, + Provider, +} from "@smithy/types"; +export interface ClientInputEndpointParameters { + region?: string | undefined | Provider; + useDualstackEndpoint?: boolean | undefined | Provider; + useFipsEndpoint?: boolean | undefined | Provider; + endpoint?: + | string + | Provider + | Endpoint + | Provider + | EndpointV2 + | Provider; + useGlobalEndpoint?: boolean | undefined | Provider; +} +export type ClientResolvedEndpointParameters = Pick< + ClientInputEndpointParameters, + Exclude +> & { + defaultSigningName: string; +}; +export declare const resolveClientEndpointParameters: ( + options: T & ClientInputEndpointParameters +) => T & ClientResolvedEndpointParameters; +export declare const commonParams: { + readonly UseGlobalEndpoint: { + readonly type: "builtInParams"; + readonly name: "useGlobalEndpoint"; + }; + readonly UseFIPS: { + readonly type: "builtInParams"; + readonly name: "useFipsEndpoint"; + }; + readonly Endpoint: { + readonly type: "builtInParams"; + readonly name: "endpoint"; + }; + readonly Region: { + readonly type: "builtInParams"; + readonly name: "region"; + }; + readonly UseDualStack: { + readonly type: "builtInParams"; + readonly name: "useDualstackEndpoint"; + }; +}; +export interface EndpointParameters extends __EndpointParameters { + Region?: string | undefined; + UseDualStack?: boolean | undefined; + UseFIPS?: boolean | undefined; + Endpoint?: string | undefined; + UseGlobalEndpoint?: boolean | undefined; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/endpointResolver.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/endpointResolver.d.ts new file mode 100644 index 0000000..5909925 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/endpointResolver.d.ts @@ -0,0 +1,8 @@ +import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParameters } from "./EndpointParameters"; +export declare const defaultEndpointResolver: ( + endpointParams: EndpointParameters, + context?: { + logger?: Logger; + } +) => EndpointV2; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/ruleset.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/ruleset.d.ts new file mode 100644 index 0000000..4b23899 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/ruleset.d.ts @@ -0,0 +1,2 @@ +import { RuleSetObject } from "@smithy/types"; +export declare const ruleSet: RuleSetObject; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/extensionConfiguration.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/extensionConfiguration.d.ts new file mode 100644 index 0000000..14b124b --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/extensionConfiguration.d.ts @@ -0,0 +1,9 @@ +import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; +import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; +import { DefaultExtensionConfiguration } from "@smithy/types"; +import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; +export interface STSExtensionConfiguration + extends HttpHandlerExtensionConfiguration, + DefaultExtensionConfiguration, + AwsRegionExtensionConfiguration, + HttpAuthExtensionConfiguration {} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/index.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/index.d.ts new file mode 100644 index 0000000..796e687 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/index.d.ts @@ -0,0 +1,11 @@ +export * from "./STSClient"; +export * from "./STS"; +export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; +export { RuntimeExtension } from "./runtimeExtensions"; +export { STSExtensionConfiguration } from "./extensionConfiguration"; +export * from "./commands"; +export * from "./schemas/schemas_0"; +export * from "./models/errors"; +export * from "./models/models_0"; +export * from "./defaultRoleAssumers"; +export { STSServiceException } from "./models/STSServiceException"; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/STSServiceException.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/STSServiceException.d.ts new file mode 100644 index 0000000..18621a2 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/STSServiceException.d.ts @@ -0,0 +1,9 @@ +import { + ServiceExceptionOptions as __ServiceExceptionOptions, + ServiceException as __ServiceException, +} from "@smithy/smithy-client"; +export { __ServiceExceptionOptions }; +export { __ServiceException }; +export declare class STSServiceException extends __ServiceException { + constructor(options: __ServiceExceptionOptions); +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts new file mode 100644 index 0000000..308923b --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts @@ -0,0 +1,54 @@ +import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; +import { STSServiceException as __BaseException } from "./STSServiceException"; +export declare class ExpiredTokenException extends __BaseException { + readonly name: "ExpiredTokenException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class MalformedPolicyDocumentException extends __BaseException { + readonly name: "MalformedPolicyDocumentException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType< + MalformedPolicyDocumentException, + __BaseException + > + ); +} +export declare class PackedPolicyTooLargeException extends __BaseException { + readonly name: "PackedPolicyTooLargeException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class RegionDisabledException extends __BaseException { + readonly name: "RegionDisabledException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class IDPRejectedClaimException extends __BaseException { + readonly name: "IDPRejectedClaimException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InvalidIdentityTokenException extends __BaseException { + readonly name: "InvalidIdentityTokenException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class IDPCommunicationErrorException extends __BaseException { + readonly name: "IDPCommunicationErrorException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts new file mode 100644 index 0000000..a3c7441 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts @@ -0,0 +1,59 @@ +export interface AssumedRoleUser { + AssumedRoleId: string | undefined; + Arn: string | undefined; +} +export interface PolicyDescriptorType { + arn?: string | undefined; +} +export interface ProvidedContext { + ProviderArn?: string | undefined; + ContextAssertion?: string | undefined; +} +export interface Tag { + Key: string | undefined; + Value: string | undefined; +} +export interface AssumeRoleRequest { + RoleArn: string | undefined; + RoleSessionName: string | undefined; + PolicyArns?: PolicyDescriptorType[] | undefined; + Policy?: string | undefined; + DurationSeconds?: number | undefined; + Tags?: Tag[] | undefined; + TransitiveTagKeys?: string[] | undefined; + ExternalId?: string | undefined; + SerialNumber?: string | undefined; + TokenCode?: string | undefined; + SourceIdentity?: string | undefined; + ProvidedContexts?: ProvidedContext[] | undefined; +} +export interface Credentials { + AccessKeyId: string | undefined; + SecretAccessKey: string | undefined; + SessionToken: string | undefined; + Expiration: Date | undefined; +} +export interface AssumeRoleResponse { + Credentials?: Credentials | undefined; + AssumedRoleUser?: AssumedRoleUser | undefined; + PackedPolicySize?: number | undefined; + SourceIdentity?: string | undefined; +} +export interface AssumeRoleWithWebIdentityRequest { + RoleArn: string | undefined; + RoleSessionName: string | undefined; + WebIdentityToken: string | undefined; + ProviderId?: string | undefined; + PolicyArns?: PolicyDescriptorType[] | undefined; + Policy?: string | undefined; + DurationSeconds?: number | undefined; +} +export interface AssumeRoleWithWebIdentityResponse { + Credentials?: Credentials | undefined; + SubjectFromWebIdentityToken?: string | undefined; + AssumedRoleUser?: AssumedRoleUser | undefined; + PackedPolicySize?: number | undefined; + Provider?: string | undefined; + Audience?: string | undefined; + SourceIdentity?: string | undefined; +} diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts new file mode 100644 index 0000000..dbd8fba --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts @@ -0,0 +1,129 @@ +import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; +import { STSClientConfig } from "./STSClient"; +export declare const getRuntimeConfig: (config: STSClientConfig) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider< + import("@smithy/smithy-client").ResolvedDefaultsMode + >; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + credentialDefaultProvider: + | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) + | (( + _: unknown + ) => () => Promise); + defaultUserAgentProvider: ( + config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved + ) => Promise; + maxAttempts: number | import("@smithy/types").Provider; + region: string | import("@smithy/types").Provider; + requestHandler: + | import("@smithy/protocol-http").HttpHandler + | RequestHandler; + retryMode: string | import("@smithy/types").Provider; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + cacheMiddleware?: boolean | undefined; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsQueryProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: + | string + | undefined + | import("@smithy/types").Provider; + retryStrategy?: + | import("@smithy/types").RetryStrategy + | import("@smithy/types").RetryStrategyV2; + endpoint?: + | (( + | string + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + ) & + ( + | string + | import("@smithy/types").Provider + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + )) + | undefined; + endpointProvider: ( + params: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: + | import("@smithy/types").HttpAuthScheme[] + | ( + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | undefined; + signer: import("@aws-sdk/core/dist-types/submodules/httpAuthSchemes").AwsSdkSigV4Signer; + } + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + } + )[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider; + credentials?: + | import("@smithy/types").AwsCredentialIdentity + | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: + | import("@smithy/types").RequestSigner + | (( + authScheme?: import("@smithy/types").AuthScheme + ) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new ( + options: import("@smithy/signature-v4").SignatureV4Init & + import("@smithy/signature-v4").SignatureV4CryptoInit + ) => import("@smithy/types").RequestSigner; + useGlobalEndpoint?: + | boolean + | undefined + | import("@smithy/types").Provider; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts new file mode 100644 index 0000000..7189fc1 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts @@ -0,0 +1,111 @@ +import { NoAuthSigner } from "@smithy/core"; +import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; +import { IdentityProviderConfig } from "@smithy/types"; +import { STSClientConfig } from "./STSClient"; +export declare const getRuntimeConfig: (config: STSClientConfig) => { + runtime: string; + defaultsMode: import("@smithy/types").Provider< + import("@smithy/smithy-client").ResolvedDefaultsMode + >; + authSchemePreference: string[] | import("@smithy/types").Provider; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + defaultUserAgentProvider: ( + config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved + ) => Promise; + httpAuthSchemes: + | import("@smithy/types").HttpAuthScheme[] + | { + schemeId: string; + identityProvider: ( + ipc: IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | (() => Promise<{}>); + signer: NoAuthSigner; + }[]; + maxAttempts: number | import("@smithy/types").Provider; + region: string | import("@smithy/types").Provider; + requestHandler: + | RequestHandler + | import("@smithy/protocol-http").HttpHandler; + retryMode: string | import("@smithy/types").Provider; + sha256: import("@smithy/types").HashConstructor; + streamCollector: import("@smithy/types").StreamCollector; + useDualstackEndpoint: boolean | import("@smithy/types").Provider; + useFipsEndpoint: boolean | import("@smithy/types").Provider; + userAgentAppId: string | import("@smithy/types").Provider; + cacheMiddleware?: boolean | undefined; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsQueryProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + profile?: string; + credentialDefaultProvider?: ( + input: any + ) => import("@smithy/types").AwsCredentialIdentityProvider; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + customUserAgent?: string | import("@smithy/types").UserAgent; + retryStrategy?: + | import("@smithy/types").RetryStrategy + | import("@smithy/types").RetryStrategyV2; + endpoint?: + | (( + | string + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + ) & + ( + | string + | import("@smithy/types").Provider + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + )) + | undefined; + endpointProvider: ( + params: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider; + credentials?: + | import("@smithy/types").AwsCredentialIdentity + | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: + | import("@smithy/types").RequestSigner + | (( + authScheme?: import("@smithy/types").AuthScheme + ) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new ( + options: import("@smithy/signature-v4").SignatureV4Init & + import("@smithy/signature-v4").SignatureV4CryptoInit + ) => import("@smithy/types").RequestSigner; + useGlobalEndpoint?: + | boolean + | undefined + | import("@smithy/types").Provider; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts new file mode 100644 index 0000000..a07a2b5 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts @@ -0,0 +1,133 @@ +import { STSClientConfig } from "./STSClient"; +export declare const getRuntimeConfig: (config: STSClientConfig) => { + runtime: string; + sha256: import("@smithy/types").HashConstructor; + requestHandler: + | import("@smithy/types").NodeHttpHandlerOptions + | import("@smithy/types").FetchHttpHandlerOptions + | Record + | import("@smithy/protocol-http").HttpHandler + | import("@smithy/fetch-http-handler").FetchHttpHandler; + cacheMiddleware?: boolean; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof import("@aws-sdk/core/dist-types/submodules/protocols").AwsQueryProtocol; + protocolSettings: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + apiVersion: string; + urlParser: import("@smithy/types").UrlParser; + bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; + streamCollector: import("@smithy/types").StreamCollector; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; + disableHostPrefix: boolean; + serviceId: string; + useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + useFipsEndpoint: (boolean | import("@smithy/types").Provider) & + (boolean | import("@smithy/types").Provider); + region: string | import("@smithy/types").Provider; + profile?: string; + defaultUserAgentProvider: ( + config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved + ) => Promise; + credentialDefaultProvider: + | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) + | (( + _: unknown + ) => () => Promise); + maxAttempts: number | import("@smithy/types").Provider; + retryMode: string | import("@smithy/types").Provider; + logger: import("@smithy/types").Logger; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + defaultsMode: + | import("@smithy/smithy-client").DefaultsMode + | import("@smithy/types").Provider< + import("@smithy/smithy-client").DefaultsMode + >; + customUserAgent?: string | import("@smithy/types").UserAgent; + userAgentAppId?: + | string + | undefined + | import("@smithy/types").Provider; + retryStrategy?: + | import("@smithy/types").RetryStrategy + | import("@smithy/types").RetryStrategyV2; + endpoint?: + | (( + | string + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + ) & + ( + | string + | import("@smithy/types").Provider + | import("@smithy/types").Endpoint + | import("@smithy/types").Provider + | import("@smithy/types").EndpointV2 + | import("@smithy/types").Provider + )) + | undefined; + endpointProvider: ( + params: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + tls?: boolean; + serviceConfiguredEndpoint?: never; + authSchemePreference?: string[] | import("@smithy/types").Provider; + httpAuthSchemes: + | import("@smithy/types").HttpAuthScheme[] + | ( + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | undefined; + signer: import("@aws-sdk/core/dist-types/submodules/httpAuthSchemes").AwsSdkSigV4Signer; + } + | { + schemeId: string; + identityProvider: ( + ipc: import("@smithy/types").IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | (() => Promise<{}>); + signer: import("@smithy/core").NoAuthSigner; + } + )[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider; + credentials?: + | import("@smithy/types").AwsCredentialIdentity + | import("@smithy/types").AwsCredentialIdentityProvider; + signer?: + | import("@smithy/types").RequestSigner + | (( + authScheme?: import("@smithy/types").AuthScheme + ) => Promise); + signingEscapePath?: boolean; + systemClockOffset?: number; + signingRegion?: string; + signerConstructor?: new ( + options: import("@smithy/signature-v4").SignatureV4Init & + import("@smithy/signature-v4").SignatureV4CryptoInit + ) => import("@smithy/types").RequestSigner; + useGlobalEndpoint?: + | boolean + | undefined + | import("@smithy/types").Provider; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts new file mode 100644 index 0000000..b77cd1d --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts @@ -0,0 +1,58 @@ +import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; +import { AwsQueryProtocol } from "@aws-sdk/core/protocols"; +import { NoAuthSigner } from "@smithy/core"; +import { IdentityProviderConfig } from "@smithy/types"; +import { STSClientConfig } from "./STSClient"; +export declare const getRuntimeConfig: (config: STSClientConfig) => { + apiVersion: string; + base64Decoder: import("@smithy/types").Decoder; + base64Encoder: (_input: Uint8Array | string) => string; + disableHostPrefix: boolean; + endpointProvider: ( + params: import("./endpoint/EndpointParameters").EndpointParameters, + context?: { + logger?: import("@smithy/types").Logger; + } + ) => import("@smithy/types").EndpointV2; + extensions: import("./runtimeExtensions").RuntimeExtension[]; + httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider; + httpAuthSchemes: + | import("@smithy/types").HttpAuthScheme[] + | ( + | { + schemeId: string; + identityProvider: ( + ipc: IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | undefined; + signer: AwsSdkSigV4Signer; + } + | { + schemeId: string; + identityProvider: ( + ipc: IdentityProviderConfig + ) => + | import("@smithy/types").IdentityProvider< + import("@smithy/types").Identity + > + | (() => Promise<{}>); + signer: NoAuthSigner; + } + )[]; + logger: import("@smithy/types").Logger; + protocol: + | import("@smithy/types").ClientProtocol + | import("@smithy/types").ClientProtocolCtor + | typeof AwsQueryProtocol; + protocolSettings: { + [setting: string]: unknown; + defaultNamespace?: string; + }; + serviceId: string; + urlParser: import("@smithy/types").UrlParser; + utf8Decoder: import("@smithy/types").Decoder; + utf8Encoder: (input: Uint8Array | string) => string; +}; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeExtensions.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeExtensions.d.ts new file mode 100644 index 0000000..d3cd411 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeExtensions.d.ts @@ -0,0 +1,11 @@ +import { STSExtensionConfiguration } from "./extensionConfiguration"; +export interface RuntimeExtension { + configure(extensionConfiguration: STSExtensionConfiguration): void; +} +export interface RuntimeExtensionsConfig { + extensions: RuntimeExtension[]; +} +export declare const resolveRuntimeExtensions: ( + runtimeConfig: any, + extensions: RuntimeExtension[] +) => any; diff --git a/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts new file mode 100644 index 0000000..fd69e8f --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts @@ -0,0 +1,26 @@ +import { TypeRegistry } from "@smithy/core/schema"; +import { + StaticErrorSchema, + StaticOperationSchema, + StaticStructureSchema, +} from "@smithy/types"; +export declare var STSServiceException$: StaticErrorSchema; +export declare var ExpiredTokenException$: StaticErrorSchema; +export declare var IDPCommunicationErrorException$: StaticErrorSchema; +export declare var IDPRejectedClaimException$: StaticErrorSchema; +export declare var InvalidIdentityTokenException$: StaticErrorSchema; +export declare var MalformedPolicyDocumentException$: StaticErrorSchema; +export declare var PackedPolicyTooLargeException$: StaticErrorSchema; +export declare var RegionDisabledException$: StaticErrorSchema; +export declare const errorTypeRegistries: TypeRegistry[]; +export declare var AssumedRoleUser$: StaticStructureSchema; +export declare var AssumeRoleRequest$: StaticStructureSchema; +export declare var AssumeRoleResponse$: StaticStructureSchema; +export declare var AssumeRoleWithWebIdentityRequest$: StaticStructureSchema; +export declare var AssumeRoleWithWebIdentityResponse$: StaticStructureSchema; +export declare var Credentials$: StaticStructureSchema; +export declare var PolicyDescriptorType$: StaticStructureSchema; +export declare var ProvidedContext$: StaticStructureSchema; +export declare var Tag$: StaticStructureSchema; +export declare var AssumeRole$: StaticOperationSchema; +export declare var AssumeRoleWithWebIdentity$: StaticOperationSchema; diff --git a/node_modules/@aws-sdk/nested-clients/package.json b/node_modules/@aws-sdk/nested-clients/package.json new file mode 100644 index 0000000..e69e8fb --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/package.json @@ -0,0 +1,147 @@ +{ + "name": "@aws-sdk/nested-clients", + "version": "3.996.18", + "description": "Nested clients for AWS SDK packages.", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "scripts": { + "build": "yarn lint && concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline nested-clients", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "node ../../scripts/validation/submodules-linter.js --pkg nested-clients", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "engines": { + "node": ">=20.0.0" + }, + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/sha256-browser": "5.2.0", + "@aws-crypto/sha256-js": "5.2.0", + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/middleware-host-header": "^3.972.8", + "@aws-sdk/middleware-logger": "^3.972.8", + "@aws-sdk/middleware-recursion-detection": "^3.972.9", + "@aws-sdk/middleware-user-agent": "^3.972.28", + "@aws-sdk/region-config-resolver": "^3.972.10", + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/util-endpoints": "^3.996.5", + "@aws-sdk/util-user-agent-browser": "^3.972.8", + "@aws-sdk/util-user-agent-node": "^3.973.14", + "@smithy/config-resolver": "^4.4.13", + "@smithy/core": "^3.23.13", + "@smithy/fetch-http-handler": "^5.3.15", + "@smithy/hash-node": "^4.2.12", + "@smithy/invalid-dependency": "^4.2.12", + "@smithy/middleware-content-length": "^4.2.12", + "@smithy/middleware-endpoint": "^4.4.28", + "@smithy/middleware-retry": "^4.4.46", + "@smithy/middleware-serde": "^4.2.16", + "@smithy/middleware-stack": "^4.2.12", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/node-http-handler": "^4.5.1", + "@smithy/protocol-http": "^5.3.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "@smithy/url-parser": "^4.2.12", + "@smithy/util-base64": "^4.3.2", + "@smithy/util-body-length-browser": "^4.2.2", + "@smithy/util-body-length-node": "^4.2.3", + "@smithy/util-defaults-mode-browser": "^4.3.44", + "@smithy/util-defaults-mode-node": "^4.2.48", + "@smithy/util-endpoints": "^3.3.3", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-retry": "^4.2.13", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "./cognito-identity.d.ts", + "./cognito-identity.js", + "./signin.d.ts", + "./signin.js", + "./sso-oidc.d.ts", + "./sso-oidc.js", + "./sso.d.ts", + "./sso.js", + "./sts.d.ts", + "./sts.js", + "dist-*/**" + ], + "browser": { + "./dist-es/submodules/cognito-identity/runtimeConfig": "./dist-es/submodules/cognito-identity/runtimeConfig.browser", + "./dist-es/submodules/signin/runtimeConfig": "./dist-es/submodules/signin/runtimeConfig.browser", + "./dist-es/submodules/sso-oidc/runtimeConfig": "./dist-es/submodules/sso-oidc/runtimeConfig.browser", + "./dist-es/submodules/sso/runtimeConfig": "./dist-es/submodules/sso/runtimeConfig.browser", + "./dist-es/submodules/sts/runtimeConfig": "./dist-es/submodules/sts/runtimeConfig.browser" + }, + "react-native": {}, + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages/nested-clients" + }, + "exports": { + "./package.json": "./package.json", + "./sso-oidc": { + "types": "./dist-types/submodules/sso-oidc/index.d.ts", + "module": "./dist-es/submodules/sso-oidc/index.js", + "node": "./dist-cjs/submodules/sso-oidc/index.js", + "import": "./dist-es/submodules/sso-oidc/index.js", + "require": "./dist-cjs/submodules/sso-oidc/index.js" + }, + "./sts": { + "types": "./dist-types/submodules/sts/index.d.ts", + "module": "./dist-es/submodules/sts/index.js", + "node": "./dist-cjs/submodules/sts/index.js", + "import": "./dist-es/submodules/sts/index.js", + "require": "./dist-cjs/submodules/sts/index.js" + }, + "./signin": { + "types": "./dist-types/submodules/signin/index.d.ts", + "module": "./dist-es/submodules/signin/index.js", + "node": "./dist-cjs/submodules/signin/index.js", + "import": "./dist-es/submodules/signin/index.js", + "require": "./dist-cjs/submodules/signin/index.js" + }, + "./cognito-identity": { + "types": "./dist-types/submodules/cognito-identity/index.d.ts", + "module": "./dist-es/submodules/cognito-identity/index.js", + "node": "./dist-cjs/submodules/cognito-identity/index.js", + "import": "./dist-es/submodules/cognito-identity/index.js", + "require": "./dist-cjs/submodules/cognito-identity/index.js" + }, + "./sso": { + "types": "./dist-types/submodules/sso/index.d.ts", + "module": "./dist-es/submodules/sso/index.js", + "node": "./dist-cjs/submodules/sso/index.js", + "import": "./dist-es/submodules/sso/index.js", + "require": "./dist-cjs/submodules/sso/index.js" + } + } +} diff --git a/node_modules/@aws-sdk/nested-clients/signin.d.ts b/node_modules/@aws-sdk/nested-clients/signin.d.ts new file mode 100644 index 0000000..4615961 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/signin.d.ts @@ -0,0 +1,7 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +declare module "@aws-sdk/nested-clients/signin" { + export * from "@aws-sdk/nested-clients/dist-types/submodules/signin/index.d"; +} diff --git a/node_modules/@aws-sdk/nested-clients/signin.js b/node_modules/@aws-sdk/nested-clients/signin.js new file mode 100644 index 0000000..db3d545 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/signin.js @@ -0,0 +1,5 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +module.exports = require("./dist-cjs/submodules/signin/index.js"); diff --git a/node_modules/@aws-sdk/nested-clients/sso-oidc.d.ts b/node_modules/@aws-sdk/nested-clients/sso-oidc.d.ts new file mode 100644 index 0000000..ab47282 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/sso-oidc.d.ts @@ -0,0 +1,7 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +declare module "@aws-sdk/nested-clients/sso-oidc" { + export * from "@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d"; +} diff --git a/node_modules/@aws-sdk/nested-clients/sso-oidc.js b/node_modules/@aws-sdk/nested-clients/sso-oidc.js new file mode 100644 index 0000000..896865c --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/sso-oidc.js @@ -0,0 +1,5 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +module.exports = require("./dist-cjs/submodules/sso-oidc/index.js"); diff --git a/node_modules/@aws-sdk/nested-clients/sso.d.ts b/node_modules/@aws-sdk/nested-clients/sso.d.ts new file mode 100644 index 0000000..04a13c0 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/sso.d.ts @@ -0,0 +1,7 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +declare module "@aws-sdk/nested-clients/sso" { + export * from "@aws-sdk/nested-clients/dist-types/submodules/sso/index.d"; +} diff --git a/node_modules/@aws-sdk/nested-clients/sso.js b/node_modules/@aws-sdk/nested-clients/sso.js new file mode 100644 index 0000000..9423dce --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/sso.js @@ -0,0 +1,5 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +module.exports = require("./dist-cjs/submodules/sso/index.js"); diff --git a/node_modules/@aws-sdk/nested-clients/sts.d.ts b/node_modules/@aws-sdk/nested-clients/sts.d.ts new file mode 100644 index 0000000..03b8e68 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/sts.d.ts @@ -0,0 +1,7 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +declare module "@aws-sdk/nested-clients/sts" { + export * from "@aws-sdk/nested-clients/dist-types/submodules/sts/index.d"; +} diff --git a/node_modules/@aws-sdk/nested-clients/sts.js b/node_modules/@aws-sdk/nested-clients/sts.js new file mode 100644 index 0000000..8976f12 --- /dev/null +++ b/node_modules/@aws-sdk/nested-clients/sts.js @@ -0,0 +1,5 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +module.exports = require("./dist-cjs/submodules/sts/index.js"); diff --git a/node_modules/@aws-sdk/region-config-resolver/LICENSE b/node_modules/@aws-sdk/region-config-resolver/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-sdk/region-config-resolver/README.md b/node_modules/@aws-sdk/region-config-resolver/README.md new file mode 100644 index 0000000..d3e137b --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/README.md @@ -0,0 +1,19 @@ +# @aws-sdk/region-config-resolver + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/region-config-resolver/latest.svg)](https://www.npmjs.com/package/@aws-sdk/region-config-resolver) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/region-config-resolver.svg)](https://www.npmjs.com/package/@aws-sdk/region-config-resolver) + +### :warning: Internal API :warning: + +> This is an internal package. +> That means this is used as a dependency for other, public packages, but +> should not be taken directly as a dependency in your application's `package.json`. + +> If you are updating the version of this package, for example to bring in a +> bug-fix, you should do so by updating your application lockfile with +> e.g. `npm up @scope/package` or equivalent command in another +> package manager, rather than taking a direct dependency. + +--- + +This package provides utilities for AWS region config resolvers. diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js b/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js new file mode 100644 index 0000000..4cc1f1d --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js @@ -0,0 +1,38 @@ +'use strict'; + +var stsRegionDefaultResolver = require('./regionConfig/stsRegionDefaultResolver'); +var configResolver = require('@smithy/config-resolver'); + +const getAwsRegionExtensionConfiguration = (runtimeConfig) => { + return { + setRegion(region) { + runtimeConfig.region = region; + }, + region() { + return runtimeConfig.region; + }, + }; +}; +const resolveAwsRegionExtensionConfiguration = (awsRegionExtensionConfiguration) => { + return { + region: awsRegionExtensionConfiguration.region(), + }; +}; + +exports.NODE_REGION_CONFIG_FILE_OPTIONS = configResolver.NODE_REGION_CONFIG_FILE_OPTIONS; +exports.NODE_REGION_CONFIG_OPTIONS = configResolver.NODE_REGION_CONFIG_OPTIONS; +exports.REGION_ENV_NAME = configResolver.REGION_ENV_NAME; +exports.REGION_INI_NAME = configResolver.REGION_INI_NAME; +exports.resolveRegionConfig = configResolver.resolveRegionConfig; +exports.getAwsRegionExtensionConfiguration = getAwsRegionExtensionConfiguration; +exports.resolveAwsRegionExtensionConfiguration = resolveAwsRegionExtensionConfiguration; +Object.prototype.hasOwnProperty.call(stsRegionDefaultResolver, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: stsRegionDefaultResolver['__proto__'] + }); + +Object.keys(stsRegionDefaultResolver).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = stsRegionDefaultResolver[k]; +}); diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js b/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js new file mode 100644 index 0000000..30d06fb --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.warning = void 0; +exports.stsRegionDefaultResolver = stsRegionDefaultResolver; +const config_resolver_1 = require("@smithy/config-resolver"); +const node_config_provider_1 = require("@smithy/node-config-provider"); +function stsRegionDefaultResolver(loaderConfig = {}) { + return (0, node_config_provider_1.loadConfig)({ + ...config_resolver_1.NODE_REGION_CONFIG_OPTIONS, + async default() { + if (!exports.warning.silence) { + console.warn("@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly."); + } + return "us-east-1"; + }, + }, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }); +} +exports.warning = { + silence: false, +}; diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.native.js b/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.native.js new file mode 100644 index 0000000..78908f9 --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.native.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.stsRegionDefaultResolver = stsRegionDefaultResolver; +function stsRegionDefaultResolver() { + return async () => "us-east-1"; +} diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js b/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js new file mode 100644 index 0000000..eb03314 --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js @@ -0,0 +1,15 @@ +export const getAwsRegionExtensionConfiguration = (runtimeConfig) => { + return { + setRegion(region) { + runtimeConfig.region = region; + }, + region() { + return runtimeConfig.region; + }, + }; +}; +export const resolveAwsRegionExtensionConfiguration = (awsRegionExtensionConfiguration) => { + return { + region: awsRegionExtensionConfiguration.region(), + }; +}; diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js b/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js new file mode 100644 index 0000000..d685b15 --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js @@ -0,0 +1,3 @@ +export * from "./extensions"; +export * from "./regionConfig/awsRegionConfig"; +export * from "./regionConfig/stsRegionDefaultResolver"; diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/awsRegionConfig.js b/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/awsRegionConfig.js new file mode 100644 index 0000000..533ee07 --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/awsRegionConfig.js @@ -0,0 +1,2 @@ +export { REGION_ENV_NAME, REGION_INI_NAME, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, } from "@smithy/config-resolver"; +export { resolveRegionConfig } from "@smithy/config-resolver"; diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.browser.js b/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.browser.js new file mode 100644 index 0000000..63fb0c6 --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.browser.js @@ -0,0 +1,3 @@ +export function stsRegionDefaultResolver() { + return async () => "us-east-1"; +} diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.js b/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.js new file mode 100644 index 0000000..c687555 --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.js @@ -0,0 +1,16 @@ +import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@smithy/config-resolver"; +import { loadConfig } from "@smithy/node-config-provider"; +export function stsRegionDefaultResolver(loaderConfig = {}) { + return loadConfig({ + ...NODE_REGION_CONFIG_OPTIONS, + async default() { + if (!warning.silence) { + console.warn("@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly."); + } + return "us-east-1"; + }, + }, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }); +} +export const warning = { + silence: false, +}; diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.native.js b/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.native.js new file mode 100644 index 0000000..63fb0c6 --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.native.js @@ -0,0 +1,3 @@ +export function stsRegionDefaultResolver() { + return async () => "us-east-1"; +} diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-types/extensions/index.d.ts b/node_modules/@aws-sdk/region-config-resolver/dist-types/extensions/index.d.ts new file mode 100644 index 0000000..acb4330 --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-types/extensions/index.d.ts @@ -0,0 +1,16 @@ +import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; +import type { Provider } from "@smithy/types"; +export type RegionExtensionRuntimeConfigType = Partial<{ + region: string | Provider; +}>; +/** + * @internal + */ +export declare const getAwsRegionExtensionConfiguration: (runtimeConfig: RegionExtensionRuntimeConfigType) => { + setRegion(region: Provider): void; + region(): Provider; +}; +/** + * @internal + */ +export declare const resolveAwsRegionExtensionConfiguration: (awsRegionExtensionConfiguration: AwsRegionExtensionConfiguration) => RegionExtensionRuntimeConfigType; diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-types/index.d.ts b/node_modules/@aws-sdk/region-config-resolver/dist-types/index.d.ts new file mode 100644 index 0000000..d685b15 --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-types/index.d.ts @@ -0,0 +1,3 @@ +export * from "./extensions"; +export * from "./regionConfig/awsRegionConfig"; +export * from "./regionConfig/stsRegionDefaultResolver"; diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/awsRegionConfig.d.ts b/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/awsRegionConfig.d.ts new file mode 100644 index 0000000..aa5e193 --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/awsRegionConfig.d.ts @@ -0,0 +1,15 @@ +/** + * Backward compatibility re-export alias. + * @internal + */ +export { REGION_ENV_NAME, REGION_INI_NAME, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, } from "@smithy/config-resolver"; +/** + * Backward compatibility re-export alias. + * @internal + */ +export type { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver"; +/** + * Backward compatibility re-export alias. + * @internal + */ +export { resolveRegionConfig } from "@smithy/config-resolver"; diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.browser.d.ts b/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.browser.d.ts new file mode 100644 index 0000000..d0a147f --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.browser.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare function stsRegionDefaultResolver(): () => Promise; diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.d.ts b/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.d.ts new file mode 100644 index 0000000..fc52c8a --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.d.ts @@ -0,0 +1,14 @@ +import { type LocalConfigOptions } from "@smithy/node-config-provider"; +/** + * Default region provider for STS when used as an inner client. + * Differs from the default region resolver in that us-east-1 is the fallback instead of throwing an error. + * + * @internal + */ +export declare function stsRegionDefaultResolver(loaderConfig?: LocalConfigOptions): import("@smithy/types").Provider; +/** + * @internal + */ +export declare const warning: { + silence: boolean; +}; diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.native.d.ts b/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.native.d.ts new file mode 100644 index 0000000..d0a147f --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.native.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare function stsRegionDefaultResolver(): () => Promise; diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/extensions/index.d.ts b/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/extensions/index.d.ts new file mode 100644 index 0000000..c1328e3 --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/extensions/index.d.ts @@ -0,0 +1,14 @@ +import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; +import { Provider } from "@smithy/types"; +export type RegionExtensionRuntimeConfigType = Partial<{ + region: string | Provider; +}>; +export declare const getAwsRegionExtensionConfiguration: ( + runtimeConfig: RegionExtensionRuntimeConfigType +) => { + setRegion(region: Provider): void; + region(): Provider; +}; +export declare const resolveAwsRegionExtensionConfiguration: ( + awsRegionExtensionConfiguration: AwsRegionExtensionConfiguration +) => RegionExtensionRuntimeConfigType; diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..d685b15 --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/index.d.ts @@ -0,0 +1,3 @@ +export * from "./extensions"; +export * from "./regionConfig/awsRegionConfig"; +export * from "./regionConfig/stsRegionDefaultResolver"; diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/awsRegionConfig.d.ts b/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/awsRegionConfig.d.ts new file mode 100644 index 0000000..d430fa6 --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/awsRegionConfig.d.ts @@ -0,0 +1,11 @@ +export { + REGION_ENV_NAME, + REGION_INI_NAME, + NODE_REGION_CONFIG_OPTIONS, + NODE_REGION_CONFIG_FILE_OPTIONS, +} from "@smithy/config-resolver"; +export { + RegionInputConfig, + RegionResolvedConfig, +} from "@smithy/config-resolver"; +export { resolveRegionConfig } from "@smithy/config-resolver"; diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.browser.d.ts b/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.browser.d.ts new file mode 100644 index 0000000..f9bbd63 --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.browser.d.ts @@ -0,0 +1 @@ +export declare function stsRegionDefaultResolver(): () => Promise; diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.d.ts b/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.d.ts new file mode 100644 index 0000000..e94262a --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.d.ts @@ -0,0 +1,7 @@ +import { LocalConfigOptions } from "@smithy/node-config-provider"; +export declare function stsRegionDefaultResolver( + loaderConfig?: LocalConfigOptions +): import("@smithy/types").Provider; +export declare const warning: { + silence: boolean; +}; diff --git a/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.native.d.ts b/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.native.d.ts new file mode 100644 index 0000000..f9bbd63 --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.native.d.ts @@ -0,0 +1 @@ +export declare function stsRegionDefaultResolver(): () => Promise; diff --git a/node_modules/@aws-sdk/region-config-resolver/package.json b/node_modules/@aws-sdk/region-config-resolver/package.json new file mode 100644 index 0000000..8d4d616 --- /dev/null +++ b/node_modules/@aws-sdk/region-config-resolver/package.json @@ -0,0 +1,62 @@ +{ + "name": "@aws-sdk/region-config-resolver", + "version": "3.972.10", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline region-config-resolver", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "extract:docs": "api-extractor run --local", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/config-resolver": "^4.4.13", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages-internal/region-config-resolver", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/region-config-resolver" + }, + "browser": { + "./dist-es/regionConfig/stsRegionDefaultResolver": "./dist-es/regionConfig/stsRegionDefaultResolver.browser" + }, + "react-native": {} +} diff --git a/node_modules/@aws-sdk/s3-request-presigner/LICENSE b/node_modules/@aws-sdk/s3-request-presigner/LICENSE new file mode 100644 index 0000000..e907b58 --- /dev/null +++ b/node_modules/@aws-sdk/s3-request-presigner/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@aws-sdk/s3-request-presigner/README.md b/node_modules/@aws-sdk/s3-request-presigner/README.md new file mode 100644 index 0000000..eb914d3 --- /dev/null +++ b/node_modules/@aws-sdk/s3-request-presigner/README.md @@ -0,0 +1,125 @@ +# @aws-sdk/s3-request-presigner + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/s3-request-presigner/latest.svg)](https://www.npmjs.com/package/@aws-sdk/s3-request-presigner) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/s3-request-presigner.svg)](https://www.npmjs.com/package/@aws-sdk/s3-request-presigner) + +This package provides a presigner based on signature V4 that will attempt to +generate signed url for S3. + +### Get Presigned URL with Client and Command + +You can generated presigned url from S3 client and command. Here's the example: + +```javascript +import { getSignedUrl } from "@aws-sdk/s3-request-presigner"; +import { S3Client, GetObjectCommand } from "@aws-sdk/client-s3"; +const client = new S3Client(clientParams); +const command = new GetObjectCommand(getObjectParams); +const url = await getSignedUrl(client, command, { expiresIn: 3600 }); +``` + +You can get signed URL for other S3 operations too, like `PutObjectCommand`. +`expiresIn` config from the examples above is optional. If not set, it's default +at `900`. + +If you already have a request, you can pre-sign the request following the +section bellow. + +### Get Presigned URL from an Existing Request + +```javascript +import { S3RequestPresigner } from "@aws-sdk/s3-request-presigner"; +import { Sha256 } from "@aws-crypto/sha256-browser"; +import { Hash } from "@aws-sdk/hash-node"; +const signer = new S3RequestPresigner({ + region: regionProvider, + credentials: credentialsProvider, + sha256: Hash.bind(null, "sha256"), // In Node.js + //sha256: Sha256 // In browsers +}); +const presigned = await signer.presign(request); +``` + +To avoid redundant construction parameters when instantiating the s3 presigner, +you can simply spread the configuration of an existing s3 client and supply it to +the presigner's constructor. + +```javascript +//s3 is instantiated from S3Client from @aws-sdk/client-s3-* packages +const signer = new S3RequestPresigner({ + ...s3.config, +}); +``` + +### Get Presigned URL with headers that cannot be signed + +By using the `getSignedUrl` with a `S3Client` you are able to sign your +headers, improving the security of presigned url. Importantly, if you want to +sign any `x-amz-*` headers (like the ChecksumSHA256 header in this example), +you need to provide those headers to the set of `unhoistableHeaders` in the +`getSignedUrl` params which will force those headers to be present in the +upload request. + +```javascript +import { PutObjectCommand, S3Client } from "@aws-sdk/client-s3"; +import { getSignedUrl } from "@aws-sdk/s3-request-presigner"; + +const s3Client = new S3Client({ region: "us-east-1" }); +const command = new PutObjectCommand({ + Bucket: bucket, + Key: key, + ChecksumSHA256: sha, +}); + +const presigned = getSignedUrl(s3Client, command, { + expiresIn: expiration, + // Set of all x-amz-* headers you wish to have signed + unhoistableHeaders: new Set(["x-amz-checksum-sha256"]), +}); +``` + +### Get Presigned URL with headers that should be signed + +For headers that are not `x-amz-*` you are able to add them to the set of +`signableHeaders` to be enforced in the presigned urls request. + +```javascript +import { PutObjectCommand, S3Client } from "@aws-sdk/client-s3"; +import { getSignedUrl } from "@aws-sdk/s3-request-presigner"; + +const s3Client = new S3Client({ region: "us-east-1" }); +const command = new PutObjectCommand({ + Bucket: bucket, + Key: key, + ContentType: contentType, +}); + +const presigned = getSignedUrl(s3Client, command, { + signableHeaders: new Set(["content-type"]), + expiresIn: expiration, +}); +``` + +### PutObject with use of `hoistableHeaders` + +`hoistableHeaders` overrides the default behavior of not hoisting +any headers that begin with `x-amz-*`. + +```js +// example: Server Side Encryption headers +import { getSignedUrl } from "@aws-sdk/s3-request-presigner"; +import { S3Client, PutObjectCommand } from "@aws-sdk/client-s3"; + +const params = { + Key: "...", + Bucket: "...", + ServerSideEncryption: "aws:kms", + SSEKMSKeyId: "arn:aws:kms:us-west-2:0000:key/abcd-1234-abcd", +}; +const s3Client = new S3Client(); +const command = new PutObjectCommand(params); + +const preSignedUrl = await getSignedUrl(s3Client, command, { + hoistableHeaders: new Set(["x-amz-server-side-encryption", "x-amz-server-side-encryption-aws-kms-key-id"]), +}); +``` diff --git a/node_modules/@aws-sdk/s3-request-presigner/dist-cjs/index.js b/node_modules/@aws-sdk/s3-request-presigner/dist-cjs/index.js new file mode 100644 index 0000000..adee3f7 --- /dev/null +++ b/node_modules/@aws-sdk/s3-request-presigner/dist-cjs/index.js @@ -0,0 +1,132 @@ +'use strict'; + +var utilFormatUrl = require('@aws-sdk/util-format-url'); +var middlewareEndpoint = require('@smithy/middleware-endpoint'); +var protocolHttp = require('@smithy/protocol-http'); +var signatureV4MultiRegion = require('@aws-sdk/signature-v4-multi-region'); + +const UNSIGNED_PAYLOAD = "UNSIGNED-PAYLOAD"; +const SHA256_HEADER = "X-Amz-Content-Sha256"; + +class S3RequestPresigner { + signer; + constructor(options) { + const resolvedOptions = { + service: options.signingName || options.service || "s3", + uriEscapePath: options.uriEscapePath || false, + applyChecksum: options.applyChecksum || false, + ...options, + }; + this.signer = new signatureV4MultiRegion.SignatureV4MultiRegion(resolvedOptions); + } + presign(requestToSign, { unsignableHeaders = new Set(), hoistableHeaders = new Set(), unhoistableHeaders = new Set(), ...options } = {}) { + this.prepareRequest(requestToSign, { + unsignableHeaders, + unhoistableHeaders, + hoistableHeaders, + }); + return this.signer.presign(requestToSign, { + expiresIn: 900, + unsignableHeaders, + unhoistableHeaders, + ...options, + }); + } + presignWithCredentials(requestToSign, credentials, { unsignableHeaders = new Set(), hoistableHeaders = new Set(), unhoistableHeaders = new Set(), ...options } = {}) { + this.prepareRequest(requestToSign, { + unsignableHeaders, + unhoistableHeaders, + hoistableHeaders, + }); + return this.signer.presignWithCredentials(requestToSign, credentials, { + expiresIn: 900, + unsignableHeaders, + unhoistableHeaders, + ...options, + }); + } + prepareRequest(requestToSign, { unsignableHeaders = new Set(), unhoistableHeaders = new Set(), hoistableHeaders = new Set(), } = {}) { + unsignableHeaders.add("content-type"); + Object.keys(requestToSign.headers) + .map((header) => header.toLowerCase()) + .filter((header) => header.startsWith("x-amz-server-side-encryption")) + .forEach((header) => { + if (!hoistableHeaders.has(header)) { + unhoistableHeaders.add(header); + } + }); + requestToSign.headers[SHA256_HEADER] = UNSIGNED_PAYLOAD; + const currentHostHeader = requestToSign.headers.host; + const port = requestToSign.port; + const expectedHostHeader = `${requestToSign.hostname}${requestToSign.port != null ? ":" + port : ""}`; + if (!currentHostHeader || (currentHostHeader === requestToSign.hostname && requestToSign.port != null)) { + requestToSign.headers.host = expectedHostHeader; + } + } +} + +const getSignedUrl = async (client, command, options = {}) => { + let s3Presigner; + let region; + if (typeof client.config.endpointProvider === "function") { + const endpointV2 = await middlewareEndpoint.getEndpointFromInstructions(command.input, command.constructor, client.config); + const authScheme = endpointV2.properties?.authSchemes?.[0]; + if (authScheme?.name === "sigv4a") { + region = authScheme?.signingRegionSet?.join(","); + } + else { + region = authScheme?.signingRegion; + } + s3Presigner = new S3RequestPresigner({ + ...client.config, + signingName: authScheme?.signingName, + region: async () => region, + }); + } + else { + s3Presigner = new S3RequestPresigner(client.config); + } + const presignInterceptMiddleware = (next, context) => async (args) => { + const { request } = args; + if (!protocolHttp.HttpRequest.isInstance(request)) { + throw new Error("Request to be presigned is not an valid HTTP request."); + } + delete request.headers["amz-sdk-invocation-id"]; + delete request.headers["amz-sdk-request"]; + delete request.headers["x-amz-user-agent"]; + let presigned; + const presignerOptions = { + ...options, + signingRegion: options.signingRegion ?? context["signing_region"] ?? region, + signingService: options.signingService ?? context["signing_service"], + }; + if (context.s3ExpressIdentity) { + presigned = await s3Presigner.presignWithCredentials(request, context.s3ExpressIdentity, presignerOptions); + } + else { + presigned = await s3Presigner.presign(request, presignerOptions); + } + return { + response: {}, + output: { + $metadata: { httpStatusCode: 200 }, + presigned, + }, + }; + }; + const middlewareName = "presignInterceptMiddleware"; + const clientStack = client.middlewareStack.clone(); + clientStack.addRelativeTo(presignInterceptMiddleware, { + name: middlewareName, + relation: "before", + toMiddleware: "awsAuthMiddleware", + override: true, + }); + const handler = command.resolveMiddleware(clientStack, client.config, {}); + const { output } = await handler({ input: command.input }); + const { presigned } = output; + return utilFormatUrl.formatUrl(presigned); +}; + +exports.S3RequestPresigner = S3RequestPresigner; +exports.getSignedUrl = getSignedUrl; diff --git a/node_modules/@aws-sdk/s3-request-presigner/dist-es/constants.js b/node_modules/@aws-sdk/s3-request-presigner/dist-es/constants.js new file mode 100644 index 0000000..938f00b --- /dev/null +++ b/node_modules/@aws-sdk/s3-request-presigner/dist-es/constants.js @@ -0,0 +1,9 @@ +export const UNSIGNED_PAYLOAD = "UNSIGNED-PAYLOAD"; +export const SHA256_HEADER = "X-Amz-Content-Sha256"; +export const ALGORITHM_QUERY_PARAM = "X-Amz-Algorithm"; +export const CREDENTIAL_QUERY_PARAM = "X-Amz-Credential"; +export const AMZ_DATE_QUERY_PARAM = "X-Amz-Date"; +export const SIGNED_HEADERS_QUERY_PARAM = "X-Amz-SignedHeaders"; +export const EXPIRES_QUERY_PARAM = "X-Amz-Expires"; +export const HOST_HEADER = "host"; +export const ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256"; diff --git a/node_modules/@aws-sdk/s3-request-presigner/dist-es/getSignedUrl.js b/node_modules/@aws-sdk/s3-request-presigner/dist-es/getSignedUrl.js new file mode 100644 index 0000000..a6a17e1 --- /dev/null +++ b/node_modules/@aws-sdk/s3-request-presigner/dist-es/getSignedUrl.js @@ -0,0 +1,66 @@ +import { formatUrl } from "@aws-sdk/util-format-url"; +import { getEndpointFromInstructions } from "@smithy/middleware-endpoint"; +import { HttpRequest } from "@smithy/protocol-http"; +import { S3RequestPresigner } from "./presigner"; +export const getSignedUrl = async (client, command, options = {}) => { + let s3Presigner; + let region; + if (typeof client.config.endpointProvider === "function") { + const endpointV2 = await getEndpointFromInstructions(command.input, command.constructor, client.config); + const authScheme = endpointV2.properties?.authSchemes?.[0]; + if (authScheme?.name === "sigv4a") { + region = authScheme?.signingRegionSet?.join(","); + } + else { + region = authScheme?.signingRegion; + } + s3Presigner = new S3RequestPresigner({ + ...client.config, + signingName: authScheme?.signingName, + region: async () => region, + }); + } + else { + s3Presigner = new S3RequestPresigner(client.config); + } + const presignInterceptMiddleware = (next, context) => async (args) => { + const { request } = args; + if (!HttpRequest.isInstance(request)) { + throw new Error("Request to be presigned is not an valid HTTP request."); + } + delete request.headers["amz-sdk-invocation-id"]; + delete request.headers["amz-sdk-request"]; + delete request.headers["x-amz-user-agent"]; + let presigned; + const presignerOptions = { + ...options, + signingRegion: options.signingRegion ?? context["signing_region"] ?? region, + signingService: options.signingService ?? context["signing_service"], + }; + if (context.s3ExpressIdentity) { + presigned = await s3Presigner.presignWithCredentials(request, context.s3ExpressIdentity, presignerOptions); + } + else { + presigned = await s3Presigner.presign(request, presignerOptions); + } + return { + response: {}, + output: { + $metadata: { httpStatusCode: 200 }, + presigned, + }, + }; + }; + const middlewareName = "presignInterceptMiddleware"; + const clientStack = client.middlewareStack.clone(); + clientStack.addRelativeTo(presignInterceptMiddleware, { + name: middlewareName, + relation: "before", + toMiddleware: "awsAuthMiddleware", + override: true, + }); + const handler = command.resolveMiddleware(clientStack, client.config, {}); + const { output } = await handler({ input: command.input }); + const { presigned } = output; + return formatUrl(presigned); +}; diff --git a/node_modules/@aws-sdk/s3-request-presigner/dist-es/index.js b/node_modules/@aws-sdk/s3-request-presigner/dist-es/index.js new file mode 100644 index 0000000..f20b818 --- /dev/null +++ b/node_modules/@aws-sdk/s3-request-presigner/dist-es/index.js @@ -0,0 +1,2 @@ +export * from "./getSignedUrl"; +export * from "./presigner"; diff --git a/node_modules/@aws-sdk/s3-request-presigner/dist-es/presigner.js b/node_modules/@aws-sdk/s3-request-presigner/dist-es/presigner.js new file mode 100644 index 0000000..8b46fe1 --- /dev/null +++ b/node_modules/@aws-sdk/s3-request-presigner/dist-es/presigner.js @@ -0,0 +1,58 @@ +import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region"; +import { SHA256_HEADER, UNSIGNED_PAYLOAD } from "./constants"; +export class S3RequestPresigner { + signer; + constructor(options) { + const resolvedOptions = { + service: options.signingName || options.service || "s3", + uriEscapePath: options.uriEscapePath || false, + applyChecksum: options.applyChecksum || false, + ...options, + }; + this.signer = new SignatureV4MultiRegion(resolvedOptions); + } + presign(requestToSign, { unsignableHeaders = new Set(), hoistableHeaders = new Set(), unhoistableHeaders = new Set(), ...options } = {}) { + this.prepareRequest(requestToSign, { + unsignableHeaders, + unhoistableHeaders, + hoistableHeaders, + }); + return this.signer.presign(requestToSign, { + expiresIn: 900, + unsignableHeaders, + unhoistableHeaders, + ...options, + }); + } + presignWithCredentials(requestToSign, credentials, { unsignableHeaders = new Set(), hoistableHeaders = new Set(), unhoistableHeaders = new Set(), ...options } = {}) { + this.prepareRequest(requestToSign, { + unsignableHeaders, + unhoistableHeaders, + hoistableHeaders, + }); + return this.signer.presignWithCredentials(requestToSign, credentials, { + expiresIn: 900, + unsignableHeaders, + unhoistableHeaders, + ...options, + }); + } + prepareRequest(requestToSign, { unsignableHeaders = new Set(), unhoistableHeaders = new Set(), hoistableHeaders = new Set(), } = {}) { + unsignableHeaders.add("content-type"); + Object.keys(requestToSign.headers) + .map((header) => header.toLowerCase()) + .filter((header) => header.startsWith("x-amz-server-side-encryption")) + .forEach((header) => { + if (!hoistableHeaders.has(header)) { + unhoistableHeaders.add(header); + } + }); + requestToSign.headers[SHA256_HEADER] = UNSIGNED_PAYLOAD; + const currentHostHeader = requestToSign.headers.host; + const port = requestToSign.port; + const expectedHostHeader = `${requestToSign.hostname}${requestToSign.port != null ? ":" + port : ""}`; + if (!currentHostHeader || (currentHostHeader === requestToSign.hostname && requestToSign.port != null)) { + requestToSign.headers.host = expectedHostHeader; + } + } +} diff --git a/node_modules/@aws-sdk/s3-request-presigner/dist-types/constants.d.ts b/node_modules/@aws-sdk/s3-request-presigner/dist-types/constants.d.ts new file mode 100644 index 0000000..41ae278 --- /dev/null +++ b/node_modules/@aws-sdk/s3-request-presigner/dist-types/constants.d.ts @@ -0,0 +1,9 @@ +export declare const UNSIGNED_PAYLOAD = "UNSIGNED-PAYLOAD"; +export declare const SHA256_HEADER = "X-Amz-Content-Sha256"; +export declare const ALGORITHM_QUERY_PARAM = "X-Amz-Algorithm"; +export declare const CREDENTIAL_QUERY_PARAM = "X-Amz-Credential"; +export declare const AMZ_DATE_QUERY_PARAM = "X-Amz-Date"; +export declare const SIGNED_HEADERS_QUERY_PARAM = "X-Amz-SignedHeaders"; +export declare const EXPIRES_QUERY_PARAM = "X-Amz-Expires"; +export declare const HOST_HEADER = "host"; +export declare const ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256"; diff --git a/node_modules/@aws-sdk/s3-request-presigner/dist-types/getSignedUrl.d.ts b/node_modules/@aws-sdk/s3-request-presigner/dist-types/getSignedUrl.d.ts new file mode 100644 index 0000000..c27136a --- /dev/null +++ b/node_modules/@aws-sdk/s3-request-presigner/dist-types/getSignedUrl.d.ts @@ -0,0 +1,6 @@ +import type { Client, Command } from "@smithy/smithy-client"; +import type { MetadataBearer, RequestPresigningArguments } from "@smithy/types"; +/** + * @public + */ +export declare const getSignedUrl: (client: Client, command: Command, options?: RequestPresigningArguments) => Promise; diff --git a/node_modules/@aws-sdk/s3-request-presigner/dist-types/index.d.ts b/node_modules/@aws-sdk/s3-request-presigner/dist-types/index.d.ts new file mode 100644 index 0000000..f20b818 --- /dev/null +++ b/node_modules/@aws-sdk/s3-request-presigner/dist-types/index.d.ts @@ -0,0 +1,2 @@ +export * from "./getSignedUrl"; +export * from "./presigner"; diff --git a/node_modules/@aws-sdk/s3-request-presigner/dist-types/presigner.d.ts b/node_modules/@aws-sdk/s3-request-presigner/dist-types/presigner.d.ts new file mode 100644 index 0000000..5f4a995 --- /dev/null +++ b/node_modules/@aws-sdk/s3-request-presigner/dist-types/presigner.d.ts @@ -0,0 +1,15 @@ +import type { SignatureV4MultiRegionInit } from "@aws-sdk/signature-v4-multi-region"; +import type { AwsCredentialIdentity, RequestPresigner, RequestPresigningArguments } from "@smithy/types"; +import type { HttpRequest as IHttpRequest } from "@smithy/types"; +type PartialBy = Omit & Partial>; +export type S3RequestPresignerOptions = PartialBy & { + signingName?: string; +}; +export declare class S3RequestPresigner implements RequestPresigner { + private readonly signer; + constructor(options: S3RequestPresignerOptions); + presign(requestToSign: IHttpRequest, { unsignableHeaders, hoistableHeaders, unhoistableHeaders, ...options }?: RequestPresigningArguments): Promise; + presignWithCredentials(requestToSign: IHttpRequest, credentials: AwsCredentialIdentity, { unsignableHeaders, hoistableHeaders, unhoistableHeaders, ...options }?: RequestPresigningArguments): Promise; + private prepareRequest; +} +export {}; diff --git a/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/constants.d.ts b/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/constants.d.ts new file mode 100644 index 0000000..41ae278 --- /dev/null +++ b/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/constants.d.ts @@ -0,0 +1,9 @@ +export declare const UNSIGNED_PAYLOAD = "UNSIGNED-PAYLOAD"; +export declare const SHA256_HEADER = "X-Amz-Content-Sha256"; +export declare const ALGORITHM_QUERY_PARAM = "X-Amz-Algorithm"; +export declare const CREDENTIAL_QUERY_PARAM = "X-Amz-Credential"; +export declare const AMZ_DATE_QUERY_PARAM = "X-Amz-Date"; +export declare const SIGNED_HEADERS_QUERY_PARAM = "X-Amz-SignedHeaders"; +export declare const EXPIRES_QUERY_PARAM = "X-Amz-Expires"; +export declare const HOST_HEADER = "host"; +export declare const ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256"; diff --git a/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/getSignedUrl.d.ts b/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/getSignedUrl.d.ts new file mode 100644 index 0000000..ad0bbf1 --- /dev/null +++ b/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/getSignedUrl.d.ts @@ -0,0 +1,11 @@ +import { Client, Command } from "@smithy/smithy-client"; +import { MetadataBearer, RequestPresigningArguments } from "@smithy/types"; +export declare const getSignedUrl: < + InputTypesUnion extends object, + InputType extends InputTypesUnion, + OutputType extends MetadataBearer = MetadataBearer +>( + client: Client, + command: Command, + options?: RequestPresigningArguments +) => Promise; diff --git a/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..f20b818 --- /dev/null +++ b/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/index.d.ts @@ -0,0 +1,2 @@ +export * from "./getSignedUrl"; +export * from "./presigner"; diff --git a/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/presigner.d.ts b/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/presigner.d.ts new file mode 100644 index 0000000..bc5d0fa --- /dev/null +++ b/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/presigner.d.ts @@ -0,0 +1,40 @@ +import { SignatureV4MultiRegionInit } from "@aws-sdk/signature-v4-multi-region"; +import { + AwsCredentialIdentity, + RequestPresigner, + RequestPresigningArguments, +} from "@smithy/types"; +import { HttpRequest as IHttpRequest } from "@smithy/types"; +type PartialBy = Pick> & + Partial>; +export type S3RequestPresignerOptions = PartialBy< + SignatureV4MultiRegionInit, + "service" | "uriEscapePath" +> & { + signingName?: string; +}; +export declare class S3RequestPresigner implements RequestPresigner { + private readonly signer; + constructor(options: S3RequestPresignerOptions); + presign( + requestToSign: IHttpRequest, + { + unsignableHeaders, + hoistableHeaders, + unhoistableHeaders, + ...options + }?: RequestPresigningArguments + ): Promise; + presignWithCredentials( + requestToSign: IHttpRequest, + credentials: AwsCredentialIdentity, + { + unsignableHeaders, + hoistableHeaders, + unhoistableHeaders, + ...options + }?: RequestPresigningArguments + ): Promise; + private prepareRequest; +} +export {}; diff --git a/node_modules/@aws-sdk/s3-request-presigner/package.json b/node_modules/@aws-sdk/s3-request-presigner/package.json new file mode 100644 index 0000000..24fdc8e --- /dev/null +++ b/node_modules/@aws-sdk/s3-request-presigner/package.json @@ -0,0 +1,64 @@ +{ + "name": "@aws-sdk/s3-request-presigner", + "version": "3.1024.0", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline s3-request-presigner", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "extract:docs": "api-extractor run --local", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/signature-v4-multi-region": "^3.996.15", + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/util-format-url": "^3.972.8", + "@smithy/middleware-endpoint": "^4.4.28", + "@smithy/protocol-http": "^5.3.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@aws-sdk/client-s3": "3.1024.0", + "@smithy/hash-node": "^4.2.12", + "@tsconfig/recommended": "1.0.1", + "@types/node": "^20.14.8", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/s3-request-presigner", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages/s3-request-presigner" + } +} diff --git a/node_modules/@aws-sdk/signature-v4-multi-region/LICENSE b/node_modules/@aws-sdk/signature-v4-multi-region/LICENSE new file mode 100644 index 0000000..e907b58 --- /dev/null +++ b/node_modules/@aws-sdk/signature-v4-multi-region/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@aws-sdk/signature-v4-multi-region/README.md b/node_modules/@aws-sdk/signature-v4-multi-region/README.md new file mode 100644 index 0000000..4120f78 --- /dev/null +++ b/node_modules/@aws-sdk/signature-v4-multi-region/README.md @@ -0,0 +1,32 @@ +# @aws-sdk/signature-v4-multi-region + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/signature-v4-multi-region/latest.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-multi-region) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/signature-v4-multi-region.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-multi-region) + +See also https://github.com/aws/aws-sdk-js-v3/tree/main#functionality-requiring-aws-common-runtime-crt. + +## Usage + +This package contains optional dependency [`@aws-sdk/signature-v4-crt`](https://www.npmjs.com/package/@aws-sdk/signature-v4). +You need to install this package explicitly to sign an un-regional request using SigV4a algorithm. The package contains +Node.js native implementation which requires building at installation. The installed package MAY NOT work if the +instance building the package runs a different operating system than the instance running the application. + +The `@aws-sdk/signature-v4-crt` is only supported in Node.js currently because it depends on a native dependency. + +Please refer to [this issue](https://github.com/aws/aws-sdk-js-v3/issues/2822) for more information. + +Note: You can also use a native JS (non-CRT) implementation of the SigV4A signer, instructions for which are here: +https://github.com/aws/aws-sdk-js-v3/tree/main#functionality-requiring-aws-common-runtime-crt + +Please refer to the note regarding bundle size in the link above, before deciding to use the JS SigV4A signer (including in browsers). + +## Description + +This package provides a SigV4-compatible request signer that wraps a pure-JS SigV4 signer +([`@aws-sdk/signature-v4`](https://www.npmjs.com/package/@aws-sdk/signature-v4)) for regional requests, and attempts to +call a native implementation of SigV4a signer([`@aws-sdk/signature-v4-crt`](https://www.npmjs.com/package/@aws-sdk/signature-v4)) +it the request is multi-region. + +A multi-region request is identified by the `signingRegion` parameter. A request is multi-region if the `signingRegion` +parameter is set to `*`. diff --git a/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js b/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js new file mode 100644 index 0000000..9039f8b --- /dev/null +++ b/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js @@ -0,0 +1,121 @@ +'use strict'; + +var middlewareSdkS3 = require('@aws-sdk/middleware-sdk-s3'); +var signatureV4 = require('@smithy/signature-v4'); + +const signatureV4CrtContainer = { + CrtSignerV4: null, +}; + +class SignatureV4MultiRegion { + sigv4aSigner; + sigv4Signer; + signerOptions; + static sigv4aDependency() { + if (typeof signatureV4CrtContainer.CrtSignerV4 === "function") { + return "crt"; + } + else if (typeof signatureV4.signatureV4aContainer.SignatureV4a === "function") { + return "js"; + } + return "none"; + } + constructor(options) { + this.sigv4Signer = new middlewareSdkS3.SignatureV4S3Express(options); + this.signerOptions = options; + } + async sign(requestToSign, options = {}) { + if (options.signingRegion === "*") { + return this.getSigv4aSigner().sign(requestToSign, options); + } + return this.sigv4Signer.sign(requestToSign, options); + } + async signWithCredentials(requestToSign, credentials, options = {}) { + if (options.signingRegion === "*") { + const signer = this.getSigv4aSigner(); + const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4; + if (CrtSignerV4 && signer instanceof CrtSignerV4) { + return signer.signWithCredentials(requestToSign, credentials, options); + } + else { + throw new Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. ` + + `Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. ` + + `You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] ` + + `or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. ` + + `For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`); + } + } + return this.sigv4Signer.signWithCredentials(requestToSign, credentials, options); + } + async presign(originalRequest, options = {}) { + if (options.signingRegion === "*") { + const signer = this.getSigv4aSigner(); + const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4; + if (CrtSignerV4 && signer instanceof CrtSignerV4) { + return signer.presign(originalRequest, options); + } + else { + throw new Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. ` + + `Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. ` + + `You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] ` + + `or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. ` + + `For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`); + } + } + return this.sigv4Signer.presign(originalRequest, options); + } + async presignWithCredentials(originalRequest, credentials, options = {}) { + if (options.signingRegion === "*") { + throw new Error("Method presignWithCredentials is not supported for [signingRegion=*]."); + } + return this.sigv4Signer.presignWithCredentials(originalRequest, credentials, options); + } + getSigv4aSigner() { + if (!this.sigv4aSigner) { + const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4; + const JsSigV4aSigner = signatureV4.signatureV4aContainer.SignatureV4a; + if (this.signerOptions.runtime === "node") { + if (!CrtSignerV4 && !JsSigV4aSigner) { + throw new Error("Neither CRT nor JS SigV4a implementation is available. " + + "Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. " + + "For more information please go to " + + "https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt"); + } + if (CrtSignerV4 && typeof CrtSignerV4 === "function") { + this.sigv4aSigner = new CrtSignerV4({ + ...this.signerOptions, + signingAlgorithm: 1, + }); + } + else if (JsSigV4aSigner && typeof JsSigV4aSigner === "function") { + this.sigv4aSigner = new JsSigV4aSigner({ + ...this.signerOptions, + }); + } + else { + throw new Error("Available SigV4a implementation is not a valid constructor. " + + "Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a." + + "For more information please go to " + + "https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt"); + } + } + else { + if (!JsSigV4aSigner || typeof JsSigV4aSigner !== "function") { + throw new Error("JS SigV4a implementation is not available or not a valid constructor. " + + "Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. " + + "You must also register the package by calling [require('@aws-sdk/signature-v4a');] " + + "or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. " + + "For more information please go to " + + "https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a"); + } + this.sigv4aSigner = new JsSigV4aSigner({ + ...this.signerOptions, + }); + } + } + return this.sigv4aSigner; + } +} + +exports.SignatureV4MultiRegion = SignatureV4MultiRegion; +exports.signatureV4CrtContainer = signatureV4CrtContainer; diff --git a/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js b/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js new file mode 100644 index 0000000..25d7458 --- /dev/null +++ b/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js @@ -0,0 +1,112 @@ +import { SignatureV4S3Express } from "@aws-sdk/middleware-sdk-s3"; +import { signatureV4aContainer } from "@smithy/signature-v4"; +import { signatureV4CrtContainer } from "./signature-v4-crt-container"; +export class SignatureV4MultiRegion { + sigv4aSigner; + sigv4Signer; + signerOptions; + static sigv4aDependency() { + if (typeof signatureV4CrtContainer.CrtSignerV4 === "function") { + return "crt"; + } + else if (typeof signatureV4aContainer.SignatureV4a === "function") { + return "js"; + } + return "none"; + } + constructor(options) { + this.sigv4Signer = new SignatureV4S3Express(options); + this.signerOptions = options; + } + async sign(requestToSign, options = {}) { + if (options.signingRegion === "*") { + return this.getSigv4aSigner().sign(requestToSign, options); + } + return this.sigv4Signer.sign(requestToSign, options); + } + async signWithCredentials(requestToSign, credentials, options = {}) { + if (options.signingRegion === "*") { + const signer = this.getSigv4aSigner(); + const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4; + if (CrtSignerV4 && signer instanceof CrtSignerV4) { + return signer.signWithCredentials(requestToSign, credentials, options); + } + else { + throw new Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. ` + + `Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. ` + + `You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] ` + + `or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. ` + + `For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`); + } + } + return this.sigv4Signer.signWithCredentials(requestToSign, credentials, options); + } + async presign(originalRequest, options = {}) { + if (options.signingRegion === "*") { + const signer = this.getSigv4aSigner(); + const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4; + if (CrtSignerV4 && signer instanceof CrtSignerV4) { + return signer.presign(originalRequest, options); + } + else { + throw new Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. ` + + `Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. ` + + `You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] ` + + `or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. ` + + `For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`); + } + } + return this.sigv4Signer.presign(originalRequest, options); + } + async presignWithCredentials(originalRequest, credentials, options = {}) { + if (options.signingRegion === "*") { + throw new Error("Method presignWithCredentials is not supported for [signingRegion=*]."); + } + return this.sigv4Signer.presignWithCredentials(originalRequest, credentials, options); + } + getSigv4aSigner() { + if (!this.sigv4aSigner) { + const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4; + const JsSigV4aSigner = signatureV4aContainer.SignatureV4a; + if (this.signerOptions.runtime === "node") { + if (!CrtSignerV4 && !JsSigV4aSigner) { + throw new Error("Neither CRT nor JS SigV4a implementation is available. " + + "Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. " + + "For more information please go to " + + "https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt"); + } + if (CrtSignerV4 && typeof CrtSignerV4 === "function") { + this.sigv4aSigner = new CrtSignerV4({ + ...this.signerOptions, + signingAlgorithm: 1, + }); + } + else if (JsSigV4aSigner && typeof JsSigV4aSigner === "function") { + this.sigv4aSigner = new JsSigV4aSigner({ + ...this.signerOptions, + }); + } + else { + throw new Error("Available SigV4a implementation is not a valid constructor. " + + "Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a." + + "For more information please go to " + + "https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt"); + } + } + else { + if (!JsSigV4aSigner || typeof JsSigV4aSigner !== "function") { + throw new Error("JS SigV4a implementation is not available or not a valid constructor. " + + "Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. " + + "You must also register the package by calling [require('@aws-sdk/signature-v4a');] " + + "or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. " + + "For more information please go to " + + "https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a"); + } + this.sigv4aSigner = new JsSigV4aSigner({ + ...this.signerOptions, + }); + } + } + return this.sigv4aSigner; + } +} diff --git a/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/index.js b/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/index.js new file mode 100644 index 0000000..1e32dd2 --- /dev/null +++ b/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/index.js @@ -0,0 +1,2 @@ +export * from "./SignatureV4MultiRegion"; +export * from "./signature-v4-crt-container"; diff --git a/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/signature-v4-crt-container.js b/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/signature-v4-crt-container.js new file mode 100644 index 0000000..c4bcc64 --- /dev/null +++ b/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/signature-v4-crt-container.js @@ -0,0 +1,3 @@ +export const signatureV4CrtContainer = { + CrtSignerV4: null, +}; diff --git a/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/SignatureV4MultiRegion.d.ts b/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/SignatureV4MultiRegion.d.ts new file mode 100644 index 0000000..af37876 --- /dev/null +++ b/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/SignatureV4MultiRegion.d.ts @@ -0,0 +1,35 @@ +import type { SignatureV4CryptoInit, SignatureV4Init } from "@smithy/signature-v4"; +import type { AwsCredentialIdentity, HttpRequest, RequestPresigner, RequestPresigningArguments, RequestSigner, RequestSigningArguments } from "@smithy/types"; +/** + * @internal + */ +export type SignatureV4MultiRegionInit = SignatureV4Init & SignatureV4CryptoInit & { + runtime?: string; +}; +/** + * A SigV4-compatible signer for S3 service. In order to support SigV4a algorithm according to the operation input + * dynamically, the signer wraps native module SigV4a signer and JS SigV4 signer. It signs the request with SigV4a + * algorithm if the request needs to be signed with `*` region. Otherwise, it signs the request with normal SigV4 + * signer. + * @internal + */ +export declare class SignatureV4MultiRegion implements RequestPresigner, RequestSigner { + private sigv4aSigner?; + private readonly sigv4Signer; + private readonly signerOptions; + static sigv4aDependency(): "none" | "js" | "crt"; + constructor(options: SignatureV4MultiRegionInit); + sign(requestToSign: HttpRequest, options?: RequestSigningArguments): Promise; + /** + * Sign with alternate credentials to the ones provided in the constructor. + * Note: This is only supported for SigV4a when using the CRT implementation. + */ + signWithCredentials(requestToSign: HttpRequest, credentials: AwsCredentialIdentity, options?: RequestSigningArguments): Promise; + /** + * Presign a request. + * Note: This is only supported for SigV4a when using the CRT implementation. + */ + presign(originalRequest: HttpRequest, options?: RequestPresigningArguments): Promise; + presignWithCredentials(originalRequest: HttpRequest, credentials: AwsCredentialIdentity, options?: RequestPresigningArguments): Promise; + private getSigv4aSigner; +} diff --git a/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/index.d.ts b/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/index.d.ts new file mode 100644 index 0000000..1a5cf5f --- /dev/null +++ b/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/index.d.ts @@ -0,0 +1,5 @@ +/** + * @internal + */ +export * from "./SignatureV4MultiRegion"; +export * from "./signature-v4-crt-container"; diff --git a/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/signature-v4-crt-container.d.ts b/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/signature-v4-crt-container.d.ts new file mode 100644 index 0000000..853fbd5 --- /dev/null +++ b/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/signature-v4-crt-container.d.ts @@ -0,0 +1,28 @@ +import type { AwsCredentialIdentity } from "@aws-sdk/types"; +import type { HttpRequest, RequestPresigner, RequestSigner, RequestSigningArguments } from "@smithy/types"; +/** + * @public + */ +export type OptionalCrtSignerV4 = { + /** + * This constructor is not typed so as not to require a type import + * from the signature-v4-crt package. + * + * The true type is CrtSignerV4 from \@aws-sdk/signature-v4-crt. + */ + new (options: any): RequestPresigner & RequestSigner & { + signWithCredentials(requestToSign: HttpRequest, credentials: AwsCredentialIdentity, options: RequestSigningArguments): Promise; + }; +}; +/** + * @public + * + * \@aws-sdk/signature-v4-crt will install the constructor in this + * container if it is installed. + * + * This avoids a runtime-require being interpreted statically by bundlers. + * + */ +export declare const signatureV4CrtContainer: { + CrtSignerV4: null | OptionalCrtSignerV4; +}; diff --git a/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/SignatureV4MultiRegion.d.ts b/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/SignatureV4MultiRegion.d.ts new file mode 100644 index 0000000..1fd47bf --- /dev/null +++ b/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/SignatureV4MultiRegion.d.ts @@ -0,0 +1,41 @@ +import { SignatureV4CryptoInit, SignatureV4Init } from "@smithy/signature-v4"; +import { + AwsCredentialIdentity, + HttpRequest, + RequestPresigner, + RequestPresigningArguments, + RequestSigner, + RequestSigningArguments, +} from "@smithy/types"; +export type SignatureV4MultiRegionInit = SignatureV4Init & + SignatureV4CryptoInit & { + runtime?: string; + }; +export declare class SignatureV4MultiRegion + implements RequestPresigner, RequestSigner +{ + private sigv4aSigner?; + private readonly sigv4Signer; + private readonly signerOptions; + static sigv4aDependency(): "none" | "js" | "crt"; + constructor(options: SignatureV4MultiRegionInit); + sign( + requestToSign: HttpRequest, + options?: RequestSigningArguments + ): Promise; + signWithCredentials( + requestToSign: HttpRequest, + credentials: AwsCredentialIdentity, + options?: RequestSigningArguments + ): Promise; + presign( + originalRequest: HttpRequest, + options?: RequestPresigningArguments + ): Promise; + presignWithCredentials( + originalRequest: HttpRequest, + credentials: AwsCredentialIdentity, + options?: RequestPresigningArguments + ): Promise; + private getSigv4aSigner; +} diff --git a/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..1e32dd2 --- /dev/null +++ b/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/index.d.ts @@ -0,0 +1,2 @@ +export * from "./SignatureV4MultiRegion"; +export * from "./signature-v4-crt-container"; diff --git a/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/signature-v4-crt-container.d.ts b/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/signature-v4-crt-container.d.ts new file mode 100644 index 0000000..c91bec1 --- /dev/null +++ b/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/signature-v4-crt-container.d.ts @@ -0,0 +1,20 @@ +import { AwsCredentialIdentity } from "@aws-sdk/types"; +import { + HttpRequest, + RequestPresigner, + RequestSigner, + RequestSigningArguments, +} from "@smithy/types"; +export type OptionalCrtSignerV4 = { + new (options: any): RequestPresigner & + RequestSigner & { + signWithCredentials( + requestToSign: HttpRequest, + credentials: AwsCredentialIdentity, + options: RequestSigningArguments + ): Promise; + }; +}; +export declare const signatureV4CrtContainer: { + CrtSignerV4: null | OptionalCrtSignerV4; +}; diff --git a/node_modules/@aws-sdk/signature-v4-multi-region/package.json b/node_modules/@aws-sdk/signature-v4-multi-region/package.json new file mode 100644 index 0000000..b87f195 --- /dev/null +++ b/node_modules/@aws-sdk/signature-v4-multi-region/package.json @@ -0,0 +1,61 @@ +{ + "name": "@aws-sdk/signature-v4-multi-region", + "version": "3.996.15", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline signature-v4-multi-region", + "build:es": "tsc -p tsconfig.es.json", + "build:browser": "node ./test-browser/browser-build/esbuild", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts", + "test:browser": "yarn build:browser && yarn g:vitest run -c vitest.config.browser.mts", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/middleware-sdk-s3": "^3.972.27", + "@aws-sdk/types": "^3.973.6", + "@smithy/protocol-http": "^5.3.12", + "@smithy/signature-v4": "^5.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/signature-v4-multi-region", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages/signature-v4-multi-region" + } +} diff --git a/node_modules/@aws-sdk/token-providers/LICENSE b/node_modules/@aws-sdk/token-providers/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-sdk/token-providers/README.md b/node_modules/@aws-sdk/token-providers/README.md new file mode 100644 index 0000000..ce60982 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/README.md @@ -0,0 +1,62 @@ +# @aws-sdk/token-providers + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/token-providers/latest.svg)](https://www.npmjs.com/package/@aws-sdk/token-providers) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/token-providers.svg)](https://www.npmjs.com/package/@aws-sdk/token-providers) + +A collection of all token providers. The token providers should be used when the authorization +type is going to be token based. For example, the `bearer` authorization type set using +[httpBearerAuth trait][http-bearer-auth-trait] in Smithy. + +## Static Token Provider + +```ts +import { fromStatic } from "@aws-sdk/token-providers"; + +const token = { token: "TOKEN" }; +const staticTokenProvider = fromStatic(token); + +const staticToken = await staticTokenProvider(); // returns { token: "TOKEN" } +``` + +## SSO Token Provider + +```ts +import { fromSso } from "@aws-sdk/token-providers"; + +// returns token from SSO token cache or ssoOidc.createToken() call. +const ssoToken = await fromSso(); +``` + +## Env Token Provider with Signing Name + +```ts +import { fromEnvSigningName } from "@aws-sdk/token-providers"; + +// returns token from environment, where token's key is based on signing name. +const envSigningNameToken = await fromEnvSigningName({ signingName: "signing name" }); +``` + +## Token Provider Chain + +```ts +import { nodeProvider } from "@aws-sdk/token-providers"; + +// returns token from default providers. +const token = await nodeProvider(); +``` + +[http-bearer-auth-trait]: https://smithy.io/2.0/spec/authentication-traits.html#smithy-api-httpbearerauth-trait + +--- + +### Development + +This package contains a minimal copy of the SSO OIDC client, instead of relying on the full client, which +would cause a circular dependency. + +When regenerating the bundled version of the SSO OIDC client, run the esbuild.js script and then make the following changes: + +- Remove any dependency of the generated client on the credential chain such that it would create + a circular dependency back to this package. Because we only need the `CreateTokenCommand`, the client, and this command's + associated `Exception`s, it is possible to remove auth dependencies. +- Ensure all required packages are declared in the `package.json` of token-providers. diff --git a/node_modules/@aws-sdk/token-providers/dist-cjs/index.js b/node_modules/@aws-sdk/token-providers/dist-cjs/index.js new file mode 100644 index 0000000..f4469d2 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-cjs/index.js @@ -0,0 +1,157 @@ +'use strict'; + +var client = require('@aws-sdk/core/client'); +var httpAuthSchemes = require('@aws-sdk/core/httpAuthSchemes'); +var propertyProvider = require('@smithy/property-provider'); +var sharedIniFileLoader = require('@smithy/shared-ini-file-loader'); +var node_fs = require('node:fs'); + +const fromEnvSigningName = ({ logger, signingName } = {}) => async () => { + logger?.debug?.("@aws-sdk/token-providers - fromEnvSigningName"); + if (!signingName) { + throw new propertyProvider.TokenProviderError("Please pass 'signingName' to compute environment variable key", { logger }); + } + const bearerTokenKey = httpAuthSchemes.getBearerTokenEnvKey(signingName); + if (!(bearerTokenKey in process.env)) { + throw new propertyProvider.TokenProviderError(`Token not present in '${bearerTokenKey}' environment variable`, { logger }); + } + const token = { token: process.env[bearerTokenKey] }; + client.setTokenFeature(token, "BEARER_SERVICE_ENV_VARS", "3"); + return token; +}; + +const EXPIRE_WINDOW_MS = 5 * 60 * 1000; +const REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`; + +const getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => { + const { SSOOIDCClient } = await import('@aws-sdk/nested-clients/sso-oidc'); + const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop]; + const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, { + region: ssoRegion ?? init.clientConfig?.region, + logger: coalesce("logger"), + userAgentAppId: coalesce("userAgentAppId"), + })); + return ssoOidcClient; +}; + +const getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => { + const { CreateTokenCommand } = await import('@aws-sdk/nested-clients/sso-oidc'); + const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig); + return ssoOidcClient.send(new CreateTokenCommand({ + clientId: ssoToken.clientId, + clientSecret: ssoToken.clientSecret, + refreshToken: ssoToken.refreshToken, + grantType: "refresh_token", + })); +}; + +const validateTokenExpiry = (token) => { + if (token.expiration && token.expiration.getTime() < Date.now()) { + throw new propertyProvider.TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false); + } +}; + +const validateTokenKey = (key, value, forRefresh = false) => { + if (typeof value === "undefined") { + throw new propertyProvider.TokenProviderError(`Value not present for '${key}' in SSO Token${forRefresh ? ". Cannot refresh" : ""}. ${REFRESH_MESSAGE}`, false); + } +}; + +const { writeFile } = node_fs.promises; +const writeSSOTokenToFile = (id, ssoToken) => { + const tokenFilepath = sharedIniFileLoader.getSSOTokenFilepath(id); + const tokenString = JSON.stringify(ssoToken, null, 2); + return writeFile(tokenFilepath, tokenString); +}; + +const lastRefreshAttemptTime = new Date(0); +const fromSso = (init = {}) => async ({ callerClientConfig } = {}) => { + init.logger?.debug("@aws-sdk/token-providers - fromSso"); + const profiles = await sharedIniFileLoader.parseKnownFiles(init); + const profileName = sharedIniFileLoader.getProfileName({ + profile: init.profile ?? callerClientConfig?.profile, + }); + const profile = profiles[profileName]; + if (!profile) { + throw new propertyProvider.TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false); + } + else if (!profile["sso_session"]) { + throw new propertyProvider.TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`); + } + const ssoSessionName = profile["sso_session"]; + const ssoSessions = await sharedIniFileLoader.loadSsoSessionData(init); + const ssoSession = ssoSessions[ssoSessionName]; + if (!ssoSession) { + throw new propertyProvider.TokenProviderError(`Sso session '${ssoSessionName}' could not be found in shared credentials file.`, false); + } + for (const ssoSessionRequiredKey of ["sso_start_url", "sso_region"]) { + if (!ssoSession[ssoSessionRequiredKey]) { + throw new propertyProvider.TokenProviderError(`Sso session '${ssoSessionName}' is missing required property '${ssoSessionRequiredKey}'.`, false); + } + } + ssoSession["sso_start_url"]; + const ssoRegion = ssoSession["sso_region"]; + let ssoToken; + try { + ssoToken = await sharedIniFileLoader.getSSOTokenFromFile(ssoSessionName); + } + catch (e) { + throw new propertyProvider.TokenProviderError(`The SSO session token associated with profile=${profileName} was not found or is invalid. ${REFRESH_MESSAGE}`, false); + } + validateTokenKey("accessToken", ssoToken.accessToken); + validateTokenKey("expiresAt", ssoToken.expiresAt); + const { accessToken, expiresAt } = ssoToken; + const existingToken = { token: accessToken, expiration: new Date(expiresAt) }; + if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) { + return existingToken; + } + if (Date.now() - lastRefreshAttemptTime.getTime() < 30 * 1000) { + validateTokenExpiry(existingToken); + return existingToken; + } + validateTokenKey("clientId", ssoToken.clientId, true); + validateTokenKey("clientSecret", ssoToken.clientSecret, true); + validateTokenKey("refreshToken", ssoToken.refreshToken, true); + try { + lastRefreshAttemptTime.setTime(Date.now()); + const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init, callerClientConfig); + validateTokenKey("accessToken", newSsoOidcToken.accessToken); + validateTokenKey("expiresIn", newSsoOidcToken.expiresIn); + const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1000); + try { + await writeSSOTokenToFile(ssoSessionName, { + ...ssoToken, + accessToken: newSsoOidcToken.accessToken, + expiresAt: newTokenExpiration.toISOString(), + refreshToken: newSsoOidcToken.refreshToken, + }); + } + catch (error) { + } + return { + token: newSsoOidcToken.accessToken, + expiration: newTokenExpiration, + }; + } + catch (error) { + validateTokenExpiry(existingToken); + return existingToken; + } +}; + +const fromStatic = ({ token, logger }) => async () => { + logger?.debug("@aws-sdk/token-providers - fromStatic"); + if (!token || !token.token) { + throw new propertyProvider.TokenProviderError(`Please pass a valid token to fromStatic`, false); + } + return token; +}; + +const nodeProvider = (init = {}) => propertyProvider.memoize(propertyProvider.chain(fromSso(init), async () => { + throw new propertyProvider.TokenProviderError("Could not load token from any providers", false); +}), (token) => token.expiration !== undefined && token.expiration.getTime() - Date.now() < 300000, (token) => token.expiration !== undefined); + +exports.fromEnvSigningName = fromEnvSigningName; +exports.fromSso = fromSso; +exports.fromStatic = fromStatic; +exports.nodeProvider = nodeProvider; diff --git a/node_modules/@aws-sdk/token-providers/dist-es/constants.js b/node_modules/@aws-sdk/token-providers/dist-es/constants.js new file mode 100644 index 0000000..b84a126 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-es/constants.js @@ -0,0 +1,2 @@ +export const EXPIRE_WINDOW_MS = 5 * 60 * 1000; +export const REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`; diff --git a/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js b/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js new file mode 100644 index 0000000..a6faec8 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js @@ -0,0 +1,16 @@ +import { setTokenFeature } from "@aws-sdk/core/client"; +import { getBearerTokenEnvKey } from "@aws-sdk/core/httpAuthSchemes"; +import { TokenProviderError } from "@smithy/property-provider"; +export const fromEnvSigningName = ({ logger, signingName } = {}) => async () => { + logger?.debug?.("@aws-sdk/token-providers - fromEnvSigningName"); + if (!signingName) { + throw new TokenProviderError("Please pass 'signingName' to compute environment variable key", { logger }); + } + const bearerTokenKey = getBearerTokenEnvKey(signingName); + if (!(bearerTokenKey in process.env)) { + throw new TokenProviderError(`Token not present in '${bearerTokenKey}' environment variable`, { logger }); + } + const token = { token: process.env[bearerTokenKey] }; + setTokenFeature(token, "BEARER_SERVICE_ENV_VARS", "3"); + return token; +}; diff --git a/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js b/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js new file mode 100644 index 0000000..c8445d7 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js @@ -0,0 +1,81 @@ +import { TokenProviderError } from "@smithy/property-provider"; +import { getProfileName, getSSOTokenFromFile, loadSsoSessionData, parseKnownFiles, } from "@smithy/shared-ini-file-loader"; +import { EXPIRE_WINDOW_MS, REFRESH_MESSAGE } from "./constants"; +import { getNewSsoOidcToken } from "./getNewSsoOidcToken"; +import { validateTokenExpiry } from "./validateTokenExpiry"; +import { validateTokenKey } from "./validateTokenKey"; +import { writeSSOTokenToFile } from "./writeSSOTokenToFile"; +const lastRefreshAttemptTime = new Date(0); +export const fromSso = (init = {}) => async ({ callerClientConfig } = {}) => { + init.logger?.debug("@aws-sdk/token-providers - fromSso"); + const profiles = await parseKnownFiles(init); + const profileName = getProfileName({ + profile: init.profile ?? callerClientConfig?.profile, + }); + const profile = profiles[profileName]; + if (!profile) { + throw new TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false); + } + else if (!profile["sso_session"]) { + throw new TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`); + } + const ssoSessionName = profile["sso_session"]; + const ssoSessions = await loadSsoSessionData(init); + const ssoSession = ssoSessions[ssoSessionName]; + if (!ssoSession) { + throw new TokenProviderError(`Sso session '${ssoSessionName}' could not be found in shared credentials file.`, false); + } + for (const ssoSessionRequiredKey of ["sso_start_url", "sso_region"]) { + if (!ssoSession[ssoSessionRequiredKey]) { + throw new TokenProviderError(`Sso session '${ssoSessionName}' is missing required property '${ssoSessionRequiredKey}'.`, false); + } + } + const ssoStartUrl = ssoSession["sso_start_url"]; + const ssoRegion = ssoSession["sso_region"]; + let ssoToken; + try { + ssoToken = await getSSOTokenFromFile(ssoSessionName); + } + catch (e) { + throw new TokenProviderError(`The SSO session token associated with profile=${profileName} was not found or is invalid. ${REFRESH_MESSAGE}`, false); + } + validateTokenKey("accessToken", ssoToken.accessToken); + validateTokenKey("expiresAt", ssoToken.expiresAt); + const { accessToken, expiresAt } = ssoToken; + const existingToken = { token: accessToken, expiration: new Date(expiresAt) }; + if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) { + return existingToken; + } + if (Date.now() - lastRefreshAttemptTime.getTime() < 30 * 1000) { + validateTokenExpiry(existingToken); + return existingToken; + } + validateTokenKey("clientId", ssoToken.clientId, true); + validateTokenKey("clientSecret", ssoToken.clientSecret, true); + validateTokenKey("refreshToken", ssoToken.refreshToken, true); + try { + lastRefreshAttemptTime.setTime(Date.now()); + const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init, callerClientConfig); + validateTokenKey("accessToken", newSsoOidcToken.accessToken); + validateTokenKey("expiresIn", newSsoOidcToken.expiresIn); + const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1000); + try { + await writeSSOTokenToFile(ssoSessionName, { + ...ssoToken, + accessToken: newSsoOidcToken.accessToken, + expiresAt: newTokenExpiration.toISOString(), + refreshToken: newSsoOidcToken.refreshToken, + }); + } + catch (error) { + } + return { + token: newSsoOidcToken.accessToken, + expiration: newTokenExpiration, + }; + } + catch (error) { + validateTokenExpiry(existingToken); + return existingToken; + } +}; diff --git a/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js b/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js new file mode 100644 index 0000000..0704ae0 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js @@ -0,0 +1,8 @@ +import { TokenProviderError } from "@smithy/property-provider"; +export const fromStatic = ({ token, logger }) => async () => { + logger?.debug("@aws-sdk/token-providers - fromStatic"); + if (!token || !token.token) { + throw new TokenProviderError(`Please pass a valid token to fromStatic`, false); + } + return token; +}; diff --git a/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js b/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js new file mode 100644 index 0000000..ecbbe63 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js @@ -0,0 +1,11 @@ +import { getSsoOidcClient } from "./getSsoOidcClient"; +export const getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => { + const { CreateTokenCommand } = await import("@aws-sdk/nested-clients/sso-oidc"); + const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig); + return ssoOidcClient.send(new CreateTokenCommand({ + clientId: ssoToken.clientId, + clientSecret: ssoToken.clientSecret, + refreshToken: ssoToken.refreshToken, + grantType: "refresh_token", + })); +}; diff --git a/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js b/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js new file mode 100644 index 0000000..22a8aec --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js @@ -0,0 +1,10 @@ +export const getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => { + const { SSOOIDCClient } = await import("@aws-sdk/nested-clients/sso-oidc"); + const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop]; + const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, { + region: ssoRegion ?? init.clientConfig?.region, + logger: coalesce("logger"), + userAgentAppId: coalesce("userAgentAppId"), + })); + return ssoOidcClient; +}; diff --git a/node_modules/@aws-sdk/token-providers/dist-es/index.js b/node_modules/@aws-sdk/token-providers/dist-es/index.js new file mode 100644 index 0000000..ae204f8 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-es/index.js @@ -0,0 +1,4 @@ +export * from "./fromEnvSigningName"; +export * from "./fromSso"; +export * from "./fromStatic"; +export * from "./nodeProvider"; diff --git a/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js b/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js new file mode 100644 index 0000000..a0c7b52 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js @@ -0,0 +1,5 @@ +import { chain, memoize, TokenProviderError } from "@smithy/property-provider"; +import { fromSso } from "./fromSso"; +export const nodeProvider = (init = {}) => memoize(chain(fromSso(init), async () => { + throw new TokenProviderError("Could not load token from any providers", false); +}), (token) => token.expiration !== undefined && token.expiration.getTime() - Date.now() < 300000, (token) => token.expiration !== undefined); diff --git a/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js b/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js new file mode 100644 index 0000000..8118d7c --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js @@ -0,0 +1,7 @@ +import { TokenProviderError } from "@smithy/property-provider"; +import { REFRESH_MESSAGE } from "./constants"; +export const validateTokenExpiry = (token) => { + if (token.expiration && token.expiration.getTime() < Date.now()) { + throw new TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false); + } +}; diff --git a/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js b/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js new file mode 100644 index 0000000..4979638 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js @@ -0,0 +1,7 @@ +import { TokenProviderError } from "@smithy/property-provider"; +import { REFRESH_MESSAGE } from "./constants"; +export const validateTokenKey = (key, value, forRefresh = false) => { + if (typeof value === "undefined") { + throw new TokenProviderError(`Value not present for '${key}' in SSO Token${forRefresh ? ". Cannot refresh" : ""}. ${REFRESH_MESSAGE}`, false); + } +}; diff --git a/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js b/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js new file mode 100644 index 0000000..c982c4e --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js @@ -0,0 +1,8 @@ +import { getSSOTokenFilepath } from "@smithy/shared-ini-file-loader"; +import { promises as fsPromises } from "node:fs"; +const { writeFile } = fsPromises; +export const writeSSOTokenToFile = (id, ssoToken) => { + const tokenFilepath = getSSOTokenFilepath(id); + const tokenString = JSON.stringify(ssoToken, null, 2); + return writeFile(tokenFilepath, tokenString); +}; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/constants.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/constants.d.ts new file mode 100644 index 0000000..de28cde --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/constants.d.ts @@ -0,0 +1,8 @@ +/** + * The time window (5 mins) that SDK will treat the SSO token expires in before the defined expiration date in token. + * This is needed because server side may have invalidated the token before the defined expiration date. + * + * @internal + */ +export declare const EXPIRE_WINDOW_MS: number; +export declare const REFRESH_MESSAGE = "To refresh this SSO session run 'aws sso login' with the corresponding profile."; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/fromEnvSigningName.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/fromEnvSigningName.d.ts new file mode 100644 index 0000000..7282c06 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/fromEnvSigningName.d.ts @@ -0,0 +1,18 @@ +import type { CredentialProviderOptions, TokenIdentityProvider } from "@aws-sdk/types"; +/** + * @public + */ +export interface FromEnvSigningNameInit extends CredentialProviderOptions { + signingName?: string; +} +/** + * Creates a TokenIdentityProvider that retrieves bearer token from environment variable + * + * @param options - Configuration options for the token provider + * @param options.logger - Optional logger for debug messages + * @param options.signingName - Service signing name used to determine environment variable key + * @returns TokenIdentityProvider that provides bearer token from environment variable + * + * @public + */ +export declare const fromEnvSigningName: ({ logger, signingName }?: FromEnvSigningNameInit) => TokenIdentityProvider; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts new file mode 100644 index 0000000..aca0002 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts @@ -0,0 +1,12 @@ +import type { CredentialProviderOptions, RuntimeConfigIdentityProvider, TokenIdentity } from "@aws-sdk/types"; +import type { SourceProfileInit } from "@smithy/shared-ini-file-loader"; +export interface FromSsoInit extends SourceProfileInit, CredentialProviderOptions { + /** + * @see SSOOIDCClientConfig in \@aws-sdk/client-sso-oidc. + */ + clientConfig?: any; +} +/** + * Creates a token provider that will read from SSO token cache or ssoOidc.createToken() call. + */ +export declare const fromSso: (init?: FromSsoInit) => RuntimeConfigIdentityProvider; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts new file mode 100644 index 0000000..2481333 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts @@ -0,0 +1,9 @@ +import type { CredentialProviderOptions, TokenIdentity, TokenIdentityProvider } from "@aws-sdk/types"; +export interface FromStaticInit extends CredentialProviderOptions { + token?: TokenIdentity; +} +/** + * Creates a token provider that will read from static token. + * @public + */ +export declare const fromStatic: ({ token, logger }: FromStaticInit) => TokenIdentityProvider; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts new file mode 100644 index 0000000..0564cde --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts @@ -0,0 +1,8 @@ +import type { AwsIdentityProperties } from "@aws-sdk/types"; +import type { SSOToken } from "@smithy/shared-ini-file-loader"; +import type { FromSsoInit } from "./fromSso"; +/** + * Returns a new SSO OIDC token from SSOOIDC::createToken() API call. + * @internal + */ +export declare const getNewSsoOidcToken: (ssoToken: SSOToken, ssoRegion: string, init?: FromSsoInit, callerClientConfig?: AwsIdentityProperties["callerClientConfig"]) => Promise; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts new file mode 100644 index 0000000..8ed85dd --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts @@ -0,0 +1,7 @@ +import type { AwsIdentityProperties } from "@aws-sdk/types"; +import type { FromSsoInit } from "./fromSso"; +/** + * Returns a SSOOIDC client for the given region. + * @internal + */ +export declare const getSsoOidcClient: (ssoRegion: string, init?: FromSsoInit, callerClientConfig?: AwsIdentityProperties["callerClientConfig"]) => Promise; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts new file mode 100644 index 0000000..ae204f8 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts @@ -0,0 +1,4 @@ +export * from "./fromEnvSigningName"; +export * from "./fromSso"; +export * from "./fromStatic"; +export * from "./nodeProvider"; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts new file mode 100644 index 0000000..2f77c3c --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts @@ -0,0 +1,18 @@ +import type { TokenIdentityProvider } from "@aws-sdk/types"; +import type { FromSsoInit } from "./fromSso"; +/** + * Creates a token provider that will attempt to find token from the + * following sources (listed in order of precedence): + * * SSO token from SSO cache or ssoOidc.createToken() call + * + * The default token provider is designed to invoke one provider at a time and only + * continue to the next if no token has been located. It currently has only SSO + * Token Provider in the chain. + * + * @param init Configuration that is passed to each individual + * provider + * + * @see fromSso The function used to source credentials from + * SSO cache or ssoOidc.createToken() call + */ +export declare const nodeProvider: (init?: FromSsoInit) => TokenIdentityProvider; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/constants.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/constants.d.ts new file mode 100644 index 0000000..d7e7577 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/constants.d.ts @@ -0,0 +1,3 @@ +export declare const EXPIRE_WINDOW_MS: number; +export declare const REFRESH_MESSAGE = + "To refresh this SSO session run 'aws sso login' with the corresponding profile."; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromEnvSigningName.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromEnvSigningName.d.ts new file mode 100644 index 0000000..abf33ff --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromEnvSigningName.d.ts @@ -0,0 +1,11 @@ +import { + CredentialProviderOptions, + TokenIdentityProvider, +} from "@aws-sdk/types"; +export interface FromEnvSigningNameInit extends CredentialProviderOptions { + signingName?: string; +} +export declare const fromEnvSigningName: ({ + logger, + signingName, +}?: FromEnvSigningNameInit) => TokenIdentityProvider; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts new file mode 100644 index 0000000..a94d488 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts @@ -0,0 +1,14 @@ +import { + CredentialProviderOptions, + RuntimeConfigIdentityProvider, + TokenIdentity, +} from "@aws-sdk/types"; +import { SourceProfileInit } from "@smithy/shared-ini-file-loader"; +export interface FromSsoInit + extends SourceProfileInit, + CredentialProviderOptions { + clientConfig?: any; +} +export declare const fromSso: ( + init?: FromSsoInit +) => RuntimeConfigIdentityProvider; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts new file mode 100644 index 0000000..e680012 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts @@ -0,0 +1,12 @@ +import { + CredentialProviderOptions, + TokenIdentity, + TokenIdentityProvider, +} from "@aws-sdk/types"; +export interface FromStaticInit extends CredentialProviderOptions { + token?: TokenIdentity; +} +export declare const fromStatic: ({ + token, + logger, +}: FromStaticInit) => TokenIdentityProvider; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts new file mode 100644 index 0000000..1ff3878 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts @@ -0,0 +1,11 @@ +import { AwsIdentityProperties } from "@aws-sdk/types"; +import { SSOToken } from "@smithy/shared-ini-file-loader"; +import { FromSsoInit } from "./fromSso"; +export declare const getNewSsoOidcToken: ( + ssoToken: SSOToken, + ssoRegion: string, + init?: FromSsoInit, + callerClientConfig?: AwsIdentityProperties["callerClientConfig"] +) => Promise< + import("@aws-sdk/nested-clients/sso-oidc").CreateTokenCommandOutput +>; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts new file mode 100644 index 0000000..eafcfc9 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts @@ -0,0 +1,7 @@ +import { AwsIdentityProperties } from "@aws-sdk/types"; +import { FromSsoInit } from "./fromSso"; +export declare const getSsoOidcClient: ( + ssoRegion: string, + init?: FromSsoInit, + callerClientConfig?: AwsIdentityProperties["callerClientConfig"] +) => Promise; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..ae204f8 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts @@ -0,0 +1,4 @@ +export * from "./fromEnvSigningName"; +export * from "./fromSso"; +export * from "./fromStatic"; +export * from "./nodeProvider"; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/nodeProvider.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/nodeProvider.d.ts new file mode 100644 index 0000000..11a9bd4 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/nodeProvider.d.ts @@ -0,0 +1,5 @@ +import { TokenIdentityProvider } from "@aws-sdk/types"; +import { FromSsoInit } from "./fromSso"; +export declare const nodeProvider: ( + init?: FromSsoInit +) => TokenIdentityProvider; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenExpiry.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenExpiry.d.ts new file mode 100644 index 0000000..9003605 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenExpiry.d.ts @@ -0,0 +1,2 @@ +import { TokenIdentity } from "@aws-sdk/types"; +export declare const validateTokenExpiry: (token: TokenIdentity) => void; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenKey.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenKey.d.ts new file mode 100644 index 0000000..105b2b4 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenKey.d.ts @@ -0,0 +1,5 @@ +export declare const validateTokenKey: ( + key: string, + value: unknown, + forRefresh?: boolean +) => void; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/writeSSOTokenToFile.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/writeSSOTokenToFile.d.ts new file mode 100644 index 0000000..a6d025f --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/writeSSOTokenToFile.d.ts @@ -0,0 +1,5 @@ +import { SSOToken } from "@smithy/shared-ini-file-loader"; +export declare const writeSSOTokenToFile: ( + id: string, + ssoToken: SSOToken +) => Promise; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts new file mode 100644 index 0000000..c5cfa2f --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts @@ -0,0 +1,5 @@ +import type { TokenIdentity } from "@aws-sdk/types"; +/** + * Throws TokenProviderError is token is expired. + */ +export declare const validateTokenExpiry: (token: TokenIdentity) => void; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/validateTokenKey.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/validateTokenKey.d.ts new file mode 100644 index 0000000..a9618fd --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/validateTokenKey.d.ts @@ -0,0 +1,4 @@ +/** + * Throws TokenProviderError if value is undefined for key. + */ +export declare const validateTokenKey: (key: string, value: unknown, forRefresh?: boolean) => void; diff --git a/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts b/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts new file mode 100644 index 0000000..76f308c --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts @@ -0,0 +1,5 @@ +import type { SSOToken } from "@smithy/shared-ini-file-loader"; +/** + * Writes SSO token to file based on filepath computed from ssoStartUrl or session name. + */ +export declare const writeSSOTokenToFile: (id: string, ssoToken: SSOToken) => Promise; diff --git a/node_modules/@aws-sdk/token-providers/package.json b/node_modules/@aws-sdk/token-providers/package.json new file mode 100644 index 0000000..3e29db1 --- /dev/null +++ b/node_modules/@aws-sdk/token-providers/package.json @@ -0,0 +1,70 @@ +{ + "name": "@aws-sdk/token-providers", + "version": "3.1021.0", + "description": "A collection of token providers", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline token-providers", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "extract:docs": "api-extractor run --local", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "keywords": [ + "aws", + "token" + ], + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/nested-clients": "^3.996.18", + "@aws-sdk/types": "^3.973.6", + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "@types/node": "^20.14.8", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "browser": {}, + "react-native": {}, + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/token-providers", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages/token-providers" + } +} diff --git a/node_modules/@aws-sdk/types/LICENSE b/node_modules/@aws-sdk/types/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-sdk/types/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-sdk/types/README.md b/node_modules/@aws-sdk/types/README.md new file mode 100644 index 0000000..a5658db --- /dev/null +++ b/node_modules/@aws-sdk/types/README.md @@ -0,0 +1,4 @@ +# @aws-sdk/types + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/types/latest.svg)](https://www.npmjs.com/package/@aws-sdk/types) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/types.svg)](https://www.npmjs.com/package/@aws-sdk/types) diff --git a/node_modules/@aws-sdk/types/dist-cjs/index.js b/node_modules/@aws-sdk/types/dist-cjs/index.js new file mode 100644 index 0000000..318a5d0 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-cjs/index.js @@ -0,0 +1,13 @@ +'use strict'; + +var types = require('@smithy/types'); + +exports.HostAddressType = void 0; +(function (HostAddressType) { + HostAddressType["AAAA"] = "AAAA"; + HostAddressType["A"] = "A"; +})(exports.HostAddressType || (exports.HostAddressType = {})); + +exports.EndpointURLScheme = types.EndpointURLScheme; +exports.HttpAuthLocation = types.HttpAuthLocation; +exports.RequestHandlerProtocol = types.RequestHandlerProtocol; diff --git a/node_modules/@aws-sdk/types/dist-es/abort.js b/node_modules/@aws-sdk/types/dist-es/abort.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/abort.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/auth.js b/node_modules/@aws-sdk/types/dist-es/auth.js new file mode 100644 index 0000000..81f903b --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/auth.js @@ -0,0 +1 @@ +export { HttpAuthLocation } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-es/blob/blob-types.js b/node_modules/@aws-sdk/types/dist-es/blob/blob-types.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/blob/blob-types.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/checksum.js b/node_modules/@aws-sdk/types/dist-es/checksum.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/checksum.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/client.js b/node_modules/@aws-sdk/types/dist-es/client.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/client.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/command.js b/node_modules/@aws-sdk/types/dist-es/command.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/command.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/connection.js b/node_modules/@aws-sdk/types/dist-es/connection.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/connection.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/credentials.js b/node_modules/@aws-sdk/types/dist-es/credentials.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/credentials.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/crypto.js b/node_modules/@aws-sdk/types/dist-es/crypto.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/crypto.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/dns.js b/node_modules/@aws-sdk/types/dist-es/dns.js new file mode 100644 index 0000000..c6a2cd9 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/dns.js @@ -0,0 +1,5 @@ +export var HostAddressType; +(function (HostAddressType) { + HostAddressType["AAAA"] = "AAAA"; + HostAddressType["A"] = "A"; +})(HostAddressType || (HostAddressType = {})); diff --git a/node_modules/@aws-sdk/types/dist-es/encode.js b/node_modules/@aws-sdk/types/dist-es/encode.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/encode.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/endpoint.js b/node_modules/@aws-sdk/types/dist-es/endpoint.js new file mode 100644 index 0000000..ec53acc --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/endpoint.js @@ -0,0 +1 @@ +export { EndpointURLScheme, } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-es/eventStream.js b/node_modules/@aws-sdk/types/dist-es/eventStream.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/eventStream.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/extensions/index.js b/node_modules/@aws-sdk/types/dist-es/extensions/index.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/extensions/index.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/feature-ids.js b/node_modules/@aws-sdk/types/dist-es/feature-ids.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/feature-ids.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/function.js b/node_modules/@aws-sdk/types/dist-es/function.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/function.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/http.js b/node_modules/@aws-sdk/types/dist-es/http.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/http.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js b/node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js b/node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/identity/Identity.js b/node_modules/@aws-sdk/types/dist-es/identity/Identity.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/identity/Identity.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js b/node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js b/node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/identity/index.js b/node_modules/@aws-sdk/types/dist-es/identity/index.js new file mode 100644 index 0000000..863e78e --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/identity/index.js @@ -0,0 +1,5 @@ +export * from "./AnonymousIdentity"; +export * from "./AwsCredentialIdentity"; +export * from "./Identity"; +export * from "./LoginIdentity"; +export * from "./TokenIdentity"; diff --git a/node_modules/@aws-sdk/types/dist-es/index.js b/node_modules/@aws-sdk/types/dist-es/index.js new file mode 100644 index 0000000..a7f99d9 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/index.js @@ -0,0 +1,34 @@ +export * from "./abort"; +export * from "./auth"; +export * from "./blob/blob-types"; +export * from "./checksum"; +export * from "./client"; +export * from "./command"; +export * from "./connection"; +export * from "./credentials"; +export * from "./crypto"; +export * from "./dns"; +export * from "./encode"; +export * from "./endpoint"; +export * from "./eventStream"; +export * from "./extensions"; +export * from "./feature-ids"; +export * from "./function"; +export * from "./http"; +export * from "./identity"; +export * from "./logger"; +export * from "./middleware"; +export * from "./pagination"; +export * from "./profile"; +export * from "./request"; +export * from "./response"; +export * from "./retry"; +export * from "./serde"; +export * from "./shapes"; +export * from "./signature"; +export * from "./stream"; +export * from "./token"; +export * from "./transfer"; +export * from "./uri"; +export * from "./util"; +export * from "./waiter"; diff --git a/node_modules/@aws-sdk/types/dist-es/logger.js b/node_modules/@aws-sdk/types/dist-es/logger.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/logger.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/middleware.js b/node_modules/@aws-sdk/types/dist-es/middleware.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/middleware.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/pagination.js b/node_modules/@aws-sdk/types/dist-es/pagination.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/pagination.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/profile.js b/node_modules/@aws-sdk/types/dist-es/profile.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/profile.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/request.js b/node_modules/@aws-sdk/types/dist-es/request.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/request.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/response.js b/node_modules/@aws-sdk/types/dist-es/response.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/response.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/retry.js b/node_modules/@aws-sdk/types/dist-es/retry.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/retry.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/serde.js b/node_modules/@aws-sdk/types/dist-es/serde.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/serde.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/shapes.js b/node_modules/@aws-sdk/types/dist-es/shapes.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/shapes.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/signature.js b/node_modules/@aws-sdk/types/dist-es/signature.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/signature.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/stream.js b/node_modules/@aws-sdk/types/dist-es/stream.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/stream.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/token.js b/node_modules/@aws-sdk/types/dist-es/token.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/token.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/transfer.js b/node_modules/@aws-sdk/types/dist-es/transfer.js new file mode 100644 index 0000000..ba57589 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/transfer.js @@ -0,0 +1 @@ +export { RequestHandlerProtocol, } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-es/uri.js b/node_modules/@aws-sdk/types/dist-es/uri.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/uri.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/util.js b/node_modules/@aws-sdk/types/dist-es/util.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/util.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-es/waiter.js b/node_modules/@aws-sdk/types/dist-es/waiter.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-es/waiter.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/types/dist-types/abort.d.ts b/node_modules/@aws-sdk/types/dist-types/abort.d.ts new file mode 100644 index 0000000..dad6079 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/abort.d.ts @@ -0,0 +1 @@ +export { AbortController, AbortHandler, AbortSignal } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/auth.d.ts b/node_modules/@aws-sdk/types/dist-types/auth.d.ts new file mode 100644 index 0000000..6626c16 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/auth.d.ts @@ -0,0 +1 @@ +export { AuthScheme, HttpAuthDefinition, HttpAuthLocation } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts b/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts new file mode 100644 index 0000000..df39efe --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts @@ -0,0 +1,2 @@ +import { BlobTypes } from "@smithy/types"; +export { BlobTypes }; diff --git a/node_modules/@aws-sdk/types/dist-types/checksum.d.ts b/node_modules/@aws-sdk/types/dist-types/checksum.d.ts new file mode 100644 index 0000000..f805d72 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/checksum.d.ts @@ -0,0 +1 @@ +export { Checksum, ChecksumConstructor } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/client.d.ts b/node_modules/@aws-sdk/types/dist-types/client.d.ts new file mode 100644 index 0000000..d6b3dcf --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/client.d.ts @@ -0,0 +1 @@ +export { Client } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/command.d.ts b/node_modules/@aws-sdk/types/dist-types/command.d.ts new file mode 100644 index 0000000..3887267 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/command.d.ts @@ -0,0 +1 @@ +export { Command } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/connection.d.ts b/node_modules/@aws-sdk/types/dist-types/connection.d.ts new file mode 100644 index 0000000..efcb4d7 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/connection.d.ts @@ -0,0 +1 @@ +export { ConnectConfiguration, ConnectionManager, ConnectionManagerConfiguration, ConnectionPool } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/credentials.d.ts b/node_modules/@aws-sdk/types/dist-types/credentials.d.ts new file mode 100644 index 0000000..bd34a7c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/credentials.d.ts @@ -0,0 +1,52 @@ +import type { Logger } from "@smithy/types"; +import type { AwsCredentialIdentity } from "./identity"; +import type { Provider } from "./util"; +/** + * @public + * + * An object representing temporary or permanent AWS credentials. + * + * @deprecated Use {@link AwsCredentialIdentity} + */ +export interface Credentials extends AwsCredentialIdentity { +} +/** + * @public + * + * @deprecated Use {@link AwsCredentialIdentityProvider} + */ +export type CredentialProvider = Provider; +/** + * @public + * + * Common options for credential providers. + */ +export type CredentialProviderOptions = { + /** + * This logger is only used to provide information + * on what credential providers were used during resolution. + * + * It does not log credentials. + */ + logger?: Logger; + /** + * Present if the credential provider was created by calling + * the defaultCredentialProvider in a client's middleware, having + * access to the client's config. + * + * The region of that parent or outer client is important because + * an inner client used by the credential provider may need + * to match its default partition or region with that of + * the outer client. + * + * @internal + * @deprecated - not truly deprecated, marked as a warning to not use this. + */ + parentClientConfig?: { + region?: string | Provider; + profile?: string; + logger?: Logger; + userAgentAppId?(): Promise; + [key: string]: unknown; + }; +}; diff --git a/node_modules/@aws-sdk/types/dist-types/crypto.d.ts b/node_modules/@aws-sdk/types/dist-types/crypto.d.ts new file mode 100644 index 0000000..aeeea50 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/crypto.d.ts @@ -0,0 +1 @@ +export { Hash, HashConstructor, StreamHasher, randomValues, SourceData } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/dns.d.ts b/node_modules/@aws-sdk/types/dist-types/dns.d.ts new file mode 100644 index 0000000..8348cc4 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/dns.d.ts @@ -0,0 +1,85 @@ +/** + * @public + * + * DNS record types + */ +export declare enum HostAddressType { + /** + * IPv6 + */ + AAAA = "AAAA", + /** + * IPv4 + */ + A = "A" +} +/** + * @public + */ +export interface HostAddress { + /** + * The {@link HostAddressType} of the host address. + */ + addressType: HostAddressType; + /** + * The resolved numerical address represented as a + * string. + */ + address: string; + /** + * The host name the {@link address} was resolved from. + */ + hostName: string; + /** + * The service record of {@link hostName}. + */ + service?: string; +} +/** + * @public + */ +export interface HostResolverArguments { + /** + * The host name to resolve. + */ + hostName: string; + /** + * The service record of {@link hostName}. + */ + service?: string; +} +/** + * @public + * + * Host Resolver interface for DNS queries + */ +export interface HostResolver { + /** + * Resolves the address(es) for {@link HostResolverArguments} and returns a + * list of addresses with (most likely) two addresses, one {@link HostAddressType.AAAA} + * and one {@link HostAddressType.A}. Calls to this function will likely alter + * the cache (if implemented) so that if there's multiple addresses, a different + * set will be returned on the next call. + * In the case of multi-answer, still only a maximum of two records should be + * returned. The resolver implementation is responsible for caching and rotation + * of the multiple addresses that get returned. + * Implementations don't have to explictly call getaddrinfo(), they can use + * high level abstractions provided in their language runtimes/libraries. + * @param args - arguments with host name query addresses for + * @returns promise with a list of {@link HostAddress} + */ + resolveAddress(args: HostResolverArguments): Promise; + /** + * Reports a failure on a {@link HostAddress} so that the cache (if implemented) + * can accomodate the failure and likely not return the address until it recovers. + * @param addr - host address to report a failure on + */ + reportFailureOnAddress(addr: HostAddress): void; + /** + * Empties the cache (if implemented) for a {@link HostResolverArguments.hostName}. + * If {@link HostResolverArguments.hostName} is not provided, the cache (if + * implemented) is emptied for all host names. + * @param args - optional arguments to empty the cache for + */ + purgeCache(args?: HostResolverArguments): void; +} diff --git a/node_modules/@aws-sdk/types/dist-types/encode.d.ts b/node_modules/@aws-sdk/types/dist-types/encode.d.ts new file mode 100644 index 0000000..128ee57 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/encode.d.ts @@ -0,0 +1 @@ +export { MessageDecoder, MessageEncoder, AvailableMessage, AvailableMessages } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts b/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts new file mode 100644 index 0000000..f2ffaf5 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts @@ -0,0 +1 @@ +export { EndpointARN, EndpointPartition, EndpointURLScheme, EndpointURL, EndpointObjectProperty, EndpointV2, EndpointParameters, } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts b/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts new file mode 100644 index 0000000..cee02f7 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts @@ -0,0 +1 @@ +export { Message, MessageHeaders, BooleanHeaderValue, ByteHeaderValue, ShortHeaderValue, IntegerHeaderValue, LongHeaderValue, BinaryHeaderValue, StringHeaderValue, TimestampHeaderValue, UuidHeaderValue, MessageHeaderValue, Int64, EventStreamSerdeContext, EventStreamMarshaller, EventStreamMarshallerDeserFn, EventStreamMarshallerSerFn, EventStreamPayloadHandler, EventStreamPayloadHandlerProvider, EventStreamRequestSigner, EventStreamSerdeProvider, EventStreamSignerProvider, } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts b/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts new file mode 100644 index 0000000..0dae874 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts @@ -0,0 +1,8 @@ +import type { Provider } from "@smithy/types"; +/** + * @internal + */ +export interface AwsRegionExtensionConfiguration { + setRegion(region: Provider): void; + region(): Provider; +} diff --git a/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts b/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts new file mode 100644 index 0000000..0c97111 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts @@ -0,0 +1,67 @@ +/** + * @internal + */ +export type AwsSdkFeatures = Partial<{ + RESOURCE_MODEL: "A"; + WAITER: "B"; + PAGINATOR: "C"; + RETRY_MODE_LEGACY: "D"; + RETRY_MODE_STANDARD: "E"; + RETRY_MODE_ADAPTIVE: "F"; + S3_EXPRESS_BUCKET: "J"; + S3_ACCESS_GRANTS: "K"; + GZIP_REQUEST_COMPRESSION: "L"; + PROTOCOL_RPC_V2_CBOR: "M"; + ENDPOINT_OVERRIDE: "N"; + ACCOUNT_ID_ENDPOINT: "O"; + ACCOUNT_ID_MODE_PREFERRED: "P"; + ACCOUNT_ID_MODE_DISABLED: "Q"; + ACCOUNT_ID_MODE_REQUIRED: "R"; + SIGV4A_SIGNING: "S"; + FLEXIBLE_CHECKSUMS_REQ_CRC32: "U"; + FLEXIBLE_CHECKSUMS_REQ_CRC32C: "V"; + FLEXIBLE_CHECKSUMS_REQ_CRC64: "W"; + FLEXIBLE_CHECKSUMS_REQ_SHA1: "X"; + FLEXIBLE_CHECKSUMS_REQ_SHA256: "Y"; + FLEXIBLE_CHECKSUMS_REQ_WHEN_SUPPORTED: "Z"; + FLEXIBLE_CHECKSUMS_REQ_WHEN_REQUIRED: "a"; + FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED: "b"; + FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED: "c"; + DDB_MAPPER: "d"; +}> & AwsSdkCredentialsFeatures & AwsSdkTokenFeatures; +/** + * @internal + */ +export type AwsSdkCredentialsFeatures = Partial<{ + RESOLVED_ACCOUNT_ID: "T"; + CREDENTIALS_CODE: "e"; + CREDENTIALS_ENV_VARS: "g"; + CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN: "h"; + CREDENTIALS_STS_ASSUME_ROLE: "i"; + CREDENTIALS_STS_ASSUME_ROLE_SAML: "j"; + CREDENTIALS_STS_ASSUME_ROLE_WEB_ID: "k"; + CREDENTIALS_STS_FEDERATION_TOKEN: "l"; + CREDENTIALS_STS_SESSION_TOKEN: "m"; + CREDENTIALS_PROFILE: "n"; + CREDENTIALS_PROFILE_SOURCE_PROFILE: "o"; + CREDENTIALS_PROFILE_NAMED_PROVIDER: "p"; + CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN: "q"; + CREDENTIALS_PROFILE_SSO: "r"; + CREDENTIALS_SSO: "s"; + CREDENTIALS_PROFILE_SSO_LEGACY: "t"; + CREDENTIALS_SSO_LEGACY: "u"; + CREDENTIALS_PROFILE_PROCESS: "v"; + CREDENTIALS_PROCESS: "w"; + CREDENTIALS_BOTO2_CONFIG_FILE: "x"; + CREDENTIALS_AWS_SDK_STORE: "y"; + CREDENTIALS_HTTP: "z"; + CREDENTIALS_IMDS: "0"; + CREDENTIALS_PROFILE_LOGIN: "AC"; + CREDENTIALS_LOGIN: "AD"; +}>; +/** + * @internal + */ +export type AwsSdkTokenFeatures = Partial<{ + BEARER_SERVICE_ENV_VARS: "3"; +}>; diff --git a/node_modules/@aws-sdk/types/dist-types/function.d.ts b/node_modules/@aws-sdk/types/dist-types/function.d.ts new file mode 100644 index 0000000..3c777fa --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/function.d.ts @@ -0,0 +1,7 @@ +/** + * Resolves a function that accepts both the object argument fields of F1 and F2. + * The function returns an intersection of what F1 and F2 return. + * + * @public + */ +export type MergeFunctions = F1 extends (arg: infer A1) => infer R1 ? F2 extends (arg: infer A2) => infer R2 ? R1 extends Promise ? (arg?: A1 & A2) => Promise & Awaited> : (arg?: A1 & A2) => R1 & R2 : never : never; diff --git a/node_modules/@aws-sdk/types/dist-types/http.d.ts b/node_modules/@aws-sdk/types/dist-types/http.d.ts new file mode 100644 index 0000000..e2efd84 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/http.d.ts @@ -0,0 +1,33 @@ +import type { HttpResponse } from "@smithy/types"; +export { Endpoint, HeaderBag, HttpHandlerOptions, HttpMessage, HttpRequest, HttpResponse, QueryParameterBag, } from "@smithy/types"; +/** + * @public + * + * A collection of key/value pairs with case-insensitive keys. + */ +export interface Headers extends Map { + /** + * Returns a new instance of Headers with the specified header set to the + * provided value. Does not modify the original Headers instance. + * + * @param headerName - The name of the header to add or overwrite + * @param headerValue - The value to which the header should be set + */ + withHeader(headerName: string, headerValue: string): Headers; + /** + * Returns a new instance of Headers without the specified header. Does not + * modify the original Headers instance. + * + * @param headerName - The name of the header to remove + */ + withoutHeader(headerName: string): Headers; +} +/** + * @public + * + * Represents HTTP message whose body has been resolved to a string. This is + * used in parsing http message. + */ +export interface ResolvedHttpResponse extends HttpResponse { + body: string; +} diff --git a/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts b/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts new file mode 100644 index 0000000..88c34cf --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts @@ -0,0 +1,6 @@ +import type { Identity } from "./Identity"; +/** + * @public + */ +export interface AnonymousIdentity extends Identity { +} diff --git a/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts b/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts new file mode 100644 index 0000000..ef6df77 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts @@ -0,0 +1,61 @@ +import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, Logger, RequestHandler } from "@smithy/types"; +import type { AwsSdkCredentialsFeatures } from "../feature-ids"; +export { AwsCredentialIdentity, AwsCredentialIdentityProvider, IdentityProvider } from "@smithy/types"; +/** + * @public + */ +export interface AwsIdentityProperties { + /** + * These are resolved client config values, and may be async providers. + */ + callerClientConfig?: { + /** + * It is likely a programming error if you use + * the caller client config credentials in a credential provider, since + * it will recurse. + * + * @deprecated do not use. + */ + credentials?: AwsCredentialIdentity | AwsCredentialIdentityProvider; + /** + * @internal + * @deprecated minimize use. + */ + credentialDefaultProvider?: (input?: any) => AwsCredentialIdentityProvider; + logger?: Logger; + profile?: string; + region(): Promise; + requestHandler?: RequestHandler; + userAgentAppId?(): Promise; + }; +} +/** + * @public + * + * Variation of {@link IdentityProvider} which accepts a contextual + * client configuration that includes an AWS region and potentially other + * configurable fields. + * + * Used to link a credential provider to a client if it is being called + * in the context of a client. + */ +export type RuntimeConfigIdentityProvider = (awsIdentityProperties?: AwsIdentityProperties) => Promise; +/** + * @public + * + * Variation of {@link AwsCredentialIdentityProvider} which accepts a contextual + * client configuration that includes an AWS region and potentially other + * configurable fields. + * + * Used to link a credential provider to a client if it is being called + * in the context of a client. + */ +export type RuntimeConfigAwsCredentialIdentityProvider = RuntimeConfigIdentityProvider; +/** + * @public + * + * AwsCredentialIdentity with source attribution metadata. + */ +export type AttributedAwsCredentialIdentity = AwsCredentialIdentity & { + $source?: AwsSdkCredentialsFeatures; +}; diff --git a/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts b/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts new file mode 100644 index 0000000..4175fd3 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts @@ -0,0 +1 @@ +export { Identity, IdentityProvider } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts b/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts new file mode 100644 index 0000000..697ab41 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts @@ -0,0 +1,18 @@ +import type { Identity, IdentityProvider } from "./Identity"; +/** + * @public + */ +export interface LoginIdentity extends Identity { + /** + * Identity username + */ + readonly username: string; + /** + * Identity password + */ + readonly password: string; +} +/** + * @public + */ +export type LoginIdentityProvider = IdentityProvider; diff --git a/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts b/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts new file mode 100644 index 0000000..063a3ab --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts @@ -0,0 +1,11 @@ +import type { TokenIdentity } from "@smithy/types"; +import type { AwsSdkTokenFeatures } from "../feature-ids"; +export { TokenIdentity, TokenIdentityProvider } from "@smithy/types"; +/** + * @public + * + * TokenIdentity with source attribution metadata. + */ +export type AttributedTokenIdentity = TokenIdentity & { + $source?: AwsSdkTokenFeatures; +}; diff --git a/node_modules/@aws-sdk/types/dist-types/identity/index.d.ts b/node_modules/@aws-sdk/types/dist-types/identity/index.d.ts new file mode 100644 index 0000000..863e78e --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/identity/index.d.ts @@ -0,0 +1,5 @@ +export * from "./AnonymousIdentity"; +export * from "./AwsCredentialIdentity"; +export * from "./Identity"; +export * from "./LoginIdentity"; +export * from "./TokenIdentity"; diff --git a/node_modules/@aws-sdk/types/dist-types/index.d.ts b/node_modules/@aws-sdk/types/dist-types/index.d.ts new file mode 100644 index 0000000..a7f99d9 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/index.d.ts @@ -0,0 +1,34 @@ +export * from "./abort"; +export * from "./auth"; +export * from "./blob/blob-types"; +export * from "./checksum"; +export * from "./client"; +export * from "./command"; +export * from "./connection"; +export * from "./credentials"; +export * from "./crypto"; +export * from "./dns"; +export * from "./encode"; +export * from "./endpoint"; +export * from "./eventStream"; +export * from "./extensions"; +export * from "./feature-ids"; +export * from "./function"; +export * from "./http"; +export * from "./identity"; +export * from "./logger"; +export * from "./middleware"; +export * from "./pagination"; +export * from "./profile"; +export * from "./request"; +export * from "./response"; +export * from "./retry"; +export * from "./serde"; +export * from "./shapes"; +export * from "./signature"; +export * from "./stream"; +export * from "./token"; +export * from "./transfer"; +export * from "./uri"; +export * from "./util"; +export * from "./waiter"; diff --git a/node_modules/@aws-sdk/types/dist-types/logger.d.ts b/node_modules/@aws-sdk/types/dist-types/logger.d.ts new file mode 100644 index 0000000..11a33c6 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/logger.d.ts @@ -0,0 +1,22 @@ +import type { Logger } from "@smithy/types"; +export type { Logger } from "@smithy/types"; +/** + * @public + * + * A list of logger's log level. These levels are sorted in + * order of increasing severity. Each log level includes itself and all + * the levels behind itself. + * + * @example `new Logger({logLevel: 'warn'})` will print all the warn and error + * message. + */ +export type LogLevel = "all" | "trace" | "debug" | "log" | "info" | "warn" | "error" | "off"; +/** + * @public + * + * An object consumed by Logger constructor to initiate a logger object. + */ +export interface LoggerOptions { + logger?: Logger; + logLevel?: LogLevel; +} diff --git a/node_modules/@aws-sdk/types/dist-types/middleware.d.ts b/node_modules/@aws-sdk/types/dist-types/middleware.d.ts new file mode 100644 index 0000000..3f2451b --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/middleware.d.ts @@ -0,0 +1,13 @@ +import type { HandlerExecutionContext } from "@smithy/types"; +import type { AwsSdkFeatures } from "./feature-ids"; +export { AbsoluteLocation, BuildHandler, BuildHandlerArguments, BuildHandlerOptions, BuildHandlerOutput, BuildMiddleware, DeserializeHandler, DeserializeHandlerArguments, DeserializeHandlerOptions, DeserializeHandlerOutput, DeserializeMiddleware, FinalizeHandler, FinalizeHandlerArguments, FinalizeHandlerOutput, FinalizeRequestHandlerOptions, FinalizeRequestMiddleware, Handler, HandlerExecutionContext, HandlerOptions, InitializeHandler, InitializeHandlerArguments, InitializeHandlerOptions, InitializeHandlerOutput, InitializeMiddleware, MiddlewareStack, MiddlewareType, Pluggable, Priority, Relation, RelativeLocation, RelativeMiddlewareOptions, SerializeHandler, SerializeHandlerArguments, SerializeHandlerOptions, SerializeHandlerOutput, SerializeMiddleware, Step, Terminalware, } from "@smithy/types"; +/** + * @internal + * Contains reserved keys for AWS SDK internal usage of the + * handler execution context object. + */ +export interface AwsHandlerExecutionContext extends HandlerExecutionContext { + __aws_sdk_context?: { + features?: AwsSdkFeatures; + }; +} diff --git a/node_modules/@aws-sdk/types/dist-types/pagination.d.ts b/node_modules/@aws-sdk/types/dist-types/pagination.d.ts new file mode 100644 index 0000000..af791b0 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/pagination.d.ts @@ -0,0 +1 @@ +export { PaginationConfiguration, Paginator } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/profile.d.ts b/node_modules/@aws-sdk/types/dist-types/profile.d.ts new file mode 100644 index 0000000..9916f3b --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/profile.d.ts @@ -0,0 +1 @@ +export { IniSection, Profile, ParsedIniData, SharedConfigFiles } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/request.d.ts b/node_modules/@aws-sdk/types/dist-types/request.d.ts new file mode 100644 index 0000000..95405d1 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/request.d.ts @@ -0,0 +1,7 @@ +/** + * @internal + */ +export interface Request { + destination: URL; + body?: any; +} diff --git a/node_modules/@aws-sdk/types/dist-types/response.d.ts b/node_modules/@aws-sdk/types/dist-types/response.d.ts new file mode 100644 index 0000000..8d99350 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/response.d.ts @@ -0,0 +1,7 @@ +export { MetadataBearer, ResponseMetadata } from "@smithy/types"; +/** + * @internal + */ +export interface Response { + body: any; +} diff --git a/node_modules/@aws-sdk/types/dist-types/retry.d.ts b/node_modules/@aws-sdk/types/dist-types/retry.d.ts new file mode 100644 index 0000000..4b7eb98 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/retry.d.ts @@ -0,0 +1 @@ +export { ExponentialBackoffJitterType, ExponentialBackoffStrategyOptions, RetryBackoffStrategy, RetryErrorInfo, RetryErrorType, RetryStrategyOptions, RetryStrategyV2, RetryToken, StandardRetryBackoffStrategy, StandardRetryToken, } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/serde.d.ts b/node_modules/@aws-sdk/types/dist-types/serde.d.ts new file mode 100644 index 0000000..c4cab79 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/serde.d.ts @@ -0,0 +1,24 @@ +export { EndpointBearer, StreamCollector, SerdeContext, ResponseDeserializer, RequestSerializer, SdkStreamMixin, SdkStream, WithSdkStreamMixin, SdkStreamMixinInjector, SdkStreamSerdeContext, } from "@smithy/types"; +/** + * @public + * + * Declare DOM interfaces in case dom.d.ts is not added to the tsconfig lib, causing + * interfaces to not be defined. For developers with dom.d.ts added, the interfaces will + * be merged correctly. + * + * This is also required for any clients with streaming interfaces where the corresponding + * types are also referred. The type is only declared here once since this `@aws-sdk/types` + * is depended by all `@aws-sdk` packages. + */ +declare global { + /** + * @public + */ + export interface ReadableStream { + } + /** + * @public + */ + export interface Blob { + } +} diff --git a/node_modules/@aws-sdk/types/dist-types/shapes.d.ts b/node_modules/@aws-sdk/types/dist-types/shapes.d.ts new file mode 100644 index 0000000..bc19cc7 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/shapes.d.ts @@ -0,0 +1 @@ +export { DocumentType, RetryableTrait, SmithyException, SdkError } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/signature.d.ts b/node_modules/@aws-sdk/types/dist-types/signature.d.ts new file mode 100644 index 0000000..23cbe97 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/signature.d.ts @@ -0,0 +1 @@ +export { DateInput, EventSigner, EventSigningArguments, FormattedEvent, MessageSigner, RequestSigningArguments, RequestPresigner, RequestPresigningArguments, RequestSigner, SignableMessage, SignedMessage, SigningArguments, StringSigner, } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/stream.d.ts b/node_modules/@aws-sdk/types/dist-types/stream.d.ts new file mode 100644 index 0000000..9092844 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/stream.d.ts @@ -0,0 +1 @@ +export { GetAwsChunkedEncodingStream, GetAwsChunkedEncodingStreamOptions } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/token.d.ts b/node_modules/@aws-sdk/types/dist-types/token.d.ts new file mode 100644 index 0000000..b18d911 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/token.d.ts @@ -0,0 +1,17 @@ +import type { TokenIdentity } from "./identity"; +import type { Provider } from "./util"; +/** + * @public + * + * An object representing temporary or permanent AWS token. + * + * @deprecated Use {@link TokenIdentity} + */ +export interface Token extends TokenIdentity { +} +/** + * @public + * + * @deprecated Use {@link TokenIdentityProvider} + */ +export type TokenProvider = Provider; diff --git a/node_modules/@aws-sdk/types/dist-types/transfer.d.ts b/node_modules/@aws-sdk/types/dist-types/transfer.d.ts new file mode 100644 index 0000000..ba78190 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/transfer.d.ts @@ -0,0 +1 @@ +export { RequestContext, RequestHandler, RequestHandlerMetadata, RequestHandlerOutput, RequestHandlerProtocol, } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/abort.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/abort.d.ts new file mode 100644 index 0000000..dad6079 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/abort.d.ts @@ -0,0 +1 @@ +export { AbortController, AbortHandler, AbortSignal } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts new file mode 100644 index 0000000..8a02dbc --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts @@ -0,0 +1,5 @@ +export { + AuthScheme, + HttpAuthDefinition, + HttpAuthLocation, +} from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/blob-types.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/blob-types.d.ts new file mode 100644 index 0000000..df39efe --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/blob-types.d.ts @@ -0,0 +1,2 @@ +import { BlobTypes } from "@smithy/types"; +export { BlobTypes }; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts new file mode 100644 index 0000000..f805d72 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts @@ -0,0 +1 @@ +export { Checksum, ChecksumConstructor } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/client.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/client.d.ts new file mode 100644 index 0000000..d6b3dcf --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/client.d.ts @@ -0,0 +1 @@ +export { Client } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/command.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/command.d.ts new file mode 100644 index 0000000..3887267 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/command.d.ts @@ -0,0 +1 @@ +export { Command } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/connection.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/connection.d.ts new file mode 100644 index 0000000..36ebd00 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/connection.d.ts @@ -0,0 +1,6 @@ +export { + ConnectConfiguration, + ConnectionManager, + ConnectionManagerConfiguration, + ConnectionPool, +} from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts new file mode 100644 index 0000000..eb9cfad --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts @@ -0,0 +1,15 @@ +import { Logger } from "@smithy/types"; +import { AwsCredentialIdentity } from "./identity"; +import { Provider } from "./util"; +export interface Credentials extends AwsCredentialIdentity {} +export type CredentialProvider = Provider; +export type CredentialProviderOptions = { + logger?: Logger; + parentClientConfig?: { + region?: string | Provider; + profile?: string; + logger?: Logger; + userAgentAppId?(): Promise; + [key: string]: unknown; + }; +}; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts new file mode 100644 index 0000000..dfe61bf --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts @@ -0,0 +1,7 @@ +export { + Hash, + HashConstructor, + StreamHasher, + randomValues, + SourceData, +} from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/dns.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/dns.d.ts new file mode 100644 index 0000000..d899949 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/dns.d.ts @@ -0,0 +1,19 @@ +export declare enum HostAddressType { + AAAA = "AAAA", + A = "A", +} +export interface HostAddress { + addressType: HostAddressType; + address: string; + hostName: string; + service?: string; +} +export interface HostResolverArguments { + hostName: string; + service?: string; +} +export interface HostResolver { + resolveAddress(args: HostResolverArguments): Promise; + reportFailureOnAddress(addr: HostAddress): void; + purgeCache(args?: HostResolverArguments): void; +} diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts new file mode 100644 index 0000000..76966f9 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts @@ -0,0 +1,6 @@ +export { + MessageDecoder, + MessageEncoder, + AvailableMessage, + AvailableMessages, +} from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts new file mode 100644 index 0000000..ff3c7de --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts @@ -0,0 +1,9 @@ +export { + EndpointARN, + EndpointPartition, + EndpointURLScheme, + EndpointURL, + EndpointObjectProperty, + EndpointV2, + EndpointParameters, +} from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/eventStream.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/eventStream.d.ts new file mode 100644 index 0000000..e4c04a9 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/eventStream.d.ts @@ -0,0 +1,24 @@ +export { + Message, + MessageHeaders, + BooleanHeaderValue, + ByteHeaderValue, + ShortHeaderValue, + IntegerHeaderValue, + LongHeaderValue, + BinaryHeaderValue, + StringHeaderValue, + TimestampHeaderValue, + UuidHeaderValue, + MessageHeaderValue, + Int64, + EventStreamSerdeContext, + EventStreamMarshaller, + EventStreamMarshallerDeserFn, + EventStreamMarshallerSerFn, + EventStreamPayloadHandler, + EventStreamPayloadHandlerProvider, + EventStreamRequestSigner, + EventStreamSerdeProvider, + EventStreamSignerProvider, +} from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts new file mode 100644 index 0000000..accf5ec --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts @@ -0,0 +1,5 @@ +import { Provider } from "@smithy/types"; +export interface AwsRegionExtensionConfiguration { + setRegion(region: Provider): void; + region(): Provider; +} diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts new file mode 100644 index 0000000..d942789 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts @@ -0,0 +1,60 @@ +export type AwsSdkFeatures = Partial<{ + RESOURCE_MODEL: "A"; + WAITER: "B"; + PAGINATOR: "C"; + RETRY_MODE_LEGACY: "D"; + RETRY_MODE_STANDARD: "E"; + RETRY_MODE_ADAPTIVE: "F"; + S3_EXPRESS_BUCKET: "J"; + S3_ACCESS_GRANTS: "K"; + GZIP_REQUEST_COMPRESSION: "L"; + PROTOCOL_RPC_V2_CBOR: "M"; + ENDPOINT_OVERRIDE: "N"; + ACCOUNT_ID_ENDPOINT: "O"; + ACCOUNT_ID_MODE_PREFERRED: "P"; + ACCOUNT_ID_MODE_DISABLED: "Q"; + ACCOUNT_ID_MODE_REQUIRED: "R"; + SIGV4A_SIGNING: "S"; + FLEXIBLE_CHECKSUMS_REQ_CRC32: "U"; + FLEXIBLE_CHECKSUMS_REQ_CRC32C: "V"; + FLEXIBLE_CHECKSUMS_REQ_CRC64: "W"; + FLEXIBLE_CHECKSUMS_REQ_SHA1: "X"; + FLEXIBLE_CHECKSUMS_REQ_SHA256: "Y"; + FLEXIBLE_CHECKSUMS_REQ_WHEN_SUPPORTED: "Z"; + FLEXIBLE_CHECKSUMS_REQ_WHEN_REQUIRED: "a"; + FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED: "b"; + FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED: "c"; + DDB_MAPPER: "d"; +}> & + AwsSdkCredentialsFeatures & + AwsSdkTokenFeatures; +export type AwsSdkCredentialsFeatures = Partial<{ + RESOLVED_ACCOUNT_ID: "T"; + CREDENTIALS_CODE: "e"; + CREDENTIALS_ENV_VARS: "g"; + CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN: "h"; + CREDENTIALS_STS_ASSUME_ROLE: "i"; + CREDENTIALS_STS_ASSUME_ROLE_SAML: "j"; + CREDENTIALS_STS_ASSUME_ROLE_WEB_ID: "k"; + CREDENTIALS_STS_FEDERATION_TOKEN: "l"; + CREDENTIALS_STS_SESSION_TOKEN: "m"; + CREDENTIALS_PROFILE: "n"; + CREDENTIALS_PROFILE_SOURCE_PROFILE: "o"; + CREDENTIALS_PROFILE_NAMED_PROVIDER: "p"; + CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN: "q"; + CREDENTIALS_PROFILE_SSO: "r"; + CREDENTIALS_SSO: "s"; + CREDENTIALS_PROFILE_SSO_LEGACY: "t"; + CREDENTIALS_SSO_LEGACY: "u"; + CREDENTIALS_PROFILE_PROCESS: "v"; + CREDENTIALS_PROCESS: "w"; + CREDENTIALS_BOTO2_CONFIG_FILE: "x"; + CREDENTIALS_AWS_SDK_STORE: "y"; + CREDENTIALS_HTTP: "z"; + CREDENTIALS_IMDS: "0"; + CREDENTIALS_PROFILE_LOGIN: "AC"; + CREDENTIALS_LOGIN: "AD"; +}>; +export type AwsSdkTokenFeatures = Partial<{ + BEARER_SERVICE_ENV_VARS: "3"; +}>; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/function.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/function.d.ts new file mode 100644 index 0000000..d6efac5 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/function.d.ts @@ -0,0 +1,7 @@ +export type MergeFunctions = F1 extends (arg: infer A1) => infer R1 + ? F2 extends (arg: infer A2) => infer R2 + ? R1 extends Promise + ? (arg?: A1 & A2) => Promise & Awaited> + : (arg?: A1 & A2) => R1 & R2 + : never + : never; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/http.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/http.d.ts new file mode 100644 index 0000000..d8e0eab --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/http.d.ts @@ -0,0 +1,17 @@ +import { HttpResponse } from "@smithy/types"; +export { + Endpoint, + HeaderBag, + HttpHandlerOptions, + HttpMessage, + HttpRequest, + HttpResponse, + QueryParameterBag, +} from "@smithy/types"; +export interface Headers extends Map { + withHeader(headerName: string, headerValue: string): Headers; + withoutHeader(headerName: string): Headers; +} +export interface ResolvedHttpResponse extends HttpResponse { + body: string; +} diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AnonymousIdentity.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AnonymousIdentity.d.ts new file mode 100644 index 0000000..5b175f6 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AnonymousIdentity.d.ts @@ -0,0 +1,2 @@ +import { Identity } from "./Identity"; +export interface AnonymousIdentity extends Identity {} diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts new file mode 100644 index 0000000..a57423c --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts @@ -0,0 +1,31 @@ +import { + AwsCredentialIdentity, + AwsCredentialIdentityProvider, + Logger, + RequestHandler, +} from "@smithy/types"; +import { AwsSdkCredentialsFeatures } from "../feature-ids"; +export { + AwsCredentialIdentity, + AwsCredentialIdentityProvider, + IdentityProvider, +} from "@smithy/types"; +export interface AwsIdentityProperties { + callerClientConfig?: { + credentials?: AwsCredentialIdentity | AwsCredentialIdentityProvider; + credentialDefaultProvider?: (input?: any) => AwsCredentialIdentityProvider; + logger?: Logger; + profile?: string; + region(): Promise; + requestHandler?: RequestHandler; + userAgentAppId?(): Promise; + }; +} +export type RuntimeConfigIdentityProvider = ( + awsIdentityProperties?: AwsIdentityProperties +) => Promise; +export type RuntimeConfigAwsCredentialIdentityProvider = + RuntimeConfigIdentityProvider; +export type AttributedAwsCredentialIdentity = AwsCredentialIdentity & { + $source?: AwsSdkCredentialsFeatures; +}; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/Identity.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/Identity.d.ts new file mode 100644 index 0000000..4175fd3 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/Identity.d.ts @@ -0,0 +1 @@ +export { Identity, IdentityProvider } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/LoginIdentity.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/LoginIdentity.d.ts new file mode 100644 index 0000000..3258bbb --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/LoginIdentity.d.ts @@ -0,0 +1,6 @@ +import { Identity, IdentityProvider } from "./Identity"; +export interface LoginIdentity extends Identity { + readonly username: string; + readonly password: string; +} +export type LoginIdentityProvider = IdentityProvider; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts new file mode 100644 index 0000000..dc2ccf9 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts @@ -0,0 +1,6 @@ +import { TokenIdentity } from "@smithy/types"; +import { AwsSdkTokenFeatures } from "../feature-ids"; +export { TokenIdentity, TokenIdentityProvider } from "@smithy/types"; +export type AttributedTokenIdentity = TokenIdentity & { + $source?: AwsSdkTokenFeatures; +}; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts new file mode 100644 index 0000000..863e78e --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts @@ -0,0 +1,5 @@ +export * from "./AnonymousIdentity"; +export * from "./AwsCredentialIdentity"; +export * from "./Identity"; +export * from "./LoginIdentity"; +export * from "./TokenIdentity"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..a7f99d9 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts @@ -0,0 +1,34 @@ +export * from "./abort"; +export * from "./auth"; +export * from "./blob/blob-types"; +export * from "./checksum"; +export * from "./client"; +export * from "./command"; +export * from "./connection"; +export * from "./credentials"; +export * from "./crypto"; +export * from "./dns"; +export * from "./encode"; +export * from "./endpoint"; +export * from "./eventStream"; +export * from "./extensions"; +export * from "./feature-ids"; +export * from "./function"; +export * from "./http"; +export * from "./identity"; +export * from "./logger"; +export * from "./middleware"; +export * from "./pagination"; +export * from "./profile"; +export * from "./request"; +export * from "./response"; +export * from "./retry"; +export * from "./serde"; +export * from "./shapes"; +export * from "./signature"; +export * from "./stream"; +export * from "./token"; +export * from "./transfer"; +export * from "./uri"; +export * from "./util"; +export * from "./waiter"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts new file mode 100644 index 0000000..c714915 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts @@ -0,0 +1,15 @@ +import { Logger } from "@smithy/types"; +export { Logger } from "@smithy/types"; +export type LogLevel = + | "all" + | "trace" + | "debug" + | "log" + | "info" + | "warn" + | "error" + | "off"; +export interface LoggerOptions { + logger?: Logger; + logLevel?: LogLevel; +} diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts new file mode 100644 index 0000000..e101e9b --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts @@ -0,0 +1,47 @@ +import { HandlerExecutionContext } from "@smithy/types"; +import { AwsSdkFeatures } from "./feature-ids"; +export { + AbsoluteLocation, + BuildHandler, + BuildHandlerArguments, + BuildHandlerOptions, + BuildHandlerOutput, + BuildMiddleware, + DeserializeHandler, + DeserializeHandlerArguments, + DeserializeHandlerOptions, + DeserializeHandlerOutput, + DeserializeMiddleware, + FinalizeHandler, + FinalizeHandlerArguments, + FinalizeHandlerOutput, + FinalizeRequestHandlerOptions, + FinalizeRequestMiddleware, + Handler, + HandlerExecutionContext, + HandlerOptions, + InitializeHandler, + InitializeHandlerArguments, + InitializeHandlerOptions, + InitializeHandlerOutput, + InitializeMiddleware, + MiddlewareStack, + MiddlewareType, + Pluggable, + Priority, + Relation, + RelativeLocation, + RelativeMiddlewareOptions, + SerializeHandler, + SerializeHandlerArguments, + SerializeHandlerOptions, + SerializeHandlerOutput, + SerializeMiddleware, + Step, + Terminalware, +} from "@smithy/types"; +export interface AwsHandlerExecutionContext extends HandlerExecutionContext { + __aws_sdk_context?: { + features?: AwsSdkFeatures; + }; +} diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/pagination.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/pagination.d.ts new file mode 100644 index 0000000..af791b0 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/pagination.d.ts @@ -0,0 +1 @@ +export { PaginationConfiguration, Paginator } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts new file mode 100644 index 0000000..b3813d8 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts @@ -0,0 +1,6 @@ +export { + IniSection, + Profile, + ParsedIniData, + SharedConfigFiles, +} from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/request.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/request.d.ts new file mode 100644 index 0000000..5c6e793 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/request.d.ts @@ -0,0 +1,4 @@ +export interface Request { + destination: URL; + body?: any; +} diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/response.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/response.d.ts new file mode 100644 index 0000000..4e5fcd0 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/response.d.ts @@ -0,0 +1,4 @@ +export { MetadataBearer, ResponseMetadata } from "@smithy/types"; +export interface Response { + body: any; +} diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/retry.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/retry.d.ts new file mode 100644 index 0000000..8fc946a --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/retry.d.ts @@ -0,0 +1,12 @@ +export { + ExponentialBackoffJitterType, + ExponentialBackoffStrategyOptions, + RetryBackoffStrategy, + RetryErrorInfo, + RetryErrorType, + RetryStrategyOptions, + RetryStrategyV2, + RetryToken, + StandardRetryBackoffStrategy, + StandardRetryToken, +} from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/serde.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/serde.d.ts new file mode 100644 index 0000000..a7ed76f --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/serde.d.ts @@ -0,0 +1,16 @@ +export { + EndpointBearer, + StreamCollector, + SerdeContext, + ResponseDeserializer, + RequestSerializer, + SdkStreamMixin, + SdkStream, + WithSdkStreamMixin, + SdkStreamMixinInjector, + SdkStreamSerdeContext, +} from "@smithy/types"; +declare global { + export interface ReadableStream {} + export interface Blob {} +} diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts new file mode 100644 index 0000000..d1efa9a --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts @@ -0,0 +1,6 @@ +export { + DocumentType, + RetryableTrait, + SmithyException, + SdkError, +} from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/signature.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/signature.d.ts new file mode 100644 index 0000000..cbabd75 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/signature.d.ts @@ -0,0 +1,15 @@ +export { + DateInput, + EventSigner, + EventSigningArguments, + FormattedEvent, + MessageSigner, + RequestSigningArguments, + RequestPresigner, + RequestPresigningArguments, + RequestSigner, + SignableMessage, + SignedMessage, + SigningArguments, + StringSigner, +} from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts new file mode 100644 index 0000000..1b79413 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts @@ -0,0 +1,4 @@ +export { + GetAwsChunkedEncodingStream, + GetAwsChunkedEncodingStreamOptions, +} from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/token.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/token.d.ts new file mode 100644 index 0000000..c33e506 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/token.d.ts @@ -0,0 +1,4 @@ +import { TokenIdentity } from "./identity"; +import { Provider } from "./util"; +export interface Token extends TokenIdentity {} +export type TokenProvider = Provider; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts new file mode 100644 index 0000000..04a7f87 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts @@ -0,0 +1,7 @@ +export { + RequestContext, + RequestHandler, + RequestHandlerMetadata, + RequestHandlerOutput, + RequestHandlerProtocol, +} from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/uri.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/uri.d.ts new file mode 100644 index 0000000..297dfe4 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/uri.d.ts @@ -0,0 +1 @@ +export { URI } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/util.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/util.d.ts new file mode 100644 index 0000000..e7e43e6 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/util.d.ts @@ -0,0 +1,14 @@ +export { + Encoder, + Decoder, + Provider, + UserAgentPair, + UserAgent, + UrlParser, + MemoizedProvider, + BodyLengthCalculator, + RegionInfo, + RegionInfoProviderOptions, + RegionInfoProvider, + RetryStrategy, +} from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/ts3.4/waiter.d.ts b/node_modules/@aws-sdk/types/dist-types/ts3.4/waiter.d.ts new file mode 100644 index 0000000..bb98020 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/ts3.4/waiter.d.ts @@ -0,0 +1 @@ +export { WaiterConfiguration } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/uri.d.ts b/node_modules/@aws-sdk/types/dist-types/uri.d.ts new file mode 100644 index 0000000..297dfe4 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/uri.d.ts @@ -0,0 +1 @@ +export { URI } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/util.d.ts b/node_modules/@aws-sdk/types/dist-types/util.d.ts new file mode 100644 index 0000000..fd059b6 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/util.d.ts @@ -0,0 +1 @@ +export { Encoder, Decoder, Provider, UserAgentPair, UserAgent, UrlParser, MemoizedProvider, BodyLengthCalculator, RegionInfo, RegionInfoProviderOptions, RegionInfoProvider, RetryStrategy, } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/dist-types/waiter.d.ts b/node_modules/@aws-sdk/types/dist-types/waiter.d.ts new file mode 100644 index 0000000..bb98020 --- /dev/null +++ b/node_modules/@aws-sdk/types/dist-types/waiter.d.ts @@ -0,0 +1 @@ +export { WaiterConfiguration } from "@smithy/types"; diff --git a/node_modules/@aws-sdk/types/package.json b/node_modules/@aws-sdk/types/package.json new file mode 100644 index 0000000..a2f60d8 --- /dev/null +++ b/node_modules/@aws-sdk/types/package.json @@ -0,0 +1,57 @@ +{ + "name": "@aws-sdk/types", + "version": "3.973.6", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "description": "Types for the AWS SDK", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline types", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "extract:docs": "api-extractor run --local", + "test": "tsc -p tsconfig.test.json" + }, + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/types", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/types" + }, + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "browser": {}, + "react-native": {} +} diff --git a/node_modules/@aws-sdk/util-arn-parser/LICENSE b/node_modules/@aws-sdk/util-arn-parser/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-sdk/util-arn-parser/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-sdk/util-arn-parser/README.md b/node_modules/@aws-sdk/util-arn-parser/README.md new file mode 100644 index 0000000..450cd86 --- /dev/null +++ b/node_modules/@aws-sdk/util-arn-parser/README.md @@ -0,0 +1,4 @@ +# @aws-sdk/util-arn-parser + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/util-arn-parser/latest.svg)](https://www.npmjs.com/package/@aws-sdk/util-arn-parser) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/util-arn-parser.svg)](https://www.npmjs.com/package/@aws-sdk/util-arn-parser) diff --git a/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js b/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js new file mode 100644 index 0000000..0138bc8 --- /dev/null +++ b/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js @@ -0,0 +1,27 @@ +'use strict'; + +const validate = (str) => typeof str === "string" && str.indexOf("arn:") === 0 && str.split(":").length >= 6; +const parse = (arn) => { + const segments = arn.split(":"); + if (segments.length < 6 || segments[0] !== "arn") + throw new Error("Malformed ARN"); + const [, partition, service, region, accountId, ...resource] = segments; + return { + partition, + service, + region, + accountId, + resource: resource.join(":"), + }; +}; +const build = (arnObject) => { + const { partition = "aws", service, region, accountId, resource } = arnObject; + if ([service, region, accountId, resource].some((segment) => typeof segment !== "string")) { + throw new Error("Input ARN object is invalid"); + } + return `arn:${partition}:${service}:${region}:${accountId}:${resource}`; +}; + +exports.build = build; +exports.parse = parse; +exports.validate = validate; diff --git a/node_modules/@aws-sdk/util-arn-parser/dist-es/index.js b/node_modules/@aws-sdk/util-arn-parser/dist-es/index.js new file mode 100644 index 0000000..1f24b91 --- /dev/null +++ b/node_modules/@aws-sdk/util-arn-parser/dist-es/index.js @@ -0,0 +1,21 @@ +export const validate = (str) => typeof str === "string" && str.indexOf("arn:") === 0 && str.split(":").length >= 6; +export const parse = (arn) => { + const segments = arn.split(":"); + if (segments.length < 6 || segments[0] !== "arn") + throw new Error("Malformed ARN"); + const [, partition, service, region, accountId, ...resource] = segments; + return { + partition, + service, + region, + accountId, + resource: resource.join(":"), + }; +}; +export const build = (arnObject) => { + const { partition = "aws", service, region, accountId, resource } = arnObject; + if ([service, region, accountId, resource].some((segment) => typeof segment !== "string")) { + throw new Error("Input ARN object is invalid"); + } + return `arn:${partition}:${service}:${region}:${accountId}:${resource}`; +}; diff --git a/node_modules/@aws-sdk/util-arn-parser/dist-types/index.d.ts b/node_modules/@aws-sdk/util-arn-parser/dist-types/index.d.ts new file mode 100644 index 0000000..b9d0373 --- /dev/null +++ b/node_modules/@aws-sdk/util-arn-parser/dist-types/index.d.ts @@ -0,0 +1,32 @@ +/** + * @internal + */ +export interface ARN { + partition: string; + service: string; + region: string; + accountId: string; + resource: string; +} +/** + * Validate whether a string is an ARN. + * @internal + */ +export declare const validate: (str: any) => boolean; +/** + * Parse an ARN string into structure with partition, service, region, accountId and resource values + * @internal + */ +export declare const parse: (arn: string) => ARN; +/** + * @internal + */ +type buildOptions = Omit & { + partition?: string; +}; +/** + * Build an ARN with service, partition, region, accountId, and resources strings + * @internal + */ +export declare const build: (arnObject: buildOptions) => string; +export {}; diff --git a/node_modules/@aws-sdk/util-arn-parser/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/util-arn-parser/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..56c943c --- /dev/null +++ b/node_modules/@aws-sdk/util-arn-parser/dist-types/ts3.4/index.d.ts @@ -0,0 +1,14 @@ +export interface ARN { + partition: string; + service: string; + region: string; + accountId: string; + resource: string; +} +export declare const validate: (str: any) => boolean; +export declare const parse: (arn: string) => ARN; +type buildOptions = Pick> & { + partition?: string; +}; +export declare const build: (arnObject: buildOptions) => string; +export {}; diff --git a/node_modules/@aws-sdk/util-arn-parser/package.json b/node_modules/@aws-sdk/util-arn-parser/package.json new file mode 100644 index 0000000..cf7079c --- /dev/null +++ b/node_modules/@aws-sdk/util-arn-parser/package.json @@ -0,0 +1,55 @@ +{ + "name": "@aws-sdk/util-arn-parser", + "version": "3.972.3", + "description": "A parser to Amazon Resource Names", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline util-arn-parser", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "@types/node": "^20.14.8", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/util-arn-parser", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/util-arn-parser" + } +} diff --git a/node_modules/@aws-sdk/util-endpoints/LICENSE b/node_modules/@aws-sdk/util-endpoints/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-sdk/util-endpoints/README.md b/node_modules/@aws-sdk/util-endpoints/README.md new file mode 100644 index 0000000..641f54a --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/README.md @@ -0,0 +1,6 @@ +# @aws-sdk/util-endpoints + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/util-endpoints/latest.svg)](https://www.npmjs.com/package/@aws-sdk/util-endpoints) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/util-endpoints.svg)](https://www.npmjs.com/package/@aws-sdk/util-endpoints) + +> An internal package diff --git a/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js b/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js new file mode 100644 index 0000000..5f94250 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js @@ -0,0 +1,406 @@ +'use strict'; + +var utilEndpoints = require('@smithy/util-endpoints'); +var urlParser = require('@smithy/url-parser'); + +const isVirtualHostableS3Bucket = (value, allowSubDomains = false) => { + if (allowSubDomains) { + for (const label of value.split(".")) { + if (!isVirtualHostableS3Bucket(label)) { + return false; + } + } + return true; + } + if (!utilEndpoints.isValidHostLabel(value)) { + return false; + } + if (value.length < 3 || value.length > 63) { + return false; + } + if (value !== value.toLowerCase()) { + return false; + } + if (utilEndpoints.isIpAddress(value)) { + return false; + } + return true; +}; + +const ARN_DELIMITER = ":"; +const RESOURCE_DELIMITER = "/"; +const parseArn = (value) => { + const segments = value.split(ARN_DELIMITER); + if (segments.length < 6) + return null; + const [arn, partition, service, region, accountId, ...resourcePath] = segments; + if (arn !== "arn" || partition === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "") + return null; + const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat(); + return { + partition, + service, + region, + accountId, + resourceId, + }; +}; + +var partitions = [ + { + id: "aws", + outputs: { + dnsSuffix: "amazonaws.com", + dualStackDnsSuffix: "api.aws", + implicitGlobalRegion: "us-east-1", + name: "aws", + supportsDualStack: true, + supportsFIPS: true + }, + regionRegex: "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$", + regions: { + "af-south-1": { + description: "Africa (Cape Town)" + }, + "ap-east-1": { + description: "Asia Pacific (Hong Kong)" + }, + "ap-east-2": { + description: "Asia Pacific (Taipei)" + }, + "ap-northeast-1": { + description: "Asia Pacific (Tokyo)" + }, + "ap-northeast-2": { + description: "Asia Pacific (Seoul)" + }, + "ap-northeast-3": { + description: "Asia Pacific (Osaka)" + }, + "ap-south-1": { + description: "Asia Pacific (Mumbai)" + }, + "ap-south-2": { + description: "Asia Pacific (Hyderabad)" + }, + "ap-southeast-1": { + description: "Asia Pacific (Singapore)" + }, + "ap-southeast-2": { + description: "Asia Pacific (Sydney)" + }, + "ap-southeast-3": { + description: "Asia Pacific (Jakarta)" + }, + "ap-southeast-4": { + description: "Asia Pacific (Melbourne)" + }, + "ap-southeast-5": { + description: "Asia Pacific (Malaysia)" + }, + "ap-southeast-6": { + description: "Asia Pacific (New Zealand)" + }, + "ap-southeast-7": { + description: "Asia Pacific (Thailand)" + }, + "aws-global": { + description: "aws global region" + }, + "ca-central-1": { + description: "Canada (Central)" + }, + "ca-west-1": { + description: "Canada West (Calgary)" + }, + "eu-central-1": { + description: "Europe (Frankfurt)" + }, + "eu-central-2": { + description: "Europe (Zurich)" + }, + "eu-north-1": { + description: "Europe (Stockholm)" + }, + "eu-south-1": { + description: "Europe (Milan)" + }, + "eu-south-2": { + description: "Europe (Spain)" + }, + "eu-west-1": { + description: "Europe (Ireland)" + }, + "eu-west-2": { + description: "Europe (London)" + }, + "eu-west-3": { + description: "Europe (Paris)" + }, + "il-central-1": { + description: "Israel (Tel Aviv)" + }, + "me-central-1": { + description: "Middle East (UAE)" + }, + "me-south-1": { + description: "Middle East (Bahrain)" + }, + "mx-central-1": { + description: "Mexico (Central)" + }, + "sa-east-1": { + description: "South America (Sao Paulo)" + }, + "us-east-1": { + description: "US East (N. Virginia)" + }, + "us-east-2": { + description: "US East (Ohio)" + }, + "us-west-1": { + description: "US West (N. California)" + }, + "us-west-2": { + description: "US West (Oregon)" + } + } + }, + { + id: "aws-cn", + outputs: { + dnsSuffix: "amazonaws.com.cn", + dualStackDnsSuffix: "api.amazonwebservices.com.cn", + implicitGlobalRegion: "cn-northwest-1", + name: "aws-cn", + supportsDualStack: true, + supportsFIPS: true + }, + regionRegex: "^cn\\-\\w+\\-\\d+$", + regions: { + "aws-cn-global": { + description: "aws-cn global region" + }, + "cn-north-1": { + description: "China (Beijing)" + }, + "cn-northwest-1": { + description: "China (Ningxia)" + } + } + }, + { + id: "aws-eusc", + outputs: { + dnsSuffix: "amazonaws.eu", + dualStackDnsSuffix: "api.amazonwebservices.eu", + implicitGlobalRegion: "eusc-de-east-1", + name: "aws-eusc", + supportsDualStack: true, + supportsFIPS: true + }, + regionRegex: "^eusc\\-(de)\\-\\w+\\-\\d+$", + regions: { + "eusc-de-east-1": { + description: "AWS European Sovereign Cloud (Germany)" + } + } + }, + { + id: "aws-iso", + outputs: { + dnsSuffix: "c2s.ic.gov", + dualStackDnsSuffix: "api.aws.ic.gov", + implicitGlobalRegion: "us-iso-east-1", + name: "aws-iso", + supportsDualStack: true, + supportsFIPS: true + }, + regionRegex: "^us\\-iso\\-\\w+\\-\\d+$", + regions: { + "aws-iso-global": { + description: "aws-iso global region" + }, + "us-iso-east-1": { + description: "US ISO East" + }, + "us-iso-west-1": { + description: "US ISO WEST" + } + } + }, + { + id: "aws-iso-b", + outputs: { + dnsSuffix: "sc2s.sgov.gov", + dualStackDnsSuffix: "api.aws.scloud", + implicitGlobalRegion: "us-isob-east-1", + name: "aws-iso-b", + supportsDualStack: true, + supportsFIPS: true + }, + regionRegex: "^us\\-isob\\-\\w+\\-\\d+$", + regions: { + "aws-iso-b-global": { + description: "aws-iso-b global region" + }, + "us-isob-east-1": { + description: "US ISOB East (Ohio)" + }, + "us-isob-west-1": { + description: "US ISOB West" + } + } + }, + { + id: "aws-iso-e", + outputs: { + dnsSuffix: "cloud.adc-e.uk", + dualStackDnsSuffix: "api.cloud-aws.adc-e.uk", + implicitGlobalRegion: "eu-isoe-west-1", + name: "aws-iso-e", + supportsDualStack: true, + supportsFIPS: true + }, + regionRegex: "^eu\\-isoe\\-\\w+\\-\\d+$", + regions: { + "aws-iso-e-global": { + description: "aws-iso-e global region" + }, + "eu-isoe-west-1": { + description: "EU ISOE West" + } + } + }, + { + id: "aws-iso-f", + outputs: { + dnsSuffix: "csp.hci.ic.gov", + dualStackDnsSuffix: "api.aws.hci.ic.gov", + implicitGlobalRegion: "us-isof-south-1", + name: "aws-iso-f", + supportsDualStack: true, + supportsFIPS: true + }, + regionRegex: "^us\\-isof\\-\\w+\\-\\d+$", + regions: { + "aws-iso-f-global": { + description: "aws-iso-f global region" + }, + "us-isof-east-1": { + description: "US ISOF EAST" + }, + "us-isof-south-1": { + description: "US ISOF SOUTH" + } + } + }, + { + id: "aws-us-gov", + outputs: { + dnsSuffix: "amazonaws.com", + dualStackDnsSuffix: "api.aws", + implicitGlobalRegion: "us-gov-west-1", + name: "aws-us-gov", + supportsDualStack: true, + supportsFIPS: true + }, + regionRegex: "^us\\-gov\\-\\w+\\-\\d+$", + regions: { + "aws-us-gov-global": { + description: "aws-us-gov global region" + }, + "us-gov-east-1": { + description: "AWS GovCloud (US-East)" + }, + "us-gov-west-1": { + description: "AWS GovCloud (US-West)" + } + } + } +]; +var version = "1.1"; +var partitionsInfo = { + partitions: partitions, + version: version +}; + +let selectedPartitionsInfo = partitionsInfo; +let selectedUserAgentPrefix = ""; +const partition = (value) => { + const { partitions } = selectedPartitionsInfo; + for (const partition of partitions) { + const { regions, outputs } = partition; + for (const [region, regionData] of Object.entries(regions)) { + if (region === value) { + return { + ...outputs, + ...regionData, + }; + } + } + } + for (const partition of partitions) { + const { regionRegex, outputs } = partition; + if (new RegExp(regionRegex).test(value)) { + return { + ...outputs, + }; + } + } + const DEFAULT_PARTITION = partitions.find((partition) => partition.id === "aws"); + if (!DEFAULT_PARTITION) { + throw new Error("Provided region was not found in the partition array or regex," + + " and default partition with id 'aws' doesn't exist."); + } + return { + ...DEFAULT_PARTITION.outputs, + }; +}; +const setPartitionInfo = (partitionsInfo, userAgentPrefix = "") => { + selectedPartitionsInfo = partitionsInfo; + selectedUserAgentPrefix = userAgentPrefix; +}; +const useDefaultPartitionInfo = () => { + setPartitionInfo(partitionsInfo, ""); +}; +const getUserAgentPrefix = () => selectedUserAgentPrefix; + +const awsEndpointFunctions = { + isVirtualHostableS3Bucket: isVirtualHostableS3Bucket, + parseArn: parseArn, + partition: partition, +}; +utilEndpoints.customEndpointFunctions.aws = awsEndpointFunctions; + +const resolveDefaultAwsRegionalEndpointsConfig = (input) => { + if (typeof input.endpointProvider !== "function") { + throw new Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client."); + } + const { endpoint } = input; + if (endpoint === undefined) { + input.endpoint = async () => { + return toEndpointV1(input.endpointProvider({ + Region: typeof input.region === "function" ? await input.region() : input.region, + UseDualStack: typeof input.useDualstackEndpoint === "function" + ? await input.useDualstackEndpoint() + : input.useDualstackEndpoint, + UseFIPS: typeof input.useFipsEndpoint === "function" ? await input.useFipsEndpoint() : input.useFipsEndpoint, + Endpoint: undefined, + }, { logger: input.logger })); + }; + } + return input; +}; +const toEndpointV1 = (endpoint) => urlParser.parseUrl(endpoint.url); + +exports.EndpointError = utilEndpoints.EndpointError; +exports.isIpAddress = utilEndpoints.isIpAddress; +exports.resolveEndpoint = utilEndpoints.resolveEndpoint; +exports.awsEndpointFunctions = awsEndpointFunctions; +exports.getUserAgentPrefix = getUserAgentPrefix; +exports.partition = partition; +exports.resolveDefaultAwsRegionalEndpointsConfig = resolveDefaultAwsRegionalEndpointsConfig; +exports.setPartitionInfo = setPartitionInfo; +exports.toEndpointV1 = toEndpointV1; +exports.useDefaultPartitionInfo = useDefaultPartitionInfo; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json b/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json new file mode 100644 index 0000000..d7d22d8 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json @@ -0,0 +1,267 @@ +{ + "partitions": [{ + "id": "aws", + "outputs": { + "dnsSuffix": "amazonaws.com", + "dualStackDnsSuffix": "api.aws", + "implicitGlobalRegion": "us-east-1", + "name": "aws", + "supportsDualStack": true, + "supportsFIPS": true + }, + "regionRegex": "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$", + "regions": { + "af-south-1": { + "description": "Africa (Cape Town)" + }, + "ap-east-1": { + "description": "Asia Pacific (Hong Kong)" + }, + "ap-east-2": { + "description": "Asia Pacific (Taipei)" + }, + "ap-northeast-1": { + "description": "Asia Pacific (Tokyo)" + }, + "ap-northeast-2": { + "description": "Asia Pacific (Seoul)" + }, + "ap-northeast-3": { + "description": "Asia Pacific (Osaka)" + }, + "ap-south-1": { + "description": "Asia Pacific (Mumbai)" + }, + "ap-south-2": { + "description": "Asia Pacific (Hyderabad)" + }, + "ap-southeast-1": { + "description": "Asia Pacific (Singapore)" + }, + "ap-southeast-2": { + "description": "Asia Pacific (Sydney)" + }, + "ap-southeast-3": { + "description": "Asia Pacific (Jakarta)" + }, + "ap-southeast-4": { + "description": "Asia Pacific (Melbourne)" + }, + "ap-southeast-5": { + "description": "Asia Pacific (Malaysia)" + }, + "ap-southeast-6": { + "description": "Asia Pacific (New Zealand)" + }, + "ap-southeast-7": { + "description": "Asia Pacific (Thailand)" + }, + "aws-global": { + "description": "aws global region" + }, + "ca-central-1": { + "description": "Canada (Central)" + }, + "ca-west-1": { + "description": "Canada West (Calgary)" + }, + "eu-central-1": { + "description": "Europe (Frankfurt)" + }, + "eu-central-2": { + "description": "Europe (Zurich)" + }, + "eu-north-1": { + "description": "Europe (Stockholm)" + }, + "eu-south-1": { + "description": "Europe (Milan)" + }, + "eu-south-2": { + "description": "Europe (Spain)" + }, + "eu-west-1": { + "description": "Europe (Ireland)" + }, + "eu-west-2": { + "description": "Europe (London)" + }, + "eu-west-3": { + "description": "Europe (Paris)" + }, + "il-central-1": { + "description": "Israel (Tel Aviv)" + }, + "me-central-1": { + "description": "Middle East (UAE)" + }, + "me-south-1": { + "description": "Middle East (Bahrain)" + }, + "mx-central-1": { + "description": "Mexico (Central)" + }, + "sa-east-1": { + "description": "South America (Sao Paulo)" + }, + "us-east-1": { + "description": "US East (N. Virginia)" + }, + "us-east-2": { + "description": "US East (Ohio)" + }, + "us-west-1": { + "description": "US West (N. California)" + }, + "us-west-2": { + "description": "US West (Oregon)" + } + } + }, { + "id": "aws-cn", + "outputs": { + "dnsSuffix": "amazonaws.com.cn", + "dualStackDnsSuffix": "api.amazonwebservices.com.cn", + "implicitGlobalRegion": "cn-northwest-1", + "name": "aws-cn", + "supportsDualStack": true, + "supportsFIPS": true + }, + "regionRegex": "^cn\\-\\w+\\-\\d+$", + "regions": { + "aws-cn-global": { + "description": "aws-cn global region" + }, + "cn-north-1": { + "description": "China (Beijing)" + }, + "cn-northwest-1": { + "description": "China (Ningxia)" + } + } + }, { + "id": "aws-eusc", + "outputs": { + "dnsSuffix": "amazonaws.eu", + "dualStackDnsSuffix": "api.amazonwebservices.eu", + "implicitGlobalRegion": "eusc-de-east-1", + "name": "aws-eusc", + "supportsDualStack": true, + "supportsFIPS": true + }, + "regionRegex": "^eusc\\-(de)\\-\\w+\\-\\d+$", + "regions": { + "eusc-de-east-1": { + "description": "AWS European Sovereign Cloud (Germany)" + } + } + }, { + "id": "aws-iso", + "outputs": { + "dnsSuffix": "c2s.ic.gov", + "dualStackDnsSuffix": "api.aws.ic.gov", + "implicitGlobalRegion": "us-iso-east-1", + "name": "aws-iso", + "supportsDualStack": true, + "supportsFIPS": true + }, + "regionRegex": "^us\\-iso\\-\\w+\\-\\d+$", + "regions": { + "aws-iso-global": { + "description": "aws-iso global region" + }, + "us-iso-east-1": { + "description": "US ISO East" + }, + "us-iso-west-1": { + "description": "US ISO WEST" + } + } + }, { + "id": "aws-iso-b", + "outputs": { + "dnsSuffix": "sc2s.sgov.gov", + "dualStackDnsSuffix": "api.aws.scloud", + "implicitGlobalRegion": "us-isob-east-1", + "name": "aws-iso-b", + "supportsDualStack": true, + "supportsFIPS": true + }, + "regionRegex": "^us\\-isob\\-\\w+\\-\\d+$", + "regions": { + "aws-iso-b-global": { + "description": "aws-iso-b global region" + }, + "us-isob-east-1": { + "description": "US ISOB East (Ohio)" + }, + "us-isob-west-1": { + "description": "US ISOB West" + } + } + }, { + "id": "aws-iso-e", + "outputs": { + "dnsSuffix": "cloud.adc-e.uk", + "dualStackDnsSuffix": "api.cloud-aws.adc-e.uk", + "implicitGlobalRegion": "eu-isoe-west-1", + "name": "aws-iso-e", + "supportsDualStack": true, + "supportsFIPS": true + }, + "regionRegex": "^eu\\-isoe\\-\\w+\\-\\d+$", + "regions": { + "aws-iso-e-global": { + "description": "aws-iso-e global region" + }, + "eu-isoe-west-1": { + "description": "EU ISOE West" + } + } + }, { + "id": "aws-iso-f", + "outputs": { + "dnsSuffix": "csp.hci.ic.gov", + "dualStackDnsSuffix": "api.aws.hci.ic.gov", + "implicitGlobalRegion": "us-isof-south-1", + "name": "aws-iso-f", + "supportsDualStack": true, + "supportsFIPS": true + }, + "regionRegex": "^us\\-isof\\-\\w+\\-\\d+$", + "regions": { + "aws-iso-f-global": { + "description": "aws-iso-f global region" + }, + "us-isof-east-1": { + "description": "US ISOF EAST" + }, + "us-isof-south-1": { + "description": "US ISOF SOUTH" + } + } + }, { + "id": "aws-us-gov", + "outputs": { + "dnsSuffix": "amazonaws.com", + "dualStackDnsSuffix": "api.aws", + "implicitGlobalRegion": "us-gov-west-1", + "name": "aws-us-gov", + "supportsDualStack": true, + "supportsFIPS": true + }, + "regionRegex": "^us\\-gov\\-\\w+\\-\\d+$", + "regions": { + "aws-us-gov-global": { + "description": "aws-us-gov global region" + }, + "us-gov-east-1": { + "description": "AWS GovCloud (US-East)" + }, + "us-gov-west-1": { + "description": "AWS GovCloud (US-West)" + } + } + }], + "version": "1.1" +} diff --git a/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js b/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js new file mode 100644 index 0000000..49a408e --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js @@ -0,0 +1,10 @@ +import { customEndpointFunctions } from "@smithy/util-endpoints"; +import { isVirtualHostableS3Bucket } from "./lib/aws/isVirtualHostableS3Bucket"; +import { parseArn } from "./lib/aws/parseArn"; +import { partition } from "./lib/aws/partition"; +export const awsEndpointFunctions = { + isVirtualHostableS3Bucket: isVirtualHostableS3Bucket, + parseArn: parseArn, + partition: partition, +}; +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-es/index.js b/node_modules/@aws-sdk/util-endpoints/dist-es/index.js new file mode 100644 index 0000000..f41d9be --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-es/index.js @@ -0,0 +1,6 @@ +export * from "./aws"; +export * from "./lib/aws/partition"; +export * from "./lib/isIpAddress"; +export * from "./resolveDefaultAwsRegionalEndpointsConfig"; +export * from "./resolveEndpoint"; +export * from "./types"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js b/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js new file mode 100644 index 0000000..03be049 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js @@ -0,0 +1,3 @@ +export * from "./isVirtualHostableS3Bucket"; +export * from "./parseArn"; +export * from "./partition"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js b/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js new file mode 100644 index 0000000..f2bacc0 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js @@ -0,0 +1,25 @@ +import { isValidHostLabel } from "@smithy/util-endpoints"; +import { isIpAddress } from "../isIpAddress"; +export const isVirtualHostableS3Bucket = (value, allowSubDomains = false) => { + if (allowSubDomains) { + for (const label of value.split(".")) { + if (!isVirtualHostableS3Bucket(label)) { + return false; + } + } + return true; + } + if (!isValidHostLabel(value)) { + return false; + } + if (value.length < 3 || value.length > 63) { + return false; + } + if (value !== value.toLowerCase()) { + return false; + } + if (isIpAddress(value)) { + return false; + } + return true; +}; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js b/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js new file mode 100644 index 0000000..6b12887 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js @@ -0,0 +1,18 @@ +const ARN_DELIMITER = ":"; +const RESOURCE_DELIMITER = "/"; +export const parseArn = (value) => { + const segments = value.split(ARN_DELIMITER); + if (segments.length < 6) + return null; + const [arn, partition, service, region, accountId, ...resourcePath] = segments; + if (arn !== "arn" || partition === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "") + return null; + const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat(); + return { + partition, + service, + region, + accountId, + resourceId, + }; +}; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js b/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js new file mode 100644 index 0000000..8d39d81 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js @@ -0,0 +1,41 @@ +import partitionsInfo from "./partitions.json"; +let selectedPartitionsInfo = partitionsInfo; +let selectedUserAgentPrefix = ""; +export const partition = (value) => { + const { partitions } = selectedPartitionsInfo; + for (const partition of partitions) { + const { regions, outputs } = partition; + for (const [region, regionData] of Object.entries(regions)) { + if (region === value) { + return { + ...outputs, + ...regionData, + }; + } + } + } + for (const partition of partitions) { + const { regionRegex, outputs } = partition; + if (new RegExp(regionRegex).test(value)) { + return { + ...outputs, + }; + } + } + const DEFAULT_PARTITION = partitions.find((partition) => partition.id === "aws"); + if (!DEFAULT_PARTITION) { + throw new Error("Provided region was not found in the partition array or regex," + + " and default partition with id 'aws' doesn't exist."); + } + return { + ...DEFAULT_PARTITION.outputs, + }; +}; +export const setPartitionInfo = (partitionsInfo, userAgentPrefix = "") => { + selectedPartitionsInfo = partitionsInfo; + selectedUserAgentPrefix = userAgentPrefix; +}; +export const useDefaultPartitionInfo = () => { + setPartitionInfo(partitionsInfo, ""); +}; +export const getUserAgentPrefix = () => selectedUserAgentPrefix; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json b/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json new file mode 100644 index 0000000..d7d22d8 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json @@ -0,0 +1,267 @@ +{ + "partitions": [{ + "id": "aws", + "outputs": { + "dnsSuffix": "amazonaws.com", + "dualStackDnsSuffix": "api.aws", + "implicitGlobalRegion": "us-east-1", + "name": "aws", + "supportsDualStack": true, + "supportsFIPS": true + }, + "regionRegex": "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$", + "regions": { + "af-south-1": { + "description": "Africa (Cape Town)" + }, + "ap-east-1": { + "description": "Asia Pacific (Hong Kong)" + }, + "ap-east-2": { + "description": "Asia Pacific (Taipei)" + }, + "ap-northeast-1": { + "description": "Asia Pacific (Tokyo)" + }, + "ap-northeast-2": { + "description": "Asia Pacific (Seoul)" + }, + "ap-northeast-3": { + "description": "Asia Pacific (Osaka)" + }, + "ap-south-1": { + "description": "Asia Pacific (Mumbai)" + }, + "ap-south-2": { + "description": "Asia Pacific (Hyderabad)" + }, + "ap-southeast-1": { + "description": "Asia Pacific (Singapore)" + }, + "ap-southeast-2": { + "description": "Asia Pacific (Sydney)" + }, + "ap-southeast-3": { + "description": "Asia Pacific (Jakarta)" + }, + "ap-southeast-4": { + "description": "Asia Pacific (Melbourne)" + }, + "ap-southeast-5": { + "description": "Asia Pacific (Malaysia)" + }, + "ap-southeast-6": { + "description": "Asia Pacific (New Zealand)" + }, + "ap-southeast-7": { + "description": "Asia Pacific (Thailand)" + }, + "aws-global": { + "description": "aws global region" + }, + "ca-central-1": { + "description": "Canada (Central)" + }, + "ca-west-1": { + "description": "Canada West (Calgary)" + }, + "eu-central-1": { + "description": "Europe (Frankfurt)" + }, + "eu-central-2": { + "description": "Europe (Zurich)" + }, + "eu-north-1": { + "description": "Europe (Stockholm)" + }, + "eu-south-1": { + "description": "Europe (Milan)" + }, + "eu-south-2": { + "description": "Europe (Spain)" + }, + "eu-west-1": { + "description": "Europe (Ireland)" + }, + "eu-west-2": { + "description": "Europe (London)" + }, + "eu-west-3": { + "description": "Europe (Paris)" + }, + "il-central-1": { + "description": "Israel (Tel Aviv)" + }, + "me-central-1": { + "description": "Middle East (UAE)" + }, + "me-south-1": { + "description": "Middle East (Bahrain)" + }, + "mx-central-1": { + "description": "Mexico (Central)" + }, + "sa-east-1": { + "description": "South America (Sao Paulo)" + }, + "us-east-1": { + "description": "US East (N. Virginia)" + }, + "us-east-2": { + "description": "US East (Ohio)" + }, + "us-west-1": { + "description": "US West (N. California)" + }, + "us-west-2": { + "description": "US West (Oregon)" + } + } + }, { + "id": "aws-cn", + "outputs": { + "dnsSuffix": "amazonaws.com.cn", + "dualStackDnsSuffix": "api.amazonwebservices.com.cn", + "implicitGlobalRegion": "cn-northwest-1", + "name": "aws-cn", + "supportsDualStack": true, + "supportsFIPS": true + }, + "regionRegex": "^cn\\-\\w+\\-\\d+$", + "regions": { + "aws-cn-global": { + "description": "aws-cn global region" + }, + "cn-north-1": { + "description": "China (Beijing)" + }, + "cn-northwest-1": { + "description": "China (Ningxia)" + } + } + }, { + "id": "aws-eusc", + "outputs": { + "dnsSuffix": "amazonaws.eu", + "dualStackDnsSuffix": "api.amazonwebservices.eu", + "implicitGlobalRegion": "eusc-de-east-1", + "name": "aws-eusc", + "supportsDualStack": true, + "supportsFIPS": true + }, + "regionRegex": "^eusc\\-(de)\\-\\w+\\-\\d+$", + "regions": { + "eusc-de-east-1": { + "description": "AWS European Sovereign Cloud (Germany)" + } + } + }, { + "id": "aws-iso", + "outputs": { + "dnsSuffix": "c2s.ic.gov", + "dualStackDnsSuffix": "api.aws.ic.gov", + "implicitGlobalRegion": "us-iso-east-1", + "name": "aws-iso", + "supportsDualStack": true, + "supportsFIPS": true + }, + "regionRegex": "^us\\-iso\\-\\w+\\-\\d+$", + "regions": { + "aws-iso-global": { + "description": "aws-iso global region" + }, + "us-iso-east-1": { + "description": "US ISO East" + }, + "us-iso-west-1": { + "description": "US ISO WEST" + } + } + }, { + "id": "aws-iso-b", + "outputs": { + "dnsSuffix": "sc2s.sgov.gov", + "dualStackDnsSuffix": "api.aws.scloud", + "implicitGlobalRegion": "us-isob-east-1", + "name": "aws-iso-b", + "supportsDualStack": true, + "supportsFIPS": true + }, + "regionRegex": "^us\\-isob\\-\\w+\\-\\d+$", + "regions": { + "aws-iso-b-global": { + "description": "aws-iso-b global region" + }, + "us-isob-east-1": { + "description": "US ISOB East (Ohio)" + }, + "us-isob-west-1": { + "description": "US ISOB West" + } + } + }, { + "id": "aws-iso-e", + "outputs": { + "dnsSuffix": "cloud.adc-e.uk", + "dualStackDnsSuffix": "api.cloud-aws.adc-e.uk", + "implicitGlobalRegion": "eu-isoe-west-1", + "name": "aws-iso-e", + "supportsDualStack": true, + "supportsFIPS": true + }, + "regionRegex": "^eu\\-isoe\\-\\w+\\-\\d+$", + "regions": { + "aws-iso-e-global": { + "description": "aws-iso-e global region" + }, + "eu-isoe-west-1": { + "description": "EU ISOE West" + } + } + }, { + "id": "aws-iso-f", + "outputs": { + "dnsSuffix": "csp.hci.ic.gov", + "dualStackDnsSuffix": "api.aws.hci.ic.gov", + "implicitGlobalRegion": "us-isof-south-1", + "name": "aws-iso-f", + "supportsDualStack": true, + "supportsFIPS": true + }, + "regionRegex": "^us\\-isof\\-\\w+\\-\\d+$", + "regions": { + "aws-iso-f-global": { + "description": "aws-iso-f global region" + }, + "us-isof-east-1": { + "description": "US ISOF EAST" + }, + "us-isof-south-1": { + "description": "US ISOF SOUTH" + } + } + }, { + "id": "aws-us-gov", + "outputs": { + "dnsSuffix": "amazonaws.com", + "dualStackDnsSuffix": "api.aws", + "implicitGlobalRegion": "us-gov-west-1", + "name": "aws-us-gov", + "supportsDualStack": true, + "supportsFIPS": true + }, + "regionRegex": "^us\\-gov\\-\\w+\\-\\d+$", + "regions": { + "aws-us-gov-global": { + "description": "aws-us-gov global region" + }, + "us-gov-east-1": { + "description": "AWS GovCloud (US-East)" + }, + "us-gov-west-1": { + "description": "AWS GovCloud (US-West)" + } + } + }], + "version": "1.1" +} diff --git a/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js b/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js new file mode 100644 index 0000000..59bfcd8 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js @@ -0,0 +1 @@ +export { isIpAddress } from "@smithy/util-endpoints"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js b/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js new file mode 100644 index 0000000..4da5619 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js @@ -0,0 +1,21 @@ +import { parseUrl } from "@smithy/url-parser"; +export const resolveDefaultAwsRegionalEndpointsConfig = (input) => { + if (typeof input.endpointProvider !== "function") { + throw new Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client."); + } + const { endpoint } = input; + if (endpoint === undefined) { + input.endpoint = async () => { + return toEndpointV1(input.endpointProvider({ + Region: typeof input.region === "function" ? await input.region() : input.region, + UseDualStack: typeof input.useDualstackEndpoint === "function" + ? await input.useDualstackEndpoint() + : input.useDualstackEndpoint, + UseFIPS: typeof input.useFipsEndpoint === "function" ? await input.useFipsEndpoint() : input.useFipsEndpoint, + Endpoint: undefined, + }, { logger: input.logger })); + }; + } + return input; +}; +export const toEndpointV1 = (endpoint) => parseUrl(endpoint.url); diff --git a/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js b/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js new file mode 100644 index 0000000..e2453f7 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js @@ -0,0 +1 @@ +export { resolveEndpoint } from "@smithy/util-endpoints"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js b/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js new file mode 100644 index 0000000..521e688 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js @@ -0,0 +1 @@ +export { EndpointError } from "@smithy/util-endpoints"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js b/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js b/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js b/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js b/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js b/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js new file mode 100644 index 0000000..daba501 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js @@ -0,0 +1,6 @@ +export * from "./EndpointError"; +export * from "./EndpointRuleObject"; +export * from "./ErrorRuleObject"; +export * from "./RuleSetObject"; +export * from "./TreeRuleObject"; +export * from "./shared"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js b/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts new file mode 100644 index 0000000..0c34c99 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts @@ -0,0 +1,2 @@ +import type { EndpointFunctions } from "@smithy/util-endpoints"; +export declare const awsEndpointFunctions: EndpointFunctions; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts new file mode 100644 index 0000000..f41d9be --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts @@ -0,0 +1,6 @@ +export * from "./aws"; +export * from "./lib/aws/partition"; +export * from "./lib/isIpAddress"; +export * from "./resolveDefaultAwsRegionalEndpointsConfig"; +export * from "./resolveEndpoint"; +export * from "./types"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts new file mode 100644 index 0000000..03be049 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts @@ -0,0 +1,3 @@ +export * from "./isVirtualHostableS3Bucket"; +export * from "./parseArn"; +export * from "./partition"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts new file mode 100644 index 0000000..25d46e4 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts @@ -0,0 +1,5 @@ +/** + * Evaluates whether a string is a DNS compatible bucket name and can be used with + * virtual hosted style addressing. + */ +export declare const isVirtualHostableS3Bucket: (value: string, allowSubDomains?: boolean) => boolean; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts new file mode 100644 index 0000000..01b029d --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts @@ -0,0 +1,7 @@ +import type { EndpointARN } from "@smithy/types"; +/** + * Evaluates a single string argument value, and returns an object containing + * details about the parsed ARN. + * If the input was not a valid ARN, the function returns null. + */ +export declare const parseArn: (value: string) => EndpointARN | null; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts new file mode 100644 index 0000000..7a70ad5 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts @@ -0,0 +1,38 @@ +import type { EndpointPartition } from "@smithy/types"; +export type PartitionsInfo = { + partitions: Array<{ + id: string; + outputs: { + dnsSuffix: string; + dualStackDnsSuffix: string; + name: string; + supportsDualStack: boolean; + supportsFIPS: boolean; + }; + regionRegex: string; + regions: Record; + }>; +}; +/** + * Evaluates a single string argument value as a region, and matches the + * string value to an AWS partition. + * The matcher MUST always return a successful object describing the partition + * that the region has been determined to be a part of. + */ +export declare const partition: (value: string) => EndpointPartition; +/** + * Set custom partitions.json data. + * @internal + */ +export declare const setPartitionInfo: (partitionsInfo: PartitionsInfo, userAgentPrefix?: string) => void; +/** + * Reset to the default partitions.json data. + * @internal + */ +export declare const useDefaultPartitionInfo: () => void; +/** + * @internal + */ +export declare const getUserAgentPrefix: () => string; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts new file mode 100644 index 0000000..59bfcd8 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts @@ -0,0 +1 @@ +export { isIpAddress } from "@smithy/util-endpoints"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts new file mode 100644 index 0000000..dd6f12c --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts @@ -0,0 +1,56 @@ +import type { Endpoint, EndpointParameters, EndpointV2, Logger, Provider } from "@smithy/types"; +/** + * This is an additional config resolver layer for clients using the default + * AWS regional endpoints ruleset. It makes the *resolved* config guarantee the presence of an + * endpoint provider function. This differs from the base behavior of the Endpoint + * config resolver, which only normalizes config.endpoint IFF one is provided by the caller. + * + * This is not used by AWS SDK clients, but rather + * generated clients that have the aws.api#service trait. This includes protocol tests + * and other customers. + * + * This resolver is MUTUALLY EXCLUSIVE with the EndpointRequired config resolver from + * |@smithy/middleware-endpoint. + * + * It must be placed after the `resolveEndpointConfig` + * resolver. This replaces the endpoints.json-based default endpoint provider. + * + * @public + */ +export type DefaultAwsRegionalEndpointsInputConfig = { + endpoint?: unknown; +}; +type PreviouslyResolved = { + logger?: Logger; + region?: undefined | string | Provider; + useFipsEndpoint?: undefined | boolean | Provider; + useDualstackEndpoint?: undefined | boolean | Provider; + endpointProvider: (endpointParams: EndpointParameters | DefaultRegionalEndpointParameters, context?: { + logger?: Logger; + }) => EndpointV2; +}; +/** + * @internal + */ +type DefaultRegionalEndpointParameters = { + Region?: string | undefined; + UseDualStack?: boolean | undefined; + UseFIPS?: boolean | undefined; +}; +/** + * @internal + */ +export interface DefaultAwsRegionalEndpointsResolvedConfig { + endpoint: Provider; +} +/** + * MUST resolve after `\@smithy/middleware-endpoint`::`resolveEndpointConfig`. + * + * @internal + */ +export declare const resolveDefaultAwsRegionalEndpointsConfig: (input: T & DefaultAwsRegionalEndpointsInputConfig & PreviouslyResolved) => T & DefaultAwsRegionalEndpointsResolvedConfig; +/** + * @internal + */ +export declare const toEndpointV1: (endpoint: EndpointV2) => Endpoint; +export {}; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts new file mode 100644 index 0000000..e2453f7 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts @@ -0,0 +1 @@ +export { resolveEndpoint } from "@smithy/util-endpoints"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts new file mode 100644 index 0000000..13c64a9 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts @@ -0,0 +1,2 @@ +import { EndpointFunctions } from "@smithy/util-endpoints"; +export declare const awsEndpointFunctions: EndpointFunctions; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..f41d9be --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts @@ -0,0 +1,6 @@ +export * from "./aws"; +export * from "./lib/aws/partition"; +export * from "./lib/isIpAddress"; +export * from "./resolveDefaultAwsRegionalEndpointsConfig"; +export * from "./resolveEndpoint"; +export * from "./types"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts new file mode 100644 index 0000000..03be049 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts @@ -0,0 +1,3 @@ +export * from "./isVirtualHostableS3Bucket"; +export * from "./parseArn"; +export * from "./partition"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts new file mode 100644 index 0000000..5ef3296 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts @@ -0,0 +1,4 @@ +export declare const isVirtualHostableS3Bucket: ( + value: string, + allowSubDomains?: boolean +) => boolean; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts new file mode 100644 index 0000000..690d459 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts @@ -0,0 +1,2 @@ +import { EndpointARN } from "@smithy/types"; +export declare const parseArn: (value: string) => EndpointARN | null; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts new file mode 100644 index 0000000..0683113 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts @@ -0,0 +1,28 @@ +import { EndpointPartition } from "@smithy/types"; +export type PartitionsInfo = { + partitions: Array<{ + id: string; + outputs: { + dnsSuffix: string; + dualStackDnsSuffix: string; + name: string; + supportsDualStack: boolean; + supportsFIPS: boolean; + }; + regionRegex: string; + regions: Record< + string, + | { + description?: string; + } + | undefined + >; + }>; +}; +export declare const partition: (value: string) => EndpointPartition; +export declare const setPartitionInfo: ( + partitionsInfo: PartitionsInfo, + userAgentPrefix?: string +) => void; +export declare const useDefaultPartitionInfo: () => void; +export declare const getUserAgentPrefix: () => string; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts new file mode 100644 index 0000000..59bfcd8 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts @@ -0,0 +1 @@ +export { isIpAddress } from "@smithy/util-endpoints"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts new file mode 100644 index 0000000..3327ae9 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts @@ -0,0 +1,35 @@ +import { + Endpoint, + EndpointParameters, + EndpointV2, + Logger, + Provider, +} from "@smithy/types"; +export type DefaultAwsRegionalEndpointsInputConfig = { + endpoint?: unknown; +}; +type PreviouslyResolved = { + logger?: Logger; + region?: undefined | string | Provider; + useFipsEndpoint?: undefined | boolean | Provider; + useDualstackEndpoint?: undefined | boolean | Provider; + endpointProvider: ( + endpointParams: EndpointParameters | DefaultRegionalEndpointParameters, + context?: { + logger?: Logger; + } + ) => EndpointV2; +}; +type DefaultRegionalEndpointParameters = { + Region?: string | undefined; + UseDualStack?: boolean | undefined; + UseFIPS?: boolean | undefined; +}; +export interface DefaultAwsRegionalEndpointsResolvedConfig { + endpoint: Provider; +} +export declare const resolveDefaultAwsRegionalEndpointsConfig: ( + input: T & DefaultAwsRegionalEndpointsInputConfig & PreviouslyResolved +) => T & DefaultAwsRegionalEndpointsResolvedConfig; +export declare const toEndpointV1: (endpoint: EndpointV2) => Endpoint; +export {}; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts new file mode 100644 index 0000000..e2453f7 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts @@ -0,0 +1 @@ +export { resolveEndpoint } from "@smithy/util-endpoints"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts new file mode 100644 index 0000000..521e688 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts @@ -0,0 +1 @@ +export { EndpointError } from "@smithy/util-endpoints"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts new file mode 100644 index 0000000..b48af7f --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts @@ -0,0 +1,6 @@ +export { + EndpointObjectProperties, + EndpointObjectHeaders, + EndpointObject, + EndpointRuleObject, +} from "@smithy/util-endpoints"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts new file mode 100644 index 0000000..e7b8881 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts @@ -0,0 +1 @@ +export { ErrorRuleObject } from "@smithy/util-endpoints"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts new file mode 100644 index 0000000..2a489c6 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts @@ -0,0 +1,5 @@ +export { + DeprecatedObject, + ParameterObject, + RuleSetObject, +} from "@smithy/util-endpoints"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts new file mode 100644 index 0000000..716ddcf --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts @@ -0,0 +1 @@ +export { RuleSetRules, TreeRuleObject } from "@smithy/util-endpoints"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts new file mode 100644 index 0000000..daba501 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts @@ -0,0 +1,6 @@ +export * from "./EndpointError"; +export * from "./EndpointRuleObject"; +export * from "./ErrorRuleObject"; +export * from "./RuleSetObject"; +export * from "./TreeRuleObject"; +export * from "./shared"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts new file mode 100644 index 0000000..cfd2248 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts @@ -0,0 +1,12 @@ +export { + ReferenceObject, + FunctionObject, + FunctionArgv, + FunctionReturn, + ConditionObject, + Expression, + EndpointParams, + EndpointResolverOptions, + ReferenceRecord, + EvaluateOptions, +} from "@smithy/util-endpoints"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts new file mode 100644 index 0000000..521e688 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts @@ -0,0 +1 @@ +export { EndpointError } from "@smithy/util-endpoints"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts new file mode 100644 index 0000000..ef666fe --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts @@ -0,0 +1 @@ +export { EndpointObjectProperties, EndpointObjectHeaders, EndpointObject, EndpointRuleObject, } from "@smithy/util-endpoints"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts new file mode 100644 index 0000000..e7b8881 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts @@ -0,0 +1 @@ +export { ErrorRuleObject } from "@smithy/util-endpoints"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts new file mode 100644 index 0000000..c052af0 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts @@ -0,0 +1 @@ +export { DeprecatedObject, ParameterObject, RuleSetObject } from "@smithy/util-endpoints"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts new file mode 100644 index 0000000..716ddcf --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts @@ -0,0 +1 @@ +export { RuleSetRules, TreeRuleObject } from "@smithy/util-endpoints"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts new file mode 100644 index 0000000..daba501 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts @@ -0,0 +1,6 @@ +export * from "./EndpointError"; +export * from "./EndpointRuleObject"; +export * from "./ErrorRuleObject"; +export * from "./RuleSetObject"; +export * from "./TreeRuleObject"; +export * from "./shared"; diff --git a/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts b/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts new file mode 100644 index 0000000..af7cc53 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts @@ -0,0 +1 @@ +export { ReferenceObject, FunctionObject, FunctionArgv, FunctionReturn, ConditionObject, Expression, EndpointParams, EndpointResolverOptions, ReferenceRecord, EvaluateOptions, } from "@smithy/util-endpoints"; diff --git a/node_modules/@aws-sdk/util-endpoints/package.json b/node_modules/@aws-sdk/util-endpoints/package.json new file mode 100644 index 0000000..f58b991 --- /dev/null +++ b/node_modules/@aws-sdk/util-endpoints/package.json @@ -0,0 +1,60 @@ +{ + "name": "@aws-sdk/util-endpoints", + "version": "3.996.5", + "description": "Utilities to help with endpoint resolution", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline util-endpoints", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:watch": "yarn g:vitest watch", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "sideEffects": true, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/types": "^4.13.1", + "@smithy/url-parser": "^4.2.12", + "@smithy/util-endpoints": "^3.3.3", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/util-endpoints", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages/util-endpoints" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + } +} diff --git a/node_modules/@aws-sdk/util-format-url/LICENSE b/node_modules/@aws-sdk/util-format-url/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-sdk/util-format-url/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-sdk/util-format-url/README.md b/node_modules/@aws-sdk/util-format-url/README.md new file mode 100644 index 0000000..f83f144 --- /dev/null +++ b/node_modules/@aws-sdk/util-format-url/README.md @@ -0,0 +1,4 @@ +# @aws-sdk/util-format-url + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/util-format-url/latest.svg)](https://www.npmjs.com/package/@aws-sdk/util-format-url) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/util-format-url.svg)](https://www.npmjs.com/package/@aws-sdk/util-format-url) diff --git a/node_modules/@aws-sdk/util-format-url/dist-cjs/index.js b/node_modules/@aws-sdk/util-format-url/dist-cjs/index.js new file mode 100644 index 0000000..de16777 --- /dev/null +++ b/node_modules/@aws-sdk/util-format-url/dist-cjs/index.js @@ -0,0 +1,34 @@ +'use strict'; + +var querystringBuilder = require('@smithy/querystring-builder'); + +function formatUrl(request) { + const { port, query } = request; + let { protocol, path, hostname } = request; + if (protocol && protocol.slice(-1) !== ":") { + protocol += ":"; + } + if (port) { + hostname += `:${port}`; + } + if (path && path.charAt(0) !== "/") { + path = `/${path}`; + } + let queryString = query ? querystringBuilder.buildQueryString(query) : ""; + if (queryString && queryString[0] !== "?") { + queryString = `?${queryString}`; + } + let auth = ""; + if (request.username != null || request.password != null) { + const username = request.username ?? ""; + const password = request.password ?? ""; + auth = `${username}:${password}@`; + } + let fragment = ""; + if (request.fragment) { + fragment = `#${request.fragment}`; + } + return `${protocol}//${auth}${hostname}${path}${queryString}${fragment}`; +} + +exports.formatUrl = formatUrl; diff --git a/node_modules/@aws-sdk/util-format-url/dist-es/index.js b/node_modules/@aws-sdk/util-format-url/dist-es/index.js new file mode 100644 index 0000000..e540cd4 --- /dev/null +++ b/node_modules/@aws-sdk/util-format-url/dist-es/index.js @@ -0,0 +1,29 @@ +import { buildQueryString } from "@smithy/querystring-builder"; +export function formatUrl(request) { + const { port, query } = request; + let { protocol, path, hostname } = request; + if (protocol && protocol.slice(-1) !== ":") { + protocol += ":"; + } + if (port) { + hostname += `:${port}`; + } + if (path && path.charAt(0) !== "/") { + path = `/${path}`; + } + let queryString = query ? buildQueryString(query) : ""; + if (queryString && queryString[0] !== "?") { + queryString = `?${queryString}`; + } + let auth = ""; + if (request.username != null || request.password != null) { + const username = request.username ?? ""; + const password = request.password ?? ""; + auth = `${username}:${password}@`; + } + let fragment = ""; + if (request.fragment) { + fragment = `#${request.fragment}`; + } + return `${protocol}//${auth}${hostname}${path}${queryString}${fragment}`; +} diff --git a/node_modules/@aws-sdk/util-format-url/dist-types/index.d.ts b/node_modules/@aws-sdk/util-format-url/dist-types/index.d.ts new file mode 100644 index 0000000..037b567 --- /dev/null +++ b/node_modules/@aws-sdk/util-format-url/dist-types/index.d.ts @@ -0,0 +1,2 @@ +import type { HttpRequest } from "@smithy/types"; +export declare function formatUrl(request: Omit): string; diff --git a/node_modules/@aws-sdk/util-format-url/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/util-format-url/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..b09d464 --- /dev/null +++ b/node_modules/@aws-sdk/util-format-url/dist-types/ts3.4/index.d.ts @@ -0,0 +1,4 @@ +import { HttpRequest } from "@smithy/types"; +export declare function formatUrl( + request: Pick> +): string; diff --git a/node_modules/@aws-sdk/util-format-url/package.json b/node_modules/@aws-sdk/util-format-url/package.json new file mode 100644 index 0000000..25886c8 --- /dev/null +++ b/node_modules/@aws-sdk/util-format-url/package.json @@ -0,0 +1,56 @@ +{ + "name": "@aws-sdk/util-format-url", + "version": "3.972.8", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline util-format-url", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/querystring-builder": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/util-format-url", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/util-format-url" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + } +} diff --git a/node_modules/@aws-sdk/util-locate-window/LICENSE b/node_modules/@aws-sdk/util-locate-window/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-sdk/util-locate-window/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-sdk/util-locate-window/README.md b/node_modules/@aws-sdk/util-locate-window/README.md new file mode 100644 index 0000000..cac53d3 --- /dev/null +++ b/node_modules/@aws-sdk/util-locate-window/README.md @@ -0,0 +1,4 @@ +# @aws-sdk/util-locate-window + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/util-locate-window/latest.svg)](https://www.npmjs.com/package/@aws-sdk/util-locate-window) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/util-locate-window.svg)](https://www.npmjs.com/package/@aws-sdk/util-locate-window) diff --git a/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js b/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js new file mode 100644 index 0000000..1daadf8 --- /dev/null +++ b/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js @@ -0,0 +1,14 @@ +'use strict'; + +const fallbackWindow = {}; +function locateWindow() { + if (typeof window !== "undefined") { + return window; + } + else if (typeof self !== "undefined") { + return self; + } + return fallbackWindow; +} + +exports.locateWindow = locateWindow; diff --git a/node_modules/@aws-sdk/util-locate-window/dist-es/index.js b/node_modules/@aws-sdk/util-locate-window/dist-es/index.js new file mode 100644 index 0000000..a51e644 --- /dev/null +++ b/node_modules/@aws-sdk/util-locate-window/dist-es/index.js @@ -0,0 +1,10 @@ +const fallbackWindow = {}; +export function locateWindow() { + if (typeof window !== "undefined") { + return window; + } + else if (typeof self !== "undefined") { + return self; + } + return fallbackWindow; +} diff --git a/node_modules/@aws-sdk/util-locate-window/dist-types/index.d.ts b/node_modules/@aws-sdk/util-locate-window/dist-types/index.d.ts new file mode 100644 index 0000000..2b02d7f --- /dev/null +++ b/node_modules/@aws-sdk/util-locate-window/dist-types/index.d.ts @@ -0,0 +1,6 @@ +/** + * Locates the global scope for a browser or browser-like environment. If + * neither `window` nor `self` is defined by the environment, the same object + * will be returned on each invocation. + */ +export declare function locateWindow(): Window; diff --git a/node_modules/@aws-sdk/util-locate-window/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/util-locate-window/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..a5bbba3 --- /dev/null +++ b/node_modules/@aws-sdk/util-locate-window/dist-types/ts3.4/index.d.ts @@ -0,0 +1 @@ +export declare function locateWindow(): Window; diff --git a/node_modules/@aws-sdk/util-locate-window/package.json b/node_modules/@aws-sdk/util-locate-window/package.json new file mode 100644 index 0000000..f5c9265 --- /dev/null +++ b/node_modules/@aws-sdk/util-locate-window/package.json @@ -0,0 +1,54 @@ +{ + "name": "@aws-sdk/util-locate-window", + "version": "3.965.5", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline util-locate-window", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "@types/node": "^20.14.8", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/util-locate-window", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/util-locate-window" + } +} diff --git a/node_modules/@aws-sdk/util-user-agent-browser/LICENSE b/node_modules/@aws-sdk/util-user-agent-browser/LICENSE new file mode 100644 index 0000000..dd65ae0 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-browser/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@aws-sdk/util-user-agent-browser/README.md b/node_modules/@aws-sdk/util-user-agent-browser/README.md new file mode 100644 index 0000000..70eb6b3 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-browser/README.md @@ -0,0 +1,29 @@ +# @aws-sdk/util-user-agent-browser + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/util-user-agent-browser/latest.svg)](https://www.npmjs.com/package/@aws-sdk/util-user-agent-browser) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/util-user-agent-browser.svg)](https://www.npmjs.com/package/@aws-sdk/util-user-agent-browser) + +## Usage + +In previous versions of the AWS SDK for JavaScript v3, the AWS SDK user agent header was provided by parsing the navigator user agent string with the `bowser` library. + +This was later changed to browser feature detection using the native Navigator APIs, but if you would like to have the previous functionality, use the following code: + +```js +import { createUserAgentStringParsingProvider } from "@aws-sdk/util-user-agent-browser"; + +import { S3Client } from "@aws-sdk/client-s3"; +import pkgInfo from "@aws-sdk/client-s3/package.json"; +// or any other client. + +const client = new S3Client({ + defaultUserAgentProvider: createUserAgentStringParsingProvider({ + // For a client's serviceId, check the corresponding shared runtimeConfig file + // https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-s3/src/runtimeConfig.shared.ts + serviceId: "S3", + clientVersion: pkgInfo.version, + }), +}); +``` + +This usage is not recommended, due to the size of the additional parsing library. diff --git a/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/configurations.js b/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/configurations.js new file mode 100644 index 0000000..c8ad2e5 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/configurations.js @@ -0,0 +1,2 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js b/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js new file mode 100644 index 0000000..5e7ea31 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.createUserAgentStringParsingProvider = void 0; +const createUserAgentStringParsingProvider = ({ serviceId, clientVersion }) => async (config) => { + const module = await Promise.resolve().then(() => __importStar(require("bowser"))); + const parse = module.parse ?? module.default.parse ?? (() => ""); + const parsedUA = typeof window !== "undefined" && window?.navigator?.userAgent ? parse(window.navigator.userAgent) : undefined; + const sections = [ + ["aws-sdk-js", clientVersion], + ["ua", "2.1"], + [`os/${parsedUA?.os?.name || "other"}`, parsedUA?.os?.version], + ["lang/js"], + ["md/browser", `${parsedUA?.browser?.name ?? "unknown"}_${parsedUA?.browser?.version ?? "unknown"}`], + ]; + if (serviceId) { + sections.push([`api/${serviceId}`, clientVersion]); + } + const appId = await config?.userAgentAppId?.(); + if (appId) { + sections.push([`app/${appId}`]); + } + return sections; +}; +exports.createUserAgentStringParsingProvider = createUserAgentStringParsingProvider; diff --git a/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js b/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js new file mode 100644 index 0000000..4ab90e8 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js @@ -0,0 +1,58 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.defaultUserAgent = exports.fallback = exports.createDefaultUserAgentProvider = exports.createUserAgentStringParsingProvider = void 0; +var createUserAgentStringParsingProvider_1 = require("./createUserAgentStringParsingProvider"); +Object.defineProperty(exports, "createUserAgentStringParsingProvider", { enumerable: true, get: function () { return createUserAgentStringParsingProvider_1.createUserAgentStringParsingProvider; } }); +const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => async (config) => { + const navigator = typeof window !== "undefined" ? window.navigator : undefined; + const uaString = navigator?.userAgent ?? ""; + const osName = navigator?.userAgentData?.platform ?? exports.fallback.os(uaString) ?? "other"; + const osVersion = undefined; + const brands = navigator?.userAgentData?.brands ?? []; + const brand = brands[brands.length - 1]; + const browserName = brand?.brand ?? exports.fallback.browser(uaString) ?? "unknown"; + const browserVersion = brand?.version ?? "unknown"; + const sections = [ + ["aws-sdk-js", clientVersion], + ["ua", "2.1"], + [`os/${osName}`, osVersion], + ["lang/js"], + ["md/browser", `${browserName}_${browserVersion}`], + ]; + if (serviceId) { + sections.push([`api/${serviceId}`, clientVersion]); + } + const appId = await config?.userAgentAppId?.(); + if (appId) { + sections.push([`app/${appId}`]); + } + return sections; +}; +exports.createDefaultUserAgentProvider = createDefaultUserAgentProvider; +exports.fallback = { + os(ua) { + if (/iPhone|iPad|iPod/.test(ua)) + return "iOS"; + if (/Macintosh|Mac OS X/.test(ua)) + return "macOS"; + if (/Windows NT/.test(ua)) + return "Windows"; + if (/Android/.test(ua)) + return "Android"; + if (/Linux/.test(ua)) + return "Linux"; + return undefined; + }, + browser(ua) { + if (/EdgiOS|EdgA|Edg\//.test(ua)) + return "Microsoft Edge"; + if (/Firefox\//.test(ua)) + return "Firefox"; + if (/Chrome\//.test(ua)) + return "Chrome"; + if (/Safari\//.test(ua)) + return "Safari"; + return undefined; + }, +}; +exports.defaultUserAgent = exports.createDefaultUserAgentProvider; diff --git a/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js b/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js new file mode 100644 index 0000000..4d06e36 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js @@ -0,0 +1,22 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.defaultUserAgent = exports.createDefaultUserAgentProvider = void 0; +const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => async (config) => { + const sections = [ + ["aws-sdk-js", clientVersion], + ["ua", "2.1"], + ["os/other"], + ["lang/js"], + ["md/rn"], + ]; + if (serviceId) { + sections.push([`api/${serviceId}`, clientVersion]); + } + const appId = await config?.userAgentAppId?.(); + if (appId) { + sections.push([`app/${appId}`]); + } + return sections; +}; +exports.createDefaultUserAgentProvider = createDefaultUserAgentProvider; +exports.defaultUserAgent = exports.createDefaultUserAgentProvider; diff --git a/node_modules/@aws-sdk/util-user-agent-browser/dist-es/configurations.js b/node_modules/@aws-sdk/util-user-agent-browser/dist-es/configurations.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-browser/dist-es/configurations.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/util-user-agent-browser/dist-es/createUserAgentStringParsingProvider.js b/node_modules/@aws-sdk/util-user-agent-browser/dist-es/createUserAgentStringParsingProvider.js new file mode 100644 index 0000000..a87ea5d --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-browser/dist-es/createUserAgentStringParsingProvider.js @@ -0,0 +1,20 @@ +export const createUserAgentStringParsingProvider = ({ serviceId, clientVersion }) => async (config) => { + const module = await import("bowser"); + const parse = module.parse ?? module.default.parse ?? (() => ""); + const parsedUA = typeof window !== "undefined" && window?.navigator?.userAgent ? parse(window.navigator.userAgent) : undefined; + const sections = [ + ["aws-sdk-js", clientVersion], + ["ua", "2.1"], + [`os/${parsedUA?.os?.name || "other"}`, parsedUA?.os?.version], + ["lang/js"], + ["md/browser", `${parsedUA?.browser?.name ?? "unknown"}_${parsedUA?.browser?.version ?? "unknown"}`], + ]; + if (serviceId) { + sections.push([`api/${serviceId}`, clientVersion]); + } + const appId = await config?.userAgentAppId?.(); + if (appId) { + sections.push([`app/${appId}`]); + } + return sections; +}; diff --git a/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js b/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js new file mode 100644 index 0000000..80762a0 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js @@ -0,0 +1,53 @@ +export { createUserAgentStringParsingProvider } from "./createUserAgentStringParsingProvider"; +export const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => async (config) => { + const navigator = typeof window !== "undefined" ? window.navigator : undefined; + const uaString = navigator?.userAgent ?? ""; + const osName = navigator?.userAgentData?.platform ?? fallback.os(uaString) ?? "other"; + const osVersion = undefined; + const brands = navigator?.userAgentData?.brands ?? []; + const brand = brands[brands.length - 1]; + const browserName = brand?.brand ?? fallback.browser(uaString) ?? "unknown"; + const browserVersion = brand?.version ?? "unknown"; + const sections = [ + ["aws-sdk-js", clientVersion], + ["ua", "2.1"], + [`os/${osName}`, osVersion], + ["lang/js"], + ["md/browser", `${browserName}_${browserVersion}`], + ]; + if (serviceId) { + sections.push([`api/${serviceId}`, clientVersion]); + } + const appId = await config?.userAgentAppId?.(); + if (appId) { + sections.push([`app/${appId}`]); + } + return sections; +}; +export const fallback = { + os(ua) { + if (/iPhone|iPad|iPod/.test(ua)) + return "iOS"; + if (/Macintosh|Mac OS X/.test(ua)) + return "macOS"; + if (/Windows NT/.test(ua)) + return "Windows"; + if (/Android/.test(ua)) + return "Android"; + if (/Linux/.test(ua)) + return "Linux"; + return undefined; + }, + browser(ua) { + if (/EdgiOS|EdgA|Edg\//.test(ua)) + return "Microsoft Edge"; + if (/Firefox\//.test(ua)) + return "Firefox"; + if (/Chrome\//.test(ua)) + return "Chrome"; + if (/Safari\//.test(ua)) + return "Safari"; + return undefined; + }, +}; +export const defaultUserAgent = createDefaultUserAgentProvider; diff --git a/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.native.js b/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.native.js new file mode 100644 index 0000000..04c7ae5 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.native.js @@ -0,0 +1,18 @@ +export const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => async (config) => { + const sections = [ + ["aws-sdk-js", clientVersion], + ["ua", "2.1"], + ["os/other"], + ["lang/js"], + ["md/rn"], + ]; + if (serviceId) { + sections.push([`api/${serviceId}`, clientVersion]); + } + const appId = await config?.userAgentAppId?.(); + if (appId) { + sections.push([`app/${appId}`]); + } + return sections; +}; +export const defaultUserAgent = createDefaultUserAgentProvider; diff --git a/node_modules/@aws-sdk/util-user-agent-browser/dist-types/configurations.d.ts b/node_modules/@aws-sdk/util-user-agent-browser/dist-types/configurations.d.ts new file mode 100644 index 0000000..00537a9 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-browser/dist-types/configurations.d.ts @@ -0,0 +1,7 @@ +/** + * @internal + */ +export interface DefaultUserAgentOptions { + serviceId?: string; + clientVersion: string; +} diff --git a/node_modules/@aws-sdk/util-user-agent-browser/dist-types/createUserAgentStringParsingProvider.d.ts b/node_modules/@aws-sdk/util-user-agent-browser/dist-types/createUserAgentStringParsingProvider.d.ts new file mode 100644 index 0000000..0897b0d --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-browser/dist-types/createUserAgentStringParsingProvider.d.ts @@ -0,0 +1,14 @@ +import type { UserAgent } from "@smithy/types"; +import type { DefaultUserAgentOptions } from "./configurations"; +import type { PreviouslyResolved } from "./index"; +/** + * This is an alternative to the default user agent provider that uses the bowser + * library to parse the user agent string. + * + * Use this with your client's `defaultUserAgentProvider` constructor object field + * to use the legacy behavior. + * + * @deprecated use the default provider unless you need the older UA-parsing functionality. + * @public + */ +export declare const createUserAgentStringParsingProvider: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => ((config?: PreviouslyResolved) => Promise); diff --git a/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts b/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts new file mode 100644 index 0000000..35d2f72 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts @@ -0,0 +1,27 @@ +import type { Provider, UserAgent } from "@smithy/types"; +import type { DefaultUserAgentOptions } from "./configurations"; +export { createUserAgentStringParsingProvider } from "./createUserAgentStringParsingProvider"; +/** + * @internal + */ +export interface PreviouslyResolved { + userAgentAppId: Provider; +} +/** + * Default provider of the AWS SDK user agent string in react-native. + * @internal + */ +export declare const createDefaultUserAgentProvider: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => ((config?: PreviouslyResolved) => Promise); +/** + * Rudimentary UA string parsing as a fallback. + * @internal + */ +export declare const fallback: { + os(ua: string): string | undefined; + browser(ua: string): string | undefined; +}; +/** + * @internal + * @deprecated use createDefaultUserAgentProvider + */ +export declare const defaultUserAgent: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => ((config?: PreviouslyResolved) => Promise); diff --git a/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts b/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts new file mode 100644 index 0000000..02134b1 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts @@ -0,0 +1,18 @@ +import type { Provider, UserAgent } from "@smithy/types"; +import type { DefaultUserAgentOptions } from "./configurations"; +/** + * @internal + */ +export interface PreviouslyResolved { + userAgentAppId: Provider; +} +/** + * Default provider to the user agent in ReactNative. + * @internal + */ +export declare const createDefaultUserAgentProvider: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => ((config?: PreviouslyResolved) => Promise); +/** + * @internal + * @deprecated use createDefaultUserAgentProvider + */ +export declare const defaultUserAgent: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => ((config?: PreviouslyResolved) => Promise); diff --git a/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/configurations.d.ts b/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/configurations.d.ts new file mode 100644 index 0000000..1428231 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/configurations.d.ts @@ -0,0 +1,4 @@ +export interface DefaultUserAgentOptions { + serviceId?: string; + clientVersion: string; +} diff --git a/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/createUserAgentStringParsingProvider.d.ts b/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/createUserAgentStringParsingProvider.d.ts new file mode 100644 index 0000000..a564918 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/createUserAgentStringParsingProvider.d.ts @@ -0,0 +1,9 @@ +import { UserAgent } from "@smithy/types"; +import { DefaultUserAgentOptions } from "./configurations"; +import { PreviouslyResolved } from "./index"; +export declare const createUserAgentStringParsingProvider: ({ + serviceId, + clientVersion, +}: DefaultUserAgentOptions) => ( + config?: PreviouslyResolved +) => Promise; diff --git a/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..adca294 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts @@ -0,0 +1,22 @@ +import { Provider, UserAgent } from "@smithy/types"; +import { DefaultUserAgentOptions } from "./configurations"; +export { createUserAgentStringParsingProvider } from "./createUserAgentStringParsingProvider"; +export interface PreviouslyResolved { + userAgentAppId: Provider; +} +export declare const createDefaultUserAgentProvider: ({ + serviceId, + clientVersion, +}: DefaultUserAgentOptions) => ( + config?: PreviouslyResolved +) => Promise; +export declare const fallback: { + os(ua: string): string | undefined; + browser(ua: string): string | undefined; +}; +export declare const defaultUserAgent: ({ + serviceId, + clientVersion, +}: DefaultUserAgentOptions) => ( + config?: PreviouslyResolved +) => Promise; diff --git a/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.native.d.ts b/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.native.d.ts new file mode 100644 index 0000000..32e643a --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.native.d.ts @@ -0,0 +1,17 @@ +import { Provider, UserAgent } from "@smithy/types"; +import { DefaultUserAgentOptions } from "./configurations"; +export interface PreviouslyResolved { + userAgentAppId: Provider; +} +export declare const createDefaultUserAgentProvider: ({ + serviceId, + clientVersion, +}: DefaultUserAgentOptions) => ( + config?: PreviouslyResolved +) => Promise; +export declare const defaultUserAgent: ({ + serviceId, + clientVersion, +}: DefaultUserAgentOptions) => ( + config?: PreviouslyResolved +) => Promise; diff --git a/node_modules/@aws-sdk/util-user-agent-browser/package.json b/node_modules/@aws-sdk/util-user-agent-browser/package.json new file mode 100644 index 0000000..8d76eed --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-browser/package.json @@ -0,0 +1,55 @@ +{ + "name": "@aws-sdk/util-user-agent-browser", + "version": "3.972.8", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline util-user-agent-browser", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "browser": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "react-native": "dist-es/index.native.js", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/types": "^4.13.1", + "bowser": "^2.11.0", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/util-user-agent-browser", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/util-user-agent-browser" + } +} diff --git a/node_modules/@aws-sdk/util-user-agent-node/LICENSE b/node_modules/@aws-sdk/util-user-agent-node/LICENSE new file mode 100644 index 0000000..dd65ae0 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@aws-sdk/util-user-agent-node/README.md b/node_modules/@aws-sdk/util-user-agent-node/README.md new file mode 100644 index 0000000..9ab496c --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/README.md @@ -0,0 +1,17 @@ +# @aws-sdk/util-user-agent-node + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/util-user-agent-node/latest.svg)](https://www.npmjs.com/package/@aws-sdk/util-user-agent-node) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/util-user-agent-node.svg)](https://www.npmjs.com/package/@aws-sdk/util-user-agent-node) + +### :warning: Internal API :warning: + +> This is an internal package. +> That means this is used as a dependency for other, public packages, but +> should not be taken directly as a dependency in your application's `package.json`. + +> If you are updating the version of this package, for example to bring in a +> bug-fix, you should do so by updating your application lockfile with +> e.g. `npm up @scope/package` or equivalent command in another +> package manager, rather than taking a direct dependency. + +--- diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js b/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js new file mode 100644 index 0000000..df3a959 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js @@ -0,0 +1,185 @@ +'use strict'; + +var node_os = require('node:os'); +var node_process = require('node:process'); +var utilConfigProvider = require('@smithy/util-config-provider'); +var promises = require('node:fs/promises'); +var node_path = require('node:path'); +var middlewareUserAgent = require('@aws-sdk/middleware-user-agent'); + +const getRuntimeUserAgentPair = () => { + const runtimesToCheck = ["deno", "bun", "llrt"]; + for (const runtime of runtimesToCheck) { + if (node_process.versions[runtime]) { + return [`md/${runtime}`, node_process.versions[runtime]]; + } + } + return ["md/nodejs", node_process.versions.node]; +}; + +const getNodeModulesParentDirs = (dirname) => { + const cwd = process.cwd(); + if (!dirname) { + return [cwd]; + } + const normalizedPath = node_path.normalize(dirname); + const parts = normalizedPath.split(node_path.sep); + const nodeModulesIndex = parts.indexOf("node_modules"); + const parentDir = nodeModulesIndex !== -1 ? parts.slice(0, nodeModulesIndex).join(node_path.sep) : normalizedPath; + if (cwd === parentDir) { + return [cwd]; + } + return [parentDir, cwd]; +}; + +const SEMVER_REGEX = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/; +const getSanitizedTypeScriptVersion = (version = "") => { + const match = version.match(SEMVER_REGEX); + if (!match) { + return undefined; + } + const [major, minor, patch, prerelease] = [match[1], match[2], match[3], match[4]]; + return prerelease ? `${major}.${minor}.${patch}-${prerelease}` : `${major}.${minor}.${patch}`; +}; + +const ALLOWED_PREFIXES = ["^", "~", ">=", "<=", ">", "<"]; +const ALLOWED_DIST_TAGS = ["latest", "beta", "dev", "rc", "insiders", "next"]; +const getSanitizedDevTypeScriptVersion = (version = "") => { + if (ALLOWED_DIST_TAGS.includes(version)) { + return version; + } + const prefix = ALLOWED_PREFIXES.find((p) => version.startsWith(p)) ?? ""; + const sanitizedTypeScriptVersion = getSanitizedTypeScriptVersion(version.slice(prefix.length)); + if (!sanitizedTypeScriptVersion) { + return undefined; + } + return `${prefix}${sanitizedTypeScriptVersion}`; +}; + +let tscVersion; +const TS_PACKAGE_JSON = node_path.join("node_modules", "typescript", "package.json"); +const getTypeScriptUserAgentPair = async () => { + if (tscVersion === null) { + return undefined; + } + else if (typeof tscVersion === "string") { + return ["md/tsc", tscVersion]; + } + let isTypeScriptDetectionDisabled = false; + try { + isTypeScriptDetectionDisabled = + utilConfigProvider.booleanSelector(process.env, "AWS_SDK_JS_TYPESCRIPT_DETECTION_DISABLED", utilConfigProvider.SelectorType.ENV) || false; + } + catch { } + if (isTypeScriptDetectionDisabled) { + tscVersion = null; + return undefined; + } + const dirname = typeof __dirname !== "undefined" ? __dirname : undefined; + const nodeModulesParentDirs = getNodeModulesParentDirs(dirname); + let versionFromApp; + for (const nodeModulesParentDir of nodeModulesParentDirs) { + try { + const appPackageJsonPath = node_path.join(nodeModulesParentDir, "package.json"); + const packageJson = await promises.readFile(appPackageJsonPath, "utf-8"); + const { dependencies, devDependencies } = JSON.parse(packageJson); + const version = devDependencies?.typescript ?? dependencies?.typescript; + if (typeof version !== "string") { + continue; + } + versionFromApp = version; + break; + } + catch { + } + } + if (!versionFromApp) { + tscVersion = null; + return undefined; + } + let versionFromNodeModules; + for (const nodeModulesParentDir of nodeModulesParentDirs) { + try { + const tsPackageJsonPath = node_path.join(nodeModulesParentDir, TS_PACKAGE_JSON); + const packageJson = await promises.readFile(tsPackageJsonPath, "utf-8"); + const { version } = JSON.parse(packageJson); + const sanitizedVersion = getSanitizedTypeScriptVersion(version); + if (typeof sanitizedVersion !== "string") { + continue; + } + versionFromNodeModules = sanitizedVersion; + break; + } + catch { + } + } + if (versionFromNodeModules) { + tscVersion = versionFromNodeModules; + return ["md/tsc", tscVersion]; + } + const sanitizedVersion = getSanitizedDevTypeScriptVersion(versionFromApp); + if (typeof sanitizedVersion !== "string") { + tscVersion = null; + return undefined; + } + tscVersion = `dev_${sanitizedVersion}`; + return ["md/tsc", tscVersion]; +}; + +const crtAvailability = { + isCrtAvailable: false, +}; + +const isCrtAvailable = () => { + if (crtAvailability.isCrtAvailable) { + return ["md/crt-avail"]; + } + return null; +}; + +const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => { + const runtimeUserAgentPair = getRuntimeUserAgentPair(); + return async (config) => { + const sections = [ + ["aws-sdk-js", clientVersion], + ["ua", "2.1"], + [`os/${node_os.platform()}`, node_os.release()], + ["lang/js"], + runtimeUserAgentPair, + ]; + const typescriptUserAgentPair = await getTypeScriptUserAgentPair(); + if (typescriptUserAgentPair) { + sections.push(typescriptUserAgentPair); + } + const crtAvailable = isCrtAvailable(); + if (crtAvailable) { + sections.push(crtAvailable); + } + if (serviceId) { + sections.push([`api/${serviceId}`, clientVersion]); + } + if (node_process.env.AWS_EXECUTION_ENV) { + sections.push([`exec-env/${node_process.env.AWS_EXECUTION_ENV}`]); + } + const appId = await config?.userAgentAppId?.(); + const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections]; + return resolvedUserAgent; + }; +}; +const defaultUserAgent = createDefaultUserAgentProvider; + +const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID"; +const UA_APP_ID_INI_NAME = "sdk_ua_app_id"; +const UA_APP_ID_INI_NAME_DEPRECATED = "sdk-ua-app-id"; +const NODE_APP_ID_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[UA_APP_ID_ENV_NAME], + configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED], + default: middlewareUserAgent.DEFAULT_UA_APP_ID, +}; + +exports.NODE_APP_ID_CONFIG_OPTIONS = NODE_APP_ID_CONFIG_OPTIONS; +exports.UA_APP_ID_ENV_NAME = UA_APP_ID_ENV_NAME; +exports.UA_APP_ID_INI_NAME = UA_APP_ID_INI_NAME; +exports.createDefaultUserAgentProvider = createDefaultUserAgentProvider; +exports.crtAvailability = crtAvailability; +exports.defaultUserAgent = defaultUserAgent; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-es/crt-availability.js b/node_modules/@aws-sdk/util-user-agent-node/dist-es/crt-availability.js new file mode 100644 index 0000000..99ebeb9 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-es/crt-availability.js @@ -0,0 +1,3 @@ +export const crtAvailability = { + isCrtAvailable: false, +}; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js b/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js new file mode 100644 index 0000000..2b7eb5f --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js @@ -0,0 +1,36 @@ +import { platform, release } from "node:os"; +import { env } from "node:process"; +import { getRuntimeUserAgentPair } from "./getRuntimeUserAgentPair"; +import { getTypeScriptUserAgentPair } from "./getTypeScriptUserAgentPair"; +import { isCrtAvailable } from "./is-crt-available"; +export { crtAvailability } from "./crt-availability"; +export const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => { + const runtimeUserAgentPair = getRuntimeUserAgentPair(); + return async (config) => { + const sections = [ + ["aws-sdk-js", clientVersion], + ["ua", "2.1"], + [`os/${platform()}`, release()], + ["lang/js"], + runtimeUserAgentPair, + ]; + const typescriptUserAgentPair = await getTypeScriptUserAgentPair(); + if (typescriptUserAgentPair) { + sections.push(typescriptUserAgentPair); + } + const crtAvailable = isCrtAvailable(); + if (crtAvailable) { + sections.push(crtAvailable); + } + if (serviceId) { + sections.push([`api/${serviceId}`, clientVersion]); + } + if (env.AWS_EXECUTION_ENV) { + sections.push([`exec-env/${env.AWS_EXECUTION_ENV}`]); + } + const appId = await config?.userAgentAppId?.(); + const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections]; + return resolvedUserAgent; + }; +}; +export const defaultUserAgent = createDefaultUserAgentProvider; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-es/getNodeModulesParentDirs.js b/node_modules/@aws-sdk/util-user-agent-node/dist-es/getNodeModulesParentDirs.js new file mode 100644 index 0000000..eca7e63 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-es/getNodeModulesParentDirs.js @@ -0,0 +1,15 @@ +import { normalize, sep } from "node:path"; +export const getNodeModulesParentDirs = (dirname) => { + const cwd = process.cwd(); + if (!dirname) { + return [cwd]; + } + const normalizedPath = normalize(dirname); + const parts = normalizedPath.split(sep); + const nodeModulesIndex = parts.indexOf("node_modules"); + const parentDir = nodeModulesIndex !== -1 ? parts.slice(0, nodeModulesIndex).join(sep) : normalizedPath; + if (cwd === parentDir) { + return [cwd]; + } + return [parentDir, cwd]; +}; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-es/getRuntimeUserAgentPair.js b/node_modules/@aws-sdk/util-user-agent-node/dist-es/getRuntimeUserAgentPair.js new file mode 100644 index 0000000..3d96cd9 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-es/getRuntimeUserAgentPair.js @@ -0,0 +1,10 @@ +import { versions } from "node:process"; +export const getRuntimeUserAgentPair = () => { + const runtimesToCheck = ["deno", "bun", "llrt"]; + for (const runtime of runtimesToCheck) { + if (versions[runtime]) { + return [`md/${runtime}`, versions[runtime]]; + } + } + return ["md/nodejs", versions.node]; +}; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedDevTypeScriptVersion.js b/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedDevTypeScriptVersion.js new file mode 100644 index 0000000..9ca3f3a --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedDevTypeScriptVersion.js @@ -0,0 +1,14 @@ +import { getSanitizedTypeScriptVersion } from "./getSanitizedTypeScriptVersion"; +const ALLOWED_PREFIXES = ["^", "~", ">=", "<=", ">", "<"]; +const ALLOWED_DIST_TAGS = ["latest", "beta", "dev", "rc", "insiders", "next"]; +export const getSanitizedDevTypeScriptVersion = (version = "") => { + if (ALLOWED_DIST_TAGS.includes(version)) { + return version; + } + const prefix = ALLOWED_PREFIXES.find((p) => version.startsWith(p)) ?? ""; + const sanitizedTypeScriptVersion = getSanitizedTypeScriptVersion(version.slice(prefix.length)); + if (!sanitizedTypeScriptVersion) { + return undefined; + } + return `${prefix}${sanitizedTypeScriptVersion}`; +}; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedTypeScriptVersion.js b/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedTypeScriptVersion.js new file mode 100644 index 0000000..d93d097 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedTypeScriptVersion.js @@ -0,0 +1,9 @@ +const SEMVER_REGEX = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/; +export const getSanitizedTypeScriptVersion = (version = "") => { + const match = version.match(SEMVER_REGEX); + if (!match) { + return undefined; + } + const [major, minor, patch, prerelease] = [match[1], match[2], match[3], match[4]]; + return prerelease ? `${major}.${minor}.${patch}-${prerelease}` : `${major}.${minor}.${patch}`; +}; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js b/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js new file mode 100644 index 0000000..48d6c67 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js @@ -0,0 +1,75 @@ +import { booleanSelector, SelectorType } from "@smithy/util-config-provider"; +import { readFile } from "node:fs/promises"; +import { join } from "node:path"; +import { getNodeModulesParentDirs } from "./getNodeModulesParentDirs"; +import { getSanitizedDevTypeScriptVersion } from "./getSanitizedDevTypeScriptVersion"; +import { getSanitizedTypeScriptVersion } from "./getSanitizedTypeScriptVersion"; +let tscVersion; +const TS_PACKAGE_JSON = join("node_modules", "typescript", "package.json"); +export const getTypeScriptUserAgentPair = async () => { + if (tscVersion === null) { + return undefined; + } + else if (typeof tscVersion === "string") { + return ["md/tsc", tscVersion]; + } + let isTypeScriptDetectionDisabled = false; + try { + isTypeScriptDetectionDisabled = + booleanSelector(process.env, "AWS_SDK_JS_TYPESCRIPT_DETECTION_DISABLED", SelectorType.ENV) || false; + } + catch { } + if (isTypeScriptDetectionDisabled) { + tscVersion = null; + return undefined; + } + const dirname = typeof __dirname !== "undefined" ? __dirname : undefined; + const nodeModulesParentDirs = getNodeModulesParentDirs(dirname); + let versionFromApp; + for (const nodeModulesParentDir of nodeModulesParentDirs) { + try { + const appPackageJsonPath = join(nodeModulesParentDir, "package.json"); + const packageJson = await readFile(appPackageJsonPath, "utf-8"); + const { dependencies, devDependencies } = JSON.parse(packageJson); + const version = devDependencies?.typescript ?? dependencies?.typescript; + if (typeof version !== "string") { + continue; + } + versionFromApp = version; + break; + } + catch { + } + } + if (!versionFromApp) { + tscVersion = null; + return undefined; + } + let versionFromNodeModules; + for (const nodeModulesParentDir of nodeModulesParentDirs) { + try { + const tsPackageJsonPath = join(nodeModulesParentDir, TS_PACKAGE_JSON); + const packageJson = await readFile(tsPackageJsonPath, "utf-8"); + const { version } = JSON.parse(packageJson); + const sanitizedVersion = getSanitizedTypeScriptVersion(version); + if (typeof sanitizedVersion !== "string") { + continue; + } + versionFromNodeModules = sanitizedVersion; + break; + } + catch { + } + } + if (versionFromNodeModules) { + tscVersion = versionFromNodeModules; + return ["md/tsc", tscVersion]; + } + const sanitizedVersion = getSanitizedDevTypeScriptVersion(versionFromApp); + if (typeof sanitizedVersion !== "string") { + tscVersion = null; + return undefined; + } + tscVersion = `dev_${sanitizedVersion}`; + return ["md/tsc", tscVersion]; +}; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js b/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js new file mode 100644 index 0000000..cbf37f2 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js @@ -0,0 +1,2 @@ +export * from "./defaultUserAgent"; +export * from "./nodeAppIdConfigOptions"; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-es/is-crt-available.js b/node_modules/@aws-sdk/util-user-agent-node/dist-es/is-crt-available.js new file mode 100644 index 0000000..e9f8b0d --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-es/is-crt-available.js @@ -0,0 +1,7 @@ +import { crtAvailability } from "./crt-availability"; +export const isCrtAvailable = () => { + if (crtAvailability.isCrtAvailable) { + return ["md/crt-avail"]; + } + return null; +}; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-es/nodeAppIdConfigOptions.js b/node_modules/@aws-sdk/util-user-agent-node/dist-es/nodeAppIdConfigOptions.js new file mode 100644 index 0000000..f270db9 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-es/nodeAppIdConfigOptions.js @@ -0,0 +1,9 @@ +import { DEFAULT_UA_APP_ID } from "@aws-sdk/middleware-user-agent"; +export const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID"; +export const UA_APP_ID_INI_NAME = "sdk_ua_app_id"; +const UA_APP_ID_INI_NAME_DEPRECATED = "sdk-ua-app-id"; +export const NODE_APP_ID_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[UA_APP_ID_ENV_NAME], + configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED], + default: DEFAULT_UA_APP_ID, +}; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-types/crt-availability.d.ts b/node_modules/@aws-sdk/util-user-agent-node/dist-types/crt-availability.d.ts new file mode 100644 index 0000000..0cbb660 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-types/crt-availability.d.ts @@ -0,0 +1,8 @@ +/** + * If \@aws-sdk/signature-v4-crt is installed and loaded, it will register + * this value to true. + * @internal + */ +export declare const crtAvailability: { + isCrtAvailable: boolean; +}; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts b/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts new file mode 100644 index 0000000..9c07c14 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts @@ -0,0 +1,28 @@ +import type { Provider, UserAgent } from "@smithy/types"; +/** + * @internal + */ +export { crtAvailability } from "./crt-availability"; +/** + * @internal + */ +export interface DefaultUserAgentOptions { + serviceId?: string; + clientVersion: string; +} +/** + * @internal + */ +export interface PreviouslyResolved { + userAgentAppId: Provider; +} +/** + * Collect metrics from runtime to put into user agent. + * @internal + */ +export declare const createDefaultUserAgentProvider: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise; +/** + * @internal + * @deprecated use createDefaultUserAgentProvider + */ +export declare const defaultUserAgent: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-types/getNodeModulesParentDirs.d.ts b/node_modules/@aws-sdk/util-user-agent-node/dist-types/getNodeModulesParentDirs.d.ts new file mode 100644 index 0000000..ab163e0 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-types/getNodeModulesParentDirs.d.ts @@ -0,0 +1,10 @@ +/** + * Returns candidate paths to the node_modules parent directories based on current + * working directory and, if provided, from the given directory. + * + * @param dirname - Optional directory path to derive an additional candidate path from. + * @returns An array of unique candidate paths to the TypeScript package.json file. + * + * @internal + */ +export declare const getNodeModulesParentDirs: (dirname?: string) => string[]; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-types/getRuntimeUserAgentPair.d.ts b/node_modules/@aws-sdk/util-user-agent-node/dist-types/getRuntimeUserAgentPair.d.ts new file mode 100644 index 0000000..d5edbbe --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-types/getRuntimeUserAgentPair.d.ts @@ -0,0 +1,6 @@ +import type { UserAgentPair } from "@smithy/types"; +/** + * Returns the runtime name and version as a user agent pair. + * @internal + */ +export declare const getRuntimeUserAgentPair: () => UserAgentPair; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedDevTypeScriptVersion.d.ts b/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedDevTypeScriptVersion.d.ts new file mode 100644 index 0000000..0046e8a --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedDevTypeScriptVersion.d.ts @@ -0,0 +1,8 @@ +/** + * Sanitizes a TypeScript version string for user-agent reporting. + * Handles dist tags (e.g., "latest", "beta"), version prefixes (e.g., "^", "~"), + * and semver strings. Returns undefined if the version is invalid. + * + * @internal + */ +export declare const getSanitizedDevTypeScriptVersion: (version?: string) => string | undefined; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts b/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts new file mode 100644 index 0000000..b506b60 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts @@ -0,0 +1,8 @@ +/** + * Validates a semver string (with optional pre-release and/or build metadata). + * If valid, returns the version string with build metadata stripped. + * Returns undefined if the string is not a valid semver. + * + * @internal + */ +export declare const getSanitizedTypeScriptVersion: (version?: string) => string | undefined; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptUserAgentPair.d.ts b/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptUserAgentPair.d.ts new file mode 100644 index 0000000..c539598 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptUserAgentPair.d.ts @@ -0,0 +1,6 @@ +import type { UserAgentPair } from "@smithy/types"; +/** + * Returns the tyescript name and version as a user agent pair, if present. + * @internal + */ +export declare const getTypeScriptUserAgentPair: () => Promise; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-types/index.d.ts b/node_modules/@aws-sdk/util-user-agent-node/dist-types/index.d.ts new file mode 100644 index 0000000..cbf37f2 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-types/index.d.ts @@ -0,0 +1,2 @@ +export * from "./defaultUserAgent"; +export * from "./nodeAppIdConfigOptions"; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-types/is-crt-available.d.ts b/node_modules/@aws-sdk/util-user-agent-node/dist-types/is-crt-available.d.ts new file mode 100644 index 0000000..e9b010e --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-types/is-crt-available.d.ts @@ -0,0 +1,5 @@ +import type { UserAgentPair } from "@smithy/types"; +/** + * @internal + */ +export declare const isCrtAvailable: () => UserAgentPair | null; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts b/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts new file mode 100644 index 0000000..35201df --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts @@ -0,0 +1,13 @@ +import type { LoadedConfigSelectors } from "@smithy/node-config-provider"; +/** + * @internal + */ +export declare const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID"; +/** + * @internal + */ +export declare const UA_APP_ID_INI_NAME = "sdk_ua_app_id"; +/** + * @internal + */ +export declare const NODE_APP_ID_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/crt-availability.d.ts b/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/crt-availability.d.ts new file mode 100644 index 0000000..9dccfb0 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/crt-availability.d.ts @@ -0,0 +1,3 @@ +export declare const crtAvailability: { + isCrtAvailable: boolean; +}; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/defaultUserAgent.d.ts b/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/defaultUserAgent.d.ts new file mode 100644 index 0000000..6e4884f --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/defaultUserAgent.d.ts @@ -0,0 +1,21 @@ +import { Provider, UserAgent } from "@smithy/types"; +export { crtAvailability } from "./crt-availability"; +export interface DefaultUserAgentOptions { + serviceId?: string; + clientVersion: string; +} +export interface PreviouslyResolved { + userAgentAppId: Provider; +} +export declare const createDefaultUserAgentProvider: ({ + serviceId, + clientVersion, +}: DefaultUserAgentOptions) => ( + config?: PreviouslyResolved +) => Promise; +export declare const defaultUserAgent: ({ + serviceId, + clientVersion, +}: DefaultUserAgentOptions) => ( + config?: PreviouslyResolved +) => Promise; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getNodeModulesParentDirs.d.ts b/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getNodeModulesParentDirs.d.ts new file mode 100644 index 0000000..938df90 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getNodeModulesParentDirs.d.ts @@ -0,0 +1 @@ +export declare const getNodeModulesParentDirs: (dirname?: string) => string[]; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getRuntimeUserAgentPair.d.ts b/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getRuntimeUserAgentPair.d.ts new file mode 100644 index 0000000..8f2e847 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getRuntimeUserAgentPair.d.ts @@ -0,0 +1,2 @@ +import { UserAgentPair } from "@smithy/types"; +export declare const getRuntimeUserAgentPair: () => UserAgentPair; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedDevTypeScriptVersion.d.ts b/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedDevTypeScriptVersion.d.ts new file mode 100644 index 0000000..c16a7aa --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedDevTypeScriptVersion.d.ts @@ -0,0 +1,3 @@ +export declare const getSanitizedDevTypeScriptVersion: ( + version?: string +) => string | undefined; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedTypeScriptVersion.d.ts b/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedTypeScriptVersion.d.ts new file mode 100644 index 0000000..0f5dbdc --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedTypeScriptVersion.d.ts @@ -0,0 +1,3 @@ +export declare const getSanitizedTypeScriptVersion: ( + version?: string +) => string | undefined; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptUserAgentPair.d.ts b/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptUserAgentPair.d.ts new file mode 100644 index 0000000..47eced3 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptUserAgentPair.d.ts @@ -0,0 +1,4 @@ +import { UserAgentPair } from "@smithy/types"; +export declare const getTypeScriptUserAgentPair: () => Promise< + UserAgentPair | undefined +>; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..cbf37f2 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/index.d.ts @@ -0,0 +1,2 @@ +export * from "./defaultUserAgent"; +export * from "./nodeAppIdConfigOptions"; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/is-crt-available.d.ts b/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/is-crt-available.d.ts new file mode 100644 index 0000000..d28355c --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/is-crt-available.d.ts @@ -0,0 +1,2 @@ +import { UserAgentPair } from "@smithy/types"; +export declare const isCrtAvailable: () => UserAgentPair | null; diff --git a/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/nodeAppIdConfigOptions.d.ts b/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/nodeAppIdConfigOptions.d.ts new file mode 100644 index 0000000..b9fa123 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/nodeAppIdConfigOptions.d.ts @@ -0,0 +1,6 @@ +import { LoadedConfigSelectors } from "@smithy/node-config-provider"; +export declare const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID"; +export declare const UA_APP_ID_INI_NAME = "sdk_ua_app_id"; +export declare const NODE_APP_ID_CONFIG_OPTIONS: LoadedConfigSelectors< + string | undefined +>; diff --git a/node_modules/@aws-sdk/util-user-agent-node/package.json b/node_modules/@aws-sdk/util-user-agent-node/package.json new file mode 100644 index 0000000..d7af7c0 --- /dev/null +++ b/node_modules/@aws-sdk/util-user-agent-node/package.json @@ -0,0 +1,69 @@ +{ + "name": "@aws-sdk/util-user-agent-node", + "version": "3.973.14", + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline util-user-agent-node", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:watch": "yarn g:vitest watch", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/middleware-user-agent": "^3.972.28", + "@aws-sdk/types": "^3.973.6", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-config-provider": "^4.2.2", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "@types/node": "^20.14.8", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + }, + "peerDependencies": { + "aws-crt": ">=1.0.0" + }, + "peerDependenciesMeta": { + "aws-crt": { + "optional": true + } + }, + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/util-user-agent-node", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/util-user-agent-node" + } +} diff --git a/node_modules/@aws-sdk/xml-builder/LICENSE b/node_modules/@aws-sdk/xml-builder/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@aws-sdk/xml-builder/README.md b/node_modules/@aws-sdk/xml-builder/README.md new file mode 100644 index 0000000..b9a58dc --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/README.md @@ -0,0 +1,17 @@ +# @aws-sdk/xml-builder + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/xml-builder/latest.svg)](https://www.npmjs.com/package/@aws-sdk/xml-builder) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/xml-builder.svg)](https://www.npmjs.com/package/@aws-sdk/xml-builder) + +### :warning: Internal API :warning: + +> This is an internal package. +> That means this is used as a dependency for other, public packages, but +> should not be taken directly as a dependency in your application's `package.json`. + +> If you are updating the version of this package, for example to bring in a +> bug-fix, you should do so by updating your application lockfile with +> e.g. `npm up @scope/package` or equivalent command in another +> package manager, rather than taking a direct dependency. + +--- diff --git a/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js b/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js new file mode 100644 index 0000000..462f5fc --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js @@ -0,0 +1,131 @@ +'use strict'; + +var xmlParser = require('./xml-parser'); + +const ATTR_ESCAPE_RE = /[&<>"]/g; +const ATTR_ESCAPE_MAP = { + "&": "&", + "<": "<", + ">": ">", + '"': """, +}; +function escapeAttribute(value) { + return value.replace(ATTR_ESCAPE_RE, (ch) => ATTR_ESCAPE_MAP[ch]); +} + +const ELEMENT_ESCAPE_RE = /[&"'<>\r\n\u0085\u2028]/g; +const ELEMENT_ESCAPE_MAP = { + "&": "&", + '"': """, + "'": "'", + "<": "<", + ">": ">", + "\r": " ", + "\n": " ", + "\u0085": "…", + "\u2028": "
", +}; +function escapeElement(value) { + return value.replace(ELEMENT_ESCAPE_RE, (ch) => ELEMENT_ESCAPE_MAP[ch]); +} + +class XmlText { + value; + constructor(value) { + this.value = value; + } + toString() { + return escapeElement("" + this.value); + } +} + +class XmlNode { + name; + children; + attributes = {}; + static of(name, childText, withName) { + const node = new XmlNode(name); + if (childText !== undefined) { + node.addChildNode(new XmlText(childText)); + } + if (withName !== undefined) { + node.withName(withName); + } + return node; + } + constructor(name, children = []) { + this.name = name; + this.children = children; + } + withName(name) { + this.name = name; + return this; + } + addAttribute(name, value) { + this.attributes[name] = value; + return this; + } + addChildNode(child) { + this.children.push(child); + return this; + } + removeAttribute(name) { + delete this.attributes[name]; + return this; + } + n(name) { + this.name = name; + return this; + } + c(child) { + this.children.push(child); + return this; + } + a(name, value) { + if (value != null) { + this.attributes[name] = value; + } + return this; + } + cc(input, field, withName = field) { + if (input[field] != null) { + const node = XmlNode.of(field, input[field]).withName(withName); + this.c(node); + } + } + l(input, listName, memberName, valueProvider) { + if (input[listName] != null) { + const nodes = valueProvider(); + nodes.map((node) => { + node.withName(memberName); + this.c(node); + }); + } + } + lc(input, listName, memberName, valueProvider) { + if (input[listName] != null) { + const nodes = valueProvider(); + const containerNode = new XmlNode(memberName); + nodes.map((node) => { + containerNode.c(node); + }); + this.c(containerNode); + } + } + toString() { + const hasChildren = Boolean(this.children.length); + let xmlText = `<${this.name}`; + const attributes = this.attributes; + for (const attributeName of Object.keys(attributes)) { + const attribute = attributes[attributeName]; + if (attribute != null) { + xmlText += ` ${attributeName}="${escapeAttribute("" + attribute)}"`; + } + } + return (xmlText += !hasChildren ? "/>" : `>${this.children.map((c) => c.toString()).join("")}`); + } +} + +exports.parseXML = xmlParser.parseXML; +exports.XmlNode = XmlNode; +exports.XmlText = XmlText; diff --git a/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js b/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js new file mode 100644 index 0000000..31499ae --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js @@ -0,0 +1,23 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseXML = parseXML; +const fast_xml_parser_1 = require("fast-xml-parser"); +const parser = new fast_xml_parser_1.XMLParser({ + attributeNamePrefix: "", + processEntities: { + enabled: true, + maxTotalExpansions: Infinity, + }, + htmlEntities: true, + ignoreAttributes: false, + ignoreDeclaration: true, + parseTagValue: false, + trimValues: false, + tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined), + maxNestedTags: Infinity, +}); +parser.addEntity("#xD", "\r"); +parser.addEntity("#10", "\n"); +function parseXML(xmlString) { + return parser.parse(xmlString, true); +} diff --git a/node_modules/@aws-sdk/xml-builder/dist-es/XmlNode.js b/node_modules/@aws-sdk/xml-builder/dist-es/XmlNode.js new file mode 100644 index 0000000..4c8d997 --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-es/XmlNode.js @@ -0,0 +1,88 @@ +import { escapeAttribute } from "./escape-attribute"; +import { XmlText } from "./XmlText"; +export class XmlNode { + name; + children; + attributes = {}; + static of(name, childText, withName) { + const node = new XmlNode(name); + if (childText !== undefined) { + node.addChildNode(new XmlText(childText)); + } + if (withName !== undefined) { + node.withName(withName); + } + return node; + } + constructor(name, children = []) { + this.name = name; + this.children = children; + } + withName(name) { + this.name = name; + return this; + } + addAttribute(name, value) { + this.attributes[name] = value; + return this; + } + addChildNode(child) { + this.children.push(child); + return this; + } + removeAttribute(name) { + delete this.attributes[name]; + return this; + } + n(name) { + this.name = name; + return this; + } + c(child) { + this.children.push(child); + return this; + } + a(name, value) { + if (value != null) { + this.attributes[name] = value; + } + return this; + } + cc(input, field, withName = field) { + if (input[field] != null) { + const node = XmlNode.of(field, input[field]).withName(withName); + this.c(node); + } + } + l(input, listName, memberName, valueProvider) { + if (input[listName] != null) { + const nodes = valueProvider(); + nodes.map((node) => { + node.withName(memberName); + this.c(node); + }); + } + } + lc(input, listName, memberName, valueProvider) { + if (input[listName] != null) { + const nodes = valueProvider(); + const containerNode = new XmlNode(memberName); + nodes.map((node) => { + containerNode.c(node); + }); + this.c(containerNode); + } + } + toString() { + const hasChildren = Boolean(this.children.length); + let xmlText = `<${this.name}`; + const attributes = this.attributes; + for (const attributeName of Object.keys(attributes)) { + const attribute = attributes[attributeName]; + if (attribute != null) { + xmlText += ` ${attributeName}="${escapeAttribute("" + attribute)}"`; + } + } + return (xmlText += !hasChildren ? "/>" : `>${this.children.map((c) => c.toString()).join("")}`); + } +} diff --git a/node_modules/@aws-sdk/xml-builder/dist-es/XmlText.js b/node_modules/@aws-sdk/xml-builder/dist-es/XmlText.js new file mode 100644 index 0000000..e019b3f --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-es/XmlText.js @@ -0,0 +1,10 @@ +import { escapeElement } from "./escape-element"; +export class XmlText { + value; + constructor(value) { + this.value = value; + } + toString() { + return escapeElement("" + this.value); + } +} diff --git a/node_modules/@aws-sdk/xml-builder/dist-es/escape-attribute.js b/node_modules/@aws-sdk/xml-builder/dist-es/escape-attribute.js new file mode 100644 index 0000000..94cf076 --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-es/escape-attribute.js @@ -0,0 +1,10 @@ +const ATTR_ESCAPE_RE = /[&<>"]/g; +const ATTR_ESCAPE_MAP = { + "&": "&", + "<": "<", + ">": ">", + '"': """, +}; +export function escapeAttribute(value) { + return value.replace(ATTR_ESCAPE_RE, (ch) => ATTR_ESCAPE_MAP[ch]); +} diff --git a/node_modules/@aws-sdk/xml-builder/dist-es/escape-element.js b/node_modules/@aws-sdk/xml-builder/dist-es/escape-element.js new file mode 100644 index 0000000..139ff9c --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-es/escape-element.js @@ -0,0 +1,15 @@ +const ELEMENT_ESCAPE_RE = /[&"'<>\r\n\u0085\u2028]/g; +const ELEMENT_ESCAPE_MAP = { + "&": "&", + '"': """, + "'": "'", + "<": "<", + ">": ">", + "\r": " ", + "\n": " ", + "\u0085": "…", + "\u2028": "
", +}; +export function escapeElement(value) { + return value.replace(ELEMENT_ESCAPE_RE, (ch) => ELEMENT_ESCAPE_MAP[ch]); +} diff --git a/node_modules/@aws-sdk/xml-builder/dist-es/index.js b/node_modules/@aws-sdk/xml-builder/dist-es/index.js new file mode 100644 index 0000000..b90f969 --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-es/index.js @@ -0,0 +1,3 @@ +export * from "./XmlNode"; +export * from "./XmlText"; +export { parseXML } from "./xml-parser"; diff --git a/node_modules/@aws-sdk/xml-builder/dist-es/stringable.js b/node_modules/@aws-sdk/xml-builder/dist-es/stringable.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-es/stringable.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js b/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js new file mode 100644 index 0000000..946982d --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js @@ -0,0 +1,57 @@ +let parser; +export function parseXML(xmlString) { + if (!parser) { + parser = new DOMParser(); + } + const xmlDocument = parser.parseFromString(xmlString, "application/xml"); + if (xmlDocument.getElementsByTagName("parsererror").length > 0) { + throw new Error("DOMParser XML parsing error."); + } + const xmlToObj = (node) => { + if (node.nodeType === Node.TEXT_NODE) { + if (node.textContent?.trim()) { + return node.textContent; + } + } + if (node.nodeType === Node.ELEMENT_NODE) { + const element = node; + if (element.attributes.length === 0 && element.childNodes.length === 0) { + return ""; + } + const obj = {}; + const attributes = Array.from(element.attributes); + for (const attr of attributes) { + obj[`${attr.name}`] = attr.value; + } + const childNodes = Array.from(element.childNodes); + for (const child of childNodes) { + const childResult = xmlToObj(child); + if (childResult != null) { + const childName = child.nodeName; + if (childNodes.length === 1 && attributes.length === 0 && childName === "#text") { + return childResult; + } + if (obj[childName]) { + if (Array.isArray(obj[childName])) { + obj[childName].push(childResult); + } + else { + obj[childName] = [obj[childName], childResult]; + } + } + else { + obj[childName] = childResult; + } + } + else if (childNodes.length === 1 && attributes.length === 0) { + return element.textContent; + } + } + return obj; + } + return null; + }; + return { + [xmlDocument.documentElement.nodeName]: xmlToObj(xmlDocument.documentElement), + }; +} diff --git a/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js b/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js new file mode 100644 index 0000000..9bd0f4b --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js @@ -0,0 +1,20 @@ +import { XMLParser } from "fast-xml-parser"; +const parser = new XMLParser({ + attributeNamePrefix: "", + processEntities: { + enabled: true, + maxTotalExpansions: Infinity, + }, + htmlEntities: true, + ignoreAttributes: false, + ignoreDeclaration: true, + parseTagValue: false, + trimValues: false, + tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined), + maxNestedTags: Infinity, +}); +parser.addEntity("#xD", "\r"); +parser.addEntity("#10", "\n"); +export function parseXML(xmlString) { + return parser.parse(xmlString, true); +} diff --git a/node_modules/@aws-sdk/xml-builder/dist-types/XmlNode.d.ts b/node_modules/@aws-sdk/xml-builder/dist-types/XmlNode.d.ts new file mode 100644 index 0000000..1869b3a --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-types/XmlNode.d.ts @@ -0,0 +1,49 @@ +import type { Stringable } from "./stringable"; +/** + * @internal + * + * Represents an XML node. + */ +export declare class XmlNode { + private name; + readonly children: Stringable[]; + private attributes; + static of(name: string, childText?: string, withName?: string): XmlNode; + constructor(name: string, children?: Stringable[]); + withName(name: string): XmlNode; + addAttribute(name: string, value: any): XmlNode; + addChildNode(child: Stringable): XmlNode; + removeAttribute(name: string): XmlNode; + /** + * @internal + * Alias of {@link XmlNode#withName(string)} for codegen brevity. + */ + n(name: string): XmlNode; + /** + * @internal + * Alias of {@link XmlNode#addChildNode(string)} for codegen brevity. + */ + c(child: Stringable): XmlNode; + /** + * @internal + * Checked version of {@link XmlNode#addAttribute(string)} for codegen brevity. + */ + a(name: string, value: any): XmlNode; + /** + * Create a child node. + * Used in serialization of string fields. + * @internal + */ + cc(input: any, field: string, withName?: string): void; + /** + * Creates list child nodes. + * @internal + */ + l(input: any, listName: string, memberName: string, valueProvider: Function): void; + /** + * Creates list child nodes with container. + * @internal + */ + lc(input: any, listName: string, memberName: string, valueProvider: Function): void; + toString(): string; +} diff --git a/node_modules/@aws-sdk/xml-builder/dist-types/XmlText.d.ts b/node_modules/@aws-sdk/xml-builder/dist-types/XmlText.d.ts new file mode 100644 index 0000000..8084567 --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-types/XmlText.d.ts @@ -0,0 +1,11 @@ +import type { Stringable } from "./stringable"; +/** + * @internal + * + * Represents an XML text value. + */ +export declare class XmlText implements Stringable { + private value; + constructor(value: string); + toString(): string; +} diff --git a/node_modules/@aws-sdk/xml-builder/dist-types/escape-attribute.d.ts b/node_modules/@aws-sdk/xml-builder/dist-types/escape-attribute.d.ts new file mode 100644 index 0000000..4a08e7f --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-types/escape-attribute.d.ts @@ -0,0 +1,6 @@ +/** + * @internal + * + * Escapes characters that can not be in an XML attribute. + */ +export declare function escapeAttribute(value: string): string; diff --git a/node_modules/@aws-sdk/xml-builder/dist-types/escape-element.d.ts b/node_modules/@aws-sdk/xml-builder/dist-types/escape-element.d.ts new file mode 100644 index 0000000..d43e10e --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-types/escape-element.d.ts @@ -0,0 +1,6 @@ +/** + * @internal + * + * Escapes characters that can not be in an XML element. + */ +export declare function escapeElement(value: string): string; diff --git a/node_modules/@aws-sdk/xml-builder/dist-types/index.d.ts b/node_modules/@aws-sdk/xml-builder/dist-types/index.d.ts new file mode 100644 index 0000000..dafb64b --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-types/index.d.ts @@ -0,0 +1,12 @@ +/** + * @internal + */ +export * from "./XmlNode"; +/** + * @internal + */ +export * from "./XmlText"; +/** + * @internal + */ +export { parseXML } from "./xml-parser"; diff --git a/node_modules/@aws-sdk/xml-builder/dist-types/stringable.d.ts b/node_modules/@aws-sdk/xml-builder/dist-types/stringable.d.ts new file mode 100644 index 0000000..08f42d1 --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-types/stringable.d.ts @@ -0,0 +1,6 @@ +/** + * @internal + */ +export interface Stringable { + toString(): string; +} diff --git a/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/XmlNode.d.ts b/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/XmlNode.d.ts new file mode 100644 index 0000000..164d6c1 --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/XmlNode.d.ts @@ -0,0 +1,29 @@ +import { Stringable } from "./stringable"; +export declare class XmlNode { + private name; + readonly children: Stringable[]; + private attributes; + static of(name: string, childText?: string, withName?: string): XmlNode; + constructor(name: string, children?: Stringable[]); + withName(name: string): XmlNode; + addAttribute(name: string, value: any): XmlNode; + addChildNode(child: Stringable): XmlNode; + removeAttribute(name: string): XmlNode; + n(name: string): XmlNode; + c(child: Stringable): XmlNode; + a(name: string, value: any): XmlNode; + cc(input: any, field: string, withName?: string): void; + l( + input: any, + listName: string, + memberName: string, + valueProvider: Function + ): void; + lc( + input: any, + listName: string, + memberName: string, + valueProvider: Function + ): void; + toString(): string; +} diff --git a/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/XmlText.d.ts b/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/XmlText.d.ts new file mode 100644 index 0000000..f53373c --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/XmlText.d.ts @@ -0,0 +1,6 @@ +import { Stringable } from "./stringable"; +export declare class XmlText implements Stringable { + private value; + constructor(value: string); + toString(): string; +} diff --git a/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/escape-attribute.d.ts b/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/escape-attribute.d.ts new file mode 100644 index 0000000..f9f9a95 --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/escape-attribute.d.ts @@ -0,0 +1 @@ +export declare function escapeAttribute(value: string): string; diff --git a/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/escape-element.d.ts b/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/escape-element.d.ts new file mode 100644 index 0000000..b09ba89 --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/escape-element.d.ts @@ -0,0 +1 @@ +export declare function escapeElement(value: string): string; diff --git a/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..b90f969 --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/index.d.ts @@ -0,0 +1,3 @@ +export * from "./XmlNode"; +export * from "./XmlText"; +export { parseXML } from "./xml-parser"; diff --git a/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/stringable.d.ts b/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/stringable.d.ts new file mode 100644 index 0000000..ba9b1f7 --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/stringable.d.ts @@ -0,0 +1,3 @@ +export interface Stringable { + toString(): string; +} diff --git a/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.browser.d.ts b/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.browser.d.ts new file mode 100644 index 0000000..415a5ac --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.browser.d.ts @@ -0,0 +1 @@ +export declare function parseXML(xmlString: string): any; diff --git a/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts b/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts new file mode 100644 index 0000000..415a5ac --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts @@ -0,0 +1 @@ +export declare function parseXML(xmlString: string): any; diff --git a/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.browser.d.ts b/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.browser.d.ts new file mode 100644 index 0000000..31b86da --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.browser.d.ts @@ -0,0 +1,9 @@ +/** + * Cases where this differs from fast-xml-parser: + * + * 1. Mixing text with nested tags (does not occur in AWS REST XML). + * hello, world, how are you? + * + * @internal + */ +export declare function parseXML(xmlString: string): any; diff --git a/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts b/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts new file mode 100644 index 0000000..8516953 --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare function parseXML(xmlString: string): any; diff --git a/node_modules/@aws-sdk/xml-builder/package.json b/node_modules/@aws-sdk/xml-builder/package.json new file mode 100644 index 0000000..11abe13 --- /dev/null +++ b/node_modules/@aws-sdk/xml-builder/package.json @@ -0,0 +1,63 @@ +{ + "name": "@aws-sdk/xml-builder", + "version": "3.972.16", + "description": "XML utilities for the AWS SDK", + "dependencies": { + "@smithy/types": "^4.13.1", + "fast-xml-parser": "5.5.8", + "tslib": "^2.6.2" + }, + "scripts": { + "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline xml-builder", + "build:es": "tsc -p tsconfig.es.json", + "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "sideEffects": false, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=20.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "browser": { + "./dist-es/xml-parser": "./dist-es/xml-parser.browser" + }, + "react-native": { + "./dist-es/xml-parser": "./dist-es/xml-parser", + "./dist-cjs/xml-parser": "./dist-cjs/xml-parser" + }, + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/xml-builder", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "packages-internal/xml-builder" + }, + "devDependencies": { + "@tsconfig/recommended": "1.0.1", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typescript": "~5.8.3" + } +} diff --git a/node_modules/@aws/lambda-invoke-store/LICENSE b/node_modules/@aws/lambda-invoke-store/LICENSE new file mode 100644 index 0000000..67db858 --- /dev/null +++ b/node_modules/@aws/lambda-invoke-store/LICENSE @@ -0,0 +1,175 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. diff --git a/node_modules/@aws/lambda-invoke-store/README.md b/node_modules/@aws/lambda-invoke-store/README.md new file mode 100644 index 0000000..5b91122 --- /dev/null +++ b/node_modules/@aws/lambda-invoke-store/README.md @@ -0,0 +1,198 @@ +# Node.js Invoke Store for AWS Lambda + +`@aws/lambda-invoke-store` provides a generic, per-invocation context store for +AWS Lambda Node.js Runtime Environment. It enables storing and retrieving data +within the scope of a single Lambda invocation, with proper isolation between +concurrent executions. + +## Features + +- **Invocation Isolation**: Safely store and retrieve data within a single Lambda invocation. +- **Protected Lambda Context**: Built-in protection for Lambda execution metadata (requestId, [traceId](https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-traces)) +- **Custom Data Storage**: Store any custom data within the invocation context +- **Async/Await Support**: Full support for asynchronous operations with context preservation +- **Type Safety**: Complete TypeScript type definitions +- **Singleton Pattern**: Ensures a single shared instance across all imports +- **Global Namespace Integration**: Integrates with the Lambda runtime global namespace + +## Installation + +```bash +npm install @aws/lambda-invoke-store +``` + +## Quick Start + +> **Note**: In the AWS Lambda environment, the Runtime Interface Client (RIC) automatically initializes the InvokeStore context at the beginning of each invocation. Lambda function developers typically don't need to call `InvokeStore.run()` directly. + +```typescript +import { InvokeStore } from "@aws/lambda-invoke-store"; + +// Lambda handler with invoke store +export const handler = async (event, context) => { + // The RIC has already initialized the InvokeStore with requestId and X-Ray traceId + + // Access Lambda context data + const invokeStore = await InvokeStore.getInstanceAsync(); + console.log(`Processing request: ${invokeStore.getRequestId()}`); + + // Store custom data + invokeStore.set("userId", event.userId); + + // Data persists across async operations + await processData(event); + + // Retrieve custom data + const userId = invokeStore.get("userId"); + + return { + requestId: invokeStore.getRequestId(), + userId, + }; +}; + +// Context is preserved in async operations +async function processData(event) { + // Still has access to the same invoke context + const invokeStore = await InvokeStore.getInstanceAsync(); + console.log(`Processing in same context: ${invokeStore.getRequestId()}`); + + // Can set additional data + invokeStore.set("processedData", { result: "success" }); +} +``` + +## API Reference + +### InvokeStore.getInstanceAsync() +First, get an instance of the InvokeStore: +```typescript +const invokeStore = await InvokeStore.getInstanceAsync(); +``` + +### invokeStore.getContext() + +Returns the complete current context or `undefined` if outside a context. + +```typescript +const context = invokeStore.getContext(); +``` + +### invokeStore.get(key) + +Gets a value from the current context. + +```typescript +const requestId = invokeStore.get(InvokeStoreBase.PROTECTED_KEYS.REQUEST_ID); +const customValue = invokeStore.get("customKey"); +``` + +### invokeStore.set(key, value) + +Sets a custom value in the current context. Protected Lambda fields cannot be modified. + +```typescript +invokeStore.set("userId", "user-123"); +invokeStore.set("timestamp", Date.now()); + +// This will throw an error: +// invokeStore.set(InvokeStoreBase.PROTECTED_KEYS.REQUEST_ID, 'new-id'); +``` + +### invokeStore.getRequestId() + +Convenience method to get the current request ID. + +```typescript +const requestId = invokeStore.getRequestId(); // Returns '-' if outside context +``` + +### invokeStore.getTenantId() + +Convenience method to get the tenant ID. + +```typescript +const requestId = invokeStore.getTenantId(); +``` + +### invokeStore.getXRayTraceId() + +Convenience method to get the current [X-Ray trace ID](https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-traces). This ID is used for distributed tracing across AWS services. + +```typescript +const traceId = invokeStore.getXRayTraceId(); // Returns undefined if not set or outside context +``` + +### invokeStore.hasContext() + +Checks if code is currently running within an invoke context. + +```typescript +if (invokeStore.hasContext()) { + // We're inside an invoke context +} +``` + +### invokeStore.run(context, fn) + +> **Note**: This method is primarily used by the Lambda Runtime Interface Client (RIC) to initialize the context for each invocation. Lambda function developers typically don't need to call this method directly. + +Runs a function within an invoke context. + +```typescript +invokeStore.run( + { + [InvokeStoreBase.PROTECTED_KEYS.REQUEST_ID]: "request-123", + [InvokeStoreBase.PROTECTED_KEYS.X_RAY_TRACE_ID]: "trace-456", // Optional X-Ray trace ID + customField: "value", // Optional custom fields + }, + () => { + // Function to execute within context + } +); +``` + +## Integration with AWS Lambda Runtime + +The `@aws/lambda-invoke-store` package is designed to be integrated with the AWS Lambda Node.js Runtime Interface Client (RIC). The RIC automatically: + +1. Initializes the InvokeStore context at the beginning of each Lambda invocation +2. Sets the `requestId` and [X-Ray `traceId`](https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-traces) in the context +3. Ensures proper context isolation between concurrent invocations +4. Cleans up the context after the invocation completes + +Lambda function developers can focus on using the context without worrying about initialization or cleanup. + +## Global Namespace and Singleton Pattern + +The InvokeStore uses a singleton pattern to ensure that all imports of the module use the same instance, which is critical for maintaining proper context isolation across different parts of your application. + +### Global Namespace Integration + +The InvokeStore integrates with the Lambda runtime's global namespace: + +```typescript +// The InvokeStore is available globally +const globalInstance = globalThis.awslambda.InvokeStore; +``` + +This enables seamless integration between the Lambda Runtime Interface Client (RIC), AWS SDK, and your function code, ensuring they all share the same context. + +### Environment Variable Opt-Out + +If you prefer not to modify the global namespace, you can opt out by setting the environment variable: + +```bash +# Disable global namespace modification +AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA=1 +``` + +When this environment variable is set, the InvokeStore will still function correctly, but it won't be stored in the global namespace. + +## Security + +See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information. + +## License + +This project is licensed under the Apache-2.0 License. diff --git a/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js b/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js new file mode 100644 index 0000000..deeea9e --- /dev/null +++ b/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js @@ -0,0 +1,119 @@ +'use strict'; + +const PROTECTED_KEYS = { + REQUEST_ID: Symbol.for("_AWS_LAMBDA_REQUEST_ID"), + X_RAY_TRACE_ID: Symbol.for("_AWS_LAMBDA_X_RAY_TRACE_ID"), + TENANT_ID: Symbol.for("_AWS_LAMBDA_TENANT_ID"), +}; +const NO_GLOBAL_AWS_LAMBDA = ["true", "1"].includes(process.env?.AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA ?? ""); +if (!NO_GLOBAL_AWS_LAMBDA) { + globalThis.awslambda = globalThis.awslambda || {}; +} +class InvokeStoreBase { + static PROTECTED_KEYS = PROTECTED_KEYS; + isProtectedKey(key) { + return Object.values(PROTECTED_KEYS).includes(key); + } + getRequestId() { + return this.get(PROTECTED_KEYS.REQUEST_ID) ?? "-"; + } + getXRayTraceId() { + return this.get(PROTECTED_KEYS.X_RAY_TRACE_ID); + } + getTenantId() { + return this.get(PROTECTED_KEYS.TENANT_ID); + } +} +class InvokeStoreSingle extends InvokeStoreBase { + currentContext; + getContext() { + return this.currentContext; + } + hasContext() { + return this.currentContext !== undefined; + } + get(key) { + return this.currentContext?.[key]; + } + set(key, value) { + if (this.isProtectedKey(key)) { + throw new Error(`Cannot modify protected Lambda context field: ${String(key)}`); + } + this.currentContext = this.currentContext || {}; + this.currentContext[key] = value; + } + run(context, fn) { + this.currentContext = context; + return fn(); + } +} +class InvokeStoreMulti extends InvokeStoreBase { + als; + static async create() { + const instance = new InvokeStoreMulti(); + const asyncHooks = await import('node:async_hooks'); + instance.als = new asyncHooks.AsyncLocalStorage(); + return instance; + } + getContext() { + return this.als.getStore(); + } + hasContext() { + return this.als.getStore() !== undefined; + } + get(key) { + return this.als.getStore()?.[key]; + } + set(key, value) { + if (this.isProtectedKey(key)) { + throw new Error(`Cannot modify protected Lambda context field: ${String(key)}`); + } + const store = this.als.getStore(); + if (!store) { + throw new Error("No context available"); + } + store[key] = value; + } + run(context, fn) { + return this.als.run(context, fn); + } +} +exports.InvokeStore = void 0; +(function (InvokeStore) { + let instance = null; + async function getInstanceAsync(forceInvokeStoreMulti) { + if (!instance) { + instance = (async () => { + const isMulti = forceInvokeStoreMulti === true || "AWS_LAMBDA_MAX_CONCURRENCY" in process.env; + const newInstance = isMulti + ? await InvokeStoreMulti.create() + : new InvokeStoreSingle(); + if (!NO_GLOBAL_AWS_LAMBDA && globalThis.awslambda?.InvokeStore) { + return globalThis.awslambda.InvokeStore; + } + else if (!NO_GLOBAL_AWS_LAMBDA && globalThis.awslambda) { + globalThis.awslambda.InvokeStore = newInstance; + return newInstance; + } + else { + return newInstance; + } + })(); + } + return instance; + } + InvokeStore.getInstanceAsync = getInstanceAsync; + InvokeStore._testing = process.env.AWS_LAMBDA_BENCHMARK_MODE === "1" + ? { + reset: () => { + instance = null; + if (globalThis.awslambda?.InvokeStore) { + delete globalThis.awslambda.InvokeStore; + } + globalThis.awslambda = { InvokeStore: undefined }; + }, + } + : undefined; +})(exports.InvokeStore || (exports.InvokeStore = {})); + +exports.InvokeStoreBase = InvokeStoreBase; diff --git a/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js b/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js new file mode 100644 index 0000000..b0f9d49 --- /dev/null +++ b/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js @@ -0,0 +1,117 @@ +const PROTECTED_KEYS = { + REQUEST_ID: Symbol.for("_AWS_LAMBDA_REQUEST_ID"), + X_RAY_TRACE_ID: Symbol.for("_AWS_LAMBDA_X_RAY_TRACE_ID"), + TENANT_ID: Symbol.for("_AWS_LAMBDA_TENANT_ID"), +}; +const NO_GLOBAL_AWS_LAMBDA = ["true", "1"].includes(process.env?.AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA ?? ""); +if (!NO_GLOBAL_AWS_LAMBDA) { + globalThis.awslambda = globalThis.awslambda || {}; +} +class InvokeStoreBase { + static PROTECTED_KEYS = PROTECTED_KEYS; + isProtectedKey(key) { + return Object.values(PROTECTED_KEYS).includes(key); + } + getRequestId() { + return this.get(PROTECTED_KEYS.REQUEST_ID) ?? "-"; + } + getXRayTraceId() { + return this.get(PROTECTED_KEYS.X_RAY_TRACE_ID); + } + getTenantId() { + return this.get(PROTECTED_KEYS.TENANT_ID); + } +} +class InvokeStoreSingle extends InvokeStoreBase { + currentContext; + getContext() { + return this.currentContext; + } + hasContext() { + return this.currentContext !== undefined; + } + get(key) { + return this.currentContext?.[key]; + } + set(key, value) { + if (this.isProtectedKey(key)) { + throw new Error(`Cannot modify protected Lambda context field: ${String(key)}`); + } + this.currentContext = this.currentContext || {}; + this.currentContext[key] = value; + } + run(context, fn) { + this.currentContext = context; + return fn(); + } +} +class InvokeStoreMulti extends InvokeStoreBase { + als; + static async create() { + const instance = new InvokeStoreMulti(); + const asyncHooks = await import('node:async_hooks'); + instance.als = new asyncHooks.AsyncLocalStorage(); + return instance; + } + getContext() { + return this.als.getStore(); + } + hasContext() { + return this.als.getStore() !== undefined; + } + get(key) { + return this.als.getStore()?.[key]; + } + set(key, value) { + if (this.isProtectedKey(key)) { + throw new Error(`Cannot modify protected Lambda context field: ${String(key)}`); + } + const store = this.als.getStore(); + if (!store) { + throw new Error("No context available"); + } + store[key] = value; + } + run(context, fn) { + return this.als.run(context, fn); + } +} +var InvokeStore; +(function (InvokeStore) { + let instance = null; + async function getInstanceAsync(forceInvokeStoreMulti) { + if (!instance) { + instance = (async () => { + const isMulti = forceInvokeStoreMulti === true || "AWS_LAMBDA_MAX_CONCURRENCY" in process.env; + const newInstance = isMulti + ? await InvokeStoreMulti.create() + : new InvokeStoreSingle(); + if (!NO_GLOBAL_AWS_LAMBDA && globalThis.awslambda?.InvokeStore) { + return globalThis.awslambda.InvokeStore; + } + else if (!NO_GLOBAL_AWS_LAMBDA && globalThis.awslambda) { + globalThis.awslambda.InvokeStore = newInstance; + return newInstance; + } + else { + return newInstance; + } + })(); + } + return instance; + } + InvokeStore.getInstanceAsync = getInstanceAsync; + InvokeStore._testing = process.env.AWS_LAMBDA_BENCHMARK_MODE === "1" + ? { + reset: () => { + instance = null; + if (globalThis.awslambda?.InvokeStore) { + delete globalThis.awslambda.InvokeStore; + } + globalThis.awslambda = { InvokeStore: undefined }; + }, + } + : undefined; +})(InvokeStore || (InvokeStore = {})); + +export { InvokeStore, InvokeStoreBase }; diff --git a/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.benchmark.d.ts b/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.benchmark.d.ts new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.benchmark.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts b/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts new file mode 100644 index 0000000..071dfde --- /dev/null +++ b/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts @@ -0,0 +1,49 @@ +interface Context { + [key: string]: unknown; + [key: symbol]: unknown; +} +declare global { + namespace awslambda { + let InvokeStore: InvokeStoreBase | undefined; + } +} +/** + * Base class for AWS Lambda context storage implementations. + * Provides core functionality for managing Lambda execution context. + * + * Implementations handle either single-context (InvokeStoreSingle) or + * multi-context (InvokeStoreMulti) scenarios based on Lambda's execution environment. + * + * @public + */ +export declare abstract class InvokeStoreBase { + static readonly PROTECTED_KEYS: { + readonly REQUEST_ID: symbol; + readonly X_RAY_TRACE_ID: symbol; + readonly TENANT_ID: symbol; + }; + abstract getContext(): Context | undefined; + abstract hasContext(): boolean; + abstract get(key: string | symbol): T | undefined; + abstract set(key: string | symbol, value: T): void; + abstract run(context: Context, fn: () => T): T; + protected isProtectedKey(key: string | symbol): boolean; + getRequestId(): string; + getXRayTraceId(): string | undefined; + getTenantId(): string | undefined; +} +/** + * Provides access to AWS Lambda execution context storage. + * Supports both single-context and multi-context environments through different implementations. + * + * The store manages protected Lambda context fields and allows storing/retrieving custom values + * within the execution context. + * @public + */ +export declare namespace InvokeStore { + function getInstanceAsync(forceInvokeStoreMulti?: boolean): Promise; + const _testing: { + reset: () => void; + } | undefined; +} +export {}; diff --git a/node_modules/@aws/lambda-invoke-store/package.json b/node_modules/@aws/lambda-invoke-store/package.json new file mode 100644 index 0000000..30d6d5e --- /dev/null +++ b/node_modules/@aws/lambda-invoke-store/package.json @@ -0,0 +1,55 @@ +{ + "name": "@aws/lambda-invoke-store", + "version": "0.2.4", + "description": "Invoke scoped data storage for AWS Lambda Node.js Runtime Environment", + "homepage": "https://github.com/awslabs/aws-lambda-invoke-store", + "main": "./dist-cjs/invoke-store.js", + "types": "./dist-types/invoke-store.d.ts", + "module": "./dist-es/invoke-store.js", + "exports": { + ".": { + "types": "./dist-types/invoke-store.d.ts", + "module": "./dist-es/invoke-store.js", + "node": "./dist-cjs/invoke-store.js", + "import": "./dist-es/invoke-store.js", + "require": "./dist-cjs/invoke-store.js" + } + }, + "files": [ + "dist-es", + "dist-cjs", + "dist-types" + ], + "repository": { + "type": "git", + "url": "git+https://github.com/awslabs/aws-lambda-invoke-store.git" + }, + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "http://aws.amazon.com" + }, + "scripts": { + "build": "yarn clean && yarn build:types && node ./scripts/build-rollup.js", + "build:types": "tsc -p tsconfig.types.json", + "clean": "rm -rf dist-types dist-cjs dist-es", + "test": "vitest run --reporter verbose", + "test:watch": "vitest watch", + "release": "yarn build && changeset publish" + }, + "devDependencies": { + "@changesets/cli": "^2.29.6", + "@rollup/plugin-node-resolve": "^16.0.3", + "@rollup/plugin-typescript": "^12.3.0", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^18.19.130", + "rollup": "^4.52.5", + "tslib": "^2.8.1", + "typescript": "^5.9.3", + "vitest": "^3.1.1" + }, + "engines": { + "node": ">=18.0.0" + }, + "packageManager": "yarn@4.9.4" +} diff --git a/node_modules/@colors/colors/LICENSE b/node_modules/@colors/colors/LICENSE new file mode 100644 index 0000000..6b86056 --- /dev/null +++ b/node_modules/@colors/colors/LICENSE @@ -0,0 +1,26 @@ +MIT License + +Original Library + - Copyright (c) Marak Squires + +Additional Functionality + - Copyright (c) Sindre Sorhus (sindresorhus.com) + - Copyright (c) DABH (https://github.com/DABH) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_modules/@colors/colors/README.md b/node_modules/@colors/colors/README.md new file mode 100644 index 0000000..e2479ce --- /dev/null +++ b/node_modules/@colors/colors/README.md @@ -0,0 +1,219 @@ +# @colors/colors ("colors.js") +[![Build Status](https://github.com/DABH/colors.js/actions/workflows/ci.yml/badge.svg)](https://github.com/DABH/colors.js/actions/workflows/ci.yml) +[![version](https://img.shields.io/npm/v/@colors/colors.svg)](https://www.npmjs.org/package/@colors/colors) + +Please check out the [roadmap](ROADMAP.md) for upcoming features and releases. Please open Issues to provide feedback. + +## get color and style in your node.js console + +![Demo](https://raw.githubusercontent.com/DABH/colors.js/master/screenshots/colors.png) + +## Installation + + npm install @colors/colors + +## colors and styles! + +### text colors + + - black + - red + - green + - yellow + - blue + - magenta + - cyan + - white + - gray + - grey + +### bright text colors + + - brightRed + - brightGreen + - brightYellow + - brightBlue + - brightMagenta + - brightCyan + - brightWhite + +### background colors + + - bgBlack + - bgRed + - bgGreen + - bgYellow + - bgBlue + - bgMagenta + - bgCyan + - bgWhite + - bgGray + - bgGrey + +### bright background colors + + - bgBrightRed + - bgBrightGreen + - bgBrightYellow + - bgBrightBlue + - bgBrightMagenta + - bgBrightCyan + - bgBrightWhite + +### styles + + - reset + - bold + - dim + - italic + - underline + - inverse + - hidden + - strikethrough + +### extras + + - rainbow + - zebra + - america + - trap + - random + + +## Usage + +By popular demand, `@colors/colors` now ships with two types of usages! + +The super nifty way + +```js +var colors = require('@colors/colors'); + +console.log('hello'.green); // outputs green text +console.log('i like cake and pies'.underline.red); // outputs red underlined text +console.log('inverse the color'.inverse); // inverses the color +console.log('OMG Rainbows!'.rainbow); // rainbow +console.log('Run the trap'.trap); // Drops the bass + +``` + +or a slightly less nifty way which doesn't extend `String.prototype` + +```js +var colors = require('@colors/colors/safe'); + +console.log(colors.green('hello')); // outputs green text +console.log(colors.red.underline('i like cake and pies')); // outputs red underlined text +console.log(colors.inverse('inverse the color')); // inverses the color +console.log(colors.rainbow('OMG Rainbows!')); // rainbow +console.log(colors.trap('Run the trap')); // Drops the bass + +``` + +I prefer the first way. Some people seem to be afraid of extending `String.prototype` and prefer the second way. + +If you are writing good code you will never have an issue with the first approach. If you really don't want to touch `String.prototype`, the second usage will not touch `String` native object. + +## Enabling/Disabling Colors + +The package will auto-detect whether your terminal can use colors and enable/disable accordingly. When colors are disabled, the color functions do nothing. You can override this with a command-line flag: + +```bash +node myapp.js --no-color +node myapp.js --color=false + +node myapp.js --color +node myapp.js --color=true +node myapp.js --color=always + +FORCE_COLOR=1 node myapp.js +``` + +Or in code: + +```javascript +var colors = require('@colors/colors'); +colors.enable(); +colors.disable(); +``` + +## Console.log [string substitution](http://nodejs.org/docs/latest/api/console.html#console_console_log_data) + +```js +var name = 'Beowulf'; +console.log(colors.green('Hello %s'), name); +// outputs -> 'Hello Beowulf' +``` + +## Custom themes + +### Using standard API + +```js + +var colors = require('@colors/colors'); + +colors.setTheme({ + silly: 'rainbow', + input: 'grey', + verbose: 'cyan', + prompt: 'grey', + info: 'green', + data: 'grey', + help: 'cyan', + warn: 'yellow', + debug: 'blue', + error: 'red' +}); + +// outputs red text +console.log("this is an error".error); + +// outputs yellow text +console.log("this is a warning".warn); +``` + +### Using string safe API + +```js +var colors = require('@colors/colors/safe'); + +// set single property +var error = colors.red; +error('this is red'); + +// set theme +colors.setTheme({ + silly: 'rainbow', + input: 'grey', + verbose: 'cyan', + prompt: 'grey', + info: 'green', + data: 'grey', + help: 'cyan', + warn: 'yellow', + debug: 'blue', + error: 'red' +}); + +// outputs red text +console.log(colors.error("this is an error")); + +// outputs yellow text +console.log(colors.warn("this is a warning")); + +``` + +### Combining Colors + +```javascript +var colors = require('@colors/colors'); + +colors.setTheme({ + custom: ['red', 'underline'] +}); + +console.log('test'.custom); +``` + +*Protip: There is a secret undocumented style in `colors`. If you find the style you can summon him.* diff --git a/node_modules/@colors/colors/examples/normal-usage.js b/node_modules/@colors/colors/examples/normal-usage.js new file mode 100644 index 0000000..a4bfe7b --- /dev/null +++ b/node_modules/@colors/colors/examples/normal-usage.js @@ -0,0 +1,83 @@ +var colors = require('../lib/index'); + +console.log('First some yellow text'.yellow); + +console.log('Underline that text'.yellow.underline); + +console.log('Make it bold and red'.red.bold); + +console.log(('Double Raindows All Day Long').rainbow); + +console.log('Drop the bass'.trap); + +console.log('DROP THE RAINBOW BASS'.trap.rainbow); + +// styles not widely supported +console.log('Chains are also cool.'.bold.italic.underline.red); + +// styles not widely supported +console.log('So '.green + 'are'.underline + ' ' + 'inverse'.inverse + + ' styles! '.yellow.bold); +console.log('Zebras are so fun!'.zebra); + +// +// Remark: .strikethrough may not work with Mac OS Terminal App +// +console.log('This is ' + 'not'.strikethrough + ' fun.'); + +console.log('Background color attack!'.black.bgWhite); +console.log('Use random styles on everything!'.random); +console.log('America, Heck Yeah!'.america); + +// eslint-disable-next-line max-len +console.log('Blindingly '.brightCyan + 'bright? '.brightRed + 'Why '.brightYellow + 'not?!'.brightGreen); + +console.log('Setting themes is useful'); + +// +// Custom themes +// +console.log('Generic logging theme as JSON'.green.bold.underline); +// Load theme with JSON literal +colors.setTheme({ + silly: 'rainbow', + input: 'grey', + verbose: 'cyan', + prompt: 'grey', + info: 'green', + data: 'grey', + help: 'cyan', + warn: 'yellow', + debug: 'blue', + error: 'red', +}); + +// outputs red text +console.log('this is an error'.error); + +// outputs yellow text +console.log('this is a warning'.warn); + +// outputs grey text +console.log('this is an input'.input); + +console.log('Generic logging theme as file'.green.bold.underline); + +// Load a theme from file +try { + colors.setTheme(require(__dirname + '/../themes/generic-logging.js')); +} catch (err) { + console.log(err); +} + +// outputs red text +console.log('this is an error'.error); + +// outputs yellow text +console.log('this is a warning'.warn); + +// outputs grey text +console.log('this is an input'.input); + +// console.log("Don't summon".zalgo) + diff --git a/node_modules/@colors/colors/examples/safe-string.js b/node_modules/@colors/colors/examples/safe-string.js new file mode 100644 index 0000000..fc66474 --- /dev/null +++ b/node_modules/@colors/colors/examples/safe-string.js @@ -0,0 +1,80 @@ +var colors = require('../safe'); + +console.log(colors.yellow('First some yellow text')); + +console.log(colors.yellow.underline('Underline that text')); + +console.log(colors.red.bold('Make it bold and red')); + +console.log(colors.rainbow('Double Raindows All Day Long')); + +console.log(colors.trap('Drop the bass')); + +console.log(colors.rainbow(colors.trap('DROP THE RAINBOW BASS'))); + +// styles not widely supported +console.log(colors.bold.italic.underline.red('Chains are also cool.')); + +// styles not widely supported +console.log(colors.green('So ') + colors.underline('are') + ' ' + + colors.inverse('inverse') + colors.yellow.bold(' styles! ')); + +console.log(colors.zebra('Zebras are so fun!')); + +console.log('This is ' + colors.strikethrough('not') + ' fun.'); + + +console.log(colors.black.bgWhite('Background color attack!')); +console.log(colors.random('Use random styles on everything!')); +console.log(colors.america('America, Heck Yeah!')); + +// eslint-disable-next-line max-len +console.log(colors.brightCyan('Blindingly ') + colors.brightRed('bright? ') + colors.brightYellow('Why ') + colors.brightGreen('not?!')); + +console.log('Setting themes is useful'); + +// +// Custom themes +// +// console.log('Generic logging theme as JSON'.green.bold.underline); +// Load theme with JSON literal +colors.setTheme({ + silly: 'rainbow', + input: 'blue', + verbose: 'cyan', + prompt: 'grey', + info: 'green', + data: 'grey', + help: 'cyan', + warn: 'yellow', + debug: 'blue', + error: 'red', +}); + +// outputs red text +console.log(colors.error('this is an error')); + +// outputs yellow text +console.log(colors.warn('this is a warning')); + +// outputs blue text +console.log(colors.input('this is an input')); + + +// console.log('Generic logging theme as file'.green.bold.underline); + +// Load a theme from file +colors.setTheme(require(__dirname + '/../themes/generic-logging.js')); + +// outputs red text +console.log(colors.error('this is an error')); + +// outputs yellow text +console.log(colors.warn('this is a warning')); + +// outputs grey text +console.log(colors.input('this is an input')); + +// console.log(colors.zalgo("Don't summon him")) + + diff --git a/node_modules/@colors/colors/index.d.ts b/node_modules/@colors/colors/index.d.ts new file mode 100644 index 0000000..7a7a320 --- /dev/null +++ b/node_modules/@colors/colors/index.d.ts @@ -0,0 +1,184 @@ +// Type definitions for @colors/colors 1.4+ +// Project: https://github.com/Marak/colors.js +// Definitions by: Bart van der Schoor , Staffan Eketorp +// Definitions: https://github.com/DABH/colors.js + +export interface Color { + (text: string): string; + + strip: Color; + stripColors: Color; + + black: Color; + red: Color; + green: Color; + yellow: Color; + blue: Color; + magenta: Color; + cyan: Color; + white: Color; + gray: Color; + grey: Color; + + brightRed: Color; + brightGreen: Color; + brightYellow: Color; + brightBlue: Color; + brightMagenta: Color; + brightCyan: Color; + brightWhite: Color; + + bgBlack: Color; + bgRed: Color; + bgGreen: Color; + bgYellow: Color; + bgBlue: Color; + bgMagenta: Color; + bgCyan: Color; + bgWhite: Color; + + bgBrightRed: Color; + bgBrightGreen: Color; + bgBrightYellow: Color; + bgBrightBlue: Color; + bgBrightMagenta: Color; + bgBrightCyan: Color; + bgBrightWhite: Color; + + reset: Color; + bold: Color; + dim: Color; + italic: Color; + underline: Color; + inverse: Color; + hidden: Color; + strikethrough: Color; + + rainbow: Color; + zebra: Color; + america: Color; + trap: Color; + random: Color; + zalgo: Color; +} + +export function enable(): void; +export function disable(): void; +export function setTheme(theme: any): void; + +export let enabled: boolean; + +export const strip: Color; +export const stripColors: Color; + +export const black: Color; +export const red: Color; +export const green: Color; +export const yellow: Color; +export const blue: Color; +export const magenta: Color; +export const cyan: Color; +export const white: Color; +export const gray: Color; +export const grey: Color; + +export const brightRed: Color; +export const brightGreen: Color; +export const brightYellow: Color; +export const brightBlue: Color; +export const brightMagenta: Color; +export const brightCyan: Color; +export const brightWhite: Color; + +export const bgBlack: Color; +export const bgRed: Color; +export const bgGreen: Color; +export const bgYellow: Color; +export const bgBlue: Color; +export const bgMagenta: Color; +export const bgCyan: Color; +export const bgWhite: Color; + +export const bgBrightRed: Color; +export const bgBrightGreen: Color; +export const bgBrightYellow: Color; +export const bgBrightBlue: Color; +export const bgBrightMagenta: Color; +export const bgBrightCyan: Color; +export const bgBrightWhite: Color; + +export const reset: Color; +export const bold: Color; +export const dim: Color; +export const italic: Color; +export const underline: Color; +export const inverse: Color; +export const hidden: Color; +export const strikethrough: Color; + +export const rainbow: Color; +export const zebra: Color; +export const america: Color; +export const trap: Color; +export const random: Color; +export const zalgo: Color; + +declare global { + interface String { + strip: string; + stripColors: string; + + black: string; + red: string; + green: string; + yellow: string; + blue: string; + magenta: string; + cyan: string; + white: string; + gray: string; + grey: string; + + brightRed: string; + brightGreen: string; + brightYellow: string; + brightBlue: string; + brightMagenta: string; + brightCyan: string; + brightWhite: string; + + bgBlack: string; + bgRed: string; + bgGreen: string; + bgYellow: string; + bgBlue: string; + bgMagenta: string; + bgCyan: string; + bgWhite: string; + + bgBrightRed: string; + bgBrightGreen: string; + bgBrightYellow: string; + bgBrightBlue: string; + bgBrightMagenta: string; + bgBrightCyan: string; + bgBrightWhite: string; + + reset: string; + // @ts-ignore + bold: string; + dim: string; + italic: string; + underline: string; + inverse: string; + hidden: string; + strikethrough: string; + + rainbow: string; + zebra: string; + america: string; + trap: string; + random: string; + zalgo: string; + } +} diff --git a/node_modules/@colors/colors/lib/colors.js b/node_modules/@colors/colors/lib/colors.js new file mode 100644 index 0000000..d9fb087 --- /dev/null +++ b/node_modules/@colors/colors/lib/colors.js @@ -0,0 +1,211 @@ +/* + +The MIT License (MIT) + +Original Library + - Copyright (c) Marak Squires + +Additional functionality + - Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +*/ + +var colors = {}; +module['exports'] = colors; + +colors.themes = {}; + +var util = require('util'); +var ansiStyles = colors.styles = require('./styles'); +var defineProps = Object.defineProperties; +var newLineRegex = new RegExp(/[\r\n]+/g); + +colors.supportsColor = require('./system/supports-colors').supportsColor; + +if (typeof colors.enabled === 'undefined') { + colors.enabled = colors.supportsColor() !== false; +} + +colors.enable = function() { + colors.enabled = true; +}; + +colors.disable = function() { + colors.enabled = false; +}; + +colors.stripColors = colors.strip = function(str) { + return ('' + str).replace(/\x1B\[\d+m/g, ''); +}; + +// eslint-disable-next-line no-unused-vars +var stylize = colors.stylize = function stylize(str, style) { + if (!colors.enabled) { + return str+''; + } + + var styleMap = ansiStyles[style]; + + // Stylize should work for non-ANSI styles, too + if (!styleMap && style in colors) { + // Style maps like trap operate as functions on strings; + // they don't have properties like open or close. + return colors[style](str); + } + + return styleMap.open + str + styleMap.close; +}; + +var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g; +var escapeStringRegexp = function(str) { + if (typeof str !== 'string') { + throw new TypeError('Expected a string'); + } + return str.replace(matchOperatorsRe, '\\$&'); +}; + +function build(_styles) { + var builder = function builder() { + return applyStyle.apply(builder, arguments); + }; + builder._styles = _styles; + // __proto__ is used because we must return a function, but there is + // no way to create a function with a different prototype. + builder.__proto__ = proto; + return builder; +} + +var styles = (function() { + var ret = {}; + ansiStyles.grey = ansiStyles.gray; + Object.keys(ansiStyles).forEach(function(key) { + ansiStyles[key].closeRe = + new RegExp(escapeStringRegexp(ansiStyles[key].close), 'g'); + ret[key] = { + get: function() { + return build(this._styles.concat(key)); + }, + }; + }); + return ret; +})(); + +var proto = defineProps(function colors() {}, styles); + +function applyStyle() { + var args = Array.prototype.slice.call(arguments); + + var str = args.map(function(arg) { + // Use weak equality check so we can colorize null/undefined in safe mode + if (arg != null && arg.constructor === String) { + return arg; + } else { + return util.inspect(arg); + } + }).join(' '); + + if (!colors.enabled || !str) { + return str; + } + + var newLinesPresent = str.indexOf('\n') != -1; + + var nestedStyles = this._styles; + + var i = nestedStyles.length; + while (i--) { + var code = ansiStyles[nestedStyles[i]]; + str = code.open + str.replace(code.closeRe, code.open) + code.close; + if (newLinesPresent) { + str = str.replace(newLineRegex, function(match) { + return code.close + match + code.open; + }); + } + } + + return str; +} + +colors.setTheme = function(theme) { + if (typeof theme === 'string') { + console.log('colors.setTheme now only accepts an object, not a string. ' + + 'If you are trying to set a theme from a file, it is now your (the ' + + 'caller\'s) responsibility to require the file. The old syntax ' + + 'looked like colors.setTheme(__dirname + ' + + '\'/../themes/generic-logging.js\'); The new syntax looks like '+ + 'colors.setTheme(require(__dirname + ' + + '\'/../themes/generic-logging.js\'));'); + return; + } + for (var style in theme) { + (function(style) { + colors[style] = function(str) { + if (typeof theme[style] === 'object') { + var out = str; + for (var i in theme[style]) { + out = colors[theme[style][i]](out); + } + return out; + } + return colors[theme[style]](str); + }; + })(style); + } +}; + +function init() { + var ret = {}; + Object.keys(styles).forEach(function(name) { + ret[name] = { + get: function() { + return build([name]); + }, + }; + }); + return ret; +} + +var sequencer = function sequencer(map, str) { + var exploded = str.split(''); + exploded = exploded.map(map); + return exploded.join(''); +}; + +// custom formatter methods +colors.trap = require('./custom/trap'); +colors.zalgo = require('./custom/zalgo'); + +// maps +colors.maps = {}; +colors.maps.america = require('./maps/america')(colors); +colors.maps.zebra = require('./maps/zebra')(colors); +colors.maps.rainbow = require('./maps/rainbow')(colors); +colors.maps.random = require('./maps/random')(colors); + +for (var map in colors.maps) { + (function(map) { + colors[map] = function(str) { + return sequencer(colors.maps[map], str); + }; + })(map); +} + +defineProps(colors, init()); diff --git a/node_modules/@colors/colors/lib/custom/trap.js b/node_modules/@colors/colors/lib/custom/trap.js new file mode 100644 index 0000000..fbccf88 --- /dev/null +++ b/node_modules/@colors/colors/lib/custom/trap.js @@ -0,0 +1,46 @@ +module['exports'] = function runTheTrap(text, options) { + var result = ''; + text = text || 'Run the trap, drop the bass'; + text = text.split(''); + var trap = { + a: ['\u0040', '\u0104', '\u023a', '\u0245', '\u0394', '\u039b', '\u0414'], + b: ['\u00df', '\u0181', '\u0243', '\u026e', '\u03b2', '\u0e3f'], + c: ['\u00a9', '\u023b', '\u03fe'], + d: ['\u00d0', '\u018a', '\u0500', '\u0501', '\u0502', '\u0503'], + e: ['\u00cb', '\u0115', '\u018e', '\u0258', '\u03a3', '\u03be', '\u04bc', + '\u0a6c'], + f: ['\u04fa'], + g: ['\u0262'], + h: ['\u0126', '\u0195', '\u04a2', '\u04ba', '\u04c7', '\u050a'], + i: ['\u0f0f'], + j: ['\u0134'], + k: ['\u0138', '\u04a0', '\u04c3', '\u051e'], + l: ['\u0139'], + m: ['\u028d', '\u04cd', '\u04ce', '\u0520', '\u0521', '\u0d69'], + n: ['\u00d1', '\u014b', '\u019d', '\u0376', '\u03a0', '\u048a'], + o: ['\u00d8', '\u00f5', '\u00f8', '\u01fe', '\u0298', '\u047a', '\u05dd', + '\u06dd', '\u0e4f'], + p: ['\u01f7', '\u048e'], + q: ['\u09cd'], + r: ['\u00ae', '\u01a6', '\u0210', '\u024c', '\u0280', '\u042f'], + s: ['\u00a7', '\u03de', '\u03df', '\u03e8'], + t: ['\u0141', '\u0166', '\u0373'], + u: ['\u01b1', '\u054d'], + v: ['\u05d8'], + w: ['\u0428', '\u0460', '\u047c', '\u0d70'], + x: ['\u04b2', '\u04fe', '\u04fc', '\u04fd'], + y: ['\u00a5', '\u04b0', '\u04cb'], + z: ['\u01b5', '\u0240'], + }; + text.forEach(function(c) { + c = c.toLowerCase(); + var chars = trap[c] || [' ']; + var rand = Math.floor(Math.random() * chars.length); + if (typeof trap[c] !== 'undefined') { + result += trap[c][rand]; + } else { + result += c; + } + }); + return result; +}; diff --git a/node_modules/@colors/colors/lib/custom/zalgo.js b/node_modules/@colors/colors/lib/custom/zalgo.js new file mode 100644 index 0000000..0ef2b01 --- /dev/null +++ b/node_modules/@colors/colors/lib/custom/zalgo.js @@ -0,0 +1,110 @@ +// please no +module['exports'] = function zalgo(text, options) { + text = text || ' he is here '; + var soul = { + 'up': [ + '̍', '̎', '̄', '̅', + '̿', '̑', '̆', '̐', + '͒', '͗', '͑', '̇', + '̈', '̊', '͂', '̓', + '̈', '͊', '͋', '͌', + '̃', '̂', '̌', '͐', + '̀', '́', '̋', '̏', + '̒', '̓', '̔', '̽', + '̉', 'ͣ', 'ͤ', 'ͥ', + 'ͦ', 'ͧ', 'ͨ', 'ͩ', + 'ͪ', 'ͫ', 'ͬ', 'ͭ', + 'ͮ', 'ͯ', '̾', '͛', + '͆', '̚', + ], + 'down': [ + '̖', '̗', '̘', '̙', + '̜', '̝', '̞', '̟', + '̠', '̤', '̥', '̦', + '̩', '̪', '̫', '̬', + '̭', '̮', '̯', '̰', + '̱', '̲', '̳', '̹', + '̺', '̻', '̼', 'ͅ', + '͇', '͈', '͉', '͍', + '͎', '͓', '͔', '͕', + '͖', '͙', '͚', '̣', + ], + 'mid': [ + '̕', '̛', '̀', '́', + '͘', '̡', '̢', '̧', + '̨', '̴', '̵', '̶', + '͜', '͝', '͞', + '͟', '͠', '͢', '̸', + '̷', '͡', ' ҉', + ], + }; + var all = [].concat(soul.up, soul.down, soul.mid); + + function randomNumber(range) { + var r = Math.floor(Math.random() * range); + return r; + } + + function isChar(character) { + var bool = false; + all.filter(function(i) { + bool = (i === character); + }); + return bool; + } + + + function heComes(text, options) { + var result = ''; + var counts; + var l; + options = options || {}; + options['up'] = + typeof options['up'] !== 'undefined' ? options['up'] : true; + options['mid'] = + typeof options['mid'] !== 'undefined' ? options['mid'] : true; + options['down'] = + typeof options['down'] !== 'undefined' ? options['down'] : true; + options['size'] = + typeof options['size'] !== 'undefined' ? options['size'] : 'maxi'; + text = text.split(''); + for (l in text) { + if (isChar(l)) { + continue; + } + result = result + text[l]; + counts = {'up': 0, 'down': 0, 'mid': 0}; + switch (options.size) { + case 'mini': + counts.up = randomNumber(8); + counts.mid = randomNumber(2); + counts.down = randomNumber(8); + break; + case 'maxi': + counts.up = randomNumber(16) + 3; + counts.mid = randomNumber(4) + 1; + counts.down = randomNumber(64) + 3; + break; + default: + counts.up = randomNumber(8) + 1; + counts.mid = randomNumber(6) / 2; + counts.down = randomNumber(8) + 1; + break; + } + + var arr = ['up', 'mid', 'down']; + for (var d in arr) { + var index = arr[d]; + for (var i = 0; i <= counts[index]; i++) { + if (options[index]) { + result = result + soul[index][randomNumber(soul[index].length)]; + } + } + } + } + return result; + } + // don't summon him + return heComes(text, options); +}; + diff --git a/node_modules/@colors/colors/lib/extendStringPrototype.js b/node_modules/@colors/colors/lib/extendStringPrototype.js new file mode 100644 index 0000000..46fd386 --- /dev/null +++ b/node_modules/@colors/colors/lib/extendStringPrototype.js @@ -0,0 +1,110 @@ +var colors = require('./colors'); + +module['exports'] = function() { + // + // Extends prototype of native string object to allow for "foo".red syntax + // + var addProperty = function(color, func) { + String.prototype.__defineGetter__(color, func); + }; + + addProperty('strip', function() { + return colors.strip(this); + }); + + addProperty('stripColors', function() { + return colors.strip(this); + }); + + addProperty('trap', function() { + return colors.trap(this); + }); + + addProperty('zalgo', function() { + return colors.zalgo(this); + }); + + addProperty('zebra', function() { + return colors.zebra(this); + }); + + addProperty('rainbow', function() { + return colors.rainbow(this); + }); + + addProperty('random', function() { + return colors.random(this); + }); + + addProperty('america', function() { + return colors.america(this); + }); + + // + // Iterate through all default styles and colors + // + var x = Object.keys(colors.styles); + x.forEach(function(style) { + addProperty(style, function() { + return colors.stylize(this, style); + }); + }); + + function applyTheme(theme) { + // + // Remark: This is a list of methods that exist + // on String that you should not overwrite. + // + var stringPrototypeBlacklist = [ + '__defineGetter__', '__defineSetter__', '__lookupGetter__', + '__lookupSetter__', 'charAt', 'constructor', 'hasOwnProperty', + 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 'toString', + 'valueOf', 'charCodeAt', 'indexOf', 'lastIndexOf', 'length', + 'localeCompare', 'match', 'repeat', 'replace', 'search', 'slice', + 'split', 'substring', 'toLocaleLowerCase', 'toLocaleUpperCase', + 'toLowerCase', 'toUpperCase', 'trim', 'trimLeft', 'trimRight', + ]; + + Object.keys(theme).forEach(function(prop) { + if (stringPrototypeBlacklist.indexOf(prop) !== -1) { + console.log('warn: '.red + ('String.prototype' + prop).magenta + + ' is probably something you don\'t want to override. ' + + 'Ignoring style name'); + } else { + if (typeof(theme[prop]) === 'string') { + colors[prop] = colors[theme[prop]]; + addProperty(prop, function() { + return colors[prop](this); + }); + } else { + var themePropApplicator = function(str) { + var ret = str || this; + for (var t = 0; t < theme[prop].length; t++) { + ret = colors[theme[prop][t]](ret); + } + return ret; + }; + addProperty(prop, themePropApplicator); + colors[prop] = function(str) { + return themePropApplicator(str); + }; + } + } + }); + } + + colors.setTheme = function(theme) { + if (typeof theme === 'string') { + console.log('colors.setTheme now only accepts an object, not a string. ' + + 'If you are trying to set a theme from a file, it is now your (the ' + + 'caller\'s) responsibility to require the file. The old syntax ' + + 'looked like colors.setTheme(__dirname + ' + + '\'/../themes/generic-logging.js\'); The new syntax looks like '+ + 'colors.setTheme(require(__dirname + ' + + '\'/../themes/generic-logging.js\'));'); + return; + } else { + applyTheme(theme); + } + }; +}; diff --git a/node_modules/@colors/colors/lib/index.js b/node_modules/@colors/colors/lib/index.js new file mode 100644 index 0000000..8cdc29f --- /dev/null +++ b/node_modules/@colors/colors/lib/index.js @@ -0,0 +1,13 @@ +var colors = require('./colors'); +module['exports'] = colors; + +// Remark: By default, colors will add style properties to String.prototype. +// +// If you don't wish to extend String.prototype, you can do this instead and +// native String will not be touched: +// +// var colors = require('@colors/colors/safe'); +// colors.red("foo") +// +// +require('./extendStringPrototype')(); diff --git a/node_modules/@colors/colors/lib/maps/america.js b/node_modules/@colors/colors/lib/maps/america.js new file mode 100644 index 0000000..dc96903 --- /dev/null +++ b/node_modules/@colors/colors/lib/maps/america.js @@ -0,0 +1,10 @@ +module['exports'] = function(colors) { + return function(letter, i, exploded) { + if (letter === ' ') return letter; + switch (i%3) { + case 0: return colors.red(letter); + case 1: return colors.white(letter); + case 2: return colors.blue(letter); + } + }; +}; diff --git a/node_modules/@colors/colors/lib/maps/rainbow.js b/node_modules/@colors/colors/lib/maps/rainbow.js new file mode 100644 index 0000000..2b00ac0 --- /dev/null +++ b/node_modules/@colors/colors/lib/maps/rainbow.js @@ -0,0 +1,12 @@ +module['exports'] = function(colors) { + // RoY G BiV + var rainbowColors = ['red', 'yellow', 'green', 'blue', 'magenta']; + return function(letter, i, exploded) { + if (letter === ' ') { + return letter; + } else { + return colors[rainbowColors[i++ % rainbowColors.length]](letter); + } + }; +}; + diff --git a/node_modules/@colors/colors/lib/maps/random.js b/node_modules/@colors/colors/lib/maps/random.js new file mode 100644 index 0000000..3d82a39 --- /dev/null +++ b/node_modules/@colors/colors/lib/maps/random.js @@ -0,0 +1,11 @@ +module['exports'] = function(colors) { + var available = ['underline', 'inverse', 'grey', 'yellow', 'red', 'green', + 'blue', 'white', 'cyan', 'magenta', 'brightYellow', 'brightRed', + 'brightGreen', 'brightBlue', 'brightWhite', 'brightCyan', 'brightMagenta']; + return function(letter, i, exploded) { + return letter === ' ' ? letter : + colors[ + available[Math.round(Math.random() * (available.length - 2))] + ](letter); + }; +}; diff --git a/node_modules/@colors/colors/lib/maps/zebra.js b/node_modules/@colors/colors/lib/maps/zebra.js new file mode 100644 index 0000000..fa73623 --- /dev/null +++ b/node_modules/@colors/colors/lib/maps/zebra.js @@ -0,0 +1,5 @@ +module['exports'] = function(colors) { + return function(letter, i, exploded) { + return i % 2 === 0 ? letter : colors.inverse(letter); + }; +}; diff --git a/node_modules/@colors/colors/lib/styles.js b/node_modules/@colors/colors/lib/styles.js new file mode 100644 index 0000000..011dafd --- /dev/null +++ b/node_modules/@colors/colors/lib/styles.js @@ -0,0 +1,95 @@ +/* +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +*/ + +var styles = {}; +module['exports'] = styles; + +var codes = { + reset: [0, 0], + + bold: [1, 22], + dim: [2, 22], + italic: [3, 23], + underline: [4, 24], + inverse: [7, 27], + hidden: [8, 28], + strikethrough: [9, 29], + + black: [30, 39], + red: [31, 39], + green: [32, 39], + yellow: [33, 39], + blue: [34, 39], + magenta: [35, 39], + cyan: [36, 39], + white: [37, 39], + gray: [90, 39], + grey: [90, 39], + + brightRed: [91, 39], + brightGreen: [92, 39], + brightYellow: [93, 39], + brightBlue: [94, 39], + brightMagenta: [95, 39], + brightCyan: [96, 39], + brightWhite: [97, 39], + + bgBlack: [40, 49], + bgRed: [41, 49], + bgGreen: [42, 49], + bgYellow: [43, 49], + bgBlue: [44, 49], + bgMagenta: [45, 49], + bgCyan: [46, 49], + bgWhite: [47, 49], + bgGray: [100, 49], + bgGrey: [100, 49], + + bgBrightRed: [101, 49], + bgBrightGreen: [102, 49], + bgBrightYellow: [103, 49], + bgBrightBlue: [104, 49], + bgBrightMagenta: [105, 49], + bgBrightCyan: [106, 49], + bgBrightWhite: [107, 49], + + // legacy styles for colors pre v1.0.0 + blackBG: [40, 49], + redBG: [41, 49], + greenBG: [42, 49], + yellowBG: [43, 49], + blueBG: [44, 49], + magentaBG: [45, 49], + cyanBG: [46, 49], + whiteBG: [47, 49], + +}; + +Object.keys(codes).forEach(function(key) { + var val = codes[key]; + var style = styles[key] = []; + style.open = '\u001b[' + val[0] + 'm'; + style.close = '\u001b[' + val[1] + 'm'; +}); diff --git a/node_modules/@colors/colors/lib/system/has-flag.js b/node_modules/@colors/colors/lib/system/has-flag.js new file mode 100644 index 0000000..85f176a --- /dev/null +++ b/node_modules/@colors/colors/lib/system/has-flag.js @@ -0,0 +1,35 @@ +/* +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + +'use strict'; + +module.exports = function(flag, argv) { + argv = argv || process.argv || []; + + var terminatorPos = argv.indexOf('--'); + var prefix = /^-{1,2}/.test(flag) ? '' : '--'; + var pos = argv.indexOf(prefix + flag); + + return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos); +}; diff --git a/node_modules/@colors/colors/lib/system/supports-colors.js b/node_modules/@colors/colors/lib/system/supports-colors.js new file mode 100644 index 0000000..f1f9c8f --- /dev/null +++ b/node_modules/@colors/colors/lib/system/supports-colors.js @@ -0,0 +1,151 @@ +/* +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +*/ + +'use strict'; + +var os = require('os'); +var hasFlag = require('./has-flag.js'); + +var env = process.env; + +var forceColor = void 0; +if (hasFlag('no-color') || hasFlag('no-colors') || hasFlag('color=false')) { + forceColor = false; +} else if (hasFlag('color') || hasFlag('colors') || hasFlag('color=true') + || hasFlag('color=always')) { + forceColor = true; +} +if ('FORCE_COLOR' in env) { + forceColor = env.FORCE_COLOR.length === 0 + || parseInt(env.FORCE_COLOR, 10) !== 0; +} + +function translateLevel(level) { + if (level === 0) { + return false; + } + + return { + level: level, + hasBasic: true, + has256: level >= 2, + has16m: level >= 3, + }; +} + +function supportsColor(stream) { + if (forceColor === false) { + return 0; + } + + if (hasFlag('color=16m') || hasFlag('color=full') + || hasFlag('color=truecolor')) { + return 3; + } + + if (hasFlag('color=256')) { + return 2; + } + + if (stream && !stream.isTTY && forceColor !== true) { + return 0; + } + + var min = forceColor ? 1 : 0; + + if (process.platform === 'win32') { + // Node.js 7.5.0 is the first version of Node.js to include a patch to + // libuv that enables 256 color output on Windows. Anything earlier and it + // won't work. However, here we target Node.js 8 at minimum as it is an LTS + // release, and Node.js 7 is not. Windows 10 build 10586 is the first + // Windows release that supports 256 colors. Windows 10 build 14931 is the + // first release that supports 16m/TrueColor. + var osRelease = os.release().split('.'); + if (Number(process.versions.node.split('.')[0]) >= 8 + && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) { + return Number(osRelease[2]) >= 14931 ? 3 : 2; + } + + return 1; + } + + if ('CI' in env) { + if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI'].some(function(sign) { + return sign in env; + }) || env.CI_NAME === 'codeship') { + return 1; + } + + return min; + } + + if ('TEAMCITY_VERSION' in env) { + return (/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0 + ); + } + + if ('TERM_PROGRAM' in env) { + var version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10); + + switch (env.TERM_PROGRAM) { + case 'iTerm.app': + return version >= 3 ? 3 : 2; + case 'Hyper': + return 3; + case 'Apple_Terminal': + return 2; + // No default + } + } + + if (/-256(color)?$/i.test(env.TERM)) { + return 2; + } + + if (/^screen|^xterm|^vt100|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) { + return 1; + } + + if ('COLORTERM' in env) { + return 1; + } + + if (env.TERM === 'dumb') { + return min; + } + + return min; +} + +function getSupportLevel(stream) { + var level = supportsColor(stream); + return translateLevel(level); +} + +module.exports = { + supportsColor: getSupportLevel, + stdout: getSupportLevel(process.stdout), + stderr: getSupportLevel(process.stderr), +}; diff --git a/node_modules/@colors/colors/package.json b/node_modules/@colors/colors/package.json new file mode 100644 index 0000000..01d5f9f --- /dev/null +++ b/node_modules/@colors/colors/package.json @@ -0,0 +1,45 @@ +{ + "name": "@colors/colors", + "description": "get colors in your node.js console", + "version": "1.6.0", + "author": "DABH", + "contributors": [ + { + "name": "DABH", + "url": "https://github.com/DABH" + } + ], + "homepage": "https://github.com/DABH/colors.js", + "bugs": "https://github.com/DABH/colors.js/issues", + "keywords": [ + "ansi", + "terminal", + "colors" + ], + "repository": { + "type": "git", + "url": "http://github.com/DABH/colors.js.git" + }, + "license": "MIT", + "scripts": { + "lint": "eslint . --fix", + "test": "export FORCE_COLOR=1 && node tests/basic-test.js && node tests/safe-test.js" + }, + "engines": { + "node": ">=0.1.90" + }, + "main": "lib/index.js", + "files": [ + "examples", + "lib", + "LICENSE", + "safe.js", + "themes", + "index.d.ts", + "safe.d.ts" + ], + "devDependencies": { + "eslint": "^8.9.0", + "eslint-config-google": "^0.14.0" + } +} diff --git a/node_modules/@colors/colors/safe.d.ts b/node_modules/@colors/colors/safe.d.ts new file mode 100644 index 0000000..6958915 --- /dev/null +++ b/node_modules/@colors/colors/safe.d.ts @@ -0,0 +1,64 @@ +// Type definitions for Colors.js 1.2 +// Project: https://github.com/Marak/colors.js +// Definitions by: Bart van der Schoor , Staffan Eketorp +// Definitions: https://github.com/Marak/colors.js + +export const enabled: boolean; +export function enable(): void; +export function disable(): void; +export function setTheme(theme: any): void; + +export function strip(str: string): string; +export function stripColors(str: string): string; + +export function black(str: string): string; +export function red(str: string): string; +export function green(str: string): string; +export function yellow(str: string): string; +export function blue(str: string): string; +export function magenta(str: string): string; +export function cyan(str: string): string; +export function white(str: string): string; +export function gray(str: string): string; +export function grey(str: string): string; + +export function brightRed(str: string): string; +export function brightGreen(str: string): string; +export function brightYellow(str: string): string; +export function brightBlue(str: string): string; +export function brightMagenta(str: string): string; +export function brightCyan(str: string): string; +export function brightWhite(str: string): string; + +export function bgBlack(str: string): string; +export function bgRed(str: string): string; +export function bgGreen(str: string): string; +export function bgYellow(str: string): string; +export function bgBlue(str: string): string; +export function bgMagenta(str: string): string; +export function bgCyan(str: string): string; +export function bgWhite(str: string): string; + +export function bgBrightRed(str: string): string; +export function bgBrightGreen(str: string): string; +export function bgBrightYellow(str: string): string; +export function bgBrightBlue(str: string): string; +export function bgBrightMagenta(str: string): string; +export function bgBrightCyan(str: string): string; +export function bgBrightWhite(str: string): string; + +export function reset(str: string): string; +export function bold(str: string): string; +export function dim(str: string): string; +export function italic(str: string): string; +export function underline(str: string): string; +export function inverse(str: string): string; +export function hidden(str: string): string; +export function strikethrough(str: string): string; + +export function rainbow(str: string): string; +export function zebra(str: string): string; +export function america(str: string): string; +export function trap(str: string): string; +export function random(str: string): string; +export function zalgo(str: string): string; diff --git a/node_modules/@colors/colors/safe.js b/node_modules/@colors/colors/safe.js new file mode 100644 index 0000000..a013d54 --- /dev/null +++ b/node_modules/@colors/colors/safe.js @@ -0,0 +1,10 @@ +// +// Remark: Requiring this file will use the "safe" colors API, +// which will not touch String.prototype. +// +// var colors = require('colors/safe'); +// colors.red("foo") +// +// +var colors = require('./lib/colors'); +module['exports'] = colors; diff --git a/node_modules/@colors/colors/themes/generic-logging.js b/node_modules/@colors/colors/themes/generic-logging.js new file mode 100644 index 0000000..63adfe4 --- /dev/null +++ b/node_modules/@colors/colors/themes/generic-logging.js @@ -0,0 +1,12 @@ +module['exports'] = { + silly: 'rainbow', + input: 'grey', + verbose: 'cyan', + prompt: 'grey', + info: 'green', + data: 'grey', + help: 'cyan', + warn: 'yellow', + debug: 'blue', + error: 'red', +}; diff --git a/node_modules/@dabh/diagnostics/CHANGELOG.md b/node_modules/@dabh/diagnostics/CHANGELOG.md new file mode 100644 index 0000000..b04af38 --- /dev/null +++ b/node_modules/@dabh/diagnostics/CHANGELOG.md @@ -0,0 +1,26 @@ +# CHANGELOG + +### 2.0.2 + +- Bump to kuler 2.0, which removes colornames as dependency, which we + never used. So smaller install size, less dependencies for all. + +### 2.0.1 + +- Use `storag-engine@3.0` which will automatically detect the correct + AsyncStorage implementation. +- The upgrade also fixes a bug where it the `debug` and `diagnostics` values + to be JSON encoded instead of regular plain text. + +### 2.0.0 + +- Documentation improvements. +- Fixed a issue where async adapters were incorrectly detected. +- Correctly inherit colors after applying colors the browser's console. + +### 2.0.0-alpha + +- Complete rewrite of all internals, now comes with separate builds for `browser` + `node` and `react-native` as well as dedicated builds for `production` and + `development` environments. Various utility methods and properties have + been added to the returned logger to make your lives even easier. diff --git a/node_modules/@dabh/diagnostics/LICENSE b/node_modules/@dabh/diagnostics/LICENSE new file mode 100644 index 0000000..9beaab1 --- /dev/null +++ b/node_modules/@dabh/diagnostics/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2015 Arnout Kazemier, Martijn Swaagman, the Contributors. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@dabh/diagnostics/README.md b/node_modules/@dabh/diagnostics/README.md new file mode 100644 index 0000000..0cd2519 --- /dev/null +++ b/node_modules/@dabh/diagnostics/README.md @@ -0,0 +1,473 @@ +# `diagnostics` + +Diagnostics in the evolution of debug pattern that is used in the Node.js core, +this extremely small but powerful technique can best be compared as feature +flags for loggers. The created debug logger is disabled by default but can be +enabled without changing a line of code, using flags. + +- Allows debugging in multiple JavaScript environments such as Node.js, browsers + and React-Native. +- Separated development and production builds to minimize impact on your + application when bundled. +- Allows for customization of logger, messages, and much more. + +![Output Example](example.png) + +## Installation + +The module is released in the public npm registry and can be installed by +running: + +``` +npm install --save @dabh/diagnostics +``` + +## Usage + +- [Introduction](#introduction) +- [Advanced usage](#advanced-usage) + - [Production and development builds](#production-and-development-builds) + - [WebPack](#webpack) + - [Node.js](#nodejs) +- [API](#api) + - [.enabled](#enabled) + - [.namespace](#namespace) + - [.dev/prod](#devprod) + - [set](#set) + - [modify](#modify) + - [use](#use) +- [Modifiers](#modifiers) + - [namespace](#namespace-1) +- [Adapters](#adapters) + - [process.env](#process-env) + - [hash](#hash) + - [localStorage](#localstorage) + - [AsyncStorage](#asyncstorage) +- [Loggers](#loggers) + +### Introduction + +To create a new logger simply `require` the `@dabh/diagnostics` module and call +the returned function. It accepts 2 arguments: + +1. `namespace` **Required** This is the namespace of your logger so we know if we need to + enable your logger when a debug flag is used. Generally you use the name of + your library or application as first root namespace. For example if you're + building a parser in a library (example) you would set namespace + `example:parser`. +2. `options` An object with additional configuration for the logger. + following keys are recognized: + - `force` Force the logger to be enabled. + - `colors` Colors are enabled by default for the logs, but you can set this + option to `false` to disable it. + +```js +const debug = require('@dabh/diagnostics')('foo:bar:baz'); +const debug = require('@dabh/diagnostics')('foo:bar:baz', { options }); + +debug('this is a log message %s', 'that will only show up when enabled'); +debug('that is pretty neat', { log: 'more', data: 1337 }); +``` + +Unlike `console.log` statements that add and remove during your development +lifecycle you create meaningful log statements that will give you insight in +the library or application that you're developing. + +The created debugger uses different "adapters" to extract the debug flag +out of the JavaScript environment. To learn more about enabling the debug flag +in your specific environment click on one of the enabled adapters below. + +- **browser**: [localStorage](#localstorage), [hash](#hash) +- **node.js**: [environment variables](#processenv) +- **react-native**: [AsyncStorage](#asyncstorage) + +Please note that the returned logger is fully configured out of the box, you +do not need to set any of the adapters/modifiers your self, they are there +for when you want more advanced control over the process. But if you want to +learn more about that, read the next section. + +### Advanced usage + +There are 2 specific usage patterns for `diagnostic`, library developers who +implement it as part of their modules and applications developers who either +use it in their application or are searching for ways to consume the messages. + +With the simple log interface as discussed in the [introduction](#introduction) +section we make it easy for developers to add it as part of their libraries +and applications, and with powerful [API](#api) we allow infinite customization +by allowing custom adapters, loggers and modifiers to ensure that this library +maintains relevant. These methods not only allow introduction of new loggers, +but allow you think outside the box. For example you can maintain a history +of past log messages, and output those when an uncaught exception happens in +your application so you have additional context + +```js +const diagnostics = require('@dabh/diagnostics'); + +let index = 0; +const limit = 200; +const history = new Array(limit); + +// +// Force all `diagnostic` loggers to be enabled. +// +diagnostics.force = process.env.NODE_ENV === 'prod'; +diagnostics.set(function customLogger(meta, message) { + history[index]= { meta, message, now: Date.now() }; + if (index++ === limit) index = 0; + + // + // We're running a development build, so output. + // + if (meta.dev) console.log.apply(console, message); +}); + +process.on('uncaughtException', async function (err) { + await saveErrorToDisk(err, history); + process.exit(1); +}); +``` + +The small snippet above will maintain a 200 limited FIFO (First In First Out) +queue of all debug messages that can be referenced when your application crashes + +#### Production and development builds + +When you `require` the `@dabh/diagnostics` module you will be given a logger that is +optimized for `development` so it can provide the best developer experience +possible. + +The development logger enables all the [adapters](#adapters) for your +JavaScript environment, adds a logger that outputs the messages to `console.log` +and registers our message modifiers so log messages will be prefixed with the +supplied namespace so you know where the log messages originates from. + +The development logger does not have any adapter, modifier and logger enabled +by default. This ensures that your log messages never accidentally show up in +production. However this does not mean that it's not possible to get debug +messages in production. You can `force` the debugger to be enabled, and +supply a [custom logger](#loggers). + +```js +const diagnostics = require('@dabh/diagnostics'); +const debug = debug('foo:bar', { force: true }); + +// +// Or enable _every_ diagnostic instance: +// +diagnostics.force = true; +``` + +##### WebPack + +WebPack has the concept of [mode](https://webpack.js.org/concepts/mode/#usage)'s +which creates different + +```js +module.exports = { + mode: 'development' // 'production' +} +``` + +When you are building your app using the WebPack CLI you can use the `--mode` +flag: + +``` +webpack --mode=production app.js -o /dist/bundle.js +``` + +##### Node.js + +When you are running your app using `Node.js` you should the `NODE_ENV` +environment variable to `production` to ensure that you libraries that you +import are optimized for production. + +``` +NODE_ENV=production node app.js +``` + +### API + +The returned logger exposes some addition properties that can be used used in +your application or library: + +#### .enabled + +The returned logger will have a `.enabled` property assigned to it. This boolean +can be used to check if the logger was enabled: + +```js +const debug = require('@dabh/diagnostics')('foo:bar'); + +if (debug.enabled) { + // + // Do something special + // +} +``` + +This property is exposed as: + +- Property on the logger. +- Property on the meta/options object. + +#### .namespace + +This is the namespace that you originally provided to the function. + +```js +const debug = require('@dabh/diagnostics')('foo:bar'); + +console.log(debug.namespace); // foo:bar +``` + +This property is exposed as: + +- Property on the logger. +- Property on the meta/options object. + +#### .dev/prod + +There are different builds available of `diagnostics`, when you create a +production build of your application using `NODE_ENV=production` you will be +given an optimized, smaller build of `diagnostics` to reduce your bundle size. +The `dev` and `prod` booleans on the returned logger indicate if you have a +production or development version of the logger. + +```js +const debug = require('@dabh/diagnostics')('foo:bar'); + +if (debug.prod) { + // do stuff +} +``` + +This property is exposed as: + +- Property on the logger. +- Property on the meta/options object. + +#### set + +Sets a new logger as default for **all** `diagnostic` instances. The passed +argument should be a function that write the log messages to where ever you +want. It receives 2 arguments: + +1. `meta` An object with all the options that was provided to the original + logger that wants to write the log message as well as properties of the + debugger such as `prod`, `dev`, `namespace`, `enabled`. See [API](#api) for + all exposed properties. +2. `args` An array of the log messages that needs to be written. + +```js +const debug = require('@dabh/diagnostics')('foo:more:namespaces'); + +debug.use(function logger(meta, args) { + console.log(meta); + console.debug(...args); +}); +``` + +This method is exposed as: + +- Method on the logger. +- Method on the meta/options object. +- Method on `diagnostics` module. + +#### modify + +The modify method allows you add a new message modifier to **all** `diagnostic` +instances. The passed argument should be a function that returns the passed +message after modification. The function receives 2 arguments: + +1. `message`, Array, the log message. +2. `options`, Object, the options that were passed into the logger when it was + initially created. + +```js +const debug = require('@dabh/diagnostics')('example:modifiers'); + +debug.modify(function (message, options) { + return messages; +}); +``` + +This method is exposed as: + +- Method on the logger. +- Method on the meta/options object. +- Method on `diagnostics` module. + +See [modifiers](#modifiers) for more information. + +#### use + +Adds a new `adapter` to **all** `diagnostic` instances. The passed argument +should be a function returns a boolean that indicates if the passed in +`namespace` is allowed to write log messages. + +```js +const diagnostics = require('@dabh/diagnostics'); +const debug = diagnostics('foo:bar'); + +debug.use(function (namespace) { + return namespace === 'foo:bar'; +}); +``` + +This method is exposed as: + +- Method on the logger. +- Method on the meta/options object. +- Method on `diagnostics` module. + +See [adapters](#adapters) for more information. + +### Modifiers + +To be as flexible as possible when it comes to transforming messages we've +come up with the concept of `modifiers` which can enhance the debug messages. +This allows you to introduce functionality or details that you find important +for debug messages, and doesn't require us to add additional bloat to the +`diagnostic` core. + +For example, you want the messages to be prefixed with the date-time of when +the log message occured: + +```js +const diagnostics = require('@dabh/diagnostics'); + +diagnostics.modify(function datetime(args, options) { + args.unshift(new Date()); + return args; +}); +``` + +Now all messages will be prefixed with date that is outputted by `new Date()`. +The following modifiers are shipped with `diagnostics` and are enabled in +**development** mode only: + +- [namespace](#namespace) + +#### namespace + +This modifier is enabled for all debug instances and prefixes the messages +with the name of namespace under which it is logged. The namespace is colored +using the `colorspace` module which groups similar namespaces under the same +colorspace. You can have multiple namespaces for the debuggers where each +namespace should be separated by a `:` + +``` +foo +foo:bar +foo:bar:baz +``` + +For console based output the `namespace-ansi` is used. + +### Adapters + +Adapters allows `diagnostics` to pull the `DEBUG` and `DIAGNOSTICS` environment +variables from different sources. Not every JavaScript environment has a +`process.env` that we can leverage. Adapters allows us to have different +adapters for different environments. It means you can write your own custom +adapter if needed as well. + +The `adapter` function should be passed a function as argument, this function +will receive the `namespace` of a logger as argument and it should return a +boolean that indicates if that logger should be enabled or not. + +```js +const debug = require('@dabh/diagnostics')('example:namespace'); + +debug.adapter(require('@dabh/diagnostics/adapters/localstorage')); +``` + +The modifiers are only enabled for `development`. The following adapters are +available are available: + +#### process.env + +This adapter is enabled for `node.js`. + +Uses the `DEBUG` or `DIAGNOSTICS` (both are recognized) environment variables to +pass in debug flag: + +**UNIX/Linux/Mac** +``` +DEBUG=foo* node index.js +``` + +Using environment variables on Windows is a bit different, and also depends on +toolchain you are using: + +**Windows** +``` +set DEBUG=foo* & node index.js +``` + +**Powershell** +``` +$env:DEBUG='foo*';node index.js +``` + +#### hash + +This adapter is enabled for `browsers`. + +This adapter uses the `window.location.hash` of as source for the environment +variables. It assumes that hash is formatted using the same syntax as query +strings: + +```js +http://example.com/foo/bar#debug=foo* +``` + +It triggers on both the `debug=` and `diagnostics=` names. + +#### localStorage + +This adapter is enabled for `browsers`. + +This adapter uses the `localStorage` of the browser to store the debug flags. +You can set the debug flag your self in your application code, but you can +also open browser WebInspector and enable it through the console. + +```js +localStorage.setItem('debug', 'foo*'); +``` + +It triggers on both the `debug` and `diagnostics` storage items. (Please note +that these keys should be entered in lowercase) + +#### AsyncStorage + +This adapter is enabled for `react-native`. + +This adapter uses the `AsyncStorage` API that is exposed by the `react-native` +library to store and read the `debug` or `diagnostics` storage items. + +```js +import { AsyncStorage } from 'react-native'; + +AsyncStorage.setItem('debug', 'foo*'); +``` + +Unlike other adapters, this is the only adapter that is `async` so that means +that we're not able to instantly determine if a created logger should be +enabled or disabled. So when a logger is created in `react-native` we initially +assume it's disabled, any message that send during period will be queued +internally. + +Once we've received the data from the `AsyncStorage` API we will determine +if the logger should be enabled, flush the queued messages if needed and set +all `enabled` properties accordingly on the returned logger. + +### Loggers + +By default it will log all messages to `console.log` in when the logger is +enabled using the debug flag that is set using one of the adapters. + +## License + +[MIT](LICENSE) diff --git a/node_modules/@dabh/diagnostics/adapters/hash.js b/node_modules/@dabh/diagnostics/adapters/hash.js new file mode 100644 index 0000000..a41aae5 --- /dev/null +++ b/node_modules/@dabh/diagnostics/adapters/hash.js @@ -0,0 +1,11 @@ +var adapter = require('./'); + +/** + * Extracts the values from process.env. + * + * @type {Function} + * @public + */ +module.exports = adapter(function hash() { + return /(debug|diagnostics)=([^&]+)/i.exec(window.location.hash)[2]; +}); diff --git a/node_modules/@dabh/diagnostics/adapters/index.js b/node_modules/@dabh/diagnostics/adapters/index.js new file mode 100644 index 0000000..d60aaea --- /dev/null +++ b/node_modules/@dabh/diagnostics/adapters/index.js @@ -0,0 +1,18 @@ +var enabled = require('enabled'); + +/** + * Creates a new Adapter. + * + * @param {Function} fn Function that returns the value. + * @returns {Function} The adapter logic. + * @public + */ +module.exports = function create(fn) { + return function adapter(namespace) { + try { + return enabled(namespace, fn()); + } catch (e) { /* Any failure means that we found nothing */ } + + return false; + }; +} diff --git a/node_modules/@dabh/diagnostics/adapters/localstorage.js b/node_modules/@dabh/diagnostics/adapters/localstorage.js new file mode 100644 index 0000000..bb88987 --- /dev/null +++ b/node_modules/@dabh/diagnostics/adapters/localstorage.js @@ -0,0 +1,11 @@ +var adapter = require('./'); + +/** + * Extracts the values from process.env. + * + * @type {Function} + * @public + */ +module.exports = adapter(function storage() { + return localStorage.getItem('debug') || localStorage.getItem('diagnostics'); +}); diff --git a/node_modules/@dabh/diagnostics/adapters/process.env.js b/node_modules/@dabh/diagnostics/adapters/process.env.js new file mode 100644 index 0000000..5ab166a --- /dev/null +++ b/node_modules/@dabh/diagnostics/adapters/process.env.js @@ -0,0 +1,11 @@ +var adapter = require('./'); + +/** + * Extracts the values from process.env. + * + * @type {Function} + * @public + */ +module.exports = adapter(function processenv() { + return process.env.DEBUG || process.env.DIAGNOSTICS; +}); diff --git a/node_modules/@dabh/diagnostics/browser/development.js b/node_modules/@dabh/diagnostics/browser/development.js new file mode 100644 index 0000000..e36dfaa --- /dev/null +++ b/node_modules/@dabh/diagnostics/browser/development.js @@ -0,0 +1,35 @@ +var create = require('../diagnostics'); + +/** + * Create a new diagnostics logger. + * + * @param {String} namespace The namespace it should enable. + * @param {Object} options Additional options. + * @returns {Function} The logger. + * @public + */ +var diagnostics = create(function dev(namespace, options) { + options = options || {}; + options.namespace = namespace; + options.prod = false; + options.dev = true; + + if (!dev.enabled(namespace) && !(options.force || dev.force)) { + return dev.nope(options); + } + + return dev.yep(options); +}); + +// +// Configure the logger for the given environment. +// +diagnostics.modify(require('../modifiers/namespace')); +diagnostics.use(require('../adapters/localstorage')); +diagnostics.use(require('../adapters/hash')); +diagnostics.set(require('../logger/console')); + +// +// Expose the diagnostics logger. +// +module.exports = diagnostics; diff --git a/node_modules/@dabh/diagnostics/browser/index.js b/node_modules/@dabh/diagnostics/browser/index.js new file mode 100644 index 0000000..ae0f2f8 --- /dev/null +++ b/node_modules/@dabh/diagnostics/browser/index.js @@ -0,0 +1,8 @@ +// +// Select the correct build version depending on the environment. +// +if (process.env.NODE_ENV === 'production') { + module.exports = require('./production.js'); +} else { + module.exports = require('./development.js'); +} diff --git a/node_modules/@dabh/diagnostics/browser/override.js b/node_modules/@dabh/diagnostics/browser/override.js new file mode 100644 index 0000000..8f36377 --- /dev/null +++ b/node_modules/@dabh/diagnostics/browser/override.js @@ -0,0 +1,6 @@ +var diagnostics = require('./'); + +// +// No way to override `debug` with `diagnostics` in the browser. +// +module.exports = diagnostics; diff --git a/node_modules/@dabh/diagnostics/browser/production.js b/node_modules/@dabh/diagnostics/browser/production.js new file mode 100644 index 0000000..1a19ce3 --- /dev/null +++ b/node_modules/@dabh/diagnostics/browser/production.js @@ -0,0 +1,24 @@ +var create = require('../diagnostics'); + +/** + * Create a new diagnostics logger. + * + * @param {String} namespace The namespace it should enable. + * @param {Object} options Additional options. + * @returns {Function} The logger. + * @public + */ +var diagnostics = create(function prod(namespace, options) { + options = options || {}; + options.namespace = namespace; + options.prod = true; + options.dev = false; + + if (!(options.force || prod.force)) return prod.nope(options); + return prod.yep(options); +}); + +// +// Expose the diagnostics logger. +// +module.exports = diagnostics; diff --git a/node_modules/@dabh/diagnostics/diagnostics.js b/node_modules/@dabh/diagnostics/diagnostics.js new file mode 100644 index 0000000..12dc1f3 --- /dev/null +++ b/node_modules/@dabh/diagnostics/diagnostics.js @@ -0,0 +1,212 @@ +/** + * Contains all configured adapters for the given environment. + * + * @type {Array} + * @public + */ +var adapters = []; + +/** + * Contains all modifier functions. + * + * @typs {Array} + * @public + */ +var modifiers = []; + +/** + * Our default logger. + * + * @public + */ +var logger = function devnull() {}; + +/** + * Register a new adapter that will used to find environments. + * + * @param {Function} adapter A function that will return the possible env. + * @returns {Boolean} Indication of a successful add. + * @public + */ +function use(adapter) { + if (~adapters.indexOf(adapter)) return false; + + adapters.push(adapter); + return true; +} + +/** + * Assign a new log method. + * + * @param {Function} custom The log method. + * @public + */ +function set(custom) { + logger = custom; +} + +/** + * Check if the namespace is allowed by any of our adapters. + * + * @param {String} namespace The namespace that needs to be enabled + * @returns {Boolean|Promise} Indication if the namespace is enabled by our adapters. + * @public + */ +function enabled(namespace) { + var async = []; + + for (var i = 0; i < adapters.length; i++) { + if (adapters[i].async) { + async.push(adapters[i]); + continue; + } + + if (adapters[i](namespace)) return true; + } + + if (!async.length) return false; + + // + // Now that we know that we Async functions, we know we run in an ES6 + // environment and can use all the API's that they offer, in this case + // we want to return a Promise so that we can `await` in React-Native + // for an async adapter. + // + return new Promise(function pinky(resolve) { + Promise.all( + async.map(function prebind(fn) { + return fn(namespace); + }) + ).then(function resolved(values) { + resolve(values.some(Boolean)); + }); + }); +} + +/** + * Add a new message modifier to the debugger. + * + * @param {Function} fn Modification function. + * @returns {Boolean} Indication of a successful add. + * @public + */ +function modify(fn) { + if (~modifiers.indexOf(fn)) return false; + + modifiers.push(fn); + return true; +} + +/** + * Write data to the supplied logger. + * + * @param {Object} meta Meta information about the log. + * @param {Array} args Arguments for console.log. + * @public + */ +function write() { + logger.apply(logger, arguments); +} + +/** + * Process the message with the modifiers. + * + * @param {Mixed} message The message to be transformed by modifers. + * @returns {String} Transformed message. + * @public + */ +function process(message) { + for (var i = 0; i < modifiers.length; i++) { + message = modifiers[i].apply(modifiers[i], arguments); + } + + return message; +} + +/** + * Introduce options to the logger function. + * + * @param {Function} fn Calback function. + * @param {Object} options Properties to introduce on fn. + * @returns {Function} The passed function + * @public + */ +function introduce(fn, options) { + var has = Object.prototype.hasOwnProperty; + + for (var key in options) { + if (has.call(options, key)) { + fn[key] = options[key]; + } + } + + return fn; +} + +/** + * Nope, we're not allowed to write messages. + * + * @returns {Boolean} false + * @public + */ +function nope(options) { + options.enabled = false; + options.modify = modify; + options.set = set; + options.use = use; + + return introduce(function diagnopes() { + return false; + }, options); +} + +/** + * Yep, we're allowed to write debug messages. + * + * @param {Object} options The options for the process. + * @returns {Function} The function that does the logging. + * @public + */ +function yep(options) { + /** + * The function that receives the actual debug information. + * + * @returns {Boolean} indication that we're logging. + * @public + */ + function diagnostics() { + var args = Array.prototype.slice.call(arguments, 0); + + write.call(write, options, process(args, options)); + return true; + } + + options.enabled = true; + options.modify = modify; + options.set = set; + options.use = use; + + return introduce(diagnostics, options); +} + +/** + * Simple helper function to introduce various of helper methods to our given + * diagnostics function. + * + * @param {Function} diagnostics The diagnostics function. + * @returns {Function} diagnostics + * @public + */ +module.exports = function create(diagnostics) { + diagnostics.introduce = introduce; + diagnostics.enabled = enabled; + diagnostics.process = process; + diagnostics.modify = modify; + diagnostics.write = write; + diagnostics.nope = nope; + diagnostics.yep = yep; + diagnostics.set = set; + diagnostics.use = use; + + return diagnostics; +} diff --git a/node_modules/@dabh/diagnostics/logger/console.js b/node_modules/@dabh/diagnostics/logger/console.js new file mode 100644 index 0000000..7423eff --- /dev/null +++ b/node_modules/@dabh/diagnostics/logger/console.js @@ -0,0 +1,19 @@ +/** + * An idiot proof logger to be used as default. We've wrapped it in a try/catch + * statement to ensure the environments without the `console` API do not crash + * as well as an additional fix for ancient browsers like IE8 where the + * `console.log` API doesn't have an `apply`, so we need to use the Function's + * apply functionality to apply the arguments. + * + * @param {Object} meta Options of the logger. + * @param {Array} messages The actuall message that needs to be logged. + * @public + */ +module.exports = function (meta, messages) { + // + // So yea. IE8 doesn't have an apply so we need a work around to puke the + // arguments in place. + // + try { Function.prototype.apply.call(console.log, console, messages); } + catch (e) {} +} diff --git a/node_modules/@dabh/diagnostics/modifiers/namespace-ansi.js b/node_modules/@dabh/diagnostics/modifiers/namespace-ansi.js new file mode 100644 index 0000000..a1f7353 --- /dev/null +++ b/node_modules/@dabh/diagnostics/modifiers/namespace-ansi.js @@ -0,0 +1,20 @@ +var colorspace = require('@so-ric/colorspace'); +var kuler = require('kuler'); + +/** + * Prefix the messages with a colored namespace. + * + * @param {Array} args The messages array that is getting written. + * @param {Object} options Options for diagnostics. + * @returns {Array} Altered messages array. + * @public + */ +module.exports = function ansiModifier(args, options) { + var namespace = options.namespace; + var ansi = options.colors !== false + ? kuler(namespace +':', colorspace(namespace)) + : namespace +':'; + + args[0] = ansi +' '+ args[0]; + return args; +}; diff --git a/node_modules/@dabh/diagnostics/modifiers/namespace.js b/node_modules/@dabh/diagnostics/modifiers/namespace.js new file mode 100644 index 0000000..5a9dd87 --- /dev/null +++ b/node_modules/@dabh/diagnostics/modifiers/namespace.js @@ -0,0 +1,32 @@ +var colorspace = require('@so-ric/colorspace'); + +/** + * Prefix the messages with a colored namespace. + * + * @param {Array} messages The messages array that is getting written. + * @param {Object} options Options for diagnostics. + * @returns {Array} Altered messages array. + * @public + */ +module.exports = function colorNamespace(args, options) { + var namespace = options.namespace; + + if (options.colors === false) { + args[0] = namespace +': '+ args[0]; + return args; + } + + var color = colorspace(namespace); + + // + // The console API supports a special %c formatter in browsers. This is used + // to style console messages with any CSS styling, in our case we want to + // use colorize the namespace for clarity. As these are formatters, and + // we need to inject our CSS string as second messages argument so it + // gets picked up correctly. + // + args[0] = '%c'+ namespace +':%c '+ args[0]; + args.splice(1, 0, 'color:'+ color, 'color:inherit'); + + return args; +}; diff --git a/node_modules/@dabh/diagnostics/node/development.js b/node_modules/@dabh/diagnostics/node/development.js new file mode 100644 index 0000000..51dc51b --- /dev/null +++ b/node_modules/@dabh/diagnostics/node/development.js @@ -0,0 +1,36 @@ +var create = require('../diagnostics'); +var tty = require('tty').isatty(1); + +/** + * Create a new diagnostics logger. + * + * @param {String} namespace The namespace it should enable. + * @param {Object} options Additional options. + * @returns {Function} The logger. + * @public + */ +var diagnostics = create(function dev(namespace, options) { + options = options || {}; + options.colors = 'colors' in options ? options.colors : tty; + options.namespace = namespace; + options.prod = false; + options.dev = true; + + if (!dev.enabled(namespace) && !(options.force || dev.force)) { + return dev.nope(options); + } + + return dev.yep(options); +}); + +// +// Configure the logger for the given environment. +// +diagnostics.modify(require('../modifiers/namespace-ansi')); +diagnostics.use(require('../adapters/process.env')); +diagnostics.set(require('../logger/console')); + +// +// Expose the diagnostics logger. +// +module.exports = diagnostics; diff --git a/node_modules/@dabh/diagnostics/node/index.js b/node_modules/@dabh/diagnostics/node/index.js new file mode 100644 index 0000000..ae0f2f8 --- /dev/null +++ b/node_modules/@dabh/diagnostics/node/index.js @@ -0,0 +1,8 @@ +// +// Select the correct build version depending on the environment. +// +if (process.env.NODE_ENV === 'production') { + module.exports = require('./production.js'); +} else { + module.exports = require('./development.js'); +} diff --git a/node_modules/@dabh/diagnostics/node/override.js b/node_modules/@dabh/diagnostics/node/override.js new file mode 100644 index 0000000..936e28b --- /dev/null +++ b/node_modules/@dabh/diagnostics/node/override.js @@ -0,0 +1,21 @@ +const diagnostics = require('./'); + +// +// Override the existing `debug` call so it will use `diagnostics` instead +// of the `debug` module. +// +try { + var key = require.resolve('debug'); + + require.cache[key] = { + exports: diagnostics, + filename: key, + loaded: true, + id: key + }; +} catch (e) { /* We don't really care if it fails */ } + +// +// Export the default import as exports again. +// +module.exports = diagnostics; diff --git a/node_modules/@dabh/diagnostics/node/production.js b/node_modules/@dabh/diagnostics/node/production.js new file mode 100644 index 0000000..1a19ce3 --- /dev/null +++ b/node_modules/@dabh/diagnostics/node/production.js @@ -0,0 +1,24 @@ +var create = require('../diagnostics'); + +/** + * Create a new diagnostics logger. + * + * @param {String} namespace The namespace it should enable. + * @param {Object} options Additional options. + * @returns {Function} The logger. + * @public + */ +var diagnostics = create(function prod(namespace, options) { + options = options || {}; + options.namespace = namespace; + options.prod = true; + options.dev = false; + + if (!(options.force || prod.force)) return prod.nope(options); + return prod.yep(options); +}); + +// +// Expose the diagnostics logger. +// +module.exports = diagnostics; diff --git a/node_modules/@dabh/diagnostics/package.json b/node_modules/@dabh/diagnostics/package.json new file mode 100644 index 0000000..89f8650 --- /dev/null +++ b/node_modules/@dabh/diagnostics/package.json @@ -0,0 +1,64 @@ +{ + "name": "@dabh/diagnostics", + "version": "2.0.8", + "description": "Tools for debugging your node.js modules and event loop", + "main": "./node", + "browser": "./browser", + "scripts": { + "test:basic": "mocha --require test/mock.js test/*.test.js", + "test:node": "mocha --require test/mock test/node.js", + "test:browser": "mocha --require test/mock test/browser.js", + "test:runner": "npm run test:basic && npm run test:node && npm run test:browser", + "webpack:node:prod": "webpack --mode=production node/index.js -o /dev/null --json | webpack-bundle-size-analyzer", + "webpack:node:dev": "webpack --mode=development node/index.js -o /dev/null --json | webpack-bundle-size-analyzer", + "webpack:browser:prod": "webpack --mode=production browser/index.js -o /dev/null --json | webpack-bundle-size-analyzer", + "webpack:browser:dev": "webpack --mode=development browser/index.js -o /dev/null --json | webpack-bundle-size-analyzer", + "test": "nyc --reporter=text --reporter=lcov npm run test:runner" + }, + "repository": { + "type": "git", + "url": "git://github.com/DABH/diagnostics.git" + }, + "keywords": [ + "debug", + "debugger", + "debugging", + "diagnostic", + "diagnostics", + "event", + "loop", + "metrics", + "stats" + ], + "author": "Arnout Kazemier", + "license": "MIT", + "bugs": { + "url": "https://github.com/DABH/diagnostics/issues" + }, + "homepage": "https://github.com/DABH/diagnostics", + "devDependencies": { + "assume": "2.3.x", + "asyncstorageapi": "^1.0.2", + "mocha": "^11.7.2", + "nyc": "^17.1.0", + "objstorage": "^1.0.0", + "pre-commit": "github:metcalfc/pre-commit#b36c649fd5348d7604a86b7b2f3429c780d1478f", + "require-poisoning": "^2.0.0", + "webpack": "5.x", + "webpack-bundle-size-analyzer": "^3.0.0", + "webpack-cli": "6.x" + }, + "dependencies": { + "@so-ric/colorspace": "^1.1.6", + "enabled": "2.0.x", + "kuler": "^2.0.0" + }, + "contributors": [ + "Martijn Swaagman (https://github.com/swaagie)", + "Jarrett Cruger (https://github.com/jcrugzz)", + "Sevastos (https://github.com/sevastos)" + ], + "directories": { + "test": "test" + } +} diff --git a/node_modules/@ioredis/commands/LICENSE b/node_modules/@ioredis/commands/LICENSE new file mode 100644 index 0000000..8931fa9 --- /dev/null +++ b/node_modules/@ioredis/commands/LICENSE @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) 2022 Zihua Li +Copyright (c) 2015 NodeRedis + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/node_modules/@ioredis/commands/README.md b/node_modules/@ioredis/commands/README.md new file mode 100644 index 0000000..2649696 --- /dev/null +++ b/node_modules/@ioredis/commands/README.md @@ -0,0 +1,43 @@ +# Redis Commands + +This module exports all the commands that Redis supports. + +## Install + +```shell +$ npm install @ioredis/commands +``` + +## Usage + +```js +const commands = require('@ioredis/commands'); +``` + +`.list` is an array contains all the lowercased commands: + +```js +commands.list.forEach((command) => { + console.log(command); +}); +``` + +`.exists()` is used to check if the command exists: + +```js +commands.exists('set') // true +commands.exists('other-command') // false +``` + +`.hasFlag()` is used to check if the command has the flag: + +```js +commands.hasFlag('set', 'readonly') // false +``` + +`.getKeyIndexes()` is used to get the indexes of keys in the command arguments: + +```js +commands.getKeyIndexes('set', ['key', 'value']) // [0] +commands.getKeyIndexes('mget', ['key1', 'key2']) // [0, 1] +``` diff --git a/node_modules/@ioredis/commands/built/commands.json b/node_modules/@ioredis/commands/built/commands.json new file mode 100644 index 0000000..4004701 --- /dev/null +++ b/node_modules/@ioredis/commands/built/commands.json @@ -0,0 +1,2578 @@ +{ + "acl": { + "arity": -2, + "flags": [], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "append": { + "arity": 3, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "asking": { + "arity": 1, + "flags": [ + "fast" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "auth": { + "arity": -2, + "flags": [ + "noscript", + "loading", + "stale", + "fast", + "no_auth", + "allow_busy" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "bgrewriteaof": { + "arity": 1, + "flags": [ + "admin", + "noscript", + "no_async_loading" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "bgsave": { + "arity": -1, + "flags": [ + "admin", + "noscript", + "no_async_loading" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "bitcount": { + "arity": -2, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "bitfield": { + "arity": -2, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "bitfield_ro": { + "arity": -2, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "bitop": { + "arity": -4, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 2, + "keyStop": -1, + "step": 1 + }, + "bitpos": { + "arity": -3, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "blmove": { + "arity": 6, + "flags": [ + "write", + "denyoom", + "noscript", + "blocking" + ], + "keyStart": 1, + "keyStop": 2, + "step": 1 + }, + "blmpop": { + "arity": -5, + "flags": [ + "write", + "blocking", + "movablekeys" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "blpop": { + "arity": -3, + "flags": [ + "write", + "noscript", + "blocking" + ], + "keyStart": 1, + "keyStop": -2, + "step": 1 + }, + "brpop": { + "arity": -3, + "flags": [ + "write", + "noscript", + "blocking" + ], + "keyStart": 1, + "keyStop": -2, + "step": 1 + }, + "brpoplpush": { + "arity": 4, + "flags": [ + "write", + "denyoom", + "noscript", + "blocking" + ], + "keyStart": 1, + "keyStop": 2, + "step": 1 + }, + "bzmpop": { + "arity": -5, + "flags": [ + "write", + "blocking", + "movablekeys" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "bzpopmax": { + "arity": -3, + "flags": [ + "write", + "noscript", + "blocking", + "fast" + ], + "keyStart": 1, + "keyStop": -2, + "step": 1 + }, + "bzpopmin": { + "arity": -3, + "flags": [ + "write", + "noscript", + "blocking", + "fast" + ], + "keyStart": 1, + "keyStop": -2, + "step": 1 + }, + "client": { + "arity": -2, + "flags": [], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "cluster": { + "arity": -2, + "flags": [], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "command": { + "arity": -1, + "flags": [ + "loading", + "stale" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "config": { + "arity": -2, + "flags": [], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "copy": { + "arity": -3, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": 2, + "step": 1 + }, + "dbsize": { + "arity": 1, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "debug": { + "arity": -2, + "flags": [ + "admin", + "noscript", + "loading", + "stale" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "decr": { + "arity": 2, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "decrby": { + "arity": 3, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "del": { + "arity": -2, + "flags": [ + "write" + ], + "keyStart": 1, + "keyStop": -1, + "step": 1 + }, + "discard": { + "arity": 1, + "flags": [ + "noscript", + "loading", + "stale", + "fast", + "allow_busy" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "dump": { + "arity": 2, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "echo": { + "arity": 2, + "flags": [ + "fast" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "eval": { + "arity": -3, + "flags": [ + "noscript", + "stale", + "skip_monitor", + "no_mandatory_keys", + "movablekeys" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "eval_ro": { + "arity": -3, + "flags": [ + "readonly", + "noscript", + "stale", + "skip_monitor", + "no_mandatory_keys", + "movablekeys" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "evalsha": { + "arity": -3, + "flags": [ + "noscript", + "stale", + "skip_monitor", + "no_mandatory_keys", + "movablekeys" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "evalsha_ro": { + "arity": -3, + "flags": [ + "readonly", + "noscript", + "stale", + "skip_monitor", + "no_mandatory_keys", + "movablekeys" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "exec": { + "arity": 1, + "flags": [ + "noscript", + "loading", + "stale", + "skip_slowlog" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "exists": { + "arity": -2, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": -1, + "step": 1 + }, + "expire": { + "arity": -3, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "expireat": { + "arity": -3, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "expiretime": { + "arity": 2, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "failover": { + "arity": -1, + "flags": [ + "admin", + "noscript", + "stale" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "fcall": { + "arity": -3, + "flags": [ + "noscript", + "stale", + "skip_monitor", + "no_mandatory_keys", + "movablekeys" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "fcall_ro": { + "arity": -3, + "flags": [ + "readonly", + "noscript", + "stale", + "skip_monitor", + "no_mandatory_keys", + "movablekeys" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "flushall": { + "arity": -1, + "flags": [ + "write" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "flushdb": { + "arity": -1, + "flags": [ + "write" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "function": { + "arity": -2, + "flags": [], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "geoadd": { + "arity": -5, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "geodist": { + "arity": -4, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "geohash": { + "arity": -2, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "geopos": { + "arity": -2, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "georadius": { + "arity": -6, + "flags": [ + "write", + "denyoom", + "movablekeys" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "georadius_ro": { + "arity": -6, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "georadiusbymember": { + "arity": -5, + "flags": [ + "write", + "denyoom", + "movablekeys" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "georadiusbymember_ro": { + "arity": -5, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "geosearch": { + "arity": -7, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "geosearchstore": { + "arity": -8, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": 2, + "step": 1 + }, + "get": { + "arity": 2, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "getbit": { + "arity": 3, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "getdel": { + "arity": 2, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "getex": { + "arity": -2, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "getrange": { + "arity": 4, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "getset": { + "arity": 3, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hdel": { + "arity": -3, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hello": { + "arity": -1, + "flags": [ + "noscript", + "loading", + "stale", + "fast", + "no_auth", + "allow_busy" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "hexists": { + "arity": 3, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hexpire": { + "arity": -6, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hexpireat": { + "arity": -6, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hexpiretime": { + "arity": -5, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hget": { + "arity": 3, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hgetall": { + "arity": 2, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hgetdel": { + "arity": -5, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hgetex": { + "arity": -5, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hincrby": { + "arity": 4, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hincrbyfloat": { + "arity": 4, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hkeys": { + "arity": 2, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hlen": { + "arity": 2, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hmget": { + "arity": -3, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hmset": { + "arity": -4, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hpersist": { + "arity": -5, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hpexpire": { + "arity": -6, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hpexpireat": { + "arity": -6, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hpexpiretime": { + "arity": -5, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hpttl": { + "arity": -5, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hrandfield": { + "arity": -2, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hscan": { + "arity": -3, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hset": { + "arity": -4, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hsetex": { + "arity": -6, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hsetnx": { + "arity": 4, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hstrlen": { + "arity": 3, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "httl": { + "arity": -5, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "hvals": { + "arity": 2, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "incr": { + "arity": 2, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "incrby": { + "arity": 3, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "incrbyfloat": { + "arity": 3, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "info": { + "arity": -1, + "flags": [ + "loading", + "stale" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "keys": { + "arity": 2, + "flags": [ + "readonly" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "lastsave": { + "arity": 1, + "flags": [ + "loading", + "stale", + "fast" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "latency": { + "arity": -2, + "flags": [], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "lcs": { + "arity": -3, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 2, + "step": 1 + }, + "lindex": { + "arity": 3, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "linsert": { + "arity": 5, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "llen": { + "arity": 2, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "lmove": { + "arity": 5, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": 2, + "step": 1 + }, + "lmpop": { + "arity": -4, + "flags": [ + "write", + "movablekeys" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "lolwut": { + "arity": -1, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "lpop": { + "arity": -2, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "lpos": { + "arity": -3, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "lpush": { + "arity": -3, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "lpushx": { + "arity": -3, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "lrange": { + "arity": 4, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "lrem": { + "arity": 4, + "flags": [ + "write" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "lset": { + "arity": 4, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "ltrim": { + "arity": 4, + "flags": [ + "write" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "memory": { + "arity": -2, + "flags": [], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "mget": { + "arity": -2, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": -1, + "step": 1 + }, + "migrate": { + "arity": -6, + "flags": [ + "write", + "movablekeys" + ], + "keyStart": 3, + "keyStop": 3, + "step": 1 + }, + "module": { + "arity": -2, + "flags": [], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "monitor": { + "arity": 1, + "flags": [ + "admin", + "noscript", + "loading", + "stale" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "move": { + "arity": 3, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "mset": { + "arity": -3, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": -1, + "step": 2 + }, + "msetnx": { + "arity": -3, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": -1, + "step": 2 + }, + "multi": { + "arity": 1, + "flags": [ + "noscript", + "loading", + "stale", + "fast", + "allow_busy" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "object": { + "arity": -2, + "flags": [], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "persist": { + "arity": 2, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "pexpire": { + "arity": -3, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "pexpireat": { + "arity": -3, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "pexpiretime": { + "arity": 2, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "pfadd": { + "arity": -2, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "pfcount": { + "arity": -2, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": -1, + "step": 1 + }, + "pfdebug": { + "arity": 3, + "flags": [ + "write", + "denyoom", + "admin" + ], + "keyStart": 2, + "keyStop": 2, + "step": 1 + }, + "pfmerge": { + "arity": -2, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": -1, + "step": 1 + }, + "pfselftest": { + "arity": 1, + "flags": [ + "admin" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "ping": { + "arity": -1, + "flags": [ + "fast" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "psetex": { + "arity": 4, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "psubscribe": { + "arity": -2, + "flags": [ + "pubsub", + "noscript", + "loading", + "stale" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "psync": { + "arity": -3, + "flags": [ + "admin", + "noscript", + "no_async_loading", + "no_multi" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "pttl": { + "arity": 2, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "publish": { + "arity": 3, + "flags": [ + "pubsub", + "loading", + "stale", + "fast" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "pubsub": { + "arity": -2, + "flags": [], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "punsubscribe": { + "arity": -1, + "flags": [ + "pubsub", + "noscript", + "loading", + "stale" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "quit": { + "arity": -1, + "flags": [ + "noscript", + "loading", + "stale", + "fast", + "no_auth", + "allow_busy" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "randomkey": { + "arity": 1, + "flags": [ + "readonly" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "readonly": { + "arity": 1, + "flags": [ + "loading", + "stale", + "fast" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "readwrite": { + "arity": 1, + "flags": [ + "loading", + "stale", + "fast" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "rename": { + "arity": 3, + "flags": [ + "write" + ], + "keyStart": 1, + "keyStop": 2, + "step": 1 + }, + "renamenx": { + "arity": 3, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 2, + "step": 1 + }, + "replconf": { + "arity": -1, + "flags": [ + "admin", + "noscript", + "loading", + "stale", + "allow_busy" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "replicaof": { + "arity": 3, + "flags": [ + "admin", + "noscript", + "stale", + "no_async_loading" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "reset": { + "arity": 1, + "flags": [ + "noscript", + "loading", + "stale", + "fast", + "no_auth", + "allow_busy" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "restore": { + "arity": -4, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "restore-asking": { + "arity": -4, + "flags": [ + "write", + "denyoom", + "asking" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "role": { + "arity": 1, + "flags": [ + "noscript", + "loading", + "stale", + "fast" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "rpop": { + "arity": -2, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "rpoplpush": { + "arity": 3, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": 2, + "step": 1 + }, + "rpush": { + "arity": -3, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "rpushx": { + "arity": -3, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "sadd": { + "arity": -3, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "save": { + "arity": 1, + "flags": [ + "admin", + "noscript", + "no_async_loading", + "no_multi" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "scan": { + "arity": -2, + "flags": [ + "readonly" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "scard": { + "arity": 2, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "script": { + "arity": -2, + "flags": [], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "sdiff": { + "arity": -2, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": -1, + "step": 1 + }, + "sdiffstore": { + "arity": -3, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": -1, + "step": 1 + }, + "select": { + "arity": 2, + "flags": [ + "loading", + "stale", + "fast" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "set": { + "arity": -3, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "setbit": { + "arity": 4, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "setex": { + "arity": 4, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "setnx": { + "arity": 3, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "setrange": { + "arity": 4, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "shutdown": { + "arity": -1, + "flags": [ + "admin", + "noscript", + "loading", + "stale", + "no_multi", + "allow_busy" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "sinter": { + "arity": -2, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": -1, + "step": 1 + }, + "sintercard": { + "arity": -3, + "flags": [ + "readonly", + "movablekeys" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "sinterstore": { + "arity": -3, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": -1, + "step": 1 + }, + "sismember": { + "arity": 3, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "slaveof": { + "arity": 3, + "flags": [ + "admin", + "noscript", + "stale", + "no_async_loading" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "slowlog": { + "arity": -2, + "flags": [], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "smembers": { + "arity": 2, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "smismember": { + "arity": -3, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "smove": { + "arity": 4, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 2, + "step": 1 + }, + "sort": { + "arity": -2, + "flags": [ + "write", + "denyoom", + "movablekeys" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "sort_ro": { + "arity": -2, + "flags": [ + "readonly", + "movablekeys" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "spop": { + "arity": -2, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "spublish": { + "arity": 3, + "flags": [ + "pubsub", + "loading", + "stale", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "srandmember": { + "arity": -2, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "srem": { + "arity": -3, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "sscan": { + "arity": -3, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "ssubscribe": { + "arity": -2, + "flags": [ + "pubsub", + "noscript", + "loading", + "stale" + ], + "keyStart": 1, + "keyStop": -1, + "step": 1 + }, + "strlen": { + "arity": 2, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "subscribe": { + "arity": -2, + "flags": [ + "pubsub", + "noscript", + "loading", + "stale" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "substr": { + "arity": 4, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "sunion": { + "arity": -2, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": -1, + "step": 1 + }, + "sunionstore": { + "arity": -3, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": -1, + "step": 1 + }, + "sunsubscribe": { + "arity": -1, + "flags": [ + "pubsub", + "noscript", + "loading", + "stale" + ], + "keyStart": 1, + "keyStop": -1, + "step": 1 + }, + "swapdb": { + "arity": 3, + "flags": [ + "write", + "fast" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "sync": { + "arity": 1, + "flags": [ + "admin", + "noscript", + "no_async_loading", + "no_multi" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "time": { + "arity": 1, + "flags": [ + "loading", + "stale", + "fast" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "touch": { + "arity": -2, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": -1, + "step": 1 + }, + "ttl": { + "arity": 2, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "type": { + "arity": 2, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "unlink": { + "arity": -2, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": -1, + "step": 1 + }, + "unsubscribe": { + "arity": -1, + "flags": [ + "pubsub", + "noscript", + "loading", + "stale" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "unwatch": { + "arity": 1, + "flags": [ + "noscript", + "loading", + "stale", + "fast", + "allow_busy" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "wait": { + "arity": 3, + "flags": [ + "noscript" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "watch": { + "arity": -2, + "flags": [ + "noscript", + "loading", + "stale", + "fast", + "allow_busy" + ], + "keyStart": 1, + "keyStop": -1, + "step": 1 + }, + "xack": { + "arity": -4, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "xadd": { + "arity": -5, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "xautoclaim": { + "arity": -6, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "xclaim": { + "arity": -6, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "xdel": { + "arity": -3, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "xdelex": { + "arity": -5, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "xgroup": { + "arity": -2, + "flags": [], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "xinfo": { + "arity": -2, + "flags": [], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "xlen": { + "arity": 2, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "xpending": { + "arity": -3, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "xrange": { + "arity": -4, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "xread": { + "arity": -4, + "flags": [ + "readonly", + "blocking", + "movablekeys" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "xreadgroup": { + "arity": -7, + "flags": [ + "write", + "blocking", + "movablekeys" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "xrevrange": { + "arity": -4, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "xsetid": { + "arity": -3, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "xtrim": { + "arity": -4, + "flags": [ + "write" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zadd": { + "arity": -4, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zcard": { + "arity": 2, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zcount": { + "arity": 4, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zdiff": { + "arity": -3, + "flags": [ + "readonly", + "movablekeys" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "zdiffstore": { + "arity": -4, + "flags": [ + "write", + "denyoom", + "movablekeys" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zincrby": { + "arity": 4, + "flags": [ + "write", + "denyoom", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zinter": { + "arity": -3, + "flags": [ + "readonly", + "movablekeys" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "zintercard": { + "arity": -3, + "flags": [ + "readonly", + "movablekeys" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "zinterstore": { + "arity": -4, + "flags": [ + "write", + "denyoom", + "movablekeys" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zlexcount": { + "arity": 4, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zmpop": { + "arity": -4, + "flags": [ + "write", + "movablekeys" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "zmscore": { + "arity": -3, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zpopmax": { + "arity": -2, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zpopmin": { + "arity": -2, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zrandmember": { + "arity": -2, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zrange": { + "arity": -4, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zrangebylex": { + "arity": -4, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zrangebyscore": { + "arity": -4, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zrangestore": { + "arity": -5, + "flags": [ + "write", + "denyoom" + ], + "keyStart": 1, + "keyStop": 2, + "step": 1 + }, + "zrank": { + "arity": 3, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zrem": { + "arity": -3, + "flags": [ + "write", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zremrangebylex": { + "arity": 4, + "flags": [ + "write" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zremrangebyrank": { + "arity": 4, + "flags": [ + "write" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zremrangebyscore": { + "arity": 4, + "flags": [ + "write" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zrevrange": { + "arity": -4, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zrevrangebylex": { + "arity": -4, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zrevrangebyscore": { + "arity": -4, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zrevrank": { + "arity": 3, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zscan": { + "arity": -3, + "flags": [ + "readonly" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zscore": { + "arity": 3, + "flags": [ + "readonly", + "fast" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + }, + "zunion": { + "arity": -3, + "flags": [ + "readonly", + "movablekeys" + ], + "keyStart": 0, + "keyStop": 0, + "step": 0 + }, + "zunionstore": { + "arity": -4, + "flags": [ + "write", + "denyoom", + "movablekeys" + ], + "keyStart": 1, + "keyStop": 1, + "step": 1 + } +} diff --git a/node_modules/@ioredis/commands/built/index.d.ts b/node_modules/@ioredis/commands/built/index.d.ts new file mode 100644 index 0000000..94506a2 --- /dev/null +++ b/node_modules/@ioredis/commands/built/index.d.ts @@ -0,0 +1,34 @@ +/// +/** + * Redis command list + * + * All commands are lowercased. + */ +export declare const list: string[]; +/** + * Check if the command exists + */ +export declare function exists(commandName: string, options?: { + caseInsensitive?: boolean; +}): boolean; +/** + * Check if the command has the flag + * + * Some of possible flags: readonly, noscript, loading + */ +export declare function hasFlag(commandName: string, flag: string, options?: { + nameCaseInsensitive?: boolean; +}): boolean; +/** + * Get indexes of keys in the command arguments + * + * @example + * ```javascript + * getKeyIndexes('set', ['key', 'value']) // [0] + * getKeyIndexes('mget', ['key1', 'key2']) // [0, 1] + * ``` + */ +export declare function getKeyIndexes(commandName: string, args: (string | Buffer | number)[], options?: { + parseExternalKey?: boolean; + nameCaseInsensitive?: boolean; +}): number[]; diff --git a/node_modules/@ioredis/commands/built/index.js b/node_modules/@ioredis/commands/built/index.js new file mode 100644 index 0000000..c0e9b2f --- /dev/null +++ b/node_modules/@ioredis/commands/built/index.js @@ -0,0 +1,217 @@ +"use strict"; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getKeyIndexes = exports.hasFlag = exports.exists = exports.list = void 0; +const commands_json_1 = __importDefault(require("./commands.json")); +/** + * Redis command list + * + * All commands are lowercased. + */ +exports.list = Object.keys(commands_json_1.default); +const flags = {}; +exports.list.forEach((commandName) => { + flags[commandName] = commands_json_1.default[commandName].flags.reduce(function (flags, flag) { + flags[flag] = true; + return flags; + }, {}); +}); +/** + * Check if the command exists + */ +function exists(commandName, options) { + commandName = (options === null || options === void 0 ? void 0 : options.caseInsensitive) + ? String(commandName).toLowerCase() + : commandName; + return Boolean(commands_json_1.default[commandName]); +} +exports.exists = exists; +/** + * Check if the command has the flag + * + * Some of possible flags: readonly, noscript, loading + */ +function hasFlag(commandName, flag, options) { + commandName = (options === null || options === void 0 ? void 0 : options.nameCaseInsensitive) + ? String(commandName).toLowerCase() + : commandName; + if (!flags[commandName]) { + throw new Error("Unknown command " + commandName); + } + return Boolean(flags[commandName][flag]); +} +exports.hasFlag = hasFlag; +/** + * Get indexes of keys in the command arguments + * + * @example + * ```javascript + * getKeyIndexes('set', ['key', 'value']) // [0] + * getKeyIndexes('mget', ['key1', 'key2']) // [0, 1] + * ``` + */ +function getKeyIndexes(commandName, args, options) { + commandName = (options === null || options === void 0 ? void 0 : options.nameCaseInsensitive) + ? String(commandName).toLowerCase() + : commandName; + const command = commands_json_1.default[commandName]; + if (!command) { + throw new Error("Unknown command " + commandName); + } + if (!Array.isArray(args)) { + throw new Error("Expect args to be an array"); + } + const keys = []; + const parseExternalKey = Boolean(options && options.parseExternalKey); + const takeDynamicKeys = (args, startIndex) => { + const keys = []; + const keyStop = Number(args[startIndex]); + for (let i = 0; i < keyStop; i++) { + keys.push(i + startIndex + 1); + } + return keys; + }; + const takeKeyAfterToken = (args, startIndex, token) => { + for (let i = startIndex; i < args.length - 1; i += 1) { + if (String(args[i]).toLowerCase() === token.toLowerCase()) { + return i + 1; + } + } + return null; + }; + switch (commandName) { + case "zunionstore": + case "zinterstore": + case "zdiffstore": + keys.push(0, ...takeDynamicKeys(args, 1)); + break; + case "eval": + case "evalsha": + case "eval_ro": + case "evalsha_ro": + case "fcall": + case "fcall_ro": + case "blmpop": + case "bzmpop": + keys.push(...takeDynamicKeys(args, 1)); + break; + case "sintercard": + case "lmpop": + case "zunion": + case "zinter": + case "zmpop": + case "zintercard": + case "zdiff": { + keys.push(...takeDynamicKeys(args, 0)); + break; + } + case "georadius": { + keys.push(0); + const storeKey = takeKeyAfterToken(args, 5, "STORE"); + if (storeKey) + keys.push(storeKey); + const distKey = takeKeyAfterToken(args, 5, "STOREDIST"); + if (distKey) + keys.push(distKey); + break; + } + case "georadiusbymember": { + keys.push(0); + const storeKey = takeKeyAfterToken(args, 4, "STORE"); + if (storeKey) + keys.push(storeKey); + const distKey = takeKeyAfterToken(args, 4, "STOREDIST"); + if (distKey) + keys.push(distKey); + break; + } + case "sort": + case "sort_ro": + keys.push(0); + for (let i = 1; i < args.length - 1; i++) { + let arg = args[i]; + if (typeof arg !== "string") { + continue; + } + const directive = arg.toUpperCase(); + if (directive === "GET") { + i += 1; + arg = args[i]; + if (arg !== "#") { + if (parseExternalKey) { + keys.push([i, getExternalKeyNameLength(arg)]); + } + else { + keys.push(i); + } + } + } + else if (directive === "BY") { + i += 1; + if (parseExternalKey) { + keys.push([i, getExternalKeyNameLength(args[i])]); + } + else { + keys.push(i); + } + } + else if (directive === "STORE") { + i += 1; + keys.push(i); + } + } + break; + case "migrate": + if (args[2] === "") { + for (let i = 5; i < args.length - 1; i++) { + const arg = args[i]; + if (typeof arg === "string" && arg.toUpperCase() === "KEYS") { + for (let j = i + 1; j < args.length; j++) { + keys.push(j); + } + break; + } + } + } + else { + keys.push(2); + } + break; + case "xreadgroup": + case "xread": + // Keys are 1st half of the args after STREAMS argument. + for (let i = commandName === "xread" ? 0 : 3; i < args.length - 1; i++) { + if (String(args[i]).toUpperCase() === "STREAMS") { + for (let j = i + 1; j <= i + (args.length - 1 - i) / 2; j++) { + keys.push(j); + } + break; + } + } + break; + default: + // Step has to be at least one in this case, otherwise the command does + // not contain a key. + if (command.step > 0) { + const keyStart = command.keyStart - 1; + const keyStop = command.keyStop > 0 + ? command.keyStop + : args.length + command.keyStop + 1; + for (let i = keyStart; i < keyStop; i += command.step) { + keys.push(i); + } + } + break; + } + return keys; +} +exports.getKeyIndexes = getKeyIndexes; +function getExternalKeyNameLength(key) { + if (typeof key !== "string") { + key = String(key); + } + const hashPos = key.indexOf("->"); + return hashPos === -1 ? key.length : hashPos; +} diff --git a/node_modules/@ioredis/commands/package.json b/node_modules/@ioredis/commands/package.json new file mode 100644 index 0000000..c60e19a --- /dev/null +++ b/node_modules/@ioredis/commands/package.json @@ -0,0 +1,52 @@ +{ + "name": "@ioredis/commands", + "version": "1.5.1", + "description": "Redis commands", + "main": "built/index.js", + "files": [ + "built/", + "commands.json" + ], + "scripts": { + "pretest": "npm run lint", + "test": "mocha", + "build": "rm -rf built && tsc", + "gen": "node tools/build", + "lint": "standard --fix --verbose | snazzy", + "release": "release-it" + }, + "publishConfig": { + "access": "public", + "registry": "https://registry.npmjs.org/" + }, + "repository": { + "type": "git", + "url": "https://github.com/ioredis/commands.git" + }, + "keywords": [ + "redis", + "commands", + "prefix" + ], + "author": "Zihua Li (http://zihua.li)", + "license": "MIT", + "bugs": { + "url": "https://github.com/ioredis/commands/issues" + }, + "homepage": "https://github.com/ioredis/commands", + "devDependencies": { + "@release-it/conventional-changelog": "^4.2.0", + "@semantic-release/changelog": "^6.0.1", + "@semantic-release/commit-analyzer": "^9.0.2", + "@semantic-release/git": "^10.0.1", + "chai": "^4.3.6", + "ioredis": "^5.0.6", + "mocha": "^9.2.1", + "release-it": "^14.12.5", + "safe-stable-stringify": "^2.3.1", + "semantic-release": "^19.0.2", + "snazzy": "^9.0.0", + "standard": "^16.0.4", + "typescript": "^4.6.2" + } +} diff --git a/node_modules/@smithy/chunked-blob-reader-native/LICENSE b/node_modules/@smithy/chunked-blob-reader-native/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/chunked-blob-reader-native/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/chunked-blob-reader-native/README.md b/node_modules/@smithy/chunked-blob-reader-native/README.md new file mode 100644 index 0000000..4ca7fc7 --- /dev/null +++ b/node_modules/@smithy/chunked-blob-reader-native/README.md @@ -0,0 +1,10 @@ +# @smithy/chunked-blob-reader-native + +[![NPM version](https://img.shields.io/npm/v/@smithy/chunked-blob-reader-native/latest.svg)](https://www.npmjs.com/package/@smithy/chunked-blob-reader-native) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/chunked-blob-reader-native.svg)](https://www.npmjs.com/package/@smithy/chunked-blob-reader-native) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/chunked-blob-reader-native/dist-cjs/index.js b/node_modules/@smithy/chunked-blob-reader-native/dist-cjs/index.js new file mode 100644 index 0000000..d58bbb0 --- /dev/null +++ b/node_modules/@smithy/chunked-blob-reader-native/dist-cjs/index.js @@ -0,0 +1,32 @@ +'use strict'; + +var utilBase64 = require('@smithy/util-base64'); + +function blobReader(blob, onChunk, chunkSize = 1024 * 1024) { + return new Promise((resolve, reject) => { + const fileReader = new FileReader(); + fileReader.onerror = reject; + fileReader.onabort = reject; + const size = blob.size; + let totalBytesRead = 0; + const read = () => { + if (totalBytesRead >= size) { + resolve(); + return; + } + fileReader.readAsDataURL(blob.slice(totalBytesRead, Math.min(size, totalBytesRead + chunkSize))); + }; + fileReader.onload = (event) => { + const result = event.target.result; + const dataOffset = result.indexOf(",") + 1; + const data = result.substring(dataOffset); + const decoded = utilBase64.fromBase64(data); + onChunk(decoded); + totalBytesRead += decoded.byteLength; + read(); + }; + read(); + }); +} + +exports.blobReader = blobReader; diff --git a/node_modules/@smithy/chunked-blob-reader-native/dist-es/index.js b/node_modules/@smithy/chunked-blob-reader-native/dist-es/index.js new file mode 100644 index 0000000..370e2e0 --- /dev/null +++ b/node_modules/@smithy/chunked-blob-reader-native/dist-es/index.js @@ -0,0 +1,27 @@ +import { fromBase64 } from "@smithy/util-base64"; +export function blobReader(blob, onChunk, chunkSize = 1024 * 1024) { + return new Promise((resolve, reject) => { + const fileReader = new FileReader(); + fileReader.onerror = reject; + fileReader.onabort = reject; + const size = blob.size; + let totalBytesRead = 0; + const read = () => { + if (totalBytesRead >= size) { + resolve(); + return; + } + fileReader.readAsDataURL(blob.slice(totalBytesRead, Math.min(size, totalBytesRead + chunkSize))); + }; + fileReader.onload = (event) => { + const result = event.target.result; + const dataOffset = result.indexOf(",") + 1; + const data = result.substring(dataOffset); + const decoded = fromBase64(data); + onChunk(decoded); + totalBytesRead += decoded.byteLength; + read(); + }; + read(); + }); +} diff --git a/node_modules/@smithy/chunked-blob-reader-native/dist-types/index.d.ts b/node_modules/@smithy/chunked-blob-reader-native/dist-types/index.d.ts new file mode 100644 index 0000000..f83a42b --- /dev/null +++ b/node_modules/@smithy/chunked-blob-reader-native/dist-types/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare function blobReader(blob: Blob, onChunk: (chunk: Uint8Array) => void, chunkSize?: number): Promise; diff --git a/node_modules/@smithy/chunked-blob-reader-native/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/chunked-blob-reader-native/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..f83a42b --- /dev/null +++ b/node_modules/@smithy/chunked-blob-reader-native/dist-types/ts3.4/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare function blobReader(blob: Blob, onChunk: (chunk: Uint8Array) => void, chunkSize?: number): Promise; diff --git a/node_modules/@smithy/chunked-blob-reader-native/package.json b/node_modules/@smithy/chunked-blob-reader-native/package.json new file mode 100644 index 0000000..da7c695 --- /dev/null +++ b/node_modules/@smithy/chunked-blob-reader-native/package.json @@ -0,0 +1,61 @@ +{ + "name": "@smithy/chunked-blob-reader-native", + "version": "4.2.3", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline chunked-blob-reader-native", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/util-base64": "^4.3.2", + "tslib": "^2.6.2" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/chunked-blob-reader-native", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/chunked-blob-reader-native" + }, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + }, + "engines": { + "node": ">=18.0.0" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/chunked-blob-reader/LICENSE b/node_modules/@smithy/chunked-blob-reader/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/chunked-blob-reader/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/chunked-blob-reader/README.md b/node_modules/@smithy/chunked-blob-reader/README.md new file mode 100644 index 0000000..d6c74ac --- /dev/null +++ b/node_modules/@smithy/chunked-blob-reader/README.md @@ -0,0 +1,10 @@ +# @smithy/chunked-blob-reader + +[![NPM version](https://img.shields.io/npm/v/@smithy/chunked-blob-reader/latest.svg)](https://www.npmjs.com/package/@smithy/chunked-blob-reader) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/chunked-blob-reader.svg)](https://www.npmjs.com/package/@smithy/chunked-blob-reader) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/chunked-blob-reader/dist-cjs/index.js b/node_modules/@smithy/chunked-blob-reader/dist-cjs/index.js new file mode 100644 index 0000000..a295f52 --- /dev/null +++ b/node_modules/@smithy/chunked-blob-reader/dist-cjs/index.js @@ -0,0 +1,13 @@ +'use strict'; + +async function blobReader(blob, onChunk, chunkSize = 1024 * 1024) { + const size = blob.size; + let totalBytesRead = 0; + while (totalBytesRead < size) { + const slice = blob.slice(totalBytesRead, Math.min(size, totalBytesRead + chunkSize)); + onChunk(new Uint8Array(await slice.arrayBuffer())); + totalBytesRead += slice.size; + } +} + +exports.blobReader = blobReader; diff --git a/node_modules/@smithy/chunked-blob-reader/dist-es/index.js b/node_modules/@smithy/chunked-blob-reader/dist-es/index.js new file mode 100644 index 0000000..1831593 --- /dev/null +++ b/node_modules/@smithy/chunked-blob-reader/dist-es/index.js @@ -0,0 +1,9 @@ +export async function blobReader(blob, onChunk, chunkSize = 1024 * 1024) { + const size = blob.size; + let totalBytesRead = 0; + while (totalBytesRead < size) { + const slice = blob.slice(totalBytesRead, Math.min(size, totalBytesRead + chunkSize)); + onChunk(new Uint8Array(await slice.arrayBuffer())); + totalBytesRead += slice.size; + } +} diff --git a/node_modules/@smithy/chunked-blob-reader/dist-types/index.d.ts b/node_modules/@smithy/chunked-blob-reader/dist-types/index.d.ts new file mode 100644 index 0000000..908c4f3 --- /dev/null +++ b/node_modules/@smithy/chunked-blob-reader/dist-types/index.d.ts @@ -0,0 +1,5 @@ +/** + * @internal + * Reads the blob data into the onChunk consumer. + */ +export declare function blobReader(blob: Blob, onChunk: (chunk: Uint8Array) => void, chunkSize?: number): Promise; diff --git a/node_modules/@smithy/chunked-blob-reader/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/chunked-blob-reader/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..908c4f3 --- /dev/null +++ b/node_modules/@smithy/chunked-blob-reader/dist-types/ts3.4/index.d.ts @@ -0,0 +1,5 @@ +/** + * @internal + * Reads the blob data into the onChunk consumer. + */ +export declare function blobReader(blob: Blob, onChunk: (chunk: Uint8Array) => void, chunkSize?: number): Promise; diff --git a/node_modules/@smithy/chunked-blob-reader/package.json b/node_modules/@smithy/chunked-blob-reader/package.json new file mode 100644 index 0000000..05284ff --- /dev/null +++ b/node_modules/@smithy/chunked-blob-reader/package.json @@ -0,0 +1,60 @@ +{ + "name": "@smithy/chunked-blob-reader", + "version": "5.2.2", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline chunked-blob-reader", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "tslib": "^2.6.2" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/chunked-blob-reader", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/chunked-blob-reader" + }, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + }, + "engines": { + "node": ">=18.0.0" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/config-resolver/LICENSE b/node_modules/@smithy/config-resolver/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/config-resolver/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/config-resolver/README.md b/node_modules/@smithy/config-resolver/README.md new file mode 100644 index 0000000..2a25da2 --- /dev/null +++ b/node_modules/@smithy/config-resolver/README.md @@ -0,0 +1,10 @@ +# @smithy/config-resolver + +[![NPM version](https://img.shields.io/npm/v/@smithy/config-resolver/latest.svg)](https://www.npmjs.com/package/@smithy/config-resolver) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/config-resolver.svg)](https://www.npmjs.com/package/@smithy/config-resolver) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/config-resolver/dist-cjs/index.js b/node_modules/@smithy/config-resolver/dist-cjs/index.js new file mode 100644 index 0000000..f66ca86 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-cjs/index.js @@ -0,0 +1,198 @@ +'use strict'; + +var utilConfigProvider = require('@smithy/util-config-provider'); +var utilMiddleware = require('@smithy/util-middleware'); +var utilEndpoints = require('@smithy/util-endpoints'); + +const ENV_USE_DUALSTACK_ENDPOINT = "AWS_USE_DUALSTACK_ENDPOINT"; +const CONFIG_USE_DUALSTACK_ENDPOINT = "use_dualstack_endpoint"; +const DEFAULT_USE_DUALSTACK_ENDPOINT = false; +const NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, ENV_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.ENV), + configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.CONFIG), + default: false, +}; +const nodeDualstackConfigSelectors = { + environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, ENV_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.ENV), + configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.CONFIG), + default: undefined, +}; + +const ENV_USE_FIPS_ENDPOINT = "AWS_USE_FIPS_ENDPOINT"; +const CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint"; +const DEFAULT_USE_FIPS_ENDPOINT = false; +const NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, ENV_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.ENV), + configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.CONFIG), + default: false, +}; +const nodeFipsConfigSelectors = { + environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, ENV_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.ENV), + configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.CONFIG), + default: undefined, +}; + +const resolveCustomEndpointsConfig = (input) => { + const { tls, endpoint, urlParser, useDualstackEndpoint } = input; + return Object.assign(input, { + tls: tls ?? true, + endpoint: utilMiddleware.normalizeProvider(typeof endpoint === "string" ? urlParser(endpoint) : endpoint), + isCustomEndpoint: true, + useDualstackEndpoint: utilMiddleware.normalizeProvider(useDualstackEndpoint ?? false), + }); +}; + +const getEndpointFromRegion = async (input) => { + const { tls = true } = input; + const region = await input.region(); + const dnsHostRegex = new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/); + if (!dnsHostRegex.test(region)) { + throw new Error("Invalid region in client config"); + } + const useDualstackEndpoint = await input.useDualstackEndpoint(); + const useFipsEndpoint = await input.useFipsEndpoint(); + const { hostname } = (await input.regionInfoProvider(region, { useDualstackEndpoint, useFipsEndpoint })) ?? {}; + if (!hostname) { + throw new Error("Cannot resolve hostname from client config"); + } + return input.urlParser(`${tls ? "https:" : "http:"}//${hostname}`); +}; + +const resolveEndpointsConfig = (input) => { + const useDualstackEndpoint = utilMiddleware.normalizeProvider(input.useDualstackEndpoint ?? false); + const { endpoint, useFipsEndpoint, urlParser, tls } = input; + return Object.assign(input, { + tls: tls ?? true, + endpoint: endpoint + ? utilMiddleware.normalizeProvider(typeof endpoint === "string" ? urlParser(endpoint) : endpoint) + : () => getEndpointFromRegion({ ...input, useDualstackEndpoint, useFipsEndpoint }), + isCustomEndpoint: !!endpoint, + useDualstackEndpoint, + }); +}; + +const REGION_ENV_NAME = "AWS_REGION"; +const REGION_INI_NAME = "region"; +const NODE_REGION_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[REGION_ENV_NAME], + configFileSelector: (profile) => profile[REGION_INI_NAME], + default: () => { + throw new Error("Region is missing"); + }, +}; +const NODE_REGION_CONFIG_FILE_OPTIONS = { + preferredFile: "credentials", +}; + +const validRegions = new Set(); +const checkRegion = (region, check = utilEndpoints.isValidHostLabel) => { + if (!validRegions.has(region) && !check(region)) { + if (region === "*") { + console.warn(`@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.`); + } + else { + throw new Error(`Region not accepted: region="${region}" is not a valid hostname component.`); + } + } + else { + validRegions.add(region); + } +}; + +const isFipsRegion = (region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips")); + +const getRealRegion = (region) => isFipsRegion(region) + ? ["fips-aws-global", "aws-fips"].includes(region) + ? "us-east-1" + : region.replace(/fips-(dkr-|prod-)?|-fips/, "") + : region; + +const resolveRegionConfig = (input) => { + const { region, useFipsEndpoint } = input; + if (!region) { + throw new Error("Region is missing"); + } + return Object.assign(input, { + region: async () => { + const providedRegion = typeof region === "function" ? await region() : region; + const realRegion = getRealRegion(providedRegion); + checkRegion(realRegion); + return realRegion; + }, + useFipsEndpoint: async () => { + const providedRegion = typeof region === "string" ? region : await region(); + if (isFipsRegion(providedRegion)) { + return true; + } + return typeof useFipsEndpoint !== "function" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint(); + }, + }); +}; + +const getHostnameFromVariants = (variants = [], { useFipsEndpoint, useDualstackEndpoint }) => variants.find(({ tags }) => useFipsEndpoint === tags.includes("fips") && useDualstackEndpoint === tags.includes("dualstack"))?.hostname; + +const getResolvedHostname = (resolvedRegion, { regionHostname, partitionHostname }) => regionHostname + ? regionHostname + : partitionHostname + ? partitionHostname.replace("{region}", resolvedRegion) + : undefined; + +const getResolvedPartition = (region, { partitionHash }) => Object.keys(partitionHash || {}).find((key) => partitionHash[key].regions.includes(region)) ?? "aws"; + +const getResolvedSigningRegion = (hostname, { signingRegion, regionRegex, useFipsEndpoint }) => { + if (signingRegion) { + return signingRegion; + } + else if (useFipsEndpoint) { + const regionRegexJs = regionRegex.replace("\\\\", "\\").replace(/^\^/g, "\\.").replace(/\$$/g, "\\."); + const regionRegexmatchArray = hostname.match(regionRegexJs); + if (regionRegexmatchArray) { + return regionRegexmatchArray[0].slice(1, -1); + } + } +}; + +const getRegionInfo = (region, { useFipsEndpoint = false, useDualstackEndpoint = false, signingService, regionHash, partitionHash, }) => { + const partition = getResolvedPartition(region, { partitionHash }); + const resolvedRegion = region in regionHash ? region : partitionHash[partition]?.endpoint ?? region; + const hostnameOptions = { useFipsEndpoint, useDualstackEndpoint }; + const regionHostname = getHostnameFromVariants(regionHash[resolvedRegion]?.variants, hostnameOptions); + const partitionHostname = getHostnameFromVariants(partitionHash[partition]?.variants, hostnameOptions); + const hostname = getResolvedHostname(resolvedRegion, { regionHostname, partitionHostname }); + if (hostname === undefined) { + throw new Error(`Endpoint resolution failed for: ${{ resolvedRegion, useFipsEndpoint, useDualstackEndpoint }}`); + } + const signingRegion = getResolvedSigningRegion(hostname, { + signingRegion: regionHash[resolvedRegion]?.signingRegion, + regionRegex: partitionHash[partition].regionRegex, + useFipsEndpoint, + }); + return { + partition, + signingService, + hostname, + ...(signingRegion && { signingRegion }), + ...(regionHash[resolvedRegion]?.signingService && { + signingService: regionHash[resolvedRegion].signingService, + }), + }; +}; + +exports.CONFIG_USE_DUALSTACK_ENDPOINT = CONFIG_USE_DUALSTACK_ENDPOINT; +exports.CONFIG_USE_FIPS_ENDPOINT = CONFIG_USE_FIPS_ENDPOINT; +exports.DEFAULT_USE_DUALSTACK_ENDPOINT = DEFAULT_USE_DUALSTACK_ENDPOINT; +exports.DEFAULT_USE_FIPS_ENDPOINT = DEFAULT_USE_FIPS_ENDPOINT; +exports.ENV_USE_DUALSTACK_ENDPOINT = ENV_USE_DUALSTACK_ENDPOINT; +exports.ENV_USE_FIPS_ENDPOINT = ENV_USE_FIPS_ENDPOINT; +exports.NODE_REGION_CONFIG_FILE_OPTIONS = NODE_REGION_CONFIG_FILE_OPTIONS; +exports.NODE_REGION_CONFIG_OPTIONS = NODE_REGION_CONFIG_OPTIONS; +exports.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS; +exports.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS; +exports.REGION_ENV_NAME = REGION_ENV_NAME; +exports.REGION_INI_NAME = REGION_INI_NAME; +exports.getRegionInfo = getRegionInfo; +exports.nodeDualstackConfigSelectors = nodeDualstackConfigSelectors; +exports.nodeFipsConfigSelectors = nodeFipsConfigSelectors; +exports.resolveCustomEndpointsConfig = resolveCustomEndpointsConfig; +exports.resolveEndpointsConfig = resolveEndpointsConfig; +exports.resolveRegionConfig = resolveRegionConfig; diff --git a/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js b/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js new file mode 100644 index 0000000..1a9e938 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js @@ -0,0 +1,14 @@ +import { booleanSelector, SelectorType } from "@smithy/util-config-provider"; +export const ENV_USE_DUALSTACK_ENDPOINT = "AWS_USE_DUALSTACK_ENDPOINT"; +export const CONFIG_USE_DUALSTACK_ENDPOINT = "use_dualstack_endpoint"; +export const DEFAULT_USE_DUALSTACK_ENDPOINT = false; +export const NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => booleanSelector(env, ENV_USE_DUALSTACK_ENDPOINT, SelectorType.ENV), + configFileSelector: (profile) => booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, SelectorType.CONFIG), + default: false, +}; +export const nodeDualstackConfigSelectors = { + environmentVariableSelector: (env) => booleanSelector(env, ENV_USE_DUALSTACK_ENDPOINT, SelectorType.ENV), + configFileSelector: (profile) => booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, SelectorType.CONFIG), + default: undefined, +}; diff --git a/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js b/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js new file mode 100644 index 0000000..245bc9c --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js @@ -0,0 +1,14 @@ +import { booleanSelector, SelectorType } from "@smithy/util-config-provider"; +export const ENV_USE_FIPS_ENDPOINT = "AWS_USE_FIPS_ENDPOINT"; +export const CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint"; +export const DEFAULT_USE_FIPS_ENDPOINT = false; +export const NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => booleanSelector(env, ENV_USE_FIPS_ENDPOINT, SelectorType.ENV), + configFileSelector: (profile) => booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, SelectorType.CONFIG), + default: false, +}; +export const nodeFipsConfigSelectors = { + environmentVariableSelector: (env) => booleanSelector(env, ENV_USE_FIPS_ENDPOINT, SelectorType.ENV), + configFileSelector: (profile) => booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, SelectorType.CONFIG), + default: undefined, +}; diff --git a/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/index.js b/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/index.js new file mode 100644 index 0000000..1424c22 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/index.js @@ -0,0 +1,4 @@ +export * from "./NodeUseDualstackEndpointConfigOptions"; +export * from "./NodeUseFipsEndpointConfigOptions"; +export * from "./resolveCustomEndpointsConfig"; +export * from "./resolveEndpointsConfig"; diff --git a/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js b/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js new file mode 100644 index 0000000..7f9a953 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js @@ -0,0 +1,10 @@ +import { normalizeProvider } from "@smithy/util-middleware"; +export const resolveCustomEndpointsConfig = (input) => { + const { tls, endpoint, urlParser, useDualstackEndpoint } = input; + return Object.assign(input, { + tls: tls ?? true, + endpoint: normalizeProvider(typeof endpoint === "string" ? urlParser(endpoint) : endpoint), + isCustomEndpoint: true, + useDualstackEndpoint: normalizeProvider(useDualstackEndpoint ?? false), + }); +}; diff --git a/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js b/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js new file mode 100644 index 0000000..440657d --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js @@ -0,0 +1,14 @@ +import { normalizeProvider } from "@smithy/util-middleware"; +import { getEndpointFromRegion } from "./utils/getEndpointFromRegion"; +export const resolveEndpointsConfig = (input) => { + const useDualstackEndpoint = normalizeProvider(input.useDualstackEndpoint ?? false); + const { endpoint, useFipsEndpoint, urlParser, tls } = input; + return Object.assign(input, { + tls: tls ?? true, + endpoint: endpoint + ? normalizeProvider(typeof endpoint === "string" ? urlParser(endpoint) : endpoint) + : () => getEndpointFromRegion({ ...input, useDualstackEndpoint, useFipsEndpoint }), + isCustomEndpoint: !!endpoint, + useDualstackEndpoint, + }); +}; diff --git a/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/utils/getEndpointFromRegion.js b/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/utils/getEndpointFromRegion.js new file mode 100644 index 0000000..5627c32 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/utils/getEndpointFromRegion.js @@ -0,0 +1,15 @@ +export const getEndpointFromRegion = async (input) => { + const { tls = true } = input; + const region = await input.region(); + const dnsHostRegex = new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/); + if (!dnsHostRegex.test(region)) { + throw new Error("Invalid region in client config"); + } + const useDualstackEndpoint = await input.useDualstackEndpoint(); + const useFipsEndpoint = await input.useFipsEndpoint(); + const { hostname } = (await input.regionInfoProvider(region, { useDualstackEndpoint, useFipsEndpoint })) ?? {}; + if (!hostname) { + throw new Error("Cannot resolve hostname from client config"); + } + return input.urlParser(`${tls ? "https:" : "http:"}//${hostname}`); +}; diff --git a/node_modules/@smithy/config-resolver/dist-es/index.js b/node_modules/@smithy/config-resolver/dist-es/index.js new file mode 100644 index 0000000..61456a7 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/index.js @@ -0,0 +1,3 @@ +export * from "./endpointsConfig"; +export * from "./regionConfig"; +export * from "./regionInfo"; diff --git a/node_modules/@smithy/config-resolver/dist-es/regionConfig/checkRegion.js b/node_modules/@smithy/config-resolver/dist-es/regionConfig/checkRegion.js new file mode 100644 index 0000000..030902e --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/regionConfig/checkRegion.js @@ -0,0 +1,15 @@ +import { isValidHostLabel } from "@smithy/util-endpoints"; +const validRegions = new Set(); +export const checkRegion = (region, check = isValidHostLabel) => { + if (!validRegions.has(region) && !check(region)) { + if (region === "*") { + console.warn(`@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.`); + } + else { + throw new Error(`Region not accepted: region="${region}" is not a valid hostname component.`); + } + } + else { + validRegions.add(region); + } +}; diff --git a/node_modules/@smithy/config-resolver/dist-es/regionConfig/config.js b/node_modules/@smithy/config-resolver/dist-es/regionConfig/config.js new file mode 100644 index 0000000..7db9896 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/regionConfig/config.js @@ -0,0 +1,12 @@ +export const REGION_ENV_NAME = "AWS_REGION"; +export const REGION_INI_NAME = "region"; +export const NODE_REGION_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[REGION_ENV_NAME], + configFileSelector: (profile) => profile[REGION_INI_NAME], + default: () => { + throw new Error("Region is missing"); + }, +}; +export const NODE_REGION_CONFIG_FILE_OPTIONS = { + preferredFile: "credentials", +}; diff --git a/node_modules/@smithy/config-resolver/dist-es/regionConfig/getRealRegion.js b/node_modules/@smithy/config-resolver/dist-es/regionConfig/getRealRegion.js new file mode 100644 index 0000000..8d1246b --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/regionConfig/getRealRegion.js @@ -0,0 +1,6 @@ +import { isFipsRegion } from "./isFipsRegion"; +export const getRealRegion = (region) => isFipsRegion(region) + ? ["fips-aws-global", "aws-fips"].includes(region) + ? "us-east-1" + : region.replace(/fips-(dkr-|prod-)?|-fips/, "") + : region; diff --git a/node_modules/@smithy/config-resolver/dist-es/regionConfig/index.js b/node_modules/@smithy/config-resolver/dist-es/regionConfig/index.js new file mode 100644 index 0000000..83675f7 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/regionConfig/index.js @@ -0,0 +1,2 @@ +export * from "./config"; +export * from "./resolveRegionConfig"; diff --git a/node_modules/@smithy/config-resolver/dist-es/regionConfig/isFipsRegion.js b/node_modules/@smithy/config-resolver/dist-es/regionConfig/isFipsRegion.js new file mode 100644 index 0000000..d758967 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/regionConfig/isFipsRegion.js @@ -0,0 +1 @@ +export const isFipsRegion = (region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips")); diff --git a/node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js b/node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js new file mode 100644 index 0000000..00c3b55 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js @@ -0,0 +1,24 @@ +import { checkRegion } from "./checkRegion"; +import { getRealRegion } from "./getRealRegion"; +import { isFipsRegion } from "./isFipsRegion"; +export const resolveRegionConfig = (input) => { + const { region, useFipsEndpoint } = input; + if (!region) { + throw new Error("Region is missing"); + } + return Object.assign(input, { + region: async () => { + const providedRegion = typeof region === "function" ? await region() : region; + const realRegion = getRealRegion(providedRegion); + checkRegion(realRegion); + return realRegion; + }, + useFipsEndpoint: async () => { + const providedRegion = typeof region === "string" ? region : await region(); + if (isFipsRegion(providedRegion)) { + return true; + } + return typeof useFipsEndpoint !== "function" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint(); + }, + }); +}; diff --git a/node_modules/@smithy/config-resolver/dist-es/regionInfo/EndpointVariant.js b/node_modules/@smithy/config-resolver/dist-es/regionInfo/EndpointVariant.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/regionInfo/EndpointVariant.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/config-resolver/dist-es/regionInfo/EndpointVariantTag.js b/node_modules/@smithy/config-resolver/dist-es/regionInfo/EndpointVariantTag.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/regionInfo/EndpointVariantTag.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/config-resolver/dist-es/regionInfo/PartitionHash.js b/node_modules/@smithy/config-resolver/dist-es/regionInfo/PartitionHash.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/regionInfo/PartitionHash.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/config-resolver/dist-es/regionInfo/RegionHash.js b/node_modules/@smithy/config-resolver/dist-es/regionInfo/RegionHash.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/regionInfo/RegionHash.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/config-resolver/dist-es/regionInfo/getHostnameFromVariants.js b/node_modules/@smithy/config-resolver/dist-es/regionInfo/getHostnameFromVariants.js new file mode 100644 index 0000000..84fc50e --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/regionInfo/getHostnameFromVariants.js @@ -0,0 +1 @@ +export const getHostnameFromVariants = (variants = [], { useFipsEndpoint, useDualstackEndpoint }) => variants.find(({ tags }) => useFipsEndpoint === tags.includes("fips") && useDualstackEndpoint === tags.includes("dualstack"))?.hostname; diff --git a/node_modules/@smithy/config-resolver/dist-es/regionInfo/getRegionInfo.js b/node_modules/@smithy/config-resolver/dist-es/regionInfo/getRegionInfo.js new file mode 100644 index 0000000..c39e2f7 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/regionInfo/getRegionInfo.js @@ -0,0 +1,29 @@ +import { getHostnameFromVariants } from "./getHostnameFromVariants"; +import { getResolvedHostname } from "./getResolvedHostname"; +import { getResolvedPartition } from "./getResolvedPartition"; +import { getResolvedSigningRegion } from "./getResolvedSigningRegion"; +export const getRegionInfo = (region, { useFipsEndpoint = false, useDualstackEndpoint = false, signingService, regionHash, partitionHash, }) => { + const partition = getResolvedPartition(region, { partitionHash }); + const resolvedRegion = region in regionHash ? region : partitionHash[partition]?.endpoint ?? region; + const hostnameOptions = { useFipsEndpoint, useDualstackEndpoint }; + const regionHostname = getHostnameFromVariants(regionHash[resolvedRegion]?.variants, hostnameOptions); + const partitionHostname = getHostnameFromVariants(partitionHash[partition]?.variants, hostnameOptions); + const hostname = getResolvedHostname(resolvedRegion, { regionHostname, partitionHostname }); + if (hostname === undefined) { + throw new Error(`Endpoint resolution failed for: ${{ resolvedRegion, useFipsEndpoint, useDualstackEndpoint }}`); + } + const signingRegion = getResolvedSigningRegion(hostname, { + signingRegion: regionHash[resolvedRegion]?.signingRegion, + regionRegex: partitionHash[partition].regionRegex, + useFipsEndpoint, + }); + return { + partition, + signingService, + hostname, + ...(signingRegion && { signingRegion }), + ...(regionHash[resolvedRegion]?.signingService && { + signingService: regionHash[resolvedRegion].signingService, + }), + }; +}; diff --git a/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedHostname.js b/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedHostname.js new file mode 100644 index 0000000..35fb988 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedHostname.js @@ -0,0 +1,5 @@ +export const getResolvedHostname = (resolvedRegion, { regionHostname, partitionHostname }) => regionHostname + ? regionHostname + : partitionHostname + ? partitionHostname.replace("{region}", resolvedRegion) + : undefined; diff --git a/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedPartition.js b/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedPartition.js new file mode 100644 index 0000000..3d7bc55 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedPartition.js @@ -0,0 +1 @@ +export const getResolvedPartition = (region, { partitionHash }) => Object.keys(partitionHash || {}).find((key) => partitionHash[key].regions.includes(region)) ?? "aws"; diff --git a/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedSigningRegion.js b/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedSigningRegion.js new file mode 100644 index 0000000..7977e00 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedSigningRegion.js @@ -0,0 +1,12 @@ +export const getResolvedSigningRegion = (hostname, { signingRegion, regionRegex, useFipsEndpoint }) => { + if (signingRegion) { + return signingRegion; + } + else if (useFipsEndpoint) { + const regionRegexJs = regionRegex.replace("\\\\", "\\").replace(/^\^/g, "\\.").replace(/\$$/g, "\\."); + const regionRegexmatchArray = hostname.match(regionRegexJs); + if (regionRegexmatchArray) { + return regionRegexmatchArray[0].slice(1, -1); + } + } +}; diff --git a/node_modules/@smithy/config-resolver/dist-es/regionInfo/index.js b/node_modules/@smithy/config-resolver/dist-es/regionInfo/index.js new file mode 100644 index 0000000..e29686a --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-es/regionInfo/index.js @@ -0,0 +1,3 @@ +export * from "./PartitionHash"; +export * from "./RegionHash"; +export * from "./getRegionInfo"; diff --git a/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts b/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts new file mode 100644 index 0000000..820ec42 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts @@ -0,0 +1,23 @@ +import type { LoadedConfigSelectors } from "@smithy/node-config-provider"; +/** + * @internal + */ +export declare const ENV_USE_DUALSTACK_ENDPOINT = "AWS_USE_DUALSTACK_ENDPOINT"; +/** + * @internal + */ +export declare const CONFIG_USE_DUALSTACK_ENDPOINT = "use_dualstack_endpoint"; +/** + * @internal + */ +export declare const DEFAULT_USE_DUALSTACK_ENDPOINT = false; +/** + * Don't delete this, used by older clients. + * @deprecated replaced by nodeDualstackConfigSelectors in newer clients. + * @internal + */ +export declare const NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS: LoadedConfigSelectors; +/** + * @internal + */ +export declare const nodeDualstackConfigSelectors: LoadedConfigSelectors; diff --git a/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts b/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts new file mode 100644 index 0000000..0622c94 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts @@ -0,0 +1,23 @@ +import type { LoadedConfigSelectors } from "@smithy/node-config-provider"; +/** + * @internal + */ +export declare const ENV_USE_FIPS_ENDPOINT = "AWS_USE_FIPS_ENDPOINT"; +/** + * @internal + */ +export declare const CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint"; +/** + * @internal + */ +export declare const DEFAULT_USE_FIPS_ENDPOINT = false; +/** + * Don't delete this, used by older clients. + * @deprecated replaced by nodeFipsConfigSelectors in newer clients. + * @internal + */ +export declare const NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS: LoadedConfigSelectors; +/** + * @internal + */ +export declare const nodeFipsConfigSelectors: LoadedConfigSelectors; diff --git a/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/index.d.ts b/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/index.d.ts new file mode 100644 index 0000000..ea1cf59 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/index.d.ts @@ -0,0 +1,16 @@ +/** + * @internal + */ +export * from "./NodeUseDualstackEndpointConfigOptions"; +/** + * @internal + */ +export * from "./NodeUseFipsEndpointConfigOptions"; +/** + * @internal + */ +export * from "./resolveCustomEndpointsConfig"; +/** + * @internal + */ +export * from "./resolveEndpointsConfig"; diff --git a/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts b/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts new file mode 100644 index 0000000..10581c2 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts @@ -0,0 +1,37 @@ +import type { Endpoint, Provider, UrlParser } from "@smithy/types"; +import type { EndpointsInputConfig, EndpointsResolvedConfig } from "./resolveEndpointsConfig"; +/** + * @public + * @deprecated superseded by default endpointRuleSet generation. + */ +export interface CustomEndpointsInputConfig extends EndpointsInputConfig { + /** + * The fully qualified endpoint of the webservice. + */ + endpoint: string | Endpoint | Provider; +} +/** + * @internal + * @deprecated superseded by default endpointRuleSet generation. + */ +interface PreviouslyResolved { + urlParser: UrlParser; +} +/** + * @internal + * @deprecated superseded by default endpointRuleSet generation. + */ +export interface CustomEndpointsResolvedConfig extends EndpointsResolvedConfig { + /** + * Whether the endpoint is specified by caller. + * @internal + */ + isCustomEndpoint: true; +} +/** + * @internal + * + * @deprecated superseded by default endpointRuleSet generation. + */ +export declare const resolveCustomEndpointsConfig: (input: T & CustomEndpointsInputConfig & PreviouslyResolved) => T & CustomEndpointsResolvedConfig; +export {}; diff --git a/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts b/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts new file mode 100644 index 0000000..d801d1d --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts @@ -0,0 +1,57 @@ +import type { Endpoint, Provider, RegionInfoProvider, UrlParser } from "@smithy/types"; +/** + * @public + * @deprecated see \@smithy/middleware-endpoint resolveEndpointConfig. + */ +export interface EndpointsInputConfig { + /** + * The fully qualified endpoint of the webservice. This is only required when using + * a custom endpoint (for example, when using a local version of S3). + */ + endpoint?: string | Endpoint | Provider; + /** + * Whether TLS is enabled for requests. + */ + tls?: boolean; + /** + * Enables IPv6/IPv4 dualstack endpoint. + */ + useDualstackEndpoint?: boolean | Provider; +} +/** + * @internal + * @deprecated see \@smithy/middleware-endpoint resolveEndpointConfig. + */ +interface PreviouslyResolved { + regionInfoProvider: RegionInfoProvider; + urlParser: UrlParser; + region: Provider; + useFipsEndpoint: Provider; +} +/** + * @internal + * @deprecated see \@smithy/middleware-endpoint resolveEndpointConfig. + */ +export interface EndpointsResolvedConfig extends Required { + /** + * Resolved value for input {@link EndpointsInputConfig.endpoint} + */ + endpoint: Provider; + /** + * Whether the endpoint is specified by caller. + * @internal + */ + isCustomEndpoint?: boolean; + /** + * Resolved value for input {@link EndpointsInputConfig.useDualstackEndpoint} + */ + useDualstackEndpoint: Provider; +} +/** + * @internal + * + * @deprecated endpoints rulesets use \@smithy/middleware-endpoint resolveEndpointConfig. + * All generated clients should migrate to Endpoints 2.0 endpointRuleSet traits. + */ +export declare const resolveEndpointsConfig: (input: T & EndpointsInputConfig & PreviouslyResolved) => T & EndpointsResolvedConfig; +export {}; diff --git a/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/utils/getEndpointFromRegion.d.ts b/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/utils/getEndpointFromRegion.d.ts new file mode 100644 index 0000000..af8780a --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/utils/getEndpointFromRegion.d.ts @@ -0,0 +1,11 @@ +import type { Provider, RegionInfoProvider, UrlParser } from "@smithy/types"; +interface GetEndpointFromRegionOptions { + region: Provider; + tls?: boolean; + regionInfoProvider: RegionInfoProvider; + urlParser: UrlParser; + useDualstackEndpoint: Provider; + useFipsEndpoint: Provider; +} +export declare const getEndpointFromRegion: (input: GetEndpointFromRegionOptions) => Promise; +export {}; diff --git a/node_modules/@smithy/config-resolver/dist-types/index.d.ts b/node_modules/@smithy/config-resolver/dist-types/index.d.ts new file mode 100644 index 0000000..fde7086 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/index.d.ts @@ -0,0 +1,12 @@ +/** + * @internal + */ +export * from "./endpointsConfig"; +/** + * @internal + */ +export * from "./regionConfig"; +/** + * @internal + */ +export * from "./regionInfo"; diff --git a/node_modules/@smithy/config-resolver/dist-types/regionConfig/checkRegion.d.ts b/node_modules/@smithy/config-resolver/dist-types/regionConfig/checkRegion.d.ts new file mode 100644 index 0000000..ead866f --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/regionConfig/checkRegion.d.ts @@ -0,0 +1,9 @@ +/** + * Checks whether region can be a host component. + * + * @param region - to check. + * @param check - checking function. + * + * @internal + */ +export declare const checkRegion: (region: string, check?: (value: string, allowSubDomains?: boolean) => boolean) => void; diff --git a/node_modules/@smithy/config-resolver/dist-types/regionConfig/config.d.ts b/node_modules/@smithy/config-resolver/dist-types/regionConfig/config.d.ts new file mode 100644 index 0000000..ce06abf --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/regionConfig/config.d.ts @@ -0,0 +1,17 @@ +import type { LoadedConfigSelectors, LocalConfigOptions } from "@smithy/node-config-provider"; +/** + * @internal + */ +export declare const REGION_ENV_NAME = "AWS_REGION"; +/** + * @internal + */ +export declare const REGION_INI_NAME = "region"; +/** + * @internal + */ +export declare const NODE_REGION_CONFIG_OPTIONS: LoadedConfigSelectors; +/** + * @internal + */ +export declare const NODE_REGION_CONFIG_FILE_OPTIONS: LocalConfigOptions; diff --git a/node_modules/@smithy/config-resolver/dist-types/regionConfig/getRealRegion.d.ts b/node_modules/@smithy/config-resolver/dist-types/regionConfig/getRealRegion.d.ts new file mode 100644 index 0000000..c70fb5b --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/regionConfig/getRealRegion.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const getRealRegion: (region: string) => string; diff --git a/node_modules/@smithy/config-resolver/dist-types/regionConfig/index.d.ts b/node_modules/@smithy/config-resolver/dist-types/regionConfig/index.d.ts new file mode 100644 index 0000000..6dcf5e5 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/regionConfig/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./config"; +/** + * @internal + */ +export * from "./resolveRegionConfig"; diff --git a/node_modules/@smithy/config-resolver/dist-types/regionConfig/isFipsRegion.d.ts b/node_modules/@smithy/config-resolver/dist-types/regionConfig/isFipsRegion.d.ts new file mode 100644 index 0000000..b42cee7 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/regionConfig/isFipsRegion.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const isFipsRegion: (region: string) => boolean; diff --git a/node_modules/@smithy/config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts b/node_modules/@smithy/config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts new file mode 100644 index 0000000..4e9bbcc --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts @@ -0,0 +1,34 @@ +import type { Provider } from "@smithy/types"; +/** + * @public + */ +export interface RegionInputConfig { + /** + * The AWS region to which this client will send requests + */ + region?: string | Provider; + /** + * Enables FIPS compatible endpoints. + */ + useFipsEndpoint?: boolean | Provider; +} +interface PreviouslyResolved { +} +/** + * @internal + */ +export interface RegionResolvedConfig { + /** + * Resolved value for input config {@link RegionInputConfig.region} + */ + region: Provider; + /** + * Resolved value for input {@link RegionInputConfig.useFipsEndpoint} + */ + useFipsEndpoint: Provider; +} +/** + * @internal + */ +export declare const resolveRegionConfig: (input: T & RegionInputConfig & PreviouslyResolved) => T & RegionResolvedConfig; +export {}; diff --git a/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariant.d.ts b/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariant.d.ts new file mode 100644 index 0000000..a1a2d43 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariant.d.ts @@ -0,0 +1,11 @@ +import type { EndpointVariantTag } from "./EndpointVariantTag"; +/** + * Provides hostname information for specific host label. + * + * @internal + * @deprecated unused as of endpointsRuleSets. + */ +export type EndpointVariant = { + hostname: string; + tags: EndpointVariantTag[]; +}; diff --git a/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariantTag.d.ts b/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariantTag.d.ts new file mode 100644 index 0000000..0c87d4d --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariantTag.d.ts @@ -0,0 +1,10 @@ +/** + * + * + * The tag which mentions which area variant is providing information for. + * Can be either "fips" or "dualstack". + * + * @internal + * @deprecated unused for endpointRuleSets. + */ +export type EndpointVariantTag = "fips" | "dualstack"; diff --git a/node_modules/@smithy/config-resolver/dist-types/regionInfo/PartitionHash.d.ts b/node_modules/@smithy/config-resolver/dist-types/regionInfo/PartitionHash.d.ts new file mode 100644 index 0000000..d50af08 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/regionInfo/PartitionHash.d.ts @@ -0,0 +1,15 @@ +import type { EndpointVariant } from "./EndpointVariant"; +/** + * The hash of partition with the information specific to that partition. + * The information includes the list of regions belonging to that partition, + * and the hostname to be used for the partition. + * + * @internal + * @deprecated unused for endpointRuleSets. + */ +export type PartitionHash = Record; diff --git a/node_modules/@smithy/config-resolver/dist-types/regionInfo/RegionHash.d.ts b/node_modules/@smithy/config-resolver/dist-types/regionInfo/RegionHash.d.ts new file mode 100644 index 0000000..c2eda12 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/regionInfo/RegionHash.d.ts @@ -0,0 +1,13 @@ +import type { EndpointVariant } from "./EndpointVariant"; +/** + * The hash of region with the information specific to that region. + * The information can include hostname, signingService and signingRegion. + * + * @internal + * @deprecated unused for endpointRuleSets. + */ +export type RegionHash = Record; diff --git a/node_modules/@smithy/config-resolver/dist-types/regionInfo/getHostnameFromVariants.d.ts b/node_modules/@smithy/config-resolver/dist-types/regionInfo/getHostnameFromVariants.d.ts new file mode 100644 index 0000000..bee82d0 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/regionInfo/getHostnameFromVariants.d.ts @@ -0,0 +1,14 @@ +import type { EndpointVariant } from "./EndpointVariant"; +/** + * @internal + * @deprecated unused as of endpointsRuleSets. + */ +export interface GetHostnameFromVariantsOptions { + useFipsEndpoint: boolean; + useDualstackEndpoint: boolean; +} +/** + * @internal + * @deprecated unused as of endpointsRuleSets. + */ +export declare const getHostnameFromVariants: (variants: EndpointVariant[] | undefined, { useFipsEndpoint, useDualstackEndpoint }: GetHostnameFromVariantsOptions) => string | undefined; diff --git a/node_modules/@smithy/config-resolver/dist-types/regionInfo/getRegionInfo.d.ts b/node_modules/@smithy/config-resolver/dist-types/regionInfo/getRegionInfo.d.ts new file mode 100644 index 0000000..0c98f11 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/regionInfo/getRegionInfo.d.ts @@ -0,0 +1,19 @@ +import type { RegionInfo } from "@smithy/types"; +import type { PartitionHash } from "./PartitionHash"; +import type { RegionHash } from "./RegionHash"; +/** + * @internal + * @deprecated unused as of endpointsRuleSets. + */ +export interface GetRegionInfoOptions { + useFipsEndpoint?: boolean; + useDualstackEndpoint?: boolean; + signingService: string; + regionHash: RegionHash; + partitionHash: PartitionHash; +} +/** + * @internal + * @deprecated unused as of endpointsRuleSets. + */ +export declare const getRegionInfo: (region: string, { useFipsEndpoint, useDualstackEndpoint, signingService, regionHash, partitionHash, }: GetRegionInfoOptions) => RegionInfo; diff --git a/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedHostname.d.ts b/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedHostname.d.ts new file mode 100644 index 0000000..4831752 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedHostname.d.ts @@ -0,0 +1,13 @@ +/** + * @internal + * @deprecated unused for endpointRuleSets. + */ +export interface GetResolvedHostnameOptions { + regionHostname?: string; + partitionHostname?: string; +} +/** + * @internal + * @deprecated unused for endpointRuleSets. + */ +export declare const getResolvedHostname: (resolvedRegion: string, { regionHostname, partitionHostname }: GetResolvedHostnameOptions) => string | undefined; diff --git a/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedPartition.d.ts b/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedPartition.d.ts new file mode 100644 index 0000000..bc73cf6 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedPartition.d.ts @@ -0,0 +1,13 @@ +import type { PartitionHash } from "./PartitionHash"; +/** + * @internal + * @deprecated unused for endpointRuleSets. + */ +export interface GetResolvedPartitionOptions { + partitionHash: PartitionHash; +} +/** + * @internal + * @deprecated unused for endpointRuleSets. + */ +export declare const getResolvedPartition: (region: string, { partitionHash }: GetResolvedPartitionOptions) => string; diff --git a/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedSigningRegion.d.ts b/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedSigningRegion.d.ts new file mode 100644 index 0000000..e0990b7 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedSigningRegion.d.ts @@ -0,0 +1,14 @@ +/** + * @internal + * @deprecated unused for endpointRuleSets. + */ +export interface GetResolvedSigningRegionOptions { + regionRegex: string; + signingRegion?: string; + useFipsEndpoint: boolean; +} +/** + * @internal + * @deprecated unused for endpointRuleSets. + */ +export declare const getResolvedSigningRegion: (hostname: string, { signingRegion, regionRegex, useFipsEndpoint }: GetResolvedSigningRegionOptions) => string | undefined; diff --git a/node_modules/@smithy/config-resolver/dist-types/regionInfo/index.d.ts b/node_modules/@smithy/config-resolver/dist-types/regionInfo/index.d.ts new file mode 100644 index 0000000..64ef0d5 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/regionInfo/index.d.ts @@ -0,0 +1,12 @@ +/** + * @internal + */ +export * from "./PartitionHash"; +/** + * @internal + */ +export * from "./RegionHash"; +/** + * @internal + */ +export * from "./getRegionInfo"; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts new file mode 100644 index 0000000..cdc9136 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts @@ -0,0 +1,23 @@ +import { LoadedConfigSelectors } from "@smithy/node-config-provider"; +/** + * @internal + */ +export declare const ENV_USE_DUALSTACK_ENDPOINT = "AWS_USE_DUALSTACK_ENDPOINT"; +/** + * @internal + */ +export declare const CONFIG_USE_DUALSTACK_ENDPOINT = "use_dualstack_endpoint"; +/** + * @internal + */ +export declare const DEFAULT_USE_DUALSTACK_ENDPOINT = false; +/** + * Don't delete this, used by older clients. + * @deprecated replaced by nodeDualstackConfigSelectors in newer clients. + * @internal + */ +export declare const NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS: LoadedConfigSelectors; +/** + * @internal + */ +export declare const nodeDualstackConfigSelectors: LoadedConfigSelectors; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts new file mode 100644 index 0000000..95b481f --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts @@ -0,0 +1,23 @@ +import { LoadedConfigSelectors } from "@smithy/node-config-provider"; +/** + * @internal + */ +export declare const ENV_USE_FIPS_ENDPOINT = "AWS_USE_FIPS_ENDPOINT"; +/** + * @internal + */ +export declare const CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint"; +/** + * @internal + */ +export declare const DEFAULT_USE_FIPS_ENDPOINT = false; +/** + * Don't delete this, used by older clients. + * @deprecated replaced by nodeFipsConfigSelectors in newer clients. + * @internal + */ +export declare const NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS: LoadedConfigSelectors; +/** + * @internal + */ +export declare const nodeFipsConfigSelectors: LoadedConfigSelectors; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/index.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/index.d.ts new file mode 100644 index 0000000..ea1cf59 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/index.d.ts @@ -0,0 +1,16 @@ +/** + * @internal + */ +export * from "./NodeUseDualstackEndpointConfigOptions"; +/** + * @internal + */ +export * from "./NodeUseFipsEndpointConfigOptions"; +/** + * @internal + */ +export * from "./resolveCustomEndpointsConfig"; +/** + * @internal + */ +export * from "./resolveEndpointsConfig"; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts new file mode 100644 index 0000000..93b3293 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts @@ -0,0 +1,37 @@ +import { Endpoint, Provider, UrlParser } from "@smithy/types"; +import { EndpointsInputConfig, EndpointsResolvedConfig } from "./resolveEndpointsConfig"; +/** + * @public + * @deprecated superseded by default endpointRuleSet generation. + */ +export interface CustomEndpointsInputConfig extends EndpointsInputConfig { + /** + * The fully qualified endpoint of the webservice. + */ + endpoint: string | Endpoint | Provider; +} +/** + * @internal + * @deprecated superseded by default endpointRuleSet generation. + */ +interface PreviouslyResolved { + urlParser: UrlParser; +} +/** + * @internal + * @deprecated superseded by default endpointRuleSet generation. + */ +export interface CustomEndpointsResolvedConfig extends EndpointsResolvedConfig { + /** + * Whether the endpoint is specified by caller. + * @internal + */ + isCustomEndpoint: true; +} +/** + * @internal + * + * @deprecated superseded by default endpointRuleSet generation. + */ +export declare const resolveCustomEndpointsConfig: (input: T & CustomEndpointsInputConfig & PreviouslyResolved) => T & CustomEndpointsResolvedConfig; +export {}; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts new file mode 100644 index 0000000..aaf7780 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts @@ -0,0 +1,57 @@ +import { Endpoint, Provider, RegionInfoProvider, UrlParser } from "@smithy/types"; +/** + * @public + * @deprecated see \@smithy/middleware-endpoint resolveEndpointConfig. + */ +export interface EndpointsInputConfig { + /** + * The fully qualified endpoint of the webservice. This is only required when using + * a custom endpoint (for example, when using a local version of S3). + */ + endpoint?: string | Endpoint | Provider; + /** + * Whether TLS is enabled for requests. + */ + tls?: boolean; + /** + * Enables IPv6/IPv4 dualstack endpoint. + */ + useDualstackEndpoint?: boolean | Provider; +} +/** + * @internal + * @deprecated see \@smithy/middleware-endpoint resolveEndpointConfig. + */ +interface PreviouslyResolved { + regionInfoProvider: RegionInfoProvider; + urlParser: UrlParser; + region: Provider; + useFipsEndpoint: Provider; +} +/** + * @internal + * @deprecated see \@smithy/middleware-endpoint resolveEndpointConfig. + */ +export interface EndpointsResolvedConfig extends Required { + /** + * Resolved value for input {@link EndpointsInputConfig.endpoint} + */ + endpoint: Provider; + /** + * Whether the endpoint is specified by caller. + * @internal + */ + isCustomEndpoint?: boolean; + /** + * Resolved value for input {@link EndpointsInputConfig.useDualstackEndpoint} + */ + useDualstackEndpoint: Provider; +} +/** + * @internal + * + * @deprecated endpoints rulesets use \@smithy/middleware-endpoint resolveEndpointConfig. + * All generated clients should migrate to Endpoints 2.0 endpointRuleSet traits. + */ +export declare const resolveEndpointsConfig: (input: T & EndpointsInputConfig & PreviouslyResolved) => T & EndpointsResolvedConfig; +export {}; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/utils/getEndpointFromRegion.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/utils/getEndpointFromRegion.d.ts new file mode 100644 index 0000000..5ded732 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/utils/getEndpointFromRegion.d.ts @@ -0,0 +1,11 @@ +import { Provider, RegionInfoProvider, UrlParser } from "@smithy/types"; +interface GetEndpointFromRegionOptions { + region: Provider; + tls?: boolean; + regionInfoProvider: RegionInfoProvider; + urlParser: UrlParser; + useDualstackEndpoint: Provider; + useFipsEndpoint: Provider; +} +export declare const getEndpointFromRegion: (input: GetEndpointFromRegionOptions) => Promise; +export {}; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..fde7086 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/index.d.ts @@ -0,0 +1,12 @@ +/** + * @internal + */ +export * from "./endpointsConfig"; +/** + * @internal + */ +export * from "./regionConfig"; +/** + * @internal + */ +export * from "./regionInfo"; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/checkRegion.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/checkRegion.d.ts new file mode 100644 index 0000000..ead866f --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/checkRegion.d.ts @@ -0,0 +1,9 @@ +/** + * Checks whether region can be a host component. + * + * @param region - to check. + * @param check - checking function. + * + * @internal + */ +export declare const checkRegion: (region: string, check?: (value: string, allowSubDomains?: boolean) => boolean) => void; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/config.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/config.d.ts new file mode 100644 index 0000000..d203bb0 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/config.d.ts @@ -0,0 +1,17 @@ +import { LoadedConfigSelectors, LocalConfigOptions } from "@smithy/node-config-provider"; +/** + * @internal + */ +export declare const REGION_ENV_NAME = "AWS_REGION"; +/** + * @internal + */ +export declare const REGION_INI_NAME = "region"; +/** + * @internal + */ +export declare const NODE_REGION_CONFIG_OPTIONS: LoadedConfigSelectors; +/** + * @internal + */ +export declare const NODE_REGION_CONFIG_FILE_OPTIONS: LocalConfigOptions; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts new file mode 100644 index 0000000..c70fb5b --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const getRealRegion: (region: string) => string; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/index.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/index.d.ts new file mode 100644 index 0000000..6dcf5e5 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./config"; +/** + * @internal + */ +export * from "./resolveRegionConfig"; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts new file mode 100644 index 0000000..b42cee7 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const isFipsRegion: (region: string) => boolean; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts new file mode 100644 index 0000000..c06c9d4 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts @@ -0,0 +1,34 @@ +import { Provider } from "@smithy/types"; +/** + * @public + */ +export interface RegionInputConfig { + /** + * The AWS region to which this client will send requests + */ + region?: string | Provider; + /** + * Enables FIPS compatible endpoints. + */ + useFipsEndpoint?: boolean | Provider; +} +interface PreviouslyResolved { +} +/** + * @internal + */ +export interface RegionResolvedConfig { + /** + * Resolved value for input config {@link RegionInputConfig.region} + */ + region: Provider; + /** + * Resolved value for input {@link RegionInputConfig.useFipsEndpoint} + */ + useFipsEndpoint: Provider; +} +/** + * @internal + */ +export declare const resolveRegionConfig: (input: T & RegionInputConfig & PreviouslyResolved) => T & RegionResolvedConfig; +export {}; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariant.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariant.d.ts new file mode 100644 index 0000000..24c2fd5 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariant.d.ts @@ -0,0 +1,11 @@ +import { EndpointVariantTag } from "./EndpointVariantTag"; +/** + * Provides hostname information for specific host label. + * + * @internal + * @deprecated unused as of endpointsRuleSets. + */ +export type EndpointVariant = { + hostname: string; + tags: EndpointVariantTag[]; +}; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariantTag.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariantTag.d.ts new file mode 100644 index 0000000..0c87d4d --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariantTag.d.ts @@ -0,0 +1,10 @@ +/** + * + * + * The tag which mentions which area variant is providing information for. + * Can be either "fips" or "dualstack". + * + * @internal + * @deprecated unused for endpointRuleSets. + */ +export type EndpointVariantTag = "fips" | "dualstack"; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/PartitionHash.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/PartitionHash.d.ts new file mode 100644 index 0000000..c86f36b --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/PartitionHash.d.ts @@ -0,0 +1,15 @@ +import { EndpointVariant } from "./EndpointVariant"; +/** + * The hash of partition with the information specific to that partition. + * The information includes the list of regions belonging to that partition, + * and the hostname to be used for the partition. + * + * @internal + * @deprecated unused for endpointRuleSets. + */ +export type PartitionHash = Record; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/RegionHash.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/RegionHash.d.ts new file mode 100644 index 0000000..991f2f5 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/RegionHash.d.ts @@ -0,0 +1,13 @@ +import { EndpointVariant } from "./EndpointVariant"; +/** + * The hash of region with the information specific to that region. + * The information can include hostname, signingService and signingRegion. + * + * @internal + * @deprecated unused for endpointRuleSets. + */ +export type RegionHash = Record; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getHostnameFromVariants.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getHostnameFromVariants.d.ts new file mode 100644 index 0000000..6538c99 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getHostnameFromVariants.d.ts @@ -0,0 +1,14 @@ +import { EndpointVariant } from "./EndpointVariant"; +/** + * @internal + * @deprecated unused as of endpointsRuleSets. + */ +export interface GetHostnameFromVariantsOptions { + useFipsEndpoint: boolean; + useDualstackEndpoint: boolean; +} +/** + * @internal + * @deprecated unused as of endpointsRuleSets. + */ +export declare const getHostnameFromVariants: (variants: EndpointVariant[] | undefined, { useFipsEndpoint, useDualstackEndpoint }: GetHostnameFromVariantsOptions) => string | undefined; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getRegionInfo.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getRegionInfo.d.ts new file mode 100644 index 0000000..7579e43 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getRegionInfo.d.ts @@ -0,0 +1,19 @@ +import { RegionInfo } from "@smithy/types"; +import { PartitionHash } from "./PartitionHash"; +import { RegionHash } from "./RegionHash"; +/** + * @internal + * @deprecated unused as of endpointsRuleSets. + */ +export interface GetRegionInfoOptions { + useFipsEndpoint?: boolean; + useDualstackEndpoint?: boolean; + signingService: string; + regionHash: RegionHash; + partitionHash: PartitionHash; +} +/** + * @internal + * @deprecated unused as of endpointsRuleSets. + */ +export declare const getRegionInfo: (region: string, { useFipsEndpoint, useDualstackEndpoint, signingService, regionHash, partitionHash, }: GetRegionInfoOptions) => RegionInfo; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedHostname.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedHostname.d.ts new file mode 100644 index 0000000..4831752 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedHostname.d.ts @@ -0,0 +1,13 @@ +/** + * @internal + * @deprecated unused for endpointRuleSets. + */ +export interface GetResolvedHostnameOptions { + regionHostname?: string; + partitionHostname?: string; +} +/** + * @internal + * @deprecated unused for endpointRuleSets. + */ +export declare const getResolvedHostname: (resolvedRegion: string, { regionHostname, partitionHostname }: GetResolvedHostnameOptions) => string | undefined; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedPartition.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedPartition.d.ts new file mode 100644 index 0000000..79e6f7c --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedPartition.d.ts @@ -0,0 +1,13 @@ +import { PartitionHash } from "./PartitionHash"; +/** + * @internal + * @deprecated unused for endpointRuleSets. + */ +export interface GetResolvedPartitionOptions { + partitionHash: PartitionHash; +} +/** + * @internal + * @deprecated unused for endpointRuleSets. + */ +export declare const getResolvedPartition: (region: string, { partitionHash }: GetResolvedPartitionOptions) => string; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedSigningRegion.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedSigningRegion.d.ts new file mode 100644 index 0000000..e0990b7 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedSigningRegion.d.ts @@ -0,0 +1,14 @@ +/** + * @internal + * @deprecated unused for endpointRuleSets. + */ +export interface GetResolvedSigningRegionOptions { + regionRegex: string; + signingRegion?: string; + useFipsEndpoint: boolean; +} +/** + * @internal + * @deprecated unused for endpointRuleSets. + */ +export declare const getResolvedSigningRegion: (hostname: string, { signingRegion, regionRegex, useFipsEndpoint }: GetResolvedSigningRegionOptions) => string | undefined; diff --git a/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/index.d.ts b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/index.d.ts new file mode 100644 index 0000000..64ef0d5 --- /dev/null +++ b/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/index.d.ts @@ -0,0 +1,12 @@ +/** + * @internal + */ +export * from "./PartitionHash"; +/** + * @internal + */ +export * from "./RegionHash"; +/** + * @internal + */ +export * from "./getRegionInfo"; diff --git a/node_modules/@smithy/config-resolver/package.json b/node_modules/@smithy/config-resolver/package.json new file mode 100644 index 0000000..694a744 --- /dev/null +++ b/node_modules/@smithy/config-resolver/package.json @@ -0,0 +1,66 @@ +{ + "name": "@smithy/config-resolver", + "version": "4.4.13", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline config-resolver", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "extract:docs": "api-extractor run --local", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/node-config-provider": "^4.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-config-provider": "^4.2.2", + "@smithy/util-endpoints": "^3.3.3", + "@smithy/util-middleware": "^4.2.12", + "tslib": "^2.6.2" + }, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/config-resolver", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/config-resolver" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/core/LICENSE b/node_modules/@smithy/core/LICENSE new file mode 100644 index 0000000..e907b58 --- /dev/null +++ b/node_modules/@smithy/core/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@smithy/core/README.md b/node_modules/@smithy/core/README.md new file mode 100644 index 0000000..3fc523a --- /dev/null +++ b/node_modules/@smithy/core/README.md @@ -0,0 +1,56 @@ +# @smithy/core + +[![NPM version](https://img.shields.io/npm/v/@smithy/core/latest.svg)](https://www.npmjs.com/package/@smithy/core) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/core.svg)](https://www.npmjs.com/package/@smithy/core) + +### :warning: Internal API :warning: + +> This is an internal package. +> That means this is used as a dependency for other, public packages, but +> should not be taken directly as a dependency in your application's `package.json`. + +> If you are updating the version of this package, for example to bring in a +> bug-fix, you should do so by updating your application lockfile with +> e.g. `npm up @scope/package` or equivalent command in another +> package manager, rather than taking a direct dependency. + +--- + +This package provides common or core functionality for generic Smithy clients. + +You do not need to explicitly install this package, since it will be installed during code generation if used. + +## Development of `@smithy/core` submodules + +Core submodules are organized for distribution via the `package.json` `exports` field. + +`exports` is supported by default by the latest Node.js, webpack, and esbuild. For react-native, it can be +enabled via instructions found at [reactnative.dev/blog](https://reactnative.dev/blog/2023/06/21/package-exports-support), but we also provide a compatibility redirect. + +Think of `@smithy/core` as a mono-package within the monorepo. +It preserves the benefits of modularization, for example to optimize Node.js initialization speed, +while making it easier to have a consistent version of core dependencies, reducing package sprawl when +installing a Smithy runtime client. + +### Guide for submodules + +- Each `index.ts` file corresponding to the pattern `./src/submodules//index.ts` will be + published as a separate `dist-cjs` bundled submodule index using the `Inliner.js` build script. +- create a folder as `./src/submodules/` including an `index.ts` file and a `README.md` file. + - The linter will throw an error on missing submodule metadata in `package.json` and the various `tsconfig.json` files, but it will automatically fix them if possible. +- a submodule is equivalent to a standalone `@smithy/` package in that importing it in Node.js will resolve a separate bundle. +- submodules may not relatively import files from other submodules. Instead, directly use the `@scope/pkg/submodule` name as the import. + - The linter will check for this and throw an error. +- To the extent possible, correctly declaring submodule metadata is validated by the linter in `@smithy/core`. + The linter runs during `yarn build` and also as `yarn lint`. + +### When should I create an `@smithy/core/submodule` vs. `@smithy/new-package`? + +Keep in mind that the core package is installed by all downstream clients. + +If the component functionality is upstream of multiple clients, it is +a good candidate for a core submodule. For example, if `middleware-retry` had been written +after the support for submodules was added, it would have been a submodule. + +If the component's functionality is downstream of a client (rare), or only expected to be used by a very small +subset of clients, it could be written as a standalone package. diff --git a/node_modules/@smithy/core/cbor.d.ts b/node_modules/@smithy/core/cbor.d.ts new file mode 100644 index 0000000..c44b707 --- /dev/null +++ b/node_modules/@smithy/core/cbor.d.ts @@ -0,0 +1,7 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +declare module "@smithy/core/cbor" { + export * from "@smithy/core/dist-types/submodules/cbor/index.d"; +} diff --git a/node_modules/@smithy/core/cbor.js b/node_modules/@smithy/core/cbor.js new file mode 100644 index 0000000..710fb79 --- /dev/null +++ b/node_modules/@smithy/core/cbor.js @@ -0,0 +1,6 @@ + +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +module.exports = require("./dist-cjs/submodules/cbor/index.js"); diff --git a/node_modules/@smithy/core/dist-cjs/index.js b/node_modules/@smithy/core/dist-cjs/index.js new file mode 100644 index 0000000..d1ca103 --- /dev/null +++ b/node_modules/@smithy/core/dist-cjs/index.js @@ -0,0 +1,345 @@ +'use strict'; + +var types = require('@smithy/types'); +var utilMiddleware = require('@smithy/util-middleware'); +var protocolHttp = require('@smithy/protocol-http'); +var protocols = require('@smithy/core/protocols'); + +const getSmithyContext = (context) => context[types.SMITHY_CONTEXT_KEY] || (context[types.SMITHY_CONTEXT_KEY] = {}); + +const resolveAuthOptions = (candidateAuthOptions, authSchemePreference) => { + if (!authSchemePreference || authSchemePreference.length === 0) { + return candidateAuthOptions; + } + const preferredAuthOptions = []; + for (const preferredSchemeName of authSchemePreference) { + for (const candidateAuthOption of candidateAuthOptions) { + const candidateAuthSchemeName = candidateAuthOption.schemeId.split("#")[1]; + if (candidateAuthSchemeName === preferredSchemeName) { + preferredAuthOptions.push(candidateAuthOption); + } + } + } + for (const candidateAuthOption of candidateAuthOptions) { + if (!preferredAuthOptions.find(({ schemeId }) => schemeId === candidateAuthOption.schemeId)) { + preferredAuthOptions.push(candidateAuthOption); + } + } + return preferredAuthOptions; +}; + +function convertHttpAuthSchemesToMap(httpAuthSchemes) { + const map = new Map(); + for (const scheme of httpAuthSchemes) { + map.set(scheme.schemeId, scheme); + } + return map; +} +const httpAuthSchemeMiddleware = (config, mwOptions) => (next, context) => async (args) => { + const options = config.httpAuthSchemeProvider(await mwOptions.httpAuthSchemeParametersProvider(config, context, args.input)); + const authSchemePreference = config.authSchemePreference ? await config.authSchemePreference() : []; + const resolvedOptions = resolveAuthOptions(options, authSchemePreference); + const authSchemes = convertHttpAuthSchemesToMap(config.httpAuthSchemes); + const smithyContext = utilMiddleware.getSmithyContext(context); + const failureReasons = []; + for (const option of resolvedOptions) { + const scheme = authSchemes.get(option.schemeId); + if (!scheme) { + failureReasons.push(`HttpAuthScheme \`${option.schemeId}\` was not enabled for this service.`); + continue; + } + const identityProvider = scheme.identityProvider(await mwOptions.identityProviderConfigProvider(config)); + if (!identityProvider) { + failureReasons.push(`HttpAuthScheme \`${option.schemeId}\` did not have an IdentityProvider configured.`); + continue; + } + const { identityProperties = {}, signingProperties = {} } = option.propertiesExtractor?.(config, context) || {}; + option.identityProperties = Object.assign(option.identityProperties || {}, identityProperties); + option.signingProperties = Object.assign(option.signingProperties || {}, signingProperties); + smithyContext.selectedHttpAuthScheme = { + httpAuthOption: option, + identity: await identityProvider(option.identityProperties), + signer: scheme.signer, + }; + break; + } + if (!smithyContext.selectedHttpAuthScheme) { + throw new Error(failureReasons.join("\n")); + } + return next(args); +}; + +const httpAuthSchemeEndpointRuleSetMiddlewareOptions = { + step: "serialize", + tags: ["HTTP_AUTH_SCHEME"], + name: "httpAuthSchemeMiddleware", + override: true, + relation: "before", + toMiddleware: "endpointV2Middleware", +}; +const getHttpAuthSchemeEndpointRuleSetPlugin = (config, { httpAuthSchemeParametersProvider, identityProviderConfigProvider, }) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(httpAuthSchemeMiddleware(config, { + httpAuthSchemeParametersProvider, + identityProviderConfigProvider, + }), httpAuthSchemeEndpointRuleSetMiddlewareOptions); + }, +}); + +const httpAuthSchemeMiddlewareOptions = { + step: "serialize", + tags: ["HTTP_AUTH_SCHEME"], + name: "httpAuthSchemeMiddleware", + override: true, + relation: "before", + toMiddleware: "serializerMiddleware", +}; +const getHttpAuthSchemePlugin = (config, { httpAuthSchemeParametersProvider, identityProviderConfigProvider, }) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(httpAuthSchemeMiddleware(config, { + httpAuthSchemeParametersProvider, + identityProviderConfigProvider, + }), httpAuthSchemeMiddlewareOptions); + }, +}); + +const defaultErrorHandler = (signingProperties) => (error) => { + throw error; +}; +const defaultSuccessHandler = (httpResponse, signingProperties) => { }; +const httpSigningMiddleware = (config) => (next, context) => async (args) => { + if (!protocolHttp.HttpRequest.isInstance(args.request)) { + return next(args); + } + const smithyContext = utilMiddleware.getSmithyContext(context); + const scheme = smithyContext.selectedHttpAuthScheme; + if (!scheme) { + throw new Error(`No HttpAuthScheme was selected: unable to sign request`); + } + const { httpAuthOption: { signingProperties = {} }, identity, signer, } = scheme; + const output = await next({ + ...args, + request: await signer.sign(args.request, identity, signingProperties), + }).catch((signer.errorHandler || defaultErrorHandler)(signingProperties)); + (signer.successHandler || defaultSuccessHandler)(output.response, signingProperties); + return output; +}; + +const httpSigningMiddlewareOptions = { + step: "finalizeRequest", + tags: ["HTTP_SIGNING"], + name: "httpSigningMiddleware", + aliases: ["apiKeyMiddleware", "tokenMiddleware", "awsAuthMiddleware"], + override: true, + relation: "after", + toMiddleware: "retryMiddleware", +}; +const getHttpSigningPlugin = (config) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(httpSigningMiddleware(), httpSigningMiddlewareOptions); + }, +}); + +const normalizeProvider = (input) => { + if (typeof input === "function") + return input; + const promisified = Promise.resolve(input); + return () => promisified; +}; + +const makePagedClientRequest = async (CommandCtor, client, input, withCommand = (_) => _, ...args) => { + let command = new CommandCtor(input); + command = withCommand(command) ?? command; + return await client.send(command, ...args); +}; +function createPaginator(ClientCtor, CommandCtor, inputTokenName, outputTokenName, pageSizeTokenName) { + return async function* paginateOperation(config, input, ...additionalArguments) { + const _input = input; + let token = config.startingToken ?? _input[inputTokenName]; + let hasNext = true; + let page; + while (hasNext) { + _input[inputTokenName] = token; + if (pageSizeTokenName) { + _input[pageSizeTokenName] = _input[pageSizeTokenName] ?? config.pageSize; + } + if (config.client instanceof ClientCtor) { + page = await makePagedClientRequest(CommandCtor, config.client, input, config.withCommand, ...additionalArguments); + } + else { + throw new Error(`Invalid client, expected instance of ${ClientCtor.name}`); + } + yield page; + const prevToken = token; + token = get(page, outputTokenName); + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; + }; +} +const get = (fromObject, path) => { + let cursor = fromObject; + const pathComponents = path.split("."); + for (const step of pathComponents) { + if (!cursor || typeof cursor !== "object") { + return undefined; + } + cursor = cursor[step]; + } + return cursor; +}; + +function setFeature(context, feature, value) { + if (!context.__smithy_context) { + context.__smithy_context = { + features: {}, + }; + } + else if (!context.__smithy_context.features) { + context.__smithy_context.features = {}; + } + context.__smithy_context.features[feature] = value; +} + +class DefaultIdentityProviderConfig { + authSchemes = new Map(); + constructor(config) { + for (const [key, value] of Object.entries(config)) { + if (value !== undefined) { + this.authSchemes.set(key, value); + } + } + } + getIdentityProvider(schemeId) { + return this.authSchemes.get(schemeId); + } +} + +class HttpApiKeyAuthSigner { + async sign(httpRequest, identity, signingProperties) { + if (!signingProperties) { + throw new Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing"); + } + if (!signingProperties.name) { + throw new Error("request could not be signed with `apiKey` since the `name` signer property is missing"); + } + if (!signingProperties.in) { + throw new Error("request could not be signed with `apiKey` since the `in` signer property is missing"); + } + if (!identity.apiKey) { + throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined"); + } + const clonedRequest = protocolHttp.HttpRequest.clone(httpRequest); + if (signingProperties.in === types.HttpApiKeyAuthLocation.QUERY) { + clonedRequest.query[signingProperties.name] = identity.apiKey; + } + else if (signingProperties.in === types.HttpApiKeyAuthLocation.HEADER) { + clonedRequest.headers[signingProperties.name] = signingProperties.scheme + ? `${signingProperties.scheme} ${identity.apiKey}` + : identity.apiKey; + } + else { + throw new Error("request can only be signed with `apiKey` locations `query` or `header`, " + + "but found: `" + + signingProperties.in + + "`"); + } + return clonedRequest; + } +} + +class HttpBearerAuthSigner { + async sign(httpRequest, identity, signingProperties) { + const clonedRequest = protocolHttp.HttpRequest.clone(httpRequest); + if (!identity.token) { + throw new Error("request could not be signed with `token` since the `token` is not defined"); + } + clonedRequest.headers["Authorization"] = `Bearer ${identity.token}`; + return clonedRequest; + } +} + +class NoAuthSigner { + async sign(httpRequest, identity, signingProperties) { + return httpRequest; + } +} + +const createIsIdentityExpiredFunction = (expirationMs) => function isIdentityExpired(identity) { + return doesIdentityRequireRefresh(identity) && identity.expiration.getTime() - Date.now() < expirationMs; +}; +const EXPIRATION_MS = 300_000; +const isIdentityExpired = createIsIdentityExpiredFunction(EXPIRATION_MS); +const doesIdentityRequireRefresh = (identity) => identity.expiration !== undefined; +const memoizeIdentityProvider = (provider, isExpired, requiresRefresh) => { + if (provider === undefined) { + return undefined; + } + const normalizedProvider = typeof provider !== "function" ? async () => Promise.resolve(provider) : provider; + let resolved; + let pending; + let hasResult; + let isConstant = false; + const coalesceProvider = async (options) => { + if (!pending) { + pending = normalizedProvider(options); + } + try { + resolved = await pending; + hasResult = true; + isConstant = false; + } + finally { + pending = undefined; + } + return resolved; + }; + if (isExpired === undefined) { + return async (options) => { + if (!hasResult || options?.forceRefresh) { + resolved = await coalesceProvider(options); + } + return resolved; + }; + } + return async (options) => { + if (!hasResult || options?.forceRefresh) { + resolved = await coalesceProvider(options); + } + if (isConstant) { + return resolved; + } + if (!requiresRefresh(resolved)) { + isConstant = true; + return resolved; + } + if (isExpired(resolved)) { + await coalesceProvider(options); + return resolved; + } + return resolved; + }; +}; + +exports.requestBuilder = protocols.requestBuilder; +exports.DefaultIdentityProviderConfig = DefaultIdentityProviderConfig; +exports.EXPIRATION_MS = EXPIRATION_MS; +exports.HttpApiKeyAuthSigner = HttpApiKeyAuthSigner; +exports.HttpBearerAuthSigner = HttpBearerAuthSigner; +exports.NoAuthSigner = NoAuthSigner; +exports.createIsIdentityExpiredFunction = createIsIdentityExpiredFunction; +exports.createPaginator = createPaginator; +exports.doesIdentityRequireRefresh = doesIdentityRequireRefresh; +exports.getHttpAuthSchemeEndpointRuleSetPlugin = getHttpAuthSchemeEndpointRuleSetPlugin; +exports.getHttpAuthSchemePlugin = getHttpAuthSchemePlugin; +exports.getHttpSigningPlugin = getHttpSigningPlugin; +exports.getSmithyContext = getSmithyContext; +exports.httpAuthSchemeEndpointRuleSetMiddlewareOptions = httpAuthSchemeEndpointRuleSetMiddlewareOptions; +exports.httpAuthSchemeMiddleware = httpAuthSchemeMiddleware; +exports.httpAuthSchemeMiddlewareOptions = httpAuthSchemeMiddlewareOptions; +exports.httpSigningMiddleware = httpSigningMiddleware; +exports.httpSigningMiddlewareOptions = httpSigningMiddlewareOptions; +exports.isIdentityExpired = isIdentityExpired; +exports.memoizeIdentityProvider = memoizeIdentityProvider; +exports.normalizeProvider = normalizeProvider; +exports.setFeature = setFeature; diff --git a/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js b/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js new file mode 100644 index 0000000..1b6d5af --- /dev/null +++ b/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js @@ -0,0 +1,1096 @@ +'use strict'; + +var serde = require('@smithy/core/serde'); +var utilUtf8 = require('@smithy/util-utf8'); +var protocols = require('@smithy/core/protocols'); +var protocolHttp = require('@smithy/protocol-http'); +var utilBodyLengthBrowser = require('@smithy/util-body-length-browser'); +var schema = require('@smithy/core/schema'); +var utilMiddleware = require('@smithy/util-middleware'); +var utilBase64 = require('@smithy/util-base64'); + +const majorUint64 = 0; +const majorNegativeInt64 = 1; +const majorUnstructuredByteString = 2; +const majorUtf8String = 3; +const majorList = 4; +const majorMap = 5; +const majorTag = 6; +const majorSpecial = 7; +const specialFalse = 20; +const specialTrue = 21; +const specialNull = 22; +const specialUndefined = 23; +const extendedOneByte = 24; +const extendedFloat16 = 25; +const extendedFloat32 = 26; +const extendedFloat64 = 27; +const minorIndefinite = 31; +function alloc(size) { + return typeof Buffer !== "undefined" ? Buffer.alloc(size) : new Uint8Array(size); +} +const tagSymbol = Symbol("@smithy/core/cbor::tagSymbol"); +function tag(data) { + data[tagSymbol] = true; + return data; +} + +const USE_TEXT_DECODER = typeof TextDecoder !== "undefined"; +const USE_BUFFER$1 = typeof Buffer !== "undefined"; +let payload = alloc(0); +let dataView$1 = new DataView(payload.buffer, payload.byteOffset, payload.byteLength); +const textDecoder = USE_TEXT_DECODER ? new TextDecoder() : null; +let _offset = 0; +function setPayload(bytes) { + payload = bytes; + dataView$1 = new DataView(payload.buffer, payload.byteOffset, payload.byteLength); +} +function decode(at, to) { + if (at >= to) { + throw new Error("unexpected end of (decode) payload."); + } + const major = (payload[at] & 0b1110_0000) >> 5; + const minor = payload[at] & 0b0001_1111; + switch (major) { + case majorUint64: + case majorNegativeInt64: + case majorTag: + let unsignedInt; + let offset; + if (minor < 24) { + unsignedInt = minor; + offset = 1; + } + else { + switch (minor) { + case extendedOneByte: + case extendedFloat16: + case extendedFloat32: + case extendedFloat64: + const countLength = minorValueToArgumentLength[minor]; + const countOffset = (countLength + 1); + offset = countOffset; + if (to - at < countOffset) { + throw new Error(`countLength ${countLength} greater than remaining buf len.`); + } + const countIndex = at + 1; + if (countLength === 1) { + unsignedInt = payload[countIndex]; + } + else if (countLength === 2) { + unsignedInt = dataView$1.getUint16(countIndex); + } + else if (countLength === 4) { + unsignedInt = dataView$1.getUint32(countIndex); + } + else { + unsignedInt = dataView$1.getBigUint64(countIndex); + } + break; + default: + throw new Error(`unexpected minor value ${minor}.`); + } + } + if (major === majorUint64) { + _offset = offset; + return castBigInt(unsignedInt); + } + else if (major === majorNegativeInt64) { + let negativeInt; + if (typeof unsignedInt === "bigint") { + negativeInt = BigInt(-1) - unsignedInt; + } + else { + negativeInt = -1 - unsignedInt; + } + _offset = offset; + return castBigInt(negativeInt); + } + else { + if (minor === 2 || minor === 3) { + const length = decodeCount(at + offset, to); + let b = BigInt(0); + const start = at + offset + _offset; + for (let i = start; i < start + length; ++i) { + b = (b << BigInt(8)) | BigInt(payload[i]); + } + _offset = offset + _offset + length; + return minor === 3 ? -b - BigInt(1) : b; + } + else if (minor === 4) { + const decimalFraction = decode(at + offset, to); + const [exponent, mantissa] = decimalFraction; + const normalizer = mantissa < 0 ? -1 : 1; + const mantissaStr = "0".repeat(Math.abs(exponent) + 1) + String(BigInt(normalizer) * BigInt(mantissa)); + let numericString; + const sign = mantissa < 0 ? "-" : ""; + numericString = + exponent === 0 + ? mantissaStr + : mantissaStr.slice(0, mantissaStr.length + exponent) + "." + mantissaStr.slice(exponent); + numericString = numericString.replace(/^0+/g, ""); + if (numericString === "") { + numericString = "0"; + } + if (numericString[0] === ".") { + numericString = "0" + numericString; + } + numericString = sign + numericString; + _offset = offset + _offset; + return serde.nv(numericString); + } + else { + const value = decode(at + offset, to); + const valueOffset = _offset; + _offset = offset + valueOffset; + return tag({ tag: castBigInt(unsignedInt), value }); + } + } + case majorUtf8String: + case majorMap: + case majorList: + case majorUnstructuredByteString: + if (minor === minorIndefinite) { + switch (major) { + case majorUtf8String: + return decodeUtf8StringIndefinite(at, to); + case majorMap: + return decodeMapIndefinite(at, to); + case majorList: + return decodeListIndefinite(at, to); + case majorUnstructuredByteString: + return decodeUnstructuredByteStringIndefinite(at, to); + } + } + else { + switch (major) { + case majorUtf8String: + return decodeUtf8String(at, to); + case majorMap: + return decodeMap(at, to); + case majorList: + return decodeList(at, to); + case majorUnstructuredByteString: + return decodeUnstructuredByteString(at, to); + } + } + default: + return decodeSpecial(at, to); + } +} +function bytesToUtf8(bytes, at, to) { + if (USE_BUFFER$1 && bytes.constructor?.name === "Buffer") { + return bytes.toString("utf-8", at, to); + } + if (textDecoder) { + return textDecoder.decode(bytes.subarray(at, to)); + } + return utilUtf8.toUtf8(bytes.subarray(at, to)); +} +function demote(bigInteger) { + const num = Number(bigInteger); + if (num < Number.MIN_SAFE_INTEGER || Number.MAX_SAFE_INTEGER < num) { + console.warn(new Error(`@smithy/core/cbor - truncating BigInt(${bigInteger}) to ${num} with loss of precision.`)); + } + return num; +} +const minorValueToArgumentLength = { + [extendedOneByte]: 1, + [extendedFloat16]: 2, + [extendedFloat32]: 4, + [extendedFloat64]: 8, +}; +function bytesToFloat16(a, b) { + const sign = a >> 7; + const exponent = (a & 0b0111_1100) >> 2; + const fraction = ((a & 0b0000_0011) << 8) | b; + const scalar = sign === 0 ? 1 : -1; + let exponentComponent; + let summation; + if (exponent === 0b00000) { + if (fraction === 0b00000_00000) { + return 0; + } + else { + exponentComponent = Math.pow(2, 1 - 15); + summation = 0; + } + } + else if (exponent === 0b11111) { + if (fraction === 0b00000_00000) { + return scalar * Infinity; + } + else { + return NaN; + } + } + else { + exponentComponent = Math.pow(2, exponent - 15); + summation = 1; + } + summation += fraction / 1024; + return scalar * (exponentComponent * summation); +} +function decodeCount(at, to) { + const minor = payload[at] & 0b0001_1111; + if (minor < 24) { + _offset = 1; + return minor; + } + if (minor === extendedOneByte || + minor === extendedFloat16 || + minor === extendedFloat32 || + minor === extendedFloat64) { + const countLength = minorValueToArgumentLength[minor]; + _offset = (countLength + 1); + if (to - at < _offset) { + throw new Error(`countLength ${countLength} greater than remaining buf len.`); + } + const countIndex = at + 1; + if (countLength === 1) { + return payload[countIndex]; + } + else if (countLength === 2) { + return dataView$1.getUint16(countIndex); + } + else if (countLength === 4) { + return dataView$1.getUint32(countIndex); + } + return demote(dataView$1.getBigUint64(countIndex)); + } + throw new Error(`unexpected minor value ${minor}.`); +} +function decodeUtf8String(at, to) { + const length = decodeCount(at, to); + const offset = _offset; + at += offset; + if (to - at < length) { + throw new Error(`string len ${length} greater than remaining buf len.`); + } + const value = bytesToUtf8(payload, at, at + length); + _offset = offset + length; + return value; +} +function decodeUtf8StringIndefinite(at, to) { + at += 1; + const vector = []; + for (const base = at; at < to;) { + if (payload[at] === 0b1111_1111) { + const data = alloc(vector.length); + data.set(vector, 0); + _offset = at - base + 2; + return bytesToUtf8(data, 0, data.length); + } + const major = (payload[at] & 0b1110_0000) >> 5; + const minor = payload[at] & 0b0001_1111; + if (major !== majorUtf8String) { + throw new Error(`unexpected major type ${major} in indefinite string.`); + } + if (minor === minorIndefinite) { + throw new Error("nested indefinite string."); + } + const bytes = decodeUnstructuredByteString(at, to); + const length = _offset; + at += length; + for (let i = 0; i < bytes.length; ++i) { + vector.push(bytes[i]); + } + } + throw new Error("expected break marker."); +} +function decodeUnstructuredByteString(at, to) { + const length = decodeCount(at, to); + const offset = _offset; + at += offset; + if (to - at < length) { + throw new Error(`unstructured byte string len ${length} greater than remaining buf len.`); + } + const value = payload.subarray(at, at + length); + _offset = offset + length; + return value; +} +function decodeUnstructuredByteStringIndefinite(at, to) { + at += 1; + const vector = []; + for (const base = at; at < to;) { + if (payload[at] === 0b1111_1111) { + const data = alloc(vector.length); + data.set(vector, 0); + _offset = at - base + 2; + return data; + } + const major = (payload[at] & 0b1110_0000) >> 5; + const minor = payload[at] & 0b0001_1111; + if (major !== majorUnstructuredByteString) { + throw new Error(`unexpected major type ${major} in indefinite string.`); + } + if (minor === minorIndefinite) { + throw new Error("nested indefinite string."); + } + const bytes = decodeUnstructuredByteString(at, to); + const length = _offset; + at += length; + for (let i = 0; i < bytes.length; ++i) { + vector.push(bytes[i]); + } + } + throw new Error("expected break marker."); +} +function decodeList(at, to) { + const listDataLength = decodeCount(at, to); + const offset = _offset; + at += offset; + const base = at; + const list = Array(listDataLength); + for (let i = 0; i < listDataLength; ++i) { + const item = decode(at, to); + const itemOffset = _offset; + list[i] = item; + at += itemOffset; + } + _offset = offset + (at - base); + return list; +} +function decodeListIndefinite(at, to) { + at += 1; + const list = []; + for (const base = at; at < to;) { + if (payload[at] === 0b1111_1111) { + _offset = at - base + 2; + return list; + } + const item = decode(at, to); + const n = _offset; + at += n; + list.push(item); + } + throw new Error("expected break marker."); +} +function decodeMap(at, to) { + const mapDataLength = decodeCount(at, to); + const offset = _offset; + at += offset; + const base = at; + const map = {}; + for (let i = 0; i < mapDataLength; ++i) { + if (at >= to) { + throw new Error("unexpected end of map payload."); + } + const major = (payload[at] & 0b1110_0000) >> 5; + if (major !== majorUtf8String) { + throw new Error(`unexpected major type ${major} for map key at index ${at}.`); + } + const key = decode(at, to); + at += _offset; + const value = decode(at, to); + at += _offset; + map[key] = value; + } + _offset = offset + (at - base); + return map; +} +function decodeMapIndefinite(at, to) { + at += 1; + const base = at; + const map = {}; + for (; at < to;) { + if (at >= to) { + throw new Error("unexpected end of map payload."); + } + if (payload[at] === 0b1111_1111) { + _offset = at - base + 2; + return map; + } + const major = (payload[at] & 0b1110_0000) >> 5; + if (major !== majorUtf8String) { + throw new Error(`unexpected major type ${major} for map key.`); + } + const key = decode(at, to); + at += _offset; + const value = decode(at, to); + at += _offset; + map[key] = value; + } + throw new Error("expected break marker."); +} +function decodeSpecial(at, to) { + const minor = payload[at] & 0b0001_1111; + switch (minor) { + case specialTrue: + case specialFalse: + _offset = 1; + return minor === specialTrue; + case specialNull: + _offset = 1; + return null; + case specialUndefined: + _offset = 1; + return null; + case extendedFloat16: + if (to - at < 3) { + throw new Error("incomplete float16 at end of buf."); + } + _offset = 3; + return bytesToFloat16(payload[at + 1], payload[at + 2]); + case extendedFloat32: + if (to - at < 5) { + throw new Error("incomplete float32 at end of buf."); + } + _offset = 5; + return dataView$1.getFloat32(at + 1); + case extendedFloat64: + if (to - at < 9) { + throw new Error("incomplete float64 at end of buf."); + } + _offset = 9; + return dataView$1.getFloat64(at + 1); + default: + throw new Error(`unexpected minor value ${minor}.`); + } +} +function castBigInt(bigInt) { + if (typeof bigInt === "number") { + return bigInt; + } + const num = Number(bigInt); + if (Number.MIN_SAFE_INTEGER <= num && num <= Number.MAX_SAFE_INTEGER) { + return num; + } + return bigInt; +} + +const USE_BUFFER = typeof Buffer !== "undefined"; +const initialSize = 2048; +let data = alloc(initialSize); +let dataView = new DataView(data.buffer, data.byteOffset, data.byteLength); +let cursor = 0; +function ensureSpace(bytes) { + const remaining = data.byteLength - cursor; + if (remaining < bytes) { + if (cursor < 16_000_000) { + resize(Math.max(data.byteLength * 4, data.byteLength + bytes)); + } + else { + resize(data.byteLength + bytes + 16_000_000); + } + } +} +function toUint8Array() { + const out = alloc(cursor); + out.set(data.subarray(0, cursor), 0); + cursor = 0; + return out; +} +function resize(size) { + const old = data; + data = alloc(size); + if (old) { + if (old.copy) { + old.copy(data, 0, 0, old.byteLength); + } + else { + data.set(old, 0); + } + } + dataView = new DataView(data.buffer, data.byteOffset, data.byteLength); +} +function encodeHeader(major, value) { + if (value < 24) { + data[cursor++] = (major << 5) | value; + } + else if (value < 1 << 8) { + data[cursor++] = (major << 5) | 24; + data[cursor++] = value; + } + else if (value < 1 << 16) { + data[cursor++] = (major << 5) | extendedFloat16; + dataView.setUint16(cursor, value); + cursor += 2; + } + else if (value < 2 ** 32) { + data[cursor++] = (major << 5) | extendedFloat32; + dataView.setUint32(cursor, value); + cursor += 4; + } + else { + data[cursor++] = (major << 5) | extendedFloat64; + dataView.setBigUint64(cursor, typeof value === "bigint" ? value : BigInt(value)); + cursor += 8; + } +} +function encode(_input) { + const encodeStack = [_input]; + while (encodeStack.length) { + const input = encodeStack.pop(); + ensureSpace(typeof input === "string" ? input.length * 4 : 64); + if (typeof input === "string") { + if (USE_BUFFER) { + encodeHeader(majorUtf8String, Buffer.byteLength(input)); + cursor += data.write(input, cursor); + } + else { + const bytes = utilUtf8.fromUtf8(input); + encodeHeader(majorUtf8String, bytes.byteLength); + data.set(bytes, cursor); + cursor += bytes.byteLength; + } + continue; + } + else if (typeof input === "number") { + if (Number.isInteger(input)) { + const nonNegative = input >= 0; + const major = nonNegative ? majorUint64 : majorNegativeInt64; + const value = nonNegative ? input : -input - 1; + if (value < 24) { + data[cursor++] = (major << 5) | value; + } + else if (value < 256) { + data[cursor++] = (major << 5) | 24; + data[cursor++] = value; + } + else if (value < 65536) { + data[cursor++] = (major << 5) | extendedFloat16; + data[cursor++] = value >> 8; + data[cursor++] = value; + } + else if (value < 4294967296) { + data[cursor++] = (major << 5) | extendedFloat32; + dataView.setUint32(cursor, value); + cursor += 4; + } + else { + data[cursor++] = (major << 5) | extendedFloat64; + dataView.setBigUint64(cursor, BigInt(value)); + cursor += 8; + } + continue; + } + data[cursor++] = (majorSpecial << 5) | extendedFloat64; + dataView.setFloat64(cursor, input); + cursor += 8; + continue; + } + else if (typeof input === "bigint") { + const nonNegative = input >= 0; + const major = nonNegative ? majorUint64 : majorNegativeInt64; + const value = nonNegative ? input : -input - BigInt(1); + const n = Number(value); + if (n < 24) { + data[cursor++] = (major << 5) | n; + } + else if (n < 256) { + data[cursor++] = (major << 5) | 24; + data[cursor++] = n; + } + else if (n < 65536) { + data[cursor++] = (major << 5) | extendedFloat16; + data[cursor++] = n >> 8; + data[cursor++] = n & 0b1111_1111; + } + else if (n < 4294967296) { + data[cursor++] = (major << 5) | extendedFloat32; + dataView.setUint32(cursor, n); + cursor += 4; + } + else if (value < BigInt("18446744073709551616")) { + data[cursor++] = (major << 5) | extendedFloat64; + dataView.setBigUint64(cursor, value); + cursor += 8; + } + else { + const binaryBigInt = value.toString(2); + const bigIntBytes = new Uint8Array(Math.ceil(binaryBigInt.length / 8)); + let b = value; + let i = 0; + while (bigIntBytes.byteLength - ++i >= 0) { + bigIntBytes[bigIntBytes.byteLength - i] = Number(b & BigInt(255)); + b >>= BigInt(8); + } + ensureSpace(bigIntBytes.byteLength * 2); + data[cursor++] = nonNegative ? 0b110_00010 : 0b110_00011; + if (USE_BUFFER) { + encodeHeader(majorUnstructuredByteString, Buffer.byteLength(bigIntBytes)); + } + else { + encodeHeader(majorUnstructuredByteString, bigIntBytes.byteLength); + } + data.set(bigIntBytes, cursor); + cursor += bigIntBytes.byteLength; + } + continue; + } + else if (input === null) { + data[cursor++] = (majorSpecial << 5) | specialNull; + continue; + } + else if (typeof input === "boolean") { + data[cursor++] = (majorSpecial << 5) | (input ? specialTrue : specialFalse); + continue; + } + else if (typeof input === "undefined") { + throw new Error("@smithy/core/cbor: client may not serialize undefined value."); + } + else if (Array.isArray(input)) { + for (let i = input.length - 1; i >= 0; --i) { + encodeStack.push(input[i]); + } + encodeHeader(majorList, input.length); + continue; + } + else if (typeof input.byteLength === "number") { + ensureSpace(input.length * 2); + encodeHeader(majorUnstructuredByteString, input.length); + data.set(input, cursor); + cursor += input.byteLength; + continue; + } + else if (typeof input === "object") { + if (input instanceof serde.NumericValue) { + const decimalIndex = input.string.indexOf("."); + const exponent = decimalIndex === -1 ? 0 : decimalIndex - input.string.length + 1; + const mantissa = BigInt(input.string.replace(".", "")); + data[cursor++] = 0b110_00100; + encodeStack.push(mantissa); + encodeStack.push(exponent); + encodeHeader(majorList, 2); + continue; + } + if (input[tagSymbol]) { + if ("tag" in input && "value" in input) { + encodeStack.push(input.value); + encodeHeader(majorTag, input.tag); + continue; + } + else { + throw new Error("tag encountered with missing fields, need 'tag' and 'value', found: " + JSON.stringify(input)); + } + } + const keys = Object.keys(input); + for (let i = keys.length - 1; i >= 0; --i) { + const key = keys[i]; + encodeStack.push(input[key]); + encodeStack.push(key); + } + encodeHeader(majorMap, keys.length); + continue; + } + throw new Error(`data type ${input?.constructor?.name ?? typeof input} not compatible for encoding.`); + } +} + +const cbor = { + deserialize(payload) { + setPayload(payload); + return decode(0, payload.length); + }, + serialize(input) { + try { + encode(input); + return toUint8Array(); + } + catch (e) { + toUint8Array(); + throw e; + } + }, + resizeEncodingBuffer(size) { + resize(size); + }, +}; + +const parseCborBody = (streamBody, context) => { + return protocols.collectBody(streamBody, context).then(async (bytes) => { + if (bytes.length) { + try { + return cbor.deserialize(bytes); + } + catch (e) { + Object.defineProperty(e, "$responseBodyText", { + value: context.utf8Encoder(bytes), + }); + throw e; + } + } + return {}; + }); +}; +const dateToTag = (date) => { + return tag({ + tag: 1, + value: date.getTime() / 1000, + }); +}; +const parseCborErrorBody = async (errorBody, context) => { + const value = await parseCborBody(errorBody, context); + value.message = value.message ?? value.Message; + return value; +}; +const loadSmithyRpcV2CborErrorCode = (output, data) => { + const sanitizeErrorCode = (rawValue) => { + let cleanValue = rawValue; + if (typeof cleanValue === "number") { + cleanValue = cleanValue.toString(); + } + if (cleanValue.indexOf(",") >= 0) { + cleanValue = cleanValue.split(",")[0]; + } + if (cleanValue.indexOf(":") >= 0) { + cleanValue = cleanValue.split(":")[0]; + } + if (cleanValue.indexOf("#") >= 0) { + cleanValue = cleanValue.split("#")[1]; + } + return cleanValue; + }; + if (data["__type"] !== undefined) { + return sanitizeErrorCode(data["__type"]); + } + const codeKey = Object.keys(data).find((key) => key.toLowerCase() === "code"); + if (codeKey && data[codeKey] !== undefined) { + return sanitizeErrorCode(data[codeKey]); + } +}; +const checkCborResponse = (response) => { + if (String(response.headers["smithy-protocol"]).toLowerCase() !== "rpc-v2-cbor") { + throw new Error("Malformed RPCv2 CBOR response, status: " + response.statusCode); + } +}; +const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => { + const endpoint = await context.endpoint(); + const { hostname, protocol = "https", port, path: basePath } = endpoint; + const contents = { + protocol, + hostname, + port, + method: "POST", + path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path, + headers: { + ...headers, + }, + }; + if (resolvedHostname !== undefined) { + contents.hostname = resolvedHostname; + } + if (endpoint.headers) { + for (const [name, value] of Object.entries(endpoint.headers)) { + contents.headers[name] = value; + } + } + if (body !== undefined) { + contents.body = body; + try { + contents.headers["content-length"] = String(utilBodyLengthBrowser.calculateBodyLength(body)); + } + catch (e) { } + } + return new protocolHttp.HttpRequest(contents); +}; + +class CborCodec extends protocols.SerdeContext { + createSerializer() { + const serializer = new CborShapeSerializer(); + serializer.setSerdeContext(this.serdeContext); + return serializer; + } + createDeserializer() { + const deserializer = new CborShapeDeserializer(); + deserializer.setSerdeContext(this.serdeContext); + return deserializer; + } +} +class CborShapeSerializer extends protocols.SerdeContext { + value; + write(schema, value) { + this.value = this.serialize(schema, value); + } + serialize(schema$1, source) { + const ns = schema.NormalizedSchema.of(schema$1); + if (source == null) { + if (ns.isIdempotencyToken()) { + return serde.generateIdempotencyToken(); + } + return source; + } + if (ns.isBlobSchema()) { + if (typeof source === "string") { + return (this.serdeContext?.base64Decoder ?? utilBase64.fromBase64)(source); + } + return source; + } + if (ns.isTimestampSchema()) { + if (typeof source === "number" || typeof source === "bigint") { + return dateToTag(new Date((Number(source) / 1000) | 0)); + } + return dateToTag(source); + } + if (typeof source === "function" || typeof source === "object") { + const sourceObject = source; + if (ns.isListSchema() && Array.isArray(sourceObject)) { + const sparse = !!ns.getMergedTraits().sparse; + const newArray = []; + let i = 0; + for (const item of sourceObject) { + const value = this.serialize(ns.getValueSchema(), item); + if (value != null || sparse) { + newArray[i++] = value; + } + } + return newArray; + } + if (sourceObject instanceof Date) { + return dateToTag(sourceObject); + } + const newObject = {}; + if (ns.isMapSchema()) { + const sparse = !!ns.getMergedTraits().sparse; + for (const key of Object.keys(sourceObject)) { + const value = this.serialize(ns.getValueSchema(), sourceObject[key]); + if (value != null || sparse) { + newObject[key] = value; + } + } + } + else if (ns.isStructSchema()) { + for (const [key, memberSchema] of ns.structIterator()) { + const value = this.serialize(memberSchema, sourceObject[key]); + if (value != null) { + newObject[key] = value; + } + } + const isUnion = ns.isUnionSchema(); + if (isUnion && Array.isArray(sourceObject.$unknown)) { + const [k, v] = sourceObject.$unknown; + newObject[k] = v; + } + else if (typeof sourceObject.__type === "string") { + for (const [k, v] of Object.entries(sourceObject)) { + if (!(k in newObject)) { + newObject[k] = this.serialize(15, v); + } + } + } + } + else if (ns.isDocumentSchema()) { + for (const key of Object.keys(sourceObject)) { + newObject[key] = this.serialize(ns.getValueSchema(), sourceObject[key]); + } + } + else if (ns.isBigDecimalSchema()) { + return sourceObject; + } + return newObject; + } + return source; + } + flush() { + const buffer = cbor.serialize(this.value); + this.value = undefined; + return buffer; + } +} +class CborShapeDeserializer extends protocols.SerdeContext { + read(schema, bytes) { + const data = cbor.deserialize(bytes); + return this.readValue(schema, data); + } + readValue(_schema, value) { + const ns = schema.NormalizedSchema.of(_schema); + if (ns.isTimestampSchema()) { + if (typeof value === "number") { + return serde._parseEpochTimestamp(value); + } + if (typeof value === "object") { + if (value.tag === 1 && "value" in value) { + return serde._parseEpochTimestamp(value.value); + } + } + } + if (ns.isBlobSchema()) { + if (typeof value === "string") { + return (this.serdeContext?.base64Decoder ?? utilBase64.fromBase64)(value); + } + return value; + } + if (typeof value === "undefined" || + typeof value === "boolean" || + typeof value === "number" || + typeof value === "string" || + typeof value === "bigint" || + typeof value === "symbol") { + return value; + } + else if (typeof value === "object") { + if (value === null) { + return null; + } + if ("byteLength" in value) { + return value; + } + if (value instanceof Date) { + return value; + } + if (ns.isDocumentSchema()) { + return value; + } + if (ns.isListSchema()) { + const newArray = []; + const memberSchema = ns.getValueSchema(); + for (const item of value) { + const itemValue = this.readValue(memberSchema, item); + newArray.push(itemValue); + } + return newArray; + } + const newObject = {}; + if (ns.isMapSchema()) { + const targetSchema = ns.getValueSchema(); + for (const key of Object.keys(value)) { + const itemValue = this.readValue(targetSchema, value[key]); + newObject[key] = itemValue; + } + } + else if (ns.isStructSchema()) { + const isUnion = ns.isUnionSchema(); + let keys; + if (isUnion) { + keys = new Set(Object.keys(value).filter((k) => k !== "__type")); + } + for (const [key, memberSchema] of ns.structIterator()) { + if (isUnion) { + keys.delete(key); + } + if (value[key] != null) { + newObject[key] = this.readValue(memberSchema, value[key]); + } + } + if (isUnion && keys?.size === 1 && Object.keys(newObject).length === 0) { + const k = keys.values().next().value; + newObject.$unknown = [k, value[k]]; + } + else if (typeof value.__type === "string") { + for (const [k, v] of Object.entries(value)) { + if (!(k in newObject)) { + newObject[k] = v; + } + } + } + } + else if (value instanceof serde.NumericValue) { + return value; + } + return newObject; + } + else { + return value; + } + } +} + +class SmithyRpcV2CborProtocol extends protocols.RpcProtocol { + codec = new CborCodec(); + serializer = this.codec.createSerializer(); + deserializer = this.codec.createDeserializer(); + constructor({ defaultNamespace, errorTypeRegistries, }) { + super({ defaultNamespace, errorTypeRegistries }); + } + getShapeId() { + return "smithy.protocols#rpcv2Cbor"; + } + getPayloadCodec() { + return this.codec; + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + Object.assign(request.headers, { + "content-type": this.getDefaultContentType(), + "smithy-protocol": "rpc-v2-cbor", + accept: this.getDefaultContentType(), + }); + if (schema.deref(operationSchema.input) === "unit") { + delete request.body; + delete request.headers["content-type"]; + } + else { + if (!request.body) { + this.serializer.write(15, {}); + request.body = this.serializer.flush(); + } + try { + request.headers["content-length"] = String(request.body.byteLength); + } + catch (e) { } + } + const { service, operation } = utilMiddleware.getSmithyContext(context); + const path = `/service/${service}/operation/${operation}`; + if (request.path.endsWith("/")) { + request.path += path.slice(1); + } + else { + request.path += path; + } + return request; + } + async deserializeResponse(operationSchema, context, response) { + return super.deserializeResponse(operationSchema, context, response); + } + async handleError(operationSchema, context, response, dataObject, metadata) { + const errorName = loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown"; + const errorMetadata = { + $metadata: metadata, + $fault: response.statusCode <= 500 ? "client" : "server", + }; + let namespace = this.options.defaultNamespace; + if (errorName.includes("#")) { + [namespace] = errorName.split("#"); + } + const registry = this.compositeErrorRegistry; + const nsRegistry = schema.TypeRegistry.for(namespace); + registry.copyFrom(nsRegistry); + let errorSchema; + try { + errorSchema = registry.getSchema(errorName); + } + catch (e) { + if (dataObject.Message) { + dataObject.message = dataObject.Message; + } + const syntheticRegistry = schema.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace); + registry.copyFrom(syntheticRegistry); + const baseExceptionSchema = registry.getBaseException(); + if (baseExceptionSchema) { + const ErrorCtor = registry.getErrorCtor(baseExceptionSchema); + throw Object.assign(new ErrorCtor({ name: errorName }), errorMetadata, dataObject); + } + throw Object.assign(new Error(errorName), errorMetadata, dataObject); + } + const ns = schema.NormalizedSchema.of(errorSchema); + const ErrorCtor = registry.getErrorCtor(errorSchema); + const message = dataObject.message ?? dataObject.Message ?? "Unknown"; + const exception = new ErrorCtor(message); + const output = {}; + for (const [name, member] of ns.structIterator()) { + output[name] = this.deserializer.readValue(member, dataObject[name]); + } + throw Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output); + } + getDefaultContentType() { + return "application/cbor"; + } +} + +exports.CborCodec = CborCodec; +exports.CborShapeDeserializer = CborShapeDeserializer; +exports.CborShapeSerializer = CborShapeSerializer; +exports.SmithyRpcV2CborProtocol = SmithyRpcV2CborProtocol; +exports.buildHttpRpcRequest = buildHttpRpcRequest; +exports.cbor = cbor; +exports.checkCborResponse = checkCborResponse; +exports.dateToTag = dateToTag; +exports.loadSmithyRpcV2CborErrorCode = loadSmithyRpcV2CborErrorCode; +exports.parseCborBody = parseCborBody; +exports.parseCborErrorBody = parseCborErrorBody; +exports.tag = tag; +exports.tagSymbol = tagSymbol; diff --git a/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js b/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js new file mode 100644 index 0000000..2a8bae0 --- /dev/null +++ b/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js @@ -0,0 +1,22 @@ +'use strict'; + +var urlParser = require('@smithy/url-parser'); + +const toEndpointV1 = (endpoint) => { + if (typeof endpoint === "object") { + if ("url" in endpoint) { + const v1Endpoint = urlParser.parseUrl(endpoint.url); + if (endpoint.headers) { + v1Endpoint.headers = {}; + for (const [name, values] of Object.entries(endpoint.headers)) { + v1Endpoint.headers[name.toLowerCase()] = values.join(", "); + } + } + return v1Endpoint; + } + return endpoint; + } + return urlParser.parseUrl(endpoint); +}; + +exports.toEndpointV1 = toEndpointV1; diff --git a/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js b/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js new file mode 100644 index 0000000..d43955d --- /dev/null +++ b/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js @@ -0,0 +1,259 @@ +'use strict'; + +var utilUtf8 = require('@smithy/util-utf8'); + +class EventStreamSerde { + marshaller; + serializer; + deserializer; + serdeContext; + defaultContentType; + constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType, }) { + this.marshaller = marshaller; + this.serializer = serializer; + this.deserializer = deserializer; + this.serdeContext = serdeContext; + this.defaultContentType = defaultContentType; + } + async serializeEventStream({ eventStream, requestSchema, initialRequest, }) { + const marshaller = this.marshaller; + const eventStreamMember = requestSchema.getEventStreamMember(); + const unionSchema = requestSchema.getMemberSchema(eventStreamMember); + const serializer = this.serializer; + const defaultContentType = this.defaultContentType; + const initialRequestMarker = Symbol("initialRequestMarker"); + const eventStreamIterable = { + async *[Symbol.asyncIterator]() { + if (initialRequest) { + const headers = { + ":event-type": { type: "string", value: "initial-request" }, + ":message-type": { type: "string", value: "event" }, + ":content-type": { type: "string", value: defaultContentType }, + }; + serializer.write(requestSchema, initialRequest); + const body = serializer.flush(); + yield { + [initialRequestMarker]: true, + headers, + body, + }; + } + for await (const page of eventStream) { + yield page; + } + }, + }; + return marshaller.serialize(eventStreamIterable, (event) => { + if (event[initialRequestMarker]) { + return { + headers: event.headers, + body: event.body, + }; + } + const unionMember = Object.keys(event).find((key) => { + return key !== "__type"; + }) ?? ""; + const { additionalHeaders, body, eventType, explicitPayloadContentType } = this.writeEventBody(unionMember, unionSchema, event); + const headers = { + ":event-type": { type: "string", value: eventType }, + ":message-type": { type: "string", value: "event" }, + ":content-type": { type: "string", value: explicitPayloadContentType ?? defaultContentType }, + ...additionalHeaders, + }; + return { + headers, + body, + }; + }); + } + async deserializeEventStream({ response, responseSchema, initialResponseContainer, }) { + const marshaller = this.marshaller; + const eventStreamMember = responseSchema.getEventStreamMember(); + const unionSchema = responseSchema.getMemberSchema(eventStreamMember); + const memberSchemas = unionSchema.getMemberSchemas(); + const initialResponseMarker = Symbol("initialResponseMarker"); + const asyncIterable = marshaller.deserialize(response.body, async (event) => { + const unionMember = Object.keys(event).find((key) => { + return key !== "__type"; + }) ?? ""; + const body = event[unionMember].body; + if (unionMember === "initial-response") { + const dataObject = await this.deserializer.read(responseSchema, body); + delete dataObject[eventStreamMember]; + return { + [initialResponseMarker]: true, + ...dataObject, + }; + } + else if (unionMember in memberSchemas) { + const eventStreamSchema = memberSchemas[unionMember]; + if (eventStreamSchema.isStructSchema()) { + const out = {}; + let hasBindings = false; + for (const [name, member] of eventStreamSchema.structIterator()) { + const { eventHeader, eventPayload } = member.getMergedTraits(); + hasBindings = hasBindings || Boolean(eventHeader || eventPayload); + if (eventPayload) { + if (member.isBlobSchema()) { + out[name] = body; + } + else if (member.isStringSchema()) { + out[name] = (this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8)(body); + } + else if (member.isStructSchema()) { + out[name] = await this.deserializer.read(member, body); + } + } + else if (eventHeader) { + const value = event[unionMember].headers[name]?.value; + if (value != null) { + if (member.isNumericSchema()) { + if (value && typeof value === "object" && "bytes" in value) { + out[name] = BigInt(value.toString()); + } + else { + out[name] = Number(value); + } + } + else { + out[name] = value; + } + } + } + } + if (hasBindings) { + return { + [unionMember]: out, + }; + } + if (body.byteLength === 0) { + return { + [unionMember]: {}, + }; + } + } + return { + [unionMember]: await this.deserializer.read(eventStreamSchema, body), + }; + } + else { + return { + $unknown: event, + }; + } + }); + const asyncIterator = asyncIterable[Symbol.asyncIterator](); + const firstEvent = await asyncIterator.next(); + if (firstEvent.done) { + return asyncIterable; + } + if (firstEvent.value?.[initialResponseMarker]) { + if (!responseSchema) { + throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given."); + } + for (const [key, value] of Object.entries(firstEvent.value)) { + initialResponseContainer[key] = value; + } + } + return { + async *[Symbol.asyncIterator]() { + if (!firstEvent?.value?.[initialResponseMarker]) { + yield firstEvent.value; + } + while (true) { + const { done, value } = await asyncIterator.next(); + if (done) { + break; + } + yield value; + } + }, + }; + } + writeEventBody(unionMember, unionSchema, event) { + const serializer = this.serializer; + let eventType = unionMember; + let explicitPayloadMember = null; + let explicitPayloadContentType; + const isKnownSchema = (() => { + const struct = unionSchema.getSchema(); + return struct[4].includes(unionMember); + })(); + const additionalHeaders = {}; + if (!isKnownSchema) { + const [type, value] = event[unionMember]; + eventType = type; + serializer.write(15, value); + } + else { + const eventSchema = unionSchema.getMemberSchema(unionMember); + if (eventSchema.isStructSchema()) { + for (const [memberName, memberSchema] of eventSchema.structIterator()) { + const { eventHeader, eventPayload } = memberSchema.getMergedTraits(); + if (eventPayload) { + explicitPayloadMember = memberName; + } + else if (eventHeader) { + const value = event[unionMember][memberName]; + let type = "binary"; + if (memberSchema.isNumericSchema()) { + if ((-2) ** 31 <= value && value <= 2 ** 31 - 1) { + type = "integer"; + } + else { + type = "long"; + } + } + else if (memberSchema.isTimestampSchema()) { + type = "timestamp"; + } + else if (memberSchema.isStringSchema()) { + type = "string"; + } + else if (memberSchema.isBooleanSchema()) { + type = "boolean"; + } + if (value != null) { + additionalHeaders[memberName] = { + type, + value, + }; + delete event[unionMember][memberName]; + } + } + } + if (explicitPayloadMember !== null) { + const payloadSchema = eventSchema.getMemberSchema(explicitPayloadMember); + if (payloadSchema.isBlobSchema()) { + explicitPayloadContentType = "application/octet-stream"; + } + else if (payloadSchema.isStringSchema()) { + explicitPayloadContentType = "text/plain"; + } + serializer.write(payloadSchema, event[unionMember][explicitPayloadMember]); + } + else { + serializer.write(eventSchema, event[unionMember]); + } + } + else if (eventSchema.isUnitSchema()) { + serializer.write(eventSchema, {}); + } + else { + throw new Error("@smithy/core/event-streams - non-struct member not supported in event stream union."); + } + } + const messageSerialization = serializer.flush() ?? new Uint8Array(); + const body = typeof messageSerialization === "string" + ? (this.serdeContext?.utf8Decoder ?? utilUtf8.fromUtf8)(messageSerialization) + : messageSerialization; + return { + body, + eventType, + explicitPayloadContentType, + additionalHeaders, + }; + } +} + +exports.EventStreamSerde = EventStreamSerde; diff --git a/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js b/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js new file mode 100644 index 0000000..2c95cb9 --- /dev/null +++ b/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js @@ -0,0 +1,875 @@ +'use strict'; + +var utilStream = require('@smithy/util-stream'); +var schema = require('@smithy/core/schema'); +var serde = require('@smithy/core/serde'); +var protocolHttp = require('@smithy/protocol-http'); +var utilBase64 = require('@smithy/util-base64'); +var utilUtf8 = require('@smithy/util-utf8'); + +const collectBody = async (streamBody = new Uint8Array(), context) => { + if (streamBody instanceof Uint8Array) { + return utilStream.Uint8ArrayBlobAdapter.mutate(streamBody); + } + if (!streamBody) { + return utilStream.Uint8ArrayBlobAdapter.mutate(new Uint8Array()); + } + const fromContext = context.streamCollector(streamBody); + return utilStream.Uint8ArrayBlobAdapter.mutate(await fromContext); +}; + +function extendedEncodeURIComponent(str) { + return encodeURIComponent(str).replace(/[!'()*]/g, function (c) { + return "%" + c.charCodeAt(0).toString(16).toUpperCase(); + }); +} + +class SerdeContext { + serdeContext; + setSerdeContext(serdeContext) { + this.serdeContext = serdeContext; + } +} + +class HttpProtocol extends SerdeContext { + options; + compositeErrorRegistry; + constructor(options) { + super(); + this.options = options; + this.compositeErrorRegistry = schema.TypeRegistry.for(options.defaultNamespace); + for (const etr of options.errorTypeRegistries ?? []) { + this.compositeErrorRegistry.copyFrom(etr); + } + } + getRequestType() { + return protocolHttp.HttpRequest; + } + getResponseType() { + return protocolHttp.HttpResponse; + } + setSerdeContext(serdeContext) { + this.serdeContext = serdeContext; + this.serializer.setSerdeContext(serdeContext); + this.deserializer.setSerdeContext(serdeContext); + if (this.getPayloadCodec()) { + this.getPayloadCodec().setSerdeContext(serdeContext); + } + } + updateServiceEndpoint(request, endpoint) { + if ("url" in endpoint) { + request.protocol = endpoint.url.protocol; + request.hostname = endpoint.url.hostname; + request.port = endpoint.url.port ? Number(endpoint.url.port) : undefined; + request.path = endpoint.url.pathname; + request.fragment = endpoint.url.hash || void 0; + request.username = endpoint.url.username || void 0; + request.password = endpoint.url.password || void 0; + if (!request.query) { + request.query = {}; + } + for (const [k, v] of endpoint.url.searchParams.entries()) { + request.query[k] = v; + } + if (endpoint.headers) { + for (const [name, values] of Object.entries(endpoint.headers)) { + request.headers[name] = values.join(", "); + } + } + return request; + } + else { + request.protocol = endpoint.protocol; + request.hostname = endpoint.hostname; + request.port = endpoint.port ? Number(endpoint.port) : undefined; + request.path = endpoint.path; + request.query = { + ...endpoint.query, + }; + if (endpoint.headers) { + for (const [name, value] of Object.entries(endpoint.headers)) { + request.headers[name] = value; + } + } + return request; + } + } + setHostPrefix(request, operationSchema, input) { + if (this.serdeContext?.disableHostPrefix) { + return; + } + const inputNs = schema.NormalizedSchema.of(operationSchema.input); + const opTraits = schema.translateTraits(operationSchema.traits ?? {}); + if (opTraits.endpoint) { + let hostPrefix = opTraits.endpoint?.[0]; + if (typeof hostPrefix === "string") { + const hostLabelInputs = [...inputNs.structIterator()].filter(([, member]) => member.getMergedTraits().hostLabel); + for (const [name] of hostLabelInputs) { + const replacement = input[name]; + if (typeof replacement !== "string") { + throw new Error(`@smithy/core/schema - ${name} in input must be a string as hostLabel.`); + } + hostPrefix = hostPrefix.replace(`{${name}}`, replacement); + } + request.hostname = hostPrefix + request.hostname; + } + } + } + deserializeMetadata(output) { + return { + httpStatusCode: output.statusCode, + requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], + extendedRequestId: output.headers["x-amz-id-2"], + cfId: output.headers["x-amz-cf-id"], + }; + } + async serializeEventStream({ eventStream, requestSchema, initialRequest, }) { + const eventStreamSerde = await this.loadEventStreamCapability(); + return eventStreamSerde.serializeEventStream({ + eventStream, + requestSchema, + initialRequest, + }); + } + async deserializeEventStream({ response, responseSchema, initialResponseContainer, }) { + const eventStreamSerde = await this.loadEventStreamCapability(); + return eventStreamSerde.deserializeEventStream({ + response, + responseSchema, + initialResponseContainer, + }); + } + async loadEventStreamCapability() { + const { EventStreamSerde } = await import('@smithy/core/event-streams'); + return new EventStreamSerde({ + marshaller: this.getEventStreamMarshaller(), + serializer: this.serializer, + deserializer: this.deserializer, + serdeContext: this.serdeContext, + defaultContentType: this.getDefaultContentType(), + }); + } + getDefaultContentType() { + throw new Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`); + } + async deserializeHttpMessage(schema, context, response, arg4, arg5) { + return []; + } + getEventStreamMarshaller() { + const context = this.serdeContext; + if (!context.eventStreamMarshaller) { + throw new Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext."); + } + return context.eventStreamMarshaller; + } +} + +class HttpBindingProtocol extends HttpProtocol { + async serializeRequest(operationSchema, _input, context) { + const input = _input && typeof _input === "object" ? _input : {}; + const serializer = this.serializer; + const query = {}; + const headers = {}; + const endpoint = await context.endpoint(); + const ns = schema.NormalizedSchema.of(operationSchema?.input); + const payloadMemberNames = []; + const payloadMemberSchemas = []; + let hasNonHttpBindingMember = false; + let payload; + const request = new protocolHttp.HttpRequest({ + protocol: "", + hostname: "", + port: undefined, + path: "", + fragment: undefined, + query: query, + headers: headers, + body: undefined, + }); + if (endpoint) { + this.updateServiceEndpoint(request, endpoint); + this.setHostPrefix(request, operationSchema, input); + const opTraits = schema.translateTraits(operationSchema.traits); + if (opTraits.http) { + request.method = opTraits.http[0]; + const [path, search] = opTraits.http[1].split("?"); + if (request.path == "/") { + request.path = path; + } + else { + request.path += path; + } + const traitSearchParams = new URLSearchParams(search ?? ""); + Object.assign(query, Object.fromEntries(traitSearchParams)); + } + } + for (const [memberName, memberNs] of ns.structIterator()) { + const memberTraits = memberNs.getMergedTraits() ?? {}; + const inputMemberValue = input[memberName]; + if (inputMemberValue == null && !memberNs.isIdempotencyToken()) { + if (memberTraits.httpLabel) { + if (request.path.includes(`{${memberName}+}`) || request.path.includes(`{${memberName}}`)) { + throw new Error(`No value provided for input HTTP label: ${memberName}.`); + } + } + continue; + } + if (memberTraits.httpPayload) { + const isStreaming = memberNs.isStreaming(); + if (isStreaming) { + const isEventStream = memberNs.isStructSchema(); + if (isEventStream) { + if (input[memberName]) { + payload = await this.serializeEventStream({ + eventStream: input[memberName], + requestSchema: ns, + }); + } + } + else { + payload = inputMemberValue; + } + } + else { + serializer.write(memberNs, inputMemberValue); + payload = serializer.flush(); + } + } + else if (memberTraits.httpLabel) { + serializer.write(memberNs, inputMemberValue); + const replacement = serializer.flush(); + if (request.path.includes(`{${memberName}+}`)) { + request.path = request.path.replace(`{${memberName}+}`, replacement.split("/").map(extendedEncodeURIComponent).join("/")); + } + else if (request.path.includes(`{${memberName}}`)) { + request.path = request.path.replace(`{${memberName}}`, extendedEncodeURIComponent(replacement)); + } + } + else if (memberTraits.httpHeader) { + serializer.write(memberNs, inputMemberValue); + headers[memberTraits.httpHeader.toLowerCase()] = String(serializer.flush()); + } + else if (typeof memberTraits.httpPrefixHeaders === "string") { + for (const [key, val] of Object.entries(inputMemberValue)) { + const amalgam = memberTraits.httpPrefixHeaders + key; + serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val); + headers[amalgam.toLowerCase()] = serializer.flush(); + } + } + else if (memberTraits.httpQuery || memberTraits.httpQueryParams) { + this.serializeQuery(memberNs, inputMemberValue, query); + } + else { + hasNonHttpBindingMember = true; + payloadMemberNames.push(memberName); + payloadMemberSchemas.push(memberNs); + } + } + if (hasNonHttpBindingMember && input) { + const [namespace, name] = (ns.getName(true) ?? "#Unknown").split("#"); + const requiredMembers = ns.getSchema()[6]; + const payloadSchema = [ + 3, + namespace, + name, + ns.getMergedTraits(), + payloadMemberNames, + payloadMemberSchemas, + undefined, + ]; + if (requiredMembers) { + payloadSchema[6] = requiredMembers; + } + else { + payloadSchema.pop(); + } + serializer.write(payloadSchema, input); + payload = serializer.flush(); + } + request.headers = headers; + request.query = query; + request.body = payload; + return request; + } + serializeQuery(ns, data, query) { + const serializer = this.serializer; + const traits = ns.getMergedTraits(); + if (traits.httpQueryParams) { + for (const [key, val] of Object.entries(data)) { + if (!(key in query)) { + const valueSchema = ns.getValueSchema(); + Object.assign(valueSchema.getMergedTraits(), { + ...traits, + httpQuery: key, + httpQueryParams: undefined, + }); + this.serializeQuery(valueSchema, val, query); + } + } + return; + } + if (ns.isListSchema()) { + const sparse = !!ns.getMergedTraits().sparse; + const buffer = []; + for (const item of data) { + serializer.write([ns.getValueSchema(), traits], item); + const serializable = serializer.flush(); + if (sparse || serializable !== undefined) { + buffer.push(serializable); + } + } + query[traits.httpQuery] = buffer; + } + else { + serializer.write([ns, traits], data); + query[traits.httpQuery] = serializer.flush(); + } + } + async deserializeResponse(operationSchema, context, response) { + const deserializer = this.deserializer; + const ns = schema.NormalizedSchema.of(operationSchema.output); + const dataObject = {}; + if (response.statusCode >= 300) { + const bytes = await collectBody(response.body, context); + if (bytes.byteLength > 0) { + Object.assign(dataObject, await deserializer.read(15, bytes)); + } + await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response)); + throw new Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw."); + } + for (const header in response.headers) { + const value = response.headers[header]; + delete response.headers[header]; + response.headers[header.toLowerCase()] = value; + } + const nonHttpBindingMembers = await this.deserializeHttpMessage(ns, context, response, dataObject); + if (nonHttpBindingMembers.length) { + const bytes = await collectBody(response.body, context); + if (bytes.byteLength > 0) { + const dataFromBody = await deserializer.read(ns, bytes); + for (const member of nonHttpBindingMembers) { + if (dataFromBody[member] != null) { + dataObject[member] = dataFromBody[member]; + } + } + } + } + else if (nonHttpBindingMembers.discardResponseBody) { + await collectBody(response.body, context); + } + dataObject.$metadata = this.deserializeMetadata(response); + return dataObject; + } + async deserializeHttpMessage(schema$1, context, response, arg4, arg5) { + let dataObject; + if (arg4 instanceof Set) { + dataObject = arg5; + } + else { + dataObject = arg4; + } + let discardResponseBody = true; + const deserializer = this.deserializer; + const ns = schema.NormalizedSchema.of(schema$1); + const nonHttpBindingMembers = []; + for (const [memberName, memberSchema] of ns.structIterator()) { + const memberTraits = memberSchema.getMemberTraits(); + if (memberTraits.httpPayload) { + discardResponseBody = false; + const isStreaming = memberSchema.isStreaming(); + if (isStreaming) { + const isEventStream = memberSchema.isStructSchema(); + if (isEventStream) { + dataObject[memberName] = await this.deserializeEventStream({ + response, + responseSchema: ns, + }); + } + else { + dataObject[memberName] = utilStream.sdkStreamMixin(response.body); + } + } + else if (response.body) { + const bytes = await collectBody(response.body, context); + if (bytes.byteLength > 0) { + dataObject[memberName] = await deserializer.read(memberSchema, bytes); + } + } + } + else if (memberTraits.httpHeader) { + const key = String(memberTraits.httpHeader).toLowerCase(); + const value = response.headers[key]; + if (null != value) { + if (memberSchema.isListSchema()) { + const headerListValueSchema = memberSchema.getValueSchema(); + headerListValueSchema.getMergedTraits().httpHeader = key; + let sections; + if (headerListValueSchema.isTimestampSchema() && + headerListValueSchema.getSchema() === 4) { + sections = serde.splitEvery(value, ",", 2); + } + else { + sections = serde.splitHeader(value); + } + const list = []; + for (const section of sections) { + list.push(await deserializer.read(headerListValueSchema, section.trim())); + } + dataObject[memberName] = list; + } + else { + dataObject[memberName] = await deserializer.read(memberSchema, value); + } + } + } + else if (memberTraits.httpPrefixHeaders !== undefined) { + dataObject[memberName] = {}; + for (const [header, value] of Object.entries(response.headers)) { + if (header.startsWith(memberTraits.httpPrefixHeaders)) { + const valueSchema = memberSchema.getValueSchema(); + valueSchema.getMergedTraits().httpHeader = header; + dataObject[memberName][header.slice(memberTraits.httpPrefixHeaders.length)] = await deserializer.read(valueSchema, value); + } + } + } + else if (memberTraits.httpResponseCode) { + dataObject[memberName] = response.statusCode; + } + else { + nonHttpBindingMembers.push(memberName); + } + } + nonHttpBindingMembers.discardResponseBody = discardResponseBody; + return nonHttpBindingMembers; + } +} + +class RpcProtocol extends HttpProtocol { + async serializeRequest(operationSchema, _input, context) { + const serializer = this.serializer; + const query = {}; + const headers = {}; + const endpoint = await context.endpoint(); + const ns = schema.NormalizedSchema.of(operationSchema?.input); + const schema$1 = ns.getSchema(); + let payload; + const input = _input && typeof _input === "object" ? _input : {}; + const request = new protocolHttp.HttpRequest({ + protocol: "", + hostname: "", + port: undefined, + path: "/", + fragment: undefined, + query: query, + headers: headers, + body: undefined, + }); + if (endpoint) { + this.updateServiceEndpoint(request, endpoint); + this.setHostPrefix(request, operationSchema, input); + } + if (input) { + const eventStreamMember = ns.getEventStreamMember(); + if (eventStreamMember) { + if (input[eventStreamMember]) { + const initialRequest = {}; + for (const [memberName, memberSchema] of ns.structIterator()) { + if (memberName !== eventStreamMember && input[memberName]) { + serializer.write(memberSchema, input[memberName]); + initialRequest[memberName] = serializer.flush(); + } + } + payload = await this.serializeEventStream({ + eventStream: input[eventStreamMember], + requestSchema: ns, + initialRequest, + }); + } + } + else { + serializer.write(schema$1, input); + payload = serializer.flush(); + } + } + request.headers = Object.assign(request.headers, headers); + request.query = query; + request.body = payload; + request.method = "POST"; + return request; + } + async deserializeResponse(operationSchema, context, response) { + const deserializer = this.deserializer; + const ns = schema.NormalizedSchema.of(operationSchema.output); + const dataObject = {}; + if (response.statusCode >= 300) { + const bytes = await collectBody(response.body, context); + if (bytes.byteLength > 0) { + Object.assign(dataObject, await deserializer.read(15, bytes)); + } + await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response)); + throw new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw."); + } + for (const header in response.headers) { + const value = response.headers[header]; + delete response.headers[header]; + response.headers[header.toLowerCase()] = value; + } + const eventStreamMember = ns.getEventStreamMember(); + if (eventStreamMember) { + dataObject[eventStreamMember] = await this.deserializeEventStream({ + response, + responseSchema: ns, + initialResponseContainer: dataObject, + }); + } + else { + const bytes = await collectBody(response.body, context); + if (bytes.byteLength > 0) { + Object.assign(dataObject, await deserializer.read(ns, bytes)); + } + } + dataObject.$metadata = this.deserializeMetadata(response); + return dataObject; + } +} + +const resolvedPath = (resolvedPath, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => { + if (input != null && input[memberName] !== undefined) { + const labelValue = labelValueProvider(); + if (labelValue == null || labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: " + memberName + "."); + } + resolvedPath = resolvedPath.replace(uriLabel, isGreedyLabel + ? labelValue + .split("/") + .map((segment) => extendedEncodeURIComponent(segment)) + .join("/") + : extendedEncodeURIComponent(labelValue)); + } + else { + throw new Error("No value provided for input HTTP label: " + memberName + "."); + } + return resolvedPath; +}; + +function requestBuilder(input, context) { + return new RequestBuilder(input, context); +} +class RequestBuilder { + input; + context; + query = {}; + method = ""; + headers = {}; + path = ""; + body = null; + hostname = ""; + resolvePathStack = []; + constructor(input, context) { + this.input = input; + this.context = context; + } + async build() { + const { hostname, protocol = "https", port, path: basePath } = await this.context.endpoint(); + this.path = basePath; + for (const resolvePath of this.resolvePathStack) { + resolvePath(this.path); + } + return new protocolHttp.HttpRequest({ + protocol, + hostname: this.hostname || hostname, + port, + method: this.method, + path: this.path, + query: this.query, + body: this.body, + headers: this.headers, + }); + } + hn(hostname) { + this.hostname = hostname; + return this; + } + bp(uriLabel) { + this.resolvePathStack.push((basePath) => { + this.path = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + uriLabel; + }); + return this; + } + p(memberName, labelValueProvider, uriLabel, isGreedyLabel) { + this.resolvePathStack.push((path) => { + this.path = resolvedPath(path, this.input, memberName, labelValueProvider, uriLabel, isGreedyLabel); + }); + return this; + } + h(headers) { + this.headers = headers; + return this; + } + q(query) { + this.query = query; + return this; + } + b(body) { + this.body = body; + return this; + } + m(method) { + this.method = method; + return this; + } +} + +function determineTimestampFormat(ns, settings) { + if (settings.timestampFormat.useTrait) { + if (ns.isTimestampSchema() && + (ns.getSchema() === 5 || + ns.getSchema() === 6 || + ns.getSchema() === 7)) { + return ns.getSchema(); + } + } + const { httpLabel, httpPrefixHeaders, httpHeader, httpQuery } = ns.getMergedTraits(); + const bindingFormat = settings.httpBindings + ? typeof httpPrefixHeaders === "string" || Boolean(httpHeader) + ? 6 + : Boolean(httpQuery) || Boolean(httpLabel) + ? 5 + : undefined + : undefined; + return bindingFormat ?? settings.timestampFormat.default; +} + +class FromStringShapeDeserializer extends SerdeContext { + settings; + constructor(settings) { + super(); + this.settings = settings; + } + read(_schema, data) { + const ns = schema.NormalizedSchema.of(_schema); + if (ns.isListSchema()) { + return serde.splitHeader(data).map((item) => this.read(ns.getValueSchema(), item)); + } + if (ns.isBlobSchema()) { + return (this.serdeContext?.base64Decoder ?? utilBase64.fromBase64)(data); + } + if (ns.isTimestampSchema()) { + const format = determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + return serde._parseRfc3339DateTimeWithOffset(data); + case 6: + return serde._parseRfc7231DateTime(data); + case 7: + return serde._parseEpochTimestamp(data); + default: + console.warn("Missing timestamp format, parsing value with Date constructor:", data); + return new Date(data); + } + } + if (ns.isStringSchema()) { + const mediaType = ns.getMergedTraits().mediaType; + let intermediateValue = data; + if (mediaType) { + if (ns.getMergedTraits().httpHeader) { + intermediateValue = this.base64ToUtf8(intermediateValue); + } + const isJson = mediaType === "application/json" || mediaType.endsWith("+json"); + if (isJson) { + intermediateValue = serde.LazyJsonString.from(intermediateValue); + } + return intermediateValue; + } + } + if (ns.isNumericSchema()) { + return Number(data); + } + if (ns.isBigIntegerSchema()) { + return BigInt(data); + } + if (ns.isBigDecimalSchema()) { + return new serde.NumericValue(data, "bigDecimal"); + } + if (ns.isBooleanSchema()) { + return String(data).toLowerCase() === "true"; + } + return data; + } + base64ToUtf8(base64String) { + return (this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8)((this.serdeContext?.base64Decoder ?? utilBase64.fromBase64)(base64String)); + } +} + +class HttpInterceptingShapeDeserializer extends SerdeContext { + codecDeserializer; + stringDeserializer; + constructor(codecDeserializer, codecSettings) { + super(); + this.codecDeserializer = codecDeserializer; + this.stringDeserializer = new FromStringShapeDeserializer(codecSettings); + } + setSerdeContext(serdeContext) { + this.stringDeserializer.setSerdeContext(serdeContext); + this.codecDeserializer.setSerdeContext(serdeContext); + this.serdeContext = serdeContext; + } + read(schema$1, data) { + const ns = schema.NormalizedSchema.of(schema$1); + const traits = ns.getMergedTraits(); + const toString = this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8; + if (traits.httpHeader || traits.httpResponseCode) { + return this.stringDeserializer.read(ns, toString(data)); + } + if (traits.httpPayload) { + if (ns.isBlobSchema()) { + const toBytes = this.serdeContext?.utf8Decoder ?? utilUtf8.fromUtf8; + if (typeof data === "string") { + return toBytes(data); + } + return data; + } + else if (ns.isStringSchema()) { + if ("byteLength" in data) { + return toString(data); + } + return data; + } + } + return this.codecDeserializer.read(ns, data); + } +} + +class ToStringShapeSerializer extends SerdeContext { + settings; + stringBuffer = ""; + constructor(settings) { + super(); + this.settings = settings; + } + write(schema$1, value) { + const ns = schema.NormalizedSchema.of(schema$1); + switch (typeof value) { + case "object": + if (value === null) { + this.stringBuffer = "null"; + return; + } + if (ns.isTimestampSchema()) { + if (!(value instanceof Date)) { + throw new Error(`@smithy/core/protocols - received non-Date value ${value} when schema expected Date in ${ns.getName(true)}`); + } + const format = determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + this.stringBuffer = value.toISOString().replace(".000Z", "Z"); + break; + case 6: + this.stringBuffer = serde.dateToUtcString(value); + break; + case 7: + this.stringBuffer = String(value.getTime() / 1000); + break; + default: + console.warn("Missing timestamp format, using epoch seconds", value); + this.stringBuffer = String(value.getTime() / 1000); + } + return; + } + if (ns.isBlobSchema() && "byteLength" in value) { + this.stringBuffer = (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value); + return; + } + if (ns.isListSchema() && Array.isArray(value)) { + let buffer = ""; + for (const item of value) { + this.write([ns.getValueSchema(), ns.getMergedTraits()], item); + const headerItem = this.flush(); + const serialized = ns.getValueSchema().isTimestampSchema() ? headerItem : serde.quoteHeader(headerItem); + if (buffer !== "") { + buffer += ", "; + } + buffer += serialized; + } + this.stringBuffer = buffer; + return; + } + this.stringBuffer = JSON.stringify(value, null, 2); + break; + case "string": + const mediaType = ns.getMergedTraits().mediaType; + let intermediateValue = value; + if (mediaType) { + const isJson = mediaType === "application/json" || mediaType.endsWith("+json"); + if (isJson) { + intermediateValue = serde.LazyJsonString.from(intermediateValue); + } + if (ns.getMergedTraits().httpHeader) { + this.stringBuffer = (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(intermediateValue.toString()); + return; + } + } + this.stringBuffer = value; + break; + default: + if (ns.isIdempotencyToken()) { + this.stringBuffer = serde.generateIdempotencyToken(); + } + else { + this.stringBuffer = String(value); + } + } + } + flush() { + const buffer = this.stringBuffer; + this.stringBuffer = ""; + return buffer; + } +} + +class HttpInterceptingShapeSerializer { + codecSerializer; + stringSerializer; + buffer; + constructor(codecSerializer, codecSettings, stringSerializer = new ToStringShapeSerializer(codecSettings)) { + this.codecSerializer = codecSerializer; + this.stringSerializer = stringSerializer; + } + setSerdeContext(serdeContext) { + this.codecSerializer.setSerdeContext(serdeContext); + this.stringSerializer.setSerdeContext(serdeContext); + } + write(schema$1, value) { + const ns = schema.NormalizedSchema.of(schema$1); + const traits = ns.getMergedTraits(); + if (traits.httpHeader || traits.httpLabel || traits.httpQuery) { + this.stringSerializer.write(ns, value); + this.buffer = this.stringSerializer.flush(); + return; + } + return this.codecSerializer.write(ns, value); + } + flush() { + if (this.buffer !== undefined) { + const buffer = this.buffer; + this.buffer = undefined; + return buffer; + } + return this.codecSerializer.flush(); + } +} + +exports.FromStringShapeDeserializer = FromStringShapeDeserializer; +exports.HttpBindingProtocol = HttpBindingProtocol; +exports.HttpInterceptingShapeDeserializer = HttpInterceptingShapeDeserializer; +exports.HttpInterceptingShapeSerializer = HttpInterceptingShapeSerializer; +exports.HttpProtocol = HttpProtocol; +exports.RequestBuilder = RequestBuilder; +exports.RpcProtocol = RpcProtocol; +exports.SerdeContext = SerdeContext; +exports.ToStringShapeSerializer = ToStringShapeSerializer; +exports.collectBody = collectBody; +exports.determineTimestampFormat = determineTimestampFormat; +exports.extendedEncodeURIComponent = extendedEncodeURIComponent; +exports.requestBuilder = requestBuilder; +exports.resolvedPath = resolvedPath; diff --git a/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js b/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js new file mode 100644 index 0000000..a942fe8 --- /dev/null +++ b/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js @@ -0,0 +1,698 @@ +'use strict'; + +var protocolHttp = require('@smithy/protocol-http'); +var utilMiddleware = require('@smithy/util-middleware'); +var endpoints = require('@smithy/core/endpoints'); + +const deref = (schemaRef) => { + if (typeof schemaRef === "function") { + return schemaRef(); + } + return schemaRef; +}; + +const operation = (namespace, name, traits, input, output) => ({ + name, + namespace, + traits, + input, + output, +}); + +const schemaDeserializationMiddleware = (config) => (next, context) => async (args) => { + const { response } = await next(args); + const { operationSchema } = utilMiddleware.getSmithyContext(context); + const [, ns, n, t, i, o] = operationSchema ?? []; + try { + const parsed = await config.protocol.deserializeResponse(operation(ns, n, t, i, o), { + ...config, + ...context, + }, response); + return { + response, + output: parsed, + }; + } + catch (error) { + Object.defineProperty(error, "$response", { + value: response, + enumerable: false, + writable: false, + configurable: false, + }); + if (!("$metadata" in error)) { + const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`; + try { + error.message += "\n " + hint; + } + catch (e) { + if (!context.logger || context.logger?.constructor?.name === "NoOpLogger") { + console.warn(hint); + } + else { + context.logger?.warn?.(hint); + } + } + if (typeof error.$responseBodyText !== "undefined") { + if (error.$response) { + error.$response.body = error.$responseBodyText; + } + } + try { + if (protocolHttp.HttpResponse.isInstance(response)) { + const { headers = {} } = response; + const headerEntries = Object.entries(headers); + error.$metadata = { + httpStatusCode: response.statusCode, + requestId: findHeader(/^x-[\w-]+-request-?id$/, headerEntries), + extendedRequestId: findHeader(/^x-[\w-]+-id-2$/, headerEntries), + cfId: findHeader(/^x-[\w-]+-cf-id$/, headerEntries), + }; + } + } + catch (e) { + } + } + throw error; + } +}; +const findHeader = (pattern, headers) => { + return (headers.find(([k]) => { + return k.match(pattern); + }) || [void 0, void 0])[1]; +}; + +const schemaSerializationMiddleware = (config) => (next, context) => async (args) => { + const { operationSchema } = utilMiddleware.getSmithyContext(context); + const [, ns, n, t, i, o] = operationSchema ?? []; + const endpoint = context.endpointV2 + ? async () => endpoints.toEndpointV1(context.endpointV2) + : config.endpoint; + const request = await config.protocol.serializeRequest(operation(ns, n, t, i, o), args.input, { + ...config, + ...context, + endpoint, + }); + return next({ + ...args, + request, + }); +}; + +const deserializerMiddlewareOption = { + name: "deserializerMiddleware", + step: "deserialize", + tags: ["DESERIALIZER"], + override: true, +}; +const serializerMiddlewareOption = { + name: "serializerMiddleware", + step: "serialize", + tags: ["SERIALIZER"], + override: true, +}; +function getSchemaSerdePlugin(config) { + return { + applyToStack: (commandStack) => { + commandStack.add(schemaSerializationMiddleware(config), serializerMiddlewareOption); + commandStack.add(schemaDeserializationMiddleware(config), deserializerMiddlewareOption); + config.protocol.setSerdeContext(config); + }, + }; +} + +class Schema { + name; + namespace; + traits; + static assign(instance, values) { + const schema = Object.assign(instance, values); + return schema; + } + static [Symbol.hasInstance](lhs) { + const isPrototype = this.prototype.isPrototypeOf(lhs); + if (!isPrototype && typeof lhs === "object" && lhs !== null) { + const list = lhs; + return list.symbol === this.symbol; + } + return isPrototype; + } + getName() { + return this.namespace + "#" + this.name; + } +} + +class ListSchema extends Schema { + static symbol = Symbol.for("@smithy/lis"); + name; + traits; + valueSchema; + symbol = ListSchema.symbol; +} +const list = (namespace, name, traits, valueSchema) => Schema.assign(new ListSchema(), { + name, + namespace, + traits, + valueSchema, +}); + +class MapSchema extends Schema { + static symbol = Symbol.for("@smithy/map"); + name; + traits; + keySchema; + valueSchema; + symbol = MapSchema.symbol; +} +const map = (namespace, name, traits, keySchema, valueSchema) => Schema.assign(new MapSchema(), { + name, + namespace, + traits, + keySchema, + valueSchema, +}); + +class OperationSchema extends Schema { + static symbol = Symbol.for("@smithy/ope"); + name; + traits; + input; + output; + symbol = OperationSchema.symbol; +} +const op = (namespace, name, traits, input, output) => Schema.assign(new OperationSchema(), { + name, + namespace, + traits, + input, + output, +}); + +class StructureSchema extends Schema { + static symbol = Symbol.for("@smithy/str"); + name; + traits; + memberNames; + memberList; + symbol = StructureSchema.symbol; +} +const struct = (namespace, name, traits, memberNames, memberList) => Schema.assign(new StructureSchema(), { + name, + namespace, + traits, + memberNames, + memberList, +}); + +class ErrorSchema extends StructureSchema { + static symbol = Symbol.for("@smithy/err"); + ctor; + symbol = ErrorSchema.symbol; +} +const error = (namespace, name, traits, memberNames, memberList, ctor) => Schema.assign(new ErrorSchema(), { + name, + namespace, + traits, + memberNames, + memberList, + ctor: null, +}); + +const traitsCache = []; +function translateTraits(indicator) { + if (typeof indicator === "object") { + return indicator; + } + indicator = indicator | 0; + if (traitsCache[indicator]) { + return traitsCache[indicator]; + } + const traits = {}; + let i = 0; + for (const trait of [ + "httpLabel", + "idempotent", + "idempotencyToken", + "sensitive", + "httpPayload", + "httpResponseCode", + "httpQueryParams", + ]) { + if (((indicator >> i++) & 1) === 1) { + traits[trait] = 1; + } + } + return (traitsCache[indicator] = traits); +} + +const anno = { + it: Symbol.for("@smithy/nor-struct-it"), + ns: Symbol.for("@smithy/ns"), +}; +const simpleSchemaCacheN = []; +const simpleSchemaCacheS = {}; +class NormalizedSchema { + ref; + memberName; + static symbol = Symbol.for("@smithy/nor"); + symbol = NormalizedSchema.symbol; + name; + schema; + _isMemberSchema; + traits; + memberTraits; + normalizedTraits; + constructor(ref, memberName) { + this.ref = ref; + this.memberName = memberName; + const traitStack = []; + let _ref = ref; + let schema = ref; + this._isMemberSchema = false; + while (isMemberSchema(_ref)) { + traitStack.push(_ref[1]); + _ref = _ref[0]; + schema = deref(_ref); + this._isMemberSchema = true; + } + if (traitStack.length > 0) { + this.memberTraits = {}; + for (let i = traitStack.length - 1; i >= 0; --i) { + const traitSet = traitStack[i]; + Object.assign(this.memberTraits, translateTraits(traitSet)); + } + } + else { + this.memberTraits = 0; + } + if (schema instanceof NormalizedSchema) { + const computedMemberTraits = this.memberTraits; + Object.assign(this, schema); + this.memberTraits = Object.assign({}, computedMemberTraits, schema.getMemberTraits(), this.getMemberTraits()); + this.normalizedTraits = void 0; + this.memberName = memberName ?? schema.memberName; + return; + } + this.schema = deref(schema); + if (isStaticSchema(this.schema)) { + this.name = `${this.schema[1]}#${this.schema[2]}`; + this.traits = this.schema[3]; + } + else { + this.name = this.memberName ?? String(schema); + this.traits = 0; + } + if (this._isMemberSchema && !memberName) { + throw new Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(true)} missing member name.`); + } + } + static [Symbol.hasInstance](lhs) { + const isPrototype = this.prototype.isPrototypeOf(lhs); + if (!isPrototype && typeof lhs === "object" && lhs !== null) { + const ns = lhs; + return ns.symbol === this.symbol; + } + return isPrototype; + } + static of(ref) { + const keyAble = typeof ref === "function" || (typeof ref === "object" && ref !== null); + if (typeof ref === "number") { + if (simpleSchemaCacheN[ref]) { + return simpleSchemaCacheN[ref]; + } + } + else if (typeof ref === "string") { + if (simpleSchemaCacheS[ref]) { + return simpleSchemaCacheS[ref]; + } + } + else if (keyAble) { + if (ref[anno.ns]) { + return ref[anno.ns]; + } + } + const sc = deref(ref); + if (sc instanceof NormalizedSchema) { + return sc; + } + if (isMemberSchema(sc)) { + const [ns, traits] = sc; + if (ns instanceof NormalizedSchema) { + Object.assign(ns.getMergedTraits(), translateTraits(traits)); + return ns; + } + throw new Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(ref, null, 2)}.`); + } + const ns = new NormalizedSchema(sc); + if (keyAble) { + return (ref[anno.ns] = ns); + } + if (typeof sc === "string") { + return (simpleSchemaCacheS[sc] = ns); + } + if (typeof sc === "number") { + return (simpleSchemaCacheN[sc] = ns); + } + return ns; + } + getSchema() { + const sc = this.schema; + if (Array.isArray(sc) && sc[0] === 0) { + return sc[4]; + } + return sc; + } + getName(withNamespace = false) { + const { name } = this; + const short = !withNamespace && name && name.includes("#"); + return short ? name.split("#")[1] : name || undefined; + } + getMemberName() { + return this.memberName; + } + isMemberSchema() { + return this._isMemberSchema; + } + isListSchema() { + const sc = this.getSchema(); + return typeof sc === "number" + ? sc >= 64 && sc < 128 + : sc[0] === 1; + } + isMapSchema() { + const sc = this.getSchema(); + return typeof sc === "number" + ? sc >= 128 && sc <= 0b1111_1111 + : sc[0] === 2; + } + isStructSchema() { + const sc = this.getSchema(); + if (typeof sc !== "object") { + return false; + } + const id = sc[0]; + return (id === 3 || + id === -3 || + id === 4); + } + isUnionSchema() { + const sc = this.getSchema(); + if (typeof sc !== "object") { + return false; + } + return sc[0] === 4; + } + isBlobSchema() { + const sc = this.getSchema(); + return sc === 21 || sc === 42; + } + isTimestampSchema() { + const sc = this.getSchema(); + return (typeof sc === "number" && + sc >= 4 && + sc <= 7); + } + isUnitSchema() { + return this.getSchema() === "unit"; + } + isDocumentSchema() { + return this.getSchema() === 15; + } + isStringSchema() { + return this.getSchema() === 0; + } + isBooleanSchema() { + return this.getSchema() === 2; + } + isNumericSchema() { + return this.getSchema() === 1; + } + isBigIntegerSchema() { + return this.getSchema() === 17; + } + isBigDecimalSchema() { + return this.getSchema() === 19; + } + isStreaming() { + const { streaming } = this.getMergedTraits(); + return !!streaming || this.getSchema() === 42; + } + isIdempotencyToken() { + return !!this.getMergedTraits().idempotencyToken; + } + getMergedTraits() { + return (this.normalizedTraits ?? + (this.normalizedTraits = { + ...this.getOwnTraits(), + ...this.getMemberTraits(), + })); + } + getMemberTraits() { + return translateTraits(this.memberTraits); + } + getOwnTraits() { + return translateTraits(this.traits); + } + getKeySchema() { + const [isDoc, isMap] = [this.isDocumentSchema(), this.isMapSchema()]; + if (!isDoc && !isMap) { + throw new Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(true)}`); + } + const schema = this.getSchema(); + const memberSchema = isDoc + ? 15 + : schema[4] ?? 0; + return member([memberSchema, 0], "key"); + } + getValueSchema() { + const sc = this.getSchema(); + const [isDoc, isMap, isList] = [this.isDocumentSchema(), this.isMapSchema(), this.isListSchema()]; + const memberSchema = typeof sc === "number" + ? 0b0011_1111 & sc + : sc && typeof sc === "object" && (isMap || isList) + ? sc[3 + sc[0]] + : isDoc + ? 15 + : void 0; + if (memberSchema != null) { + return member([memberSchema, 0], isMap ? "value" : "member"); + } + throw new Error(`@smithy/core/schema - ${this.getName(true)} has no value member.`); + } + getMemberSchema(memberName) { + const struct = this.getSchema(); + if (this.isStructSchema() && struct[4].includes(memberName)) { + const i = struct[4].indexOf(memberName); + const memberSchema = struct[5][i]; + return member(isMemberSchema(memberSchema) ? memberSchema : [memberSchema, 0], memberName); + } + if (this.isDocumentSchema()) { + return member([15, 0], memberName); + } + throw new Error(`@smithy/core/schema - ${this.getName(true)} has no member=${memberName}.`); + } + getMemberSchemas() { + const buffer = {}; + try { + for (const [k, v] of this.structIterator()) { + buffer[k] = v; + } + } + catch (ignored) { } + return buffer; + } + getEventStreamMember() { + if (this.isStructSchema()) { + for (const [memberName, memberSchema] of this.structIterator()) { + if (memberSchema.isStreaming() && memberSchema.isStructSchema()) { + return memberName; + } + } + } + return ""; + } + *structIterator() { + if (this.isUnitSchema()) { + return; + } + if (!this.isStructSchema()) { + throw new Error("@smithy/core/schema - cannot iterate non-struct schema."); + } + const struct = this.getSchema(); + const z = struct[4].length; + let it = struct[anno.it]; + if (it && z === it.length) { + yield* it; + return; + } + it = Array(z); + for (let i = 0; i < z; ++i) { + const k = struct[4][i]; + const v = member([struct[5][i], 0], k); + yield (it[i] = [k, v]); + } + struct[anno.it] = it; + } +} +function member(memberSchema, memberName) { + if (memberSchema instanceof NormalizedSchema) { + return Object.assign(memberSchema, { + memberName, + _isMemberSchema: true, + }); + } + const internalCtorAccess = NormalizedSchema; + return new internalCtorAccess(memberSchema, memberName); +} +const isMemberSchema = (sc) => Array.isArray(sc) && sc.length === 2; +const isStaticSchema = (sc) => Array.isArray(sc) && sc.length >= 5; + +class SimpleSchema extends Schema { + static symbol = Symbol.for("@smithy/sim"); + name; + schemaRef; + traits; + symbol = SimpleSchema.symbol; +} +const sim = (namespace, name, schemaRef, traits) => Schema.assign(new SimpleSchema(), { + name, + namespace, + traits, + schemaRef, +}); +const simAdapter = (namespace, name, traits, schemaRef) => Schema.assign(new SimpleSchema(), { + name, + namespace, + traits, + schemaRef, +}); + +const SCHEMA = { + BLOB: 0b0001_0101, + STREAMING_BLOB: 0b0010_1010, + BOOLEAN: 0b0000_0010, + STRING: 0b0000_0000, + NUMERIC: 0b0000_0001, + BIG_INTEGER: 0b0001_0001, + BIG_DECIMAL: 0b0001_0011, + DOCUMENT: 0b0000_1111, + TIMESTAMP_DEFAULT: 0b0000_0100, + TIMESTAMP_DATE_TIME: 0b0000_0101, + TIMESTAMP_HTTP_DATE: 0b0000_0110, + TIMESTAMP_EPOCH_SECONDS: 0b0000_0111, + LIST_MODIFIER: 0b0100_0000, + MAP_MODIFIER: 0b1000_0000, +}; + +class TypeRegistry { + namespace; + schemas; + exceptions; + static registries = new Map(); + constructor(namespace, schemas = new Map(), exceptions = new Map()) { + this.namespace = namespace; + this.schemas = schemas; + this.exceptions = exceptions; + } + static for(namespace) { + if (!TypeRegistry.registries.has(namespace)) { + TypeRegistry.registries.set(namespace, new TypeRegistry(namespace)); + } + return TypeRegistry.registries.get(namespace); + } + copyFrom(other) { + const { schemas, exceptions } = this; + for (const [k, v] of other.schemas) { + if (!schemas.has(k)) { + schemas.set(k, v); + } + } + for (const [k, v] of other.exceptions) { + if (!exceptions.has(k)) { + exceptions.set(k, v); + } + } + } + register(shapeId, schema) { + const qualifiedName = this.normalizeShapeId(shapeId); + for (const r of [this, TypeRegistry.for(qualifiedName.split("#")[0])]) { + r.schemas.set(qualifiedName, schema); + } + } + getSchema(shapeId) { + const id = this.normalizeShapeId(shapeId); + if (!this.schemas.has(id)) { + throw new Error(`@smithy/core/schema - schema not found for ${id}`); + } + return this.schemas.get(id); + } + registerError(es, ctor) { + const $error = es; + const ns = $error[1]; + for (const r of [this, TypeRegistry.for(ns)]) { + r.schemas.set(ns + "#" + $error[2], $error); + r.exceptions.set($error, ctor); + } + } + getErrorCtor(es) { + const $error = es; + if (this.exceptions.has($error)) { + return this.exceptions.get($error); + } + const registry = TypeRegistry.for($error[1]); + return registry.exceptions.get($error); + } + getBaseException() { + for (const exceptionKey of this.exceptions.keys()) { + if (Array.isArray(exceptionKey)) { + const [, ns, name] = exceptionKey; + const id = ns + "#" + name; + if (id.startsWith("smithy.ts.sdk.synthetic.") && id.endsWith("ServiceException")) { + return exceptionKey; + } + } + } + return undefined; + } + find(predicate) { + return [...this.schemas.values()].find(predicate); + } + clear() { + this.schemas.clear(); + this.exceptions.clear(); + } + normalizeShapeId(shapeId) { + if (shapeId.includes("#")) { + return shapeId; + } + return this.namespace + "#" + shapeId; + } +} + +exports.ErrorSchema = ErrorSchema; +exports.ListSchema = ListSchema; +exports.MapSchema = MapSchema; +exports.NormalizedSchema = NormalizedSchema; +exports.OperationSchema = OperationSchema; +exports.SCHEMA = SCHEMA; +exports.Schema = Schema; +exports.SimpleSchema = SimpleSchema; +exports.StructureSchema = StructureSchema; +exports.TypeRegistry = TypeRegistry; +exports.deref = deref; +exports.deserializerMiddlewareOption = deserializerMiddlewareOption; +exports.error = error; +exports.getSchemaSerdePlugin = getSchemaSerdePlugin; +exports.isStaticSchema = isStaticSchema; +exports.list = list; +exports.map = map; +exports.op = op; +exports.operation = operation; +exports.serializerMiddlewareOption = serializerMiddlewareOption; +exports.sim = sim; +exports.simAdapter = simAdapter; +exports.simpleSchemaCacheN = simpleSchemaCacheN; +exports.simpleSchemaCacheS = simpleSchemaCacheS; +exports.struct = struct; +exports.traitsCache = traitsCache; +exports.translateTraits = translateTraits; diff --git a/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js b/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js new file mode 100644 index 0000000..02c06cc --- /dev/null +++ b/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js @@ -0,0 +1,694 @@ +'use strict'; + +var uuid = require('@smithy/uuid'); + +const copyDocumentWithTransform = (source, schemaRef, transform = (_) => _) => source; + +const parseBoolean = (value) => { + switch (value) { + case "true": + return true; + case "false": + return false; + default: + throw new Error(`Unable to parse boolean value "${value}"`); + } +}; +const expectBoolean = (value) => { + if (value === null || value === undefined) { + return undefined; + } + if (typeof value === "number") { + if (value === 0 || value === 1) { + logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`)); + } + if (value === 0) { + return false; + } + if (value === 1) { + return true; + } + } + if (typeof value === "string") { + const lower = value.toLowerCase(); + if (lower === "false" || lower === "true") { + logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`)); + } + if (lower === "false") { + return false; + } + if (lower === "true") { + return true; + } + } + if (typeof value === "boolean") { + return value; + } + throw new TypeError(`Expected boolean, got ${typeof value}: ${value}`); +}; +const expectNumber = (value) => { + if (value === null || value === undefined) { + return undefined; + } + if (typeof value === "string") { + const parsed = parseFloat(value); + if (!Number.isNaN(parsed)) { + if (String(parsed) !== String(value)) { + logger.warn(stackTraceWarning(`Expected number but observed string: ${value}`)); + } + return parsed; + } + } + if (typeof value === "number") { + return value; + } + throw new TypeError(`Expected number, got ${typeof value}: ${value}`); +}; +const MAX_FLOAT = Math.ceil(2 ** 127 * (2 - 2 ** -23)); +const expectFloat32 = (value) => { + const expected = expectNumber(value); + if (expected !== undefined && !Number.isNaN(expected) && expected !== Infinity && expected !== -Infinity) { + if (Math.abs(expected) > MAX_FLOAT) { + throw new TypeError(`Expected 32-bit float, got ${value}`); + } + } + return expected; +}; +const expectLong = (value) => { + if (value === null || value === undefined) { + return undefined; + } + if (Number.isInteger(value) && !Number.isNaN(value)) { + return value; + } + throw new TypeError(`Expected integer, got ${typeof value}: ${value}`); +}; +const expectInt = expectLong; +const expectInt32 = (value) => expectSizedInt(value, 32); +const expectShort = (value) => expectSizedInt(value, 16); +const expectByte = (value) => expectSizedInt(value, 8); +const expectSizedInt = (value, size) => { + const expected = expectLong(value); + if (expected !== undefined && castInt(expected, size) !== expected) { + throw new TypeError(`Expected ${size}-bit integer, got ${value}`); + } + return expected; +}; +const castInt = (value, size) => { + switch (size) { + case 32: + return Int32Array.of(value)[0]; + case 16: + return Int16Array.of(value)[0]; + case 8: + return Int8Array.of(value)[0]; + } +}; +const expectNonNull = (value, location) => { + if (value === null || value === undefined) { + if (location) { + throw new TypeError(`Expected a non-null value for ${location}`); + } + throw new TypeError("Expected a non-null value"); + } + return value; +}; +const expectObject = (value) => { + if (value === null || value === undefined) { + return undefined; + } + if (typeof value === "object" && !Array.isArray(value)) { + return value; + } + const receivedType = Array.isArray(value) ? "array" : typeof value; + throw new TypeError(`Expected object, got ${receivedType}: ${value}`); +}; +const expectString = (value) => { + if (value === null || value === undefined) { + return undefined; + } + if (typeof value === "string") { + return value; + } + if (["boolean", "number", "bigint"].includes(typeof value)) { + logger.warn(stackTraceWarning(`Expected string, got ${typeof value}: ${value}`)); + return String(value); + } + throw new TypeError(`Expected string, got ${typeof value}: ${value}`); +}; +const expectUnion = (value) => { + if (value === null || value === undefined) { + return undefined; + } + const asObject = expectObject(value); + const setKeys = Object.entries(asObject) + .filter(([, v]) => v != null) + .map(([k]) => k); + if (setKeys.length === 0) { + throw new TypeError(`Unions must have exactly one non-null member. None were found.`); + } + if (setKeys.length > 1) { + throw new TypeError(`Unions must have exactly one non-null member. Keys ${setKeys} were not null.`); + } + return asObject; +}; +const strictParseDouble = (value) => { + if (typeof value == "string") { + return expectNumber(parseNumber(value)); + } + return expectNumber(value); +}; +const strictParseFloat = strictParseDouble; +const strictParseFloat32 = (value) => { + if (typeof value == "string") { + return expectFloat32(parseNumber(value)); + } + return expectFloat32(value); +}; +const NUMBER_REGEX = /(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g; +const parseNumber = (value) => { + const matches = value.match(NUMBER_REGEX); + if (matches === null || matches[0].length !== value.length) { + throw new TypeError(`Expected real number, got implicit NaN`); + } + return parseFloat(value); +}; +const limitedParseDouble = (value) => { + if (typeof value == "string") { + return parseFloatString(value); + } + return expectNumber(value); +}; +const handleFloat = limitedParseDouble; +const limitedParseFloat = limitedParseDouble; +const limitedParseFloat32 = (value) => { + if (typeof value == "string") { + return parseFloatString(value); + } + return expectFloat32(value); +}; +const parseFloatString = (value) => { + switch (value) { + case "NaN": + return NaN; + case "Infinity": + return Infinity; + case "-Infinity": + return -Infinity; + default: + throw new Error(`Unable to parse float value: ${value}`); + } +}; +const strictParseLong = (value) => { + if (typeof value === "string") { + return expectLong(parseNumber(value)); + } + return expectLong(value); +}; +const strictParseInt = strictParseLong; +const strictParseInt32 = (value) => { + if (typeof value === "string") { + return expectInt32(parseNumber(value)); + } + return expectInt32(value); +}; +const strictParseShort = (value) => { + if (typeof value === "string") { + return expectShort(parseNumber(value)); + } + return expectShort(value); +}; +const strictParseByte = (value) => { + if (typeof value === "string") { + return expectByte(parseNumber(value)); + } + return expectByte(value); +}; +const stackTraceWarning = (message) => { + return String(new TypeError(message).stack || message) + .split("\n") + .slice(0, 5) + .filter((s) => !s.includes("stackTraceWarning")) + .join("\n"); +}; +const logger = { + warn: console.warn, +}; + +const DAYS = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]; +const MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; +function dateToUtcString(date) { + const year = date.getUTCFullYear(); + const month = date.getUTCMonth(); + const dayOfWeek = date.getUTCDay(); + const dayOfMonthInt = date.getUTCDate(); + const hoursInt = date.getUTCHours(); + const minutesInt = date.getUTCMinutes(); + const secondsInt = date.getUTCSeconds(); + const dayOfMonthString = dayOfMonthInt < 10 ? `0${dayOfMonthInt}` : `${dayOfMonthInt}`; + const hoursString = hoursInt < 10 ? `0${hoursInt}` : `${hoursInt}`; + const minutesString = minutesInt < 10 ? `0${minutesInt}` : `${minutesInt}`; + const secondsString = secondsInt < 10 ? `0${secondsInt}` : `${secondsInt}`; + return `${DAYS[dayOfWeek]}, ${dayOfMonthString} ${MONTHS[month]} ${year} ${hoursString}:${minutesString}:${secondsString} GMT`; +} +const RFC3339 = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/); +const parseRfc3339DateTime = (value) => { + if (value === null || value === undefined) { + return undefined; + } + if (typeof value !== "string") { + throw new TypeError("RFC-3339 date-times must be expressed as strings"); + } + const match = RFC3339.exec(value); + if (!match) { + throw new TypeError("Invalid RFC-3339 date-time value"); + } + const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds] = match; + const year = strictParseShort(stripLeadingZeroes(yearStr)); + const month = parseDateValue(monthStr, "month", 1, 12); + const day = parseDateValue(dayStr, "day", 1, 31); + return buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds }); +}; +const RFC3339_WITH_OFFSET$1 = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/); +const parseRfc3339DateTimeWithOffset = (value) => { + if (value === null || value === undefined) { + return undefined; + } + if (typeof value !== "string") { + throw new TypeError("RFC-3339 date-times must be expressed as strings"); + } + const match = RFC3339_WITH_OFFSET$1.exec(value); + if (!match) { + throw new TypeError("Invalid RFC-3339 date-time value"); + } + const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, offsetStr] = match; + const year = strictParseShort(stripLeadingZeroes(yearStr)); + const month = parseDateValue(monthStr, "month", 1, 12); + const day = parseDateValue(dayStr, "day", 1, 31); + const date = buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds }); + if (offsetStr.toUpperCase() != "Z") { + date.setTime(date.getTime() - parseOffsetToMilliseconds(offsetStr)); + } + return date; +}; +const IMF_FIXDATE$1 = new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/); +const RFC_850_DATE$1 = new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/); +const ASC_TIME$1 = new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/); +const parseRfc7231DateTime = (value) => { + if (value === null || value === undefined) { + return undefined; + } + if (typeof value !== "string") { + throw new TypeError("RFC-7231 date-times must be expressed as strings"); + } + let match = IMF_FIXDATE$1.exec(value); + if (match) { + const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match; + return buildDate(strictParseShort(stripLeadingZeroes(yearStr)), parseMonthByShortName(monthStr), parseDateValue(dayStr, "day", 1, 31), { hours, minutes, seconds, fractionalMilliseconds }); + } + match = RFC_850_DATE$1.exec(value); + if (match) { + const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match; + return adjustRfc850Year(buildDate(parseTwoDigitYear(yearStr), parseMonthByShortName(monthStr), parseDateValue(dayStr, "day", 1, 31), { + hours, + minutes, + seconds, + fractionalMilliseconds, + })); + } + match = ASC_TIME$1.exec(value); + if (match) { + const [_, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, yearStr] = match; + return buildDate(strictParseShort(stripLeadingZeroes(yearStr)), parseMonthByShortName(monthStr), parseDateValue(dayStr.trimLeft(), "day", 1, 31), { hours, minutes, seconds, fractionalMilliseconds }); + } + throw new TypeError("Invalid RFC-7231 date-time value"); +}; +const parseEpochTimestamp = (value) => { + if (value === null || value === undefined) { + return undefined; + } + let valueAsDouble; + if (typeof value === "number") { + valueAsDouble = value; + } + else if (typeof value === "string") { + valueAsDouble = strictParseDouble(value); + } + else if (typeof value === "object" && value.tag === 1) { + valueAsDouble = value.value; + } + else { + throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation"); + } + if (Number.isNaN(valueAsDouble) || valueAsDouble === Infinity || valueAsDouble === -Infinity) { + throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics"); + } + return new Date(Math.round(valueAsDouble * 1000)); +}; +const buildDate = (year, month, day, time) => { + const adjustedMonth = month - 1; + validateDayOfMonth(year, adjustedMonth, day); + return new Date(Date.UTC(year, adjustedMonth, day, parseDateValue(time.hours, "hour", 0, 23), parseDateValue(time.minutes, "minute", 0, 59), parseDateValue(time.seconds, "seconds", 0, 60), parseMilliseconds(time.fractionalMilliseconds))); +}; +const parseTwoDigitYear = (value) => { + const thisYear = new Date().getUTCFullYear(); + const valueInThisCentury = Math.floor(thisYear / 100) * 100 + strictParseShort(stripLeadingZeroes(value)); + if (valueInThisCentury < thisYear) { + return valueInThisCentury + 100; + } + return valueInThisCentury; +}; +const FIFTY_YEARS_IN_MILLIS = 50 * 365 * 24 * 60 * 60 * 1000; +const adjustRfc850Year = (input) => { + if (input.getTime() - new Date().getTime() > FIFTY_YEARS_IN_MILLIS) { + return new Date(Date.UTC(input.getUTCFullYear() - 100, input.getUTCMonth(), input.getUTCDate(), input.getUTCHours(), input.getUTCMinutes(), input.getUTCSeconds(), input.getUTCMilliseconds())); + } + return input; +}; +const parseMonthByShortName = (value) => { + const monthIdx = MONTHS.indexOf(value); + if (monthIdx < 0) { + throw new TypeError(`Invalid month: ${value}`); + } + return monthIdx + 1; +}; +const DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; +const validateDayOfMonth = (year, month, day) => { + let maxDays = DAYS_IN_MONTH[month]; + if (month === 1 && isLeapYear(year)) { + maxDays = 29; + } + if (day > maxDays) { + throw new TypeError(`Invalid day for ${MONTHS[month]} in ${year}: ${day}`); + } +}; +const isLeapYear = (year) => { + return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0); +}; +const parseDateValue = (value, type, lower, upper) => { + const dateVal = strictParseByte(stripLeadingZeroes(value)); + if (dateVal < lower || dateVal > upper) { + throw new TypeError(`${type} must be between ${lower} and ${upper}, inclusive`); + } + return dateVal; +}; +const parseMilliseconds = (value) => { + if (value === null || value === undefined) { + return 0; + } + return strictParseFloat32("0." + value) * 1000; +}; +const parseOffsetToMilliseconds = (value) => { + const directionStr = value[0]; + let direction = 1; + if (directionStr == "+") { + direction = 1; + } + else if (directionStr == "-") { + direction = -1; + } + else { + throw new TypeError(`Offset direction, ${directionStr}, must be "+" or "-"`); + } + const hour = Number(value.substring(1, 3)); + const minute = Number(value.substring(4, 6)); + return direction * (hour * 60 + minute) * 60 * 1000; +}; +const stripLeadingZeroes = (value) => { + let idx = 0; + while (idx < value.length - 1 && value.charAt(idx) === "0") { + idx++; + } + if (idx === 0) { + return value; + } + return value.slice(idx); +}; + +const LazyJsonString = function LazyJsonString(val) { + const str = Object.assign(new String(val), { + deserializeJSON() { + return JSON.parse(String(val)); + }, + toString() { + return String(val); + }, + toJSON() { + return String(val); + }, + }); + return str; +}; +LazyJsonString.from = (object) => { + if (object && typeof object === "object" && (object instanceof LazyJsonString || "deserializeJSON" in object)) { + return object; + } + else if (typeof object === "string" || Object.getPrototypeOf(object) === String.prototype) { + return LazyJsonString(String(object)); + } + return LazyJsonString(JSON.stringify(object)); +}; +LazyJsonString.fromObject = LazyJsonString.from; + +function quoteHeader(part) { + if (part.includes(",") || part.includes('"')) { + part = `"${part.replace(/"/g, '\\"')}"`; + } + return part; +} + +const ddd = `(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`; +const mmm = `(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`; +const time = `(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?`; +const date = `(\\d?\\d)`; +const year = `(\\d{4})`; +const RFC3339_WITH_OFFSET = new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/); +const IMF_FIXDATE = new RegExp(`^${ddd}, ${date} ${mmm} ${year} ${time} GMT$`); +const RFC_850_DATE = new RegExp(`^${ddd}, ${date}-${mmm}-(\\d\\d) ${time} GMT$`); +const ASC_TIME = new RegExp(`^${ddd} ${mmm} ( [1-9]|\\d\\d) ${time} ${year}$`); +const months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; +const _parseEpochTimestamp = (value) => { + if (value == null) { + return void 0; + } + let num = NaN; + if (typeof value === "number") { + num = value; + } + else if (typeof value === "string") { + if (!/^-?\d*\.?\d+$/.test(value)) { + throw new TypeError(`parseEpochTimestamp - numeric string invalid.`); + } + num = Number.parseFloat(value); + } + else if (typeof value === "object" && value.tag === 1) { + num = value.value; + } + if (isNaN(num) || Math.abs(num) === Infinity) { + throw new TypeError("Epoch timestamps must be valid finite numbers."); + } + return new Date(Math.round(num * 1000)); +}; +const _parseRfc3339DateTimeWithOffset = (value) => { + if (value == null) { + return void 0; + } + if (typeof value !== "string") { + throw new TypeError("RFC3339 timestamps must be strings"); + } + const matches = RFC3339_WITH_OFFSET.exec(value); + if (!matches) { + throw new TypeError(`Invalid RFC3339 timestamp format ${value}`); + } + const [, yearStr, monthStr, dayStr, hours, minutes, seconds, , ms, offsetStr] = matches; + range(monthStr, 1, 12); + range(dayStr, 1, 31); + range(hours, 0, 23); + range(minutes, 0, 59); + range(seconds, 0, 60); + const date = new Date(Date.UTC(Number(yearStr), Number(monthStr) - 1, Number(dayStr), Number(hours), Number(minutes), Number(seconds), Number(ms) ? Math.round(parseFloat(`0.${ms}`) * 1000) : 0)); + date.setUTCFullYear(Number(yearStr)); + if (offsetStr.toUpperCase() != "Z") { + const [, sign, offsetH, offsetM] = /([+-])(\d\d):(\d\d)/.exec(offsetStr) || [void 0, "+", 0, 0]; + const scalar = sign === "-" ? 1 : -1; + date.setTime(date.getTime() + scalar * (Number(offsetH) * 60 * 60 * 1000 + Number(offsetM) * 60 * 1000)); + } + return date; +}; +const _parseRfc7231DateTime = (value) => { + if (value == null) { + return void 0; + } + if (typeof value !== "string") { + throw new TypeError("RFC7231 timestamps must be strings."); + } + let day; + let month; + let year; + let hour; + let minute; + let second; + let fraction; + let matches; + if ((matches = IMF_FIXDATE.exec(value))) { + [, day, month, year, hour, minute, second, fraction] = matches; + } + else if ((matches = RFC_850_DATE.exec(value))) { + [, day, month, year, hour, minute, second, fraction] = matches; + year = (Number(year) + 1900).toString(); + } + else if ((matches = ASC_TIME.exec(value))) { + [, month, day, hour, minute, second, fraction, year] = matches; + } + if (year && second) { + const timestamp = Date.UTC(Number(year), months.indexOf(month), Number(day), Number(hour), Number(minute), Number(second), fraction ? Math.round(parseFloat(`0.${fraction}`) * 1000) : 0); + range(day, 1, 31); + range(hour, 0, 23); + range(minute, 0, 59); + range(second, 0, 60); + const date = new Date(timestamp); + date.setUTCFullYear(Number(year)); + return date; + } + throw new TypeError(`Invalid RFC7231 date-time value ${value}.`); +}; +function range(v, min, max) { + const _v = Number(v); + if (_v < min || _v > max) { + throw new Error(`Value ${_v} out of range [${min}, ${max}]`); + } +} + +function splitEvery(value, delimiter, numDelimiters) { + if (numDelimiters <= 0 || !Number.isInteger(numDelimiters)) { + throw new Error("Invalid number of delimiters (" + numDelimiters + ") for splitEvery."); + } + const segments = value.split(delimiter); + if (numDelimiters === 1) { + return segments; + } + const compoundSegments = []; + let currentSegment = ""; + for (let i = 0; i < segments.length; i++) { + if (currentSegment === "") { + currentSegment = segments[i]; + } + else { + currentSegment += delimiter + segments[i]; + } + if ((i + 1) % numDelimiters === 0) { + compoundSegments.push(currentSegment); + currentSegment = ""; + } + } + if (currentSegment !== "") { + compoundSegments.push(currentSegment); + } + return compoundSegments; +} + +const splitHeader = (value) => { + const z = value.length; + const values = []; + let withinQuotes = false; + let prevChar = undefined; + let anchor = 0; + for (let i = 0; i < z; ++i) { + const char = value[i]; + switch (char) { + case `"`: + if (prevChar !== "\\") { + withinQuotes = !withinQuotes; + } + break; + case ",": + if (!withinQuotes) { + values.push(value.slice(anchor, i)); + anchor = i + 1; + } + break; + } + prevChar = char; + } + values.push(value.slice(anchor)); + return values.map((v) => { + v = v.trim(); + const z = v.length; + if (z < 2) { + return v; + } + if (v[0] === `"` && v[z - 1] === `"`) { + v = v.slice(1, z - 1); + } + return v.replace(/\\"/g, '"'); + }); +}; + +const format = /^-?\d*(\.\d+)?$/; +class NumericValue { + string; + type; + constructor(string, type) { + this.string = string; + this.type = type; + if (!format.test(string)) { + throw new Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`); + } + } + toString() { + return this.string; + } + static [Symbol.hasInstance](object) { + if (!object || typeof object !== "object") { + return false; + } + const _nv = object; + return NumericValue.prototype.isPrototypeOf(object) || (_nv.type === "bigDecimal" && format.test(_nv.string)); + } +} +function nv(input) { + return new NumericValue(String(input), "bigDecimal"); +} + +exports.generateIdempotencyToken = uuid.v4; +exports.LazyJsonString = LazyJsonString; +exports.NumericValue = NumericValue; +exports._parseEpochTimestamp = _parseEpochTimestamp; +exports._parseRfc3339DateTimeWithOffset = _parseRfc3339DateTimeWithOffset; +exports._parseRfc7231DateTime = _parseRfc7231DateTime; +exports.copyDocumentWithTransform = copyDocumentWithTransform; +exports.dateToUtcString = dateToUtcString; +exports.expectBoolean = expectBoolean; +exports.expectByte = expectByte; +exports.expectFloat32 = expectFloat32; +exports.expectInt = expectInt; +exports.expectInt32 = expectInt32; +exports.expectLong = expectLong; +exports.expectNonNull = expectNonNull; +exports.expectNumber = expectNumber; +exports.expectObject = expectObject; +exports.expectShort = expectShort; +exports.expectString = expectString; +exports.expectUnion = expectUnion; +exports.handleFloat = handleFloat; +exports.limitedParseDouble = limitedParseDouble; +exports.limitedParseFloat = limitedParseFloat; +exports.limitedParseFloat32 = limitedParseFloat32; +exports.logger = logger; +exports.nv = nv; +exports.parseBoolean = parseBoolean; +exports.parseEpochTimestamp = parseEpochTimestamp; +exports.parseRfc3339DateTime = parseRfc3339DateTime; +exports.parseRfc3339DateTimeWithOffset = parseRfc3339DateTimeWithOffset; +exports.parseRfc7231DateTime = parseRfc7231DateTime; +exports.quoteHeader = quoteHeader; +exports.splitEvery = splitEvery; +exports.splitHeader = splitHeader; +exports.strictParseByte = strictParseByte; +exports.strictParseDouble = strictParseDouble; +exports.strictParseFloat = strictParseFloat; +exports.strictParseFloat32 = strictParseFloat32; +exports.strictParseInt = strictParseInt; +exports.strictParseInt32 = strictParseInt32; +exports.strictParseLong = strictParseLong; +exports.strictParseShort = strictParseShort; diff --git a/node_modules/@smithy/core/dist-es/getSmithyContext.js b/node_modules/@smithy/core/dist-es/getSmithyContext.js new file mode 100644 index 0000000..3848a0c --- /dev/null +++ b/node_modules/@smithy/core/dist-es/getSmithyContext.js @@ -0,0 +1,2 @@ +import { SMITHY_CONTEXT_KEY } from "@smithy/types"; +export const getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {}); diff --git a/node_modules/@smithy/core/dist-es/index.js b/node_modules/@smithy/core/dist-es/index.js new file mode 100644 index 0000000..82c90b9 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/index.js @@ -0,0 +1,8 @@ +export * from "./getSmithyContext"; +export * from "./middleware-http-auth-scheme"; +export * from "./middleware-http-signing"; +export * from "./normalizeProvider"; +export { createPaginator } from "./pagination/createPaginator"; +export * from "./request-builder/requestBuilder"; +export * from "./setFeature"; +export * from "./util-identity-and-auth"; diff --git a/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js b/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js new file mode 100644 index 0000000..d0aaae6 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js @@ -0,0 +1,17 @@ +import { httpAuthSchemeMiddleware } from "./httpAuthSchemeMiddleware"; +export const httpAuthSchemeEndpointRuleSetMiddlewareOptions = { + step: "serialize", + tags: ["HTTP_AUTH_SCHEME"], + name: "httpAuthSchemeMiddleware", + override: true, + relation: "before", + toMiddleware: "endpointV2Middleware", +}; +export const getHttpAuthSchemeEndpointRuleSetPlugin = (config, { httpAuthSchemeParametersProvider, identityProviderConfigProvider, }) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(httpAuthSchemeMiddleware(config, { + httpAuthSchemeParametersProvider, + identityProviderConfigProvider, + }), httpAuthSchemeEndpointRuleSetMiddlewareOptions); + }, +}); diff --git a/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js b/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js new file mode 100644 index 0000000..fbb448e --- /dev/null +++ b/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js @@ -0,0 +1,17 @@ +import { httpAuthSchemeMiddleware } from "./httpAuthSchemeMiddleware"; +export const httpAuthSchemeMiddlewareOptions = { + step: "serialize", + tags: ["HTTP_AUTH_SCHEME"], + name: "httpAuthSchemeMiddleware", + override: true, + relation: "before", + toMiddleware: "serializerMiddleware", +}; +export const getHttpAuthSchemePlugin = (config, { httpAuthSchemeParametersProvider, identityProviderConfigProvider, }) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(httpAuthSchemeMiddleware(config, { + httpAuthSchemeParametersProvider, + identityProviderConfigProvider, + }), httpAuthSchemeMiddlewareOptions); + }, +}); diff --git a/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js b/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js new file mode 100644 index 0000000..dbd6cc0 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js @@ -0,0 +1,42 @@ +import { getSmithyContext } from "@smithy/util-middleware"; +import { resolveAuthOptions } from "./resolveAuthOptions"; +function convertHttpAuthSchemesToMap(httpAuthSchemes) { + const map = new Map(); + for (const scheme of httpAuthSchemes) { + map.set(scheme.schemeId, scheme); + } + return map; +} +export const httpAuthSchemeMiddleware = (config, mwOptions) => (next, context) => async (args) => { + const options = config.httpAuthSchemeProvider(await mwOptions.httpAuthSchemeParametersProvider(config, context, args.input)); + const authSchemePreference = config.authSchemePreference ? await config.authSchemePreference() : []; + const resolvedOptions = resolveAuthOptions(options, authSchemePreference); + const authSchemes = convertHttpAuthSchemesToMap(config.httpAuthSchemes); + const smithyContext = getSmithyContext(context); + const failureReasons = []; + for (const option of resolvedOptions) { + const scheme = authSchemes.get(option.schemeId); + if (!scheme) { + failureReasons.push(`HttpAuthScheme \`${option.schemeId}\` was not enabled for this service.`); + continue; + } + const identityProvider = scheme.identityProvider(await mwOptions.identityProviderConfigProvider(config)); + if (!identityProvider) { + failureReasons.push(`HttpAuthScheme \`${option.schemeId}\` did not have an IdentityProvider configured.`); + continue; + } + const { identityProperties = {}, signingProperties = {} } = option.propertiesExtractor?.(config, context) || {}; + option.identityProperties = Object.assign(option.identityProperties || {}, identityProperties); + option.signingProperties = Object.assign(option.signingProperties || {}, signingProperties); + smithyContext.selectedHttpAuthScheme = { + httpAuthOption: option, + identity: await identityProvider(option.identityProperties), + signer: scheme.signer, + }; + break; + } + if (!smithyContext.selectedHttpAuthScheme) { + throw new Error(failureReasons.join("\n")); + } + return next(args); +}; diff --git a/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/index.js b/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/index.js new file mode 100644 index 0000000..5042e7d --- /dev/null +++ b/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/index.js @@ -0,0 +1,3 @@ +export * from "./httpAuthSchemeMiddleware"; +export * from "./getHttpAuthSchemeEndpointRuleSetPlugin"; +export * from "./getHttpAuthSchemePlugin"; diff --git a/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/resolveAuthOptions.js b/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/resolveAuthOptions.js new file mode 100644 index 0000000..8260757 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/resolveAuthOptions.js @@ -0,0 +1,20 @@ +export const resolveAuthOptions = (candidateAuthOptions, authSchemePreference) => { + if (!authSchemePreference || authSchemePreference.length === 0) { + return candidateAuthOptions; + } + const preferredAuthOptions = []; + for (const preferredSchemeName of authSchemePreference) { + for (const candidateAuthOption of candidateAuthOptions) { + const candidateAuthSchemeName = candidateAuthOption.schemeId.split("#")[1]; + if (candidateAuthSchemeName === preferredSchemeName) { + preferredAuthOptions.push(candidateAuthOption); + } + } + } + for (const candidateAuthOption of candidateAuthOptions) { + if (!preferredAuthOptions.find(({ schemeId }) => schemeId === candidateAuthOption.schemeId)) { + preferredAuthOptions.push(candidateAuthOption); + } + } + return preferredAuthOptions; +}; diff --git a/node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js b/node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js new file mode 100644 index 0000000..e199712 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js @@ -0,0 +1,15 @@ +import { httpSigningMiddleware } from "./httpSigningMiddleware"; +export const httpSigningMiddlewareOptions = { + step: "finalizeRequest", + tags: ["HTTP_SIGNING"], + name: "httpSigningMiddleware", + aliases: ["apiKeyMiddleware", "tokenMiddleware", "awsAuthMiddleware"], + override: true, + relation: "after", + toMiddleware: "retryMiddleware", +}; +export const getHttpSigningPlugin = (config) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(httpSigningMiddleware(config), httpSigningMiddlewareOptions); + }, +}); diff --git a/node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js b/node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js new file mode 100644 index 0000000..a9b7b18 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js @@ -0,0 +1,23 @@ +import { HttpRequest } from "@smithy/protocol-http"; +import { getSmithyContext } from "@smithy/util-middleware"; +const defaultErrorHandler = (signingProperties) => (error) => { + throw error; +}; +const defaultSuccessHandler = (httpResponse, signingProperties) => { }; +export const httpSigningMiddleware = (config) => (next, context) => async (args) => { + if (!HttpRequest.isInstance(args.request)) { + return next(args); + } + const smithyContext = getSmithyContext(context); + const scheme = smithyContext.selectedHttpAuthScheme; + if (!scheme) { + throw new Error(`No HttpAuthScheme was selected: unable to sign request`); + } + const { httpAuthOption: { signingProperties = {} }, identity, signer, } = scheme; + const output = await next({ + ...args, + request: await signer.sign(args.request, identity, signingProperties), + }).catch((signer.errorHandler || defaultErrorHandler)(signingProperties)); + (signer.successHandler || defaultSuccessHandler)(output.response, signingProperties); + return output; +}; diff --git a/node_modules/@smithy/core/dist-es/middleware-http-signing/index.js b/node_modules/@smithy/core/dist-es/middleware-http-signing/index.js new file mode 100644 index 0000000..7bc6cfe --- /dev/null +++ b/node_modules/@smithy/core/dist-es/middleware-http-signing/index.js @@ -0,0 +1,2 @@ +export * from "./httpSigningMiddleware"; +export * from "./getHttpSigningMiddleware"; diff --git a/node_modules/@smithy/core/dist-es/normalizeProvider.js b/node_modules/@smithy/core/dist-es/normalizeProvider.js new file mode 100644 index 0000000..a83ea99 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/normalizeProvider.js @@ -0,0 +1,6 @@ +export const normalizeProvider = (input) => { + if (typeof input === "function") + return input; + const promisified = Promise.resolve(input); + return () => promisified; +}; diff --git a/node_modules/@smithy/core/dist-es/pagination/createPaginator.js b/node_modules/@smithy/core/dist-es/pagination/createPaginator.js new file mode 100644 index 0000000..4e8f889 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/pagination/createPaginator.js @@ -0,0 +1,41 @@ +const makePagedClientRequest = async (CommandCtor, client, input, withCommand = (_) => _, ...args) => { + let command = new CommandCtor(input); + command = withCommand(command) ?? command; + return await client.send(command, ...args); +}; +export function createPaginator(ClientCtor, CommandCtor, inputTokenName, outputTokenName, pageSizeTokenName) { + return async function* paginateOperation(config, input, ...additionalArguments) { + const _input = input; + let token = config.startingToken ?? _input[inputTokenName]; + let hasNext = true; + let page; + while (hasNext) { + _input[inputTokenName] = token; + if (pageSizeTokenName) { + _input[pageSizeTokenName] = _input[pageSizeTokenName] ?? config.pageSize; + } + if (config.client instanceof ClientCtor) { + page = await makePagedClientRequest(CommandCtor, config.client, input, config.withCommand, ...additionalArguments); + } + else { + throw new Error(`Invalid client, expected instance of ${ClientCtor.name}`); + } + yield page; + const prevToken = token; + token = get(page, outputTokenName); + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; + }; +} +const get = (fromObject, path) => { + let cursor = fromObject; + const pathComponents = path.split("."); + for (const step of pathComponents) { + if (!cursor || typeof cursor !== "object") { + return undefined; + } + cursor = cursor[step]; + } + return cursor; +}; diff --git a/node_modules/@smithy/core/dist-es/request-builder/requestBuilder.js b/node_modules/@smithy/core/dist-es/request-builder/requestBuilder.js new file mode 100644 index 0000000..5b790a7 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/request-builder/requestBuilder.js @@ -0,0 +1 @@ +export { requestBuilder } from "@smithy/core/protocols"; diff --git a/node_modules/@smithy/core/dist-es/setFeature.js b/node_modules/@smithy/core/dist-es/setFeature.js new file mode 100644 index 0000000..a3a0303 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/setFeature.js @@ -0,0 +1,11 @@ +export function setFeature(context, feature, value) { + if (!context.__smithy_context) { + context.__smithy_context = { + features: {}, + }; + } + else if (!context.__smithy_context.features) { + context.__smithy_context.features = {}; + } + context.__smithy_context.features[feature] = value; +} diff --git a/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js b/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js new file mode 100644 index 0000000..c21c971 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js @@ -0,0 +1,206 @@ +import { SerdeContext } from "@smithy/core/protocols"; +import { NormalizedSchema } from "@smithy/core/schema"; +import { _parseEpochTimestamp, generateIdempotencyToken } from "@smithy/core/serde"; +import { NumericValue } from "@smithy/core/serde"; +import { fromBase64 } from "@smithy/util-base64"; +import { cbor } from "./cbor"; +import { dateToTag } from "./parseCborBody"; +export class CborCodec extends SerdeContext { + createSerializer() { + const serializer = new CborShapeSerializer(); + serializer.setSerdeContext(this.serdeContext); + return serializer; + } + createDeserializer() { + const deserializer = new CborShapeDeserializer(); + deserializer.setSerdeContext(this.serdeContext); + return deserializer; + } +} +export class CborShapeSerializer extends SerdeContext { + value; + write(schema, value) { + this.value = this.serialize(schema, value); + } + serialize(schema, source) { + const ns = NormalizedSchema.of(schema); + if (source == null) { + if (ns.isIdempotencyToken()) { + return generateIdempotencyToken(); + } + return source; + } + if (ns.isBlobSchema()) { + if (typeof source === "string") { + return (this.serdeContext?.base64Decoder ?? fromBase64)(source); + } + return source; + } + if (ns.isTimestampSchema()) { + if (typeof source === "number" || typeof source === "bigint") { + return dateToTag(new Date((Number(source) / 1000) | 0)); + } + return dateToTag(source); + } + if (typeof source === "function" || typeof source === "object") { + const sourceObject = source; + if (ns.isListSchema() && Array.isArray(sourceObject)) { + const sparse = !!ns.getMergedTraits().sparse; + const newArray = []; + let i = 0; + for (const item of sourceObject) { + const value = this.serialize(ns.getValueSchema(), item); + if (value != null || sparse) { + newArray[i++] = value; + } + } + return newArray; + } + if (sourceObject instanceof Date) { + return dateToTag(sourceObject); + } + const newObject = {}; + if (ns.isMapSchema()) { + const sparse = !!ns.getMergedTraits().sparse; + for (const key of Object.keys(sourceObject)) { + const value = this.serialize(ns.getValueSchema(), sourceObject[key]); + if (value != null || sparse) { + newObject[key] = value; + } + } + } + else if (ns.isStructSchema()) { + for (const [key, memberSchema] of ns.structIterator()) { + const value = this.serialize(memberSchema, sourceObject[key]); + if (value != null) { + newObject[key] = value; + } + } + const isUnion = ns.isUnionSchema(); + if (isUnion && Array.isArray(sourceObject.$unknown)) { + const [k, v] = sourceObject.$unknown; + newObject[k] = v; + } + else if (typeof sourceObject.__type === "string") { + for (const [k, v] of Object.entries(sourceObject)) { + if (!(k in newObject)) { + newObject[k] = this.serialize(15, v); + } + } + } + } + else if (ns.isDocumentSchema()) { + for (const key of Object.keys(sourceObject)) { + newObject[key] = this.serialize(ns.getValueSchema(), sourceObject[key]); + } + } + else if (ns.isBigDecimalSchema()) { + return sourceObject; + } + return newObject; + } + return source; + } + flush() { + const buffer = cbor.serialize(this.value); + this.value = undefined; + return buffer; + } +} +export class CborShapeDeserializer extends SerdeContext { + read(schema, bytes) { + const data = cbor.deserialize(bytes); + return this.readValue(schema, data); + } + readValue(_schema, value) { + const ns = NormalizedSchema.of(_schema); + if (ns.isTimestampSchema()) { + if (typeof value === "number") { + return _parseEpochTimestamp(value); + } + if (typeof value === "object") { + if (value.tag === 1 && "value" in value) { + return _parseEpochTimestamp(value.value); + } + } + } + if (ns.isBlobSchema()) { + if (typeof value === "string") { + return (this.serdeContext?.base64Decoder ?? fromBase64)(value); + } + return value; + } + if (typeof value === "undefined" || + typeof value === "boolean" || + typeof value === "number" || + typeof value === "string" || + typeof value === "bigint" || + typeof value === "symbol") { + return value; + } + else if (typeof value === "object") { + if (value === null) { + return null; + } + if ("byteLength" in value) { + return value; + } + if (value instanceof Date) { + return value; + } + if (ns.isDocumentSchema()) { + return value; + } + if (ns.isListSchema()) { + const newArray = []; + const memberSchema = ns.getValueSchema(); + for (const item of value) { + const itemValue = this.readValue(memberSchema, item); + newArray.push(itemValue); + } + return newArray; + } + const newObject = {}; + if (ns.isMapSchema()) { + const targetSchema = ns.getValueSchema(); + for (const key of Object.keys(value)) { + const itemValue = this.readValue(targetSchema, value[key]); + newObject[key] = itemValue; + } + } + else if (ns.isStructSchema()) { + const isUnion = ns.isUnionSchema(); + let keys; + if (isUnion) { + keys = new Set(Object.keys(value).filter((k) => k !== "__type")); + } + for (const [key, memberSchema] of ns.structIterator()) { + if (isUnion) { + keys.delete(key); + } + if (value[key] != null) { + newObject[key] = this.readValue(memberSchema, value[key]); + } + } + if (isUnion && keys?.size === 1 && Object.keys(newObject).length === 0) { + const k = keys.values().next().value; + newObject.$unknown = [k, value[k]]; + } + else if (typeof value.__type === "string") { + for (const [k, v] of Object.entries(value)) { + if (!(k in newObject)) { + newObject[k] = v; + } + } + } + } + else if (value instanceof NumericValue) { + return value; + } + return newObject; + } + else { + return value; + } + } +} diff --git a/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js b/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js new file mode 100644 index 0000000..bfecf13 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js @@ -0,0 +1,100 @@ +import { RpcProtocol } from "@smithy/core/protocols"; +import { TypeRegistry } from "@smithy/core/schema"; +import { deref, NormalizedSchema } from "@smithy/core/schema"; +import { getSmithyContext } from "@smithy/util-middleware"; +import { CborCodec } from "./CborCodec"; +import { loadSmithyRpcV2CborErrorCode } from "./parseCborBody"; +export class SmithyRpcV2CborProtocol extends RpcProtocol { + codec = new CborCodec(); + serializer = this.codec.createSerializer(); + deserializer = this.codec.createDeserializer(); + constructor({ defaultNamespace, errorTypeRegistries, }) { + super({ defaultNamespace, errorTypeRegistries }); + } + getShapeId() { + return "smithy.protocols#rpcv2Cbor"; + } + getPayloadCodec() { + return this.codec; + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + Object.assign(request.headers, { + "content-type": this.getDefaultContentType(), + "smithy-protocol": "rpc-v2-cbor", + accept: this.getDefaultContentType(), + }); + if (deref(operationSchema.input) === "unit") { + delete request.body; + delete request.headers["content-type"]; + } + else { + if (!request.body) { + this.serializer.write(15, {}); + request.body = this.serializer.flush(); + } + try { + request.headers["content-length"] = String(request.body.byteLength); + } + catch (e) { } + } + const { service, operation } = getSmithyContext(context); + const path = `/service/${service}/operation/${operation}`; + if (request.path.endsWith("/")) { + request.path += path.slice(1); + } + else { + request.path += path; + } + return request; + } + async deserializeResponse(operationSchema, context, response) { + return super.deserializeResponse(operationSchema, context, response); + } + async handleError(operationSchema, context, response, dataObject, metadata) { + const errorName = loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown"; + const errorMetadata = { + $metadata: metadata, + $fault: response.statusCode <= 500 ? "client" : "server", + }; + let namespace = this.options.defaultNamespace; + if (errorName.includes("#")) { + [namespace] = errorName.split("#"); + } + const registry = this.compositeErrorRegistry; + const nsRegistry = TypeRegistry.for(namespace); + registry.copyFrom(nsRegistry); + let errorSchema; + try { + errorSchema = registry.getSchema(errorName); + } + catch (e) { + if (dataObject.Message) { + dataObject.message = dataObject.Message; + } + const syntheticRegistry = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace); + registry.copyFrom(syntheticRegistry); + const baseExceptionSchema = registry.getBaseException(); + if (baseExceptionSchema) { + const ErrorCtor = registry.getErrorCtor(baseExceptionSchema); + throw Object.assign(new ErrorCtor({ name: errorName }), errorMetadata, dataObject); + } + throw Object.assign(new Error(errorName), errorMetadata, dataObject); + } + const ns = NormalizedSchema.of(errorSchema); + const ErrorCtor = registry.getErrorCtor(errorSchema); + const message = dataObject.message ?? dataObject.Message ?? "Unknown"; + const exception = new ErrorCtor(message); + const output = {}; + for (const [name, member] of ns.structIterator()) { + output[name] = this.deserializer.readValue(member, dataObject[name]); + } + throw Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output); + } + getDefaultContentType() { + return "application/cbor"; + } +} diff --git a/node_modules/@smithy/core/dist-es/submodules/cbor/byte-printer.js b/node_modules/@smithy/core/dist-es/submodules/cbor/byte-printer.js new file mode 100644 index 0000000..693298d --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/cbor/byte-printer.js @@ -0,0 +1,37 @@ +export function printBytes(bytes) { + return [...bytes].map((n) => { + const pad = (num) => ("0".repeat(8) + num.toString(2)).slice(-8); + const b = pad(n); + const [maj, min] = [b.slice(0, 3), b.slice(3)]; + let dmaj = ""; + switch (maj) { + case "000": + dmaj = "0 - Uint64"; + break; + case "001": + dmaj = "1 - Neg Uint64"; + break; + case "010": + dmaj = "2 - unstructured bytestring"; + break; + case "011": + dmaj = "3 - utf8 string"; + break; + case "100": + dmaj = "4 - list"; + break; + case "101": + dmaj = "5 - map"; + break; + case "110": + dmaj = "6 - tag"; + break; + case "111": + dmaj = "7 - special"; + break; + default: + dmaj = String(parseInt(maj, 2)); + } + return `${maj}_${min} (${dmaj}, ${parseInt(min, 2)})`; + }); +} diff --git a/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js b/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js new file mode 100644 index 0000000..813205f --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js @@ -0,0 +1,426 @@ +import { nv } from "@smithy/core/serde"; +import { toUtf8 } from "@smithy/util-utf8"; +import { alloc, extendedFloat16, extendedFloat32, extendedFloat64, extendedOneByte, majorList, majorMap, majorNegativeInt64, majorTag, majorUint64, majorUnstructuredByteString, majorUtf8String, minorIndefinite, specialFalse, specialNull, specialTrue, specialUndefined, tag, } from "./cbor-types"; +const USE_TEXT_DECODER = typeof TextDecoder !== "undefined"; +const USE_BUFFER = typeof Buffer !== "undefined"; +let payload = alloc(0); +let dataView = new DataView(payload.buffer, payload.byteOffset, payload.byteLength); +const textDecoder = USE_TEXT_DECODER ? new TextDecoder() : null; +let _offset = 0; +export function setPayload(bytes) { + payload = bytes; + dataView = new DataView(payload.buffer, payload.byteOffset, payload.byteLength); +} +export function decode(at, to) { + if (at >= to) { + throw new Error("unexpected end of (decode) payload."); + } + const major = (payload[at] & 0b1110_0000) >> 5; + const minor = payload[at] & 0b0001_1111; + switch (major) { + case majorUint64: + case majorNegativeInt64: + case majorTag: + let unsignedInt; + let offset; + if (minor < 24) { + unsignedInt = minor; + offset = 1; + } + else { + switch (minor) { + case extendedOneByte: + case extendedFloat16: + case extendedFloat32: + case extendedFloat64: + const countLength = minorValueToArgumentLength[minor]; + const countOffset = (countLength + 1); + offset = countOffset; + if (to - at < countOffset) { + throw new Error(`countLength ${countLength} greater than remaining buf len.`); + } + const countIndex = at + 1; + if (countLength === 1) { + unsignedInt = payload[countIndex]; + } + else if (countLength === 2) { + unsignedInt = dataView.getUint16(countIndex); + } + else if (countLength === 4) { + unsignedInt = dataView.getUint32(countIndex); + } + else { + unsignedInt = dataView.getBigUint64(countIndex); + } + break; + default: + throw new Error(`unexpected minor value ${minor}.`); + } + } + if (major === majorUint64) { + _offset = offset; + return castBigInt(unsignedInt); + } + else if (major === majorNegativeInt64) { + let negativeInt; + if (typeof unsignedInt === "bigint") { + negativeInt = BigInt(-1) - unsignedInt; + } + else { + negativeInt = -1 - unsignedInt; + } + _offset = offset; + return castBigInt(negativeInt); + } + else { + if (minor === 2 || minor === 3) { + const length = decodeCount(at + offset, to); + let b = BigInt(0); + const start = at + offset + _offset; + for (let i = start; i < start + length; ++i) { + b = (b << BigInt(8)) | BigInt(payload[i]); + } + _offset = offset + _offset + length; + return minor === 3 ? -b - BigInt(1) : b; + } + else if (minor === 4) { + const decimalFraction = decode(at + offset, to); + const [exponent, mantissa] = decimalFraction; + const normalizer = mantissa < 0 ? -1 : 1; + const mantissaStr = "0".repeat(Math.abs(exponent) + 1) + String(BigInt(normalizer) * BigInt(mantissa)); + let numericString; + const sign = mantissa < 0 ? "-" : ""; + numericString = + exponent === 0 + ? mantissaStr + : mantissaStr.slice(0, mantissaStr.length + exponent) + "." + mantissaStr.slice(exponent); + numericString = numericString.replace(/^0+/g, ""); + if (numericString === "") { + numericString = "0"; + } + if (numericString[0] === ".") { + numericString = "0" + numericString; + } + numericString = sign + numericString; + _offset = offset + _offset; + return nv(numericString); + } + else { + const value = decode(at + offset, to); + const valueOffset = _offset; + _offset = offset + valueOffset; + return tag({ tag: castBigInt(unsignedInt), value }); + } + } + case majorUtf8String: + case majorMap: + case majorList: + case majorUnstructuredByteString: + if (minor === minorIndefinite) { + switch (major) { + case majorUtf8String: + return decodeUtf8StringIndefinite(at, to); + case majorMap: + return decodeMapIndefinite(at, to); + case majorList: + return decodeListIndefinite(at, to); + case majorUnstructuredByteString: + return decodeUnstructuredByteStringIndefinite(at, to); + } + } + else { + switch (major) { + case majorUtf8String: + return decodeUtf8String(at, to); + case majorMap: + return decodeMap(at, to); + case majorList: + return decodeList(at, to); + case majorUnstructuredByteString: + return decodeUnstructuredByteString(at, to); + } + } + default: + return decodeSpecial(at, to); + } +} +function bytesToUtf8(bytes, at, to) { + if (USE_BUFFER && bytes.constructor?.name === "Buffer") { + return bytes.toString("utf-8", at, to); + } + if (textDecoder) { + return textDecoder.decode(bytes.subarray(at, to)); + } + return toUtf8(bytes.subarray(at, to)); +} +function demote(bigInteger) { + const num = Number(bigInteger); + if (num < Number.MIN_SAFE_INTEGER || Number.MAX_SAFE_INTEGER < num) { + console.warn(new Error(`@smithy/core/cbor - truncating BigInt(${bigInteger}) to ${num} with loss of precision.`)); + } + return num; +} +const minorValueToArgumentLength = { + [extendedOneByte]: 1, + [extendedFloat16]: 2, + [extendedFloat32]: 4, + [extendedFloat64]: 8, +}; +export function bytesToFloat16(a, b) { + const sign = a >> 7; + const exponent = (a & 0b0111_1100) >> 2; + const fraction = ((a & 0b0000_0011) << 8) | b; + const scalar = sign === 0 ? 1 : -1; + let exponentComponent; + let summation; + if (exponent === 0b00000) { + if (fraction === 0b00000_00000) { + return 0; + } + else { + exponentComponent = Math.pow(2, 1 - 15); + summation = 0; + } + } + else if (exponent === 0b11111) { + if (fraction === 0b00000_00000) { + return scalar * Infinity; + } + else { + return NaN; + } + } + else { + exponentComponent = Math.pow(2, exponent - 15); + summation = 1; + } + summation += fraction / 1024; + return scalar * (exponentComponent * summation); +} +function decodeCount(at, to) { + const minor = payload[at] & 0b0001_1111; + if (minor < 24) { + _offset = 1; + return minor; + } + if (minor === extendedOneByte || + minor === extendedFloat16 || + minor === extendedFloat32 || + minor === extendedFloat64) { + const countLength = minorValueToArgumentLength[minor]; + _offset = (countLength + 1); + if (to - at < _offset) { + throw new Error(`countLength ${countLength} greater than remaining buf len.`); + } + const countIndex = at + 1; + if (countLength === 1) { + return payload[countIndex]; + } + else if (countLength === 2) { + return dataView.getUint16(countIndex); + } + else if (countLength === 4) { + return dataView.getUint32(countIndex); + } + return demote(dataView.getBigUint64(countIndex)); + } + throw new Error(`unexpected minor value ${minor}.`); +} +function decodeUtf8String(at, to) { + const length = decodeCount(at, to); + const offset = _offset; + at += offset; + if (to - at < length) { + throw new Error(`string len ${length} greater than remaining buf len.`); + } + const value = bytesToUtf8(payload, at, at + length); + _offset = offset + length; + return value; +} +function decodeUtf8StringIndefinite(at, to) { + at += 1; + const vector = []; + for (const base = at; at < to;) { + if (payload[at] === 0b1111_1111) { + const data = alloc(vector.length); + data.set(vector, 0); + _offset = at - base + 2; + return bytesToUtf8(data, 0, data.length); + } + const major = (payload[at] & 0b1110_0000) >> 5; + const minor = payload[at] & 0b0001_1111; + if (major !== majorUtf8String) { + throw new Error(`unexpected major type ${major} in indefinite string.`); + } + if (minor === minorIndefinite) { + throw new Error("nested indefinite string."); + } + const bytes = decodeUnstructuredByteString(at, to); + const length = _offset; + at += length; + for (let i = 0; i < bytes.length; ++i) { + vector.push(bytes[i]); + } + } + throw new Error("expected break marker."); +} +function decodeUnstructuredByteString(at, to) { + const length = decodeCount(at, to); + const offset = _offset; + at += offset; + if (to - at < length) { + throw new Error(`unstructured byte string len ${length} greater than remaining buf len.`); + } + const value = payload.subarray(at, at + length); + _offset = offset + length; + return value; +} +function decodeUnstructuredByteStringIndefinite(at, to) { + at += 1; + const vector = []; + for (const base = at; at < to;) { + if (payload[at] === 0b1111_1111) { + const data = alloc(vector.length); + data.set(vector, 0); + _offset = at - base + 2; + return data; + } + const major = (payload[at] & 0b1110_0000) >> 5; + const minor = payload[at] & 0b0001_1111; + if (major !== majorUnstructuredByteString) { + throw new Error(`unexpected major type ${major} in indefinite string.`); + } + if (minor === minorIndefinite) { + throw new Error("nested indefinite string."); + } + const bytes = decodeUnstructuredByteString(at, to); + const length = _offset; + at += length; + for (let i = 0; i < bytes.length; ++i) { + vector.push(bytes[i]); + } + } + throw new Error("expected break marker."); +} +function decodeList(at, to) { + const listDataLength = decodeCount(at, to); + const offset = _offset; + at += offset; + const base = at; + const list = Array(listDataLength); + for (let i = 0; i < listDataLength; ++i) { + const item = decode(at, to); + const itemOffset = _offset; + list[i] = item; + at += itemOffset; + } + _offset = offset + (at - base); + return list; +} +function decodeListIndefinite(at, to) { + at += 1; + const list = []; + for (const base = at; at < to;) { + if (payload[at] === 0b1111_1111) { + _offset = at - base + 2; + return list; + } + const item = decode(at, to); + const n = _offset; + at += n; + list.push(item); + } + throw new Error("expected break marker."); +} +function decodeMap(at, to) { + const mapDataLength = decodeCount(at, to); + const offset = _offset; + at += offset; + const base = at; + const map = {}; + for (let i = 0; i < mapDataLength; ++i) { + if (at >= to) { + throw new Error("unexpected end of map payload."); + } + const major = (payload[at] & 0b1110_0000) >> 5; + if (major !== majorUtf8String) { + throw new Error(`unexpected major type ${major} for map key at index ${at}.`); + } + const key = decode(at, to); + at += _offset; + const value = decode(at, to); + at += _offset; + map[key] = value; + } + _offset = offset + (at - base); + return map; +} +function decodeMapIndefinite(at, to) { + at += 1; + const base = at; + const map = {}; + for (; at < to;) { + if (at >= to) { + throw new Error("unexpected end of map payload."); + } + if (payload[at] === 0b1111_1111) { + _offset = at - base + 2; + return map; + } + const major = (payload[at] & 0b1110_0000) >> 5; + if (major !== majorUtf8String) { + throw new Error(`unexpected major type ${major} for map key.`); + } + const key = decode(at, to); + at += _offset; + const value = decode(at, to); + at += _offset; + map[key] = value; + } + throw new Error("expected break marker."); +} +function decodeSpecial(at, to) { + const minor = payload[at] & 0b0001_1111; + switch (minor) { + case specialTrue: + case specialFalse: + _offset = 1; + return minor === specialTrue; + case specialNull: + _offset = 1; + return null; + case specialUndefined: + _offset = 1; + return null; + case extendedFloat16: + if (to - at < 3) { + throw new Error("incomplete float16 at end of buf."); + } + _offset = 3; + return bytesToFloat16(payload[at + 1], payload[at + 2]); + case extendedFloat32: + if (to - at < 5) { + throw new Error("incomplete float32 at end of buf."); + } + _offset = 5; + return dataView.getFloat32(at + 1); + case extendedFloat64: + if (to - at < 9) { + throw new Error("incomplete float64 at end of buf."); + } + _offset = 9; + return dataView.getFloat64(at + 1); + default: + throw new Error(`unexpected minor value ${minor}.`); + } +} +function castBigInt(bigInt) { + if (typeof bigInt === "number") { + return bigInt; + } + const num = Number(bigInt); + if (Number.MIN_SAFE_INTEGER <= num && num <= Number.MAX_SAFE_INTEGER) { + return num; + } + return bigInt; +} diff --git a/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js b/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js new file mode 100644 index 0000000..ffa87fa --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js @@ -0,0 +1,221 @@ +import { NumericValue } from "@smithy/core/serde"; +import { fromUtf8 } from "@smithy/util-utf8"; +import { alloc, extendedFloat16, extendedFloat32, extendedFloat64, majorList, majorMap, majorNegativeInt64, majorSpecial, majorTag, majorUint64, majorUnstructuredByteString, majorUtf8String, specialFalse, specialNull, specialTrue, tagSymbol, } from "./cbor-types"; +const USE_BUFFER = typeof Buffer !== "undefined"; +const initialSize = 2048; +let data = alloc(initialSize); +let dataView = new DataView(data.buffer, data.byteOffset, data.byteLength); +let cursor = 0; +function ensureSpace(bytes) { + const remaining = data.byteLength - cursor; + if (remaining < bytes) { + if (cursor < 16_000_000) { + resize(Math.max(data.byteLength * 4, data.byteLength + bytes)); + } + else { + resize(data.byteLength + bytes + 16_000_000); + } + } +} +export function toUint8Array() { + const out = alloc(cursor); + out.set(data.subarray(0, cursor), 0); + cursor = 0; + return out; +} +export function resize(size) { + const old = data; + data = alloc(size); + if (old) { + if (old.copy) { + old.copy(data, 0, 0, old.byteLength); + } + else { + data.set(old, 0); + } + } + dataView = new DataView(data.buffer, data.byteOffset, data.byteLength); +} +function encodeHeader(major, value) { + if (value < 24) { + data[cursor++] = (major << 5) | value; + } + else if (value < 1 << 8) { + data[cursor++] = (major << 5) | 24; + data[cursor++] = value; + } + else if (value < 1 << 16) { + data[cursor++] = (major << 5) | extendedFloat16; + dataView.setUint16(cursor, value); + cursor += 2; + } + else if (value < 2 ** 32) { + data[cursor++] = (major << 5) | extendedFloat32; + dataView.setUint32(cursor, value); + cursor += 4; + } + else { + data[cursor++] = (major << 5) | extendedFloat64; + dataView.setBigUint64(cursor, typeof value === "bigint" ? value : BigInt(value)); + cursor += 8; + } +} +export function encode(_input) { + const encodeStack = [_input]; + while (encodeStack.length) { + const input = encodeStack.pop(); + ensureSpace(typeof input === "string" ? input.length * 4 : 64); + if (typeof input === "string") { + if (USE_BUFFER) { + encodeHeader(majorUtf8String, Buffer.byteLength(input)); + cursor += data.write(input, cursor); + } + else { + const bytes = fromUtf8(input); + encodeHeader(majorUtf8String, bytes.byteLength); + data.set(bytes, cursor); + cursor += bytes.byteLength; + } + continue; + } + else if (typeof input === "number") { + if (Number.isInteger(input)) { + const nonNegative = input >= 0; + const major = nonNegative ? majorUint64 : majorNegativeInt64; + const value = nonNegative ? input : -input - 1; + if (value < 24) { + data[cursor++] = (major << 5) | value; + } + else if (value < 256) { + data[cursor++] = (major << 5) | 24; + data[cursor++] = value; + } + else if (value < 65536) { + data[cursor++] = (major << 5) | extendedFloat16; + data[cursor++] = value >> 8; + data[cursor++] = value; + } + else if (value < 4294967296) { + data[cursor++] = (major << 5) | extendedFloat32; + dataView.setUint32(cursor, value); + cursor += 4; + } + else { + data[cursor++] = (major << 5) | extendedFloat64; + dataView.setBigUint64(cursor, BigInt(value)); + cursor += 8; + } + continue; + } + data[cursor++] = (majorSpecial << 5) | extendedFloat64; + dataView.setFloat64(cursor, input); + cursor += 8; + continue; + } + else if (typeof input === "bigint") { + const nonNegative = input >= 0; + const major = nonNegative ? majorUint64 : majorNegativeInt64; + const value = nonNegative ? input : -input - BigInt(1); + const n = Number(value); + if (n < 24) { + data[cursor++] = (major << 5) | n; + } + else if (n < 256) { + data[cursor++] = (major << 5) | 24; + data[cursor++] = n; + } + else if (n < 65536) { + data[cursor++] = (major << 5) | extendedFloat16; + data[cursor++] = n >> 8; + data[cursor++] = n & 0b1111_1111; + } + else if (n < 4294967296) { + data[cursor++] = (major << 5) | extendedFloat32; + dataView.setUint32(cursor, n); + cursor += 4; + } + else if (value < BigInt("18446744073709551616")) { + data[cursor++] = (major << 5) | extendedFloat64; + dataView.setBigUint64(cursor, value); + cursor += 8; + } + else { + const binaryBigInt = value.toString(2); + const bigIntBytes = new Uint8Array(Math.ceil(binaryBigInt.length / 8)); + let b = value; + let i = 0; + while (bigIntBytes.byteLength - ++i >= 0) { + bigIntBytes[bigIntBytes.byteLength - i] = Number(b & BigInt(255)); + b >>= BigInt(8); + } + ensureSpace(bigIntBytes.byteLength * 2); + data[cursor++] = nonNegative ? 0b110_00010 : 0b110_00011; + if (USE_BUFFER) { + encodeHeader(majorUnstructuredByteString, Buffer.byteLength(bigIntBytes)); + } + else { + encodeHeader(majorUnstructuredByteString, bigIntBytes.byteLength); + } + data.set(bigIntBytes, cursor); + cursor += bigIntBytes.byteLength; + } + continue; + } + else if (input === null) { + data[cursor++] = (majorSpecial << 5) | specialNull; + continue; + } + else if (typeof input === "boolean") { + data[cursor++] = (majorSpecial << 5) | (input ? specialTrue : specialFalse); + continue; + } + else if (typeof input === "undefined") { + throw new Error("@smithy/core/cbor: client may not serialize undefined value."); + } + else if (Array.isArray(input)) { + for (let i = input.length - 1; i >= 0; --i) { + encodeStack.push(input[i]); + } + encodeHeader(majorList, input.length); + continue; + } + else if (typeof input.byteLength === "number") { + ensureSpace(input.length * 2); + encodeHeader(majorUnstructuredByteString, input.length); + data.set(input, cursor); + cursor += input.byteLength; + continue; + } + else if (typeof input === "object") { + if (input instanceof NumericValue) { + const decimalIndex = input.string.indexOf("."); + const exponent = decimalIndex === -1 ? 0 : decimalIndex - input.string.length + 1; + const mantissa = BigInt(input.string.replace(".", "")); + data[cursor++] = 0b110_00100; + encodeStack.push(mantissa); + encodeStack.push(exponent); + encodeHeader(majorList, 2); + continue; + } + if (input[tagSymbol]) { + if ("tag" in input && "value" in input) { + encodeStack.push(input.value); + encodeHeader(majorTag, input.tag); + continue; + } + else { + throw new Error("tag encountered with missing fields, need 'tag' and 'value', found: " + JSON.stringify(input)); + } + } + const keys = Object.keys(input); + for (let i = keys.length - 1; i >= 0; --i) { + const key = keys[i]; + encodeStack.push(input[key]); + encodeStack.push(key); + } + encodeHeader(majorMap, keys.length); + continue; + } + throw new Error(`data type ${input?.constructor?.name ?? typeof input} not compatible for encoding.`); + } +} diff --git a/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-types.js b/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-types.js new file mode 100644 index 0000000..a720eb7 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-types.js @@ -0,0 +1,25 @@ +export const majorUint64 = 0; +export const majorNegativeInt64 = 1; +export const majorUnstructuredByteString = 2; +export const majorUtf8String = 3; +export const majorList = 4; +export const majorMap = 5; +export const majorTag = 6; +export const majorSpecial = 7; +export const specialFalse = 20; +export const specialTrue = 21; +export const specialNull = 22; +export const specialUndefined = 23; +export const extendedOneByte = 24; +export const extendedFloat16 = 25; +export const extendedFloat32 = 26; +export const extendedFloat64 = 27; +export const minorIndefinite = 31; +export function alloc(size) { + return typeof Buffer !== "undefined" ? Buffer.alloc(size) : new Uint8Array(size); +} +export const tagSymbol = Symbol("@smithy/core/cbor::tagSymbol"); +export function tag(data) { + data[tagSymbol] = true; + return data; +} diff --git a/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js b/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js new file mode 100644 index 0000000..8df975f --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js @@ -0,0 +1,21 @@ +import { decode, setPayload } from "./cbor-decode"; +import { encode, resize, toUint8Array } from "./cbor-encode"; +export const cbor = { + deserialize(payload) { + setPayload(payload); + return decode(0, payload.length); + }, + serialize(input) { + try { + encode(input); + return toUint8Array(); + } + catch (e) { + toUint8Array(); + throw e; + } + }, + resizeEncodingBuffer(size) { + resize(size); + }, +}; diff --git a/node_modules/@smithy/core/dist-es/submodules/cbor/index.js b/node_modules/@smithy/core/dist-es/submodules/cbor/index.js new file mode 100644 index 0000000..c53524e --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/cbor/index.js @@ -0,0 +1,5 @@ +export { cbor } from "./cbor"; +export { tag, tagSymbol } from "./cbor-types"; +export * from "./parseCborBody"; +export * from "./SmithyRpcV2CborProtocol"; +export * from "./CborCodec"; diff --git a/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js b/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js new file mode 100644 index 0000000..c7594d7 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js @@ -0,0 +1,92 @@ +import { collectBody } from "@smithy/core/protocols"; +import { HttpRequest as __HttpRequest } from "@smithy/protocol-http"; +import { calculateBodyLength } from "@smithy/util-body-length-browser"; +import { cbor } from "./cbor"; +import { tag } from "./cbor-types"; +export const parseCborBody = (streamBody, context) => { + return collectBody(streamBody, context).then(async (bytes) => { + if (bytes.length) { + try { + return cbor.deserialize(bytes); + } + catch (e) { + Object.defineProperty(e, "$responseBodyText", { + value: context.utf8Encoder(bytes), + }); + throw e; + } + } + return {}; + }); +}; +export const dateToTag = (date) => { + return tag({ + tag: 1, + value: date.getTime() / 1000, + }); +}; +export const parseCborErrorBody = async (errorBody, context) => { + const value = await parseCborBody(errorBody, context); + value.message = value.message ?? value.Message; + return value; +}; +export const loadSmithyRpcV2CborErrorCode = (output, data) => { + const sanitizeErrorCode = (rawValue) => { + let cleanValue = rawValue; + if (typeof cleanValue === "number") { + cleanValue = cleanValue.toString(); + } + if (cleanValue.indexOf(",") >= 0) { + cleanValue = cleanValue.split(",")[0]; + } + if (cleanValue.indexOf(":") >= 0) { + cleanValue = cleanValue.split(":")[0]; + } + if (cleanValue.indexOf("#") >= 0) { + cleanValue = cleanValue.split("#")[1]; + } + return cleanValue; + }; + if (data["__type"] !== undefined) { + return sanitizeErrorCode(data["__type"]); + } + const codeKey = Object.keys(data).find((key) => key.toLowerCase() === "code"); + if (codeKey && data[codeKey] !== undefined) { + return sanitizeErrorCode(data[codeKey]); + } +}; +export const checkCborResponse = (response) => { + if (String(response.headers["smithy-protocol"]).toLowerCase() !== "rpc-v2-cbor") { + throw new Error("Malformed RPCv2 CBOR response, status: " + response.statusCode); + } +}; +export const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => { + const endpoint = await context.endpoint(); + const { hostname, protocol = "https", port, path: basePath } = endpoint; + const contents = { + protocol, + hostname, + port, + method: "POST", + path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path, + headers: { + ...headers, + }, + }; + if (resolvedHostname !== undefined) { + contents.hostname = resolvedHostname; + } + if (endpoint.headers) { + for (const [name, value] of Object.entries(endpoint.headers)) { + contents.headers[name] = value; + } + } + if (body !== undefined) { + contents.body = body; + try { + contents.headers["content-length"] = String(calculateBodyLength(body)); + } + catch (e) { } + } + return new __HttpRequest(contents); +}; diff --git a/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js b/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js new file mode 100644 index 0000000..a88df65 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js @@ -0,0 +1 @@ +export * from "./toEndpointV1"; diff --git a/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js b/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js new file mode 100644 index 0000000..701ce11 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js @@ -0,0 +1,17 @@ +import { parseUrl } from "@smithy/url-parser"; +export const toEndpointV1 = (endpoint) => { + if (typeof endpoint === "object") { + if ("url" in endpoint) { + const v1Endpoint = parseUrl(endpoint.url); + if (endpoint.headers) { + v1Endpoint.headers = {}; + for (const [name, values] of Object.entries(endpoint.headers)) { + v1Endpoint.headers[name.toLowerCase()] = values.join(", "); + } + } + return v1Endpoint; + } + return endpoint; + } + return parseUrl(endpoint); +}; diff --git a/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js b/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js new file mode 100644 index 0000000..d0fa185 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js @@ -0,0 +1,254 @@ +import { fromUtf8, toUtf8 } from "@smithy/util-utf8"; +export class EventStreamSerde { + marshaller; + serializer; + deserializer; + serdeContext; + defaultContentType; + constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType, }) { + this.marshaller = marshaller; + this.serializer = serializer; + this.deserializer = deserializer; + this.serdeContext = serdeContext; + this.defaultContentType = defaultContentType; + } + async serializeEventStream({ eventStream, requestSchema, initialRequest, }) { + const marshaller = this.marshaller; + const eventStreamMember = requestSchema.getEventStreamMember(); + const unionSchema = requestSchema.getMemberSchema(eventStreamMember); + const serializer = this.serializer; + const defaultContentType = this.defaultContentType; + const initialRequestMarker = Symbol("initialRequestMarker"); + const eventStreamIterable = { + async *[Symbol.asyncIterator]() { + if (initialRequest) { + const headers = { + ":event-type": { type: "string", value: "initial-request" }, + ":message-type": { type: "string", value: "event" }, + ":content-type": { type: "string", value: defaultContentType }, + }; + serializer.write(requestSchema, initialRequest); + const body = serializer.flush(); + yield { + [initialRequestMarker]: true, + headers, + body, + }; + } + for await (const page of eventStream) { + yield page; + } + }, + }; + return marshaller.serialize(eventStreamIterable, (event) => { + if (event[initialRequestMarker]) { + return { + headers: event.headers, + body: event.body, + }; + } + const unionMember = Object.keys(event).find((key) => { + return key !== "__type"; + }) ?? ""; + const { additionalHeaders, body, eventType, explicitPayloadContentType } = this.writeEventBody(unionMember, unionSchema, event); + const headers = { + ":event-type": { type: "string", value: eventType }, + ":message-type": { type: "string", value: "event" }, + ":content-type": { type: "string", value: explicitPayloadContentType ?? defaultContentType }, + ...additionalHeaders, + }; + return { + headers, + body, + }; + }); + } + async deserializeEventStream({ response, responseSchema, initialResponseContainer, }) { + const marshaller = this.marshaller; + const eventStreamMember = responseSchema.getEventStreamMember(); + const unionSchema = responseSchema.getMemberSchema(eventStreamMember); + const memberSchemas = unionSchema.getMemberSchemas(); + const initialResponseMarker = Symbol("initialResponseMarker"); + const asyncIterable = marshaller.deserialize(response.body, async (event) => { + const unionMember = Object.keys(event).find((key) => { + return key !== "__type"; + }) ?? ""; + const body = event[unionMember].body; + if (unionMember === "initial-response") { + const dataObject = await this.deserializer.read(responseSchema, body); + delete dataObject[eventStreamMember]; + return { + [initialResponseMarker]: true, + ...dataObject, + }; + } + else if (unionMember in memberSchemas) { + const eventStreamSchema = memberSchemas[unionMember]; + if (eventStreamSchema.isStructSchema()) { + const out = {}; + let hasBindings = false; + for (const [name, member] of eventStreamSchema.structIterator()) { + const { eventHeader, eventPayload } = member.getMergedTraits(); + hasBindings = hasBindings || Boolean(eventHeader || eventPayload); + if (eventPayload) { + if (member.isBlobSchema()) { + out[name] = body; + } + else if (member.isStringSchema()) { + out[name] = (this.serdeContext?.utf8Encoder ?? toUtf8)(body); + } + else if (member.isStructSchema()) { + out[name] = await this.deserializer.read(member, body); + } + } + else if (eventHeader) { + const value = event[unionMember].headers[name]?.value; + if (value != null) { + if (member.isNumericSchema()) { + if (value && typeof value === "object" && "bytes" in value) { + out[name] = BigInt(value.toString()); + } + else { + out[name] = Number(value); + } + } + else { + out[name] = value; + } + } + } + } + if (hasBindings) { + return { + [unionMember]: out, + }; + } + if (body.byteLength === 0) { + return { + [unionMember]: {}, + }; + } + } + return { + [unionMember]: await this.deserializer.read(eventStreamSchema, body), + }; + } + else { + return { + $unknown: event, + }; + } + }); + const asyncIterator = asyncIterable[Symbol.asyncIterator](); + const firstEvent = await asyncIterator.next(); + if (firstEvent.done) { + return asyncIterable; + } + if (firstEvent.value?.[initialResponseMarker]) { + if (!responseSchema) { + throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given."); + } + for (const [key, value] of Object.entries(firstEvent.value)) { + initialResponseContainer[key] = value; + } + } + return { + async *[Symbol.asyncIterator]() { + if (!firstEvent?.value?.[initialResponseMarker]) { + yield firstEvent.value; + } + while (true) { + const { done, value } = await asyncIterator.next(); + if (done) { + break; + } + yield value; + } + }, + }; + } + writeEventBody(unionMember, unionSchema, event) { + const serializer = this.serializer; + let eventType = unionMember; + let explicitPayloadMember = null; + let explicitPayloadContentType; + const isKnownSchema = (() => { + const struct = unionSchema.getSchema(); + return struct[4].includes(unionMember); + })(); + const additionalHeaders = {}; + if (!isKnownSchema) { + const [type, value] = event[unionMember]; + eventType = type; + serializer.write(15, value); + } + else { + const eventSchema = unionSchema.getMemberSchema(unionMember); + if (eventSchema.isStructSchema()) { + for (const [memberName, memberSchema] of eventSchema.structIterator()) { + const { eventHeader, eventPayload } = memberSchema.getMergedTraits(); + if (eventPayload) { + explicitPayloadMember = memberName; + } + else if (eventHeader) { + const value = event[unionMember][memberName]; + let type = "binary"; + if (memberSchema.isNumericSchema()) { + if ((-2) ** 31 <= value && value <= 2 ** 31 - 1) { + type = "integer"; + } + else { + type = "long"; + } + } + else if (memberSchema.isTimestampSchema()) { + type = "timestamp"; + } + else if (memberSchema.isStringSchema()) { + type = "string"; + } + else if (memberSchema.isBooleanSchema()) { + type = "boolean"; + } + if (value != null) { + additionalHeaders[memberName] = { + type, + value, + }; + delete event[unionMember][memberName]; + } + } + } + if (explicitPayloadMember !== null) { + const payloadSchema = eventSchema.getMemberSchema(explicitPayloadMember); + if (payloadSchema.isBlobSchema()) { + explicitPayloadContentType = "application/octet-stream"; + } + else if (payloadSchema.isStringSchema()) { + explicitPayloadContentType = "text/plain"; + } + serializer.write(payloadSchema, event[unionMember][explicitPayloadMember]); + } + else { + serializer.write(eventSchema, event[unionMember]); + } + } + else if (eventSchema.isUnitSchema()) { + serializer.write(eventSchema, {}); + } + else { + throw new Error("@smithy/core/event-streams - non-struct member not supported in event stream union."); + } + } + const messageSerialization = serializer.flush() ?? new Uint8Array(); + const body = typeof messageSerialization === "string" + ? (this.serdeContext?.utf8Decoder ?? fromUtf8)(messageSerialization) + : messageSerialization; + return { + body, + eventType, + explicitPayloadContentType, + additionalHeaders, + }; + } +} diff --git a/node_modules/@smithy/core/dist-es/submodules/event-streams/index.js b/node_modules/@smithy/core/dist-es/submodules/event-streams/index.js new file mode 100644 index 0000000..849f48c --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/event-streams/index.js @@ -0,0 +1 @@ +export * from "./EventStreamSerde"; diff --git a/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js b/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js new file mode 100644 index 0000000..37cb215 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js @@ -0,0 +1,286 @@ +import { NormalizedSchema, translateTraits } from "@smithy/core/schema"; +import { splitEvery, splitHeader } from "@smithy/core/serde"; +import { HttpRequest } from "@smithy/protocol-http"; +import { sdkStreamMixin } from "@smithy/util-stream"; +import { collectBody } from "./collect-stream-body"; +import { extendedEncodeURIComponent } from "./extended-encode-uri-component"; +import { HttpProtocol } from "./HttpProtocol"; +export class HttpBindingProtocol extends HttpProtocol { + async serializeRequest(operationSchema, _input, context) { + const input = _input && typeof _input === "object" ? _input : {}; + const serializer = this.serializer; + const query = {}; + const headers = {}; + const endpoint = await context.endpoint(); + const ns = NormalizedSchema.of(operationSchema?.input); + const payloadMemberNames = []; + const payloadMemberSchemas = []; + let hasNonHttpBindingMember = false; + let payload; + const request = new HttpRequest({ + protocol: "", + hostname: "", + port: undefined, + path: "", + fragment: undefined, + query: query, + headers: headers, + body: undefined, + }); + if (endpoint) { + this.updateServiceEndpoint(request, endpoint); + this.setHostPrefix(request, operationSchema, input); + const opTraits = translateTraits(operationSchema.traits); + if (opTraits.http) { + request.method = opTraits.http[0]; + const [path, search] = opTraits.http[1].split("?"); + if (request.path == "/") { + request.path = path; + } + else { + request.path += path; + } + const traitSearchParams = new URLSearchParams(search ?? ""); + Object.assign(query, Object.fromEntries(traitSearchParams)); + } + } + for (const [memberName, memberNs] of ns.structIterator()) { + const memberTraits = memberNs.getMergedTraits() ?? {}; + const inputMemberValue = input[memberName]; + if (inputMemberValue == null && !memberNs.isIdempotencyToken()) { + if (memberTraits.httpLabel) { + if (request.path.includes(`{${memberName}+}`) || request.path.includes(`{${memberName}}`)) { + throw new Error(`No value provided for input HTTP label: ${memberName}.`); + } + } + continue; + } + if (memberTraits.httpPayload) { + const isStreaming = memberNs.isStreaming(); + if (isStreaming) { + const isEventStream = memberNs.isStructSchema(); + if (isEventStream) { + if (input[memberName]) { + payload = await this.serializeEventStream({ + eventStream: input[memberName], + requestSchema: ns, + }); + } + } + else { + payload = inputMemberValue; + } + } + else { + serializer.write(memberNs, inputMemberValue); + payload = serializer.flush(); + } + } + else if (memberTraits.httpLabel) { + serializer.write(memberNs, inputMemberValue); + const replacement = serializer.flush(); + if (request.path.includes(`{${memberName}+}`)) { + request.path = request.path.replace(`{${memberName}+}`, replacement.split("/").map(extendedEncodeURIComponent).join("/")); + } + else if (request.path.includes(`{${memberName}}`)) { + request.path = request.path.replace(`{${memberName}}`, extendedEncodeURIComponent(replacement)); + } + } + else if (memberTraits.httpHeader) { + serializer.write(memberNs, inputMemberValue); + headers[memberTraits.httpHeader.toLowerCase()] = String(serializer.flush()); + } + else if (typeof memberTraits.httpPrefixHeaders === "string") { + for (const [key, val] of Object.entries(inputMemberValue)) { + const amalgam = memberTraits.httpPrefixHeaders + key; + serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val); + headers[amalgam.toLowerCase()] = serializer.flush(); + } + } + else if (memberTraits.httpQuery || memberTraits.httpQueryParams) { + this.serializeQuery(memberNs, inputMemberValue, query); + } + else { + hasNonHttpBindingMember = true; + payloadMemberNames.push(memberName); + payloadMemberSchemas.push(memberNs); + } + } + if (hasNonHttpBindingMember && input) { + const [namespace, name] = (ns.getName(true) ?? "#Unknown").split("#"); + const requiredMembers = ns.getSchema()[6]; + const payloadSchema = [ + 3, + namespace, + name, + ns.getMergedTraits(), + payloadMemberNames, + payloadMemberSchemas, + undefined, + ]; + if (requiredMembers) { + payloadSchema[6] = requiredMembers; + } + else { + payloadSchema.pop(); + } + serializer.write(payloadSchema, input); + payload = serializer.flush(); + } + request.headers = headers; + request.query = query; + request.body = payload; + return request; + } + serializeQuery(ns, data, query) { + const serializer = this.serializer; + const traits = ns.getMergedTraits(); + if (traits.httpQueryParams) { + for (const [key, val] of Object.entries(data)) { + if (!(key in query)) { + const valueSchema = ns.getValueSchema(); + Object.assign(valueSchema.getMergedTraits(), { + ...traits, + httpQuery: key, + httpQueryParams: undefined, + }); + this.serializeQuery(valueSchema, val, query); + } + } + return; + } + if (ns.isListSchema()) { + const sparse = !!ns.getMergedTraits().sparse; + const buffer = []; + for (const item of data) { + serializer.write([ns.getValueSchema(), traits], item); + const serializable = serializer.flush(); + if (sparse || serializable !== undefined) { + buffer.push(serializable); + } + } + query[traits.httpQuery] = buffer; + } + else { + serializer.write([ns, traits], data); + query[traits.httpQuery] = serializer.flush(); + } + } + async deserializeResponse(operationSchema, context, response) { + const deserializer = this.deserializer; + const ns = NormalizedSchema.of(operationSchema.output); + const dataObject = {}; + if (response.statusCode >= 300) { + const bytes = await collectBody(response.body, context); + if (bytes.byteLength > 0) { + Object.assign(dataObject, await deserializer.read(15, bytes)); + } + await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response)); + throw new Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw."); + } + for (const header in response.headers) { + const value = response.headers[header]; + delete response.headers[header]; + response.headers[header.toLowerCase()] = value; + } + const nonHttpBindingMembers = await this.deserializeHttpMessage(ns, context, response, dataObject); + if (nonHttpBindingMembers.length) { + const bytes = await collectBody(response.body, context); + if (bytes.byteLength > 0) { + const dataFromBody = await deserializer.read(ns, bytes); + for (const member of nonHttpBindingMembers) { + if (dataFromBody[member] != null) { + dataObject[member] = dataFromBody[member]; + } + } + } + } + else if (nonHttpBindingMembers.discardResponseBody) { + await collectBody(response.body, context); + } + dataObject.$metadata = this.deserializeMetadata(response); + return dataObject; + } + async deserializeHttpMessage(schema, context, response, arg4, arg5) { + let dataObject; + if (arg4 instanceof Set) { + dataObject = arg5; + } + else { + dataObject = arg4; + } + let discardResponseBody = true; + const deserializer = this.deserializer; + const ns = NormalizedSchema.of(schema); + const nonHttpBindingMembers = []; + for (const [memberName, memberSchema] of ns.structIterator()) { + const memberTraits = memberSchema.getMemberTraits(); + if (memberTraits.httpPayload) { + discardResponseBody = false; + const isStreaming = memberSchema.isStreaming(); + if (isStreaming) { + const isEventStream = memberSchema.isStructSchema(); + if (isEventStream) { + dataObject[memberName] = await this.deserializeEventStream({ + response, + responseSchema: ns, + }); + } + else { + dataObject[memberName] = sdkStreamMixin(response.body); + } + } + else if (response.body) { + const bytes = await collectBody(response.body, context); + if (bytes.byteLength > 0) { + dataObject[memberName] = await deserializer.read(memberSchema, bytes); + } + } + } + else if (memberTraits.httpHeader) { + const key = String(memberTraits.httpHeader).toLowerCase(); + const value = response.headers[key]; + if (null != value) { + if (memberSchema.isListSchema()) { + const headerListValueSchema = memberSchema.getValueSchema(); + headerListValueSchema.getMergedTraits().httpHeader = key; + let sections; + if (headerListValueSchema.isTimestampSchema() && + headerListValueSchema.getSchema() === 4) { + sections = splitEvery(value, ",", 2); + } + else { + sections = splitHeader(value); + } + const list = []; + for (const section of sections) { + list.push(await deserializer.read(headerListValueSchema, section.trim())); + } + dataObject[memberName] = list; + } + else { + dataObject[memberName] = await deserializer.read(memberSchema, value); + } + } + } + else if (memberTraits.httpPrefixHeaders !== undefined) { + dataObject[memberName] = {}; + for (const [header, value] of Object.entries(response.headers)) { + if (header.startsWith(memberTraits.httpPrefixHeaders)) { + const valueSchema = memberSchema.getValueSchema(); + valueSchema.getMergedTraits().httpHeader = header; + dataObject[memberName][header.slice(memberTraits.httpPrefixHeaders.length)] = await deserializer.read(valueSchema, value); + } + } + } + else if (memberTraits.httpResponseCode) { + dataObject[memberName] = response.statusCode; + } + else { + nonHttpBindingMembers.push(memberName); + } + } + nonHttpBindingMembers.discardResponseBody = discardResponseBody; + return nonHttpBindingMembers; + } +} diff --git a/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js b/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js new file mode 100644 index 0000000..6d58617 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js @@ -0,0 +1,140 @@ +import { NormalizedSchema, translateTraits, TypeRegistry } from "@smithy/core/schema"; +import { HttpRequest, HttpResponse } from "@smithy/protocol-http"; +import { SerdeContext } from "./SerdeContext"; +export class HttpProtocol extends SerdeContext { + options; + compositeErrorRegistry; + constructor(options) { + super(); + this.options = options; + this.compositeErrorRegistry = TypeRegistry.for(options.defaultNamespace); + for (const etr of options.errorTypeRegistries ?? []) { + this.compositeErrorRegistry.copyFrom(etr); + } + } + getRequestType() { + return HttpRequest; + } + getResponseType() { + return HttpResponse; + } + setSerdeContext(serdeContext) { + this.serdeContext = serdeContext; + this.serializer.setSerdeContext(serdeContext); + this.deserializer.setSerdeContext(serdeContext); + if (this.getPayloadCodec()) { + this.getPayloadCodec().setSerdeContext(serdeContext); + } + } + updateServiceEndpoint(request, endpoint) { + if ("url" in endpoint) { + request.protocol = endpoint.url.protocol; + request.hostname = endpoint.url.hostname; + request.port = endpoint.url.port ? Number(endpoint.url.port) : undefined; + request.path = endpoint.url.pathname; + request.fragment = endpoint.url.hash || void 0; + request.username = endpoint.url.username || void 0; + request.password = endpoint.url.password || void 0; + if (!request.query) { + request.query = {}; + } + for (const [k, v] of endpoint.url.searchParams.entries()) { + request.query[k] = v; + } + if (endpoint.headers) { + for (const [name, values] of Object.entries(endpoint.headers)) { + request.headers[name] = values.join(", "); + } + } + return request; + } + else { + request.protocol = endpoint.protocol; + request.hostname = endpoint.hostname; + request.port = endpoint.port ? Number(endpoint.port) : undefined; + request.path = endpoint.path; + request.query = { + ...endpoint.query, + }; + if (endpoint.headers) { + for (const [name, value] of Object.entries(endpoint.headers)) { + request.headers[name] = value; + } + } + return request; + } + } + setHostPrefix(request, operationSchema, input) { + if (this.serdeContext?.disableHostPrefix) { + return; + } + const inputNs = NormalizedSchema.of(operationSchema.input); + const opTraits = translateTraits(operationSchema.traits ?? {}); + if (opTraits.endpoint) { + let hostPrefix = opTraits.endpoint?.[0]; + if (typeof hostPrefix === "string") { + const hostLabelInputs = [...inputNs.structIterator()].filter(([, member]) => member.getMergedTraits().hostLabel); + for (const [name] of hostLabelInputs) { + const replacement = input[name]; + if (typeof replacement !== "string") { + throw new Error(`@smithy/core/schema - ${name} in input must be a string as hostLabel.`); + } + hostPrefix = hostPrefix.replace(`{${name}}`, replacement); + } + request.hostname = hostPrefix + request.hostname; + } + } + } + deserializeMetadata(output) { + return { + httpStatusCode: output.statusCode, + requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], + extendedRequestId: output.headers["x-amz-id-2"], + cfId: output.headers["x-amz-cf-id"], + }; + } + async serializeEventStream({ eventStream, requestSchema, initialRequest, }) { + const eventStreamSerde = await this.loadEventStreamCapability(); + return eventStreamSerde.serializeEventStream({ + eventStream, + requestSchema, + initialRequest, + }); + } + async deserializeEventStream({ response, responseSchema, initialResponseContainer, }) { + const eventStreamSerde = await this.loadEventStreamCapability(); + return eventStreamSerde.deserializeEventStream({ + response, + responseSchema, + initialResponseContainer, + }); + } + async loadEventStreamCapability() { + const { EventStreamSerde } = await import("@smithy/core/event-streams"); + return new EventStreamSerde({ + marshaller: this.getEventStreamMarshaller(), + serializer: this.serializer, + deserializer: this.deserializer, + serdeContext: this.serdeContext, + defaultContentType: this.getDefaultContentType(), + }); + } + getDefaultContentType() { + throw new Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`); + } + async deserializeHttpMessage(schema, context, response, arg4, arg5) { + void schema; + void context; + void response; + void arg4; + void arg5; + return []; + } + getEventStreamMarshaller() { + const context = this.serdeContext; + if (!context.eventStreamMarshaller) { + throw new Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext."); + } + return context.eventStreamMarshaller; + } +} diff --git a/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js b/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js new file mode 100644 index 0000000..2b8ab2d --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js @@ -0,0 +1,92 @@ +import { NormalizedSchema } from "@smithy/core/schema"; +import { HttpRequest } from "@smithy/protocol-http"; +import { collectBody } from "./collect-stream-body"; +import { HttpProtocol } from "./HttpProtocol"; +export class RpcProtocol extends HttpProtocol { + async serializeRequest(operationSchema, _input, context) { + const serializer = this.serializer; + const query = {}; + const headers = {}; + const endpoint = await context.endpoint(); + const ns = NormalizedSchema.of(operationSchema?.input); + const schema = ns.getSchema(); + let payload; + const input = _input && typeof _input === "object" ? _input : {}; + const request = new HttpRequest({ + protocol: "", + hostname: "", + port: undefined, + path: "/", + fragment: undefined, + query: query, + headers: headers, + body: undefined, + }); + if (endpoint) { + this.updateServiceEndpoint(request, endpoint); + this.setHostPrefix(request, operationSchema, input); + } + if (input) { + const eventStreamMember = ns.getEventStreamMember(); + if (eventStreamMember) { + if (input[eventStreamMember]) { + const initialRequest = {}; + for (const [memberName, memberSchema] of ns.structIterator()) { + if (memberName !== eventStreamMember && input[memberName]) { + serializer.write(memberSchema, input[memberName]); + initialRequest[memberName] = serializer.flush(); + } + } + payload = await this.serializeEventStream({ + eventStream: input[eventStreamMember], + requestSchema: ns, + initialRequest, + }); + } + } + else { + serializer.write(schema, input); + payload = serializer.flush(); + } + } + request.headers = Object.assign(request.headers, headers); + request.query = query; + request.body = payload; + request.method = "POST"; + return request; + } + async deserializeResponse(operationSchema, context, response) { + const deserializer = this.deserializer; + const ns = NormalizedSchema.of(operationSchema.output); + const dataObject = {}; + if (response.statusCode >= 300) { + const bytes = await collectBody(response.body, context); + if (bytes.byteLength > 0) { + Object.assign(dataObject, await deserializer.read(15, bytes)); + } + await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response)); + throw new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw."); + } + for (const header in response.headers) { + const value = response.headers[header]; + delete response.headers[header]; + response.headers[header.toLowerCase()] = value; + } + const eventStreamMember = ns.getEventStreamMember(); + if (eventStreamMember) { + dataObject[eventStreamMember] = await this.deserializeEventStream({ + response, + responseSchema: ns, + initialResponseContainer: dataObject, + }); + } + else { + const bytes = await collectBody(response.body, context); + if (bytes.byteLength > 0) { + Object.assign(dataObject, await deserializer.read(ns, bytes)); + } + } + dataObject.$metadata = this.deserializeMetadata(response); + return dataObject; + } +} diff --git a/node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js b/node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js new file mode 100644 index 0000000..567ae56 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js @@ -0,0 +1,6 @@ +export class SerdeContext { + serdeContext; + setSerdeContext(serdeContext) { + this.serdeContext = serdeContext; + } +} diff --git a/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js b/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js new file mode 100644 index 0000000..b6a5c0b --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js @@ -0,0 +1,11 @@ +import { Uint8ArrayBlobAdapter } from "@smithy/util-stream"; +export const collectBody = async (streamBody = new Uint8Array(), context) => { + if (streamBody instanceof Uint8Array) { + return Uint8ArrayBlobAdapter.mutate(streamBody); + } + if (!streamBody) { + return Uint8ArrayBlobAdapter.mutate(new Uint8Array()); + } + const fromContext = context.streamCollector(streamBody); + return Uint8ArrayBlobAdapter.mutate(await fromContext); +}; diff --git a/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js b/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js new file mode 100644 index 0000000..5baeaf5 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js @@ -0,0 +1,5 @@ +export function extendedEncodeURIComponent(str) { + return encodeURIComponent(str).replace(/[!'()*]/g, function (c) { + return "%" + c.charCodeAt(0).toString(16).toUpperCase(); + }); +} diff --git a/node_modules/@smithy/core/dist-es/submodules/protocols/index.js b/node_modules/@smithy/core/dist-es/submodules/protocols/index.js new file mode 100644 index 0000000..5cc40c5 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/protocols/index.js @@ -0,0 +1,13 @@ +export * from "./collect-stream-body"; +export * from "./extended-encode-uri-component"; +export * from "./HttpBindingProtocol"; +export * from "./HttpProtocol"; +export * from "./RpcProtocol"; +export * from "./requestBuilder"; +export * from "./resolve-path"; +export * from "./serde/FromStringShapeDeserializer"; +export * from "./serde/HttpInterceptingShapeDeserializer"; +export * from "./serde/HttpInterceptingShapeSerializer"; +export * from "./serde/ToStringShapeSerializer"; +export * from "./serde/determineTimestampFormat"; +export * from "./SerdeContext"; diff --git a/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js b/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js new file mode 100644 index 0000000..7126b71 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js @@ -0,0 +1,69 @@ +import { HttpRequest } from "@smithy/protocol-http"; +import { resolvedPath } from "./resolve-path"; +export function requestBuilder(input, context) { + return new RequestBuilder(input, context); +} +export class RequestBuilder { + input; + context; + query = {}; + method = ""; + headers = {}; + path = ""; + body = null; + hostname = ""; + resolvePathStack = []; + constructor(input, context) { + this.input = input; + this.context = context; + } + async build() { + const { hostname, protocol = "https", port, path: basePath } = await this.context.endpoint(); + this.path = basePath; + for (const resolvePath of this.resolvePathStack) { + resolvePath(this.path); + } + return new HttpRequest({ + protocol, + hostname: this.hostname || hostname, + port, + method: this.method, + path: this.path, + query: this.query, + body: this.body, + headers: this.headers, + }); + } + hn(hostname) { + this.hostname = hostname; + return this; + } + bp(uriLabel) { + this.resolvePathStack.push((basePath) => { + this.path = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + uriLabel; + }); + return this; + } + p(memberName, labelValueProvider, uriLabel, isGreedyLabel) { + this.resolvePathStack.push((path) => { + this.path = resolvedPath(path, this.input, memberName, labelValueProvider, uriLabel, isGreedyLabel); + }); + return this; + } + h(headers) { + this.headers = headers; + return this; + } + q(query) { + this.query = query; + return this; + } + b(body) { + this.body = body; + return this; + } + m(method) { + this.method = method; + return this; + } +} diff --git a/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js b/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js new file mode 100644 index 0000000..53c2d6c --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js @@ -0,0 +1,19 @@ +import { extendedEncodeURIComponent } from "./extended-encode-uri-component"; +export const resolvedPath = (resolvedPath, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => { + if (input != null && input[memberName] !== undefined) { + const labelValue = labelValueProvider(); + if (labelValue == null || labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: " + memberName + "."); + } + resolvedPath = resolvedPath.replace(uriLabel, isGreedyLabel + ? labelValue + .split("/") + .map((segment) => extendedEncodeURIComponent(segment)) + .join("/") + : extendedEncodeURIComponent(labelValue)); + } + else { + throw new Error("No value provided for input HTTP label: " + memberName + "."); + } + return resolvedPath; +}; diff --git a/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js b/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js new file mode 100644 index 0000000..a28e280 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js @@ -0,0 +1,66 @@ +import { NormalizedSchema } from "@smithy/core/schema"; +import { _parseEpochTimestamp, _parseRfc3339DateTimeWithOffset, _parseRfc7231DateTime, LazyJsonString, NumericValue, splitHeader, } from "@smithy/core/serde"; +import { fromBase64 } from "@smithy/util-base64"; +import { toUtf8 } from "@smithy/util-utf8"; +import { SerdeContext } from "../SerdeContext"; +import { determineTimestampFormat } from "./determineTimestampFormat"; +export class FromStringShapeDeserializer extends SerdeContext { + settings; + constructor(settings) { + super(); + this.settings = settings; + } + read(_schema, data) { + const ns = NormalizedSchema.of(_schema); + if (ns.isListSchema()) { + return splitHeader(data).map((item) => this.read(ns.getValueSchema(), item)); + } + if (ns.isBlobSchema()) { + return (this.serdeContext?.base64Decoder ?? fromBase64)(data); + } + if (ns.isTimestampSchema()) { + const format = determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + return _parseRfc3339DateTimeWithOffset(data); + case 6: + return _parseRfc7231DateTime(data); + case 7: + return _parseEpochTimestamp(data); + default: + console.warn("Missing timestamp format, parsing value with Date constructor:", data); + return new Date(data); + } + } + if (ns.isStringSchema()) { + const mediaType = ns.getMergedTraits().mediaType; + let intermediateValue = data; + if (mediaType) { + if (ns.getMergedTraits().httpHeader) { + intermediateValue = this.base64ToUtf8(intermediateValue); + } + const isJson = mediaType === "application/json" || mediaType.endsWith("+json"); + if (isJson) { + intermediateValue = LazyJsonString.from(intermediateValue); + } + return intermediateValue; + } + } + if (ns.isNumericSchema()) { + return Number(data); + } + if (ns.isBigIntegerSchema()) { + return BigInt(data); + } + if (ns.isBigDecimalSchema()) { + return new NumericValue(data, "bigDecimal"); + } + if (ns.isBooleanSchema()) { + return String(data).toLowerCase() === "true"; + } + return data; + } + base64ToUtf8(base64String) { + return (this.serdeContext?.utf8Encoder ?? toUtf8)((this.serdeContext?.base64Decoder ?? fromBase64)(base64String)); + } +} diff --git a/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js b/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js new file mode 100644 index 0000000..1cecb6d --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js @@ -0,0 +1,42 @@ +import { NormalizedSchema } from "@smithy/core/schema"; +import { fromUtf8, toUtf8 } from "@smithy/util-utf8"; +import { SerdeContext } from "../SerdeContext"; +import { FromStringShapeDeserializer } from "./FromStringShapeDeserializer"; +export class HttpInterceptingShapeDeserializer extends SerdeContext { + codecDeserializer; + stringDeserializer; + constructor(codecDeserializer, codecSettings) { + super(); + this.codecDeserializer = codecDeserializer; + this.stringDeserializer = new FromStringShapeDeserializer(codecSettings); + } + setSerdeContext(serdeContext) { + this.stringDeserializer.setSerdeContext(serdeContext); + this.codecDeserializer.setSerdeContext(serdeContext); + this.serdeContext = serdeContext; + } + read(schema, data) { + const ns = NormalizedSchema.of(schema); + const traits = ns.getMergedTraits(); + const toString = this.serdeContext?.utf8Encoder ?? toUtf8; + if (traits.httpHeader || traits.httpResponseCode) { + return this.stringDeserializer.read(ns, toString(data)); + } + if (traits.httpPayload) { + if (ns.isBlobSchema()) { + const toBytes = this.serdeContext?.utf8Decoder ?? fromUtf8; + if (typeof data === "string") { + return toBytes(data); + } + return data; + } + else if (ns.isStringSchema()) { + if ("byteLength" in data) { + return toString(data); + } + return data; + } + } + return this.codecDeserializer.read(ns, data); + } +} diff --git a/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js b/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js new file mode 100644 index 0000000..6abe702 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js @@ -0,0 +1,33 @@ +import { NormalizedSchema } from "@smithy/core/schema"; +import { ToStringShapeSerializer } from "./ToStringShapeSerializer"; +export class HttpInterceptingShapeSerializer { + codecSerializer; + stringSerializer; + buffer; + constructor(codecSerializer, codecSettings, stringSerializer = new ToStringShapeSerializer(codecSettings)) { + this.codecSerializer = codecSerializer; + this.stringSerializer = stringSerializer; + } + setSerdeContext(serdeContext) { + this.codecSerializer.setSerdeContext(serdeContext); + this.stringSerializer.setSerdeContext(serdeContext); + } + write(schema, value) { + const ns = NormalizedSchema.of(schema); + const traits = ns.getMergedTraits(); + if (traits.httpHeader || traits.httpLabel || traits.httpQuery) { + this.stringSerializer.write(ns, value); + this.buffer = this.stringSerializer.flush(); + return; + } + return this.codecSerializer.write(ns, value); + } + flush() { + if (this.buffer !== undefined) { + const buffer = this.buffer; + this.buffer = undefined; + return buffer; + } + return this.codecSerializer.flush(); + } +} diff --git a/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js b/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js new file mode 100644 index 0000000..de25e8e --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js @@ -0,0 +1,91 @@ +import { NormalizedSchema } from "@smithy/core/schema"; +import { dateToUtcString, generateIdempotencyToken, LazyJsonString, quoteHeader } from "@smithy/core/serde"; +import { toBase64 } from "@smithy/util-base64"; +import { SerdeContext } from "../SerdeContext"; +import { determineTimestampFormat } from "./determineTimestampFormat"; +export class ToStringShapeSerializer extends SerdeContext { + settings; + stringBuffer = ""; + constructor(settings) { + super(); + this.settings = settings; + } + write(schema, value) { + const ns = NormalizedSchema.of(schema); + switch (typeof value) { + case "object": + if (value === null) { + this.stringBuffer = "null"; + return; + } + if (ns.isTimestampSchema()) { + if (!(value instanceof Date)) { + throw new Error(`@smithy/core/protocols - received non-Date value ${value} when schema expected Date in ${ns.getName(true)}`); + } + const format = determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + this.stringBuffer = value.toISOString().replace(".000Z", "Z"); + break; + case 6: + this.stringBuffer = dateToUtcString(value); + break; + case 7: + this.stringBuffer = String(value.getTime() / 1000); + break; + default: + console.warn("Missing timestamp format, using epoch seconds", value); + this.stringBuffer = String(value.getTime() / 1000); + } + return; + } + if (ns.isBlobSchema() && "byteLength" in value) { + this.stringBuffer = (this.serdeContext?.base64Encoder ?? toBase64)(value); + return; + } + if (ns.isListSchema() && Array.isArray(value)) { + let buffer = ""; + for (const item of value) { + this.write([ns.getValueSchema(), ns.getMergedTraits()], item); + const headerItem = this.flush(); + const serialized = ns.getValueSchema().isTimestampSchema() ? headerItem : quoteHeader(headerItem); + if (buffer !== "") { + buffer += ", "; + } + buffer += serialized; + } + this.stringBuffer = buffer; + return; + } + this.stringBuffer = JSON.stringify(value, null, 2); + break; + case "string": + const mediaType = ns.getMergedTraits().mediaType; + let intermediateValue = value; + if (mediaType) { + const isJson = mediaType === "application/json" || mediaType.endsWith("+json"); + if (isJson) { + intermediateValue = LazyJsonString.from(intermediateValue); + } + if (ns.getMergedTraits().httpHeader) { + this.stringBuffer = (this.serdeContext?.base64Encoder ?? toBase64)(intermediateValue.toString()); + return; + } + } + this.stringBuffer = value; + break; + default: + if (ns.isIdempotencyToken()) { + this.stringBuffer = generateIdempotencyToken(); + } + else { + this.stringBuffer = String(value); + } + } + } + flush() { + const buffer = this.stringBuffer; + this.stringBuffer = ""; + return buffer; + } +} diff --git a/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js b/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js new file mode 100644 index 0000000..eaa6005 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js @@ -0,0 +1,19 @@ +export function determineTimestampFormat(ns, settings) { + if (settings.timestampFormat.useTrait) { + if (ns.isTimestampSchema() && + (ns.getSchema() === 5 || + ns.getSchema() === 6 || + ns.getSchema() === 7)) { + return ns.getSchema(); + } + } + const { httpLabel, httpPrefixHeaders, httpHeader, httpQuery } = ns.getMergedTraits(); + const bindingFormat = settings.httpBindings + ? typeof httpPrefixHeaders === "string" || Boolean(httpHeader) + ? 6 + : Boolean(httpQuery) || Boolean(httpLabel) + ? 5 + : undefined + : undefined; + return bindingFormat ?? settings.timestampFormat.default; +} diff --git a/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js b/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js new file mode 100644 index 0000000..99a6574 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js @@ -0,0 +1,84 @@ +export class TypeRegistry { + namespace; + schemas; + exceptions; + static registries = new Map(); + constructor(namespace, schemas = new Map(), exceptions = new Map()) { + this.namespace = namespace; + this.schemas = schemas; + this.exceptions = exceptions; + } + static for(namespace) { + if (!TypeRegistry.registries.has(namespace)) { + TypeRegistry.registries.set(namespace, new TypeRegistry(namespace)); + } + return TypeRegistry.registries.get(namespace); + } + copyFrom(other) { + const { schemas, exceptions } = this; + for (const [k, v] of other.schemas) { + if (!schemas.has(k)) { + schemas.set(k, v); + } + } + for (const [k, v] of other.exceptions) { + if (!exceptions.has(k)) { + exceptions.set(k, v); + } + } + } + register(shapeId, schema) { + const qualifiedName = this.normalizeShapeId(shapeId); + for (const r of [this, TypeRegistry.for(qualifiedName.split("#")[0])]) { + r.schemas.set(qualifiedName, schema); + } + } + getSchema(shapeId) { + const id = this.normalizeShapeId(shapeId); + if (!this.schemas.has(id)) { + throw new Error(`@smithy/core/schema - schema not found for ${id}`); + } + return this.schemas.get(id); + } + registerError(es, ctor) { + const $error = es; + const ns = $error[1]; + for (const r of [this, TypeRegistry.for(ns)]) { + r.schemas.set(ns + "#" + $error[2], $error); + r.exceptions.set($error, ctor); + } + } + getErrorCtor(es) { + const $error = es; + if (this.exceptions.has($error)) { + return this.exceptions.get($error); + } + const registry = TypeRegistry.for($error[1]); + return registry.exceptions.get($error); + } + getBaseException() { + for (const exceptionKey of this.exceptions.keys()) { + if (Array.isArray(exceptionKey)) { + const [, ns, name] = exceptionKey; + const id = ns + "#" + name; + if (id.startsWith("smithy.ts.sdk.synthetic.") && id.endsWith("ServiceException")) { + return exceptionKey; + } + } + } + return undefined; + } + find(predicate) { + return [...this.schemas.values()].find(predicate); + } + clear() { + this.schemas.clear(); + this.exceptions.clear(); + } + normalizeShapeId(shapeId) { + if (shapeId.includes("#")) { + return shapeId; + } + return this.namespace + "#" + shapeId; + } +} diff --git a/node_modules/@smithy/core/dist-es/submodules/schema/deref.js b/node_modules/@smithy/core/dist-es/submodules/schema/deref.js new file mode 100644 index 0000000..6004ae3 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/schema/deref.js @@ -0,0 +1,6 @@ +export const deref = (schemaRef) => { + if (typeof schemaRef === "function") { + return schemaRef(); + } + return schemaRef; +}; diff --git a/node_modules/@smithy/core/dist-es/submodules/schema/index.js b/node_modules/@smithy/core/dist-es/submodules/schema/index.js new file mode 100644 index 0000000..fe9508c --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/schema/index.js @@ -0,0 +1,14 @@ +export * from "./deref"; +export * from "./middleware/getSchemaSerdePlugin"; +export * from "./schemas/ListSchema"; +export * from "./schemas/MapSchema"; +export * from "./schemas/OperationSchema"; +export * from "./schemas/operation"; +export * from "./schemas/ErrorSchema"; +export * from "./schemas/NormalizedSchema"; +export * from "./schemas/Schema"; +export * from "./schemas/SimpleSchema"; +export * from "./schemas/StructureSchema"; +export * from "./schemas/sentinels"; +export * from "./schemas/translateTraits"; +export * from "./TypeRegistry"; diff --git a/node_modules/@smithy/core/dist-es/submodules/schema/middleware/getSchemaSerdePlugin.js b/node_modules/@smithy/core/dist-es/submodules/schema/middleware/getSchemaSerdePlugin.js new file mode 100644 index 0000000..d8515bc --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/schema/middleware/getSchemaSerdePlugin.js @@ -0,0 +1,23 @@ +import { schemaDeserializationMiddleware } from "./schemaDeserializationMiddleware"; +import { schemaSerializationMiddleware } from "./schemaSerializationMiddleware"; +export const deserializerMiddlewareOption = { + name: "deserializerMiddleware", + step: "deserialize", + tags: ["DESERIALIZER"], + override: true, +}; +export const serializerMiddlewareOption = { + name: "serializerMiddleware", + step: "serialize", + tags: ["SERIALIZER"], + override: true, +}; +export function getSchemaSerdePlugin(config) { + return { + applyToStack: (commandStack) => { + commandStack.add(schemaSerializationMiddleware(config), serializerMiddlewareOption); + commandStack.add(schemaDeserializationMiddleware(config), deserializerMiddlewareOption); + config.protocol.setSerdeContext(config); + }, + }; +} diff --git a/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schema-middleware-types.js b/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schema-middleware-types.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schema-middleware-types.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js b/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js new file mode 100644 index 0000000..4ec7eff --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js @@ -0,0 +1,65 @@ +import { HttpResponse } from "@smithy/protocol-http"; +import { getSmithyContext } from "@smithy/util-middleware"; +import { operation } from "../schemas/operation"; +export const schemaDeserializationMiddleware = (config) => (next, context) => async (args) => { + const { response } = await next(args); + const { operationSchema } = getSmithyContext(context); + const [, ns, n, t, i, o] = operationSchema ?? []; + try { + const parsed = await config.protocol.deserializeResponse(operation(ns, n, t, i, o), { + ...config, + ...context, + }, response); + return { + response, + output: parsed, + }; + } + catch (error) { + Object.defineProperty(error, "$response", { + value: response, + enumerable: false, + writable: false, + configurable: false, + }); + if (!("$metadata" in error)) { + const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`; + try { + error.message += "\n " + hint; + } + catch (e) { + if (!context.logger || context.logger?.constructor?.name === "NoOpLogger") { + console.warn(hint); + } + else { + context.logger?.warn?.(hint); + } + } + if (typeof error.$responseBodyText !== "undefined") { + if (error.$response) { + error.$response.body = error.$responseBodyText; + } + } + try { + if (HttpResponse.isInstance(response)) { + const { headers = {} } = response; + const headerEntries = Object.entries(headers); + error.$metadata = { + httpStatusCode: response.statusCode, + requestId: findHeader(/^x-[\w-]+-request-?id$/, headerEntries), + extendedRequestId: findHeader(/^x-[\w-]+-id-2$/, headerEntries), + cfId: findHeader(/^x-[\w-]+-cf-id$/, headerEntries), + }; + } + } + catch (e) { + } + } + throw error; + } +}; +const findHeader = (pattern, headers) => { + return (headers.find(([k]) => { + return k.match(pattern); + }) || [void 0, void 1])[1]; +}; diff --git a/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js b/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js new file mode 100644 index 0000000..6e7ec91 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js @@ -0,0 +1,19 @@ +import { toEndpointV1 } from "@smithy/core/endpoints"; +import { getSmithyContext } from "@smithy/util-middleware"; +import { operation } from "../schemas/operation"; +export const schemaSerializationMiddleware = (config) => (next, context) => async (args) => { + const { operationSchema } = getSmithyContext(context); + const [, ns, n, t, i, o] = operationSchema ?? []; + const endpoint = context.endpointV2 + ? async () => toEndpointV1(context.endpointV2) + : config.endpoint; + const request = await config.protocol.serializeRequest(operation(ns, n, t, i, o), args.input, { + ...config, + ...context, + endpoint, + }); + return next({ + ...args, + request, + }); +}; diff --git a/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js new file mode 100644 index 0000000..7a2599f --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js @@ -0,0 +1,15 @@ +import { Schema } from "./Schema"; +import { StructureSchema } from "./StructureSchema"; +export class ErrorSchema extends StructureSchema { + static symbol = Symbol.for("@smithy/err"); + ctor; + symbol = ErrorSchema.symbol; +} +export const error = (namespace, name, traits, memberNames, memberList, ctor) => Schema.assign(new ErrorSchema(), { + name, + namespace, + traits, + memberNames, + memberList, + ctor: null, +}); diff --git a/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js new file mode 100644 index 0000000..10b3182 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js @@ -0,0 +1,14 @@ +import { Schema } from "./Schema"; +export class ListSchema extends Schema { + static symbol = Symbol.for("@smithy/lis"); + name; + traits; + valueSchema; + symbol = ListSchema.symbol; +} +export const list = (namespace, name, traits, valueSchema) => Schema.assign(new ListSchema(), { + name, + namespace, + traits, + valueSchema, +}); diff --git a/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js new file mode 100644 index 0000000..a395667 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js @@ -0,0 +1,16 @@ +import { Schema } from "./Schema"; +export class MapSchema extends Schema { + static symbol = Symbol.for("@smithy/map"); + name; + traits; + keySchema; + valueSchema; + symbol = MapSchema.symbol; +} +export const map = (namespace, name, traits, keySchema, valueSchema) => Schema.assign(new MapSchema(), { + name, + namespace, + traits, + keySchema, + valueSchema, +}); diff --git a/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js new file mode 100644 index 0000000..7b97830 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js @@ -0,0 +1,303 @@ +import { deref } from "../deref"; +import { translateTraits } from "./translateTraits"; +const anno = { + it: Symbol.for("@smithy/nor-struct-it"), + ns: Symbol.for("@smithy/ns"), +}; +export const simpleSchemaCacheN = []; +export const simpleSchemaCacheS = {}; +export class NormalizedSchema { + ref; + memberName; + static symbol = Symbol.for("@smithy/nor"); + symbol = NormalizedSchema.symbol; + name; + schema; + _isMemberSchema; + traits; + memberTraits; + normalizedTraits; + constructor(ref, memberName) { + this.ref = ref; + this.memberName = memberName; + const traitStack = []; + let _ref = ref; + let schema = ref; + this._isMemberSchema = false; + while (isMemberSchema(_ref)) { + traitStack.push(_ref[1]); + _ref = _ref[0]; + schema = deref(_ref); + this._isMemberSchema = true; + } + if (traitStack.length > 0) { + this.memberTraits = {}; + for (let i = traitStack.length - 1; i >= 0; --i) { + const traitSet = traitStack[i]; + Object.assign(this.memberTraits, translateTraits(traitSet)); + } + } + else { + this.memberTraits = 0; + } + if (schema instanceof NormalizedSchema) { + const computedMemberTraits = this.memberTraits; + Object.assign(this, schema); + this.memberTraits = Object.assign({}, computedMemberTraits, schema.getMemberTraits(), this.getMemberTraits()); + this.normalizedTraits = void 0; + this.memberName = memberName ?? schema.memberName; + return; + } + this.schema = deref(schema); + if (isStaticSchema(this.schema)) { + this.name = `${this.schema[1]}#${this.schema[2]}`; + this.traits = this.schema[3]; + } + else { + this.name = this.memberName ?? String(schema); + this.traits = 0; + } + if (this._isMemberSchema && !memberName) { + throw new Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(true)} missing member name.`); + } + } + static [Symbol.hasInstance](lhs) { + const isPrototype = this.prototype.isPrototypeOf(lhs); + if (!isPrototype && typeof lhs === "object" && lhs !== null) { + const ns = lhs; + return ns.symbol === this.symbol; + } + return isPrototype; + } + static of(ref) { + const keyAble = typeof ref === "function" || (typeof ref === "object" && ref !== null); + if (typeof ref === "number") { + if (simpleSchemaCacheN[ref]) { + return simpleSchemaCacheN[ref]; + } + } + else if (typeof ref === "string") { + if (simpleSchemaCacheS[ref]) { + return simpleSchemaCacheS[ref]; + } + } + else if (keyAble) { + if (ref[anno.ns]) { + return ref[anno.ns]; + } + } + const sc = deref(ref); + if (sc instanceof NormalizedSchema) { + return sc; + } + if (isMemberSchema(sc)) { + const [ns, traits] = sc; + if (ns instanceof NormalizedSchema) { + Object.assign(ns.getMergedTraits(), translateTraits(traits)); + return ns; + } + throw new Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(ref, null, 2)}.`); + } + const ns = new NormalizedSchema(sc); + if (keyAble) { + return (ref[anno.ns] = ns); + } + if (typeof sc === "string") { + return (simpleSchemaCacheS[sc] = ns); + } + if (typeof sc === "number") { + return (simpleSchemaCacheN[sc] = ns); + } + return ns; + } + getSchema() { + const sc = this.schema; + if (Array.isArray(sc) && sc[0] === 0) { + return sc[4]; + } + return sc; + } + getName(withNamespace = false) { + const { name } = this; + const short = !withNamespace && name && name.includes("#"); + return short ? name.split("#")[1] : name || undefined; + } + getMemberName() { + return this.memberName; + } + isMemberSchema() { + return this._isMemberSchema; + } + isListSchema() { + const sc = this.getSchema(); + return typeof sc === "number" + ? sc >= 64 && sc < 128 + : sc[0] === 1; + } + isMapSchema() { + const sc = this.getSchema(); + return typeof sc === "number" + ? sc >= 128 && sc <= 0b1111_1111 + : sc[0] === 2; + } + isStructSchema() { + const sc = this.getSchema(); + if (typeof sc !== "object") { + return false; + } + const id = sc[0]; + return (id === 3 || + id === -3 || + id === 4); + } + isUnionSchema() { + const sc = this.getSchema(); + if (typeof sc !== "object") { + return false; + } + return sc[0] === 4; + } + isBlobSchema() { + const sc = this.getSchema(); + return sc === 21 || sc === 42; + } + isTimestampSchema() { + const sc = this.getSchema(); + return (typeof sc === "number" && + sc >= 4 && + sc <= 7); + } + isUnitSchema() { + return this.getSchema() === "unit"; + } + isDocumentSchema() { + return this.getSchema() === 15; + } + isStringSchema() { + return this.getSchema() === 0; + } + isBooleanSchema() { + return this.getSchema() === 2; + } + isNumericSchema() { + return this.getSchema() === 1; + } + isBigIntegerSchema() { + return this.getSchema() === 17; + } + isBigDecimalSchema() { + return this.getSchema() === 19; + } + isStreaming() { + const { streaming } = this.getMergedTraits(); + return !!streaming || this.getSchema() === 42; + } + isIdempotencyToken() { + return !!this.getMergedTraits().idempotencyToken; + } + getMergedTraits() { + return (this.normalizedTraits ?? + (this.normalizedTraits = { + ...this.getOwnTraits(), + ...this.getMemberTraits(), + })); + } + getMemberTraits() { + return translateTraits(this.memberTraits); + } + getOwnTraits() { + return translateTraits(this.traits); + } + getKeySchema() { + const [isDoc, isMap] = [this.isDocumentSchema(), this.isMapSchema()]; + if (!isDoc && !isMap) { + throw new Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(true)}`); + } + const schema = this.getSchema(); + const memberSchema = isDoc + ? 15 + : schema[4] ?? 0; + return member([memberSchema, 0], "key"); + } + getValueSchema() { + const sc = this.getSchema(); + const [isDoc, isMap, isList] = [this.isDocumentSchema(), this.isMapSchema(), this.isListSchema()]; + const memberSchema = typeof sc === "number" + ? 0b0011_1111 & sc + : sc && typeof sc === "object" && (isMap || isList) + ? sc[3 + sc[0]] + : isDoc + ? 15 + : void 0; + if (memberSchema != null) { + return member([memberSchema, 0], isMap ? "value" : "member"); + } + throw new Error(`@smithy/core/schema - ${this.getName(true)} has no value member.`); + } + getMemberSchema(memberName) { + const struct = this.getSchema(); + if (this.isStructSchema() && struct[4].includes(memberName)) { + const i = struct[4].indexOf(memberName); + const memberSchema = struct[5][i]; + return member(isMemberSchema(memberSchema) ? memberSchema : [memberSchema, 0], memberName); + } + if (this.isDocumentSchema()) { + return member([15, 0], memberName); + } + throw new Error(`@smithy/core/schema - ${this.getName(true)} has no member=${memberName}.`); + } + getMemberSchemas() { + const buffer = {}; + try { + for (const [k, v] of this.structIterator()) { + buffer[k] = v; + } + } + catch (ignored) { } + return buffer; + } + getEventStreamMember() { + if (this.isStructSchema()) { + for (const [memberName, memberSchema] of this.structIterator()) { + if (memberSchema.isStreaming() && memberSchema.isStructSchema()) { + return memberName; + } + } + } + return ""; + } + *structIterator() { + if (this.isUnitSchema()) { + return; + } + if (!this.isStructSchema()) { + throw new Error("@smithy/core/schema - cannot iterate non-struct schema."); + } + const struct = this.getSchema(); + const z = struct[4].length; + let it = struct[anno.it]; + if (it && z === it.length) { + yield* it; + return; + } + it = Array(z); + for (let i = 0; i < z; ++i) { + const k = struct[4][i]; + const v = member([struct[5][i], 0], k); + yield (it[i] = [k, v]); + } + struct[anno.it] = it; + } +} +function member(memberSchema, memberName) { + if (memberSchema instanceof NormalizedSchema) { + return Object.assign(memberSchema, { + memberName, + _isMemberSchema: true, + }); + } + const internalCtorAccess = NormalizedSchema; + return new internalCtorAccess(memberSchema, memberName); +} +const isMemberSchema = (sc) => Array.isArray(sc) && sc.length === 2; +export const isStaticSchema = (sc) => Array.isArray(sc) && sc.length >= 5; diff --git a/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js new file mode 100644 index 0000000..faf454a --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js @@ -0,0 +1,16 @@ +import { Schema } from "./Schema"; +export class OperationSchema extends Schema { + static symbol = Symbol.for("@smithy/ope"); + name; + traits; + input; + output; + symbol = OperationSchema.symbol; +} +export const op = (namespace, name, traits, input, output) => Schema.assign(new OperationSchema(), { + name, + namespace, + traits, + input, + output, +}); diff --git a/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js new file mode 100644 index 0000000..f382fd7 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js @@ -0,0 +1,20 @@ +export class Schema { + name; + namespace; + traits; + static assign(instance, values) { + const schema = Object.assign(instance, values); + return schema; + } + static [Symbol.hasInstance](lhs) { + const isPrototype = this.prototype.isPrototypeOf(lhs); + if (!isPrototype && typeof lhs === "object" && lhs !== null) { + const list = lhs; + return list.symbol === this.symbol; + } + return isPrototype; + } + getName() { + return this.namespace + "#" + this.name; + } +} diff --git a/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js new file mode 100644 index 0000000..395dd09 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js @@ -0,0 +1,20 @@ +import { Schema } from "./Schema"; +export class SimpleSchema extends Schema { + static symbol = Symbol.for("@smithy/sim"); + name; + schemaRef; + traits; + symbol = SimpleSchema.symbol; +} +export const sim = (namespace, name, schemaRef, traits) => Schema.assign(new SimpleSchema(), { + name, + namespace, + traits, + schemaRef, +}); +export const simAdapter = (namespace, name, traits, schemaRef) => Schema.assign(new SimpleSchema(), { + name, + namespace, + traits, + schemaRef, +}); diff --git a/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js new file mode 100644 index 0000000..b08a9bc --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js @@ -0,0 +1,16 @@ +import { Schema } from "./Schema"; +export class StructureSchema extends Schema { + static symbol = Symbol.for("@smithy/str"); + name; + traits; + memberNames; + memberList; + symbol = StructureSchema.symbol; +} +export const struct = (namespace, name, traits, memberNames, memberList) => Schema.assign(new StructureSchema(), { + name, + namespace, + traits, + memberNames, + memberList, +}); diff --git a/node_modules/@smithy/core/dist-es/submodules/schema/schemas/operation.js b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/operation.js new file mode 100644 index 0000000..0938961 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/operation.js @@ -0,0 +1,7 @@ +export const operation = (namespace, name, traits, input, output) => ({ + name, + namespace, + traits, + input, + output, +}); diff --git a/node_modules/@smithy/core/dist-es/submodules/schema/schemas/sentinels.js b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/sentinels.js new file mode 100644 index 0000000..3ca0934 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/sentinels.js @@ -0,0 +1,16 @@ +export const SCHEMA = { + BLOB: 0b0001_0101, + STREAMING_BLOB: 0b0010_1010, + BOOLEAN: 0b0000_0010, + STRING: 0b0000_0000, + NUMERIC: 0b0000_0001, + BIG_INTEGER: 0b0001_0001, + BIG_DECIMAL: 0b0001_0011, + DOCUMENT: 0b0000_1111, + TIMESTAMP_DEFAULT: 0b0000_0100, + TIMESTAMP_DATE_TIME: 0b0000_0101, + TIMESTAMP_HTTP_DATE: 0b0000_0110, + TIMESTAMP_EPOCH_SECONDS: 0b0000_0111, + LIST_MODIFIER: 0b0100_0000, + MAP_MODIFIER: 0b1000_0000, +}; diff --git a/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js new file mode 100644 index 0000000..ebb4507 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js @@ -0,0 +1,26 @@ +export const traitsCache = []; +export function translateTraits(indicator) { + if (typeof indicator === "object") { + return indicator; + } + indicator = indicator | 0; + if (traitsCache[indicator]) { + return traitsCache[indicator]; + } + const traits = {}; + let i = 0; + for (const trait of [ + "httpLabel", + "idempotent", + "idempotencyToken", + "sensitive", + "httpPayload", + "httpResponseCode", + "httpQueryParams", + ]) { + if (((indicator >> i++) & 1) === 1) { + traits[trait] = 1; + } + } + return (traitsCache[indicator] = traits); +} diff --git a/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js b/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js new file mode 100644 index 0000000..633f05a --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js @@ -0,0 +1 @@ +export const copyDocumentWithTransform = (source, schemaRef, transform = (_) => _) => source; diff --git a/node_modules/@smithy/core/dist-es/submodules/serde/date-utils.js b/node_modules/@smithy/core/dist-es/submodules/serde/date-utils.js new file mode 100644 index 0000000..0d0abf2 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/serde/date-utils.js @@ -0,0 +1,190 @@ +import { strictParseByte, strictParseDouble, strictParseFloat32, strictParseShort } from "./parse-utils"; +const DAYS = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]; +const MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; +export function dateToUtcString(date) { + const year = date.getUTCFullYear(); + const month = date.getUTCMonth(); + const dayOfWeek = date.getUTCDay(); + const dayOfMonthInt = date.getUTCDate(); + const hoursInt = date.getUTCHours(); + const minutesInt = date.getUTCMinutes(); + const secondsInt = date.getUTCSeconds(); + const dayOfMonthString = dayOfMonthInt < 10 ? `0${dayOfMonthInt}` : `${dayOfMonthInt}`; + const hoursString = hoursInt < 10 ? `0${hoursInt}` : `${hoursInt}`; + const minutesString = minutesInt < 10 ? `0${minutesInt}` : `${minutesInt}`; + const secondsString = secondsInt < 10 ? `0${secondsInt}` : `${secondsInt}`; + return `${DAYS[dayOfWeek]}, ${dayOfMonthString} ${MONTHS[month]} ${year} ${hoursString}:${minutesString}:${secondsString} GMT`; +} +const RFC3339 = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/); +export const parseRfc3339DateTime = (value) => { + if (value === null || value === undefined) { + return undefined; + } + if (typeof value !== "string") { + throw new TypeError("RFC-3339 date-times must be expressed as strings"); + } + const match = RFC3339.exec(value); + if (!match) { + throw new TypeError("Invalid RFC-3339 date-time value"); + } + const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds] = match; + const year = strictParseShort(stripLeadingZeroes(yearStr)); + const month = parseDateValue(monthStr, "month", 1, 12); + const day = parseDateValue(dayStr, "day", 1, 31); + return buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds }); +}; +const RFC3339_WITH_OFFSET = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/); +export const parseRfc3339DateTimeWithOffset = (value) => { + if (value === null || value === undefined) { + return undefined; + } + if (typeof value !== "string") { + throw new TypeError("RFC-3339 date-times must be expressed as strings"); + } + const match = RFC3339_WITH_OFFSET.exec(value); + if (!match) { + throw new TypeError("Invalid RFC-3339 date-time value"); + } + const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, offsetStr] = match; + const year = strictParseShort(stripLeadingZeroes(yearStr)); + const month = parseDateValue(monthStr, "month", 1, 12); + const day = parseDateValue(dayStr, "day", 1, 31); + const date = buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds }); + if (offsetStr.toUpperCase() != "Z") { + date.setTime(date.getTime() - parseOffsetToMilliseconds(offsetStr)); + } + return date; +}; +const IMF_FIXDATE = new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/); +const RFC_850_DATE = new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/); +const ASC_TIME = new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/); +export const parseRfc7231DateTime = (value) => { + if (value === null || value === undefined) { + return undefined; + } + if (typeof value !== "string") { + throw new TypeError("RFC-7231 date-times must be expressed as strings"); + } + let match = IMF_FIXDATE.exec(value); + if (match) { + const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match; + return buildDate(strictParseShort(stripLeadingZeroes(yearStr)), parseMonthByShortName(monthStr), parseDateValue(dayStr, "day", 1, 31), { hours, minutes, seconds, fractionalMilliseconds }); + } + match = RFC_850_DATE.exec(value); + if (match) { + const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match; + return adjustRfc850Year(buildDate(parseTwoDigitYear(yearStr), parseMonthByShortName(monthStr), parseDateValue(dayStr, "day", 1, 31), { + hours, + minutes, + seconds, + fractionalMilliseconds, + })); + } + match = ASC_TIME.exec(value); + if (match) { + const [_, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, yearStr] = match; + return buildDate(strictParseShort(stripLeadingZeroes(yearStr)), parseMonthByShortName(monthStr), parseDateValue(dayStr.trimLeft(), "day", 1, 31), { hours, minutes, seconds, fractionalMilliseconds }); + } + throw new TypeError("Invalid RFC-7231 date-time value"); +}; +export const parseEpochTimestamp = (value) => { + if (value === null || value === undefined) { + return undefined; + } + let valueAsDouble; + if (typeof value === "number") { + valueAsDouble = value; + } + else if (typeof value === "string") { + valueAsDouble = strictParseDouble(value); + } + else if (typeof value === "object" && value.tag === 1) { + valueAsDouble = value.value; + } + else { + throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation"); + } + if (Number.isNaN(valueAsDouble) || valueAsDouble === Infinity || valueAsDouble === -Infinity) { + throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics"); + } + return new Date(Math.round(valueAsDouble * 1000)); +}; +const buildDate = (year, month, day, time) => { + const adjustedMonth = month - 1; + validateDayOfMonth(year, adjustedMonth, day); + return new Date(Date.UTC(year, adjustedMonth, day, parseDateValue(time.hours, "hour", 0, 23), parseDateValue(time.minutes, "minute", 0, 59), parseDateValue(time.seconds, "seconds", 0, 60), parseMilliseconds(time.fractionalMilliseconds))); +}; +const parseTwoDigitYear = (value) => { + const thisYear = new Date().getUTCFullYear(); + const valueInThisCentury = Math.floor(thisYear / 100) * 100 + strictParseShort(stripLeadingZeroes(value)); + if (valueInThisCentury < thisYear) { + return valueInThisCentury + 100; + } + return valueInThisCentury; +}; +const FIFTY_YEARS_IN_MILLIS = 50 * 365 * 24 * 60 * 60 * 1000; +const adjustRfc850Year = (input) => { + if (input.getTime() - new Date().getTime() > FIFTY_YEARS_IN_MILLIS) { + return new Date(Date.UTC(input.getUTCFullYear() - 100, input.getUTCMonth(), input.getUTCDate(), input.getUTCHours(), input.getUTCMinutes(), input.getUTCSeconds(), input.getUTCMilliseconds())); + } + return input; +}; +const parseMonthByShortName = (value) => { + const monthIdx = MONTHS.indexOf(value); + if (monthIdx < 0) { + throw new TypeError(`Invalid month: ${value}`); + } + return monthIdx + 1; +}; +const DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; +const validateDayOfMonth = (year, month, day) => { + let maxDays = DAYS_IN_MONTH[month]; + if (month === 1 && isLeapYear(year)) { + maxDays = 29; + } + if (day > maxDays) { + throw new TypeError(`Invalid day for ${MONTHS[month]} in ${year}: ${day}`); + } +}; +const isLeapYear = (year) => { + return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0); +}; +const parseDateValue = (value, type, lower, upper) => { + const dateVal = strictParseByte(stripLeadingZeroes(value)); + if (dateVal < lower || dateVal > upper) { + throw new TypeError(`${type} must be between ${lower} and ${upper}, inclusive`); + } + return dateVal; +}; +const parseMilliseconds = (value) => { + if (value === null || value === undefined) { + return 0; + } + return strictParseFloat32("0." + value) * 1000; +}; +const parseOffsetToMilliseconds = (value) => { + const directionStr = value[0]; + let direction = 1; + if (directionStr == "+") { + direction = 1; + } + else if (directionStr == "-") { + direction = -1; + } + else { + throw new TypeError(`Offset direction, ${directionStr}, must be "+" or "-"`); + } + const hour = Number(value.substring(1, 3)); + const minute = Number(value.substring(4, 6)); + return direction * (hour * 60 + minute) * 60 * 1000; +}; +const stripLeadingZeroes = (value) => { + let idx = 0; + while (idx < value.length - 1 && value.charAt(idx) === "0") { + idx++; + } + if (idx === 0) { + return value; + } + return value.slice(idx); +}; diff --git a/node_modules/@smithy/core/dist-es/submodules/serde/generateIdempotencyToken.js b/node_modules/@smithy/core/dist-es/submodules/serde/generateIdempotencyToken.js new file mode 100644 index 0000000..69ef1f2 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/serde/generateIdempotencyToken.js @@ -0,0 +1,2 @@ +import { v4 as generateIdempotencyToken } from "@smithy/uuid"; +export { generateIdempotencyToken }; diff --git a/node_modules/@smithy/core/dist-es/submodules/serde/index.js b/node_modules/@smithy/core/dist-es/submodules/serde/index.js new file mode 100644 index 0000000..421ec8e --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/serde/index.js @@ -0,0 +1,10 @@ +export * from "./copyDocumentWithTransform"; +export * from "./date-utils"; +export * from "./generateIdempotencyToken"; +export * from "./lazy-json"; +export * from "./parse-utils"; +export * from "./quote-header"; +export * from "./schema-serde-lib/schema-date-utils"; +export * from "./split-every"; +export * from "./split-header"; +export * from "./value/NumericValue"; diff --git a/node_modules/@smithy/core/dist-es/submodules/serde/lazy-json.js b/node_modules/@smithy/core/dist-es/submodules/serde/lazy-json.js new file mode 100644 index 0000000..9bddfce --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/serde/lazy-json.js @@ -0,0 +1,24 @@ +export const LazyJsonString = function LazyJsonString(val) { + const str = Object.assign(new String(val), { + deserializeJSON() { + return JSON.parse(String(val)); + }, + toString() { + return String(val); + }, + toJSON() { + return String(val); + }, + }); + return str; +}; +LazyJsonString.from = (object) => { + if (object && typeof object === "object" && (object instanceof LazyJsonString || "deserializeJSON" in object)) { + return object; + } + else if (typeof object === "string" || Object.getPrototypeOf(object) === String.prototype) { + return LazyJsonString(String(object)); + } + return LazyJsonString(JSON.stringify(object)); +}; +LazyJsonString.fromObject = LazyJsonString.from; diff --git a/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js b/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js new file mode 100644 index 0000000..209db79 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js @@ -0,0 +1,230 @@ +export const parseBoolean = (value) => { + switch (value) { + case "true": + return true; + case "false": + return false; + default: + throw new Error(`Unable to parse boolean value "${value}"`); + } +}; +export const expectBoolean = (value) => { + if (value === null || value === undefined) { + return undefined; + } + if (typeof value === "number") { + if (value === 0 || value === 1) { + logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`)); + } + if (value === 0) { + return false; + } + if (value === 1) { + return true; + } + } + if (typeof value === "string") { + const lower = value.toLowerCase(); + if (lower === "false" || lower === "true") { + logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`)); + } + if (lower === "false") { + return false; + } + if (lower === "true") { + return true; + } + } + if (typeof value === "boolean") { + return value; + } + throw new TypeError(`Expected boolean, got ${typeof value}: ${value}`); +}; +export const expectNumber = (value) => { + if (value === null || value === undefined) { + return undefined; + } + if (typeof value === "string") { + const parsed = parseFloat(value); + if (!Number.isNaN(parsed)) { + if (String(parsed) !== String(value)) { + logger.warn(stackTraceWarning(`Expected number but observed string: ${value}`)); + } + return parsed; + } + } + if (typeof value === "number") { + return value; + } + throw new TypeError(`Expected number, got ${typeof value}: ${value}`); +}; +const MAX_FLOAT = Math.ceil(2 ** 127 * (2 - 2 ** -23)); +export const expectFloat32 = (value) => { + const expected = expectNumber(value); + if (expected !== undefined && !Number.isNaN(expected) && expected !== Infinity && expected !== -Infinity) { + if (Math.abs(expected) > MAX_FLOAT) { + throw new TypeError(`Expected 32-bit float, got ${value}`); + } + } + return expected; +}; +export const expectLong = (value) => { + if (value === null || value === undefined) { + return undefined; + } + if (Number.isInteger(value) && !Number.isNaN(value)) { + return value; + } + throw new TypeError(`Expected integer, got ${typeof value}: ${value}`); +}; +export const expectInt = expectLong; +export const expectInt32 = (value) => expectSizedInt(value, 32); +export const expectShort = (value) => expectSizedInt(value, 16); +export const expectByte = (value) => expectSizedInt(value, 8); +const expectSizedInt = (value, size) => { + const expected = expectLong(value); + if (expected !== undefined && castInt(expected, size) !== expected) { + throw new TypeError(`Expected ${size}-bit integer, got ${value}`); + } + return expected; +}; +const castInt = (value, size) => { + switch (size) { + case 32: + return Int32Array.of(value)[0]; + case 16: + return Int16Array.of(value)[0]; + case 8: + return Int8Array.of(value)[0]; + } +}; +export const expectNonNull = (value, location) => { + if (value === null || value === undefined) { + if (location) { + throw new TypeError(`Expected a non-null value for ${location}`); + } + throw new TypeError("Expected a non-null value"); + } + return value; +}; +export const expectObject = (value) => { + if (value === null || value === undefined) { + return undefined; + } + if (typeof value === "object" && !Array.isArray(value)) { + return value; + } + const receivedType = Array.isArray(value) ? "array" : typeof value; + throw new TypeError(`Expected object, got ${receivedType}: ${value}`); +}; +export const expectString = (value) => { + if (value === null || value === undefined) { + return undefined; + } + if (typeof value === "string") { + return value; + } + if (["boolean", "number", "bigint"].includes(typeof value)) { + logger.warn(stackTraceWarning(`Expected string, got ${typeof value}: ${value}`)); + return String(value); + } + throw new TypeError(`Expected string, got ${typeof value}: ${value}`); +}; +export const expectUnion = (value) => { + if (value === null || value === undefined) { + return undefined; + } + const asObject = expectObject(value); + const setKeys = Object.entries(asObject) + .filter(([, v]) => v != null) + .map(([k]) => k); + if (setKeys.length === 0) { + throw new TypeError(`Unions must have exactly one non-null member. None were found.`); + } + if (setKeys.length > 1) { + throw new TypeError(`Unions must have exactly one non-null member. Keys ${setKeys} were not null.`); + } + return asObject; +}; +export const strictParseDouble = (value) => { + if (typeof value == "string") { + return expectNumber(parseNumber(value)); + } + return expectNumber(value); +}; +export const strictParseFloat = strictParseDouble; +export const strictParseFloat32 = (value) => { + if (typeof value == "string") { + return expectFloat32(parseNumber(value)); + } + return expectFloat32(value); +}; +const NUMBER_REGEX = /(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g; +const parseNumber = (value) => { + const matches = value.match(NUMBER_REGEX); + if (matches === null || matches[0].length !== value.length) { + throw new TypeError(`Expected real number, got implicit NaN`); + } + return parseFloat(value); +}; +export const limitedParseDouble = (value) => { + if (typeof value == "string") { + return parseFloatString(value); + } + return expectNumber(value); +}; +export const handleFloat = limitedParseDouble; +export const limitedParseFloat = limitedParseDouble; +export const limitedParseFloat32 = (value) => { + if (typeof value == "string") { + return parseFloatString(value); + } + return expectFloat32(value); +}; +const parseFloatString = (value) => { + switch (value) { + case "NaN": + return NaN; + case "Infinity": + return Infinity; + case "-Infinity": + return -Infinity; + default: + throw new Error(`Unable to parse float value: ${value}`); + } +}; +export const strictParseLong = (value) => { + if (typeof value === "string") { + return expectLong(parseNumber(value)); + } + return expectLong(value); +}; +export const strictParseInt = strictParseLong; +export const strictParseInt32 = (value) => { + if (typeof value === "string") { + return expectInt32(parseNumber(value)); + } + return expectInt32(value); +}; +export const strictParseShort = (value) => { + if (typeof value === "string") { + return expectShort(parseNumber(value)); + } + return expectShort(value); +}; +export const strictParseByte = (value) => { + if (typeof value === "string") { + return expectByte(parseNumber(value)); + } + return expectByte(value); +}; +const stackTraceWarning = (message) => { + return String(new TypeError(message).stack || message) + .split("\n") + .slice(0, 5) + .filter((s) => !s.includes("stackTraceWarning")) + .join("\n"); +}; +export const logger = { + warn: console.warn, +}; diff --git a/node_modules/@smithy/core/dist-es/submodules/serde/quote-header.js b/node_modules/@smithy/core/dist-es/submodules/serde/quote-header.js new file mode 100644 index 0000000..d0ddf67 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/serde/quote-header.js @@ -0,0 +1,6 @@ +export function quoteHeader(part) { + if (part.includes(",") || part.includes('"')) { + part = `"${part.replace(/"/g, '\\"')}"`; + } + return part; +} diff --git a/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js b/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js new file mode 100644 index 0000000..b41589e --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js @@ -0,0 +1,101 @@ +const ddd = `(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`; +const mmm = `(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`; +const time = `(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?`; +const date = `(\\d?\\d)`; +const year = `(\\d{4})`; +const RFC3339_WITH_OFFSET = new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/); +const IMF_FIXDATE = new RegExp(`^${ddd}, ${date} ${mmm} ${year} ${time} GMT$`); +const RFC_850_DATE = new RegExp(`^${ddd}, ${date}-${mmm}-(\\d\\d) ${time} GMT$`); +const ASC_TIME = new RegExp(`^${ddd} ${mmm} ( [1-9]|\\d\\d) ${time} ${year}$`); +const months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; +export const _parseEpochTimestamp = (value) => { + if (value == null) { + return void 0; + } + let num = NaN; + if (typeof value === "number") { + num = value; + } + else if (typeof value === "string") { + if (!/^-?\d*\.?\d+$/.test(value)) { + throw new TypeError(`parseEpochTimestamp - numeric string invalid.`); + } + num = Number.parseFloat(value); + } + else if (typeof value === "object" && value.tag === 1) { + num = value.value; + } + if (isNaN(num) || Math.abs(num) === Infinity) { + throw new TypeError("Epoch timestamps must be valid finite numbers."); + } + return new Date(Math.round(num * 1000)); +}; +export const _parseRfc3339DateTimeWithOffset = (value) => { + if (value == null) { + return void 0; + } + if (typeof value !== "string") { + throw new TypeError("RFC3339 timestamps must be strings"); + } + const matches = RFC3339_WITH_OFFSET.exec(value); + if (!matches) { + throw new TypeError(`Invalid RFC3339 timestamp format ${value}`); + } + const [, yearStr, monthStr, dayStr, hours, minutes, seconds, , ms, offsetStr] = matches; + range(monthStr, 1, 12); + range(dayStr, 1, 31); + range(hours, 0, 23); + range(minutes, 0, 59); + range(seconds, 0, 60); + const date = new Date(Date.UTC(Number(yearStr), Number(monthStr) - 1, Number(dayStr), Number(hours), Number(minutes), Number(seconds), Number(ms) ? Math.round(parseFloat(`0.${ms}`) * 1000) : 0)); + date.setUTCFullYear(Number(yearStr)); + if (offsetStr.toUpperCase() != "Z") { + const [, sign, offsetH, offsetM] = /([+-])(\d\d):(\d\d)/.exec(offsetStr) || [void 0, "+", 0, 0]; + const scalar = sign === "-" ? 1 : -1; + date.setTime(date.getTime() + scalar * (Number(offsetH) * 60 * 60 * 1000 + Number(offsetM) * 60 * 1000)); + } + return date; +}; +export const _parseRfc7231DateTime = (value) => { + if (value == null) { + return void 0; + } + if (typeof value !== "string") { + throw new TypeError("RFC7231 timestamps must be strings."); + } + let day; + let month; + let year; + let hour; + let minute; + let second; + let fraction; + let matches; + if ((matches = IMF_FIXDATE.exec(value))) { + [, day, month, year, hour, minute, second, fraction] = matches; + } + else if ((matches = RFC_850_DATE.exec(value))) { + [, day, month, year, hour, minute, second, fraction] = matches; + year = (Number(year) + 1900).toString(); + } + else if ((matches = ASC_TIME.exec(value))) { + [, month, day, hour, minute, second, fraction, year] = matches; + } + if (year && second) { + const timestamp = Date.UTC(Number(year), months.indexOf(month), Number(day), Number(hour), Number(minute), Number(second), fraction ? Math.round(parseFloat(`0.${fraction}`) * 1000) : 0); + range(day, 1, 31); + range(hour, 0, 23); + range(minute, 0, 59); + range(second, 0, 60); + const date = new Date(timestamp); + date.setUTCFullYear(Number(year)); + return date; + } + throw new TypeError(`Invalid RFC7231 date-time value ${value}.`); +}; +function range(v, min, max) { + const _v = Number(v); + if (_v < min || _v > max) { + throw new Error(`Value ${_v} out of range [${min}, ${max}]`); + } +} diff --git a/node_modules/@smithy/core/dist-es/submodules/serde/split-every.js b/node_modules/@smithy/core/dist-es/submodules/serde/split-every.js new file mode 100644 index 0000000..1d78dca --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/serde/split-every.js @@ -0,0 +1,27 @@ +export function splitEvery(value, delimiter, numDelimiters) { + if (numDelimiters <= 0 || !Number.isInteger(numDelimiters)) { + throw new Error("Invalid number of delimiters (" + numDelimiters + ") for splitEvery."); + } + const segments = value.split(delimiter); + if (numDelimiters === 1) { + return segments; + } + const compoundSegments = []; + let currentSegment = ""; + for (let i = 0; i < segments.length; i++) { + if (currentSegment === "") { + currentSegment = segments[i]; + } + else { + currentSegment += delimiter + segments[i]; + } + if ((i + 1) % numDelimiters === 0) { + compoundSegments.push(currentSegment); + currentSegment = ""; + } + } + if (currentSegment !== "") { + compoundSegments.push(currentSegment); + } + return compoundSegments; +} diff --git a/node_modules/@smithy/core/dist-es/submodules/serde/split-header.js b/node_modules/@smithy/core/dist-es/submodules/serde/split-header.js new file mode 100644 index 0000000..518e77f --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/serde/split-header.js @@ -0,0 +1,37 @@ +export const splitHeader = (value) => { + const z = value.length; + const values = []; + let withinQuotes = false; + let prevChar = undefined; + let anchor = 0; + for (let i = 0; i < z; ++i) { + const char = value[i]; + switch (char) { + case `"`: + if (prevChar !== "\\") { + withinQuotes = !withinQuotes; + } + break; + case ",": + if (!withinQuotes) { + values.push(value.slice(anchor, i)); + anchor = i + 1; + } + break; + default: + } + prevChar = char; + } + values.push(value.slice(anchor)); + return values.map((v) => { + v = v.trim(); + const z = v.length; + if (z < 2) { + return v; + } + if (v[0] === `"` && v[z - 1] === `"`) { + v = v.slice(1, z - 1); + } + return v.replace(/\\"/g, '"'); + }); +}; diff --git a/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js b/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js new file mode 100644 index 0000000..2455116 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js @@ -0,0 +1,25 @@ +const format = /^-?\d*(\.\d+)?$/; +export class NumericValue { + string; + type; + constructor(string, type) { + this.string = string; + this.type = type; + if (!format.test(string)) { + throw new Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`); + } + } + toString() { + return this.string; + } + static [Symbol.hasInstance](object) { + if (!object || typeof object !== "object") { + return false; + } + const _nv = object; + return NumericValue.prototype.isPrototypeOf(object) || (_nv.type === "bigDecimal" && format.test(_nv.string)); + } +} +export function nv(input) { + return new NumericValue(String(input), "bigDecimal"); +} diff --git a/node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js b/node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js new file mode 100644 index 0000000..70d05af --- /dev/null +++ b/node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js @@ -0,0 +1,13 @@ +export class DefaultIdentityProviderConfig { + authSchemes = new Map(); + constructor(config) { + for (const [key, value] of Object.entries(config)) { + if (value !== undefined) { + this.authSchemes.set(key, value); + } + } + } + getIdentityProvider(schemeId) { + return this.authSchemes.get(schemeId); + } +} diff --git a/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js b/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js new file mode 100644 index 0000000..8b6f598 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js @@ -0,0 +1,34 @@ +import { HttpRequest } from "@smithy/protocol-http"; +import { HttpApiKeyAuthLocation } from "@smithy/types"; +export class HttpApiKeyAuthSigner { + async sign(httpRequest, identity, signingProperties) { + if (!signingProperties) { + throw new Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing"); + } + if (!signingProperties.name) { + throw new Error("request could not be signed with `apiKey` since the `name` signer property is missing"); + } + if (!signingProperties.in) { + throw new Error("request could not be signed with `apiKey` since the `in` signer property is missing"); + } + if (!identity.apiKey) { + throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined"); + } + const clonedRequest = HttpRequest.clone(httpRequest); + if (signingProperties.in === HttpApiKeyAuthLocation.QUERY) { + clonedRequest.query[signingProperties.name] = identity.apiKey; + } + else if (signingProperties.in === HttpApiKeyAuthLocation.HEADER) { + clonedRequest.headers[signingProperties.name] = signingProperties.scheme + ? `${signingProperties.scheme} ${identity.apiKey}` + : identity.apiKey; + } + else { + throw new Error("request can only be signed with `apiKey` locations `query` or `header`, " + + "but found: `" + + signingProperties.in + + "`"); + } + return clonedRequest; + } +} diff --git a/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js b/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js new file mode 100644 index 0000000..b92a9c3 --- /dev/null +++ b/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js @@ -0,0 +1,11 @@ +import { HttpRequest } from "@smithy/protocol-http"; +export class HttpBearerAuthSigner { + async sign(httpRequest, identity, signingProperties) { + const clonedRequest = HttpRequest.clone(httpRequest); + if (!identity.token) { + throw new Error("request could not be signed with `token` since the `token` is not defined"); + } + clonedRequest.headers["Authorization"] = `Bearer ${identity.token}`; + return clonedRequest; + } +} diff --git a/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/index.js b/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/index.js new file mode 100644 index 0000000..9d240fe --- /dev/null +++ b/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/index.js @@ -0,0 +1,3 @@ +export * from "./httpApiKeyAuth"; +export * from "./httpBearerAuth"; +export * from "./noAuth"; diff --git a/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/noAuth.js b/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/noAuth.js new file mode 100644 index 0000000..356193d --- /dev/null +++ b/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/noAuth.js @@ -0,0 +1,5 @@ +export class NoAuthSigner { + async sign(httpRequest, identity, signingProperties) { + return httpRequest; + } +} diff --git a/node_modules/@smithy/core/dist-es/util-identity-and-auth/index.js b/node_modules/@smithy/core/dist-es/util-identity-and-auth/index.js new file mode 100644 index 0000000..87ba64b --- /dev/null +++ b/node_modules/@smithy/core/dist-es/util-identity-and-auth/index.js @@ -0,0 +1,3 @@ +export * from "./DefaultIdentityProviderConfig"; +export * from "./httpAuthSchemes"; +export * from "./memoizeIdentityProvider"; diff --git a/node_modules/@smithy/core/dist-es/util-identity-and-auth/memoizeIdentityProvider.js b/node_modules/@smithy/core/dist-es/util-identity-and-auth/memoizeIdentityProvider.js new file mode 100644 index 0000000..b40049a --- /dev/null +++ b/node_modules/@smithy/core/dist-es/util-identity-and-auth/memoizeIdentityProvider.js @@ -0,0 +1,55 @@ +export const createIsIdentityExpiredFunction = (expirationMs) => function isIdentityExpired(identity) { + return doesIdentityRequireRefresh(identity) && identity.expiration.getTime() - Date.now() < expirationMs; +}; +export const EXPIRATION_MS = 300_000; +export const isIdentityExpired = createIsIdentityExpiredFunction(EXPIRATION_MS); +export const doesIdentityRequireRefresh = (identity) => identity.expiration !== undefined; +export const memoizeIdentityProvider = (provider, isExpired, requiresRefresh) => { + if (provider === undefined) { + return undefined; + } + const normalizedProvider = typeof provider !== "function" ? async () => Promise.resolve(provider) : provider; + let resolved; + let pending; + let hasResult; + let isConstant = false; + const coalesceProvider = async (options) => { + if (!pending) { + pending = normalizedProvider(options); + } + try { + resolved = await pending; + hasResult = true; + isConstant = false; + } + finally { + pending = undefined; + } + return resolved; + }; + if (isExpired === undefined) { + return async (options) => { + if (!hasResult || options?.forceRefresh) { + resolved = await coalesceProvider(options); + } + return resolved; + }; + } + return async (options) => { + if (!hasResult || options?.forceRefresh) { + resolved = await coalesceProvider(options); + } + if (isConstant) { + return resolved; + } + if (!requiresRefresh(resolved)) { + isConstant = true; + return resolved; + } + if (isExpired(resolved)) { + await coalesceProvider(options); + return resolved; + } + return resolved; + }; +}; diff --git a/node_modules/@smithy/core/dist-types/getSmithyContext.d.ts b/node_modules/@smithy/core/dist-types/getSmithyContext.d.ts new file mode 100644 index 0000000..92cbb09 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/getSmithyContext.d.ts @@ -0,0 +1,5 @@ +import type { HandlerExecutionContext } from "@smithy/types"; +/** + * @internal + */ +export declare const getSmithyContext: (context: HandlerExecutionContext) => Record; diff --git a/node_modules/@smithy/core/dist-types/index.d.ts b/node_modules/@smithy/core/dist-types/index.d.ts new file mode 100644 index 0000000..82c90b9 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/index.d.ts @@ -0,0 +1,8 @@ +export * from "./getSmithyContext"; +export * from "./middleware-http-auth-scheme"; +export * from "./middleware-http-signing"; +export * from "./normalizeProvider"; +export { createPaginator } from "./pagination/createPaginator"; +export * from "./request-builder/requestBuilder"; +export * from "./setFeature"; +export * from "./util-identity-and-auth"; diff --git a/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts b/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts new file mode 100644 index 0000000..0a93d33 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts @@ -0,0 +1,18 @@ +import type { HandlerExecutionContext, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, IdentityProviderConfig, Pluggable, RelativeMiddlewareOptions, SerializeHandlerOptions } from "@smithy/types"; +import type { PreviouslyResolved } from "./httpAuthSchemeMiddleware"; +/** + * @internal + */ +export declare const httpAuthSchemeEndpointRuleSetMiddlewareOptions: SerializeHandlerOptions & RelativeMiddlewareOptions; +/** + * @internal + */ +interface HttpAuthSchemeEndpointRuleSetPluginOptions { + httpAuthSchemeParametersProvider: HttpAuthSchemeParametersProvider; + identityProviderConfigProvider: (config: TConfig) => Promise; +} +/** + * @internal + */ +export declare const getHttpAuthSchemeEndpointRuleSetPlugin: (config: TConfig & PreviouslyResolved, { httpAuthSchemeParametersProvider, identityProviderConfigProvider, }: HttpAuthSchemeEndpointRuleSetPluginOptions) => Pluggable; +export {}; diff --git a/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts b/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts new file mode 100644 index 0000000..0c314c3 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts @@ -0,0 +1,18 @@ +import type { HandlerExecutionContext, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, IdentityProviderConfig, Pluggable, RelativeMiddlewareOptions, SerializeHandlerOptions } from "@smithy/types"; +import type { PreviouslyResolved } from "./httpAuthSchemeMiddleware"; +/** + * @internal + */ +export declare const httpAuthSchemeMiddlewareOptions: SerializeHandlerOptions & RelativeMiddlewareOptions; +/** + * @internal + */ +interface HttpAuthSchemePluginOptions { + httpAuthSchemeParametersProvider: HttpAuthSchemeParametersProvider; + identityProviderConfigProvider: (config: TConfig) => Promise; +} +/** + * @internal + */ +export declare const getHttpAuthSchemePlugin: (config: TConfig & PreviouslyResolved, { httpAuthSchemeParametersProvider, identityProviderConfigProvider, }: HttpAuthSchemePluginOptions) => Pluggable; +export {}; diff --git a/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts b/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts new file mode 100644 index 0000000..f272be0 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts @@ -0,0 +1,33 @@ +import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, IdentityProviderConfig, Provider, SelectedHttpAuthScheme, SerializeMiddleware, SMITHY_CONTEXT_KEY } from "@smithy/types"; +/** + * @internal + */ +export interface PreviouslyResolved { + authSchemePreference?: Provider; + httpAuthSchemes: HttpAuthScheme[]; + httpAuthSchemeProvider: HttpAuthSchemeProvider; +} +/** + * @internal + */ +interface HttpAuthSchemeMiddlewareOptions { + httpAuthSchemeParametersProvider: HttpAuthSchemeParametersProvider; + identityProviderConfigProvider: (config: TConfig) => Promise; +} +/** + * @internal + */ +interface HttpAuthSchemeMiddlewareSmithyContext extends Record { + selectedHttpAuthScheme?: SelectedHttpAuthScheme; +} +/** + * @internal + */ +interface HttpAuthSchemeMiddlewareHandlerExecutionContext extends HandlerExecutionContext { + [SMITHY_CONTEXT_KEY]?: HttpAuthSchemeMiddlewareSmithyContext; +} +/** + * @internal + */ +export declare const httpAuthSchemeMiddleware: (config: TConfig & PreviouslyResolved, mwOptions: HttpAuthSchemeMiddlewareOptions) => SerializeMiddleware; +export {}; diff --git a/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/index.d.ts b/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/index.d.ts new file mode 100644 index 0000000..5042e7d --- /dev/null +++ b/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/index.d.ts @@ -0,0 +1,3 @@ +export * from "./httpAuthSchemeMiddleware"; +export * from "./getHttpAuthSchemeEndpointRuleSetPlugin"; +export * from "./getHttpAuthSchemePlugin"; diff --git a/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/resolveAuthOptions.d.ts b/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/resolveAuthOptions.d.ts new file mode 100644 index 0000000..808b0b6 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/resolveAuthOptions.d.ts @@ -0,0 +1,10 @@ +import type { HttpAuthOption } from "@smithy/types"; +/** + * Resolves list of auth options based on the supported ones, vs the preference list. + * + * @param candidateAuthOptions list of supported auth options selected by the standard + * resolution process (model-based, endpoints 2.0, etc.) + * @param authSchemePreference list of auth schemes preferred by user. + * @returns + */ +export declare const resolveAuthOptions: (candidateAuthOptions: HttpAuthOption[], authSchemePreference: string[]) => HttpAuthOption[]; diff --git a/node_modules/@smithy/core/dist-types/middleware-http-signing/getHttpSigningMiddleware.d.ts b/node_modules/@smithy/core/dist-types/middleware-http-signing/getHttpSigningMiddleware.d.ts new file mode 100644 index 0000000..b70a553 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/middleware-http-signing/getHttpSigningMiddleware.d.ts @@ -0,0 +1,9 @@ +import type { FinalizeRequestHandlerOptions, Pluggable, RelativeMiddlewareOptions } from "@smithy/types"; +/** + * @internal + */ +export declare const httpSigningMiddlewareOptions: FinalizeRequestHandlerOptions & RelativeMiddlewareOptions; +/** + * @internal + */ +export declare const getHttpSigningPlugin: (config: object) => Pluggable; diff --git a/node_modules/@smithy/core/dist-types/middleware-http-signing/httpSigningMiddleware.d.ts b/node_modules/@smithy/core/dist-types/middleware-http-signing/httpSigningMiddleware.d.ts new file mode 100644 index 0000000..d0d99e2 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/middleware-http-signing/httpSigningMiddleware.d.ts @@ -0,0 +1,5 @@ +import type { FinalizeRequestMiddleware } from "@smithy/types"; +/** + * @internal + */ +export declare const httpSigningMiddleware: (config: object) => FinalizeRequestMiddleware; diff --git a/node_modules/@smithy/core/dist-types/middleware-http-signing/index.d.ts b/node_modules/@smithy/core/dist-types/middleware-http-signing/index.d.ts new file mode 100644 index 0000000..7bc6cfe --- /dev/null +++ b/node_modules/@smithy/core/dist-types/middleware-http-signing/index.d.ts @@ -0,0 +1,2 @@ +export * from "./httpSigningMiddleware"; +export * from "./getHttpSigningMiddleware"; diff --git a/node_modules/@smithy/core/dist-types/normalizeProvider.d.ts b/node_modules/@smithy/core/dist-types/normalizeProvider.d.ts new file mode 100644 index 0000000..1f7b6f6 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/normalizeProvider.d.ts @@ -0,0 +1,7 @@ +import type { Provider } from "@smithy/types"; +/** + * @internal + * + * @returns a provider function for the input value if it isn't already one. + */ +export declare const normalizeProvider: (input: T | Provider) => Provider; diff --git a/node_modules/@smithy/core/dist-types/pagination/createPaginator.d.ts b/node_modules/@smithy/core/dist-types/pagination/createPaginator.d.ts new file mode 100644 index 0000000..78fcbe0 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/pagination/createPaginator.d.ts @@ -0,0 +1,7 @@ +import type { PaginationConfiguration, Paginator } from "@smithy/types"; +/** + * @internal + * + * Creates a paginator. + */ +export declare function createPaginator(ClientCtor: any, CommandCtor: any, inputTokenName: string, outputTokenName: string, pageSizeTokenName?: string): (config: PaginationConfigType, input: InputType, ...additionalArguments: any[]) => Paginator; diff --git a/node_modules/@smithy/core/dist-types/request-builder/requestBuilder.d.ts b/node_modules/@smithy/core/dist-types/request-builder/requestBuilder.d.ts new file mode 100644 index 0000000..8e2f2ef --- /dev/null +++ b/node_modules/@smithy/core/dist-types/request-builder/requestBuilder.d.ts @@ -0,0 +1,5 @@ +/** + * @internal + * Backwards compatibility re-export. + */ +export { requestBuilder } from "@smithy/core/protocols"; diff --git a/node_modules/@smithy/core/dist-types/setFeature.d.ts b/node_modules/@smithy/core/dist-types/setFeature.d.ts new file mode 100644 index 0000000..279106c --- /dev/null +++ b/node_modules/@smithy/core/dist-types/setFeature.d.ts @@ -0,0 +1,12 @@ +import type { HandlerExecutionContext, SmithyFeatures } from "@smithy/types"; +/** + * @internal + * Indicates to the request context that a given feature is active. + * + * @param context - handler execution context. + * @param feature - readable name of feature. + * @param value - encoding value of feature. This is required because the + * specification asks the library not to include a runtime lookup of all + * the feature identifiers. + */ +export declare function setFeature(context: HandlerExecutionContext, feature: F, value: SmithyFeatures[F]): void; diff --git a/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts b/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts new file mode 100644 index 0000000..74c4dda --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts @@ -0,0 +1,33 @@ +import { SerdeContext } from "@smithy/core/protocols"; +import type { Codec, Schema, ShapeDeserializer, ShapeSerializer } from "@smithy/types"; +/** + * @public + */ +export declare class CborCodec extends SerdeContext implements Codec { + createSerializer(): CborShapeSerializer; + createDeserializer(): CborShapeDeserializer; +} +/** + * @public + */ +export declare class CborShapeSerializer extends SerdeContext implements ShapeSerializer { + private value; + write(schema: Schema, value: unknown): void; + /** + * Recursive serializer transform that copies and prepares the user input object + * for CBOR serialization. + */ + serialize(schema: Schema, source: unknown): any; + flush(): Uint8Array; +} +/** + * @public + */ +export declare class CborShapeDeserializer extends SerdeContext implements ShapeDeserializer { + read(schema: Schema, bytes: Uint8Array): any; + /** + * Public because it's called by the protocol implementation to deserialize errors. + * @internal + */ + readValue(_schema: Schema, value: any): any; +} diff --git a/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts b/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts new file mode 100644 index 0000000..603bd84 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts @@ -0,0 +1,28 @@ +import { RpcProtocol } from "@smithy/core/protocols"; +import { TypeRegistry } from "@smithy/core/schema"; +import type { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, SerdeFunctions } from "@smithy/types"; +import { CborCodec } from "./CborCodec"; +/** + * Client protocol for Smithy RPCv2 CBOR. + * + * @public + */ +export declare class SmithyRpcV2CborProtocol extends RpcProtocol { + /** + * @override + */ + protected compositeErrorRegistry: TypeRegistry; + private codec; + protected serializer: import("./CborCodec").CborShapeSerializer; + protected deserializer: import("./CborCodec").CborShapeDeserializer; + constructor({ defaultNamespace, errorTypeRegistries, }: { + defaultNamespace: string; + errorTypeRegistries?: TypeRegistry[]; + }); + getShapeId(): string; + getPayloadCodec(): CborCodec; + serializeRequest(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise; + deserializeResponse(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise; + protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any, metadata: ResponseMetadata): Promise; + protected getDefaultContentType(): string; +} diff --git a/node_modules/@smithy/core/dist-types/submodules/cbor/byte-printer.d.ts b/node_modules/@smithy/core/dist-types/submodules/cbor/byte-printer.d.ts new file mode 100644 index 0000000..698c544 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/cbor/byte-printer.d.ts @@ -0,0 +1,6 @@ +/** + * Prints bytes as binary string with numbers. + * @param bytes - to print. + * @deprecated for testing only, do not use in runtime. + */ +export declare function printBytes(bytes: Uint8Array): string[]; diff --git a/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts b/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts new file mode 100644 index 0000000..ecb09dc --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts @@ -0,0 +1,17 @@ +import type { CborValueType, Float32, Uint8, Uint32 } from "./cbor-types"; +/** + * @internal + * @param bytes - to be set as the decode source. + * + * Sets the decode bytearray source and its data view. + */ +export declare function setPayload(bytes: Uint8Array): void; +/** + * @internal + * Decodes the data between the two indices. + */ +export declare function decode(at: Uint32, to: Uint32): CborValueType; +/** + * @internal + */ +export declare function bytesToFloat16(a: Uint8, b: Uint8): Float32; diff --git a/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-encode.d.ts b/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-encode.d.ts new file mode 100644 index 0000000..bfc3328 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-encode.d.ts @@ -0,0 +1,9 @@ +/** + * @internal + */ +export declare function toUint8Array(): Uint8Array; +export declare function resize(size: number): void; +/** + * @param _input - JS data object. + */ +export declare function encode(_input: any): void; diff --git a/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts b/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts new file mode 100644 index 0000000..a87178d --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts @@ -0,0 +1,62 @@ +export type CborItemType = undefined | boolean | number | bigint | [CborUnstructuredByteStringType, Uint64] | string | CborTagType; +export type CborTagType = { + tag: Uint64 | number; + value: CborValueType; + [tagSymbol]: true; +}; +export type CborUnstructuredByteStringType = Uint8Array; +export type CborListType = Array; +export type CborMapType = Record; +export type CborCollectionType = CborMapType | CborListType; +export type CborValueType = CborItemType | CborCollectionType | any; +export type CborArgumentLength = 1 | 2 | 4 | 8; +export type CborArgumentLengthOffset = 1 | 2 | 3 | 5 | 9; +export type CborOffset = number; +export type Uint8 = number; +export type Uint32 = number; +export type Uint64 = bigint; +export type Float32 = number; +export type Int64 = bigint; +export type Float16Binary = number; +export type Float32Binary = number; +export type CborMajorType = typeof majorUint64 | typeof majorNegativeInt64 | typeof majorUnstructuredByteString | typeof majorUtf8String | typeof majorList | typeof majorMap | typeof majorTag | typeof majorSpecial; +export declare const majorUint64 = 0; +export declare const majorNegativeInt64 = 1; +export declare const majorUnstructuredByteString = 2; +export declare const majorUtf8String = 3; +export declare const majorList = 4; +export declare const majorMap = 5; +export declare const majorTag = 6; +export declare const majorSpecial = 7; +export declare const specialFalse = 20; +export declare const specialTrue = 21; +export declare const specialNull = 22; +export declare const specialUndefined = 23; +export declare const extendedOneByte = 24; +export declare const extendedFloat16 = 25; +export declare const extendedFloat32 = 26; +export declare const extendedFloat64 = 27; +export declare const minorIndefinite = 31; +export declare function alloc(size: number): Uint8Array; +/** + * @public + * + * The presence of this symbol as an object key indicates it should be considered a tag + * for CBOR serialization purposes. + * + * The object must also have the properties "tag" and "value". + */ +export declare const tagSymbol: unique symbol; +/** + * @public + * Applies the tag symbol to the object. + */ +export declare function tag(data: { + tag: number | bigint; + value: any; + [tagSymbol]?: true; +}): { + tag: number | bigint; + value: any; + [tagSymbol]: true; +}; diff --git a/node_modules/@smithy/core/dist-types/submodules/cbor/cbor.d.ts b/node_modules/@smithy/core/dist-types/submodules/cbor/cbor.d.ts new file mode 100644 index 0000000..7577213 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/cbor/cbor.d.ts @@ -0,0 +1,26 @@ +/** + * This implementation is synchronous and only implements the parts of CBOR + * specification used by Smithy RPCv2 CBOR protocol. + * + * This cbor serde implementation is derived from AWS SDK for Go's implementation. + * @see https://github.com/aws/smithy-go/tree/main/encoding/cbor + * + * The cbor-x implementation was also instructional: + * @see https://github.com/kriszyp/cbor-x + */ +export declare const cbor: { + deserialize(payload: Uint8Array): any; + serialize(input: any): Uint8Array; + /** + * @public + * @param size - byte length to allocate. + * + * This may be used to garbage collect the CBOR + * shared encoding buffer space, + * e.g. resizeEncodingBuffer(0); + * + * This may also be used to pre-allocate more space for + * CBOR encoding, e.g. resizeEncodingBuffer(100_000_000); + */ + resizeEncodingBuffer(size: number): void; +}; diff --git a/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts b/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts new file mode 100644 index 0000000..c53524e --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts @@ -0,0 +1,5 @@ +export { cbor } from "./cbor"; +export { tag, tagSymbol } from "./cbor-types"; +export * from "./parseCborBody"; +export * from "./SmithyRpcV2CborProtocol"; +export * from "./CborCodec"; diff --git a/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts b/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts new file mode 100644 index 0000000..2768900 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts @@ -0,0 +1,31 @@ +import { HttpRequest as __HttpRequest } from "@smithy/protocol-http"; +import type { HeaderBag as __HeaderBag, HttpResponse, SerdeContext as __SerdeContext, SerdeContext } from "@smithy/types"; +import type { tagSymbol } from "./cbor-types"; +/** + * @internal + */ +export declare const parseCborBody: (streamBody: any, context: SerdeContext) => any; +/** + * @internal + */ +export declare const dateToTag: (date: Date) => { + tag: number | bigint; + value: any; + [tagSymbol]: true; +}; +/** + * @internal + */ +export declare const parseCborErrorBody: (errorBody: any, context: SerdeContext) => Promise; +/** + * @internal + */ +export declare const loadSmithyRpcV2CborErrorCode: (output: HttpResponse, data: any) => string | undefined; +/** + * @internal + */ +export declare const checkCborResponse: (response: HttpResponse) => void; +/** + * @internal + */ +export declare const buildHttpRpcRequest: (context: __SerdeContext, headers: __HeaderBag, path: string, resolvedHostname: string | undefined, body: any) => Promise<__HttpRequest>; diff --git a/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts b/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts new file mode 100644 index 0000000..a88df65 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts @@ -0,0 +1 @@ +export * from "./toEndpointV1"; diff --git a/node_modules/@smithy/core/dist-types/submodules/endpoints/toEndpointV1.d.ts b/node_modules/@smithy/core/dist-types/submodules/endpoints/toEndpointV1.d.ts new file mode 100644 index 0000000..56c7ca2 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/endpoints/toEndpointV1.d.ts @@ -0,0 +1,6 @@ +import type { Endpoint, EndpointV2 } from "@smithy/types"; +/** + * Converts an endpoint to EndpointV1 format. + * @internal + */ +export declare const toEndpointV1: (endpoint: string | Endpoint | EndpointV2) => Endpoint; diff --git a/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts b/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts new file mode 100644 index 0000000..944564b --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts @@ -0,0 +1,60 @@ +import type { NormalizedSchema } from "@smithy/core/schema"; +import type { EventStreamMarshaller, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types"; +/** + * Separated module for async mixin of EventStream serde capability. + * This is used by the HttpProtocol base class from \@smithy/core/protocols. + * + * @public + */ +export declare class EventStreamSerde { + private readonly marshaller; + private readonly serializer; + private readonly deserializer; + private readonly serdeContext?; + private readonly defaultContentType; + /** + * Properties are injected by the HttpProtocol. + */ + constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType, }: { + marshaller: EventStreamMarshaller; + serializer: ShapeSerializer; + deserializer: ShapeDeserializer; + serdeContext?: SerdeFunctions; + defaultContentType: string; + }); + /** + * @param eventStream - the iterable provided by the caller. + * @param requestSchema - the schema of the event stream container (struct). + * @param [initialRequest] - only provided if the initial-request is part of the event stream (RPC). + * + * @returns a stream suitable for the HTTP body of a request. + */ + serializeEventStream({ eventStream, requestSchema, initialRequest, }: { + eventStream: AsyncIterable; + requestSchema: NormalizedSchema; + initialRequest?: any; + }): Promise; + /** + * @param response - http response from which to read the event stream. + * @param unionSchema - schema of the event stream container (struct). + * @param [initialResponseContainer] - provided and written to only if the initial response is part of the event stream (RPC). + * + * @returns the asyncIterable of the event stream for the end-user. + */ + deserializeEventStream({ response, responseSchema, initialResponseContainer, }: { + response: IHttpResponse; + responseSchema: NormalizedSchema; + initialResponseContainer?: any; + }): Promise>; + /** + * @param unionMember - member name within the structure that contains an event stream union. + * @param unionSchema - schema of the union. + * @param event + * + * @returns the event body (bytes) and event type (string). + */ + private writeEventBody; +} diff --git a/node_modules/@smithy/core/dist-types/submodules/event-streams/index.d.ts b/node_modules/@smithy/core/dist-types/submodules/event-streams/index.d.ts new file mode 100644 index 0000000..849f48c --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/event-streams/index.d.ts @@ -0,0 +1 @@ +export * from "./EventStreamSerde"; diff --git a/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts b/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts new file mode 100644 index 0000000..9ae28bc --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts @@ -0,0 +1,31 @@ +import { type TypeRegistry, NormalizedSchema } from "@smithy/core/schema"; +import { HttpRequest } from "@smithy/protocol-http"; +import type { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, Schema, SerdeFunctions } from "@smithy/types"; +import { HttpProtocol } from "./HttpProtocol"; +/** + * Base for HTTP-binding protocols. Downstream examples + * include AWS REST JSON and AWS REST XML. + * + * @public + */ +export declare abstract class HttpBindingProtocol extends HttpProtocol { + /** + * @override + */ + protected compositeErrorRegistry: TypeRegistry; + serializeRequest(operationSchema: OperationSchema, _input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise; + protected serializeQuery(ns: NormalizedSchema, data: any, query: HttpRequest["query"]): void; + deserializeResponse(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise; + /** + * The base method ignores HTTP bindings. + * + * @deprecated (only this signature) use signature without headerBindings. + * @override + */ + protected deserializeHttpMessage(schema: Schema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, headerBindings: Set, dataObject: any): Promise; + protected deserializeHttpMessage(schema: Schema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any): Promise; +} diff --git a/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts b/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts new file mode 100644 index 0000000..4012a8a --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts @@ -0,0 +1,89 @@ +import type { EventStreamSerde } from "@smithy/core/event-streams"; +import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema"; +import type { ClientProtocol, Codec, Endpoint, EndpointBearer, EndpointV2, EventStreamMarshaller, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, Schema, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types"; +import { SerdeContext } from "./SerdeContext"; +/** + * Abstract base for HTTP-based client protocols. + * + * @public + */ +export declare abstract class HttpProtocol extends SerdeContext implements ClientProtocol { + readonly options: { + defaultNamespace: string; + errorTypeRegistries?: TypeRegistry[]; + }; + /** + * An error registry having the namespace of the modeled service, + * but combining all error schemas found within the service closure. + * + * Used to look up error schema during deserialization. + */ + protected compositeErrorRegistry: TypeRegistry; + protected abstract serializer: ShapeSerializer; + protected abstract deserializer: ShapeDeserializer; + /** + * @param options.defaultNamespace - used by various implementing classes. + * @param options.errorTypeRegistries - registry instances that contribute to error deserialization. + */ + protected constructor(options: { + defaultNamespace: string; + errorTypeRegistries?: TypeRegistry[]; + }); + abstract getShapeId(): string; + abstract getPayloadCodec(): Codec; + getRequestType(): new (...args: any[]) => IHttpRequest; + getResponseType(): new (...args: any[]) => IHttpResponse; + /** + * @override + */ + setSerdeContext(serdeContext: SerdeFunctions): void; + abstract serializeRequest(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise; + updateServiceEndpoint(request: IHttpRequest, endpoint: EndpointV2 | Endpoint): IHttpRequest; + abstract deserializeResponse(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise; + protected setHostPrefix(request: IHttpRequest, operationSchema: OperationSchema, input: Input): void; + protected abstract handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any, metadata: ResponseMetadata): Promise; + protected deserializeMetadata(output: IHttpResponse): ResponseMetadata; + /** + * @param eventStream - the iterable provided by the caller. + * @param requestSchema - the schema of the event stream container (struct). + * @param [initialRequest] - only provided if the initial-request is part of the event stream (RPC). + * + * @returns a stream suitable for the HTTP body of a request. + */ + protected serializeEventStream({ eventStream, requestSchema, initialRequest, }: { + eventStream: AsyncIterable; + requestSchema: NormalizedSchema; + initialRequest?: any; + }): Promise; + /** + * @param response - http response from which to read the event stream. + * @param unionSchema - schema of the event stream container (struct). + * @param [initialResponseContainer] - provided and written to only if the initial response is part of the event stream (RPC). + * + * @returns the asyncIterable of the event stream. + */ + protected deserializeEventStream({ response, responseSchema, initialResponseContainer, }: { + response: IHttpResponse; + responseSchema: NormalizedSchema; + initialResponseContainer?: any; + }): Promise>; + /** + * Loads eventStream capability async (for chunking). + */ + protected loadEventStreamCapability(): Promise; + /** + * @returns content-type default header value for event stream events and other documents. + */ + protected getDefaultContentType(): string; + /** + * For HTTP binding protocols, this method is overridden in {@link HttpBindingProtocol}. + * + * @deprecated only use this for HTTP binding protocols. + */ + protected deserializeHttpMessage(schema: Schema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, headerBindings: Set, dataObject: any): Promise; + protected deserializeHttpMessage(schema: Schema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any): Promise; + protected getEventStreamMarshaller(): EventStreamMarshaller; +} diff --git a/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts b/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts new file mode 100644 index 0000000..3d79818 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts @@ -0,0 +1,16 @@ +import { type TypeRegistry } from "@smithy/core/schema"; +import type { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, SerdeFunctions } from "@smithy/types"; +import { HttpProtocol } from "./HttpProtocol"; +/** + * Abstract base for RPC-over-HTTP protocols. + * + * @public + */ +export declare abstract class RpcProtocol extends HttpProtocol { + /** + * @override + */ + protected compositeErrorRegistry: TypeRegistry; + serializeRequest(operationSchema: OperationSchema, _input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise; + deserializeResponse(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise; +} diff --git a/node_modules/@smithy/core/dist-types/submodules/protocols/SerdeContext.d.ts b/node_modules/@smithy/core/dist-types/submodules/protocols/SerdeContext.d.ts new file mode 100644 index 0000000..536329e --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/protocols/SerdeContext.d.ts @@ -0,0 +1,16 @@ +import type { ConfigurableSerdeContext, SerdeFunctions } from "@smithy/types"; +/** + * This in practice should be the client config object. + * @internal + */ +type SerdeContextType = SerdeFunctions & { + disableHostPrefix?: boolean; +}; +/** + * @internal + */ +export declare abstract class SerdeContext implements ConfigurableSerdeContext { + protected serdeContext?: SerdeContextType; + setSerdeContext(serdeContext: SerdeContextType): void; +} +export {}; diff --git a/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts b/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts new file mode 100644 index 0000000..512cb96 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts @@ -0,0 +1,10 @@ +import type { SerdeContext } from "@smithy/types"; +import { Uint8ArrayBlobAdapter } from "@smithy/util-stream"; +/** + * @internal + * + * Collect low-level response body stream to Uint8Array. + */ +export declare const collectBody: (streamBody: any | undefined, context: { + streamCollector: SerdeContext["streamCollector"]; +}) => Promise; diff --git a/node_modules/@smithy/core/dist-types/submodules/protocols/extended-encode-uri-component.d.ts b/node_modules/@smithy/core/dist-types/submodules/protocols/extended-encode-uri-component.d.ts new file mode 100644 index 0000000..403e9ae --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/protocols/extended-encode-uri-component.d.ts @@ -0,0 +1,7 @@ +/** + * @internal + * + * Function that wraps encodeURIComponent to encode additional characters + * to fully adhere to RFC 3986. + */ +export declare function extendedEncodeURIComponent(str: string): string; diff --git a/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts b/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts new file mode 100644 index 0000000..5cc40c5 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts @@ -0,0 +1,13 @@ +export * from "./collect-stream-body"; +export * from "./extended-encode-uri-component"; +export * from "./HttpBindingProtocol"; +export * from "./HttpProtocol"; +export * from "./RpcProtocol"; +export * from "./requestBuilder"; +export * from "./resolve-path"; +export * from "./serde/FromStringShapeDeserializer"; +export * from "./serde/HttpInterceptingShapeDeserializer"; +export * from "./serde/HttpInterceptingShapeSerializer"; +export * from "./serde/ToStringShapeSerializer"; +export * from "./serde/determineTimestampFormat"; +export * from "./SerdeContext"; diff --git a/node_modules/@smithy/core/dist-types/submodules/protocols/requestBuilder.d.ts b/node_modules/@smithy/core/dist-types/submodules/protocols/requestBuilder.d.ts new file mode 100644 index 0000000..3013d8a --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/protocols/requestBuilder.d.ts @@ -0,0 +1,51 @@ +import { HttpRequest } from "@smithy/protocol-http"; +import type { SerdeContext } from "@smithy/types"; +/** + * @internal + * used in code-generated serde. + */ +export declare function requestBuilder(input: any, context: SerdeContext): RequestBuilder; +/** + * @internal + */ +export declare class RequestBuilder { + private input; + private context; + private query; + private method; + private headers; + private path; + private body; + private hostname; + private resolvePathStack; + constructor(input: any, context: SerdeContext); + build(): Promise; + /** + * Brevity setter for "hostname". + */ + hn(hostname: string): this; + /** + * Brevity initial builder for "basepath". + */ + bp(uriLabel: string): this; + /** + * Brevity incremental builder for "path". + */ + p(memberName: string, labelValueProvider: () => string | undefined, uriLabel: string, isGreedyLabel: boolean): this; + /** + * Brevity setter for "headers". + */ + h(headers: Record): this; + /** + * Brevity setter for "query". + */ + q(query: Record): this; + /** + * Brevity setter for "body". + */ + b(body: any): this; + /** + * Brevity setter for "method". + */ + m(method: string): this; +} diff --git a/node_modules/@smithy/core/dist-types/submodules/protocols/resolve-path.d.ts b/node_modules/@smithy/core/dist-types/submodules/protocols/resolve-path.d.ts new file mode 100644 index 0000000..03386d6 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/protocols/resolve-path.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const resolvedPath: (resolvedPath: string, input: unknown, memberName: string, labelValueProvider: () => string | undefined, uriLabel: string, isGreedyLabel: boolean) => string; diff --git a/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts b/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts new file mode 100644 index 0000000..bbda360 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts @@ -0,0 +1,13 @@ +import type { CodecSettings, Schema, ShapeDeserializer } from "@smithy/types"; +import { SerdeContext } from "../SerdeContext"; +/** + * This deserializer reads strings. + * + * @public + */ +export declare class FromStringShapeDeserializer extends SerdeContext implements ShapeDeserializer { + private settings; + constructor(settings: CodecSettings); + read(_schema: Schema, data: string): any; + private base64ToUtf8; +} diff --git a/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts b/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts new file mode 100644 index 0000000..35d1984 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts @@ -0,0 +1,21 @@ +import type { CodecSettings, Schema, SerdeFunctions, ShapeDeserializer } from "@smithy/types"; +import { SerdeContext } from "../SerdeContext"; +/** + * This deserializer is a dispatcher that decides whether to use a string deserializer + * or a codec deserializer based on HTTP traits. + * + * For example, in a JSON HTTP message, the deserialization of a field will differ depending on whether + * it is bound to the HTTP header (string) or body (JSON). + * + * @public + */ +export declare class HttpInterceptingShapeDeserializer> extends SerdeContext implements ShapeDeserializer { + private codecDeserializer; + private stringDeserializer; + constructor(codecDeserializer: CodecShapeDeserializer, codecSettings: CodecSettings); + /** + * @override + */ + setSerdeContext(serdeContext: SerdeFunctions): void; + read(schema: Schema, data: string | Uint8Array): any | Promise; +} diff --git a/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts b/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts new file mode 100644 index 0000000..2fcd093 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts @@ -0,0 +1,23 @@ +import type { CodecSettings, ConfigurableSerdeContext, Schema as ISchema, SerdeFunctions, ShapeSerializer } from "@smithy/types"; +import { ToStringShapeSerializer } from "./ToStringShapeSerializer"; +/** + * This serializer decides whether to dispatch to a string serializer or a codec serializer + * depending on HTTP binding traits within the given schema. + * + * For example, a JavaScript array is serialized differently when being written + * to a REST JSON HTTP header (comma-delimited string) and a REST JSON HTTP body (JSON array). + * + * @public + */ +export declare class HttpInterceptingShapeSerializer> implements ShapeSerializer, ConfigurableSerdeContext { + private codecSerializer; + private stringSerializer; + private buffer; + constructor(codecSerializer: CodecShapeSerializer, codecSettings: CodecSettings, stringSerializer?: ToStringShapeSerializer); + /** + * @override + */ + setSerdeContext(serdeContext: SerdeFunctions): void; + write(schema: ISchema, value: unknown): void; + flush(): string | Uint8Array; +} diff --git a/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts b/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts new file mode 100644 index 0000000..13ac766 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts @@ -0,0 +1,14 @@ +import type { CodecSettings, Schema, ShapeSerializer } from "@smithy/types"; +import { SerdeContext } from "../SerdeContext"; +/** + * Serializes a shape to string. + * + * @public + */ +export declare class ToStringShapeSerializer extends SerdeContext implements ShapeSerializer { + private settings; + private stringBuffer; + constructor(settings: CodecSettings); + write(schema: Schema, value: unknown): void; + flush(): string; +} diff --git a/node_modules/@smithy/core/dist-types/submodules/protocols/serde/determineTimestampFormat.d.ts b/node_modules/@smithy/core/dist-types/submodules/protocols/serde/determineTimestampFormat.d.ts new file mode 100644 index 0000000..ddfa1e5 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/protocols/serde/determineTimestampFormat.d.ts @@ -0,0 +1,9 @@ +import type { NormalizedSchema } from "@smithy/core/schema"; +import type { CodecSettings, TimestampDateTimeSchema, TimestampEpochSecondsSchema, TimestampHttpDateSchema } from "@smithy/types"; +/** + * Assuming the schema is a timestamp type, the function resolves the format using + * either the timestamp's own traits, or the default timestamp format from the CodecSettings. + * + * @internal + */ +export declare function determineTimestampFormat(ns: NormalizedSchema, settings: CodecSettings): TimestampDateTimeSchema | TimestampHttpDateSchema | TimestampEpochSecondsSchema; diff --git a/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts b/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts new file mode 100644 index 0000000..08f4ec8 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts @@ -0,0 +1,71 @@ +import type { Schema as ISchema, StaticErrorSchema } from "@smithy/types"; +import type { ErrorSchema } from "./schemas/ErrorSchema"; +/** + * A way to look up schema by their ShapeId values. + * + * @public + */ +export declare class TypeRegistry { + readonly namespace: string; + private schemas; + private exceptions; + static readonly registries: Map; + private constructor(); + /** + * @param namespace - specifier. + * @returns the schema for that namespace, creating it if necessary. + */ + static for(namespace: string): TypeRegistry; + /** + * Copies entries from another instance without changing the namespace of self. + * The composition is additive but non-destructive and will not overwrite existing entries. + * + * @param other - another TypeRegistry. + */ + copyFrom(other: TypeRegistry): void; + /** + * Adds the given schema to a type registry with the same namespace, and this registry. + * + * @param shapeId - to be registered. + * @param schema - to be registered. + */ + register(shapeId: string, schema: ISchema): void; + /** + * @param shapeId - query. + * @returns the schema. + */ + getSchema(shapeId: string): ISchema; + /** + * Associates an error schema with its constructor. + */ + registerError(es: ErrorSchema | StaticErrorSchema, ctor: any): void; + /** + * @param es - query. + * @returns Error constructor that extends the service's base exception. + */ + getErrorCtor(es: ErrorSchema | StaticErrorSchema): any; + /** + * The smithy-typescript code generator generates a synthetic (i.e. unmodeled) base exception, + * because generated SDKs before the introduction of schemas have the notion of a ServiceBaseException, which + * is unique per service/model. + * + * This is generated under a unique prefix that is combined with the service namespace, and this + * method is used to retrieve it. + * + * The base exception synthetic schema is used when an error is returned by a service, but we cannot + * determine what existing schema to use to deserialize it. + * + * @returns the synthetic base exception of the service namespace associated with this registry instance. + */ + getBaseException(): StaticErrorSchema | undefined; + /** + * @param predicate - criterion. + * @returns a schema in this registry matching the predicate. + */ + find(predicate: (schema: ISchema) => boolean): ISchema | undefined; + /** + * Unloads the current TypeRegistry. + */ + clear(): void; + private normalizeShapeId; +} diff --git a/node_modules/@smithy/core/dist-types/submodules/schema/deref.d.ts b/node_modules/@smithy/core/dist-types/submodules/schema/deref.d.ts new file mode 100644 index 0000000..397dbc2 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/schema/deref.d.ts @@ -0,0 +1,6 @@ +import type { Schema, SchemaRef } from "@smithy/types"; +/** + * Dereferences a SchemaRef if needed. + * @internal + */ +export declare const deref: (schemaRef: SchemaRef) => Schema; diff --git a/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts b/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts new file mode 100644 index 0000000..fe9508c --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts @@ -0,0 +1,14 @@ +export * from "./deref"; +export * from "./middleware/getSchemaSerdePlugin"; +export * from "./schemas/ListSchema"; +export * from "./schemas/MapSchema"; +export * from "./schemas/OperationSchema"; +export * from "./schemas/operation"; +export * from "./schemas/ErrorSchema"; +export * from "./schemas/NormalizedSchema"; +export * from "./schemas/Schema"; +export * from "./schemas/SimpleSchema"; +export * from "./schemas/StructureSchema"; +export * from "./schemas/sentinels"; +export * from "./schemas/translateTraits"; +export * from "./TypeRegistry"; diff --git a/node_modules/@smithy/core/dist-types/submodules/schema/middleware/getSchemaSerdePlugin.d.ts b/node_modules/@smithy/core/dist-types/submodules/schema/middleware/getSchemaSerdePlugin.d.ts new file mode 100644 index 0000000..7d3b798 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/schema/middleware/getSchemaSerdePlugin.d.ts @@ -0,0 +1,14 @@ +import type { DeserializeHandlerOptions, MetadataBearer, Pluggable, SerializeHandlerOptions } from "@smithy/types"; +import type { PreviouslyResolved } from "./schema-middleware-types"; +/** + * @internal + */ +export declare const deserializerMiddlewareOption: DeserializeHandlerOptions; +/** + * @internal + */ +export declare const serializerMiddlewareOption: SerializeHandlerOptions; +/** + * @internal + */ +export declare function getSchemaSerdePlugin(config: PreviouslyResolved): Pluggable; diff --git a/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schema-middleware-types.d.ts b/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schema-middleware-types.d.ts new file mode 100644 index 0000000..283adb1 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schema-middleware-types.d.ts @@ -0,0 +1,8 @@ +import type { ClientProtocol, SerdeContext, UrlParser } from "@smithy/types"; +/** + * @internal + */ +export type PreviouslyResolved = Omit; +}, "endpoint">; diff --git a/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts b/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts new file mode 100644 index 0000000..026ab1d --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts @@ -0,0 +1,9 @@ +import type { DeserializeHandler, DeserializeHandlerArguments, HandlerExecutionContext } from "@smithy/types"; +import type { PreviouslyResolved } from "./schema-middleware-types"; +/** + * @internal + */ +export declare const schemaDeserializationMiddleware: (config: PreviouslyResolved) => (next: DeserializeHandler, context: HandlerExecutionContext) => (args: DeserializeHandlerArguments) => Promise<{ + response: unknown; + output: O; +}>; diff --git a/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaSerializationMiddleware.d.ts b/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaSerializationMiddleware.d.ts new file mode 100644 index 0000000..f34e7a3 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaSerializationMiddleware.d.ts @@ -0,0 +1,6 @@ +import type { HandlerExecutionContext, SerializeHandler, SerializeHandlerArguments } from "@smithy/types"; +import type { PreviouslyResolved } from "./schema-middleware-types"; +/** + * @internal + */ +export declare const schemaSerializationMiddleware: (config: PreviouslyResolved) => (next: SerializeHandler, context: HandlerExecutionContext) => (args: SerializeHandlerArguments) => Promise>; diff --git a/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts new file mode 100644 index 0000000..aa3dbf6 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts @@ -0,0 +1,37 @@ +import type { SchemaRef, SchemaTraits } from "@smithy/types"; +import { StructureSchema } from "./StructureSchema"; +/** + * A schema for a structure shape having the error trait. These represent enumerated operation errors. + * Because Smithy-TS SDKs use classes for exceptions, whereas plain objects are used for all other data, + * and have an existing notion of a XYZServiceBaseException, the ErrorSchema differs from a StructureSchema + * by additionally holding the class reference for the corresponding ServiceException class. + * + * @internal + * @deprecated use StaticSchema + */ +export declare class ErrorSchema extends StructureSchema { + static readonly symbol: unique symbol; + /** + * @deprecated - field unused. + */ + ctor: any; + protected readonly symbol: symbol; +} +/** + * Factory for ErrorSchema, to reduce codegen output and register the schema. + * + * @internal + * @deprecated use StaticSchema + * + * @param namespace - shapeId namespace. + * @param name - shapeId name. + * @param traits - shape level serde traits. + * @param memberNames - list of member names. + * @param memberList - list of schemaRef corresponding to each + * @param ctor - class reference for the existing Error extending class. + */ +export declare const error: (namespace: string, name: string, traits: SchemaTraits, memberNames: string[], memberList: SchemaRef[], +/** + * @deprecated - field unused. + */ +ctor?: any) => ErrorSchema; diff --git a/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts new file mode 100644 index 0000000..71ef0d9 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts @@ -0,0 +1,23 @@ +import type { ListSchema as IListSchema, SchemaRef, SchemaTraits } from "@smithy/types"; +import { Schema } from "./Schema"; +/** + * A schema with a single member schema. + * The deprecated Set type may be represented as a list. + * + * @internal + * @deprecated use StaticSchema + */ +export declare class ListSchema extends Schema implements IListSchema { + static readonly symbol: unique symbol; + name: string; + traits: SchemaTraits; + valueSchema: SchemaRef; + protected readonly symbol: symbol; +} +/** + * Factory for ListSchema. + * + * @internal + * @deprecated use StaticSchema + */ +export declare const list: (namespace: string, name: string, traits: SchemaTraits, valueSchema: SchemaRef) => ListSchema; diff --git a/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts new file mode 100644 index 0000000..52983d6 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts @@ -0,0 +1,24 @@ +import type { MapSchema as IMapSchema, SchemaRef, SchemaTraits } from "@smithy/types"; +import { Schema } from "./Schema"; +/** + * A schema with a key schema and value schema. + * @internal + * @deprecated use StaticSchema + */ +export declare class MapSchema extends Schema implements IMapSchema { + static readonly symbol: unique symbol; + name: string; + traits: SchemaTraits; + /** + * This is expected to be StringSchema, but may have traits. + */ + keySchema: SchemaRef; + valueSchema: SchemaRef; + protected readonly symbol: symbol; +} +/** + * Factory for MapSchema. + * @internal + * @deprecated use StaticSchema + */ +export declare const map: (namespace: string, name: string, traits: SchemaTraits, keySchema: SchemaRef, valueSchema: SchemaRef) => MapSchema; diff --git a/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts new file mode 100644 index 0000000..4fb8a8a --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts @@ -0,0 +1,143 @@ +import type { $MemberSchema, $Schema, $SchemaRef, NormalizedSchema as INormalizedSchema, SchemaRef, SchemaTraitsObject, StaticSchema } from "@smithy/types"; +/** + * Cache for numeric schemaRef. Having separate cache objects for number/string improves + * lookup performance. + * @internal + */ +export declare const simpleSchemaCacheN: Array; +/** + * Cache for string schemaRef. + * @internal + */ +export declare const simpleSchemaCacheS: Record; +/** + * Wraps both class instances, numeric sentinel values, and member schema pairs. + * Presents a consistent interface for interacting with polymorphic schema representations. + * + * @public + */ +export declare class NormalizedSchema implements INormalizedSchema { + readonly ref: $SchemaRef; + private readonly memberName?; + static readonly symbol: unique symbol; + protected readonly symbol: symbol; + private readonly name; + private readonly schema; + private readonly _isMemberSchema; + private readonly traits; + private readonly memberTraits; + private normalizedTraits?; + /** + * @param ref - a polymorphic SchemaRef to be dereferenced/normalized. + * @param memberName - optional memberName if this NormalizedSchema should be considered a member schema. + */ + private constructor(); + static [Symbol.hasInstance](lhs: unknown): lhs is NormalizedSchema; + /** + * Static constructor that attempts to avoid wrapping a NormalizedSchema within another. + */ + static of(ref: SchemaRef | $SchemaRef): NormalizedSchema; + /** + * @returns the underlying non-normalized schema. + */ + getSchema(): Exclude<$Schema, $MemberSchema | INormalizedSchema>; + /** + * @param withNamespace - qualifies the name. + * @returns e.g. `MyShape` or `com.namespace#MyShape`. + */ + getName(withNamespace?: boolean): string | undefined; + /** + * @returns the member name if the schema is a member schema. + */ + getMemberName(): string; + isMemberSchema(): boolean; + /** + * boolean methods on this class help control flow in shape serialization and deserialization. + */ + isListSchema(): boolean; + isMapSchema(): boolean; + /** + * To simplify serialization logic, static union schemas are considered a specialization + * of structs in the TypeScript typings and JS runtime, as well as static error schemas + * which have a different identifier. + */ + isStructSchema(): boolean; + isUnionSchema(): boolean; + isBlobSchema(): boolean; + isTimestampSchema(): boolean; + isUnitSchema(): boolean; + isDocumentSchema(): boolean; + isStringSchema(): boolean; + isBooleanSchema(): boolean; + isNumericSchema(): boolean; + isBigIntegerSchema(): boolean; + isBigDecimalSchema(): boolean; + isStreaming(): boolean; + /** + * @returns whether the schema has the idempotencyToken trait. + */ + isIdempotencyToken(): boolean; + /** + * @returns own traits merged with member traits, where member traits of the same trait key take priority. + * This method is cached. + */ + getMergedTraits(): SchemaTraitsObject; + /** + * @returns only the member traits. If the schema is not a member, this returns empty. + */ + getMemberTraits(): SchemaTraitsObject; + /** + * @returns only the traits inherent to the shape or member target shape if this schema is a member. + * If there are any member traits they are excluded. + */ + getOwnTraits(): SchemaTraitsObject; + /** + * @returns the map's key's schema. Returns a dummy Document schema if this schema is a Document. + * + * @throws Error if the schema is not a Map or Document. + */ + getKeySchema(): NormalizedSchema; + /** + * @returns the schema of the map's value or list's member. + * Returns a dummy Document schema if this schema is a Document. + * + * @throws Error if the schema is not a Map, List, nor Document. + */ + getValueSchema(): NormalizedSchema; + /** + * @returns the NormalizedSchema for the given member name. The returned instance will return true for `isMemberSchema()` + * and will have the member name given. + * @param memberName - which member to retrieve and wrap. + * + * @throws Error if member does not exist or the schema is neither a document nor structure. + * Note that errors are assumed to be structures and unions are considered structures for these purposes. + */ + getMemberSchema(memberName: string): NormalizedSchema; + /** + * This can be used for checking the members as a hashmap. + * Prefer the structIterator method for iteration. + * + * This does NOT return list and map members, it is only for structures. + * + * @deprecated use (checked) structIterator instead. + * + * @returns a map of member names to member schemas (normalized). + */ + getMemberSchemas(): Record; + /** + * @returns member name of event stream or empty string indicating none exists or this + * isn't a structure schema. + */ + getEventStreamMember(): string; + /** + * Allows iteration over members of a structure schema. + * Each yield is a pair of the member name and member schema. + * + * This avoids the overhead of calling Object.entries(ns.getMemberSchemas()). + */ + structIterator(): Generator<[string, NormalizedSchema], undefined, undefined>; +} +/** + * @internal + */ +export declare const isStaticSchema: (sc: SchemaRef) => sc is StaticSchema; diff --git a/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts new file mode 100644 index 0000000..3f3a437 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts @@ -0,0 +1,23 @@ +import type { OperationSchema as IOperationSchema, SchemaRef, SchemaTraits } from "@smithy/types"; +import { Schema } from "./Schema"; +/** + * This is used as a reference container for the input/output pair of schema, and for trait + * detection on the operation that may affect client protocol logic. + * + * @internal + * @deprecated use StaticSchema + */ +export declare class OperationSchema extends Schema implements IOperationSchema { + static readonly symbol: unique symbol; + name: string; + traits: SchemaTraits; + input: SchemaRef; + output: SchemaRef; + protected readonly symbol: symbol; +} +/** + * Factory for OperationSchema. + * @internal + * @deprecated use StaticSchema + */ +export declare const op: (namespace: string, name: string, traits: SchemaTraits, input: SchemaRef, output: SchemaRef) => OperationSchema; diff --git a/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts new file mode 100644 index 0000000..64119a3 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts @@ -0,0 +1,16 @@ +import type { SchemaTraits, TraitsSchema } from "@smithy/types"; +/** + * Abstract base for class-based Schema except NormalizedSchema. + * + * @internal + * @deprecated use StaticSchema + */ +export declare abstract class Schema implements TraitsSchema { + name: string; + namespace: string; + traits: SchemaTraits; + protected abstract readonly symbol: symbol; + static assign(instance: T, values: Omit): T; + static [Symbol.hasInstance](lhs: unknown): boolean; + getName(): string; +} diff --git a/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts new file mode 100644 index 0000000..7fb8b13 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts @@ -0,0 +1,28 @@ +import type { SchemaRef, SchemaTraits, TraitsSchema } from "@smithy/types"; +import { Schema } from "./Schema"; +/** + * Although numeric values exist for most simple schema, this class is used for cases where traits are + * attached to those schema, since a single number cannot easily represent both a schema and its traits. + * + * @internal + * @deprecated use StaticSchema + */ +export declare class SimpleSchema extends Schema implements TraitsSchema { + static readonly symbol: unique symbol; + name: string; + schemaRef: SchemaRef; + traits: SchemaTraits; + protected readonly symbol: symbol; +} +/** + * Factory for simple schema class objects. + * + * @internal + * @deprecated use StaticSchema + */ +export declare const sim: (namespace: string, name: string, schemaRef: SchemaRef, traits: SchemaTraits) => SimpleSchema; +/** + * @internal + * @deprecated + */ +export declare const simAdapter: (namespace: string, name: string, traits: SchemaTraits, schemaRef: SchemaRef) => SimpleSchema; diff --git a/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts new file mode 100644 index 0000000..d00c527 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts @@ -0,0 +1,23 @@ +import type { SchemaRef, SchemaTraits, StructureSchema as IStructureSchema } from "@smithy/types"; +import { Schema } from "./Schema"; +/** + * A structure schema has a known list of members. This is also used for unions. + * + * @internal + * @deprecated use StaticSchema + */ +export declare class StructureSchema extends Schema implements IStructureSchema { + static symbol: symbol; + name: string; + traits: SchemaTraits; + memberNames: string[]; + memberList: SchemaRef[]; + protected readonly symbol: symbol; +} +/** + * Factory for StructureSchema. + * + * @internal + * @deprecated use StaticSchema + */ +export declare const struct: (namespace: string, name: string, traits: SchemaTraits, memberNames: string[], memberList: SchemaRef[]) => StructureSchema; diff --git a/node_modules/@smithy/core/dist-types/submodules/schema/schemas/operation.d.ts b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/operation.d.ts new file mode 100644 index 0000000..e056ee5 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/operation.d.ts @@ -0,0 +1,7 @@ +import type { OperationSchema, SchemaRef, SchemaTraits } from "@smithy/types"; +/** + * Converts the static schema array into an object-form to adapt + * to the signature of ClientProtocol classes. + * @internal + */ +export declare const operation: (namespace: string, name: string, traits: SchemaTraits, input: SchemaRef, output: SchemaRef) => OperationSchema; diff --git a/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts new file mode 100644 index 0000000..5fa5f6c --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts @@ -0,0 +1,23 @@ +import type { BigDecimalSchema, BigIntegerSchema, BlobSchema, BooleanSchema, DocumentSchema, ListSchemaModifier, MapSchemaModifier, NumericSchema, StreamingBlobSchema, StringSchema, TimestampDateTimeSchema, TimestampDefaultSchema, TimestampEpochSecondsSchema, TimestampHttpDateSchema } from "@smithy/types"; +/** + * Schema sentinel runtime values. + * @internal + * + * @deprecated use inline numbers with type annotation to save space. + */ +export declare const SCHEMA: { + BLOB: BlobSchema; + STREAMING_BLOB: StreamingBlobSchema; + BOOLEAN: BooleanSchema; + STRING: StringSchema; + NUMERIC: NumericSchema; + BIG_INTEGER: BigIntegerSchema; + BIG_DECIMAL: BigDecimalSchema; + DOCUMENT: DocumentSchema; + TIMESTAMP_DEFAULT: TimestampDefaultSchema; + TIMESTAMP_DATE_TIME: TimestampDateTimeSchema; + TIMESTAMP_HTTP_DATE: TimestampHttpDateSchema; + TIMESTAMP_EPOCH_SECONDS: TimestampEpochSecondsSchema; + LIST_MODIFIER: ListSchemaModifier; + MAP_MODIFIER: MapSchemaModifier; +}; diff --git a/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts new file mode 100644 index 0000000..a87a243 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts @@ -0,0 +1,13 @@ +import type { SchemaTraits, SchemaTraitsObject } from "@smithy/types"; +/** + * Module-level cache for translateTraits() numeric bitmask inputs. + * + * @internal + */ +export declare const traitsCache: SchemaTraitsObject[]; +/** + * @internal + * @param indicator - numeric indicator for preset trait combination. + * @returns equivalent trait object. + */ +export declare function translateTraits(indicator: SchemaTraits): SchemaTraitsObject; diff --git a/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts b/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts new file mode 100644 index 0000000..c250b7c --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts @@ -0,0 +1,6 @@ +import type { SchemaRef } from "@smithy/types"; +/** + * @internal + * @deprecated the former functionality has been internalized to the CborCodec. + */ +export declare const copyDocumentWithTransform: (source: any, schemaRef: SchemaRef, transform?: (_: any, schemaRef: SchemaRef) => any) => any; diff --git a/node_modules/@smithy/core/dist-types/submodules/serde/date-utils.d.ts b/node_modules/@smithy/core/dist-types/submodules/serde/date-utils.d.ts new file mode 100644 index 0000000..99c55f4 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/serde/date-utils.d.ts @@ -0,0 +1,73 @@ +/** + * @internal + * + * Builds a proper UTC HttpDate timestamp from a Date object + * since not all environments will have this as the expected + * format. + * + * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toUTCString} + * - Prior to ECMAScript 2018, the format of the return value + * - varied according to the platform. The most common return + * - value was an RFC-1123 formatted date stamp, which is a + * - slightly updated version of RFC-822 date stamps. + */ +export declare function dateToUtcString(date: Date): string; +/** + * @internal + * + * Parses a value into a Date. Returns undefined if the input is null or + * undefined, throws an error if the input is not a string that can be parsed + * as an RFC 3339 date. + * + * Input strings must conform to RFC3339 section 5.6, and cannot have a UTC + * offset. Fractional precision is supported. + * + * @see {@link https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14} + * + * @param value - the value to parse + * @returns a Date or undefined + */ +export declare const parseRfc3339DateTime: (value: unknown) => Date | undefined; +/** + * @internal + * + * Parses a value into a Date. Returns undefined if the input is null or + * undefined, throws an error if the input is not a string that can be parsed + * as an RFC 3339 date. + * + * Input strings must conform to RFC3339 section 5.6, and can have a UTC + * offset. Fractional precision is supported. + * + * @see {@link https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14} + * + * @param value - the value to parse + * @returns a Date or undefined + */ +export declare const parseRfc3339DateTimeWithOffset: (value: unknown) => Date | undefined; +/** + * @internal + * + * Parses a value into a Date. Returns undefined if the input is null or + * undefined, throws an error if the input is not a string that can be parsed + * as an RFC 7231 IMF-fixdate or obs-date. + * + * Input strings must conform to RFC7231 section 7.1.1.1. Fractional seconds are supported. + * + * @see {@link https://datatracker.ietf.org/doc/html/rfc7231.html#section-7.1.1.1} + * + * @param value - the value to parse + * @returns a Date or undefined + */ +export declare const parseRfc7231DateTime: (value: unknown) => Date | undefined; +/** + * @internal + * + * Parses a value into a Date. Returns undefined if the input is null or + * undefined, throws an error if the input is not a number or a parseable string. + * + * Input strings must be an integer or floating point number. Fractional seconds are supported. + * + * @param value - the value to parse + * @returns a Date or undefined + */ +export declare const parseEpochTimestamp: (value: unknown) => Date | undefined; diff --git a/node_modules/@smithy/core/dist-types/submodules/serde/generateIdempotencyToken.d.ts b/node_modules/@smithy/core/dist-types/submodules/serde/generateIdempotencyToken.d.ts new file mode 100644 index 0000000..69ef1f2 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/serde/generateIdempotencyToken.d.ts @@ -0,0 +1,2 @@ +import { v4 as generateIdempotencyToken } from "@smithy/uuid"; +export { generateIdempotencyToken }; diff --git a/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts b/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts new file mode 100644 index 0000000..421ec8e --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts @@ -0,0 +1,10 @@ +export * from "./copyDocumentWithTransform"; +export * from "./date-utils"; +export * from "./generateIdempotencyToken"; +export * from "./lazy-json"; +export * from "./parse-utils"; +export * from "./quote-header"; +export * from "./schema-serde-lib/schema-date-utils"; +export * from "./split-every"; +export * from "./split-header"; +export * from "./value/NumericValue"; diff --git a/node_modules/@smithy/core/dist-types/submodules/serde/lazy-json.d.ts b/node_modules/@smithy/core/dist-types/submodules/serde/lazy-json.d.ts new file mode 100644 index 0000000..0b682ee --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/serde/lazy-json.d.ts @@ -0,0 +1,45 @@ +/** + * @public + * + * A model field with this type means that you may provide a JavaScript + * object in lieu of a JSON string, and it will be serialized to JSON + * automatically before being sent in a request. + * + * For responses, you will receive a "LazyJsonString", which is a boxed String object + * with additional mixin methods. + * To get the string value, call `.toString()`, or to get the JSON object value, + * call `.deserializeJSON()` or parse it yourself. + */ +export type AutomaticJsonStringConversion = Parameters[0] | LazyJsonString; +/** + * @internal + */ +export interface LazyJsonString extends String { + /** + * @returns the JSON parsing of the string value. + */ + deserializeJSON(): any; + /** + * @returns the original string value rather than a JSON.stringified value. + */ + toJSON(): string; +} +/** + * @internal + * + * Extension of the native String class in the previous implementation + * has negative global performance impact on method dispatch for strings, + * and is generally discouraged. + * + * This current implementation may look strange, but is necessary to preserve the interface and + * behavior of extending the String class. + */ +export declare const LazyJsonString: { + new (s: string): LazyJsonString; + (s: string): LazyJsonString; + from(s: any): LazyJsonString; + /** + * @deprecated use #from. + */ + fromObject(s: any): LazyJsonString; +}; diff --git a/node_modules/@smithy/core/dist-types/submodules/serde/parse-utils.d.ts b/node_modules/@smithy/core/dist-types/submodules/serde/parse-utils.d.ts new file mode 100644 index 0000000..b5ded6f --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/serde/parse-utils.d.ts @@ -0,0 +1,270 @@ +/** + * @internal + * + * Give an input string, strictly parses a boolean value. + * + * @param value - The boolean string to parse. + * @returns true for "true", false for "false", otherwise an error is thrown. + */ +export declare const parseBoolean: (value: string) => boolean; +/** + * @internal + * + * Asserts a value is a boolean and returns it. + * Casts strings and numbers with a warning if there is evidence that they were + * intended to be booleans. + * + * @param value - A value that is expected to be a boolean. + * @returns The value if it's a boolean, undefined if it's null/undefined, + * otherwise an error is thrown. + */ +export declare const expectBoolean: (value: any) => boolean | undefined; +/** + * @internal + * + * Asserts a value is a number and returns it. + * Casts strings with a warning if the string is a parseable number. + * This is to unblock slight API definition/implementation inconsistencies. + * + * @param value - A value that is expected to be a number. + * @returns The value if it's a number, undefined if it's null/undefined, + * otherwise an error is thrown. + */ +export declare const expectNumber: (value: any) => number | undefined; +/** + * @internal + * + * Asserts a value is a 32-bit float and returns it. + * + * @param value - A value that is expected to be a 32-bit float. + * @returns The value if it's a float, undefined if it's null/undefined, + * otherwise an error is thrown. + */ +export declare const expectFloat32: (value: any) => number | undefined; +/** + * @internal + * + * Asserts a value is an integer and returns it. + * + * @param value - A value that is expected to be an integer. + * @returns The value if it's an integer, undefined if it's null/undefined, + * otherwise an error is thrown. + */ +export declare const expectLong: (value: any) => number | undefined; +/** + * @internal + * + * @deprecated Use expectLong + */ +export declare const expectInt: (value: any) => number | undefined; +/** + * @internal + * + * Asserts a value is a 32-bit integer and returns it. + * + * @param value - A value that is expected to be an integer. + * @returns The value if it's an integer, undefined if it's null/undefined, + * otherwise an error is thrown. + */ +export declare const expectInt32: (value: any) => number | undefined; +/** + * @internal + * + * Asserts a value is a 16-bit integer and returns it. + * + * @param value - A value that is expected to be an integer. + * @returns The value if it's an integer, undefined if it's null/undefined, + * otherwise an error is thrown. + */ +export declare const expectShort: (value: any) => number | undefined; +/** + * @internal + * + * Asserts a value is an 8-bit integer and returns it. + * + * @param value - A value that is expected to be an integer. + * @returns The value if it's an integer, undefined if it's null/undefined, + * otherwise an error is thrown. + */ +export declare const expectByte: (value: any) => number | undefined; +/** + * @internal + * + * Asserts a value is not null or undefined and returns it, or throws an error. + * + * @param value - A value that is expected to be defined + * @param location - The location where we're expecting to find a defined object (optional) + * @returns The value if it's not undefined, otherwise throws an error + */ +export declare const expectNonNull: (value: T | null | undefined, location?: string) => T; +/** + * @internal + * + * Asserts a value is an JSON-like object and returns it. This is expected to be used + * with values parsed from JSON (arrays, objects, numbers, strings, booleans). + * + * @param value - A value that is expected to be an object + * @returns The value if it's an object, undefined if it's null/undefined, + * otherwise an error is thrown. + */ +export declare const expectObject: (value: any) => Record | undefined; +/** + * @internal + * + * Asserts a value is a string and returns it. + * Numbers and boolean will be cast to strings with a warning. + * + * @param value - A value that is expected to be a string. + * @returns The value if it's a string, undefined if it's null/undefined, + * otherwise an error is thrown. + */ +export declare const expectString: (value: any) => string | undefined; +/** + * @internal + * + * Asserts a value is a JSON-like object with only one non-null/non-undefined key and + * returns it. + * + * @param value - A value that is expected to be an object with exactly one non-null, + * non-undefined key. + * @returns the value if it's a union, undefined if it's null/undefined, otherwise + * an error is thrown. + */ +export declare const expectUnion: (value: unknown) => Record | undefined; +/** + * @internal + * + * Parses a value into a double. If the value is null or undefined, undefined + * will be returned. If the value is a string, it will be parsed by the standard + * parseFloat with one exception: NaN may only be explicitly set as the string + * "NaN", any implicit Nan values will result in an error being thrown. If any + * other type is provided, an exception will be thrown. + * + * @param value - A number or string representation of a double. + * @returns The value as a number, or undefined if it's null/undefined. + */ +export declare const strictParseDouble: (value: string | number) => number | undefined; +/** + * @internal + * + * @deprecated Use strictParseDouble + */ +export declare const strictParseFloat: (value: string | number) => number | undefined; +/** + * @internal + * + * Parses a value into a float. If the value is null or undefined, undefined + * will be returned. If the value is a string, it will be parsed by the standard + * parseFloat with one exception: NaN may only be explicitly set as the string + * "NaN", any implicit Nan values will result in an error being thrown. If any + * other type is provided, an exception will be thrown. + * + * @param value - A number or string representation of a float. + * @returns The value as a number, or undefined if it's null/undefined. + */ +export declare const strictParseFloat32: (value: string | number) => number | undefined; +/** + * @internal + * + * Asserts a value is a number and returns it. If the value is a string + * representation of a non-numeric number type (NaN, Infinity, -Infinity), + * the value will be parsed. Any other string value will result in an exception + * being thrown. Null or undefined will be returned as undefined. Any other + * type will result in an exception being thrown. + * + * @param value - A number or string representation of a non-numeric float. + * @returns The value as a number, or undefined if it's null/undefined. + */ +export declare const limitedParseDouble: (value: string | number) => number | undefined; +/** + * @internal + * + * @deprecated Use limitedParseDouble + */ +export declare const handleFloat: (value: string | number) => number | undefined; +/** + * @internal + * + * @deprecated Use limitedParseDouble + */ +export declare const limitedParseFloat: (value: string | number) => number | undefined; +/** + * @internal + * + * Asserts a value is a 32-bit float and returns it. If the value is a string + * representation of a non-numeric number type (NaN, Infinity, -Infinity), + * the value will be parsed. Any other string value will result in an exception + * being thrown. Null or undefined will be returned as undefined. Any other + * type will result in an exception being thrown. + * + * @param value - A number or string representation of a non-numeric float. + * @returns The value as a number, or undefined if it's null/undefined. + */ +export declare const limitedParseFloat32: (value: string | number) => number | undefined; +/** + * @internal + * + * Parses a value into an integer. If the value is null or undefined, undefined + * will be returned. If the value is a string, it will be parsed by parseFloat + * and the result will be asserted to be an integer. If the parsed value is not + * an integer, or the raw value is any type other than a string or number, an + * exception will be thrown. + * + * @param value - A number or string representation of an integer. + * @returns The value as a number, or undefined if it's null/undefined. + */ +export declare const strictParseLong: (value: string | number) => number | undefined; +/** + * @internal + * + * @deprecated Use strictParseLong + */ +export declare const strictParseInt: (value: string | number) => number | undefined; +/** + * @internal + * + * Parses a value into a 32-bit integer. If the value is null or undefined, undefined + * will be returned. If the value is a string, it will be parsed by parseFloat + * and the result will be asserted to be an integer. If the parsed value is not + * an integer, or the raw value is any type other than a string or number, an + * exception will be thrown. + * + * @param value - A number or string representation of a 32-bit integer. + * @returns The value as a number, or undefined if it's null/undefined. + */ +export declare const strictParseInt32: (value: string | number) => number | undefined; +/** + * @internal + * + * Parses a value into a 16-bit integer. If the value is null or undefined, undefined + * will be returned. If the value is a string, it will be parsed by parseFloat + * and the result will be asserted to be an integer. If the parsed value is not + * an integer, or the raw value is any type other than a string or number, an + * exception will be thrown. + * + * @param value - A number or string representation of a 16-bit integer. + * @returns The value as a number, or undefined if it's null/undefined. + */ +export declare const strictParseShort: (value: string | number) => number | undefined; +/** + * @internal + * + * Parses a value into an 8-bit integer. If the value is null or undefined, undefined + * will be returned. If the value is a string, it will be parsed by parseFloat + * and the result will be asserted to be an integer. If the parsed value is not + * an integer, or the raw value is any type other than a string or number, an + * exception will be thrown. + * + * @param value - A number or string representation of an 8-bit integer. + * @returns The value as a number, or undefined if it's null/undefined. + */ +export declare const strictParseByte: (value: string | number) => number | undefined; +/** + * @internal + */ +export declare const logger: { + warn: { + (...data: any[]): void; + (message?: any, ...optionalParams: any[]): void; + }; +}; diff --git a/node_modules/@smithy/core/dist-types/submodules/serde/quote-header.d.ts b/node_modules/@smithy/core/dist-types/submodules/serde/quote-header.d.ts new file mode 100644 index 0000000..73d6c16 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/serde/quote-header.d.ts @@ -0,0 +1,6 @@ +/** + * @public + * @param part - header list element + * @returns quoted string if part contains delimiter. + */ +export declare function quoteHeader(part: string): string; diff --git a/node_modules/@smithy/core/dist-types/submodules/serde/schema-serde-lib/schema-date-utils.d.ts b/node_modules/@smithy/core/dist-types/submodules/serde/schema-serde-lib/schema-date-utils.d.ts new file mode 100644 index 0000000..096ac36 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/serde/schema-serde-lib/schema-date-utils.d.ts @@ -0,0 +1,47 @@ +/** + * @internal + * + * Parses a value into a Date. Returns undefined if the input is null or + * undefined, throws an error if the input is not a number or a parseable string. + * + * Input strings must be an integer or floating point number. Fractional seconds are supported. + * + * @param value - the value to parse + * @returns a Date or undefined + */ +export declare const _parseEpochTimestamp: (value: unknown) => Date | undefined; +/** + * @internal + * + * Parses a value into a Date. Returns undefined if the input is null or + * undefined, throws an error if the input is not a string that can be parsed + * as an RFC 3339 date. + * + * Input strings must conform to RFC3339 section 5.6, and can have a UTC + * offset. Fractional precision is supported. + * + * @see {@link https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14} + * + * @param value - the value to parse + * @returns a Date or undefined + */ +export declare const _parseRfc3339DateTimeWithOffset: (value: unknown) => Date | undefined; +/** + * @internal + * + * Parses a value into a Date. Returns undefined if the input is null or + * undefined, throws an error if the input is not a string that can be parsed + * as an RFC 7231 date. + * + * Input strings must conform to RFC7231 section 7.1.1.1. Fractional seconds are supported. + * + * RFC 850 and unix asctime formats are also accepted. + * todo: practically speaking, are RFC 850 and asctime even used anymore? + * todo: can we remove those parts? + * + * @see {@link https://datatracker.ietf.org/doc/html/rfc7231.html#section-7.1.1.1} + * + * @param value - the value to parse. + * @returns a Date or undefined. + */ +export declare const _parseRfc7231DateTime: (value: unknown) => Date | undefined; diff --git a/node_modules/@smithy/core/dist-types/submodules/serde/split-every.d.ts b/node_modules/@smithy/core/dist-types/submodules/serde/split-every.d.ts new file mode 100644 index 0000000..45a0229 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/serde/split-every.d.ts @@ -0,0 +1,11 @@ +/** + * @internal + * + * Given an input string, splits based on the delimiter after a given + * number of delimiters has been encountered. + * + * @param value - The input string to split. + * @param delimiter - The delimiter to split on. + * @param numDelimiters - The number of delimiters to have encountered to split. + */ +export declare function splitEvery(value: string, delimiter: string, numDelimiters: number): Array; diff --git a/node_modules/@smithy/core/dist-types/submodules/serde/split-header.d.ts b/node_modules/@smithy/core/dist-types/submodules/serde/split-header.d.ts new file mode 100644 index 0000000..0f51651 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/serde/split-header.d.ts @@ -0,0 +1,5 @@ +/** + * @param value - header string value. + * @returns value split by commas that aren't in quotes. + */ +export declare const splitHeader: (value: string) => string[]; diff --git a/node_modules/@smithy/core/dist-types/submodules/serde/value/NumericValue.d.ts b/node_modules/@smithy/core/dist-types/submodules/serde/value/NumericValue.d.ts new file mode 100644 index 0000000..f9da63d --- /dev/null +++ b/node_modules/@smithy/core/dist-types/submodules/serde/value/NumericValue.d.ts @@ -0,0 +1,33 @@ +/** + * Types which may be represented by {@link NumericValue}. + * + * There is currently only one option, because BigInteger and Long should + * use JS BigInt directly, and all other numeric types can be contained in JS Number. + * + * @public + */ +export type NumericType = "bigDecimal"; +/** + * Serialization container for Smithy simple types that do not have a + * direct JavaScript runtime representation. + * + * This container does not perform numeric mathematical operations. + * It is a container for discerning a value's true type. + * + * It allows storage of numeric types not representable in JS without + * making a decision on what numeric library to use. + * + * @public + */ +export declare class NumericValue { + readonly string: string; + readonly type: NumericType; + constructor(string: string, type: NumericType); + toString(): string; + static [Symbol.hasInstance](object: unknown): boolean; +} +/** + * Serde shortcut. + * @internal + */ +export declare function nv(input: string | unknown): NumericValue; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/getSmithyContext.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/getSmithyContext.d.ts new file mode 100644 index 0000000..523ee47 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/getSmithyContext.d.ts @@ -0,0 +1,5 @@ +import { HandlerExecutionContext } from "@smithy/types"; +/** + * @internal + */ +export declare const getSmithyContext: (context: HandlerExecutionContext) => Record; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..82c90b9 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts @@ -0,0 +1,8 @@ +export * from "./getSmithyContext"; +export * from "./middleware-http-auth-scheme"; +export * from "./middleware-http-signing"; +export * from "./normalizeProvider"; +export { createPaginator } from "./pagination/createPaginator"; +export * from "./request-builder/requestBuilder"; +export * from "./setFeature"; +export * from "./util-identity-and-auth"; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts new file mode 100644 index 0000000..996b0de --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts @@ -0,0 +1,18 @@ +import { HandlerExecutionContext, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, IdentityProviderConfig, Pluggable, RelativeMiddlewareOptions, SerializeHandlerOptions } from "@smithy/types"; +import { PreviouslyResolved } from "./httpAuthSchemeMiddleware"; +/** + * @internal + */ +export declare const httpAuthSchemeEndpointRuleSetMiddlewareOptions: SerializeHandlerOptions & RelativeMiddlewareOptions; +/** + * @internal + */ +interface HttpAuthSchemeEndpointRuleSetPluginOptions { + httpAuthSchemeParametersProvider: HttpAuthSchemeParametersProvider; + identityProviderConfigProvider: (config: TConfig) => Promise; +} +/** + * @internal + */ +export declare const getHttpAuthSchemeEndpointRuleSetPlugin: (config: TConfig & PreviouslyResolved, { httpAuthSchemeParametersProvider, identityProviderConfigProvider, }: HttpAuthSchemeEndpointRuleSetPluginOptions) => Pluggable; +export {}; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts new file mode 100644 index 0000000..2e57733 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts @@ -0,0 +1,18 @@ +import { HandlerExecutionContext, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, IdentityProviderConfig, Pluggable, RelativeMiddlewareOptions, SerializeHandlerOptions } from "@smithy/types"; +import { PreviouslyResolved } from "./httpAuthSchemeMiddleware"; +/** + * @internal + */ +export declare const httpAuthSchemeMiddlewareOptions: SerializeHandlerOptions & RelativeMiddlewareOptions; +/** + * @internal + */ +interface HttpAuthSchemePluginOptions { + httpAuthSchemeParametersProvider: HttpAuthSchemeParametersProvider; + identityProviderConfigProvider: (config: TConfig) => Promise; +} +/** + * @internal + */ +export declare const getHttpAuthSchemePlugin: (config: TConfig & PreviouslyResolved, { httpAuthSchemeParametersProvider, identityProviderConfigProvider, }: HttpAuthSchemePluginOptions) => Pluggable; +export {}; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts new file mode 100644 index 0000000..50f1ea8 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts @@ -0,0 +1,33 @@ +import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, IdentityProviderConfig, Provider, SelectedHttpAuthScheme, SerializeMiddleware, SMITHY_CONTEXT_KEY } from "@smithy/types"; +/** + * @internal + */ +export interface PreviouslyResolved { + authSchemePreference?: Provider; + httpAuthSchemes: HttpAuthScheme[]; + httpAuthSchemeProvider: HttpAuthSchemeProvider; +} +/** + * @internal + */ +interface HttpAuthSchemeMiddlewareOptions { + httpAuthSchemeParametersProvider: HttpAuthSchemeParametersProvider; + identityProviderConfigProvider: (config: TConfig) => Promise; +} +/** + * @internal + */ +interface HttpAuthSchemeMiddlewareSmithyContext extends Record { + selectedHttpAuthScheme?: SelectedHttpAuthScheme; +} +/** + * @internal + */ +interface HttpAuthSchemeMiddlewareHandlerExecutionContext extends HandlerExecutionContext { + [SMITHY_CONTEXT_KEY]?: HttpAuthSchemeMiddlewareSmithyContext; +} +/** + * @internal + */ +export declare const httpAuthSchemeMiddleware: (config: TConfig & PreviouslyResolved, mwOptions: HttpAuthSchemeMiddlewareOptions) => SerializeMiddleware; +export {}; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/index.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/index.d.ts new file mode 100644 index 0000000..5042e7d --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/index.d.ts @@ -0,0 +1,3 @@ +export * from "./httpAuthSchemeMiddleware"; +export * from "./getHttpAuthSchemeEndpointRuleSetPlugin"; +export * from "./getHttpAuthSchemePlugin"; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/resolveAuthOptions.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/resolveAuthOptions.d.ts new file mode 100644 index 0000000..52fc604 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/resolveAuthOptions.d.ts @@ -0,0 +1,10 @@ +import { HttpAuthOption } from "@smithy/types"; +/** + * Resolves list of auth options based on the supported ones, vs the preference list. + * + * @param candidateAuthOptions list of supported auth options selected by the standard + * resolution process (model-based, endpoints 2.0, etc.) + * @param authSchemePreference list of auth schemes preferred by user. + * @returns + */ +export declare const resolveAuthOptions: (candidateAuthOptions: HttpAuthOption[], authSchemePreference: string[]) => HttpAuthOption[]; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/getHttpSigningMiddleware.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/getHttpSigningMiddleware.d.ts new file mode 100644 index 0000000..56c89a2 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/getHttpSigningMiddleware.d.ts @@ -0,0 +1,9 @@ +import { FinalizeRequestHandlerOptions, Pluggable, RelativeMiddlewareOptions } from "@smithy/types"; +/** + * @internal + */ +export declare const httpSigningMiddlewareOptions: FinalizeRequestHandlerOptions & RelativeMiddlewareOptions; +/** + * @internal + */ +export declare const getHttpSigningPlugin: (config: object) => Pluggable; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/httpSigningMiddleware.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/httpSigningMiddleware.d.ts new file mode 100644 index 0000000..3b43611 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/httpSigningMiddleware.d.ts @@ -0,0 +1,5 @@ +import { FinalizeRequestMiddleware } from "@smithy/types"; +/** + * @internal + */ +export declare const httpSigningMiddleware: (config: object) => FinalizeRequestMiddleware; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/index.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/index.d.ts new file mode 100644 index 0000000..7bc6cfe --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/index.d.ts @@ -0,0 +1,2 @@ +export * from "./httpSigningMiddleware"; +export * from "./getHttpSigningMiddleware"; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/normalizeProvider.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/normalizeProvider.d.ts new file mode 100644 index 0000000..4fe2d9a --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/normalizeProvider.d.ts @@ -0,0 +1,7 @@ +import { Provider } from "@smithy/types"; +/** + * @internal + * + * @returns a provider function for the input value if it isn't already one. + */ +export declare const normalizeProvider: (input: T | Provider) => Provider; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/pagination/createPaginator.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/pagination/createPaginator.d.ts new file mode 100644 index 0000000..64fd95e --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/pagination/createPaginator.d.ts @@ -0,0 +1,7 @@ +import { PaginationConfiguration, Paginator } from "@smithy/types"; +/** + * @internal + * + * Creates a paginator. + */ +export declare function createPaginator(ClientCtor: any, CommandCtor: any, inputTokenName: string, outputTokenName: string, pageSizeTokenName?: string): (config: PaginationConfigType, input: InputType, ...additionalArguments: any[]) => Paginator; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/request-builder/requestBuilder.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/request-builder/requestBuilder.d.ts new file mode 100644 index 0000000..8e2f2ef --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/request-builder/requestBuilder.d.ts @@ -0,0 +1,5 @@ +/** + * @internal + * Backwards compatibility re-export. + */ +export { requestBuilder } from "@smithy/core/protocols"; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts new file mode 100644 index 0000000..fa83352 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts @@ -0,0 +1,12 @@ +import { HandlerExecutionContext, SmithyFeatures } from "@smithy/types"; +/** + * @internal + * Indicates to the request context that a given feature is active. + * + * @param context - handler execution context. + * @param feature - readable name of feature. + * @param value - encoding value of feature. This is required because the + * specification asks the library not to include a runtime lookup of all + * the feature identifiers. + */ +export declare function setFeature(context: HandlerExecutionContext, feature: F, value: SmithyFeatures[F]): void; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts new file mode 100644 index 0000000..4f598f9 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts @@ -0,0 +1,33 @@ +import { SerdeContext } from "@smithy/core/protocols"; +import { Codec, Schema, ShapeDeserializer, ShapeSerializer } from "@smithy/types"; +/** + * @public + */ +export declare class CborCodec extends SerdeContext implements Codec { + createSerializer(): CborShapeSerializer; + createDeserializer(): CborShapeDeserializer; +} +/** + * @public + */ +export declare class CborShapeSerializer extends SerdeContext implements ShapeSerializer { + private value; + write(schema: Schema, value: unknown): void; + /** + * Recursive serializer transform that copies and prepares the user input object + * for CBOR serialization. + */ + serialize(schema: Schema, source: unknown): any; + flush(): Uint8Array; +} +/** + * @public + */ +export declare class CborShapeDeserializer extends SerdeContext implements ShapeDeserializer { + read(schema: Schema, bytes: Uint8Array): any; + /** + * Public because it's called by the protocol implementation to deserialize errors. + * @internal + */ + readValue(_schema: Schema, value: any): any; +} diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts new file mode 100644 index 0000000..8b69d0f --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts @@ -0,0 +1,28 @@ +import { RpcProtocol } from "@smithy/core/protocols"; +import { TypeRegistry } from "@smithy/core/schema"; +import { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, SerdeFunctions } from "@smithy/types"; +import { CborCodec } from "./CborCodec"; +/** + * Client protocol for Smithy RPCv2 CBOR. + * + * @public + */ +export declare class SmithyRpcV2CborProtocol extends RpcProtocol { + /** + * @override + */ + protected compositeErrorRegistry: TypeRegistry; + private codec; + protected serializer: import("./CborCodec").CborShapeSerializer; + protected deserializer: import("./CborCodec").CborShapeDeserializer; + constructor({ defaultNamespace, errorTypeRegistries, }: { + defaultNamespace: string; + errorTypeRegistries?: TypeRegistry[]; + }); + getShapeId(): string; + getPayloadCodec(): CborCodec; + serializeRequest(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise; + deserializeResponse(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise; + protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any, metadata: ResponseMetadata): Promise; + protected getDefaultContentType(): string; +} diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts new file mode 100644 index 0000000..698c544 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts @@ -0,0 +1,6 @@ +/** + * Prints bytes as binary string with numbers. + * @param bytes - to print. + * @deprecated for testing only, do not use in runtime. + */ +export declare function printBytes(bytes: Uint8Array): string[]; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts new file mode 100644 index 0000000..baf3961 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts @@ -0,0 +1,17 @@ +import { CborValueType, Float32, Uint8, Uint32 } from "./cbor-types"; +/** + * @internal + * @param bytes - to be set as the decode source. + * + * Sets the decode bytearray source and its data view. + */ +export declare function setPayload(bytes: Uint8Array): void; +/** + * @internal + * Decodes the data between the two indices. + */ +export declare function decode(at: Uint32, to: Uint32): CborValueType; +/** + * @internal + */ +export declare function bytesToFloat16(a: Uint8, b: Uint8): Float32; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts new file mode 100644 index 0000000..bfc3328 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts @@ -0,0 +1,9 @@ +/** + * @internal + */ +export declare function toUint8Array(): Uint8Array; +export declare function resize(size: number): void; +/** + * @param _input - JS data object. + */ +export declare function encode(_input: any): void; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts new file mode 100644 index 0000000..66b5fb5 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts @@ -0,0 +1,65 @@ +export type CborItemType = undefined | boolean | number | bigint | [ + CborUnstructuredByteStringType, + Uint64 +] | string | CborTagType; +export type CborTagType = { + tag: Uint64 | number; + value: CborValueType; + [tagSymbol]: true; +}; +export type CborUnstructuredByteStringType = Uint8Array; +export type CborListType = Array; +export type CborMapType = Record; +export type CborCollectionType = CborMapType | CborListType; +export type CborValueType = CborItemType | CborCollectionType | any; +export type CborArgumentLength = 1 | 2 | 4 | 8; +export type CborArgumentLengthOffset = 1 | 2 | 3 | 5 | 9; +export type CborOffset = number; +export type Uint8 = number; +export type Uint32 = number; +export type Uint64 = bigint; +export type Float32 = number; +export type Int64 = bigint; +export type Float16Binary = number; +export type Float32Binary = number; +export type CborMajorType = typeof majorUint64 | typeof majorNegativeInt64 | typeof majorUnstructuredByteString | typeof majorUtf8String | typeof majorList | typeof majorMap | typeof majorTag | typeof majorSpecial; +export declare const majorUint64 = 0; +export declare const majorNegativeInt64 = 1; +export declare const majorUnstructuredByteString = 2; +export declare const majorUtf8String = 3; +export declare const majorList = 4; +export declare const majorMap = 5; +export declare const majorTag = 6; +export declare const majorSpecial = 7; +export declare const specialFalse = 20; +export declare const specialTrue = 21; +export declare const specialNull = 22; +export declare const specialUndefined = 23; +export declare const extendedOneByte = 24; +export declare const extendedFloat16 = 25; +export declare const extendedFloat32 = 26; +export declare const extendedFloat64 = 27; +export declare const minorIndefinite = 31; +export declare function alloc(size: number): Uint8Array; +/** + * @public + * + * The presence of this symbol as an object key indicates it should be considered a tag + * for CBOR serialization purposes. + * + * The object must also have the properties "tag" and "value". + */ +export declare const tagSymbol: unique symbol; +/** + * @public + * Applies the tag symbol to the object. + */ +export declare function tag(data: { + tag: number | bigint; + value: any; + [tagSymbol]?: true; +}): { + tag: number | bigint; + value: any; + [tagSymbol]: true; +}; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts new file mode 100644 index 0000000..7577213 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts @@ -0,0 +1,26 @@ +/** + * This implementation is synchronous and only implements the parts of CBOR + * specification used by Smithy RPCv2 CBOR protocol. + * + * This cbor serde implementation is derived from AWS SDK for Go's implementation. + * @see https://github.com/aws/smithy-go/tree/main/encoding/cbor + * + * The cbor-x implementation was also instructional: + * @see https://github.com/kriszyp/cbor-x + */ +export declare const cbor: { + deserialize(payload: Uint8Array): any; + serialize(input: any): Uint8Array; + /** + * @public + * @param size - byte length to allocate. + * + * This may be used to garbage collect the CBOR + * shared encoding buffer space, + * e.g. resizeEncodingBuffer(0); + * + * This may also be used to pre-allocate more space for + * CBOR encoding, e.g. resizeEncodingBuffer(100_000_000); + */ + resizeEncodingBuffer(size: number): void; +}; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts new file mode 100644 index 0000000..c53524e --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts @@ -0,0 +1,5 @@ +export { cbor } from "./cbor"; +export { tag, tagSymbol } from "./cbor-types"; +export * from "./parseCborBody"; +export * from "./SmithyRpcV2CborProtocol"; +export * from "./CborCodec"; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts new file mode 100644 index 0000000..0a0ab0c --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts @@ -0,0 +1,31 @@ +import { HttpRequest as __HttpRequest } from "@smithy/protocol-http"; +import { HeaderBag as __HeaderBag, HttpResponse, SerdeContext as __SerdeContext, SerdeContext } from "@smithy/types"; +import { tagSymbol } from "./cbor-types"; +/** + * @internal + */ +export declare const parseCborBody: (streamBody: any, context: SerdeContext) => any; +/** + * @internal + */ +export declare const dateToTag: (date: Date) => { + tag: number | bigint; + value: any; + [tagSymbol]: true; +}; +/** + * @internal + */ +export declare const parseCborErrorBody: (errorBody: any, context: SerdeContext) => Promise; +/** + * @internal + */ +export declare const loadSmithyRpcV2CborErrorCode: (output: HttpResponse, data: any) => string | undefined; +/** + * @internal + */ +export declare const checkCborResponse: (response: HttpResponse) => void; +/** + * @internal + */ +export declare const buildHttpRpcRequest: (context: __SerdeContext, headers: __HeaderBag, path: string, resolvedHostname: string | undefined, body: any) => Promise<__HttpRequest>; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts new file mode 100644 index 0000000..a88df65 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts @@ -0,0 +1 @@ +export * from "./toEndpointV1"; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts new file mode 100644 index 0000000..daf7ef0 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts @@ -0,0 +1,6 @@ +import { Endpoint, EndpointV2 } from "@smithy/types"; +/** + * Converts an endpoint to EndpointV1 format. + * @internal + */ +export declare const toEndpointV1: (endpoint: string | Endpoint | EndpointV2) => Endpoint; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts new file mode 100644 index 0000000..d911528 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts @@ -0,0 +1,60 @@ +import { NormalizedSchema } from "@smithy/core/schema"; +import { EventStreamMarshaller, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types"; +/** + * Separated module for async mixin of EventStream serde capability. + * This is used by the HttpProtocol base class from \@smithy/core/protocols. + * + * @public + */ +export declare class EventStreamSerde { + private readonly marshaller; + private readonly serializer; + private readonly deserializer; + private readonly serdeContext?; + private readonly defaultContentType; + /** + * Properties are injected by the HttpProtocol. + */ + constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType, }: { + marshaller: EventStreamMarshaller; + serializer: ShapeSerializer; + deserializer: ShapeDeserializer; + serdeContext?: SerdeFunctions; + defaultContentType: string; + }); + /** + * @param eventStream - the iterable provided by the caller. + * @param requestSchema - the schema of the event stream container (struct). + * @param [initialRequest] - only provided if the initial-request is part of the event stream (RPC). + * + * @returns a stream suitable for the HTTP body of a request. + */ + serializeEventStream({ eventStream, requestSchema, initialRequest, }: { + eventStream: AsyncIterable; + requestSchema: NormalizedSchema; + initialRequest?: any; + }): Promise; + /** + * @param response - http response from which to read the event stream. + * @param unionSchema - schema of the event stream container (struct). + * @param [initialResponseContainer] - provided and written to only if the initial response is part of the event stream (RPC). + * + * @returns the asyncIterable of the event stream for the end-user. + */ + deserializeEventStream({ response, responseSchema, initialResponseContainer, }: { + response: IHttpResponse; + responseSchema: NormalizedSchema; + initialResponseContainer?: any; + }): Promise>; + /** + * @param unionMember - member name within the structure that contains an event stream union. + * @param unionSchema - schema of the union. + * @param event + * + * @returns the event body (bytes) and event type (string). + */ + private writeEventBody; +} diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts new file mode 100644 index 0000000..849f48c --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts @@ -0,0 +1 @@ +export * from "./EventStreamSerde"; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts new file mode 100644 index 0000000..8921681 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts @@ -0,0 +1,31 @@ +import { TypeRegistry, NormalizedSchema } from "@smithy/core/schema"; +import { HttpRequest } from "@smithy/protocol-http"; +import { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, Schema, SerdeFunctions } from "@smithy/types"; +import { HttpProtocol } from "./HttpProtocol"; +/** + * Base for HTTP-binding protocols. Downstream examples + * include AWS REST JSON and AWS REST XML. + * + * @public + */ +export declare abstract class HttpBindingProtocol extends HttpProtocol { + /** + * @override + */ + protected compositeErrorRegistry: TypeRegistry; + serializeRequest(operationSchema: OperationSchema, _input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise; + protected serializeQuery(ns: NormalizedSchema, data: any, query: HttpRequest["query"]): void; + deserializeResponse(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise; + /** + * The base method ignores HTTP bindings. + * + * @deprecated (only this signature) use signature without headerBindings. + * @override + */ + protected deserializeHttpMessage(schema: Schema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, headerBindings: Set, dataObject: any): Promise; + protected deserializeHttpMessage(schema: Schema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any): Promise; +} diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts new file mode 100644 index 0000000..f48fea4 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts @@ -0,0 +1,89 @@ +import { EventStreamSerde } from "@smithy/core/event-streams"; +import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema"; +import { ClientProtocol, Codec, Endpoint, EndpointBearer, EndpointV2, EventStreamMarshaller, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, Schema, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types"; +import { SerdeContext } from "./SerdeContext"; +/** + * Abstract base for HTTP-based client protocols. + * + * @public + */ +export declare abstract class HttpProtocol extends SerdeContext implements ClientProtocol { + readonly options: { + defaultNamespace: string; + errorTypeRegistries?: TypeRegistry[]; + }; + /** + * An error registry having the namespace of the modeled service, + * but combining all error schemas found within the service closure. + * + * Used to look up error schema during deserialization. + */ + protected compositeErrorRegistry: TypeRegistry; + protected abstract serializer: ShapeSerializer; + protected abstract deserializer: ShapeDeserializer; + /** + * @param options.defaultNamespace - used by various implementing classes. + * @param options.errorTypeRegistries - registry instances that contribute to error deserialization. + */ + protected constructor(options: { + defaultNamespace: string; + errorTypeRegistries?: TypeRegistry[]; + }); + abstract getShapeId(): string; + abstract getPayloadCodec(): Codec; + getRequestType(): new (...args: any[]) => IHttpRequest; + getResponseType(): new (...args: any[]) => IHttpResponse; + /** + * @override + */ + setSerdeContext(serdeContext: SerdeFunctions): void; + abstract serializeRequest(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise; + updateServiceEndpoint(request: IHttpRequest, endpoint: EndpointV2 | Endpoint): IHttpRequest; + abstract deserializeResponse(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise; + protected setHostPrefix(request: IHttpRequest, operationSchema: OperationSchema, input: Input): void; + protected abstract handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any, metadata: ResponseMetadata): Promise; + protected deserializeMetadata(output: IHttpResponse): ResponseMetadata; + /** + * @param eventStream - the iterable provided by the caller. + * @param requestSchema - the schema of the event stream container (struct). + * @param [initialRequest] - only provided if the initial-request is part of the event stream (RPC). + * + * @returns a stream suitable for the HTTP body of a request. + */ + protected serializeEventStream({ eventStream, requestSchema, initialRequest, }: { + eventStream: AsyncIterable; + requestSchema: NormalizedSchema; + initialRequest?: any; + }): Promise; + /** + * @param response - http response from which to read the event stream. + * @param unionSchema - schema of the event stream container (struct). + * @param [initialResponseContainer] - provided and written to only if the initial response is part of the event stream (RPC). + * + * @returns the asyncIterable of the event stream. + */ + protected deserializeEventStream({ response, responseSchema, initialResponseContainer, }: { + response: IHttpResponse; + responseSchema: NormalizedSchema; + initialResponseContainer?: any; + }): Promise>; + /** + * Loads eventStream capability async (for chunking). + */ + protected loadEventStreamCapability(): Promise; + /** + * @returns content-type default header value for event stream events and other documents. + */ + protected getDefaultContentType(): string; + /** + * For HTTP binding protocols, this method is overridden in {@link HttpBindingProtocol}. + * + * @deprecated only use this for HTTP binding protocols. + */ + protected deserializeHttpMessage(schema: Schema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, headerBindings: Set, dataObject: any): Promise; + protected deserializeHttpMessage(schema: Schema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any): Promise; + protected getEventStreamMarshaller(): EventStreamMarshaller; +} diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts new file mode 100644 index 0000000..36c5da9 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts @@ -0,0 +1,16 @@ +import { TypeRegistry } from "@smithy/core/schema"; +import { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, SerdeFunctions } from "@smithy/types"; +import { HttpProtocol } from "./HttpProtocol"; +/** + * Abstract base for RPC-over-HTTP protocols. + * + * @public + */ +export declare abstract class RpcProtocol extends HttpProtocol { + /** + * @override + */ + protected compositeErrorRegistry: TypeRegistry; + serializeRequest(operationSchema: OperationSchema, _input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise; + deserializeResponse(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise; +} diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts new file mode 100644 index 0000000..f6d5132 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts @@ -0,0 +1,16 @@ +import { ConfigurableSerdeContext, SerdeFunctions } from "@smithy/types"; +/** + * This in practice should be the client config object. + * @internal + */ +type SerdeContextType = SerdeFunctions & { + disableHostPrefix?: boolean; +}; +/** + * @internal + */ +export declare abstract class SerdeContext implements ConfigurableSerdeContext { + protected serdeContext?: SerdeContextType; + setSerdeContext(serdeContext: SerdeContextType): void; +} +export {}; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts new file mode 100644 index 0000000..c649668 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts @@ -0,0 +1,10 @@ +import { SerdeContext } from "@smithy/types"; +import { Uint8ArrayBlobAdapter } from "@smithy/util-stream"; +/** + * @internal + * + * Collect low-level response body stream to Uint8Array. + */ +export declare const collectBody: (streamBody: any | undefined, context: { + streamCollector: SerdeContext["streamCollector"]; +}) => Promise; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts new file mode 100644 index 0000000..403e9ae --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts @@ -0,0 +1,7 @@ +/** + * @internal + * + * Function that wraps encodeURIComponent to encode additional characters + * to fully adhere to RFC 3986. + */ +export declare function extendedEncodeURIComponent(str: string): string; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts new file mode 100644 index 0000000..5cc40c5 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts @@ -0,0 +1,13 @@ +export * from "./collect-stream-body"; +export * from "./extended-encode-uri-component"; +export * from "./HttpBindingProtocol"; +export * from "./HttpProtocol"; +export * from "./RpcProtocol"; +export * from "./requestBuilder"; +export * from "./resolve-path"; +export * from "./serde/FromStringShapeDeserializer"; +export * from "./serde/HttpInterceptingShapeDeserializer"; +export * from "./serde/HttpInterceptingShapeSerializer"; +export * from "./serde/ToStringShapeSerializer"; +export * from "./serde/determineTimestampFormat"; +export * from "./SerdeContext"; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts new file mode 100644 index 0000000..424f6ef --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts @@ -0,0 +1,51 @@ +import { HttpRequest } from "@smithy/protocol-http"; +import { SerdeContext } from "@smithy/types"; +/** + * @internal + * used in code-generated serde. + */ +export declare function requestBuilder(input: any, context: SerdeContext): RequestBuilder; +/** + * @internal + */ +export declare class RequestBuilder { + private input; + private context; + private query; + private method; + private headers; + private path; + private body; + private hostname; + private resolvePathStack; + constructor(input: any, context: SerdeContext); + build(): Promise; + /** + * Brevity setter for "hostname". + */ + hn(hostname: string): this; + /** + * Brevity initial builder for "basepath". + */ + bp(uriLabel: string): this; + /** + * Brevity incremental builder for "path". + */ + p(memberName: string, labelValueProvider: () => string | undefined, uriLabel: string, isGreedyLabel: boolean): this; + /** + * Brevity setter for "headers". + */ + h(headers: Record): this; + /** + * Brevity setter for "query". + */ + q(query: Record): this; + /** + * Brevity setter for "body". + */ + b(body: any): this; + /** + * Brevity setter for "method". + */ + m(method: string): this; +} diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts new file mode 100644 index 0000000..03386d6 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const resolvedPath: (resolvedPath: string, input: unknown, memberName: string, labelValueProvider: () => string | undefined, uriLabel: string, isGreedyLabel: boolean) => string; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts new file mode 100644 index 0000000..682bce2 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts @@ -0,0 +1,13 @@ +import { CodecSettings, Schema, ShapeDeserializer } from "@smithy/types"; +import { SerdeContext } from "../SerdeContext"; +/** + * This deserializer reads strings. + * + * @public + */ +export declare class FromStringShapeDeserializer extends SerdeContext implements ShapeDeserializer { + private settings; + constructor(settings: CodecSettings); + read(_schema: Schema, data: string): any; + private base64ToUtf8; +} diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts new file mode 100644 index 0000000..d044bfa --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts @@ -0,0 +1,21 @@ +import { CodecSettings, Schema, SerdeFunctions, ShapeDeserializer } from "@smithy/types"; +import { SerdeContext } from "../SerdeContext"; +/** + * This deserializer is a dispatcher that decides whether to use a string deserializer + * or a codec deserializer based on HTTP traits. + * + * For example, in a JSON HTTP message, the deserialization of a field will differ depending on whether + * it is bound to the HTTP header (string) or body (JSON). + * + * @public + */ +export declare class HttpInterceptingShapeDeserializer> extends SerdeContext implements ShapeDeserializer { + private codecDeserializer; + private stringDeserializer; + constructor(codecDeserializer: CodecShapeDeserializer, codecSettings: CodecSettings); + /** + * @override + */ + setSerdeContext(serdeContext: SerdeFunctions): void; + read(schema: Schema, data: string | Uint8Array): any | Promise; +} diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts new file mode 100644 index 0000000..cf4b91b --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts @@ -0,0 +1,23 @@ +import { CodecSettings, ConfigurableSerdeContext, Schema as ISchema, SerdeFunctions, ShapeSerializer } from "@smithy/types"; +import { ToStringShapeSerializer } from "./ToStringShapeSerializer"; +/** + * This serializer decides whether to dispatch to a string serializer or a codec serializer + * depending on HTTP binding traits within the given schema. + * + * For example, a JavaScript array is serialized differently when being written + * to a REST JSON HTTP header (comma-delimited string) and a REST JSON HTTP body (JSON array). + * + * @public + */ +export declare class HttpInterceptingShapeSerializer> implements ShapeSerializer, ConfigurableSerdeContext { + private codecSerializer; + private stringSerializer; + private buffer; + constructor(codecSerializer: CodecShapeSerializer, codecSettings: CodecSettings, stringSerializer?: ToStringShapeSerializer); + /** + * @override + */ + setSerdeContext(serdeContext: SerdeFunctions): void; + write(schema: ISchema, value: unknown): void; + flush(): string | Uint8Array; +} diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts new file mode 100644 index 0000000..387f219 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts @@ -0,0 +1,14 @@ +import { CodecSettings, Schema, ShapeSerializer } from "@smithy/types"; +import { SerdeContext } from "../SerdeContext"; +/** + * Serializes a shape to string. + * + * @public + */ +export declare class ToStringShapeSerializer extends SerdeContext implements ShapeSerializer { + private settings; + private stringBuffer; + constructor(settings: CodecSettings); + write(schema: Schema, value: unknown): void; + flush(): string; +} diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts new file mode 100644 index 0000000..66f2cc5 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts @@ -0,0 +1,9 @@ +import { NormalizedSchema } from "@smithy/core/schema"; +import { CodecSettings, TimestampDateTimeSchema, TimestampEpochSecondsSchema, TimestampHttpDateSchema } from "@smithy/types"; +/** + * Assuming the schema is a timestamp type, the function resolves the format using + * either the timestamp's own traits, or the default timestamp format from the CodecSettings. + * + * @internal + */ +export declare function determineTimestampFormat(ns: NormalizedSchema, settings: CodecSettings): TimestampDateTimeSchema | TimestampHttpDateSchema | TimestampEpochSecondsSchema; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts new file mode 100644 index 0000000..d99a566 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts @@ -0,0 +1,71 @@ +import { Schema as ISchema, StaticErrorSchema } from "@smithy/types"; +import { ErrorSchema } from "./schemas/ErrorSchema"; +/** + * A way to look up schema by their ShapeId values. + * + * @public + */ +export declare class TypeRegistry { + readonly namespace: string; + private schemas; + private exceptions; + static readonly registries: Map; + private constructor(); + /** + * @param namespace - specifier. + * @returns the schema for that namespace, creating it if necessary. + */ + static for(namespace: string): TypeRegistry; + /** + * Copies entries from another instance without changing the namespace of self. + * The composition is additive but non-destructive and will not overwrite existing entries. + * + * @param other - another TypeRegistry. + */ + copyFrom(other: TypeRegistry): void; + /** + * Adds the given schema to a type registry with the same namespace, and this registry. + * + * @param shapeId - to be registered. + * @param schema - to be registered. + */ + register(shapeId: string, schema: ISchema): void; + /** + * @param shapeId - query. + * @returns the schema. + */ + getSchema(shapeId: string): ISchema; + /** + * Associates an error schema with its constructor. + */ + registerError(es: ErrorSchema | StaticErrorSchema, ctor: any): void; + /** + * @param es - query. + * @returns Error constructor that extends the service's base exception. + */ + getErrorCtor(es: ErrorSchema | StaticErrorSchema): any; + /** + * The smithy-typescript code generator generates a synthetic (i.e. unmodeled) base exception, + * because generated SDKs before the introduction of schemas have the notion of a ServiceBaseException, which + * is unique per service/model. + * + * This is generated under a unique prefix that is combined with the service namespace, and this + * method is used to retrieve it. + * + * The base exception synthetic schema is used when an error is returned by a service, but we cannot + * determine what existing schema to use to deserialize it. + * + * @returns the synthetic base exception of the service namespace associated with this registry instance. + */ + getBaseException(): StaticErrorSchema | undefined; + /** + * @param predicate - criterion. + * @returns a schema in this registry matching the predicate. + */ + find(predicate: (schema: ISchema) => boolean): ISchema | undefined; + /** + * Unloads the current TypeRegistry. + */ + clear(): void; + private normalizeShapeId; +} diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts new file mode 100644 index 0000000..4e68515 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts @@ -0,0 +1,6 @@ +import { Schema, SchemaRef } from "@smithy/types"; +/** + * Dereferences a SchemaRef if needed. + * @internal + */ +export declare const deref: (schemaRef: SchemaRef) => Schema; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts new file mode 100644 index 0000000..fe9508c --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts @@ -0,0 +1,14 @@ +export * from "./deref"; +export * from "./middleware/getSchemaSerdePlugin"; +export * from "./schemas/ListSchema"; +export * from "./schemas/MapSchema"; +export * from "./schemas/OperationSchema"; +export * from "./schemas/operation"; +export * from "./schemas/ErrorSchema"; +export * from "./schemas/NormalizedSchema"; +export * from "./schemas/Schema"; +export * from "./schemas/SimpleSchema"; +export * from "./schemas/StructureSchema"; +export * from "./schemas/sentinels"; +export * from "./schemas/translateTraits"; +export * from "./TypeRegistry"; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts new file mode 100644 index 0000000..7311eb3 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts @@ -0,0 +1,14 @@ +import { DeserializeHandlerOptions, MetadataBearer, Pluggable, SerializeHandlerOptions } from "@smithy/types"; +import { PreviouslyResolved } from "./schema-middleware-types"; +/** + * @internal + */ +export declare const deserializerMiddlewareOption: DeserializeHandlerOptions; +/** + * @internal + */ +export declare const serializerMiddlewareOption: SerializeHandlerOptions; +/** + * @internal + */ +export declare function getSchemaSerdePlugin(config: PreviouslyResolved): Pluggable; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts new file mode 100644 index 0000000..8cf6631 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts @@ -0,0 +1,11 @@ +import { ClientProtocol, SerdeContext, UrlParser } from "@smithy/types"; +/** + * @internal + */ +export type PreviouslyResolved = Pick; +}, Exclude; +}), "endpoint">>; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts new file mode 100644 index 0000000..3f1cace --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts @@ -0,0 +1,9 @@ +import { DeserializeHandler, DeserializeHandlerArguments, HandlerExecutionContext } from "@smithy/types"; +import { PreviouslyResolved } from "./schema-middleware-types"; +/** + * @internal + */ +export declare const schemaDeserializationMiddleware: (config: PreviouslyResolved) => (next: DeserializeHandler, context: HandlerExecutionContext) => (args: DeserializeHandlerArguments) => Promise<{ + response: unknown; + output: O; +}>; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts new file mode 100644 index 0000000..ecb8198 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts @@ -0,0 +1,6 @@ +import { HandlerExecutionContext, SerializeHandler, SerializeHandlerArguments } from "@smithy/types"; +import { PreviouslyResolved } from "./schema-middleware-types"; +/** + * @internal + */ +export declare const schemaSerializationMiddleware: (config: PreviouslyResolved) => (next: SerializeHandler, context: HandlerExecutionContext) => (args: SerializeHandlerArguments) => Promise>; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts new file mode 100644 index 0000000..348f1c9 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts @@ -0,0 +1,37 @@ +import { SchemaRef, SchemaTraits } from "@smithy/types"; +import { StructureSchema } from "./StructureSchema"; +/** + * A schema for a structure shape having the error trait. These represent enumerated operation errors. + * Because Smithy-TS SDKs use classes for exceptions, whereas plain objects are used for all other data, + * and have an existing notion of a XYZServiceBaseException, the ErrorSchema differs from a StructureSchema + * by additionally holding the class reference for the corresponding ServiceException class. + * + * @internal + * @deprecated use StaticSchema + */ +export declare class ErrorSchema extends StructureSchema { + static readonly symbol: unique symbol; + /** + * @deprecated - field unused. + */ + ctor: any; + protected readonly symbol: symbol; +} +/** + * Factory for ErrorSchema, to reduce codegen output and register the schema. + * + * @internal + * @deprecated use StaticSchema + * + * @param namespace - shapeId namespace. + * @param name - shapeId name. + * @param traits - shape level serde traits. + * @param memberNames - list of member names. + * @param memberList - list of schemaRef corresponding to each + * @param ctor - class reference for the existing Error extending class. + */ +export declare const error: (namespace: string, name: string, traits: SchemaTraits, memberNames: string[], memberList: SchemaRef[], +/** + * @deprecated - field unused. + */ +ctor?: any) => ErrorSchema; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts new file mode 100644 index 0000000..353ec24 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts @@ -0,0 +1,23 @@ +import { ListSchema as IListSchema, SchemaRef, SchemaTraits } from "@smithy/types"; +import { Schema } from "./Schema"; +/** + * A schema with a single member schema. + * The deprecated Set type may be represented as a list. + * + * @internal + * @deprecated use StaticSchema + */ +export declare class ListSchema extends Schema implements IListSchema { + static readonly symbol: unique symbol; + name: string; + traits: SchemaTraits; + valueSchema: SchemaRef; + protected readonly symbol: symbol; +} +/** + * Factory for ListSchema. + * + * @internal + * @deprecated use StaticSchema + */ +export declare const list: (namespace: string, name: string, traits: SchemaTraits, valueSchema: SchemaRef) => ListSchema; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts new file mode 100644 index 0000000..db37774 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts @@ -0,0 +1,24 @@ +import { MapSchema as IMapSchema, SchemaRef, SchemaTraits } from "@smithy/types"; +import { Schema } from "./Schema"; +/** + * A schema with a key schema and value schema. + * @internal + * @deprecated use StaticSchema + */ +export declare class MapSchema extends Schema implements IMapSchema { + static readonly symbol: unique symbol; + name: string; + traits: SchemaTraits; + /** + * This is expected to be StringSchema, but may have traits. + */ + keySchema: SchemaRef; + valueSchema: SchemaRef; + protected readonly symbol: symbol; +} +/** + * Factory for MapSchema. + * @internal + * @deprecated use StaticSchema + */ +export declare const map: (namespace: string, name: string, traits: SchemaTraits, keySchema: SchemaRef, valueSchema: SchemaRef) => MapSchema; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts new file mode 100644 index 0000000..ca95e2e --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts @@ -0,0 +1,146 @@ +import { $MemberSchema, $Schema, $SchemaRef, NormalizedSchema as INormalizedSchema, SchemaRef, SchemaTraitsObject, StaticSchema } from "@smithy/types"; +/** + * Cache for numeric schemaRef. Having separate cache objects for number/string improves + * lookup performance. + * @internal + */ +export declare const simpleSchemaCacheN: Array; +/** + * Cache for string schemaRef. + * @internal + */ +export declare const simpleSchemaCacheS: Record; +/** + * Wraps both class instances, numeric sentinel values, and member schema pairs. + * Presents a consistent interface for interacting with polymorphic schema representations. + * + * @public + */ +export declare class NormalizedSchema implements INormalizedSchema { + readonly ref: $SchemaRef; + private readonly memberName?; + static readonly symbol: unique symbol; + protected readonly symbol: symbol; + private readonly name; + private readonly schema; + private readonly _isMemberSchema; + private readonly traits; + private readonly memberTraits; + private normalizedTraits?; + /** + * @param ref - a polymorphic SchemaRef to be dereferenced/normalized. + * @param memberName - optional memberName if this NormalizedSchema should be considered a member schema. + */ + private constructor(); + static [Symbol.hasInstance](lhs: unknown): lhs is NormalizedSchema; + /** + * Static constructor that attempts to avoid wrapping a NormalizedSchema within another. + */ + static of(ref: SchemaRef | $SchemaRef): NormalizedSchema; + /** + * @returns the underlying non-normalized schema. + */ + getSchema(): Exclude<$Schema, $MemberSchema | INormalizedSchema>; + /** + * @param withNamespace - qualifies the name. + * @returns e.g. `MyShape` or `com.namespace#MyShape`. + */ + getName(withNamespace?: boolean): string | undefined; + /** + * @returns the member name if the schema is a member schema. + */ + getMemberName(): string; + isMemberSchema(): boolean; + /** + * boolean methods on this class help control flow in shape serialization and deserialization. + */ + isListSchema(): boolean; + isMapSchema(): boolean; + /** + * To simplify serialization logic, static union schemas are considered a specialization + * of structs in the TypeScript typings and JS runtime, as well as static error schemas + * which have a different identifier. + */ + isStructSchema(): boolean; + isUnionSchema(): boolean; + isBlobSchema(): boolean; + isTimestampSchema(): boolean; + isUnitSchema(): boolean; + isDocumentSchema(): boolean; + isStringSchema(): boolean; + isBooleanSchema(): boolean; + isNumericSchema(): boolean; + isBigIntegerSchema(): boolean; + isBigDecimalSchema(): boolean; + isStreaming(): boolean; + /** + * @returns whether the schema has the idempotencyToken trait. + */ + isIdempotencyToken(): boolean; + /** + * @returns own traits merged with member traits, where member traits of the same trait key take priority. + * This method is cached. + */ + getMergedTraits(): SchemaTraitsObject; + /** + * @returns only the member traits. If the schema is not a member, this returns empty. + */ + getMemberTraits(): SchemaTraitsObject; + /** + * @returns only the traits inherent to the shape or member target shape if this schema is a member. + * If there are any member traits they are excluded. + */ + getOwnTraits(): SchemaTraitsObject; + /** + * @returns the map's key's schema. Returns a dummy Document schema if this schema is a Document. + * + * @throws Error if the schema is not a Map or Document. + */ + getKeySchema(): NormalizedSchema; + /** + * @returns the schema of the map's value or list's member. + * Returns a dummy Document schema if this schema is a Document. + * + * @throws Error if the schema is not a Map, List, nor Document. + */ + getValueSchema(): NormalizedSchema; + /** + * @returns the NormalizedSchema for the given member name. The returned instance will return true for `isMemberSchema()` + * and will have the member name given. + * @param memberName - which member to retrieve and wrap. + * + * @throws Error if member does not exist or the schema is neither a document nor structure. + * Note that errors are assumed to be structures and unions are considered structures for these purposes. + */ + getMemberSchema(memberName: string): NormalizedSchema; + /** + * This can be used for checking the members as a hashmap. + * Prefer the structIterator method for iteration. + * + * This does NOT return list and map members, it is only for structures. + * + * @deprecated use (checked) structIterator instead. + * + * @returns a map of member names to member schemas (normalized). + */ + getMemberSchemas(): Record; + /** + * @returns member name of event stream or empty string indicating none exists or this + * isn't a structure schema. + */ + getEventStreamMember(): string; + /** + * Allows iteration over members of a structure schema. + * Each yield is a pair of the member name and member schema. + * + * This avoids the overhead of calling Object.entries(ns.getMemberSchemas()). + */ + structIterator(): Generator<[ + string, + NormalizedSchema + ], undefined, undefined>; +} +/** + * @internal + */ +export declare const isStaticSchema: (sc: SchemaRef) => sc is StaticSchema; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts new file mode 100644 index 0000000..c37c20d --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts @@ -0,0 +1,23 @@ +import { OperationSchema as IOperationSchema, SchemaRef, SchemaTraits } from "@smithy/types"; +import { Schema } from "./Schema"; +/** + * This is used as a reference container for the input/output pair of schema, and for trait + * detection on the operation that may affect client protocol logic. + * + * @internal + * @deprecated use StaticSchema + */ +export declare class OperationSchema extends Schema implements IOperationSchema { + static readonly symbol: unique symbol; + name: string; + traits: SchemaTraits; + input: SchemaRef; + output: SchemaRef; + protected readonly symbol: symbol; +} +/** + * Factory for OperationSchema. + * @internal + * @deprecated use StaticSchema + */ +export declare const op: (namespace: string, name: string, traits: SchemaTraits, input: SchemaRef, output: SchemaRef) => OperationSchema; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts new file mode 100644 index 0000000..9c9fcee --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts @@ -0,0 +1,16 @@ +import { SchemaTraits, TraitsSchema } from "@smithy/types"; +/** + * Abstract base for class-based Schema except NormalizedSchema. + * + * @internal + * @deprecated use StaticSchema + */ +export declare abstract class Schema implements TraitsSchema { + name: string; + namespace: string; + traits: SchemaTraits; + protected abstract readonly symbol: symbol; + static assign(instance: T, values: Pick>): T; + static [Symbol.hasInstance](lhs: unknown): boolean; + getName(): string; +} diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts new file mode 100644 index 0000000..6c1e0b7 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts @@ -0,0 +1,28 @@ +import { SchemaRef, SchemaTraits, TraitsSchema } from "@smithy/types"; +import { Schema } from "./Schema"; +/** + * Although numeric values exist for most simple schema, this class is used for cases where traits are + * attached to those schema, since a single number cannot easily represent both a schema and its traits. + * + * @internal + * @deprecated use StaticSchema + */ +export declare class SimpleSchema extends Schema implements TraitsSchema { + static readonly symbol: unique symbol; + name: string; + schemaRef: SchemaRef; + traits: SchemaTraits; + protected readonly symbol: symbol; +} +/** + * Factory for simple schema class objects. + * + * @internal + * @deprecated use StaticSchema + */ +export declare const sim: (namespace: string, name: string, schemaRef: SchemaRef, traits: SchemaTraits) => SimpleSchema; +/** + * @internal + * @deprecated + */ +export declare const simAdapter: (namespace: string, name: string, traits: SchemaTraits, schemaRef: SchemaRef) => SimpleSchema; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts new file mode 100644 index 0000000..2c4c962 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts @@ -0,0 +1,23 @@ +import { SchemaRef, SchemaTraits, StructureSchema as IStructureSchema } from "@smithy/types"; +import { Schema } from "./Schema"; +/** + * A structure schema has a known list of members. This is also used for unions. + * + * @internal + * @deprecated use StaticSchema + */ +export declare class StructureSchema extends Schema implements IStructureSchema { + static symbol: symbol; + name: string; + traits: SchemaTraits; + memberNames: string[]; + memberList: SchemaRef[]; + protected readonly symbol: symbol; +} +/** + * Factory for StructureSchema. + * + * @internal + * @deprecated use StaticSchema + */ +export declare const struct: (namespace: string, name: string, traits: SchemaTraits, memberNames: string[], memberList: SchemaRef[]) => StructureSchema; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts new file mode 100644 index 0000000..efa9024 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts @@ -0,0 +1,7 @@ +import { OperationSchema, SchemaRef, SchemaTraits } from "@smithy/types"; +/** + * Converts the static schema array into an object-form to adapt + * to the signature of ClientProtocol classes. + * @internal + */ +export declare const operation: (namespace: string, name: string, traits: SchemaTraits, input: SchemaRef, output: SchemaRef) => OperationSchema; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts new file mode 100644 index 0000000..9586a8b --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts @@ -0,0 +1,23 @@ +import { BigDecimalSchema, BigIntegerSchema, BlobSchema, BooleanSchema, DocumentSchema, ListSchemaModifier, MapSchemaModifier, NumericSchema, StreamingBlobSchema, StringSchema, TimestampDateTimeSchema, TimestampDefaultSchema, TimestampEpochSecondsSchema, TimestampHttpDateSchema } from "@smithy/types"; +/** + * Schema sentinel runtime values. + * @internal + * + * @deprecated use inline numbers with type annotation to save space. + */ +export declare const SCHEMA: { + BLOB: BlobSchema; + STREAMING_BLOB: StreamingBlobSchema; + BOOLEAN: BooleanSchema; + STRING: StringSchema; + NUMERIC: NumericSchema; + BIG_INTEGER: BigIntegerSchema; + BIG_DECIMAL: BigDecimalSchema; + DOCUMENT: DocumentSchema; + TIMESTAMP_DEFAULT: TimestampDefaultSchema; + TIMESTAMP_DATE_TIME: TimestampDateTimeSchema; + TIMESTAMP_HTTP_DATE: TimestampHttpDateSchema; + TIMESTAMP_EPOCH_SECONDS: TimestampEpochSecondsSchema; + LIST_MODIFIER: ListSchemaModifier; + MAP_MODIFIER: MapSchemaModifier; +}; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts new file mode 100644 index 0000000..ada70de --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts @@ -0,0 +1,13 @@ +import { SchemaTraits, SchemaTraitsObject } from "@smithy/types"; +/** + * Module-level cache for translateTraits() numeric bitmask inputs. + * + * @internal + */ +export declare const traitsCache: SchemaTraitsObject[]; +/** + * @internal + * @param indicator - numeric indicator for preset trait combination. + * @returns equivalent trait object. + */ +export declare function translateTraits(indicator: SchemaTraits): SchemaTraitsObject; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts new file mode 100644 index 0000000..15ec2e9 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts @@ -0,0 +1,6 @@ +import { SchemaRef } from "@smithy/types"; +/** + * @internal + * @deprecated the former functionality has been internalized to the CborCodec. + */ +export declare const copyDocumentWithTransform: (source: any, schemaRef: SchemaRef, transform?: (_: any, schemaRef: SchemaRef) => any) => any; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/date-utils.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/date-utils.d.ts new file mode 100644 index 0000000..99c55f4 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/date-utils.d.ts @@ -0,0 +1,73 @@ +/** + * @internal + * + * Builds a proper UTC HttpDate timestamp from a Date object + * since not all environments will have this as the expected + * format. + * + * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toUTCString} + * - Prior to ECMAScript 2018, the format of the return value + * - varied according to the platform. The most common return + * - value was an RFC-1123 formatted date stamp, which is a + * - slightly updated version of RFC-822 date stamps. + */ +export declare function dateToUtcString(date: Date): string; +/** + * @internal + * + * Parses a value into a Date. Returns undefined if the input is null or + * undefined, throws an error if the input is not a string that can be parsed + * as an RFC 3339 date. + * + * Input strings must conform to RFC3339 section 5.6, and cannot have a UTC + * offset. Fractional precision is supported. + * + * @see {@link https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14} + * + * @param value - the value to parse + * @returns a Date or undefined + */ +export declare const parseRfc3339DateTime: (value: unknown) => Date | undefined; +/** + * @internal + * + * Parses a value into a Date. Returns undefined if the input is null or + * undefined, throws an error if the input is not a string that can be parsed + * as an RFC 3339 date. + * + * Input strings must conform to RFC3339 section 5.6, and can have a UTC + * offset. Fractional precision is supported. + * + * @see {@link https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14} + * + * @param value - the value to parse + * @returns a Date or undefined + */ +export declare const parseRfc3339DateTimeWithOffset: (value: unknown) => Date | undefined; +/** + * @internal + * + * Parses a value into a Date. Returns undefined if the input is null or + * undefined, throws an error if the input is not a string that can be parsed + * as an RFC 7231 IMF-fixdate or obs-date. + * + * Input strings must conform to RFC7231 section 7.1.1.1. Fractional seconds are supported. + * + * @see {@link https://datatracker.ietf.org/doc/html/rfc7231.html#section-7.1.1.1} + * + * @param value - the value to parse + * @returns a Date or undefined + */ +export declare const parseRfc7231DateTime: (value: unknown) => Date | undefined; +/** + * @internal + * + * Parses a value into a Date. Returns undefined if the input is null or + * undefined, throws an error if the input is not a number or a parseable string. + * + * Input strings must be an integer or floating point number. Fractional seconds are supported. + * + * @param value - the value to parse + * @returns a Date or undefined + */ +export declare const parseEpochTimestamp: (value: unknown) => Date | undefined; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/generateIdempotencyToken.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/generateIdempotencyToken.d.ts new file mode 100644 index 0000000..69ef1f2 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/generateIdempotencyToken.d.ts @@ -0,0 +1,2 @@ +import { v4 as generateIdempotencyToken } from "@smithy/uuid"; +export { generateIdempotencyToken }; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts new file mode 100644 index 0000000..421ec8e --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts @@ -0,0 +1,10 @@ +export * from "./copyDocumentWithTransform"; +export * from "./date-utils"; +export * from "./generateIdempotencyToken"; +export * from "./lazy-json"; +export * from "./parse-utils"; +export * from "./quote-header"; +export * from "./schema-serde-lib/schema-date-utils"; +export * from "./split-every"; +export * from "./split-header"; +export * from "./value/NumericValue"; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/lazy-json.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/lazy-json.d.ts new file mode 100644 index 0000000..0b682ee --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/lazy-json.d.ts @@ -0,0 +1,45 @@ +/** + * @public + * + * A model field with this type means that you may provide a JavaScript + * object in lieu of a JSON string, and it will be serialized to JSON + * automatically before being sent in a request. + * + * For responses, you will receive a "LazyJsonString", which is a boxed String object + * with additional mixin methods. + * To get the string value, call `.toString()`, or to get the JSON object value, + * call `.deserializeJSON()` or parse it yourself. + */ +export type AutomaticJsonStringConversion = Parameters[0] | LazyJsonString; +/** + * @internal + */ +export interface LazyJsonString extends String { + /** + * @returns the JSON parsing of the string value. + */ + deserializeJSON(): any; + /** + * @returns the original string value rather than a JSON.stringified value. + */ + toJSON(): string; +} +/** + * @internal + * + * Extension of the native String class in the previous implementation + * has negative global performance impact on method dispatch for strings, + * and is generally discouraged. + * + * This current implementation may look strange, but is necessary to preserve the interface and + * behavior of extending the String class. + */ +export declare const LazyJsonString: { + new (s: string): LazyJsonString; + (s: string): LazyJsonString; + from(s: any): LazyJsonString; + /** + * @deprecated use #from. + */ + fromObject(s: any): LazyJsonString; +}; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts new file mode 100644 index 0000000..b5ded6f --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts @@ -0,0 +1,270 @@ +/** + * @internal + * + * Give an input string, strictly parses a boolean value. + * + * @param value - The boolean string to parse. + * @returns true for "true", false for "false", otherwise an error is thrown. + */ +export declare const parseBoolean: (value: string) => boolean; +/** + * @internal + * + * Asserts a value is a boolean and returns it. + * Casts strings and numbers with a warning if there is evidence that they were + * intended to be booleans. + * + * @param value - A value that is expected to be a boolean. + * @returns The value if it's a boolean, undefined if it's null/undefined, + * otherwise an error is thrown. + */ +export declare const expectBoolean: (value: any) => boolean | undefined; +/** + * @internal + * + * Asserts a value is a number and returns it. + * Casts strings with a warning if the string is a parseable number. + * This is to unblock slight API definition/implementation inconsistencies. + * + * @param value - A value that is expected to be a number. + * @returns The value if it's a number, undefined if it's null/undefined, + * otherwise an error is thrown. + */ +export declare const expectNumber: (value: any) => number | undefined; +/** + * @internal + * + * Asserts a value is a 32-bit float and returns it. + * + * @param value - A value that is expected to be a 32-bit float. + * @returns The value if it's a float, undefined if it's null/undefined, + * otherwise an error is thrown. + */ +export declare const expectFloat32: (value: any) => number | undefined; +/** + * @internal + * + * Asserts a value is an integer and returns it. + * + * @param value - A value that is expected to be an integer. + * @returns The value if it's an integer, undefined if it's null/undefined, + * otherwise an error is thrown. + */ +export declare const expectLong: (value: any) => number | undefined; +/** + * @internal + * + * @deprecated Use expectLong + */ +export declare const expectInt: (value: any) => number | undefined; +/** + * @internal + * + * Asserts a value is a 32-bit integer and returns it. + * + * @param value - A value that is expected to be an integer. + * @returns The value if it's an integer, undefined if it's null/undefined, + * otherwise an error is thrown. + */ +export declare const expectInt32: (value: any) => number | undefined; +/** + * @internal + * + * Asserts a value is a 16-bit integer and returns it. + * + * @param value - A value that is expected to be an integer. + * @returns The value if it's an integer, undefined if it's null/undefined, + * otherwise an error is thrown. + */ +export declare const expectShort: (value: any) => number | undefined; +/** + * @internal + * + * Asserts a value is an 8-bit integer and returns it. + * + * @param value - A value that is expected to be an integer. + * @returns The value if it's an integer, undefined if it's null/undefined, + * otherwise an error is thrown. + */ +export declare const expectByte: (value: any) => number | undefined; +/** + * @internal + * + * Asserts a value is not null or undefined and returns it, or throws an error. + * + * @param value - A value that is expected to be defined + * @param location - The location where we're expecting to find a defined object (optional) + * @returns The value if it's not undefined, otherwise throws an error + */ +export declare const expectNonNull: (value: T | null | undefined, location?: string) => T; +/** + * @internal + * + * Asserts a value is an JSON-like object and returns it. This is expected to be used + * with values parsed from JSON (arrays, objects, numbers, strings, booleans). + * + * @param value - A value that is expected to be an object + * @returns The value if it's an object, undefined if it's null/undefined, + * otherwise an error is thrown. + */ +export declare const expectObject: (value: any) => Record | undefined; +/** + * @internal + * + * Asserts a value is a string and returns it. + * Numbers and boolean will be cast to strings with a warning. + * + * @param value - A value that is expected to be a string. + * @returns The value if it's a string, undefined if it's null/undefined, + * otherwise an error is thrown. + */ +export declare const expectString: (value: any) => string | undefined; +/** + * @internal + * + * Asserts a value is a JSON-like object with only one non-null/non-undefined key and + * returns it. + * + * @param value - A value that is expected to be an object with exactly one non-null, + * non-undefined key. + * @returns the value if it's a union, undefined if it's null/undefined, otherwise + * an error is thrown. + */ +export declare const expectUnion: (value: unknown) => Record | undefined; +/** + * @internal + * + * Parses a value into a double. If the value is null or undefined, undefined + * will be returned. If the value is a string, it will be parsed by the standard + * parseFloat with one exception: NaN may only be explicitly set as the string + * "NaN", any implicit Nan values will result in an error being thrown. If any + * other type is provided, an exception will be thrown. + * + * @param value - A number or string representation of a double. + * @returns The value as a number, or undefined if it's null/undefined. + */ +export declare const strictParseDouble: (value: string | number) => number | undefined; +/** + * @internal + * + * @deprecated Use strictParseDouble + */ +export declare const strictParseFloat: (value: string | number) => number | undefined; +/** + * @internal + * + * Parses a value into a float. If the value is null or undefined, undefined + * will be returned. If the value is a string, it will be parsed by the standard + * parseFloat with one exception: NaN may only be explicitly set as the string + * "NaN", any implicit Nan values will result in an error being thrown. If any + * other type is provided, an exception will be thrown. + * + * @param value - A number or string representation of a float. + * @returns The value as a number, or undefined if it's null/undefined. + */ +export declare const strictParseFloat32: (value: string | number) => number | undefined; +/** + * @internal + * + * Asserts a value is a number and returns it. If the value is a string + * representation of a non-numeric number type (NaN, Infinity, -Infinity), + * the value will be parsed. Any other string value will result in an exception + * being thrown. Null or undefined will be returned as undefined. Any other + * type will result in an exception being thrown. + * + * @param value - A number or string representation of a non-numeric float. + * @returns The value as a number, or undefined if it's null/undefined. + */ +export declare const limitedParseDouble: (value: string | number) => number | undefined; +/** + * @internal + * + * @deprecated Use limitedParseDouble + */ +export declare const handleFloat: (value: string | number) => number | undefined; +/** + * @internal + * + * @deprecated Use limitedParseDouble + */ +export declare const limitedParseFloat: (value: string | number) => number | undefined; +/** + * @internal + * + * Asserts a value is a 32-bit float and returns it. If the value is a string + * representation of a non-numeric number type (NaN, Infinity, -Infinity), + * the value will be parsed. Any other string value will result in an exception + * being thrown. Null or undefined will be returned as undefined. Any other + * type will result in an exception being thrown. + * + * @param value - A number or string representation of a non-numeric float. + * @returns The value as a number, or undefined if it's null/undefined. + */ +export declare const limitedParseFloat32: (value: string | number) => number | undefined; +/** + * @internal + * + * Parses a value into an integer. If the value is null or undefined, undefined + * will be returned. If the value is a string, it will be parsed by parseFloat + * and the result will be asserted to be an integer. If the parsed value is not + * an integer, or the raw value is any type other than a string or number, an + * exception will be thrown. + * + * @param value - A number or string representation of an integer. + * @returns The value as a number, or undefined if it's null/undefined. + */ +export declare const strictParseLong: (value: string | number) => number | undefined; +/** + * @internal + * + * @deprecated Use strictParseLong + */ +export declare const strictParseInt: (value: string | number) => number | undefined; +/** + * @internal + * + * Parses a value into a 32-bit integer. If the value is null or undefined, undefined + * will be returned. If the value is a string, it will be parsed by parseFloat + * and the result will be asserted to be an integer. If the parsed value is not + * an integer, or the raw value is any type other than a string or number, an + * exception will be thrown. + * + * @param value - A number or string representation of a 32-bit integer. + * @returns The value as a number, or undefined if it's null/undefined. + */ +export declare const strictParseInt32: (value: string | number) => number | undefined; +/** + * @internal + * + * Parses a value into a 16-bit integer. If the value is null or undefined, undefined + * will be returned. If the value is a string, it will be parsed by parseFloat + * and the result will be asserted to be an integer. If the parsed value is not + * an integer, or the raw value is any type other than a string or number, an + * exception will be thrown. + * + * @param value - A number or string representation of a 16-bit integer. + * @returns The value as a number, or undefined if it's null/undefined. + */ +export declare const strictParseShort: (value: string | number) => number | undefined; +/** + * @internal + * + * Parses a value into an 8-bit integer. If the value is null or undefined, undefined + * will be returned. If the value is a string, it will be parsed by parseFloat + * and the result will be asserted to be an integer. If the parsed value is not + * an integer, or the raw value is any type other than a string or number, an + * exception will be thrown. + * + * @param value - A number or string representation of an 8-bit integer. + * @returns The value as a number, or undefined if it's null/undefined. + */ +export declare const strictParseByte: (value: string | number) => number | undefined; +/** + * @internal + */ +export declare const logger: { + warn: { + (...data: any[]): void; + (message?: any, ...optionalParams: any[]): void; + }; +}; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/quote-header.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/quote-header.d.ts new file mode 100644 index 0000000..73d6c16 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/quote-header.d.ts @@ -0,0 +1,6 @@ +/** + * @public + * @param part - header list element + * @returns quoted string if part contains delimiter. + */ +export declare function quoteHeader(part: string): string; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts new file mode 100644 index 0000000..096ac36 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts @@ -0,0 +1,47 @@ +/** + * @internal + * + * Parses a value into a Date. Returns undefined if the input is null or + * undefined, throws an error if the input is not a number or a parseable string. + * + * Input strings must be an integer or floating point number. Fractional seconds are supported. + * + * @param value - the value to parse + * @returns a Date or undefined + */ +export declare const _parseEpochTimestamp: (value: unknown) => Date | undefined; +/** + * @internal + * + * Parses a value into a Date. Returns undefined if the input is null or + * undefined, throws an error if the input is not a string that can be parsed + * as an RFC 3339 date. + * + * Input strings must conform to RFC3339 section 5.6, and can have a UTC + * offset. Fractional precision is supported. + * + * @see {@link https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14} + * + * @param value - the value to parse + * @returns a Date or undefined + */ +export declare const _parseRfc3339DateTimeWithOffset: (value: unknown) => Date | undefined; +/** + * @internal + * + * Parses a value into a Date. Returns undefined if the input is null or + * undefined, throws an error if the input is not a string that can be parsed + * as an RFC 7231 date. + * + * Input strings must conform to RFC7231 section 7.1.1.1. Fractional seconds are supported. + * + * RFC 850 and unix asctime formats are also accepted. + * todo: practically speaking, are RFC 850 and asctime even used anymore? + * todo: can we remove those parts? + * + * @see {@link https://datatracker.ietf.org/doc/html/rfc7231.html#section-7.1.1.1} + * + * @param value - the value to parse. + * @returns a Date or undefined. + */ +export declare const _parseRfc7231DateTime: (value: unknown) => Date | undefined; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-every.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-every.d.ts new file mode 100644 index 0000000..45a0229 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-every.d.ts @@ -0,0 +1,11 @@ +/** + * @internal + * + * Given an input string, splits based on the delimiter after a given + * number of delimiters has been encountered. + * + * @param value - The input string to split. + * @param delimiter - The delimiter to split on. + * @param numDelimiters - The number of delimiters to have encountered to split. + */ +export declare function splitEvery(value: string, delimiter: string, numDelimiters: number): Array; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-header.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-header.d.ts new file mode 100644 index 0000000..0f51651 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-header.d.ts @@ -0,0 +1,5 @@ +/** + * @param value - header string value. + * @returns value split by commas that aren't in quotes. + */ +export declare const splitHeader: (value: string) => string[]; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts new file mode 100644 index 0000000..f9da63d --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts @@ -0,0 +1,33 @@ +/** + * Types which may be represented by {@link NumericValue}. + * + * There is currently only one option, because BigInteger and Long should + * use JS BigInt directly, and all other numeric types can be contained in JS Number. + * + * @public + */ +export type NumericType = "bigDecimal"; +/** + * Serialization container for Smithy simple types that do not have a + * direct JavaScript runtime representation. + * + * This container does not perform numeric mathematical operations. + * It is a container for discerning a value's true type. + * + * It allows storage of numeric types not representable in JS without + * making a decision on what numeric library to use. + * + * @public + */ +export declare class NumericValue { + readonly string: string; + readonly type: NumericType; + constructor(string: string, type: NumericType); + toString(): string; + static [Symbol.hasInstance](object: unknown): boolean; +} +/** + * Serde shortcut. + * @internal + */ +export declare function nv(input: string | unknown): NumericValue; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts new file mode 100644 index 0000000..0b39204 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts @@ -0,0 +1,15 @@ +import { HttpAuthSchemeId, Identity, IdentityProvider, IdentityProviderConfig } from "@smithy/types"; +/** + * Default implementation of IdentityProviderConfig + * @internal + */ +export declare class DefaultIdentityProviderConfig implements IdentityProviderConfig { + private authSchemes; + /** + * Creates an IdentityProviderConfig with a record of scheme IDs to identity providers. + * + * @param config scheme IDs and identity providers to configure + */ + constructor(config: Record | undefined>); + getIdentityProvider(schemeId: HttpAuthSchemeId): IdentityProvider | undefined; +} diff --git a/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts new file mode 100644 index 0000000..63de4bc --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts @@ -0,0 +1,8 @@ +import { HttpRequest } from "@smithy/protocol-http"; +import { ApiKeyIdentity, HttpRequest as IHttpRequest, HttpSigner } from "@smithy/types"; +/** + * @internal + */ +export declare class HttpApiKeyAuthSigner implements HttpSigner { + sign(httpRequest: HttpRequest, identity: ApiKeyIdentity, signingProperties: Record): Promise; +} diff --git a/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts new file mode 100644 index 0000000..0e31e7d --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts @@ -0,0 +1,8 @@ +import { HttpRequest } from "@smithy/protocol-http"; +import { HttpRequest as IHttpRequest, HttpSigner, TokenIdentity } from "@smithy/types"; +/** + * @internal + */ +export declare class HttpBearerAuthSigner implements HttpSigner { + sign(httpRequest: HttpRequest, identity: TokenIdentity, signingProperties: Record): Promise; +} diff --git a/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/index.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/index.d.ts new file mode 100644 index 0000000..9d240fe --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/index.d.ts @@ -0,0 +1,3 @@ +export * from "./httpApiKeyAuth"; +export * from "./httpBearerAuth"; +export * from "./noAuth"; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts new file mode 100644 index 0000000..fc8d6b1 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts @@ -0,0 +1,8 @@ +import { HttpRequest, HttpSigner, Identity } from "@smithy/types"; +/** + * Signer for the synthetic @smithy.api#noAuth auth scheme. + * @internal + */ +export declare class NoAuthSigner implements HttpSigner { + sign(httpRequest: HttpRequest, identity: Identity, signingProperties: Record): Promise; +} diff --git a/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/index.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/index.d.ts new file mode 100644 index 0000000..87ba64b --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/index.d.ts @@ -0,0 +1,3 @@ +export * from "./DefaultIdentityProviderConfig"; +export * from "./httpAuthSchemes"; +export * from "./memoizeIdentityProvider"; diff --git a/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/memoizeIdentityProvider.d.ts b/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/memoizeIdentityProvider.d.ts new file mode 100644 index 0000000..67b3be8 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/memoizeIdentityProvider.d.ts @@ -0,0 +1,30 @@ +import { Identity, IdentityProvider } from "@smithy/types"; +/** + * @internal + */ +export declare const createIsIdentityExpiredFunction: (expirationMs: number) => (identity: Identity) => boolean; +/** + * @internal + * This may need to be configurable in the future, but for now it is defaulted to 5min. + */ +export declare const EXPIRATION_MS = 300000; +/** + * @internal + */ +export declare const isIdentityExpired: (identity: Identity) => boolean; +/** + * @internal + */ +export declare const doesIdentityRequireRefresh: (identity: Identity) => boolean; +/** + * @internal + */ +export interface MemoizedIdentityProvider { + (options?: Record & { + forceRefresh?: boolean; + }): Promise; +} +/** + * @internal + */ +export declare const memoizeIdentityProvider: (provider: IdentityT | IdentityProvider | undefined, isExpired: (resolved: Identity) => boolean, requiresRefresh: (resolved: Identity) => boolean) => MemoizedIdentityProvider | undefined; diff --git a/node_modules/@smithy/core/dist-types/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts b/node_modules/@smithy/core/dist-types/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts new file mode 100644 index 0000000..d05d896 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts @@ -0,0 +1,15 @@ +import type { HttpAuthSchemeId, Identity, IdentityProvider, IdentityProviderConfig } from "@smithy/types"; +/** + * Default implementation of IdentityProviderConfig + * @internal + */ +export declare class DefaultIdentityProviderConfig implements IdentityProviderConfig { + private authSchemes; + /** + * Creates an IdentityProviderConfig with a record of scheme IDs to identity providers. + * + * @param config scheme IDs and identity providers to configure + */ + constructor(config: Record | undefined>); + getIdentityProvider(schemeId: HttpAuthSchemeId): IdentityProvider | undefined; +} diff --git a/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts b/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts new file mode 100644 index 0000000..2401d94 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts @@ -0,0 +1,8 @@ +import { HttpRequest } from "@smithy/protocol-http"; +import type { ApiKeyIdentity, HttpRequest as IHttpRequest, HttpSigner } from "@smithy/types"; +/** + * @internal + */ +export declare class HttpApiKeyAuthSigner implements HttpSigner { + sign(httpRequest: HttpRequest, identity: ApiKeyIdentity, signingProperties: Record): Promise; +} diff --git a/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts b/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts new file mode 100644 index 0000000..923504b --- /dev/null +++ b/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts @@ -0,0 +1,8 @@ +import { HttpRequest } from "@smithy/protocol-http"; +import type { HttpRequest as IHttpRequest, HttpSigner, TokenIdentity } from "@smithy/types"; +/** + * @internal + */ +export declare class HttpBearerAuthSigner implements HttpSigner { + sign(httpRequest: HttpRequest, identity: TokenIdentity, signingProperties: Record): Promise; +} diff --git a/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/index.d.ts b/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/index.d.ts new file mode 100644 index 0000000..9d240fe --- /dev/null +++ b/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/index.d.ts @@ -0,0 +1,3 @@ +export * from "./httpApiKeyAuth"; +export * from "./httpBearerAuth"; +export * from "./noAuth"; diff --git a/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts b/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts new file mode 100644 index 0000000..1b1bab1 --- /dev/null +++ b/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts @@ -0,0 +1,8 @@ +import type { HttpRequest, HttpSigner, Identity } from "@smithy/types"; +/** + * Signer for the synthetic @smithy.api#noAuth auth scheme. + * @internal + */ +export declare class NoAuthSigner implements HttpSigner { + sign(httpRequest: HttpRequest, identity: Identity, signingProperties: Record): Promise; +} diff --git a/node_modules/@smithy/core/dist-types/util-identity-and-auth/index.d.ts b/node_modules/@smithy/core/dist-types/util-identity-and-auth/index.d.ts new file mode 100644 index 0000000..87ba64b --- /dev/null +++ b/node_modules/@smithy/core/dist-types/util-identity-and-auth/index.d.ts @@ -0,0 +1,3 @@ +export * from "./DefaultIdentityProviderConfig"; +export * from "./httpAuthSchemes"; +export * from "./memoizeIdentityProvider"; diff --git a/node_modules/@smithy/core/dist-types/util-identity-and-auth/memoizeIdentityProvider.d.ts b/node_modules/@smithy/core/dist-types/util-identity-and-auth/memoizeIdentityProvider.d.ts new file mode 100644 index 0000000..a618afd --- /dev/null +++ b/node_modules/@smithy/core/dist-types/util-identity-and-auth/memoizeIdentityProvider.d.ts @@ -0,0 +1,30 @@ +import type { Identity, IdentityProvider } from "@smithy/types"; +/** + * @internal + */ +export declare const createIsIdentityExpiredFunction: (expirationMs: number) => (identity: Identity) => boolean; +/** + * @internal + * This may need to be configurable in the future, but for now it is defaulted to 5min. + */ +export declare const EXPIRATION_MS = 300000; +/** + * @internal + */ +export declare const isIdentityExpired: (identity: Identity) => boolean; +/** + * @internal + */ +export declare const doesIdentityRequireRefresh: (identity: Identity) => boolean; +/** + * @internal + */ +export interface MemoizedIdentityProvider { + (options?: Record & { + forceRefresh?: boolean; + }): Promise; +} +/** + * @internal + */ +export declare const memoizeIdentityProvider: (provider: IdentityT | IdentityProvider | undefined, isExpired: (resolved: Identity) => boolean, requiresRefresh: (resolved: Identity) => boolean) => MemoizedIdentityProvider | undefined; diff --git a/node_modules/@smithy/core/endpoints.d.ts b/node_modules/@smithy/core/endpoints.d.ts new file mode 100644 index 0000000..fdb2c15 --- /dev/null +++ b/node_modules/@smithy/core/endpoints.d.ts @@ -0,0 +1,7 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +declare module "@smithy/core/endpoints" { + export * from "@smithy/core/dist-types/submodules/endpoints/index.d"; +} diff --git a/node_modules/@smithy/core/endpoints.js b/node_modules/@smithy/core/endpoints.js new file mode 100644 index 0000000..d1676d8 --- /dev/null +++ b/node_modules/@smithy/core/endpoints.js @@ -0,0 +1,6 @@ + +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +module.exports = require("./dist-cjs/submodules/endpoints/index.js"); diff --git a/node_modules/@smithy/core/event-streams.d.ts b/node_modules/@smithy/core/event-streams.d.ts new file mode 100644 index 0000000..8637fa8 --- /dev/null +++ b/node_modules/@smithy/core/event-streams.d.ts @@ -0,0 +1,7 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +declare module "@smithy/core/event-streams" { + export * from "@smithy/core/dist-types/submodules/event-streams/index.d"; +} diff --git a/node_modules/@smithy/core/event-streams.js b/node_modules/@smithy/core/event-streams.js new file mode 100644 index 0000000..e79eab7 --- /dev/null +++ b/node_modules/@smithy/core/event-streams.js @@ -0,0 +1,6 @@ + +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +module.exports = require("./dist-cjs/submodules/event-streams/index.js"); diff --git a/node_modules/@smithy/core/package.json b/node_modules/@smithy/core/package.json new file mode 100644 index 0000000..95f0042 --- /dev/null +++ b/node_modules/@smithy/core/package.json @@ -0,0 +1,146 @@ +{ + "name": "@smithy/core", + "version": "3.23.13", + "scripts": { + "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline core", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "npx eslint -c ../../.eslintrc.js \"src/**/*.ts\" --fix && node ./scripts/lint", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "extract:docs": "api-extractor run --local", + "test:cbor:perf": "node ./scripts/cbor-perf.mjs", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "exports": { + ".": { + "types": "./dist-types/index.d.ts", + "module": "./dist-es/index.js", + "node": "./dist-cjs/index.js", + "import": "./dist-es/index.js", + "require": "./dist-cjs/index.js" + }, + "./package.json": { + "module": "./package.json", + "node": "./package.json", + "import": "./package.json", + "require": "./package.json" + }, + "./cbor": { + "types": "./dist-types/submodules/cbor/index.d.ts", + "module": "./dist-es/submodules/cbor/index.js", + "node": "./dist-cjs/submodules/cbor/index.js", + "import": "./dist-es/submodules/cbor/index.js", + "require": "./dist-cjs/submodules/cbor/index.js" + }, + "./protocols": { + "types": "./dist-types/submodules/protocols/index.d.ts", + "module": "./dist-es/submodules/protocols/index.js", + "node": "./dist-cjs/submodules/protocols/index.js", + "import": "./dist-es/submodules/protocols/index.js", + "require": "./dist-cjs/submodules/protocols/index.js" + }, + "./serde": { + "types": "./dist-types/submodules/serde/index.d.ts", + "module": "./dist-es/submodules/serde/index.js", + "node": "./dist-cjs/submodules/serde/index.js", + "import": "./dist-es/submodules/serde/index.js", + "require": "./dist-cjs/submodules/serde/index.js" + }, + "./schema": { + "types": "./dist-types/submodules/schema/index.d.ts", + "module": "./dist-es/submodules/schema/index.js", + "node": "./dist-cjs/submodules/schema/index.js", + "import": "./dist-es/submodules/schema/index.js", + "require": "./dist-cjs/submodules/schema/index.js" + }, + "./event-streams": { + "types": "./dist-types/submodules/event-streams/index.d.ts", + "module": "./dist-es/submodules/event-streams/index.js", + "node": "./dist-cjs/submodules/event-streams/index.js", + "import": "./dist-es/submodules/event-streams/index.js", + "require": "./dist-cjs/submodules/event-streams/index.js" + }, + "./endpoints": { + "types": "./dist-types/submodules/endpoints/index.d.ts", + "module": "./dist-es/submodules/endpoints/index.js", + "node": "./dist-cjs/submodules/endpoints/index.js", + "import": "./dist-es/submodules/endpoints/index.js", + "require": "./dist-cjs/submodules/endpoints/index.js" + } + }, + "author": { + "name": "AWS Smithy Team", + "email": "", + "url": "https://smithy.io" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "@smithy/url-parser": "^4.2.12", + "@smithy/util-base64": "^4.3.2", + "@smithy/util-body-length-browser": "^4.2.2", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-stream": "^4.5.21", + "@smithy/util-utf8": "^4.2.2", + "@smithy/uuid": "^1.1.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "./cbor.d.ts", + "./cbor.js", + "./endpoints.d.ts", + "./endpoints.js", + "./event-streams.d.ts", + "./event-streams.js", + "./protocols.d.ts", + "./protocols.js", + "./schema.d.ts", + "./schema.js", + "./serde.d.ts", + "./serde.js", + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/core", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/core" + }, + "devDependencies": { + "@smithy/eventstream-serde-node": "^4.2.12", + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "json-bigint": "^1.0.0", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/core/protocols.d.ts b/node_modules/@smithy/core/protocols.d.ts new file mode 100644 index 0000000..e0afd4e --- /dev/null +++ b/node_modules/@smithy/core/protocols.d.ts @@ -0,0 +1,7 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +declare module "@smithy/core/protocols" { + export * from "@smithy/core/dist-types/submodules/protocols/index.d"; +} diff --git a/node_modules/@smithy/core/protocols.js b/node_modules/@smithy/core/protocols.js new file mode 100644 index 0000000..43e0c42 --- /dev/null +++ b/node_modules/@smithy/core/protocols.js @@ -0,0 +1,6 @@ + +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +module.exports = require("./dist-cjs/submodules/protocols/index.js"); diff --git a/node_modules/@smithy/core/schema.d.ts b/node_modules/@smithy/core/schema.d.ts new file mode 100644 index 0000000..e29b358 --- /dev/null +++ b/node_modules/@smithy/core/schema.d.ts @@ -0,0 +1,7 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +declare module "@smithy/core/schema" { + export * from "@smithy/core/dist-types/submodules/schema/index.d"; +} diff --git a/node_modules/@smithy/core/schema.js b/node_modules/@smithy/core/schema.js new file mode 100644 index 0000000..a5035de --- /dev/null +++ b/node_modules/@smithy/core/schema.js @@ -0,0 +1,6 @@ + +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +module.exports = require("./dist-cjs/submodules/schema/index.js"); diff --git a/node_modules/@smithy/core/serde.d.ts b/node_modules/@smithy/core/serde.d.ts new file mode 100644 index 0000000..9906bb0 --- /dev/null +++ b/node_modules/@smithy/core/serde.d.ts @@ -0,0 +1,7 @@ +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +declare module "@smithy/core/serde" { + export * from "@smithy/core/dist-types/submodules/serde/index.d"; +} diff --git a/node_modules/@smithy/core/serde.js b/node_modules/@smithy/core/serde.js new file mode 100644 index 0000000..b2d727f --- /dev/null +++ b/node_modules/@smithy/core/serde.js @@ -0,0 +1,6 @@ + +/** + * Do not edit: + * This is a compatibility redirect for contexts that do not understand package.json exports field. + */ +module.exports = require("./dist-cjs/submodules/serde/index.js"); diff --git a/node_modules/@smithy/credential-provider-imds/LICENSE b/node_modules/@smithy/credential-provider-imds/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/credential-provider-imds/README.md b/node_modules/@smithy/credential-provider-imds/README.md new file mode 100644 index 0000000..9a8f8a5 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/README.md @@ -0,0 +1,11 @@ +# @smithy/credential-provider-imds + +[![NPM version](https://img.shields.io/npm/v/@smithy/credential-provider-imds/latest.svg)](https://www.npmjs.com/package/@smithy/credential-provider-imds) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/credential-provider-imds.svg)](https://www.npmjs.com/package/@smithy/credential-provider-imds) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. Please use [@smithy/credential-providers](https://www.npmjs.com/package/@smithy/credential-providers) +instead. diff --git a/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js b/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js new file mode 100644 index 0000000..8de0d3f --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js @@ -0,0 +1,372 @@ +'use strict'; + +var propertyProvider = require('@smithy/property-provider'); +var url = require('url'); +var buffer = require('buffer'); +var http = require('http'); +var nodeConfigProvider = require('@smithy/node-config-provider'); +var urlParser = require('@smithy/url-parser'); + +function httpRequest(options) { + return new Promise((resolve, reject) => { + const req = http.request({ + method: "GET", + ...options, + hostname: options.hostname?.replace(/^\[(.+)\]$/, "$1"), + }); + req.on("error", (err) => { + reject(Object.assign(new propertyProvider.ProviderError("Unable to connect to instance metadata service"), err)); + req.destroy(); + }); + req.on("timeout", () => { + reject(new propertyProvider.ProviderError("TimeoutError from instance metadata service")); + req.destroy(); + }); + req.on("response", (res) => { + const { statusCode = 400 } = res; + if (statusCode < 200 || 300 <= statusCode) { + reject(Object.assign(new propertyProvider.ProviderError("Error response received from instance metadata service"), { statusCode })); + req.destroy(); + } + const chunks = []; + res.on("data", (chunk) => { + chunks.push(chunk); + }); + res.on("end", () => { + resolve(buffer.Buffer.concat(chunks)); + req.destroy(); + }); + }); + req.end(); + }); +} + +const isImdsCredentials = (arg) => Boolean(arg) && + typeof arg === "object" && + typeof arg.AccessKeyId === "string" && + typeof arg.SecretAccessKey === "string" && + typeof arg.Token === "string" && + typeof arg.Expiration === "string"; +const fromImdsCredentials = (creds) => ({ + accessKeyId: creds.AccessKeyId, + secretAccessKey: creds.SecretAccessKey, + sessionToken: creds.Token, + expiration: new Date(creds.Expiration), + ...(creds.AccountId && { accountId: creds.AccountId }), +}); + +const DEFAULT_TIMEOUT = 1000; +const DEFAULT_MAX_RETRIES = 0; +const providerConfigFromInit = ({ maxRetries = DEFAULT_MAX_RETRIES, timeout = DEFAULT_TIMEOUT, }) => ({ maxRetries, timeout }); + +const retry = (toRetry, maxRetries) => { + let promise = toRetry(); + for (let i = 0; i < maxRetries; i++) { + promise = promise.catch(toRetry); + } + return promise; +}; + +const ENV_CMDS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI"; +const ENV_CMDS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"; +const ENV_CMDS_AUTH_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN"; +const fromContainerMetadata = (init = {}) => { + const { timeout, maxRetries } = providerConfigFromInit(init); + return () => retry(async () => { + const requestOptions = await getCmdsUri({ logger: init.logger }); + const credsResponse = JSON.parse(await requestFromEcsImds(timeout, requestOptions)); + if (!isImdsCredentials(credsResponse)) { + throw new propertyProvider.CredentialsProviderError("Invalid response received from instance metadata service.", { + logger: init.logger, + }); + } + return fromImdsCredentials(credsResponse); + }, maxRetries); +}; +const requestFromEcsImds = async (timeout, options) => { + if (process.env[ENV_CMDS_AUTH_TOKEN]) { + options.headers = { + ...options.headers, + Authorization: process.env[ENV_CMDS_AUTH_TOKEN], + }; + } + const buffer = await httpRequest({ + ...options, + timeout, + }); + return buffer.toString(); +}; +const CMDS_IP = "169.254.170.2"; +const GREENGRASS_HOSTS = { + localhost: true, + "127.0.0.1": true, +}; +const GREENGRASS_PROTOCOLS = { + "http:": true, + "https:": true, +}; +const getCmdsUri = async ({ logger }) => { + if (process.env[ENV_CMDS_RELATIVE_URI]) { + return { + hostname: CMDS_IP, + path: process.env[ENV_CMDS_RELATIVE_URI], + }; + } + if (process.env[ENV_CMDS_FULL_URI]) { + const parsed = url.parse(process.env[ENV_CMDS_FULL_URI]); + if (!parsed.hostname || !(parsed.hostname in GREENGRASS_HOSTS)) { + throw new propertyProvider.CredentialsProviderError(`${parsed.hostname} is not a valid container metadata service hostname`, { + tryNextLink: false, + logger, + }); + } + if (!parsed.protocol || !(parsed.protocol in GREENGRASS_PROTOCOLS)) { + throw new propertyProvider.CredentialsProviderError(`${parsed.protocol} is not a valid container metadata service protocol`, { + tryNextLink: false, + logger, + }); + } + return { + ...parsed, + port: parsed.port ? parseInt(parsed.port, 10) : undefined, + }; + } + throw new propertyProvider.CredentialsProviderError("The container metadata credential provider cannot be used unless" + + ` the ${ENV_CMDS_RELATIVE_URI} or ${ENV_CMDS_FULL_URI} environment` + + " variable is set", { + tryNextLink: false, + logger, + }); +}; + +class InstanceMetadataV1FallbackError extends propertyProvider.CredentialsProviderError { + tryNextLink; + name = "InstanceMetadataV1FallbackError"; + constructor(message, tryNextLink = true) { + super(message, tryNextLink); + this.tryNextLink = tryNextLink; + Object.setPrototypeOf(this, InstanceMetadataV1FallbackError.prototype); + } +} + +exports.Endpoint = void 0; +(function (Endpoint) { + Endpoint["IPv4"] = "http://169.254.169.254"; + Endpoint["IPv6"] = "http://[fd00:ec2::254]"; +})(exports.Endpoint || (exports.Endpoint = {})); + +const ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT"; +const CONFIG_ENDPOINT_NAME = "ec2_metadata_service_endpoint"; +const ENDPOINT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[ENV_ENDPOINT_NAME], + configFileSelector: (profile) => profile[CONFIG_ENDPOINT_NAME], + default: undefined, +}; + +var EndpointMode; +(function (EndpointMode) { + EndpointMode["IPv4"] = "IPv4"; + EndpointMode["IPv6"] = "IPv6"; +})(EndpointMode || (EndpointMode = {})); + +const ENV_ENDPOINT_MODE_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE"; +const CONFIG_ENDPOINT_MODE_NAME = "ec2_metadata_service_endpoint_mode"; +const ENDPOINT_MODE_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[ENV_ENDPOINT_MODE_NAME], + configFileSelector: (profile) => profile[CONFIG_ENDPOINT_MODE_NAME], + default: EndpointMode.IPv4, +}; + +const getInstanceMetadataEndpoint = async () => urlParser.parseUrl((await getFromEndpointConfig()) || (await getFromEndpointModeConfig())); +const getFromEndpointConfig = async () => nodeConfigProvider.loadConfig(ENDPOINT_CONFIG_OPTIONS)(); +const getFromEndpointModeConfig = async () => { + const endpointMode = await nodeConfigProvider.loadConfig(ENDPOINT_MODE_CONFIG_OPTIONS)(); + switch (endpointMode) { + case EndpointMode.IPv4: + return exports.Endpoint.IPv4; + case EndpointMode.IPv6: + return exports.Endpoint.IPv6; + default: + throw new Error(`Unsupported endpoint mode: ${endpointMode}.` + ` Select from ${Object.values(EndpointMode)}`); + } +}; + +const STATIC_STABILITY_REFRESH_INTERVAL_SECONDS = 5 * 60; +const STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS = 5 * 60; +const STATIC_STABILITY_DOC_URL = "https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html"; +const getExtendedInstanceMetadataCredentials = (credentials, logger) => { + const refreshInterval = STATIC_STABILITY_REFRESH_INTERVAL_SECONDS + + Math.floor(Math.random() * STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS); + const newExpiration = new Date(Date.now() + refreshInterval * 1000); + logger.warn("Attempting credential expiration extension due to a credential service availability issue. A refresh of these " + + `credentials will be attempted after ${new Date(newExpiration)}.\nFor more information, please visit: ` + + STATIC_STABILITY_DOC_URL); + const originalExpiration = credentials.originalExpiration ?? credentials.expiration; + return { + ...credentials, + ...(originalExpiration ? { originalExpiration } : {}), + expiration: newExpiration, + }; +}; + +const staticStabilityProvider = (provider, options = {}) => { + const logger = options?.logger || console; + let pastCredentials; + return async () => { + let credentials; + try { + credentials = await provider(); + if (credentials.expiration && credentials.expiration.getTime() < Date.now()) { + credentials = getExtendedInstanceMetadataCredentials(credentials, logger); + } + } + catch (e) { + if (pastCredentials) { + logger.warn("Credential renew failed: ", e); + credentials = getExtendedInstanceMetadataCredentials(pastCredentials, logger); + } + else { + throw e; + } + } + pastCredentials = credentials; + return credentials; + }; +}; + +const IMDS_PATH = "/latest/meta-data/iam/security-credentials/"; +const IMDS_TOKEN_PATH = "/latest/api/token"; +const AWS_EC2_METADATA_V1_DISABLED = "AWS_EC2_METADATA_V1_DISABLED"; +const PROFILE_AWS_EC2_METADATA_V1_DISABLED = "ec2_metadata_v1_disabled"; +const X_AWS_EC2_METADATA_TOKEN = "x-aws-ec2-metadata-token"; +const fromInstanceMetadata = (init = {}) => staticStabilityProvider(getInstanceMetadataProvider(init), { logger: init.logger }); +const getInstanceMetadataProvider = (init = {}) => { + let disableFetchToken = false; + const { logger, profile } = init; + const { timeout, maxRetries } = providerConfigFromInit(init); + const getCredentials = async (maxRetries, options) => { + const isImdsV1Fallback = disableFetchToken || options.headers?.[X_AWS_EC2_METADATA_TOKEN] == null; + if (isImdsV1Fallback) { + let fallbackBlockedFromProfile = false; + let fallbackBlockedFromProcessEnv = false; + const configValue = await nodeConfigProvider.loadConfig({ + environmentVariableSelector: (env) => { + const envValue = env[AWS_EC2_METADATA_V1_DISABLED]; + fallbackBlockedFromProcessEnv = !!envValue && envValue !== "false"; + if (envValue === undefined) { + throw new propertyProvider.CredentialsProviderError(`${AWS_EC2_METADATA_V1_DISABLED} not set in env, checking config file next.`, { logger: init.logger }); + } + return fallbackBlockedFromProcessEnv; + }, + configFileSelector: (profile) => { + const profileValue = profile[PROFILE_AWS_EC2_METADATA_V1_DISABLED]; + fallbackBlockedFromProfile = !!profileValue && profileValue !== "false"; + return fallbackBlockedFromProfile; + }, + default: false, + }, { + profile, + })(); + if (init.ec2MetadataV1Disabled || configValue) { + const causes = []; + if (init.ec2MetadataV1Disabled) + causes.push("credential provider initialization (runtime option ec2MetadataV1Disabled)"); + if (fallbackBlockedFromProfile) + causes.push(`config file profile (${PROFILE_AWS_EC2_METADATA_V1_DISABLED})`); + if (fallbackBlockedFromProcessEnv) + causes.push(`process environment variable (${AWS_EC2_METADATA_V1_DISABLED})`); + throw new InstanceMetadataV1FallbackError(`AWS EC2 Metadata v1 fallback has been blocked by AWS SDK configuration in the following: [${causes.join(", ")}].`); + } + } + const imdsProfile = (await retry(async () => { + let profile; + try { + profile = await getProfile(options); + } + catch (err) { + if (err.statusCode === 401) { + disableFetchToken = false; + } + throw err; + } + return profile; + }, maxRetries)).trim(); + return retry(async () => { + let creds; + try { + creds = await getCredentialsFromProfile(imdsProfile, options, init); + } + catch (err) { + if (err.statusCode === 401) { + disableFetchToken = false; + } + throw err; + } + return creds; + }, maxRetries); + }; + return async () => { + const endpoint = await getInstanceMetadataEndpoint(); + if (disableFetchToken) { + logger?.debug("AWS SDK Instance Metadata", "using v1 fallback (no token fetch)"); + return getCredentials(maxRetries, { ...endpoint, timeout }); + } + else { + let token; + try { + token = (await getMetadataToken({ ...endpoint, timeout })).toString(); + } + catch (error) { + if (error?.statusCode === 400) { + throw Object.assign(error, { + message: "EC2 Metadata token request returned error", + }); + } + else if (error.message === "TimeoutError" || [403, 404, 405].includes(error.statusCode)) { + disableFetchToken = true; + } + logger?.debug("AWS SDK Instance Metadata", "using v1 fallback (initial)"); + return getCredentials(maxRetries, { ...endpoint, timeout }); + } + return getCredentials(maxRetries, { + ...endpoint, + headers: { + [X_AWS_EC2_METADATA_TOKEN]: token, + }, + timeout, + }); + } + }; +}; +const getMetadataToken = async (options) => httpRequest({ + ...options, + path: IMDS_TOKEN_PATH, + method: "PUT", + headers: { + "x-aws-ec2-metadata-token-ttl-seconds": "21600", + }, +}); +const getProfile = async (options) => (await httpRequest({ ...options, path: IMDS_PATH })).toString(); +const getCredentialsFromProfile = async (profile, options, init) => { + const credentialsResponse = JSON.parse((await httpRequest({ + ...options, + path: IMDS_PATH + profile, + })).toString()); + if (!isImdsCredentials(credentialsResponse)) { + throw new propertyProvider.CredentialsProviderError("Invalid response received from instance metadata service.", { + logger: init.logger, + }); + } + return fromImdsCredentials(credentialsResponse); +}; + +exports.DEFAULT_MAX_RETRIES = DEFAULT_MAX_RETRIES; +exports.DEFAULT_TIMEOUT = DEFAULT_TIMEOUT; +exports.ENV_CMDS_AUTH_TOKEN = ENV_CMDS_AUTH_TOKEN; +exports.ENV_CMDS_FULL_URI = ENV_CMDS_FULL_URI; +exports.ENV_CMDS_RELATIVE_URI = ENV_CMDS_RELATIVE_URI; +exports.fromContainerMetadata = fromContainerMetadata; +exports.fromInstanceMetadata = fromInstanceMetadata; +exports.getInstanceMetadataEndpoint = getInstanceMetadataEndpoint; +exports.httpRequest = httpRequest; +exports.providerConfigFromInit = providerConfigFromInit; diff --git a/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js b/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js new file mode 100644 index 0000000..b088eb0 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js @@ -0,0 +1,5 @@ +export var Endpoint; +(function (Endpoint) { + Endpoint["IPv4"] = "http://169.254.169.254"; + Endpoint["IPv6"] = "http://[fd00:ec2::254]"; +})(Endpoint || (Endpoint = {})); diff --git a/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js b/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js new file mode 100644 index 0000000..f043de9 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js @@ -0,0 +1,7 @@ +export const ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT"; +export const CONFIG_ENDPOINT_NAME = "ec2_metadata_service_endpoint"; +export const ENDPOINT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[ENV_ENDPOINT_NAME], + configFileSelector: (profile) => profile[CONFIG_ENDPOINT_NAME], + default: undefined, +}; diff --git a/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js b/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js new file mode 100644 index 0000000..bace819 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js @@ -0,0 +1,5 @@ +export var EndpointMode; +(function (EndpointMode) { + EndpointMode["IPv4"] = "IPv4"; + EndpointMode["IPv6"] = "IPv6"; +})(EndpointMode || (EndpointMode = {})); diff --git a/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js b/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js new file mode 100644 index 0000000..15b19d0 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js @@ -0,0 +1,8 @@ +import { EndpointMode } from "./EndpointMode"; +export const ENV_ENDPOINT_MODE_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE"; +export const CONFIG_ENDPOINT_MODE_NAME = "ec2_metadata_service_endpoint_mode"; +export const ENDPOINT_MODE_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[ENV_ENDPOINT_MODE_NAME], + configFileSelector: (profile) => profile[CONFIG_ENDPOINT_MODE_NAME], + default: EndpointMode.IPv4, +}; diff --git a/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js b/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js new file mode 100644 index 0000000..b769392 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js @@ -0,0 +1,10 @@ +import { CredentialsProviderError } from "@smithy/property-provider"; +export class InstanceMetadataV1FallbackError extends CredentialsProviderError { + tryNextLink; + name = "InstanceMetadataV1FallbackError"; + constructor(message, tryNextLink = true) { + super(message, tryNextLink); + this.tryNextLink = tryNextLink; + Object.setPrototypeOf(this, InstanceMetadataV1FallbackError.prototype); + } +} diff --git a/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js b/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js new file mode 100644 index 0000000..4340e3e --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js @@ -0,0 +1,77 @@ +import { CredentialsProviderError } from "@smithy/property-provider"; +import { parse } from "url"; +import { httpRequest } from "./remoteProvider/httpRequest"; +import { fromImdsCredentials, isImdsCredentials } from "./remoteProvider/ImdsCredentials"; +import { providerConfigFromInit } from "./remoteProvider/RemoteProviderInit"; +import { retry } from "./remoteProvider/retry"; +export const ENV_CMDS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI"; +export const ENV_CMDS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"; +export const ENV_CMDS_AUTH_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN"; +export const fromContainerMetadata = (init = {}) => { + const { timeout, maxRetries } = providerConfigFromInit(init); + return () => retry(async () => { + const requestOptions = await getCmdsUri({ logger: init.logger }); + const credsResponse = JSON.parse(await requestFromEcsImds(timeout, requestOptions)); + if (!isImdsCredentials(credsResponse)) { + throw new CredentialsProviderError("Invalid response received from instance metadata service.", { + logger: init.logger, + }); + } + return fromImdsCredentials(credsResponse); + }, maxRetries); +}; +const requestFromEcsImds = async (timeout, options) => { + if (process.env[ENV_CMDS_AUTH_TOKEN]) { + options.headers = { + ...options.headers, + Authorization: process.env[ENV_CMDS_AUTH_TOKEN], + }; + } + const buffer = await httpRequest({ + ...options, + timeout, + }); + return buffer.toString(); +}; +const CMDS_IP = "169.254.170.2"; +const GREENGRASS_HOSTS = { + localhost: true, + "127.0.0.1": true, +}; +const GREENGRASS_PROTOCOLS = { + "http:": true, + "https:": true, +}; +const getCmdsUri = async ({ logger }) => { + if (process.env[ENV_CMDS_RELATIVE_URI]) { + return { + hostname: CMDS_IP, + path: process.env[ENV_CMDS_RELATIVE_URI], + }; + } + if (process.env[ENV_CMDS_FULL_URI]) { + const parsed = parse(process.env[ENV_CMDS_FULL_URI]); + if (!parsed.hostname || !(parsed.hostname in GREENGRASS_HOSTS)) { + throw new CredentialsProviderError(`${parsed.hostname} is not a valid container metadata service hostname`, { + tryNextLink: false, + logger, + }); + } + if (!parsed.protocol || !(parsed.protocol in GREENGRASS_PROTOCOLS)) { + throw new CredentialsProviderError(`${parsed.protocol} is not a valid container metadata service protocol`, { + tryNextLink: false, + logger, + }); + } + return { + ...parsed, + port: parsed.port ? parseInt(parsed.port, 10) : undefined, + }; + } + throw new CredentialsProviderError("The container metadata credential provider cannot be used unless" + + ` the ${ENV_CMDS_RELATIVE_URI} or ${ENV_CMDS_FULL_URI} environment` + + " variable is set", { + tryNextLink: false, + logger, + }); +}; diff --git a/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js b/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js new file mode 100644 index 0000000..24ecbfd --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js @@ -0,0 +1,134 @@ +import { loadConfig } from "@smithy/node-config-provider"; +import { CredentialsProviderError } from "@smithy/property-provider"; +import { InstanceMetadataV1FallbackError } from "./error/InstanceMetadataV1FallbackError"; +import { httpRequest } from "./remoteProvider/httpRequest"; +import { fromImdsCredentials, isImdsCredentials } from "./remoteProvider/ImdsCredentials"; +import { providerConfigFromInit } from "./remoteProvider/RemoteProviderInit"; +import { retry } from "./remoteProvider/retry"; +import { getInstanceMetadataEndpoint } from "./utils/getInstanceMetadataEndpoint"; +import { staticStabilityProvider } from "./utils/staticStabilityProvider"; +const IMDS_PATH = "/latest/meta-data/iam/security-credentials/"; +const IMDS_TOKEN_PATH = "/latest/api/token"; +const AWS_EC2_METADATA_V1_DISABLED = "AWS_EC2_METADATA_V1_DISABLED"; +const PROFILE_AWS_EC2_METADATA_V1_DISABLED = "ec2_metadata_v1_disabled"; +const X_AWS_EC2_METADATA_TOKEN = "x-aws-ec2-metadata-token"; +export const fromInstanceMetadata = (init = {}) => staticStabilityProvider(getInstanceMetadataProvider(init), { logger: init.logger }); +const getInstanceMetadataProvider = (init = {}) => { + let disableFetchToken = false; + const { logger, profile } = init; + const { timeout, maxRetries } = providerConfigFromInit(init); + const getCredentials = async (maxRetries, options) => { + const isImdsV1Fallback = disableFetchToken || options.headers?.[X_AWS_EC2_METADATA_TOKEN] == null; + if (isImdsV1Fallback) { + let fallbackBlockedFromProfile = false; + let fallbackBlockedFromProcessEnv = false; + const configValue = await loadConfig({ + environmentVariableSelector: (env) => { + const envValue = env[AWS_EC2_METADATA_V1_DISABLED]; + fallbackBlockedFromProcessEnv = !!envValue && envValue !== "false"; + if (envValue === undefined) { + throw new CredentialsProviderError(`${AWS_EC2_METADATA_V1_DISABLED} not set in env, checking config file next.`, { logger: init.logger }); + } + return fallbackBlockedFromProcessEnv; + }, + configFileSelector: (profile) => { + const profileValue = profile[PROFILE_AWS_EC2_METADATA_V1_DISABLED]; + fallbackBlockedFromProfile = !!profileValue && profileValue !== "false"; + return fallbackBlockedFromProfile; + }, + default: false, + }, { + profile, + })(); + if (init.ec2MetadataV1Disabled || configValue) { + const causes = []; + if (init.ec2MetadataV1Disabled) + causes.push("credential provider initialization (runtime option ec2MetadataV1Disabled)"); + if (fallbackBlockedFromProfile) + causes.push(`config file profile (${PROFILE_AWS_EC2_METADATA_V1_DISABLED})`); + if (fallbackBlockedFromProcessEnv) + causes.push(`process environment variable (${AWS_EC2_METADATA_V1_DISABLED})`); + throw new InstanceMetadataV1FallbackError(`AWS EC2 Metadata v1 fallback has been blocked by AWS SDK configuration in the following: [${causes.join(", ")}].`); + } + } + const imdsProfile = (await retry(async () => { + let profile; + try { + profile = await getProfile(options); + } + catch (err) { + if (err.statusCode === 401) { + disableFetchToken = false; + } + throw err; + } + return profile; + }, maxRetries)).trim(); + return retry(async () => { + let creds; + try { + creds = await getCredentialsFromProfile(imdsProfile, options, init); + } + catch (err) { + if (err.statusCode === 401) { + disableFetchToken = false; + } + throw err; + } + return creds; + }, maxRetries); + }; + return async () => { + const endpoint = await getInstanceMetadataEndpoint(); + if (disableFetchToken) { + logger?.debug("AWS SDK Instance Metadata", "using v1 fallback (no token fetch)"); + return getCredentials(maxRetries, { ...endpoint, timeout }); + } + else { + let token; + try { + token = (await getMetadataToken({ ...endpoint, timeout })).toString(); + } + catch (error) { + if (error?.statusCode === 400) { + throw Object.assign(error, { + message: "EC2 Metadata token request returned error", + }); + } + else if (error.message === "TimeoutError" || [403, 404, 405].includes(error.statusCode)) { + disableFetchToken = true; + } + logger?.debug("AWS SDK Instance Metadata", "using v1 fallback (initial)"); + return getCredentials(maxRetries, { ...endpoint, timeout }); + } + return getCredentials(maxRetries, { + ...endpoint, + headers: { + [X_AWS_EC2_METADATA_TOKEN]: token, + }, + timeout, + }); + } + }; +}; +const getMetadataToken = async (options) => httpRequest({ + ...options, + path: IMDS_TOKEN_PATH, + method: "PUT", + headers: { + "x-aws-ec2-metadata-token-ttl-seconds": "21600", + }, +}); +const getProfile = async (options) => (await httpRequest({ ...options, path: IMDS_PATH })).toString(); +const getCredentialsFromProfile = async (profile, options, init) => { + const credentialsResponse = JSON.parse((await httpRequest({ + ...options, + path: IMDS_PATH + profile, + })).toString()); + if (!isImdsCredentials(credentialsResponse)) { + throw new CredentialsProviderError("Invalid response received from instance metadata service.", { + logger: init.logger, + }); + } + return fromImdsCredentials(credentialsResponse); +}; diff --git a/node_modules/@smithy/credential-provider-imds/dist-es/index.js b/node_modules/@smithy/credential-provider-imds/dist-es/index.js new file mode 100644 index 0000000..5362760 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-es/index.js @@ -0,0 +1,7 @@ +export * from "./fromContainerMetadata"; +export * from "./fromInstanceMetadata"; +export * from "./remoteProvider/RemoteProviderInit"; +export * from "./types"; +export { httpRequest } from "./remoteProvider/httpRequest"; +export { getInstanceMetadataEndpoint } from "./utils/getInstanceMetadataEndpoint"; +export { Endpoint } from "./config/Endpoint"; diff --git a/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js b/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js new file mode 100644 index 0000000..c559c4f --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js @@ -0,0 +1,13 @@ +export const isImdsCredentials = (arg) => Boolean(arg) && + typeof arg === "object" && + typeof arg.AccessKeyId === "string" && + typeof arg.SecretAccessKey === "string" && + typeof arg.Token === "string" && + typeof arg.Expiration === "string"; +export const fromImdsCredentials = (creds) => ({ + accessKeyId: creds.AccessKeyId, + secretAccessKey: creds.SecretAccessKey, + sessionToken: creds.Token, + expiration: new Date(creds.Expiration), + ...(creds.AccountId && { accountId: creds.AccountId }), +}); diff --git a/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js b/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js new file mode 100644 index 0000000..39ace38 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js @@ -0,0 +1,3 @@ +export const DEFAULT_TIMEOUT = 1000; +export const DEFAULT_MAX_RETRIES = 0; +export const providerConfigFromInit = ({ maxRetries = DEFAULT_MAX_RETRIES, timeout = DEFAULT_TIMEOUT, }) => ({ maxRetries, timeout }); diff --git a/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js b/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js new file mode 100644 index 0000000..91742d0 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js @@ -0,0 +1,36 @@ +import { ProviderError } from "@smithy/property-provider"; +import { Buffer } from "buffer"; +import { request } from "http"; +export function httpRequest(options) { + return new Promise((resolve, reject) => { + const req = request({ + method: "GET", + ...options, + hostname: options.hostname?.replace(/^\[(.+)\]$/, "$1"), + }); + req.on("error", (err) => { + reject(Object.assign(new ProviderError("Unable to connect to instance metadata service"), err)); + req.destroy(); + }); + req.on("timeout", () => { + reject(new ProviderError("TimeoutError from instance metadata service")); + req.destroy(); + }); + req.on("response", (res) => { + const { statusCode = 400 } = res; + if (statusCode < 200 || 300 <= statusCode) { + reject(Object.assign(new ProviderError("Error response received from instance metadata service"), { statusCode })); + req.destroy(); + } + const chunks = []; + res.on("data", (chunk) => { + chunks.push(chunk); + }); + res.on("end", () => { + resolve(Buffer.concat(chunks)); + req.destroy(); + }); + }); + req.end(); + }); +} diff --git a/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js b/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js new file mode 100644 index 0000000..d4ad601 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js @@ -0,0 +1,2 @@ +export * from "./ImdsCredentials"; +export * from "./RemoteProviderInit"; diff --git a/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js b/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js new file mode 100644 index 0000000..22b79bb --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js @@ -0,0 +1,7 @@ +export const retry = (toRetry, maxRetries) => { + let promise = toRetry(); + for (let i = 0; i < maxRetries; i++) { + promise = promise.catch(toRetry); + } + return promise; +}; diff --git a/node_modules/@smithy/credential-provider-imds/dist-es/types.js b/node_modules/@smithy/credential-provider-imds/dist-es/types.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-es/types.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js b/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js new file mode 100644 index 0000000..5614692 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js @@ -0,0 +1,17 @@ +const STATIC_STABILITY_REFRESH_INTERVAL_SECONDS = 5 * 60; +const STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS = 5 * 60; +const STATIC_STABILITY_DOC_URL = "https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html"; +export const getExtendedInstanceMetadataCredentials = (credentials, logger) => { + const refreshInterval = STATIC_STABILITY_REFRESH_INTERVAL_SECONDS + + Math.floor(Math.random() * STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS); + const newExpiration = new Date(Date.now() + refreshInterval * 1000); + logger.warn("Attempting credential expiration extension due to a credential service availability issue. A refresh of these " + + `credentials will be attempted after ${new Date(newExpiration)}.\nFor more information, please visit: ` + + STATIC_STABILITY_DOC_URL); + const originalExpiration = credentials.originalExpiration ?? credentials.expiration; + return { + ...credentials, + ...(originalExpiration ? { originalExpiration } : {}), + expiration: newExpiration, + }; +}; diff --git a/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js b/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js new file mode 100644 index 0000000..4c611ad --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js @@ -0,0 +1,19 @@ +import { loadConfig } from "@smithy/node-config-provider"; +import { parseUrl } from "@smithy/url-parser"; +import { Endpoint as InstanceMetadataEndpoint } from "../config/Endpoint"; +import { ENDPOINT_CONFIG_OPTIONS } from "../config/EndpointConfigOptions"; +import { EndpointMode } from "../config/EndpointMode"; +import { ENDPOINT_MODE_CONFIG_OPTIONS, } from "../config/EndpointModeConfigOptions"; +export const getInstanceMetadataEndpoint = async () => parseUrl((await getFromEndpointConfig()) || (await getFromEndpointModeConfig())); +const getFromEndpointConfig = async () => loadConfig(ENDPOINT_CONFIG_OPTIONS)(); +const getFromEndpointModeConfig = async () => { + const endpointMode = await loadConfig(ENDPOINT_MODE_CONFIG_OPTIONS)(); + switch (endpointMode) { + case EndpointMode.IPv4: + return InstanceMetadataEndpoint.IPv4; + case EndpointMode.IPv6: + return InstanceMetadataEndpoint.IPv6; + default: + throw new Error(`Unsupported endpoint mode: ${endpointMode}.` + ` Select from ${Object.values(EndpointMode)}`); + } +}; diff --git a/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js b/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js new file mode 100644 index 0000000..9a1e742 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js @@ -0,0 +1,25 @@ +import { getExtendedInstanceMetadataCredentials } from "./getExtendedInstanceMetadataCredentials"; +export const staticStabilityProvider = (provider, options = {}) => { + const logger = options?.logger || console; + let pastCredentials; + return async () => { + let credentials; + try { + credentials = await provider(); + if (credentials.expiration && credentials.expiration.getTime() < Date.now()) { + credentials = getExtendedInstanceMetadataCredentials(credentials, logger); + } + } + catch (e) { + if (pastCredentials) { + logger.warn("Credential renew failed: ", e); + credentials = getExtendedInstanceMetadataCredentials(pastCredentials, logger); + } + else { + throw e; + } + } + pastCredentials = credentials; + return credentials; + }; +}; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/config/Endpoint.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/config/Endpoint.d.ts new file mode 100644 index 0000000..000e313 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/config/Endpoint.d.ts @@ -0,0 +1,7 @@ +/** + * @internal + */ +export declare enum Endpoint { + IPv4 = "http://169.254.169.254", + IPv6 = "http://[fd00:ec2::254]" +} diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts new file mode 100644 index 0000000..0c33092 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts @@ -0,0 +1,13 @@ +import type { LoadedConfigSelectors } from "@smithy/node-config-provider"; +/** + * @internal + */ +export declare const ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT"; +/** + * @internal + */ +export declare const CONFIG_ENDPOINT_NAME = "ec2_metadata_service_endpoint"; +/** + * @internal + */ +export declare const ENDPOINT_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointMode.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointMode.d.ts new file mode 100644 index 0000000..db70619 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointMode.d.ts @@ -0,0 +1,7 @@ +/** + * @internal + */ +export declare enum EndpointMode { + IPv4 = "IPv4", + IPv6 = "IPv6" +} diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts new file mode 100644 index 0000000..0037c88 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts @@ -0,0 +1,13 @@ +import type { LoadedConfigSelectors } from "@smithy/node-config-provider"; +/** + * @internal + */ +export declare const ENV_ENDPOINT_MODE_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE"; +/** + * @internal + */ +export declare const CONFIG_ENDPOINT_MODE_NAME = "ec2_metadata_service_endpoint_mode"; +/** + * @internal + */ +export declare const ENDPOINT_MODE_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/error/InstanceMetadataV1FallbackError.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/error/InstanceMetadataV1FallbackError.d.ts new file mode 100644 index 0000000..8338ccb --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/error/InstanceMetadataV1FallbackError.d.ts @@ -0,0 +1,12 @@ +import { CredentialsProviderError } from "@smithy/property-provider"; +/** + * @public + * + * A specific sub-case of CredentialsProviderError, when the IMDSv1 fallback + * has been attempted but shut off by SDK configuration. + */ +export declare class InstanceMetadataV1FallbackError extends CredentialsProviderError { + readonly tryNextLink: boolean; + name: string; + constructor(message: string, tryNextLink?: boolean); +} diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts new file mode 100644 index 0000000..bb64ddb --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts @@ -0,0 +1,21 @@ +import type { AwsCredentialIdentityProvider } from "@smithy/types"; +import type { RemoteProviderInit } from "./remoteProvider/RemoteProviderInit"; +/** + * @internal + */ +export declare const ENV_CMDS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI"; +/** + * @internal + */ +export declare const ENV_CMDS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"; +/** + * @internal + */ +export declare const ENV_CMDS_AUTH_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN"; +/** + * @internal + * + * Creates a credential provider that will source credentials from the ECS + * Container Metadata Service + */ +export declare const fromContainerMetadata: (init?: RemoteProviderInit) => AwsCredentialIdentityProvider; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts new file mode 100644 index 0000000..80a94aa --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts @@ -0,0 +1,10 @@ +import type { Provider } from "@smithy/types"; +import type { RemoteProviderInit } from "./remoteProvider/RemoteProviderInit"; +import type { InstanceMetadataCredentials } from "./types"; +/** + * @internal + * + * Creates a credential provider that will source credentials from the EC2 + * Instance Metadata Service + */ +export declare const fromInstanceMetadata: (init?: RemoteProviderInit) => Provider; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts new file mode 100644 index 0000000..5a87b2f --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts @@ -0,0 +1,28 @@ +/** + * @internal + */ +export * from "./fromContainerMetadata"; +/** + * @internal + */ +export * from "./fromInstanceMetadata"; +/** + * @internal + */ +export * from "./remoteProvider/RemoteProviderInit"; +/** + * @internal + */ +export * from "./types"; +/** + * @internal + */ +export { httpRequest } from "./remoteProvider/httpRequest"; +/** + * @internal + */ +export { getInstanceMetadataEndpoint } from "./utils/getInstanceMetadataEndpoint"; +/** + * @internal + */ +export { Endpoint } from "./config/Endpoint"; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts new file mode 100644 index 0000000..fd55932 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts @@ -0,0 +1,19 @@ +import type { AwsCredentialIdentity } from "@smithy/types"; +/** + * @internal + */ +export interface ImdsCredentials { + AccessKeyId: string; + SecretAccessKey: string; + Token: string; + Expiration: string; + AccountId?: string; +} +/** + * @internal + */ +export declare const isImdsCredentials: (arg: any) => arg is ImdsCredentials; +/** + * @internal + */ +export declare const fromImdsCredentials: (creds: ImdsCredentials) => AwsCredentialIdentity; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/RemoteProviderInit.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/RemoteProviderInit.d.ts new file mode 100644 index 0000000..68e6ffe --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/RemoteProviderInit.d.ts @@ -0,0 +1,40 @@ +import type { Logger } from "@smithy/types"; +/** + * @internal + */ +export declare const DEFAULT_TIMEOUT = 1000; +/** + * @internal + */ +export declare const DEFAULT_MAX_RETRIES = 0; +/** + * @public + */ +export interface RemoteProviderConfig { + /** + * The connection timeout (in milliseconds) + */ + timeout: number; + /** + * The maximum number of times the HTTP connection should be retried + */ + maxRetries: number; +} +/** + * @public + */ +export interface RemoteProviderInit extends Partial { + logger?: Logger; + /** + * Only used in the IMDS credential provider. + */ + ec2MetadataV1Disabled?: boolean; + /** + * AWS_PROFILE. + */ + profile?: string; +} +/** + * @internal + */ +export declare const providerConfigFromInit: ({ maxRetries, timeout, }: RemoteProviderInit) => RemoteProviderConfig; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts new file mode 100644 index 0000000..49edfba --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts @@ -0,0 +1,6 @@ +import { Buffer } from "buffer"; +import type { RequestOptions } from "http"; +/** + * @internal + */ +export declare function httpRequest(options: RequestOptions): Promise; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts new file mode 100644 index 0000000..ed18a70 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./ImdsCredentials"; +/** + * @internal + */ +export * from "./RemoteProviderInit"; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/retry.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/retry.d.ts new file mode 100644 index 0000000..4e8abc0 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/retry.d.ts @@ -0,0 +1,10 @@ +/** + * @internal + */ +export interface RetryableProvider { + (): Promise; +} +/** + * @internal + */ +export declare const retry: (toRetry: RetryableProvider, maxRetries: number) => Promise; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts new file mode 100644 index 0000000..000e313 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts @@ -0,0 +1,7 @@ +/** + * @internal + */ +export declare enum Endpoint { + IPv4 = "http://169.254.169.254", + IPv6 = "http://[fd00:ec2::254]" +} diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts new file mode 100644 index 0000000..c03e22c --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts @@ -0,0 +1,13 @@ +import { LoadedConfigSelectors } from "@smithy/node-config-provider"; +/** + * @internal + */ +export declare const ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT"; +/** + * @internal + */ +export declare const CONFIG_ENDPOINT_NAME = "ec2_metadata_service_endpoint"; +/** + * @internal + */ +export declare const ENDPOINT_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts new file mode 100644 index 0000000..db70619 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts @@ -0,0 +1,7 @@ +/** + * @internal + */ +export declare enum EndpointMode { + IPv4 = "IPv4", + IPv6 = "IPv6" +} diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts new file mode 100644 index 0000000..c743199 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts @@ -0,0 +1,13 @@ +import { LoadedConfigSelectors } from "@smithy/node-config-provider"; +/** + * @internal + */ +export declare const ENV_ENDPOINT_MODE_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE"; +/** + * @internal + */ +export declare const CONFIG_ENDPOINT_MODE_NAME = "ec2_metadata_service_endpoint_mode"; +/** + * @internal + */ +export declare const ENDPOINT_MODE_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts new file mode 100644 index 0000000..8338ccb --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts @@ -0,0 +1,12 @@ +import { CredentialsProviderError } from "@smithy/property-provider"; +/** + * @public + * + * A specific sub-case of CredentialsProviderError, when the IMDSv1 fallback + * has been attempted but shut off by SDK configuration. + */ +export declare class InstanceMetadataV1FallbackError extends CredentialsProviderError { + readonly tryNextLink: boolean; + name: string; + constructor(message: string, tryNextLink?: boolean); +} diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts new file mode 100644 index 0000000..f6f28f0 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts @@ -0,0 +1,21 @@ +import { AwsCredentialIdentityProvider } from "@smithy/types"; +import { RemoteProviderInit } from "./remoteProvider/RemoteProviderInit"; +/** + * @internal + */ +export declare const ENV_CMDS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI"; +/** + * @internal + */ +export declare const ENV_CMDS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"; +/** + * @internal + */ +export declare const ENV_CMDS_AUTH_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN"; +/** + * @internal + * + * Creates a credential provider that will source credentials from the ECS + * Container Metadata Service + */ +export declare const fromContainerMetadata: (init?: RemoteProviderInit) => AwsCredentialIdentityProvider; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts new file mode 100644 index 0000000..24db95a --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts @@ -0,0 +1,10 @@ +import { Provider } from "@smithy/types"; +import { RemoteProviderInit } from "./remoteProvider/RemoteProviderInit"; +import { InstanceMetadataCredentials } from "./types"; +/** + * @internal + * + * Creates a credential provider that will source credentials from the EC2 + * Instance Metadata Service + */ +export declare const fromInstanceMetadata: (init?: RemoteProviderInit) => Provider; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..5a87b2f --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts @@ -0,0 +1,28 @@ +/** + * @internal + */ +export * from "./fromContainerMetadata"; +/** + * @internal + */ +export * from "./fromInstanceMetadata"; +/** + * @internal + */ +export * from "./remoteProvider/RemoteProviderInit"; +/** + * @internal + */ +export * from "./types"; +/** + * @internal + */ +export { httpRequest } from "./remoteProvider/httpRequest"; +/** + * @internal + */ +export { getInstanceMetadataEndpoint } from "./utils/getInstanceMetadataEndpoint"; +/** + * @internal + */ +export { Endpoint } from "./config/Endpoint"; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts new file mode 100644 index 0000000..c2c7d51 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts @@ -0,0 +1,19 @@ +import { AwsCredentialIdentity } from "@smithy/types"; +/** + * @internal + */ +export interface ImdsCredentials { + AccessKeyId: string; + SecretAccessKey: string; + Token: string; + Expiration: string; + AccountId?: string; +} +/** + * @internal + */ +export declare const isImdsCredentials: (arg: any) => arg is ImdsCredentials; +/** + * @internal + */ +export declare const fromImdsCredentials: (creds: ImdsCredentials) => AwsCredentialIdentity; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts new file mode 100644 index 0000000..df9eff7 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts @@ -0,0 +1,40 @@ +import { Logger } from "@smithy/types"; +/** + * @internal + */ +export declare const DEFAULT_TIMEOUT = 1000; +/** + * @internal + */ +export declare const DEFAULT_MAX_RETRIES = 0; +/** + * @public + */ +export interface RemoteProviderConfig { + /** + * The connection timeout (in milliseconds) + */ + timeout: number; + /** + * The maximum number of times the HTTP connection should be retried + */ + maxRetries: number; +} +/** + * @public + */ +export interface RemoteProviderInit extends Partial { + logger?: Logger; + /** + * Only used in the IMDS credential provider. + */ + ec2MetadataV1Disabled?: boolean; + /** + * AWS_PROFILE. + */ + profile?: string; +} +/** + * @internal + */ +export declare const providerConfigFromInit: ({ maxRetries, timeout, }: RemoteProviderInit) => RemoteProviderConfig; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts new file mode 100644 index 0000000..b9ad63e --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts @@ -0,0 +1,6 @@ +import { Buffer } from "buffer"; +import { RequestOptions } from "http"; +/** + * @internal + */ +export declare function httpRequest(options: RequestOptions): Promise; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts new file mode 100644 index 0000000..ed18a70 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./ImdsCredentials"; +/** + * @internal + */ +export * from "./RemoteProviderInit"; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts new file mode 100644 index 0000000..4e8abc0 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts @@ -0,0 +1,10 @@ +/** + * @internal + */ +export interface RetryableProvider { + (): Promise; +} +/** + * @internal + */ +export declare const retry: (toRetry: RetryableProvider, maxRetries: number) => Promise; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts new file mode 100644 index 0000000..e74ec99 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts @@ -0,0 +1,7 @@ +import { AwsCredentialIdentity } from "@smithy/types"; +/** + * @internal + */ +export interface InstanceMetadataCredentials extends AwsCredentialIdentity { + readonly originalExpiration?: Date; +} diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts new file mode 100644 index 0000000..f0ed41b --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts @@ -0,0 +1,6 @@ +import { Logger } from "@smithy/types"; +import { InstanceMetadataCredentials } from "../types"; +/** + * @internal + */ +export declare const getExtendedInstanceMetadataCredentials: (credentials: InstanceMetadataCredentials, logger: Logger) => InstanceMetadataCredentials; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts new file mode 100644 index 0000000..db6b6da --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts @@ -0,0 +1,21 @@ +import { Endpoint } from "@smithy/types"; +/** + * Returns the host to use for instance metadata service call. + * + * The host is read from endpoint which can be set either in + * {@link ENV_ENDPOINT_NAME} environment variable or {@link CONFIG_ENDPOINT_NAME} + * configuration property. + * + * If endpoint is not set, then endpoint mode is read either from + * {@link ENV_ENDPOINT_MODE_NAME} environment variable or {@link CONFIG_ENDPOINT_MODE_NAME} + * configuration property. If endpoint mode is not set, then default endpoint mode + * {@link EndpointMode.IPv4} is used. + * + * If endpoint mode is set to {@link EndpointMode.IPv4}, then the host is {@link Endpoint.IPv4}. + * If endpoint mode is set to {@link EndpointMode.IPv6}, then the host is {@link Endpoint.IPv6}. + * + * @returns Host to use for instance metadata service call. + * + * @internal + */ +export declare const getInstanceMetadataEndpoint: () => Promise; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts new file mode 100644 index 0000000..7a2ad7d --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts @@ -0,0 +1,16 @@ +import { Logger, Provider } from "@smithy/types"; +import { InstanceMetadataCredentials } from "../types"; +/** + * @internal + * + * IMDS credential supports static stability feature. When used, the expiration + * of recently issued credentials is extended. The server side allows using + * the recently expired credentials. This mitigates impact when clients using + * refreshable credentials are unable to retrieve updates. + * + * @param provider Credential provider + * @returns A credential provider that supports static stability + */ +export declare const staticStabilityProvider: (provider: Provider, options?: { + logger?: Logger; +}) => Provider; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/types.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/types.d.ts new file mode 100644 index 0000000..d9434ed --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/types.d.ts @@ -0,0 +1,7 @@ +import type { AwsCredentialIdentity } from "@smithy/types"; +/** + * @internal + */ +export interface InstanceMetadataCredentials extends AwsCredentialIdentity { + readonly originalExpiration?: Date; +} diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/utils/getExtendedInstanceMetadataCredentials.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/utils/getExtendedInstanceMetadataCredentials.d.ts new file mode 100644 index 0000000..8420aa2 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/utils/getExtendedInstanceMetadataCredentials.d.ts @@ -0,0 +1,6 @@ +import type { Logger } from "@smithy/types"; +import type { InstanceMetadataCredentials } from "../types"; +/** + * @internal + */ +export declare const getExtendedInstanceMetadataCredentials: (credentials: InstanceMetadataCredentials, logger: Logger) => InstanceMetadataCredentials; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/utils/getInstanceMetadataEndpoint.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/utils/getInstanceMetadataEndpoint.d.ts new file mode 100644 index 0000000..63c0b7b --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/utils/getInstanceMetadataEndpoint.d.ts @@ -0,0 +1,21 @@ +import type { Endpoint } from "@smithy/types"; +/** + * Returns the host to use for instance metadata service call. + * + * The host is read from endpoint which can be set either in + * {@link ENV_ENDPOINT_NAME} environment variable or {@link CONFIG_ENDPOINT_NAME} + * configuration property. + * + * If endpoint is not set, then endpoint mode is read either from + * {@link ENV_ENDPOINT_MODE_NAME} environment variable or {@link CONFIG_ENDPOINT_MODE_NAME} + * configuration property. If endpoint mode is not set, then default endpoint mode + * {@link EndpointMode.IPv4} is used. + * + * If endpoint mode is set to {@link EndpointMode.IPv4}, then the host is {@link Endpoint.IPv4}. + * If endpoint mode is set to {@link EndpointMode.IPv6}, then the host is {@link Endpoint.IPv6}. + * + * @returns Host to use for instance metadata service call. + * + * @internal + */ +export declare const getInstanceMetadataEndpoint: () => Promise; diff --git a/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts b/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts new file mode 100644 index 0000000..9ad9ddc --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts @@ -0,0 +1,16 @@ +import type { Logger, Provider } from "@smithy/types"; +import type { InstanceMetadataCredentials } from "../types"; +/** + * @internal + * + * IMDS credential supports static stability feature. When used, the expiration + * of recently issued credentials is extended. The server side allows using + * the recently expired credentials. This mitigates impact when clients using + * refreshable credentials are unable to retrieve updates. + * + * @param provider Credential provider + * @returns A credential provider that supports static stability + */ +export declare const staticStabilityProvider: (provider: Provider, options?: { + logger?: Logger; +}) => Provider; diff --git a/node_modules/@smithy/credential-provider-imds/package.json b/node_modules/@smithy/credential-provider-imds/package.json new file mode 100644 index 0000000..cf25306 --- /dev/null +++ b/node_modules/@smithy/credential-provider-imds/package.json @@ -0,0 +1,70 @@ +{ + "name": "@smithy/credential-provider-imds", + "version": "4.2.12", + "description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline credential-provider-imds", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "keywords": [ + "aws", + "credentials" + ], + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/node-config-provider": "^4.3.12", + "@smithy/property-provider": "^4.2.12", + "@smithy/types": "^4.13.1", + "@smithy/url-parser": "^4.2.12", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/credential-provider-imds", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/credential-provider-imds" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/eventstream-codec/LICENSE b/node_modules/@smithy/eventstream-codec/LICENSE new file mode 100644 index 0000000..dd65ae0 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@smithy/eventstream-codec/README.md b/node_modules/@smithy/eventstream-codec/README.md new file mode 100644 index 0000000..f846ca1 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/README.md @@ -0,0 +1,4 @@ +# @smithy/eventstream-codec + +[![NPM version](https://img.shields.io/npm/v/@smithy/eventstream-codec/latest.svg)](https://www.npmjs.com/package/@smithy/eventstream-codec) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/eventstream-codec.svg)](https://www.npmjs.com/package/@smithy/eventstream-codec) diff --git a/node_modules/@smithy/eventstream-codec/dist-cjs/index.js b/node_modules/@smithy/eventstream-codec/dist-cjs/index.js new file mode 100644 index 0000000..a17fea8 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-cjs/index.js @@ -0,0 +1,388 @@ +'use strict'; + +var crc32 = require('@aws-crypto/crc32'); +var utilHexEncoding = require('@smithy/util-hex-encoding'); + +class Int64 { + bytes; + constructor(bytes) { + this.bytes = bytes; + if (bytes.byteLength !== 8) { + throw new Error("Int64 buffers must be exactly 8 bytes"); + } + } + static fromNumber(number) { + if (number > 9_223_372_036_854_775_807 || number < -9223372036854776e3) { + throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`); + } + const bytes = new Uint8Array(8); + for (let i = 7, remaining = Math.abs(Math.round(number)); i > -1 && remaining > 0; i--, remaining /= 256) { + bytes[i] = remaining; + } + if (number < 0) { + negate(bytes); + } + return new Int64(bytes); + } + valueOf() { + const bytes = this.bytes.slice(0); + const negative = bytes[0] & 0b10000000; + if (negative) { + negate(bytes); + } + return parseInt(utilHexEncoding.toHex(bytes), 16) * (negative ? -1 : 1); + } + toString() { + return String(this.valueOf()); + } +} +function negate(bytes) { + for (let i = 0; i < 8; i++) { + bytes[i] ^= 0xff; + } + for (let i = 7; i > -1; i--) { + bytes[i]++; + if (bytes[i] !== 0) + break; + } +} + +class HeaderMarshaller { + toUtf8; + fromUtf8; + constructor(toUtf8, fromUtf8) { + this.toUtf8 = toUtf8; + this.fromUtf8 = fromUtf8; + } + format(headers) { + const chunks = []; + for (const headerName of Object.keys(headers)) { + const bytes = this.fromUtf8(headerName); + chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName])); + } + const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0)); + let position = 0; + for (const chunk of chunks) { + out.set(chunk, position); + position += chunk.byteLength; + } + return out; + } + formatHeaderValue(header) { + switch (header.type) { + case "boolean": + return Uint8Array.from([header.value ? 0 : 1]); + case "byte": + return Uint8Array.from([2, header.value]); + case "short": + const shortView = new DataView(new ArrayBuffer(3)); + shortView.setUint8(0, 3); + shortView.setInt16(1, header.value, false); + return new Uint8Array(shortView.buffer); + case "integer": + const intView = new DataView(new ArrayBuffer(5)); + intView.setUint8(0, 4); + intView.setInt32(1, header.value, false); + return new Uint8Array(intView.buffer); + case "long": + const longBytes = new Uint8Array(9); + longBytes[0] = 5; + longBytes.set(header.value.bytes, 1); + return longBytes; + case "binary": + const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength)); + binView.setUint8(0, 6); + binView.setUint16(1, header.value.byteLength, false); + const binBytes = new Uint8Array(binView.buffer); + binBytes.set(header.value, 3); + return binBytes; + case "string": + const utf8Bytes = this.fromUtf8(header.value); + const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength)); + strView.setUint8(0, 7); + strView.setUint16(1, utf8Bytes.byteLength, false); + const strBytes = new Uint8Array(strView.buffer); + strBytes.set(utf8Bytes, 3); + return strBytes; + case "timestamp": + const tsBytes = new Uint8Array(9); + tsBytes[0] = 8; + tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1); + return tsBytes; + case "uuid": + if (!UUID_PATTERN.test(header.value)) { + throw new Error(`Invalid UUID received: ${header.value}`); + } + const uuidBytes = new Uint8Array(17); + uuidBytes[0] = 9; + uuidBytes.set(utilHexEncoding.fromHex(header.value.replace(/\-/g, "")), 1); + return uuidBytes; + } + } + parse(headers) { + const out = {}; + let position = 0; + while (position < headers.byteLength) { + const nameLength = headers.getUint8(position++); + const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength)); + position += nameLength; + switch (headers.getUint8(position++)) { + case 0: + out[name] = { + type: BOOLEAN_TAG, + value: true, + }; + break; + case 1: + out[name] = { + type: BOOLEAN_TAG, + value: false, + }; + break; + case 2: + out[name] = { + type: BYTE_TAG, + value: headers.getInt8(position++), + }; + break; + case 3: + out[name] = { + type: SHORT_TAG, + value: headers.getInt16(position, false), + }; + position += 2; + break; + case 4: + out[name] = { + type: INT_TAG, + value: headers.getInt32(position, false), + }; + position += 4; + break; + case 5: + out[name] = { + type: LONG_TAG, + value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)), + }; + position += 8; + break; + case 6: + const binaryLength = headers.getUint16(position, false); + position += 2; + out[name] = { + type: BINARY_TAG, + value: new Uint8Array(headers.buffer, headers.byteOffset + position, binaryLength), + }; + position += binaryLength; + break; + case 7: + const stringLength = headers.getUint16(position, false); + position += 2; + out[name] = { + type: STRING_TAG, + value: this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, stringLength)), + }; + position += stringLength; + break; + case 8: + out[name] = { + type: TIMESTAMP_TAG, + value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf()), + }; + position += 8; + break; + case 9: + const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16); + position += 16; + out[name] = { + type: UUID_TAG, + value: `${utilHexEncoding.toHex(uuidBytes.subarray(0, 4))}-${utilHexEncoding.toHex(uuidBytes.subarray(4, 6))}-${utilHexEncoding.toHex(uuidBytes.subarray(6, 8))}-${utilHexEncoding.toHex(uuidBytes.subarray(8, 10))}-${utilHexEncoding.toHex(uuidBytes.subarray(10))}`, + }; + break; + default: + throw new Error(`Unrecognized header type tag`); + } + } + return out; + } +} +const BOOLEAN_TAG = "boolean"; +const BYTE_TAG = "byte"; +const SHORT_TAG = "short"; +const INT_TAG = "integer"; +const LONG_TAG = "long"; +const BINARY_TAG = "binary"; +const STRING_TAG = "string"; +const TIMESTAMP_TAG = "timestamp"; +const UUID_TAG = "uuid"; +const UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/; + +const PRELUDE_MEMBER_LENGTH = 4; +const PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2; +const CHECKSUM_LENGTH = 4; +const MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2; +function splitMessage({ byteLength, byteOffset, buffer }) { + if (byteLength < MINIMUM_MESSAGE_LENGTH) { + throw new Error("Provided message too short to accommodate event stream message overhead"); + } + const view = new DataView(buffer, byteOffset, byteLength); + const messageLength = view.getUint32(0, false); + if (byteLength !== messageLength) { + throw new Error("Reported message length does not match received message length"); + } + const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH, false); + const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH, false); + const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH, false); + const checksummer = new crc32.Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH)); + if (expectedPreludeChecksum !== checksummer.digest()) { + throw new Error(`The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`); + } + checksummer.update(new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH, byteLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH))); + if (expectedMessageChecksum !== checksummer.digest()) { + throw new Error(`The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`); + } + return { + headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH, headerLength), + body: new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH + headerLength, messageLength - headerLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH + CHECKSUM_LENGTH)), + }; +} + +class EventStreamCodec { + headerMarshaller; + messageBuffer; + isEndOfStream; + constructor(toUtf8, fromUtf8) { + this.headerMarshaller = new HeaderMarshaller(toUtf8, fromUtf8); + this.messageBuffer = []; + this.isEndOfStream = false; + } + feed(message) { + this.messageBuffer.push(this.decode(message)); + } + endOfStream() { + this.isEndOfStream = true; + } + getMessage() { + const message = this.messageBuffer.pop(); + const isEndOfStream = this.isEndOfStream; + return { + getMessage() { + return message; + }, + isEndOfStream() { + return isEndOfStream; + }, + }; + } + getAvailableMessages() { + const messages = this.messageBuffer; + this.messageBuffer = []; + const isEndOfStream = this.isEndOfStream; + return { + getMessages() { + return messages; + }, + isEndOfStream() { + return isEndOfStream; + }, + }; + } + encode({ headers: rawHeaders, body }) { + const headers = this.headerMarshaller.format(rawHeaders); + const length = headers.byteLength + body.byteLength + 16; + const out = new Uint8Array(length); + const view = new DataView(out.buffer, out.byteOffset, out.byteLength); + const checksum = new crc32.Crc32(); + view.setUint32(0, length, false); + view.setUint32(4, headers.byteLength, false); + view.setUint32(8, checksum.update(out.subarray(0, 8)).digest(), false); + out.set(headers, 12); + out.set(body, headers.byteLength + 12); + view.setUint32(length - 4, checksum.update(out.subarray(8, length - 4)).digest(), false); + return out; + } + decode(message) { + const { headers, body } = splitMessage(message); + return { headers: this.headerMarshaller.parse(headers), body }; + } + formatHeaders(rawHeaders) { + return this.headerMarshaller.format(rawHeaders); + } +} + +class MessageDecoderStream { + options; + constructor(options) { + this.options = options; + } + [Symbol.asyncIterator]() { + return this.asyncIterator(); + } + async *asyncIterator() { + for await (const bytes of this.options.inputStream) { + const decoded = this.options.decoder.decode(bytes); + yield decoded; + } + } +} + +class MessageEncoderStream { + options; + constructor(options) { + this.options = options; + } + [Symbol.asyncIterator]() { + return this.asyncIterator(); + } + async *asyncIterator() { + for await (const msg of this.options.messageStream) { + const encoded = this.options.encoder.encode(msg); + yield encoded; + } + if (this.options.includeEndFrame) { + yield new Uint8Array(0); + } + } +} + +class SmithyMessageDecoderStream { + options; + constructor(options) { + this.options = options; + } + [Symbol.asyncIterator]() { + return this.asyncIterator(); + } + async *asyncIterator() { + for await (const message of this.options.messageStream) { + const deserialized = await this.options.deserializer(message); + if (deserialized === undefined) + continue; + yield deserialized; + } + } +} + +class SmithyMessageEncoderStream { + options; + constructor(options) { + this.options = options; + } + [Symbol.asyncIterator]() { + return this.asyncIterator(); + } + async *asyncIterator() { + for await (const chunk of this.options.inputStream) { + const payloadBuf = this.options.serializer(chunk); + yield payloadBuf; + } + } +} + +exports.EventStreamCodec = EventStreamCodec; +exports.HeaderMarshaller = HeaderMarshaller; +exports.Int64 = Int64; +exports.MessageDecoderStream = MessageDecoderStream; +exports.MessageEncoderStream = MessageEncoderStream; +exports.SmithyMessageDecoderStream = SmithyMessageDecoderStream; +exports.SmithyMessageEncoderStream = SmithyMessageEncoderStream; diff --git a/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js b/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js new file mode 100644 index 0000000..87edad1 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js @@ -0,0 +1,65 @@ +import { Crc32 } from "@aws-crypto/crc32"; +import { HeaderMarshaller } from "./HeaderMarshaller"; +import { splitMessage } from "./splitMessage"; +export class EventStreamCodec { + headerMarshaller; + messageBuffer; + isEndOfStream; + constructor(toUtf8, fromUtf8) { + this.headerMarshaller = new HeaderMarshaller(toUtf8, fromUtf8); + this.messageBuffer = []; + this.isEndOfStream = false; + } + feed(message) { + this.messageBuffer.push(this.decode(message)); + } + endOfStream() { + this.isEndOfStream = true; + } + getMessage() { + const message = this.messageBuffer.pop(); + const isEndOfStream = this.isEndOfStream; + return { + getMessage() { + return message; + }, + isEndOfStream() { + return isEndOfStream; + }, + }; + } + getAvailableMessages() { + const messages = this.messageBuffer; + this.messageBuffer = []; + const isEndOfStream = this.isEndOfStream; + return { + getMessages() { + return messages; + }, + isEndOfStream() { + return isEndOfStream; + }, + }; + } + encode({ headers: rawHeaders, body }) { + const headers = this.headerMarshaller.format(rawHeaders); + const length = headers.byteLength + body.byteLength + 16; + const out = new Uint8Array(length); + const view = new DataView(out.buffer, out.byteOffset, out.byteLength); + const checksum = new Crc32(); + view.setUint32(0, length, false); + view.setUint32(4, headers.byteLength, false); + view.setUint32(8, checksum.update(out.subarray(0, 8)).digest(), false); + out.set(headers, 12); + out.set(body, headers.byteLength + 12); + view.setUint32(length - 4, checksum.update(out.subarray(8, length - 4)).digest(), false); + return out; + } + decode(message) { + const { headers, body } = splitMessage(message); + return { headers: this.headerMarshaller.parse(headers), body }; + } + formatHeaders(rawHeaders) { + return this.headerMarshaller.format(rawHeaders); + } +} diff --git a/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js b/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js new file mode 100644 index 0000000..7e0ce59 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js @@ -0,0 +1,184 @@ +import { fromHex, toHex } from "@smithy/util-hex-encoding"; +import { Int64 } from "./Int64"; +export class HeaderMarshaller { + toUtf8; + fromUtf8; + constructor(toUtf8, fromUtf8) { + this.toUtf8 = toUtf8; + this.fromUtf8 = fromUtf8; + } + format(headers) { + const chunks = []; + for (const headerName of Object.keys(headers)) { + const bytes = this.fromUtf8(headerName); + chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName])); + } + const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0)); + let position = 0; + for (const chunk of chunks) { + out.set(chunk, position); + position += chunk.byteLength; + } + return out; + } + formatHeaderValue(header) { + switch (header.type) { + case "boolean": + return Uint8Array.from([header.value ? 0 : 1]); + case "byte": + return Uint8Array.from([2, header.value]); + case "short": + const shortView = new DataView(new ArrayBuffer(3)); + shortView.setUint8(0, 3); + shortView.setInt16(1, header.value, false); + return new Uint8Array(shortView.buffer); + case "integer": + const intView = new DataView(new ArrayBuffer(5)); + intView.setUint8(0, 4); + intView.setInt32(1, header.value, false); + return new Uint8Array(intView.buffer); + case "long": + const longBytes = new Uint8Array(9); + longBytes[0] = 5; + longBytes.set(header.value.bytes, 1); + return longBytes; + case "binary": + const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength)); + binView.setUint8(0, 6); + binView.setUint16(1, header.value.byteLength, false); + const binBytes = new Uint8Array(binView.buffer); + binBytes.set(header.value, 3); + return binBytes; + case "string": + const utf8Bytes = this.fromUtf8(header.value); + const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength)); + strView.setUint8(0, 7); + strView.setUint16(1, utf8Bytes.byteLength, false); + const strBytes = new Uint8Array(strView.buffer); + strBytes.set(utf8Bytes, 3); + return strBytes; + case "timestamp": + const tsBytes = new Uint8Array(9); + tsBytes[0] = 8; + tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1); + return tsBytes; + case "uuid": + if (!UUID_PATTERN.test(header.value)) { + throw new Error(`Invalid UUID received: ${header.value}`); + } + const uuidBytes = new Uint8Array(17); + uuidBytes[0] = 9; + uuidBytes.set(fromHex(header.value.replace(/\-/g, "")), 1); + return uuidBytes; + } + } + parse(headers) { + const out = {}; + let position = 0; + while (position < headers.byteLength) { + const nameLength = headers.getUint8(position++); + const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength)); + position += nameLength; + switch (headers.getUint8(position++)) { + case 0: + out[name] = { + type: BOOLEAN_TAG, + value: true, + }; + break; + case 1: + out[name] = { + type: BOOLEAN_TAG, + value: false, + }; + break; + case 2: + out[name] = { + type: BYTE_TAG, + value: headers.getInt8(position++), + }; + break; + case 3: + out[name] = { + type: SHORT_TAG, + value: headers.getInt16(position, false), + }; + position += 2; + break; + case 4: + out[name] = { + type: INT_TAG, + value: headers.getInt32(position, false), + }; + position += 4; + break; + case 5: + out[name] = { + type: LONG_TAG, + value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)), + }; + position += 8; + break; + case 6: + const binaryLength = headers.getUint16(position, false); + position += 2; + out[name] = { + type: BINARY_TAG, + value: new Uint8Array(headers.buffer, headers.byteOffset + position, binaryLength), + }; + position += binaryLength; + break; + case 7: + const stringLength = headers.getUint16(position, false); + position += 2; + out[name] = { + type: STRING_TAG, + value: this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, stringLength)), + }; + position += stringLength; + break; + case 8: + out[name] = { + type: TIMESTAMP_TAG, + value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf()), + }; + position += 8; + break; + case 9: + const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16); + position += 16; + out[name] = { + type: UUID_TAG, + value: `${toHex(uuidBytes.subarray(0, 4))}-${toHex(uuidBytes.subarray(4, 6))}-${toHex(uuidBytes.subarray(6, 8))}-${toHex(uuidBytes.subarray(8, 10))}-${toHex(uuidBytes.subarray(10))}`, + }; + break; + default: + throw new Error(`Unrecognized header type tag`); + } + } + return out; + } +} +var HEADER_VALUE_TYPE; +(function (HEADER_VALUE_TYPE) { + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["boolTrue"] = 0] = "boolTrue"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["boolFalse"] = 1] = "boolFalse"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["byte"] = 2] = "byte"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["short"] = 3] = "short"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["integer"] = 4] = "integer"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["long"] = 5] = "long"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["byteArray"] = 6] = "byteArray"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["string"] = 7] = "string"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["timestamp"] = 8] = "timestamp"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["uuid"] = 9] = "uuid"; +})(HEADER_VALUE_TYPE || (HEADER_VALUE_TYPE = {})); +const BOOLEAN_TAG = "boolean"; +const BYTE_TAG = "byte"; +const SHORT_TAG = "short"; +const INT_TAG = "integer"; +const LONG_TAG = "long"; +const BINARY_TAG = "binary"; +const STRING_TAG = "string"; +const TIMESTAMP_TAG = "timestamp"; +const UUID_TAG = "uuid"; +const UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/; diff --git a/node_modules/@smithy/eventstream-codec/dist-es/Int64.js b/node_modules/@smithy/eventstream-codec/dist-es/Int64.js new file mode 100644 index 0000000..6f806aa --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-es/Int64.js @@ -0,0 +1,44 @@ +import { toHex } from "@smithy/util-hex-encoding"; +export class Int64 { + bytes; + constructor(bytes) { + this.bytes = bytes; + if (bytes.byteLength !== 8) { + throw new Error("Int64 buffers must be exactly 8 bytes"); + } + } + static fromNumber(number) { + if (number > 9_223_372_036_854_775_807 || number < -9_223_372_036_854_775_808) { + throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`); + } + const bytes = new Uint8Array(8); + for (let i = 7, remaining = Math.abs(Math.round(number)); i > -1 && remaining > 0; i--, remaining /= 256) { + bytes[i] = remaining; + } + if (number < 0) { + negate(bytes); + } + return new Int64(bytes); + } + valueOf() { + const bytes = this.bytes.slice(0); + const negative = bytes[0] & 0b10000000; + if (negative) { + negate(bytes); + } + return parseInt(toHex(bytes), 16) * (negative ? -1 : 1); + } + toString() { + return String(this.valueOf()); + } +} +function negate(bytes) { + for (let i = 0; i < 8; i++) { + bytes[i] ^= 0xff; + } + for (let i = 7; i > -1; i--) { + bytes[i]++; + if (bytes[i] !== 0) + break; + } +} diff --git a/node_modules/@smithy/eventstream-codec/dist-es/Message.js b/node_modules/@smithy/eventstream-codec/dist-es/Message.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-es/Message.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js b/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js new file mode 100644 index 0000000..3761a19 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js @@ -0,0 +1,15 @@ +export class MessageDecoderStream { + options; + constructor(options) { + this.options = options; + } + [Symbol.asyncIterator]() { + return this.asyncIterator(); + } + async *asyncIterator() { + for await (const bytes of this.options.inputStream) { + const decoded = this.options.decoder.decode(bytes); + yield decoded; + } + } +} diff --git a/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js b/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js new file mode 100644 index 0000000..3d5401d --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js @@ -0,0 +1,18 @@ +export class MessageEncoderStream { + options; + constructor(options) { + this.options = options; + } + [Symbol.asyncIterator]() { + return this.asyncIterator(); + } + async *asyncIterator() { + for await (const msg of this.options.messageStream) { + const encoded = this.options.encoder.encode(msg); + yield encoded; + } + if (this.options.includeEndFrame) { + yield new Uint8Array(0); + } + } +} diff --git a/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js b/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js new file mode 100644 index 0000000..73e6ba3 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js @@ -0,0 +1,17 @@ +export class SmithyMessageDecoderStream { + options; + constructor(options) { + this.options = options; + } + [Symbol.asyncIterator]() { + return this.asyncIterator(); + } + async *asyncIterator() { + for await (const message of this.options.messageStream) { + const deserialized = await this.options.deserializer(message); + if (deserialized === undefined) + continue; + yield deserialized; + } + } +} diff --git a/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js b/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js new file mode 100644 index 0000000..232f0c1 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js @@ -0,0 +1,15 @@ +export class SmithyMessageEncoderStream { + options; + constructor(options) { + this.options = options; + } + [Symbol.asyncIterator]() { + return this.asyncIterator(); + } + async *asyncIterator() { + for await (const chunk of this.options.inputStream) { + const payloadBuf = this.options.serializer(chunk); + yield payloadBuf; + } + } +} diff --git a/node_modules/@smithy/eventstream-codec/dist-es/TestVectors.fixture.js b/node_modules/@smithy/eventstream-codec/dist-es/TestVectors.fixture.js new file mode 100644 index 0000000..3fc4962 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-es/TestVectors.fixture.js @@ -0,0 +1,146 @@ +import { Int64 } from "./Int64"; +export const vectors = { + all_headers: { + expectation: "success", + encoded: Uint8Array.from([ + 0, 0, 0, 204, 0, 0, 0, 175, 15, 174, 100, 202, 10, 101, 118, 101, 110, 116, 45, 116, 121, 112, 101, 4, 0, 0, 160, + 12, 12, 99, 111, 110, 116, 101, 110, 116, 45, 116, 121, 112, 101, 7, 0, 16, 97, 112, 112, 108, 105, 99, 97, 116, + 105, 111, 110, 47, 106, 115, 111, 110, 10, 98, 111, 111, 108, 32, 102, 97, 108, 115, 101, 1, 9, 98, 111, 111, 108, + 32, 116, 114, 117, 101, 0, 4, 98, 121, 116, 101, 2, 207, 8, 98, 121, 116, 101, 32, 98, 117, 102, 6, 0, 20, 73, 39, + 109, 32, 97, 32, 108, 105, 116, 116, 108, 101, 32, 116, 101, 97, 112, 111, 116, 33, 9, 116, 105, 109, 101, 115, + 116, 97, 109, 112, 8, 0, 0, 0, 0, 0, 132, 95, 237, 5, 105, 110, 116, 49, 54, 3, 0, 42, 5, 105, 110, 116, 54, 52, + 5, 0, 0, 0, 0, 2, 135, 87, 178, 4, 117, 117, 105, 100, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, + 123, 39, 102, 111, 111, 39, 58, 39, 98, 97, 114, 39, 125, 171, 165, 241, 12, + ]), + decoded: { + headers: { + "event-type": { + type: "integer", + value: 40972, + }, + "content-type": { + type: "string", + value: "application/json", + }, + "bool false": { + type: "boolean", + value: false, + }, + "bool true": { + type: "boolean", + value: true, + }, + byte: { + type: "byte", + value: -49, + }, + "byte buf": { + type: "binary", + value: Uint8Array.from([ + 73, 39, 109, 32, 97, 32, 108, 105, 116, 116, 108, 101, 32, 116, 101, 97, 112, 111, 116, 33, + ]), + }, + timestamp: { + type: "timestamp", + value: new Date(8675309), + }, + int16: { + type: "short", + value: 42, + }, + int64: { + type: "long", + value: Int64.fromNumber(42424242), + }, + uuid: { + type: "uuid", + value: "01020304-0506-0708-090a-0b0c0d0e0f10", + }, + }, + body: Uint8Array.from([123, 39, 102, 111, 111, 39, 58, 39, 98, 97, 114, 39, 125]), + }, + }, + empty_message: { + expectation: "success", + encoded: Uint8Array.from([0, 0, 0, 16, 0, 0, 0, 0, 5, 194, 72, 235, 125, 152, 200, 255]), + decoded: { + headers: {}, + body: Uint8Array.from([]), + }, + }, + int32_header: { + expectation: "success", + encoded: Uint8Array.from([ + 0, 0, 0, 45, 0, 0, 0, 16, 65, 196, 36, 184, 10, 101, 118, 101, 110, 116, 45, 116, 121, 112, 101, 4, 0, 0, 160, 12, + 123, 39, 102, 111, 111, 39, 58, 39, 98, 97, 114, 39, 125, 54, 244, 128, 160, + ]), + decoded: { + headers: { + "event-type": { + type: "integer", + value: 40972, + }, + }, + body: Uint8Array.from([123, 39, 102, 111, 111, 39, 58, 39, 98, 97, 114, 39, 125]), + }, + }, + payload_no_headers: { + expectation: "success", + encoded: Uint8Array.from([ + 0, 0, 0, 29, 0, 0, 0, 0, 253, 82, 140, 90, 123, 39, 102, 111, 111, 39, 58, 39, 98, 97, 114, 39, 125, 195, 101, 57, + 54, + ]), + decoded: { + headers: {}, + body: Uint8Array.from([123, 39, 102, 111, 111, 39, 58, 39, 98, 97, 114, 39, 125]), + }, + }, + payload_one_str_header: { + expectation: "success", + encoded: Uint8Array.from([ + 0, 0, 0, 61, 0, 0, 0, 32, 7, 253, 131, 150, 12, 99, 111, 110, 116, 101, 110, 116, 45, 116, 121, 112, 101, 7, 0, + 16, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 123, 39, 102, 111, 111, 39, 58, + 39, 98, 97, 114, 39, 125, 141, 156, 8, 177, + ]), + decoded: { + headers: { + "content-type": { + type: "string", + value: "application/json", + }, + }, + body: Uint8Array.from([123, 39, 102, 111, 111, 39, 58, 39, 98, 97, 114, 39, 125]), + }, + }, + corrupted_headers: { + expectation: "failure", + encoded: Uint8Array.from([ + 0, 0, 0, 61, 0, 0, 0, 32, 7, 253, 131, 150, 12, 99, 111, 110, 116, 101, 110, 116, 45, 116, 121, 112, 101, 7, 0, + 16, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 123, 97, 102, 111, 111, 39, 58, + 39, 98, 97, 114, 39, 125, 141, 156, 8, 177, + ]), + }, + corrupted_header_len: { + expectation: "failure", + encoded: Uint8Array.from([ + 0, 0, 0, 61, 0, 0, 0, 33, 7, 253, 131, 150, 12, 99, 111, 110, 116, 101, 110, 116, 45, 116, 121, 112, 101, 7, 0, + 16, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 123, 39, 102, 111, 111, 39, 58, + 39, 98, 97, 114, 39, 125, 141, 156, 8, 177, + ]), + }, + corrupted_length: { + expectation: "failure", + encoded: Uint8Array.from([ + 0, 0, 0, 62, 0, 0, 0, 32, 7, 253, 131, 150, 12, 99, 111, 110, 116, 101, 110, 116, 45, 116, 121, 112, 101, 7, 0, + 16, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 123, 39, 102, 111, 111, 39, 58, + 39, 98, 97, 114, 39, 125, 141, 156, 8, 177, + ]), + }, + corrupted_payload: { + expectation: "failure", + encoded: Uint8Array.from([ + 0, 0, 0, 29, 0, 0, 0, 0, 253, 82, 140, 90, 91, 39, 102, 111, 111, 39, 58, 39, 98, 97, 114, 39, 125, 195, 101, 57, + 54, + ]), + }, +}; diff --git a/node_modules/@smithy/eventstream-codec/dist-es/index.js b/node_modules/@smithy/eventstream-codec/dist-es/index.js new file mode 100644 index 0000000..458feab --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-es/index.js @@ -0,0 +1,8 @@ +export * from "./EventStreamCodec"; +export * from "./HeaderMarshaller"; +export * from "./Int64"; +export * from "./Message"; +export * from "./MessageDecoderStream"; +export * from "./MessageEncoderStream"; +export * from "./SmithyMessageDecoderStream"; +export * from "./SmithyMessageEncoderStream"; diff --git a/node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js b/node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js new file mode 100644 index 0000000..725346b --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js @@ -0,0 +1,30 @@ +import { Crc32 } from "@aws-crypto/crc32"; +const PRELUDE_MEMBER_LENGTH = 4; +const PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2; +const CHECKSUM_LENGTH = 4; +const MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2; +export function splitMessage({ byteLength, byteOffset, buffer }) { + if (byteLength < MINIMUM_MESSAGE_LENGTH) { + throw new Error("Provided message too short to accommodate event stream message overhead"); + } + const view = new DataView(buffer, byteOffset, byteLength); + const messageLength = view.getUint32(0, false); + if (byteLength !== messageLength) { + throw new Error("Reported message length does not match received message length"); + } + const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH, false); + const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH, false); + const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH, false); + const checksummer = new Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH)); + if (expectedPreludeChecksum !== checksummer.digest()) { + throw new Error(`The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`); + } + checksummer.update(new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH, byteLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH))); + if (expectedMessageChecksum !== checksummer.digest()) { + throw new Error(`The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`); + } + return { + headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH, headerLength), + body: new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH + headerLength, messageLength - headerLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH + CHECKSUM_LENGTH)), + }; +} diff --git a/node_modules/@smithy/eventstream-codec/dist-es/vectorTypes.fixture.js b/node_modules/@smithy/eventstream-codec/dist-es/vectorTypes.fixture.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-es/vectorTypes.fixture.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/eventstream-codec/dist-types/EventStreamCodec.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/EventStreamCodec.d.ts new file mode 100644 index 0000000..cb8f57b --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/EventStreamCodec.d.ts @@ -0,0 +1,31 @@ +import type { AvailableMessage, AvailableMessages, Message, MessageDecoder, MessageEncoder, MessageHeaders } from "@smithy/types"; +import type { Decoder, Encoder } from "@smithy/types"; +/** + * A Codec that can convert binary-packed event stream messages into + * JavaScript objects and back again into their binary format. + */ +export declare class EventStreamCodec implements MessageEncoder, MessageDecoder { + private readonly headerMarshaller; + private messageBuffer; + private isEndOfStream; + constructor(toUtf8: Encoder, fromUtf8: Decoder); + feed(message: ArrayBufferView): void; + endOfStream(): void; + getMessage(): AvailableMessage; + getAvailableMessages(): AvailableMessages; + /** + * Convert a structured JavaScript object with tagged headers into a binary + * event stream message. + */ + encode({ headers: rawHeaders, body }: Message): Uint8Array; + /** + * Convert a binary event stream message into a JavaScript object with an + * opaque, binary body and tagged, parsed headers. + */ + decode(message: ArrayBufferView): Message; + /** + * Convert a structured JavaScript object with tagged headers into a binary + * event stream message header. + */ + formatHeaders(rawHeaders: MessageHeaders): Uint8Array; +} diff --git a/node_modules/@smithy/eventstream-codec/dist-types/HeaderMarshaller.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/HeaderMarshaller.d.ts new file mode 100644 index 0000000..de279e8 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/HeaderMarshaller.d.ts @@ -0,0 +1,12 @@ +import type { Decoder, Encoder, MessageHeaders } from "@smithy/types"; +/** + * @internal + */ +export declare class HeaderMarshaller { + private readonly toUtf8; + private readonly fromUtf8; + constructor(toUtf8: Encoder, fromUtf8: Decoder); + format(headers: MessageHeaders): Uint8Array; + private formatHeaderValue; + parse(headers: DataView): MessageHeaders; +} diff --git a/node_modules/@smithy/eventstream-codec/dist-types/Int64.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/Int64.d.ts new file mode 100644 index 0000000..db3eb10 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/Int64.d.ts @@ -0,0 +1,20 @@ +import type { Int64 as IInt64 } from "@smithy/types"; +export interface Int64 extends IInt64 { +} +/** + * A lossless representation of a signed, 64-bit integer. Instances of this + * class may be used in arithmetic expressions as if they were numeric + * primitives, but the binary representation will be preserved unchanged as the + * `bytes` property of the object. The bytes should be encoded as big-endian, + * two's complement integers. + */ +export declare class Int64 { + readonly bytes: Uint8Array; + constructor(bytes: Uint8Array); + static fromNumber(number: number): Int64; + /** + * Called implicitly by infix arithmetic operators. + */ + valueOf(): number; + toString(): string; +} diff --git a/node_modules/@smithy/eventstream-codec/dist-types/Message.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/Message.d.ts new file mode 100644 index 0000000..2f4aac7 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/Message.d.ts @@ -0,0 +1,26 @@ +import type { Int64 } from "./Int64"; +/** + * An event stream message. The headers and body properties will always be + * defined, with empty headers represented as an object with no keys and an + * empty body represented as a zero-length Uint8Array. + */ +export interface Message { + headers: MessageHeaders; + body: Uint8Array; +} +export type MessageHeaders = Record; +type HeaderValue = { + type: K; + value: V; +}; +export type BooleanHeaderValue = HeaderValue<"boolean", boolean>; +export type ByteHeaderValue = HeaderValue<"byte", number>; +export type ShortHeaderValue = HeaderValue<"short", number>; +export type IntegerHeaderValue = HeaderValue<"integer", number>; +export type LongHeaderValue = HeaderValue<"long", Int64>; +export type BinaryHeaderValue = HeaderValue<"binary", Uint8Array>; +export type StringHeaderValue = HeaderValue<"string", string>; +export type TimestampHeaderValue = HeaderValue<"timestamp", Date>; +export type UuidHeaderValue = HeaderValue<"uuid", string>; +export type MessageHeaderValue = BooleanHeaderValue | ByteHeaderValue | ShortHeaderValue | IntegerHeaderValue | LongHeaderValue | BinaryHeaderValue | StringHeaderValue | TimestampHeaderValue | UuidHeaderValue; +export {}; diff --git a/node_modules/@smithy/eventstream-codec/dist-types/MessageDecoderStream.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/MessageDecoderStream.d.ts new file mode 100644 index 0000000..98c7129 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/MessageDecoderStream.d.ts @@ -0,0 +1,17 @@ +import type { Message, MessageDecoder } from "@smithy/types"; +/** + * @internal + */ +export interface MessageDecoderStreamOptions { + inputStream: AsyncIterable; + decoder: MessageDecoder; +} +/** + * @internal + */ +export declare class MessageDecoderStream implements AsyncIterable { + private readonly options; + constructor(options: MessageDecoderStreamOptions); + [Symbol.asyncIterator](): AsyncIterator; + private asyncIterator; +} diff --git a/node_modules/@smithy/eventstream-codec/dist-types/MessageEncoderStream.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/MessageEncoderStream.d.ts new file mode 100644 index 0000000..782c8f1 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/MessageEncoderStream.d.ts @@ -0,0 +1,18 @@ +import type { Message, MessageEncoder } from "@smithy/types"; +/** + * @internal + */ +export interface MessageEncoderStreamOptions { + messageStream: AsyncIterable; + encoder: MessageEncoder; + includeEndFrame?: boolean; +} +/** + * @internal + */ +export declare class MessageEncoderStream implements AsyncIterable { + private readonly options; + constructor(options: MessageEncoderStreamOptions); + [Symbol.asyncIterator](): AsyncIterator; + private asyncIterator; +} diff --git a/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageDecoderStream.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageDecoderStream.d.ts new file mode 100644 index 0000000..b021bc8 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageDecoderStream.d.ts @@ -0,0 +1,17 @@ +import type { Message } from "@smithy/types"; +/** + * @internal + */ +export interface SmithyMessageDecoderStreamOptions { + readonly messageStream: AsyncIterable; + readonly deserializer: (input: Message) => Promise; +} +/** + * @internal + */ +export declare class SmithyMessageDecoderStream implements AsyncIterable { + private readonly options; + constructor(options: SmithyMessageDecoderStreamOptions); + [Symbol.asyncIterator](): AsyncIterator; + private asyncIterator; +} diff --git a/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageEncoderStream.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageEncoderStream.d.ts new file mode 100644 index 0000000..52e0a70 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageEncoderStream.d.ts @@ -0,0 +1,17 @@ +import type { Message } from "@smithy/types"; +/** + * @internal + */ +export interface SmithyMessageEncoderStreamOptions { + inputStream: AsyncIterable; + serializer: (event: T) => Message; +} +/** + * @internal + */ +export declare class SmithyMessageEncoderStream implements AsyncIterable { + private readonly options; + constructor(options: SmithyMessageEncoderStreamOptions); + [Symbol.asyncIterator](): AsyncIterator; + private asyncIterator; +} diff --git a/node_modules/@smithy/eventstream-codec/dist-types/TestVectors.fixture.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/TestVectors.fixture.d.ts new file mode 100644 index 0000000..dfdd010 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/TestVectors.fixture.d.ts @@ -0,0 +1,2 @@ +import type { TestVectors } from "./vectorTypes.fixture"; +export declare const vectors: TestVectors; diff --git a/node_modules/@smithy/eventstream-codec/dist-types/index.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/index.d.ts new file mode 100644 index 0000000..458feab --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/index.d.ts @@ -0,0 +1,8 @@ +export * from "./EventStreamCodec"; +export * from "./HeaderMarshaller"; +export * from "./Int64"; +export * from "./Message"; +export * from "./MessageDecoderStream"; +export * from "./MessageEncoderStream"; +export * from "./SmithyMessageDecoderStream"; +export * from "./SmithyMessageEncoderStream"; diff --git a/node_modules/@smithy/eventstream-codec/dist-types/splitMessage.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/splitMessage.d.ts new file mode 100644 index 0000000..9aa7585 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/splitMessage.d.ts @@ -0,0 +1,11 @@ +/** + * @internal + */ +export interface MessageParts { + headers: DataView; + body: Uint8Array; +} +/** + * @internal + */ +export declare function splitMessage({ byteLength, byteOffset, buffer }: ArrayBufferView): MessageParts; diff --git a/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/EventStreamCodec.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/EventStreamCodec.d.ts new file mode 100644 index 0000000..647ac13 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/EventStreamCodec.d.ts @@ -0,0 +1,31 @@ +import { AvailableMessage, AvailableMessages, Message, MessageDecoder, MessageEncoder, MessageHeaders } from "@smithy/types"; +import { Decoder, Encoder } from "@smithy/types"; +/** + * A Codec that can convert binary-packed event stream messages into + * JavaScript objects and back again into their binary format. + */ +export declare class EventStreamCodec implements MessageEncoder, MessageDecoder { + private readonly headerMarshaller; + private messageBuffer; + private isEndOfStream; + constructor(toUtf8: Encoder, fromUtf8: Decoder); + feed(message: ArrayBufferView): void; + endOfStream(): void; + getMessage(): AvailableMessage; + getAvailableMessages(): AvailableMessages; + /** + * Convert a structured JavaScript object with tagged headers into a binary + * event stream message. + */ + encode({ headers: rawHeaders, body }: Message): Uint8Array; + /** + * Convert a binary event stream message into a JavaScript object with an + * opaque, binary body and tagged, parsed headers. + */ + decode(message: ArrayBufferView): Message; + /** + * Convert a structured JavaScript object with tagged headers into a binary + * event stream message header. + */ + formatHeaders(rawHeaders: MessageHeaders): Uint8Array; +} diff --git a/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/HeaderMarshaller.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/HeaderMarshaller.d.ts new file mode 100644 index 0000000..481e0d8 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/HeaderMarshaller.d.ts @@ -0,0 +1,12 @@ +import { Decoder, Encoder, MessageHeaders } from "@smithy/types"; +/** + * @internal + */ +export declare class HeaderMarshaller { + private readonly toUtf8; + private readonly fromUtf8; + constructor(toUtf8: Encoder, fromUtf8: Decoder); + format(headers: MessageHeaders): Uint8Array; + private formatHeaderValue; + parse(headers: DataView): MessageHeaders; +} diff --git a/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Int64.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Int64.d.ts new file mode 100644 index 0000000..16c6a80 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Int64.d.ts @@ -0,0 +1,20 @@ +import { Int64 as IInt64 } from "@smithy/types"; +export interface Int64 extends IInt64 { +} +/** + * A lossless representation of a signed, 64-bit integer. Instances of this + * class may be used in arithmetic expressions as if they were numeric + * primitives, but the binary representation will be preserved unchanged as the + * `bytes` property of the object. The bytes should be encoded as big-endian, + * two's complement integers. + */ +export declare class Int64 { + readonly bytes: Uint8Array; + constructor(bytes: Uint8Array); + static fromNumber(number: number): Int64; + /** + * Called implicitly by infix arithmetic operators. + */ + valueOf(): number; + toString(): string; +} diff --git a/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Message.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Message.d.ts new file mode 100644 index 0000000..4cceffc --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Message.d.ts @@ -0,0 +1,26 @@ +import { Int64 } from "./Int64"; +/** + * An event stream message. The headers and body properties will always be + * defined, with empty headers represented as an object with no keys and an + * empty body represented as a zero-length Uint8Array. + */ +export interface Message { + headers: MessageHeaders; + body: Uint8Array; +} +export type MessageHeaders = Record; +type HeaderValue = { + type: K; + value: V; +}; +export type BooleanHeaderValue = HeaderValue<"boolean", boolean>; +export type ByteHeaderValue = HeaderValue<"byte", number>; +export type ShortHeaderValue = HeaderValue<"short", number>; +export type IntegerHeaderValue = HeaderValue<"integer", number>; +export type LongHeaderValue = HeaderValue<"long", Int64>; +export type BinaryHeaderValue = HeaderValue<"binary", Uint8Array>; +export type StringHeaderValue = HeaderValue<"string", string>; +export type TimestampHeaderValue = HeaderValue<"timestamp", Date>; +export type UuidHeaderValue = HeaderValue<"uuid", string>; +export type MessageHeaderValue = BooleanHeaderValue | ByteHeaderValue | ShortHeaderValue | IntegerHeaderValue | LongHeaderValue | BinaryHeaderValue | StringHeaderValue | TimestampHeaderValue | UuidHeaderValue; +export {}; diff --git a/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageDecoderStream.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageDecoderStream.d.ts new file mode 100644 index 0000000..4a15787 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageDecoderStream.d.ts @@ -0,0 +1,17 @@ +import { Message, MessageDecoder } from "@smithy/types"; +/** + * @internal + */ +export interface MessageDecoderStreamOptions { + inputStream: AsyncIterable; + decoder: MessageDecoder; +} +/** + * @internal + */ +export declare class MessageDecoderStream implements AsyncIterable { + private readonly options; + constructor(options: MessageDecoderStreamOptions); + [Symbol.asyncIterator](): AsyncIterator; + private asyncIterator; +} diff --git a/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageEncoderStream.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageEncoderStream.d.ts new file mode 100644 index 0000000..70250aa --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageEncoderStream.d.ts @@ -0,0 +1,18 @@ +import { Message, MessageEncoder } from "@smithy/types"; +/** + * @internal + */ +export interface MessageEncoderStreamOptions { + messageStream: AsyncIterable; + encoder: MessageEncoder; + includeEndFrame?: boolean; +} +/** + * @internal + */ +export declare class MessageEncoderStream implements AsyncIterable { + private readonly options; + constructor(options: MessageEncoderStreamOptions); + [Symbol.asyncIterator](): AsyncIterator; + private asyncIterator; +} diff --git a/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageDecoderStream.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageDecoderStream.d.ts new file mode 100644 index 0000000..2786506 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageDecoderStream.d.ts @@ -0,0 +1,17 @@ +import { Message } from "@smithy/types"; +/** + * @internal + */ +export interface SmithyMessageDecoderStreamOptions { + readonly messageStream: AsyncIterable; + readonly deserializer: (input: Message) => Promise; +} +/** + * @internal + */ +export declare class SmithyMessageDecoderStream implements AsyncIterable { + private readonly options; + constructor(options: SmithyMessageDecoderStreamOptions); + [Symbol.asyncIterator](): AsyncIterator; + private asyncIterator; +} diff --git a/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageEncoderStream.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageEncoderStream.d.ts new file mode 100644 index 0000000..6240595 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageEncoderStream.d.ts @@ -0,0 +1,17 @@ +import { Message } from "@smithy/types"; +/** + * @internal + */ +export interface SmithyMessageEncoderStreamOptions { + inputStream: AsyncIterable; + serializer: (event: T) => Message; +} +/** + * @internal + */ +export declare class SmithyMessageEncoderStream implements AsyncIterable { + private readonly options; + constructor(options: SmithyMessageEncoderStreamOptions); + [Symbol.asyncIterator](): AsyncIterator; + private asyncIterator; +} diff --git a/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/TestVectors.fixture.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/TestVectors.fixture.d.ts new file mode 100644 index 0000000..e1b04e6 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/TestVectors.fixture.d.ts @@ -0,0 +1,2 @@ +import { TestVectors } from "./vectorTypes.fixture"; +export declare const vectors: TestVectors; diff --git a/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..458feab --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/index.d.ts @@ -0,0 +1,8 @@ +export * from "./EventStreamCodec"; +export * from "./HeaderMarshaller"; +export * from "./Int64"; +export * from "./Message"; +export * from "./MessageDecoderStream"; +export * from "./MessageEncoderStream"; +export * from "./SmithyMessageDecoderStream"; +export * from "./SmithyMessageEncoderStream"; diff --git a/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/splitMessage.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/splitMessage.d.ts new file mode 100644 index 0000000..9aa7585 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/splitMessage.d.ts @@ -0,0 +1,11 @@ +/** + * @internal + */ +export interface MessageParts { + headers: DataView; + body: Uint8Array; +} +/** + * @internal + */ +export declare function splitMessage({ byteLength, byteOffset, buffer }: ArrayBufferView): MessageParts; diff --git a/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/vectorTypes.fixture.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/vectorTypes.fixture.d.ts new file mode 100644 index 0000000..ba9ca72 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/vectorTypes.fixture.d.ts @@ -0,0 +1,12 @@ +import { Message } from "./Message"; +export interface NegativeTestVector { + expectation: "failure"; + encoded: Uint8Array; +} +export interface PositiveTestVector { + expectation: "success"; + encoded: Uint8Array; + decoded: Message; +} +export type TestVector = NegativeTestVector | PositiveTestVector; +export type TestVectors = Record; diff --git a/node_modules/@smithy/eventstream-codec/dist-types/vectorTypes.fixture.d.ts b/node_modules/@smithy/eventstream-codec/dist-types/vectorTypes.fixture.d.ts new file mode 100644 index 0000000..0fe0eb6 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/dist-types/vectorTypes.fixture.d.ts @@ -0,0 +1,12 @@ +import type { Message } from "./Message"; +export interface NegativeTestVector { + expectation: "failure"; + encoded: Uint8Array; +} +export interface PositiveTestVector { + expectation: "success"; + encoded: Uint8Array; + decoded: Message; +} +export type TestVector = NegativeTestVector | PositiveTestVector; +export type TestVectors = Record; diff --git a/node_modules/@smithy/eventstream-codec/package.json b/node_modules/@smithy/eventstream-codec/package.json new file mode 100644 index 0000000..3ef62a9 --- /dev/null +++ b/node_modules/@smithy/eventstream-codec/package.json @@ -0,0 +1,65 @@ +{ + "name": "@smithy/eventstream-codec", + "version": "4.2.12", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline eventstream-codec", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@aws-crypto/crc32": "5.2.0", + "@smithy/types": "^4.13.1", + "@smithy/util-hex-encoding": "^4.2.2", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@smithy/util-utf8": "^4.2.2", + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/eventstream-codec", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/eventstream-codec" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + }, + "engines": { + "node": ">=18.0.0" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/eventstream-serde-browser/LICENSE b/node_modules/@smithy/eventstream-serde-browser/LICENSE new file mode 100644 index 0000000..e907b58 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-browser/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@smithy/eventstream-serde-browser/README.md b/node_modules/@smithy/eventstream-serde-browser/README.md new file mode 100644 index 0000000..86830b1 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-browser/README.md @@ -0,0 +1,10 @@ +# @smithy/eventstream-serde-browser + +[![NPM version](https://img.shields.io/npm/v/@smithy/eventstream-serde-browser/latest.svg)](https://www.npmjs.com/package/@smithy/eventstream-serde-browser) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/eventstream-serde-browser.svg)](https://www.npmjs.com/package/@smithy/eventstream-serde-browser) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js b/node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js new file mode 100644 index 0000000..b3f5190 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js @@ -0,0 +1,58 @@ +'use strict'; + +var eventstreamSerdeUniversal = require('@smithy/eventstream-serde-universal'); + +const readableStreamtoIterable = (readableStream) => ({ + [Symbol.asyncIterator]: async function* () { + const reader = readableStream.getReader(); + try { + while (true) { + const { done, value } = await reader.read(); + if (done) + return; + yield value; + } + } + finally { + reader.releaseLock(); + } + }, +}); +const iterableToReadableStream = (asyncIterable) => { + const iterator = asyncIterable[Symbol.asyncIterator](); + return new ReadableStream({ + async pull(controller) { + const { done, value } = await iterator.next(); + if (done) { + return controller.close(); + } + controller.enqueue(value); + }, + }); +}; + +class EventStreamMarshaller { + universalMarshaller; + constructor({ utf8Encoder, utf8Decoder }) { + this.universalMarshaller = new eventstreamSerdeUniversal.EventStreamMarshaller({ + utf8Decoder, + utf8Encoder, + }); + } + deserialize(body, deserializer) { + const bodyIterable = isReadableStream(body) ? readableStreamtoIterable(body) : body; + return this.universalMarshaller.deserialize(bodyIterable, deserializer); + } + serialize(input, serializer) { + const serialziedIterable = this.universalMarshaller.serialize(input, serializer); + return typeof ReadableStream === "function" ? iterableToReadableStream(serialziedIterable) : serialziedIterable; + } +} +const isReadableStream = (body) => typeof ReadableStream === "function" && body instanceof ReadableStream; + +const eventStreamSerdeProvider = (options) => new EventStreamMarshaller(options); + +exports.EventStreamMarshaller = EventStreamMarshaller; +exports.eventStreamSerdeProvider = eventStreamSerdeProvider; +exports.iterableToReadableStream = iterableToReadableStream; +exports.readableStreamtoIterable = readableStreamtoIterable; diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-es/EventStreamMarshaller.js b/node_modules/@smithy/eventstream-serde-browser/dist-es/EventStreamMarshaller.js new file mode 100644 index 0000000..95ac629 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-browser/dist-es/EventStreamMarshaller.js @@ -0,0 +1,20 @@ +import { EventStreamMarshaller as UniversalEventStreamMarshaller } from "@smithy/eventstream-serde-universal"; +import { iterableToReadableStream, readableStreamtoIterable } from "./utils"; +export class EventStreamMarshaller { + universalMarshaller; + constructor({ utf8Encoder, utf8Decoder }) { + this.universalMarshaller = new UniversalEventStreamMarshaller({ + utf8Decoder, + utf8Encoder, + }); + } + deserialize(body, deserializer) { + const bodyIterable = isReadableStream(body) ? readableStreamtoIterable(body) : body; + return this.universalMarshaller.deserialize(bodyIterable, deserializer); + } + serialize(input, serializer) { + const serialziedIterable = this.universalMarshaller.serialize(input, serializer); + return typeof ReadableStream === "function" ? iterableToReadableStream(serialziedIterable) : serialziedIterable; + } +} +const isReadableStream = (body) => typeof ReadableStream === "function" && body instanceof ReadableStream; diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-es/index.js b/node_modules/@smithy/eventstream-serde-browser/dist-es/index.js new file mode 100644 index 0000000..f05a6fb --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-browser/dist-es/index.js @@ -0,0 +1,3 @@ +export * from "./EventStreamMarshaller"; +export * from "./provider"; +export * from "./utils"; diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-es/provider.js b/node_modules/@smithy/eventstream-serde-browser/dist-es/provider.js new file mode 100644 index 0000000..b71c3f0 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-browser/dist-es/provider.js @@ -0,0 +1,2 @@ +import { EventStreamMarshaller } from "./EventStreamMarshaller"; +export const eventStreamSerdeProvider = (options) => new EventStreamMarshaller(options); diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-es/utils.js b/node_modules/@smithy/eventstream-serde-browser/dist-es/utils.js new file mode 100644 index 0000000..8f0376f --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-browser/dist-es/utils.js @@ -0,0 +1,28 @@ +export const readableStreamtoIterable = (readableStream) => ({ + [Symbol.asyncIterator]: async function* () { + const reader = readableStream.getReader(); + try { + while (true) { + const { done, value } = await reader.read(); + if (done) + return; + yield value; + } + } + finally { + reader.releaseLock(); + } + }, +}); +export const iterableToReadableStream = (asyncIterable) => { + const iterator = asyncIterable[Symbol.asyncIterator](); + return new ReadableStream({ + async pull(controller) { + const { done, value } = await iterator.next(); + if (done) { + return controller.close(); + } + controller.enqueue(value); + }, + }); +}; diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-types/EventStreamMarshaller.d.ts b/node_modules/@smithy/eventstream-serde-browser/dist-types/EventStreamMarshaller.d.ts new file mode 100644 index 0000000..d2358c2 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-browser/dist-types/EventStreamMarshaller.d.ts @@ -0,0 +1,47 @@ +import type { Decoder, Encoder, EventStreamMarshaller as IEventStreamMarshaller, Message } from "@smithy/types"; +/** + * @internal + */ +export interface EventStreamMarshaller extends IEventStreamMarshaller { +} +/** + * @internal + */ +export interface EventStreamMarshallerOptions { + utf8Encoder: Encoder; + utf8Decoder: Decoder; +} +/** + * @internal + * + * Utility class used to serialize and deserialize event streams in + * browsers and ReactNative. + * + * In browsers where ReadableStream API is available: + * * deserialize from ReadableStream to an async iterable of output structure + * * serialize from async iterable of input structure to ReadableStream + * In ReactNative where only async iterable API is available: + * * deserialize from async iterable of binaries to async iterable of output structure + * * serialize from async iterable of input structure to async iterable of binaries + * + * We use ReadableStream API in browsers because of the consistency with other + * streaming operations, where ReadableStream API is used to denote streaming data. + * Whereas in ReactNative, ReadableStream API is not available, we use async iterable + * for streaming data although it has lower throughput. + */ +export declare class EventStreamMarshaller { + private readonly universalMarshaller; + constructor({ utf8Encoder, utf8Decoder }: EventStreamMarshallerOptions); + deserialize(body: ReadableStream | AsyncIterable, deserializer: (input: Record) => Promise): AsyncIterable; + /** + * Generate a stream that serialize events into stream of binary chunks; + * + * Caveat is that streaming request payload doesn't work on browser with native + * xhr or fetch handler currently because they don't support upload streaming. + * reference: + * * https://bugs.chromium.org/p/chromium/issues/detail?id=688906 + * * https://bugzilla.mozilla.org/show_bug.cgi?id=1387483 + * + */ + serialize(input: AsyncIterable, serializer: (event: T) => Message): ReadableStream | AsyncIterable; +} diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-types/index.d.ts b/node_modules/@smithy/eventstream-serde-browser/dist-types/index.d.ts new file mode 100644 index 0000000..2fb476e --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-browser/dist-types/index.d.ts @@ -0,0 +1,12 @@ +/** + * @internal + */ +export * from "./EventStreamMarshaller"; +/** + * @internal + */ +export * from "./provider"; +/** + * @internal + */ +export * from "./utils"; diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-types/provider.d.ts b/node_modules/@smithy/eventstream-serde-browser/dist-types/provider.d.ts new file mode 100644 index 0000000..13f90b8 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-browser/dist-types/provider.d.ts @@ -0,0 +1,3 @@ +import type { EventStreamSerdeProvider } from "@smithy/types"; +/** browser event stream serde utils provider */ +export declare const eventStreamSerdeProvider: EventStreamSerdeProvider; diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/EventStreamMarshaller.d.ts b/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/EventStreamMarshaller.d.ts new file mode 100644 index 0000000..c544887 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/EventStreamMarshaller.d.ts @@ -0,0 +1,47 @@ +import { Decoder, Encoder, EventStreamMarshaller as IEventStreamMarshaller, Message } from "@smithy/types"; +/** + * @internal + */ +export interface EventStreamMarshaller extends IEventStreamMarshaller { +} +/** + * @internal + */ +export interface EventStreamMarshallerOptions { + utf8Encoder: Encoder; + utf8Decoder: Decoder; +} +/** + * @internal + * + * Utility class used to serialize and deserialize event streams in + * browsers and ReactNative. + * + * In browsers where ReadableStream API is available: + * * deserialize from ReadableStream to an async iterable of output structure + * * serialize from async iterable of input structure to ReadableStream + * In ReactNative where only async iterable API is available: + * * deserialize from async iterable of binaries to async iterable of output structure + * * serialize from async iterable of input structure to async iterable of binaries + * + * We use ReadableStream API in browsers because of the consistency with other + * streaming operations, where ReadableStream API is used to denote streaming data. + * Whereas in ReactNative, ReadableStream API is not available, we use async iterable + * for streaming data although it has lower throughput. + */ +export declare class EventStreamMarshaller { + private readonly universalMarshaller; + constructor({ utf8Encoder, utf8Decoder }: EventStreamMarshallerOptions); + deserialize(body: ReadableStream | AsyncIterable, deserializer: (input: Record) => Promise): AsyncIterable; + /** + * Generate a stream that serialize events into stream of binary chunks; + * + * Caveat is that streaming request payload doesn't work on browser with native + * xhr or fetch handler currently because they don't support upload streaming. + * reference: + * * https://bugs.chromium.org/p/chromium/issues/detail?id=688906 + * * https://bugzilla.mozilla.org/show_bug.cgi?id=1387483 + * + */ + serialize(input: AsyncIterable, serializer: (event: T) => Message): ReadableStream | AsyncIterable; +} diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..2fb476e --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/index.d.ts @@ -0,0 +1,12 @@ +/** + * @internal + */ +export * from "./EventStreamMarshaller"; +/** + * @internal + */ +export * from "./provider"; +/** + * @internal + */ +export * from "./utils"; diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/provider.d.ts b/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/provider.d.ts new file mode 100644 index 0000000..d5dca09 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/provider.d.ts @@ -0,0 +1,3 @@ +import { EventStreamSerdeProvider } from "@smithy/types"; +/** browser event stream serde utils provider */ +export declare const eventStreamSerdeProvider: EventStreamSerdeProvider; diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/utils.d.ts b/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/utils.d.ts new file mode 100644 index 0000000..2718fca --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/utils.d.ts @@ -0,0 +1,13 @@ +/** + * @internal + * + * A util function converting ReadableStream into an async iterable. + * Reference: https://jakearchibald.com/2017/async-iterators-and-generators/#making-streams-iterate + */ +export declare const readableStreamtoIterable: (readableStream: ReadableStream) => AsyncIterable; +/** + * @internal + * + * A util function converting async iterable to a ReadableStream. + */ +export declare const iterableToReadableStream: (asyncIterable: AsyncIterable) => ReadableStream; diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-types/utils.d.ts b/node_modules/@smithy/eventstream-serde-browser/dist-types/utils.d.ts new file mode 100644 index 0000000..2718fca --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-browser/dist-types/utils.d.ts @@ -0,0 +1,13 @@ +/** + * @internal + * + * A util function converting ReadableStream into an async iterable. + * Reference: https://jakearchibald.com/2017/async-iterators-and-generators/#making-streams-iterate + */ +export declare const readableStreamtoIterable: (readableStream: ReadableStream) => AsyncIterable; +/** + * @internal + * + * A util function converting async iterable to a ReadableStream. + */ +export declare const iterableToReadableStream: (asyncIterable: AsyncIterable) => ReadableStream; diff --git a/node_modules/@smithy/eventstream-serde-browser/package.json b/node_modules/@smithy/eventstream-serde-browser/package.json new file mode 100644 index 0000000..92db9da --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-browser/package.json @@ -0,0 +1,61 @@ +{ + "name": "@smithy/eventstream-serde-browser", + "version": "4.2.12", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline eventstream-serde-browser", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "exit 0" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/eventstream-serde-universal": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/eventstream-serde-browser", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/eventstream-serde-browser" + }, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/LICENSE b/node_modules/@smithy/eventstream-serde-config-resolver/LICENSE new file mode 100644 index 0000000..e907b58 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-config-resolver/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/README.md b/node_modules/@smithy/eventstream-serde-config-resolver/README.md new file mode 100644 index 0000000..6539fe1 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-config-resolver/README.md @@ -0,0 +1,10 @@ +# @smithy/eventstream-serde-config-resolver + +[![NPM version](https://img.shields.io/npm/v/@smithy/eventstream-serde-config-resolver/latest.svg)](https://www.npmjs.com/package/@smithy/eventstream-serde-config-resolver) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/eventstream-serde-config-resolver.svg)](https://www.npmjs.com/package/@smithy/eventstream-serde-config-resolver) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js b/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js new file mode 100644 index 0000000..ea36446 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js @@ -0,0 +1,7 @@ +'use strict'; + +const resolveEventStreamSerdeConfig = (input) => Object.assign(input, { + eventStreamMarshaller: input.eventStreamSerdeProvider(input), +}); + +exports.resolveEventStreamSerdeConfig = resolveEventStreamSerdeConfig; diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/EventStreamSerdeConfig.js b/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/EventStreamSerdeConfig.js new file mode 100644 index 0000000..8acd419 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/EventStreamSerdeConfig.js @@ -0,0 +1,3 @@ +export const resolveEventStreamSerdeConfig = (input) => Object.assign(input, { + eventStreamMarshaller: input.eventStreamSerdeProvider(input), +}); diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js b/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js new file mode 100644 index 0000000..515a9c6 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js @@ -0,0 +1 @@ +export * from "./EventStreamSerdeConfig"; diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/EventStreamSerdeConfig.d.ts b/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/EventStreamSerdeConfig.d.ts new file mode 100644 index 0000000..3478dfd --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/EventStreamSerdeConfig.d.ts @@ -0,0 +1,27 @@ +import type { EventStreamMarshaller, EventStreamSerdeProvider } from "@smithy/types"; +/** + * @public + */ +export interface EventStreamSerdeInputConfig { +} +/** + * @internal + */ +export interface EventStreamSerdeResolvedConfig { + eventStreamMarshaller: EventStreamMarshaller; +} +/** + * @internal + */ +interface PreviouslyResolved { + /** + * Provide the event stream marshaller for the given runtime + * @internal + */ + eventStreamSerdeProvider: EventStreamSerdeProvider; +} +/** + * @internal + */ +export declare const resolveEventStreamSerdeConfig: (input: T & PreviouslyResolved & EventStreamSerdeInputConfig) => T & EventStreamSerdeResolvedConfig; +export {}; diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/index.d.ts b/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/index.d.ts new file mode 100644 index 0000000..49ec397 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export * from "./EventStreamSerdeConfig"; diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/EventStreamSerdeConfig.d.ts b/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/EventStreamSerdeConfig.d.ts new file mode 100644 index 0000000..61db6c2 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/EventStreamSerdeConfig.d.ts @@ -0,0 +1,27 @@ +import { EventStreamMarshaller, EventStreamSerdeProvider } from "@smithy/types"; +/** + * @public + */ +export interface EventStreamSerdeInputConfig { +} +/** + * @internal + */ +export interface EventStreamSerdeResolvedConfig { + eventStreamMarshaller: EventStreamMarshaller; +} +/** + * @internal + */ +interface PreviouslyResolved { + /** + * Provide the event stream marshaller for the given runtime + * @internal + */ + eventStreamSerdeProvider: EventStreamSerdeProvider; +} +/** + * @internal + */ +export declare const resolveEventStreamSerdeConfig: (input: T & PreviouslyResolved & EventStreamSerdeInputConfig) => T & EventStreamSerdeResolvedConfig; +export {}; diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..49ec397 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export * from "./EventStreamSerdeConfig"; diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/package.json b/node_modules/@smithy/eventstream-serde-config-resolver/package.json new file mode 100644 index 0000000..225ae64 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-config-resolver/package.json @@ -0,0 +1,62 @@ +{ + "name": "@smithy/eventstream-serde-config-resolver", + "version": "4.3.12", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline eventstream-serde-config-resolver", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "extract:docs": "api-extractor run --local", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/eventstream-serde-config-resolver", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/eventstream-serde-config-resolver" + }, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/eventstream-serde-node/LICENSE b/node_modules/@smithy/eventstream-serde-node/LICENSE new file mode 100644 index 0000000..e907b58 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-node/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@smithy/eventstream-serde-node/README.md b/node_modules/@smithy/eventstream-serde-node/README.md new file mode 100644 index 0000000..f1f8db9 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-node/README.md @@ -0,0 +1,10 @@ +# @smithy/eventstream-serde-node + +[![NPM version](https://img.shields.io/npm/v/@smithy/eventstream-serde-node/latest.svg)](https://www.npmjs.com/package/@smithy/eventstream-serde-node) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/eventstream-serde-node.svg)](https://www.npmjs.com/package/@smithy/eventstream-serde-node) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js b/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js new file mode 100644 index 0000000..cd52cf1 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js @@ -0,0 +1,53 @@ +'use strict'; + +var eventstreamSerdeUniversal = require('@smithy/eventstream-serde-universal'); +var stream = require('stream'); + +async function* readabletoIterable(readStream) { + let streamEnded = false; + let generationEnded = false; + const records = new Array(); + readStream.on("error", (err) => { + if (!streamEnded) { + streamEnded = true; + } + if (err) { + throw err; + } + }); + readStream.on("data", (data) => { + records.push(data); + }); + readStream.on("end", () => { + streamEnded = true; + }); + while (!generationEnded) { + const value = await new Promise((resolve) => setTimeout(() => resolve(records.shift()), 0)); + if (value) { + yield value; + } + generationEnded = streamEnded && records.length === 0; + } +} + +class EventStreamMarshaller { + universalMarshaller; + constructor({ utf8Encoder, utf8Decoder }) { + this.universalMarshaller = new eventstreamSerdeUniversal.EventStreamMarshaller({ + utf8Decoder, + utf8Encoder, + }); + } + deserialize(body, deserializer) { + const bodyIterable = typeof body[Symbol.asyncIterator] === "function" ? body : readabletoIterable(body); + return this.universalMarshaller.deserialize(bodyIterable, deserializer); + } + serialize(input, serializer) { + return stream.Readable.from(this.universalMarshaller.serialize(input, serializer)); + } +} + +const eventStreamSerdeProvider = (options) => new EventStreamMarshaller(options); + +exports.EventStreamMarshaller = EventStreamMarshaller; +exports.eventStreamSerdeProvider = eventStreamSerdeProvider; diff --git a/node_modules/@smithy/eventstream-serde-node/dist-es/EventStreamMarshaller.js b/node_modules/@smithy/eventstream-serde-node/dist-es/EventStreamMarshaller.js new file mode 100644 index 0000000..06c48a3 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-node/dist-es/EventStreamMarshaller.js @@ -0,0 +1,19 @@ +import { EventStreamMarshaller as UniversalEventStreamMarshaller } from "@smithy/eventstream-serde-universal"; +import { Readable } from "stream"; +import { readabletoIterable } from "./utils"; +export class EventStreamMarshaller { + universalMarshaller; + constructor({ utf8Encoder, utf8Decoder }) { + this.universalMarshaller = new UniversalEventStreamMarshaller({ + utf8Decoder, + utf8Encoder, + }); + } + deserialize(body, deserializer) { + const bodyIterable = typeof body[Symbol.asyncIterator] === "function" ? body : readabletoIterable(body); + return this.universalMarshaller.deserialize(bodyIterable, deserializer); + } + serialize(input, serializer) { + return Readable.from(this.universalMarshaller.serialize(input, serializer)); + } +} diff --git a/node_modules/@smithy/eventstream-serde-node/dist-es/index.js b/node_modules/@smithy/eventstream-serde-node/dist-es/index.js new file mode 100644 index 0000000..294fec5 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-node/dist-es/index.js @@ -0,0 +1,2 @@ +export * from "./EventStreamMarshaller"; +export * from "./provider"; diff --git a/node_modules/@smithy/eventstream-serde-node/dist-es/provider.js b/node_modules/@smithy/eventstream-serde-node/dist-es/provider.js new file mode 100644 index 0000000..b71c3f0 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-node/dist-es/provider.js @@ -0,0 +1,2 @@ +import { EventStreamMarshaller } from "./EventStreamMarshaller"; +export const eventStreamSerdeProvider = (options) => new EventStreamMarshaller(options); diff --git a/node_modules/@smithy/eventstream-serde-node/dist-es/utils.js b/node_modules/@smithy/eventstream-serde-node/dist-es/utils.js new file mode 100644 index 0000000..a7baf9f --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-node/dist-es/utils.js @@ -0,0 +1,26 @@ +export async function* readabletoIterable(readStream) { + let streamEnded = false; + let generationEnded = false; + const records = new Array(); + readStream.on("error", (err) => { + if (!streamEnded) { + streamEnded = true; + } + if (err) { + throw err; + } + }); + readStream.on("data", (data) => { + records.push(data); + }); + readStream.on("end", () => { + streamEnded = true; + }); + while (!generationEnded) { + const value = await new Promise((resolve) => setTimeout(() => resolve(records.shift()), 0)); + if (value) { + yield value; + } + generationEnded = streamEnded && records.length === 0; + } +} diff --git a/node_modules/@smithy/eventstream-serde-node/dist-types/EventStreamMarshaller.d.ts b/node_modules/@smithy/eventstream-serde-node/dist-types/EventStreamMarshaller.d.ts new file mode 100644 index 0000000..cc9aead --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-node/dist-types/EventStreamMarshaller.d.ts @@ -0,0 +1,23 @@ +import type { Decoder, Encoder, EventStreamMarshaller as IEventStreamMarshaller, Message } from "@smithy/types"; +import { Readable } from "stream"; +/** + * @internal + */ +export interface EventStreamMarshaller extends IEventStreamMarshaller { +} +/** + * @internal + */ +export interface EventStreamMarshallerOptions { + utf8Encoder: Encoder; + utf8Decoder: Decoder; +} +/** + * @internal + */ +export declare class EventStreamMarshaller { + private readonly universalMarshaller; + constructor({ utf8Encoder, utf8Decoder }: EventStreamMarshallerOptions); + deserialize(body: Readable, deserializer: (input: Record) => Promise): AsyncIterable; + serialize(input: AsyncIterable, serializer: (event: T) => Message): Readable; +} diff --git a/node_modules/@smithy/eventstream-serde-node/dist-types/index.d.ts b/node_modules/@smithy/eventstream-serde-node/dist-types/index.d.ts new file mode 100644 index 0000000..9f8e9f7 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-node/dist-types/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./EventStreamMarshaller"; +/** + * @internal + */ +export * from "./provider"; diff --git a/node_modules/@smithy/eventstream-serde-node/dist-types/provider.d.ts b/node_modules/@smithy/eventstream-serde-node/dist-types/provider.d.ts new file mode 100644 index 0000000..8b841bb --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-node/dist-types/provider.d.ts @@ -0,0 +1,3 @@ +import type { EventStreamSerdeProvider } from "@smithy/types"; +/** NodeJS event stream utils provider */ +export declare const eventStreamSerdeProvider: EventStreamSerdeProvider; diff --git a/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/EventStreamMarshaller.d.ts b/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/EventStreamMarshaller.d.ts new file mode 100644 index 0000000..cebfc3c --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/EventStreamMarshaller.d.ts @@ -0,0 +1,23 @@ +import { Decoder, Encoder, EventStreamMarshaller as IEventStreamMarshaller, Message } from "@smithy/types"; +import { Readable } from "stream"; +/** + * @internal + */ +export interface EventStreamMarshaller extends IEventStreamMarshaller { +} +/** + * @internal + */ +export interface EventStreamMarshallerOptions { + utf8Encoder: Encoder; + utf8Decoder: Decoder; +} +/** + * @internal + */ +export declare class EventStreamMarshaller { + private readonly universalMarshaller; + constructor({ utf8Encoder, utf8Decoder }: EventStreamMarshallerOptions); + deserialize(body: Readable, deserializer: (input: Record) => Promise): AsyncIterable; + serialize(input: AsyncIterable, serializer: (event: T) => Message): Readable; +} diff --git a/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..9f8e9f7 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./EventStreamMarshaller"; +/** + * @internal + */ +export * from "./provider"; diff --git a/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/provider.d.ts b/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/provider.d.ts new file mode 100644 index 0000000..538197d --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/provider.d.ts @@ -0,0 +1,3 @@ +import { EventStreamSerdeProvider } from "@smithy/types"; +/** NodeJS event stream utils provider */ +export declare const eventStreamSerdeProvider: EventStreamSerdeProvider; diff --git a/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/utils.d.ts b/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/utils.d.ts new file mode 100644 index 0000000..4e2f1b6 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/utils.d.ts @@ -0,0 +1,12 @@ +import { Readable } from "stream"; +/** + * Convert object stream piped in into an async iterable. This + * daptor should be deprecated when Node stream iterator is stable. + * Caveat: this adaptor won't have backpressure to inwards stream + * + * Reference: https://nodejs.org/docs/latest-v11.x/api/stream.html#stream_readable_symbol_asynciterator + */ +/** + * @internal + */ +export declare function readabletoIterable(readStream: Readable): AsyncIterable; diff --git a/node_modules/@smithy/eventstream-serde-node/dist-types/utils.d.ts b/node_modules/@smithy/eventstream-serde-node/dist-types/utils.d.ts new file mode 100644 index 0000000..5df8bcf --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-node/dist-types/utils.d.ts @@ -0,0 +1,12 @@ +import type { Readable } from "stream"; +/** + * Convert object stream piped in into an async iterable. This + * daptor should be deprecated when Node stream iterator is stable. + * Caveat: this adaptor won't have backpressure to inwards stream + * + * Reference: https://nodejs.org/docs/latest-v11.x/api/stream.html#stream_readable_symbol_asynciterator + */ +/** + * @internal + */ +export declare function readabletoIterable(readStream: Readable): AsyncIterable; diff --git a/node_modules/@smithy/eventstream-serde-node/package.json b/node_modules/@smithy/eventstream-serde-node/package.json new file mode 100644 index 0000000..1dd6ddf --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-node/package.json @@ -0,0 +1,62 @@ +{ + "name": "@smithy/eventstream-serde-node", + "version": "4.2.12", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline eventstream-serde-node", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "exit 0" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/eventstream-serde-universal": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/eventstream-serde-node", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/eventstream-serde-node" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/eventstream-serde-universal/LICENSE b/node_modules/@smithy/eventstream-serde-universal/LICENSE new file mode 100644 index 0000000..e907b58 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-universal/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@smithy/eventstream-serde-universal/README.md b/node_modules/@smithy/eventstream-serde-universal/README.md new file mode 100644 index 0000000..3c7fee1 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-universal/README.md @@ -0,0 +1,10 @@ +# @smithy/eventstream-serde-universal + +[![NPM version](https://img.shields.io/npm/v/@smithy/eventstream-serde-universal/latest.svg)](https://www.npmjs.com/package/@smithy/eventstream-serde-universal) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/eventstream-serde-universal.svg)](https://www.npmjs.com/package/@smithy/eventstream-serde-universal) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js b/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js new file mode 100644 index 0000000..cd84e7b --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js @@ -0,0 +1,132 @@ +'use strict'; + +var eventstreamCodec = require('@smithy/eventstream-codec'); + +function getChunkedStream(source) { + let currentMessageTotalLength = 0; + let currentMessagePendingLength = 0; + let currentMessage = null; + let messageLengthBuffer = null; + const allocateMessage = (size) => { + if (typeof size !== "number") { + throw new Error("Attempted to allocate an event message where size was not a number: " + size); + } + currentMessageTotalLength = size; + currentMessagePendingLength = 4; + currentMessage = new Uint8Array(size); + const currentMessageView = new DataView(currentMessage.buffer); + currentMessageView.setUint32(0, size, false); + }; + const iterator = async function* () { + const sourceIterator = source[Symbol.asyncIterator](); + while (true) { + const { value, done } = await sourceIterator.next(); + if (done) { + if (!currentMessageTotalLength) { + return; + } + else if (currentMessageTotalLength === currentMessagePendingLength) { + yield currentMessage; + } + else { + throw new Error("Truncated event message received."); + } + return; + } + const chunkLength = value.length; + let currentOffset = 0; + while (currentOffset < chunkLength) { + if (!currentMessage) { + const bytesRemaining = chunkLength - currentOffset; + if (!messageLengthBuffer) { + messageLengthBuffer = new Uint8Array(4); + } + const numBytesForTotal = Math.min(4 - currentMessagePendingLength, bytesRemaining); + messageLengthBuffer.set(value.slice(currentOffset, currentOffset + numBytesForTotal), currentMessagePendingLength); + currentMessagePendingLength += numBytesForTotal; + currentOffset += numBytesForTotal; + if (currentMessagePendingLength < 4) { + break; + } + allocateMessage(new DataView(messageLengthBuffer.buffer).getUint32(0, false)); + messageLengthBuffer = null; + } + const numBytesToWrite = Math.min(currentMessageTotalLength - currentMessagePendingLength, chunkLength - currentOffset); + currentMessage.set(value.slice(currentOffset, currentOffset + numBytesToWrite), currentMessagePendingLength); + currentMessagePendingLength += numBytesToWrite; + currentOffset += numBytesToWrite; + if (currentMessageTotalLength && currentMessageTotalLength === currentMessagePendingLength) { + yield currentMessage; + currentMessage = null; + currentMessageTotalLength = 0; + currentMessagePendingLength = 0; + } + } + } + }; + return { + [Symbol.asyncIterator]: iterator, + }; +} + +function getMessageUnmarshaller(deserializer, toUtf8) { + return async function (message) { + const { value: messageType } = message.headers[":message-type"]; + if (messageType === "error") { + const unmodeledError = new Error(message.headers[":error-message"].value || "UnknownError"); + unmodeledError.name = message.headers[":error-code"].value; + throw unmodeledError; + } + else if (messageType === "exception") { + const code = message.headers[":exception-type"].value; + const exception = { [code]: message }; + const deserializedException = await deserializer(exception); + if (deserializedException.$unknown) { + const error = new Error(toUtf8(message.body)); + error.name = code; + throw error; + } + throw deserializedException[code]; + } + else if (messageType === "event") { + const event = { + [message.headers[":event-type"].value]: message, + }; + const deserialized = await deserializer(event); + if (deserialized.$unknown) + return; + return deserialized; + } + else { + throw Error(`Unrecognizable event type: ${message.headers[":event-type"].value}`); + } + }; +} + +class EventStreamMarshaller { + eventStreamCodec; + utfEncoder; + constructor({ utf8Encoder, utf8Decoder }) { + this.eventStreamCodec = new eventstreamCodec.EventStreamCodec(utf8Encoder, utf8Decoder); + this.utfEncoder = utf8Encoder; + } + deserialize(body, deserializer) { + const inputStream = getChunkedStream(body); + return new eventstreamCodec.SmithyMessageDecoderStream({ + messageStream: new eventstreamCodec.MessageDecoderStream({ inputStream, decoder: this.eventStreamCodec }), + deserializer: getMessageUnmarshaller(deserializer, this.utfEncoder), + }); + } + serialize(inputStream, serializer) { + return new eventstreamCodec.MessageEncoderStream({ + messageStream: new eventstreamCodec.SmithyMessageEncoderStream({ inputStream, serializer }), + encoder: this.eventStreamCodec, + includeEndFrame: true, + }); + } +} + +const eventStreamSerdeProvider = (options) => new EventStreamMarshaller(options); + +exports.EventStreamMarshaller = EventStreamMarshaller; +exports.eventStreamSerdeProvider = eventStreamSerdeProvider; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js b/node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js new file mode 100644 index 0000000..4269e72 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js @@ -0,0 +1,25 @@ +import { EventStreamCodec, MessageDecoderStream, MessageEncoderStream, SmithyMessageDecoderStream, SmithyMessageEncoderStream, } from "@smithy/eventstream-codec"; +import { getChunkedStream } from "./getChunkedStream"; +import { getMessageUnmarshaller } from "./getUnmarshalledStream"; +export class EventStreamMarshaller { + eventStreamCodec; + utfEncoder; + constructor({ utf8Encoder, utf8Decoder }) { + this.eventStreamCodec = new EventStreamCodec(utf8Encoder, utf8Decoder); + this.utfEncoder = utf8Encoder; + } + deserialize(body, deserializer) { + const inputStream = getChunkedStream(body); + return new SmithyMessageDecoderStream({ + messageStream: new MessageDecoderStream({ inputStream, decoder: this.eventStreamCodec }), + deserializer: getMessageUnmarshaller(deserializer, this.utfEncoder), + }); + } + serialize(inputStream, serializer) { + return new MessageEncoderStream({ + messageStream: new SmithyMessageEncoderStream({ inputStream, serializer }), + encoder: this.eventStreamCodec, + includeEndFrame: true, + }); + } +} diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-es/getChunkedStream.js b/node_modules/@smithy/eventstream-serde-universal/dist-es/getChunkedStream.js new file mode 100644 index 0000000..b738b45 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-universal/dist-es/getChunkedStream.js @@ -0,0 +1,66 @@ +export function getChunkedStream(source) { + let currentMessageTotalLength = 0; + let currentMessagePendingLength = 0; + let currentMessage = null; + let messageLengthBuffer = null; + const allocateMessage = (size) => { + if (typeof size !== "number") { + throw new Error("Attempted to allocate an event message where size was not a number: " + size); + } + currentMessageTotalLength = size; + currentMessagePendingLength = 4; + currentMessage = new Uint8Array(size); + const currentMessageView = new DataView(currentMessage.buffer); + currentMessageView.setUint32(0, size, false); + }; + const iterator = async function* () { + const sourceIterator = source[Symbol.asyncIterator](); + while (true) { + const { value, done } = await sourceIterator.next(); + if (done) { + if (!currentMessageTotalLength) { + return; + } + else if (currentMessageTotalLength === currentMessagePendingLength) { + yield currentMessage; + } + else { + throw new Error("Truncated event message received."); + } + return; + } + const chunkLength = value.length; + let currentOffset = 0; + while (currentOffset < chunkLength) { + if (!currentMessage) { + const bytesRemaining = chunkLength - currentOffset; + if (!messageLengthBuffer) { + messageLengthBuffer = new Uint8Array(4); + } + const numBytesForTotal = Math.min(4 - currentMessagePendingLength, bytesRemaining); + messageLengthBuffer.set(value.slice(currentOffset, currentOffset + numBytesForTotal), currentMessagePendingLength); + currentMessagePendingLength += numBytesForTotal; + currentOffset += numBytesForTotal; + if (currentMessagePendingLength < 4) { + break; + } + allocateMessage(new DataView(messageLengthBuffer.buffer).getUint32(0, false)); + messageLengthBuffer = null; + } + const numBytesToWrite = Math.min(currentMessageTotalLength - currentMessagePendingLength, chunkLength - currentOffset); + currentMessage.set(value.slice(currentOffset, currentOffset + numBytesToWrite), currentMessagePendingLength); + currentMessagePendingLength += numBytesToWrite; + currentOffset += numBytesToWrite; + if (currentMessageTotalLength && currentMessageTotalLength === currentMessagePendingLength) { + yield currentMessage; + currentMessage = null; + currentMessageTotalLength = 0; + currentMessagePendingLength = 0; + } + } + } + }; + return { + [Symbol.asyncIterator]: iterator, + }; +} diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-es/getUnmarshalledStream.js b/node_modules/@smithy/eventstream-serde-universal/dist-es/getUnmarshalledStream.js new file mode 100644 index 0000000..119399c --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-universal/dist-es/getUnmarshalledStream.js @@ -0,0 +1,47 @@ +export function getUnmarshalledStream(source, options) { + const messageUnmarshaller = getMessageUnmarshaller(options.deserializer, options.toUtf8); + return { + [Symbol.asyncIterator]: async function* () { + for await (const chunk of source) { + const message = options.eventStreamCodec.decode(chunk); + const type = await messageUnmarshaller(message); + if (type === undefined) + continue; + yield type; + } + }, + }; +} +export function getMessageUnmarshaller(deserializer, toUtf8) { + return async function (message) { + const { value: messageType } = message.headers[":message-type"]; + if (messageType === "error") { + const unmodeledError = new Error(message.headers[":error-message"].value || "UnknownError"); + unmodeledError.name = message.headers[":error-code"].value; + throw unmodeledError; + } + else if (messageType === "exception") { + const code = message.headers[":exception-type"].value; + const exception = { [code]: message }; + const deserializedException = await deserializer(exception); + if (deserializedException.$unknown) { + const error = new Error(toUtf8(message.body)); + error.name = code; + throw error; + } + throw deserializedException[code]; + } + else if (messageType === "event") { + const event = { + [message.headers[":event-type"].value]: message, + }; + const deserialized = await deserializer(event); + if (deserialized.$unknown) + return; + return deserialized; + } + else { + throw Error(`Unrecognizable event type: ${message.headers[":event-type"].value}`); + } + }; +} diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-es/index.js b/node_modules/@smithy/eventstream-serde-universal/dist-es/index.js new file mode 100644 index 0000000..294fec5 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-universal/dist-es/index.js @@ -0,0 +1,2 @@ +export * from "./EventStreamMarshaller"; +export * from "./provider"; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-es/provider.js b/node_modules/@smithy/eventstream-serde-universal/dist-es/provider.js new file mode 100644 index 0000000..b71c3f0 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-universal/dist-es/provider.js @@ -0,0 +1,2 @@ +import { EventStreamMarshaller } from "./EventStreamMarshaller"; +export const eventStreamSerdeProvider = (options) => new EventStreamMarshaller(options); diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/EventStreamMarshaller.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/EventStreamMarshaller.d.ts new file mode 100644 index 0000000..02119e3 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-universal/dist-types/EventStreamMarshaller.d.ts @@ -0,0 +1,23 @@ +import type { Decoder, Encoder, EventStreamMarshaller as IEventStreamMarshaller, Message } from "@smithy/types"; +/** + * @internal + */ +export interface EventStreamMarshaller extends IEventStreamMarshaller { +} +/** + * @internal + */ +export interface EventStreamMarshallerOptions { + utf8Encoder: Encoder; + utf8Decoder: Decoder; +} +/** + * @internal + */ +export declare class EventStreamMarshaller { + private readonly eventStreamCodec; + private readonly utfEncoder; + constructor({ utf8Encoder, utf8Decoder }: EventStreamMarshallerOptions); + deserialize(body: AsyncIterable, deserializer: (input: Record) => Promise): AsyncIterable; + serialize(inputStream: AsyncIterable, serializer: (event: T) => Message): AsyncIterable; +} diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/getChunkedStream.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/getChunkedStream.d.ts new file mode 100644 index 0000000..d2a58c0 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-universal/dist-types/getChunkedStream.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare function getChunkedStream(source: AsyncIterable): AsyncIterable; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/getUnmarshalledStream.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/getUnmarshalledStream.d.ts new file mode 100644 index 0000000..f02c7c9 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-universal/dist-types/getUnmarshalledStream.d.ts @@ -0,0 +1,18 @@ +import type { EventStreamCodec } from "@smithy/eventstream-codec"; +import type { Encoder, Message } from "@smithy/types"; +/** + * @internal + */ +export type UnmarshalledStreamOptions = { + eventStreamCodec: EventStreamCodec; + deserializer: (input: Record) => Promise; + toUtf8: Encoder; +}; +/** + * @internal + */ +export declare function getUnmarshalledStream>(source: AsyncIterable, options: UnmarshalledStreamOptions): AsyncIterable; +/** + * @internal + */ +export declare function getMessageUnmarshaller>(deserializer: (input: Record) => Promise, toUtf8: Encoder): (input: Message) => Promise; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/index.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/index.d.ts new file mode 100644 index 0000000..9f8e9f7 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-universal/dist-types/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./EventStreamMarshaller"; +/** + * @internal + */ +export * from "./provider"; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/provider.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/provider.d.ts new file mode 100644 index 0000000..8b841bb --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-universal/dist-types/provider.d.ts @@ -0,0 +1,3 @@ +import type { EventStreamSerdeProvider } from "@smithy/types"; +/** NodeJS event stream utils provider */ +export declare const eventStreamSerdeProvider: EventStreamSerdeProvider; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/EventStreamMarshaller.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/EventStreamMarshaller.d.ts new file mode 100644 index 0000000..4994116 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/EventStreamMarshaller.d.ts @@ -0,0 +1,23 @@ +import { Decoder, Encoder, EventStreamMarshaller as IEventStreamMarshaller, Message } from "@smithy/types"; +/** + * @internal + */ +export interface EventStreamMarshaller extends IEventStreamMarshaller { +} +/** + * @internal + */ +export interface EventStreamMarshallerOptions { + utf8Encoder: Encoder; + utf8Decoder: Decoder; +} +/** + * @internal + */ +export declare class EventStreamMarshaller { + private readonly eventStreamCodec; + private readonly utfEncoder; + constructor({ utf8Encoder, utf8Decoder }: EventStreamMarshallerOptions); + deserialize(body: AsyncIterable, deserializer: (input: Record) => Promise): AsyncIterable; + serialize(inputStream: AsyncIterable, serializer: (event: T) => Message): AsyncIterable; +} diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getChunkedStream.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getChunkedStream.d.ts new file mode 100644 index 0000000..d2a58c0 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getChunkedStream.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare function getChunkedStream(source: AsyncIterable): AsyncIterable; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getUnmarshalledStream.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getUnmarshalledStream.d.ts new file mode 100644 index 0000000..8cb0a66 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getUnmarshalledStream.d.ts @@ -0,0 +1,18 @@ +import { EventStreamCodec } from "@smithy/eventstream-codec"; +import { Encoder, Message } from "@smithy/types"; +/** + * @internal + */ +export type UnmarshalledStreamOptions = { + eventStreamCodec: EventStreamCodec; + deserializer: (input: Record) => Promise; + toUtf8: Encoder; +}; +/** + * @internal + */ +export declare function getUnmarshalledStream>(source: AsyncIterable, options: UnmarshalledStreamOptions): AsyncIterable; +/** + * @internal + */ +export declare function getMessageUnmarshaller>(deserializer: (input: Record) => Promise, toUtf8: Encoder): (input: Message) => Promise; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..9f8e9f7 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./EventStreamMarshaller"; +/** + * @internal + */ +export * from "./provider"; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/provider.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/provider.d.ts new file mode 100644 index 0000000..538197d --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/provider.d.ts @@ -0,0 +1,3 @@ +import { EventStreamSerdeProvider } from "@smithy/types"; +/** NodeJS event stream utils provider */ +export declare const eventStreamSerdeProvider: EventStreamSerdeProvider; diff --git a/node_modules/@smithy/eventstream-serde-universal/package.json b/node_modules/@smithy/eventstream-serde-universal/package.json new file mode 100644 index 0000000..8e7e521 --- /dev/null +++ b/node_modules/@smithy/eventstream-serde-universal/package.json @@ -0,0 +1,66 @@ +{ + "name": "@smithy/eventstream-serde-universal", + "version": "4.2.12", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline eventstream-serde-universal", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/eventstream-codec": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@smithy/util-utf8": "^4.2.2", + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/eventstream-serde-universal", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/eventstream-serde-universal" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/fetch-http-handler/LICENSE b/node_modules/@smithy/fetch-http-handler/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/fetch-http-handler/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/fetch-http-handler/README.md b/node_modules/@smithy/fetch-http-handler/README.md new file mode 100644 index 0000000..e52e8f1 --- /dev/null +++ b/node_modules/@smithy/fetch-http-handler/README.md @@ -0,0 +1,11 @@ +# @smithy/fetch-http-handler + +[![NPM version](https://img.shields.io/npm/v/@smithy/fetch-http-handler/latest.svg)](https://www.npmjs.com/package/@smithy/fetch-http-handler) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/fetch-http-handler.svg)](https://www.npmjs.com/package/@smithy/fetch-http-handler) + +This is the default `requestHandler` used for browser applications. +Since Node.js introduced experimental Web Streams API in v16.5.0 and made it stable in v21.0.0, +you can consider using `fetch-http-handler` in Node.js, although it's not recommended. + +For the Node.js default `requestHandler` implementation, see instead +[`@smithy/node-http-handler`](https://www.npmjs.com/package/@smithy/node-http-handler). diff --git a/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js b/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js new file mode 100644 index 0000000..82c593f --- /dev/null +++ b/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js @@ -0,0 +1,233 @@ +'use strict'; + +var protocolHttp = require('@smithy/protocol-http'); +var querystringBuilder = require('@smithy/querystring-builder'); +var utilBase64 = require('@smithy/util-base64'); + +function createRequest(url, requestOptions) { + return new Request(url, requestOptions); +} + +function requestTimeout(timeoutInMs = 0) { + return new Promise((resolve, reject) => { + if (timeoutInMs) { + setTimeout(() => { + const timeoutError = new Error(`Request did not complete within ${timeoutInMs} ms`); + timeoutError.name = "TimeoutError"; + reject(timeoutError); + }, timeoutInMs); + } + }); +} + +const keepAliveSupport = { + supported: undefined, +}; +class FetchHttpHandler { + config; + configProvider; + static create(instanceOrOptions) { + if (typeof instanceOrOptions?.handle === "function") { + return instanceOrOptions; + } + return new FetchHttpHandler(instanceOrOptions); + } + constructor(options) { + if (typeof options === "function") { + this.configProvider = options().then((opts) => opts || {}); + } + else { + this.config = options ?? {}; + this.configProvider = Promise.resolve(this.config); + } + if (keepAliveSupport.supported === undefined) { + keepAliveSupport.supported = Boolean(typeof Request !== "undefined" && "keepalive" in createRequest("https://[::1]")); + } + } + destroy() { + } + async handle(request, { abortSignal, requestTimeout: requestTimeout$1 } = {}) { + if (!this.config) { + this.config = await this.configProvider; + } + const requestTimeoutInMs = requestTimeout$1 ?? this.config.requestTimeout; + const keepAlive = this.config.keepAlive === true; + const credentials = this.config.credentials; + if (abortSignal?.aborted) { + const abortError = buildAbortError(abortSignal); + return Promise.reject(abortError); + } + let path = request.path; + const queryString = querystringBuilder.buildQueryString(request.query || {}); + if (queryString) { + path += `?${queryString}`; + } + if (request.fragment) { + path += `#${request.fragment}`; + } + let auth = ""; + if (request.username != null || request.password != null) { + const username = request.username ?? ""; + const password = request.password ?? ""; + auth = `${username}:${password}@`; + } + const { port, method } = request; + const url = `${request.protocol}//${auth}${request.hostname}${port ? `:${port}` : ""}${path}`; + const body = method === "GET" || method === "HEAD" ? undefined : request.body; + const requestOptions = { + body, + headers: new Headers(request.headers), + method: method, + credentials, + }; + if (this.config?.cache) { + requestOptions.cache = this.config.cache; + } + if (body) { + requestOptions.duplex = "half"; + } + if (typeof AbortController !== "undefined") { + requestOptions.signal = abortSignal; + } + if (keepAliveSupport.supported) { + requestOptions.keepalive = keepAlive; + } + if (typeof this.config.requestInit === "function") { + Object.assign(requestOptions, this.config.requestInit(request)); + } + let removeSignalEventListener = () => { }; + const fetchRequest = createRequest(url, requestOptions); + const raceOfPromises = [ + fetch(fetchRequest).then((response) => { + const fetchHeaders = response.headers; + const transformedHeaders = {}; + for (const pair of fetchHeaders.entries()) { + transformedHeaders[pair[0]] = pair[1]; + } + const hasReadableStream = response.body != undefined; + if (!hasReadableStream) { + return response.blob().then((body) => ({ + response: new protocolHttp.HttpResponse({ + headers: transformedHeaders, + reason: response.statusText, + statusCode: response.status, + body, + }), + })); + } + return { + response: new protocolHttp.HttpResponse({ + headers: transformedHeaders, + reason: response.statusText, + statusCode: response.status, + body: response.body, + }), + }; + }), + requestTimeout(requestTimeoutInMs), + ]; + if (abortSignal) { + raceOfPromises.push(new Promise((resolve, reject) => { + const onAbort = () => { + const abortError = buildAbortError(abortSignal); + reject(abortError); + }; + if (typeof abortSignal.addEventListener === "function") { + const signal = abortSignal; + signal.addEventListener("abort", onAbort, { once: true }); + removeSignalEventListener = () => signal.removeEventListener("abort", onAbort); + } + else { + abortSignal.onabort = onAbort; + } + })); + } + return Promise.race(raceOfPromises).finally(removeSignalEventListener); + } + updateHttpClientConfig(key, value) { + this.config = undefined; + this.configProvider = this.configProvider.then((config) => { + config[key] = value; + return config; + }); + } + httpHandlerConfigs() { + return this.config ?? {}; + } +} +function buildAbortError(abortSignal) { + const reason = abortSignal && typeof abortSignal === "object" && "reason" in abortSignal + ? abortSignal.reason + : undefined; + if (reason) { + if (reason instanceof Error) { + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + abortError.cause = reason; + return abortError; + } + const abortError = new Error(String(reason)); + abortError.name = "AbortError"; + return abortError; + } + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + return abortError; +} + +const streamCollector = async (stream) => { + if ((typeof Blob === "function" && stream instanceof Blob) || stream.constructor?.name === "Blob") { + if (Blob.prototype.arrayBuffer !== undefined) { + return new Uint8Array(await stream.arrayBuffer()); + } + return collectBlob(stream); + } + return collectStream(stream); +}; +async function collectBlob(blob) { + const base64 = await readToBase64(blob); + const arrayBuffer = utilBase64.fromBase64(base64); + return new Uint8Array(arrayBuffer); +} +async function collectStream(stream) { + const chunks = []; + const reader = stream.getReader(); + let isDone = false; + let length = 0; + while (!isDone) { + const { done, value } = await reader.read(); + if (value) { + chunks.push(value); + length += value.length; + } + isDone = done; + } + const collected = new Uint8Array(length); + let offset = 0; + for (const chunk of chunks) { + collected.set(chunk, offset); + offset += chunk.length; + } + return collected; +} +function readToBase64(blob) { + return new Promise((resolve, reject) => { + const reader = new FileReader(); + reader.onloadend = () => { + if (reader.readyState !== 2) { + return reject(new Error("Reader aborted too early")); + } + const result = (reader.result ?? ""); + const commaIndex = result.indexOf(","); + const dataOffset = commaIndex > -1 ? commaIndex + 1 : result.length; + resolve(result.substring(dataOffset)); + }; + reader.onabort = () => reject(new Error("Read aborted")); + reader.onerror = () => reject(reader.error); + reader.readAsDataURL(blob); + }); +} + +exports.FetchHttpHandler = FetchHttpHandler; +exports.keepAliveSupport = keepAliveSupport; +exports.streamCollector = streamCollector; diff --git a/node_modules/@smithy/fetch-http-handler/dist-es/create-request.js b/node_modules/@smithy/fetch-http-handler/dist-es/create-request.js new file mode 100644 index 0000000..b6f1816 --- /dev/null +++ b/node_modules/@smithy/fetch-http-handler/dist-es/create-request.js @@ -0,0 +1,3 @@ +export function createRequest(url, requestOptions) { + return new Request(url, requestOptions); +} diff --git a/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js b/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js new file mode 100644 index 0000000..f0aeed8 --- /dev/null +++ b/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js @@ -0,0 +1,158 @@ +import { HttpResponse } from "@smithy/protocol-http"; +import { buildQueryString } from "@smithy/querystring-builder"; +import { createRequest } from "./create-request"; +import { requestTimeout as requestTimeoutFn } from "./request-timeout"; +export const keepAliveSupport = { + supported: undefined, +}; +export class FetchHttpHandler { + config; + configProvider; + static create(instanceOrOptions) { + if (typeof instanceOrOptions?.handle === "function") { + return instanceOrOptions; + } + return new FetchHttpHandler(instanceOrOptions); + } + constructor(options) { + if (typeof options === "function") { + this.configProvider = options().then((opts) => opts || {}); + } + else { + this.config = options ?? {}; + this.configProvider = Promise.resolve(this.config); + } + if (keepAliveSupport.supported === undefined) { + keepAliveSupport.supported = Boolean(typeof Request !== "undefined" && "keepalive" in createRequest("https://[::1]")); + } + } + destroy() { + } + async handle(request, { abortSignal, requestTimeout } = {}) { + if (!this.config) { + this.config = await this.configProvider; + } + const requestTimeoutInMs = requestTimeout ?? this.config.requestTimeout; + const keepAlive = this.config.keepAlive === true; + const credentials = this.config.credentials; + if (abortSignal?.aborted) { + const abortError = buildAbortError(abortSignal); + return Promise.reject(abortError); + } + let path = request.path; + const queryString = buildQueryString(request.query || {}); + if (queryString) { + path += `?${queryString}`; + } + if (request.fragment) { + path += `#${request.fragment}`; + } + let auth = ""; + if (request.username != null || request.password != null) { + const username = request.username ?? ""; + const password = request.password ?? ""; + auth = `${username}:${password}@`; + } + const { port, method } = request; + const url = `${request.protocol}//${auth}${request.hostname}${port ? `:${port}` : ""}${path}`; + const body = method === "GET" || method === "HEAD" ? undefined : request.body; + const requestOptions = { + body, + headers: new Headers(request.headers), + method: method, + credentials, + }; + if (this.config?.cache) { + requestOptions.cache = this.config.cache; + } + if (body) { + requestOptions.duplex = "half"; + } + if (typeof AbortController !== "undefined") { + requestOptions.signal = abortSignal; + } + if (keepAliveSupport.supported) { + requestOptions.keepalive = keepAlive; + } + if (typeof this.config.requestInit === "function") { + Object.assign(requestOptions, this.config.requestInit(request)); + } + let removeSignalEventListener = () => { }; + const fetchRequest = createRequest(url, requestOptions); + const raceOfPromises = [ + fetch(fetchRequest).then((response) => { + const fetchHeaders = response.headers; + const transformedHeaders = {}; + for (const pair of fetchHeaders.entries()) { + transformedHeaders[pair[0]] = pair[1]; + } + const hasReadableStream = response.body != undefined; + if (!hasReadableStream) { + return response.blob().then((body) => ({ + response: new HttpResponse({ + headers: transformedHeaders, + reason: response.statusText, + statusCode: response.status, + body, + }), + })); + } + return { + response: new HttpResponse({ + headers: transformedHeaders, + reason: response.statusText, + statusCode: response.status, + body: response.body, + }), + }; + }), + requestTimeoutFn(requestTimeoutInMs), + ]; + if (abortSignal) { + raceOfPromises.push(new Promise((resolve, reject) => { + const onAbort = () => { + const abortError = buildAbortError(abortSignal); + reject(abortError); + }; + if (typeof abortSignal.addEventListener === "function") { + const signal = abortSignal; + signal.addEventListener("abort", onAbort, { once: true }); + removeSignalEventListener = () => signal.removeEventListener("abort", onAbort); + } + else { + abortSignal.onabort = onAbort; + } + })); + } + return Promise.race(raceOfPromises).finally(removeSignalEventListener); + } + updateHttpClientConfig(key, value) { + this.config = undefined; + this.configProvider = this.configProvider.then((config) => { + config[key] = value; + return config; + }); + } + httpHandlerConfigs() { + return this.config ?? {}; + } +} +function buildAbortError(abortSignal) { + const reason = abortSignal && typeof abortSignal === "object" && "reason" in abortSignal + ? abortSignal.reason + : undefined; + if (reason) { + if (reason instanceof Error) { + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + abortError.cause = reason; + return abortError; + } + const abortError = new Error(String(reason)); + abortError.name = "AbortError"; + return abortError; + } + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + return abortError; +} diff --git a/node_modules/@smithy/fetch-http-handler/dist-es/index.js b/node_modules/@smithy/fetch-http-handler/dist-es/index.js new file mode 100644 index 0000000..a0c61f1 --- /dev/null +++ b/node_modules/@smithy/fetch-http-handler/dist-es/index.js @@ -0,0 +1,2 @@ +export * from "./fetch-http-handler"; +export * from "./stream-collector"; diff --git a/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js b/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js new file mode 100644 index 0000000..66b09b2 --- /dev/null +++ b/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js @@ -0,0 +1,11 @@ +export function requestTimeout(timeoutInMs = 0) { + return new Promise((resolve, reject) => { + if (timeoutInMs) { + setTimeout(() => { + const timeoutError = new Error(`Request did not complete within ${timeoutInMs} ms`); + timeoutError.name = "TimeoutError"; + reject(timeoutError); + }, timeoutInMs); + } + }); +} diff --git a/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js b/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js new file mode 100644 index 0000000..a400d9b --- /dev/null +++ b/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js @@ -0,0 +1,53 @@ +import { fromBase64 } from "@smithy/util-base64"; +export const streamCollector = async (stream) => { + if ((typeof Blob === "function" && stream instanceof Blob) || stream.constructor?.name === "Blob") { + if (Blob.prototype.arrayBuffer !== undefined) { + return new Uint8Array(await stream.arrayBuffer()); + } + return collectBlob(stream); + } + return collectStream(stream); +}; +async function collectBlob(blob) { + const base64 = await readToBase64(blob); + const arrayBuffer = fromBase64(base64); + return new Uint8Array(arrayBuffer); +} +async function collectStream(stream) { + const chunks = []; + const reader = stream.getReader(); + let isDone = false; + let length = 0; + while (!isDone) { + const { done, value } = await reader.read(); + if (value) { + chunks.push(value); + length += value.length; + } + isDone = done; + } + const collected = new Uint8Array(length); + let offset = 0; + for (const chunk of chunks) { + collected.set(chunk, offset); + offset += chunk.length; + } + return collected; +} +function readToBase64(blob) { + return new Promise((resolve, reject) => { + const reader = new FileReader(); + reader.onloadend = () => { + if (reader.readyState !== 2) { + return reject(new Error("Reader aborted too early")); + } + const result = (reader.result ?? ""); + const commaIndex = result.indexOf(","); + const dataOffset = commaIndex > -1 ? commaIndex + 1 : result.length; + resolve(result.substring(dataOffset)); + }; + reader.onabort = () => reject(new Error("Read aborted")); + reader.onerror = () => reject(reader.error); + reader.readAsDataURL(blob); + }); +} diff --git a/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts b/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts new file mode 100644 index 0000000..4fb2e13 --- /dev/null +++ b/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts @@ -0,0 +1,6 @@ +import type { AdditionalRequestParameters } from "./fetch-http-handler"; +/** + * @internal + * For mocking/interception. + */ +export declare function createRequest(url: string, requestOptions?: RequestInit & AdditionalRequestParameters): Request; diff --git a/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts b/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts new file mode 100644 index 0000000..c9b057d --- /dev/null +++ b/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts @@ -0,0 +1,42 @@ +import type { HttpHandler, HttpRequest } from "@smithy/protocol-http"; +import { HttpResponse } from "@smithy/protocol-http"; +import type { FetchHttpHandlerOptions } from "@smithy/types"; +import type { HttpHandlerOptions, Provider } from "@smithy/types"; +/** + * @public + */ +export { FetchHttpHandlerOptions }; +/** + * @internal + * Detection of keepalive support. Can be overridden for testing. + */ +export declare const keepAliveSupport: { + supported: undefined | boolean; +}; +/** + * @internal + */ +export type AdditionalRequestParameters = { + duplex?: "half"; +}; +/** + * @public + * + * HttpHandler implementation using browsers' `fetch` global function. + */ +export declare class FetchHttpHandler implements HttpHandler { + private config?; + private configProvider; + /** + * @returns the input if it is an HttpHandler of any class, + * or instantiates a new instance of this handler. + */ + static create(instanceOrOptions?: HttpHandler | FetchHttpHandlerOptions | Provider): FetchHttpHandler | HttpHandler; + constructor(options?: FetchHttpHandlerOptions | Provider); + destroy(): void; + handle(request: HttpRequest, { abortSignal, requestTimeout }?: HttpHandlerOptions): Promise<{ + response: HttpResponse; + }>; + updateHttpClientConfig(key: keyof FetchHttpHandlerOptions, value: FetchHttpHandlerOptions[typeof key]): void; + httpHandlerConfigs(): FetchHttpHandlerOptions; +} diff --git a/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts b/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts new file mode 100644 index 0000000..a0c61f1 --- /dev/null +++ b/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts @@ -0,0 +1,2 @@ +export * from "./fetch-http-handler"; +export * from "./stream-collector"; diff --git a/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts b/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts new file mode 100644 index 0000000..28d784b --- /dev/null +++ b/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts @@ -0,0 +1 @@ +export declare function requestTimeout(timeoutInMs?: number): Promise; diff --git a/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts b/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts new file mode 100644 index 0000000..6ae2a93 --- /dev/null +++ b/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts @@ -0,0 +1,2 @@ +import type { StreamCollector } from "@smithy/types"; +export declare const streamCollector: StreamCollector; diff --git a/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts b/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts new file mode 100644 index 0000000..d668b06 --- /dev/null +++ b/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts @@ -0,0 +1,6 @@ +import { AdditionalRequestParameters } from "./fetch-http-handler"; +/** + * @internal + * For mocking/interception. + */ +export declare function createRequest(url: string, requestOptions?: RequestInit & AdditionalRequestParameters): Request; diff --git a/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts b/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts new file mode 100644 index 0000000..2544795 --- /dev/null +++ b/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts @@ -0,0 +1,42 @@ +import { HttpHandler, HttpRequest } from "@smithy/protocol-http"; +import { HttpResponse } from "@smithy/protocol-http"; +import { FetchHttpHandlerOptions } from "@smithy/types"; +import { HttpHandlerOptions, Provider } from "@smithy/types"; +/** + * @public + */ +export { FetchHttpHandlerOptions }; +/** + * @internal + * Detection of keepalive support. Can be overridden for testing. + */ +export declare const keepAliveSupport: { + supported: undefined | boolean; +}; +/** + * @internal + */ +export type AdditionalRequestParameters = { + duplex?: "half"; +}; +/** + * @public + * + * HttpHandler implementation using browsers' `fetch` global function. + */ +export declare class FetchHttpHandler implements HttpHandler { + private config?; + private configProvider; + /** + * @returns the input if it is an HttpHandler of any class, + * or instantiates a new instance of this handler. + */ + static create(instanceOrOptions?: HttpHandler | FetchHttpHandlerOptions | Provider): FetchHttpHandler | HttpHandler; + constructor(options?: FetchHttpHandlerOptions | Provider); + destroy(): void; + handle(request: HttpRequest, { abortSignal, requestTimeout }?: HttpHandlerOptions): Promise<{ + response: HttpResponse; + }>; + updateHttpClientConfig(key: keyof FetchHttpHandlerOptions, value: FetchHttpHandlerOptions[typeof key]): void; + httpHandlerConfigs(): FetchHttpHandlerOptions; +} diff --git a/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..a0c61f1 --- /dev/null +++ b/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts @@ -0,0 +1,2 @@ +export * from "./fetch-http-handler"; +export * from "./stream-collector"; diff --git a/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts b/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts new file mode 100644 index 0000000..28d784b --- /dev/null +++ b/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts @@ -0,0 +1 @@ +export declare function requestTimeout(timeoutInMs?: number): Promise; diff --git a/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/stream-collector.d.ts b/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/stream-collector.d.ts new file mode 100644 index 0000000..b2ca812 --- /dev/null +++ b/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/stream-collector.d.ts @@ -0,0 +1,2 @@ +import { StreamCollector } from "@smithy/types"; +export declare const streamCollector: StreamCollector; diff --git a/node_modules/@smithy/fetch-http-handler/package.json b/node_modules/@smithy/fetch-http-handler/package.json new file mode 100644 index 0000000..a787e99 --- /dev/null +++ b/node_modules/@smithy/fetch-http-handler/package.json @@ -0,0 +1,69 @@ +{ + "name": "@smithy/fetch-http-handler", + "version": "5.3.15", + "description": "Provides a way to make requests", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline fetch-http-handler", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "extract:docs": "api-extractor run --local", + "test": "yarn g:vitest run && yarn test:browser", + "test:watch": "yarn g:vitest watch", + "test:browser": "yarn g:vitest run -c vitest.config.browser.mts", + "test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.mts" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "dependencies": { + "@smithy/protocol-http": "^5.3.12", + "@smithy/querystring-builder": "^4.2.12", + "@smithy/types": "^4.13.1", + "@smithy/util-base64": "^4.3.2", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@smithy/abort-controller": "^4.2.12", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/fetch-http-handler", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/fetch-http-handler" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + }, + "engines": { + "node": ">=18.0.0" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/hash-blob-browser/LICENSE b/node_modules/@smithy/hash-blob-browser/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/hash-blob-browser/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/hash-blob-browser/README.md b/node_modules/@smithy/hash-blob-browser/README.md new file mode 100644 index 0000000..287e8e2 --- /dev/null +++ b/node_modules/@smithy/hash-blob-browser/README.md @@ -0,0 +1,10 @@ +# @smithy/sha256-blob-browser + +[![NPM version](https://img.shields.io/npm/v/@smithy/hash-blob-browser/latest.svg)](https://www.npmjs.com/package/@smithy/hash-blob-browser) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/hash-blob-browser.svg)](https://www.npmjs.com/package/@smithy/hash-blob-browser) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/hash-blob-browser/dist-cjs/index.js b/node_modules/@smithy/hash-blob-browser/dist-cjs/index.js new file mode 100644 index 0000000..c7bcc32 --- /dev/null +++ b/node_modules/@smithy/hash-blob-browser/dist-cjs/index.js @@ -0,0 +1,13 @@ +'use strict'; + +var chunkedBlobReader = require('@smithy/chunked-blob-reader'); + +const blobHasher = async function blobHasher(hashCtor, blob) { + const hash = new hashCtor(); + await chunkedBlobReader.blobReader(blob, (chunk) => { + hash.update(chunk); + }); + return hash.digest(); +}; + +exports.blobHasher = blobHasher; diff --git a/node_modules/@smithy/hash-blob-browser/dist-es/index.js b/node_modules/@smithy/hash-blob-browser/dist-es/index.js new file mode 100644 index 0000000..49fa6f7 --- /dev/null +++ b/node_modules/@smithy/hash-blob-browser/dist-es/index.js @@ -0,0 +1,8 @@ +import { blobReader } from "@smithy/chunked-blob-reader"; +export const blobHasher = async function blobHasher(hashCtor, blob) { + const hash = new hashCtor(); + await blobReader(blob, (chunk) => { + hash.update(chunk); + }); + return hash.digest(); +}; diff --git a/node_modules/@smithy/hash-blob-browser/dist-types/index.d.ts b/node_modules/@smithy/hash-blob-browser/dist-types/index.d.ts new file mode 100644 index 0000000..0df9482 --- /dev/null +++ b/node_modules/@smithy/hash-blob-browser/dist-types/index.d.ts @@ -0,0 +1,5 @@ +import type { StreamHasher } from "@smithy/types"; +/** + * @internal + */ +export declare const blobHasher: StreamHasher; diff --git a/node_modules/@smithy/hash-blob-browser/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/hash-blob-browser/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..abb935f --- /dev/null +++ b/node_modules/@smithy/hash-blob-browser/dist-types/ts3.4/index.d.ts @@ -0,0 +1,5 @@ +import { StreamHasher } from "@smithy/types"; +/** + * @internal + */ +export declare const blobHasher: StreamHasher; diff --git a/node_modules/@smithy/hash-blob-browser/package.json b/node_modules/@smithy/hash-blob-browser/package.json new file mode 100644 index 0000000..c3c4a58 --- /dev/null +++ b/node_modules/@smithy/hash-blob-browser/package.json @@ -0,0 +1,70 @@ +{ + "name": "@smithy/hash-blob-browser", + "version": "4.2.13", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline hash-blob-browser", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/chunked-blob-reader": "^5.2.2", + "@smithy/chunked-blob-reader-native": "^4.2.3", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@smithy/util-hex-encoding": "^4.2.2", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "react-native": { + "@smithy/chunked-blob-reader": "@smithy/chunked-blob-reader-native" + }, + "browser": { + "@smithy/chunked-blob-reader": "@smithy/chunked-blob-reader" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/hash-blob-browser", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/hash-blob-browser" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + }, + "engines": { + "node": ">=18.0.0" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/hash-node/LICENSE b/node_modules/@smithy/hash-node/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/hash-node/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/hash-node/README.md b/node_modules/@smithy/hash-node/README.md new file mode 100644 index 0000000..a160019 --- /dev/null +++ b/node_modules/@smithy/hash-node/README.md @@ -0,0 +1,10 @@ +# @smithy/md5-node + +[![NPM version](https://img.shields.io/npm/v/@smithy/hash-node/latest.svg)](https://www.npmjs.com/package/@smithy/hash-node) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/hash-node.svg)](https://www.npmjs.com/package/@smithy/hash-node) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/hash-node/dist-cjs/index.js b/node_modules/@smithy/hash-node/dist-cjs/index.js new file mode 100644 index 0000000..9038b5f --- /dev/null +++ b/node_modules/@smithy/hash-node/dist-cjs/index.js @@ -0,0 +1,42 @@ +'use strict'; + +var utilBufferFrom = require('@smithy/util-buffer-from'); +var utilUtf8 = require('@smithy/util-utf8'); +var buffer = require('buffer'); +var crypto = require('crypto'); + +class Hash { + algorithmIdentifier; + secret; + hash; + constructor(algorithmIdentifier, secret) { + this.algorithmIdentifier = algorithmIdentifier; + this.secret = secret; + this.reset(); + } + update(toHash, encoding) { + this.hash.update(utilUtf8.toUint8Array(castSourceData(toHash, encoding))); + } + digest() { + return Promise.resolve(this.hash.digest()); + } + reset() { + this.hash = this.secret + ? crypto.createHmac(this.algorithmIdentifier, castSourceData(this.secret)) + : crypto.createHash(this.algorithmIdentifier); + } +} +function castSourceData(toCast, encoding) { + if (buffer.Buffer.isBuffer(toCast)) { + return toCast; + } + if (typeof toCast === "string") { + return utilBufferFrom.fromString(toCast, encoding); + } + if (ArrayBuffer.isView(toCast)) { + return utilBufferFrom.fromArrayBuffer(toCast.buffer, toCast.byteOffset, toCast.byteLength); + } + return utilBufferFrom.fromArrayBuffer(toCast); +} + +exports.Hash = Hash; diff --git a/node_modules/@smithy/hash-node/dist-es/index.js b/node_modules/@smithy/hash-node/dist-es/index.js new file mode 100644 index 0000000..ec73958 --- /dev/null +++ b/node_modules/@smithy/hash-node/dist-es/index.js @@ -0,0 +1,37 @@ +import { fromArrayBuffer, fromString } from "@smithy/util-buffer-from"; +import { toUint8Array } from "@smithy/util-utf8"; +import { Buffer } from "buffer"; +import { createHash, createHmac } from "crypto"; +export class Hash { + algorithmIdentifier; + secret; + hash; + constructor(algorithmIdentifier, secret) { + this.algorithmIdentifier = algorithmIdentifier; + this.secret = secret; + this.reset(); + } + update(toHash, encoding) { + this.hash.update(toUint8Array(castSourceData(toHash, encoding))); + } + digest() { + return Promise.resolve(this.hash.digest()); + } + reset() { + this.hash = this.secret + ? createHmac(this.algorithmIdentifier, castSourceData(this.secret)) + : createHash(this.algorithmIdentifier); + } +} +function castSourceData(toCast, encoding) { + if (Buffer.isBuffer(toCast)) { + return toCast; + } + if (typeof toCast === "string") { + return fromString(toCast, encoding); + } + if (ArrayBuffer.isView(toCast)) { + return fromArrayBuffer(toCast.buffer, toCast.byteOffset, toCast.byteLength); + } + return fromArrayBuffer(toCast); +} diff --git a/node_modules/@smithy/hash-node/dist-types/index.d.ts b/node_modules/@smithy/hash-node/dist-types/index.d.ts new file mode 100644 index 0000000..c47c51b --- /dev/null +++ b/node_modules/@smithy/hash-node/dist-types/index.d.ts @@ -0,0 +1,13 @@ +import type { Checksum, SourceData } from "@smithy/types"; +/** + * @internal + */ +export declare class Hash implements Checksum { + private readonly algorithmIdentifier; + private readonly secret?; + private hash; + constructor(algorithmIdentifier: string, secret?: SourceData); + update(toHash: SourceData, encoding?: "utf8" | "ascii" | "latin1"): void; + digest(): Promise; + reset(): void; +} diff --git a/node_modules/@smithy/hash-node/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/hash-node/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..20ed5ed --- /dev/null +++ b/node_modules/@smithy/hash-node/dist-types/ts3.4/index.d.ts @@ -0,0 +1,13 @@ +import { Checksum, SourceData } from "@smithy/types"; +/** + * @internal + */ +export declare class Hash implements Checksum { + private readonly algorithmIdentifier; + private readonly secret?; + private hash; + constructor(algorithmIdentifier: string, secret?: SourceData); + update(toHash: SourceData, encoding?: "utf8" | "ascii" | "latin1"): void; + digest(): Promise; + reset(): void; +} diff --git a/node_modules/@smithy/hash-node/package.json b/node_modules/@smithy/hash-node/package.json new file mode 100644 index 0000000..0dd8cd3 --- /dev/null +++ b/node_modules/@smithy/hash-node/package.json @@ -0,0 +1,65 @@ +{ + "name": "@smithy/hash-node", + "version": "4.2.12", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline hash-node", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "devDependencies": { + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "hash-test-vectors": "^1.3.2", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "dependencies": { + "@smithy/types": "^4.13.1", + "@smithy/util-buffer-from": "^4.2.2", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/hash-node", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/hash-node" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/hash-stream-node/LICENSE b/node_modules/@smithy/hash-stream-node/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/hash-stream-node/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/hash-stream-node/README.md b/node_modules/@smithy/hash-stream-node/README.md new file mode 100644 index 0000000..a1d8065 --- /dev/null +++ b/node_modules/@smithy/hash-stream-node/README.md @@ -0,0 +1,12 @@ +# @smithy/hash-stream-node + +[![NPM version](https://img.shields.io/npm/v/@smithy/hash-stream-node/latest.svg)](https://www.npmjs.com/package/@smithy/hash-stream-node) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/hash-stream-node.svg)](https://www.npmjs.com/package/@smithy/hash-stream-node) + +A utility for calculating the hash of Node.JS readable streams. + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/hash-stream-node/dist-cjs/index.js b/node_modules/@smithy/hash-stream-node/dist-cjs/index.js new file mode 100644 index 0000000..5796e08 --- /dev/null +++ b/node_modules/@smithy/hash-stream-node/dist-cjs/index.js @@ -0,0 +1,67 @@ +'use strict'; + +var fs = require('fs'); +var utilUtf8 = require('@smithy/util-utf8'); +var stream = require('stream'); + +class HashCalculator extends stream.Writable { + hash; + constructor(hash, options) { + super(options); + this.hash = hash; + } + _write(chunk, encoding, callback) { + try { + this.hash.update(utilUtf8.toUint8Array(chunk)); + } + catch (err) { + return callback(err); + } + callback(); + } +} + +const fileStreamHasher = (hashCtor, fileStream) => new Promise((resolve, reject) => { + if (!isReadStream(fileStream)) { + reject(new Error("Unable to calculate hash for non-file streams.")); + return; + } + const fileStreamTee = fs.createReadStream(fileStream.path, { + start: fileStream.start, + end: fileStream.end, + }); + const hash = new hashCtor(); + const hashCalculator = new HashCalculator(hash); + fileStreamTee.pipe(hashCalculator); + fileStreamTee.on("error", (err) => { + hashCalculator.end(); + reject(err); + }); + hashCalculator.on("error", reject); + hashCalculator.on("finish", function () { + hash.digest().then(resolve).catch(reject); + }); +}); +const isReadStream = (stream) => typeof stream.path === "string"; + +const readableStreamHasher = (hashCtor, readableStream) => { + if (readableStream.readableFlowing !== null) { + throw new Error("Unable to calculate hash for flowing readable stream"); + } + const hash = new hashCtor(); + const hashCalculator = new HashCalculator(hash); + readableStream.pipe(hashCalculator); + return new Promise((resolve, reject) => { + readableStream.on("error", (err) => { + hashCalculator.end(); + reject(err); + }); + hashCalculator.on("error", reject); + hashCalculator.on("finish", () => { + hash.digest().then(resolve).catch(reject); + }); + }); +}; + +exports.fileStreamHasher = fileStreamHasher; +exports.readableStreamHasher = readableStreamHasher; diff --git a/node_modules/@smithy/hash-stream-node/dist-es/HashCalculator.js b/node_modules/@smithy/hash-stream-node/dist-es/HashCalculator.js new file mode 100644 index 0000000..a12a684 --- /dev/null +++ b/node_modules/@smithy/hash-stream-node/dist-es/HashCalculator.js @@ -0,0 +1,18 @@ +import { toUint8Array } from "@smithy/util-utf8"; +import { Writable } from "stream"; +export class HashCalculator extends Writable { + hash; + constructor(hash, options) { + super(options); + this.hash = hash; + } + _write(chunk, encoding, callback) { + try { + this.hash.update(toUint8Array(chunk)); + } + catch (err) { + return callback(err); + } + callback(); + } +} diff --git a/node_modules/@smithy/hash-stream-node/dist-es/fileStreamHasher.js b/node_modules/@smithy/hash-stream-node/dist-es/fileStreamHasher.js new file mode 100644 index 0000000..a831003 --- /dev/null +++ b/node_modules/@smithy/hash-stream-node/dist-es/fileStreamHasher.js @@ -0,0 +1,24 @@ +import { createReadStream } from "fs"; +import { HashCalculator } from "./HashCalculator"; +export const fileStreamHasher = (hashCtor, fileStream) => new Promise((resolve, reject) => { + if (!isReadStream(fileStream)) { + reject(new Error("Unable to calculate hash for non-file streams.")); + return; + } + const fileStreamTee = createReadStream(fileStream.path, { + start: fileStream.start, + end: fileStream.end, + }); + const hash = new hashCtor(); + const hashCalculator = new HashCalculator(hash); + fileStreamTee.pipe(hashCalculator); + fileStreamTee.on("error", (err) => { + hashCalculator.end(); + reject(err); + }); + hashCalculator.on("error", reject); + hashCalculator.on("finish", function () { + hash.digest().then(resolve).catch(reject); + }); +}); +const isReadStream = (stream) => typeof stream.path === "string"; diff --git a/node_modules/@smithy/hash-stream-node/dist-es/index.js b/node_modules/@smithy/hash-stream-node/dist-es/index.js new file mode 100644 index 0000000..4609776 --- /dev/null +++ b/node_modules/@smithy/hash-stream-node/dist-es/index.js @@ -0,0 +1,2 @@ +export * from "./fileStreamHasher"; +export * from "./readableStreamHasher"; diff --git a/node_modules/@smithy/hash-stream-node/dist-es/readableStreamHasher.js b/node_modules/@smithy/hash-stream-node/dist-es/readableStreamHasher.js new file mode 100644 index 0000000..141129c --- /dev/null +++ b/node_modules/@smithy/hash-stream-node/dist-es/readableStreamHasher.js @@ -0,0 +1,19 @@ +import { HashCalculator } from "./HashCalculator"; +export const readableStreamHasher = (hashCtor, readableStream) => { + if (readableStream.readableFlowing !== null) { + throw new Error("Unable to calculate hash for flowing readable stream"); + } + const hash = new hashCtor(); + const hashCalculator = new HashCalculator(hash); + readableStream.pipe(hashCalculator); + return new Promise((resolve, reject) => { + readableStream.on("error", (err) => { + hashCalculator.end(); + reject(err); + }); + hashCalculator.on("error", reject); + hashCalculator.on("finish", () => { + hash.digest().then(resolve).catch(reject); + }); + }); +}; diff --git a/node_modules/@smithy/hash-stream-node/dist-types/HashCalculator.d.ts b/node_modules/@smithy/hash-stream-node/dist-types/HashCalculator.d.ts new file mode 100644 index 0000000..472b715 --- /dev/null +++ b/node_modules/@smithy/hash-stream-node/dist-types/HashCalculator.d.ts @@ -0,0 +1,11 @@ +import type { Checksum, Hash } from "@smithy/types"; +import type { WritableOptions } from "stream"; +import { Writable } from "stream"; +/** + * @internal + */ +export declare class HashCalculator extends Writable { + readonly hash: Checksum | Hash; + constructor(hash: Checksum | Hash, options?: WritableOptions); + _write(chunk: Buffer, encoding: string, callback: (err?: Error) => void): void; +} diff --git a/node_modules/@smithy/hash-stream-node/dist-types/fileStreamHasher.d.ts b/node_modules/@smithy/hash-stream-node/dist-types/fileStreamHasher.d.ts new file mode 100644 index 0000000..5d92c3e --- /dev/null +++ b/node_modules/@smithy/hash-stream-node/dist-types/fileStreamHasher.d.ts @@ -0,0 +1,6 @@ +import type { StreamHasher } from "@smithy/types"; +import type { Readable } from "stream"; +/** + * @internal + */ +export declare const fileStreamHasher: StreamHasher; diff --git a/node_modules/@smithy/hash-stream-node/dist-types/index.d.ts b/node_modules/@smithy/hash-stream-node/dist-types/index.d.ts new file mode 100644 index 0000000..391fecd --- /dev/null +++ b/node_modules/@smithy/hash-stream-node/dist-types/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./fileStreamHasher"; +/** + * @internal + */ +export * from "./readableStreamHasher"; diff --git a/node_modules/@smithy/hash-stream-node/dist-types/readableStreamHasher.d.ts b/node_modules/@smithy/hash-stream-node/dist-types/readableStreamHasher.d.ts new file mode 100644 index 0000000..9ac1e66 --- /dev/null +++ b/node_modules/@smithy/hash-stream-node/dist-types/readableStreamHasher.d.ts @@ -0,0 +1,6 @@ +import type { StreamHasher } from "@smithy/types"; +import type { Readable } from "stream"; +/** + * @internal + */ +export declare const readableStreamHasher: StreamHasher; diff --git a/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/HashCalculator.d.ts b/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/HashCalculator.d.ts new file mode 100644 index 0000000..2fcf843 --- /dev/null +++ b/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/HashCalculator.d.ts @@ -0,0 +1,11 @@ +import { Checksum, Hash } from "@smithy/types"; +import { WritableOptions } from "stream"; +import { Writable } from "stream"; +/** + * @internal + */ +export declare class HashCalculator extends Writable { + readonly hash: Checksum | Hash; + constructor(hash: Checksum | Hash, options?: WritableOptions); + _write(chunk: Buffer, encoding: string, callback: (err?: Error) => void): void; +} diff --git a/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/fileStreamHasher.d.ts b/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/fileStreamHasher.d.ts new file mode 100644 index 0000000..f2ee3e6 --- /dev/null +++ b/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/fileStreamHasher.d.ts @@ -0,0 +1,6 @@ +import { StreamHasher } from "@smithy/types"; +import { Readable } from "stream"; +/** + * @internal + */ +export declare const fileStreamHasher: StreamHasher; diff --git a/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..391fecd --- /dev/null +++ b/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./fileStreamHasher"; +/** + * @internal + */ +export * from "./readableStreamHasher"; diff --git a/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/readableStreamHasher.d.ts b/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/readableStreamHasher.d.ts new file mode 100644 index 0000000..d9d233b --- /dev/null +++ b/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/readableStreamHasher.d.ts @@ -0,0 +1,6 @@ +import { StreamHasher } from "@smithy/types"; +import { Readable } from "stream"; +/** + * @internal + */ +export declare const readableStreamHasher: StreamHasher; diff --git a/node_modules/@smithy/hash-stream-node/package.json b/node_modules/@smithy/hash-stream-node/package.json new file mode 100644 index 0000000..535a5f3 --- /dev/null +++ b/node_modules/@smithy/hash-stream-node/package.json @@ -0,0 +1,65 @@ +{ + "name": "@smithy/hash-stream-node", + "version": "4.2.12", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline hash-stream-node", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/types": "^4.13.1", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@aws-crypto/sha256-js": "5.2.0", + "@smithy/util-hex-encoding": "^4.2.2", + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/hash-stream-node", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/hash-stream-node" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/invalid-dependency/LICENSE b/node_modules/@smithy/invalid-dependency/LICENSE new file mode 100644 index 0000000..e907b58 --- /dev/null +++ b/node_modules/@smithy/invalid-dependency/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@smithy/invalid-dependency/README.md b/node_modules/@smithy/invalid-dependency/README.md new file mode 100644 index 0000000..9110465 --- /dev/null +++ b/node_modules/@smithy/invalid-dependency/README.md @@ -0,0 +1,10 @@ +# @smithy/invalid-dependency + +[![NPM version](https://img.shields.io/npm/v/@smithy/invalid-dependency/latest.svg)](https://www.npmjs.com/package/@smithy/invalid-dependency) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/invalid-dependency.svg)](https://www.npmjs.com/package/@smithy/invalid-dependency) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/invalid-dependency/dist-cjs/index.js b/node_modules/@smithy/invalid-dependency/dist-cjs/index.js new file mode 100644 index 0000000..4689b9a --- /dev/null +++ b/node_modules/@smithy/invalid-dependency/dist-cjs/index.js @@ -0,0 +1,10 @@ +'use strict'; + +const invalidFunction = (message) => () => { + throw new Error(message); +}; + +const invalidProvider = (message) => () => Promise.reject(message); + +exports.invalidFunction = invalidFunction; +exports.invalidProvider = invalidProvider; diff --git a/node_modules/@smithy/invalid-dependency/dist-es/index.js b/node_modules/@smithy/invalid-dependency/dist-es/index.js new file mode 100644 index 0000000..fa0f1a6 --- /dev/null +++ b/node_modules/@smithy/invalid-dependency/dist-es/index.js @@ -0,0 +1,2 @@ +export * from "./invalidFunction"; +export * from "./invalidProvider"; diff --git a/node_modules/@smithy/invalid-dependency/dist-es/invalidFunction.js b/node_modules/@smithy/invalid-dependency/dist-es/invalidFunction.js new file mode 100644 index 0000000..676f9cb --- /dev/null +++ b/node_modules/@smithy/invalid-dependency/dist-es/invalidFunction.js @@ -0,0 +1,3 @@ +export const invalidFunction = (message) => () => { + throw new Error(message); +}; diff --git a/node_modules/@smithy/invalid-dependency/dist-es/invalidProvider.js b/node_modules/@smithy/invalid-dependency/dist-es/invalidProvider.js new file mode 100644 index 0000000..5305a0b --- /dev/null +++ b/node_modules/@smithy/invalid-dependency/dist-es/invalidProvider.js @@ -0,0 +1 @@ +export const invalidProvider = (message) => () => Promise.reject(message); diff --git a/node_modules/@smithy/invalid-dependency/dist-types/index.d.ts b/node_modules/@smithy/invalid-dependency/dist-types/index.d.ts new file mode 100644 index 0000000..1c99a56 --- /dev/null +++ b/node_modules/@smithy/invalid-dependency/dist-types/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./invalidFunction"; +/** + * @internal + */ +export * from "./invalidProvider"; diff --git a/node_modules/@smithy/invalid-dependency/dist-types/invalidFunction.d.ts b/node_modules/@smithy/invalid-dependency/dist-types/invalidFunction.d.ts new file mode 100644 index 0000000..2118b32 --- /dev/null +++ b/node_modules/@smithy/invalid-dependency/dist-types/invalidFunction.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const invalidFunction: (message: string) => () => never; diff --git a/node_modules/@smithy/invalid-dependency/dist-types/invalidProvider.d.ts b/node_modules/@smithy/invalid-dependency/dist-types/invalidProvider.d.ts new file mode 100644 index 0000000..64f1541 --- /dev/null +++ b/node_modules/@smithy/invalid-dependency/dist-types/invalidProvider.d.ts @@ -0,0 +1,5 @@ +import type { Provider } from "@smithy/types"; +/** + * @internal + */ +export declare const invalidProvider: (message: string) => Provider; diff --git a/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..1c99a56 --- /dev/null +++ b/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./invalidFunction"; +/** + * @internal + */ +export * from "./invalidProvider"; diff --git a/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidFunction.d.ts b/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidFunction.d.ts new file mode 100644 index 0000000..2118b32 --- /dev/null +++ b/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidFunction.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const invalidFunction: (message: string) => () => never; diff --git a/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidProvider.d.ts b/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidProvider.d.ts new file mode 100644 index 0000000..3e9c28c --- /dev/null +++ b/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidProvider.d.ts @@ -0,0 +1,5 @@ +import { Provider } from "@smithy/types"; +/** + * @internal + */ +export declare const invalidProvider: (message: string) => Provider; diff --git a/node_modules/@smithy/invalid-dependency/package.json b/node_modules/@smithy/invalid-dependency/package.json new file mode 100644 index 0000000..4e059e8 --- /dev/null +++ b/node_modules/@smithy/invalid-dependency/package.json @@ -0,0 +1,61 @@ +{ + "name": "@smithy/invalid-dependency", + "version": "4.2.12", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline invalid-dependency", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/invalid-dependency", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/invalid-dependency" + }, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + }, + "engines": { + "node": ">=18.0.0" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/is-array-buffer/LICENSE b/node_modules/@smithy/is-array-buffer/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/is-array-buffer/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/is-array-buffer/README.md b/node_modules/@smithy/is-array-buffer/README.md new file mode 100644 index 0000000..31853f2 --- /dev/null +++ b/node_modules/@smithy/is-array-buffer/README.md @@ -0,0 +1,10 @@ +# @smithy/is-array-buffer + +[![NPM version](https://img.shields.io/npm/v/@smithy/is-array-buffer/latest.svg)](https://www.npmjs.com/package/@smithy/is-array-buffer) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/is-array-buffer.svg)](https://www.npmjs.com/package/@smithy/is-array-buffer) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/is-array-buffer/dist-cjs/index.js b/node_modules/@smithy/is-array-buffer/dist-cjs/index.js new file mode 100644 index 0000000..3238bb7 --- /dev/null +++ b/node_modules/@smithy/is-array-buffer/dist-cjs/index.js @@ -0,0 +1,6 @@ +'use strict'; + +const isArrayBuffer = (arg) => (typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer) || + Object.prototype.toString.call(arg) === "[object ArrayBuffer]"; + +exports.isArrayBuffer = isArrayBuffer; diff --git a/node_modules/@smithy/is-array-buffer/dist-es/index.js b/node_modules/@smithy/is-array-buffer/dist-es/index.js new file mode 100644 index 0000000..8096cca --- /dev/null +++ b/node_modules/@smithy/is-array-buffer/dist-es/index.js @@ -0,0 +1,2 @@ +export const isArrayBuffer = (arg) => (typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer) || + Object.prototype.toString.call(arg) === "[object ArrayBuffer]"; diff --git a/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts b/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts new file mode 100644 index 0000000..64f452e --- /dev/null +++ b/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const isArrayBuffer: (arg: any) => arg is ArrayBuffer; diff --git a/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..64f452e --- /dev/null +++ b/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const isArrayBuffer: (arg: any) => arg is ArrayBuffer; diff --git a/node_modules/@smithy/is-array-buffer/package.json b/node_modules/@smithy/is-array-buffer/package.json new file mode 100644 index 0000000..a473b73 --- /dev/null +++ b/node_modules/@smithy/is-array-buffer/package.json @@ -0,0 +1,61 @@ +{ + "name": "@smithy/is-array-buffer", + "version": "4.2.2", + "description": "Provides a function for detecting if an argument is an ArrayBuffer", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline is-array-buffer", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/is-array-buffer", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/is-array-buffer" + }, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/md5-js/LICENSE b/node_modules/@smithy/md5-js/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/md5-js/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/md5-js/README.md b/node_modules/@smithy/md5-js/README.md new file mode 100644 index 0000000..ffc786b --- /dev/null +++ b/node_modules/@smithy/md5-js/README.md @@ -0,0 +1,10 @@ +# @smithy/md5-js + +[![NPM version](https://img.shields.io/npm/v/@smithy/md5-js/latest.svg)](https://www.npmjs.com/package/@smithy/md5-js) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/md5-js.svg)](https://www.npmjs.com/package/@smithy/md5-js) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/md5-js/dist-cjs/index.js b/node_modules/@smithy/md5-js/dist-cjs/index.js new file mode 100644 index 0000000..3e8d873 --- /dev/null +++ b/node_modules/@smithy/md5-js/dist-cjs/index.js @@ -0,0 +1,176 @@ +'use strict'; + +var utilUtf8 = require('@smithy/util-utf8'); + +const BLOCK_SIZE = 64; +const DIGEST_LENGTH = 16; +const INIT = [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476]; + +class Md5 { + state; + buffer; + bufferLength; + bytesHashed; + finished; + constructor() { + this.reset(); + } + update(sourceData) { + if (isEmptyData(sourceData)) { + return; + } + else if (this.finished) { + throw new Error("Attempted to update an already finished hash."); + } + const data = convertToBuffer(sourceData); + let position = 0; + let { byteLength } = data; + this.bytesHashed += byteLength; + while (byteLength > 0) { + this.buffer.setUint8(this.bufferLength++, data[position++]); + byteLength--; + if (this.bufferLength === BLOCK_SIZE) { + this.hashBuffer(); + this.bufferLength = 0; + } + } + } + async digest() { + if (!this.finished) { + const { buffer, bufferLength: undecoratedLength, bytesHashed } = this; + const bitsHashed = bytesHashed * 8; + buffer.setUint8(this.bufferLength++, 0b10000000); + if (undecoratedLength % BLOCK_SIZE >= BLOCK_SIZE - 8) { + for (let i = this.bufferLength; i < BLOCK_SIZE; i++) { + buffer.setUint8(i, 0); + } + this.hashBuffer(); + this.bufferLength = 0; + } + for (let i = this.bufferLength; i < BLOCK_SIZE - 8; i++) { + buffer.setUint8(i, 0); + } + buffer.setUint32(BLOCK_SIZE - 8, bitsHashed >>> 0, true); + buffer.setUint32(BLOCK_SIZE - 4, Math.floor(bitsHashed / 0x100000000), true); + this.hashBuffer(); + this.finished = true; + } + const out = new DataView(new ArrayBuffer(DIGEST_LENGTH)); + for (let i = 0; i < 4; i++) { + out.setUint32(i * 4, this.state[i], true); + } + return new Uint8Array(out.buffer, out.byteOffset, out.byteLength); + } + hashBuffer() { + const { buffer, state } = this; + let a = state[0], b = state[1], c = state[2], d = state[3]; + a = ff(a, b, c, d, buffer.getUint32(0, true), 7, 0xd76aa478); + d = ff(d, a, b, c, buffer.getUint32(4, true), 12, 0xe8c7b756); + c = ff(c, d, a, b, buffer.getUint32(8, true), 17, 0x242070db); + b = ff(b, c, d, a, buffer.getUint32(12, true), 22, 0xc1bdceee); + a = ff(a, b, c, d, buffer.getUint32(16, true), 7, 0xf57c0faf); + d = ff(d, a, b, c, buffer.getUint32(20, true), 12, 0x4787c62a); + c = ff(c, d, a, b, buffer.getUint32(24, true), 17, 0xa8304613); + b = ff(b, c, d, a, buffer.getUint32(28, true), 22, 0xfd469501); + a = ff(a, b, c, d, buffer.getUint32(32, true), 7, 0x698098d8); + d = ff(d, a, b, c, buffer.getUint32(36, true), 12, 0x8b44f7af); + c = ff(c, d, a, b, buffer.getUint32(40, true), 17, 0xffff5bb1); + b = ff(b, c, d, a, buffer.getUint32(44, true), 22, 0x895cd7be); + a = ff(a, b, c, d, buffer.getUint32(48, true), 7, 0x6b901122); + d = ff(d, a, b, c, buffer.getUint32(52, true), 12, 0xfd987193); + c = ff(c, d, a, b, buffer.getUint32(56, true), 17, 0xa679438e); + b = ff(b, c, d, a, buffer.getUint32(60, true), 22, 0x49b40821); + a = gg(a, b, c, d, buffer.getUint32(4, true), 5, 0xf61e2562); + d = gg(d, a, b, c, buffer.getUint32(24, true), 9, 0xc040b340); + c = gg(c, d, a, b, buffer.getUint32(44, true), 14, 0x265e5a51); + b = gg(b, c, d, a, buffer.getUint32(0, true), 20, 0xe9b6c7aa); + a = gg(a, b, c, d, buffer.getUint32(20, true), 5, 0xd62f105d); + d = gg(d, a, b, c, buffer.getUint32(40, true), 9, 0x02441453); + c = gg(c, d, a, b, buffer.getUint32(60, true), 14, 0xd8a1e681); + b = gg(b, c, d, a, buffer.getUint32(16, true), 20, 0xe7d3fbc8); + a = gg(a, b, c, d, buffer.getUint32(36, true), 5, 0x21e1cde6); + d = gg(d, a, b, c, buffer.getUint32(56, true), 9, 0xc33707d6); + c = gg(c, d, a, b, buffer.getUint32(12, true), 14, 0xf4d50d87); + b = gg(b, c, d, a, buffer.getUint32(32, true), 20, 0x455a14ed); + a = gg(a, b, c, d, buffer.getUint32(52, true), 5, 0xa9e3e905); + d = gg(d, a, b, c, buffer.getUint32(8, true), 9, 0xfcefa3f8); + c = gg(c, d, a, b, buffer.getUint32(28, true), 14, 0x676f02d9); + b = gg(b, c, d, a, buffer.getUint32(48, true), 20, 0x8d2a4c8a); + a = hh(a, b, c, d, buffer.getUint32(20, true), 4, 0xfffa3942); + d = hh(d, a, b, c, buffer.getUint32(32, true), 11, 0x8771f681); + c = hh(c, d, a, b, buffer.getUint32(44, true), 16, 0x6d9d6122); + b = hh(b, c, d, a, buffer.getUint32(56, true), 23, 0xfde5380c); + a = hh(a, b, c, d, buffer.getUint32(4, true), 4, 0xa4beea44); + d = hh(d, a, b, c, buffer.getUint32(16, true), 11, 0x4bdecfa9); + c = hh(c, d, a, b, buffer.getUint32(28, true), 16, 0xf6bb4b60); + b = hh(b, c, d, a, buffer.getUint32(40, true), 23, 0xbebfbc70); + a = hh(a, b, c, d, buffer.getUint32(52, true), 4, 0x289b7ec6); + d = hh(d, a, b, c, buffer.getUint32(0, true), 11, 0xeaa127fa); + c = hh(c, d, a, b, buffer.getUint32(12, true), 16, 0xd4ef3085); + b = hh(b, c, d, a, buffer.getUint32(24, true), 23, 0x04881d05); + a = hh(a, b, c, d, buffer.getUint32(36, true), 4, 0xd9d4d039); + d = hh(d, a, b, c, buffer.getUint32(48, true), 11, 0xe6db99e5); + c = hh(c, d, a, b, buffer.getUint32(60, true), 16, 0x1fa27cf8); + b = hh(b, c, d, a, buffer.getUint32(8, true), 23, 0xc4ac5665); + a = ii(a, b, c, d, buffer.getUint32(0, true), 6, 0xf4292244); + d = ii(d, a, b, c, buffer.getUint32(28, true), 10, 0x432aff97); + c = ii(c, d, a, b, buffer.getUint32(56, true), 15, 0xab9423a7); + b = ii(b, c, d, a, buffer.getUint32(20, true), 21, 0xfc93a039); + a = ii(a, b, c, d, buffer.getUint32(48, true), 6, 0x655b59c3); + d = ii(d, a, b, c, buffer.getUint32(12, true), 10, 0x8f0ccc92); + c = ii(c, d, a, b, buffer.getUint32(40, true), 15, 0xffeff47d); + b = ii(b, c, d, a, buffer.getUint32(4, true), 21, 0x85845dd1); + a = ii(a, b, c, d, buffer.getUint32(32, true), 6, 0x6fa87e4f); + d = ii(d, a, b, c, buffer.getUint32(60, true), 10, 0xfe2ce6e0); + c = ii(c, d, a, b, buffer.getUint32(24, true), 15, 0xa3014314); + b = ii(b, c, d, a, buffer.getUint32(52, true), 21, 0x4e0811a1); + a = ii(a, b, c, d, buffer.getUint32(16, true), 6, 0xf7537e82); + d = ii(d, a, b, c, buffer.getUint32(44, true), 10, 0xbd3af235); + c = ii(c, d, a, b, buffer.getUint32(8, true), 15, 0x2ad7d2bb); + b = ii(b, c, d, a, buffer.getUint32(36, true), 21, 0xeb86d391); + state[0] = (a + state[0]) & 0xffffffff; + state[1] = (b + state[1]) & 0xffffffff; + state[2] = (c + state[2]) & 0xffffffff; + state[3] = (d + state[3]) & 0xffffffff; + } + reset() { + this.state = Uint32Array.from(INIT); + this.buffer = new DataView(new ArrayBuffer(BLOCK_SIZE)); + this.bufferLength = 0; + this.bytesHashed = 0; + this.finished = false; + } +} +function cmn(q, a, b, x, s, t) { + a = (((a + q) & 0xffffffff) + ((x + t) & 0xffffffff)) & 0xffffffff; + return (((a << s) | (a >>> (32 - s))) + b) & 0xffffffff; +} +function ff(a, b, c, d, x, s, t) { + return cmn((b & c) | (~b & d), a, b, x, s, t); +} +function gg(a, b, c, d, x, s, t) { + return cmn((b & d) | (c & ~d), a, b, x, s, t); +} +function hh(a, b, c, d, x, s, t) { + return cmn(b ^ c ^ d, a, b, x, s, t); +} +function ii(a, b, c, d, x, s, t) { + return cmn(c ^ (b | ~d), a, b, x, s, t); +} +function isEmptyData(data) { + if (typeof data === "string") { + return data.length === 0; + } + return data.byteLength === 0; +} +function convertToBuffer(data) { + if (typeof data === "string") { + return utilUtf8.fromUtf8(data); + } + if (ArrayBuffer.isView(data)) { + return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT); + } + return new Uint8Array(data); +} + +exports.Md5 = Md5; diff --git a/node_modules/@smithy/md5-js/dist-es/constants.js b/node_modules/@smithy/md5-js/dist-es/constants.js new file mode 100644 index 0000000..263b8ed --- /dev/null +++ b/node_modules/@smithy/md5-js/dist-es/constants.js @@ -0,0 +1,3 @@ +export const BLOCK_SIZE = 64; +export const DIGEST_LENGTH = 16; +export const INIT = [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476]; diff --git a/node_modules/@smithy/md5-js/dist-es/index.js b/node_modules/@smithy/md5-js/dist-es/index.js new file mode 100644 index 0000000..f7451a7 --- /dev/null +++ b/node_modules/@smithy/md5-js/dist-es/index.js @@ -0,0 +1,168 @@ +import { fromUtf8 } from "@smithy/util-utf8"; +import { BLOCK_SIZE, DIGEST_LENGTH, INIT } from "./constants"; +export class Md5 { + state; + buffer; + bufferLength; + bytesHashed; + finished; + constructor() { + this.reset(); + } + update(sourceData) { + if (isEmptyData(sourceData)) { + return; + } + else if (this.finished) { + throw new Error("Attempted to update an already finished hash."); + } + const data = convertToBuffer(sourceData); + let position = 0; + let { byteLength } = data; + this.bytesHashed += byteLength; + while (byteLength > 0) { + this.buffer.setUint8(this.bufferLength++, data[position++]); + byteLength--; + if (this.bufferLength === BLOCK_SIZE) { + this.hashBuffer(); + this.bufferLength = 0; + } + } + } + async digest() { + if (!this.finished) { + const { buffer, bufferLength: undecoratedLength, bytesHashed } = this; + const bitsHashed = bytesHashed * 8; + buffer.setUint8(this.bufferLength++, 0b10000000); + if (undecoratedLength % BLOCK_SIZE >= BLOCK_SIZE - 8) { + for (let i = this.bufferLength; i < BLOCK_SIZE; i++) { + buffer.setUint8(i, 0); + } + this.hashBuffer(); + this.bufferLength = 0; + } + for (let i = this.bufferLength; i < BLOCK_SIZE - 8; i++) { + buffer.setUint8(i, 0); + } + buffer.setUint32(BLOCK_SIZE - 8, bitsHashed >>> 0, true); + buffer.setUint32(BLOCK_SIZE - 4, Math.floor(bitsHashed / 0x100000000), true); + this.hashBuffer(); + this.finished = true; + } + const out = new DataView(new ArrayBuffer(DIGEST_LENGTH)); + for (let i = 0; i < 4; i++) { + out.setUint32(i * 4, this.state[i], true); + } + return new Uint8Array(out.buffer, out.byteOffset, out.byteLength); + } + hashBuffer() { + const { buffer, state } = this; + let a = state[0], b = state[1], c = state[2], d = state[3]; + a = ff(a, b, c, d, buffer.getUint32(0, true), 7, 0xd76aa478); + d = ff(d, a, b, c, buffer.getUint32(4, true), 12, 0xe8c7b756); + c = ff(c, d, a, b, buffer.getUint32(8, true), 17, 0x242070db); + b = ff(b, c, d, a, buffer.getUint32(12, true), 22, 0xc1bdceee); + a = ff(a, b, c, d, buffer.getUint32(16, true), 7, 0xf57c0faf); + d = ff(d, a, b, c, buffer.getUint32(20, true), 12, 0x4787c62a); + c = ff(c, d, a, b, buffer.getUint32(24, true), 17, 0xa8304613); + b = ff(b, c, d, a, buffer.getUint32(28, true), 22, 0xfd469501); + a = ff(a, b, c, d, buffer.getUint32(32, true), 7, 0x698098d8); + d = ff(d, a, b, c, buffer.getUint32(36, true), 12, 0x8b44f7af); + c = ff(c, d, a, b, buffer.getUint32(40, true), 17, 0xffff5bb1); + b = ff(b, c, d, a, buffer.getUint32(44, true), 22, 0x895cd7be); + a = ff(a, b, c, d, buffer.getUint32(48, true), 7, 0x6b901122); + d = ff(d, a, b, c, buffer.getUint32(52, true), 12, 0xfd987193); + c = ff(c, d, a, b, buffer.getUint32(56, true), 17, 0xa679438e); + b = ff(b, c, d, a, buffer.getUint32(60, true), 22, 0x49b40821); + a = gg(a, b, c, d, buffer.getUint32(4, true), 5, 0xf61e2562); + d = gg(d, a, b, c, buffer.getUint32(24, true), 9, 0xc040b340); + c = gg(c, d, a, b, buffer.getUint32(44, true), 14, 0x265e5a51); + b = gg(b, c, d, a, buffer.getUint32(0, true), 20, 0xe9b6c7aa); + a = gg(a, b, c, d, buffer.getUint32(20, true), 5, 0xd62f105d); + d = gg(d, a, b, c, buffer.getUint32(40, true), 9, 0x02441453); + c = gg(c, d, a, b, buffer.getUint32(60, true), 14, 0xd8a1e681); + b = gg(b, c, d, a, buffer.getUint32(16, true), 20, 0xe7d3fbc8); + a = gg(a, b, c, d, buffer.getUint32(36, true), 5, 0x21e1cde6); + d = gg(d, a, b, c, buffer.getUint32(56, true), 9, 0xc33707d6); + c = gg(c, d, a, b, buffer.getUint32(12, true), 14, 0xf4d50d87); + b = gg(b, c, d, a, buffer.getUint32(32, true), 20, 0x455a14ed); + a = gg(a, b, c, d, buffer.getUint32(52, true), 5, 0xa9e3e905); + d = gg(d, a, b, c, buffer.getUint32(8, true), 9, 0xfcefa3f8); + c = gg(c, d, a, b, buffer.getUint32(28, true), 14, 0x676f02d9); + b = gg(b, c, d, a, buffer.getUint32(48, true), 20, 0x8d2a4c8a); + a = hh(a, b, c, d, buffer.getUint32(20, true), 4, 0xfffa3942); + d = hh(d, a, b, c, buffer.getUint32(32, true), 11, 0x8771f681); + c = hh(c, d, a, b, buffer.getUint32(44, true), 16, 0x6d9d6122); + b = hh(b, c, d, a, buffer.getUint32(56, true), 23, 0xfde5380c); + a = hh(a, b, c, d, buffer.getUint32(4, true), 4, 0xa4beea44); + d = hh(d, a, b, c, buffer.getUint32(16, true), 11, 0x4bdecfa9); + c = hh(c, d, a, b, buffer.getUint32(28, true), 16, 0xf6bb4b60); + b = hh(b, c, d, a, buffer.getUint32(40, true), 23, 0xbebfbc70); + a = hh(a, b, c, d, buffer.getUint32(52, true), 4, 0x289b7ec6); + d = hh(d, a, b, c, buffer.getUint32(0, true), 11, 0xeaa127fa); + c = hh(c, d, a, b, buffer.getUint32(12, true), 16, 0xd4ef3085); + b = hh(b, c, d, a, buffer.getUint32(24, true), 23, 0x04881d05); + a = hh(a, b, c, d, buffer.getUint32(36, true), 4, 0xd9d4d039); + d = hh(d, a, b, c, buffer.getUint32(48, true), 11, 0xe6db99e5); + c = hh(c, d, a, b, buffer.getUint32(60, true), 16, 0x1fa27cf8); + b = hh(b, c, d, a, buffer.getUint32(8, true), 23, 0xc4ac5665); + a = ii(a, b, c, d, buffer.getUint32(0, true), 6, 0xf4292244); + d = ii(d, a, b, c, buffer.getUint32(28, true), 10, 0x432aff97); + c = ii(c, d, a, b, buffer.getUint32(56, true), 15, 0xab9423a7); + b = ii(b, c, d, a, buffer.getUint32(20, true), 21, 0xfc93a039); + a = ii(a, b, c, d, buffer.getUint32(48, true), 6, 0x655b59c3); + d = ii(d, a, b, c, buffer.getUint32(12, true), 10, 0x8f0ccc92); + c = ii(c, d, a, b, buffer.getUint32(40, true), 15, 0xffeff47d); + b = ii(b, c, d, a, buffer.getUint32(4, true), 21, 0x85845dd1); + a = ii(a, b, c, d, buffer.getUint32(32, true), 6, 0x6fa87e4f); + d = ii(d, a, b, c, buffer.getUint32(60, true), 10, 0xfe2ce6e0); + c = ii(c, d, a, b, buffer.getUint32(24, true), 15, 0xa3014314); + b = ii(b, c, d, a, buffer.getUint32(52, true), 21, 0x4e0811a1); + a = ii(a, b, c, d, buffer.getUint32(16, true), 6, 0xf7537e82); + d = ii(d, a, b, c, buffer.getUint32(44, true), 10, 0xbd3af235); + c = ii(c, d, a, b, buffer.getUint32(8, true), 15, 0x2ad7d2bb); + b = ii(b, c, d, a, buffer.getUint32(36, true), 21, 0xeb86d391); + state[0] = (a + state[0]) & 0xffffffff; + state[1] = (b + state[1]) & 0xffffffff; + state[2] = (c + state[2]) & 0xffffffff; + state[3] = (d + state[3]) & 0xffffffff; + } + reset() { + this.state = Uint32Array.from(INIT); + this.buffer = new DataView(new ArrayBuffer(BLOCK_SIZE)); + this.bufferLength = 0; + this.bytesHashed = 0; + this.finished = false; + } +} +function cmn(q, a, b, x, s, t) { + a = (((a + q) & 0xffffffff) + ((x + t) & 0xffffffff)) & 0xffffffff; + return (((a << s) | (a >>> (32 - s))) + b) & 0xffffffff; +} +function ff(a, b, c, d, x, s, t) { + return cmn((b & c) | (~b & d), a, b, x, s, t); +} +function gg(a, b, c, d, x, s, t) { + return cmn((b & d) | (c & ~d), a, b, x, s, t); +} +function hh(a, b, c, d, x, s, t) { + return cmn(b ^ c ^ d, a, b, x, s, t); +} +function ii(a, b, c, d, x, s, t) { + return cmn(c ^ (b | ~d), a, b, x, s, t); +} +function isEmptyData(data) { + if (typeof data === "string") { + return data.length === 0; + } + return data.byteLength === 0; +} +function convertToBuffer(data) { + if (typeof data === "string") { + return fromUtf8(data); + } + if (ArrayBuffer.isView(data)) { + return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT); + } + return new Uint8Array(data); +} diff --git a/node_modules/@smithy/md5-js/dist-types/constants.d.ts b/node_modules/@smithy/md5-js/dist-types/constants.d.ts new file mode 100644 index 0000000..f1ae1d3 --- /dev/null +++ b/node_modules/@smithy/md5-js/dist-types/constants.d.ts @@ -0,0 +1,12 @@ +/** + * @internal + */ +export declare const BLOCK_SIZE = 64; +/** + * @internal + */ +export declare const DIGEST_LENGTH = 16; +/** + * @internal + */ +export declare const INIT: number[]; diff --git a/node_modules/@smithy/md5-js/dist-types/index.d.ts b/node_modules/@smithy/md5-js/dist-types/index.d.ts new file mode 100644 index 0000000..0b075b6 --- /dev/null +++ b/node_modules/@smithy/md5-js/dist-types/index.d.ts @@ -0,0 +1,16 @@ +import type { Checksum, SourceData } from "@smithy/types"; +/** + * @internal + */ +export declare class Md5 implements Checksum { + private state; + private buffer; + private bufferLength; + private bytesHashed; + private finished; + constructor(); + update(sourceData: SourceData): void; + digest(): Promise; + private hashBuffer; + reset(): void; +} diff --git a/node_modules/@smithy/md5-js/dist-types/ts3.4/constants.d.ts b/node_modules/@smithy/md5-js/dist-types/ts3.4/constants.d.ts new file mode 100644 index 0000000..f1ae1d3 --- /dev/null +++ b/node_modules/@smithy/md5-js/dist-types/ts3.4/constants.d.ts @@ -0,0 +1,12 @@ +/** + * @internal + */ +export declare const BLOCK_SIZE = 64; +/** + * @internal + */ +export declare const DIGEST_LENGTH = 16; +/** + * @internal + */ +export declare const INIT: number[]; diff --git a/node_modules/@smithy/md5-js/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/md5-js/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..c274177 --- /dev/null +++ b/node_modules/@smithy/md5-js/dist-types/ts3.4/index.d.ts @@ -0,0 +1,16 @@ +import { Checksum, SourceData } from "@smithy/types"; +/** + * @internal + */ +export declare class Md5 implements Checksum { + private state; + private buffer; + private bufferLength; + private bytesHashed; + private finished; + constructor(); + update(sourceData: SourceData): void; + digest(): Promise; + private hashBuffer; + reset(): void; +} diff --git a/node_modules/@smithy/md5-js/package.json b/node_modules/@smithy/md5-js/package.json new file mode 100644 index 0000000..32832a4 --- /dev/null +++ b/node_modules/@smithy/md5-js/package.json @@ -0,0 +1,66 @@ +{ + "name": "@smithy/md5-js", + "version": "4.2.12", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline md5-js", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "devDependencies": { + "@smithy/util-base64": "^4.3.2", + "@smithy/util-hex-encoding": "^4.2.2", + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "hash-test-vectors": "^1.3.2", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "dependencies": { + "@smithy/types": "^4.13.1", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/md5-js", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/md5-js" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + }, + "engines": { + "node": ">=18.0.0" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/middleware-content-length/LICENSE b/node_modules/@smithy/middleware-content-length/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/middleware-content-length/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/middleware-content-length/README.md b/node_modules/@smithy/middleware-content-length/README.md new file mode 100644 index 0000000..2d40d92 --- /dev/null +++ b/node_modules/@smithy/middleware-content-length/README.md @@ -0,0 +1,4 @@ +# @smithy/middleware-content-length + +[![NPM version](https://img.shields.io/npm/v/@smithy/middleware-content-length/latest.svg)](https://www.npmjs.com/package/@smithy/middleware-content-length) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/middleware-content-length.svg)](https://www.npmjs.com/package/@smithy/middleware-content-length) diff --git a/node_modules/@smithy/middleware-content-length/dist-cjs/index.js b/node_modules/@smithy/middleware-content-length/dist-cjs/index.js new file mode 100644 index 0000000..e957f19 --- /dev/null +++ b/node_modules/@smithy/middleware-content-length/dist-cjs/index.js @@ -0,0 +1,46 @@ +'use strict'; + +var protocolHttp = require('@smithy/protocol-http'); + +const CONTENT_LENGTH_HEADER = "content-length"; +function contentLengthMiddleware(bodyLengthChecker) { + return (next) => async (args) => { + const request = args.request; + if (protocolHttp.HttpRequest.isInstance(request)) { + const { body, headers } = request; + if (body && + Object.keys(headers) + .map((str) => str.toLowerCase()) + .indexOf(CONTENT_LENGTH_HEADER) === -1) { + try { + const length = bodyLengthChecker(body); + request.headers = { + ...request.headers, + [CONTENT_LENGTH_HEADER]: String(length), + }; + } + catch (error) { + } + } + } + return next({ + ...args, + request, + }); + }; +} +const contentLengthMiddlewareOptions = { + step: "build", + tags: ["SET_CONTENT_LENGTH", "CONTENT_LENGTH"], + name: "contentLengthMiddleware", + override: true, +}; +const getContentLengthPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(contentLengthMiddleware(options.bodyLengthChecker), contentLengthMiddlewareOptions); + }, +}); + +exports.contentLengthMiddleware = contentLengthMiddleware; +exports.contentLengthMiddlewareOptions = contentLengthMiddlewareOptions; +exports.getContentLengthPlugin = getContentLengthPlugin; diff --git a/node_modules/@smithy/middleware-content-length/dist-es/index.js b/node_modules/@smithy/middleware-content-length/dist-es/index.js new file mode 100644 index 0000000..fa18e71 --- /dev/null +++ b/node_modules/@smithy/middleware-content-length/dist-es/index.js @@ -0,0 +1,39 @@ +import { HttpRequest } from "@smithy/protocol-http"; +const CONTENT_LENGTH_HEADER = "content-length"; +export function contentLengthMiddleware(bodyLengthChecker) { + return (next) => async (args) => { + const request = args.request; + if (HttpRequest.isInstance(request)) { + const { body, headers } = request; + if (body && + Object.keys(headers) + .map((str) => str.toLowerCase()) + .indexOf(CONTENT_LENGTH_HEADER) === -1) { + try { + const length = bodyLengthChecker(body); + request.headers = { + ...request.headers, + [CONTENT_LENGTH_HEADER]: String(length), + }; + } + catch (error) { + } + } + } + return next({ + ...args, + request, + }); + }; +} +export const contentLengthMiddlewareOptions = { + step: "build", + tags: ["SET_CONTENT_LENGTH", "CONTENT_LENGTH"], + name: "contentLengthMiddleware", + override: true, +}; +export const getContentLengthPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(contentLengthMiddleware(options.bodyLengthChecker), contentLengthMiddlewareOptions); + }, +}); diff --git a/node_modules/@smithy/middleware-content-length/dist-types/index.d.ts b/node_modules/@smithy/middleware-content-length/dist-types/index.d.ts new file mode 100644 index 0000000..35d6588 --- /dev/null +++ b/node_modules/@smithy/middleware-content-length/dist-types/index.d.ts @@ -0,0 +1,6 @@ +import type { BodyLengthCalculator, BuildHandlerOptions, BuildMiddleware, Pluggable } from "@smithy/types"; +export declare function contentLengthMiddleware(bodyLengthChecker: BodyLengthCalculator): BuildMiddleware; +export declare const contentLengthMiddlewareOptions: BuildHandlerOptions; +export declare const getContentLengthPlugin: (options: { + bodyLengthChecker: BodyLengthCalculator; +}) => Pluggable; diff --git a/node_modules/@smithy/middleware-content-length/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/middleware-content-length/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..91a7000 --- /dev/null +++ b/node_modules/@smithy/middleware-content-length/dist-types/ts3.4/index.d.ts @@ -0,0 +1,6 @@ +import { BodyLengthCalculator, BuildHandlerOptions, BuildMiddleware, Pluggable } from "@smithy/types"; +export declare function contentLengthMiddleware(bodyLengthChecker: BodyLengthCalculator): BuildMiddleware; +export declare const contentLengthMiddlewareOptions: BuildHandlerOptions; +export declare const getContentLengthPlugin: (options: { + bodyLengthChecker: BodyLengthCalculator; +}) => Pluggable; diff --git a/node_modules/@smithy/middleware-content-length/package.json b/node_modules/@smithy/middleware-content-length/package.json new file mode 100644 index 0000000..04cd1ec --- /dev/null +++ b/node_modules/@smithy/middleware-content-length/package.json @@ -0,0 +1,64 @@ +{ + "name": "@smithy/middleware-content-length", + "version": "4.2.12", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline middleware-content-length", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "exit 0", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/middleware-content-length", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/middleware-content-length" + }, + "devDependencies": { + "@smithy/util-test": "^0.2.8", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/middleware-endpoint/LICENSE b/node_modules/@smithy/middleware-endpoint/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/middleware-endpoint/README.md b/node_modules/@smithy/middleware-endpoint/README.md new file mode 100644 index 0000000..4b201e3 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/README.md @@ -0,0 +1,17 @@ +# @smithy/middleware-endpoint + +[![NPM version](https://img.shields.io/npm/v/@smithy/middleware-endpoint/latest.svg)](https://www.npmjs.com/package/@smithy/middleware-endpoint) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/middleware-endpoint.svg)](https://www.npmjs.com/package/@smithy/middleware-endpoint) + +### :warning: Internal API :warning: + +> This is an internal package. +> That means this is used as a dependency for other, public packages, but +> should not be taken directly as a dependency in your application's `package.json`. + +> If you are updating the version of this package, for example to bring in a +> bug-fix, you should do so by updating your application lockfile with +> e.g. `npm up @scope/package` or equivalent command in another +> package manager, rather than taking a direct dependency. + +--- diff --git a/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.browser.js b/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.browser.js new file mode 100644 index 0000000..9b578a7 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.browser.js @@ -0,0 +1,5 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getEndpointFromConfig = void 0; +const getEndpointFromConfig = async (serviceId) => undefined; +exports.getEndpointFromConfig = getEndpointFromConfig; diff --git a/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js b/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js new file mode 100644 index 0000000..262b45b --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getEndpointFromConfig = void 0; +const node_config_provider_1 = require("@smithy/node-config-provider"); +const getEndpointUrlConfig_1 = require("./getEndpointUrlConfig"); +const getEndpointFromConfig = async (serviceId) => (0, node_config_provider_1.loadConfig)((0, getEndpointUrlConfig_1.getEndpointUrlConfig)(serviceId ?? ""))(); +exports.getEndpointFromConfig = getEndpointFromConfig; diff --git a/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js b/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js new file mode 100644 index 0000000..fe5c010 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js @@ -0,0 +1,35 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getEndpointUrlConfig = void 0; +const shared_ini_file_loader_1 = require("@smithy/shared-ini-file-loader"); +const ENV_ENDPOINT_URL = "AWS_ENDPOINT_URL"; +const CONFIG_ENDPOINT_URL = "endpoint_url"; +const getEndpointUrlConfig = (serviceId) => ({ + environmentVariableSelector: (env) => { + const serviceSuffixParts = serviceId.split(" ").map((w) => w.toUpperCase()); + const serviceEndpointUrl = env[[ENV_ENDPOINT_URL, ...serviceSuffixParts].join("_")]; + if (serviceEndpointUrl) + return serviceEndpointUrl; + const endpointUrl = env[ENV_ENDPOINT_URL]; + if (endpointUrl) + return endpointUrl; + return undefined; + }, + configFileSelector: (profile, config) => { + if (config && profile.services) { + const servicesSection = config[["services", profile.services].join(shared_ini_file_loader_1.CONFIG_PREFIX_SEPARATOR)]; + if (servicesSection) { + const servicePrefixParts = serviceId.split(" ").map((w) => w.toLowerCase()); + const endpointUrl = servicesSection[[servicePrefixParts.join("_"), CONFIG_ENDPOINT_URL].join(shared_ini_file_loader_1.CONFIG_PREFIX_SEPARATOR)]; + if (endpointUrl) + return endpointUrl; + } + } + const endpointUrl = profile[CONFIG_ENDPOINT_URL]; + if (endpointUrl) + return endpointUrl; + return undefined; + }, + default: undefined, +}); +exports.getEndpointUrlConfig = getEndpointUrlConfig; diff --git a/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js b/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js new file mode 100644 index 0000000..e7121aa --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js @@ -0,0 +1,264 @@ +'use strict'; + +var getEndpointFromConfig = require('./adaptors/getEndpointFromConfig'); +var urlParser = require('@smithy/url-parser'); +var core = require('@smithy/core'); +var utilMiddleware = require('@smithy/util-middleware'); +var middlewareSerde = require('@smithy/middleware-serde'); + +const resolveParamsForS3 = async (endpointParams) => { + const bucket = endpointParams?.Bucket || ""; + if (typeof endpointParams.Bucket === "string") { + endpointParams.Bucket = bucket.replace(/#/g, encodeURIComponent("#")).replace(/\?/g, encodeURIComponent("?")); + } + if (isArnBucketName(bucket)) { + if (endpointParams.ForcePathStyle === true) { + throw new Error("Path-style addressing cannot be used with ARN buckets"); + } + } + else if (!isDnsCompatibleBucketName(bucket) || + (bucket.indexOf(".") !== -1 && !String(endpointParams.Endpoint).startsWith("http:")) || + bucket.toLowerCase() !== bucket || + bucket.length < 3) { + endpointParams.ForcePathStyle = true; + } + if (endpointParams.DisableMultiRegionAccessPoints) { + endpointParams.disableMultiRegionAccessPoints = true; + endpointParams.DisableMRAP = true; + } + return endpointParams; +}; +const DOMAIN_PATTERN = /^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/; +const IP_ADDRESS_PATTERN = /(\d+\.){3}\d+/; +const DOTS_PATTERN = /\.\./; +const isDnsCompatibleBucketName = (bucketName) => DOMAIN_PATTERN.test(bucketName) && !IP_ADDRESS_PATTERN.test(bucketName) && !DOTS_PATTERN.test(bucketName); +const isArnBucketName = (bucketName) => { + const [arn, partition, service, , , bucket] = bucketName.split(":"); + const isArn = arn === "arn" && bucketName.split(":").length >= 6; + const isValidArn = Boolean(isArn && partition && service && bucket); + if (isArn && !isValidArn) { + throw new Error(`Invalid ARN: ${bucketName} was an invalid ARN.`); + } + return isValidArn; +}; + +const createConfigValueProvider = (configKey, canonicalEndpointParamKey, config, isClientContextParam = false) => { + const configProvider = async () => { + let configValue; + if (isClientContextParam) { + const clientContextParams = config.clientContextParams; + const nestedValue = clientContextParams?.[configKey]; + configValue = nestedValue ?? config[configKey] ?? config[canonicalEndpointParamKey]; + } + else { + configValue = config[configKey] ?? config[canonicalEndpointParamKey]; + } + if (typeof configValue === "function") { + return configValue(); + } + return configValue; + }; + if (configKey === "credentialScope" || canonicalEndpointParamKey === "CredentialScope") { + return async () => { + const credentials = typeof config.credentials === "function" ? await config.credentials() : config.credentials; + const configValue = credentials?.credentialScope ?? credentials?.CredentialScope; + return configValue; + }; + } + if (configKey === "accountId" || canonicalEndpointParamKey === "AccountId") { + return async () => { + const credentials = typeof config.credentials === "function" ? await config.credentials() : config.credentials; + const configValue = credentials?.accountId ?? credentials?.AccountId; + return configValue; + }; + } + if (configKey === "endpoint" || canonicalEndpointParamKey === "endpoint") { + return async () => { + if (config.isCustomEndpoint === false) { + return undefined; + } + const endpoint = await configProvider(); + if (endpoint && typeof endpoint === "object") { + if ("url" in endpoint) { + return endpoint.url.href; + } + if ("hostname" in endpoint) { + const { protocol, hostname, port, path } = endpoint; + return `${protocol}//${hostname}${port ? ":" + port : ""}${path}`; + } + } + return endpoint; + }; + } + return configProvider; +}; + +const toEndpointV1 = (endpoint) => { + if (typeof endpoint === "object") { + if ("url" in endpoint) { + const v1Endpoint = urlParser.parseUrl(endpoint.url); + if (endpoint.headers) { + v1Endpoint.headers = {}; + for (const [name, values] of Object.entries(endpoint.headers)) { + v1Endpoint.headers[name.toLowerCase()] = values.join(", "); + } + } + return v1Endpoint; + } + return endpoint; + } + return urlParser.parseUrl(endpoint); +}; + +const getEndpointFromInstructions = async (commandInput, instructionsSupplier, clientConfig, context) => { + if (!clientConfig.isCustomEndpoint) { + let endpointFromConfig; + if (clientConfig.serviceConfiguredEndpoint) { + endpointFromConfig = await clientConfig.serviceConfiguredEndpoint(); + } + else { + endpointFromConfig = await getEndpointFromConfig.getEndpointFromConfig(clientConfig.serviceId); + } + if (endpointFromConfig) { + clientConfig.endpoint = () => Promise.resolve(toEndpointV1(endpointFromConfig)); + clientConfig.isCustomEndpoint = true; + } + } + const endpointParams = await resolveParams(commandInput, instructionsSupplier, clientConfig); + if (typeof clientConfig.endpointProvider !== "function") { + throw new Error("config.endpointProvider is not set."); + } + const endpoint = clientConfig.endpointProvider(endpointParams, context); + if (clientConfig.isCustomEndpoint && clientConfig.endpoint) { + const customEndpoint = await clientConfig.endpoint(); + if (customEndpoint?.headers) { + endpoint.headers ??= {}; + for (const [name, value] of Object.entries(customEndpoint.headers)) { + endpoint.headers[name] = Array.isArray(value) ? value : [value]; + } + } + } + return endpoint; +}; +const resolveParams = async (commandInput, instructionsSupplier, clientConfig) => { + const endpointParams = {}; + const instructions = instructionsSupplier?.getEndpointParameterInstructions?.() || {}; + for (const [name, instruction] of Object.entries(instructions)) { + switch (instruction.type) { + case "staticContextParams": + endpointParams[name] = instruction.value; + break; + case "contextParams": + endpointParams[name] = commandInput[instruction.name]; + break; + case "clientContextParams": + case "builtInParams": + endpointParams[name] = await createConfigValueProvider(instruction.name, name, clientConfig, instruction.type !== "builtInParams")(); + break; + case "operationContextParams": + endpointParams[name] = instruction.get(commandInput); + break; + default: + throw new Error("Unrecognized endpoint parameter instruction: " + JSON.stringify(instruction)); + } + } + if (Object.keys(instructions).length === 0) { + Object.assign(endpointParams, clientConfig); + } + if (String(clientConfig.serviceId).toLowerCase() === "s3") { + await resolveParamsForS3(endpointParams); + } + return endpointParams; +}; + +const endpointMiddleware = ({ config, instructions, }) => { + return (next, context) => async (args) => { + if (config.isCustomEndpoint) { + core.setFeature(context, "ENDPOINT_OVERRIDE", "N"); + } + const endpoint = await getEndpointFromInstructions(args.input, { + getEndpointParameterInstructions() { + return instructions; + }, + }, { ...config }, context); + context.endpointV2 = endpoint; + context.authSchemes = endpoint.properties?.authSchemes; + const authScheme = context.authSchemes?.[0]; + if (authScheme) { + context["signing_region"] = authScheme.signingRegion; + context["signing_service"] = authScheme.signingName; + const smithyContext = utilMiddleware.getSmithyContext(context); + const httpAuthOption = smithyContext?.selectedHttpAuthScheme?.httpAuthOption; + if (httpAuthOption) { + httpAuthOption.signingProperties = Object.assign(httpAuthOption.signingProperties || {}, { + signing_region: authScheme.signingRegion, + signingRegion: authScheme.signingRegion, + signing_service: authScheme.signingName, + signingName: authScheme.signingName, + signingRegionSet: authScheme.signingRegionSet, + }, authScheme.properties); + } + } + return next({ + ...args, + }); + }; +}; + +const endpointMiddlewareOptions = { + step: "serialize", + tags: ["ENDPOINT_PARAMETERS", "ENDPOINT_V2", "ENDPOINT"], + name: "endpointV2Middleware", + override: true, + relation: "before", + toMiddleware: middlewareSerde.serializerMiddlewareOption.name, +}; +const getEndpointPlugin = (config, instructions) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(endpointMiddleware({ + config, + instructions, + }), endpointMiddlewareOptions); + }, +}); + +const resolveEndpointConfig = (input) => { + const tls = input.tls ?? true; + const { endpoint, useDualstackEndpoint, useFipsEndpoint } = input; + const customEndpointProvider = endpoint != null ? async () => toEndpointV1(await utilMiddleware.normalizeProvider(endpoint)()) : undefined; + const isCustomEndpoint = !!endpoint; + const resolvedConfig = Object.assign(input, { + endpoint: customEndpointProvider, + tls, + isCustomEndpoint, + useDualstackEndpoint: utilMiddleware.normalizeProvider(useDualstackEndpoint ?? false), + useFipsEndpoint: utilMiddleware.normalizeProvider(useFipsEndpoint ?? false), + }); + let configuredEndpointPromise = undefined; + resolvedConfig.serviceConfiguredEndpoint = async () => { + if (input.serviceId && !configuredEndpointPromise) { + configuredEndpointPromise = getEndpointFromConfig.getEndpointFromConfig(input.serviceId); + } + return configuredEndpointPromise; + }; + return resolvedConfig; +}; + +const resolveEndpointRequiredConfig = (input) => { + const { endpoint } = input; + if (endpoint === undefined) { + input.endpoint = async () => { + throw new Error("@smithy/middleware-endpoint: (default endpointRuleSet) endpoint is not set - you must configure an endpoint."); + }; + } + return input; +}; + +exports.endpointMiddleware = endpointMiddleware; +exports.endpointMiddlewareOptions = endpointMiddlewareOptions; +exports.getEndpointFromInstructions = getEndpointFromInstructions; +exports.getEndpointPlugin = getEndpointPlugin; +exports.resolveEndpointConfig = resolveEndpointConfig; +exports.resolveEndpointRequiredConfig = resolveEndpointRequiredConfig; +exports.resolveParams = resolveParams; +exports.toEndpointV1 = toEndpointV1; diff --git a/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js b/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js new file mode 100644 index 0000000..cb939ae --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js @@ -0,0 +1,50 @@ +export const createConfigValueProvider = (configKey, canonicalEndpointParamKey, config, isClientContextParam = false) => { + const configProvider = async () => { + let configValue; + if (isClientContextParam) { + const clientContextParams = config.clientContextParams; + const nestedValue = clientContextParams?.[configKey]; + configValue = nestedValue ?? config[configKey] ?? config[canonicalEndpointParamKey]; + } + else { + configValue = config[configKey] ?? config[canonicalEndpointParamKey]; + } + if (typeof configValue === "function") { + return configValue(); + } + return configValue; + }; + if (configKey === "credentialScope" || canonicalEndpointParamKey === "CredentialScope") { + return async () => { + const credentials = typeof config.credentials === "function" ? await config.credentials() : config.credentials; + const configValue = credentials?.credentialScope ?? credentials?.CredentialScope; + return configValue; + }; + } + if (configKey === "accountId" || canonicalEndpointParamKey === "AccountId") { + return async () => { + const credentials = typeof config.credentials === "function" ? await config.credentials() : config.credentials; + const configValue = credentials?.accountId ?? credentials?.AccountId; + return configValue; + }; + } + if (configKey === "endpoint" || canonicalEndpointParamKey === "endpoint") { + return async () => { + if (config.isCustomEndpoint === false) { + return undefined; + } + const endpoint = await configProvider(); + if (endpoint && typeof endpoint === "object") { + if ("url" in endpoint) { + return endpoint.url.href; + } + if ("hostname" in endpoint) { + const { protocol, hostname, port, path } = endpoint; + return `${protocol}//${hostname}${port ? ":" + port : ""}${path}`; + } + } + return endpoint; + }; + } + return configProvider; +}; diff --git a/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.browser.js b/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.browser.js new file mode 100644 index 0000000..75fc136 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.browser.js @@ -0,0 +1 @@ +export const getEndpointFromConfig = async (serviceId) => undefined; diff --git a/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.js b/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.js new file mode 100644 index 0000000..33c1d45 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.js @@ -0,0 +1,3 @@ +import { loadConfig } from "@smithy/node-config-provider"; +import { getEndpointUrlConfig } from "./getEndpointUrlConfig"; +export const getEndpointFromConfig = async (serviceId) => loadConfig(getEndpointUrlConfig(serviceId ?? ""))(); diff --git a/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js b/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js new file mode 100644 index 0000000..0be35f6 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js @@ -0,0 +1,64 @@ +import { resolveParamsForS3 } from "../service-customizations"; +import { createConfigValueProvider } from "./createConfigValueProvider"; +import { getEndpointFromConfig } from "./getEndpointFromConfig"; +import { toEndpointV1 } from "./toEndpointV1"; +export const getEndpointFromInstructions = async (commandInput, instructionsSupplier, clientConfig, context) => { + if (!clientConfig.isCustomEndpoint) { + let endpointFromConfig; + if (clientConfig.serviceConfiguredEndpoint) { + endpointFromConfig = await clientConfig.serviceConfiguredEndpoint(); + } + else { + endpointFromConfig = await getEndpointFromConfig(clientConfig.serviceId); + } + if (endpointFromConfig) { + clientConfig.endpoint = () => Promise.resolve(toEndpointV1(endpointFromConfig)); + clientConfig.isCustomEndpoint = true; + } + } + const endpointParams = await resolveParams(commandInput, instructionsSupplier, clientConfig); + if (typeof clientConfig.endpointProvider !== "function") { + throw new Error("config.endpointProvider is not set."); + } + const endpoint = clientConfig.endpointProvider(endpointParams, context); + if (clientConfig.isCustomEndpoint && clientConfig.endpoint) { + const customEndpoint = await clientConfig.endpoint(); + if (customEndpoint?.headers) { + endpoint.headers ??= {}; + for (const [name, value] of Object.entries(customEndpoint.headers)) { + endpoint.headers[name] = Array.isArray(value) ? value : [value]; + } + } + } + return endpoint; +}; +export const resolveParams = async (commandInput, instructionsSupplier, clientConfig) => { + const endpointParams = {}; + const instructions = instructionsSupplier?.getEndpointParameterInstructions?.() || {}; + for (const [name, instruction] of Object.entries(instructions)) { + switch (instruction.type) { + case "staticContextParams": + endpointParams[name] = instruction.value; + break; + case "contextParams": + endpointParams[name] = commandInput[instruction.name]; + break; + case "clientContextParams": + case "builtInParams": + endpointParams[name] = await createConfigValueProvider(instruction.name, name, clientConfig, instruction.type !== "builtInParams")(); + break; + case "operationContextParams": + endpointParams[name] = instruction.get(commandInput); + break; + default: + throw new Error("Unrecognized endpoint parameter instruction: " + JSON.stringify(instruction)); + } + } + if (Object.keys(instructions).length === 0) { + Object.assign(endpointParams, clientConfig); + } + if (String(clientConfig.serviceId).toLowerCase() === "s3") { + await resolveParamsForS3(endpointParams); + } + return endpointParams; +}; diff --git a/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointUrlConfig.js b/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointUrlConfig.js new file mode 100644 index 0000000..82a1519 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointUrlConfig.js @@ -0,0 +1,31 @@ +import { CONFIG_PREFIX_SEPARATOR } from "@smithy/shared-ini-file-loader"; +const ENV_ENDPOINT_URL = "AWS_ENDPOINT_URL"; +const CONFIG_ENDPOINT_URL = "endpoint_url"; +export const getEndpointUrlConfig = (serviceId) => ({ + environmentVariableSelector: (env) => { + const serviceSuffixParts = serviceId.split(" ").map((w) => w.toUpperCase()); + const serviceEndpointUrl = env[[ENV_ENDPOINT_URL, ...serviceSuffixParts].join("_")]; + if (serviceEndpointUrl) + return serviceEndpointUrl; + const endpointUrl = env[ENV_ENDPOINT_URL]; + if (endpointUrl) + return endpointUrl; + return undefined; + }, + configFileSelector: (profile, config) => { + if (config && profile.services) { + const servicesSection = config[["services", profile.services].join(CONFIG_PREFIX_SEPARATOR)]; + if (servicesSection) { + const servicePrefixParts = serviceId.split(" ").map((w) => w.toLowerCase()); + const endpointUrl = servicesSection[[servicePrefixParts.join("_"), CONFIG_ENDPOINT_URL].join(CONFIG_PREFIX_SEPARATOR)]; + if (endpointUrl) + return endpointUrl; + } + } + const endpointUrl = profile[CONFIG_ENDPOINT_URL]; + if (endpointUrl) + return endpointUrl; + return undefined; + }, + default: undefined, +}); diff --git a/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/index.js b/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/index.js new file mode 100644 index 0000000..17752da --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/index.js @@ -0,0 +1,2 @@ +export * from "./getEndpointFromInstructions"; +export * from "./toEndpointV1"; diff --git a/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js b/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js new file mode 100644 index 0000000..701ce11 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js @@ -0,0 +1,17 @@ +import { parseUrl } from "@smithy/url-parser"; +export const toEndpointV1 = (endpoint) => { + if (typeof endpoint === "object") { + if ("url" in endpoint) { + const v1Endpoint = parseUrl(endpoint.url); + if (endpoint.headers) { + v1Endpoint.headers = {}; + for (const [name, values] of Object.entries(endpoint.headers)) { + v1Endpoint.headers[name.toLowerCase()] = values.join(", "); + } + } + return v1Endpoint; + } + return endpoint; + } + return parseUrl(endpoint); +}; diff --git a/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js b/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js new file mode 100644 index 0000000..82c5719 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js @@ -0,0 +1,36 @@ +import { setFeature } from "@smithy/core"; +import { getSmithyContext } from "@smithy/util-middleware"; +import { getEndpointFromInstructions } from "./adaptors/getEndpointFromInstructions"; +export const endpointMiddleware = ({ config, instructions, }) => { + return (next, context) => async (args) => { + if (config.isCustomEndpoint) { + setFeature(context, "ENDPOINT_OVERRIDE", "N"); + } + const endpoint = await getEndpointFromInstructions(args.input, { + getEndpointParameterInstructions() { + return instructions; + }, + }, { ...config }, context); + context.endpointV2 = endpoint; + context.authSchemes = endpoint.properties?.authSchemes; + const authScheme = context.authSchemes?.[0]; + if (authScheme) { + context["signing_region"] = authScheme.signingRegion; + context["signing_service"] = authScheme.signingName; + const smithyContext = getSmithyContext(context); + const httpAuthOption = smithyContext?.selectedHttpAuthScheme?.httpAuthOption; + if (httpAuthOption) { + httpAuthOption.signingProperties = Object.assign(httpAuthOption.signingProperties || {}, { + signing_region: authScheme.signingRegion, + signingRegion: authScheme.signingRegion, + signing_service: authScheme.signingName, + signingName: authScheme.signingName, + signingRegionSet: authScheme.signingRegionSet, + }, authScheme.properties); + } + } + return next({ + ...args, + }); + }; +}; diff --git a/node_modules/@smithy/middleware-endpoint/dist-es/getEndpointPlugin.js b/node_modules/@smithy/middleware-endpoint/dist-es/getEndpointPlugin.js new file mode 100644 index 0000000..e2335f4 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-es/getEndpointPlugin.js @@ -0,0 +1,18 @@ +import { serializerMiddlewareOption } from "@smithy/middleware-serde"; +import { endpointMiddleware } from "./endpointMiddleware"; +export const endpointMiddlewareOptions = { + step: "serialize", + tags: ["ENDPOINT_PARAMETERS", "ENDPOINT_V2", "ENDPOINT"], + name: "endpointV2Middleware", + override: true, + relation: "before", + toMiddleware: serializerMiddlewareOption.name, +}; +export const getEndpointPlugin = (config, instructions) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(endpointMiddleware({ + config, + instructions, + }), endpointMiddlewareOptions); + }, +}); diff --git a/node_modules/@smithy/middleware-endpoint/dist-es/index.js b/node_modules/@smithy/middleware-endpoint/dist-es/index.js new file mode 100644 index 0000000..5c9f264 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-es/index.js @@ -0,0 +1,6 @@ +export * from "./adaptors"; +export * from "./endpointMiddleware"; +export * from "./getEndpointPlugin"; +export * from "./resolveEndpointConfig"; +export * from "./resolveEndpointRequiredConfig"; +export * from "./types"; diff --git a/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js b/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js new file mode 100644 index 0000000..c3a0eea --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js @@ -0,0 +1,24 @@ +import { normalizeProvider } from "@smithy/util-middleware"; +import { getEndpointFromConfig } from "./adaptors/getEndpointFromConfig"; +import { toEndpointV1 } from "./adaptors/toEndpointV1"; +export const resolveEndpointConfig = (input) => { + const tls = input.tls ?? true; + const { endpoint, useDualstackEndpoint, useFipsEndpoint } = input; + const customEndpointProvider = endpoint != null ? async () => toEndpointV1(await normalizeProvider(endpoint)()) : undefined; + const isCustomEndpoint = !!endpoint; + const resolvedConfig = Object.assign(input, { + endpoint: customEndpointProvider, + tls, + isCustomEndpoint, + useDualstackEndpoint: normalizeProvider(useDualstackEndpoint ?? false), + useFipsEndpoint: normalizeProvider(useFipsEndpoint ?? false), + }); + let configuredEndpointPromise = undefined; + resolvedConfig.serviceConfiguredEndpoint = async () => { + if (input.serviceId && !configuredEndpointPromise) { + configuredEndpointPromise = getEndpointFromConfig(input.serviceId); + } + return configuredEndpointPromise; + }; + return resolvedConfig; +}; diff --git a/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointRequiredConfig.js b/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointRequiredConfig.js new file mode 100644 index 0000000..88bd263 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointRequiredConfig.js @@ -0,0 +1,9 @@ +export const resolveEndpointRequiredConfig = (input) => { + const { endpoint } = input; + if (endpoint === undefined) { + input.endpoint = async () => { + throw new Error("@smithy/middleware-endpoint: (default endpointRuleSet) endpoint is not set - you must configure an endpoint."); + }; + } + return input; +}; diff --git a/node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/index.js b/node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/index.js new file mode 100644 index 0000000..e50e107 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/index.js @@ -0,0 +1 @@ +export * from "./s3"; diff --git a/node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js b/node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js new file mode 100644 index 0000000..e993fc7 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js @@ -0,0 +1,37 @@ +export const resolveParamsForS3 = async (endpointParams) => { + const bucket = endpointParams?.Bucket || ""; + if (typeof endpointParams.Bucket === "string") { + endpointParams.Bucket = bucket.replace(/#/g, encodeURIComponent("#")).replace(/\?/g, encodeURIComponent("?")); + } + if (isArnBucketName(bucket)) { + if (endpointParams.ForcePathStyle === true) { + throw new Error("Path-style addressing cannot be used with ARN buckets"); + } + } + else if (!isDnsCompatibleBucketName(bucket) || + (bucket.indexOf(".") !== -1 && !String(endpointParams.Endpoint).startsWith("http:")) || + bucket.toLowerCase() !== bucket || + bucket.length < 3) { + endpointParams.ForcePathStyle = true; + } + if (endpointParams.DisableMultiRegionAccessPoints) { + endpointParams.disableMultiRegionAccessPoints = true; + endpointParams.DisableMRAP = true; + } + return endpointParams; +}; +const DOMAIN_PATTERN = /^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/; +const IP_ADDRESS_PATTERN = /(\d+\.){3}\d+/; +const DOTS_PATTERN = /\.\./; +export const DOT_PATTERN = /\./; +export const S3_HOSTNAME_PATTERN = /^(.+\.)?s3(-fips)?(\.dualstack)?[.-]([a-z0-9-]+)\./; +export const isDnsCompatibleBucketName = (bucketName) => DOMAIN_PATTERN.test(bucketName) && !IP_ADDRESS_PATTERN.test(bucketName) && !DOTS_PATTERN.test(bucketName); +export const isArnBucketName = (bucketName) => { + const [arn, partition, service, , , bucket] = bucketName.split(":"); + const isArn = arn === "arn" && bucketName.split(":").length >= 6; + const isValidArn = Boolean(isArn && partition && service && bucket); + if (isArn && !isValidArn) { + throw new Error(`Invalid ARN: ${bucketName} was an invalid ARN.`); + } + return isValidArn; +}; diff --git a/node_modules/@smithy/middleware-endpoint/dist-es/types.js b/node_modules/@smithy/middleware-endpoint/dist-es/types.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-es/types.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/createConfigValueProvider.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/createConfigValueProvider.d.ts new file mode 100644 index 0000000..e99e044 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/createConfigValueProvider.d.ts @@ -0,0 +1,14 @@ +/** + * Normalize some key of the client config to an async provider. + * @internal + * + * @param configKey - the key to look up in config. + * @param canonicalEndpointParamKey - this is the name the EndpointRuleSet uses. + * it will most likely not contain the config + * value, but we use it as a fallback. + * @param config - container of the config values. + * @param isClientContextParam - whether this is a client context parameter. + * + * @returns async function that will resolve with the value. + */ +export declare const createConfigValueProvider: >(configKey: string, canonicalEndpointParamKey: string, config: Config, isClientContextParam?: boolean) => () => Promise; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromConfig.browser.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromConfig.browser.d.ts new file mode 100644 index 0000000..de05fa5 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromConfig.browser.d.ts @@ -0,0 +1 @@ +export declare const getEndpointFromConfig: (serviceId: string) => Promise; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromConfig.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromConfig.d.ts new file mode 100644 index 0000000..42a3566 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromConfig.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const getEndpointFromConfig: (serviceId?: string) => Promise; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromInstructions.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromInstructions.d.ts new file mode 100644 index 0000000..13b5ad5 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromInstructions.d.ts @@ -0,0 +1,28 @@ +import type { EndpointParameters, EndpointV2, HandlerExecutionContext } from "@smithy/types"; +import type { EndpointResolvedConfig } from "../resolveEndpointConfig"; +import type { EndpointParameterInstructions } from "../types"; +/** + * @internal + */ +export type EndpointParameterInstructionsSupplier = Partial<{ + getEndpointParameterInstructions(): EndpointParameterInstructions; +}>; +/** + * This step in the endpoint resolution process is exposed as a function + * to allow packages such as signers, lib-upload, etc. to get + * the V2 Endpoint associated to an instance of some api operation command + * without needing to send it or resolve its middleware stack. + * + * @internal + * @param commandInput - the input of the Command in question. + * @param instructionsSupplier - this is typically a Command constructor. A static function supplying the + * endpoint parameter instructions will exist for commands in services + * having an endpoints ruleset trait. + * @param clientConfig - config of the service client. + * @param context - optional context. + */ +export declare const getEndpointFromInstructions: , Config extends Record>(commandInput: CommandInput, instructionsSupplier: EndpointParameterInstructionsSupplier, clientConfig: Partial> & Config, context?: HandlerExecutionContext) => Promise; +/** + * @internal + */ +export declare const resolveParams: , Config extends Record>(commandInput: CommandInput, instructionsSupplier: EndpointParameterInstructionsSupplier, clientConfig: Partial> & Config) => Promise; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointUrlConfig.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointUrlConfig.d.ts new file mode 100644 index 0000000..6b0f5d1 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointUrlConfig.d.ts @@ -0,0 +1,2 @@ +import type { LoadedConfigSelectors } from "@smithy/node-config-provider"; +export declare const getEndpointUrlConfig: (serviceId: string) => LoadedConfigSelectors; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/index.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/index.d.ts new file mode 100644 index 0000000..cc13488 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./getEndpointFromInstructions"; +/** + * @internal + */ +export * from "./toEndpointV1"; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts new file mode 100644 index 0000000..5130a31 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts @@ -0,0 +1,6 @@ +import type { Endpoint, EndpointV2 } from "@smithy/types"; +/** + * @deprecated Use `toEndpointV1` from `@smithy/core/endpoints` instead. + * @internal + */ +export declare const toEndpointV1: (endpoint: string | Endpoint | EndpointV2) => Endpoint; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/endpointMiddleware.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/endpointMiddleware.d.ts new file mode 100644 index 0000000..b6b7a9d --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/endpointMiddleware.d.ts @@ -0,0 +1,10 @@ +import type { EndpointParameters, SerializeMiddleware } from "@smithy/types"; +import type { EndpointResolvedConfig } from "./resolveEndpointConfig"; +import type { EndpointParameterInstructions } from "./types"; +/** + * @internal + */ +export declare const endpointMiddleware: ({ config, instructions, }: { + config: EndpointResolvedConfig; + instructions: EndpointParameterInstructions; +}) => SerializeMiddleware; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/getEndpointPlugin.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/getEndpointPlugin.d.ts new file mode 100644 index 0000000..159498f --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/getEndpointPlugin.d.ts @@ -0,0 +1,11 @@ +import type { EndpointParameters, Pluggable, RelativeMiddlewareOptions, SerializeHandlerOptions } from "@smithy/types"; +import type { EndpointResolvedConfig } from "./resolveEndpointConfig"; +import type { EndpointParameterInstructions } from "./types"; +/** + * @internal + */ +export declare const endpointMiddlewareOptions: SerializeHandlerOptions & RelativeMiddlewareOptions; +/** + * @internal + */ +export declare const getEndpointPlugin: (config: EndpointResolvedConfig, instructions: EndpointParameterInstructions) => Pluggable; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts new file mode 100644 index 0000000..3cff751 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts @@ -0,0 +1,18 @@ +/** + * @internal + */ +export * from "./adaptors"; +/** + * @internal + */ +export * from "./endpointMiddleware"; +/** + * @internal + */ +export * from "./getEndpointPlugin"; +export * from "./resolveEndpointConfig"; +export * from "./resolveEndpointRequiredConfig"; +/** + * @internal + */ +export * from "./types"; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts new file mode 100644 index 0000000..9d5b0a9 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts @@ -0,0 +1,109 @@ +import type { Endpoint, EndpointParameters, EndpointV2, Logger, Provider, UrlParser } from "@smithy/types"; +/** + * @public + * + * Endpoint config interfaces and resolver for Endpoint v2. They live in separate package to allow per-service onboarding. + * When all services onboard Endpoint v2, the resolver in config-resolver package can be removed. + * This interface includes all the endpoint parameters with built-in bindings of "AWS::*" and "SDK::*" + */ +export interface EndpointInputConfig { + /** + * The fully qualified endpoint of the webservice. This is only for using + * a custom endpoint (for example, when using a local version of S3). + * + * Endpoint transformations such as S3 applying a bucket to the hostname are + * still applicable to this custom endpoint. + */ + endpoint?: string | Endpoint | Provider | EndpointV2 | Provider; + /** + * Providing a custom endpointProvider will override + * built-in transformations of the endpoint such as S3 adding the bucket + * name to the hostname, since they are part of the default endpointProvider. + */ + endpointProvider?: (params: T, context?: { + logger?: Logger; + }) => EndpointV2; + /** + * Whether TLS is enabled for requests. + * @deprecated + */ + tls?: boolean; + /** + * Enables IPv6/IPv4 dualstack endpoint. + */ + useDualstackEndpoint?: boolean | Provider; + /** + * Enables FIPS compatible endpoints. + */ + useFipsEndpoint?: boolean | Provider; + /** + * @internal + * This field is used internally so you should not fill any value to this field. + */ + serviceConfiguredEndpoint?: never; +} +/** + * @internal + */ +interface PreviouslyResolved { + urlParser: UrlParser; + endpointProvider: (params: T, context?: { + logger?: Logger; + }) => EndpointV2; + logger?: Logger; + serviceId?: string; +} +/** + * @internal + * + * This supersedes the similarly named EndpointsResolvedConfig (no parametric types) + * from resolveEndpointsConfig.ts in \@smithy/config-resolver. + */ +export interface EndpointResolvedConfig { + /** + * Custom endpoint provided by the user. + * This is normalized to a single interface from the various acceptable types. + * This field will be undefined if a custom endpoint is not provided. + */ + endpoint?: Provider; + endpointProvider: (params: T, context?: { + logger?: Logger; + }) => EndpointV2; + /** + * Whether TLS is enabled for requests. + * @deprecated + */ + tls: boolean; + /** + * Whether the endpoint is specified by caller. + * This should be used over checking the existence of `endpoint`, since + * that may have been set by other means, such as the default regional + * endpoint provider function. + * + * @internal + */ + isCustomEndpoint?: boolean; + /** + * Resolved value for input {@link EndpointsInputConfig.useDualstackEndpoint} + */ + useDualstackEndpoint: Provider; + /** + * Resolved value for input {@link EndpointsInputConfig.useFipsEndpoint} + */ + useFipsEndpoint: Provider; + /** + * Unique service identifier. + * @internal + */ + serviceId?: string; + /** + * A configured endpoint global or specific to the service from ENV or AWS SDK configuration files. + * @internal + */ + serviceConfiguredEndpoint?: Provider; +} +/** + * @internal + */ +export declare const resolveEndpointConfig: (input: T & EndpointInputConfig

& PreviouslyResolved

) => T & EndpointResolvedConfig

; +export {}; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts new file mode 100644 index 0000000..6174a86 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts @@ -0,0 +1,32 @@ +import type { Endpoint, EndpointV2, Provider } from "@smithy/types"; +/** + * This is an additional config resolver layer for clients using the default + * endpoints ruleset. It modifies the input and output config types to make + * the endpoint configuration property required. + * + * It must be placed after the `resolveEndpointConfig` + * resolver. This replaces the "CustomEndpoints" config resolver, which was used + * prior to default endpoint rulesets. + * + * @public + */ +export interface EndpointRequiredInputConfig { + endpoint: string | Endpoint | Provider | EndpointV2 | Provider; +} +/** + * @internal + */ +interface PreviouslyResolved { + endpoint?: Provider; +} +/** + * @internal + */ +export interface EndpointRequiredResolvedConfig { + endpoint: Provider; +} +/** + * @internal + */ +export declare const resolveEndpointRequiredConfig: (input: T & EndpointRequiredInputConfig & PreviouslyResolved) => T & EndpointRequiredResolvedConfig; +export {}; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/service-customizations/index.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/service-customizations/index.d.ts new file mode 100644 index 0000000..716a15d --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/service-customizations/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export * from "./s3"; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/service-customizations/s3.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/service-customizations/s3.d.ts new file mode 100644 index 0000000..ca09eb4 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/service-customizations/s3.d.ts @@ -0,0 +1,26 @@ +import type { EndpointParameters } from "@smithy/types"; +/** + * @internal + */ +export declare const resolveParamsForS3: (endpointParams: EndpointParameters) => Promise; +/** + * @internal + */ +export declare const DOT_PATTERN: RegExp; +/** + * @internal + */ +export declare const S3_HOSTNAME_PATTERN: RegExp; +/** + * Determines whether a given string is DNS compliant per the rules outlined by + * S3. Length, capitaization, and leading dot restrictions are enforced by the + * DOMAIN_PATTERN regular expression. + * @internal + * + * @see https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html + */ +export declare const isDnsCompatibleBucketName: (bucketName: string) => boolean; +/** + * @internal + */ +export declare const isArnBucketName: (bucketName: string) => boolean; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/createConfigValueProvider.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/createConfigValueProvider.d.ts new file mode 100644 index 0000000..e99e044 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/createConfigValueProvider.d.ts @@ -0,0 +1,14 @@ +/** + * Normalize some key of the client config to an async provider. + * @internal + * + * @param configKey - the key to look up in config. + * @param canonicalEndpointParamKey - this is the name the EndpointRuleSet uses. + * it will most likely not contain the config + * value, but we use it as a fallback. + * @param config - container of the config values. + * @param isClientContextParam - whether this is a client context parameter. + * + * @returns async function that will resolve with the value. + */ +export declare const createConfigValueProvider: >(configKey: string, canonicalEndpointParamKey: string, config: Config, isClientContextParam?: boolean) => () => Promise; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.browser.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.browser.d.ts new file mode 100644 index 0000000..de05fa5 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.browser.d.ts @@ -0,0 +1 @@ +export declare const getEndpointFromConfig: (serviceId: string) => Promise; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.d.ts new file mode 100644 index 0000000..42a3566 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const getEndpointFromConfig: (serviceId?: string) => Promise; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromInstructions.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromInstructions.d.ts new file mode 100644 index 0000000..49cef2a --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromInstructions.d.ts @@ -0,0 +1,28 @@ +import { EndpointParameters, EndpointV2, HandlerExecutionContext } from "@smithy/types"; +import { EndpointResolvedConfig } from "../resolveEndpointConfig"; +import { EndpointParameterInstructions } from "../types"; +/** + * @internal + */ +export type EndpointParameterInstructionsSupplier = Partial<{ + getEndpointParameterInstructions(): EndpointParameterInstructions; +}>; +/** + * This step in the endpoint resolution process is exposed as a function + * to allow packages such as signers, lib-upload, etc. to get + * the V2 Endpoint associated to an instance of some api operation command + * without needing to send it or resolve its middleware stack. + * + * @internal + * @param commandInput - the input of the Command in question. + * @param instructionsSupplier - this is typically a Command constructor. A static function supplying the + * endpoint parameter instructions will exist for commands in services + * having an endpoints ruleset trait. + * @param clientConfig - config of the service client. + * @param context - optional context. + */ +export declare const getEndpointFromInstructions: , Config extends Record>(commandInput: CommandInput, instructionsSupplier: EndpointParameterInstructionsSupplier, clientConfig: Partial> & Config, context?: HandlerExecutionContext) => Promise; +/** + * @internal + */ +export declare const resolveParams: , Config extends Record>(commandInput: CommandInput, instructionsSupplier: EndpointParameterInstructionsSupplier, clientConfig: Partial> & Config) => Promise; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointUrlConfig.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointUrlConfig.d.ts new file mode 100644 index 0000000..0971010 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointUrlConfig.d.ts @@ -0,0 +1,2 @@ +import { LoadedConfigSelectors } from "@smithy/node-config-provider"; +export declare const getEndpointUrlConfig: (serviceId: string) => LoadedConfigSelectors; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/index.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/index.d.ts new file mode 100644 index 0000000..cc13488 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./getEndpointFromInstructions"; +/** + * @internal + */ +export * from "./toEndpointV1"; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts new file mode 100644 index 0000000..5e6e41e --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts @@ -0,0 +1,6 @@ +import { Endpoint, EndpointV2 } from "@smithy/types"; +/** + * @deprecated Use `toEndpointV1` from `@smithy/core/endpoints` instead. + * @internal + */ +export declare const toEndpointV1: (endpoint: string | Endpoint | EndpointV2) => Endpoint; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/endpointMiddleware.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/endpointMiddleware.d.ts new file mode 100644 index 0000000..67cee64 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/endpointMiddleware.d.ts @@ -0,0 +1,10 @@ +import { EndpointParameters, SerializeMiddleware } from "@smithy/types"; +import { EndpointResolvedConfig } from "./resolveEndpointConfig"; +import { EndpointParameterInstructions } from "./types"; +/** + * @internal + */ +export declare const endpointMiddleware: ({ config, instructions, }: { + config: EndpointResolvedConfig; + instructions: EndpointParameterInstructions; +}) => SerializeMiddleware; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/getEndpointPlugin.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/getEndpointPlugin.d.ts new file mode 100644 index 0000000..910f44d --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/getEndpointPlugin.d.ts @@ -0,0 +1,11 @@ +import { EndpointParameters, Pluggable, RelativeMiddlewareOptions, SerializeHandlerOptions } from "@smithy/types"; +import { EndpointResolvedConfig } from "./resolveEndpointConfig"; +import { EndpointParameterInstructions } from "./types"; +/** + * @internal + */ +export declare const endpointMiddlewareOptions: SerializeHandlerOptions & RelativeMiddlewareOptions; +/** + * @internal + */ +export declare const getEndpointPlugin: (config: EndpointResolvedConfig, instructions: EndpointParameterInstructions) => Pluggable; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..3cff751 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts @@ -0,0 +1,18 @@ +/** + * @internal + */ +export * from "./adaptors"; +/** + * @internal + */ +export * from "./endpointMiddleware"; +/** + * @internal + */ +export * from "./getEndpointPlugin"; +export * from "./resolveEndpointConfig"; +export * from "./resolveEndpointRequiredConfig"; +/** + * @internal + */ +export * from "./types"; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts new file mode 100644 index 0000000..fc82dae --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts @@ -0,0 +1,109 @@ +import { Endpoint, EndpointParameters, EndpointV2, Logger, Provider, UrlParser } from "@smithy/types"; +/** + * @public + * + * Endpoint config interfaces and resolver for Endpoint v2. They live in separate package to allow per-service onboarding. + * When all services onboard Endpoint v2, the resolver in config-resolver package can be removed. + * This interface includes all the endpoint parameters with built-in bindings of "AWS::*" and "SDK::*" + */ +export interface EndpointInputConfig { + /** + * The fully qualified endpoint of the webservice. This is only for using + * a custom endpoint (for example, when using a local version of S3). + * + * Endpoint transformations such as S3 applying a bucket to the hostname are + * still applicable to this custom endpoint. + */ + endpoint?: string | Endpoint | Provider | EndpointV2 | Provider; + /** + * Providing a custom endpointProvider will override + * built-in transformations of the endpoint such as S3 adding the bucket + * name to the hostname, since they are part of the default endpointProvider. + */ + endpointProvider?: (params: T, context?: { + logger?: Logger; + }) => EndpointV2; + /** + * Whether TLS is enabled for requests. + * @deprecated + */ + tls?: boolean; + /** + * Enables IPv6/IPv4 dualstack endpoint. + */ + useDualstackEndpoint?: boolean | Provider; + /** + * Enables FIPS compatible endpoints. + */ + useFipsEndpoint?: boolean | Provider; + /** + * @internal + * This field is used internally so you should not fill any value to this field. + */ + serviceConfiguredEndpoint?: never; +} +/** + * @internal + */ +interface PreviouslyResolved { + urlParser: UrlParser; + endpointProvider: (params: T, context?: { + logger?: Logger; + }) => EndpointV2; + logger?: Logger; + serviceId?: string; +} +/** + * @internal + * + * This supersedes the similarly named EndpointsResolvedConfig (no parametric types) + * from resolveEndpointsConfig.ts in \@smithy/config-resolver. + */ +export interface EndpointResolvedConfig { + /** + * Custom endpoint provided by the user. + * This is normalized to a single interface from the various acceptable types. + * This field will be undefined if a custom endpoint is not provided. + */ + endpoint?: Provider; + endpointProvider: (params: T, context?: { + logger?: Logger; + }) => EndpointV2; + /** + * Whether TLS is enabled for requests. + * @deprecated + */ + tls: boolean; + /** + * Whether the endpoint is specified by caller. + * This should be used over checking the existence of `endpoint`, since + * that may have been set by other means, such as the default regional + * endpoint provider function. + * + * @internal + */ + isCustomEndpoint?: boolean; + /** + * Resolved value for input {@link EndpointsInputConfig.useDualstackEndpoint} + */ + useDualstackEndpoint: Provider; + /** + * Resolved value for input {@link EndpointsInputConfig.useFipsEndpoint} + */ + useFipsEndpoint: Provider; + /** + * Unique service identifier. + * @internal + */ + serviceId?: string; + /** + * A configured endpoint global or specific to the service from ENV or AWS SDK configuration files. + * @internal + */ + serviceConfiguredEndpoint?: Provider; +} +/** + * @internal + */ +export declare const resolveEndpointConfig: (input: T & EndpointInputConfig

& PreviouslyResolved

) => T & EndpointResolvedConfig

; +export {}; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointRequiredConfig.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointRequiredConfig.d.ts new file mode 100644 index 0000000..0572bf2 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointRequiredConfig.d.ts @@ -0,0 +1,32 @@ +import { Endpoint, EndpointV2, Provider } from "@smithy/types"; +/** + * This is an additional config resolver layer for clients using the default + * endpoints ruleset. It modifies the input and output config types to make + * the endpoint configuration property required. + * + * It must be placed after the `resolveEndpointConfig` + * resolver. This replaces the "CustomEndpoints" config resolver, which was used + * prior to default endpoint rulesets. + * + * @public + */ +export interface EndpointRequiredInputConfig { + endpoint: string | Endpoint | Provider | EndpointV2 | Provider; +} +/** + * @internal + */ +interface PreviouslyResolved { + endpoint?: Provider; +} +/** + * @internal + */ +export interface EndpointRequiredResolvedConfig { + endpoint: Provider; +} +/** + * @internal + */ +export declare const resolveEndpointRequiredConfig: (input: T & EndpointRequiredInputConfig & PreviouslyResolved) => T & EndpointRequiredResolvedConfig; +export {}; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/index.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/index.d.ts new file mode 100644 index 0000000..716a15d --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export * from "./s3"; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/s3.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/s3.d.ts new file mode 100644 index 0000000..80b2e6a --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/s3.d.ts @@ -0,0 +1,26 @@ +import { EndpointParameters } from "@smithy/types"; +/** + * @internal + */ +export declare const resolveParamsForS3: (endpointParams: EndpointParameters) => Promise; +/** + * @internal + */ +export declare const DOT_PATTERN: RegExp; +/** + * @internal + */ +export declare const S3_HOSTNAME_PATTERN: RegExp; +/** + * Determines whether a given string is DNS compliant per the rules outlined by + * S3. Length, capitaization, and leading dot restrictions are enforced by the + * DOMAIN_PATTERN regular expression. + * @internal + * + * @see https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html + */ +export declare const isDnsCompatibleBucketName: (bucketName: string) => boolean; +/** + * @internal + */ +export declare const isArnBucketName: (bucketName: string) => boolean; diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/types.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/types.d.ts new file mode 100644 index 0000000..0d1d9e9 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/types.d.ts @@ -0,0 +1,41 @@ +/** + * @internal + */ +export interface EndpointParameterInstructions { + [name: string]: BuiltInParamInstruction | ClientContextParamInstruction | StaticContextParamInstruction | ContextParamInstruction | OperationContextParamInstruction; +} +/** + * @internal + */ +export interface BuiltInParamInstruction { + type: "builtInParams"; + name: string; +} +/** + * @internal + */ +export interface ClientContextParamInstruction { + type: "clientContextParams"; + name: string; +} +/** + * @internal + */ +export interface StaticContextParamInstruction { + type: "staticContextParams"; + value: string | boolean; +} +/** + * @internal + */ +export interface ContextParamInstruction { + type: "contextParams"; + name: string; +} +/** + * @internal + */ +export interface OperationContextParamInstruction { + type: "operationContextParams"; + get(input: any): any; +} diff --git a/node_modules/@smithy/middleware-endpoint/dist-types/types.d.ts b/node_modules/@smithy/middleware-endpoint/dist-types/types.d.ts new file mode 100644 index 0000000..0d1d9e9 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/dist-types/types.d.ts @@ -0,0 +1,41 @@ +/** + * @internal + */ +export interface EndpointParameterInstructions { + [name: string]: BuiltInParamInstruction | ClientContextParamInstruction | StaticContextParamInstruction | ContextParamInstruction | OperationContextParamInstruction; +} +/** + * @internal + */ +export interface BuiltInParamInstruction { + type: "builtInParams"; + name: string; +} +/** + * @internal + */ +export interface ClientContextParamInstruction { + type: "clientContextParams"; + name: string; +} +/** + * @internal + */ +export interface StaticContextParamInstruction { + type: "staticContextParams"; + value: string | boolean; +} +/** + * @internal + */ +export interface ContextParamInstruction { + type: "contextParams"; + name: string; +} +/** + * @internal + */ +export interface OperationContextParamInstruction { + type: "operationContextParams"; + get(input: any): any; +} diff --git a/node_modules/@smithy/middleware-endpoint/package.json b/node_modules/@smithy/middleware-endpoint/package.json new file mode 100644 index 0000000..7216454 --- /dev/null +++ b/node_modules/@smithy/middleware-endpoint/package.json @@ -0,0 +1,75 @@ +{ + "name": "@smithy/middleware-endpoint", + "version": "4.4.28", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline middleware-endpoint", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "extract:docs": "api-extractor run --local", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/core": "^3.23.13", + "@smithy/middleware-serde": "^4.2.16", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "@smithy/url-parser": "^4.2.12", + "@smithy/util-middleware": "^4.2.12", + "tslib": "^2.6.2" + }, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "browser": { + "./dist-es/adaptors/getEndpointFromConfig": "./dist-es/adaptors/getEndpointFromConfig.browser" + }, + "react-native": { + "./dist-es/adaptors/getEndpointFromConfig": "./dist-es/adaptors/getEndpointFromConfig.browser", + "./dist-cjs/adaptors/getEndpointFromConfig": "./dist-cjs/adaptors/getEndpointFromConfig.browser" + }, + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/middleware-endpoint", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/middleware-endpoint" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/middleware-retry/LICENSE b/node_modules/@smithy/middleware-retry/LICENSE new file mode 100644 index 0000000..dd65ae0 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@smithy/middleware-retry/README.md b/node_modules/@smithy/middleware-retry/README.md new file mode 100644 index 0000000..1f07ccd --- /dev/null +++ b/node_modules/@smithy/middleware-retry/README.md @@ -0,0 +1,24 @@ +# @smithy/middleware-retry + +[![NPM version](https://img.shields.io/npm/v/@smithy/middleware-retry/latest.svg)](https://www.npmjs.com/package/@smithy/middleware-retry) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/middleware-retry.svg)](https://www.npmjs.com/package/@smithy/middleware-retry) + +### :warning: Internal API :warning: + +> This is an internal package. +> That means this is used as a dependency for other, public packages, but +> should not be taken directly as a dependency in your application's `package.json`. + +> If you are updating the version of this package, for example to bring in a +> bug-fix, you should do so by updating your application lockfile with +> e.g. `npm up @scope/package` or equivalent command in another +> package manager, rather than taking a direct dependency. + +--- + +## Usage + +See [@smithy/util-retry](https://github.com/smithy-lang/smithy-typescript/tree/main/packages/util-retry) +for retry behavior and configuration. + +See also: [AWS Documentation: Retry behavior](https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html). diff --git a/node_modules/@smithy/middleware-retry/dist-cjs/index.js b/node_modules/@smithy/middleware-retry/dist-cjs/index.js new file mode 100644 index 0000000..a54d6e6 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-cjs/index.js @@ -0,0 +1,355 @@ +'use strict'; + +var utilRetry = require('@smithy/util-retry'); +var protocolHttp = require('@smithy/protocol-http'); +var serviceErrorClassification = require('@smithy/service-error-classification'); +var uuid = require('@smithy/uuid'); +var utilMiddleware = require('@smithy/util-middleware'); +var smithyClient = require('@smithy/smithy-client'); +var isStreamingPayload = require('./isStreamingPayload/isStreamingPayload'); + +const getDefaultRetryQuota = (initialRetryTokens, options) => { + const MAX_CAPACITY = initialRetryTokens; + const noRetryIncrement = utilRetry.NO_RETRY_INCREMENT; + const retryCost = utilRetry.RETRY_COST; + const timeoutRetryCost = utilRetry.TIMEOUT_RETRY_COST; + let availableCapacity = initialRetryTokens; + const getCapacityAmount = (error) => (error.name === "TimeoutError" ? timeoutRetryCost : retryCost); + const hasRetryTokens = (error) => getCapacityAmount(error) <= availableCapacity; + const retrieveRetryTokens = (error) => { + if (!hasRetryTokens(error)) { + throw new Error("No retry token available"); + } + const capacityAmount = getCapacityAmount(error); + availableCapacity -= capacityAmount; + return capacityAmount; + }; + const releaseRetryTokens = (capacityReleaseAmount) => { + availableCapacity += capacityReleaseAmount ?? noRetryIncrement; + availableCapacity = Math.min(availableCapacity, MAX_CAPACITY); + }; + return Object.freeze({ + hasRetryTokens, + retrieveRetryTokens, + releaseRetryTokens, + }); +}; + +const defaultDelayDecider = (delayBase, attempts) => Math.floor(Math.min(utilRetry.MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase)); + +const defaultRetryDecider = (error) => { + if (!error) { + return false; + } + return serviceErrorClassification.isRetryableByTrait(error) || serviceErrorClassification.isClockSkewError(error) || serviceErrorClassification.isThrottlingError(error) || serviceErrorClassification.isTransientError(error); +}; + +const asSdkError = (error) => { + if (error instanceof Error) + return error; + if (error instanceof Object) + return Object.assign(new Error(), error); + if (typeof error === "string") + return new Error(error); + return new Error(`AWS SDK error wrapper for ${error}`); +}; + +class StandardRetryStrategy { + maxAttemptsProvider; + retryDecider; + delayDecider; + retryQuota; + mode = utilRetry.RETRY_MODES.STANDARD; + constructor(maxAttemptsProvider, options) { + this.maxAttemptsProvider = maxAttemptsProvider; + this.retryDecider = options?.retryDecider ?? defaultRetryDecider; + this.delayDecider = options?.delayDecider ?? defaultDelayDecider; + this.retryQuota = options?.retryQuota ?? getDefaultRetryQuota(utilRetry.INITIAL_RETRY_TOKENS); + } + shouldRetry(error, attempts, maxAttempts) { + return attempts < maxAttempts && this.retryDecider(error) && this.retryQuota.hasRetryTokens(error); + } + async getMaxAttempts() { + let maxAttempts; + try { + maxAttempts = await this.maxAttemptsProvider(); + } + catch (error) { + maxAttempts = utilRetry.DEFAULT_MAX_ATTEMPTS; + } + return maxAttempts; + } + async retry(next, args, options) { + let retryTokenAmount; + let attempts = 0; + let totalDelay = 0; + const maxAttempts = await this.getMaxAttempts(); + const { request } = args; + if (protocolHttp.HttpRequest.isInstance(request)) { + request.headers[utilRetry.INVOCATION_ID_HEADER] = uuid.v4(); + } + while (true) { + try { + if (protocolHttp.HttpRequest.isInstance(request)) { + request.headers[utilRetry.REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`; + } + if (options?.beforeRequest) { + await options.beforeRequest(); + } + const { response, output } = await next(args); + if (options?.afterRequest) { + options.afterRequest(response); + } + this.retryQuota.releaseRetryTokens(retryTokenAmount); + output.$metadata.attempts = attempts + 1; + output.$metadata.totalRetryDelay = totalDelay; + return { response, output }; + } + catch (e) { + const err = asSdkError(e); + attempts++; + if (this.shouldRetry(err, attempts, maxAttempts)) { + retryTokenAmount = this.retryQuota.retrieveRetryTokens(err); + const delayFromDecider = this.delayDecider(serviceErrorClassification.isThrottlingError(err) ? utilRetry.THROTTLING_RETRY_DELAY_BASE : utilRetry.DEFAULT_RETRY_DELAY_BASE, attempts); + const delayFromResponse = getDelayFromRetryAfterHeader(err.$response); + const delay = Math.max(delayFromResponse || 0, delayFromDecider); + totalDelay += delay; + await new Promise((resolve) => setTimeout(resolve, delay)); + continue; + } + if (!err.$metadata) { + err.$metadata = {}; + } + err.$metadata.attempts = attempts; + err.$metadata.totalRetryDelay = totalDelay; + throw err; + } + } + } +} +const getDelayFromRetryAfterHeader = (response) => { + if (!protocolHttp.HttpResponse.isInstance(response)) + return; + const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after"); + if (!retryAfterHeaderName) + return; + const retryAfter = response.headers[retryAfterHeaderName]; + const retryAfterSeconds = Number(retryAfter); + if (!Number.isNaN(retryAfterSeconds)) + return retryAfterSeconds * 1000; + const retryAfterDate = new Date(retryAfter); + return retryAfterDate.getTime() - Date.now(); +}; + +class AdaptiveRetryStrategy extends StandardRetryStrategy { + rateLimiter; + constructor(maxAttemptsProvider, options) { + const { rateLimiter, ...superOptions } = options ?? {}; + super(maxAttemptsProvider, superOptions); + this.rateLimiter = rateLimiter ?? new utilRetry.DefaultRateLimiter(); + this.mode = utilRetry.RETRY_MODES.ADAPTIVE; + } + async retry(next, args) { + return super.retry(next, args, { + beforeRequest: async () => { + return this.rateLimiter.getSendToken(); + }, + afterRequest: (response) => { + this.rateLimiter.updateClientSendingRate(response); + }, + }); + } +} + +const ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS"; +const CONFIG_MAX_ATTEMPTS = "max_attempts"; +const NODE_MAX_ATTEMPT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => { + const value = env[ENV_MAX_ATTEMPTS]; + if (!value) + return undefined; + const maxAttempt = parseInt(value); + if (Number.isNaN(maxAttempt)) { + throw new Error(`Environment variable ${ENV_MAX_ATTEMPTS} mast be a number, got "${value}"`); + } + return maxAttempt; + }, + configFileSelector: (profile) => { + const value = profile[CONFIG_MAX_ATTEMPTS]; + if (!value) + return undefined; + const maxAttempt = parseInt(value); + if (Number.isNaN(maxAttempt)) { + throw new Error(`Shared config file entry ${CONFIG_MAX_ATTEMPTS} mast be a number, got "${value}"`); + } + return maxAttempt; + }, + default: utilRetry.DEFAULT_MAX_ATTEMPTS, +}; +const resolveRetryConfig = (input) => { + const { retryStrategy, retryMode } = input; + const maxAttempts = utilMiddleware.normalizeProvider(input.maxAttempts ?? utilRetry.DEFAULT_MAX_ATTEMPTS); + let controller = retryStrategy + ? Promise.resolve(retryStrategy) + : undefined; + const getDefault = async () => (await utilMiddleware.normalizeProvider(retryMode)()) === utilRetry.RETRY_MODES.ADAPTIVE + ? new utilRetry.AdaptiveRetryStrategy(maxAttempts) + : new utilRetry.StandardRetryStrategy(maxAttempts); + return Object.assign(input, { + maxAttempts, + retryStrategy: () => (controller ??= getDefault()), + }); +}; +const ENV_RETRY_MODE = "AWS_RETRY_MODE"; +const CONFIG_RETRY_MODE = "retry_mode"; +const NODE_RETRY_MODE_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[ENV_RETRY_MODE], + configFileSelector: (profile) => profile[CONFIG_RETRY_MODE], + default: utilRetry.DEFAULT_RETRY_MODE, +}; + +const omitRetryHeadersMiddleware = () => (next) => async (args) => { + const { request } = args; + if (protocolHttp.HttpRequest.isInstance(request)) { + delete request.headers[utilRetry.INVOCATION_ID_HEADER]; + delete request.headers[utilRetry.REQUEST_HEADER]; + } + return next(args); +}; +const omitRetryHeadersMiddlewareOptions = { + name: "omitRetryHeadersMiddleware", + tags: ["RETRY", "HEADERS", "OMIT_RETRY_HEADERS"], + relation: "before", + toMiddleware: "awsAuthMiddleware", + override: true, +}; +const getOmitRetryHeadersPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(omitRetryHeadersMiddleware(), omitRetryHeadersMiddlewareOptions); + }, +}); + +const retryMiddleware = (options) => (next, context) => async (args) => { + let retryStrategy = await options.retryStrategy(); + const maxAttempts = await options.maxAttempts(); + if (isRetryStrategyV2(retryStrategy)) { + retryStrategy = retryStrategy; + let retryToken = await retryStrategy.acquireInitialRetryToken(context["partition_id"]); + let lastError = new Error(); + let attempts = 0; + let totalRetryDelay = 0; + const { request } = args; + const isRequest = protocolHttp.HttpRequest.isInstance(request); + if (isRequest) { + request.headers[utilRetry.INVOCATION_ID_HEADER] = uuid.v4(); + } + while (true) { + try { + if (isRequest) { + request.headers[utilRetry.REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`; + } + const { response, output } = await next(args); + retryStrategy.recordSuccess(retryToken); + output.$metadata.attempts = attempts + 1; + output.$metadata.totalRetryDelay = totalRetryDelay; + return { response, output }; + } + catch (e) { + const retryErrorInfo = getRetryErrorInfo(e); + lastError = asSdkError(e); + if (isRequest && isStreamingPayload.isStreamingPayload(request)) { + (context.logger instanceof smithyClient.NoOpLogger ? console : context.logger)?.warn("An error was encountered in a non-retryable streaming request."); + throw lastError; + } + try { + retryToken = await retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo); + } + catch (refreshError) { + if (!lastError.$metadata) { + lastError.$metadata = {}; + } + lastError.$metadata.attempts = attempts + 1; + lastError.$metadata.totalRetryDelay = totalRetryDelay; + throw lastError; + } + attempts = retryToken.getRetryCount(); + const delay = retryToken.getRetryDelay(); + totalRetryDelay += delay; + await new Promise((resolve) => setTimeout(resolve, delay)); + } + } + } + else { + retryStrategy = retryStrategy; + if (retryStrategy?.mode) + context.userAgent = [...(context.userAgent || []), ["cfg/retry-mode", retryStrategy.mode]]; + return retryStrategy.retry(next, args); + } +}; +const isRetryStrategyV2 = (retryStrategy) => typeof retryStrategy.acquireInitialRetryToken !== "undefined" && + typeof retryStrategy.refreshRetryTokenForRetry !== "undefined" && + typeof retryStrategy.recordSuccess !== "undefined"; +const getRetryErrorInfo = (error) => { + const errorInfo = { + error, + errorType: getRetryErrorType(error), + }; + const retryAfterHint = getRetryAfterHint(error.$response); + if (retryAfterHint) { + errorInfo.retryAfterHint = retryAfterHint; + } + return errorInfo; +}; +const getRetryErrorType = (error) => { + if (serviceErrorClassification.isThrottlingError(error)) + return "THROTTLING"; + if (serviceErrorClassification.isTransientError(error)) + return "TRANSIENT"; + if (serviceErrorClassification.isServerError(error)) + return "SERVER_ERROR"; + return "CLIENT_ERROR"; +}; +const retryMiddlewareOptions = { + name: "retryMiddleware", + tags: ["RETRY"], + step: "finalizeRequest", + priority: "high", + override: true, +}; +const getRetryPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(retryMiddleware(options), retryMiddlewareOptions); + }, +}); +const getRetryAfterHint = (response) => { + if (!protocolHttp.HttpResponse.isInstance(response)) + return; + const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after"); + if (!retryAfterHeaderName) + return; + const retryAfter = response.headers[retryAfterHeaderName]; + const retryAfterSeconds = Number(retryAfter); + if (!Number.isNaN(retryAfterSeconds)) + return new Date(retryAfterSeconds * 1000); + const retryAfterDate = new Date(retryAfter); + return retryAfterDate; +}; + +exports.AdaptiveRetryStrategy = AdaptiveRetryStrategy; +exports.CONFIG_MAX_ATTEMPTS = CONFIG_MAX_ATTEMPTS; +exports.CONFIG_RETRY_MODE = CONFIG_RETRY_MODE; +exports.ENV_MAX_ATTEMPTS = ENV_MAX_ATTEMPTS; +exports.ENV_RETRY_MODE = ENV_RETRY_MODE; +exports.NODE_MAX_ATTEMPT_CONFIG_OPTIONS = NODE_MAX_ATTEMPT_CONFIG_OPTIONS; +exports.NODE_RETRY_MODE_CONFIG_OPTIONS = NODE_RETRY_MODE_CONFIG_OPTIONS; +exports.StandardRetryStrategy = StandardRetryStrategy; +exports.defaultDelayDecider = defaultDelayDecider; +exports.defaultRetryDecider = defaultRetryDecider; +exports.getOmitRetryHeadersPlugin = getOmitRetryHeadersPlugin; +exports.getRetryAfterHint = getRetryAfterHint; +exports.getRetryPlugin = getRetryPlugin; +exports.omitRetryHeadersMiddleware = omitRetryHeadersMiddleware; +exports.omitRetryHeadersMiddlewareOptions = omitRetryHeadersMiddlewareOptions; +exports.resolveRetryConfig = resolveRetryConfig; +exports.retryMiddleware = retryMiddleware; +exports.retryMiddlewareOptions = retryMiddlewareOptions; diff --git a/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.browser.js b/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.browser.js new file mode 100644 index 0000000..ae99d1e --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.browser.js @@ -0,0 +1,5 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.isStreamingPayload = void 0; +const isStreamingPayload = (request) => request?.body instanceof ReadableStream; +exports.isStreamingPayload = isStreamingPayload; diff --git a/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js b/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js new file mode 100644 index 0000000..6d66c79 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.isStreamingPayload = void 0; +const stream_1 = require("stream"); +const isStreamingPayload = (request) => request?.body instanceof stream_1.Readable || + (typeof ReadableStream !== "undefined" && request?.body instanceof ReadableStream); +exports.isStreamingPayload = isStreamingPayload; diff --git a/node_modules/@smithy/middleware-retry/dist-es/AdaptiveRetryStrategy.js b/node_modules/@smithy/middleware-retry/dist-es/AdaptiveRetryStrategy.js new file mode 100644 index 0000000..367bdcd --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-es/AdaptiveRetryStrategy.js @@ -0,0 +1,21 @@ +import { DefaultRateLimiter, RETRY_MODES } from "@smithy/util-retry"; +import { StandardRetryStrategy } from "./StandardRetryStrategy"; +export class AdaptiveRetryStrategy extends StandardRetryStrategy { + rateLimiter; + constructor(maxAttemptsProvider, options) { + const { rateLimiter, ...superOptions } = options ?? {}; + super(maxAttemptsProvider, superOptions); + this.rateLimiter = rateLimiter ?? new DefaultRateLimiter(); + this.mode = RETRY_MODES.ADAPTIVE; + } + async retry(next, args) { + return super.retry(next, args, { + beforeRequest: async () => { + return this.rateLimiter.getSendToken(); + }, + afterRequest: (response) => { + this.rateLimiter.updateClientSendingRate(response); + }, + }); + } +} diff --git a/node_modules/@smithy/middleware-retry/dist-es/StandardRetryStrategy.js b/node_modules/@smithy/middleware-retry/dist-es/StandardRetryStrategy.js new file mode 100644 index 0000000..baea44c --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-es/StandardRetryStrategy.js @@ -0,0 +1,94 @@ +import { HttpRequest, HttpResponse } from "@smithy/protocol-http"; +import { isThrottlingError } from "@smithy/service-error-classification"; +import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_DELAY_BASE, INITIAL_RETRY_TOKENS, INVOCATION_ID_HEADER, REQUEST_HEADER, RETRY_MODES, THROTTLING_RETRY_DELAY_BASE, } from "@smithy/util-retry"; +import { v4 } from "@smithy/uuid"; +import { getDefaultRetryQuota } from "./defaultRetryQuota"; +import { defaultDelayDecider } from "./delayDecider"; +import { defaultRetryDecider } from "./retryDecider"; +import { asSdkError } from "./util"; +export class StandardRetryStrategy { + maxAttemptsProvider; + retryDecider; + delayDecider; + retryQuota; + mode = RETRY_MODES.STANDARD; + constructor(maxAttemptsProvider, options) { + this.maxAttemptsProvider = maxAttemptsProvider; + this.retryDecider = options?.retryDecider ?? defaultRetryDecider; + this.delayDecider = options?.delayDecider ?? defaultDelayDecider; + this.retryQuota = options?.retryQuota ?? getDefaultRetryQuota(INITIAL_RETRY_TOKENS); + } + shouldRetry(error, attempts, maxAttempts) { + return attempts < maxAttempts && this.retryDecider(error) && this.retryQuota.hasRetryTokens(error); + } + async getMaxAttempts() { + let maxAttempts; + try { + maxAttempts = await this.maxAttemptsProvider(); + } + catch (error) { + maxAttempts = DEFAULT_MAX_ATTEMPTS; + } + return maxAttempts; + } + async retry(next, args, options) { + let retryTokenAmount; + let attempts = 0; + let totalDelay = 0; + const maxAttempts = await this.getMaxAttempts(); + const { request } = args; + if (HttpRequest.isInstance(request)) { + request.headers[INVOCATION_ID_HEADER] = v4(); + } + while (true) { + try { + if (HttpRequest.isInstance(request)) { + request.headers[REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`; + } + if (options?.beforeRequest) { + await options.beforeRequest(); + } + const { response, output } = await next(args); + if (options?.afterRequest) { + options.afterRequest(response); + } + this.retryQuota.releaseRetryTokens(retryTokenAmount); + output.$metadata.attempts = attempts + 1; + output.$metadata.totalRetryDelay = totalDelay; + return { response, output }; + } + catch (e) { + const err = asSdkError(e); + attempts++; + if (this.shouldRetry(err, attempts, maxAttempts)) { + retryTokenAmount = this.retryQuota.retrieveRetryTokens(err); + const delayFromDecider = this.delayDecider(isThrottlingError(err) ? THROTTLING_RETRY_DELAY_BASE : DEFAULT_RETRY_DELAY_BASE, attempts); + const delayFromResponse = getDelayFromRetryAfterHeader(err.$response); + const delay = Math.max(delayFromResponse || 0, delayFromDecider); + totalDelay += delay; + await new Promise((resolve) => setTimeout(resolve, delay)); + continue; + } + if (!err.$metadata) { + err.$metadata = {}; + } + err.$metadata.attempts = attempts; + err.$metadata.totalRetryDelay = totalDelay; + throw err; + } + } + } +} +const getDelayFromRetryAfterHeader = (response) => { + if (!HttpResponse.isInstance(response)) + return; + const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after"); + if (!retryAfterHeaderName) + return; + const retryAfter = response.headers[retryAfterHeaderName]; + const retryAfterSeconds = Number(retryAfter); + if (!Number.isNaN(retryAfterSeconds)) + return retryAfterSeconds * 1000; + const retryAfterDate = new Date(retryAfter); + return retryAfterDate.getTime() - Date.now(); +}; diff --git a/node_modules/@smithy/middleware-retry/dist-es/configurations.js b/node_modules/@smithy/middleware-retry/dist-es/configurations.js new file mode 100644 index 0000000..a6a5239 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-es/configurations.js @@ -0,0 +1,48 @@ +import { normalizeProvider } from "@smithy/util-middleware"; +import { AdaptiveRetryStrategy, DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE, RETRY_MODES, StandardRetryStrategy, } from "@smithy/util-retry"; +export const ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS"; +export const CONFIG_MAX_ATTEMPTS = "max_attempts"; +export const NODE_MAX_ATTEMPT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => { + const value = env[ENV_MAX_ATTEMPTS]; + if (!value) + return undefined; + const maxAttempt = parseInt(value); + if (Number.isNaN(maxAttempt)) { + throw new Error(`Environment variable ${ENV_MAX_ATTEMPTS} mast be a number, got "${value}"`); + } + return maxAttempt; + }, + configFileSelector: (profile) => { + const value = profile[CONFIG_MAX_ATTEMPTS]; + if (!value) + return undefined; + const maxAttempt = parseInt(value); + if (Number.isNaN(maxAttempt)) { + throw new Error(`Shared config file entry ${CONFIG_MAX_ATTEMPTS} mast be a number, got "${value}"`); + } + return maxAttempt; + }, + default: DEFAULT_MAX_ATTEMPTS, +}; +export const resolveRetryConfig = (input) => { + const { retryStrategy, retryMode } = input; + const maxAttempts = normalizeProvider(input.maxAttempts ?? DEFAULT_MAX_ATTEMPTS); + let controller = retryStrategy + ? Promise.resolve(retryStrategy) + : undefined; + const getDefault = async () => (await normalizeProvider(retryMode)()) === RETRY_MODES.ADAPTIVE + ? new AdaptiveRetryStrategy(maxAttempts) + : new StandardRetryStrategy(maxAttempts); + return Object.assign(input, { + maxAttempts, + retryStrategy: () => (controller ??= getDefault()), + }); +}; +export const ENV_RETRY_MODE = "AWS_RETRY_MODE"; +export const CONFIG_RETRY_MODE = "retry_mode"; +export const NODE_RETRY_MODE_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[ENV_RETRY_MODE], + configFileSelector: (profile) => profile[CONFIG_RETRY_MODE], + default: DEFAULT_RETRY_MODE, +}; diff --git a/node_modules/@smithy/middleware-retry/dist-es/defaultRetryQuota.js b/node_modules/@smithy/middleware-retry/dist-es/defaultRetryQuota.js new file mode 100644 index 0000000..4bf6771 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-es/defaultRetryQuota.js @@ -0,0 +1,27 @@ +import { NO_RETRY_INCREMENT, RETRY_COST, TIMEOUT_RETRY_COST } from "@smithy/util-retry"; +export const getDefaultRetryQuota = (initialRetryTokens, options) => { + const MAX_CAPACITY = initialRetryTokens; + const noRetryIncrement = options?.noRetryIncrement ?? NO_RETRY_INCREMENT; + const retryCost = options?.retryCost ?? RETRY_COST; + const timeoutRetryCost = options?.timeoutRetryCost ?? TIMEOUT_RETRY_COST; + let availableCapacity = initialRetryTokens; + const getCapacityAmount = (error) => (error.name === "TimeoutError" ? timeoutRetryCost : retryCost); + const hasRetryTokens = (error) => getCapacityAmount(error) <= availableCapacity; + const retrieveRetryTokens = (error) => { + if (!hasRetryTokens(error)) { + throw new Error("No retry token available"); + } + const capacityAmount = getCapacityAmount(error); + availableCapacity -= capacityAmount; + return capacityAmount; + }; + const releaseRetryTokens = (capacityReleaseAmount) => { + availableCapacity += capacityReleaseAmount ?? noRetryIncrement; + availableCapacity = Math.min(availableCapacity, MAX_CAPACITY); + }; + return Object.freeze({ + hasRetryTokens, + retrieveRetryTokens, + releaseRetryTokens, + }); +}; diff --git a/node_modules/@smithy/middleware-retry/dist-es/delayDecider.js b/node_modules/@smithy/middleware-retry/dist-es/delayDecider.js new file mode 100644 index 0000000..2928506 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-es/delayDecider.js @@ -0,0 +1,2 @@ +import { MAXIMUM_RETRY_DELAY } from "@smithy/util-retry"; +export const defaultDelayDecider = (delayBase, attempts) => Math.floor(Math.min(MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase)); diff --git a/node_modules/@smithy/middleware-retry/dist-es/index.js b/node_modules/@smithy/middleware-retry/dist-es/index.js new file mode 100644 index 0000000..9ebe326 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-es/index.js @@ -0,0 +1,7 @@ +export * from "./AdaptiveRetryStrategy"; +export * from "./StandardRetryStrategy"; +export * from "./configurations"; +export * from "./delayDecider"; +export * from "./omitRetryHeadersMiddleware"; +export * from "./retryDecider"; +export * from "./retryMiddleware"; diff --git a/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.browser.js b/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.browser.js new file mode 100644 index 0000000..9569e92 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.browser.js @@ -0,0 +1 @@ +export const isStreamingPayload = (request) => request?.body instanceof ReadableStream; diff --git a/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.js b/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.js new file mode 100644 index 0000000..7dcc687 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.js @@ -0,0 +1,3 @@ +import { Readable } from "stream"; +export const isStreamingPayload = (request) => request?.body instanceof Readable || + (typeof ReadableStream !== "undefined" && request?.body instanceof ReadableStream); diff --git a/node_modules/@smithy/middleware-retry/dist-es/omitRetryHeadersMiddleware.js b/node_modules/@smithy/middleware-retry/dist-es/omitRetryHeadersMiddleware.js new file mode 100644 index 0000000..cb3c372 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-es/omitRetryHeadersMiddleware.js @@ -0,0 +1,22 @@ +import { HttpRequest } from "@smithy/protocol-http"; +import { INVOCATION_ID_HEADER, REQUEST_HEADER } from "@smithy/util-retry"; +export const omitRetryHeadersMiddleware = () => (next) => async (args) => { + const { request } = args; + if (HttpRequest.isInstance(request)) { + delete request.headers[INVOCATION_ID_HEADER]; + delete request.headers[REQUEST_HEADER]; + } + return next(args); +}; +export const omitRetryHeadersMiddlewareOptions = { + name: "omitRetryHeadersMiddleware", + tags: ["RETRY", "HEADERS", "OMIT_RETRY_HEADERS"], + relation: "before", + toMiddleware: "awsAuthMiddleware", + override: true, +}; +export const getOmitRetryHeadersPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(omitRetryHeadersMiddleware(), omitRetryHeadersMiddlewareOptions); + }, +}); diff --git a/node_modules/@smithy/middleware-retry/dist-es/retryDecider.js b/node_modules/@smithy/middleware-retry/dist-es/retryDecider.js new file mode 100644 index 0000000..b965fba --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-es/retryDecider.js @@ -0,0 +1,7 @@ +import { isClockSkewError, isRetryableByTrait, isThrottlingError, isTransientError, } from "@smithy/service-error-classification"; +export const defaultRetryDecider = (error) => { + if (!error) { + return false; + } + return isRetryableByTrait(error) || isClockSkewError(error) || isThrottlingError(error) || isTransientError(error); +}; diff --git a/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js b/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js new file mode 100644 index 0000000..5fa097a --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js @@ -0,0 +1,112 @@ +import { HttpRequest, HttpResponse } from "@smithy/protocol-http"; +import { isServerError, isThrottlingError, isTransientError } from "@smithy/service-error-classification"; +import { NoOpLogger } from "@smithy/smithy-client"; +import { INVOCATION_ID_HEADER, REQUEST_HEADER } from "@smithy/util-retry"; +import { v4 } from "@smithy/uuid"; +import { isStreamingPayload } from "./isStreamingPayload/isStreamingPayload"; +import { asSdkError } from "./util"; +export const retryMiddleware = (options) => (next, context) => async (args) => { + let retryStrategy = await options.retryStrategy(); + const maxAttempts = await options.maxAttempts(); + if (isRetryStrategyV2(retryStrategy)) { + retryStrategy = retryStrategy; + let retryToken = await retryStrategy.acquireInitialRetryToken(context["partition_id"]); + let lastError = new Error(); + let attempts = 0; + let totalRetryDelay = 0; + const { request } = args; + const isRequest = HttpRequest.isInstance(request); + if (isRequest) { + request.headers[INVOCATION_ID_HEADER] = v4(); + } + while (true) { + try { + if (isRequest) { + request.headers[REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`; + } + const { response, output } = await next(args); + retryStrategy.recordSuccess(retryToken); + output.$metadata.attempts = attempts + 1; + output.$metadata.totalRetryDelay = totalRetryDelay; + return { response, output }; + } + catch (e) { + const retryErrorInfo = getRetryErrorInfo(e); + lastError = asSdkError(e); + if (isRequest && isStreamingPayload(request)) { + (context.logger instanceof NoOpLogger ? console : context.logger)?.warn("An error was encountered in a non-retryable streaming request."); + throw lastError; + } + try { + retryToken = await retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo); + } + catch (refreshError) { + if (!lastError.$metadata) { + lastError.$metadata = {}; + } + lastError.$metadata.attempts = attempts + 1; + lastError.$metadata.totalRetryDelay = totalRetryDelay; + throw lastError; + } + attempts = retryToken.getRetryCount(); + const delay = retryToken.getRetryDelay(); + totalRetryDelay += delay; + await new Promise((resolve) => setTimeout(resolve, delay)); + } + } + } + else { + retryStrategy = retryStrategy; + if (retryStrategy?.mode) + context.userAgent = [...(context.userAgent || []), ["cfg/retry-mode", retryStrategy.mode]]; + return retryStrategy.retry(next, args); + } +}; +const isRetryStrategyV2 = (retryStrategy) => typeof retryStrategy.acquireInitialRetryToken !== "undefined" && + typeof retryStrategy.refreshRetryTokenForRetry !== "undefined" && + typeof retryStrategy.recordSuccess !== "undefined"; +const getRetryErrorInfo = (error) => { + const errorInfo = { + error, + errorType: getRetryErrorType(error), + }; + const retryAfterHint = getRetryAfterHint(error.$response); + if (retryAfterHint) { + errorInfo.retryAfterHint = retryAfterHint; + } + return errorInfo; +}; +const getRetryErrorType = (error) => { + if (isThrottlingError(error)) + return "THROTTLING"; + if (isTransientError(error)) + return "TRANSIENT"; + if (isServerError(error)) + return "SERVER_ERROR"; + return "CLIENT_ERROR"; +}; +export const retryMiddlewareOptions = { + name: "retryMiddleware", + tags: ["RETRY"], + step: "finalizeRequest", + priority: "high", + override: true, +}; +export const getRetryPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(retryMiddleware(options), retryMiddlewareOptions); + }, +}); +export const getRetryAfterHint = (response) => { + if (!HttpResponse.isInstance(response)) + return; + const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after"); + if (!retryAfterHeaderName) + return; + const retryAfter = response.headers[retryAfterHeaderName]; + const retryAfterSeconds = Number(retryAfter); + if (!Number.isNaN(retryAfterSeconds)) + return new Date(retryAfterSeconds * 1000); + const retryAfterDate = new Date(retryAfter); + return retryAfterDate; +}; diff --git a/node_modules/@smithy/middleware-retry/dist-es/types.js b/node_modules/@smithy/middleware-retry/dist-es/types.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-es/types.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/middleware-retry/dist-es/util.js b/node_modules/@smithy/middleware-retry/dist-es/util.js new file mode 100644 index 0000000..f45e6b4 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-es/util.js @@ -0,0 +1,9 @@ +export const asSdkError = (error) => { + if (error instanceof Error) + return error; + if (error instanceof Object) + return Object.assign(new Error(), error); + if (typeof error === "string") + return new Error(error); + return new Error(`AWS SDK error wrapper for ${error}`); +}; diff --git a/node_modules/@smithy/middleware-retry/dist-types/AdaptiveRetryStrategy.d.ts b/node_modules/@smithy/middleware-retry/dist-types/AdaptiveRetryStrategy.d.ts new file mode 100644 index 0000000..4d139e9 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/AdaptiveRetryStrategy.d.ts @@ -0,0 +1,23 @@ +import type { FinalizeHandler, FinalizeHandlerArguments, MetadataBearer, Provider } from "@smithy/types"; +import type { RateLimiter } from "@smithy/util-retry"; +import type { StandardRetryStrategyOptions } from "./StandardRetryStrategy"; +import { StandardRetryStrategy } from "./StandardRetryStrategy"; +/** + * @public + * Strategy options to be passed to AdaptiveRetryStrategy + */ +export interface AdaptiveRetryStrategyOptions extends StandardRetryStrategyOptions { + rateLimiter?: RateLimiter; +} +/** + * @public + * @deprecated use AdaptiveRetryStrategy from @smithy/util-retry + */ +export declare class AdaptiveRetryStrategy extends StandardRetryStrategy { + private rateLimiter; + constructor(maxAttemptsProvider: Provider, options?: AdaptiveRetryStrategyOptions); + retry(next: FinalizeHandler, args: FinalizeHandlerArguments): Promise<{ + response: unknown; + output: Ouput; + }>; +} diff --git a/node_modules/@smithy/middleware-retry/dist-types/StandardRetryStrategy.d.ts b/node_modules/@smithy/middleware-retry/dist-types/StandardRetryStrategy.d.ts new file mode 100644 index 0000000..60f2b1f --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/StandardRetryStrategy.d.ts @@ -0,0 +1,33 @@ +import type { FinalizeHandler, FinalizeHandlerArguments, MetadataBearer, Provider, RetryStrategy } from "@smithy/types"; +import type { DelayDecider, RetryDecider, RetryQuota } from "./types"; +/** + * Strategy options to be passed to StandardRetryStrategy + * @public + * @deprecated use StandardRetryStrategy from @smithy/util-retry + */ +export interface StandardRetryStrategyOptions { + retryDecider?: RetryDecider; + delayDecider?: DelayDecider; + retryQuota?: RetryQuota; +} +/** + * @public + * @deprecated use StandardRetryStrategy from @smithy/util-retry + */ +export declare class StandardRetryStrategy implements RetryStrategy { + private readonly maxAttemptsProvider; + private retryDecider; + private delayDecider; + private retryQuota; + mode: string; + constructor(maxAttemptsProvider: Provider, options?: StandardRetryStrategyOptions); + private shouldRetry; + private getMaxAttempts; + retry(next: FinalizeHandler, args: FinalizeHandlerArguments, options?: { + beforeRequest: Function; + afterRequest: Function; + }): Promise<{ + response: unknown; + output: Ouput; + }>; +} diff --git a/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts b/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts new file mode 100644 index 0000000..cf849f7 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts @@ -0,0 +1,66 @@ +import type { LoadedConfigSelectors } from "@smithy/node-config-provider"; +import type { Provider, RetryStrategy, RetryStrategyV2 } from "@smithy/types"; +/** + * @internal + */ +export declare const ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS"; +/** + * @internal + */ +export declare const CONFIG_MAX_ATTEMPTS = "max_attempts"; +/** + * @internal + */ +export declare const NODE_MAX_ATTEMPT_CONFIG_OPTIONS: LoadedConfigSelectors; +/** + * @public + */ +export interface RetryInputConfig { + /** + * The maximum number of times requests that encounter retryable failures should be attempted. + */ + maxAttempts?: number | Provider; + /** + * The strategy to retry the request. Using built-in exponential backoff strategy by default. + */ + retryStrategy?: RetryStrategy | RetryStrategyV2; +} +/** + * @internal + */ +export interface PreviouslyResolved { + /** + * Specifies provider for retry algorithm to use. + * @internal + */ + retryMode: string | Provider; +} +/** + * @internal + */ +export interface RetryResolvedConfig { + /** + * Resolved value for input config {@link RetryInputConfig.maxAttempts} + */ + maxAttempts: Provider; + /** + * Resolved value for input config {@link RetryInputConfig.retryStrategy} + */ + retryStrategy: Provider; +} +/** + * @internal + */ +export declare const resolveRetryConfig: (input: T & PreviouslyResolved & RetryInputConfig) => T & RetryResolvedConfig; +/** + * @internal + */ +export declare const ENV_RETRY_MODE = "AWS_RETRY_MODE"; +/** + * @internal + */ +export declare const CONFIG_RETRY_MODE = "retry_mode"; +/** + * @internal + */ +export declare const NODE_RETRY_MODE_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@smithy/middleware-retry/dist-types/defaultRetryQuota.d.ts b/node_modules/@smithy/middleware-retry/dist-types/defaultRetryQuota.d.ts new file mode 100644 index 0000000..c9be835 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/defaultRetryQuota.d.ts @@ -0,0 +1,24 @@ +import type { RetryQuota } from "./types"; +/** + * @internal + */ +export interface DefaultRetryQuotaOptions { + /** + * The total amount of retry token to be incremented from retry token balance + * if an SDK operation invocation succeeds without requiring a retry request. + */ + noRetryIncrement?: number; + /** + * The total amount of retry tokens to be decremented from retry token balance. + */ + retryCost?: number; + /** + * The total amount of retry tokens to be decremented from retry token balance + * when a throttling error is encountered. + */ + timeoutRetryCost?: number; +} +/** + * @internal + */ +export declare const getDefaultRetryQuota: (initialRetryTokens: number, options?: DefaultRetryQuotaOptions) => RetryQuota; diff --git a/node_modules/@smithy/middleware-retry/dist-types/delayDecider.d.ts b/node_modules/@smithy/middleware-retry/dist-types/delayDecider.d.ts new file mode 100644 index 0000000..986ff42 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/delayDecider.d.ts @@ -0,0 +1,5 @@ +/** + * @internal + * Calculate a capped, fully-jittered exponential backoff time. + */ +export declare const defaultDelayDecider: (delayBase: number, attempts: number) => number; diff --git a/node_modules/@smithy/middleware-retry/dist-types/index.d.ts b/node_modules/@smithy/middleware-retry/dist-types/index.d.ts new file mode 100644 index 0000000..9ebe326 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/index.d.ts @@ -0,0 +1,7 @@ +export * from "./AdaptiveRetryStrategy"; +export * from "./StandardRetryStrategy"; +export * from "./configurations"; +export * from "./delayDecider"; +export * from "./omitRetryHeadersMiddleware"; +export * from "./retryDecider"; +export * from "./retryMiddleware"; diff --git a/node_modules/@smithy/middleware-retry/dist-types/isStreamingPayload/isStreamingPayload.browser.d.ts b/node_modules/@smithy/middleware-retry/dist-types/isStreamingPayload/isStreamingPayload.browser.d.ts new file mode 100644 index 0000000..48d70ba --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/isStreamingPayload/isStreamingPayload.browser.d.ts @@ -0,0 +1,5 @@ +import type { HttpRequest } from "@smithy/protocol-http"; +/** + * @internal + */ +export declare const isStreamingPayload: (request: HttpRequest) => boolean; diff --git a/node_modules/@smithy/middleware-retry/dist-types/isStreamingPayload/isStreamingPayload.d.ts b/node_modules/@smithy/middleware-retry/dist-types/isStreamingPayload/isStreamingPayload.d.ts new file mode 100644 index 0000000..48d70ba --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/isStreamingPayload/isStreamingPayload.d.ts @@ -0,0 +1,5 @@ +import type { HttpRequest } from "@smithy/protocol-http"; +/** + * @internal + */ +export declare const isStreamingPayload: (request: HttpRequest) => boolean; diff --git a/node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts b/node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts new file mode 100644 index 0000000..282ddc3 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts @@ -0,0 +1,13 @@ +import type { FinalizeHandler, MetadataBearer, Pluggable, RelativeMiddlewareOptions } from "@smithy/types"; +/** + * @internal + */ +export declare const omitRetryHeadersMiddleware: () => (next: FinalizeHandler) => FinalizeHandler; +/** + * @internal + */ +export declare const omitRetryHeadersMiddlewareOptions: RelativeMiddlewareOptions; +/** + * @internal + */ +export declare const getOmitRetryHeadersPlugin: (options: unknown) => Pluggable; diff --git a/node_modules/@smithy/middleware-retry/dist-types/retryDecider.d.ts b/node_modules/@smithy/middleware-retry/dist-types/retryDecider.d.ts new file mode 100644 index 0000000..5c1bb18 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/retryDecider.d.ts @@ -0,0 +1,6 @@ +import type { SdkError } from "@smithy/types"; +/** + * @internal + * @deprecated this is only used in the deprecated StandardRetryStrategy. Do not use in new code. + */ +export declare const defaultRetryDecider: (error: SdkError) => boolean; diff --git a/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts b/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts new file mode 100644 index 0000000..445990f --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts @@ -0,0 +1,18 @@ +import type { AbsoluteLocation, FinalizeHandler, FinalizeRequestHandlerOptions, HandlerExecutionContext, MetadataBearer, Pluggable } from "@smithy/types"; +import type { RetryResolvedConfig } from "./configurations"; +/** + * @internal + */ +export declare const retryMiddleware: (options: RetryResolvedConfig) => (next: FinalizeHandler, context: HandlerExecutionContext) => FinalizeHandler; +/** + * @internal + */ +export declare const retryMiddlewareOptions: FinalizeRequestHandlerOptions & AbsoluteLocation; +/** + * @internal + */ +export declare const getRetryPlugin: (options: RetryResolvedConfig) => Pluggable; +/** + * @internal + */ +export declare const getRetryAfterHint: (response: unknown) => Date | undefined; diff --git a/node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts new file mode 100644 index 0000000..dbb3201 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts @@ -0,0 +1,23 @@ +import { FinalizeHandler, FinalizeHandlerArguments, MetadataBearer, Provider } from "@smithy/types"; +import { RateLimiter } from "@smithy/util-retry"; +import { StandardRetryStrategyOptions } from "./StandardRetryStrategy"; +import { StandardRetryStrategy } from "./StandardRetryStrategy"; +/** + * @public + * Strategy options to be passed to AdaptiveRetryStrategy + */ +export interface AdaptiveRetryStrategyOptions extends StandardRetryStrategyOptions { + rateLimiter?: RateLimiter; +} +/** + * @public + * @deprecated use AdaptiveRetryStrategy from @smithy/util-retry + */ +export declare class AdaptiveRetryStrategy extends StandardRetryStrategy { + private rateLimiter; + constructor(maxAttemptsProvider: Provider, options?: AdaptiveRetryStrategyOptions); + retry(next: FinalizeHandler, args: FinalizeHandlerArguments): Promise<{ + response: unknown; + output: Ouput; + }>; +} diff --git a/node_modules/@smithy/middleware-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts new file mode 100644 index 0000000..7007ac3 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts @@ -0,0 +1,33 @@ +import { FinalizeHandler, FinalizeHandlerArguments, MetadataBearer, Provider, RetryStrategy } from "@smithy/types"; +import { DelayDecider, RetryDecider, RetryQuota } from "./types"; +/** + * Strategy options to be passed to StandardRetryStrategy + * @public + * @deprecated use StandardRetryStrategy from @smithy/util-retry + */ +export interface StandardRetryStrategyOptions { + retryDecider?: RetryDecider; + delayDecider?: DelayDecider; + retryQuota?: RetryQuota; +} +/** + * @public + * @deprecated use StandardRetryStrategy from @smithy/util-retry + */ +export declare class StandardRetryStrategy implements RetryStrategy { + private readonly maxAttemptsProvider; + private retryDecider; + private delayDecider; + private retryQuota; + mode: string; + constructor(maxAttemptsProvider: Provider, options?: StandardRetryStrategyOptions); + private shouldRetry; + private getMaxAttempts; + retry(next: FinalizeHandler, args: FinalizeHandlerArguments, options?: { + beforeRequest: Function; + afterRequest: Function; + }): Promise<{ + response: unknown; + output: Ouput; + }>; +} diff --git a/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts new file mode 100644 index 0000000..150c2a3 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts @@ -0,0 +1,66 @@ +import { LoadedConfigSelectors } from "@smithy/node-config-provider"; +import { Provider, RetryStrategy, RetryStrategyV2 } from "@smithy/types"; +/** + * @internal + */ +export declare const ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS"; +/** + * @internal + */ +export declare const CONFIG_MAX_ATTEMPTS = "max_attempts"; +/** + * @internal + */ +export declare const NODE_MAX_ATTEMPT_CONFIG_OPTIONS: LoadedConfigSelectors; +/** + * @public + */ +export interface RetryInputConfig { + /** + * The maximum number of times requests that encounter retryable failures should be attempted. + */ + maxAttempts?: number | Provider; + /** + * The strategy to retry the request. Using built-in exponential backoff strategy by default. + */ + retryStrategy?: RetryStrategy | RetryStrategyV2; +} +/** + * @internal + */ +export interface PreviouslyResolved { + /** + * Specifies provider for retry algorithm to use. + * @internal + */ + retryMode: string | Provider; +} +/** + * @internal + */ +export interface RetryResolvedConfig { + /** + * Resolved value for input config {@link RetryInputConfig.maxAttempts} + */ + maxAttempts: Provider; + /** + * Resolved value for input config {@link RetryInputConfig.retryStrategy} + */ + retryStrategy: Provider; +} +/** + * @internal + */ +export declare const resolveRetryConfig: (input: T & PreviouslyResolved & RetryInputConfig) => T & RetryResolvedConfig; +/** + * @internal + */ +export declare const ENV_RETRY_MODE = "AWS_RETRY_MODE"; +/** + * @internal + */ +export declare const CONFIG_RETRY_MODE = "retry_mode"; +/** + * @internal + */ +export declare const NODE_RETRY_MODE_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@smithy/middleware-retry/dist-types/ts3.4/defaultRetryQuota.d.ts b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/defaultRetryQuota.d.ts new file mode 100644 index 0000000..332a494 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/defaultRetryQuota.d.ts @@ -0,0 +1,24 @@ +import { RetryQuota } from "./types"; +/** + * @internal + */ +export interface DefaultRetryQuotaOptions { + /** + * The total amount of retry token to be incremented from retry token balance + * if an SDK operation invocation succeeds without requiring a retry request. + */ + noRetryIncrement?: number; + /** + * The total amount of retry tokens to be decremented from retry token balance. + */ + retryCost?: number; + /** + * The total amount of retry tokens to be decremented from retry token balance + * when a throttling error is encountered. + */ + timeoutRetryCost?: number; +} +/** + * @internal + */ +export declare const getDefaultRetryQuota: (initialRetryTokens: number, options?: DefaultRetryQuotaOptions) => RetryQuota; diff --git a/node_modules/@smithy/middleware-retry/dist-types/ts3.4/delayDecider.d.ts b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/delayDecider.d.ts new file mode 100644 index 0000000..986ff42 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/delayDecider.d.ts @@ -0,0 +1,5 @@ +/** + * @internal + * Calculate a capped, fully-jittered exponential backoff time. + */ +export declare const defaultDelayDecider: (delayBase: number, attempts: number) => number; diff --git a/node_modules/@smithy/middleware-retry/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..9ebe326 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/index.d.ts @@ -0,0 +1,7 @@ +export * from "./AdaptiveRetryStrategy"; +export * from "./StandardRetryStrategy"; +export * from "./configurations"; +export * from "./delayDecider"; +export * from "./omitRetryHeadersMiddleware"; +export * from "./retryDecider"; +export * from "./retryMiddleware"; diff --git a/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.browser.d.ts b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.browser.d.ts new file mode 100644 index 0000000..2349040 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.browser.d.ts @@ -0,0 +1,5 @@ +import { HttpRequest } from "@smithy/protocol-http"; +/** + * @internal + */ +export declare const isStreamingPayload: (request: HttpRequest) => boolean; diff --git a/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.d.ts b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.d.ts new file mode 100644 index 0000000..2349040 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.d.ts @@ -0,0 +1,5 @@ +import { HttpRequest } from "@smithy/protocol-http"; +/** + * @internal + */ +export declare const isStreamingPayload: (request: HttpRequest) => boolean; diff --git a/node_modules/@smithy/middleware-retry/dist-types/ts3.4/omitRetryHeadersMiddleware.d.ts b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/omitRetryHeadersMiddleware.d.ts new file mode 100644 index 0000000..50c1ab6 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/omitRetryHeadersMiddleware.d.ts @@ -0,0 +1,13 @@ +import { FinalizeHandler, MetadataBearer, Pluggable, RelativeMiddlewareOptions } from "@smithy/types"; +/** + * @internal + */ +export declare const omitRetryHeadersMiddleware: () => (next: FinalizeHandler) => FinalizeHandler; +/** + * @internal + */ +export declare const omitRetryHeadersMiddlewareOptions: RelativeMiddlewareOptions; +/** + * @internal + */ +export declare const getOmitRetryHeadersPlugin: (options: unknown) => Pluggable; diff --git a/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryDecider.d.ts b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryDecider.d.ts new file mode 100644 index 0000000..11a4a9c --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryDecider.d.ts @@ -0,0 +1,6 @@ +import { SdkError } from "@smithy/types"; +/** + * @internal + * @deprecated this is only used in the deprecated StandardRetryStrategy. Do not use in new code. + */ +export declare const defaultRetryDecider: (error: SdkError) => boolean; diff --git a/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryMiddleware.d.ts b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryMiddleware.d.ts new file mode 100644 index 0000000..9310301 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryMiddleware.d.ts @@ -0,0 +1,18 @@ +import { AbsoluteLocation, FinalizeHandler, FinalizeRequestHandlerOptions, HandlerExecutionContext, MetadataBearer, Pluggable } from "@smithy/types"; +import { RetryResolvedConfig } from "./configurations"; +/** + * @internal + */ +export declare const retryMiddleware: (options: RetryResolvedConfig) => (next: FinalizeHandler, context: HandlerExecutionContext) => FinalizeHandler; +/** + * @internal + */ +export declare const retryMiddlewareOptions: FinalizeRequestHandlerOptions & AbsoluteLocation; +/** + * @internal + */ +export declare const getRetryPlugin: (options: RetryResolvedConfig) => Pluggable; +/** + * @internal + */ +export declare const getRetryAfterHint: (response: unknown) => Date | undefined; diff --git a/node_modules/@smithy/middleware-retry/dist-types/ts3.4/types.d.ts b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/types.d.ts new file mode 100644 index 0000000..8f22712 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/types.d.ts @@ -0,0 +1,65 @@ +import { SdkError } from "@smithy/types"; +/** + * Determines whether an error is retryable based on the number of retries + * already attempted, the HTTP status code, and the error received (if any). + * + * @param error - The error encountered. + * + * @deprecated + * @internal + */ +export interface RetryDecider { + (error: SdkError): boolean; +} +/** + * Determines the number of milliseconds to wait before retrying an action. + * + * @param delayBase - The base delay (in milliseconds). + * @param attempts - The number of times the action has already been tried. + * + * @deprecated + * @internal + */ +export interface DelayDecider { + (delayBase: number, attempts: number): number; +} +/** + * Interface that specifies the retry quota behavior. + * @deprecated + * @internal + */ +export interface RetryQuota { + /** + * returns true if retry tokens are available from the retry quota bucket. + */ + hasRetryTokens: (error: SdkError) => boolean; + /** + * returns token amount from the retry quota bucket. + * throws error is retry tokens are not available. + */ + retrieveRetryTokens: (error: SdkError) => number; + /** + * releases tokens back to the retry quota. + */ + releaseRetryTokens: (releaseCapacityAmount?: number) => void; +} +/** + * @deprecated + * @internal + */ +export interface RateLimiter { + /** + * If there is sufficient capacity (tokens) available, it immediately returns. + * If there is not sufficient capacity, it will either sleep a certain amount + * of time until the rate limiter can retrieve a token from its token bucket + * or raise an exception indicating there is insufficient capacity. + */ + getSendToken: () => Promise; + /** + * Updates the client sending rate based on response. + * If the response was successful, the capacity and fill rate are increased. + * If the response was a throttling response, the capacity and fill rate are + * decreased. Transient errors do not affect the rate limiter. + */ + updateClientSendingRate: (response: any) => void; +} diff --git a/node_modules/@smithy/middleware-retry/dist-types/ts3.4/util.d.ts b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/util.d.ts new file mode 100644 index 0000000..00939b8 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/ts3.4/util.d.ts @@ -0,0 +1,2 @@ +import { SdkError } from "@smithy/types"; +export declare const asSdkError: (error: unknown) => SdkError; diff --git a/node_modules/@smithy/middleware-retry/dist-types/types.d.ts b/node_modules/@smithy/middleware-retry/dist-types/types.d.ts new file mode 100644 index 0000000..622302d --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/types.d.ts @@ -0,0 +1,65 @@ +import type { SdkError } from "@smithy/types"; +/** + * Determines whether an error is retryable based on the number of retries + * already attempted, the HTTP status code, and the error received (if any). + * + * @param error - The error encountered. + * + * @deprecated + * @internal + */ +export interface RetryDecider { + (error: SdkError): boolean; +} +/** + * Determines the number of milliseconds to wait before retrying an action. + * + * @param delayBase - The base delay (in milliseconds). + * @param attempts - The number of times the action has already been tried. + * + * @deprecated + * @internal + */ +export interface DelayDecider { + (delayBase: number, attempts: number): number; +} +/** + * Interface that specifies the retry quota behavior. + * @deprecated + * @internal + */ +export interface RetryQuota { + /** + * returns true if retry tokens are available from the retry quota bucket. + */ + hasRetryTokens: (error: SdkError) => boolean; + /** + * returns token amount from the retry quota bucket. + * throws error is retry tokens are not available. + */ + retrieveRetryTokens: (error: SdkError) => number; + /** + * releases tokens back to the retry quota. + */ + releaseRetryTokens: (releaseCapacityAmount?: number) => void; +} +/** + * @deprecated + * @internal + */ +export interface RateLimiter { + /** + * If there is sufficient capacity (tokens) available, it immediately returns. + * If there is not sufficient capacity, it will either sleep a certain amount + * of time until the rate limiter can retrieve a token from its token bucket + * or raise an exception indicating there is insufficient capacity. + */ + getSendToken: () => Promise; + /** + * Updates the client sending rate based on response. + * If the response was successful, the capacity and fill rate are increased. + * If the response was a throttling response, the capacity and fill rate are + * decreased. Transient errors do not affect the rate limiter. + */ + updateClientSendingRate: (response: any) => void; +} diff --git a/node_modules/@smithy/middleware-retry/dist-types/util.d.ts b/node_modules/@smithy/middleware-retry/dist-types/util.d.ts new file mode 100644 index 0000000..8b8e01c --- /dev/null +++ b/node_modules/@smithy/middleware-retry/dist-types/util.d.ts @@ -0,0 +1,2 @@ +import type { SdkError } from "@smithy/types"; +export declare const asSdkError: (error: unknown) => SdkError; diff --git a/node_modules/@smithy/middleware-retry/package.json b/node_modules/@smithy/middleware-retry/package.json new file mode 100644 index 0000000..a890bd8 --- /dev/null +++ b/node_modules/@smithy/middleware-retry/package.json @@ -0,0 +1,79 @@ +{ + "name": "@smithy/middleware-retry", + "version": "4.4.46", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline middleware-retry", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "extract:docs": "api-extractor run --local", + "test": "yarn g:vitest run", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:watch": "yarn g:vitest watch", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "browser": { + "./dist-es/isStreamingPayload/isStreamingPayload": "./dist-es/isStreamingPayload/isStreamingPayload.browser" + }, + "react-native": { + "./dist-cjs/isStreamingPayload/isStreamingPayload": "./dist-cjs/isStreamingPayload/isStreamingPayload.browser", + "./dist-es/isStreamingPayload/isStreamingPayload": "./dist-es/isStreamingPayload/isStreamingPayload.browser" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/node-config-provider": "^4.3.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/service-error-classification": "^4.2.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-retry": "^4.2.13", + "@smithy/uuid": "^1.1.2", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@smithy/util-test": "^0.2.8", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/middleware-retry", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/middleware-retry" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/middleware-serde/LICENSE b/node_modules/@smithy/middleware-serde/LICENSE new file mode 100644 index 0000000..e907b58 --- /dev/null +++ b/node_modules/@smithy/middleware-serde/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@smithy/middleware-serde/README.md b/node_modules/@smithy/middleware-serde/README.md new file mode 100644 index 0000000..1072439 --- /dev/null +++ b/node_modules/@smithy/middleware-serde/README.md @@ -0,0 +1,17 @@ +# @smithy/middleware-serde + +[![NPM version](https://img.shields.io/npm/v/@smithy/middleware-serde/latest.svg)](https://www.npmjs.com/package/@smithy/middleware-serde) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/middleware-serde.svg)](https://www.npmjs.com/package/@smithy/middleware-serde) + +### :warning: Internal API :warning: + +> This is an internal package. +> That means this is used as a dependency for other, public packages, but +> should not be taken directly as a dependency in your application's `package.json`. + +> If you are updating the version of this package, for example to bring in a +> bug-fix, you should do so by updating your application lockfile with +> e.g. `npm up @scope/package` or equivalent command in another +> package manager, rather than taking a direct dependency. + +--- diff --git a/node_modules/@smithy/middleware-serde/dist-cjs/index.js b/node_modules/@smithy/middleware-serde/dist-cjs/index.js new file mode 100644 index 0000000..520c6b1 --- /dev/null +++ b/node_modules/@smithy/middleware-serde/dist-cjs/index.js @@ -0,0 +1,104 @@ +'use strict'; + +var protocolHttp = require('@smithy/protocol-http'); +var endpoints = require('@smithy/core/endpoints'); + +const deserializerMiddleware = (options, deserializer) => (next, context) => async (args) => { + const { response } = await next(args); + try { + const parsed = await deserializer(response, options); + return { + response, + output: parsed, + }; + } + catch (error) { + Object.defineProperty(error, "$response", { + value: response, + enumerable: false, + writable: false, + configurable: false, + }); + if (!("$metadata" in error)) { + const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`; + try { + error.message += "\n " + hint; + } + catch (e) { + if (!context.logger || context.logger?.constructor?.name === "NoOpLogger") { + console.warn(hint); + } + else { + context.logger?.warn?.(hint); + } + } + if (typeof error.$responseBodyText !== "undefined") { + if (error.$response) { + error.$response.body = error.$responseBodyText; + } + } + try { + if (protocolHttp.HttpResponse.isInstance(response)) { + const { headers = {} } = response; + const headerEntries = Object.entries(headers); + error.$metadata = { + httpStatusCode: response.statusCode, + requestId: findHeader(/^x-[\w-]+-request-?id$/, headerEntries), + extendedRequestId: findHeader(/^x-[\w-]+-id-2$/, headerEntries), + cfId: findHeader(/^x-[\w-]+-cf-id$/, headerEntries), + }; + } + } + catch (e) { + } + } + throw error; + } +}; +const findHeader = (pattern, headers) => { + return (headers.find(([k]) => { + return k.match(pattern); + }) || [void 0, void 0])[1]; +}; + +const serializerMiddleware = (options, serializer) => (next, context) => async (args) => { + const endpointConfig = options; + const endpoint = context.endpointV2 + ? async () => endpoints.toEndpointV1(context.endpointV2) + : endpointConfig.endpoint; + if (!endpoint) { + throw new Error("No valid endpoint provider available."); + } + const request = await serializer(args.input, { ...options, endpoint }); + return next({ + ...args, + request, + }); +}; + +const deserializerMiddlewareOption = { + name: "deserializerMiddleware", + step: "deserialize", + tags: ["DESERIALIZER"], + override: true, +}; +const serializerMiddlewareOption = { + name: "serializerMiddleware", + step: "serialize", + tags: ["SERIALIZER"], + override: true, +}; +function getSerdePlugin(config, serializer, deserializer) { + return { + applyToStack: (commandStack) => { + commandStack.add(deserializerMiddleware(config, deserializer), deserializerMiddlewareOption); + commandStack.add(serializerMiddleware(config, serializer), serializerMiddlewareOption); + }, + }; +} + +exports.deserializerMiddleware = deserializerMiddleware; +exports.deserializerMiddlewareOption = deserializerMiddlewareOption; +exports.getSerdePlugin = getSerdePlugin; +exports.serializerMiddleware = serializerMiddleware; +exports.serializerMiddlewareOption = serializerMiddlewareOption; diff --git a/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js b/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js new file mode 100644 index 0000000..a83d356 --- /dev/null +++ b/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js @@ -0,0 +1,58 @@ +import { HttpResponse } from "@smithy/protocol-http"; +export const deserializerMiddleware = (options, deserializer) => (next, context) => async (args) => { + const { response } = await next(args); + try { + const parsed = await deserializer(response, options); + return { + response, + output: parsed, + }; + } + catch (error) { + Object.defineProperty(error, "$response", { + value: response, + enumerable: false, + writable: false, + configurable: false, + }); + if (!("$metadata" in error)) { + const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`; + try { + error.message += "\n " + hint; + } + catch (e) { + if (!context.logger || context.logger?.constructor?.name === "NoOpLogger") { + console.warn(hint); + } + else { + context.logger?.warn?.(hint); + } + } + if (typeof error.$responseBodyText !== "undefined") { + if (error.$response) { + error.$response.body = error.$responseBodyText; + } + } + try { + if (HttpResponse.isInstance(response)) { + const { headers = {} } = response; + const headerEntries = Object.entries(headers); + error.$metadata = { + httpStatusCode: response.statusCode, + requestId: findHeader(/^x-[\w-]+-request-?id$/, headerEntries), + extendedRequestId: findHeader(/^x-[\w-]+-id-2$/, headerEntries), + cfId: findHeader(/^x-[\w-]+-cf-id$/, headerEntries), + }; + } + } + catch (e) { + } + } + throw error; + } +}; +const findHeader = (pattern, headers) => { + return (headers.find(([k]) => { + return k.match(pattern); + }) || [void 0, void 1])[1]; +}; diff --git a/node_modules/@smithy/middleware-serde/dist-es/index.js b/node_modules/@smithy/middleware-serde/dist-es/index.js new file mode 100644 index 0000000..166a2be --- /dev/null +++ b/node_modules/@smithy/middleware-serde/dist-es/index.js @@ -0,0 +1,3 @@ +export * from "./deserializerMiddleware"; +export * from "./serdePlugin"; +export * from "./serializerMiddleware"; diff --git a/node_modules/@smithy/middleware-serde/dist-es/serdePlugin.js b/node_modules/@smithy/middleware-serde/dist-es/serdePlugin.js new file mode 100644 index 0000000..be2a06e --- /dev/null +++ b/node_modules/@smithy/middleware-serde/dist-es/serdePlugin.js @@ -0,0 +1,22 @@ +import { deserializerMiddleware } from "./deserializerMiddleware"; +import { serializerMiddleware } from "./serializerMiddleware"; +export const deserializerMiddlewareOption = { + name: "deserializerMiddleware", + step: "deserialize", + tags: ["DESERIALIZER"], + override: true, +}; +export const serializerMiddlewareOption = { + name: "serializerMiddleware", + step: "serialize", + tags: ["SERIALIZER"], + override: true, +}; +export function getSerdePlugin(config, serializer, deserializer) { + return { + applyToStack: (commandStack) => { + commandStack.add(deserializerMiddleware(config, deserializer), deserializerMiddlewareOption); + commandStack.add(serializerMiddleware(config, serializer), serializerMiddlewareOption); + }, + }; +} diff --git a/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js b/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js new file mode 100644 index 0000000..f32db4a --- /dev/null +++ b/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js @@ -0,0 +1,15 @@ +import { toEndpointV1 } from "@smithy/core/endpoints"; +export const serializerMiddleware = (options, serializer) => (next, context) => async (args) => { + const endpointConfig = options; + const endpoint = context.endpointV2 + ? async () => toEndpointV1(context.endpointV2) + : endpointConfig.endpoint; + if (!endpoint) { + throw new Error("No valid endpoint provider available."); + } + const request = await serializer(args.input, { ...options, endpoint }); + return next({ + ...args, + request, + }); +}; diff --git a/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts b/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts new file mode 100644 index 0000000..2a66d7c --- /dev/null +++ b/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts @@ -0,0 +1,6 @@ +import type { DeserializeMiddleware, ResponseDeserializer, SerdeContext, SerdeFunctions } from "@smithy/types"; +/** + * @internal + * @deprecated will be replaced by schemaSerdePlugin from core/schema. + */ +export declare const deserializerMiddleware: (options: SerdeFunctions, deserializer: ResponseDeserializer) => DeserializeMiddleware; diff --git a/node_modules/@smithy/middleware-serde/dist-types/index.d.ts b/node_modules/@smithy/middleware-serde/dist-types/index.d.ts new file mode 100644 index 0000000..166a2be --- /dev/null +++ b/node_modules/@smithy/middleware-serde/dist-types/index.d.ts @@ -0,0 +1,3 @@ +export * from "./deserializerMiddleware"; +export * from "./serdePlugin"; +export * from "./serializerMiddleware"; diff --git a/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts b/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts new file mode 100644 index 0000000..a4ecfe4 --- /dev/null +++ b/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts @@ -0,0 +1,24 @@ +import type { DeserializeHandlerOptions, Endpoint, MetadataBearer, Pluggable, Provider, RequestSerializer, ResponseDeserializer, SerdeContext, SerdeFunctions, SerializeHandlerOptions, UrlParser } from "@smithy/types"; +/** + * @deprecated will be replaced by schemaSerdePlugin from core/schema. + */ +export declare const deserializerMiddlewareOption: DeserializeHandlerOptions; +/** + * @deprecated will be replaced by schemaSerdePlugin from core/schema. + */ +export declare const serializerMiddlewareOption: SerializeHandlerOptions; +/** + * Modifies the EndpointBearer to make it compatible with Endpoints 2.0 change. + * + * @internal + * @deprecated + */ +export type V1OrV2Endpoint = { + urlParser?: UrlParser; + endpoint?: Provider; +}; +/** + * @internal + * @deprecated will be replaced by schemaSerdePlugin from core/schema. + */ +export declare function getSerdePlugin(config: SerdeFunctions, serializer: RequestSerializer, deserializer: ResponseDeserializer): Pluggable; diff --git a/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts b/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts new file mode 100644 index 0000000..6312b7d --- /dev/null +++ b/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts @@ -0,0 +1,6 @@ +import type { RequestSerializer, SerdeContext, SerdeFunctions, SerializeMiddleware } from "@smithy/types"; +/** + * @internal + * @deprecated will be replaced by schemaSerdePlugin from core/schema. + */ +export declare const serializerMiddleware: (options: SerdeFunctions, serializer: RequestSerializer) => SerializeMiddleware; diff --git a/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts b/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts new file mode 100644 index 0000000..fb9a8fa --- /dev/null +++ b/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts @@ -0,0 +1,6 @@ +import { DeserializeMiddleware, ResponseDeserializer, SerdeContext, SerdeFunctions } from "@smithy/types"; +/** + * @internal + * @deprecated will be replaced by schemaSerdePlugin from core/schema. + */ +export declare const deserializerMiddleware: (options: SerdeFunctions, deserializer: ResponseDeserializer) => DeserializeMiddleware; diff --git a/node_modules/@smithy/middleware-serde/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/middleware-serde/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..166a2be --- /dev/null +++ b/node_modules/@smithy/middleware-serde/dist-types/ts3.4/index.d.ts @@ -0,0 +1,3 @@ +export * from "./deserializerMiddleware"; +export * from "./serdePlugin"; +export * from "./serializerMiddleware"; diff --git a/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts b/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts new file mode 100644 index 0000000..61cf9d4 --- /dev/null +++ b/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts @@ -0,0 +1,24 @@ +import { DeserializeHandlerOptions, Endpoint, MetadataBearer, Pluggable, Provider, RequestSerializer, ResponseDeserializer, SerdeContext, SerdeFunctions, SerializeHandlerOptions, UrlParser } from "@smithy/types"; +/** + * @deprecated will be replaced by schemaSerdePlugin from core/schema. + */ +export declare const deserializerMiddlewareOption: DeserializeHandlerOptions; +/** + * @deprecated will be replaced by schemaSerdePlugin from core/schema. + */ +export declare const serializerMiddlewareOption: SerializeHandlerOptions; +/** + * Modifies the EndpointBearer to make it compatible with Endpoints 2.0 change. + * + * @internal + * @deprecated + */ +export type V1OrV2Endpoint = { + urlParser?: UrlParser; + endpoint?: Provider; +}; +/** + * @internal + * @deprecated will be replaced by schemaSerdePlugin from core/schema. + */ +export declare function getSerdePlugin(config: SerdeFunctions, serializer: RequestSerializer, deserializer: ResponseDeserializer): Pluggable; diff --git a/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts b/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts new file mode 100644 index 0000000..c506770 --- /dev/null +++ b/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts @@ -0,0 +1,6 @@ +import { RequestSerializer, SerdeContext, SerdeFunctions, SerializeMiddleware } from "@smithy/types"; +/** + * @internal + * @deprecated will be replaced by schemaSerdePlugin from core/schema. + */ +export declare const serializerMiddleware: (options: SerdeFunctions, serializer: RequestSerializer) => SerializeMiddleware; diff --git a/node_modules/@smithy/middleware-serde/package.json b/node_modules/@smithy/middleware-serde/package.json new file mode 100644 index 0000000..029cd8d --- /dev/null +++ b/node_modules/@smithy/middleware-serde/package.json @@ -0,0 +1,66 @@ +{ + "name": "@smithy/middleware-serde", + "version": "4.2.16", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline middleware-serde", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:watch": "yarn g:vitest watch", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/core": "^3.23.13", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/middleware-serde", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/middleware-serde" + }, + "devDependencies": { + "@smithy/util-test": "^0.2.8", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/middleware-stack/LICENSE b/node_modules/@smithy/middleware-stack/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/middleware-stack/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/middleware-stack/README.md b/node_modules/@smithy/middleware-stack/README.md new file mode 100644 index 0000000..c09d4d3 --- /dev/null +++ b/node_modules/@smithy/middleware-stack/README.md @@ -0,0 +1,78 @@ +# @smithy/middleware-stack + +[![NPM version](https://img.shields.io/npm/v/@smithy/middleware-stack/latest.svg)](https://www.npmjs.com/package/@smithy/middleware-stack) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/middleware-stack.svg)](https://www.npmjs.com/package/@smithy/middleware-stack) + +The package contains an implementation of middleware stack interface. Middleware +stack is a structure storing middleware in specified order and resolve these +middleware into a single handler. + +A middleware stack has five `Step`s, each of them represents a specific request life cycle: + +- **initialize**: The input is being prepared. Examples of typical initialization tasks include injecting default options computing derived parameters. + +- **serialize**: The input is complete and ready to be serialized. Examples of typical serialization tasks include input validation and building an HTTP request from user input. + +- **build**: The input has been serialized into an HTTP request, but that request may require further modification. Any request alterations will be applied to all retries. Examples of typical build tasks include injecting HTTP headers that describe a stable aspect of the request, such as `Content-Length` or a body checksum. + +- **finalizeRequest**: The request is being prepared to be sent over the wire. The request in this stage should already be semantically complete and should therefore only be altered to match the recipient's expectations. Examples of typical finalization tasks include request signing and injecting hop-by-hop headers. + +- **deserialize**: The response has arrived, the middleware here will deserialize the raw response object to structured response + +## Adding Middleware + +There are two ways to add middleware to a middleware stack. They both add middleware to specified `Step` but they provide fine-grained location control differently. + +### Absolute Location + +You can add middleware to specified step with: + +```javascript +stack.add(middleware, { + step: "finalizeRequest", +}); +``` + +This approach works for most cases. Sometimes you want your middleware to be executed in the front of the `Step`, you can set the `Priority` to `high`. Set the `Priority` to `low` then this middleware will be executed at the end of `Step`: + +```javascript +stack.add(middleware, { + step: "finalizeRequest", + priority: "high", +}); +``` + +If multiple middleware is added to same `step` with same `priority`, the order of them is determined by the order of adding them. + +### Relative Location + +In some cases, you might want to execute your middleware before some other known middleware, then you can use `addRelativeTo()`: + +```javascript +stack.add(middleware, { + step: "finalizeRequest", + name: "myMiddleware", +}); +stack.addRelativeTo(anotherMiddleware, { + relation: "before", //or 'after' + toMiddleware: "myMiddleware", +}); +``` + +## Removing Middleware + +You can remove middleware by name one at a time: + +```javascript +stack.remove("Middleware1"); +``` + +If you specify tags for middleware, you can remove multiple middleware at a time according to tag: + +```javascript +stack.add(middleware, { + step: "finalizeRequest", + tags: ["final"], +}); +stack.removeByTag("final"); +``` diff --git a/node_modules/@smithy/middleware-stack/dist-cjs/index.js b/node_modules/@smithy/middleware-stack/dist-cjs/index.js new file mode 100644 index 0000000..b83cef5 --- /dev/null +++ b/node_modules/@smithy/middleware-stack/dist-cjs/index.js @@ -0,0 +1,285 @@ +'use strict'; + +const getAllAliases = (name, aliases) => { + const _aliases = []; + if (name) { + _aliases.push(name); + } + if (aliases) { + for (const alias of aliases) { + _aliases.push(alias); + } + } + return _aliases; +}; +const getMiddlewareNameWithAliases = (name, aliases) => { + return `${name || "anonymous"}${aliases && aliases.length > 0 ? ` (a.k.a. ${aliases.join(",")})` : ""}`; +}; +const constructStack = () => { + let absoluteEntries = []; + let relativeEntries = []; + let identifyOnResolve = false; + const entriesNameSet = new Set(); + const sort = (entries) => entries.sort((a, b) => stepWeights[b.step] - stepWeights[a.step] || + priorityWeights[b.priority || "normal"] - priorityWeights[a.priority || "normal"]); + const removeByName = (toRemove) => { + let isRemoved = false; + const filterCb = (entry) => { + const aliases = getAllAliases(entry.name, entry.aliases); + if (aliases.includes(toRemove)) { + isRemoved = true; + for (const alias of aliases) { + entriesNameSet.delete(alias); + } + return false; + } + return true; + }; + absoluteEntries = absoluteEntries.filter(filterCb); + relativeEntries = relativeEntries.filter(filterCb); + return isRemoved; + }; + const removeByReference = (toRemove) => { + let isRemoved = false; + const filterCb = (entry) => { + if (entry.middleware === toRemove) { + isRemoved = true; + for (const alias of getAllAliases(entry.name, entry.aliases)) { + entriesNameSet.delete(alias); + } + return false; + } + return true; + }; + absoluteEntries = absoluteEntries.filter(filterCb); + relativeEntries = relativeEntries.filter(filterCb); + return isRemoved; + }; + const cloneTo = (toStack) => { + absoluteEntries.forEach((entry) => { + toStack.add(entry.middleware, { ...entry }); + }); + relativeEntries.forEach((entry) => { + toStack.addRelativeTo(entry.middleware, { ...entry }); + }); + toStack.identifyOnResolve?.(stack.identifyOnResolve()); + return toStack; + }; + const expandRelativeMiddlewareList = (from) => { + const expandedMiddlewareList = []; + from.before.forEach((entry) => { + if (entry.before.length === 0 && entry.after.length === 0) { + expandedMiddlewareList.push(entry); + } + else { + expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry)); + } + }); + expandedMiddlewareList.push(from); + from.after.reverse().forEach((entry) => { + if (entry.before.length === 0 && entry.after.length === 0) { + expandedMiddlewareList.push(entry); + } + else { + expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry)); + } + }); + return expandedMiddlewareList; + }; + const getMiddlewareList = (debug = false) => { + const normalizedAbsoluteEntries = []; + const normalizedRelativeEntries = []; + const normalizedEntriesNameMap = {}; + absoluteEntries.forEach((entry) => { + const normalizedEntry = { + ...entry, + before: [], + after: [], + }; + for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) { + normalizedEntriesNameMap[alias] = normalizedEntry; + } + normalizedAbsoluteEntries.push(normalizedEntry); + }); + relativeEntries.forEach((entry) => { + const normalizedEntry = { + ...entry, + before: [], + after: [], + }; + for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) { + normalizedEntriesNameMap[alias] = normalizedEntry; + } + normalizedRelativeEntries.push(normalizedEntry); + }); + normalizedRelativeEntries.forEach((entry) => { + if (entry.toMiddleware) { + const toMiddleware = normalizedEntriesNameMap[entry.toMiddleware]; + if (toMiddleware === undefined) { + if (debug) { + return; + } + throw new Error(`${entry.toMiddleware} is not found when adding ` + + `${getMiddlewareNameWithAliases(entry.name, entry.aliases)} ` + + `middleware ${entry.relation} ${entry.toMiddleware}`); + } + if (entry.relation === "after") { + toMiddleware.after.push(entry); + } + if (entry.relation === "before") { + toMiddleware.before.push(entry); + } + } + }); + const mainChain = sort(normalizedAbsoluteEntries) + .map(expandRelativeMiddlewareList) + .reduce((wholeList, expandedMiddlewareList) => { + wholeList.push(...expandedMiddlewareList); + return wholeList; + }, []); + return mainChain; + }; + const stack = { + add: (middleware, options = {}) => { + const { name, override, aliases: _aliases } = options; + const entry = { + step: "initialize", + priority: "normal", + middleware, + ...options, + }; + const aliases = getAllAliases(name, _aliases); + if (aliases.length > 0) { + if (aliases.some((alias) => entriesNameSet.has(alias))) { + if (!override) + throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`); + for (const alias of aliases) { + const toOverrideIndex = absoluteEntries.findIndex((entry) => entry.name === alias || entry.aliases?.some((a) => a === alias)); + if (toOverrideIndex === -1) { + continue; + } + const toOverride = absoluteEntries[toOverrideIndex]; + if (toOverride.step !== entry.step || entry.priority !== toOverride.priority) { + throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware with ` + + `${toOverride.priority} priority in ${toOverride.step} step cannot ` + + `be overridden by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware with ` + + `${entry.priority} priority in ${entry.step} step.`); + } + absoluteEntries.splice(toOverrideIndex, 1); + } + } + for (const alias of aliases) { + entriesNameSet.add(alias); + } + } + absoluteEntries.push(entry); + }, + addRelativeTo: (middleware, options) => { + const { name, override, aliases: _aliases } = options; + const entry = { + middleware, + ...options, + }; + const aliases = getAllAliases(name, _aliases); + if (aliases.length > 0) { + if (aliases.some((alias) => entriesNameSet.has(alias))) { + if (!override) + throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`); + for (const alias of aliases) { + const toOverrideIndex = relativeEntries.findIndex((entry) => entry.name === alias || entry.aliases?.some((a) => a === alias)); + if (toOverrideIndex === -1) { + continue; + } + const toOverride = relativeEntries[toOverrideIndex]; + if (toOverride.toMiddleware !== entry.toMiddleware || toOverride.relation !== entry.relation) { + throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware ` + + `${toOverride.relation} "${toOverride.toMiddleware}" middleware cannot be overridden ` + + `by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware ${entry.relation} ` + + `"${entry.toMiddleware}" middleware.`); + } + relativeEntries.splice(toOverrideIndex, 1); + } + } + for (const alias of aliases) { + entriesNameSet.add(alias); + } + } + relativeEntries.push(entry); + }, + clone: () => cloneTo(constructStack()), + use: (plugin) => { + plugin.applyToStack(stack); + }, + remove: (toRemove) => { + if (typeof toRemove === "string") + return removeByName(toRemove); + else + return removeByReference(toRemove); + }, + removeByTag: (toRemove) => { + let isRemoved = false; + const filterCb = (entry) => { + const { tags, name, aliases: _aliases } = entry; + if (tags && tags.includes(toRemove)) { + const aliases = getAllAliases(name, _aliases); + for (const alias of aliases) { + entriesNameSet.delete(alias); + } + isRemoved = true; + return false; + } + return true; + }; + absoluteEntries = absoluteEntries.filter(filterCb); + relativeEntries = relativeEntries.filter(filterCb); + return isRemoved; + }, + concat: (from) => { + const cloned = cloneTo(constructStack()); + cloned.use(from); + cloned.identifyOnResolve(identifyOnResolve || cloned.identifyOnResolve() || (from.identifyOnResolve?.() ?? false)); + return cloned; + }, + applyToStack: cloneTo, + identify: () => { + return getMiddlewareList(true).map((mw) => { + const step = mw.step ?? + mw.relation + + " " + + mw.toMiddleware; + return getMiddlewareNameWithAliases(mw.name, mw.aliases) + " - " + step; + }); + }, + identifyOnResolve(toggle) { + if (typeof toggle === "boolean") + identifyOnResolve = toggle; + return identifyOnResolve; + }, + resolve: (handler, context) => { + for (const middleware of getMiddlewareList() + .map((entry) => entry.middleware) + .reverse()) { + handler = middleware(handler, context); + } + if (identifyOnResolve) { + console.log(stack.identify()); + } + return handler; + }, + }; + return stack; +}; +const stepWeights = { + initialize: 5, + serialize: 4, + build: 3, + finalizeRequest: 2, + deserialize: 1, +}; +const priorityWeights = { + high: 3, + normal: 2, + low: 1, +}; + +exports.constructStack = constructStack; diff --git a/node_modules/@smithy/middleware-stack/dist-es/MiddlewareStack.js b/node_modules/@smithy/middleware-stack/dist-es/MiddlewareStack.js new file mode 100644 index 0000000..2e02c73 --- /dev/null +++ b/node_modules/@smithy/middleware-stack/dist-es/MiddlewareStack.js @@ -0,0 +1,281 @@ +const getAllAliases = (name, aliases) => { + const _aliases = []; + if (name) { + _aliases.push(name); + } + if (aliases) { + for (const alias of aliases) { + _aliases.push(alias); + } + } + return _aliases; +}; +const getMiddlewareNameWithAliases = (name, aliases) => { + return `${name || "anonymous"}${aliases && aliases.length > 0 ? ` (a.k.a. ${aliases.join(",")})` : ""}`; +}; +export const constructStack = () => { + let absoluteEntries = []; + let relativeEntries = []; + let identifyOnResolve = false; + const entriesNameSet = new Set(); + const sort = (entries) => entries.sort((a, b) => stepWeights[b.step] - stepWeights[a.step] || + priorityWeights[b.priority || "normal"] - priorityWeights[a.priority || "normal"]); + const removeByName = (toRemove) => { + let isRemoved = false; + const filterCb = (entry) => { + const aliases = getAllAliases(entry.name, entry.aliases); + if (aliases.includes(toRemove)) { + isRemoved = true; + for (const alias of aliases) { + entriesNameSet.delete(alias); + } + return false; + } + return true; + }; + absoluteEntries = absoluteEntries.filter(filterCb); + relativeEntries = relativeEntries.filter(filterCb); + return isRemoved; + }; + const removeByReference = (toRemove) => { + let isRemoved = false; + const filterCb = (entry) => { + if (entry.middleware === toRemove) { + isRemoved = true; + for (const alias of getAllAliases(entry.name, entry.aliases)) { + entriesNameSet.delete(alias); + } + return false; + } + return true; + }; + absoluteEntries = absoluteEntries.filter(filterCb); + relativeEntries = relativeEntries.filter(filterCb); + return isRemoved; + }; + const cloneTo = (toStack) => { + absoluteEntries.forEach((entry) => { + toStack.add(entry.middleware, { ...entry }); + }); + relativeEntries.forEach((entry) => { + toStack.addRelativeTo(entry.middleware, { ...entry }); + }); + toStack.identifyOnResolve?.(stack.identifyOnResolve()); + return toStack; + }; + const expandRelativeMiddlewareList = (from) => { + const expandedMiddlewareList = []; + from.before.forEach((entry) => { + if (entry.before.length === 0 && entry.after.length === 0) { + expandedMiddlewareList.push(entry); + } + else { + expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry)); + } + }); + expandedMiddlewareList.push(from); + from.after.reverse().forEach((entry) => { + if (entry.before.length === 0 && entry.after.length === 0) { + expandedMiddlewareList.push(entry); + } + else { + expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry)); + } + }); + return expandedMiddlewareList; + }; + const getMiddlewareList = (debug = false) => { + const normalizedAbsoluteEntries = []; + const normalizedRelativeEntries = []; + const normalizedEntriesNameMap = {}; + absoluteEntries.forEach((entry) => { + const normalizedEntry = { + ...entry, + before: [], + after: [], + }; + for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) { + normalizedEntriesNameMap[alias] = normalizedEntry; + } + normalizedAbsoluteEntries.push(normalizedEntry); + }); + relativeEntries.forEach((entry) => { + const normalizedEntry = { + ...entry, + before: [], + after: [], + }; + for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) { + normalizedEntriesNameMap[alias] = normalizedEntry; + } + normalizedRelativeEntries.push(normalizedEntry); + }); + normalizedRelativeEntries.forEach((entry) => { + if (entry.toMiddleware) { + const toMiddleware = normalizedEntriesNameMap[entry.toMiddleware]; + if (toMiddleware === undefined) { + if (debug) { + return; + } + throw new Error(`${entry.toMiddleware} is not found when adding ` + + `${getMiddlewareNameWithAliases(entry.name, entry.aliases)} ` + + `middleware ${entry.relation} ${entry.toMiddleware}`); + } + if (entry.relation === "after") { + toMiddleware.after.push(entry); + } + if (entry.relation === "before") { + toMiddleware.before.push(entry); + } + } + }); + const mainChain = sort(normalizedAbsoluteEntries) + .map(expandRelativeMiddlewareList) + .reduce((wholeList, expandedMiddlewareList) => { + wholeList.push(...expandedMiddlewareList); + return wholeList; + }, []); + return mainChain; + }; + const stack = { + add: (middleware, options = {}) => { + const { name, override, aliases: _aliases } = options; + const entry = { + step: "initialize", + priority: "normal", + middleware, + ...options, + }; + const aliases = getAllAliases(name, _aliases); + if (aliases.length > 0) { + if (aliases.some((alias) => entriesNameSet.has(alias))) { + if (!override) + throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`); + for (const alias of aliases) { + const toOverrideIndex = absoluteEntries.findIndex((entry) => entry.name === alias || entry.aliases?.some((a) => a === alias)); + if (toOverrideIndex === -1) { + continue; + } + const toOverride = absoluteEntries[toOverrideIndex]; + if (toOverride.step !== entry.step || entry.priority !== toOverride.priority) { + throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware with ` + + `${toOverride.priority} priority in ${toOverride.step} step cannot ` + + `be overridden by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware with ` + + `${entry.priority} priority in ${entry.step} step.`); + } + absoluteEntries.splice(toOverrideIndex, 1); + } + } + for (const alias of aliases) { + entriesNameSet.add(alias); + } + } + absoluteEntries.push(entry); + }, + addRelativeTo: (middleware, options) => { + const { name, override, aliases: _aliases } = options; + const entry = { + middleware, + ...options, + }; + const aliases = getAllAliases(name, _aliases); + if (aliases.length > 0) { + if (aliases.some((alias) => entriesNameSet.has(alias))) { + if (!override) + throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`); + for (const alias of aliases) { + const toOverrideIndex = relativeEntries.findIndex((entry) => entry.name === alias || entry.aliases?.some((a) => a === alias)); + if (toOverrideIndex === -1) { + continue; + } + const toOverride = relativeEntries[toOverrideIndex]; + if (toOverride.toMiddleware !== entry.toMiddleware || toOverride.relation !== entry.relation) { + throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware ` + + `${toOverride.relation} "${toOverride.toMiddleware}" middleware cannot be overridden ` + + `by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware ${entry.relation} ` + + `"${entry.toMiddleware}" middleware.`); + } + relativeEntries.splice(toOverrideIndex, 1); + } + } + for (const alias of aliases) { + entriesNameSet.add(alias); + } + } + relativeEntries.push(entry); + }, + clone: () => cloneTo(constructStack()), + use: (plugin) => { + plugin.applyToStack(stack); + }, + remove: (toRemove) => { + if (typeof toRemove === "string") + return removeByName(toRemove); + else + return removeByReference(toRemove); + }, + removeByTag: (toRemove) => { + let isRemoved = false; + const filterCb = (entry) => { + const { tags, name, aliases: _aliases } = entry; + if (tags && tags.includes(toRemove)) { + const aliases = getAllAliases(name, _aliases); + for (const alias of aliases) { + entriesNameSet.delete(alias); + } + isRemoved = true; + return false; + } + return true; + }; + absoluteEntries = absoluteEntries.filter(filterCb); + relativeEntries = relativeEntries.filter(filterCb); + return isRemoved; + }, + concat: (from) => { + const cloned = cloneTo(constructStack()); + cloned.use(from); + cloned.identifyOnResolve(identifyOnResolve || cloned.identifyOnResolve() || (from.identifyOnResolve?.() ?? false)); + return cloned; + }, + applyToStack: cloneTo, + identify: () => { + return getMiddlewareList(true).map((mw) => { + const step = mw.step ?? + mw.relation + + " " + + mw.toMiddleware; + return getMiddlewareNameWithAliases(mw.name, mw.aliases) + " - " + step; + }); + }, + identifyOnResolve(toggle) { + if (typeof toggle === "boolean") + identifyOnResolve = toggle; + return identifyOnResolve; + }, + resolve: (handler, context) => { + for (const middleware of getMiddlewareList() + .map((entry) => entry.middleware) + .reverse()) { + handler = middleware(handler, context); + } + if (identifyOnResolve) { + console.log(stack.identify()); + } + return handler; + }, + }; + return stack; +}; +const stepWeights = { + initialize: 5, + serialize: 4, + build: 3, + finalizeRequest: 2, + deserialize: 1, +}; +const priorityWeights = { + high: 3, + normal: 2, + low: 1, +}; diff --git a/node_modules/@smithy/middleware-stack/dist-es/index.js b/node_modules/@smithy/middleware-stack/dist-es/index.js new file mode 100644 index 0000000..16f56ce --- /dev/null +++ b/node_modules/@smithy/middleware-stack/dist-es/index.js @@ -0,0 +1 @@ +export * from "./MiddlewareStack"; diff --git a/node_modules/@smithy/middleware-stack/dist-es/types.js b/node_modules/@smithy/middleware-stack/dist-es/types.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/middleware-stack/dist-es/types.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts b/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts new file mode 100644 index 0000000..3ea837b --- /dev/null +++ b/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts @@ -0,0 +1,5 @@ +import type { MiddlewareStack } from "@smithy/types"; +/** + * @internal + */ +export declare const constructStack: () => MiddlewareStack; diff --git a/node_modules/@smithy/middleware-stack/dist-types/index.d.ts b/node_modules/@smithy/middleware-stack/dist-types/index.d.ts new file mode 100644 index 0000000..16f56ce --- /dev/null +++ b/node_modules/@smithy/middleware-stack/dist-types/index.d.ts @@ -0,0 +1 @@ +export * from "./MiddlewareStack"; diff --git a/node_modules/@smithy/middleware-stack/dist-types/ts3.4/MiddlewareStack.d.ts b/node_modules/@smithy/middleware-stack/dist-types/ts3.4/MiddlewareStack.d.ts new file mode 100644 index 0000000..2aa088b --- /dev/null +++ b/node_modules/@smithy/middleware-stack/dist-types/ts3.4/MiddlewareStack.d.ts @@ -0,0 +1,5 @@ +import { MiddlewareStack } from "@smithy/types"; +/** + * @internal + */ +export declare const constructStack: () => MiddlewareStack; diff --git a/node_modules/@smithy/middleware-stack/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/middleware-stack/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..16f56ce --- /dev/null +++ b/node_modules/@smithy/middleware-stack/dist-types/ts3.4/index.d.ts @@ -0,0 +1 @@ +export * from "./MiddlewareStack"; diff --git a/node_modules/@smithy/middleware-stack/dist-types/ts3.4/types.d.ts b/node_modules/@smithy/middleware-stack/dist-types/ts3.4/types.d.ts new file mode 100644 index 0000000..4aa5fc6 --- /dev/null +++ b/node_modules/@smithy/middleware-stack/dist-types/ts3.4/types.d.ts @@ -0,0 +1,22 @@ +import { AbsoluteLocation, HandlerOptions, MiddlewareType, Priority, RelativeLocation, Step } from "@smithy/types"; +export interface MiddlewareEntry extends HandlerOptions { + middleware: MiddlewareType; +} +export interface AbsoluteMiddlewareEntry extends MiddlewareEntry, AbsoluteLocation { + step: Step; + priority: Priority; +} +export interface RelativeMiddlewareEntry extends MiddlewareEntry, RelativeLocation { +} +export type Normalized, Input extends object = {}, Output extends object = {}> = T & { + after: Normalized, Input, Output>[]; + before: Normalized, Input, Output>[]; +}; +export interface NormalizedRelativeEntry extends HandlerOptions { + step: Step; + middleware: MiddlewareType; + next?: NormalizedRelativeEntry; + prev?: NormalizedRelativeEntry; + priority: null; +} +export type NamedMiddlewareEntriesMap = Record>; diff --git a/node_modules/@smithy/middleware-stack/dist-types/types.d.ts b/node_modules/@smithy/middleware-stack/dist-types/types.d.ts new file mode 100644 index 0000000..4c5e581 --- /dev/null +++ b/node_modules/@smithy/middleware-stack/dist-types/types.d.ts @@ -0,0 +1,22 @@ +import type { AbsoluteLocation, HandlerOptions, MiddlewareType, Priority, RelativeLocation, Step } from "@smithy/types"; +export interface MiddlewareEntry extends HandlerOptions { + middleware: MiddlewareType; +} +export interface AbsoluteMiddlewareEntry extends MiddlewareEntry, AbsoluteLocation { + step: Step; + priority: Priority; +} +export interface RelativeMiddlewareEntry extends MiddlewareEntry, RelativeLocation { +} +export type Normalized, Input extends object = {}, Output extends object = {}> = T & { + after: Normalized, Input, Output>[]; + before: Normalized, Input, Output>[]; +}; +export interface NormalizedRelativeEntry extends HandlerOptions { + step: Step; + middleware: MiddlewareType; + next?: NormalizedRelativeEntry; + prev?: NormalizedRelativeEntry; + priority: null; +} +export type NamedMiddlewareEntriesMap = Record>; diff --git a/node_modules/@smithy/middleware-stack/package.json b/node_modules/@smithy/middleware-stack/package.json new file mode 100644 index 0000000..5391ef8 --- /dev/null +++ b/node_modules/@smithy/middleware-stack/package.json @@ -0,0 +1,64 @@ +{ + "name": "@smithy/middleware-stack", + "version": "4.2.12", + "description": "Provides a means for composing multiple middleware functions into a single handler", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline middleware-stack", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "extract:docs": "api-extractor run --local", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "email": "", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/middleware-stack", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/middleware-stack" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/node-config-provider/LICENSE b/node_modules/@smithy/node-config-provider/LICENSE new file mode 100644 index 0000000..74d4e5c --- /dev/null +++ b/node_modules/@smithy/node-config-provider/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/node-config-provider/README.md b/node_modules/@smithy/node-config-provider/README.md new file mode 100644 index 0000000..ea695a6 --- /dev/null +++ b/node_modules/@smithy/node-config-provider/README.md @@ -0,0 +1,10 @@ +# @smithy/node-config-provider + +[![NPM version](https://img.shields.io/npm/v/@smithy/node-config-provider/latest.svg)](https://www.npmjs.com/package/@smithy/node-config-provider) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/node-config-provider.svg)](https://www.npmjs.com/package/@smithy/node-config-provider) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/node-config-provider/dist-cjs/index.js b/node_modules/@smithy/node-config-provider/dist-cjs/index.js new file mode 100644 index 0000000..b68e543 --- /dev/null +++ b/node_modules/@smithy/node-config-provider/dist-cjs/index.js @@ -0,0 +1,62 @@ +'use strict'; + +var propertyProvider = require('@smithy/property-provider'); +var sharedIniFileLoader = require('@smithy/shared-ini-file-loader'); + +function getSelectorName(functionString) { + try { + const constants = new Set(Array.from(functionString.match(/([A-Z_]){3,}/g) ?? [])); + constants.delete("CONFIG"); + constants.delete("CONFIG_PREFIX_SEPARATOR"); + constants.delete("ENV"); + return [...constants].join(", "); + } + catch (e) { + return functionString; + } +} + +const fromEnv = (envVarSelector, options) => async () => { + try { + const config = envVarSelector(process.env, options); + if (config === undefined) { + throw new Error(); + } + return config; + } + catch (e) { + throw new propertyProvider.CredentialsProviderError(e.message || `Not found in ENV: ${getSelectorName(envVarSelector.toString())}`, { logger: options?.logger }); + } +}; + +const fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init } = {}) => async () => { + const profile = sharedIniFileLoader.getProfileName(init); + const { configFile, credentialsFile } = await sharedIniFileLoader.loadSharedConfigFiles(init); + const profileFromCredentials = credentialsFile[profile] || {}; + const profileFromConfig = configFile[profile] || {}; + const mergedProfile = preferredFile === "config" + ? { ...profileFromCredentials, ...profileFromConfig } + : { ...profileFromConfig, ...profileFromCredentials }; + try { + const cfgFile = preferredFile === "config" ? configFile : credentialsFile; + const configValue = configSelector(mergedProfile, cfgFile); + if (configValue === undefined) { + throw new Error(); + } + return configValue; + } + catch (e) { + throw new propertyProvider.CredentialsProviderError(e.message || `Not found in config files w/ profile [${profile}]: ${getSelectorName(configSelector.toString())}`, { logger: init.logger }); + } +}; + +const isFunction = (func) => typeof func === "function"; +const fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : propertyProvider.fromStatic(defaultValue); + +const loadConfig = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => { + const { signingName, logger } = configuration; + const envOptions = { signingName, logger }; + return propertyProvider.memoize(propertyProvider.chain(fromEnv(environmentVariableSelector, envOptions), fromSharedConfigFiles(configFileSelector, configuration), fromStatic(defaultValue))); +}; + +exports.loadConfig = loadConfig; diff --git a/node_modules/@smithy/node-config-provider/dist-es/configLoader.js b/node_modules/@smithy/node-config-provider/dist-es/configLoader.js new file mode 100644 index 0000000..4588a08 --- /dev/null +++ b/node_modules/@smithy/node-config-provider/dist-es/configLoader.js @@ -0,0 +1,9 @@ +import { chain, memoize } from "@smithy/property-provider"; +import { fromEnv } from "./fromEnv"; +import { fromSharedConfigFiles } from "./fromSharedConfigFiles"; +import { fromStatic } from "./fromStatic"; +export const loadConfig = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => { + const { signingName, logger } = configuration; + const envOptions = { signingName, logger }; + return memoize(chain(fromEnv(environmentVariableSelector, envOptions), fromSharedConfigFiles(configFileSelector, configuration), fromStatic(defaultValue))); +}; diff --git a/node_modules/@smithy/node-config-provider/dist-es/fromEnv.js b/node_modules/@smithy/node-config-provider/dist-es/fromEnv.js new file mode 100644 index 0000000..f107bc3 --- /dev/null +++ b/node_modules/@smithy/node-config-provider/dist-es/fromEnv.js @@ -0,0 +1,14 @@ +import { CredentialsProviderError } from "@smithy/property-provider"; +import { getSelectorName } from "./getSelectorName"; +export const fromEnv = (envVarSelector, options) => async () => { + try { + const config = envVarSelector(process.env, options); + if (config === undefined) { + throw new Error(); + } + return config; + } + catch (e) { + throw new CredentialsProviderError(e.message || `Not found in ENV: ${getSelectorName(envVarSelector.toString())}`, { logger: options?.logger }); + } +}; diff --git a/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js b/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js new file mode 100644 index 0000000..b6435ed --- /dev/null +++ b/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js @@ -0,0 +1,23 @@ +import { CredentialsProviderError } from "@smithy/property-provider"; +import { getProfileName, loadSharedConfigFiles } from "@smithy/shared-ini-file-loader"; +import { getSelectorName } from "./getSelectorName"; +export const fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init } = {}) => async () => { + const profile = getProfileName(init); + const { configFile, credentialsFile } = await loadSharedConfigFiles(init); + const profileFromCredentials = credentialsFile[profile] || {}; + const profileFromConfig = configFile[profile] || {}; + const mergedProfile = preferredFile === "config" + ? { ...profileFromCredentials, ...profileFromConfig } + : { ...profileFromConfig, ...profileFromCredentials }; + try { + const cfgFile = preferredFile === "config" ? configFile : credentialsFile; + const configValue = configSelector(mergedProfile, cfgFile); + if (configValue === undefined) { + throw new Error(); + } + return configValue; + } + catch (e) { + throw new CredentialsProviderError(e.message || `Not found in config files w/ profile [${profile}]: ${getSelectorName(configSelector.toString())}`, { logger: init.logger }); + } +}; diff --git a/node_modules/@smithy/node-config-provider/dist-es/fromStatic.js b/node_modules/@smithy/node-config-provider/dist-es/fromStatic.js new file mode 100644 index 0000000..c9f91ff --- /dev/null +++ b/node_modules/@smithy/node-config-provider/dist-es/fromStatic.js @@ -0,0 +1,3 @@ +import { fromStatic as convertToProvider } from "@smithy/property-provider"; +const isFunction = (func) => typeof func === "function"; +export const fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : convertToProvider(defaultValue); diff --git a/node_modules/@smithy/node-config-provider/dist-es/getSelectorName.js b/node_modules/@smithy/node-config-provider/dist-es/getSelectorName.js new file mode 100644 index 0000000..d5e0f78 --- /dev/null +++ b/node_modules/@smithy/node-config-provider/dist-es/getSelectorName.js @@ -0,0 +1,12 @@ +export function getSelectorName(functionString) { + try { + const constants = new Set(Array.from(functionString.match(/([A-Z_]){3,}/g) ?? [])); + constants.delete("CONFIG"); + constants.delete("CONFIG_PREFIX_SEPARATOR"); + constants.delete("ENV"); + return [...constants].join(", "); + } + catch (e) { + return functionString; + } +} diff --git a/node_modules/@smithy/node-config-provider/dist-es/index.js b/node_modules/@smithy/node-config-provider/dist-es/index.js new file mode 100644 index 0000000..2d035d9 --- /dev/null +++ b/node_modules/@smithy/node-config-provider/dist-es/index.js @@ -0,0 +1 @@ +export * from "./configLoader"; diff --git a/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts b/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts new file mode 100644 index 0000000..bc46789 --- /dev/null +++ b/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts @@ -0,0 +1,31 @@ +import type { Provider } from "@smithy/types"; +import type { EnvOptions, GetterFromEnv } from "./fromEnv"; +import type { GetterFromConfig, SharedConfigInit } from "./fromSharedConfigFiles"; +import type { FromStaticConfig } from "./fromStatic"; +/** + * @internal + */ +export type LocalConfigOptions = SharedConfigInit & EnvOptions; +/** + * @internal + */ +export interface LoadedConfigSelectors { + /** + * A getter function getting the config values from all the environment + * variables. + */ + environmentVariableSelector: GetterFromEnv; + /** + * A getter function getting config values associated with the inferred + * profile from shared INI files + */ + configFileSelector: GetterFromConfig; + /** + * Default value or getter + */ + default: FromStaticConfig; +} +/** + * @internal + */ +export declare const loadConfig: ({ environmentVariableSelector, configFileSelector, default: defaultValue }: LoadedConfigSelectors, configuration?: LocalConfigOptions) => Provider; diff --git a/node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts b/node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts new file mode 100644 index 0000000..92f06f2 --- /dev/null +++ b/node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts @@ -0,0 +1,20 @@ +import type { Logger, Provider } from "@smithy/types"; +/** + * @internal + */ +export interface EnvOptions { + /** + * The SigV4 service signing name. + */ + signingName?: string; + /** + * For credential resolution trace logging. + */ + logger?: Logger; +} +export type GetterFromEnv = (env: Record, options?: EnvOptions) => T | undefined; +/** + * Get config value given the environment variable name or getter from + * environment variable. + */ +export declare const fromEnv: (envVarSelector: GetterFromEnv, options?: EnvOptions) => Provider; diff --git a/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts b/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts new file mode 100644 index 0000000..55bc210 --- /dev/null +++ b/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts @@ -0,0 +1,22 @@ +import type { SourceProfileInit } from "@smithy/shared-ini-file-loader"; +import type { ParsedIniData, Profile, Provider } from "@smithy/types"; +/** + * @internal + */ +export interface SharedConfigInit extends SourceProfileInit { + /** + * The preferred shared ini file to load the config. "config" option refers to + * the shared config file(defaults to `~/.aws/config`). "credentials" option + * refers to the shared credentials file(defaults to `~/.aws/credentials`) + */ + preferredFile?: "config" | "credentials"; +} +/** + * @internal + */ +export type GetterFromConfig = (profile: Profile, configFile?: ParsedIniData) => T | undefined; +/** + * Get config value from the shared config files with inferred profile name. + * @internal + */ +export declare const fromSharedConfigFiles: (configSelector: GetterFromConfig, { preferredFile, ...init }?: SharedConfigInit) => Provider; diff --git a/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts b/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts new file mode 100644 index 0000000..caa50fc --- /dev/null +++ b/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts @@ -0,0 +1,9 @@ +import type { Provider } from "@smithy/types"; +/** + * @internal + */ +export type FromStaticConfig = T | (() => T) | Provider; +/** + * @internal + */ +export declare const fromStatic: (defaultValue: FromStaticConfig) => Provider; diff --git a/node_modules/@smithy/node-config-provider/dist-types/getSelectorName.d.ts b/node_modules/@smithy/node-config-provider/dist-types/getSelectorName.d.ts new file mode 100644 index 0000000..b5f1a1b --- /dev/null +++ b/node_modules/@smithy/node-config-provider/dist-types/getSelectorName.d.ts @@ -0,0 +1,9 @@ +/** + * Attempts to extract the name of the variable that the functional selector is looking for. + * Improves readability over the raw Function.toString() value. + * @internal + * @param functionString - function's string representation. + * + * @returns constant value used within the function. + */ +export declare function getSelectorName(functionString: string): string; diff --git a/node_modules/@smithy/node-config-provider/dist-types/index.d.ts b/node_modules/@smithy/node-config-provider/dist-types/index.d.ts new file mode 100644 index 0000000..cd54cfa --- /dev/null +++ b/node_modules/@smithy/node-config-provider/dist-types/index.d.ts @@ -0,0 +1,4 @@ +export * from "./configLoader"; +export { EnvOptions, GetterFromEnv } from "./fromEnv"; +export { GetterFromConfig, SharedConfigInit } from "./fromSharedConfigFiles"; +export { FromStaticConfig } from "./fromStatic"; diff --git a/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts b/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts new file mode 100644 index 0000000..8ddec50 --- /dev/null +++ b/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts @@ -0,0 +1,31 @@ +import { Provider } from "@smithy/types"; +import { EnvOptions, GetterFromEnv } from "./fromEnv"; +import { GetterFromConfig, SharedConfigInit } from "./fromSharedConfigFiles"; +import { FromStaticConfig } from "./fromStatic"; +/** + * @internal + */ +export type LocalConfigOptions = SharedConfigInit & EnvOptions; +/** + * @internal + */ +export interface LoadedConfigSelectors { + /** + * A getter function getting the config values from all the environment + * variables. + */ + environmentVariableSelector: GetterFromEnv; + /** + * A getter function getting config values associated with the inferred + * profile from shared INI files + */ + configFileSelector: GetterFromConfig; + /** + * Default value or getter + */ + default: FromStaticConfig; +} +/** + * @internal + */ +export declare const loadConfig: ({ environmentVariableSelector, configFileSelector, default: defaultValue }: LoadedConfigSelectors, configuration?: LocalConfigOptions) => Provider; diff --git a/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromEnv.d.ts b/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromEnv.d.ts new file mode 100644 index 0000000..f0b003c --- /dev/null +++ b/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromEnv.d.ts @@ -0,0 +1,20 @@ +import { Logger, Provider } from "@smithy/types"; +/** + * @internal + */ +export interface EnvOptions { + /** + * The SigV4 service signing name. + */ + signingName?: string; + /** + * For credential resolution trace logging. + */ + logger?: Logger; +} +export type GetterFromEnv = (env: Record, options?: EnvOptions) => T | undefined; +/** + * Get config value given the environment variable name or getter from + * environment variable. + */ +export declare const fromEnv: (envVarSelector: GetterFromEnv, options?: EnvOptions) => Provider; diff --git a/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts b/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts new file mode 100644 index 0000000..89a8eac --- /dev/null +++ b/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts @@ -0,0 +1,22 @@ +import { SourceProfileInit } from "@smithy/shared-ini-file-loader"; +import { ParsedIniData, Profile, Provider } from "@smithy/types"; +/** + * @internal + */ +export interface SharedConfigInit extends SourceProfileInit { + /** + * The preferred shared ini file to load the config. "config" option refers to + * the shared config file(defaults to `~/.aws/config`). "credentials" option + * refers to the shared credentials file(defaults to `~/.aws/credentials`) + */ + preferredFile?: "config" | "credentials"; +} +/** + * @internal + */ +export type GetterFromConfig = (profile: Profile, configFile?: ParsedIniData) => T | undefined; +/** + * Get config value from the shared config files with inferred profile name. + * @internal + */ +export declare const fromSharedConfigFiles: (configSelector: GetterFromConfig, { preferredFile, ...init }?: SharedConfigInit) => Provider; diff --git a/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts b/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts new file mode 100644 index 0000000..d2c32a4 --- /dev/null +++ b/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts @@ -0,0 +1,9 @@ +import { Provider } from "@smithy/types"; +/** + * @internal + */ +export type FromStaticConfig = T | (() => T) | Provider; +/** + * @internal + */ +export declare const fromStatic: (defaultValue: FromStaticConfig) => Provider; diff --git a/node_modules/@smithy/node-config-provider/dist-types/ts3.4/getSelectorName.d.ts b/node_modules/@smithy/node-config-provider/dist-types/ts3.4/getSelectorName.d.ts new file mode 100644 index 0000000..b5f1a1b --- /dev/null +++ b/node_modules/@smithy/node-config-provider/dist-types/ts3.4/getSelectorName.d.ts @@ -0,0 +1,9 @@ +/** + * Attempts to extract the name of the variable that the functional selector is looking for. + * Improves readability over the raw Function.toString() value. + * @internal + * @param functionString - function's string representation. + * + * @returns constant value used within the function. + */ +export declare function getSelectorName(functionString: string): string; diff --git a/node_modules/@smithy/node-config-provider/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/node-config-provider/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..cd54cfa --- /dev/null +++ b/node_modules/@smithy/node-config-provider/dist-types/ts3.4/index.d.ts @@ -0,0 +1,4 @@ +export * from "./configLoader"; +export { EnvOptions, GetterFromEnv } from "./fromEnv"; +export { GetterFromConfig, SharedConfigInit } from "./fromSharedConfigFiles"; +export { FromStaticConfig } from "./fromStatic"; diff --git a/node_modules/@smithy/node-config-provider/package.json b/node_modules/@smithy/node-config-provider/package.json new file mode 100644 index 0000000..2e9b375 --- /dev/null +++ b/node_modules/@smithy/node-config-provider/package.json @@ -0,0 +1,66 @@ +{ + "name": "@smithy/node-config-provider", + "version": "4.3.12", + "description": "Load config default values from ini config files and environmental variable", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline node-config-provider", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "email": "", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "dependencies": { + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/node-config-provider", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/node-config-provider" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/node-http-handler/LICENSE b/node_modules/@smithy/node-http-handler/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/node-http-handler/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/node-http-handler/README.md b/node_modules/@smithy/node-http-handler/README.md new file mode 100644 index 0000000..214719f --- /dev/null +++ b/node_modules/@smithy/node-http-handler/README.md @@ -0,0 +1,9 @@ +# @smithy/node-http-handler + +[![NPM version](https://img.shields.io/npm/v/@smithy/node-http-handler/latest.svg)](https://www.npmjs.com/package/@smithy/node-http-handler) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/node-http-handler.svg)](https://www.npmjs.com/package/@smithy/node-http-handler) + +This package implements the default `requestHandler` for Node.js using `node:http`, `node:https`, and `node:http2`. + +For an example on how `requestHandler`s are used by Smithy generated SDK clients, refer to +the [AWS SDK for JavaScript (v3) supplemental docs](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md#request-handler-requesthandler). diff --git a/node_modules/@smithy/node-http-handler/dist-cjs/index.js b/node_modules/@smithy/node-http-handler/dist-cjs/index.js new file mode 100644 index 0000000..0763647 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-cjs/index.js @@ -0,0 +1,762 @@ +'use strict'; + +var protocolHttp = require('@smithy/protocol-http'); +var querystringBuilder = require('@smithy/querystring-builder'); +var node_https = require('node:https'); +var node_stream = require('node:stream'); +var http2 = require('node:http2'); + +function buildAbortError(abortSignal) { + const reason = abortSignal && typeof abortSignal === "object" && "reason" in abortSignal + ? abortSignal.reason + : undefined; + if (reason) { + if (reason instanceof Error) { + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + abortError.cause = reason; + return abortError; + } + const abortError = new Error(String(reason)); + abortError.name = "AbortError"; + return abortError; + } + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + return abortError; +} + +const NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "EPIPE", "ETIMEDOUT"]; + +const getTransformedHeaders = (headers) => { + const transformedHeaders = {}; + for (const name of Object.keys(headers)) { + const headerValues = headers[name]; + transformedHeaders[name] = Array.isArray(headerValues) ? headerValues.join(",") : headerValues; + } + return transformedHeaders; +}; + +const timing = { + setTimeout: (cb, ms) => setTimeout(cb, ms), + clearTimeout: (timeoutId) => clearTimeout(timeoutId), +}; + +const DEFER_EVENT_LISTENER_TIME$2 = 1000; +const setConnectionTimeout = (request, reject, timeoutInMs = 0) => { + if (!timeoutInMs) { + return -1; + } + const registerTimeout = (offset) => { + const timeoutId = timing.setTimeout(() => { + request.destroy(); + reject(Object.assign(new Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${timeoutInMs} ms.`), { + name: "TimeoutError", + })); + }, timeoutInMs - offset); + const doWithSocket = (socket) => { + if (socket?.connecting) { + socket.on("connect", () => { + timing.clearTimeout(timeoutId); + }); + } + else { + timing.clearTimeout(timeoutId); + } + }; + if (request.socket) { + doWithSocket(request.socket); + } + else { + request.on("socket", doWithSocket); + } + }; + if (timeoutInMs < 2000) { + registerTimeout(0); + return 0; + } + return timing.setTimeout(registerTimeout.bind(null, DEFER_EVENT_LISTENER_TIME$2), DEFER_EVENT_LISTENER_TIME$2); +}; + +const setRequestTimeout = (req, reject, timeoutInMs = 0, throwOnRequestTimeout, logger) => { + if (timeoutInMs) { + return timing.setTimeout(() => { + let msg = `@smithy/node-http-handler - [${throwOnRequestTimeout ? "ERROR" : "WARN"}] a request has exceeded the configured ${timeoutInMs} ms requestTimeout.`; + if (throwOnRequestTimeout) { + const error = Object.assign(new Error(msg), { + name: "TimeoutError", + code: "ETIMEDOUT", + }); + req.destroy(error); + reject(error); + } + else { + msg += ` Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.`; + logger?.warn?.(msg); + } + }, timeoutInMs); + } + return -1; +}; + +const DEFER_EVENT_LISTENER_TIME$1 = 3000; +const setSocketKeepAlive = (request, { keepAlive, keepAliveMsecs }, deferTimeMs = DEFER_EVENT_LISTENER_TIME$1) => { + if (keepAlive !== true) { + return -1; + } + const registerListener = () => { + if (request.socket) { + request.socket.setKeepAlive(keepAlive, keepAliveMsecs || 0); + } + else { + request.on("socket", (socket) => { + socket.setKeepAlive(keepAlive, keepAliveMsecs || 0); + }); + } + }; + if (deferTimeMs === 0) { + registerListener(); + return 0; + } + return timing.setTimeout(registerListener, deferTimeMs); +}; + +const DEFER_EVENT_LISTENER_TIME = 3000; +const setSocketTimeout = (request, reject, timeoutInMs = 0) => { + const registerTimeout = (offset) => { + const timeout = timeoutInMs - offset; + const onTimeout = () => { + request.destroy(); + reject(Object.assign(new Error(`@smithy/node-http-handler - the request socket timed out after ${timeoutInMs} ms of inactivity (configured by client requestHandler).`), { name: "TimeoutError" })); + }; + if (request.socket) { + request.socket.setTimeout(timeout, onTimeout); + request.on("close", () => request.socket?.removeListener("timeout", onTimeout)); + } + else { + request.setTimeout(timeout, onTimeout); + } + }; + if (0 < timeoutInMs && timeoutInMs < 6000) { + registerTimeout(0); + return 0; + } + return timing.setTimeout(registerTimeout.bind(null, timeoutInMs === 0 ? 0 : DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME); +}; + +const MIN_WAIT_TIME = 6_000; +async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME, externalAgent = false) { + const headers = request.headers ?? {}; + const expect = headers.Expect || headers.expect; + let timeoutId = -1; + let sendBody = true; + if (!externalAgent && expect === "100-continue") { + sendBody = await Promise.race([ + new Promise((resolve) => { + timeoutId = Number(timing.setTimeout(() => resolve(true), Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs))); + }), + new Promise((resolve) => { + httpRequest.on("continue", () => { + timing.clearTimeout(timeoutId); + resolve(true); + }); + httpRequest.on("response", () => { + timing.clearTimeout(timeoutId); + resolve(false); + }); + httpRequest.on("error", () => { + timing.clearTimeout(timeoutId); + resolve(false); + }); + }), + ]); + } + if (sendBody) { + writeBody(httpRequest, request.body); + } +} +function writeBody(httpRequest, body) { + if (body instanceof node_stream.Readable) { + body.pipe(httpRequest); + return; + } + if (body) { + const isBuffer = Buffer.isBuffer(body); + const isString = typeof body === "string"; + if (isBuffer || isString) { + if (isBuffer && body.byteLength === 0) { + httpRequest.end(); + } + else { + httpRequest.end(body); + } + return; + } + const uint8 = body; + if (typeof uint8 === "object" && + uint8.buffer && + typeof uint8.byteOffset === "number" && + typeof uint8.byteLength === "number") { + httpRequest.end(Buffer.from(uint8.buffer, uint8.byteOffset, uint8.byteLength)); + return; + } + httpRequest.end(Buffer.from(body)); + return; + } + httpRequest.end(); +} + +const DEFAULT_REQUEST_TIMEOUT = 0; +let hAgent = undefined; +let hRequest = undefined; +class NodeHttpHandler { + config; + configProvider; + socketWarningTimestamp = 0; + externalAgent = false; + metadata = { handlerProtocol: "http/1.1" }; + static create(instanceOrOptions) { + if (typeof instanceOrOptions?.handle === "function") { + return instanceOrOptions; + } + return new NodeHttpHandler(instanceOrOptions); + } + static checkSocketUsage(agent, socketWarningTimestamp, logger = console) { + const { sockets, requests, maxSockets } = agent; + if (typeof maxSockets !== "number" || maxSockets === Infinity) { + return socketWarningTimestamp; + } + const interval = 15_000; + if (Date.now() - interval < socketWarningTimestamp) { + return socketWarningTimestamp; + } + if (sockets && requests) { + for (const origin in sockets) { + const socketsInUse = sockets[origin]?.length ?? 0; + const requestsEnqueued = requests[origin]?.length ?? 0; + if (socketsInUse >= maxSockets && requestsEnqueued >= 2 * maxSockets) { + logger?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${socketsInUse} and ${requestsEnqueued} additional requests are enqueued. +See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html +or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`); + return Date.now(); + } + } + } + return socketWarningTimestamp; + } + constructor(options) { + this.configProvider = new Promise((resolve, reject) => { + if (typeof options === "function") { + options() + .then((_options) => { + resolve(this.resolveDefaultConfig(_options)); + }) + .catch(reject); + } + else { + resolve(this.resolveDefaultConfig(options)); + } + }); + } + destroy() { + this.config?.httpAgent?.destroy(); + this.config?.httpsAgent?.destroy(); + } + async handle(request, { abortSignal, requestTimeout } = {}) { + if (!this.config) { + this.config = await this.configProvider; + } + const config = this.config; + const isSSL = request.protocol === "https:"; + if (!isSSL && !this.config.httpAgent) { + this.config.httpAgent = await this.config.httpAgentProvider(); + } + return new Promise((_resolve, _reject) => { + let writeRequestBodyPromise = undefined; + const timeouts = []; + const resolve = async (arg) => { + await writeRequestBodyPromise; + timeouts.forEach(timing.clearTimeout); + _resolve(arg); + }; + const reject = async (arg) => { + await writeRequestBodyPromise; + timeouts.forEach(timing.clearTimeout); + _reject(arg); + }; + if (abortSignal?.aborted) { + const abortError = buildAbortError(abortSignal); + reject(abortError); + return; + } + const headers = request.headers ?? {}; + const expectContinue = (headers.Expect ?? headers.expect) === "100-continue"; + let agent = isSSL ? config.httpsAgent : config.httpAgent; + if (expectContinue && !this.externalAgent) { + agent = new (isSSL ? node_https.Agent : hAgent)({ + keepAlive: false, + maxSockets: Infinity, + }); + } + timeouts.push(timing.setTimeout(() => { + this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, config.logger); + }, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000))); + const queryString = querystringBuilder.buildQueryString(request.query || {}); + let auth = undefined; + if (request.username != null || request.password != null) { + const username = request.username ?? ""; + const password = request.password ?? ""; + auth = `${username}:${password}`; + } + let path = request.path; + if (queryString) { + path += `?${queryString}`; + } + if (request.fragment) { + path += `#${request.fragment}`; + } + let hostname = request.hostname ?? ""; + if (hostname[0] === "[" && hostname.endsWith("]")) { + hostname = request.hostname.slice(1, -1); + } + else { + hostname = request.hostname; + } + const nodeHttpsOptions = { + headers: request.headers, + host: hostname, + method: request.method, + path, + port: request.port, + agent, + auth, + }; + const requestFunc = isSSL ? node_https.request : hRequest; + const req = requestFunc(nodeHttpsOptions, (res) => { + const httpResponse = new protocolHttp.HttpResponse({ + statusCode: res.statusCode || -1, + reason: res.statusMessage, + headers: getTransformedHeaders(res.headers), + body: res, + }); + resolve({ response: httpResponse }); + }); + req.on("error", (err) => { + if (NODEJS_TIMEOUT_ERROR_CODES.includes(err.code)) { + reject(Object.assign(err, { name: "TimeoutError" })); + } + else { + reject(err); + } + }); + if (abortSignal) { + const onAbort = () => { + req.destroy(); + const abortError = buildAbortError(abortSignal); + reject(abortError); + }; + if (typeof abortSignal.addEventListener === "function") { + const signal = abortSignal; + signal.addEventListener("abort", onAbort, { once: true }); + req.once("close", () => signal.removeEventListener("abort", onAbort)); + } + else { + abortSignal.onabort = onAbort; + } + } + const effectiveRequestTimeout = requestTimeout ?? config.requestTimeout; + timeouts.push(setConnectionTimeout(req, reject, config.connectionTimeout)); + timeouts.push(setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, config.logger ?? console)); + timeouts.push(setSocketTimeout(req, reject, config.socketTimeout)); + const httpAgent = nodeHttpsOptions.agent; + if (typeof httpAgent === "object" && "keepAlive" in httpAgent) { + timeouts.push(setSocketKeepAlive(req, { + keepAlive: httpAgent.keepAlive, + keepAliveMsecs: httpAgent.keepAliveMsecs, + })); + } + writeRequestBodyPromise = writeRequestBody(req, request, effectiveRequestTimeout, this.externalAgent).catch((e) => { + timeouts.forEach(timing.clearTimeout); + return _reject(e); + }); + }); + } + updateHttpClientConfig(key, value) { + this.config = undefined; + this.configProvider = this.configProvider.then((config) => { + return { + ...config, + [key]: value, + }; + }); + } + httpHandlerConfigs() { + return this.config ?? {}; + } + resolveDefaultConfig(options) { + const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, logger, } = options || {}; + const keepAlive = true; + const maxSockets = 50; + return { + connectionTimeout, + requestTimeout, + socketTimeout, + socketAcquisitionWarningTimeout, + throwOnRequestTimeout, + httpAgentProvider: async () => { + const { Agent, request } = await import('node:http'); + hRequest = request; + hAgent = Agent; + if (httpAgent instanceof hAgent || typeof httpAgent?.destroy === "function") { + this.externalAgent = true; + return httpAgent; + } + return new hAgent({ keepAlive, maxSockets, ...httpAgent }); + }, + httpsAgent: (() => { + if (httpsAgent instanceof node_https.Agent || typeof httpsAgent?.destroy === "function") { + this.externalAgent = true; + return httpsAgent; + } + return new node_https.Agent({ keepAlive, maxSockets, ...httpsAgent }); + })(), + logger, + }; + } +} + +class NodeHttp2ConnectionPool { + sessions = []; + constructor(sessions) { + this.sessions = sessions ?? []; + } + poll() { + if (this.sessions.length > 0) { + return this.sessions.shift(); + } + } + offerLast(session) { + this.sessions.push(session); + } + contains(session) { + return this.sessions.includes(session); + } + remove(session) { + this.sessions = this.sessions.filter((s) => s !== session); + } + [Symbol.iterator]() { + return this.sessions[Symbol.iterator](); + } + destroy(connection) { + for (const session of this.sessions) { + if (session === connection) { + if (!session.destroyed) { + session.destroy(); + } + } + } + } +} + +class NodeHttp2ConnectionManager { + constructor(config) { + this.config = config; + if (this.config.maxConcurrency && this.config.maxConcurrency <= 0) { + throw new RangeError("maxConcurrency must be greater than zero."); + } + } + config; + sessionCache = new Map(); + lease(requestContext, connectionConfiguration) { + const url = this.getUrlString(requestContext); + const existingPool = this.sessionCache.get(url); + if (existingPool) { + const existingSession = existingPool.poll(); + if (existingSession && !this.config.disableConcurrency) { + return existingSession; + } + } + const session = http2.connect(url); + if (this.config.maxConcurrency) { + session.settings({ maxConcurrentStreams: this.config.maxConcurrency }, (err) => { + if (err) { + throw new Error("Fail to set maxConcurrentStreams to " + + this.config.maxConcurrency + + "when creating new session for " + + requestContext.destination.toString()); + } + }); + } + session.unref(); + const destroySessionCb = () => { + session.destroy(); + this.deleteSession(url, session); + }; + session.on("goaway", destroySessionCb); + session.on("error", destroySessionCb); + session.on("frameError", destroySessionCb); + session.on("close", () => this.deleteSession(url, session)); + if (connectionConfiguration.requestTimeout) { + session.setTimeout(connectionConfiguration.requestTimeout, destroySessionCb); + } + const connectionPool = this.sessionCache.get(url) || new NodeHttp2ConnectionPool(); + connectionPool.offerLast(session); + this.sessionCache.set(url, connectionPool); + return session; + } + deleteSession(authority, session) { + const existingConnectionPool = this.sessionCache.get(authority); + if (!existingConnectionPool) { + return; + } + if (!existingConnectionPool.contains(session)) { + return; + } + existingConnectionPool.remove(session); + this.sessionCache.set(authority, existingConnectionPool); + } + release(requestContext, session) { + const cacheKey = this.getUrlString(requestContext); + this.sessionCache.get(cacheKey)?.offerLast(session); + } + destroy() { + for (const [key, connectionPool] of this.sessionCache) { + for (const session of connectionPool) { + if (!session.destroyed) { + session.destroy(); + } + connectionPool.remove(session); + } + this.sessionCache.delete(key); + } + } + setMaxConcurrentStreams(maxConcurrentStreams) { + if (maxConcurrentStreams && maxConcurrentStreams <= 0) { + throw new RangeError("maxConcurrentStreams must be greater than zero."); + } + this.config.maxConcurrency = maxConcurrentStreams; + } + setDisableConcurrentStreams(disableConcurrentStreams) { + this.config.disableConcurrency = disableConcurrentStreams; + } + getUrlString(request) { + return request.destination.toString(); + } +} + +class NodeHttp2Handler { + config; + configProvider; + metadata = { handlerProtocol: "h2" }; + connectionManager = new NodeHttp2ConnectionManager({}); + static create(instanceOrOptions) { + if (typeof instanceOrOptions?.handle === "function") { + return instanceOrOptions; + } + return new NodeHttp2Handler(instanceOrOptions); + } + constructor(options) { + this.configProvider = new Promise((resolve, reject) => { + if (typeof options === "function") { + options() + .then((opts) => { + resolve(opts || {}); + }) + .catch(reject); + } + else { + resolve(options || {}); + } + }); + } + destroy() { + this.connectionManager.destroy(); + } + async handle(request, { abortSignal, requestTimeout } = {}) { + if (!this.config) { + this.config = await this.configProvider; + this.connectionManager.setDisableConcurrentStreams(this.config.disableConcurrentStreams || false); + if (this.config.maxConcurrentStreams) { + this.connectionManager.setMaxConcurrentStreams(this.config.maxConcurrentStreams); + } + } + const { requestTimeout: configRequestTimeout, disableConcurrentStreams } = this.config; + const effectiveRequestTimeout = requestTimeout ?? configRequestTimeout; + return new Promise((_resolve, _reject) => { + let fulfilled = false; + let writeRequestBodyPromise = undefined; + const resolve = async (arg) => { + await writeRequestBodyPromise; + _resolve(arg); + }; + const reject = async (arg) => { + await writeRequestBodyPromise; + _reject(arg); + }; + if (abortSignal?.aborted) { + fulfilled = true; + const abortError = buildAbortError(abortSignal); + reject(abortError); + return; + } + const { hostname, method, port, protocol, query } = request; + let auth = ""; + if (request.username != null || request.password != null) { + const username = request.username ?? ""; + const password = request.password ?? ""; + auth = `${username}:${password}@`; + } + const authority = `${protocol}//${auth}${hostname}${port ? `:${port}` : ""}`; + const requestContext = { destination: new URL(authority) }; + const session = this.connectionManager.lease(requestContext, { + requestTimeout: this.config?.sessionTimeout, + disableConcurrentStreams: disableConcurrentStreams || false, + }); + const rejectWithDestroy = (err) => { + if (disableConcurrentStreams) { + this.destroySession(session); + } + fulfilled = true; + reject(err); + }; + const queryString = querystringBuilder.buildQueryString(query || {}); + let path = request.path; + if (queryString) { + path += `?${queryString}`; + } + if (request.fragment) { + path += `#${request.fragment}`; + } + const req = session.request({ + ...request.headers, + [http2.constants.HTTP2_HEADER_PATH]: path, + [http2.constants.HTTP2_HEADER_METHOD]: method, + }); + session.ref(); + req.on("response", (headers) => { + const httpResponse = new protocolHttp.HttpResponse({ + statusCode: headers[":status"] || -1, + headers: getTransformedHeaders(headers), + body: req, + }); + fulfilled = true; + resolve({ response: httpResponse }); + if (disableConcurrentStreams) { + session.close(); + this.connectionManager.deleteSession(authority, session); + } + }); + if (effectiveRequestTimeout) { + req.setTimeout(effectiveRequestTimeout, () => { + req.close(); + const timeoutError = new Error(`Stream timed out because of no activity for ${effectiveRequestTimeout} ms`); + timeoutError.name = "TimeoutError"; + rejectWithDestroy(timeoutError); + }); + } + if (abortSignal) { + const onAbort = () => { + req.close(); + const abortError = buildAbortError(abortSignal); + rejectWithDestroy(abortError); + }; + if (typeof abortSignal.addEventListener === "function") { + const signal = abortSignal; + signal.addEventListener("abort", onAbort, { once: true }); + req.once("close", () => signal.removeEventListener("abort", onAbort)); + } + else { + abortSignal.onabort = onAbort; + } + } + req.on("frameError", (type, code, id) => { + rejectWithDestroy(new Error(`Frame type id ${type} in stream id ${id} has failed with code ${code}.`)); + }); + req.on("error", rejectWithDestroy); + req.on("aborted", () => { + rejectWithDestroy(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${req.rstCode}.`)); + }); + req.on("close", () => { + session.unref(); + if (disableConcurrentStreams) { + session.destroy(); + } + if (!fulfilled) { + rejectWithDestroy(new Error("Unexpected error: http2 request did not get a response")); + } + }); + writeRequestBodyPromise = writeRequestBody(req, request, effectiveRequestTimeout); + }); + } + updateHttpClientConfig(key, value) { + this.config = undefined; + this.configProvider = this.configProvider.then((config) => { + return { + ...config, + [key]: value, + }; + }); + } + httpHandlerConfigs() { + return this.config ?? {}; + } + destroySession(session) { + if (!session.destroyed) { + session.destroy(); + } + } +} + +class Collector extends node_stream.Writable { + bufferedBytes = []; + _write(chunk, encoding, callback) { + this.bufferedBytes.push(chunk); + callback(); + } +} + +const streamCollector = (stream) => { + if (isReadableStreamInstance(stream)) { + return collectReadableStream(stream); + } + return new Promise((resolve, reject) => { + const collector = new Collector(); + stream.pipe(collector); + stream.on("error", (err) => { + collector.end(); + reject(err); + }); + collector.on("error", reject); + collector.on("finish", function () { + const bytes = new Uint8Array(Buffer.concat(this.bufferedBytes)); + resolve(bytes); + }); + }); +}; +const isReadableStreamInstance = (stream) => typeof ReadableStream === "function" && stream instanceof ReadableStream; +async function collectReadableStream(stream) { + const chunks = []; + const reader = stream.getReader(); + let isDone = false; + let length = 0; + while (!isDone) { + const { done, value } = await reader.read(); + if (value) { + chunks.push(value); + length += value.length; + } + isDone = done; + } + const collected = new Uint8Array(length); + let offset = 0; + for (const chunk of chunks) { + collected.set(chunk, offset); + offset += chunk.length; + } + return collected; +} + +exports.DEFAULT_REQUEST_TIMEOUT = DEFAULT_REQUEST_TIMEOUT; +exports.NodeHttp2Handler = NodeHttp2Handler; +exports.NodeHttpHandler = NodeHttpHandler; +exports.streamCollector = streamCollector; diff --git a/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js b/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js new file mode 100644 index 0000000..085d973 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js @@ -0,0 +1,19 @@ +export function buildAbortError(abortSignal) { + const reason = abortSignal && typeof abortSignal === "object" && "reason" in abortSignal + ? abortSignal.reason + : undefined; + if (reason) { + if (reason instanceof Error) { + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + abortError.cause = reason; + return abortError; + } + const abortError = new Error(String(reason)); + abortError.name = "AbortError"; + return abortError; + } + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + return abortError; +} diff --git a/node_modules/@smithy/node-http-handler/dist-es/constants.js b/node_modules/@smithy/node-http-handler/dist-es/constants.js new file mode 100644 index 0000000..0619d28 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-es/constants.js @@ -0,0 +1 @@ +export const NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "EPIPE", "ETIMEDOUT"]; diff --git a/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js b/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js new file mode 100644 index 0000000..562883c --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js @@ -0,0 +1,9 @@ +const getTransformedHeaders = (headers) => { + const transformedHeaders = {}; + for (const name of Object.keys(headers)) { + const headerValues = headers[name]; + transformedHeaders[name] = Array.isArray(headerValues) ? headerValues.join(",") : headerValues; + } + return transformedHeaders; +}; +export { getTransformedHeaders }; diff --git a/node_modules/@smithy/node-http-handler/dist-es/index.js b/node_modules/@smithy/node-http-handler/dist-es/index.js new file mode 100644 index 0000000..09c0b9a --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-es/index.js @@ -0,0 +1,3 @@ +export * from "./node-http-handler"; +export * from "./node-http2-handler"; +export * from "./stream-collector"; diff --git a/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js b/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js new file mode 100644 index 0000000..dc41ebe --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js @@ -0,0 +1,230 @@ +import { HttpResponse } from "@smithy/protocol-http"; +import { buildQueryString } from "@smithy/querystring-builder"; +import { Agent as hsAgent, request as hsRequest } from "node:https"; +import { buildAbortError } from "./build-abort-error"; +import { NODEJS_TIMEOUT_ERROR_CODES } from "./constants"; +import { getTransformedHeaders } from "./get-transformed-headers"; +import { setConnectionTimeout } from "./set-connection-timeout"; +import { setRequestTimeout } from "./set-request-timeout"; +import { setSocketKeepAlive } from "./set-socket-keep-alive"; +import { setSocketTimeout } from "./set-socket-timeout"; +import { timing } from "./timing"; +import { writeRequestBody } from "./write-request-body"; +export const DEFAULT_REQUEST_TIMEOUT = 0; +let hAgent = undefined; +let hRequest = undefined; +export class NodeHttpHandler { + config; + configProvider; + socketWarningTimestamp = 0; + externalAgent = false; + metadata = { handlerProtocol: "http/1.1" }; + static create(instanceOrOptions) { + if (typeof instanceOrOptions?.handle === "function") { + return instanceOrOptions; + } + return new NodeHttpHandler(instanceOrOptions); + } + static checkSocketUsage(agent, socketWarningTimestamp, logger = console) { + const { sockets, requests, maxSockets } = agent; + if (typeof maxSockets !== "number" || maxSockets === Infinity) { + return socketWarningTimestamp; + } + const interval = 15_000; + if (Date.now() - interval < socketWarningTimestamp) { + return socketWarningTimestamp; + } + if (sockets && requests) { + for (const origin in sockets) { + const socketsInUse = sockets[origin]?.length ?? 0; + const requestsEnqueued = requests[origin]?.length ?? 0; + if (socketsInUse >= maxSockets && requestsEnqueued >= 2 * maxSockets) { + logger?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${socketsInUse} and ${requestsEnqueued} additional requests are enqueued. +See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html +or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`); + return Date.now(); + } + } + } + return socketWarningTimestamp; + } + constructor(options) { + this.configProvider = new Promise((resolve, reject) => { + if (typeof options === "function") { + options() + .then((_options) => { + resolve(this.resolveDefaultConfig(_options)); + }) + .catch(reject); + } + else { + resolve(this.resolveDefaultConfig(options)); + } + }); + } + destroy() { + this.config?.httpAgent?.destroy(); + this.config?.httpsAgent?.destroy(); + } + async handle(request, { abortSignal, requestTimeout } = {}) { + if (!this.config) { + this.config = await this.configProvider; + } + const config = this.config; + const isSSL = request.protocol === "https:"; + if (!isSSL && !this.config.httpAgent) { + this.config.httpAgent = await this.config.httpAgentProvider(); + } + return new Promise((_resolve, _reject) => { + let writeRequestBodyPromise = undefined; + const timeouts = []; + const resolve = async (arg) => { + await writeRequestBodyPromise; + timeouts.forEach(timing.clearTimeout); + _resolve(arg); + }; + const reject = async (arg) => { + await writeRequestBodyPromise; + timeouts.forEach(timing.clearTimeout); + _reject(arg); + }; + if (abortSignal?.aborted) { + const abortError = buildAbortError(abortSignal); + reject(abortError); + return; + } + const headers = request.headers ?? {}; + const expectContinue = (headers.Expect ?? headers.expect) === "100-continue"; + let agent = isSSL ? config.httpsAgent : config.httpAgent; + if (expectContinue && !this.externalAgent) { + agent = new (isSSL ? hsAgent : hAgent)({ + keepAlive: false, + maxSockets: Infinity, + }); + } + timeouts.push(timing.setTimeout(() => { + this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, config.logger); + }, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000))); + const queryString = buildQueryString(request.query || {}); + let auth = undefined; + if (request.username != null || request.password != null) { + const username = request.username ?? ""; + const password = request.password ?? ""; + auth = `${username}:${password}`; + } + let path = request.path; + if (queryString) { + path += `?${queryString}`; + } + if (request.fragment) { + path += `#${request.fragment}`; + } + let hostname = request.hostname ?? ""; + if (hostname[0] === "[" && hostname.endsWith("]")) { + hostname = request.hostname.slice(1, -1); + } + else { + hostname = request.hostname; + } + const nodeHttpsOptions = { + headers: request.headers, + host: hostname, + method: request.method, + path, + port: request.port, + agent, + auth, + }; + const requestFunc = isSSL ? hsRequest : hRequest; + const req = requestFunc(nodeHttpsOptions, (res) => { + const httpResponse = new HttpResponse({ + statusCode: res.statusCode || -1, + reason: res.statusMessage, + headers: getTransformedHeaders(res.headers), + body: res, + }); + resolve({ response: httpResponse }); + }); + req.on("error", (err) => { + if (NODEJS_TIMEOUT_ERROR_CODES.includes(err.code)) { + reject(Object.assign(err, { name: "TimeoutError" })); + } + else { + reject(err); + } + }); + if (abortSignal) { + const onAbort = () => { + req.destroy(); + const abortError = buildAbortError(abortSignal); + reject(abortError); + }; + if (typeof abortSignal.addEventListener === "function") { + const signal = abortSignal; + signal.addEventListener("abort", onAbort, { once: true }); + req.once("close", () => signal.removeEventListener("abort", onAbort)); + } + else { + abortSignal.onabort = onAbort; + } + } + const effectiveRequestTimeout = requestTimeout ?? config.requestTimeout; + timeouts.push(setConnectionTimeout(req, reject, config.connectionTimeout)); + timeouts.push(setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, config.logger ?? console)); + timeouts.push(setSocketTimeout(req, reject, config.socketTimeout)); + const httpAgent = nodeHttpsOptions.agent; + if (typeof httpAgent === "object" && "keepAlive" in httpAgent) { + timeouts.push(setSocketKeepAlive(req, { + keepAlive: httpAgent.keepAlive, + keepAliveMsecs: httpAgent.keepAliveMsecs, + })); + } + writeRequestBodyPromise = writeRequestBody(req, request, effectiveRequestTimeout, this.externalAgent).catch((e) => { + timeouts.forEach(timing.clearTimeout); + return _reject(e); + }); + }); + } + updateHttpClientConfig(key, value) { + this.config = undefined; + this.configProvider = this.configProvider.then((config) => { + return { + ...config, + [key]: value, + }; + }); + } + httpHandlerConfigs() { + return this.config ?? {}; + } + resolveDefaultConfig(options) { + const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, logger, } = options || {}; + const keepAlive = true; + const maxSockets = 50; + return { + connectionTimeout, + requestTimeout, + socketTimeout, + socketAcquisitionWarningTimeout, + throwOnRequestTimeout, + httpAgentProvider: async () => { + const { Agent, request } = await import("node:http"); + hRequest = request; + hAgent = Agent; + if (httpAgent instanceof hAgent || typeof httpAgent?.destroy === "function") { + this.externalAgent = true; + return httpAgent; + } + return new hAgent({ keepAlive, maxSockets, ...httpAgent }); + }, + httpsAgent: (() => { + if (httpsAgent instanceof hsAgent || typeof httpsAgent?.destroy === "function") { + this.externalAgent = true; + return httpsAgent; + } + return new hsAgent({ keepAlive, maxSockets, ...httpsAgent }); + })(), + logger, + }; + } +} diff --git a/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js b/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js new file mode 100644 index 0000000..8afcb44 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js @@ -0,0 +1,87 @@ +import http2 from "node:http2"; +import { NodeHttp2ConnectionPool } from "./node-http2-connection-pool"; +export class NodeHttp2ConnectionManager { + constructor(config) { + this.config = config; + if (this.config.maxConcurrency && this.config.maxConcurrency <= 0) { + throw new RangeError("maxConcurrency must be greater than zero."); + } + } + config; + sessionCache = new Map(); + lease(requestContext, connectionConfiguration) { + const url = this.getUrlString(requestContext); + const existingPool = this.sessionCache.get(url); + if (existingPool) { + const existingSession = existingPool.poll(); + if (existingSession && !this.config.disableConcurrency) { + return existingSession; + } + } + const session = http2.connect(url); + if (this.config.maxConcurrency) { + session.settings({ maxConcurrentStreams: this.config.maxConcurrency }, (err) => { + if (err) { + throw new Error("Fail to set maxConcurrentStreams to " + + this.config.maxConcurrency + + "when creating new session for " + + requestContext.destination.toString()); + } + }); + } + session.unref(); + const destroySessionCb = () => { + session.destroy(); + this.deleteSession(url, session); + }; + session.on("goaway", destroySessionCb); + session.on("error", destroySessionCb); + session.on("frameError", destroySessionCb); + session.on("close", () => this.deleteSession(url, session)); + if (connectionConfiguration.requestTimeout) { + session.setTimeout(connectionConfiguration.requestTimeout, destroySessionCb); + } + const connectionPool = this.sessionCache.get(url) || new NodeHttp2ConnectionPool(); + connectionPool.offerLast(session); + this.sessionCache.set(url, connectionPool); + return session; + } + deleteSession(authority, session) { + const existingConnectionPool = this.sessionCache.get(authority); + if (!existingConnectionPool) { + return; + } + if (!existingConnectionPool.contains(session)) { + return; + } + existingConnectionPool.remove(session); + this.sessionCache.set(authority, existingConnectionPool); + } + release(requestContext, session) { + const cacheKey = this.getUrlString(requestContext); + this.sessionCache.get(cacheKey)?.offerLast(session); + } + destroy() { + for (const [key, connectionPool] of this.sessionCache) { + for (const session of connectionPool) { + if (!session.destroyed) { + session.destroy(); + } + connectionPool.remove(session); + } + this.sessionCache.delete(key); + } + } + setMaxConcurrentStreams(maxConcurrentStreams) { + if (maxConcurrentStreams && maxConcurrentStreams <= 0) { + throw new RangeError("maxConcurrentStreams must be greater than zero."); + } + this.config.maxConcurrency = maxConcurrentStreams; + } + setDisableConcurrentStreams(disableConcurrentStreams) { + this.config.disableConcurrency = disableConcurrentStreams; + } + getUrlString(request) { + return request.destination.toString(); + } +} diff --git a/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js b/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js new file mode 100644 index 0000000..43b3ad0 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js @@ -0,0 +1,32 @@ +export class NodeHttp2ConnectionPool { + sessions = []; + constructor(sessions) { + this.sessions = sessions ?? []; + } + poll() { + if (this.sessions.length > 0) { + return this.sessions.shift(); + } + } + offerLast(session) { + this.sessions.push(session); + } + contains(session) { + return this.sessions.includes(session); + } + remove(session) { + this.sessions = this.sessions.filter((s) => s !== session); + } + [Symbol.iterator]() { + return this.sessions[Symbol.iterator](); + } + destroy(connection) { + for (const session of this.sessions) { + if (session === connection) { + if (!session.destroyed) { + session.destroy(); + } + } + } + } +} diff --git a/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js b/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js new file mode 100644 index 0000000..e49b6e9 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js @@ -0,0 +1,169 @@ +import { HttpResponse } from "@smithy/protocol-http"; +import { buildQueryString } from "@smithy/querystring-builder"; +import { constants } from "node:http2"; +import { buildAbortError } from "./build-abort-error"; +import { getTransformedHeaders } from "./get-transformed-headers"; +import { NodeHttp2ConnectionManager } from "./node-http2-connection-manager"; +import { writeRequestBody } from "./write-request-body"; +export class NodeHttp2Handler { + config; + configProvider; + metadata = { handlerProtocol: "h2" }; + connectionManager = new NodeHttp2ConnectionManager({}); + static create(instanceOrOptions) { + if (typeof instanceOrOptions?.handle === "function") { + return instanceOrOptions; + } + return new NodeHttp2Handler(instanceOrOptions); + } + constructor(options) { + this.configProvider = new Promise((resolve, reject) => { + if (typeof options === "function") { + options() + .then((opts) => { + resolve(opts || {}); + }) + .catch(reject); + } + else { + resolve(options || {}); + } + }); + } + destroy() { + this.connectionManager.destroy(); + } + async handle(request, { abortSignal, requestTimeout } = {}) { + if (!this.config) { + this.config = await this.configProvider; + this.connectionManager.setDisableConcurrentStreams(this.config.disableConcurrentStreams || false); + if (this.config.maxConcurrentStreams) { + this.connectionManager.setMaxConcurrentStreams(this.config.maxConcurrentStreams); + } + } + const { requestTimeout: configRequestTimeout, disableConcurrentStreams } = this.config; + const effectiveRequestTimeout = requestTimeout ?? configRequestTimeout; + return new Promise((_resolve, _reject) => { + let fulfilled = false; + let writeRequestBodyPromise = undefined; + const resolve = async (arg) => { + await writeRequestBodyPromise; + _resolve(arg); + }; + const reject = async (arg) => { + await writeRequestBodyPromise; + _reject(arg); + }; + if (abortSignal?.aborted) { + fulfilled = true; + const abortError = buildAbortError(abortSignal); + reject(abortError); + return; + } + const { hostname, method, port, protocol, query } = request; + let auth = ""; + if (request.username != null || request.password != null) { + const username = request.username ?? ""; + const password = request.password ?? ""; + auth = `${username}:${password}@`; + } + const authority = `${protocol}//${auth}${hostname}${port ? `:${port}` : ""}`; + const requestContext = { destination: new URL(authority) }; + const session = this.connectionManager.lease(requestContext, { + requestTimeout: this.config?.sessionTimeout, + disableConcurrentStreams: disableConcurrentStreams || false, + }); + const rejectWithDestroy = (err) => { + if (disableConcurrentStreams) { + this.destroySession(session); + } + fulfilled = true; + reject(err); + }; + const queryString = buildQueryString(query || {}); + let path = request.path; + if (queryString) { + path += `?${queryString}`; + } + if (request.fragment) { + path += `#${request.fragment}`; + } + const req = session.request({ + ...request.headers, + [constants.HTTP2_HEADER_PATH]: path, + [constants.HTTP2_HEADER_METHOD]: method, + }); + session.ref(); + req.on("response", (headers) => { + const httpResponse = new HttpResponse({ + statusCode: headers[":status"] || -1, + headers: getTransformedHeaders(headers), + body: req, + }); + fulfilled = true; + resolve({ response: httpResponse }); + if (disableConcurrentStreams) { + session.close(); + this.connectionManager.deleteSession(authority, session); + } + }); + if (effectiveRequestTimeout) { + req.setTimeout(effectiveRequestTimeout, () => { + req.close(); + const timeoutError = new Error(`Stream timed out because of no activity for ${effectiveRequestTimeout} ms`); + timeoutError.name = "TimeoutError"; + rejectWithDestroy(timeoutError); + }); + } + if (abortSignal) { + const onAbort = () => { + req.close(); + const abortError = buildAbortError(abortSignal); + rejectWithDestroy(abortError); + }; + if (typeof abortSignal.addEventListener === "function") { + const signal = abortSignal; + signal.addEventListener("abort", onAbort, { once: true }); + req.once("close", () => signal.removeEventListener("abort", onAbort)); + } + else { + abortSignal.onabort = onAbort; + } + } + req.on("frameError", (type, code, id) => { + rejectWithDestroy(new Error(`Frame type id ${type} in stream id ${id} has failed with code ${code}.`)); + }); + req.on("error", rejectWithDestroy); + req.on("aborted", () => { + rejectWithDestroy(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${req.rstCode}.`)); + }); + req.on("close", () => { + session.unref(); + if (disableConcurrentStreams) { + session.destroy(); + } + if (!fulfilled) { + rejectWithDestroy(new Error("Unexpected error: http2 request did not get a response")); + } + }); + writeRequestBodyPromise = writeRequestBody(req, request, effectiveRequestTimeout); + }); + } + updateHttpClientConfig(key, value) { + this.config = undefined; + this.configProvider = this.configProvider.then((config) => { + return { + ...config, + [key]: value, + }; + }); + } + httpHandlerConfigs() { + return this.config ?? {}; + } + destroySession(session) { + if (!session.destroyed) { + session.destroy(); + } + } +} diff --git a/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js b/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js new file mode 100644 index 0000000..393d127 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js @@ -0,0 +1,21 @@ +import { Readable } from "node:stream"; +export class ReadFromBuffers extends Readable { + buffersToRead; + numBuffersRead = 0; + errorAfter; + constructor(options) { + super(options); + this.buffersToRead = options.buffers; + this.errorAfter = typeof options.errorAfter === "number" ? options.errorAfter : -1; + } + _read() { + if (this.errorAfter !== -1 && this.errorAfter === this.numBuffersRead) { + this.emit("error", new Error("Mock Error")); + return; + } + if (this.numBuffersRead >= this.buffersToRead.length) { + return this.push(null); + } + return this.push(this.buffersToRead[this.numBuffersRead++]); + } +} diff --git a/node_modules/@smithy/node-http-handler/dist-es/server.mock.js b/node_modules/@smithy/node-http-handler/dist-es/server.mock.js new file mode 100644 index 0000000..b9a4a11 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-es/server.mock.js @@ -0,0 +1,88 @@ +import { readFileSync } from "node:fs"; +import { createServer as createHttpServer } from "node:http"; +import { createServer as createHttp2Server } from "node:http2"; +import { createServer as createHttpsServer } from "node:https"; +import { join } from "node:path"; +import { Readable } from "node:stream"; +import { timing } from "./timing"; +const fixturesDir = join(__dirname, "..", "fixtures"); +const setResponseHeaders = (response, headers) => { + for (const [key, value] of Object.entries(headers)) { + response.setHeader(key, value); + } +}; +const setResponseBody = (response, body) => { + if (body instanceof Readable) { + body.pipe(response); + } + else { + response.end(body); + } +}; +export const createResponseFunction = (httpResp) => (request, response) => { + response.statusCode = httpResp.statusCode; + if (httpResp.reason) { + response.statusMessage = httpResp.reason; + } + setResponseHeaders(response, httpResp.headers); + setResponseBody(response, httpResp.body); +}; +export const createResponseFunctionWithDelay = (httpResp, delay) => (request, response) => { + response.statusCode = httpResp.statusCode; + if (httpResp.reason) { + response.statusMessage = httpResp.reason; + } + setResponseHeaders(response, httpResp.headers); + timing.setTimeout(() => setResponseBody(response, httpResp.body), delay); +}; +export const createContinueResponseFunction = (httpResp) => (request, response) => { + response.writeContinue(); + timing.setTimeout(() => { + createResponseFunction(httpResp)(request, response); + }, 100); +}; +export const createMockHttpsServer = () => { + const server = createHttpsServer({ + key: readFileSync(join(fixturesDir, "test-server-key.pem")), + cert: readFileSync(join(fixturesDir, "test-server-cert.pem")), + }); + return server; +}; +export const createMockHttpServer = () => { + const server = createHttpServer(); + return server; +}; +export const createMockHttp2Server = () => { + const server = createHttp2Server(); + return server; +}; +export const createMirrorResponseFunction = (httpResp) => (request, response) => { + const bufs = []; + request.on("data", (chunk) => { + bufs.push(chunk); + }); + request.on("end", () => { + response.statusCode = httpResp.statusCode; + setResponseHeaders(response, httpResp.headers); + setResponseBody(response, Buffer.concat(bufs)); + }); + request.on("error", (err) => { + response.statusCode = 500; + setResponseHeaders(response, httpResp.headers); + setResponseBody(response, err.message); + }); +}; +export const getResponseBody = (response) => { + return new Promise((resolve, reject) => { + const bufs = []; + response.body.on("data", function (d) { + bufs.push(d); + }); + response.body.on("end", function () { + resolve(Buffer.concat(bufs).toString()); + }); + response.body.on("error", (err) => { + reject(err); + }); + }); +}; diff --git a/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js b/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js new file mode 100644 index 0000000..297862e --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js @@ -0,0 +1,36 @@ +import { timing } from "./timing"; +const DEFER_EVENT_LISTENER_TIME = 1000; +export const setConnectionTimeout = (request, reject, timeoutInMs = 0) => { + if (!timeoutInMs) { + return -1; + } + const registerTimeout = (offset) => { + const timeoutId = timing.setTimeout(() => { + request.destroy(); + reject(Object.assign(new Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${timeoutInMs} ms.`), { + name: "TimeoutError", + })); + }, timeoutInMs - offset); + const doWithSocket = (socket) => { + if (socket?.connecting) { + socket.on("connect", () => { + timing.clearTimeout(timeoutId); + }); + } + else { + timing.clearTimeout(timeoutId); + } + }; + if (request.socket) { + doWithSocket(request.socket); + } + else { + request.on("socket", doWithSocket); + } + }; + if (timeoutInMs < 2000) { + registerTimeout(0); + return 0; + } + return timing.setTimeout(registerTimeout.bind(null, DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME); +}; diff --git a/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js b/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js new file mode 100644 index 0000000..44a1c85 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js @@ -0,0 +1,21 @@ +import { timing } from "./timing"; +export const setRequestTimeout = (req, reject, timeoutInMs = 0, throwOnRequestTimeout, logger) => { + if (timeoutInMs) { + return timing.setTimeout(() => { + let msg = `@smithy/node-http-handler - [${throwOnRequestTimeout ? "ERROR" : "WARN"}] a request has exceeded the configured ${timeoutInMs} ms requestTimeout.`; + if (throwOnRequestTimeout) { + const error = Object.assign(new Error(msg), { + name: "TimeoutError", + code: "ETIMEDOUT", + }); + req.destroy(error); + reject(error); + } + else { + msg += ` Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.`; + logger?.warn?.(msg); + } + }, timeoutInMs); + } + return -1; +}; diff --git a/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js b/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js new file mode 100644 index 0000000..18391a8 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js @@ -0,0 +1,22 @@ +import { timing } from "./timing"; +const DEFER_EVENT_LISTENER_TIME = 3000; +export const setSocketKeepAlive = (request, { keepAlive, keepAliveMsecs }, deferTimeMs = DEFER_EVENT_LISTENER_TIME) => { + if (keepAlive !== true) { + return -1; + } + const registerListener = () => { + if (request.socket) { + request.socket.setKeepAlive(keepAlive, keepAliveMsecs || 0); + } + else { + request.on("socket", (socket) => { + socket.setKeepAlive(keepAlive, keepAliveMsecs || 0); + }); + } + }; + if (deferTimeMs === 0) { + registerListener(); + return 0; + } + return timing.setTimeout(registerListener, deferTimeMs); +}; diff --git a/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js b/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js new file mode 100644 index 0000000..7925afd --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js @@ -0,0 +1,23 @@ +import { timing } from "./timing"; +const DEFER_EVENT_LISTENER_TIME = 3000; +export const setSocketTimeout = (request, reject, timeoutInMs = 0) => { + const registerTimeout = (offset) => { + const timeout = timeoutInMs - offset; + const onTimeout = () => { + request.destroy(); + reject(Object.assign(new Error(`@smithy/node-http-handler - the request socket timed out after ${timeoutInMs} ms of inactivity (configured by client requestHandler).`), { name: "TimeoutError" })); + }; + if (request.socket) { + request.socket.setTimeout(timeout, onTimeout); + request.on("close", () => request.socket?.removeListener("timeout", onTimeout)); + } + else { + request.setTimeout(timeout, onTimeout); + } + }; + if (0 < timeoutInMs && timeoutInMs < 6000) { + registerTimeout(0); + return 0; + } + return timing.setTimeout(registerTimeout.bind(null, timeoutInMs === 0 ? 0 : DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME); +}; diff --git a/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js b/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js new file mode 100644 index 0000000..df09a4d --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js @@ -0,0 +1,8 @@ +import { Writable } from "node:stream"; +export class Collector extends Writable { + bufferedBytes = []; + _write(chunk, encoding, callback) { + this.bufferedBytes.push(chunk); + callback(); + } +} diff --git a/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js b/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js new file mode 100644 index 0000000..8ff09c0 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js @@ -0,0 +1,41 @@ +import { Collector } from "./collector"; +export const streamCollector = (stream) => { + if (isReadableStreamInstance(stream)) { + return collectReadableStream(stream); + } + return new Promise((resolve, reject) => { + const collector = new Collector(); + stream.pipe(collector); + stream.on("error", (err) => { + collector.end(); + reject(err); + }); + collector.on("error", reject); + collector.on("finish", function () { + const bytes = new Uint8Array(Buffer.concat(this.bufferedBytes)); + resolve(bytes); + }); + }); +}; +const isReadableStreamInstance = (stream) => typeof ReadableStream === "function" && stream instanceof ReadableStream; +async function collectReadableStream(stream) { + const chunks = []; + const reader = stream.getReader(); + let isDone = false; + let length = 0; + while (!isDone) { + const { done, value } = await reader.read(); + if (value) { + chunks.push(value); + length += value.length; + } + isDone = done; + } + const collected = new Uint8Array(length); + let offset = 0; + for (const chunk of chunks) { + collected.set(chunk, offset); + offset += chunk.length; + } + return collected; +} diff --git a/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js b/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js new file mode 100644 index 0000000..4a7a0a3 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js @@ -0,0 +1,21 @@ +import { Readable } from "node:stream"; +export class ReadFromBuffers extends Readable { + buffersToRead; + numBuffersRead = 0; + errorAfter; + constructor(options) { + super(options); + this.buffersToRead = options.buffers; + this.errorAfter = typeof options.errorAfter === "number" ? options.errorAfter : -1; + } + _read(size) { + if (this.errorAfter !== -1 && this.errorAfter === this.numBuffersRead) { + this.emit("error", new Error("Mock Error")); + return; + } + if (this.numBuffersRead >= this.buffersToRead.length) { + return this.push(null); + } + return this.push(this.buffersToRead[this.numBuffersRead++]); + } +} diff --git a/node_modules/@smithy/node-http-handler/dist-es/timing.js b/node_modules/@smithy/node-http-handler/dist-es/timing.js new file mode 100644 index 0000000..792ba48 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-es/timing.js @@ -0,0 +1,4 @@ +export const timing = { + setTimeout: (cb, ms) => setTimeout(cb, ms), + clearTimeout: (timeoutId) => clearTimeout(timeoutId), +}; diff --git a/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js b/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js new file mode 100644 index 0000000..1f17010 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js @@ -0,0 +1,63 @@ +import { Readable } from "node:stream"; +import { timing } from "./timing"; +const MIN_WAIT_TIME = 6_000; +export async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME, externalAgent = false) { + const headers = request.headers ?? {}; + const expect = headers.Expect || headers.expect; + let timeoutId = -1; + let sendBody = true; + if (!externalAgent && expect === "100-continue") { + sendBody = await Promise.race([ + new Promise((resolve) => { + timeoutId = Number(timing.setTimeout(() => resolve(true), Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs))); + }), + new Promise((resolve) => { + httpRequest.on("continue", () => { + timing.clearTimeout(timeoutId); + resolve(true); + }); + httpRequest.on("response", () => { + timing.clearTimeout(timeoutId); + resolve(false); + }); + httpRequest.on("error", () => { + timing.clearTimeout(timeoutId); + resolve(false); + }); + }), + ]); + } + if (sendBody) { + writeBody(httpRequest, request.body); + } +} +function writeBody(httpRequest, body) { + if (body instanceof Readable) { + body.pipe(httpRequest); + return; + } + if (body) { + const isBuffer = Buffer.isBuffer(body); + const isString = typeof body === "string"; + if (isBuffer || isString) { + if (isBuffer && body.byteLength === 0) { + httpRequest.end(); + } + else { + httpRequest.end(body); + } + return; + } + const uint8 = body; + if (typeof uint8 === "object" && + uint8.buffer && + typeof uint8.byteOffset === "number" && + typeof uint8.byteLength === "number") { + httpRequest.end(Buffer.from(uint8.buffer, uint8.byteOffset, uint8.byteLength)); + return; + } + httpRequest.end(Buffer.from(body)); + return; + } + httpRequest.end(); +} diff --git a/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts b/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts new file mode 100644 index 0000000..10fa4eb --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts @@ -0,0 +1,10 @@ +/** + * Builds an abort error, using the AbortSignal's reason if available. + * + * @param abortSignal - Optional AbortSignal that may contain a reason. + * @returns A new Error with name "AbortError". If the signal has a reason that's + * already an Error, the reason is set as `cause`. Otherwise creates a + * new Error with the reason as the message, or "Request aborted" if no + * reason. + */ +export declare function buildAbortError(abortSignal?: unknown): Error; diff --git a/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts b/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts new file mode 100644 index 0000000..3540461 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts @@ -0,0 +1,5 @@ +/** + * Node.js system error codes that indicate timeout. + * @deprecated use NODEJS_TIMEOUT_ERROR_CODES from @smithy/service-error-classification/constants + */ +export declare const NODEJS_TIMEOUT_ERROR_CODES: string[]; diff --git a/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts b/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts new file mode 100644 index 0000000..43beb75 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts @@ -0,0 +1,4 @@ +import type { HeaderBag } from "@smithy/types"; +import type { IncomingHttpHeaders } from "node:http2"; +declare const getTransformedHeaders: (headers: IncomingHttpHeaders) => HeaderBag; +export { getTransformedHeaders }; diff --git a/node_modules/@smithy/node-http-handler/dist-types/index.d.ts b/node_modules/@smithy/node-http-handler/dist-types/index.d.ts new file mode 100644 index 0000000..09c0b9a --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/index.d.ts @@ -0,0 +1,3 @@ +export * from "./node-http-handler"; +export * from "./node-http2-handler"; +export * from "./stream-collector"; diff --git a/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts b/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts new file mode 100644 index 0000000..f0d6137 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts @@ -0,0 +1,46 @@ +import type { HttpHandler, HttpRequest } from "@smithy/protocol-http"; +import { HttpResponse } from "@smithy/protocol-http"; +import type { HttpHandlerOptions, Logger, NodeHttpHandlerOptions, Provider } from "@smithy/types"; +import type { Agent as hAgentType } from "node:http"; +import { Agent as hsAgent } from "node:https"; +export { NodeHttpHandlerOptions }; +/** + * @public + * A default of 0 means no timeout. + */ +export declare const DEFAULT_REQUEST_TIMEOUT = 0; +/** + * @public + * A request handler that uses the Node.js http and https modules. + */ +export declare class NodeHttpHandler implements HttpHandler { + private config?; + private configProvider; + private socketWarningTimestamp; + private externalAgent; + readonly metadata: { + handlerProtocol: string; + }; + /** + * @returns the input if it is an HttpHandler of any class, + * or instantiates a new instance of this handler. + */ + static create(instanceOrOptions?: HttpHandler | NodeHttpHandlerOptions | Provider): NodeHttpHandler | HttpHandler; + /** + * @internal + * + * @param agent - http(s) agent in use by the NodeHttpHandler instance. + * @param socketWarningTimestamp - last socket usage check timestamp. + * @param logger - channel for the warning. + * @returns timestamp of last emitted warning. + */ + static checkSocketUsage(agent: hAgentType | hsAgent, socketWarningTimestamp: number, logger?: Logger): number; + constructor(options?: NodeHttpHandlerOptions | Provider); + destroy(): void; + handle(request: HttpRequest, { abortSignal, requestTimeout }?: HttpHandlerOptions): Promise<{ + response: HttpResponse; + }>; + updateHttpClientConfig(key: keyof NodeHttpHandlerOptions, value: NodeHttpHandlerOptions[typeof key]): void; + httpHandlerConfigs(): NodeHttpHandlerOptions; + private resolveDefaultConfig; +} diff --git a/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts b/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts new file mode 100644 index 0000000..2a98ec3 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts @@ -0,0 +1,24 @@ +import type { RequestContext } from "@smithy/types"; +import type { ConnectConfiguration } from "@smithy/types"; +import type { ConnectionManager, ConnectionManagerConfiguration } from "@smithy/types"; +import type { ClientHttp2Session } from "node:http2"; +/** + * @public + */ +export declare class NodeHttp2ConnectionManager implements ConnectionManager { + constructor(config: ConnectionManagerConfiguration); + private config; + private readonly sessionCache; + lease(requestContext: RequestContext, connectionConfiguration: ConnectConfiguration): ClientHttp2Session; + /** + * Delete a session from the connection pool. + * @param authority The authority of the session to delete. + * @param session The session to delete. + */ + deleteSession(authority: string, session: ClientHttp2Session): void; + release(requestContext: RequestContext, session: ClientHttp2Session): void; + destroy(): void; + setMaxConcurrentStreams(maxConcurrentStreams: number): void; + setDisableConcurrentStreams(disableConcurrentStreams: boolean): void; + private getUrlString; +} diff --git a/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts b/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts new file mode 100644 index 0000000..d2b11fa --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts @@ -0,0 +1,12 @@ +import type { ConnectionPool } from "@smithy/types"; +import type { ClientHttp2Session } from "node:http2"; +export declare class NodeHttp2ConnectionPool implements ConnectionPool { + private sessions; + constructor(sessions?: ClientHttp2Session[]); + poll(): ClientHttp2Session | void; + offerLast(session: ClientHttp2Session): void; + contains(session: ClientHttp2Session): boolean; + remove(session: ClientHttp2Session): void; + [Symbol.iterator](): ArrayIterator; + destroy(connection: ClientHttp2Session): void; +} diff --git a/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts b/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts new file mode 100644 index 0000000..55aaf80 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts @@ -0,0 +1,63 @@ +import type { HttpHandler, HttpRequest } from "@smithy/protocol-http"; +import { HttpResponse } from "@smithy/protocol-http"; +import type { HttpHandlerOptions, Provider } from "@smithy/types"; +/** + * Represents the http2 options that can be passed to a node http2 client. + * @public + */ +export interface NodeHttp2HandlerOptions { + /** + * The maximum time in milliseconds that a stream may remain idle before it + * is closed. + */ + requestTimeout?: number; + /** + * The maximum time in milliseconds that a session or socket may remain idle + * before it is closed. + * https://nodejs.org/docs/latest-v12.x/api/http2.html#http2_http2session_and_sockets + */ + sessionTimeout?: number; + /** + * Disables processing concurrent streams on a ClientHttp2Session instance. When set + * to true, a new session instance is created for each request to a URL. + * **Default:** false. + * https://nodejs.org/api/http2.html#http2_class_clienthttp2session + */ + disableConcurrentStreams?: boolean; + /** + * Maximum number of concurrent Http2Stream instances per ClientHttp2Session. Each session + * may have up to 2^31-1 Http2Stream instances over its lifetime. + * This value must be greater than or equal to 0. + * https://nodejs.org/api/http2.html#class-http2stream + */ + maxConcurrentStreams?: number; +} +/** + * A request handler using the node:http2 package. + * @public + */ +export declare class NodeHttp2Handler implements HttpHandler { + private config?; + private configProvider; + readonly metadata: { + handlerProtocol: string; + }; + private readonly connectionManager; + /** + * @returns the input if it is an HttpHandler of any class, + * or instantiates a new instance of this handler. + */ + static create(instanceOrOptions?: HttpHandler | NodeHttp2HandlerOptions | Provider): HttpHandler | NodeHttp2Handler; + constructor(options?: NodeHttp2HandlerOptions | Provider); + destroy(): void; + handle(request: HttpRequest, { abortSignal, requestTimeout }?: HttpHandlerOptions): Promise<{ + response: HttpResponse; + }>; + updateHttpClientConfig(key: keyof NodeHttp2HandlerOptions, value: NodeHttp2HandlerOptions[typeof key]): void; + httpHandlerConfigs(): NodeHttp2HandlerOptions; + /** + * Destroys a session. + * @param session - the session to destroy. + */ + private destroySession; +} diff --git a/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts b/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts new file mode 100644 index 0000000..fd7d783 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts @@ -0,0 +1,13 @@ +import type { ReadableOptions } from "node:stream"; +import { Readable } from "node:stream"; +export interface ReadFromBuffersOptions extends ReadableOptions { + buffers: Buffer[]; + errorAfter?: number; +} +export declare class ReadFromBuffers extends Readable { + private buffersToRead; + private numBuffersRead; + private errorAfter; + constructor(options: ReadFromBuffersOptions); + _read(): boolean | undefined; +} diff --git a/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts b/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts new file mode 100644 index 0000000..9ac3131 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts @@ -0,0 +1,12 @@ +import type { HttpResponse } from "@smithy/types"; +import type { IncomingMessage, Server as HttpServer, ServerResponse } from "node:http"; +import type { Http2Server } from "node:http2"; +import type { Server as HttpsServer } from "node:https"; +export declare const createResponseFunction: (httpResp: HttpResponse) => (request: IncomingMessage, response: ServerResponse) => void; +export declare const createResponseFunctionWithDelay: (httpResp: HttpResponse, delay: number) => (request: IncomingMessage, response: ServerResponse) => void; +export declare const createContinueResponseFunction: (httpResp: HttpResponse) => (request: IncomingMessage, response: ServerResponse) => void; +export declare const createMockHttpsServer: () => HttpsServer; +export declare const createMockHttpServer: () => HttpServer; +export declare const createMockHttp2Server: () => Http2Server; +export declare const createMirrorResponseFunction: (httpResp: HttpResponse) => (request: IncomingMessage, response: ServerResponse) => void; +export declare const getResponseBody: (response: HttpResponse) => Promise; diff --git a/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts b/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts new file mode 100644 index 0000000..1520cae --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts @@ -0,0 +1,2 @@ +import type { ClientRequest } from "node:http"; +export declare const setConnectionTimeout: (request: ClientRequest, reject: (err: Error) => void, timeoutInMs?: number) => NodeJS.Timeout | number; diff --git a/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts b/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts new file mode 100644 index 0000000..9b4dd0c --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts @@ -0,0 +1,6 @@ +import type { Logger } from "@smithy/types"; +import type { ClientRequest } from "node:http"; +/** + * @internal + */ +export declare const setRequestTimeout: (req: ClientRequest, reject: (err: Error) => void, timeoutInMs?: number, throwOnRequestTimeout?: boolean, logger?: Logger) => number; diff --git a/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts b/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts new file mode 100644 index 0000000..da7a1e9 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts @@ -0,0 +1,6 @@ +import type { ClientRequest } from "node:http"; +export interface SocketKeepAliveOptions { + keepAlive: boolean; + keepAliveMsecs?: number; +} +export declare const setSocketKeepAlive: (request: ClientRequest, { keepAlive, keepAliveMsecs }: SocketKeepAliveOptions, deferTimeMs?: number) => NodeJS.Timeout | number; diff --git a/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts b/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts new file mode 100644 index 0000000..3a4077f --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts @@ -0,0 +1,2 @@ +import type { ClientRequest } from "node:http"; +export declare const setSocketTimeout: (request: ClientRequest, reject: (err: Error) => void, timeoutInMs?: number) => NodeJS.Timeout | number; diff --git a/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts b/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts new file mode 100644 index 0000000..abf98f6 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts @@ -0,0 +1,5 @@ +import { Writable } from "node:stream"; +export declare class Collector extends Writable { + readonly bufferedBytes: Buffer[]; + _write(chunk: Buffer, encoding: string, callback: (err?: Error) => void): void; +} diff --git a/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts b/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts new file mode 100644 index 0000000..43dc0fe --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts @@ -0,0 +1,6 @@ +import type { StreamCollector } from "@smithy/types"; +/** + * @internal + * Converts a stream to a byte array. + */ +export declare const streamCollector: StreamCollector; diff --git a/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts b/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts new file mode 100644 index 0000000..dd11719 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts @@ -0,0 +1,13 @@ +import type { ReadableOptions } from "node:stream"; +import { Readable } from "node:stream"; +export interface ReadFromBuffersOptions extends ReadableOptions { + buffers: Buffer[]; + errorAfter?: number; +} +export declare class ReadFromBuffers extends Readable { + private buffersToRead; + private numBuffersRead; + private errorAfter; + constructor(options: ReadFromBuffersOptions); + _read(size: number): boolean | undefined; +} diff --git a/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts b/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts new file mode 100644 index 0000000..de5b695 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + * For test spies. + */ +export declare const timing: { + setTimeout: (cb: (...ignored: any[]) => void | unknown, ms?: number) => number; + clearTimeout: (timeoutId: string | number | undefined | unknown) => void; +}; diff --git a/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts new file mode 100644 index 0000000..10fa4eb --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts @@ -0,0 +1,10 @@ +/** + * Builds an abort error, using the AbortSignal's reason if available. + * + * @param abortSignal - Optional AbortSignal that may contain a reason. + * @returns A new Error with name "AbortError". If the signal has a reason that's + * already an Error, the reason is set as `cause`. Otherwise creates a + * new Error with the reason as the message, or "Request aborted" if no + * reason. + */ +export declare function buildAbortError(abortSignal?: unknown): Error; diff --git a/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts new file mode 100644 index 0000000..3540461 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts @@ -0,0 +1,5 @@ +/** + * Node.js system error codes that indicate timeout. + * @deprecated use NODEJS_TIMEOUT_ERROR_CODES from @smithy/service-error-classification/constants + */ +export declare const NODEJS_TIMEOUT_ERROR_CODES: string[]; diff --git a/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts new file mode 100644 index 0000000..9ddaf4f --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts @@ -0,0 +1,4 @@ +import { HeaderBag } from "@smithy/types"; +import { IncomingHttpHeaders } from "node:http2"; +declare const getTransformedHeaders: (headers: IncomingHttpHeaders) => HeaderBag; +export { getTransformedHeaders }; diff --git a/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..09c0b9a --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts @@ -0,0 +1,3 @@ +export * from "./node-http-handler"; +export * from "./node-http2-handler"; +export * from "./stream-collector"; diff --git a/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts new file mode 100644 index 0000000..5e30a71 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts @@ -0,0 +1,46 @@ +import { HttpHandler, HttpRequest } from "@smithy/protocol-http"; +import { HttpResponse } from "@smithy/protocol-http"; +import { HttpHandlerOptions, Logger, NodeHttpHandlerOptions, Provider } from "@smithy/types"; +import { Agent as hAgentType } from "node:http"; +import { Agent as hsAgent } from "node:https"; +export { NodeHttpHandlerOptions }; +/** + * @public + * A default of 0 means no timeout. + */ +export declare const DEFAULT_REQUEST_TIMEOUT = 0; +/** + * @public + * A request handler that uses the Node.js http and https modules. + */ +export declare class NodeHttpHandler implements HttpHandler { + private config?; + private configProvider; + private socketWarningTimestamp; + private externalAgent; + readonly metadata: { + handlerProtocol: string; + }; + /** + * @returns the input if it is an HttpHandler of any class, + * or instantiates a new instance of this handler. + */ + static create(instanceOrOptions?: HttpHandler | NodeHttpHandlerOptions | Provider): NodeHttpHandler | HttpHandler; + /** + * @internal + * + * @param agent - http(s) agent in use by the NodeHttpHandler instance. + * @param socketWarningTimestamp - last socket usage check timestamp. + * @param logger - channel for the warning. + * @returns timestamp of last emitted warning. + */ + static checkSocketUsage(agent: hAgentType | hsAgent, socketWarningTimestamp: number, logger?: Logger): number; + constructor(options?: NodeHttpHandlerOptions | Provider); + destroy(): void; + handle(request: HttpRequest, { abortSignal, requestTimeout }?: HttpHandlerOptions): Promise<{ + response: HttpResponse; + }>; + updateHttpClientConfig(key: keyof NodeHttpHandlerOptions, value: NodeHttpHandlerOptions[typeof key]): void; + httpHandlerConfigs(): NodeHttpHandlerOptions; + private resolveDefaultConfig; +} diff --git a/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts new file mode 100644 index 0000000..6ad9000 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts @@ -0,0 +1,24 @@ +import { RequestContext } from "@smithy/types"; +import { ConnectConfiguration } from "@smithy/types"; +import { ConnectionManager, ConnectionManagerConfiguration } from "@smithy/types"; +import { ClientHttp2Session } from "node:http2"; +/** + * @public + */ +export declare class NodeHttp2ConnectionManager implements ConnectionManager { + constructor(config: ConnectionManagerConfiguration); + private config; + private readonly sessionCache; + lease(requestContext: RequestContext, connectionConfiguration: ConnectConfiguration): ClientHttp2Session; + /** + * Delete a session from the connection pool. + * @param authority The authority of the session to delete. + * @param session The session to delete. + */ + deleteSession(authority: string, session: ClientHttp2Session): void; + release(requestContext: RequestContext, session: ClientHttp2Session): void; + destroy(): void; + setMaxConcurrentStreams(maxConcurrentStreams: number): void; + setDisableConcurrentStreams(disableConcurrentStreams: boolean): void; + private getUrlString; +} diff --git a/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts new file mode 100644 index 0000000..67e4755 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts @@ -0,0 +1,12 @@ +import { ConnectionPool } from "@smithy/types"; +import { ClientHttp2Session } from "node:http2"; +export declare class NodeHttp2ConnectionPool implements ConnectionPool { + private sessions; + constructor(sessions?: ClientHttp2Session[]); + poll(): ClientHttp2Session | void; + offerLast(session: ClientHttp2Session): void; + contains(session: ClientHttp2Session): boolean; + remove(session: ClientHttp2Session): void; + [Symbol.iterator](): ArrayIterator; + destroy(connection: ClientHttp2Session): void; +} diff --git a/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts new file mode 100644 index 0000000..838c8b8 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts @@ -0,0 +1,63 @@ +import { HttpHandler, HttpRequest } from "@smithy/protocol-http"; +import { HttpResponse } from "@smithy/protocol-http"; +import { HttpHandlerOptions, Provider } from "@smithy/types"; +/** + * Represents the http2 options that can be passed to a node http2 client. + * @public + */ +export interface NodeHttp2HandlerOptions { + /** + * The maximum time in milliseconds that a stream may remain idle before it + * is closed. + */ + requestTimeout?: number; + /** + * The maximum time in milliseconds that a session or socket may remain idle + * before it is closed. + * https://nodejs.org/docs/latest-v12.x/api/http2.html#http2_http2session_and_sockets + */ + sessionTimeout?: number; + /** + * Disables processing concurrent streams on a ClientHttp2Session instance. When set + * to true, a new session instance is created for each request to a URL. + * **Default:** false. + * https://nodejs.org/api/http2.html#http2_class_clienthttp2session + */ + disableConcurrentStreams?: boolean; + /** + * Maximum number of concurrent Http2Stream instances per ClientHttp2Session. Each session + * may have up to 2^31-1 Http2Stream instances over its lifetime. + * This value must be greater than or equal to 0. + * https://nodejs.org/api/http2.html#class-http2stream + */ + maxConcurrentStreams?: number; +} +/** + * A request handler using the node:http2 package. + * @public + */ +export declare class NodeHttp2Handler implements HttpHandler { + private config?; + private configProvider; + readonly metadata: { + handlerProtocol: string; + }; + private readonly connectionManager; + /** + * @returns the input if it is an HttpHandler of any class, + * or instantiates a new instance of this handler. + */ + static create(instanceOrOptions?: HttpHandler | NodeHttp2HandlerOptions | Provider): HttpHandler | NodeHttp2Handler; + constructor(options?: NodeHttp2HandlerOptions | Provider); + destroy(): void; + handle(request: HttpRequest, { abortSignal, requestTimeout }?: HttpHandlerOptions): Promise<{ + response: HttpResponse; + }>; + updateHttpClientConfig(key: keyof NodeHttp2HandlerOptions, value: NodeHttp2HandlerOptions[typeof key]): void; + httpHandlerConfigs(): NodeHttp2HandlerOptions; + /** + * Destroys a session. + * @param session - the session to destroy. + */ + private destroySession; +} diff --git a/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts new file mode 100644 index 0000000..83c2904 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts @@ -0,0 +1,13 @@ +import { ReadableOptions } from "node:stream"; +import { Readable } from "node:stream"; +export interface ReadFromBuffersOptions extends ReadableOptions { + buffers: Buffer[]; + errorAfter?: number; +} +export declare class ReadFromBuffers extends Readable { + private buffersToRead; + private numBuffersRead; + private errorAfter; + constructor(options: ReadFromBuffersOptions); + _read(): boolean | undefined; +} diff --git a/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts new file mode 100644 index 0000000..7b6669a --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts @@ -0,0 +1,12 @@ +import { HttpResponse } from "@smithy/types"; +import { IncomingMessage, Server as HttpServer, ServerResponse } from "node:http"; +import { Http2Server } from "node:http2"; +import { Server as HttpsServer } from "node:https"; +export declare const createResponseFunction: (httpResp: HttpResponse) => (request: IncomingMessage, response: ServerResponse) => void; +export declare const createResponseFunctionWithDelay: (httpResp: HttpResponse, delay: number) => (request: IncomingMessage, response: ServerResponse) => void; +export declare const createContinueResponseFunction: (httpResp: HttpResponse) => (request: IncomingMessage, response: ServerResponse) => void; +export declare const createMockHttpsServer: () => HttpsServer; +export declare const createMockHttpServer: () => HttpServer; +export declare const createMockHttp2Server: () => Http2Server; +export declare const createMirrorResponseFunction: (httpResp: HttpResponse) => (request: IncomingMessage, response: ServerResponse) => void; +export declare const getResponseBody: (response: HttpResponse) => Promise; diff --git a/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts new file mode 100644 index 0000000..e67acf8 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts @@ -0,0 +1,2 @@ +import { ClientRequest } from "node:http"; +export declare const setConnectionTimeout: (request: ClientRequest, reject: (err: Error) => void, timeoutInMs?: number) => NodeJS.Timeout | number; diff --git a/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts new file mode 100644 index 0000000..0655ebe --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts @@ -0,0 +1,6 @@ +import { Logger } from "@smithy/types"; +import { ClientRequest } from "node:http"; +/** + * @internal + */ +export declare const setRequestTimeout: (req: ClientRequest, reject: (err: Error) => void, timeoutInMs?: number, throwOnRequestTimeout?: boolean, logger?: Logger) => number; diff --git a/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts new file mode 100644 index 0000000..349b5a9 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts @@ -0,0 +1,6 @@ +import { ClientRequest } from "node:http"; +export interface SocketKeepAliveOptions { + keepAlive: boolean; + keepAliveMsecs?: number; +} +export declare const setSocketKeepAlive: (request: ClientRequest, { keepAlive, keepAliveMsecs }: SocketKeepAliveOptions, deferTimeMs?: number) => NodeJS.Timeout | number; diff --git a/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts new file mode 100644 index 0000000..cbce5f6 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts @@ -0,0 +1,2 @@ +import { ClientRequest } from "node:http"; +export declare const setSocketTimeout: (request: ClientRequest, reject: (err: Error) => void, timeoutInMs?: number) => NodeJS.Timeout | number; diff --git a/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts new file mode 100644 index 0000000..abf98f6 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts @@ -0,0 +1,5 @@ +import { Writable } from "node:stream"; +export declare class Collector extends Writable { + readonly bufferedBytes: Buffer[]; + _write(chunk: Buffer, encoding: string, callback: (err?: Error) => void): void; +} diff --git a/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts new file mode 100644 index 0000000..a9a9498 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts @@ -0,0 +1,6 @@ +import { StreamCollector } from "@smithy/types"; +/** + * @internal + * Converts a stream to a byte array. + */ +export declare const streamCollector: StreamCollector; diff --git a/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts new file mode 100644 index 0000000..37332b8 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts @@ -0,0 +1,13 @@ +import { ReadableOptions } from "node:stream"; +import { Readable } from "node:stream"; +export interface ReadFromBuffersOptions extends ReadableOptions { + buffers: Buffer[]; + errorAfter?: number; +} +export declare class ReadFromBuffers extends Readable { + private buffersToRead; + private numBuffersRead; + private errorAfter; + constructor(options: ReadFromBuffersOptions); + _read(size: number): boolean | undefined; +} diff --git a/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts new file mode 100644 index 0000000..de5b695 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + * For test spies. + */ +export declare const timing: { + setTimeout: (cb: (...ignored: any[]) => void | unknown, ms?: number) => number; + clearTimeout: (timeoutId: string | number | undefined | unknown) => void; +}; diff --git a/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts new file mode 100644 index 0000000..cb6814f --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts @@ -0,0 +1,12 @@ +import { HttpRequest } from "@smithy/types"; +import { ClientRequest } from "node:http"; +import { ClientHttp2Stream } from "node:http2"; +/** + * This resolves when writeBody has been called. + * + * @param httpRequest - opened Node.js request. + * @param request - container with the request body. + * @param maxContinueTimeoutMs - time to wait for the continue event. + * @param externalAgent - whether agent is owned by caller code. + */ +export declare function writeRequestBody(httpRequest: ClientRequest | ClientHttp2Stream, request: HttpRequest, maxContinueTimeoutMs?: number, externalAgent?: boolean): Promise; diff --git a/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts b/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts new file mode 100644 index 0000000..e541b65 --- /dev/null +++ b/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts @@ -0,0 +1,12 @@ +import type { HttpRequest } from "@smithy/types"; +import type { ClientRequest } from "node:http"; +import type { ClientHttp2Stream } from "node:http2"; +/** + * This resolves when writeBody has been called. + * + * @param httpRequest - opened Node.js request. + * @param request - container with the request body. + * @param maxContinueTimeoutMs - time to wait for the continue event. + * @param externalAgent - whether agent is owned by caller code. + */ +export declare function writeRequestBody(httpRequest: ClientRequest | ClientHttp2Stream, request: HttpRequest, maxContinueTimeoutMs?: number, externalAgent?: boolean): Promise; diff --git a/node_modules/@smithy/node-http-handler/package.json b/node_modules/@smithy/node-http-handler/package.json new file mode 100644 index 0000000..190597e --- /dev/null +++ b/node_modules/@smithy/node-http-handler/package.json @@ -0,0 +1,68 @@ +{ + "name": "@smithy/node-http-handler", + "version": "4.5.1", + "description": "Provides a way to make requests", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline node-http-handler", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "extract:docs": "api-extractor run --local", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "email": "", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "dependencies": { + "@smithy/protocol-http": "^5.3.12", + "@smithy/querystring-builder": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@smithy/abort-controller": "^4.2.12", + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/node-http-handler", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/node-http-handler" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/property-provider/LICENSE b/node_modules/@smithy/property-provider/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/property-provider/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/property-provider/README.md b/node_modules/@smithy/property-provider/README.md new file mode 100644 index 0000000..b35fafb --- /dev/null +++ b/node_modules/@smithy/property-provider/README.md @@ -0,0 +1,10 @@ +# @smithy/property-provider + +[![NPM version](https://img.shields.io/npm/v/@smithy/property-provider/latest.svg)](https://www.npmjs.com/package/@smithy/property-provider) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/property-provider.svg)](https://www.npmjs.com/package/@smithy/property-provider) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/property-provider/dist-cjs/index.js b/node_modules/@smithy/property-provider/dist-cjs/index.js new file mode 100644 index 0000000..a419560 --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-cjs/index.js @@ -0,0 +1,117 @@ +'use strict'; + +class ProviderError extends Error { + name = "ProviderError"; + tryNextLink; + constructor(message, options = true) { + let logger; + let tryNextLink = true; + if (typeof options === "boolean") { + logger = undefined; + tryNextLink = options; + } + else if (options != null && typeof options === "object") { + logger = options.logger; + tryNextLink = options.tryNextLink ?? true; + } + super(message); + this.tryNextLink = tryNextLink; + Object.setPrototypeOf(this, ProviderError.prototype); + logger?.debug?.(`@smithy/property-provider ${tryNextLink ? "->" : "(!)"} ${message}`); + } + static from(error, options = true) { + return Object.assign(new this(error.message, options), error); + } +} + +class CredentialsProviderError extends ProviderError { + name = "CredentialsProviderError"; + constructor(message, options = true) { + super(message, options); + Object.setPrototypeOf(this, CredentialsProviderError.prototype); + } +} + +class TokenProviderError extends ProviderError { + name = "TokenProviderError"; + constructor(message, options = true) { + super(message, options); + Object.setPrototypeOf(this, TokenProviderError.prototype); + } +} + +const chain = (...providers) => async () => { + if (providers.length === 0) { + throw new ProviderError("No providers in chain"); + } + let lastProviderError; + for (const provider of providers) { + try { + const credentials = await provider(); + return credentials; + } + catch (err) { + lastProviderError = err; + if (err?.tryNextLink) { + continue; + } + throw err; + } + } + throw lastProviderError; +}; + +const fromStatic = (staticValue) => () => Promise.resolve(staticValue); + +const memoize = (provider, isExpired, requiresRefresh) => { + let resolved; + let pending; + let hasResult; + let isConstant = false; + const coalesceProvider = async () => { + if (!pending) { + pending = provider(); + } + try { + resolved = await pending; + hasResult = true; + isConstant = false; + } + finally { + pending = undefined; + } + return resolved; + }; + if (isExpired === undefined) { + return async (options) => { + if (!hasResult || options?.forceRefresh) { + resolved = await coalesceProvider(); + } + return resolved; + }; + } + return async (options) => { + if (!hasResult || options?.forceRefresh) { + resolved = await coalesceProvider(); + } + if (isConstant) { + return resolved; + } + if (requiresRefresh && !requiresRefresh(resolved)) { + isConstant = true; + return resolved; + } + if (isExpired(resolved)) { + await coalesceProvider(); + return resolved; + } + return resolved; + }; +}; + +exports.CredentialsProviderError = CredentialsProviderError; +exports.ProviderError = ProviderError; +exports.TokenProviderError = TokenProviderError; +exports.chain = chain; +exports.fromStatic = fromStatic; +exports.memoize = memoize; diff --git a/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js b/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js new file mode 100644 index 0000000..94cb2db --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js @@ -0,0 +1,8 @@ +import { ProviderError } from "./ProviderError"; +export class CredentialsProviderError extends ProviderError { + name = "CredentialsProviderError"; + constructor(message, options = true) { + super(message, options); + Object.setPrototypeOf(this, CredentialsProviderError.prototype); + } +} diff --git a/node_modules/@smithy/property-provider/dist-es/ProviderError.js b/node_modules/@smithy/property-provider/dist-es/ProviderError.js new file mode 100644 index 0000000..6aa3ce3 --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-es/ProviderError.js @@ -0,0 +1,23 @@ +export class ProviderError extends Error { + name = "ProviderError"; + tryNextLink; + constructor(message, options = true) { + let logger; + let tryNextLink = true; + if (typeof options === "boolean") { + logger = undefined; + tryNextLink = options; + } + else if (options != null && typeof options === "object") { + logger = options.logger; + tryNextLink = options.tryNextLink ?? true; + } + super(message); + this.tryNextLink = tryNextLink; + Object.setPrototypeOf(this, ProviderError.prototype); + logger?.debug?.(`@smithy/property-provider ${tryNextLink ? "->" : "(!)"} ${message}`); + } + static from(error, options = true) { + return Object.assign(new this(error.message, options), error); + } +} diff --git a/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js b/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js new file mode 100644 index 0000000..a162729 --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js @@ -0,0 +1,8 @@ +import { ProviderError } from "./ProviderError"; +export class TokenProviderError extends ProviderError { + name = "TokenProviderError"; + constructor(message, options = true) { + super(message, options); + Object.setPrototypeOf(this, TokenProviderError.prototype); + } +} diff --git a/node_modules/@smithy/property-provider/dist-es/chain.js b/node_modules/@smithy/property-provider/dist-es/chain.js new file mode 100644 index 0000000..c389f7f --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-es/chain.js @@ -0,0 +1,21 @@ +import { ProviderError } from "./ProviderError"; +export const chain = (...providers) => async () => { + if (providers.length === 0) { + throw new ProviderError("No providers in chain"); + } + let lastProviderError; + for (const provider of providers) { + try { + const credentials = await provider(); + return credentials; + } + catch (err) { + lastProviderError = err; + if (err?.tryNextLink) { + continue; + } + throw err; + } + } + throw lastProviderError; +}; diff --git a/node_modules/@smithy/property-provider/dist-es/fromStatic.js b/node_modules/@smithy/property-provider/dist-es/fromStatic.js new file mode 100644 index 0000000..67da7a7 --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-es/fromStatic.js @@ -0,0 +1 @@ +export const fromStatic = (staticValue) => () => Promise.resolve(staticValue); diff --git a/node_modules/@smithy/property-provider/dist-es/index.js b/node_modules/@smithy/property-provider/dist-es/index.js new file mode 100644 index 0000000..15d14e5 --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-es/index.js @@ -0,0 +1,6 @@ +export * from "./CredentialsProviderError"; +export * from "./ProviderError"; +export * from "./TokenProviderError"; +export * from "./chain"; +export * from "./fromStatic"; +export * from "./memoize"; diff --git a/node_modules/@smithy/property-provider/dist-es/memoize.js b/node_modules/@smithy/property-provider/dist-es/memoize.js new file mode 100644 index 0000000..e04839a --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-es/memoize.js @@ -0,0 +1,45 @@ +export const memoize = (provider, isExpired, requiresRefresh) => { + let resolved; + let pending; + let hasResult; + let isConstant = false; + const coalesceProvider = async () => { + if (!pending) { + pending = provider(); + } + try { + resolved = await pending; + hasResult = true; + isConstant = false; + } + finally { + pending = undefined; + } + return resolved; + }; + if (isExpired === undefined) { + return async (options) => { + if (!hasResult || options?.forceRefresh) { + resolved = await coalesceProvider(); + } + return resolved; + }; + } + return async (options) => { + if (!hasResult || options?.forceRefresh) { + resolved = await coalesceProvider(); + } + if (isConstant) { + return resolved; + } + if (requiresRefresh && !requiresRefresh(resolved)) { + isConstant = true; + return resolved; + } + if (isExpired(resolved)) { + await coalesceProvider(); + return resolved; + } + return resolved; + }; +}; diff --git a/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts b/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts new file mode 100644 index 0000000..614d764 --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts @@ -0,0 +1,31 @@ +import type { ProviderErrorOptionsType } from "./ProviderError"; +import { ProviderError } from "./ProviderError"; +/** + * @public + * + * An error representing a failure of an individual credential provider. + * + * This error class has special meaning to the {@link chain} method. If a + * provider in the chain is rejected with an error, the chain will only proceed + * to the next provider if the value of the `tryNextLink` property on the error + * is truthy. This allows individual providers to halt the chain and also + * ensures the chain will stop if an entirely unexpected error is encountered. + */ +export declare class CredentialsProviderError extends ProviderError { + name: string; + /** + * @override + * @deprecated constructor should be given a logger. + */ + constructor(message: string); + /** + * @override + * @deprecated constructor should be given a logger. + */ + constructor(message: string, tryNextLink: boolean | undefined); + /** + * @override + * This signature is preferred for logging capability. + */ + constructor(message: string, options: ProviderErrorOptionsType); +} diff --git a/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts b/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts new file mode 100644 index 0000000..7d62b8b --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts @@ -0,0 +1,39 @@ +import type { Logger } from "@smithy/types"; +/** + * @public + */ +export type ProviderErrorOptionsType = { + tryNextLink?: boolean | undefined; + logger?: Logger; +}; +/** + * @public + * + * An error representing a failure of an individual provider. + * + * This error class has special meaning to the {@link chain} method. If a + * provider in the chain is rejected with an error, the chain will only proceed + * to the next provider if the value of the `tryNextLink` property on the error + * is truthy. This allows individual providers to halt the chain and also + * ensures the chain will stop if an entirely unexpected error is encountered. + */ +export declare class ProviderError extends Error { + name: string; + readonly tryNextLink: boolean; + /** + * @deprecated constructor should be given a logger. + */ + constructor(message: string); + /** + * @deprecated constructor should be given a logger. + */ + constructor(message: string, tryNextLink: boolean | undefined); + /** + * This signature is preferred for logging capability. + */ + constructor(message: string, options: ProviderErrorOptionsType); + /** + * @deprecated use new operator. + */ + static from(error: Error, options?: boolean | ProviderErrorOptionsType): ProviderError; +} diff --git a/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts b/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts new file mode 100644 index 0000000..223b64b --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts @@ -0,0 +1,31 @@ +import type { ProviderErrorOptionsType } from "./ProviderError"; +import { ProviderError } from "./ProviderError"; +/** + * @public + * + * An error representing a failure of an individual token provider. + * + * This error class has special meaning to the {@link chain} method. If a + * provider in the chain is rejected with an error, the chain will only proceed + * to the next provider if the value of the `tryNextLink` property on the error + * is truthy. This allows individual providers to halt the chain and also + * ensures the chain will stop if an entirely unexpected error is encountered. + */ +export declare class TokenProviderError extends ProviderError { + name: string; + /** + * @override + * @deprecated constructor should be given a logger. + */ + constructor(message: string); + /** + * @override + * @deprecated constructor should be given a logger. + */ + constructor(message: string, tryNextLink: boolean | undefined); + /** + * @override + * This signature is preferred for logging capability. + */ + constructor(message: string, options: ProviderErrorOptionsType); +} diff --git a/node_modules/@smithy/property-provider/dist-types/chain.d.ts b/node_modules/@smithy/property-provider/dist-types/chain.d.ts new file mode 100644 index 0000000..93d8035 --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-types/chain.d.ts @@ -0,0 +1,13 @@ +import type { Provider } from "@smithy/types"; +/** + * @internal + * + * Compose a single credential provider function from multiple credential + * providers. The first provider in the argument list will always be invoked; + * subsequent providers in the list will be invoked in the order in which the + * were received if the preceding provider did not successfully resolve. + * + * If no providers were received or no provider resolves successfully, the + * returned promise will be rejected. + */ +export declare const chain: (...providers: Array>) => Provider; diff --git a/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts b/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts new file mode 100644 index 0000000..8d84c04 --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts @@ -0,0 +1,5 @@ +import type { Provider } from "@smithy/types"; +/** + * @internal + */ +export declare const fromStatic: (staticValue: T) => Provider; diff --git a/node_modules/@smithy/property-provider/dist-types/index.d.ts b/node_modules/@smithy/property-provider/dist-types/index.d.ts new file mode 100644 index 0000000..6326994 --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-types/index.d.ts @@ -0,0 +1,24 @@ +/** + * @internal + */ +export * from "./CredentialsProviderError"; +/** + * @internal + */ +export * from "./ProviderError"; +/** + * @internal + */ +export * from "./TokenProviderError"; +/** + * @internal + */ +export * from "./chain"; +/** + * @internal + */ +export * from "./fromStatic"; +/** + * @internal + */ +export * from "./memoize"; diff --git a/node_modules/@smithy/property-provider/dist-types/memoize.d.ts b/node_modules/@smithy/property-provider/dist-types/memoize.d.ts new file mode 100644 index 0000000..80c08d7 --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-types/memoize.d.ts @@ -0,0 +1,40 @@ +import type { MemoizedProvider, Provider } from "@smithy/types"; +interface MemoizeOverload { + /** + * + * Decorates a provider function with either static memoization. + * + * To create a statically memoized provider, supply a provider as the only + * argument to this function. The provider will be invoked once, and all + * invocations of the provider returned by `memoize` will return the same + * promise object. + * + * @param provider The provider whose result should be cached indefinitely. + */ + (provider: Provider): MemoizedProvider; + /** + * Decorates a provider function with refreshing memoization. + * + * @param provider The provider whose result should be cached. + * @param isExpired A function that will evaluate the resolved value and + * determine if it is expired. For example, when + * memoizing AWS credential providers, this function + * should return `true` when the credential's + * expiration is in the past (or very near future) and + * `false` otherwise. + * @param requiresRefresh A function that will evaluate the resolved value and + * determine if it represents static value or one that + * will eventually need to be refreshed. For example, + * AWS credentials that have no defined expiration will + * never need to be refreshed, so this function would + * return `true` if the credentials resolved by the + * underlying provider had an expiration and `false` + * otherwise. + */ + (provider: Provider, isExpired: (resolved: T) => boolean, requiresRefresh?: (resolved: T) => boolean): MemoizedProvider; +} +/** + * @internal + */ +export declare const memoize: MemoizeOverload; +export {}; diff --git a/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts b/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts new file mode 100644 index 0000000..5ecc284 --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts @@ -0,0 +1,31 @@ +import { ProviderErrorOptionsType } from "./ProviderError"; +import { ProviderError } from "./ProviderError"; +/** + * @public + * + * An error representing a failure of an individual credential provider. + * + * This error class has special meaning to the {@link chain} method. If a + * provider in the chain is rejected with an error, the chain will only proceed + * to the next provider if the value of the `tryNextLink` property on the error + * is truthy. This allows individual providers to halt the chain and also + * ensures the chain will stop if an entirely unexpected error is encountered. + */ +export declare class CredentialsProviderError extends ProviderError { + name: string; + /** + * @override + * @deprecated constructor should be given a logger. + */ + constructor(message: string); + /** + * @override + * @deprecated constructor should be given a logger. + */ + constructor(message: string, tryNextLink: boolean | undefined); + /** + * @override + * This signature is preferred for logging capability. + */ + constructor(message: string, options: ProviderErrorOptionsType); +} diff --git a/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts b/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts new file mode 100644 index 0000000..b87b014 --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts @@ -0,0 +1,39 @@ +import { Logger } from "@smithy/types"; +/** + * @public + */ +export type ProviderErrorOptionsType = { + tryNextLink?: boolean | undefined; + logger?: Logger; +}; +/** + * @public + * + * An error representing a failure of an individual provider. + * + * This error class has special meaning to the {@link chain} method. If a + * provider in the chain is rejected with an error, the chain will only proceed + * to the next provider if the value of the `tryNextLink` property on the error + * is truthy. This allows individual providers to halt the chain and also + * ensures the chain will stop if an entirely unexpected error is encountered. + */ +export declare class ProviderError extends Error { + name: string; + readonly tryNextLink: boolean; + /** + * @deprecated constructor should be given a logger. + */ + constructor(message: string); + /** + * @deprecated constructor should be given a logger. + */ + constructor(message: string, tryNextLink: boolean | undefined); + /** + * This signature is preferred for logging capability. + */ + constructor(message: string, options: ProviderErrorOptionsType); + /** + * @deprecated use new operator. + */ + static from(error: Error, options?: boolean | ProviderErrorOptionsType): ProviderError; +} diff --git a/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts b/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts new file mode 100644 index 0000000..9ef9ce5 --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts @@ -0,0 +1,31 @@ +import { ProviderErrorOptionsType } from "./ProviderError"; +import { ProviderError } from "./ProviderError"; +/** + * @public + * + * An error representing a failure of an individual token provider. + * + * This error class has special meaning to the {@link chain} method. If a + * provider in the chain is rejected with an error, the chain will only proceed + * to the next provider if the value of the `tryNextLink` property on the error + * is truthy. This allows individual providers to halt the chain and also + * ensures the chain will stop if an entirely unexpected error is encountered. + */ +export declare class TokenProviderError extends ProviderError { + name: string; + /** + * @override + * @deprecated constructor should be given a logger. + */ + constructor(message: string); + /** + * @override + * @deprecated constructor should be given a logger. + */ + constructor(message: string, tryNextLink: boolean | undefined); + /** + * @override + * This signature is preferred for logging capability. + */ + constructor(message: string, options: ProviderErrorOptionsType); +} diff --git a/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts b/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts new file mode 100644 index 0000000..34e5f42 --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts @@ -0,0 +1,13 @@ +import { Provider } from "@smithy/types"; +/** + * @internal + * + * Compose a single credential provider function from multiple credential + * providers. The first provider in the argument list will always be invoked; + * subsequent providers in the list will be invoked in the order in which the + * were received if the preceding provider did not successfully resolve. + * + * If no providers were received or no provider resolves successfully, the + * returned promise will be rejected. + */ +export declare const chain: (...providers: Array>) => Provider; diff --git a/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts b/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts new file mode 100644 index 0000000..f58bece --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts @@ -0,0 +1,5 @@ +import { Provider } from "@smithy/types"; +/** + * @internal + */ +export declare const fromStatic: (staticValue: T) => Provider; diff --git a/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..6326994 --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts @@ -0,0 +1,24 @@ +/** + * @internal + */ +export * from "./CredentialsProviderError"; +/** + * @internal + */ +export * from "./ProviderError"; +/** + * @internal + */ +export * from "./TokenProviderError"; +/** + * @internal + */ +export * from "./chain"; +/** + * @internal + */ +export * from "./fromStatic"; +/** + * @internal + */ +export * from "./memoize"; diff --git a/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts b/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts new file mode 100644 index 0000000..ce197c0 --- /dev/null +++ b/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts @@ -0,0 +1,40 @@ +import { MemoizedProvider, Provider } from "@smithy/types"; +interface MemoizeOverload { + /** + * + * Decorates a provider function with either static memoization. + * + * To create a statically memoized provider, supply a provider as the only + * argument to this function. The provider will be invoked once, and all + * invocations of the provider returned by `memoize` will return the same + * promise object. + * + * @param provider The provider whose result should be cached indefinitely. + */ + (provider: Provider): MemoizedProvider; + /** + * Decorates a provider function with refreshing memoization. + * + * @param provider The provider whose result should be cached. + * @param isExpired A function that will evaluate the resolved value and + * determine if it is expired. For example, when + * memoizing AWS credential providers, this function + * should return `true` when the credential's + * expiration is in the past (or very near future) and + * `false` otherwise. + * @param requiresRefresh A function that will evaluate the resolved value and + * determine if it represents static value or one that + * will eventually need to be refreshed. For example, + * AWS credentials that have no defined expiration will + * never need to be refreshed, so this function would + * return `true` if the credentials resolved by the + * underlying provider had an expiration and `false` + * otherwise. + */ + (provider: Provider, isExpired: (resolved: T) => boolean, requiresRefresh?: (resolved: T) => boolean): MemoizedProvider; +} +/** + * @internal + */ +export declare const memoize: MemoizeOverload; +export {}; diff --git a/node_modules/@smithy/property-provider/package.json b/node_modules/@smithy/property-provider/package.json new file mode 100644 index 0000000..565cefa --- /dev/null +++ b/node_modules/@smithy/property-provider/package.json @@ -0,0 +1,61 @@ +{ + "name": "@smithy/property-provider", + "version": "4.2.12", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline property-provider", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/property-provider", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/property-provider" + }, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/protocol-http/LICENSE b/node_modules/@smithy/protocol-http/LICENSE new file mode 100644 index 0000000..e907b58 --- /dev/null +++ b/node_modules/@smithy/protocol-http/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@smithy/protocol-http/README.md b/node_modules/@smithy/protocol-http/README.md new file mode 100644 index 0000000..a547ab0 --- /dev/null +++ b/node_modules/@smithy/protocol-http/README.md @@ -0,0 +1,4 @@ +# @smithy/protocol-http + +[![NPM version](https://img.shields.io/npm/v/@smithy/protocol-http/latest.svg)](https://www.npmjs.com/package/@smithy/protocol-http) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/protocol-http.svg)](https://www.npmjs.com/package/@smithy/protocol-http) diff --git a/node_modules/@smithy/protocol-http/dist-cjs/index.js b/node_modules/@smithy/protocol-http/dist-cjs/index.js new file mode 100644 index 0000000..52303c3 --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-cjs/index.js @@ -0,0 +1,169 @@ +'use strict'; + +var types = require('@smithy/types'); + +const getHttpHandlerExtensionConfiguration = (runtimeConfig) => { + return { + setHttpHandler(handler) { + runtimeConfig.httpHandler = handler; + }, + httpHandler() { + return runtimeConfig.httpHandler; + }, + updateHttpClientConfig(key, value) { + runtimeConfig.httpHandler?.updateHttpClientConfig(key, value); + }, + httpHandlerConfigs() { + return runtimeConfig.httpHandler.httpHandlerConfigs(); + }, + }; +}; +const resolveHttpHandlerRuntimeConfig = (httpHandlerExtensionConfiguration) => { + return { + httpHandler: httpHandlerExtensionConfiguration.httpHandler(), + }; +}; + +class Field { + name; + kind; + values; + constructor({ name, kind = types.FieldPosition.HEADER, values = [] }) { + this.name = name; + this.kind = kind; + this.values = values; + } + add(value) { + this.values.push(value); + } + set(values) { + this.values = values; + } + remove(value) { + this.values = this.values.filter((v) => v !== value); + } + toString() { + return this.values.map((v) => (v.includes(",") || v.includes(" ") ? `"${v}"` : v)).join(", "); + } + get() { + return this.values; + } +} + +class Fields { + entries = {}; + encoding; + constructor({ fields = [], encoding = "utf-8" }) { + fields.forEach(this.setField.bind(this)); + this.encoding = encoding; + } + setField(field) { + this.entries[field.name.toLowerCase()] = field; + } + getField(name) { + return this.entries[name.toLowerCase()]; + } + removeField(name) { + delete this.entries[name.toLowerCase()]; + } + getByType(kind) { + return Object.values(this.entries).filter((field) => field.kind === kind); + } +} + +class HttpRequest { + method; + protocol; + hostname; + port; + path; + query; + headers; + username; + password; + fragment; + body; + constructor(options) { + this.method = options.method || "GET"; + this.hostname = options.hostname || "localhost"; + this.port = options.port; + this.query = options.query || {}; + this.headers = options.headers || {}; + this.body = options.body; + this.protocol = options.protocol + ? options.protocol.slice(-1) !== ":" + ? `${options.protocol}:` + : options.protocol + : "https:"; + this.path = options.path ? (options.path.charAt(0) !== "/" ? `/${options.path}` : options.path) : "/"; + this.username = options.username; + this.password = options.password; + this.fragment = options.fragment; + } + static clone(request) { + const cloned = new HttpRequest({ + ...request, + headers: { ...request.headers }, + }); + if (cloned.query) { + cloned.query = cloneQuery(cloned.query); + } + return cloned; + } + static isInstance(request) { + if (!request) { + return false; + } + const req = request; + return ("method" in req && + "protocol" in req && + "hostname" in req && + "path" in req && + typeof req["query"] === "object" && + typeof req["headers"] === "object"); + } + clone() { + return HttpRequest.clone(this); + } +} +function cloneQuery(query) { + return Object.keys(query).reduce((carry, paramName) => { + const param = query[paramName]; + return { + ...carry, + [paramName]: Array.isArray(param) ? [...param] : param, + }; + }, {}); +} + +class HttpResponse { + statusCode; + reason; + headers; + body; + constructor(options) { + this.statusCode = options.statusCode; + this.reason = options.reason; + this.headers = options.headers || {}; + this.body = options.body; + } + static isInstance(response) { + if (!response) + return false; + const resp = response; + return typeof resp.statusCode === "number" && typeof resp.headers === "object"; + } +} + +function isValidHostname(hostname) { + const hostPattern = /^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/; + return hostPattern.test(hostname); +} + +exports.Field = Field; +exports.Fields = Fields; +exports.HttpRequest = HttpRequest; +exports.HttpResponse = HttpResponse; +exports.getHttpHandlerExtensionConfiguration = getHttpHandlerExtensionConfiguration; +exports.isValidHostname = isValidHostname; +exports.resolveHttpHandlerRuntimeConfig = resolveHttpHandlerRuntimeConfig; diff --git a/node_modules/@smithy/protocol-http/dist-es/Field.js b/node_modules/@smithy/protocol-http/dist-es/Field.js new file mode 100644 index 0000000..19e5cb0 --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-es/Field.js @@ -0,0 +1,26 @@ +import { FieldPosition } from "@smithy/types"; +export class Field { + name; + kind; + values; + constructor({ name, kind = FieldPosition.HEADER, values = [] }) { + this.name = name; + this.kind = kind; + this.values = values; + } + add(value) { + this.values.push(value); + } + set(values) { + this.values = values; + } + remove(value) { + this.values = this.values.filter((v) => v !== value); + } + toString() { + return this.values.map((v) => (v.includes(",") || v.includes(" ") ? `"${v}"` : v)).join(", "); + } + get() { + return this.values; + } +} diff --git a/node_modules/@smithy/protocol-http/dist-es/Fields.js b/node_modules/@smithy/protocol-http/dist-es/Fields.js new file mode 100644 index 0000000..aa11388 --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-es/Fields.js @@ -0,0 +1,20 @@ +export class Fields { + entries = {}; + encoding; + constructor({ fields = [], encoding = "utf-8" }) { + fields.forEach(this.setField.bind(this)); + this.encoding = encoding; + } + setField(field) { + this.entries[field.name.toLowerCase()] = field; + } + getField(name) { + return this.entries[name.toLowerCase()]; + } + removeField(name) { + delete this.entries[name.toLowerCase()]; + } + getByType(kind) { + return Object.values(this.entries).filter((field) => field.kind === kind); + } +} diff --git a/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js b/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js new file mode 100644 index 0000000..1a5aa0c --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js @@ -0,0 +1,21 @@ +export const getHttpHandlerExtensionConfiguration = (runtimeConfig) => { + return { + setHttpHandler(handler) { + runtimeConfig.httpHandler = handler; + }, + httpHandler() { + return runtimeConfig.httpHandler; + }, + updateHttpClientConfig(key, value) { + runtimeConfig.httpHandler?.updateHttpClientConfig(key, value); + }, + httpHandlerConfigs() { + return runtimeConfig.httpHandler.httpHandlerConfigs(); + }, + }; +}; +export const resolveHttpHandlerRuntimeConfig = (httpHandlerExtensionConfiguration) => { + return { + httpHandler: httpHandlerExtensionConfiguration.httpHandler(), + }; +}; diff --git a/node_modules/@smithy/protocol-http/dist-es/extensions/index.js b/node_modules/@smithy/protocol-http/dist-es/extensions/index.js new file mode 100644 index 0000000..a215a4a --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-es/extensions/index.js @@ -0,0 +1 @@ +export * from "./httpExtensionConfiguration"; diff --git a/node_modules/@smithy/protocol-http/dist-es/httpHandler.js b/node_modules/@smithy/protocol-http/dist-es/httpHandler.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-es/httpHandler.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/protocol-http/dist-es/httpRequest.js b/node_modules/@smithy/protocol-http/dist-es/httpRequest.js new file mode 100644 index 0000000..6e9b0c4 --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-es/httpRequest.js @@ -0,0 +1,64 @@ +export class HttpRequest { + method; + protocol; + hostname; + port; + path; + query; + headers; + username; + password; + fragment; + body; + constructor(options) { + this.method = options.method || "GET"; + this.hostname = options.hostname || "localhost"; + this.port = options.port; + this.query = options.query || {}; + this.headers = options.headers || {}; + this.body = options.body; + this.protocol = options.protocol + ? options.protocol.slice(-1) !== ":" + ? `${options.protocol}:` + : options.protocol + : "https:"; + this.path = options.path ? (options.path.charAt(0) !== "/" ? `/${options.path}` : options.path) : "/"; + this.username = options.username; + this.password = options.password; + this.fragment = options.fragment; + } + static clone(request) { + const cloned = new HttpRequest({ + ...request, + headers: { ...request.headers }, + }); + if (cloned.query) { + cloned.query = cloneQuery(cloned.query); + } + return cloned; + } + static isInstance(request) { + if (!request) { + return false; + } + const req = request; + return ("method" in req && + "protocol" in req && + "hostname" in req && + "path" in req && + typeof req["query"] === "object" && + typeof req["headers"] === "object"); + } + clone() { + return HttpRequest.clone(this); + } +} +function cloneQuery(query) { + return Object.keys(query).reduce((carry, paramName) => { + const param = query[paramName]; + return { + ...carry, + [paramName]: Array.isArray(param) ? [...param] : param, + }; + }, {}); +} diff --git a/node_modules/@smithy/protocol-http/dist-es/httpResponse.js b/node_modules/@smithy/protocol-http/dist-es/httpResponse.js new file mode 100644 index 0000000..be4be4e --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-es/httpResponse.js @@ -0,0 +1,18 @@ +export class HttpResponse { + statusCode; + reason; + headers; + body; + constructor(options) { + this.statusCode = options.statusCode; + this.reason = options.reason; + this.headers = options.headers || {}; + this.body = options.body; + } + static isInstance(response) { + if (!response) + return false; + const resp = response; + return typeof resp.statusCode === "number" && typeof resp.headers === "object"; + } +} diff --git a/node_modules/@smithy/protocol-http/dist-es/index.js b/node_modules/@smithy/protocol-http/dist-es/index.js new file mode 100644 index 0000000..8ff7f26 --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-es/index.js @@ -0,0 +1,8 @@ +export * from "./extensions"; +export * from "./Field"; +export * from "./Fields"; +export * from "./httpHandler"; +export * from "./httpRequest"; +export * from "./httpResponse"; +export * from "./isValidHostname"; +export * from "./types"; diff --git a/node_modules/@smithy/protocol-http/dist-es/isValidHostname.js b/node_modules/@smithy/protocol-http/dist-es/isValidHostname.js new file mode 100644 index 0000000..464c7db --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-es/isValidHostname.js @@ -0,0 +1,4 @@ +export function isValidHostname(hostname) { + const hostPattern = /^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/; + return hostPattern.test(hostname); +} diff --git a/node_modules/@smithy/protocol-http/dist-es/types.js b/node_modules/@smithy/protocol-http/dist-es/types.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-es/types.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/protocol-http/dist-types/Field.d.ts b/node_modules/@smithy/protocol-http/dist-types/Field.d.ts new file mode 100644 index 0000000..d104bf7 --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-types/Field.d.ts @@ -0,0 +1,50 @@ +import type { FieldOptions } from "@smithy/types"; +import { FieldPosition } from "@smithy/types"; +/** + * A name-value pair representing a single field + * transmitted in an HTTP Request or Response. + * + * The kind will dictate metadata placement within + * an HTTP message. + * + * All field names are case insensitive and + * case-variance must be treated as equivalent. + * Names MAY be normalized but SHOULD be preserved + * for accuracy during transmission. + */ +export declare class Field { + readonly name: string; + readonly kind: FieldPosition; + values: string[]; + constructor({ name, kind, values }: FieldOptions); + /** + * Appends a value to the field. + * + * @param value The value to append. + */ + add(value: string): void; + /** + * Overwrite existing field values. + * + * @param values The new field values. + */ + set(values: string[]): void; + /** + * Remove all matching entries from list. + * + * @param value Value to remove. + */ + remove(value: string): void; + /** + * Get comma-delimited string. + * + * @returns String representation of {@link Field}. + */ + toString(): string; + /** + * Get string values as a list + * + * @returns Values in {@link Field} as a list. + */ + get(): string[]; +} diff --git a/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts b/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts new file mode 100644 index 0000000..da74a67 --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts @@ -0,0 +1,44 @@ +import type { FieldPosition } from "@smithy/types"; +import type { Field } from "./Field"; +export type FieldsOptions = { + fields?: Field[]; + encoding?: string; +}; +/** + * Collection of Field entries mapped by name. + */ +export declare class Fields { + private readonly entries; + private readonly encoding; + constructor({ fields, encoding }: FieldsOptions); + /** + * Set entry for a {@link Field} name. The `name` + * attribute will be used to key the collection. + * + * @param field The {@link Field} to set. + */ + setField(field: Field): void; + /** + * Retrieve {@link Field} entry by name. + * + * @param name The name of the {@link Field} entry + * to retrieve + * @returns The {@link Field} if it exists. + */ + getField(name: string): Field | undefined; + /** + * Delete entry from collection. + * + * @param name Name of the entry to delete. + */ + removeField(name: string): void; + /** + * Helper function for retrieving specific types of fields. + * Used to grab all headers or all trailers. + * + * @param kind {@link FieldPosition} of entries to retrieve. + * @returns The {@link Field} entries with the specified + * {@link FieldPosition}. + */ + getByType(kind: FieldPosition): Field[]; +} diff --git a/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts b/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts new file mode 100644 index 0000000..8914587 --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts @@ -0,0 +1,33 @@ +import type { HttpHandler } from "../httpHandler"; +/** + * @internal + */ +export interface HttpHandlerExtensionConfiguration { + setHttpHandler(handler: HttpHandler): void; + httpHandler(): HttpHandler; + updateHttpClientConfig(key: keyof HandlerConfig, value: HandlerConfig[typeof key]): void; + httpHandlerConfigs(): HandlerConfig; +} +/** + * @internal + */ +export type HttpHandlerExtensionConfigType = Partial<{ + httpHandler: HttpHandler; +}>; +/** + * @internal + * + * Helper function to resolve default extension configuration from runtime config + */ +export declare const getHttpHandlerExtensionConfiguration: (runtimeConfig: HttpHandlerExtensionConfigType) => { + setHttpHandler(handler: HttpHandler): void; + httpHandler(): HttpHandler; + updateHttpClientConfig(key: keyof HandlerConfig, value: HandlerConfig[typeof key]): void; + httpHandlerConfigs(): HandlerConfig; +}; +/** + * @internal + * + * Helper function to resolve runtime config from default extension configuration + */ +export declare const resolveHttpHandlerRuntimeConfig: (httpHandlerExtensionConfiguration: HttpHandlerExtensionConfiguration) => HttpHandlerExtensionConfigType; diff --git a/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts b/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts new file mode 100644 index 0000000..a215a4a --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts @@ -0,0 +1 @@ +export * from "./httpExtensionConfiguration"; diff --git a/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts b/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts new file mode 100644 index 0000000..8dc8d32 --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts @@ -0,0 +1,35 @@ +import type { FetchHttpHandlerOptions, HttpHandlerOptions, NodeHttpHandlerOptions, RequestHandler } from "@smithy/types"; +import type { HttpRequest } from "./httpRequest"; +import type { HttpResponse } from "./httpResponse"; +/** + * @internal + */ +export type HttpHandler = RequestHandler & { + /** + * @internal + */ + updateHttpClientConfig(key: keyof HttpHandlerConfig, value: HttpHandlerConfig[typeof key]): void; + /** + * @internal + */ + httpHandlerConfigs(): HttpHandlerConfig; +}; +/** + * @public + * + * A type representing the accepted user inputs for the `requestHandler` field + * of a client's constructor object. + * + * You may provide an instance of an HttpHandler, or alternatively + * provide the constructor arguments as an object which will be passed + * to the constructor of the default request handler. + * + * The default class constructor to which your arguments will be passed + * varies. The Node.js default is the NodeHttpHandler and the browser/react-native + * default is the FetchHttpHandler. In rarer cases specific clients may be + * configured to use other default implementations such as Websocket or HTTP2. + * + * The fallback type Record is part of the union to allow + * passing constructor params to an unknown requestHandler type. + */ +export type HttpHandlerUserInput = HttpHandler | NodeHttpHandlerOptions | FetchHttpHandlerOptions | Record; diff --git a/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts b/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts new file mode 100644 index 0000000..00b46a4 --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts @@ -0,0 +1,56 @@ +import type { HeaderBag, HttpMessage, QueryParameterBag, URI } from "@smithy/types"; +import { HttpRequest as IHttpRequest } from "@smithy/types"; +type HttpRequestOptions = Partial & Partial & { + method?: string; +}; +/** + * Use the distinct IHttpRequest interface from \@smithy/types instead. + * This should not be used due to + * overlapping with the concrete class' name. + * + * This is not marked deprecated since that would mark the concrete class + * deprecated as well. + * + * @internal + */ +export interface HttpRequest extends IHttpRequest { +} +/** + * @public + */ +export { IHttpRequest }; +/** + * @public + */ +export declare class HttpRequest implements HttpMessage, URI { + method: string; + protocol: string; + hostname: string; + port?: number; + path: string; + query: QueryParameterBag; + headers: HeaderBag; + username?: string; + password?: string; + fragment?: string; + body?: any; + constructor(options: HttpRequestOptions); + /** + * Note: this does not deep-clone the body. + */ + static clone(request: IHttpRequest): HttpRequest; + /** + * This method only actually asserts that request is the interface {@link IHttpRequest}, + * and not necessarily this concrete class. Left in place for API stability. + * + * Do not call instance methods on the input of this function, and + * do not assume it has the HttpRequest prototype. + */ + static isInstance(request: unknown): request is HttpRequest; + /** + * @deprecated use static HttpRequest.clone(request) instead. It's not safe to call + * this method because {@link HttpRequest.isInstance} incorrectly + * asserts that IHttpRequest (interface) objects are of type HttpRequest (class). + */ + clone(): HttpRequest; +} diff --git a/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts b/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts new file mode 100644 index 0000000..f03e49e --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts @@ -0,0 +1,29 @@ +import type { HeaderBag, HttpMessage, HttpResponse as IHttpResponse } from "@smithy/types"; +type HttpResponseOptions = Partial & { + statusCode: number; + reason?: string; +}; +/** + * Use the distinct IHttpResponse interface from \@smithy/types instead. + * This should not be used due to + * overlapping with the concrete class' name. + * + * This is not marked deprecated since that would mark the concrete class + * deprecated as well. + * + * @internal + */ +export interface HttpResponse extends IHttpResponse { +} +/** + * @public + */ +export declare class HttpResponse { + statusCode: number; + reason?: string; + headers: HeaderBag; + body?: any; + constructor(options: HttpResponseOptions); + static isInstance(response: unknown): response is HttpResponse; +} +export {}; diff --git a/node_modules/@smithy/protocol-http/dist-types/index.d.ts b/node_modules/@smithy/protocol-http/dist-types/index.d.ts new file mode 100644 index 0000000..8ff7f26 --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-types/index.d.ts @@ -0,0 +1,8 @@ +export * from "./extensions"; +export * from "./Field"; +export * from "./Fields"; +export * from "./httpHandler"; +export * from "./httpRequest"; +export * from "./httpResponse"; +export * from "./isValidHostname"; +export * from "./types"; diff --git a/node_modules/@smithy/protocol-http/dist-types/isValidHostname.d.ts b/node_modules/@smithy/protocol-http/dist-types/isValidHostname.d.ts new file mode 100644 index 0000000..6fb5bcb --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-types/isValidHostname.d.ts @@ -0,0 +1 @@ +export declare function isValidHostname(hostname: string): boolean; diff --git a/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts b/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts new file mode 100644 index 0000000..35b624f --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts @@ -0,0 +1,50 @@ +import { FieldOptions } from "@smithy/types"; +import { FieldPosition } from "@smithy/types"; +/** + * A name-value pair representing a single field + * transmitted in an HTTP Request or Response. + * + * The kind will dictate metadata placement within + * an HTTP message. + * + * All field names are case insensitive and + * case-variance must be treated as equivalent. + * Names MAY be normalized but SHOULD be preserved + * for accuracy during transmission. + */ +export declare class Field { + readonly name: string; + readonly kind: FieldPosition; + values: string[]; + constructor({ name, kind, values }: FieldOptions); + /** + * Appends a value to the field. + * + * @param value The value to append. + */ + add(value: string): void; + /** + * Overwrite existing field values. + * + * @param values The new field values. + */ + set(values: string[]): void; + /** + * Remove all matching entries from list. + * + * @param value Value to remove. + */ + remove(value: string): void; + /** + * Get comma-delimited string. + * + * @returns String representation of {@link Field}. + */ + toString(): string; + /** + * Get string values as a list + * + * @returns Values in {@link Field} as a list. + */ + get(): string[]; +} diff --git a/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts b/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts new file mode 100644 index 0000000..8915826 --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts @@ -0,0 +1,44 @@ +import { FieldPosition } from "@smithy/types"; +import { Field } from "./Field"; +export type FieldsOptions = { + fields?: Field[]; + encoding?: string; +}; +/** + * Collection of Field entries mapped by name. + */ +export declare class Fields { + private readonly entries; + private readonly encoding; + constructor({ fields, encoding }: FieldsOptions); + /** + * Set entry for a {@link Field} name. The `name` + * attribute will be used to key the collection. + * + * @param field The {@link Field} to set. + */ + setField(field: Field): void; + /** + * Retrieve {@link Field} entry by name. + * + * @param name The name of the {@link Field} entry + * to retrieve + * @returns The {@link Field} if it exists. + */ + getField(name: string): Field | undefined; + /** + * Delete entry from collection. + * + * @param name Name of the entry to delete. + */ + removeField(name: string): void; + /** + * Helper function for retrieving specific types of fields. + * Used to grab all headers or all trailers. + * + * @param kind {@link FieldPosition} of entries to retrieve. + * @returns The {@link Field} entries with the specified + * {@link FieldPosition}. + */ + getByType(kind: FieldPosition): Field[]; +} diff --git a/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts b/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts new file mode 100644 index 0000000..ec7fc27 --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts @@ -0,0 +1,33 @@ +import { HttpHandler } from "../httpHandler"; +/** + * @internal + */ +export interface HttpHandlerExtensionConfiguration { + setHttpHandler(handler: HttpHandler): void; + httpHandler(): HttpHandler; + updateHttpClientConfig(key: keyof HandlerConfig, value: HandlerConfig[typeof key]): void; + httpHandlerConfigs(): HandlerConfig; +} +/** + * @internal + */ +export type HttpHandlerExtensionConfigType = Partial<{ + httpHandler: HttpHandler; +}>; +/** + * @internal + * + * Helper function to resolve default extension configuration from runtime config + */ +export declare const getHttpHandlerExtensionConfiguration: (runtimeConfig: HttpHandlerExtensionConfigType) => { + setHttpHandler(handler: HttpHandler): void; + httpHandler(): HttpHandler; + updateHttpClientConfig(key: keyof HandlerConfig, value: HandlerConfig[typeof key]): void; + httpHandlerConfigs(): HandlerConfig; +}; +/** + * @internal + * + * Helper function to resolve runtime config from default extension configuration + */ +export declare const resolveHttpHandlerRuntimeConfig: (httpHandlerExtensionConfiguration: HttpHandlerExtensionConfiguration) => HttpHandlerExtensionConfigType; diff --git a/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts b/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts new file mode 100644 index 0000000..a215a4a --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts @@ -0,0 +1 @@ +export * from "./httpExtensionConfiguration"; diff --git a/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts b/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts new file mode 100644 index 0000000..54852c6 --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts @@ -0,0 +1,35 @@ +import { FetchHttpHandlerOptions, HttpHandlerOptions, NodeHttpHandlerOptions, RequestHandler } from "@smithy/types"; +import { HttpRequest } from "./httpRequest"; +import { HttpResponse } from "./httpResponse"; +/** + * @internal + */ +export type HttpHandler = RequestHandler & { + /** + * @internal + */ + updateHttpClientConfig(key: keyof HttpHandlerConfig, value: HttpHandlerConfig[typeof key]): void; + /** + * @internal + */ + httpHandlerConfigs(): HttpHandlerConfig; +}; +/** + * @public + * + * A type representing the accepted user inputs for the `requestHandler` field + * of a client's constructor object. + * + * You may provide an instance of an HttpHandler, or alternatively + * provide the constructor arguments as an object which will be passed + * to the constructor of the default request handler. + * + * The default class constructor to which your arguments will be passed + * varies. The Node.js default is the NodeHttpHandler and the browser/react-native + * default is the FetchHttpHandler. In rarer cases specific clients may be + * configured to use other default implementations such as Websocket or HTTP2. + * + * The fallback type Record is part of the union to allow + * passing constructor params to an unknown requestHandler type. + */ +export type HttpHandlerUserInput = HttpHandler | NodeHttpHandlerOptions | FetchHttpHandlerOptions | Record; diff --git a/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts b/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts new file mode 100644 index 0000000..49e7676 --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts @@ -0,0 +1,56 @@ +import { HeaderBag, HttpMessage, QueryParameterBag, URI } from "@smithy/types"; +import { HttpRequest as IHttpRequest } from "@smithy/types"; +type HttpRequestOptions = Partial & Partial & { + method?: string; +}; +/** + * Use the distinct IHttpRequest interface from \@smithy/types instead. + * This should not be used due to + * overlapping with the concrete class' name. + * + * This is not marked deprecated since that would mark the concrete class + * deprecated as well. + * + * @internal + */ +export interface HttpRequest extends IHttpRequest { +} +/** + * @public + */ +export { IHttpRequest }; +/** + * @public + */ +export declare class HttpRequest implements HttpMessage, URI { + method: string; + protocol: string; + hostname: string; + port?: number; + path: string; + query: QueryParameterBag; + headers: HeaderBag; + username?: string; + password?: string; + fragment?: string; + body?: any; + constructor(options: HttpRequestOptions); + /** + * Note: this does not deep-clone the body. + */ + static clone(request: IHttpRequest): HttpRequest; + /** + * This method only actually asserts that request is the interface {@link IHttpRequest}, + * and not necessarily this concrete class. Left in place for API stability. + * + * Do not call instance methods on the input of this function, and + * do not assume it has the HttpRequest prototype. + */ + static isInstance(request: unknown): request is HttpRequest; + /** + * @deprecated use static HttpRequest.clone(request) instead. It's not safe to call + * this method because {@link HttpRequest.isInstance} incorrectly + * asserts that IHttpRequest (interface) objects are of type HttpRequest (class). + */ + clone(): HttpRequest; +} diff --git a/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts b/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts new file mode 100644 index 0000000..e51f18b --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts @@ -0,0 +1,29 @@ +import { HeaderBag, HttpMessage, HttpResponse as IHttpResponse } from "@smithy/types"; +type HttpResponseOptions = Partial & { + statusCode: number; + reason?: string; +}; +/** + * Use the distinct IHttpResponse interface from \@smithy/types instead. + * This should not be used due to + * overlapping with the concrete class' name. + * + * This is not marked deprecated since that would mark the concrete class + * deprecated as well. + * + * @internal + */ +export interface HttpResponse extends IHttpResponse { +} +/** + * @public + */ +export declare class HttpResponse { + statusCode: number; + reason?: string; + headers: HeaderBag; + body?: any; + constructor(options: HttpResponseOptions); + static isInstance(response: unknown): response is HttpResponse; +} +export {}; diff --git a/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..8ff7f26 --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts @@ -0,0 +1,8 @@ +export * from "./extensions"; +export * from "./Field"; +export * from "./Fields"; +export * from "./httpHandler"; +export * from "./httpRequest"; +export * from "./httpResponse"; +export * from "./isValidHostname"; +export * from "./types"; diff --git a/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts b/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts new file mode 100644 index 0000000..6fb5bcb --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts @@ -0,0 +1 @@ +export declare function isValidHostname(hostname: string): boolean; diff --git a/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts b/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts new file mode 100644 index 0000000..0d597b9 --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts @@ -0,0 +1,21 @@ +import { FieldOptions as __FieldOptions, FieldPosition as __FieldPosition, HeaderBag as __HeaderBag, HttpHandlerOptions as __HttpHandlerOptions, HttpMessage as __HttpMessage } from "@smithy/types"; +/** + * @deprecated Use FieldOptions from `@smithy/types` instead + */ +export type FieldOptions = __FieldOptions; +/** + * @deprecated Use FieldPosition from `@smithy/types` instead + */ +export type FieldPosition = __FieldPosition; +/** + * @deprecated Use HeaderBag from `@smithy/types` instead + */ +export type HeaderBag = __HeaderBag; +/** + * @deprecated Use HttpMessage from `@smithy/types` instead + */ +export type HttpMessage = __HttpMessage; +/** + * @deprecated Use HttpHandlerOptions from `@smithy/types` instead + */ +export type HttpHandlerOptions = __HttpHandlerOptions; diff --git a/node_modules/@smithy/protocol-http/dist-types/types.d.ts b/node_modules/@smithy/protocol-http/dist-types/types.d.ts new file mode 100644 index 0000000..d5669cb --- /dev/null +++ b/node_modules/@smithy/protocol-http/dist-types/types.d.ts @@ -0,0 +1,21 @@ +import type { FieldOptions as __FieldOptions, FieldPosition as __FieldPosition, HeaderBag as __HeaderBag, HttpHandlerOptions as __HttpHandlerOptions, HttpMessage as __HttpMessage } from "@smithy/types"; +/** + * @deprecated Use FieldOptions from `@smithy/types` instead + */ +export type FieldOptions = __FieldOptions; +/** + * @deprecated Use FieldPosition from `@smithy/types` instead + */ +export type FieldPosition = __FieldPosition; +/** + * @deprecated Use HeaderBag from `@smithy/types` instead + */ +export type HeaderBag = __HeaderBag; +/** + * @deprecated Use HttpMessage from `@smithy/types` instead + */ +export type HttpMessage = __HttpMessage; +/** + * @deprecated Use HttpHandlerOptions from `@smithy/types` instead + */ +export type HttpHandlerOptions = __HttpHandlerOptions; diff --git a/node_modules/@smithy/protocol-http/package.json b/node_modules/@smithy/protocol-http/package.json new file mode 100644 index 0000000..c0988aa --- /dev/null +++ b/node_modules/@smithy/protocol-http/package.json @@ -0,0 +1,62 @@ +{ + "name": "@smithy/protocol-http", + "version": "5.3.12", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline protocol-http", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS Smithy Team", + "email": "", + "url": "https://smithy.io" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/protocol-http", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/protocol-http" + }, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/querystring-builder/LICENSE b/node_modules/@smithy/querystring-builder/LICENSE new file mode 100644 index 0000000..dd65ae0 --- /dev/null +++ b/node_modules/@smithy/querystring-builder/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@smithy/querystring-builder/README.md b/node_modules/@smithy/querystring-builder/README.md new file mode 100644 index 0000000..00275da --- /dev/null +++ b/node_modules/@smithy/querystring-builder/README.md @@ -0,0 +1,10 @@ +# @smithy/querystring-builder + +[![NPM version](https://img.shields.io/npm/v/@smithy/querystring-builder/latest.svg)](https://www.npmjs.com/package/@smithy/querystring-builder) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/querystring-builder.svg)](https://www.npmjs.com/package/@smithy/querystring-builder) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/querystring-builder/dist-cjs/index.js b/node_modules/@smithy/querystring-builder/dist-cjs/index.js new file mode 100644 index 0000000..f245489 --- /dev/null +++ b/node_modules/@smithy/querystring-builder/dist-cjs/index.js @@ -0,0 +1,26 @@ +'use strict'; + +var utilUriEscape = require('@smithy/util-uri-escape'); + +function buildQueryString(query) { + const parts = []; + for (let key of Object.keys(query).sort()) { + const value = query[key]; + key = utilUriEscape.escapeUri(key); + if (Array.isArray(value)) { + for (let i = 0, iLen = value.length; i < iLen; i++) { + parts.push(`${key}=${utilUriEscape.escapeUri(value[i])}`); + } + } + else { + let qsEntry = key; + if (value || typeof value === "string") { + qsEntry += `=${utilUriEscape.escapeUri(value)}`; + } + parts.push(qsEntry); + } + } + return parts.join("&"); +} + +exports.buildQueryString = buildQueryString; diff --git a/node_modules/@smithy/querystring-builder/dist-es/index.js b/node_modules/@smithy/querystring-builder/dist-es/index.js new file mode 100644 index 0000000..fbc7684 --- /dev/null +++ b/node_modules/@smithy/querystring-builder/dist-es/index.js @@ -0,0 +1,21 @@ +import { escapeUri } from "@smithy/util-uri-escape"; +export function buildQueryString(query) { + const parts = []; + for (let key of Object.keys(query).sort()) { + const value = query[key]; + key = escapeUri(key); + if (Array.isArray(value)) { + for (let i = 0, iLen = value.length; i < iLen; i++) { + parts.push(`${key}=${escapeUri(value[i])}`); + } + } + else { + let qsEntry = key; + if (value || typeof value === "string") { + qsEntry += `=${escapeUri(value)}`; + } + parts.push(qsEntry); + } + } + return parts.join("&"); +} diff --git a/node_modules/@smithy/querystring-builder/dist-types/index.d.ts b/node_modules/@smithy/querystring-builder/dist-types/index.d.ts new file mode 100644 index 0000000..2e3b4a4 --- /dev/null +++ b/node_modules/@smithy/querystring-builder/dist-types/index.d.ts @@ -0,0 +1,5 @@ +import type { QueryParameterBag } from "@smithy/types"; +/** + * @internal + */ +export declare function buildQueryString(query: QueryParameterBag): string; diff --git a/node_modules/@smithy/querystring-builder/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/querystring-builder/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..538b1b0 --- /dev/null +++ b/node_modules/@smithy/querystring-builder/dist-types/ts3.4/index.d.ts @@ -0,0 +1,5 @@ +import { QueryParameterBag } from "@smithy/types"; +/** + * @internal + */ +export declare function buildQueryString(query: QueryParameterBag): string; diff --git a/node_modules/@smithy/querystring-builder/package.json b/node_modules/@smithy/querystring-builder/package.json new file mode 100644 index 0000000..bf7282d --- /dev/null +++ b/node_modules/@smithy/querystring-builder/package.json @@ -0,0 +1,61 @@ +{ + "name": "@smithy/querystring-builder", + "version": "4.2.12", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline querystring-builder", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "exit 0" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/types": "^4.13.1", + "@smithy/util-uri-escape": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/querystring-builder", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/querystring-builder" + }, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/querystring-parser/LICENSE b/node_modules/@smithy/querystring-parser/LICENSE new file mode 100644 index 0000000..dd65ae0 --- /dev/null +++ b/node_modules/@smithy/querystring-parser/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@smithy/querystring-parser/README.md b/node_modules/@smithy/querystring-parser/README.md new file mode 100644 index 0000000..02dcf51 --- /dev/null +++ b/node_modules/@smithy/querystring-parser/README.md @@ -0,0 +1,10 @@ +# @smithy/querystring-parser + +[![NPM version](https://img.shields.io/npm/v/@smithy/querystring-parser/latest.svg)](https://www.npmjs.com/package/@smithy/querystring-parser) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/querystring-parser.svg)](https://www.npmjs.com/package/@smithy/querystring-parser) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/querystring-parser/dist-cjs/index.js b/node_modules/@smithy/querystring-parser/dist-cjs/index.js new file mode 100644 index 0000000..d1efbf7 --- /dev/null +++ b/node_modules/@smithy/querystring-parser/dist-cjs/index.js @@ -0,0 +1,27 @@ +'use strict'; + +function parseQueryString(querystring) { + const query = {}; + querystring = querystring.replace(/^\?/, ""); + if (querystring) { + for (const pair of querystring.split("&")) { + let [key, value = null] = pair.split("="); + key = decodeURIComponent(key); + if (value) { + value = decodeURIComponent(value); + } + if (!(key in query)) { + query[key] = value; + } + else if (Array.isArray(query[key])) { + query[key].push(value); + } + else { + query[key] = [query[key], value]; + } + } + } + return query; +} + +exports.parseQueryString = parseQueryString; diff --git a/node_modules/@smithy/querystring-parser/dist-es/index.js b/node_modules/@smithy/querystring-parser/dist-es/index.js new file mode 100644 index 0000000..bd7bf00 --- /dev/null +++ b/node_modules/@smithy/querystring-parser/dist-es/index.js @@ -0,0 +1,23 @@ +export function parseQueryString(querystring) { + const query = {}; + querystring = querystring.replace(/^\?/, ""); + if (querystring) { + for (const pair of querystring.split("&")) { + let [key, value = null] = pair.split("="); + key = decodeURIComponent(key); + if (value) { + value = decodeURIComponent(value); + } + if (!(key in query)) { + query[key] = value; + } + else if (Array.isArray(query[key])) { + query[key].push(value); + } + else { + query[key] = [query[key], value]; + } + } + } + return query; +} diff --git a/node_modules/@smithy/querystring-parser/dist-types/index.d.ts b/node_modules/@smithy/querystring-parser/dist-types/index.d.ts new file mode 100644 index 0000000..6d31bac --- /dev/null +++ b/node_modules/@smithy/querystring-parser/dist-types/index.d.ts @@ -0,0 +1,5 @@ +import type { QueryParameterBag } from "@smithy/types"; +/** + * @internal + */ +export declare function parseQueryString(querystring: string): QueryParameterBag; diff --git a/node_modules/@smithy/querystring-parser/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/querystring-parser/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..fdc1ba5 --- /dev/null +++ b/node_modules/@smithy/querystring-parser/dist-types/ts3.4/index.d.ts @@ -0,0 +1,5 @@ +import { QueryParameterBag } from "@smithy/types"; +/** + * @internal + */ +export declare function parseQueryString(querystring: string): QueryParameterBag; diff --git a/node_modules/@smithy/querystring-parser/package.json b/node_modules/@smithy/querystring-parser/package.json new file mode 100644 index 0000000..8ac7ede --- /dev/null +++ b/node_modules/@smithy/querystring-parser/package.json @@ -0,0 +1,61 @@ +{ + "name": "@smithy/querystring-parser", + "version": "4.2.12", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline querystring-parser", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/querystring-parser", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/querystring-parser" + }, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/service-error-classification/LICENSE b/node_modules/@smithy/service-error-classification/LICENSE new file mode 100644 index 0000000..dd65ae0 --- /dev/null +++ b/node_modules/@smithy/service-error-classification/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@smithy/service-error-classification/README.md b/node_modules/@smithy/service-error-classification/README.md new file mode 100644 index 0000000..902dd43 --- /dev/null +++ b/node_modules/@smithy/service-error-classification/README.md @@ -0,0 +1,4 @@ +# @smithy/service-error-classification + +[![NPM version](https://img.shields.io/npm/v/@smithy/service-error-classification/latest.svg)](https://www.npmjs.com/package/@smithy/service-error-classification) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/service-error-classification.svg)](https://www.npmjs.com/package/@smithy/service-error-classification) diff --git a/node_modules/@smithy/service-error-classification/dist-cjs/index.js b/node_modules/@smithy/service-error-classification/dist-cjs/index.js new file mode 100644 index 0000000..03f2023 --- /dev/null +++ b/node_modules/@smithy/service-error-classification/dist-cjs/index.js @@ -0,0 +1,77 @@ +'use strict'; + +const CLOCK_SKEW_ERROR_CODES = [ + "AuthFailure", + "InvalidSignatureException", + "RequestExpired", + "RequestInTheFuture", + "RequestTimeTooSkewed", + "SignatureDoesNotMatch", +]; +const THROTTLING_ERROR_CODES = [ + "BandwidthLimitExceeded", + "EC2ThrottledException", + "LimitExceededException", + "PriorRequestNotComplete", + "ProvisionedThroughputExceededException", + "RequestLimitExceeded", + "RequestThrottled", + "RequestThrottledException", + "SlowDown", + "ThrottledException", + "Throttling", + "ThrottlingException", + "TooManyRequestsException", + "TransactionInProgressException", +]; +const TRANSIENT_ERROR_CODES = ["TimeoutError", "RequestTimeout", "RequestTimeoutException"]; +const TRANSIENT_ERROR_STATUS_CODES = [500, 502, 503, 504]; +const NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "ECONNREFUSED", "EPIPE", "ETIMEDOUT"]; +const NODEJS_NETWORK_ERROR_CODES = ["EHOSTUNREACH", "ENETUNREACH", "ENOTFOUND"]; + +const isRetryableByTrait = (error) => error?.$retryable !== undefined; +const isClockSkewError = (error) => CLOCK_SKEW_ERROR_CODES.includes(error.name); +const isClockSkewCorrectedError = (error) => error.$metadata?.clockSkewCorrected; +const isBrowserNetworkError = (error) => { + const errorMessages = new Set([ + "Failed to fetch", + "NetworkError when attempting to fetch resource", + "The Internet connection appears to be offline", + "Load failed", + "Network request failed", + ]); + const isValid = error && error instanceof TypeError; + if (!isValid) { + return false; + } + return errorMessages.has(error.message); +}; +const isThrottlingError = (error) => error.$metadata?.httpStatusCode === 429 || + THROTTLING_ERROR_CODES.includes(error.name) || + error.$retryable?.throttling == true; +const isTransientError = (error, depth = 0) => isRetryableByTrait(error) || + isClockSkewCorrectedError(error) || + TRANSIENT_ERROR_CODES.includes(error.name) || + NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") || + NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") || + TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) || + isBrowserNetworkError(error) || + (error.cause !== undefined && depth <= 10 && isTransientError(error.cause, depth + 1)); +const isServerError = (error) => { + if (error.$metadata?.httpStatusCode !== undefined) { + const statusCode = error.$metadata.httpStatusCode; + if (500 <= statusCode && statusCode <= 599 && !isTransientError(error)) { + return true; + } + return false; + } + return false; +}; + +exports.isBrowserNetworkError = isBrowserNetworkError; +exports.isClockSkewCorrectedError = isClockSkewCorrectedError; +exports.isClockSkewError = isClockSkewError; +exports.isRetryableByTrait = isRetryableByTrait; +exports.isServerError = isServerError; +exports.isThrottlingError = isThrottlingError; +exports.isTransientError = isTransientError; diff --git a/node_modules/@smithy/service-error-classification/dist-es/constants.js b/node_modules/@smithy/service-error-classification/dist-es/constants.js new file mode 100644 index 0000000..7a4b7e3 --- /dev/null +++ b/node_modules/@smithy/service-error-classification/dist-es/constants.js @@ -0,0 +1,28 @@ +export const CLOCK_SKEW_ERROR_CODES = [ + "AuthFailure", + "InvalidSignatureException", + "RequestExpired", + "RequestInTheFuture", + "RequestTimeTooSkewed", + "SignatureDoesNotMatch", +]; +export const THROTTLING_ERROR_CODES = [ + "BandwidthLimitExceeded", + "EC2ThrottledException", + "LimitExceededException", + "PriorRequestNotComplete", + "ProvisionedThroughputExceededException", + "RequestLimitExceeded", + "RequestThrottled", + "RequestThrottledException", + "SlowDown", + "ThrottledException", + "Throttling", + "ThrottlingException", + "TooManyRequestsException", + "TransactionInProgressException", +]; +export const TRANSIENT_ERROR_CODES = ["TimeoutError", "RequestTimeout", "RequestTimeoutException"]; +export const TRANSIENT_ERROR_STATUS_CODES = [500, 502, 503, 504]; +export const NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "ECONNREFUSED", "EPIPE", "ETIMEDOUT"]; +export const NODEJS_NETWORK_ERROR_CODES = ["EHOSTUNREACH", "ENETUNREACH", "ENOTFOUND"]; diff --git a/node_modules/@smithy/service-error-classification/dist-es/index.js b/node_modules/@smithy/service-error-classification/dist-es/index.js new file mode 100644 index 0000000..8612c73 --- /dev/null +++ b/node_modules/@smithy/service-error-classification/dist-es/index.js @@ -0,0 +1,39 @@ +import { CLOCK_SKEW_ERROR_CODES, NODEJS_NETWORK_ERROR_CODES, NODEJS_TIMEOUT_ERROR_CODES, THROTTLING_ERROR_CODES, TRANSIENT_ERROR_CODES, TRANSIENT_ERROR_STATUS_CODES, } from "./constants"; +export const isRetryableByTrait = (error) => error?.$retryable !== undefined; +export const isClockSkewError = (error) => CLOCK_SKEW_ERROR_CODES.includes(error.name); +export const isClockSkewCorrectedError = (error) => error.$metadata?.clockSkewCorrected; +export const isBrowserNetworkError = (error) => { + const errorMessages = new Set([ + "Failed to fetch", + "NetworkError when attempting to fetch resource", + "The Internet connection appears to be offline", + "Load failed", + "Network request failed", + ]); + const isValid = error && error instanceof TypeError; + if (!isValid) { + return false; + } + return errorMessages.has(error.message); +}; +export const isThrottlingError = (error) => error.$metadata?.httpStatusCode === 429 || + THROTTLING_ERROR_CODES.includes(error.name) || + error.$retryable?.throttling == true; +export const isTransientError = (error, depth = 0) => isRetryableByTrait(error) || + isClockSkewCorrectedError(error) || + TRANSIENT_ERROR_CODES.includes(error.name) || + NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") || + NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") || + TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) || + isBrowserNetworkError(error) || + (error.cause !== undefined && depth <= 10 && isTransientError(error.cause, depth + 1)); +export const isServerError = (error) => { + if (error.$metadata?.httpStatusCode !== undefined) { + const statusCode = error.$metadata.httpStatusCode; + if (500 <= statusCode && statusCode <= 599 && !isTransientError(error)) { + return true; + } + return false; + } + return false; +}; diff --git a/node_modules/@smithy/service-error-classification/dist-types/constants.d.ts b/node_modules/@smithy/service-error-classification/dist-types/constants.d.ts new file mode 100644 index 0000000..fb69129 --- /dev/null +++ b/node_modules/@smithy/service-error-classification/dist-types/constants.d.ts @@ -0,0 +1,30 @@ +/** + * Errors encountered when the client clock and server clock cannot agree on the + * current time. + * + * These errors are retryable, assuming the SDK has enabled clock skew + * correction. + */ +export declare const CLOCK_SKEW_ERROR_CODES: string[]; +/** + * Errors that indicate the SDK is being throttled. + * + * These errors are always retryable. + */ +export declare const THROTTLING_ERROR_CODES: string[]; +/** + * Error codes that indicate transient issues + */ +export declare const TRANSIENT_ERROR_CODES: string[]; +/** + * Error codes that indicate transient issues + */ +export declare const TRANSIENT_ERROR_STATUS_CODES: number[]; +/** + * Node.js system error codes that indicate timeout. + */ +export declare const NODEJS_TIMEOUT_ERROR_CODES: string[]; +/** + * Node.js system error codes that indicate network error. + */ +export declare const NODEJS_NETWORK_ERROR_CODES: string[]; diff --git a/node_modules/@smithy/service-error-classification/dist-types/index.d.ts b/node_modules/@smithy/service-error-classification/dist-types/index.d.ts new file mode 100644 index 0000000..2245dd7 --- /dev/null +++ b/node_modules/@smithy/service-error-classification/dist-types/index.d.ts @@ -0,0 +1,24 @@ +import type { SdkError } from "@smithy/types"; +export declare const isRetryableByTrait: (error: SdkError) => boolean; +/** + * @deprecated use isClockSkewCorrectedError. This is only used in deprecated code. + */ +export declare const isClockSkewError: (error: SdkError) => boolean; +/** + * @returns whether the error resulted in a systemClockOffset aka clock skew correction. + */ +export declare const isClockSkewCorrectedError: (error: SdkError) => true | undefined; +/** + * + * @internal + */ +export declare const isBrowserNetworkError: (error: SdkError) => boolean; +export declare const isThrottlingError: (error: SdkError) => boolean; +/** + * Though NODEJS_TIMEOUT_ERROR_CODES are platform specific, they are + * included here because there is an error scenario with unknown root + * cause where the NodeHttpHandler does not decorate the Error with + * the name "TimeoutError" to be checked by the TRANSIENT_ERROR_CODES condition. + */ +export declare const isTransientError: (error: SdkError, depth?: number) => boolean; +export declare const isServerError: (error: SdkError) => boolean; diff --git a/node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts b/node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts new file mode 100644 index 0000000..fb69129 --- /dev/null +++ b/node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts @@ -0,0 +1,30 @@ +/** + * Errors encountered when the client clock and server clock cannot agree on the + * current time. + * + * These errors are retryable, assuming the SDK has enabled clock skew + * correction. + */ +export declare const CLOCK_SKEW_ERROR_CODES: string[]; +/** + * Errors that indicate the SDK is being throttled. + * + * These errors are always retryable. + */ +export declare const THROTTLING_ERROR_CODES: string[]; +/** + * Error codes that indicate transient issues + */ +export declare const TRANSIENT_ERROR_CODES: string[]; +/** + * Error codes that indicate transient issues + */ +export declare const TRANSIENT_ERROR_STATUS_CODES: number[]; +/** + * Node.js system error codes that indicate timeout. + */ +export declare const NODEJS_TIMEOUT_ERROR_CODES: string[]; +/** + * Node.js system error codes that indicate network error. + */ +export declare const NODEJS_NETWORK_ERROR_CODES: string[]; diff --git a/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..6aad102 --- /dev/null +++ b/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts @@ -0,0 +1,24 @@ +import { SdkError } from "@smithy/types"; +export declare const isRetryableByTrait: (error: SdkError) => boolean; +/** + * @deprecated use isClockSkewCorrectedError. This is only used in deprecated code. + */ +export declare const isClockSkewError: (error: SdkError) => boolean; +/** + * @returns whether the error resulted in a systemClockOffset aka clock skew correction. + */ +export declare const isClockSkewCorrectedError: (error: SdkError) => true | undefined; +/** + * + * @internal + */ +export declare const isBrowserNetworkError: (error: SdkError) => boolean; +export declare const isThrottlingError: (error: SdkError) => boolean; +/** + * Though NODEJS_TIMEOUT_ERROR_CODES are platform specific, they are + * included here because there is an error scenario with unknown root + * cause where the NodeHttpHandler does not decorate the Error with + * the name "TimeoutError" to be checked by the TRANSIENT_ERROR_CODES condition. + */ +export declare const isTransientError: (error: SdkError, depth?: number) => boolean; +export declare const isServerError: (error: SdkError) => boolean; diff --git a/node_modules/@smithy/service-error-classification/package.json b/node_modules/@smithy/service-error-classification/package.json new file mode 100644 index 0000000..eceed03 --- /dev/null +++ b/node_modules/@smithy/service-error-classification/package.json @@ -0,0 +1,60 @@ +{ + "name": "@smithy/service-error-classification", + "version": "4.2.12", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline service-error-classification", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/service-error-classification", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/service-error-classification" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + }, + "dependencies": { + "@smithy/types": "^4.13.1" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/shared-ini-file-loader/LICENSE b/node_modules/@smithy/shared-ini-file-loader/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/shared-ini-file-loader/README.md b/node_modules/@smithy/shared-ini-file-loader/README.md new file mode 100644 index 0000000..45a4b2e --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/README.md @@ -0,0 +1,105 @@ +# @smithy/shared-ini-file-loader + +[![NPM version](https://img.shields.io/npm/v/@smithy/shared-ini-file-loader/latest.svg)](https://www.npmjs.com/package/@smithy/shared-ini-file-loader) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/shared-ini-file-loader.svg)](https://www.npmjs.com/package/@smithy/shared-ini-file-loader) + +## AWS Shared Configuration File Loader + +This module provides a function that reads from AWS SDK configuration files and +returns a promise that will resolve with a hash of the parsed contents of the +AWS credentials file and of the AWS config file. Given the [sample +files](#sample-files) below, the promise returned by `loadSharedConfigFiles` +would resolve with: + +```javascript +{ + configFile: { + 'default': { + aws_access_key_id: 'foo', + aws_secret_access_key: 'bar', + }, + dev: { + aws_access_key_id: 'foo1', + aws_secret_access_key: 'bar1', + }, + prod: { + aws_access_key_id: 'foo2', + aws_secret_access_key: 'bar2', + }, + 'testing host': { + aws_access_key_id: 'foo4', + aws_secret_access_key: 'bar4', + } + }, + credentialsFile: { + 'default': { + aws_access_key_id: 'foo', + aws_secret_access_key: 'bar', + }, + dev: { + aws_access_key_id: 'foo1', + aws_secret_access_key: 'bar1', + }, + prod: { + aws_access_key_id: 'foo2', + aws_secret_access_key: 'bar2', + } + }, +} +``` + +If a file is not found, its key (`configFile` or `credentialsFile`) will instead +have a value of an empty object. + +## Supported configuration + +You may customize how the files are loaded by providing an options hash to the +`loadSharedConfigFiles` function. The following options are supported: + +- `filepath` - The path to the shared credentials file. If not specified, the + provider will use the value in the `AWS_SHARED_CREDENTIALS_FILE` environment + variable or a default of `~/.aws/credentials`. +- `configFilepath` - The path to the shared config file. If not specified, the + provider will use the value in the `AWS_CONFIG_FILE` environment variable or a + default of `~/.aws/config`. +- `ignoreCache` - The provider will normally cache the contents of the files it + loads. This option will force the provider to reload the files from disk. + Defaults to `false`. + +## Sample files + +### `~/.aws/credentials` + +```ini +[default] +aws_access_key_id=foo +aws_secret_access_key=bar + +[dev] +aws_access_key_id=foo2 +aws_secret_access_key=bar2 + +[prod] +aws_access_key_id=foo3 +aws_secret_access_key=bar3 +``` + +### `~/.aws/config` + +```ini +[default] +aws_access_key_id=foo +aws_secret_access_key=bar + +[profile dev] +aws_access_key_id=foo2 +aws_secret_access_key=bar2 + +[profile prod] +aws_access_key_id=foo3 +aws_secret_access_key=bar3 + +[profile "testing host"] +aws_access_key_id=foo4 +aws_secret_access_key=bar4 +``` diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js b/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js new file mode 100644 index 0000000..2a4f737 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js @@ -0,0 +1,26 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getHomeDir = void 0; +const os_1 = require("os"); +const path_1 = require("path"); +const homeDirCache = {}; +const getHomeDirCacheKey = () => { + if (process && process.geteuid) { + return `${process.geteuid()}`; + } + return "DEFAULT"; +}; +const getHomeDir = () => { + const { HOME, USERPROFILE, HOMEPATH, HOMEDRIVE = `C:${path_1.sep}` } = process.env; + if (HOME) + return HOME; + if (USERPROFILE) + return USERPROFILE; + if (HOMEPATH) + return `${HOMEDRIVE}${HOMEPATH}`; + const homeDirCacheKey = getHomeDirCacheKey(); + if (!homeDirCache[homeDirCacheKey]) + homeDirCache[homeDirCacheKey] = (0, os_1.homedir)(); + return homeDirCache[homeDirCacheKey]; +}; +exports.getHomeDir = getHomeDir; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js b/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js new file mode 100644 index 0000000..30d97b3 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getSSOTokenFilepath = void 0; +const crypto_1 = require("crypto"); +const path_1 = require("path"); +const getHomeDir_1 = require("./getHomeDir"); +const getSSOTokenFilepath = (id) => { + const hasher = (0, crypto_1.createHash)("sha1"); + const cacheName = hasher.update(id).digest("hex"); + return (0, path_1.join)((0, getHomeDir_1.getHomeDir)(), ".aws", "sso", "cache", `${cacheName}.json`); +}; +exports.getSSOTokenFilepath = getSSOTokenFilepath; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js b/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js new file mode 100644 index 0000000..955e112 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js @@ -0,0 +1,15 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getSSOTokenFromFile = exports.tokenIntercept = void 0; +const promises_1 = require("fs/promises"); +const getSSOTokenFilepath_1 = require("./getSSOTokenFilepath"); +exports.tokenIntercept = {}; +const getSSOTokenFromFile = async (id) => { + if (exports.tokenIntercept[id]) { + return exports.tokenIntercept[id]; + } + const ssoTokenFilepath = (0, getSSOTokenFilepath_1.getSSOTokenFilepath)(id); + const ssoTokenText = await (0, promises_1.readFile)(ssoTokenFilepath, "utf8"); + return JSON.parse(ssoTokenText); +}; +exports.getSSOTokenFromFile = getSSOTokenFromFile; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js b/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js new file mode 100644 index 0000000..4d50d12 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js @@ -0,0 +1,196 @@ +'use strict'; + +var getHomeDir = require('./getHomeDir'); +var getSSOTokenFilepath = require('./getSSOTokenFilepath'); +var getSSOTokenFromFile = require('./getSSOTokenFromFile'); +var path = require('path'); +var types = require('@smithy/types'); +var readFile = require('./readFile'); + +const ENV_PROFILE = "AWS_PROFILE"; +const DEFAULT_PROFILE = "default"; +const getProfileName = (init) => init.profile || process.env[ENV_PROFILE] || DEFAULT_PROFILE; + +const CONFIG_PREFIX_SEPARATOR = "."; + +const getConfigData = (data) => Object.entries(data) + .filter(([key]) => { + const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR); + if (indexOfSeparator === -1) { + return false; + } + return Object.values(types.IniSectionType).includes(key.substring(0, indexOfSeparator)); +}) + .reduce((acc, [key, value]) => { + const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR); + const updatedKey = key.substring(0, indexOfSeparator) === types.IniSectionType.PROFILE ? key.substring(indexOfSeparator + 1) : key; + acc[updatedKey] = value; + return acc; +}, { + ...(data.default && { default: data.default }), +}); + +const ENV_CONFIG_PATH = "AWS_CONFIG_FILE"; +const getConfigFilepath = () => process.env[ENV_CONFIG_PATH] || path.join(getHomeDir.getHomeDir(), ".aws", "config"); + +const ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE"; +const getCredentialsFilepath = () => process.env[ENV_CREDENTIALS_PATH] || path.join(getHomeDir.getHomeDir(), ".aws", "credentials"); + +const prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/; +const profileNameBlockList = ["__proto__", "profile __proto__"]; +const parseIni = (iniData) => { + const map = {}; + let currentSection; + let currentSubSection; + for (const iniLine of iniData.split(/\r?\n/)) { + const trimmedLine = iniLine.split(/(^|\s)[;#]/)[0].trim(); + const isSection = trimmedLine[0] === "[" && trimmedLine[trimmedLine.length - 1] === "]"; + if (isSection) { + currentSection = undefined; + currentSubSection = undefined; + const sectionName = trimmedLine.substring(1, trimmedLine.length - 1); + const matches = prefixKeyRegex.exec(sectionName); + if (matches) { + const [, prefix, , name] = matches; + if (Object.values(types.IniSectionType).includes(prefix)) { + currentSection = [prefix, name].join(CONFIG_PREFIX_SEPARATOR); + } + } + else { + currentSection = sectionName; + } + if (profileNameBlockList.includes(sectionName)) { + throw new Error(`Found invalid profile name "${sectionName}"`); + } + } + else if (currentSection) { + const indexOfEqualsSign = trimmedLine.indexOf("="); + if (![0, -1].includes(indexOfEqualsSign)) { + const [name, value] = [ + trimmedLine.substring(0, indexOfEqualsSign).trim(), + trimmedLine.substring(indexOfEqualsSign + 1).trim(), + ]; + if (value === "") { + currentSubSection = name; + } + else { + if (currentSubSection && iniLine.trimStart() === iniLine) { + currentSubSection = undefined; + } + map[currentSection] = map[currentSection] || {}; + const key = currentSubSection ? [currentSubSection, name].join(CONFIG_PREFIX_SEPARATOR) : name; + map[currentSection][key] = value; + } + } + } + } + return map; +}; + +const swallowError$1 = () => ({}); +const loadSharedConfigFiles = async (init = {}) => { + const { filepath = getCredentialsFilepath(), configFilepath = getConfigFilepath() } = init; + const homeDir = getHomeDir.getHomeDir(); + const relativeHomeDirPrefix = "~/"; + let resolvedFilepath = filepath; + if (filepath.startsWith(relativeHomeDirPrefix)) { + resolvedFilepath = path.join(homeDir, filepath.slice(2)); + } + let resolvedConfigFilepath = configFilepath; + if (configFilepath.startsWith(relativeHomeDirPrefix)) { + resolvedConfigFilepath = path.join(homeDir, configFilepath.slice(2)); + } + const parsedFiles = await Promise.all([ + readFile.readFile(resolvedConfigFilepath, { + ignoreCache: init.ignoreCache, + }) + .then(parseIni) + .then(getConfigData) + .catch(swallowError$1), + readFile.readFile(resolvedFilepath, { + ignoreCache: init.ignoreCache, + }) + .then(parseIni) + .catch(swallowError$1), + ]); + return { + configFile: parsedFiles[0], + credentialsFile: parsedFiles[1], + }; +}; + +const getSsoSessionData = (data) => Object.entries(data) + .filter(([key]) => key.startsWith(types.IniSectionType.SSO_SESSION + CONFIG_PREFIX_SEPARATOR)) + .reduce((acc, [key, value]) => ({ ...acc, [key.substring(key.indexOf(CONFIG_PREFIX_SEPARATOR) + 1)]: value }), {}); + +const swallowError = () => ({}); +const loadSsoSessionData = async (init = {}) => readFile.readFile(init.configFilepath ?? getConfigFilepath()) + .then(parseIni) + .then(getSsoSessionData) + .catch(swallowError); + +const mergeConfigFiles = (...files) => { + const merged = {}; + for (const file of files) { + for (const [key, values] of Object.entries(file)) { + if (merged[key] !== undefined) { + Object.assign(merged[key], values); + } + else { + merged[key] = values; + } + } + } + return merged; +}; + +const parseKnownFiles = async (init) => { + const parsedFiles = await loadSharedConfigFiles(init); + return mergeConfigFiles(parsedFiles.configFile, parsedFiles.credentialsFile); +}; + +const externalDataInterceptor = { + getFileRecord() { + return readFile.fileIntercept; + }, + interceptFile(path, contents) { + readFile.fileIntercept[path] = Promise.resolve(contents); + }, + getTokenRecord() { + return getSSOTokenFromFile.tokenIntercept; + }, + interceptToken(id, contents) { + getSSOTokenFromFile.tokenIntercept[id] = contents; + }, +}; + +exports.getSSOTokenFromFile = getSSOTokenFromFile.getSSOTokenFromFile; +exports.readFile = readFile.readFile; +exports.CONFIG_PREFIX_SEPARATOR = CONFIG_PREFIX_SEPARATOR; +exports.DEFAULT_PROFILE = DEFAULT_PROFILE; +exports.ENV_PROFILE = ENV_PROFILE; +exports.externalDataInterceptor = externalDataInterceptor; +exports.getProfileName = getProfileName; +exports.loadSharedConfigFiles = loadSharedConfigFiles; +exports.loadSsoSessionData = loadSsoSessionData; +exports.parseKnownFiles = parseKnownFiles; +Object.prototype.hasOwnProperty.call(getHomeDir, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: getHomeDir['__proto__'] + }); + +Object.keys(getHomeDir).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = getHomeDir[k]; +}); +Object.prototype.hasOwnProperty.call(getSSOTokenFilepath, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: getSSOTokenFilepath['__proto__'] + }); + +Object.keys(getSSOTokenFilepath).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = getSSOTokenFilepath[k]; +}); diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js b/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js new file mode 100644 index 0000000..e2a492f --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.readFile = exports.fileIntercept = exports.filePromises = void 0; +const promises_1 = require("node:fs/promises"); +exports.filePromises = {}; +exports.fileIntercept = {}; +const readFile = (path, options) => { + if (exports.fileIntercept[path] !== undefined) { + return exports.fileIntercept[path]; + } + if (!exports.filePromises[path] || options?.ignoreCache) { + exports.filePromises[path] = (0, promises_1.readFile)(path, "utf8"); + } + return exports.filePromises[path]; +}; +exports.readFile = readFile; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-es/constants.js b/node_modules/@smithy/shared-ini-file-loader/dist-es/constants.js new file mode 100644 index 0000000..0020821 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-es/constants.js @@ -0,0 +1 @@ +export const CONFIG_PREFIX_SEPARATOR = "."; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js b/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js new file mode 100644 index 0000000..a2dcf46 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js @@ -0,0 +1,16 @@ +import { tokenIntercept } from "./getSSOTokenFromFile"; +import { fileIntercept } from "./readFile"; +export const externalDataInterceptor = { + getFileRecord() { + return fileIntercept; + }, + interceptFile(path, contents) { + fileIntercept[path] = Promise.resolve(contents); + }, + getTokenRecord() { + return tokenIntercept; + }, + interceptToken(id, contents) { + tokenIntercept[id] = contents; + }, +}; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js b/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js new file mode 100644 index 0000000..4b59141 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js @@ -0,0 +1,18 @@ +import { IniSectionType } from "@smithy/types"; +import { CONFIG_PREFIX_SEPARATOR } from "./constants"; +export const getConfigData = (data) => Object.entries(data) + .filter(([key]) => { + const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR); + if (indexOfSeparator === -1) { + return false; + } + return Object.values(IniSectionType).includes(key.substring(0, indexOfSeparator)); +}) + .reduce((acc, [key, value]) => { + const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR); + const updatedKey = key.substring(0, indexOfSeparator) === IniSectionType.PROFILE ? key.substring(indexOfSeparator + 1) : key; + acc[updatedKey] = value; + return acc; +}, { + ...(data.default && { default: data.default }), +}); diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js b/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js new file mode 100644 index 0000000..ca07c2d --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js @@ -0,0 +1,4 @@ +import { join } from "path"; +import { getHomeDir } from "./getHomeDir"; +export const ENV_CONFIG_PATH = "AWS_CONFIG_FILE"; +export const getConfigFilepath = () => process.env[ENV_CONFIG_PATH] || join(getHomeDir(), ".aws", "config"); diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js b/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js new file mode 100644 index 0000000..393c0ae --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js @@ -0,0 +1,4 @@ +import { join } from "path"; +import { getHomeDir } from "./getHomeDir"; +export const ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE"; +export const getCredentialsFilepath = () => process.env[ENV_CREDENTIALS_PATH] || join(getHomeDir(), ".aws", "credentials"); diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js b/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js new file mode 100644 index 0000000..58772af --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js @@ -0,0 +1,22 @@ +import { homedir } from "os"; +import { sep } from "path"; +const homeDirCache = {}; +const getHomeDirCacheKey = () => { + if (process && process.geteuid) { + return `${process.geteuid()}`; + } + return "DEFAULT"; +}; +export const getHomeDir = () => { + const { HOME, USERPROFILE, HOMEPATH, HOMEDRIVE = `C:${sep}` } = process.env; + if (HOME) + return HOME; + if (USERPROFILE) + return USERPROFILE; + if (HOMEPATH) + return `${HOMEDRIVE}${HOMEPATH}`; + const homeDirCacheKey = getHomeDirCacheKey(); + if (!homeDirCache[homeDirCacheKey]) + homeDirCache[homeDirCacheKey] = homedir(); + return homeDirCache[homeDirCacheKey]; +}; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js b/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js new file mode 100644 index 0000000..acc29f0 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js @@ -0,0 +1,3 @@ +export const ENV_PROFILE = "AWS_PROFILE"; +export const DEFAULT_PROFILE = "default"; +export const getProfileName = (init) => init.profile || process.env[ENV_PROFILE] || DEFAULT_PROFILE; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js b/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js new file mode 100644 index 0000000..a44b4ad --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js @@ -0,0 +1,8 @@ +import { createHash } from "crypto"; +import { join } from "path"; +import { getHomeDir } from "./getHomeDir"; +export const getSSOTokenFilepath = (id) => { + const hasher = createHash("sha1"); + const cacheName = hasher.update(id).digest("hex"); + return join(getHomeDir(), ".aws", "sso", "cache", `${cacheName}.json`); +}; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js b/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js new file mode 100644 index 0000000..153cd6a --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js @@ -0,0 +1,11 @@ +import { readFile } from "fs/promises"; +import { getSSOTokenFilepath } from "./getSSOTokenFilepath"; +export const tokenIntercept = {}; +export const getSSOTokenFromFile = async (id) => { + if (tokenIntercept[id]) { + return tokenIntercept[id]; + } + const ssoTokenFilepath = getSSOTokenFilepath(id); + const ssoTokenText = await readFile(ssoTokenFilepath, "utf8"); + return JSON.parse(ssoTokenText); +}; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js b/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js new file mode 100644 index 0000000..f2df194 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js @@ -0,0 +1,5 @@ +import { IniSectionType } from "@smithy/types"; +import { CONFIG_PREFIX_SEPARATOR } from "./loadSharedConfigFiles"; +export const getSsoSessionData = (data) => Object.entries(data) + .filter(([key]) => key.startsWith(IniSectionType.SSO_SESSION + CONFIG_PREFIX_SEPARATOR)) + .reduce((acc, [key, value]) => ({ ...acc, [key.substring(key.indexOf(CONFIG_PREFIX_SEPARATOR) + 1)]: value }), {}); diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js b/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js new file mode 100644 index 0000000..b003abc --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js @@ -0,0 +1,10 @@ +export * from "./getHomeDir"; +export * from "./getProfileName"; +export * from "./getSSOTokenFilepath"; +export { getSSOTokenFromFile } from "./getSSOTokenFromFile"; +export * from "./loadSharedConfigFiles"; +export * from "./loadSsoSessionData"; +export * from "./parseKnownFiles"; +export { externalDataInterceptor } from "./externalDataInterceptor"; +export * from "./types"; +export { readFile } from "./readFile"; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js b/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js new file mode 100644 index 0000000..e8baccc --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js @@ -0,0 +1,39 @@ +import { join } from "path"; +import { getConfigData } from "./getConfigData"; +import { getConfigFilepath } from "./getConfigFilepath"; +import { getCredentialsFilepath } from "./getCredentialsFilepath"; +import { getHomeDir } from "./getHomeDir"; +import { parseIni } from "./parseIni"; +import { readFile } from "./readFile"; +const swallowError = () => ({}); +export { CONFIG_PREFIX_SEPARATOR } from "./constants"; +export const loadSharedConfigFiles = async (init = {}) => { + const { filepath = getCredentialsFilepath(), configFilepath = getConfigFilepath() } = init; + const homeDir = getHomeDir(); + const relativeHomeDirPrefix = "~/"; + let resolvedFilepath = filepath; + if (filepath.startsWith(relativeHomeDirPrefix)) { + resolvedFilepath = join(homeDir, filepath.slice(2)); + } + let resolvedConfigFilepath = configFilepath; + if (configFilepath.startsWith(relativeHomeDirPrefix)) { + resolvedConfigFilepath = join(homeDir, configFilepath.slice(2)); + } + const parsedFiles = await Promise.all([ + readFile(resolvedConfigFilepath, { + ignoreCache: init.ignoreCache, + }) + .then(parseIni) + .then(getConfigData) + .catch(swallowError), + readFile(resolvedFilepath, { + ignoreCache: init.ignoreCache, + }) + .then(parseIni) + .catch(swallowError), + ]); + return { + configFile: parsedFiles[0], + credentialsFile: parsedFiles[1], + }; +}; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js b/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js new file mode 100644 index 0000000..279d125 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js @@ -0,0 +1,9 @@ +import { getConfigFilepath } from "./getConfigFilepath"; +import { getSsoSessionData } from "./getSsoSessionData"; +import { parseIni } from "./parseIni"; +import { readFile } from "./readFile"; +const swallowError = () => ({}); +export const loadSsoSessionData = async (init = {}) => readFile(init.configFilepath ?? getConfigFilepath()) + .then(parseIni) + .then(getSsoSessionData) + .catch(swallowError); diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js b/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js new file mode 100644 index 0000000..58576f7 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js @@ -0,0 +1,14 @@ +export const mergeConfigFiles = (...files) => { + const merged = {}; + for (const file of files) { + for (const [key, values] of Object.entries(file)) { + if (merged[key] !== undefined) { + Object.assign(merged[key], values); + } + else { + merged[key] = values; + } + } + } + return merged; +}; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js b/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js new file mode 100644 index 0000000..ec999c3 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js @@ -0,0 +1,52 @@ +import { IniSectionType } from "@smithy/types"; +import { CONFIG_PREFIX_SEPARATOR } from "./constants"; +const prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/; +const profileNameBlockList = ["__proto__", "profile __proto__"]; +export const parseIni = (iniData) => { + const map = {}; + let currentSection; + let currentSubSection; + for (const iniLine of iniData.split(/\r?\n/)) { + const trimmedLine = iniLine.split(/(^|\s)[;#]/)[0].trim(); + const isSection = trimmedLine[0] === "[" && trimmedLine[trimmedLine.length - 1] === "]"; + if (isSection) { + currentSection = undefined; + currentSubSection = undefined; + const sectionName = trimmedLine.substring(1, trimmedLine.length - 1); + const matches = prefixKeyRegex.exec(sectionName); + if (matches) { + const [, prefix, , name] = matches; + if (Object.values(IniSectionType).includes(prefix)) { + currentSection = [prefix, name].join(CONFIG_PREFIX_SEPARATOR); + } + } + else { + currentSection = sectionName; + } + if (profileNameBlockList.includes(sectionName)) { + throw new Error(`Found invalid profile name "${sectionName}"`); + } + } + else if (currentSection) { + const indexOfEqualsSign = trimmedLine.indexOf("="); + if (![0, -1].includes(indexOfEqualsSign)) { + const [name, value] = [ + trimmedLine.substring(0, indexOfEqualsSign).trim(), + trimmedLine.substring(indexOfEqualsSign + 1).trim(), + ]; + if (value === "") { + currentSubSection = name; + } + else { + if (currentSubSection && iniLine.trimStart() === iniLine) { + currentSubSection = undefined; + } + map[currentSection] = map[currentSection] || {}; + const key = currentSubSection ? [currentSubSection, name].join(CONFIG_PREFIX_SEPARATOR) : name; + map[currentSection][key] = value; + } + } + } + } + return map; +}; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js b/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js new file mode 100644 index 0000000..4920e28 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js @@ -0,0 +1,6 @@ +import { loadSharedConfigFiles } from "./loadSharedConfigFiles"; +import { mergeConfigFiles } from "./mergeConfigFiles"; +export const parseKnownFiles = async (init) => { + const parsedFiles = await loadSharedConfigFiles(init); + return mergeConfigFiles(parsedFiles.configFile, parsedFiles.credentialsFile); +}; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-es/readFile.js b/node_modules/@smithy/shared-ini-file-loader/dist-es/readFile.js new file mode 100644 index 0000000..c2251f0 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-es/readFile.js @@ -0,0 +1,12 @@ +import { readFile as fsReadFile } from "node:fs/promises"; +export const filePromises = {}; +export const fileIntercept = {}; +export const readFile = (path, options) => { + if (fileIntercept[path] !== undefined) { + return fileIntercept[path]; + } + if (!filePromises[path] || options?.ignoreCache) { + filePromises[path] = fsReadFile(path, "utf8"); + } + return filePromises[path]; +}; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js b/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/constants.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/constants.d.ts new file mode 100644 index 0000000..caa3ee3 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/constants.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const CONFIG_PREFIX_SEPARATOR = "."; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts new file mode 100644 index 0000000..1ac1b9b --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts @@ -0,0 +1,9 @@ +/** + * @internal + */ +export declare const externalDataInterceptor: { + getFileRecord(): Record>; + interceptFile(path: string, contents: string): void; + getTokenRecord(): Record; + interceptToken(id: string, contents: any): void; +}; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts new file mode 100644 index 0000000..024b09e --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts @@ -0,0 +1,8 @@ +import type { ParsedIniData } from "@smithy/types"; +/** + * Returns the config data from parsed ini data. + * * Returns data for `default` + * * Returns profile name without prefix. + * * Returns non-profiles as is. + */ +export declare const getConfigData: (data: ParsedIniData) => ParsedIniData; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts new file mode 100644 index 0000000..1d123be --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts @@ -0,0 +1,2 @@ +export declare const ENV_CONFIG_PATH = "AWS_CONFIG_FILE"; +export declare const getConfigFilepath: () => string; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts new file mode 100644 index 0000000..26fda4a --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts @@ -0,0 +1,2 @@ +export declare const ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE"; +export declare const getCredentialsFilepath: () => string; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts new file mode 100644 index 0000000..5d15bf1 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts @@ -0,0 +1,6 @@ +/** + * Get the HOME directory for the current runtime. + * + * @internal + */ +export declare const getHomeDir: () => string; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts new file mode 100644 index 0000000..5a608b2 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts @@ -0,0 +1,15 @@ +/** + * @internal + */ +export declare const ENV_PROFILE = "AWS_PROFILE"; +/** + * @internal + */ +export declare const DEFAULT_PROFILE = "default"; +/** + * Returns profile with priority order code - ENV - default. + * @internal + */ +export declare const getProfileName: (init: { + profile?: string; +}) => string; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts new file mode 100644 index 0000000..44a4030 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts @@ -0,0 +1,5 @@ +/** + * Returns the filepath of the file where SSO token is stored. + * @internal + */ +export declare const getSSOTokenFilepath: (id: string) => string; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts new file mode 100644 index 0000000..79ad7a4 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts @@ -0,0 +1,52 @@ +/** + * Cached SSO token retrieved from SSO login flow. + * @public + */ +export interface SSOToken { + /** + * A base64 encoded string returned by the sso-oidc service. + */ + accessToken: string; + /** + * The expiration time of the accessToken as an RFC 3339 formatted timestamp. + */ + expiresAt: string; + /** + * The token used to obtain an access token in the event that the accessToken is invalid or expired. + */ + refreshToken?: string; + /** + * The unique identifier string for each client. The client ID generated when performing the registration + * portion of the OIDC authorization flow. This is used to refresh the accessToken. + */ + clientId?: string; + /** + * A secret string generated when performing the registration portion of the OIDC authorization flow. + * This is used to refresh the accessToken. + */ + clientSecret?: string; + /** + * The expiration time of the client registration (clientId and clientSecret) as an RFC 3339 formatted timestamp. + */ + registrationExpiresAt?: string; + /** + * The configured sso_region for the profile that credentials are being resolved for. + */ + region?: string; + /** + * The configured sso_start_url for the profile that credentials are being resolved for. + */ + startUrl?: string; +} +/** + * For testing only. + * @internal + * @deprecated minimize use in application code. + */ +export declare const tokenIntercept: Record; +/** + * @internal + * @param id - can be either a start URL or the SSO session name. + * Returns the SSO token from the file system. + */ +export declare const getSSOTokenFromFile: (id: string) => Promise; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts new file mode 100644 index 0000000..7ac62a4 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts @@ -0,0 +1,6 @@ +import type { ParsedIniData } from "@smithy/types"; +/** + * Returns the sso-session data from parsed ini data by reading + * ssoSessionName after sso-session prefix including/excluding quotes + */ +export declare const getSsoSessionData: (data: ParsedIniData) => ParsedIniData; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts new file mode 100644 index 0000000..29869da --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts @@ -0,0 +1,10 @@ +export * from "./getHomeDir"; +export * from "./getProfileName"; +export * from "./getSSOTokenFilepath"; +export { getSSOTokenFromFile, SSOToken } from "./getSSOTokenFromFile"; +export * from "./loadSharedConfigFiles"; +export * from "./loadSsoSessionData"; +export * from "./parseKnownFiles"; +export { externalDataInterceptor } from "./externalDataInterceptor"; +export * from "./types"; +export { type ReadFileOptions, readFile } from "./readFile"; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts new file mode 100644 index 0000000..eaddac3 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts @@ -0,0 +1,33 @@ +import type { Logger, SharedConfigFiles } from "@smithy/types"; +/** + * @public + */ +export interface SharedConfigInit { + /** + * The path at which to locate the ini credentials file. Defaults to the + * value of the `AWS_SHARED_CREDENTIALS_FILE` environment variable (if + * defined) or `~/.aws/credentials` otherwise. + */ + filepath?: string; + /** + * The path at which to locate the ini config file. Defaults to the value of + * the `AWS_CONFIG_FILE` environment variable (if defined) or + * `~/.aws/config` otherwise. + */ + configFilepath?: string; + /** + * Configuration files are normally cached after the first time they are loaded. When this + * property is set, the provider will always reload any configuration files loaded before. + */ + ignoreCache?: boolean; + /** + * For credential resolution trace logging. + */ + logger?: Logger; +} +export { CONFIG_PREFIX_SEPARATOR } from "./constants"; +/** + * Loads the config and credentials files. + * @internal + */ +export declare const loadSharedConfigFiles: (init?: SharedConfigInit) => Promise; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts new file mode 100644 index 0000000..44f8df8 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts @@ -0,0 +1,17 @@ +import type { ParsedIniData } from "@smithy/types"; +/** + * Subset of {@link SharedConfigInit}. + * @internal + */ +export interface SsoSessionInit { + /** + * The path at which to locate the ini config file. Defaults to the value of + * the `AWS_CONFIG_FILE` environment variable (if defined) or + * `~/.aws/config` otherwise. + */ + configFilepath?: string; +} +/** + * @internal + */ +export declare const loadSsoSessionData: (init?: SsoSessionInit) => Promise; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts new file mode 100644 index 0000000..26b4d08 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts @@ -0,0 +1,7 @@ +import type { ParsedIniData } from "@smithy/types"; +/** + * Merge multiple profile config files such that settings each file are kept together + * + * @internal + */ +export declare const mergeConfigFiles: (...files: ParsedIniData[]) => ParsedIniData; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts new file mode 100644 index 0000000..33d7ea0 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts @@ -0,0 +1,2 @@ +import type { ParsedIniData } from "@smithy/types"; +export declare const parseIni: (iniData: string) => ParsedIniData; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts new file mode 100644 index 0000000..bbe8e80 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts @@ -0,0 +1,18 @@ +import type { ParsedIniData } from "@smithy/types"; +import type { SharedConfigInit } from "./loadSharedConfigFiles"; +/** + * @public + */ +export interface SourceProfileInit extends SharedConfigInit { + /** + * The configuration profile to use. + */ + profile?: string; +} +/** + * Load profiles from credentials and config INI files and normalize them into a + * single profile list. + * + * @internal + */ +export declare const parseKnownFiles: (init: SourceProfileInit) => Promise; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/readFile.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/readFile.d.ts new file mode 100644 index 0000000..ed0c5d6 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/readFile.d.ts @@ -0,0 +1,21 @@ +/** + * Runtime file cache. + * @internal + */ +export declare const filePromises: Record>; +/** + * For testing only. + * @internal + * @deprecated minimize use in application code. + */ +export declare const fileIntercept: Record>; +/** + * @internal + */ +export interface ReadFileOptions { + ignoreCache?: boolean; +} +/** + * @internal + */ +export declare const readFile: (path: string, options?: ReadFileOptions) => Promise; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/constants.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/constants.d.ts new file mode 100644 index 0000000..caa3ee3 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/constants.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const CONFIG_PREFIX_SEPARATOR = "."; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts new file mode 100644 index 0000000..1ac1b9b --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts @@ -0,0 +1,9 @@ +/** + * @internal + */ +export declare const externalDataInterceptor: { + getFileRecord(): Record>; + interceptFile(path: string, contents: string): void; + getTokenRecord(): Record; + interceptToken(id: string, contents: any): void; +}; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts new file mode 100644 index 0000000..4259831 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts @@ -0,0 +1,8 @@ +import { ParsedIniData } from "@smithy/types"; +/** + * Returns the config data from parsed ini data. + * * Returns data for `default` + * * Returns profile name without prefix. + * * Returns non-profiles as is. + */ +export declare const getConfigData: (data: ParsedIniData) => ParsedIniData; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts new file mode 100644 index 0000000..1d123be --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts @@ -0,0 +1,2 @@ +export declare const ENV_CONFIG_PATH = "AWS_CONFIG_FILE"; +export declare const getConfigFilepath: () => string; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts new file mode 100644 index 0000000..26fda4a --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts @@ -0,0 +1,2 @@ +export declare const ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE"; +export declare const getCredentialsFilepath: () => string; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts new file mode 100644 index 0000000..5d15bf1 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts @@ -0,0 +1,6 @@ +/** + * Get the HOME directory for the current runtime. + * + * @internal + */ +export declare const getHomeDir: () => string; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts new file mode 100644 index 0000000..5a608b2 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts @@ -0,0 +1,15 @@ +/** + * @internal + */ +export declare const ENV_PROFILE = "AWS_PROFILE"; +/** + * @internal + */ +export declare const DEFAULT_PROFILE = "default"; +/** + * Returns profile with priority order code - ENV - default. + * @internal + */ +export declare const getProfileName: (init: { + profile?: string; +}) => string; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts new file mode 100644 index 0000000..44a4030 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts @@ -0,0 +1,5 @@ +/** + * Returns the filepath of the file where SSO token is stored. + * @internal + */ +export declare const getSSOTokenFilepath: (id: string) => string; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts new file mode 100644 index 0000000..79ad7a4 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts @@ -0,0 +1,52 @@ +/** + * Cached SSO token retrieved from SSO login flow. + * @public + */ +export interface SSOToken { + /** + * A base64 encoded string returned by the sso-oidc service. + */ + accessToken: string; + /** + * The expiration time of the accessToken as an RFC 3339 formatted timestamp. + */ + expiresAt: string; + /** + * The token used to obtain an access token in the event that the accessToken is invalid or expired. + */ + refreshToken?: string; + /** + * The unique identifier string for each client. The client ID generated when performing the registration + * portion of the OIDC authorization flow. This is used to refresh the accessToken. + */ + clientId?: string; + /** + * A secret string generated when performing the registration portion of the OIDC authorization flow. + * This is used to refresh the accessToken. + */ + clientSecret?: string; + /** + * The expiration time of the client registration (clientId and clientSecret) as an RFC 3339 formatted timestamp. + */ + registrationExpiresAt?: string; + /** + * The configured sso_region for the profile that credentials are being resolved for. + */ + region?: string; + /** + * The configured sso_start_url for the profile that credentials are being resolved for. + */ + startUrl?: string; +} +/** + * For testing only. + * @internal + * @deprecated minimize use in application code. + */ +export declare const tokenIntercept: Record; +/** + * @internal + * @param id - can be either a start URL or the SSO session name. + * Returns the SSO token from the file system. + */ +export declare const getSSOTokenFromFile: (id: string) => Promise; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts new file mode 100644 index 0000000..9be020f --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts @@ -0,0 +1,6 @@ +import { ParsedIniData } from "@smithy/types"; +/** + * Returns the sso-session data from parsed ini data by reading + * ssoSessionName after sso-session prefix including/excluding quotes + */ +export declare const getSsoSessionData: (data: ParsedIniData) => ParsedIniData; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..bb7c472 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts @@ -0,0 +1,10 @@ +export * from "./getHomeDir"; +export * from "./getProfileName"; +export * from "./getSSOTokenFilepath"; +export { getSSOTokenFromFile, SSOToken } from "./getSSOTokenFromFile"; +export * from "./loadSharedConfigFiles"; +export * from "./loadSsoSessionData"; +export * from "./parseKnownFiles"; +export { externalDataInterceptor } from "./externalDataInterceptor"; +export * from "./types"; +export { ReadFileOptions, readFile } from "./readFile"; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts new file mode 100644 index 0000000..3caeb6d --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts @@ -0,0 +1,33 @@ +import { Logger, SharedConfigFiles } from "@smithy/types"; +/** + * @public + */ +export interface SharedConfigInit { + /** + * The path at which to locate the ini credentials file. Defaults to the + * value of the `AWS_SHARED_CREDENTIALS_FILE` environment variable (if + * defined) or `~/.aws/credentials` otherwise. + */ + filepath?: string; + /** + * The path at which to locate the ini config file. Defaults to the value of + * the `AWS_CONFIG_FILE` environment variable (if defined) or + * `~/.aws/config` otherwise. + */ + configFilepath?: string; + /** + * Configuration files are normally cached after the first time they are loaded. When this + * property is set, the provider will always reload any configuration files loaded before. + */ + ignoreCache?: boolean; + /** + * For credential resolution trace logging. + */ + logger?: Logger; +} +export { CONFIG_PREFIX_SEPARATOR } from "./constants"; +/** + * Loads the config and credentials files. + * @internal + */ +export declare const loadSharedConfigFiles: (init?: SharedConfigInit) => Promise; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts new file mode 100644 index 0000000..ed6c367 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts @@ -0,0 +1,17 @@ +import { ParsedIniData } from "@smithy/types"; +/** + * Subset of {@link SharedConfigInit}. + * @internal + */ +export interface SsoSessionInit { + /** + * The path at which to locate the ini config file. Defaults to the value of + * the `AWS_CONFIG_FILE` environment variable (if defined) or + * `~/.aws/config` otherwise. + */ + configFilepath?: string; +} +/** + * @internal + */ +export declare const loadSsoSessionData: (init?: SsoSessionInit) => Promise; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts new file mode 100644 index 0000000..46b8965 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts @@ -0,0 +1,7 @@ +import { ParsedIniData } from "@smithy/types"; +/** + * Merge multiple profile config files such that settings each file are kept together + * + * @internal + */ +export declare const mergeConfigFiles: (...files: ParsedIniData[]) => ParsedIniData; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts new file mode 100644 index 0000000..0ae5851 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts @@ -0,0 +1,2 @@ +import { ParsedIniData } from "@smithy/types"; +export declare const parseIni: (iniData: string) => ParsedIniData; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts new file mode 100644 index 0000000..d5fcafa --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts @@ -0,0 +1,18 @@ +import { ParsedIniData } from "@smithy/types"; +import { SharedConfigInit } from "./loadSharedConfigFiles"; +/** + * @public + */ +export interface SourceProfileInit extends SharedConfigInit { + /** + * The configuration profile to use. + */ + profile?: string; +} +/** + * Load profiles from credentials and config INI files and normalize them into a + * single profile list. + * + * @internal + */ +export declare const parseKnownFiles: (init: SourceProfileInit) => Promise; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/readFile.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/readFile.d.ts new file mode 100644 index 0000000..ed0c5d6 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/readFile.d.ts @@ -0,0 +1,21 @@ +/** + * Runtime file cache. + * @internal + */ +export declare const filePromises: Record>; +/** + * For testing only. + * @internal + * @deprecated minimize use in application code. + */ +export declare const fileIntercept: Record>; +/** + * @internal + */ +export interface ReadFileOptions { + ignoreCache?: boolean; +} +/** + * @internal + */ +export declare const readFile: (path: string, options?: ReadFileOptions) => Promise; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts new file mode 100644 index 0000000..c7c8d92 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts @@ -0,0 +1,16 @@ +import { ParsedIniData as __ParsedIniData, Profile as __Profile, SharedConfigFiles as __SharedConfigFiles } from "@smithy/types"; +/** + * @internal + * @deprecated Use Profile from "\@smithy/types" instead + */ +export type Profile = __Profile; +/** + * @internal + * @deprecated Use ParsedIniData from "\@smithy/types" instead + */ +export type ParsedIniData = __ParsedIniData; +/** + * @internal + * @deprecated Use SharedConfigFiles from "\@smithy/types" instead + */ +export type SharedConfigFiles = __SharedConfigFiles; diff --git a/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts b/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts new file mode 100644 index 0000000..ef174f6 --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts @@ -0,0 +1,16 @@ +import type { ParsedIniData as __ParsedIniData, Profile as __Profile, SharedConfigFiles as __SharedConfigFiles } from "@smithy/types"; +/** + * @internal + * @deprecated Use Profile from "\@smithy/types" instead + */ +export type Profile = __Profile; +/** + * @internal + * @deprecated Use ParsedIniData from "\@smithy/types" instead + */ +export type ParsedIniData = __ParsedIniData; +/** + * @internal + * @deprecated Use SharedConfigFiles from "\@smithy/types" instead + */ +export type SharedConfigFiles = __SharedConfigFiles; diff --git a/node_modules/@smithy/shared-ini-file-loader/package.json b/node_modules/@smithy/shared-ini-file-loader/package.json new file mode 100644 index 0000000..3b6f01c --- /dev/null +++ b/node_modules/@smithy/shared-ini-file-loader/package.json @@ -0,0 +1,73 @@ +{ + "name": "@smithy/shared-ini-file-loader", + "version": "4.4.7", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline shared-ini-file-loader", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "extract:docs": "api-extractor run --local", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "browser": { + "./dist-es/getSSOTokenFromFile": false, + "./dist-es/readFile": false + }, + "react-native": { + "./dist-cjs/getSSOTokenFromFile": false, + "./dist-cjs/readFile": false, + "./dist-es/getSSOTokenFromFile": false, + "./dist-es/readFile": false + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/shared-ini-file-loader", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/shared-ini-file-loader" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/signature-v4/LICENSE b/node_modules/@smithy/signature-v4/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/signature-v4/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/signature-v4/README.md b/node_modules/@smithy/signature-v4/README.md new file mode 100644 index 0000000..3bc9a17 --- /dev/null +++ b/node_modules/@smithy/signature-v4/README.md @@ -0,0 +1,11 @@ +# @smithy/signature-v4 + +[![NPM version](https://img.shields.io/npm/v/@smithy/signature-v4/latest.svg)](https://www.npmjs.com/package/@smithy/signature-v4) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/signature-v4.svg)](https://www.npmjs.com/package/@smithy/signature-v4) + +This package contains an implementation of the [AWS Signature Version 4](https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html) +authentication scheme. + +It is internal to Smithy-TypeScript generated clients, and not generally intended for standalone usage outside this context. + +For custom usage, inspect the interface of the SignatureV4 class. diff --git a/node_modules/@smithy/signature-v4/dist-cjs/index.js b/node_modules/@smithy/signature-v4/dist-cjs/index.js new file mode 100644 index 0000000..362d7f3 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-cjs/index.js @@ -0,0 +1,556 @@ +'use strict'; + +var utilHexEncoding = require('@smithy/util-hex-encoding'); +var utilUtf8 = require('@smithy/util-utf8'); +var isArrayBuffer = require('@smithy/is-array-buffer'); +var protocolHttp = require('@smithy/protocol-http'); +var utilMiddleware = require('@smithy/util-middleware'); +var utilUriEscape = require('@smithy/util-uri-escape'); + +const ALGORITHM_QUERY_PARAM = "X-Amz-Algorithm"; +const CREDENTIAL_QUERY_PARAM = "X-Amz-Credential"; +const AMZ_DATE_QUERY_PARAM = "X-Amz-Date"; +const SIGNED_HEADERS_QUERY_PARAM = "X-Amz-SignedHeaders"; +const EXPIRES_QUERY_PARAM = "X-Amz-Expires"; +const SIGNATURE_QUERY_PARAM = "X-Amz-Signature"; +const TOKEN_QUERY_PARAM = "X-Amz-Security-Token"; +const REGION_SET_PARAM = "X-Amz-Region-Set"; +const AUTH_HEADER = "authorization"; +const AMZ_DATE_HEADER = AMZ_DATE_QUERY_PARAM.toLowerCase(); +const DATE_HEADER = "date"; +const GENERATED_HEADERS = [AUTH_HEADER, AMZ_DATE_HEADER, DATE_HEADER]; +const SIGNATURE_HEADER = SIGNATURE_QUERY_PARAM.toLowerCase(); +const SHA256_HEADER = "x-amz-content-sha256"; +const TOKEN_HEADER = TOKEN_QUERY_PARAM.toLowerCase(); +const HOST_HEADER = "host"; +const ALWAYS_UNSIGNABLE_HEADERS = { + authorization: true, + "cache-control": true, + connection: true, + expect: true, + from: true, + "keep-alive": true, + "max-forwards": true, + pragma: true, + referer: true, + te: true, + trailer: true, + "transfer-encoding": true, + upgrade: true, + "user-agent": true, + "x-amzn-trace-id": true, +}; +const PROXY_HEADER_PATTERN = /^proxy-/; +const SEC_HEADER_PATTERN = /^sec-/; +const UNSIGNABLE_PATTERNS = [/^proxy-/i, /^sec-/i]; +const ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256"; +const ALGORITHM_IDENTIFIER_V4A = "AWS4-ECDSA-P256-SHA256"; +const EVENT_ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256-PAYLOAD"; +const UNSIGNED_PAYLOAD = "UNSIGNED-PAYLOAD"; +const MAX_CACHE_SIZE = 50; +const KEY_TYPE_IDENTIFIER = "aws4_request"; +const MAX_PRESIGNED_TTL = 60 * 60 * 24 * 7; + +const signingKeyCache = {}; +const cacheQueue = []; +const createScope = (shortDate, region, service) => `${shortDate}/${region}/${service}/${KEY_TYPE_IDENTIFIER}`; +const getSigningKey = async (sha256Constructor, credentials, shortDate, region, service) => { + const credsHash = await hmac(sha256Constructor, credentials.secretAccessKey, credentials.accessKeyId); + const cacheKey = `${shortDate}:${region}:${service}:${utilHexEncoding.toHex(credsHash)}:${credentials.sessionToken}`; + if (cacheKey in signingKeyCache) { + return signingKeyCache[cacheKey]; + } + cacheQueue.push(cacheKey); + while (cacheQueue.length > MAX_CACHE_SIZE) { + delete signingKeyCache[cacheQueue.shift()]; + } + let key = `AWS4${credentials.secretAccessKey}`; + for (const signable of [shortDate, region, service, KEY_TYPE_IDENTIFIER]) { + key = await hmac(sha256Constructor, key, signable); + } + return (signingKeyCache[cacheKey] = key); +}; +const clearCredentialCache = () => { + cacheQueue.length = 0; + Object.keys(signingKeyCache).forEach((cacheKey) => { + delete signingKeyCache[cacheKey]; + }); +}; +const hmac = (ctor, secret, data) => { + const hash = new ctor(secret); + hash.update(utilUtf8.toUint8Array(data)); + return hash.digest(); +}; + +const getCanonicalHeaders = ({ headers }, unsignableHeaders, signableHeaders) => { + const canonical = {}; + for (const headerName of Object.keys(headers).sort()) { + if (headers[headerName] == undefined) { + continue; + } + const canonicalHeaderName = headerName.toLowerCase(); + if (canonicalHeaderName in ALWAYS_UNSIGNABLE_HEADERS || + unsignableHeaders?.has(canonicalHeaderName) || + PROXY_HEADER_PATTERN.test(canonicalHeaderName) || + SEC_HEADER_PATTERN.test(canonicalHeaderName)) { + if (!signableHeaders || (signableHeaders && !signableHeaders.has(canonicalHeaderName))) { + continue; + } + } + canonical[canonicalHeaderName] = headers[headerName].trim().replace(/\s+/g, " "); + } + return canonical; +}; + +const getPayloadHash = async ({ headers, body }, hashConstructor) => { + for (const headerName of Object.keys(headers)) { + if (headerName.toLowerCase() === SHA256_HEADER) { + return headers[headerName]; + } + } + if (body == undefined) { + return "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"; + } + else if (typeof body === "string" || ArrayBuffer.isView(body) || isArrayBuffer.isArrayBuffer(body)) { + const hashCtor = new hashConstructor(); + hashCtor.update(utilUtf8.toUint8Array(body)); + return utilHexEncoding.toHex(await hashCtor.digest()); + } + return UNSIGNED_PAYLOAD; +}; + +class HeaderFormatter { + format(headers) { + const chunks = []; + for (const headerName of Object.keys(headers)) { + const bytes = utilUtf8.fromUtf8(headerName); + chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName])); + } + const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0)); + let position = 0; + for (const chunk of chunks) { + out.set(chunk, position); + position += chunk.byteLength; + } + return out; + } + formatHeaderValue(header) { + switch (header.type) { + case "boolean": + return Uint8Array.from([header.value ? 0 : 1]); + case "byte": + return Uint8Array.from([2, header.value]); + case "short": + const shortView = new DataView(new ArrayBuffer(3)); + shortView.setUint8(0, 3); + shortView.setInt16(1, header.value, false); + return new Uint8Array(shortView.buffer); + case "integer": + const intView = new DataView(new ArrayBuffer(5)); + intView.setUint8(0, 4); + intView.setInt32(1, header.value, false); + return new Uint8Array(intView.buffer); + case "long": + const longBytes = new Uint8Array(9); + longBytes[0] = 5; + longBytes.set(header.value.bytes, 1); + return longBytes; + case "binary": + const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength)); + binView.setUint8(0, 6); + binView.setUint16(1, header.value.byteLength, false); + const binBytes = new Uint8Array(binView.buffer); + binBytes.set(header.value, 3); + return binBytes; + case "string": + const utf8Bytes = utilUtf8.fromUtf8(header.value); + const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength)); + strView.setUint8(0, 7); + strView.setUint16(1, utf8Bytes.byteLength, false); + const strBytes = new Uint8Array(strView.buffer); + strBytes.set(utf8Bytes, 3); + return strBytes; + case "timestamp": + const tsBytes = new Uint8Array(9); + tsBytes[0] = 8; + tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1); + return tsBytes; + case "uuid": + if (!UUID_PATTERN.test(header.value)) { + throw new Error(`Invalid UUID received: ${header.value}`); + } + const uuidBytes = new Uint8Array(17); + uuidBytes[0] = 9; + uuidBytes.set(utilHexEncoding.fromHex(header.value.replace(/\-/g, "")), 1); + return uuidBytes; + } + } +} +const UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/; +class Int64 { + bytes; + constructor(bytes) { + this.bytes = bytes; + if (bytes.byteLength !== 8) { + throw new Error("Int64 buffers must be exactly 8 bytes"); + } + } + static fromNumber(number) { + if (number > 9_223_372_036_854_775_807 || number < -9223372036854776e3) { + throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`); + } + const bytes = new Uint8Array(8); + for (let i = 7, remaining = Math.abs(Math.round(number)); i > -1 && remaining > 0; i--, remaining /= 256) { + bytes[i] = remaining; + } + if (number < 0) { + negate(bytes); + } + return new Int64(bytes); + } + valueOf() { + const bytes = this.bytes.slice(0); + const negative = bytes[0] & 0b10000000; + if (negative) { + negate(bytes); + } + return parseInt(utilHexEncoding.toHex(bytes), 16) * (negative ? -1 : 1); + } + toString() { + return String(this.valueOf()); + } +} +function negate(bytes) { + for (let i = 0; i < 8; i++) { + bytes[i] ^= 0xff; + } + for (let i = 7; i > -1; i--) { + bytes[i]++; + if (bytes[i] !== 0) + break; + } +} + +const hasHeader = (soughtHeader, headers) => { + soughtHeader = soughtHeader.toLowerCase(); + for (const headerName of Object.keys(headers)) { + if (soughtHeader === headerName.toLowerCase()) { + return true; + } + } + return false; +}; + +const moveHeadersToQuery = (request, options = {}) => { + const { headers, query = {} } = protocolHttp.HttpRequest.clone(request); + for (const name of Object.keys(headers)) { + const lname = name.toLowerCase(); + if ((lname.slice(0, 6) === "x-amz-" && !options.unhoistableHeaders?.has(lname)) || + options.hoistableHeaders?.has(lname)) { + query[name] = headers[name]; + delete headers[name]; + } + } + return { + ...request, + headers, + query, + }; +}; + +const prepareRequest = (request) => { + request = protocolHttp.HttpRequest.clone(request); + for (const headerName of Object.keys(request.headers)) { + if (GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) { + delete request.headers[headerName]; + } + } + return request; +}; + +const getCanonicalQuery = ({ query = {} }) => { + const keys = []; + const serialized = {}; + for (const key of Object.keys(query)) { + if (key.toLowerCase() === SIGNATURE_HEADER) { + continue; + } + const encodedKey = utilUriEscape.escapeUri(key); + keys.push(encodedKey); + const value = query[key]; + if (typeof value === "string") { + serialized[encodedKey] = `${encodedKey}=${utilUriEscape.escapeUri(value)}`; + } + else if (Array.isArray(value)) { + serialized[encodedKey] = value + .slice(0) + .reduce((encoded, value) => encoded.concat([`${encodedKey}=${utilUriEscape.escapeUri(value)}`]), []) + .sort() + .join("&"); + } + } + return keys + .sort() + .map((key) => serialized[key]) + .filter((serialized) => serialized) + .join("&"); +}; + +const iso8601 = (time) => toDate(time) + .toISOString() + .replace(/\.\d{3}Z$/, "Z"); +const toDate = (time) => { + if (typeof time === "number") { + return new Date(time * 1000); + } + if (typeof time === "string") { + if (Number(time)) { + return new Date(Number(time) * 1000); + } + return new Date(time); + } + return time; +}; + +class SignatureV4Base { + service; + regionProvider; + credentialProvider; + sha256; + uriEscapePath; + applyChecksum; + constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true, }) { + this.service = service; + this.sha256 = sha256; + this.uriEscapePath = uriEscapePath; + this.applyChecksum = typeof applyChecksum === "boolean" ? applyChecksum : true; + this.regionProvider = utilMiddleware.normalizeProvider(region); + this.credentialProvider = utilMiddleware.normalizeProvider(credentials); + } + createCanonicalRequest(request, canonicalHeaders, payloadHash) { + const sortedHeaders = Object.keys(canonicalHeaders).sort(); + return `${request.method} +${this.getCanonicalPath(request)} +${getCanonicalQuery(request)} +${sortedHeaders.map((name) => `${name}:${canonicalHeaders[name]}`).join("\n")} + +${sortedHeaders.join(";")} +${payloadHash}`; + } + async createStringToSign(longDate, credentialScope, canonicalRequest, algorithmIdentifier) { + const hash = new this.sha256(); + hash.update(utilUtf8.toUint8Array(canonicalRequest)); + const hashedRequest = await hash.digest(); + return `${algorithmIdentifier} +${longDate} +${credentialScope} +${utilHexEncoding.toHex(hashedRequest)}`; + } + getCanonicalPath({ path }) { + if (this.uriEscapePath) { + const normalizedPathSegments = []; + for (const pathSegment of path.split("/")) { + if (pathSegment?.length === 0) + continue; + if (pathSegment === ".") + continue; + if (pathSegment === "..") { + normalizedPathSegments.pop(); + } + else { + normalizedPathSegments.push(pathSegment); + } + } + const normalizedPath = `${path?.startsWith("/") ? "/" : ""}${normalizedPathSegments.join("/")}${normalizedPathSegments.length > 0 && path?.endsWith("/") ? "/" : ""}`; + const doubleEncoded = utilUriEscape.escapeUri(normalizedPath); + return doubleEncoded.replace(/%2F/g, "/"); + } + return path; + } + validateResolvedCredentials(credentials) { + if (typeof credentials !== "object" || + typeof credentials.accessKeyId !== "string" || + typeof credentials.secretAccessKey !== "string") { + throw new Error("Resolved credential object is not valid"); + } + } + formatDate(now) { + const longDate = iso8601(now).replace(/[\-:]/g, ""); + return { + longDate, + shortDate: longDate.slice(0, 8), + }; + } + getCanonicalHeaderList(headers) { + return Object.keys(headers).sort().join(";"); + } +} + +class SignatureV4 extends SignatureV4Base { + headerFormatter = new HeaderFormatter(); + constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true, }) { + super({ + applyChecksum, + credentials, + region, + service, + sha256, + uriEscapePath, + }); + } + async presign(originalRequest, options = {}) { + const { signingDate = new Date(), expiresIn = 3600, unsignableHeaders, unhoistableHeaders, signableHeaders, hoistableHeaders, signingRegion, signingService, } = options; + const credentials = await this.credentialProvider(); + this.validateResolvedCredentials(credentials); + const region = signingRegion ?? (await this.regionProvider()); + const { longDate, shortDate } = this.formatDate(signingDate); + if (expiresIn > MAX_PRESIGNED_TTL) { + return Promise.reject("Signature version 4 presigned URLs" + " must have an expiration date less than one week in" + " the future"); + } + const scope = createScope(shortDate, region, signingService ?? this.service); + const request = moveHeadersToQuery(prepareRequest(originalRequest), { unhoistableHeaders, hoistableHeaders }); + if (credentials.sessionToken) { + request.query[TOKEN_QUERY_PARAM] = credentials.sessionToken; + } + request.query[ALGORITHM_QUERY_PARAM] = ALGORITHM_IDENTIFIER; + request.query[CREDENTIAL_QUERY_PARAM] = `${credentials.accessKeyId}/${scope}`; + request.query[AMZ_DATE_QUERY_PARAM] = longDate; + request.query[EXPIRES_QUERY_PARAM] = expiresIn.toString(10); + const canonicalHeaders = getCanonicalHeaders(request, unsignableHeaders, signableHeaders); + request.query[SIGNED_HEADERS_QUERY_PARAM] = this.getCanonicalHeaderList(canonicalHeaders); + request.query[SIGNATURE_QUERY_PARAM] = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request, canonicalHeaders, await getPayloadHash(originalRequest, this.sha256))); + return request; + } + async sign(toSign, options) { + if (typeof toSign === "string") { + return this.signString(toSign, options); + } + else if (toSign.headers && toSign.payload) { + return this.signEvent(toSign, options); + } + else if (toSign.message) { + return this.signMessage(toSign, options); + } + else { + return this.signRequest(toSign, options); + } + } + async signEvent({ headers, payload }, { signingDate = new Date(), priorSignature, signingRegion, signingService }) { + const region = signingRegion ?? (await this.regionProvider()); + const { shortDate, longDate } = this.formatDate(signingDate); + const scope = createScope(shortDate, region, signingService ?? this.service); + const hashedPayload = await getPayloadHash({ headers: {}, body: payload }, this.sha256); + const hash = new this.sha256(); + hash.update(headers); + const hashedHeaders = utilHexEncoding.toHex(await hash.digest()); + const stringToSign = [ + EVENT_ALGORITHM_IDENTIFIER, + longDate, + scope, + priorSignature, + hashedHeaders, + hashedPayload, + ].join("\n"); + return this.signString(stringToSign, { signingDate, signingRegion: region, signingService }); + } + async signMessage(signableMessage, { signingDate = new Date(), signingRegion, signingService }) { + const promise = this.signEvent({ + headers: this.headerFormatter.format(signableMessage.message.headers), + payload: signableMessage.message.body, + }, { + signingDate, + signingRegion, + signingService, + priorSignature: signableMessage.priorSignature, + }); + return promise.then((signature) => { + return { message: signableMessage.message, signature }; + }); + } + async signString(stringToSign, { signingDate = new Date(), signingRegion, signingService } = {}) { + const credentials = await this.credentialProvider(); + this.validateResolvedCredentials(credentials); + const region = signingRegion ?? (await this.regionProvider()); + const { shortDate } = this.formatDate(signingDate); + const hash = new this.sha256(await this.getSigningKey(credentials, region, shortDate, signingService)); + hash.update(utilUtf8.toUint8Array(stringToSign)); + return utilHexEncoding.toHex(await hash.digest()); + } + async signRequest(requestToSign, { signingDate = new Date(), signableHeaders, unsignableHeaders, signingRegion, signingService, } = {}) { + const credentials = await this.credentialProvider(); + this.validateResolvedCredentials(credentials); + const region = signingRegion ?? (await this.regionProvider()); + const request = prepareRequest(requestToSign); + const { longDate, shortDate } = this.formatDate(signingDate); + const scope = createScope(shortDate, region, signingService ?? this.service); + request.headers[AMZ_DATE_HEADER] = longDate; + if (credentials.sessionToken) { + request.headers[TOKEN_HEADER] = credentials.sessionToken; + } + const payloadHash = await getPayloadHash(request, this.sha256); + if (!hasHeader(SHA256_HEADER, request.headers) && this.applyChecksum) { + request.headers[SHA256_HEADER] = payloadHash; + } + const canonicalHeaders = getCanonicalHeaders(request, unsignableHeaders, signableHeaders); + const signature = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request, canonicalHeaders, payloadHash)); + request.headers[AUTH_HEADER] = + `${ALGORITHM_IDENTIFIER} ` + + `Credential=${credentials.accessKeyId}/${scope}, ` + + `SignedHeaders=${this.getCanonicalHeaderList(canonicalHeaders)}, ` + + `Signature=${signature}`; + return request; + } + async getSignature(longDate, credentialScope, keyPromise, canonicalRequest) { + const stringToSign = await this.createStringToSign(longDate, credentialScope, canonicalRequest, ALGORITHM_IDENTIFIER); + const hash = new this.sha256(await keyPromise); + hash.update(utilUtf8.toUint8Array(stringToSign)); + return utilHexEncoding.toHex(await hash.digest()); + } + getSigningKey(credentials, region, shortDate, service) { + return getSigningKey(this.sha256, credentials, shortDate, region, service || this.service); + } +} + +const signatureV4aContainer = { + SignatureV4a: null, +}; + +exports.ALGORITHM_IDENTIFIER = ALGORITHM_IDENTIFIER; +exports.ALGORITHM_IDENTIFIER_V4A = ALGORITHM_IDENTIFIER_V4A; +exports.ALGORITHM_QUERY_PARAM = ALGORITHM_QUERY_PARAM; +exports.ALWAYS_UNSIGNABLE_HEADERS = ALWAYS_UNSIGNABLE_HEADERS; +exports.AMZ_DATE_HEADER = AMZ_DATE_HEADER; +exports.AMZ_DATE_QUERY_PARAM = AMZ_DATE_QUERY_PARAM; +exports.AUTH_HEADER = AUTH_HEADER; +exports.CREDENTIAL_QUERY_PARAM = CREDENTIAL_QUERY_PARAM; +exports.DATE_HEADER = DATE_HEADER; +exports.EVENT_ALGORITHM_IDENTIFIER = EVENT_ALGORITHM_IDENTIFIER; +exports.EXPIRES_QUERY_PARAM = EXPIRES_QUERY_PARAM; +exports.GENERATED_HEADERS = GENERATED_HEADERS; +exports.HOST_HEADER = HOST_HEADER; +exports.KEY_TYPE_IDENTIFIER = KEY_TYPE_IDENTIFIER; +exports.MAX_CACHE_SIZE = MAX_CACHE_SIZE; +exports.MAX_PRESIGNED_TTL = MAX_PRESIGNED_TTL; +exports.PROXY_HEADER_PATTERN = PROXY_HEADER_PATTERN; +exports.REGION_SET_PARAM = REGION_SET_PARAM; +exports.SEC_HEADER_PATTERN = SEC_HEADER_PATTERN; +exports.SHA256_HEADER = SHA256_HEADER; +exports.SIGNATURE_HEADER = SIGNATURE_HEADER; +exports.SIGNATURE_QUERY_PARAM = SIGNATURE_QUERY_PARAM; +exports.SIGNED_HEADERS_QUERY_PARAM = SIGNED_HEADERS_QUERY_PARAM; +exports.SignatureV4 = SignatureV4; +exports.SignatureV4Base = SignatureV4Base; +exports.TOKEN_HEADER = TOKEN_HEADER; +exports.TOKEN_QUERY_PARAM = TOKEN_QUERY_PARAM; +exports.UNSIGNABLE_PATTERNS = UNSIGNABLE_PATTERNS; +exports.UNSIGNED_PAYLOAD = UNSIGNED_PAYLOAD; +exports.clearCredentialCache = clearCredentialCache; +exports.createScope = createScope; +exports.getCanonicalHeaders = getCanonicalHeaders; +exports.getCanonicalQuery = getCanonicalQuery; +exports.getPayloadHash = getPayloadHash; +exports.getSigningKey = getSigningKey; +exports.hasHeader = hasHeader; +exports.moveHeadersToQuery = moveHeadersToQuery; +exports.prepareRequest = prepareRequest; +exports.signatureV4aContainer = signatureV4aContainer; diff --git a/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js b/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js new file mode 100644 index 0000000..936012b --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js @@ -0,0 +1,126 @@ +import { fromHex, toHex } from "@smithy/util-hex-encoding"; +import { fromUtf8 } from "@smithy/util-utf8"; +export class HeaderFormatter { + format(headers) { + const chunks = []; + for (const headerName of Object.keys(headers)) { + const bytes = fromUtf8(headerName); + chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName])); + } + const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0)); + let position = 0; + for (const chunk of chunks) { + out.set(chunk, position); + position += chunk.byteLength; + } + return out; + } + formatHeaderValue(header) { + switch (header.type) { + case "boolean": + return Uint8Array.from([header.value ? 0 : 1]); + case "byte": + return Uint8Array.from([2, header.value]); + case "short": + const shortView = new DataView(new ArrayBuffer(3)); + shortView.setUint8(0, 3); + shortView.setInt16(1, header.value, false); + return new Uint8Array(shortView.buffer); + case "integer": + const intView = new DataView(new ArrayBuffer(5)); + intView.setUint8(0, 4); + intView.setInt32(1, header.value, false); + return new Uint8Array(intView.buffer); + case "long": + const longBytes = new Uint8Array(9); + longBytes[0] = 5; + longBytes.set(header.value.bytes, 1); + return longBytes; + case "binary": + const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength)); + binView.setUint8(0, 6); + binView.setUint16(1, header.value.byteLength, false); + const binBytes = new Uint8Array(binView.buffer); + binBytes.set(header.value, 3); + return binBytes; + case "string": + const utf8Bytes = fromUtf8(header.value); + const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength)); + strView.setUint8(0, 7); + strView.setUint16(1, utf8Bytes.byteLength, false); + const strBytes = new Uint8Array(strView.buffer); + strBytes.set(utf8Bytes, 3); + return strBytes; + case "timestamp": + const tsBytes = new Uint8Array(9); + tsBytes[0] = 8; + tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1); + return tsBytes; + case "uuid": + if (!UUID_PATTERN.test(header.value)) { + throw new Error(`Invalid UUID received: ${header.value}`); + } + const uuidBytes = new Uint8Array(17); + uuidBytes[0] = 9; + uuidBytes.set(fromHex(header.value.replace(/\-/g, "")), 1); + return uuidBytes; + } + } +} +var HEADER_VALUE_TYPE; +(function (HEADER_VALUE_TYPE) { + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["boolTrue"] = 0] = "boolTrue"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["boolFalse"] = 1] = "boolFalse"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["byte"] = 2] = "byte"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["short"] = 3] = "short"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["integer"] = 4] = "integer"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["long"] = 5] = "long"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["byteArray"] = 6] = "byteArray"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["string"] = 7] = "string"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["timestamp"] = 8] = "timestamp"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["uuid"] = 9] = "uuid"; +})(HEADER_VALUE_TYPE || (HEADER_VALUE_TYPE = {})); +const UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/; +export class Int64 { + bytes; + constructor(bytes) { + this.bytes = bytes; + if (bytes.byteLength !== 8) { + throw new Error("Int64 buffers must be exactly 8 bytes"); + } + } + static fromNumber(number) { + if (number > 9_223_372_036_854_775_807 || number < -9_223_372_036_854_775_808) { + throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`); + } + const bytes = new Uint8Array(8); + for (let i = 7, remaining = Math.abs(Math.round(number)); i > -1 && remaining > 0; i--, remaining /= 256) { + bytes[i] = remaining; + } + if (number < 0) { + negate(bytes); + } + return new Int64(bytes); + } + valueOf() { + const bytes = this.bytes.slice(0); + const negative = bytes[0] & 0b10000000; + if (negative) { + negate(bytes); + } + return parseInt(toHex(bytes), 16) * (negative ? -1 : 1); + } + toString() { + return String(this.valueOf()); + } +} +function negate(bytes) { + for (let i = 0; i < 8; i++) { + bytes[i] ^= 0xff; + } + for (let i = 7; i > -1; i--) { + bytes[i]++; + if (bytes[i] !== 0) + break; + } +} diff --git a/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js b/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js new file mode 100644 index 0000000..3e874cf --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js @@ -0,0 +1,135 @@ +import { toHex } from "@smithy/util-hex-encoding"; +import { toUint8Array } from "@smithy/util-utf8"; +import { ALGORITHM_IDENTIFIER, ALGORITHM_QUERY_PARAM, AMZ_DATE_HEADER, AMZ_DATE_QUERY_PARAM, AUTH_HEADER, CREDENTIAL_QUERY_PARAM, EVENT_ALGORITHM_IDENTIFIER, EXPIRES_QUERY_PARAM, MAX_PRESIGNED_TTL, SHA256_HEADER, SIGNATURE_QUERY_PARAM, SIGNED_HEADERS_QUERY_PARAM, TOKEN_HEADER, TOKEN_QUERY_PARAM, } from "./constants"; +import { createScope, getSigningKey } from "./credentialDerivation"; +import { getCanonicalHeaders } from "./getCanonicalHeaders"; +import { getPayloadHash } from "./getPayloadHash"; +import { HeaderFormatter } from "./HeaderFormatter"; +import { hasHeader } from "./headerUtil"; +import { moveHeadersToQuery } from "./moveHeadersToQuery"; +import { prepareRequest } from "./prepareRequest"; +import { SignatureV4Base } from "./SignatureV4Base"; +export class SignatureV4 extends SignatureV4Base { + headerFormatter = new HeaderFormatter(); + constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true, }) { + super({ + applyChecksum, + credentials, + region, + service, + sha256, + uriEscapePath, + }); + } + async presign(originalRequest, options = {}) { + const { signingDate = new Date(), expiresIn = 3600, unsignableHeaders, unhoistableHeaders, signableHeaders, hoistableHeaders, signingRegion, signingService, } = options; + const credentials = await this.credentialProvider(); + this.validateResolvedCredentials(credentials); + const region = signingRegion ?? (await this.regionProvider()); + const { longDate, shortDate } = this.formatDate(signingDate); + if (expiresIn > MAX_PRESIGNED_TTL) { + return Promise.reject("Signature version 4 presigned URLs" + " must have an expiration date less than one week in" + " the future"); + } + const scope = createScope(shortDate, region, signingService ?? this.service); + const request = moveHeadersToQuery(prepareRequest(originalRequest), { unhoistableHeaders, hoistableHeaders }); + if (credentials.sessionToken) { + request.query[TOKEN_QUERY_PARAM] = credentials.sessionToken; + } + request.query[ALGORITHM_QUERY_PARAM] = ALGORITHM_IDENTIFIER; + request.query[CREDENTIAL_QUERY_PARAM] = `${credentials.accessKeyId}/${scope}`; + request.query[AMZ_DATE_QUERY_PARAM] = longDate; + request.query[EXPIRES_QUERY_PARAM] = expiresIn.toString(10); + const canonicalHeaders = getCanonicalHeaders(request, unsignableHeaders, signableHeaders); + request.query[SIGNED_HEADERS_QUERY_PARAM] = this.getCanonicalHeaderList(canonicalHeaders); + request.query[SIGNATURE_QUERY_PARAM] = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request, canonicalHeaders, await getPayloadHash(originalRequest, this.sha256))); + return request; + } + async sign(toSign, options) { + if (typeof toSign === "string") { + return this.signString(toSign, options); + } + else if (toSign.headers && toSign.payload) { + return this.signEvent(toSign, options); + } + else if (toSign.message) { + return this.signMessage(toSign, options); + } + else { + return this.signRequest(toSign, options); + } + } + async signEvent({ headers, payload }, { signingDate = new Date(), priorSignature, signingRegion, signingService }) { + const region = signingRegion ?? (await this.regionProvider()); + const { shortDate, longDate } = this.formatDate(signingDate); + const scope = createScope(shortDate, region, signingService ?? this.service); + const hashedPayload = await getPayloadHash({ headers: {}, body: payload }, this.sha256); + const hash = new this.sha256(); + hash.update(headers); + const hashedHeaders = toHex(await hash.digest()); + const stringToSign = [ + EVENT_ALGORITHM_IDENTIFIER, + longDate, + scope, + priorSignature, + hashedHeaders, + hashedPayload, + ].join("\n"); + return this.signString(stringToSign, { signingDate, signingRegion: region, signingService }); + } + async signMessage(signableMessage, { signingDate = new Date(), signingRegion, signingService }) { + const promise = this.signEvent({ + headers: this.headerFormatter.format(signableMessage.message.headers), + payload: signableMessage.message.body, + }, { + signingDate, + signingRegion, + signingService, + priorSignature: signableMessage.priorSignature, + }); + return promise.then((signature) => { + return { message: signableMessage.message, signature }; + }); + } + async signString(stringToSign, { signingDate = new Date(), signingRegion, signingService } = {}) { + const credentials = await this.credentialProvider(); + this.validateResolvedCredentials(credentials); + const region = signingRegion ?? (await this.regionProvider()); + const { shortDate } = this.formatDate(signingDate); + const hash = new this.sha256(await this.getSigningKey(credentials, region, shortDate, signingService)); + hash.update(toUint8Array(stringToSign)); + return toHex(await hash.digest()); + } + async signRequest(requestToSign, { signingDate = new Date(), signableHeaders, unsignableHeaders, signingRegion, signingService, } = {}) { + const credentials = await this.credentialProvider(); + this.validateResolvedCredentials(credentials); + const region = signingRegion ?? (await this.regionProvider()); + const request = prepareRequest(requestToSign); + const { longDate, shortDate } = this.formatDate(signingDate); + const scope = createScope(shortDate, region, signingService ?? this.service); + request.headers[AMZ_DATE_HEADER] = longDate; + if (credentials.sessionToken) { + request.headers[TOKEN_HEADER] = credentials.sessionToken; + } + const payloadHash = await getPayloadHash(request, this.sha256); + if (!hasHeader(SHA256_HEADER, request.headers) && this.applyChecksum) { + request.headers[SHA256_HEADER] = payloadHash; + } + const canonicalHeaders = getCanonicalHeaders(request, unsignableHeaders, signableHeaders); + const signature = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request, canonicalHeaders, payloadHash)); + request.headers[AUTH_HEADER] = + `${ALGORITHM_IDENTIFIER} ` + + `Credential=${credentials.accessKeyId}/${scope}, ` + + `SignedHeaders=${this.getCanonicalHeaderList(canonicalHeaders)}, ` + + `Signature=${signature}`; + return request; + } + async getSignature(longDate, credentialScope, keyPromise, canonicalRequest) { + const stringToSign = await this.createStringToSign(longDate, credentialScope, canonicalRequest, ALGORITHM_IDENTIFIER); + const hash = new this.sha256(await keyPromise); + hash.update(toUint8Array(stringToSign)); + return toHex(await hash.digest()); + } + getSigningKey(credentials, region, shortDate, service) { + return getSigningKey(this.sha256, credentials, shortDate, region, service || this.service); + } +} diff --git a/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js b/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js new file mode 100644 index 0000000..a23d95b --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js @@ -0,0 +1,79 @@ +import { toHex } from "@smithy/util-hex-encoding"; +import { normalizeProvider } from "@smithy/util-middleware"; +import { escapeUri } from "@smithy/util-uri-escape"; +import { toUint8Array } from "@smithy/util-utf8"; +import { getCanonicalQuery } from "./getCanonicalQuery"; +import { iso8601 } from "./utilDate"; +export class SignatureV4Base { + service; + regionProvider; + credentialProvider; + sha256; + uriEscapePath; + applyChecksum; + constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true, }) { + this.service = service; + this.sha256 = sha256; + this.uriEscapePath = uriEscapePath; + this.applyChecksum = typeof applyChecksum === "boolean" ? applyChecksum : true; + this.regionProvider = normalizeProvider(region); + this.credentialProvider = normalizeProvider(credentials); + } + createCanonicalRequest(request, canonicalHeaders, payloadHash) { + const sortedHeaders = Object.keys(canonicalHeaders).sort(); + return `${request.method} +${this.getCanonicalPath(request)} +${getCanonicalQuery(request)} +${sortedHeaders.map((name) => `${name}:${canonicalHeaders[name]}`).join("\n")} + +${sortedHeaders.join(";")} +${payloadHash}`; + } + async createStringToSign(longDate, credentialScope, canonicalRequest, algorithmIdentifier) { + const hash = new this.sha256(); + hash.update(toUint8Array(canonicalRequest)); + const hashedRequest = await hash.digest(); + return `${algorithmIdentifier} +${longDate} +${credentialScope} +${toHex(hashedRequest)}`; + } + getCanonicalPath({ path }) { + if (this.uriEscapePath) { + const normalizedPathSegments = []; + for (const pathSegment of path.split("/")) { + if (pathSegment?.length === 0) + continue; + if (pathSegment === ".") + continue; + if (pathSegment === "..") { + normalizedPathSegments.pop(); + } + else { + normalizedPathSegments.push(pathSegment); + } + } + const normalizedPath = `${path?.startsWith("/") ? "/" : ""}${normalizedPathSegments.join("/")}${normalizedPathSegments.length > 0 && path?.endsWith("/") ? "/" : ""}`; + const doubleEncoded = escapeUri(normalizedPath); + return doubleEncoded.replace(/%2F/g, "/"); + } + return path; + } + validateResolvedCredentials(credentials) { + if (typeof credentials !== "object" || + typeof credentials.accessKeyId !== "string" || + typeof credentials.secretAccessKey !== "string") { + throw new Error("Resolved credential object is not valid"); + } + } + formatDate(now) { + const longDate = iso8601(now).replace(/[\-:]/g, ""); + return { + longDate, + shortDate: longDate.slice(0, 8), + }; + } + getCanonicalHeaderList(headers) { + return Object.keys(headers).sort().join(";"); + } +} diff --git a/node_modules/@smithy/signature-v4/dist-es/constants.js b/node_modules/@smithy/signature-v4/dist-es/constants.js new file mode 100644 index 0000000..602728a --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-es/constants.js @@ -0,0 +1,43 @@ +export const ALGORITHM_QUERY_PARAM = "X-Amz-Algorithm"; +export const CREDENTIAL_QUERY_PARAM = "X-Amz-Credential"; +export const AMZ_DATE_QUERY_PARAM = "X-Amz-Date"; +export const SIGNED_HEADERS_QUERY_PARAM = "X-Amz-SignedHeaders"; +export const EXPIRES_QUERY_PARAM = "X-Amz-Expires"; +export const SIGNATURE_QUERY_PARAM = "X-Amz-Signature"; +export const TOKEN_QUERY_PARAM = "X-Amz-Security-Token"; +export const REGION_SET_PARAM = "X-Amz-Region-Set"; +export const AUTH_HEADER = "authorization"; +export const AMZ_DATE_HEADER = AMZ_DATE_QUERY_PARAM.toLowerCase(); +export const DATE_HEADER = "date"; +export const GENERATED_HEADERS = [AUTH_HEADER, AMZ_DATE_HEADER, DATE_HEADER]; +export const SIGNATURE_HEADER = SIGNATURE_QUERY_PARAM.toLowerCase(); +export const SHA256_HEADER = "x-amz-content-sha256"; +export const TOKEN_HEADER = TOKEN_QUERY_PARAM.toLowerCase(); +export const HOST_HEADER = "host"; +export const ALWAYS_UNSIGNABLE_HEADERS = { + authorization: true, + "cache-control": true, + connection: true, + expect: true, + from: true, + "keep-alive": true, + "max-forwards": true, + pragma: true, + referer: true, + te: true, + trailer: true, + "transfer-encoding": true, + upgrade: true, + "user-agent": true, + "x-amzn-trace-id": true, +}; +export const PROXY_HEADER_PATTERN = /^proxy-/; +export const SEC_HEADER_PATTERN = /^sec-/; +export const UNSIGNABLE_PATTERNS = [/^proxy-/i, /^sec-/i]; +export const ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256"; +export const ALGORITHM_IDENTIFIER_V4A = "AWS4-ECDSA-P256-SHA256"; +export const EVENT_ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256-PAYLOAD"; +export const UNSIGNED_PAYLOAD = "UNSIGNED-PAYLOAD"; +export const MAX_CACHE_SIZE = 50; +export const KEY_TYPE_IDENTIFIER = "aws4_request"; +export const MAX_PRESIGNED_TTL = 60 * 60 * 24 * 7; diff --git a/node_modules/@smithy/signature-v4/dist-es/credentialDerivation.js b/node_modules/@smithy/signature-v4/dist-es/credentialDerivation.js new file mode 100644 index 0000000..b16ab8c --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-es/credentialDerivation.js @@ -0,0 +1,33 @@ +import { toHex } from "@smithy/util-hex-encoding"; +import { toUint8Array } from "@smithy/util-utf8"; +import { KEY_TYPE_IDENTIFIER, MAX_CACHE_SIZE } from "./constants"; +const signingKeyCache = {}; +const cacheQueue = []; +export const createScope = (shortDate, region, service) => `${shortDate}/${region}/${service}/${KEY_TYPE_IDENTIFIER}`; +export const getSigningKey = async (sha256Constructor, credentials, shortDate, region, service) => { + const credsHash = await hmac(sha256Constructor, credentials.secretAccessKey, credentials.accessKeyId); + const cacheKey = `${shortDate}:${region}:${service}:${toHex(credsHash)}:${credentials.sessionToken}`; + if (cacheKey in signingKeyCache) { + return signingKeyCache[cacheKey]; + } + cacheQueue.push(cacheKey); + while (cacheQueue.length > MAX_CACHE_SIZE) { + delete signingKeyCache[cacheQueue.shift()]; + } + let key = `AWS4${credentials.secretAccessKey}`; + for (const signable of [shortDate, region, service, KEY_TYPE_IDENTIFIER]) { + key = await hmac(sha256Constructor, key, signable); + } + return (signingKeyCache[cacheKey] = key); +}; +export const clearCredentialCache = () => { + cacheQueue.length = 0; + Object.keys(signingKeyCache).forEach((cacheKey) => { + delete signingKeyCache[cacheKey]; + }); +}; +const hmac = (ctor, secret, data) => { + const hash = new ctor(secret); + hash.update(toUint8Array(data)); + return hash.digest(); +}; diff --git a/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js b/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js new file mode 100644 index 0000000..3321125 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js @@ -0,0 +1,20 @@ +import { ALWAYS_UNSIGNABLE_HEADERS, PROXY_HEADER_PATTERN, SEC_HEADER_PATTERN } from "./constants"; +export const getCanonicalHeaders = ({ headers }, unsignableHeaders, signableHeaders) => { + const canonical = {}; + for (const headerName of Object.keys(headers).sort()) { + if (headers[headerName] == undefined) { + continue; + } + const canonicalHeaderName = headerName.toLowerCase(); + if (canonicalHeaderName in ALWAYS_UNSIGNABLE_HEADERS || + unsignableHeaders?.has(canonicalHeaderName) || + PROXY_HEADER_PATTERN.test(canonicalHeaderName) || + SEC_HEADER_PATTERN.test(canonicalHeaderName)) { + if (!signableHeaders || (signableHeaders && !signableHeaders.has(canonicalHeaderName))) { + continue; + } + } + canonical[canonicalHeaderName] = headers[headerName].trim().replace(/\s+/g, " "); + } + return canonical; +}; diff --git a/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js b/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js new file mode 100644 index 0000000..0623f1a --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js @@ -0,0 +1,29 @@ +import { escapeUri } from "@smithy/util-uri-escape"; +import { SIGNATURE_HEADER } from "./constants"; +export const getCanonicalQuery = ({ query = {} }) => { + const keys = []; + const serialized = {}; + for (const key of Object.keys(query)) { + if (key.toLowerCase() === SIGNATURE_HEADER) { + continue; + } + const encodedKey = escapeUri(key); + keys.push(encodedKey); + const value = query[key]; + if (typeof value === "string") { + serialized[encodedKey] = `${encodedKey}=${escapeUri(value)}`; + } + else if (Array.isArray(value)) { + serialized[encodedKey] = value + .slice(0) + .reduce((encoded, value) => encoded.concat([`${encodedKey}=${escapeUri(value)}`]), []) + .sort() + .join("&"); + } + } + return keys + .sort() + .map((key) => serialized[key]) + .filter((serialized) => serialized) + .join("&"); +}; diff --git a/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js b/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js new file mode 100644 index 0000000..cba165c --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js @@ -0,0 +1,20 @@ +import { isArrayBuffer } from "@smithy/is-array-buffer"; +import { toHex } from "@smithy/util-hex-encoding"; +import { toUint8Array } from "@smithy/util-utf8"; +import { SHA256_HEADER, UNSIGNED_PAYLOAD } from "./constants"; +export const getPayloadHash = async ({ headers, body }, hashConstructor) => { + for (const headerName of Object.keys(headers)) { + if (headerName.toLowerCase() === SHA256_HEADER) { + return headers[headerName]; + } + } + if (body == undefined) { + return "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"; + } + else if (typeof body === "string" || ArrayBuffer.isView(body) || isArrayBuffer(body)) { + const hashCtor = new hashConstructor(); + hashCtor.update(toUint8Array(body)); + return toHex(await hashCtor.digest()); + } + return UNSIGNED_PAYLOAD; +}; diff --git a/node_modules/@smithy/signature-v4/dist-es/headerUtil.js b/node_modules/@smithy/signature-v4/dist-es/headerUtil.js new file mode 100644 index 0000000..e502cbb --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-es/headerUtil.js @@ -0,0 +1,26 @@ +export const hasHeader = (soughtHeader, headers) => { + soughtHeader = soughtHeader.toLowerCase(); + for (const headerName of Object.keys(headers)) { + if (soughtHeader === headerName.toLowerCase()) { + return true; + } + } + return false; +}; +export const getHeaderValue = (soughtHeader, headers) => { + soughtHeader = soughtHeader.toLowerCase(); + for (const headerName of Object.keys(headers)) { + if (soughtHeader === headerName.toLowerCase()) { + return headers[headerName]; + } + } + return undefined; +}; +export const deleteHeader = (soughtHeader, headers) => { + soughtHeader = soughtHeader.toLowerCase(); + for (const headerName of Object.keys(headers)) { + if (soughtHeader === headerName.toLowerCase()) { + delete headers[headerName]; + } + } +}; diff --git a/node_modules/@smithy/signature-v4/dist-es/index.js b/node_modules/@smithy/signature-v4/dist-es/index.js new file mode 100644 index 0000000..062752d --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-es/index.js @@ -0,0 +1,11 @@ +export * from "./SignatureV4"; +export * from "./constants"; +export { getCanonicalHeaders } from "./getCanonicalHeaders"; +export { getCanonicalQuery } from "./getCanonicalQuery"; +export { getPayloadHash } from "./getPayloadHash"; +export { moveHeadersToQuery } from "./moveHeadersToQuery"; +export { prepareRequest } from "./prepareRequest"; +export * from "./credentialDerivation"; +export { SignatureV4Base } from "./SignatureV4Base"; +export { hasHeader } from "./headerUtil"; +export * from "./signature-v4a-container"; diff --git a/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js b/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js new file mode 100644 index 0000000..806703a --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js @@ -0,0 +1,17 @@ +import { HttpRequest } from "@smithy/protocol-http"; +export const moveHeadersToQuery = (request, options = {}) => { + const { headers, query = {} } = HttpRequest.clone(request); + for (const name of Object.keys(headers)) { + const lname = name.toLowerCase(); + if ((lname.slice(0, 6) === "x-amz-" && !options.unhoistableHeaders?.has(lname)) || + options.hoistableHeaders?.has(lname)) { + query[name] = headers[name]; + delete headers[name]; + } + } + return { + ...request, + headers, + query, + }; +}; diff --git a/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js b/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js new file mode 100644 index 0000000..7fe5136 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js @@ -0,0 +1,11 @@ +import { HttpRequest } from "@smithy/protocol-http"; +import { GENERATED_HEADERS } from "./constants"; +export const prepareRequest = (request) => { + request = HttpRequest.clone(request); + for (const headerName of Object.keys(request.headers)) { + if (GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) { + delete request.headers[headerName]; + } + } + return request; +}; diff --git a/node_modules/@smithy/signature-v4/dist-es/signature-v4a-container.js b/node_modules/@smithy/signature-v4/dist-es/signature-v4a-container.js new file mode 100644 index 0000000..a309b0a --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-es/signature-v4a-container.js @@ -0,0 +1,3 @@ +export const signatureV4aContainer = { + SignatureV4a: null, +}; diff --git a/node_modules/@smithy/signature-v4/dist-es/suite.fixture.js b/node_modules/@smithy/signature-v4/dist-es/suite.fixture.js new file mode 100644 index 0000000..bb704a9 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-es/suite.fixture.js @@ -0,0 +1,399 @@ +export const region = "us-east-1"; +export const service = "service"; +export const credentials = { + accessKeyId: "AKIDEXAMPLE", + secretAccessKey: "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY", +}; +export const signingDate = new Date("2015-08-30T12:36:00Z"); +export const requests = [ + { + name: "get-header-key-duplicate", + request: { + protocol: "https:", + method: "GET", + hostname: "example.amazonaws.com", + query: {}, + headers: { + host: "example.amazonaws.com", + "my-header1": "value2,value2,value1", + "x-amz-date": "20150830T123600Z", + }, + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;x-amz-date, Signature=c9d5ea9f3f72853aea855b47ea873832890dbdd183b4468f858259531a5138ea", + }, + { + name: "get-header-value-multiline", + request: { + protocol: "https:", + method: "GET", + hostname: "example.amazonaws.com", + query: {}, + headers: { + host: "example.amazonaws.com", + "my-header1": "value1,value2,value3", + "x-amz-date": "20150830T123600Z", + }, + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;x-amz-date, Signature=ba17b383a53190154eb5fa66a1b836cc297cc0a3d70a5d00705980573d8ff790", + }, + { + name: "get-header-value-order", + request: { + protocol: "https:", + method: "GET", + hostname: "example.amazonaws.com", + query: {}, + headers: { + host: "example.amazonaws.com", + "my-header1": "value4,value1,value3,value2", + "x-amz-date": "20150830T123600Z", + }, + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;x-amz-date, Signature=08c7e5a9acfcfeb3ab6b2185e75ce8b1deb5e634ec47601a50643f830c755c01", + }, + { + name: "get-header-value-trim", + request: { + protocol: "https:", + method: "GET", + hostname: "example.amazonaws.com", + query: {}, + headers: { + host: "example.amazonaws.com", + "my-header1": "value1", + "my-header2": '"a b c"', + "x-amz-date": "20150830T123600Z", + }, + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;my-header2;x-amz-date, Signature=acc3ed3afb60bb290fc8d2dd0098b9911fcaa05412b367055dee359757a9c736", + }, + { + name: "get-unreserved", + request: { + protocol: "https:", + method: "GET", + hostname: "example.amazonaws.com", + query: {}, + headers: { + host: "example.amazonaws.com", + "x-amz-date": "20150830T123600Z", + }, + path: "/-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=07ef7494c76fa4850883e2b006601f940f8a34d404d0cfa977f52a65bbf5f24f", + }, + { + name: "get-utf8", + request: { + protocol: "https:", + method: "GET", + hostname: "example.amazonaws.com", + query: {}, + headers: { + host: "example.amazonaws.com", + "x-amz-date": "20150830T123600Z", + }, + path: "/ሴ", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=8318018e0b0f223aa2bbf98705b62bb787dc9c0e678f255a891fd03141be5d85", + }, + { + name: "get-vanilla", + request: { + protocol: "https:", + method: "GET", + hostname: "example.amazonaws.com", + query: {}, + headers: { + host: "example.amazonaws.com", + "x-amz-date": "20150830T123600Z", + }, + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5fa00fa31553b73ebf1942676e86291e8372ff2a2260956d9b8aae1d763fbf31", + }, + { + name: "get-vanilla-empty-query-key", + request: { + protocol: "https:", + method: "GET", + hostname: "example.amazonaws.com", + query: { + Param1: "value1", + }, + headers: { + host: "example.amazonaws.com", + "x-amz-date": "20150830T123600Z", + }, + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=a67d582fa61cc504c4bae71f336f98b97f1ea3c7a6bfe1b6e45aec72011b9aeb", + }, + { + name: "get-vanilla-query", + request: { + protocol: "https:", + method: "GET", + hostname: "example.amazonaws.com", + query: {}, + headers: { + host: "example.amazonaws.com", + "x-amz-date": "20150830T123600Z", + }, + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5fa00fa31553b73ebf1942676e86291e8372ff2a2260956d9b8aae1d763fbf31", + }, + { + name: "get-vanilla-query-order-key-case", + request: { + protocol: "https:", + method: "GET", + hostname: "example.amazonaws.com", + query: { + Param2: "value2", + Param1: "value1", + }, + headers: { + host: "example.amazonaws.com", + "x-amz-date": "20150830T123600Z", + }, + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=b97d918cfa904a5beff61c982a1b6f458b799221646efd99d3219ec94cdf2500", + }, + { + name: "get-vanilla-query-unreserved", + request: { + protocol: "https:", + method: "GET", + hostname: "example.amazonaws.com", + query: { + "-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz": "-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", + }, + headers: { + host: "example.amazonaws.com", + "x-amz-date": "20150830T123600Z", + }, + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=9c3e54bfcdf0b19771a7f523ee5669cdf59bc7cc0884027167c21bb143a40197", + }, + { + name: "get-vanilla-utf8-query", + request: { + protocol: "https:", + method: "GET", + hostname: "example.amazonaws.com", + query: { + ሴ: "bar", + }, + headers: { + host: "example.amazonaws.com", + "x-amz-date": "20150830T123600Z", + }, + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=2cdec8eed098649ff3a119c94853b13c643bcf08f8b0a1d91e12c9027818dd04", + }, + { + name: "post-header-key-case", + request: { + protocol: "https:", + method: "POST", + hostname: "example.amazonaws.com", + query: {}, + headers: { + host: "example.amazonaws.com", + "x-amz-date": "20150830T123600Z", + }, + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5da7c1a2acd57cee7505fc6676e4e544621c30862966e37dddb68e92efbe5d6b", + }, + { + name: "post-header-key-sort", + request: { + protocol: "https:", + method: "POST", + hostname: "example.amazonaws.com", + query: {}, + headers: { + host: "example.amazonaws.com", + "my-header1": "value1", + "x-amz-date": "20150830T123600Z", + }, + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;x-amz-date, Signature=c5410059b04c1ee005303aed430f6e6645f61f4dc9e1461ec8f8916fdf18852c", + }, + { + name: "post-header-value-case", + request: { + protocol: "https:", + method: "POST", + hostname: "example.amazonaws.com", + query: {}, + headers: { + host: "example.amazonaws.com", + "my-header1": "VALUE1", + "x-amz-date": "20150830T123600Z", + }, + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;x-amz-date, Signature=cdbc9802e29d2942e5e10b5bccfdd67c5f22c7c4e8ae67b53629efa58b974b7d", + }, + { + name: "post-sts-header-after", + request: { + protocol: "https:", + method: "POST", + hostname: "example.amazonaws.com", + query: {}, + headers: { + host: "example.amazonaws.com", + "x-amz-date": "20150830T123600Z", + }, + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5da7c1a2acd57cee7505fc6676e4e544621c30862966e37dddb68e92efbe5d6b", + }, + { + name: "post-sts-header-before", + request: { + protocol: "https:", + method: "POST", + hostname: "example.amazonaws.com", + query: {}, + headers: { + host: "example.amazonaws.com", + "x-amz-date": "20150830T123600Z", + "x-amz-security-token": "AQoDYXdzEPT//////////wEXAMPLEtc764bNrC9SAPBSM22wDOk4x4HIZ8j4FZTwdQWLWsKWHGBuFqwAeMicRXmxfpSPfIeoIYRqTflfKD8YUuwthAx7mSEI/qkPpKPi/kMcGdQrmGdeehM4IC1NtBmUpp2wUE8phUZampKsburEDy0KPkyQDYwT7WZ0wq5VSXDvp75YU9HFvlRd8Tx6q6fE8YQcHNVXAkiY9q6d+xo0rKwT38xVqr7ZD0u0iPPkUL64lIZbqBAz+scqKmlzm8FDrypNC9Yjc8fPOLn9FX9KSYvKTr4rvx3iSIlTJabIQwj2ICCR/oLxBA==", + }, + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date;x-amz-security-token, Signature=85d96828115b5dc0cfc3bd16ad9e210dd772bbebba041836c64533a82be05ead", + }, + { + name: "post-vanilla", + request: { + protocol: "https:", + method: "POST", + hostname: "example.amazonaws.com", + query: {}, + headers: { + host: "example.amazonaws.com", + "x-amz-date": "20150830T123600Z", + }, + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5da7c1a2acd57cee7505fc6676e4e544621c30862966e37dddb68e92efbe5d6b", + }, + { + name: "post-vanilla-empty-query-value", + request: { + protocol: "https:", + method: "POST", + hostname: "example.amazonaws.com", + query: { + Param1: "value1", + }, + headers: { + host: "example.amazonaws.com", + "x-amz-date": "20150830T123600Z", + }, + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=28038455d6de14eafc1f9222cf5aa6f1a96197d7deb8263271d420d138af7f11", + }, + { + name: "post-vanilla-query", + request: { + protocol: "https:", + method: "POST", + hostname: "example.amazonaws.com", + query: { + Param1: "value1", + }, + headers: { + host: "example.amazonaws.com", + "x-amz-date": "20150830T123600Z", + }, + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=28038455d6de14eafc1f9222cf5aa6f1a96197d7deb8263271d420d138af7f11", + }, + { + name: "post-vanilla-query-nonunreserved", + request: { + protocol: "https:", + method: "POST", + hostname: "example.amazonaws.com", + query: { + "@#$%^": "", + "+": '/,?><`";:\\|][{}', + }, + headers: { + host: "example.amazonaws.com", + "x-amz-date": "20150830T123600Z", + }, + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=66c82657c86e26fb25238d0e69f011edc4c6df5ae71119d7cb98ed9b87393c1e", + }, + { + name: "post-vanilla-query-space", + request: { + protocol: "https:", + method: "POST", + hostname: "example.amazonaws.com", + query: { + p: "", + }, + headers: { + host: "example.amazonaws.com", + "x-amz-date": "20150830T123600Z", + }, + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=e71688addb58a26418614085fb730ba3faa623b461c17f48f2fbdb9361b94a9b", + }, + { + name: "post-x-www-form-urlencoded", + request: { + protocol: "https:", + method: "POST", + hostname: "example.amazonaws.com", + query: {}, + headers: { + "content-type": "application/x-www-form-urlencoded", + host: "example.amazonaws.com", + "x-amz-date": "20150830T123600Z", + }, + body: "Param1=value1", + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=ff11897932ad3f4e8b18135d722051e5ac45fc38421b1da7b9d196a0fe09473a", + }, + { + name: "post-x-www-form-urlencoded-parameters", + request: { + protocol: "https:", + method: "POST", + hostname: "example.amazonaws.com", + query: {}, + headers: { + "content-type": "application/x-www-form-urlencoded; charset=utf8", + host: "example.amazonaws.com", + "x-amz-date": "20150830T123600Z", + }, + body: "Param1=value1", + path: "/", + }, + authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=1a72ec8f64bd914b0e42e42607c7fbce7fb2c7465f63e3092b3b0d39fa77a6fe", + }, +]; diff --git a/node_modules/@smithy/signature-v4/dist-es/utilDate.js b/node_modules/@smithy/signature-v4/dist-es/utilDate.js new file mode 100644 index 0000000..4aad623 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-es/utilDate.js @@ -0,0 +1,15 @@ +export const iso8601 = (time) => toDate(time) + .toISOString() + .replace(/\.\d{3}Z$/, "Z"); +export const toDate = (time) => { + if (typeof time === "number") { + return new Date(time * 1000); + } + if (typeof time === "string") { + if (Number(time)) { + return new Date(Number(time) * 1000); + } + return new Date(time); + } + return time; +}; diff --git a/node_modules/@smithy/signature-v4/dist-types/HeaderFormatter.d.ts b/node_modules/@smithy/signature-v4/dist-types/HeaderFormatter.d.ts new file mode 100644 index 0000000..92056a6 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/HeaderFormatter.d.ts @@ -0,0 +1,24 @@ +import type { Int64 as IInt64, MessageHeaders } from "@smithy/types"; +/** + * @internal + * TODO: duplicated from @smithy/eventstream-codec to break large dependency. + * TODO: This should be moved to its own deduped submodule in @smithy/core when submodules are implemented. + */ +export declare class HeaderFormatter { + format(headers: MessageHeaders): Uint8Array; + private formatHeaderValue; +} +/** + * TODO: duplicated from @smithy/eventstream-codec to break large dependency. + * TODO: This should be moved to its own deduped submodule in @smithy/core when submodules are implemented. + */ +export declare class Int64 implements IInt64 { + readonly bytes: Uint8Array; + constructor(bytes: Uint8Array); + static fromNumber(number: number): Int64; + /** + * Called implicitly by infix arithmetic operators. + */ + valueOf(): number; + toString(): string; +} diff --git a/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts b/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts new file mode 100644 index 0000000..2f9cf42 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts @@ -0,0 +1,21 @@ +import type { EventSigner, EventSigningArguments, FormattedEvent, HttpRequest, MessageSigner, RequestPresigner, RequestPresigningArguments, RequestSigner, RequestSigningArguments, SignableMessage, SignedMessage, SigningArguments, StringSigner } from "@smithy/types"; +import type { SignatureV4CryptoInit, SignatureV4Init } from "./SignatureV4Base"; +import { SignatureV4Base } from "./SignatureV4Base"; +/** + * @public + */ +export declare class SignatureV4 extends SignatureV4Base implements RequestPresigner, RequestSigner, StringSigner, EventSigner, MessageSigner { + private readonly headerFormatter; + constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath, }: SignatureV4Init & SignatureV4CryptoInit); + presign(originalRequest: HttpRequest, options?: RequestPresigningArguments): Promise; + sign(stringToSign: string, options?: SigningArguments): Promise; + sign(event: FormattedEvent, options: EventSigningArguments): Promise; + sign(event: SignableMessage, options: SigningArguments): Promise; + sign(requestToSign: HttpRequest, options?: RequestSigningArguments): Promise; + private signEvent; + signMessage(signableMessage: SignableMessage, { signingDate, signingRegion, signingService }: SigningArguments): Promise; + private signString; + private signRequest; + private getSignature; + private getSigningKey; +} diff --git a/node_modules/@smithy/signature-v4/dist-types/SignatureV4Base.d.ts b/node_modules/@smithy/signature-v4/dist-types/SignatureV4Base.d.ts new file mode 100644 index 0000000..99670fd --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/SignatureV4Base.d.ts @@ -0,0 +1,69 @@ +import type { AwsCredentialIdentity, ChecksumConstructor, DateInput, HashConstructor, HeaderBag, HttpRequest, Provider } from "@smithy/types"; +/** + * @public + */ +export interface SignatureV4Init { + /** + * The service signing name. + */ + service: string; + /** + * The region name or a function that returns a promise that will be + * resolved with the region name. + */ + region: string | Provider; + /** + * The credentials with which the request should be signed or a function + * that returns a promise that will be resolved with credentials. + */ + credentials: AwsCredentialIdentity | Provider; + /** + * A constructor function for a hash object that will calculate SHA-256 HMAC + * checksums. + */ + sha256?: ChecksumConstructor | HashConstructor; + /** + * Whether to uri-escape the request URI path as part of computing the + * canonical request string. This is required for every AWS service, except + * Amazon S3, as of late 2017. + * + * @default [true] + */ + uriEscapePath?: boolean; + /** + * Whether to calculate a checksum of the request body and include it as + * either a request header (when signing) or as a query string parameter + * (when presigning). This is required for AWS Glacier and Amazon S3 and optional for + * every other AWS service as of late 2017. + * + * @default [true] + */ + applyChecksum?: boolean; +} +/** + * @public + */ +export interface SignatureV4CryptoInit { + sha256: ChecksumConstructor | HashConstructor; +} +/** + * @internal + */ +export declare abstract class SignatureV4Base { + protected readonly service: string; + protected readonly regionProvider: Provider; + protected readonly credentialProvider: Provider; + protected readonly sha256: ChecksumConstructor | HashConstructor; + private readonly uriEscapePath; + protected readonly applyChecksum: boolean; + protected constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath, }: SignatureV4Init & SignatureV4CryptoInit); + protected createCanonicalRequest(request: HttpRequest, canonicalHeaders: HeaderBag, payloadHash: string): string; + protected createStringToSign(longDate: string, credentialScope: string, canonicalRequest: string, algorithmIdentifier: string): Promise; + private getCanonicalPath; + protected validateResolvedCredentials(credentials: unknown): void; + protected formatDate(now: DateInput): { + longDate: string; + shortDate: string; + }; + protected getCanonicalHeaderList(headers: object): string; +} diff --git a/node_modules/@smithy/signature-v4/dist-types/constants.d.ts b/node_modules/@smithy/signature-v4/dist-types/constants.d.ts new file mode 100644 index 0000000..ea1cfb5 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/constants.d.ts @@ -0,0 +1,43 @@ +export declare const ALGORITHM_QUERY_PARAM = "X-Amz-Algorithm"; +export declare const CREDENTIAL_QUERY_PARAM = "X-Amz-Credential"; +export declare const AMZ_DATE_QUERY_PARAM = "X-Amz-Date"; +export declare const SIGNED_HEADERS_QUERY_PARAM = "X-Amz-SignedHeaders"; +export declare const EXPIRES_QUERY_PARAM = "X-Amz-Expires"; +export declare const SIGNATURE_QUERY_PARAM = "X-Amz-Signature"; +export declare const TOKEN_QUERY_PARAM = "X-Amz-Security-Token"; +export declare const REGION_SET_PARAM = "X-Amz-Region-Set"; +export declare const AUTH_HEADER = "authorization"; +export declare const AMZ_DATE_HEADER: string; +export declare const DATE_HEADER = "date"; +export declare const GENERATED_HEADERS: string[]; +export declare const SIGNATURE_HEADER: string; +export declare const SHA256_HEADER = "x-amz-content-sha256"; +export declare const TOKEN_HEADER: string; +export declare const HOST_HEADER = "host"; +export declare const ALWAYS_UNSIGNABLE_HEADERS: { + authorization: boolean; + "cache-control": boolean; + connection: boolean; + expect: boolean; + from: boolean; + "keep-alive": boolean; + "max-forwards": boolean; + pragma: boolean; + referer: boolean; + te: boolean; + trailer: boolean; + "transfer-encoding": boolean; + upgrade: boolean; + "user-agent": boolean; + "x-amzn-trace-id": boolean; +}; +export declare const PROXY_HEADER_PATTERN: RegExp; +export declare const SEC_HEADER_PATTERN: RegExp; +export declare const UNSIGNABLE_PATTERNS: RegExp[]; +export declare const ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256"; +export declare const ALGORITHM_IDENTIFIER_V4A = "AWS4-ECDSA-P256-SHA256"; +export declare const EVENT_ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256-PAYLOAD"; +export declare const UNSIGNED_PAYLOAD = "UNSIGNED-PAYLOAD"; +export declare const MAX_CACHE_SIZE = 50; +export declare const KEY_TYPE_IDENTIFIER = "aws4_request"; +export declare const MAX_PRESIGNED_TTL: number; diff --git a/node_modules/@smithy/signature-v4/dist-types/credentialDerivation.d.ts b/node_modules/@smithy/signature-v4/dist-types/credentialDerivation.d.ts new file mode 100644 index 0000000..4b7a13a --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/credentialDerivation.d.ts @@ -0,0 +1,30 @@ +import type { AwsCredentialIdentity, ChecksumConstructor, HashConstructor } from "@smithy/types"; +/** + * Create a string describing the scope of credentials used to sign a request. + * + * @internal + * + * @param shortDate - the current calendar date in the form YYYYMMDD. + * @param region - the AWS region in which the service resides. + * @param service - the service to which the signed request is being sent. + */ +export declare const createScope: (shortDate: string, region: string, service: string) => string; +/** + * Derive a signing key from its composite parts. + * + * @internal + * + * @param sha256Constructor - a constructor function that can instantiate SHA-256 + * hash objects. + * @param credentials - the credentials with which the request will be + * signed. + * @param shortDate - the current calendar date in the form YYYYMMDD. + * @param region - the AWS region in which the service resides. + * @param service - the service to which the signed request is being + * sent. + */ +export declare const getSigningKey: (sha256Constructor: ChecksumConstructor | HashConstructor, credentials: AwsCredentialIdentity, shortDate: string, region: string, service: string) => Promise; +/** + * @internal + */ +export declare const clearCredentialCache: () => void; diff --git a/node_modules/@smithy/signature-v4/dist-types/getCanonicalHeaders.d.ts b/node_modules/@smithy/signature-v4/dist-types/getCanonicalHeaders.d.ts new file mode 100644 index 0000000..cfc8462 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/getCanonicalHeaders.d.ts @@ -0,0 +1,5 @@ +import type { HeaderBag, HttpRequest } from "@smithy/types"; +/** + * @internal + */ +export declare const getCanonicalHeaders: ({ headers }: HttpRequest, unsignableHeaders?: Set, signableHeaders?: Set) => HeaderBag; diff --git a/node_modules/@smithy/signature-v4/dist-types/getCanonicalQuery.d.ts b/node_modules/@smithy/signature-v4/dist-types/getCanonicalQuery.d.ts new file mode 100644 index 0000000..ed09586 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/getCanonicalQuery.d.ts @@ -0,0 +1,5 @@ +import type { HttpRequest } from "@smithy/types"; +/** + * @internal + */ +export declare const getCanonicalQuery: ({ query }: HttpRequest) => string; diff --git a/node_modules/@smithy/signature-v4/dist-types/getPayloadHash.d.ts b/node_modules/@smithy/signature-v4/dist-types/getPayloadHash.d.ts new file mode 100644 index 0000000..e51605b --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/getPayloadHash.d.ts @@ -0,0 +1,5 @@ +import type { ChecksumConstructor, HashConstructor, HttpRequest } from "@smithy/types"; +/** + * @internal + */ +export declare const getPayloadHash: ({ headers, body }: HttpRequest, hashConstructor: ChecksumConstructor | HashConstructor) => Promise; diff --git a/node_modules/@smithy/signature-v4/dist-types/headerUtil.d.ts b/node_modules/@smithy/signature-v4/dist-types/headerUtil.d.ts new file mode 100644 index 0000000..1663a0c --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/headerUtil.d.ts @@ -0,0 +1,4 @@ +import type { HeaderBag } from "@smithy/types"; +export declare const hasHeader: (soughtHeader: string, headers: HeaderBag) => boolean; +export declare const getHeaderValue: (soughtHeader: string, headers: HeaderBag) => string | undefined; +export declare const deleteHeader: (soughtHeader: string, headers: HeaderBag) => void; diff --git a/node_modules/@smithy/signature-v4/dist-types/index.d.ts b/node_modules/@smithy/signature-v4/dist-types/index.d.ts new file mode 100644 index 0000000..9305cf3 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/index.d.ts @@ -0,0 +1,11 @@ +export * from "./SignatureV4"; +export * from "./constants"; +export { getCanonicalHeaders } from "./getCanonicalHeaders"; +export { getCanonicalQuery } from "./getCanonicalQuery"; +export { getPayloadHash } from "./getPayloadHash"; +export { moveHeadersToQuery } from "./moveHeadersToQuery"; +export { prepareRequest } from "./prepareRequest"; +export * from "./credentialDerivation"; +export { SignatureV4Init, SignatureV4CryptoInit, SignatureV4Base } from "./SignatureV4Base"; +export { hasHeader } from "./headerUtil"; +export * from "./signature-v4a-container"; diff --git a/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts b/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts new file mode 100644 index 0000000..e2c31e0 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts @@ -0,0 +1,10 @@ +import type { HttpRequest as IHttpRequest, QueryParameterBag } from "@smithy/types"; +/** + * @internal + */ +export declare const moveHeadersToQuery: (request: IHttpRequest, options?: { + unhoistableHeaders?: Set; + hoistableHeaders?: Set; +}) => IHttpRequest & { + query: QueryParameterBag; +}; diff --git a/node_modules/@smithy/signature-v4/dist-types/prepareRequest.d.ts b/node_modules/@smithy/signature-v4/dist-types/prepareRequest.d.ts new file mode 100644 index 0000000..b20e0e3 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/prepareRequest.d.ts @@ -0,0 +1,5 @@ +import type { HttpRequest as IHttpRequest } from "@smithy/types"; +/** + * @internal + */ +export declare const prepareRequest: (request: IHttpRequest) => IHttpRequest; diff --git a/node_modules/@smithy/signature-v4/dist-types/signature-v4a-container.d.ts b/node_modules/@smithy/signature-v4/dist-types/signature-v4a-container.d.ts new file mode 100644 index 0000000..8901036 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/signature-v4a-container.d.ts @@ -0,0 +1,24 @@ +import type { RequestSigner } from "@smithy/types"; +/** + * @public + */ +export type OptionalSigV4aSigner = { + /** + * This constructor is not typed so as not to require a type import + * from the signature-v4a package. + * + * The true type is SignatureV4a from @smithy/signature-v4a. + */ + new (options: any): RequestSigner; +}; +/** + * @public + * + * \@smithy/signature-v4a will install the constructor in this + * container if it's installed. + * + * This avoids a runtime-require being interpreted statically by bundlers. + */ +export declare const signatureV4aContainer: { + SignatureV4a: null | OptionalSigV4aSigner; +}; diff --git a/node_modules/@smithy/signature-v4/dist-types/suite.fixture.d.ts b/node_modules/@smithy/signature-v4/dist-types/suite.fixture.d.ts new file mode 100644 index 0000000..c2b36f3 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/suite.fixture.d.ts @@ -0,0 +1,14 @@ +import type { HttpRequest } from "@smithy/types"; +export interface TestCase { + name: string; + request: HttpRequest; + authorization: string; +} +export declare const region = "us-east-1"; +export declare const service = "service"; +export declare const credentials: { + accessKeyId: string; + secretAccessKey: string; +}; +export declare const signingDate: Date; +export declare const requests: Array; diff --git a/node_modules/@smithy/signature-v4/dist-types/ts3.4/HeaderFormatter.d.ts b/node_modules/@smithy/signature-v4/dist-types/ts3.4/HeaderFormatter.d.ts new file mode 100644 index 0000000..c58b7f9 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/ts3.4/HeaderFormatter.d.ts @@ -0,0 +1,24 @@ +import { Int64 as IInt64, MessageHeaders } from "@smithy/types"; +/** + * @internal + * TODO: duplicated from @smithy/eventstream-codec to break large dependency. + * TODO: This should be moved to its own deduped submodule in @smithy/core when submodules are implemented. + */ +export declare class HeaderFormatter { + format(headers: MessageHeaders): Uint8Array; + private formatHeaderValue; +} +/** + * TODO: duplicated from @smithy/eventstream-codec to break large dependency. + * TODO: This should be moved to its own deduped submodule in @smithy/core when submodules are implemented. + */ +export declare class Int64 implements IInt64 { + readonly bytes: Uint8Array; + constructor(bytes: Uint8Array); + static fromNumber(number: number): Int64; + /** + * Called implicitly by infix arithmetic operators. + */ + valueOf(): number; + toString(): string; +} diff --git a/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts b/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts new file mode 100644 index 0000000..123a3c3 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts @@ -0,0 +1,21 @@ +import { EventSigner, EventSigningArguments, FormattedEvent, HttpRequest, MessageSigner, RequestPresigner, RequestPresigningArguments, RequestSigner, RequestSigningArguments, SignableMessage, SignedMessage, SigningArguments, StringSigner } from "@smithy/types"; +import { SignatureV4CryptoInit, SignatureV4Init } from "./SignatureV4Base"; +import { SignatureV4Base } from "./SignatureV4Base"; +/** + * @public + */ +export declare class SignatureV4 extends SignatureV4Base implements RequestPresigner, RequestSigner, StringSigner, EventSigner, MessageSigner { + private readonly headerFormatter; + constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath, }: SignatureV4Init & SignatureV4CryptoInit); + presign(originalRequest: HttpRequest, options?: RequestPresigningArguments): Promise; + sign(stringToSign: string, options?: SigningArguments): Promise; + sign(event: FormattedEvent, options: EventSigningArguments): Promise; + sign(event: SignableMessage, options: SigningArguments): Promise; + sign(requestToSign: HttpRequest, options?: RequestSigningArguments): Promise; + private signEvent; + signMessage(signableMessage: SignableMessage, { signingDate, signingRegion, signingService }: SigningArguments): Promise; + private signString; + private signRequest; + private getSignature; + private getSigningKey; +} diff --git a/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4Base.d.ts b/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4Base.d.ts new file mode 100644 index 0000000..9a0e6ad --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4Base.d.ts @@ -0,0 +1,69 @@ +import { AwsCredentialIdentity, ChecksumConstructor, DateInput, HashConstructor, HeaderBag, HttpRequest, Provider } from "@smithy/types"; +/** + * @public + */ +export interface SignatureV4Init { + /** + * The service signing name. + */ + service: string; + /** + * The region name or a function that returns a promise that will be + * resolved with the region name. + */ + region: string | Provider; + /** + * The credentials with which the request should be signed or a function + * that returns a promise that will be resolved with credentials. + */ + credentials: AwsCredentialIdentity | Provider; + /** + * A constructor function for a hash object that will calculate SHA-256 HMAC + * checksums. + */ + sha256?: ChecksumConstructor | HashConstructor; + /** + * Whether to uri-escape the request URI path as part of computing the + * canonical request string. This is required for every AWS service, except + * Amazon S3, as of late 2017. + * + * @default [true] + */ + uriEscapePath?: boolean; + /** + * Whether to calculate a checksum of the request body and include it as + * either a request header (when signing) or as a query string parameter + * (when presigning). This is required for AWS Glacier and Amazon S3 and optional for + * every other AWS service as of late 2017. + * + * @default [true] + */ + applyChecksum?: boolean; +} +/** + * @public + */ +export interface SignatureV4CryptoInit { + sha256: ChecksumConstructor | HashConstructor; +} +/** + * @internal + */ +export declare abstract class SignatureV4Base { + protected readonly service: string; + protected readonly regionProvider: Provider; + protected readonly credentialProvider: Provider; + protected readonly sha256: ChecksumConstructor | HashConstructor; + private readonly uriEscapePath; + protected readonly applyChecksum: boolean; + protected constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath, }: SignatureV4Init & SignatureV4CryptoInit); + protected createCanonicalRequest(request: HttpRequest, canonicalHeaders: HeaderBag, payloadHash: string): string; + protected createStringToSign(longDate: string, credentialScope: string, canonicalRequest: string, algorithmIdentifier: string): Promise; + private getCanonicalPath; + protected validateResolvedCredentials(credentials: unknown): void; + protected formatDate(now: DateInput): { + longDate: string; + shortDate: string; + }; + protected getCanonicalHeaderList(headers: object): string; +} diff --git a/node_modules/@smithy/signature-v4/dist-types/ts3.4/constants.d.ts b/node_modules/@smithy/signature-v4/dist-types/ts3.4/constants.d.ts new file mode 100644 index 0000000..ea1cfb5 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/ts3.4/constants.d.ts @@ -0,0 +1,43 @@ +export declare const ALGORITHM_QUERY_PARAM = "X-Amz-Algorithm"; +export declare const CREDENTIAL_QUERY_PARAM = "X-Amz-Credential"; +export declare const AMZ_DATE_QUERY_PARAM = "X-Amz-Date"; +export declare const SIGNED_HEADERS_QUERY_PARAM = "X-Amz-SignedHeaders"; +export declare const EXPIRES_QUERY_PARAM = "X-Amz-Expires"; +export declare const SIGNATURE_QUERY_PARAM = "X-Amz-Signature"; +export declare const TOKEN_QUERY_PARAM = "X-Amz-Security-Token"; +export declare const REGION_SET_PARAM = "X-Amz-Region-Set"; +export declare const AUTH_HEADER = "authorization"; +export declare const AMZ_DATE_HEADER: string; +export declare const DATE_HEADER = "date"; +export declare const GENERATED_HEADERS: string[]; +export declare const SIGNATURE_HEADER: string; +export declare const SHA256_HEADER = "x-amz-content-sha256"; +export declare const TOKEN_HEADER: string; +export declare const HOST_HEADER = "host"; +export declare const ALWAYS_UNSIGNABLE_HEADERS: { + authorization: boolean; + "cache-control": boolean; + connection: boolean; + expect: boolean; + from: boolean; + "keep-alive": boolean; + "max-forwards": boolean; + pragma: boolean; + referer: boolean; + te: boolean; + trailer: boolean; + "transfer-encoding": boolean; + upgrade: boolean; + "user-agent": boolean; + "x-amzn-trace-id": boolean; +}; +export declare const PROXY_HEADER_PATTERN: RegExp; +export declare const SEC_HEADER_PATTERN: RegExp; +export declare const UNSIGNABLE_PATTERNS: RegExp[]; +export declare const ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256"; +export declare const ALGORITHM_IDENTIFIER_V4A = "AWS4-ECDSA-P256-SHA256"; +export declare const EVENT_ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256-PAYLOAD"; +export declare const UNSIGNED_PAYLOAD = "UNSIGNED-PAYLOAD"; +export declare const MAX_CACHE_SIZE = 50; +export declare const KEY_TYPE_IDENTIFIER = "aws4_request"; +export declare const MAX_PRESIGNED_TTL: number; diff --git a/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts b/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts new file mode 100644 index 0000000..a560c2c --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts @@ -0,0 +1,30 @@ +import { AwsCredentialIdentity, ChecksumConstructor, HashConstructor } from "@smithy/types"; +/** + * Create a string describing the scope of credentials used to sign a request. + * + * @internal + * + * @param shortDate - the current calendar date in the form YYYYMMDD. + * @param region - the AWS region in which the service resides. + * @param service - the service to which the signed request is being sent. + */ +export declare const createScope: (shortDate: string, region: string, service: string) => string; +/** + * Derive a signing key from its composite parts. + * + * @internal + * + * @param sha256Constructor - a constructor function that can instantiate SHA-256 + * hash objects. + * @param credentials - the credentials with which the request will be + * signed. + * @param shortDate - the current calendar date in the form YYYYMMDD. + * @param region - the AWS region in which the service resides. + * @param service - the service to which the signed request is being + * sent. + */ +export declare const getSigningKey: (sha256Constructor: ChecksumConstructor | HashConstructor, credentials: AwsCredentialIdentity, shortDate: string, region: string, service: string) => Promise; +/** + * @internal + */ +export declare const clearCredentialCache: () => void; diff --git a/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts b/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts new file mode 100644 index 0000000..efc417c --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts @@ -0,0 +1,5 @@ +import { HeaderBag, HttpRequest } from "@smithy/types"; +/** + * @internal + */ +export declare const getCanonicalHeaders: ({ headers }: HttpRequest, unsignableHeaders?: Set, signableHeaders?: Set) => HeaderBag; diff --git a/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts b/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts new file mode 100644 index 0000000..a8e1800 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts @@ -0,0 +1,5 @@ +import { HttpRequest } from "@smithy/types"; +/** + * @internal + */ +export declare const getCanonicalQuery: ({ query }: HttpRequest) => string; diff --git a/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts b/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts new file mode 100644 index 0000000..2de0858 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts @@ -0,0 +1,5 @@ +import { ChecksumConstructor, HashConstructor, HttpRequest } from "@smithy/types"; +/** + * @internal + */ +export declare const getPayloadHash: ({ headers, body }: HttpRequest, hashConstructor: ChecksumConstructor | HashConstructor) => Promise; diff --git a/node_modules/@smithy/signature-v4/dist-types/ts3.4/headerUtil.d.ts b/node_modules/@smithy/signature-v4/dist-types/ts3.4/headerUtil.d.ts new file mode 100644 index 0000000..c0b66eb --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/ts3.4/headerUtil.d.ts @@ -0,0 +1,4 @@ +import { HeaderBag } from "@smithy/types"; +export declare const hasHeader: (soughtHeader: string, headers: HeaderBag) => boolean; +export declare const getHeaderValue: (soughtHeader: string, headers: HeaderBag) => string | undefined; +export declare const deleteHeader: (soughtHeader: string, headers: HeaderBag) => void; diff --git a/node_modules/@smithy/signature-v4/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/signature-v4/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..9305cf3 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/ts3.4/index.d.ts @@ -0,0 +1,11 @@ +export * from "./SignatureV4"; +export * from "./constants"; +export { getCanonicalHeaders } from "./getCanonicalHeaders"; +export { getCanonicalQuery } from "./getCanonicalQuery"; +export { getPayloadHash } from "./getPayloadHash"; +export { moveHeadersToQuery } from "./moveHeadersToQuery"; +export { prepareRequest } from "./prepareRequest"; +export * from "./credentialDerivation"; +export { SignatureV4Init, SignatureV4CryptoInit, SignatureV4Base } from "./SignatureV4Base"; +export { hasHeader } from "./headerUtil"; +export * from "./signature-v4a-container"; diff --git a/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts b/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts new file mode 100644 index 0000000..de7dc00 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts @@ -0,0 +1,10 @@ +import { HttpRequest as IHttpRequest, QueryParameterBag } from "@smithy/types"; +/** + * @internal + */ +export declare const moveHeadersToQuery: (request: IHttpRequest, options?: { + unhoistableHeaders?: Set; + hoistableHeaders?: Set; +}) => IHttpRequest & { + query: QueryParameterBag; +}; diff --git a/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts b/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts new file mode 100644 index 0000000..4e7348c --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts @@ -0,0 +1,5 @@ +import { HttpRequest as IHttpRequest } from "@smithy/types"; +/** + * @internal + */ +export declare const prepareRequest: (request: IHttpRequest) => IHttpRequest; diff --git a/node_modules/@smithy/signature-v4/dist-types/ts3.4/signature-v4a-container.d.ts b/node_modules/@smithy/signature-v4/dist-types/ts3.4/signature-v4a-container.d.ts new file mode 100644 index 0000000..00d608d --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/ts3.4/signature-v4a-container.d.ts @@ -0,0 +1,24 @@ +import { RequestSigner } from "@smithy/types"; +/** + * @public + */ +export type OptionalSigV4aSigner = { + /** + * This constructor is not typed so as not to require a type import + * from the signature-v4a package. + * + * The true type is SignatureV4a from @smithy/signature-v4a. + */ + new (options: any): RequestSigner; +}; +/** + * @public + * + * \@smithy/signature-v4a will install the constructor in this + * container if it's installed. + * + * This avoids a runtime-require being interpreted statically by bundlers. + */ +export declare const signatureV4aContainer: { + SignatureV4a: null | OptionalSigV4aSigner; +}; diff --git a/node_modules/@smithy/signature-v4/dist-types/ts3.4/suite.fixture.d.ts b/node_modules/@smithy/signature-v4/dist-types/ts3.4/suite.fixture.d.ts new file mode 100644 index 0000000..383bc35 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/ts3.4/suite.fixture.d.ts @@ -0,0 +1,14 @@ +import { HttpRequest } from "@smithy/types"; +export interface TestCase { + name: string; + request: HttpRequest; + authorization: string; +} +export declare const region = "us-east-1"; +export declare const service = "service"; +export declare const credentials: { + accessKeyId: string; + secretAccessKey: string; +}; +export declare const signingDate: Date; +export declare const requests: Array; diff --git a/node_modules/@smithy/signature-v4/dist-types/ts3.4/utilDate.d.ts b/node_modules/@smithy/signature-v4/dist-types/ts3.4/utilDate.d.ts new file mode 100644 index 0000000..e8c6a68 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/ts3.4/utilDate.d.ts @@ -0,0 +1,2 @@ +export declare const iso8601: (time: number | string | Date) => string; +export declare const toDate: (time: number | string | Date) => Date; diff --git a/node_modules/@smithy/signature-v4/dist-types/utilDate.d.ts b/node_modules/@smithy/signature-v4/dist-types/utilDate.d.ts new file mode 100644 index 0000000..e8c6a68 --- /dev/null +++ b/node_modules/@smithy/signature-v4/dist-types/utilDate.d.ts @@ -0,0 +1,2 @@ +export declare const iso8601: (time: number | string | Date) => string; +export declare const toDate: (time: number | string | Date) => Date; diff --git a/node_modules/@smithy/signature-v4/package.json b/node_modules/@smithy/signature-v4/package.json new file mode 100644 index 0000000..67b5bd9 --- /dev/null +++ b/node_modules/@smithy/signature-v4/package.json @@ -0,0 +1,70 @@ +{ + "name": "@smithy/signature-v4", + "version": "5.3.12", + "description": "A standalone implementation of the AWS Signature V4 request signing algorithm", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline signature-v4", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "extract:docs": "api-extractor run --local", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/is-array-buffer": "^4.2.2", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-hex-encoding": "^4.2.2", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-uri-escape": "^4.2.2", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@aws-crypto/sha256-js": "5.2.0", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/signature-v4", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/signature-v4" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/smithy-client/LICENSE b/node_modules/@smithy/smithy-client/LICENSE new file mode 100644 index 0000000..e907b58 --- /dev/null +++ b/node_modules/@smithy/smithy-client/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@smithy/smithy-client/README.md b/node_modules/@smithy/smithy-client/README.md new file mode 100644 index 0000000..3417599 --- /dev/null +++ b/node_modules/@smithy/smithy-client/README.md @@ -0,0 +1,17 @@ +# @smithy/smithy-client + +[![NPM version](https://img.shields.io/npm/v/@smithy/smithy-client/latest.svg)](https://www.npmjs.com/package/@smithy/smithy-client) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/smithy-client.svg)](https://www.npmjs.com/package/@smithy/smithy-client) + +### :warning: Internal API :warning: + +> This is an internal package. +> That means this is used as a dependency for other, public packages, but +> should not be taken directly as a dependency in your application's `package.json`. + +> If you are updating the version of this package, for example to bring in a +> bug-fix, you should do so by updating your application lockfile with +> e.g. `npm up @scope/package` or equivalent command in another +> package manager, rather than taking a direct dependency. + +--- diff --git a/node_modules/@smithy/smithy-client/dist-cjs/index.js b/node_modules/@smithy/smithy-client/dist-cjs/index.js new file mode 100644 index 0000000..eb48d04 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-cjs/index.js @@ -0,0 +1,635 @@ +'use strict'; + +var middlewareStack = require('@smithy/middleware-stack'); +var protocols = require('@smithy/core/protocols'); +var types = require('@smithy/types'); +var schema = require('@smithy/core/schema'); +var serde = require('@smithy/core/serde'); + +class Client { + config; + middlewareStack = middlewareStack.constructStack(); + initConfig; + handlers; + constructor(config) { + this.config = config; + const { protocol, protocolSettings } = config; + if (protocolSettings) { + if (typeof protocol === "function") { + config.protocol = new protocol(protocolSettings); + } + } + } + send(command, optionsOrCb, cb) { + const options = typeof optionsOrCb !== "function" ? optionsOrCb : undefined; + const callback = typeof optionsOrCb === "function" ? optionsOrCb : cb; + const useHandlerCache = options === undefined && this.config.cacheMiddleware === true; + let handler; + if (useHandlerCache) { + if (!this.handlers) { + this.handlers = new WeakMap(); + } + const handlers = this.handlers; + if (handlers.has(command.constructor)) { + handler = handlers.get(command.constructor); + } + else { + handler = command.resolveMiddleware(this.middlewareStack, this.config, options); + handlers.set(command.constructor, handler); + } + } + else { + delete this.handlers; + handler = command.resolveMiddleware(this.middlewareStack, this.config, options); + } + if (callback) { + handler(command) + .then((result) => callback(null, result.output), (err) => callback(err)) + .catch(() => { }); + } + else { + return handler(command).then((result) => result.output); + } + } + destroy() { + this.config?.requestHandler?.destroy?.(); + delete this.handlers; + } +} + +const SENSITIVE_STRING$1 = "***SensitiveInformation***"; +function schemaLogFilter(schema$1, data) { + if (data == null) { + return data; + } + const ns = schema.NormalizedSchema.of(schema$1); + if (ns.getMergedTraits().sensitive) { + return SENSITIVE_STRING$1; + } + if (ns.isListSchema()) { + const isSensitive = !!ns.getValueSchema().getMergedTraits().sensitive; + if (isSensitive) { + return SENSITIVE_STRING$1; + } + } + else if (ns.isMapSchema()) { + const isSensitive = !!ns.getKeySchema().getMergedTraits().sensitive || !!ns.getValueSchema().getMergedTraits().sensitive; + if (isSensitive) { + return SENSITIVE_STRING$1; + } + } + else if (ns.isStructSchema() && typeof data === "object") { + const object = data; + const newObject = {}; + for (const [member, memberNs] of ns.structIterator()) { + if (object[member] != null) { + newObject[member] = schemaLogFilter(memberNs, object[member]); + } + } + return newObject; + } + return data; +} + +class Command { + middlewareStack = middlewareStack.constructStack(); + schema; + static classBuilder() { + return new ClassBuilder(); + } + resolveMiddlewareWithContext(clientStack, configuration, options, { middlewareFn, clientName, commandName, inputFilterSensitiveLog, outputFilterSensitiveLog, smithyContext, additionalContext, CommandCtor, }) { + for (const mw of middlewareFn.bind(this)(CommandCtor, clientStack, configuration, options)) { + this.middlewareStack.use(mw); + } + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog, + outputFilterSensitiveLog, + [types.SMITHY_CONTEXT_KEY]: { + commandInstance: this, + ...smithyContext, + }, + ...additionalContext, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } +} +class ClassBuilder { + _init = () => { }; + _ep = {}; + _middlewareFn = () => []; + _commandName = ""; + _clientName = ""; + _additionalContext = {}; + _smithyContext = {}; + _inputFilterSensitiveLog = undefined; + _outputFilterSensitiveLog = undefined; + _serializer = null; + _deserializer = null; + _operationSchema; + init(cb) { + this._init = cb; + } + ep(endpointParameterInstructions) { + this._ep = endpointParameterInstructions; + return this; + } + m(middlewareSupplier) { + this._middlewareFn = middlewareSupplier; + return this; + } + s(service, operation, smithyContext = {}) { + this._smithyContext = { + service, + operation, + ...smithyContext, + }; + return this; + } + c(additionalContext = {}) { + this._additionalContext = additionalContext; + return this; + } + n(clientName, commandName) { + this._clientName = clientName; + this._commandName = commandName; + return this; + } + f(inputFilter = (_) => _, outputFilter = (_) => _) { + this._inputFilterSensitiveLog = inputFilter; + this._outputFilterSensitiveLog = outputFilter; + return this; + } + ser(serializer) { + this._serializer = serializer; + return this; + } + de(deserializer) { + this._deserializer = deserializer; + return this; + } + sc(operation) { + this._operationSchema = operation; + this._smithyContext.operationSchema = operation; + return this; + } + build() { + const closure = this; + let CommandRef; + return (CommandRef = class extends Command { + input; + static getEndpointParameterInstructions() { + return closure._ep; + } + constructor(...[input]) { + super(); + this.input = input ?? {}; + closure._init(this); + this.schema = closure._operationSchema; + } + resolveMiddleware(stack, configuration, options) { + const op = closure._operationSchema; + const input = op?.[4] ?? op?.input; + const output = op?.[5] ?? op?.output; + return this.resolveMiddlewareWithContext(stack, configuration, options, { + CommandCtor: CommandRef, + middlewareFn: closure._middlewareFn, + clientName: closure._clientName, + commandName: closure._commandName, + inputFilterSensitiveLog: closure._inputFilterSensitiveLog ?? (op ? schemaLogFilter.bind(null, input) : (_) => _), + outputFilterSensitiveLog: closure._outputFilterSensitiveLog ?? (op ? schemaLogFilter.bind(null, output) : (_) => _), + smithyContext: closure._smithyContext, + additionalContext: closure._additionalContext, + }); + } + serialize = closure._serializer; + deserialize = closure._deserializer; + }); + } +} + +const SENSITIVE_STRING = "***SensitiveInformation***"; + +const createAggregatedClient = (commands, Client, options) => { + for (const [command, CommandCtor] of Object.entries(commands)) { + const methodImpl = async function (args, optionsOrCb, cb) { + const command = new CommandCtor(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } + else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") + throw new Error(`Expected http options but got ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } + else { + return this.send(command, optionsOrCb); + } + }; + const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, ""); + Client.prototype[methodName] = methodImpl; + } + const { paginators = {}, waiters = {} } = options ?? {}; + for (const [paginatorName, paginatorFn] of Object.entries(paginators)) { + if (Client.prototype[paginatorName] === void 0) { + Client.prototype[paginatorName] = function (commandInput = {}, paginationConfiguration, ...rest) { + return paginatorFn({ + ...paginationConfiguration, + client: this, + }, commandInput, ...rest); + }; + } + } + for (const [waiterName, waiterFn] of Object.entries(waiters)) { + if (Client.prototype[waiterName] === void 0) { + Client.prototype[waiterName] = async function (commandInput = {}, waiterConfiguration, ...rest) { + let config = waiterConfiguration; + if (typeof waiterConfiguration === "number") { + config = { + maxWaitTime: waiterConfiguration, + }; + } + return waiterFn({ + ...config, + client: this, + }, commandInput, ...rest); + }; + } + } +}; + +class ServiceException extends Error { + $fault; + $response; + $retryable; + $metadata; + constructor(options) { + super(options.message); + Object.setPrototypeOf(this, Object.getPrototypeOf(this).constructor.prototype); + this.name = options.name; + this.$fault = options.$fault; + this.$metadata = options.$metadata; + } + static isInstance(value) { + if (!value) + return false; + const candidate = value; + return (ServiceException.prototype.isPrototypeOf(candidate) || + (Boolean(candidate.$fault) && + Boolean(candidate.$metadata) && + (candidate.$fault === "client" || candidate.$fault === "server"))); + } + static [Symbol.hasInstance](instance) { + if (!instance) + return false; + const candidate = instance; + if (this === ServiceException) { + return ServiceException.isInstance(instance); + } + if (ServiceException.isInstance(instance)) { + if (candidate.name && this.name) { + return this.prototype.isPrototypeOf(instance) || candidate.name === this.name; + } + return this.prototype.isPrototypeOf(instance); + } + return false; + } +} +const decorateServiceException = (exception, additions = {}) => { + Object.entries(additions) + .filter(([, v]) => v !== undefined) + .forEach(([k, v]) => { + if (exception[k] == undefined || exception[k] === "") { + exception[k] = v; + } + }); + const message = exception.message || exception.Message || "UnknownError"; + exception.message = message; + delete exception.Message; + return exception; +}; + +const throwDefaultError = ({ output, parsedBody, exceptionCtor, errorCode }) => { + const $metadata = deserializeMetadata(output); + const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined; + const response = new exceptionCtor({ + name: parsedBody?.code || parsedBody?.Code || errorCode || statusCode || "UnknownError", + $fault: "client", + $metadata, + }); + throw decorateServiceException(response, parsedBody); +}; +const withBaseException = (ExceptionCtor) => { + return ({ output, parsedBody, errorCode }) => { + throwDefaultError({ output, parsedBody, exceptionCtor: ExceptionCtor, errorCode }); + }; +}; +const deserializeMetadata = (output) => ({ + httpStatusCode: output.statusCode, + requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], + extendedRequestId: output.headers["x-amz-id-2"], + cfId: output.headers["x-amz-cf-id"], +}); + +const loadConfigsForDefaultMode = (mode) => { + switch (mode) { + case "standard": + return { + retryMode: "standard", + connectionTimeout: 3100, + }; + case "in-region": + return { + retryMode: "standard", + connectionTimeout: 1100, + }; + case "cross-region": + return { + retryMode: "standard", + connectionTimeout: 3100, + }; + case "mobile": + return { + retryMode: "standard", + connectionTimeout: 30000, + }; + default: + return {}; + } +}; + +let warningEmitted = false; +const emitWarningIfUnsupportedVersion = (version) => { + if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) { + warningEmitted = true; + } +}; + +const knownAlgorithms = Object.values(types.AlgorithmId); +const getChecksumConfiguration = (runtimeConfig) => { + const checksumAlgorithms = []; + for (const id in types.AlgorithmId) { + const algorithmId = types.AlgorithmId[id]; + if (runtimeConfig[algorithmId] === undefined) { + continue; + } + checksumAlgorithms.push({ + algorithmId: () => algorithmId, + checksumConstructor: () => runtimeConfig[algorithmId], + }); + } + for (const [id, ChecksumCtor] of Object.entries(runtimeConfig.checksumAlgorithms ?? {})) { + checksumAlgorithms.push({ + algorithmId: () => id, + checksumConstructor: () => ChecksumCtor, + }); + } + return { + addChecksumAlgorithm(algo) { + runtimeConfig.checksumAlgorithms = runtimeConfig.checksumAlgorithms ?? {}; + const id = algo.algorithmId(); + const ctor = algo.checksumConstructor(); + if (knownAlgorithms.includes(id)) { + runtimeConfig.checksumAlgorithms[id.toUpperCase()] = ctor; + } + else { + runtimeConfig.checksumAlgorithms[id] = ctor; + } + checksumAlgorithms.push(algo); + }, + checksumAlgorithms() { + return checksumAlgorithms; + }, + }; +}; +const resolveChecksumRuntimeConfig = (clientConfig) => { + const runtimeConfig = {}; + clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => { + const id = checksumAlgorithm.algorithmId(); + if (knownAlgorithms.includes(id)) { + runtimeConfig[id] = checksumAlgorithm.checksumConstructor(); + } + }); + return runtimeConfig; +}; + +const getRetryConfiguration = (runtimeConfig) => { + return { + setRetryStrategy(retryStrategy) { + runtimeConfig.retryStrategy = retryStrategy; + }, + retryStrategy() { + return runtimeConfig.retryStrategy; + }, + }; +}; +const resolveRetryRuntimeConfig = (retryStrategyConfiguration) => { + const runtimeConfig = {}; + runtimeConfig.retryStrategy = retryStrategyConfiguration.retryStrategy(); + return runtimeConfig; +}; + +const getDefaultExtensionConfiguration = (runtimeConfig) => { + return Object.assign(getChecksumConfiguration(runtimeConfig), getRetryConfiguration(runtimeConfig)); +}; +const getDefaultClientConfiguration = getDefaultExtensionConfiguration; +const resolveDefaultRuntimeConfig = (config) => { + return Object.assign(resolveChecksumRuntimeConfig(config), resolveRetryRuntimeConfig(config)); +}; + +const getArrayIfSingleItem = (mayBeArray) => Array.isArray(mayBeArray) ? mayBeArray : [mayBeArray]; + +const getValueFromTextNode = (obj) => { + const textNodeName = "#text"; + for (const key in obj) { + if (obj.hasOwnProperty(key) && obj[key][textNodeName] !== undefined) { + obj[key] = obj[key][textNodeName]; + } + else if (typeof obj[key] === "object" && obj[key] !== null) { + obj[key] = getValueFromTextNode(obj[key]); + } + } + return obj; +}; + +const isSerializableHeaderValue = (value) => { + return value != null; +}; + +class NoOpLogger { + trace() { } + debug() { } + info() { } + warn() { } + error() { } +} + +function map(arg0, arg1, arg2) { + let target; + let filter; + let instructions; + if (typeof arg1 === "undefined" && typeof arg2 === "undefined") { + target = {}; + instructions = arg0; + } + else { + target = arg0; + if (typeof arg1 === "function") { + filter = arg1; + instructions = arg2; + return mapWithFilter(target, filter, instructions); + } + else { + instructions = arg1; + } + } + for (const key of Object.keys(instructions)) { + if (!Array.isArray(instructions[key])) { + target[key] = instructions[key]; + continue; + } + applyInstruction(target, null, instructions, key); + } + return target; +} +const convertMap = (target) => { + const output = {}; + for (const [k, v] of Object.entries(target || {})) { + output[k] = [, v]; + } + return output; +}; +const take = (source, instructions) => { + const out = {}; + for (const key in instructions) { + applyInstruction(out, source, instructions, key); + } + return out; +}; +const mapWithFilter = (target, filter, instructions) => { + return map(target, Object.entries(instructions).reduce((_instructions, [key, value]) => { + if (Array.isArray(value)) { + _instructions[key] = value; + } + else { + if (typeof value === "function") { + _instructions[key] = [filter, value()]; + } + else { + _instructions[key] = [filter, value]; + } + } + return _instructions; + }, {})); +}; +const applyInstruction = (target, source, instructions, targetKey) => { + if (source !== null) { + let instruction = instructions[targetKey]; + if (typeof instruction === "function") { + instruction = [, instruction]; + } + const [filter = nonNullish, valueFn = pass, sourceKey = targetKey] = instruction; + if ((typeof filter === "function" && filter(source[sourceKey])) || (typeof filter !== "function" && !!filter)) { + target[targetKey] = valueFn(source[sourceKey]); + } + return; + } + let [filter, value] = instructions[targetKey]; + if (typeof value === "function") { + let _value; + const defaultFilterPassed = filter === undefined && (_value = value()) != null; + const customFilterPassed = (typeof filter === "function" && !!filter(void 0)) || (typeof filter !== "function" && !!filter); + if (defaultFilterPassed) { + target[targetKey] = _value; + } + else if (customFilterPassed) { + target[targetKey] = value(); + } + } + else { + const defaultFilterPassed = filter === undefined && value != null; + const customFilterPassed = (typeof filter === "function" && !!filter(value)) || (typeof filter !== "function" && !!filter); + if (defaultFilterPassed || customFilterPassed) { + target[targetKey] = value; + } + } +}; +const nonNullish = (_) => _ != null; +const pass = (_) => _; + +const serializeFloat = (value) => { + if (value !== value) { + return "NaN"; + } + switch (value) { + case Infinity: + return "Infinity"; + case -Infinity: + return "-Infinity"; + default: + return value; + } +}; +const serializeDateTime = (date) => date.toISOString().replace(".000Z", "Z"); + +const _json = (obj) => { + if (obj == null) { + return {}; + } + if (Array.isArray(obj)) { + return obj.filter((_) => _ != null).map(_json); + } + if (typeof obj === "object") { + const target = {}; + for (const key of Object.keys(obj)) { + if (obj[key] == null) { + continue; + } + target[key] = _json(obj[key]); + } + return target; + } + return obj; +}; + +exports.collectBody = protocols.collectBody; +exports.extendedEncodeURIComponent = protocols.extendedEncodeURIComponent; +exports.resolvedPath = protocols.resolvedPath; +exports.Client = Client; +exports.Command = Command; +exports.NoOpLogger = NoOpLogger; +exports.SENSITIVE_STRING = SENSITIVE_STRING; +exports.ServiceException = ServiceException; +exports._json = _json; +exports.convertMap = convertMap; +exports.createAggregatedClient = createAggregatedClient; +exports.decorateServiceException = decorateServiceException; +exports.emitWarningIfUnsupportedVersion = emitWarningIfUnsupportedVersion; +exports.getArrayIfSingleItem = getArrayIfSingleItem; +exports.getDefaultClientConfiguration = getDefaultClientConfiguration; +exports.getDefaultExtensionConfiguration = getDefaultExtensionConfiguration; +exports.getValueFromTextNode = getValueFromTextNode; +exports.isSerializableHeaderValue = isSerializableHeaderValue; +exports.loadConfigsForDefaultMode = loadConfigsForDefaultMode; +exports.map = map; +exports.resolveDefaultRuntimeConfig = resolveDefaultRuntimeConfig; +exports.serializeDateTime = serializeDateTime; +exports.serializeFloat = serializeFloat; +exports.take = take; +exports.throwDefaultError = throwDefaultError; +exports.withBaseException = withBaseException; +Object.prototype.hasOwnProperty.call(serde, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: serde['__proto__'] + }); + +Object.keys(serde).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = serde[k]; +}); diff --git a/node_modules/@smithy/smithy-client/dist-es/NoOpLogger.js b/node_modules/@smithy/smithy-client/dist-es/NoOpLogger.js new file mode 100644 index 0000000..73cd076 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/NoOpLogger.js @@ -0,0 +1,7 @@ +export class NoOpLogger { + trace() { } + debug() { } + info() { } + warn() { } + error() { } +} diff --git a/node_modules/@smithy/smithy-client/dist-es/client.js b/node_modules/@smithy/smithy-client/dist-es/client.js new file mode 100644 index 0000000..ca6e210 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/client.js @@ -0,0 +1,51 @@ +import { constructStack } from "@smithy/middleware-stack"; +export class Client { + config; + middlewareStack = constructStack(); + initConfig; + handlers; + constructor(config) { + this.config = config; + const { protocol, protocolSettings } = config; + if (protocolSettings) { + if (typeof protocol === "function") { + config.protocol = new protocol(protocolSettings); + } + } + } + send(command, optionsOrCb, cb) { + const options = typeof optionsOrCb !== "function" ? optionsOrCb : undefined; + const callback = typeof optionsOrCb === "function" ? optionsOrCb : cb; + const useHandlerCache = options === undefined && this.config.cacheMiddleware === true; + let handler; + if (useHandlerCache) { + if (!this.handlers) { + this.handlers = new WeakMap(); + } + const handlers = this.handlers; + if (handlers.has(command.constructor)) { + handler = handlers.get(command.constructor); + } + else { + handler = command.resolveMiddleware(this.middlewareStack, this.config, options); + handlers.set(command.constructor, handler); + } + } + else { + delete this.handlers; + handler = command.resolveMiddleware(this.middlewareStack, this.config, options); + } + if (callback) { + handler(command) + .then((result) => callback(null, result.output), (err) => callback(err)) + .catch(() => { }); + } + else { + return handler(command).then((result) => result.output); + } + } + destroy() { + this.config?.requestHandler?.destroy?.(); + delete this.handlers; + } +} diff --git a/node_modules/@smithy/smithy-client/dist-es/collect-stream-body.js b/node_modules/@smithy/smithy-client/dist-es/collect-stream-body.js new file mode 100644 index 0000000..2b76f0a --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/collect-stream-body.js @@ -0,0 +1 @@ +export { collectBody } from "@smithy/core/protocols"; diff --git a/node_modules/@smithy/smithy-client/dist-es/command.js b/node_modules/@smithy/smithy-client/dist-es/command.js new file mode 100644 index 0000000..4124008 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/command.js @@ -0,0 +1,124 @@ +import { constructStack } from "@smithy/middleware-stack"; +import { SMITHY_CONTEXT_KEY } from "@smithy/types"; +import { schemaLogFilter } from "./schemaLogFilter"; +export class Command { + middlewareStack = constructStack(); + schema; + static classBuilder() { + return new ClassBuilder(); + } + resolveMiddlewareWithContext(clientStack, configuration, options, { middlewareFn, clientName, commandName, inputFilterSensitiveLog, outputFilterSensitiveLog, smithyContext, additionalContext, CommandCtor, }) { + for (const mw of middlewareFn.bind(this)(CommandCtor, clientStack, configuration, options)) { + this.middlewareStack.use(mw); + } + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog, + outputFilterSensitiveLog, + [SMITHY_CONTEXT_KEY]: { + commandInstance: this, + ...smithyContext, + }, + ...additionalContext, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } +} +class ClassBuilder { + _init = () => { }; + _ep = {}; + _middlewareFn = () => []; + _commandName = ""; + _clientName = ""; + _additionalContext = {}; + _smithyContext = {}; + _inputFilterSensitiveLog = undefined; + _outputFilterSensitiveLog = undefined; + _serializer = null; + _deserializer = null; + _operationSchema; + init(cb) { + this._init = cb; + } + ep(endpointParameterInstructions) { + this._ep = endpointParameterInstructions; + return this; + } + m(middlewareSupplier) { + this._middlewareFn = middlewareSupplier; + return this; + } + s(service, operation, smithyContext = {}) { + this._smithyContext = { + service, + operation, + ...smithyContext, + }; + return this; + } + c(additionalContext = {}) { + this._additionalContext = additionalContext; + return this; + } + n(clientName, commandName) { + this._clientName = clientName; + this._commandName = commandName; + return this; + } + f(inputFilter = (_) => _, outputFilter = (_) => _) { + this._inputFilterSensitiveLog = inputFilter; + this._outputFilterSensitiveLog = outputFilter; + return this; + } + ser(serializer) { + this._serializer = serializer; + return this; + } + de(deserializer) { + this._deserializer = deserializer; + return this; + } + sc(operation) { + this._operationSchema = operation; + this._smithyContext.operationSchema = operation; + return this; + } + build() { + const closure = this; + let CommandRef; + return (CommandRef = class extends Command { + input; + static getEndpointParameterInstructions() { + return closure._ep; + } + constructor(...[input]) { + super(); + this.input = input ?? {}; + closure._init(this); + this.schema = closure._operationSchema; + } + resolveMiddleware(stack, configuration, options) { + const op = closure._operationSchema; + const input = op?.[4] ?? op?.input; + const output = op?.[5] ?? op?.output; + return this.resolveMiddlewareWithContext(stack, configuration, options, { + CommandCtor: CommandRef, + middlewareFn: closure._middlewareFn, + clientName: closure._clientName, + commandName: closure._commandName, + inputFilterSensitiveLog: closure._inputFilterSensitiveLog ?? (op ? schemaLogFilter.bind(null, input) : (_) => _), + outputFilterSensitiveLog: closure._outputFilterSensitiveLog ?? (op ? schemaLogFilter.bind(null, output) : (_) => _), + smithyContext: closure._smithyContext, + additionalContext: closure._additionalContext, + }); + } + serialize = closure._serializer; + deserialize = closure._deserializer; + }); + } +} diff --git a/node_modules/@smithy/smithy-client/dist-es/constants.js b/node_modules/@smithy/smithy-client/dist-es/constants.js new file mode 100644 index 0000000..9b193d7 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/constants.js @@ -0,0 +1 @@ +export const SENSITIVE_STRING = "***SensitiveInformation***"; diff --git a/node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js b/node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js new file mode 100644 index 0000000..2ac667a --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js @@ -0,0 +1,47 @@ +export const createAggregatedClient = (commands, Client, options) => { + for (const [command, CommandCtor] of Object.entries(commands)) { + const methodImpl = async function (args, optionsOrCb, cb) { + const command = new CommandCtor(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } + else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") + throw new Error(`Expected http options but got ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } + else { + return this.send(command, optionsOrCb); + } + }; + const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, ""); + Client.prototype[methodName] = methodImpl; + } + const { paginators = {}, waiters = {} } = options ?? {}; + for (const [paginatorName, paginatorFn] of Object.entries(paginators)) { + if (Client.prototype[paginatorName] === void 0) { + Client.prototype[paginatorName] = function (commandInput = {}, paginationConfiguration, ...rest) { + return paginatorFn({ + ...paginationConfiguration, + client: this, + }, commandInput, ...rest); + }; + } + } + for (const [waiterName, waiterFn] of Object.entries(waiters)) { + if (Client.prototype[waiterName] === void 0) { + Client.prototype[waiterName] = async function (commandInput = {}, waiterConfiguration, ...rest) { + let config = waiterConfiguration; + if (typeof waiterConfiguration === "number") { + config = { + maxWaitTime: waiterConfiguration, + }; + } + return waiterFn({ + ...config, + client: this, + }, commandInput, ...rest); + }; + } + } +}; diff --git a/node_modules/@smithy/smithy-client/dist-es/default-error-handler.js b/node_modules/@smithy/smithy-client/dist-es/default-error-handler.js new file mode 100644 index 0000000..7da1091 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/default-error-handler.js @@ -0,0 +1,22 @@ +import { decorateServiceException } from "./exceptions"; +export const throwDefaultError = ({ output, parsedBody, exceptionCtor, errorCode }) => { + const $metadata = deserializeMetadata(output); + const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined; + const response = new exceptionCtor({ + name: parsedBody?.code || parsedBody?.Code || errorCode || statusCode || "UnknownError", + $fault: "client", + $metadata, + }); + throw decorateServiceException(response, parsedBody); +}; +export const withBaseException = (ExceptionCtor) => { + return ({ output, parsedBody, errorCode }) => { + throwDefaultError({ output, parsedBody, exceptionCtor: ExceptionCtor, errorCode }); + }; +}; +const deserializeMetadata = (output) => ({ + httpStatusCode: output.statusCode, + requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], + extendedRequestId: output.headers["x-amz-id-2"], + cfId: output.headers["x-amz-cf-id"], +}); diff --git a/node_modules/@smithy/smithy-client/dist-es/defaults-mode.js b/node_modules/@smithy/smithy-client/dist-es/defaults-mode.js new file mode 100644 index 0000000..f19079c --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/defaults-mode.js @@ -0,0 +1,26 @@ +export const loadConfigsForDefaultMode = (mode) => { + switch (mode) { + case "standard": + return { + retryMode: "standard", + connectionTimeout: 3100, + }; + case "in-region": + return { + retryMode: "standard", + connectionTimeout: 1100, + }; + case "cross-region": + return { + retryMode: "standard", + connectionTimeout: 3100, + }; + case "mobile": + return { + retryMode: "standard", + connectionTimeout: 30000, + }; + default: + return {}; + } +}; diff --git a/node_modules/@smithy/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js b/node_modules/@smithy/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js new file mode 100644 index 0000000..7b30893 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js @@ -0,0 +1,6 @@ +let warningEmitted = false; +export const emitWarningIfUnsupportedVersion = (version) => { + if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) { + warningEmitted = true; + } +}; diff --git a/node_modules/@smithy/smithy-client/dist-es/exceptions.js b/node_modules/@smithy/smithy-client/dist-es/exceptions.js new file mode 100644 index 0000000..88c062e --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/exceptions.js @@ -0,0 +1,50 @@ +export class ServiceException extends Error { + $fault; + $response; + $retryable; + $metadata; + constructor(options) { + super(options.message); + Object.setPrototypeOf(this, Object.getPrototypeOf(this).constructor.prototype); + this.name = options.name; + this.$fault = options.$fault; + this.$metadata = options.$metadata; + } + static isInstance(value) { + if (!value) + return false; + const candidate = value; + return (ServiceException.prototype.isPrototypeOf(candidate) || + (Boolean(candidate.$fault) && + Boolean(candidate.$metadata) && + (candidate.$fault === "client" || candidate.$fault === "server"))); + } + static [Symbol.hasInstance](instance) { + if (!instance) + return false; + const candidate = instance; + if (this === ServiceException) { + return ServiceException.isInstance(instance); + } + if (ServiceException.isInstance(instance)) { + if (candidate.name && this.name) { + return this.prototype.isPrototypeOf(instance) || candidate.name === this.name; + } + return this.prototype.isPrototypeOf(instance); + } + return false; + } +} +export const decorateServiceException = (exception, additions = {}) => { + Object.entries(additions) + .filter(([, v]) => v !== undefined) + .forEach(([k, v]) => { + if (exception[k] == undefined || exception[k] === "") { + exception[k] = v; + } + }); + const message = exception.message || exception.Message || "UnknownError"; + exception.message = message; + delete exception.Message; + return exception; +}; diff --git a/node_modules/@smithy/smithy-client/dist-es/extended-encode-uri-component.js b/node_modules/@smithy/smithy-client/dist-es/extended-encode-uri-component.js new file mode 100644 index 0000000..cb4f991 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/extended-encode-uri-component.js @@ -0,0 +1 @@ +export { extendedEncodeURIComponent } from "@smithy/core/protocols"; diff --git a/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js b/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js new file mode 100644 index 0000000..2b4b50b --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js @@ -0,0 +1,49 @@ +import { AlgorithmId } from "@smithy/types"; +export { AlgorithmId }; +const knownAlgorithms = Object.values(AlgorithmId); +export const getChecksumConfiguration = (runtimeConfig) => { + const checksumAlgorithms = []; + for (const id in AlgorithmId) { + const algorithmId = AlgorithmId[id]; + if (runtimeConfig[algorithmId] === undefined) { + continue; + } + checksumAlgorithms.push({ + algorithmId: () => algorithmId, + checksumConstructor: () => runtimeConfig[algorithmId], + }); + } + for (const [id, ChecksumCtor] of Object.entries(runtimeConfig.checksumAlgorithms ?? {})) { + checksumAlgorithms.push({ + algorithmId: () => id, + checksumConstructor: () => ChecksumCtor, + }); + } + return { + addChecksumAlgorithm(algo) { + runtimeConfig.checksumAlgorithms = runtimeConfig.checksumAlgorithms ?? {}; + const id = algo.algorithmId(); + const ctor = algo.checksumConstructor(); + if (knownAlgorithms.includes(id)) { + runtimeConfig.checksumAlgorithms[id.toUpperCase()] = ctor; + } + else { + runtimeConfig.checksumAlgorithms[id] = ctor; + } + checksumAlgorithms.push(algo); + }, + checksumAlgorithms() { + return checksumAlgorithms; + }, + }; +}; +export const resolveChecksumRuntimeConfig = (clientConfig) => { + const runtimeConfig = {}; + clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => { + const id = checksumAlgorithm.algorithmId(); + if (knownAlgorithms.includes(id)) { + runtimeConfig[id] = checksumAlgorithm.checksumConstructor(); + } + }); + return runtimeConfig; +}; diff --git a/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js b/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js new file mode 100644 index 0000000..272cd3a --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js @@ -0,0 +1,9 @@ +import { getChecksumConfiguration, resolveChecksumRuntimeConfig } from "./checksum"; +import { getRetryConfiguration, resolveRetryRuntimeConfig } from "./retry"; +export const getDefaultExtensionConfiguration = (runtimeConfig) => { + return Object.assign(getChecksumConfiguration(runtimeConfig), getRetryConfiguration(runtimeConfig)); +}; +export const getDefaultClientConfiguration = getDefaultExtensionConfiguration; +export const resolveDefaultRuntimeConfig = (config) => { + return Object.assign(resolveChecksumRuntimeConfig(config), resolveRetryRuntimeConfig(config)); +}; diff --git a/node_modules/@smithy/smithy-client/dist-es/extensions/index.js b/node_modules/@smithy/smithy-client/dist-es/extensions/index.js new file mode 100644 index 0000000..f1b8074 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/extensions/index.js @@ -0,0 +1 @@ +export * from "./defaultExtensionConfiguration"; diff --git a/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js b/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js new file mode 100644 index 0000000..2c18b0a --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js @@ -0,0 +1,15 @@ +export const getRetryConfiguration = (runtimeConfig) => { + return { + setRetryStrategy(retryStrategy) { + runtimeConfig.retryStrategy = retryStrategy; + }, + retryStrategy() { + return runtimeConfig.retryStrategy; + }, + }; +}; +export const resolveRetryRuntimeConfig = (retryStrategyConfiguration) => { + const runtimeConfig = {}; + runtimeConfig.retryStrategy = retryStrategyConfiguration.retryStrategy(); + return runtimeConfig; +}; diff --git a/node_modules/@smithy/smithy-client/dist-es/get-array-if-single-item.js b/node_modules/@smithy/smithy-client/dist-es/get-array-if-single-item.js new file mode 100644 index 0000000..25d9432 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/get-array-if-single-item.js @@ -0,0 +1 @@ +export const getArrayIfSingleItem = (mayBeArray) => Array.isArray(mayBeArray) ? mayBeArray : [mayBeArray]; diff --git a/node_modules/@smithy/smithy-client/dist-es/get-value-from-text-node.js b/node_modules/@smithy/smithy-client/dist-es/get-value-from-text-node.js new file mode 100644 index 0000000..aa0f827 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/get-value-from-text-node.js @@ -0,0 +1,12 @@ +export const getValueFromTextNode = (obj) => { + const textNodeName = "#text"; + for (const key in obj) { + if (obj.hasOwnProperty(key) && obj[key][textNodeName] !== undefined) { + obj[key] = obj[key][textNodeName]; + } + else if (typeof obj[key] === "object" && obj[key] !== null) { + obj[key] = getValueFromTextNode(obj[key]); + } + } + return obj; +}; diff --git a/node_modules/@smithy/smithy-client/dist-es/index.js b/node_modules/@smithy/smithy-client/dist-es/index.js new file mode 100644 index 0000000..7dbe607 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/index.js @@ -0,0 +1,20 @@ +export * from "./client"; +export * from "./collect-stream-body"; +export * from "./command"; +export * from "./constants"; +export * from "./create-aggregated-client"; +export * from "./default-error-handler"; +export * from "./defaults-mode"; +export * from "./emitWarningIfUnsupportedVersion"; +export * from "./exceptions"; +export * from "./extended-encode-uri-component"; +export * from "./extensions"; +export * from "./get-array-if-single-item"; +export * from "./get-value-from-text-node"; +export * from "./is-serializable-header-value"; +export * from "./NoOpLogger"; +export * from "./object-mapping"; +export * from "./resolve-path"; +export * from "./ser-utils"; +export * from "./serde-json"; +export * from "@smithy/core/serde"; diff --git a/node_modules/@smithy/smithy-client/dist-es/is-serializable-header-value.js b/node_modules/@smithy/smithy-client/dist-es/is-serializable-header-value.js new file mode 100644 index 0000000..cb117ca --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/is-serializable-header-value.js @@ -0,0 +1,3 @@ +export const isSerializableHeaderValue = (value) => { + return value != null; +}; diff --git a/node_modules/@smithy/smithy-client/dist-es/object-mapping.js b/node_modules/@smithy/smithy-client/dist-es/object-mapping.js new file mode 100644 index 0000000..84a1f26 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/object-mapping.js @@ -0,0 +1,92 @@ +export function map(arg0, arg1, arg2) { + let target; + let filter; + let instructions; + if (typeof arg1 === "undefined" && typeof arg2 === "undefined") { + target = {}; + instructions = arg0; + } + else { + target = arg0; + if (typeof arg1 === "function") { + filter = arg1; + instructions = arg2; + return mapWithFilter(target, filter, instructions); + } + else { + instructions = arg1; + } + } + for (const key of Object.keys(instructions)) { + if (!Array.isArray(instructions[key])) { + target[key] = instructions[key]; + continue; + } + applyInstruction(target, null, instructions, key); + } + return target; +} +export const convertMap = (target) => { + const output = {}; + for (const [k, v] of Object.entries(target || {})) { + output[k] = [, v]; + } + return output; +}; +export const take = (source, instructions) => { + const out = {}; + for (const key in instructions) { + applyInstruction(out, source, instructions, key); + } + return out; +}; +const mapWithFilter = (target, filter, instructions) => { + return map(target, Object.entries(instructions).reduce((_instructions, [key, value]) => { + if (Array.isArray(value)) { + _instructions[key] = value; + } + else { + if (typeof value === "function") { + _instructions[key] = [filter, value()]; + } + else { + _instructions[key] = [filter, value]; + } + } + return _instructions; + }, {})); +}; +const applyInstruction = (target, source, instructions, targetKey) => { + if (source !== null) { + let instruction = instructions[targetKey]; + if (typeof instruction === "function") { + instruction = [, instruction]; + } + const [filter = nonNullish, valueFn = pass, sourceKey = targetKey] = instruction; + if ((typeof filter === "function" && filter(source[sourceKey])) || (typeof filter !== "function" && !!filter)) { + target[targetKey] = valueFn(source[sourceKey]); + } + return; + } + let [filter, value] = instructions[targetKey]; + if (typeof value === "function") { + let _value; + const defaultFilterPassed = filter === undefined && (_value = value()) != null; + const customFilterPassed = (typeof filter === "function" && !!filter(void 0)) || (typeof filter !== "function" && !!filter); + if (defaultFilterPassed) { + target[targetKey] = _value; + } + else if (customFilterPassed) { + target[targetKey] = value(); + } + } + else { + const defaultFilterPassed = filter === undefined && value != null; + const customFilterPassed = (typeof filter === "function" && !!filter(value)) || (typeof filter !== "function" && !!filter); + if (defaultFilterPassed || customFilterPassed) { + target[targetKey] = value; + } + } +}; +const nonNullish = (_) => _ != null; +const pass = (_) => _; diff --git a/node_modules/@smithy/smithy-client/dist-es/resolve-path.js b/node_modules/@smithy/smithy-client/dist-es/resolve-path.js new file mode 100644 index 0000000..6c70cb3 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/resolve-path.js @@ -0,0 +1 @@ +export { resolvedPath } from "@smithy/core/protocols"; diff --git a/node_modules/@smithy/smithy-client/dist-es/schemaLogFilter.js b/node_modules/@smithy/smithy-client/dist-es/schemaLogFilter.js new file mode 100644 index 0000000..b00f557 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/schemaLogFilter.js @@ -0,0 +1,34 @@ +import { NormalizedSchema } from "@smithy/core/schema"; +const SENSITIVE_STRING = "***SensitiveInformation***"; +export function schemaLogFilter(schema, data) { + if (data == null) { + return data; + } + const ns = NormalizedSchema.of(schema); + if (ns.getMergedTraits().sensitive) { + return SENSITIVE_STRING; + } + if (ns.isListSchema()) { + const isSensitive = !!ns.getValueSchema().getMergedTraits().sensitive; + if (isSensitive) { + return SENSITIVE_STRING; + } + } + else if (ns.isMapSchema()) { + const isSensitive = !!ns.getKeySchema().getMergedTraits().sensitive || !!ns.getValueSchema().getMergedTraits().sensitive; + if (isSensitive) { + return SENSITIVE_STRING; + } + } + else if (ns.isStructSchema() && typeof data === "object") { + const object = data; + const newObject = {}; + for (const [member, memberNs] of ns.structIterator()) { + if (object[member] != null) { + newObject[member] = schemaLogFilter(memberNs, object[member]); + } + } + return newObject; + } + return data; +} diff --git a/node_modules/@smithy/smithy-client/dist-es/ser-utils.js b/node_modules/@smithy/smithy-client/dist-es/ser-utils.js new file mode 100644 index 0000000..207437f --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/ser-utils.js @@ -0,0 +1,14 @@ +export const serializeFloat = (value) => { + if (value !== value) { + return "NaN"; + } + switch (value) { + case Infinity: + return "Infinity"; + case -Infinity: + return "-Infinity"; + default: + return value; + } +}; +export const serializeDateTime = (date) => date.toISOString().replace(".000Z", "Z"); diff --git a/node_modules/@smithy/smithy-client/dist-es/serde-json.js b/node_modules/@smithy/smithy-client/dist-es/serde-json.js new file mode 100644 index 0000000..babb7c1 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-es/serde-json.js @@ -0,0 +1,19 @@ +export const _json = (obj) => { + if (obj == null) { + return {}; + } + if (Array.isArray(obj)) { + return obj.filter((_) => _ != null).map(_json); + } + if (typeof obj === "object") { + const target = {}; + for (const key of Object.keys(obj)) { + if (obj[key] == null) { + continue; + } + target[key] = _json(obj[key]); + } + return target; + } + return obj; +}; diff --git a/node_modules/@smithy/smithy-client/dist-types/NoOpLogger.d.ts b/node_modules/@smithy/smithy-client/dist-types/NoOpLogger.d.ts new file mode 100644 index 0000000..789fdd2 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/NoOpLogger.d.ts @@ -0,0 +1,11 @@ +import type { Logger } from "@smithy/types"; +/** + * @internal + */ +export declare class NoOpLogger implements Logger { + trace(): void; + debug(): void; + info(): void; + warn(): void; + error(): void; +} diff --git a/node_modules/@smithy/smithy-client/dist-types/client.d.ts b/node_modules/@smithy/smithy-client/dist-types/client.d.ts new file mode 100644 index 0000000..09e505a --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/client.d.ts @@ -0,0 +1,87 @@ +import type { $ClientProtocol, $ClientProtocolCtor, Client as IClient, ClientProtocol, ClientProtocolCtor, Command, FetchHttpHandlerOptions, MetadataBearer, MiddlewareStack, NodeHttpHandlerOptions, RequestHandler } from "@smithy/types"; +/** + * @public + */ +export interface SmithyConfiguration { + /** + * @public + */ + requestHandler: RequestHandler | NodeHttpHandlerOptions | FetchHttpHandlerOptions | Record; + /** + * @public + * + * Default false. + * + * When true, the client will only resolve the middleware stack once per + * Command class. This means modifying the middlewareStack of the + * command or client after requests have been made will not be + * recognized. + * + * Calling client.destroy() also clears this cache. + * + * Enable this only if needing the additional time saved (0-1ms per request) + * and not needing middleware modifications between requests. + */ + cacheMiddleware?: boolean; + /** + * A client request/response protocol or constructor of one. + * A protocol in this context is not e.g. https. + * It is the combined implementation of how to (de)serialize and create + * the messages (e.g. http requests/responses) that are being exchanged. + * + * @public + */ + protocol?: ClientProtocol | $ClientProtocol | ClientProtocolCtor | $ClientProtocolCtor; + /** + * These are automatically generated and will be passed to the + * config.protocol if given as a constructor. + * @internal + */ + protocolSettings?: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + /** + * The API version set internally by the SDK, and is + * not planned to be used by customer code. + * @internal + */ + readonly apiVersion: string; +} +/** + * @internal + */ +export type SmithyResolvedConfiguration = { + requestHandler: RequestHandler; + cacheMiddleware?: boolean; + protocol?: ClientProtocol | $ClientProtocol; + protocolSettings?: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + readonly apiVersion: string; +}; +/** + * @public + */ +export declare class Client> implements IClient { + readonly config: ResolvedClientConfiguration; + middlewareStack: MiddlewareStack; + /** + * Holds an object reference to the initial configuration object. + * Used to check that the config resolver stack does not create + * dangling instances of an intermediate form of the configuration object. + * + * @internal + */ + initConfig?: object; + /** + * May be used to cache the resolved handler function for a Command class. + */ + private handlers?; + constructor(config: ResolvedClientConfiguration); + send(command: Command>, options?: HandlerOptions): Promise; + send(command: Command>, cb: (err: any, data?: OutputType) => void): void; + send(command: Command>, options: HandlerOptions, cb: (err: any, data?: OutputType) => void): void; + destroy(): void; +} diff --git a/node_modules/@smithy/smithy-client/dist-types/collect-stream-body.d.ts b/node_modules/@smithy/smithy-client/dist-types/collect-stream-body.d.ts new file mode 100644 index 0000000..33378b8 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/collect-stream-body.d.ts @@ -0,0 +1,5 @@ +/** + * @internal + * Backwards compatibility re-export. + */ +export { collectBody } from "@smithy/core/protocols"; diff --git a/node_modules/@smithy/smithy-client/dist-types/command.d.ts b/node_modules/@smithy/smithy-client/dist-types/command.d.ts new file mode 100644 index 0000000..2c4bab7 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/command.d.ts @@ -0,0 +1,119 @@ +import type { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import type { Command as ICommand, Handler, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, Logger, MetadataBearer, MiddlewareStack as IMiddlewareStack, OperationSchema, OptionalParameter, Pluggable, RequestHandler, SerdeContext, StaticOperationSchema } from "@smithy/types"; +/** + * @public + */ +export declare abstract class Command implements ICommand { + abstract input: Input; + readonly middlewareStack: IMiddlewareStack; + readonly schema?: OperationSchema | StaticOperationSchema; + /** + * Factory for Command ClassBuilder. + * @internal + */ + static classBuilder; + }, SI extends object = any, SO extends MetadataBearer = any>(): ClassBuilder; + abstract resolveMiddleware(stack: IMiddlewareStack, configuration: ResolvedClientConfiguration, options: any): Handler; + /** + * @internal + */ + resolveMiddlewareWithContext(clientStack: IMiddlewareStack, configuration: { + logger: Logger; + requestHandler: RequestHandler; + }, options: any, { middlewareFn, clientName, commandName, inputFilterSensitiveLog, outputFilterSensitiveLog, smithyContext, additionalContext, CommandCtor, }: ResolveMiddlewareContextArgs): import("@smithy/types").InitializeHandler; +} +/** + * @internal + */ +type ResolveMiddlewareContextArgs = { + middlewareFn: (CommandCtor: any, clientStack: any, config: any, options: any) => Pluggable[]; + clientName: string; + commandName: string; + smithyContext: Record; + additionalContext: HandlerExecutionContext; + inputFilterSensitiveLog: (_: any) => any; + outputFilterSensitiveLog: (_: any) => any; + CommandCtor: any; +}; +/** + * @internal + */ +declare class ClassBuilder; +}, SI extends object = any, SO extends MetadataBearer = any> { + private _init; + private _ep; + private _middlewareFn; + private _commandName; + private _clientName; + private _additionalContext; + private _smithyContext; + private _inputFilterSensitiveLog; + private _outputFilterSensitiveLog; + private _serializer; + private _deserializer; + private _operationSchema?; + /** + * Optional init callback. + */ + init(cb: (_: Command) => void): void; + /** + * Set the endpoint parameter instructions. + */ + ep(endpointParameterInstructions: EndpointParameterInstructions): ClassBuilder; + /** + * Add any number of middleware. + */ + m(middlewareSupplier: (CommandCtor: any, clientStack: any, config: any, options: any) => Pluggable[]): ClassBuilder; + /** + * Set the initial handler execution context Smithy field. + */ + s(service: string, operation: string, smithyContext?: Record): ClassBuilder; + /** + * Set the initial handler execution context. + */ + c(additionalContext?: HandlerExecutionContext): ClassBuilder; + /** + * Set constant string identifiers for the operation. + */ + n(clientName: string, commandName: string): ClassBuilder; + /** + * Set the input and output sensistive log filters. + */ + f(inputFilter?: (_: any) => any, outputFilter?: (_: any) => any): ClassBuilder; + /** + * Sets the serializer. + */ + ser(serializer: (input: I, context?: SerdeContext | any) => Promise): ClassBuilder; + /** + * Sets the deserializer. + */ + de(deserializer: (output: IHttpResponse, context?: SerdeContext | any) => Promise): ClassBuilder; + /** + * Sets input/output schema for the operation. + */ + sc(operation: OperationSchema | StaticOperationSchema): ClassBuilder; + /** + * @returns a Command class with the classBuilder properties. + */ + build(): { + new (input: I): CommandImpl; + new (...[input]: OptionalParameter): CommandImpl; + getEndpointParameterInstructions(): EndpointParameterInstructions; + }; +} +/** + * A concrete implementation of ICommand with no abstract members. + * @public + */ +export interface CommandImpl; +}, SI extends object = any, SO extends MetadataBearer = any> extends Command { + readonly input: I; + resolveMiddleware(stack: IMiddlewareStack, configuration: C, options: any): Handler; +} +export {}; diff --git a/node_modules/@smithy/smithy-client/dist-types/constants.d.ts b/node_modules/@smithy/smithy-client/dist-types/constants.d.ts new file mode 100644 index 0000000..c17e1c8 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/constants.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const SENSITIVE_STRING = "***SensitiveInformation***"; diff --git a/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts b/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts new file mode 100644 index 0000000..aa15a20 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts @@ -0,0 +1,18 @@ +import type { Client } from "./client"; +/** + * @internal + * + * @param commands - command lookup container. + * @param Client - client instance on which to add aggregated methods. + * @param options + * @param options.paginators - paginator functions. + * @param options.waiters - waiter functions. + * + * @returns an aggregated client with dynamically created methods. + */ +export declare const createAggregatedClient: (commands: Record, Client: { + new (...args: any): Client; +}, options?: { + paginators?: Record; + waiters?: Record; +}) => void; diff --git a/node_modules/@smithy/smithy-client/dist-types/default-error-handler.d.ts b/node_modules/@smithy/smithy-client/dist-types/default-error-handler.d.ts new file mode 100644 index 0000000..995fbfc --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/default-error-handler.d.ts @@ -0,0 +1,15 @@ +/** + * Always throws an error with the given `exceptionCtor` and other arguments. + * This is only called from an error handling code path. + * + * @internal + */ +export declare const throwDefaultError: ({ output, parsedBody, exceptionCtor, errorCode }: any) => never; +/** + * @internal + * + * Creates {@link throwDefaultError} with bound ExceptionCtor. + */ +export declare const withBaseException: (ExceptionCtor: { + new (...args: any): any; +}) => any; diff --git a/node_modules/@smithy/smithy-client/dist-types/defaults-mode.d.ts b/node_modules/@smithy/smithy-client/dist-types/defaults-mode.d.ts new file mode 100644 index 0000000..1ddb6f0 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/defaults-mode.d.ts @@ -0,0 +1,28 @@ +/** + * @internal + */ +export declare const loadConfigsForDefaultMode: (mode: ResolvedDefaultsMode) => DefaultsModeConfigs; +/** + * Option determining how certain default configuration options are resolved in the SDK. It can be one of the value listed below: + * * `"standard"`:

The STANDARD mode provides the latest recommended default values that should be safe to run in most scenarios

Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK

+ * * `"in-region"`:

The IN_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services from within the same AWS region

Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK

+ * * `"cross-region"`:

The CROSS_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services in a different region

Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK

+ * * `"mobile"`:

The MOBILE mode builds on the standard mode and includes optimization tailored for mobile applications

Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK

+ * * `"auto"`:

The AUTO mode is an experimental mode that builds on the standard mode. The SDK will attempt to discover the execution environment to determine the appropriate settings automatically.

Note that the auto detection is heuristics-based and does not guarantee 100% accuracy. STANDARD mode will be used if the execution environment cannot be determined. The auto detection might query EC2 Instance Metadata service, which might introduce latency. Therefore we recommend choosing an explicit defaults_mode instead if startup latency is critical to your application

+ * * `"legacy"`:

The LEGACY mode provides default settings that vary per SDK and were used prior to establishment of defaults_mode

+ * + * @defaultValue "legacy" + */ +export type DefaultsMode = "standard" | "in-region" | "cross-region" | "mobile" | "auto" | "legacy"; +/** + * @internal + */ +export type ResolvedDefaultsMode = Exclude; +/** + * @internal + */ +export interface DefaultsModeConfigs { + retryMode?: string; + connectionTimeout?: number; + requestTimeout?: number; +} diff --git a/node_modules/@smithy/smithy-client/dist-types/emitWarningIfUnsupportedVersion.d.ts b/node_modules/@smithy/smithy-client/dist-types/emitWarningIfUnsupportedVersion.d.ts new file mode 100644 index 0000000..8fc02ce --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/emitWarningIfUnsupportedVersion.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + * + * Emits warning if the provided Node.js version string is pending deprecation. + * + * @param version - The Node.js version string. + */ +export declare const emitWarningIfUnsupportedVersion: (version: string) => void; diff --git a/node_modules/@smithy/smithy-client/dist-types/exceptions.d.ts b/node_modules/@smithy/smithy-client/dist-types/exceptions.d.ts new file mode 100644 index 0000000..614b3cb --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/exceptions.d.ts @@ -0,0 +1,42 @@ +import type { HttpResponse, MetadataBearer, ResponseMetadata, RetryableTrait, SmithyException } from "@smithy/types"; +/** + * The type of the exception class constructor parameter. The returned type contains the properties + * in the `ExceptionType` but not in the `BaseExceptionType`. If the `BaseExceptionType` contains + * `$metadata` and `message` properties, it's also included in the returned type. + * @internal + */ +export type ExceptionOptionType = Omit>; +/** + * @public + */ +export interface ServiceExceptionOptions extends SmithyException, MetadataBearer { + message?: string; +} +/** + * @public + * + * Base exception class for the exceptions from the server-side. + */ +export declare class ServiceException extends Error implements SmithyException, MetadataBearer { + readonly $fault: "client" | "server"; + $response?: HttpResponse; + $retryable?: RetryableTrait; + $metadata: ResponseMetadata; + constructor(options: ServiceExceptionOptions); + /** + * Checks if a value is an instance of ServiceException (duck typed) + */ + static isInstance(value: unknown): value is ServiceException; + /** + * Custom instanceof check to support the operator for ServiceException base class + */ + static [Symbol.hasInstance](instance: unknown): boolean; +} +/** + * This method inject unmodeled member to a deserialized SDK exception, + * and load the error message from different possible keys('message', + * 'Message'). + * + * @internal + */ +export declare const decorateServiceException: (exception: E, additions?: Record) => E; diff --git a/node_modules/@smithy/smithy-client/dist-types/extended-encode-uri-component.d.ts b/node_modules/@smithy/smithy-client/dist-types/extended-encode-uri-component.d.ts new file mode 100644 index 0000000..ced666a --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/extended-encode-uri-component.d.ts @@ -0,0 +1,5 @@ +/** + * @internal + * Backwards compatibility re-export. + */ +export { extendedEncodeURIComponent } from "@smithy/core/protocols"; diff --git a/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts b/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts new file mode 100644 index 0000000..6fa8c29 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts @@ -0,0 +1,26 @@ +import type { ChecksumAlgorithm, ChecksumConfiguration, ChecksumConstructor, HashConstructor } from "@smithy/types"; +import { AlgorithmId } from "@smithy/types"; +export { AlgorithmId, ChecksumAlgorithm, ChecksumConfiguration }; +/** + * @internal + */ +export type PartialChecksumRuntimeConfigType = { + checksumAlgorithms?: Record; + sha256?: ChecksumConstructor | HashConstructor; + md5?: ChecksumConstructor | HashConstructor; + crc32?: ChecksumConstructor | HashConstructor; + crc32c?: ChecksumConstructor | HashConstructor; + sha1?: ChecksumConstructor | HashConstructor; +}; +/** + * @param runtimeConfig - config object of the client instance. + * @internal + */ +export declare const getChecksumConfiguration: (runtimeConfig: PartialChecksumRuntimeConfigType) => { + addChecksumAlgorithm(algo: ChecksumAlgorithm): void; + checksumAlgorithms(): ChecksumAlgorithm[]; +}; +/** + * @internal + */ +export declare const resolveChecksumRuntimeConfig: (clientConfig: ChecksumConfiguration) => PartialChecksumRuntimeConfigType; diff --git a/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts b/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts new file mode 100644 index 0000000..6eb1ebb --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts @@ -0,0 +1,38 @@ +import type { DefaultExtensionConfiguration } from "@smithy/types"; +import type { PartialChecksumRuntimeConfigType } from "./checksum"; +import type { PartialRetryRuntimeConfigType } from "./retry"; +/** + * @internal + */ +export type DefaultExtensionRuntimeConfigType = PartialRetryRuntimeConfigType & PartialChecksumRuntimeConfigType; +/** + * @internal + * + * Helper function to resolve default extension configuration from runtime config + */ +export declare const getDefaultExtensionConfiguration: (runtimeConfig: DefaultExtensionRuntimeConfigType) => { + addChecksumAlgorithm(algo: import("@smithy/types").ChecksumAlgorithm): void; + checksumAlgorithms(): import("@smithy/types").ChecksumAlgorithm[]; +} & { + setRetryStrategy(retryStrategy: import("@smithy/types").Provider): void; + retryStrategy(): import("@smithy/types").Provider; +}; +/** + * @deprecated use getDefaultExtensionConfiguration + * @internal + * + * Helper function to resolve default extension configuration from runtime config + */ +export declare const getDefaultClientConfiguration: (runtimeConfig: DefaultExtensionRuntimeConfigType) => { + addChecksumAlgorithm(algo: import("@smithy/types").ChecksumAlgorithm): void; + checksumAlgorithms(): import("@smithy/types").ChecksumAlgorithm[]; +} & { + setRetryStrategy(retryStrategy: import("@smithy/types").Provider): void; + retryStrategy(): import("@smithy/types").Provider; +}; +/** + * @internal + * + * Helper function to resolve runtime config from default extension configuration + */ +export declare const resolveDefaultRuntimeConfig: (config: DefaultExtensionConfiguration) => DefaultExtensionRuntimeConfigType; diff --git a/node_modules/@smithy/smithy-client/dist-types/extensions/index.d.ts b/node_modules/@smithy/smithy-client/dist-types/extensions/index.d.ts new file mode 100644 index 0000000..f1b8074 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/extensions/index.d.ts @@ -0,0 +1 @@ +export * from "./defaultExtensionConfiguration"; diff --git a/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts b/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts new file mode 100644 index 0000000..72994aa --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts @@ -0,0 +1,18 @@ +import type { Provider, RetryStrategy, RetryStrategyConfiguration, RetryStrategyV2 } from "@smithy/types"; +/** + * @internal + */ +export type PartialRetryRuntimeConfigType = Partial<{ + retryStrategy: Provider; +}>; +/** + * @internal + */ +export declare const getRetryConfiguration: (runtimeConfig: PartialRetryRuntimeConfigType) => { + setRetryStrategy(retryStrategy: Provider): void; + retryStrategy(): Provider; +}; +/** + * @internal + */ +export declare const resolveRetryRuntimeConfig: (retryStrategyConfiguration: RetryStrategyConfiguration) => PartialRetryRuntimeConfigType; diff --git a/node_modules/@smithy/smithy-client/dist-types/get-array-if-single-item.d.ts b/node_modules/@smithy/smithy-client/dist-types/get-array-if-single-item.d.ts new file mode 100644 index 0000000..6468b91 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/get-array-if-single-item.d.ts @@ -0,0 +1,7 @@ +/** + * @internal + * + * The XML parser will set one K:V for a member that could + * return multiple entries but only has one. + */ +export declare const getArrayIfSingleItem: (mayBeArray: T) => T | T[]; diff --git a/node_modules/@smithy/smithy-client/dist-types/get-value-from-text-node.d.ts b/node_modules/@smithy/smithy-client/dist-types/get-value-from-text-node.d.ts new file mode 100644 index 0000000..7163e5a --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/get-value-from-text-node.d.ts @@ -0,0 +1,7 @@ +/** + * @internal + * + * Recursively parses object and populates value is node from + * "#text" key if it's available + */ +export declare const getValueFromTextNode: (obj: any) => any; diff --git a/node_modules/@smithy/smithy-client/dist-types/index.d.ts b/node_modules/@smithy/smithy-client/dist-types/index.d.ts new file mode 100644 index 0000000..666ce52 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/index.d.ts @@ -0,0 +1,21 @@ +export type { DocumentType, SdkError, SmithyException } from "@smithy/types"; +export * from "./client"; +export * from "./collect-stream-body"; +export * from "./command"; +export * from "./constants"; +export * from "./create-aggregated-client"; +export * from "./default-error-handler"; +export * from "./defaults-mode"; +export * from "./emitWarningIfUnsupportedVersion"; +export * from "./exceptions"; +export * from "./extended-encode-uri-component"; +export * from "./extensions"; +export * from "./get-array-if-single-item"; +export * from "./get-value-from-text-node"; +export * from "./is-serializable-header-value"; +export * from "./NoOpLogger"; +export * from "./object-mapping"; +export * from "./resolve-path"; +export * from "./ser-utils"; +export * from "./serde-json"; +export * from "@smithy/core/serde"; diff --git a/node_modules/@smithy/smithy-client/dist-types/is-serializable-header-value.d.ts b/node_modules/@smithy/smithy-client/dist-types/is-serializable-header-value.d.ts new file mode 100644 index 0000000..a35a23a --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/is-serializable-header-value.d.ts @@ -0,0 +1,5 @@ +/** + * @internal + * @returns whether the header value is serializable. + */ +export declare const isSerializableHeaderValue: (value: any) => boolean; diff --git a/node_modules/@smithy/smithy-client/dist-types/object-mapping.d.ts b/node_modules/@smithy/smithy-client/dist-types/object-mapping.d.ts new file mode 100644 index 0000000..97e28e5 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/object-mapping.d.ts @@ -0,0 +1,162 @@ +/** + * @internal + * + * A set of instructions for multiple keys. + * The aim is to provide a concise yet readable way to map and filter values + * onto a target object. + * + * @example + * ```javascript + * const example: ObjectMappingInstructions = { + * lazyValue1: [, () => 1], + * lazyValue2: [, () => 2], + * lazyValue3: [, () => 3], + * lazyConditionalValue1: [() => true, () => 4], + * lazyConditionalValue2: [() => true, () => 5], + * lazyConditionalValue3: [true, () => 6], + * lazyConditionalValue4: [false, () => 44], + * lazyConditionalValue5: [() => false, () => 55], + * lazyConditionalValue6: ["", () => 66], + * simpleValue1: [, 7], + * simpleValue2: [, 8], + * simpleValue3: [, 9], + * conditionalValue1: [() => true, 10], + * conditionalValue2: [() => true, 11], + * conditionalValue3: [{}, 12], + * conditionalValue4: [false, 110], + * conditionalValue5: [() => false, 121], + * conditionalValue6: ["", 132], + * }; + * + * const exampleResult: Record = { + * lazyValue1: 1, + * lazyValue2: 2, + * lazyValue3: 3, + * lazyConditionalValue1: 4, + * lazyConditionalValue2: 5, + * lazyConditionalValue3: 6, + * simpleValue1: 7, + * simpleValue2: 8, + * simpleValue3: 9, + * conditionalValue1: 10, + * conditionalValue2: 11, + * conditionalValue3: 12, + * }; + * ``` + */ +export type ObjectMappingInstructions = Record; +/** + * @internal + * + * A variant of the object mapping instruction for the `take` function. + * In this case, the source value is provided to the value function, turning it + * from a supplier into a mapper. + */ +export type SourceMappingInstructions = Record; +/** + * @internal + * + * An instruction set for assigning a value to a target object. + */ +export type ObjectMappingInstruction = LazyValueInstruction | ConditionalLazyValueInstruction | SimpleValueInstruction | ConditionalValueInstruction | UnfilteredValue; +/** + * @internal + * + * non-array + */ +export type UnfilteredValue = any; +/** + * @internal + */ +export type LazyValueInstruction = [FilterStatus, ValueSupplier]; +/** + * @internal + */ +export type ConditionalLazyValueInstruction = [FilterStatusSupplier, ValueSupplier]; +/** + * @internal + */ +export type SimpleValueInstruction = [FilterStatus, Value]; +/** + * @internal + */ +export type ConditionalValueInstruction = [ValueFilteringFunction, Value]; +/** + * @internal + */ +export type SourceMappingInstruction = [(ValueFilteringFunction | FilterStatus)?, ValueMapper?, string?]; +/** + * @internal + * + * Filter is considered passed if + * 1. It is a boolean true. + * 2. It is not undefined and is itself truthy. + * 3. It is undefined and the corresponding _value_ is neither null nor undefined. + */ +export type FilterStatus = boolean | unknown | void; +/** + * @internal + * + * Supplies the filter check but not against any value as input. + */ +export type FilterStatusSupplier = () => boolean; +/** + * @internal + * + * Filter check with the given value. + */ +export type ValueFilteringFunction = (value: any) => boolean; +/** + * @internal + * + * Supplies the value for lazy evaluation. + */ +export type ValueSupplier = () => any; +/** + * @internal + * + * A function that maps the source value to the target value. + * Defaults to pass-through with nullish check. + */ +export type ValueMapper = (value: any) => any; +/** + * @internal + * + * A non-function value. + */ +export type Value = any; +/** + * @internal + * Internal/Private, for codegen use only. + * + * Transfer a set of keys from [instructions] to [target]. + * + * For each instruction in the record, the target key will be the instruction key. + * The target assignment will be conditional on the instruction's filter. + * The target assigned value will be supplied by the instructions as an evaluable function or non-function value. + * + * @see ObjectMappingInstructions for an example. + */ +export declare function map(target: any, filter: (value: any) => boolean, instructions: Record): typeof target; +/** + * @internal + */ +export declare function map(instructions: ObjectMappingInstructions): any; +/** + * @internal + */ +export declare function map(target: any, instructions: ObjectMappingInstructions): typeof target; +/** + * Convert a regular object `{ k: v }` to `{ k: [, v] }` mapping instruction set with default + * filter. + * + * @internal + */ +export declare const convertMap: (target: any) => Record; +/** + * @param source - original object with data. + * @param instructions - how to map the data. + * @returns new object mapped from the source object. + * @internal + */ +export declare const take: (source: any, instructions: SourceMappingInstructions) => any; diff --git a/node_modules/@smithy/smithy-client/dist-types/resolve-path.d.ts b/node_modules/@smithy/smithy-client/dist-types/resolve-path.d.ts new file mode 100644 index 0000000..2a3204f --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/resolve-path.d.ts @@ -0,0 +1,5 @@ +/** + * @internal + * Backwards compatibility re-export. + */ +export { resolvedPath } from "@smithy/core/protocols"; diff --git a/node_modules/@smithy/smithy-client/dist-types/schemaLogFilter.d.ts b/node_modules/@smithy/smithy-client/dist-types/schemaLogFilter.d.ts new file mode 100644 index 0000000..696daef --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/schemaLogFilter.d.ts @@ -0,0 +1,9 @@ +import type { SchemaRef } from "@smithy/types"; +/** + * Redacts sensitive parts of any data object using its schema, for logging. + * + * @internal + * @param schema - with filtering traits. + * @param data - to be logged. + */ +export declare function schemaLogFilter(schema: SchemaRef, data: unknown): any; diff --git a/node_modules/@smithy/smithy-client/dist-types/ser-utils.d.ts b/node_modules/@smithy/smithy-client/dist-types/ser-utils.d.ts new file mode 100644 index 0000000..ae03c61 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ser-utils.d.ts @@ -0,0 +1,15 @@ +/** + * @internal + * + * Serializes a number, turning non-numeric values into strings. + * + * @param value - The number to serialize. + * @returns A number, or a string if the given number was non-numeric. + */ +export declare const serializeFloat: (value: number) => string | number; +/** + * @internal + * @param date - to be serialized. + * @returns https://smithy.io/2.0/spec/protocol-traits.html#timestampformat-trait date-time format. + */ +export declare const serializeDateTime: (date: Date) => string; diff --git a/node_modules/@smithy/smithy-client/dist-types/serde-json.d.ts b/node_modules/@smithy/smithy-client/dist-types/serde-json.d.ts new file mode 100644 index 0000000..96ac476 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/serde-json.d.ts @@ -0,0 +1,12 @@ +/** + * @internal + * + * Maps an object through the default JSON serde behavior. + * This means removing nullish fields and un-sparsifying lists. + * + * This is also used by Smithy RPCv2 CBOR as the default serde behavior. + * + * @param obj - to be checked. + * @returns same object with default serde behavior applied. + */ +export declare const _json: (obj: any) => any; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/NoOpLogger.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/NoOpLogger.d.ts new file mode 100644 index 0000000..93ebff4 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/NoOpLogger.d.ts @@ -0,0 +1,11 @@ +import { Logger } from "@smithy/types"; +/** + * @internal + */ +export declare class NoOpLogger implements Logger { + trace(): void; + debug(): void; + info(): void; + warn(): void; + error(): void; +} diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts new file mode 100644 index 0000000..8dca596 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts @@ -0,0 +1,87 @@ +import { $ClientProtocol, $ClientProtocolCtor, Client as IClient, ClientProtocol, ClientProtocolCtor, Command, FetchHttpHandlerOptions, MetadataBearer, MiddlewareStack, NodeHttpHandlerOptions, RequestHandler } from "@smithy/types"; +/** + * @public + */ +export interface SmithyConfiguration { + /** + * @public + */ + requestHandler: RequestHandler | NodeHttpHandlerOptions | FetchHttpHandlerOptions | Record; + /** + * @public + * + * Default false. + * + * When true, the client will only resolve the middleware stack once per + * Command class. This means modifying the middlewareStack of the + * command or client after requests have been made will not be + * recognized. + * + * Calling client.destroy() also clears this cache. + * + * Enable this only if needing the additional time saved (0-1ms per request) + * and not needing middleware modifications between requests. + */ + cacheMiddleware?: boolean; + /** + * A client request/response protocol or constructor of one. + * A protocol in this context is not e.g. https. + * It is the combined implementation of how to (de)serialize and create + * the messages (e.g. http requests/responses) that are being exchanged. + * + * @public + */ + protocol?: ClientProtocol | $ClientProtocol | ClientProtocolCtor | $ClientProtocolCtor; + /** + * These are automatically generated and will be passed to the + * config.protocol if given as a constructor. + * @internal + */ + protocolSettings?: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + /** + * The API version set internally by the SDK, and is + * not planned to be used by customer code. + * @internal + */ + readonly apiVersion: string; +} +/** + * @internal + */ +export type SmithyResolvedConfiguration = { + requestHandler: RequestHandler; + cacheMiddleware?: boolean; + protocol?: ClientProtocol | $ClientProtocol; + protocolSettings?: { + defaultNamespace?: string; + [setting: string]: unknown; + }; + readonly apiVersion: string; +}; +/** + * @public + */ +export declare class Client> implements IClient { + readonly config: ResolvedClientConfiguration; + middlewareStack: MiddlewareStack; + /** + * Holds an object reference to the initial configuration object. + * Used to check that the config resolver stack does not create + * dangling instances of an intermediate form of the configuration object. + * + * @internal + */ + initConfig?: object; + /** + * May be used to cache the resolved handler function for a Command class. + */ + private handlers?; + constructor(config: ResolvedClientConfiguration); + send(command: Command>, options?: HandlerOptions): Promise; + send(command: Command>, cb: (err: any, data?: OutputType) => void): void; + send(command: Command>, options: HandlerOptions, cb: (err: any, data?: OutputType) => void): void; + destroy(): void; +} diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/collect-stream-body.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/collect-stream-body.d.ts new file mode 100644 index 0000000..33378b8 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/collect-stream-body.d.ts @@ -0,0 +1,5 @@ +/** + * @internal + * Backwards compatibility re-export. + */ +export { collectBody } from "@smithy/core/protocols"; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts new file mode 100644 index 0000000..f77582f --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts @@ -0,0 +1,119 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as ICommand, Handler, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, Logger, MetadataBearer, MiddlewareStack as IMiddlewareStack, OperationSchema, OptionalParameter, Pluggable, RequestHandler, SerdeContext, StaticOperationSchema } from "@smithy/types"; +/** + * @public + */ +export declare abstract class Command implements ICommand { + abstract input: Input; + readonly middlewareStack: IMiddlewareStack; + readonly schema?: OperationSchema | StaticOperationSchema; + /** + * Factory for Command ClassBuilder. + * @internal + */ + static classBuilder; + }, SI extends object = any, SO extends MetadataBearer = any>(): ClassBuilder; + abstract resolveMiddleware(stack: IMiddlewareStack, configuration: ResolvedClientConfiguration, options: any): Handler; + /** + * @internal + */ + resolveMiddlewareWithContext(clientStack: IMiddlewareStack, configuration: { + logger: Logger; + requestHandler: RequestHandler; + }, options: any, { middlewareFn, clientName, commandName, inputFilterSensitiveLog, outputFilterSensitiveLog, smithyContext, additionalContext, CommandCtor, }: ResolveMiddlewareContextArgs): import("@smithy/types").InitializeHandler; +} +/** + * @internal + */ +type ResolveMiddlewareContextArgs = { + middlewareFn: (CommandCtor: any, clientStack: any, config: any, options: any) => Pluggable[]; + clientName: string; + commandName: string; + smithyContext: Record; + additionalContext: HandlerExecutionContext; + inputFilterSensitiveLog: (_: any) => any; + outputFilterSensitiveLog: (_: any) => any; + CommandCtor: any; +}; +/** + * @internal + */ +declare class ClassBuilder; +}, SI extends object = any, SO extends MetadataBearer = any> { + private _init; + private _ep; + private _middlewareFn; + private _commandName; + private _clientName; + private _additionalContext; + private _smithyContext; + private _inputFilterSensitiveLog; + private _outputFilterSensitiveLog; + private _serializer; + private _deserializer; + private _operationSchema?; + /** + * Optional init callback. + */ + init(cb: (_: Command) => void): void; + /** + * Set the endpoint parameter instructions. + */ + ep(endpointParameterInstructions: EndpointParameterInstructions): ClassBuilder; + /** + * Add any number of middleware. + */ + m(middlewareSupplier: (CommandCtor: any, clientStack: any, config: any, options: any) => Pluggable[]): ClassBuilder; + /** + * Set the initial handler execution context Smithy field. + */ + s(service: string, operation: string, smithyContext?: Record): ClassBuilder; + /** + * Set the initial handler execution context. + */ + c(additionalContext?: HandlerExecutionContext): ClassBuilder; + /** + * Set constant string identifiers for the operation. + */ + n(clientName: string, commandName: string): ClassBuilder; + /** + * Set the input and output sensistive log filters. + */ + f(inputFilter?: (_: any) => any, outputFilter?: (_: any) => any): ClassBuilder; + /** + * Sets the serializer. + */ + ser(serializer: (input: I, context?: SerdeContext | any) => Promise): ClassBuilder; + /** + * Sets the deserializer. + */ + de(deserializer: (output: IHttpResponse, context?: SerdeContext | any) => Promise): ClassBuilder; + /** + * Sets input/output schema for the operation. + */ + sc(operation: OperationSchema | StaticOperationSchema): ClassBuilder; + /** + * @returns a Command class with the classBuilder properties. + */ + build(): { + new (input: I): CommandImpl; + new (...[input]: OptionalParameter): CommandImpl; + getEndpointParameterInstructions(): EndpointParameterInstructions; + }; +} +/** + * A concrete implementation of ICommand with no abstract members. + * @public + */ +export interface CommandImpl; +}, SI extends object = any, SO extends MetadataBearer = any> extends Command { + readonly input: I; + resolveMiddleware(stack: IMiddlewareStack, configuration: C, options: any): Handler; +} +export {}; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/constants.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/constants.d.ts new file mode 100644 index 0000000..c17e1c8 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/constants.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const SENSITIVE_STRING = "***SensitiveInformation***"; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts new file mode 100644 index 0000000..96c8dfc --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts @@ -0,0 +1,18 @@ +import { Client } from "./client"; +/** + * @internal + * + * @param commands - command lookup container. + * @param Client - client instance on which to add aggregated methods. + * @param options + * @param options.paginators - paginator functions. + * @param options.waiters - waiter functions. + * + * @returns an aggregated client with dynamically created methods. + */ +export declare const createAggregatedClient: (commands: Record, Client: { + new (...args: any): Client; +}, options?: { + paginators?: Record; + waiters?: Record; +}) => void; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/default-error-handler.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/default-error-handler.d.ts new file mode 100644 index 0000000..995fbfc --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/default-error-handler.d.ts @@ -0,0 +1,15 @@ +/** + * Always throws an error with the given `exceptionCtor` and other arguments. + * This is only called from an error handling code path. + * + * @internal + */ +export declare const throwDefaultError: ({ output, parsedBody, exceptionCtor, errorCode }: any) => never; +/** + * @internal + * + * Creates {@link throwDefaultError} with bound ExceptionCtor. + */ +export declare const withBaseException: (ExceptionCtor: { + new (...args: any): any; +}) => any; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/defaults-mode.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/defaults-mode.d.ts new file mode 100644 index 0000000..1ddb6f0 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/defaults-mode.d.ts @@ -0,0 +1,28 @@ +/** + * @internal + */ +export declare const loadConfigsForDefaultMode: (mode: ResolvedDefaultsMode) => DefaultsModeConfigs; +/** + * Option determining how certain default configuration options are resolved in the SDK. It can be one of the value listed below: + * * `"standard"`:

The STANDARD mode provides the latest recommended default values that should be safe to run in most scenarios

Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK

+ * * `"in-region"`:

The IN_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services from within the same AWS region

Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK

+ * * `"cross-region"`:

The CROSS_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services in a different region

Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK

+ * * `"mobile"`:

The MOBILE mode builds on the standard mode and includes optimization tailored for mobile applications

Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK

+ * * `"auto"`:

The AUTO mode is an experimental mode that builds on the standard mode. The SDK will attempt to discover the execution environment to determine the appropriate settings automatically.

Note that the auto detection is heuristics-based and does not guarantee 100% accuracy. STANDARD mode will be used if the execution environment cannot be determined. The auto detection might query EC2 Instance Metadata service, which might introduce latency. Therefore we recommend choosing an explicit defaults_mode instead if startup latency is critical to your application

+ * * `"legacy"`:

The LEGACY mode provides default settings that vary per SDK and were used prior to establishment of defaults_mode

+ * + * @defaultValue "legacy" + */ +export type DefaultsMode = "standard" | "in-region" | "cross-region" | "mobile" | "auto" | "legacy"; +/** + * @internal + */ +export type ResolvedDefaultsMode = Exclude; +/** + * @internal + */ +export interface DefaultsModeConfigs { + retryMode?: string; + connectionTimeout?: number; + requestTimeout?: number; +} diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/emitWarningIfUnsupportedVersion.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/emitWarningIfUnsupportedVersion.d.ts new file mode 100644 index 0000000..8fc02ce --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/emitWarningIfUnsupportedVersion.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + * + * Emits warning if the provided Node.js version string is pending deprecation. + * + * @param version - The Node.js version string. + */ +export declare const emitWarningIfUnsupportedVersion: (version: string) => void; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/exceptions.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/exceptions.d.ts new file mode 100644 index 0000000..e1724ed --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/exceptions.d.ts @@ -0,0 +1,42 @@ +import { HttpResponse, MetadataBearer, ResponseMetadata, RetryableTrait, SmithyException } from "@smithy/types"; +/** + * The type of the exception class constructor parameter. The returned type contains the properties + * in the `ExceptionType` but not in the `BaseExceptionType`. If the `BaseExceptionType` contains + * `$metadata` and `message` properties, it's also included in the returned type. + * @internal + */ +export type ExceptionOptionType = Pick>>; +/** + * @public + */ +export interface ServiceExceptionOptions extends SmithyException, MetadataBearer { + message?: string; +} +/** + * @public + * + * Base exception class for the exceptions from the server-side. + */ +export declare class ServiceException extends Error implements SmithyException, MetadataBearer { + readonly $fault: "client" | "server"; + $response?: HttpResponse; + $retryable?: RetryableTrait; + $metadata: ResponseMetadata; + constructor(options: ServiceExceptionOptions); + /** + * Checks if a value is an instance of ServiceException (duck typed) + */ + static isInstance(value: unknown): value is ServiceException; + /** + * Custom instanceof check to support the operator for ServiceException base class + */ + static [Symbol.hasInstance](instance: unknown): boolean; +} +/** + * This method inject unmodeled member to a deserialized SDK exception, + * and load the error message from different possible keys('message', + * 'Message'). + * + * @internal + */ +export declare const decorateServiceException: (exception: E, additions?: Record) => E; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/extended-encode-uri-component.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/extended-encode-uri-component.d.ts new file mode 100644 index 0000000..ced666a --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/extended-encode-uri-component.d.ts @@ -0,0 +1,5 @@ +/** + * @internal + * Backwards compatibility re-export. + */ +export { extendedEncodeURIComponent } from "@smithy/core/protocols"; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts new file mode 100644 index 0000000..ae0fbd9 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts @@ -0,0 +1,26 @@ +import { ChecksumAlgorithm, ChecksumConfiguration, ChecksumConstructor, HashConstructor } from "@smithy/types"; +import { AlgorithmId } from "@smithy/types"; +export { AlgorithmId, ChecksumAlgorithm, ChecksumConfiguration }; +/** + * @internal + */ +export type PartialChecksumRuntimeConfigType = { + checksumAlgorithms?: Record; + sha256?: ChecksumConstructor | HashConstructor; + md5?: ChecksumConstructor | HashConstructor; + crc32?: ChecksumConstructor | HashConstructor; + crc32c?: ChecksumConstructor | HashConstructor; + sha1?: ChecksumConstructor | HashConstructor; +}; +/** + * @param runtimeConfig - config object of the client instance. + * @internal + */ +export declare const getChecksumConfiguration: (runtimeConfig: PartialChecksumRuntimeConfigType) => { + addChecksumAlgorithm(algo: ChecksumAlgorithm): void; + checksumAlgorithms(): ChecksumAlgorithm[]; +}; +/** + * @internal + */ +export declare const resolveChecksumRuntimeConfig: (clientConfig: ChecksumConfiguration) => PartialChecksumRuntimeConfigType; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts new file mode 100644 index 0000000..576ec2e --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts @@ -0,0 +1,38 @@ +import { DefaultExtensionConfiguration } from "@smithy/types"; +import { PartialChecksumRuntimeConfigType } from "./checksum"; +import { PartialRetryRuntimeConfigType } from "./retry"; +/** + * @internal + */ +export type DefaultExtensionRuntimeConfigType = PartialRetryRuntimeConfigType & PartialChecksumRuntimeConfigType; +/** + * @internal + * + * Helper function to resolve default extension configuration from runtime config + */ +export declare const getDefaultExtensionConfiguration: (runtimeConfig: DefaultExtensionRuntimeConfigType) => { + addChecksumAlgorithm(algo: import("@smithy/types").ChecksumAlgorithm): void; + checksumAlgorithms(): import("@smithy/types").ChecksumAlgorithm[]; +} & { + setRetryStrategy(retryStrategy: import("@smithy/types").Provider): void; + retryStrategy(): import("@smithy/types").Provider; +}; +/** + * @deprecated use getDefaultExtensionConfiguration + * @internal + * + * Helper function to resolve default extension configuration from runtime config + */ +export declare const getDefaultClientConfiguration: (runtimeConfig: DefaultExtensionRuntimeConfigType) => { + addChecksumAlgorithm(algo: import("@smithy/types").ChecksumAlgorithm): void; + checksumAlgorithms(): import("@smithy/types").ChecksumAlgorithm[]; +} & { + setRetryStrategy(retryStrategy: import("@smithy/types").Provider): void; + retryStrategy(): import("@smithy/types").Provider; +}; +/** + * @internal + * + * Helper function to resolve runtime config from default extension configuration + */ +export declare const resolveDefaultRuntimeConfig: (config: DefaultExtensionConfiguration) => DefaultExtensionRuntimeConfigType; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/index.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/index.d.ts new file mode 100644 index 0000000..f1b8074 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/index.d.ts @@ -0,0 +1 @@ +export * from "./defaultExtensionConfiguration"; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/retry.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/retry.d.ts new file mode 100644 index 0000000..6e28827 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/retry.d.ts @@ -0,0 +1,18 @@ +import { Provider, RetryStrategy, RetryStrategyConfiguration, RetryStrategyV2 } from "@smithy/types"; +/** + * @internal + */ +export type PartialRetryRuntimeConfigType = Partial<{ + retryStrategy: Provider; +}>; +/** + * @internal + */ +export declare const getRetryConfiguration: (runtimeConfig: PartialRetryRuntimeConfigType) => { + setRetryStrategy(retryStrategy: Provider): void; + retryStrategy(): Provider; +}; +/** + * @internal + */ +export declare const resolveRetryRuntimeConfig: (retryStrategyConfiguration: RetryStrategyConfiguration) => PartialRetryRuntimeConfigType; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-array-if-single-item.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-array-if-single-item.d.ts new file mode 100644 index 0000000..6468b91 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-array-if-single-item.d.ts @@ -0,0 +1,7 @@ +/** + * @internal + * + * The XML parser will set one K:V for a member that could + * return multiple entries but only has one. + */ +export declare const getArrayIfSingleItem: (mayBeArray: T) => T | T[]; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-value-from-text-node.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-value-from-text-node.d.ts new file mode 100644 index 0000000..7163e5a --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-value-from-text-node.d.ts @@ -0,0 +1,7 @@ +/** + * @internal + * + * Recursively parses object and populates value is node from + * "#text" key if it's available + */ +export declare const getValueFromTextNode: (obj: any) => any; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..1f8d0bf --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts @@ -0,0 +1,21 @@ +export { DocumentType, SdkError, SmithyException } from "@smithy/types"; +export * from "./client"; +export * from "./collect-stream-body"; +export * from "./command"; +export * from "./constants"; +export * from "./create-aggregated-client"; +export * from "./default-error-handler"; +export * from "./defaults-mode"; +export * from "./emitWarningIfUnsupportedVersion"; +export * from "./exceptions"; +export * from "./extended-encode-uri-component"; +export * from "./extensions"; +export * from "./get-array-if-single-item"; +export * from "./get-value-from-text-node"; +export * from "./is-serializable-header-value"; +export * from "./NoOpLogger"; +export * from "./object-mapping"; +export * from "./resolve-path"; +export * from "./ser-utils"; +export * from "./serde-json"; +export * from "@smithy/core/serde"; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/is-serializable-header-value.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/is-serializable-header-value.d.ts new file mode 100644 index 0000000..a35a23a --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/is-serializable-header-value.d.ts @@ -0,0 +1,5 @@ +/** + * @internal + * @returns whether the header value is serializable. + */ +export declare const isSerializableHeaderValue: (value: any) => boolean; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/object-mapping.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/object-mapping.d.ts new file mode 100644 index 0000000..c20bf49 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/object-mapping.d.ts @@ -0,0 +1,178 @@ +/** + * @internal + * + * A set of instructions for multiple keys. + * The aim is to provide a concise yet readable way to map and filter values + * onto a target object. + * + * @example + * ```javascript + * const example: ObjectMappingInstructions = { + * lazyValue1: [, () => 1], + * lazyValue2: [, () => 2], + * lazyValue3: [, () => 3], + * lazyConditionalValue1: [() => true, () => 4], + * lazyConditionalValue2: [() => true, () => 5], + * lazyConditionalValue3: [true, () => 6], + * lazyConditionalValue4: [false, () => 44], + * lazyConditionalValue5: [() => false, () => 55], + * lazyConditionalValue6: ["", () => 66], + * simpleValue1: [, 7], + * simpleValue2: [, 8], + * simpleValue3: [, 9], + * conditionalValue1: [() => true, 10], + * conditionalValue2: [() => true, 11], + * conditionalValue3: [{}, 12], + * conditionalValue4: [false, 110], + * conditionalValue5: [() => false, 121], + * conditionalValue6: ["", 132], + * }; + * + * const exampleResult: Record = { + * lazyValue1: 1, + * lazyValue2: 2, + * lazyValue3: 3, + * lazyConditionalValue1: 4, + * lazyConditionalValue2: 5, + * lazyConditionalValue3: 6, + * simpleValue1: 7, + * simpleValue2: 8, + * simpleValue3: 9, + * conditionalValue1: 10, + * conditionalValue2: 11, + * conditionalValue3: 12, + * }; + * ``` + */ +export type ObjectMappingInstructions = Record; +/** + * @internal + * + * A variant of the object mapping instruction for the `take` function. + * In this case, the source value is provided to the value function, turning it + * from a supplier into a mapper. + */ +export type SourceMappingInstructions = Record; +/** + * @internal + * + * An instruction set for assigning a value to a target object. + */ +export type ObjectMappingInstruction = LazyValueInstruction | ConditionalLazyValueInstruction | SimpleValueInstruction | ConditionalValueInstruction | UnfilteredValue; +/** + * @internal + * + * non-array + */ +export type UnfilteredValue = any; +/** + * @internal + */ +export type LazyValueInstruction = [ + FilterStatus, + ValueSupplier +]; +/** + * @internal + */ +export type ConditionalLazyValueInstruction = [ + FilterStatusSupplier, + ValueSupplier +]; +/** + * @internal + */ +export type SimpleValueInstruction = [ + FilterStatus, + Value +]; +/** + * @internal + */ +export type ConditionalValueInstruction = [ + ValueFilteringFunction, + Value +]; +/** + * @internal + */ +export type SourceMappingInstruction = [ + (ValueFilteringFunction | FilterStatus)?, + ValueMapper?, + string? +]; +/** + * @internal + * + * Filter is considered passed if + * 1. It is a boolean true. + * 2. It is not undefined and is itself truthy. + * 3. It is undefined and the corresponding _value_ is neither null nor undefined. + */ +export type FilterStatus = boolean | unknown | void; +/** + * @internal + * + * Supplies the filter check but not against any value as input. + */ +export type FilterStatusSupplier = () => boolean; +/** + * @internal + * + * Filter check with the given value. + */ +export type ValueFilteringFunction = (value: any) => boolean; +/** + * @internal + * + * Supplies the value for lazy evaluation. + */ +export type ValueSupplier = () => any; +/** + * @internal + * + * A function that maps the source value to the target value. + * Defaults to pass-through with nullish check. + */ +export type ValueMapper = (value: any) => any; +/** + * @internal + * + * A non-function value. + */ +export type Value = any; +/** + * @internal + * Internal/Private, for codegen use only. + * + * Transfer a set of keys from [instructions] to [target]. + * + * For each instruction in the record, the target key will be the instruction key. + * The target assignment will be conditional on the instruction's filter. + * The target assigned value will be supplied by the instructions as an evaluable function or non-function value. + * + * @see ObjectMappingInstructions for an example. + */ +export declare function map(target: any, filter: (value: any) => boolean, instructions: Record): typeof target; +/** + * @internal + */ +export declare function map(instructions: ObjectMappingInstructions): any; +/** + * @internal + */ +export declare function map(target: any, instructions: ObjectMappingInstructions): typeof target; +/** + * Convert a regular object `{ k: v }` to `{ k: [, v] }` mapping instruction set with default + * filter. + * + * @internal + */ +export declare const convertMap: (target: any) => Record; +/** + * @param source - original object with data. + * @param instructions - how to map the data. + * @returns new object mapped from the source object. + * @internal + */ +export declare const take: (source: any, instructions: SourceMappingInstructions) => any; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/resolve-path.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/resolve-path.d.ts new file mode 100644 index 0000000..2a3204f --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/resolve-path.d.ts @@ -0,0 +1,5 @@ +/** + * @internal + * Backwards compatibility re-export. + */ +export { resolvedPath } from "@smithy/core/protocols"; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/schemaLogFilter.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/schemaLogFilter.d.ts new file mode 100644 index 0000000..858eb9c --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/schemaLogFilter.d.ts @@ -0,0 +1,9 @@ +import { SchemaRef } from "@smithy/types"; +/** + * Redacts sensitive parts of any data object using its schema, for logging. + * + * @internal + * @param schema - with filtering traits. + * @param data - to be logged. + */ +export declare function schemaLogFilter(schema: SchemaRef, data: unknown): any; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/ser-utils.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/ser-utils.d.ts new file mode 100644 index 0000000..ae03c61 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/ser-utils.d.ts @@ -0,0 +1,15 @@ +/** + * @internal + * + * Serializes a number, turning non-numeric values into strings. + * + * @param value - The number to serialize. + * @returns A number, or a string if the given number was non-numeric. + */ +export declare const serializeFloat: (value: number) => string | number; +/** + * @internal + * @param date - to be serialized. + * @returns https://smithy.io/2.0/spec/protocol-traits.html#timestampformat-trait date-time format. + */ +export declare const serializeDateTime: (date: Date) => string; diff --git a/node_modules/@smithy/smithy-client/dist-types/ts3.4/serde-json.d.ts b/node_modules/@smithy/smithy-client/dist-types/ts3.4/serde-json.d.ts new file mode 100644 index 0000000..96ac476 --- /dev/null +++ b/node_modules/@smithy/smithy-client/dist-types/ts3.4/serde-json.d.ts @@ -0,0 +1,12 @@ +/** + * @internal + * + * Maps an object through the default JSON serde behavior. + * This means removing nullish fields and un-sparsifying lists. + * + * This is also used by Smithy RPCv2 CBOR as the default serde behavior. + * + * @param obj - to be checked. + * @returns same object with default serde behavior applied. + */ +export declare const _json: (obj: any) => any; diff --git a/node_modules/@smithy/smithy-client/package.json b/node_modules/@smithy/smithy-client/package.json new file mode 100644 index 0000000..4b728d1 --- /dev/null +++ b/node_modules/@smithy/smithy-client/package.json @@ -0,0 +1,70 @@ +{ + "name": "@smithy/smithy-client", + "version": "4.12.8", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline smithy-client", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "extract:docs": "node ./scripts/fix-api-extractor && api-extractor run --local && node ./scripts/fix-api-extractor --unset", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/core": "^3.23.13", + "@smithy/middleware-endpoint": "^4.4.28", + "@smithy/middleware-stack": "^4.2.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-stream": "^4.5.21", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/smithy-client", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/smithy-client" + }, + "devDependencies": { + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/types/LICENSE b/node_modules/@smithy/types/LICENSE new file mode 100644 index 0000000..e907b58 --- /dev/null +++ b/node_modules/@smithy/types/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@smithy/types/README.md b/node_modules/@smithy/types/README.md new file mode 100644 index 0000000..7ab3ccd --- /dev/null +++ b/node_modules/@smithy/types/README.md @@ -0,0 +1,115 @@ +# @smithy/types + +[![NPM version](https://img.shields.io/npm/v/@smithy/types/latest.svg)](https://www.npmjs.com/package/@smithy/types) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/types.svg)](https://www.npmjs.com/package/@smithy/types) + +## Usage + +This package is mostly used internally by generated clients. +Some public components have independent applications. + +--- + +### Scenario: Removing `| undefined` from input and output structures + +Generated shapes' members are unioned with `undefined` for +input shapes, and are `?` (optional) for output shapes. + +- for inputs, this defers the validation to the service. +- for outputs, this strongly suggests that you should runtime-check the output data. + +If you would like to skip these steps, use the `AssertiveClient` or +`UncheckedClient` type helpers. + +Using AWS S3 as an example: + +```ts +import { S3 } from "@aws-sdk/client-s3"; +import type { AssertiveClient, UncheckedClient } from "@smithy/types"; + +const s3a = new S3({}) as AssertiveClient; +const s3b = new S3({}) as UncheckedClient; + +// AssertiveClient enforces required inputs are not undefined +// and required outputs are not undefined. +const get = await s3a.getObject({ + Bucket: "", + // @ts-expect-error (undefined not assignable to string) + Key: undefined, +}); + +// UncheckedClient makes output fields non-nullable. +// You should still perform type checks as you deem +// necessary, but the SDK will no longer prompt you +// with nullability errors. +const body = await ( + await s3b.getObject({ + Bucket: "", + Key: "", + }) +).Body.transformToString(); +``` + +When using the transform on non-aggregated client with the `Command` syntax, +the input cannot be validated because it goes through another class. + +```ts +import { S3Client, ListBucketsCommand, GetObjectCommand, GetObjectCommandInput } from "@aws-sdk/client-s3"; +import type { AssertiveClient, UncheckedClient, NoUndefined } from "@smithy/types"; + +const s3 = new S3Client({}) as UncheckedClient; + +const list = await s3.send( + new ListBucketsCommand({ + // command inputs are not validated by the type transform. + // because this is a separate class. + }) +); + +/** + * Although less ergonomic, you can use the NoUndefined + * transform on the input type. + */ +const getObjectInput: NoUndefined = { + Bucket: "undefined", + // @ts-expect-error (undefined not assignable to string) + Key: undefined, + // optional params can still be undefined. + SSECustomerAlgorithm: undefined, +}; + +const get = s3.send(new GetObjectCommand(getObjectInput)); + +// outputs are still transformed. +await get.Body.TransformToString(); +``` + +### Scenario: Narrowing a smithy-typescript generated client's output payload blob types + +This is mostly relevant to operations with streaming bodies such as within +the S3Client in the AWS SDK for JavaScript v3. + +Because blob payload types are platform dependent, you may wish to indicate in your application that a client is running in a specific +environment. This narrows the blob payload types. + +```typescript +import { GetObjectCommand, S3Client } from "@aws-sdk/client-s3"; +import type { NodeJsClient, SdkStream, StreamingBlobPayloadOutputTypes } from "@smithy/types"; +import type { IncomingMessage } from "node:http"; + +// default client init. +const s3Default = new S3Client({}); + +// client init with type narrowing. +const s3NarrowType = new S3Client({}) as NodeJsClient; + +// The default type of blob payloads is a wide union type including multiple possible +// request handlers. +const body1: StreamingBlobPayloadOutputTypes = (await s3Default.send(new GetObjectCommand({ Key: "", Bucket: "" }))) + .Body!; + +// This is of the narrower type SdkStream representing +// blob payload responses using specifically the node:http request handler. +const body2: SdkStream = (await s3NarrowType.send(new GetObjectCommand({ Key: "", Bucket: "" }))) + .Body!; +``` diff --git a/node_modules/@smithy/types/dist-cjs/index.js b/node_modules/@smithy/types/dist-cjs/index.js new file mode 100644 index 0000000..be6d0e1 --- /dev/null +++ b/node_modules/@smithy/types/dist-cjs/index.js @@ -0,0 +1,91 @@ +'use strict'; + +exports.HttpAuthLocation = void 0; +(function (HttpAuthLocation) { + HttpAuthLocation["HEADER"] = "header"; + HttpAuthLocation["QUERY"] = "query"; +})(exports.HttpAuthLocation || (exports.HttpAuthLocation = {})); + +exports.HttpApiKeyAuthLocation = void 0; +(function (HttpApiKeyAuthLocation) { + HttpApiKeyAuthLocation["HEADER"] = "header"; + HttpApiKeyAuthLocation["QUERY"] = "query"; +})(exports.HttpApiKeyAuthLocation || (exports.HttpApiKeyAuthLocation = {})); + +exports.EndpointURLScheme = void 0; +(function (EndpointURLScheme) { + EndpointURLScheme["HTTP"] = "http"; + EndpointURLScheme["HTTPS"] = "https"; +})(exports.EndpointURLScheme || (exports.EndpointURLScheme = {})); + +exports.AlgorithmId = void 0; +(function (AlgorithmId) { + AlgorithmId["MD5"] = "md5"; + AlgorithmId["CRC32"] = "crc32"; + AlgorithmId["CRC32C"] = "crc32c"; + AlgorithmId["SHA1"] = "sha1"; + AlgorithmId["SHA256"] = "sha256"; +})(exports.AlgorithmId || (exports.AlgorithmId = {})); +const getChecksumConfiguration = (runtimeConfig) => { + const checksumAlgorithms = []; + if (runtimeConfig.sha256 !== undefined) { + checksumAlgorithms.push({ + algorithmId: () => exports.AlgorithmId.SHA256, + checksumConstructor: () => runtimeConfig.sha256, + }); + } + if (runtimeConfig.md5 != undefined) { + checksumAlgorithms.push({ + algorithmId: () => exports.AlgorithmId.MD5, + checksumConstructor: () => runtimeConfig.md5, + }); + } + return { + addChecksumAlgorithm(algo) { + checksumAlgorithms.push(algo); + }, + checksumAlgorithms() { + return checksumAlgorithms; + }, + }; +}; +const resolveChecksumRuntimeConfig = (clientConfig) => { + const runtimeConfig = {}; + clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => { + runtimeConfig[checksumAlgorithm.algorithmId()] = checksumAlgorithm.checksumConstructor(); + }); + return runtimeConfig; +}; + +const getDefaultClientConfiguration = (runtimeConfig) => { + return getChecksumConfiguration(runtimeConfig); +}; +const resolveDefaultRuntimeConfig = (config) => { + return resolveChecksumRuntimeConfig(config); +}; + +exports.FieldPosition = void 0; +(function (FieldPosition) { + FieldPosition[FieldPosition["HEADER"] = 0] = "HEADER"; + FieldPosition[FieldPosition["TRAILER"] = 1] = "TRAILER"; +})(exports.FieldPosition || (exports.FieldPosition = {})); + +const SMITHY_CONTEXT_KEY = "__smithy_context"; + +exports.IniSectionType = void 0; +(function (IniSectionType) { + IniSectionType["PROFILE"] = "profile"; + IniSectionType["SSO_SESSION"] = "sso-session"; + IniSectionType["SERVICES"] = "services"; +})(exports.IniSectionType || (exports.IniSectionType = {})); + +exports.RequestHandlerProtocol = void 0; +(function (RequestHandlerProtocol) { + RequestHandlerProtocol["HTTP_0_9"] = "http/0.9"; + RequestHandlerProtocol["HTTP_1_0"] = "http/1.0"; + RequestHandlerProtocol["TDS_8_0"] = "tds/8.0"; +})(exports.RequestHandlerProtocol || (exports.RequestHandlerProtocol = {})); + +exports.SMITHY_CONTEXT_KEY = SMITHY_CONTEXT_KEY; +exports.getDefaultClientConfiguration = getDefaultClientConfiguration; +exports.resolveDefaultRuntimeConfig = resolveDefaultRuntimeConfig; diff --git a/node_modules/@smithy/types/dist-es/abort-handler.js b/node_modules/@smithy/types/dist-es/abort-handler.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/abort-handler.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/abort.js b/node_modules/@smithy/types/dist-es/abort.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/abort.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js b/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js new file mode 100644 index 0000000..4c02f24 --- /dev/null +++ b/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js @@ -0,0 +1,5 @@ +export var HttpApiKeyAuthLocation; +(function (HttpApiKeyAuthLocation) { + HttpApiKeyAuthLocation["HEADER"] = "header"; + HttpApiKeyAuthLocation["QUERY"] = "query"; +})(HttpApiKeyAuthLocation || (HttpApiKeyAuthLocation = {})); diff --git a/node_modules/@smithy/types/dist-es/auth/HttpAuthScheme.js b/node_modules/@smithy/types/dist-es/auth/HttpAuthScheme.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/auth/HttpAuthScheme.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js b/node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/auth/HttpSigner.js b/node_modules/@smithy/types/dist-es/auth/HttpSigner.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/auth/HttpSigner.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js b/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/auth/auth.js b/node_modules/@smithy/types/dist-es/auth/auth.js new file mode 100644 index 0000000..bd3b2df --- /dev/null +++ b/node_modules/@smithy/types/dist-es/auth/auth.js @@ -0,0 +1,5 @@ +export var HttpAuthLocation; +(function (HttpAuthLocation) { + HttpAuthLocation["HEADER"] = "header"; + HttpAuthLocation["QUERY"] = "query"; +})(HttpAuthLocation || (HttpAuthLocation = {})); diff --git a/node_modules/@smithy/types/dist-es/auth/index.js b/node_modules/@smithy/types/dist-es/auth/index.js new file mode 100644 index 0000000..7436030 --- /dev/null +++ b/node_modules/@smithy/types/dist-es/auth/index.js @@ -0,0 +1,6 @@ +export * from "./auth"; +export * from "./HttpApiKeyAuth"; +export * from "./HttpAuthScheme"; +export * from "./HttpAuthSchemeProvider"; +export * from "./HttpSigner"; +export * from "./IdentityProviderConfig"; diff --git a/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js b/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/checksum.js b/node_modules/@smithy/types/dist-es/checksum.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/checksum.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/client.js b/node_modules/@smithy/types/dist-es/client.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/client.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/command.js b/node_modules/@smithy/types/dist-es/command.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/command.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/connection/config.js b/node_modules/@smithy/types/dist-es/connection/config.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/connection/config.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/connection/index.js b/node_modules/@smithy/types/dist-es/connection/index.js new file mode 100644 index 0000000..c6c3ea8 --- /dev/null +++ b/node_modules/@smithy/types/dist-es/connection/index.js @@ -0,0 +1,3 @@ +export * from "./config"; +export * from "./manager"; +export * from "./pool"; diff --git a/node_modules/@smithy/types/dist-es/connection/manager.js b/node_modules/@smithy/types/dist-es/connection/manager.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/connection/manager.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/connection/pool.js b/node_modules/@smithy/types/dist-es/connection/pool.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/connection/pool.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/crypto.js b/node_modules/@smithy/types/dist-es/crypto.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/crypto.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/downlevel-ts3.4/transform/type-transform.js b/node_modules/@smithy/types/dist-es/downlevel-ts3.4/transform/type-transform.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/downlevel-ts3.4/transform/type-transform.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/encode.js b/node_modules/@smithy/types/dist-es/encode.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/encode.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/endpoint.js b/node_modules/@smithy/types/dist-es/endpoint.js new file mode 100644 index 0000000..4ae601f --- /dev/null +++ b/node_modules/@smithy/types/dist-es/endpoint.js @@ -0,0 +1,5 @@ +export var EndpointURLScheme; +(function (EndpointURLScheme) { + EndpointURLScheme["HTTP"] = "http"; + EndpointURLScheme["HTTPS"] = "https"; +})(EndpointURLScheme || (EndpointURLScheme = {})); diff --git a/node_modules/@smithy/types/dist-es/endpoints/EndpointRuleObject.js b/node_modules/@smithy/types/dist-es/endpoints/EndpointRuleObject.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/endpoints/EndpointRuleObject.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/endpoints/ErrorRuleObject.js b/node_modules/@smithy/types/dist-es/endpoints/ErrorRuleObject.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/endpoints/ErrorRuleObject.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/endpoints/RuleSetObject.js b/node_modules/@smithy/types/dist-es/endpoints/RuleSetObject.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/endpoints/RuleSetObject.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/endpoints/TreeRuleObject.js b/node_modules/@smithy/types/dist-es/endpoints/TreeRuleObject.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/endpoints/TreeRuleObject.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/endpoints/index.js b/node_modules/@smithy/types/dist-es/endpoints/index.js new file mode 100644 index 0000000..64d85cf --- /dev/null +++ b/node_modules/@smithy/types/dist-es/endpoints/index.js @@ -0,0 +1,5 @@ +export * from "./EndpointRuleObject"; +export * from "./ErrorRuleObject"; +export * from "./RuleSetObject"; +export * from "./shared"; +export * from "./TreeRuleObject"; diff --git a/node_modules/@smithy/types/dist-es/endpoints/shared.js b/node_modules/@smithy/types/dist-es/endpoints/shared.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/endpoints/shared.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/eventStream.js b/node_modules/@smithy/types/dist-es/eventStream.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/eventStream.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/extensions/checksum.js b/node_modules/@smithy/types/dist-es/extensions/checksum.js new file mode 100644 index 0000000..5a7939e --- /dev/null +++ b/node_modules/@smithy/types/dist-es/extensions/checksum.js @@ -0,0 +1,38 @@ +export var AlgorithmId; +(function (AlgorithmId) { + AlgorithmId["MD5"] = "md5"; + AlgorithmId["CRC32"] = "crc32"; + AlgorithmId["CRC32C"] = "crc32c"; + AlgorithmId["SHA1"] = "sha1"; + AlgorithmId["SHA256"] = "sha256"; +})(AlgorithmId || (AlgorithmId = {})); +export const getChecksumConfiguration = (runtimeConfig) => { + const checksumAlgorithms = []; + if (runtimeConfig.sha256 !== undefined) { + checksumAlgorithms.push({ + algorithmId: () => AlgorithmId.SHA256, + checksumConstructor: () => runtimeConfig.sha256, + }); + } + if (runtimeConfig.md5 != undefined) { + checksumAlgorithms.push({ + algorithmId: () => AlgorithmId.MD5, + checksumConstructor: () => runtimeConfig.md5, + }); + } + return { + addChecksumAlgorithm(algo) { + checksumAlgorithms.push(algo); + }, + checksumAlgorithms() { + return checksumAlgorithms; + }, + }; +}; +export const resolveChecksumRuntimeConfig = (clientConfig) => { + const runtimeConfig = {}; + clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => { + runtimeConfig[checksumAlgorithm.algorithmId()] = checksumAlgorithm.checksumConstructor(); + }); + return runtimeConfig; +}; diff --git a/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js b/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js new file mode 100644 index 0000000..4e3eb91 --- /dev/null +++ b/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js @@ -0,0 +1,7 @@ +import { getChecksumConfiguration, resolveChecksumRuntimeConfig } from "./checksum"; +export const getDefaultClientConfiguration = (runtimeConfig) => { + return getChecksumConfiguration(runtimeConfig); +}; +export const resolveDefaultRuntimeConfig = (config) => { + return resolveChecksumRuntimeConfig(config); +}; diff --git a/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js b/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/extensions/index.js b/node_modules/@smithy/types/dist-es/extensions/index.js new file mode 100644 index 0000000..0fa92d9 --- /dev/null +++ b/node_modules/@smithy/types/dist-es/extensions/index.js @@ -0,0 +1,3 @@ +export * from "./defaultClientConfiguration"; +export * from "./defaultExtensionConfiguration"; +export { AlgorithmId } from "./checksum"; diff --git a/node_modules/@smithy/types/dist-es/extensions/retry.js b/node_modules/@smithy/types/dist-es/extensions/retry.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/extensions/retry.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js b/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/feature-ids.js b/node_modules/@smithy/types/dist-es/feature-ids.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/feature-ids.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/http.js b/node_modules/@smithy/types/dist-es/http.js new file mode 100644 index 0000000..27b22f0 --- /dev/null +++ b/node_modules/@smithy/types/dist-es/http.js @@ -0,0 +1,5 @@ +export var FieldPosition; +(function (FieldPosition) { + FieldPosition[FieldPosition["HEADER"] = 0] = "HEADER"; + FieldPosition[FieldPosition["TRAILER"] = 1] = "TRAILER"; +})(FieldPosition || (FieldPosition = {})); diff --git a/node_modules/@smithy/types/dist-es/http/httpHandlerInitialization.js b/node_modules/@smithy/types/dist-es/http/httpHandlerInitialization.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/http/httpHandlerInitialization.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js b/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/identity/awsCredentialIdentity.js b/node_modules/@smithy/types/dist-es/identity/awsCredentialIdentity.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/identity/awsCredentialIdentity.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/identity/identity.js b/node_modules/@smithy/types/dist-es/identity/identity.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/identity/identity.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/identity/index.js b/node_modules/@smithy/types/dist-es/identity/index.js new file mode 100644 index 0000000..3360320 --- /dev/null +++ b/node_modules/@smithy/types/dist-es/identity/index.js @@ -0,0 +1,4 @@ +export * from "./apiKeyIdentity"; +export * from "./awsCredentialIdentity"; +export * from "./identity"; +export * from "./tokenIdentity"; diff --git a/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js b/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/index.js b/node_modules/@smithy/types/dist-es/index.js new file mode 100644 index 0000000..2f1f25c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/index.js @@ -0,0 +1,43 @@ +export * from "./abort"; +export * from "./auth"; +export * from "./blob/blob-payload-input-types"; +export * from "./checksum"; +export * from "./client"; +export * from "./command"; +export * from "./connection"; +export * from "./crypto"; +export * from "./encode"; +export * from "./endpoint"; +export * from "./endpoints"; +export * from "./eventStream"; +export * from "./extensions"; +export * from "./feature-ids"; +export * from "./http"; +export * from "./http/httpHandlerInitialization"; +export * from "./identity"; +export * from "./logger"; +export * from "./middleware"; +export * from "./pagination"; +export * from "./profile"; +export * from "./response"; +export * from "./retry"; +export * from "./schema/schema"; +export * from "./schema/traits"; +export * from "./schema/schema-deprecated"; +export * from "./schema/sentinels"; +export * from "./schema/static-schemas"; +export * from "./serde"; +export * from "./shapes"; +export * from "./signature"; +export * from "./stream"; +export * from "./streaming-payload/streaming-blob-common-types"; +export * from "./streaming-payload/streaming-blob-payload-input-types"; +export * from "./streaming-payload/streaming-blob-payload-output-types"; +export * from "./transfer"; +export * from "./transform/client-payload-blob-type-narrow"; +export * from "./transform/mutable"; +export * from "./transform/no-undefined"; +export * from "./transform/type-transform"; +export * from "./uri"; +export * from "./util"; +export * from "./waiter"; diff --git a/node_modules/@smithy/types/dist-es/logger.js b/node_modules/@smithy/types/dist-es/logger.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/logger.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/middleware.js b/node_modules/@smithy/types/dist-es/middleware.js new file mode 100644 index 0000000..7d0d050 --- /dev/null +++ b/node_modules/@smithy/types/dist-es/middleware.js @@ -0,0 +1 @@ +export const SMITHY_CONTEXT_KEY = "__smithy_context"; diff --git a/node_modules/@smithy/types/dist-es/pagination.js b/node_modules/@smithy/types/dist-es/pagination.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/pagination.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/profile.js b/node_modules/@smithy/types/dist-es/profile.js new file mode 100644 index 0000000..9d56c8d --- /dev/null +++ b/node_modules/@smithy/types/dist-es/profile.js @@ -0,0 +1,6 @@ +export var IniSectionType; +(function (IniSectionType) { + IniSectionType["PROFILE"] = "profile"; + IniSectionType["SSO_SESSION"] = "sso-session"; + IniSectionType["SERVICES"] = "services"; +})(IniSectionType || (IniSectionType = {})); diff --git a/node_modules/@smithy/types/dist-es/response.js b/node_modules/@smithy/types/dist-es/response.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/response.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/retry.js b/node_modules/@smithy/types/dist-es/retry.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/retry.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/schema/schema-deprecated.js b/node_modules/@smithy/types/dist-es/schema/schema-deprecated.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/schema/schema-deprecated.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/schema/schema.js b/node_modules/@smithy/types/dist-es/schema/schema.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/schema/schema.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/schema/sentinels.js b/node_modules/@smithy/types/dist-es/schema/sentinels.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/schema/sentinels.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/schema/static-schemas.js b/node_modules/@smithy/types/dist-es/schema/static-schemas.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/schema/static-schemas.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/schema/traits.js b/node_modules/@smithy/types/dist-es/schema/traits.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/schema/traits.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/serde.js b/node_modules/@smithy/types/dist-es/serde.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/serde.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/shapes.js b/node_modules/@smithy/types/dist-es/shapes.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/shapes.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/signature.js b/node_modules/@smithy/types/dist-es/signature.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/signature.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/stream.js b/node_modules/@smithy/types/dist-es/stream.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/stream.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js b/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js b/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js b/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/transfer.js b/node_modules/@smithy/types/dist-es/transfer.js new file mode 100644 index 0000000..f776151 --- /dev/null +++ b/node_modules/@smithy/types/dist-es/transfer.js @@ -0,0 +1,6 @@ +export var RequestHandlerProtocol; +(function (RequestHandlerProtocol) { + RequestHandlerProtocol["HTTP_0_9"] = "http/0.9"; + RequestHandlerProtocol["HTTP_1_0"] = "http/1.0"; + RequestHandlerProtocol["TDS_8_0"] = "tds/8.0"; +})(RequestHandlerProtocol || (RequestHandlerProtocol = {})); diff --git a/node_modules/@smithy/types/dist-es/transform/client-method-transforms.js b/node_modules/@smithy/types/dist-es/transform/client-method-transforms.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/transform/client-method-transforms.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js b/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/transform/exact.js b/node_modules/@smithy/types/dist-es/transform/exact.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/transform/exact.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/transform/mutable.js b/node_modules/@smithy/types/dist-es/transform/mutable.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/transform/mutable.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/transform/no-undefined.js b/node_modules/@smithy/types/dist-es/transform/no-undefined.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/transform/no-undefined.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/transform/type-transform.js b/node_modules/@smithy/types/dist-es/transform/type-transform.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/transform/type-transform.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/uri.js b/node_modules/@smithy/types/dist-es/uri.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/uri.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/util.js b/node_modules/@smithy/types/dist-es/util.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/util.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-es/waiter.js b/node_modules/@smithy/types/dist-es/waiter.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/types/dist-es/waiter.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/types/dist-types/abort-handler.d.ts b/node_modules/@smithy/types/dist-types/abort-handler.d.ts new file mode 100644 index 0000000..09a0544 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/abort-handler.d.ts @@ -0,0 +1,7 @@ +import type { AbortSignal as DeprecatedAbortSignal } from "./abort"; +/** + * @public + */ +export interface AbortHandler { + (this: AbortSignal | DeprecatedAbortSignal, ev: any): any; +} diff --git a/node_modules/@smithy/types/dist-types/abort.d.ts b/node_modules/@smithy/types/dist-types/abort.d.ts new file mode 100644 index 0000000..80fc87f --- /dev/null +++ b/node_modules/@smithy/types/dist-types/abort.d.ts @@ -0,0 +1,50 @@ +import type { AbortHandler } from "./abort-handler"; +/** + * @public + */ +export { AbortHandler }; +/** + * @public + * @deprecated use platform (global) type for AbortSignal. + * + * Holders of an AbortSignal object may query if the associated operation has + * been aborted and register an onabort handler. + * + * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal + */ +export interface AbortSignal { + /** + * Whether the action represented by this signal has been cancelled. + */ + readonly aborted: boolean; + /** + * A function to be invoked when the action represented by this signal has + * been cancelled. + */ + onabort: AbortHandler | Function | null; +} +/** + * @public + * @deprecated use platform (global) type for AbortController. + * + * The AWS SDK uses a Controller/Signal model to allow for cooperative + * cancellation of asynchronous operations. When initiating such an operation, + * the caller can create an AbortController and then provide linked signal to + * subtasks. This allows a single source to communicate to multiple consumers + * that an action has been aborted without dictating how that cancellation + * should be handled. + * + * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortController + */ +export interface AbortController { + /** + * An object that reports whether the action associated with this + * `AbortController` has been cancelled. + */ + readonly signal: AbortSignal; + /** + * Declares the operation associated with this AbortController to have been + * cancelled. + */ + abort(): void; +} diff --git a/node_modules/@smithy/types/dist-types/auth/HttpApiKeyAuth.d.ts b/node_modules/@smithy/types/dist-types/auth/HttpApiKeyAuth.d.ts new file mode 100644 index 0000000..5d74340 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/auth/HttpApiKeyAuth.d.ts @@ -0,0 +1,7 @@ +/** + * @internal + */ +export declare enum HttpApiKeyAuthLocation { + HEADER = "header", + QUERY = "query" +} diff --git a/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts b/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts new file mode 100644 index 0000000..0a23c5c --- /dev/null +++ b/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts @@ -0,0 +1,49 @@ +import type { Identity, IdentityProvider } from "../identity/identity"; +import type { HandlerExecutionContext } from "../middleware"; +import type { HttpSigner } from "./HttpSigner"; +import type { IdentityProviderConfig } from "./IdentityProviderConfig"; +/** + * ID for {@link HttpAuthScheme} + * @internal + */ +export type HttpAuthSchemeId = string; +/** + * Interface that defines an HttpAuthScheme + * @internal + */ +export interface HttpAuthScheme { + /** + * ID for an HttpAuthScheme, typically the absolute shape ID of a Smithy auth trait. + */ + schemeId: HttpAuthSchemeId; + /** + * Gets the IdentityProvider corresponding to an HttpAuthScheme. + */ + identityProvider(config: IdentityProviderConfig): IdentityProvider | undefined; + /** + * HttpSigner corresponding to an HttpAuthScheme. + */ + signer: HttpSigner; +} +/** + * Interface that defines the identity and signing properties when selecting + * an HttpAuthScheme. + * @internal + */ +export interface HttpAuthOption { + schemeId: HttpAuthSchemeId; + identityProperties?: Record; + signingProperties?: Record; + propertiesExtractor?: (config: TConfig, context: TContext) => { + identityProperties?: Record; + signingProperties?: Record; + }; +} +/** + * @internal + */ +export interface SelectedHttpAuthScheme { + httpAuthOption: HttpAuthOption; + identity: Identity; + signer: HttpSigner; +} diff --git a/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts b/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts new file mode 100644 index 0000000..1dde5d6 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts @@ -0,0 +1,20 @@ +import type { HandlerExecutionContext } from "../middleware"; +import type { HttpAuthOption } from "./HttpAuthScheme"; +/** + * @internal + */ +export interface HttpAuthSchemeParameters { + operation?: string; +} +/** + * @internal + */ +export interface HttpAuthSchemeProvider { + (authParameters: TParameters): HttpAuthOption[]; +} +/** + * @internal + */ +export interface HttpAuthSchemeParametersProvider { + (config: TConfig, context: TContext, input: TInput): Promise; +} diff --git a/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts b/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts new file mode 100644 index 0000000..ec1583b --- /dev/null +++ b/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts @@ -0,0 +1,41 @@ +import type { HttpRequest, HttpResponse } from "../http"; +import type { Identity } from "../identity/identity"; +/** + * @internal + */ +export interface ErrorHandler { + (signingProperties: Record): (error: E) => never; +} +/** + * @internal + */ +export interface SuccessHandler { + (httpResponse: HttpResponse | unknown, signingProperties: Record): void; +} +/** + * Interface to sign identity and signing properties. + * @internal + */ +export interface HttpSigner { + /** + * Signs an HttpRequest with an identity and signing properties. + * @param httpRequest request to sign + * @param identity identity to sing the request with + * @param signingProperties property bag for signing + * @returns signed request in a promise + */ + sign(httpRequest: HttpRequest, identity: Identity, signingProperties: Record): Promise; + /** + * Handler that executes after the {@link HttpSigner.sign} invocation and corresponding + * middleware throws an error. + * The error handler is expected to throw the error it receives, so the return type of the error handler is `never`. + * @internal + */ + errorHandler?: ErrorHandler; + /** + * Handler that executes after the {@link HttpSigner.sign} invocation and corresponding + * middleware succeeds. + * @internal + */ + successHandler?: SuccessHandler; +} diff --git a/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts b/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts new file mode 100644 index 0000000..73a193d --- /dev/null +++ b/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts @@ -0,0 +1,14 @@ +import type { Identity, IdentityProvider } from "../identity/identity"; +import type { HttpAuthSchemeId } from "./HttpAuthScheme"; +/** + * Interface to get an IdentityProvider for a specified HttpAuthScheme + * @internal + */ +export interface IdentityProviderConfig { + /** + * Get the IdentityProvider for a specified HttpAuthScheme. + * @param schemeId schemeId of the HttpAuthScheme + * @returns IdentityProvider or undefined if HttpAuthScheme is not found + */ + getIdentityProvider(schemeId: HttpAuthSchemeId): IdentityProvider | undefined; +} diff --git a/node_modules/@smithy/types/dist-types/auth/auth.d.ts b/node_modules/@smithy/types/dist-types/auth/auth.d.ts new file mode 100644 index 0000000..2aaabbc --- /dev/null +++ b/node_modules/@smithy/types/dist-types/auth/auth.d.ts @@ -0,0 +1,57 @@ +/** + * @internal + * + * Authentication schemes represent a way that the service will authenticate the customer’s identity. + */ +export interface AuthScheme { + /** + * @example "sigv4a" or "sigv4" + */ + name: "sigv4" | "sigv4a" | string; + /** + * @example "s3" + */ + signingName: string; + /** + * @example "us-east-1" + */ + signingRegion: string; + /** + * @example ["*"] + * @example ["us-west-2", "us-east-1"] + */ + signingRegionSet?: string[]; + /** + * @deprecated this field was renamed to signingRegion. + */ + signingScope?: never; + properties: Record; +} +/** + * @internal + * @deprecated + */ +export interface HttpAuthDefinition { + /** + * Defines the location of where the Auth is serialized. + */ + in: HttpAuthLocation; + /** + * Defines the name of the HTTP header or query string parameter + * that contains the Auth. + */ + name: string; + /** + * Defines the security scheme to use on the `Authorization` header value. + * This can only be set if the "in" property is set to {@link HttpAuthLocation.HEADER}. + */ + scheme?: string; +} +/** + * @internal + * @deprecated + */ +export declare enum HttpAuthLocation { + HEADER = "header", + QUERY = "query" +} diff --git a/node_modules/@smithy/types/dist-types/auth/index.d.ts b/node_modules/@smithy/types/dist-types/auth/index.d.ts new file mode 100644 index 0000000..7436030 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/auth/index.d.ts @@ -0,0 +1,6 @@ +export * from "./auth"; +export * from "./HttpApiKeyAuth"; +export * from "./HttpAuthScheme"; +export * from "./HttpAuthSchemeProvider"; +export * from "./HttpSigner"; +export * from "./IdentityProviderConfig"; diff --git a/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts b/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts new file mode 100644 index 0000000..32eecac --- /dev/null +++ b/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts @@ -0,0 +1,40 @@ +import type { Readable } from "stream"; +import type { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check"; +/** + * @public + * + * A union of types that can be used as inputs for the service model + * "blob" type when it represents the request's entire payload or body. + * + * For example, in Lambda::invoke, the payload is modeled as a blob type + * and this union applies to it. + * In contrast, in Lambda::createFunction the Zip file option is a blob type, + * but is not the (entire) payload and this union does not apply. + * + * Note: not all types are signable by the standard SignatureV4 signer when + * used as the request body. For example, in Node.js a Readable stream + * is not signable by the default signer. + * They are included in the union because it may work in some cases, + * but the expected types are primarily string and Uint8Array. + * + * Additional details may be found in the internal + * function "getPayloadHash" in the SignatureV4 module. + */ +export type BlobPayloadInputTypes = string | ArrayBuffer | ArrayBufferView | Uint8Array | NodeJsRuntimeBlobTypes | BrowserRuntimeBlobTypes; +/** + * @public + * + * Additional blob types for the Node.js environment. + */ +export type NodeJsRuntimeBlobTypes = Readable | Buffer; +/** + * @public + * + * Additional blob types for the browser environment. + */ +export type BrowserRuntimeBlobTypes = BlobOptionalType | ReadableStreamOptionalType; +/** + * @internal + * @deprecated renamed to BlobPayloadInputTypes. + */ +export type BlobTypes = BlobPayloadInputTypes; diff --git a/node_modules/@smithy/types/dist-types/checksum.d.ts b/node_modules/@smithy/types/dist-types/checksum.d.ts new file mode 100644 index 0000000..f572fb9 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/checksum.d.ts @@ -0,0 +1,63 @@ +import type { SourceData } from "./crypto"; +/** + * @public + * + * An object that provides a checksum of data provided in chunks to `update`. + * The checksum may be performed incrementally as chunks are received or all + * at once when the checksum is finalized, depending on the underlying + * implementation. + * + * It's recommended to compute checksum incrementally to avoid reading the + * entire payload in memory. + * + * A class that implements this interface may accept an optional secret key in its + * constructor while computing checksum value, when using HMAC. If provided, + * this secret key would be used when computing checksum. + */ +export interface Checksum { + /** + * Constant length of the digest created by the algorithm in bytes. + */ + digestLength?: number; + /** + * Creates a new checksum object that contains a deep copy of the internal + * state of the current `Checksum` object. + */ + copy?(): Checksum; + /** + * Returns the digest of all of the data passed. + */ + digest(): Promise; + /** + * Allows marking a checksum for checksums that support the ability + * to mark and reset. + * + * @param readLimit - The maximum limit of bytes that can be read + * before the mark position becomes invalid. + */ + mark?(readLimit: number): void; + /** + * Resets the checksum to its initial value. + */ + reset(): void; + /** + * Adds a chunk of data for which checksum needs to be computed. + * This can be called many times with new data as it is streamed. + * + * Implementations may override this method which passes second param + * which makes Checksum object stateless. + * + * @param chunk - The buffer to update checksum with. + */ + update(chunk: Uint8Array): void; +} +/** + * @public + * + * A constructor for a Checksum that may be used to calculate an HMAC. Implementing + * classes should not directly hold the provided key in memory beyond the + * lexical scope of the constructor. + */ +export interface ChecksumConstructor { + new (secret?: SourceData): Checksum; +} diff --git a/node_modules/@smithy/types/dist-types/client.d.ts b/node_modules/@smithy/types/dist-types/client.d.ts new file mode 100644 index 0000000..9d12935 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/client.d.ts @@ -0,0 +1,57 @@ +import type { Command } from "./command"; +import type { MiddlewareStack } from "./middleware"; +import type { MetadataBearer } from "./response"; +import type { OptionalParameter } from "./util"; +/** + * @public + * + * A type which checks if the client configuration is optional. + * If all entries of the client configuration are optional, it allows client creation without passing any config. + */ +export type CheckOptionalClientConfig = OptionalParameter; +/** + * @public + * + * function definition for different overrides of client's 'send' function. + */ +export interface InvokeFunction { + (command: Command, options?: any): Promise; + (command: Command, cb: (err: any, data?: OutputType) => void): void; + (command: Command, options: any, cb: (err: any, data?: OutputType) => void): void; + (command: Command, options?: any, cb?: (err: any, data?: OutputType) => void): Promise | void; +} +/** + * @public + * + * Signature that appears on aggregated clients' methods. + */ +export interface InvokeMethod { + (input: InputType, options?: any): Promise; + (input: InputType, cb: (err: any, data?: OutputType) => void): void; + (input: InputType, options: any, cb: (err: any, data?: OutputType) => void): void; + (input: InputType, options?: any, cb?: (err: any, data?: OutputType) => void): Promise | void; +} +/** + * @public + * + * Signature that appears on aggregated clients' methods when argument is optional. + */ +export interface InvokeMethodOptionalArgs { + (): Promise; + (input: InputType, options?: any): Promise; + (input: InputType, cb: (err: any, data?: OutputType) => void): void; + (input: InputType, options: any, cb: (err: any, data?: OutputType) => void): void; + (input: InputType, options?: any, cb?: (err: any, data?: OutputType) => void): Promise | void; +} +/** + * A general interface for service clients, idempotent to browser or node clients + * This type corresponds to SmithyClient(https://github.com/aws/aws-sdk-js-v3/blob/main/packages/smithy-client/src/client.ts). + * It's provided for using without importing the SmithyClient class. + * @internal + */ +export interface Client { + readonly config: ResolvedClientConfiguration; + middlewareStack: MiddlewareStack; + send: InvokeFunction; + destroy: () => void; +} diff --git a/node_modules/@smithy/types/dist-types/command.d.ts b/node_modules/@smithy/types/dist-types/command.d.ts new file mode 100644 index 0000000..db82544 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/command.d.ts @@ -0,0 +1,28 @@ +import type { Handler, MiddlewareStack } from "./middleware"; +import type { MetadataBearer } from "./response"; +/** + * @public + */ +export interface Command extends CommandIO { + readonly input: InputType; + readonly middlewareStack: MiddlewareStack; + /** + * This should be OperationSchema from @smithy/types, but would + * create problems with the client transform type adaptors. + */ + readonly schema?: any; + resolveMiddleware(stack: MiddlewareStack, configuration: ResolvedConfiguration, options: any): Handler; +} +/** + * @internal + * + * This is a subset of the Command type used only to detect the i/o types. + */ +export interface CommandIO { + readonly input: InputType; + resolveMiddleware(stack: any, configuration: any, options: any): Handler; +} +/** + * @internal + */ +export type GetOutputType = Command extends CommandIO ? O : never; diff --git a/node_modules/@smithy/types/dist-types/connection/config.d.ts b/node_modules/@smithy/types/dist-types/connection/config.d.ts new file mode 100644 index 0000000..f9d4632 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/connection/config.d.ts @@ -0,0 +1,10 @@ +/** + * @public + */ +export interface ConnectConfiguration { + /** + * The maximum time in milliseconds that the connection phase of a request + * may take before the connection attempt is abandoned. + */ + requestTimeout?: number; +} diff --git a/node_modules/@smithy/types/dist-types/connection/index.d.ts b/node_modules/@smithy/types/dist-types/connection/index.d.ts new file mode 100644 index 0000000..c6c3ea8 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/connection/index.d.ts @@ -0,0 +1,3 @@ +export * from "./config"; +export * from "./manager"; +export * from "./pool"; diff --git a/node_modules/@smithy/types/dist-types/connection/manager.d.ts b/node_modules/@smithy/types/dist-types/connection/manager.d.ts new file mode 100644 index 0000000..fd83d44 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/connection/manager.d.ts @@ -0,0 +1,34 @@ +import type { RequestContext } from "../transfer"; +import type { ConnectConfiguration } from "./config"; +/** + * @public + */ +export interface ConnectionManagerConfiguration { + /** + * Maximum number of allowed concurrent requests per connection. + */ + maxConcurrency?: number; + /** + * Disables concurrent requests per connection. + */ + disableConcurrency?: boolean; +} +/** + * @public + */ +export interface ConnectionManager { + /** + * Retrieves a connection from the connection pool if available, + * otherwise establish a new connection + */ + lease(requestContext: RequestContext, connectionConfiguration: ConnectConfiguration): T; + /** + * Releases the connection back to the pool making it potentially + * re-usable by other requests. + */ + release(requestContext: RequestContext, connection: T): void; + /** + * Destroys the connection manager. All connections will be closed. + */ + destroy(): void; +} diff --git a/node_modules/@smithy/types/dist-types/connection/pool.d.ts b/node_modules/@smithy/types/dist-types/connection/pool.d.ts new file mode 100644 index 0000000..d43530a --- /dev/null +++ b/node_modules/@smithy/types/dist-types/connection/pool.d.ts @@ -0,0 +1,32 @@ +/** + * @public + */ +export interface ConnectionPool { + /** + * Retrieve the first connection in the pool + */ + poll(): T | void; + /** + * Release the connection back to the pool making it potentially + * re-usable by other requests. + */ + offerLast(connection: T): void; + /** + * Removes the connection from the pool, and destroys it. + */ + destroy(connection: T): void; + /** + * Implements the iterable protocol and allows arrays to be consumed + * by most syntaxes expecting iterables, such as the spread syntax + * and for...of loops + */ + [Symbol.iterator](): Iterator; +} +/** + * Unused. + * @internal + * @deprecated + */ +export interface CacheKey { + destination: string; +} diff --git a/node_modules/@smithy/types/dist-types/crypto.d.ts b/node_modules/@smithy/types/dist-types/crypto.d.ts new file mode 100644 index 0000000..874320e --- /dev/null +++ b/node_modules/@smithy/types/dist-types/crypto.d.ts @@ -0,0 +1,60 @@ +/** + * @public + */ +export type SourceData = string | ArrayBuffer | ArrayBufferView; +/** + * @public + * + * An object that provides a hash of data provided in chunks to `update`. The + * hash may be performed incrementally as chunks are received or all at once + * when the hash is finalized, depending on the underlying implementation. + * + * @deprecated use {@link Checksum} + */ +export interface Hash { + /** + * Adds a chunk of data to the hash. If a buffer is provided, the `encoding` + * argument will be ignored. If a string is provided without a specified + * encoding, implementations must assume UTF-8 encoding. + * + * Not all encodings are supported on all platforms, though all must support + * UTF-8. + */ + update(toHash: SourceData, encoding?: "utf8" | "ascii" | "latin1"): void; + /** + * Finalizes the hash and provides a promise that will be fulfilled with the + * raw bytes of the calculated hash. + */ + digest(): Promise; +} +/** + * @public + * + * A constructor for a hash that may be used to calculate an HMAC. Implementing + * classes should not directly hold the provided key in memory beyond the + * lexical scope of the constructor. + * + * @deprecated use {@link ChecksumConstructor} + */ +export interface HashConstructor { + new (secret?: SourceData): Hash; +} +/** + * @public + * + * A function that calculates the hash of a data stream. Determining the hash + * will consume the stream, so only replayable streams should be provided to an + * implementation of this interface. + */ +export interface StreamHasher { + (hashCtor: HashConstructor, stream: StreamType): Promise; +} +/** + * @public + * + * A function that returns a promise fulfilled with bytes from a + * cryptographically secure pseudorandom number generator. + */ +export interface randomValues { + (byteLength: number): Promise; +} diff --git a/node_modules/@smithy/types/dist-types/downlevel-ts3.4/transform/type-transform.d.ts b/node_modules/@smithy/types/dist-types/downlevel-ts3.4/transform/type-transform.d.ts new file mode 100644 index 0000000..312ae6e --- /dev/null +++ b/node_modules/@smithy/types/dist-types/downlevel-ts3.4/transform/type-transform.d.ts @@ -0,0 +1,25 @@ +/** + * @public + * + * Transforms any members of the object T having type FromType + * to ToType. This applies only to exact type matches. + * + * This is for the case where FromType is a union and only those fields + * matching the same union should be transformed. + */ +export type Transform = RecursiveTransformExact; +/** + * @internal + * + * Returns ToType if T matches exactly with FromType. + */ +type TransformExact = [T] extends [FromType] ? ([FromType] extends [T] ? ToType : T) : T; +/** + * @internal + * + * Applies TransformExact to members of an object recursively. + */ +type RecursiveTransformExact = T extends Function ? T : T extends object ? { + [key in keyof T]: [T[key]] extends [FromType] ? [FromType] extends [T[key]] ? ToType : RecursiveTransformExact : RecursiveTransformExact; +} : TransformExact; +export {}; diff --git a/node_modules/@smithy/types/dist-types/encode.d.ts b/node_modules/@smithy/types/dist-types/encode.d.ts new file mode 100644 index 0000000..2f1715a --- /dev/null +++ b/node_modules/@smithy/types/dist-types/encode.d.ts @@ -0,0 +1,31 @@ +import type { Message } from "./eventStream"; +/** + * @public + */ +export interface MessageEncoder { + encode(message: Message): Uint8Array; +} +/** + * @public + */ +export interface MessageDecoder { + decode(message: ArrayBufferView): Message; + feed(message: ArrayBufferView): void; + endOfStream(): void; + getMessage(): AvailableMessage; + getAvailableMessages(): AvailableMessages; +} +/** + * @public + */ +export interface AvailableMessage { + getMessage(): Message | undefined; + isEndOfStream(): boolean; +} +/** + * @public + */ +export interface AvailableMessages { + getMessages(): Message[]; + isEndOfStream(): boolean; +} diff --git a/node_modules/@smithy/types/dist-types/endpoint.d.ts b/node_modules/@smithy/types/dist-types/endpoint.d.ts new file mode 100644 index 0000000..15bbd9c --- /dev/null +++ b/node_modules/@smithy/types/dist-types/endpoint.d.ts @@ -0,0 +1,77 @@ +import type { AuthScheme } from "./auth/auth"; +/** + * @public + */ +export interface EndpointPartition { + name: string; + dnsSuffix: string; + dualStackDnsSuffix: string; + supportsFIPS: boolean; + supportsDualStack: boolean; +} +/** + * @public + */ +export interface EndpointARN { + partition: string; + service: string; + region: string; + accountId: string; + resourceId: Array; +} +/** + * @public + */ +export declare enum EndpointURLScheme { + HTTP = "http", + HTTPS = "https" +} +/** + * @public + */ +export interface EndpointURL { + /** + * The URL scheme such as http or https. + */ + scheme: EndpointURLScheme; + /** + * The authority is the host and optional port component of the URL. + */ + authority: string; + /** + * The parsed path segment of the URL. + * This value is as-is as provided by the user. + */ + path: string; + /** + * The parsed path segment of the URL. + * This value is guranteed to start and end with a "/". + */ + normalizedPath: string; + /** + * A boolean indicating whether the authority is an IP address. + */ + isIp: boolean; +} +/** + * @public + */ +export type EndpointObjectProperty = string | boolean | { + [key: string]: EndpointObjectProperty; +} | EndpointObjectProperty[]; +/** + * @public + */ +export interface EndpointV2 { + url: URL; + properties?: { + authSchemes?: AuthScheme[]; + } & Record; + headers?: Record; +} +/** + * @public + */ +export type EndpointParameters = { + [name: string]: undefined | boolean | string | string[]; +}; diff --git a/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts b/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts new file mode 100644 index 0000000..503b781 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts @@ -0,0 +1,27 @@ +import type { EndpointObjectProperty } from "../endpoint"; +import type { ConditionObject, Expression } from "./shared"; +/** + * @public + */ +export type EndpointObjectProperties = Record; +/** + * @public + */ +export type EndpointObjectHeaders = Record; +/** + * @public + */ +export type EndpointObject = { + url: Expression; + properties?: EndpointObjectProperties; + headers?: EndpointObjectHeaders; +}; +/** + * @public + */ +export type EndpointRuleObject = { + type: "endpoint"; + conditions?: ConditionObject[]; + endpoint: EndpointObject; + documentation?: string; +}; diff --git a/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts b/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts new file mode 100644 index 0000000..602cf9c --- /dev/null +++ b/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts @@ -0,0 +1,10 @@ +import type { ConditionObject, Expression } from "./shared"; +/** + * @public + */ +export type ErrorRuleObject = { + type: "error"; + conditions?: ConditionObject[]; + error: Expression; + documentation?: string; +}; diff --git a/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts b/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts new file mode 100644 index 0000000..7958940 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts @@ -0,0 +1,28 @@ +import type { RuleSetRules } from "./TreeRuleObject"; +/** + * @public + */ +export type DeprecatedObject = { + message?: string; + since?: string; +}; +/** + * @public + */ +export type ParameterObject = { + type: "String" | "string" | "Boolean" | "boolean"; + default?: string | boolean; + required?: boolean; + documentation?: string; + builtIn?: string; + deprecated?: DeprecatedObject; +}; +/** + * @public + */ +export type RuleSetObject = { + version: string; + serviceId?: string; + parameters: Record; + rules: RuleSetRules; +}; diff --git a/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts b/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts new file mode 100644 index 0000000..9ec9194 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts @@ -0,0 +1,16 @@ +import type { EndpointRuleObject } from "./EndpointRuleObject"; +import type { ErrorRuleObject } from "./ErrorRuleObject"; +import type { ConditionObject } from "./shared"; +/** + * @public + */ +export type RuleSetRules = Array; +/** + * @public + */ +export type TreeRuleObject = { + type: "tree"; + conditions?: ConditionObject[]; + rules: RuleSetRules; + documentation?: string; +}; diff --git a/node_modules/@smithy/types/dist-types/endpoints/index.d.ts b/node_modules/@smithy/types/dist-types/endpoints/index.d.ts new file mode 100644 index 0000000..64d85cf --- /dev/null +++ b/node_modules/@smithy/types/dist-types/endpoints/index.d.ts @@ -0,0 +1,5 @@ +export * from "./EndpointRuleObject"; +export * from "./ErrorRuleObject"; +export * from "./RuleSetObject"; +export * from "./shared"; +export * from "./TreeRuleObject"; diff --git a/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts b/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts new file mode 100644 index 0000000..d922e5a --- /dev/null +++ b/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts @@ -0,0 +1,55 @@ +import type { Logger } from "../logger"; +/** + * @public + */ +export type ReferenceObject = { + ref: string; +}; +/** + * @public + */ +export type FunctionObject = { + fn: string; + argv: FunctionArgv; +}; +/** + * @public + */ +export type FunctionArgv = Array; +/** + * @public + */ +export type FunctionReturn = string | boolean | number | { + [key: string]: FunctionReturn; +}; +/** + * @public + */ +export type ConditionObject = FunctionObject & { + assign?: string; +}; +/** + * @public + */ +export type Expression = string | ReferenceObject | FunctionObject; +/** + * @public + */ +export type EndpointParams = Record; +/** + * @public + */ +export type EndpointResolverOptions = { + endpointParams: EndpointParams; + logger?: Logger; +}; +/** + * @public + */ +export type ReferenceRecord = Record; +/** + * @public + */ +export type EvaluateOptions = EndpointResolverOptions & { + referenceRecord: ReferenceRecord; +}; diff --git a/node_modules/@smithy/types/dist-types/eventStream.d.ts b/node_modules/@smithy/types/dist-types/eventStream.d.ts new file mode 100644 index 0000000..9250d14 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/eventStream.d.ts @@ -0,0 +1,137 @@ +import type { HttpRequest } from "./http"; +import type { FinalizeHandler, FinalizeHandlerArguments, FinalizeHandlerOutput, HandlerExecutionContext } from "./middleware"; +import type { MetadataBearer } from "./response"; +/** + * @public + * + * An event stream message. The headers and body properties will always be + * defined, with empty headers represented as an object with no keys and an + * empty body represented as a zero-length Uint8Array. + */ +export interface Message { + headers: MessageHeaders; + body: Uint8Array; +} +/** + * @public + */ +export type MessageHeaders = Record; +/** + * @public + */ +export type HeaderValue = { + type: K; + value: V; +}; +/** + * @public + */ +export type BooleanHeaderValue = HeaderValue<"boolean", boolean>; +/** + * @public + */ +export type ByteHeaderValue = HeaderValue<"byte", number>; +/** + * @public + */ +export type ShortHeaderValue = HeaderValue<"short", number>; +/** + * @public + */ +export type IntegerHeaderValue = HeaderValue<"integer", number>; +/** + * @public + */ +export type LongHeaderValue = HeaderValue<"long", Int64>; +/** + * @public + */ +export type BinaryHeaderValue = HeaderValue<"binary", Uint8Array>; +/** + * @public + */ +export type StringHeaderValue = HeaderValue<"string", string>; +/** + * @public + */ +export type TimestampHeaderValue = HeaderValue<"timestamp", Date>; +/** + * @public + */ +export type UuidHeaderValue = HeaderValue<"uuid", string>; +/** + * @public + */ +export type MessageHeaderValue = BooleanHeaderValue | ByteHeaderValue | ShortHeaderValue | IntegerHeaderValue | LongHeaderValue | BinaryHeaderValue | StringHeaderValue | TimestampHeaderValue | UuidHeaderValue; +/** + * @public + */ +export interface Int64 { + readonly bytes: Uint8Array; + valueOf: () => number; + toString: () => string; +} +/** + * @public + * + * Util functions for serializing or deserializing event stream + */ +export interface EventStreamSerdeContext { + eventStreamMarshaller: EventStreamMarshaller; +} +/** + * @public + * + * A function which deserializes binary event stream message into modeled shape. + */ +export interface EventStreamMarshallerDeserFn { + (body: StreamType, deserializer: (input: Record) => Promise): AsyncIterable; +} +/** + * @public + * + * A function that serializes modeled shape into binary stream message. + */ +export interface EventStreamMarshallerSerFn { + (input: AsyncIterable, serializer: (event: T) => Message): StreamType; +} +/** + * @public + * + * An interface which provides functions for serializing and deserializing binary event stream + * to/from corresponsing modeled shape. + */ +export interface EventStreamMarshaller { + deserialize: EventStreamMarshallerDeserFn; + serialize: EventStreamMarshallerSerFn; +} +/** + * @public + */ +export interface EventStreamRequestSigner { + sign(request: HttpRequest): Promise; +} +/** + * @public + */ +export interface EventStreamPayloadHandler { + handle: (next: FinalizeHandler, args: FinalizeHandlerArguments, context?: HandlerExecutionContext) => Promise>; +} +/** + * @public + */ +export interface EventStreamPayloadHandlerProvider { + (options: any): EventStreamPayloadHandler; +} +/** + * @public + */ +export interface EventStreamSerdeProvider { + (options: any): EventStreamMarshaller; +} +/** + * @public + */ +export interface EventStreamSignerProvider { + (options: any): EventStreamRequestSigner; +} diff --git a/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts b/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts new file mode 100644 index 0000000..7b45f32 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts @@ -0,0 +1,58 @@ +import type { ChecksumConstructor } from "../checksum"; +import type { HashConstructor } from "../crypto"; +/** + * @internal + */ +export declare enum AlgorithmId { + MD5 = "md5", + CRC32 = "crc32", + CRC32C = "crc32c", + SHA1 = "sha1", + SHA256 = "sha256" +} +/** + * @internal + */ +export interface ChecksumAlgorithm { + algorithmId(): AlgorithmId | string; + checksumConstructor(): ChecksumConstructor | HashConstructor; +} +/** + * @deprecated unused. + * @internal + */ +type ChecksumConfigurationLegacy = { + [other in string | number]: any; +}; +/** + * @internal + */ +export interface ChecksumConfiguration extends ChecksumConfigurationLegacy { + addChecksumAlgorithm(algo: ChecksumAlgorithm): void; + checksumAlgorithms(): ChecksumAlgorithm[]; +} +/** + * @deprecated will be removed for implicit type. + * @internal + */ +type GetChecksumConfigurationType = (runtimeConfig: Partial<{ + sha256: ChecksumConstructor | HashConstructor; + md5: ChecksumConstructor | HashConstructor; +}>) => ChecksumConfiguration; +/** + * @internal + * @deprecated will be moved to smithy-client. + */ +export declare const getChecksumConfiguration: GetChecksumConfigurationType; +/** + * @internal + * @deprecated will be removed for implicit type. + */ +type ResolveChecksumRuntimeConfigType = (clientConfig: ChecksumConfiguration) => any; +/** + * @internal + * + * @deprecated will be moved to smithy-client. + */ +export declare const resolveChecksumRuntimeConfig: ResolveChecksumRuntimeConfigType; +export {}; diff --git a/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts b/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts new file mode 100644 index 0000000..4596d43 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts @@ -0,0 +1,33 @@ +import type { ChecksumConfiguration } from "./checksum"; +/** + * @deprecated will be replaced by DefaultExtensionConfiguration. + * @internal + * + * Default client configuration consisting various configurations for modifying a service client + */ +export interface DefaultClientConfiguration extends ChecksumConfiguration { +} +/** + * @deprecated will be removed for implicit type. + */ +type GetDefaultConfigurationType = (runtimeConfig: any) => DefaultClientConfiguration; +/** + * @deprecated moving to @smithy/smithy-client. + * @internal + * + * Helper function to resolve default client configuration from runtime config + * + */ +export declare const getDefaultClientConfiguration: GetDefaultConfigurationType; +/** + * @deprecated will be removed for implicit type. + */ +type ResolveDefaultRuntimeConfigType = (clientConfig: DefaultClientConfiguration) => any; +/** + * @deprecated moving to @smithy/smithy-client. + * @internal + * + * Helper function to resolve runtime config from default client configuration + */ +export declare const resolveDefaultRuntimeConfig: ResolveDefaultRuntimeConfigType; +export {}; diff --git a/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts b/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts new file mode 100644 index 0000000..3b3ef6e --- /dev/null +++ b/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts @@ -0,0 +1,9 @@ +import type { ChecksumConfiguration } from "./checksum"; +import type { RetryStrategyConfiguration } from "./retry"; +/** + * @internal + * + * Default extension configuration consisting various configurations for modifying a service client + */ +export interface DefaultExtensionConfiguration extends ChecksumConfiguration, RetryStrategyConfiguration { +} diff --git a/node_modules/@smithy/types/dist-types/extensions/index.d.ts b/node_modules/@smithy/types/dist-types/extensions/index.d.ts new file mode 100644 index 0000000..cce65a1 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/extensions/index.d.ts @@ -0,0 +1,4 @@ +export * from "./defaultClientConfiguration"; +export * from "./defaultExtensionConfiguration"; +export { AlgorithmId, ChecksumAlgorithm, ChecksumConfiguration } from "./checksum"; +export { RetryStrategyConfiguration } from "./retry"; diff --git a/node_modules/@smithy/types/dist-types/extensions/retry.d.ts b/node_modules/@smithy/types/dist-types/extensions/retry.d.ts new file mode 100644 index 0000000..1eefdfa --- /dev/null +++ b/node_modules/@smithy/types/dist-types/extensions/retry.d.ts @@ -0,0 +1,18 @@ +import type { RetryStrategyV2 } from "../retry"; +import type { Provider, RetryStrategy } from "../util"; +/** + * A configuration interface with methods called by runtime extension + * @internal + */ +export interface RetryStrategyConfiguration { + /** + * Set retry strategy used for all http requests + * @param retryStrategy + */ + setRetryStrategy(retryStrategy: Provider): void; + /** + * Get retry strategy used for all http requests + * @param retryStrategy + */ + retryStrategy(): Provider; +} diff --git a/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts b/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts new file mode 100644 index 0000000..0de7f8f --- /dev/null +++ b/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts @@ -0,0 +1,35 @@ +import type { Exact } from "../transform/exact"; +/** + * @public + * + * A checked type that resolves to Blob if it is defined as more than a stub, otherwise + * resolves to 'never' so as not to widen the type of unions containing Blob + * excessively. + */ +export type BlobOptionalType = BlobDefined extends true ? Blob : Unavailable; +/** + * @public + * + * A checked type that resolves to ReadableStream if it is defined as more than a stub, otherwise + * resolves to 'never' so as not to widen the type of unions containing ReadableStream + * excessively. + */ +export type ReadableStreamOptionalType = ReadableStreamDefined extends true ? ReadableStream : Unavailable; +/** + * @public + * + * Indicates a type is unavailable if it resolves to this. + */ +export type Unavailable = never; +/** + * @internal + * + * Whether the global types define more than a stub for ReadableStream. + */ +export type ReadableStreamDefined = Exact extends true ? false : true; +/** + * @internal + * + * Whether the global types define more than a stub for Blob. + */ +export type BlobDefined = Exact extends true ? false : true; diff --git a/node_modules/@smithy/types/dist-types/feature-ids.d.ts b/node_modules/@smithy/types/dist-types/feature-ids.d.ts new file mode 100644 index 0000000..19e4bd2 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/feature-ids.d.ts @@ -0,0 +1,16 @@ +/** + * @internal + */ +export type SmithyFeatures = Partial<{ + RESOURCE_MODEL: "A"; + WAITER: "B"; + PAGINATOR: "C"; + RETRY_MODE_LEGACY: "D"; + RETRY_MODE_STANDARD: "E"; + RETRY_MODE_ADAPTIVE: "F"; + GZIP_REQUEST_COMPRESSION: "L"; + PROTOCOL_RPC_V2_CBOR: "M"; + ENDPOINT_OVERRIDE: "N"; + SIGV4A_SIGNING: "S"; + CREDENTIALS_CODE: "e"; +}>; diff --git a/node_modules/@smithy/types/dist-types/http.d.ts b/node_modules/@smithy/types/dist-types/http.d.ts new file mode 100644 index 0000000..f74e63d --- /dev/null +++ b/node_modules/@smithy/types/dist-types/http.d.ts @@ -0,0 +1,113 @@ +import type { AbortSignal as DeprecatedAbortSignal } from "./abort"; +import type { URI } from "./uri"; +/** + * @public + * + * @deprecated use {@link EndpointV2} from `@smithy/types`. + */ +export interface Endpoint { + protocol: string; + hostname: string; + port?: number; + path: string; + query?: QueryParameterBag; + headers?: HeaderBag; +} +/** + * @public + * + * Interface an HTTP request class. Contains + * addressing information in addition to standard message properties. + */ +export interface HttpRequest extends HttpMessage, URI { + method: string; +} +/** + * @public + * + * Represents an HTTP message as received in reply to a request. Contains a + * numeric status code in addition to standard message properties. + */ +export interface HttpResponse extends HttpMessage { + statusCode: number; + reason?: string; +} +/** + * @public + * + * Represents an HTTP message with headers and an optional static or streaming + * body. body: ArrayBuffer | ArrayBufferView | string | Uint8Array | Readable | ReadableStream; + */ +export interface HttpMessage { + headers: HeaderBag; + body?: any; +} +/** + * @public + * + * A mapping of query parameter names to strings or arrays of strings, with the + * second being used when a parameter contains a list of values. Value can be set + * to null when query is not in key-value pairs shape + */ +export type QueryParameterBag = Record | null>; +/** + * @public + */ +export type FieldOptions = { + name: string; + kind?: FieldPosition; + values?: string[]; +}; +/** + * @public + */ +export declare enum FieldPosition { + HEADER = 0, + TRAILER = 1 +} +/** + * @public + * + * A mapping of header names to string values. Multiple values for the same + * header should be represented as a single string with values separated by + * `, `. + * + * Keys should be considered case insensitive, even if this is not enforced by a + * particular implementation. For example, given the following HeaderBag, where + * keys differ only in case: + * + * ```json + * { + * 'x-request-date': '2000-01-01T00:00:00Z', + * 'X-Request-Date': '2001-01-01T00:00:00Z' + * } + * ``` + * + * The SDK may at any point during processing remove one of the object + * properties in favor of the other. The headers may or may not be combined, and + * the SDK will not deterministically select which header candidate to use. + */ +export type HeaderBag = Record; +/** + * @public + * + * Represents an HTTP message with headers and an optional static or streaming + * body. bode: ArrayBuffer | ArrayBufferView | string | Uint8Array | Readable | ReadableStream; + */ +export interface HttpMessage { + headers: HeaderBag; + body?: any; +} +/** + * @public + * + * Represents the options that may be passed to an Http Handler. + */ +export interface HttpHandlerOptions { + abortSignal?: AbortSignal | DeprecatedAbortSignal; + /** + * The maximum time in milliseconds that the connection phase of a request + * may take before the connection attempt is abandoned. + */ + requestTimeout?: number; +} diff --git a/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts b/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts new file mode 100644 index 0000000..a6c94e8 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts @@ -0,0 +1,128 @@ +import type { Agent as hAgent, AgentOptions as hAgentOptions } from "http"; +import type { Agent as hsAgent, AgentOptions as hsAgentOptions } from "https"; +import type { HttpRequest as IHttpRequest } from "../http"; +import type { Logger } from "../logger"; +/** + * + * This type represents an alternate client constructor option for the entry + * "requestHandler". Instead of providing an instance of a requestHandler, the user + * may provide the requestHandler's constructor options for either the + * NodeHttpHandler or FetchHttpHandler. + * + * For other RequestHandlers like HTTP2 or WebSocket, + * constructor parameter passthrough is not currently available. + * + * @public + */ +export type RequestHandlerParams = NodeHttpHandlerOptions | FetchHttpHandlerOptions; +/** + * Represents the http options that can be passed to a node http client. + * @public + */ +export interface NodeHttpHandlerOptions { + /** + * The maximum time in milliseconds that the connection phase of a request + * may take before the connection attempt is abandoned. + * Defaults to 0, which disables the timeout. + */ + connectionTimeout?: number; + /** + * The maximum number of milliseconds request & response should take. + * Defaults to 0, which disables the timeout. + * + * If exceeded, a warning will be emitted unless throwOnRequestTimeout=true, + * in which case a TimeoutError will be thrown. + */ + requestTimeout?: number; + /** + * Because requestTimeout was for a long time incorrectly being set as a socket idle timeout, + * users must also opt-in for request timeout thrown errors. + * Without this setting, a breach of the request timeout will be logged as a warning. + */ + throwOnRequestTimeout?: boolean; + /** + * The maximum time in milliseconds that a socket may remain idle before it + * is closed. Defaults to 0, which means no maximum. + * + * This does not affect the server, which may still close the connection due to an idle socket. + */ + socketTimeout?: number; + /** + * Delay before the NodeHttpHandler checks for socket exhaustion, + * and emits a warning if the active sockets and enqueued request count is greater than + * 2x the maxSockets count. + * + * Defaults to connectionTimeout + requestTimeout or 3000ms if those are not set. + */ + socketAcquisitionWarningTimeout?: number; + /** + * You can pass http.Agent or its constructor options. + */ + httpAgent?: hAgent | hAgentOptions; + /** + * You can pass https.Agent or its constructor options. + */ + httpsAgent?: hsAgent | hsAgentOptions; + /** + * Optional logger. + */ + logger?: Logger; +} +/** + * Represents the http options that can be passed to a browser http client. + * @public + */ +export interface FetchHttpHandlerOptions { + /** + * The number of milliseconds a request can take before being automatically + * terminated. + */ + requestTimeout?: number; + /** + * Whether to allow the request to outlive the page. Default value is false. + * + * There may be limitations to the payload size, number of concurrent requests, + * request duration etc. when using keepalive in browsers. + * + * These may change over time, so look for up to date information about + * these limitations before enabling keepalive. + */ + keepAlive?: boolean; + /** + * A string indicating whether credentials will be sent with the request always, never, or + * only when sent to a same-origin URL. + * @see https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials + */ + credentials?: "include" | "omit" | "same-origin" | undefined | string; + /** + * Cache settings for fetch. + * @see https://developer.mozilla.org/en-US/docs/Web/API/Request/cache + */ + cache?: "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload"; + /** + * An optional function that produces additional RequestInit + * parameters for each httpRequest. + * + * This is applied last via merging with Object.assign() and overwrites other values + * set from other sources. + * + * @example + * ```js + * new Client({ + * requestHandler: { + * requestInit(httpRequest) { + * return { cache: "no-store" }; + * } + * } + * }); + * ``` + */ + requestInit?: (httpRequest: IHttpRequest) => RequestInit; +} +declare global { + /** + * interface merging stub. + */ + interface RequestInit { + } +} diff --git a/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts b/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts new file mode 100644 index 0000000..8e814ea --- /dev/null +++ b/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts @@ -0,0 +1,14 @@ +import type { Identity, IdentityProvider } from "../identity/identity"; +/** + * @public + */ +export interface ApiKeyIdentity extends Identity { + /** + * The literal API Key + */ + readonly apiKey: string; +} +/** + * @public + */ +export type ApiKeyIdentityProvider = IdentityProvider; diff --git a/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts b/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts new file mode 100644 index 0000000..2fbcab7 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts @@ -0,0 +1,31 @@ +import type { Identity, IdentityProvider } from "./identity"; +/** + * @public + */ +export interface AwsCredentialIdentity extends Identity { + /** + * AWS access key ID + */ + readonly accessKeyId: string; + /** + * AWS secret access key + */ + readonly secretAccessKey: string; + /** + * A security or session token to use with these credentials. Usually + * present for temporary credentials. + */ + readonly sessionToken?: string; + /** + * AWS credential scope for this set of credentials. + */ + readonly credentialScope?: string; + /** + * AWS accountId. + */ + readonly accountId?: string; +} +/** + * @public + */ +export type AwsCredentialIdentityProvider = IdentityProvider; diff --git a/node_modules/@smithy/types/dist-types/identity/identity.d.ts b/node_modules/@smithy/types/dist-types/identity/identity.d.ts new file mode 100644 index 0000000..c6fd0d1 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/identity/identity.d.ts @@ -0,0 +1,15 @@ +/** + * @public + */ +export interface Identity { + /** + * A `Date` when the identity or credential will no longer be accepted. + */ + readonly expiration?: Date; +} +/** + * @public + */ +export interface IdentityProvider { + (identityProperties?: Record): Promise; +} diff --git a/node_modules/@smithy/types/dist-types/identity/index.d.ts b/node_modules/@smithy/types/dist-types/identity/index.d.ts new file mode 100644 index 0000000..3360320 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/identity/index.d.ts @@ -0,0 +1,4 @@ +export * from "./apiKeyIdentity"; +export * from "./awsCredentialIdentity"; +export * from "./identity"; +export * from "./tokenIdentity"; diff --git a/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts b/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts new file mode 100644 index 0000000..37bb169 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts @@ -0,0 +1,14 @@ +import type { Identity, IdentityProvider } from "../identity/identity"; +/** + * @internal + */ +export interface TokenIdentity extends Identity { + /** + * The literal token string + */ + readonly token: string; +} +/** + * @internal + */ +export type TokenIdentityProvider = IdentityProvider; diff --git a/node_modules/@smithy/types/dist-types/index.d.ts b/node_modules/@smithy/types/dist-types/index.d.ts new file mode 100644 index 0000000..2f1f25c --- /dev/null +++ b/node_modules/@smithy/types/dist-types/index.d.ts @@ -0,0 +1,43 @@ +export * from "./abort"; +export * from "./auth"; +export * from "./blob/blob-payload-input-types"; +export * from "./checksum"; +export * from "./client"; +export * from "./command"; +export * from "./connection"; +export * from "./crypto"; +export * from "./encode"; +export * from "./endpoint"; +export * from "./endpoints"; +export * from "./eventStream"; +export * from "./extensions"; +export * from "./feature-ids"; +export * from "./http"; +export * from "./http/httpHandlerInitialization"; +export * from "./identity"; +export * from "./logger"; +export * from "./middleware"; +export * from "./pagination"; +export * from "./profile"; +export * from "./response"; +export * from "./retry"; +export * from "./schema/schema"; +export * from "./schema/traits"; +export * from "./schema/schema-deprecated"; +export * from "./schema/sentinels"; +export * from "./schema/static-schemas"; +export * from "./serde"; +export * from "./shapes"; +export * from "./signature"; +export * from "./stream"; +export * from "./streaming-payload/streaming-blob-common-types"; +export * from "./streaming-payload/streaming-blob-payload-input-types"; +export * from "./streaming-payload/streaming-blob-payload-output-types"; +export * from "./transfer"; +export * from "./transform/client-payload-blob-type-narrow"; +export * from "./transform/mutable"; +export * from "./transform/no-undefined"; +export * from "./transform/type-transform"; +export * from "./uri"; +export * from "./util"; +export * from "./waiter"; diff --git a/node_modules/@smithy/types/dist-types/logger.d.ts b/node_modules/@smithy/types/dist-types/logger.d.ts new file mode 100644 index 0000000..f66a664 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/logger.d.ts @@ -0,0 +1,13 @@ +/** + * @public + * + * Represents a logger object that is available in HandlerExecutionContext + * throughout the middleware stack. + */ +export interface Logger { + trace?: (...content: any[]) => void; + debug: (...content: any[]) => void; + info: (...content: any[]) => void; + warn: (...content: any[]) => void; + error: (...content: any[]) => void; +} diff --git a/node_modules/@smithy/types/dist-types/middleware.d.ts b/node_modules/@smithy/types/dist-types/middleware.d.ts new file mode 100644 index 0000000..cc20098 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/middleware.d.ts @@ -0,0 +1,534 @@ +import type { AuthScheme, HttpAuthDefinition } from "./auth/auth"; +import type { SelectedHttpAuthScheme } from "./auth/HttpAuthScheme"; +import type { Command } from "./command"; +import type { EndpointV2 } from "./endpoint"; +import type { SmithyFeatures } from "./feature-ids"; +import type { Logger } from "./logger"; +import type { UserAgent } from "./util"; +/** + * @public + */ +export interface InitializeHandlerArguments { + /** + * User input to a command. Reflects the userland representation of the + * union of data types the command can effectively handle. + */ + input: Input; +} +/** + * @public + */ +export interface InitializeHandlerOutput extends DeserializeHandlerOutput { + output: Output; +} +/** + * @public + */ +export interface SerializeHandlerArguments extends InitializeHandlerArguments { + /** + * The user input serialized as a request object. The request object is unknown, + * so you cannot modify it directly. When work with request, you need to guard its + * type to e.g. HttpRequest with 'instanceof' operand + * + * During the build phase of the execution of a middleware stack, a built + * request may or may not be available. + */ + request?: unknown; +} +/** + * @public + */ +export interface SerializeHandlerOutput extends InitializeHandlerOutput { +} +/** + * @public + */ +export interface BuildHandlerArguments extends FinalizeHandlerArguments { +} +/** + * @public + */ +export interface BuildHandlerOutput extends InitializeHandlerOutput { +} +/** + * @public + */ +export interface FinalizeHandlerArguments extends SerializeHandlerArguments { + /** + * The user input serialized as a request. + */ + request: unknown; +} +/** + * @public + */ +export interface FinalizeHandlerOutput extends InitializeHandlerOutput { +} +/** + * @public + */ +export interface DeserializeHandlerArguments extends FinalizeHandlerArguments { +} +/** + * @public + */ +export interface DeserializeHandlerOutput { + /** + * The raw response object from runtime is deserialized to structured output object. + * The response object is unknown so you cannot modify it directly. When work with + * response, you need to guard its type to e.g. HttpResponse with 'instanceof' operand. + * + * During the deserialize phase of the execution of a middleware stack, a deserialized + * response may or may not be available + */ + response: unknown; + output?: Output; +} +/** + * @public + */ +export interface InitializeHandler { + /** + * Asynchronously converts an input object into an output object. + * + * @param args - An object containing a input to the command as well as any + * associated or previously generated execution artifacts. + */ + (args: InitializeHandlerArguments): Promise>; +} +/** + * @public + */ +export type Handler = InitializeHandler; +/** + * @public + */ +export interface SerializeHandler { + /** + * Asynchronously converts an input object into an output object. + * + * @param args - An object containing a input to the command as well as any + * associated or previously generated execution artifacts. + */ + (args: SerializeHandlerArguments): Promise>; +} +/** + * @public + */ +export interface FinalizeHandler { + /** + * Asynchronously converts an input object into an output object. + * + * @param args - An object containing a input to the command as well as any + * associated or previously generated execution artifacts. + */ + (args: FinalizeHandlerArguments): Promise>; +} +/** + * @public + */ +export interface BuildHandler { + (args: BuildHandlerArguments): Promise>; +} +/** + * @public + */ +export interface DeserializeHandler { + (args: DeserializeHandlerArguments): Promise>; +} +/** + * @public + * + * A factory function that creates functions implementing the `Handler` + * interface. + */ +export interface InitializeMiddleware { + /** + * @param next - The handler to invoke after this middleware has operated on + * the user input and before this middleware operates on the output. + * + * @param context - Invariant data and functions for use by the handler. + */ + (next: InitializeHandler, context: HandlerExecutionContext): InitializeHandler; +} +/** + * @public + * + * A factory function that creates functions implementing the `BuildHandler` + * interface. + */ +export interface SerializeMiddleware { + /** + * @param next - The handler to invoke after this middleware has operated on + * the user input and before this middleware operates on the output. + * + * @param context - Invariant data and functions for use by the handler. + */ + (next: SerializeHandler, context: HandlerExecutionContext): SerializeHandler; +} +/** + * @public + * + * A factory function that creates functions implementing the `FinalizeHandler` + * interface. + */ +export interface FinalizeRequestMiddleware { + /** + * @param next - The handler to invoke after this middleware has operated on + * the user input and before this middleware operates on the output. + * + * @param context - Invariant data and functions for use by the handler. + */ + (next: FinalizeHandler, context: HandlerExecutionContext): FinalizeHandler; +} +/** + * @public + */ +export interface BuildMiddleware { + (next: BuildHandler, context: HandlerExecutionContext): BuildHandler; +} +/** + * @public + */ +export interface DeserializeMiddleware { + (next: DeserializeHandler, context: HandlerExecutionContext): DeserializeHandler; +} +/** + * @public + */ +export type MiddlewareType = InitializeMiddleware | SerializeMiddleware | BuildMiddleware | FinalizeRequestMiddleware | DeserializeMiddleware; +/** + * @public + * + * A factory function that creates the terminal handler atop which a middleware + * stack sits. + */ +export interface Terminalware { + (context: HandlerExecutionContext): DeserializeHandler; +} +/** + * @public + */ +export type Step = "initialize" | "serialize" | "build" | "finalizeRequest" | "deserialize"; +/** + * @public + */ +export type Priority = "high" | "normal" | "low"; +/** + * @public + */ +export interface HandlerOptions { + /** + * Handlers are ordered using a "step" that describes the stage of command + * execution at which the handler will be executed. The available steps are: + * + * - initialize: The input is being prepared. Examples of typical + * initialization tasks include injecting default options computing + * derived parameters. + * - serialize: The input is complete and ready to be serialized. Examples + * of typical serialization tasks include input validation and building + * an HTTP request from user input. + * - build: The input has been serialized into an HTTP request, but that + * request may require further modification. Any request alterations + * will be applied to all retries. Examples of typical build tasks + * include injecting HTTP headers that describe a stable aspect of the + * request, such as `Content-Length` or a body checksum. + * - finalizeRequest: The request is being prepared to be sent over the wire. The + * request in this stage should already be semantically complete and + * should therefore only be altered as match the recipient's + * expectations. Examples of typical finalization tasks include request + * signing and injecting hop-by-hop headers. + * - deserialize: The response has arrived, the middleware here will deserialize + * the raw response object to structured response + * + * Unlike initialization and build handlers, which are executed once + * per operation execution, finalization and deserialize handlers will be + * executed foreach HTTP request sent. + * + * @defaultValue 'initialize' + */ + step?: Step; + /** + * A list of strings to any that identify the general purpose or important + * characteristics of a given handler. + */ + tags?: Array; + /** + * A unique name to refer to a middleware + */ + name?: string; + /** + * @internal + * Aliases allows for middleware to be found by multiple names besides {@link HandlerOptions.name}. + * This allows for references to replaced middleware to continue working, e.g. replacing + * multiple auth-specific middleware with a single generic auth middleware. + */ + aliases?: Array; + /** + * A flag to override the existing middleware with the same name. Without + * setting it, adding middleware with duplicated name will throw an exception. + * @internal + */ + override?: boolean; +} +/** + * @public + */ +export interface AbsoluteLocation { + /** + * By default middleware will be added to individual step in un-guaranteed order. + * In the case that + * + * @defaultValue 'normal' + */ + priority?: Priority; +} +/** + * @public + */ +export type Relation = "before" | "after"; +/** + * @public + */ +export interface RelativeLocation { + /** + * Specify the relation to be before or after a know middleware. + */ + relation: Relation; + /** + * A known middleware name to indicate inserting middleware's location. + */ + toMiddleware: string; +} +/** + * @public + */ +export type RelativeMiddlewareOptions = RelativeLocation & Omit; +/** + * @public + */ +export interface InitializeHandlerOptions extends HandlerOptions { + step?: "initialize"; +} +/** + * @public + */ +export interface SerializeHandlerOptions extends HandlerOptions { + step: "serialize"; +} +/** + * @public + */ +export interface BuildHandlerOptions extends HandlerOptions { + step: "build"; +} +/** + * @public + */ +export interface FinalizeRequestHandlerOptions extends HandlerOptions { + step: "finalizeRequest"; +} +/** + * @public + */ +export interface DeserializeHandlerOptions extends HandlerOptions { + step: "deserialize"; +} +/** + * @public + * + * A stack storing middleware. It can be resolved into a handler. It supports 2 + * approaches for adding middleware: + * 1. Adding middleware to specific step with `add()`. The order of middleware + * added into same step is determined by order of adding them. If one middleware + * needs to be executed at the front of the step or at the end of step, set + * `priority` options to `high` or `low`. + * 2. Adding middleware to location relative to known middleware with `addRelativeTo()`. + * This is useful when given middleware must be executed before or after specific + * middleware(`toMiddleware`). You can add a middleware relatively to another + * middleware which also added relatively. But eventually, this relative middleware + * chain **must** be 'anchored' by a middleware that added using `add()` API + * with absolute `step` and `priority`. This mothod will throw if specified + * `toMiddleware` is not found. + */ +export interface MiddlewareStack extends Pluggable { + /** + * Add middleware to the stack to be executed during the "initialize" step, + * optionally specifying a priority, tags and name + */ + add(middleware: InitializeMiddleware, options?: InitializeHandlerOptions & AbsoluteLocation): void; + /** + * Add middleware to the stack to be executed during the "serialize" step, + * optionally specifying a priority, tags and name + */ + add(middleware: SerializeMiddleware, options: SerializeHandlerOptions & AbsoluteLocation): void; + /** + * Add middleware to the stack to be executed during the "build" step, + * optionally specifying a priority, tags and name + */ + add(middleware: BuildMiddleware, options: BuildHandlerOptions & AbsoluteLocation): void; + /** + * Add middleware to the stack to be executed during the "finalizeRequest" step, + * optionally specifying a priority, tags and name + */ + add(middleware: FinalizeRequestMiddleware, options: FinalizeRequestHandlerOptions & AbsoluteLocation): void; + /** + * Add middleware to the stack to be executed during the "deserialize" step, + * optionally specifying a priority, tags and name + */ + add(middleware: DeserializeMiddleware, options: DeserializeHandlerOptions & AbsoluteLocation): void; + /** + * Add middleware to a stack position before or after a known middleware,optionally + * specifying name and tags. + */ + addRelativeTo(middleware: MiddlewareType, options: RelativeMiddlewareOptions): void; + /** + * Apply a customization function to mutate the middleware stack, often + * used for customizations that requires mutating multiple middleware. + */ + use(pluggable: Pluggable): void; + /** + * Create a shallow clone of this stack. Step bindings and handler priorities + * and tags are preserved in the copy. + */ + clone(): MiddlewareStack; + /** + * Removes middleware from the stack. + * + * If a string is provided, it will be treated as middleware name. If a middleware + * is inserted with the given name, it will be removed. + * + * If a middleware class is provided, all usages thereof will be removed. + */ + remove(toRemove: MiddlewareType | string): boolean; + /** + * Removes middleware that contains given tag + * + * Multiple middleware will potentially be removed + */ + removeByTag(toRemove: string): boolean; + /** + * Create a stack containing the middlewares in this stack as well as the + * middlewares in the `from` stack. Neither source is modified, and step + * bindings and handler priorities and tags are preserved in the copy. + */ + concat(from: MiddlewareStack): MiddlewareStack; + /** + * Returns a list of the current order of middleware in the stack. + * This does not execute the middleware functions, nor does it + * provide a reference to the stack itself. + */ + identify(): string[]; + /** + * @internal + * + * When an operation is called using this stack, + * it will log its list of middleware to the console using + * the identify function. + * + * @param toggle - set whether to log on resolve. + * If no argument given, returns the current value. + */ + identifyOnResolve(toggle?: boolean): boolean; + /** + * Builds a single handler function from zero or more middleware classes and + * a core handler. The core handler is meant to send command objects to AWS + * services and return promises that will resolve with the operation result + * or be rejected with an error. + * + * When a composed handler is invoked, the arguments will pass through all + * middleware in a defined order, and the return from the innermost handler + * will pass through all middleware in the reverse of that order. + */ + resolve(handler: DeserializeHandler, context: HandlerExecutionContext): InitializeHandler; +} +/** + * @internal + */ +export declare const SMITHY_CONTEXT_KEY = "__smithy_context"; +/** + * @public + * + * Data and helper objects that are not expected to change from one execution of + * a composed handler to another. + */ +export interface HandlerExecutionContext { + /** + * A logger that may be invoked by any handler during execution of an + * operation. + */ + logger?: Logger; + /** + * Name of the service the operation is being sent to. + */ + clientName?: string; + /** + * Name of the operation being executed. + */ + commandName?: string; + /** + * Additional user agent that inferred by middleware. It can be used to save + * the internal user agent sections without overriding the `customUserAgent` + * config in clients. + */ + userAgent?: UserAgent; + /** + * Resolved by the endpointMiddleware function of `@smithy/middleware-endpoint` + * in the serialization stage. + */ + endpointV2?: EndpointV2; + /** + * Set at the same time as endpointV2. + */ + authSchemes?: AuthScheme[]; + /** + * The current auth configuration that has been set by any auth middleware and + * that will prevent from being set more than once. + */ + currentAuthConfig?: HttpAuthDefinition; + /** + * @deprecated do not extend this field, it is a carryover from AWS SDKs. + * Used by DynamoDbDocumentClient. + */ + dynamoDbDocumentClientOptions?: Partial<{ + overrideInputFilterSensitiveLog(...args: any[]): string | void; + overrideOutputFilterSensitiveLog(...args: any[]): string | void; + }>; + /** + * @internal + * Context for Smithy properties. + */ + [SMITHY_CONTEXT_KEY]?: { + service?: string; + operation?: string; + commandInstance?: Command; + selectedHttpAuthScheme?: SelectedHttpAuthScheme; + features?: SmithyFeatures; + /** + * @deprecated + * Do not assign arbitrary members to the Smithy Context, + * fields should be explicitly declared here to avoid collisions. + */ + [key: string]: unknown; + }; + /** + * @deprecated + * Do not assign arbitrary members to the context, since + * they can interfere with existing functionality. + * + * Additional members should instead be declared on the SMITHY_CONTEXT_KEY + * or other reserved keys. + */ + [key: string]: any; +} +/** + * @public + */ +export interface Pluggable { + /** + * A function that mutate the passed in middleware stack. Functions implementing + * this interface can add, remove, modify existing middleware stack from clients + * or commands + */ + applyToStack: (stack: MiddlewareStack) => void; +} diff --git a/node_modules/@smithy/types/dist-types/pagination.d.ts b/node_modules/@smithy/types/dist-types/pagination.d.ts new file mode 100644 index 0000000..e10fdda --- /dev/null +++ b/node_modules/@smithy/types/dist-types/pagination.d.ts @@ -0,0 +1,33 @@ +import type { Client } from "./client"; +import type { Command } from "./command"; +/** + * @public + * + * Expected type definition of a paginator. + */ +export type Paginator = AsyncGenerator; +/** + * @public + * + * Expected paginator configuration passed to an operation. Services will extend + * this interface definition and may type client further. + */ +export interface PaginationConfiguration { + client: Client; + pageSize?: number; + startingToken?: any; + /** + * For some APIs, such as CloudWatchLogs events, the next page token will always + * be present. + * + * When true, this config field will have the paginator stop when the token doesn't change + * instead of when it is not present. + */ + stopOnSameToken?: boolean; + /** + * @param command - reference to the instantiated command. This callback is executed + * prior to sending the command with the paginator's client. + * @returns the original command or a replacement, defaulting to the original command object. + */ + withCommand?: (command: Command) => typeof command | undefined; +} diff --git a/node_modules/@smithy/types/dist-types/profile.d.ts b/node_modules/@smithy/types/dist-types/profile.d.ts new file mode 100644 index 0000000..b7885d9 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/profile.d.ts @@ -0,0 +1,30 @@ +/** + * @public + */ +export declare enum IniSectionType { + PROFILE = "profile", + SSO_SESSION = "sso-session", + SERVICES = "services" +} +/** + * @public + */ +export type IniSection = Record; +/** + * @public + * + * @deprecated Please use {@link IniSection} + */ +export interface Profile extends IniSection { +} +/** + * @public + */ +export type ParsedIniData = Record; +/** + * @public + */ +export interface SharedConfigFiles { + credentialsFile: ParsedIniData; + configFile: ParsedIniData; +} diff --git a/node_modules/@smithy/types/dist-types/response.d.ts b/node_modules/@smithy/types/dist-types/response.d.ts new file mode 100644 index 0000000..afcfe8f --- /dev/null +++ b/node_modules/@smithy/types/dist-types/response.d.ts @@ -0,0 +1,40 @@ +/** + * @public + */ +export interface ResponseMetadata { + /** + * The status code of the last HTTP response received for this operation. + */ + httpStatusCode?: number; + /** + * A unique identifier for the last request sent for this operation. Often + * requested by AWS service teams to aid in debugging. + */ + requestId?: string; + /** + * A secondary identifier for the last request sent. Used for debugging. + */ + extendedRequestId?: string; + /** + * A tertiary identifier for the last request sent. Used for debugging. + */ + cfId?: string; + /** + * The number of times this operation was attempted. + */ + attempts?: number; + /** + * The total amount of time (in milliseconds) that was spent waiting between + * retry attempts. + */ + totalRetryDelay?: number; +} +/** + * @public + */ +export interface MetadataBearer { + /** + * Metadata pertaining to this request. + */ + $metadata: ResponseMetadata; +} diff --git a/node_modules/@smithy/types/dist-types/retry.d.ts b/node_modules/@smithy/types/dist-types/retry.d.ts new file mode 100644 index 0000000..c8f3a5d --- /dev/null +++ b/node_modules/@smithy/types/dist-types/retry.d.ts @@ -0,0 +1,133 @@ +import type { SdkError } from "./shapes"; +/** + * @public + */ +export type RetryErrorType = +/** + * This is a connection level error such as a socket timeout, socket connect + * error, tls negotiation timeout etc... + * Typically these should never be applied for non-idempotent request types + * since in this scenario, it's impossible to know whether the operation had + * a side effect on the server. + */ +"TRANSIENT" +/** + * This is an error where the server explicitly told the client to back off, + * such as a 429 or 503 Http error. + */ + | "THROTTLING" +/** + * This is a server error that isn't explicitly throttling but is considered + * by the client to be something that should be retried. + */ + | "SERVER_ERROR" +/** + * Doesn't count against any budgets. This could be something like a 401 + * challenge in Http. + */ + | "CLIENT_ERROR"; +/** + * @public + */ +export interface RetryErrorInfo { + /** + * The error thrown during the initial request, if available. + */ + error?: SdkError; + errorType: RetryErrorType; + /** + * Protocol hint. This could come from Http's 'retry-after' header or + * something from MQTT or any other protocol that has the ability to convey + * retry info from a peer. + * + * The Date after which a retry should be attempted. + */ + retryAfterHint?: Date; +} +/** + * @public + */ +export interface RetryBackoffStrategy { + /** + * @returns the number of milliseconds to wait before retrying an action. + */ + computeNextBackoffDelay(retryAttempt: number): number; +} +/** + * @public + */ +export interface StandardRetryBackoffStrategy extends RetryBackoffStrategy { + /** + * Sets the delayBase used to compute backoff delays. + * @param delayBase - + */ + setDelayBase(delayBase: number): void; +} +/** + * @public + */ +export interface RetryStrategyOptions { + backoffStrategy: RetryBackoffStrategy; + maxRetriesBase: number; +} +/** + * @public + */ +export interface RetryToken { + /** + * @returns the current count of retry. + */ + getRetryCount(): number; + /** + * @returns the number of milliseconds to wait before retrying an action. + */ + getRetryDelay(): number; +} +/** + * @public + */ +export interface StandardRetryToken extends RetryToken { + /** + * @returns the cost of the last retry attempt. + */ + getRetryCost(): number | undefined; +} +/** + * @public + */ +export interface RetryStrategyV2 { + /** + * Called before any retries (for the first call to the operation). It either + * returns a retry token or an error upon the failure to acquire a token prior. + * + * tokenScope is arbitrary and out of scope for this component. However, + * adding it here offers us a lot of future flexibility for outage detection. + * For example, it could be "us-east-1" on a shared retry strategy, or + * "us-west-2-c:dynamodb". + */ + acquireInitialRetryToken(retryTokenScope: string): Promise; + /** + * After a failed operation call, this function is invoked to refresh the + * retryToken returned by acquireInitialRetryToken(). This function can + * either choose to allow another retry and send a new or updated token, + * or reject the retry attempt and report the error either in an exception + * or returning an error. + */ + refreshRetryTokenForRetry(tokenToRenew: RetryToken, errorInfo: RetryErrorInfo): Promise; + /** + * Upon successful completion of the operation, this function is called + * to record that the operation was successful. + */ + recordSuccess(token: RetryToken): void; +} +/** + * @public + */ +export type ExponentialBackoffJitterType = "DEFAULT" | "NONE" | "FULL" | "DECORRELATED"; +/** + * @public + */ +export interface ExponentialBackoffStrategyOptions { + jitterType: ExponentialBackoffJitterType; + backoffScaleValue?: number; +} diff --git a/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts b/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts new file mode 100644 index 0000000..f3e94e2 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts @@ -0,0 +1,143 @@ +import type { EndpointV2 } from "../endpoint"; +import type { HandlerExecutionContext } from "../middleware"; +import type { MetadataBearer } from "../response"; +import type { EndpointBearer, SerdeFunctions } from "../serde"; +import type { ConfigurableSerdeContext, NormalizedSchema, SchemaTraits, SimpleSchema, UnitSchema } from "./schema"; +import type { StaticSchema } from "./static-schemas"; +/** + * A schema is an object or value that describes how to serialize/deserialize data. + * @internal + * @deprecated use $Schema + */ +export type Schema = UnitSchema | TraitsSchema | SimpleSchema | ListSchema | MapSchema | StructureSchema | MemberSchema | OperationSchema | StaticSchema | NormalizedSchema; +/** + * A schema "reference" is either a schema or a function that + * provides a schema. This is useful for lazy loading, and to allow + * code generation to define schema out of dependency order. + * @internal + * @deprecated use $SchemaRef + */ +export type SchemaRef = Schema | (() => Schema); +/** + * A schema that has traits. + * + * @internal + * @deprecated use static schema. + */ +export interface TraitsSchema { + namespace: string; + name: string; + traits: SchemaTraits; +} +/** + * Indicates the schema is a member of a parent Structure schema. + * It may also have a set of member traits distinct from its target shape's traits. + * @internal + * @deprecated use $MemberSchema + */ +export type MemberSchema = [SchemaRef, SchemaTraits]; +/** + * Schema for the structure aggregate type. + * @internal + * @deprecated use static schema. + */ +export interface StructureSchema extends TraitsSchema { + memberNames: string[]; + memberList: SchemaRef[]; + /** + * @deprecated structure member iteration will be linear on the memberNames and memberList arrays. + * It can be collected into a hashmap form on an ad-hoc basis, but will not initialize as such. + */ + members?: Record | undefined; +} +/** + * Schema for the list aggregate type. + * @internal + * @deprecated use static schema. + */ +export interface ListSchema extends TraitsSchema { + valueSchema: SchemaRef; +} +/** + * Schema for the map aggregate type. + * @internal + * @deprecated use static schema. + */ +export interface MapSchema extends TraitsSchema { + keySchema: SchemaRef; + valueSchema: SchemaRef; +} +/** + * Schema for an operation. + * @internal + * @deprecated use StaticOperationSchema or $OperationSchema + */ +export interface OperationSchema { + namespace: string; + name: string; + traits: SchemaTraits; + input: SchemaRef; + output: SchemaRef; +} +/** + * Turns a serialization into a data object. + * @internal + * @deprecated use $ShapeDeserializer + */ +export interface ShapeDeserializer extends ConfigurableSerdeContext { + /** + * Optionally async. + */ + read(schema: Schema, data: SerializationType): any | Promise; +} +/** + * Turns a data object into a serialization. + * @internal + * @deprecated use $ShapeSerializer + */ +export interface ShapeSerializer extends ConfigurableSerdeContext { + write(schema: Schema, value: unknown): void; + flush(): SerializationType; +} +/** + * A codec creates serializers and deserializers for some format such as JSON, XML, or CBOR. + * + * @internal + * @deprecated use $Codec + */ +export interface Codec extends ConfigurableSerdeContext { + createSerializer(): ShapeSerializer; + createDeserializer(): ShapeDeserializer; +} +/** + * A client protocol defines how to convert a message (e.g. HTTP request/response) to and from a data object. + * @internal + * @deprecated use $ClientProtocol + */ +export interface ClientProtocol extends ConfigurableSerdeContext { + /** + * @returns the Smithy qualified shape id. + */ + getShapeId(): string; + getRequestType(): { + new (...args: any[]): Request; + }; + getResponseType(): { + new (...args: any[]): Response; + }; + /** + * @returns the payload codec if the requests/responses have a symmetric format. + * It otherwise may return null. + */ + getPayloadCodec(): Codec; + serializeRequest(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise; + updateServiceEndpoint(request: Request, endpoint: EndpointV2): Request; + deserializeResponse(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise; +} +/** + * @public + * @deprecated use $ClientProtocolCtor. + */ +export interface ClientProtocolCtor { + new (args: any): ClientProtocol; +} diff --git a/node_modules/@smithy/types/dist-types/schema/schema.d.ts b/node_modules/@smithy/types/dist-types/schema/schema.d.ts new file mode 100644 index 0000000..9efce5e --- /dev/null +++ b/node_modules/@smithy/types/dist-types/schema/schema.d.ts @@ -0,0 +1,236 @@ +import type { EndpointV2 } from "../endpoint"; +import type { HandlerExecutionContext } from "../middleware"; +import type { MetadataBearer } from "../response"; +import type { EndpointBearer, SerdeFunctions } from "../serde"; +import type { BigDecimalSchema, BigIntegerSchema, BlobSchema, BooleanSchema, DocumentSchema, NumericSchema, StreamingBlobSchema, StringSchema, TimestampDateTimeSchema, TimestampDefaultSchema, TimestampEpochSecondsSchema, TimestampHttpDateSchema } from "./sentinels"; +import type { StaticSchema } from "./static-schemas"; +import type { TraitBitVector } from "./traits"; +/** + * A schema is an object or value that describes how to serialize/deserialize data. + * @public + */ +export type $Schema = UnitSchema | SimpleSchema | $MemberSchema | StaticSchema | NormalizedSchema; +/** + * Traits attached to schema objects. + * + * When this is a number, it refers to a pre-allocated + * trait combination that is equivalent to one of the + * object type's variations. + * + * @public + */ +export type SchemaTraits = TraitBitVector | SchemaTraitsObject; +/** + * Simple schemas are those corresponding to simple Smithy types. + * @see https://smithy.io/2.0/spec/simple-types.html + * @public + */ +export type SimpleSchema = BlobSchemas | StringSchema | BooleanSchema | NumericSchema | BigIntegerSchema | BigDecimalSchema | DocumentSchema | TimestampSchemas | number; +/** + * Sentinel value for Timestamp schema. + * "Default" means unspecified and to use the protocol serializer's default format. + * + * @public + */ +export type TimestampSchemas = TimestampDefaultSchema | TimestampDateTimeSchema | TimestampHttpDateSchema | TimestampEpochSecondsSchema; +/** + * Sentinel values for Blob schema. + * @public + */ +export type BlobSchemas = BlobSchema | StreamingBlobSchema; +/** + * Signal value for the Smithy void value. Typically used for + * operation input and outputs. + * + * @public + */ +export type UnitSchema = "unit"; +/** + * See https://smithy.io/2.0/trait-index.html for individual definitions. + * + * @public + */ +export type SchemaTraitsObject = { + idempotent?: 1; + idempotencyToken?: 1; + sensitive?: 1; + sparse?: 1; + /** + * timestampFormat is expressed by the schema sentinel values of 4, 5, 6, and 7, + * and not contained in trait objects. + * @deprecated use schema value. + */ + timestampFormat?: never; + httpLabel?: 1; + httpHeader?: string; + httpQuery?: string; + httpPrefixHeaders?: string; + httpQueryParams?: 1; + httpPayload?: 1; + /** + * [method, path, statusCode] + */ + http?: [string, string, number]; + httpResponseCode?: 1; + /** + * [hostPrefix] + */ + endpoint?: [string]; + xmlAttribute?: 1; + xmlName?: string; + /** + * [prefix, uri] + */ + xmlNamespace?: [string, string]; + xmlFlattened?: 1; + jsonName?: string; + mediaType?: string; + error?: "client" | "server"; + streaming?: 1; + eventHeader?: 1; + eventPayload?: 1; + [traitName: string]: unknown; +}; +/** + * Indicates the schema is a member of a parent Structure schema. + * It may also have a set of member traits distinct from its target shape's traits. + * @public + */ +export type $MemberSchema = [$SchemaRef, SchemaTraits]; +/** + * Schema for an operation. + * @public + */ +export interface $OperationSchema { + namespace: string; + name: string; + traits: SchemaTraits; + input: $SchemaRef; + output: $SchemaRef; +} +/** + * Normalization wrapper for various schema data objects. + * @public + */ +export interface NormalizedSchema { + getSchema(): $Schema; + getName(): string | undefined; + isMemberSchema(): boolean; + isListSchema(): boolean; + isMapSchema(): boolean; + isStructSchema(): boolean; + isBlobSchema(): boolean; + isTimestampSchema(): boolean; + isStringSchema(): boolean; + isBooleanSchema(): boolean; + isNumericSchema(): boolean; + isBigIntegerSchema(): boolean; + isBigDecimalSchema(): boolean; + isStreaming(): boolean; + getMergedTraits(): SchemaTraitsObject; + getMemberTraits(): SchemaTraitsObject; + getOwnTraits(): SchemaTraitsObject; + /** + * For list/set/map. + */ + getValueSchema(): NormalizedSchema; + /** + * For struct/union. + */ + getMemberSchema(member: string): NormalizedSchema | undefined; + structIterator(): Generator<[string, NormalizedSchema], undefined, undefined>; +} +/** + * A schema "reference" is either a schema or a function that + * provides a schema. This is useful for lazy loading, and to allow + * code generation to define schema out of dependency order. + * @public + */ +export type $SchemaRef = $Schema | (() => $Schema); +/** + * A codec creates serializers and deserializers for some format such as JSON, XML, or CBOR. + * + * @public + */ +export interface $Codec extends ConfigurableSerdeContext { + createSerializer(): $ShapeSerializer; + createDeserializer(): $ShapeDeserializer; +} +/** + * Configuration for codecs. Different protocols may share codecs, but require different behaviors from them. + * + * @public + */ +export type CodecSettings = { + timestampFormat: { + /** + * Whether to use member timestamp format traits. + */ + useTrait: boolean; + /** + * Default timestamp format. + */ + default: TimestampDateTimeSchema | TimestampHttpDateSchema | TimestampEpochSecondsSchema; + }; + /** + * Whether to use HTTP binding traits. + */ + httpBindings?: boolean; +}; +/** + * Turns a serialization into a data object. + * @public + */ +export interface $ShapeDeserializer extends ConfigurableSerdeContext { + /** + * Optionally async. + */ + read(schema: $Schema, data: SerializationType): any | Promise; +} +/** + * Turns a data object into a serialization. + * @public + */ +export interface $ShapeSerializer extends ConfigurableSerdeContext { + write(schema: $Schema, value: unknown): void; + flush(): SerializationType; +} +/** + * A client protocol defines how to convert a message (e.g. HTTP request/response) to and from a data object. + * @public + */ +export interface $ClientProtocol extends ConfigurableSerdeContext { + /** + * @returns the Smithy qualified shape id. + */ + getShapeId(): string; + getRequestType(): { + new (...args: any[]): Request; + }; + getResponseType(): { + new (...args: any[]): Response; + }; + /** + * @returns the payload codec if the requests/responses have a symmetric format. + * It otherwise may return null. + */ + getPayloadCodec(): $Codec; + serializeRequest(operationSchema: $OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise; + updateServiceEndpoint(request: Request, endpoint: EndpointV2): Request; + deserializeResponse(operationSchema: $OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise; +} +/** + * @public + */ +export interface $ClientProtocolCtor { + new (args: any): $ClientProtocol; +} +/** + * Allows a protocol, codec, or serde utility to accept the serdeContext + * from a client configuration or request/response handlerExecutionContext. + * + * @public + */ +export interface ConfigurableSerdeContext { + setSerdeContext(serdeContext: SerdeFunctions): void; +} diff --git a/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts b/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts new file mode 100644 index 0000000..939e807 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts @@ -0,0 +1,65 @@ +/** + * The blob Smithy type, in JS as Uint8Array and other representations + * such as Buffer, string, or Readable(Stream) depending on circumstances. + * @public + */ +export type BlobSchema = 21; +/** + * @public + */ +export type StreamingBlobSchema = 42; +/** + * @public + */ +export type BooleanSchema = 2; +/** + * Includes string and enum Smithy types. + * @public + */ +export type StringSchema = 0; +/** + * Includes all numeric Smithy types except bigInteger and bigDecimal. + * byte, short, integer, long, float, double, intEnum. + * + * @public + */ +export type NumericSchema = 1; +/** + * @public + */ +export type BigIntegerSchema = 17; +/** + * @public + */ +export type BigDecimalSchema = 19; +/** + * @public + */ +export type DocumentSchema = 15; +/** + * Smithy type timestamp, in JS as native Date object. + * @public + */ +export type TimestampDefaultSchema = 4; +/** + * @public + */ +export type TimestampDateTimeSchema = 5; +/** + * @public + */ +export type TimestampHttpDateSchema = 6; +/** + * @public + */ +export type TimestampEpochSecondsSchema = 7; +/** + * Additional bit indicating the type is a list. + * @public + */ +export type ListSchemaModifier = 64; +/** + * Additional bit indicating the type is a map. + * @public + */ +export type MapSchemaModifier = 128; diff --git a/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts b/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts new file mode 100644 index 0000000..826db2a --- /dev/null +++ b/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts @@ -0,0 +1,99 @@ +import type { $SchemaRef, SchemaTraits } from "../schema/schema"; +/** + * @public + */ +export type StaticSchemaIdSimple = 0; +/** + * @public + */ +export type StaticSchemaIdList = 1; +/** + * @public + */ +export type StaticSchemaIdMap = 2; +/** + * @public + */ +export type StaticSchemaIdStruct = 3; +/** + * @public + */ +export type StaticSchemaIdUnion = 4; +/** + * @public + */ +export type StaticSchemaIdError = -3; +/** + * @public + */ +export type StaticSchemaIdOperation = 9; +/** + * @public + */ +export type StaticSchema = StaticSimpleSchema | StaticListSchema | StaticMapSchema | StaticStructureSchema | StaticUnionSchema | StaticErrorSchema | StaticOperationSchema; +/** + * @public + */ +export type ShapeName = string; +/** + * @public + */ +export type ShapeNamespace = string; +/** + * @public + */ +export type StaticSimpleSchema = [StaticSchemaIdSimple, ShapeNamespace, ShapeName, SchemaTraits, $SchemaRef]; +/** + * @public + */ +export type StaticListSchema = [StaticSchemaIdList, ShapeNamespace, ShapeName, SchemaTraits, $SchemaRef]; +/** + * @public + */ +export type StaticMapSchema = [StaticSchemaIdMap, ShapeNamespace, ShapeName, SchemaTraits, $SchemaRef, $SchemaRef]; +/** + * @public + */ +export type StaticStructureSchema = [ + StaticSchemaIdStruct, + ShapeNamespace, + ShapeName, + SchemaTraits, + string[], + $SchemaRef[], + number? +]; +/** + * @public + */ +export type StaticUnionSchema = [ + StaticSchemaIdUnion, + ShapeNamespace, + ShapeName, + SchemaTraits, + string[], + $SchemaRef[] +]; +/** + * @public + */ +export type StaticErrorSchema = [ + StaticSchemaIdError, + ShapeNamespace, + ShapeName, + SchemaTraits, + string[], + $SchemaRef[], + number? +]; +/** + * @public + */ +export type StaticOperationSchema = [ + StaticSchemaIdOperation, + ShapeNamespace, + ShapeName, + SchemaTraits, + $SchemaRef, + $SchemaRef +]; diff --git a/node_modules/@smithy/types/dist-types/schema/traits.d.ts b/node_modules/@smithy/types/dist-types/schema/traits.d.ts new file mode 100644 index 0000000..0825f81 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/schema/traits.d.ts @@ -0,0 +1,46 @@ +/** + * A bitvector representing a traits object. + * + * Vector index to trait: + * 0 - httpLabel + * 1 - idempotent + * 2 - idempotencyToken + * 3 - sensitive + * 4 - httpPayload + * 5 - httpResponseCode + * 6 - httpQueryParams + * + * The singular trait values are enumerated for quick identification, but + * combination values are left to the `number` union type. + * + * @public + */ +export type TraitBitVector = HttpLabelBitMask | IdempotentBitMask | IdempotencyTokenBitMask | SensitiveBitMask | HttpPayloadBitMask | HttpResponseCodeBitMask | HttpQueryParamsBitMask | number; +/** + * @public + */ +export type HttpLabelBitMask = 1; +/** + * @public + */ +export type IdempotentBitMask = 2; +/** + * @public + */ +export type IdempotencyTokenBitMask = 4; +/** + * @public + */ +export type SensitiveBitMask = 8; +/** + * @public + */ +export type HttpPayloadBitMask = 16; +/** + * @public + */ +export type HttpResponseCodeBitMask = 32; +/** + * @public + */ +export type HttpQueryParamsBitMask = 64; diff --git a/node_modules/@smithy/types/dist-types/serde.d.ts b/node_modules/@smithy/types/dist-types/serde.d.ts new file mode 100644 index 0000000..2f5e5e1 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/serde.d.ts @@ -0,0 +1,114 @@ +import type { Endpoint } from "./http"; +import type { $ClientProtocol } from "./schema/schema"; +import type { RequestHandler } from "./transfer"; +import type { Decoder, Encoder, Provider } from "./util"; +/** + * @public + * + * Interface for object requires an Endpoint set. + */ +export interface EndpointBearer { + endpoint: Provider; +} +/** + * @public + */ +export interface StreamCollector { + /** + * A function that converts a stream into an array of bytes. + * + * @param stream - The low-level native stream from browser or Nodejs runtime + */ + (stream: any): Promise; +} +/** + * @public + * + * Request and Response serde util functions and settings for AWS services + */ +export interface SerdeContext extends SerdeFunctions, EndpointBearer { + requestHandler: RequestHandler; + disableHostPrefix: boolean; + protocol?: $ClientProtocol; +} +/** + * @public + * + * Serde functions from the client config. + */ +export interface SerdeFunctions { + base64Encoder: Encoder; + base64Decoder: Decoder; + utf8Encoder: Encoder; + utf8Decoder: Decoder; + streamCollector: StreamCollector; +} +/** + * @public + */ +export interface RequestSerializer { + /** + * Converts the provided `input` into a request object + * + * @param input - The user input to serialize. + * + * @param context - Context containing runtime-specific util functions. + */ + (input: any, context: Context): Promise; +} +/** + * @public + */ +export interface ResponseDeserializer { + /** + * Converts the output of an operation into JavaScript types. + * + * @param output - The HTTP response received from the service + * + * @param context - context containing runtime-specific util functions. + */ + (output: ResponseType, context: Context): Promise; +} +/** + * The interface contains mix-in utility functions to transfer the runtime-specific + * stream implementation to specified format. Each stream can ONLY be transformed + * once. + * @public + */ +export interface SdkStreamMixin { + transformToByteArray: () => Promise; + transformToString: (encoding?: string) => Promise; + transformToWebStream: () => ReadableStream; +} +/** + * @public + * + * The type describing a runtime-specific stream implementation with mix-in + * utility functions. + */ +export type SdkStream = BaseStream & SdkStreamMixin; +/** + * @public + * + * Indicates that the member of type T with + * key StreamKey have been extended + * with the SdkStreamMixin helper methods. + */ +export type WithSdkStreamMixin = { + [key in keyof T]: key extends StreamKey ? SdkStream : T[key]; +}; +/** + * Interface for internal function to inject stream utility functions + * implementation + * + * @internal + */ +export interface SdkStreamMixinInjector { + (stream: unknown): SdkStreamMixin; +} +/** + * @internal + */ +export interface SdkStreamSerdeContext { + sdkStreamMixin: SdkStreamMixinInjector; +} diff --git a/node_modules/@smithy/types/dist-types/shapes.d.ts b/node_modules/@smithy/types/dist-types/shapes.d.ts new file mode 100644 index 0000000..86dec37 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/shapes.d.ts @@ -0,0 +1,82 @@ +import type { HttpResponse } from "./http"; +import type { MetadataBearer } from "./response"; +/** + * @public + * + * A document type represents an untyped JSON-like value. + * + * Not all protocols support document types, and the serialization format of a + * document type is protocol specific. All JSON protocols SHOULD support + * document types and they SHOULD serialize document types inline as normal + * JSON values. + */ +export type DocumentType = null | boolean | number | string | DocumentType[] | { + [prop: string]: DocumentType; +}; +/** + * @public + * + * A structure shape with the error trait. + * https://smithy.io/2.0/spec/behavior-traits.html#smithy-api-retryable-trait + */ +export interface RetryableTrait { + /** + * Indicates that the error is a retryable throttling error. + */ + readonly throttling?: boolean; +} +/** + * @public + * + * Type that is implemented by all Smithy shapes marked with the + * error trait. + * @deprecated + */ +export interface SmithyException { + /** + * The shape ID name of the exception. + */ + readonly name: string; + /** + * Whether the client or server are at fault. + */ + readonly $fault: "client" | "server"; + /** + * The service that encountered the exception. + */ + readonly $service?: string; + /** + * Indicates that an error MAY be retried by the client. + */ + readonly $retryable?: RetryableTrait; + /** + * Reference to low-level HTTP response object. + */ + readonly $response?: HttpResponse; +} +/** + * @public + * + * @deprecated See {@link https://aws.amazon.com/blogs/developer/service-error-handling-modular-aws-sdk-js/} + * + * This type should not be used in your application. + * Users of the AWS SDK for JavaScript v3 service clients should prefer to + * use the specific Exception classes corresponding to each operation. + * These can be found as code in the deserializer for the operation's Command class, + * or as declarations in the service model file in codegen/sdk-codegen/aws-models. + * + * If no exceptions are enumerated by a particular Command operation, + * the base exception for the service should be used. Each client exports + * a base ServiceException prefixed with the service name. + */ +export type SdkError = Error & Partial & Partial & { + $metadata?: Partial["$metadata"] & { + /** + * If present, will have value of true and indicates that the error resulted in a + * correction of the clock skew, a.k.a. config.systemClockOffset. + * This is specific to AWS SDK and sigv4. + */ + readonly clockSkewCorrected?: true; + }; + cause?: Error; +}; diff --git a/node_modules/@smithy/types/dist-types/signature.d.ts b/node_modules/@smithy/types/dist-types/signature.d.ts new file mode 100644 index 0000000..df788de --- /dev/null +++ b/node_modules/@smithy/types/dist-types/signature.d.ts @@ -0,0 +1,155 @@ +import type { Message } from "./eventStream"; +import type { HttpRequest } from "./http"; +/** + * @public + * + * A `Date` object, a unix (epoch) timestamp in seconds, or a string that can be + * understood by the JavaScript `Date` constructor. + */ +export type DateInput = number | string | Date; +/** + * @public + */ +export interface SigningArguments { + /** + * The date and time to be used as signature metadata. This value should be + * a Date object, a unix (epoch) timestamp, or a string that can be + * understood by the JavaScript `Date` constructor.If not supplied, the + * value returned by `new Date()` will be used. + */ + signingDate?: DateInput; + /** + * The service signing name. It will override the service name of the signer + * in current invocation + */ + signingService?: string; + /** + * The region name to sign the request. It will override the signing region of the + * signer in current invocation + */ + signingRegion?: string; +} +/** + * @public + */ +export interface RequestSigningArguments extends SigningArguments { + /** + * A set of strings whose members represents headers that cannot be signed. + * All headers in the provided request will have their names converted to + * lower case and then checked for existence in the unsignableHeaders set. + */ + unsignableHeaders?: Set; + /** + * A set of strings whose members represents headers that should be signed. + * Any values passed here will override those provided via unsignableHeaders, + * allowing them to be signed. + * + * All headers in the provided request will have their names converted to + * lower case before signing. + */ + signableHeaders?: Set; +} +/** + * @public + */ +export interface RequestPresigningArguments extends RequestSigningArguments { + /** + * The number of seconds before the presigned URL expires + */ + expiresIn?: number; + /** + * A set of strings whose representing headers that should not be hoisted + * to presigned request's query string. If not supplied, the presigner + * moves all the AWS-specific headers (starting with `x-amz-`) to the request + * query string. If supplied, these headers remain in the presigned request's + * header. + * All headers in the provided request will have their names converted to + * lower case and then checked for existence in the unhoistableHeaders set. + */ + unhoistableHeaders?: Set; + /** + * This overrides any headers with the same name(s) set by unhoistableHeaders. + * These headers will be hoisted into the query string and signed. + */ + hoistableHeaders?: Set; +} +/** + * @public + */ +export interface EventSigningArguments extends SigningArguments { + priorSignature: string; +} +/** + * @public + */ +export interface RequestPresigner { + /** + * Signs a request for future use. + * + * The request will be valid until either the provided `expiration` time has + * passed or the underlying credentials have expired. + * + * @param requestToSign - The request that should be signed. + * @param options - Additional signing options. + */ + presign(requestToSign: HttpRequest, options?: RequestPresigningArguments): Promise; +} +/** + * @public + * + * An object that signs request objects with AWS credentials using one of the + * AWS authentication protocols. + */ +export interface RequestSigner { + /** + * Sign the provided request for immediate dispatch. + */ + sign(requestToSign: HttpRequest, options?: RequestSigningArguments): Promise; +} +/** + * @public + */ +export interface StringSigner { + /** + * Sign the provided `stringToSign` for use outside of the context of + * request signing. Typical uses include signed policy generation. + */ + sign(stringToSign: string, options?: SigningArguments): Promise; +} +/** + * @public + */ +export interface FormattedEvent { + headers: Uint8Array; + payload: Uint8Array; +} +/** + * @public + */ +export interface EventSigner { + /** + * Sign the individual event of the event stream. + */ + sign(event: FormattedEvent, options: EventSigningArguments): Promise; +} +/** + * @public + */ +export interface SignableMessage { + message: Message; + priorSignature: string; +} +/** + * @public + */ +export interface SignedMessage { + message: Message; + signature: string; +} +/** + * @public + */ +export interface MessageSigner { + signMessage(message: SignableMessage, args: SigningArguments): Promise; + sign(event: SignableMessage, options: SigningArguments): Promise; +} diff --git a/node_modules/@smithy/types/dist-types/stream.d.ts b/node_modules/@smithy/types/dist-types/stream.d.ts new file mode 100644 index 0000000..6b1fda9 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/stream.d.ts @@ -0,0 +1,22 @@ +import type { ChecksumConstructor } from "./checksum"; +import type { HashConstructor, StreamHasher } from "./crypto"; +import type { BodyLengthCalculator, Encoder } from "./util"; +/** + * @public + */ +export interface GetAwsChunkedEncodingStreamOptions { + base64Encoder?: Encoder; + bodyLengthChecker: BodyLengthCalculator; + checksumAlgorithmFn?: ChecksumConstructor | HashConstructor; + checksumLocationName?: string; + streamHasher?: StreamHasher; +} +/** + * @public + * + * A function that returns Readable Stream which follows aws-chunked encoding stream. + * It optionally adds checksum if options are provided. + */ +export interface GetAwsChunkedEncodingStream { + (readableStream: StreamType, options: GetAwsChunkedEncodingStreamOptions): StreamType; +} diff --git a/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts b/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts new file mode 100644 index 0000000..a93a8ca --- /dev/null +++ b/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts @@ -0,0 +1,32 @@ +import type { Readable } from "stream"; +import type { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check"; +/** + * @public + * + * This is the union representing the modeled blob type with streaming trait + * in a generic format that does not relate to HTTP input or output payloads. + * + * Note: the non-streaming blob type is represented by Uint8Array, but because + * the streaming blob type is always in the request/response paylod, it has + * historically been handled with different types. + * + * @see https://smithy.io/2.0/spec/simple-types.html#blob + * + * For compatibility with its historical representation, it must contain at least + * Readble (Node.js), Blob (browser), and ReadableStream (browser). + * + * @see StreamingPayloadInputTypes for FAQ about mixing types from multiple environments. + */ +export type StreamingBlobTypes = NodeJsRuntimeStreamingBlobTypes | BrowserRuntimeStreamingBlobTypes; +/** + * @public + * + * Node.js streaming blob type. + */ +export type NodeJsRuntimeStreamingBlobTypes = Readable; +/** + * @public + * + * Browser streaming blob types. + */ +export type BrowserRuntimeStreamingBlobTypes = ReadableStreamOptionalType | BlobOptionalType; diff --git a/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts b/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts new file mode 100644 index 0000000..3bbd587 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts @@ -0,0 +1,60 @@ +import type { Readable } from "stream"; +import type { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check"; +/** + * @public + * + * This union represents a superset of the compatible types you + * can use for streaming payload inputs. + * + * FAQ: + * Why does the type union mix mutually exclusive runtime types, namely + * Node.js and browser types? + * + * There are several reasons: + * 1. For backwards compatibility. + * 2. As a convenient compromise solution so that users in either environment may use the types + * without customization. + * 3. The SDK does not have static type information about the exact implementation + * of the HTTP RequestHandler being used in your client(s) (e.g. fetch, XHR, node:http, or node:http2), + * given that it is chosen at runtime. There are multiple possible request handlers + * in both the Node.js and browser runtime environments. + * + * Rather than restricting the type to a known common format (Uint8Array, for example) + * which doesn't include a universal streaming format in the currently supported Node.js versions, + * the type declaration is widened to multiple possible formats. + * It is up to the user to ultimately select a compatible format with the + * runtime and HTTP handler implementation they are using. + * + * Usage: + * The typical solution we expect users to have is to manually narrow the + * type when needed, picking the appropriate one out of the union according to the + * runtime environment and specific request handler. + * There is also the type utility "NodeJsClient", "BrowserClient" and more + * exported from this package. These can be applied at the client level + * to pre-narrow these streaming payload blobs. For usage see the readme.md + * in the root of the \@smithy/types NPM package. + */ +export type StreamingBlobPayloadInputTypes = NodeJsRuntimeStreamingBlobPayloadInputTypes | BrowserRuntimeStreamingBlobPayloadInputTypes; +/** + * @public + * + * Streaming payload input types in the Node.js environment. + * These are derived from the types compatible with the request body used by node:http. + * + * Note: not all types are signable by the standard SignatureV4 signer when + * used as the request body. For example, in Node.js a Readable stream + * is not signable by the default signer. + * They are included in the union because it may be intended in some cases, + * but the expected types are primarily string, Uint8Array, and Buffer. + * + * Additional details may be found in the internal + * function "getPayloadHash" in the SignatureV4 module. + */ +export type NodeJsRuntimeStreamingBlobPayloadInputTypes = string | Uint8Array | Buffer | Readable; +/** + * @public + * + * Streaming payload input types in the browser environment. + * These are derived from the types compatible with fetch's Request.body. + */ +export type BrowserRuntimeStreamingBlobPayloadInputTypes = string | Uint8Array | ReadableStreamOptionalType | BlobOptionalType; diff --git a/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts b/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts new file mode 100644 index 0000000..54ab128 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts @@ -0,0 +1,51 @@ +import type { IncomingMessage } from "http"; +import type { Readable } from "stream"; +import type { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check"; +import type { SdkStream } from "../serde"; +/** + * @public + * + * This union represents a superset of the types you may receive + * in streaming payload outputs. + * + * @see StreamingPayloadInputTypes for FAQ about mixing types from multiple environments. + * + * To highlight the upstream docs about the SdkStream mixin: + * + * The interface contains mix-in (via Object.assign) methods to transform the runtime-specific + * stream implementation to specified format. Each stream can ONLY be transformed + * once. + * + * The available methods are described on the SdkStream type via SdkStreamMixin. + */ +export type StreamingBlobPayloadOutputTypes = NodeJsRuntimeStreamingBlobPayloadOutputTypes | BrowserRuntimeStreamingBlobPayloadOutputTypes; +/** + * @public + * + * Streaming payload output types in the Node.js environment. + * + * This is by default the IncomingMessage type from node:http responses when + * using the default node-http-handler in Node.js environments. + * + * It can be other Readable types like node:http2's ClientHttp2Stream + * such as when using the node-http2-handler. + * + * The SdkStreamMixin adds methods on this type to help transform (collect) it to + * other formats. + */ +export type NodeJsRuntimeStreamingBlobPayloadOutputTypes = SdkStream; +/** + * @public + * + * Streaming payload output types in the browser environment. + * + * This is by default fetch's Response.body type (ReadableStream) when using + * the default fetch-http-handler in browser-like environments. + * + * It may be a Blob, such as when using the XMLHttpRequest handler + * and receiving an arraybuffer response body. + * + * The SdkStreamMixin adds methods on this type to help transform (collect) it to + * other formats. + */ +export type BrowserRuntimeStreamingBlobPayloadOutputTypes = SdkStream; diff --git a/node_modules/@smithy/types/dist-types/transfer.d.ts b/node_modules/@smithy/types/dist-types/transfer.d.ts new file mode 100644 index 0000000..462ee23 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/transfer.d.ts @@ -0,0 +1,41 @@ +/** + * @public + */ +export type RequestHandlerOutput = { + response: ResponseType; +}; +/** + * @public + */ +export interface RequestHandler { + /** + * metadata contains information of a handler. For example + * 'h2' refers this handler is for handling HTTP/2 requests, + * whereas 'h1' refers handling HTTP1 requests + */ + metadata?: RequestHandlerMetadata; + destroy?: () => void; + handle: (request: RequestType, handlerOptions?: HandlerOptions) => Promise>; +} +/** + * @public + */ +export interface RequestHandlerMetadata { + handlerProtocol: RequestHandlerProtocol | string; +} +/** + * @public + * Values from ALPN Protocol IDs. + * @see https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids + */ +export declare enum RequestHandlerProtocol { + HTTP_0_9 = "http/0.9", + HTTP_1_0 = "http/1.0", + TDS_8_0 = "tds/8.0" +} +/** + * @public + */ +export interface RequestContext { + destination: URL; +} diff --git a/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts b/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts new file mode 100644 index 0000000..f9424c4 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts @@ -0,0 +1,26 @@ +import type { CommandIO } from "../command"; +import type { MetadataBearer } from "../response"; +import type { StreamingBlobPayloadOutputTypes } from "../streaming-payload/streaming-blob-payload-output-types"; +import type { Transform } from "./type-transform"; +/** + * @internal + * + * Narrowed version of InvokeFunction used in Client::send. + */ +export interface NarrowedInvokeFunction { + (command: CommandIO, options?: HttpHandlerOptions): Promise>; + (command: CommandIO, cb: (err: unknown, data?: Transform) => void): void; + (command: CommandIO, options: HttpHandlerOptions, cb: (err: unknown, data?: Transform) => void): void; + (command: CommandIO, options?: HttpHandlerOptions, cb?: (err: unknown, data?: Transform) => void): Promise> | void; +} +/** + * @internal + * + * Narrowed version of InvokeMethod used in aggregated Client methods. + */ +export interface NarrowedInvokeMethod { + (input: InputType, options?: HttpHandlerOptions): Promise>; + (input: InputType, cb: (err: unknown, data?: Transform) => void): void; + (input: InputType, options: HttpHandlerOptions, cb: (err: unknown, data?: Transform) => void): void; + (input: InputType, options?: HttpHandlerOptions, cb?: (err: unknown, data?: OutputType) => void): Promise> | void; +} diff --git a/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts b/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts new file mode 100644 index 0000000..28d92f6 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts @@ -0,0 +1,77 @@ +import type { IncomingMessage } from "http"; +import type { ClientHttp2Stream } from "http2"; +import type { InvokeMethod } from "../client"; +import type { GetOutputType } from "../command"; +import type { HttpHandlerOptions } from "../http"; +import type { SdkStream } from "../serde"; +import type { BrowserRuntimeStreamingBlobPayloadInputTypes, NodeJsRuntimeStreamingBlobPayloadInputTypes, StreamingBlobPayloadInputTypes } from "../streaming-payload/streaming-blob-payload-input-types"; +import type { StreamingBlobPayloadOutputTypes } from "../streaming-payload/streaming-blob-payload-output-types"; +import type { NarrowedInvokeMethod } from "./client-method-transforms"; +import type { Transform } from "./type-transform"; +/** + * @public + * + * Creates a type with a given client type that narrows payload blob output + * types to SdkStream. + * + * This can be used for clients with the NodeHttpHandler requestHandler, + * the default in Node.js when not using HTTP2. + * + * Usage example: + * ```typescript + * const client = new YourClient({}) as NodeJsClient; + * ``` + */ +export type NodeJsClient = NarrowPayloadBlobTypes, ClientType>; +/** + * @public + * Variant of NodeJsClient for node:http2. + */ +export type NodeJsHttp2Client = NarrowPayloadBlobTypes, ClientType>; +/** + * @public + * + * Creates a type with a given client type that narrows payload blob output + * types to SdkStream. + * + * This can be used for clients with the FetchHttpHandler requestHandler, + * which is the default in browser environments. + * + * Usage example: + * ```typescript + * const client = new YourClient({}) as BrowserClient; + * ``` + */ +export type BrowserClient = NarrowPayloadBlobTypes, ClientType>; +/** + * @public + * + * Variant of BrowserClient for XMLHttpRequest. + */ +export type BrowserXhrClient = NarrowPayloadBlobTypes, ClientType>; +/** + * @public + * + * @deprecated use NarrowPayloadBlobTypes. + * + * Narrow a given Client's blob payload outputs to the given type T. + */ +export type NarrowPayloadBlobOutputType = { + [key in keyof ClientType]: [ClientType[key]] extends [ + InvokeMethod + ] ? NarrowedInvokeMethod : ClientType[key]; +} & { + send(command: Command, options?: any): Promise, StreamingBlobPayloadOutputTypes | undefined, T>>; +}; +/** + * @public + * + * Narrow a Client's blob payload input and output types to I and O. + */ +export type NarrowPayloadBlobTypes = { + [key in keyof ClientType]: [ClientType[key]] extends [ + InvokeMethod + ] ? NarrowedInvokeMethod, FunctionOutputTypes> : ClientType[key]; +} & { + send(command: Command, options?: any): Promise, StreamingBlobPayloadOutputTypes | undefined, O>>; +}; diff --git a/node_modules/@smithy/types/dist-types/transform/exact.d.ts b/node_modules/@smithy/types/dist-types/transform/exact.d.ts new file mode 100644 index 0000000..c8a15d8 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/transform/exact.d.ts @@ -0,0 +1,6 @@ +/** + * @internal + * + * Checks that A and B extend each other. + */ +export type Exact = [A] extends [B] ? ([B] extends [A] ? true : false) : false; diff --git a/node_modules/@smithy/types/dist-types/transform/mutable.d.ts b/node_modules/@smithy/types/dist-types/transform/mutable.d.ts new file mode 100644 index 0000000..4ba55e3 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/transform/mutable.d.ts @@ -0,0 +1,6 @@ +/** + * @internal + */ +export type Mutable = { + -readonly [Property in keyof Type]: Type[Property]; +}; diff --git a/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts b/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts new file mode 100644 index 0000000..a0ec72e --- /dev/null +++ b/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts @@ -0,0 +1,68 @@ +import type { InvokeMethod, InvokeMethodOptionalArgs } from "../client"; +import type { GetOutputType } from "../command"; +import type { DocumentType } from "../shapes"; +/** + * @public + * + * This type is intended as a type helper for generated clients. + * When initializing client, cast it to this type by passing + * the client constructor type as the type parameter. + * + * It will then recursively remove "undefined" as a union type from all + * input and output shapes' members. Note, this does not affect + * any member that is optional (?) such as outputs with no required members. + * + * @example + * ```ts + * const client = new Client({}) as AssertiveClient; + * ``` + */ +export type AssertiveClient = NarrowClientIOTypes; +/** + * @public + * + * This is similar to AssertiveClient but additionally changes all + * output types to (recursive) Required so as to bypass all output nullability guards. + */ +export type UncheckedClient = UncheckedClientOutputTypes; +/** + * @internal + * + * Excludes undefined recursively. + */ +export type NoUndefined = T extends Function ? T : T extends DocumentType ? T : [T] extends [object] ? { + [key in keyof T]: NoUndefined; +} : Exclude; +/** + * @internal + * + * Excludes undefined and optional recursively. + */ +export type RecursiveRequired = T extends Function ? T : T extends DocumentType ? T : [T] extends [object] ? { + [key in keyof T]-?: RecursiveRequired; +} : Exclude; +/** + * @internal + * + * Removes undefined from unions. + */ +type NarrowClientIOTypes = { + [key in keyof ClientType]: [ClientType[key]] extends [ + InvokeMethodOptionalArgs + ] ? InvokeMethodOptionalArgs, NoUndefined> : [ClientType[key]] extends [InvokeMethod] ? InvokeMethod, NoUndefined> : ClientType[key]; +} & { + send(command: Command, options?: any): Promise>>; +}; +/** + * @internal + * + * Removes undefined from unions and adds yolo output types. + */ +type UncheckedClientOutputTypes = { + [key in keyof ClientType]: [ClientType[key]] extends [ + InvokeMethodOptionalArgs + ] ? InvokeMethodOptionalArgs, RecursiveRequired> : [ClientType[key]] extends [InvokeMethod] ? InvokeMethod, RecursiveRequired> : ClientType[key]; +} & { + send(command: Command, options?: any): Promise>>>; +}; +export {}; diff --git a/node_modules/@smithy/types/dist-types/transform/type-transform.d.ts b/node_modules/@smithy/types/dist-types/transform/type-transform.d.ts new file mode 100644 index 0000000..90373fb --- /dev/null +++ b/node_modules/@smithy/types/dist-types/transform/type-transform.d.ts @@ -0,0 +1,34 @@ +/** + * @public + * + * Transforms any members of the object T having type FromType + * to ToType. This applies only to exact type matches. + * + * This is for the case where FromType is a union and only those fields + * matching the same union should be transformed. + */ +export type Transform = ConditionalRecursiveTransformExact; +/** + * @internal + * + * Returns ToType if T matches exactly with FromType. + */ +type TransformExact = [T] extends [FromType] ? ([FromType] extends [T] ? ToType : T) : T; +/** + * @internal + * + * Applies TransformExact to members of an object recursively. + */ +type RecursiveTransformExact = T extends Function ? T : T extends object ? { + [key in keyof T]: [T[key]] extends [FromType] ? [FromType] extends [T[key]] ? ToType : ConditionalRecursiveTransformExact : ConditionalRecursiveTransformExact; +} : TransformExact; +/** + * @internal + * + * Same as RecursiveTransformExact but does not assign to an object + * unless there is a matching transformed member. + */ +type ConditionalRecursiveTransformExact = [T] extends [ + RecursiveTransformExact +] ? [RecursiveTransformExact] extends [T] ? T : RecursiveTransformExact : RecursiveTransformExact; +export {}; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts new file mode 100644 index 0000000..8f19ee0 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts @@ -0,0 +1,7 @@ +import { AbortSignal as DeprecatedAbortSignal } from "./abort"; +/** + * @public + */ +export interface AbortHandler { + (this: AbortSignal | DeprecatedAbortSignal, ev: any): any; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts new file mode 100644 index 0000000..bde20eb --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts @@ -0,0 +1,50 @@ +import { AbortHandler } from "./abort-handler"; +/** + * @public + */ +export { AbortHandler }; +/** + * @public + * @deprecated use platform (global) type for AbortSignal. + * + * Holders of an AbortSignal object may query if the associated operation has + * been aborted and register an onabort handler. + * + * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal + */ +export interface AbortSignal { + /** + * Whether the action represented by this signal has been cancelled. + */ + readonly aborted: boolean; + /** + * A function to be invoked when the action represented by this signal has + * been cancelled. + */ + onabort: AbortHandler | Function | null; +} +/** + * @public + * @deprecated use platform (global) type for AbortController. + * + * The AWS SDK uses a Controller/Signal model to allow for cooperative + * cancellation of asynchronous operations. When initiating such an operation, + * the caller can create an AbortController and then provide linked signal to + * subtasks. This allows a single source to communicate to multiple consumers + * that an action has been aborted without dictating how that cancellation + * should be handled. + * + * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortController + */ +export interface AbortController { + /** + * An object that reports whether the action associated with this + * `AbortController` has been cancelled. + */ + readonly signal: AbortSignal; + /** + * Declares the operation associated with this AbortController to have been + * cancelled. + */ + abort(): void; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts new file mode 100644 index 0000000..5d74340 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts @@ -0,0 +1,7 @@ +/** + * @internal + */ +export declare enum HttpApiKeyAuthLocation { + HEADER = "header", + QUERY = "query" +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts new file mode 100644 index 0000000..c5be532 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts @@ -0,0 +1,49 @@ +import { Identity, IdentityProvider } from "../identity/identity"; +import { HandlerExecutionContext } from "../middleware"; +import { HttpSigner } from "./HttpSigner"; +import { IdentityProviderConfig } from "./IdentityProviderConfig"; +/** + * ID for {@link HttpAuthScheme} + * @internal + */ +export type HttpAuthSchemeId = string; +/** + * Interface that defines an HttpAuthScheme + * @internal + */ +export interface HttpAuthScheme { + /** + * ID for an HttpAuthScheme, typically the absolute shape ID of a Smithy auth trait. + */ + schemeId: HttpAuthSchemeId; + /** + * Gets the IdentityProvider corresponding to an HttpAuthScheme. + */ + identityProvider(config: IdentityProviderConfig): IdentityProvider | undefined; + /** + * HttpSigner corresponding to an HttpAuthScheme. + */ + signer: HttpSigner; +} +/** + * Interface that defines the identity and signing properties when selecting + * an HttpAuthScheme. + * @internal + */ +export interface HttpAuthOption { + schemeId: HttpAuthSchemeId; + identityProperties?: Record; + signingProperties?: Record; + propertiesExtractor?: (config: TConfig, context: TContext) => { + identityProperties?: Record; + signingProperties?: Record; + }; +} +/** + * @internal + */ +export interface SelectedHttpAuthScheme { + httpAuthOption: HttpAuthOption; + identity: Identity; + signer: HttpSigner; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts new file mode 100644 index 0000000..710dc8f --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts @@ -0,0 +1,20 @@ +import { HandlerExecutionContext } from "../middleware"; +import { HttpAuthOption } from "./HttpAuthScheme"; +/** + * @internal + */ +export interface HttpAuthSchemeParameters { + operation?: string; +} +/** + * @internal + */ +export interface HttpAuthSchemeProvider { + (authParameters: TParameters): HttpAuthOption[]; +} +/** + * @internal + */ +export interface HttpAuthSchemeParametersProvider { + (config: TConfig, context: TContext, input: TInput): Promise; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts new file mode 100644 index 0000000..ea2969c --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts @@ -0,0 +1,41 @@ +import { HttpRequest, HttpResponse } from "../http"; +import { Identity } from "../identity/identity"; +/** + * @internal + */ +export interface ErrorHandler { + (signingProperties: Record): (error: E) => never; +} +/** + * @internal + */ +export interface SuccessHandler { + (httpResponse: HttpResponse | unknown, signingProperties: Record): void; +} +/** + * Interface to sign identity and signing properties. + * @internal + */ +export interface HttpSigner { + /** + * Signs an HttpRequest with an identity and signing properties. + * @param httpRequest request to sign + * @param identity identity to sing the request with + * @param signingProperties property bag for signing + * @returns signed request in a promise + */ + sign(httpRequest: HttpRequest, identity: Identity, signingProperties: Record): Promise; + /** + * Handler that executes after the {@link HttpSigner.sign} invocation and corresponding + * middleware throws an error. + * The error handler is expected to throw the error it receives, so the return type of the error handler is `never`. + * @internal + */ + errorHandler?: ErrorHandler; + /** + * Handler that executes after the {@link HttpSigner.sign} invocation and corresponding + * middleware succeeds. + * @internal + */ + successHandler?: SuccessHandler; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts new file mode 100644 index 0000000..663d2ec --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts @@ -0,0 +1,14 @@ +import { Identity, IdentityProvider } from "../identity/identity"; +import { HttpAuthSchemeId } from "./HttpAuthScheme"; +/** + * Interface to get an IdentityProvider for a specified HttpAuthScheme + * @internal + */ +export interface IdentityProviderConfig { + /** + * Get the IdentityProvider for a specified HttpAuthScheme. + * @param schemeId schemeId of the HttpAuthScheme + * @returns IdentityProvider or undefined if HttpAuthScheme is not found + */ + getIdentityProvider(schemeId: HttpAuthSchemeId): IdentityProvider | undefined; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts new file mode 100644 index 0000000..2aaabbc --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts @@ -0,0 +1,57 @@ +/** + * @internal + * + * Authentication schemes represent a way that the service will authenticate the customer’s identity. + */ +export interface AuthScheme { + /** + * @example "sigv4a" or "sigv4" + */ + name: "sigv4" | "sigv4a" | string; + /** + * @example "s3" + */ + signingName: string; + /** + * @example "us-east-1" + */ + signingRegion: string; + /** + * @example ["*"] + * @example ["us-west-2", "us-east-1"] + */ + signingRegionSet?: string[]; + /** + * @deprecated this field was renamed to signingRegion. + */ + signingScope?: never; + properties: Record; +} +/** + * @internal + * @deprecated + */ +export interface HttpAuthDefinition { + /** + * Defines the location of where the Auth is serialized. + */ + in: HttpAuthLocation; + /** + * Defines the name of the HTTP header or query string parameter + * that contains the Auth. + */ + name: string; + /** + * Defines the security scheme to use on the `Authorization` header value. + * This can only be set if the "in" property is set to {@link HttpAuthLocation.HEADER}. + */ + scheme?: string; +} +/** + * @internal + * @deprecated + */ +export declare enum HttpAuthLocation { + HEADER = "header", + QUERY = "query" +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts new file mode 100644 index 0000000..7436030 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts @@ -0,0 +1,6 @@ +export * from "./auth"; +export * from "./HttpApiKeyAuth"; +export * from "./HttpAuthScheme"; +export * from "./HttpAuthSchemeProvider"; +export * from "./HttpSigner"; +export * from "./IdentityProviderConfig"; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts new file mode 100644 index 0000000..c76bd3d --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts @@ -0,0 +1,40 @@ +import { Readable } from "stream"; +import { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check"; +/** + * @public + * + * A union of types that can be used as inputs for the service model + * "blob" type when it represents the request's entire payload or body. + * + * For example, in Lambda::invoke, the payload is modeled as a blob type + * and this union applies to it. + * In contrast, in Lambda::createFunction the Zip file option is a blob type, + * but is not the (entire) payload and this union does not apply. + * + * Note: not all types are signable by the standard SignatureV4 signer when + * used as the request body. For example, in Node.js a Readable stream + * is not signable by the default signer. + * They are included in the union because it may work in some cases, + * but the expected types are primarily string and Uint8Array. + * + * Additional details may be found in the internal + * function "getPayloadHash" in the SignatureV4 module. + */ +export type BlobPayloadInputTypes = string | ArrayBuffer | ArrayBufferView | Uint8Array | NodeJsRuntimeBlobTypes | BrowserRuntimeBlobTypes; +/** + * @public + * + * Additional blob types for the Node.js environment. + */ +export type NodeJsRuntimeBlobTypes = Readable | Buffer; +/** + * @public + * + * Additional blob types for the browser environment. + */ +export type BrowserRuntimeBlobTypes = BlobOptionalType | ReadableStreamOptionalType; +/** + * @internal + * @deprecated renamed to BlobPayloadInputTypes. + */ +export type BlobTypes = BlobPayloadInputTypes; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts new file mode 100644 index 0000000..1906009 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts @@ -0,0 +1,63 @@ +import { SourceData } from "./crypto"; +/** + * @public + * + * An object that provides a checksum of data provided in chunks to `update`. + * The checksum may be performed incrementally as chunks are received or all + * at once when the checksum is finalized, depending on the underlying + * implementation. + * + * It's recommended to compute checksum incrementally to avoid reading the + * entire payload in memory. + * + * A class that implements this interface may accept an optional secret key in its + * constructor while computing checksum value, when using HMAC. If provided, + * this secret key would be used when computing checksum. + */ +export interface Checksum { + /** + * Constant length of the digest created by the algorithm in bytes. + */ + digestLength?: number; + /** + * Creates a new checksum object that contains a deep copy of the internal + * state of the current `Checksum` object. + */ + copy?(): Checksum; + /** + * Returns the digest of all of the data passed. + */ + digest(): Promise; + /** + * Allows marking a checksum for checksums that support the ability + * to mark and reset. + * + * @param readLimit - The maximum limit of bytes that can be read + * before the mark position becomes invalid. + */ + mark?(readLimit: number): void; + /** + * Resets the checksum to its initial value. + */ + reset(): void; + /** + * Adds a chunk of data for which checksum needs to be computed. + * This can be called many times with new data as it is streamed. + * + * Implementations may override this method which passes second param + * which makes Checksum object stateless. + * + * @param chunk - The buffer to update checksum with. + */ + update(chunk: Uint8Array): void; +} +/** + * @public + * + * A constructor for a Checksum that may be used to calculate an HMAC. Implementing + * classes should not directly hold the provided key in memory beyond the + * lexical scope of the constructor. + */ +export interface ChecksumConstructor { + new (secret?: SourceData): Checksum; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts new file mode 100644 index 0000000..8bd8f7e --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts @@ -0,0 +1,57 @@ +import { Command } from "./command"; +import { MiddlewareStack } from "./middleware"; +import { MetadataBearer } from "./response"; +import { OptionalParameter } from "./util"; +/** + * @public + * + * A type which checks if the client configuration is optional. + * If all entries of the client configuration are optional, it allows client creation without passing any config. + */ +export type CheckOptionalClientConfig = OptionalParameter; +/** + * @public + * + * function definition for different overrides of client's 'send' function. + */ +export interface InvokeFunction { + (command: Command, options?: any): Promise; + (command: Command, cb: (err: any, data?: OutputType) => void): void; + (command: Command, options: any, cb: (err: any, data?: OutputType) => void): void; + (command: Command, options?: any, cb?: (err: any, data?: OutputType) => void): Promise | void; +} +/** + * @public + * + * Signature that appears on aggregated clients' methods. + */ +export interface InvokeMethod { + (input: InputType, options?: any): Promise; + (input: InputType, cb: (err: any, data?: OutputType) => void): void; + (input: InputType, options: any, cb: (err: any, data?: OutputType) => void): void; + (input: InputType, options?: any, cb?: (err: any, data?: OutputType) => void): Promise | void; +} +/** + * @public + * + * Signature that appears on aggregated clients' methods when argument is optional. + */ +export interface InvokeMethodOptionalArgs { + (): Promise; + (input: InputType, options?: any): Promise; + (input: InputType, cb: (err: any, data?: OutputType) => void): void; + (input: InputType, options: any, cb: (err: any, data?: OutputType) => void): void; + (input: InputType, options?: any, cb?: (err: any, data?: OutputType) => void): Promise | void; +} +/** + * A general interface for service clients, idempotent to browser or node clients + * This type corresponds to SmithyClient(https://github.com/aws/aws-sdk-js-v3/blob/main/packages/smithy-client/src/client.ts). + * It's provided for using without importing the SmithyClient class. + * @internal + */ +export interface Client { + readonly config: ResolvedClientConfiguration; + middlewareStack: MiddlewareStack; + send: InvokeFunction; + destroy: () => void; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts new file mode 100644 index 0000000..dadbaa4 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts @@ -0,0 +1,28 @@ +import { Handler, MiddlewareStack } from "./middleware"; +import { MetadataBearer } from "./response"; +/** + * @public + */ +export interface Command extends CommandIO { + readonly input: InputType; + readonly middlewareStack: MiddlewareStack; + /** + * This should be OperationSchema from @smithy/types, but would + * create problems with the client transform type adaptors. + */ + readonly schema?: any; + resolveMiddleware(stack: MiddlewareStack, configuration: ResolvedConfiguration, options: any): Handler; +} +/** + * @internal + * + * This is a subset of the Command type used only to detect the i/o types. + */ +export interface CommandIO { + readonly input: InputType; + resolveMiddleware(stack: any, configuration: any, options: any): Handler; +} +/** + * @internal + */ +export type GetOutputType = Command extends CommandIO ? O : never; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts new file mode 100644 index 0000000..f9d4632 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts @@ -0,0 +1,10 @@ +/** + * @public + */ +export interface ConnectConfiguration { + /** + * The maximum time in milliseconds that the connection phase of a request + * may take before the connection attempt is abandoned. + */ + requestTimeout?: number; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts new file mode 100644 index 0000000..c6c3ea8 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts @@ -0,0 +1,3 @@ +export * from "./config"; +export * from "./manager"; +export * from "./pool"; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts new file mode 100644 index 0000000..5b1a837 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts @@ -0,0 +1,34 @@ +import { RequestContext } from "../transfer"; +import { ConnectConfiguration } from "./config"; +/** + * @public + */ +export interface ConnectionManagerConfiguration { + /** + * Maximum number of allowed concurrent requests per connection. + */ + maxConcurrency?: number; + /** + * Disables concurrent requests per connection. + */ + disableConcurrency?: boolean; +} +/** + * @public + */ +export interface ConnectionManager { + /** + * Retrieves a connection from the connection pool if available, + * otherwise establish a new connection + */ + lease(requestContext: RequestContext, connectionConfiguration: ConnectConfiguration): T; + /** + * Releases the connection back to the pool making it potentially + * re-usable by other requests. + */ + release(requestContext: RequestContext, connection: T): void; + /** + * Destroys the connection manager. All connections will be closed. + */ + destroy(): void; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts new file mode 100644 index 0000000..d43530a --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts @@ -0,0 +1,32 @@ +/** + * @public + */ +export interface ConnectionPool { + /** + * Retrieve the first connection in the pool + */ + poll(): T | void; + /** + * Release the connection back to the pool making it potentially + * re-usable by other requests. + */ + offerLast(connection: T): void; + /** + * Removes the connection from the pool, and destroys it. + */ + destroy(connection: T): void; + /** + * Implements the iterable protocol and allows arrays to be consumed + * by most syntaxes expecting iterables, such as the spread syntax + * and for...of loops + */ + [Symbol.iterator](): Iterator; +} +/** + * Unused. + * @internal + * @deprecated + */ +export interface CacheKey { + destination: string; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts new file mode 100644 index 0000000..874320e --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts @@ -0,0 +1,60 @@ +/** + * @public + */ +export type SourceData = string | ArrayBuffer | ArrayBufferView; +/** + * @public + * + * An object that provides a hash of data provided in chunks to `update`. The + * hash may be performed incrementally as chunks are received or all at once + * when the hash is finalized, depending on the underlying implementation. + * + * @deprecated use {@link Checksum} + */ +export interface Hash { + /** + * Adds a chunk of data to the hash. If a buffer is provided, the `encoding` + * argument will be ignored. If a string is provided without a specified + * encoding, implementations must assume UTF-8 encoding. + * + * Not all encodings are supported on all platforms, though all must support + * UTF-8. + */ + update(toHash: SourceData, encoding?: "utf8" | "ascii" | "latin1"): void; + /** + * Finalizes the hash and provides a promise that will be fulfilled with the + * raw bytes of the calculated hash. + */ + digest(): Promise; +} +/** + * @public + * + * A constructor for a hash that may be used to calculate an HMAC. Implementing + * classes should not directly hold the provided key in memory beyond the + * lexical scope of the constructor. + * + * @deprecated use {@link ChecksumConstructor} + */ +export interface HashConstructor { + new (secret?: SourceData): Hash; +} +/** + * @public + * + * A function that calculates the hash of a data stream. Determining the hash + * will consume the stream, so only replayable streams should be provided to an + * implementation of this interface. + */ +export interface StreamHasher { + (hashCtor: HashConstructor, stream: StreamType): Promise; +} +/** + * @public + * + * A function that returns a promise fulfilled with bytes from a + * cryptographically secure pseudorandom number generator. + */ +export interface randomValues { + (byteLength: number): Promise; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts new file mode 100644 index 0000000..f8ddc8a --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts @@ -0,0 +1,41 @@ +/** + * @public + * + * Transforms any members of the object T having type FromType + * to ToType. This applies only to exact type matches. + * + * This is for the case where FromType is a union and only those fields + * matching the same union should be transformed. + */ +export type Transform = RecursiveTransformExact; +/** + * @internal + * + * Returns ToType if T matches exactly with FromType. + */ +type TransformExact = [ + T +] extends [ + FromType +] ? ([ + FromType +] extends [ + T +] ? ToType : T) : T; +/** + * @internal + * + * Applies TransformExact to members of an object recursively. + */ +type RecursiveTransformExact = T extends Function ? T : T extends object ? { + [key in keyof T]: [ + T[key] + ] extends [ + FromType + ] ? [ + FromType + ] extends [ + T[key] + ] ? ToType : RecursiveTransformExact : RecursiveTransformExact; +} : TransformExact; +export {}; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts new file mode 100644 index 0000000..27d3a18 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts @@ -0,0 +1,31 @@ +import { Message } from "./eventStream"; +/** + * @public + */ +export interface MessageEncoder { + encode(message: Message): Uint8Array; +} +/** + * @public + */ +export interface MessageDecoder { + decode(message: ArrayBufferView): Message; + feed(message: ArrayBufferView): void; + endOfStream(): void; + getMessage(): AvailableMessage; + getAvailableMessages(): AvailableMessages; +} +/** + * @public + */ +export interface AvailableMessage { + getMessage(): Message | undefined; + isEndOfStream(): boolean; +} +/** + * @public + */ +export interface AvailableMessages { + getMessages(): Message[]; + isEndOfStream(): boolean; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts new file mode 100644 index 0000000..4e93733 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts @@ -0,0 +1,77 @@ +import { AuthScheme } from "./auth/auth"; +/** + * @public + */ +export interface EndpointPartition { + name: string; + dnsSuffix: string; + dualStackDnsSuffix: string; + supportsFIPS: boolean; + supportsDualStack: boolean; +} +/** + * @public + */ +export interface EndpointARN { + partition: string; + service: string; + region: string; + accountId: string; + resourceId: Array; +} +/** + * @public + */ +export declare enum EndpointURLScheme { + HTTP = "http", + HTTPS = "https" +} +/** + * @public + */ +export interface EndpointURL { + /** + * The URL scheme such as http or https. + */ + scheme: EndpointURLScheme; + /** + * The authority is the host and optional port component of the URL. + */ + authority: string; + /** + * The parsed path segment of the URL. + * This value is as-is as provided by the user. + */ + path: string; + /** + * The parsed path segment of the URL. + * This value is guranteed to start and end with a "/". + */ + normalizedPath: string; + /** + * A boolean indicating whether the authority is an IP address. + */ + isIp: boolean; +} +/** + * @public + */ +export type EndpointObjectProperty = string | boolean | { + [key: string]: EndpointObjectProperty; +} | EndpointObjectProperty[]; +/** + * @public + */ +export interface EndpointV2 { + url: URL; + properties?: { + authSchemes?: AuthScheme[]; + } & Record; + headers?: Record; +} +/** + * @public + */ +export type EndpointParameters = { + [name: string]: undefined | boolean | string | string[]; +}; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts new file mode 100644 index 0000000..349558e --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts @@ -0,0 +1,27 @@ +import { EndpointObjectProperty } from "../endpoint"; +import { ConditionObject, Expression } from "./shared"; +/** + * @public + */ +export type EndpointObjectProperties = Record; +/** + * @public + */ +export type EndpointObjectHeaders = Record; +/** + * @public + */ +export type EndpointObject = { + url: Expression; + properties?: EndpointObjectProperties; + headers?: EndpointObjectHeaders; +}; +/** + * @public + */ +export type EndpointRuleObject = { + type: "endpoint"; + conditions?: ConditionObject[]; + endpoint: EndpointObject; + documentation?: string; +}; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts new file mode 100644 index 0000000..9ce0733 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts @@ -0,0 +1,10 @@ +import { ConditionObject, Expression } from "./shared"; +/** + * @public + */ +export type ErrorRuleObject = { + type: "error"; + conditions?: ConditionObject[]; + error: Expression; + documentation?: string; +}; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts new file mode 100644 index 0000000..669b591 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts @@ -0,0 +1,28 @@ +import { RuleSetRules } from "./TreeRuleObject"; +/** + * @public + */ +export type DeprecatedObject = { + message?: string; + since?: string; +}; +/** + * @public + */ +export type ParameterObject = { + type: "String" | "string" | "Boolean" | "boolean"; + default?: string | boolean; + required?: boolean; + documentation?: string; + builtIn?: string; + deprecated?: DeprecatedObject; +}; +/** + * @public + */ +export type RuleSetObject = { + version: string; + serviceId?: string; + parameters: Record; + rules: RuleSetRules; +}; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts new file mode 100644 index 0000000..180d306 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts @@ -0,0 +1,16 @@ +import { EndpointRuleObject } from "./EndpointRuleObject"; +import { ErrorRuleObject } from "./ErrorRuleObject"; +import { ConditionObject } from "./shared"; +/** + * @public + */ +export type RuleSetRules = Array; +/** + * @public + */ +export type TreeRuleObject = { + type: "tree"; + conditions?: ConditionObject[]; + rules: RuleSetRules; + documentation?: string; +}; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts new file mode 100644 index 0000000..64d85cf --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts @@ -0,0 +1,5 @@ +export * from "./EndpointRuleObject"; +export * from "./ErrorRuleObject"; +export * from "./RuleSetObject"; +export * from "./shared"; +export * from "./TreeRuleObject"; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts new file mode 100644 index 0000000..bd11393 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts @@ -0,0 +1,55 @@ +import { Logger } from "../logger"; +/** + * @public + */ +export type ReferenceObject = { + ref: string; +}; +/** + * @public + */ +export type FunctionObject = { + fn: string; + argv: FunctionArgv; +}; +/** + * @public + */ +export type FunctionArgv = Array; +/** + * @public + */ +export type FunctionReturn = string | boolean | number | { + [key: string]: FunctionReturn; +}; +/** + * @public + */ +export type ConditionObject = FunctionObject & { + assign?: string; +}; +/** + * @public + */ +export type Expression = string | ReferenceObject | FunctionObject; +/** + * @public + */ +export type EndpointParams = Record; +/** + * @public + */ +export type EndpointResolverOptions = { + endpointParams: EndpointParams; + logger?: Logger; +}; +/** + * @public + */ +export type ReferenceRecord = Record; +/** + * @public + */ +export type EvaluateOptions = EndpointResolverOptions & { + referenceRecord: ReferenceRecord; +}; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts new file mode 100644 index 0000000..7b9af6c --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts @@ -0,0 +1,137 @@ +import { HttpRequest } from "./http"; +import { FinalizeHandler, FinalizeHandlerArguments, FinalizeHandlerOutput, HandlerExecutionContext } from "./middleware"; +import { MetadataBearer } from "./response"; +/** + * @public + * + * An event stream message. The headers and body properties will always be + * defined, with empty headers represented as an object with no keys and an + * empty body represented as a zero-length Uint8Array. + */ +export interface Message { + headers: MessageHeaders; + body: Uint8Array; +} +/** + * @public + */ +export type MessageHeaders = Record; +/** + * @public + */ +export type HeaderValue = { + type: K; + value: V; +}; +/** + * @public + */ +export type BooleanHeaderValue = HeaderValue<"boolean", boolean>; +/** + * @public + */ +export type ByteHeaderValue = HeaderValue<"byte", number>; +/** + * @public + */ +export type ShortHeaderValue = HeaderValue<"short", number>; +/** + * @public + */ +export type IntegerHeaderValue = HeaderValue<"integer", number>; +/** + * @public + */ +export type LongHeaderValue = HeaderValue<"long", Int64>; +/** + * @public + */ +export type BinaryHeaderValue = HeaderValue<"binary", Uint8Array>; +/** + * @public + */ +export type StringHeaderValue = HeaderValue<"string", string>; +/** + * @public + */ +export type TimestampHeaderValue = HeaderValue<"timestamp", Date>; +/** + * @public + */ +export type UuidHeaderValue = HeaderValue<"uuid", string>; +/** + * @public + */ +export type MessageHeaderValue = BooleanHeaderValue | ByteHeaderValue | ShortHeaderValue | IntegerHeaderValue | LongHeaderValue | BinaryHeaderValue | StringHeaderValue | TimestampHeaderValue | UuidHeaderValue; +/** + * @public + */ +export interface Int64 { + readonly bytes: Uint8Array; + valueOf: () => number; + toString: () => string; +} +/** + * @public + * + * Util functions for serializing or deserializing event stream + */ +export interface EventStreamSerdeContext { + eventStreamMarshaller: EventStreamMarshaller; +} +/** + * @public + * + * A function which deserializes binary event stream message into modeled shape. + */ +export interface EventStreamMarshallerDeserFn { + (body: StreamType, deserializer: (input: Record) => Promise): AsyncIterable; +} +/** + * @public + * + * A function that serializes modeled shape into binary stream message. + */ +export interface EventStreamMarshallerSerFn { + (input: AsyncIterable, serializer: (event: T) => Message): StreamType; +} +/** + * @public + * + * An interface which provides functions for serializing and deserializing binary event stream + * to/from corresponsing modeled shape. + */ +export interface EventStreamMarshaller { + deserialize: EventStreamMarshallerDeserFn; + serialize: EventStreamMarshallerSerFn; +} +/** + * @public + */ +export interface EventStreamRequestSigner { + sign(request: HttpRequest): Promise; +} +/** + * @public + */ +export interface EventStreamPayloadHandler { + handle: (next: FinalizeHandler, args: FinalizeHandlerArguments, context?: HandlerExecutionContext) => Promise>; +} +/** + * @public + */ +export interface EventStreamPayloadHandlerProvider { + (options: any): EventStreamPayloadHandler; +} +/** + * @public + */ +export interface EventStreamSerdeProvider { + (options: any): EventStreamMarshaller; +} +/** + * @public + */ +export interface EventStreamSignerProvider { + (options: any): EventStreamRequestSigner; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts new file mode 100644 index 0000000..a459e5d --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts @@ -0,0 +1,58 @@ +import { ChecksumConstructor } from "../checksum"; +import { HashConstructor } from "../crypto"; +/** + * @internal + */ +export declare enum AlgorithmId { + MD5 = "md5", + CRC32 = "crc32", + CRC32C = "crc32c", + SHA1 = "sha1", + SHA256 = "sha256" +} +/** + * @internal + */ +export interface ChecksumAlgorithm { + algorithmId(): AlgorithmId | string; + checksumConstructor(): ChecksumConstructor | HashConstructor; +} +/** + * @deprecated unused. + * @internal + */ +type ChecksumConfigurationLegacy = { + [other in string | number]: any; +}; +/** + * @internal + */ +export interface ChecksumConfiguration extends ChecksumConfigurationLegacy { + addChecksumAlgorithm(algo: ChecksumAlgorithm): void; + checksumAlgorithms(): ChecksumAlgorithm[]; +} +/** + * @deprecated will be removed for implicit type. + * @internal + */ +type GetChecksumConfigurationType = (runtimeConfig: Partial<{ + sha256: ChecksumConstructor | HashConstructor; + md5: ChecksumConstructor | HashConstructor; +}>) => ChecksumConfiguration; +/** + * @internal + * @deprecated will be moved to smithy-client. + */ +export declare const getChecksumConfiguration: GetChecksumConfigurationType; +/** + * @internal + * @deprecated will be removed for implicit type. + */ +type ResolveChecksumRuntimeConfigType = (clientConfig: ChecksumConfiguration) => any; +/** + * @internal + * + * @deprecated will be moved to smithy-client. + */ +export declare const resolveChecksumRuntimeConfig: ResolveChecksumRuntimeConfigType; +export {}; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts new file mode 100644 index 0000000..12eb924 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts @@ -0,0 +1,33 @@ +import { ChecksumConfiguration } from "./checksum"; +/** + * @deprecated will be replaced by DefaultExtensionConfiguration. + * @internal + * + * Default client configuration consisting various configurations for modifying a service client + */ +export interface DefaultClientConfiguration extends ChecksumConfiguration { +} +/** + * @deprecated will be removed for implicit type. + */ +type GetDefaultConfigurationType = (runtimeConfig: any) => DefaultClientConfiguration; +/** + * @deprecated moving to @smithy/smithy-client. + * @internal + * + * Helper function to resolve default client configuration from runtime config + * + */ +export declare const getDefaultClientConfiguration: GetDefaultConfigurationType; +/** + * @deprecated will be removed for implicit type. + */ +type ResolveDefaultRuntimeConfigType = (clientConfig: DefaultClientConfiguration) => any; +/** + * @deprecated moving to @smithy/smithy-client. + * @internal + * + * Helper function to resolve runtime config from default client configuration + */ +export declare const resolveDefaultRuntimeConfig: ResolveDefaultRuntimeConfigType; +export {}; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts new file mode 100644 index 0000000..0e6fa0d --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts @@ -0,0 +1,9 @@ +import { ChecksumConfiguration } from "./checksum"; +import { RetryStrategyConfiguration } from "./retry"; +/** + * @internal + * + * Default extension configuration consisting various configurations for modifying a service client + */ +export interface DefaultExtensionConfiguration extends ChecksumConfiguration, RetryStrategyConfiguration { +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts new file mode 100644 index 0000000..cce65a1 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts @@ -0,0 +1,4 @@ +export * from "./defaultClientConfiguration"; +export * from "./defaultExtensionConfiguration"; +export { AlgorithmId, ChecksumAlgorithm, ChecksumConfiguration } from "./checksum"; +export { RetryStrategyConfiguration } from "./retry"; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts new file mode 100644 index 0000000..8b91f1c --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts @@ -0,0 +1,18 @@ +import { RetryStrategyV2 } from "../retry"; +import { Provider, RetryStrategy } from "../util"; +/** + * A configuration interface with methods called by runtime extension + * @internal + */ +export interface RetryStrategyConfiguration { + /** + * Set retry strategy used for all http requests + * @param retryStrategy + */ + setRetryStrategy(retryStrategy: Provider): void; + /** + * Get retry strategy used for all http requests + * @param retryStrategy + */ + retryStrategy(): Provider; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts new file mode 100644 index 0000000..9b3b597 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts @@ -0,0 +1,35 @@ +import { Exact } from "../transform/exact"; +/** + * @public + * + * A checked type that resolves to Blob if it is defined as more than a stub, otherwise + * resolves to 'never' so as not to widen the type of unions containing Blob + * excessively. + */ +export type BlobOptionalType = BlobDefined extends true ? Blob : Unavailable; +/** + * @public + * + * A checked type that resolves to ReadableStream if it is defined as more than a stub, otherwise + * resolves to 'never' so as not to widen the type of unions containing ReadableStream + * excessively. + */ +export type ReadableStreamOptionalType = ReadableStreamDefined extends true ? ReadableStream : Unavailable; +/** + * @public + * + * Indicates a type is unavailable if it resolves to this. + */ +export type Unavailable = never; +/** + * @internal + * + * Whether the global types define more than a stub for ReadableStream. + */ +export type ReadableStreamDefined = Exact extends true ? false : true; +/** + * @internal + * + * Whether the global types define more than a stub for Blob. + */ +export type BlobDefined = Exact extends true ? false : true; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts new file mode 100644 index 0000000..19e4bd2 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts @@ -0,0 +1,16 @@ +/** + * @internal + */ +export type SmithyFeatures = Partial<{ + RESOURCE_MODEL: "A"; + WAITER: "B"; + PAGINATOR: "C"; + RETRY_MODE_LEGACY: "D"; + RETRY_MODE_STANDARD: "E"; + RETRY_MODE_ADAPTIVE: "F"; + GZIP_REQUEST_COMPRESSION: "L"; + PROTOCOL_RPC_V2_CBOR: "M"; + ENDPOINT_OVERRIDE: "N"; + SIGV4A_SIGNING: "S"; + CREDENTIALS_CODE: "e"; +}>; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts new file mode 100644 index 0000000..a1d5a50 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts @@ -0,0 +1,113 @@ +import { AbortSignal as DeprecatedAbortSignal } from "./abort"; +import { URI } from "./uri"; +/** + * @public + * + * @deprecated use {@link EndpointV2} from `@smithy/types`. + */ +export interface Endpoint { + protocol: string; + hostname: string; + port?: number; + path: string; + query?: QueryParameterBag; + headers?: HeaderBag; +} +/** + * @public + * + * Interface an HTTP request class. Contains + * addressing information in addition to standard message properties. + */ +export interface HttpRequest extends HttpMessage, URI { + method: string; +} +/** + * @public + * + * Represents an HTTP message as received in reply to a request. Contains a + * numeric status code in addition to standard message properties. + */ +export interface HttpResponse extends HttpMessage { + statusCode: number; + reason?: string; +} +/** + * @public + * + * Represents an HTTP message with headers and an optional static or streaming + * body. body: ArrayBuffer | ArrayBufferView | string | Uint8Array | Readable | ReadableStream; + */ +export interface HttpMessage { + headers: HeaderBag; + body?: any; +} +/** + * @public + * + * A mapping of query parameter names to strings or arrays of strings, with the + * second being used when a parameter contains a list of values. Value can be set + * to null when query is not in key-value pairs shape + */ +export type QueryParameterBag = Record | null>; +/** + * @public + */ +export type FieldOptions = { + name: string; + kind?: FieldPosition; + values?: string[]; +}; +/** + * @public + */ +export declare enum FieldPosition { + HEADER = 0, + TRAILER = 1 +} +/** + * @public + * + * A mapping of header names to string values. Multiple values for the same + * header should be represented as a single string with values separated by + * `, `. + * + * Keys should be considered case insensitive, even if this is not enforced by a + * particular implementation. For example, given the following HeaderBag, where + * keys differ only in case: + * + * ```json + * { + * 'x-request-date': '2000-01-01T00:00:00Z', + * 'X-Request-Date': '2001-01-01T00:00:00Z' + * } + * ``` + * + * The SDK may at any point during processing remove one of the object + * properties in favor of the other. The headers may or may not be combined, and + * the SDK will not deterministically select which header candidate to use. + */ +export type HeaderBag = Record; +/** + * @public + * + * Represents an HTTP message with headers and an optional static or streaming + * body. bode: ArrayBuffer | ArrayBufferView | string | Uint8Array | Readable | ReadableStream; + */ +export interface HttpMessage { + headers: HeaderBag; + body?: any; +} +/** + * @public + * + * Represents the options that may be passed to an Http Handler. + */ +export interface HttpHandlerOptions { + abortSignal?: AbortSignal | DeprecatedAbortSignal; + /** + * The maximum time in milliseconds that the connection phase of a request + * may take before the connection attempt is abandoned. + */ + requestTimeout?: number; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts new file mode 100644 index 0000000..def415c --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts @@ -0,0 +1,128 @@ +import { Agent as hAgent, AgentOptions as hAgentOptions } from "http"; +import { Agent as hsAgent, AgentOptions as hsAgentOptions } from "https"; +import { HttpRequest as IHttpRequest } from "../http"; +import { Logger } from "../logger"; +/** + * + * This type represents an alternate client constructor option for the entry + * "requestHandler". Instead of providing an instance of a requestHandler, the user + * may provide the requestHandler's constructor options for either the + * NodeHttpHandler or FetchHttpHandler. + * + * For other RequestHandlers like HTTP2 or WebSocket, + * constructor parameter passthrough is not currently available. + * + * @public + */ +export type RequestHandlerParams = NodeHttpHandlerOptions | FetchHttpHandlerOptions; +/** + * Represents the http options that can be passed to a node http client. + * @public + */ +export interface NodeHttpHandlerOptions { + /** + * The maximum time in milliseconds that the connection phase of a request + * may take before the connection attempt is abandoned. + * Defaults to 0, which disables the timeout. + */ + connectionTimeout?: number; + /** + * The maximum number of milliseconds request & response should take. + * Defaults to 0, which disables the timeout. + * + * If exceeded, a warning will be emitted unless throwOnRequestTimeout=true, + * in which case a TimeoutError will be thrown. + */ + requestTimeout?: number; + /** + * Because requestTimeout was for a long time incorrectly being set as a socket idle timeout, + * users must also opt-in for request timeout thrown errors. + * Without this setting, a breach of the request timeout will be logged as a warning. + */ + throwOnRequestTimeout?: boolean; + /** + * The maximum time in milliseconds that a socket may remain idle before it + * is closed. Defaults to 0, which means no maximum. + * + * This does not affect the server, which may still close the connection due to an idle socket. + */ + socketTimeout?: number; + /** + * Delay before the NodeHttpHandler checks for socket exhaustion, + * and emits a warning if the active sockets and enqueued request count is greater than + * 2x the maxSockets count. + * + * Defaults to connectionTimeout + requestTimeout or 3000ms if those are not set. + */ + socketAcquisitionWarningTimeout?: number; + /** + * You can pass http.Agent or its constructor options. + */ + httpAgent?: hAgent | hAgentOptions; + /** + * You can pass https.Agent or its constructor options. + */ + httpsAgent?: hsAgent | hsAgentOptions; + /** + * Optional logger. + */ + logger?: Logger; +} +/** + * Represents the http options that can be passed to a browser http client. + * @public + */ +export interface FetchHttpHandlerOptions { + /** + * The number of milliseconds a request can take before being automatically + * terminated. + */ + requestTimeout?: number; + /** + * Whether to allow the request to outlive the page. Default value is false. + * + * There may be limitations to the payload size, number of concurrent requests, + * request duration etc. when using keepalive in browsers. + * + * These may change over time, so look for up to date information about + * these limitations before enabling keepalive. + */ + keepAlive?: boolean; + /** + * A string indicating whether credentials will be sent with the request always, never, or + * only when sent to a same-origin URL. + * @see https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials + */ + credentials?: "include" | "omit" | "same-origin" | undefined | string; + /** + * Cache settings for fetch. + * @see https://developer.mozilla.org/en-US/docs/Web/API/Request/cache + */ + cache?: "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload"; + /** + * An optional function that produces additional RequestInit + * parameters for each httpRequest. + * + * This is applied last via merging with Object.assign() and overwrites other values + * set from other sources. + * + * @example + * ```js + * new Client({ + * requestHandler: { + * requestInit(httpRequest) { + * return { cache: "no-store" }; + * } + * } + * }); + * ``` + */ + requestInit?: (httpRequest: IHttpRequest) => RequestInit; +} +declare global { + /** + * interface merging stub. + */ + interface RequestInit { + } +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts new file mode 100644 index 0000000..27750d4 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts @@ -0,0 +1,14 @@ +import { Identity, IdentityProvider } from "../identity/identity"; +/** + * @public + */ +export interface ApiKeyIdentity extends Identity { + /** + * The literal API Key + */ + readonly apiKey: string; +} +/** + * @public + */ +export type ApiKeyIdentityProvider = IdentityProvider; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts new file mode 100644 index 0000000..7aa5a4b --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts @@ -0,0 +1,31 @@ +import { Identity, IdentityProvider } from "./identity"; +/** + * @public + */ +export interface AwsCredentialIdentity extends Identity { + /** + * AWS access key ID + */ + readonly accessKeyId: string; + /** + * AWS secret access key + */ + readonly secretAccessKey: string; + /** + * A security or session token to use with these credentials. Usually + * present for temporary credentials. + */ + readonly sessionToken?: string; + /** + * AWS credential scope for this set of credentials. + */ + readonly credentialScope?: string; + /** + * AWS accountId. + */ + readonly accountId?: string; +} +/** + * @public + */ +export type AwsCredentialIdentityProvider = IdentityProvider; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts new file mode 100644 index 0000000..c6fd0d1 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts @@ -0,0 +1,15 @@ +/** + * @public + */ +export interface Identity { + /** + * A `Date` when the identity or credential will no longer be accepted. + */ + readonly expiration?: Date; +} +/** + * @public + */ +export interface IdentityProvider { + (identityProperties?: Record): Promise; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts new file mode 100644 index 0000000..3360320 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts @@ -0,0 +1,4 @@ +export * from "./apiKeyIdentity"; +export * from "./awsCredentialIdentity"; +export * from "./identity"; +export * from "./tokenIdentity"; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts new file mode 100644 index 0000000..84a74ff --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts @@ -0,0 +1,14 @@ +import { Identity, IdentityProvider } from "../identity/identity"; +/** + * @internal + */ +export interface TokenIdentity extends Identity { + /** + * The literal token string + */ + readonly token: string; +} +/** + * @internal + */ +export type TokenIdentityProvider = IdentityProvider; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..2f1f25c --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts @@ -0,0 +1,43 @@ +export * from "./abort"; +export * from "./auth"; +export * from "./blob/blob-payload-input-types"; +export * from "./checksum"; +export * from "./client"; +export * from "./command"; +export * from "./connection"; +export * from "./crypto"; +export * from "./encode"; +export * from "./endpoint"; +export * from "./endpoints"; +export * from "./eventStream"; +export * from "./extensions"; +export * from "./feature-ids"; +export * from "./http"; +export * from "./http/httpHandlerInitialization"; +export * from "./identity"; +export * from "./logger"; +export * from "./middleware"; +export * from "./pagination"; +export * from "./profile"; +export * from "./response"; +export * from "./retry"; +export * from "./schema/schema"; +export * from "./schema/traits"; +export * from "./schema/schema-deprecated"; +export * from "./schema/sentinels"; +export * from "./schema/static-schemas"; +export * from "./serde"; +export * from "./shapes"; +export * from "./signature"; +export * from "./stream"; +export * from "./streaming-payload/streaming-blob-common-types"; +export * from "./streaming-payload/streaming-blob-payload-input-types"; +export * from "./streaming-payload/streaming-blob-payload-output-types"; +export * from "./transfer"; +export * from "./transform/client-payload-blob-type-narrow"; +export * from "./transform/mutable"; +export * from "./transform/no-undefined"; +export * from "./transform/type-transform"; +export * from "./uri"; +export * from "./util"; +export * from "./waiter"; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts new file mode 100644 index 0000000..f66a664 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts @@ -0,0 +1,13 @@ +/** + * @public + * + * Represents a logger object that is available in HandlerExecutionContext + * throughout the middleware stack. + */ +export interface Logger { + trace?: (...content: any[]) => void; + debug: (...content: any[]) => void; + info: (...content: any[]) => void; + warn: (...content: any[]) => void; + error: (...content: any[]) => void; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts new file mode 100644 index 0000000..ac2cfae --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts @@ -0,0 +1,534 @@ +import { AuthScheme, HttpAuthDefinition } from "./auth/auth"; +import { SelectedHttpAuthScheme } from "./auth/HttpAuthScheme"; +import { Command } from "./command"; +import { EndpointV2 } from "./endpoint"; +import { SmithyFeatures } from "./feature-ids"; +import { Logger } from "./logger"; +import { UserAgent } from "./util"; +/** + * @public + */ +export interface InitializeHandlerArguments { + /** + * User input to a command. Reflects the userland representation of the + * union of data types the command can effectively handle. + */ + input: Input; +} +/** + * @public + */ +export interface InitializeHandlerOutput extends DeserializeHandlerOutput { + output: Output; +} +/** + * @public + */ +export interface SerializeHandlerArguments extends InitializeHandlerArguments { + /** + * The user input serialized as a request object. The request object is unknown, + * so you cannot modify it directly. When work with request, you need to guard its + * type to e.g. HttpRequest with 'instanceof' operand + * + * During the build phase of the execution of a middleware stack, a built + * request may or may not be available. + */ + request?: unknown; +} +/** + * @public + */ +export interface SerializeHandlerOutput extends InitializeHandlerOutput { +} +/** + * @public + */ +export interface BuildHandlerArguments extends FinalizeHandlerArguments { +} +/** + * @public + */ +export interface BuildHandlerOutput extends InitializeHandlerOutput { +} +/** + * @public + */ +export interface FinalizeHandlerArguments extends SerializeHandlerArguments { + /** + * The user input serialized as a request. + */ + request: unknown; +} +/** + * @public + */ +export interface FinalizeHandlerOutput extends InitializeHandlerOutput { +} +/** + * @public + */ +export interface DeserializeHandlerArguments extends FinalizeHandlerArguments { +} +/** + * @public + */ +export interface DeserializeHandlerOutput { + /** + * The raw response object from runtime is deserialized to structured output object. + * The response object is unknown so you cannot modify it directly. When work with + * response, you need to guard its type to e.g. HttpResponse with 'instanceof' operand. + * + * During the deserialize phase of the execution of a middleware stack, a deserialized + * response may or may not be available + */ + response: unknown; + output?: Output; +} +/** + * @public + */ +export interface InitializeHandler { + /** + * Asynchronously converts an input object into an output object. + * + * @param args - An object containing a input to the command as well as any + * associated or previously generated execution artifacts. + */ + (args: InitializeHandlerArguments): Promise>; +} +/** + * @public + */ +export type Handler = InitializeHandler; +/** + * @public + */ +export interface SerializeHandler { + /** + * Asynchronously converts an input object into an output object. + * + * @param args - An object containing a input to the command as well as any + * associated or previously generated execution artifacts. + */ + (args: SerializeHandlerArguments): Promise>; +} +/** + * @public + */ +export interface FinalizeHandler { + /** + * Asynchronously converts an input object into an output object. + * + * @param args - An object containing a input to the command as well as any + * associated or previously generated execution artifacts. + */ + (args: FinalizeHandlerArguments): Promise>; +} +/** + * @public + */ +export interface BuildHandler { + (args: BuildHandlerArguments): Promise>; +} +/** + * @public + */ +export interface DeserializeHandler { + (args: DeserializeHandlerArguments): Promise>; +} +/** + * @public + * + * A factory function that creates functions implementing the `Handler` + * interface. + */ +export interface InitializeMiddleware { + /** + * @param next - The handler to invoke after this middleware has operated on + * the user input and before this middleware operates on the output. + * + * @param context - Invariant data and functions for use by the handler. + */ + (next: InitializeHandler, context: HandlerExecutionContext): InitializeHandler; +} +/** + * @public + * + * A factory function that creates functions implementing the `BuildHandler` + * interface. + */ +export interface SerializeMiddleware { + /** + * @param next - The handler to invoke after this middleware has operated on + * the user input and before this middleware operates on the output. + * + * @param context - Invariant data and functions for use by the handler. + */ + (next: SerializeHandler, context: HandlerExecutionContext): SerializeHandler; +} +/** + * @public + * + * A factory function that creates functions implementing the `FinalizeHandler` + * interface. + */ +export interface FinalizeRequestMiddleware { + /** + * @param next - The handler to invoke after this middleware has operated on + * the user input and before this middleware operates on the output. + * + * @param context - Invariant data and functions for use by the handler. + */ + (next: FinalizeHandler, context: HandlerExecutionContext): FinalizeHandler; +} +/** + * @public + */ +export interface BuildMiddleware { + (next: BuildHandler, context: HandlerExecutionContext): BuildHandler; +} +/** + * @public + */ +export interface DeserializeMiddleware { + (next: DeserializeHandler, context: HandlerExecutionContext): DeserializeHandler; +} +/** + * @public + */ +export type MiddlewareType = InitializeMiddleware | SerializeMiddleware | BuildMiddleware | FinalizeRequestMiddleware | DeserializeMiddleware; +/** + * @public + * + * A factory function that creates the terminal handler atop which a middleware + * stack sits. + */ +export interface Terminalware { + (context: HandlerExecutionContext): DeserializeHandler; +} +/** + * @public + */ +export type Step = "initialize" | "serialize" | "build" | "finalizeRequest" | "deserialize"; +/** + * @public + */ +export type Priority = "high" | "normal" | "low"; +/** + * @public + */ +export interface HandlerOptions { + /** + * Handlers are ordered using a "step" that describes the stage of command + * execution at which the handler will be executed. The available steps are: + * + * - initialize: The input is being prepared. Examples of typical + * initialization tasks include injecting default options computing + * derived parameters. + * - serialize: The input is complete and ready to be serialized. Examples + * of typical serialization tasks include input validation and building + * an HTTP request from user input. + * - build: The input has been serialized into an HTTP request, but that + * request may require further modification. Any request alterations + * will be applied to all retries. Examples of typical build tasks + * include injecting HTTP headers that describe a stable aspect of the + * request, such as `Content-Length` or a body checksum. + * - finalizeRequest: The request is being prepared to be sent over the wire. The + * request in this stage should already be semantically complete and + * should therefore only be altered as match the recipient's + * expectations. Examples of typical finalization tasks include request + * signing and injecting hop-by-hop headers. + * - deserialize: The response has arrived, the middleware here will deserialize + * the raw response object to structured response + * + * Unlike initialization and build handlers, which are executed once + * per operation execution, finalization and deserialize handlers will be + * executed foreach HTTP request sent. + * + * @defaultValue 'initialize' + */ + step?: Step; + /** + * A list of strings to any that identify the general purpose or important + * characteristics of a given handler. + */ + tags?: Array; + /** + * A unique name to refer to a middleware + */ + name?: string; + /** + * @internal + * Aliases allows for middleware to be found by multiple names besides {@link HandlerOptions.name}. + * This allows for references to replaced middleware to continue working, e.g. replacing + * multiple auth-specific middleware with a single generic auth middleware. + */ + aliases?: Array; + /** + * A flag to override the existing middleware with the same name. Without + * setting it, adding middleware with duplicated name will throw an exception. + * @internal + */ + override?: boolean; +} +/** + * @public + */ +export interface AbsoluteLocation { + /** + * By default middleware will be added to individual step in un-guaranteed order. + * In the case that + * + * @defaultValue 'normal' + */ + priority?: Priority; +} +/** + * @public + */ +export type Relation = "before" | "after"; +/** + * @public + */ +export interface RelativeLocation { + /** + * Specify the relation to be before or after a know middleware. + */ + relation: Relation; + /** + * A known middleware name to indicate inserting middleware's location. + */ + toMiddleware: string; +} +/** + * @public + */ +export type RelativeMiddlewareOptions = RelativeLocation & Pick>; +/** + * @public + */ +export interface InitializeHandlerOptions extends HandlerOptions { + step?: "initialize"; +} +/** + * @public + */ +export interface SerializeHandlerOptions extends HandlerOptions { + step: "serialize"; +} +/** + * @public + */ +export interface BuildHandlerOptions extends HandlerOptions { + step: "build"; +} +/** + * @public + */ +export interface FinalizeRequestHandlerOptions extends HandlerOptions { + step: "finalizeRequest"; +} +/** + * @public + */ +export interface DeserializeHandlerOptions extends HandlerOptions { + step: "deserialize"; +} +/** + * @public + * + * A stack storing middleware. It can be resolved into a handler. It supports 2 + * approaches for adding middleware: + * 1. Adding middleware to specific step with `add()`. The order of middleware + * added into same step is determined by order of adding them. If one middleware + * needs to be executed at the front of the step or at the end of step, set + * `priority` options to `high` or `low`. + * 2. Adding middleware to location relative to known middleware with `addRelativeTo()`. + * This is useful when given middleware must be executed before or after specific + * middleware(`toMiddleware`). You can add a middleware relatively to another + * middleware which also added relatively. But eventually, this relative middleware + * chain **must** be 'anchored' by a middleware that added using `add()` API + * with absolute `step` and `priority`. This mothod will throw if specified + * `toMiddleware` is not found. + */ +export interface MiddlewareStack extends Pluggable { + /** + * Add middleware to the stack to be executed during the "initialize" step, + * optionally specifying a priority, tags and name + */ + add(middleware: InitializeMiddleware, options?: InitializeHandlerOptions & AbsoluteLocation): void; + /** + * Add middleware to the stack to be executed during the "serialize" step, + * optionally specifying a priority, tags and name + */ + add(middleware: SerializeMiddleware, options: SerializeHandlerOptions & AbsoluteLocation): void; + /** + * Add middleware to the stack to be executed during the "build" step, + * optionally specifying a priority, tags and name + */ + add(middleware: BuildMiddleware, options: BuildHandlerOptions & AbsoluteLocation): void; + /** + * Add middleware to the stack to be executed during the "finalizeRequest" step, + * optionally specifying a priority, tags and name + */ + add(middleware: FinalizeRequestMiddleware, options: FinalizeRequestHandlerOptions & AbsoluteLocation): void; + /** + * Add middleware to the stack to be executed during the "deserialize" step, + * optionally specifying a priority, tags and name + */ + add(middleware: DeserializeMiddleware, options: DeserializeHandlerOptions & AbsoluteLocation): void; + /** + * Add middleware to a stack position before or after a known middleware,optionally + * specifying name and tags. + */ + addRelativeTo(middleware: MiddlewareType, options: RelativeMiddlewareOptions): void; + /** + * Apply a customization function to mutate the middleware stack, often + * used for customizations that requires mutating multiple middleware. + */ + use(pluggable: Pluggable): void; + /** + * Create a shallow clone of this stack. Step bindings and handler priorities + * and tags are preserved in the copy. + */ + clone(): MiddlewareStack; + /** + * Removes middleware from the stack. + * + * If a string is provided, it will be treated as middleware name. If a middleware + * is inserted with the given name, it will be removed. + * + * If a middleware class is provided, all usages thereof will be removed. + */ + remove(toRemove: MiddlewareType | string): boolean; + /** + * Removes middleware that contains given tag + * + * Multiple middleware will potentially be removed + */ + removeByTag(toRemove: string): boolean; + /** + * Create a stack containing the middlewares in this stack as well as the + * middlewares in the `from` stack. Neither source is modified, and step + * bindings and handler priorities and tags are preserved in the copy. + */ + concat(from: MiddlewareStack): MiddlewareStack; + /** + * Returns a list of the current order of middleware in the stack. + * This does not execute the middleware functions, nor does it + * provide a reference to the stack itself. + */ + identify(): string[]; + /** + * @internal + * + * When an operation is called using this stack, + * it will log its list of middleware to the console using + * the identify function. + * + * @param toggle - set whether to log on resolve. + * If no argument given, returns the current value. + */ + identifyOnResolve(toggle?: boolean): boolean; + /** + * Builds a single handler function from zero or more middleware classes and + * a core handler. The core handler is meant to send command objects to AWS + * services and return promises that will resolve with the operation result + * or be rejected with an error. + * + * When a composed handler is invoked, the arguments will pass through all + * middleware in a defined order, and the return from the innermost handler + * will pass through all middleware in the reverse of that order. + */ + resolve(handler: DeserializeHandler, context: HandlerExecutionContext): InitializeHandler; +} +/** + * @internal + */ +export declare const SMITHY_CONTEXT_KEY = "__smithy_context"; +/** + * @public + * + * Data and helper objects that are not expected to change from one execution of + * a composed handler to another. + */ +export interface HandlerExecutionContext { + /** + * A logger that may be invoked by any handler during execution of an + * operation. + */ + logger?: Logger; + /** + * Name of the service the operation is being sent to. + */ + clientName?: string; + /** + * Name of the operation being executed. + */ + commandName?: string; + /** + * Additional user agent that inferred by middleware. It can be used to save + * the internal user agent sections without overriding the `customUserAgent` + * config in clients. + */ + userAgent?: UserAgent; + /** + * Resolved by the endpointMiddleware function of `@smithy/middleware-endpoint` + * in the serialization stage. + */ + endpointV2?: EndpointV2; + /** + * Set at the same time as endpointV2. + */ + authSchemes?: AuthScheme[]; + /** + * The current auth configuration that has been set by any auth middleware and + * that will prevent from being set more than once. + */ + currentAuthConfig?: HttpAuthDefinition; + /** + * @deprecated do not extend this field, it is a carryover from AWS SDKs. + * Used by DynamoDbDocumentClient. + */ + dynamoDbDocumentClientOptions?: Partial<{ + overrideInputFilterSensitiveLog(...args: any[]): string | void; + overrideOutputFilterSensitiveLog(...args: any[]): string | void; + }>; + /** + * @internal + * Context for Smithy properties. + */ + [SMITHY_CONTEXT_KEY]?: { + service?: string; + operation?: string; + commandInstance?: Command; + selectedHttpAuthScheme?: SelectedHttpAuthScheme; + features?: SmithyFeatures; + /** + * @deprecated + * Do not assign arbitrary members to the Smithy Context, + * fields should be explicitly declared here to avoid collisions. + */ + [key: string]: unknown; + }; + /** + * @deprecated + * Do not assign arbitrary members to the context, since + * they can interfere with existing functionality. + * + * Additional members should instead be declared on the SMITHY_CONTEXT_KEY + * or other reserved keys. + */ + [key: string]: any; +} +/** + * @public + */ +export interface Pluggable { + /** + * A function that mutate the passed in middleware stack. Functions implementing + * this interface can add, remove, modify existing middleware stack from clients + * or commands + */ + applyToStack: (stack: MiddlewareStack) => void; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts new file mode 100644 index 0000000..6aff8ab --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts @@ -0,0 +1,33 @@ +import { Client } from "./client"; +import { Command } from "./command"; +/** + * @public + * + * Expected type definition of a paginator. + */ +export type Paginator = AsyncGenerator; +/** + * @public + * + * Expected paginator configuration passed to an operation. Services will extend + * this interface definition and may type client further. + */ +export interface PaginationConfiguration { + client: Client; + pageSize?: number; + startingToken?: any; + /** + * For some APIs, such as CloudWatchLogs events, the next page token will always + * be present. + * + * When true, this config field will have the paginator stop when the token doesn't change + * instead of when it is not present. + */ + stopOnSameToken?: boolean; + /** + * @param command - reference to the instantiated command. This callback is executed + * prior to sending the command with the paginator's client. + * @returns the original command or a replacement, defaulting to the original command object. + */ + withCommand?: (command: Command) => typeof command | undefined; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts new file mode 100644 index 0000000..b7885d9 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts @@ -0,0 +1,30 @@ +/** + * @public + */ +export declare enum IniSectionType { + PROFILE = "profile", + SSO_SESSION = "sso-session", + SERVICES = "services" +} +/** + * @public + */ +export type IniSection = Record; +/** + * @public + * + * @deprecated Please use {@link IniSection} + */ +export interface Profile extends IniSection { +} +/** + * @public + */ +export type ParsedIniData = Record; +/** + * @public + */ +export interface SharedConfigFiles { + credentialsFile: ParsedIniData; + configFile: ParsedIniData; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts new file mode 100644 index 0000000..afcfe8f --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts @@ -0,0 +1,40 @@ +/** + * @public + */ +export interface ResponseMetadata { + /** + * The status code of the last HTTP response received for this operation. + */ + httpStatusCode?: number; + /** + * A unique identifier for the last request sent for this operation. Often + * requested by AWS service teams to aid in debugging. + */ + requestId?: string; + /** + * A secondary identifier for the last request sent. Used for debugging. + */ + extendedRequestId?: string; + /** + * A tertiary identifier for the last request sent. Used for debugging. + */ + cfId?: string; + /** + * The number of times this operation was attempted. + */ + attempts?: number; + /** + * The total amount of time (in milliseconds) that was spent waiting between + * retry attempts. + */ + totalRetryDelay?: number; +} +/** + * @public + */ +export interface MetadataBearer { + /** + * Metadata pertaining to this request. + */ + $metadata: ResponseMetadata; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts new file mode 100644 index 0000000..7bb5881 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts @@ -0,0 +1,133 @@ +import { SdkError } from "./shapes"; +/** + * @public + */ +export type RetryErrorType = +/** + * This is a connection level error such as a socket timeout, socket connect + * error, tls negotiation timeout etc... + * Typically these should never be applied for non-idempotent request types + * since in this scenario, it's impossible to know whether the operation had + * a side effect on the server. + */ +"TRANSIENT" +/** + * This is an error where the server explicitly told the client to back off, + * such as a 429 or 503 Http error. + */ + | "THROTTLING" +/** + * This is a server error that isn't explicitly throttling but is considered + * by the client to be something that should be retried. + */ + | "SERVER_ERROR" +/** + * Doesn't count against any budgets. This could be something like a 401 + * challenge in Http. + */ + | "CLIENT_ERROR"; +/** + * @public + */ +export interface RetryErrorInfo { + /** + * The error thrown during the initial request, if available. + */ + error?: SdkError; + errorType: RetryErrorType; + /** + * Protocol hint. This could come from Http's 'retry-after' header or + * something from MQTT or any other protocol that has the ability to convey + * retry info from a peer. + * + * The Date after which a retry should be attempted. + */ + retryAfterHint?: Date; +} +/** + * @public + */ +export interface RetryBackoffStrategy { + /** + * @returns the number of milliseconds to wait before retrying an action. + */ + computeNextBackoffDelay(retryAttempt: number): number; +} +/** + * @public + */ +export interface StandardRetryBackoffStrategy extends RetryBackoffStrategy { + /** + * Sets the delayBase used to compute backoff delays. + * @param delayBase - + */ + setDelayBase(delayBase: number): void; +} +/** + * @public + */ +export interface RetryStrategyOptions { + backoffStrategy: RetryBackoffStrategy; + maxRetriesBase: number; +} +/** + * @public + */ +export interface RetryToken { + /** + * @returns the current count of retry. + */ + getRetryCount(): number; + /** + * @returns the number of milliseconds to wait before retrying an action. + */ + getRetryDelay(): number; +} +/** + * @public + */ +export interface StandardRetryToken extends RetryToken { + /** + * @returns the cost of the last retry attempt. + */ + getRetryCost(): number | undefined; +} +/** + * @public + */ +export interface RetryStrategyV2 { + /** + * Called before any retries (for the first call to the operation). It either + * returns a retry token or an error upon the failure to acquire a token prior. + * + * tokenScope is arbitrary and out of scope for this component. However, + * adding it here offers us a lot of future flexibility for outage detection. + * For example, it could be "us-east-1" on a shared retry strategy, or + * "us-west-2-c:dynamodb". + */ + acquireInitialRetryToken(retryTokenScope: string): Promise; + /** + * After a failed operation call, this function is invoked to refresh the + * retryToken returned by acquireInitialRetryToken(). This function can + * either choose to allow another retry and send a new or updated token, + * or reject the retry attempt and report the error either in an exception + * or returning an error. + */ + refreshRetryTokenForRetry(tokenToRenew: RetryToken, errorInfo: RetryErrorInfo): Promise; + /** + * Upon successful completion of the operation, this function is called + * to record that the operation was successful. + */ + recordSuccess(token: RetryToken): void; +} +/** + * @public + */ +export type ExponentialBackoffJitterType = "DEFAULT" | "NONE" | "FULL" | "DECORRELATED"; +/** + * @public + */ +export interface ExponentialBackoffStrategyOptions { + jitterType: ExponentialBackoffJitterType; + backoffScaleValue?: number; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts new file mode 100644 index 0000000..610cf86 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts @@ -0,0 +1,149 @@ +import { EndpointV2 } from "../endpoint"; +import { HandlerExecutionContext } from "../middleware"; +import { MetadataBearer } from "../response"; +import { EndpointBearer, SerdeFunctions } from "../serde"; +import { ConfigurableSerdeContext, NormalizedSchema, SchemaTraits, SimpleSchema, UnitSchema } from "./schema"; +import { StaticSchema } from "./static-schemas"; +/** + * A schema is an object or value that describes how to serialize/deserialize data. + * @internal + * @deprecated use $Schema + */ +export type Schema = UnitSchema | TraitsSchema | SimpleSchema | ListSchema | MapSchema | StructureSchema | MemberSchema | OperationSchema | StaticSchema | NormalizedSchema; +/** + * A schema "reference" is either a schema or a function that + * provides a schema. This is useful for lazy loading, and to allow + * code generation to define schema out of dependency order. + * @internal + * @deprecated use $SchemaRef + */ +export type SchemaRef = Schema | (() => Schema); +/** + * A schema that has traits. + * + * @internal + * @deprecated use static schema. + */ +export interface TraitsSchema { + namespace: string; + name: string; + traits: SchemaTraits; +} +/** + * Indicates the schema is a member of a parent Structure schema. + * It may also have a set of member traits distinct from its target shape's traits. + * @internal + * @deprecated use $MemberSchema + */ +export type MemberSchema = [ + SchemaRef, + SchemaTraits +]; +/** + * Schema for the structure aggregate type. + * @internal + * @deprecated use static schema. + */ +export interface StructureSchema extends TraitsSchema { + memberNames: string[]; + memberList: SchemaRef[]; + /** + * @deprecated structure member iteration will be linear on the memberNames and memberList arrays. + * It can be collected into a hashmap form on an ad-hoc basis, but will not initialize as such. + */ + members?: Record | undefined; +} +/** + * Schema for the list aggregate type. + * @internal + * @deprecated use static schema. + */ +export interface ListSchema extends TraitsSchema { + valueSchema: SchemaRef; +} +/** + * Schema for the map aggregate type. + * @internal + * @deprecated use static schema. + */ +export interface MapSchema extends TraitsSchema { + keySchema: SchemaRef; + valueSchema: SchemaRef; +} +/** + * Schema for an operation. + * @internal + * @deprecated use StaticOperationSchema or $OperationSchema + */ +export interface OperationSchema { + namespace: string; + name: string; + traits: SchemaTraits; + input: SchemaRef; + output: SchemaRef; +} +/** + * Turns a serialization into a data object. + * @internal + * @deprecated use $ShapeDeserializer + */ +export interface ShapeDeserializer extends ConfigurableSerdeContext { + /** + * Optionally async. + */ + read(schema: Schema, data: SerializationType): any | Promise; +} +/** + * Turns a data object into a serialization. + * @internal + * @deprecated use $ShapeSerializer + */ +export interface ShapeSerializer extends ConfigurableSerdeContext { + write(schema: Schema, value: unknown): void; + flush(): SerializationType; +} +/** + * A codec creates serializers and deserializers for some format such as JSON, XML, or CBOR. + * + * @internal + * @deprecated use $Codec + */ +export interface Codec extends ConfigurableSerdeContext { + createSerializer(): ShapeSerializer; + createDeserializer(): ShapeDeserializer; +} +/** + * A client protocol defines how to convert a message (e.g. HTTP request/response) to and from a data object. + * @internal + * @deprecated use $ClientProtocol + */ +export interface ClientProtocol extends ConfigurableSerdeContext { + /** + * @returns the Smithy qualified shape id. + */ + getShapeId(): string; + getRequestType(): { + new (...args: any[]): Request; + }; + getResponseType(): { + new (...args: any[]): Response; + }; + /** + * @returns the payload codec if the requests/responses have a symmetric format. + * It otherwise may return null. + */ + getPayloadCodec(): Codec; + serializeRequest(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise; + updateServiceEndpoint(request: Request, endpoint: EndpointV2): Request; + deserializeResponse(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise; +} +/** + * @public + * @deprecated use $ClientProtocolCtor. + */ +export interface ClientProtocolCtor { + new (args: any): ClientProtocol; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts new file mode 100644 index 0000000..8e424dd --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts @@ -0,0 +1,251 @@ +import { EndpointV2 } from "../endpoint"; +import { HandlerExecutionContext } from "../middleware"; +import { MetadataBearer } from "../response"; +import { EndpointBearer, SerdeFunctions } from "../serde"; +import { BigDecimalSchema, BigIntegerSchema, BlobSchema, BooleanSchema, DocumentSchema, NumericSchema, StreamingBlobSchema, StringSchema, TimestampDateTimeSchema, TimestampDefaultSchema, TimestampEpochSecondsSchema, TimestampHttpDateSchema } from "./sentinels"; +import { StaticSchema } from "./static-schemas"; +import { TraitBitVector } from "./traits"; +/** + * A schema is an object or value that describes how to serialize/deserialize data. + * @public + */ +export type $Schema = UnitSchema | SimpleSchema | $MemberSchema | StaticSchema | NormalizedSchema; +/** + * Traits attached to schema objects. + * + * When this is a number, it refers to a pre-allocated + * trait combination that is equivalent to one of the + * object type's variations. + * + * @public + */ +export type SchemaTraits = TraitBitVector | SchemaTraitsObject; +/** + * Simple schemas are those corresponding to simple Smithy types. + * @see https://smithy.io/2.0/spec/simple-types.html + * @public + */ +export type SimpleSchema = BlobSchemas | StringSchema | BooleanSchema | NumericSchema | BigIntegerSchema | BigDecimalSchema | DocumentSchema | TimestampSchemas | number; +/** + * Sentinel value for Timestamp schema. + * "Default" means unspecified and to use the protocol serializer's default format. + * + * @public + */ +export type TimestampSchemas = TimestampDefaultSchema | TimestampDateTimeSchema | TimestampHttpDateSchema | TimestampEpochSecondsSchema; +/** + * Sentinel values for Blob schema. + * @public + */ +export type BlobSchemas = BlobSchema | StreamingBlobSchema; +/** + * Signal value for the Smithy void value. Typically used for + * operation input and outputs. + * + * @public + */ +export type UnitSchema = "unit"; +/** + * See https://smithy.io/2.0/trait-index.html for individual definitions. + * + * @public + */ +export type SchemaTraitsObject = { + idempotent?: 1; + idempotencyToken?: 1; + sensitive?: 1; + sparse?: 1; + /** + * timestampFormat is expressed by the schema sentinel values of 4, 5, 6, and 7, + * and not contained in trait objects. + * @deprecated use schema value. + */ + timestampFormat?: never; + httpLabel?: 1; + httpHeader?: string; + httpQuery?: string; + httpPrefixHeaders?: string; + httpQueryParams?: 1; + httpPayload?: 1; + /** + * [method, path, statusCode] + */ + http?: [ + string, + string, + number + ]; + httpResponseCode?: 1; + /** + * [hostPrefix] + */ + endpoint?: [ + string + ]; + xmlAttribute?: 1; + xmlName?: string; + /** + * [prefix, uri] + */ + xmlNamespace?: [ + string, + string + ]; + xmlFlattened?: 1; + jsonName?: string; + mediaType?: string; + error?: "client" | "server"; + streaming?: 1; + eventHeader?: 1; + eventPayload?: 1; + [traitName: string]: unknown; +}; +/** + * Indicates the schema is a member of a parent Structure schema. + * It may also have a set of member traits distinct from its target shape's traits. + * @public + */ +export type $MemberSchema = [ + $SchemaRef, + SchemaTraits +]; +/** + * Schema for an operation. + * @public + */ +export interface $OperationSchema { + namespace: string; + name: string; + traits: SchemaTraits; + input: $SchemaRef; + output: $SchemaRef; +} +/** + * Normalization wrapper for various schema data objects. + * @public + */ +export interface NormalizedSchema { + getSchema(): $Schema; + getName(): string | undefined; + isMemberSchema(): boolean; + isListSchema(): boolean; + isMapSchema(): boolean; + isStructSchema(): boolean; + isBlobSchema(): boolean; + isTimestampSchema(): boolean; + isStringSchema(): boolean; + isBooleanSchema(): boolean; + isNumericSchema(): boolean; + isBigIntegerSchema(): boolean; + isBigDecimalSchema(): boolean; + isStreaming(): boolean; + getMergedTraits(): SchemaTraitsObject; + getMemberTraits(): SchemaTraitsObject; + getOwnTraits(): SchemaTraitsObject; + /** + * For list/set/map. + */ + getValueSchema(): NormalizedSchema; + /** + * For struct/union. + */ + getMemberSchema(member: string): NormalizedSchema | undefined; + structIterator(): Generator<[ + string, + NormalizedSchema + ], undefined, undefined>; +} +/** + * A schema "reference" is either a schema or a function that + * provides a schema. This is useful for lazy loading, and to allow + * code generation to define schema out of dependency order. + * @public + */ +export type $SchemaRef = $Schema | (() => $Schema); +/** + * A codec creates serializers and deserializers for some format such as JSON, XML, or CBOR. + * + * @public + */ +export interface $Codec extends ConfigurableSerdeContext { + createSerializer(): $ShapeSerializer; + createDeserializer(): $ShapeDeserializer; +} +/** + * Configuration for codecs. Different protocols may share codecs, but require different behaviors from them. + * + * @public + */ +export type CodecSettings = { + timestampFormat: { + /** + * Whether to use member timestamp format traits. + */ + useTrait: boolean; + /** + * Default timestamp format. + */ + default: TimestampDateTimeSchema | TimestampHttpDateSchema | TimestampEpochSecondsSchema; + }; + /** + * Whether to use HTTP binding traits. + */ + httpBindings?: boolean; +}; +/** + * Turns a serialization into a data object. + * @public + */ +export interface $ShapeDeserializer extends ConfigurableSerdeContext { + /** + * Optionally async. + */ + read(schema: $Schema, data: SerializationType): any | Promise; +} +/** + * Turns a data object into a serialization. + * @public + */ +export interface $ShapeSerializer extends ConfigurableSerdeContext { + write(schema: $Schema, value: unknown): void; + flush(): SerializationType; +} +/** + * A client protocol defines how to convert a message (e.g. HTTP request/response) to and from a data object. + * @public + */ +export interface $ClientProtocol extends ConfigurableSerdeContext { + /** + * @returns the Smithy qualified shape id. + */ + getShapeId(): string; + getRequestType(): { + new (...args: any[]): Request; + }; + getResponseType(): { + new (...args: any[]): Response; + }; + /** + * @returns the payload codec if the requests/responses have a symmetric format. + * It otherwise may return null. + */ + getPayloadCodec(): $Codec; + serializeRequest(operationSchema: $OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise; + updateServiceEndpoint(request: Request, endpoint: EndpointV2): Request; + deserializeResponse(operationSchema: $OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise; +} +/** + * @public + */ +export interface $ClientProtocolCtor { + new (args: any): $ClientProtocol; +} +/** + * Allows a protocol, codec, or serde utility to accept the serdeContext + * from a client configuration or request/response handlerExecutionContext. + * + * @public + */ +export interface ConfigurableSerdeContext { + setSerdeContext(serdeContext: SerdeFunctions): void; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts new file mode 100644 index 0000000..939e807 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts @@ -0,0 +1,65 @@ +/** + * The blob Smithy type, in JS as Uint8Array and other representations + * such as Buffer, string, or Readable(Stream) depending on circumstances. + * @public + */ +export type BlobSchema = 21; +/** + * @public + */ +export type StreamingBlobSchema = 42; +/** + * @public + */ +export type BooleanSchema = 2; +/** + * Includes string and enum Smithy types. + * @public + */ +export type StringSchema = 0; +/** + * Includes all numeric Smithy types except bigInteger and bigDecimal. + * byte, short, integer, long, float, double, intEnum. + * + * @public + */ +export type NumericSchema = 1; +/** + * @public + */ +export type BigIntegerSchema = 17; +/** + * @public + */ +export type BigDecimalSchema = 19; +/** + * @public + */ +export type DocumentSchema = 15; +/** + * Smithy type timestamp, in JS as native Date object. + * @public + */ +export type TimestampDefaultSchema = 4; +/** + * @public + */ +export type TimestampDateTimeSchema = 5; +/** + * @public + */ +export type TimestampHttpDateSchema = 6; +/** + * @public + */ +export type TimestampEpochSecondsSchema = 7; +/** + * Additional bit indicating the type is a list. + * @public + */ +export type ListSchemaModifier = 64; +/** + * Additional bit indicating the type is a map. + * @public + */ +export type MapSchemaModifier = 128; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts new file mode 100644 index 0000000..0cd6048 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts @@ -0,0 +1,118 @@ +import { $SchemaRef, SchemaTraits } from "../schema/schema"; +/** + * @public + */ +export type StaticSchemaIdSimple = 0; +/** + * @public + */ +export type StaticSchemaIdList = 1; +/** + * @public + */ +export type StaticSchemaIdMap = 2; +/** + * @public + */ +export type StaticSchemaIdStruct = 3; +/** + * @public + */ +export type StaticSchemaIdUnion = 4; +/** + * @public + */ +export type StaticSchemaIdError = -3; +/** + * @public + */ +export type StaticSchemaIdOperation = 9; +/** + * @public + */ +export type StaticSchema = StaticSimpleSchema | StaticListSchema | StaticMapSchema | StaticStructureSchema | StaticUnionSchema | StaticErrorSchema | StaticOperationSchema; +/** + * @public + */ +export type ShapeName = string; +/** + * @public + */ +export type ShapeNamespace = string; +/** + * @public + */ +export type StaticSimpleSchema = [ + StaticSchemaIdSimple, + ShapeNamespace, + ShapeName, + SchemaTraits, + $SchemaRef +]; +/** + * @public + */ +export type StaticListSchema = [ + StaticSchemaIdList, + ShapeNamespace, + ShapeName, + SchemaTraits, + $SchemaRef +]; +/** + * @public + */ +export type StaticMapSchema = [ + StaticSchemaIdMap, + ShapeNamespace, + ShapeName, + SchemaTraits, + $SchemaRef, + $SchemaRef +]; +/** + * @public + */ +export type StaticStructureSchema = [ + StaticSchemaIdStruct, + ShapeNamespace, + ShapeName, + SchemaTraits, + string[], + $SchemaRef[], + number? +]; +/** + * @public + */ +export type StaticUnionSchema = [ + StaticSchemaIdUnion, + ShapeNamespace, + ShapeName, + SchemaTraits, + string[], + $SchemaRef[] +]; +/** + * @public + */ +export type StaticErrorSchema = [ + StaticSchemaIdError, + ShapeNamespace, + ShapeName, + SchemaTraits, + string[], + $SchemaRef[], + number? +]; +/** + * @public + */ +export type StaticOperationSchema = [ + StaticSchemaIdOperation, + ShapeNamespace, + ShapeName, + SchemaTraits, + $SchemaRef, + $SchemaRef +]; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts new file mode 100644 index 0000000..0825f81 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts @@ -0,0 +1,46 @@ +/** + * A bitvector representing a traits object. + * + * Vector index to trait: + * 0 - httpLabel + * 1 - idempotent + * 2 - idempotencyToken + * 3 - sensitive + * 4 - httpPayload + * 5 - httpResponseCode + * 6 - httpQueryParams + * + * The singular trait values are enumerated for quick identification, but + * combination values are left to the `number` union type. + * + * @public + */ +export type TraitBitVector = HttpLabelBitMask | IdempotentBitMask | IdempotencyTokenBitMask | SensitiveBitMask | HttpPayloadBitMask | HttpResponseCodeBitMask | HttpQueryParamsBitMask | number; +/** + * @public + */ +export type HttpLabelBitMask = 1; +/** + * @public + */ +export type IdempotentBitMask = 2; +/** + * @public + */ +export type IdempotencyTokenBitMask = 4; +/** + * @public + */ +export type SensitiveBitMask = 8; +/** + * @public + */ +export type HttpPayloadBitMask = 16; +/** + * @public + */ +export type HttpResponseCodeBitMask = 32; +/** + * @public + */ +export type HttpQueryParamsBitMask = 64; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts new file mode 100644 index 0000000..cbc09f7 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts @@ -0,0 +1,114 @@ +import { Endpoint } from "./http"; +import { $ClientProtocol } from "./schema/schema"; +import { RequestHandler } from "./transfer"; +import { Decoder, Encoder, Provider } from "./util"; +/** + * @public + * + * Interface for object requires an Endpoint set. + */ +export interface EndpointBearer { + endpoint: Provider; +} +/** + * @public + */ +export interface StreamCollector { + /** + * A function that converts a stream into an array of bytes. + * + * @param stream - The low-level native stream from browser or Nodejs runtime + */ + (stream: any): Promise; +} +/** + * @public + * + * Request and Response serde util functions and settings for AWS services + */ +export interface SerdeContext extends SerdeFunctions, EndpointBearer { + requestHandler: RequestHandler; + disableHostPrefix: boolean; + protocol?: $ClientProtocol; +} +/** + * @public + * + * Serde functions from the client config. + */ +export interface SerdeFunctions { + base64Encoder: Encoder; + base64Decoder: Decoder; + utf8Encoder: Encoder; + utf8Decoder: Decoder; + streamCollector: StreamCollector; +} +/** + * @public + */ +export interface RequestSerializer { + /** + * Converts the provided `input` into a request object + * + * @param input - The user input to serialize. + * + * @param context - Context containing runtime-specific util functions. + */ + (input: any, context: Context): Promise; +} +/** + * @public + */ +export interface ResponseDeserializer { + /** + * Converts the output of an operation into JavaScript types. + * + * @param output - The HTTP response received from the service + * + * @param context - context containing runtime-specific util functions. + */ + (output: ResponseType, context: Context): Promise; +} +/** + * The interface contains mix-in utility functions to transfer the runtime-specific + * stream implementation to specified format. Each stream can ONLY be transformed + * once. + * @public + */ +export interface SdkStreamMixin { + transformToByteArray: () => Promise; + transformToString: (encoding?: string) => Promise; + transformToWebStream: () => ReadableStream; +} +/** + * @public + * + * The type describing a runtime-specific stream implementation with mix-in + * utility functions. + */ +export type SdkStream = BaseStream & SdkStreamMixin; +/** + * @public + * + * Indicates that the member of type T with + * key StreamKey have been extended + * with the SdkStreamMixin helper methods. + */ +export type WithSdkStreamMixin = { + [key in keyof T]: key extends StreamKey ? SdkStream : T[key]; +}; +/** + * Interface for internal function to inject stream utility functions + * implementation + * + * @internal + */ +export interface SdkStreamMixinInjector { + (stream: unknown): SdkStreamMixin; +} +/** + * @internal + */ +export interface SdkStreamSerdeContext { + sdkStreamMixin: SdkStreamMixinInjector; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts new file mode 100644 index 0000000..a4812fb --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts @@ -0,0 +1,82 @@ +import { HttpResponse } from "./http"; +import { MetadataBearer } from "./response"; +/** + * @public + * + * A document type represents an untyped JSON-like value. + * + * Not all protocols support document types, and the serialization format of a + * document type is protocol specific. All JSON protocols SHOULD support + * document types and they SHOULD serialize document types inline as normal + * JSON values. + */ +export type DocumentType = null | boolean | number | string | DocumentType[] | { + [prop: string]: DocumentType; +}; +/** + * @public + * + * A structure shape with the error trait. + * https://smithy.io/2.0/spec/behavior-traits.html#smithy-api-retryable-trait + */ +export interface RetryableTrait { + /** + * Indicates that the error is a retryable throttling error. + */ + readonly throttling?: boolean; +} +/** + * @public + * + * Type that is implemented by all Smithy shapes marked with the + * error trait. + * @deprecated + */ +export interface SmithyException { + /** + * The shape ID name of the exception. + */ + readonly name: string; + /** + * Whether the client or server are at fault. + */ + readonly $fault: "client" | "server"; + /** + * The service that encountered the exception. + */ + readonly $service?: string; + /** + * Indicates that an error MAY be retried by the client. + */ + readonly $retryable?: RetryableTrait; + /** + * Reference to low-level HTTP response object. + */ + readonly $response?: HttpResponse; +} +/** + * @public + * + * @deprecated See {@link https://aws.amazon.com/blogs/developer/service-error-handling-modular-aws-sdk-js/} + * + * This type should not be used in your application. + * Users of the AWS SDK for JavaScript v3 service clients should prefer to + * use the specific Exception classes corresponding to each operation. + * These can be found as code in the deserializer for the operation's Command class, + * or as declarations in the service model file in codegen/sdk-codegen/aws-models. + * + * If no exceptions are enumerated by a particular Command operation, + * the base exception for the service should be used. Each client exports + * a base ServiceException prefixed with the service name. + */ +export type SdkError = Error & Partial & Partial & { + $metadata?: Partial["$metadata"] & { + /** + * If present, will have value of true and indicates that the error resulted in a + * correction of the clock skew, a.k.a. config.systemClockOffset. + * This is specific to AWS SDK and sigv4. + */ + readonly clockSkewCorrected?: true; + }; + cause?: Error; +}; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts new file mode 100644 index 0000000..db0039d --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts @@ -0,0 +1,155 @@ +import { Message } from "./eventStream"; +import { HttpRequest } from "./http"; +/** + * @public + * + * A `Date` object, a unix (epoch) timestamp in seconds, or a string that can be + * understood by the JavaScript `Date` constructor. + */ +export type DateInput = number | string | Date; +/** + * @public + */ +export interface SigningArguments { + /** + * The date and time to be used as signature metadata. This value should be + * a Date object, a unix (epoch) timestamp, or a string that can be + * understood by the JavaScript `Date` constructor.If not supplied, the + * value returned by `new Date()` will be used. + */ + signingDate?: DateInput; + /** + * The service signing name. It will override the service name of the signer + * in current invocation + */ + signingService?: string; + /** + * The region name to sign the request. It will override the signing region of the + * signer in current invocation + */ + signingRegion?: string; +} +/** + * @public + */ +export interface RequestSigningArguments extends SigningArguments { + /** + * A set of strings whose members represents headers that cannot be signed. + * All headers in the provided request will have their names converted to + * lower case and then checked for existence in the unsignableHeaders set. + */ + unsignableHeaders?: Set; + /** + * A set of strings whose members represents headers that should be signed. + * Any values passed here will override those provided via unsignableHeaders, + * allowing them to be signed. + * + * All headers in the provided request will have their names converted to + * lower case before signing. + */ + signableHeaders?: Set; +} +/** + * @public + */ +export interface RequestPresigningArguments extends RequestSigningArguments { + /** + * The number of seconds before the presigned URL expires + */ + expiresIn?: number; + /** + * A set of strings whose representing headers that should not be hoisted + * to presigned request's query string. If not supplied, the presigner + * moves all the AWS-specific headers (starting with `x-amz-`) to the request + * query string. If supplied, these headers remain in the presigned request's + * header. + * All headers in the provided request will have their names converted to + * lower case and then checked for existence in the unhoistableHeaders set. + */ + unhoistableHeaders?: Set; + /** + * This overrides any headers with the same name(s) set by unhoistableHeaders. + * These headers will be hoisted into the query string and signed. + */ + hoistableHeaders?: Set; +} +/** + * @public + */ +export interface EventSigningArguments extends SigningArguments { + priorSignature: string; +} +/** + * @public + */ +export interface RequestPresigner { + /** + * Signs a request for future use. + * + * The request will be valid until either the provided `expiration` time has + * passed or the underlying credentials have expired. + * + * @param requestToSign - The request that should be signed. + * @param options - Additional signing options. + */ + presign(requestToSign: HttpRequest, options?: RequestPresigningArguments): Promise; +} +/** + * @public + * + * An object that signs request objects with AWS credentials using one of the + * AWS authentication protocols. + */ +export interface RequestSigner { + /** + * Sign the provided request for immediate dispatch. + */ + sign(requestToSign: HttpRequest, options?: RequestSigningArguments): Promise; +} +/** + * @public + */ +export interface StringSigner { + /** + * Sign the provided `stringToSign` for use outside of the context of + * request signing. Typical uses include signed policy generation. + */ + sign(stringToSign: string, options?: SigningArguments): Promise; +} +/** + * @public + */ +export interface FormattedEvent { + headers: Uint8Array; + payload: Uint8Array; +} +/** + * @public + */ +export interface EventSigner { + /** + * Sign the individual event of the event stream. + */ + sign(event: FormattedEvent, options: EventSigningArguments): Promise; +} +/** + * @public + */ +export interface SignableMessage { + message: Message; + priorSignature: string; +} +/** + * @public + */ +export interface SignedMessage { + message: Message; + signature: string; +} +/** + * @public + */ +export interface MessageSigner { + signMessage(message: SignableMessage, args: SigningArguments): Promise; + sign(event: SignableMessage, options: SigningArguments): Promise; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts new file mode 100644 index 0000000..f305dd9 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts @@ -0,0 +1,22 @@ +import { ChecksumConstructor } from "./checksum"; +import { HashConstructor, StreamHasher } from "./crypto"; +import { BodyLengthCalculator, Encoder } from "./util"; +/** + * @public + */ +export interface GetAwsChunkedEncodingStreamOptions { + base64Encoder?: Encoder; + bodyLengthChecker: BodyLengthCalculator; + checksumAlgorithmFn?: ChecksumConstructor | HashConstructor; + checksumLocationName?: string; + streamHasher?: StreamHasher; +} +/** + * @public + * + * A function that returns Readable Stream which follows aws-chunked encoding stream. + * It optionally adds checksum if options are provided. + */ +export interface GetAwsChunkedEncodingStream { + (readableStream: StreamType, options: GetAwsChunkedEncodingStreamOptions): StreamType; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts new file mode 100644 index 0000000..bff7c52 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts @@ -0,0 +1,32 @@ +import { Readable } from "stream"; +import { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check"; +/** + * @public + * + * This is the union representing the modeled blob type with streaming trait + * in a generic format that does not relate to HTTP input or output payloads. + * + * Note: the non-streaming blob type is represented by Uint8Array, but because + * the streaming blob type is always in the request/response paylod, it has + * historically been handled with different types. + * + * @see https://smithy.io/2.0/spec/simple-types.html#blob + * + * For compatibility with its historical representation, it must contain at least + * Readble (Node.js), Blob (browser), and ReadableStream (browser). + * + * @see StreamingPayloadInputTypes for FAQ about mixing types from multiple environments. + */ +export type StreamingBlobTypes = NodeJsRuntimeStreamingBlobTypes | BrowserRuntimeStreamingBlobTypes; +/** + * @public + * + * Node.js streaming blob type. + */ +export type NodeJsRuntimeStreamingBlobTypes = Readable; +/** + * @public + * + * Browser streaming blob types. + */ +export type BrowserRuntimeStreamingBlobTypes = ReadableStreamOptionalType | BlobOptionalType; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts new file mode 100644 index 0000000..7d30454 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts @@ -0,0 +1,60 @@ +import { Readable } from "stream"; +import { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check"; +/** + * @public + * + * This union represents a superset of the compatible types you + * can use for streaming payload inputs. + * + * FAQ: + * Why does the type union mix mutually exclusive runtime types, namely + * Node.js and browser types? + * + * There are several reasons: + * 1. For backwards compatibility. + * 2. As a convenient compromise solution so that users in either environment may use the types + * without customization. + * 3. The SDK does not have static type information about the exact implementation + * of the HTTP RequestHandler being used in your client(s) (e.g. fetch, XHR, node:http, or node:http2), + * given that it is chosen at runtime. There are multiple possible request handlers + * in both the Node.js and browser runtime environments. + * + * Rather than restricting the type to a known common format (Uint8Array, for example) + * which doesn't include a universal streaming format in the currently supported Node.js versions, + * the type declaration is widened to multiple possible formats. + * It is up to the user to ultimately select a compatible format with the + * runtime and HTTP handler implementation they are using. + * + * Usage: + * The typical solution we expect users to have is to manually narrow the + * type when needed, picking the appropriate one out of the union according to the + * runtime environment and specific request handler. + * There is also the type utility "NodeJsClient", "BrowserClient" and more + * exported from this package. These can be applied at the client level + * to pre-narrow these streaming payload blobs. For usage see the readme.md + * in the root of the \@smithy/types NPM package. + */ +export type StreamingBlobPayloadInputTypes = NodeJsRuntimeStreamingBlobPayloadInputTypes | BrowserRuntimeStreamingBlobPayloadInputTypes; +/** + * @public + * + * Streaming payload input types in the Node.js environment. + * These are derived from the types compatible with the request body used by node:http. + * + * Note: not all types are signable by the standard SignatureV4 signer when + * used as the request body. For example, in Node.js a Readable stream + * is not signable by the default signer. + * They are included in the union because it may be intended in some cases, + * but the expected types are primarily string, Uint8Array, and Buffer. + * + * Additional details may be found in the internal + * function "getPayloadHash" in the SignatureV4 module. + */ +export type NodeJsRuntimeStreamingBlobPayloadInputTypes = string | Uint8Array | Buffer | Readable; +/** + * @public + * + * Streaming payload input types in the browser environment. + * These are derived from the types compatible with fetch's Request.body. + */ +export type BrowserRuntimeStreamingBlobPayloadInputTypes = string | Uint8Array | ReadableStreamOptionalType | BlobOptionalType; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts new file mode 100644 index 0000000..146e517 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts @@ -0,0 +1,51 @@ +import { IncomingMessage } from "http"; +import { Readable } from "stream"; +import { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check"; +import { SdkStream } from "../serde"; +/** + * @public + * + * This union represents a superset of the types you may receive + * in streaming payload outputs. + * + * @see StreamingPayloadInputTypes for FAQ about mixing types from multiple environments. + * + * To highlight the upstream docs about the SdkStream mixin: + * + * The interface contains mix-in (via Object.assign) methods to transform the runtime-specific + * stream implementation to specified format. Each stream can ONLY be transformed + * once. + * + * The available methods are described on the SdkStream type via SdkStreamMixin. + */ +export type StreamingBlobPayloadOutputTypes = NodeJsRuntimeStreamingBlobPayloadOutputTypes | BrowserRuntimeStreamingBlobPayloadOutputTypes; +/** + * @public + * + * Streaming payload output types in the Node.js environment. + * + * This is by default the IncomingMessage type from node:http responses when + * using the default node-http-handler in Node.js environments. + * + * It can be other Readable types like node:http2's ClientHttp2Stream + * such as when using the node-http2-handler. + * + * The SdkStreamMixin adds methods on this type to help transform (collect) it to + * other formats. + */ +export type NodeJsRuntimeStreamingBlobPayloadOutputTypes = SdkStream; +/** + * @public + * + * Streaming payload output types in the browser environment. + * + * This is by default fetch's Response.body type (ReadableStream) when using + * the default fetch-http-handler in browser-like environments. + * + * It may be a Blob, such as when using the XMLHttpRequest handler + * and receiving an arraybuffer response body. + * + * The SdkStreamMixin adds methods on this type to help transform (collect) it to + * other formats. + */ +export type BrowserRuntimeStreamingBlobPayloadOutputTypes = SdkStream; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts new file mode 100644 index 0000000..462ee23 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts @@ -0,0 +1,41 @@ +/** + * @public + */ +export type RequestHandlerOutput = { + response: ResponseType; +}; +/** + * @public + */ +export interface RequestHandler { + /** + * metadata contains information of a handler. For example + * 'h2' refers this handler is for handling HTTP/2 requests, + * whereas 'h1' refers handling HTTP1 requests + */ + metadata?: RequestHandlerMetadata; + destroy?: () => void; + handle: (request: RequestType, handlerOptions?: HandlerOptions) => Promise>; +} +/** + * @public + */ +export interface RequestHandlerMetadata { + handlerProtocol: RequestHandlerProtocol | string; +} +/** + * @public + * Values from ALPN Protocol IDs. + * @see https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids + */ +export declare enum RequestHandlerProtocol { + HTTP_0_9 = "http/0.9", + HTTP_1_0 = "http/1.0", + TDS_8_0 = "tds/8.0" +} +/** + * @public + */ +export interface RequestContext { + destination: URL; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts new file mode 100644 index 0000000..c998a76 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts @@ -0,0 +1,26 @@ +import { CommandIO } from "../command"; +import { MetadataBearer } from "../response"; +import { StreamingBlobPayloadOutputTypes } from "../streaming-payload/streaming-blob-payload-output-types"; +import { Transform } from "./type-transform"; +/** + * @internal + * + * Narrowed version of InvokeFunction used in Client::send. + */ +export interface NarrowedInvokeFunction { + (command: CommandIO, options?: HttpHandlerOptions): Promise>; + (command: CommandIO, cb: (err: unknown, data?: Transform) => void): void; + (command: CommandIO, options: HttpHandlerOptions, cb: (err: unknown, data?: Transform) => void): void; + (command: CommandIO, options?: HttpHandlerOptions, cb?: (err: unknown, data?: Transform) => void): Promise> | void; +} +/** + * @internal + * + * Narrowed version of InvokeMethod used in aggregated Client methods. + */ +export interface NarrowedInvokeMethod { + (input: InputType, options?: HttpHandlerOptions): Promise>; + (input: InputType, cb: (err: unknown, data?: Transform) => void): void; + (input: InputType, options: HttpHandlerOptions, cb: (err: unknown, data?: Transform) => void): void; + (input: InputType, options?: HttpHandlerOptions, cb?: (err: unknown, data?: OutputType) => void): Promise> | void; +} diff --git a/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts new file mode 100644 index 0000000..a83bdc5 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts @@ -0,0 +1,81 @@ +import { IncomingMessage } from "http"; +import { ClientHttp2Stream } from "http2"; +import { InvokeMethod } from "../client"; +import { GetOutputType } from "../command"; +import { HttpHandlerOptions } from "../http"; +import { SdkStream } from "../serde"; +import { BrowserRuntimeStreamingBlobPayloadInputTypes, NodeJsRuntimeStreamingBlobPayloadInputTypes, StreamingBlobPayloadInputTypes } from "../streaming-payload/streaming-blob-payload-input-types"; +import { StreamingBlobPayloadOutputTypes } from "../streaming-payload/streaming-blob-payload-output-types"; +import { NarrowedInvokeMethod } from "./client-method-transforms"; +import { Transform } from "./type-transform"; +/** + * @public + * + * Creates a type with a given client type that narrows payload blob output + * types to SdkStream. + * + * This can be used for clients with the NodeHttpHandler requestHandler, + * the default in Node.js when not using HTTP2. + * + * Usage example: + * ```typescript + * const client = new YourClient({}) as NodeJsClient; + * ``` + */ +export type NodeJsClient = NarrowPayloadBlobTypes, ClientType>; +/** + * @public + * Variant of NodeJsClient for node:http2. + */ +export type NodeJsHttp2Client = NarrowPayloadBlobTypes, ClientType>; +/** + * @public + * + * Creates a type with a given client type that narrows payload blob output + * types to SdkStream. + * + * This can be used for clients with the FetchHttpHandler requestHandler, + * which is the default in browser environments. + * + * Usage example: + * ```typescript + * const client = new YourClient({}) as BrowserClient; + * ``` + */ +export type BrowserClient = NarrowPayloadBlobTypes, ClientType>; +/** + * @public + * + * Variant of BrowserClient for XMLHttpRequest. + */ +export type BrowserXhrClient = NarrowPayloadBlobTypes, ClientType>; +/** + * @public + * + * @deprecated use NarrowPayloadBlobTypes. + * + * Narrow a given Client's blob payload outputs to the given type T. + */ +export type NarrowPayloadBlobOutputType = { + [key in keyof ClientType]: [ + ClientType[key] + ] extends [ + InvokeMethod + ] ? NarrowedInvokeMethod : ClientType[key]; +} & { + send(command: Command, options?: any): Promise, StreamingBlobPayloadOutputTypes | undefined, T>>; +}; +/** + * @public + * + * Narrow a Client's blob payload input and output types to I and O. + */ +export type NarrowPayloadBlobTypes = { + [key in keyof ClientType]: [ + ClientType[key] + ] extends [ + InvokeMethod + ] ? NarrowedInvokeMethod, FunctionOutputTypes> : ClientType[key]; +} & { + send(command: Command, options?: any): Promise, StreamingBlobPayloadOutputTypes | undefined, O>>; +}; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts new file mode 100644 index 0000000..8896f1a --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts @@ -0,0 +1,14 @@ +/** + * @internal + * + * Checks that A and B extend each other. + */ +export type Exact = [ + A +] extends [ + B +] ? ([ + B +] extends [ + A +] ? true : false) : false; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts new file mode 100644 index 0000000..4ba55e3 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts @@ -0,0 +1,6 @@ +/** + * @internal + */ +export type Mutable = { + -readonly [Property in keyof Type]: Type[Property]; +}; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts new file mode 100644 index 0000000..bf8a72c --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts @@ -0,0 +1,88 @@ +import { InvokeMethod, InvokeMethodOptionalArgs } from "../client"; +import { GetOutputType } from "../command"; +import { DocumentType } from "../shapes"; +/** + * @public + * + * This type is intended as a type helper for generated clients. + * When initializing client, cast it to this type by passing + * the client constructor type as the type parameter. + * + * It will then recursively remove "undefined" as a union type from all + * input and output shapes' members. Note, this does not affect + * any member that is optional (?) such as outputs with no required members. + * + * @example + * ```ts + * const client = new Client({}) as AssertiveClient; + * ``` + */ +export type AssertiveClient = NarrowClientIOTypes; +/** + * @public + * + * This is similar to AssertiveClient but additionally changes all + * output types to (recursive) Required so as to bypass all output nullability guards. + */ +export type UncheckedClient = UncheckedClientOutputTypes; +/** + * @internal + * + * Excludes undefined recursively. + */ +export type NoUndefined = T extends Function ? T : T extends DocumentType ? T : [ + T +] extends [ + object +] ? { + [key in keyof T]: NoUndefined; +} : Exclude; +/** + * @internal + * + * Excludes undefined and optional recursively. + */ +export type RecursiveRequired = T extends Function ? T : T extends DocumentType ? T : [ + T +] extends [ + object +] ? { + [key in keyof T]-?: RecursiveRequired; +} : Exclude; +/** + * @internal + * + * Removes undefined from unions. + */ +type NarrowClientIOTypes = { + [key in keyof ClientType]: [ + ClientType[key] + ] extends [ + InvokeMethodOptionalArgs + ] ? InvokeMethodOptionalArgs, NoUndefined> : [ + ClientType[key] + ] extends [ + InvokeMethod + ] ? InvokeMethod, NoUndefined> : ClientType[key]; +} & { + send(command: Command, options?: any): Promise>>; +}; +/** + * @internal + * + * Removes undefined from unions and adds yolo output types. + */ +type UncheckedClientOutputTypes = { + [key in keyof ClientType]: [ + ClientType[key] + ] extends [ + InvokeMethodOptionalArgs + ] ? InvokeMethodOptionalArgs, RecursiveRequired> : [ + ClientType[key] + ] extends [ + InvokeMethod + ] ? InvokeMethod, RecursiveRequired> : ClientType[key]; +} & { + send(command: Command, options?: any): Promise>>>; +}; +export {}; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts new file mode 100644 index 0000000..f8ddc8a --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts @@ -0,0 +1,41 @@ +/** + * @public + * + * Transforms any members of the object T having type FromType + * to ToType. This applies only to exact type matches. + * + * This is for the case where FromType is a union and only those fields + * matching the same union should be transformed. + */ +export type Transform = RecursiveTransformExact; +/** + * @internal + * + * Returns ToType if T matches exactly with FromType. + */ +type TransformExact = [ + T +] extends [ + FromType +] ? ([ + FromType +] extends [ + T +] ? ToType : T) : T; +/** + * @internal + * + * Applies TransformExact to members of an object recursively. + */ +type RecursiveTransformExact = T extends Function ? T : T extends object ? { + [key in keyof T]: [ + T[key] + ] extends [ + FromType + ] ? [ + FromType + ] extends [ + T[key] + ] ? ToType : RecursiveTransformExact : RecursiveTransformExact; +} : TransformExact; +export {}; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts new file mode 100644 index 0000000..d7b874c --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts @@ -0,0 +1,17 @@ +import { QueryParameterBag } from "./http"; +/** + * @internal + * + * Represents the components parts of a Uniform Resource Identifier used to + * construct the target location of a Request. + */ +export type URI = { + protocol: string; + hostname: string; + port?: number; + path: string; + query?: QueryParameterBag; + username?: string; + password?: string; + fragment?: string; +}; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts new file mode 100644 index 0000000..ffe151b --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts @@ -0,0 +1,192 @@ +import { Endpoint } from "./http"; +import { FinalizeHandler, FinalizeHandlerArguments, FinalizeHandlerOutput } from "./middleware"; +import { MetadataBearer } from "./response"; +/** + * @public + * + * A generic which checks if Type1 is exactly same as Type2. + */ +export type Exact = [ + Type1 +] extends [ + Type2 +] ? ([ + Type2 +] extends [ + Type1 +] ? true : false) : false; +/** + * @public + * + * A function that, given a Uint8Array of bytes, can produce a string + * representation thereof. The function may optionally attempt to + * convert other input types to Uint8Array before encoding. + * + * @example An encoder function that converts bytes to hexadecimal + * representation would return `'hello'` when given + * `new Uint8Array([104, 101, 108, 108, 111])`. + */ +export interface Encoder { + /** + * Caution: the `any` type on the input is for backwards compatibility. + * Runtime support is limited to Uint8Array and string by default. + * + * You may choose to support more encoder input types if overriding the default + * implementations. + */ + (input: Uint8Array | string | any): string; +} +/** + * @public + * + * A function that, given a string, can derive the bytes represented by that + * string. + * + * @example A decoder function that converts bytes to hexadecimal + * representation would return `new Uint8Array([104, 101, 108, 108, 111])` when + * given the string `'hello'`. + */ +export interface Decoder { + (input: string): Uint8Array; +} +/** + * @public + * + * A function that, when invoked, returns a promise that will be fulfilled with + * a value of type T. + * + * @example A function that reads credentials from shared SDK configuration + * files, assuming roles and collecting MFA tokens as necessary. + */ +export interface Provider { + (): Promise; +} +/** + * @public + * + * A tuple that represents an API name and optional version + * of a library built using the AWS SDK. + */ +export type UserAgentPair = [ + /*name*/ string, + /*version*/ string +]; +/** + * @public + * + * User agent data that to be put into the request's user + * agent. + */ +export type UserAgent = UserAgentPair[]; +/** + * @public + * + * Parses a URL in string form into an Endpoint object. + */ +export interface UrlParser { + (url: string | URL): Endpoint; +} +/** + * @public + * + * A function that, when invoked, returns a promise that will be fulfilled with + * a value of type T. It memoizes the result from the previous invocation + * instead of calling the underlying resources every time. + * + * You can force the provider to refresh the memoized value by invoke the + * function with optional parameter hash with `forceRefresh` boolean key and + * value `true`. + * + * @example A function that reads credentials from IMDS service that could + * return expired credentials. The SDK will keep using the expired credentials + * until an unretryable service error requiring a force refresh of the + * credentials. + */ +export interface MemoizedProvider { + (options?: { + forceRefresh?: boolean; + }): Promise; +} +/** + * @public + * + * A function that, given a request body, determines the + * length of the body. This is used to determine the Content-Length + * that should be sent with a request. + * + * @example A function that reads a file stream and calculates + * the size of the file. + */ +export interface BodyLengthCalculator { + (body: any): number | undefined; +} +/** + * @public + * + * Object containing regionalization information of + * AWS services. + */ +export interface RegionInfo { + hostname: string; + partition: string; + path?: string; + signingService?: string; + signingRegion?: string; +} +/** + * @public + * + * Options to pass when calling {@link RegionInfoProvider} + */ +export interface RegionInfoProviderOptions { + /** + * Enables IPv6/IPv4 dualstack endpoint. + * @defaultValue false + */ + useDualstackEndpoint: boolean; + /** + * Enables FIPS compatible endpoints. + * @defaultValue false + */ + useFipsEndpoint: boolean; +} +/** + * @public + * + * Function returns designated service's regionalization + * information from given region. Each service client + * comes with its regionalization provider. it serves + * to provide the default values of related configurations + */ +export interface RegionInfoProvider { + (region: string, options?: RegionInfoProviderOptions): Promise; +} +/** + * @public + * + * Interface that specifies the retry behavior + */ +export interface RetryStrategy { + /** + * The retry mode describing how the retry strategy control the traffic flow. + */ + mode?: string; + /** + * the retry behavior the will invoke the next handler and handle the retry accordingly. + * This function should also update the $metadata from the response accordingly. + * @see {@link ResponseMetadata} + */ + retry: (next: FinalizeHandler, args: FinalizeHandlerArguments) => Promise>; +} +/** + * @public + * + * Indicates the parameter may be omitted if the parameter object T + * is equivalent to a Partial, i.e. all properties optional. + */ +export type OptionalParameter = Exact, T> extends true ? [ +] | [ + T +] : [ + T +]; diff --git a/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts b/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts new file mode 100644 index 0000000..5941832 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts @@ -0,0 +1,35 @@ +import { AbortController as DeprecatedAbortController } from "./abort"; +/** + * @public + */ +export interface WaiterConfiguration { + /** + * Required service client + */ + client: Client; + /** + * The amount of time in seconds a user is willing to wait for a waiter to complete. + */ + maxWaitTime: number; + /** + * @deprecated Use abortSignal + * Abort controller. Used for ending the waiter early. + */ + abortController?: AbortController | DeprecatedAbortController; + /** + * Abort Signal. Used for ending the waiter early. + */ + abortSignal?: AbortController["signal"] | DeprecatedAbortController["signal"]; + /** + * The minimum amount of time to delay between retries in seconds. This is the + * floor of the exponential backoff. This value defaults to service default + * if not specified. This value MUST be less than or equal to maxDelay and greater than 0. + */ + minDelay?: number; + /** + * The maximum amount of time to delay between retries in seconds. This is the + * ceiling of the exponential backoff. This value defaults to service default + * if not specified. If specified, this value MUST be greater than or equal to 1. + */ + maxDelay?: number; +} diff --git a/node_modules/@smithy/types/dist-types/uri.d.ts b/node_modules/@smithy/types/dist-types/uri.d.ts new file mode 100644 index 0000000..c009af4 --- /dev/null +++ b/node_modules/@smithy/types/dist-types/uri.d.ts @@ -0,0 +1,17 @@ +import type { QueryParameterBag } from "./http"; +/** + * @internal + * + * Represents the components parts of a Uniform Resource Identifier used to + * construct the target location of a Request. + */ +export type URI = { + protocol: string; + hostname: string; + port?: number; + path: string; + query?: QueryParameterBag; + username?: string; + password?: string; + fragment?: string; +}; diff --git a/node_modules/@smithy/types/dist-types/util.d.ts b/node_modules/@smithy/types/dist-types/util.d.ts new file mode 100644 index 0000000..755021d --- /dev/null +++ b/node_modules/@smithy/types/dist-types/util.d.ts @@ -0,0 +1,176 @@ +import type { Endpoint } from "./http"; +import type { FinalizeHandler, FinalizeHandlerArguments, FinalizeHandlerOutput } from "./middleware"; +import type { MetadataBearer } from "./response"; +/** + * @public + * + * A generic which checks if Type1 is exactly same as Type2. + */ +export type Exact = [Type1] extends [Type2] ? ([Type2] extends [Type1] ? true : false) : false; +/** + * @public + * + * A function that, given a Uint8Array of bytes, can produce a string + * representation thereof. The function may optionally attempt to + * convert other input types to Uint8Array before encoding. + * + * @example An encoder function that converts bytes to hexadecimal + * representation would return `'hello'` when given + * `new Uint8Array([104, 101, 108, 108, 111])`. + */ +export interface Encoder { + /** + * Caution: the `any` type on the input is for backwards compatibility. + * Runtime support is limited to Uint8Array and string by default. + * + * You may choose to support more encoder input types if overriding the default + * implementations. + */ + (input: Uint8Array | string | any): string; +} +/** + * @public + * + * A function that, given a string, can derive the bytes represented by that + * string. + * + * @example A decoder function that converts bytes to hexadecimal + * representation would return `new Uint8Array([104, 101, 108, 108, 111])` when + * given the string `'hello'`. + */ +export interface Decoder { + (input: string): Uint8Array; +} +/** + * @public + * + * A function that, when invoked, returns a promise that will be fulfilled with + * a value of type T. + * + * @example A function that reads credentials from shared SDK configuration + * files, assuming roles and collecting MFA tokens as necessary. + */ +export interface Provider { + (): Promise; +} +/** + * @public + * + * A tuple that represents an API name and optional version + * of a library built using the AWS SDK. + */ +export type UserAgentPair = [name: string, version?: string]; +/** + * @public + * + * User agent data that to be put into the request's user + * agent. + */ +export type UserAgent = UserAgentPair[]; +/** + * @public + * + * Parses a URL in string form into an Endpoint object. + */ +export interface UrlParser { + (url: string | URL): Endpoint; +} +/** + * @public + * + * A function that, when invoked, returns a promise that will be fulfilled with + * a value of type T. It memoizes the result from the previous invocation + * instead of calling the underlying resources every time. + * + * You can force the provider to refresh the memoized value by invoke the + * function with optional parameter hash with `forceRefresh` boolean key and + * value `true`. + * + * @example A function that reads credentials from IMDS service that could + * return expired credentials. The SDK will keep using the expired credentials + * until an unretryable service error requiring a force refresh of the + * credentials. + */ +export interface MemoizedProvider { + (options?: { + forceRefresh?: boolean; + }): Promise; +} +/** + * @public + * + * A function that, given a request body, determines the + * length of the body. This is used to determine the Content-Length + * that should be sent with a request. + * + * @example A function that reads a file stream and calculates + * the size of the file. + */ +export interface BodyLengthCalculator { + (body: any): number | undefined; +} +/** + * @public + * + * Object containing regionalization information of + * AWS services. + */ +export interface RegionInfo { + hostname: string; + partition: string; + path?: string; + signingService?: string; + signingRegion?: string; +} +/** + * @public + * + * Options to pass when calling {@link RegionInfoProvider} + */ +export interface RegionInfoProviderOptions { + /** + * Enables IPv6/IPv4 dualstack endpoint. + * @defaultValue false + */ + useDualstackEndpoint: boolean; + /** + * Enables FIPS compatible endpoints. + * @defaultValue false + */ + useFipsEndpoint: boolean; +} +/** + * @public + * + * Function returns designated service's regionalization + * information from given region. Each service client + * comes with its regionalization provider. it serves + * to provide the default values of related configurations + */ +export interface RegionInfoProvider { + (region: string, options?: RegionInfoProviderOptions): Promise; +} +/** + * @public + * + * Interface that specifies the retry behavior + */ +export interface RetryStrategy { + /** + * The retry mode describing how the retry strategy control the traffic flow. + */ + mode?: string; + /** + * the retry behavior the will invoke the next handler and handle the retry accordingly. + * This function should also update the $metadata from the response accordingly. + * @see {@link ResponseMetadata} + */ + retry: (next: FinalizeHandler, args: FinalizeHandlerArguments) => Promise>; +} +/** + * @public + * + * Indicates the parameter may be omitted if the parameter object T + * is equivalent to a Partial, i.e. all properties optional. + */ +export type OptionalParameter = Exact, T> extends true ? [] | [T] : [T]; diff --git a/node_modules/@smithy/types/dist-types/waiter.d.ts b/node_modules/@smithy/types/dist-types/waiter.d.ts new file mode 100644 index 0000000..870aa0a --- /dev/null +++ b/node_modules/@smithy/types/dist-types/waiter.d.ts @@ -0,0 +1,35 @@ +import type { AbortController as DeprecatedAbortController } from "./abort"; +/** + * @public + */ +export interface WaiterConfiguration { + /** + * Required service client + */ + client: Client; + /** + * The amount of time in seconds a user is willing to wait for a waiter to complete. + */ + maxWaitTime: number; + /** + * @deprecated Use abortSignal + * Abort controller. Used for ending the waiter early. + */ + abortController?: AbortController | DeprecatedAbortController; + /** + * Abort Signal. Used for ending the waiter early. + */ + abortSignal?: AbortController["signal"] | DeprecatedAbortController["signal"]; + /** + * The minimum amount of time to delay between retries in seconds. This is the + * floor of the exponential backoff. This value defaults to service default + * if not specified. This value MUST be less than or equal to maxDelay and greater than 0. + */ + minDelay?: number; + /** + * The maximum amount of time to delay between retries in seconds. This is the + * ceiling of the exponential backoff. This value defaults to service default + * if not specified. If specified, this value MUST be greater than or equal to 1. + */ + maxDelay?: number; +} diff --git a/node_modules/@smithy/types/package.json b/node_modules/@smithy/types/package.json new file mode 100644 index 0000000..fc06ccf --- /dev/null +++ b/node_modules/@smithy/types/package.json @@ -0,0 +1,61 @@ +{ + "name": "@smithy/types", + "version": "4.13.1", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline types", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4 && node scripts/downlevel", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:tsc -p tsconfig.test.json", + "extract:docs": "api-extractor run --local" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS Smithy Team", + "email": "", + "url": "https://smithy.io" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<=4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/types", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/types" + }, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/url-parser/LICENSE b/node_modules/@smithy/url-parser/LICENSE new file mode 100644 index 0000000..dd65ae0 --- /dev/null +++ b/node_modules/@smithy/url-parser/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@smithy/url-parser/README.md b/node_modules/@smithy/url-parser/README.md new file mode 100644 index 0000000..0d8d61e --- /dev/null +++ b/node_modules/@smithy/url-parser/README.md @@ -0,0 +1,10 @@ +# @smithy/url-parser + +[![NPM version](https://img.shields.io/npm/v/@smithy/url-parser/latest.svg)](https://www.npmjs.com/package/@smithy/url-parser) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/url-parser.svg)](https://www.npmjs.com/package/@smithy/url-parser) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/url-parser/dist-cjs/index.js b/node_modules/@smithy/url-parser/dist-cjs/index.js new file mode 100644 index 0000000..ddc21b0 --- /dev/null +++ b/node_modules/@smithy/url-parser/dist-cjs/index.js @@ -0,0 +1,23 @@ +'use strict'; + +var querystringParser = require('@smithy/querystring-parser'); + +const parseUrl = (url) => { + if (typeof url === "string") { + return parseUrl(new URL(url)); + } + const { hostname, pathname, port, protocol, search } = url; + let query; + if (search) { + query = querystringParser.parseQueryString(search); + } + return { + hostname, + port: port ? parseInt(port) : undefined, + protocol, + path: pathname, + query, + }; +}; + +exports.parseUrl = parseUrl; diff --git a/node_modules/@smithy/url-parser/dist-es/index.js b/node_modules/@smithy/url-parser/dist-es/index.js new file mode 100644 index 0000000..811f8bf --- /dev/null +++ b/node_modules/@smithy/url-parser/dist-es/index.js @@ -0,0 +1,18 @@ +import { parseQueryString } from "@smithy/querystring-parser"; +export const parseUrl = (url) => { + if (typeof url === "string") { + return parseUrl(new URL(url)); + } + const { hostname, pathname, port, protocol, search } = url; + let query; + if (search) { + query = parseQueryString(search); + } + return { + hostname, + port: port ? parseInt(port) : undefined, + protocol, + path: pathname, + query, + }; +}; diff --git a/node_modules/@smithy/url-parser/dist-types/index.d.ts b/node_modules/@smithy/url-parser/dist-types/index.d.ts new file mode 100644 index 0000000..9b66f46 --- /dev/null +++ b/node_modules/@smithy/url-parser/dist-types/index.d.ts @@ -0,0 +1,5 @@ +import type { UrlParser } from "@smithy/types"; +/** + * @internal + */ +export declare const parseUrl: UrlParser; diff --git a/node_modules/@smithy/url-parser/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/url-parser/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..b0d91c9 --- /dev/null +++ b/node_modules/@smithy/url-parser/dist-types/ts3.4/index.d.ts @@ -0,0 +1,5 @@ +import { UrlParser } from "@smithy/types"; +/** + * @internal + */ +export declare const parseUrl: UrlParser; diff --git a/node_modules/@smithy/url-parser/package.json b/node_modules/@smithy/url-parser/package.json new file mode 100644 index 0000000..26ba764 --- /dev/null +++ b/node_modules/@smithy/url-parser/package.json @@ -0,0 +1,62 @@ +{ + "name": "@smithy/url-parser", + "version": "4.2.12", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline url-parser", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/querystring-parser": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/url-parser", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/url-parser" + }, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + }, + "engines": { + "node": ">=18.0.0" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/util-base64/LICENSE b/node_modules/@smithy/util-base64/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/util-base64/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/util-base64/README.md b/node_modules/@smithy/util-base64/README.md new file mode 100644 index 0000000..c9b6c87 --- /dev/null +++ b/node_modules/@smithy/util-base64/README.md @@ -0,0 +1,4 @@ +# @smithy/util-base64 + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-base64/latest.svg)](https://www.npmjs.com/package/@smithy/util-base64) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-base64.svg)](https://www.npmjs.com/package/@smithy/util-base64) diff --git a/node_modules/@smithy/util-base64/dist-cjs/constants.browser.js b/node_modules/@smithy/util-base64/dist-cjs/constants.browser.js new file mode 100644 index 0000000..a41d4de --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-cjs/constants.browser.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.maxLetterValue = exports.bitsPerByte = exports.bitsPerLetter = exports.alphabetByValue = exports.alphabetByEncoding = void 0; +const chars = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`; +exports.alphabetByEncoding = Object.entries(chars).reduce((acc, [i, c]) => { + acc[c] = Number(i); + return acc; +}, {}); +exports.alphabetByValue = chars.split(""); +exports.bitsPerLetter = 6; +exports.bitsPerByte = 8; +exports.maxLetterValue = 0b111111; diff --git a/node_modules/@smithy/util-base64/dist-cjs/fromBase64.browser.js b/node_modules/@smithy/util-base64/dist-cjs/fromBase64.browser.js new file mode 100644 index 0000000..a5baffd --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-cjs/fromBase64.browser.js @@ -0,0 +1,40 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.fromBase64 = void 0; +const constants_browser_1 = require("./constants.browser"); +const fromBase64 = (input) => { + let totalByteLength = (input.length / 4) * 3; + if (input.slice(-2) === "==") { + totalByteLength -= 2; + } + else if (input.slice(-1) === "=") { + totalByteLength--; + } + const out = new ArrayBuffer(totalByteLength); + const dataView = new DataView(out); + for (let i = 0; i < input.length; i += 4) { + let bits = 0; + let bitLength = 0; + for (let j = i, limit = i + 3; j <= limit; j++) { + if (input[j] !== "=") { + if (!(input[j] in constants_browser_1.alphabetByEncoding)) { + throw new TypeError(`Invalid character ${input[j]} in base64 string.`); + } + bits |= constants_browser_1.alphabetByEncoding[input[j]] << ((limit - j) * constants_browser_1.bitsPerLetter); + bitLength += constants_browser_1.bitsPerLetter; + } + else { + bits >>= constants_browser_1.bitsPerLetter; + } + } + const chunkOffset = (i / 4) * 3; + bits >>= bitLength % constants_browser_1.bitsPerByte; + const byteLength = Math.floor(bitLength / constants_browser_1.bitsPerByte); + for (let k = 0; k < byteLength; k++) { + const offset = (byteLength - k - 1) * constants_browser_1.bitsPerByte; + dataView.setUint8(chunkOffset + k, (bits & (255 << offset)) >> offset); + } + } + return new Uint8Array(out); +}; +exports.fromBase64 = fromBase64; diff --git a/node_modules/@smithy/util-base64/dist-cjs/fromBase64.js b/node_modules/@smithy/util-base64/dist-cjs/fromBase64.js new file mode 100644 index 0000000..b06a7b8 --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-cjs/fromBase64.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.fromBase64 = void 0; +const util_buffer_from_1 = require("@smithy/util-buffer-from"); +const BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/; +const fromBase64 = (input) => { + if ((input.length * 3) % 4 !== 0) { + throw new TypeError(`Incorrect padding on base64 string.`); + } + if (!BASE64_REGEX.exec(input)) { + throw new TypeError(`Invalid base64 string.`); + } + const buffer = (0, util_buffer_from_1.fromString)(input, "base64"); + return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength); +}; +exports.fromBase64 = fromBase64; diff --git a/node_modules/@smithy/util-base64/dist-cjs/index.js b/node_modules/@smithy/util-base64/dist-cjs/index.js new file mode 100644 index 0000000..e002046 --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-cjs/index.js @@ -0,0 +1,27 @@ +'use strict'; + +var fromBase64 = require('./fromBase64'); +var toBase64 = require('./toBase64'); + + + +Object.prototype.hasOwnProperty.call(fromBase64, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: fromBase64['__proto__'] + }); + +Object.keys(fromBase64).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = fromBase64[k]; +}); +Object.prototype.hasOwnProperty.call(toBase64, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: toBase64['__proto__'] + }); + +Object.keys(toBase64).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = toBase64[k]; +}); diff --git a/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js b/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js new file mode 100644 index 0000000..612ba57 --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js @@ -0,0 +1,38 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.toBase64 = toBase64; +const util_utf8_1 = require("@smithy/util-utf8"); +const constants_browser_1 = require("./constants.browser"); +function toBase64(_input) { + let input; + if (typeof _input === "string") { + input = (0, util_utf8_1.fromUtf8)(_input); + } + else { + input = _input; + } + const isArrayLike = typeof input === "object" && typeof input.length === "number"; + const isUint8Array = typeof input === "object" && + typeof input.byteOffset === "number" && + typeof input.byteLength === "number"; + if (!isArrayLike && !isUint8Array) { + throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array."); + } + let str = ""; + for (let i = 0; i < input.length; i += 3) { + let bits = 0; + let bitLength = 0; + for (let j = i, limit = Math.min(i + 3, input.length); j < limit; j++) { + bits |= input[j] << ((limit - j - 1) * constants_browser_1.bitsPerByte); + bitLength += constants_browser_1.bitsPerByte; + } + const bitClusterCount = Math.ceil(bitLength / constants_browser_1.bitsPerLetter); + bits <<= bitClusterCount * constants_browser_1.bitsPerLetter - bitLength; + for (let k = 1; k <= bitClusterCount; k++) { + const offset = (bitClusterCount - k) * constants_browser_1.bitsPerLetter; + str += constants_browser_1.alphabetByValue[(bits & (constants_browser_1.maxLetterValue << offset)) >> offset]; + } + str += "==".slice(0, 4 - bitClusterCount); + } + return str; +} diff --git a/node_modules/@smithy/util-base64/dist-cjs/toBase64.js b/node_modules/@smithy/util-base64/dist-cjs/toBase64.js new file mode 100644 index 0000000..0590ce3 --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-cjs/toBase64.js @@ -0,0 +1,19 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.toBase64 = void 0; +const util_buffer_from_1 = require("@smithy/util-buffer-from"); +const util_utf8_1 = require("@smithy/util-utf8"); +const toBase64 = (_input) => { + let input; + if (typeof _input === "string") { + input = (0, util_utf8_1.fromUtf8)(_input); + } + else { + input = _input; + } + if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") { + throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array."); + } + return (0, util_buffer_from_1.fromArrayBuffer)(input.buffer, input.byteOffset, input.byteLength).toString("base64"); +}; +exports.toBase64 = toBase64; diff --git a/node_modules/@smithy/util-base64/dist-es/constants.browser.js b/node_modules/@smithy/util-base64/dist-es/constants.browser.js new file mode 100644 index 0000000..7a5d1b3 --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-es/constants.browser.js @@ -0,0 +1,9 @@ +const chars = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`; +export const alphabetByEncoding = Object.entries(chars).reduce((acc, [i, c]) => { + acc[c] = Number(i); + return acc; +}, {}); +export const alphabetByValue = chars.split(""); +export const bitsPerLetter = 6; +export const bitsPerByte = 8; +export const maxLetterValue = 0b111111; diff --git a/node_modules/@smithy/util-base64/dist-es/fromBase64.browser.js b/node_modules/@smithy/util-base64/dist-es/fromBase64.browser.js new file mode 100644 index 0000000..c2c6a66 --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-es/fromBase64.browser.js @@ -0,0 +1,36 @@ +import { alphabetByEncoding, bitsPerByte, bitsPerLetter } from "./constants.browser"; +export const fromBase64 = (input) => { + let totalByteLength = (input.length / 4) * 3; + if (input.slice(-2) === "==") { + totalByteLength -= 2; + } + else if (input.slice(-1) === "=") { + totalByteLength--; + } + const out = new ArrayBuffer(totalByteLength); + const dataView = new DataView(out); + for (let i = 0; i < input.length; i += 4) { + let bits = 0; + let bitLength = 0; + for (let j = i, limit = i + 3; j <= limit; j++) { + if (input[j] !== "=") { + if (!(input[j] in alphabetByEncoding)) { + throw new TypeError(`Invalid character ${input[j]} in base64 string.`); + } + bits |= alphabetByEncoding[input[j]] << ((limit - j) * bitsPerLetter); + bitLength += bitsPerLetter; + } + else { + bits >>= bitsPerLetter; + } + } + const chunkOffset = (i / 4) * 3; + bits >>= bitLength % bitsPerByte; + const byteLength = Math.floor(bitLength / bitsPerByte); + for (let k = 0; k < byteLength; k++) { + const offset = (byteLength - k - 1) * bitsPerByte; + dataView.setUint8(chunkOffset + k, (bits & (255 << offset)) >> offset); + } + } + return new Uint8Array(out); +}; diff --git a/node_modules/@smithy/util-base64/dist-es/fromBase64.js b/node_modules/@smithy/util-base64/dist-es/fromBase64.js new file mode 100644 index 0000000..5197e93 --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-es/fromBase64.js @@ -0,0 +1,12 @@ +import { fromString } from "@smithy/util-buffer-from"; +const BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/; +export const fromBase64 = (input) => { + if ((input.length * 3) % 4 !== 0) { + throw new TypeError(`Incorrect padding on base64 string.`); + } + if (!BASE64_REGEX.exec(input)) { + throw new TypeError(`Invalid base64 string.`); + } + const buffer = fromString(input, "base64"); + return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength); +}; diff --git a/node_modules/@smithy/util-base64/dist-es/index.js b/node_modules/@smithy/util-base64/dist-es/index.js new file mode 100644 index 0000000..594bd43 --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-es/index.js @@ -0,0 +1,2 @@ +export * from "./fromBase64"; +export * from "./toBase64"; diff --git a/node_modules/@smithy/util-base64/dist-es/toBase64.browser.js b/node_modules/@smithy/util-base64/dist-es/toBase64.browser.js new file mode 100644 index 0000000..2a03a9d --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-es/toBase64.browser.js @@ -0,0 +1,35 @@ +import { fromUtf8 } from "@smithy/util-utf8"; +import { alphabetByValue, bitsPerByte, bitsPerLetter, maxLetterValue } from "./constants.browser"; +export function toBase64(_input) { + let input; + if (typeof _input === "string") { + input = fromUtf8(_input); + } + else { + input = _input; + } + const isArrayLike = typeof input === "object" && typeof input.length === "number"; + const isUint8Array = typeof input === "object" && + typeof input.byteOffset === "number" && + typeof input.byteLength === "number"; + if (!isArrayLike && !isUint8Array) { + throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array."); + } + let str = ""; + for (let i = 0; i < input.length; i += 3) { + let bits = 0; + let bitLength = 0; + for (let j = i, limit = Math.min(i + 3, input.length); j < limit; j++) { + bits |= input[j] << ((limit - j - 1) * bitsPerByte); + bitLength += bitsPerByte; + } + const bitClusterCount = Math.ceil(bitLength / bitsPerLetter); + bits <<= bitClusterCount * bitsPerLetter - bitLength; + for (let k = 1; k <= bitClusterCount; k++) { + const offset = (bitClusterCount - k) * bitsPerLetter; + str += alphabetByValue[(bits & (maxLetterValue << offset)) >> offset]; + } + str += "==".slice(0, 4 - bitClusterCount); + } + return str; +} diff --git a/node_modules/@smithy/util-base64/dist-es/toBase64.js b/node_modules/@smithy/util-base64/dist-es/toBase64.js new file mode 100644 index 0000000..61f03ce --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-es/toBase64.js @@ -0,0 +1,15 @@ +import { fromArrayBuffer } from "@smithy/util-buffer-from"; +import { fromUtf8 } from "@smithy/util-utf8"; +export const toBase64 = (_input) => { + let input; + if (typeof _input === "string") { + input = fromUtf8(_input); + } + else { + input = _input; + } + if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") { + throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array."); + } + return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("base64"); +}; diff --git a/node_modules/@smithy/util-base64/dist-types/constants.browser.d.ts b/node_modules/@smithy/util-base64/dist-types/constants.browser.d.ts new file mode 100644 index 0000000..29bb817 --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-types/constants.browser.d.ts @@ -0,0 +1,5 @@ +export declare const alphabetByEncoding: Record; +export declare const alphabetByValue: Array; +export declare const bitsPerLetter = 6; +export declare const bitsPerByte = 8; +export declare const maxLetterValue = 63; diff --git a/node_modules/@smithy/util-base64/dist-types/fromBase64.browser.d.ts b/node_modules/@smithy/util-base64/dist-types/fromBase64.browser.d.ts new file mode 100644 index 0000000..6a640f1 --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-types/fromBase64.browser.d.ts @@ -0,0 +1,8 @@ +/** + * Converts a base-64 encoded string to a Uint8Array of bytes. + * + * @param input The base-64 encoded string + * + * @see https://tools.ietf.org/html/rfc4648#section-4 + */ +export declare const fromBase64: (input: string) => Uint8Array; diff --git a/node_modules/@smithy/util-base64/dist-types/fromBase64.d.ts b/node_modules/@smithy/util-base64/dist-types/fromBase64.d.ts new file mode 100644 index 0000000..1878a89 --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-types/fromBase64.d.ts @@ -0,0 +1,7 @@ +/** + * Converts a base-64 encoded string to a Uint8Array of bytes using Node.JS's + * `buffer` module. + * + * @param input The base-64 encoded string + */ +export declare const fromBase64: (input: string) => Uint8Array; diff --git a/node_modules/@smithy/util-base64/dist-types/index.d.ts b/node_modules/@smithy/util-base64/dist-types/index.d.ts new file mode 100644 index 0000000..594bd43 --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-types/index.d.ts @@ -0,0 +1,2 @@ +export * from "./fromBase64"; +export * from "./toBase64"; diff --git a/node_modules/@smithy/util-base64/dist-types/toBase64.browser.d.ts b/node_modules/@smithy/util-base64/dist-types/toBase64.browser.d.ts new file mode 100644 index 0000000..5f5615e --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-types/toBase64.browser.d.ts @@ -0,0 +1,9 @@ +/** + * Converts a Uint8Array of binary data or a utf-8 string to a base-64 encoded string. + * + * @param _input - the binary data or string to encode. + * @returns base64 string. + * + * @see https://tools.ietf.org/html/rfc4648#section-4 + */ +export declare function toBase64(_input: Uint8Array | string): string; diff --git a/node_modules/@smithy/util-base64/dist-types/toBase64.d.ts b/node_modules/@smithy/util-base64/dist-types/toBase64.d.ts new file mode 100644 index 0000000..96bd0ed --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-types/toBase64.d.ts @@ -0,0 +1,8 @@ +/** + * Converts a Uint8Array of binary data or a utf-8 string to a base-64 encoded string using + * Node.JS's `buffer` module. + * + * @param _input - the binary data or string to encode. + * @returns base64 string. + */ +export declare const toBase64: (_input: Uint8Array | string) => string; diff --git a/node_modules/@smithy/util-base64/dist-types/ts3.4/constants.browser.d.ts b/node_modules/@smithy/util-base64/dist-types/ts3.4/constants.browser.d.ts new file mode 100644 index 0000000..29bb817 --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-types/ts3.4/constants.browser.d.ts @@ -0,0 +1,5 @@ +export declare const alphabetByEncoding: Record; +export declare const alphabetByValue: Array; +export declare const bitsPerLetter = 6; +export declare const bitsPerByte = 8; +export declare const maxLetterValue = 63; diff --git a/node_modules/@smithy/util-base64/dist-types/ts3.4/fromBase64.browser.d.ts b/node_modules/@smithy/util-base64/dist-types/ts3.4/fromBase64.browser.d.ts new file mode 100644 index 0000000..6a640f1 --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-types/ts3.4/fromBase64.browser.d.ts @@ -0,0 +1,8 @@ +/** + * Converts a base-64 encoded string to a Uint8Array of bytes. + * + * @param input The base-64 encoded string + * + * @see https://tools.ietf.org/html/rfc4648#section-4 + */ +export declare const fromBase64: (input: string) => Uint8Array; diff --git a/node_modules/@smithy/util-base64/dist-types/ts3.4/fromBase64.d.ts b/node_modules/@smithy/util-base64/dist-types/ts3.4/fromBase64.d.ts new file mode 100644 index 0000000..1878a89 --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-types/ts3.4/fromBase64.d.ts @@ -0,0 +1,7 @@ +/** + * Converts a base-64 encoded string to a Uint8Array of bytes using Node.JS's + * `buffer` module. + * + * @param input The base-64 encoded string + */ +export declare const fromBase64: (input: string) => Uint8Array; diff --git a/node_modules/@smithy/util-base64/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/util-base64/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..594bd43 --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-types/ts3.4/index.d.ts @@ -0,0 +1,2 @@ +export * from "./fromBase64"; +export * from "./toBase64"; diff --git a/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.browser.d.ts b/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.browser.d.ts new file mode 100644 index 0000000..5f5615e --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.browser.d.ts @@ -0,0 +1,9 @@ +/** + * Converts a Uint8Array of binary data or a utf-8 string to a base-64 encoded string. + * + * @param _input - the binary data or string to encode. + * @returns base64 string. + * + * @see https://tools.ietf.org/html/rfc4648#section-4 + */ +export declare function toBase64(_input: Uint8Array | string): string; diff --git a/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.d.ts b/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.d.ts new file mode 100644 index 0000000..96bd0ed --- /dev/null +++ b/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.d.ts @@ -0,0 +1,8 @@ +/** + * Converts a Uint8Array of binary data or a utf-8 string to a base-64 encoded string using + * Node.JS's `buffer` module. + * + * @param _input - the binary data or string to encode. + * @returns base64 string. + */ +export declare const toBase64: (_input: Uint8Array | string) => string; diff --git a/node_modules/@smithy/util-base64/package.json b/node_modules/@smithy/util-base64/package.json new file mode 100644 index 0000000..462f819 --- /dev/null +++ b/node_modules/@smithy/util-base64/package.json @@ -0,0 +1,74 @@ +{ + "name": "@smithy/util-base64", + "version": "4.3.2", + "description": "A Base64 <-> UInt8Array converter", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-base64", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/util-buffer-from": "^4.2.2", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "browser": { + "./dist-es/fromBase64": "./dist-es/fromBase64.browser", + "./dist-es/toBase64": "./dist-es/toBase64.browser" + }, + "react-native": { + "./dist-es/fromBase64": "./dist-es/fromBase64.browser", + "./dist-es/toBase64": "./dist-es/toBase64.browser", + "./dist-cjs/fromBase64": "./dist-cjs/fromBase64.browser", + "./dist-cjs/toBase64": "./dist-cjs/toBase64.browser" + }, + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/util-base64", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/util-base64" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/util-body-length-browser/LICENSE b/node_modules/@smithy/util-body-length-browser/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/util-body-length-browser/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/util-body-length-browser/README.md b/node_modules/@smithy/util-body-length-browser/README.md new file mode 100644 index 0000000..460d092 --- /dev/null +++ b/node_modules/@smithy/util-body-length-browser/README.md @@ -0,0 +1,12 @@ +# @smithy/util-body-length-browser + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-body-length-browser/latest.svg)](https://www.npmjs.com/package/@smithy/util-body-length-browser) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-body-length-browser.svg)](https://www.npmjs.com/package/@smithy/util-body-length-browser) + +Determines the length of a request body in browsers + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js b/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js new file mode 100644 index 0000000..5cf421c --- /dev/null +++ b/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js @@ -0,0 +1,30 @@ +'use strict'; + +const TEXT_ENCODER = typeof TextEncoder == "function" ? new TextEncoder() : null; +const calculateBodyLength = (body) => { + if (typeof body === "string") { + if (TEXT_ENCODER) { + return TEXT_ENCODER.encode(body).byteLength; + } + let len = body.length; + for (let i = len - 1; i >= 0; i--) { + const code = body.charCodeAt(i); + if (code > 0x7f && code <= 0x7ff) + len++; + else if (code > 0x7ff && code <= 0xffff) + len += 2; + if (code >= 0xdc00 && code <= 0xdfff) + i--; + } + return len; + } + else if (typeof body.byteLength === "number") { + return body.byteLength; + } + else if (typeof body.size === "number") { + return body.size; + } + throw new Error(`Body Length computation failed for ${body}`); +}; + +exports.calculateBodyLength = calculateBodyLength; diff --git a/node_modules/@smithy/util-body-length-browser/dist-es/calculateBodyLength.js b/node_modules/@smithy/util-body-length-browser/dist-es/calculateBodyLength.js new file mode 100644 index 0000000..6b994ca --- /dev/null +++ b/node_modules/@smithy/util-body-length-browser/dist-es/calculateBodyLength.js @@ -0,0 +1,26 @@ +const TEXT_ENCODER = typeof TextEncoder == "function" ? new TextEncoder() : null; +export const calculateBodyLength = (body) => { + if (typeof body === "string") { + if (TEXT_ENCODER) { + return TEXT_ENCODER.encode(body).byteLength; + } + let len = body.length; + for (let i = len - 1; i >= 0; i--) { + const code = body.charCodeAt(i); + if (code > 0x7f && code <= 0x7ff) + len++; + else if (code > 0x7ff && code <= 0xffff) + len += 2; + if (code >= 0xdc00 && code <= 0xdfff) + i--; + } + return len; + } + else if (typeof body.byteLength === "number") { + return body.byteLength; + } + else if (typeof body.size === "number") { + return body.size; + } + throw new Error(`Body Length computation failed for ${body}`); +}; diff --git a/node_modules/@smithy/util-body-length-browser/dist-es/index.js b/node_modules/@smithy/util-body-length-browser/dist-es/index.js new file mode 100644 index 0000000..16ba478 --- /dev/null +++ b/node_modules/@smithy/util-body-length-browser/dist-es/index.js @@ -0,0 +1 @@ +export * from "./calculateBodyLength"; diff --git a/node_modules/@smithy/util-body-length-browser/dist-types/calculateBodyLength.d.ts b/node_modules/@smithy/util-body-length-browser/dist-types/calculateBodyLength.d.ts new file mode 100644 index 0000000..8e1bdb0 --- /dev/null +++ b/node_modules/@smithy/util-body-length-browser/dist-types/calculateBodyLength.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const calculateBodyLength: (body: any) => number | undefined; diff --git a/node_modules/@smithy/util-body-length-browser/dist-types/index.d.ts b/node_modules/@smithy/util-body-length-browser/dist-types/index.d.ts new file mode 100644 index 0000000..7b4a0d7 --- /dev/null +++ b/node_modules/@smithy/util-body-length-browser/dist-types/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export * from "./calculateBodyLength"; diff --git a/node_modules/@smithy/util-body-length-browser/dist-types/ts3.4/calculateBodyLength.d.ts b/node_modules/@smithy/util-body-length-browser/dist-types/ts3.4/calculateBodyLength.d.ts new file mode 100644 index 0000000..8e1bdb0 --- /dev/null +++ b/node_modules/@smithy/util-body-length-browser/dist-types/ts3.4/calculateBodyLength.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const calculateBodyLength: (body: any) => number | undefined; diff --git a/node_modules/@smithy/util-body-length-browser/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/util-body-length-browser/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..7b4a0d7 --- /dev/null +++ b/node_modules/@smithy/util-body-length-browser/dist-types/ts3.4/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export * from "./calculateBodyLength"; diff --git a/node_modules/@smithy/util-body-length-browser/package.json b/node_modules/@smithy/util-body-length-browser/package.json new file mode 100644 index 0000000..8acddaa --- /dev/null +++ b/node_modules/@smithy/util-body-length-browser/package.json @@ -0,0 +1,61 @@ +{ + "name": "@smithy/util-body-length-browser", + "description": "Determines the length of a request body in browsers", + "version": "4.2.2", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-body-length-browser", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "tslib": "^2.6.2" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/util-body-length-browser", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/util-body-length-browser" + }, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + }, + "engines": { + "node": ">=18.0.0" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/util-body-length-node/LICENSE b/node_modules/@smithy/util-body-length-node/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/util-body-length-node/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/util-body-length-node/README.md b/node_modules/@smithy/util-body-length-node/README.md new file mode 100644 index 0000000..9a80efe --- /dev/null +++ b/node_modules/@smithy/util-body-length-node/README.md @@ -0,0 +1,12 @@ +# @smithy/util-body-length-node + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-body-length-node/latest.svg)](https://www.npmjs.com/package/@smithy/util-body-length-node) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-body-length-node.svg)](https://www.npmjs.com/package/@smithy/util-body-length-node) + +Determines the length of a request body in node.js + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/util-body-length-node/dist-cjs/index.js b/node_modules/@smithy/util-body-length-node/dist-cjs/index.js new file mode 100644 index 0000000..a388e28 --- /dev/null +++ b/node_modules/@smithy/util-body-length-node/dist-cjs/index.js @@ -0,0 +1,32 @@ +'use strict'; + +var node_fs = require('node:fs'); + +const calculateBodyLength = (body) => { + if (!body) { + return 0; + } + if (typeof body === "string") { + return Buffer.byteLength(body); + } + else if (typeof body.byteLength === "number") { + return body.byteLength; + } + else if (typeof body.size === "number") { + return body.size; + } + else if (typeof body.start === "number" && typeof body.end === "number") { + return body.end + 1 - body.start; + } + else if (body instanceof node_fs.ReadStream) { + if (body.path != null) { + return node_fs.lstatSync(body.path).size; + } + else if (typeof body.fd === "number") { + return node_fs.fstatSync(body.fd).size; + } + } + throw new Error(`Body Length computation failed for ${body}`); +}; + +exports.calculateBodyLength = calculateBodyLength; diff --git a/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js b/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js new file mode 100644 index 0000000..924c033 --- /dev/null +++ b/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js @@ -0,0 +1,27 @@ +import { fstatSync, lstatSync, ReadStream } from "node:fs"; +export const calculateBodyLength = (body) => { + if (!body) { + return 0; + } + if (typeof body === "string") { + return Buffer.byteLength(body); + } + else if (typeof body.byteLength === "number") { + return body.byteLength; + } + else if (typeof body.size === "number") { + return body.size; + } + else if (typeof body.start === "number" && typeof body.end === "number") { + return body.end + 1 - body.start; + } + else if (body instanceof ReadStream) { + if (body.path != null) { + return lstatSync(body.path).size; + } + else if (typeof body.fd === "number") { + return fstatSync(body.fd).size; + } + } + throw new Error(`Body Length computation failed for ${body}`); +}; diff --git a/node_modules/@smithy/util-body-length-node/dist-es/index.js b/node_modules/@smithy/util-body-length-node/dist-es/index.js new file mode 100644 index 0000000..16ba478 --- /dev/null +++ b/node_modules/@smithy/util-body-length-node/dist-es/index.js @@ -0,0 +1 @@ +export * from "./calculateBodyLength"; diff --git a/node_modules/@smithy/util-body-length-node/dist-types/calculateBodyLength.d.ts b/node_modules/@smithy/util-body-length-node/dist-types/calculateBodyLength.d.ts new file mode 100644 index 0000000..8e1bdb0 --- /dev/null +++ b/node_modules/@smithy/util-body-length-node/dist-types/calculateBodyLength.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const calculateBodyLength: (body: any) => number | undefined; diff --git a/node_modules/@smithy/util-body-length-node/dist-types/index.d.ts b/node_modules/@smithy/util-body-length-node/dist-types/index.d.ts new file mode 100644 index 0000000..7b4a0d7 --- /dev/null +++ b/node_modules/@smithy/util-body-length-node/dist-types/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export * from "./calculateBodyLength"; diff --git a/node_modules/@smithy/util-body-length-node/dist-types/ts3.4/calculateBodyLength.d.ts b/node_modules/@smithy/util-body-length-node/dist-types/ts3.4/calculateBodyLength.d.ts new file mode 100644 index 0000000..8e1bdb0 --- /dev/null +++ b/node_modules/@smithy/util-body-length-node/dist-types/ts3.4/calculateBodyLength.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const calculateBodyLength: (body: any) => number | undefined; diff --git a/node_modules/@smithy/util-body-length-node/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/util-body-length-node/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..7b4a0d7 --- /dev/null +++ b/node_modules/@smithy/util-body-length-node/dist-types/ts3.4/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export * from "./calculateBodyLength"; diff --git a/node_modules/@smithy/util-body-length-node/package.json b/node_modules/@smithy/util-body-length-node/package.json new file mode 100644 index 0000000..9cacb02 --- /dev/null +++ b/node_modules/@smithy/util-body-length-node/package.json @@ -0,0 +1,62 @@ +{ + "name": "@smithy/util-body-length-node", + "description": "Determines the length of a request body in node.js", + "version": "4.2.3", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-body-length-node", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "devDependencies": { + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/util-body-length-node", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/util-body-length-node" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/util-buffer-from/LICENSE b/node_modules/@smithy/util-buffer-from/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/util-buffer-from/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/util-buffer-from/README.md b/node_modules/@smithy/util-buffer-from/README.md new file mode 100644 index 0000000..c896b04 --- /dev/null +++ b/node_modules/@smithy/util-buffer-from/README.md @@ -0,0 +1,10 @@ +# @smithy/util-buffer-from + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-buffer-from/latest.svg)](https://www.npmjs.com/package/@smithy/util-buffer-from) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-buffer-from.svg)](https://www.npmjs.com/package/@smithy/util-buffer-from) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/util-buffer-from/dist-cjs/index.js b/node_modules/@smithy/util-buffer-from/dist-cjs/index.js new file mode 100644 index 0000000..b577c9c --- /dev/null +++ b/node_modules/@smithy/util-buffer-from/dist-cjs/index.js @@ -0,0 +1,20 @@ +'use strict'; + +var isArrayBuffer = require('@smithy/is-array-buffer'); +var buffer = require('buffer'); + +const fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => { + if (!isArrayBuffer.isArrayBuffer(input)) { + throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`); + } + return buffer.Buffer.from(input, offset, length); +}; +const fromString = (input, encoding) => { + if (typeof input !== "string") { + throw new TypeError(`The "input" argument must be of type string. Received type ${typeof input} (${input})`); + } + return encoding ? buffer.Buffer.from(input, encoding) : buffer.Buffer.from(input); +}; + +exports.fromArrayBuffer = fromArrayBuffer; +exports.fromString = fromString; diff --git a/node_modules/@smithy/util-buffer-from/dist-es/index.js b/node_modules/@smithy/util-buffer-from/dist-es/index.js new file mode 100644 index 0000000..718f831 --- /dev/null +++ b/node_modules/@smithy/util-buffer-from/dist-es/index.js @@ -0,0 +1,14 @@ +import { isArrayBuffer } from "@smithy/is-array-buffer"; +import { Buffer } from "buffer"; +export const fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => { + if (!isArrayBuffer(input)) { + throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`); + } + return Buffer.from(input, offset, length); +}; +export const fromString = (input, encoding) => { + if (typeof input !== "string") { + throw new TypeError(`The "input" argument must be of type string. Received type ${typeof input} (${input})`); + } + return encoding ? Buffer.from(input, encoding) : Buffer.from(input); +}; diff --git a/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts b/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts new file mode 100644 index 0000000..a523134 --- /dev/null +++ b/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts @@ -0,0 +1,13 @@ +import { Buffer } from "buffer"; +/** + * @internal + */ +export declare const fromArrayBuffer: (input: ArrayBuffer, offset?: number, length?: number) => Buffer; +/** + * @internal + */ +export type StringEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "base64" | "latin1" | "binary" | "hex"; +/** + * @internal + */ +export declare const fromString: (input: string, encoding?: StringEncoding) => Buffer; diff --git a/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..a523134 --- /dev/null +++ b/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts @@ -0,0 +1,13 @@ +import { Buffer } from "buffer"; +/** + * @internal + */ +export declare const fromArrayBuffer: (input: ArrayBuffer, offset?: number, length?: number) => Buffer; +/** + * @internal + */ +export type StringEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "base64" | "latin1" | "binary" | "hex"; +/** + * @internal + */ +export declare const fromString: (input: string, encoding?: StringEncoding) => Buffer; diff --git a/node_modules/@smithy/util-buffer-from/package.json b/node_modules/@smithy/util-buffer-from/package.json new file mode 100644 index 0000000..daa813d --- /dev/null +++ b/node_modules/@smithy/util-buffer-from/package.json @@ -0,0 +1,62 @@ +{ + "name": "@smithy/util-buffer-from", + "version": "4.2.2", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-buffer-from", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/is-array-buffer": "^4.2.2", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/util-buffer-from", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/util-buffer-from" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/util-config-provider/LICENSE b/node_modules/@smithy/util-config-provider/LICENSE new file mode 100644 index 0000000..74d4e5c --- /dev/null +++ b/node_modules/@smithy/util-config-provider/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/util-config-provider/README.md b/node_modules/@smithy/util-config-provider/README.md new file mode 100644 index 0000000..5b0341d --- /dev/null +++ b/node_modules/@smithy/util-config-provider/README.md @@ -0,0 +1,4 @@ +# @smithy/util-config-provider + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-config-provider/latest.svg)](https://www.npmjs.com/package/@smithy/util-config-provider) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-config-provider.svg)](https://www.npmjs.com/package/@smithy/util-config-provider) diff --git a/node_modules/@smithy/util-config-provider/dist-cjs/index.js b/node_modules/@smithy/util-config-provider/dist-cjs/index.js new file mode 100644 index 0000000..52d176d --- /dev/null +++ b/node_modules/@smithy/util-config-provider/dist-cjs/index.js @@ -0,0 +1,30 @@ +'use strict'; + +const booleanSelector = (obj, key, type) => { + if (!(key in obj)) + return undefined; + if (obj[key] === "true") + return true; + if (obj[key] === "false") + return false; + throw new Error(`Cannot load ${type} "${key}". Expected "true" or "false", got ${obj[key]}.`); +}; + +const numberSelector = (obj, key, type) => { + if (!(key in obj)) + return undefined; + const numberValue = parseInt(obj[key], 10); + if (Number.isNaN(numberValue)) { + throw new TypeError(`Cannot load ${type} '${key}'. Expected number, got '${obj[key]}'.`); + } + return numberValue; +}; + +exports.SelectorType = void 0; +(function (SelectorType) { + SelectorType["ENV"] = "env"; + SelectorType["CONFIG"] = "shared config entry"; +})(exports.SelectorType || (exports.SelectorType = {})); + +exports.booleanSelector = booleanSelector; +exports.numberSelector = numberSelector; diff --git a/node_modules/@smithy/util-config-provider/dist-es/booleanSelector.js b/node_modules/@smithy/util-config-provider/dist-es/booleanSelector.js new file mode 100644 index 0000000..6ba2261 --- /dev/null +++ b/node_modules/@smithy/util-config-provider/dist-es/booleanSelector.js @@ -0,0 +1,9 @@ +export const booleanSelector = (obj, key, type) => { + if (!(key in obj)) + return undefined; + if (obj[key] === "true") + return true; + if (obj[key] === "false") + return false; + throw new Error(`Cannot load ${type} "${key}". Expected "true" or "false", got ${obj[key]}.`); +}; diff --git a/node_modules/@smithy/util-config-provider/dist-es/index.js b/node_modules/@smithy/util-config-provider/dist-es/index.js new file mode 100644 index 0000000..a926de8 --- /dev/null +++ b/node_modules/@smithy/util-config-provider/dist-es/index.js @@ -0,0 +1,3 @@ +export * from "./booleanSelector"; +export * from "./numberSelector"; +export * from "./types"; diff --git a/node_modules/@smithy/util-config-provider/dist-es/numberSelector.js b/node_modules/@smithy/util-config-provider/dist-es/numberSelector.js new file mode 100644 index 0000000..81cfe40 --- /dev/null +++ b/node_modules/@smithy/util-config-provider/dist-es/numberSelector.js @@ -0,0 +1,9 @@ +export const numberSelector = (obj, key, type) => { + if (!(key in obj)) + return undefined; + const numberValue = parseInt(obj[key], 10); + if (Number.isNaN(numberValue)) { + throw new TypeError(`Cannot load ${type} '${key}'. Expected number, got '${obj[key]}'.`); + } + return numberValue; +}; diff --git a/node_modules/@smithy/util-config-provider/dist-es/types.js b/node_modules/@smithy/util-config-provider/dist-es/types.js new file mode 100644 index 0000000..5b10fb5 --- /dev/null +++ b/node_modules/@smithy/util-config-provider/dist-es/types.js @@ -0,0 +1,5 @@ +export var SelectorType; +(function (SelectorType) { + SelectorType["ENV"] = "env"; + SelectorType["CONFIG"] = "shared config entry"; +})(SelectorType || (SelectorType = {})); diff --git a/node_modules/@smithy/util-config-provider/dist-types/booleanSelector.d.ts b/node_modules/@smithy/util-config-provider/dist-types/booleanSelector.d.ts new file mode 100644 index 0000000..6408abf --- /dev/null +++ b/node_modules/@smithy/util-config-provider/dist-types/booleanSelector.d.ts @@ -0,0 +1,10 @@ +import type { SelectorType } from "./types"; +/** + * Returns boolean value true/false for string value "true"/"false", + * if the string is defined in obj[key] + * Returns undefined, if obj[key] is not defined. + * Throws error for all other cases. + * + * @internal + */ +export declare const booleanSelector: (obj: Record, key: string, type: SelectorType) => boolean | undefined; diff --git a/node_modules/@smithy/util-config-provider/dist-types/index.d.ts b/node_modules/@smithy/util-config-provider/dist-types/index.d.ts new file mode 100644 index 0000000..a926de8 --- /dev/null +++ b/node_modules/@smithy/util-config-provider/dist-types/index.d.ts @@ -0,0 +1,3 @@ +export * from "./booleanSelector"; +export * from "./numberSelector"; +export * from "./types"; diff --git a/node_modules/@smithy/util-config-provider/dist-types/numberSelector.d.ts b/node_modules/@smithy/util-config-provider/dist-types/numberSelector.d.ts new file mode 100644 index 0000000..55ddc29 --- /dev/null +++ b/node_modules/@smithy/util-config-provider/dist-types/numberSelector.d.ts @@ -0,0 +1,9 @@ +import type { SelectorType } from "./types"; +/** + * Returns number value for string value, if the string is defined in obj[key]. + * Returns undefined, if obj[key] is not defined. + * Throws error for all other cases. + * + * @internal + */ +export declare const numberSelector: (obj: Record, key: string, type: SelectorType) => number | undefined; diff --git a/node_modules/@smithy/util-config-provider/dist-types/ts3.4/booleanSelector.d.ts b/node_modules/@smithy/util-config-provider/dist-types/ts3.4/booleanSelector.d.ts new file mode 100644 index 0000000..d4977cb --- /dev/null +++ b/node_modules/@smithy/util-config-provider/dist-types/ts3.4/booleanSelector.d.ts @@ -0,0 +1,10 @@ +import { SelectorType } from "./types"; +/** + * Returns boolean value true/false for string value "true"/"false", + * if the string is defined in obj[key] + * Returns undefined, if obj[key] is not defined. + * Throws error for all other cases. + * + * @internal + */ +export declare const booleanSelector: (obj: Record, key: string, type: SelectorType) => boolean | undefined; diff --git a/node_modules/@smithy/util-config-provider/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/util-config-provider/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..a926de8 --- /dev/null +++ b/node_modules/@smithy/util-config-provider/dist-types/ts3.4/index.d.ts @@ -0,0 +1,3 @@ +export * from "./booleanSelector"; +export * from "./numberSelector"; +export * from "./types"; diff --git a/node_modules/@smithy/util-config-provider/dist-types/ts3.4/numberSelector.d.ts b/node_modules/@smithy/util-config-provider/dist-types/ts3.4/numberSelector.d.ts new file mode 100644 index 0000000..9e0cbf9 --- /dev/null +++ b/node_modules/@smithy/util-config-provider/dist-types/ts3.4/numberSelector.d.ts @@ -0,0 +1,9 @@ +import { SelectorType } from "./types"; +/** + * Returns number value for string value, if the string is defined in obj[key]. + * Returns undefined, if obj[key] is not defined. + * Throws error for all other cases. + * + * @internal + */ +export declare const numberSelector: (obj: Record, key: string, type: SelectorType) => number | undefined; diff --git a/node_modules/@smithy/util-config-provider/dist-types/ts3.4/types.d.ts b/node_modules/@smithy/util-config-provider/dist-types/ts3.4/types.d.ts new file mode 100644 index 0000000..caa65d7 --- /dev/null +++ b/node_modules/@smithy/util-config-provider/dist-types/ts3.4/types.d.ts @@ -0,0 +1,4 @@ +export declare enum SelectorType { + ENV = "env", + CONFIG = "shared config entry" +} diff --git a/node_modules/@smithy/util-config-provider/dist-types/types.d.ts b/node_modules/@smithy/util-config-provider/dist-types/types.d.ts new file mode 100644 index 0000000..caa65d7 --- /dev/null +++ b/node_modules/@smithy/util-config-provider/dist-types/types.d.ts @@ -0,0 +1,4 @@ +export declare enum SelectorType { + ENV = "env", + CONFIG = "shared config entry" +} diff --git a/node_modules/@smithy/util-config-provider/package.json b/node_modules/@smithy/util-config-provider/package.json new file mode 100644 index 0000000..f82d33c --- /dev/null +++ b/node_modules/@smithy/util-config-provider/package.json @@ -0,0 +1,63 @@ +{ + "name": "@smithy/util-config-provider", + "version": "4.2.2", + "description": "Utilities package for configuration providers", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-config-provider", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "email": "", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "dependencies": { + "tslib": "^2.6.2" + }, + "devDependencies": { + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/util-config-provider", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/util-config-provider" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/util-defaults-mode-browser/LICENSE b/node_modules/@smithy/util-defaults-mode-browser/LICENSE new file mode 100644 index 0000000..dd65ae0 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-browser/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@smithy/util-defaults-mode-browser/README.md b/node_modules/@smithy/util-defaults-mode-browser/README.md new file mode 100644 index 0000000..3cca1d9 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-browser/README.md @@ -0,0 +1,17 @@ +# @smithy/util-defaults-mode-browser + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-defaults-mode-browser/latest.svg)](https://www.npmjs.com/package/@smithy/util-defaults-mode-browser) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-defaults-mode-browser.svg)](https://www.npmjs.com/package/@smithy/util-defaults-mode-browser) + +### :warning: Internal API :warning: + +> This is an internal package. +> That means this is used as a dependency for other, public packages, but +> should not be taken directly as a dependency in your application's `package.json`. + +> If you are updating the version of this package, for example to bring in a +> bug-fix, you should do so by updating your application lockfile with +> e.g. `npm up @scope/package` or equivalent command in another +> package manager, rather than taking a direct dependency. + +--- diff --git a/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/constants.js b/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/constants.js new file mode 100644 index 0000000..3733506 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/constants.js @@ -0,0 +1,4 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DEFAULTS_MODE_OPTIONS = void 0; +exports.DEFAULTS_MODE_OPTIONS = ["in-region", "cross-region", "mobile", "standard", "legacy"]; diff --git a/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js b/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js new file mode 100644 index 0000000..c576272 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js @@ -0,0 +1,16 @@ +'use strict'; + +var resolveDefaultsModeConfig = require('./resolveDefaultsModeConfig'); + + + +Object.prototype.hasOwnProperty.call(resolveDefaultsModeConfig, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: resolveDefaultsModeConfig['__proto__'] + }); + +Object.keys(resolveDefaultsModeConfig).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = resolveDefaultsModeConfig[k]; +}); diff --git a/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.js b/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.js new file mode 100644 index 0000000..6618f6a --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.js @@ -0,0 +1,34 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.resolveDefaultsModeConfig = void 0; +const property_provider_1 = require("@smithy/property-provider"); +const constants_1 = require("./constants"); +const resolveDefaultsModeConfig = ({ defaultsMode, } = {}) => (0, property_provider_1.memoize)(async () => { + const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode; + switch (mode?.toLowerCase()) { + case "auto": + return Promise.resolve(useMobileConfiguration() ? "mobile" : "standard"); + case "mobile": + case "in-region": + case "cross-region": + case "standard": + case "legacy": + return Promise.resolve(mode?.toLocaleLowerCase()); + case undefined: + return Promise.resolve("legacy"); + default: + throw new Error(`Invalid parameter for "defaultsMode", expect ${constants_1.DEFAULTS_MODE_OPTIONS.join(", ")}, got ${mode}`); + } +}); +exports.resolveDefaultsModeConfig = resolveDefaultsModeConfig; +const useMobileConfiguration = () => { + const navigator = window?.navigator; + if (navigator?.connection) { + const { effectiveType, rtt, downlink } = navigator?.connection; + const slow = (typeof effectiveType === "string" && effectiveType !== "4g") || Number(rtt) > 100 || Number(downlink) < 10; + if (slow) { + return true; + } + } + return (navigator?.userAgentData?.mobile || (typeof navigator?.maxTouchPoints === "number" && navigator?.maxTouchPoints > 1)); +}; diff --git a/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.native.js b/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.native.js new file mode 100644 index 0000000..1aed47a --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.native.js @@ -0,0 +1,23 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.resolveDefaultsModeConfig = void 0; +const property_provider_1 = require("@smithy/property-provider"); +const constants_1 = require("./constants"); +const resolveDefaultsModeConfig = ({ defaultsMode, } = {}) => (0, property_provider_1.memoize)(async () => { + const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode; + switch (mode?.toLowerCase()) { + case "auto": + return Promise.resolve("mobile"); + case "mobile": + case "in-region": + case "cross-region": + case "standard": + case "legacy": + return Promise.resolve(mode?.toLocaleLowerCase()); + case undefined: + return Promise.resolve("legacy"); + default: + throw new Error(`Invalid parameter for "defaultsMode", expect ${constants_1.DEFAULTS_MODE_OPTIONS.join(", ")}, got ${mode}`); + } +}); +exports.resolveDefaultsModeConfig = resolveDefaultsModeConfig; diff --git a/node_modules/@smithy/util-defaults-mode-browser/dist-es/constants.js b/node_modules/@smithy/util-defaults-mode-browser/dist-es/constants.js new file mode 100644 index 0000000..d58e11f --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-browser/dist-es/constants.js @@ -0,0 +1 @@ +export const DEFAULTS_MODE_OPTIONS = ["in-region", "cross-region", "mobile", "standard", "legacy"]; diff --git a/node_modules/@smithy/util-defaults-mode-browser/dist-es/index.js b/node_modules/@smithy/util-defaults-mode-browser/dist-es/index.js new file mode 100644 index 0000000..05aa818 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-browser/dist-es/index.js @@ -0,0 +1 @@ +export * from "./resolveDefaultsModeConfig"; diff --git a/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js b/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js new file mode 100644 index 0000000..c8939f2 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js @@ -0,0 +1,30 @@ +import { memoize } from "@smithy/property-provider"; +import { DEFAULTS_MODE_OPTIONS } from "./constants"; +export const resolveDefaultsModeConfig = ({ defaultsMode, } = {}) => memoize(async () => { + const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode; + switch (mode?.toLowerCase()) { + case "auto": + return Promise.resolve(useMobileConfiguration() ? "mobile" : "standard"); + case "mobile": + case "in-region": + case "cross-region": + case "standard": + case "legacy": + return Promise.resolve(mode?.toLocaleLowerCase()); + case undefined: + return Promise.resolve("legacy"); + default: + throw new Error(`Invalid parameter for "defaultsMode", expect ${DEFAULTS_MODE_OPTIONS.join(", ")}, got ${mode}`); + } +}); +const useMobileConfiguration = () => { + const navigator = window?.navigator; + if (navigator?.connection) { + const { effectiveType, rtt, downlink } = navigator?.connection; + const slow = (typeof effectiveType === "string" && effectiveType !== "4g") || Number(rtt) > 100 || Number(downlink) < 10; + if (slow) { + return true; + } + } + return (navigator?.userAgentData?.mobile || (typeof navigator?.maxTouchPoints === "number" && navigator?.maxTouchPoints > 1)); +}; diff --git a/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.native.js b/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.native.js new file mode 100644 index 0000000..3164191 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.native.js @@ -0,0 +1,19 @@ +import { memoize } from "@smithy/property-provider"; +import { DEFAULTS_MODE_OPTIONS } from "./constants"; +export const resolveDefaultsModeConfig = ({ defaultsMode, } = {}) => memoize(async () => { + const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode; + switch (mode?.toLowerCase()) { + case "auto": + return Promise.resolve("mobile"); + case "mobile": + case "in-region": + case "cross-region": + case "standard": + case "legacy": + return Promise.resolve(mode?.toLocaleLowerCase()); + case undefined: + return Promise.resolve("legacy"); + default: + throw new Error(`Invalid parameter for "defaultsMode", expect ${DEFAULTS_MODE_OPTIONS.join(", ")}, got ${mode}`); + } +}); diff --git a/node_modules/@smithy/util-defaults-mode-browser/dist-types/constants.d.ts b/node_modules/@smithy/util-defaults-mode-browser/dist-types/constants.d.ts new file mode 100644 index 0000000..18dbe6c --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-browser/dist-types/constants.d.ts @@ -0,0 +1,12 @@ +import type { DefaultsMode } from "@smithy/smithy-client"; +import type { Provider } from "@smithy/types"; +/** + * @internal + */ +export declare const DEFAULTS_MODE_OPTIONS: string[]; +/** + * @internal + */ +export interface ResolveDefaultsModeConfigOptions { + defaultsMode?: DefaultsMode | Provider; +} diff --git a/node_modules/@smithy/util-defaults-mode-browser/dist-types/index.d.ts b/node_modules/@smithy/util-defaults-mode-browser/dist-types/index.d.ts new file mode 100644 index 0000000..003de26 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-browser/dist-types/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export * from "./resolveDefaultsModeConfig"; diff --git a/node_modules/@smithy/util-defaults-mode-browser/dist-types/resolveDefaultsModeConfig.d.ts b/node_modules/@smithy/util-defaults-mode-browser/dist-types/resolveDefaultsModeConfig.d.ts new file mode 100644 index 0000000..e4cc1b7 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-browser/dist-types/resolveDefaultsModeConfig.d.ts @@ -0,0 +1,17 @@ +import type { DefaultsMode, ResolvedDefaultsMode } from "@smithy/smithy-client"; +import type { Provider } from "@smithy/types"; +/** + * @internal + */ +export interface ResolveDefaultsModeConfigOptions { + defaultsMode?: DefaultsMode | Provider; +} +/** + * Validate the defaultsMode configuration. If the value is set to "auto", it + * resolves the value to "mobile" if the app is running in a mobile browser, + * otherwise it resolves to "standard". + * + * @default "legacy" + * @internal + */ +export declare const resolveDefaultsModeConfig: ({ defaultsMode, }?: ResolveDefaultsModeConfigOptions) => Provider; diff --git a/node_modules/@smithy/util-defaults-mode-browser/dist-types/resolveDefaultsModeConfig.native.d.ts b/node_modules/@smithy/util-defaults-mode-browser/dist-types/resolveDefaultsModeConfig.native.d.ts new file mode 100644 index 0000000..6c48ad8 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-browser/dist-types/resolveDefaultsModeConfig.native.d.ts @@ -0,0 +1,16 @@ +import type { DefaultsMode, ResolvedDefaultsMode } from "@smithy/smithy-client"; +import type { Provider } from "@smithy/types"; +/** + * @internal + */ +export interface ResolveDefaultsModeConfigOptions { + defaultsMode?: DefaultsMode | Provider; +} +/** + * Validate the defaultsMode configuration. If the value is set to "auto", it + * resolves the value to "mobile". + * + * @default "legacy" + * @internal + */ +export declare const resolveDefaultsModeConfig: ({ defaultsMode, }?: ResolveDefaultsModeConfigOptions) => Provider; diff --git a/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/constants.d.ts b/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/constants.d.ts new file mode 100644 index 0000000..51add03 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/constants.d.ts @@ -0,0 +1,12 @@ +import { DefaultsMode } from "@smithy/smithy-client"; +import { Provider } from "@smithy/types"; +/** + * @internal + */ +export declare const DEFAULTS_MODE_OPTIONS: string[]; +/** + * @internal + */ +export interface ResolveDefaultsModeConfigOptions { + defaultsMode?: DefaultsMode | Provider; +} diff --git a/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..003de26 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export * from "./resolveDefaultsModeConfig"; diff --git a/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts b/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts new file mode 100644 index 0000000..8e0b58e --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts @@ -0,0 +1,17 @@ +import { DefaultsMode, ResolvedDefaultsMode } from "@smithy/smithy-client"; +import { Provider } from "@smithy/types"; +/** + * @internal + */ +export interface ResolveDefaultsModeConfigOptions { + defaultsMode?: DefaultsMode | Provider; +} +/** + * Validate the defaultsMode configuration. If the value is set to "auto", it + * resolves the value to "mobile" if the app is running in a mobile browser, + * otherwise it resolves to "standard". + * + * @default "legacy" + * @internal + */ +export declare const resolveDefaultsModeConfig: ({ defaultsMode, }?: ResolveDefaultsModeConfigOptions) => Provider; diff --git a/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.native.d.ts b/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.native.d.ts new file mode 100644 index 0000000..6be7fd7 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.native.d.ts @@ -0,0 +1,16 @@ +import { DefaultsMode, ResolvedDefaultsMode } from "@smithy/smithy-client"; +import { Provider } from "@smithy/types"; +/** + * @internal + */ +export interface ResolveDefaultsModeConfigOptions { + defaultsMode?: DefaultsMode | Provider; +} +/** + * Validate the defaultsMode configuration. If the value is set to "auto", it + * resolves the value to "mobile". + * + * @default "legacy" + * @internal + */ +export declare const resolveDefaultsModeConfig: ({ defaultsMode, }?: ResolveDefaultsModeConfigOptions) => Provider; diff --git a/node_modules/@smithy/util-defaults-mode-browser/package.json b/node_modules/@smithy/util-defaults-mode-browser/package.json new file mode 100644 index 0000000..a8f7e08 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-browser/package.json @@ -0,0 +1,66 @@ +{ + "name": "@smithy/util-defaults-mode-browser", + "version": "4.3.44", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-defaults-mode-browser", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/property-provider": "^4.2.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "react-native": {}, + "browser": {}, + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/util-defaults-mode-node", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/util-defaults-mode-node" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/util-defaults-mode-node/LICENSE b/node_modules/@smithy/util-defaults-mode-node/LICENSE new file mode 100644 index 0000000..dd65ae0 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-node/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@smithy/util-defaults-mode-node/README.md b/node_modules/@smithy/util-defaults-mode-node/README.md new file mode 100644 index 0000000..2472f7b --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-node/README.md @@ -0,0 +1,17 @@ +# @smithy/util-defaults-mode-node + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-defaults-mode-node/latest.svg)](https://www.npmjs.com/package/@smithy/util-defaults-mode-node) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-defaults-mode-node.svg)](https://www.npmjs.com/package/@smithy/util-defaults-mode-node) + +### :warning: Internal API :warning: + +> This is an internal package. +> That means this is used as a dependency for other, public packages, but +> should not be taken directly as a dependency in your application's `package.json`. + +> If you are updating the version of this package, for example to bring in a +> bug-fix, you should do so by updating your application lockfile with +> e.g. `npm up @scope/package` or equivalent command in another +> package manager, rather than taking a direct dependency. + +--- diff --git a/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js b/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js new file mode 100644 index 0000000..9fae1b1 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js @@ -0,0 +1,74 @@ +'use strict'; + +var configResolver = require('@smithy/config-resolver'); +var nodeConfigProvider = require('@smithy/node-config-provider'); +var propertyProvider = require('@smithy/property-provider'); + +const AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV"; +const AWS_REGION_ENV = "AWS_REGION"; +const AWS_DEFAULT_REGION_ENV = "AWS_DEFAULT_REGION"; +const ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED"; +const DEFAULTS_MODE_OPTIONS = ["in-region", "cross-region", "mobile", "standard", "legacy"]; +const IMDS_REGION_PATH = "/latest/meta-data/placement/region"; + +const AWS_DEFAULTS_MODE_ENV = "AWS_DEFAULTS_MODE"; +const AWS_DEFAULTS_MODE_CONFIG = "defaults_mode"; +const NODE_DEFAULTS_MODE_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => { + return env[AWS_DEFAULTS_MODE_ENV]; + }, + configFileSelector: (profile) => { + return profile[AWS_DEFAULTS_MODE_CONFIG]; + }, + default: "legacy", +}; + +const resolveDefaultsModeConfig = ({ region = nodeConfigProvider.loadConfig(configResolver.NODE_REGION_CONFIG_OPTIONS), defaultsMode = nodeConfigProvider.loadConfig(NODE_DEFAULTS_MODE_CONFIG_OPTIONS), } = {}) => propertyProvider.memoize(async () => { + const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode; + switch (mode?.toLowerCase()) { + case "auto": + return resolveNodeDefaultsModeAuto(region); + case "in-region": + case "cross-region": + case "mobile": + case "standard": + case "legacy": + return Promise.resolve(mode?.toLocaleLowerCase()); + case undefined: + return Promise.resolve("legacy"); + default: + throw new Error(`Invalid parameter for "defaultsMode", expect ${DEFAULTS_MODE_OPTIONS.join(", ")}, got ${mode}`); + } +}); +const resolveNodeDefaultsModeAuto = async (clientRegion) => { + if (clientRegion) { + const resolvedRegion = typeof clientRegion === "function" ? await clientRegion() : clientRegion; + const inferredRegion = await inferPhysicalRegion(); + if (!inferredRegion) { + return "standard"; + } + if (resolvedRegion === inferredRegion) { + return "in-region"; + } + else { + return "cross-region"; + } + } + return "standard"; +}; +const inferPhysicalRegion = async () => { + if (process.env[AWS_EXECUTION_ENV] && (process.env[AWS_REGION_ENV] || process.env[AWS_DEFAULT_REGION_ENV])) { + return process.env[AWS_REGION_ENV] ?? process.env[AWS_DEFAULT_REGION_ENV]; + } + if (!process.env[ENV_IMDS_DISABLED]) { + try { + const { getInstanceMetadataEndpoint, httpRequest } = await import('@smithy/credential-provider-imds'); + const endpoint = await getInstanceMetadataEndpoint(); + return (await httpRequest({ ...endpoint, path: IMDS_REGION_PATH })).toString(); + } + catch (e) { + } + } +}; + +exports.resolveDefaultsModeConfig = resolveDefaultsModeConfig; diff --git a/node_modules/@smithy/util-defaults-mode-node/dist-es/constants.js b/node_modules/@smithy/util-defaults-mode-node/dist-es/constants.js new file mode 100644 index 0000000..69361a3 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-node/dist-es/constants.js @@ -0,0 +1,6 @@ +export const AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV"; +export const AWS_REGION_ENV = "AWS_REGION"; +export const AWS_DEFAULT_REGION_ENV = "AWS_DEFAULT_REGION"; +export const ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED"; +export const DEFAULTS_MODE_OPTIONS = ["in-region", "cross-region", "mobile", "standard", "legacy"]; +export const IMDS_REGION_PATH = "/latest/meta-data/placement/region"; diff --git a/node_modules/@smithy/util-defaults-mode-node/dist-es/defaultsModeConfig.js b/node_modules/@smithy/util-defaults-mode-node/dist-es/defaultsModeConfig.js new file mode 100644 index 0000000..f43b570 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-node/dist-es/defaultsModeConfig.js @@ -0,0 +1,11 @@ +const AWS_DEFAULTS_MODE_ENV = "AWS_DEFAULTS_MODE"; +const AWS_DEFAULTS_MODE_CONFIG = "defaults_mode"; +export const NODE_DEFAULTS_MODE_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => { + return env[AWS_DEFAULTS_MODE_ENV]; + }, + configFileSelector: (profile) => { + return profile[AWS_DEFAULTS_MODE_CONFIG]; + }, + default: "legacy", +}; diff --git a/node_modules/@smithy/util-defaults-mode-node/dist-es/index.js b/node_modules/@smithy/util-defaults-mode-node/dist-es/index.js new file mode 100644 index 0000000..05aa818 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-node/dist-es/index.js @@ -0,0 +1 @@ +export * from "./resolveDefaultsModeConfig"; diff --git a/node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js b/node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js new file mode 100644 index 0000000..8c9d050 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js @@ -0,0 +1,52 @@ +import { NODE_REGION_CONFIG_OPTIONS } from "@smithy/config-resolver"; +import { loadConfig } from "@smithy/node-config-provider"; +import { memoize } from "@smithy/property-provider"; +import { AWS_DEFAULT_REGION_ENV, AWS_EXECUTION_ENV, AWS_REGION_ENV, DEFAULTS_MODE_OPTIONS, ENV_IMDS_DISABLED, IMDS_REGION_PATH, } from "./constants"; +import { NODE_DEFAULTS_MODE_CONFIG_OPTIONS } from "./defaultsModeConfig"; +export const resolveDefaultsModeConfig = ({ region = loadConfig(NODE_REGION_CONFIG_OPTIONS), defaultsMode = loadConfig(NODE_DEFAULTS_MODE_CONFIG_OPTIONS), } = {}) => memoize(async () => { + const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode; + switch (mode?.toLowerCase()) { + case "auto": + return resolveNodeDefaultsModeAuto(region); + case "in-region": + case "cross-region": + case "mobile": + case "standard": + case "legacy": + return Promise.resolve(mode?.toLocaleLowerCase()); + case undefined: + return Promise.resolve("legacy"); + default: + throw new Error(`Invalid parameter for "defaultsMode", expect ${DEFAULTS_MODE_OPTIONS.join(", ")}, got ${mode}`); + } +}); +const resolveNodeDefaultsModeAuto = async (clientRegion) => { + if (clientRegion) { + const resolvedRegion = typeof clientRegion === "function" ? await clientRegion() : clientRegion; + const inferredRegion = await inferPhysicalRegion(); + if (!inferredRegion) { + return "standard"; + } + if (resolvedRegion === inferredRegion) { + return "in-region"; + } + else { + return "cross-region"; + } + } + return "standard"; +}; +const inferPhysicalRegion = async () => { + if (process.env[AWS_EXECUTION_ENV] && (process.env[AWS_REGION_ENV] || process.env[AWS_DEFAULT_REGION_ENV])) { + return process.env[AWS_REGION_ENV] ?? process.env[AWS_DEFAULT_REGION_ENV]; + } + if (!process.env[ENV_IMDS_DISABLED]) { + try { + const { getInstanceMetadataEndpoint, httpRequest } = await import("@smithy/credential-provider-imds"); + const endpoint = await getInstanceMetadataEndpoint(); + return (await httpRequest({ ...endpoint, path: IMDS_REGION_PATH })).toString(); + } + catch (e) { + } + } +}; diff --git a/node_modules/@smithy/util-defaults-mode-node/dist-types/constants.d.ts b/node_modules/@smithy/util-defaults-mode-node/dist-types/constants.d.ts new file mode 100644 index 0000000..a2db283 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-node/dist-types/constants.d.ts @@ -0,0 +1,24 @@ +/** + * @internal + */ +export declare const AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV"; +/** + * @internal + */ +export declare const AWS_REGION_ENV = "AWS_REGION"; +/** + * @internal + */ +export declare const AWS_DEFAULT_REGION_ENV = "AWS_DEFAULT_REGION"; +/** + * @internal + */ +export declare const ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED"; +/** + * @internal + */ +export declare const DEFAULTS_MODE_OPTIONS: string[]; +/** + * @internal + */ +export declare const IMDS_REGION_PATH = "/latest/meta-data/placement/region"; diff --git a/node_modules/@smithy/util-defaults-mode-node/dist-types/defaultsModeConfig.d.ts b/node_modules/@smithy/util-defaults-mode-node/dist-types/defaultsModeConfig.d.ts new file mode 100644 index 0000000..f9c60f7 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-node/dist-types/defaultsModeConfig.d.ts @@ -0,0 +1,6 @@ +import type { LoadedConfigSelectors } from "@smithy/node-config-provider"; +import type { DefaultsMode } from "@smithy/smithy-client"; +/** + * @internal + */ +export declare const NODE_DEFAULTS_MODE_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@smithy/util-defaults-mode-node/dist-types/index.d.ts b/node_modules/@smithy/util-defaults-mode-node/dist-types/index.d.ts new file mode 100644 index 0000000..003de26 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-node/dist-types/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export * from "./resolveDefaultsModeConfig"; diff --git a/node_modules/@smithy/util-defaults-mode-node/dist-types/resolveDefaultsModeConfig.d.ts b/node_modules/@smithy/util-defaults-mode-node/dist-types/resolveDefaultsModeConfig.d.ts new file mode 100644 index 0000000..8f34371 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-node/dist-types/resolveDefaultsModeConfig.d.ts @@ -0,0 +1,17 @@ +import type { DefaultsMode, ResolvedDefaultsMode } from "@smithy/smithy-client"; +import type { Provider } from "@smithy/types"; +/** + * @internal + */ +export interface ResolveDefaultsModeConfigOptions { + defaultsMode?: DefaultsMode | Provider; + region?: string | Provider; +} +/** + * Validate the defaultsMode configuration. If the value is set to "auto", it + * resolves the value to "in-region", "cross-region", or "standard". + * + * @default "legacy" + * @internal + */ +export declare const resolveDefaultsModeConfig: ({ region, defaultsMode, }?: ResolveDefaultsModeConfigOptions) => Provider; diff --git a/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/constants.d.ts b/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/constants.d.ts new file mode 100644 index 0000000..a2db283 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/constants.d.ts @@ -0,0 +1,24 @@ +/** + * @internal + */ +export declare const AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV"; +/** + * @internal + */ +export declare const AWS_REGION_ENV = "AWS_REGION"; +/** + * @internal + */ +export declare const AWS_DEFAULT_REGION_ENV = "AWS_DEFAULT_REGION"; +/** + * @internal + */ +export declare const ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED"; +/** + * @internal + */ +export declare const DEFAULTS_MODE_OPTIONS: string[]; +/** + * @internal + */ +export declare const IMDS_REGION_PATH = "/latest/meta-data/placement/region"; diff --git a/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/defaultsModeConfig.d.ts b/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/defaultsModeConfig.d.ts new file mode 100644 index 0000000..4d15cf5 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/defaultsModeConfig.d.ts @@ -0,0 +1,6 @@ +import { LoadedConfigSelectors } from "@smithy/node-config-provider"; +import { DefaultsMode } from "@smithy/smithy-client"; +/** + * @internal + */ +export declare const NODE_DEFAULTS_MODE_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..003de26 --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/index.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export * from "./resolveDefaultsModeConfig"; diff --git a/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts b/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts new file mode 100644 index 0000000..a51869e --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts @@ -0,0 +1,17 @@ +import { DefaultsMode, ResolvedDefaultsMode } from "@smithy/smithy-client"; +import { Provider } from "@smithy/types"; +/** + * @internal + */ +export interface ResolveDefaultsModeConfigOptions { + defaultsMode?: DefaultsMode | Provider; + region?: string | Provider; +} +/** + * Validate the defaultsMode configuration. If the value is set to "auto", it + * resolves the value to "in-region", "cross-region", or "standard". + * + * @default "legacy" + * @internal + */ +export declare const resolveDefaultsModeConfig: ({ region, defaultsMode, }?: ResolveDefaultsModeConfigOptions) => Provider; diff --git a/node_modules/@smithy/util-defaults-mode-node/package.json b/node_modules/@smithy/util-defaults-mode-node/package.json new file mode 100644 index 0000000..fd6225f --- /dev/null +++ b/node_modules/@smithy/util-defaults-mode-node/package.json @@ -0,0 +1,67 @@ +{ + "name": "@smithy/util-defaults-mode-node", + "version": "4.2.48", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-defaults-mode-node", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/config-resolver": "^4.4.13", + "@smithy/credential-provider-imds": "^4.2.12", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/property-provider": "^4.2.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/util-defaults-mode-node", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/util-defaults-mode-node" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/util-endpoints/LICENSE b/node_modules/@smithy/util-endpoints/LICENSE new file mode 100644 index 0000000..a1895fa --- /dev/null +++ b/node_modules/@smithy/util-endpoints/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/util-endpoints/README.md b/node_modules/@smithy/util-endpoints/README.md new file mode 100644 index 0000000..85d60b3 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/README.md @@ -0,0 +1,10 @@ +# @smithy/util-endpoints + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-endpoints/latest.svg)](https://www.npmjs.com/package/@smithy/util-endpoints) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-endpoints.svg)](https://www.npmjs.com/package/@smithy/util-endpoints) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/util-endpoints/dist-cjs/index.js b/node_modules/@smithy/util-endpoints/dist-cjs/index.js new file mode 100644 index 0000000..04665e2 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-cjs/index.js @@ -0,0 +1,472 @@ +'use strict'; + +var types = require('@smithy/types'); + +class EndpointCache { + capacity; + data = new Map(); + parameters = []; + constructor({ size, params }) { + this.capacity = size ?? 50; + if (params) { + this.parameters = params; + } + } + get(endpointParams, resolver) { + const key = this.hash(endpointParams); + if (key === false) { + return resolver(); + } + if (!this.data.has(key)) { + if (this.data.size > this.capacity + 10) { + const keys = this.data.keys(); + let i = 0; + while (true) { + const { value, done } = keys.next(); + this.data.delete(value); + if (done || ++i > 10) { + break; + } + } + } + this.data.set(key, resolver()); + } + return this.data.get(key); + } + size() { + return this.data.size; + } + hash(endpointParams) { + let buffer = ""; + const { parameters } = this; + if (parameters.length === 0) { + return false; + } + for (const param of parameters) { + const val = String(endpointParams[param] ?? ""); + if (val.includes("|;")) { + return false; + } + buffer += val + "|;"; + } + return buffer; + } +} + +const IP_V4_REGEX = new RegExp(`^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$`); +const isIpAddress = (value) => IP_V4_REGEX.test(value) || (value.startsWith("[") && value.endsWith("]")); + +const VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`); +const isValidHostLabel = (value, allowSubDomains = false) => { + if (!allowSubDomains) { + return VALID_HOST_LABEL_REGEX.test(value); + } + const labels = value.split("."); + for (const label of labels) { + if (!isValidHostLabel(label)) { + return false; + } + } + return true; +}; + +const customEndpointFunctions = {}; + +const debugId = "endpoints"; + +function toDebugString(input) { + if (typeof input !== "object" || input == null) { + return input; + } + if ("ref" in input) { + return `$${toDebugString(input.ref)}`; + } + if ("fn" in input) { + return `${input.fn}(${(input.argv || []).map(toDebugString).join(", ")})`; + } + return JSON.stringify(input, null, 2); +} + +class EndpointError extends Error { + constructor(message) { + super(message); + this.name = "EndpointError"; + } +} + +const booleanEquals = (value1, value2) => value1 === value2; + +const getAttrPathList = (path) => { + const parts = path.split("."); + const pathList = []; + for (const part of parts) { + const squareBracketIndex = part.indexOf("["); + if (squareBracketIndex !== -1) { + if (part.indexOf("]") !== part.length - 1) { + throw new EndpointError(`Path: '${path}' does not end with ']'`); + } + const arrayIndex = part.slice(squareBracketIndex + 1, -1); + if (Number.isNaN(parseInt(arrayIndex))) { + throw new EndpointError(`Invalid array index: '${arrayIndex}' in path: '${path}'`); + } + if (squareBracketIndex !== 0) { + pathList.push(part.slice(0, squareBracketIndex)); + } + pathList.push(arrayIndex); + } + else { + pathList.push(part); + } + } + return pathList; +}; + +const getAttr = (value, path) => getAttrPathList(path).reduce((acc, index) => { + if (typeof acc !== "object") { + throw new EndpointError(`Index '${index}' in '${path}' not found in '${JSON.stringify(value)}'`); + } + else if (Array.isArray(acc)) { + return acc[parseInt(index)]; + } + return acc[index]; +}, value); + +const isSet = (value) => value != null; + +const not = (value) => !value; + +const DEFAULT_PORTS = { + [types.EndpointURLScheme.HTTP]: 80, + [types.EndpointURLScheme.HTTPS]: 443, +}; +const parseURL = (value) => { + const whatwgURL = (() => { + try { + if (value instanceof URL) { + return value; + } + if (typeof value === "object" && "hostname" in value) { + const { hostname, port, protocol = "", path = "", query = {} } = value; + const url = new URL(`${protocol}//${hostname}${port ? `:${port}` : ""}${path}`); + url.search = Object.entries(query) + .map(([k, v]) => `${k}=${v}`) + .join("&"); + return url; + } + return new URL(value); + } + catch (error) { + return null; + } + })(); + if (!whatwgURL) { + console.error(`Unable to parse ${JSON.stringify(value)} as a whatwg URL.`); + return null; + } + const urlString = whatwgURL.href; + const { host, hostname, pathname, protocol, search } = whatwgURL; + if (search) { + return null; + } + const scheme = protocol.slice(0, -1); + if (!Object.values(types.EndpointURLScheme).includes(scheme)) { + return null; + } + const isIp = isIpAddress(hostname); + const inputContainsDefaultPort = urlString.includes(`${host}:${DEFAULT_PORTS[scheme]}`) || + (typeof value === "string" && value.includes(`${host}:${DEFAULT_PORTS[scheme]}`)); + const authority = `${host}${inputContainsDefaultPort ? `:${DEFAULT_PORTS[scheme]}` : ``}`; + return { + scheme, + authority, + path: pathname, + normalizedPath: pathname.endsWith("/") ? pathname : `${pathname}/`, + isIp, + }; +}; + +const stringEquals = (value1, value2) => value1 === value2; + +const substring = (input, start, stop, reverse) => { + if (start >= stop || input.length < stop || /[^\u0000-\u007f]/.test(input)) { + return null; + } + if (!reverse) { + return input.substring(start, stop); + } + return input.substring(input.length - stop, input.length - start); +}; + +const uriEncode = (value) => encodeURIComponent(value).replace(/[!*'()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`); + +const endpointFunctions = { + booleanEquals, + getAttr, + isSet, + isValidHostLabel, + not, + parseURL, + stringEquals, + substring, + uriEncode, +}; + +const evaluateTemplate = (template, options) => { + const evaluatedTemplateArr = []; + const templateContext = { + ...options.endpointParams, + ...options.referenceRecord, + }; + let currentIndex = 0; + while (currentIndex < template.length) { + const openingBraceIndex = template.indexOf("{", currentIndex); + if (openingBraceIndex === -1) { + evaluatedTemplateArr.push(template.slice(currentIndex)); + break; + } + evaluatedTemplateArr.push(template.slice(currentIndex, openingBraceIndex)); + const closingBraceIndex = template.indexOf("}", openingBraceIndex); + if (closingBraceIndex === -1) { + evaluatedTemplateArr.push(template.slice(openingBraceIndex)); + break; + } + if (template[openingBraceIndex + 1] === "{" && template[closingBraceIndex + 1] === "}") { + evaluatedTemplateArr.push(template.slice(openingBraceIndex + 1, closingBraceIndex)); + currentIndex = closingBraceIndex + 2; + } + const parameterName = template.substring(openingBraceIndex + 1, closingBraceIndex); + if (parameterName.includes("#")) { + const [refName, attrName] = parameterName.split("#"); + evaluatedTemplateArr.push(getAttr(templateContext[refName], attrName)); + } + else { + evaluatedTemplateArr.push(templateContext[parameterName]); + } + currentIndex = closingBraceIndex + 1; + } + return evaluatedTemplateArr.join(""); +}; + +const getReferenceValue = ({ ref }, options) => { + const referenceRecord = { + ...options.endpointParams, + ...options.referenceRecord, + }; + return referenceRecord[ref]; +}; + +const evaluateExpression = (obj, keyName, options) => { + if (typeof obj === "string") { + return evaluateTemplate(obj, options); + } + else if (obj["fn"]) { + return group$2.callFunction(obj, options); + } + else if (obj["ref"]) { + return getReferenceValue(obj, options); + } + throw new EndpointError(`'${keyName}': ${String(obj)} is not a string, function or reference.`); +}; +const callFunction = ({ fn, argv }, options) => { + const evaluatedArgs = argv.map((arg) => ["boolean", "number"].includes(typeof arg) ? arg : group$2.evaluateExpression(arg, "arg", options)); + const fnSegments = fn.split("."); + if (fnSegments[0] in customEndpointFunctions && fnSegments[1] != null) { + return customEndpointFunctions[fnSegments[0]][fnSegments[1]](...evaluatedArgs); + } + return endpointFunctions[fn](...evaluatedArgs); +}; +const group$2 = { + evaluateExpression, + callFunction, +}; + +const evaluateCondition = ({ assign, ...fnArgs }, options) => { + if (assign && assign in options.referenceRecord) { + throw new EndpointError(`'${assign}' is already defined in Reference Record.`); + } + const value = callFunction(fnArgs, options); + options.logger?.debug?.(`${debugId} evaluateCondition: ${toDebugString(fnArgs)} = ${toDebugString(value)}`); + return { + result: value === "" ? true : !!value, + ...(assign != null && { toAssign: { name: assign, value } }), + }; +}; + +const evaluateConditions = (conditions = [], options) => { + const conditionsReferenceRecord = {}; + for (const condition of conditions) { + const { result, toAssign } = evaluateCondition(condition, { + ...options, + referenceRecord: { + ...options.referenceRecord, + ...conditionsReferenceRecord, + }, + }); + if (!result) { + return { result }; + } + if (toAssign) { + conditionsReferenceRecord[toAssign.name] = toAssign.value; + options.logger?.debug?.(`${debugId} assign: ${toAssign.name} := ${toDebugString(toAssign.value)}`); + } + } + return { result: true, referenceRecord: conditionsReferenceRecord }; +}; + +const getEndpointHeaders = (headers, options) => Object.entries(headers).reduce((acc, [headerKey, headerVal]) => ({ + ...acc, + [headerKey]: headerVal.map((headerValEntry) => { + const processedExpr = evaluateExpression(headerValEntry, "Header value entry", options); + if (typeof processedExpr !== "string") { + throw new EndpointError(`Header '${headerKey}' value '${processedExpr}' is not a string`); + } + return processedExpr; + }), +}), {}); + +const getEndpointProperties = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => ({ + ...acc, + [propertyKey]: group$1.getEndpointProperty(propertyVal, options), +}), {}); +const getEndpointProperty = (property, options) => { + if (Array.isArray(property)) { + return property.map((propertyEntry) => getEndpointProperty(propertyEntry, options)); + } + switch (typeof property) { + case "string": + return evaluateTemplate(property, options); + case "object": + if (property === null) { + throw new EndpointError(`Unexpected endpoint property: ${property}`); + } + return group$1.getEndpointProperties(property, options); + case "boolean": + return property; + default: + throw new EndpointError(`Unexpected endpoint property type: ${typeof property}`); + } +}; +const group$1 = { + getEndpointProperty, + getEndpointProperties, +}; + +const getEndpointUrl = (endpointUrl, options) => { + const expression = evaluateExpression(endpointUrl, "Endpoint URL", options); + if (typeof expression === "string") { + try { + return new URL(expression); + } + catch (error) { + console.error(`Failed to construct URL with ${expression}`, error); + throw error; + } + } + throw new EndpointError(`Endpoint URL must be a string, got ${typeof expression}`); +}; + +const evaluateEndpointRule = (endpointRule, options) => { + const { conditions, endpoint } = endpointRule; + const { result, referenceRecord } = evaluateConditions(conditions, options); + if (!result) { + return; + } + const endpointRuleOptions = { + ...options, + referenceRecord: { ...options.referenceRecord, ...referenceRecord }, + }; + const { url, properties, headers } = endpoint; + options.logger?.debug?.(`${debugId} Resolving endpoint from template: ${toDebugString(endpoint)}`); + return { + ...(headers != undefined && { + headers: getEndpointHeaders(headers, endpointRuleOptions), + }), + ...(properties != undefined && { + properties: getEndpointProperties(properties, endpointRuleOptions), + }), + url: getEndpointUrl(url, endpointRuleOptions), + }; +}; + +const evaluateErrorRule = (errorRule, options) => { + const { conditions, error } = errorRule; + const { result, referenceRecord } = evaluateConditions(conditions, options); + if (!result) { + return; + } + throw new EndpointError(evaluateExpression(error, "Error", { + ...options, + referenceRecord: { ...options.referenceRecord, ...referenceRecord }, + })); +}; + +const evaluateRules = (rules, options) => { + for (const rule of rules) { + if (rule.type === "endpoint") { + const endpointOrUndefined = evaluateEndpointRule(rule, options); + if (endpointOrUndefined) { + return endpointOrUndefined; + } + } + else if (rule.type === "error") { + evaluateErrorRule(rule, options); + } + else if (rule.type === "tree") { + const endpointOrUndefined = group.evaluateTreeRule(rule, options); + if (endpointOrUndefined) { + return endpointOrUndefined; + } + } + else { + throw new EndpointError(`Unknown endpoint rule: ${rule}`); + } + } + throw new EndpointError(`Rules evaluation failed`); +}; +const evaluateTreeRule = (treeRule, options) => { + const { conditions, rules } = treeRule; + const { result, referenceRecord } = evaluateConditions(conditions, options); + if (!result) { + return; + } + return group.evaluateRules(rules, { + ...options, + referenceRecord: { ...options.referenceRecord, ...referenceRecord }, + }); +}; +const group = { + evaluateRules, + evaluateTreeRule, +}; + +const resolveEndpoint = (ruleSetObject, options) => { + const { endpointParams, logger } = options; + const { parameters, rules } = ruleSetObject; + options.logger?.debug?.(`${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`); + const paramsWithDefault = Object.entries(parameters) + .filter(([, v]) => v.default != null) + .map(([k, v]) => [k, v.default]); + if (paramsWithDefault.length > 0) { + for (const [paramKey, paramDefaultValue] of paramsWithDefault) { + endpointParams[paramKey] = endpointParams[paramKey] ?? paramDefaultValue; + } + } + const requiredParams = Object.entries(parameters) + .filter(([, v]) => v.required) + .map(([k]) => k); + for (const requiredParam of requiredParams) { + if (endpointParams[requiredParam] == null) { + throw new EndpointError(`Missing required parameter: '${requiredParam}'`); + } + } + const endpoint = evaluateRules(rules, { endpointParams, logger, referenceRecord: {} }); + options.logger?.debug?.(`${debugId} Resolved endpoint: ${toDebugString(endpoint)}`); + return endpoint; +}; + +exports.EndpointCache = EndpointCache; +exports.EndpointError = EndpointError; +exports.customEndpointFunctions = customEndpointFunctions; +exports.isIpAddress = isIpAddress; +exports.isValidHostLabel = isValidHostLabel; +exports.resolveEndpoint = resolveEndpoint; diff --git a/node_modules/@smithy/util-endpoints/dist-es/cache/EndpointCache.js b/node_modules/@smithy/util-endpoints/dist-es/cache/EndpointCache.js new file mode 100644 index 0000000..2c13f9d --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/cache/EndpointCache.js @@ -0,0 +1,50 @@ +export class EndpointCache { + capacity; + data = new Map(); + parameters = []; + constructor({ size, params }) { + this.capacity = size ?? 50; + if (params) { + this.parameters = params; + } + } + get(endpointParams, resolver) { + const key = this.hash(endpointParams); + if (key === false) { + return resolver(); + } + if (!this.data.has(key)) { + if (this.data.size > this.capacity + 10) { + const keys = this.data.keys(); + let i = 0; + while (true) { + const { value, done } = keys.next(); + this.data.delete(value); + if (done || ++i > 10) { + break; + } + } + } + this.data.set(key, resolver()); + } + return this.data.get(key); + } + size() { + return this.data.size; + } + hash(endpointParams) { + let buffer = ""; + const { parameters } = this; + if (parameters.length === 0) { + return false; + } + for (const param of parameters) { + const val = String(endpointParams[param] ?? ""); + if (val.includes("|;")) { + return false; + } + buffer += val + "|;"; + } + return buffer; + } +} diff --git a/node_modules/@smithy/util-endpoints/dist-es/debug/debugId.js b/node_modules/@smithy/util-endpoints/dist-es/debug/debugId.js new file mode 100644 index 0000000..0d4e27e --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/debug/debugId.js @@ -0,0 +1 @@ +export const debugId = "endpoints"; diff --git a/node_modules/@smithy/util-endpoints/dist-es/debug/index.js b/node_modules/@smithy/util-endpoints/dist-es/debug/index.js new file mode 100644 index 0000000..70d3b15 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/debug/index.js @@ -0,0 +1,2 @@ +export * from "./debugId"; +export * from "./toDebugString"; diff --git a/node_modules/@smithy/util-endpoints/dist-es/debug/toDebugString.js b/node_modules/@smithy/util-endpoints/dist-es/debug/toDebugString.js new file mode 100644 index 0000000..33c8fcb --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/debug/toDebugString.js @@ -0,0 +1,12 @@ +export function toDebugString(input) { + if (typeof input !== "object" || input == null) { + return input; + } + if ("ref" in input) { + return `$${toDebugString(input.ref)}`; + } + if ("fn" in input) { + return `${input.fn}(${(input.argv || []).map(toDebugString).join(", ")})`; + } + return JSON.stringify(input, null, 2); +} diff --git a/node_modules/@smithy/util-endpoints/dist-es/getEndpointUrlConfig.js b/node_modules/@smithy/util-endpoints/dist-es/getEndpointUrlConfig.js new file mode 100644 index 0000000..5069030 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/getEndpointUrlConfig.js @@ -0,0 +1,21 @@ +const ENV_ENDPOINT_URL = "AWS_ENDPOINT_URL"; +const CONFIG_ENDPOINT_URL = "endpoint_url"; +export const getEndpointUrlConfig = (serviceId) => ({ + environmentVariableSelector: (env) => { + const serviceEndpointUrlSections = [ENV_ENDPOINT_URL, ...serviceId.split(" ").map((w) => w.toUpperCase())]; + const serviceEndpointUrl = env[serviceEndpointUrlSections.join("_")]; + if (serviceEndpointUrl) + return serviceEndpointUrl; + const endpointUrl = env[ENV_ENDPOINT_URL]; + if (endpointUrl) + return endpointUrl; + return undefined; + }, + configFileSelector: (profile) => { + const endpointUrl = profile[CONFIG_ENDPOINT_URL]; + if (endpointUrl) + return endpointUrl; + return undefined; + }, + default: undefined, +}); diff --git a/node_modules/@smithy/util-endpoints/dist-es/index.js b/node_modules/@smithy/util-endpoints/dist-es/index.js new file mode 100644 index 0000000..c39ed2b --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/index.js @@ -0,0 +1,6 @@ +export * from "./cache/EndpointCache"; +export * from "./lib/isIpAddress"; +export * from "./lib/isValidHostLabel"; +export * from "./utils/customEndpointFunctions"; +export * from "./resolveEndpoint"; +export * from "./types"; diff --git a/node_modules/@smithy/util-endpoints/dist-es/lib/booleanEquals.js b/node_modules/@smithy/util-endpoints/dist-es/lib/booleanEquals.js new file mode 100644 index 0000000..730cbd3 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/lib/booleanEquals.js @@ -0,0 +1 @@ +export const booleanEquals = (value1, value2) => value1 === value2; diff --git a/node_modules/@smithy/util-endpoints/dist-es/lib/getAttr.js b/node_modules/@smithy/util-endpoints/dist-es/lib/getAttr.js new file mode 100644 index 0000000..d77f165 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/lib/getAttr.js @@ -0,0 +1,11 @@ +import { EndpointError } from "../types"; +import { getAttrPathList } from "./getAttrPathList"; +export const getAttr = (value, path) => getAttrPathList(path).reduce((acc, index) => { + if (typeof acc !== "object") { + throw new EndpointError(`Index '${index}' in '${path}' not found in '${JSON.stringify(value)}'`); + } + else if (Array.isArray(acc)) { + return acc[parseInt(index)]; + } + return acc[index]; +}, value); diff --git a/node_modules/@smithy/util-endpoints/dist-es/lib/getAttrPathList.js b/node_modules/@smithy/util-endpoints/dist-es/lib/getAttrPathList.js new file mode 100644 index 0000000..5817a2d --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/lib/getAttrPathList.js @@ -0,0 +1,25 @@ +import { EndpointError } from "../types"; +export const getAttrPathList = (path) => { + const parts = path.split("."); + const pathList = []; + for (const part of parts) { + const squareBracketIndex = part.indexOf("["); + if (squareBracketIndex !== -1) { + if (part.indexOf("]") !== part.length - 1) { + throw new EndpointError(`Path: '${path}' does not end with ']'`); + } + const arrayIndex = part.slice(squareBracketIndex + 1, -1); + if (Number.isNaN(parseInt(arrayIndex))) { + throw new EndpointError(`Invalid array index: '${arrayIndex}' in path: '${path}'`); + } + if (squareBracketIndex !== 0) { + pathList.push(part.slice(0, squareBracketIndex)); + } + pathList.push(arrayIndex); + } + else { + pathList.push(part); + } + } + return pathList; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/lib/index.js b/node_modules/@smithy/util-endpoints/dist-es/lib/index.js new file mode 100644 index 0000000..99a0844 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/lib/index.js @@ -0,0 +1,9 @@ +export * from "./booleanEquals"; +export * from "./getAttr"; +export * from "./isSet"; +export * from "./isValidHostLabel"; +export * from "./not"; +export * from "./parseURL"; +export * from "./stringEquals"; +export * from "./substring"; +export * from "./uriEncode"; diff --git a/node_modules/@smithy/util-endpoints/dist-es/lib/isIpAddress.js b/node_modules/@smithy/util-endpoints/dist-es/lib/isIpAddress.js new file mode 100644 index 0000000..20be5a3 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/lib/isIpAddress.js @@ -0,0 +1,2 @@ +const IP_V4_REGEX = new RegExp(`^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$`); +export const isIpAddress = (value) => IP_V4_REGEX.test(value) || (value.startsWith("[") && value.endsWith("]")); diff --git a/node_modules/@smithy/util-endpoints/dist-es/lib/isSet.js b/node_modules/@smithy/util-endpoints/dist-es/lib/isSet.js new file mode 100644 index 0000000..83ccc7a --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/lib/isSet.js @@ -0,0 +1 @@ +export const isSet = (value) => value != null; diff --git a/node_modules/@smithy/util-endpoints/dist-es/lib/isValidHostLabel.js b/node_modules/@smithy/util-endpoints/dist-es/lib/isValidHostLabel.js new file mode 100644 index 0000000..7858598 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/lib/isValidHostLabel.js @@ -0,0 +1,13 @@ +const VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`); +export const isValidHostLabel = (value, allowSubDomains = false) => { + if (!allowSubDomains) { + return VALID_HOST_LABEL_REGEX.test(value); + } + const labels = value.split("."); + for (const label of labels) { + if (!isValidHostLabel(label)) { + return false; + } + } + return true; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/lib/not.js b/node_modules/@smithy/util-endpoints/dist-es/lib/not.js new file mode 100644 index 0000000..180e5dd --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/lib/not.js @@ -0,0 +1 @@ +export const not = (value) => !value; diff --git a/node_modules/@smithy/util-endpoints/dist-es/lib/parseURL.js b/node_modules/@smithy/util-endpoints/dist-es/lib/parseURL.js new file mode 100644 index 0000000..79f9b24 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/lib/parseURL.js @@ -0,0 +1,51 @@ +import { EndpointURLScheme } from "@smithy/types"; +import { isIpAddress } from "./isIpAddress"; +const DEFAULT_PORTS = { + [EndpointURLScheme.HTTP]: 80, + [EndpointURLScheme.HTTPS]: 443, +}; +export const parseURL = (value) => { + const whatwgURL = (() => { + try { + if (value instanceof URL) { + return value; + } + if (typeof value === "object" && "hostname" in value) { + const { hostname, port, protocol = "", path = "", query = {} } = value; + const url = new URL(`${protocol}//${hostname}${port ? `:${port}` : ""}${path}`); + url.search = Object.entries(query) + .map(([k, v]) => `${k}=${v}`) + .join("&"); + return url; + } + return new URL(value); + } + catch (error) { + return null; + } + })(); + if (!whatwgURL) { + console.error(`Unable to parse ${JSON.stringify(value)} as a whatwg URL.`); + return null; + } + const urlString = whatwgURL.href; + const { host, hostname, pathname, protocol, search } = whatwgURL; + if (search) { + return null; + } + const scheme = protocol.slice(0, -1); + if (!Object.values(EndpointURLScheme).includes(scheme)) { + return null; + } + const isIp = isIpAddress(hostname); + const inputContainsDefaultPort = urlString.includes(`${host}:${DEFAULT_PORTS[scheme]}`) || + (typeof value === "string" && value.includes(`${host}:${DEFAULT_PORTS[scheme]}`)); + const authority = `${host}${inputContainsDefaultPort ? `:${DEFAULT_PORTS[scheme]}` : ``}`; + return { + scheme, + authority, + path: pathname, + normalizedPath: pathname.endsWith("/") ? pathname : `${pathname}/`, + isIp, + }; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/lib/stringEquals.js b/node_modules/@smithy/util-endpoints/dist-es/lib/stringEquals.js new file mode 100644 index 0000000..ee41426 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/lib/stringEquals.js @@ -0,0 +1 @@ +export const stringEquals = (value1, value2) => value1 === value2; diff --git a/node_modules/@smithy/util-endpoints/dist-es/lib/substring.js b/node_modules/@smithy/util-endpoints/dist-es/lib/substring.js new file mode 100644 index 0000000..f906883 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/lib/substring.js @@ -0,0 +1,9 @@ +export const substring = (input, start, stop, reverse) => { + if (start >= stop || input.length < stop || /[^\u0000-\u007f]/.test(input)) { + return null; + } + if (!reverse) { + return input.substring(start, stop); + } + return input.substring(input.length - stop, input.length - start); +}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/lib/uriEncode.js b/node_modules/@smithy/util-endpoints/dist-es/lib/uriEncode.js new file mode 100644 index 0000000..ae226dc --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/lib/uriEncode.js @@ -0,0 +1 @@ +export const uriEncode = (value) => encodeURIComponent(value).replace(/[!*'()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`); diff --git a/node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js b/node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js new file mode 100644 index 0000000..ac12096 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js @@ -0,0 +1,27 @@ +import { debugId, toDebugString } from "./debug"; +import { EndpointError } from "./types"; +import { evaluateRules } from "./utils"; +export const resolveEndpoint = (ruleSetObject, options) => { + const { endpointParams, logger } = options; + const { parameters, rules } = ruleSetObject; + options.logger?.debug?.(`${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`); + const paramsWithDefault = Object.entries(parameters) + .filter(([, v]) => v.default != null) + .map(([k, v]) => [k, v.default]); + if (paramsWithDefault.length > 0) { + for (const [paramKey, paramDefaultValue] of paramsWithDefault) { + endpointParams[paramKey] = endpointParams[paramKey] ?? paramDefaultValue; + } + } + const requiredParams = Object.entries(parameters) + .filter(([, v]) => v.required) + .map(([k]) => k); + for (const requiredParam of requiredParams) { + if (endpointParams[requiredParam] == null) { + throw new EndpointError(`Missing required parameter: '${requiredParam}'`); + } + } + const endpoint = evaluateRules(rules, { endpointParams, logger, referenceRecord: {} }); + options.logger?.debug?.(`${debugId} Resolved endpoint: ${toDebugString(endpoint)}`); + return endpoint; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/types/EndpointError.js b/node_modules/@smithy/util-endpoints/dist-es/types/EndpointError.js new file mode 100644 index 0000000..1ce597d --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/types/EndpointError.js @@ -0,0 +1,6 @@ +export class EndpointError extends Error { + constructor(message) { + super(message); + this.name = "EndpointError"; + } +} diff --git a/node_modules/@smithy/util-endpoints/dist-es/types/EndpointFunctions.js b/node_modules/@smithy/util-endpoints/dist-es/types/EndpointFunctions.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/types/EndpointFunctions.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/types/EndpointRuleObject.js b/node_modules/@smithy/util-endpoints/dist-es/types/EndpointRuleObject.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/types/EndpointRuleObject.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/types/ErrorRuleObject.js b/node_modules/@smithy/util-endpoints/dist-es/types/ErrorRuleObject.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/types/ErrorRuleObject.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/types/RuleSetObject.js b/node_modules/@smithy/util-endpoints/dist-es/types/RuleSetObject.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/types/RuleSetObject.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/types/TreeRuleObject.js b/node_modules/@smithy/util-endpoints/dist-es/types/TreeRuleObject.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/types/TreeRuleObject.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/types/index.js b/node_modules/@smithy/util-endpoints/dist-es/types/index.js new file mode 100644 index 0000000..a49f984 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/types/index.js @@ -0,0 +1,7 @@ +export * from "./EndpointError"; +export * from "./EndpointFunctions"; +export * from "./EndpointRuleObject"; +export * from "./ErrorRuleObject"; +export * from "./RuleSetObject"; +export * from "./TreeRuleObject"; +export * from "./shared"; diff --git a/node_modules/@smithy/util-endpoints/dist-es/types/shared.js b/node_modules/@smithy/util-endpoints/dist-es/types/shared.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/types/shared.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/utils/callFunction.js b/node_modules/@smithy/util-endpoints/dist-es/utils/callFunction.js new file mode 100644 index 0000000..cd041e3 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/utils/callFunction.js @@ -0,0 +1 @@ +export { callFunction } from "./evaluateExpression"; diff --git a/node_modules/@smithy/util-endpoints/dist-es/utils/customEndpointFunctions.js b/node_modules/@smithy/util-endpoints/dist-es/utils/customEndpointFunctions.js new file mode 100644 index 0000000..0c26493 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/utils/customEndpointFunctions.js @@ -0,0 +1 @@ +export const customEndpointFunctions = {}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/utils/endpointFunctions.js b/node_modules/@smithy/util-endpoints/dist-es/utils/endpointFunctions.js new file mode 100644 index 0000000..e2215ff --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/utils/endpointFunctions.js @@ -0,0 +1,12 @@ +import { booleanEquals, getAttr, isSet, isValidHostLabel, not, parseURL, stringEquals, substring, uriEncode, } from "../lib"; +export const endpointFunctions = { + booleanEquals, + getAttr, + isSet, + isValidHostLabel, + not, + parseURL, + stringEquals, + substring, + uriEncode, +}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js b/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js new file mode 100644 index 0000000..8e84f08 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js @@ -0,0 +1,14 @@ +import { debugId, toDebugString } from "../debug"; +import { EndpointError } from "../types"; +import { callFunction } from "./callFunction"; +export const evaluateCondition = ({ assign, ...fnArgs }, options) => { + if (assign && assign in options.referenceRecord) { + throw new EndpointError(`'${assign}' is already defined in Reference Record.`); + } + const value = callFunction(fnArgs, options); + options.logger?.debug?.(`${debugId} evaluateCondition: ${toDebugString(fnArgs)} = ${toDebugString(value)}`); + return { + result: value === "" ? true : !!value, + ...(assign != null && { toAssign: { name: assign, value } }), + }; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js b/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js new file mode 100644 index 0000000..5542076 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js @@ -0,0 +1,22 @@ +import { debugId, toDebugString } from "../debug"; +import { evaluateCondition } from "./evaluateCondition"; +export const evaluateConditions = (conditions = [], options) => { + const conditionsReferenceRecord = {}; + for (const condition of conditions) { + const { result, toAssign } = evaluateCondition(condition, { + ...options, + referenceRecord: { + ...options.referenceRecord, + ...conditionsReferenceRecord, + }, + }); + if (!result) { + return { result }; + } + if (toAssign) { + conditionsReferenceRecord[toAssign.name] = toAssign.value; + options.logger?.debug?.(`${debugId} assign: ${toAssign.name} := ${toDebugString(toAssign.value)}`); + } + } + return { result: true, referenceRecord: conditionsReferenceRecord }; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js b/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js new file mode 100644 index 0000000..ba6307b --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js @@ -0,0 +1,27 @@ +import { debugId, toDebugString } from "../debug"; +import { evaluateConditions } from "./evaluateConditions"; +import { getEndpointHeaders } from "./getEndpointHeaders"; +import { getEndpointProperties } from "./getEndpointProperties"; +import { getEndpointUrl } from "./getEndpointUrl"; +export const evaluateEndpointRule = (endpointRule, options) => { + const { conditions, endpoint } = endpointRule; + const { result, referenceRecord } = evaluateConditions(conditions, options); + if (!result) { + return; + } + const endpointRuleOptions = { + ...options, + referenceRecord: { ...options.referenceRecord, ...referenceRecord }, + }; + const { url, properties, headers } = endpoint; + options.logger?.debug?.(`${debugId} Resolving endpoint from template: ${toDebugString(endpoint)}`); + return { + ...(headers != undefined && { + headers: getEndpointHeaders(headers, endpointRuleOptions), + }), + ...(properties != undefined && { + properties: getEndpointProperties(properties, endpointRuleOptions), + }), + url: getEndpointUrl(url, endpointRuleOptions), + }; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateErrorRule.js b/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateErrorRule.js new file mode 100644 index 0000000..1a57860 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateErrorRule.js @@ -0,0 +1,14 @@ +import { EndpointError } from "../types"; +import { evaluateConditions } from "./evaluateConditions"; +import { evaluateExpression } from "./evaluateExpression"; +export const evaluateErrorRule = (errorRule, options) => { + const { conditions, error } = errorRule; + const { result, referenceRecord } = evaluateConditions(conditions, options); + if (!result) { + return; + } + throw new EndpointError(evaluateExpression(error, "Error", { + ...options, + referenceRecord: { ...options.referenceRecord, ...referenceRecord }, + })); +}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js b/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js new file mode 100644 index 0000000..4ff958e --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js @@ -0,0 +1,29 @@ +import { EndpointError } from "../types"; +import { customEndpointFunctions } from "./customEndpointFunctions"; +import { endpointFunctions } from "./endpointFunctions"; +import { evaluateTemplate } from "./evaluateTemplate"; +import { getReferenceValue } from "./getReferenceValue"; +export const evaluateExpression = (obj, keyName, options) => { + if (typeof obj === "string") { + return evaluateTemplate(obj, options); + } + else if (obj["fn"]) { + return group.callFunction(obj, options); + } + else if (obj["ref"]) { + return getReferenceValue(obj, options); + } + throw new EndpointError(`'${keyName}': ${String(obj)} is not a string, function or reference.`); +}; +export const callFunction = ({ fn, argv }, options) => { + const evaluatedArgs = argv.map((arg) => ["boolean", "number"].includes(typeof arg) ? arg : group.evaluateExpression(arg, "arg", options)); + const fnSegments = fn.split("."); + if (fnSegments[0] in customEndpointFunctions && fnSegments[1] != null) { + return customEndpointFunctions[fnSegments[0]][fnSegments[1]](...evaluatedArgs); + } + return endpointFunctions[fn](...evaluatedArgs); +}; +export const group = { + evaluateExpression, + callFunction, +}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js b/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js new file mode 100644 index 0000000..b8ddffa --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js @@ -0,0 +1,42 @@ +import { EndpointError } from "../types"; +import { evaluateConditions } from "./evaluateConditions"; +import { evaluateEndpointRule } from "./evaluateEndpointRule"; +import { evaluateErrorRule } from "./evaluateErrorRule"; +export const evaluateRules = (rules, options) => { + for (const rule of rules) { + if (rule.type === "endpoint") { + const endpointOrUndefined = evaluateEndpointRule(rule, options); + if (endpointOrUndefined) { + return endpointOrUndefined; + } + } + else if (rule.type === "error") { + evaluateErrorRule(rule, options); + } + else if (rule.type === "tree") { + const endpointOrUndefined = group.evaluateTreeRule(rule, options); + if (endpointOrUndefined) { + return endpointOrUndefined; + } + } + else { + throw new EndpointError(`Unknown endpoint rule: ${rule}`); + } + } + throw new EndpointError(`Rules evaluation failed`); +}; +export const evaluateTreeRule = (treeRule, options) => { + const { conditions, rules } = treeRule; + const { result, referenceRecord } = evaluateConditions(conditions, options); + if (!result) { + return; + } + return group.evaluateRules(rules, { + ...options, + referenceRecord: { ...options.referenceRecord, ...referenceRecord }, + }); +}; +export const group = { + evaluateRules, + evaluateTreeRule, +}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTemplate.js b/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTemplate.js new file mode 100644 index 0000000..7005809 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTemplate.js @@ -0,0 +1,36 @@ +import { getAttr } from "../lib"; +export const evaluateTemplate = (template, options) => { + const evaluatedTemplateArr = []; + const templateContext = { + ...options.endpointParams, + ...options.referenceRecord, + }; + let currentIndex = 0; + while (currentIndex < template.length) { + const openingBraceIndex = template.indexOf("{", currentIndex); + if (openingBraceIndex === -1) { + evaluatedTemplateArr.push(template.slice(currentIndex)); + break; + } + evaluatedTemplateArr.push(template.slice(currentIndex, openingBraceIndex)); + const closingBraceIndex = template.indexOf("}", openingBraceIndex); + if (closingBraceIndex === -1) { + evaluatedTemplateArr.push(template.slice(openingBraceIndex)); + break; + } + if (template[openingBraceIndex + 1] === "{" && template[closingBraceIndex + 1] === "}") { + evaluatedTemplateArr.push(template.slice(openingBraceIndex + 1, closingBraceIndex)); + currentIndex = closingBraceIndex + 2; + } + const parameterName = template.substring(openingBraceIndex + 1, closingBraceIndex); + if (parameterName.includes("#")) { + const [refName, attrName] = parameterName.split("#"); + evaluatedTemplateArr.push(getAttr(templateContext[refName], attrName)); + } + else { + evaluatedTemplateArr.push(templateContext[parameterName]); + } + currentIndex = closingBraceIndex + 1; + } + return evaluatedTemplateArr.join(""); +}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTreeRule.js b/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTreeRule.js new file mode 100644 index 0000000..128a59c --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTreeRule.js @@ -0,0 +1 @@ +export { evaluateTreeRule } from "./evaluateRules"; diff --git a/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointHeaders.js b/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointHeaders.js new file mode 100644 index 0000000..f94cf55 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointHeaders.js @@ -0,0 +1,12 @@ +import { EndpointError } from "../types"; +import { evaluateExpression } from "./evaluateExpression"; +export const getEndpointHeaders = (headers, options) => Object.entries(headers).reduce((acc, [headerKey, headerVal]) => ({ + ...acc, + [headerKey]: headerVal.map((headerValEntry) => { + const processedExpr = evaluateExpression(headerValEntry, "Header value entry", options); + if (typeof processedExpr !== "string") { + throw new EndpointError(`Header '${headerKey}' value '${processedExpr}' is not a string`); + } + return processedExpr; + }), +}), {}); diff --git a/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js b/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js new file mode 100644 index 0000000..ab7496f --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js @@ -0,0 +1,28 @@ +import { EndpointError } from "../types"; +import { evaluateTemplate } from "./evaluateTemplate"; +export const getEndpointProperties = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => ({ + ...acc, + [propertyKey]: group.getEndpointProperty(propertyVal, options), +}), {}); +export const getEndpointProperty = (property, options) => { + if (Array.isArray(property)) { + return property.map((propertyEntry) => getEndpointProperty(propertyEntry, options)); + } + switch (typeof property) { + case "string": + return evaluateTemplate(property, options); + case "object": + if (property === null) { + throw new EndpointError(`Unexpected endpoint property: ${property}`); + } + return group.getEndpointProperties(property, options); + case "boolean": + return property; + default: + throw new EndpointError(`Unexpected endpoint property type: ${typeof property}`); + } +}; +export const group = { + getEndpointProperty, + getEndpointProperties, +}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperty.js b/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperty.js new file mode 100644 index 0000000..3bf38a5 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperty.js @@ -0,0 +1 @@ +export { getEndpointProperty } from "./getEndpointProperties"; diff --git a/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointUrl.js b/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointUrl.js new file mode 100644 index 0000000..8f1301e --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointUrl.js @@ -0,0 +1,15 @@ +import { EndpointError } from "../types"; +import { evaluateExpression } from "./evaluateExpression"; +export const getEndpointUrl = (endpointUrl, options) => { + const expression = evaluateExpression(endpointUrl, "Endpoint URL", options); + if (typeof expression === "string") { + try { + return new URL(expression); + } + catch (error) { + console.error(`Failed to construct URL with ${expression}`, error); + throw error; + } + } + throw new EndpointError(`Endpoint URL must be a string, got ${typeof expression}`); +}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/utils/getReferenceValue.js b/node_modules/@smithy/util-endpoints/dist-es/utils/getReferenceValue.js new file mode 100644 index 0000000..759f4d4 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/utils/getReferenceValue.js @@ -0,0 +1,7 @@ +export const getReferenceValue = ({ ref }, options) => { + const referenceRecord = { + ...options.endpointParams, + ...options.referenceRecord, + }; + return referenceRecord[ref]; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-es/utils/index.js b/node_modules/@smithy/util-endpoints/dist-es/utils/index.js new file mode 100644 index 0000000..b571d02 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-es/utils/index.js @@ -0,0 +1,2 @@ +export * from "./customEndpointFunctions"; +export * from "./evaluateRules"; diff --git a/node_modules/@smithy/util-endpoints/dist-types/cache/EndpointCache.d.ts b/node_modules/@smithy/util-endpoints/dist-types/cache/EndpointCache.d.ts new file mode 100644 index 0000000..19a338f --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/cache/EndpointCache.d.ts @@ -0,0 +1,34 @@ +import type { EndpointParams, EndpointV2 } from "@smithy/types"; +/** + * @internal + * + * Cache for endpoint ruleSet resolution. + */ +export declare class EndpointCache { + private capacity; + private data; + private parameters; + /** + * @param [size] - desired average maximum capacity. A buffer of 10 additional keys will be allowed + * before keys are dropped. + * @param [params] - list of params to consider as part of the cache key. + * + * If the params list is not populated, no caching will happen. + * This may be out of order depending on how the object is created and arrives to this class. + */ + constructor({ size, params }: { + size?: number; + params?: string[]; + }); + /** + * @param endpointParams - query for endpoint. + * @param resolver - provider of the value if not present. + * @returns endpoint corresponding to the query. + */ + get(endpointParams: EndpointParams, resolver: () => EndpointV2): EndpointV2; + size(): number; + /** + * @returns cache key or false if not cachable. + */ + private hash; +} diff --git a/node_modules/@smithy/util-endpoints/dist-types/debug/debugId.d.ts b/node_modules/@smithy/util-endpoints/dist-types/debug/debugId.d.ts new file mode 100644 index 0000000..d39f408 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/debug/debugId.d.ts @@ -0,0 +1 @@ +export declare const debugId = "endpoints"; diff --git a/node_modules/@smithy/util-endpoints/dist-types/debug/index.d.ts b/node_modules/@smithy/util-endpoints/dist-types/debug/index.d.ts new file mode 100644 index 0000000..70d3b15 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/debug/index.d.ts @@ -0,0 +1,2 @@ +export * from "./debugId"; +export * from "./toDebugString"; diff --git a/node_modules/@smithy/util-endpoints/dist-types/debug/toDebugString.d.ts b/node_modules/@smithy/util-endpoints/dist-types/debug/toDebugString.d.ts new file mode 100644 index 0000000..69397f6 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/debug/toDebugString.d.ts @@ -0,0 +1,9 @@ +import type { EndpointParameters, EndpointV2 } from "@smithy/types"; +import type { GetAttrValue } from "../lib"; +import type { EndpointObject, FunctionObject, FunctionReturn } from "../types"; +export declare function toDebugString(input: EndpointParameters): string; +export declare function toDebugString(input: EndpointV2): string; +export declare function toDebugString(input: GetAttrValue): string; +export declare function toDebugString(input: FunctionObject): string; +export declare function toDebugString(input: FunctionReturn): string; +export declare function toDebugString(input: EndpointObject): string; diff --git a/node_modules/@smithy/util-endpoints/dist-types/getEndpointUrlConfig.d.ts b/node_modules/@smithy/util-endpoints/dist-types/getEndpointUrlConfig.d.ts new file mode 100644 index 0000000..6b0f5d1 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/getEndpointUrlConfig.d.ts @@ -0,0 +1,2 @@ +import type { LoadedConfigSelectors } from "@smithy/node-config-provider"; +export declare const getEndpointUrlConfig: (serviceId: string) => LoadedConfigSelectors; diff --git a/node_modules/@smithy/util-endpoints/dist-types/index.d.ts b/node_modules/@smithy/util-endpoints/dist-types/index.d.ts new file mode 100644 index 0000000..c39ed2b --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/index.d.ts @@ -0,0 +1,6 @@ +export * from "./cache/EndpointCache"; +export * from "./lib/isIpAddress"; +export * from "./lib/isValidHostLabel"; +export * from "./utils/customEndpointFunctions"; +export * from "./resolveEndpoint"; +export * from "./types"; diff --git a/node_modules/@smithy/util-endpoints/dist-types/lib/booleanEquals.d.ts b/node_modules/@smithy/util-endpoints/dist-types/lib/booleanEquals.d.ts new file mode 100644 index 0000000..7eac561 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/lib/booleanEquals.d.ts @@ -0,0 +1,5 @@ +/** + * Evaluates two boolean values value1 and value2 for equality and returns + * true if both values match. + */ +export declare const booleanEquals: (value1: boolean, value2: boolean) => boolean; diff --git a/node_modules/@smithy/util-endpoints/dist-types/lib/getAttr.d.ts b/node_modules/@smithy/util-endpoints/dist-types/lib/getAttr.d.ts new file mode 100644 index 0000000..a8088c5 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/lib/getAttr.d.ts @@ -0,0 +1,7 @@ +export type GetAttrValue = string | boolean | { + [key: string]: GetAttrValue; +} | Array; +/** + * Returns value corresponding to pathing string for an array or object. + */ +export declare const getAttr: (value: GetAttrValue, path: string) => GetAttrValue; diff --git a/node_modules/@smithy/util-endpoints/dist-types/lib/getAttrPathList.d.ts b/node_modules/@smithy/util-endpoints/dist-types/lib/getAttrPathList.d.ts new file mode 100644 index 0000000..e6c4979 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/lib/getAttrPathList.d.ts @@ -0,0 +1,4 @@ +/** + * Parses path as a getAttr expression, returning a list of strings. + */ +export declare const getAttrPathList: (path: string) => Array; diff --git a/node_modules/@smithy/util-endpoints/dist-types/lib/index.d.ts b/node_modules/@smithy/util-endpoints/dist-types/lib/index.d.ts new file mode 100644 index 0000000..99a0844 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/lib/index.d.ts @@ -0,0 +1,9 @@ +export * from "./booleanEquals"; +export * from "./getAttr"; +export * from "./isSet"; +export * from "./isValidHostLabel"; +export * from "./not"; +export * from "./parseURL"; +export * from "./stringEquals"; +export * from "./substring"; +export * from "./uriEncode"; diff --git a/node_modules/@smithy/util-endpoints/dist-types/lib/isIpAddress.d.ts b/node_modules/@smithy/util-endpoints/dist-types/lib/isIpAddress.d.ts new file mode 100644 index 0000000..28aba97 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/lib/isIpAddress.d.ts @@ -0,0 +1,4 @@ +/** + * Validates if the provided value is an IP address. + */ +export declare const isIpAddress: (value: string) => boolean; diff --git a/node_modules/@smithy/util-endpoints/dist-types/lib/isSet.d.ts b/node_modules/@smithy/util-endpoints/dist-types/lib/isSet.d.ts new file mode 100644 index 0000000..7cb8c27 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/lib/isSet.d.ts @@ -0,0 +1,5 @@ +/** + * Evaluates whether a value is set (aka not null or undefined). + * Returns true if the value is set, otherwise returns false. + */ +export declare const isSet: (value: unknown) => value is {}; diff --git a/node_modules/@smithy/util-endpoints/dist-types/lib/isValidHostLabel.d.ts b/node_modules/@smithy/util-endpoints/dist-types/lib/isValidHostLabel.d.ts new file mode 100644 index 0000000..c05f9e9 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/lib/isValidHostLabel.d.ts @@ -0,0 +1,7 @@ +/** + * Evaluates whether one or more string values are valid host labels per RFC 1123. + * + * If allowSubDomains is true, then the provided value may be zero or more dotted + * subdomains which are each validated per RFC 1123. + */ +export declare const isValidHostLabel: (value: string, allowSubDomains?: boolean) => boolean; diff --git a/node_modules/@smithy/util-endpoints/dist-types/lib/not.d.ts b/node_modules/@smithy/util-endpoints/dist-types/lib/not.d.ts new file mode 100644 index 0000000..1e8e728 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/lib/not.d.ts @@ -0,0 +1,5 @@ +/** + * Performs logical negation on the provided boolean value, + * returning the negated value. + */ +export declare const not: (value: boolean) => boolean; diff --git a/node_modules/@smithy/util-endpoints/dist-types/lib/parseURL.d.ts b/node_modules/@smithy/util-endpoints/dist-types/lib/parseURL.d.ts new file mode 100644 index 0000000..3da46ff --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/lib/parseURL.d.ts @@ -0,0 +1,5 @@ +import type { Endpoint, EndpointURL } from "@smithy/types"; +/** + * Parses a string, URL, or Endpoint into it’s Endpoint URL components. + */ +export declare const parseURL: (value: string | URL | Endpoint) => EndpointURL | null; diff --git a/node_modules/@smithy/util-endpoints/dist-types/lib/stringEquals.d.ts b/node_modules/@smithy/util-endpoints/dist-types/lib/stringEquals.d.ts new file mode 100644 index 0000000..bdfc98d --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/lib/stringEquals.d.ts @@ -0,0 +1,5 @@ +/** + * Evaluates two string values value1 and value2 for equality and returns + * true if both values match. + */ +export declare const stringEquals: (value1: string, value2: string) => boolean; diff --git a/node_modules/@smithy/util-endpoints/dist-types/lib/substring.d.ts b/node_modules/@smithy/util-endpoints/dist-types/lib/substring.d.ts new file mode 100644 index 0000000..5d70035 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/lib/substring.d.ts @@ -0,0 +1,7 @@ +/** + * Computes the substring of a given string, conditionally indexing from the end of the string. + * When the string is long enough to fully include the substring, return the substring. + * Otherwise, return None. The start index is inclusive and the stop index is exclusive. + * The length of the returned string will always be stop-start. + */ +export declare const substring: (input: string, start: number, stop: number, reverse: boolean) => string | null; diff --git a/node_modules/@smithy/util-endpoints/dist-types/lib/uriEncode.d.ts b/node_modules/@smithy/util-endpoints/dist-types/lib/uriEncode.d.ts new file mode 100644 index 0000000..c2a720c --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/lib/uriEncode.d.ts @@ -0,0 +1,4 @@ +/** + * Performs percent-encoding per RFC3986 section 2.1 + */ +export declare const uriEncode: (value: string) => string; diff --git a/node_modules/@smithy/util-endpoints/dist-types/resolveEndpoint.d.ts b/node_modules/@smithy/util-endpoints/dist-types/resolveEndpoint.d.ts new file mode 100644 index 0000000..9243342 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/resolveEndpoint.d.ts @@ -0,0 +1,6 @@ +import type { EndpointV2 } from "@smithy/types"; +import type { EndpointResolverOptions, RuleSetObject } from "./types"; +/** + * Resolves an endpoint URL by processing the endpoints ruleset and options. + */ +export declare const resolveEndpoint: (ruleSetObject: RuleSetObject, options: EndpointResolverOptions) => EndpointV2; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/cache/EndpointCache.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/cache/EndpointCache.d.ts new file mode 100644 index 0000000..dd108c0 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/cache/EndpointCache.d.ts @@ -0,0 +1,34 @@ +import { EndpointParams, EndpointV2 } from "@smithy/types"; +/** + * @internal + * + * Cache for endpoint ruleSet resolution. + */ +export declare class EndpointCache { + private capacity; + private data; + private parameters; + /** + * @param [size] - desired average maximum capacity. A buffer of 10 additional keys will be allowed + * before keys are dropped. + * @param [params] - list of params to consider as part of the cache key. + * + * If the params list is not populated, no caching will happen. + * This may be out of order depending on how the object is created and arrives to this class. + */ + constructor({ size, params }: { + size?: number; + params?: string[]; + }); + /** + * @param endpointParams - query for endpoint. + * @param resolver - provider of the value if not present. + * @returns endpoint corresponding to the query. + */ + get(endpointParams: EndpointParams, resolver: () => EndpointV2): EndpointV2; + size(): number; + /** + * @returns cache key or false if not cachable. + */ + private hash; +} diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/debugId.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/debugId.d.ts new file mode 100644 index 0000000..d39f408 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/debugId.d.ts @@ -0,0 +1 @@ +export declare const debugId = "endpoints"; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/index.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/index.d.ts new file mode 100644 index 0000000..70d3b15 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/index.d.ts @@ -0,0 +1,2 @@ +export * from "./debugId"; +export * from "./toDebugString"; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/toDebugString.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/toDebugString.d.ts new file mode 100644 index 0000000..6bf1d3a --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/toDebugString.d.ts @@ -0,0 +1,9 @@ +import { EndpointParameters, EndpointV2 } from "@smithy/types"; +import { GetAttrValue } from "../lib"; +import { EndpointObject, FunctionObject, FunctionReturn } from "../types"; +export declare function toDebugString(input: EndpointParameters): string; +export declare function toDebugString(input: EndpointV2): string; +export declare function toDebugString(input: GetAttrValue): string; +export declare function toDebugString(input: FunctionObject): string; +export declare function toDebugString(input: FunctionReturn): string; +export declare function toDebugString(input: EndpointObject): string; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/getEndpointUrlConfig.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/getEndpointUrlConfig.d.ts new file mode 100644 index 0000000..0971010 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/getEndpointUrlConfig.d.ts @@ -0,0 +1,2 @@ +import { LoadedConfigSelectors } from "@smithy/node-config-provider"; +export declare const getEndpointUrlConfig: (serviceId: string) => LoadedConfigSelectors; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..c39ed2b --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/index.d.ts @@ -0,0 +1,6 @@ +export * from "./cache/EndpointCache"; +export * from "./lib/isIpAddress"; +export * from "./lib/isValidHostLabel"; +export * from "./utils/customEndpointFunctions"; +export * from "./resolveEndpoint"; +export * from "./types"; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/booleanEquals.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/booleanEquals.d.ts new file mode 100644 index 0000000..7eac561 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/booleanEquals.d.ts @@ -0,0 +1,5 @@ +/** + * Evaluates two boolean values value1 and value2 for equality and returns + * true if both values match. + */ +export declare const booleanEquals: (value1: boolean, value2: boolean) => boolean; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttr.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttr.d.ts new file mode 100644 index 0000000..a8088c5 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttr.d.ts @@ -0,0 +1,7 @@ +export type GetAttrValue = string | boolean | { + [key: string]: GetAttrValue; +} | Array; +/** + * Returns value corresponding to pathing string for an array or object. + */ +export declare const getAttr: (value: GetAttrValue, path: string) => GetAttrValue; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttrPathList.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttrPathList.d.ts new file mode 100644 index 0000000..e6c4979 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttrPathList.d.ts @@ -0,0 +1,4 @@ +/** + * Parses path as a getAttr expression, returning a list of strings. + */ +export declare const getAttrPathList: (path: string) => Array; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/index.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/index.d.ts new file mode 100644 index 0000000..99a0844 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/index.d.ts @@ -0,0 +1,9 @@ +export * from "./booleanEquals"; +export * from "./getAttr"; +export * from "./isSet"; +export * from "./isValidHostLabel"; +export * from "./not"; +export * from "./parseURL"; +export * from "./stringEquals"; +export * from "./substring"; +export * from "./uriEncode"; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts new file mode 100644 index 0000000..28aba97 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts @@ -0,0 +1,4 @@ +/** + * Validates if the provided value is an IP address. + */ +export declare const isIpAddress: (value: string) => boolean; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isSet.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isSet.d.ts new file mode 100644 index 0000000..7cb8c27 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isSet.d.ts @@ -0,0 +1,5 @@ +/** + * Evaluates whether a value is set (aka not null or undefined). + * Returns true if the value is set, otherwise returns false. + */ +export declare const isSet: (value: unknown) => value is {}; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isValidHostLabel.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isValidHostLabel.d.ts new file mode 100644 index 0000000..c05f9e9 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isValidHostLabel.d.ts @@ -0,0 +1,7 @@ +/** + * Evaluates whether one or more string values are valid host labels per RFC 1123. + * + * If allowSubDomains is true, then the provided value may be zero or more dotted + * subdomains which are each validated per RFC 1123. + */ +export declare const isValidHostLabel: (value: string, allowSubDomains?: boolean) => boolean; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/not.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/not.d.ts new file mode 100644 index 0000000..1e8e728 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/not.d.ts @@ -0,0 +1,5 @@ +/** + * Performs logical negation on the provided boolean value, + * returning the negated value. + */ +export declare const not: (value: boolean) => boolean; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/parseURL.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/parseURL.d.ts new file mode 100644 index 0000000..3e0dce3 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/parseURL.d.ts @@ -0,0 +1,5 @@ +import { Endpoint, EndpointURL } from "@smithy/types"; +/** + * Parses a string, URL, or Endpoint into it’s Endpoint URL components. + */ +export declare const parseURL: (value: string | URL | Endpoint) => EndpointURL | null; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/stringEquals.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/stringEquals.d.ts new file mode 100644 index 0000000..bdfc98d --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/stringEquals.d.ts @@ -0,0 +1,5 @@ +/** + * Evaluates two string values value1 and value2 for equality and returns + * true if both values match. + */ +export declare const stringEquals: (value1: string, value2: string) => boolean; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/substring.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/substring.d.ts new file mode 100644 index 0000000..5d70035 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/substring.d.ts @@ -0,0 +1,7 @@ +/** + * Computes the substring of a given string, conditionally indexing from the end of the string. + * When the string is long enough to fully include the substring, return the substring. + * Otherwise, return None. The start index is inclusive and the stop index is exclusive. + * The length of the returned string will always be stop-start. + */ +export declare const substring: (input: string, start: number, stop: number, reverse: boolean) => string | null; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/uriEncode.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/uriEncode.d.ts new file mode 100644 index 0000000..c2a720c --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/uriEncode.d.ts @@ -0,0 +1,4 @@ +/** + * Performs percent-encoding per RFC3986 section 2.1 + */ +export declare const uriEncode: (value: string) => string; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts new file mode 100644 index 0000000..b02188b --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts @@ -0,0 +1,6 @@ +import { EndpointV2 } from "@smithy/types"; +import { EndpointResolverOptions, RuleSetObject } from "./types"; +/** + * Resolves an endpoint URL by processing the endpoints ruleset and options. + */ +export declare const resolveEndpoint: (ruleSetObject: RuleSetObject, options: EndpointResolverOptions) => EndpointV2; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts new file mode 100644 index 0000000..89132f2 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts @@ -0,0 +1,3 @@ +export declare class EndpointError extends Error { + constructor(message: string); +} diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointFunctions.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointFunctions.d.ts new file mode 100644 index 0000000..33b1a0b --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointFunctions.d.ts @@ -0,0 +1,2 @@ +import { FunctionReturn } from "./shared"; +export type EndpointFunctions = Record FunctionReturn>; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts new file mode 100644 index 0000000..d24545f --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts @@ -0,0 +1,5 @@ +import { EndpointObject as __EndpointObject, EndpointObjectHeaders as __EndpointObjectHeaders, EndpointObjectProperties as __EndpointObjectProperties, EndpointRuleObject as __EndpointRuleObject } from "@smithy/types"; +export type EndpointObjectProperties = __EndpointObjectProperties; +export type EndpointObjectHeaders = __EndpointObjectHeaders; +export type EndpointObject = __EndpointObject; +export type EndpointRuleObject = __EndpointRuleObject; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts new file mode 100644 index 0000000..51fe138 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts @@ -0,0 +1,2 @@ +import { ErrorRuleObject as __ErrorRuleObject } from "@smithy/types"; +export type ErrorRuleObject = __ErrorRuleObject; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts new file mode 100644 index 0000000..3335b80 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts @@ -0,0 +1,4 @@ +import { DeprecatedObject as __DeprecatedObject, ParameterObject as __ParameterObject, RuleSetObject as __RuleSetObject } from "@smithy/types"; +export type DeprecatedObject = __DeprecatedObject; +export type ParameterObject = __ParameterObject; +export type RuleSetObject = __RuleSetObject; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts new file mode 100644 index 0000000..3d902d0 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts @@ -0,0 +1,3 @@ +import { RuleSetRules as __RuleSetRules, TreeRuleObject as __TreeRuleObject } from "@smithy/types"; +export type RuleSetRules = __RuleSetRules; +export type TreeRuleObject = __TreeRuleObject; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/index.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/index.d.ts new file mode 100644 index 0000000..a49f984 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/index.d.ts @@ -0,0 +1,7 @@ +export * from "./EndpointError"; +export * from "./EndpointFunctions"; +export * from "./EndpointRuleObject"; +export * from "./ErrorRuleObject"; +export * from "./RuleSetObject"; +export * from "./TreeRuleObject"; +export * from "./shared"; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/shared.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/shared.d.ts new file mode 100644 index 0000000..8351a92 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/shared.d.ts @@ -0,0 +1,25 @@ +import { EndpointARN, EndpointPartition, Logger } from "@smithy/types"; +export type ReferenceObject = { + ref: string; +}; +export type FunctionObject = { + fn: string; + argv: FunctionArgv; +}; +export type FunctionArgv = Array; +export type FunctionReturn = string | boolean | number | EndpointARN | EndpointPartition | { + [key: string]: FunctionReturn; +} | null; +export type ConditionObject = FunctionObject & { + assign?: string; +}; +export type Expression = string | ReferenceObject | FunctionObject; +export type EndpointParams = Record; +export type EndpointResolverOptions = { + endpointParams: EndpointParams; + logger?: Logger; +}; +export type ReferenceRecord = Record; +export type EvaluateOptions = EndpointResolverOptions & { + referenceRecord: ReferenceRecord; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts new file mode 100644 index 0000000..cd041e3 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts @@ -0,0 +1 @@ +export { callFunction } from "./evaluateExpression"; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/customEndpointFunctions.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/customEndpointFunctions.d.ts new file mode 100644 index 0000000..d8971d0 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/customEndpointFunctions.d.ts @@ -0,0 +1,4 @@ +import { EndpointFunctions } from "../types/EndpointFunctions"; +export declare const customEndpointFunctions: { + [key: string]: EndpointFunctions; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/endpointFunctions.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/endpointFunctions.d.ts new file mode 100644 index 0000000..e1598fb --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/endpointFunctions.d.ts @@ -0,0 +1,11 @@ +export declare const endpointFunctions: { + booleanEquals: (value1: boolean, value2: boolean) => boolean; + getAttr: (value: import("../lib").GetAttrValue, path: string) => import("../lib").GetAttrValue; + isSet: (value: unknown) => value is {}; + isValidHostLabel: (value: string, allowSubDomains?: boolean) => boolean; + not: (value: boolean) => boolean; + parseURL: (value: string | URL | import("@smithy/types").Endpoint) => import("@smithy/types").EndpointURL | null; + stringEquals: (value1: string, value2: string) => boolean; + substring: (input: string, start: number, stop: number, reverse: boolean) => string | null; + uriEncode: (value: string) => string; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateCondition.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateCondition.d.ts new file mode 100644 index 0000000..5fbe59f --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateCondition.d.ts @@ -0,0 +1,8 @@ +import { ConditionObject, EvaluateOptions } from "../types"; +export declare const evaluateCondition: ({ assign, ...fnArgs }: ConditionObject, options: EvaluateOptions) => { + toAssign?: { + name: string; + value: import("../types").FunctionReturn; + } | undefined; + result: boolean; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateConditions.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateConditions.d.ts new file mode 100644 index 0000000..4131beb --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateConditions.d.ts @@ -0,0 +1,8 @@ +import { ConditionObject, EvaluateOptions, FunctionReturn } from "../types"; +export declare const evaluateConditions: (conditions: ConditionObject[] | undefined, options: EvaluateOptions) => { + result: false; + referenceRecord?: undefined; +} | { + result: boolean; + referenceRecord: Record; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateEndpointRule.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateEndpointRule.d.ts new file mode 100644 index 0000000..da9496e --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateEndpointRule.d.ts @@ -0,0 +1,3 @@ +import { EndpointV2 } from "@smithy/types"; +import { EndpointRuleObject, EvaluateOptions } from "../types"; +export declare const evaluateEndpointRule: (endpointRule: EndpointRuleObject, options: EvaluateOptions) => EndpointV2 | undefined; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateErrorRule.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateErrorRule.d.ts new file mode 100644 index 0000000..df4973d --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateErrorRule.d.ts @@ -0,0 +1,2 @@ +import { ErrorRuleObject, EvaluateOptions } from "../types"; +export declare const evaluateErrorRule: (errorRule: ErrorRuleObject, options: EvaluateOptions) => void; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts new file mode 100644 index 0000000..3f8c77d --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts @@ -0,0 +1,7 @@ +import { EvaluateOptions, Expression, FunctionObject, FunctionReturn } from "../types"; +export declare const evaluateExpression: (obj: Expression, keyName: string, options: EvaluateOptions) => FunctionReturn; +export declare const callFunction: ({ fn, argv }: FunctionObject, options: EvaluateOptions) => FunctionReturn; +export declare const group: { + evaluateExpression: (obj: Expression, keyName: string, options: EvaluateOptions) => FunctionReturn; + callFunction: ({ fn, argv }: FunctionObject, options: EvaluateOptions) => FunctionReturn; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts new file mode 100644 index 0000000..a7bea2e --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts @@ -0,0 +1,8 @@ +import { EndpointV2 } from "@smithy/types"; +import { EvaluateOptions, RuleSetRules, TreeRuleObject } from "../types"; +export declare const evaluateRules: (rules: RuleSetRules, options: EvaluateOptions) => EndpointV2; +export declare const evaluateTreeRule: (treeRule: TreeRuleObject, options: EvaluateOptions) => EndpointV2 | undefined; +export declare const group: { + evaluateRules: (rules: RuleSetRules, options: EvaluateOptions) => EndpointV2; + evaluateTreeRule: (treeRule: TreeRuleObject, options: EvaluateOptions) => EndpointV2 | undefined; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTemplate.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTemplate.d.ts new file mode 100644 index 0000000..9b0b9ad --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTemplate.d.ts @@ -0,0 +1,2 @@ +import { EvaluateOptions } from "../types"; +export declare const evaluateTemplate: (template: string, options: EvaluateOptions) => string; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts new file mode 100644 index 0000000..128a59c --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts @@ -0,0 +1 @@ +export { evaluateTreeRule } from "./evaluateRules"; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointHeaders.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointHeaders.d.ts new file mode 100644 index 0000000..a802565 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointHeaders.d.ts @@ -0,0 +1,2 @@ +import { EndpointObjectHeaders, EvaluateOptions } from "../types"; +export declare const getEndpointHeaders: (headers: EndpointObjectHeaders, options: EvaluateOptions) => {}; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts new file mode 100644 index 0000000..cf819e2 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts @@ -0,0 +1,8 @@ +import { EndpointObjectProperty } from "@smithy/types"; +import { EndpointObjectProperties, EvaluateOptions } from "../types"; +export declare const getEndpointProperties: (properties: EndpointObjectProperties, options: EvaluateOptions) => {}; +export declare const getEndpointProperty: (property: EndpointObjectProperty, options: EvaluateOptions) => EndpointObjectProperty; +export declare const group: { + getEndpointProperty: (property: EndpointObjectProperty, options: EvaluateOptions) => EndpointObjectProperty; + getEndpointProperties: (properties: EndpointObjectProperties, options: EvaluateOptions) => {}; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts new file mode 100644 index 0000000..3bf38a5 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts @@ -0,0 +1 @@ +export { getEndpointProperty } from "./getEndpointProperties"; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointUrl.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointUrl.d.ts new file mode 100644 index 0000000..4ab2289 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointUrl.d.ts @@ -0,0 +1,2 @@ +import { EvaluateOptions, Expression } from "../types"; +export declare const getEndpointUrl: (endpointUrl: Expression, options: EvaluateOptions) => URL; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getReferenceValue.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getReferenceValue.d.ts new file mode 100644 index 0000000..3699ec1 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getReferenceValue.d.ts @@ -0,0 +1,2 @@ +import { EvaluateOptions, ReferenceObject } from "../types"; +export declare const getReferenceValue: ({ ref }: ReferenceObject, options: EvaluateOptions) => import("../types").FunctionReturn; diff --git a/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/index.d.ts b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/index.d.ts new file mode 100644 index 0000000..b571d02 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/index.d.ts @@ -0,0 +1,2 @@ +export * from "./customEndpointFunctions"; +export * from "./evaluateRules"; diff --git a/node_modules/@smithy/util-endpoints/dist-types/types/EndpointError.d.ts b/node_modules/@smithy/util-endpoints/dist-types/types/EndpointError.d.ts new file mode 100644 index 0000000..89132f2 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/types/EndpointError.d.ts @@ -0,0 +1,3 @@ +export declare class EndpointError extends Error { + constructor(message: string); +} diff --git a/node_modules/@smithy/util-endpoints/dist-types/types/EndpointFunctions.d.ts b/node_modules/@smithy/util-endpoints/dist-types/types/EndpointFunctions.d.ts new file mode 100644 index 0000000..df54d76 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/types/EndpointFunctions.d.ts @@ -0,0 +1,2 @@ +import type { FunctionReturn } from "./shared"; +export type EndpointFunctions = Record FunctionReturn>; diff --git a/node_modules/@smithy/util-endpoints/dist-types/types/EndpointRuleObject.d.ts b/node_modules/@smithy/util-endpoints/dist-types/types/EndpointRuleObject.d.ts new file mode 100644 index 0000000..990206a --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/types/EndpointRuleObject.d.ts @@ -0,0 +1,5 @@ +import type { EndpointObject as __EndpointObject, EndpointObjectHeaders as __EndpointObjectHeaders, EndpointObjectProperties as __EndpointObjectProperties, EndpointRuleObject as __EndpointRuleObject } from "@smithy/types"; +export type EndpointObjectProperties = __EndpointObjectProperties; +export type EndpointObjectHeaders = __EndpointObjectHeaders; +export type EndpointObject = __EndpointObject; +export type EndpointRuleObject = __EndpointRuleObject; diff --git a/node_modules/@smithy/util-endpoints/dist-types/types/ErrorRuleObject.d.ts b/node_modules/@smithy/util-endpoints/dist-types/types/ErrorRuleObject.d.ts new file mode 100644 index 0000000..2b2d06f --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/types/ErrorRuleObject.d.ts @@ -0,0 +1,2 @@ +import type { ErrorRuleObject as __ErrorRuleObject } from "@smithy/types"; +export type ErrorRuleObject = __ErrorRuleObject; diff --git a/node_modules/@smithy/util-endpoints/dist-types/types/RuleSetObject.d.ts b/node_modules/@smithy/util-endpoints/dist-types/types/RuleSetObject.d.ts new file mode 100644 index 0000000..25fe3ae --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/types/RuleSetObject.d.ts @@ -0,0 +1,4 @@ +import type { DeprecatedObject as __DeprecatedObject, ParameterObject as __ParameterObject, RuleSetObject as __RuleSetObject } from "@smithy/types"; +export type DeprecatedObject = __DeprecatedObject; +export type ParameterObject = __ParameterObject; +export type RuleSetObject = __RuleSetObject; diff --git a/node_modules/@smithy/util-endpoints/dist-types/types/TreeRuleObject.d.ts b/node_modules/@smithy/util-endpoints/dist-types/types/TreeRuleObject.d.ts new file mode 100644 index 0000000..733f153 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/types/TreeRuleObject.d.ts @@ -0,0 +1,3 @@ +import type { RuleSetRules as __RuleSetRules, TreeRuleObject as __TreeRuleObject } from "@smithy/types"; +export type RuleSetRules = __RuleSetRules; +export type TreeRuleObject = __TreeRuleObject; diff --git a/node_modules/@smithy/util-endpoints/dist-types/types/index.d.ts b/node_modules/@smithy/util-endpoints/dist-types/types/index.d.ts new file mode 100644 index 0000000..a49f984 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/types/index.d.ts @@ -0,0 +1,7 @@ +export * from "./EndpointError"; +export * from "./EndpointFunctions"; +export * from "./EndpointRuleObject"; +export * from "./ErrorRuleObject"; +export * from "./RuleSetObject"; +export * from "./TreeRuleObject"; +export * from "./shared"; diff --git a/node_modules/@smithy/util-endpoints/dist-types/types/shared.d.ts b/node_modules/@smithy/util-endpoints/dist-types/types/shared.d.ts new file mode 100644 index 0000000..3f8671d --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/types/shared.d.ts @@ -0,0 +1,25 @@ +import type { EndpointARN, EndpointPartition, Logger } from "@smithy/types"; +export type ReferenceObject = { + ref: string; +}; +export type FunctionObject = { + fn: string; + argv: FunctionArgv; +}; +export type FunctionArgv = Array; +export type FunctionReturn = string | boolean | number | EndpointARN | EndpointPartition | { + [key: string]: FunctionReturn; +} | null; +export type ConditionObject = FunctionObject & { + assign?: string; +}; +export type Expression = string | ReferenceObject | FunctionObject; +export type EndpointParams = Record; +export type EndpointResolverOptions = { + endpointParams: EndpointParams; + logger?: Logger; +}; +export type ReferenceRecord = Record; +export type EvaluateOptions = EndpointResolverOptions & { + referenceRecord: ReferenceRecord; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-types/utils/callFunction.d.ts b/node_modules/@smithy/util-endpoints/dist-types/utils/callFunction.d.ts new file mode 100644 index 0000000..cd041e3 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/utils/callFunction.d.ts @@ -0,0 +1 @@ +export { callFunction } from "./evaluateExpression"; diff --git a/node_modules/@smithy/util-endpoints/dist-types/utils/customEndpointFunctions.d.ts b/node_modules/@smithy/util-endpoints/dist-types/utils/customEndpointFunctions.d.ts new file mode 100644 index 0000000..dc8999c --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/utils/customEndpointFunctions.d.ts @@ -0,0 +1,4 @@ +import type { EndpointFunctions } from "../types/EndpointFunctions"; +export declare const customEndpointFunctions: { + [key: string]: EndpointFunctions; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-types/utils/endpointFunctions.d.ts b/node_modules/@smithy/util-endpoints/dist-types/utils/endpointFunctions.d.ts new file mode 100644 index 0000000..e1598fb --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/utils/endpointFunctions.d.ts @@ -0,0 +1,11 @@ +export declare const endpointFunctions: { + booleanEquals: (value1: boolean, value2: boolean) => boolean; + getAttr: (value: import("../lib").GetAttrValue, path: string) => import("../lib").GetAttrValue; + isSet: (value: unknown) => value is {}; + isValidHostLabel: (value: string, allowSubDomains?: boolean) => boolean; + not: (value: boolean) => boolean; + parseURL: (value: string | URL | import("@smithy/types").Endpoint) => import("@smithy/types").EndpointURL | null; + stringEquals: (value1: string, value2: string) => boolean; + substring: (input: string, start: number, stop: number, reverse: boolean) => string | null; + uriEncode: (value: string) => string; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateCondition.d.ts b/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateCondition.d.ts new file mode 100644 index 0000000..c8c1c9f --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateCondition.d.ts @@ -0,0 +1,8 @@ +import type { ConditionObject, EvaluateOptions } from "../types"; +export declare const evaluateCondition: ({ assign, ...fnArgs }: ConditionObject, options: EvaluateOptions) => { + toAssign?: { + name: string; + value: import("../types").FunctionReturn; + } | undefined; + result: boolean; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateConditions.d.ts b/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateConditions.d.ts new file mode 100644 index 0000000..18f6b06 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateConditions.d.ts @@ -0,0 +1,8 @@ +import type { ConditionObject, EvaluateOptions, FunctionReturn } from "../types"; +export declare const evaluateConditions: (conditions: ConditionObject[] | undefined, options: EvaluateOptions) => { + result: false; + referenceRecord?: undefined; +} | { + result: boolean; + referenceRecord: Record; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateEndpointRule.d.ts b/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateEndpointRule.d.ts new file mode 100644 index 0000000..64b60c4 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateEndpointRule.d.ts @@ -0,0 +1,3 @@ +import type { EndpointV2 } from "@smithy/types"; +import type { EndpointRuleObject, EvaluateOptions } from "../types"; +export declare const evaluateEndpointRule: (endpointRule: EndpointRuleObject, options: EvaluateOptions) => EndpointV2 | undefined; diff --git a/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateErrorRule.d.ts b/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateErrorRule.d.ts new file mode 100644 index 0000000..546ef5c --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateErrorRule.d.ts @@ -0,0 +1,2 @@ +import type { ErrorRuleObject, EvaluateOptions } from "../types"; +export declare const evaluateErrorRule: (errorRule: ErrorRuleObject, options: EvaluateOptions) => void; diff --git a/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateExpression.d.ts b/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateExpression.d.ts new file mode 100644 index 0000000..2f56cad --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateExpression.d.ts @@ -0,0 +1,7 @@ +import type { EvaluateOptions, Expression, FunctionObject, FunctionReturn } from "../types"; +export declare const evaluateExpression: (obj: Expression, keyName: string, options: EvaluateOptions) => FunctionReturn; +export declare const callFunction: ({ fn, argv }: FunctionObject, options: EvaluateOptions) => FunctionReturn; +export declare const group: { + evaluateExpression: (obj: Expression, keyName: string, options: EvaluateOptions) => FunctionReturn; + callFunction: ({ fn, argv }: FunctionObject, options: EvaluateOptions) => FunctionReturn; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts b/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts new file mode 100644 index 0000000..3b45235 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts @@ -0,0 +1,8 @@ +import type { EndpointV2 } from "@smithy/types"; +import type { EvaluateOptions, RuleSetRules, TreeRuleObject } from "../types"; +export declare const evaluateRules: (rules: RuleSetRules, options: EvaluateOptions) => EndpointV2; +export declare const evaluateTreeRule: (treeRule: TreeRuleObject, options: EvaluateOptions) => EndpointV2 | undefined; +export declare const group: { + evaluateRules: (rules: RuleSetRules, options: EvaluateOptions) => EndpointV2; + evaluateTreeRule: (treeRule: TreeRuleObject, options: EvaluateOptions) => EndpointV2 | undefined; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTemplate.d.ts b/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTemplate.d.ts new file mode 100644 index 0000000..4ea9316 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTemplate.d.ts @@ -0,0 +1,2 @@ +import type { EvaluateOptions } from "../types"; +export declare const evaluateTemplate: (template: string, options: EvaluateOptions) => string; diff --git a/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTreeRule.d.ts b/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTreeRule.d.ts new file mode 100644 index 0000000..128a59c --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTreeRule.d.ts @@ -0,0 +1 @@ +export { evaluateTreeRule } from "./evaluateRules"; diff --git a/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointHeaders.d.ts b/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointHeaders.d.ts new file mode 100644 index 0000000..cff2a47 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointHeaders.d.ts @@ -0,0 +1,2 @@ +import type { EndpointObjectHeaders, EvaluateOptions } from "../types"; +export declare const getEndpointHeaders: (headers: EndpointObjectHeaders, options: EvaluateOptions) => {}; diff --git a/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts b/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts new file mode 100644 index 0000000..d4cbccb --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts @@ -0,0 +1,8 @@ +import type { EndpointObjectProperty } from "@smithy/types"; +import type { EndpointObjectProperties, EvaluateOptions } from "../types"; +export declare const getEndpointProperties: (properties: EndpointObjectProperties, options: EvaluateOptions) => {}; +export declare const getEndpointProperty: (property: EndpointObjectProperty, options: EvaluateOptions) => EndpointObjectProperty; +export declare const group: { + getEndpointProperty: (property: EndpointObjectProperty, options: EvaluateOptions) => EndpointObjectProperty; + getEndpointProperties: (properties: EndpointObjectProperties, options: EvaluateOptions) => {}; +}; diff --git a/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperty.d.ts b/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperty.d.ts new file mode 100644 index 0000000..3bf38a5 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperty.d.ts @@ -0,0 +1 @@ +export { getEndpointProperty } from "./getEndpointProperties"; diff --git a/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointUrl.d.ts b/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointUrl.d.ts new file mode 100644 index 0000000..60aadda --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointUrl.d.ts @@ -0,0 +1,2 @@ +import type { EvaluateOptions, Expression } from "../types"; +export declare const getEndpointUrl: (endpointUrl: Expression, options: EvaluateOptions) => URL; diff --git a/node_modules/@smithy/util-endpoints/dist-types/utils/getReferenceValue.d.ts b/node_modules/@smithy/util-endpoints/dist-types/utils/getReferenceValue.d.ts new file mode 100644 index 0000000..40bc344 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/utils/getReferenceValue.d.ts @@ -0,0 +1,2 @@ +import type { EvaluateOptions, ReferenceObject } from "../types"; +export declare const getReferenceValue: ({ ref }: ReferenceObject, options: EvaluateOptions) => import("../types").FunctionReturn; diff --git a/node_modules/@smithy/util-endpoints/dist-types/utils/index.d.ts b/node_modules/@smithy/util-endpoints/dist-types/utils/index.d.ts new file mode 100644 index 0000000..b571d02 --- /dev/null +++ b/node_modules/@smithy/util-endpoints/dist-types/utils/index.d.ts @@ -0,0 +1,2 @@ +export * from "./customEndpointFunctions"; +export * from "./evaluateRules"; diff --git a/node_modules/@smithy/util-endpoints/package.json b/node_modules/@smithy/util-endpoints/package.json new file mode 100644 index 0000000..089522f --- /dev/null +++ b/node_modules/@smithy/util-endpoints/package.json @@ -0,0 +1,69 @@ +{ + "name": "@smithy/util-endpoints", + "version": "3.3.3", + "description": "Utilities to help with endpoint resolution.", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-endpoints", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:watch": "yarn g:vitest watch", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "keywords": [ + "endpoint" + ], + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/node-config-provider": "^4.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/master/packages/util-endpoints", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/util-endpoints" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/util-hex-encoding/LICENSE b/node_modules/@smithy/util-hex-encoding/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/util-hex-encoding/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/util-hex-encoding/README.md b/node_modules/@smithy/util-hex-encoding/README.md new file mode 100644 index 0000000..67e4499 --- /dev/null +++ b/node_modules/@smithy/util-hex-encoding/README.md @@ -0,0 +1,4 @@ +# @smithy/util-hex-encoding + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-hex-encoding/latest.svg)](https://www.npmjs.com/package/@smithy/util-hex-encoding) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-hex-encoding.svg)](https://www.npmjs.com/package/@smithy/util-hex-encoding) diff --git a/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js b/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js new file mode 100644 index 0000000..6d1eb2d --- /dev/null +++ b/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js @@ -0,0 +1,38 @@ +'use strict'; + +const SHORT_TO_HEX = {}; +const HEX_TO_SHORT = {}; +for (let i = 0; i < 256; i++) { + let encodedByte = i.toString(16).toLowerCase(); + if (encodedByte.length === 1) { + encodedByte = `0${encodedByte}`; + } + SHORT_TO_HEX[i] = encodedByte; + HEX_TO_SHORT[encodedByte] = i; +} +function fromHex(encoded) { + if (encoded.length % 2 !== 0) { + throw new Error("Hex encoded strings must have an even number length"); + } + const out = new Uint8Array(encoded.length / 2); + for (let i = 0; i < encoded.length; i += 2) { + const encodedByte = encoded.slice(i, i + 2).toLowerCase(); + if (encodedByte in HEX_TO_SHORT) { + out[i / 2] = HEX_TO_SHORT[encodedByte]; + } + else { + throw new Error(`Cannot decode unrecognized sequence ${encodedByte} as hexadecimal`); + } + } + return out; +} +function toHex(bytes) { + let out = ""; + for (let i = 0; i < bytes.byteLength; i++) { + out += SHORT_TO_HEX[bytes[i]]; + } + return out; +} + +exports.fromHex = fromHex; +exports.toHex = toHex; diff --git a/node_modules/@smithy/util-hex-encoding/dist-es/index.js b/node_modules/@smithy/util-hex-encoding/dist-es/index.js new file mode 100644 index 0000000..e47b3aa --- /dev/null +++ b/node_modules/@smithy/util-hex-encoding/dist-es/index.js @@ -0,0 +1,33 @@ +const SHORT_TO_HEX = {}; +const HEX_TO_SHORT = {}; +for (let i = 0; i < 256; i++) { + let encodedByte = i.toString(16).toLowerCase(); + if (encodedByte.length === 1) { + encodedByte = `0${encodedByte}`; + } + SHORT_TO_HEX[i] = encodedByte; + HEX_TO_SHORT[encodedByte] = i; +} +export function fromHex(encoded) { + if (encoded.length % 2 !== 0) { + throw new Error("Hex encoded strings must have an even number length"); + } + const out = new Uint8Array(encoded.length / 2); + for (let i = 0; i < encoded.length; i += 2) { + const encodedByte = encoded.slice(i, i + 2).toLowerCase(); + if (encodedByte in HEX_TO_SHORT) { + out[i / 2] = HEX_TO_SHORT[encodedByte]; + } + else { + throw new Error(`Cannot decode unrecognized sequence ${encodedByte} as hexadecimal`); + } + } + return out; +} +export function toHex(bytes) { + let out = ""; + for (let i = 0; i < bytes.byteLength; i++) { + out += SHORT_TO_HEX[bytes[i]]; + } + return out; +} diff --git a/node_modules/@smithy/util-hex-encoding/dist-types/index.d.ts b/node_modules/@smithy/util-hex-encoding/dist-types/index.d.ts new file mode 100644 index 0000000..9d4307a --- /dev/null +++ b/node_modules/@smithy/util-hex-encoding/dist-types/index.d.ts @@ -0,0 +1,12 @@ +/** + * Converts a hexadecimal encoded string to a Uint8Array of bytes. + * + * @param encoded The hexadecimal encoded string + */ +export declare function fromHex(encoded: string): Uint8Array; +/** + * Converts a Uint8Array of binary data to a hexadecimal encoded string. + * + * @param bytes The binary data to encode + */ +export declare function toHex(bytes: Uint8Array): string; diff --git a/node_modules/@smithy/util-hex-encoding/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/util-hex-encoding/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..9d4307a --- /dev/null +++ b/node_modules/@smithy/util-hex-encoding/dist-types/ts3.4/index.d.ts @@ -0,0 +1,12 @@ +/** + * Converts a hexadecimal encoded string to a Uint8Array of bytes. + * + * @param encoded The hexadecimal encoded string + */ +export declare function fromHex(encoded: string): Uint8Array; +/** + * Converts a Uint8Array of binary data to a hexadecimal encoded string. + * + * @param bytes The binary data to encode + */ +export declare function toHex(bytes: Uint8Array): string; diff --git a/node_modules/@smithy/util-hex-encoding/package.json b/node_modules/@smithy/util-hex-encoding/package.json new file mode 100644 index 0000000..cf4d44e --- /dev/null +++ b/node_modules/@smithy/util-hex-encoding/package.json @@ -0,0 +1,61 @@ +{ + "name": "@smithy/util-hex-encoding", + "version": "4.2.2", + "description": "Converts binary buffers to and from lowercase hexadecimal encoding", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-hex-encoding", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "dependencies": { + "tslib": "^2.6.2" + }, + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/util-hex-encoding", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/util-hex-encoding" + }, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/util-middleware/LICENSE b/node_modules/@smithy/util-middleware/LICENSE new file mode 100644 index 0000000..a1895fa --- /dev/null +++ b/node_modules/@smithy/util-middleware/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/util-middleware/README.md b/node_modules/@smithy/util-middleware/README.md new file mode 100644 index 0000000..f043cfa --- /dev/null +++ b/node_modules/@smithy/util-middleware/README.md @@ -0,0 +1,12 @@ +# @smithy/util-middleware + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-middleware/latest.svg)](https://www.npmjs.com/package/@smithy/util-middleware) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-middleware.svg)](https://www.npmjs.com/package/@smithy/util-middleware) + +> An internal package + +This package provides shared utilities for middleware. + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/util-middleware/dist-cjs/index.js b/node_modules/@smithy/util-middleware/dist-cjs/index.js new file mode 100644 index 0000000..2b9af75 --- /dev/null +++ b/node_modules/@smithy/util-middleware/dist-cjs/index.js @@ -0,0 +1,15 @@ +'use strict'; + +var types = require('@smithy/types'); + +const getSmithyContext = (context) => context[types.SMITHY_CONTEXT_KEY] || (context[types.SMITHY_CONTEXT_KEY] = {}); + +const normalizeProvider = (input) => { + if (typeof input === "function") + return input; + const promisified = Promise.resolve(input); + return () => promisified; +}; + +exports.getSmithyContext = getSmithyContext; +exports.normalizeProvider = normalizeProvider; diff --git a/node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js b/node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js new file mode 100644 index 0000000..3848a0c --- /dev/null +++ b/node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js @@ -0,0 +1,2 @@ +import { SMITHY_CONTEXT_KEY } from "@smithy/types"; +export const getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {}); diff --git a/node_modules/@smithy/util-middleware/dist-es/index.js b/node_modules/@smithy/util-middleware/dist-es/index.js new file mode 100644 index 0000000..484290d --- /dev/null +++ b/node_modules/@smithy/util-middleware/dist-es/index.js @@ -0,0 +1,2 @@ +export * from "./getSmithyContext"; +export * from "./normalizeProvider"; diff --git a/node_modules/@smithy/util-middleware/dist-es/normalizeProvider.js b/node_modules/@smithy/util-middleware/dist-es/normalizeProvider.js new file mode 100644 index 0000000..a83ea99 --- /dev/null +++ b/node_modules/@smithy/util-middleware/dist-es/normalizeProvider.js @@ -0,0 +1,6 @@ +export const normalizeProvider = (input) => { + if (typeof input === "function") + return input; + const promisified = Promise.resolve(input); + return () => promisified; +}; diff --git a/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts b/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts new file mode 100644 index 0000000..92cbb09 --- /dev/null +++ b/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts @@ -0,0 +1,5 @@ +import type { HandlerExecutionContext } from "@smithy/types"; +/** + * @internal + */ +export declare const getSmithyContext: (context: HandlerExecutionContext) => Record; diff --git a/node_modules/@smithy/util-middleware/dist-types/index.d.ts b/node_modules/@smithy/util-middleware/dist-types/index.d.ts new file mode 100644 index 0000000..3869284 --- /dev/null +++ b/node_modules/@smithy/util-middleware/dist-types/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./getSmithyContext"; +/** + * @internal + */ +export * from "./normalizeProvider"; diff --git a/node_modules/@smithy/util-middleware/dist-types/normalizeProvider.d.ts b/node_modules/@smithy/util-middleware/dist-types/normalizeProvider.d.ts new file mode 100644 index 0000000..1f7b6f6 --- /dev/null +++ b/node_modules/@smithy/util-middleware/dist-types/normalizeProvider.d.ts @@ -0,0 +1,7 @@ +import type { Provider } from "@smithy/types"; +/** + * @internal + * + * @returns a provider function for the input value if it isn't already one. + */ +export declare const normalizeProvider: (input: T | Provider) => Provider; diff --git a/node_modules/@smithy/util-middleware/dist-types/ts3.4/getSmithyContext.d.ts b/node_modules/@smithy/util-middleware/dist-types/ts3.4/getSmithyContext.d.ts new file mode 100644 index 0000000..523ee47 --- /dev/null +++ b/node_modules/@smithy/util-middleware/dist-types/ts3.4/getSmithyContext.d.ts @@ -0,0 +1,5 @@ +import { HandlerExecutionContext } from "@smithy/types"; +/** + * @internal + */ +export declare const getSmithyContext: (context: HandlerExecutionContext) => Record; diff --git a/node_modules/@smithy/util-middleware/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/util-middleware/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..3869284 --- /dev/null +++ b/node_modules/@smithy/util-middleware/dist-types/ts3.4/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./getSmithyContext"; +/** + * @internal + */ +export * from "./normalizeProvider"; diff --git a/node_modules/@smithy/util-middleware/dist-types/ts3.4/normalizeProvider.d.ts b/node_modules/@smithy/util-middleware/dist-types/ts3.4/normalizeProvider.d.ts new file mode 100644 index 0000000..4fe2d9a --- /dev/null +++ b/node_modules/@smithy/util-middleware/dist-types/ts3.4/normalizeProvider.d.ts @@ -0,0 +1,7 @@ +import { Provider } from "@smithy/types"; +/** + * @internal + * + * @returns a provider function for the input value if it isn't already one. + */ +export declare const normalizeProvider: (input: T | Provider) => Provider; diff --git a/node_modules/@smithy/util-middleware/package.json b/node_modules/@smithy/util-middleware/package.json new file mode 100644 index 0000000..6f9888d --- /dev/null +++ b/node_modules/@smithy/util-middleware/package.json @@ -0,0 +1,67 @@ +{ + "name": "@smithy/util-middleware", + "version": "4.2.12", + "description": "Shared utilities for to be used in middleware packages.", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-middleware", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "keywords": [ + "aws", + "middleware" + ], + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/master/packages/util-middleware", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/util-middleware" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/util-retry/LICENSE b/node_modules/@smithy/util-retry/LICENSE new file mode 100644 index 0000000..a1895fa --- /dev/null +++ b/node_modules/@smithy/util-retry/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/util-retry/README.md b/node_modules/@smithy/util-retry/README.md new file mode 100644 index 0000000..bcf11a9 --- /dev/null +++ b/node_modules/@smithy/util-retry/README.md @@ -0,0 +1,78 @@ +# @smithy/util-retry + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-retry/latest.svg)](https://www.npmjs.com/package/@smithy/util-retry) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-retry.svg)](https://www.npmjs.com/package/@smithy/util-retry) + +This package provides shared utilities for retries. + +## Usage + +### Default + +By default, each client already has a default retry strategy. The default retry count is 3, and +only retryable errors will be retried. + +[AWS Documentation: Retry behavior](https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html). + +```js +import { S3Client } from "@aws-sdk/client-s3"; + +const client = new S3Client({}); // default retry strategy included. +``` + +### MaxAttempts + +If you want to change the number of attempts, you can provide `maxAttempts` configuration during client creation. + +```js +import { S3Client } from "@aws-sdk/client-s3"; + +const client = new S3Client({ maxAttempts: 4 }); +``` + +This is recommended because the `StandardRetryStrategy` includes backoff calculation, +deciding whether an error should be retried, and a retry token counter. + +### MaxAttempts and BackoffComputation + +If you want to change the number of attempts and use a custom delay +computation, you can use the `ConfiguredRetryStrategy` from `@smithy/util-retry`. + +```js +import { S3Client } from "@aws-sdk/client-s3"; +import { ConfiguredRetryStrategy } from "@smithy/util-retry"; + +const client = new S3Client({ + retryStrategy: new ConfiguredRetryStrategy( + 4, // max attempts. + (attempt: number) => 100 + attempt * 1000 // backoff function. + ), +}); +``` + +This example sets the backoff at 100ms plus 1s per attempt. + +### MaxAttempts and RetryStrategy + +If you provide both `maxAttempts` and `retryStrategy`, the `retryStrategy` will +get precedence as it's more specific. + +```js +import { S3Client } from "@aws-sdk/client-s3"; +import { ConfiguredRetryStrategy } from "@smithy/util-retry"; + +const client = new S3Client({ + maxAttempts: 2, // ignored. + retryStrategy: new ConfiguredRetryStrategy( + 4, // used. + (attempt: number) => 100 + attempt * 1000 // backoff function. + ), +}); +``` + +### Further customization + +You can implement the `RetryStrategyV2` interface. + +Source: https://github.com/smithy-lang/smithy-typescript/blob/main/packages/types/src/retry.ts +API Docs: https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-types/Interface/RetryStrategyV2/ diff --git a/node_modules/@smithy/util-retry/dist-cjs/index.js b/node_modules/@smithy/util-retry/dist-cjs/index.js new file mode 100644 index 0000000..6119d5a --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-cjs/index.js @@ -0,0 +1,280 @@ +'use strict'; + +var serviceErrorClassification = require('@smithy/service-error-classification'); + +exports.RETRY_MODES = void 0; +(function (RETRY_MODES) { + RETRY_MODES["STANDARD"] = "standard"; + RETRY_MODES["ADAPTIVE"] = "adaptive"; +})(exports.RETRY_MODES || (exports.RETRY_MODES = {})); +const DEFAULT_MAX_ATTEMPTS = 3; +const DEFAULT_RETRY_MODE = exports.RETRY_MODES.STANDARD; + +class DefaultRateLimiter { + static setTimeoutFn = setTimeout; + beta; + minCapacity; + minFillRate; + scaleConstant; + smooth; + enabled = false; + availableTokens = 0; + lastMaxRate = 0; + measuredTxRate = 0; + requestCount = 0; + fillRate; + lastThrottleTime; + lastTimestamp = 0; + lastTxRateBucket; + maxCapacity; + timeWindow = 0; + constructor(options) { + this.beta = options?.beta ?? 0.7; + this.minCapacity = options?.minCapacity ?? 1; + this.minFillRate = options?.minFillRate ?? 0.5; + this.scaleConstant = options?.scaleConstant ?? 0.4; + this.smooth = options?.smooth ?? 0.8; + const currentTimeInSeconds = this.getCurrentTimeInSeconds(); + this.lastThrottleTime = currentTimeInSeconds; + this.lastTxRateBucket = Math.floor(this.getCurrentTimeInSeconds()); + this.fillRate = this.minFillRate; + this.maxCapacity = this.minCapacity; + } + getCurrentTimeInSeconds() { + return Date.now() / 1000; + } + async getSendToken() { + return this.acquireTokenBucket(1); + } + async acquireTokenBucket(amount) { + if (!this.enabled) { + return; + } + this.refillTokenBucket(); + if (amount > this.availableTokens) { + const delay = ((amount - this.availableTokens) / this.fillRate) * 1000; + await new Promise((resolve) => DefaultRateLimiter.setTimeoutFn(resolve, delay)); + } + this.availableTokens = this.availableTokens - amount; + } + refillTokenBucket() { + const timestamp = this.getCurrentTimeInSeconds(); + if (!this.lastTimestamp) { + this.lastTimestamp = timestamp; + return; + } + const fillAmount = (timestamp - this.lastTimestamp) * this.fillRate; + this.availableTokens = Math.min(this.maxCapacity, this.availableTokens + fillAmount); + this.lastTimestamp = timestamp; + } + updateClientSendingRate(response) { + let calculatedRate; + this.updateMeasuredRate(); + const retryErrorInfo = response; + const isThrottling = retryErrorInfo?.errorType === "THROTTLING" || serviceErrorClassification.isThrottlingError(retryErrorInfo?.error ?? response); + if (isThrottling) { + const rateToUse = !this.enabled ? this.measuredTxRate : Math.min(this.measuredTxRate, this.fillRate); + this.lastMaxRate = rateToUse; + this.calculateTimeWindow(); + this.lastThrottleTime = this.getCurrentTimeInSeconds(); + calculatedRate = this.cubicThrottle(rateToUse); + this.enableTokenBucket(); + } + else { + this.calculateTimeWindow(); + calculatedRate = this.cubicSuccess(this.getCurrentTimeInSeconds()); + } + const newRate = Math.min(calculatedRate, 2 * this.measuredTxRate); + this.updateTokenBucketRate(newRate); + } + calculateTimeWindow() { + this.timeWindow = this.getPrecise(Math.pow((this.lastMaxRate * (1 - this.beta)) / this.scaleConstant, 1 / 3)); + } + cubicThrottle(rateToUse) { + return this.getPrecise(rateToUse * this.beta); + } + cubicSuccess(timestamp) { + return this.getPrecise(this.scaleConstant * Math.pow(timestamp - this.lastThrottleTime - this.timeWindow, 3) + this.lastMaxRate); + } + enableTokenBucket() { + this.enabled = true; + } + updateTokenBucketRate(newRate) { + this.refillTokenBucket(); + this.fillRate = Math.max(newRate, this.minFillRate); + this.maxCapacity = Math.max(newRate, this.minCapacity); + this.availableTokens = Math.min(this.availableTokens, this.maxCapacity); + } + updateMeasuredRate() { + const t = this.getCurrentTimeInSeconds(); + const timeBucket = Math.floor(t * 2) / 2; + this.requestCount++; + if (timeBucket > this.lastTxRateBucket) { + const currentRate = this.requestCount / (timeBucket - this.lastTxRateBucket); + this.measuredTxRate = this.getPrecise(currentRate * this.smooth + this.measuredTxRate * (1 - this.smooth)); + this.requestCount = 0; + this.lastTxRateBucket = timeBucket; + } + } + getPrecise(num) { + return parseFloat(num.toFixed(8)); + } +} + +const DEFAULT_RETRY_DELAY_BASE = 100; +const MAXIMUM_RETRY_DELAY = 20 * 1000; +const THROTTLING_RETRY_DELAY_BASE = 500; +const INITIAL_RETRY_TOKENS = 500; +const RETRY_COST = 5; +const TIMEOUT_RETRY_COST = 10; +const NO_RETRY_INCREMENT = 1; +const INVOCATION_ID_HEADER = "amz-sdk-invocation-id"; +const REQUEST_HEADER = "amz-sdk-request"; + +const getDefaultRetryBackoffStrategy = () => { + let delayBase = DEFAULT_RETRY_DELAY_BASE; + const computeNextBackoffDelay = (attempts) => { + return Math.floor(Math.min(MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase)); + }; + const setDelayBase = (delay) => { + delayBase = delay; + }; + return { + computeNextBackoffDelay, + setDelayBase, + }; +}; + +const createDefaultRetryToken = ({ retryDelay, retryCount, retryCost, }) => { + const getRetryCount = () => retryCount; + const getRetryDelay = () => Math.min(MAXIMUM_RETRY_DELAY, retryDelay); + const getRetryCost = () => retryCost; + return { + getRetryCount, + getRetryDelay, + getRetryCost, + }; +}; + +class StandardRetryStrategy { + maxAttempts; + mode = exports.RETRY_MODES.STANDARD; + capacity = INITIAL_RETRY_TOKENS; + retryBackoffStrategy = getDefaultRetryBackoffStrategy(); + maxAttemptsProvider; + constructor(maxAttempts) { + this.maxAttempts = maxAttempts; + this.maxAttemptsProvider = typeof maxAttempts === "function" ? maxAttempts : async () => maxAttempts; + } + async acquireInitialRetryToken(retryTokenScope) { + return createDefaultRetryToken({ + retryDelay: DEFAULT_RETRY_DELAY_BASE, + retryCount: 0, + }); + } + async refreshRetryTokenForRetry(token, errorInfo) { + const maxAttempts = await this.getMaxAttempts(); + if (this.shouldRetry(token, errorInfo, maxAttempts)) { + const errorType = errorInfo.errorType; + this.retryBackoffStrategy.setDelayBase(errorType === "THROTTLING" ? THROTTLING_RETRY_DELAY_BASE : DEFAULT_RETRY_DELAY_BASE); + const delayFromErrorType = this.retryBackoffStrategy.computeNextBackoffDelay(token.getRetryCount()); + const retryDelay = errorInfo.retryAfterHint + ? Math.max(errorInfo.retryAfterHint.getTime() - Date.now() || 0, delayFromErrorType) + : delayFromErrorType; + const capacityCost = this.getCapacityCost(errorType); + this.capacity -= capacityCost; + return createDefaultRetryToken({ + retryDelay, + retryCount: token.getRetryCount() + 1, + retryCost: capacityCost, + }); + } + throw new Error("No retry token available"); + } + recordSuccess(token) { + this.capacity = Math.max(INITIAL_RETRY_TOKENS, this.capacity + (token.getRetryCost() ?? NO_RETRY_INCREMENT)); + } + getCapacity() { + return this.capacity; + } + async getMaxAttempts() { + try { + return await this.maxAttemptsProvider(); + } + catch (error) { + console.warn(`Max attempts provider could not resolve. Using default of ${DEFAULT_MAX_ATTEMPTS}`); + return DEFAULT_MAX_ATTEMPTS; + } + } + shouldRetry(tokenToRenew, errorInfo, maxAttempts) { + const attempts = tokenToRenew.getRetryCount() + 1; + return (attempts < maxAttempts && + this.capacity >= this.getCapacityCost(errorInfo.errorType) && + this.isRetryableError(errorInfo.errorType)); + } + getCapacityCost(errorType) { + return errorType === "TRANSIENT" ? TIMEOUT_RETRY_COST : RETRY_COST; + } + isRetryableError(errorType) { + return errorType === "THROTTLING" || errorType === "TRANSIENT"; + } +} + +class AdaptiveRetryStrategy { + maxAttemptsProvider; + rateLimiter; + standardRetryStrategy; + mode = exports.RETRY_MODES.ADAPTIVE; + constructor(maxAttemptsProvider, options) { + this.maxAttemptsProvider = maxAttemptsProvider; + const { rateLimiter } = options ?? {}; + this.rateLimiter = rateLimiter ?? new DefaultRateLimiter(); + this.standardRetryStrategy = new StandardRetryStrategy(maxAttemptsProvider); + } + async acquireInitialRetryToken(retryTokenScope) { + await this.rateLimiter.getSendToken(); + return this.standardRetryStrategy.acquireInitialRetryToken(retryTokenScope); + } + async refreshRetryTokenForRetry(tokenToRenew, errorInfo) { + this.rateLimiter.updateClientSendingRate(errorInfo); + return this.standardRetryStrategy.refreshRetryTokenForRetry(tokenToRenew, errorInfo); + } + recordSuccess(token) { + this.rateLimiter.updateClientSendingRate({}); + this.standardRetryStrategy.recordSuccess(token); + } +} + +class ConfiguredRetryStrategy extends StandardRetryStrategy { + computeNextBackoffDelay; + constructor(maxAttempts, computeNextBackoffDelay = DEFAULT_RETRY_DELAY_BASE) { + super(typeof maxAttempts === "function" ? maxAttempts : async () => maxAttempts); + if (typeof computeNextBackoffDelay === "number") { + this.computeNextBackoffDelay = () => computeNextBackoffDelay; + } + else { + this.computeNextBackoffDelay = computeNextBackoffDelay; + } + } + async refreshRetryTokenForRetry(tokenToRenew, errorInfo) { + const token = await super.refreshRetryTokenForRetry(tokenToRenew, errorInfo); + token.getRetryDelay = () => this.computeNextBackoffDelay(token.getRetryCount()); + return token; + } +} + +exports.AdaptiveRetryStrategy = AdaptiveRetryStrategy; +exports.ConfiguredRetryStrategy = ConfiguredRetryStrategy; +exports.DEFAULT_MAX_ATTEMPTS = DEFAULT_MAX_ATTEMPTS; +exports.DEFAULT_RETRY_DELAY_BASE = DEFAULT_RETRY_DELAY_BASE; +exports.DEFAULT_RETRY_MODE = DEFAULT_RETRY_MODE; +exports.DefaultRateLimiter = DefaultRateLimiter; +exports.INITIAL_RETRY_TOKENS = INITIAL_RETRY_TOKENS; +exports.INVOCATION_ID_HEADER = INVOCATION_ID_HEADER; +exports.MAXIMUM_RETRY_DELAY = MAXIMUM_RETRY_DELAY; +exports.NO_RETRY_INCREMENT = NO_RETRY_INCREMENT; +exports.REQUEST_HEADER = REQUEST_HEADER; +exports.RETRY_COST = RETRY_COST; +exports.StandardRetryStrategy = StandardRetryStrategy; +exports.THROTTLING_RETRY_DELAY_BASE = THROTTLING_RETRY_DELAY_BASE; +exports.TIMEOUT_RETRY_COST = TIMEOUT_RETRY_COST; diff --git a/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js b/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js new file mode 100644 index 0000000..b00d5c0 --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js @@ -0,0 +1,27 @@ +import { RETRY_MODES } from "./config"; +import { DefaultRateLimiter } from "./DefaultRateLimiter"; +import { StandardRetryStrategy } from "./StandardRetryStrategy"; +export class AdaptiveRetryStrategy { + maxAttemptsProvider; + rateLimiter; + standardRetryStrategy; + mode = RETRY_MODES.ADAPTIVE; + constructor(maxAttemptsProvider, options) { + this.maxAttemptsProvider = maxAttemptsProvider; + const { rateLimiter } = options ?? {}; + this.rateLimiter = rateLimiter ?? new DefaultRateLimiter(); + this.standardRetryStrategy = new StandardRetryStrategy(maxAttemptsProvider); + } + async acquireInitialRetryToken(retryTokenScope) { + await this.rateLimiter.getSendToken(); + return this.standardRetryStrategy.acquireInitialRetryToken(retryTokenScope); + } + async refreshRetryTokenForRetry(tokenToRenew, errorInfo) { + this.rateLimiter.updateClientSendingRate(errorInfo); + return this.standardRetryStrategy.refreshRetryTokenForRetry(tokenToRenew, errorInfo); + } + recordSuccess(token) { + this.rateLimiter.updateClientSendingRate({}); + this.standardRetryStrategy.recordSuccess(token); + } +} diff --git a/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js b/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js new file mode 100644 index 0000000..59c8d76 --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js @@ -0,0 +1,19 @@ +import { DEFAULT_RETRY_DELAY_BASE } from "./constants"; +import { StandardRetryStrategy } from "./StandardRetryStrategy"; +export class ConfiguredRetryStrategy extends StandardRetryStrategy { + computeNextBackoffDelay; + constructor(maxAttempts, computeNextBackoffDelay = DEFAULT_RETRY_DELAY_BASE) { + super(typeof maxAttempts === "function" ? maxAttempts : async () => maxAttempts); + if (typeof computeNextBackoffDelay === "number") { + this.computeNextBackoffDelay = () => computeNextBackoffDelay; + } + else { + this.computeNextBackoffDelay = computeNextBackoffDelay; + } + } + async refreshRetryTokenForRetry(tokenToRenew, errorInfo) { + const token = await super.refreshRetryTokenForRetry(tokenToRenew, errorInfo); + token.getRetryDelay = () => this.computeNextBackoffDelay(token.getRetryCount()); + return token; + } +} diff --git a/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js b/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js new file mode 100644 index 0000000..5576073 --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js @@ -0,0 +1,111 @@ +import { isThrottlingError } from "@smithy/service-error-classification"; +export class DefaultRateLimiter { + static setTimeoutFn = setTimeout; + beta; + minCapacity; + minFillRate; + scaleConstant; + smooth; + enabled = false; + availableTokens = 0; + lastMaxRate = 0; + measuredTxRate = 0; + requestCount = 0; + fillRate; + lastThrottleTime; + lastTimestamp = 0; + lastTxRateBucket; + maxCapacity; + timeWindow = 0; + constructor(options) { + this.beta = options?.beta ?? 0.7; + this.minCapacity = options?.minCapacity ?? 1; + this.minFillRate = options?.minFillRate ?? 0.5; + this.scaleConstant = options?.scaleConstant ?? 0.4; + this.smooth = options?.smooth ?? 0.8; + const currentTimeInSeconds = this.getCurrentTimeInSeconds(); + this.lastThrottleTime = currentTimeInSeconds; + this.lastTxRateBucket = Math.floor(this.getCurrentTimeInSeconds()); + this.fillRate = this.minFillRate; + this.maxCapacity = this.minCapacity; + } + getCurrentTimeInSeconds() { + return Date.now() / 1000; + } + async getSendToken() { + return this.acquireTokenBucket(1); + } + async acquireTokenBucket(amount) { + if (!this.enabled) { + return; + } + this.refillTokenBucket(); + if (amount > this.availableTokens) { + const delay = ((amount - this.availableTokens) / this.fillRate) * 1000; + await new Promise((resolve) => DefaultRateLimiter.setTimeoutFn(resolve, delay)); + } + this.availableTokens = this.availableTokens - amount; + } + refillTokenBucket() { + const timestamp = this.getCurrentTimeInSeconds(); + if (!this.lastTimestamp) { + this.lastTimestamp = timestamp; + return; + } + const fillAmount = (timestamp - this.lastTimestamp) * this.fillRate; + this.availableTokens = Math.min(this.maxCapacity, this.availableTokens + fillAmount); + this.lastTimestamp = timestamp; + } + updateClientSendingRate(response) { + let calculatedRate; + this.updateMeasuredRate(); + const retryErrorInfo = response; + const isThrottling = retryErrorInfo?.errorType === "THROTTLING" || isThrottlingError(retryErrorInfo?.error ?? response); + if (isThrottling) { + const rateToUse = !this.enabled ? this.measuredTxRate : Math.min(this.measuredTxRate, this.fillRate); + this.lastMaxRate = rateToUse; + this.calculateTimeWindow(); + this.lastThrottleTime = this.getCurrentTimeInSeconds(); + calculatedRate = this.cubicThrottle(rateToUse); + this.enableTokenBucket(); + } + else { + this.calculateTimeWindow(); + calculatedRate = this.cubicSuccess(this.getCurrentTimeInSeconds()); + } + const newRate = Math.min(calculatedRate, 2 * this.measuredTxRate); + this.updateTokenBucketRate(newRate); + } + calculateTimeWindow() { + this.timeWindow = this.getPrecise(Math.pow((this.lastMaxRate * (1 - this.beta)) / this.scaleConstant, 1 / 3)); + } + cubicThrottle(rateToUse) { + return this.getPrecise(rateToUse * this.beta); + } + cubicSuccess(timestamp) { + return this.getPrecise(this.scaleConstant * Math.pow(timestamp - this.lastThrottleTime - this.timeWindow, 3) + this.lastMaxRate); + } + enableTokenBucket() { + this.enabled = true; + } + updateTokenBucketRate(newRate) { + this.refillTokenBucket(); + this.fillRate = Math.max(newRate, this.minFillRate); + this.maxCapacity = Math.max(newRate, this.minCapacity); + this.availableTokens = Math.min(this.availableTokens, this.maxCapacity); + } + updateMeasuredRate() { + const t = this.getCurrentTimeInSeconds(); + const timeBucket = Math.floor(t * 2) / 2; + this.requestCount++; + if (timeBucket > this.lastTxRateBucket) { + const currentRate = this.requestCount / (timeBucket - this.lastTxRateBucket); + this.measuredTxRate = this.getPrecise(currentRate * this.smooth + this.measuredTxRate * (1 - this.smooth)); + this.requestCount = 0; + this.lastTxRateBucket = timeBucket; + } + } + getPrecise(num) { + return parseFloat(num.toFixed(8)); + } +} diff --git a/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js b/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js new file mode 100644 index 0000000..fe5cb71 --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js @@ -0,0 +1,67 @@ +import { DEFAULT_MAX_ATTEMPTS, RETRY_MODES } from "./config"; +import { DEFAULT_RETRY_DELAY_BASE, INITIAL_RETRY_TOKENS, NO_RETRY_INCREMENT, RETRY_COST, THROTTLING_RETRY_DELAY_BASE, TIMEOUT_RETRY_COST, } from "./constants"; +import { getDefaultRetryBackoffStrategy } from "./defaultRetryBackoffStrategy"; +import { createDefaultRetryToken } from "./defaultRetryToken"; +export class StandardRetryStrategy { + maxAttempts; + mode = RETRY_MODES.STANDARD; + capacity = INITIAL_RETRY_TOKENS; + retryBackoffStrategy = getDefaultRetryBackoffStrategy(); + maxAttemptsProvider; + constructor(maxAttempts) { + this.maxAttempts = maxAttempts; + this.maxAttemptsProvider = typeof maxAttempts === "function" ? maxAttempts : async () => maxAttempts; + } + async acquireInitialRetryToken(retryTokenScope) { + return createDefaultRetryToken({ + retryDelay: DEFAULT_RETRY_DELAY_BASE, + retryCount: 0, + }); + } + async refreshRetryTokenForRetry(token, errorInfo) { + const maxAttempts = await this.getMaxAttempts(); + if (this.shouldRetry(token, errorInfo, maxAttempts)) { + const errorType = errorInfo.errorType; + this.retryBackoffStrategy.setDelayBase(errorType === "THROTTLING" ? THROTTLING_RETRY_DELAY_BASE : DEFAULT_RETRY_DELAY_BASE); + const delayFromErrorType = this.retryBackoffStrategy.computeNextBackoffDelay(token.getRetryCount()); + const retryDelay = errorInfo.retryAfterHint + ? Math.max(errorInfo.retryAfterHint.getTime() - Date.now() || 0, delayFromErrorType) + : delayFromErrorType; + const capacityCost = this.getCapacityCost(errorType); + this.capacity -= capacityCost; + return createDefaultRetryToken({ + retryDelay, + retryCount: token.getRetryCount() + 1, + retryCost: capacityCost, + }); + } + throw new Error("No retry token available"); + } + recordSuccess(token) { + this.capacity = Math.max(INITIAL_RETRY_TOKENS, this.capacity + (token.getRetryCost() ?? NO_RETRY_INCREMENT)); + } + getCapacity() { + return this.capacity; + } + async getMaxAttempts() { + try { + return await this.maxAttemptsProvider(); + } + catch (error) { + console.warn(`Max attempts provider could not resolve. Using default of ${DEFAULT_MAX_ATTEMPTS}`); + return DEFAULT_MAX_ATTEMPTS; + } + } + shouldRetry(tokenToRenew, errorInfo, maxAttempts) { + const attempts = tokenToRenew.getRetryCount() + 1; + return (attempts < maxAttempts && + this.capacity >= this.getCapacityCost(errorInfo.errorType) && + this.isRetryableError(errorInfo.errorType)); + } + getCapacityCost(errorType) { + return errorType === "TRANSIENT" ? TIMEOUT_RETRY_COST : RETRY_COST; + } + isRetryableError(errorType) { + return errorType === "THROTTLING" || errorType === "TRANSIENT"; + } +} diff --git a/node_modules/@smithy/util-retry/dist-es/config.js b/node_modules/@smithy/util-retry/dist-es/config.js new file mode 100644 index 0000000..438d42d --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-es/config.js @@ -0,0 +1,7 @@ +export var RETRY_MODES; +(function (RETRY_MODES) { + RETRY_MODES["STANDARD"] = "standard"; + RETRY_MODES["ADAPTIVE"] = "adaptive"; +})(RETRY_MODES || (RETRY_MODES = {})); +export const DEFAULT_MAX_ATTEMPTS = 3; +export const DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD; diff --git a/node_modules/@smithy/util-retry/dist-es/constants.js b/node_modules/@smithy/util-retry/dist-es/constants.js new file mode 100644 index 0000000..0876f8e --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-es/constants.js @@ -0,0 +1,9 @@ +export const DEFAULT_RETRY_DELAY_BASE = 100; +export const MAXIMUM_RETRY_DELAY = 20 * 1000; +export const THROTTLING_RETRY_DELAY_BASE = 500; +export const INITIAL_RETRY_TOKENS = 500; +export const RETRY_COST = 5; +export const TIMEOUT_RETRY_COST = 10; +export const NO_RETRY_INCREMENT = 1; +export const INVOCATION_ID_HEADER = "amz-sdk-invocation-id"; +export const REQUEST_HEADER = "amz-sdk-request"; diff --git a/node_modules/@smithy/util-retry/dist-es/defaultRetryBackoffStrategy.js b/node_modules/@smithy/util-retry/dist-es/defaultRetryBackoffStrategy.js new file mode 100644 index 0000000..ce04bc5 --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-es/defaultRetryBackoffStrategy.js @@ -0,0 +1,14 @@ +import { DEFAULT_RETRY_DELAY_BASE, MAXIMUM_RETRY_DELAY } from "./constants"; +export const getDefaultRetryBackoffStrategy = () => { + let delayBase = DEFAULT_RETRY_DELAY_BASE; + const computeNextBackoffDelay = (attempts) => { + return Math.floor(Math.min(MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase)); + }; + const setDelayBase = (delay) => { + delayBase = delay; + }; + return { + computeNextBackoffDelay, + setDelayBase, + }; +}; diff --git a/node_modules/@smithy/util-retry/dist-es/defaultRetryToken.js b/node_modules/@smithy/util-retry/dist-es/defaultRetryToken.js new file mode 100644 index 0000000..203bb66 --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-es/defaultRetryToken.js @@ -0,0 +1,11 @@ +import { MAXIMUM_RETRY_DELAY } from "./constants"; +export const createDefaultRetryToken = ({ retryDelay, retryCount, retryCost, }) => { + const getRetryCount = () => retryCount; + const getRetryDelay = () => Math.min(MAXIMUM_RETRY_DELAY, retryDelay); + const getRetryCost = () => retryCost; + return { + getRetryCount, + getRetryDelay, + getRetryCost, + }; +}; diff --git a/node_modules/@smithy/util-retry/dist-es/index.js b/node_modules/@smithy/util-retry/dist-es/index.js new file mode 100644 index 0000000..8637ced --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-es/index.js @@ -0,0 +1,7 @@ +export * from "./AdaptiveRetryStrategy"; +export * from "./ConfiguredRetryStrategy"; +export * from "./DefaultRateLimiter"; +export * from "./StandardRetryStrategy"; +export * from "./config"; +export * from "./constants"; +export * from "./types"; diff --git a/node_modules/@smithy/util-retry/dist-es/types.js b/node_modules/@smithy/util-retry/dist-es/types.js new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-es/types.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts b/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts new file mode 100644 index 0000000..b86a6c1 --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts @@ -0,0 +1,33 @@ +import type { Provider, RetryErrorInfo, RetryStrategyV2, RetryToken, StandardRetryToken } from "@smithy/types"; +import type { RateLimiter } from "./types"; +/** + * @public + * + * Strategy options to be passed to AdaptiveRetryStrategy + */ +export interface AdaptiveRetryStrategyOptions { + rateLimiter?: RateLimiter; +} +/** + * @public + * + * The AdaptiveRetryStrategy is a retry strategy for executing against a very + * resource constrained set of resources. Care should be taken when using this + * retry strategy. By default, it uses a dynamic backoff delay based on load + * currently perceived against the downstream resource and performs circuit + * breaking to disable retries in the event of high downstream failures using + * the DefaultRateLimiter. + * + * @see {@link StandardRetryStrategy} + * @see {@link DefaultRateLimiter } + */ +export declare class AdaptiveRetryStrategy implements RetryStrategyV2 { + private readonly maxAttemptsProvider; + private rateLimiter; + private standardRetryStrategy; + readonly mode: string; + constructor(maxAttemptsProvider: Provider, options?: AdaptiveRetryStrategyOptions); + acquireInitialRetryToken(retryTokenScope: string): Promise; + refreshRetryTokenForRetry(tokenToRenew: StandardRetryToken, errorInfo: RetryErrorInfo): Promise; + recordSuccess(token: StandardRetryToken): void; +} diff --git a/node_modules/@smithy/util-retry/dist-types/ConfiguredRetryStrategy.d.ts b/node_modules/@smithy/util-retry/dist-types/ConfiguredRetryStrategy.d.ts new file mode 100644 index 0000000..3250c6d --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-types/ConfiguredRetryStrategy.d.ts @@ -0,0 +1,32 @@ +import type { Provider, RetryBackoffStrategy, RetryErrorInfo, RetryStrategyV2, StandardRetryToken } from "@smithy/types"; +import { StandardRetryStrategy } from "./StandardRetryStrategy"; +/** + * @public + * + * This extension of the StandardRetryStrategy allows customizing the + * backoff computation. + */ +export declare class ConfiguredRetryStrategy extends StandardRetryStrategy implements RetryStrategyV2 { + private readonly computeNextBackoffDelay; + /** + * @param maxAttempts - the maximum number of retry attempts allowed. + * e.g., if set to 3, then 4 total requests are possible. + * @param computeNextBackoffDelay - a millisecond delay for each retry or a function that takes the retry attempt + * and returns the delay. + * + * @example exponential backoff. + * ```js + * new Client({ + * retryStrategy: new ConfiguredRetryStrategy(3, (attempt) => attempt ** 2) + * }); + * ``` + * @example constant delay. + * ```js + * new Client({ + * retryStrategy: new ConfiguredRetryStrategy(3, 2000) + * }); + * ``` + */ + constructor(maxAttempts: number | Provider, computeNextBackoffDelay?: number | RetryBackoffStrategy["computeNextBackoffDelay"]); + refreshRetryTokenForRetry(tokenToRenew: StandardRetryToken, errorInfo: RetryErrorInfo): Promise; +} diff --git a/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts b/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts new file mode 100644 index 0000000..3562ada --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts @@ -0,0 +1,119 @@ +import type { RateLimiter } from "./types"; +/** + * @public + */ +export interface DefaultRateLimiterOptions { + /** + * Coefficient for controlling how aggressively the rate decreases on throttle. + * @defaultValue 0.7 + */ + beta?: number; + /** + * Minimum token bucket capacity in adaptive-tokens. + * @defaultValue 1 + */ + minCapacity?: number; + /** + * Minimum fill rate in adaptive-tokens per second. + * @defaultValue 0.5 + */ + minFillRate?: number; + /** + * Scale constant used in the cubic rate calculation. + * @defaultValue 0.4 + */ + scaleConstant?: number; + /** + * Smoothing factor for the exponential moving average of the measured send rate. + * @defaultValue 0.8 + */ + smooth?: number; +} +/** + * @public + */ +export declare class DefaultRateLimiter implements RateLimiter { + /** + * Only used in testing. + */ + private static setTimeoutFn; + private beta; + private minCapacity; + private minFillRate; + private scaleConstant; + private smooth; + /** + * Whether adaptive retry rate limiting is active. + * Remains `false` until a throttling error is detected. + */ + private enabled; + /** + * Current number of available adaptive-tokens. When exhausted, requests wait based on fill rate. + */ + private availableTokens; + /** + * The most recent maximum fill rate in adaptive-tokens per second, recorded at the last throttle event. + */ + private lastMaxRate; + /** + * Smoothed measured send rate in requests per second. + */ + private measuredTxRate; + /** + * Number of requests observed in the current measurement time bucket. + */ + private requestCount; + /** + * Current token bucket fill rate in adaptive-tokens per second. Defaults to {@link minFillRate}. + */ + private fillRate; + /** + * Timestamp in seconds of the most recent throttle event. + */ + private lastThrottleTime; + /** + * Timestamp in seconds of the last token bucket refill. + */ + private lastTimestamp; + /** + * The time bucket (in seconds) used for measuring the send rate. + */ + private lastTxRateBucket; + /** + * Maximum token bucket capacity in adaptive-tokens. Defaults to {@link minCapacity}. + * Updated in {@link updateTokenBucketRate} to match the new fill rate, floored by {@link minCapacity}. + */ + private maxCapacity; + /** + * Calculated time window in seconds used in the cubic rate recovery function. + */ + private timeWindow; + constructor(options?: DefaultRateLimiterOptions); + private getCurrentTimeInSeconds; + getSendToken(): Promise; + private acquireTokenBucket; + private refillTokenBucket; + updateClientSendingRate(response: any): void; + private calculateTimeWindow; + /** + * Returns a new fill rate in adaptive-tokens per second by reducing + * the given rate by a factor of {@link beta}. + */ + private cubicThrottle; + /** + * Returns a new fill rate in adaptive-tokens per second using a CUBIC + * congestion control curve. The rate recovers toward {@link lastMaxRate}, + * then continues growing beyond it. The caller caps the result at + * `2 * measuredTxRate`. + */ + private cubicSuccess; + private enableTokenBucket; + /** + * Set a new fill rate for adaptive-tokens. + * The max capacity is updated to allow for one second of time to approximately + * refill the adaptive-token capacity. + */ + private updateTokenBucketRate; + private updateMeasuredRate; + private getPrecise; +} diff --git a/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts b/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts new file mode 100644 index 0000000..2052e7e --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts @@ -0,0 +1,26 @@ +import type { Provider, RetryErrorInfo, RetryStrategyV2, StandardRetryToken } from "@smithy/types"; +/** + * @public + */ +export declare class StandardRetryStrategy implements RetryStrategyV2 { + private readonly maxAttempts; + readonly mode: string; + private capacity; + private readonly retryBackoffStrategy; + private readonly maxAttemptsProvider; + constructor(maxAttempts: number); + constructor(maxAttemptsProvider: Provider); + acquireInitialRetryToken(retryTokenScope: string): Promise; + refreshRetryTokenForRetry(token: StandardRetryToken, errorInfo: RetryErrorInfo): Promise; + recordSuccess(token: StandardRetryToken): void; + /** + * @returns the current available retry capacity. + * + * This number decreases when retries are executed and refills when requests or retries succeed. + */ + getCapacity(): number; + private getMaxAttempts; + private shouldRetry; + private getCapacityCost; + private isRetryableError; +} diff --git a/node_modules/@smithy/util-retry/dist-types/config.d.ts b/node_modules/@smithy/util-retry/dist-types/config.d.ts new file mode 100644 index 0000000..e4e74b3 --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-types/config.d.ts @@ -0,0 +1,20 @@ +/** + * @public + */ +export declare enum RETRY_MODES { + STANDARD = "standard", + ADAPTIVE = "adaptive" +} +/** + * @public + * + * The default value for how many HTTP requests an SDK should make for a + * single SDK operation invocation before giving up + */ +export declare const DEFAULT_MAX_ATTEMPTS = 3; +/** + * @public + * + * The default retry algorithm to use. + */ +export declare const DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD; diff --git a/node_modules/@smithy/util-retry/dist-types/constants.d.ts b/node_modules/@smithy/util-retry/dist-types/constants.d.ts new file mode 100644 index 0000000..bc7fec8 --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-types/constants.d.ts @@ -0,0 +1,59 @@ +/** + * @public + * + * The base number of milliseconds to use in calculating a suitable cool-down + * time when a retryable error is encountered. + */ +export declare const DEFAULT_RETRY_DELAY_BASE = 100; +/** + * @public + * + * The maximum amount of time (in milliseconds) that will be used as a delay + * between retry attempts. + */ +export declare const MAXIMUM_RETRY_DELAY: number; +/** + * @public + * + * The retry delay base (in milliseconds) to use when a throttling error is + * encountered. + */ +export declare const THROTTLING_RETRY_DELAY_BASE = 500; +/** + * @public + * + * Initial number of retry tokens in Retry Quota + */ +export declare const INITIAL_RETRY_TOKENS = 500; +/** + * @public + * + * The total amount of retry tokens to be decremented from retry token balance. + */ +export declare const RETRY_COST = 5; +/** + * @public + * + * The total amount of retry tokens to be decremented from retry token balance + * when a throttling error is encountered. + */ +export declare const TIMEOUT_RETRY_COST = 10; +/** + * @public + * + * The total amount of retry token to be incremented from retry token balance + * if an SDK operation invocation succeeds without requiring a retry request. + */ +export declare const NO_RETRY_INCREMENT = 1; +/** + * @public + * + * Header name for SDK invocation ID + */ +export declare const INVOCATION_ID_HEADER = "amz-sdk-invocation-id"; +/** + * @public + * + * Header name for request retry information. + */ +export declare const REQUEST_HEADER = "amz-sdk-request"; diff --git a/node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts b/node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts new file mode 100644 index 0000000..1fa33d4 --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts @@ -0,0 +1,5 @@ +import type { StandardRetryBackoffStrategy } from "@smithy/types"; +/** + * @internal + */ +export declare const getDefaultRetryBackoffStrategy: () => StandardRetryBackoffStrategy; diff --git a/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts b/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts new file mode 100644 index 0000000..51311b1 --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts @@ -0,0 +1,9 @@ +import type { StandardRetryToken } from "@smithy/types"; +/** + * @internal + */ +export declare const createDefaultRetryToken: ({ retryDelay, retryCount, retryCost, }: { + retryDelay: number; + retryCount: number; + retryCost?: number; +}) => StandardRetryToken; diff --git a/node_modules/@smithy/util-retry/dist-types/index.d.ts b/node_modules/@smithy/util-retry/dist-types/index.d.ts new file mode 100644 index 0000000..8637ced --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-types/index.d.ts @@ -0,0 +1,7 @@ +export * from "./AdaptiveRetryStrategy"; +export * from "./ConfiguredRetryStrategy"; +export * from "./DefaultRateLimiter"; +export * from "./StandardRetryStrategy"; +export * from "./config"; +export * from "./constants"; +export * from "./types"; diff --git a/node_modules/@smithy/util-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts b/node_modules/@smithy/util-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts new file mode 100644 index 0000000..8092519 --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts @@ -0,0 +1,33 @@ +import { Provider, RetryErrorInfo, RetryStrategyV2, RetryToken, StandardRetryToken } from "@smithy/types"; +import { RateLimiter } from "./types"; +/** + * @public + * + * Strategy options to be passed to AdaptiveRetryStrategy + */ +export interface AdaptiveRetryStrategyOptions { + rateLimiter?: RateLimiter; +} +/** + * @public + * + * The AdaptiveRetryStrategy is a retry strategy for executing against a very + * resource constrained set of resources. Care should be taken when using this + * retry strategy. By default, it uses a dynamic backoff delay based on load + * currently perceived against the downstream resource and performs circuit + * breaking to disable retries in the event of high downstream failures using + * the DefaultRateLimiter. + * + * @see {@link StandardRetryStrategy} + * @see {@link DefaultRateLimiter } + */ +export declare class AdaptiveRetryStrategy implements RetryStrategyV2 { + private readonly maxAttemptsProvider; + private rateLimiter; + private standardRetryStrategy; + readonly mode: string; + constructor(maxAttemptsProvider: Provider, options?: AdaptiveRetryStrategyOptions); + acquireInitialRetryToken(retryTokenScope: string): Promise; + refreshRetryTokenForRetry(tokenToRenew: StandardRetryToken, errorInfo: RetryErrorInfo): Promise; + recordSuccess(token: StandardRetryToken): void; +} diff --git a/node_modules/@smithy/util-retry/dist-types/ts3.4/ConfiguredRetryStrategy.d.ts b/node_modules/@smithy/util-retry/dist-types/ts3.4/ConfiguredRetryStrategy.d.ts new file mode 100644 index 0000000..f6ee9a4 --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-types/ts3.4/ConfiguredRetryStrategy.d.ts @@ -0,0 +1,32 @@ +import { Provider, RetryBackoffStrategy, RetryErrorInfo, RetryStrategyV2, StandardRetryToken } from "@smithy/types"; +import { StandardRetryStrategy } from "./StandardRetryStrategy"; +/** + * @public + * + * This extension of the StandardRetryStrategy allows customizing the + * backoff computation. + */ +export declare class ConfiguredRetryStrategy extends StandardRetryStrategy implements RetryStrategyV2 { + private readonly computeNextBackoffDelay; + /** + * @param maxAttempts - the maximum number of retry attempts allowed. + * e.g., if set to 3, then 4 total requests are possible. + * @param computeNextBackoffDelay - a millisecond delay for each retry or a function that takes the retry attempt + * and returns the delay. + * + * @example exponential backoff. + * ```js + * new Client({ + * retryStrategy: new ConfiguredRetryStrategy(3, (attempt) => attempt ** 2) + * }); + * ``` + * @example constant delay. + * ```js + * new Client({ + * retryStrategy: new ConfiguredRetryStrategy(3, 2000) + * }); + * ``` + */ + constructor(maxAttempts: number | Provider, computeNextBackoffDelay?: number | RetryBackoffStrategy["computeNextBackoffDelay"]); + refreshRetryTokenForRetry(tokenToRenew: StandardRetryToken, errorInfo: RetryErrorInfo): Promise; +} diff --git a/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts b/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts new file mode 100644 index 0000000..99faeee --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts @@ -0,0 +1,119 @@ +import { RateLimiter } from "./types"; +/** + * @public + */ +export interface DefaultRateLimiterOptions { + /** + * Coefficient for controlling how aggressively the rate decreases on throttle. + * @defaultValue 0.7 + */ + beta?: number; + /** + * Minimum token bucket capacity in adaptive-tokens. + * @defaultValue 1 + */ + minCapacity?: number; + /** + * Minimum fill rate in adaptive-tokens per second. + * @defaultValue 0.5 + */ + minFillRate?: number; + /** + * Scale constant used in the cubic rate calculation. + * @defaultValue 0.4 + */ + scaleConstant?: number; + /** + * Smoothing factor for the exponential moving average of the measured send rate. + * @defaultValue 0.8 + */ + smooth?: number; +} +/** + * @public + */ +export declare class DefaultRateLimiter implements RateLimiter { + /** + * Only used in testing. + */ + private static setTimeoutFn; + private beta; + private minCapacity; + private minFillRate; + private scaleConstant; + private smooth; + /** + * Whether adaptive retry rate limiting is active. + * Remains `false` until a throttling error is detected. + */ + private enabled; + /** + * Current number of available adaptive-tokens. When exhausted, requests wait based on fill rate. + */ + private availableTokens; + /** + * The most recent maximum fill rate in adaptive-tokens per second, recorded at the last throttle event. + */ + private lastMaxRate; + /** + * Smoothed measured send rate in requests per second. + */ + private measuredTxRate; + /** + * Number of requests observed in the current measurement time bucket. + */ + private requestCount; + /** + * Current token bucket fill rate in adaptive-tokens per second. Defaults to {@link minFillRate}. + */ + private fillRate; + /** + * Timestamp in seconds of the most recent throttle event. + */ + private lastThrottleTime; + /** + * Timestamp in seconds of the last token bucket refill. + */ + private lastTimestamp; + /** + * The time bucket (in seconds) used for measuring the send rate. + */ + private lastTxRateBucket; + /** + * Maximum token bucket capacity in adaptive-tokens. Defaults to {@link minCapacity}. + * Updated in {@link updateTokenBucketRate} to match the new fill rate, floored by {@link minCapacity}. + */ + private maxCapacity; + /** + * Calculated time window in seconds used in the cubic rate recovery function. + */ + private timeWindow; + constructor(options?: DefaultRateLimiterOptions); + private getCurrentTimeInSeconds; + getSendToken(): Promise; + private acquireTokenBucket; + private refillTokenBucket; + updateClientSendingRate(response: any): void; + private calculateTimeWindow; + /** + * Returns a new fill rate in adaptive-tokens per second by reducing + * the given rate by a factor of {@link beta}. + */ + private cubicThrottle; + /** + * Returns a new fill rate in adaptive-tokens per second using a CUBIC + * congestion control curve. The rate recovers toward {@link lastMaxRate}, + * then continues growing beyond it. The caller caps the result at + * `2 * measuredTxRate`. + */ + private cubicSuccess; + private enableTokenBucket; + /** + * Set a new fill rate for adaptive-tokens. + * The max capacity is updated to allow for one second of time to approximately + * refill the adaptive-token capacity. + */ + private updateTokenBucketRate; + private updateMeasuredRate; + private getPrecise; +} diff --git a/node_modules/@smithy/util-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts b/node_modules/@smithy/util-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts new file mode 100644 index 0000000..c100ebc --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts @@ -0,0 +1,26 @@ +import { Provider, RetryErrorInfo, RetryStrategyV2, StandardRetryToken } from "@smithy/types"; +/** + * @public + */ +export declare class StandardRetryStrategy implements RetryStrategyV2 { + private readonly maxAttempts; + readonly mode: string; + private capacity; + private readonly retryBackoffStrategy; + private readonly maxAttemptsProvider; + constructor(maxAttempts: number); + constructor(maxAttemptsProvider: Provider); + acquireInitialRetryToken(retryTokenScope: string): Promise; + refreshRetryTokenForRetry(token: StandardRetryToken, errorInfo: RetryErrorInfo): Promise; + recordSuccess(token: StandardRetryToken): void; + /** + * @returns the current available retry capacity. + * + * This number decreases when retries are executed and refills when requests or retries succeed. + */ + getCapacity(): number; + private getMaxAttempts; + private shouldRetry; + private getCapacityCost; + private isRetryableError; +} diff --git a/node_modules/@smithy/util-retry/dist-types/ts3.4/config.d.ts b/node_modules/@smithy/util-retry/dist-types/ts3.4/config.d.ts new file mode 100644 index 0000000..e4e74b3 --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-types/ts3.4/config.d.ts @@ -0,0 +1,20 @@ +/** + * @public + */ +export declare enum RETRY_MODES { + STANDARD = "standard", + ADAPTIVE = "adaptive" +} +/** + * @public + * + * The default value for how many HTTP requests an SDK should make for a + * single SDK operation invocation before giving up + */ +export declare const DEFAULT_MAX_ATTEMPTS = 3; +/** + * @public + * + * The default retry algorithm to use. + */ +export declare const DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD; diff --git a/node_modules/@smithy/util-retry/dist-types/ts3.4/constants.d.ts b/node_modules/@smithy/util-retry/dist-types/ts3.4/constants.d.ts new file mode 100644 index 0000000..bc7fec8 --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-types/ts3.4/constants.d.ts @@ -0,0 +1,59 @@ +/** + * @public + * + * The base number of milliseconds to use in calculating a suitable cool-down + * time when a retryable error is encountered. + */ +export declare const DEFAULT_RETRY_DELAY_BASE = 100; +/** + * @public + * + * The maximum amount of time (in milliseconds) that will be used as a delay + * between retry attempts. + */ +export declare const MAXIMUM_RETRY_DELAY: number; +/** + * @public + * + * The retry delay base (in milliseconds) to use when a throttling error is + * encountered. + */ +export declare const THROTTLING_RETRY_DELAY_BASE = 500; +/** + * @public + * + * Initial number of retry tokens in Retry Quota + */ +export declare const INITIAL_RETRY_TOKENS = 500; +/** + * @public + * + * The total amount of retry tokens to be decremented from retry token balance. + */ +export declare const RETRY_COST = 5; +/** + * @public + * + * The total amount of retry tokens to be decremented from retry token balance + * when a throttling error is encountered. + */ +export declare const TIMEOUT_RETRY_COST = 10; +/** + * @public + * + * The total amount of retry token to be incremented from retry token balance + * if an SDK operation invocation succeeds without requiring a retry request. + */ +export declare const NO_RETRY_INCREMENT = 1; +/** + * @public + * + * Header name for SDK invocation ID + */ +export declare const INVOCATION_ID_HEADER = "amz-sdk-invocation-id"; +/** + * @public + * + * Header name for request retry information. + */ +export declare const REQUEST_HEADER = "amz-sdk-request"; diff --git a/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryBackoffStrategy.d.ts b/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryBackoffStrategy.d.ts new file mode 100644 index 0000000..b70eb2d --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryBackoffStrategy.d.ts @@ -0,0 +1,5 @@ +import { StandardRetryBackoffStrategy } from "@smithy/types"; +/** + * @internal + */ +export declare const getDefaultRetryBackoffStrategy: () => StandardRetryBackoffStrategy; diff --git a/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryToken.d.ts b/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryToken.d.ts new file mode 100644 index 0000000..502b473 --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryToken.d.ts @@ -0,0 +1,9 @@ +import { StandardRetryToken } from "@smithy/types"; +/** + * @internal + */ +export declare const createDefaultRetryToken: ({ retryDelay, retryCount, retryCost, }: { + retryDelay: number; + retryCount: number; + retryCost?: number; +}) => StandardRetryToken; diff --git a/node_modules/@smithy/util-retry/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/util-retry/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..8637ced --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-types/ts3.4/index.d.ts @@ -0,0 +1,7 @@ +export * from "./AdaptiveRetryStrategy"; +export * from "./ConfiguredRetryStrategy"; +export * from "./DefaultRateLimiter"; +export * from "./StandardRetryStrategy"; +export * from "./config"; +export * from "./constants"; +export * from "./types"; diff --git a/node_modules/@smithy/util-retry/dist-types/ts3.4/types.d.ts b/node_modules/@smithy/util-retry/dist-types/ts3.4/types.d.ts new file mode 100644 index 0000000..b3f2bd1 --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-types/ts3.4/types.d.ts @@ -0,0 +1,19 @@ +/** + * @internal + */ +export interface RateLimiter { + /** + * If there is sufficient capacity (tokens) available, it immediately returns. + * If there is not sufficient capacity, it will either sleep a certain amount + * of time until the rate limiter can retrieve a token from its token bucket + * or raise an exception indicating there is insufficient capacity. + */ + getSendToken: () => Promise; + /** + * Updates the client sending rate based on response. + * If the response was successful, the capacity and fill rate are increased. + * If the response was a throttling response, the capacity and fill rate are + * decreased. Transient errors do not affect the rate limiter. + */ + updateClientSendingRate: (response: any) => void; +} diff --git a/node_modules/@smithy/util-retry/dist-types/types.d.ts b/node_modules/@smithy/util-retry/dist-types/types.d.ts new file mode 100644 index 0000000..b3f2bd1 --- /dev/null +++ b/node_modules/@smithy/util-retry/dist-types/types.d.ts @@ -0,0 +1,19 @@ +/** + * @internal + */ +export interface RateLimiter { + /** + * If there is sufficient capacity (tokens) available, it immediately returns. + * If there is not sufficient capacity, it will either sleep a certain amount + * of time until the rate limiter can retrieve a token from its token bucket + * or raise an exception indicating there is insufficient capacity. + */ + getSendToken: () => Promise; + /** + * Updates the client sending rate based on response. + * If the response was successful, the capacity and fill rate are increased. + * If the response was a throttling response, the capacity and fill rate are + * decreased. Transient errors do not affect the rate limiter. + */ + updateClientSendingRate: (response: any) => void; +} diff --git a/node_modules/@smithy/util-retry/package.json b/node_modules/@smithy/util-retry/package.json new file mode 100644 index 0000000..86dcef0 --- /dev/null +++ b/node_modules/@smithy/util-retry/package.json @@ -0,0 +1,71 @@ +{ + "name": "@smithy/util-retry", + "version": "4.2.13", + "description": "Shared retry utilities to be used in middleware packages.", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-retry", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "extract:docs": "api-extractor run --local", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" + }, + "keywords": [ + "aws", + "retry" + ], + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/service-error-classification": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/master/packages/util-retry", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/util-retry" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/util-stream/LICENSE b/node_modules/@smithy/util-stream/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/util-stream/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/util-stream/README.md b/node_modules/@smithy/util-stream/README.md new file mode 100644 index 0000000..6fcd9f6 --- /dev/null +++ b/node_modules/@smithy/util-stream/README.md @@ -0,0 +1,6 @@ +# @smithy/util-stream + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-stream/latest.svg)](https://www.npmjs.com/package/@smithy/util-stream) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-stream.svg)](https://www.npmjs.com/package/@smithy/util-stream) + +Package with utilities to operate on streams. diff --git a/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js b/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js new file mode 100644 index 0000000..f056f82 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js @@ -0,0 +1,36 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ByteArrayCollector = void 0; +class ByteArrayCollector { + allocByteArray; + byteLength = 0; + byteArrays = []; + constructor(allocByteArray) { + this.allocByteArray = allocByteArray; + } + push(byteArray) { + this.byteArrays.push(byteArray); + this.byteLength += byteArray.byteLength; + } + flush() { + if (this.byteArrays.length === 1) { + const bytes = this.byteArrays[0]; + this.reset(); + return bytes; + } + const aggregation = this.allocByteArray(this.byteLength); + let cursor = 0; + for (let i = 0; i < this.byteArrays.length; ++i) { + const bytes = this.byteArrays[i]; + aggregation.set(bytes, cursor); + cursor += bytes.byteLength; + } + this.reset(); + return aggregation; + } + reset() { + this.byteArrays = []; + this.byteLength = 0; + } +} +exports.ByteArrayCollector = ByteArrayCollector; diff --git a/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js b/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js new file mode 100644 index 0000000..b73363a --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ChecksumStream = void 0; +const ReadableStreamRef = typeof ReadableStream === "function" ? ReadableStream : function () { }; +class ChecksumStream extends ReadableStreamRef { +} +exports.ChecksumStream = ChecksumStream; diff --git a/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js b/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js new file mode 100644 index 0000000..5038f8c --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js @@ -0,0 +1,64 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ChecksumStream = void 0; +const util_base64_1 = require("@smithy/util-base64"); +const stream_1 = require("stream"); +class ChecksumStream extends stream_1.Duplex { + expectedChecksum; + checksumSourceLocation; + checksum; + source; + base64Encoder; + pendingCallback = null; + constructor({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }) { + super(); + if (typeof source.pipe === "function") { + this.source = source; + } + else { + throw new Error(`@smithy/util-stream: unsupported source type ${source?.constructor?.name ?? source} in ChecksumStream.`); + } + this.base64Encoder = base64Encoder ?? util_base64_1.toBase64; + this.expectedChecksum = expectedChecksum; + this.checksum = checksum; + this.checksumSourceLocation = checksumSourceLocation; + this.source.pipe(this); + } + _read(size) { + if (this.pendingCallback) { + const callback = this.pendingCallback; + this.pendingCallback = null; + callback(); + } + } + _write(chunk, encoding, callback) { + try { + this.checksum.update(chunk); + const canPushMore = this.push(chunk); + if (!canPushMore) { + this.pendingCallback = callback; + return; + } + } + catch (e) { + return callback(e); + } + return callback(); + } + async _final(callback) { + try { + const digest = await this.checksum.digest(); + const received = this.base64Encoder(digest); + if (this.expectedChecksum !== received) { + return callback(new Error(`Checksum mismatch: expected "${this.expectedChecksum}" but received "${received}"` + + ` in response header "${this.checksumSourceLocation}".`)); + } + } + catch (e) { + return callback(e); + } + this.push(null); + return callback(); + } +} +exports.ChecksumStream = ChecksumStream; diff --git a/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js b/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js new file mode 100644 index 0000000..2bbe76e --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js @@ -0,0 +1,39 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.createChecksumStream = void 0; +const util_base64_1 = require("@smithy/util-base64"); +const stream_type_check_1 = require("../stream-type-check"); +const ChecksumStream_browser_1 = require("./ChecksumStream.browser"); +const createChecksumStream = ({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }) => { + if (!(0, stream_type_check_1.isReadableStream)(source)) { + throw new Error(`@smithy/util-stream: unsupported source type ${source?.constructor?.name ?? source} in ChecksumStream.`); + } + const encoder = base64Encoder ?? util_base64_1.toBase64; + if (typeof TransformStream !== "function") { + throw new Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream."); + } + const transform = new TransformStream({ + start() { }, + async transform(chunk, controller) { + checksum.update(chunk); + controller.enqueue(chunk); + }, + async flush(controller) { + const digest = await checksum.digest(); + const received = encoder(digest); + if (expectedChecksum !== received) { + const error = new Error(`Checksum mismatch: expected "${expectedChecksum}" but received "${received}"` + + ` in response header "${checksumSourceLocation}".`); + controller.error(error); + } + else { + controller.terminate(); + } + }, + }); + source.pipeThrough(transform); + const readable = transform.readable; + Object.setPrototypeOf(readable, ChecksumStream_browser_1.ChecksumStream.prototype); + return readable; +}; +exports.createChecksumStream = createChecksumStream; diff --git a/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js b/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js new file mode 100644 index 0000000..9638f02 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.createChecksumStream = createChecksumStream; +const stream_type_check_1 = require("../stream-type-check"); +const ChecksumStream_1 = require("./ChecksumStream"); +const createChecksumStream_browser_1 = require("./createChecksumStream.browser"); +function createChecksumStream(init) { + if (typeof ReadableStream === "function" && (0, stream_type_check_1.isReadableStream)(init.source)) { + return (0, createChecksumStream_browser_1.createChecksumStream)(init); + } + return new ChecksumStream_1.ChecksumStream(init); +} diff --git a/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js b/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js new file mode 100644 index 0000000..b3b47a2 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js @@ -0,0 +1,60 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.createBufferedReadable = createBufferedReadable; +const node_stream_1 = require("node:stream"); +const ByteArrayCollector_1 = require("./ByteArrayCollector"); +const createBufferedReadableStream_1 = require("./createBufferedReadableStream"); +const stream_type_check_1 = require("./stream-type-check"); +function createBufferedReadable(upstream, size, logger) { + if ((0, stream_type_check_1.isReadableStream)(upstream)) { + return (0, createBufferedReadableStream_1.createBufferedReadableStream)(upstream, size, logger); + } + const downstream = new node_stream_1.Readable({ read() { } }); + let streamBufferingLoggedWarning = false; + let bytesSeen = 0; + const buffers = [ + "", + new ByteArrayCollector_1.ByteArrayCollector((size) => new Uint8Array(size)), + new ByteArrayCollector_1.ByteArrayCollector((size) => Buffer.from(new Uint8Array(size))), + ]; + let mode = -1; + upstream.on("data", (chunk) => { + const chunkMode = (0, createBufferedReadableStream_1.modeOf)(chunk, true); + if (mode !== chunkMode) { + if (mode >= 0) { + downstream.push((0, createBufferedReadableStream_1.flush)(buffers, mode)); + } + mode = chunkMode; + } + if (mode === -1) { + downstream.push(chunk); + return; + } + const chunkSize = (0, createBufferedReadableStream_1.sizeOf)(chunk); + bytesSeen += chunkSize; + const bufferSize = (0, createBufferedReadableStream_1.sizeOf)(buffers[mode]); + if (chunkSize >= size && bufferSize === 0) { + downstream.push(chunk); + } + else { + const newSize = (0, createBufferedReadableStream_1.merge)(buffers, mode, chunk); + if (!streamBufferingLoggedWarning && bytesSeen > size * 2) { + streamBufferingLoggedWarning = true; + logger?.warn(`@smithy/util-stream - stream chunk size ${chunkSize} is below threshold of ${size}, automatically buffering.`); + } + if (newSize >= size) { + downstream.push((0, createBufferedReadableStream_1.flush)(buffers, mode)); + } + } + }); + upstream.on("end", () => { + if (mode !== -1) { + const remainder = (0, createBufferedReadableStream_1.flush)(buffers, mode); + if ((0, createBufferedReadableStream_1.sizeOf)(remainder) > 0) { + downstream.push(remainder); + } + } + downstream.push(null); + }); + return downstream; +} diff --git a/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js b/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js new file mode 100644 index 0000000..1b7d8c3 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js @@ -0,0 +1,103 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.createBufferedReadable = void 0; +exports.createBufferedReadableStream = createBufferedReadableStream; +exports.merge = merge; +exports.flush = flush; +exports.sizeOf = sizeOf; +exports.modeOf = modeOf; +const ByteArrayCollector_1 = require("./ByteArrayCollector"); +function createBufferedReadableStream(upstream, size, logger) { + const reader = upstream.getReader(); + let streamBufferingLoggedWarning = false; + let bytesSeen = 0; + const buffers = ["", new ByteArrayCollector_1.ByteArrayCollector((size) => new Uint8Array(size))]; + let mode = -1; + const pull = async (controller) => { + const { value, done } = await reader.read(); + const chunk = value; + if (done) { + if (mode !== -1) { + const remainder = flush(buffers, mode); + if (sizeOf(remainder) > 0) { + controller.enqueue(remainder); + } + } + controller.close(); + } + else { + const chunkMode = modeOf(chunk, false); + if (mode !== chunkMode) { + if (mode >= 0) { + controller.enqueue(flush(buffers, mode)); + } + mode = chunkMode; + } + if (mode === -1) { + controller.enqueue(chunk); + return; + } + const chunkSize = sizeOf(chunk); + bytesSeen += chunkSize; + const bufferSize = sizeOf(buffers[mode]); + if (chunkSize >= size && bufferSize === 0) { + controller.enqueue(chunk); + } + else { + const newSize = merge(buffers, mode, chunk); + if (!streamBufferingLoggedWarning && bytesSeen > size * 2) { + streamBufferingLoggedWarning = true; + logger?.warn(`@smithy/util-stream - stream chunk size ${chunkSize} is below threshold of ${size}, automatically buffering.`); + } + if (newSize >= size) { + controller.enqueue(flush(buffers, mode)); + } + else { + await pull(controller); + } + } + } + }; + return new ReadableStream({ + pull, + }); +} +exports.createBufferedReadable = createBufferedReadableStream; +function merge(buffers, mode, chunk) { + switch (mode) { + case 0: + buffers[0] += chunk; + return sizeOf(buffers[0]); + case 1: + case 2: + buffers[mode].push(chunk); + return sizeOf(buffers[mode]); + } +} +function flush(buffers, mode) { + switch (mode) { + case 0: + const s = buffers[0]; + buffers[0] = ""; + return s; + case 1: + case 2: + return buffers[mode].flush(); + } + throw new Error(`@smithy/util-stream - invalid index ${mode} given to flush()`); +} +function sizeOf(chunk) { + return chunk?.byteLength ?? chunk?.length ?? 0; +} +function modeOf(chunk, allowBuffer = true) { + if (allowBuffer && typeof Buffer !== "undefined" && chunk instanceof Buffer) { + return 2; + } + if (chunk instanceof Uint8Array) { + return 1; + } + if (typeof chunk === "string") { + return 0; + } + return -1; +} diff --git a/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.browser.js b/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.browser.js new file mode 100644 index 0000000..d8e540c --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.browser.js @@ -0,0 +1,31 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getAwsChunkedEncodingStream = void 0; +const getAwsChunkedEncodingStream = (readableStream, options) => { + const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options; + const checksumRequired = base64Encoder !== undefined && + bodyLengthChecker !== undefined && + checksumAlgorithmFn !== undefined && + checksumLocationName !== undefined && + streamHasher !== undefined; + const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readableStream) : undefined; + const reader = readableStream.getReader(); + return new ReadableStream({ + async pull(controller) { + const { value, done } = await reader.read(); + if (done) { + controller.enqueue(`0\r\n`); + if (checksumRequired) { + const checksum = base64Encoder(await digest); + controller.enqueue(`${checksumLocationName}:${checksum}\r\n`); + controller.enqueue(`\r\n`); + } + controller.close(); + } + else { + controller.enqueue(`${(bodyLengthChecker(value) || 0).toString(16)}\r\n${value}\r\n`); + } + }, + }); +}; +exports.getAwsChunkedEncodingStream = getAwsChunkedEncodingStream; diff --git a/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js b/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js new file mode 100644 index 0000000..11b8ec8 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js @@ -0,0 +1,41 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getAwsChunkedEncodingStream = getAwsChunkedEncodingStream; +const node_stream_1 = require("node:stream"); +const getAwsChunkedEncodingStream_browser_1 = require("./getAwsChunkedEncodingStream.browser"); +const stream_type_check_1 = require("./stream-type-check"); +function getAwsChunkedEncodingStream(stream, options) { + const readable = stream; + const readableStream = stream; + if ((0, stream_type_check_1.isReadableStream)(readableStream)) { + return (0, getAwsChunkedEncodingStream_browser_1.getAwsChunkedEncodingStream)(readableStream, options); + } + const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options; + const checksumRequired = base64Encoder !== undefined && + checksumAlgorithmFn !== undefined && + checksumLocationName !== undefined && + streamHasher !== undefined; + const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readable) : undefined; + const awsChunkedEncodingStream = new node_stream_1.Readable({ + read: () => { }, + }); + readable.on("data", (data) => { + const length = bodyLengthChecker(data) || 0; + if (length === 0) { + return; + } + awsChunkedEncodingStream.push(`${length.toString(16)}\r\n`); + awsChunkedEncodingStream.push(data); + awsChunkedEncodingStream.push("\r\n"); + }); + readable.on("end", async () => { + awsChunkedEncodingStream.push(`0\r\n`); + if (checksumRequired) { + const checksum = base64Encoder(await digest); + awsChunkedEncodingStream.push(`${checksumLocationName}:${checksum}\r\n`); + awsChunkedEncodingStream.push(`\r\n`); + } + awsChunkedEncodingStream.push(null); + }); + return awsChunkedEncodingStream; +} diff --git a/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js b/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js new file mode 100644 index 0000000..e8413f2 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js @@ -0,0 +1,34 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.headStream = headStream; +async function headStream(stream, bytes) { + let byteLengthCounter = 0; + const chunks = []; + const reader = stream.getReader(); + let isDone = false; + while (!isDone) { + const { done, value } = await reader.read(); + if (value) { + chunks.push(value); + byteLengthCounter += value?.byteLength ?? 0; + } + if (byteLengthCounter >= bytes) { + break; + } + isDone = done; + } + reader.releaseLock(); + const collected = new Uint8Array(Math.min(bytes, byteLengthCounter)); + let offset = 0; + for (const chunk of chunks) { + if (chunk.byteLength > collected.byteLength - offset) { + collected.set(chunk.subarray(0, collected.byteLength - offset), offset); + break; + } + else { + collected.set(chunk, offset); + } + offset += chunk.length; + } + return collected; +} diff --git a/node_modules/@smithy/util-stream/dist-cjs/headStream.js b/node_modules/@smithy/util-stream/dist-cjs/headStream.js new file mode 100644 index 0000000..4e76633 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-cjs/headStream.js @@ -0,0 +1,42 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.headStream = void 0; +const stream_1 = require("stream"); +const headStream_browser_1 = require("./headStream.browser"); +const stream_type_check_1 = require("./stream-type-check"); +const headStream = (stream, bytes) => { + if ((0, stream_type_check_1.isReadableStream)(stream)) { + return (0, headStream_browser_1.headStream)(stream, bytes); + } + return new Promise((resolve, reject) => { + const collector = new Collector(); + collector.limit = bytes; + stream.pipe(collector); + stream.on("error", (err) => { + collector.end(); + reject(err); + }); + collector.on("error", reject); + collector.on("finish", function () { + const bytes = new Uint8Array(Buffer.concat(this.buffers)); + resolve(bytes); + }); + }); +}; +exports.headStream = headStream; +class Collector extends stream_1.Writable { + buffers = []; + limit = Infinity; + bytesBuffered = 0; + _write(chunk, encoding, callback) { + this.buffers.push(chunk); + this.bytesBuffered += chunk.byteLength ?? 0; + if (this.bytesBuffered >= this.limit) { + const excess = this.bytesBuffered - this.limit; + const tailBuffer = this.buffers[this.buffers.length - 1]; + this.buffers[this.buffers.length - 1] = tailBuffer.subarray(0, tailBuffer.byteLength - excess); + this.emit("finish"); + } + callback(); + } +} diff --git a/node_modules/@smithy/util-stream/dist-cjs/index.js b/node_modules/@smithy/util-stream/dist-cjs/index.js new file mode 100644 index 0000000..6f6ff3d --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-cjs/index.js @@ -0,0 +1,108 @@ +'use strict'; + +var utilBase64 = require('@smithy/util-base64'); +var utilUtf8 = require('@smithy/util-utf8'); +var ChecksumStream = require('./checksum/ChecksumStream'); +var createChecksumStream = require('./checksum/createChecksumStream'); +var createBufferedReadable = require('./createBufferedReadable'); +var getAwsChunkedEncodingStream = require('./getAwsChunkedEncodingStream'); +var headStream = require('./headStream'); +var sdkStreamMixin = require('./sdk-stream-mixin'); +var splitStream = require('./splitStream'); +var streamTypeCheck = require('./stream-type-check'); + +class Uint8ArrayBlobAdapter extends Uint8Array { + static fromString(source, encoding = "utf-8") { + if (typeof source === "string") { + if (encoding === "base64") { + return Uint8ArrayBlobAdapter.mutate(utilBase64.fromBase64(source)); + } + return Uint8ArrayBlobAdapter.mutate(utilUtf8.fromUtf8(source)); + } + throw new Error(`Unsupported conversion from ${typeof source} to Uint8ArrayBlobAdapter.`); + } + static mutate(source) { + Object.setPrototypeOf(source, Uint8ArrayBlobAdapter.prototype); + return source; + } + transformToString(encoding = "utf-8") { + if (encoding === "base64") { + return utilBase64.toBase64(this); + } + return utilUtf8.toUtf8(this); + } +} + +exports.isBlob = streamTypeCheck.isBlob; +exports.isReadableStream = streamTypeCheck.isReadableStream; +exports.Uint8ArrayBlobAdapter = Uint8ArrayBlobAdapter; +Object.prototype.hasOwnProperty.call(ChecksumStream, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: ChecksumStream['__proto__'] + }); + +Object.keys(ChecksumStream).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = ChecksumStream[k]; +}); +Object.prototype.hasOwnProperty.call(createChecksumStream, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: createChecksumStream['__proto__'] + }); + +Object.keys(createChecksumStream).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = createChecksumStream[k]; +}); +Object.prototype.hasOwnProperty.call(createBufferedReadable, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: createBufferedReadable['__proto__'] + }); + +Object.keys(createBufferedReadable).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = createBufferedReadable[k]; +}); +Object.prototype.hasOwnProperty.call(getAwsChunkedEncodingStream, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: getAwsChunkedEncodingStream['__proto__'] + }); + +Object.keys(getAwsChunkedEncodingStream).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = getAwsChunkedEncodingStream[k]; +}); +Object.prototype.hasOwnProperty.call(headStream, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: headStream['__proto__'] + }); + +Object.keys(headStream).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = headStream[k]; +}); +Object.prototype.hasOwnProperty.call(sdkStreamMixin, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: sdkStreamMixin['__proto__'] + }); + +Object.keys(sdkStreamMixin).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = sdkStreamMixin[k]; +}); +Object.prototype.hasOwnProperty.call(splitStream, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: splitStream['__proto__'] + }); + +Object.keys(splitStream).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = splitStream[k]; +}); diff --git a/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js b/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js new file mode 100644 index 0000000..222c5f7 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js @@ -0,0 +1,68 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.sdkStreamMixin = void 0; +const fetch_http_handler_1 = require("@smithy/fetch-http-handler"); +const util_base64_1 = require("@smithy/util-base64"); +const util_hex_encoding_1 = require("@smithy/util-hex-encoding"); +const util_utf8_1 = require("@smithy/util-utf8"); +const stream_type_check_1 = require("./stream-type-check"); +const ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed."; +const sdkStreamMixin = (stream) => { + if (!isBlobInstance(stream) && !(0, stream_type_check_1.isReadableStream)(stream)) { + const name = stream?.__proto__?.constructor?.name || stream; + throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${name}`); + } + let transformed = false; + const transformToByteArray = async () => { + if (transformed) { + throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + } + transformed = true; + return await (0, fetch_http_handler_1.streamCollector)(stream); + }; + const blobToWebStream = (blob) => { + if (typeof blob.stream !== "function") { + throw new Error("Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.\n" + + "If you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body"); + } + return blob.stream(); + }; + return Object.assign(stream, { + transformToByteArray: transformToByteArray, + transformToString: async (encoding) => { + const buf = await transformToByteArray(); + if (encoding === "base64") { + return (0, util_base64_1.toBase64)(buf); + } + else if (encoding === "hex") { + return (0, util_hex_encoding_1.toHex)(buf); + } + else if (encoding === undefined || encoding === "utf8" || encoding === "utf-8") { + return (0, util_utf8_1.toUtf8)(buf); + } + else if (typeof TextDecoder === "function") { + return new TextDecoder(encoding).decode(buf); + } + else { + throw new Error("TextDecoder is not available, please make sure polyfill is provided."); + } + }, + transformToWebStream: () => { + if (transformed) { + throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + } + transformed = true; + if (isBlobInstance(stream)) { + return blobToWebStream(stream); + } + else if ((0, stream_type_check_1.isReadableStream)(stream)) { + return stream; + } + else { + throw new Error(`Cannot transform payload to web stream, got ${stream}`); + } + }, + }); +}; +exports.sdkStreamMixin = sdkStreamMixin; +const isBlobInstance = (stream) => typeof Blob === "function" && stream instanceof Blob; diff --git a/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js b/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js new file mode 100644 index 0000000..31d8da1 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js @@ -0,0 +1,54 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.sdkStreamMixin = void 0; +const node_http_handler_1 = require("@smithy/node-http-handler"); +const util_buffer_from_1 = require("@smithy/util-buffer-from"); +const stream_1 = require("stream"); +const sdk_stream_mixin_browser_1 = require("./sdk-stream-mixin.browser"); +const ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed."; +const sdkStreamMixin = (stream) => { + if (!(stream instanceof stream_1.Readable)) { + try { + return (0, sdk_stream_mixin_browser_1.sdkStreamMixin)(stream); + } + catch (e) { + const name = stream?.__proto__?.constructor?.name || stream; + throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${name}`); + } + } + let transformed = false; + const transformToByteArray = async () => { + if (transformed) { + throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + } + transformed = true; + return await (0, node_http_handler_1.streamCollector)(stream); + }; + return Object.assign(stream, { + transformToByteArray, + transformToString: async (encoding) => { + const buf = await transformToByteArray(); + if (encoding === undefined || Buffer.isEncoding(encoding)) { + return (0, util_buffer_from_1.fromArrayBuffer)(buf.buffer, buf.byteOffset, buf.byteLength).toString(encoding); + } + else { + const decoder = new TextDecoder(encoding); + return decoder.decode(buf); + } + }, + transformToWebStream: () => { + if (transformed) { + throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + } + if (stream.readableFlowing !== null) { + throw new Error("The stream has been consumed by other callbacks."); + } + if (typeof stream_1.Readable.toWeb !== "function") { + throw new Error("Readable.toWeb() is not supported. Please ensure a polyfill is available."); + } + transformed = true; + return stream_1.Readable.toWeb(stream); + }, + }); +}; +exports.sdkStreamMixin = sdkStreamMixin; diff --git a/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js b/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js new file mode 100644 index 0000000..1a4cc07 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.splitStream = splitStream; +async function splitStream(stream) { + if (typeof stream.stream === "function") { + stream = stream.stream(); + } + const readableStream = stream; + return readableStream.tee(); +} diff --git a/node_modules/@smithy/util-stream/dist-cjs/splitStream.js b/node_modules/@smithy/util-stream/dist-cjs/splitStream.js new file mode 100644 index 0000000..a60ffad --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-cjs/splitStream.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.splitStream = splitStream; +const stream_1 = require("stream"); +const splitStream_browser_1 = require("./splitStream.browser"); +const stream_type_check_1 = require("./stream-type-check"); +async function splitStream(stream) { + if ((0, stream_type_check_1.isReadableStream)(stream) || (0, stream_type_check_1.isBlob)(stream)) { + return (0, splitStream_browser_1.splitStream)(stream); + } + const stream1 = new stream_1.PassThrough(); + const stream2 = new stream_1.PassThrough(); + stream.pipe(stream1); + stream.pipe(stream2); + return [stream1, stream2]; +} diff --git a/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js b/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js new file mode 100644 index 0000000..c4648f8 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.isBlob = exports.isReadableStream = void 0; +const isReadableStream = (stream) => typeof ReadableStream === "function" && + (stream?.constructor?.name === ReadableStream.name || stream instanceof ReadableStream); +exports.isReadableStream = isReadableStream; +const isBlob = (blob) => { + return typeof Blob === "function" && (blob?.constructor?.name === Blob.name || blob instanceof Blob); +}; +exports.isBlob = isBlob; diff --git a/node_modules/@smithy/util-stream/dist-es/ByteArrayCollector.js b/node_modules/@smithy/util-stream/dist-es/ByteArrayCollector.js new file mode 100644 index 0000000..eb2a4bb --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-es/ByteArrayCollector.js @@ -0,0 +1,32 @@ +export class ByteArrayCollector { + allocByteArray; + byteLength = 0; + byteArrays = []; + constructor(allocByteArray) { + this.allocByteArray = allocByteArray; + } + push(byteArray) { + this.byteArrays.push(byteArray); + this.byteLength += byteArray.byteLength; + } + flush() { + if (this.byteArrays.length === 1) { + const bytes = this.byteArrays[0]; + this.reset(); + return bytes; + } + const aggregation = this.allocByteArray(this.byteLength); + let cursor = 0; + for (let i = 0; i < this.byteArrays.length; ++i) { + const bytes = this.byteArrays[i]; + aggregation.set(bytes, cursor); + cursor += bytes.byteLength; + } + this.reset(); + return aggregation; + } + reset() { + this.byteArrays = []; + this.byteLength = 0; + } +} diff --git a/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js b/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js new file mode 100644 index 0000000..49217bb --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js @@ -0,0 +1,23 @@ +import { fromBase64, toBase64 } from "@smithy/util-base64"; +import { fromUtf8, toUtf8 } from "@smithy/util-utf8"; +export class Uint8ArrayBlobAdapter extends Uint8Array { + static fromString(source, encoding = "utf-8") { + if (typeof source === "string") { + if (encoding === "base64") { + return Uint8ArrayBlobAdapter.mutate(fromBase64(source)); + } + return Uint8ArrayBlobAdapter.mutate(fromUtf8(source)); + } + throw new Error(`Unsupported conversion from ${typeof source} to Uint8ArrayBlobAdapter.`); + } + static mutate(source) { + Object.setPrototypeOf(source, Uint8ArrayBlobAdapter.prototype); + return source; + } + transformToString(encoding = "utf-8") { + if (encoding === "base64") { + return toBase64(this); + } + return toUtf8(this); + } +} diff --git a/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.browser.js b/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.browser.js new file mode 100644 index 0000000..afcf529 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.browser.js @@ -0,0 +1,3 @@ +const ReadableStreamRef = typeof ReadableStream === "function" ? ReadableStream : function () { }; +export class ChecksumStream extends ReadableStreamRef { +} diff --git a/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js b/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js new file mode 100644 index 0000000..772cc1c --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js @@ -0,0 +1,60 @@ +import { toBase64 } from "@smithy/util-base64"; +import { Duplex } from "stream"; +export class ChecksumStream extends Duplex { + expectedChecksum; + checksumSourceLocation; + checksum; + source; + base64Encoder; + pendingCallback = null; + constructor({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }) { + super(); + if (typeof source.pipe === "function") { + this.source = source; + } + else { + throw new Error(`@smithy/util-stream: unsupported source type ${source?.constructor?.name ?? source} in ChecksumStream.`); + } + this.base64Encoder = base64Encoder ?? toBase64; + this.expectedChecksum = expectedChecksum; + this.checksum = checksum; + this.checksumSourceLocation = checksumSourceLocation; + this.source.pipe(this); + } + _read(size) { + if (this.pendingCallback) { + const callback = this.pendingCallback; + this.pendingCallback = null; + callback(); + } + } + _write(chunk, encoding, callback) { + try { + this.checksum.update(chunk); + const canPushMore = this.push(chunk); + if (!canPushMore) { + this.pendingCallback = callback; + return; + } + } + catch (e) { + return callback(e); + } + return callback(); + } + async _final(callback) { + try { + const digest = await this.checksum.digest(); + const received = this.base64Encoder(digest); + if (this.expectedChecksum !== received) { + return callback(new Error(`Checksum mismatch: expected "${this.expectedChecksum}" but received "${received}"` + + ` in response header "${this.checksumSourceLocation}".`)); + } + } + catch (e) { + return callback(e); + } + this.push(null); + return callback(); + } +} diff --git a/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.browser.js b/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.browser.js new file mode 100644 index 0000000..6a41c12 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.browser.js @@ -0,0 +1,35 @@ +import { toBase64 } from "@smithy/util-base64"; +import { isReadableStream } from "../stream-type-check"; +import { ChecksumStream } from "./ChecksumStream.browser"; +export const createChecksumStream = ({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }) => { + if (!isReadableStream(source)) { + throw new Error(`@smithy/util-stream: unsupported source type ${source?.constructor?.name ?? source} in ChecksumStream.`); + } + const encoder = base64Encoder ?? toBase64; + if (typeof TransformStream !== "function") { + throw new Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream."); + } + const transform = new TransformStream({ + start() { }, + async transform(chunk, controller) { + checksum.update(chunk); + controller.enqueue(chunk); + }, + async flush(controller) { + const digest = await checksum.digest(); + const received = encoder(digest); + if (expectedChecksum !== received) { + const error = new Error(`Checksum mismatch: expected "${expectedChecksum}" but received "${received}"` + + ` in response header "${checksumSourceLocation}".`); + controller.error(error); + } + else { + controller.terminate(); + } + }, + }); + source.pipeThrough(transform); + const readable = transform.readable; + Object.setPrototypeOf(readable, ChecksumStream.prototype); + return readable; +}; diff --git a/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.js b/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.js new file mode 100644 index 0000000..d205b82 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.js @@ -0,0 +1,9 @@ +import { isReadableStream } from "../stream-type-check"; +import { ChecksumStream } from "./ChecksumStream"; +import { createChecksumStream as createChecksumStreamWeb } from "./createChecksumStream.browser"; +export function createChecksumStream(init) { + if (typeof ReadableStream === "function" && isReadableStream(init.source)) { + return createChecksumStreamWeb(init); + } + return new ChecksumStream(init); +} diff --git a/node_modules/@smithy/util-stream/dist-es/createBufferedReadable.js b/node_modules/@smithy/util-stream/dist-es/createBufferedReadable.js new file mode 100644 index 0000000..0e3bbce --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-es/createBufferedReadable.js @@ -0,0 +1,57 @@ +import { Readable } from "node:stream"; +import { ByteArrayCollector } from "./ByteArrayCollector"; +import { createBufferedReadableStream, flush, merge, modeOf, sizeOf } from "./createBufferedReadableStream"; +import { isReadableStream } from "./stream-type-check"; +export function createBufferedReadable(upstream, size, logger) { + if (isReadableStream(upstream)) { + return createBufferedReadableStream(upstream, size, logger); + } + const downstream = new Readable({ read() { } }); + let streamBufferingLoggedWarning = false; + let bytesSeen = 0; + const buffers = [ + "", + new ByteArrayCollector((size) => new Uint8Array(size)), + new ByteArrayCollector((size) => Buffer.from(new Uint8Array(size))), + ]; + let mode = -1; + upstream.on("data", (chunk) => { + const chunkMode = modeOf(chunk, true); + if (mode !== chunkMode) { + if (mode >= 0) { + downstream.push(flush(buffers, mode)); + } + mode = chunkMode; + } + if (mode === -1) { + downstream.push(chunk); + return; + } + const chunkSize = sizeOf(chunk); + bytesSeen += chunkSize; + const bufferSize = sizeOf(buffers[mode]); + if (chunkSize >= size && bufferSize === 0) { + downstream.push(chunk); + } + else { + const newSize = merge(buffers, mode, chunk); + if (!streamBufferingLoggedWarning && bytesSeen > size * 2) { + streamBufferingLoggedWarning = true; + logger?.warn(`@smithy/util-stream - stream chunk size ${chunkSize} is below threshold of ${size}, automatically buffering.`); + } + if (newSize >= size) { + downstream.push(flush(buffers, mode)); + } + } + }); + upstream.on("end", () => { + if (mode !== -1) { + const remainder = flush(buffers, mode); + if (sizeOf(remainder) > 0) { + downstream.push(remainder); + } + } + downstream.push(null); + }); + return downstream; +} diff --git a/node_modules/@smithy/util-stream/dist-es/createBufferedReadableStream.js b/node_modules/@smithy/util-stream/dist-es/createBufferedReadableStream.js new file mode 100644 index 0000000..698a757 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-es/createBufferedReadableStream.js @@ -0,0 +1,95 @@ +import { ByteArrayCollector } from "./ByteArrayCollector"; +export function createBufferedReadableStream(upstream, size, logger) { + const reader = upstream.getReader(); + let streamBufferingLoggedWarning = false; + let bytesSeen = 0; + const buffers = ["", new ByteArrayCollector((size) => new Uint8Array(size))]; + let mode = -1; + const pull = async (controller) => { + const { value, done } = await reader.read(); + const chunk = value; + if (done) { + if (mode !== -1) { + const remainder = flush(buffers, mode); + if (sizeOf(remainder) > 0) { + controller.enqueue(remainder); + } + } + controller.close(); + } + else { + const chunkMode = modeOf(chunk, false); + if (mode !== chunkMode) { + if (mode >= 0) { + controller.enqueue(flush(buffers, mode)); + } + mode = chunkMode; + } + if (mode === -1) { + controller.enqueue(chunk); + return; + } + const chunkSize = sizeOf(chunk); + bytesSeen += chunkSize; + const bufferSize = sizeOf(buffers[mode]); + if (chunkSize >= size && bufferSize === 0) { + controller.enqueue(chunk); + } + else { + const newSize = merge(buffers, mode, chunk); + if (!streamBufferingLoggedWarning && bytesSeen > size * 2) { + streamBufferingLoggedWarning = true; + logger?.warn(`@smithy/util-stream - stream chunk size ${chunkSize} is below threshold of ${size}, automatically buffering.`); + } + if (newSize >= size) { + controller.enqueue(flush(buffers, mode)); + } + else { + await pull(controller); + } + } + } + }; + return new ReadableStream({ + pull, + }); +} +export const createBufferedReadable = createBufferedReadableStream; +export function merge(buffers, mode, chunk) { + switch (mode) { + case 0: + buffers[0] += chunk; + return sizeOf(buffers[0]); + case 1: + case 2: + buffers[mode].push(chunk); + return sizeOf(buffers[mode]); + } +} +export function flush(buffers, mode) { + switch (mode) { + case 0: + const s = buffers[0]; + buffers[0] = ""; + return s; + case 1: + case 2: + return buffers[mode].flush(); + } + throw new Error(`@smithy/util-stream - invalid index ${mode} given to flush()`); +} +export function sizeOf(chunk) { + return chunk?.byteLength ?? chunk?.length ?? 0; +} +export function modeOf(chunk, allowBuffer = true) { + if (allowBuffer && typeof Buffer !== "undefined" && chunk instanceof Buffer) { + return 2; + } + if (chunk instanceof Uint8Array) { + return 1; + } + if (typeof chunk === "string") { + return 0; + } + return -1; +} diff --git a/node_modules/@smithy/util-stream/dist-es/getAwsChunkedEncodingStream.browser.js b/node_modules/@smithy/util-stream/dist-es/getAwsChunkedEncodingStream.browser.js new file mode 100644 index 0000000..b5d5fa4 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-es/getAwsChunkedEncodingStream.browser.js @@ -0,0 +1,27 @@ +export const getAwsChunkedEncodingStream = (readableStream, options) => { + const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options; + const checksumRequired = base64Encoder !== undefined && + bodyLengthChecker !== undefined && + checksumAlgorithmFn !== undefined && + checksumLocationName !== undefined && + streamHasher !== undefined; + const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readableStream) : undefined; + const reader = readableStream.getReader(); + return new ReadableStream({ + async pull(controller) { + const { value, done } = await reader.read(); + if (done) { + controller.enqueue(`0\r\n`); + if (checksumRequired) { + const checksum = base64Encoder(await digest); + controller.enqueue(`${checksumLocationName}:${checksum}\r\n`); + controller.enqueue(`\r\n`); + } + controller.close(); + } + else { + controller.enqueue(`${(bodyLengthChecker(value) || 0).toString(16)}\r\n${value}\r\n`); + } + }, + }); +}; diff --git a/node_modules/@smithy/util-stream/dist-es/getAwsChunkedEncodingStream.js b/node_modules/@smithy/util-stream/dist-es/getAwsChunkedEncodingStream.js new file mode 100644 index 0000000..7d24fb5 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-es/getAwsChunkedEncodingStream.js @@ -0,0 +1,38 @@ +import { Readable } from "node:stream"; +import { getAwsChunkedEncodingStream as getAwsChunkedEncodingStreamBrowser } from "./getAwsChunkedEncodingStream.browser"; +import { isReadableStream } from "./stream-type-check"; +export function getAwsChunkedEncodingStream(stream, options) { + const readable = stream; + const readableStream = stream; + if (isReadableStream(readableStream)) { + return getAwsChunkedEncodingStreamBrowser(readableStream, options); + } + const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options; + const checksumRequired = base64Encoder !== undefined && + checksumAlgorithmFn !== undefined && + checksumLocationName !== undefined && + streamHasher !== undefined; + const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readable) : undefined; + const awsChunkedEncodingStream = new Readable({ + read: () => { }, + }); + readable.on("data", (data) => { + const length = bodyLengthChecker(data) || 0; + if (length === 0) { + return; + } + awsChunkedEncodingStream.push(`${length.toString(16)}\r\n`); + awsChunkedEncodingStream.push(data); + awsChunkedEncodingStream.push("\r\n"); + }); + readable.on("end", async () => { + awsChunkedEncodingStream.push(`0\r\n`); + if (checksumRequired) { + const checksum = base64Encoder(await digest); + awsChunkedEncodingStream.push(`${checksumLocationName}:${checksum}\r\n`); + awsChunkedEncodingStream.push(`\r\n`); + } + awsChunkedEncodingStream.push(null); + }); + return awsChunkedEncodingStream; +} diff --git a/node_modules/@smithy/util-stream/dist-es/headStream.browser.js b/node_modules/@smithy/util-stream/dist-es/headStream.browser.js new file mode 100644 index 0000000..4e7f864 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-es/headStream.browser.js @@ -0,0 +1,31 @@ +export async function headStream(stream, bytes) { + let byteLengthCounter = 0; + const chunks = []; + const reader = stream.getReader(); + let isDone = false; + while (!isDone) { + const { done, value } = await reader.read(); + if (value) { + chunks.push(value); + byteLengthCounter += value?.byteLength ?? 0; + } + if (byteLengthCounter >= bytes) { + break; + } + isDone = done; + } + reader.releaseLock(); + const collected = new Uint8Array(Math.min(bytes, byteLengthCounter)); + let offset = 0; + for (const chunk of chunks) { + if (chunk.byteLength > collected.byteLength - offset) { + collected.set(chunk.subarray(0, collected.byteLength - offset), offset); + break; + } + else { + collected.set(chunk, offset); + } + offset += chunk.length; + } + return collected; +} diff --git a/node_modules/@smithy/util-stream/dist-es/headStream.js b/node_modules/@smithy/util-stream/dist-es/headStream.js new file mode 100644 index 0000000..0f66e29 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-es/headStream.js @@ -0,0 +1,38 @@ +import { Writable } from "stream"; +import { headStream as headWebStream } from "./headStream.browser"; +import { isReadableStream } from "./stream-type-check"; +export const headStream = (stream, bytes) => { + if (isReadableStream(stream)) { + return headWebStream(stream, bytes); + } + return new Promise((resolve, reject) => { + const collector = new Collector(); + collector.limit = bytes; + stream.pipe(collector); + stream.on("error", (err) => { + collector.end(); + reject(err); + }); + collector.on("error", reject); + collector.on("finish", function () { + const bytes = new Uint8Array(Buffer.concat(this.buffers)); + resolve(bytes); + }); + }); +}; +class Collector extends Writable { + buffers = []; + limit = Infinity; + bytesBuffered = 0; + _write(chunk, encoding, callback) { + this.buffers.push(chunk); + this.bytesBuffered += chunk.byteLength ?? 0; + if (this.bytesBuffered >= this.limit) { + const excess = this.bytesBuffered - this.limit; + const tailBuffer = this.buffers[this.buffers.length - 1]; + this.buffers[this.buffers.length - 1] = tailBuffer.subarray(0, tailBuffer.byteLength - excess); + this.emit("finish"); + } + callback(); + } +} diff --git a/node_modules/@smithy/util-stream/dist-es/index.js b/node_modules/@smithy/util-stream/dist-es/index.js new file mode 100644 index 0000000..9ed4b0a --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-es/index.js @@ -0,0 +1,9 @@ +export * from "./blob/Uint8ArrayBlobAdapter"; +export * from "./checksum/ChecksumStream"; +export * from "./checksum/createChecksumStream"; +export * from "./createBufferedReadable"; +export * from "./getAwsChunkedEncodingStream"; +export * from "./headStream"; +export * from "./sdk-stream-mixin"; +export * from "./splitStream"; +export { isReadableStream, isBlob } from "./stream-type-check"; diff --git a/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.browser.js b/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.browser.js new file mode 100644 index 0000000..f21ff66 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.browser.js @@ -0,0 +1,64 @@ +import { streamCollector } from "@smithy/fetch-http-handler"; +import { toBase64 } from "@smithy/util-base64"; +import { toHex } from "@smithy/util-hex-encoding"; +import { toUtf8 } from "@smithy/util-utf8"; +import { isReadableStream } from "./stream-type-check"; +const ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed."; +export const sdkStreamMixin = (stream) => { + if (!isBlobInstance(stream) && !isReadableStream(stream)) { + const name = stream?.__proto__?.constructor?.name || stream; + throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${name}`); + } + let transformed = false; + const transformToByteArray = async () => { + if (transformed) { + throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + } + transformed = true; + return await streamCollector(stream); + }; + const blobToWebStream = (blob) => { + if (typeof blob.stream !== "function") { + throw new Error("Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.\n" + + "If you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body"); + } + return blob.stream(); + }; + return Object.assign(stream, { + transformToByteArray: transformToByteArray, + transformToString: async (encoding) => { + const buf = await transformToByteArray(); + if (encoding === "base64") { + return toBase64(buf); + } + else if (encoding === "hex") { + return toHex(buf); + } + else if (encoding === undefined || encoding === "utf8" || encoding === "utf-8") { + return toUtf8(buf); + } + else if (typeof TextDecoder === "function") { + return new TextDecoder(encoding).decode(buf); + } + else { + throw new Error("TextDecoder is not available, please make sure polyfill is provided."); + } + }, + transformToWebStream: () => { + if (transformed) { + throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + } + transformed = true; + if (isBlobInstance(stream)) { + return blobToWebStream(stream); + } + else if (isReadableStream(stream)) { + return stream; + } + else { + throw new Error(`Cannot transform payload to web stream, got ${stream}`); + } + }, + }); +}; +const isBlobInstance = (stream) => typeof Blob === "function" && stream instanceof Blob; diff --git a/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js b/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js new file mode 100644 index 0000000..4731333 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js @@ -0,0 +1,50 @@ +import { streamCollector } from "@smithy/node-http-handler"; +import { fromArrayBuffer } from "@smithy/util-buffer-from"; +import { Readable } from "stream"; +import { sdkStreamMixin as sdkStreamMixinReadableStream } from "./sdk-stream-mixin.browser"; +const ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed."; +export const sdkStreamMixin = (stream) => { + if (!(stream instanceof Readable)) { + try { + return sdkStreamMixinReadableStream(stream); + } + catch (e) { + const name = stream?.__proto__?.constructor?.name || stream; + throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${name}`); + } + } + let transformed = false; + const transformToByteArray = async () => { + if (transformed) { + throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + } + transformed = true; + return await streamCollector(stream); + }; + return Object.assign(stream, { + transformToByteArray, + transformToString: async (encoding) => { + const buf = await transformToByteArray(); + if (encoding === undefined || Buffer.isEncoding(encoding)) { + return fromArrayBuffer(buf.buffer, buf.byteOffset, buf.byteLength).toString(encoding); + } + else { + const decoder = new TextDecoder(encoding); + return decoder.decode(buf); + } + }, + transformToWebStream: () => { + if (transformed) { + throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + } + if (stream.readableFlowing !== null) { + throw new Error("The stream has been consumed by other callbacks."); + } + if (typeof Readable.toWeb !== "function") { + throw new Error("Readable.toWeb() is not supported. Please ensure a polyfill is available."); + } + transformed = true; + return Readable.toWeb(stream); + }, + }); +}; diff --git a/node_modules/@smithy/util-stream/dist-es/splitStream.browser.js b/node_modules/@smithy/util-stream/dist-es/splitStream.browser.js new file mode 100644 index 0000000..6f06b0e --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-es/splitStream.browser.js @@ -0,0 +1,7 @@ +export async function splitStream(stream) { + if (typeof stream.stream === "function") { + stream = stream.stream(); + } + const readableStream = stream; + return readableStream.tee(); +} diff --git a/node_modules/@smithy/util-stream/dist-es/splitStream.js b/node_modules/@smithy/util-stream/dist-es/splitStream.js new file mode 100644 index 0000000..1a8c032 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-es/splitStream.js @@ -0,0 +1,13 @@ +import { PassThrough } from "stream"; +import { splitStream as splitWebStream } from "./splitStream.browser"; +import { isBlob, isReadableStream } from "./stream-type-check"; +export async function splitStream(stream) { + if (isReadableStream(stream) || isBlob(stream)) { + return splitWebStream(stream); + } + const stream1 = new PassThrough(); + const stream2 = new PassThrough(); + stream.pipe(stream1); + stream.pipe(stream2); + return [stream1, stream2]; +} diff --git a/node_modules/@smithy/util-stream/dist-es/stream-type-check.js b/node_modules/@smithy/util-stream/dist-es/stream-type-check.js new file mode 100644 index 0000000..6ee93a3 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-es/stream-type-check.js @@ -0,0 +1,5 @@ +export const isReadableStream = (stream) => typeof ReadableStream === "function" && + (stream?.constructor?.name === ReadableStream.name || stream instanceof ReadableStream); +export const isBlob = (blob) => { + return typeof Blob === "function" && (blob?.constructor?.name === Blob.name || blob instanceof Blob); +}; diff --git a/node_modules/@smithy/util-stream/dist-types/ByteArrayCollector.d.ts b/node_modules/@smithy/util-stream/dist-types/ByteArrayCollector.d.ts new file mode 100644 index 0000000..a1bbd53 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/ByteArrayCollector.d.ts @@ -0,0 +1,13 @@ +/** + * Aggregates byteArrays on demand. + * @internal + */ +export declare class ByteArrayCollector { + readonly allocByteArray: (size: number) => Uint8Array; + byteLength: number; + private byteArrays; + constructor(allocByteArray: (size: number) => Uint8Array); + push(byteArray: Uint8Array): void; + flush(): Uint8Array; + private reset; +} diff --git a/node_modules/@smithy/util-stream/dist-types/blob/Uint8ArrayBlobAdapter.d.ts b/node_modules/@smithy/util-stream/dist-types/blob/Uint8ArrayBlobAdapter.d.ts new file mode 100644 index 0000000..269f2b5 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/blob/Uint8ArrayBlobAdapter.d.ts @@ -0,0 +1,22 @@ +/** + * Adapter for conversions of the native Uint8Array type. + * @public + */ +export declare class Uint8ArrayBlobAdapter extends Uint8Array { + /** + * @param source - such as a string or Stream. + * @param encoding - utf-8 or base64. + * @returns a new Uint8ArrayBlobAdapter extending Uint8Array. + */ + static fromString(source: string, encoding?: string): Uint8ArrayBlobAdapter; + /** + * @param source - Uint8Array to be mutated. + * @returns the same Uint8Array but with prototype switched to Uint8ArrayBlobAdapter. + */ + static mutate(source: Uint8Array): Uint8ArrayBlobAdapter; + /** + * @param encoding - default 'utf-8'. + * @returns the blob as string. + */ + transformToString(encoding?: string): string; +} diff --git a/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.browser.d.ts b/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.browser.d.ts new file mode 100644 index 0000000..c7fc371 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.browser.d.ts @@ -0,0 +1,37 @@ +import type { Checksum, Encoder } from "@smithy/types"; +/** + * @internal + */ +export interface ChecksumStreamInit { + /** + * Base64 value of the expected checksum. + */ + expectedChecksum: string; + /** + * For error messaging, the location from which the checksum value was read. + */ + checksumSourceLocation: string; + /** + * The checksum calculator. + */ + checksum: Checksum; + /** + * The stream to be checked. + */ + source: ReadableStream; + /** + * Optional base 64 encoder if calling from a request context. + */ + base64Encoder?: Encoder; +} +declare const ChecksumStream_base: any; +/** + * This stub exists so that the readable returned by createChecksumStream + * identifies as "ChecksumStream" in alignment with the Node.js + * implementation. + * + * @extends ReadableStream + */ +export declare class ChecksumStream extends ChecksumStream_base { +} +export {}; diff --git a/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts b/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts new file mode 100644 index 0000000..67c8c35 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts @@ -0,0 +1,61 @@ +import type { Checksum, Encoder } from "@smithy/types"; +import type { Readable } from "stream"; +import { Duplex } from "stream"; +/** + * @internal + */ +export interface ChecksumStreamInit { + /** + * Base64 value of the expected checksum. + */ + expectedChecksum: string; + /** + * For error messaging, the location from which the checksum value was read. + */ + checksumSourceLocation: string; + /** + * The checksum calculator. + */ + checksum: Checksum; + /** + * The stream to be checked. + */ + source: T; + /** + * Optional base 64 encoder if calling from a request context. + */ + base64Encoder?: Encoder; +} +/** + * Wrapper for throwing checksum errors for streams without + * buffering the stream. + * + * @internal + */ +export declare class ChecksumStream extends Duplex { + private expectedChecksum; + private checksumSourceLocation; + private checksum; + private source?; + private base64Encoder; + private pendingCallback; + constructor({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }: ChecksumStreamInit); + /** + * Do not call this directly. + * @internal + */ + _read(size: number): void; + /** + * When the upstream source flows data to this stream, + * calculate a step update of the checksum. + * Do not call this directly. + * @internal + */ + _write(chunk: Buffer, encoding: string, callback: (err?: Error) => void): void; + /** + * When the upstream source finishes, perform the checksum comparison. + * Do not call this directly. + * @internal + */ + _final(callback: (err?: Error) => void): Promise; +} diff --git a/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts b/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts new file mode 100644 index 0000000..a2e6845 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts @@ -0,0 +1,14 @@ +import type { ChecksumStreamInit } from "./ChecksumStream.browser"; +/** + * Alias prevents compiler from turning + * ReadableStream into ReadableStream, which is incompatible + * with the NodeJS.ReadableStream global type. + * @internal + */ +export type ReadableStreamType = ReadableStream; +/** + * Creates a stream adapter for throwing checksum errors for streams without + * buffering the stream. + * @internal + */ +export declare const createChecksumStream: ({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }: ChecksumStreamInit) => ReadableStreamType; diff --git a/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts b/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts new file mode 100644 index 0000000..d45b944 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts @@ -0,0 +1,13 @@ +import type { Readable } from "stream"; +import type { ChecksumStreamInit } from "./ChecksumStream"; +import type { ReadableStreamType } from "./createChecksumStream.browser"; +/** + * Creates a stream mirroring the input stream's interface, but + * performs checksumming when reading to the end of the stream. + * @internal + */ +export declare function createChecksumStream(init: ChecksumStreamInit): ReadableStreamType; +/** + * @internal + */ +export declare function createChecksumStream(init: ChecksumStreamInit): Readable; diff --git a/node_modules/@smithy/util-stream/dist-types/createBufferedReadable.d.ts b/node_modules/@smithy/util-stream/dist-types/createBufferedReadable.d.ts new file mode 100644 index 0000000..2df8c3b --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/createBufferedReadable.d.ts @@ -0,0 +1,15 @@ +import type { Logger } from "@smithy/types"; +import { Readable } from "node:stream"; +/** + * @internal + * @param upstream - any Readable or ReadableStream. + * @param size - byte or character length minimum. Buffering occurs when a chunk fails to meet this value. + * @param logger - for emitting warnings when buffering occurs. + * @returns another stream of the same data and stream class, but buffers chunks until + * the minimum size is met, except for the last chunk. + */ +export declare function createBufferedReadable(upstream: Readable, size: number, logger?: Logger): Readable; +/** + * @internal + */ +export declare function createBufferedReadable(upstream: ReadableStream, size: number, logger?: Logger): ReadableStream; diff --git a/node_modules/@smithy/util-stream/dist-types/createBufferedReadableStream.d.ts b/node_modules/@smithy/util-stream/dist-types/createBufferedReadableStream.d.ts new file mode 100644 index 0000000..9f6cdbd --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/createBufferedReadableStream.d.ts @@ -0,0 +1,50 @@ +import type { Logger } from "@smithy/types"; +import { ByteArrayCollector } from "./ByteArrayCollector"; +export type BufferStore = [string, ByteArrayCollector, ByteArrayCollector?]; +export type BufferUnion = string | Uint8Array; +export type Modes = 0 | 1 | 2; +/** + * @internal + * @param upstream - any ReadableStream. + * @param size - byte or character length minimum. Buffering occurs when a chunk fails to meet this value. + * @param logger - for emitting warnings when buffering occurs. + * @returns another stream of the same data, but buffers chunks until + * the minimum size is met, except for the last chunk. + */ +export declare function createBufferedReadableStream(upstream: ReadableStream, size: number, logger?: Logger): ReadableStream; +/** + * Replaces R/RS polymorphic implementation in environments with only ReadableStream. + * @internal + */ +export declare const createBufferedReadable: typeof createBufferedReadableStream; +/** + * @internal + * @param buffers + * @param mode + * @param chunk + * @returns the new buffer size after merging the chunk with its appropriate buffer. + */ +export declare function merge(buffers: BufferStore, mode: Modes, chunk: string | Uint8Array): number; +/** + * @internal + * @param buffers + * @param mode + * @returns the buffer matching the mode. + */ +export declare function flush(buffers: BufferStore, mode: Modes | -1): BufferUnion; +/** + * @internal + * @param chunk + * @returns size of the chunk in bytes or characters. + */ +export declare function sizeOf(chunk?: { + byteLength?: number; + length?: number; +}): number; +/** + * @internal + * @param chunk - from upstream Readable. + * @param allowBuffer - allow mode 2 (Buffer), otherwise Buffer will return mode 1. + * @returns type index of the chunk. + */ +export declare function modeOf(chunk: BufferUnion, allowBuffer?: boolean): Modes | -1; diff --git a/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.browser.d.ts b/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.browser.d.ts new file mode 100644 index 0000000..18d6eef --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.browser.d.ts @@ -0,0 +1,5 @@ +import type { GetAwsChunkedEncodingStream } from "@smithy/types"; +/** + * @internal + */ +export declare const getAwsChunkedEncodingStream: GetAwsChunkedEncodingStream; diff --git a/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts b/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts new file mode 100644 index 0000000..c1af565 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts @@ -0,0 +1,10 @@ +import type { GetAwsChunkedEncodingStreamOptions } from "@smithy/types"; +import { Readable } from "node:stream"; +/** + * @internal + */ +export declare function getAwsChunkedEncodingStream(stream: Readable, options: GetAwsChunkedEncodingStreamOptions): Readable; +/** + * @internal + */ +export declare function getAwsChunkedEncodingStream(stream: ReadableStream, options: GetAwsChunkedEncodingStreamOptions): ReadableStream; diff --git a/node_modules/@smithy/util-stream/dist-types/headStream.browser.d.ts b/node_modules/@smithy/util-stream/dist-types/headStream.browser.d.ts new file mode 100644 index 0000000..3037618 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/headStream.browser.d.ts @@ -0,0 +1,7 @@ +/** + * Caution: the input stream must be destroyed separately, this function does not do so. + * @internal + * @param stream + * @param bytes - read head bytes from the stream and discard the rest of it. + */ +export declare function headStream(stream: ReadableStream, bytes: number): Promise; diff --git a/node_modules/@smithy/util-stream/dist-types/headStream.d.ts b/node_modules/@smithy/util-stream/dist-types/headStream.d.ts new file mode 100644 index 0000000..a4e7536 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/headStream.d.ts @@ -0,0 +1,9 @@ +import type { Readable } from "stream"; +/** + * Caution: the input stream must be destroyed separately, this function does not do so. + * + * @internal + * @param stream - to be read. + * @param bytes - read head bytes from the stream and discard the rest of it. + */ +export declare const headStream: (stream: Readable | ReadableStream, bytes: number) => Promise; diff --git a/node_modules/@smithy/util-stream/dist-types/index.d.ts b/node_modules/@smithy/util-stream/dist-types/index.d.ts new file mode 100644 index 0000000..5f3c82f --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/index.d.ts @@ -0,0 +1,12 @@ +export * from "./blob/Uint8ArrayBlobAdapter"; +export * from "./checksum/ChecksumStream"; +export * from "./checksum/createChecksumStream"; +export * from "./createBufferedReadable"; +export * from "./getAwsChunkedEncodingStream"; +export * from "./headStream"; +export * from "./sdk-stream-mixin"; +export * from "./splitStream"; +/** + * @internal + */ +export { isReadableStream, isBlob } from "./stream-type-check"; diff --git a/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.browser.d.ts b/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.browser.d.ts new file mode 100644 index 0000000..9fdae88 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.browser.d.ts @@ -0,0 +1,7 @@ +import type { SdkStream } from "@smithy/types"; +/** + * The stream handling utility functions for browsers and React Native + * + * @internal + */ +export declare const sdkStreamMixin: (stream: unknown) => SdkStream; diff --git a/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts b/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts new file mode 100644 index 0000000..080dc7a --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts @@ -0,0 +1,8 @@ +import type { SdkStream } from "@smithy/types"; +import { Readable } from "stream"; +/** + * The function that mixes in the utility functions to help consuming runtime-specific payload stream. + * + * @internal + */ +export declare const sdkStreamMixin: (stream: unknown) => SdkStream | SdkStream; diff --git a/node_modules/@smithy/util-stream/dist-types/splitStream.browser.d.ts b/node_modules/@smithy/util-stream/dist-types/splitStream.browser.d.ts new file mode 100644 index 0000000..506c23a --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/splitStream.browser.d.ts @@ -0,0 +1,5 @@ +/** + * @param stream + * @returns stream split into two identical streams. + */ +export declare function splitStream(stream: ReadableStream | Blob): Promise<[ReadableStream, ReadableStream]>; diff --git a/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts b/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts new file mode 100644 index 0000000..c0f93b8 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts @@ -0,0 +1,11 @@ +import type { Readable } from "stream"; +/** + * @internal + * @param stream - to be split. + * @returns stream split into two identical streams. + */ +export declare function splitStream(stream: Readable): Promise<[Readable, Readable]>; +/** + * @internal + */ +export declare function splitStream(stream: ReadableStream): Promise<[ReadableStream, ReadableStream]>; diff --git a/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts b/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts new file mode 100644 index 0000000..6b8caa0 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts @@ -0,0 +1,17 @@ +/** + * Alias prevents compiler from turning + * ReadableStream into ReadableStream, which is incompatible + * with the NodeJS.ReadableStream global type. + * + * @internal + */ +type ReadableStreamType = ReadableStream; +/** + * @internal + */ +export declare const isReadableStream: (stream: unknown) => stream is ReadableStreamType; +/** + * @internal + */ +export declare const isBlob: (blob: unknown) => blob is Blob; +export {}; diff --git a/node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts b/node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts new file mode 100644 index 0000000..a1bbd53 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts @@ -0,0 +1,13 @@ +/** + * Aggregates byteArrays on demand. + * @internal + */ +export declare class ByteArrayCollector { + readonly allocByteArray: (size: number) => Uint8Array; + byteLength: number; + private byteArrays; + constructor(allocByteArray: (size: number) => Uint8Array); + push(byteArray: Uint8Array): void; + flush(): Uint8Array; + private reset; +} diff --git a/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/Uint8ArrayBlobAdapter.d.ts b/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/Uint8ArrayBlobAdapter.d.ts new file mode 100644 index 0000000..269f2b5 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/Uint8ArrayBlobAdapter.d.ts @@ -0,0 +1,22 @@ +/** + * Adapter for conversions of the native Uint8Array type. + * @public + */ +export declare class Uint8ArrayBlobAdapter extends Uint8Array { + /** + * @param source - such as a string or Stream. + * @param encoding - utf-8 or base64. + * @returns a new Uint8ArrayBlobAdapter extending Uint8Array. + */ + static fromString(source: string, encoding?: string): Uint8ArrayBlobAdapter; + /** + * @param source - Uint8Array to be mutated. + * @returns the same Uint8Array but with prototype switched to Uint8ArrayBlobAdapter. + */ + static mutate(source: Uint8Array): Uint8ArrayBlobAdapter; + /** + * @param encoding - default 'utf-8'. + * @returns the blob as string. + */ + transformToString(encoding?: string): string; +} diff --git a/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.browser.d.ts b/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.browser.d.ts new file mode 100644 index 0000000..0c5fbd4 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.browser.d.ts @@ -0,0 +1,37 @@ +import { Checksum, Encoder } from "@smithy/types"; +/** + * @internal + */ +export interface ChecksumStreamInit { + /** + * Base64 value of the expected checksum. + */ + expectedChecksum: string; + /** + * For error messaging, the location from which the checksum value was read. + */ + checksumSourceLocation: string; + /** + * The checksum calculator. + */ + checksum: Checksum; + /** + * The stream to be checked. + */ + source: ReadableStream; + /** + * Optional base 64 encoder if calling from a request context. + */ + base64Encoder?: Encoder; +} +declare const ChecksumStream_base: any; +/** + * This stub exists so that the readable returned by createChecksumStream + * identifies as "ChecksumStream" in alignment with the Node.js + * implementation. + * + * @extends ReadableStream + */ +export declare class ChecksumStream extends ChecksumStream_base { +} +export {}; diff --git a/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts b/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts new file mode 100644 index 0000000..33e527c --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts @@ -0,0 +1,61 @@ +import { Checksum, Encoder } from "@smithy/types"; +import { Readable } from "stream"; +import { Duplex } from "stream"; +/** + * @internal + */ +export interface ChecksumStreamInit { + /** + * Base64 value of the expected checksum. + */ + expectedChecksum: string; + /** + * For error messaging, the location from which the checksum value was read. + */ + checksumSourceLocation: string; + /** + * The checksum calculator. + */ + checksum: Checksum; + /** + * The stream to be checked. + */ + source: T; + /** + * Optional base 64 encoder if calling from a request context. + */ + base64Encoder?: Encoder; +} +/** + * Wrapper for throwing checksum errors for streams without + * buffering the stream. + * + * @internal + */ +export declare class ChecksumStream extends Duplex { + private expectedChecksum; + private checksumSourceLocation; + private checksum; + private source?; + private base64Encoder; + private pendingCallback; + constructor({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }: ChecksumStreamInit); + /** + * Do not call this directly. + * @internal + */ + _read(size: number): void; + /** + * When the upstream source flows data to this stream, + * calculate a step update of the checksum. + * Do not call this directly. + * @internal + */ + _write(chunk: Buffer, encoding: string, callback: (err?: Error) => void): void; + /** + * When the upstream source finishes, perform the checksum comparison. + * Do not call this directly. + * @internal + */ + _final(callback: (err?: Error) => void): Promise; +} diff --git a/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts b/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts new file mode 100644 index 0000000..47e5269 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts @@ -0,0 +1,14 @@ +import { ChecksumStreamInit } from "./ChecksumStream.browser"; +/** + * Alias prevents compiler from turning + * ReadableStream into ReadableStream, which is incompatible + * with the NodeJS.ReadableStream global type. + * @internal + */ +export type ReadableStreamType = ReadableStream; +/** + * Creates a stream adapter for throwing checksum errors for streams without + * buffering the stream. + * @internal + */ +export declare const createChecksumStream: ({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }: ChecksumStreamInit) => ReadableStreamType; diff --git a/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts b/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts new file mode 100644 index 0000000..0ab80b1 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts @@ -0,0 +1,13 @@ +import { Readable } from "stream"; +import { ChecksumStreamInit } from "./ChecksumStream"; +import { ReadableStreamType } from "./createChecksumStream.browser"; +/** + * Creates a stream mirroring the input stream's interface, but + * performs checksumming when reading to the end of the stream. + * @internal + */ +export declare function createChecksumStream(init: ChecksumStreamInit): ReadableStreamType; +/** + * @internal + */ +export declare function createChecksumStream(init: ChecksumStreamInit): Readable; diff --git a/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadable.d.ts b/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadable.d.ts new file mode 100644 index 0000000..610d6bc --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadable.d.ts @@ -0,0 +1,15 @@ +import { Logger } from "@smithy/types"; +import { Readable } from "node:stream"; +/** + * @internal + * @param upstream - any Readable or ReadableStream. + * @param size - byte or character length minimum. Buffering occurs when a chunk fails to meet this value. + * @param logger - for emitting warnings when buffering occurs. + * @returns another stream of the same data and stream class, but buffers chunks until + * the minimum size is met, except for the last chunk. + */ +export declare function createBufferedReadable(upstream: Readable, size: number, logger?: Logger): Readable; +/** + * @internal + */ +export declare function createBufferedReadable(upstream: ReadableStream, size: number, logger?: Logger): ReadableStream; diff --git a/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadableStream.d.ts b/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadableStream.d.ts new file mode 100644 index 0000000..fba11f4 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadableStream.d.ts @@ -0,0 +1,54 @@ +import { Logger } from "@smithy/types"; +import { ByteArrayCollector } from "./ByteArrayCollector"; +export type BufferStore = [ + string, + ByteArrayCollector, + ByteArrayCollector? +]; +export type BufferUnion = string | Uint8Array; +export type Modes = 0 | 1 | 2; +/** + * @internal + * @param upstream - any ReadableStream. + * @param size - byte or character length minimum. Buffering occurs when a chunk fails to meet this value. + * @param logger - for emitting warnings when buffering occurs. + * @returns another stream of the same data, but buffers chunks until + * the minimum size is met, except for the last chunk. + */ +export declare function createBufferedReadableStream(upstream: ReadableStream, size: number, logger?: Logger): ReadableStream; +/** + * Replaces R/RS polymorphic implementation in environments with only ReadableStream. + * @internal + */ +export declare const createBufferedReadable: typeof createBufferedReadableStream; +/** + * @internal + * @param buffers + * @param mode + * @param chunk + * @returns the new buffer size after merging the chunk with its appropriate buffer. + */ +export declare function merge(buffers: BufferStore, mode: Modes, chunk: string | Uint8Array): number; +/** + * @internal + * @param buffers + * @param mode + * @returns the buffer matching the mode. + */ +export declare function flush(buffers: BufferStore, mode: Modes | -1): BufferUnion; +/** + * @internal + * @param chunk + * @returns size of the chunk in bytes or characters. + */ +export declare function sizeOf(chunk?: { + byteLength?: number; + length?: number; +}): number; +/** + * @internal + * @param chunk - from upstream Readable. + * @param allowBuffer - allow mode 2 (Buffer), otherwise Buffer will return mode 1. + * @returns type index of the chunk. + */ +export declare function modeOf(chunk: BufferUnion, allowBuffer?: boolean): Modes | -1; diff --git a/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.browser.d.ts b/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.browser.d.ts new file mode 100644 index 0000000..f767f77 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.browser.d.ts @@ -0,0 +1,5 @@ +import { GetAwsChunkedEncodingStream } from "@smithy/types"; +/** + * @internal + */ +export declare const getAwsChunkedEncodingStream: GetAwsChunkedEncodingStream; diff --git a/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.d.ts b/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.d.ts new file mode 100644 index 0000000..56a45ac --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.d.ts @@ -0,0 +1,10 @@ +import { GetAwsChunkedEncodingStreamOptions } from "@smithy/types"; +import { Readable } from "node:stream"; +/** + * @internal + */ +export declare function getAwsChunkedEncodingStream(stream: Readable, options: GetAwsChunkedEncodingStreamOptions): Readable; +/** + * @internal + */ +export declare function getAwsChunkedEncodingStream(stream: ReadableStream, options: GetAwsChunkedEncodingStreamOptions): ReadableStream; diff --git a/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.browser.d.ts b/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.browser.d.ts new file mode 100644 index 0000000..3037618 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.browser.d.ts @@ -0,0 +1,7 @@ +/** + * Caution: the input stream must be destroyed separately, this function does not do so. + * @internal + * @param stream + * @param bytes - read head bytes from the stream and discard the rest of it. + */ +export declare function headStream(stream: ReadableStream, bytes: number): Promise; diff --git a/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts b/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts new file mode 100644 index 0000000..b0783a8 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts @@ -0,0 +1,9 @@ +import { Readable } from "stream"; +/** + * Caution: the input stream must be destroyed separately, this function does not do so. + * + * @internal + * @param stream - to be read. + * @param bytes - read head bytes from the stream and discard the rest of it. + */ +export declare const headStream: (stream: Readable | ReadableStream, bytes: number) => Promise; diff --git a/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..5f3c82f --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts @@ -0,0 +1,12 @@ +export * from "./blob/Uint8ArrayBlobAdapter"; +export * from "./checksum/ChecksumStream"; +export * from "./checksum/createChecksumStream"; +export * from "./createBufferedReadable"; +export * from "./getAwsChunkedEncodingStream"; +export * from "./headStream"; +export * from "./sdk-stream-mixin"; +export * from "./splitStream"; +/** + * @internal + */ +export { isReadableStream, isBlob } from "./stream-type-check"; diff --git a/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.browser.d.ts b/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.browser.d.ts new file mode 100644 index 0000000..400c0b2 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.browser.d.ts @@ -0,0 +1,7 @@ +import { SdkStream } from "@smithy/types"; +/** + * The stream handling utility functions for browsers and React Native + * + * @internal + */ +export declare const sdkStreamMixin: (stream: unknown) => SdkStream; diff --git a/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.d.ts b/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.d.ts new file mode 100644 index 0000000..34fcb6f --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.d.ts @@ -0,0 +1,8 @@ +import { SdkStream } from "@smithy/types"; +import { Readable } from "stream"; +/** + * The function that mixes in the utility functions to help consuming runtime-specific payload stream. + * + * @internal + */ +export declare const sdkStreamMixin: (stream: unknown) => SdkStream | SdkStream; diff --git a/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.browser.d.ts b/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.browser.d.ts new file mode 100644 index 0000000..631fc24 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.browser.d.ts @@ -0,0 +1,8 @@ +/** + * @param stream + * @returns stream split into two identical streams. + */ +export declare function splitStream(stream: ReadableStream | Blob): Promise<[ + ReadableStream, + ReadableStream +]>; diff --git a/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts b/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts new file mode 100644 index 0000000..541fb93 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts @@ -0,0 +1,17 @@ +import { Readable } from "stream"; +/** + * @internal + * @param stream - to be split. + * @returns stream split into two identical streams. + */ +export declare function splitStream(stream: Readable): Promise<[ + Readable, + Readable +]>; +/** + * @internal + */ +export declare function splitStream(stream: ReadableStream): Promise<[ + ReadableStream, + ReadableStream +]>; diff --git a/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts b/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts new file mode 100644 index 0000000..6b8caa0 --- /dev/null +++ b/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts @@ -0,0 +1,17 @@ +/** + * Alias prevents compiler from turning + * ReadableStream into ReadableStream, which is incompatible + * with the NodeJS.ReadableStream global type. + * + * @internal + */ +type ReadableStreamType = ReadableStream; +/** + * @internal + */ +export declare const isReadableStream: (stream: unknown) => stream is ReadableStreamType; +/** + * @internal + */ +export declare const isBlob: (blob: unknown) => blob is Blob; +export {}; diff --git a/node_modules/@smithy/util-stream/package.json b/node_modules/@smithy/util-stream/package.json new file mode 100644 index 0000000..1bc6515 --- /dev/null +++ b/node_modules/@smithy/util-stream/package.json @@ -0,0 +1,99 @@ +{ + "name": "@smithy/util-stream", + "version": "4.5.21", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-stream", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "extract:docs": "api-extractor run --local", + "test": "yarn g:vitest run && yarn test:browser", + "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", + "test:watch": "yarn g:vitest watch", + "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts", + "test:browser": "yarn g:vitest run -c vitest.config.browser.mts", + "test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.mts" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/fetch-http-handler": "^5.3.15", + "@smithy/node-http-handler": "^4.5.1", + "@smithy/types": "^4.13.1", + "@smithy/util-base64": "^4.3.2", + "@smithy/util-buffer-from": "^4.2.2", + "@smithy/util-hex-encoding": "^4.2.2", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "devDependencies": { + "@smithy/util-test": "^0.2.8", + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "browser": { + "./dist-es/checksum/ChecksumStream": "./dist-es/checksum/ChecksumStream.browser", + "./dist-es/checksum/createChecksumStream": "./dist-es/checksum/createChecksumStream.browser", + "./dist-es/createBufferedReadable": "./dist-es/createBufferedReadableStream", + "./dist-es/getAwsChunkedEncodingStream": "./dist-es/getAwsChunkedEncodingStream.browser", + "./dist-es/headStream": "./dist-es/headStream.browser", + "./dist-es/sdk-stream-mixin": "./dist-es/sdk-stream-mixin.browser", + "./dist-es/splitStream": "./dist-es/splitStream.browser" + }, + "react-native": { + "./dist-es/checksum/createChecksumStream": "./dist-es/checksum/createChecksumStream.browser", + "./dist-es/checksum/ChecksumStream": "./dist-es/checksum/ChecksumStream.browser", + "./dist-es/getAwsChunkedEncodingStream": "./dist-es/getAwsChunkedEncodingStream.browser", + "./dist-es/sdk-stream-mixin": "./dist-es/sdk-stream-mixin.browser", + "./dist-es/headStream": "./dist-es/headStream.browser", + "./dist-es/splitStream": "./dist-es/splitStream.browser", + "./dist-es/createBufferedReadable": "./dist-es/createBufferedReadableStream", + "./dist-cjs/checksum/createChecksumStream": "./dist-cjs/checksum/createChecksumStream.browser", + "./dist-cjs/checksum/ChecksumStream": "./dist-cjs/checksum/ChecksumStream.browser", + "./dist-cjs/getAwsChunkedEncodingStream": "./dist-cjs/getAwsChunkedEncodingStream.browser", + "./dist-cjs/sdk-stream-mixin": "./dist-cjs/sdk-stream-mixin.browser", + "./dist-cjs/headStream": "./dist-cjs/headStream.browser", + "./dist-cjs/splitStream": "./dist-cjs/splitStream.browser", + "./dist-cjs/createBufferedReadable": "./dist-cjs/createBufferedReadableStream" + }, + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/util-stream", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/util-stream" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/util-uri-escape/LICENSE b/node_modules/@smithy/util-uri-escape/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/util-uri-escape/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/util-uri-escape/README.md b/node_modules/@smithy/util-uri-escape/README.md new file mode 100644 index 0000000..22e939a --- /dev/null +++ b/node_modules/@smithy/util-uri-escape/README.md @@ -0,0 +1,10 @@ +# @smithy/util-uri-escape + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-uri-escape/latest.svg)](https://www.npmjs.com/package/@smithy/util-uri-escape) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-uri-escape.svg)](https://www.npmjs.com/package/@smithy/util-uri-escape) + +> An internal package + +## Usage + +You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/util-uri-escape/dist-cjs/index.js b/node_modules/@smithy/util-uri-escape/dist-cjs/index.js new file mode 100644 index 0000000..11f942c --- /dev/null +++ b/node_modules/@smithy/util-uri-escape/dist-cjs/index.js @@ -0,0 +1,9 @@ +'use strict'; + +const escapeUri = (uri) => encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode); +const hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`; + +const escapeUriPath = (uri) => uri.split("/").map(escapeUri).join("/"); + +exports.escapeUri = escapeUri; +exports.escapeUriPath = escapeUriPath; diff --git a/node_modules/@smithy/util-uri-escape/dist-es/escape-uri-path.js b/node_modules/@smithy/util-uri-escape/dist-es/escape-uri-path.js new file mode 100644 index 0000000..81b3fe3 --- /dev/null +++ b/node_modules/@smithy/util-uri-escape/dist-es/escape-uri-path.js @@ -0,0 +1,2 @@ +import { escapeUri } from "./escape-uri"; +export const escapeUriPath = (uri) => uri.split("/").map(escapeUri).join("/"); diff --git a/node_modules/@smithy/util-uri-escape/dist-es/escape-uri.js b/node_modules/@smithy/util-uri-escape/dist-es/escape-uri.js new file mode 100644 index 0000000..8990be1 --- /dev/null +++ b/node_modules/@smithy/util-uri-escape/dist-es/escape-uri.js @@ -0,0 +1,2 @@ +export const escapeUri = (uri) => encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode); +const hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`; diff --git a/node_modules/@smithy/util-uri-escape/dist-es/index.js b/node_modules/@smithy/util-uri-escape/dist-es/index.js new file mode 100644 index 0000000..ed402e1 --- /dev/null +++ b/node_modules/@smithy/util-uri-escape/dist-es/index.js @@ -0,0 +1,2 @@ +export * from "./escape-uri"; +export * from "./escape-uri-path"; diff --git a/node_modules/@smithy/util-uri-escape/dist-types/escape-uri-path.d.ts b/node_modules/@smithy/util-uri-escape/dist-types/escape-uri-path.d.ts new file mode 100644 index 0000000..b547ff9 --- /dev/null +++ b/node_modules/@smithy/util-uri-escape/dist-types/escape-uri-path.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const escapeUriPath: (uri: string) => string; diff --git a/node_modules/@smithy/util-uri-escape/dist-types/escape-uri.d.ts b/node_modules/@smithy/util-uri-escape/dist-types/escape-uri.d.ts new file mode 100644 index 0000000..3f14d2c --- /dev/null +++ b/node_modules/@smithy/util-uri-escape/dist-types/escape-uri.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const escapeUri: (uri: string) => string; diff --git a/node_modules/@smithy/util-uri-escape/dist-types/index.d.ts b/node_modules/@smithy/util-uri-escape/dist-types/index.d.ts new file mode 100644 index 0000000..1913825 --- /dev/null +++ b/node_modules/@smithy/util-uri-escape/dist-types/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./escape-uri"; +/** + * @internal + */ +export * from "./escape-uri-path"; diff --git a/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri-path.d.ts b/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri-path.d.ts new file mode 100644 index 0000000..b547ff9 --- /dev/null +++ b/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri-path.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const escapeUriPath: (uri: string) => string; diff --git a/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri.d.ts b/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri.d.ts new file mode 100644 index 0000000..3f14d2c --- /dev/null +++ b/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const escapeUri: (uri: string) => string; diff --git a/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..1913825 --- /dev/null +++ b/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./escape-uri"; +/** + * @internal + */ +export * from "./escape-uri-path"; diff --git a/node_modules/@smithy/util-uri-escape/package.json b/node_modules/@smithy/util-uri-escape/package.json new file mode 100644 index 0000000..ac8dacf --- /dev/null +++ b/node_modules/@smithy/util-uri-escape/package.json @@ -0,0 +1,60 @@ +{ + "name": "@smithy/util-uri-escape", + "version": "4.2.2", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-uri-escape", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/util-uri-escape", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/util-uri-escape" + }, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/util-utf8/LICENSE b/node_modules/@smithy/util-utf8/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/util-utf8/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/util-utf8/README.md b/node_modules/@smithy/util-utf8/README.md new file mode 100644 index 0000000..fc5db6d --- /dev/null +++ b/node_modules/@smithy/util-utf8/README.md @@ -0,0 +1,4 @@ +# @smithy/util-utf8 + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-utf8/latest.svg)](https://www.npmjs.com/package/@smithy/util-utf8) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-utf8.svg)](https://www.npmjs.com/package/@smithy/util-utf8) diff --git a/node_modules/@smithy/util-utf8/dist-cjs/index.js b/node_modules/@smithy/util-utf8/dist-cjs/index.js new file mode 100644 index 0000000..7f94510 --- /dev/null +++ b/node_modules/@smithy/util-utf8/dist-cjs/index.js @@ -0,0 +1,32 @@ +'use strict'; + +var utilBufferFrom = require('@smithy/util-buffer-from'); + +const fromUtf8 = (input) => { + const buf = utilBufferFrom.fromString(input, "utf8"); + return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT); +}; + +const toUint8Array = (data) => { + if (typeof data === "string") { + return fromUtf8(data); + } + if (ArrayBuffer.isView(data)) { + return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT); + } + return new Uint8Array(data); +}; + +const toUtf8 = (input) => { + if (typeof input === "string") { + return input; + } + if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") { + throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array."); + } + return utilBufferFrom.fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("utf8"); +}; + +exports.fromUtf8 = fromUtf8; +exports.toUint8Array = toUint8Array; +exports.toUtf8 = toUtf8; diff --git a/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js b/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js new file mode 100644 index 0000000..7344190 --- /dev/null +++ b/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js @@ -0,0 +1 @@ +export const fromUtf8 = (input) => new TextEncoder().encode(input); diff --git a/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js b/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js new file mode 100644 index 0000000..6dc438b --- /dev/null +++ b/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js @@ -0,0 +1,5 @@ +import { fromString } from "@smithy/util-buffer-from"; +export const fromUtf8 = (input) => { + const buf = fromString(input, "utf8"); + return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT); +}; diff --git a/node_modules/@smithy/util-utf8/dist-es/index.js b/node_modules/@smithy/util-utf8/dist-es/index.js new file mode 100644 index 0000000..00ba465 --- /dev/null +++ b/node_modules/@smithy/util-utf8/dist-es/index.js @@ -0,0 +1,3 @@ +export * from "./fromUtf8"; +export * from "./toUint8Array"; +export * from "./toUtf8"; diff --git a/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js b/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js new file mode 100644 index 0000000..2cd36f7 --- /dev/null +++ b/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js @@ -0,0 +1,10 @@ +import { fromUtf8 } from "./fromUtf8"; +export const toUint8Array = (data) => { + if (typeof data === "string") { + return fromUtf8(data); + } + if (ArrayBuffer.isView(data)) { + return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT); + } + return new Uint8Array(data); +}; diff --git a/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js b/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js new file mode 100644 index 0000000..c292127 --- /dev/null +++ b/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js @@ -0,0 +1,9 @@ +export const toUtf8 = (input) => { + if (typeof input === "string") { + return input; + } + if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") { + throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array."); + } + return new TextDecoder("utf-8").decode(input); +}; diff --git a/node_modules/@smithy/util-utf8/dist-es/toUtf8.js b/node_modules/@smithy/util-utf8/dist-es/toUtf8.js new file mode 100644 index 0000000..7be8745 --- /dev/null +++ b/node_modules/@smithy/util-utf8/dist-es/toUtf8.js @@ -0,0 +1,10 @@ +import { fromArrayBuffer } from "@smithy/util-buffer-from"; +export const toUtf8 = (input) => { + if (typeof input === "string") { + return input; + } + if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") { + throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array."); + } + return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("utf8"); +}; diff --git a/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts b/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts new file mode 100644 index 0000000..dd91981 --- /dev/null +++ b/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts @@ -0,0 +1 @@ +export declare const fromUtf8: (input: string) => Uint8Array; diff --git a/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts b/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts new file mode 100644 index 0000000..dd91981 --- /dev/null +++ b/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts @@ -0,0 +1 @@ +export declare const fromUtf8: (input: string) => Uint8Array; diff --git a/node_modules/@smithy/util-utf8/dist-types/index.d.ts b/node_modules/@smithy/util-utf8/dist-types/index.d.ts new file mode 100644 index 0000000..00ba465 --- /dev/null +++ b/node_modules/@smithy/util-utf8/dist-types/index.d.ts @@ -0,0 +1,3 @@ +export * from "./fromUtf8"; +export * from "./toUint8Array"; +export * from "./toUtf8"; diff --git a/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts b/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts new file mode 100644 index 0000000..11b6342 --- /dev/null +++ b/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts @@ -0,0 +1 @@ +export declare const toUint8Array: (data: string | ArrayBuffer | ArrayBufferView) => Uint8Array; diff --git a/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts b/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts new file mode 100644 index 0000000..8494acd --- /dev/null +++ b/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts @@ -0,0 +1,7 @@ +/** + * + * This does not convert non-utf8 strings to utf8, it only passes through strings if + * a string is received instead of a Uint8Array. + * + */ +export declare const toUtf8: (input: Uint8Array | string) => string; diff --git a/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts b/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts new file mode 100644 index 0000000..8494acd --- /dev/null +++ b/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts @@ -0,0 +1,7 @@ +/** + * + * This does not convert non-utf8 strings to utf8, it only passes through strings if + * a string is received instead of a Uint8Array. + * + */ +export declare const toUtf8: (input: Uint8Array | string) => string; diff --git a/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts b/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts new file mode 100644 index 0000000..dd91981 --- /dev/null +++ b/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts @@ -0,0 +1 @@ +export declare const fromUtf8: (input: string) => Uint8Array; diff --git a/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts b/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts new file mode 100644 index 0000000..dd91981 --- /dev/null +++ b/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts @@ -0,0 +1 @@ +export declare const fromUtf8: (input: string) => Uint8Array; diff --git a/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..00ba465 --- /dev/null +++ b/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts @@ -0,0 +1,3 @@ +export * from "./fromUtf8"; +export * from "./toUint8Array"; +export * from "./toUtf8"; diff --git a/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts b/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts new file mode 100644 index 0000000..11b6342 --- /dev/null +++ b/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts @@ -0,0 +1 @@ +export declare const toUint8Array: (data: string | ArrayBuffer | ArrayBufferView) => Uint8Array; diff --git a/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts b/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts new file mode 100644 index 0000000..8494acd --- /dev/null +++ b/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts @@ -0,0 +1,7 @@ +/** + * + * This does not convert non-utf8 strings to utf8, it only passes through strings if + * a string is received instead of a Uint8Array. + * + */ +export declare const toUtf8: (input: Uint8Array | string) => string; diff --git a/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts b/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts new file mode 100644 index 0000000..8494acd --- /dev/null +++ b/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts @@ -0,0 +1,7 @@ +/** + * + * This does not convert non-utf8 strings to utf8, it only passes through strings if + * a string is received instead of a Uint8Array. + * + */ +export declare const toUtf8: (input: Uint8Array | string) => string; diff --git a/node_modules/@smithy/util-utf8/package.json b/node_modules/@smithy/util-utf8/package.json new file mode 100644 index 0000000..5dda012 --- /dev/null +++ b/node_modules/@smithy/util-utf8/package.json @@ -0,0 +1,67 @@ +{ + "name": "@smithy/util-utf8", + "version": "4.2.2", + "description": "A UTF-8 string <-> UInt8Array converter", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-utf8", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "dependencies": { + "@smithy/util-buffer-from": "^4.2.2", + "tslib": "^2.6.2" + }, + "devDependencies": { + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "browser": { + "./dist-es/fromUtf8": "./dist-es/fromUtf8.browser", + "./dist-es/toUtf8": "./dist-es/toUtf8.browser" + }, + "react-native": {}, + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/util-utf8", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/util-utf8" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/util-waiter/LICENSE b/node_modules/@smithy/util-waiter/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/util-waiter/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/util-waiter/README.md b/node_modules/@smithy/util-waiter/README.md new file mode 100644 index 0000000..482df0b --- /dev/null +++ b/node_modules/@smithy/util-waiter/README.md @@ -0,0 +1,17 @@ +# @smithy/util-waiter + +[![NPM version](https://img.shields.io/npm/v/@smithy/util-waiter/latest.svg)](https://www.npmjs.com/package/@smithy/util-waiter) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/util-waiter.svg)](https://www.npmjs.com/package/@smithy/util-waiter) + +### :warning: Internal API :warning: + +> This is an internal package. +> That means this is used as a dependency for other, public packages, but +> should not be taken directly as a dependency in your application's `package.json`. + +> If you are updating the version of this package, for example to bring in a +> bug-fix, you should do so by updating your application lockfile with +> e.g. `npm up @scope/package` or equivalent command in another +> package manager, rather than taking a direct dependency. + +--- diff --git a/node_modules/@smithy/util-waiter/dist-cjs/index.js b/node_modules/@smithy/util-waiter/dist-cjs/index.js new file mode 100644 index 0000000..fdc08f0 --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-cjs/index.js @@ -0,0 +1,179 @@ +'use strict'; + +const getCircularReplacer = () => { + const seen = new WeakSet(); + return (key, value) => { + if (typeof value === "object" && value !== null) { + if (seen.has(value)) { + return "[Circular]"; + } + seen.add(value); + } + return value; + }; +}; + +const sleep = (seconds) => { + return new Promise((resolve) => setTimeout(resolve, seconds * 1000)); +}; + +const waiterServiceDefaults = { + minDelay: 2, + maxDelay: 120, +}; +exports.WaiterState = void 0; +(function (WaiterState) { + WaiterState["ABORTED"] = "ABORTED"; + WaiterState["FAILURE"] = "FAILURE"; + WaiterState["SUCCESS"] = "SUCCESS"; + WaiterState["RETRY"] = "RETRY"; + WaiterState["TIMEOUT"] = "TIMEOUT"; +})(exports.WaiterState || (exports.WaiterState = {})); +const checkExceptions = (result) => { + if (result.state === exports.WaiterState.ABORTED) { + const abortError = new Error(`${JSON.stringify({ + ...result, + reason: "Request was aborted", + }, getCircularReplacer())}`); + abortError.name = "AbortError"; + throw abortError; + } + else if (result.state === exports.WaiterState.TIMEOUT) { + const timeoutError = new Error(`${JSON.stringify({ + ...result, + reason: "Waiter has timed out", + }, getCircularReplacer())}`); + timeoutError.name = "TimeoutError"; + throw timeoutError; + } + else if (result.state !== exports.WaiterState.SUCCESS) { + throw new Error(`${JSON.stringify(result, getCircularReplacer())}`); + } + return result; +}; + +const exponentialBackoffWithJitter = (minDelay, maxDelay, attemptCeiling, attempt) => { + if (attempt > attemptCeiling) + return maxDelay; + const delay = minDelay * 2 ** (attempt - 1); + return randomInRange(minDelay, delay); +}; +const randomInRange = (min, max) => min + Math.random() * (max - min); +const runPolling = async ({ minDelay, maxDelay, maxWaitTime, abortController, client, abortSignal }, input, acceptorChecks) => { + const observedResponses = {}; + const { state, reason } = await acceptorChecks(client, input); + if (reason) { + const message = createMessageFromResponse(reason); + observedResponses[message] |= 0; + observedResponses[message] += 1; + } + if (state !== exports.WaiterState.RETRY) { + return { state, reason, observedResponses }; + } + let currentAttempt = 1; + const waitUntil = Date.now() + maxWaitTime * 1000; + const attemptCeiling = Math.log(maxDelay / minDelay) / Math.log(2) + 1; + while (true) { + if (abortController?.signal?.aborted || abortSignal?.aborted) { + const message = "AbortController signal aborted."; + observedResponses[message] |= 0; + observedResponses[message] += 1; + return { state: exports.WaiterState.ABORTED, observedResponses }; + } + const delay = exponentialBackoffWithJitter(minDelay, maxDelay, attemptCeiling, currentAttempt); + if (Date.now() + delay * 1000 > waitUntil) { + return { state: exports.WaiterState.TIMEOUT, observedResponses }; + } + await sleep(delay); + const { state, reason } = await acceptorChecks(client, input); + if (reason) { + const message = createMessageFromResponse(reason); + observedResponses[message] |= 0; + observedResponses[message] += 1; + } + if (state !== exports.WaiterState.RETRY) { + return { state, reason, observedResponses }; + } + currentAttempt += 1; + } +}; +const createMessageFromResponse = (reason) => { + if (reason?.$responseBodyText) { + return `Deserialization error for body: ${reason.$responseBodyText}`; + } + if (reason?.$metadata?.httpStatusCode) { + if (reason.$response || reason.message) { + return `${reason.$response?.statusCode ?? reason.$metadata.httpStatusCode ?? "Unknown"}: ${reason.message}`; + } + return `${reason.$metadata.httpStatusCode}: OK`; + } + return String(reason?.message ?? JSON.stringify(reason, getCircularReplacer()) ?? "Unknown"); +}; + +const validateWaiterOptions = (options) => { + if (options.maxWaitTime <= 0) { + throw new Error(`WaiterConfiguration.maxWaitTime must be greater than 0`); + } + else if (options.minDelay <= 0) { + throw new Error(`WaiterConfiguration.minDelay must be greater than 0`); + } + else if (options.maxDelay <= 0) { + throw new Error(`WaiterConfiguration.maxDelay must be greater than 0`); + } + else if (options.maxWaitTime <= options.minDelay) { + throw new Error(`WaiterConfiguration.maxWaitTime [${options.maxWaitTime}] must be greater than WaiterConfiguration.minDelay [${options.minDelay}] for this waiter`); + } + else if (options.maxDelay < options.minDelay) { + throw new Error(`WaiterConfiguration.maxDelay [${options.maxDelay}] must be greater than WaiterConfiguration.minDelay [${options.minDelay}] for this waiter`); + } +}; + +const abortTimeout = (abortSignal) => { + let onAbort; + const promise = new Promise((resolve) => { + onAbort = () => resolve({ state: exports.WaiterState.ABORTED }); + if (typeof abortSignal.addEventListener === "function") { + abortSignal.addEventListener("abort", onAbort); + } + else { + abortSignal.onabort = onAbort; + } + }); + return { + clearListener() { + if (typeof abortSignal.removeEventListener === "function") { + abortSignal.removeEventListener("abort", onAbort); + } + }, + aborted: promise, + }; +}; +const createWaiter = async (options, input, acceptorChecks) => { + const params = { + ...waiterServiceDefaults, + ...options, + }; + validateWaiterOptions(params); + const exitConditions = [runPolling(params, input, acceptorChecks)]; + const finalize = []; + if (options.abortSignal) { + const { aborted, clearListener } = abortTimeout(options.abortSignal); + finalize.push(clearListener); + exitConditions.push(aborted); + } + if (options.abortController?.signal) { + const { aborted, clearListener } = abortTimeout(options.abortController.signal); + finalize.push(clearListener); + exitConditions.push(aborted); + } + return Promise.race(exitConditions).then((result) => { + for (const fn of finalize) { + fn(); + } + return result; + }); +}; + +exports.checkExceptions = checkExceptions; +exports.createWaiter = createWaiter; +exports.waiterServiceDefaults = waiterServiceDefaults; diff --git a/node_modules/@smithy/util-waiter/dist-es/circularReplacer.js b/node_modules/@smithy/util-waiter/dist-es/circularReplacer.js new file mode 100644 index 0000000..c08fd60 --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-es/circularReplacer.js @@ -0,0 +1,12 @@ +export const getCircularReplacer = () => { + const seen = new WeakSet(); + return (key, value) => { + if (typeof value === "object" && value !== null) { + if (seen.has(value)) { + return "[Circular]"; + } + seen.add(value); + } + return value; + }; +}; diff --git a/node_modules/@smithy/util-waiter/dist-es/createWaiter.js b/node_modules/@smithy/util-waiter/dist-es/createWaiter.js new file mode 100644 index 0000000..9db8058 --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-es/createWaiter.js @@ -0,0 +1,48 @@ +import { runPolling } from "./poller"; +import { validateWaiterOptions } from "./utils"; +import { waiterServiceDefaults, WaiterState } from "./waiter"; +const abortTimeout = (abortSignal) => { + let onAbort; + const promise = new Promise((resolve) => { + onAbort = () => resolve({ state: WaiterState.ABORTED }); + if (typeof abortSignal.addEventListener === "function") { + abortSignal.addEventListener("abort", onAbort); + } + else { + abortSignal.onabort = onAbort; + } + }); + return { + clearListener() { + if (typeof abortSignal.removeEventListener === "function") { + abortSignal.removeEventListener("abort", onAbort); + } + }, + aborted: promise, + }; +}; +export const createWaiter = async (options, input, acceptorChecks) => { + const params = { + ...waiterServiceDefaults, + ...options, + }; + validateWaiterOptions(params); + const exitConditions = [runPolling(params, input, acceptorChecks)]; + const finalize = []; + if (options.abortSignal) { + const { aborted, clearListener } = abortTimeout(options.abortSignal); + finalize.push(clearListener); + exitConditions.push(aborted); + } + if (options.abortController?.signal) { + const { aborted, clearListener } = abortTimeout(options.abortController.signal); + finalize.push(clearListener); + exitConditions.push(aborted); + } + return Promise.race(exitConditions).then((result) => { + for (const fn of finalize) { + fn(); + } + return result; + }); +}; diff --git a/node_modules/@smithy/util-waiter/dist-es/index.js b/node_modules/@smithy/util-waiter/dist-es/index.js new file mode 100644 index 0000000..d77f139 --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-es/index.js @@ -0,0 +1,2 @@ +export * from "./createWaiter"; +export * from "./waiter"; diff --git a/node_modules/@smithy/util-waiter/dist-es/poller.js b/node_modules/@smithy/util-waiter/dist-es/poller.js new file mode 100644 index 0000000..aceb77c --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-es/poller.js @@ -0,0 +1,60 @@ +import { getCircularReplacer } from "./circularReplacer"; +import { sleep } from "./utils/sleep"; +import { WaiterState } from "./waiter"; +const exponentialBackoffWithJitter = (minDelay, maxDelay, attemptCeiling, attempt) => { + if (attempt > attemptCeiling) + return maxDelay; + const delay = minDelay * 2 ** (attempt - 1); + return randomInRange(minDelay, delay); +}; +const randomInRange = (min, max) => min + Math.random() * (max - min); +export const runPolling = async ({ minDelay, maxDelay, maxWaitTime, abortController, client, abortSignal }, input, acceptorChecks) => { + const observedResponses = {}; + const { state, reason } = await acceptorChecks(client, input); + if (reason) { + const message = createMessageFromResponse(reason); + observedResponses[message] |= 0; + observedResponses[message] += 1; + } + if (state !== WaiterState.RETRY) { + return { state, reason, observedResponses }; + } + let currentAttempt = 1; + const waitUntil = Date.now() + maxWaitTime * 1000; + const attemptCeiling = Math.log(maxDelay / minDelay) / Math.log(2) + 1; + while (true) { + if (abortController?.signal?.aborted || abortSignal?.aborted) { + const message = "AbortController signal aborted."; + observedResponses[message] |= 0; + observedResponses[message] += 1; + return { state: WaiterState.ABORTED, observedResponses }; + } + const delay = exponentialBackoffWithJitter(minDelay, maxDelay, attemptCeiling, currentAttempt); + if (Date.now() + delay * 1000 > waitUntil) { + return { state: WaiterState.TIMEOUT, observedResponses }; + } + await sleep(delay); + const { state, reason } = await acceptorChecks(client, input); + if (reason) { + const message = createMessageFromResponse(reason); + observedResponses[message] |= 0; + observedResponses[message] += 1; + } + if (state !== WaiterState.RETRY) { + return { state, reason, observedResponses }; + } + currentAttempt += 1; + } +}; +const createMessageFromResponse = (reason) => { + if (reason?.$responseBodyText) { + return `Deserialization error for body: ${reason.$responseBodyText}`; + } + if (reason?.$metadata?.httpStatusCode) { + if (reason.$response || reason.message) { + return `${reason.$response?.statusCode ?? reason.$metadata.httpStatusCode ?? "Unknown"}: ${reason.message}`; + } + return `${reason.$metadata.httpStatusCode}: OK`; + } + return String(reason?.message ?? JSON.stringify(reason, getCircularReplacer()) ?? "Unknown"); +}; diff --git a/node_modules/@smithy/util-waiter/dist-es/utils/index.js b/node_modules/@smithy/util-waiter/dist-es/utils/index.js new file mode 100644 index 0000000..e15a156 --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-es/utils/index.js @@ -0,0 +1,2 @@ +export * from "./sleep"; +export * from "./validate"; diff --git a/node_modules/@smithy/util-waiter/dist-es/utils/sleep.js b/node_modules/@smithy/util-waiter/dist-es/utils/sleep.js new file mode 100644 index 0000000..789205d --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-es/utils/sleep.js @@ -0,0 +1,3 @@ +export const sleep = (seconds) => { + return new Promise((resolve) => setTimeout(resolve, seconds * 1000)); +}; diff --git a/node_modules/@smithy/util-waiter/dist-es/utils/validate.js b/node_modules/@smithy/util-waiter/dist-es/utils/validate.js new file mode 100644 index 0000000..e094ea7 --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-es/utils/validate.js @@ -0,0 +1,17 @@ +export const validateWaiterOptions = (options) => { + if (options.maxWaitTime <= 0) { + throw new Error(`WaiterConfiguration.maxWaitTime must be greater than 0`); + } + else if (options.minDelay <= 0) { + throw new Error(`WaiterConfiguration.minDelay must be greater than 0`); + } + else if (options.maxDelay <= 0) { + throw new Error(`WaiterConfiguration.maxDelay must be greater than 0`); + } + else if (options.maxWaitTime <= options.minDelay) { + throw new Error(`WaiterConfiguration.maxWaitTime [${options.maxWaitTime}] must be greater than WaiterConfiguration.minDelay [${options.minDelay}] for this waiter`); + } + else if (options.maxDelay < options.minDelay) { + throw new Error(`WaiterConfiguration.maxDelay [${options.maxDelay}] must be greater than WaiterConfiguration.minDelay [${options.minDelay}] for this waiter`); + } +}; diff --git a/node_modules/@smithy/util-waiter/dist-es/waiter.js b/node_modules/@smithy/util-waiter/dist-es/waiter.js new file mode 100644 index 0000000..672dfe7 --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-es/waiter.js @@ -0,0 +1,35 @@ +import { getCircularReplacer } from "./circularReplacer"; +export const waiterServiceDefaults = { + minDelay: 2, + maxDelay: 120, +}; +export var WaiterState; +(function (WaiterState) { + WaiterState["ABORTED"] = "ABORTED"; + WaiterState["FAILURE"] = "FAILURE"; + WaiterState["SUCCESS"] = "SUCCESS"; + WaiterState["RETRY"] = "RETRY"; + WaiterState["TIMEOUT"] = "TIMEOUT"; +})(WaiterState || (WaiterState = {})); +export const checkExceptions = (result) => { + if (result.state === WaiterState.ABORTED) { + const abortError = new Error(`${JSON.stringify({ + ...result, + reason: "Request was aborted", + }, getCircularReplacer())}`); + abortError.name = "AbortError"; + throw abortError; + } + else if (result.state === WaiterState.TIMEOUT) { + const timeoutError = new Error(`${JSON.stringify({ + ...result, + reason: "Waiter has timed out", + }, getCircularReplacer())}`); + timeoutError.name = "TimeoutError"; + throw timeoutError; + } + else if (result.state !== WaiterState.SUCCESS) { + throw new Error(`${JSON.stringify(result, getCircularReplacer())}`); + } + return result; +}; diff --git a/node_modules/@smithy/util-waiter/dist-types/circularReplacer.d.ts b/node_modules/@smithy/util-waiter/dist-types/circularReplacer.d.ts new file mode 100644 index 0000000..b4e6d44 --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-types/circularReplacer.d.ts @@ -0,0 +1,6 @@ +/** + * Helper for JSON stringification debug logging. + * + * @internal + */ +export declare const getCircularReplacer: () => (key: any, value: any) => any; diff --git a/node_modules/@smithy/util-waiter/dist-types/createWaiter.d.ts b/node_modules/@smithy/util-waiter/dist-types/createWaiter.d.ts new file mode 100644 index 0000000..1a31e48 --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-types/createWaiter.d.ts @@ -0,0 +1,11 @@ +import type { WaiterOptions, WaiterResult } from "./waiter"; +/** + * Create a waiter promise that only resolves when: + * 1. Abort controller is signaled + * 2. Max wait time is reached + * 3. `acceptorChecks` succeeds, or fails + * Otherwise, it invokes `acceptorChecks` with exponential-backoff delay. + * + * @internal + */ +export declare const createWaiter: (options: WaiterOptions, input: Input, acceptorChecks: (client: Client, input: Input) => Promise) => Promise; diff --git a/node_modules/@smithy/util-waiter/dist-types/index.d.ts b/node_modules/@smithy/util-waiter/dist-types/index.d.ts new file mode 100644 index 0000000..d77f139 --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-types/index.d.ts @@ -0,0 +1,2 @@ +export * from "./createWaiter"; +export * from "./waiter"; diff --git a/node_modules/@smithy/util-waiter/dist-types/poller.d.ts b/node_modules/@smithy/util-waiter/dist-types/poller.d.ts new file mode 100644 index 0000000..348a88b --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-types/poller.d.ts @@ -0,0 +1,10 @@ +import type { WaiterOptions, WaiterResult } from "./waiter"; +/** + * Function that runs polling as part of waiters. This will make one inital attempt and then + * subsequent attempts with an increasing delay. + * @param params - options passed to the waiter. + * @param client - AWS SDK Client + * @param input - client input + * @param acceptorChecks - function that checks the acceptor states on each poll. + */ +export declare const runPolling: ({ minDelay, maxDelay, maxWaitTime, abortController, client, abortSignal }: WaiterOptions, input: Input, acceptorChecks: (client: Client, input: Input) => Promise) => Promise; diff --git a/node_modules/@smithy/util-waiter/dist-types/ts3.4/circularReplacer.d.ts b/node_modules/@smithy/util-waiter/dist-types/ts3.4/circularReplacer.d.ts new file mode 100644 index 0000000..b4e6d44 --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-types/ts3.4/circularReplacer.d.ts @@ -0,0 +1,6 @@ +/** + * Helper for JSON stringification debug logging. + * + * @internal + */ +export declare const getCircularReplacer: () => (key: any, value: any) => any; diff --git a/node_modules/@smithy/util-waiter/dist-types/ts3.4/createWaiter.d.ts b/node_modules/@smithy/util-waiter/dist-types/ts3.4/createWaiter.d.ts new file mode 100644 index 0000000..1695802 --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-types/ts3.4/createWaiter.d.ts @@ -0,0 +1,11 @@ +import { WaiterOptions, WaiterResult } from "./waiter"; +/** + * Create a waiter promise that only resolves when: + * 1. Abort controller is signaled + * 2. Max wait time is reached + * 3. `acceptorChecks` succeeds, or fails + * Otherwise, it invokes `acceptorChecks` with exponential-backoff delay. + * + * @internal + */ +export declare const createWaiter: (options: WaiterOptions, input: Input, acceptorChecks: (client: Client, input: Input) => Promise) => Promise; diff --git a/node_modules/@smithy/util-waiter/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/util-waiter/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..d77f139 --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-types/ts3.4/index.d.ts @@ -0,0 +1,2 @@ +export * from "./createWaiter"; +export * from "./waiter"; diff --git a/node_modules/@smithy/util-waiter/dist-types/ts3.4/poller.d.ts b/node_modules/@smithy/util-waiter/dist-types/ts3.4/poller.d.ts new file mode 100644 index 0000000..f6474ae --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-types/ts3.4/poller.d.ts @@ -0,0 +1,10 @@ +import { WaiterOptions, WaiterResult } from "./waiter"; +/** + * Function that runs polling as part of waiters. This will make one inital attempt and then + * subsequent attempts with an increasing delay. + * @param params - options passed to the waiter. + * @param client - AWS SDK Client + * @param input - client input + * @param acceptorChecks - function that checks the acceptor states on each poll. + */ +export declare const runPolling: ({ minDelay, maxDelay, maxWaitTime, abortController, client, abortSignal }: WaiterOptions, input: Input, acceptorChecks: (client: Client, input: Input) => Promise) => Promise; diff --git a/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/index.d.ts b/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/index.d.ts new file mode 100644 index 0000000..b9a3205 --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./sleep"; +/** + * @internal + */ +export * from "./validate"; diff --git a/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/sleep.d.ts b/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/sleep.d.ts new file mode 100644 index 0000000..e5d9f73 --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/sleep.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const sleep: (seconds: number) => Promise; diff --git a/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/validate.d.ts b/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/validate.d.ts new file mode 100644 index 0000000..a847eee --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/validate.d.ts @@ -0,0 +1,8 @@ +import { WaiterOptions } from "../waiter"; +/** + * @internal + * + * Validates that waiter options are passed correctly + * @param options - a waiter configuration object + */ +export declare const validateWaiterOptions: (options: WaiterOptions) => void; diff --git a/node_modules/@smithy/util-waiter/dist-types/ts3.4/waiter.d.ts b/node_modules/@smithy/util-waiter/dist-types/ts3.4/waiter.d.ts new file mode 100644 index 0000000..e0c690f --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-types/ts3.4/waiter.d.ts @@ -0,0 +1,49 @@ +import { WaiterConfiguration as WaiterConfiguration__ } from "@smithy/types"; +/** + * @internal + */ +export interface WaiterConfiguration extends WaiterConfiguration__ { +} +/** + * @internal + */ +export declare const waiterServiceDefaults: { + minDelay: number; + maxDelay: number; +}; +/** + * @internal + */ +export type WaiterOptions = WaiterConfiguration & Required, "minDelay" | "maxDelay">>; +/** + * @internal + */ +export declare enum WaiterState { + ABORTED = "ABORTED", + FAILURE = "FAILURE", + SUCCESS = "SUCCESS", + RETRY = "RETRY", + TIMEOUT = "TIMEOUT" +} +/** + * @internal + */ +export type WaiterResult = { + state: WaiterState; + /** + * (optional) Indicates a reason for why a waiter has reached its state. + */ + reason?: any; + /** + * Responses observed by the waiter during its polling, where the value + * is the count. + */ + observedResponses?: Record; +}; +/** + * @internal + * + * Handles and throws exceptions resulting from the waiterResult + * @param result - WaiterResult + */ +export declare const checkExceptions: (result: WaiterResult) => WaiterResult; diff --git a/node_modules/@smithy/util-waiter/dist-types/utils/index.d.ts b/node_modules/@smithy/util-waiter/dist-types/utils/index.d.ts new file mode 100644 index 0000000..b9a3205 --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-types/utils/index.d.ts @@ -0,0 +1,8 @@ +/** + * @internal + */ +export * from "./sleep"; +/** + * @internal + */ +export * from "./validate"; diff --git a/node_modules/@smithy/util-waiter/dist-types/utils/sleep.d.ts b/node_modules/@smithy/util-waiter/dist-types/utils/sleep.d.ts new file mode 100644 index 0000000..e5d9f73 --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-types/utils/sleep.d.ts @@ -0,0 +1,4 @@ +/** + * @internal + */ +export declare const sleep: (seconds: number) => Promise; diff --git a/node_modules/@smithy/util-waiter/dist-types/utils/validate.d.ts b/node_modules/@smithy/util-waiter/dist-types/utils/validate.d.ts new file mode 100644 index 0000000..c2c9b81 --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-types/utils/validate.d.ts @@ -0,0 +1,8 @@ +import type { WaiterOptions } from "../waiter"; +/** + * @internal + * + * Validates that waiter options are passed correctly + * @param options - a waiter configuration object + */ +export declare const validateWaiterOptions: (options: WaiterOptions) => void; diff --git a/node_modules/@smithy/util-waiter/dist-types/waiter.d.ts b/node_modules/@smithy/util-waiter/dist-types/waiter.d.ts new file mode 100644 index 0000000..26b85e6 --- /dev/null +++ b/node_modules/@smithy/util-waiter/dist-types/waiter.d.ts @@ -0,0 +1,49 @@ +import type { WaiterConfiguration as WaiterConfiguration__ } from "@smithy/types"; +/** + * @internal + */ +export interface WaiterConfiguration extends WaiterConfiguration__ { +} +/** + * @internal + */ +export declare const waiterServiceDefaults: { + minDelay: number; + maxDelay: number; +}; +/** + * @internal + */ +export type WaiterOptions = WaiterConfiguration & Required, "minDelay" | "maxDelay">>; +/** + * @internal + */ +export declare enum WaiterState { + ABORTED = "ABORTED", + FAILURE = "FAILURE", + SUCCESS = "SUCCESS", + RETRY = "RETRY", + TIMEOUT = "TIMEOUT" +} +/** + * @internal + */ +export type WaiterResult = { + state: WaiterState; + /** + * (optional) Indicates a reason for why a waiter has reached its state. + */ + reason?: any; + /** + * Responses observed by the waiter during its polling, where the value + * is the count. + */ + observedResponses?: Record; +}; +/** + * @internal + * + * Handles and throws exceptions resulting from the waiterResult + * @param result - WaiterResult + */ +export declare const checkExceptions: (result: WaiterResult) => WaiterResult; diff --git a/node_modules/@smithy/util-waiter/package.json b/node_modules/@smithy/util-waiter/package.json new file mode 100644 index 0000000..aa2adeb --- /dev/null +++ b/node_modules/@smithy/util-waiter/package.json @@ -0,0 +1,63 @@ +{ + "name": "@smithy/util-waiter", + "version": "4.2.14", + "description": "Shared utilities for client waiters for the AWS SDK", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline util-waiter", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/util-waiter", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/util-waiter" + }, + "devDependencies": { + "@smithy/abort-controller": "^4.2.12", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@smithy/uuid/LICENSE b/node_modules/@smithy/uuid/LICENSE new file mode 100644 index 0000000..7b6491b --- /dev/null +++ b/node_modules/@smithy/uuid/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/node_modules/@smithy/uuid/README.md b/node_modules/@smithy/uuid/README.md new file mode 100644 index 0000000..3e085df --- /dev/null +++ b/node_modules/@smithy/uuid/README.md @@ -0,0 +1,10 @@ +# @smithy/uuid + +[![NPM version](https://img.shields.io/npm/v/@smithy/uuid/latest.svg)](https://www.npmjs.com/package/@smithy/uuid) +[![NPM downloads](https://img.shields.io/npm/dm/@smithy/uuid.svg)](https://www.npmjs.com/package/@smithy/uuid) + +> An internal package + +## Usage + +This is an internal `@smithy` package. You should not install it as a direct dependency in your applications. diff --git a/node_modules/@smithy/uuid/dist-cjs/index.js b/node_modules/@smithy/uuid/dist-cjs/index.js new file mode 100644 index 0000000..e9399c9 --- /dev/null +++ b/node_modules/@smithy/uuid/dist-cjs/index.js @@ -0,0 +1,36 @@ +'use strict'; + +var randomUUID = require('./randomUUID'); + +const decimalToHex = Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, "0")); +const v4 = () => { + if (randomUUID.randomUUID) { + return randomUUID.randomUUID(); + } + const rnds = new Uint8Array(16); + crypto.getRandomValues(rnds); + rnds[6] = (rnds[6] & 0x0f) | 0x40; + rnds[8] = (rnds[8] & 0x3f) | 0x80; + return (decimalToHex[rnds[0]] + + decimalToHex[rnds[1]] + + decimalToHex[rnds[2]] + + decimalToHex[rnds[3]] + + "-" + + decimalToHex[rnds[4]] + + decimalToHex[rnds[5]] + + "-" + + decimalToHex[rnds[6]] + + decimalToHex[rnds[7]] + + "-" + + decimalToHex[rnds[8]] + + decimalToHex[rnds[9]] + + "-" + + decimalToHex[rnds[10]] + + decimalToHex[rnds[11]] + + decimalToHex[rnds[12]] + + decimalToHex[rnds[13]] + + decimalToHex[rnds[14]] + + decimalToHex[rnds[15]]); +}; + +exports.v4 = v4; diff --git a/node_modules/@smithy/uuid/dist-cjs/randomUUID.js b/node_modules/@smithy/uuid/dist-cjs/randomUUID.js new file mode 100644 index 0000000..a1a9723 --- /dev/null +++ b/node_modules/@smithy/uuid/dist-cjs/randomUUID.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.randomUUID = void 0; +const tslib_1 = require("tslib"); +const crypto_1 = tslib_1.__importDefault(require("crypto")); +exports.randomUUID = crypto_1.default.randomUUID.bind(crypto_1.default); diff --git a/node_modules/@smithy/uuid/dist-cjs/randomUUID.native.js b/node_modules/@smithy/uuid/dist-cjs/randomUUID.native.js new file mode 100644 index 0000000..e95fb3e --- /dev/null +++ b/node_modules/@smithy/uuid/dist-cjs/randomUUID.native.js @@ -0,0 +1,4 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.randomUUID = void 0; +exports.randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto); diff --git a/node_modules/@smithy/uuid/dist-es/index.js b/node_modules/@smithy/uuid/dist-es/index.js new file mode 100644 index 0000000..7d67378 --- /dev/null +++ b/node_modules/@smithy/uuid/dist-es/index.js @@ -0,0 +1 @@ +export * from "./v4"; diff --git a/node_modules/@smithy/uuid/dist-es/randomUUID.browser.js b/node_modules/@smithy/uuid/dist-es/randomUUID.browser.js new file mode 100644 index 0000000..c2760b4 --- /dev/null +++ b/node_modules/@smithy/uuid/dist-es/randomUUID.browser.js @@ -0,0 +1 @@ +export const randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto); diff --git a/node_modules/@smithy/uuid/dist-es/randomUUID.js b/node_modules/@smithy/uuid/dist-es/randomUUID.js new file mode 100644 index 0000000..f97ca18 --- /dev/null +++ b/node_modules/@smithy/uuid/dist-es/randomUUID.js @@ -0,0 +1,2 @@ +import crypto from "crypto"; +export const randomUUID = crypto.randomUUID.bind(crypto); diff --git a/node_modules/@smithy/uuid/dist-es/randomUUID.native.js b/node_modules/@smithy/uuid/dist-es/randomUUID.native.js new file mode 100644 index 0000000..c2760b4 --- /dev/null +++ b/node_modules/@smithy/uuid/dist-es/randomUUID.native.js @@ -0,0 +1 @@ +export const randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto); diff --git a/node_modules/@smithy/uuid/dist-es/v4.js b/node_modules/@smithy/uuid/dist-es/v4.js new file mode 100644 index 0000000..9efe193 --- /dev/null +++ b/node_modules/@smithy/uuid/dist-es/v4.js @@ -0,0 +1,31 @@ +import { randomUUID } from "./randomUUID"; +const decimalToHex = Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, "0")); +export const v4 = () => { + if (randomUUID) { + return randomUUID(); + } + const rnds = new Uint8Array(16); + crypto.getRandomValues(rnds); + rnds[6] = (rnds[6] & 0x0f) | 0x40; + rnds[8] = (rnds[8] & 0x3f) | 0x80; + return (decimalToHex[rnds[0]] + + decimalToHex[rnds[1]] + + decimalToHex[rnds[2]] + + decimalToHex[rnds[3]] + + "-" + + decimalToHex[rnds[4]] + + decimalToHex[rnds[5]] + + "-" + + decimalToHex[rnds[6]] + + decimalToHex[rnds[7]] + + "-" + + decimalToHex[rnds[8]] + + decimalToHex[rnds[9]] + + "-" + + decimalToHex[rnds[10]] + + decimalToHex[rnds[11]] + + decimalToHex[rnds[12]] + + decimalToHex[rnds[13]] + + decimalToHex[rnds[14]] + + decimalToHex[rnds[15]]); +}; diff --git a/node_modules/@smithy/uuid/dist-types/index.d.ts b/node_modules/@smithy/uuid/dist-types/index.d.ts new file mode 100644 index 0000000..7d67378 --- /dev/null +++ b/node_modules/@smithy/uuid/dist-types/index.d.ts @@ -0,0 +1 @@ +export * from "./v4"; diff --git a/node_modules/@smithy/uuid/dist-types/randomUUID.browser.d.ts b/node_modules/@smithy/uuid/dist-types/randomUUID.browser.d.ts new file mode 100644 index 0000000..1092111 --- /dev/null +++ b/node_modules/@smithy/uuid/dist-types/randomUUID.browser.d.ts @@ -0,0 +1 @@ +export declare const randomUUID: false | (() => `${string}-${string}-${string}-${string}-${string}`); diff --git a/node_modules/@smithy/uuid/dist-types/randomUUID.d.ts b/node_modules/@smithy/uuid/dist-types/randomUUID.d.ts new file mode 100644 index 0000000..43671f8 --- /dev/null +++ b/node_modules/@smithy/uuid/dist-types/randomUUID.d.ts @@ -0,0 +1,2 @@ +import crypto from "crypto"; +export declare const randomUUID: typeof crypto.randomUUID; diff --git a/node_modules/@smithy/uuid/dist-types/randomUUID.native.d.ts b/node_modules/@smithy/uuid/dist-types/randomUUID.native.d.ts new file mode 100644 index 0000000..1092111 --- /dev/null +++ b/node_modules/@smithy/uuid/dist-types/randomUUID.native.d.ts @@ -0,0 +1 @@ +export declare const randomUUID: false | (() => `${string}-${string}-${string}-${string}-${string}`); diff --git a/node_modules/@smithy/uuid/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/uuid/dist-types/ts3.4/index.d.ts new file mode 100644 index 0000000..7d67378 --- /dev/null +++ b/node_modules/@smithy/uuid/dist-types/ts3.4/index.d.ts @@ -0,0 +1 @@ +export * from "./v4"; diff --git a/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.browser.d.ts b/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.browser.d.ts new file mode 100644 index 0000000..1092111 --- /dev/null +++ b/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.browser.d.ts @@ -0,0 +1 @@ +export declare const randomUUID: false | (() => `${string}-${string}-${string}-${string}-${string}`); diff --git a/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.d.ts b/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.d.ts new file mode 100644 index 0000000..43671f8 --- /dev/null +++ b/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.d.ts @@ -0,0 +1,2 @@ +import crypto from "crypto"; +export declare const randomUUID: typeof crypto.randomUUID; diff --git a/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.native.d.ts b/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.native.d.ts new file mode 100644 index 0000000..1092111 --- /dev/null +++ b/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.native.d.ts @@ -0,0 +1 @@ +export declare const randomUUID: false | (() => `${string}-${string}-${string}-${string}-${string}`); diff --git a/node_modules/@smithy/uuid/dist-types/ts3.4/v4.d.ts b/node_modules/@smithy/uuid/dist-types/ts3.4/v4.d.ts new file mode 100644 index 0000000..bebf33d --- /dev/null +++ b/node_modules/@smithy/uuid/dist-types/ts3.4/v4.d.ts @@ -0,0 +1,19 @@ +/** + * Generates a RFC4122 version 4 UUID + * + * This function generates a random UUID using one of two methods: + * 1. The native randomUUID() function if available + * 2. A fallback implementation using crypto.getRandomValues() + * + * The fallback implementation: + * - Generates 16 random bytes using crypto.getRandomValues() + * - Sets the version bits to indicate version 4 + * - Sets the variant bits to indicate RFC4122 + * - Formats the bytes as a UUID string with dashes + * + * @returns A version 4 UUID string in the format: xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx + * where x is any hexadecimal digit and y is one of 8, 9, a, or b. + * + * @internal + */ +export declare const v4: () => string; diff --git a/node_modules/@smithy/uuid/dist-types/v4.d.ts b/node_modules/@smithy/uuid/dist-types/v4.d.ts new file mode 100644 index 0000000..bebf33d --- /dev/null +++ b/node_modules/@smithy/uuid/dist-types/v4.d.ts @@ -0,0 +1,19 @@ +/** + * Generates a RFC4122 version 4 UUID + * + * This function generates a random UUID using one of two methods: + * 1. The native randomUUID() function if available + * 2. A fallback implementation using crypto.getRandomValues() + * + * The fallback implementation: + * - Generates 16 random bytes using crypto.getRandomValues() + * - Sets the version bits to indicate version 4 + * - Sets the variant bits to indicate RFC4122 + * - Formats the bytes as a UUID string with dashes + * + * @returns A version 4 UUID string in the format: xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx + * where x is any hexadecimal digit and y is one of 8, 9, a, or b. + * + * @internal + */ +export declare const v4: () => string; diff --git a/node_modules/@smithy/uuid/package.json b/node_modules/@smithy/uuid/package.json new file mode 100644 index 0000000..60ab9dc --- /dev/null +++ b/node_modules/@smithy/uuid/package.json @@ -0,0 +1,66 @@ +{ + "name": "@smithy/uuid", + "version": "1.1.2", + "description": "Polyfill for generating UUID v4", + "dependencies": { + "tslib": "^2.6.2" + }, + "scripts": { + "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", + "build:cjs": "node ../../scripts/inline uuid", + "build:es": "yarn g:tsc -p tsconfig.es.json", + "build:types": "yarn g:tsc -p tsconfig.types.json", + "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", + "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", + "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", + "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", + "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", + "test": "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "sideEffects": false, + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "types": "./dist-types/index.d.ts", + "engines": { + "node": ">=18.0.0" + }, + "typesVersions": { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*/**" + ], + "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/uuid", + "repository": { + "type": "git", + "url": "https://github.com/smithy-lang/smithy-typescript.git", + "directory": "packages/uuid" + }, + "browser": { + "./dist-es/randomUUID": "./dist-es/randomUUID.browser" + }, + "react-native": {}, + "devDependencies": { + "@types/node": "^18.11.9", + "concurrently": "7.0.0", + "downlevel-dts": "0.10.1", + "premove": "4.0.0", + "typedoc": "0.23.23" + }, + "typedoc": { + "entryPoint": "src/index.ts" + }, + "publishConfig": { + "directory": ".release/package" + } +} \ No newline at end of file diff --git a/node_modules/@so-ric/colorspace/CHANGELOG.md b/node_modules/@so-ric/colorspace/CHANGELOG.md new file mode 100644 index 0000000..3cb8e7d --- /dev/null +++ b/node_modules/@so-ric/colorspace/CHANGELOG.md @@ -0,0 +1,9 @@ +# CHANGELOG + +## 1.1.4 + +- Revert release 1.1.3 which introduced a breaking change + +## 1.1.3 + +- Apply security patches diff --git a/node_modules/@so-ric/colorspace/LICENSE.md b/node_modules/@so-ric/colorspace/LICENSE.md new file mode 100644 index 0000000..9beaab1 --- /dev/null +++ b/node_modules/@so-ric/colorspace/LICENSE.md @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2015 Arnout Kazemier, Martijn Swaagman, the Contributors. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@so-ric/colorspace/README.md b/node_modules/@so-ric/colorspace/README.md new file mode 100644 index 0000000..d9191c4 --- /dev/null +++ b/node_modules/@so-ric/colorspace/README.md @@ -0,0 +1,46 @@ +Based on Arnout Kazemier's https://github.com/3rd-Eden/colorspace, only difference is updated packages to remove security vulnerbilities. +All credit goes to him. + +# colorspace + +Colorspace is a simple module which generates HEX color codes for namespaces. +The base color is decided by the first part of the namespace. All other parts of +the namespace alters the color tone. This way you can visually see which +namespaces belong together and which does not. + +## Installation + +The module is released in the public npm registry and can be installed by +running: + +``` +npm install --save @so-ric/colorspace +``` + +## Usage + +We assume that you've already required the module using the following code: + +```js +'use strict'; + +var colorspace = require('@so-ric/colorspace'); +``` + +The returned function accepts 2 arguments: + +1. `namespace` **string**, The namespace that needs to have a HEX color + generated. +2. `delimiter`, **string**, **optional**, Delimiter to find the different + sections of the namespace. Defaults to `:` + +#### Example + +```js +console.log(colorspace('color')) // #6b4b3a +console.log(colorspace('color:space')) // #796B67 +``` + +## License + +MIT diff --git a/node_modules/@so-ric/colorspace/dist/index.cjs.js b/node_modules/@so-ric/colorspace/dist/index.cjs.js new file mode 100644 index 0000000..228fe22 --- /dev/null +++ b/node_modules/@so-ric/colorspace/dist/index.cjs.js @@ -0,0 +1,2071 @@ +'use strict'; + +var cssKeywords = { + aliceblue: [240, 248, 255], + antiquewhite: [250, 235, 215], + aqua: [0, 255, 255], + aquamarine: [127, 255, 212], + azure: [240, 255, 255], + beige: [245, 245, 220], + bisque: [255, 228, 196], + black: [0, 0, 0], + blanchedalmond: [255, 235, 205], + blue: [0, 0, 255], + blueviolet: [138, 43, 226], + brown: [165, 42, 42], + burlywood: [222, 184, 135], + cadetblue: [95, 158, 160], + chartreuse: [127, 255, 0], + chocolate: [210, 105, 30], + coral: [255, 127, 80], + cornflowerblue: [100, 149, 237], + cornsilk: [255, 248, 220], + crimson: [220, 20, 60], + cyan: [0, 255, 255], + darkblue: [0, 0, 139], + darkcyan: [0, 139, 139], + darkgoldenrod: [184, 134, 11], + darkgray: [169, 169, 169], + darkgreen: [0, 100, 0], + darkgrey: [169, 169, 169], + darkkhaki: [189, 183, 107], + darkmagenta: [139, 0, 139], + darkolivegreen: [85, 107, 47], + darkorange: [255, 140, 0], + darkorchid: [153, 50, 204], + darkred: [139, 0, 0], + darksalmon: [233, 150, 122], + darkseagreen: [143, 188, 143], + darkslateblue: [72, 61, 139], + darkslategray: [47, 79, 79], + darkslategrey: [47, 79, 79], + darkturquoise: [0, 206, 209], + darkviolet: [148, 0, 211], + deeppink: [255, 20, 147], + deepskyblue: [0, 191, 255], + dimgray: [105, 105, 105], + dimgrey: [105, 105, 105], + dodgerblue: [30, 144, 255], + firebrick: [178, 34, 34], + floralwhite: [255, 250, 240], + forestgreen: [34, 139, 34], + fuchsia: [255, 0, 255], + gainsboro: [220, 220, 220], + ghostwhite: [248, 248, 255], + gold: [255, 215, 0], + goldenrod: [218, 165, 32], + gray: [128, 128, 128], + green: [0, 128, 0], + greenyellow: [173, 255, 47], + grey: [128, 128, 128], + honeydew: [240, 255, 240], + hotpink: [255, 105, 180], + indianred: [205, 92, 92], + indigo: [75, 0, 130], + ivory: [255, 255, 240], + khaki: [240, 230, 140], + lavender: [230, 230, 250], + lavenderblush: [255, 240, 245], + lawngreen: [124, 252, 0], + lemonchiffon: [255, 250, 205], + lightblue: [173, 216, 230], + lightcoral: [240, 128, 128], + lightcyan: [224, 255, 255], + lightgoldenrodyellow: [250, 250, 210], + lightgray: [211, 211, 211], + lightgreen: [144, 238, 144], + lightgrey: [211, 211, 211], + lightpink: [255, 182, 193], + lightsalmon: [255, 160, 122], + lightseagreen: [32, 178, 170], + lightskyblue: [135, 206, 250], + lightslategray: [119, 136, 153], + lightslategrey: [119, 136, 153], + lightsteelblue: [176, 196, 222], + lightyellow: [255, 255, 224], + lime: [0, 255, 0], + limegreen: [50, 205, 50], + linen: [250, 240, 230], + magenta: [255, 0, 255], + maroon: [128, 0, 0], + mediumaquamarine: [102, 205, 170], + mediumblue: [0, 0, 205], + mediumorchid: [186, 85, 211], + mediumpurple: [147, 112, 219], + mediumseagreen: [60, 179, 113], + mediumslateblue: [123, 104, 238], + mediumspringgreen: [0, 250, 154], + mediumturquoise: [72, 209, 204], + mediumvioletred: [199, 21, 133], + midnightblue: [25, 25, 112], + mintcream: [245, 255, 250], + mistyrose: [255, 228, 225], + moccasin: [255, 228, 181], + navajowhite: [255, 222, 173], + navy: [0, 0, 128], + oldlace: [253, 245, 230], + olive: [128, 128, 0], + olivedrab: [107, 142, 35], + orange: [255, 165, 0], + orangered: [255, 69, 0], + orchid: [218, 112, 214], + palegoldenrod: [238, 232, 170], + palegreen: [152, 251, 152], + paleturquoise: [175, 238, 238], + palevioletred: [219, 112, 147], + papayawhip: [255, 239, 213], + peachpuff: [255, 218, 185], + peru: [205, 133, 63], + pink: [255, 192, 203], + plum: [221, 160, 221], + powderblue: [176, 224, 230], + purple: [128, 0, 128], + rebeccapurple: [102, 51, 153], + red: [255, 0, 0], + rosybrown: [188, 143, 143], + royalblue: [65, 105, 225], + saddlebrown: [139, 69, 19], + salmon: [250, 128, 114], + sandybrown: [244, 164, 96], + seagreen: [46, 139, 87], + seashell: [255, 245, 238], + sienna: [160, 82, 45], + silver: [192, 192, 192], + skyblue: [135, 206, 235], + slateblue: [106, 90, 205], + slategray: [112, 128, 144], + slategrey: [112, 128, 144], + snow: [255, 250, 250], + springgreen: [0, 255, 127], + steelblue: [70, 130, 180], + tan: [210, 180, 140], + teal: [0, 128, 128], + thistle: [216, 191, 216], + tomato: [255, 99, 71], + turquoise: [64, 224, 208], + violet: [238, 130, 238], + wheat: [245, 222, 179], + white: [255, 255, 255], + whitesmoke: [245, 245, 245], + yellow: [255, 255, 0], + yellowgreen: [154, 205, 50] +}; + +const reverseNames = Object.create(null); + +// Create a list of reverse color names +for (const name in cssKeywords) { + if (Object.hasOwn(cssKeywords, name)) { + reverseNames[cssKeywords[name]] = name; + } +} + +const cs = { + to: {}, + get: {}, +}; + +cs.get = function (string) { + const prefix = string.slice(0, 3).toLowerCase(); + let value; + let model; + switch (prefix) { + case 'hsl': { + value = cs.get.hsl(string); + model = 'hsl'; + break; + } + + case 'hwb': { + value = cs.get.hwb(string); + model = 'hwb'; + break; + } + + default: { + value = cs.get.rgb(string); + model = 'rgb'; + break; + } + } + + if (!value) { + return null; + } + + return {model, value}; +}; + +cs.get.rgb = function (string) { + if (!string) { + return null; + } + + const abbr = /^#([a-f\d]{3,4})$/i; + const hex = /^#([a-f\d]{6})([a-f\d]{2})?$/i; + const rgba = /^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/; + const per = /^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/; + const keyword = /^(\w+)$/; + + let rgb = [0, 0, 0, 1]; + let match; + let i; + let hexAlpha; + + if (match = string.match(hex)) { + hexAlpha = match[2]; + match = match[1]; + + for (i = 0; i < 3; i++) { + // https://jsperf.com/slice-vs-substr-vs-substring-methods-long-string/19 + const i2 = i * 2; + rgb[i] = Number.parseInt(match.slice(i2, i2 + 2), 16); + } + + if (hexAlpha) { + rgb[3] = Number.parseInt(hexAlpha, 16) / 255; + } + } else if (match = string.match(abbr)) { + match = match[1]; + hexAlpha = match[3]; + + for (i = 0; i < 3; i++) { + rgb[i] = Number.parseInt(match[i] + match[i], 16); + } + + if (hexAlpha) { + rgb[3] = Number.parseInt(hexAlpha + hexAlpha, 16) / 255; + } + } else if (match = string.match(rgba)) { + for (i = 0; i < 3; i++) { + rgb[i] = Number.parseInt(match[i + 1], 10); + } + + if (match[4]) { + rgb[3] = match[5] ? Number.parseFloat(match[4]) * 0.01 : Number.parseFloat(match[4]); + } + } else if (match = string.match(per)) { + for (i = 0; i < 3; i++) { + rgb[i] = Math.round(Number.parseFloat(match[i + 1]) * 2.55); + } + + if (match[4]) { + rgb[3] = match[5] ? Number.parseFloat(match[4]) * 0.01 : Number.parseFloat(match[4]); + } + } else if (match = string.match(keyword)) { + if (match[1] === 'transparent') { + return [0, 0, 0, 0]; + } + + if (!Object.hasOwn(cssKeywords, match[1])) { + return null; + } + + rgb = cssKeywords[match[1]]; + rgb[3] = 1; + + return rgb; + } else { + return null; + } + + for (i = 0; i < 3; i++) { + rgb[i] = clamp(rgb[i], 0, 255); + } + + rgb[3] = clamp(rgb[3], 0, 1); + + return rgb; +}; + +cs.get.hsl = function (string) { + if (!string) { + return null; + } + + const hsl = /^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/; + const match = string.match(hsl); + + if (match) { + const alpha = Number.parseFloat(match[4]); + const h = ((Number.parseFloat(match[1]) % 360) + 360) % 360; + const s = clamp(Number.parseFloat(match[2]), 0, 100); + const l = clamp(Number.parseFloat(match[3]), 0, 100); + const a = clamp(Number.isNaN(alpha) ? 1 : alpha, 0, 1); + + return [h, s, l, a]; + } + + return null; +}; + +cs.get.hwb = function (string) { + if (!string) { + return null; + } + + const hwb = /^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*[\s,]\s*([+-]?[\d.]+)%\s*[\s,]\s*([+-]?[\d.]+)%\s*(?:[\s,]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/; + const match = string.match(hwb); + + if (match) { + const alpha = Number.parseFloat(match[4]); + const h = ((Number.parseFloat(match[1]) % 360) + 360) % 360; + const w = clamp(Number.parseFloat(match[2]), 0, 100); + const b = clamp(Number.parseFloat(match[3]), 0, 100); + const a = clamp(Number.isNaN(alpha) ? 1 : alpha, 0, 1); + return [h, w, b, a]; + } + + return null; +}; + +cs.to.hex = function (...rgba) { + return ( + '#' + + hexDouble(rgba[0]) + + hexDouble(rgba[1]) + + hexDouble(rgba[2]) + + (rgba[3] < 1 + ? (hexDouble(Math.round(rgba[3] * 255))) + : '') + ); +}; + +cs.to.rgb = function (...rgba) { + return rgba.length < 4 || rgba[3] === 1 + ? 'rgb(' + Math.round(rgba[0]) + ', ' + Math.round(rgba[1]) + ', ' + Math.round(rgba[2]) + ')' + : 'rgba(' + Math.round(rgba[0]) + ', ' + Math.round(rgba[1]) + ', ' + Math.round(rgba[2]) + ', ' + rgba[3] + ')'; +}; + +cs.to.rgb.percent = function (...rgba) { + const r = Math.round(rgba[0] / 255 * 100); + const g = Math.round(rgba[1] / 255 * 100); + const b = Math.round(rgba[2] / 255 * 100); + + return rgba.length < 4 || rgba[3] === 1 + ? 'rgb(' + r + '%, ' + g + '%, ' + b + '%)' + : 'rgba(' + r + '%, ' + g + '%, ' + b + '%, ' + rgba[3] + ')'; +}; + +cs.to.hsl = function (...hsla) { + return hsla.length < 4 || hsla[3] === 1 + ? 'hsl(' + hsla[0] + ', ' + hsla[1] + '%, ' + hsla[2] + '%)' + : 'hsla(' + hsla[0] + ', ' + hsla[1] + '%, ' + hsla[2] + '%, ' + hsla[3] + ')'; +}; + +// Hwb is a bit different than rgb(a) & hsl(a) since there is no alpha specific syntax +// (hwb have alpha optional & 1 is default value) +cs.to.hwb = function (...hwba) { + let a = ''; + if (hwba.length >= 4 && hwba[3] !== 1) { + a = ', ' + hwba[3]; + } + + return 'hwb(' + hwba[0] + ', ' + hwba[1] + '%, ' + hwba[2] + '%' + a + ')'; +}; + +cs.to.keyword = function (...rgb) { + return reverseNames[rgb.slice(0, 3)]; +}; + +// Helpers +function clamp(number_, min, max) { + return Math.min(Math.max(min, number_), max); +} + +function hexDouble(number_) { + const string_ = Math.round(number_).toString(16).toUpperCase(); + return (string_.length < 2) ? '0' + string_ : string_; +} + +/* MIT license */ +/* eslint-disable no-mixed-operators */ + +// NOTE: conversions should only return primitive values (i.e. arrays, or +// values that give correct `typeof` results). +// do not use box values types (i.e. Number(), String(), etc.) + +const reverseKeywords = {}; +for (const key of Object.keys(cssKeywords)) { + reverseKeywords[cssKeywords[key]] = key; +} + +const convert$1 = { + rgb: {channels: 3, labels: 'rgb'}, + hsl: {channels: 3, labels: 'hsl'}, + hsv: {channels: 3, labels: 'hsv'}, + hwb: {channels: 3, labels: 'hwb'}, + cmyk: {channels: 4, labels: 'cmyk'}, + xyz: {channels: 3, labels: 'xyz'}, + lab: {channels: 3, labels: 'lab'}, + oklab: {channels: 3, labels: ['okl', 'oka', 'okb']}, + lch: {channels: 3, labels: 'lch'}, + oklch: {channels: 3, labels: ['okl', 'okc', 'okh']}, + hex: {channels: 1, labels: ['hex']}, + keyword: {channels: 1, labels: ['keyword']}, + ansi16: {channels: 1, labels: ['ansi16']}, + ansi256: {channels: 1, labels: ['ansi256']}, + hcg: {channels: 3, labels: ['h', 'c', 'g']}, + apple: {channels: 3, labels: ['r16', 'g16', 'b16']}, + gray: {channels: 1, labels: ['gray']}, +}; + +// LAB f(t) constant +const LAB_FT = (6 / 29) ** 3; + +// SRGB non-linear transform functions +function srgbNonlinearTransform(c) { + const cc = c > 0.003_130_8 + ? ((1.055 * (c ** (1 / 2.4))) - 0.055) + : c * 12.92; + return Math.min(Math.max(0, cc), 1); +} + +function srgbNonlinearTransformInv(c) { + return c > 0.040_45 ? (((c + 0.055) / 1.055) ** 2.4) : (c / 12.92); +} + +// Hide .channels and .labels properties +for (const model of Object.keys(convert$1)) { + if (!('channels' in convert$1[model])) { + throw new Error('missing channels property: ' + model); + } + + if (!('labels' in convert$1[model])) { + throw new Error('missing channel labels property: ' + model); + } + + if (convert$1[model].labels.length !== convert$1[model].channels) { + throw new Error('channel and label counts mismatch: ' + model); + } + + const {channels, labels} = convert$1[model]; + delete convert$1[model].channels; + delete convert$1[model].labels; + Object.defineProperty(convert$1[model], 'channels', {value: channels}); + Object.defineProperty(convert$1[model], 'labels', {value: labels}); +} + +convert$1.rgb.hsl = function (rgb) { + const r = rgb[0] / 255; + const g = rgb[1] / 255; + const b = rgb[2] / 255; + const min = Math.min(r, g, b); + const max = Math.max(r, g, b); + const delta = max - min; + let h; + let s; + + switch (max) { + case min: { + h = 0; + + break; + } + + case r: { + h = (g - b) / delta; + + break; + } + + case g: { + h = 2 + (b - r) / delta; + + break; + } + + case b: { + h = 4 + (r - g) / delta; + + break; + } + // No default + } + + h = Math.min(h * 60, 360); + + if (h < 0) { + h += 360; + } + + const l = (min + max) / 2; + + if (max === min) { + s = 0; + } else if (l <= 0.5) { + s = delta / (max + min); + } else { + s = delta / (2 - max - min); + } + + return [h, s * 100, l * 100]; +}; + +convert$1.rgb.hsv = function (rgb) { + let rdif; + let gdif; + let bdif; + let h; + let s; + + const r = rgb[0] / 255; + const g = rgb[1] / 255; + const b = rgb[2] / 255; + const v = Math.max(r, g, b); + const diff = v - Math.min(r, g, b); + const diffc = function (c) { + return (v - c) / 6 / diff + 1 / 2; + }; + + if (diff === 0) { + h = 0; + s = 0; + } else { + s = diff / v; + rdif = diffc(r); + gdif = diffc(g); + bdif = diffc(b); + + switch (v) { + case r: { + h = bdif - gdif; + + break; + } + + case g: { + h = (1 / 3) + rdif - bdif; + + break; + } + + case b: { + h = (2 / 3) + gdif - rdif; + + break; + } + // No default + } + + if (h < 0) { + h += 1; + } else if (h > 1) { + h -= 1; + } + } + + return [ + h * 360, + s * 100, + v * 100, + ]; +}; + +convert$1.rgb.hwb = function (rgb) { + const r = rgb[0]; + const g = rgb[1]; + let b = rgb[2]; + const h = convert$1.rgb.hsl(rgb)[0]; + const w = 1 / 255 * Math.min(r, Math.min(g, b)); + + b = 1 - 1 / 255 * Math.max(r, Math.max(g, b)); + + return [h, w * 100, b * 100]; +}; + +convert$1.rgb.oklab = function (rgb) { + // Assume sRGB + const r = srgbNonlinearTransformInv(rgb[0] / 255); + const g = srgbNonlinearTransformInv(rgb[1] / 255); + const b = srgbNonlinearTransformInv(rgb[2] / 255); + + const lp = Math.cbrt(0.412_221_470_8 * r + 0.536_332_536_3 * g + 0.051_445_992_9 * b); + const mp = Math.cbrt(0.211_903_498_2 * r + 0.680_699_545_1 * g + 0.107_396_956_6 * b); + const sp = Math.cbrt(0.088_302_461_9 * r + 0.281_718_837_6 * g + 0.629_978_700_5 * b); + + const l = 0.210_454_255_3 * lp + 0.793_617_785 * mp - 0.004_072_046_8 * sp; + const aa = 1.977_998_495_1 * lp - 2.428_592_205 * mp + 0.450_593_709_9 * sp; + const bb = 0.025_904_037_1 * lp + 0.782_771_766_2 * mp - 0.808_675_766 * sp; + + return [l * 100, aa * 100, bb * 100]; +}; + +convert$1.rgb.cmyk = function (rgb) { + const r = rgb[0] / 255; + const g = rgb[1] / 255; + const b = rgb[2] / 255; + + const k = Math.min(1 - r, 1 - g, 1 - b); + const c = (1 - r - k) / (1 - k) || 0; + const m = (1 - g - k) / (1 - k) || 0; + const y = (1 - b - k) / (1 - k) || 0; + + return [c * 100, m * 100, y * 100, k * 100]; +}; + +function comparativeDistance(x, y) { + /* + See https://en.m.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance + */ + return ( + ((x[0] - y[0]) ** 2) + + ((x[1] - y[1]) ** 2) + + ((x[2] - y[2]) ** 2) + ); +} + +convert$1.rgb.keyword = function (rgb) { + const reversed = reverseKeywords[rgb]; + if (reversed) { + return reversed; + } + + let currentClosestDistance = Number.POSITIVE_INFINITY; + let currentClosestKeyword; + + for (const keyword of Object.keys(cssKeywords)) { + const value = cssKeywords[keyword]; + + // Compute comparative distance + const distance = comparativeDistance(rgb, value); + + // Check if its less, if so set as closest + if (distance < currentClosestDistance) { + currentClosestDistance = distance; + currentClosestKeyword = keyword; + } + } + + return currentClosestKeyword; +}; + +convert$1.keyword.rgb = function (keyword) { + return cssKeywords[keyword]; +}; + +convert$1.rgb.xyz = function (rgb) { + // Assume sRGB + const r = srgbNonlinearTransformInv(rgb[0] / 255); + const g = srgbNonlinearTransformInv(rgb[1] / 255); + const b = srgbNonlinearTransformInv(rgb[2] / 255); + + const x = (r * 0.412_456_4) + (g * 0.357_576_1) + (b * 0.180_437_5); + const y = (r * 0.212_672_9) + (g * 0.715_152_2) + (b * 0.072_175); + const z = (r * 0.019_333_9) + (g * 0.119_192) + (b * 0.950_304_1); + + return [x * 100, y * 100, z * 100]; +}; + +convert$1.rgb.lab = function (rgb) { + const xyz = convert$1.rgb.xyz(rgb); + let x = xyz[0]; + let y = xyz[1]; + let z = xyz[2]; + + x /= 95.047; + y /= 100; + z /= 108.883; + + x = x > LAB_FT ? (x ** (1 / 3)) : (7.787 * x) + (16 / 116); + y = y > LAB_FT ? (y ** (1 / 3)) : (7.787 * y) + (16 / 116); + z = z > LAB_FT ? (z ** (1 / 3)) : (7.787 * z) + (16 / 116); + + const l = (116 * y) - 16; + const a = 500 * (x - y); + const b = 200 * (y - z); + + return [l, a, b]; +}; + +convert$1.hsl.rgb = function (hsl) { + const h = hsl[0] / 360; + const s = hsl[1] / 100; + const l = hsl[2] / 100; + let t3; + let value; + + if (s === 0) { + value = l * 255; + return [value, value, value]; + } + + const t2 = l < 0.5 ? l * (1 + s) : l + s - l * s; + + const t1 = 2 * l - t2; + + const rgb = [0, 0, 0]; + for (let i = 0; i < 3; i++) { + t3 = h + 1 / 3 * -(i - 1); + if (t3 < 0) { + t3++; + } + + if (t3 > 1) { + t3--; + } + + if (6 * t3 < 1) { + value = t1 + (t2 - t1) * 6 * t3; + } else if (2 * t3 < 1) { + value = t2; + } else if (3 * t3 < 2) { + value = t1 + (t2 - t1) * (2 / 3 - t3) * 6; + } else { + value = t1; + } + + rgb[i] = value * 255; + } + + return rgb; +}; + +convert$1.hsl.hsv = function (hsl) { + const h = hsl[0]; + let s = hsl[1] / 100; + let l = hsl[2] / 100; + let smin = s; + const lmin = Math.max(l, 0.01); + + l *= 2; + s *= (l <= 1) ? l : 2 - l; + smin *= lmin <= 1 ? lmin : 2 - lmin; + const v = (l + s) / 2; + const sv = l === 0 ? (2 * smin) / (lmin + smin) : (2 * s) / (l + s); + + return [h, sv * 100, v * 100]; +}; + +convert$1.hsv.rgb = function (hsv) { + const h = hsv[0] / 60; + const s = hsv[1] / 100; + let v = hsv[2] / 100; + const hi = Math.floor(h) % 6; + + const f = h - Math.floor(h); + const p = 255 * v * (1 - s); + const q = 255 * v * (1 - (s * f)); + const t = 255 * v * (1 - (s * (1 - f))); + v *= 255; + + switch (hi) { + case 0: { + return [v, t, p]; + } + + case 1: { + return [q, v, p]; + } + + case 2: { + return [p, v, t]; + } + + case 3: { + return [p, q, v]; + } + + case 4: { + return [t, p, v]; + } + + case 5: { + return [v, p, q]; + } + } +}; + +convert$1.hsv.hsl = function (hsv) { + const h = hsv[0]; + const s = hsv[1] / 100; + const v = hsv[2] / 100; + const vmin = Math.max(v, 0.01); + let sl; + let l; + + l = (2 - s) * v; + const lmin = (2 - s) * vmin; + sl = s * vmin; + sl /= (lmin <= 1) ? lmin : 2 - lmin; + sl = sl || 0; + l /= 2; + + return [h, sl * 100, l * 100]; +}; + +// http://dev.w3.org/csswg/css-color/#hwb-to-rgb +convert$1.hwb.rgb = function (hwb) { + const h = hwb[0] / 360; + let wh = hwb[1] / 100; + let bl = hwb[2] / 100; + const ratio = wh + bl; + let f; + + // Wh + bl cant be > 1 + if (ratio > 1) { + wh /= ratio; + bl /= ratio; + } + + const i = Math.floor(6 * h); + const v = 1 - bl; + f = 6 * h - i; + + // eslint-disable-next-line no-bitwise + if ((i & 0x01) !== 0) { + f = 1 - f; + } + + const n = wh + f * (v - wh); // Linear interpolation + + let r; + let g; + let b; + /* eslint-disable max-statements-per-line,no-multi-spaces, default-case-last */ + switch (i) { + default: + case 6: + case 0: { r = v; g = n; b = wh; break; + } + + case 1: { r = n; g = v; b = wh; break; + } + + case 2: { r = wh; g = v; b = n; break; + } + + case 3: { r = wh; g = n; b = v; break; + } + + case 4: { r = n; g = wh; b = v; break; + } + + case 5: { r = v; g = wh; b = n; break; + } + } + /* eslint-enable max-statements-per-line,no-multi-spaces, default-case-last */ + + return [r * 255, g * 255, b * 255]; +}; + +convert$1.cmyk.rgb = function (cmyk) { + const c = cmyk[0] / 100; + const m = cmyk[1] / 100; + const y = cmyk[2] / 100; + const k = cmyk[3] / 100; + + const r = 1 - Math.min(1, c * (1 - k) + k); + const g = 1 - Math.min(1, m * (1 - k) + k); + const b = 1 - Math.min(1, y * (1 - k) + k); + + return [r * 255, g * 255, b * 255]; +}; + +convert$1.xyz.rgb = function (xyz) { + const x = xyz[0] / 100; + const y = xyz[1] / 100; + const z = xyz[2] / 100; + let r; + let g; + let b; + + r = (x * 3.240_454_2) + (y * -1.537_138_5) + (z * -0.498_531_4); + g = (x * -0.969_266) + (y * 1.876_010_8) + (z * 0.041_556); + b = (x * 0.055_643_4) + (y * -0.204_025_9) + (z * 1.057_225_2); + + // Assume sRGB + r = srgbNonlinearTransform(r); + g = srgbNonlinearTransform(g); + b = srgbNonlinearTransform(b); + + return [r * 255, g * 255, b * 255]; +}; + +convert$1.xyz.lab = function (xyz) { + let x = xyz[0]; + let y = xyz[1]; + let z = xyz[2]; + + x /= 95.047; + y /= 100; + z /= 108.883; + + x = x > LAB_FT ? (x ** (1 / 3)) : (7.787 * x) + (16 / 116); + y = y > LAB_FT ? (y ** (1 / 3)) : (7.787 * y) + (16 / 116); + z = z > LAB_FT ? (z ** (1 / 3)) : (7.787 * z) + (16 / 116); + + const l = (116 * y) - 16; + const a = 500 * (x - y); + const b = 200 * (y - z); + + return [l, a, b]; +}; + +convert$1.xyz.oklab = function (xyz) { + const x = xyz[0] / 100; + const y = xyz[1] / 100; + const z = xyz[2] / 100; + + const lp = Math.cbrt(0.818_933_010_1 * x + 0.361_866_742_4 * y - 0.128_859_713_7 * z); + const mp = Math.cbrt(0.032_984_543_6 * x + 0.929_311_871_5 * y + 0.036_145_638_7 * z); + const sp = Math.cbrt(0.048_200_301_8 * x + 0.264_366_269_1 * y + 0.633_851_707 * z); + + const l = 0.210_454_255_3 * lp + 0.793_617_785 * mp - 0.004_072_046_8 * sp; + const a = 1.977_998_495_1 * lp - 2.428_592_205 * mp + 0.450_593_709_9 * sp; + const b = 0.025_904_037_1 * lp + 0.782_771_766_2 * mp - 0.808_675_766 * sp; + + return [l * 100, a * 100, b * 100]; +}; + +convert$1.oklab.oklch = function (oklab) { + return convert$1.lab.lch(oklab); +}; + +convert$1.oklab.xyz = function (oklab) { + const ll = oklab[0] / 100; + const a = oklab[1] / 100; + const b = oklab[2] / 100; + + const l = (0.999_999_998 * ll + 0.396_337_792 * a + 0.215_803_758 * b) ** 3; + const m = (1.000_000_008 * ll - 0.105_561_342 * a - 0.063_854_175 * b) ** 3; + const s = (1.000_000_055 * ll - 0.089_484_182 * a - 1.291_485_538 * b) ** 3; + + const x = 1.227_013_851 * l - 0.557_799_98 * m + 0.281_256_149 * s; + const y = -0.040_580_178 * l + 1.112_256_87 * m - 0.071_676_679 * s; + const z = -0.076_381_285 * l - 0.421_481_978 * m + 1.586_163_22 * s; + + return [x * 100, y * 100, z * 100]; +}; + +convert$1.oklab.rgb = function (oklab) { + const ll = oklab[0] / 100; + const aa = oklab[1] / 100; + const bb = oklab[2] / 100; + + const l = (ll + 0.396_337_777_4 * aa + 0.215_803_757_3 * bb) ** 3; + const m = (ll - 0.105_561_345_8 * aa - 0.063_854_172_8 * bb) ** 3; + const s = (ll - 0.089_484_177_5 * aa - 1.291_485_548 * bb) ** 3; + + // Assume sRGB + const r = srgbNonlinearTransform(4.076_741_662_1 * l - 3.307_711_591_3 * m + 0.230_969_929_2 * s); + const g = srgbNonlinearTransform(-1.268_438_004_6 * l + 2.609_757_401_1 * m - 0.341_319_396_5 * s); + const b = srgbNonlinearTransform(-0.004_196_086_3 * l - 0.703_418_614_7 * m + 1.707_614_701 * s); + + return [r * 255, g * 255, b * 255]; +}; + +convert$1.oklch.oklab = function (oklch) { + return convert$1.lch.lab(oklch); +}; + +convert$1.lab.xyz = function (lab) { + const l = lab[0]; + const a = lab[1]; + const b = lab[2]; + let x; + let y; + let z; + + y = (l + 16) / 116; + x = a / 500 + y; + z = y - b / 200; + + const y2 = y ** 3; + const x2 = x ** 3; + const z2 = z ** 3; + y = y2 > LAB_FT ? y2 : (y - 16 / 116) / 7.787; + x = x2 > LAB_FT ? x2 : (x - 16 / 116) / 7.787; + z = z2 > LAB_FT ? z2 : (z - 16 / 116) / 7.787; + + // Illuminant D65 XYZ Tristrimulus Values + // https://en.wikipedia.org/wiki/CIE_1931_color_space + x *= 95.047; + y *= 100; + z *= 108.883; + + return [x, y, z]; +}; + +convert$1.lab.lch = function (lab) { + const l = lab[0]; + const a = lab[1]; + const b = lab[2]; + let h; + + const hr = Math.atan2(b, a); + h = hr * 360 / 2 / Math.PI; + + if (h < 0) { + h += 360; + } + + const c = Math.sqrt(a * a + b * b); + + return [l, c, h]; +}; + +convert$1.lch.lab = function (lch) { + const l = lch[0]; + const c = lch[1]; + const h = lch[2]; + + const hr = h / 360 * 2 * Math.PI; + const a = c * Math.cos(hr); + const b = c * Math.sin(hr); + + return [l, a, b]; +}; + +convert$1.rgb.ansi16 = function (args, saturation = null) { + const [r, g, b] = args; + let value = saturation === null ? convert$1.rgb.hsv(args)[2] : saturation; // Hsv -> ansi16 optimization + + value = Math.round(value / 50); + + if (value === 0) { + return 30; + } + + let ansi = 30 + /* eslint-disable no-bitwise */ + + ((Math.round(b / 255) << 2) + | (Math.round(g / 255) << 1) + | Math.round(r / 255)); + /* eslint-enable no-bitwise */ + + if (value === 2) { + ansi += 60; + } + + return ansi; +}; + +convert$1.hsv.ansi16 = function (args) { + // Optimization here; we already know the value and don't need to get + // it converted for us. + return convert$1.rgb.ansi16(convert$1.hsv.rgb(args), args[2]); +}; + +convert$1.rgb.ansi256 = function (args) { + const r = args[0]; + const g = args[1]; + const b = args[2]; + + // We use the extended greyscale palette here, with the exception of + // black and white. normal palette only has 4 greyscale shades. + // eslint-disable-next-line no-bitwise + if (r >> 4 === g >> 4 && g >> 4 === b >> 4) { + if (r < 8) { + return 16; + } + + if (r > 248) { + return 231; + } + + return Math.round(((r - 8) / 247) * 24) + 232; + } + + const ansi = 16 + + (36 * Math.round(r / 255 * 5)) + + (6 * Math.round(g / 255 * 5)) + + Math.round(b / 255 * 5); + + return ansi; +}; + +convert$1.ansi16.rgb = function (args) { + args = args[0]; + + let color = args % 10; + + // Handle greyscale + if (color === 0 || color === 7) { + if (args > 50) { + color += 3.5; + } + + color = color / 10.5 * 255; + + return [color, color, color]; + } + + const mult = (Math.trunc(args > 50) + 1) * 0.5; + /* eslint-disable no-bitwise */ + const r = ((color & 1) * mult) * 255; + const g = (((color >> 1) & 1) * mult) * 255; + const b = (((color >> 2) & 1) * mult) * 255; + /* eslint-enable no-bitwise */ + + return [r, g, b]; +}; + +convert$1.ansi256.rgb = function (args) { + args = args[0]; + + // Handle greyscale + if (args >= 232) { + const c = (args - 232) * 10 + 8; + return [c, c, c]; + } + + args -= 16; + + let rem; + const r = Math.floor(args / 36) / 5 * 255; + const g = Math.floor((rem = args % 36) / 6) / 5 * 255; + const b = (rem % 6) / 5 * 255; + + return [r, g, b]; +}; + +convert$1.rgb.hex = function (args) { + /* eslint-disable no-bitwise */ + const integer = ((Math.round(args[0]) & 0xFF) << 16) + + ((Math.round(args[1]) & 0xFF) << 8) + + (Math.round(args[2]) & 0xFF); + /* eslint-enable no-bitwise */ + + const string = integer.toString(16).toUpperCase(); + return '000000'.slice(string.length) + string; +}; + +convert$1.hex.rgb = function (args) { + const match = args.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i); + if (!match) { + return [0, 0, 0]; + } + + let colorString = match[0]; + + if (match[0].length === 3) { + colorString = [...colorString].map(char => char + char).join(''); + } + + const integer = Number.parseInt(colorString, 16); + /* eslint-disable no-bitwise */ + const r = (integer >> 16) & 0xFF; + const g = (integer >> 8) & 0xFF; + const b = integer & 0xFF; + /* eslint-enable no-bitwise */ + + return [r, g, b]; +}; + +convert$1.rgb.hcg = function (rgb) { + const r = rgb[0] / 255; + const g = rgb[1] / 255; + const b = rgb[2] / 255; + const max = Math.max(Math.max(r, g), b); + const min = Math.min(Math.min(r, g), b); + const chroma = (max - min); + let hue; + + const grayscale = chroma < 1 ? min / (1 - chroma) : 0; + + if (chroma <= 0) { + hue = 0; + } else if (max === r) { + hue = ((g - b) / chroma) % 6; + } else if (max === g) { + hue = 2 + (b - r) / chroma; + } else { + hue = 4 + (r - g) / chroma; + } + + hue /= 6; + hue %= 1; + + return [hue * 360, chroma * 100, grayscale * 100]; +}; + +convert$1.hsl.hcg = function (hsl) { + const s = hsl[1] / 100; + const l = hsl[2] / 100; + + const c = l < 0.5 ? (2 * s * l) : (2 * s * (1 - l)); + + let f = 0; + if (c < 1) { + f = (l - 0.5 * c) / (1 - c); + } + + return [hsl[0], c * 100, f * 100]; +}; + +convert$1.hsv.hcg = function (hsv) { + const s = hsv[1] / 100; + const v = hsv[2] / 100; + + const c = s * v; + let f = 0; + + if (c < 1) { + f = (v - c) / (1 - c); + } + + return [hsv[0], c * 100, f * 100]; +}; + +convert$1.hcg.rgb = function (hcg) { + const h = hcg[0] / 360; + const c = hcg[1] / 100; + const g = hcg[2] / 100; + + if (c === 0) { + return [g * 255, g * 255, g * 255]; + } + + const pure = [0, 0, 0]; + const hi = (h % 1) * 6; + const v = hi % 1; + const w = 1 - v; + let mg = 0; + + /* eslint-disable max-statements-per-line */ + switch (Math.floor(hi)) { + case 0: { + pure[0] = 1; pure[1] = v; pure[2] = 0; break; + } + + case 1: { + pure[0] = w; pure[1] = 1; pure[2] = 0; break; + } + + case 2: { + pure[0] = 0; pure[1] = 1; pure[2] = v; break; + } + + case 3: { + pure[0] = 0; pure[1] = w; pure[2] = 1; break; + } + + case 4: { + pure[0] = v; pure[1] = 0; pure[2] = 1; break; + } + + default: { + pure[0] = 1; pure[1] = 0; pure[2] = w; + } + } + /* eslint-enable max-statements-per-line */ + + mg = (1 - c) * g; + + return [ + (c * pure[0] + mg) * 255, + (c * pure[1] + mg) * 255, + (c * pure[2] + mg) * 255, + ]; +}; + +convert$1.hcg.hsv = function (hcg) { + const c = hcg[1] / 100; + const g = hcg[2] / 100; + + const v = c + g * (1 - c); + let f = 0; + + if (v > 0) { + f = c / v; + } + + return [hcg[0], f * 100, v * 100]; +}; + +convert$1.hcg.hsl = function (hcg) { + const c = hcg[1] / 100; + const g = hcg[2] / 100; + + const l = g * (1 - c) + 0.5 * c; + let s = 0; + + if (l > 0 && l < 0.5) { + s = c / (2 * l); + } else if (l >= 0.5 && l < 1) { + s = c / (2 * (1 - l)); + } + + return [hcg[0], s * 100, l * 100]; +}; + +convert$1.hcg.hwb = function (hcg) { + const c = hcg[1] / 100; + const g = hcg[2] / 100; + const v = c + g * (1 - c); + return [hcg[0], (v - c) * 100, (1 - v) * 100]; +}; + +convert$1.hwb.hcg = function (hwb) { + const w = hwb[1] / 100; + const b = hwb[2] / 100; + const v = 1 - b; + const c = v - w; + let g = 0; + + if (c < 1) { + g = (v - c) / (1 - c); + } + + return [hwb[0], c * 100, g * 100]; +}; + +convert$1.apple.rgb = function (apple) { + return [(apple[0] / 65_535) * 255, (apple[1] / 65_535) * 255, (apple[2] / 65_535) * 255]; +}; + +convert$1.rgb.apple = function (rgb) { + return [(rgb[0] / 255) * 65_535, (rgb[1] / 255) * 65_535, (rgb[2] / 255) * 65_535]; +}; + +convert$1.gray.rgb = function (args) { + return [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255]; +}; + +convert$1.gray.hsl = function (args) { + return [0, 0, args[0]]; +}; + +convert$1.gray.hsv = convert$1.gray.hsl; + +convert$1.gray.hwb = function (gray) { + return [0, 100, gray[0]]; +}; + +convert$1.gray.cmyk = function (gray) { + return [0, 0, 0, gray[0]]; +}; + +convert$1.gray.lab = function (gray) { + return [gray[0], 0, 0]; +}; + +convert$1.gray.hex = function (gray) { + /* eslint-disable no-bitwise */ + const value = Math.round(gray[0] / 100 * 255) & 0xFF; + const integer = (value << 16) + (value << 8) + value; + /* eslint-enable no-bitwise */ + + const string = integer.toString(16).toUpperCase(); + return '000000'.slice(string.length) + string; +}; + +convert$1.rgb.gray = function (rgb) { + const value = (rgb[0] + rgb[1] + rgb[2]) / 3; + return [value / 255 * 100]; +}; + +/* + This function routes a model to all other models. + + all functions that are routed have a property `.conversion` attached + to the returned synthetic function. This property is an array + of strings, each with the steps in between the 'from' and 'to' + color models (inclusive). + + conversions that are not possible simply are not included. +*/ + +function buildGraph() { + const graph = {}; + // https://jsperf.com/object-keys-vs-for-in-with-closure/3 + const models = Object.keys(convert$1); + + for (let {length} = models, i = 0; i < length; i++) { + graph[models[i]] = { + // http://jsperf.com/1-vs-infinity + // micro-opt, but this is simple. + distance: -1, + parent: null, + }; + } + + return graph; +} + +// https://en.wikipedia.org/wiki/Breadth-first_search +function deriveBFS(fromModel) { + const graph = buildGraph(); + const queue = [fromModel]; // Unshift -> queue -> pop + + graph[fromModel].distance = 0; + + while (queue.length > 0) { + const current = queue.pop(); + const adjacents = Object.keys(convert$1[current]); + + for (let {length} = adjacents, i = 0; i < length; i++) { + const adjacent = adjacents[i]; + const node = graph[adjacent]; + + if (node.distance === -1) { + node.distance = graph[current].distance + 1; + node.parent = current; + queue.unshift(adjacent); + } + } + } + + return graph; +} + +function link(from, to) { + return function (args) { + return to(from(args)); + }; +} + +function wrapConversion(toModel, graph) { + const path = [graph[toModel].parent, toModel]; + let fn = convert$1[graph[toModel].parent][toModel]; + + let cur = graph[toModel].parent; + while (graph[cur].parent) { + path.unshift(graph[cur].parent); + fn = link(convert$1[graph[cur].parent][cur], fn); + cur = graph[cur].parent; + } + + fn.conversion = path; + return fn; +} + +function route(fromModel) { + const graph = deriveBFS(fromModel); + const conversion = {}; + + const models = Object.keys(graph); + for (let {length} = models, i = 0; i < length; i++) { + const toModel = models[i]; + const node = graph[toModel]; + + if (node.parent === null) { + // No possible conversion, or this node is the source model. + continue; + } + + conversion[toModel] = wrapConversion(toModel, graph); + } + + return conversion; +} + +const convert = {}; + +const models = Object.keys(convert$1); + +function wrapRaw(fn) { + const wrappedFn = function (...args) { + const arg0 = args[0]; + if (arg0 === undefined || arg0 === null) { + return arg0; + } + + if (arg0.length > 1) { + args = arg0; + } + + return fn(args); + }; + + // Preserve .conversion property if there is one + if ('conversion' in fn) { + wrappedFn.conversion = fn.conversion; + } + + return wrappedFn; +} + +function wrapRounded(fn) { + const wrappedFn = function (...args) { + const arg0 = args[0]; + + if (arg0 === undefined || arg0 === null) { + return arg0; + } + + if (arg0.length > 1) { + args = arg0; + } + + const result = fn(args); + + // We're assuming the result is an array here. + // see notice in conversions.js; don't use box types + // in conversion functions. + if (typeof result === 'object') { + for (let {length} = result, i = 0; i < length; i++) { + result[i] = Math.round(result[i]); + } + } + + return result; + }; + + // Preserve .conversion property if there is one + if ('conversion' in fn) { + wrappedFn.conversion = fn.conversion; + } + + return wrappedFn; +} + +for (const fromModel of models) { + convert[fromModel] = {}; + + Object.defineProperty(convert[fromModel], 'channels', {value: convert$1[fromModel].channels}); + Object.defineProperty(convert[fromModel], 'labels', {value: convert$1[fromModel].labels}); + + const routes = route(fromModel); + const routeModels = Object.keys(routes); + + for (const toModel of routeModels) { + const fn = routes[toModel]; + + convert[fromModel][toModel] = wrapRounded(fn); + convert[fromModel][toModel].raw = wrapRaw(fn); + } +} + +const skippedModels = [ + // To be honest, I don't really feel like keyword belongs in color convert, but eh. + 'keyword', + + // Gray conflicts with some method names, and has its own method defined. + 'gray', + + // Shouldn't really be in color-convert either... + 'hex', +]; + +const hashedModelKeys = {}; +for (const model of Object.keys(convert)) { + hashedModelKeys[[...convert[model].labels].sort().join('')] = model; +} + +const limiters = {}; + +function Color(object, model) { + if (!(this instanceof Color)) { + return new Color(object, model); + } + + if (model && model in skippedModels) { + model = null; + } + + if (model && !(model in convert)) { + throw new Error('Unknown model: ' + model); + } + + let i; + let channels; + + if (object == null) { // eslint-disable-line no-eq-null,eqeqeq + this.model = 'rgb'; + this.color = [0, 0, 0]; + this.valpha = 1; + } else if (object instanceof Color) { + this.model = object.model; + this.color = [...object.color]; + this.valpha = object.valpha; + } else if (typeof object === 'string') { + const result = cs.get(object); + if (result === null) { + throw new Error('Unable to parse color from string: ' + object); + } + + this.model = result.model; + channels = convert[this.model].channels; + this.color = result.value.slice(0, channels); + this.valpha = typeof result.value[channels] === 'number' ? result.value[channels] : 1; + } else if (object.length > 0) { + this.model = model || 'rgb'; + channels = convert[this.model].channels; + const newArray = Array.prototype.slice.call(object, 0, channels); + this.color = zeroArray(newArray, channels); + this.valpha = typeof object[channels] === 'number' ? object[channels] : 1; + } else if (typeof object === 'number') { + // This is always RGB - can be converted later on. + this.model = 'rgb'; + this.color = [ + (object >> 16) & 0xFF, + (object >> 8) & 0xFF, + object & 0xFF, + ]; + this.valpha = 1; + } else { + this.valpha = 1; + + const keys = Object.keys(object); + if ('alpha' in object) { + keys.splice(keys.indexOf('alpha'), 1); + this.valpha = typeof object.alpha === 'number' ? object.alpha : 0; + } + + const hashedKeys = keys.sort().join(''); + if (!(hashedKeys in hashedModelKeys)) { + throw new Error('Unable to parse color from object: ' + JSON.stringify(object)); + } + + this.model = hashedModelKeys[hashedKeys]; + + const {labels} = convert[this.model]; + const color = []; + for (i = 0; i < labels.length; i++) { + color.push(object[labels[i]]); + } + + this.color = zeroArray(color); + } + + // Perform limitations (clamping, etc.) + if (limiters[this.model]) { + channels = convert[this.model].channels; + for (i = 0; i < channels; i++) { + const limit = limiters[this.model][i]; + if (limit) { + this.color[i] = limit(this.color[i]); + } + } + } + + this.valpha = Math.max(0, Math.min(1, this.valpha)); + + if (Object.freeze) { + Object.freeze(this); + } +} + +Color.prototype = { + toString() { + return this.string(); + }, + + toJSON() { + return this[this.model](); + }, + + string(places) { + let self = this.model in cs.to ? this : this.rgb(); + self = self.round(typeof places === 'number' ? places : 1); + const arguments_ = self.valpha === 1 ? self.color : [...self.color, this.valpha]; + return cs.to[self.model](...arguments_); + }, + + percentString(places) { + const self = this.rgb().round(typeof places === 'number' ? places : 1); + const arguments_ = self.valpha === 1 ? self.color : [...self.color, this.valpha]; + return cs.to.rgb.percent(...arguments_); + }, + + array() { + return this.valpha === 1 ? [...this.color] : [...this.color, this.valpha]; + }, + + object() { + const result = {}; + const {channels} = convert[this.model]; + const {labels} = convert[this.model]; + + for (let i = 0; i < channels; i++) { + result[labels[i]] = this.color[i]; + } + + if (this.valpha !== 1) { + result.alpha = this.valpha; + } + + return result; + }, + + unitArray() { + const rgb = this.rgb().color; + rgb[0] /= 255; + rgb[1] /= 255; + rgb[2] /= 255; + + if (this.valpha !== 1) { + rgb.push(this.valpha); + } + + return rgb; + }, + + unitObject() { + const rgb = this.rgb().object(); + rgb.r /= 255; + rgb.g /= 255; + rgb.b /= 255; + + if (this.valpha !== 1) { + rgb.alpha = this.valpha; + } + + return rgb; + }, + + round(places) { + places = Math.max(places || 0, 0); + return new Color([...this.color.map(roundToPlace(places)), this.valpha], this.model); + }, + + alpha(value) { + if (value !== undefined) { + return new Color([...this.color, Math.max(0, Math.min(1, value))], this.model); + } + + return this.valpha; + }, + + // Rgb + red: getset('rgb', 0, maxfn(255)), + green: getset('rgb', 1, maxfn(255)), + blue: getset('rgb', 2, maxfn(255)), + + hue: getset(['hsl', 'hsv', 'hsl', 'hwb', 'hcg'], 0, value => ((value % 360) + 360) % 360), + + saturationl: getset('hsl', 1, maxfn(100)), + lightness: getset('hsl', 2, maxfn(100)), + + saturationv: getset('hsv', 1, maxfn(100)), + value: getset('hsv', 2, maxfn(100)), + + chroma: getset('hcg', 1, maxfn(100)), + gray: getset('hcg', 2, maxfn(100)), + + white: getset('hwb', 1, maxfn(100)), + wblack: getset('hwb', 2, maxfn(100)), + + cyan: getset('cmyk', 0, maxfn(100)), + magenta: getset('cmyk', 1, maxfn(100)), + yellow: getset('cmyk', 2, maxfn(100)), + black: getset('cmyk', 3, maxfn(100)), + + x: getset('xyz', 0, maxfn(95.047)), + y: getset('xyz', 1, maxfn(100)), + z: getset('xyz', 2, maxfn(108.833)), + + l: getset('lab', 0, maxfn(100)), + a: getset('lab', 1), + b: getset('lab', 2), + + keyword(value) { + if (value !== undefined) { + return new Color(value); + } + + return convert[this.model].keyword(this.color); + }, + + hex(value) { + if (value !== undefined) { + return new Color(value); + } + + return cs.to.hex(...this.rgb().round().color); + }, + + hexa(value) { + if (value !== undefined) { + return new Color(value); + } + + const rgbArray = this.rgb().round().color; + + let alphaHex = Math.round(this.valpha * 255).toString(16).toUpperCase(); + if (alphaHex.length === 1) { + alphaHex = '0' + alphaHex; + } + + return cs.to.hex(...rgbArray) + alphaHex; + }, + + rgbNumber() { + const rgb = this.rgb().color; + return ((rgb[0] & 0xFF) << 16) | ((rgb[1] & 0xFF) << 8) | (rgb[2] & 0xFF); + }, + + luminosity() { + // http://www.w3.org/TR/WCAG20/#relativeluminancedef + const rgb = this.rgb().color; + + const lum = []; + for (const [i, element] of rgb.entries()) { + const chan = element / 255; + lum[i] = (chan <= 0.04045) ? chan / 12.92 : ((chan + 0.055) / 1.055) ** 2.4; + } + + return 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2]; + }, + + contrast(color2) { + // http://www.w3.org/TR/WCAG20/#contrast-ratiodef + const lum1 = this.luminosity(); + const lum2 = color2.luminosity(); + + if (lum1 > lum2) { + return (lum1 + 0.05) / (lum2 + 0.05); + } + + return (lum2 + 0.05) / (lum1 + 0.05); + }, + + level(color2) { + // https://www.w3.org/TR/WCAG/#contrast-enhanced + const contrastRatio = this.contrast(color2); + if (contrastRatio >= 7) { + return 'AAA'; + } + + return (contrastRatio >= 4.5) ? 'AA' : ''; + }, + + isDark() { + // YIQ equation from http://24ways.org/2010/calculating-color-contrast + const rgb = this.rgb().color; + const yiq = (rgb[0] * 2126 + rgb[1] * 7152 + rgb[2] * 722) / 10000; + return yiq < 128; + }, + + isLight() { + return !this.isDark(); + }, + + negate() { + const rgb = this.rgb(); + for (let i = 0; i < 3; i++) { + rgb.color[i] = 255 - rgb.color[i]; + } + + return rgb; + }, + + lighten(ratio) { + const hsl = this.hsl(); + hsl.color[2] += hsl.color[2] * ratio; + return hsl; + }, + + darken(ratio) { + const hsl = this.hsl(); + hsl.color[2] -= hsl.color[2] * ratio; + return hsl; + }, + + saturate(ratio) { + const hsl = this.hsl(); + hsl.color[1] += hsl.color[1] * ratio; + return hsl; + }, + + desaturate(ratio) { + const hsl = this.hsl(); + hsl.color[1] -= hsl.color[1] * ratio; + return hsl; + }, + + whiten(ratio) { + const hwb = this.hwb(); + hwb.color[1] += hwb.color[1] * ratio; + return hwb; + }, + + blacken(ratio) { + const hwb = this.hwb(); + hwb.color[2] += hwb.color[2] * ratio; + return hwb; + }, + + grayscale() { + // http://en.wikipedia.org/wiki/Grayscale#Converting_colour_to_grayscale + const rgb = this.rgb().color; + const value = rgb[0] * 0.3 + rgb[1] * 0.59 + rgb[2] * 0.11; + return Color.rgb(value, value, value); + }, + + fade(ratio) { + return this.alpha(this.valpha - (this.valpha * ratio)); + }, + + opaquer(ratio) { + return this.alpha(this.valpha + (this.valpha * ratio)); + }, + + rotate(degrees) { + const hsl = this.hsl(); + let hue = hsl.color[0]; + hue = (hue + degrees) % 360; + hue = hue < 0 ? 360 + hue : hue; + hsl.color[0] = hue; + return hsl; + }, + + mix(mixinColor, weight) { + // Ported from sass implementation in C + // https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209 + if (!mixinColor || !mixinColor.rgb) { + throw new Error('Argument to "mix" was not a Color instance, but rather an instance of ' + typeof mixinColor); + } + + const color1 = mixinColor.rgb(); + const color2 = this.rgb(); + const p = weight === undefined ? 0.5 : weight; + + const w = 2 * p - 1; + const a = color1.alpha() - color2.alpha(); + + const w1 = (((w * a === -1) ? w : (w + a) / (1 + w * a)) + 1) / 2; + const w2 = 1 - w1; + + return Color.rgb( + w1 * color1.red() + w2 * color2.red(), + w1 * color1.green() + w2 * color2.green(), + w1 * color1.blue() + w2 * color2.blue(), + color1.alpha() * p + color2.alpha() * (1 - p)); + }, +}; + +// Model conversion methods and static constructors +for (const model of Object.keys(convert)) { + if (skippedModels.includes(model)) { + continue; + } + + const {channels} = convert[model]; + + // Conversion methods + Color.prototype[model] = function (...arguments_) { + if (this.model === model) { + return new Color(this); + } + + if (arguments_.length > 0) { + return new Color(arguments_, model); + } + + return new Color([...assertArray(convert[this.model][model].raw(this.color)), this.valpha], model); + }; + + // 'static' construction methods + Color[model] = function (...arguments_) { + let color = arguments_[0]; + if (typeof color === 'number') { + color = zeroArray(arguments_, channels); + } + + return new Color(color, model); + }; +} + +function roundTo(number, places) { + return Number(number.toFixed(places)); +} + +function roundToPlace(places) { + return function (number) { + return roundTo(number, places); + }; +} + +function getset(model, channel, modifier) { + model = Array.isArray(model) ? model : [model]; + + for (const m of model) { + (limiters[m] ||= [])[channel] = modifier; + } + + model = model[0]; + + return function (value) { + let result; + + if (value !== undefined) { + if (modifier) { + value = modifier(value); + } + + result = this[model](); + result.color[channel] = value; + return result; + } + + result = this[model]().color[channel]; + if (modifier) { + result = modifier(result); + } + + return result; + }; +} + +function maxfn(max) { + return function (v) { + return Math.max(0, Math.min(max, v)); + }; +} + +function assertArray(value) { + return Array.isArray(value) ? value : [value]; +} + +function zeroArray(array, length) { + for (let i = 0; i < length; i++) { + if (typeof array[i] !== 'number') { + array[i] = 0; + } + } + + return array; +} + +function getDefaultExportFromCjs (x) { + return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x; +} + +/*** + * Convert string to hex color. + * + * @param {String} str Text to hash and convert to hex. + * @returns {String} + * @api public + */ +var textHex = function hex(str) { + for ( + var i = 0, hash = 0; + i < str.length; + hash = str.charCodeAt(i++) + ((hash << 5) - hash) + ); + + var color = Math.floor( + Math.abs( + (Math.sin(hash) * 10000) % 1 * 16777216 + ) + ).toString(16); + + return '#' + Array(6 - color.length + 1).join('0') + color; +}; + +var hex = /*@__PURE__*/getDefaultExportFromCjs(textHex); + +/** + * Generate a color for a given name. But be reasonably smart about it by + * understanding name spaces and coloring each namespace a bit lighter so they + * still have the same base color as the root. + * + * @param {string} namespace The namespace + * @param {string} [delimiter] The delimiter + * @returns {string} color + */ +function colorspace(namespace, delimiter) { + const split = namespace.split(delimiter || ':'); + let base = hex(split[0]); + if (!split.length) return base; + for (let i = 0, l = split.length - 1; i < l; i++) { + base = Color(base).mix(Color(hex(split[i + 1]))).saturate(1).hex(); + } + return base; +} + +module.exports = colorspace; diff --git a/node_modules/@so-ric/colorspace/index.js b/node_modules/@so-ric/colorspace/index.js new file mode 100644 index 0000000..f130740 --- /dev/null +++ b/node_modules/@so-ric/colorspace/index.js @@ -0,0 +1,29 @@ +'use strict'; + +import color from 'color'; +import hex from 'text-hex'; + +/** + * Generate a color for a given name. But be reasonably smart about it by + * understanding name spaces and coloring each namespace a bit lighter so they + * still have the same base color as the root. + * + * @param {string} namespace The namespace + * @param {string} [delimiter] The delimiter + * @returns {string} color + */ +export default function colorspace(namespace, delimiter) { + const split = namespace.split(delimiter || ':'); + let base = hex(split[0]); + + if (!split.length) return base; + + for (let i = 0, l = split.length - 1; i < l; i++) { + base = color(base) + .mix(color(hex(split[i + 1]))) + .saturate(1) + .hex(); + } + + return base; +}; \ No newline at end of file diff --git a/node_modules/@so-ric/colorspace/package.json b/node_modules/@so-ric/colorspace/package.json new file mode 100644 index 0000000..cb0ff57 --- /dev/null +++ b/node_modules/@so-ric/colorspace/package.json @@ -0,0 +1,45 @@ +{ + "name": "@so-ric/colorspace", + "version": "1.1.6", + "description": "Generate HEX colors for a given namespace using color v5", + "main": "dist/index.cjs.js", + "scripts": { + "build": "rollup -c", + "prepare": "npm run build", + "test": "mocha test.js" + }, + "keywords": [ + "namespace", + "color", + "hex", + "colorize", + "name", + "space", + "colorspace" + ], + "author": "Arnout Kazemier", + "license": "MIT", + "bugs": { + "url": "https://github.com/so-ric/colorspace/issues" + }, + "homepage": "https://github.com/so-ric/colorspace", + "repository": { + "type": "git", + "url": "https://github.com/so-ric/colorspace" + }, + "dependencies": { + "color": "^5.0.2", + "text-hex": "1.0.x" + }, + "devDependencies": { + "assume": "2.3.x", + "mocha": "11.7.x", + "pre-commit": "1.2.x", + "rollup": "^3.0.0", + "@rollup/plugin-node-resolve": "^15.0.0", + "@rollup/plugin-commonjs": "^25.0.0", + "@rollup/plugin-json": "^5.0.0", + "@rollup/plugin-babel": "^6.0.0", + "rimraf": "^5.0.0" + } +} \ No newline at end of file diff --git a/node_modules/@so-ric/colorspace/rollup.config.js b/node_modules/@so-ric/colorspace/rollup.config.js new file mode 100644 index 0000000..c78e519 --- /dev/null +++ b/node_modules/@so-ric/colorspace/rollup.config.js @@ -0,0 +1,25 @@ +import resolve from '@rollup/plugin-node-resolve'; +import commonjs from '@rollup/plugin-commonjs'; +import json from '@rollup/plugin-json'; +import { babel } from '@rollup/plugin-babel'; + +export default { + input: 'index.js', + plugins: [ + resolve({ + preferBuiltins: true, + browser: false + }), + commonjs(), + json(), + babel({ + babelHelpers: 'bundled', + exclude: 'node_modules/**' + }) + ], + output: { + file: 'dist/index.cjs.js', + format: 'cjs', + exports: 'auto' + } +}; diff --git a/node_modules/@types/triple-beam/LICENSE b/node_modules/@types/triple-beam/LICENSE new file mode 100644 index 0000000..9e841e7 --- /dev/null +++ b/node_modules/@types/triple-beam/LICENSE @@ -0,0 +1,21 @@ + MIT License + + Copyright (c) Microsoft Corporation. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE diff --git a/node_modules/@types/triple-beam/README.md b/node_modules/@types/triple-beam/README.md new file mode 100644 index 0000000..e5a85f5 --- /dev/null +++ b/node_modules/@types/triple-beam/README.md @@ -0,0 +1,36 @@ +# Installation +> `npm install --save @types/triple-beam` + +# Summary +This package contains type definitions for triple-beam (https://github.com/winstonjs/triple-beam). + +# Details +Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/triple-beam. +## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/triple-beam/index.d.ts) +````ts +export as namespace TripleBeam; + +export const LEVEL: unique symbol; +export const MESSAGE: unique symbol; +export const SPLAT: unique symbol; +export const configs: Configs; + +export interface Config { + readonly levels: { [k: string]: number }; + readonly colors: { [k: string]: string }; +} + +export interface Configs { + readonly cli: Config; + readonly npm: Config; + readonly syslog: Config; +} + +```` + +### Additional Details + * Last updated: Tue, 07 Nov 2023 15:11:36 GMT + * Dependencies: none + +# Credits +These definitions were written by [Daniel Byrne](https://github.com/danwbyrne). diff --git a/node_modules/@types/triple-beam/index.d.ts b/node_modules/@types/triple-beam/index.d.ts new file mode 100644 index 0000000..3aca8b2 --- /dev/null +++ b/node_modules/@types/triple-beam/index.d.ts @@ -0,0 +1,17 @@ +export as namespace TripleBeam; + +export const LEVEL: unique symbol; +export const MESSAGE: unique symbol; +export const SPLAT: unique symbol; +export const configs: Configs; + +export interface Config { + readonly levels: { [k: string]: number }; + readonly colors: { [k: string]: string }; +} + +export interface Configs { + readonly cli: Config; + readonly npm: Config; + readonly syslog: Config; +} diff --git a/node_modules/@types/triple-beam/package.json b/node_modules/@types/triple-beam/package.json new file mode 100644 index 0000000..06acdeb --- /dev/null +++ b/node_modules/@types/triple-beam/package.json @@ -0,0 +1,25 @@ +{ + "name": "@types/triple-beam", + "version": "1.3.5", + "description": "TypeScript definitions for triple-beam", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/triple-beam", + "license": "MIT", + "contributors": [ + { + "name": "Daniel Byrne", + "githubUsername": "danwbyrne", + "url": "https://github.com/danwbyrne" + } + ], + "main": "", + "types": "index.d.ts", + "repository": { + "type": "git", + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/triple-beam" + }, + "scripts": {}, + "dependencies": {}, + "typesPublisherContentHash": "aba808a8cd292b633d60f24f8ed117bf7f4f83771da677fe4d557c4e1ad3211b", + "typeScriptVersion": "4.5" +} \ No newline at end of file diff --git a/node_modules/accepts/HISTORY.md b/node_modules/accepts/HISTORY.md new file mode 100644 index 0000000..cb5990c --- /dev/null +++ b/node_modules/accepts/HISTORY.md @@ -0,0 +1,243 @@ +1.3.8 / 2022-02-02 +================== + + * deps: mime-types@~2.1.34 + - deps: mime-db@~1.51.0 + * deps: negotiator@0.6.3 + +1.3.7 / 2019-04-29 +================== + + * deps: negotiator@0.6.2 + - Fix sorting charset, encoding, and language with extra parameters + +1.3.6 / 2019-04-28 +================== + + * deps: mime-types@~2.1.24 + - deps: mime-db@~1.40.0 + +1.3.5 / 2018-02-28 +================== + + * deps: mime-types@~2.1.18 + - deps: mime-db@~1.33.0 + +1.3.4 / 2017-08-22 +================== + + * deps: mime-types@~2.1.16 + - deps: mime-db@~1.29.0 + +1.3.3 / 2016-05-02 +================== + + * deps: mime-types@~2.1.11 + - deps: mime-db@~1.23.0 + * deps: negotiator@0.6.1 + - perf: improve `Accept` parsing speed + - perf: improve `Accept-Charset` parsing speed + - perf: improve `Accept-Encoding` parsing speed + - perf: improve `Accept-Language` parsing speed + +1.3.2 / 2016-03-08 +================== + + * deps: mime-types@~2.1.10 + - Fix extension of `application/dash+xml` + - Update primary extension for `audio/mp4` + - deps: mime-db@~1.22.0 + +1.3.1 / 2016-01-19 +================== + + * deps: mime-types@~2.1.9 + - deps: mime-db@~1.21.0 + +1.3.0 / 2015-09-29 +================== + + * deps: mime-types@~2.1.7 + - deps: mime-db@~1.19.0 + * deps: negotiator@0.6.0 + - Fix including type extensions in parameters in `Accept` parsing + - Fix parsing `Accept` parameters with quoted equals + - Fix parsing `Accept` parameters with quoted semicolons + - Lazy-load modules from main entry point + - perf: delay type concatenation until needed + - perf: enable strict mode + - perf: hoist regular expressions + - perf: remove closures getting spec properties + - perf: remove a closure from media type parsing + - perf: remove property delete from media type parsing + +1.2.13 / 2015-09-06 +=================== + + * deps: mime-types@~2.1.6 + - deps: mime-db@~1.18.0 + +1.2.12 / 2015-07-30 +=================== + + * deps: mime-types@~2.1.4 + - deps: mime-db@~1.16.0 + +1.2.11 / 2015-07-16 +=================== + + * deps: mime-types@~2.1.3 + - deps: mime-db@~1.15.0 + +1.2.10 / 2015-07-01 +=================== + + * deps: mime-types@~2.1.2 + - deps: mime-db@~1.14.0 + +1.2.9 / 2015-06-08 +================== + + * deps: mime-types@~2.1.1 + - perf: fix deopt during mapping + +1.2.8 / 2015-06-07 +================== + + * deps: mime-types@~2.1.0 + - deps: mime-db@~1.13.0 + * perf: avoid argument reassignment & argument slice + * perf: avoid negotiator recursive construction + * perf: enable strict mode + * perf: remove unnecessary bitwise operator + +1.2.7 / 2015-05-10 +================== + + * deps: negotiator@0.5.3 + - Fix media type parameter matching to be case-insensitive + +1.2.6 / 2015-05-07 +================== + + * deps: mime-types@~2.0.11 + - deps: mime-db@~1.9.1 + * deps: negotiator@0.5.2 + - Fix comparing media types with quoted values + - Fix splitting media types with quoted commas + +1.2.5 / 2015-03-13 +================== + + * deps: mime-types@~2.0.10 + - deps: mime-db@~1.8.0 + +1.2.4 / 2015-02-14 +================== + + * Support Node.js 0.6 + * deps: mime-types@~2.0.9 + - deps: mime-db@~1.7.0 + * deps: negotiator@0.5.1 + - Fix preference sorting to be stable for long acceptable lists + +1.2.3 / 2015-01-31 +================== + + * deps: mime-types@~2.0.8 + - deps: mime-db@~1.6.0 + +1.2.2 / 2014-12-30 +================== + + * deps: mime-types@~2.0.7 + - deps: mime-db@~1.5.0 + +1.2.1 / 2014-12-30 +================== + + * deps: mime-types@~2.0.5 + - deps: mime-db@~1.3.1 + +1.2.0 / 2014-12-19 +================== + + * deps: negotiator@0.5.0 + - Fix list return order when large accepted list + - Fix missing identity encoding when q=0 exists + - Remove dynamic building of Negotiator class + +1.1.4 / 2014-12-10 +================== + + * deps: mime-types@~2.0.4 + - deps: mime-db@~1.3.0 + +1.1.3 / 2014-11-09 +================== + + * deps: mime-types@~2.0.3 + - deps: mime-db@~1.2.0 + +1.1.2 / 2014-10-14 +================== + + * deps: negotiator@0.4.9 + - Fix error when media type has invalid parameter + +1.1.1 / 2014-09-28 +================== + + * deps: mime-types@~2.0.2 + - deps: mime-db@~1.1.0 + * deps: negotiator@0.4.8 + - Fix all negotiations to be case-insensitive + - Stable sort preferences of same quality according to client order + +1.1.0 / 2014-09-02 +================== + + * update `mime-types` + +1.0.7 / 2014-07-04 +================== + + * Fix wrong type returned from `type` when match after unknown extension + +1.0.6 / 2014-06-24 +================== + + * deps: negotiator@0.4.7 + +1.0.5 / 2014-06-20 +================== + + * fix crash when unknown extension given + +1.0.4 / 2014-06-19 +================== + + * use `mime-types` + +1.0.3 / 2014-06-11 +================== + + * deps: negotiator@0.4.6 + - Order by specificity when quality is the same + +1.0.2 / 2014-05-29 +================== + + * Fix interpretation when header not in request + * deps: pin negotiator@0.4.5 + +1.0.1 / 2014-01-18 +================== + + * Identity encoding isn't always acceptable + * deps: negotiator@~0.4.0 + +1.0.0 / 2013-12-27 +================== + + * Genesis diff --git a/node_modules/accepts/LICENSE b/node_modules/accepts/LICENSE new file mode 100644 index 0000000..0616607 --- /dev/null +++ b/node_modules/accepts/LICENSE @@ -0,0 +1,23 @@ +(The MIT License) + +Copyright (c) 2014 Jonathan Ong +Copyright (c) 2015 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/accepts/README.md b/node_modules/accepts/README.md new file mode 100644 index 0000000..82680c5 --- /dev/null +++ b/node_modules/accepts/README.md @@ -0,0 +1,140 @@ +# accepts + +[![NPM Version][npm-version-image]][npm-url] +[![NPM Downloads][npm-downloads-image]][npm-url] +[![Node.js Version][node-version-image]][node-version-url] +[![Build Status][github-actions-ci-image]][github-actions-ci-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +Higher level content negotiation based on [negotiator](https://www.npmjs.com/package/negotiator). +Extracted from [koa](https://www.npmjs.com/package/koa) for general use. + +In addition to negotiator, it allows: + +- Allows types as an array or arguments list, ie `(['text/html', 'application/json'])` + as well as `('text/html', 'application/json')`. +- Allows type shorthands such as `json`. +- Returns `false` when no types match +- Treats non-existent headers as `*` + +## Installation + +This is a [Node.js](https://nodejs.org/en/) module available through the +[npm registry](https://www.npmjs.com/). Installation is done using the +[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): + +```sh +$ npm install accepts +``` + +## API + +```js +var accepts = require('accepts') +``` + +### accepts(req) + +Create a new `Accepts` object for the given `req`. + +#### .charset(charsets) + +Return the first accepted charset. If nothing in `charsets` is accepted, +then `false` is returned. + +#### .charsets() + +Return the charsets that the request accepts, in the order of the client's +preference (most preferred first). + +#### .encoding(encodings) + +Return the first accepted encoding. If nothing in `encodings` is accepted, +then `false` is returned. + +#### .encodings() + +Return the encodings that the request accepts, in the order of the client's +preference (most preferred first). + +#### .language(languages) + +Return the first accepted language. If nothing in `languages` is accepted, +then `false` is returned. + +#### .languages() + +Return the languages that the request accepts, in the order of the client's +preference (most preferred first). + +#### .type(types) + +Return the first accepted type (and it is returned as the same text as what +appears in the `types` array). If nothing in `types` is accepted, then `false` +is returned. + +The `types` array can contain full MIME types or file extensions. Any value +that is not a full MIME types is passed to `require('mime-types').lookup`. + +#### .types() + +Return the types that the request accepts, in the order of the client's +preference (most preferred first). + +## Examples + +### Simple type negotiation + +This simple example shows how to use `accepts` to return a different typed +respond body based on what the client wants to accept. The server lists it's +preferences in order and will get back the best match between the client and +server. + +```js +var accepts = require('accepts') +var http = require('http') + +function app (req, res) { + var accept = accepts(req) + + // the order of this list is significant; should be server preferred order + switch (accept.type(['json', 'html'])) { + case 'json': + res.setHeader('Content-Type', 'application/json') + res.write('{"hello":"world!"}') + break + case 'html': + res.setHeader('Content-Type', 'text/html') + res.write('hello, world!') + break + default: + // the fallback is text/plain, so no need to specify it above + res.setHeader('Content-Type', 'text/plain') + res.write('hello, world!') + break + } + + res.end() +} + +http.createServer(app).listen(3000) +``` + +You can test this out with the cURL program: +```sh +curl -I -H'Accept: text/html' http://localhost:3000/ +``` + +## License + +[MIT](LICENSE) + +[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/accepts/master +[coveralls-url]: https://coveralls.io/r/jshttp/accepts?branch=master +[github-actions-ci-image]: https://badgen.net/github/checks/jshttp/accepts/master?label=ci +[github-actions-ci-url]: https://github.com/jshttp/accepts/actions/workflows/ci.yml +[node-version-image]: https://badgen.net/npm/node/accepts +[node-version-url]: https://nodejs.org/en/download +[npm-downloads-image]: https://badgen.net/npm/dm/accepts +[npm-url]: https://npmjs.org/package/accepts +[npm-version-image]: https://badgen.net/npm/v/accepts diff --git a/node_modules/accepts/index.js b/node_modules/accepts/index.js new file mode 100644 index 0000000..e9b2f63 --- /dev/null +++ b/node_modules/accepts/index.js @@ -0,0 +1,238 @@ +/*! + * accepts + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + * @private + */ + +var Negotiator = require('negotiator') +var mime = require('mime-types') + +/** + * Module exports. + * @public + */ + +module.exports = Accepts + +/** + * Create a new Accepts object for the given req. + * + * @param {object} req + * @public + */ + +function Accepts (req) { + if (!(this instanceof Accepts)) { + return new Accepts(req) + } + + this.headers = req.headers + this.negotiator = new Negotiator(req) +} + +/** + * Check if the given `type(s)` is acceptable, returning + * the best match when true, otherwise `undefined`, in which + * case you should respond with 406 "Not Acceptable". + * + * The `type` value may be a single mime type string + * such as "application/json", the extension name + * such as "json" or an array `["json", "html", "text/plain"]`. When a list + * or array is given the _best_ match, if any is returned. + * + * Examples: + * + * // Accept: text/html + * this.types('html'); + * // => "html" + * + * // Accept: text/*, application/json + * this.types('html'); + * // => "html" + * this.types('text/html'); + * // => "text/html" + * this.types('json', 'text'); + * // => "json" + * this.types('application/json'); + * // => "application/json" + * + * // Accept: text/*, application/json + * this.types('image/png'); + * this.types('png'); + * // => undefined + * + * // Accept: text/*;q=.5, application/json + * this.types(['html', 'json']); + * this.types('html', 'json'); + * // => "json" + * + * @param {String|Array} types... + * @return {String|Array|Boolean} + * @public + */ + +Accepts.prototype.type = +Accepts.prototype.types = function (types_) { + var types = types_ + + // support flattened arguments + if (types && !Array.isArray(types)) { + types = new Array(arguments.length) + for (var i = 0; i < types.length; i++) { + types[i] = arguments[i] + } + } + + // no types, return all requested types + if (!types || types.length === 0) { + return this.negotiator.mediaTypes() + } + + // no accept header, return first given type + if (!this.headers.accept) { + return types[0] + } + + var mimes = types.map(extToMime) + var accepts = this.negotiator.mediaTypes(mimes.filter(validMime)) + var first = accepts[0] + + return first + ? types[mimes.indexOf(first)] + : false +} + +/** + * Return accepted encodings or best fit based on `encodings`. + * + * Given `Accept-Encoding: gzip, deflate` + * an array sorted by quality is returned: + * + * ['gzip', 'deflate'] + * + * @param {String|Array} encodings... + * @return {String|Array} + * @public + */ + +Accepts.prototype.encoding = +Accepts.prototype.encodings = function (encodings_) { + var encodings = encodings_ + + // support flattened arguments + if (encodings && !Array.isArray(encodings)) { + encodings = new Array(arguments.length) + for (var i = 0; i < encodings.length; i++) { + encodings[i] = arguments[i] + } + } + + // no encodings, return all requested encodings + if (!encodings || encodings.length === 0) { + return this.negotiator.encodings() + } + + return this.negotiator.encodings(encodings)[0] || false +} + +/** + * Return accepted charsets or best fit based on `charsets`. + * + * Given `Accept-Charset: utf-8, iso-8859-1;q=0.2, utf-7;q=0.5` + * an array sorted by quality is returned: + * + * ['utf-8', 'utf-7', 'iso-8859-1'] + * + * @param {String|Array} charsets... + * @return {String|Array} + * @public + */ + +Accepts.prototype.charset = +Accepts.prototype.charsets = function (charsets_) { + var charsets = charsets_ + + // support flattened arguments + if (charsets && !Array.isArray(charsets)) { + charsets = new Array(arguments.length) + for (var i = 0; i < charsets.length; i++) { + charsets[i] = arguments[i] + } + } + + // no charsets, return all requested charsets + if (!charsets || charsets.length === 0) { + return this.negotiator.charsets() + } + + return this.negotiator.charsets(charsets)[0] || false +} + +/** + * Return accepted languages or best fit based on `langs`. + * + * Given `Accept-Language: en;q=0.8, es, pt` + * an array sorted by quality is returned: + * + * ['es', 'pt', 'en'] + * + * @param {String|Array} langs... + * @return {Array|String} + * @public + */ + +Accepts.prototype.lang = +Accepts.prototype.langs = +Accepts.prototype.language = +Accepts.prototype.languages = function (languages_) { + var languages = languages_ + + // support flattened arguments + if (languages && !Array.isArray(languages)) { + languages = new Array(arguments.length) + for (var i = 0; i < languages.length; i++) { + languages[i] = arguments[i] + } + } + + // no languages, return all requested languages + if (!languages || languages.length === 0) { + return this.negotiator.languages() + } + + return this.negotiator.languages(languages)[0] || false +} + +/** + * Convert extnames to mime. + * + * @param {String} type + * @return {String} + * @private + */ + +function extToMime (type) { + return type.indexOf('/') === -1 + ? mime.lookup(type) + : type +} + +/** + * Check if mime is valid. + * + * @param {String} type + * @return {String} + * @private + */ + +function validMime (type) { + return typeof type === 'string' +} diff --git a/node_modules/accepts/package.json b/node_modules/accepts/package.json new file mode 100644 index 0000000..0f2d15d --- /dev/null +++ b/node_modules/accepts/package.json @@ -0,0 +1,47 @@ +{ + "name": "accepts", + "description": "Higher-level content negotiation", + "version": "1.3.8", + "contributors": [ + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)" + ], + "license": "MIT", + "repository": "jshttp/accepts", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "devDependencies": { + "deep-equal": "1.0.1", + "eslint": "7.32.0", + "eslint-config-standard": "14.1.1", + "eslint-plugin-import": "2.25.4", + "eslint-plugin-markdown": "2.2.1", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-promise": "4.3.1", + "eslint-plugin-standard": "4.1.0", + "mocha": "9.2.0", + "nyc": "15.1.0" + }, + "files": [ + "LICENSE", + "HISTORY.md", + "index.js" + ], + "engines": { + "node": ">= 0.6" + }, + "scripts": { + "lint": "eslint .", + "test": "mocha --reporter spec --check-leaks --bail test/", + "test-ci": "nyc --reporter=lcov --reporter=text npm test", + "test-cov": "nyc --reporter=html --reporter=text npm test" + }, + "keywords": [ + "content", + "negotiation", + "accept", + "accepts" + ] +} diff --git a/node_modules/array-flatten/LICENSE b/node_modules/array-flatten/LICENSE new file mode 100644 index 0000000..983fbe8 --- /dev/null +++ b/node_modules/array-flatten/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_modules/array-flatten/README.md b/node_modules/array-flatten/README.md new file mode 100644 index 0000000..91fa5b6 --- /dev/null +++ b/node_modules/array-flatten/README.md @@ -0,0 +1,43 @@ +# Array Flatten + +[![NPM version][npm-image]][npm-url] +[![NPM downloads][downloads-image]][downloads-url] +[![Build status][travis-image]][travis-url] +[![Test coverage][coveralls-image]][coveralls-url] + +> Flatten an array of nested arrays into a single flat array. Accepts an optional depth. + +## Installation + +``` +npm install array-flatten --save +``` + +## Usage + +```javascript +var flatten = require('array-flatten') + +flatten([1, [2, [3, [4, [5], 6], 7], 8], 9]) +//=> [1, 2, 3, 4, 5, 6, 7, 8, 9] + +flatten([1, [2, [3, [4, [5], 6], 7], 8], 9], 2) +//=> [1, 2, 3, [4, [5], 6], 7, 8, 9] + +(function () { + flatten(arguments) //=> [1, 2, 3] +})(1, [2, 3]) +``` + +## License + +MIT + +[npm-image]: https://img.shields.io/npm/v/array-flatten.svg?style=flat +[npm-url]: https://npmjs.org/package/array-flatten +[downloads-image]: https://img.shields.io/npm/dm/array-flatten.svg?style=flat +[downloads-url]: https://npmjs.org/package/array-flatten +[travis-image]: https://img.shields.io/travis/blakeembrey/array-flatten.svg?style=flat +[travis-url]: https://travis-ci.org/blakeembrey/array-flatten +[coveralls-image]: https://img.shields.io/coveralls/blakeembrey/array-flatten.svg?style=flat +[coveralls-url]: https://coveralls.io/r/blakeembrey/array-flatten?branch=master diff --git a/node_modules/array-flatten/array-flatten.js b/node_modules/array-flatten/array-flatten.js new file mode 100644 index 0000000..089117b --- /dev/null +++ b/node_modules/array-flatten/array-flatten.js @@ -0,0 +1,64 @@ +'use strict' + +/** + * Expose `arrayFlatten`. + */ +module.exports = arrayFlatten + +/** + * Recursive flatten function with depth. + * + * @param {Array} array + * @param {Array} result + * @param {Number} depth + * @return {Array} + */ +function flattenWithDepth (array, result, depth) { + for (var i = 0; i < array.length; i++) { + var value = array[i] + + if (depth > 0 && Array.isArray(value)) { + flattenWithDepth(value, result, depth - 1) + } else { + result.push(value) + } + } + + return result +} + +/** + * Recursive flatten function. Omitting depth is slightly faster. + * + * @param {Array} array + * @param {Array} result + * @return {Array} + */ +function flattenForever (array, result) { + for (var i = 0; i < array.length; i++) { + var value = array[i] + + if (Array.isArray(value)) { + flattenForever(value, result) + } else { + result.push(value) + } + } + + return result +} + +/** + * Flatten an array, with the ability to define a depth. + * + * @param {Array} array + * @param {Number} depth + * @return {Array} + */ +function arrayFlatten (array, depth) { + if (depth == null) { + return flattenForever(array, []) + } + + return flattenWithDepth(array, [], depth) +} diff --git a/node_modules/array-flatten/package.json b/node_modules/array-flatten/package.json new file mode 100644 index 0000000..1a24e2a --- /dev/null +++ b/node_modules/array-flatten/package.json @@ -0,0 +1,39 @@ +{ + "name": "array-flatten", + "version": "1.1.1", + "description": "Flatten an array of nested arrays into a single flat array", + "main": "array-flatten.js", + "files": [ + "array-flatten.js", + "LICENSE" + ], + "scripts": { + "test": "istanbul cover _mocha -- -R spec" + }, + "repository": { + "type": "git", + "url": "git://github.com/blakeembrey/array-flatten.git" + }, + "keywords": [ + "array", + "flatten", + "arguments", + "depth" + ], + "author": { + "name": "Blake Embrey", + "email": "hello@blakeembrey.com", + "url": "http://blakeembrey.me" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/blakeembrey/array-flatten/issues" + }, + "homepage": "https://github.com/blakeembrey/array-flatten", + "devDependencies": { + "istanbul": "^0.3.13", + "mocha": "^2.2.4", + "pre-commit": "^1.0.7", + "standard": "^3.7.3" + } +} diff --git a/node_modules/async/LICENSE b/node_modules/async/LICENSE new file mode 100644 index 0000000..b7f9d50 --- /dev/null +++ b/node_modules/async/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2010 Caolan McMahon + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_modules/async/README.md b/node_modules/async/README.md new file mode 100644 index 0000000..951f76e --- /dev/null +++ b/node_modules/async/README.md @@ -0,0 +1,1425 @@ +# Async.js + +Async is a utility module which provides straight-forward, powerful functions +for working with asynchronous JavaScript. Although originally designed for +use with [node.js](http://nodejs.org), it can also be used directly in the +browser. Also supports [component](https://github.com/component/component). + +Async provides around 20 functions that include the usual 'functional' +suspects (map, reduce, filter, each…) as well as some common patterns +for asynchronous control flow (parallel, series, waterfall…). All these +functions assume you follow the node.js convention of providing a single +callback as the last argument of your async function. + + +## Quick Examples + +```javascript +async.map(['file1','file2','file3'], fs.stat, function(err, results){ + // results is now an array of stats for each file +}); + +async.filter(['file1','file2','file3'], fs.exists, function(results){ + // results now equals an array of the existing files +}); + +async.parallel([ + function(){ ... }, + function(){ ... } +], callback); + +async.series([ + function(){ ... }, + function(){ ... } +]); +``` + +There are many more functions available so take a look at the docs below for a +full list. This module aims to be comprehensive, so if you feel anything is +missing please create a GitHub issue for it. + +## Common Pitfalls + +### Binding a context to an iterator + +This section is really about bind, not about async. If you are wondering how to +make async execute your iterators in a given context, or are confused as to why +a method of another library isn't working as an iterator, study this example: + +```js +// Here is a simple object with an (unnecessarily roundabout) squaring method +var AsyncSquaringLibrary = { + squareExponent: 2, + square: function(number, callback){ + var result = Math.pow(number, this.squareExponent); + setTimeout(function(){ + callback(null, result); + }, 200); + } +}; + +async.map([1, 2, 3], AsyncSquaringLibrary.square, function(err, result){ + // result is [NaN, NaN, NaN] + // This fails because the `this.squareExponent` expression in the square + // function is not evaluated in the context of AsyncSquaringLibrary, and is + // therefore undefined. +}); + +async.map([1, 2, 3], AsyncSquaringLibrary.square.bind(AsyncSquaringLibrary), function(err, result){ + // result is [1, 4, 9] + // With the help of bind we can attach a context to the iterator before + // passing it to async. Now the square function will be executed in its + // 'home' AsyncSquaringLibrary context and the value of `this.squareExponent` + // will be as expected. +}); +``` + +## Download + +The source is available for download from +[GitHub](http://github.com/caolan/async). +Alternatively, you can install using Node Package Manager (npm): + + npm install async + +__Development:__ [async.js](https://github.com/caolan/async/raw/master/lib/async.js) - 29.6kb Uncompressed + +## In the Browser + +So far it's been tested in IE6, IE7, IE8, FF3.6 and Chrome 5. Usage: + +```html + + +``` + +## Documentation + +### Collections + +* [each](#each) +* [eachSeries](#eachSeries) +* [eachLimit](#eachLimit) +* [map](#map) +* [mapSeries](#mapSeries) +* [mapLimit](#mapLimit) +* [filter](#filter) +* [filterSeries](#filterSeries) +* [reject](#reject) +* [rejectSeries](#rejectSeries) +* [reduce](#reduce) +* [reduceRight](#reduceRight) +* [detect](#detect) +* [detectSeries](#detectSeries) +* [sortBy](#sortBy) +* [some](#some) +* [every](#every) +* [concat](#concat) +* [concatSeries](#concatSeries) + +### Control Flow + +* [series](#series) +* [parallel](#parallel) +* [parallelLimit](#parallellimittasks-limit-callback) +* [whilst](#whilst) +* [doWhilst](#doWhilst) +* [until](#until) +* [doUntil](#doUntil) +* [forever](#forever) +* [waterfall](#waterfall) +* [compose](#compose) +* [applyEach](#applyEach) +* [applyEachSeries](#applyEachSeries) +* [queue](#queue) +* [cargo](#cargo) +* [auto](#auto) +* [iterator](#iterator) +* [apply](#apply) +* [nextTick](#nextTick) +* [times](#times) +* [timesSeries](#timesSeries) + +### Utils + +* [memoize](#memoize) +* [unmemoize](#unmemoize) +* [log](#log) +* [dir](#dir) +* [noConflict](#noConflict) + + +## Collections + + + +### each(arr, iterator, callback) + +Applies an iterator function to each item in an array, in parallel. +The iterator is called with an item from the list and a callback for when it +has finished. If the iterator passes an error to this callback, the main +callback for the each function is immediately called with the error. + +Note, that since this function applies the iterator to each item in parallel +there is no guarantee that the iterator functions will complete in order. + +__Arguments__ + +* arr - An array to iterate over. +* iterator(item, callback) - A function to apply to each item in the array. + The iterator is passed a callback(err) which must be called once it has + completed. If no error has occured, the callback should be run without + arguments or with an explicit null argument. +* callback(err) - A callback which is called after all the iterator functions + have finished, or an error has occurred. + +__Example__ + +```js +// assuming openFiles is an array of file names and saveFile is a function +// to save the modified contents of that file: + +async.each(openFiles, saveFile, function(err){ + // if any of the saves produced an error, err would equal that error +}); +``` + +--------------------------------------- + + + +### eachSeries(arr, iterator, callback) + +The same as each only the iterator is applied to each item in the array in +series. The next iterator is only called once the current one has completed +processing. This means the iterator functions will complete in order. + + +--------------------------------------- + + + +### eachLimit(arr, limit, iterator, callback) + +The same as each only no more than "limit" iterators will be simultaneously +running at any time. + +Note that the items are not processed in batches, so there is no guarantee that + the first "limit" iterator functions will complete before any others are +started. + +__Arguments__ + +* arr - An array to iterate over. +* limit - The maximum number of iterators to run at any time. +* iterator(item, callback) - A function to apply to each item in the array. + The iterator is passed a callback(err) which must be called once it has + completed. If no error has occured, the callback should be run without + arguments or with an explicit null argument. +* callback(err) - A callback which is called after all the iterator functions + have finished, or an error has occurred. + +__Example__ + +```js +// Assume documents is an array of JSON objects and requestApi is a +// function that interacts with a rate-limited REST api. + +async.eachLimit(documents, 20, requestApi, function(err){ + // if any of the saves produced an error, err would equal that error +}); +``` + +--------------------------------------- + + +### map(arr, iterator, callback) + +Produces a new array of values by mapping each value in the given array through +the iterator function. The iterator is called with an item from the array and a +callback for when it has finished processing. The callback takes 2 arguments, +an error and the transformed item from the array. If the iterator passes an +error to this callback, the main callback for the map function is immediately +called with the error. + +Note, that since this function applies the iterator to each item in parallel +there is no guarantee that the iterator functions will complete in order, however +the results array will be in the same order as the original array. + +__Arguments__ + +* arr - An array to iterate over. +* iterator(item, callback) - A function to apply to each item in the array. + The iterator is passed a callback(err, transformed) which must be called once + it has completed with an error (which can be null) and a transformed item. +* callback(err, results) - A callback which is called after all the iterator + functions have finished, or an error has occurred. Results is an array of the + transformed items from the original array. + +__Example__ + +```js +async.map(['file1','file2','file3'], fs.stat, function(err, results){ + // results is now an array of stats for each file +}); +``` + +--------------------------------------- + + +### mapSeries(arr, iterator, callback) + +The same as map only the iterator is applied to each item in the array in +series. The next iterator is only called once the current one has completed +processing. The results array will be in the same order as the original. + + +--------------------------------------- + + +### mapLimit(arr, limit, iterator, callback) + +The same as map only no more than "limit" iterators will be simultaneously +running at any time. + +Note that the items are not processed in batches, so there is no guarantee that + the first "limit" iterator functions will complete before any others are +started. + +__Arguments__ + +* arr - An array to iterate over. +* limit - The maximum number of iterators to run at any time. +* iterator(item, callback) - A function to apply to each item in the array. + The iterator is passed a callback(err, transformed) which must be called once + it has completed with an error (which can be null) and a transformed item. +* callback(err, results) - A callback which is called after all the iterator + functions have finished, or an error has occurred. Results is an array of the + transformed items from the original array. + +__Example__ + +```js +async.mapLimit(['file1','file2','file3'], 1, fs.stat, function(err, results){ + // results is now an array of stats for each file +}); +``` + +--------------------------------------- + + +### filter(arr, iterator, callback) + +__Alias:__ select + +Returns a new array of all the values which pass an async truth test. +_The callback for each iterator call only accepts a single argument of true or +false, it does not accept an error argument first!_ This is in-line with the +way node libraries work with truth tests like fs.exists. This operation is +performed in parallel, but the results array will be in the same order as the +original. + +__Arguments__ + +* arr - An array to iterate over. +* iterator(item, callback) - A truth test to apply to each item in the array. + The iterator is passed a callback(truthValue) which must be called with a + boolean argument once it has completed. +* callback(results) - A callback which is called after all the iterator + functions have finished. + +__Example__ + +```js +async.filter(['file1','file2','file3'], fs.exists, function(results){ + // results now equals an array of the existing files +}); +``` + +--------------------------------------- + + +### filterSeries(arr, iterator, callback) + +__alias:__ selectSeries + +The same as filter only the iterator is applied to each item in the array in +series. The next iterator is only called once the current one has completed +processing. The results array will be in the same order as the original. + +--------------------------------------- + + +### reject(arr, iterator, callback) + +The opposite of filter. Removes values that pass an async truth test. + +--------------------------------------- + + +### rejectSeries(arr, iterator, callback) + +The same as reject, only the iterator is applied to each item in the array +in series. + + +--------------------------------------- + + +### reduce(arr, memo, iterator, callback) + +__aliases:__ inject, foldl + +Reduces a list of values into a single value using an async iterator to return +each successive step. Memo is the initial state of the reduction. This +function only operates in series. For performance reasons, it may make sense to +split a call to this function into a parallel map, then use the normal +Array.prototype.reduce on the results. This function is for situations where +each step in the reduction needs to be async, if you can get the data before +reducing it then it's probably a good idea to do so. + +__Arguments__ + +* arr - An array to iterate over. +* memo - The initial state of the reduction. +* iterator(memo, item, callback) - A function applied to each item in the + array to produce the next step in the reduction. The iterator is passed a + callback(err, reduction) which accepts an optional error as its first + argument, and the state of the reduction as the second. If an error is + passed to the callback, the reduction is stopped and the main callback is + immediately called with the error. +* callback(err, result) - A callback which is called after all the iterator + functions have finished. Result is the reduced value. + +__Example__ + +```js +async.reduce([1,2,3], 0, function(memo, item, callback){ + // pointless async: + process.nextTick(function(){ + callback(null, memo + item) + }); +}, function(err, result){ + // result is now equal to the last value of memo, which is 6 +}); +``` + +--------------------------------------- + + +### reduceRight(arr, memo, iterator, callback) + +__Alias:__ foldr + +Same as reduce, only operates on the items in the array in reverse order. + + +--------------------------------------- + + +### detect(arr, iterator, callback) + +Returns the first value in a list that passes an async truth test. The +iterator is applied in parallel, meaning the first iterator to return true will +fire the detect callback with that result. That means the result might not be +the first item in the original array (in terms of order) that passes the test. + +If order within the original array is important then look at detectSeries. + +__Arguments__ + +* arr - An array to iterate over. +* iterator(item, callback) - A truth test to apply to each item in the array. + The iterator is passed a callback(truthValue) which must be called with a + boolean argument once it has completed. +* callback(result) - A callback which is called as soon as any iterator returns + true, or after all the iterator functions have finished. Result will be + the first item in the array that passes the truth test (iterator) or the + value undefined if none passed. + +__Example__ + +```js +async.detect(['file1','file2','file3'], fs.exists, function(result){ + // result now equals the first file in the list that exists +}); +``` + +--------------------------------------- + + +### detectSeries(arr, iterator, callback) + +The same as detect, only the iterator is applied to each item in the array +in series. This means the result is always the first in the original array (in +terms of array order) that passes the truth test. + + +--------------------------------------- + + +### sortBy(arr, iterator, callback) + +Sorts a list by the results of running each value through an async iterator. + +__Arguments__ + +* arr - An array to iterate over. +* iterator(item, callback) - A function to apply to each item in the array. + The iterator is passed a callback(err, sortValue) which must be called once it + has completed with an error (which can be null) and a value to use as the sort + criteria. +* callback(err, results) - A callback which is called after all the iterator + functions have finished, or an error has occurred. Results is the items from + the original array sorted by the values returned by the iterator calls. + +__Example__ + +```js +async.sortBy(['file1','file2','file3'], function(file, callback){ + fs.stat(file, function(err, stats){ + callback(err, stats.mtime); + }); +}, function(err, results){ + // results is now the original array of files sorted by + // modified date +}); +``` + +--------------------------------------- + + +### some(arr, iterator, callback) + +__Alias:__ any + +Returns true if at least one element in the array satisfies an async test. +_The callback for each iterator call only accepts a single argument of true or +false, it does not accept an error argument first!_ This is in-line with the +way node libraries work with truth tests like fs.exists. Once any iterator +call returns true, the main callback is immediately called. + +__Arguments__ + +* arr - An array to iterate over. +* iterator(item, callback) - A truth test to apply to each item in the array. + The iterator is passed a callback(truthValue) which must be called with a + boolean argument once it has completed. +* callback(result) - A callback which is called as soon as any iterator returns + true, or after all the iterator functions have finished. Result will be + either true or false depending on the values of the async tests. + +__Example__ + +```js +async.some(['file1','file2','file3'], fs.exists, function(result){ + // if result is true then at least one of the files exists +}); +``` + +--------------------------------------- + + +### every(arr, iterator, callback) + +__Alias:__ all + +Returns true if every element in the array satisfies an async test. +_The callback for each iterator call only accepts a single argument of true or +false, it does not accept an error argument first!_ This is in-line with the +way node libraries work with truth tests like fs.exists. + +__Arguments__ + +* arr - An array to iterate over. +* iterator(item, callback) - A truth test to apply to each item in the array. + The iterator is passed a callback(truthValue) which must be called with a + boolean argument once it has completed. +* callback(result) - A callback which is called after all the iterator + functions have finished. Result will be either true or false depending on + the values of the async tests. + +__Example__ + +```js +async.every(['file1','file2','file3'], fs.exists, function(result){ + // if result is true then every file exists +}); +``` + +--------------------------------------- + + +### concat(arr, iterator, callback) + +Applies an iterator to each item in a list, concatenating the results. Returns the +concatenated list. The iterators are called in parallel, and the results are +concatenated as they return. There is no guarantee that the results array will +be returned in the original order of the arguments passed to the iterator function. + +__Arguments__ + +* arr - An array to iterate over +* iterator(item, callback) - A function to apply to each item in the array. + The iterator is passed a callback(err, results) which must be called once it + has completed with an error (which can be null) and an array of results. +* callback(err, results) - A callback which is called after all the iterator + functions have finished, or an error has occurred. Results is an array containing + the concatenated results of the iterator function. + +__Example__ + +```js +async.concat(['dir1','dir2','dir3'], fs.readdir, function(err, files){ + // files is now a list of filenames that exist in the 3 directories +}); +``` + +--------------------------------------- + + +### concatSeries(arr, iterator, callback) + +Same as async.concat, but executes in series instead of parallel. + + +## Control Flow + + +### series(tasks, [callback]) + +Run an array of functions in series, each one running once the previous +function has completed. If any functions in the series pass an error to its +callback, no more functions are run and the callback for the series is +immediately called with the value of the error. Once the tasks have completed, +the results are passed to the final callback as an array. + +It is also possible to use an object instead of an array. Each property will be +run as a function and the results will be passed to the final callback as an object +instead of an array. This can be a more readable way of handling results from +async.series. + + +__Arguments__ + +* tasks - An array or object containing functions to run, each function is passed + a callback(err, result) it must call on completion with an error (which can + be null) and an optional result value. +* callback(err, results) - An optional callback to run once all the functions + have completed. This function gets a results array (or object) containing all + the result arguments passed to the task callbacks. + +__Example__ + +```js +async.series([ + function(callback){ + // do some stuff ... + callback(null, 'one'); + }, + function(callback){ + // do some more stuff ... + callback(null, 'two'); + } +], +// optional callback +function(err, results){ + // results is now equal to ['one', 'two'] +}); + + +// an example using an object instead of an array +async.series({ + one: function(callback){ + setTimeout(function(){ + callback(null, 1); + }, 200); + }, + two: function(callback){ + setTimeout(function(){ + callback(null, 2); + }, 100); + } +}, +function(err, results) { + // results is now equal to: {one: 1, two: 2} +}); +``` + +--------------------------------------- + + +### parallel(tasks, [callback]) + +Run an array of functions in parallel, without waiting until the previous +function has completed. If any of the functions pass an error to its +callback, the main callback is immediately called with the value of the error. +Once the tasks have completed, the results are passed to the final callback as an +array. + +It is also possible to use an object instead of an array. Each property will be +run as a function and the results will be passed to the final callback as an object +instead of an array. This can be a more readable way of handling results from +async.parallel. + + +__Arguments__ + +* tasks - An array or object containing functions to run, each function is passed + a callback(err, result) it must call on completion with an error (which can + be null) and an optional result value. +* callback(err, results) - An optional callback to run once all the functions + have completed. This function gets a results array (or object) containing all + the result arguments passed to the task callbacks. + +__Example__ + +```js +async.parallel([ + function(callback){ + setTimeout(function(){ + callback(null, 'one'); + }, 200); + }, + function(callback){ + setTimeout(function(){ + callback(null, 'two'); + }, 100); + } +], +// optional callback +function(err, results){ + // the results array will equal ['one','two'] even though + // the second function had a shorter timeout. +}); + + +// an example using an object instead of an array +async.parallel({ + one: function(callback){ + setTimeout(function(){ + callback(null, 1); + }, 200); + }, + two: function(callback){ + setTimeout(function(){ + callback(null, 2); + }, 100); + } +}, +function(err, results) { + // results is now equals to: {one: 1, two: 2} +}); +``` + +--------------------------------------- + + +### parallelLimit(tasks, limit, [callback]) + +The same as parallel only the tasks are executed in parallel with a maximum of "limit" +tasks executing at any time. + +Note that the tasks are not executed in batches, so there is no guarantee that +the first "limit" tasks will complete before any others are started. + +__Arguments__ + +* tasks - An array or object containing functions to run, each function is passed + a callback(err, result) it must call on completion with an error (which can + be null) and an optional result value. +* limit - The maximum number of tasks to run at any time. +* callback(err, results) - An optional callback to run once all the functions + have completed. This function gets a results array (or object) containing all + the result arguments passed to the task callbacks. + +--------------------------------------- + + +### whilst(test, fn, callback) + +Repeatedly call fn, while test returns true. Calls the callback when stopped, +or an error occurs. + +__Arguments__ + +* test() - synchronous truth test to perform before each execution of fn. +* fn(callback) - A function to call each time the test passes. The function is + passed a callback(err) which must be called once it has completed with an + optional error argument. +* callback(err) - A callback which is called after the test fails and repeated + execution of fn has stopped. + +__Example__ + +```js +var count = 0; + +async.whilst( + function () { return count < 5; }, + function (callback) { + count++; + setTimeout(callback, 1000); + }, + function (err) { + // 5 seconds have passed + } +); +``` + +--------------------------------------- + + +### doWhilst(fn, test, callback) + +The post check version of whilst. To reflect the difference in the order of operations `test` and `fn` arguments are switched. `doWhilst` is to `whilst` as `do while` is to `while` in plain JavaScript. + +--------------------------------------- + + +### until(test, fn, callback) + +Repeatedly call fn, until test returns true. Calls the callback when stopped, +or an error occurs. + +The inverse of async.whilst. + +--------------------------------------- + + +### doUntil(fn, test, callback) + +Like doWhilst except the test is inverted. Note the argument ordering differs from `until`. + +--------------------------------------- + + +### forever(fn, callback) + +Calls the asynchronous function 'fn' repeatedly, in series, indefinitely. +If an error is passed to fn's callback then 'callback' is called with the +error, otherwise it will never be called. + +--------------------------------------- + + +### waterfall(tasks, [callback]) + +Runs an array of functions in series, each passing their results to the next in +the array. However, if any of the functions pass an error to the callback, the +next function is not executed and the main callback is immediately called with +the error. + +__Arguments__ + +* tasks - An array of functions to run, each function is passed a + callback(err, result1, result2, ...) it must call on completion. The first + argument is an error (which can be null) and any further arguments will be + passed as arguments in order to the next task. +* callback(err, [results]) - An optional callback to run once all the functions + have completed. This will be passed the results of the last task's callback. + + + +__Example__ + +```js +async.waterfall([ + function(callback){ + callback(null, 'one', 'two'); + }, + function(arg1, arg2, callback){ + callback(null, 'three'); + }, + function(arg1, callback){ + // arg1 now equals 'three' + callback(null, 'done'); + } +], function (err, result) { + // result now equals 'done' +}); +``` + +--------------------------------------- + +### compose(fn1, fn2...) + +Creates a function which is a composition of the passed asynchronous +functions. Each function consumes the return value of the function that +follows. Composing functions f(), g() and h() would produce the result of +f(g(h())), only this version uses callbacks to obtain the return values. + +Each function is executed with the `this` binding of the composed function. + +__Arguments__ + +* functions... - the asynchronous functions to compose + + +__Example__ + +```js +function add1(n, callback) { + setTimeout(function () { + callback(null, n + 1); + }, 10); +} + +function mul3(n, callback) { + setTimeout(function () { + callback(null, n * 3); + }, 10); +} + +var add1mul3 = async.compose(mul3, add1); + +add1mul3(4, function (err, result) { + // result now equals 15 +}); +``` + +--------------------------------------- + +### applyEach(fns, args..., callback) + +Applies the provided arguments to each function in the array, calling the +callback after all functions have completed. If you only provide the first +argument then it will return a function which lets you pass in the +arguments as if it were a single function call. + +__Arguments__ + +* fns - the asynchronous functions to all call with the same arguments +* args... - any number of separate arguments to pass to the function +* callback - the final argument should be the callback, called when all + functions have completed processing + + +__Example__ + +```js +async.applyEach([enableSearch, updateSchema], 'bucket', callback); + +// partial application example: +async.each( + buckets, + async.applyEach([enableSearch, updateSchema]), + callback +); +``` + +--------------------------------------- + + +### applyEachSeries(arr, iterator, callback) + +The same as applyEach only the functions are applied in series. + +--------------------------------------- + + +### queue(worker, concurrency) + +Creates a queue object with the specified concurrency. Tasks added to the +queue will be processed in parallel (up to the concurrency limit). If all +workers are in progress, the task is queued until one is available. Once +a worker has completed a task, the task's callback is called. + +__Arguments__ + +* worker(task, callback) - An asynchronous function for processing a queued + task, which must call its callback(err) argument when finished, with an + optional error as an argument. +* concurrency - An integer for determining how many worker functions should be + run in parallel. + +__Queue objects__ + +The queue object returned by this function has the following properties and +methods: + +* length() - a function returning the number of items waiting to be processed. +* concurrency - an integer for determining how many worker functions should be + run in parallel. This property can be changed after a queue is created to + alter the concurrency on-the-fly. +* push(task, [callback]) - add a new task to the queue, the callback is called + once the worker has finished processing the task. + instead of a single task, an array of tasks can be submitted. the respective callback is used for every task in the list. +* unshift(task, [callback]) - add a new task to the front of the queue. +* saturated - a callback that is called when the queue length hits the concurrency and further tasks will be queued +* empty - a callback that is called when the last item from the queue is given to a worker +* drain - a callback that is called when the last item from the queue has returned from the worker + +__Example__ + +```js +// create a queue object with concurrency 2 + +var q = async.queue(function (task, callback) { + console.log('hello ' + task.name); + callback(); +}, 2); + + +// assign a callback +q.drain = function() { + console.log('all items have been processed'); +} + +// add some items to the queue + +q.push({name: 'foo'}, function (err) { + console.log('finished processing foo'); +}); +q.push({name: 'bar'}, function (err) { + console.log('finished processing bar'); +}); + +// add some items to the queue (batch-wise) + +q.push([{name: 'baz'},{name: 'bay'},{name: 'bax'}], function (err) { + console.log('finished processing bar'); +}); + +// add some items to the front of the queue + +q.unshift({name: 'bar'}, function (err) { + console.log('finished processing bar'); +}); +``` + +--------------------------------------- + + +### cargo(worker, [payload]) + +Creates a cargo object with the specified payload. Tasks added to the +cargo will be processed altogether (up to the payload limit). If the +worker is in progress, the task is queued until it is available. Once +the worker has completed some tasks, each callback of those tasks is called. + +__Arguments__ + +* worker(tasks, callback) - An asynchronous function for processing an array of + queued tasks, which must call its callback(err) argument when finished, with + an optional error as an argument. +* payload - An optional integer for determining how many tasks should be + processed per round; if omitted, the default is unlimited. + +__Cargo objects__ + +The cargo object returned by this function has the following properties and +methods: + +* length() - a function returning the number of items waiting to be processed. +* payload - an integer for determining how many tasks should be + process per round. This property can be changed after a cargo is created to + alter the payload on-the-fly. +* push(task, [callback]) - add a new task to the queue, the callback is called + once the worker has finished processing the task. + instead of a single task, an array of tasks can be submitted. the respective callback is used for every task in the list. +* saturated - a callback that is called when the queue length hits the concurrency and further tasks will be queued +* empty - a callback that is called when the last item from the queue is given to a worker +* drain - a callback that is called when the last item from the queue has returned from the worker + +__Example__ + +```js +// create a cargo object with payload 2 + +var cargo = async.cargo(function (tasks, callback) { + for(var i=0; i +### auto(tasks, [callback]) + +Determines the best order for running functions based on their requirements. +Each function can optionally depend on other functions being completed first, +and each function is run as soon as its requirements are satisfied. If any of +the functions pass an error to their callback, that function will not complete +(so any other functions depending on it will not run) and the main callback +will be called immediately with the error. Functions also receive an object +containing the results of functions which have completed so far. + +Note, all functions are called with a results object as a second argument, +so it is unsafe to pass functions in the tasks object which cannot handle the +extra argument. For example, this snippet of code: + +```js +async.auto({ + readData: async.apply(fs.readFile, 'data.txt', 'utf-8') +}, callback); +``` + +will have the effect of calling readFile with the results object as the last +argument, which will fail: + +```js +fs.readFile('data.txt', 'utf-8', cb, {}); +``` + +Instead, wrap the call to readFile in a function which does not forward the +results object: + +```js +async.auto({ + readData: function(cb, results){ + fs.readFile('data.txt', 'utf-8', cb); + } +}, callback); +``` + +__Arguments__ + +* tasks - An object literal containing named functions or an array of + requirements, with the function itself the last item in the array. The key + used for each function or array is used when specifying requirements. The + function receives two arguments: (1) a callback(err, result) which must be + called when finished, passing an error (which can be null) and the result of + the function's execution, and (2) a results object, containing the results of + the previously executed functions. +* callback(err, results) - An optional callback which is called when all the + tasks have been completed. The callback will receive an error as an argument + if any tasks pass an error to their callback. Results will always be passed + but if an error occurred, no other tasks will be performed, and the results + object will only contain partial results. + + +__Example__ + +```js +async.auto({ + get_data: function(callback){ + // async code to get some data + }, + make_folder: function(callback){ + // async code to create a directory to store a file in + // this is run at the same time as getting the data + }, + write_file: ['get_data', 'make_folder', function(callback){ + // once there is some data and the directory exists, + // write the data to a file in the directory + callback(null, filename); + }], + email_link: ['write_file', function(callback, results){ + // once the file is written let's email a link to it... + // results.write_file contains the filename returned by write_file. + }] +}); +``` + +This is a fairly trivial example, but to do this using the basic parallel and +series functions would look like this: + +```js +async.parallel([ + function(callback){ + // async code to get some data + }, + function(callback){ + // async code to create a directory to store a file in + // this is run at the same time as getting the data + } +], +function(err, results){ + async.series([ + function(callback){ + // once there is some data and the directory exists, + // write the data to a file in the directory + }, + function(callback){ + // once the file is written let's email a link to it... + } + ]); +}); +``` + +For a complicated series of async tasks using the auto function makes adding +new tasks much easier and makes the code more readable. + + +--------------------------------------- + + +### iterator(tasks) + +Creates an iterator function which calls the next function in the array, +returning a continuation to call the next one after that. It's also possible to +'peek' the next iterator by doing iterator.next(). + +This function is used internally by the async module but can be useful when +you want to manually control the flow of functions in series. + +__Arguments__ + +* tasks - An array of functions to run. + +__Example__ + +```js +var iterator = async.iterator([ + function(){ sys.p('one'); }, + function(){ sys.p('two'); }, + function(){ sys.p('three'); } +]); + +node> var iterator2 = iterator(); +'one' +node> var iterator3 = iterator2(); +'two' +node> iterator3(); +'three' +node> var nextfn = iterator2.next(); +node> nextfn(); +'three' +``` + +--------------------------------------- + + +### apply(function, arguments..) + +Creates a continuation function with some arguments already applied, a useful +shorthand when combined with other control flow functions. Any arguments +passed to the returned function are added to the arguments originally passed +to apply. + +__Arguments__ + +* function - The function you want to eventually apply all arguments to. +* arguments... - Any number of arguments to automatically apply when the + continuation is called. + +__Example__ + +```js +// using apply + +async.parallel([ + async.apply(fs.writeFile, 'testfile1', 'test1'), + async.apply(fs.writeFile, 'testfile2', 'test2'), +]); + + +// the same process without using apply + +async.parallel([ + function(callback){ + fs.writeFile('testfile1', 'test1', callback); + }, + function(callback){ + fs.writeFile('testfile2', 'test2', callback); + } +]); +``` + +It's possible to pass any number of additional arguments when calling the +continuation: + +```js +node> var fn = async.apply(sys.puts, 'one'); +node> fn('two', 'three'); +one +two +three +``` + +--------------------------------------- + + +### nextTick(callback) + +Calls the callback on a later loop around the event loop. In node.js this just +calls process.nextTick, in the browser it falls back to setImmediate(callback) +if available, otherwise setTimeout(callback, 0), which means other higher priority +events may precede the execution of the callback. + +This is used internally for browser-compatibility purposes. + +__Arguments__ + +* callback - The function to call on a later loop around the event loop. + +__Example__ + +```js +var call_order = []; +async.nextTick(function(){ + call_order.push('two'); + // call_order now equals ['one','two'] +}); +call_order.push('one') +``` + + +### times(n, callback) + +Calls the callback n times and accumulates results in the same manner +you would use with async.map. + +__Arguments__ + +* n - The number of times to run the function. +* callback - The function to call n times. + +__Example__ + +```js +// Pretend this is some complicated async factory +var createUser = function(id, callback) { + callback(null, { + id: 'user' + id + }) +} +// generate 5 users +async.times(5, function(n, next){ + createUser(n, function(err, user) { + next(err, user) + }) +}, function(err, users) { + // we should now have 5 users +}); +``` + + +### timesSeries(n, callback) + +The same as times only the iterator is applied to each item in the array in +series. The next iterator is only called once the current one has completed +processing. The results array will be in the same order as the original. + + +## Utils + + +### memoize(fn, [hasher]) + +Caches the results of an async function. When creating a hash to store function +results against, the callback is omitted from the hash and an optional hash +function can be used. + +The cache of results is exposed as the `memo` property of the function returned +by `memoize`. + +__Arguments__ + +* fn - the function you to proxy and cache results from. +* hasher - an optional function for generating a custom hash for storing + results, it has all the arguments applied to it apart from the callback, and + must be synchronous. + +__Example__ + +```js +var slow_fn = function (name, callback) { + // do something + callback(null, result); +}; +var fn = async.memoize(slow_fn); + +// fn can now be used as if it were slow_fn +fn('some name', function () { + // callback +}); +``` + + +### unmemoize(fn) + +Undoes a memoized function, reverting it to the original, unmemoized +form. Comes handy in tests. + +__Arguments__ + +* fn - the memoized function + + +### log(function, arguments) + +Logs the result of an async function to the console. Only works in node.js or +in browsers that support console.log and console.error (such as FF and Chrome). +If multiple arguments are returned from the async function, console.log is +called on each argument in order. + +__Arguments__ + +* function - The function you want to eventually apply all arguments to. +* arguments... - Any number of arguments to apply to the function. + +__Example__ + +```js +var hello = function(name, callback){ + setTimeout(function(){ + callback(null, 'hello ' + name); + }, 1000); +}; +``` +```js +node> async.log(hello, 'world'); +'hello world' +``` + +--------------------------------------- + + +### dir(function, arguments) + +Logs the result of an async function to the console using console.dir to +display the properties of the resulting object. Only works in node.js or +in browsers that support console.dir and console.error (such as FF and Chrome). +If multiple arguments are returned from the async function, console.dir is +called on each argument in order. + +__Arguments__ + +* function - The function you want to eventually apply all arguments to. +* arguments... - Any number of arguments to apply to the function. + +__Example__ + +```js +var hello = function(name, callback){ + setTimeout(function(){ + callback(null, {hello: name}); + }, 1000); +}; +``` +```js +node> async.dir(hello, 'world'); +{hello: 'world'} +``` + +--------------------------------------- + + +### noConflict() + +Changes the value of async back to its original value, returning a reference to the +async object. diff --git a/node_modules/async/component.json b/node_modules/async/component.json new file mode 100644 index 0000000..bbb0115 --- /dev/null +++ b/node_modules/async/component.json @@ -0,0 +1,11 @@ +{ + "name": "async", + "repo": "caolan/async", + "description": "Higher-order functions and common patterns for asynchronous code", + "version": "0.1.23", + "keywords": [], + "dependencies": {}, + "development": {}, + "main": "lib/async.js", + "scripts": [ "lib/async.js" ] +} diff --git a/node_modules/async/lib/async.js b/node_modules/async/lib/async.js new file mode 100644 index 0000000..1eebb15 --- /dev/null +++ b/node_modules/async/lib/async.js @@ -0,0 +1,958 @@ +/*global setImmediate: false, setTimeout: false, console: false */ +(function () { + + var async = {}; + + // global on the server, window in the browser + var root, previous_async; + + root = this; + if (root != null) { + previous_async = root.async; + } + + async.noConflict = function () { + root.async = previous_async; + return async; + }; + + function only_once(fn) { + var called = false; + return function() { + if (called) throw new Error("Callback was already called."); + called = true; + fn.apply(root, arguments); + } + } + + //// cross-browser compatiblity functions //// + + var _each = function (arr, iterator) { + if (arr.forEach) { + return arr.forEach(iterator); + } + for (var i = 0; i < arr.length; i += 1) { + iterator(arr[i], i, arr); + } + }; + + var _map = function (arr, iterator) { + if (arr.map) { + return arr.map(iterator); + } + var results = []; + _each(arr, function (x, i, a) { + results.push(iterator(x, i, a)); + }); + return results; + }; + + var _reduce = function (arr, iterator, memo) { + if (arr.reduce) { + return arr.reduce(iterator, memo); + } + _each(arr, function (x, i, a) { + memo = iterator(memo, x, i, a); + }); + return memo; + }; + + var _keys = function (obj) { + if (Object.keys) { + return Object.keys(obj); + } + var keys = []; + for (var k in obj) { + if (obj.hasOwnProperty(k)) { + keys.push(k); + } + } + return keys; + }; + + //// exported async module functions //// + + //// nextTick implementation with browser-compatible fallback //// + if (typeof process === 'undefined' || !(process.nextTick)) { + if (typeof setImmediate === 'function') { + async.nextTick = function (fn) { + // not a direct alias for IE10 compatibility + setImmediate(fn); + }; + async.setImmediate = async.nextTick; + } + else { + async.nextTick = function (fn) { + setTimeout(fn, 0); + }; + async.setImmediate = async.nextTick; + } + } + else { + async.nextTick = process.nextTick; + if (typeof setImmediate !== 'undefined') { + async.setImmediate = function (fn) { + // not a direct alias for IE10 compatibility + setImmediate(fn); + }; + } + else { + async.setImmediate = async.nextTick; + } + } + + async.each = function (arr, iterator, callback) { + callback = callback || function () {}; + if (!arr.length) { + return callback(); + } + var completed = 0; + _each(arr, function (x) { + iterator(x, only_once(function (err) { + if (err) { + callback(err); + callback = function () {}; + } + else { + completed += 1; + if (completed >= arr.length) { + callback(null); + } + } + })); + }); + }; + async.forEach = async.each; + + async.eachSeries = function (arr, iterator, callback) { + callback = callback || function () {}; + if (!arr.length) { + return callback(); + } + var completed = 0; + var iterate = function () { + iterator(arr[completed], function (err) { + if (err) { + callback(err); + callback = function () {}; + } + else { + completed += 1; + if (completed >= arr.length) { + callback(null); + } + else { + iterate(); + } + } + }); + }; + iterate(); + }; + async.forEachSeries = async.eachSeries; + + async.eachLimit = function (arr, limit, iterator, callback) { + var fn = _eachLimit(limit); + fn.apply(null, [arr, iterator, callback]); + }; + async.forEachLimit = async.eachLimit; + + var _eachLimit = function (limit) { + + return function (arr, iterator, callback) { + callback = callback || function () {}; + if (!arr.length || limit <= 0) { + return callback(); + } + var completed = 0; + var started = 0; + var running = 0; + + (function replenish () { + if (completed >= arr.length) { + return callback(); + } + + while (running < limit && started < arr.length) { + started += 1; + running += 1; + iterator(arr[started - 1], function (err) { + if (err) { + callback(err); + callback = function () {}; + } + else { + completed += 1; + running -= 1; + if (completed >= arr.length) { + callback(); + } + else { + replenish(); + } + } + }); + } + })(); + }; + }; + + + var doParallel = function (fn) { + return function () { + var args = Array.prototype.slice.call(arguments); + return fn.apply(null, [async.each].concat(args)); + }; + }; + var doParallelLimit = function(limit, fn) { + return function () { + var args = Array.prototype.slice.call(arguments); + return fn.apply(null, [_eachLimit(limit)].concat(args)); + }; + }; + var doSeries = function (fn) { + return function () { + var args = Array.prototype.slice.call(arguments); + return fn.apply(null, [async.eachSeries].concat(args)); + }; + }; + + + var _asyncMap = function (eachfn, arr, iterator, callback) { + var results = []; + arr = _map(arr, function (x, i) { + return {index: i, value: x}; + }); + eachfn(arr, function (x, callback) { + iterator(x.value, function (err, v) { + results[x.index] = v; + callback(err); + }); + }, function (err) { + callback(err, results); + }); + }; + async.map = doParallel(_asyncMap); + async.mapSeries = doSeries(_asyncMap); + async.mapLimit = function (arr, limit, iterator, callback) { + return _mapLimit(limit)(arr, iterator, callback); + }; + + var _mapLimit = function(limit) { + return doParallelLimit(limit, _asyncMap); + }; + + // reduce only has a series version, as doing reduce in parallel won't + // work in many situations. + async.reduce = function (arr, memo, iterator, callback) { + async.eachSeries(arr, function (x, callback) { + iterator(memo, x, function (err, v) { + memo = v; + callback(err); + }); + }, function (err) { + callback(err, memo); + }); + }; + // inject alias + async.inject = async.reduce; + // foldl alias + async.foldl = async.reduce; + + async.reduceRight = function (arr, memo, iterator, callback) { + var reversed = _map(arr, function (x) { + return x; + }).reverse(); + async.reduce(reversed, memo, iterator, callback); + }; + // foldr alias + async.foldr = async.reduceRight; + + var _filter = function (eachfn, arr, iterator, callback) { + var results = []; + arr = _map(arr, function (x, i) { + return {index: i, value: x}; + }); + eachfn(arr, function (x, callback) { + iterator(x.value, function (v) { + if (v) { + results.push(x); + } + callback(); + }); + }, function (err) { + callback(_map(results.sort(function (a, b) { + return a.index - b.index; + }), function (x) { + return x.value; + })); + }); + }; + async.filter = doParallel(_filter); + async.filterSeries = doSeries(_filter); + // select alias + async.select = async.filter; + async.selectSeries = async.filterSeries; + + var _reject = function (eachfn, arr, iterator, callback) { + var results = []; + arr = _map(arr, function (x, i) { + return {index: i, value: x}; + }); + eachfn(arr, function (x, callback) { + iterator(x.value, function (v) { + if (!v) { + results.push(x); + } + callback(); + }); + }, function (err) { + callback(_map(results.sort(function (a, b) { + return a.index - b.index; + }), function (x) { + return x.value; + })); + }); + }; + async.reject = doParallel(_reject); + async.rejectSeries = doSeries(_reject); + + var _detect = function (eachfn, arr, iterator, main_callback) { + eachfn(arr, function (x, callback) { + iterator(x, function (result) { + if (result) { + main_callback(x); + main_callback = function () {}; + } + else { + callback(); + } + }); + }, function (err) { + main_callback(); + }); + }; + async.detect = doParallel(_detect); + async.detectSeries = doSeries(_detect); + + async.some = function (arr, iterator, main_callback) { + async.each(arr, function (x, callback) { + iterator(x, function (v) { + if (v) { + main_callback(true); + main_callback = function () {}; + } + callback(); + }); + }, function (err) { + main_callback(false); + }); + }; + // any alias + async.any = async.some; + + async.every = function (arr, iterator, main_callback) { + async.each(arr, function (x, callback) { + iterator(x, function (v) { + if (!v) { + main_callback(false); + main_callback = function () {}; + } + callback(); + }); + }, function (err) { + main_callback(true); + }); + }; + // all alias + async.all = async.every; + + async.sortBy = function (arr, iterator, callback) { + async.map(arr, function (x, callback) { + iterator(x, function (err, criteria) { + if (err) { + callback(err); + } + else { + callback(null, {value: x, criteria: criteria}); + } + }); + }, function (err, results) { + if (err) { + return callback(err); + } + else { + var fn = function (left, right) { + var a = left.criteria, b = right.criteria; + return a < b ? -1 : a > b ? 1 : 0; + }; + callback(null, _map(results.sort(fn), function (x) { + return x.value; + })); + } + }); + }; + + async.auto = function (tasks, callback) { + callback = callback || function () {}; + var keys = _keys(tasks); + if (!keys.length) { + return callback(null); + } + + var results = {}; + + var listeners = []; + var addListener = function (fn) { + listeners.unshift(fn); + }; + var removeListener = function (fn) { + for (var i = 0; i < listeners.length; i += 1) { + if (listeners[i] === fn) { + listeners.splice(i, 1); + return; + } + } + }; + var taskComplete = function () { + _each(listeners.slice(0), function (fn) { + fn(); + }); + }; + + addListener(function () { + if (_keys(results).length === keys.length) { + callback(null, results); + callback = function () {}; + } + }); + + _each(keys, function (k) { + var task = (tasks[k] instanceof Function) ? [tasks[k]]: tasks[k]; + var taskCallback = function (err) { + var args = Array.prototype.slice.call(arguments, 1); + if (args.length <= 1) { + args = args[0]; + } + if (err) { + var safeResults = {}; + _each(_keys(results), function(rkey) { + safeResults[rkey] = results[rkey]; + }); + safeResults[k] = args; + callback(err, safeResults); + // stop subsequent errors hitting callback multiple times + callback = function () {}; + } + else { + results[k] = args; + async.setImmediate(taskComplete); + } + }; + var requires = task.slice(0, Math.abs(task.length - 1)) || []; + var ready = function () { + return _reduce(requires, function (a, x) { + return (a && results.hasOwnProperty(x)); + }, true) && !results.hasOwnProperty(k); + }; + if (ready()) { + task[task.length - 1](taskCallback, results); + } + else { + var listener = function () { + if (ready()) { + removeListener(listener); + task[task.length - 1](taskCallback, results); + } + }; + addListener(listener); + } + }); + }; + + async.waterfall = function (tasks, callback) { + callback = callback || function () {}; + if (tasks.constructor !== Array) { + var err = new Error('First argument to waterfall must be an array of functions'); + return callback(err); + } + if (!tasks.length) { + return callback(); + } + var wrapIterator = function (iterator) { + return function (err) { + if (err) { + callback.apply(null, arguments); + callback = function () {}; + } + else { + var args = Array.prototype.slice.call(arguments, 1); + var next = iterator.next(); + if (next) { + args.push(wrapIterator(next)); + } + else { + args.push(callback); + } + async.setImmediate(function () { + iterator.apply(null, args); + }); + } + }; + }; + wrapIterator(async.iterator(tasks))(); + }; + + var _parallel = function(eachfn, tasks, callback) { + callback = callback || function () {}; + if (tasks.constructor === Array) { + eachfn.map(tasks, function (fn, callback) { + if (fn) { + fn(function (err) { + var args = Array.prototype.slice.call(arguments, 1); + if (args.length <= 1) { + args = args[0]; + } + callback.call(null, err, args); + }); + } + }, callback); + } + else { + var results = {}; + eachfn.each(_keys(tasks), function (k, callback) { + tasks[k](function (err) { + var args = Array.prototype.slice.call(arguments, 1); + if (args.length <= 1) { + args = args[0]; + } + results[k] = args; + callback(err); + }); + }, function (err) { + callback(err, results); + }); + } + }; + + async.parallel = function (tasks, callback) { + _parallel({ map: async.map, each: async.each }, tasks, callback); + }; + + async.parallelLimit = function(tasks, limit, callback) { + _parallel({ map: _mapLimit(limit), each: _eachLimit(limit) }, tasks, callback); + }; + + async.series = function (tasks, callback) { + callback = callback || function () {}; + if (tasks.constructor === Array) { + async.mapSeries(tasks, function (fn, callback) { + if (fn) { + fn(function (err) { + var args = Array.prototype.slice.call(arguments, 1); + if (args.length <= 1) { + args = args[0]; + } + callback.call(null, err, args); + }); + } + }, callback); + } + else { + var results = {}; + async.eachSeries(_keys(tasks), function (k, callback) { + tasks[k](function (err) { + var args = Array.prototype.slice.call(arguments, 1); + if (args.length <= 1) { + args = args[0]; + } + results[k] = args; + callback(err); + }); + }, function (err) { + callback(err, results); + }); + } + }; + + async.iterator = function (tasks) { + var makeCallback = function (index) { + var fn = function () { + if (tasks.length) { + tasks[index].apply(null, arguments); + } + return fn.next(); + }; + fn.next = function () { + return (index < tasks.length - 1) ? makeCallback(index + 1): null; + }; + return fn; + }; + return makeCallback(0); + }; + + async.apply = function (fn) { + var args = Array.prototype.slice.call(arguments, 1); + return function () { + return fn.apply( + null, args.concat(Array.prototype.slice.call(arguments)) + ); + }; + }; + + var _concat = function (eachfn, arr, fn, callback) { + var r = []; + eachfn(arr, function (x, cb) { + fn(x, function (err, y) { + r = r.concat(y || []); + cb(err); + }); + }, function (err) { + callback(err, r); + }); + }; + async.concat = doParallel(_concat); + async.concatSeries = doSeries(_concat); + + async.whilst = function (test, iterator, callback) { + if (test()) { + iterator(function (err) { + if (err) { + return callback(err); + } + async.whilst(test, iterator, callback); + }); + } + else { + callback(); + } + }; + + async.doWhilst = function (iterator, test, callback) { + iterator(function (err) { + if (err) { + return callback(err); + } + if (test()) { + async.doWhilst(iterator, test, callback); + } + else { + callback(); + } + }); + }; + + async.until = function (test, iterator, callback) { + if (!test()) { + iterator(function (err) { + if (err) { + return callback(err); + } + async.until(test, iterator, callback); + }); + } + else { + callback(); + } + }; + + async.doUntil = function (iterator, test, callback) { + iterator(function (err) { + if (err) { + return callback(err); + } + if (!test()) { + async.doUntil(iterator, test, callback); + } + else { + callback(); + } + }); + }; + + async.queue = function (worker, concurrency) { + if (concurrency === undefined) { + concurrency = 1; + } + function _insert(q, data, pos, callback) { + if(data.constructor !== Array) { + data = [data]; + } + _each(data, function(task) { + var item = { + data: task, + callback: typeof callback === 'function' ? callback : null + }; + + if (pos) { + q.tasks.unshift(item); + } else { + q.tasks.push(item); + } + + if (q.saturated && q.tasks.length === concurrency) { + q.saturated(); + } + async.setImmediate(q.process); + }); + } + + var workers = 0; + var q = { + tasks: [], + concurrency: concurrency, + saturated: null, + empty: null, + drain: null, + push: function (data, callback) { + _insert(q, data, false, callback); + }, + unshift: function (data, callback) { + _insert(q, data, true, callback); + }, + process: function () { + if (workers < q.concurrency && q.tasks.length) { + var task = q.tasks.shift(); + if (q.empty && q.tasks.length === 0) { + q.empty(); + } + workers += 1; + var next = function () { + workers -= 1; + if (task.callback) { + task.callback.apply(task, arguments); + } + if (q.drain && q.tasks.length + workers === 0) { + q.drain(); + } + q.process(); + }; + var cb = only_once(next); + worker(task.data, cb); + } + }, + length: function () { + return q.tasks.length; + }, + running: function () { + return workers; + } + }; + return q; + }; + + async.cargo = function (worker, payload) { + var working = false, + tasks = []; + + var cargo = { + tasks: tasks, + payload: payload, + saturated: null, + empty: null, + drain: null, + push: function (data, callback) { + if(data.constructor !== Array) { + data = [data]; + } + _each(data, function(task) { + tasks.push({ + data: task, + callback: typeof callback === 'function' ? callback : null + }); + if (cargo.saturated && tasks.length === payload) { + cargo.saturated(); + } + }); + async.setImmediate(cargo.process); + }, + process: function process() { + if (working) return; + if (tasks.length === 0) { + if(cargo.drain) cargo.drain(); + return; + } + + var ts = typeof payload === 'number' + ? tasks.splice(0, payload) + : tasks.splice(0); + + var ds = _map(ts, function (task) { + return task.data; + }); + + if(cargo.empty) cargo.empty(); + working = true; + worker(ds, function () { + working = false; + + var args = arguments; + _each(ts, function (data) { + if (data.callback) { + data.callback.apply(null, args); + } + }); + + process(); + }); + }, + length: function () { + return tasks.length; + }, + running: function () { + return working; + } + }; + return cargo; + }; + + var _console_fn = function (name) { + return function (fn) { + var args = Array.prototype.slice.call(arguments, 1); + fn.apply(null, args.concat([function (err) { + var args = Array.prototype.slice.call(arguments, 1); + if (typeof console !== 'undefined') { + if (err) { + if (console.error) { + console.error(err); + } + } + else if (console[name]) { + _each(args, function (x) { + console[name](x); + }); + } + } + }])); + }; + }; + async.log = _console_fn('log'); + async.dir = _console_fn('dir'); + /*async.info = _console_fn('info'); + async.warn = _console_fn('warn'); + async.error = _console_fn('error');*/ + + async.memoize = function (fn, hasher) { + var memo = {}; + var queues = {}; + hasher = hasher || function (x) { + return x; + }; + var memoized = function () { + var args = Array.prototype.slice.call(arguments); + var callback = args.pop(); + var key = hasher.apply(null, args); + if (key in memo) { + callback.apply(null, memo[key]); + } + else if (key in queues) { + queues[key].push(callback); + } + else { + queues[key] = [callback]; + fn.apply(null, args.concat([function () { + memo[key] = arguments; + var q = queues[key]; + delete queues[key]; + for (var i = 0, l = q.length; i < l; i++) { + q[i].apply(null, arguments); + } + }])); + } + }; + memoized.memo = memo; + memoized.unmemoized = fn; + return memoized; + }; + + async.unmemoize = function (fn) { + return function () { + return (fn.unmemoized || fn).apply(null, arguments); + }; + }; + + async.times = function (count, iterator, callback) { + var counter = []; + for (var i = 0; i < count; i++) { + counter.push(i); + } + return async.map(counter, iterator, callback); + }; + + async.timesSeries = function (count, iterator, callback) { + var counter = []; + for (var i = 0; i < count; i++) { + counter.push(i); + } + return async.mapSeries(counter, iterator, callback); + }; + + async.compose = function (/* functions... */) { + var fns = Array.prototype.reverse.call(arguments); + return function () { + var that = this; + var args = Array.prototype.slice.call(arguments); + var callback = args.pop(); + async.reduce(fns, args, function (newargs, fn, cb) { + fn.apply(that, newargs.concat([function () { + var err = arguments[0]; + var nextargs = Array.prototype.slice.call(arguments, 1); + cb(err, nextargs); + }])) + }, + function (err, results) { + callback.apply(that, [err].concat(results)); + }); + }; + }; + + var _applyEach = function (eachfn, fns /*args...*/) { + var go = function () { + var that = this; + var args = Array.prototype.slice.call(arguments); + var callback = args.pop(); + return eachfn(fns, function (fn, cb) { + fn.apply(that, args.concat([cb])); + }, + callback); + }; + if (arguments.length > 2) { + var args = Array.prototype.slice.call(arguments, 2); + return go.apply(this, args); + } + else { + return go; + } + }; + async.applyEach = doParallel(_applyEach); + async.applyEachSeries = doSeries(_applyEach); + + async.forever = function (fn, callback) { + function next(err) { + if (err) { + if (callback) { + return callback(err); + } + throw err; + } + fn(next); + } + next(); + }; + + // AMD / RequireJS + if (typeof define !== 'undefined' && define.amd) { + define([], function () { + return async; + }); + } + // Node.js + else if (typeof module !== 'undefined' && module.exports) { + module.exports = async; + } + // included directly via +: + +``` + +Bundle size + +| Bundle Name | Size | +| ------------------ | ---- | +| fxbuilder.min.js | 6.5K | +| fxparser.min.js | 20K | +| fxp.min.js | 26K | +| fxvalidator.min.js | 5.7K | + +## Documents + + + + + + + +
v3v4 and v5v6
+ documents +
    +
  1. Getting Started
  2. +
  3. XML Parser
  4. +
  5. XML Builder
  6. +
  7. XML Validator
  8. +
  9. Entities
  10. +
  11. HTML Document Parsing
  12. +
  13. PI Tag processing
  14. +
  15. Path Expression
  16. +
    +
  1. Getting Started +
  2. Features
  3. +
  4. Options
  5. +
  6. Output Builders
  7. +
  8. Value Parsers
  9. +
+ +**note**: +- Version 6 is released with version 4 for experimental use. Based on its demand, it'll be developed and the features can be different in final release. +- Version 5 has the same functionalities as version 4. + +## Performance +negative means error + +### XML Parser + + + + +* Y-axis: requests per second +* X-axis: File size + +### XML Builder + + +* Y-axis: requests per second + + + +--- + +## Usage Trend + +[Usage Trend of fast-xml-parser](https://npm-compare.com/fast-xml-parser#timeRange=THREE_YEARS) + +
+ NPM Usage Trend of fast-xml-parser + + +# Supporters +#### Contributors + +This project exists thanks to [all](graphs/contributors) the people who contribute. [[Contribute](docs/CONTRIBUTING.md)]. + + + + +#### Backers from Open collective + +Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/fast-xml-parser#backer)] + + + + + +# License +* MIT License + +![Donate $5](static/img/donation_quote.png) diff --git a/node_modules/fast-xml-parser/lib/fxbuilder.min.js b/node_modules/fast-xml-parser/lib/fxbuilder.min.js new file mode 100644 index 0000000..3d7ae59 --- /dev/null +++ b/node_modules/fast-xml-parser/lib/fxbuilder.min.js @@ -0,0 +1,2 @@ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.XMLBuilder=e():t.XMLBuilder=e()}(this,()=>(()=>{"use strict";var t={d:(e,i)=>{for(var s in i)t.o(i,s)&&!t.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:i[s]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{default:()=>y});class i{constructor(t,e={}){this.pattern=t,this.separator=e.separator||".",this.segments=this._parse(t),this._hasDeepWildcard=this.segments.some(t=>"deep-wildcard"===t.type),this._hasAttributeCondition=this.segments.some(t=>void 0!==t.attrName),this._hasPositionSelector=this.segments.some(t=>void 0!==t.position)}_parse(t){const e=[];let i=0,s="";for(;i0&&(this.path[this.path.length-1].values=void 0);const s=this.path.length;this.siblingStacks[s]||(this.siblingStacks[s]=new Map);const n=this.siblingStacks[s],r=i?`${i}:${t}`:t,o=n.get(r)||0;let a=0;for(const t of n.values())a+=t;n.set(r,o+1);const h={tag:t,position:a,counter:o};null!=i&&(h.namespace=i),null!=e&&(h.values=e),this.path.push(h)}pop(){if(0===this.path.length)return;const t=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),t}updateCurrent(t){if(this.path.length>0){const e=this.path[this.path.length-1];null!=t&&(e.values=t)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(t){if(0===this.path.length)return;const e=this.path[this.path.length-1];return e.values?.[t]}hasAttr(t){if(0===this.path.length)return!1;const e=this.path[this.path.length-1];return void 0!==e.values&&t in e.values}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(t,e=!0){const i=t||this.separator;return this.path.map(t=>e&&t.namespace?`${t.namespace}:${t.tag}`:t.tag).join(i)}toArray(){return this.path.map(t=>t.tag)}reset(){this.path=[],this.siblingStacks=[]}matches(t){const e=t.segments;return 0!==e.length&&(t.hasDeepWildcard()?this._matchWithDeepWildcard(e):this._matchSimple(e))}_matchSimple(t){if(this.path.length!==t.length)return!1;for(let e=0;e=0&&e>=0;){const s=t[i];if("deep-wildcard"===s.type){if(i--,i<0)return!0;const s=t[i];let n=!1;for(let t=e;t>=0;t--){const r=t===this.path.length-1;if(this._matchSegment(s,this.path[t],r)){e=t-1,i--,n=!0;break}}if(!n)return!1}else{const t=e===this.path.length-1;if(!this._matchSegment(s,this.path[e],t))return!1;e--,i--}}return i<0}_matchSegment(t,e,i){if("*"!==t.tag&&t.tag!==e.tag)return!1;if(void 0!==t.namespace&&"*"!==t.namespace&&t.namespace!==e.namespace)return!1;if(void 0!==t.attrName){if(!i)return!1;if(!e.values||!(t.attrName in e.values))return!1;if(void 0!==t.attrValue){const i=e.values[t.attrName];if(String(i)!==String(t.attrValue))return!1}}if(void 0!==t.position){if(!i)return!1;const s=e.counter??0;if("first"===t.position&&0!==s)return!1;if("odd"===t.position&&s%2!=1)return!1;if("even"===t.position&&s%2!=0)return!1;if("nth"===t.position&&s!==t.positionValue)return!1}return!0}snapshot(){return{path:this.path.map(t=>({...t})),siblingStacks:this.siblingStacks.map(t=>new Map(t))}}restore(t){this.path=t.path.map(t=>({...t})),this.siblingStacks=t.siblingStacks.map(t=>new Map(t))}readOnly(){return new Proxy(this,{get(t,e,i){if(s.has(e))return()=>{throw new TypeError(`Cannot call '${e}' on a read-only Matcher. Obtain a writable instance to mutate state.`)};const n=Reflect.get(t,e,i);return"path"===e||"siblingStacks"===e?Object.freeze(Array.isArray(n)?n.map(t=>t instanceof Map?Object.freeze(new Map(t)):Object.freeze({...t})):n):"function"==typeof n?n.bind(t):n},set(t,e){throw new TypeError(`Cannot set property '${String(e)}' on a read-only Matcher.`)},deleteProperty(t,e){throw new TypeError(`Cannot delete property '${String(e)}' from a read-only Matcher.`)}})}}function r(t,e){let s="";e.format&&e.indentBy.length>0&&(s="\n");const r=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let t=0;te.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(null!=t){let i=t.toString();return i=d(i,e),i}return""}for(let f=0;f`,p=!1,s.pop();continue}if(m===e.commentPropName){r+=i+`\x3c!--${g[m][0][e.textNodeName]}--\x3e`,p=!0,s.pop();continue}if("?"===m[0]){const t=l(g[":@"],e,N),n="?xml"===m?"":i;let o=g[m][0][e.textNodeName];o=0!==o.length?" "+o:"",r+=n+`<${m}${o}${t}?>`,p=!0,s.pop();continue}let y=i;""!==y&&(y+=e.indentBy);const x=i+`<${m}${l(g[":@"],e,N)}`;let P;P=N?h(g[m],e):o(g[m],e,y,s,n),-1!==e.unpairedTags.indexOf(m)?e.suppressUnpairedNode?r+=x+">":r+=x+"/>":P&&0!==P.length||!e.suppressEmptyNode?P&&P.endsWith(">")?r+=x+`>${P}${i}`:(r+=x+">",P&&""!==i&&(P.includes("/>")||P.includes("`):r+=x+"/>",p=!0,s.pop()}return r}function a(t,e){if(!t||e.ignoreAttributes)return null;const i={};let s=!1;for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n.startsWith(e.attributeNamePrefix)?n.substr(e.attributeNamePrefix.length):n]=t[n],s=!0);return s?i:null}function h(t,e){if(!Array.isArray(t))return null!=t?t.toString():"";let i="";for(let s=0;s${s}`:i+=`<${r}${t}/>`}}}return i}function p(t,e){let i="";if(t&&!e.ignoreAttributes)for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let n=t[s];!0===n&&e.suppressBooleanAttributes?i+=` ${s.substr(e.attributeNamePrefix.length)}`:i+=` ${s.substr(e.attributeNamePrefix.length)}="${n}"`}return i}function u(t){const e=Object.keys(t);for(let i=0;i0&&e.processEntities)for(let i=0;i","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0};function g(t){if(this.options=Object.assign({},f,t),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(t=>"string"==typeof t&&t.startsWith("*.")?".."+t.substring(2):t)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let t=0;t{for(const i of e){if("string"==typeof i&&t===i)return!0;if(i instanceof RegExp&&i.test(t))return!0}}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=N),this.processTextOrObjNode=m,this.options.format?(this.indentate=b,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function m(t,e,i,s){const n=this.extractAttributes(t);if(s.push(e,n),this.checkStopNode(s)){const n=this.buildRawContent(t),r=this.buildAttributesForStopNode(t);return s.pop(),this.buildObjectNode(n,e,r,i)}const r=this.j2x(t,i+1,s);return s.pop(),void 0!==t[this.options.textNodeName]&&1===Object.keys(t).length?this.buildTextValNode(t[this.options.textNodeName],e,r.attrStr,i,s):this.buildObjectNode(r.val,e,r.attrStr,i)}function b(t){return this.options.indentBy.repeat(t)}function N(t){return!(!t.startsWith(this.options.attributeNamePrefix)||t===this.options.textNodeName)&&t.substr(this.attrPrefixLen)}g.prototype.build=function(t){if(this.options.preserveOrder)return r(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});const e=new n;return this.j2x(t,0,e).val}},g.prototype.j2x=function(t,e,i){let s="",n="";if(this.options.maxNestedTags&&i.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");const r=this.options.jPath?i.toString():i,o=this.checkStopNode(i);for(let a in t)if(Object.prototype.hasOwnProperty.call(t,a))if(void 0===t[a])this.isAttribute(a)&&(n+="");else if(null===t[a])this.isAttribute(a)||a===this.options.cdataPropName?n+="":"?"===a[0]?n+=this.indentate(e)+"<"+a+"?"+this.tagEndChar:n+=this.indentate(e)+"<"+a+"/"+this.tagEndChar;else if(t[a]instanceof Date)n+=this.buildTextValNode(t[a],a,"",e,i);else if("object"!=typeof t[a]){const h=this.isAttribute(a);if(h&&!this.ignoreAttributesFn(h,r))s+=this.buildAttrPairStr(h,""+t[a],o);else if(!h)if(a===this.options.textNodeName){let e=this.options.tagValueProcessor(a,""+t[a]);n+=this.replaceEntitiesValue(e)}else{i.push(a);const s=this.checkStopNode(i);if(i.pop(),s){const i=""+t[a];n+=""===i?this.indentate(e)+"<"+a+this.closeTag(a)+this.tagEndChar:this.indentate(e)+"<"+a+">"+i+""+t+"${t}`;else if("object"==typeof t&&null!==t){const s=this.buildRawContent(t),n=this.buildAttributesForStopNode(t);e+=""===s?`<${i}${n}/>`:`<${i}${n}>${s}`}}else if("object"==typeof s&&null!==s){const t=this.buildRawContent(s),n=this.buildAttributesForStopNode(s);e+=""===t?`<${i}${n}/>`:`<${i}${n}>${t}`}else e+=`<${i}>${s}`}return e},g.prototype.buildAttributesForStopNode=function(t){if(!t||"object"!=typeof t)return"";let e="";if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){const i=t[this.options.attributesGroupName];for(let t in i){if(!Object.prototype.hasOwnProperty.call(i,t))continue;const s=t.startsWith(this.options.attributeNamePrefix)?t.substring(this.options.attributeNamePrefix.length):t,n=i[t];!0===n&&this.options.suppressBooleanAttributes?e+=" "+s:e+=" "+s+'="'+n+'"'}}else for(let i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;const s=this.isAttribute(i);if(s){const n=t[i];!0===n&&this.options.suppressBooleanAttributes?e+=" "+s:e+=" "+s+'="'+n+'"'}}return e},g.prototype.buildObjectNode=function(t,e,i,s){if(""===t)return"?"===e[0]?this.indentate(s)+"<"+e+i+"?"+this.tagEndChar:this.indentate(s)+"<"+e+i+this.closeTag(e)+this.tagEndChar;{let n=""+t+n}},g.prototype.closeTag=function(t){let e="";return-1!==this.options.unpairedTags.indexOf(t)?this.options.suppressUnpairedNode||(e="/"):e=this.options.suppressEmptyNode?"/":`>`+this.newLine;if(!1!==this.options.commentPropName&&e===this.options.commentPropName)return this.indentate(s)+`\x3c!--${t}--\x3e`+this.newLine;if("?"===e[0])return this.indentate(s)+"<"+e+i+"?"+this.tagEndChar;{let n=this.options.tagValueProcessor(e,t);return n=this.replaceEntitiesValue(n),""===n?this.indentate(s)+"<"+e+i+this.closeTag(e)+this.tagEndChar:this.indentate(s)+"<"+e+i+">"+n+"0&&this.options.processEntities)for(let e=0;e {\nreturn ","// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","/**\n * Expression - Parses and stores a tag pattern expression\n * \n * Patterns are parsed once and stored in an optimized structure for fast matching.\n * \n * @example\n * const expr = new Expression(\"root.users.user\");\n * const expr2 = new Expression(\"..user[id]:first\");\n * const expr3 = new Expression(\"root/users/user\", { separator: '/' });\n */\nexport default class Expression {\n /**\n * Create a new Expression\n * @param {string} pattern - Pattern string (e.g., \"root.users.user\", \"..user[id]\")\n * @param {Object} options - Configuration options\n * @param {string} options.separator - Path separator (default: '.')\n */\n constructor(pattern, options = {}) {\n this.pattern = pattern;\n this.separator = options.separator || '.';\n this.segments = this._parse(pattern);\n\n // Cache expensive checks for performance (O(1) instead of O(n))\n this._hasDeepWildcard = this.segments.some(seg => seg.type === 'deep-wildcard');\n this._hasAttributeCondition = this.segments.some(seg => seg.attrName !== undefined);\n this._hasPositionSelector = this.segments.some(seg => seg.position !== undefined);\n }\n\n /**\n * Parse pattern string into segments\n * @private\n * @param {string} pattern - Pattern to parse\n * @returns {Array} Array of segment objects\n */\n _parse(pattern) {\n const segments = [];\n\n // Split by separator but handle \"..\" specially\n let i = 0;\n let currentPart = '';\n\n while (i < pattern.length) {\n if (pattern[i] === this.separator) {\n // Check if next char is also separator (deep wildcard)\n if (i + 1 < pattern.length && pattern[i + 1] === this.separator) {\n // Flush current part if any\n if (currentPart.trim()) {\n segments.push(this._parseSegment(currentPart.trim()));\n currentPart = '';\n }\n // Add deep wildcard\n segments.push({ type: 'deep-wildcard' });\n i += 2; // Skip both separators\n } else {\n // Regular separator\n if (currentPart.trim()) {\n segments.push(this._parseSegment(currentPart.trim()));\n }\n currentPart = '';\n i++;\n }\n } else {\n currentPart += pattern[i];\n i++;\n }\n }\n\n // Flush remaining part\n if (currentPart.trim()) {\n segments.push(this._parseSegment(currentPart.trim()));\n }\n\n return segments;\n }\n\n /**\n * Parse a single segment\n * @private\n * @param {string} part - Segment string (e.g., \"user\", \"ns::user\", \"user[id]\", \"ns::user:first\")\n * @returns {Object} Segment object\n */\n _parseSegment(part) {\n const segment = { type: 'tag' };\n\n // NEW NAMESPACE SYNTAX (v2.0):\n // ============================\n // Namespace uses DOUBLE colon (::)\n // Position uses SINGLE colon (:)\n // \n // Examples:\n // \"user\" → tag\n // \"user:first\" → tag + position\n // \"user[id]\" → tag + attribute\n // \"user[id]:first\" → tag + attribute + position\n // \"ns::user\" → namespace + tag\n // \"ns::user:first\" → namespace + tag + position\n // \"ns::user[id]\" → namespace + tag + attribute\n // \"ns::user[id]:first\" → namespace + tag + attribute + position\n // \"ns::first\" → namespace + tag named \"first\" (NO ambiguity!)\n //\n // This eliminates all ambiguity:\n // :: = namespace separator\n // : = position selector\n // [] = attributes\n\n // Step 1: Extract brackets [attr] or [attr=value]\n let bracketContent = null;\n let withoutBrackets = part;\n\n const bracketMatch = part.match(/^([^\\[]+)(\\[[^\\]]*\\])(.*)$/);\n if (bracketMatch) {\n withoutBrackets = bracketMatch[1] + bracketMatch[3];\n if (bracketMatch[2]) {\n const content = bracketMatch[2].slice(1, -1);\n if (content) {\n bracketContent = content;\n }\n }\n }\n\n // Step 2: Check for namespace (double colon ::)\n let namespace = undefined;\n let tagAndPosition = withoutBrackets;\n\n if (withoutBrackets.includes('::')) {\n const nsIndex = withoutBrackets.indexOf('::');\n namespace = withoutBrackets.substring(0, nsIndex).trim();\n tagAndPosition = withoutBrackets.substring(nsIndex + 2).trim(); // Skip ::\n\n if (!namespace) {\n throw new Error(`Invalid namespace in pattern: ${part}`);\n }\n }\n\n // Step 3: Parse tag and position (single colon :)\n let tag = undefined;\n let positionMatch = null;\n\n if (tagAndPosition.includes(':')) {\n const colonIndex = tagAndPosition.lastIndexOf(':'); // Use last colon for position\n const tagPart = tagAndPosition.substring(0, colonIndex).trim();\n const posPart = tagAndPosition.substring(colonIndex + 1).trim();\n\n // Verify position is a valid keyword\n const isPositionKeyword = ['first', 'last', 'odd', 'even'].includes(posPart) ||\n /^nth\\(\\d+\\)$/.test(posPart);\n\n if (isPositionKeyword) {\n tag = tagPart;\n positionMatch = posPart;\n } else {\n // Not a valid position keyword, treat whole thing as tag\n tag = tagAndPosition;\n }\n } else {\n tag = tagAndPosition;\n }\n\n if (!tag) {\n throw new Error(`Invalid segment pattern: ${part}`);\n }\n\n segment.tag = tag;\n if (namespace) {\n segment.namespace = namespace;\n }\n\n // Step 4: Parse attributes\n if (bracketContent) {\n if (bracketContent.includes('=')) {\n const eqIndex = bracketContent.indexOf('=');\n segment.attrName = bracketContent.substring(0, eqIndex).trim();\n segment.attrValue = bracketContent.substring(eqIndex + 1).trim();\n } else {\n segment.attrName = bracketContent.trim();\n }\n }\n\n // Step 5: Parse position selector\n if (positionMatch) {\n const nthMatch = positionMatch.match(/^nth\\((\\d+)\\)$/);\n if (nthMatch) {\n segment.position = 'nth';\n segment.positionValue = parseInt(nthMatch[1], 10);\n } else {\n segment.position = positionMatch;\n }\n }\n\n return segment;\n }\n\n /**\n * Get the number of segments\n * @returns {number}\n */\n get length() {\n return this.segments.length;\n }\n\n /**\n * Check if expression contains deep wildcard\n * @returns {boolean}\n */\n hasDeepWildcard() {\n return this._hasDeepWildcard;\n }\n\n /**\n * Check if expression has attribute conditions\n * @returns {boolean}\n */\n hasAttributeCondition() {\n return this._hasAttributeCondition;\n }\n\n /**\n * Check if expression has position selectors\n * @returns {boolean}\n */\n hasPositionSelector() {\n return this._hasPositionSelector;\n }\n\n /**\n * Get string representation\n * @returns {string}\n */\n toString() {\n return this.pattern;\n }\n}","/**\n * Matcher - Tracks current path in XML/JSON tree and matches against Expressions\n * \n * The matcher maintains a stack of nodes representing the current path from root to\n * current tag. It only stores attribute values for the current (top) node to minimize\n * memory usage. Sibling tracking is used to auto-calculate position and counter.\n * \n * @example\n * const matcher = new Matcher();\n * matcher.push(\"root\", {});\n * matcher.push(\"users\", {});\n * matcher.push(\"user\", { id: \"123\", type: \"admin\" });\n * \n * const expr = new Expression(\"root.users.user\");\n * matcher.matches(expr); // true\n */\n\n/**\n * Names of methods that mutate Matcher state.\n * Any attempt to call these on a read-only view throws a TypeError.\n * @type {Set}\n */\nconst MUTATING_METHODS = new Set(['push', 'pop', 'reset', 'updateCurrent', 'restore']);\n\nexport default class Matcher {\n /**\n * Create a new Matcher\n * @param {Object} options - Configuration options\n * @param {string} options.separator - Default path separator (default: '.')\n */\n constructor(options = {}) {\n this.separator = options.separator || '.';\n this.path = [];\n this.siblingStacks = [];\n // Each path node: { tag: string, values: object, position: number, counter: number }\n // values only present for current (last) node\n // Each siblingStacks entry: Map tracking occurrences at each level\n }\n\n /**\n * Push a new tag onto the path\n * @param {string} tagName - Name of the tag\n * @param {Object} attrValues - Attribute key-value pairs for current node (optional)\n * @param {string} namespace - Namespace for the tag (optional)\n */\n push(tagName, attrValues = null, namespace = null) {\n // Remove values from previous current node (now becoming ancestor)\n if (this.path.length > 0) {\n const prev = this.path[this.path.length - 1];\n prev.values = undefined;\n }\n\n // Get or create sibling tracking for current level\n const currentLevel = this.path.length;\n if (!this.siblingStacks[currentLevel]) {\n this.siblingStacks[currentLevel] = new Map();\n }\n\n const siblings = this.siblingStacks[currentLevel];\n\n // Create a unique key for sibling tracking that includes namespace\n const siblingKey = namespace ? `${namespace}:${tagName}` : tagName;\n\n // Calculate counter (how many times this tag appeared at this level)\n const counter = siblings.get(siblingKey) || 0;\n\n // Calculate position (total children at this level so far)\n let position = 0;\n for (const count of siblings.values()) {\n position += count;\n }\n\n // Update sibling count for this tag\n siblings.set(siblingKey, counter + 1);\n\n // Create new node\n const node = {\n tag: tagName,\n position: position,\n counter: counter\n };\n\n // Store namespace if provided\n if (namespace !== null && namespace !== undefined) {\n node.namespace = namespace;\n }\n\n // Store values only for current node\n if (attrValues !== null && attrValues !== undefined) {\n node.values = attrValues;\n }\n\n this.path.push(node);\n }\n\n /**\n * Pop the last tag from the path\n * @returns {Object|undefined} The popped node\n */\n pop() {\n if (this.path.length === 0) {\n return undefined;\n }\n\n const node = this.path.pop();\n\n // Clean up sibling tracking for levels deeper than current\n // After pop, path.length is the new depth\n // We need to clean up siblingStacks[path.length + 1] and beyond\n if (this.siblingStacks.length > this.path.length + 1) {\n this.siblingStacks.length = this.path.length + 1;\n }\n\n return node;\n }\n\n /**\n * Update current node's attribute values\n * Useful when attributes are parsed after push\n * @param {Object} attrValues - Attribute values\n */\n updateCurrent(attrValues) {\n if (this.path.length > 0) {\n const current = this.path[this.path.length - 1];\n if (attrValues !== null && attrValues !== undefined) {\n current.values = attrValues;\n }\n }\n }\n\n /**\n * Get current tag name\n * @returns {string|undefined}\n */\n getCurrentTag() {\n return this.path.length > 0 ? this.path[this.path.length - 1].tag : undefined;\n }\n\n /**\n * Get current namespace\n * @returns {string|undefined}\n */\n getCurrentNamespace() {\n return this.path.length > 0 ? this.path[this.path.length - 1].namespace : undefined;\n }\n\n /**\n * Get current node's attribute value\n * @param {string} attrName - Attribute name\n * @returns {*} Attribute value or undefined\n */\n getAttrValue(attrName) {\n if (this.path.length === 0) return undefined;\n const current = this.path[this.path.length - 1];\n return current.values?.[attrName];\n }\n\n /**\n * Check if current node has an attribute\n * @param {string} attrName - Attribute name\n * @returns {boolean}\n */\n hasAttr(attrName) {\n if (this.path.length === 0) return false;\n const current = this.path[this.path.length - 1];\n return current.values !== undefined && attrName in current.values;\n }\n\n /**\n * Get current node's sibling position (child index in parent)\n * @returns {number}\n */\n getPosition() {\n if (this.path.length === 0) return -1;\n return this.path[this.path.length - 1].position ?? 0;\n }\n\n /**\n * Get current node's repeat counter (occurrence count of this tag name)\n * @returns {number}\n */\n getCounter() {\n if (this.path.length === 0) return -1;\n return this.path[this.path.length - 1].counter ?? 0;\n }\n\n /**\n * Get current node's sibling index (alias for getPosition for backward compatibility)\n * @returns {number}\n * @deprecated Use getPosition() or getCounter() instead\n */\n getIndex() {\n return this.getPosition();\n }\n\n /**\n * Get current path depth\n * @returns {number}\n */\n getDepth() {\n return this.path.length;\n }\n\n /**\n * Get path as string\n * @param {string} separator - Optional separator (uses default if not provided)\n * @param {boolean} includeNamespace - Whether to include namespace in output (default: true)\n * @returns {string}\n */\n toString(separator, includeNamespace = true) {\n const sep = separator || this.separator;\n return this.path.map(n => {\n if (includeNamespace && n.namespace) {\n return `${n.namespace}:${n.tag}`;\n }\n return n.tag;\n }).join(sep);\n }\n\n /**\n * Get path as array of tag names\n * @returns {string[]}\n */\n toArray() {\n return this.path.map(n => n.tag);\n }\n\n /**\n * Reset the path to empty\n */\n reset() {\n this.path = [];\n this.siblingStacks = [];\n }\n\n /**\n * Match current path against an Expression\n * @param {Expression} expression - The expression to match against\n * @returns {boolean} True if current path matches the expression\n */\n matches(expression) {\n const segments = expression.segments;\n\n if (segments.length === 0) {\n return false;\n }\n\n // Handle deep wildcard patterns\n if (expression.hasDeepWildcard()) {\n return this._matchWithDeepWildcard(segments);\n }\n\n // Simple path matching (no deep wildcards)\n return this._matchSimple(segments);\n }\n\n /**\n * Match simple path (no deep wildcards)\n * @private\n */\n _matchSimple(segments) {\n // Path must be same length as segments\n if (this.path.length !== segments.length) {\n return false;\n }\n\n // Match each segment bottom-to-top\n for (let i = 0; i < segments.length; i++) {\n const segment = segments[i];\n const node = this.path[i];\n const isCurrentNode = (i === this.path.length - 1);\n\n if (!this._matchSegment(segment, node, isCurrentNode)) {\n return false;\n }\n }\n\n return true;\n }\n\n /**\n * Match path with deep wildcards\n * @private\n */\n _matchWithDeepWildcard(segments) {\n let pathIdx = this.path.length - 1; // Start from current node (bottom)\n let segIdx = segments.length - 1; // Start from last segment\n\n while (segIdx >= 0 && pathIdx >= 0) {\n const segment = segments[segIdx];\n\n if (segment.type === 'deep-wildcard') {\n // \"..\" matches zero or more levels\n segIdx--;\n\n if (segIdx < 0) {\n // Pattern ends with \"..\", always matches\n return true;\n }\n\n // Find where next segment matches in the path\n const nextSeg = segments[segIdx];\n let found = false;\n\n for (let i = pathIdx; i >= 0; i--) {\n const isCurrentNode = (i === this.path.length - 1);\n if (this._matchSegment(nextSeg, this.path[i], isCurrentNode)) {\n pathIdx = i - 1;\n segIdx--;\n found = true;\n break;\n }\n }\n\n if (!found) {\n return false;\n }\n } else {\n // Regular segment\n const isCurrentNode = (pathIdx === this.path.length - 1);\n if (!this._matchSegment(segment, this.path[pathIdx], isCurrentNode)) {\n return false;\n }\n pathIdx--;\n segIdx--;\n }\n }\n\n // All segments must be consumed\n return segIdx < 0;\n }\n\n /**\n * Match a single segment against a node\n * @private\n * @param {Object} segment - Segment from Expression\n * @param {Object} node - Node from path\n * @param {boolean} isCurrentNode - Whether this is the current (last) node\n * @returns {boolean}\n */\n _matchSegment(segment, node, isCurrentNode) {\n // Match tag name (* is wildcard)\n if (segment.tag !== '*' && segment.tag !== node.tag) {\n return false;\n }\n\n // Match namespace if specified in segment\n if (segment.namespace !== undefined) {\n // Segment has namespace - node must match it\n if (segment.namespace !== '*' && segment.namespace !== node.namespace) {\n return false;\n }\n }\n // If segment has no namespace, it matches nodes with or without namespace\n\n // Match attribute name (check if node has this attribute)\n // Can only check for current node since ancestors don't have values\n if (segment.attrName !== undefined) {\n if (!isCurrentNode) {\n // Can't check attributes for ancestor nodes (values not stored)\n return false;\n }\n\n if (!node.values || !(segment.attrName in node.values)) {\n return false;\n }\n\n // Match attribute value (only possible for current node)\n if (segment.attrValue !== undefined) {\n const actualValue = node.values[segment.attrName];\n // Both should be strings\n if (String(actualValue) !== String(segment.attrValue)) {\n return false;\n }\n }\n }\n\n // Match position (only for current node)\n if (segment.position !== undefined) {\n if (!isCurrentNode) {\n // Can't check position for ancestor nodes\n return false;\n }\n\n const counter = node.counter ?? 0;\n\n if (segment.position === 'first' && counter !== 0) {\n return false;\n } else if (segment.position === 'odd' && counter % 2 !== 1) {\n return false;\n } else if (segment.position === 'even' && counter % 2 !== 0) {\n return false;\n } else if (segment.position === 'nth') {\n if (counter !== segment.positionValue) {\n return false;\n }\n }\n }\n\n return true;\n }\n\n /**\n * Create a snapshot of current state\n * @returns {Object} State snapshot\n */\n snapshot() {\n return {\n path: this.path.map(node => ({ ...node })),\n siblingStacks: this.siblingStacks.map(map => new Map(map))\n };\n }\n\n /**\n * Restore state from snapshot\n * @param {Object} snapshot - State snapshot\n */\n restore(snapshot) {\n this.path = snapshot.path.map(node => ({ ...node }));\n this.siblingStacks = snapshot.siblingStacks.map(map => new Map(map));\n }\n\n /**\n * Return a read-only view of this matcher.\n *\n * The returned object exposes all query/inspection methods but throws a\n * TypeError if any state-mutating method is called (`push`, `pop`, `reset`,\n * `updateCurrent`, `restore`). Property reads (e.g. `.path`, `.separator`)\n * are allowed but the returned arrays/objects are frozen so callers cannot\n * mutate internal state through them either.\n *\n * @returns {ReadOnlyMatcher} A proxy that forwards read operations and blocks writes.\n *\n * @example\n * const matcher = new Matcher();\n * matcher.push(\"root\", {});\n *\n * const ro = matcher.readOnly();\n * ro.matches(expr); // ✓ works\n * ro.getCurrentTag(); // ✓ works\n * ro.push(\"child\", {}); // ✗ throws TypeError\n * ro.reset(); // ✗ throws TypeError\n */\n readOnly() {\n const self = this;\n\n return new Proxy(self, {\n get(target, prop, receiver) {\n // Block mutating methods\n if (MUTATING_METHODS.has(prop)) {\n return () => {\n throw new TypeError(\n `Cannot call '${prop}' on a read-only Matcher. ` +\n `Obtain a writable instance to mutate state.`\n );\n };\n }\n\n const value = Reflect.get(target, prop, receiver);\n\n // Freeze array/object properties so callers can't mutate internal\n // state through direct property access (e.g. matcher.path.push(...))\n if (prop === 'path' || prop === 'siblingStacks') {\n return Object.freeze(\n Array.isArray(value)\n ? value.map(item =>\n item instanceof Map\n ? Object.freeze(new Map(item)) // freeze a copy of each Map\n : Object.freeze({ ...item }) // freeze a copy of each node\n )\n : value\n );\n }\n\n // Bind methods so `this` inside them still refers to the real Matcher\n if (typeof value === 'function') {\n return value.bind(target);\n }\n\n return value;\n },\n\n // Prevent any property assignment on the read-only view\n set(_target, prop) {\n throw new TypeError(\n `Cannot set property '${String(prop)}' on a read-only Matcher.`\n );\n },\n\n // Prevent property deletion\n deleteProperty(_target, prop) {\n throw new TypeError(\n `Cannot delete property '${String(prop)}' from a read-only Matcher.`\n );\n }\n });\n }\n}","import { Expression, Matcher } from 'path-expression-matcher';\n\nconst EOL = \"\\n\";\n\n/**\n * \n * @param {array} jArray \n * @param {any} options \n * @returns \n */\nexport default function toXml(jArray, options) {\n let indentation = \"\";\n if (options.format && options.indentBy.length > 0) {\n indentation = EOL;\n }\n\n // Pre-compile stopNode expressions for pattern matching\n const stopNodeExpressions = [];\n if (options.stopNodes && Array.isArray(options.stopNodes)) {\n for (let i = 0; i < options.stopNodes.length; i++) {\n const node = options.stopNodes[i];\n if (typeof node === 'string') {\n stopNodeExpressions.push(new Expression(node));\n } else if (node instanceof Expression) {\n stopNodeExpressions.push(node);\n }\n }\n }\n\n // Initialize matcher for path tracking\n const matcher = new Matcher();\n\n return arrToStr(jArray, options, indentation, matcher, stopNodeExpressions);\n}\n\nfunction arrToStr(arr, options, indentation, matcher, stopNodeExpressions) {\n let xmlStr = \"\";\n let isPreviousElementTag = false;\n\n if (options.maxNestedTags && matcher.getDepth() > options.maxNestedTags) {\n throw new Error(\"Maximum nested tags exceeded\");\n }\n\n if (!Array.isArray(arr)) {\n // Non-array values (e.g. string tag values) should be treated as text content\n if (arr !== undefined && arr !== null) {\n let text = arr.toString();\n text = replaceEntitiesValue(text, options);\n return text;\n }\n return \"\";\n }\n\n for (let i = 0; i < arr.length; i++) {\n const tagObj = arr[i];\n const tagName = propName(tagObj);\n if (tagName === undefined) continue;\n\n // Extract attributes from \":@\" property\n const attrValues = extractAttributeValues(tagObj[\":@\"], options);\n\n // Push tag to matcher WITH attributes\n matcher.push(tagName, attrValues);\n\n // Check if this is a stop node using Expression matching\n const isStopNode = checkStopNode(matcher, stopNodeExpressions);\n\n if (tagName === options.textNodeName) {\n let tagText = tagObj[tagName];\n if (!isStopNode) {\n tagText = options.tagValueProcessor(tagName, tagText);\n tagText = replaceEntitiesValue(tagText, options);\n }\n if (isPreviousElementTag) {\n xmlStr += indentation;\n }\n xmlStr += tagText;\n isPreviousElementTag = false;\n matcher.pop();\n continue;\n } else if (tagName === options.cdataPropName) {\n if (isPreviousElementTag) {\n xmlStr += indentation;\n }\n xmlStr += ``;\n isPreviousElementTag = false;\n matcher.pop();\n continue;\n } else if (tagName === options.commentPropName) {\n xmlStr += indentation + ``;\n isPreviousElementTag = true;\n matcher.pop();\n continue;\n } else if (tagName[0] === \"?\") {\n const attStr = attr_to_str(tagObj[\":@\"], options, isStopNode);\n const tempInd = tagName === \"?xml\" ? \"\" : indentation;\n let piTextNodeName = tagObj[tagName][0][options.textNodeName];\n piTextNodeName = piTextNodeName.length !== 0 ? \" \" + piTextNodeName : \"\"; //remove extra spacing\n xmlStr += tempInd + `<${tagName}${piTextNodeName}${attStr}?>`;\n isPreviousElementTag = true;\n matcher.pop();\n continue;\n }\n\n let newIdentation = indentation;\n if (newIdentation !== \"\") {\n newIdentation += options.indentBy;\n }\n\n // Pass isStopNode to attr_to_str so attributes are also not processed for stopNodes\n const attStr = attr_to_str(tagObj[\":@\"], options, isStopNode);\n const tagStart = indentation + `<${tagName}${attStr}`;\n\n // If this is a stopNode, get raw content without processing\n let tagValue;\n if (isStopNode) {\n tagValue = getRawContent(tagObj[tagName], options);\n } else {\n\n tagValue = arrToStr(tagObj[tagName], options, newIdentation, matcher, stopNodeExpressions);\n }\n\n if (options.unpairedTags.indexOf(tagName) !== -1) {\n if (options.suppressUnpairedNode) xmlStr += tagStart + \">\";\n else xmlStr += tagStart + \"/>\";\n } else if ((!tagValue || tagValue.length === 0) && options.suppressEmptyNode) {\n xmlStr += tagStart + \"/>\";\n } else if (tagValue && tagValue.endsWith(\">\")) {\n xmlStr += tagStart + `>${tagValue}${indentation}`;\n } else {\n xmlStr += tagStart + \">\";\n if (tagValue && indentation !== \"\" && (tagValue.includes(\"/>\") || tagValue.includes(\"`;\n }\n isPreviousElementTag = true;\n\n // Pop tag from matcher\n matcher.pop();\n }\n\n return xmlStr;\n}\n\n/**\n * Extract attribute values from the \":@\" object and return as plain object\n * for passing to matcher.push()\n */\nfunction extractAttributeValues(attrMap, options) {\n if (!attrMap || options.ignoreAttributes) return null;\n\n const attrValues = {};\n let hasAttrs = false;\n\n for (let attr in attrMap) {\n if (!Object.prototype.hasOwnProperty.call(attrMap, attr)) continue;\n // Remove the attribute prefix to get clean attribute name\n const cleanAttrName = attr.startsWith(options.attributeNamePrefix)\n ? attr.substr(options.attributeNamePrefix.length)\n : attr;\n attrValues[cleanAttrName] = attrMap[attr];\n hasAttrs = true;\n }\n\n return hasAttrs ? attrValues : null;\n}\n\n/**\n * Extract raw content from a stopNode without any processing\n * This preserves the content exactly as-is, including special characters\n */\nfunction getRawContent(arr, options) {\n if (!Array.isArray(arr)) {\n // Non-array values return as-is\n if (arr !== undefined && arr !== null) {\n return arr.toString();\n }\n return \"\";\n }\n\n let content = \"\";\n for (let i = 0; i < arr.length; i++) {\n const item = arr[i];\n const tagName = propName(item);\n\n if (tagName === options.textNodeName) {\n // Raw text content - NO processing, NO entity replacement\n content += item[tagName];\n } else if (tagName === options.cdataPropName) {\n // CDATA content\n content += item[tagName][0][options.textNodeName];\n } else if (tagName === options.commentPropName) {\n // Comment content\n content += item[tagName][0][options.textNodeName];\n } else if (tagName && tagName[0] === \"?\") {\n // Processing instruction - skip for stopNodes\n continue;\n } else if (tagName) {\n // Nested tags within stopNode\n // Recursively get raw content and reconstruct the tag\n // For stopNodes, we don't process attributes either\n const attStr = attr_to_str_raw(item[\":@\"], options);\n const nestedContent = getRawContent(item[tagName], options);\n\n if (!nestedContent || nestedContent.length === 0) {\n content += `<${tagName}${attStr}/>`;\n } else {\n content += `<${tagName}${attStr}>${nestedContent}`;\n }\n }\n }\n return content;\n}\n\n/**\n * Build attribute string for stopNodes - NO entity replacement\n */\nfunction attr_to_str_raw(attrMap, options) {\n let attrStr = \"\";\n if (attrMap && !options.ignoreAttributes) {\n for (let attr in attrMap) {\n if (!Object.prototype.hasOwnProperty.call(attrMap, attr)) continue;\n // For stopNodes, use raw value without processing\n let attrVal = attrMap[attr];\n if (attrVal === true && options.suppressBooleanAttributes) {\n attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}`;\n } else {\n attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}=\"${attrVal}\"`;\n }\n }\n }\n return attrStr;\n}\n\nfunction propName(obj) {\n const keys = Object.keys(obj);\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;\n if (key !== \":@\") return key;\n }\n}\n\nfunction attr_to_str(attrMap, options, isStopNode) {\n let attrStr = \"\";\n if (attrMap && !options.ignoreAttributes) {\n for (let attr in attrMap) {\n if (!Object.prototype.hasOwnProperty.call(attrMap, attr)) continue;\n let attrVal;\n\n if (isStopNode) {\n // For stopNodes, use raw value without any processing\n attrVal = attrMap[attr];\n } else {\n // Normal processing: apply attributeValueProcessor and entity replacement\n attrVal = options.attributeValueProcessor(attr, attrMap[attr]);\n attrVal = replaceEntitiesValue(attrVal, options);\n }\n\n if (attrVal === true && options.suppressBooleanAttributes) {\n attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}`;\n } else {\n attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}=\"${attrVal}\"`;\n }\n }\n }\n return attrStr;\n}\n\nfunction checkStopNode(matcher, stopNodeExpressions) {\n if (!stopNodeExpressions || stopNodeExpressions.length === 0) return false;\n\n for (let i = 0; i < stopNodeExpressions.length; i++) {\n if (matcher.matches(stopNodeExpressions[i])) {\n return true;\n }\n }\n return false;\n}\n\nfunction replaceEntitiesValue(textValue, options) {\n if (textValue && textValue.length > 0 && options.processEntities) {\n for (let i = 0; i < options.entities.length; i++) {\n const entity = options.entities[i];\n textValue = textValue.replace(entity.regex, entity.val);\n }\n }\n return textValue;\n}","'use strict';\n//parse Empty Node as self closing node\nimport buildFromOrderedJs from './orderedJs2Xml.js';\nimport getIgnoreAttributesFn from \"./ignoreAttributes.js\";\nimport { Expression, Matcher } from 'path-expression-matcher';\n\nconst defaultOptions = {\n attributeNamePrefix: '@_',\n attributesGroupName: false,\n textNodeName: '#text',\n ignoreAttributes: true,\n cdataPropName: false,\n format: false,\n indentBy: ' ',\n suppressEmptyNode: false,\n suppressUnpairedNode: true,\n suppressBooleanAttributes: true,\n tagValueProcessor: function (key, a) {\n return a;\n },\n attributeValueProcessor: function (attrName, a) {\n return a;\n },\n preserveOrder: false,\n commentPropName: false,\n unpairedTags: [],\n entities: [\n { regex: new RegExp(\"&\", \"g\"), val: \"&\" },//it must be on top\n { regex: new RegExp(\">\", \"g\"), val: \">\" },\n { regex: new RegExp(\"<\", \"g\"), val: \"<\" },\n { regex: new RegExp(\"\\'\", \"g\"), val: \"'\" },\n { regex: new RegExp(\"\\\"\", \"g\"), val: \""\" }\n ],\n processEntities: true,\n stopNodes: [],\n // transformTagName: false,\n // transformAttributeName: false,\n oneListGroup: false,\n maxNestedTags: 100,\n jPath: true // When true, callbacks receive string jPath; when false, receive Matcher instance\n};\n\nexport default function Builder(options) {\n this.options = Object.assign({}, defaultOptions, options);\n\n // Convert old-style stopNodes for backward compatibility\n // Old syntax: \"*.tag\" meant \"tag anywhere in tree\"\n // New syntax: \"..tag\" means \"tag anywhere in tree\"\n if (this.options.stopNodes && Array.isArray(this.options.stopNodes)) {\n this.options.stopNodes = this.options.stopNodes.map(node => {\n if (typeof node === 'string' && node.startsWith('*.')) {\n // Convert old wildcard syntax to deep wildcard\n return '..' + node.substring(2);\n }\n return node;\n });\n }\n\n // Pre-compile stopNode expressions for pattern matching\n this.stopNodeExpressions = [];\n if (this.options.stopNodes && Array.isArray(this.options.stopNodes)) {\n for (let i = 0; i < this.options.stopNodes.length; i++) {\n const node = this.options.stopNodes[i];\n if (typeof node === 'string') {\n this.stopNodeExpressions.push(new Expression(node));\n } else if (node instanceof Expression) {\n this.stopNodeExpressions.push(node);\n }\n }\n }\n\n if (this.options.ignoreAttributes === true || this.options.attributesGroupName) {\n this.isAttribute = function (/*a*/) {\n return false;\n };\n } else {\n this.ignoreAttributesFn = getIgnoreAttributesFn(this.options.ignoreAttributes)\n this.attrPrefixLen = this.options.attributeNamePrefix.length;\n this.isAttribute = isAttribute;\n }\n\n this.processTextOrObjNode = processTextOrObjNode\n\n if (this.options.format) {\n this.indentate = indentate;\n this.tagEndChar = '>\\n';\n this.newLine = '\\n';\n } else {\n this.indentate = function () {\n return '';\n };\n this.tagEndChar = '>';\n this.newLine = '';\n }\n}\n\nBuilder.prototype.build = function (jObj) {\n if (this.options.preserveOrder) {\n return buildFromOrderedJs(jObj, this.options);\n } else {\n if (Array.isArray(jObj) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1) {\n jObj = {\n [this.options.arrayNodeName]: jObj\n }\n }\n // Initialize matcher for path tracking\n const matcher = new Matcher();\n return this.j2x(jObj, 0, matcher).val;\n }\n};\n\nBuilder.prototype.j2x = function (jObj, level, matcher) {\n let attrStr = '';\n let val = '';\n if (this.options.maxNestedTags && matcher.getDepth() >= this.options.maxNestedTags) {\n throw new Error(\"Maximum nested tags exceeded\");\n }\n // Get jPath based on option: string for backward compatibility, or Matcher for new features\n const jPath = this.options.jPath ? matcher.toString() : matcher;\n\n // Check if current node is a stopNode (will be used for attribute encoding)\n const isCurrentStopNode = this.checkStopNode(matcher);\n\n for (let key in jObj) {\n if (!Object.prototype.hasOwnProperty.call(jObj, key)) continue;\n if (typeof jObj[key] === 'undefined') {\n // supress undefined node only if it is not an attribute\n if (this.isAttribute(key)) {\n val += '';\n }\n } else if (jObj[key] === null) {\n // null attribute should be ignored by the attribute list, but should not cause the tag closing\n if (this.isAttribute(key)) {\n val += '';\n } else if (key === this.options.cdataPropName) {\n val += '';\n } else if (key[0] === '?') {\n val += this.indentate(level) + '<' + key + '?' + this.tagEndChar;\n } else {\n val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;\n }\n // val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;\n } else if (jObj[key] instanceof Date) {\n val += this.buildTextValNode(jObj[key], key, '', level, matcher);\n } else if (typeof jObj[key] !== 'object') {\n //premitive type\n const attr = this.isAttribute(key);\n if (attr && !this.ignoreAttributesFn(attr, jPath)) {\n attrStr += this.buildAttrPairStr(attr, '' + jObj[key], isCurrentStopNode);\n } else if (!attr) {\n //tag value\n if (key === this.options.textNodeName) {\n let newval = this.options.tagValueProcessor(key, '' + jObj[key]);\n val += this.replaceEntitiesValue(newval);\n } else {\n // Check if this is a stopNode before building\n matcher.push(key);\n const isStopNode = this.checkStopNode(matcher);\n matcher.pop();\n\n if (isStopNode) {\n // Build as raw content without encoding\n const textValue = '' + jObj[key];\n if (textValue === '') {\n val += this.indentate(level) + '<' + key + this.closeTag(key) + this.tagEndChar;\n } else {\n val += this.indentate(level) + '<' + key + '>' + textValue + '' + textValue + '${item}`;\n } else if (typeof item === 'object' && item !== null) {\n const nestedContent = this.buildRawContent(item);\n const nestedAttrs = this.buildAttributesForStopNode(item);\n if (nestedContent === '') {\n content += `<${key}${nestedAttrs}/>`;\n } else {\n content += `<${key}${nestedAttrs}>${nestedContent}`;\n }\n }\n }\n } else if (typeof value === 'object' && value !== null) {\n // Nested object\n const nestedContent = this.buildRawContent(value);\n const nestedAttrs = this.buildAttributesForStopNode(value);\n if (nestedContent === '') {\n content += `<${key}${nestedAttrs}/>`;\n } else {\n content += `<${key}${nestedAttrs}>${nestedContent}`;\n }\n } else {\n // Primitive value\n content += `<${key}>${value}`;\n }\n }\n\n return content;\n};\n\n// Build attribute string for stopNode (no entity encoding)\nBuilder.prototype.buildAttributesForStopNode = function (obj) {\n if (!obj || typeof obj !== 'object') return '';\n\n let attrStr = '';\n\n // Check for attributesGroupName (when attributes are grouped)\n if (this.options.attributesGroupName && obj[this.options.attributesGroupName]) {\n const attrGroup = obj[this.options.attributesGroupName];\n for (let attrKey in attrGroup) {\n if (!Object.prototype.hasOwnProperty.call(attrGroup, attrKey)) continue;\n const cleanKey = attrKey.startsWith(this.options.attributeNamePrefix)\n ? attrKey.substring(this.options.attributeNamePrefix.length)\n : attrKey;\n const val = attrGroup[attrKey];\n if (val === true && this.options.suppressBooleanAttributes) {\n attrStr += ' ' + cleanKey;\n } else {\n attrStr += ' ' + cleanKey + '=\"' + val + '\"'; // No encoding for stopNode\n }\n }\n } else {\n // Look for individual attributes\n for (let key in obj) {\n if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;\n const attr = this.isAttribute(key);\n if (attr) {\n const val = obj[key];\n if (val === true && this.options.suppressBooleanAttributes) {\n attrStr += ' ' + attr;\n } else {\n attrStr += ' ' + attr + '=\"' + val + '\"'; // No encoding for stopNode\n }\n }\n }\n }\n\n return attrStr;\n};\n\nBuilder.prototype.buildObjectNode = function (val, key, attrStr, level) {\n if (val === \"\") {\n if (key[0] === \"?\") return this.indentate(level) + '<' + key + attrStr + '?' + this.tagEndChar;\n else {\n return this.indentate(level) + '<' + key + attrStr + this.closeTag(key) + this.tagEndChar;\n }\n } else {\n\n let tagEndExp = '' + val + tagEndExp);\n } else if (this.options.commentPropName !== false && key === this.options.commentPropName && piClosingChar.length === 0) {\n return this.indentate(level) + `` + this.newLine;\n } else {\n return (\n this.indentate(level) + '<' + key + attrStr + piClosingChar + this.tagEndChar +\n val +\n this.indentate(level) + tagEndExp);\n }\n }\n}\n\nBuilder.prototype.closeTag = function (key) {\n let closeTag = \"\";\n if (this.options.unpairedTags.indexOf(key) !== -1) { //unpaired\n if (!this.options.suppressUnpairedNode) closeTag = \"/\"\n } else if (this.options.suppressEmptyNode) { //empty\n closeTag = \"/\";\n } else {\n closeTag = `>` + this.newLine;\n } else if (this.options.commentPropName !== false && key === this.options.commentPropName) {\n return this.indentate(level) + `` + this.newLine;\n } else if (key[0] === \"?\") {//PI tag\n return this.indentate(level) + '<' + key + attrStr + '?' + this.tagEndChar;\n } else {\n // Normal processing: apply tagValueProcessor and entity replacement\n let textValue = this.options.tagValueProcessor(key, val);\n textValue = this.replaceEntitiesValue(textValue);\n\n if (textValue === '') {\n return this.indentate(level) + '<' + key + attrStr + this.closeTag(key) + this.tagEndChar;\n } else {\n return this.indentate(level) + '<' + key + attrStr + '>' +\n textValue +\n ' 0 && this.options.processEntities) {\n for (let i = 0; i < this.options.entities.length; i++) {\n const entity = this.options.entities[i];\n textValue = textValue.replace(entity.regex, entity.val);\n }\n }\n return textValue;\n}\n\nfunction indentate(level) {\n return this.options.indentBy.repeat(level);\n}\n\nfunction isAttribute(name /*, options*/) {\n if (name.startsWith(this.options.attributeNamePrefix) && name !== this.options.textNodeName) {\n return name.substr(this.attrPrefixLen);\n } else {\n return false;\n }\n}","export default function getIgnoreAttributesFn(ignoreAttributes) {\n if (typeof ignoreAttributes === 'function') {\n return ignoreAttributes\n }\n if (Array.isArray(ignoreAttributes)) {\n return (attrName) => {\n for (const pattern of ignoreAttributes) {\n if (typeof pattern === 'string' && attrName === pattern) {\n return true\n }\n if (pattern instanceof RegExp && pattern.test(attrName)) {\n return true\n }\n }\n }\n }\n return () => false\n}","// Re-export from fast-xml-builder for backward compatibility\nimport XMLBuilder from 'fast-xml-builder';\nexport default XMLBuilder;\n\n// If there are any named exports you also want to re-export:\nexport * from 'fast-xml-builder';"],"names":["root","factory","exports","module","define","amd","this","__webpack_require__","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","value","Expression","constructor","pattern","options","separator","segments","_parse","_hasDeepWildcard","some","seg","type","_hasAttributeCondition","undefined","attrName","_hasPositionSelector","position","i","currentPart","length","trim","push","_parseSegment","part","segment","bracketContent","withoutBrackets","bracketMatch","match","content","slice","namespace","tag","tagAndPosition","includes","nsIndex","indexOf","substring","Error","positionMatch","colonIndex","lastIndexOf","tagPart","posPart","test","eqIndex","attrValue","nthMatch","positionValue","parseInt","hasDeepWildcard","hasAttributeCondition","hasPositionSelector","toString","MUTATING_METHODS","Set","Matcher","path","siblingStacks","tagName","attrValues","values","currentLevel","Map","siblings","siblingKey","counter","count","set","node","pop","updateCurrent","current","getCurrentTag","getCurrentNamespace","getAttrValue","hasAttr","getPosition","getCounter","getIndex","getDepth","includeNamespace","sep","map","n","join","toArray","reset","matches","expression","_matchWithDeepWildcard","_matchSimple","isCurrentNode","_matchSegment","pathIdx","segIdx","nextSeg","found","actualValue","String","snapshot","restore","readOnly","Proxy","target","receiver","has","TypeError","Reflect","freeze","Array","isArray","item","bind","_target","deleteProperty","toXml","jArray","indentation","format","indentBy","stopNodeExpressions","stopNodes","arrToStr","arr","matcher","xmlStr","isPreviousElementTag","maxNestedTags","text","replaceEntitiesValue","tagObj","propName","extractAttributeValues","isStopNode","checkStopNode","textNodeName","tagText","tagValueProcessor","cdataPropName","commentPropName","attStr","attr_to_str","tempInd","piTextNodeName","newIdentation","tagStart","tagValue","getRawContent","unpairedTags","suppressUnpairedNode","suppressEmptyNode","endsWith","attrMap","ignoreAttributes","hasAttrs","attr","startsWith","attributeNamePrefix","substr","attr_to_str_raw","nestedContent","attrStr","attrVal","suppressBooleanAttributes","keys","attributeValueProcessor","textValue","processEntities","entities","entity","replace","regex","val","defaultOptions","attributesGroupName","a","preserveOrder","RegExp","oneListGroup","jPath","Builder","assign","isAttribute","ignoreAttributesFn","attrPrefixLen","processTextOrObjNode","indentate","tagEndChar","newLine","object","level","extractAttributes","rawContent","buildRawContent","buildAttributesForStopNode","buildObjectNode","result","j2x","buildTextValNode","repeat","name","build","jObj","buildFromOrderedJs","arrayNodeName","isCurrentStopNode","Date","buildAttrPairStr","newval","closeTag","arrLen","listTagVal","listTagAttr","j","Ks","L","attrGroup","attrKey","nestedAttrs","cleanKey","tagEndExp","piClosingChar"],"sourceRoot":""} \ No newline at end of file diff --git a/node_modules/fast-xml-parser/lib/fxp.cjs b/node_modules/fast-xml-parser/lib/fxp.cjs new file mode 100644 index 0000000..4074035 --- /dev/null +++ b/node_modules/fast-xml-parser/lib/fxp.cjs @@ -0,0 +1 @@ +(()=>{"use strict";var t={d:(e,i)=>{for(var n in i)t.o(i,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:i[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{XMLBuilder:()=>$t,XMLParser:()=>gt,XMLValidator:()=>It});const i=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",n=new RegExp("^["+i+"]["+i+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function s(t,e){const i=[];let n=e.exec(t);for(;n;){const s=[];s.startIndex=e.lastIndex-n[0].length;const r=n.length;for(let t=0;t"!==t[r]&&" "!==t[r]&&"\t"!==t[r]&&"\n"!==t[r]&&"\r"!==t[r];r++)h+=t[r];if(h=h.trim(),"/"===h[h.length-1]&&(h=h.substring(0,h.length-1),r--),!y(h)){let e;return e=0===h.trim().length?"Invalid space after '<'.":"Tag '"+h+"' is an invalid name.",b("InvalidTag",e,w(t,r))}const l=g(t,r);if(!1===l)return b("InvalidAttr","Attributes for '"+h+"' have open quote.",w(t,r));let d=l.value;if(r=l.index,"/"===d[d.length-1]){const i=r-d.length;d=d.substring(0,d.length-1);const s=x(d,e);if(!0!==s)return b(s.err.code,s.err.msg,w(t,i+s.err.line));n=!0}else if(a){if(!l.tagClosed)return b("InvalidTag","Closing tag '"+h+"' doesn't have proper closing.",w(t,r));if(d.trim().length>0)return b("InvalidTag","Closing tag '"+h+"' can't have attributes or invalid starting.",w(t,o));if(0===i.length)return b("InvalidTag","Closing tag '"+h+"' has not been opened.",w(t,o));{const e=i.pop();if(h!==e.tagName){let i=w(t,e.tagStartPos);return b("InvalidTag","Expected closing tag '"+e.tagName+"' (opened in line "+i.line+", col "+i.col+") instead of closing tag '"+h+"'.",w(t,o))}0==i.length&&(s=!0)}}else{const a=x(d,e);if(!0!==a)return b(a.err.code,a.err.msg,w(t,r-d.length+a.err.line));if(!0===s)return b("InvalidXml","Multiple possible root nodes found.",w(t,r));-1!==e.unpairedTags.indexOf(h)||i.push({tagName:h,tagStartPos:o}),n=!0}for(r++;r0)||b("InvalidXml","Invalid '"+JSON.stringify(i.map(t=>t.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):b("InvalidXml","Start tag expected.",1)}function p(t){return" "===t||"\t"===t||"\n"===t||"\r"===t}function u(t,e){const i=e;for(;e5&&"xml"===n)return b("InvalidXml","XML declaration allowed only at the start of the document.",w(t,e));if("?"==t[e]&&">"==t[e+1]){e++;break}continue}return e}function c(t,e){if(t.length>e+5&&"-"===t[e+1]&&"-"===t[e+2]){for(e+=3;e"===t[e+2]){e+=2;break}}else if(t.length>e+8&&"D"===t[e+1]&&"O"===t[e+2]&&"C"===t[e+3]&&"T"===t[e+4]&&"Y"===t[e+5]&&"P"===t[e+6]&&"E"===t[e+7]){let i=1;for(e+=8;e"===t[e]&&(i--,0===i))break}else if(t.length>e+9&&"["===t[e+1]&&"C"===t[e+2]&&"D"===t[e+3]&&"A"===t[e+4]&&"T"===t[e+5]&&"A"===t[e+6]&&"["===t[e+7])for(e+=8;e"===t[e+2]){e+=2;break}return e}const d='"',f="'";function g(t,e){let i="",n="",s=!1;for(;e"===t[e]&&""===n){s=!0;break}i+=t[e]}return""===n&&{value:i,index:e,tagClosed:s}}const m=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function x(t,e){const i=s(t,m),n={};for(let t=0;to.includes(t)?"__"+t:t,P={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,i){return t},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:T};function S(t,e){if("string"!=typeof t)return;const i=t.toLowerCase();if(o.some(t=>i===t.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(a.some(t=>i===t.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}function A(t){return"boolean"==typeof t?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:10,maxTotalExpansions:1e3,maxExpandedLength:1e5,maxEntityCount:100,allowedTags:null,tagFilter:null}:"object"==typeof t&&null!==t?{enabled:!1!==t.enabled,maxEntitySize:Math.max(1,t.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,t.maxExpansionDepth??10),maxTotalExpansions:Math.max(1,t.maxTotalExpansions??1e3),maxExpandedLength:Math.max(1,t.maxExpandedLength??1e5),maxEntityCount:Math.max(1,t.maxEntityCount??100),allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null}:A(!0)}const O=function(t){const e=Object.assign({},P,t),i=[{value:e.attributeNamePrefix,name:"attributeNamePrefix"},{value:e.attributesGroupName,name:"attributesGroupName"},{value:e.textNodeName,name:"textNodeName"},{value:e.cdataPropName,name:"cdataPropName"},{value:e.commentPropName,name:"commentPropName"}];for(const{value:t,name:e}of i)t&&S(t,e);return null===e.onDangerousProperty&&(e.onDangerousProperty=T),e.processEntities=A(e.processEntities),e.stopNodes&&Array.isArray(e.stopNodes)&&(e.stopNodes=e.stopNodes.map(t=>"string"==typeof t&&t.startsWith("*.")?".."+t.substring(2):t)),e};let C;C="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class ${constructor(t){this.tagname=t,this.child=[],this[":@"]=Object.create(null)}add(t,e){"__proto__"===t&&(t="#__proto__"),this.child.push({[t]:e})}addChild(t,e){"__proto__"===t.tagname&&(t.tagname="#__proto__"),t[":@"]&&Object.keys(t[":@"]).length>0?this.child.push({[t.tagname]:t.child,":@":t[":@"]}):this.child.push({[t.tagname]:t.child}),void 0!==e&&(this.child[this.child.length-1][C]={startIndex:e})}static getMetaDataSymbol(){return C}}class I{constructor(t){this.suppressValidationErr=!t,this.options=t}readDocType(t,e){const i=Object.create(null);let n=0;if("O"!==t[e+3]||"C"!==t[e+4]||"T"!==t[e+5]||"Y"!==t[e+6]||"P"!==t[e+7]||"E"!==t[e+8])throw new Error("Invalid Tag instead of DOCTYPE");{e+=9;let s=1,r=!1,o=!1,a="";for(;e"===t[e]){if(o?"-"===t[e-1]&&"-"===t[e-2]&&(o=!1,s--):s--,0===s)break}else"["===t[e]?r=!0:a+=t[e];else{if(r&&M(t,"!ENTITY",e)){let s,r;if(e+=7,[s,r,e]=this.readEntityExp(t,e+1,this.suppressValidationErr),-1===r.indexOf("&")){if(!1!==this.options.enabled&&null!=this.options.maxEntityCount&&n>=this.options.maxEntityCount)throw new Error(`Entity count (${n+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);const t=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");i[s]={regx:RegExp(`&${t};`,"g"),val:r},n++}}else if(r&&M(t,"!ELEMENT",e)){e+=8;const{index:i}=this.readElementExp(t,e+1);e=i}else if(r&&M(t,"!ATTLIST",e))e+=8;else if(r&&M(t,"!NOTATION",e)){e+=9;const{index:i}=this.readNotationExp(t,e+1,this.suppressValidationErr);e=i}else{if(!M(t,"!--",e))throw new Error("Invalid DOCTYPE");o=!0}s++,a=""}if(0!==s)throw new Error("Unclosed DOCTYPE")}return{entities:i,i:e}}readEntityExp(t,e){const i=e=j(t,e);for(;ethis.options.maxEntitySize)throw new Error(`Entity "${n}" size (${s.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[n,s,--e]}readNotationExp(t,e){const i=e=j(t,e);for(;e{for(;e0&&(this.path[this.path.length-1].values=void 0);const n=this.path.length;this.siblingStacks[n]||(this.siblingStacks[n]=new Map);const s=this.siblingStacks[n],r=i?`${i}:${t}`:t,o=s.get(r)||0;let a=0;for(const t of s.values())a+=t;s.set(r,o+1);const h={tag:t,position:a,counter:o};null!=i&&(h.namespace=i),null!=e&&(h.values=e),this.path.push(h)}pop(){if(0===this.path.length)return;const t=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),t}updateCurrent(t){if(this.path.length>0){const e=this.path[this.path.length-1];null!=t&&(e.values=t)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(t){if(0===this.path.length)return;const e=this.path[this.path.length-1];return e.values?.[t]}hasAttr(t){if(0===this.path.length)return!1;const e=this.path[this.path.length-1];return void 0!==e.values&&t in e.values}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(t,e=!0){const i=t||this.separator;return this.path.map(t=>e&&t.namespace?`${t.namespace}:${t.tag}`:t.tag).join(i)}toArray(){return this.path.map(t=>t.tag)}reset(){this.path=[],this.siblingStacks=[]}matches(t){const e=t.segments;return 0!==e.length&&(t.hasDeepWildcard()?this._matchWithDeepWildcard(e):this._matchSimple(e))}_matchSimple(t){if(this.path.length!==t.length)return!1;for(let e=0;e=0&&e>=0;){const n=t[i];if("deep-wildcard"===n.type){if(i--,i<0)return!0;const n=t[i];let s=!1;for(let t=e;t>=0;t--){const r=t===this.path.length-1;if(this._matchSegment(n,this.path[t],r)){e=t-1,i--,s=!0;break}}if(!s)return!1}else{const t=e===this.path.length-1;if(!this._matchSegment(n,this.path[e],t))return!1;e--,i--}}return i<0}_matchSegment(t,e,i){if("*"!==t.tag&&t.tag!==e.tag)return!1;if(void 0!==t.namespace&&"*"!==t.namespace&&t.namespace!==e.namespace)return!1;if(void 0!==t.attrName){if(!i)return!1;if(!e.values||!(t.attrName in e.values))return!1;if(void 0!==t.attrValue){const i=e.values[t.attrName];if(String(i)!==String(t.attrValue))return!1}}if(void 0!==t.position){if(!i)return!1;const n=e.counter??0;if("first"===t.position&&0!==n)return!1;if("odd"===t.position&&n%2!=1)return!1;if("even"===t.position&&n%2!=0)return!1;if("nth"===t.position&&n!==t.positionValue)return!1}return!0}snapshot(){return{path:this.path.map(t=>({...t})),siblingStacks:this.siblingStacks.map(t=>new Map(t))}}restore(t){this.path=t.path.map(t=>({...t})),this.siblingStacks=t.siblingStacks.map(t=>new Map(t))}readOnly(){return new Proxy(this,{get(t,e,i){if(L.has(e))return()=>{throw new TypeError(`Cannot call '${e}' on a read-only Matcher. Obtain a writable instance to mutate state.`)};const n=Reflect.get(t,e,i);return"path"===e||"siblingStacks"===e?Object.freeze(Array.isArray(n)?n.map(t=>t instanceof Map?Object.freeze(new Map(t)):Object.freeze({...t})):n):"function"==typeof n?n.bind(t):n},set(t,e){throw new TypeError(`Cannot set property '${String(e)}' on a read-only Matcher.`)},deleteProperty(t,e){throw new TypeError(`Cannot delete property '${String(e)}' from a read-only Matcher.`)}})}}class R{constructor(t,e={}){this.pattern=t,this.separator=e.separator||".",this.segments=this._parse(t),this._hasDeepWildcard=this.segments.some(t=>"deep-wildcard"===t.type),this._hasAttributeCondition=this.segments.some(t=>void 0!==t.attrName),this._hasPositionSelector=this.segments.some(t=>void 0!==t.position)}_parse(t){const e=[];let i=0,n="";for(;i0){const i=t.substring(0,e);if("xmlns"!==i)return i}}class W{constructor(t){var e;if(this.options=t,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(t,e)=>rt(e,10,"&#")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(t,e)=>rt(e,16,"&#x")}},this.addExternalEntities=Y,this.parseXml=J,this.parseTextData=z,this.resolveNameSpace=X,this.buildAttributesMap=Z,this.isItStopNode=tt,this.replaceEntitiesValue=Q,this.readStopNodeData=nt,this.saveTextToParentTag=H,this.addChild=K,this.ignoreAttributesFn="function"==typeof(e=this.options.ignoreAttributes)?e:Array.isArray(e)?t=>{for(const i of e){if("string"==typeof i&&t===i)return!0;if(i instanceof RegExp&&i.test(t))return!0}}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0,this.matcher=new G,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodeExpressions=[];for(let t=0;t0)){o||(t=this.replaceEntitiesValue(t,e,i));const n=this.options.jPath?i.toString():i,a=this.options.tagValueProcessor(e,t,n,s,r);return null==a?t:typeof a!=typeof t||a!==t?a:this.options.trimValues||t.trim()===t?st(t,this.options.parseTagValue,this.options.numberParseOptions):t}}function X(t){if(this.options.removeNSPrefix){const e=t.split(":"),i="/"===t.charAt(0)?"/":"";if("xmlns"===e[0])return"";2===e.length&&(t=i+e[1])}return t}const q=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function Z(t,e,i){if(!0!==this.options.ignoreAttributes&&"string"==typeof t){const n=s(t,q),r=n.length,o={},a={};for(let t=0;t0&&"object"==typeof e&&e.updateCurrent&&e.updateCurrent(a);for(let t=0;t",r,"Closing Tag is not closed.");let s=t.substring(r+2,e).trim();if(this.options.removeNSPrefix){const t=s.indexOf(":");-1!==t&&(s=s.substr(t+1))}s=ot(this.options.transformTagName,s,"",this.options).tagName,i&&(n=this.saveTextToParentTag(n,i,this.readonlyMatcher));const o=this.matcher.getCurrentTag();if(s&&-1!==this.options.unpairedTags.indexOf(s))throw new Error(`Unpaired tag can not be used as closing tag: `);o&&-1!==this.options.unpairedTags.indexOf(o)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,i=this.tagsNodeStack.pop(),n="",r=e}else if("?"===t[r+1]){let e=it(t,r,!1,"?>");if(!e)throw new Error("Pi Tag is not closed.");if(n=this.saveTextToParentTag(n,i,this.readonlyMatcher),this.options.ignoreDeclaration&&"?xml"===e.tagName||this.options.ignorePiTags);else{const t=new $(e.tagName);t.add(this.options.textNodeName,""),e.tagName!==e.tagExp&&e.attrExpPresent&&(t[":@"]=this.buildAttributesMap(e.tagExp,this.matcher,e.tagName)),this.addChild(i,t,this.readonlyMatcher,r)}r=e.closeIndex+1}else if("!--"===t.substr(r+1,3)){const e=et(t,"--\x3e",r+4,"Comment is not closed.");if(this.options.commentPropName){const s=t.substring(r+4,e-2);n=this.saveTextToParentTag(n,i,this.readonlyMatcher),i.add(this.options.commentPropName,[{[this.options.textNodeName]:s}])}r=e}else if("!D"===t.substr(r+1,2)){const e=s.readDocType(t,r);this.docTypeEntities=e.entities,r=e.i}else if("!["===t.substr(r+1,2)){const e=et(t,"]]>",r,"CDATA is not closed.")-2,s=t.substring(r+9,e);n=this.saveTextToParentTag(n,i,this.readonlyMatcher);let o=this.parseTextData(s,i.tagname,this.readonlyMatcher,!0,!1,!0,!0);null==o&&(o=""),this.options.cdataPropName?i.add(this.options.cdataPropName,[{[this.options.textNodeName]:s}]):i.add(this.options.textNodeName,o),r=e+2}else{let s=it(t,r,this.options.removeNSPrefix);if(!s){const e=t.substring(Math.max(0,r-50),Math.min(t.length,r+50));throw new Error(`readTagExp returned undefined at position ${r}. Context: "${e}"`)}let o=s.tagName;const a=s.rawTagName;let h=s.tagExp,l=s.attrExpPresent,p=s.closeIndex;if(({tagName:o,tagExp:h}=ot(this.options.transformTagName,o,h,this.options)),this.options.strictReservedNames&&(o===this.options.commentPropName||o===this.options.cdataPropName||o===this.options.textNodeName||o===this.options.attributesGroupName))throw new Error(`Invalid tag name: ${o}`);i&&n&&"!xml"!==i.tagname&&(n=this.saveTextToParentTag(n,i,this.readonlyMatcher,!1));const u=i;u&&-1!==this.options.unpairedTags.indexOf(u.tagname)&&(i=this.tagsNodeStack.pop(),this.matcher.pop());let c=!1;h.length>0&&h.lastIndexOf("/")===h.length-1&&(c=!0,"/"===o[o.length-1]?(o=o.substr(0,o.length-1),h=o):h=h.substr(0,h.length-1),l=o!==h);let d,f=null,g={};d=B(a),o!==e.tagname&&this.matcher.push(o,{},d),o!==h&&l&&(f=this.buildAttributesMap(h,this.matcher,o),f&&(g=U(f,this.options))),o!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode(this.stopNodeExpressions,this.matcher));const m=r;if(this.isCurrentNodeStopNode){let e="";if(c)r=s.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(o))r=s.closeIndex;else{const i=this.readStopNodeData(t,a,p+1);if(!i)throw new Error(`Unexpected end of ${a}`);r=i.i,e=i.tagContent}const n=new $(o);f&&(n[":@"]=f),n.add(this.options.textNodeName,e),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(i,n,this.readonlyMatcher,m)}else{if(c){({tagName:o,tagExp:h}=ot(this.options.transformTagName,o,h,this.options));const t=new $(o);f&&(t[":@"]=f),this.addChild(i,t,this.readonlyMatcher,m),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else{if(-1!==this.options.unpairedTags.indexOf(o)){const t=new $(o);f&&(t[":@"]=f),this.addChild(i,t,this.readonlyMatcher,m),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=s.closeIndex;continue}{const t=new $(o);if(this.tagsNodeStack.length>this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(i),f&&(t[":@"]=f),this.addChild(i,t,this.readonlyMatcher,m),i=t}}n="",r=p}}else n+=t[r];return e.child};function K(t,e,i,n){this.options.captureMetaData||(n=void 0);const s=this.options.jPath?i.toString():i,r=this.options.updateTag(e.tagname,s,e[":@"]);!1===r||("string"==typeof r?(e.tagname=r,t.addChild(e,n)):t.addChild(e,n))}function Q(t,e,i){const n=this.options.processEntities;if(!n||!n.enabled)return t;if(n.allowedTags){const s=this.options.jPath?i.toString():i;if(!(Array.isArray(n.allowedTags)?n.allowedTags.includes(e):n.allowedTags(e,s)))return t}if(n.tagFilter){const s=this.options.jPath?i.toString():i;if(!n.tagFilter(e,s))return t}for(const e of Object.keys(this.docTypeEntities)){const i=this.docTypeEntities[e],s=t.match(i.regx);if(s){if(this.entityExpansionCount+=s.length,n.maxTotalExpansions&&this.entityExpansionCount>n.maxTotalExpansions)throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${n.maxTotalExpansions}`);const e=t.length;if(t=t.replace(i.regx,i.val),n.maxExpandedLength&&(this.currentExpandedLength+=t.length-e,this.currentExpandedLength>n.maxExpandedLength))throw new Error(`Total expanded content size exceeded: ${this.currentExpandedLength} > ${n.maxExpandedLength}`)}}for(const e of Object.keys(this.lastEntities)){const i=this.lastEntities[e],s=t.match(i.regex);if(s&&(this.entityExpansionCount+=s.length,n.maxTotalExpansions&&this.entityExpansionCount>n.maxTotalExpansions))throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${n.maxTotalExpansions}`);t=t.replace(i.regex,i.val)}if(-1===t.indexOf("&"))return t;if(this.options.htmlEntities)for(const e of Object.keys(this.htmlEntities)){const i=this.htmlEntities[e],s=t.match(i.regex);if(s&&(this.entityExpansionCount+=s.length,n.maxTotalExpansions&&this.entityExpansionCount>n.maxTotalExpansions))throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${n.maxTotalExpansions}`);t=t.replace(i.regex,i.val)}return t.replace(this.ampEntity.regex,this.ampEntity.val)}function H(t,e,i,n){return t&&(void 0===n&&(n=0===e.child.length),void 0!==(t=this.parseTextData(t,e.tagname,i,!1,!!e[":@"]&&0!==Object.keys(e[":@"]).length,n))&&""!==t&&e.add(this.options.textNodeName,t),t=""),t}function tt(t,e){if(!t||0===t.length)return!1;for(let i=0;i"){let n,s="";for(let r=e;r",i,`${e} is not closed`);if(t.substring(i+2,r).trim()===e&&(s--,0===s))return{tagContent:t.substring(n,i),i:r};i=r}else if("?"===t[i+1])i=et(t,"?>",i+1,"StopNode is not closed.");else if("!--"===t.substr(i+1,3))i=et(t,"--\x3e",i+3,"StopNode is not closed.");else if("!["===t.substr(i+1,2))i=et(t,"]]>",i,"StopNode is not closed.")-2;else{const n=it(t,i,">");n&&((n&&n.tagName)===e&&"/"!==n.tagExp[n.tagExp.length-1]&&s++,i=n.closeIndex)}}function st(t,e,i){if(e&&"string"==typeof t){const e=t.trim();return"true"===e||"false"!==e&&function(t,e={}){if(e=Object.assign({},k,e),!t||"string"!=typeof t)return t;let i=t.trim();if(void 0!==e.skipLike&&e.skipLike.test(i))return t;if("0"===t)return 0;if(e.hex&&D.test(i))return function(t){if(parseInt)return parseInt(t,16);if(Number.parseInt)return Number.parseInt(t,16);if(window&&window.parseInt)return window.parseInt(t,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}(i);if(isFinite(i)){if(i.includes("e")||i.includes("E"))return function(t,e,i){if(!i.eNotation)return t;const n=e.match(F);if(n){let s=n[1]||"";const r=-1===n[3].indexOf("e")?"E":"e",o=n[2],a=s?t[o.length+1]===r:t[o.length]===r;return o.length>1&&a?t:(1!==o.length||!n[3].startsWith(`.${r}`)&&n[3][0]!==r)&&o.length>0?i.leadingZeros&&!a?(e=(n[1]||"")+n[3],Number(e)):t:Number(e)}return t}(t,i,e);{const s=V.exec(i);if(s){const r=s[1]||"",o=s[2];let a=(n=s[3])&&-1!==n.indexOf(".")?("."===(n=n.replace(/0+$/,""))?n="0":"."===n[0]?n="0"+n:"."===n[n.length-1]&&(n=n.substring(0,n.length-1)),n):n;const h=r?"."===t[o.length+1]:"."===t[o.length];if(!e.leadingZeros&&(o.length>1||1===o.length&&!h))return t;{const n=Number(i),s=String(n);if(0===n)return n;if(-1!==s.search(/[eE]/))return e.eNotation?n:t;if(-1!==i.indexOf("."))return"0"===s||s===a||s===`${r}${a}`?n:t;let h=o?a:i;return o?h===s||r+h===s?n:t:h===s||h===r+s?n:t}}return t}}var n;return function(t,e,i){const n=e===1/0;switch(i.infinity.toLowerCase()){case"null":return null;case"infinity":return e;case"string":return n?"Infinity":"-Infinity";default:return t}}(t,Number(i),e)}(t,i)}return void 0!==t?t:""}function rt(t,e,i){const n=Number.parseInt(t,e);return n>=0&&n<=1114111?String.fromCodePoint(n):i+t+";"}function ot(t,e,i,n){if(t){const n=t(e);i===e&&(i=n),e=n}return{tagName:e=at(e,n),tagExp:i}}function at(t,e){if(a.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return o.includes(t)?e.onDangerousProperty(t):t}const ht=$.getMetaDataSymbol();function lt(t,e){if(!t||"object"!=typeof t)return{};if(!e)return t;const i={};for(const n in t)n.startsWith(e)?i[n.substring(e.length)]=t[n]:i[n]=t[n];return i}function pt(t,e,i,n){return ut(t,e,i,n)}function ut(t,e,i,n){let s;const r={};for(let o=0;o0&&(r[e.textNodeName]=s):void 0!==s&&(r[e.textNodeName]=s),r}function ct(t){const e=Object.keys(t);for(let t=0;t0&&(i="\n");const n=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let t=0;te.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(null!=t){let i=t.toString();return i=Tt(i,e),i}return""}for(let a=0;a`,o=!1,n.pop();continue}if(l===e.commentPropName){r+=i+`\x3c!--${h[l][0][e.textNodeName]}--\x3e`,o=!0,n.pop();continue}if("?"===l[0]){const t=wt(h[":@"],e,u),s="?xml"===l?"":i;let a=h[l][0][e.textNodeName];a=0!==a.length?" "+a:"",r+=s+`<${l}${a}${t}?>`,o=!0,n.pop();continue}let c=i;""!==c&&(c+=e.indentBy);const d=i+`<${l}${wt(h[":@"],e,u)}`;let f;f=u?bt(h[l],e):xt(h[l],e,c,n,s),-1!==e.unpairedTags.indexOf(l)?e.suppressUnpairedNode?r+=d+">":r+=d+"/>":f&&0!==f.length||!e.suppressEmptyNode?f&&f.endsWith(">")?r+=d+`>${f}${i}`:(r+=d+">",f&&""!==i&&(f.includes("/>")||f.includes("`):r+=d+"/>",o=!0,n.pop()}return r}function Nt(t,e){if(!t||e.ignoreAttributes)return null;const i={};let n=!1;for(let s in t)Object.prototype.hasOwnProperty.call(t,s)&&(i[s.startsWith(e.attributeNamePrefix)?s.substr(e.attributeNamePrefix.length):s]=t[s],n=!0);return n?i:null}function bt(t,e){if(!Array.isArray(t))return null!=t?t.toString():"";let i="";for(let n=0;n${n}`:i+=`<${r}${t}/>`}}}return i}function Et(t,e){let i="";if(t&&!e.ignoreAttributes)for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let s=t[n];!0===s&&e.suppressBooleanAttributes?i+=` ${n.substr(e.attributeNamePrefix.length)}`:i+=` ${n.substr(e.attributeNamePrefix.length)}="${s}"`}return i}function yt(t){const e=Object.keys(t);for(let i=0;i0&&e.processEntities)for(let i=0;i","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0};function St(t){if(this.options=Object.assign({},Pt,t),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(t=>"string"==typeof t&&t.startsWith("*.")?".."+t.substring(2):t)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let t=0;t{for(const i of e){if("string"==typeof i&&t===i)return!0;if(i instanceof RegExp&&i.test(t))return!0}}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Ct),this.processTextOrObjNode=At,this.options.format?(this.indentate=Ot,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function At(t,e,i,n){const s=this.extractAttributes(t);if(n.push(e,s),this.checkStopNode(n)){const s=this.buildRawContent(t),r=this.buildAttributesForStopNode(t);return n.pop(),this.buildObjectNode(s,e,r,i)}const r=this.j2x(t,i+1,n);return n.pop(),void 0!==t[this.options.textNodeName]&&1===Object.keys(t).length?this.buildTextValNode(t[this.options.textNodeName],e,r.attrStr,i,n):this.buildObjectNode(r.val,e,r.attrStr,i)}function Ot(t){return this.options.indentBy.repeat(t)}function Ct(t){return!(!t.startsWith(this.options.attributeNamePrefix)||t===this.options.textNodeName)&&t.substr(this.attrPrefixLen)}St.prototype.build=function(t){if(this.options.preserveOrder)return mt(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});const e=new G;return this.j2x(t,0,e).val}},St.prototype.j2x=function(t,e,i){let n="",s="";if(this.options.maxNestedTags&&i.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");const r=this.options.jPath?i.toString():i,o=this.checkStopNode(i);for(let a in t)if(Object.prototype.hasOwnProperty.call(t,a))if(void 0===t[a])this.isAttribute(a)&&(s+="");else if(null===t[a])this.isAttribute(a)||a===this.options.cdataPropName?s+="":"?"===a[0]?s+=this.indentate(e)+"<"+a+"?"+this.tagEndChar:s+=this.indentate(e)+"<"+a+"/"+this.tagEndChar;else if(t[a]instanceof Date)s+=this.buildTextValNode(t[a],a,"",e,i);else if("object"!=typeof t[a]){const h=this.isAttribute(a);if(h&&!this.ignoreAttributesFn(h,r))n+=this.buildAttrPairStr(h,""+t[a],o);else if(!h)if(a===this.options.textNodeName){let e=this.options.tagValueProcessor(a,""+t[a]);s+=this.replaceEntitiesValue(e)}else{i.push(a);const n=this.checkStopNode(i);if(i.pop(),n){const i=""+t[a];s+=""===i?this.indentate(e)+"<"+a+this.closeTag(a)+this.tagEndChar:this.indentate(e)+"<"+a+">"+i+""+t+"${t}`;else if("object"==typeof t&&null!==t){const n=this.buildRawContent(t),s=this.buildAttributesForStopNode(t);e+=""===n?`<${i}${s}/>`:`<${i}${s}>${n}`}}else if("object"==typeof n&&null!==n){const t=this.buildRawContent(n),s=this.buildAttributesForStopNode(n);e+=""===t?`<${i}${s}/>`:`<${i}${s}>${t}`}else e+=`<${i}>${n}`}return e},St.prototype.buildAttributesForStopNode=function(t){if(!t||"object"!=typeof t)return"";let e="";if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){const i=t[this.options.attributesGroupName];for(let t in i){if(!Object.prototype.hasOwnProperty.call(i,t))continue;const n=t.startsWith(this.options.attributeNamePrefix)?t.substring(this.options.attributeNamePrefix.length):t,s=i[t];!0===s&&this.options.suppressBooleanAttributes?e+=" "+n:e+=" "+n+'="'+s+'"'}}else for(let i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;const n=this.isAttribute(i);if(n){const s=t[i];!0===s&&this.options.suppressBooleanAttributes?e+=" "+n:e+=" "+n+'="'+s+'"'}}return e},St.prototype.buildObjectNode=function(t,e,i,n){if(""===t)return"?"===e[0]?this.indentate(n)+"<"+e+i+"?"+this.tagEndChar:this.indentate(n)+"<"+e+i+this.closeTag(e)+this.tagEndChar;{let s=""+t+s}},St.prototype.closeTag=function(t){let e="";return-1!==this.options.unpairedTags.indexOf(t)?this.options.suppressUnpairedNode||(e="/"):e=this.options.suppressEmptyNode?"/":`>`+this.newLine;if(!1!==this.options.commentPropName&&e===this.options.commentPropName)return this.indentate(n)+`\x3c!--${t}--\x3e`+this.newLine;if("?"===e[0])return this.indentate(n)+"<"+e+i+"?"+this.tagEndChar;{let s=this.options.tagValueProcessor(e,t);return s=this.replaceEntitiesValue(s),""===s?this.indentate(n)+"<"+e+i+this.closeTag(e)+this.tagEndChar:this.indentate(n)+"<"+e+i+">"+s+"0&&this.options.processEntities)for(let e=0;e boolean) | null; +}; + +type X2jOptions = { + /** + * Preserve the order of tags in resulting JS object + * + * Defaults to `false` + */ + preserveOrder?: boolean; + + /** + * Give a prefix to the attribute name in the resulting JS object + * + * Defaults to '@_' + */ + attributeNamePrefix?: string; + + /** + * A name to group all attributes of a tag under, or `false` to disable + * + * Defaults to `false` + */ + attributesGroupName?: false | string; + + /** + * The name of the next node in the resulting JS + * + * Defaults to `#text` + */ + textNodeName?: string; + + /** + * Whether to ignore attributes when parsing + * + * When `true` - ignores all the attributes + * + * When `false` - parses all the attributes + * + * When `Array` - filters out attributes that match provided patterns + * + * When `Function` - calls the function for each attribute and filters out those for which the function returned `true` + * + * Defaults to `true` + */ + ignoreAttributes?: boolean | (string | RegExp)[] | ((attrName: string, jPathOrMatcher: JPathOrMatcher) => boolean); + + /** + * Whether to remove namespace string from tag and attribute names + * + * Defaults to `false` + */ + removeNSPrefix?: boolean; + + /** + * Whether to allow attributes without value + * + * Defaults to `false` + */ + allowBooleanAttributes?: boolean; + + /** + * Whether to parse tag value with `strnum` package + * + * Defaults to `true` + */ + parseTagValue?: boolean; + + /** + * Whether to parse attribute value with `strnum` package + * + * Defaults to `false` + */ + parseAttributeValue?: boolean; + + /** + * Whether to remove surrounding whitespace from tag or attribute value + * + * Defaults to `true` + */ + trimValues?: boolean; + + /** + * Give a property name to set CDATA values to instead of merging to tag's text value + * + * Defaults to `false` + */ + cdataPropName?: false | string; + + /** + * If set, parse comments and set as this property + * + * Defaults to `false` + */ + commentPropName?: false | string; + + /** + * Control how tag value should be parsed. Called only if tag value is not empty + * + * @param tagName - The name of the tag + * @param tagValue - The value of the tag + * @param jPathOrMatcher - The jPath string (if jPath: true) or Matcher instance (if jPath: false) + * @param hasAttributes - Whether the tag has attributes + * @param isLeafNode - Whether the tag is a leaf node + * @returns {undefined|null} `undefined` or `null` to set original value. + * @returns {unknown} + * + * 1. Different value or value with different data type to set new value. + * 2. Same value to set parsed value if `parseTagValue: true`. + * + * Defaults to `(tagName, val, jPathOrMatcher, hasAttributes, isLeafNode) => val` + */ + tagValueProcessor?: (tagName: string, tagValue: string, jPathOrMatcher: JPathOrMatcher, hasAttributes: boolean, isLeafNode: boolean) => unknown; + + /** + * Control how attribute value should be parsed + * + * @param attrName - The name of the attribute + * @param attrValue - The value of the attribute + * @param jPathOrMatcher - The jPath string (if jPath: true) or Matcher instance (if jPath: false) + * @returns {undefined|null} `undefined` or `null` to set original value + * @returns {unknown} + * + * Defaults to `(attrName, val, jPathOrMatcher) => val` + */ + attributeValueProcessor?: (attrName: string, attrValue: string, jPathOrMatcher: JPathOrMatcher) => unknown; + + /** + * Options to pass to `strnum` for parsing numbers + * + * Defaults to `{ hex: true, leadingZeros: true, eNotation: true }` + */ + numberParseOptions?: strnumOptions; + + /** + * Nodes to stop parsing at + * + * Accepts string patterns or Expression objects from path-expression-matcher + * + * String patterns starting with "*." are automatically converted to ".." for backward compatibility + * + * Defaults to `[]` + */ + stopNodes?: JPathOrExpression[]; + + /** + * List of tags without closing tags + * + * Defaults to `[]` + */ + unpairedTags?: string[]; + + /** + * Whether to always create a text node + * + * Defaults to `false` + */ + alwaysCreateTextNode?: boolean; + + /** + * Determine whether a tag should be parsed as an array + * + * @param tagName - The name of the tag + * @param jPathOrMatcher - The jPath string (if jPath: true) or Matcher instance (if jPath: false) + * @param isLeafNode - Whether the tag is a leaf node + * @param isAttribute - Whether this is an attribute + * @returns {boolean} + * + * Defaults to `() => false` + */ + isArray?: (tagName: string, jPathOrMatcher: JPathOrMatcher, isLeafNode: boolean, isAttribute: boolean) => boolean; + + /** + * Whether to process default and DOCTYPE entities + * + * When `true` - enables entity processing with default limits + * + * When `false` - disables all entity processing + * + * When `ProcessEntitiesOptions` - enables entity processing with custom configuration + * + * Defaults to `true` + */ + processEntities?: boolean | ProcessEntitiesOptions; + + /** + * Whether to process HTML entities + * + * Defaults to `false` + */ + htmlEntities?: boolean; + + /** + * Whether to ignore the declaration tag from output + * + * Defaults to `false` + */ + ignoreDeclaration?: boolean; + + /** + * Whether to ignore Pi tags + * + * Defaults to `false` + */ + ignorePiTags?: boolean; + + /** + * Transform tag names + * + * Defaults to `false` + */ + transformTagName?: ((tagName: string) => string) | false; + + /** + * Transform attribute names + * + * Defaults to `false` + */ + transformAttributeName?: ((attributeName: string) => string) | false; + + /** + * Change the tag name when a different name is returned. Skip the tag from parsed result when false is returned. + * Modify `attrs` object to control attributes for the given tag. + * + * @param tagName - The name of the tag + * @param jPathOrMatcher - The jPath string (if jPath: true) or Matcher instance (if jPath: false) + * @param attrs - The attributes object + * @returns {string} new tag name. + * @returns false to skip the tag + * + * Defaults to `(tagName, jPathOrMatcher, attrs) => tagName` + */ + updateTag?: (tagName: string, jPathOrMatcher: JPathOrMatcher, attrs: { [k: string]: string }) => string | boolean; + + /** + * If true, adds a Symbol to all object nodes, accessible by {@link XMLParser.getMetaDataSymbol} with + * metadata about each the node in the XML file. + */ + captureMetaData?: boolean; + + /** + * Maximum number of nested tags + * + * Defaults to `100` + */ + maxNestedTags?: number; + + /** + * Whether to strictly validate tag names + * + * Defaults to `true` + */ + strictReservedNames?: boolean; + + /** + * Controls whether callbacks receive jPath as string or Matcher instance + * + * When `true` - callbacks receive jPath as string (backward compatible) + * + * When `false` - callbacks receive Matcher instance for advanced pattern matching + * + * Defaults to `true` + */ + jPath?: boolean; + + /** + * Function to sanitize dangerous property names + * + * @param name - The name of the property + * @returns {string} The sanitized name + * + * Defaults to `(name) => __name` + */ + onDangerousProperty?: (name: string) => string; +}; + +type strnumOptions = { + hex: boolean; + leadingZeros: boolean, + skipLike?: RegExp, + eNotation?: boolean +} + +type validationOptions = { + /** + * Whether to allow attributes without value + * + * Defaults to `false` + */ + allowBooleanAttributes?: boolean; + + /** + * List of tags without closing tags + * + * Defaults to `[]` + */ + unpairedTags?: string[]; +}; + +type XmlBuilderOptions = { + /** + * Give a prefix to the attribute name in the resulting JS object + * + * Defaults to '@_' + */ + attributeNamePrefix?: string; + + /** + * A name to group all attributes of a tag under, or `false` to disable + * + * Defaults to `false` + */ + attributesGroupName?: false | string; + + /** + * The name of the next node in the resulting JS + * + * Defaults to `#text` + */ + textNodeName?: string; + + /** + * Whether to ignore attributes when building + * + * When `true` - ignores all the attributes + * + * When `false` - builds all the attributes + * + * When `Array` - filters out attributes that match provided patterns + * + * When `Function` - calls the function for each attribute and filters out those for which the function returned `true` + * + * Defaults to `true` + */ + ignoreAttributes?: boolean | (string | RegExp)[] | ((attrName: string, jPath: string) => boolean); + + /** + * Give a property name to set CDATA values to instead of merging to tag's text value + * + * Defaults to `false` + */ + cdataPropName?: false | string; + + /** + * If set, parse comments and set as this property + * + * Defaults to `false` + */ + commentPropName?: false | string; + + /** + * Whether to make output pretty instead of single line + * + * Defaults to `false` + */ + format?: boolean; + + + /** + * If `format` is set to `true`, sets the indent string + * + * Defaults to ` ` + */ + indentBy?: string; + + /** + * Give a name to a top-level array + * + * Defaults to `undefined` + */ + arrayNodeName?: string; + + /** + * Create empty tags for tags with no text value + * + * Defaults to `false` + */ + suppressEmptyNode?: boolean; + + /** + * Suppress an unpaired tag + * + * Defaults to `true` + */ + suppressUnpairedNode?: boolean; + + /** + * Don't put a value for boolean attributes + * + * Defaults to `true` + */ + suppressBooleanAttributes?: boolean; + + /** + * Preserve the order of tags in resulting JS object + * + * Defaults to `false` + */ + preserveOrder?: boolean; + + /** + * List of tags without closing tags + * + * Defaults to `[]` + */ + unpairedTags?: string[]; + + /** + * Nodes to stop parsing at + * + * Accepts string patterns or Expression objects from path-expression-matcher + * + * Defaults to `[]` + */ + stopNodes?: JPathOrExpression[]; + + /** + * Control how tag value should be parsed. Called only if tag value is not empty + * + * @returns {undefined|null} `undefined` or `null` to set original value. + * @returns {unknown} + * + * 1. Different value or value with different data type to set new value. + * 2. Same value to set parsed value if `parseTagValue: true`. + * + * Defaults to `(tagName, val, jPath, hasAttributes, isLeafNode) => val` + */ + tagValueProcessor?: (name: string, value: unknown) => unknown; + + /** + * Control how attribute value should be parsed + * + * @param attrName + * @param attrValue + * @param jPath + * @returns {undefined|null} `undefined` or `null` to set original value + * @returns {unknown} + * + * Defaults to `(attrName, val, jPath) => val` + */ + attributeValueProcessor?: (name: string, value: unknown) => unknown; + + /** + * Whether to process default and DOCTYPE entities + * + * Defaults to `true` + */ + processEntities?: boolean; + + + oneListGroup?: boolean; + + /** + * Maximum number of nested tags + * + * Defaults to `100` + */ + maxNestedTags?: number; +}; + +type ESchema = string | object | Array; + +type ValidationError = { + err: { + code: string; + msg: string, + line: number, + col: number + }; +}; + +declare class XMLParser { + constructor(options?: X2jOptions); + parse(xmlData: string | Uint8Array, validationOptions?: validationOptions | boolean): any; + /** + * Add Entity which is not by default supported by this library + * @param entityIdentifier {string} Eg: 'ent' for &ent; + * @param entityValue {string} Eg: '\r' + */ + addEntity(entityIdentifier: string, entityValue: string): void; + + /** + * Returns a Symbol that can be used to access the {@link XMLMetaData} + * property on a node. + * + * If Symbol is not available in the environment, an ordinary property is used + * and the name of the property is here returned. + * + * The XMLMetaData property is only present when {@link X2jOptions.captureMetaData} + * is true in the options. + */ + static getMetaDataSymbol(): Symbol; +} + +declare class XMLValidator { + static validate(xmlData: string, options?: validationOptions): true | ValidationError; +} + +declare class XMLBuilder { + constructor(options?: XmlBuilderOptions); + build(jObj: any): string; +} + + +/** + * This object is available on nodes via the symbol {@link XMLParser.getMetaDataSymbol} + * when {@link X2jOptions.captureMetaData} is true. + */ +declare interface XMLMetaData { + /** The index, if available, of the character where the XML node began in the input stream. */ + startIndex?: number; +} + +declare namespace fxp { + export { + XMLParser, + XMLValidator, + XMLBuilder, + XMLMetaData, + XmlBuilderOptions, + X2jOptions, + ESchema, + ValidationError, + strnumOptions, + validationOptions, + ProcessEntitiesOptions, + Expression, + ReadonlyMatcher, + JPathOrMatcher, + JPathOrExpression, + } +} + +export = fxp; \ No newline at end of file diff --git a/node_modules/fast-xml-parser/lib/fxp.min.js b/node_modules/fast-xml-parser/lib/fxp.min.js new file mode 100644 index 0000000..4558b9b --- /dev/null +++ b/node_modules/fast-xml-parser/lib/fxp.min.js @@ -0,0 +1,2 @@ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.fxp=e():t.fxp=e()}(this,()=>(()=>{"use strict";var t={d:(e,i)=>{for(var r in i)t.o(i,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:i[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{XMLBuilder:()=>jt,XMLParser:()=>mt,XMLValidator:()=>Mt});var i=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",r=new RegExp("^["+i+"]["+i+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function n(t,e){for(var i=[],r=e.exec(t);r;){var n=[];n.startIndex=e.lastIndex-r[0].length;for(var s=r.length,o=0;o"!==t[s]&&" "!==t[s]&&"\t"!==t[s]&&"\n"!==t[s]&&"\r"!==t[s];s++)l+=t[s];if("/"===(l=l.trim())[l.length-1]&&(l=l.substring(0,l.length-1),s--),!y(l))return b("InvalidTag",0===l.trim().length?"Invalid space after '<'.":"Tag '"+l+"' is an invalid name.",E(t,s));var f=g(t,s);if(!1===f)return b("InvalidAttr","Attributes for '"+l+"' have open quote.",E(t,s));var c=f.value;if(s=f.index,"/"===c[c.length-1]){var m=s-c.length,N=x(c=c.substring(0,c.length-1),e);if(!0!==N)return b(N.err.code,N.err.msg,E(t,m+N.err.line));r=!0}else if(a){if(!f.tagClosed)return b("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",E(t,s));if(c.trim().length>0)return b("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",E(t,o));if(0===i.length)return b("InvalidTag","Closing tag '"+l+"' has not been opened.",E(t,o));var w=i.pop();if(l!==w.tagName){var T=E(t,w.tagStartPos);return b("InvalidTag","Expected closing tag '"+w.tagName+"' (opened in line "+T.line+", col "+T.col+") instead of closing tag '"+l+"'.",E(t,o))}0==i.length&&(n=!0)}else{var S=x(c,e);if(!0!==S)return b(S.err.code,S.err.msg,E(t,s-c.length+S.err.line));if(!0===n)return b("InvalidXml","Multiple possible root nodes found.",E(t,s));-1!==e.unpairedTags.indexOf(l)||i.push({tagName:l,tagStartPos:o}),r=!0}for(s++;s0)||b("InvalidXml","Invalid '"+JSON.stringify(i.map(function(t){return t.tagName}),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):b("InvalidXml","Start tag expected.",1)}function u(t){return" "===t||"\t"===t||"\n"===t||"\r"===t}function p(t,e){for(var i=e;e5&&"xml"===r)return b("InvalidXml","XML declaration allowed only at the start of the document.",E(t,e));if("?"==t[e]&&">"==t[e+1]){e++;break}}return e}function d(t,e){if(t.length>e+5&&"-"===t[e+1]&&"-"===t[e+2]){for(e+=3;e"===t[e+2]){e+=2;break}}else if(t.length>e+8&&"D"===t[e+1]&&"O"===t[e+2]&&"C"===t[e+3]&&"T"===t[e+4]&&"Y"===t[e+5]&&"P"===t[e+6]&&"E"===t[e+7]){var i=1;for(e+=8;e"===t[e]&&0===--i)break}else if(t.length>e+9&&"["===t[e+1]&&"C"===t[e+2]&&"D"===t[e+3]&&"A"===t[e+4]&&"T"===t[e+5]&&"A"===t[e+6]&&"["===t[e+7])for(e+=8;e"===t[e+2]){e+=2;break}return e}var f='"',c="'";function g(t,e){for(var i="",r="",n=!1;e"===t[e]&&""===r){n=!0;break}i+=t[e]}return""===r&&{value:i,index:e,tagClosed:n}}var m=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function x(t,e){for(var i=n(t,m),r={},s=0;s0?this.child.push(((i={})[t.tagname]=t.child,i[":@"]=t[":@"],i)):this.child.push(((r={})[t.tagname]=t.child,r)),void 0!==e&&(this.child[this.child.length-1][O]={startIndex:e})},t.getMetaDataSymbol=function(){return O},t}(),j=function(){function t(t){this.suppressValidationErr=!t,this.options=t}var e=t.prototype;return e.readDocType=function(t,e){var i=Object.create(null),r=0;if("O"!==t[e+3]||"C"!==t[e+4]||"T"!==t[e+5]||"Y"!==t[e+6]||"P"!==t[e+7]||"E"!==t[e+8])throw new Error("Invalid Tag instead of DOCTYPE");e+=9;for(var n=1,s=!1,o=!1;e"===t[e]){if(o?"-"===t[e-1]&&"-"===t[e-2]&&(o=!1,n--):n--,0===n)break}else"["===t[e]?s=!0:t[e];else{if(s&&$(t,"!ENTITY",e)){e+=7;var a=void 0,h=void 0,l=this.readEntityExp(t,e+1,this.suppressValidationErr);if(a=l[0],h=l[1],e=l[2],-1===h.indexOf("&")){if(!1!==this.options.enabled&&null!=this.options.maxEntityCount&&r>=this.options.maxEntityCount)throw new Error("Entity count ("+(r+1)+") exceeds maximum allowed ("+this.options.maxEntityCount+")");var u=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");i[a]={regx:RegExp("&"+u+";","g"),val:h},r++}}else if(s&&$(t,"!ELEMENT",e))e+=8,e=this.readElementExp(t,e+1).index;else if(s&&$(t,"!ATTLIST",e))e+=8;else if(s&&$(t,"!NOTATION",e))e+=9,e=this.readNotationExp(t,e+1,this.suppressValidationErr).index;else{if(!$(t,"!--",e))throw new Error("Invalid DOCTYPE");o=!0}n++}if(0!==n)throw new Error("Unclosed DOCTYPE");return{entities:i,i:e}},e.readEntityExp=function(t,e){for(var i=e=M(t,e);ethis.options.maxEntitySize)throw new Error('Entity "'+r+'" size ('+n.length+") exceeds maximum allowed size ("+this.options.maxEntitySize+")");return[r,n,--e]},e.readNotationExp=function(t,e){for(var i=e=M(t,e);et.length)&&(e=t.length);for(var i=0,r=Array(e);i0&&(this.path[this.path.length-1].values=void 0);const r=this.path.length;this.siblingStacks[r]||(this.siblingStacks[r]=new Map);const n=this.siblingStacks[r],s=i?`${i}:${t}`:t,o=n.get(s)||0;let a=0;for(const t of n.values())a+=t;n.set(s,o+1);const h={tag:t,position:a,counter:o};null!=i&&(h.namespace=i),null!=e&&(h.values=e),this.path.push(h)}pop(){if(0===this.path.length)return;const t=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),t}updateCurrent(t){if(this.path.length>0){const e=this.path[this.path.length-1];null!=t&&(e.values=t)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(t){if(0===this.path.length)return;const e=this.path[this.path.length-1];return e.values?.[t]}hasAttr(t){if(0===this.path.length)return!1;const e=this.path[this.path.length-1];return void 0!==e.values&&t in e.values}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(t,e=!0){const i=t||this.separator;return this.path.map(t=>e&&t.namespace?`${t.namespace}:${t.tag}`:t.tag).join(i)}toArray(){return this.path.map(t=>t.tag)}reset(){this.path=[],this.siblingStacks=[]}matches(t){const e=t.segments;return 0!==e.length&&(t.hasDeepWildcard()?this._matchWithDeepWildcard(e):this._matchSimple(e))}_matchSimple(t){if(this.path.length!==t.length)return!1;for(let e=0;e=0&&e>=0;){const r=t[i];if("deep-wildcard"===r.type){if(i--,i<0)return!0;const r=t[i];let n=!1;for(let t=e;t>=0;t--){const s=t===this.path.length-1;if(this._matchSegment(r,this.path[t],s)){e=t-1,i--,n=!0;break}}if(!n)return!1}else{const t=e===this.path.length-1;if(!this._matchSegment(r,this.path[e],t))return!1;e--,i--}}return i<0}_matchSegment(t,e,i){if("*"!==t.tag&&t.tag!==e.tag)return!1;if(void 0!==t.namespace&&"*"!==t.namespace&&t.namespace!==e.namespace)return!1;if(void 0!==t.attrName){if(!i)return!1;if(!e.values||!(t.attrName in e.values))return!1;if(void 0!==t.attrValue){const i=e.values[t.attrName];if(String(i)!==String(t.attrValue))return!1}}if(void 0!==t.position){if(!i)return!1;const r=e.counter??0;if("first"===t.position&&0!==r)return!1;if("odd"===t.position&&r%2!=1)return!1;if("even"===t.position&&r%2!=0)return!1;if("nth"===t.position&&r!==t.positionValue)return!1}return!0}snapshot(){return{path:this.path.map(t=>({...t})),siblingStacks:this.siblingStacks.map(t=>new Map(t))}}restore(t){this.path=t.path.map(t=>({...t})),this.siblingStacks=t.siblingStacks.map(t=>new Map(t))}readOnly(){return new Proxy(this,{get(t,e,i){if(G.has(e))return()=>{throw new TypeError(`Cannot call '${e}' on a read-only Matcher. Obtain a writable instance to mutate state.`)};const r=Reflect.get(t,e,i);return"path"===e||"siblingStacks"===e?Object.freeze(Array.isArray(r)?r.map(t=>t instanceof Map?Object.freeze(new Map(t)):Object.freeze({...t})):r):"function"==typeof r?r.bind(t):r},set(t,e){throw new TypeError(`Cannot set property '${String(e)}' on a read-only Matcher.`)},deleteProperty(t,e){throw new TypeError(`Cannot delete property '${String(e)}' from a read-only Matcher.`)}})}}class U{constructor(t,e={}){this.pattern=t,this.separator=e.separator||".",this.segments=this._parse(t),this._hasDeepWildcard=this.segments.some(t=>"deep-wildcard"===t.type),this._hasAttributeCondition=this.segments.some(t=>void 0!==t.attrName),this._hasPositionSelector=this.segments.some(t=>void 0!==t.position)}_parse(t){const e=[];let i=0,r="";for(;i0){var i=t.substring(0,e);if("xmlns"!==i)return i}}}var Y=function(t){var e;if(this.options=t,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:function(t,e){return ot(e,10,"&#")}},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:function(t,e){return ot(e,16,"&#x")}}},this.addExternalEntities=z,this.parseXml=K,this.parseTextData=X,this.resolveNameSpace=q,this.buildAttributesMap=J,this.isItStopNode=et,this.replaceEntitiesValue=H,this.readStopNodeData=nt,this.saveTextToParentTag=tt,this.addChild=Q,this.ignoreAttributesFn="function"==typeof(e=this.options.ignoreAttributes)?e:Array.isArray(e)?function(t){for(var i,r=function(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=function(t,e){if(t){if("string"==typeof t)return L(t,e);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?L(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(i=r()).done;){var n=i.value;if("string"==typeof n&&t===n)return!0;if(n instanceof RegExp&&n.test(t))return!0}}:function(){return!1},this.entityExpansionCount=0,this.currentExpandedLength=0,this.matcher=new R,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodeExpressions=[];for(var i=0;i0)){o||(t=this.replaceEntitiesValue(t,e,i));var a=this.options.jPath?i.toString():i,h=this.options.tagValueProcessor(e,t,a,n,s);return null==h?t:typeof h!=typeof t||h!==t?h:this.options.trimValues||t.trim()===t?st(t,this.options.parseTagValue,this.options.numberParseOptions):t}}function q(t){if(this.options.removeNSPrefix){var e=t.split(":"),i="/"===t.charAt(0)?"/":"";if("xmlns"===e[0])return"";2===e.length&&(t=i+e[1])}return t}var Z=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function J(t,e,i){if(!0!==this.options.ignoreAttributes&&"string"==typeof t){for(var r=n(t,Z),s=r.length,o={},a={},h=0;h0&&"object"==typeof e&&e.updateCurrent&&e.updateCurrent(a);for(var d=0;d",s,"Closing Tag is not closed."),a=t.substring(s+2,o).trim();if(this.options.removeNSPrefix){var h=a.indexOf(":");-1!==h&&(a=a.substr(h+1))}a=at(this.options.transformTagName,a,"",this.options).tagName,i&&(r=this.saveTextToParentTag(r,i,this.readonlyMatcher));var l=this.matcher.getCurrentTag();if(a&&-1!==this.options.unpairedTags.indexOf(a))throw new Error("Unpaired tag can not be used as closing tag: ");l&&-1!==this.options.unpairedTags.indexOf(l)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,i=this.tagsNodeStack.pop(),r="",s=o}else if("?"===t[s+1]){var u=rt(t,s,!1,"?>");if(!u)throw new Error("Pi Tag is not closed.");if(r=this.saveTextToParentTag(r,i,this.readonlyMatcher),this.options.ignoreDeclaration&&"?xml"===u.tagName||this.options.ignorePiTags);else{var p=new I(u.tagName);p.add(this.options.textNodeName,""),u.tagName!==u.tagExp&&u.attrExpPresent&&(p[":@"]=this.buildAttributesMap(u.tagExp,this.matcher,u.tagName)),this.addChild(i,p,this.readonlyMatcher,s)}s=u.closeIndex+1}else if("!--"===t.substr(s+1,3)){var d=it(t,"--\x3e",s+4,"Comment is not closed.");if(this.options.commentPropName){var f,c=t.substring(s+4,d-2);r=this.saveTextToParentTag(r,i,this.readonlyMatcher),i.add(this.options.commentPropName,[(f={},f[this.options.textNodeName]=c,f)])}s=d}else if("!D"===t.substr(s+1,2)){var g=n.readDocType(t,s);this.docTypeEntities=g.entities,s=g.i}else if("!["===t.substr(s+1,2)){var m=it(t,"]]>",s,"CDATA is not closed.")-2,x=t.substring(s+9,m);r=this.saveTextToParentTag(r,i,this.readonlyMatcher);var v,b=this.parseTextData(x,i.tagname,this.readonlyMatcher,!0,!1,!0,!0);null==b&&(b=""),this.options.cdataPropName?i.add(this.options.cdataPropName,[(v={},v[this.options.textNodeName]=x,v)]):i.add(this.options.textNodeName,b),s=m+2}else{var N=rt(t,s,this.options.removeNSPrefix);if(!N){var y=t.substring(Math.max(0,s-50),Math.min(t.length,s+50));throw new Error("readTagExp returned undefined at position "+s+'. Context: "'+y+'"')}var E=N.tagName,w=N.rawTagName,T=N.tagExp,S=N.attrExpPresent,P=N.closeIndex,A=at(this.options.transformTagName,E,T,this.options);if(E=A.tagName,T=A.tagExp,this.options.strictReservedNames&&(E===this.options.commentPropName||E===this.options.cdataPropName||E===this.options.textNodeName||E===this.options.attributesGroupName))throw new Error("Invalid tag name: "+E);i&&r&&"!xml"!==i.tagname&&(r=this.saveTextToParentTag(r,i,this.readonlyMatcher,!1));var O=i;O&&-1!==this.options.unpairedTags.indexOf(O.tagname)&&(i=this.tagsNodeStack.pop(),this.matcher.pop());var C=!1;T.length>0&&T.lastIndexOf("/")===T.length-1&&(C=!0,T="/"===E[E.length-1]?E=E.substr(0,E.length-1):T.substr(0,T.length-1),S=E!==T);var M,$=null;M=W(w),E!==e.tagname&&this.matcher.push(E,{},M),E!==T&&S&&($=this.buildAttributesMap(T,this.matcher,E))&&B($,this.options),E!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode(this.stopNodeExpressions,this.matcher));var _=s;if(this.isCurrentNodeStopNode){var D="";if(C)s=N.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(E))s=N.closeIndex;else{var V=this.readStopNodeData(t,w,P+1);if(!V)throw new Error("Unexpected end of "+w);s=V.i,D=V.tagContent}var k=new I(E);$&&(k[":@"]=$),k.add(this.options.textNodeName,D),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(i,k,this.readonlyMatcher,_)}else{if(C){var F=at(this.options.transformTagName,E,T,this.options);E=F.tagName,T=F.tagExp;var L=new I(E);$&&(L[":@"]=$),this.addChild(i,L,this.readonlyMatcher,_),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else{if(-1!==this.options.unpairedTags.indexOf(E)){var G=new I(E);$&&(G[":@"]=$),this.addChild(i,G,this.readonlyMatcher,_),this.matcher.pop(),this.isCurrentNodeStopNode=!1,s=N.closeIndex;continue}var R=new I(E);if(this.tagsNodeStack.length>this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(i),$&&(R[":@"]=$),this.addChild(i,R,this.readonlyMatcher,_),i=R}r="",s=P}}else r+=t[s];return e.child};function Q(t,e,i,r){this.options.captureMetaData||(r=void 0);var n=this.options.jPath?i.toString():i,s=this.options.updateTag(e.tagname,n,e[":@"]);!1===s||("string"==typeof s?(e.tagname=s,t.addChild(e,r)):t.addChild(e,r))}function H(t,e,i){var r=this.options.processEntities;if(!r||!r.enabled)return t;if(r.allowedTags){var n=this.options.jPath?i.toString():i;if(!(Array.isArray(r.allowedTags)?r.allowedTags.includes(e):r.allowedTags(e,n)))return t}if(r.tagFilter){var s=this.options.jPath?i.toString():i;if(!r.tagFilter(e,s))return t}for(var o=0,a=Object.keys(this.docTypeEntities);or.maxTotalExpansions)throw new Error("Entity expansion limit exceeded: "+this.entityExpansionCount+" > "+r.maxTotalExpansions);var p=t.length;if(t=t.replace(l.regx,l.val),r.maxExpandedLength&&(this.currentExpandedLength+=t.length-p,this.currentExpandedLength>r.maxExpandedLength))throw new Error("Total expanded content size exceeded: "+this.currentExpandedLength+" > "+r.maxExpandedLength)}}for(var d=0,f=Object.keys(this.lastEntities);dr.maxTotalExpansions))throw new Error("Entity expansion limit exceeded: "+this.entityExpansionCount+" > "+r.maxTotalExpansions);t=t.replace(g.regex,g.val)}if(-1===t.indexOf("&"))return t;if(this.options.htmlEntities)for(var x=0,v=Object.keys(this.htmlEntities);xr.maxTotalExpansions))throw new Error("Entity expansion limit exceeded: "+this.entityExpansionCount+" > "+r.maxTotalExpansions);t=t.replace(N.regex,N.val)}return t.replace(this.ampEntity.regex,this.ampEntity.val)}function tt(t,e,i,r){return t&&(void 0===r&&(r=0===e.child.length),void 0!==(t=this.parseTextData(t,e.tagname,i,!1,!!e[":@"]&&0!==Object.keys(e[":@"]).length,r))&&""!==t&&e.add(this.options.textNodeName,t),t=""),t}function et(t,e){if(!t||0===t.length)return!1;for(var i=0;i");var n=function(t,e,i){var r;void 0===i&&(i=">");for(var n="",s=e;s",i,e+" is not closed");if(t.substring(i+2,s).trim()===e&&0===--n)return{tagContent:t.substring(r,i),i:s};i=s}else if("?"===t[i+1])i=it(t,"?>",i+1,"StopNode is not closed.");else if("!--"===t.substr(i+1,3))i=it(t,"--\x3e",i+3,"StopNode is not closed.");else if("!["===t.substr(i+1,2))i=it(t,"]]>",i,"StopNode is not closed.")-2;else{var o=rt(t,i,">");o&&((o&&o.tagName)===e&&"/"!==o.tagExp[o.tagExp.length-1]&&n++,i=o.closeIndex)}}function st(t,e,i){if(e&&"string"==typeof t){var r=t.trim();return"true"===r||"false"!==r&&function(t,e={}){if(e=Object.assign({},k,e),!t||"string"!=typeof t)return t;let i=t.trim();if(void 0!==e.skipLike&&e.skipLike.test(i))return t;if("0"===t)return 0;if(e.hex&&D.test(i))return function(t){if(parseInt)return parseInt(t,16);if(Number.parseInt)return Number.parseInt(t,16);if(window&&window.parseInt)return window.parseInt(t,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}(i);if(isFinite(i)){if(i.includes("e")||i.includes("E"))return function(t,e,i){if(!i.eNotation)return t;const r=e.match(F);if(r){let n=r[1]||"";const s=-1===r[3].indexOf("e")?"E":"e",o=r[2],a=n?t[o.length+1]===s:t[o.length]===s;return o.length>1&&a?t:(1!==o.length||!r[3].startsWith(`.${s}`)&&r[3][0]!==s)&&o.length>0?i.leadingZeros&&!a?(e=(r[1]||"")+r[3],Number(e)):t:Number(e)}return t}(t,i,e);{const n=V.exec(i);if(n){const s=n[1]||"",o=n[2];let a=(r=n[3])&&-1!==r.indexOf(".")?("."===(r=r.replace(/0+$/,""))?r="0":"."===r[0]?r="0"+r:"."===r[r.length-1]&&(r=r.substring(0,r.length-1)),r):r;const h=s?"."===t[o.length+1]:"."===t[o.length];if(!e.leadingZeros&&(o.length>1||1===o.length&&!h))return t;{const r=Number(i),n=String(r);if(0===r)return r;if(-1!==n.search(/[eE]/))return e.eNotation?r:t;if(-1!==i.indexOf("."))return"0"===n||n===a||n===`${s}${a}`?r:t;let h=o?a:i;return o?h===n||s+h===n?r:t:h===n||h===s+n?r:t}}return t}}var r;return function(t,e,i){const r=e===1/0;switch(i.infinity.toLowerCase()){case"null":return null;case"infinity":return e;case"string":return r?"Infinity":"-Infinity";default:return t}}(t,Number(i),e)}(t,i)}return void 0!==t?t:""}function ot(t,e,i){var r=Number.parseInt(t,e);return r>=0&&r<=1114111?String.fromCodePoint(r):i+t+";"}function at(t,e,i,r){if(t){var n=t(e);i===e&&(i=n),e=n}return{tagName:e=ht(e,r),tagExp:i}}function ht(t,e){if(a.includes(t))throw new Error('[SECURITY] Invalid name: "'+t+'" is a reserved JavaScript keyword that could cause prototype pollution');return o.includes(t)?e.onDangerousProperty(t):t}var lt=I.getMetaDataSymbol();function ut(t,e){if(!t||"object"!=typeof t)return{};if(!e)return t;var i={};for(var r in t)r.startsWith(e)?i[r.substring(e.length)]=t[r]:i[r]=t[r];return i}function pt(t,e,i,r){return dt(t,e,i,r)}function dt(t,e,i,r){for(var n,s={},o=0;o0&&(s[e.textNodeName]=n):void 0!==n&&(s[e.textNodeName]=n),s}function ft(t){for(var e=Object.keys(t),i=0;i0&&(i="\n");const r=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let t=0;te.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(null!=t){let i=t.toString();return i=St(i,e),i}return""}for(let a=0;a`,o=!1,r.pop();continue}if(l===e.commentPropName){s+=i+`\x3c!--${h[l][0][e.textNodeName]}--\x3e`,o=!0,r.pop();continue}if("?"===l[0]){const t=wt(h[":@"],e,p),n="?xml"===l?"":i;let a=h[l][0][e.textNodeName];a=0!==a.length?" "+a:"",s+=n+`<${l}${a}${t}?>`,o=!0,r.pop();continue}let d=i;""!==d&&(d+=e.indentBy);const f=i+`<${l}${wt(h[":@"],e,p)}`;let c;c=p?Nt(h[l],e):vt(h[l],e,d,r,n),-1!==e.unpairedTags.indexOf(l)?e.suppressUnpairedNode?s+=f+">":s+=f+"/>":c&&0!==c.length||!e.suppressEmptyNode?c&&c.endsWith(">")?s+=f+`>${c}${i}`:(s+=f+">",c&&""!==i&&(c.includes("/>")||c.includes("`):s+=f+"/>",o=!0,r.pop()}return s}function bt(t,e){if(!t||e.ignoreAttributes)return null;const i={};let r=!1;for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n.startsWith(e.attributeNamePrefix)?n.substr(e.attributeNamePrefix.length):n]=t[n],r=!0);return r?i:null}function Nt(t,e){if(!Array.isArray(t))return null!=t?t.toString():"";let i="";for(let r=0;r${r}`:i+=`<${s}${t}/>`}}}return i}function yt(t,e){let i="";if(t&&!e.ignoreAttributes)for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;let n=t[r];!0===n&&e.suppressBooleanAttributes?i+=` ${r.substr(e.attributeNamePrefix.length)}`:i+=` ${r.substr(e.attributeNamePrefix.length)}="${n}"`}return i}function Et(t){const e=Object.keys(t);for(let i=0;i0&&e.processEntities)for(let i=0;i","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0};function At(t){if(this.options=Object.assign({},Pt,t),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(t=>"string"==typeof t&&t.startsWith("*.")?".."+t.substring(2):t)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let t=0;t{for(const i of e){if("string"==typeof i&&t===i)return!0;if(i instanceof RegExp&&i.test(t))return!0}}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=It),this.processTextOrObjNode=Ot,this.options.format?(this.indentate=Ct,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function Ot(t,e,i,r){const n=this.extractAttributes(t);if(r.push(e,n),this.checkStopNode(r)){const n=this.buildRawContent(t),s=this.buildAttributesForStopNode(t);return r.pop(),this.buildObjectNode(n,e,s,i)}const s=this.j2x(t,i+1,r);return r.pop(),void 0!==t[this.options.textNodeName]&&1===Object.keys(t).length?this.buildTextValNode(t[this.options.textNodeName],e,s.attrStr,i,r):this.buildObjectNode(s.val,e,s.attrStr,i)}function Ct(t){return this.options.indentBy.repeat(t)}function It(t){return!(!t.startsWith(this.options.attributeNamePrefix)||t===this.options.textNodeName)&&t.substr(this.attrPrefixLen)}At.prototype.build=function(t){if(this.options.preserveOrder)return xt(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});const e=new R;return this.j2x(t,0,e).val}},At.prototype.j2x=function(t,e,i){let r="",n="";if(this.options.maxNestedTags&&i.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");const s=this.options.jPath?i.toString():i,o=this.checkStopNode(i);for(let a in t)if(Object.prototype.hasOwnProperty.call(t,a))if(void 0===t[a])this.isAttribute(a)&&(n+="");else if(null===t[a])this.isAttribute(a)||a===this.options.cdataPropName?n+="":"?"===a[0]?n+=this.indentate(e)+"<"+a+"?"+this.tagEndChar:n+=this.indentate(e)+"<"+a+"/"+this.tagEndChar;else if(t[a]instanceof Date)n+=this.buildTextValNode(t[a],a,"",e,i);else if("object"!=typeof t[a]){const h=this.isAttribute(a);if(h&&!this.ignoreAttributesFn(h,s))r+=this.buildAttrPairStr(h,""+t[a],o);else if(!h)if(a===this.options.textNodeName){let e=this.options.tagValueProcessor(a,""+t[a]);n+=this.replaceEntitiesValue(e)}else{i.push(a);const r=this.checkStopNode(i);if(i.pop(),r){const i=""+t[a];n+=""===i?this.indentate(e)+"<"+a+this.closeTag(a)+this.tagEndChar:this.indentate(e)+"<"+a+">"+i+""+t+"${t}`;else if("object"==typeof t&&null!==t){const r=this.buildRawContent(t),n=this.buildAttributesForStopNode(t);e+=""===r?`<${i}${n}/>`:`<${i}${n}>${r}`}}else if("object"==typeof r&&null!==r){const t=this.buildRawContent(r),n=this.buildAttributesForStopNode(r);e+=""===t?`<${i}${n}/>`:`<${i}${n}>${t}`}else e+=`<${i}>${r}`}return e},At.prototype.buildAttributesForStopNode=function(t){if(!t||"object"!=typeof t)return"";let e="";if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){const i=t[this.options.attributesGroupName];for(let t in i){if(!Object.prototype.hasOwnProperty.call(i,t))continue;const r=t.startsWith(this.options.attributeNamePrefix)?t.substring(this.options.attributeNamePrefix.length):t,n=i[t];!0===n&&this.options.suppressBooleanAttributes?e+=" "+r:e+=" "+r+'="'+n+'"'}}else for(let i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;const r=this.isAttribute(i);if(r){const n=t[i];!0===n&&this.options.suppressBooleanAttributes?e+=" "+r:e+=" "+r+'="'+n+'"'}}return e},At.prototype.buildObjectNode=function(t,e,i,r){if(""===t)return"?"===e[0]?this.indentate(r)+"<"+e+i+"?"+this.tagEndChar:this.indentate(r)+"<"+e+i+this.closeTag(e)+this.tagEndChar;{let n=""+t+n}},At.prototype.closeTag=function(t){let e="";return-1!==this.options.unpairedTags.indexOf(t)?this.options.suppressUnpairedNode||(e="/"):e=this.options.suppressEmptyNode?"/":`>`+this.newLine;if(!1!==this.options.commentPropName&&e===this.options.commentPropName)return this.indentate(r)+`\x3c!--${t}--\x3e`+this.newLine;if("?"===e[0])return this.indentate(r)+"<"+e+i+"?"+this.tagEndChar;{let n=this.options.tagValueProcessor(e,t);return n=this.replaceEntitiesValue(n),""===n?this.indentate(r)+"<"+e+i+this.closeTag(e)+this.tagEndChar:this.indentate(r)+"<"+e+i+">"+n+"0&&this.options.processEntities)for(let e=0;e {\nreturn ","// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","'use strict';\n\nconst nameStartChar = ':A-Za-z_\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD';\nconst nameChar = nameStartChar + '\\\\-.\\\\d\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040';\nexport const nameRegexp = '[' + nameStartChar + '][' + nameChar + ']*';\nconst regexName = new RegExp('^' + nameRegexp + '$');\n\nexport function getAllMatches(string, regex) {\n const matches = [];\n let match = regex.exec(string);\n while (match) {\n const allmatches = [];\n allmatches.startIndex = regex.lastIndex - match[0].length;\n const len = match.length;\n for (let index = 0; index < len; index++) {\n allmatches.push(match[index]);\n }\n matches.push(allmatches);\n match = regex.exec(string);\n }\n return matches;\n}\n\nexport const isName = function (string) {\n const match = regexName.exec(string);\n return !(match === null || typeof match === 'undefined');\n}\n\nexport function isExist(v) {\n return typeof v !== 'undefined';\n}\n\nexport function isEmptyObject(obj) {\n return Object.keys(obj).length === 0;\n}\n\nexport function getValue(v) {\n if (exports.isExist(v)) {\n return v;\n } else {\n return '';\n }\n}\n\n/**\n * Dangerous property names that could lead to prototype pollution or security issues\n */\nexport const DANGEROUS_PROPERTY_NAMES = [\n // '__proto__',\n // 'constructor',\n // 'prototype',\n 'hasOwnProperty',\n 'toString',\n 'valueOf',\n '__defineGetter__',\n '__defineSetter__',\n '__lookupGetter__',\n '__lookupSetter__'\n];\n\nexport const criticalProperties = [\"__proto__\", \"constructor\", \"prototype\"];","'use strict';\n\nimport { getAllMatches, isName } from './util.js';\n\nconst defaultOptions = {\n allowBooleanAttributes: false, //A tag can have attributes without any value\n unpairedTags: []\n};\n\n//const tagsPattern = new RegExp(\"<\\\\/?([\\\\w:\\\\-_\\.]+)\\\\s*\\/?>\",\"g\");\nexport function validate(xmlData, options) {\n options = Object.assign({}, defaultOptions, options);\n\n //xmlData = xmlData.replace(/(\\r\\n|\\n|\\r)/gm,\"\");//make it single line\n //xmlData = xmlData.replace(/(^\\s*<\\?xml.*?\\?>)/g,\"\");//Remove XML starting tag\n //xmlData = xmlData.replace(/()/g,\"\");//Remove DOCTYPE\n const tags = [];\n let tagFound = false;\n\n //indicates that the root tag has been closed (aka. depth 0 has been reached)\n let reachedRoot = false;\n\n if (xmlData[0] === '\\ufeff') {\n // check for byte order mark (BOM)\n xmlData = xmlData.substr(1);\n }\n\n for (let i = 0; i < xmlData.length; i++) {\n\n if (xmlData[i] === '<' && xmlData[i + 1] === '?') {\n i += 2;\n i = readPI(xmlData, i);\n if (i.err) return i;\n } else if (xmlData[i] === '<') {\n //starting of tag\n //read until you reach to '>' avoiding any '>' in attribute value\n let tagStartPos = i;\n i++;\n\n if (xmlData[i] === '!') {\n i = readCommentAndCDATA(xmlData, i);\n continue;\n } else {\n let closingTag = false;\n if (xmlData[i] === '/') {\n //closing tag\n closingTag = true;\n i++;\n }\n //read tagname\n let tagName = '';\n for (; i < xmlData.length &&\n xmlData[i] !== '>' &&\n xmlData[i] !== ' ' &&\n xmlData[i] !== '\\t' &&\n xmlData[i] !== '\\n' &&\n xmlData[i] !== '\\r'; i++\n ) {\n tagName += xmlData[i];\n }\n tagName = tagName.trim();\n //console.log(tagName);\n\n if (tagName[tagName.length - 1] === '/') {\n //self closing tag without attributes\n tagName = tagName.substring(0, tagName.length - 1);\n //continue;\n i--;\n }\n if (!validateTagName(tagName)) {\n let msg;\n if (tagName.trim().length === 0) {\n msg = \"Invalid space after '<'.\";\n } else {\n msg = \"Tag '\" + tagName + \"' is an invalid name.\";\n }\n return getErrorObject('InvalidTag', msg, getLineNumberForPosition(xmlData, i));\n }\n\n const result = readAttributeStr(xmlData, i);\n if (result === false) {\n return getErrorObject('InvalidAttr', \"Attributes for '\" + tagName + \"' have open quote.\", getLineNumberForPosition(xmlData, i));\n }\n let attrStr = result.value;\n i = result.index;\n\n if (attrStr[attrStr.length - 1] === '/') {\n //self closing tag\n const attrStrStart = i - attrStr.length;\n attrStr = attrStr.substring(0, attrStr.length - 1);\n const isValid = validateAttributeString(attrStr, options);\n if (isValid === true) {\n tagFound = true;\n //continue; //text may presents after self closing tag\n } else {\n //the result from the nested function returns the position of the error within the attribute\n //in order to get the 'true' error line, we need to calculate the position where the attribute begins (i - attrStr.length) and then add the position within the attribute\n //this gives us the absolute index in the entire xml, which we can use to find the line at last\n return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, attrStrStart + isValid.err.line));\n }\n } else if (closingTag) {\n if (!result.tagClosed) {\n return getErrorObject('InvalidTag', \"Closing tag '\" + tagName + \"' doesn't have proper closing.\", getLineNumberForPosition(xmlData, i));\n } else if (attrStr.trim().length > 0) {\n return getErrorObject('InvalidTag', \"Closing tag '\" + tagName + \"' can't have attributes or invalid starting.\", getLineNumberForPosition(xmlData, tagStartPos));\n } else if (tags.length === 0) {\n return getErrorObject('InvalidTag', \"Closing tag '\" + tagName + \"' has not been opened.\", getLineNumberForPosition(xmlData, tagStartPos));\n } else {\n const otg = tags.pop();\n if (tagName !== otg.tagName) {\n let openPos = getLineNumberForPosition(xmlData, otg.tagStartPos);\n return getErrorObject('InvalidTag',\n \"Expected closing tag '\" + otg.tagName + \"' (opened in line \" + openPos.line + \", col \" + openPos.col + \") instead of closing tag '\" + tagName + \"'.\",\n getLineNumberForPosition(xmlData, tagStartPos));\n }\n\n //when there are no more tags, we reached the root level.\n if (tags.length == 0) {\n reachedRoot = true;\n }\n }\n } else {\n const isValid = validateAttributeString(attrStr, options);\n if (isValid !== true) {\n //the result from the nested function returns the position of the error within the attribute\n //in order to get the 'true' error line, we need to calculate the position where the attribute begins (i - attrStr.length) and then add the position within the attribute\n //this gives us the absolute index in the entire xml, which we can use to find the line at last\n return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, i - attrStr.length + isValid.err.line));\n }\n\n //if the root level has been reached before ...\n if (reachedRoot === true) {\n return getErrorObject('InvalidXml', 'Multiple possible root nodes found.', getLineNumberForPosition(xmlData, i));\n } else if (options.unpairedTags.indexOf(tagName) !== -1) {\n //don't push into stack\n } else {\n tags.push({ tagName, tagStartPos });\n }\n tagFound = true;\n }\n\n //skip tag text value\n //It may include comments and CDATA value\n for (i++; i < xmlData.length; i++) {\n if (xmlData[i] === '<') {\n if (xmlData[i + 1] === '!') {\n //comment or CADATA\n i++;\n i = readCommentAndCDATA(xmlData, i);\n continue;\n } else if (xmlData[i + 1] === '?') {\n i = readPI(xmlData, ++i);\n if (i.err) return i;\n } else {\n break;\n }\n } else if (xmlData[i] === '&') {\n const afterAmp = validateAmpersand(xmlData, i);\n if (afterAmp == -1)\n return getErrorObject('InvalidChar', \"char '&' is not expected.\", getLineNumberForPosition(xmlData, i));\n i = afterAmp;\n } else {\n if (reachedRoot === true && !isWhiteSpace(xmlData[i])) {\n return getErrorObject('InvalidXml', \"Extra text at the end\", getLineNumberForPosition(xmlData, i));\n }\n }\n } //end of reading tag text value\n if (xmlData[i] === '<') {\n i--;\n }\n }\n } else {\n if (isWhiteSpace(xmlData[i])) {\n continue;\n }\n return getErrorObject('InvalidChar', \"char '\" + xmlData[i] + \"' is not expected.\", getLineNumberForPosition(xmlData, i));\n }\n }\n\n if (!tagFound) {\n return getErrorObject('InvalidXml', 'Start tag expected.', 1);\n } else if (tags.length == 1) {\n return getErrorObject('InvalidTag', \"Unclosed tag '\" + tags[0].tagName + \"'.\", getLineNumberForPosition(xmlData, tags[0].tagStartPos));\n } else if (tags.length > 0) {\n return getErrorObject('InvalidXml', \"Invalid '\" +\n JSON.stringify(tags.map(t => t.tagName), null, 4).replace(/\\r?\\n/g, '') +\n \"' found.\", { line: 1, col: 1 });\n }\n\n return true;\n};\n\nfunction isWhiteSpace(char) {\n return char === ' ' || char === '\\t' || char === '\\n' || char === '\\r';\n}\n/**\n * Read Processing insstructions and skip\n * @param {*} xmlData\n * @param {*} i\n */\nfunction readPI(xmlData, i) {\n const start = i;\n for (; i < xmlData.length; i++) {\n if (xmlData[i] == '?' || xmlData[i] == ' ') {\n //tagname\n const tagname = xmlData.substr(start, i - start);\n if (i > 5 && tagname === 'xml') {\n return getErrorObject('InvalidXml', 'XML declaration allowed only at the start of the document.', getLineNumberForPosition(xmlData, i));\n } else if (xmlData[i] == '?' && xmlData[i + 1] == '>') {\n //check if valid attribut string\n i++;\n break;\n } else {\n continue;\n }\n }\n }\n return i;\n}\n\nfunction readCommentAndCDATA(xmlData, i) {\n if (xmlData.length > i + 5 && xmlData[i + 1] === '-' && xmlData[i + 2] === '-') {\n //comment\n for (i += 3; i < xmlData.length; i++) {\n if (xmlData[i] === '-' && xmlData[i + 1] === '-' && xmlData[i + 2] === '>') {\n i += 2;\n break;\n }\n }\n } else if (\n xmlData.length > i + 8 &&\n xmlData[i + 1] === 'D' &&\n xmlData[i + 2] === 'O' &&\n xmlData[i + 3] === 'C' &&\n xmlData[i + 4] === 'T' &&\n xmlData[i + 5] === 'Y' &&\n xmlData[i + 6] === 'P' &&\n xmlData[i + 7] === 'E'\n ) {\n let angleBracketsCount = 1;\n for (i += 8; i < xmlData.length; i++) {\n if (xmlData[i] === '<') {\n angleBracketsCount++;\n } else if (xmlData[i] === '>') {\n angleBracketsCount--;\n if (angleBracketsCount === 0) {\n break;\n }\n }\n }\n } else if (\n xmlData.length > i + 9 &&\n xmlData[i + 1] === '[' &&\n xmlData[i + 2] === 'C' &&\n xmlData[i + 3] === 'D' &&\n xmlData[i + 4] === 'A' &&\n xmlData[i + 5] === 'T' &&\n xmlData[i + 6] === 'A' &&\n xmlData[i + 7] === '['\n ) {\n for (i += 8; i < xmlData.length; i++) {\n if (xmlData[i] === ']' && xmlData[i + 1] === ']' && xmlData[i + 2] === '>') {\n i += 2;\n break;\n }\n }\n }\n\n return i;\n}\n\nconst doubleQuote = '\"';\nconst singleQuote = \"'\";\n\n/**\n * Keep reading xmlData until '<' is found outside the attribute value.\n * @param {string} xmlData\n * @param {number} i\n */\nfunction readAttributeStr(xmlData, i) {\n let attrStr = '';\n let startChar = '';\n let tagClosed = false;\n for (; i < xmlData.length; i++) {\n if (xmlData[i] === doubleQuote || xmlData[i] === singleQuote) {\n if (startChar === '') {\n startChar = xmlData[i];\n } else if (startChar !== xmlData[i]) {\n //if vaue is enclosed with double quote then single quotes are allowed inside the value and vice versa\n } else {\n startChar = '';\n }\n } else if (xmlData[i] === '>') {\n if (startChar === '') {\n tagClosed = true;\n break;\n }\n }\n attrStr += xmlData[i];\n }\n if (startChar !== '') {\n return false;\n }\n\n return {\n value: attrStr,\n index: i,\n tagClosed: tagClosed\n };\n}\n\n/**\n * Select all the attributes whether valid or invalid.\n */\nconst validAttrStrRegxp = new RegExp('(\\\\s*)([^\\\\s=]+)(\\\\s*=)?(\\\\s*([\\'\"])(([\\\\s\\\\S])*?)\\\\5)?', 'g');\n\n//attr, =\"sd\", a=\"amit's\", a=\"sd\"b=\"saf\", ab cd=\"\"\n\nfunction validateAttributeString(attrStr, options) {\n //console.log(\"start:\"+attrStr+\":end\");\n\n //if(attrStr.trim().length === 0) return true; //empty string\n\n const matches = getAllMatches(attrStr, validAttrStrRegxp);\n const attrNames = {};\n\n for (let i = 0; i < matches.length; i++) {\n if (matches[i][1].length === 0) {\n //nospace before attribute name: a=\"sd\"b=\"saf\"\n return getErrorObject('InvalidAttr', \"Attribute '\" + matches[i][2] + \"' has no space in starting.\", getPositionFromMatch(matches[i]))\n } else if (matches[i][3] !== undefined && matches[i][4] === undefined) {\n return getErrorObject('InvalidAttr', \"Attribute '\" + matches[i][2] + \"' is without value.\", getPositionFromMatch(matches[i]));\n } else if (matches[i][3] === undefined && !options.allowBooleanAttributes) {\n //independent attribute: ab\n return getErrorObject('InvalidAttr', \"boolean attribute '\" + matches[i][2] + \"' is not allowed.\", getPositionFromMatch(matches[i]));\n }\n /* else if(matches[i][6] === undefined){//attribute without value: ab=\n return { err: { code:\"InvalidAttr\",msg:\"attribute \" + matches[i][2] + \" has no value assigned.\"}};\n } */\n const attrName = matches[i][2];\n if (!validateAttrName(attrName)) {\n return getErrorObject('InvalidAttr', \"Attribute '\" + attrName + \"' is an invalid name.\", getPositionFromMatch(matches[i]));\n }\n if (!Object.prototype.hasOwnProperty.call(attrNames, attrName)) {\n //check for duplicate attribute.\n attrNames[attrName] = 1;\n } else {\n return getErrorObject('InvalidAttr', \"Attribute '\" + attrName + \"' is repeated.\", getPositionFromMatch(matches[i]));\n }\n }\n\n return true;\n}\n\nfunction validateNumberAmpersand(xmlData, i) {\n let re = /\\d/;\n if (xmlData[i] === 'x') {\n i++;\n re = /[\\da-fA-F]/;\n }\n for (; i < xmlData.length; i++) {\n if (xmlData[i] === ';')\n return i;\n if (!xmlData[i].match(re))\n break;\n }\n return -1;\n}\n\nfunction validateAmpersand(xmlData, i) {\n // https://www.w3.org/TR/xml/#dt-charref\n i++;\n if (xmlData[i] === ';')\n return -1;\n if (xmlData[i] === '#') {\n i++;\n return validateNumberAmpersand(xmlData, i);\n }\n let count = 0;\n for (; i < xmlData.length; i++, count++) {\n if (xmlData[i].match(/\\w/) && count < 20)\n continue;\n if (xmlData[i] === ';')\n break;\n return -1;\n }\n return i;\n}\n\nfunction getErrorObject(code, message, lineNumber) {\n return {\n err: {\n code: code,\n msg: message,\n line: lineNumber.line || lineNumber,\n col: lineNumber.col,\n },\n };\n}\n\nfunction validateAttrName(attrName) {\n return isName(attrName);\n}\n\n// const startsWithXML = /^xml/i;\n\nfunction validateTagName(tagname) {\n return isName(tagname) /* && !tagname.match(startsWithXML) */;\n}\n\n//this function returns the line number for the character at the given index\nfunction getLineNumberForPosition(xmlData, index) {\n const lines = xmlData.substring(0, index).split(/\\r?\\n/);\n return {\n line: lines.length,\n\n // column number is last line's length + 1, because column numbering starts at 1:\n col: lines[lines.length - 1].length + 1\n };\n}\n\n//this function returns the position of the first character of match within attrStr\nfunction getPositionFromMatch(match) {\n return match.startIndex + match[1].length;\n}\n","import { DANGEROUS_PROPERTY_NAMES, criticalProperties } from \"../util.js\";\n\nconst defaultOnDangerousProperty = (name) => {\n if (DANGEROUS_PROPERTY_NAMES.includes(name)) {\n return \"__\" + name;\n }\n return name;\n};\n\n\nexport const defaultOptions = {\n preserveOrder: false,\n attributeNamePrefix: '@_',\n attributesGroupName: false,\n textNodeName: '#text',\n ignoreAttributes: true,\n removeNSPrefix: false, // remove NS from tag name or attribute name if true\n allowBooleanAttributes: false, //a tag can have attributes without any value\n //ignoreRootElement : false,\n parseTagValue: true,\n parseAttributeValue: false,\n trimValues: true, //Trim string values of tag and attributes\n cdataPropName: false,\n numberParseOptions: {\n hex: true,\n leadingZeros: true,\n eNotation: true\n },\n tagValueProcessor: function (tagName, val) {\n return val;\n },\n attributeValueProcessor: function (attrName, val) {\n return val;\n },\n stopNodes: [], //nested tags will not be parsed even for errors\n alwaysCreateTextNode: false,\n isArray: () => false,\n commentPropName: false,\n unpairedTags: [],\n processEntities: true,\n htmlEntities: false,\n ignoreDeclaration: false,\n ignorePiTags: false,\n transformTagName: false,\n transformAttributeName: false,\n updateTag: function (tagName, jPath, attrs) {\n return tagName\n },\n // skipEmptyListItem: false\n captureMetaData: false,\n maxNestedTags: 100,\n strictReservedNames: true,\n jPath: true, // if true, pass jPath string to callbacks; if false, pass matcher instance\n onDangerousProperty: defaultOnDangerousProperty\n};\n\n\n/**\n * Validates that a property name is safe to use\n * @param {string} propertyName - The property name to validate\n * @param {string} optionName - The option field name (for error message)\n * @throws {Error} If property name is dangerous\n */\nfunction validatePropertyName(propertyName, optionName) {\n if (typeof propertyName !== 'string') {\n return; // Only validate string property names\n }\n\n const normalized = propertyName.toLowerCase();\n if (DANGEROUS_PROPERTY_NAMES.some(dangerous => normalized === dangerous.toLowerCase())) {\n throw new Error(\n `[SECURITY] Invalid ${optionName}: \"${propertyName}\" is a reserved JavaScript keyword that could cause prototype pollution`\n );\n }\n\n if (criticalProperties.some(dangerous => normalized === dangerous.toLowerCase())) {\n throw new Error(\n `[SECURITY] Invalid ${optionName}: \"${propertyName}\" is a reserved JavaScript keyword that could cause prototype pollution`\n );\n }\n}\n\n/**\n * Normalizes processEntities option for backward compatibility\n * @param {boolean|object} value \n * @returns {object} Always returns normalized object\n */\nfunction normalizeProcessEntities(value) {\n // Boolean backward compatibility\n if (typeof value === 'boolean') {\n return {\n enabled: value, // true or false\n maxEntitySize: 10000,\n maxExpansionDepth: 10,\n maxTotalExpansions: 1000,\n maxExpandedLength: 100000,\n maxEntityCount: 100,\n allowedTags: null,\n tagFilter: null\n };\n }\n\n // Object config - merge with defaults\n if (typeof value === 'object' && value !== null) {\n return {\n enabled: value.enabled !== false,\n maxEntitySize: Math.max(1, value.maxEntitySize ?? 10000),\n maxExpansionDepth: Math.max(1, value.maxExpansionDepth ?? 10),\n maxTotalExpansions: Math.max(1, value.maxTotalExpansions ?? 1000),\n maxExpandedLength: Math.max(1, value.maxExpandedLength ?? 100000),\n maxEntityCount: Math.max(1, value.maxEntityCount ?? 100),\n allowedTags: value.allowedTags ?? null,\n tagFilter: value.tagFilter ?? null\n };\n }\n\n // Default to enabled with limits\n return normalizeProcessEntities(true);\n}\n\nexport const buildOptions = function (options) {\n const built = Object.assign({}, defaultOptions, options);\n\n // Validate property names to prevent prototype pollution\n const propertyNameOptions = [\n { value: built.attributeNamePrefix, name: 'attributeNamePrefix' },\n { value: built.attributesGroupName, name: 'attributesGroupName' },\n { value: built.textNodeName, name: 'textNodeName' },\n { value: built.cdataPropName, name: 'cdataPropName' },\n { value: built.commentPropName, name: 'commentPropName' }\n ];\n\n for (const { value, name } of propertyNameOptions) {\n if (value) {\n validatePropertyName(value, name);\n }\n }\n\n if (built.onDangerousProperty === null) {\n built.onDangerousProperty = defaultOnDangerousProperty;\n }\n\n // Always normalize processEntities for backward compatibility and validation\n built.processEntities = normalizeProcessEntities(built.processEntities);\n\n // Convert old-style stopNodes for backward compatibility\n if (built.stopNodes && Array.isArray(built.stopNodes)) {\n built.stopNodes = built.stopNodes.map(node => {\n if (typeof node === 'string' && node.startsWith('*.')) {\n // Old syntax: *.tagname meant \"tagname anywhere\"\n // Convert to new syntax: ..tagname\n return '..' + node.substring(2);\n }\n return node;\n });\n }\n //console.debug(built.processEntities)\n return built;\n};","'use strict';\n\nlet METADATA_SYMBOL;\n\nif (typeof Symbol !== \"function\") {\n METADATA_SYMBOL = \"@@xmlMetadata\";\n} else {\n METADATA_SYMBOL = Symbol(\"XML Node Metadata\");\n}\n\nexport default class XmlNode {\n constructor(tagname) {\n this.tagname = tagname;\n this.child = []; //nested tags, text, cdata, comments in order\n this[\":@\"] = Object.create(null); //attributes map\n }\n add(key, val) {\n // this.child.push( {name : key, val: val, isCdata: isCdata });\n if (key === \"__proto__\") key = \"#__proto__\";\n this.child.push({ [key]: val });\n }\n addChild(node, startIndex) {\n if (node.tagname === \"__proto__\") node.tagname = \"#__proto__\";\n if (node[\":@\"] && Object.keys(node[\":@\"]).length > 0) {\n this.child.push({ [node.tagname]: node.child, [\":@\"]: node[\":@\"] });\n } else {\n this.child.push({ [node.tagname]: node.child });\n }\n // if requested, add the startIndex\n if (startIndex !== undefined) {\n // Note: for now we just overwrite the metadata. If we had more complex metadata,\n // we might need to do an object append here: metadata = { ...metadata, startIndex }\n this.child[this.child.length - 1][METADATA_SYMBOL] = { startIndex };\n }\n }\n /** symbol used for metadata */\n static getMetaDataSymbol() {\n return METADATA_SYMBOL;\n }\n}\n","import { isName } from '../util.js';\n\nexport default class DocTypeReader {\n constructor(options) {\n this.suppressValidationErr = !options;\n this.options = options;\n }\n\n readDocType(xmlData, i) {\n const entities = Object.create(null);\n let entityCount = 0;\n\n if (xmlData[i + 3] === 'O' &&\n xmlData[i + 4] === 'C' &&\n xmlData[i + 5] === 'T' &&\n xmlData[i + 6] === 'Y' &&\n xmlData[i + 7] === 'P' &&\n xmlData[i + 8] === 'E') {\n i = i + 9;\n let angleBracketsCount = 1;\n let hasBody = false, comment = false;\n let exp = \"\";\n for (; i < xmlData.length; i++) {\n if (xmlData[i] === '<' && !comment) { //Determine the tag type\n if (hasBody && hasSeq(xmlData, \"!ENTITY\", i)) {\n i += 7;\n let entityName, val;\n [entityName, val, i] = this.readEntityExp(xmlData, i + 1, this.suppressValidationErr);\n if (val.indexOf(\"&\") === -1) { //Parameter entities are not supported\n if (this.options.enabled !== false &&\n this.options.maxEntityCount != null &&\n entityCount >= this.options.maxEntityCount) {\n throw new Error(\n `Entity count (${entityCount + 1}) exceeds maximum allowed (${this.options.maxEntityCount})`\n );\n }\n //const escaped = entityName.replace(/[.\\-+*:]/g, '\\\\.');\n const escaped = entityName.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n entities[entityName] = {\n regx: RegExp(`&${escaped};`, \"g\"),\n val: val\n };\n entityCount++;\n }\n }\n else if (hasBody && hasSeq(xmlData, \"!ELEMENT\", i)) {\n i += 8;//Not supported\n const { index } = this.readElementExp(xmlData, i + 1);\n i = index;\n } else if (hasBody && hasSeq(xmlData, \"!ATTLIST\", i)) {\n i += 8;//Not supported\n // const {index} = this.readAttlistExp(xmlData,i+1);\n // i = index;\n } else if (hasBody && hasSeq(xmlData, \"!NOTATION\", i)) {\n i += 9;//Not supported\n const { index } = this.readNotationExp(xmlData, i + 1, this.suppressValidationErr);\n i = index;\n } else if (hasSeq(xmlData, \"!--\", i)) comment = true;\n else throw new Error(`Invalid DOCTYPE`);\n\n angleBracketsCount++;\n exp = \"\";\n } else if (xmlData[i] === '>') { //Read tag content\n if (comment) {\n if (xmlData[i - 1] === \"-\" && xmlData[i - 2] === \"-\") {\n comment = false;\n angleBracketsCount--;\n }\n } else {\n angleBracketsCount--;\n }\n if (angleBracketsCount === 0) {\n break;\n }\n } else if (xmlData[i] === '[') {\n hasBody = true;\n } else {\n exp += xmlData[i];\n }\n }\n if (angleBracketsCount !== 0) {\n throw new Error(`Unclosed DOCTYPE`);\n }\n } else {\n throw new Error(`Invalid Tag instead of DOCTYPE`);\n }\n return { entities, i };\n }\n readEntityExp(xmlData, i) {\n //External entities are not supported\n // \n\n //Parameter entities are not supported\n // \n\n //Internal entities are supported\n // \n\n // Skip leading whitespace after this.options.maxEntitySize) {\n throw new Error(\n `Entity \"${entityName}\" size (${entityValue.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`\n );\n }\n\n i--;\n return [entityName, entityValue, i];\n }\n\n readNotationExp(xmlData, i) {\n // Skip leading whitespace after \n // \n // \n // \n // \n\n // Skip leading whitespace after {\n while (index < data.length && /\\s/.test(data[index])) {\n index++;\n }\n return index;\n};\n\n\n\nfunction hasSeq(data, seq, i) {\n for (let j = 0; j < seq.length; j++) {\n if (seq[j] !== data[i + j + 1]) return false;\n }\n return true;\n}\n\nfunction validateEntityName(name) {\n if (isName(name))\n return name;\n else\n throw new Error(`Invalid entity name ${name}`);\n}","const hexRegex = /^[-+]?0x[a-fA-F0-9]+$/;\nconst numRegex = /^([\\-\\+])?(0*)([0-9]*(\\.[0-9]*)?)$/;\n// const octRegex = /^0x[a-z0-9]+/;\n// const binRegex = /0x[a-z0-9]+/;\n\n\nconst consider = {\n hex: true,\n // oct: false,\n leadingZeros: true,\n decimalPoint: \"\\.\",\n eNotation: true,\n //skipLike: /regex/,\n infinity: \"original\", // \"null\", \"infinity\" (Infinity type), \"string\" (\"Infinity\" (the string literal))\n};\n\nexport default function toNumber(str, options = {}) {\n options = Object.assign({}, consider, options);\n if (!str || typeof str !== \"string\") return str;\n\n let trimmedStr = str.trim();\n\n if (options.skipLike !== undefined && options.skipLike.test(trimmedStr)) return str;\n else if (str === \"0\") return 0;\n else if (options.hex && hexRegex.test(trimmedStr)) {\n return parse_int(trimmedStr, 16);\n // }else if (options.oct && octRegex.test(str)) {\n // return Number.parseInt(val, 8);\n } else if (!isFinite(trimmedStr)) { //Infinity\n return handleInfinity(str, Number(trimmedStr), options);\n } else if (trimmedStr.includes('e') || trimmedStr.includes('E')) { //eNotation\n return resolveEnotation(str, trimmedStr, options);\n // }else if (options.parseBin && binRegex.test(str)) {\n // return Number.parseInt(val, 2);\n } else {\n //separate negative sign, leading zeros, and rest number\n const match = numRegex.exec(trimmedStr);\n // +00.123 => [ , '+', '00', '.123', ..\n if (match) {\n const sign = match[1] || \"\";\n const leadingZeros = match[2];\n let numTrimmedByZeros = trimZeros(match[3]); //complete num without leading zeros\n const decimalAdjacentToLeadingZeros = sign ? // 0., -00., 000.\n str[leadingZeros.length + 1] === \".\"\n : str[leadingZeros.length] === \".\";\n\n //trim ending zeros for floating number\n if (!options.leadingZeros //leading zeros are not allowed\n && (leadingZeros.length > 1\n || (leadingZeros.length === 1 && !decimalAdjacentToLeadingZeros))) {\n // 00, 00.3, +03.24, 03, 03.24\n return str;\n }\n else {//no leading zeros or leading zeros are allowed\n const num = Number(trimmedStr);\n const parsedStr = String(num);\n\n if (num === 0) return num;\n if (parsedStr.search(/[eE]/) !== -1) { //given number is long and parsed to eNotation\n if (options.eNotation) return num;\n else return str;\n } else if (trimmedStr.indexOf(\".\") !== -1) { //floating number\n if (parsedStr === \"0\") return num; //0.0\n else if (parsedStr === numTrimmedByZeros) return num; //0.456. 0.79000\n else if (parsedStr === `${sign}${numTrimmedByZeros}`) return num;\n else return str;\n }\n\n let n = leadingZeros ? numTrimmedByZeros : trimmedStr;\n if (leadingZeros) {\n // -009 => -9\n return (n === parsedStr) || (sign + n === parsedStr) ? num : str\n } else {\n // +9\n return (n === parsedStr) || (n === sign + parsedStr) ? num : str\n }\n }\n } else { //non-numeric string\n return str;\n }\n }\n}\n\nconst eNotationRegx = /^([-+])?(0*)(\\d*(\\.\\d*)?[eE][-\\+]?\\d+)$/;\nfunction resolveEnotation(str, trimmedStr, options) {\n if (!options.eNotation) return str;\n const notation = trimmedStr.match(eNotationRegx);\n if (notation) {\n let sign = notation[1] || \"\";\n const eChar = notation[3].indexOf(\"e\") === -1 ? \"E\" : \"e\";\n const leadingZeros = notation[2];\n const eAdjacentToLeadingZeros = sign ? // 0E.\n str[leadingZeros.length + 1] === eChar\n : str[leadingZeros.length] === eChar;\n\n if (leadingZeros.length > 1 && eAdjacentToLeadingZeros) return str;\n else if (leadingZeros.length === 1\n && (notation[3].startsWith(`.${eChar}`) || notation[3][0] === eChar)) {\n return Number(trimmedStr);\n } else if (leadingZeros.length > 0) {\n // Has leading zeros — only accept if leadingZeros option allows it\n if (options.leadingZeros && !eAdjacentToLeadingZeros) {\n trimmedStr = (notation[1] || \"\") + notation[3];\n return Number(trimmedStr);\n } else return str;\n } else {\n // No leading zeros — always valid e-notation, parse it\n return Number(trimmedStr);\n }\n } else {\n return str;\n }\n}\n\n/**\n * \n * @param {string} numStr without leading zeros\n * @returns \n */\nfunction trimZeros(numStr) {\n if (numStr && numStr.indexOf(\".\") !== -1) {//float\n numStr = numStr.replace(/0+$/, \"\"); //remove ending zeros\n if (numStr === \".\") numStr = \"0\";\n else if (numStr[0] === \".\") numStr = \"0\" + numStr;\n else if (numStr[numStr.length - 1] === \".\") numStr = numStr.substring(0, numStr.length - 1);\n return numStr;\n }\n return numStr;\n}\n\nfunction parse_int(numStr, base) {\n //polyfill\n if (parseInt) return parseInt(numStr, base);\n else if (Number.parseInt) return Number.parseInt(numStr, base);\n else if (window && window.parseInt) return window.parseInt(numStr, base);\n else throw new Error(\"parseInt, Number.parseInt, window.parseInt are not supported\")\n}\n\n/**\n * Handle infinite values based on user option\n * @param {string} str - original input string\n * @param {number} num - parsed number (Infinity or -Infinity)\n * @param {object} options - user options\n * @returns {string|number|null} based on infinity option\n */\nfunction handleInfinity(str, num, options) {\n const isPositive = num === Infinity;\n\n switch (options.infinity.toLowerCase()) {\n case \"null\":\n return null;\n case \"infinity\":\n return num; // Return Infinity or -Infinity\n case \"string\":\n return isPositive ? \"Infinity\" : \"-Infinity\";\n case \"original\":\n default:\n return str; // Return original string like \"1e1000\"\n }\n}","/**\n * Matcher - Tracks current path in XML/JSON tree and matches against Expressions\n * \n * The matcher maintains a stack of nodes representing the current path from root to\n * current tag. It only stores attribute values for the current (top) node to minimize\n * memory usage. Sibling tracking is used to auto-calculate position and counter.\n * \n * @example\n * const matcher = new Matcher();\n * matcher.push(\"root\", {});\n * matcher.push(\"users\", {});\n * matcher.push(\"user\", { id: \"123\", type: \"admin\" });\n * \n * const expr = new Expression(\"root.users.user\");\n * matcher.matches(expr); // true\n */\n\n/**\n * Names of methods that mutate Matcher state.\n * Any attempt to call these on a read-only view throws a TypeError.\n * @type {Set}\n */\nconst MUTATING_METHODS = new Set(['push', 'pop', 'reset', 'updateCurrent', 'restore']);\n\nexport default class Matcher {\n /**\n * Create a new Matcher\n * @param {Object} options - Configuration options\n * @param {string} options.separator - Default path separator (default: '.')\n */\n constructor(options = {}) {\n this.separator = options.separator || '.';\n this.path = [];\n this.siblingStacks = [];\n // Each path node: { tag: string, values: object, position: number, counter: number }\n // values only present for current (last) node\n // Each siblingStacks entry: Map tracking occurrences at each level\n }\n\n /**\n * Push a new tag onto the path\n * @param {string} tagName - Name of the tag\n * @param {Object} attrValues - Attribute key-value pairs for current node (optional)\n * @param {string} namespace - Namespace for the tag (optional)\n */\n push(tagName, attrValues = null, namespace = null) {\n // Remove values from previous current node (now becoming ancestor)\n if (this.path.length > 0) {\n const prev = this.path[this.path.length - 1];\n prev.values = undefined;\n }\n\n // Get or create sibling tracking for current level\n const currentLevel = this.path.length;\n if (!this.siblingStacks[currentLevel]) {\n this.siblingStacks[currentLevel] = new Map();\n }\n\n const siblings = this.siblingStacks[currentLevel];\n\n // Create a unique key for sibling tracking that includes namespace\n const siblingKey = namespace ? `${namespace}:${tagName}` : tagName;\n\n // Calculate counter (how many times this tag appeared at this level)\n const counter = siblings.get(siblingKey) || 0;\n\n // Calculate position (total children at this level so far)\n let position = 0;\n for (const count of siblings.values()) {\n position += count;\n }\n\n // Update sibling count for this tag\n siblings.set(siblingKey, counter + 1);\n\n // Create new node\n const node = {\n tag: tagName,\n position: position,\n counter: counter\n };\n\n // Store namespace if provided\n if (namespace !== null && namespace !== undefined) {\n node.namespace = namespace;\n }\n\n // Store values only for current node\n if (attrValues !== null && attrValues !== undefined) {\n node.values = attrValues;\n }\n\n this.path.push(node);\n }\n\n /**\n * Pop the last tag from the path\n * @returns {Object|undefined} The popped node\n */\n pop() {\n if (this.path.length === 0) {\n return undefined;\n }\n\n const node = this.path.pop();\n\n // Clean up sibling tracking for levels deeper than current\n // After pop, path.length is the new depth\n // We need to clean up siblingStacks[path.length + 1] and beyond\n if (this.siblingStacks.length > this.path.length + 1) {\n this.siblingStacks.length = this.path.length + 1;\n }\n\n return node;\n }\n\n /**\n * Update current node's attribute values\n * Useful when attributes are parsed after push\n * @param {Object} attrValues - Attribute values\n */\n updateCurrent(attrValues) {\n if (this.path.length > 0) {\n const current = this.path[this.path.length - 1];\n if (attrValues !== null && attrValues !== undefined) {\n current.values = attrValues;\n }\n }\n }\n\n /**\n * Get current tag name\n * @returns {string|undefined}\n */\n getCurrentTag() {\n return this.path.length > 0 ? this.path[this.path.length - 1].tag : undefined;\n }\n\n /**\n * Get current namespace\n * @returns {string|undefined}\n */\n getCurrentNamespace() {\n return this.path.length > 0 ? this.path[this.path.length - 1].namespace : undefined;\n }\n\n /**\n * Get current node's attribute value\n * @param {string} attrName - Attribute name\n * @returns {*} Attribute value or undefined\n */\n getAttrValue(attrName) {\n if (this.path.length === 0) return undefined;\n const current = this.path[this.path.length - 1];\n return current.values?.[attrName];\n }\n\n /**\n * Check if current node has an attribute\n * @param {string} attrName - Attribute name\n * @returns {boolean}\n */\n hasAttr(attrName) {\n if (this.path.length === 0) return false;\n const current = this.path[this.path.length - 1];\n return current.values !== undefined && attrName in current.values;\n }\n\n /**\n * Get current node's sibling position (child index in parent)\n * @returns {number}\n */\n getPosition() {\n if (this.path.length === 0) return -1;\n return this.path[this.path.length - 1].position ?? 0;\n }\n\n /**\n * Get current node's repeat counter (occurrence count of this tag name)\n * @returns {number}\n */\n getCounter() {\n if (this.path.length === 0) return -1;\n return this.path[this.path.length - 1].counter ?? 0;\n }\n\n /**\n * Get current node's sibling index (alias for getPosition for backward compatibility)\n * @returns {number}\n * @deprecated Use getPosition() or getCounter() instead\n */\n getIndex() {\n return this.getPosition();\n }\n\n /**\n * Get current path depth\n * @returns {number}\n */\n getDepth() {\n return this.path.length;\n }\n\n /**\n * Get path as string\n * @param {string} separator - Optional separator (uses default if not provided)\n * @param {boolean} includeNamespace - Whether to include namespace in output (default: true)\n * @returns {string}\n */\n toString(separator, includeNamespace = true) {\n const sep = separator || this.separator;\n return this.path.map(n => {\n if (includeNamespace && n.namespace) {\n return `${n.namespace}:${n.tag}`;\n }\n return n.tag;\n }).join(sep);\n }\n\n /**\n * Get path as array of tag names\n * @returns {string[]}\n */\n toArray() {\n return this.path.map(n => n.tag);\n }\n\n /**\n * Reset the path to empty\n */\n reset() {\n this.path = [];\n this.siblingStacks = [];\n }\n\n /**\n * Match current path against an Expression\n * @param {Expression} expression - The expression to match against\n * @returns {boolean} True if current path matches the expression\n */\n matches(expression) {\n const segments = expression.segments;\n\n if (segments.length === 0) {\n return false;\n }\n\n // Handle deep wildcard patterns\n if (expression.hasDeepWildcard()) {\n return this._matchWithDeepWildcard(segments);\n }\n\n // Simple path matching (no deep wildcards)\n return this._matchSimple(segments);\n }\n\n /**\n * Match simple path (no deep wildcards)\n * @private\n */\n _matchSimple(segments) {\n // Path must be same length as segments\n if (this.path.length !== segments.length) {\n return false;\n }\n\n // Match each segment bottom-to-top\n for (let i = 0; i < segments.length; i++) {\n const segment = segments[i];\n const node = this.path[i];\n const isCurrentNode = (i === this.path.length - 1);\n\n if (!this._matchSegment(segment, node, isCurrentNode)) {\n return false;\n }\n }\n\n return true;\n }\n\n /**\n * Match path with deep wildcards\n * @private\n */\n _matchWithDeepWildcard(segments) {\n let pathIdx = this.path.length - 1; // Start from current node (bottom)\n let segIdx = segments.length - 1; // Start from last segment\n\n while (segIdx >= 0 && pathIdx >= 0) {\n const segment = segments[segIdx];\n\n if (segment.type === 'deep-wildcard') {\n // \"..\" matches zero or more levels\n segIdx--;\n\n if (segIdx < 0) {\n // Pattern ends with \"..\", always matches\n return true;\n }\n\n // Find where next segment matches in the path\n const nextSeg = segments[segIdx];\n let found = false;\n\n for (let i = pathIdx; i >= 0; i--) {\n const isCurrentNode = (i === this.path.length - 1);\n if (this._matchSegment(nextSeg, this.path[i], isCurrentNode)) {\n pathIdx = i - 1;\n segIdx--;\n found = true;\n break;\n }\n }\n\n if (!found) {\n return false;\n }\n } else {\n // Regular segment\n const isCurrentNode = (pathIdx === this.path.length - 1);\n if (!this._matchSegment(segment, this.path[pathIdx], isCurrentNode)) {\n return false;\n }\n pathIdx--;\n segIdx--;\n }\n }\n\n // All segments must be consumed\n return segIdx < 0;\n }\n\n /**\n * Match a single segment against a node\n * @private\n * @param {Object} segment - Segment from Expression\n * @param {Object} node - Node from path\n * @param {boolean} isCurrentNode - Whether this is the current (last) node\n * @returns {boolean}\n */\n _matchSegment(segment, node, isCurrentNode) {\n // Match tag name (* is wildcard)\n if (segment.tag !== '*' && segment.tag !== node.tag) {\n return false;\n }\n\n // Match namespace if specified in segment\n if (segment.namespace !== undefined) {\n // Segment has namespace - node must match it\n if (segment.namespace !== '*' && segment.namespace !== node.namespace) {\n return false;\n }\n }\n // If segment has no namespace, it matches nodes with or without namespace\n\n // Match attribute name (check if node has this attribute)\n // Can only check for current node since ancestors don't have values\n if (segment.attrName !== undefined) {\n if (!isCurrentNode) {\n // Can't check attributes for ancestor nodes (values not stored)\n return false;\n }\n\n if (!node.values || !(segment.attrName in node.values)) {\n return false;\n }\n\n // Match attribute value (only possible for current node)\n if (segment.attrValue !== undefined) {\n const actualValue = node.values[segment.attrName];\n // Both should be strings\n if (String(actualValue) !== String(segment.attrValue)) {\n return false;\n }\n }\n }\n\n // Match position (only for current node)\n if (segment.position !== undefined) {\n if (!isCurrentNode) {\n // Can't check position for ancestor nodes\n return false;\n }\n\n const counter = node.counter ?? 0;\n\n if (segment.position === 'first' && counter !== 0) {\n return false;\n } else if (segment.position === 'odd' && counter % 2 !== 1) {\n return false;\n } else if (segment.position === 'even' && counter % 2 !== 0) {\n return false;\n } else if (segment.position === 'nth') {\n if (counter !== segment.positionValue) {\n return false;\n }\n }\n }\n\n return true;\n }\n\n /**\n * Create a snapshot of current state\n * @returns {Object} State snapshot\n */\n snapshot() {\n return {\n path: this.path.map(node => ({ ...node })),\n siblingStacks: this.siblingStacks.map(map => new Map(map))\n };\n }\n\n /**\n * Restore state from snapshot\n * @param {Object} snapshot - State snapshot\n */\n restore(snapshot) {\n this.path = snapshot.path.map(node => ({ ...node }));\n this.siblingStacks = snapshot.siblingStacks.map(map => new Map(map));\n }\n\n /**\n * Return a read-only view of this matcher.\n *\n * The returned object exposes all query/inspection methods but throws a\n * TypeError if any state-mutating method is called (`push`, `pop`, `reset`,\n * `updateCurrent`, `restore`). Property reads (e.g. `.path`, `.separator`)\n * are allowed but the returned arrays/objects are frozen so callers cannot\n * mutate internal state through them either.\n *\n * @returns {ReadOnlyMatcher} A proxy that forwards read operations and blocks writes.\n *\n * @example\n * const matcher = new Matcher();\n * matcher.push(\"root\", {});\n *\n * const ro = matcher.readOnly();\n * ro.matches(expr); // ✓ works\n * ro.getCurrentTag(); // ✓ works\n * ro.push(\"child\", {}); // ✗ throws TypeError\n * ro.reset(); // ✗ throws TypeError\n */\n readOnly() {\n const self = this;\n\n return new Proxy(self, {\n get(target, prop, receiver) {\n // Block mutating methods\n if (MUTATING_METHODS.has(prop)) {\n return () => {\n throw new TypeError(\n `Cannot call '${prop}' on a read-only Matcher. ` +\n `Obtain a writable instance to mutate state.`\n );\n };\n }\n\n const value = Reflect.get(target, prop, receiver);\n\n // Freeze array/object properties so callers can't mutate internal\n // state through direct property access (e.g. matcher.path.push(...))\n if (prop === 'path' || prop === 'siblingStacks') {\n return Object.freeze(\n Array.isArray(value)\n ? value.map(item =>\n item instanceof Map\n ? Object.freeze(new Map(item)) // freeze a copy of each Map\n : Object.freeze({ ...item }) // freeze a copy of each node\n )\n : value\n );\n }\n\n // Bind methods so `this` inside them still refers to the real Matcher\n if (typeof value === 'function') {\n return value.bind(target);\n }\n\n return value;\n },\n\n // Prevent any property assignment on the read-only view\n set(_target, prop) {\n throw new TypeError(\n `Cannot set property '${String(prop)}' on a read-only Matcher.`\n );\n },\n\n // Prevent property deletion\n deleteProperty(_target, prop) {\n throw new TypeError(\n `Cannot delete property '${String(prop)}' from a read-only Matcher.`\n );\n }\n });\n }\n}","/**\n * Expression - Parses and stores a tag pattern expression\n * \n * Patterns are parsed once and stored in an optimized structure for fast matching.\n * \n * @example\n * const expr = new Expression(\"root.users.user\");\n * const expr2 = new Expression(\"..user[id]:first\");\n * const expr3 = new Expression(\"root/users/user\", { separator: '/' });\n */\nexport default class Expression {\n /**\n * Create a new Expression\n * @param {string} pattern - Pattern string (e.g., \"root.users.user\", \"..user[id]\")\n * @param {Object} options - Configuration options\n * @param {string} options.separator - Path separator (default: '.')\n */\n constructor(pattern, options = {}) {\n this.pattern = pattern;\n this.separator = options.separator || '.';\n this.segments = this._parse(pattern);\n\n // Cache expensive checks for performance (O(1) instead of O(n))\n this._hasDeepWildcard = this.segments.some(seg => seg.type === 'deep-wildcard');\n this._hasAttributeCondition = this.segments.some(seg => seg.attrName !== undefined);\n this._hasPositionSelector = this.segments.some(seg => seg.position !== undefined);\n }\n\n /**\n * Parse pattern string into segments\n * @private\n * @param {string} pattern - Pattern to parse\n * @returns {Array} Array of segment objects\n */\n _parse(pattern) {\n const segments = [];\n\n // Split by separator but handle \"..\" specially\n let i = 0;\n let currentPart = '';\n\n while (i < pattern.length) {\n if (pattern[i] === this.separator) {\n // Check if next char is also separator (deep wildcard)\n if (i + 1 < pattern.length && pattern[i + 1] === this.separator) {\n // Flush current part if any\n if (currentPart.trim()) {\n segments.push(this._parseSegment(currentPart.trim()));\n currentPart = '';\n }\n // Add deep wildcard\n segments.push({ type: 'deep-wildcard' });\n i += 2; // Skip both separators\n } else {\n // Regular separator\n if (currentPart.trim()) {\n segments.push(this._parseSegment(currentPart.trim()));\n }\n currentPart = '';\n i++;\n }\n } else {\n currentPart += pattern[i];\n i++;\n }\n }\n\n // Flush remaining part\n if (currentPart.trim()) {\n segments.push(this._parseSegment(currentPart.trim()));\n }\n\n return segments;\n }\n\n /**\n * Parse a single segment\n * @private\n * @param {string} part - Segment string (e.g., \"user\", \"ns::user\", \"user[id]\", \"ns::user:first\")\n * @returns {Object} Segment object\n */\n _parseSegment(part) {\n const segment = { type: 'tag' };\n\n // NEW NAMESPACE SYNTAX (v2.0):\n // ============================\n // Namespace uses DOUBLE colon (::)\n // Position uses SINGLE colon (:)\n // \n // Examples:\n // \"user\" → tag\n // \"user:first\" → tag + position\n // \"user[id]\" → tag + attribute\n // \"user[id]:first\" → tag + attribute + position\n // \"ns::user\" → namespace + tag\n // \"ns::user:first\" → namespace + tag + position\n // \"ns::user[id]\" → namespace + tag + attribute\n // \"ns::user[id]:first\" → namespace + tag + attribute + position\n // \"ns::first\" → namespace + tag named \"first\" (NO ambiguity!)\n //\n // This eliminates all ambiguity:\n // :: = namespace separator\n // : = position selector\n // [] = attributes\n\n // Step 1: Extract brackets [attr] or [attr=value]\n let bracketContent = null;\n let withoutBrackets = part;\n\n const bracketMatch = part.match(/^([^\\[]+)(\\[[^\\]]*\\])(.*)$/);\n if (bracketMatch) {\n withoutBrackets = bracketMatch[1] + bracketMatch[3];\n if (bracketMatch[2]) {\n const content = bracketMatch[2].slice(1, -1);\n if (content) {\n bracketContent = content;\n }\n }\n }\n\n // Step 2: Check for namespace (double colon ::)\n let namespace = undefined;\n let tagAndPosition = withoutBrackets;\n\n if (withoutBrackets.includes('::')) {\n const nsIndex = withoutBrackets.indexOf('::');\n namespace = withoutBrackets.substring(0, nsIndex).trim();\n tagAndPosition = withoutBrackets.substring(nsIndex + 2).trim(); // Skip ::\n\n if (!namespace) {\n throw new Error(`Invalid namespace in pattern: ${part}`);\n }\n }\n\n // Step 3: Parse tag and position (single colon :)\n let tag = undefined;\n let positionMatch = null;\n\n if (tagAndPosition.includes(':')) {\n const colonIndex = tagAndPosition.lastIndexOf(':'); // Use last colon for position\n const tagPart = tagAndPosition.substring(0, colonIndex).trim();\n const posPart = tagAndPosition.substring(colonIndex + 1).trim();\n\n // Verify position is a valid keyword\n const isPositionKeyword = ['first', 'last', 'odd', 'even'].includes(posPart) ||\n /^nth\\(\\d+\\)$/.test(posPart);\n\n if (isPositionKeyword) {\n tag = tagPart;\n positionMatch = posPart;\n } else {\n // Not a valid position keyword, treat whole thing as tag\n tag = tagAndPosition;\n }\n } else {\n tag = tagAndPosition;\n }\n\n if (!tag) {\n throw new Error(`Invalid segment pattern: ${part}`);\n }\n\n segment.tag = tag;\n if (namespace) {\n segment.namespace = namespace;\n }\n\n // Step 4: Parse attributes\n if (bracketContent) {\n if (bracketContent.includes('=')) {\n const eqIndex = bracketContent.indexOf('=');\n segment.attrName = bracketContent.substring(0, eqIndex).trim();\n segment.attrValue = bracketContent.substring(eqIndex + 1).trim();\n } else {\n segment.attrName = bracketContent.trim();\n }\n }\n\n // Step 5: Parse position selector\n if (positionMatch) {\n const nthMatch = positionMatch.match(/^nth\\((\\d+)\\)$/);\n if (nthMatch) {\n segment.position = 'nth';\n segment.positionValue = parseInt(nthMatch[1], 10);\n } else {\n segment.position = positionMatch;\n }\n }\n\n return segment;\n }\n\n /**\n * Get the number of segments\n * @returns {number}\n */\n get length() {\n return this.segments.length;\n }\n\n /**\n * Check if expression contains deep wildcard\n * @returns {boolean}\n */\n hasDeepWildcard() {\n return this._hasDeepWildcard;\n }\n\n /**\n * Check if expression has attribute conditions\n * @returns {boolean}\n */\n hasAttributeCondition() {\n return this._hasAttributeCondition;\n }\n\n /**\n * Check if expression has position selectors\n * @returns {boolean}\n */\n hasPositionSelector() {\n return this._hasPositionSelector;\n }\n\n /**\n * Get string representation\n * @returns {string}\n */\n toString() {\n return this.pattern;\n }\n}","'use strict';\n///@ts-check\n\nimport { getAllMatches, isExist, DANGEROUS_PROPERTY_NAMES, criticalProperties } from '../util.js';\nimport xmlNode from './xmlNode.js';\nimport DocTypeReader from './DocTypeReader.js';\nimport toNumber from \"strnum\";\nimport getIgnoreAttributesFn from \"../ignoreAttributes.js\";\nimport { Expression, Matcher } from 'path-expression-matcher';\n\n// const regx =\n// '<((!\\\\[CDATA\\\\[([\\\\s\\\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\\\/)(NAME)\\\\s*>))([^<]*)'\n// .replace(/NAME/g, util.nameRegexp);\n\n//const tagsRegx = new RegExp(\"<(\\\\/?[\\\\w:\\\\-\\._]+)([^>]*)>(\\\\s*\"+cdataRegx+\")*([^<]+)?\",\"g\");\n//const tagsRegx = new RegExp(\"<(\\\\/?)((\\\\w*:)?([\\\\w:\\\\-\\._]+))([^>]*)>([^<]*)(\"+cdataRegx+\"([^<]*))*([^<]+)?\",\"g\");\n\n// Helper functions for attribute and namespace handling\n\n/**\n * Extract raw attributes (without prefix) from prefixed attribute map\n * @param {object} prefixedAttrs - Attributes with prefix from buildAttributesMap\n * @param {object} options - Parser options containing attributeNamePrefix\n * @returns {object} Raw attributes for matcher\n */\nfunction extractRawAttributes(prefixedAttrs, options) {\n if (!prefixedAttrs) return {};\n\n // Handle attributesGroupName option\n const attrs = options.attributesGroupName\n ? prefixedAttrs[options.attributesGroupName]\n : prefixedAttrs;\n\n if (!attrs) return {};\n\n const rawAttrs = {};\n for (const key in attrs) {\n // Remove the attribute prefix to get raw name\n if (key.startsWith(options.attributeNamePrefix)) {\n const rawName = key.substring(options.attributeNamePrefix.length);\n rawAttrs[rawName] = attrs[key];\n } else {\n // Attribute without prefix (shouldn't normally happen, but be safe)\n rawAttrs[key] = attrs[key];\n }\n }\n return rawAttrs;\n}\n\n/**\n * Extract namespace from raw tag name\n * @param {string} rawTagName - Tag name possibly with namespace (e.g., \"soap:Envelope\")\n * @returns {string|undefined} Namespace or undefined\n */\nfunction extractNamespace(rawTagName) {\n if (!rawTagName || typeof rawTagName !== 'string') return undefined;\n\n const colonIndex = rawTagName.indexOf(':');\n if (colonIndex !== -1 && colonIndex > 0) {\n const ns = rawTagName.substring(0, colonIndex);\n // Don't treat xmlns as a namespace\n if (ns !== 'xmlns') {\n return ns;\n }\n }\n return undefined;\n}\n\nexport default class OrderedObjParser {\n constructor(options) {\n this.options = options;\n this.currentNode = null;\n this.tagsNodeStack = [];\n this.docTypeEntities = {};\n this.lastEntities = {\n \"apos\": { regex: /&(apos|#39|#x27);/g, val: \"'\" },\n \"gt\": { regex: /&(gt|#62|#x3E);/g, val: \">\" },\n \"lt\": { regex: /&(lt|#60|#x3C);/g, val: \"<\" },\n \"quot\": { regex: /&(quot|#34|#x22);/g, val: \"\\\"\" },\n };\n this.ampEntity = { regex: /&(amp|#38|#x26);/g, val: \"&\" };\n this.htmlEntities = {\n \"space\": { regex: /&(nbsp|#160);/g, val: \" \" },\n // \"lt\" : { regex: /&(lt|#60);/g, val: \"<\" },\n // \"gt\" : { regex: /&(gt|#62);/g, val: \">\" },\n // \"amp\" : { regex: /&(amp|#38);/g, val: \"&\" },\n // \"quot\" : { regex: /&(quot|#34);/g, val: \"\\\"\" },\n // \"apos\" : { regex: /&(apos|#39);/g, val: \"'\" },\n \"cent\": { regex: /&(cent|#162);/g, val: \"¢\" },\n \"pound\": { regex: /&(pound|#163);/g, val: \"£\" },\n \"yen\": { regex: /&(yen|#165);/g, val: \"¥\" },\n \"euro\": { regex: /&(euro|#8364);/g, val: \"€\" },\n \"copyright\": { regex: /&(copy|#169);/g, val: \"©\" },\n \"reg\": { regex: /&(reg|#174);/g, val: \"®\" },\n \"inr\": { regex: /&(inr|#8377);/g, val: \"₹\" },\n \"num_dec\": { regex: /&#([0-9]{1,7});/g, val: (_, str) => fromCodePoint(str, 10, \"&#\") },\n \"num_hex\": { regex: /&#x([0-9a-fA-F]{1,6});/g, val: (_, str) => fromCodePoint(str, 16, \"&#x\") },\n };\n this.addExternalEntities = addExternalEntities;\n this.parseXml = parseXml;\n this.parseTextData = parseTextData;\n this.resolveNameSpace = resolveNameSpace;\n this.buildAttributesMap = buildAttributesMap;\n this.isItStopNode = isItStopNode;\n this.replaceEntitiesValue = replaceEntitiesValue;\n this.readStopNodeData = readStopNodeData;\n this.saveTextToParentTag = saveTextToParentTag;\n this.addChild = addChild;\n this.ignoreAttributesFn = getIgnoreAttributesFn(this.options.ignoreAttributes)\n this.entityExpansionCount = 0;\n this.currentExpandedLength = 0;\n\n // Initialize path matcher for path-expression-matcher\n this.matcher = new Matcher();\n\n // Live read-only proxy of matcher — PEM creates and caches this internally.\n // All user callbacks receive this instead of the mutable matcher.\n this.readonlyMatcher = this.matcher.readOnly();\n\n // Flag to track if current node is a stop node (optimization)\n this.isCurrentNodeStopNode = false;\n\n // Pre-compile stopNodes expressions\n if (this.options.stopNodes && this.options.stopNodes.length > 0) {\n this.stopNodeExpressions = [];\n for (let i = 0; i < this.options.stopNodes.length; i++) {\n const stopNodeExp = this.options.stopNodes[i];\n if (typeof stopNodeExp === 'string') {\n // Convert string to Expression object\n this.stopNodeExpressions.push(new Expression(stopNodeExp));\n } else if (stopNodeExp instanceof Expression) {\n // Already an Expression object\n this.stopNodeExpressions.push(stopNodeExp);\n }\n }\n }\n }\n\n}\n\nfunction addExternalEntities(externalEntities) {\n const entKeys = Object.keys(externalEntities);\n for (let i = 0; i < entKeys.length; i++) {\n const ent = entKeys[i];\n const escaped = ent.replace(/[.\\-+*:]/g, '\\\\.');\n this.lastEntities[ent] = {\n regex: new RegExp(\"&\" + escaped + \";\", \"g\"),\n val: externalEntities[ent]\n }\n }\n}\n\n/**\n * @param {string} val\n * @param {string} tagName\n * @param {string|Matcher} jPath - jPath string or Matcher instance based on options.jPath\n * @param {boolean} dontTrim\n * @param {boolean} hasAttributes\n * @param {boolean} isLeafNode\n * @param {boolean} escapeEntities\n */\nfunction parseTextData(val, tagName, jPath, dontTrim, hasAttributes, isLeafNode, escapeEntities) {\n if (val !== undefined) {\n if (this.options.trimValues && !dontTrim) {\n val = val.trim();\n }\n if (val.length > 0) {\n if (!escapeEntities) val = this.replaceEntitiesValue(val, tagName, jPath);\n\n // Pass jPath string or matcher based on options.jPath setting\n const jPathOrMatcher = this.options.jPath ? jPath.toString() : jPath;\n const newval = this.options.tagValueProcessor(tagName, val, jPathOrMatcher, hasAttributes, isLeafNode);\n if (newval === null || newval === undefined) {\n //don't parse\n return val;\n } else if (typeof newval !== typeof val || newval !== val) {\n //overwrite\n return newval;\n } else if (this.options.trimValues) {\n return parseValue(val, this.options.parseTagValue, this.options.numberParseOptions);\n } else {\n const trimmedVal = val.trim();\n if (trimmedVal === val) {\n return parseValue(val, this.options.parseTagValue, this.options.numberParseOptions);\n } else {\n return val;\n }\n }\n }\n }\n}\n\nfunction resolveNameSpace(tagname) {\n if (this.options.removeNSPrefix) {\n const tags = tagname.split(':');\n const prefix = tagname.charAt(0) === '/' ? '/' : '';\n if (tags[0] === 'xmlns') {\n return '';\n }\n if (tags.length === 2) {\n tagname = prefix + tags[1];\n }\n }\n return tagname;\n}\n\n//TODO: change regex to capture NS\n//const attrsRegx = new RegExp(\"([\\\\w\\\\-\\\\.\\\\:]+)\\\\s*=\\\\s*(['\\\"])((.|\\n)*?)\\\\2\",\"gm\");\nconst attrsRegx = new RegExp('([^\\\\s=]+)\\\\s*(=\\\\s*([\\'\"])([\\\\s\\\\S]*?)\\\\3)?', 'gm');\n\nfunction buildAttributesMap(attrStr, jPath, tagName) {\n if (this.options.ignoreAttributes !== true && typeof attrStr === 'string') {\n // attrStr = attrStr.replace(/\\r?\\n/g, ' ');\n //attrStr = attrStr || attrStr.trim();\n\n const matches = getAllMatches(attrStr, attrsRegx);\n const len = matches.length; //don't make it inline\n const attrs = {};\n\n // First pass: parse all attributes and update matcher with raw values\n // This ensures the matcher has all attribute values when processors run\n const rawAttrsForMatcher = {};\n for (let i = 0; i < len; i++) {\n const attrName = this.resolveNameSpace(matches[i][1]);\n const oldVal = matches[i][4];\n\n if (attrName.length && oldVal !== undefined) {\n let parsedVal = oldVal;\n if (this.options.trimValues) {\n parsedVal = parsedVal.trim();\n }\n parsedVal = this.replaceEntitiesValue(parsedVal, tagName, this.readonlyMatcher);\n rawAttrsForMatcher[attrName] = parsedVal;\n }\n }\n\n // Update matcher with raw attribute values BEFORE running processors\n if (Object.keys(rawAttrsForMatcher).length > 0 && typeof jPath === 'object' && jPath.updateCurrent) {\n jPath.updateCurrent(rawAttrsForMatcher);\n }\n\n // Second pass: now process attributes with matcher having full attribute context\n for (let i = 0; i < len; i++) {\n const attrName = this.resolveNameSpace(matches[i][1]);\n\n // Convert jPath to string if needed for ignoreAttributesFn\n const jPathStr = this.options.jPath ? jPath.toString() : this.readonlyMatcher;\n if (this.ignoreAttributesFn(attrName, jPathStr)) {\n continue\n }\n\n let oldVal = matches[i][4];\n let aName = this.options.attributeNamePrefix + attrName;\n\n if (attrName.length) {\n if (this.options.transformAttributeName) {\n aName = this.options.transformAttributeName(aName);\n }\n //if (aName === \"__proto__\") aName = \"#__proto__\";\n aName = sanitizeName(aName, this.options);\n\n if (oldVal !== undefined) {\n if (this.options.trimValues) {\n oldVal = oldVal.trim();\n }\n oldVal = this.replaceEntitiesValue(oldVal, tagName, this.readonlyMatcher);\n\n // Pass jPath string or readonlyMatcher based on options.jPath setting\n const jPathOrMatcher = this.options.jPath ? jPath.toString() : this.readonlyMatcher;\n const newVal = this.options.attributeValueProcessor(attrName, oldVal, jPathOrMatcher);\n if (newVal === null || newVal === undefined) {\n //don't parse\n attrs[aName] = oldVal;\n } else if (typeof newVal !== typeof oldVal || newVal !== oldVal) {\n //overwrite\n attrs[aName] = newVal;\n } else {\n //parse\n attrs[aName] = parseValue(\n oldVal,\n this.options.parseAttributeValue,\n this.options.numberParseOptions\n );\n }\n } else if (this.options.allowBooleanAttributes) {\n attrs[aName] = true;\n }\n }\n }\n\n if (!Object.keys(attrs).length) {\n return;\n }\n if (this.options.attributesGroupName) {\n const attrCollection = {};\n attrCollection[this.options.attributesGroupName] = attrs;\n return attrCollection;\n }\n return attrs\n }\n}\n\nconst parseXml = function (xmlData) {\n xmlData = xmlData.replace(/\\r\\n?/g, \"\\n\"); //TODO: remove this line\n const xmlObj = new xmlNode('!xml');\n let currentNode = xmlObj;\n let textData = \"\";\n\n // Reset matcher for new document\n this.matcher.reset();\n\n // Reset entity expansion counters for this document\n this.entityExpansionCount = 0;\n this.currentExpandedLength = 0;\n\n const docTypeReader = new DocTypeReader(this.options.processEntities);\n for (let i = 0; i < xmlData.length; i++) {//for each char in XML data\n const ch = xmlData[i];\n if (ch === '<') {\n // const nextIndex = i+1;\n // const _2ndChar = xmlData[nextIndex];\n if (xmlData[i + 1] === '/') {//Closing Tag\n const closeIndex = findClosingIndex(xmlData, \">\", i, \"Closing Tag is not closed.\")\n let tagName = xmlData.substring(i + 2, closeIndex).trim();\n\n if (this.options.removeNSPrefix) {\n const colonIndex = tagName.indexOf(\":\");\n if (colonIndex !== -1) {\n tagName = tagName.substr(colonIndex + 1);\n }\n }\n\n tagName = transformTagName(this.options.transformTagName, tagName, \"\", this.options).tagName;\n\n if (currentNode) {\n textData = this.saveTextToParentTag(textData, currentNode, this.readonlyMatcher);\n }\n\n //check if last tag of nested tag was unpaired tag\n const lastTagName = this.matcher.getCurrentTag();\n if (tagName && this.options.unpairedTags.indexOf(tagName) !== -1) {\n throw new Error(`Unpaired tag can not be used as closing tag: `);\n }\n if (lastTagName && this.options.unpairedTags.indexOf(lastTagName) !== -1) {\n // Pop the unpaired tag\n this.matcher.pop();\n this.tagsNodeStack.pop();\n }\n // Pop the closing tag\n this.matcher.pop();\n this.isCurrentNodeStopNode = false; // Reset flag when closing tag\n\n currentNode = this.tagsNodeStack.pop();//avoid recursion, set the parent tag scope\n textData = \"\";\n i = closeIndex;\n } else if (xmlData[i + 1] === '?') {\n\n let tagData = readTagExp(xmlData, i, false, \"?>\");\n if (!tagData) throw new Error(\"Pi Tag is not closed.\");\n\n textData = this.saveTextToParentTag(textData, currentNode, this.readonlyMatcher);\n if ((this.options.ignoreDeclaration && tagData.tagName === \"?xml\") || this.options.ignorePiTags) {\n //do nothing\n } else {\n\n const childNode = new xmlNode(tagData.tagName);\n childNode.add(this.options.textNodeName, \"\");\n\n if (tagData.tagName !== tagData.tagExp && tagData.attrExpPresent) {\n childNode[\":@\"] = this.buildAttributesMap(tagData.tagExp, this.matcher, tagData.tagName);\n }\n this.addChild(currentNode, childNode, this.readonlyMatcher, i);\n }\n\n\n i = tagData.closeIndex + 1;\n } else if (xmlData.substr(i + 1, 3) === '!--') {\n const endIndex = findClosingIndex(xmlData, \"-->\", i + 4, \"Comment is not closed.\")\n if (this.options.commentPropName) {\n const comment = xmlData.substring(i + 4, endIndex - 2);\n\n textData = this.saveTextToParentTag(textData, currentNode, this.readonlyMatcher);\n\n currentNode.add(this.options.commentPropName, [{ [this.options.textNodeName]: comment }]);\n }\n i = endIndex;\n } else if (xmlData.substr(i + 1, 2) === '!D') {\n const result = docTypeReader.readDocType(xmlData, i);\n this.docTypeEntities = result.entities;\n i = result.i;\n } else if (xmlData.substr(i + 1, 2) === '![') {\n const closeIndex = findClosingIndex(xmlData, \"]]>\", i, \"CDATA is not closed.\") - 2;\n const tagExp = xmlData.substring(i + 9, closeIndex);\n\n textData = this.saveTextToParentTag(textData, currentNode, this.readonlyMatcher);\n\n let val = this.parseTextData(tagExp, currentNode.tagname, this.readonlyMatcher, true, false, true, true);\n if (val == undefined) val = \"\";\n\n //cdata should be set even if it is 0 length string\n if (this.options.cdataPropName) {\n currentNode.add(this.options.cdataPropName, [{ [this.options.textNodeName]: tagExp }]);\n } else {\n currentNode.add(this.options.textNodeName, val);\n }\n\n i = closeIndex + 2;\n } else {//Opening tag\n let result = readTagExp(xmlData, i, this.options.removeNSPrefix);\n\n // Safety check: readTagExp can return undefined\n if (!result) {\n // Log context for debugging\n const context = xmlData.substring(Math.max(0, i - 50), Math.min(xmlData.length, i + 50));\n throw new Error(`readTagExp returned undefined at position ${i}. Context: \"${context}\"`);\n }\n\n let tagName = result.tagName;\n const rawTagName = result.rawTagName;\n let tagExp = result.tagExp;\n let attrExpPresent = result.attrExpPresent;\n let closeIndex = result.closeIndex;\n\n ({ tagName, tagExp } = transformTagName(this.options.transformTagName, tagName, tagExp, this.options));\n\n if (this.options.strictReservedNames &&\n (tagName === this.options.commentPropName\n || tagName === this.options.cdataPropName\n || tagName === this.options.textNodeName\n || tagName === this.options.attributesGroupName\n )) {\n throw new Error(`Invalid tag name: ${tagName}`);\n }\n\n //save text as child node\n if (currentNode && textData) {\n if (currentNode.tagname !== '!xml') {\n //when nested tag is found\n textData = this.saveTextToParentTag(textData, currentNode, this.readonlyMatcher, false);\n }\n }\n\n //check if last tag was unpaired tag\n const lastTag = currentNode;\n if (lastTag && this.options.unpairedTags.indexOf(lastTag.tagname) !== -1) {\n currentNode = this.tagsNodeStack.pop();\n this.matcher.pop();\n }\n\n // Clean up self-closing syntax BEFORE processing attributes\n // This is where tagExp gets the trailing / removed\n let isSelfClosing = false;\n if (tagExp.length > 0 && tagExp.lastIndexOf(\"/\") === tagExp.length - 1) {\n isSelfClosing = true;\n if (tagName[tagName.length - 1] === \"/\") {\n tagName = tagName.substr(0, tagName.length - 1);\n tagExp = tagName;\n } else {\n tagExp = tagExp.substr(0, tagExp.length - 1);\n }\n\n // Re-check attrExpPresent after cleaning\n attrExpPresent = (tagName !== tagExp);\n }\n\n // Now process attributes with CLEAN tagExp (no trailing /)\n let prefixedAttrs = null;\n let rawAttrs = {};\n let namespace = undefined;\n\n // Extract namespace from rawTagName\n namespace = extractNamespace(rawTagName);\n\n // Push tag to matcher FIRST (with empty attrs for now) so callbacks see correct path\n if (tagName !== xmlObj.tagname) {\n this.matcher.push(tagName, {}, namespace);\n }\n\n // Now build attributes - callbacks will see correct matcher state\n if (tagName !== tagExp && attrExpPresent) {\n // Build attributes (returns prefixed attributes for the tree)\n // Note: buildAttributesMap now internally updates the matcher with raw attributes\n prefixedAttrs = this.buildAttributesMap(tagExp, this.matcher, tagName);\n\n if (prefixedAttrs) {\n // Extract raw attributes (without prefix) for our use\n rawAttrs = extractRawAttributes(prefixedAttrs, this.options);\n }\n }\n\n // Now check if this is a stop node (after attributes are set)\n if (tagName !== xmlObj.tagname) {\n this.isCurrentNodeStopNode = this.isItStopNode(this.stopNodeExpressions, this.matcher);\n }\n\n const startIndex = i;\n if (this.isCurrentNodeStopNode) {\n let tagContent = \"\";\n\n // For self-closing tags, content is empty\n if (isSelfClosing) {\n i = result.closeIndex;\n }\n //unpaired tag\n else if (this.options.unpairedTags.indexOf(tagName) !== -1) {\n i = result.closeIndex;\n }\n //normal tag\n else {\n //read until closing tag is found\n const result = this.readStopNodeData(xmlData, rawTagName, closeIndex + 1);\n if (!result) throw new Error(`Unexpected end of ${rawTagName}`);\n i = result.i;\n tagContent = result.tagContent;\n }\n\n const childNode = new xmlNode(tagName);\n\n if (prefixedAttrs) {\n childNode[\":@\"] = prefixedAttrs;\n }\n\n // For stop nodes, store raw content as-is without any processing\n childNode.add(this.options.textNodeName, tagContent);\n\n this.matcher.pop(); // Pop the stop node tag\n this.isCurrentNodeStopNode = false; // Reset flag\n\n this.addChild(currentNode, childNode, this.readonlyMatcher, startIndex);\n } else {\n //selfClosing tag\n if (isSelfClosing) {\n ({ tagName, tagExp } = transformTagName(this.options.transformTagName, tagName, tagExp, this.options));\n\n const childNode = new xmlNode(tagName);\n if (prefixedAttrs) {\n childNode[\":@\"] = prefixedAttrs;\n }\n this.addChild(currentNode, childNode, this.readonlyMatcher, startIndex);\n this.matcher.pop(); // Pop self-closing tag\n this.isCurrentNodeStopNode = false; // Reset flag\n }\n else if (this.options.unpairedTags.indexOf(tagName) !== -1) {//unpaired tag\n const childNode = new xmlNode(tagName);\n if (prefixedAttrs) {\n childNode[\":@\"] = prefixedAttrs;\n }\n this.addChild(currentNode, childNode, this.readonlyMatcher, startIndex);\n this.matcher.pop(); // Pop unpaired tag\n this.isCurrentNodeStopNode = false; // Reset flag\n i = result.closeIndex;\n // Continue to next iteration without changing currentNode\n continue;\n }\n //opening tag\n else {\n const childNode = new xmlNode(tagName);\n if (this.tagsNodeStack.length > this.options.maxNestedTags) {\n throw new Error(\"Maximum nested tags exceeded\");\n }\n this.tagsNodeStack.push(currentNode);\n\n if (prefixedAttrs) {\n childNode[\":@\"] = prefixedAttrs;\n }\n this.addChild(currentNode, childNode, this.readonlyMatcher, startIndex);\n currentNode = childNode;\n }\n textData = \"\";\n i = closeIndex;\n }\n }\n } else {\n textData += xmlData[i];\n }\n }\n return xmlObj.child;\n}\n\nfunction addChild(currentNode, childNode, matcher, startIndex) {\n // unset startIndex if not requested\n if (!this.options.captureMetaData) startIndex = undefined;\n\n // Pass jPath string or matcher based on options.jPath setting\n const jPathOrMatcher = this.options.jPath ? matcher.toString() : matcher;\n const result = this.options.updateTag(childNode.tagname, jPathOrMatcher, childNode[\":@\"])\n if (result === false) {\n //do nothing\n } else if (typeof result === \"string\") {\n childNode.tagname = result\n currentNode.addChild(childNode, startIndex);\n } else {\n currentNode.addChild(childNode, startIndex);\n }\n}\n\n/**\n * @param {object} val - Entity object with regex and val properties\n * @param {string} tagName - Tag name\n * @param {string|Matcher} jPath - jPath string or Matcher instance based on options.jPath\n */\nfunction replaceEntitiesValue(val, tagName, jPath) {\n const entityConfig = this.options.processEntities;\n\n if (!entityConfig || !entityConfig.enabled) {\n return val;\n }\n\n // Check if tag is allowed to contain entities\n if (entityConfig.allowedTags) {\n const jPathOrMatcher = this.options.jPath ? jPath.toString() : jPath;\n const allowed = Array.isArray(entityConfig.allowedTags)\n ? entityConfig.allowedTags.includes(tagName)\n : entityConfig.allowedTags(tagName, jPathOrMatcher);\n\n if (!allowed) {\n return val;\n }\n }\n\n // Apply custom tag filter if provided\n if (entityConfig.tagFilter) {\n const jPathOrMatcher = this.options.jPath ? jPath.toString() : jPath;\n if (!entityConfig.tagFilter(tagName, jPathOrMatcher)) {\n return val; // Skip based on custom filter\n }\n }\n\n // Replace DOCTYPE entities\n for (const entityName of Object.keys(this.docTypeEntities)) {\n const entity = this.docTypeEntities[entityName];\n const matches = val.match(entity.regx);\n\n if (matches) {\n // Track expansions\n this.entityExpansionCount += matches.length;\n\n // Check expansion limit\n if (entityConfig.maxTotalExpansions &&\n this.entityExpansionCount > entityConfig.maxTotalExpansions) {\n throw new Error(\n `Entity expansion limit exceeded: ${this.entityExpansionCount} > ${entityConfig.maxTotalExpansions}`\n );\n }\n\n // Store length before replacement\n const lengthBefore = val.length;\n val = val.replace(entity.regx, entity.val);\n\n // Check expanded length immediately after replacement\n if (entityConfig.maxExpandedLength) {\n this.currentExpandedLength += (val.length - lengthBefore);\n\n if (this.currentExpandedLength > entityConfig.maxExpandedLength) {\n throw new Error(\n `Total expanded content size exceeded: ${this.currentExpandedLength} > ${entityConfig.maxExpandedLength}`\n );\n }\n }\n }\n }\n // Replace standard entities\n for (const entityName of Object.keys(this.lastEntities)) {\n const entity = this.lastEntities[entityName];\n const matches = val.match(entity.regex);\n if (matches) {\n this.entityExpansionCount += matches.length;\n if (entityConfig.maxTotalExpansions &&\n this.entityExpansionCount > entityConfig.maxTotalExpansions) {\n throw new Error(\n `Entity expansion limit exceeded: ${this.entityExpansionCount} > ${entityConfig.maxTotalExpansions}`\n );\n }\n }\n val = val.replace(entity.regex, entity.val);\n }\n if (val.indexOf('&') === -1) return val;\n\n // Replace HTML entities if enabled\n if (this.options.htmlEntities) {\n for (const entityName of Object.keys(this.htmlEntities)) {\n const entity = this.htmlEntities[entityName];\n const matches = val.match(entity.regex);\n if (matches) {\n //console.log(matches);\n this.entityExpansionCount += matches.length;\n if (entityConfig.maxTotalExpansions &&\n this.entityExpansionCount > entityConfig.maxTotalExpansions) {\n throw new Error(\n `Entity expansion limit exceeded: ${this.entityExpansionCount} > ${entityConfig.maxTotalExpansions}`\n );\n }\n }\n val = val.replace(entity.regex, entity.val);\n }\n }\n\n // Replace ampersand entity last\n val = val.replace(this.ampEntity.regex, this.ampEntity.val);\n\n return val;\n}\n\n\nfunction saveTextToParentTag(textData, parentNode, matcher, isLeafNode) {\n if (textData) { //store previously collected data as textNode\n if (isLeafNode === undefined) isLeafNode = parentNode.child.length === 0\n\n textData = this.parseTextData(textData,\n parentNode.tagname,\n matcher,\n false,\n parentNode[\":@\"] ? Object.keys(parentNode[\":@\"]).length !== 0 : false,\n isLeafNode);\n\n if (textData !== undefined && textData !== \"\")\n parentNode.add(this.options.textNodeName, textData);\n textData = \"\";\n }\n return textData;\n}\n\n//TODO: use jPath to simplify the logic\n/**\n * @param {Array} stopNodeExpressions - Array of compiled Expression objects\n * @param {Matcher} matcher - Current path matcher\n */\nfunction isItStopNode(stopNodeExpressions, matcher) {\n if (!stopNodeExpressions || stopNodeExpressions.length === 0) return false;\n\n for (let i = 0; i < stopNodeExpressions.length; i++) {\n if (matcher.matches(stopNodeExpressions[i])) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * Returns the tag Expression and where it is ending handling single-double quotes situation\n * @param {string} xmlData \n * @param {number} i starting index\n * @returns \n */\nfunction tagExpWithClosingIndex(xmlData, i, closingChar = \">\") {\n let attrBoundary;\n let tagExp = \"\";\n for (let index = i; index < xmlData.length; index++) {\n let ch = xmlData[index];\n if (attrBoundary) {\n if (ch === attrBoundary) attrBoundary = \"\";//reset\n } else if (ch === '\"' || ch === \"'\") {\n attrBoundary = ch;\n } else if (ch === closingChar[0]) {\n if (closingChar[1]) {\n if (xmlData[index + 1] === closingChar[1]) {\n return {\n data: tagExp,\n index: index\n }\n }\n } else {\n return {\n data: tagExp,\n index: index\n }\n }\n } else if (ch === '\\t') {\n ch = \" \"\n }\n tagExp += ch;\n }\n}\n\nfunction findClosingIndex(xmlData, str, i, errMsg) {\n const closingIndex = xmlData.indexOf(str, i);\n if (closingIndex === -1) {\n throw new Error(errMsg)\n } else {\n return closingIndex + str.length - 1;\n }\n}\n\nfunction readTagExp(xmlData, i, removeNSPrefix, closingChar = \">\") {\n const result = tagExpWithClosingIndex(xmlData, i + 1, closingChar);\n if (!result) return;\n let tagExp = result.data;\n const closeIndex = result.index;\n const separatorIndex = tagExp.search(/\\s/);\n let tagName = tagExp;\n let attrExpPresent = true;\n if (separatorIndex !== -1) {//separate tag name and attributes expression\n tagName = tagExp.substring(0, separatorIndex);\n tagExp = tagExp.substring(separatorIndex + 1).trimStart();\n }\n\n const rawTagName = tagName;\n if (removeNSPrefix) {\n const colonIndex = tagName.indexOf(\":\");\n if (colonIndex !== -1) {\n tagName = tagName.substr(colonIndex + 1);\n attrExpPresent = tagName !== result.data.substr(colonIndex + 1);\n }\n }\n\n return {\n tagName: tagName,\n tagExp: tagExp,\n closeIndex: closeIndex,\n attrExpPresent: attrExpPresent,\n rawTagName: rawTagName,\n }\n}\n/**\n * find paired tag for a stop node\n * @param {string} xmlData \n * @param {string} tagName \n * @param {number} i \n */\nfunction readStopNodeData(xmlData, tagName, i) {\n const startIndex = i;\n // Starting at 1 since we already have an open tag\n let openTagCount = 1;\n\n for (; i < xmlData.length; i++) {\n if (xmlData[i] === \"<\") {\n if (xmlData[i + 1] === \"/\") {//close tag\n const closeIndex = findClosingIndex(xmlData, \">\", i, `${tagName} is not closed`);\n let closeTagName = xmlData.substring(i + 2, closeIndex).trim();\n if (closeTagName === tagName) {\n openTagCount--;\n if (openTagCount === 0) {\n return {\n tagContent: xmlData.substring(startIndex, i),\n i: closeIndex\n }\n }\n }\n i = closeIndex;\n } else if (xmlData[i + 1] === '?') {\n const closeIndex = findClosingIndex(xmlData, \"?>\", i + 1, \"StopNode is not closed.\")\n i = closeIndex;\n } else if (xmlData.substr(i + 1, 3) === '!--') {\n const closeIndex = findClosingIndex(xmlData, \"-->\", i + 3, \"StopNode is not closed.\")\n i = closeIndex;\n } else if (xmlData.substr(i + 1, 2) === '![') {\n const closeIndex = findClosingIndex(xmlData, \"]]>\", i, \"StopNode is not closed.\") - 2;\n i = closeIndex;\n } else {\n const tagData = readTagExp(xmlData, i, '>')\n\n if (tagData) {\n const openTagName = tagData && tagData.tagName;\n if (openTagName === tagName && tagData.tagExp[tagData.tagExp.length - 1] !== \"/\") {\n openTagCount++;\n }\n i = tagData.closeIndex;\n }\n }\n }\n }//end for loop\n}\n\nfunction parseValue(val, shouldParse, options) {\n if (shouldParse && typeof val === 'string') {\n //console.log(options)\n const newval = val.trim();\n if (newval === 'true') return true;\n else if (newval === 'false') return false;\n else return toNumber(val, options);\n } else {\n if (isExist(val)) {\n return val;\n } else {\n return '';\n }\n }\n}\n\nfunction fromCodePoint(str, base, prefix) {\n const codePoint = Number.parseInt(str, base);\n\n if (codePoint >= 0 && codePoint <= 0x10FFFF) {\n return String.fromCodePoint(codePoint);\n } else {\n return prefix + str + \";\";\n }\n}\n\nfunction transformTagName(fn, tagName, tagExp, options) {\n if (fn) {\n const newTagName = fn(tagName);\n if (tagExp === tagName) {\n tagExp = newTagName\n }\n tagName = newTagName;\n }\n tagName = sanitizeName(tagName, options);\n return { tagName, tagExp };\n}\n\n\n\nfunction sanitizeName(name, options) {\n if (criticalProperties.includes(name)) {\n throw new Error(`[SECURITY] Invalid name: \"${name}\" is a reserved JavaScript keyword that could cause prototype pollution`);\n } else if (DANGEROUS_PROPERTY_NAMES.includes(name)) {\n return options.onDangerousProperty(name);\n }\n return name;\n}","export default function getIgnoreAttributesFn(ignoreAttributes) {\n if (typeof ignoreAttributes === 'function') {\n return ignoreAttributes\n }\n if (Array.isArray(ignoreAttributes)) {\n return (attrName) => {\n for (const pattern of ignoreAttributes) {\n if (typeof pattern === 'string' && attrName === pattern) {\n return true\n }\n if (pattern instanceof RegExp && pattern.test(attrName)) {\n return true\n }\n }\n }\n }\n return () => false\n}","'use strict';\n\nimport XmlNode from './xmlNode.js';\nimport { Matcher } from 'path-expression-matcher';\n\nconst METADATA_SYMBOL = XmlNode.getMetaDataSymbol();\n\n/**\n * Helper function to strip attribute prefix from attribute map\n * @param {object} attrs - Attributes with prefix (e.g., {\"@_class\": \"code\"})\n * @param {string} prefix - Attribute prefix to remove (e.g., \"@_\")\n * @returns {object} Attributes without prefix (e.g., {\"class\": \"code\"})\n */\nfunction stripAttributePrefix(attrs, prefix) {\n if (!attrs || typeof attrs !== 'object') return {};\n if (!prefix) return attrs;\n\n const rawAttrs = {};\n for (const key in attrs) {\n if (key.startsWith(prefix)) {\n const rawName = key.substring(prefix.length);\n rawAttrs[rawName] = attrs[key];\n } else {\n // Attribute without prefix (shouldn't normally happen, but be safe)\n rawAttrs[key] = attrs[key];\n }\n }\n return rawAttrs;\n}\n\n/**\n * \n * @param {array} node \n * @param {any} options \n * @param {Matcher} matcher - Path matcher instance\n * @returns \n */\nexport default function prettify(node, options, matcher, readonlyMatcher) {\n return compress(node, options, matcher, readonlyMatcher);\n}\n\n/**\n * @param {array} arr \n * @param {object} options \n * @param {Matcher} matcher - Path matcher instance\n * @returns object\n */\nfunction compress(arr, options, matcher, readonlyMatcher) {\n let text;\n const compressedObj = {}; //This is intended to be a plain object\n for (let i = 0; i < arr.length; i++) {\n const tagObj = arr[i];\n const property = propName(tagObj);\n\n // Push current property to matcher WITH RAW ATTRIBUTES (no prefix)\n if (property !== undefined && property !== options.textNodeName) {\n const rawAttrs = stripAttributePrefix(\n tagObj[\":@\"] || {},\n options.attributeNamePrefix\n );\n matcher.push(property, rawAttrs);\n }\n\n if (property === options.textNodeName) {\n if (text === undefined) text = tagObj[property];\n else text += \"\" + tagObj[property];\n } else if (property === undefined) {\n continue;\n } else if (tagObj[property]) {\n\n let val = compress(tagObj[property], options, matcher, readonlyMatcher);\n const isLeaf = isLeafTag(val, options);\n\n if (tagObj[\":@\"]) {\n assignAttributes(val, tagObj[\":@\"], readonlyMatcher, options);\n } else if (Object.keys(val).length === 1 && val[options.textNodeName] !== undefined && !options.alwaysCreateTextNode) {\n val = val[options.textNodeName];\n } else if (Object.keys(val).length === 0) {\n if (options.alwaysCreateTextNode) val[options.textNodeName] = \"\";\n else val = \"\";\n }\n\n if (tagObj[METADATA_SYMBOL] !== undefined && typeof val === \"object\" && val !== null) {\n val[METADATA_SYMBOL] = tagObj[METADATA_SYMBOL]; // copy over metadata\n }\n\n\n if (compressedObj[property] !== undefined && Object.prototype.hasOwnProperty.call(compressedObj, property)) {\n if (!Array.isArray(compressedObj[property])) {\n compressedObj[property] = [compressedObj[property]];\n }\n compressedObj[property].push(val);\n } else {\n //TODO: if a node is not an array, then check if it should be an array\n //also determine if it is a leaf node\n\n // Pass jPath string or readonlyMatcher based on options.jPath setting\n const jPathOrMatcher = options.jPath ? readonlyMatcher.toString() : readonlyMatcher;\n if (options.isArray(property, jPathOrMatcher, isLeaf)) {\n compressedObj[property] = [val];\n } else {\n compressedObj[property] = val;\n }\n }\n\n // Pop property from matcher after processing\n if (property !== undefined && property !== options.textNodeName) {\n matcher.pop();\n }\n }\n\n }\n // if(text && text.length > 0) compressedObj[options.textNodeName] = text;\n if (typeof text === \"string\") {\n if (text.length > 0) compressedObj[options.textNodeName] = text;\n } else if (text !== undefined) compressedObj[options.textNodeName] = text;\n\n\n return compressedObj;\n}\n\nfunction propName(obj) {\n const keys = Object.keys(obj);\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n if (key !== \":@\") return key;\n }\n}\n\nfunction assignAttributes(obj, attrMap, readonlyMatcher, options) {\n if (attrMap) {\n const keys = Object.keys(attrMap);\n const len = keys.length; //don't make it inline\n for (let i = 0; i < len; i++) {\n const atrrName = keys[i]; // This is the PREFIXED name (e.g., \"@_class\")\n\n // Strip prefix for matcher path (for isArray callback)\n const rawAttrName = atrrName.startsWith(options.attributeNamePrefix)\n ? atrrName.substring(options.attributeNamePrefix.length)\n : atrrName;\n\n // For attributes, we need to create a temporary path\n // Pass jPath string or matcher based on options.jPath setting\n const jPathOrMatcher = options.jPath\n ? readonlyMatcher.toString() + \".\" + rawAttrName\n : readonlyMatcher;\n\n if (options.isArray(atrrName, jPathOrMatcher, true, true)) {\n obj[atrrName] = [attrMap[atrrName]];\n } else {\n obj[atrrName] = attrMap[atrrName];\n }\n }\n }\n}\n\nfunction isLeafTag(obj, options) {\n const { textNodeName } = options;\n const propCount = Object.keys(obj).length;\n\n if (propCount === 0) {\n return true;\n }\n\n if (\n propCount === 1 &&\n (obj[textNodeName] || typeof obj[textNodeName] === \"boolean\" || obj[textNodeName] === 0)\n ) {\n return true;\n }\n\n return false;\n}","import { buildOptions } from './OptionsBuilder.js';\nimport OrderedObjParser from './OrderedObjParser.js';\nimport prettify from './node2json.js';\nimport { validate } from \"../validator.js\";\nimport XmlNode from './xmlNode.js';\n\nexport default class XMLParser {\n\n constructor(options) {\n this.externalEntities = {};\n this.options = buildOptions(options);\n\n }\n /**\n * Parse XML dats to JS object \n * @param {string|Uint8Array} xmlData \n * @param {boolean|Object} validationOption \n */\n parse(xmlData, validationOption) {\n if (typeof xmlData !== \"string\" && xmlData.toString) {\n xmlData = xmlData.toString();\n } else if (typeof xmlData !== \"string\") {\n throw new Error(\"XML data is accepted in String or Bytes[] form.\")\n }\n\n if (validationOption) {\n if (validationOption === true) validationOption = {}; //validate with default options\n\n const result = validate(xmlData, validationOption);\n if (result !== true) {\n throw Error(`${result.err.msg}:${result.err.line}:${result.err.col}`)\n }\n }\n const orderedObjParser = new OrderedObjParser(this.options);\n orderedObjParser.addExternalEntities(this.externalEntities);\n const orderedResult = orderedObjParser.parseXml(xmlData);\n if (this.options.preserveOrder || orderedResult === undefined) return orderedResult;\n else return prettify(orderedResult, this.options, orderedObjParser.matcher, orderedObjParser.readonlyMatcher);\n }\n\n /**\n * Add Entity which is not by default supported by this library\n * @param {string} key \n * @param {string} value \n */\n addEntity(key, value) {\n if (value.indexOf(\"&\") !== -1) {\n throw new Error(\"Entity value can't have '&'\")\n } else if (key.indexOf(\"&\") !== -1 || key.indexOf(\";\") !== -1) {\n throw new Error(\"An entity must be set without '&' and ';'. Eg. use '#xD' for ' '\")\n } else if (value === \"&\") {\n throw new Error(\"An entity with value '&' is not permitted\");\n } else {\n this.externalEntities[key] = value;\n }\n }\n\n /**\n * Returns a Symbol that can be used to access the metadata\n * property on a node.\n * \n * If Symbol is not available in the environment, an ordinary property is used\n * and the name of the property is here returned.\n * \n * The XMLMetaData property is only present when `captureMetaData`\n * is true in the options.\n */\n static getMetaDataSymbol() {\n return XmlNode.getMetaDataSymbol();\n }\n}","import { Expression, Matcher } from 'path-expression-matcher';\n\nconst EOL = \"\\n\";\n\n/**\n * \n * @param {array} jArray \n * @param {any} options \n * @returns \n */\nexport default function toXml(jArray, options) {\n let indentation = \"\";\n if (options.format && options.indentBy.length > 0) {\n indentation = EOL;\n }\n\n // Pre-compile stopNode expressions for pattern matching\n const stopNodeExpressions = [];\n if (options.stopNodes && Array.isArray(options.stopNodes)) {\n for (let i = 0; i < options.stopNodes.length; i++) {\n const node = options.stopNodes[i];\n if (typeof node === 'string') {\n stopNodeExpressions.push(new Expression(node));\n } else if (node instanceof Expression) {\n stopNodeExpressions.push(node);\n }\n }\n }\n\n // Initialize matcher for path tracking\n const matcher = new Matcher();\n\n return arrToStr(jArray, options, indentation, matcher, stopNodeExpressions);\n}\n\nfunction arrToStr(arr, options, indentation, matcher, stopNodeExpressions) {\n let xmlStr = \"\";\n let isPreviousElementTag = false;\n\n if (options.maxNestedTags && matcher.getDepth() > options.maxNestedTags) {\n throw new Error(\"Maximum nested tags exceeded\");\n }\n\n if (!Array.isArray(arr)) {\n // Non-array values (e.g. string tag values) should be treated as text content\n if (arr !== undefined && arr !== null) {\n let text = arr.toString();\n text = replaceEntitiesValue(text, options);\n return text;\n }\n return \"\";\n }\n\n for (let i = 0; i < arr.length; i++) {\n const tagObj = arr[i];\n const tagName = propName(tagObj);\n if (tagName === undefined) continue;\n\n // Extract attributes from \":@\" property\n const attrValues = extractAttributeValues(tagObj[\":@\"], options);\n\n // Push tag to matcher WITH attributes\n matcher.push(tagName, attrValues);\n\n // Check if this is a stop node using Expression matching\n const isStopNode = checkStopNode(matcher, stopNodeExpressions);\n\n if (tagName === options.textNodeName) {\n let tagText = tagObj[tagName];\n if (!isStopNode) {\n tagText = options.tagValueProcessor(tagName, tagText);\n tagText = replaceEntitiesValue(tagText, options);\n }\n if (isPreviousElementTag) {\n xmlStr += indentation;\n }\n xmlStr += tagText;\n isPreviousElementTag = false;\n matcher.pop();\n continue;\n } else if (tagName === options.cdataPropName) {\n if (isPreviousElementTag) {\n xmlStr += indentation;\n }\n xmlStr += ``;\n isPreviousElementTag = false;\n matcher.pop();\n continue;\n } else if (tagName === options.commentPropName) {\n xmlStr += indentation + ``;\n isPreviousElementTag = true;\n matcher.pop();\n continue;\n } else if (tagName[0] === \"?\") {\n const attStr = attr_to_str(tagObj[\":@\"], options, isStopNode);\n const tempInd = tagName === \"?xml\" ? \"\" : indentation;\n let piTextNodeName = tagObj[tagName][0][options.textNodeName];\n piTextNodeName = piTextNodeName.length !== 0 ? \" \" + piTextNodeName : \"\"; //remove extra spacing\n xmlStr += tempInd + `<${tagName}${piTextNodeName}${attStr}?>`;\n isPreviousElementTag = true;\n matcher.pop();\n continue;\n }\n\n let newIdentation = indentation;\n if (newIdentation !== \"\") {\n newIdentation += options.indentBy;\n }\n\n // Pass isStopNode to attr_to_str so attributes are also not processed for stopNodes\n const attStr = attr_to_str(tagObj[\":@\"], options, isStopNode);\n const tagStart = indentation + `<${tagName}${attStr}`;\n\n // If this is a stopNode, get raw content without processing\n let tagValue;\n if (isStopNode) {\n tagValue = getRawContent(tagObj[tagName], options);\n } else {\n\n tagValue = arrToStr(tagObj[tagName], options, newIdentation, matcher, stopNodeExpressions);\n }\n\n if (options.unpairedTags.indexOf(tagName) !== -1) {\n if (options.suppressUnpairedNode) xmlStr += tagStart + \">\";\n else xmlStr += tagStart + \"/>\";\n } else if ((!tagValue || tagValue.length === 0) && options.suppressEmptyNode) {\n xmlStr += tagStart + \"/>\";\n } else if (tagValue && tagValue.endsWith(\">\")) {\n xmlStr += tagStart + `>${tagValue}${indentation}`;\n } else {\n xmlStr += tagStart + \">\";\n if (tagValue && indentation !== \"\" && (tagValue.includes(\"/>\") || tagValue.includes(\"`;\n }\n isPreviousElementTag = true;\n\n // Pop tag from matcher\n matcher.pop();\n }\n\n return xmlStr;\n}\n\n/**\n * Extract attribute values from the \":@\" object and return as plain object\n * for passing to matcher.push()\n */\nfunction extractAttributeValues(attrMap, options) {\n if (!attrMap || options.ignoreAttributes) return null;\n\n const attrValues = {};\n let hasAttrs = false;\n\n for (let attr in attrMap) {\n if (!Object.prototype.hasOwnProperty.call(attrMap, attr)) continue;\n // Remove the attribute prefix to get clean attribute name\n const cleanAttrName = attr.startsWith(options.attributeNamePrefix)\n ? attr.substr(options.attributeNamePrefix.length)\n : attr;\n attrValues[cleanAttrName] = attrMap[attr];\n hasAttrs = true;\n }\n\n return hasAttrs ? attrValues : null;\n}\n\n/**\n * Extract raw content from a stopNode without any processing\n * This preserves the content exactly as-is, including special characters\n */\nfunction getRawContent(arr, options) {\n if (!Array.isArray(arr)) {\n // Non-array values return as-is\n if (arr !== undefined && arr !== null) {\n return arr.toString();\n }\n return \"\";\n }\n\n let content = \"\";\n for (let i = 0; i < arr.length; i++) {\n const item = arr[i];\n const tagName = propName(item);\n\n if (tagName === options.textNodeName) {\n // Raw text content - NO processing, NO entity replacement\n content += item[tagName];\n } else if (tagName === options.cdataPropName) {\n // CDATA content\n content += item[tagName][0][options.textNodeName];\n } else if (tagName === options.commentPropName) {\n // Comment content\n content += item[tagName][0][options.textNodeName];\n } else if (tagName && tagName[0] === \"?\") {\n // Processing instruction - skip for stopNodes\n continue;\n } else if (tagName) {\n // Nested tags within stopNode\n // Recursively get raw content and reconstruct the tag\n // For stopNodes, we don't process attributes either\n const attStr = attr_to_str_raw(item[\":@\"], options);\n const nestedContent = getRawContent(item[tagName], options);\n\n if (!nestedContent || nestedContent.length === 0) {\n content += `<${tagName}${attStr}/>`;\n } else {\n content += `<${tagName}${attStr}>${nestedContent}`;\n }\n }\n }\n return content;\n}\n\n/**\n * Build attribute string for stopNodes - NO entity replacement\n */\nfunction attr_to_str_raw(attrMap, options) {\n let attrStr = \"\";\n if (attrMap && !options.ignoreAttributes) {\n for (let attr in attrMap) {\n if (!Object.prototype.hasOwnProperty.call(attrMap, attr)) continue;\n // For stopNodes, use raw value without processing\n let attrVal = attrMap[attr];\n if (attrVal === true && options.suppressBooleanAttributes) {\n attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}`;\n } else {\n attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}=\"${attrVal}\"`;\n }\n }\n }\n return attrStr;\n}\n\nfunction propName(obj) {\n const keys = Object.keys(obj);\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;\n if (key !== \":@\") return key;\n }\n}\n\nfunction attr_to_str(attrMap, options, isStopNode) {\n let attrStr = \"\";\n if (attrMap && !options.ignoreAttributes) {\n for (let attr in attrMap) {\n if (!Object.prototype.hasOwnProperty.call(attrMap, attr)) continue;\n let attrVal;\n\n if (isStopNode) {\n // For stopNodes, use raw value without any processing\n attrVal = attrMap[attr];\n } else {\n // Normal processing: apply attributeValueProcessor and entity replacement\n attrVal = options.attributeValueProcessor(attr, attrMap[attr]);\n attrVal = replaceEntitiesValue(attrVal, options);\n }\n\n if (attrVal === true && options.suppressBooleanAttributes) {\n attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}`;\n } else {\n attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}=\"${attrVal}\"`;\n }\n }\n }\n return attrStr;\n}\n\nfunction checkStopNode(matcher, stopNodeExpressions) {\n if (!stopNodeExpressions || stopNodeExpressions.length === 0) return false;\n\n for (let i = 0; i < stopNodeExpressions.length; i++) {\n if (matcher.matches(stopNodeExpressions[i])) {\n return true;\n }\n }\n return false;\n}\n\nfunction replaceEntitiesValue(textValue, options) {\n if (textValue && textValue.length > 0 && options.processEntities) {\n for (let i = 0; i < options.entities.length; i++) {\n const entity = options.entities[i];\n textValue = textValue.replace(entity.regex, entity.val);\n }\n }\n return textValue;\n}","'use strict';\n//parse Empty Node as self closing node\nimport buildFromOrderedJs from './orderedJs2Xml.js';\nimport getIgnoreAttributesFn from \"./ignoreAttributes.js\";\nimport { Expression, Matcher } from 'path-expression-matcher';\n\nconst defaultOptions = {\n attributeNamePrefix: '@_',\n attributesGroupName: false,\n textNodeName: '#text',\n ignoreAttributes: true,\n cdataPropName: false,\n format: false,\n indentBy: ' ',\n suppressEmptyNode: false,\n suppressUnpairedNode: true,\n suppressBooleanAttributes: true,\n tagValueProcessor: function (key, a) {\n return a;\n },\n attributeValueProcessor: function (attrName, a) {\n return a;\n },\n preserveOrder: false,\n commentPropName: false,\n unpairedTags: [],\n entities: [\n { regex: new RegExp(\"&\", \"g\"), val: \"&\" },//it must be on top\n { regex: new RegExp(\">\", \"g\"), val: \">\" },\n { regex: new RegExp(\"<\", \"g\"), val: \"<\" },\n { regex: new RegExp(\"\\'\", \"g\"), val: \"'\" },\n { regex: new RegExp(\"\\\"\", \"g\"), val: \""\" }\n ],\n processEntities: true,\n stopNodes: [],\n // transformTagName: false,\n // transformAttributeName: false,\n oneListGroup: false,\n maxNestedTags: 100,\n jPath: true // When true, callbacks receive string jPath; when false, receive Matcher instance\n};\n\nexport default function Builder(options) {\n this.options = Object.assign({}, defaultOptions, options);\n\n // Convert old-style stopNodes for backward compatibility\n // Old syntax: \"*.tag\" meant \"tag anywhere in tree\"\n // New syntax: \"..tag\" means \"tag anywhere in tree\"\n if (this.options.stopNodes && Array.isArray(this.options.stopNodes)) {\n this.options.stopNodes = this.options.stopNodes.map(node => {\n if (typeof node === 'string' && node.startsWith('*.')) {\n // Convert old wildcard syntax to deep wildcard\n return '..' + node.substring(2);\n }\n return node;\n });\n }\n\n // Pre-compile stopNode expressions for pattern matching\n this.stopNodeExpressions = [];\n if (this.options.stopNodes && Array.isArray(this.options.stopNodes)) {\n for (let i = 0; i < this.options.stopNodes.length; i++) {\n const node = this.options.stopNodes[i];\n if (typeof node === 'string') {\n this.stopNodeExpressions.push(new Expression(node));\n } else if (node instanceof Expression) {\n this.stopNodeExpressions.push(node);\n }\n }\n }\n\n if (this.options.ignoreAttributes === true || this.options.attributesGroupName) {\n this.isAttribute = function (/*a*/) {\n return false;\n };\n } else {\n this.ignoreAttributesFn = getIgnoreAttributesFn(this.options.ignoreAttributes)\n this.attrPrefixLen = this.options.attributeNamePrefix.length;\n this.isAttribute = isAttribute;\n }\n\n this.processTextOrObjNode = processTextOrObjNode\n\n if (this.options.format) {\n this.indentate = indentate;\n this.tagEndChar = '>\\n';\n this.newLine = '\\n';\n } else {\n this.indentate = function () {\n return '';\n };\n this.tagEndChar = '>';\n this.newLine = '';\n }\n}\n\nBuilder.prototype.build = function (jObj) {\n if (this.options.preserveOrder) {\n return buildFromOrderedJs(jObj, this.options);\n } else {\n if (Array.isArray(jObj) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1) {\n jObj = {\n [this.options.arrayNodeName]: jObj\n }\n }\n // Initialize matcher for path tracking\n const matcher = new Matcher();\n return this.j2x(jObj, 0, matcher).val;\n }\n};\n\nBuilder.prototype.j2x = function (jObj, level, matcher) {\n let attrStr = '';\n let val = '';\n if (this.options.maxNestedTags && matcher.getDepth() >= this.options.maxNestedTags) {\n throw new Error(\"Maximum nested tags exceeded\");\n }\n // Get jPath based on option: string for backward compatibility, or Matcher for new features\n const jPath = this.options.jPath ? matcher.toString() : matcher;\n\n // Check if current node is a stopNode (will be used for attribute encoding)\n const isCurrentStopNode = this.checkStopNode(matcher);\n\n for (let key in jObj) {\n if (!Object.prototype.hasOwnProperty.call(jObj, key)) continue;\n if (typeof jObj[key] === 'undefined') {\n // supress undefined node only if it is not an attribute\n if (this.isAttribute(key)) {\n val += '';\n }\n } else if (jObj[key] === null) {\n // null attribute should be ignored by the attribute list, but should not cause the tag closing\n if (this.isAttribute(key)) {\n val += '';\n } else if (key === this.options.cdataPropName) {\n val += '';\n } else if (key[0] === '?') {\n val += this.indentate(level) + '<' + key + '?' + this.tagEndChar;\n } else {\n val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;\n }\n // val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;\n } else if (jObj[key] instanceof Date) {\n val += this.buildTextValNode(jObj[key], key, '', level, matcher);\n } else if (typeof jObj[key] !== 'object') {\n //premitive type\n const attr = this.isAttribute(key);\n if (attr && !this.ignoreAttributesFn(attr, jPath)) {\n attrStr += this.buildAttrPairStr(attr, '' + jObj[key], isCurrentStopNode);\n } else if (!attr) {\n //tag value\n if (key === this.options.textNodeName) {\n let newval = this.options.tagValueProcessor(key, '' + jObj[key]);\n val += this.replaceEntitiesValue(newval);\n } else {\n // Check if this is a stopNode before building\n matcher.push(key);\n const isStopNode = this.checkStopNode(matcher);\n matcher.pop();\n\n if (isStopNode) {\n // Build as raw content without encoding\n const textValue = '' + jObj[key];\n if (textValue === '') {\n val += this.indentate(level) + '<' + key + this.closeTag(key) + this.tagEndChar;\n } else {\n val += this.indentate(level) + '<' + key + '>' + textValue + '' + textValue + '${item}`;\n } else if (typeof item === 'object' && item !== null) {\n const nestedContent = this.buildRawContent(item);\n const nestedAttrs = this.buildAttributesForStopNode(item);\n if (nestedContent === '') {\n content += `<${key}${nestedAttrs}/>`;\n } else {\n content += `<${key}${nestedAttrs}>${nestedContent}`;\n }\n }\n }\n } else if (typeof value === 'object' && value !== null) {\n // Nested object\n const nestedContent = this.buildRawContent(value);\n const nestedAttrs = this.buildAttributesForStopNode(value);\n if (nestedContent === '') {\n content += `<${key}${nestedAttrs}/>`;\n } else {\n content += `<${key}${nestedAttrs}>${nestedContent}`;\n }\n } else {\n // Primitive value\n content += `<${key}>${value}`;\n }\n }\n\n return content;\n};\n\n// Build attribute string for stopNode (no entity encoding)\nBuilder.prototype.buildAttributesForStopNode = function (obj) {\n if (!obj || typeof obj !== 'object') return '';\n\n let attrStr = '';\n\n // Check for attributesGroupName (when attributes are grouped)\n if (this.options.attributesGroupName && obj[this.options.attributesGroupName]) {\n const attrGroup = obj[this.options.attributesGroupName];\n for (let attrKey in attrGroup) {\n if (!Object.prototype.hasOwnProperty.call(attrGroup, attrKey)) continue;\n const cleanKey = attrKey.startsWith(this.options.attributeNamePrefix)\n ? attrKey.substring(this.options.attributeNamePrefix.length)\n : attrKey;\n const val = attrGroup[attrKey];\n if (val === true && this.options.suppressBooleanAttributes) {\n attrStr += ' ' + cleanKey;\n } else {\n attrStr += ' ' + cleanKey + '=\"' + val + '\"'; // No encoding for stopNode\n }\n }\n } else {\n // Look for individual attributes\n for (let key in obj) {\n if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;\n const attr = this.isAttribute(key);\n if (attr) {\n const val = obj[key];\n if (val === true && this.options.suppressBooleanAttributes) {\n attrStr += ' ' + attr;\n } else {\n attrStr += ' ' + attr + '=\"' + val + '\"'; // No encoding for stopNode\n }\n }\n }\n }\n\n return attrStr;\n};\n\nBuilder.prototype.buildObjectNode = function (val, key, attrStr, level) {\n if (val === \"\") {\n if (key[0] === \"?\") return this.indentate(level) + '<' + key + attrStr + '?' + this.tagEndChar;\n else {\n return this.indentate(level) + '<' + key + attrStr + this.closeTag(key) + this.tagEndChar;\n }\n } else {\n\n let tagEndExp = '' + val + tagEndExp);\n } else if (this.options.commentPropName !== false && key === this.options.commentPropName && piClosingChar.length === 0) {\n return this.indentate(level) + `` + this.newLine;\n } else {\n return (\n this.indentate(level) + '<' + key + attrStr + piClosingChar + this.tagEndChar +\n val +\n this.indentate(level) + tagEndExp);\n }\n }\n}\n\nBuilder.prototype.closeTag = function (key) {\n let closeTag = \"\";\n if (this.options.unpairedTags.indexOf(key) !== -1) { //unpaired\n if (!this.options.suppressUnpairedNode) closeTag = \"/\"\n } else if (this.options.suppressEmptyNode) { //empty\n closeTag = \"/\";\n } else {\n closeTag = `>` + this.newLine;\n } else if (this.options.commentPropName !== false && key === this.options.commentPropName) {\n return this.indentate(level) + `` + this.newLine;\n } else if (key[0] === \"?\") {//PI tag\n return this.indentate(level) + '<' + key + attrStr + '?' + this.tagEndChar;\n } else {\n // Normal processing: apply tagValueProcessor and entity replacement\n let textValue = this.options.tagValueProcessor(key, val);\n textValue = this.replaceEntitiesValue(textValue);\n\n if (textValue === '') {\n return this.indentate(level) + '<' + key + attrStr + this.closeTag(key) + this.tagEndChar;\n } else {\n return this.indentate(level) + '<' + key + attrStr + '>' +\n textValue +\n ' 0 && this.options.processEntities) {\n for (let i = 0; i < this.options.entities.length; i++) {\n const entity = this.options.entities[i];\n textValue = textValue.replace(entity.regex, entity.val);\n }\n }\n return textValue;\n}\n\nfunction indentate(level) {\n return this.options.indentBy.repeat(level);\n}\n\nfunction isAttribute(name /*, options*/) {\n if (name.startsWith(this.options.attributeNamePrefix) && name !== this.options.textNodeName) {\n return name.substr(this.attrPrefixLen);\n } else {\n return false;\n }\n}","export default function getIgnoreAttributesFn(ignoreAttributes) {\n if (typeof ignoreAttributes === 'function') {\n return ignoreAttributes\n }\n if (Array.isArray(ignoreAttributes)) {\n return (attrName) => {\n for (const pattern of ignoreAttributes) {\n if (typeof pattern === 'string' && attrName === pattern) {\n return true\n }\n if (pattern instanceof RegExp && pattern.test(attrName)) {\n return true\n }\n }\n }\n }\n return () => false\n}","// Re-export from fast-xml-builder for backward compatibility\nimport XMLBuilder from 'fast-xml-builder';\nexport default XMLBuilder;\n\n// If there are any named exports you also want to re-export:\nexport * from 'fast-xml-builder';","'use strict';\n\nimport { validate } from './validator.js';\nimport XMLParser from './xmlparser/XMLParser.js';\nimport XMLBuilder from './xmlbuilder/json2xml.js';\n\nconst XMLValidator = {\n validate: validate\n}\nexport {\n XMLParser,\n XMLValidator,\n XMLBuilder\n};"],"names":["root","factory","exports","module","define","amd","this","__webpack_require__","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","value","nameStartChar","regexName","RegExp","getAllMatches","string","regex","matches","match","exec","allmatches","startIndex","lastIndex","length","len","index","push","isName","DANGEROUS_PROPERTY_NAMES","criticalProperties","defaultOptions","allowBooleanAttributes","unpairedTags","validate","xmlData","options","assign","tags","tagFound","reachedRoot","substr","i","readPI","err","isWhiteSpace","getErrorObject","getLineNumberForPosition","tagStartPos","readCommentAndCDATA","closingTag","tagName","trim","substring","validateTagName","result","readAttributeStr","attrStr","attrStrStart","isValid","validateAttributeString","code","msg","line","tagClosed","otg","pop","openPos","col","indexOf","afterAmp","validateAmpersand","JSON","stringify","map","t","replace","char","start","tagname","angleBracketsCount","doubleQuote","singleQuote","startChar","validAttrStrRegxp","attrNames","getPositionFromMatch","undefined","attrName","validateAttrName","re","validateNumberAmpersand","count","message","lineNumber","lines","split","defaultOnDangerousProperty","name","includes","preserveOrder","attributeNamePrefix","attributesGroupName","textNodeName","ignoreAttributes","removeNSPrefix","parseTagValue","parseAttributeValue","trimValues","cdataPropName","numberParseOptions","hex","leadingZeros","eNotation","tagValueProcessor","val","attributeValueProcessor","stopNodes","alwaysCreateTextNode","isArray","commentPropName","processEntities","htmlEntities","ignoreDeclaration","ignorePiTags","transformTagName","transformAttributeName","updateTag","jPath","attrs","captureMetaData","maxNestedTags","strictReservedNames","onDangerousProperty","validatePropertyName","propertyName","optionName","normalized","toLowerCase","some","dangerous","Error","normalizeProcessEntities","enabled","maxEntitySize","maxExpansionDepth","maxTotalExpansions","maxExpandedLength","maxEntityCount","allowedTags","tagFilter","Math","max","_value$maxEntitySize","_value$maxExpansionDe","_value$maxTotalExpans","_value$maxExpandedLen","_value$maxEntityCount","_value$allowedTags","_value$tagFilter","METADATA_SYMBOL","buildOptions","built","_i","_propertyNameOptions","_propertyNameOptions$","Array","node","startsWith","XmlNode","child","create","_proto","add","_this$child$push","addChild","_this$child$push2","_this$child$push3","keys","getMetaDataSymbol","DocTypeReader","suppressValidationErr","readDocType","entities","entityCount","hasBody","comment","hasSeq","entityName","_this$readEntityExp","readEntityExp","escaped","regx","readElementExp","readNotationExp","skipWhitespace","test","validateEntityName","toUpperCase","entityValue","_this$readIdentifierV","readIdentifierVal","notationName","identifierType","publicIdentifier","systemIdentifier","_this$readIdentifierV2","_this$readIdentifierV3","_this$readIdentifierV4","type","identifierVal","elementName","contentModel","readAttlistExp","attributeName","attributeType","allowedNotations","notation","join","defaultValue","_this$readIdentifierV5","data","seq","j","hexRegex","numRegex","consider","decimalPoint","infinity","eNotationRegx","MUTATING_METHODS","Set","Matcher","constructor","separator","path","siblingStacks","attrValues","namespace","values","currentLevel","Map","siblings","siblingKey","counter","position","set","tag","updateCurrent","current","getCurrentTag","getCurrentNamespace","getAttrValue","hasAttr","getPosition","getCounter","getIndex","getDepth","toString","includeNamespace","sep","n","toArray","reset","expression","segments","hasDeepWildcard","_matchWithDeepWildcard","_matchSimple","segment","isCurrentNode","_matchSegment","pathIdx","segIdx","nextSeg","found","attrValue","actualValue","String","positionValue","snapshot","restore","readOnly","Proxy","target","receiver","has","TypeError","Reflect","freeze","item","bind","_target","deleteProperty","Expression","pattern","_parse","_hasDeepWildcard","seg","_hasAttributeCondition","_hasPositionSelector","currentPart","_parseSegment","part","bracketContent","withoutBrackets","bracketMatch","content","slice","tagAndPosition","nsIndex","positionMatch","colonIndex","lastIndexOf","tagPart","posPart","eqIndex","nthMatch","parseInt","hasAttributeCondition","hasPositionSelector","extractRawAttributes","prefixedAttrs","rawAttrs","extractNamespace","rawTagName","ns","OrderedObjParser","currentNode","tagsNodeStack","docTypeEntities","lastEntities","ampEntity","_","str","fromCodePoint","addExternalEntities","parseXml","parseTextData","resolveNameSpace","buildAttributesMap","isItStopNode","replaceEntitiesValue","readStopNodeData","saveTextToParentTag","ignoreAttributesFn","_step","_iterator","_createForOfIteratorHelperLoose","done","entityExpansionCount","currentExpandedLength","matcher","readonlyMatcher","isCurrentNodeStopNode","stopNodeExpressions","stopNodeExp","externalEntities","entKeys","ent","dontTrim","hasAttributes","isLeafNode","escapeEntities","jPathOrMatcher","newval","parseValue","prefix","charAt","attrsRegx","rawAttrsForMatcher","oldVal","parsedVal","jPathStr","aName","sanitizeName","newVal","attrCollection","xmlObj","xmlNode","textData","docTypeReader","closeIndex","findClosingIndex","lastTagName","tagData","readTagExp","childNode","tagExp","attrExpPresent","endIndex","_ref","_ref2","context","min","_transformTagName","lastTag","isSelfClosing","tagContent","_transformTagName2","entityConfig","_i2","_Object$keys","entity","lengthBefore","_i3","_Object$keys2","_i4","_Object$keys3","parentNode","errMsg","closingIndex","closingChar","attrBoundary","ch","tagExpWithClosingIndex","separatorIndex","search","trimStart","openTagCount","shouldParse","trimmedStr","skipLike","numStr","Number","window","parse_int","isFinite","sign","eChar","eAdjacentToLeadingZeros","resolveEnotation","numTrimmedByZeros","decimalAdjacentToLeadingZeros","num","parsedStr","isPositive","Infinity","handleInfinity","toNumber","base","codePoint","fn","newTagName","stripAttributePrefix","prettify","compress","arr","text","compressedObj","tagObj","property","propName","isLeaf","isLeafTag","assignAttributes","attrMap","atrrName","rawAttrName","propCount","XMLParser","parse","validationOption","orderedObjParser","orderedResult","addEntity","toXml","jArray","indentation","format","indentBy","arrToStr","xmlStr","isPreviousElementTag","extractAttributeValues","isStopNode","checkStopNode","tagText","attStr","attr_to_str","tempInd","piTextNodeName","newIdentation","tagStart","tagValue","getRawContent","suppressUnpairedNode","suppressEmptyNode","endsWith","hasAttrs","attr","attr_to_str_raw","nestedContent","attrVal","suppressBooleanAttributes","textValue","a","oneListGroup","Builder","isAttribute","attrPrefixLen","processTextOrObjNode","indentate","tagEndChar","newLine","object","level","extractAttributes","rawContent","buildRawContent","buildAttributesForStopNode","buildObjectNode","j2x","buildTextValNode","repeat","build","jObj","buildFromOrderedJs","arrayNodeName","isCurrentStopNode","Date","buildAttrPairStr","closeTag","arrLen","listTagVal","listTagAttr","Ks","L","attrGroup","attrKey","nestedAttrs","cleanKey","tagEndExp","piClosingChar","XMLValidator"],"sourceRoot":""} \ No newline at end of file diff --git a/node_modules/fast-xml-parser/lib/fxparser.min.js b/node_modules/fast-xml-parser/lib/fxparser.min.js new file mode 100644 index 0000000..2e839f0 --- /dev/null +++ b/node_modules/fast-xml-parser/lib/fxparser.min.js @@ -0,0 +1,2 @@ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.XMLParser=e():t.XMLParser=e()}(this,()=>(()=>{"use strict";var t={d:(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{default:()=>ft});var r=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",n=new RegExp("^["+r+"]["+r+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function i(t,e){for(var r=[],n=e.exec(t);n;){var i=[];i.startIndex=e.lastIndex-n[0].length;for(var a=n.length,s=0;s0?this.child.push(((r={})[t.tagname]=t.child,r[":@"]=t[":@"],r)):this.child.push(((n={})[t.tagname]=t.child,n)),void 0!==e&&(this.child[this.child.length-1][d]={startIndex:e})},t.getMetaDataSymbol=function(){return d},t}(),c=function(){function t(t){this.suppressValidationErr=!t,this.options=t}var e=t.prototype;return e.readDocType=function(t,e){var r=Object.create(null),n=0;if("O"!==t[e+3]||"C"!==t[e+4]||"T"!==t[e+5]||"Y"!==t[e+6]||"P"!==t[e+7]||"E"!==t[e+8])throw new Error("Invalid Tag instead of DOCTYPE");e+=9;for(var i=1,a=!1,s=!1;e"===t[e]){if(s?"-"===t[e-1]&&"-"===t[e-2]&&(s=!1,i--):i--,0===i)break}else"["===t[e]?a=!0:t[e];else{if(a&&v(t,"!ENTITY",e)){e+=7;var o=void 0,l=void 0,h=this.readEntityExp(t,e+1,this.suppressValidationErr);if(o=h[0],l=h[1],e=h[2],-1===l.indexOf("&")){if(!1!==this.options.enabled&&null!=this.options.maxEntityCount&&n>=this.options.maxEntityCount)throw new Error("Entity count ("+(n+1)+") exceeds maximum allowed ("+this.options.maxEntityCount+")");var u=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");r[o]={regx:RegExp("&"+u+";","g"),val:l},n++}}else if(a&&v(t,"!ELEMENT",e))e+=8,e=this.readElementExp(t,e+1).index;else if(a&&v(t,"!ATTLIST",e))e+=8;else if(a&&v(t,"!NOTATION",e))e+=9,e=this.readNotationExp(t,e+1,this.suppressValidationErr).index;else{if(!v(t,"!--",e))throw new Error("Invalid DOCTYPE");s=!0}i++}if(0!==i)throw new Error("Unclosed DOCTYPE");return{entities:r,i:e}},e.readEntityExp=function(t,e){for(var r=e=m(t,e);ethis.options.maxEntitySize)throw new Error('Entity "'+n+'" size ('+i.length+") exceeds maximum allowed size ("+this.options.maxEntitySize+")");return[n,i,--e]},e.readNotationExp=function(t,e){for(var r=e=m(t,e);et.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&(this.path[this.path.length-1].values=void 0);const n=this.path.length;this.siblingStacks[n]||(this.siblingStacks[n]=new Map);const i=this.siblingStacks[n],a=r?`${r}:${t}`:t,s=i.get(a)||0;let o=0;for(const t of i.values())o+=t;i.set(a,s+1);const l={tag:t,position:o,counter:s};null!=r&&(l.namespace=r),null!=e&&(l.values=e),this.path.push(l)}pop(){if(0===this.path.length)return;const t=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),t}updateCurrent(t){if(this.path.length>0){const e=this.path[this.path.length-1];null!=t&&(e.values=t)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(t){if(0===this.path.length)return;const e=this.path[this.path.length-1];return e.values?.[t]}hasAttr(t){if(0===this.path.length)return!1;const e=this.path[this.path.length-1];return void 0!==e.values&&t in e.values}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(t,e=!0){const r=t||this.separator;return this.path.map(t=>e&&t.namespace?`${t.namespace}:${t.tag}`:t.tag).join(r)}toArray(){return this.path.map(t=>t.tag)}reset(){this.path=[],this.siblingStacks=[]}matches(t){const e=t.segments;return 0!==e.length&&(t.hasDeepWildcard()?this._matchWithDeepWildcard(e):this._matchSimple(e))}_matchSimple(t){if(this.path.length!==t.length)return!1;for(let e=0;e=0&&e>=0;){const n=t[r];if("deep-wildcard"===n.type){if(r--,r<0)return!0;const n=t[r];let i=!1;for(let t=e;t>=0;t--){const a=t===this.path.length-1;if(this._matchSegment(n,this.path[t],a)){e=t-1,r--,i=!0;break}}if(!i)return!1}else{const t=e===this.path.length-1;if(!this._matchSegment(n,this.path[e],t))return!1;e--,r--}}return r<0}_matchSegment(t,e,r){if("*"!==t.tag&&t.tag!==e.tag)return!1;if(void 0!==t.namespace&&"*"!==t.namespace&&t.namespace!==e.namespace)return!1;if(void 0!==t.attrName){if(!r)return!1;if(!e.values||!(t.attrName in e.values))return!1;if(void 0!==t.attrValue){const r=e.values[t.attrName];if(String(r)!==String(t.attrValue))return!1}}if(void 0!==t.position){if(!r)return!1;const n=e.counter??0;if("first"===t.position&&0!==n)return!1;if("odd"===t.position&&n%2!=1)return!1;if("even"===t.position&&n%2!=0)return!1;if("nth"===t.position&&n!==t.positionValue)return!1}return!0}snapshot(){return{path:this.path.map(t=>({...t})),siblingStacks:this.siblingStacks.map(t=>new Map(t))}}restore(t){this.path=t.path.map(t=>({...t})),this.siblingStacks=t.siblingStacks.map(t=>new Map(t))}readOnly(){return new Proxy(this,{get(t,e,r){if(T.has(e))return()=>{throw new TypeError(`Cannot call '${e}' on a read-only Matcher. Obtain a writable instance to mutate state.`)};const n=Reflect.get(t,e,r);return"path"===e||"siblingStacks"===e?Object.freeze(Array.isArray(n)?n.map(t=>t instanceof Map?Object.freeze(new Map(t)):Object.freeze({...t})):n):"function"==typeof n?n.bind(t):n},set(t,e){throw new TypeError(`Cannot set property '${String(e)}' on a read-only Matcher.`)},deleteProperty(t,e){throw new TypeError(`Cannot delete property '${String(e)}' from a read-only Matcher.`)}})}}class I{constructor(t,e={}){this.pattern=t,this.separator=e.separator||".",this.segments=this._parse(t),this._hasDeepWildcard=this.segments.some(t=>"deep-wildcard"===t.type),this._hasAttributeCondition=this.segments.some(t=>void 0!==t.attrName),this._hasPositionSelector=this.segments.some(t=>void 0!==t.position)}_parse(t){const e=[];let r=0,n="";for(;r0){var r=t.substring(0,e);if("xmlns"!==r)return r}}}var O=function(t){var e;if(this.options=t,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:function(t,e){return W(e,10,"&#")}},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:function(t,e){return W(e,16,"&#x")}}},this.addExternalEntities=A,this.parseXml=j,this.parseTextData=M,this.resolveNameSpace=_,this.buildAttributesMap=k,this.isItStopNode=$,this.replaceEntitiesValue=F,this.readStopNodeData=Y,this.saveTextToParentTag=L,this.addChild=V,this.ignoreAttributesFn="function"==typeof(e=this.options.ignoreAttributes)?e:Array.isArray(e)?function(t){for(var r,n=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return w(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(r=n()).done;){var i=r.value;if("string"==typeof i&&t===i)return!0;if(i instanceof RegExp&&i.test(t))return!0}}:function(){return!1},this.entityExpansionCount=0,this.currentExpandedLength=0,this.matcher=new S,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodeExpressions=[];for(var r=0;r0)){s||(t=this.replaceEntitiesValue(t,e,r));var o=this.options.jPath?r.toString():r,l=this.options.tagValueProcessor(e,t,o,i,a);return null==l?t:typeof l!=typeof t||l!==t?l:this.options.trimValues||t.trim()===t?z(t,this.options.parseTagValue,this.options.numberParseOptions):t}}function _(t){if(this.options.removeNSPrefix){var e=t.split(":"),r="/"===t.charAt(0)?"/":"";if("xmlns"===e[0])return"";2===e.length&&(t=r+e[1])}return t}var D=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function k(t,e,r){if(!0!==this.options.ignoreAttributes&&"string"==typeof t){for(var n=i(t,D),a=n.length,s={},o={},l=0;l0&&"object"==typeof e&&e.updateCurrent&&e.updateCurrent(o);for(var d=0;d",a,"Closing Tag is not closed."),o=t.substring(a+2,s).trim();if(this.options.removeNSPrefix){var l=o.indexOf(":");-1!==l&&(o=o.substr(l+1))}o=X(this.options.transformTagName,o,"",this.options).tagName,r&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher));var h=this.matcher.getCurrentTag();if(o&&-1!==this.options.unpairedTags.indexOf(o))throw new Error("Unpaired tag can not be used as closing tag: ");h&&-1!==this.options.unpairedTags.indexOf(h)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),n="",a=s}else if("?"===t[a+1]){var u=R(t,a,!1,"?>");if(!u)throw new Error("Pi Tag is not closed.");if(n=this.saveTextToParentTag(n,r,this.readonlyMatcher),this.options.ignoreDeclaration&&"?xml"===u.tagName||this.options.ignorePiTags);else{var p=new g(u.tagName);p.add(this.options.textNodeName,""),u.tagName!==u.tagExp&&u.attrExpPresent&&(p[":@"]=this.buildAttributesMap(u.tagExp,this.matcher,u.tagName)),this.addChild(r,p,this.readonlyMatcher,a)}a=u.closeIndex+1}else if("!--"===t.substr(a+1,3)){var d=U(t,"--\x3e",a+4,"Comment is not closed.");if(this.options.commentPropName){var f,m=t.substring(a+4,d-2);n=this.saveTextToParentTag(n,r,this.readonlyMatcher),r.add(this.options.commentPropName,[(f={},f[this.options.textNodeName]=m,f)])}a=d}else if("!D"===t.substr(a+1,2)){var v=i.readDocType(t,a);this.docTypeEntities=v.entities,a=v.i}else if("!["===t.substr(a+1,2)){var x=U(t,"]]>",a,"CDATA is not closed.")-2,E=t.substring(a+9,x);n=this.saveTextToParentTag(n,r,this.readonlyMatcher);var b,y=this.parseTextData(E,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);null==y&&(y=""),this.options.cdataPropName?r.add(this.options.cdataPropName,[(b={},b[this.options.textNodeName]=E,b)]):r.add(this.options.textNodeName,y),a=x+2}else{var N=R(t,a,this.options.removeNSPrefix);if(!N){var w=t.substring(Math.max(0,a-50),Math.min(t.length,a+50));throw new Error("readTagExp returned undefined at position "+a+'. Context: "'+w+'"')}var T=N.tagName,S=N.rawTagName,I=N.tagExp,O=N.attrExpPresent,A=N.closeIndex,M=X(this.options.transformTagName,T,I,this.options);if(T=M.tagName,I=M.tagExp,this.options.strictReservedNames&&(T===this.options.commentPropName||T===this.options.cdataPropName||T===this.options.textNodeName||T===this.options.attributesGroupName))throw new Error("Invalid tag name: "+T);r&&n&&"!xml"!==r.tagname&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher,!1));var _=r;_&&-1!==this.options.unpairedTags.indexOf(_.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());var D=!1;I.length>0&&I.lastIndexOf("/")===I.length-1&&(D=!0,I="/"===T[T.length-1]?T=T.substr(0,T.length-1):I.substr(0,I.length-1),O=T!==I);var k,j=null;k=P(S),T!==e.tagname&&this.matcher.push(T,{},k),T!==I&&O&&(j=this.buildAttributesMap(I,this.matcher,T))&&C(j,this.options),T!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode(this.stopNodeExpressions,this.matcher));var V=a;if(this.isCurrentNodeStopNode){var F="";if(D)a=N.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(T))a=N.closeIndex;else{var L=this.readStopNodeData(t,S,A+1);if(!L)throw new Error("Unexpected end of "+S);a=L.i,F=L.tagContent}var $=new g(T);j&&($[":@"]=j),$.add(this.options.textNodeName,F),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,$,this.readonlyMatcher,V)}else{if(D){var Y=X(this.options.transformTagName,T,I,this.options);T=Y.tagName,I=Y.tagExp;var z=new g(T);j&&(z[":@"]=j),this.addChild(r,z,this.readonlyMatcher,V),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else{if(-1!==this.options.unpairedTags.indexOf(T)){var W=new g(T);j&&(W[":@"]=j),this.addChild(r,W,this.readonlyMatcher,V),this.matcher.pop(),this.isCurrentNodeStopNode=!1,a=N.closeIndex;continue}var G=new g(T);if(this.tagsNodeStack.length>this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),j&&(G[":@"]=j),this.addChild(r,G,this.readonlyMatcher,V),r=G}n="",a=A}}else n+=t[a];return e.child};function V(t,e,r,n){this.options.captureMetaData||(n=void 0);var i=this.options.jPath?r.toString():r,a=this.options.updateTag(e.tagname,i,e[":@"]);!1===a||("string"==typeof a?(e.tagname=a,t.addChild(e,n)):t.addChild(e,n))}function F(t,e,r){var n=this.options.processEntities;if(!n||!n.enabled)return t;if(n.allowedTags){var i=this.options.jPath?r.toString():r;if(!(Array.isArray(n.allowedTags)?n.allowedTags.includes(e):n.allowedTags(e,i)))return t}if(n.tagFilter){var a=this.options.jPath?r.toString():r;if(!n.tagFilter(e,a))return t}for(var s=0,o=Object.keys(this.docTypeEntities);sn.maxTotalExpansions)throw new Error("Entity expansion limit exceeded: "+this.entityExpansionCount+" > "+n.maxTotalExpansions);var p=t.length;if(t=t.replace(h.regx,h.val),n.maxExpandedLength&&(this.currentExpandedLength+=t.length-p,this.currentExpandedLength>n.maxExpandedLength))throw new Error("Total expanded content size exceeded: "+this.currentExpandedLength+" > "+n.maxExpandedLength)}}for(var d=0,f=Object.keys(this.lastEntities);dn.maxTotalExpansions))throw new Error("Entity expansion limit exceeded: "+this.entityExpansionCount+" > "+n.maxTotalExpansions);t=t.replace(c.regex,c.val)}if(-1===t.indexOf("&"))return t;if(this.options.htmlEntities)for(var v=0,x=Object.keys(this.htmlEntities);vn.maxTotalExpansions))throw new Error("Entity expansion limit exceeded: "+this.entityExpansionCount+" > "+n.maxTotalExpansions);t=t.replace(b.regex,b.val)}return t.replace(this.ampEntity.regex,this.ampEntity.val)}function L(t,e,r,n){return t&&(void 0===n&&(n=0===e.child.length),void 0!==(t=this.parseTextData(t,e.tagname,r,!1,!!e[":@"]&&0!==Object.keys(e[":@"]).length,n))&&""!==t&&e.add(this.options.textNodeName,t),t=""),t}function $(t,e){if(!t||0===t.length)return!1;for(var r=0;r");var i=function(t,e,r){var n;void 0===r&&(r=">");for(var i="",a=e;a",r,e+" is not closed");if(t.substring(r+2,a).trim()===e&&0===--i)return{tagContent:t.substring(n,r),i:a};r=a}else if("?"===t[r+1])r=U(t,"?>",r+1,"StopNode is not closed.");else if("!--"===t.substr(r+1,3))r=U(t,"--\x3e",r+3,"StopNode is not closed.");else if("!["===t.substr(r+1,2))r=U(t,"]]>",r,"StopNode is not closed.")-2;else{var s=R(t,r,">");s&&((s&&s.tagName)===e&&"/"!==s.tagExp[s.tagExp.length-1]&&i++,r=s.closeIndex)}}function z(t,e,r){if(e&&"string"==typeof t){var n=t.trim();return"true"===n||"false"!==n&&function(t,e={}){if(e=Object.assign({},y,e),!t||"string"!=typeof t)return t;let r=t.trim();if(void 0!==e.skipLike&&e.skipLike.test(r))return t;if("0"===t)return 0;if(e.hex&&E.test(r))return function(t){if(parseInt)return parseInt(t,16);if(Number.parseInt)return Number.parseInt(t,16);if(window&&window.parseInt)return window.parseInt(t,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}(r);if(isFinite(r)){if(r.includes("e")||r.includes("E"))return function(t,e,r){if(!r.eNotation)return t;const n=e.match(N);if(n){let i=n[1]||"";const a=-1===n[3].indexOf("e")?"E":"e",s=n[2],o=i?t[s.length+1]===a:t[s.length]===a;return s.length>1&&o?t:(1!==s.length||!n[3].startsWith(`.${a}`)&&n[3][0]!==a)&&s.length>0?r.leadingZeros&&!o?(e=(n[1]||"")+n[3],Number(e)):t:Number(e)}return t}(t,r,e);{const i=b.exec(r);if(i){const a=i[1]||"",s=i[2];let o=(n=i[3])&&-1!==n.indexOf(".")?("."===(n=n.replace(/0+$/,""))?n="0":"."===n[0]?n="0"+n:"."===n[n.length-1]&&(n=n.substring(0,n.length-1)),n):n;const l=a?"."===t[s.length+1]:"."===t[s.length];if(!e.leadingZeros&&(s.length>1||1===s.length&&!l))return t;{const n=Number(r),i=String(n);if(0===n)return n;if(-1!==i.search(/[eE]/))return e.eNotation?n:t;if(-1!==r.indexOf("."))return"0"===i||i===o||i===`${a}${o}`?n:t;let l=s?o:r;return s?l===i||a+l===i?n:t:l===i||l===a+i?n:t}}return t}}var n;return function(t,e,r){const n=e===1/0;switch(r.infinity.toLowerCase()){case"null":return null;case"infinity":return e;case"string":return n?"Infinity":"-Infinity";default:return t}}(t,Number(r),e)}(t,r)}return void 0!==t?t:""}function W(t,e,r){var n=Number.parseInt(t,e);return n>=0&&n<=1114111?String.fromCodePoint(n):r+t+";"}function X(t,e,r,n){if(t){var i=t(e);r===e&&(r=i),e=i}return{tagName:e=G(e,n),tagExp:r}}function G(t,e){if(o.includes(t))throw new Error('[SECURITY] Invalid name: "'+t+'" is a reserved JavaScript keyword that could cause prototype pollution');return s.includes(t)?e.onDangerousProperty(t):t}var B=g.getMetaDataSymbol();function Z(t,e){if(!t||"object"!=typeof t)return{};if(!e)return t;var r={};for(var n in t)n.startsWith(e)?r[n.substring(e.length)]=t[n]:r[n]=t[n];return r}function q(t,e,r,n){return J(t,e,r,n)}function J(t,e,r,n){for(var i,a={},s=0;s0&&(a[e.textNodeName]=i):void 0!==i&&(a[e.textNodeName]=i),a}function K(t){for(var e=Object.keys(t),r=0;r5&&"xml"===n)return lt("InvalidXml","XML declaration allowed only at the start of the document.",pt(t,e));if("?"==t[e]&&">"==t[e+1]){e++;break}}return e}function nt(t,e){if(t.length>e+5&&"-"===t[e+1]&&"-"===t[e+2]){for(e+=3;e"===t[e+2]){e+=2;break}}else if(t.length>e+8&&"D"===t[e+1]&&"O"===t[e+2]&&"C"===t[e+3]&&"T"===t[e+4]&&"Y"===t[e+5]&&"P"===t[e+6]&&"E"===t[e+7]){var r=1;for(e+=8;e"===t[e]&&0===--r)break}else if(t.length>e+9&&"["===t[e+1]&&"C"===t[e+2]&&"D"===t[e+3]&&"A"===t[e+4]&&"T"===t[e+5]&&"A"===t[e+6]&&"["===t[e+7])for(e+=8;e"===t[e+2]){e+=2;break}return e}function it(t,e){for(var r="",n="",i=!1;e"===t[e]&&""===n){i=!0;break}r+=t[e]}return""===n&&{value:r,index:e,tagClosed:i}}var at=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function st(t,e){for(var r=i(t,at),n={},a=0;a"!==t[a]&&" "!==t[a]&&"\t"!==t[a]&&"\n"!==t[a]&&"\r"!==t[a];a++)l+=t[a];if("/"===(l=l.trim())[l.length-1]&&(l=l.substring(0,l.length-1),a--),!ut(l))return lt("InvalidTag",0===l.trim().length?"Invalid space after '<'.":"Tag '"+l+"' is an invalid name.",pt(t,a));var h=it(t,a);if(!1===h)return lt("InvalidAttr","Attributes for '"+l+"' have open quote.",pt(t,a));var u=h.value;if(a=h.index,"/"===u[u.length-1]){var p=a-u.length,d=st(u=u.substring(0,u.length-1),e);if(!0!==d)return lt(d.err.code,d.err.msg,pt(t,p+d.err.line));n=!0}else if(o){if(!h.tagClosed)return lt("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",pt(t,a));if(u.trim().length>0)return lt("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",pt(t,s));if(0===r.length)return lt("InvalidTag","Closing tag '"+l+"' has not been opened.",pt(t,s));var f=r.pop();if(l!==f.tagName){var g=pt(t,f.tagStartPos);return lt("InvalidTag","Expected closing tag '"+f.tagName+"' (opened in line "+g.line+", col "+g.col+") instead of closing tag '"+l+"'.",pt(t,s))}0==r.length&&(i=!0)}else{var c=st(u,e);if(!0!==c)return lt(c.err.code,c.err.msg,pt(t,a-u.length+c.err.line));if(!0===i)return lt("InvalidXml","Multiple possible root nodes found.",pt(t,a));-1!==e.unpairedTags.indexOf(l)||r.push({tagName:l,tagStartPos:s}),n=!0}for(a++;a0)||lt("InvalidXml","Invalid '"+JSON.stringify(r.map(function(t){return t.tagName}),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):lt("InvalidXml","Start tag expected.",1)}(t,e);if(!0!==r)throw Error(r.err.msg+":"+r.err.line+":"+r.err.col)}var n=new O(this.options);n.addExternalEntities(this.externalEntities);var i=n.parseXml(t);return this.options.preserveOrder||void 0===i?i:q(i,this.options,n.matcher,n.readonlyMatcher)},e.addEntity=function(t,e){if(-1!==e.indexOf("&"))throw new Error("Entity value can't have '&'");if(-1!==t.indexOf("&")||-1!==t.indexOf(";"))throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '");if("&"===e)throw new Error("An entity with value '&' is not permitted");this.externalEntities[t]=e},t.getMetaDataSymbol=function(){return g.getMetaDataSymbol()},t}();return e})()); +//# sourceMappingURL=fxparser.min.js.map \ No newline at end of file diff --git a/node_modules/fast-xml-parser/lib/fxparser.min.js.map b/node_modules/fast-xml-parser/lib/fxparser.min.js.map new file mode 100644 index 0000000..7aa0ff7 --- /dev/null +++ b/node_modules/fast-xml-parser/lib/fxparser.min.js.map @@ -0,0 +1 @@ +{"version":3,"file":"./lib/fxparser.min.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAmB,UAAID,IAEvBD,EAAgB,UAAIC,GACrB,CATD,CASGK,KAAM,I,mBCRT,IAAIC,EAAsB,CCA1BA,EAAwB,CAACL,EAASM,KACjC,IAAI,IAAIC,KAAOD,EACXD,EAAoBG,EAAEF,EAAYC,KAASF,EAAoBG,EAAER,EAASO,IAC5EE,OAAOC,eAAeV,EAASO,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,MCJ3EF,EAAwB,CAACQ,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,GCClFT,EAAyBL,IACH,oBAAXkB,QAA0BA,OAAOC,aAC1CV,OAAOC,eAAeV,EAASkB,OAAOC,YAAa,CAAEC,MAAO,WAE7DX,OAAOC,eAAeV,EAAS,aAAc,CAAEoB,OAAO,M,oCCHvD,IAAMC,EAAgB,gLAGhBC,EAAY,IAAIC,OAAO,KADGF,EAAgB,KAD/BA,EAEY,mDAEtB,SAASG,EAAcC,EAAQC,GAGpC,IAFA,IAAMC,EAAU,GACZC,EAAQF,EAAMG,KAAKJ,GAChBG,GAAO,CACZ,IAAME,EAAa,GACnBA,EAAWC,WAAaL,EAAMM,UAAYJ,EAAM,GAAGK,OAEnD,IADA,IAAMC,EAAMN,EAAMK,OACTE,EAAQ,EAAGA,EAAQD,EAAKC,IAC/BL,EAAWM,KAAKR,EAAMO,IAExBR,EAAQS,KAAKN,GACbF,EAAQF,EAAMG,KAAKJ,EACrB,CACA,OAAOE,CACT,CAEO,IAAMU,EAAS,SAAUZ,GAE9B,QAAQ,MADMH,EAAUO,KAAKJ,GAE/B,EAqBaa,EAA2B,CAItC,iBACA,WACA,UACA,mBACA,mBACA,mBACA,oBAGWC,EAAqB,CAAC,YAAa,cAAe,aC1DzDC,EAA6B,SAACC,GAClC,OAAIH,EAAyBI,SAASD,GAC7B,KAAOA,EAETA,CACT,EAGaE,EAAiB,CAC5BC,eAAe,EACfC,oBAAqB,KACrBC,qBAAqB,EACrBC,aAAc,QACdC,kBAAkB,EAClBC,gBAAgB,EAChBC,wBAAwB,EAExBC,eAAe,EACfC,qBAAqB,EACrBC,YAAY,EACZC,eAAe,EACfC,mBAAoB,CAClBC,KAAK,EACLC,cAAc,EACdC,WAAW,GAEbC,kBAAmB,SAAUC,EAASC,GACpC,OAAOA,CACT,EACAC,wBAAyB,SAAUC,EAAUF,GAC3C,OAAOA,CACT,EACAG,UAAW,GACXC,sBAAsB,EACtBC,QAAS,WAAF,OAAQ,CAAK,EACpBC,iBAAiB,EACjBC,aAAc,GACdC,iBAAiB,EACjBC,cAAc,EACdC,mBAAmB,EACnBC,cAAc,EACdC,kBAAkB,EAClBC,wBAAwB,EACxBC,UAAW,SAAUf,EAASgB,EAAOC,GACnC,OAAOjB,CACT,EAEAkB,iBAAiB,EACjBC,cAAe,IACfC,qBAAqB,EACrBJ,OAAO,EACPK,oBAAqBzC,GAUvB,SAAS0C,EAAqBC,EAAcC,GAC1C,GAA4B,iBAAjBD,EAAX,CAIA,IAAME,EAAaF,EAAaG,cAChC,GAAIhD,EAAyBiD,KAAK,SAAAC,GAAS,OAAIH,IAAeG,EAAUF,aAAa,GACnF,MAAM,IAAIG,MAAM,sBACQL,EAAU,MAAMD,EAAY,2EAItD,GAAI5C,EAAmBgD,KAAK,SAAAC,GAAS,OAAIH,IAAeG,EAAUF,aAAa,GAC7E,MAAM,IAAIG,MAAM,sBACQL,EAAU,MAAMD,EAAY,0EAXtD,CAcF,CAOA,SAASO,EAAyBtE,GAEhC,MAAqB,kBAAVA,EACF,CACLuE,QAASvE,EACTwE,cAAe,IACfC,kBAAmB,GACnBC,mBAAoB,IACpBC,kBAAmB,IACnBC,eAAgB,IAChBC,YAAa,KACbC,UAAW,MAKM,iBAAV9E,GAAgC,OAAVA,EACxB,CACLuE,SAA2B,IAAlBvE,EAAMuE,QACfC,cAAeO,KAAKC,IAAI,EAAsB,OAArBC,EAAEjF,EAAMwE,eAAaS,EAAI,KAClDR,kBAAmBM,KAAKC,IAAI,EAA0B,OAAzBE,EAAElF,EAAMyE,mBAAiBS,EAAI,IAC1DR,mBAAoBK,KAAKC,IAAI,EAA2B,OAA1BG,EAAEnF,EAAM0E,oBAAkBS,EAAI,KAC5DR,kBAAmBI,KAAKC,IAAI,EAA0B,OAAzBI,EAAEpF,EAAM2E,mBAAiBS,EAAI,KAC1DR,eAAgBG,KAAKC,IAAI,EAAuB,OAAtBK,EAAErF,EAAM4E,gBAAcS,EAAI,KACpDR,YAA8B,OAAnBS,EAAEtF,EAAM6E,aAAWS,EAAI,KAClCR,UAA0B,OAAjBS,EAAEvF,EAAM8E,WAASS,EAAI,MAK3BjB,GAAyB,GAdkB,IAADW,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,CAenD,CAEO,ICtHHC,EDsHSC,EAAe,SAAUC,GAYpC,IAXA,IAAMC,EAAQtG,OAAOuG,OAAO,CAAC,EAAGrE,EAAgBmE,GAWhDG,EAAA,EAAAC,EAR4B,CAC1B,CAAE9F,MAAO2F,EAAMlE,oBAAqBJ,KAAM,uBAC1C,CAAErB,MAAO2F,EAAMjE,oBAAqBL,KAAM,uBAC1C,CAAErB,MAAO2F,EAAMhE,aAAcN,KAAM,gBACnC,CAAErB,MAAO2F,EAAMzD,cAAeb,KAAM,iBACpC,CAAErB,MAAO2F,EAAM5C,gBAAiB1B,KAAM,oBAGSwE,EAAAC,EAAAjF,OAAAgF,IAAE,CAA9C,IAAAE,EAAAD,EAAAD,GAAQ7F,EAAK+F,EAAL/F,MAAOqB,EAAI0E,EAAJ1E,KACdrB,GACF8D,EAAqB9D,EAAOqB,EAEhC,CAqBA,OAnBkC,OAA9BsE,EAAM9B,sBACR8B,EAAM9B,oBAAsBzC,GAI9BuE,EAAM1C,gBAAkBqB,EAAyBqB,EAAM1C,iBAGnD0C,EAAM/C,WAAaoD,MAAMlD,QAAQ6C,EAAM/C,aACzC+C,EAAM/C,UAAY+C,EAAM/C,UAAUqD,IAAI,SAAAC,GACpC,MAAoB,iBAATA,GAAqBA,EAAKC,WAAW,MAGvC,KAAOD,EAAKE,UAAU,GAExBF,CACT,IAGKP,CACT,ECzJEH,EADoB,mBAAX1F,OACS,gBAEAA,OAAO,qBAC1B,IAEoBuG,EAAO,WAC1B,SAAAA,EAAYC,GACVtH,KAAKsH,QAAUA,EACftH,KAAKuH,MAAQ,GACbvH,KAAK,MAAQK,OAAOmH,OAAO,KAC7B,CAAC,IAAAC,EAAAJ,EAAA1G,UAuBA,OAvBA8G,EACDC,IAAA,SAAIvH,EAAKsD,GAAM,IAADkE,EAEA,cAARxH,IAAqBA,EAAM,cAC/BH,KAAKuH,MAAMvF,OAAI2F,EAAA,IAAIxH,GAAMsD,EAAGkE,GAC9B,EAACF,EACDG,SAAA,SAASV,EAAMvF,GAE0C,IAADkG,EAE/CC,EAHc,cAAjBZ,EAAKI,UAAyBJ,EAAKI,QAAU,cAC7CJ,EAAK,OAAS7G,OAAO0H,KAAKb,EAAK,OAAOrF,OAAS,EACjD7B,KAAKuH,MAAMvF,OAAI6F,EAAA,IAAIX,EAAKI,SAAUJ,EAAKK,MAAKM,EAAG,MAAOX,EAAK,MAAKW,IAEhE7H,KAAKuH,MAAMvF,OAAI8F,EAAA,IAAIZ,EAAKI,SAAUJ,EAAKK,MAAKO,SAG3BE,IAAfrG,IAGF3B,KAAKuH,MAAMvH,KAAKuH,MAAM1F,OAAS,GAAG2E,GAAmB,CAAE7E,WAAAA,GAE3D,EACA0F,EACOY,kBAAP,WACE,OAAOzB,CACT,EAACa,CAAA,CA5ByB,GCRPa,EAAa,WAC9B,SAAAA,EAAYxB,GACR1G,KAAKmI,uBAAyBzB,EAC9B1G,KAAK0G,QAAUA,CACnB,CAAC,IAAAe,EAAAS,EAAAvH,UAyXA,OAzXA8G,EAEDW,YAAA,SAAYC,EAASC,GACjB,IAAMC,EAAWlI,OAAOmH,OAAO,MAC3BgB,EAAc,EAElB,GAAuB,MAAnBH,EAAQC,EAAI,IACO,MAAnBD,EAAQC,EAAI,IACO,MAAnBD,EAAQC,EAAI,IACO,MAAnBD,EAAQC,EAAI,IACO,MAAnBD,EAAQC,EAAI,IACO,MAAnBD,EAAQC,EAAI,GAmEZ,MAAM,IAAIjD,MAAM,kCAlEhBiD,GAAQ,EAIR,IAHA,IAAIG,EAAqB,EACrBC,GAAU,EAAOC,GAAU,EAExBL,EAAID,EAAQxG,OAAQyG,IACvB,GAAmB,MAAfD,EAAQC,IAAeK,EAuCpB,GAAmB,MAAfN,EAAQC,IASf,GARIK,EACuB,MAAnBN,EAAQC,EAAI,IAAiC,MAAnBD,EAAQC,EAAI,KACtCK,GAAU,EACVF,KAGJA,IAEuB,IAAvBA,EACA,UAEkB,MAAfJ,EAAQC,GACfI,GAAU,EAEHL,EAAQC,OAtDiB,CAChC,GAAII,GAAWE,EAAOP,EAAS,UAAWC,GAAI,CAC1CA,GAAK,EACL,IAAIO,OAAU,EAAEpF,OAAG,EAACqF,EACG9I,KAAK+I,cAAcV,EAASC,EAAI,EAAGtI,KAAKmI,uBAC/D,GADCU,EAAUC,EAAA,GAAErF,EAAGqF,EAAA,GAAER,EAACQ,EAAA,IACO,IAAtBrF,EAAIuF,QAAQ,KAAa,CACzB,IAA6B,IAAzBhJ,KAAK0G,QAAQnB,SACkB,MAA/BvF,KAAK0G,QAAQd,gBACb4C,GAAexI,KAAK0G,QAAQd,eAC5B,MAAM,IAAIP,MAAM,kBACKmD,EAAc,GAAC,8BAA8BxI,KAAK0G,QAAQd,eAAc,KAIjG,IAAMqD,EAAUJ,EAAWK,QAAQ,sBAAuB,QAC1DX,EAASM,GAAc,CACnBM,KAAMhI,OAAO,IAAI8H,EAAO,IAAK,KAC7BxF,IAAKA,GAET+E,GACJ,CACJ,MACK,GAAIE,GAAWE,EAAOP,EAAS,WAAYC,GAC5CA,GAAK,EAELA,EADkBtI,KAAKoJ,eAAef,EAASC,EAAI,GAA3CvG,WAEL,GAAI2G,GAAWE,EAAOP,EAAS,WAAYC,GAC9CA,GAAK,OAGF,GAAII,GAAWE,EAAOP,EAAS,YAAaC,GAC/CA,GAAK,EAELA,EADkBtI,KAAKqJ,gBAAgBhB,EAASC,EAAI,EAAGtI,KAAKmI,uBAApDpG,UAEL,KAAI6G,EAAOP,EAAS,MAAOC,GAC7B,MAAM,IAAIjD,MAAM,mBADiBsD,GAAU,CACT,CAEvCF,GAEJ,CAkBJ,GAA2B,IAAvBA,EACA,MAAM,IAAIpD,MAAM,oBAKxB,MAAO,CAAEkD,SAAAA,EAAUD,EAAAA,EACvB,EAACb,EACDsB,cAAA,SAAcV,EAASC,GAenB,IADA,IAAM3G,EAHN2G,EAAIgB,EAAejB,EAASC,GAIrBA,EAAID,EAAQxG,SAAW,KAAK0H,KAAKlB,EAAQC,KAAsB,MAAfD,EAAQC,IAA6B,MAAfD,EAAQC,IACjFA,IAEJ,IAAIO,EAAaR,EAAQjB,UAAUzF,EAAY2G,GAQ/C,GANAkB,EAAmBX,GAGnBP,EAAIgB,EAAejB,EAASC,IAGvBtI,KAAKmI,sBAAuB,CAC7B,GAAkD,WAA9CE,EAAQjB,UAAUkB,EAAGA,EAAI,GAAGmB,cAC5B,MAAM,IAAIpE,MAAM,uCACb,GAAmB,MAAfgD,EAAQC,GACf,MAAM,IAAIjD,MAAM,uCAExB,CAGA,IAAIqE,EAGJC,EAFmB3J,KAAK4J,kBAAkBvB,EAASC,EAAG,UAGtD,GAHCA,EAACqB,EAAA,GAAED,EAAWC,EAAA,IAGc,IAAzB3J,KAAK0G,QAAQnB,SACiB,MAA9BvF,KAAK0G,QAAQlB,eACbkE,EAAY7H,OAAS7B,KAAK0G,QAAQlB,cAClC,MAAM,IAAIH,MAAM,WACDwD,EAAU,WAAWa,EAAY7H,OAAM,mCAAmC7B,KAAK0G,QAAQlB,cAAa,KAKvH,MAAO,CAACqD,EAAYa,IADpBpB,EAEJ,EAACb,EAED4B,gBAAA,SAAgBhB,EAASC,GAOrB,IADA,IAAM3G,EAJN2G,EAAIgB,EAAejB,EAASC,GAKrBA,EAAID,EAAQxG,SAAW,KAAK0H,KAAKlB,EAAQC,KAC5CA,IAEJ,IAAIuB,EAAexB,EAAQjB,UAAUzF,EAAY2G,IAEhDtI,KAAKmI,uBAAyBqB,EAAmBK,GAGlDvB,EAAIgB,EAAejB,EAASC,GAG5B,IAAMwB,EAAiBzB,EAAQjB,UAAUkB,EAAGA,EAAI,GAAGmB,cACnD,IAAKzJ,KAAKmI,uBAA4C,WAAnB2B,GAAkD,WAAnBA,EAC9D,MAAM,IAAIzE,MAAM,qCAAqCyE,EAAc,KAEvExB,GAAKwB,EAAejI,OAGpByG,EAAIgB,EAAejB,EAASC,GAG5B,IAAIyB,EAAmB,KACnBC,EAAmB,KAEvB,GAAuB,WAAnBF,EAA6B,CAG7B,IAAAG,EAFwBjK,KAAK4J,kBAAkBvB,EAASC,EAAG,oBAM3D,GANCA,EAAC2B,EAAA,GAAEF,EAAgBE,EAAA,GAMD,MAAf5B,EAHJC,EAAIgB,EAAejB,EAASC,KAGa,MAAfD,EAAQC,GAAY,CAAC,IAAD4B,EAClBlK,KAAK4J,kBAAkBvB,EAASC,EAAG,oBAA1DA,EAAC4B,EAAA,GAAEF,EAAgBE,EAAA,EACxB,CACJ,MAAO,GAAuB,WAAnBJ,EAA6B,CACpC,IAAAK,EACwBnK,KAAK4J,kBAAkBvB,EAASC,EAAG,oBAE3D,GAFCA,EAAC6B,EAAA,GAAEH,EAAgBG,EAAA,IAEfnK,KAAKmI,wBAA0B6B,EAChC,MAAM,IAAI3E,MAAM,0DAExB,CAEA,MAAO,CAAEwE,aAAAA,EAAcE,iBAAAA,EAAkBC,iBAAAA,EAAkBjI,QAASuG,EACxE,EAACb,EAEDmC,kBAAA,SAAkBvB,EAASC,EAAG8B,GAC1B,IAAIC,EACEC,EAAYjC,EAAQC,GAC1B,GAAkB,MAAdgC,GAAmC,MAAdA,EACrB,MAAM,IAAIjF,MAAM,kCAAkCiF,EAAS,KAK/D,IADA,IAAM3I,IAFN2G,EAGOA,EAAID,EAAQxG,QAAUwG,EAAQC,KAAOgC,GACxChC,IAIJ,GAFA+B,EAAgBhC,EAAQjB,UAAUzF,EAAY2G,GAE1CD,EAAQC,KAAOgC,EACf,MAAM,IAAIjF,MAAM,gBAAgB+E,EAAI,UAGxC,MAAO,GADP9B,EACW+B,EACf,EAAC5C,EAED2B,eAAA,SAAef,EAASC,GAYpB,IADA,IAAM3G,EAHN2G,EAAIgB,EAAejB,EAASC,GAIrBA,EAAID,EAAQxG,SAAW,KAAK0H,KAAKlB,EAAQC,KAC5CA,IAEJ,IAAIiC,EAAclC,EAAQjB,UAAUzF,EAAY2G,GAGhD,IAAKtI,KAAKmI,wBAA0BlG,EAAOsI,GACvC,MAAM,IAAIlF,MAAM,0BAA0BkF,EAAW,KAKzD,IAAIC,EAAe,GAEnB,GAAmB,MAAfnC,EAHJC,EAAIgB,EAAejB,EAASC,KAGFM,EAAOP,EAAS,OAAQC,GAAIA,GAAK,OACtD,GAAmB,MAAfD,EAAQC,IAAcM,EAAOP,EAAS,KAAMC,GAAIA,GAAK,OACzD,GAAmB,MAAfD,EAAQC,GAAY,CAKzB,IADA,IAAM3G,IAHN2G,EAIOA,EAAID,EAAQxG,QAAyB,MAAfwG,EAAQC,IACjCA,IAIJ,GAFAkC,EAAenC,EAAQjB,UAAUzF,EAAY2G,GAE1B,MAAfD,EAAQC,GACR,MAAM,IAAIjD,MAAM,6BAGxB,MAAO,IAAKrF,KAAKmI,sBACb,MAAM,IAAI9C,MAAM,sCAAsCgD,EAAQC,GAAE,KAGpE,MAAO,CACHiC,YAAAA,EACAC,aAAcA,EAAaC,OAC3B1I,MAAOuG,EAEf,EAACb,EAEDiD,eAAA,SAAerC,EAASC,GAMpB,IADA,IAAI3G,EAHJ2G,EAAIgB,EAAejB,EAASC,GAIrBA,EAAID,EAAQxG,SAAW,KAAK0H,KAAKlB,EAAQC,KAC5CA,IAEJ,IAAIiC,EAAclC,EAAQjB,UAAUzF,EAAY2G,GAUhD,IAPAkB,EAAmBe,GAMnB5I,EAHA2G,EAAIgB,EAAejB,EAASC,GAIrBA,EAAID,EAAQxG,SAAW,KAAK0H,KAAKlB,EAAQC,KAC5CA,IAEJ,IAAIqC,EAAgBtC,EAAQjB,UAAUzF,EAAY2G,GAGlD,IAAKkB,EAAmBmB,GACpB,MAAM,IAAItF,MAAM,4BAA4BsF,EAAa,KAI7DrC,EAAIgB,EAAejB,EAASC,GAG5B,IAAIsC,EAAgB,GACpB,GAAkD,aAA9CvC,EAAQjB,UAAUkB,EAAGA,EAAI,GAAGmB,cAA8B,CAQ1D,GAPAmB,EAAgB,WAOG,MAAfvC,EAHJC,EAAIgB,EAAejB,EAHnBC,GAAK,IAOD,MAAM,IAAIjD,MAAM,yBAAwBgD,EAAQC,GAAE,KAEtDA,IAIA,IADA,IAAIuC,EAAmB,GAChBvC,EAAID,EAAQxG,QAAyB,MAAfwG,EAAQC,IAAY,CAI7C,IADA,IAAM3G,EAAa2G,EACZA,EAAID,EAAQxG,QAAyB,MAAfwG,EAAQC,IAA6B,MAAfD,EAAQC,IACvDA,IAEJ,IAAIwC,EAAWzC,EAAQjB,UAAUzF,EAAY2G,GAI7C,IAAKkB,EADLsB,EAAWA,EAASL,QAEhB,MAAM,IAAIpF,MAAM,2BAA2ByF,EAAQ,KAGvDD,EAAiB7I,KAAK8I,GAGH,MAAfzC,EAAQC,KACRA,IACAA,EAAIgB,EAAejB,EAASC,GAEpC,CAEA,GAAmB,MAAfD,EAAQC,GACR,MAAM,IAAIjD,MAAM,kCAEpBiD,IAGAsC,GAAiB,KAAOC,EAAiBE,KAAK,KAAO,GACzD,KAAO,CAGH,IADA,IAAMpJ,EAAa2G,EACZA,EAAID,EAAQxG,SAAW,KAAK0H,KAAKlB,EAAQC,KAC5CA,IAMJ,GAJAsC,GAAiBvC,EAAQjB,UAAUzF,EAAY2G,IAI1CtI,KAAKmI,wBADS,CAAC,QAAS,KAAM,QAAS,SAAU,SAAU,WAAY,UAAW,YACxC7F,SAASsI,EAAcnB,eAClE,MAAM,IAAIpE,MAAM,4BAA4BuF,EAAa,IAEjE,CAGAtC,EAAIgB,EAAejB,EAASC,GAG5B,IAAI0C,EAAe,GACnB,GAAkD,cAA9C3C,EAAQjB,UAAUkB,EAAGA,EAAI,GAAGmB,cAC5BuB,EAAe,YACf1C,GAAK,OACF,GAAkD,aAA9CD,EAAQjB,UAAUkB,EAAGA,EAAI,GAAGmB,cACnCuB,EAAe,WACf1C,GAAK,MACF,CAAC,IAAD2C,EACiBjL,KAAK4J,kBAAkBvB,EAASC,EAAG,WAAtDA,EAAC2C,EAAA,GAAED,EAAYC,EAAA,EACpB,CAEA,MAAO,CACHV,YAAAA,EACAI,cAAAA,EACAC,cAAAA,EACAI,aAAAA,EACAjJ,MAAOuG,EAEf,EAACJ,CAAA,CA7X6B,GAkY5BoB,EAAiB,SAAC4B,EAAMnJ,GAC1B,KAAOA,EAAQmJ,EAAKrJ,QAAU,KAAK0H,KAAK2B,EAAKnJ,KACzCA,IAEJ,OAAOA,CACX,EAIA,SAAS6G,EAAOsC,EAAMC,EAAK7C,GACvB,IAAK,IAAI8C,EAAI,EAAGA,EAAID,EAAItJ,OAAQuJ,IAC5B,GAAID,EAAIC,KAAOF,EAAK5C,EAAI8C,EAAI,GAAI,OAAO,EAE3C,OAAO,CACX,CAEA,SAAS5B,EAAmBnH,GACxB,GAAIJ,EAAOI,GACP,OAAOA,EAEP,MAAM,IAAIgD,MAAM,uBAAuBhD,EAC/C,CCzZA,MAAMgJ,EAAW,wBACXC,EAAW,qCAKXC,EAAW,CACbnI,KAAK,EAELC,cAAc,EACdmI,aAAc,IACdlI,WAAW,EAEXmI,SAAU,YAsEd,MAAMC,EAAgB,0C,sGC7DtB,MAAMC,EAAmB,IAAIC,IAAI,CAAC,OAAQ,MAAO,QAAS,gBAAiB,YAE5D,MAAMC,EAMnBC,WAAAA,CAAYpF,EAAU,CAAC,GACrB1G,KAAK+L,UAAYrF,EAAQqF,WAAa,IACtC/L,KAAKgM,KAAO,GACZhM,KAAKiM,cAAgB,EAIvB,CAQAjK,IAAAA,CAAKwB,EAAS0I,EAAa,KAAMC,EAAY,MAEvCnM,KAAKgM,KAAKnK,OAAS,IACR7B,KAAKgM,KAAKhM,KAAKgM,KAAKnK,OAAS,GACrCuK,YAASpE,GAIhB,MAAMqE,EAAerM,KAAKgM,KAAKnK,OAC1B7B,KAAKiM,cAAcI,KACtBrM,KAAKiM,cAAcI,GAAgB,IAAIC,KAGzC,MAAMC,EAAWvM,KAAKiM,cAAcI,GAG9BG,EAAaL,EAAY,GAAGA,KAAa3I,IAAYA,EAGrDiJ,EAAUF,EAAS/L,IAAIgM,IAAe,EAG5C,IAAIE,EAAW,EACf,IAAK,MAAMC,KAASJ,EAASH,SAC3BM,GAAYC,EAIdJ,EAASK,IAAIJ,EAAYC,EAAU,GAGnC,MAAMvF,EAAO,CACX2F,IAAKrJ,EACLkJ,SAAUA,EACVD,QAASA,GAIPN,UACFjF,EAAKiF,UAAYA,GAIfD,UACFhF,EAAKkF,OAASF,GAGhBlM,KAAKgM,KAAKhK,KAAKkF,EACjB,CAMA4F,GAAAA,GACE,GAAyB,IAArB9M,KAAKgM,KAAKnK,OACZ,OAGF,MAAMqF,EAAOlH,KAAKgM,KAAKc,MASvB,OAJI9M,KAAKiM,cAAcpK,OAAS7B,KAAKgM,KAAKnK,OAAS,IACjD7B,KAAKiM,cAAcpK,OAAS7B,KAAKgM,KAAKnK,OAAS,GAG1CqF,CACT,CAOA6F,aAAAA,CAAcb,GACZ,GAAIlM,KAAKgM,KAAKnK,OAAS,EAAG,CACxB,MAAMmL,EAAUhN,KAAKgM,KAAKhM,KAAKgM,KAAKnK,OAAS,GACzCqK,UACFc,EAAQZ,OAASF,EAErB,CACF,CAMAe,aAAAA,GACE,OAAOjN,KAAKgM,KAAKnK,OAAS,EAAI7B,KAAKgM,KAAKhM,KAAKgM,KAAKnK,OAAS,GAAGgL,SAAM7E,CACtE,CAMAkF,mBAAAA,GACE,OAAOlN,KAAKgM,KAAKnK,OAAS,EAAI7B,KAAKgM,KAAKhM,KAAKgM,KAAKnK,OAAS,GAAGsK,eAAYnE,CAC5E,CAOAmF,YAAAA,CAAaxJ,GACX,GAAyB,IAArB3D,KAAKgM,KAAKnK,OAAc,OAC5B,MAAMmL,EAAUhN,KAAKgM,KAAKhM,KAAKgM,KAAKnK,OAAS,GAC7C,OAAOmL,EAAQZ,SAASzI,EAC1B,CAOAyJ,OAAAA,CAAQzJ,GACN,GAAyB,IAArB3D,KAAKgM,KAAKnK,OAAc,OAAO,EACnC,MAAMmL,EAAUhN,KAAKgM,KAAKhM,KAAKgM,KAAKnK,OAAS,GAC7C,YAA0BmG,IAAnBgF,EAAQZ,QAAwBzI,KAAYqJ,EAAQZ,MAC7D,CAMAiB,WAAAA,GACE,OAAyB,IAArBrN,KAAKgM,KAAKnK,QAAsB,EAC7B7B,KAAKgM,KAAKhM,KAAKgM,KAAKnK,OAAS,GAAG6K,UAAY,CACrD,CAMAY,UAAAA,GACE,OAAyB,IAArBtN,KAAKgM,KAAKnK,QAAsB,EAC7B7B,KAAKgM,KAAKhM,KAAKgM,KAAKnK,OAAS,GAAG4K,SAAW,CACpD,CAOAc,QAAAA,GACE,OAAOvN,KAAKqN,aACd,CAMAG,QAAAA,GACE,OAAOxN,KAAKgM,KAAKnK,MACnB,CAQA4L,QAAAA,CAAS1B,EAAW2B,GAAmB,GACrC,MAAMC,EAAM5B,GAAa/L,KAAK+L,UAC9B,OAAO/L,KAAKgM,KAAK/E,IAAI2G,GACfF,GAAoBE,EAAEzB,UACjB,GAAGyB,EAAEzB,aAAayB,EAAEf,MAEtBe,EAAEf,KACR9B,KAAK4C,EACV,CAMAE,OAAAA,GACE,OAAO7N,KAAKgM,KAAK/E,IAAI2G,GAAKA,EAAEf,IAC9B,CAKAiB,KAAAA,GACE9N,KAAKgM,KAAO,GACZhM,KAAKiM,cAAgB,EACvB,CAOA1K,OAAAA,CAAQwM,GACN,MAAMC,EAAWD,EAAWC,SAE5B,OAAwB,IAApBA,EAASnM,SAKTkM,EAAWE,kBACNjO,KAAKkO,uBAAuBF,GAI9BhO,KAAKmO,aAAaH,GAC3B,CAMAG,YAAAA,CAAaH,GAEX,GAAIhO,KAAKgM,KAAKnK,SAAWmM,EAASnM,OAChC,OAAO,EAIT,IAAK,IAAIyG,EAAI,EAAGA,EAAI0F,EAASnM,OAAQyG,IAAK,CACxC,MAAM8F,EAAUJ,EAAS1F,GACnBpB,EAAOlH,KAAKgM,KAAK1D,GACjB+F,EAAiB/F,IAAMtI,KAAKgM,KAAKnK,OAAS,EAEhD,IAAK7B,KAAKsO,cAAcF,EAASlH,EAAMmH,GACrC,OAAO,CAEX,CAEA,OAAO,CACT,CAMAH,sBAAAA,CAAuBF,GACrB,IAAIO,EAAUvO,KAAKgM,KAAKnK,OAAS,EAC7B2M,EAASR,EAASnM,OAAS,EAE/B,KAAO2M,GAAU,GAAKD,GAAW,GAAG,CAClC,MAAMH,EAAUJ,EAASQ,GAEzB,GAAqB,kBAAjBJ,EAAQhE,KAA0B,CAIpC,GAFAoE,IAEIA,EAAS,EAEX,OAAO,EAIT,MAAMC,EAAUT,EAASQ,GACzB,IAAIE,GAAQ,EAEZ,IAAK,IAAIpG,EAAIiG,EAASjG,GAAK,EAAGA,IAAK,CACjC,MAAM+F,EAAiB/F,IAAMtI,KAAKgM,KAAKnK,OAAS,EAChD,GAAI7B,KAAKsO,cAAcG,EAASzO,KAAKgM,KAAK1D,GAAI+F,GAAgB,CAC5DE,EAAUjG,EAAI,EACdkG,IACAE,GAAQ,EACR,KACF,CACF,CAEA,IAAKA,EACH,OAAO,CAEX,KAAO,CAEL,MAAML,EAAiBE,IAAYvO,KAAKgM,KAAKnK,OAAS,EACtD,IAAK7B,KAAKsO,cAAcF,EAASpO,KAAKgM,KAAKuC,GAAUF,GACnD,OAAO,EAETE,IACAC,GACF,CACF,CAGA,OAAOA,EAAS,CAClB,CAUAF,aAAAA,CAAcF,EAASlH,EAAMmH,GAE3B,GAAoB,MAAhBD,EAAQvB,KAAeuB,EAAQvB,MAAQ3F,EAAK2F,IAC9C,OAAO,EAIT,QAA0B7E,IAAtBoG,EAAQjC,WAEgB,MAAtBiC,EAAQjC,WAAqBiC,EAAQjC,YAAcjF,EAAKiF,UAC1D,OAAO,EAOX,QAAyBnE,IAArBoG,EAAQzK,SAAwB,CAClC,IAAK0K,EAEH,OAAO,EAGT,IAAKnH,EAAKkF,UAAYgC,EAAQzK,YAAYuD,EAAKkF,QAC7C,OAAO,EAIT,QAA0BpE,IAAtBoG,EAAQO,UAAyB,CACnC,MAAMC,EAAc1H,EAAKkF,OAAOgC,EAAQzK,UAExC,GAAIkL,OAAOD,KAAiBC,OAAOT,EAAQO,WACzC,OAAO,CAEX,CACF,CAGA,QAAyB3G,IAArBoG,EAAQ1B,SAAwB,CAClC,IAAK2B,EAEH,OAAO,EAGT,MAAM5B,EAAUvF,EAAKuF,SAAW,EAEhC,GAAyB,UAArB2B,EAAQ1B,UAAoC,IAAZD,EAClC,OAAO,EACF,GAAyB,QAArB2B,EAAQ1B,UAAsBD,EAAU,GAAM,EACvD,OAAO,EACF,GAAyB,SAArB2B,EAAQ1B,UAAuBD,EAAU,GAAM,EACxD,OAAO,EACF,GAAyB,QAArB2B,EAAQ1B,UACbD,IAAY2B,EAAQU,cACtB,OAAO,CAGb,CAEA,OAAO,CACT,CAMAC,QAAAA,GACE,MAAO,CACL/C,KAAMhM,KAAKgM,KAAK/E,IAAIC,IAAQ,IAAMA,KAClC+E,cAAejM,KAAKiM,cAAchF,IAAIA,GAAO,IAAIqF,IAAIrF,IAEzD,CAMA+H,OAAAA,CAAQD,GACN/O,KAAKgM,KAAO+C,EAAS/C,KAAK/E,IAAIC,IAAQ,IAAMA,KAC5ClH,KAAKiM,cAAgB8C,EAAS9C,cAAchF,IAAIA,GAAO,IAAIqF,IAAIrF,GACjE,CAuBAgI,QAAAA,GAGE,OAAO,IAAIC,MAFElP,KAEU,CACrBQ,GAAAA,CAAI2O,EAAQzO,EAAM0O,GAEhB,GAAIzD,EAAiB0D,IAAI3O,GACvB,MAAO,KACL,MAAM,IAAI4O,UACR,gBAAgB5O,2EAMtB,MAAMM,EAAQuO,QAAQ/O,IAAI2O,EAAQzO,EAAM0O,GAIxC,MAAa,SAAT1O,GAA4B,kBAATA,EACdL,OAAOmP,OACZxI,MAAMlD,QAAQ9C,GACVA,EAAMiG,IAAIwI,GACVA,aAAgBnD,IACZjM,OAAOmP,OAAO,IAAIlD,IAAImD,IACtBpP,OAAOmP,OAAO,IAAKC,KAEvBzO,GAKa,mBAAVA,EACFA,EAAM0O,KAAKP,GAGbnO,CACT,EAGA4L,GAAAA,CAAI+C,EAASjP,GACX,MAAM,IAAI4O,UACR,wBAAwBT,OAAOnO,8BAEnC,EAGAkP,cAAAA,CAAeD,EAASjP,GACtB,MAAM,IAAI4O,UACR,2BAA2BT,OAAOnO,gCAEtC,GAEJ,ECtea,MAAMmP,EAOnB/D,WAAAA,CAAYgE,EAASpJ,EAAU,CAAC,GAC9B1G,KAAK8P,QAAUA,EACf9P,KAAK+L,UAAYrF,EAAQqF,WAAa,IACtC/L,KAAKgO,SAAWhO,KAAK+P,OAAOD,GAG5B9P,KAAKgQ,iBAAmBhQ,KAAKgO,SAAS7I,KAAK8K,GAAoB,kBAAbA,EAAI7F,MACtDpK,KAAKkQ,uBAAyBlQ,KAAKgO,SAAS7I,KAAK8K,QAAwBjI,IAAjBiI,EAAItM,UAC5D3D,KAAKmQ,qBAAuBnQ,KAAKgO,SAAS7I,KAAK8K,QAAwBjI,IAAjBiI,EAAIvD,SAC5D,CAQAqD,MAAAA,CAAOD,GACL,MAAM9B,EAAW,GAGjB,IAAI1F,EAAI,EACJ8H,EAAc,GAElB,KAAO9H,EAAIwH,EAAQjO,QACbiO,EAAQxH,KAAOtI,KAAK+L,UAElBzD,EAAI,EAAIwH,EAAQjO,QAAUiO,EAAQxH,EAAI,KAAOtI,KAAK+L,WAEhDqE,EAAY3F,SACduD,EAAShM,KAAKhC,KAAKqQ,cAAcD,EAAY3F,SAC7C2F,EAAc,IAGhBpC,EAAShM,KAAK,CAAEoI,KAAM,kBACtB9B,GAAK,IAGD8H,EAAY3F,QACduD,EAAShM,KAAKhC,KAAKqQ,cAAcD,EAAY3F,SAE/C2F,EAAc,GACd9H,MAGF8H,GAAeN,EAAQxH,GACvBA,KASJ,OAJI8H,EAAY3F,QACduD,EAAShM,KAAKhC,KAAKqQ,cAAcD,EAAY3F,SAGxCuD,CACT,CAQAqC,aAAAA,CAAcC,GACZ,MAAMlC,EAAU,CAAEhE,KAAM,OAwBxB,IAAImG,EAAiB,KACjBC,EAAkBF,EAEtB,MAAMG,EAAeH,EAAK9O,MAAM,8BAChC,GAAIiP,IACFD,EAAkBC,EAAa,GAAKA,EAAa,GAC7CA,EAAa,IAAI,CACnB,MAAMC,EAAUD,EAAa,GAAGE,MAAM,GAAI,GACtCD,IACFH,EAAiBG,EAErB,CAIF,IAAIvE,EAcAU,EAbA+D,EAAiBJ,EAErB,GAAIA,EAAgBlO,SAAS,MAAO,CAClC,MAAMuO,EAAUL,EAAgBxH,QAAQ,MAIxC,GAHAmD,EAAYqE,EAAgBpJ,UAAU,EAAGyJ,GAASpG,OAClDmG,EAAiBJ,EAAgBpJ,UAAUyJ,EAAU,GAAGpG,QAEnD0B,EACH,MAAM,IAAI9G,MAAM,iCAAiCiL,IAErD,CAIA,IAAIQ,EAAgB,KAEpB,GAAIF,EAAetO,SAAS,KAAM,CAChC,MAAMyO,EAAaH,EAAeI,YAAY,KACxCC,EAAUL,EAAexJ,UAAU,EAAG2J,GAAYtG,OAClDyG,EAAUN,EAAexJ,UAAU2J,EAAa,GAAGtG,OAG/B,CAAC,QAAS,OAAQ,MAAO,QAAQnI,SAAS4O,IAClE,eAAe3H,KAAK2H,IAGpBrE,EAAMoE,EACNH,EAAgBI,GAGhBrE,EAAM+D,CAEV,MACE/D,EAAM+D,EAGR,IAAK/D,EACH,MAAM,IAAIxH,MAAM,4BAA4BiL,KAS9C,GANAlC,EAAQvB,IAAMA,EACVV,IACFiC,EAAQjC,UAAYA,GAIlBoE,EACF,GAAIA,EAAejO,SAAS,KAAM,CAChC,MAAM6O,EAAUZ,EAAevH,QAAQ,KACvCoF,EAAQzK,SAAW4M,EAAenJ,UAAU,EAAG+J,GAAS1G,OACxD2D,EAAQO,UAAY4B,EAAenJ,UAAU+J,EAAU,GAAG1G,MAC5D,MACE2D,EAAQzK,SAAW4M,EAAe9F,OAKtC,GAAIqG,EAAe,CACjB,MAAMM,EAAWN,EAActP,MAAM,kBACjC4P,GACFhD,EAAQ1B,SAAW,MACnB0B,EAAQU,cAAgBuC,SAASD,EAAS,GAAI,KAE9ChD,EAAQ1B,SAAWoE,CAEvB,CAEA,OAAO1C,CACT,CAMA,UAAIvM,GACF,OAAO7B,KAAKgO,SAASnM,MACvB,CAMAoM,eAAAA,GACE,OAAOjO,KAAKgQ,gBACd,CAMAsB,qBAAAA,GACE,OAAOtR,KAAKkQ,sBACd,CAMAqB,mBAAAA,GACE,OAAOvR,KAAKmQ,oBACd,CAMA1C,QAAAA,GACE,OAAOzN,KAAK8P,OACd,EC7MF,SAAS0B,EAAqBC,EAAe/K,GAC3C,IAAK+K,EAAe,MAAO,CAAC,EAG5B,IAAMhN,EAAQiC,EAAQhE,oBAClB+O,EAAc/K,EAAQhE,qBACtB+O,EAEJ,IAAKhN,EAAO,MAAO,CAAC,EAEpB,IAAMiN,EAAW,CAAC,EAClB,IAAK,IAAMvR,KAAOsE,EAEZtE,EAAIgH,WAAWT,EAAQjE,qBAEzBiP,EADgBvR,EAAIiH,UAAUV,EAAQjE,oBAAoBZ,SACtC4C,EAAMtE,GAG1BuR,EAASvR,GAAOsE,EAAMtE,GAG1B,OAAOuR,CACT,CAOA,SAASC,EAAiBC,GACxB,GAAKA,GAAoC,iBAAfA,EAA1B,CAEA,IAAMb,EAAaa,EAAW5I,QAAQ,KACtC,IAAoB,IAAhB+H,GAAqBA,EAAa,EAAG,CACvC,IAAMc,EAAKD,EAAWxK,UAAU,EAAG2J,GAEnC,GAAW,UAAPc,EACF,OAAOA,CAEX,CATmE,CAWrE,CAAC,IAEoBC,EACnB,SAAYpL,GCrEC,IAA+B9D,ED2H1C,GArDA5C,KAAK0G,QAAUA,EACf1G,KAAK+R,YAAc,KACnB/R,KAAKgS,cAAgB,GACrBhS,KAAKiS,gBAAkB,CAAC,EACxBjS,KAAKkS,aAAe,CAClB,KAAQ,CAAE5Q,MAAO,qBAAsBmC,IAAK,KAC5C,GAAM,CAAEnC,MAAO,mBAAoBmC,IAAK,KACxC,GAAM,CAAEnC,MAAO,mBAAoBmC,IAAK,KACxC,KAAQ,CAAEnC,MAAO,qBAAsBmC,IAAK,MAE9CzD,KAAKmS,UAAY,CAAE7Q,MAAO,oBAAqBmC,IAAK,KACpDzD,KAAKkE,aAAe,CAClB,MAAS,CAAE5C,MAAO,iBAAkBmC,IAAK,KAMzC,KAAQ,CAAEnC,MAAO,iBAAkBmC,IAAK,KACxC,MAAS,CAAEnC,MAAO,kBAAmBmC,IAAK,KAC1C,IAAO,CAAEnC,MAAO,gBAAiBmC,IAAK,KACtC,KAAQ,CAAEnC,MAAO,kBAAmBmC,IAAK,KACzC,UAAa,CAAEnC,MAAO,iBAAkBmC,IAAK,KAC7C,IAAO,CAAEnC,MAAO,gBAAiBmC,IAAK,KACtC,IAAO,CAAEnC,MAAO,iBAAkBmC,IAAK,KACvC,QAAW,CAAEnC,MAAO,mBAAoBmC,IAAK,SAAC2O,EAAGC,GAAG,OAAKC,EAAcD,EAAK,GAAI,KAAK,GACrF,QAAW,CAAE/Q,MAAO,0BAA2BmC,IAAK,SAAC2O,EAAGC,GAAG,OAAKC,EAAcD,EAAK,GAAI,MAAM,IAE/FrS,KAAKuS,oBAAsBA,EAC3BvS,KAAKwS,SAAWA,EAChBxS,KAAKyS,cAAgBA,EACrBzS,KAAK0S,iBAAmBA,EACxB1S,KAAK2S,mBAAqBA,EAC1B3S,KAAK4S,aAAeA,EACpB5S,KAAK6S,qBAAuBA,EAC5B7S,KAAK8S,iBAAmBA,EACxB9S,KAAK+S,oBAAsBA,EAC3B/S,KAAK4H,SAAWA,EAChB5H,KAAKgT,mBC3G2B,mBADUpQ,ED4GM5C,KAAK0G,QAAQ9D,kBC1GlDA,EAEPoE,MAAMlD,QAAQlB,GACP,SAACe,GACJ,QAAsCsP,EAAtCC,E,4rBAAAC,CAAsBvQ,KAAgBqQ,EAAAC,KAAAE,MAAE,CAAC,IAA9BtD,EAAOmD,EAAAjS,MACd,GAAuB,iBAAZ8O,GAAwBnM,IAAamM,EAC5C,OAAO,EAEX,GAAIA,aAAmB3O,QAAU2O,EAAQvG,KAAK5F,GAC1C,OAAO,CAEf,CACJ,EAEG,kBAAM,CAAK,ED6FlB3D,KAAKqT,qBAAuB,EAC5BrT,KAAKsT,sBAAwB,EAG7BtT,KAAKuT,QAAU,IAAI1H,EAInB7L,KAAKwT,gBAAkBxT,KAAKuT,QAAQtE,WAGpCjP,KAAKyT,uBAAwB,EAGzBzT,KAAK0G,QAAQ9C,WAAa5D,KAAK0G,QAAQ9C,UAAU/B,OAAS,EAAG,CAC/D7B,KAAK0T,oBAAsB,GAC3B,IAAK,IAAIpL,EAAI,EAAGA,EAAItI,KAAK0G,QAAQ9C,UAAU/B,OAAQyG,IAAK,CACtD,IAAMqL,EAAc3T,KAAK0G,QAAQ9C,UAAU0E,GAChB,iBAAhBqL,EAET3T,KAAK0T,oBAAoB1R,KAAK,IAAI6N,EAAW8D,IACpCA,aAAuB9D,GAEhC7P,KAAK0T,oBAAoB1R,KAAK2R,EAElC,CACF,CACF,EAIF,SAASpB,EAAoBqB,GAE3B,IADA,IAAMC,EAAUxT,OAAO0H,KAAK6L,GACnBtL,EAAI,EAAGA,EAAIuL,EAAQhS,OAAQyG,IAAK,CACvC,IAAMwL,EAAMD,EAAQvL,GACdW,EAAU6K,EAAI5K,QAAQ,YAAa,OACzClJ,KAAKkS,aAAa4B,GAAO,CACvBxS,MAAO,IAAIH,OAAO,IAAM8H,EAAU,IAAK,KACvCxF,IAAKmQ,EAAiBE,GAE1B,CACF,CAWA,SAASrB,EAAchP,EAAKD,EAASgB,EAAOuP,EAAUC,EAAeC,EAAYC,GAC/E,QAAYlM,IAARvE,IACEzD,KAAK0G,QAAQzD,aAAe8Q,IAC9BtQ,EAAMA,EAAIgH,QAERhH,EAAI5B,OAAS,GAAG,CACbqS,IAAgBzQ,EAAMzD,KAAK6S,qBAAqBpP,EAAKD,EAASgB,IAGnE,IAAM2P,EAAiBnU,KAAK0G,QAAQlC,MAAQA,EAAMiJ,WAAajJ,EACzD4P,EAASpU,KAAK0G,QAAQnD,kBAAkBC,EAASC,EAAK0Q,EAAgBH,EAAeC,GAC3F,OAAIG,QAEK3Q,SACS2Q,UAAkB3Q,GAAO2Q,IAAW3Q,EAE7C2Q,EACEpU,KAAK0G,QAAQzD,YAGHQ,EAAIgH,SACJhH,EAHZ4Q,EAAW5Q,EAAKzD,KAAK0G,QAAQ3D,cAAe/C,KAAK0G,QAAQvD,oBAMvDM,CAGb,CAEJ,CAEA,SAASiP,EAAiBpL,GACxB,GAAItH,KAAK0G,QAAQ7D,eAAgB,CAC/B,IAAMyR,EAAOhN,EAAQiN,MAAM,KACrBC,EAA+B,MAAtBlN,EAAQmN,OAAO,GAAa,IAAM,GACjD,GAAgB,UAAZH,EAAK,GACP,MAAO,GAEW,IAAhBA,EAAKzS,SACPyF,EAAUkN,EAASF,EAAK,GAE5B,CACA,OAAOhN,CACT,CAIA,IAAMoN,EAAY,IAAIvT,OAAO,+CAAgD,MAE7E,SAASwR,EAAmBgC,EAASnQ,EAAOhB,GAC1C,IAAsC,IAAlCxD,KAAK0G,QAAQ9D,kBAAgD,iBAAZ+R,EAAsB,CAWzE,IAPA,IAAMpT,EAAUH,EAAcuT,EAASD,GACjC5S,EAAMP,EAAQM,OACd4C,EAAQ,CAAC,EAITmQ,EAAqB,CAAC,EACnBtM,EAAI,EAAGA,EAAIxG,EAAKwG,IAAK,CAC5B,IAAM3E,EAAW3D,KAAK0S,iBAAiBnR,EAAQ+G,GAAG,IAC5CuM,EAAStT,EAAQ+G,GAAG,GAE1B,GAAI3E,EAAS9B,aAAqBmG,IAAX6M,EAAsB,CAC3C,IAAIC,EAAYD,EACZ7U,KAAK0G,QAAQzD,aACf6R,EAAYA,EAAUrK,QAExBqK,EAAY9U,KAAK6S,qBAAqBiC,EAAWtR,EAASxD,KAAKwT,iBAC/DoB,EAAmBjR,GAAYmR,CACjC,CACF,CAGIzU,OAAO0H,KAAK6M,GAAoB/S,OAAS,GAAsB,iBAAV2C,GAAsBA,EAAMuI,eACnFvI,EAAMuI,cAAc6H,GAItB,IAAK,IAAItM,EAAI,EAAGA,EAAIxG,EAAKwG,IAAK,CAC5B,IAAM3E,EAAW3D,KAAK0S,iBAAiBnR,EAAQ+G,GAAG,IAG5CyM,EAAW/U,KAAK0G,QAAQlC,MAAQA,EAAMiJ,WAAazN,KAAKwT,gBAC9D,IAAIxT,KAAKgT,mBAAmBrP,EAAUoR,GAAtC,CAIA,IAAIF,EAAStT,EAAQ+G,GAAG,GACpB0M,EAAQhV,KAAK0G,QAAQjE,oBAAsBkB,EAE/C,GAAIA,EAAS9B,OAOX,GANI7B,KAAK0G,QAAQpC,yBACf0Q,EAAQhV,KAAK0G,QAAQpC,uBAAuB0Q,IAG9CA,EAAQC,EAAaD,EAAOhV,KAAK0G,cAElBsB,IAAX6M,EAAsB,CACpB7U,KAAK0G,QAAQzD,aACf4R,EAASA,EAAOpK,QAElBoK,EAAS7U,KAAK6S,qBAAqBgC,EAAQrR,EAASxD,KAAKwT,iBAGzD,IAAMW,EAAiBnU,KAAK0G,QAAQlC,MAAQA,EAAMiJ,WAAazN,KAAKwT,gBAC9D0B,EAASlV,KAAK0G,QAAQhD,wBAAwBC,EAAUkR,EAAQV,GAGpE1P,EAAMuQ,GAFJE,QAEaL,SACCK,UAAkBL,GAAUK,IAAWL,EAExCK,EAGAb,EACbQ,EACA7U,KAAK0G,QAAQ1D,oBACbhD,KAAK0G,QAAQvD,mBAGnB,MAAWnD,KAAK0G,QAAQ5D,yBACtB2B,EAAMuQ,IAAS,EApCnB,CAuCF,CAEA,IAAK3U,OAAO0H,KAAKtD,GAAO5C,OACtB,OAEF,GAAI7B,KAAK0G,QAAQhE,oBAAqB,CACpC,IAAMyS,EAAiB,CAAC,EAExB,OADAA,EAAenV,KAAK0G,QAAQhE,qBAAuB+B,EAC5C0Q,CACT,CACA,OAAO1Q,CACT,CACF,CAEA,IAAM+N,EAAW,SAAUnK,GACzBA,EAAUA,EAAQa,QAAQ,SAAU,MACpC,IAAMkM,EAAS,IAAIC,EAAQ,QACvBtD,EAAcqD,EACdE,EAAW,GAGftV,KAAKuT,QAAQzF,QAGb9N,KAAKqT,qBAAuB,EAC5BrT,KAAKsT,sBAAwB,EAG7B,IADA,IAAMiC,EAAgB,IAAIrN,EAAclI,KAAK0G,QAAQzC,iBAC5CqE,EAAI,EAAGA,EAAID,EAAQxG,OAAQyG,IAElC,GAAW,MADAD,EAAQC,GAIjB,GAAuB,MAAnBD,EAAQC,EAAI,GAAY,CAC1B,IAAMkN,EAAaC,EAAiBpN,EAAS,IAAKC,EAAG,8BACjD9E,EAAU6E,EAAQjB,UAAUkB,EAAI,EAAGkN,GAAY/K,OAEnD,GAAIzK,KAAK0G,QAAQ7D,eAAgB,CAC/B,IAAMkO,EAAavN,EAAQwF,QAAQ,MACf,IAAhB+H,IACFvN,EAAUA,EAAQkS,OAAO3E,EAAa,GAE1C,CAEAvN,EAAUa,EAAiBrE,KAAK0G,QAAQrC,iBAAkBb,EAAS,GAAIxD,KAAK0G,SAASlD,QAEjFuO,IACFuD,EAAWtV,KAAK+S,oBAAoBuC,EAAUvD,EAAa/R,KAAKwT,kBAIlE,IAAMmC,EAAc3V,KAAKuT,QAAQtG,gBACjC,GAAIzJ,IAA2D,IAAhDxD,KAAK0G,QAAQ1C,aAAagF,QAAQxF,GAC/C,MAAM,IAAI6B,MAAM,kDAAkD7B,EAAO,KAEvEmS,IAAmE,IAApD3V,KAAK0G,QAAQ1C,aAAagF,QAAQ2M,KAEnD3V,KAAKuT,QAAQzG,MACb9M,KAAKgS,cAAclF,OAGrB9M,KAAKuT,QAAQzG,MACb9M,KAAKyT,uBAAwB,EAE7B1B,EAAc/R,KAAKgS,cAAclF,MACjCwI,EAAW,GACXhN,EAAIkN,CACN,MAAO,GAAuB,MAAnBnN,EAAQC,EAAI,GAAY,CAEjC,IAAIsN,EAAUC,EAAWxN,EAASC,GAAG,EAAO,MAC5C,IAAKsN,EAAS,MAAM,IAAIvQ,MAAM,yBAG9B,GADAiQ,EAAWtV,KAAK+S,oBAAoBuC,EAAUvD,EAAa/R,KAAKwT,iBAC3DxT,KAAK0G,QAAQvC,mBAAyC,SAApByR,EAAQpS,SAAuBxD,KAAK0G,QAAQtC,kBAE5E,CAEL,IAAM0R,EAAY,IAAIT,EAAQO,EAAQpS,SACtCsS,EAAUpO,IAAI1H,KAAK0G,QAAQ/D,aAAc,IAErCiT,EAAQpS,UAAYoS,EAAQG,QAAUH,EAAQI,iBAChDF,EAAU,MAAQ9V,KAAK2S,mBAAmBiD,EAAQG,OAAQ/V,KAAKuT,QAASqC,EAAQpS,UAElFxD,KAAK4H,SAASmK,EAAa+D,EAAW9V,KAAKwT,gBAAiBlL,EAC9D,CAGAA,EAAIsN,EAAQJ,WAAa,CAC3B,MAAO,GAAiC,QAA7BnN,EAAQqN,OAAOpN,EAAI,EAAG,GAAc,CAC7C,IAAM2N,EAAWR,EAAiBpN,EAAS,SAAOC,EAAI,EAAG,0BACzD,GAAItI,KAAK0G,QAAQ3C,gBAAiB,CAAC,IAADmS,EAC1BvN,EAAUN,EAAQjB,UAAUkB,EAAI,EAAG2N,EAAW,GAEpDX,EAAWtV,KAAK+S,oBAAoBuC,EAAUvD,EAAa/R,KAAKwT,iBAEhEzB,EAAYrK,IAAI1H,KAAK0G,QAAQ3C,gBAAiB,EAAAmS,EAAA,GAAAA,EAAIlW,KAAK0G,QAAQ/D,cAAegG,EAAOuN,IACvF,CACA5N,EAAI2N,CACN,MAAO,GAAiC,OAA7B5N,EAAQqN,OAAOpN,EAAI,EAAG,GAAa,CAC5C,IAAM6N,EAASZ,EAAcnN,YAAYC,EAASC,GAClDtI,KAAKiS,gBAAkBkE,EAAO5N,SAC9BD,EAAI6N,EAAO7N,CACb,MAAO,GAAiC,OAA7BD,EAAQqN,OAAOpN,EAAI,EAAG,GAAa,CAC5C,IAAMkN,EAAaC,EAAiBpN,EAAS,MAAOC,EAAG,wBAA0B,EAC3EyN,EAAS1N,EAAQjB,UAAUkB,EAAI,EAAGkN,GAExCF,EAAWtV,KAAK+S,oBAAoBuC,EAAUvD,EAAa/R,KAAKwT,iBAEhE,IAIgC4C,EAJ5B3S,EAAMzD,KAAKyS,cAAcsD,EAAQhE,EAAYzK,QAAStH,KAAKwT,iBAAiB,GAAM,GAAO,GAAM,GACxFxL,MAAPvE,IAAkBA,EAAM,IAGxBzD,KAAK0G,QAAQxD,cACf6O,EAAYrK,IAAI1H,KAAK0G,QAAQxD,cAAe,EAAAkT,EAAA,GAAAA,EAAIpW,KAAK0G,QAAQ/D,cAAeoT,EAAMK,KAElFrE,EAAYrK,IAAI1H,KAAK0G,QAAQ/D,aAAcc,GAG7C6E,EAAIkN,EAAa,CACnB,KAAO,CACL,IAAIW,EAASN,EAAWxN,EAASC,EAAGtI,KAAK0G,QAAQ7D,gBAGjD,IAAKsT,EAAQ,CAEX,IAAME,EAAUhO,EAAQjB,UAAUrB,KAAKC,IAAI,EAAGsC,EAAI,IAAKvC,KAAKuQ,IAAIjO,EAAQxG,OAAQyG,EAAI,KACpF,MAAM,IAAIjD,MAAM,6CAA6CiD,EAAC,eAAe+N,EAAO,IACtF,CAEA,IAAI7S,EAAU2S,EAAO3S,QACfoO,EAAauE,EAAOvE,WACtBmE,EAASI,EAAOJ,OAChBC,EAAiBG,EAAOH,eACxBR,EAAaW,EAAOX,WAAWe,EAEZlS,EAAiBrE,KAAK0G,QAAQrC,iBAAkBb,EAASuS,EAAQ/V,KAAK0G,SAE7F,GAFGlD,EAAO+S,EAAP/S,QAASuS,EAAMQ,EAANR,OAER/V,KAAK0G,QAAQ9B,sBACdpB,IAAYxD,KAAK0G,QAAQ3C,iBACrBP,IAAYxD,KAAK0G,QAAQxD,eACzBM,IAAYxD,KAAK0G,QAAQ/D,cACzBa,IAAYxD,KAAK0G,QAAQhE,qBAE9B,MAAM,IAAI2C,MAAM,qBAAqB7B,GAInCuO,GAAeuD,GACW,SAAxBvD,EAAYzK,UAEdgO,EAAWtV,KAAK+S,oBAAoBuC,EAAUvD,EAAa/R,KAAKwT,iBAAiB,IAKrF,IAAMgD,EAAUzE,EACZyE,IAAmE,IAAxDxW,KAAK0G,QAAQ1C,aAAagF,QAAQwN,EAAQlP,WACvDyK,EAAc/R,KAAKgS,cAAclF,MACjC9M,KAAKuT,QAAQzG,OAKf,IAAI2J,GAAgB,EAChBV,EAAOlU,OAAS,GAAKkU,EAAO/E,YAAY,OAAS+E,EAAOlU,OAAS,IACnE4U,GAAgB,EAGdV,EAFkC,MAAhCvS,EAAQA,EAAQ3B,OAAS,GAC3B2B,EAAUA,EAAQkS,OAAO,EAAGlS,EAAQ3B,OAAS,GAGpCkU,EAAOL,OAAO,EAAGK,EAAOlU,OAAS,GAI5CmU,EAAkBxS,IAAYuS,GAIhC,IAEI5J,EAFAsF,EAAgB,KAKpBtF,EAAYwF,EAAiBC,GAGzBpO,IAAY4R,EAAO9N,SACrBtH,KAAKuT,QAAQvR,KAAKwB,EAAS,CAAC,EAAG2I,GAI7B3I,IAAYuS,GAAUC,IAGxBvE,EAAgBzR,KAAK2S,mBAAmBoD,EAAQ/V,KAAKuT,QAAS/P,KAIjDgO,EAAqBC,EAAezR,KAAK0G,SAKpDlD,IAAY4R,EAAO9N,UACrBtH,KAAKyT,sBAAwBzT,KAAK4S,aAAa5S,KAAK0T,oBAAqB1T,KAAKuT,UAGhF,IAAM5R,EAAa2G,EACnB,GAAItI,KAAKyT,sBAAuB,CAC9B,IAAIiD,EAAa,GAGjB,GAAID,EACFnO,EAAI6N,EAAOX,gBAGR,IAAoD,IAAhDxV,KAAK0G,QAAQ1C,aAAagF,QAAQxF,GACzC8E,EAAI6N,EAAOX,eAGR,CAEH,IAAMW,EAASnW,KAAK8S,iBAAiBzK,EAASuJ,EAAY4D,EAAa,GACvE,IAAKW,EAAQ,MAAM,IAAI9Q,MAAM,qBAAqBuM,GAClDtJ,EAAI6N,EAAO7N,EACXoO,EAAaP,EAAOO,UACtB,CAEA,IAAMZ,EAAY,IAAIT,EAAQ7R,GAE1BiO,IACFqE,EAAU,MAAQrE,GAIpBqE,EAAUpO,IAAI1H,KAAK0G,QAAQ/D,aAAc+T,GAEzC1W,KAAKuT,QAAQzG,MACb9M,KAAKyT,uBAAwB,EAE7BzT,KAAK4H,SAASmK,EAAa+D,EAAW9V,KAAKwT,gBAAiB7R,EAC9D,KAAO,CAEL,GAAI8U,EAAe,CAAC,IAADE,EACMtS,EAAiBrE,KAAK0G,QAAQrC,iBAAkBb,EAASuS,EAAQ/V,KAAK0G,SAA1FlD,EAAOmT,EAAPnT,QAASuS,EAAMY,EAANZ,OAEZ,IAAMD,EAAY,IAAIT,EAAQ7R,GAC1BiO,IACFqE,EAAU,MAAQrE,GAEpBzR,KAAK4H,SAASmK,EAAa+D,EAAW9V,KAAKwT,gBAAiB7R,GAC5D3B,KAAKuT,QAAQzG,MACb9M,KAAKyT,uBAAwB,CAC/B,KACK,KAAoD,IAAhDzT,KAAK0G,QAAQ1C,aAAagF,QAAQxF,GAAiB,CAC1D,IAAMsS,EAAY,IAAIT,EAAQ7R,GAC1BiO,IACFqE,EAAU,MAAQrE,GAEpBzR,KAAK4H,SAASmK,EAAa+D,EAAW9V,KAAKwT,gBAAiB7R,GAC5D3B,KAAKuT,QAAQzG,MACb9M,KAAKyT,uBAAwB,EAC7BnL,EAAI6N,EAAOX,WAEX,QACF,CAGE,IAAMM,EAAY,IAAIT,EAAQ7R,GAC9B,GAAIxD,KAAKgS,cAAcnQ,OAAS7B,KAAK0G,QAAQ/B,cAC3C,MAAM,IAAIU,MAAM,gCAElBrF,KAAKgS,cAAchQ,KAAK+P,GAEpBN,IACFqE,EAAU,MAAQrE,GAEpBzR,KAAK4H,SAASmK,EAAa+D,EAAW9V,KAAKwT,gBAAiB7R,GAC5DoQ,EAAc+D,CAChB,CACAR,EAAW,GACXhN,EAAIkN,CACN,CACF,MAEAF,GAAYjN,EAAQC,GAGxB,OAAO8M,EAAO7N,KAChB,EAEA,SAASK,EAASmK,EAAa+D,EAAWvC,EAAS5R,GAE5C3B,KAAK0G,QAAQhC,kBAAiB/C,OAAaqG,GAGhD,IAAMmM,EAAiBnU,KAAK0G,QAAQlC,MAAQ+O,EAAQ9F,WAAa8F,EAC3D4C,EAASnW,KAAK0G,QAAQnC,UAAUuR,EAAUxO,QAAS6M,EAAgB2B,EAAU,QACpE,IAAXK,IAEyB,iBAAXA,GAChBL,EAAUxO,QAAU6O,EACpBpE,EAAYnK,SAASkO,EAAWnU,IAEhCoQ,EAAYnK,SAASkO,EAAWnU,GAEpC,CAOA,SAASkR,EAAqBpP,EAAKD,EAASgB,GAC1C,IAAMoS,EAAe5W,KAAK0G,QAAQzC,gBAElC,IAAK2S,IAAiBA,EAAarR,QACjC,OAAO9B,EAIT,GAAImT,EAAa/Q,YAAa,CAC5B,IAAMsO,EAAiBnU,KAAK0G,QAAQlC,MAAQA,EAAMiJ,WAAajJ,EAK/D,KAJgBwC,MAAMlD,QAAQ8S,EAAa/Q,aACvC+Q,EAAa/Q,YAAYvD,SAASkB,GAClCoT,EAAa/Q,YAAYrC,EAAS2Q,IAGpC,OAAO1Q,CAEX,CAGA,GAAImT,EAAa9Q,UAAW,CAC1B,IAAMqO,EAAiBnU,KAAK0G,QAAQlC,MAAQA,EAAMiJ,WAAajJ,EAC/D,IAAKoS,EAAa9Q,UAAUtC,EAAS2Q,GACnC,OAAO1Q,CAEX,CAGA,QAAAoT,EAAA,EAAAC,EAAyBzW,OAAO0H,KAAK/H,KAAKiS,iBAAgB4E,EAAAC,EAAAjV,OAAAgV,IAAE,CAAvD,IAAMhO,EAAUiO,EAAAD,GACbE,EAAS/W,KAAKiS,gBAAgBpJ,GAC9BtH,EAAUkC,EAAIjC,MAAMuV,EAAO5N,MAEjC,GAAI5H,EAAS,CAKX,GAHAvB,KAAKqT,sBAAwB9R,EAAQM,OAGjC+U,EAAalR,oBACf1F,KAAKqT,qBAAuBuD,EAAalR,mBACzC,MAAM,IAAIL,MAAM,oCACsBrF,KAAKqT,qBAAoB,MAAMuD,EAAalR,oBAKpF,IAAMsR,EAAevT,EAAI5B,OAIzB,GAHA4B,EAAMA,EAAIyF,QAAQ6N,EAAO5N,KAAM4N,EAAOtT,KAGlCmT,EAAajR,oBACf3F,KAAKsT,uBAA0B7P,EAAI5B,OAASmV,EAExChX,KAAKsT,sBAAwBsD,EAAajR,mBAC5C,MAAM,IAAIN,MAAM,yCAC2BrF,KAAKsT,sBAAqB,MAAMsD,EAAajR,kBAI9F,CACF,CAEA,QAAAsR,EAAA,EAAAC,EAAyB7W,OAAO0H,KAAK/H,KAAKkS,cAAa+E,EAAAC,EAAArV,OAAAoV,IAAE,CAApD,IAAMpO,EAAUqO,EAAAD,GACbF,EAAS/W,KAAKkS,aAAarJ,GAC3BtH,EAAUkC,EAAIjC,MAAMuV,EAAOzV,OACjC,GAAIC,IACFvB,KAAKqT,sBAAwB9R,EAAQM,OACjC+U,EAAalR,oBACf1F,KAAKqT,qBAAuBuD,EAAalR,oBACzC,MAAM,IAAIL,MAAM,oCACsBrF,KAAKqT,qBAAoB,MAAMuD,EAAalR,oBAItFjC,EAAMA,EAAIyF,QAAQ6N,EAAOzV,MAAOyV,EAAOtT,IACzC,CACA,IAA0B,IAAtBA,EAAIuF,QAAQ,KAAa,OAAOvF,EAGpC,GAAIzD,KAAK0G,QAAQxC,aACf,QAAAiT,EAAA,EAAAC,EAAyB/W,OAAO0H,KAAK/H,KAAKkE,cAAaiT,EAAAC,EAAAvV,OAAAsV,IAAE,CAApD,IAAMtO,EAAUuO,EAAAD,GACbJ,EAAS/W,KAAKkE,aAAa2E,GAC3BtH,EAAUkC,EAAIjC,MAAMuV,EAAOzV,OACjC,GAAIC,IAEFvB,KAAKqT,sBAAwB9R,EAAQM,OACjC+U,EAAalR,oBACf1F,KAAKqT,qBAAuBuD,EAAalR,oBACzC,MAAM,IAAIL,MAAM,oCACsBrF,KAAKqT,qBAAoB,MAAMuD,EAAalR,oBAItFjC,EAAMA,EAAIyF,QAAQ6N,EAAOzV,MAAOyV,EAAOtT,IACzC,CAMF,OAFMA,EAAIyF,QAAQlJ,KAAKmS,UAAU7Q,MAAOtB,KAAKmS,UAAU1O,IAGzD,CAGA,SAASsP,EAAoBuC,EAAU+B,EAAY9D,EAASU,GAe1D,OAdIqB,SACiBtN,IAAfiM,IAA0BA,EAAyC,IAA5BoD,EAAW9P,MAAM1F,aAS3CmG,KAPjBsN,EAAWtV,KAAKyS,cAAc6C,EAC5B+B,EAAW/P,QACXiM,GACA,IACA8D,EAAW,OAAiD,IAAzChX,OAAO0H,KAAKsP,EAAW,OAAOxV,OACjDoS,KAEyC,KAAbqB,GAC5B+B,EAAW3P,IAAI1H,KAAK0G,QAAQ/D,aAAc2S,GAC5CA,EAAW,IAENA,CACT,CAOA,SAAS1C,EAAac,EAAqBH,GACzC,IAAKG,GAAsD,IAA/BA,EAAoB7R,OAAc,OAAO,EAErE,IAAK,IAAIyG,EAAI,EAAGA,EAAIoL,EAAoB7R,OAAQyG,IAC9C,GAAIiL,EAAQhS,QAAQmS,EAAoBpL,IACtC,OAAO,EAGX,OAAO,CACT,CAsCA,SAASmN,EAAiBpN,EAASgK,EAAK/J,EAAGgP,GACzC,IAAMC,EAAelP,EAAQW,QAAQqJ,EAAK/J,GAC1C,IAAsB,IAAlBiP,EACF,MAAM,IAAIlS,MAAMiS,GAEhB,OAAOC,EAAelF,EAAIxQ,OAAS,CAEvC,CAEA,SAASgU,EAAWxN,EAASC,EAAGzF,EAAgB2U,QAAW,IAAXA,IAAAA,EAAc,KAC5D,IAAMrB,EAxCR,SAAgC9N,EAASC,EAAGkP,GAC1C,IAAIC,OADiD,IAAXD,IAAAA,EAAc,KAGxD,IADA,IAAIzB,EAAS,GACJhU,EAAQuG,EAAGvG,EAAQsG,EAAQxG,OAAQE,IAAS,CACnD,IAAI2V,EAAKrP,EAAQtG,GACjB,GAAI0V,EACEC,IAAOD,IAAcA,EAAe,SACnC,GAAW,MAAPC,GAAqB,MAAPA,EACvBD,EAAeC,OACV,GAAIA,IAAOF,EAAY,GAAI,CAChC,IAAIA,EAAY,GAQd,MAAO,CACLtM,KAAM6K,EACNhU,MAAOA,GATT,GAAIsG,EAAQtG,EAAQ,KAAOyV,EAAY,GACrC,MAAO,CACLtM,KAAM6K,EACNhU,MAAOA,EASf,KAAkB,OAAP2V,IACTA,EAAK,KAEP3B,GAAU2B,CACZ,CACF,CAYiBC,CAAuBtP,EAASC,EAAI,EAAGkP,GACtD,GAAKrB,EAAL,CACA,IAAIJ,EAASI,EAAOjL,KACdsK,EAAaW,EAAOpU,MACpB6V,EAAiB7B,EAAO8B,OAAO,MACjCrU,EAAUuS,EACVC,GAAiB,GACG,IAApB4B,IACFpU,EAAUuS,EAAO3O,UAAU,EAAGwQ,GAC9B7B,EAASA,EAAO3O,UAAUwQ,EAAiB,GAAGE,aAGhD,IAAMlG,EAAapO,EACnB,GAAIX,EAAgB,CAClB,IAAMkO,EAAavN,EAAQwF,QAAQ,MACf,IAAhB+H,IAEFiF,GADAxS,EAAUA,EAAQkS,OAAO3E,EAAa,MACToF,EAAOjL,KAAKwK,OAAO3E,EAAa,GAEjE,CAEA,MAAO,CACLvN,QAASA,EACTuS,OAAQA,EACRP,WAAYA,EACZQ,eAAgBA,EAChBpE,WAAYA,EAzBK,CA2BrB,CAOA,SAASkB,EAAiBzK,EAAS7E,EAAS8E,GAK1C,IAJA,IAAM3G,EAAa2G,EAEfyP,EAAe,EAEZzP,EAAID,EAAQxG,OAAQyG,IACzB,GAAmB,MAAfD,EAAQC,GACV,GAAuB,MAAnBD,EAAQC,EAAI,GAAY,CAC1B,IAAMkN,EAAaC,EAAiBpN,EAAS,IAAKC,EAAM9E,EAAO,kBAE/D,GADmB6E,EAAQjB,UAAUkB,EAAI,EAAGkN,GAAY/K,SACnCjH,GAEE,MADrBuU,EAEE,MAAO,CACLrB,WAAYrO,EAAQjB,UAAUzF,EAAY2G,GAC1CA,EAAGkN,GAITlN,EAAIkN,CACN,MAAO,GAAuB,MAAnBnN,EAAQC,EAAI,GAErBA,EADmBmN,EAAiBpN,EAAS,KAAMC,EAAI,EAAG,gCAErD,GAAiC,QAA7BD,EAAQqN,OAAOpN,EAAI,EAAG,GAE/BA,EADmBmN,EAAiBpN,EAAS,SAAOC,EAAI,EAAG,gCAEtD,GAAiC,OAA7BD,EAAQqN,OAAOpN,EAAI,EAAG,GAE/BA,EADmBmN,EAAiBpN,EAAS,MAAOC,EAAG,2BAA6B,MAE/E,CACL,IAAMsN,EAAUC,EAAWxN,EAASC,EAAG,KAEnCsN,KACkBA,GAAWA,EAAQpS,WACnBA,GAAyD,MAA9CoS,EAAQG,OAAOH,EAAQG,OAAOlU,OAAS,IACpEkW,IAEFzP,EAAIsN,EAAQJ,WAEhB,CAGN,CAEA,SAASnB,EAAW5Q,EAAKuU,EAAatR,GACpC,GAAIsR,GAA8B,iBAARvU,EAAkB,CAE1C,IAAM2Q,EAAS3Q,EAAIgH,OACnB,MAAe,SAAX2J,GACgB,UAAXA,GHp1BE,SAAkB/B,EAAK3L,EAAU,CAAC,GAE7C,GADAA,EAAUrG,OAAOuG,OAAO,CAAC,EAAG2E,EAAU7E,IACjC2L,GAAsB,iBAARA,EAAkB,OAAOA,EAE5C,IAAI4F,EAAa5F,EAAI5H,OAErB,QAAyBzC,IAArBtB,EAAQwR,UAA0BxR,EAAQwR,SAAS3O,KAAK0O,GAAa,OAAO5F,EAC3E,GAAY,MAARA,EAAa,OAAO,EACxB,GAAI3L,EAAQtD,KAAOiI,EAAS9B,KAAK0O,GAClC,OAyGR,SAAmBE,GAEf,GAAI9G,SAAU,OAAOA,SAAS8G,EA3GG,IA4G5B,GAAIC,OAAO/G,SAAU,OAAO+G,OAAO/G,SAAS8G,EA5GhB,IA6G5B,GAAIE,QAAUA,OAAOhH,SAAU,OAAOgH,OAAOhH,SAAS8G,EA7G1B,IA8G5B,MAAM,IAAI9S,MAAM,+DACzB,CA/GeiT,CAAUL,GAGd,GAAKM,SAASN,GAEd,IAAIA,EAAW3V,SAAS,MAAQ2V,EAAW3V,SAAS,KACvD,OAqDR,SAA0B+P,EAAK4F,EAAYvR,GACvC,IAAKA,EAAQpD,UAAW,OAAO+O,EAC/B,MAAMvH,EAAWmN,EAAWzW,MAAMkK,GAClC,GAAIZ,EAAU,CACV,IAAI0N,EAAO1N,EAAS,IAAM,GAC1B,MAAM2N,GAAsC,IAA9B3N,EAAS,GAAG9B,QAAQ,KAAc,IAAM,IAChD3F,EAAeyH,EAAS,GACxB4N,EAA0BF,EAC5BnG,EAAIhP,EAAaxB,OAAS,KAAO4W,EAC/BpG,EAAIhP,EAAaxB,UAAY4W,EAEnC,OAAIpV,EAAaxB,OAAS,GAAK6W,EAAgCrG,GAC9B,IAAxBhP,EAAaxB,SACdiJ,EAAS,GAAG3D,WAAW,IAAIsR,MAAY3N,EAAS,GAAG,KAAO2N,IAEvDpV,EAAaxB,OAAS,EAEzB6E,EAAQrD,eAAiBqV,GACzBT,GAAcnN,EAAS,IAAM,IAAMA,EAAS,GACrCsN,OAAOH,IACJ5F,EANP+F,OAAOH,EAWtB,CACI,OAAO5F,CAEf,CAjFesG,CAAiBtG,EAAK4F,EAAYvR,GAGtC,CAEH,MAAMlF,EAAQ8J,EAAS7J,KAAKwW,GAE5B,GAAIzW,EAAO,CACP,MAAMgX,EAAOhX,EAAM,IAAM,GACnB6B,EAAe7B,EAAM,GAC3B,IAAIoX,GA8EGT,EA9E2B3W,EAAM,MA+ET,IAAzB2W,EAAOnP,QAAQ,MAEV,OADfmP,EAASA,EAAOjP,QAAQ,MAAO,KACXiP,EAAS,IACN,MAAdA,EAAO,GAAYA,EAAS,IAAMA,EACJ,MAA9BA,EAAOA,EAAOtW,OAAS,KAAYsW,EAASA,EAAO/Q,UAAU,EAAG+Q,EAAOtW,OAAS,IAClFsW,GAEJA,EArFC,MAAMU,EAAgCL,EACD,MAAjCnG,EAAIhP,EAAaxB,OAAS,GACK,MAA7BwQ,EAAIhP,EAAaxB,QAGvB,IAAK6E,EAAQrD,eACLA,EAAaxB,OAAS,GACM,IAAxBwB,EAAaxB,SAAiBgX,GAEtC,OAAOxG,EAEN,CACD,MAAMyG,EAAMV,OAAOH,GACbc,EAAYlK,OAAOiK,GAEzB,GAAY,IAARA,EAAW,OAAOA,EACtB,IAAkC,IAA9BC,EAAUlB,OAAO,QACjB,OAAInR,EAAQpD,UAAkBwV,EAClBzG,EACT,IAAiC,IAA7B4F,EAAWjP,QAAQ,KAC1B,MAAkB,MAAd+P,GACKA,IAAcH,GACdG,IAAc,GAAGP,IAAOI,IAFHE,EAGlBzG,EAGhB,IAAIzE,EAAIvK,EAAeuV,EAAoBX,EAC3C,OAAI5U,EAEQuK,IAAMmL,GAAeP,EAAO5K,IAAMmL,EAAaD,EAAMzG,EAGrDzE,IAAMmL,GAAenL,IAAM4K,EAAOO,EAAaD,EAAMzG,CAErE,CACJ,CACI,OAAOA,CAEf,EAuCJ,IAAmB8F,EA1FX,OAoHR,SAAwB9F,EAAKyG,EAAKpS,GAC9B,MAAMsS,EAAaF,IAAQG,IAE3B,OAAQvS,EAAQ+E,SAASvG,eACrB,IAAK,OACD,OAAO,KACX,IAAK,WACD,OAAO4T,EACX,IAAK,SACD,OAAOE,EAAa,WAAa,YAErC,QACI,OAAO3G,EAEnB,CAlIe6G,CAAe7G,EAAK+F,OAAOH,GAAavR,EAoDvD,CGoxBgByS,CAAS1V,EAAKiD,EAC5B,CACE,YP10BkB,IO00BNjD,EACHA,EAEA,EAGb,CAEA,SAAS6O,EAAcD,EAAK+G,EAAM5E,GAChC,IAAM6E,EAAYjB,OAAO/G,SAASgB,EAAK+G,GAEvC,OAAIC,GAAa,GAAKA,GAAa,QAC1BxK,OAAOyD,cAAc+G,GAErB7E,EAASnC,EAAM,GAE1B,CAEA,SAAShO,EAAiBiV,EAAI9V,EAASuS,EAAQrP,GAC7C,GAAI4S,EAAI,CACN,IAAMC,EAAaD,EAAG9V,GAClBuS,IAAWvS,IACbuS,EAASwD,GAEX/V,EAAU+V,CACZ,CAEA,MAAO,CAAE/V,QADTA,EAAUyR,EAAazR,EAASkD,GACdqP,OAAAA,EACpB,CAIA,SAASd,EAAa5S,EAAMqE,GAC1B,GAAIvE,EAAmBG,SAASD,GAC9B,MAAM,IAAIgD,MAAM,6BAA6BhD,EAAI,2EAC5C,OAAIH,EAAyBI,SAASD,GACpCqE,EAAQ7B,oBAAoBxC,GAE9BA,CACT,CEz4BA,IAAMmE,EAAkBa,EAAQY,oBAQhC,SAASuR,EAAqB/U,EAAO+P,GACnC,IAAK/P,GAA0B,iBAAVA,EAAoB,MAAO,CAAC,EACjD,IAAK+P,EAAQ,OAAO/P,EAEpB,IAAMiN,EAAW,CAAC,EAClB,IAAK,IAAMvR,KAAOsE,EACZtE,EAAIgH,WAAWqN,GAEjB9C,EADgBvR,EAAIiH,UAAUoN,EAAO3S,SACjB4C,EAAMtE,GAG1BuR,EAASvR,GAAOsE,EAAMtE,GAG1B,OAAOuR,CACT,CASe,SAAS+H,EAASvS,EAAMR,EAAS6M,EAASC,GACvD,OAAOkG,EAASxS,EAAMR,EAAS6M,EAASC,EAC1C,CAQA,SAASkG,EAASC,EAAKjT,EAAS6M,EAASC,GAGvC,IAFA,IAAIoG,EACEC,EAAgB,CAAC,EACdvR,EAAI,EAAGA,EAAIqR,EAAI9X,OAAQyG,IAAK,CACnC,IAAMwR,EAASH,EAAIrR,GACbyR,EAAWC,EAASF,GAG1B,QAAiB9R,IAAb+R,GAA0BA,IAAarT,EAAQ/D,aAAc,CAC/D,IAAM+O,EAAW8H,EACfM,EAAO,OAAS,CAAC,EACjBpT,EAAQjE,qBAEV8Q,EAAQvR,KAAK+X,EAAUrI,EACzB,CAEA,GAAIqI,IAAarT,EAAQ/D,kBACVqF,IAAT4R,EAAoBA,EAAOE,EAAOC,GACjCH,GAAQ,GAAKE,EAAOC,OACpB,SAAiB/R,IAAb+R,EACT,SACK,GAAID,EAAOC,GAAW,CAE3B,IAAItW,EAAMiW,EAASI,EAAOC,GAAWrT,EAAS6M,EAASC,GACjDyG,EAASC,EAAUzW,EAAKiD,GAgB9B,GAdIoT,EAAO,MACTK,EAAiB1W,EAAKqW,EAAO,MAAOtG,EAAiB9M,GAChB,IAA5BrG,OAAO0H,KAAKtE,GAAK5B,aAA8CmG,IAA9BvE,EAAIiD,EAAQ/D,eAAgC+D,EAAQ7C,qBAEzD,IAA5BxD,OAAO0H,KAAKtE,GAAK5B,SACtB6E,EAAQ7C,qBAAsBJ,EAAIiD,EAAQ/D,cAAgB,GACzDc,EAAM,IAHXA,EAAMA,EAAIiD,EAAQ/D,mBAMYqF,IAA5B8R,EAAOtT,IAAiD,iBAAR/C,GAA4B,OAARA,IACtEA,EAAI+C,GAAmBsT,EAAOtT,SAIAwB,IAA5B6R,EAAcE,IAA2B1Z,OAAOM,UAAUC,eAAeC,KAAKgZ,EAAeE,GAC1F/S,MAAMlD,QAAQ+V,EAAcE,MAC/BF,EAAcE,GAAY,CAACF,EAAcE,KAE3CF,EAAcE,GAAU/X,KAAKyB,OACxB,CAKL,IAAM0Q,EAAiBzN,EAAQlC,MAAQgP,EAAgB/F,WAAa+F,EAChE9M,EAAQ5C,QAAQiW,EAAU5F,EAAgB8F,GAC5CJ,EAAcE,GAAY,CAACtW,GAE3BoW,EAAcE,GAAYtW,CAE9B,MAGiBuE,IAAb+R,GAA0BA,IAAarT,EAAQ/D,cACjD4Q,EAAQzG,KAEZ,EAEF,CAOA,MALoB,iBAAT8M,EACLA,EAAK/X,OAAS,IAAGgY,EAAcnT,EAAQ/D,cAAgBiX,QACzC5R,IAAT4R,IAAoBC,EAAcnT,EAAQ/D,cAAgBiX,GAG9DC,CACT,CAEA,SAASG,EAASvZ,GAEhB,IADA,IAAMsH,EAAO1H,OAAO0H,KAAKtH,GAChB6H,EAAI,EAAGA,EAAIP,EAAKlG,OAAQyG,IAAK,CACpC,IAAMnI,EAAM4H,EAAKO,GACjB,GAAY,OAARnI,EAAc,OAAOA,CAC3B,CACF,CAEA,SAASga,EAAiB1Z,EAAK2Z,EAAS5G,EAAiB9M,GACvD,GAAI0T,EAGF,IAFA,IAAMrS,EAAO1H,OAAO0H,KAAKqS,GACnBtY,EAAMiG,EAAKlG,OACRyG,EAAI,EAAGA,EAAIxG,EAAKwG,IAAK,CAC5B,IAAM+R,EAAWtS,EAAKO,GAGhBgS,EAAcD,EAASlT,WAAWT,EAAQjE,qBAC5C4X,EAASjT,UAAUV,EAAQjE,oBAAoBZ,QAC/CwY,EAIElG,EAAiBzN,EAAQlC,MAC3BgP,EAAgB/F,WAAa,IAAM6M,EACnC9G,EAEA9M,EAAQ5C,QAAQuW,EAAUlG,GAAgB,GAAM,GAClD1T,EAAI4Z,GAAY,CAACD,EAAQC,IAEzB5Z,EAAI4Z,GAAYD,EAAQC,EAE5B,CAEJ,CAEA,SAASH,EAAUzZ,EAAKiG,GACtB,IAAQ/D,EAAiB+D,EAAjB/D,aACF4X,EAAYla,OAAO0H,KAAKtH,GAAKoB,OAEnC,OAAkB,IAAd0Y,KAKY,IAAdA,IACC9Z,EAAIkC,IAA8C,kBAAtBlC,EAAIkC,IAAqD,IAAtBlC,EAAIkC,GAMxE,CCxKA,IAAMJ,GAAiB,CACrBO,wBAAwB,EACxBkB,aAAc,IA0LhB,SAASwW,GAAaC,GACpB,MAAgB,MAATA,GAAyB,OAATA,GAA0B,OAATA,GAA0B,OAATA,CAC3D,CAMA,SAASC,GAAOrS,EAASC,GAEvB,IADA,IAAMqS,EAAQrS,EACPA,EAAID,EAAQxG,OAAQyG,IACzB,GAAkB,KAAdD,EAAQC,IAA2B,KAAdD,EAAQC,QAAjC,CAEE,IAAMhB,EAAUe,EAAQqN,OAAOiF,EAAOrS,EAAIqS,GAC1C,GAAIrS,EAAI,GAAiB,QAAZhB,EACX,OAAOsT,GAAe,aAAc,6DAA8DC,GAAyBxS,EAASC,IAC/H,GAAkB,KAAdD,EAAQC,IAA+B,KAAlBD,EAAQC,EAAI,GAAW,CAErDA,IACA,KACF,CAGF,CAEF,OAAOA,CACT,CAEA,SAASwS,GAAoBzS,EAASC,GACpC,GAAID,EAAQxG,OAASyG,EAAI,GAAwB,MAAnBD,EAAQC,EAAI,IAAiC,MAAnBD,EAAQC,EAAI,IAElE,IAAKA,GAAK,EAAGA,EAAID,EAAQxG,OAAQyG,IAC/B,GAAmB,MAAfD,EAAQC,IAAiC,MAAnBD,EAAQC,EAAI,IAAiC,MAAnBD,EAAQC,EAAI,GAAY,CAC1EA,GAAK,EACL,KACF,OAEG,GACLD,EAAQxG,OAASyG,EAAI,GACF,MAAnBD,EAAQC,EAAI,IACO,MAAnBD,EAAQC,EAAI,IACO,MAAnBD,EAAQC,EAAI,IACO,MAAnBD,EAAQC,EAAI,IACO,MAAnBD,EAAQC,EAAI,IACO,MAAnBD,EAAQC,EAAI,IACO,MAAnBD,EAAQC,EAAI,GACZ,CACA,IAAIG,EAAqB,EACzB,IAAKH,GAAK,EAAGA,EAAID,EAAQxG,OAAQyG,IAC/B,GAAmB,MAAfD,EAAQC,GACVG,SACK,GAAmB,MAAfJ,EAAQC,IAEU,MAD3BG,EAEE,KAIR,MAAO,GACLJ,EAAQxG,OAASyG,EAAI,GACF,MAAnBD,EAAQC,EAAI,IACO,MAAnBD,EAAQC,EAAI,IACO,MAAnBD,EAAQC,EAAI,IACO,MAAnBD,EAAQC,EAAI,IACO,MAAnBD,EAAQC,EAAI,IACO,MAAnBD,EAAQC,EAAI,IACO,MAAnBD,EAAQC,EAAI,GAEZ,IAAKA,GAAK,EAAGA,EAAID,EAAQxG,OAAQyG,IAC/B,GAAmB,MAAfD,EAAQC,IAAiC,MAAnBD,EAAQC,EAAI,IAAiC,MAAnBD,EAAQC,EAAI,GAAY,CAC1EA,GAAK,EACL,KACF,CAIJ,OAAOA,CACT,CAUA,SAASyS,GAAiB1S,EAASC,GAIjC,IAHA,IAAIqM,EAAU,GACVrK,EAAY,GACZ0Q,GAAY,EACT1S,EAAID,EAAQxG,OAAQyG,IAAK,CAC9B,GAbgB,MAaZD,EAAQC,IAZI,MAYkBD,EAAQC,GACtB,KAAdgC,EACFA,EAAYjC,EAAQC,GACXgC,IAAcjC,EAAQC,KAG/BgC,EAAY,SAET,GAAmB,MAAfjC,EAAQC,IACC,KAAdgC,EAAkB,CACpB0Q,GAAY,EACZ,KACF,CAEFrG,GAAWtM,EAAQC,EACrB,CACA,MAAkB,KAAdgC,GAIG,CACLtJ,MAAO2T,EACP5S,MAAOuG,EACP0S,UAAWA,EAEf,CAKA,IAAMC,GAAoB,IAAI9Z,OAAO,0DAA2D,KAIhG,SAAS+Z,GAAwBvG,EAASjO,GAQxC,IAHA,IAAMnF,EAAUH,EAAcuT,EAASsG,IACjCE,EAAY,CAAC,EAEV7S,EAAI,EAAGA,EAAI/G,EAAQM,OAAQyG,IAAK,CACvC,GAA6B,IAAzB/G,EAAQ+G,GAAG,GAAGzG,OAEhB,OAAO+Y,GAAe,cAAe,cAAgBrZ,EAAQ+G,GAAG,GAAK,8BAA+B8S,GAAqB7Z,EAAQ+G,KAC5H,QAAsBN,IAAlBzG,EAAQ+G,GAAG,SAAsCN,IAAlBzG,EAAQ+G,GAAG,GACnD,OAAOsS,GAAe,cAAe,cAAgBrZ,EAAQ+G,GAAG,GAAK,sBAAuB8S,GAAqB7Z,EAAQ+G,KACpH,QAAsBN,IAAlBzG,EAAQ+G,GAAG,KAAqB5B,EAAQ5D,uBAEjD,OAAO8X,GAAe,cAAe,sBAAwBrZ,EAAQ+G,GAAG,GAAK,oBAAqB8S,GAAqB7Z,EAAQ+G,KAKjI,IAAM3E,EAAWpC,EAAQ+G,GAAG,GAC5B,IAAK+S,GAAiB1X,GACpB,OAAOiX,GAAe,cAAe,cAAgBjX,EAAW,wBAAyByX,GAAqB7Z,EAAQ+G,KAExH,GAAKjI,OAAOM,UAAUC,eAAeC,KAAKsa,EAAWxX,GAInD,OAAOiX,GAAe,cAAe,cAAgBjX,EAAW,iBAAkByX,GAAqB7Z,EAAQ+G,KAF/G6S,EAAUxX,GAAY,CAI1B,CAEA,OAAO,CACT,CAiBA,SAAS2X,GAAkBjT,EAASC,GAGlC,GAAmB,MAAfD,IADJC,GAEE,OAAQ,EACV,GAAmB,MAAfD,EAAQC,GAEV,OAtBJ,SAAiCD,EAASC,GACxC,IAAIiT,EAAK,KAKT,IAJmB,MAAflT,EAAQC,KACVA,IACAiT,EAAK,cAEAjT,EAAID,EAAQxG,OAAQyG,IAAK,CAC9B,GAAmB,MAAfD,EAAQC,GACV,OAAOA,EACT,IAAKD,EAAQC,GAAG9G,MAAM+Z,GACpB,KACJ,CACA,OAAQ,CACV,CASWC,CAAwBnT,IAD/BC,GAIF,IADA,IAAIqE,EAAQ,EACLrE,EAAID,EAAQxG,OAAQyG,IAAKqE,IAC9B,KAAItE,EAAQC,GAAG9G,MAAM,OAASmL,EAAQ,IAAtC,CAEA,GAAmB,MAAftE,EAAQC,GACV,MACF,OAAQ,CAHE,CAKZ,OAAOA,CACT,CAEA,SAASsS,GAAea,EAAMC,EAASC,GACrC,MAAO,CACLC,IAAK,CACHH,KAAMA,EACNI,IAAKH,EACLI,KAAMH,EAAWG,MAAQH,EACzBI,IAAKJ,EAAWI,KAGtB,CAEA,SAASV,GAAiB1X,GACxB,OAAO1B,EAAO0B,EAChB,CAIA,SAASqY,GAAgB1U,GACvB,OAAOrF,EAAOqF,EAChB,CAGA,SAASuT,GAAyBxS,EAAStG,GACzC,IAAMka,EAAQ5T,EAAQjB,UAAU,EAAGrF,GAAOwS,MAAM,SAChD,MAAO,CACLuH,KAAMG,EAAMpa,OAGZka,IAAKE,EAAMA,EAAMpa,OAAS,GAAGA,OAAS,EAE1C,CAGA,SAASuZ,GAAqB5Z,GAC5B,OAAOA,EAAMG,WAAaH,EAAM,GAAGK,MACrC,CCpamC,IAEdqa,GAAS,WAE1B,SAAAA,EAAYxV,GACR1G,KAAK4T,iBAAmB,CAAC,EACzB5T,KAAK0G,QAAUD,EAAaC,EAEhC,CACA,IAAAe,EAAAyU,EAAAvb,UAwDC,OAxDD8G,EAKA0U,MAAA,SAAM9T,EAAS+T,GACX,GAAuB,iBAAZ/T,GAAwBA,EAAQoF,SACvCpF,EAAUA,EAAQoF,gBACf,GAAuB,iBAAZpF,EACd,MAAM,IAAIhD,MAAM,mDAGpB,GAAI+W,EAAkB,EACO,IAArBA,IAA2BA,EAAmB,CAAC,GAEnD,IAAMjG,EDlBX,SAAkB9N,EAAS3B,GAChCA,EAAUrG,OAAOuG,OAAO,CAAC,EAAGrE,GAAgBmE,GAK5C,IAAM4N,EAAO,GACT+H,GAAW,EAGXC,GAAc,EAEC,WAAfjU,EAAQ,KAEVA,EAAUA,EAAQqN,OAAO,IAG3B,IAAK,IAAIpN,EAAI,EAAGA,EAAID,EAAQxG,OAAQyG,IAElC,GAAmB,MAAfD,EAAQC,IAAiC,MAAnBD,EAAQC,EAAI,IAGpC,IADAA,EAAIoS,GAAOrS,EADXC,GAAK,IAECsT,IAAK,OAAOtT,MACb,IAAmB,MAAfD,EAAQC,GA0IZ,CACL,GAAIkS,GAAanS,EAAQC,IACvB,SAEF,OAAOsS,GAAe,cAAe,SAAWvS,EAAQC,GAAK,qBAAsBuS,GAAyBxS,EAASC,GACvH,CA5IE,IAAIiU,EAAcjU,EAGlB,GAAmB,MAAfD,IAFJC,GAEwB,CACtBA,EAAIwS,GAAoBzS,EAASC,GACjC,QACF,CACE,IAAIkU,GAAa,EACE,MAAfnU,EAAQC,KAEVkU,GAAa,EACblU,KAIF,IADA,IAAI9E,EAAU,GACP8E,EAAID,EAAQxG,QACF,MAAfwG,EAAQC,IACO,MAAfD,EAAQC,IACO,OAAfD,EAAQC,IACO,OAAfD,EAAQC,IACO,OAAfD,EAAQC,GAAaA,IAErB9E,GAAW6E,EAAQC,GAWrB,GANoC,OAHpC9E,EAAUA,EAAQiH,QAGNjH,EAAQ3B,OAAS,KAE3B2B,EAAUA,EAAQ4D,UAAU,EAAG5D,EAAQ3B,OAAS,GAEhDyG,MAEG0T,GAAgBxY,GAOnB,OAAOoX,GAAe,aALQ,IAA1BpX,EAAQiH,OAAO5I,OACX,2BAEA,QAAU2B,EAAU,wBAEaqX,GAAyBxS,EAASC,IAG7E,IAAM6N,EAAS4E,GAAiB1S,EAASC,GACzC,IAAe,IAAX6N,EACF,OAAOyE,GAAe,cAAe,mBAAqBpX,EAAU,qBAAsBqX,GAAyBxS,EAASC,IAE9H,IAAIqM,EAAUwB,EAAOnV,MAGrB,GAFAsH,EAAI6N,EAAOpU,MAEyB,MAAhC4S,EAAQA,EAAQ9S,OAAS,GAAY,CAEvC,IAAM4a,EAAenU,EAAIqM,EAAQ9S,OAE3B6a,EAAUxB,GADhBvG,EAAUA,EAAQvN,UAAU,EAAGuN,EAAQ9S,OAAS,GACC6E,GACjD,IAAgB,IAAZgW,EAOF,OAAO9B,GAAe8B,EAAQd,IAAIH,KAAMiB,EAAQd,IAAIC,IAAKhB,GAAyBxS,EAASoU,EAAeC,EAAQd,IAAIE,OANtHO,GAAW,CAQf,MAAO,GAAIG,EAAY,CACrB,IAAKrG,EAAO6E,UACV,OAAOJ,GAAe,aAAc,gBAAkBpX,EAAU,iCAAkCqX,GAAyBxS,EAASC,IAC/H,GAAIqM,EAAQlK,OAAO5I,OAAS,EACjC,OAAO+Y,GAAe,aAAc,gBAAkBpX,EAAU,+CAAgDqX,GAAyBxS,EAASkU,IAC7I,GAAoB,IAAhBjI,EAAKzS,OACd,OAAO+Y,GAAe,aAAc,gBAAkBpX,EAAU,yBAA0BqX,GAAyBxS,EAASkU,IAE5H,IAAMI,EAAMrI,EAAKxH,MACjB,GAAItJ,IAAYmZ,EAAInZ,QAAS,CAC3B,IAAIoZ,EAAU/B,GAAyBxS,EAASsU,EAAIJ,aACpD,OAAO3B,GAAe,aACpB,yBAA2B+B,EAAInZ,QAAU,qBAAuBoZ,EAAQd,KAAO,SAAWc,EAAQb,IAAM,6BAA+BvY,EAAU,KACjJqX,GAAyBxS,EAASkU,GACtC,CAGmB,GAAfjI,EAAKzS,SACPya,GAAc,EAGpB,KAAO,CACL,IAAMI,EAAUxB,GAAwBvG,EAASjO,GACjD,IAAgB,IAAZgW,EAIF,OAAO9B,GAAe8B,EAAQd,IAAIH,KAAMiB,EAAQd,IAAIC,IAAKhB,GAAyBxS,EAASC,EAAIqM,EAAQ9S,OAAS6a,EAAQd,IAAIE,OAI9H,IAAoB,IAAhBQ,EACF,OAAO1B,GAAe,aAAc,sCAAuCC,GAAyBxS,EAASC,KACzD,IAA3C5B,EAAQ1C,aAAagF,QAAQxF,IAGtC8Q,EAAKtS,KAAK,CAAEwB,QAAAA,EAAS+Y,YAAAA,IAEvBF,GAAW,CACb,CAIA,IAAK/T,IAAKA,EAAID,EAAQxG,OAAQyG,IAC5B,GAAmB,MAAfD,EAAQC,GAAY,CACtB,GAAuB,MAAnBD,EAAQC,EAAI,GAAY,CAG1BA,EAAIwS,GAAoBzS,IADxBC,GAEA,QACF,CAAO,GAAuB,MAAnBD,EAAQC,EAAI,GAIrB,MAFA,IADAA,EAAIoS,GAAOrS,IAAWC,IAChBsT,IAAK,OAAOtT,CAItB,MAAO,GAAmB,MAAfD,EAAQC,GAAY,CAC7B,IAAMuU,EAAWvB,GAAkBjT,EAASC,GAC5C,IAAiB,GAAbuU,EACF,OAAOjC,GAAe,cAAe,4BAA6BC,GAAyBxS,EAASC,IACtGA,EAAIuU,CACN,MACE,IAAoB,IAAhBP,IAAyB9B,GAAanS,EAAQC,IAChD,OAAOsS,GAAe,aAAc,wBAAyBC,GAAyBxS,EAASC,IAIlF,MAAfD,EAAQC,IACVA,GAQN,CAGF,OAAK+T,EAEqB,GAAf/H,EAAKzS,OACP+Y,GAAe,aAAc,iBAAmBtG,EAAK,GAAG9Q,QAAU,KAAMqX,GAAyBxS,EAASiM,EAAK,GAAGiI,gBAChHjI,EAAKzS,OAAS,IAChB+Y,GAAe,aAAc,YAClCkC,KAAKC,UAAUzI,EAAKrN,IAAI,SAAA+V,GAAC,OAAIA,EAAExZ,OAAO,GAAG,KAAM,GAAG0F,QAAQ,SAAU,IACpE,WAAY,CAAE4S,KAAM,EAAGC,IAAK,IANvBnB,GAAe,aAAc,sBAAuB,EAU/D,CClK2BqC,CAAS5U,EAAS+T,GACjC,IAAe,IAAXjG,EACA,MAAM9Q,MAAS8Q,EAAOyF,IAAIC,IAAG,IAAI1F,EAAOyF,IAAIE,KAAI,IAAI3F,EAAOyF,IAAIG,IAEvE,CACA,IAAMmB,EAAmB,IAAIpL,EAAiB9R,KAAK0G,SACnDwW,EAAiB3K,oBAAoBvS,KAAK4T,kBAC1C,IAAMuJ,EAAgBD,EAAiB1K,SAASnK,GAChD,OAAIrI,KAAK0G,QAAQlE,oBAAmCwF,IAAlBmV,EAAoCA,EAC1D1D,EAAS0D,EAAend,KAAK0G,QAASwW,EAAiB3J,QAAS2J,EAAiB1J,gBACjG,EAEA/L,EAKA2V,UAAA,SAAUjd,EAAKa,GACX,IAA4B,IAAxBA,EAAMgI,QAAQ,KACd,MAAM,IAAI3D,MAAM,+BACb,IAA0B,IAAtBlF,EAAI6I,QAAQ,OAAqC,IAAtB7I,EAAI6I,QAAQ,KAC9C,MAAM,IAAI3D,MAAM,wEACb,GAAc,MAAVrE,EACP,MAAM,IAAIqE,MAAM,6CAEhBrF,KAAK4T,iBAAiBzT,GAAOa,CAErC,EAEAkb,EAUOjU,kBAAP,WACI,OAAOZ,EAAQY,mBACnB,EAACiU,CAAA,CA/DyB,G","sources":["webpack://XMLParser/webpack/universalModuleDefinition","webpack://XMLParser/webpack/bootstrap","webpack://XMLParser/webpack/runtime/define property getters","webpack://XMLParser/webpack/runtime/hasOwnProperty shorthand","webpack://XMLParser/webpack/runtime/make namespace object","webpack://XMLParser/./src/util.js","webpack://XMLParser/./src/xmlparser/OptionsBuilder.js","webpack://XMLParser/./src/xmlparser/xmlNode.js","webpack://XMLParser/./src/xmlparser/DocTypeReader.js","webpack://XMLParser/./node_modules/strnum/strnum.js","webpack://XMLParser/./node_modules/path-expression-matcher/src/Matcher.js","webpack://XMLParser/./node_modules/path-expression-matcher/src/Expression.js","webpack://XMLParser/./src/xmlparser/OrderedObjParser.js","webpack://XMLParser/./src/ignoreAttributes.js","webpack://XMLParser/./src/xmlparser/node2json.js","webpack://XMLParser/./src/validator.js","webpack://XMLParser/./src/xmlparser/XMLParser.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"XMLParser\"] = factory();\n\telse\n\t\troot[\"XMLParser\"] = factory();\n})(this, () => {\nreturn ","// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","'use strict';\n\nconst nameStartChar = ':A-Za-z_\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD';\nconst nameChar = nameStartChar + '\\\\-.\\\\d\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040';\nexport const nameRegexp = '[' + nameStartChar + '][' + nameChar + ']*';\nconst regexName = new RegExp('^' + nameRegexp + '$');\n\nexport function getAllMatches(string, regex) {\n const matches = [];\n let match = regex.exec(string);\n while (match) {\n const allmatches = [];\n allmatches.startIndex = regex.lastIndex - match[0].length;\n const len = match.length;\n for (let index = 0; index < len; index++) {\n allmatches.push(match[index]);\n }\n matches.push(allmatches);\n match = regex.exec(string);\n }\n return matches;\n}\n\nexport const isName = function (string) {\n const match = regexName.exec(string);\n return !(match === null || typeof match === 'undefined');\n}\n\nexport function isExist(v) {\n return typeof v !== 'undefined';\n}\n\nexport function isEmptyObject(obj) {\n return Object.keys(obj).length === 0;\n}\n\nexport function getValue(v) {\n if (exports.isExist(v)) {\n return v;\n } else {\n return '';\n }\n}\n\n/**\n * Dangerous property names that could lead to prototype pollution or security issues\n */\nexport const DANGEROUS_PROPERTY_NAMES = [\n // '__proto__',\n // 'constructor',\n // 'prototype',\n 'hasOwnProperty',\n 'toString',\n 'valueOf',\n '__defineGetter__',\n '__defineSetter__',\n '__lookupGetter__',\n '__lookupSetter__'\n];\n\nexport const criticalProperties = [\"__proto__\", \"constructor\", \"prototype\"];","import { DANGEROUS_PROPERTY_NAMES, criticalProperties } from \"../util.js\";\n\nconst defaultOnDangerousProperty = (name) => {\n if (DANGEROUS_PROPERTY_NAMES.includes(name)) {\n return \"__\" + name;\n }\n return name;\n};\n\n\nexport const defaultOptions = {\n preserveOrder: false,\n attributeNamePrefix: '@_',\n attributesGroupName: false,\n textNodeName: '#text',\n ignoreAttributes: true,\n removeNSPrefix: false, // remove NS from tag name or attribute name if true\n allowBooleanAttributes: false, //a tag can have attributes without any value\n //ignoreRootElement : false,\n parseTagValue: true,\n parseAttributeValue: false,\n trimValues: true, //Trim string values of tag and attributes\n cdataPropName: false,\n numberParseOptions: {\n hex: true,\n leadingZeros: true,\n eNotation: true\n },\n tagValueProcessor: function (tagName, val) {\n return val;\n },\n attributeValueProcessor: function (attrName, val) {\n return val;\n },\n stopNodes: [], //nested tags will not be parsed even for errors\n alwaysCreateTextNode: false,\n isArray: () => false,\n commentPropName: false,\n unpairedTags: [],\n processEntities: true,\n htmlEntities: false,\n ignoreDeclaration: false,\n ignorePiTags: false,\n transformTagName: false,\n transformAttributeName: false,\n updateTag: function (tagName, jPath, attrs) {\n return tagName\n },\n // skipEmptyListItem: false\n captureMetaData: false,\n maxNestedTags: 100,\n strictReservedNames: true,\n jPath: true, // if true, pass jPath string to callbacks; if false, pass matcher instance\n onDangerousProperty: defaultOnDangerousProperty\n};\n\n\n/**\n * Validates that a property name is safe to use\n * @param {string} propertyName - The property name to validate\n * @param {string} optionName - The option field name (for error message)\n * @throws {Error} If property name is dangerous\n */\nfunction validatePropertyName(propertyName, optionName) {\n if (typeof propertyName !== 'string') {\n return; // Only validate string property names\n }\n\n const normalized = propertyName.toLowerCase();\n if (DANGEROUS_PROPERTY_NAMES.some(dangerous => normalized === dangerous.toLowerCase())) {\n throw new Error(\n `[SECURITY] Invalid ${optionName}: \"${propertyName}\" is a reserved JavaScript keyword that could cause prototype pollution`\n );\n }\n\n if (criticalProperties.some(dangerous => normalized === dangerous.toLowerCase())) {\n throw new Error(\n `[SECURITY] Invalid ${optionName}: \"${propertyName}\" is a reserved JavaScript keyword that could cause prototype pollution`\n );\n }\n}\n\n/**\n * Normalizes processEntities option for backward compatibility\n * @param {boolean|object} value \n * @returns {object} Always returns normalized object\n */\nfunction normalizeProcessEntities(value) {\n // Boolean backward compatibility\n if (typeof value === 'boolean') {\n return {\n enabled: value, // true or false\n maxEntitySize: 10000,\n maxExpansionDepth: 10,\n maxTotalExpansions: 1000,\n maxExpandedLength: 100000,\n maxEntityCount: 100,\n allowedTags: null,\n tagFilter: null\n };\n }\n\n // Object config - merge with defaults\n if (typeof value === 'object' && value !== null) {\n return {\n enabled: value.enabled !== false,\n maxEntitySize: Math.max(1, value.maxEntitySize ?? 10000),\n maxExpansionDepth: Math.max(1, value.maxExpansionDepth ?? 10),\n maxTotalExpansions: Math.max(1, value.maxTotalExpansions ?? 1000),\n maxExpandedLength: Math.max(1, value.maxExpandedLength ?? 100000),\n maxEntityCount: Math.max(1, value.maxEntityCount ?? 100),\n allowedTags: value.allowedTags ?? null,\n tagFilter: value.tagFilter ?? null\n };\n }\n\n // Default to enabled with limits\n return normalizeProcessEntities(true);\n}\n\nexport const buildOptions = function (options) {\n const built = Object.assign({}, defaultOptions, options);\n\n // Validate property names to prevent prototype pollution\n const propertyNameOptions = [\n { value: built.attributeNamePrefix, name: 'attributeNamePrefix' },\n { value: built.attributesGroupName, name: 'attributesGroupName' },\n { value: built.textNodeName, name: 'textNodeName' },\n { value: built.cdataPropName, name: 'cdataPropName' },\n { value: built.commentPropName, name: 'commentPropName' }\n ];\n\n for (const { value, name } of propertyNameOptions) {\n if (value) {\n validatePropertyName(value, name);\n }\n }\n\n if (built.onDangerousProperty === null) {\n built.onDangerousProperty = defaultOnDangerousProperty;\n }\n\n // Always normalize processEntities for backward compatibility and validation\n built.processEntities = normalizeProcessEntities(built.processEntities);\n\n // Convert old-style stopNodes for backward compatibility\n if (built.stopNodes && Array.isArray(built.stopNodes)) {\n built.stopNodes = built.stopNodes.map(node => {\n if (typeof node === 'string' && node.startsWith('*.')) {\n // Old syntax: *.tagname meant \"tagname anywhere\"\n // Convert to new syntax: ..tagname\n return '..' + node.substring(2);\n }\n return node;\n });\n }\n //console.debug(built.processEntities)\n return built;\n};","'use strict';\n\nlet METADATA_SYMBOL;\n\nif (typeof Symbol !== \"function\") {\n METADATA_SYMBOL = \"@@xmlMetadata\";\n} else {\n METADATA_SYMBOL = Symbol(\"XML Node Metadata\");\n}\n\nexport default class XmlNode {\n constructor(tagname) {\n this.tagname = tagname;\n this.child = []; //nested tags, text, cdata, comments in order\n this[\":@\"] = Object.create(null); //attributes map\n }\n add(key, val) {\n // this.child.push( {name : key, val: val, isCdata: isCdata });\n if (key === \"__proto__\") key = \"#__proto__\";\n this.child.push({ [key]: val });\n }\n addChild(node, startIndex) {\n if (node.tagname === \"__proto__\") node.tagname = \"#__proto__\";\n if (node[\":@\"] && Object.keys(node[\":@\"]).length > 0) {\n this.child.push({ [node.tagname]: node.child, [\":@\"]: node[\":@\"] });\n } else {\n this.child.push({ [node.tagname]: node.child });\n }\n // if requested, add the startIndex\n if (startIndex !== undefined) {\n // Note: for now we just overwrite the metadata. If we had more complex metadata,\n // we might need to do an object append here: metadata = { ...metadata, startIndex }\n this.child[this.child.length - 1][METADATA_SYMBOL] = { startIndex };\n }\n }\n /** symbol used for metadata */\n static getMetaDataSymbol() {\n return METADATA_SYMBOL;\n }\n}\n","import { isName } from '../util.js';\n\nexport default class DocTypeReader {\n constructor(options) {\n this.suppressValidationErr = !options;\n this.options = options;\n }\n\n readDocType(xmlData, i) {\n const entities = Object.create(null);\n let entityCount = 0;\n\n if (xmlData[i + 3] === 'O' &&\n xmlData[i + 4] === 'C' &&\n xmlData[i + 5] === 'T' &&\n xmlData[i + 6] === 'Y' &&\n xmlData[i + 7] === 'P' &&\n xmlData[i + 8] === 'E') {\n i = i + 9;\n let angleBracketsCount = 1;\n let hasBody = false, comment = false;\n let exp = \"\";\n for (; i < xmlData.length; i++) {\n if (xmlData[i] === '<' && !comment) { //Determine the tag type\n if (hasBody && hasSeq(xmlData, \"!ENTITY\", i)) {\n i += 7;\n let entityName, val;\n [entityName, val, i] = this.readEntityExp(xmlData, i + 1, this.suppressValidationErr);\n if (val.indexOf(\"&\") === -1) { //Parameter entities are not supported\n if (this.options.enabled !== false &&\n this.options.maxEntityCount != null &&\n entityCount >= this.options.maxEntityCount) {\n throw new Error(\n `Entity count (${entityCount + 1}) exceeds maximum allowed (${this.options.maxEntityCount})`\n );\n }\n //const escaped = entityName.replace(/[.\\-+*:]/g, '\\\\.');\n const escaped = entityName.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n entities[entityName] = {\n regx: RegExp(`&${escaped};`, \"g\"),\n val: val\n };\n entityCount++;\n }\n }\n else if (hasBody && hasSeq(xmlData, \"!ELEMENT\", i)) {\n i += 8;//Not supported\n const { index } = this.readElementExp(xmlData, i + 1);\n i = index;\n } else if (hasBody && hasSeq(xmlData, \"!ATTLIST\", i)) {\n i += 8;//Not supported\n // const {index} = this.readAttlistExp(xmlData,i+1);\n // i = index;\n } else if (hasBody && hasSeq(xmlData, \"!NOTATION\", i)) {\n i += 9;//Not supported\n const { index } = this.readNotationExp(xmlData, i + 1, this.suppressValidationErr);\n i = index;\n } else if (hasSeq(xmlData, \"!--\", i)) comment = true;\n else throw new Error(`Invalid DOCTYPE`);\n\n angleBracketsCount++;\n exp = \"\";\n } else if (xmlData[i] === '>') { //Read tag content\n if (comment) {\n if (xmlData[i - 1] === \"-\" && xmlData[i - 2] === \"-\") {\n comment = false;\n angleBracketsCount--;\n }\n } else {\n angleBracketsCount--;\n }\n if (angleBracketsCount === 0) {\n break;\n }\n } else if (xmlData[i] === '[') {\n hasBody = true;\n } else {\n exp += xmlData[i];\n }\n }\n if (angleBracketsCount !== 0) {\n throw new Error(`Unclosed DOCTYPE`);\n }\n } else {\n throw new Error(`Invalid Tag instead of DOCTYPE`);\n }\n return { entities, i };\n }\n readEntityExp(xmlData, i) {\n //External entities are not supported\n // \n\n //Parameter entities are not supported\n // \n\n //Internal entities are supported\n // \n\n // Skip leading whitespace after this.options.maxEntitySize) {\n throw new Error(\n `Entity \"${entityName}\" size (${entityValue.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`\n );\n }\n\n i--;\n return [entityName, entityValue, i];\n }\n\n readNotationExp(xmlData, i) {\n // Skip leading whitespace after \n // \n // \n // \n // \n\n // Skip leading whitespace after {\n while (index < data.length && /\\s/.test(data[index])) {\n index++;\n }\n return index;\n};\n\n\n\nfunction hasSeq(data, seq, i) {\n for (let j = 0; j < seq.length; j++) {\n if (seq[j] !== data[i + j + 1]) return false;\n }\n return true;\n}\n\nfunction validateEntityName(name) {\n if (isName(name))\n return name;\n else\n throw new Error(`Invalid entity name ${name}`);\n}","const hexRegex = /^[-+]?0x[a-fA-F0-9]+$/;\nconst numRegex = /^([\\-\\+])?(0*)([0-9]*(\\.[0-9]*)?)$/;\n// const octRegex = /^0x[a-z0-9]+/;\n// const binRegex = /0x[a-z0-9]+/;\n\n\nconst consider = {\n hex: true,\n // oct: false,\n leadingZeros: true,\n decimalPoint: \"\\.\",\n eNotation: true,\n //skipLike: /regex/,\n infinity: \"original\", // \"null\", \"infinity\" (Infinity type), \"string\" (\"Infinity\" (the string literal))\n};\n\nexport default function toNumber(str, options = {}) {\n options = Object.assign({}, consider, options);\n if (!str || typeof str !== \"string\") return str;\n\n let trimmedStr = str.trim();\n\n if (options.skipLike !== undefined && options.skipLike.test(trimmedStr)) return str;\n else if (str === \"0\") return 0;\n else if (options.hex && hexRegex.test(trimmedStr)) {\n return parse_int(trimmedStr, 16);\n // }else if (options.oct && octRegex.test(str)) {\n // return Number.parseInt(val, 8);\n } else if (!isFinite(trimmedStr)) { //Infinity\n return handleInfinity(str, Number(trimmedStr), options);\n } else if (trimmedStr.includes('e') || trimmedStr.includes('E')) { //eNotation\n return resolveEnotation(str, trimmedStr, options);\n // }else if (options.parseBin && binRegex.test(str)) {\n // return Number.parseInt(val, 2);\n } else {\n //separate negative sign, leading zeros, and rest number\n const match = numRegex.exec(trimmedStr);\n // +00.123 => [ , '+', '00', '.123', ..\n if (match) {\n const sign = match[1] || \"\";\n const leadingZeros = match[2];\n let numTrimmedByZeros = trimZeros(match[3]); //complete num without leading zeros\n const decimalAdjacentToLeadingZeros = sign ? // 0., -00., 000.\n str[leadingZeros.length + 1] === \".\"\n : str[leadingZeros.length] === \".\";\n\n //trim ending zeros for floating number\n if (!options.leadingZeros //leading zeros are not allowed\n && (leadingZeros.length > 1\n || (leadingZeros.length === 1 && !decimalAdjacentToLeadingZeros))) {\n // 00, 00.3, +03.24, 03, 03.24\n return str;\n }\n else {//no leading zeros or leading zeros are allowed\n const num = Number(trimmedStr);\n const parsedStr = String(num);\n\n if (num === 0) return num;\n if (parsedStr.search(/[eE]/) !== -1) { //given number is long and parsed to eNotation\n if (options.eNotation) return num;\n else return str;\n } else if (trimmedStr.indexOf(\".\") !== -1) { //floating number\n if (parsedStr === \"0\") return num; //0.0\n else if (parsedStr === numTrimmedByZeros) return num; //0.456. 0.79000\n else if (parsedStr === `${sign}${numTrimmedByZeros}`) return num;\n else return str;\n }\n\n let n = leadingZeros ? numTrimmedByZeros : trimmedStr;\n if (leadingZeros) {\n // -009 => -9\n return (n === parsedStr) || (sign + n === parsedStr) ? num : str\n } else {\n // +9\n return (n === parsedStr) || (n === sign + parsedStr) ? num : str\n }\n }\n } else { //non-numeric string\n return str;\n }\n }\n}\n\nconst eNotationRegx = /^([-+])?(0*)(\\d*(\\.\\d*)?[eE][-\\+]?\\d+)$/;\nfunction resolveEnotation(str, trimmedStr, options) {\n if (!options.eNotation) return str;\n const notation = trimmedStr.match(eNotationRegx);\n if (notation) {\n let sign = notation[1] || \"\";\n const eChar = notation[3].indexOf(\"e\") === -1 ? \"E\" : \"e\";\n const leadingZeros = notation[2];\n const eAdjacentToLeadingZeros = sign ? // 0E.\n str[leadingZeros.length + 1] === eChar\n : str[leadingZeros.length] === eChar;\n\n if (leadingZeros.length > 1 && eAdjacentToLeadingZeros) return str;\n else if (leadingZeros.length === 1\n && (notation[3].startsWith(`.${eChar}`) || notation[3][0] === eChar)) {\n return Number(trimmedStr);\n } else if (leadingZeros.length > 0) {\n // Has leading zeros — only accept if leadingZeros option allows it\n if (options.leadingZeros && !eAdjacentToLeadingZeros) {\n trimmedStr = (notation[1] || \"\") + notation[3];\n return Number(trimmedStr);\n } else return str;\n } else {\n // No leading zeros — always valid e-notation, parse it\n return Number(trimmedStr);\n }\n } else {\n return str;\n }\n}\n\n/**\n * \n * @param {string} numStr without leading zeros\n * @returns \n */\nfunction trimZeros(numStr) {\n if (numStr && numStr.indexOf(\".\") !== -1) {//float\n numStr = numStr.replace(/0+$/, \"\"); //remove ending zeros\n if (numStr === \".\") numStr = \"0\";\n else if (numStr[0] === \".\") numStr = \"0\" + numStr;\n else if (numStr[numStr.length - 1] === \".\") numStr = numStr.substring(0, numStr.length - 1);\n return numStr;\n }\n return numStr;\n}\n\nfunction parse_int(numStr, base) {\n //polyfill\n if (parseInt) return parseInt(numStr, base);\n else if (Number.parseInt) return Number.parseInt(numStr, base);\n else if (window && window.parseInt) return window.parseInt(numStr, base);\n else throw new Error(\"parseInt, Number.parseInt, window.parseInt are not supported\")\n}\n\n/**\n * Handle infinite values based on user option\n * @param {string} str - original input string\n * @param {number} num - parsed number (Infinity or -Infinity)\n * @param {object} options - user options\n * @returns {string|number|null} based on infinity option\n */\nfunction handleInfinity(str, num, options) {\n const isPositive = num === Infinity;\n\n switch (options.infinity.toLowerCase()) {\n case \"null\":\n return null;\n case \"infinity\":\n return num; // Return Infinity or -Infinity\n case \"string\":\n return isPositive ? \"Infinity\" : \"-Infinity\";\n case \"original\":\n default:\n return str; // Return original string like \"1e1000\"\n }\n}","/**\n * Matcher - Tracks current path in XML/JSON tree and matches against Expressions\n * \n * The matcher maintains a stack of nodes representing the current path from root to\n * current tag. It only stores attribute values for the current (top) node to minimize\n * memory usage. Sibling tracking is used to auto-calculate position and counter.\n * \n * @example\n * const matcher = new Matcher();\n * matcher.push(\"root\", {});\n * matcher.push(\"users\", {});\n * matcher.push(\"user\", { id: \"123\", type: \"admin\" });\n * \n * const expr = new Expression(\"root.users.user\");\n * matcher.matches(expr); // true\n */\n\n/**\n * Names of methods that mutate Matcher state.\n * Any attempt to call these on a read-only view throws a TypeError.\n * @type {Set}\n */\nconst MUTATING_METHODS = new Set(['push', 'pop', 'reset', 'updateCurrent', 'restore']);\n\nexport default class Matcher {\n /**\n * Create a new Matcher\n * @param {Object} options - Configuration options\n * @param {string} options.separator - Default path separator (default: '.')\n */\n constructor(options = {}) {\n this.separator = options.separator || '.';\n this.path = [];\n this.siblingStacks = [];\n // Each path node: { tag: string, values: object, position: number, counter: number }\n // values only present for current (last) node\n // Each siblingStacks entry: Map tracking occurrences at each level\n }\n\n /**\n * Push a new tag onto the path\n * @param {string} tagName - Name of the tag\n * @param {Object} attrValues - Attribute key-value pairs for current node (optional)\n * @param {string} namespace - Namespace for the tag (optional)\n */\n push(tagName, attrValues = null, namespace = null) {\n // Remove values from previous current node (now becoming ancestor)\n if (this.path.length > 0) {\n const prev = this.path[this.path.length - 1];\n prev.values = undefined;\n }\n\n // Get or create sibling tracking for current level\n const currentLevel = this.path.length;\n if (!this.siblingStacks[currentLevel]) {\n this.siblingStacks[currentLevel] = new Map();\n }\n\n const siblings = this.siblingStacks[currentLevel];\n\n // Create a unique key for sibling tracking that includes namespace\n const siblingKey = namespace ? `${namespace}:${tagName}` : tagName;\n\n // Calculate counter (how many times this tag appeared at this level)\n const counter = siblings.get(siblingKey) || 0;\n\n // Calculate position (total children at this level so far)\n let position = 0;\n for (const count of siblings.values()) {\n position += count;\n }\n\n // Update sibling count for this tag\n siblings.set(siblingKey, counter + 1);\n\n // Create new node\n const node = {\n tag: tagName,\n position: position,\n counter: counter\n };\n\n // Store namespace if provided\n if (namespace !== null && namespace !== undefined) {\n node.namespace = namespace;\n }\n\n // Store values only for current node\n if (attrValues !== null && attrValues !== undefined) {\n node.values = attrValues;\n }\n\n this.path.push(node);\n }\n\n /**\n * Pop the last tag from the path\n * @returns {Object|undefined} The popped node\n */\n pop() {\n if (this.path.length === 0) {\n return undefined;\n }\n\n const node = this.path.pop();\n\n // Clean up sibling tracking for levels deeper than current\n // After pop, path.length is the new depth\n // We need to clean up siblingStacks[path.length + 1] and beyond\n if (this.siblingStacks.length > this.path.length + 1) {\n this.siblingStacks.length = this.path.length + 1;\n }\n\n return node;\n }\n\n /**\n * Update current node's attribute values\n * Useful when attributes are parsed after push\n * @param {Object} attrValues - Attribute values\n */\n updateCurrent(attrValues) {\n if (this.path.length > 0) {\n const current = this.path[this.path.length - 1];\n if (attrValues !== null && attrValues !== undefined) {\n current.values = attrValues;\n }\n }\n }\n\n /**\n * Get current tag name\n * @returns {string|undefined}\n */\n getCurrentTag() {\n return this.path.length > 0 ? this.path[this.path.length - 1].tag : undefined;\n }\n\n /**\n * Get current namespace\n * @returns {string|undefined}\n */\n getCurrentNamespace() {\n return this.path.length > 0 ? this.path[this.path.length - 1].namespace : undefined;\n }\n\n /**\n * Get current node's attribute value\n * @param {string} attrName - Attribute name\n * @returns {*} Attribute value or undefined\n */\n getAttrValue(attrName) {\n if (this.path.length === 0) return undefined;\n const current = this.path[this.path.length - 1];\n return current.values?.[attrName];\n }\n\n /**\n * Check if current node has an attribute\n * @param {string} attrName - Attribute name\n * @returns {boolean}\n */\n hasAttr(attrName) {\n if (this.path.length === 0) return false;\n const current = this.path[this.path.length - 1];\n return current.values !== undefined && attrName in current.values;\n }\n\n /**\n * Get current node's sibling position (child index in parent)\n * @returns {number}\n */\n getPosition() {\n if (this.path.length === 0) return -1;\n return this.path[this.path.length - 1].position ?? 0;\n }\n\n /**\n * Get current node's repeat counter (occurrence count of this tag name)\n * @returns {number}\n */\n getCounter() {\n if (this.path.length === 0) return -1;\n return this.path[this.path.length - 1].counter ?? 0;\n }\n\n /**\n * Get current node's sibling index (alias for getPosition for backward compatibility)\n * @returns {number}\n * @deprecated Use getPosition() or getCounter() instead\n */\n getIndex() {\n return this.getPosition();\n }\n\n /**\n * Get current path depth\n * @returns {number}\n */\n getDepth() {\n return this.path.length;\n }\n\n /**\n * Get path as string\n * @param {string} separator - Optional separator (uses default if not provided)\n * @param {boolean} includeNamespace - Whether to include namespace in output (default: true)\n * @returns {string}\n */\n toString(separator, includeNamespace = true) {\n const sep = separator || this.separator;\n return this.path.map(n => {\n if (includeNamespace && n.namespace) {\n return `${n.namespace}:${n.tag}`;\n }\n return n.tag;\n }).join(sep);\n }\n\n /**\n * Get path as array of tag names\n * @returns {string[]}\n */\n toArray() {\n return this.path.map(n => n.tag);\n }\n\n /**\n * Reset the path to empty\n */\n reset() {\n this.path = [];\n this.siblingStacks = [];\n }\n\n /**\n * Match current path against an Expression\n * @param {Expression} expression - The expression to match against\n * @returns {boolean} True if current path matches the expression\n */\n matches(expression) {\n const segments = expression.segments;\n\n if (segments.length === 0) {\n return false;\n }\n\n // Handle deep wildcard patterns\n if (expression.hasDeepWildcard()) {\n return this._matchWithDeepWildcard(segments);\n }\n\n // Simple path matching (no deep wildcards)\n return this._matchSimple(segments);\n }\n\n /**\n * Match simple path (no deep wildcards)\n * @private\n */\n _matchSimple(segments) {\n // Path must be same length as segments\n if (this.path.length !== segments.length) {\n return false;\n }\n\n // Match each segment bottom-to-top\n for (let i = 0; i < segments.length; i++) {\n const segment = segments[i];\n const node = this.path[i];\n const isCurrentNode = (i === this.path.length - 1);\n\n if (!this._matchSegment(segment, node, isCurrentNode)) {\n return false;\n }\n }\n\n return true;\n }\n\n /**\n * Match path with deep wildcards\n * @private\n */\n _matchWithDeepWildcard(segments) {\n let pathIdx = this.path.length - 1; // Start from current node (bottom)\n let segIdx = segments.length - 1; // Start from last segment\n\n while (segIdx >= 0 && pathIdx >= 0) {\n const segment = segments[segIdx];\n\n if (segment.type === 'deep-wildcard') {\n // \"..\" matches zero or more levels\n segIdx--;\n\n if (segIdx < 0) {\n // Pattern ends with \"..\", always matches\n return true;\n }\n\n // Find where next segment matches in the path\n const nextSeg = segments[segIdx];\n let found = false;\n\n for (let i = pathIdx; i >= 0; i--) {\n const isCurrentNode = (i === this.path.length - 1);\n if (this._matchSegment(nextSeg, this.path[i], isCurrentNode)) {\n pathIdx = i - 1;\n segIdx--;\n found = true;\n break;\n }\n }\n\n if (!found) {\n return false;\n }\n } else {\n // Regular segment\n const isCurrentNode = (pathIdx === this.path.length - 1);\n if (!this._matchSegment(segment, this.path[pathIdx], isCurrentNode)) {\n return false;\n }\n pathIdx--;\n segIdx--;\n }\n }\n\n // All segments must be consumed\n return segIdx < 0;\n }\n\n /**\n * Match a single segment against a node\n * @private\n * @param {Object} segment - Segment from Expression\n * @param {Object} node - Node from path\n * @param {boolean} isCurrentNode - Whether this is the current (last) node\n * @returns {boolean}\n */\n _matchSegment(segment, node, isCurrentNode) {\n // Match tag name (* is wildcard)\n if (segment.tag !== '*' && segment.tag !== node.tag) {\n return false;\n }\n\n // Match namespace if specified in segment\n if (segment.namespace !== undefined) {\n // Segment has namespace - node must match it\n if (segment.namespace !== '*' && segment.namespace !== node.namespace) {\n return false;\n }\n }\n // If segment has no namespace, it matches nodes with or without namespace\n\n // Match attribute name (check if node has this attribute)\n // Can only check for current node since ancestors don't have values\n if (segment.attrName !== undefined) {\n if (!isCurrentNode) {\n // Can't check attributes for ancestor nodes (values not stored)\n return false;\n }\n\n if (!node.values || !(segment.attrName in node.values)) {\n return false;\n }\n\n // Match attribute value (only possible for current node)\n if (segment.attrValue !== undefined) {\n const actualValue = node.values[segment.attrName];\n // Both should be strings\n if (String(actualValue) !== String(segment.attrValue)) {\n return false;\n }\n }\n }\n\n // Match position (only for current node)\n if (segment.position !== undefined) {\n if (!isCurrentNode) {\n // Can't check position for ancestor nodes\n return false;\n }\n\n const counter = node.counter ?? 0;\n\n if (segment.position === 'first' && counter !== 0) {\n return false;\n } else if (segment.position === 'odd' && counter % 2 !== 1) {\n return false;\n } else if (segment.position === 'even' && counter % 2 !== 0) {\n return false;\n } else if (segment.position === 'nth') {\n if (counter !== segment.positionValue) {\n return false;\n }\n }\n }\n\n return true;\n }\n\n /**\n * Create a snapshot of current state\n * @returns {Object} State snapshot\n */\n snapshot() {\n return {\n path: this.path.map(node => ({ ...node })),\n siblingStacks: this.siblingStacks.map(map => new Map(map))\n };\n }\n\n /**\n * Restore state from snapshot\n * @param {Object} snapshot - State snapshot\n */\n restore(snapshot) {\n this.path = snapshot.path.map(node => ({ ...node }));\n this.siblingStacks = snapshot.siblingStacks.map(map => new Map(map));\n }\n\n /**\n * Return a read-only view of this matcher.\n *\n * The returned object exposes all query/inspection methods but throws a\n * TypeError if any state-mutating method is called (`push`, `pop`, `reset`,\n * `updateCurrent`, `restore`). Property reads (e.g. `.path`, `.separator`)\n * are allowed but the returned arrays/objects are frozen so callers cannot\n * mutate internal state through them either.\n *\n * @returns {ReadOnlyMatcher} A proxy that forwards read operations and blocks writes.\n *\n * @example\n * const matcher = new Matcher();\n * matcher.push(\"root\", {});\n *\n * const ro = matcher.readOnly();\n * ro.matches(expr); // ✓ works\n * ro.getCurrentTag(); // ✓ works\n * ro.push(\"child\", {}); // ✗ throws TypeError\n * ro.reset(); // ✗ throws TypeError\n */\n readOnly() {\n const self = this;\n\n return new Proxy(self, {\n get(target, prop, receiver) {\n // Block mutating methods\n if (MUTATING_METHODS.has(prop)) {\n return () => {\n throw new TypeError(\n `Cannot call '${prop}' on a read-only Matcher. ` +\n `Obtain a writable instance to mutate state.`\n );\n };\n }\n\n const value = Reflect.get(target, prop, receiver);\n\n // Freeze array/object properties so callers can't mutate internal\n // state through direct property access (e.g. matcher.path.push(...))\n if (prop === 'path' || prop === 'siblingStacks') {\n return Object.freeze(\n Array.isArray(value)\n ? value.map(item =>\n item instanceof Map\n ? Object.freeze(new Map(item)) // freeze a copy of each Map\n : Object.freeze({ ...item }) // freeze a copy of each node\n )\n : value\n );\n }\n\n // Bind methods so `this` inside them still refers to the real Matcher\n if (typeof value === 'function') {\n return value.bind(target);\n }\n\n return value;\n },\n\n // Prevent any property assignment on the read-only view\n set(_target, prop) {\n throw new TypeError(\n `Cannot set property '${String(prop)}' on a read-only Matcher.`\n );\n },\n\n // Prevent property deletion\n deleteProperty(_target, prop) {\n throw new TypeError(\n `Cannot delete property '${String(prop)}' from a read-only Matcher.`\n );\n }\n });\n }\n}","/**\n * Expression - Parses and stores a tag pattern expression\n * \n * Patterns are parsed once and stored in an optimized structure for fast matching.\n * \n * @example\n * const expr = new Expression(\"root.users.user\");\n * const expr2 = new Expression(\"..user[id]:first\");\n * const expr3 = new Expression(\"root/users/user\", { separator: '/' });\n */\nexport default class Expression {\n /**\n * Create a new Expression\n * @param {string} pattern - Pattern string (e.g., \"root.users.user\", \"..user[id]\")\n * @param {Object} options - Configuration options\n * @param {string} options.separator - Path separator (default: '.')\n */\n constructor(pattern, options = {}) {\n this.pattern = pattern;\n this.separator = options.separator || '.';\n this.segments = this._parse(pattern);\n\n // Cache expensive checks for performance (O(1) instead of O(n))\n this._hasDeepWildcard = this.segments.some(seg => seg.type === 'deep-wildcard');\n this._hasAttributeCondition = this.segments.some(seg => seg.attrName !== undefined);\n this._hasPositionSelector = this.segments.some(seg => seg.position !== undefined);\n }\n\n /**\n * Parse pattern string into segments\n * @private\n * @param {string} pattern - Pattern to parse\n * @returns {Array} Array of segment objects\n */\n _parse(pattern) {\n const segments = [];\n\n // Split by separator but handle \"..\" specially\n let i = 0;\n let currentPart = '';\n\n while (i < pattern.length) {\n if (pattern[i] === this.separator) {\n // Check if next char is also separator (deep wildcard)\n if (i + 1 < pattern.length && pattern[i + 1] === this.separator) {\n // Flush current part if any\n if (currentPart.trim()) {\n segments.push(this._parseSegment(currentPart.trim()));\n currentPart = '';\n }\n // Add deep wildcard\n segments.push({ type: 'deep-wildcard' });\n i += 2; // Skip both separators\n } else {\n // Regular separator\n if (currentPart.trim()) {\n segments.push(this._parseSegment(currentPart.trim()));\n }\n currentPart = '';\n i++;\n }\n } else {\n currentPart += pattern[i];\n i++;\n }\n }\n\n // Flush remaining part\n if (currentPart.trim()) {\n segments.push(this._parseSegment(currentPart.trim()));\n }\n\n return segments;\n }\n\n /**\n * Parse a single segment\n * @private\n * @param {string} part - Segment string (e.g., \"user\", \"ns::user\", \"user[id]\", \"ns::user:first\")\n * @returns {Object} Segment object\n */\n _parseSegment(part) {\n const segment = { type: 'tag' };\n\n // NEW NAMESPACE SYNTAX (v2.0):\n // ============================\n // Namespace uses DOUBLE colon (::)\n // Position uses SINGLE colon (:)\n // \n // Examples:\n // \"user\" → tag\n // \"user:first\" → tag + position\n // \"user[id]\" → tag + attribute\n // \"user[id]:first\" → tag + attribute + position\n // \"ns::user\" → namespace + tag\n // \"ns::user:first\" → namespace + tag + position\n // \"ns::user[id]\" → namespace + tag + attribute\n // \"ns::user[id]:first\" → namespace + tag + attribute + position\n // \"ns::first\" → namespace + tag named \"first\" (NO ambiguity!)\n //\n // This eliminates all ambiguity:\n // :: = namespace separator\n // : = position selector\n // [] = attributes\n\n // Step 1: Extract brackets [attr] or [attr=value]\n let bracketContent = null;\n let withoutBrackets = part;\n\n const bracketMatch = part.match(/^([^\\[]+)(\\[[^\\]]*\\])(.*)$/);\n if (bracketMatch) {\n withoutBrackets = bracketMatch[1] + bracketMatch[3];\n if (bracketMatch[2]) {\n const content = bracketMatch[2].slice(1, -1);\n if (content) {\n bracketContent = content;\n }\n }\n }\n\n // Step 2: Check for namespace (double colon ::)\n let namespace = undefined;\n let tagAndPosition = withoutBrackets;\n\n if (withoutBrackets.includes('::')) {\n const nsIndex = withoutBrackets.indexOf('::');\n namespace = withoutBrackets.substring(0, nsIndex).trim();\n tagAndPosition = withoutBrackets.substring(nsIndex + 2).trim(); // Skip ::\n\n if (!namespace) {\n throw new Error(`Invalid namespace in pattern: ${part}`);\n }\n }\n\n // Step 3: Parse tag and position (single colon :)\n let tag = undefined;\n let positionMatch = null;\n\n if (tagAndPosition.includes(':')) {\n const colonIndex = tagAndPosition.lastIndexOf(':'); // Use last colon for position\n const tagPart = tagAndPosition.substring(0, colonIndex).trim();\n const posPart = tagAndPosition.substring(colonIndex + 1).trim();\n\n // Verify position is a valid keyword\n const isPositionKeyword = ['first', 'last', 'odd', 'even'].includes(posPart) ||\n /^nth\\(\\d+\\)$/.test(posPart);\n\n if (isPositionKeyword) {\n tag = tagPart;\n positionMatch = posPart;\n } else {\n // Not a valid position keyword, treat whole thing as tag\n tag = tagAndPosition;\n }\n } else {\n tag = tagAndPosition;\n }\n\n if (!tag) {\n throw new Error(`Invalid segment pattern: ${part}`);\n }\n\n segment.tag = tag;\n if (namespace) {\n segment.namespace = namespace;\n }\n\n // Step 4: Parse attributes\n if (bracketContent) {\n if (bracketContent.includes('=')) {\n const eqIndex = bracketContent.indexOf('=');\n segment.attrName = bracketContent.substring(0, eqIndex).trim();\n segment.attrValue = bracketContent.substring(eqIndex + 1).trim();\n } else {\n segment.attrName = bracketContent.trim();\n }\n }\n\n // Step 5: Parse position selector\n if (positionMatch) {\n const nthMatch = positionMatch.match(/^nth\\((\\d+)\\)$/);\n if (nthMatch) {\n segment.position = 'nth';\n segment.positionValue = parseInt(nthMatch[1], 10);\n } else {\n segment.position = positionMatch;\n }\n }\n\n return segment;\n }\n\n /**\n * Get the number of segments\n * @returns {number}\n */\n get length() {\n return this.segments.length;\n }\n\n /**\n * Check if expression contains deep wildcard\n * @returns {boolean}\n */\n hasDeepWildcard() {\n return this._hasDeepWildcard;\n }\n\n /**\n * Check if expression has attribute conditions\n * @returns {boolean}\n */\n hasAttributeCondition() {\n return this._hasAttributeCondition;\n }\n\n /**\n * Check if expression has position selectors\n * @returns {boolean}\n */\n hasPositionSelector() {\n return this._hasPositionSelector;\n }\n\n /**\n * Get string representation\n * @returns {string}\n */\n toString() {\n return this.pattern;\n }\n}","'use strict';\n///@ts-check\n\nimport { getAllMatches, isExist, DANGEROUS_PROPERTY_NAMES, criticalProperties } from '../util.js';\nimport xmlNode from './xmlNode.js';\nimport DocTypeReader from './DocTypeReader.js';\nimport toNumber from \"strnum\";\nimport getIgnoreAttributesFn from \"../ignoreAttributes.js\";\nimport { Expression, Matcher } from 'path-expression-matcher';\n\n// const regx =\n// '<((!\\\\[CDATA\\\\[([\\\\s\\\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\\\/)(NAME)\\\\s*>))([^<]*)'\n// .replace(/NAME/g, util.nameRegexp);\n\n//const tagsRegx = new RegExp(\"<(\\\\/?[\\\\w:\\\\-\\._]+)([^>]*)>(\\\\s*\"+cdataRegx+\")*([^<]+)?\",\"g\");\n//const tagsRegx = new RegExp(\"<(\\\\/?)((\\\\w*:)?([\\\\w:\\\\-\\._]+))([^>]*)>([^<]*)(\"+cdataRegx+\"([^<]*))*([^<]+)?\",\"g\");\n\n// Helper functions for attribute and namespace handling\n\n/**\n * Extract raw attributes (without prefix) from prefixed attribute map\n * @param {object} prefixedAttrs - Attributes with prefix from buildAttributesMap\n * @param {object} options - Parser options containing attributeNamePrefix\n * @returns {object} Raw attributes for matcher\n */\nfunction extractRawAttributes(prefixedAttrs, options) {\n if (!prefixedAttrs) return {};\n\n // Handle attributesGroupName option\n const attrs = options.attributesGroupName\n ? prefixedAttrs[options.attributesGroupName]\n : prefixedAttrs;\n\n if (!attrs) return {};\n\n const rawAttrs = {};\n for (const key in attrs) {\n // Remove the attribute prefix to get raw name\n if (key.startsWith(options.attributeNamePrefix)) {\n const rawName = key.substring(options.attributeNamePrefix.length);\n rawAttrs[rawName] = attrs[key];\n } else {\n // Attribute without prefix (shouldn't normally happen, but be safe)\n rawAttrs[key] = attrs[key];\n }\n }\n return rawAttrs;\n}\n\n/**\n * Extract namespace from raw tag name\n * @param {string} rawTagName - Tag name possibly with namespace (e.g., \"soap:Envelope\")\n * @returns {string|undefined} Namespace or undefined\n */\nfunction extractNamespace(rawTagName) {\n if (!rawTagName || typeof rawTagName !== 'string') return undefined;\n\n const colonIndex = rawTagName.indexOf(':');\n if (colonIndex !== -1 && colonIndex > 0) {\n const ns = rawTagName.substring(0, colonIndex);\n // Don't treat xmlns as a namespace\n if (ns !== 'xmlns') {\n return ns;\n }\n }\n return undefined;\n}\n\nexport default class OrderedObjParser {\n constructor(options) {\n this.options = options;\n this.currentNode = null;\n this.tagsNodeStack = [];\n this.docTypeEntities = {};\n this.lastEntities = {\n \"apos\": { regex: /&(apos|#39|#x27);/g, val: \"'\" },\n \"gt\": { regex: /&(gt|#62|#x3E);/g, val: \">\" },\n \"lt\": { regex: /&(lt|#60|#x3C);/g, val: \"<\" },\n \"quot\": { regex: /&(quot|#34|#x22);/g, val: \"\\\"\" },\n };\n this.ampEntity = { regex: /&(amp|#38|#x26);/g, val: \"&\" };\n this.htmlEntities = {\n \"space\": { regex: /&(nbsp|#160);/g, val: \" \" },\n // \"lt\" : { regex: /&(lt|#60);/g, val: \"<\" },\n // \"gt\" : { regex: /&(gt|#62);/g, val: \">\" },\n // \"amp\" : { regex: /&(amp|#38);/g, val: \"&\" },\n // \"quot\" : { regex: /&(quot|#34);/g, val: \"\\\"\" },\n // \"apos\" : { regex: /&(apos|#39);/g, val: \"'\" },\n \"cent\": { regex: /&(cent|#162);/g, val: \"¢\" },\n \"pound\": { regex: /&(pound|#163);/g, val: \"£\" },\n \"yen\": { regex: /&(yen|#165);/g, val: \"¥\" },\n \"euro\": { regex: /&(euro|#8364);/g, val: \"€\" },\n \"copyright\": { regex: /&(copy|#169);/g, val: \"©\" },\n \"reg\": { regex: /&(reg|#174);/g, val: \"®\" },\n \"inr\": { regex: /&(inr|#8377);/g, val: \"₹\" },\n \"num_dec\": { regex: /&#([0-9]{1,7});/g, val: (_, str) => fromCodePoint(str, 10, \"&#\") },\n \"num_hex\": { regex: /&#x([0-9a-fA-F]{1,6});/g, val: (_, str) => fromCodePoint(str, 16, \"&#x\") },\n };\n this.addExternalEntities = addExternalEntities;\n this.parseXml = parseXml;\n this.parseTextData = parseTextData;\n this.resolveNameSpace = resolveNameSpace;\n this.buildAttributesMap = buildAttributesMap;\n this.isItStopNode = isItStopNode;\n this.replaceEntitiesValue = replaceEntitiesValue;\n this.readStopNodeData = readStopNodeData;\n this.saveTextToParentTag = saveTextToParentTag;\n this.addChild = addChild;\n this.ignoreAttributesFn = getIgnoreAttributesFn(this.options.ignoreAttributes)\n this.entityExpansionCount = 0;\n this.currentExpandedLength = 0;\n\n // Initialize path matcher for path-expression-matcher\n this.matcher = new Matcher();\n\n // Live read-only proxy of matcher — PEM creates and caches this internally.\n // All user callbacks receive this instead of the mutable matcher.\n this.readonlyMatcher = this.matcher.readOnly();\n\n // Flag to track if current node is a stop node (optimization)\n this.isCurrentNodeStopNode = false;\n\n // Pre-compile stopNodes expressions\n if (this.options.stopNodes && this.options.stopNodes.length > 0) {\n this.stopNodeExpressions = [];\n for (let i = 0; i < this.options.stopNodes.length; i++) {\n const stopNodeExp = this.options.stopNodes[i];\n if (typeof stopNodeExp === 'string') {\n // Convert string to Expression object\n this.stopNodeExpressions.push(new Expression(stopNodeExp));\n } else if (stopNodeExp instanceof Expression) {\n // Already an Expression object\n this.stopNodeExpressions.push(stopNodeExp);\n }\n }\n }\n }\n\n}\n\nfunction addExternalEntities(externalEntities) {\n const entKeys = Object.keys(externalEntities);\n for (let i = 0; i < entKeys.length; i++) {\n const ent = entKeys[i];\n const escaped = ent.replace(/[.\\-+*:]/g, '\\\\.');\n this.lastEntities[ent] = {\n regex: new RegExp(\"&\" + escaped + \";\", \"g\"),\n val: externalEntities[ent]\n }\n }\n}\n\n/**\n * @param {string} val\n * @param {string} tagName\n * @param {string|Matcher} jPath - jPath string or Matcher instance based on options.jPath\n * @param {boolean} dontTrim\n * @param {boolean} hasAttributes\n * @param {boolean} isLeafNode\n * @param {boolean} escapeEntities\n */\nfunction parseTextData(val, tagName, jPath, dontTrim, hasAttributes, isLeafNode, escapeEntities) {\n if (val !== undefined) {\n if (this.options.trimValues && !dontTrim) {\n val = val.trim();\n }\n if (val.length > 0) {\n if (!escapeEntities) val = this.replaceEntitiesValue(val, tagName, jPath);\n\n // Pass jPath string or matcher based on options.jPath setting\n const jPathOrMatcher = this.options.jPath ? jPath.toString() : jPath;\n const newval = this.options.tagValueProcessor(tagName, val, jPathOrMatcher, hasAttributes, isLeafNode);\n if (newval === null || newval === undefined) {\n //don't parse\n return val;\n } else if (typeof newval !== typeof val || newval !== val) {\n //overwrite\n return newval;\n } else if (this.options.trimValues) {\n return parseValue(val, this.options.parseTagValue, this.options.numberParseOptions);\n } else {\n const trimmedVal = val.trim();\n if (trimmedVal === val) {\n return parseValue(val, this.options.parseTagValue, this.options.numberParseOptions);\n } else {\n return val;\n }\n }\n }\n }\n}\n\nfunction resolveNameSpace(tagname) {\n if (this.options.removeNSPrefix) {\n const tags = tagname.split(':');\n const prefix = tagname.charAt(0) === '/' ? '/' : '';\n if (tags[0] === 'xmlns') {\n return '';\n }\n if (tags.length === 2) {\n tagname = prefix + tags[1];\n }\n }\n return tagname;\n}\n\n//TODO: change regex to capture NS\n//const attrsRegx = new RegExp(\"([\\\\w\\\\-\\\\.\\\\:]+)\\\\s*=\\\\s*(['\\\"])((.|\\n)*?)\\\\2\",\"gm\");\nconst attrsRegx = new RegExp('([^\\\\s=]+)\\\\s*(=\\\\s*([\\'\"])([\\\\s\\\\S]*?)\\\\3)?', 'gm');\n\nfunction buildAttributesMap(attrStr, jPath, tagName) {\n if (this.options.ignoreAttributes !== true && typeof attrStr === 'string') {\n // attrStr = attrStr.replace(/\\r?\\n/g, ' ');\n //attrStr = attrStr || attrStr.trim();\n\n const matches = getAllMatches(attrStr, attrsRegx);\n const len = matches.length; //don't make it inline\n const attrs = {};\n\n // First pass: parse all attributes and update matcher with raw values\n // This ensures the matcher has all attribute values when processors run\n const rawAttrsForMatcher = {};\n for (let i = 0; i < len; i++) {\n const attrName = this.resolveNameSpace(matches[i][1]);\n const oldVal = matches[i][4];\n\n if (attrName.length && oldVal !== undefined) {\n let parsedVal = oldVal;\n if (this.options.trimValues) {\n parsedVal = parsedVal.trim();\n }\n parsedVal = this.replaceEntitiesValue(parsedVal, tagName, this.readonlyMatcher);\n rawAttrsForMatcher[attrName] = parsedVal;\n }\n }\n\n // Update matcher with raw attribute values BEFORE running processors\n if (Object.keys(rawAttrsForMatcher).length > 0 && typeof jPath === 'object' && jPath.updateCurrent) {\n jPath.updateCurrent(rawAttrsForMatcher);\n }\n\n // Second pass: now process attributes with matcher having full attribute context\n for (let i = 0; i < len; i++) {\n const attrName = this.resolveNameSpace(matches[i][1]);\n\n // Convert jPath to string if needed for ignoreAttributesFn\n const jPathStr = this.options.jPath ? jPath.toString() : this.readonlyMatcher;\n if (this.ignoreAttributesFn(attrName, jPathStr)) {\n continue\n }\n\n let oldVal = matches[i][4];\n let aName = this.options.attributeNamePrefix + attrName;\n\n if (attrName.length) {\n if (this.options.transformAttributeName) {\n aName = this.options.transformAttributeName(aName);\n }\n //if (aName === \"__proto__\") aName = \"#__proto__\";\n aName = sanitizeName(aName, this.options);\n\n if (oldVal !== undefined) {\n if (this.options.trimValues) {\n oldVal = oldVal.trim();\n }\n oldVal = this.replaceEntitiesValue(oldVal, tagName, this.readonlyMatcher);\n\n // Pass jPath string or readonlyMatcher based on options.jPath setting\n const jPathOrMatcher = this.options.jPath ? jPath.toString() : this.readonlyMatcher;\n const newVal = this.options.attributeValueProcessor(attrName, oldVal, jPathOrMatcher);\n if (newVal === null || newVal === undefined) {\n //don't parse\n attrs[aName] = oldVal;\n } else if (typeof newVal !== typeof oldVal || newVal !== oldVal) {\n //overwrite\n attrs[aName] = newVal;\n } else {\n //parse\n attrs[aName] = parseValue(\n oldVal,\n this.options.parseAttributeValue,\n this.options.numberParseOptions\n );\n }\n } else if (this.options.allowBooleanAttributes) {\n attrs[aName] = true;\n }\n }\n }\n\n if (!Object.keys(attrs).length) {\n return;\n }\n if (this.options.attributesGroupName) {\n const attrCollection = {};\n attrCollection[this.options.attributesGroupName] = attrs;\n return attrCollection;\n }\n return attrs\n }\n}\n\nconst parseXml = function (xmlData) {\n xmlData = xmlData.replace(/\\r\\n?/g, \"\\n\"); //TODO: remove this line\n const xmlObj = new xmlNode('!xml');\n let currentNode = xmlObj;\n let textData = \"\";\n\n // Reset matcher for new document\n this.matcher.reset();\n\n // Reset entity expansion counters for this document\n this.entityExpansionCount = 0;\n this.currentExpandedLength = 0;\n\n const docTypeReader = new DocTypeReader(this.options.processEntities);\n for (let i = 0; i < xmlData.length; i++) {//for each char in XML data\n const ch = xmlData[i];\n if (ch === '<') {\n // const nextIndex = i+1;\n // const _2ndChar = xmlData[nextIndex];\n if (xmlData[i + 1] === '/') {//Closing Tag\n const closeIndex = findClosingIndex(xmlData, \">\", i, \"Closing Tag is not closed.\")\n let tagName = xmlData.substring(i + 2, closeIndex).trim();\n\n if (this.options.removeNSPrefix) {\n const colonIndex = tagName.indexOf(\":\");\n if (colonIndex !== -1) {\n tagName = tagName.substr(colonIndex + 1);\n }\n }\n\n tagName = transformTagName(this.options.transformTagName, tagName, \"\", this.options).tagName;\n\n if (currentNode) {\n textData = this.saveTextToParentTag(textData, currentNode, this.readonlyMatcher);\n }\n\n //check if last tag of nested tag was unpaired tag\n const lastTagName = this.matcher.getCurrentTag();\n if (tagName && this.options.unpairedTags.indexOf(tagName) !== -1) {\n throw new Error(`Unpaired tag can not be used as closing tag: `);\n }\n if (lastTagName && this.options.unpairedTags.indexOf(lastTagName) !== -1) {\n // Pop the unpaired tag\n this.matcher.pop();\n this.tagsNodeStack.pop();\n }\n // Pop the closing tag\n this.matcher.pop();\n this.isCurrentNodeStopNode = false; // Reset flag when closing tag\n\n currentNode = this.tagsNodeStack.pop();//avoid recursion, set the parent tag scope\n textData = \"\";\n i = closeIndex;\n } else if (xmlData[i + 1] === '?') {\n\n let tagData = readTagExp(xmlData, i, false, \"?>\");\n if (!tagData) throw new Error(\"Pi Tag is not closed.\");\n\n textData = this.saveTextToParentTag(textData, currentNode, this.readonlyMatcher);\n if ((this.options.ignoreDeclaration && tagData.tagName === \"?xml\") || this.options.ignorePiTags) {\n //do nothing\n } else {\n\n const childNode = new xmlNode(tagData.tagName);\n childNode.add(this.options.textNodeName, \"\");\n\n if (tagData.tagName !== tagData.tagExp && tagData.attrExpPresent) {\n childNode[\":@\"] = this.buildAttributesMap(tagData.tagExp, this.matcher, tagData.tagName);\n }\n this.addChild(currentNode, childNode, this.readonlyMatcher, i);\n }\n\n\n i = tagData.closeIndex + 1;\n } else if (xmlData.substr(i + 1, 3) === '!--') {\n const endIndex = findClosingIndex(xmlData, \"-->\", i + 4, \"Comment is not closed.\")\n if (this.options.commentPropName) {\n const comment = xmlData.substring(i + 4, endIndex - 2);\n\n textData = this.saveTextToParentTag(textData, currentNode, this.readonlyMatcher);\n\n currentNode.add(this.options.commentPropName, [{ [this.options.textNodeName]: comment }]);\n }\n i = endIndex;\n } else if (xmlData.substr(i + 1, 2) === '!D') {\n const result = docTypeReader.readDocType(xmlData, i);\n this.docTypeEntities = result.entities;\n i = result.i;\n } else if (xmlData.substr(i + 1, 2) === '![') {\n const closeIndex = findClosingIndex(xmlData, \"]]>\", i, \"CDATA is not closed.\") - 2;\n const tagExp = xmlData.substring(i + 9, closeIndex);\n\n textData = this.saveTextToParentTag(textData, currentNode, this.readonlyMatcher);\n\n let val = this.parseTextData(tagExp, currentNode.tagname, this.readonlyMatcher, true, false, true, true);\n if (val == undefined) val = \"\";\n\n //cdata should be set even if it is 0 length string\n if (this.options.cdataPropName) {\n currentNode.add(this.options.cdataPropName, [{ [this.options.textNodeName]: tagExp }]);\n } else {\n currentNode.add(this.options.textNodeName, val);\n }\n\n i = closeIndex + 2;\n } else {//Opening tag\n let result = readTagExp(xmlData, i, this.options.removeNSPrefix);\n\n // Safety check: readTagExp can return undefined\n if (!result) {\n // Log context for debugging\n const context = xmlData.substring(Math.max(0, i - 50), Math.min(xmlData.length, i + 50));\n throw new Error(`readTagExp returned undefined at position ${i}. Context: \"${context}\"`);\n }\n\n let tagName = result.tagName;\n const rawTagName = result.rawTagName;\n let tagExp = result.tagExp;\n let attrExpPresent = result.attrExpPresent;\n let closeIndex = result.closeIndex;\n\n ({ tagName, tagExp } = transformTagName(this.options.transformTagName, tagName, tagExp, this.options));\n\n if (this.options.strictReservedNames &&\n (tagName === this.options.commentPropName\n || tagName === this.options.cdataPropName\n || tagName === this.options.textNodeName\n || tagName === this.options.attributesGroupName\n )) {\n throw new Error(`Invalid tag name: ${tagName}`);\n }\n\n //save text as child node\n if (currentNode && textData) {\n if (currentNode.tagname !== '!xml') {\n //when nested tag is found\n textData = this.saveTextToParentTag(textData, currentNode, this.readonlyMatcher, false);\n }\n }\n\n //check if last tag was unpaired tag\n const lastTag = currentNode;\n if (lastTag && this.options.unpairedTags.indexOf(lastTag.tagname) !== -1) {\n currentNode = this.tagsNodeStack.pop();\n this.matcher.pop();\n }\n\n // Clean up self-closing syntax BEFORE processing attributes\n // This is where tagExp gets the trailing / removed\n let isSelfClosing = false;\n if (tagExp.length > 0 && tagExp.lastIndexOf(\"/\") === tagExp.length - 1) {\n isSelfClosing = true;\n if (tagName[tagName.length - 1] === \"/\") {\n tagName = tagName.substr(0, tagName.length - 1);\n tagExp = tagName;\n } else {\n tagExp = tagExp.substr(0, tagExp.length - 1);\n }\n\n // Re-check attrExpPresent after cleaning\n attrExpPresent = (tagName !== tagExp);\n }\n\n // Now process attributes with CLEAN tagExp (no trailing /)\n let prefixedAttrs = null;\n let rawAttrs = {};\n let namespace = undefined;\n\n // Extract namespace from rawTagName\n namespace = extractNamespace(rawTagName);\n\n // Push tag to matcher FIRST (with empty attrs for now) so callbacks see correct path\n if (tagName !== xmlObj.tagname) {\n this.matcher.push(tagName, {}, namespace);\n }\n\n // Now build attributes - callbacks will see correct matcher state\n if (tagName !== tagExp && attrExpPresent) {\n // Build attributes (returns prefixed attributes for the tree)\n // Note: buildAttributesMap now internally updates the matcher with raw attributes\n prefixedAttrs = this.buildAttributesMap(tagExp, this.matcher, tagName);\n\n if (prefixedAttrs) {\n // Extract raw attributes (without prefix) for our use\n rawAttrs = extractRawAttributes(prefixedAttrs, this.options);\n }\n }\n\n // Now check if this is a stop node (after attributes are set)\n if (tagName !== xmlObj.tagname) {\n this.isCurrentNodeStopNode = this.isItStopNode(this.stopNodeExpressions, this.matcher);\n }\n\n const startIndex = i;\n if (this.isCurrentNodeStopNode) {\n let tagContent = \"\";\n\n // For self-closing tags, content is empty\n if (isSelfClosing) {\n i = result.closeIndex;\n }\n //unpaired tag\n else if (this.options.unpairedTags.indexOf(tagName) !== -1) {\n i = result.closeIndex;\n }\n //normal tag\n else {\n //read until closing tag is found\n const result = this.readStopNodeData(xmlData, rawTagName, closeIndex + 1);\n if (!result) throw new Error(`Unexpected end of ${rawTagName}`);\n i = result.i;\n tagContent = result.tagContent;\n }\n\n const childNode = new xmlNode(tagName);\n\n if (prefixedAttrs) {\n childNode[\":@\"] = prefixedAttrs;\n }\n\n // For stop nodes, store raw content as-is without any processing\n childNode.add(this.options.textNodeName, tagContent);\n\n this.matcher.pop(); // Pop the stop node tag\n this.isCurrentNodeStopNode = false; // Reset flag\n\n this.addChild(currentNode, childNode, this.readonlyMatcher, startIndex);\n } else {\n //selfClosing tag\n if (isSelfClosing) {\n ({ tagName, tagExp } = transformTagName(this.options.transformTagName, tagName, tagExp, this.options));\n\n const childNode = new xmlNode(tagName);\n if (prefixedAttrs) {\n childNode[\":@\"] = prefixedAttrs;\n }\n this.addChild(currentNode, childNode, this.readonlyMatcher, startIndex);\n this.matcher.pop(); // Pop self-closing tag\n this.isCurrentNodeStopNode = false; // Reset flag\n }\n else if (this.options.unpairedTags.indexOf(tagName) !== -1) {//unpaired tag\n const childNode = new xmlNode(tagName);\n if (prefixedAttrs) {\n childNode[\":@\"] = prefixedAttrs;\n }\n this.addChild(currentNode, childNode, this.readonlyMatcher, startIndex);\n this.matcher.pop(); // Pop unpaired tag\n this.isCurrentNodeStopNode = false; // Reset flag\n i = result.closeIndex;\n // Continue to next iteration without changing currentNode\n continue;\n }\n //opening tag\n else {\n const childNode = new xmlNode(tagName);\n if (this.tagsNodeStack.length > this.options.maxNestedTags) {\n throw new Error(\"Maximum nested tags exceeded\");\n }\n this.tagsNodeStack.push(currentNode);\n\n if (prefixedAttrs) {\n childNode[\":@\"] = prefixedAttrs;\n }\n this.addChild(currentNode, childNode, this.readonlyMatcher, startIndex);\n currentNode = childNode;\n }\n textData = \"\";\n i = closeIndex;\n }\n }\n } else {\n textData += xmlData[i];\n }\n }\n return xmlObj.child;\n}\n\nfunction addChild(currentNode, childNode, matcher, startIndex) {\n // unset startIndex if not requested\n if (!this.options.captureMetaData) startIndex = undefined;\n\n // Pass jPath string or matcher based on options.jPath setting\n const jPathOrMatcher = this.options.jPath ? matcher.toString() : matcher;\n const result = this.options.updateTag(childNode.tagname, jPathOrMatcher, childNode[\":@\"])\n if (result === false) {\n //do nothing\n } else if (typeof result === \"string\") {\n childNode.tagname = result\n currentNode.addChild(childNode, startIndex);\n } else {\n currentNode.addChild(childNode, startIndex);\n }\n}\n\n/**\n * @param {object} val - Entity object with regex and val properties\n * @param {string} tagName - Tag name\n * @param {string|Matcher} jPath - jPath string or Matcher instance based on options.jPath\n */\nfunction replaceEntitiesValue(val, tagName, jPath) {\n const entityConfig = this.options.processEntities;\n\n if (!entityConfig || !entityConfig.enabled) {\n return val;\n }\n\n // Check if tag is allowed to contain entities\n if (entityConfig.allowedTags) {\n const jPathOrMatcher = this.options.jPath ? jPath.toString() : jPath;\n const allowed = Array.isArray(entityConfig.allowedTags)\n ? entityConfig.allowedTags.includes(tagName)\n : entityConfig.allowedTags(tagName, jPathOrMatcher);\n\n if (!allowed) {\n return val;\n }\n }\n\n // Apply custom tag filter if provided\n if (entityConfig.tagFilter) {\n const jPathOrMatcher = this.options.jPath ? jPath.toString() : jPath;\n if (!entityConfig.tagFilter(tagName, jPathOrMatcher)) {\n return val; // Skip based on custom filter\n }\n }\n\n // Replace DOCTYPE entities\n for (const entityName of Object.keys(this.docTypeEntities)) {\n const entity = this.docTypeEntities[entityName];\n const matches = val.match(entity.regx);\n\n if (matches) {\n // Track expansions\n this.entityExpansionCount += matches.length;\n\n // Check expansion limit\n if (entityConfig.maxTotalExpansions &&\n this.entityExpansionCount > entityConfig.maxTotalExpansions) {\n throw new Error(\n `Entity expansion limit exceeded: ${this.entityExpansionCount} > ${entityConfig.maxTotalExpansions}`\n );\n }\n\n // Store length before replacement\n const lengthBefore = val.length;\n val = val.replace(entity.regx, entity.val);\n\n // Check expanded length immediately after replacement\n if (entityConfig.maxExpandedLength) {\n this.currentExpandedLength += (val.length - lengthBefore);\n\n if (this.currentExpandedLength > entityConfig.maxExpandedLength) {\n throw new Error(\n `Total expanded content size exceeded: ${this.currentExpandedLength} > ${entityConfig.maxExpandedLength}`\n );\n }\n }\n }\n }\n // Replace standard entities\n for (const entityName of Object.keys(this.lastEntities)) {\n const entity = this.lastEntities[entityName];\n const matches = val.match(entity.regex);\n if (matches) {\n this.entityExpansionCount += matches.length;\n if (entityConfig.maxTotalExpansions &&\n this.entityExpansionCount > entityConfig.maxTotalExpansions) {\n throw new Error(\n `Entity expansion limit exceeded: ${this.entityExpansionCount} > ${entityConfig.maxTotalExpansions}`\n );\n }\n }\n val = val.replace(entity.regex, entity.val);\n }\n if (val.indexOf('&') === -1) return val;\n\n // Replace HTML entities if enabled\n if (this.options.htmlEntities) {\n for (const entityName of Object.keys(this.htmlEntities)) {\n const entity = this.htmlEntities[entityName];\n const matches = val.match(entity.regex);\n if (matches) {\n //console.log(matches);\n this.entityExpansionCount += matches.length;\n if (entityConfig.maxTotalExpansions &&\n this.entityExpansionCount > entityConfig.maxTotalExpansions) {\n throw new Error(\n `Entity expansion limit exceeded: ${this.entityExpansionCount} > ${entityConfig.maxTotalExpansions}`\n );\n }\n }\n val = val.replace(entity.regex, entity.val);\n }\n }\n\n // Replace ampersand entity last\n val = val.replace(this.ampEntity.regex, this.ampEntity.val);\n\n return val;\n}\n\n\nfunction saveTextToParentTag(textData, parentNode, matcher, isLeafNode) {\n if (textData) { //store previously collected data as textNode\n if (isLeafNode === undefined) isLeafNode = parentNode.child.length === 0\n\n textData = this.parseTextData(textData,\n parentNode.tagname,\n matcher,\n false,\n parentNode[\":@\"] ? Object.keys(parentNode[\":@\"]).length !== 0 : false,\n isLeafNode);\n\n if (textData !== undefined && textData !== \"\")\n parentNode.add(this.options.textNodeName, textData);\n textData = \"\";\n }\n return textData;\n}\n\n//TODO: use jPath to simplify the logic\n/**\n * @param {Array} stopNodeExpressions - Array of compiled Expression objects\n * @param {Matcher} matcher - Current path matcher\n */\nfunction isItStopNode(stopNodeExpressions, matcher) {\n if (!stopNodeExpressions || stopNodeExpressions.length === 0) return false;\n\n for (let i = 0; i < stopNodeExpressions.length; i++) {\n if (matcher.matches(stopNodeExpressions[i])) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * Returns the tag Expression and where it is ending handling single-double quotes situation\n * @param {string} xmlData \n * @param {number} i starting index\n * @returns \n */\nfunction tagExpWithClosingIndex(xmlData, i, closingChar = \">\") {\n let attrBoundary;\n let tagExp = \"\";\n for (let index = i; index < xmlData.length; index++) {\n let ch = xmlData[index];\n if (attrBoundary) {\n if (ch === attrBoundary) attrBoundary = \"\";//reset\n } else if (ch === '\"' || ch === \"'\") {\n attrBoundary = ch;\n } else if (ch === closingChar[0]) {\n if (closingChar[1]) {\n if (xmlData[index + 1] === closingChar[1]) {\n return {\n data: tagExp,\n index: index\n }\n }\n } else {\n return {\n data: tagExp,\n index: index\n }\n }\n } else if (ch === '\\t') {\n ch = \" \"\n }\n tagExp += ch;\n }\n}\n\nfunction findClosingIndex(xmlData, str, i, errMsg) {\n const closingIndex = xmlData.indexOf(str, i);\n if (closingIndex === -1) {\n throw new Error(errMsg)\n } else {\n return closingIndex + str.length - 1;\n }\n}\n\nfunction readTagExp(xmlData, i, removeNSPrefix, closingChar = \">\") {\n const result = tagExpWithClosingIndex(xmlData, i + 1, closingChar);\n if (!result) return;\n let tagExp = result.data;\n const closeIndex = result.index;\n const separatorIndex = tagExp.search(/\\s/);\n let tagName = tagExp;\n let attrExpPresent = true;\n if (separatorIndex !== -1) {//separate tag name and attributes expression\n tagName = tagExp.substring(0, separatorIndex);\n tagExp = tagExp.substring(separatorIndex + 1).trimStart();\n }\n\n const rawTagName = tagName;\n if (removeNSPrefix) {\n const colonIndex = tagName.indexOf(\":\");\n if (colonIndex !== -1) {\n tagName = tagName.substr(colonIndex + 1);\n attrExpPresent = tagName !== result.data.substr(colonIndex + 1);\n }\n }\n\n return {\n tagName: tagName,\n tagExp: tagExp,\n closeIndex: closeIndex,\n attrExpPresent: attrExpPresent,\n rawTagName: rawTagName,\n }\n}\n/**\n * find paired tag for a stop node\n * @param {string} xmlData \n * @param {string} tagName \n * @param {number} i \n */\nfunction readStopNodeData(xmlData, tagName, i) {\n const startIndex = i;\n // Starting at 1 since we already have an open tag\n let openTagCount = 1;\n\n for (; i < xmlData.length; i++) {\n if (xmlData[i] === \"<\") {\n if (xmlData[i + 1] === \"/\") {//close tag\n const closeIndex = findClosingIndex(xmlData, \">\", i, `${tagName} is not closed`);\n let closeTagName = xmlData.substring(i + 2, closeIndex).trim();\n if (closeTagName === tagName) {\n openTagCount--;\n if (openTagCount === 0) {\n return {\n tagContent: xmlData.substring(startIndex, i),\n i: closeIndex\n }\n }\n }\n i = closeIndex;\n } else if (xmlData[i + 1] === '?') {\n const closeIndex = findClosingIndex(xmlData, \"?>\", i + 1, \"StopNode is not closed.\")\n i = closeIndex;\n } else if (xmlData.substr(i + 1, 3) === '!--') {\n const closeIndex = findClosingIndex(xmlData, \"-->\", i + 3, \"StopNode is not closed.\")\n i = closeIndex;\n } else if (xmlData.substr(i + 1, 2) === '![') {\n const closeIndex = findClosingIndex(xmlData, \"]]>\", i, \"StopNode is not closed.\") - 2;\n i = closeIndex;\n } else {\n const tagData = readTagExp(xmlData, i, '>')\n\n if (tagData) {\n const openTagName = tagData && tagData.tagName;\n if (openTagName === tagName && tagData.tagExp[tagData.tagExp.length - 1] !== \"/\") {\n openTagCount++;\n }\n i = tagData.closeIndex;\n }\n }\n }\n }//end for loop\n}\n\nfunction parseValue(val, shouldParse, options) {\n if (shouldParse && typeof val === 'string') {\n //console.log(options)\n const newval = val.trim();\n if (newval === 'true') return true;\n else if (newval === 'false') return false;\n else return toNumber(val, options);\n } else {\n if (isExist(val)) {\n return val;\n } else {\n return '';\n }\n }\n}\n\nfunction fromCodePoint(str, base, prefix) {\n const codePoint = Number.parseInt(str, base);\n\n if (codePoint >= 0 && codePoint <= 0x10FFFF) {\n return String.fromCodePoint(codePoint);\n } else {\n return prefix + str + \";\";\n }\n}\n\nfunction transformTagName(fn, tagName, tagExp, options) {\n if (fn) {\n const newTagName = fn(tagName);\n if (tagExp === tagName) {\n tagExp = newTagName\n }\n tagName = newTagName;\n }\n tagName = sanitizeName(tagName, options);\n return { tagName, tagExp };\n}\n\n\n\nfunction sanitizeName(name, options) {\n if (criticalProperties.includes(name)) {\n throw new Error(`[SECURITY] Invalid name: \"${name}\" is a reserved JavaScript keyword that could cause prototype pollution`);\n } else if (DANGEROUS_PROPERTY_NAMES.includes(name)) {\n return options.onDangerousProperty(name);\n }\n return name;\n}","export default function getIgnoreAttributesFn(ignoreAttributes) {\n if (typeof ignoreAttributes === 'function') {\n return ignoreAttributes\n }\n if (Array.isArray(ignoreAttributes)) {\n return (attrName) => {\n for (const pattern of ignoreAttributes) {\n if (typeof pattern === 'string' && attrName === pattern) {\n return true\n }\n if (pattern instanceof RegExp && pattern.test(attrName)) {\n return true\n }\n }\n }\n }\n return () => false\n}","'use strict';\n\nimport XmlNode from './xmlNode.js';\nimport { Matcher } from 'path-expression-matcher';\n\nconst METADATA_SYMBOL = XmlNode.getMetaDataSymbol();\n\n/**\n * Helper function to strip attribute prefix from attribute map\n * @param {object} attrs - Attributes with prefix (e.g., {\"@_class\": \"code\"})\n * @param {string} prefix - Attribute prefix to remove (e.g., \"@_\")\n * @returns {object} Attributes without prefix (e.g., {\"class\": \"code\"})\n */\nfunction stripAttributePrefix(attrs, prefix) {\n if (!attrs || typeof attrs !== 'object') return {};\n if (!prefix) return attrs;\n\n const rawAttrs = {};\n for (const key in attrs) {\n if (key.startsWith(prefix)) {\n const rawName = key.substring(prefix.length);\n rawAttrs[rawName] = attrs[key];\n } else {\n // Attribute without prefix (shouldn't normally happen, but be safe)\n rawAttrs[key] = attrs[key];\n }\n }\n return rawAttrs;\n}\n\n/**\n * \n * @param {array} node \n * @param {any} options \n * @param {Matcher} matcher - Path matcher instance\n * @returns \n */\nexport default function prettify(node, options, matcher, readonlyMatcher) {\n return compress(node, options, matcher, readonlyMatcher);\n}\n\n/**\n * @param {array} arr \n * @param {object} options \n * @param {Matcher} matcher - Path matcher instance\n * @returns object\n */\nfunction compress(arr, options, matcher, readonlyMatcher) {\n let text;\n const compressedObj = {}; //This is intended to be a plain object\n for (let i = 0; i < arr.length; i++) {\n const tagObj = arr[i];\n const property = propName(tagObj);\n\n // Push current property to matcher WITH RAW ATTRIBUTES (no prefix)\n if (property !== undefined && property !== options.textNodeName) {\n const rawAttrs = stripAttributePrefix(\n tagObj[\":@\"] || {},\n options.attributeNamePrefix\n );\n matcher.push(property, rawAttrs);\n }\n\n if (property === options.textNodeName) {\n if (text === undefined) text = tagObj[property];\n else text += \"\" + tagObj[property];\n } else if (property === undefined) {\n continue;\n } else if (tagObj[property]) {\n\n let val = compress(tagObj[property], options, matcher, readonlyMatcher);\n const isLeaf = isLeafTag(val, options);\n\n if (tagObj[\":@\"]) {\n assignAttributes(val, tagObj[\":@\"], readonlyMatcher, options);\n } else if (Object.keys(val).length === 1 && val[options.textNodeName] !== undefined && !options.alwaysCreateTextNode) {\n val = val[options.textNodeName];\n } else if (Object.keys(val).length === 0) {\n if (options.alwaysCreateTextNode) val[options.textNodeName] = \"\";\n else val = \"\";\n }\n\n if (tagObj[METADATA_SYMBOL] !== undefined && typeof val === \"object\" && val !== null) {\n val[METADATA_SYMBOL] = tagObj[METADATA_SYMBOL]; // copy over metadata\n }\n\n\n if (compressedObj[property] !== undefined && Object.prototype.hasOwnProperty.call(compressedObj, property)) {\n if (!Array.isArray(compressedObj[property])) {\n compressedObj[property] = [compressedObj[property]];\n }\n compressedObj[property].push(val);\n } else {\n //TODO: if a node is not an array, then check if it should be an array\n //also determine if it is a leaf node\n\n // Pass jPath string or readonlyMatcher based on options.jPath setting\n const jPathOrMatcher = options.jPath ? readonlyMatcher.toString() : readonlyMatcher;\n if (options.isArray(property, jPathOrMatcher, isLeaf)) {\n compressedObj[property] = [val];\n } else {\n compressedObj[property] = val;\n }\n }\n\n // Pop property from matcher after processing\n if (property !== undefined && property !== options.textNodeName) {\n matcher.pop();\n }\n }\n\n }\n // if(text && text.length > 0) compressedObj[options.textNodeName] = text;\n if (typeof text === \"string\") {\n if (text.length > 0) compressedObj[options.textNodeName] = text;\n } else if (text !== undefined) compressedObj[options.textNodeName] = text;\n\n\n return compressedObj;\n}\n\nfunction propName(obj) {\n const keys = Object.keys(obj);\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n if (key !== \":@\") return key;\n }\n}\n\nfunction assignAttributes(obj, attrMap, readonlyMatcher, options) {\n if (attrMap) {\n const keys = Object.keys(attrMap);\n const len = keys.length; //don't make it inline\n for (let i = 0; i < len; i++) {\n const atrrName = keys[i]; // This is the PREFIXED name (e.g., \"@_class\")\n\n // Strip prefix for matcher path (for isArray callback)\n const rawAttrName = atrrName.startsWith(options.attributeNamePrefix)\n ? atrrName.substring(options.attributeNamePrefix.length)\n : atrrName;\n\n // For attributes, we need to create a temporary path\n // Pass jPath string or matcher based on options.jPath setting\n const jPathOrMatcher = options.jPath\n ? readonlyMatcher.toString() + \".\" + rawAttrName\n : readonlyMatcher;\n\n if (options.isArray(atrrName, jPathOrMatcher, true, true)) {\n obj[atrrName] = [attrMap[atrrName]];\n } else {\n obj[atrrName] = attrMap[atrrName];\n }\n }\n }\n}\n\nfunction isLeafTag(obj, options) {\n const { textNodeName } = options;\n const propCount = Object.keys(obj).length;\n\n if (propCount === 0) {\n return true;\n }\n\n if (\n propCount === 1 &&\n (obj[textNodeName] || typeof obj[textNodeName] === \"boolean\" || obj[textNodeName] === 0)\n ) {\n return true;\n }\n\n return false;\n}","'use strict';\n\nimport { getAllMatches, isName } from './util.js';\n\nconst defaultOptions = {\n allowBooleanAttributes: false, //A tag can have attributes without any value\n unpairedTags: []\n};\n\n//const tagsPattern = new RegExp(\"<\\\\/?([\\\\w:\\\\-_\\.]+)\\\\s*\\/?>\",\"g\");\nexport function validate(xmlData, options) {\n options = Object.assign({}, defaultOptions, options);\n\n //xmlData = xmlData.replace(/(\\r\\n|\\n|\\r)/gm,\"\");//make it single line\n //xmlData = xmlData.replace(/(^\\s*<\\?xml.*?\\?>)/g,\"\");//Remove XML starting tag\n //xmlData = xmlData.replace(/()/g,\"\");//Remove DOCTYPE\n const tags = [];\n let tagFound = false;\n\n //indicates that the root tag has been closed (aka. depth 0 has been reached)\n let reachedRoot = false;\n\n if (xmlData[0] === '\\ufeff') {\n // check for byte order mark (BOM)\n xmlData = xmlData.substr(1);\n }\n\n for (let i = 0; i < xmlData.length; i++) {\n\n if (xmlData[i] === '<' && xmlData[i + 1] === '?') {\n i += 2;\n i = readPI(xmlData, i);\n if (i.err) return i;\n } else if (xmlData[i] === '<') {\n //starting of tag\n //read until you reach to '>' avoiding any '>' in attribute value\n let tagStartPos = i;\n i++;\n\n if (xmlData[i] === '!') {\n i = readCommentAndCDATA(xmlData, i);\n continue;\n } else {\n let closingTag = false;\n if (xmlData[i] === '/') {\n //closing tag\n closingTag = true;\n i++;\n }\n //read tagname\n let tagName = '';\n for (; i < xmlData.length &&\n xmlData[i] !== '>' &&\n xmlData[i] !== ' ' &&\n xmlData[i] !== '\\t' &&\n xmlData[i] !== '\\n' &&\n xmlData[i] !== '\\r'; i++\n ) {\n tagName += xmlData[i];\n }\n tagName = tagName.trim();\n //console.log(tagName);\n\n if (tagName[tagName.length - 1] === '/') {\n //self closing tag without attributes\n tagName = tagName.substring(0, tagName.length - 1);\n //continue;\n i--;\n }\n if (!validateTagName(tagName)) {\n let msg;\n if (tagName.trim().length === 0) {\n msg = \"Invalid space after '<'.\";\n } else {\n msg = \"Tag '\" + tagName + \"' is an invalid name.\";\n }\n return getErrorObject('InvalidTag', msg, getLineNumberForPosition(xmlData, i));\n }\n\n const result = readAttributeStr(xmlData, i);\n if (result === false) {\n return getErrorObject('InvalidAttr', \"Attributes for '\" + tagName + \"' have open quote.\", getLineNumberForPosition(xmlData, i));\n }\n let attrStr = result.value;\n i = result.index;\n\n if (attrStr[attrStr.length - 1] === '/') {\n //self closing tag\n const attrStrStart = i - attrStr.length;\n attrStr = attrStr.substring(0, attrStr.length - 1);\n const isValid = validateAttributeString(attrStr, options);\n if (isValid === true) {\n tagFound = true;\n //continue; //text may presents after self closing tag\n } else {\n //the result from the nested function returns the position of the error within the attribute\n //in order to get the 'true' error line, we need to calculate the position where the attribute begins (i - attrStr.length) and then add the position within the attribute\n //this gives us the absolute index in the entire xml, which we can use to find the line at last\n return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, attrStrStart + isValid.err.line));\n }\n } else if (closingTag) {\n if (!result.tagClosed) {\n return getErrorObject('InvalidTag', \"Closing tag '\" + tagName + \"' doesn't have proper closing.\", getLineNumberForPosition(xmlData, i));\n } else if (attrStr.trim().length > 0) {\n return getErrorObject('InvalidTag', \"Closing tag '\" + tagName + \"' can't have attributes or invalid starting.\", getLineNumberForPosition(xmlData, tagStartPos));\n } else if (tags.length === 0) {\n return getErrorObject('InvalidTag', \"Closing tag '\" + tagName + \"' has not been opened.\", getLineNumberForPosition(xmlData, tagStartPos));\n } else {\n const otg = tags.pop();\n if (tagName !== otg.tagName) {\n let openPos = getLineNumberForPosition(xmlData, otg.tagStartPos);\n return getErrorObject('InvalidTag',\n \"Expected closing tag '\" + otg.tagName + \"' (opened in line \" + openPos.line + \", col \" + openPos.col + \") instead of closing tag '\" + tagName + \"'.\",\n getLineNumberForPosition(xmlData, tagStartPos));\n }\n\n //when there are no more tags, we reached the root level.\n if (tags.length == 0) {\n reachedRoot = true;\n }\n }\n } else {\n const isValid = validateAttributeString(attrStr, options);\n if (isValid !== true) {\n //the result from the nested function returns the position of the error within the attribute\n //in order to get the 'true' error line, we need to calculate the position where the attribute begins (i - attrStr.length) and then add the position within the attribute\n //this gives us the absolute index in the entire xml, which we can use to find the line at last\n return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, i - attrStr.length + isValid.err.line));\n }\n\n //if the root level has been reached before ...\n if (reachedRoot === true) {\n return getErrorObject('InvalidXml', 'Multiple possible root nodes found.', getLineNumberForPosition(xmlData, i));\n } else if (options.unpairedTags.indexOf(tagName) !== -1) {\n //don't push into stack\n } else {\n tags.push({ tagName, tagStartPos });\n }\n tagFound = true;\n }\n\n //skip tag text value\n //It may include comments and CDATA value\n for (i++; i < xmlData.length; i++) {\n if (xmlData[i] === '<') {\n if (xmlData[i + 1] === '!') {\n //comment or CADATA\n i++;\n i = readCommentAndCDATA(xmlData, i);\n continue;\n } else if (xmlData[i + 1] === '?') {\n i = readPI(xmlData, ++i);\n if (i.err) return i;\n } else {\n break;\n }\n } else if (xmlData[i] === '&') {\n const afterAmp = validateAmpersand(xmlData, i);\n if (afterAmp == -1)\n return getErrorObject('InvalidChar', \"char '&' is not expected.\", getLineNumberForPosition(xmlData, i));\n i = afterAmp;\n } else {\n if (reachedRoot === true && !isWhiteSpace(xmlData[i])) {\n return getErrorObject('InvalidXml', \"Extra text at the end\", getLineNumberForPosition(xmlData, i));\n }\n }\n } //end of reading tag text value\n if (xmlData[i] === '<') {\n i--;\n }\n }\n } else {\n if (isWhiteSpace(xmlData[i])) {\n continue;\n }\n return getErrorObject('InvalidChar', \"char '\" + xmlData[i] + \"' is not expected.\", getLineNumberForPosition(xmlData, i));\n }\n }\n\n if (!tagFound) {\n return getErrorObject('InvalidXml', 'Start tag expected.', 1);\n } else if (tags.length == 1) {\n return getErrorObject('InvalidTag', \"Unclosed tag '\" + tags[0].tagName + \"'.\", getLineNumberForPosition(xmlData, tags[0].tagStartPos));\n } else if (tags.length > 0) {\n return getErrorObject('InvalidXml', \"Invalid '\" +\n JSON.stringify(tags.map(t => t.tagName), null, 4).replace(/\\r?\\n/g, '') +\n \"' found.\", { line: 1, col: 1 });\n }\n\n return true;\n};\n\nfunction isWhiteSpace(char) {\n return char === ' ' || char === '\\t' || char === '\\n' || char === '\\r';\n}\n/**\n * Read Processing insstructions and skip\n * @param {*} xmlData\n * @param {*} i\n */\nfunction readPI(xmlData, i) {\n const start = i;\n for (; i < xmlData.length; i++) {\n if (xmlData[i] == '?' || xmlData[i] == ' ') {\n //tagname\n const tagname = xmlData.substr(start, i - start);\n if (i > 5 && tagname === 'xml') {\n return getErrorObject('InvalidXml', 'XML declaration allowed only at the start of the document.', getLineNumberForPosition(xmlData, i));\n } else if (xmlData[i] == '?' && xmlData[i + 1] == '>') {\n //check if valid attribut string\n i++;\n break;\n } else {\n continue;\n }\n }\n }\n return i;\n}\n\nfunction readCommentAndCDATA(xmlData, i) {\n if (xmlData.length > i + 5 && xmlData[i + 1] === '-' && xmlData[i + 2] === '-') {\n //comment\n for (i += 3; i < xmlData.length; i++) {\n if (xmlData[i] === '-' && xmlData[i + 1] === '-' && xmlData[i + 2] === '>') {\n i += 2;\n break;\n }\n }\n } else if (\n xmlData.length > i + 8 &&\n xmlData[i + 1] === 'D' &&\n xmlData[i + 2] === 'O' &&\n xmlData[i + 3] === 'C' &&\n xmlData[i + 4] === 'T' &&\n xmlData[i + 5] === 'Y' &&\n xmlData[i + 6] === 'P' &&\n xmlData[i + 7] === 'E'\n ) {\n let angleBracketsCount = 1;\n for (i += 8; i < xmlData.length; i++) {\n if (xmlData[i] === '<') {\n angleBracketsCount++;\n } else if (xmlData[i] === '>') {\n angleBracketsCount--;\n if (angleBracketsCount === 0) {\n break;\n }\n }\n }\n } else if (\n xmlData.length > i + 9 &&\n xmlData[i + 1] === '[' &&\n xmlData[i + 2] === 'C' &&\n xmlData[i + 3] === 'D' &&\n xmlData[i + 4] === 'A' &&\n xmlData[i + 5] === 'T' &&\n xmlData[i + 6] === 'A' &&\n xmlData[i + 7] === '['\n ) {\n for (i += 8; i < xmlData.length; i++) {\n if (xmlData[i] === ']' && xmlData[i + 1] === ']' && xmlData[i + 2] === '>') {\n i += 2;\n break;\n }\n }\n }\n\n return i;\n}\n\nconst doubleQuote = '\"';\nconst singleQuote = \"'\";\n\n/**\n * Keep reading xmlData until '<' is found outside the attribute value.\n * @param {string} xmlData\n * @param {number} i\n */\nfunction readAttributeStr(xmlData, i) {\n let attrStr = '';\n let startChar = '';\n let tagClosed = false;\n for (; i < xmlData.length; i++) {\n if (xmlData[i] === doubleQuote || xmlData[i] === singleQuote) {\n if (startChar === '') {\n startChar = xmlData[i];\n } else if (startChar !== xmlData[i]) {\n //if vaue is enclosed with double quote then single quotes are allowed inside the value and vice versa\n } else {\n startChar = '';\n }\n } else if (xmlData[i] === '>') {\n if (startChar === '') {\n tagClosed = true;\n break;\n }\n }\n attrStr += xmlData[i];\n }\n if (startChar !== '') {\n return false;\n }\n\n return {\n value: attrStr,\n index: i,\n tagClosed: tagClosed\n };\n}\n\n/**\n * Select all the attributes whether valid or invalid.\n */\nconst validAttrStrRegxp = new RegExp('(\\\\s*)([^\\\\s=]+)(\\\\s*=)?(\\\\s*([\\'\"])(([\\\\s\\\\S])*?)\\\\5)?', 'g');\n\n//attr, =\"sd\", a=\"amit's\", a=\"sd\"b=\"saf\", ab cd=\"\"\n\nfunction validateAttributeString(attrStr, options) {\n //console.log(\"start:\"+attrStr+\":end\");\n\n //if(attrStr.trim().length === 0) return true; //empty string\n\n const matches = getAllMatches(attrStr, validAttrStrRegxp);\n const attrNames = {};\n\n for (let i = 0; i < matches.length; i++) {\n if (matches[i][1].length === 0) {\n //nospace before attribute name: a=\"sd\"b=\"saf\"\n return getErrorObject('InvalidAttr', \"Attribute '\" + matches[i][2] + \"' has no space in starting.\", getPositionFromMatch(matches[i]))\n } else if (matches[i][3] !== undefined && matches[i][4] === undefined) {\n return getErrorObject('InvalidAttr', \"Attribute '\" + matches[i][2] + \"' is without value.\", getPositionFromMatch(matches[i]));\n } else if (matches[i][3] === undefined && !options.allowBooleanAttributes) {\n //independent attribute: ab\n return getErrorObject('InvalidAttr', \"boolean attribute '\" + matches[i][2] + \"' is not allowed.\", getPositionFromMatch(matches[i]));\n }\n /* else if(matches[i][6] === undefined){//attribute without value: ab=\n return { err: { code:\"InvalidAttr\",msg:\"attribute \" + matches[i][2] + \" has no value assigned.\"}};\n } */\n const attrName = matches[i][2];\n if (!validateAttrName(attrName)) {\n return getErrorObject('InvalidAttr', \"Attribute '\" + attrName + \"' is an invalid name.\", getPositionFromMatch(matches[i]));\n }\n if (!Object.prototype.hasOwnProperty.call(attrNames, attrName)) {\n //check for duplicate attribute.\n attrNames[attrName] = 1;\n } else {\n return getErrorObject('InvalidAttr', \"Attribute '\" + attrName + \"' is repeated.\", getPositionFromMatch(matches[i]));\n }\n }\n\n return true;\n}\n\nfunction validateNumberAmpersand(xmlData, i) {\n let re = /\\d/;\n if (xmlData[i] === 'x') {\n i++;\n re = /[\\da-fA-F]/;\n }\n for (; i < xmlData.length; i++) {\n if (xmlData[i] === ';')\n return i;\n if (!xmlData[i].match(re))\n break;\n }\n return -1;\n}\n\nfunction validateAmpersand(xmlData, i) {\n // https://www.w3.org/TR/xml/#dt-charref\n i++;\n if (xmlData[i] === ';')\n return -1;\n if (xmlData[i] === '#') {\n i++;\n return validateNumberAmpersand(xmlData, i);\n }\n let count = 0;\n for (; i < xmlData.length; i++, count++) {\n if (xmlData[i].match(/\\w/) && count < 20)\n continue;\n if (xmlData[i] === ';')\n break;\n return -1;\n }\n return i;\n}\n\nfunction getErrorObject(code, message, lineNumber) {\n return {\n err: {\n code: code,\n msg: message,\n line: lineNumber.line || lineNumber,\n col: lineNumber.col,\n },\n };\n}\n\nfunction validateAttrName(attrName) {\n return isName(attrName);\n}\n\n// const startsWithXML = /^xml/i;\n\nfunction validateTagName(tagname) {\n return isName(tagname) /* && !tagname.match(startsWithXML) */;\n}\n\n//this function returns the line number for the character at the given index\nfunction getLineNumberForPosition(xmlData, index) {\n const lines = xmlData.substring(0, index).split(/\\r?\\n/);\n return {\n line: lines.length,\n\n // column number is last line's length + 1, because column numbering starts at 1:\n col: lines[lines.length - 1].length + 1\n };\n}\n\n//this function returns the position of the first character of match within attrStr\nfunction getPositionFromMatch(match) {\n return match.startIndex + match[1].length;\n}\n","import { buildOptions } from './OptionsBuilder.js';\nimport OrderedObjParser from './OrderedObjParser.js';\nimport prettify from './node2json.js';\nimport { validate } from \"../validator.js\";\nimport XmlNode from './xmlNode.js';\n\nexport default class XMLParser {\n\n constructor(options) {\n this.externalEntities = {};\n this.options = buildOptions(options);\n\n }\n /**\n * Parse XML dats to JS object \n * @param {string|Uint8Array} xmlData \n * @param {boolean|Object} validationOption \n */\n parse(xmlData, validationOption) {\n if (typeof xmlData !== \"string\" && xmlData.toString) {\n xmlData = xmlData.toString();\n } else if (typeof xmlData !== \"string\") {\n throw new Error(\"XML data is accepted in String or Bytes[] form.\")\n }\n\n if (validationOption) {\n if (validationOption === true) validationOption = {}; //validate with default options\n\n const result = validate(xmlData, validationOption);\n if (result !== true) {\n throw Error(`${result.err.msg}:${result.err.line}:${result.err.col}`)\n }\n }\n const orderedObjParser = new OrderedObjParser(this.options);\n orderedObjParser.addExternalEntities(this.externalEntities);\n const orderedResult = orderedObjParser.parseXml(xmlData);\n if (this.options.preserveOrder || orderedResult === undefined) return orderedResult;\n else return prettify(orderedResult, this.options, orderedObjParser.matcher, orderedObjParser.readonlyMatcher);\n }\n\n /**\n * Add Entity which is not by default supported by this library\n * @param {string} key \n * @param {string} value \n */\n addEntity(key, value) {\n if (value.indexOf(\"&\") !== -1) {\n throw new Error(\"Entity value can't have '&'\")\n } else if (key.indexOf(\"&\") !== -1 || key.indexOf(\";\") !== -1) {\n throw new Error(\"An entity must be set without '&' and ';'. Eg. use '#xD' for ' '\")\n } else if (value === \"&\") {\n throw new Error(\"An entity with value '&' is not permitted\");\n } else {\n this.externalEntities[key] = value;\n }\n }\n\n /**\n * Returns a Symbol that can be used to access the metadata\n * property on a node.\n * \n * If Symbol is not available in the environment, an ordinary property is used\n * and the name of the property is here returned.\n * \n * The XMLMetaData property is only present when `captureMetaData`\n * is true in the options.\n */\n static getMetaDataSymbol() {\n return XmlNode.getMetaDataSymbol();\n }\n}"],"names":["root","factory","exports","module","define","amd","this","__webpack_require__","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","value","nameStartChar","regexName","RegExp","getAllMatches","string","regex","matches","match","exec","allmatches","startIndex","lastIndex","length","len","index","push","isName","DANGEROUS_PROPERTY_NAMES","criticalProperties","defaultOnDangerousProperty","name","includes","defaultOptions","preserveOrder","attributeNamePrefix","attributesGroupName","textNodeName","ignoreAttributes","removeNSPrefix","allowBooleanAttributes","parseTagValue","parseAttributeValue","trimValues","cdataPropName","numberParseOptions","hex","leadingZeros","eNotation","tagValueProcessor","tagName","val","attributeValueProcessor","attrName","stopNodes","alwaysCreateTextNode","isArray","commentPropName","unpairedTags","processEntities","htmlEntities","ignoreDeclaration","ignorePiTags","transformTagName","transformAttributeName","updateTag","jPath","attrs","captureMetaData","maxNestedTags","strictReservedNames","onDangerousProperty","validatePropertyName","propertyName","optionName","normalized","toLowerCase","some","dangerous","Error","normalizeProcessEntities","enabled","maxEntitySize","maxExpansionDepth","maxTotalExpansions","maxExpandedLength","maxEntityCount","allowedTags","tagFilter","Math","max","_value$maxEntitySize","_value$maxExpansionDe","_value$maxTotalExpans","_value$maxExpandedLen","_value$maxEntityCount","_value$allowedTags","_value$tagFilter","METADATA_SYMBOL","buildOptions","options","built","assign","_i","_propertyNameOptions","_propertyNameOptions$","Array","map","node","startsWith","substring","XmlNode","tagname","child","create","_proto","add","_this$child$push","addChild","_this$child$push2","_this$child$push3","keys","undefined","getMetaDataSymbol","DocTypeReader","suppressValidationErr","readDocType","xmlData","i","entities","entityCount","angleBracketsCount","hasBody","comment","hasSeq","entityName","_this$readEntityExp","readEntityExp","indexOf","escaped","replace","regx","readElementExp","readNotationExp","skipWhitespace","test","validateEntityName","toUpperCase","entityValue","_this$readIdentifierV","readIdentifierVal","notationName","identifierType","publicIdentifier","systemIdentifier","_this$readIdentifierV2","_this$readIdentifierV3","_this$readIdentifierV4","type","identifierVal","startChar","elementName","contentModel","trim","readAttlistExp","attributeName","attributeType","allowedNotations","notation","join","defaultValue","_this$readIdentifierV5","data","seq","j","hexRegex","numRegex","consider","decimalPoint","infinity","eNotationRegx","MUTATING_METHODS","Set","Matcher","constructor","separator","path","siblingStacks","attrValues","namespace","values","currentLevel","Map","siblings","siblingKey","counter","position","count","set","tag","pop","updateCurrent","current","getCurrentTag","getCurrentNamespace","getAttrValue","hasAttr","getPosition","getCounter","getIndex","getDepth","toString","includeNamespace","sep","n","toArray","reset","expression","segments","hasDeepWildcard","_matchWithDeepWildcard","_matchSimple","segment","isCurrentNode","_matchSegment","pathIdx","segIdx","nextSeg","found","attrValue","actualValue","String","positionValue","snapshot","restore","readOnly","Proxy","target","receiver","has","TypeError","Reflect","freeze","item","bind","_target","deleteProperty","Expression","pattern","_parse","_hasDeepWildcard","seg","_hasAttributeCondition","_hasPositionSelector","currentPart","_parseSegment","part","bracketContent","withoutBrackets","bracketMatch","content","slice","tagAndPosition","nsIndex","positionMatch","colonIndex","lastIndexOf","tagPart","posPart","eqIndex","nthMatch","parseInt","hasAttributeCondition","hasPositionSelector","extractRawAttributes","prefixedAttrs","rawAttrs","extractNamespace","rawTagName","ns","OrderedObjParser","currentNode","tagsNodeStack","docTypeEntities","lastEntities","ampEntity","_","str","fromCodePoint","addExternalEntities","parseXml","parseTextData","resolveNameSpace","buildAttributesMap","isItStopNode","replaceEntitiesValue","readStopNodeData","saveTextToParentTag","ignoreAttributesFn","_step","_iterator","_createForOfIteratorHelperLoose","done","entityExpansionCount","currentExpandedLength","matcher","readonlyMatcher","isCurrentNodeStopNode","stopNodeExpressions","stopNodeExp","externalEntities","entKeys","ent","dontTrim","hasAttributes","isLeafNode","escapeEntities","jPathOrMatcher","newval","parseValue","tags","split","prefix","charAt","attrsRegx","attrStr","rawAttrsForMatcher","oldVal","parsedVal","jPathStr","aName","sanitizeName","newVal","attrCollection","xmlObj","xmlNode","textData","docTypeReader","closeIndex","findClosingIndex","substr","lastTagName","tagData","readTagExp","childNode","tagExp","attrExpPresent","endIndex","_ref","result","_ref2","context","min","_transformTagName","lastTag","isSelfClosing","tagContent","_transformTagName2","entityConfig","_i2","_Object$keys","entity","lengthBefore","_i3","_Object$keys2","_i4","_Object$keys3","parentNode","errMsg","closingIndex","closingChar","attrBoundary","ch","tagExpWithClosingIndex","separatorIndex","search","trimStart","openTagCount","shouldParse","trimmedStr","skipLike","numStr","Number","window","parse_int","isFinite","sign","eChar","eAdjacentToLeadingZeros","resolveEnotation","numTrimmedByZeros","decimalAdjacentToLeadingZeros","num","parsedStr","isPositive","Infinity","handleInfinity","toNumber","base","codePoint","fn","newTagName","stripAttributePrefix","prettify","compress","arr","text","compressedObj","tagObj","property","propName","isLeaf","isLeafTag","assignAttributes","attrMap","atrrName","rawAttrName","propCount","isWhiteSpace","char","readPI","start","getErrorObject","getLineNumberForPosition","readCommentAndCDATA","readAttributeStr","tagClosed","validAttrStrRegxp","validateAttributeString","attrNames","getPositionFromMatch","validateAttrName","validateAmpersand","re","validateNumberAmpersand","code","message","lineNumber","err","msg","line","col","validateTagName","lines","XMLParser","parse","validationOption","tagFound","reachedRoot","tagStartPos","closingTag","attrStrStart","isValid","otg","openPos","afterAmp","JSON","stringify","t","validate","orderedObjParser","orderedResult","addEntity"],"sourceRoot":""} \ No newline at end of file diff --git a/node_modules/fast-xml-parser/lib/fxvalidator.min.js b/node_modules/fast-xml-parser/lib/fxvalidator.min.js new file mode 100644 index 0000000..5d0215b --- /dev/null +++ b/node_modules/fast-xml-parser/lib/fxvalidator.min.js @@ -0,0 +1,2 @@ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.XMLValidator=t():e.XMLValidator=t()}(this,()=>(()=>{"use strict";var e={d:(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{validate:()=>l});var r=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",n=new RegExp("^["+r+"]["+r+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),i=function(e){return!(null==n.exec(e))},a={allowBooleanAttributes:!1,unpairedTags:[]};function l(e,t){t=Object.assign({},a,t);var r=[],n=!1,i=!1;"\ufeff"===e[0]&&(e=e.substr(1));for(var l=0;l"!==e[l]&&" "!==e[l]&&"\t"!==e[l]&&"\n"!==e[l]&&"\r"!==e[l];l++)v+=e[l];if("/"===(v=v.trim())[v.length-1]&&(v=v.substring(0,v.length-1),l--),!m(v))return p("InvalidTag",0===v.trim().length?"Invalid space after '<'.":"Tag '"+v+"' is an invalid name.",F(e,l));var b=d(e,l);if(!1===b)return p("InvalidAttr","Attributes for '"+v+"' have open quote.",F(e,l));var I=b.value;if(l=b.index,"/"===I[I.length-1]){var x=l-I.length,y=c(I=I.substring(0,I.length-1),t);if(!0!==y)return p(y.err.code,y.err.msg,F(e,x+y.err.line));n=!0}else if(g){if(!b.tagClosed)return p("InvalidTag","Closing tag '"+v+"' doesn't have proper closing.",F(e,l));if(I.trim().length>0)return p("InvalidTag","Closing tag '"+v+"' can't have attributes or invalid starting.",F(e,s));if(0===r.length)return p("InvalidTag","Closing tag '"+v+"' has not been opened.",F(e,s));var A=r.pop();if(v!==A.tagName){var C=F(e,A.tagStartPos);return p("InvalidTag","Expected closing tag '"+A.tagName+"' (opened in line "+C.line+", col "+C.col+") instead of closing tag '"+v+"'.",F(e,s))}0==r.length&&(i=!0)}else{var T=c(I,t);if(!0!==T)return p(T.err.code,T.err.msg,F(e,l-I.length+T.err.line));if(!0===i)return p("InvalidXml","Multiple possible root nodes found.",F(e,l));-1!==t.unpairedTags.indexOf(v)||r.push({tagName:v,tagStartPos:s}),n=!0}for(l++;l0)||p("InvalidXml","Invalid '"+JSON.stringify(r.map(function(e){return e.tagName}),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):p("InvalidXml","Start tag expected.",1)}function o(e){return" "===e||"\t"===e||"\n"===e||"\r"===e}function u(e,t){for(var r=t;t5&&"xml"===n)return p("InvalidXml","XML declaration allowed only at the start of the document.",F(e,t));if("?"==e[t]&&">"==e[t+1]){t++;break}}return t}function f(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){var r=1;for(t+=8;t"===e[t]&&0===--r)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7])for(t+=8;t"===e[t+2]){t+=2;break}return t}var s='"',g="'";function d(e,t){for(var r="",n="",i=!1;t"===e[t]&&""===n){i=!0;break}r+=e[t]}return""===n&&{value:r,index:t,tagClosed:i}}var v=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function c(e,t){for(var r=function(e,t){for(var r=[],n=t.exec(e);n;){var i=[];i.startIndex=t.lastIndex-n[0].length;for(var a=n.length,l=0;l {\nreturn ","// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","'use strict';\n\nconst nameStartChar = ':A-Za-z_\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD';\nconst nameChar = nameStartChar + '\\\\-.\\\\d\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040';\nexport const nameRegexp = '[' + nameStartChar + '][' + nameChar + ']*';\nconst regexName = new RegExp('^' + nameRegexp + '$');\n\nexport function getAllMatches(string, regex) {\n const matches = [];\n let match = regex.exec(string);\n while (match) {\n const allmatches = [];\n allmatches.startIndex = regex.lastIndex - match[0].length;\n const len = match.length;\n for (let index = 0; index < len; index++) {\n allmatches.push(match[index]);\n }\n matches.push(allmatches);\n match = regex.exec(string);\n }\n return matches;\n}\n\nexport const isName = function (string) {\n const match = regexName.exec(string);\n return !(match === null || typeof match === 'undefined');\n}\n\nexport function isExist(v) {\n return typeof v !== 'undefined';\n}\n\nexport function isEmptyObject(obj) {\n return Object.keys(obj).length === 0;\n}\n\nexport function getValue(v) {\n if (exports.isExist(v)) {\n return v;\n } else {\n return '';\n }\n}\n\n/**\n * Dangerous property names that could lead to prototype pollution or security issues\n */\nexport const DANGEROUS_PROPERTY_NAMES = [\n // '__proto__',\n // 'constructor',\n // 'prototype',\n 'hasOwnProperty',\n 'toString',\n 'valueOf',\n '__defineGetter__',\n '__defineSetter__',\n '__lookupGetter__',\n '__lookupSetter__'\n];\n\nexport const criticalProperties = [\"__proto__\", \"constructor\", \"prototype\"];","'use strict';\n\nimport { getAllMatches, isName } from './util.js';\n\nconst defaultOptions = {\n allowBooleanAttributes: false, //A tag can have attributes without any value\n unpairedTags: []\n};\n\n//const tagsPattern = new RegExp(\"<\\\\/?([\\\\w:\\\\-_\\.]+)\\\\s*\\/?>\",\"g\");\nexport function validate(xmlData, options) {\n options = Object.assign({}, defaultOptions, options);\n\n //xmlData = xmlData.replace(/(\\r\\n|\\n|\\r)/gm,\"\");//make it single line\n //xmlData = xmlData.replace(/(^\\s*<\\?xml.*?\\?>)/g,\"\");//Remove XML starting tag\n //xmlData = xmlData.replace(/()/g,\"\");//Remove DOCTYPE\n const tags = [];\n let tagFound = false;\n\n //indicates that the root tag has been closed (aka. depth 0 has been reached)\n let reachedRoot = false;\n\n if (xmlData[0] === '\\ufeff') {\n // check for byte order mark (BOM)\n xmlData = xmlData.substr(1);\n }\n\n for (let i = 0; i < xmlData.length; i++) {\n\n if (xmlData[i] === '<' && xmlData[i + 1] === '?') {\n i += 2;\n i = readPI(xmlData, i);\n if (i.err) return i;\n } else if (xmlData[i] === '<') {\n //starting of tag\n //read until you reach to '>' avoiding any '>' in attribute value\n let tagStartPos = i;\n i++;\n\n if (xmlData[i] === '!') {\n i = readCommentAndCDATA(xmlData, i);\n continue;\n } else {\n let closingTag = false;\n if (xmlData[i] === '/') {\n //closing tag\n closingTag = true;\n i++;\n }\n //read tagname\n let tagName = '';\n for (; i < xmlData.length &&\n xmlData[i] !== '>' &&\n xmlData[i] !== ' ' &&\n xmlData[i] !== '\\t' &&\n xmlData[i] !== '\\n' &&\n xmlData[i] !== '\\r'; i++\n ) {\n tagName += xmlData[i];\n }\n tagName = tagName.trim();\n //console.log(tagName);\n\n if (tagName[tagName.length - 1] === '/') {\n //self closing tag without attributes\n tagName = tagName.substring(0, tagName.length - 1);\n //continue;\n i--;\n }\n if (!validateTagName(tagName)) {\n let msg;\n if (tagName.trim().length === 0) {\n msg = \"Invalid space after '<'.\";\n } else {\n msg = \"Tag '\" + tagName + \"' is an invalid name.\";\n }\n return getErrorObject('InvalidTag', msg, getLineNumberForPosition(xmlData, i));\n }\n\n const result = readAttributeStr(xmlData, i);\n if (result === false) {\n return getErrorObject('InvalidAttr', \"Attributes for '\" + tagName + \"' have open quote.\", getLineNumberForPosition(xmlData, i));\n }\n let attrStr = result.value;\n i = result.index;\n\n if (attrStr[attrStr.length - 1] === '/') {\n //self closing tag\n const attrStrStart = i - attrStr.length;\n attrStr = attrStr.substring(0, attrStr.length - 1);\n const isValid = validateAttributeString(attrStr, options);\n if (isValid === true) {\n tagFound = true;\n //continue; //text may presents after self closing tag\n } else {\n //the result from the nested function returns the position of the error within the attribute\n //in order to get the 'true' error line, we need to calculate the position where the attribute begins (i - attrStr.length) and then add the position within the attribute\n //this gives us the absolute index in the entire xml, which we can use to find the line at last\n return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, attrStrStart + isValid.err.line));\n }\n } else if (closingTag) {\n if (!result.tagClosed) {\n return getErrorObject('InvalidTag', \"Closing tag '\" + tagName + \"' doesn't have proper closing.\", getLineNumberForPosition(xmlData, i));\n } else if (attrStr.trim().length > 0) {\n return getErrorObject('InvalidTag', \"Closing tag '\" + tagName + \"' can't have attributes or invalid starting.\", getLineNumberForPosition(xmlData, tagStartPos));\n } else if (tags.length === 0) {\n return getErrorObject('InvalidTag', \"Closing tag '\" + tagName + \"' has not been opened.\", getLineNumberForPosition(xmlData, tagStartPos));\n } else {\n const otg = tags.pop();\n if (tagName !== otg.tagName) {\n let openPos = getLineNumberForPosition(xmlData, otg.tagStartPos);\n return getErrorObject('InvalidTag',\n \"Expected closing tag '\" + otg.tagName + \"' (opened in line \" + openPos.line + \", col \" + openPos.col + \") instead of closing tag '\" + tagName + \"'.\",\n getLineNumberForPosition(xmlData, tagStartPos));\n }\n\n //when there are no more tags, we reached the root level.\n if (tags.length == 0) {\n reachedRoot = true;\n }\n }\n } else {\n const isValid = validateAttributeString(attrStr, options);\n if (isValid !== true) {\n //the result from the nested function returns the position of the error within the attribute\n //in order to get the 'true' error line, we need to calculate the position where the attribute begins (i - attrStr.length) and then add the position within the attribute\n //this gives us the absolute index in the entire xml, which we can use to find the line at last\n return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, i - attrStr.length + isValid.err.line));\n }\n\n //if the root level has been reached before ...\n if (reachedRoot === true) {\n return getErrorObject('InvalidXml', 'Multiple possible root nodes found.', getLineNumberForPosition(xmlData, i));\n } else if (options.unpairedTags.indexOf(tagName) !== -1) {\n //don't push into stack\n } else {\n tags.push({ tagName, tagStartPos });\n }\n tagFound = true;\n }\n\n //skip tag text value\n //It may include comments and CDATA value\n for (i++; i < xmlData.length; i++) {\n if (xmlData[i] === '<') {\n if (xmlData[i + 1] === '!') {\n //comment or CADATA\n i++;\n i = readCommentAndCDATA(xmlData, i);\n continue;\n } else if (xmlData[i + 1] === '?') {\n i = readPI(xmlData, ++i);\n if (i.err) return i;\n } else {\n break;\n }\n } else if (xmlData[i] === '&') {\n const afterAmp = validateAmpersand(xmlData, i);\n if (afterAmp == -1)\n return getErrorObject('InvalidChar', \"char '&' is not expected.\", getLineNumberForPosition(xmlData, i));\n i = afterAmp;\n } else {\n if (reachedRoot === true && !isWhiteSpace(xmlData[i])) {\n return getErrorObject('InvalidXml', \"Extra text at the end\", getLineNumberForPosition(xmlData, i));\n }\n }\n } //end of reading tag text value\n if (xmlData[i] === '<') {\n i--;\n }\n }\n } else {\n if (isWhiteSpace(xmlData[i])) {\n continue;\n }\n return getErrorObject('InvalidChar', \"char '\" + xmlData[i] + \"' is not expected.\", getLineNumberForPosition(xmlData, i));\n }\n }\n\n if (!tagFound) {\n return getErrorObject('InvalidXml', 'Start tag expected.', 1);\n } else if (tags.length == 1) {\n return getErrorObject('InvalidTag', \"Unclosed tag '\" + tags[0].tagName + \"'.\", getLineNumberForPosition(xmlData, tags[0].tagStartPos));\n } else if (tags.length > 0) {\n return getErrorObject('InvalidXml', \"Invalid '\" +\n JSON.stringify(tags.map(t => t.tagName), null, 4).replace(/\\r?\\n/g, '') +\n \"' found.\", { line: 1, col: 1 });\n }\n\n return true;\n};\n\nfunction isWhiteSpace(char) {\n return char === ' ' || char === '\\t' || char === '\\n' || char === '\\r';\n}\n/**\n * Read Processing insstructions and skip\n * @param {*} xmlData\n * @param {*} i\n */\nfunction readPI(xmlData, i) {\n const start = i;\n for (; i < xmlData.length; i++) {\n if (xmlData[i] == '?' || xmlData[i] == ' ') {\n //tagname\n const tagname = xmlData.substr(start, i - start);\n if (i > 5 && tagname === 'xml') {\n return getErrorObject('InvalidXml', 'XML declaration allowed only at the start of the document.', getLineNumberForPosition(xmlData, i));\n } else if (xmlData[i] == '?' && xmlData[i + 1] == '>') {\n //check if valid attribut string\n i++;\n break;\n } else {\n continue;\n }\n }\n }\n return i;\n}\n\nfunction readCommentAndCDATA(xmlData, i) {\n if (xmlData.length > i + 5 && xmlData[i + 1] === '-' && xmlData[i + 2] === '-') {\n //comment\n for (i += 3; i < xmlData.length; i++) {\n if (xmlData[i] === '-' && xmlData[i + 1] === '-' && xmlData[i + 2] === '>') {\n i += 2;\n break;\n }\n }\n } else if (\n xmlData.length > i + 8 &&\n xmlData[i + 1] === 'D' &&\n xmlData[i + 2] === 'O' &&\n xmlData[i + 3] === 'C' &&\n xmlData[i + 4] === 'T' &&\n xmlData[i + 5] === 'Y' &&\n xmlData[i + 6] === 'P' &&\n xmlData[i + 7] === 'E'\n ) {\n let angleBracketsCount = 1;\n for (i += 8; i < xmlData.length; i++) {\n if (xmlData[i] === '<') {\n angleBracketsCount++;\n } else if (xmlData[i] === '>') {\n angleBracketsCount--;\n if (angleBracketsCount === 0) {\n break;\n }\n }\n }\n } else if (\n xmlData.length > i + 9 &&\n xmlData[i + 1] === '[' &&\n xmlData[i + 2] === 'C' &&\n xmlData[i + 3] === 'D' &&\n xmlData[i + 4] === 'A' &&\n xmlData[i + 5] === 'T' &&\n xmlData[i + 6] === 'A' &&\n xmlData[i + 7] === '['\n ) {\n for (i += 8; i < xmlData.length; i++) {\n if (xmlData[i] === ']' && xmlData[i + 1] === ']' && xmlData[i + 2] === '>') {\n i += 2;\n break;\n }\n }\n }\n\n return i;\n}\n\nconst doubleQuote = '\"';\nconst singleQuote = \"'\";\n\n/**\n * Keep reading xmlData until '<' is found outside the attribute value.\n * @param {string} xmlData\n * @param {number} i\n */\nfunction readAttributeStr(xmlData, i) {\n let attrStr = '';\n let startChar = '';\n let tagClosed = false;\n for (; i < xmlData.length; i++) {\n if (xmlData[i] === doubleQuote || xmlData[i] === singleQuote) {\n if (startChar === '') {\n startChar = xmlData[i];\n } else if (startChar !== xmlData[i]) {\n //if vaue is enclosed with double quote then single quotes are allowed inside the value and vice versa\n } else {\n startChar = '';\n }\n } else if (xmlData[i] === '>') {\n if (startChar === '') {\n tagClosed = true;\n break;\n }\n }\n attrStr += xmlData[i];\n }\n if (startChar !== '') {\n return false;\n }\n\n return {\n value: attrStr,\n index: i,\n tagClosed: tagClosed\n };\n}\n\n/**\n * Select all the attributes whether valid or invalid.\n */\nconst validAttrStrRegxp = new RegExp('(\\\\s*)([^\\\\s=]+)(\\\\s*=)?(\\\\s*([\\'\"])(([\\\\s\\\\S])*?)\\\\5)?', 'g');\n\n//attr, =\"sd\", a=\"amit's\", a=\"sd\"b=\"saf\", ab cd=\"\"\n\nfunction validateAttributeString(attrStr, options) {\n //console.log(\"start:\"+attrStr+\":end\");\n\n //if(attrStr.trim().length === 0) return true; //empty string\n\n const matches = getAllMatches(attrStr, validAttrStrRegxp);\n const attrNames = {};\n\n for (let i = 0; i < matches.length; i++) {\n if (matches[i][1].length === 0) {\n //nospace before attribute name: a=\"sd\"b=\"saf\"\n return getErrorObject('InvalidAttr', \"Attribute '\" + matches[i][2] + \"' has no space in starting.\", getPositionFromMatch(matches[i]))\n } else if (matches[i][3] !== undefined && matches[i][4] === undefined) {\n return getErrorObject('InvalidAttr', \"Attribute '\" + matches[i][2] + \"' is without value.\", getPositionFromMatch(matches[i]));\n } else if (matches[i][3] === undefined && !options.allowBooleanAttributes) {\n //independent attribute: ab\n return getErrorObject('InvalidAttr', \"boolean attribute '\" + matches[i][2] + \"' is not allowed.\", getPositionFromMatch(matches[i]));\n }\n /* else if(matches[i][6] === undefined){//attribute without value: ab=\n return { err: { code:\"InvalidAttr\",msg:\"attribute \" + matches[i][2] + \" has no value assigned.\"}};\n } */\n const attrName = matches[i][2];\n if (!validateAttrName(attrName)) {\n return getErrorObject('InvalidAttr', \"Attribute '\" + attrName + \"' is an invalid name.\", getPositionFromMatch(matches[i]));\n }\n if (!Object.prototype.hasOwnProperty.call(attrNames, attrName)) {\n //check for duplicate attribute.\n attrNames[attrName] = 1;\n } else {\n return getErrorObject('InvalidAttr', \"Attribute '\" + attrName + \"' is repeated.\", getPositionFromMatch(matches[i]));\n }\n }\n\n return true;\n}\n\nfunction validateNumberAmpersand(xmlData, i) {\n let re = /\\d/;\n if (xmlData[i] === 'x') {\n i++;\n re = /[\\da-fA-F]/;\n }\n for (; i < xmlData.length; i++) {\n if (xmlData[i] === ';')\n return i;\n if (!xmlData[i].match(re))\n break;\n }\n return -1;\n}\n\nfunction validateAmpersand(xmlData, i) {\n // https://www.w3.org/TR/xml/#dt-charref\n i++;\n if (xmlData[i] === ';')\n return -1;\n if (xmlData[i] === '#') {\n i++;\n return validateNumberAmpersand(xmlData, i);\n }\n let count = 0;\n for (; i < xmlData.length; i++, count++) {\n if (xmlData[i].match(/\\w/) && count < 20)\n continue;\n if (xmlData[i] === ';')\n break;\n return -1;\n }\n return i;\n}\n\nfunction getErrorObject(code, message, lineNumber) {\n return {\n err: {\n code: code,\n msg: message,\n line: lineNumber.line || lineNumber,\n col: lineNumber.col,\n },\n };\n}\n\nfunction validateAttrName(attrName) {\n return isName(attrName);\n}\n\n// const startsWithXML = /^xml/i;\n\nfunction validateTagName(tagname) {\n return isName(tagname) /* && !tagname.match(startsWithXML) */;\n}\n\n//this function returns the line number for the character at the given index\nfunction getLineNumberForPosition(xmlData, index) {\n const lines = xmlData.substring(0, index).split(/\\r?\\n/);\n return {\n line: lines.length,\n\n // column number is last line's length + 1, because column numbering starts at 1:\n col: lines[lines.length - 1].length + 1\n };\n}\n\n//this function returns the position of the first character of match within attrStr\nfunction getPositionFromMatch(match) {\n return match.startIndex + match[1].length;\n}\n"],"names":["root","factory","exports","module","define","amd","this","__webpack_require__","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","value","nameStartChar","regexName","RegExp","isName","string","exec","defaultOptions","allowBooleanAttributes","unpairedTags","validate","xmlData","options","assign","tags","tagFound","reachedRoot","substr","i","length","readPI","err","isWhiteSpace","getErrorObject","getLineNumberForPosition","tagStartPos","readCommentAndCDATA","closingTag","tagName","trim","substring","validateTagName","result","readAttributeStr","attrStr","index","attrStrStart","isValid","validateAttributeString","code","msg","line","tagClosed","otg","pop","openPos","col","indexOf","push","afterAmp","validateAmpersand","JSON","stringify","map","t","replace","char","start","tagname","angleBracketsCount","doubleQuote","singleQuote","startChar","validAttrStrRegxp","matches","regex","match","allmatches","startIndex","lastIndex","len","getAllMatches","attrNames","getPositionFromMatch","undefined","attrName","validateAttrName","re","validateNumberAmpersand","count","message","lineNumber","lines","split"],"sourceRoot":""} \ No newline at end of file diff --git a/node_modules/fast-xml-parser/lib/pem.d.cts b/node_modules/fast-xml-parser/lib/pem.d.cts new file mode 100644 index 0000000..0c88b42 --- /dev/null +++ b/node_modules/fast-xml-parser/lib/pem.d.cts @@ -0,0 +1,148 @@ +/** + * Types copied from path-expression-matcher + * @version + * @updated + * + * Update this file when path-expression-matcher releases a new version. + * Source: https://github.com/NaturalIntelligence/path-expression-matcher + */ + +/** + * Options for creating an Expression + */ +interface ExpressionOptions { + /** + * Path separator character + * @default '.' + */ + separator?: string; +} + +/** + * Parsed segment from an expression pattern + */ +interface Segment { + type: 'tag' | 'deep-wildcard'; + tag?: string; + namespace?: string; + attrName?: string; + attrValue?: string; + position?: 'first' | 'last' | 'odd' | 'even' | 'nth'; + positionValue?: number; +} + +/** + * Expression - Parses and stores a tag pattern expression. + * Patterns are parsed once and stored in an optimized structure for fast matching. + * + * @example + * ```typescript + * const expr = new Expression("root.users.user"); + * const expr2 = new Expression("..user[id]:first"); + * const expr3 = new Expression("root/users/user", { separator: '/' }); + * ``` + * + * Pattern Syntax: + * - `root.users.user` — Match exact path + * - `..user` — Match "user" at any depth (deep wildcard) + * - `user[id]` — Match user tag with "id" attribute + * - `user[id=123]` — Match user tag where id="123" + * - `user:first` — Match first occurrence of user tag + * - `ns::user` — Match user tag with namespace "ns" + * - `ns::user[id]:first` — Combine namespace, attribute, and position + */ +declare class Expression { + readonly pattern: string; + readonly separator: string; + readonly segments: Segment[]; + + constructor(pattern: string, options?: ExpressionOptions); + + get length(): number; + hasDeepWildcard(): boolean; + hasAttributeCondition(): boolean; + hasPositionSelector(): boolean; + toString(): string; +} + +// --------------------------------------------------------------------------- +// ReadonlyMatcher +// --------------------------------------------------------------------------- + +/** + * A live read-only view of a Matcher instance, returned by Matcher.readOnly(). + * + * All query and inspection methods work normally and always reflect the current + * state of the underlying matcher. State-mutating methods (`push`, `pop`, + * `reset`, `updateCurrent`, `restore`) are not present — calling them on the + * underlying Proxy throws a `TypeError` at runtime. + * + * This is the type received by all FXP user callbacks when `jPath: false`. + */ +interface ReadonlyMatcher { + readonly separator: string; + + /** Check if current path matches an Expression. */ + matches(expression: Expression): boolean; + + /** Get current tag name, or `undefined` if path is empty. */ + getCurrentTag(): string | undefined; + + /** Get current namespace, or `undefined` if not present. */ + getCurrentNamespace(): string | undefined; + + /** Get attribute value of the current node. */ + getAttrValue(attrName: string): any; + + /** Check if the current node has a given attribute. */ + hasAttr(attrName: string): boolean; + + /** Sibling position of the current node (child index in parent). */ + getPosition(): number; + + /** Occurrence counter of the current tag name at this level. */ + getCounter(): number; + + /** Number of nodes in the current path. */ + getDepth(): number; + + /** Current path as a string (e.g. `"root.users.user"`). */ + toString(separator?: string, includeNamespace?: boolean): string; + + /** Current path as an array of tag names. */ + toArray(): string[]; + + /** + * Create a snapshot of the current state. + * The snapshot can be passed to the real Matcher.restore() if needed. + */ + snapshot(): MatcherSnapshot; +} + +/** Internal node structure — exposed via snapshot only. */ +interface PathNode { + tag: string; + namespace?: string; + position: number; + counter: number; + values?: Record; +} + +/** Snapshot of matcher state returned by `snapshot()` and `readOnly().snapshot()`. */ +interface MatcherSnapshot { + path: PathNode[]; + siblingStacks: Map[]; +} + +declare namespace pem { + export { + Expression, + ExpressionOptions, + Segment, + ReadonlyMatcher, + PathNode, + MatcherSnapshot, + } +} + +export = pem; \ No newline at end of file diff --git a/node_modules/fast-xml-parser/package.json b/node_modules/fast-xml-parser/package.json new file mode 100644 index 0000000..23c4d1e --- /dev/null +++ b/node_modules/fast-xml-parser/package.json @@ -0,0 +1,94 @@ +{ + "name": "fast-xml-parser", + "version": "5.5.8", + "description": "Validate XML, Parse XML, Build XML without C/C++ based libraries", + "main": "./lib/fxp.cjs", + "type": "module", + "sideEffects": false, + "module": "./src/fxp.js", + "types": "./src/fxp.d.ts", + "exports": { + ".": { + "import": { + "types": "./src/fxp.d.ts", + "default": "./src/fxp.js" + }, + "require": { + "types": "./lib/fxp.d.cts", + "default": "./lib/fxp.cjs" + } + } + }, + "scripts": { + "test": "c8 --reporter=lcov --reporter=text jasmine spec/*spec.js", + "test-types": "tsc --noEmit spec/typings/typings-test.ts", + "unit": "jasmine", + "coverage": "nyc report --reporter html --reporter text -t .nyc_output --report-dir .nyc_output/summary", + "perf": "node ./benchmark/perfTest3.js", + "lint": "eslint src/**/*.js spec/**/*.js benchmark/**/*.js", + "bundle": "webpack --config webpack.cjs.config.js", + "prettier": "prettier --write src/**/*.js", + "checkReadiness": "publish-please --dry-run", + "publish-please": "publish-please", + "prepublishOnly": "publish-please guard" + }, + "bin": { + "fxparser": "src/cli/cli.js" + }, + "files": [ + "lib", + "src", + "CHANGELOG.md" + ], + "repository": { + "type": "git", + "url": "git+https://github.com/NaturalIntelligence/fast-xml-parser.git" + }, + "keywords": [ + "fast", + "xml", + "json", + "parser", + "xml2js", + "x2js", + "xml2json", + "js", + "validator", + "validate", + "transformer", + "assert", + "js2xml", + "json2xml", + "html" + ], + "author": "Amit Gupta (https://solothought.com)", + "license": "MIT", + "devDependencies": { + "@babel/core": "^7.13.10", + "@babel/plugin-transform-runtime": "^7.13.10", + "@babel/preset-env": "^7.13.10", + "@babel/register": "^7.13.8", + "@types/node": "20", + "babel-loader": "^8.2.2", + "c8": "^10.1.3", + "eslint": "^8.3.0", + "he": "^1.2.0", + "jasmine": "^5.6.0", + "prettier": "^3.5.1", + "publish-please": "^5.5.2", + "typescript": "5", + "webpack": "^5.64.4", + "webpack-cli": "^4.9.1" + }, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "dependencies": { + "fast-xml-builder": "^1.1.4", + "path-expression-matcher": "^1.2.0", + "strnum": "^2.2.0" + } +} \ No newline at end of file diff --git a/node_modules/fast-xml-parser/src/cli/cli.js b/node_modules/fast-xml-parser/src/cli/cli.js new file mode 100644 index 0000000..b4773e4 --- /dev/null +++ b/node_modules/fast-xml-parser/src/cli/cli.js @@ -0,0 +1,97 @@ +#!/usr/bin/env node +'use strict'; +/*eslint-disable no-console*/ +import fs from 'fs'; +import { resolve } from 'path'; +import {XMLParser, XMLValidator} from "../fxp.js"; +import ReadToEnd from './read.js'; +import cmdDetail from "./man.js" + +console.warn("\x1b[33m%s\x1b[0m", "⚠️ Warning: The built-in CLI interface is now deprecated."); +console.warn("Please install the dedicated CLI package instead:"); +console.warn(" npm install -g fxp-cli"); + +if (process.argv[2] === '--help' || process.argv[2] === '-h') { + console.log(cmdDetail); +} else if (process.argv[2] === '--version') { + const packageJsonPath = resolve(process.cwd(), 'package.json'); + const version = JSON.parse(fs.readFileSync(packageJsonPath).toString()).version; + console.log(version); +} else { + const options = { + removeNSPrefix: true, + ignoreAttributes: false, + parseTagValue: true, + parseAttributeValue: true, + }; + let fileName = ''; + let outputFileName; + let validate = false; + let validateOnly = false; + for (let i = 2; i < process.argv.length; i++) { + if (process.argv[i] === '-ns') { + options.removeNSPrefix = false; + } else if (process.argv[i] === '-a') { + options.ignoreAttributes = true; + } else if (process.argv[i] === '-c') { + options.parseTagValue = false; + options.parseAttributeValue = false; + } else if (process.argv[i] === '-o') { + outputFileName = process.argv[++i]; + } else if (process.argv[i] === '-v') { + validate = true; + } else if (process.argv[i] === '-V') { + validateOnly = true; + } else { + //filename + fileName = process.argv[i]; + } + } + + const callback = function(xmlData) { + let output = ''; + if (validateOnly) { + output = XMLValidator.validate(xmlData); + process.exitCode = output === true ? 0 : 1; + } else { + const parser = new XMLParser(options); + output = JSON.stringify(parser.parse(xmlData,validate), null, 4); + } + if (outputFileName) { + writeToFile(outputFileName, output); + } else { + console.log(output); + } + }; + + + try { + + if (!fileName) { + ReadToEnd.readToEnd(process.stdin, function(err, data) { + if (err) { + throw err; + } + callback(data.toString()); + }); + } else { + fs.readFile(fileName, function(err, data) { + if (err) { + throw err; + } + callback(data.toString()); + }); + } + } catch (e) { + console.log('Seems an invalid file or stream.' + e); + } +} + +function writeToFile(fileName, data) { + fs.writeFile(fileName, data, function(err) { + if (err) { + throw err; + } + console.log('JSON output has been written to ' + fileName); + }); +} diff --git a/node_modules/fast-xml-parser/src/cli/man.js b/node_modules/fast-xml-parser/src/cli/man.js new file mode 100644 index 0000000..418ea3d --- /dev/null +++ b/node_modules/fast-xml-parser/src/cli/man.js @@ -0,0 +1,17 @@ +import fs from 'fs'; +import { resolve } from 'path'; +const packageJsonPath = resolve(process.cwd(), 'package.json'); +const version = JSON.parse(fs.readFileSync(packageJsonPath).toString()).version; + +export default `Fast XML Parser ${version} +---------------- +$ fxparser [-ns|-a|-c|-v|-V] [-o outputfile.json] +$ cat xmlfile.xml | fxparser [-ns|-a|-c|-v|-V] [-o outputfile.json] + +Options +---------------- +-ns: remove namespace from tag and atrribute name. +-a: don't parse attributes. +-c: parse values to premitive type. +-v: validate before parsing. +-V: validate only.` \ No newline at end of file diff --git a/node_modules/fast-xml-parser/src/cli/read.js b/node_modules/fast-xml-parser/src/cli/read.js new file mode 100644 index 0000000..99a2066 --- /dev/null +++ b/node_modules/fast-xml-parser/src/cli/read.js @@ -0,0 +1,43 @@ +'use strict'; + +import { Transform } from 'stream'; + +export default class ReadToEnd extends Transform { + constructor(options = {}) { + super(options); + this._encoding = options.encoding || 'utf8'; + this._buffer = ''; + } + + _transform(chunk, encoding, done) { + this._buffer += chunk.toString(this._encoding); + this.push(chunk); + done(); + } + + _flush(done) { + this.emit('complete', null, this._buffer); + done(); + } + + static readToEnd(stream, options, callback) { + if (typeof options === 'function') { + callback = options; + options = {}; + } + + const dest = new ReadToEnd(options); + + stream.pipe(dest); + + stream.on('error', (err) => { + stream.unpipe(dest); + callback(err); + }); + + dest.on('complete', callback); + dest.resume(); + + return dest; + } +} \ No newline at end of file diff --git a/node_modules/fast-xml-parser/src/fxp.d.ts b/node_modules/fast-xml-parser/src/fxp.d.ts new file mode 100644 index 0000000..05e38de --- /dev/null +++ b/node_modules/fast-xml-parser/src/fxp.d.ts @@ -0,0 +1,579 @@ +import type { Expression, ReadonlyMatcher } from './pem'; + +// jPath: true → string +// jPath: false → ReadonlyMatcher +type JPathOrMatcher = string | ReadonlyMatcher; +type JPathOrExpression = string | Expression; + +export type ProcessEntitiesOptions = { + /** + * Whether to enable entity processing + * + * Defaults to `true` + */ + enabled?: boolean; + + /** + * Maximum size in characters for a single entity definition + * + * Defaults to `10000` + */ + maxEntitySize?: number; + + /** + * Maximum depth for nested entity references (reserved for future use) + * + * Defaults to `10` + */ + maxExpansionDepth?: number; + + /** + * Maximum total number of entity expansions allowed + * + * Defaults to `1000` + */ + maxTotalExpansions?: number; + + /** + * Maximum total expanded content length in characters + * + * Defaults to `100000` + */ + maxExpandedLength?: number; + + /** + * Maximum number of entities allowed in the XML + * + * Defaults to `100` + */ + maxEntityCount?: number; + + /** + * Array of tag names where entity replacement is allowed. + * If null, entities are replaced in all tags. + * + * Defaults to `null` + */ + allowedTags?: string[] | null; + + /** + * Custom filter function to determine if entities should be replaced in a tag + * + * @param tagName - The name of the current tag + * @param jPathOrMatcher - The jPath string (if jPath: true) or Matcher instance (if jPath: false) + * @returns `true` to allow entity replacement, `false` to skip + * + * Defaults to `null` + */ + tagFilter?: ((tagName: string, jPathOrMatcher: JPathOrMatcher) => boolean) | null; +}; + +export type X2jOptions = { + /** + * Preserve the order of tags in resulting JS object + * + * Defaults to `false` + */ + preserveOrder?: boolean; + + /** + * Give a prefix to the attribute name in the resulting JS object + * + * Defaults to '@_' + */ + attributeNamePrefix?: string; + + /** + * A name to group all attributes of a tag under, or `false` to disable + * + * Defaults to `false` + */ + attributesGroupName?: false | string; + + /** + * The name of the next node in the resulting JS + * + * Defaults to `#text` + */ + textNodeName?: string; + + /** + * Whether to ignore attributes when parsing + * + * When `true` - ignores all the attributes + * + * When `false` - parses all the attributes + * + * When `Array` - filters out attributes that match provided patterns + * + * When `Function` - calls the function for each attribute and filters out those for which the function returned `true` + * + * Defaults to `true` + */ + ignoreAttributes?: boolean | (string | RegExp)[] | ((attrName: string, jPathOrMatcher: JPathOrMatcher) => boolean); + + /** + * Whether to remove namespace string from tag and attribute names + * + * Defaults to `false` + */ + removeNSPrefix?: boolean; + + /** + * Whether to allow attributes without value + * + * Defaults to `false` + */ + allowBooleanAttributes?: boolean; + + /** + * Whether to parse tag value with `strnum` package + * + * Defaults to `true` + */ + parseTagValue?: boolean; + + /** + * Whether to parse attribute value with `strnum` package + * + * Defaults to `false` + */ + parseAttributeValue?: boolean; + + /** + * Whether to remove surrounding whitespace from tag or attribute value + * + * Defaults to `true` + */ + trimValues?: boolean; + + /** + * Give a property name to set CDATA values to instead of merging to tag's text value + * + * Defaults to `false` + */ + cdataPropName?: false | string; + + /** + * If set, parse comments and set as this property + * + * Defaults to `false` + */ + commentPropName?: false | string; + + /** + * Control how tag value should be parsed. Called only if tag value is not empty + * + * @param tagName - The name of the tag + * @param tagValue - The value of the tag + * @param jPathOrMatcher - The jPath string (if jPath: true) or Matcher instance (if jPath: false) + * @param hasAttributes - Whether the tag has attributes + * @param isLeafNode - Whether the tag is a leaf node + * @returns {undefined|null} `undefined` or `null` to set original value. + * @returns {unknown} + * + * 1. Different value or value with different data type to set new value. + * 2. Same value to set parsed value if `parseTagValue: true`. + * + * Defaults to `(tagName, val, jPathOrMatcher, hasAttributes, isLeafNode) => val` + */ + tagValueProcessor?: (tagName: string, tagValue: string, jPathOrMatcher: JPathOrMatcher, hasAttributes: boolean, isLeafNode: boolean) => unknown; + + /** + * Control how attribute value should be parsed + * + * @param attrName - The name of the attribute + * @param attrValue - The value of the attribute + * @param jPathOrMatcher - The jPath string (if jPath: true) or Matcher instance (if jPath: false) + * @returns {undefined|null} `undefined` or `null` to set original value + * @returns {unknown} + * + * Defaults to `(attrName, val, jPathOrMatcher) => val` + */ + attributeValueProcessor?: (attrName: string, attrValue: string, jPathOrMatcher: JPathOrMatcher) => unknown; + + /** + * Options to pass to `strnum` for parsing numbers + * + * Defaults to `{ hex: true, leadingZeros: true, eNotation: true }` + */ + numberParseOptions?: strnumOptions; + + /** + * Nodes to stop parsing at + * + * Accepts string patterns or Expression objects from path-expression-matcher + * + * String patterns starting with "*." are automatically converted to ".." for backward compatibility + * + * Defaults to `[]` + */ + stopNodes?: JPathOrExpression[]; + + /** + * List of tags without closing tags + * + * Defaults to `[]` + */ + unpairedTags?: string[]; + + /** + * Whether to always create a text node + * + * Defaults to `false` + */ + alwaysCreateTextNode?: boolean; + + /** + * Determine whether a tag should be parsed as an array + * + * @param tagName - The name of the tag + * @param jPathOrMatcher - The jPath string (if jPath: true) or Matcher instance (if jPath: false) + * @param isLeafNode - Whether the tag is a leaf node + * @param isAttribute - Whether this is an attribute + * @returns {boolean} + * + * Defaults to `() => false` + */ + isArray?: (tagName: string, jPathOrMatcher: JPathOrMatcher, isLeafNode: boolean, isAttribute: boolean) => boolean; + + /** + * Whether to process default and DOCTYPE entities + * + * When `true` - enables entity processing with default limits + * + * When `false` - disables all entity processing + * + * When `ProcessEntitiesOptions` - enables entity processing with custom configuration + * + * Defaults to `true` + */ + processEntities?: boolean | ProcessEntitiesOptions; + + /** + * Whether to process HTML entities + * + * Defaults to `false` + */ + htmlEntities?: boolean; + + /** + * Whether to ignore the declaration tag from output + * + * Defaults to `false` + */ + ignoreDeclaration?: boolean; + + /** + * Whether to ignore Pi tags + * + * Defaults to `false` + */ + ignorePiTags?: boolean; + + /** + * Transform tag names + * + * Defaults to `false` + */ + transformTagName?: ((tagName: string) => string) | false; + + /** + * Transform attribute names + * + * Defaults to `false` + */ + transformAttributeName?: ((attributeName: string) => string) | false; + + /** + * Change the tag name when a different name is returned. Skip the tag from parsed result when false is returned. + * Modify `attrs` object to control attributes for the given tag. + * + * @param tagName - The name of the tag + * @param jPathOrMatcher - The jPath string (if jPath: true) or Matcher instance (if jPath: false) + * @param attrs - The attributes object + * @returns {string} new tag name. + * @returns false to skip the tag + * + * Defaults to `(tagName, jPathOrMatcher, attrs) => tagName` + */ + updateTag?: (tagName: string, jPathOrMatcher: JPathOrMatcher, attrs: { [k: string]: string }) => string | boolean; + + /** + * If true, adds a Symbol to all object nodes, accessible by {@link XMLParser.getMetaDataSymbol} with + * metadata about each the node in the XML file. + */ + captureMetaData?: boolean; + + /** + * Maximum number of nested tags + * + * Defaults to `100` + */ + maxNestedTags?: number; + + /** + * Whether to strictly validate tag names + * + * Defaults to `true` + */ + strictReservedNames?: boolean; + + /** + * Controls whether callbacks receive jPath as string or Matcher instance + * + * When `true` - callbacks receive jPath as string (backward compatible) + * + * When `false` - callbacks receive Matcher instance for advanced pattern matching + * + * Defaults to `true` + */ + jPath?: boolean; + + /** + * Function to sanitize dangerous property names + * + * @param name - The name of the property + * @returns {string} The sanitized name + * + * Defaults to `(name) => __name` + */ + onDangerousProperty?: (name: string) => string; +}; + + + +export type strnumOptions = { + hex: boolean; + leadingZeros: boolean, + skipLike?: RegExp, + eNotation?: boolean +} + +export type validationOptions = { + /** + * Whether to allow attributes without value + * + * Defaults to `false` + */ + allowBooleanAttributes?: boolean; + + /** + * List of tags without closing tags + * + * Defaults to `[]` + */ + unpairedTags?: string[]; +}; + +export type XmlBuilderOptions = { + /** + * Give a prefix to the attribute name in the resulting JS object + * + * Defaults to '@_' + */ + attributeNamePrefix?: string; + + /** + * A name to group all attributes of a tag under, or `false` to disable + * + * Defaults to `false` + */ + attributesGroupName?: false | string; + + /** + * The name of the next node in the resulting JS + * + * Defaults to `#text` + */ + textNodeName?: string; + + /** + * Whether to ignore attributes when building + * + * When `true` - ignores all the attributes + * + * When `false` - builds all the attributes + * + * When `Array` - filters out attributes that match provided patterns + * + * When `Function` - calls the function for each attribute and filters out those for which the function returned `true` + * + * Defaults to `true` + */ + ignoreAttributes?: boolean | (string | RegExp)[] | ((attrName: string, jPath: string) => boolean); + + /** + * Give a property name to set CDATA values to instead of merging to tag's text value + * + * Defaults to `false` + */ + cdataPropName?: false | string; + + /** + * If set, parse comments and set as this property + * + * Defaults to `false` + */ + commentPropName?: false | string; + + /** + * Whether to make output pretty instead of single line + * + * Defaults to `false` + */ + format?: boolean; + + + /** + * If `format` is set to `true`, sets the indent string + * + * Defaults to ` ` + */ + indentBy?: string; + + /** + * Give a name to a top-level array + * + * Defaults to `undefined` + */ + arrayNodeName?: string; + + /** + * Create empty tags for tags with no text value + * + * Defaults to `false` + */ + suppressEmptyNode?: boolean; + + /** + * Suppress an unpaired tag + * + * Defaults to `true` + */ + suppressUnpairedNode?: boolean; + + /** + * Don't put a value for boolean attributes + * + * Defaults to `true` + */ + suppressBooleanAttributes?: boolean; + + /** + * Preserve the order of tags in resulting JS object + * + * Defaults to `false` + */ + preserveOrder?: boolean; + + /** + * List of tags without closing tags + * + * Defaults to `[]` + */ + unpairedTags?: string[]; + + /** + * Nodes to stop parsing at + * + * Accepts string patterns or Expression objects from path-expression-matcher + * + * Defaults to `[]` + */ + stopNodes?: JPathOrExpression[]; + + /** + * Control how tag value should be parsed. Called only if tag value is not empty + * + * @returns {undefined|null} `undefined` or `null` to set original value. + * @returns {unknown} + * + * 1. Different value or value with different data type to set new value. + * 2. Same value to set parsed value if `parseTagValue: true`. + * + * Defaults to `(tagName, val, jPath, hasAttributes, isLeafNode) => val` + */ + tagValueProcessor?: (name: string, value: unknown) => unknown; + + /** + * Control how attribute value should be parsed + * + * @param attrName + * @param attrValue + * @param jPath + * @returns {undefined|null} `undefined` or `null` to set original value + * @returns {unknown} + * + * Defaults to `(attrName, val, jPath) => val` + */ + attributeValueProcessor?: (name: string, value: unknown) => unknown; + + /** + * Whether to process default and DOCTYPE entities + * + * Defaults to `true` + */ + processEntities?: boolean; + + + oneListGroup?: boolean; + + /** + * Maximum number of nested tags + * + * Defaults to `100` + */ + maxNestedTags?: number; +}; + +type ESchema = string | object | Array; + +export type ValidationError = { + err: { + code: string; + msg: string, + line: number, + col: number + }; +}; + +export class XMLParser { + constructor(options?: X2jOptions); + parse(xmlData: string | Uint8Array, validationOptions?: validationOptions | boolean): any; + /** + * Add Entity which is not by default supported by this library + * @param entityIdentifier {string} Eg: 'ent' for &ent; + * @param entityValue {string} Eg: '\r' + */ + addEntity(entityIdentifier: string, entityValue: string): void; + + /** + * Returns a Symbol that can be used to access the {@link XMLMetaData} + * property on a node. + * + * If Symbol is not available in the environment, an ordinary property is used + * and the name of the property is here returned. + * + * The XMLMetaData property is only present when {@link X2jOptions.captureMetaData} + * is true in the options. + */ + static getMetaDataSymbol(): Symbol; +} + +export class XMLValidator { + static validate(xmlData: string, options?: validationOptions): true | ValidationError; +} +export class XMLBuilder { + constructor(options?: XmlBuilderOptions); + build(jObj: any): string; +} + +/** + * This object is available on nodes via the symbol {@link XMLParser.getMetaDataSymbol} + * when {@link X2jOptions.captureMetaData} is true. + */ +export interface XMLMetaData { + /** The index, if available, of the character where the XML node began in the input stream. */ + startIndex?: number; +} \ No newline at end of file diff --git a/node_modules/fast-xml-parser/src/fxp.js b/node_modules/fast-xml-parser/src/fxp.js new file mode 100644 index 0000000..470ed56 --- /dev/null +++ b/node_modules/fast-xml-parser/src/fxp.js @@ -0,0 +1,14 @@ +'use strict'; + +import { validate } from './validator.js'; +import XMLParser from './xmlparser/XMLParser.js'; +import XMLBuilder from './xmlbuilder/json2xml.js'; + +const XMLValidator = { + validate: validate +} +export { + XMLParser, + XMLValidator, + XMLBuilder +}; \ No newline at end of file diff --git a/node_modules/fast-xml-parser/src/ignoreAttributes.js b/node_modules/fast-xml-parser/src/ignoreAttributes.js new file mode 100644 index 0000000..bdec0a6 --- /dev/null +++ b/node_modules/fast-xml-parser/src/ignoreAttributes.js @@ -0,0 +1,18 @@ +export default function getIgnoreAttributesFn(ignoreAttributes) { + if (typeof ignoreAttributes === 'function') { + return ignoreAttributes + } + if (Array.isArray(ignoreAttributes)) { + return (attrName) => { + for (const pattern of ignoreAttributes) { + if (typeof pattern === 'string' && attrName === pattern) { + return true + } + if (pattern instanceof RegExp && pattern.test(attrName)) { + return true + } + } + } + } + return () => false +} \ No newline at end of file diff --git a/node_modules/fast-xml-parser/src/pem.d.ts b/node_modules/fast-xml-parser/src/pem.d.ts new file mode 100644 index 0000000..74203b6 --- /dev/null +++ b/node_modules/fast-xml-parser/src/pem.d.ts @@ -0,0 +1,135 @@ +/** + * Types copied from path-expression-matcher + * @version + * @updated + * + * Update this file when path-expression-matcher releases a new version. + * Source: https://github.com/NaturalIntelligence/path-expression-matcher + */ + +/** + * Options for creating an Expression + */ +export interface ExpressionOptions { + /** + * Path separator character + * @default '.' + */ + separator?: string; +} + +/** + * Parsed segment from an expression pattern + */ +export interface Segment { + type: 'tag' | 'deep-wildcard'; + tag?: string; + namespace?: string; + attrName?: string; + attrValue?: string; + position?: 'first' | 'last' | 'odd' | 'even' | 'nth'; + positionValue?: number; +} + +/** + * Expression - Parses and stores a tag pattern expression. + * Patterns are parsed once and stored in an optimized structure for fast matching. + * + * @example + * ```typescript + * const expr = new Expression("root.users.user"); + * const expr2 = new Expression("..user[id]:first"); + * const expr3 = new Expression("root/users/user", { separator: '/' }); + * ``` + * + * Pattern Syntax: + * - `root.users.user` — Match exact path + * - `..user` — Match "user" at any depth (deep wildcard) + * - `user[id]` — Match user tag with "id" attribute + * - `user[id=123]` — Match user tag where id="123" + * - `user:first` — Match first occurrence of user tag + * - `ns::user` — Match user tag with namespace "ns" + * - `ns::user[id]:first` — Combine namespace, attribute, and position + */ +export class Expression { + readonly pattern: string; + readonly separator: string; + readonly segments: Segment[]; + + constructor(pattern: string, options?: ExpressionOptions); + + get length(): number; + hasDeepWildcard(): boolean; + hasAttributeCondition(): boolean; + hasPositionSelector(): boolean; + toString(): string; +} + +// --------------------------------------------------------------------------- +// ReadonlyMatcher +// --------------------------------------------------------------------------- + +/** + * A live read-only view of a {@link Matcher} instance, returned by {@link Matcher.readOnly}. + * + * All query and inspection methods work normally and always reflect the current + * state of the underlying matcher. State-mutating methods (`push`, `pop`, + * `reset`, `updateCurrent`, `restore`) are not present — calling them on the + * underlying Proxy throws a `TypeError` at runtime. + * + * This is the type received by all FXP user callbacks when `jPath: false`. + */ +export interface ReadonlyMatcher { + readonly separator: string; + + /** Check if current path matches an Expression. */ + matches(expression: Expression): boolean; + + /** Get current tag name, or `undefined` if path is empty. */ + getCurrentTag(): string | undefined; + + /** Get current namespace, or `undefined` if not present. */ + getCurrentNamespace(): string | undefined; + + /** Get attribute value of the current node. */ + getAttrValue(attrName: string): any; + + /** Check if the current node has a given attribute. */ + hasAttr(attrName: string): boolean; + + /** Sibling position of the current node (child index in parent). */ + getPosition(): number; + + /** Occurrence counter of the current tag name at this level. */ + getCounter(): number; + + /** Number of nodes in the current path. */ + getDepth(): number; + + /** Current path as a string (e.g. `"root.users.user"`). */ + toString(separator?: string, includeNamespace?: boolean): string; + + /** Current path as an array of tag names. */ + toArray(): string[]; + + /** + * Create a snapshot of the current state. + * The snapshot can be passed to the real {@link Matcher.restore} if needed. + */ + snapshot(): MatcherSnapshot; +} + +/** Internal node structure — exposed via snapshot only. */ +export interface PathNode { + tag: string; + namespace?: string; + position: number; + counter: number; + values?: Record; +} + +/** Snapshot of matcher state returned by `snapshot()` and `readOnly().snapshot()`. */ +export interface MatcherSnapshot { + path: PathNode[]; + siblingStacks: Map[]; +} \ No newline at end of file diff --git a/node_modules/fast-xml-parser/src/util.js b/node_modules/fast-xml-parser/src/util.js new file mode 100644 index 0000000..c2c809d --- /dev/null +++ b/node_modules/fast-xml-parser/src/util.js @@ -0,0 +1,61 @@ +'use strict'; + +const nameStartChar = ':A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD'; +const nameChar = nameStartChar + '\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040'; +export const nameRegexp = '[' + nameStartChar + '][' + nameChar + ']*'; +const regexName = new RegExp('^' + nameRegexp + '$'); + +export function getAllMatches(string, regex) { + const matches = []; + let match = regex.exec(string); + while (match) { + const allmatches = []; + allmatches.startIndex = regex.lastIndex - match[0].length; + const len = match.length; + for (let index = 0; index < len; index++) { + allmatches.push(match[index]); + } + matches.push(allmatches); + match = regex.exec(string); + } + return matches; +} + +export const isName = function (string) { + const match = regexName.exec(string); + return !(match === null || typeof match === 'undefined'); +} + +export function isExist(v) { + return typeof v !== 'undefined'; +} + +export function isEmptyObject(obj) { + return Object.keys(obj).length === 0; +} + +export function getValue(v) { + if (exports.isExist(v)) { + return v; + } else { + return ''; + } +} + +/** + * Dangerous property names that could lead to prototype pollution or security issues + */ +export const DANGEROUS_PROPERTY_NAMES = [ + // '__proto__', + // 'constructor', + // 'prototype', + 'hasOwnProperty', + 'toString', + 'valueOf', + '__defineGetter__', + '__defineSetter__', + '__lookupGetter__', + '__lookupSetter__' +]; + +export const criticalProperties = ["__proto__", "constructor", "prototype"]; \ No newline at end of file diff --git a/node_modules/fast-xml-parser/src/v6/CharsSymbol.js b/node_modules/fast-xml-parser/src/v6/CharsSymbol.js new file mode 100644 index 0000000..6ac2de4 --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/CharsSymbol.js @@ -0,0 +1,16 @@ +export default { + "<" : "<", //tag start + ">" : ">", //tag end + "/" : "/", //close tag + "!" : "!", //comment or docttype + "!--" : "!--", //comment + "-->" : "-->", //comment end + "?" : "?", //pi + "?>" : "?>", //pi end + "?xml" : "?xml", //pi end + "![" : "![", //cdata + "]]>" : "]]>", //cdata end + "[" : "[", + "-" : "-", + "D" : "D", +} \ No newline at end of file diff --git a/node_modules/fast-xml-parser/src/v6/EntitiesParser.js b/node_modules/fast-xml-parser/src/v6/EntitiesParser.js new file mode 100644 index 0000000..576e069 --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/EntitiesParser.js @@ -0,0 +1,106 @@ +const ampEntity = { regex: /&(amp|#38|#x26);/g, val: "&" }; +const htmlEntities = { + "space": { regex: /&(nbsp|#160);/g, val: " " }, + // "lt" : { regex: /&(lt|#60);/g, val: "<" }, + // "gt" : { regex: /&(gt|#62);/g, val: ">" }, + // "amp" : { regex: /&(amp|#38);/g, val: "&" }, + // "quot" : { regex: /&(quot|#34);/g, val: "\"" }, + // "apos" : { regex: /&(apos|#39);/g, val: "'" }, + "cent": { regex: /&(cent|#162);/g, val: "¢" }, + "pound": { regex: /&(pound|#163);/g, val: "£" }, + "yen": { regex: /&(yen|#165);/g, val: "¥" }, + "euro": { regex: /&(euro|#8364);/g, val: "€" }, + "copyright": { regex: /&(copy|#169);/g, val: "©" }, + "reg": { regex: /&(reg|#174);/g, val: "®" }, + "inr": { regex: /&(inr|#8377);/g, val: "₹" }, + "num_dec": { regex: /&#([0-9]{1,7});/g, val: (_, str) => String.fromCodePoint(Number.parseInt(str, 10)) }, + "num_hex": { regex: /&#x([0-9a-fA-F]{1,6});/g, val: (_, str) => String.fromCodePoint(Number.parseInt(str, 16)) }, +}; +export default class EntitiesParser { + constructor(replaceHtmlEntities) { + this.replaceHtmlEntities = replaceHtmlEntities; + this.docTypeEntities = {}; + this.lastEntities = { + "apos": { regex: /&(apos|#39|#x27);/g, val: "'" }, + "gt": { regex: /&(gt|#62|#x3E);/g, val: ">" }, + "lt": { regex: /&(lt|#60|#x3C);/g, val: "<" }, + "quot": { regex: /&(quot|#34|#x22);/g, val: "\"" }, + }; + } + + addExternalEntities(externalEntities) { + const entKeys = Object.keys(externalEntities); + for (let i = 0; i < entKeys.length; i++) { + const ent = entKeys[i]; + this.addExternalEntity(ent, externalEntities[ent]) + } + } + addExternalEntity(key, val) { + validateEntityName(key); + const escaped = key.replace(/[.\-+*:]/g, '\\.'); + if (val.indexOf("&") !== -1) { + reportWarning(`Entity ${key} is not added as '&' is found in value;`) + return; + } else { + this.lastEntities[key] = { + regex: new RegExp("&" + escaped + ";", "g"), + val: val + } + } + } + + addDocTypeEntities(entities) { + const entKeys = Object.keys(entities); + for (let i = 0; i < entKeys.length; i++) { + const ent = entKeys[i]; + const escaped = ent.replace(/[.\-+*:]/g, '\\.'); + this.docTypeEntities[ent] = { + regex: new RegExp("&" + escaped + ";", "g"), + val: entities[ent] + } + } + } + + parse(val) { + return this.replaceEntitiesValue(val) + } + + /** + * 1. Replace DOCTYPE entities + * 2. Replace external entities + * 3. Replace HTML entities if asked + * @param {string} val + */ + replaceEntitiesValue(val) { + if (typeof val === "string" && val.length > 0) { + for (let entityName in this.docTypeEntities) { + const entity = this.docTypeEntities[entityName]; + val = val.replace(entity.regx, entity.val); + } + for (let entityName in this.lastEntities) { + const entity = this.lastEntities[entityName]; + val = val.replace(entity.regex, entity.val); + } + if (this.replaceHtmlEntities) { + for (let entityName in htmlEntities) { + const entity = htmlEntities[entityName]; + val = val.replace(entity.regex, entity.val); + } + } + val = val.replace(ampEntity.regex, ampEntity.val); + } + return val; + } +} + +//an entity name should not contains special characters that may be used in regex +//Eg !?\\\/[]$%{}^&*()<> +const specialChar = "!?\\/[]$%{}^&*()<>|+"; + +function validateEntityName(name) { + for (let i = 0; i < specialChar.length; i++) { + const ch = specialChar[i]; + if (name.indexOf(ch) !== -1) throw new Error(`Invalid character ${ch} in entity name`); + } + return name; +} diff --git a/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js b/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js new file mode 100644 index 0000000..6e33919 --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js @@ -0,0 +1,61 @@ + +import { JsObjOutputBuilder } from './OutputBuilders/JsObjBuilder.js'; + +export const defaultOptions = { + preserveOrder: false, + removeNSPrefix: false, // remove NS from tag name or attribute name if true + //ignoreRootElement : false, + stopNodes: [], //nested tags will not be parsed even for errors + // isArray: () => false, //User will set it + htmlEntities: false, + // skipEmptyListItem: false + tags: { + unpaired: [], + nameFor: { + cdata: false, + comment: false, + text: '#text' + }, + separateTextProperty: false, + }, + attributes: { + ignore: false, + booleanType: true, + entities: true, + }, + + // select: ["img[src]"], + // stop: ["anim", "[ads]"] + only: [], // rest tags will be skipped. It will result in flat array + hierarchy: false, //will be used when a particular tag is set to be parsed. + skip: [], // will be skipped from parse result. on('skip') will be triggered + + select: [], // on('select', tag => tag ) will be called if match + stop: [], //given tagPath will not be parsed. innerXML will be set as string value + OutputBuilder: new JsObjOutputBuilder(), +}; + +export const buildOptions = function (options) { + const finalOptions = { ...defaultOptions }; + copyProperties(finalOptions, options) + return finalOptions; +}; + +function copyProperties(target, source) { + for (let key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + if (key === 'OutputBuilder') { + target[key] = source[key]; + } else if (typeof source[key] === 'object' && !Array.isArray(source[key])) { + // Recursively copy nested properties + if (typeof target[key] === 'undefined') { + target[key] = {}; + } + copyProperties(target[key], source[key]); + } else { + // Copy non-nested properties + target[key] = source[key]; + } + } + } +} diff --git a/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js b/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js new file mode 100644 index 0000000..aee7365 --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js @@ -0,0 +1,69 @@ +export default class BaseOutputBuilder { + constructor() { + // this.attributes = {}; + } + + addAttribute(name, value) { + if (this.options.onAttribute) { + //TODO: better to pass tag path + const v = this.options.onAttribute(name, value, this.tagName); + if (v) this.attributes[v.name] = v.value; + } else { + name = this.options.attributes.prefix + name + this.options.attributes.suffix; + this.attributes[name] = this.parseValue(value, this.options.attributes.valueParsers); + } + } + + /** + * parse value by chain of parsers + * @param {string} val + * @returns {any} parsed value if matching parser found + */ + parseValue = function (val, valParsers) { + for (let i = 0; i < valParsers.length; i++) { + let valParser = valParsers[i]; + if (typeof valParser === "string") { + valParser = this.registeredParsers[valParser]; + } + if (valParser) { + val = valParser.parse(val); + } + } + return val; + } + + /** + * To add a nested empty tag. + * @param {string} key + * @param {any} val + */ + _addChild(key, val) { } + + /** + * skip the comment if property is not set + */ + addComment(text) { + if (this.options.nameFor.comment) + this._addChild(this.options.nameFor.comment, text); + } + + //store CDATA separately if property is set + //otherwise add to tag's value + addCdata(text) { + if (this.options.nameFor.cdata) { + this._addChild(this.options.nameFor.cdata, text); + } else { + this.addRawValue(text || ""); + } + } + + addRawValue = text => this.addValue(text); + + addDeclaration() { + if (!this.options.declaration) { + } else { + this.addPi("?xml"); + } + this.attributes = {} + } +} diff --git a/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js b/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js new file mode 100644 index 0000000..04205e5 --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js @@ -0,0 +1,103 @@ +import { buildOptions, registerCommonValueParsers } from './ParserOptionsBuilder.js'; + +export default class OutputBuilder { + constructor(options) { + this.options = buildOptions(options); + this.registeredParsers = registerCommonValueParsers(this.options); + } + + registerValueParser(name, parserInstance) {//existing name will override the parser without warning + this.registeredParsers[name] = parserInstance; + } + + getInstance(parserOptions) { + return new JsArrBuilder(parserOptions, this.options, this.registeredParsers); + } +} + +const rootName = '!js_arr'; +import BaseOutputBuilder from './BaseOutputBuilder.js'; + +class JsArrBuilder extends BaseOutputBuilder { + + constructor(parserOptions, options, registeredParsers) { + super(); + this.tagsStack = []; + this.parserOptions = parserOptions; + this.options = options; + this.registeredParsers = registeredParsers; + + this.root = new Node(rootName); + this.currentNode = this.root; + this.attributes = {}; + } + + addTag(tag) { + //when a new tag is added, it should be added as child of current node + //TODO: shift this check to the parser + if (tag.name === "__proto__") tag.name = "#__proto__"; + + this.tagsStack.push(this.currentNode); + this.currentNode = new Node(tag.name, this.attributes); + this.attributes = {}; + } + + /** + * Check if the node should be added by checking user's preference + * @param {Node} node + * @returns boolean: true if the node should not be added + */ + closeTag() { + const node = this.currentNode; + this.currentNode = this.tagsStack.pop(); //set parent node in scope + if (this.options.onClose !== undefined) { + //TODO TagPathMatcher + const resultTag = this.options.onClose(node, + new TagPathMatcher(this.tagsStack, node)); + + if (resultTag) return; + } + this.currentNode.child.push(node); //to parent node + } + + //Called by parent class methods + _addChild(key, val) { + // if(key === "__proto__") tagName = "#__proto__"; + this.currentNode.child.push({ [key]: val }); + // this.currentNode.leafType = false; + } + + /** + * Add text value child node + * @param {string} text + */ + addValue(text) { + this.currentNode.child.push({ [this.options.nameFor.text]: this.parseValue(text, this.options.tags.valueParsers) }); + } + + addPi(name) { + //TODO: set pi flag + if (!this.options.ignorePiTags) { + const node = new Node(name, this.attributes); + this.currentNode[":@"] = this.attributes; + this.currentNode.child.push(node); + } + this.attributes = {}; + } + getOutput() { + return this.root.child[0]; + } +} + + + +class Node { + constructor(tagname, attributes) { + this.tagname = tagname; + this.child = []; //nested tags, text, cdata, comments + if (attributes && Object.keys(attributes).length > 0) + this[":@"] = attributes; + } +} + +module.exports = OutputBuilder; \ No newline at end of file diff --git a/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js b/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js new file mode 100644 index 0000000..f0eee0c --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js @@ -0,0 +1,100 @@ +import {buildOptions,registerCommonValueParsers} from"./ParserOptionsBuilder.js"; + +export default class OutputBuilder{ + constructor(options){ + this.options = buildOptions(options); + this.registeredParsers = registerCommonValueParsers(this.options); + } + + registerValueParser(name,parserInstance){//existing name will override the parser without warning + this.registeredParsers[name] = parserInstance; + } + + getInstance(parserOptions){ + return new JsMinArrBuilder(parserOptions, this.options, this.registeredParsers); + } +} + +import BaseOutputBuilder from "./BaseOutputBuilder.js"; +const rootName = '^'; + +class JsMinArrBuilder extends BaseOutputBuilder{ + + constructor(parserOptions, options,registeredParsers) { + super(); + this.tagsStack = []; + this.parserOptions = parserOptions; + this.options = options; + this.registeredParsers = registeredParsers; + + this.root = {[rootName]: []}; + this.currentNode = this.root; + this.currentNodeTagName = rootName; + this.attributes = {}; + } + + addTag(tag){ + //when a new tag is added, it should be added as child of current node + //TODO: shift this check to the parser + if(tag.name === "__proto__") tag.name = "#__proto__"; + + this.tagsStack.push([this.currentNodeTagName,this.currentNode]); //this.currentNode is parent node here + this.currentNodeTagName = tag.name; + this.currentNode = { [tag.name]:[]} + if(Object.keys(this.attributes).length > 0){ + this.currentNode[":@"] = this.attributes; + this.attributes = {}; + } + } + + /** + * Check if the node should be added by checking user's preference + * @param {Node} node + * @returns boolean: true if the node should not be added + */ + closeTag(){ + const node = this.currentNode; + const nodeName = this.currentNodeTagName; + const arr = this.tagsStack.pop(); //set parent node in scope + this.currentNodeTagName = arr[0]; + this.currentNode = arr[1]; + + if(this.options.onClose !== undefined){ + //TODO TagPathMatcher + const resultTag = this.options.onClose(node, + new TagPathMatcher(this.tagsStack,node)); + + if(resultTag) return; + } + this.currentNode[this.currentNodeTagName].push(node); //to parent node + } + + //Called by parent class methods + _addChild(key, val){ + // if(key === "__proto__") tagName = "#__proto__"; + this.currentNode.push( {[key]: val }); + // this.currentNode.leafType = false; + } + + /** + * Add text value child node + * @param {string} text + */ + addValue(text){ + this.currentNode[this.currentNodeTagName].push( {[this.options.nameFor.text]: this.parseValue(text, this.options.tags.valueParsers) }); + } + + addPi(name){ + if(!this.options.ignorePiTags){ + const node = { [name]:[]} + if(this.attributes){ + node[":@"] = this.attributes; + } + this.currentNode.push(node); + } + this.attributes = {}; + } + getOutput(){ + return this.root[rootName]; + } +} diff --git a/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js b/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js new file mode 100644 index 0000000..9e19de9 --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js @@ -0,0 +1,154 @@ + + +import { buildOptions, registerCommonValueParsers } from './ParserOptionsBuilder.js'; + +export default class OutputBuilder { + constructor(builderOptions) { + this.options = buildOptions(builderOptions); + this.registeredParsers = registerCommonValueParsers(this.options); + } + + registerValueParser(name, parserInstance) {//existing name will override the parser without warning + this.registeredParsers[name] = parserInstance; + } + + getInstance(parserOptions) { + return new JsObjBuilder(parserOptions, this.options, this.registeredParsers); + } +} + +import BaseOutputBuilder from './BaseOutputBuilder.js'; +const rootName = '^'; + +class JsObjBuilder extends BaseOutputBuilder { + + constructor(parserOptions, builderOptions, registeredParsers) { + super(); + //hold the raw detail of a tag and sequence with reference to the output + this.tagsStack = []; + this.parserOptions = parserOptions; + this.options = builderOptions; + this.registeredParsers = registeredParsers; + + this.root = {}; + this.parent = this.root; + this.tagName = rootName; + this.value = {}; + this.textValue = ""; + this.attributes = {}; + } + + addTag(tag) { + + let value = ""; + if (!isEmpty(this.attributes)) { + value = {}; + if (this.options.attributes.groupBy) { + value[this.options.attributes.groupBy] = this.attributes; + } else { + value = this.attributes; + } + } + + this.tagsStack.push([this.tagName, this.textValue, this.value]); //parent tag, parent text value, parent tag value (jsobj) + this.tagName = tag.name; + this.value = value; + this.textValue = ""; + this.attributes = {}; + } + + /** + * Check if the node should be added by checking user's preference + * @param {Node} node + * @returns boolean: true if the node should not be added + */ + closeTag() { + const tagName = this.tagName; + let value = this.value; + let textValue = this.textValue; + + //update tag text value + if (typeof value !== "object" && !Array.isArray(value)) { + value = this.parseValue(textValue.trim(), this.options.tags.valueParsers); + } else if (textValue.length > 0) { + value[this.options.nameFor.text] = this.parseValue(textValue.trim(), this.options.tags.valueParsers); + } + + + let resultTag = { + tagName: tagName, + value: value + }; + + if (this.options.onTagClose !== undefined) { + //TODO TagPathMatcher + resultTag = this.options.onClose(tagName, value, this.textValue, new TagPathMatcher(this.tagsStack, node)); + + if (!resultTag) return; + } + + //set parent node in scope + let arr = this.tagsStack.pop(); + let parentTag = arr[2]; + parentTag = this._addChildTo(resultTag.tagName, resultTag.value, parentTag); + + this.tagName = arr[0]; + this.textValue = arr[1]; + this.value = parentTag; + } + + _addChild(key, val) { + if (typeof this.value === "string") { + this.value = { [this.options.nameFor.text]: this.value }; + } + + this._addChildTo(key, val, this.value); + // this.currentNode.leafType = false; + this.attributes = {}; + } + + _addChildTo(key, val, node) { + if (typeof node === 'string') node = {}; + if (!node[key]) { + node[key] = val; + } else { //Repeated + if (!Array.isArray(node[key])) { //but not stored as array + node[key] = [node[key]]; + } + node[key].push(val); + } + return node; + } + + + /** + * Add text value child node + * @param {string} text + */ + addValue(text) { + //TODO: use bytes join + if (this.textValue.length > 0) this.textValue += " " + text; + else this.textValue = text; + } + + addPi(name) { + let value = ""; + if (!isEmpty(this.attributes)) { + value = {}; + if (this.options.attributes.groupBy) { + value[this.options.attributes.groupBy] = this.attributes; + } else { + value = this.attributes; + } + } + this._addChild(name, value); + + } + getOutput() { + return this.value; + } +} + +function isEmpty(obj) { + return Object.keys(obj).length === 0; +} diff --git a/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js b/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js new file mode 100644 index 0000000..0e20683 --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js @@ -0,0 +1,94 @@ +import trimParser from "../valueParsers/trim.js"; +import booleanParser from "../valueParsers/booleanParser.js"; +import currencyParser from "../valueParsers/currency.js"; +import numberParser from "../valueParsers/number.js"; + +const defaultOptions = { + nameFor: { + text: "#text", + comment: "", + cdata: "", + }, + // onTagClose: () => {}, + // onAttribute: () => {}, + piTag: false, + declaration: false, //"?xml" + tags: { + valueParsers: [ + // "trim", + // "boolean", + // "number", + // "currency", + // "date", + ] + }, + attributes: { + prefix: "@_", + suffix: "", + groupBy: "", + + valueParsers: [ + // "trim", + // "boolean", + // "number", + // "currency", + // "date", + ] + }, + dataType: { + + } +} + +//TODO +const withJoin = ["trim", "join", /*"entities",*/"number", "boolean", "currency"/*, "date"*/] +const withoutJoin = ["trim", /*"entities",*/"number", "boolean", "currency"/*, "date"*/] + +export function buildOptions(options) { + //clone + const finalOptions = { ...defaultOptions }; + + //add config missed in cloning + finalOptions.tags.valueParsers.push(...withJoin) + if (!this.preserveOrder) + finalOptions.tags.valueParsers.push(...withoutJoin); + + //add config missed in cloning + finalOptions.attributes.valueParsers.push(...withJoin) + + //override configuration + copyProperties(finalOptions, options); + return finalOptions; +} + +function copyProperties(target, source) { + for (let key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + if (typeof source[key] === 'object' && !Array.isArray(source[key])) { + // Recursively copy nested properties + if (typeof target[key] === 'undefined') { + target[key] = {}; + } + copyProperties(target[key], source[key]); + } else { + // Copy non-nested properties + target[key] = source[key]; + } + } + } +} + +export function registerCommonValueParsers(options) { + return { + "trim": new trimParser(), + // "join": this.entityParser.parse, + "boolean": new booleanParser(), + "number": new numberParser({ + hex: true, + leadingZeros: true, + eNotation: true + }), + "currency": new currencyParser(), + // "date": this.entityParser.parse, + } +} diff --git a/node_modules/fast-xml-parser/src/v6/Report.js b/node_modules/fast-xml-parser/src/v6/Report.js new file mode 100644 index 0000000..e69de29 diff --git a/node_modules/fast-xml-parser/src/v6/TagPath.js b/node_modules/fast-xml-parser/src/v6/TagPath.js new file mode 100644 index 0000000..98148c7 --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/TagPath.js @@ -0,0 +1,81 @@ +export default class TagPath{ + constructor(pathStr){ + let text = ""; + let tName = ""; + let pos; + let aName = ""; + let aVal = ""; + this.stack = [] + + for (let i = 0; i < pathStr.length; i++) { + let ch = pathStr[i]; + if(ch === " ") { + if(text.length === 0) continue; + tName = text; text = ""; + }else if(ch === "["){ + if(tName.length === 0){ + tName = text; text = ""; + } + i++; + for (; i < pathStr.length; i++) { + ch = pathStr[i]; + if(ch=== "=") continue; + else if(ch=== "]") {aName = text.trim(); text=""; break; i--;} + else if(ch === "'" || ch === '"'){ + let attrEnd = pathStr.indexOf(ch,i+1); + aVal = pathStr.substring(i+1, attrEnd); + i = attrEnd; + }else{ + text +=ch; + } + } + }else if(ch !== " " && text.length === 0 && tName.length > 0){//reading tagName + //save previous tag + this.stack.push(new TagPathNode(tName,pos,aName,aVal)); + text = ch; tName = ""; aName = ""; aVal = ""; + }else{ + text+=ch; + } + } + + //last tag in the path + if(tName.length >0 || text.length>0){ + this.stack.push(new TagPathNode(text||tName,pos,aName,aVal)); + } + } + + match(tagStack,node){ + if(this.stack[0].name !== "*"){ + if(this.stack.length !== tagStack.length +1) return false; + + //loop through tagPath and tagStack and match + for (let i = 0; i < this.tagStack.length; i++) { + if(!this.stack[i].match(tagStack[i])) return false; + } + } + if(!this.stack[this.stack.length - 1].match(node)) return false; + return true; + } +} + +class TagPathNode{ + constructor(name,position,attrName,attrVal){ + this.name = name; + this.position = position; + this.attrName = attrName, + this.attrVal = attrVal; + } + + match(node){ + let matching = true; + matching = node.name === this.name; + if(this.position) matching = node.position === this.position; + if(this.attrName) matching = node.attrs[this.attrName !== undefined]; + if(this.attrVal) matching = node.attrs[this.attrName !== this.attrVal]; + return matching; + } +} + +// console.log((new TagPath("* b[b]")).stack); +// console.log((new TagPath("a[a] b[b] c")).stack); +// console.log((new TagPath(" b [ b= 'cf sdadwa' ] a ")).stack); \ No newline at end of file diff --git a/node_modules/fast-xml-parser/src/v6/TagPathMatcher.js b/node_modules/fast-xml-parser/src/v6/TagPathMatcher.js new file mode 100644 index 0000000..8110447 --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/TagPathMatcher.js @@ -0,0 +1,13 @@ +import {TagPath} from './TagPath.js'; + +export default class TagPathMatcher{ + constructor(stack,node){ + this.stack = stack; + this.node= node; + } + + match(path){ + const tagPath = new TagPath(path); + return tagPath.match(this.stack, this.node); + } +} \ No newline at end of file diff --git a/node_modules/fast-xml-parser/src/v6/XMLParser.js b/node_modules/fast-xml-parser/src/v6/XMLParser.js new file mode 100644 index 0000000..44c70dc --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/XMLParser.js @@ -0,0 +1,83 @@ +import { buildOptions } from './OptionsBuilder.js'; +import Xml2JsParser from './Xml2JsParser.js'; + +export default class XMLParser { + + constructor(options) { + this.externalEntities = {}; + this.options = buildOptions(options); + // console.log(this.options) + } + /** + * Parse XML data string to JS object + * @param {string|Buffer} xmlData + * @param {boolean|Object} validationOption + */ + parse(xmlData) { + if (Array.isArray(xmlData) && xmlData.byteLength !== undefined) { + return this.parse(xmlData); + } else if (xmlData.toString) { + xmlData = xmlData.toString(); + } else { + throw new Error("XML data is accepted in String or Bytes[] form.") + } + // if( validationOption){ + // if(validationOption === true) validationOption = {}; //validate with default options + + // const result = validator.validate(xmlData, validationOption); + // if (result !== true) { + // throw Error( `${result.err.msg}:${result.err.line}:${result.err.col}` ) + // } + // } + const parser = new Xml2JsParser(this.options); + parser.entityParser.addExternalEntities(this.externalEntities); + return parser.parse(xmlData); + } + /** + * Parse XML data buffer to JS object + * @param {string|Buffer} xmlData + * @param {boolean|Object} validationOption + */ + parseBytesArr(xmlData) { + if (Array.isArray(xmlData) && xmlData.byteLength !== undefined) { + } else { + throw new Error("XML data is accepted in Bytes[] form.") + } + const parser = new Xml2JsParser(this.options); + parser.entityParser.addExternalEntities(this.externalEntities); + return parser.parseBytesArr(xmlData); + } + /** + * Parse XML data stream to JS object + * @param {fs.ReadableStream} xmlDataStream + */ + parseStream(xmlDataStream) { + if (!isStream(xmlDataStream)) throw new Error("FXP: Invalid stream input"); + + const orderedObjParser = new Xml2JsParser(this.options); + orderedObjParser.entityParser.addExternalEntities(this.externalEntities); + return orderedObjParser.parseStream(xmlDataStream); + } + + /** + * Add Entity which is not by default supported by this library + * @param {string} key + * @param {string} value + */ + addEntity(key, value) { + if (value.indexOf("&") !== -1) { + throw new Error("Entity value can't have '&'") + } else if (key.indexOf("&") !== -1 || key.indexOf(";") !== -1) { + throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '") + } else if (value === "&") { + throw new Error("An entity with value '&' is not permitted"); + } else { + this.externalEntities[key] = value; + } + } +} + +function isStream(stream) { + if (stream && typeof stream.read === "function" && typeof stream.on === "function" && typeof stream.readableEnded === "boolean") return true; + return false; +} diff --git a/node_modules/fast-xml-parser/src/v6/Xml2JsParser.js b/node_modules/fast-xml-parser/src/v6/Xml2JsParser.js new file mode 100644 index 0000000..bd62265 --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/Xml2JsParser.js @@ -0,0 +1,235 @@ +import StringSource from './inputSource/StringSource.js'; +import BufferSource from './inputSource/BufferSource.js'; +import {readTagExp,readClosingTagName} from './XmlPartReader.js'; +import {readComment, readCdata,readDocType,readPiTag} from './XmlSpecialTagsReader.js'; +import TagPath from './TagPath.js'; +import TagPathMatcher from './TagPathMatcher.js'; +import EntitiesParser from './EntitiesParser.js'; + +//To hold the data of current tag +//This is usually used to compare jpath expression against current tag +class TagDetail{ + constructor(name){ + this.name = name; + this.position = 0; + // this.attributes = {}; + } +} + +export default class Xml2JsParser { + constructor(options) { + this.options = options; + + this.currentTagDetail = null; + this.tagTextData = ""; + this.tagsStack = []; + this.entityParser = new EntitiesParser(options.htmlEntities); + this.stopNodes = []; + for (let i = 0; i < this.options.stopNodes.length; i++) { + this.stopNodes.push(new TagPath(this.options.stopNodes[i])); + } + } + + parse(strData) { + this.source = new StringSource(strData); + this.parseXml(); + return this.outputBuilder.getOutput(); + } + parseBytesArr(data) { + this.source = new BufferSource(data ); + this.parseXml(); + return this.outputBuilder.getOutput(); + } + + parseXml() { + //TODO: Separate TagValueParser as separate class. So no scope issue in node builder class + + //OutputBuilder should be set in XML Parser + this.outputBuilder = this.options.OutputBuilder.getInstance(this.options); + this.root = { root: true}; + this.currentTagDetail = this.root; + + while(this.source.canRead()){ + let ch = this.source.readCh(); + if (ch === "") break; + + if(ch === "<"){//tagStart + let nextChar = this.source.readChAt(0); + if (nextChar === "" ) throw new Error("Unexpected end of source"); + + + if(nextChar === "!" || nextChar === "?"){ + this.source.updateBufferBoundary(); + //previously collected text should be added to current node + this.addTextNode(); + + this.readSpecialTag(nextChar);// Read DOCTYPE, comment, CDATA, PI tag + }else if(nextChar === "/"){ + this.source.updateBufferBoundary(); + this.readClosingTag(); + // console.log(this.source.buffer.length, this.source.readable); + // console.log(this.tagsStack.length); + }else{//opening tag + this.readOpeningTag(); + } + }else{ + this.tagTextData += ch; + } + }//End While loop + if(this.tagsStack.length > 0 || ( this.tagTextData !== "undefined" && this.tagTextData.trimEnd().length > 0) ) throw new Error("Unexpected data in the end of document"); + } + + /** + * read closing paired tag. Set parent tag in scope. + * skip a node on user's choice + */ + readClosingTag(){ + const tagName = this.processTagName(readClosingTagName(this.source)); + // console.log(tagName, this.tagsStack.length); + this.validateClosingTag(tagName); + // All the text data collected, belongs to current tag. + if(!this.currentTagDetail.root) this.addTextNode(); + this.outputBuilder.closeTag(); + // Since the tag is closed now, parent tag comes in scope + this.currentTagDetail = this.tagsStack.pop(); + } + + validateClosingTag(tagName){ + // This can't be unpaired tag, or a stop tag. + if(this.isUnpaired(tagName) || this.isStopNode(tagName)) throw new Error(`Unexpected closing tag '${tagName}'`); + // This must match with last opening tag + else if(tagName !== this.currentTagDetail.name) + throw new Error(`Unexpected closing tag '${tagName}' expecting '${this.currentTagDetail.name}'`) + } + + /** + * Read paired, unpaired, self-closing, stop and special tags. + * Create a new node + * Push paired tag in stack. + */ + readOpeningTag(){ + //save previously collected text data to current node + this.addTextNode(); + + //create new tag + let tagExp = readTagExp(this, ">" ); + + // process and skip from tagsStack For unpaired tag, self closing tag, and stop node + const tagDetail = new TagDetail(tagExp.tagName); + if(this.isUnpaired(tagExp.tagName)) { + //TODO: this will lead 2 extra stack operation + this.outputBuilder.addTag(tagDetail); + this.outputBuilder.closeTag(); + } else if(tagExp.selfClosing){ + this.outputBuilder.addTag(tagDetail); + this.outputBuilder.closeTag(); + } else if(this.isStopNode(this.currentTagDetail)){ + // TODO: let's user set a stop node boundary detector for complex contents like script tag + //TODO: pass tag name only to avoid string operations + const content = source.readUptoCloseTag(` 0){ + //TODO: shift parsing to output builder + + this.outputBuilder.addValue(this.replaceEntities(this.tagTextData)); + } + this.tagTextData = ""; + } + // } + } + + processAttrName(name){ + if(name === "__proto__") name = "#__proto__"; + name = resolveNameSpace(name, this.removeNSPrefix); + return name; + } + + processTagName(name){ + if(name === "__proto__") name = "#__proto__"; + name = resolveNameSpace(name, this.removeNSPrefix); + return name; + } + + /** + * Generate tags path from tagsStack + */ + tagsPath(tagName){ + //TODO: return TagPath Object. User can call match method with path + return ""; + } + + isUnpaired(tagName){ + return this.options.tags.unpaired.indexOf(tagName) !== -1; + } + + /** + * valid expressions are + * tag nested + * * nested + * tag nested[attribute] + * tag nested[attribute=""] + * tag nested[attribute!=""] + * tag nested:0 //for future + * @param {string} tagName + * @returns + */ + isStopNode(node){ + for (let i = 0; i < this.stopNodes.length; i++) { + const givenPath = this.stopNodes[i]; + if(givenPath.match(this.tagsStack, node)) return true; + } + return false + } + + replaceEntities(text){ + //TODO: if option is set then replace entities + return this.entityParser.parse(text) + } +} + +function resolveNameSpace(name, removeNSPrefix) { + if (removeNSPrefix) { + const parts = name.split(':'); + if(parts.length === 2){ + if (parts[0] === 'xmlns') return ''; + else return parts[1]; + }else reportError(`Multiple namespaces ${name}`) + } + return name; +} diff --git a/node_modules/fast-xml-parser/src/v6/XmlPartReader.js b/node_modules/fast-xml-parser/src/v6/XmlPartReader.js new file mode 100644 index 0000000..61c57ec --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/XmlPartReader.js @@ -0,0 +1,210 @@ +'use strict'; + +/** + * find paired tag for a stop node + * @param {string} xmlDoc + * @param {string} tagName + * @param {number} i : start index + */ +export function readStopNode(xmlDoc, tagName, i){ + const startIndex = i; + // Starting at 1 since we already have an open tag + let openTagCount = 1; + + for (; i < xmlDoc.length; i++) { + if( xmlDoc[i] === "<"){ + if (xmlDoc[i+1] === "/") {//close tag + const closeIndex = findSubStrIndex(xmlDoc, ">", i, `${tagName} is not closed`); + let closeTagName = xmlDoc.substring(i+2,closeIndex).trim(); + if(closeTagName === tagName){ + openTagCount--; + if (openTagCount === 0) { + return { + tagContent: xmlDoc.substring(startIndex, i), + i : closeIndex + } + } + } + i=closeIndex; + } else if(xmlDoc[i+1] === '?') { + const closeIndex = findSubStrIndex(xmlDoc, "?>", i+1, "StopNode is not closed.") + i=closeIndex; + } else if(xmlDoc.substr(i + 1, 3) === '!--') { + const closeIndex = findSubStrIndex(xmlDoc, "-->", i+3, "StopNode is not closed.") + i=closeIndex; + } else if(xmlDoc.substr(i + 1, 2) === '![') { + const closeIndex = findSubStrIndex(xmlDoc, "]]>", i, "StopNode is not closed.") - 2; + i=closeIndex; + } else { + const tagData = readTagExp(xmlDoc, i, '>') + + if (tagData) { + const openTagName = tagData && tagData.tagName; + if (openTagName === tagName && tagData.tagExp[tagData.tagExp.length-1] !== "/") { + openTagCount++; + } + i=tagData.closeIndex; + } + } + } + }//end for loop +} + +/** + * Read closing tag name + * @param {Source} source + * @returns tag name + */ +export function readClosingTagName(source){ + let text = ""; //temporary data + while(source.canRead()){ + let ch = source.readCh(); + // if (ch === null || ch === undefined) break; + // source.updateBuffer(); + + if (ch === ">") return text.trimEnd(); + else text += ch; + } + throw new Error(`Unexpected end of source. Reading '${substr}'`); +} + +/** + * Read XML tag and build attributes map + * This function can be used to read normal tag, pi tag. + * This function can't be used to read comment, CDATA, DOCTYPE. + * Eg + * @param {string} xmlDoc + * @param {number} startIndex starting index + * @returns tag expression includes tag name & attribute string + */ +export function readTagExp(parser) { + let inSingleQuotes = false; + let inDoubleQuotes = false; + let i; + let EOE = false; + + for (i = 0; parser.source.canRead(i); i++) { + const char = parser.source.readChAt(i); + + if (char === "'" && !inDoubleQuotes) { + inSingleQuotes = !inSingleQuotes; + } else if (char === '"' && !inSingleQuotes) { + inDoubleQuotes = !inDoubleQuotes; + } else if (char === '>' && !inSingleQuotes && !inDoubleQuotes) { + // If not inside quotes, stop reading at '>' + EOE = true; + break; + } + + } + if(inSingleQuotes || inDoubleQuotes){ + throw new Error("Invalid attribute expression. Quote is not properly closed"); + }else if(!EOE) throw new Error("Unexpected closing of source. Waiting for '>'"); + + + const exp = parser.source.readStr(i); + parser.source.updateBufferBoundary(i + 1); + return buildTagExpObj(exp, parser) +} + +export function readPiExp(parser) { + let inSingleQuotes = false; + let inDoubleQuotes = false; + let i; + let EOE = false; + + for (i = 0; parser.source.canRead(i) ; i++) { + const currentChar = parser.source.readChAt(i); + const nextChar = parser.source.readChAt(i+1); + + if (currentChar === "'" && !inDoubleQuotes) { + inSingleQuotes = !inSingleQuotes; + } else if (currentChar === '"' && !inSingleQuotes) { + inDoubleQuotes = !inDoubleQuotes; + } + + if (!inSingleQuotes && !inDoubleQuotes) { + if (currentChar === '?' && nextChar === '>') { + EOE = true; + break; // Exit the loop when '?>' is found + } + } + } + if(inSingleQuotes || inDoubleQuotes){ + throw new Error("Invalid attribute expression. Quote is not properly closed in PI tag expression"); + }else if(!EOE) throw new Error("Unexpected closing of source. Waiting for '?>'"); + + if(!parser.options.attributes.ignore){ + //TODO: use regex to verify attributes if not set to ignore + } + + const exp = parser.source.readStr(i); + parser.source.updateBufferBoundary(i + 1); + return buildTagExpObj(exp, parser) +} + +function buildTagExpObj(exp, parser){ + const tagExp = { + tagName: "", + selfClosing: false + }; + let attrsExp = ""; + + // Check for self-closing tag before setting the name + if(exp[exp.length -1] === "/") { + tagExp.selfClosing = true; + exp = exp.slice(0, -1); // Remove the trailing slash + } + + //separate tag name + let i = 0; + for (; i < exp.length; i++) { + const char = exp[i]; + if(char === " "){ + tagExp.tagName = exp.substring(0, i); + attrsExp = exp.substring(i + 1); + break; + } + } + //only tag + if(tagExp.tagName.length === 0 && i === exp.length)tagExp.tagName = exp; + + tagExp.tagName = tagExp.tagName.trimEnd(); + + if(!parser.options.attributes.ignore && attrsExp.length > 0){ + parseAttributesExp(attrsExp,parser) + } + + return tagExp; +} + +const attrsRegx = new RegExp('([^\\s=]+)\\s*(=\\s*([\'"])([\\s\\S]*?)\\3)?', 'gm'); + +function parseAttributesExp(attrStr, parser) { + const matches = getAllMatches(attrStr, attrsRegx); + const len = matches.length; //don't make it inline + for (let i = 0; i < len; i++) { + let attrName = parser.processAttrName(matches[i][1]); + let attrVal = parser.replaceEntities(matches[i][4] || true); + + parser.outputBuilder.addAttribute(attrName, attrVal); + } +} + + +const getAllMatches = function(string, regex) { + const matches = []; + let match = regex.exec(string); + while (match) { + const allmatches = []; + allmatches.startIndex = regex.lastIndex - match[0].length; + const len = match.length; + for (let index = 0; index < len; index++) { + allmatches.push(match[index]); + } + matches.push(allmatches); + match = regex.exec(string); + } + return matches; +}; + diff --git a/node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js b/node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js new file mode 100644 index 0000000..330e0a4 --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js @@ -0,0 +1,111 @@ +import {readPiExp} from './XmlPartReader.js'; + +export function readCdata(parser){ + //"); + parser.outputBuilder.addCdata(text); +} +export function readPiTag(parser){ + //"); + if(!tagExp) throw new Error("Invalid Pi Tag expression."); + + if (tagExp.tagName === "?xml") {//TODO: test if tagName is just xml + parser.outputBuilder.addDeclaration(); + } else { + parser.outputBuilder.addPi("?"+tagExp.tagName); + } +} + +export function readComment(parser){ + //"); + parser.outputBuilder.addComment(text); +} + +const DOCTYPE_tags = { + "EL":/^EMENT\s+([^\s>]+)\s+(ANY|EMPTY|\(.+\)\s*$)/m, + "AT":/^TLIST\s+[^\s]+\s+[^\s]+\s+[^\s]+\s+[^\s]+\s+$/m, + "NO":/^TATION.+$/m +} +export function readDocType(parser){ + //"); + const regx = DOCTYPE_tags[str]; + if(regx){ + const match = dTagExp.match(regx); + if(!match) throw new Error("Invalid DOCTYPE"); + }else throw new Error("Invalid DOCTYPE"); + } + }else if( ch === '>' && lastch === "]"){//end of doctype + return; + } + }else if( ch === '>'){//end of doctype + return; + }else if( ch === '['){ + hasBody = true; + }else{ + lastch = ch; + } + }//End While loop + +} + +function registerEntity(parser){ + //read Entity + let attrBoundary=""; + let name ="", val =""; + while(source.canRead()){ + let ch = source.readCh(); + + if(attrBoundary){ + if (ch === attrBoundary){ + val = text; + text = "" + } + }else if(ch === " " || ch === "\t"){ + if(!name){ + name = text.trimStart(); + text = ""; + } + }else if (ch === '"' || ch === "'") {//start of attrBoundary + attrBoundary = ch; + }else if(ch === ">"){ + parser.entityParser.addExternalEntity(name,val); + return; + }else{ + text+=ch; + } + } +} diff --git a/node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js b/node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js new file mode 100644 index 0000000..2c5d8b5 --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js @@ -0,0 +1,116 @@ +const Constants = { + space: 32, + tab: 9 +} +export default class BufferSource{ + constructor(bytesArr){ + this.line = 1; + this.cols = 0; + this.buffer = bytesArr; + this.startIndex = 0; + } + + + + readCh() { + return String.fromCharCode(this.buffer[this.startIndex++]); + } + + readChAt(index) { + return String.fromCharCode(this.buffer[this.startIndex+index]); + } + + readStr(n,from){ + if(typeof from === "undefined") from = this.startIndex; + return this.buffer.slice(from, from + n).toString(); + } + + readUpto(stopStr) { + const inputLength = this.buffer.length; + const stopLength = stopStr.length; + const stopBuffer = Buffer.from(stopStr); + + for (let i = this.startIndex; i < inputLength; i++) { + let match = true; + for (let j = 0; j < stopLength; j++) { + if (this.buffer[i + j] !== stopBuffer[j]) { + match = false; + break; + } + } + + if (match) { + const result = this.buffer.slice(this.startIndex, i).toString(); + this.startIndex = i + stopLength; + return result; + } + } + + throw new Error(`Unexpected end of source. Reading '${stopStr}'`); +} + +readUptoCloseTag(stopStr) { //stopStr: "'){ //TODO: if it should be equivalent ASCII + match = 2; + //tag boundary found + // this.startIndex + } + }else{ + match = 1; + for (let j = 0; j < stopLength; j++) { + if (this.buffer[i + j] !== stopBuffer[j]) { + match = 0; + break; + } + } + } + if (match === 2) {//matched closing part + const result = this.buffer.slice(this.startIndex, stopIndex - 1 ).toString(); + this.startIndex = i + 1; + return result; + } + } + + throw new Error(`Unexpected end of source. Reading '${stopStr}'`); +} + + readFromBuffer(n, shouldUpdate) { + let ch; + if (n === 1) { + ch = this.buffer[this.startIndex]; + if (ch === 10) { + this.line++; + this.cols = 1; + } else { + this.cols++; + } + ch = String.fromCharCode(ch); + } else { + this.cols += n; + ch = this.buffer.slice(this.startIndex, this.startIndex + n).toString(); + } + if (shouldUpdate) this.updateBuffer(n); + return ch; + } + + updateBufferBoundary(n = 1) { //n: number of characters read + this.startIndex += n; + } + + canRead(n){ + n = n || this.startIndex; + return this.buffer.length - n + 1 > 0; + } + +} diff --git a/node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js b/node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js new file mode 100644 index 0000000..275889a --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js @@ -0,0 +1,121 @@ +const whiteSpaces = [" ", "\n", "\t"]; + + +export default class StringSource{ + constructor(str){ + this.line = 1; + this.cols = 0; + this.buffer = str; + //a boundary pointer to indicate where from the buffer dat should be read + // data before this pointer can be deleted to free the memory + this.startIndex = 0; + } + + readCh() { + return this.buffer[this.startIndex++]; + } + + readChAt(index) { + return this.buffer[this.startIndex+index]; + } + + readStr(n,from){ + if(typeof from === "undefined") from = this.startIndex; + return this.buffer.substring(from, from + n); + } + + readUpto(stopStr) { + const inputLength = this.buffer.length; + const stopLength = stopStr.length; + + for (let i = this.startIndex; i < inputLength; i++) { + let match = true; + for (let j = 0; j < stopLength; j++) { + if (this.buffer[i + j] !== stopStr[j]) { + match = false; + break; + } + } + + if (match) { + const result = this.buffer.substring(this.startIndex, i); + this.startIndex = i + stopLength; + return result; + } + } + + throw new Error(`Unexpected end of source. Reading '${stopStr}'`); + } + + readUptoCloseTag(stopStr) { //stopStr: "'){ + match = 2; + //tag boundary found + // this.startIndex + } + }else{ + match = 1; + for (let j = 0; j < stopLength; j++) { + if (this.buffer[i + j] !== stopStr[j]) { + match = 0; + break; + } + } + } + if (match === 2) {//matched closing part + const result = this.buffer.substring(this.startIndex, stopIndex - 1 ); + this.startIndex = i + 1; + return result; + } + } + + throw new Error(`Unexpected end of source. Reading '${stopStr}'`); + } + + readFromBuffer(n, updateIndex){ + let ch; + if(n===1){ + ch = this.buffer[this.startIndex]; + // if(ch === "\n") { + // this.line++; + // this.cols = 1; + // }else{ + // this.cols++; + // } + }else{ + ch = this.buffer.substring(this.startIndex, this.startIndex + n); + // if("".indexOf("\n") !== -1){ + // //TODO: handle the scenario when there are multiple lines + // //TODO: col should be set to number of chars after last '\n' + // // this.cols = 1; + // }else{ + // this.cols += n; + + // } + } + if(updateIndex) this.updateBufferBoundary(n); + return ch; + } + + //TODO: rename to updateBufferReadIndex + + updateBufferBoundary(n = 1) { //n: number of characters read + this.startIndex += n; + } + + canRead(n){ + n = n || this.startIndex; + return this.buffer.length - n + 1 > 0; + } + +} diff --git a/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js b/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js new file mode 100644 index 0000000..b7f7ba8 --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js @@ -0,0 +1,105 @@ +const ampEntity = { regex: /&(amp|#38|#x26);/g, val: "&" }; +const htmlEntities = { + "space": { regex: /&(nbsp|#160);/g, val: " " }, + // "lt" : { regex: /&(lt|#60);/g, val: "<" }, + // "gt" : { regex: /&(gt|#62);/g, val: ">" }, + // "amp" : { regex: /&(amp|#38);/g, val: "&" }, + // "quot" : { regex: /&(quot|#34);/g, val: "\"" }, + // "apos" : { regex: /&(apos|#39);/g, val: "'" }, + "cent": { regex: /&(cent|#162);/g, val: "¢" }, + "pound": { regex: /&(pound|#163);/g, val: "£" }, + "yen": { regex: /&(yen|#165);/g, val: "¥" }, + "euro": { regex: /&(euro|#8364);/g, val: "€" }, + "copyright": { regex: /&(copy|#169);/g, val: "©" }, + "reg": { regex: /&(reg|#174);/g, val: "®" }, + "inr": { regex: /&(inr|#8377);/g, val: "₹" }, + "num_dec": { regex: /&#([0-9]{1,7});/g, val: (_, str) => String.fromCodePoint(Number.parseInt(str, 10)) }, + "num_hex": { regex: /&#x([0-9a-fA-F]{1,6});/g, val: (_, str) => String.fromCodePoint(Number.parseInt(str, 16)) }, +}; + +export default class EntitiesParser { + constructor(replaceHtmlEntities) { + this.replaceHtmlEntities = replaceHtmlEntities; + this.docTypeEntities = {}; + this.lastEntities = { + "apos": { regex: /&(apos|#39|#x27);/g, val: "'" }, + "gt": { regex: /&(gt|#62|#x3E);/g, val: ">" }, + "lt": { regex: /&(lt|#60|#x3C);/g, val: "<" }, + "quot": { regex: /&(quot|#34|#x22);/g, val: "\"" }, + }; + } + + addExternalEntities(externalEntities) { + const entKeys = Object.keys(externalEntities); + for (let i = 0; i < entKeys.length; i++) { + const ent = entKeys[i]; + this.addExternalEntity(ent, externalEntities[ent]) + } + } + addExternalEntity(key, val) { + validateEntityName(key); + if (val.indexOf("&") !== -1) { + reportWarning(`Entity ${key} is not added as '&' is found in value;`) + return; + } else { + this.lastEntities[ent] = { + regex: new RegExp("&" + key + ";", "g"), + val: val + } + } + } + + addDocTypeEntities(entities) { + const entKeys = Object.keys(entities); + for (let i = 0; i < entKeys.length; i++) { + const ent = entKeys[i]; + this.docTypeEntities[ent] = { + regex: new RegExp("&" + ent + ";", "g"), + val: entities[ent] + } + } + } + + parse(val) { + return this.replaceEntitiesValue(val) + } + + /** + * 1. Replace DOCTYPE entities + * 2. Replace external entities + * 3. Replace HTML entities if asked + * @param {string} val + */ + replaceEntitiesValue(val) { + if (typeof val === "string" && val.length > 0) { + for (let entityName in this.docTypeEntities) { + const entity = this.docTypeEntities[entityName]; + val = val.replace(entity.regx, entity.val); + } + for (let entityName in this.lastEntities) { + const entity = this.lastEntities[entityName]; + val = val.replace(entity.regex, entity.val); + } + if (this.replaceHtmlEntities) { + for (let entityName in htmlEntities) { + const entity = htmlEntities[entityName]; + val = val.replace(entity.regex, entity.val); + } + } + val = val.replace(ampEntity.regex, ampEntity.val); + } + return val; + } +}; + +//an entity name should not contains special characters that may be used in regex +//Eg !?\\\/[]$%{}^&*()<> +const specialChar = "!?\\\/[]$%{}^&*()<>|+"; + +function validateEntityName(name) { + for (let i = 0; i < specialChar.length; i++) { + const ch = specialChar[i]; + if (name.indexOf(ch) !== -1) throw new Error(`Invalid character ${ch} in entity name`); + } + return name; +} diff --git a/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js b/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js new file mode 100644 index 0000000..bc8f806 --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js @@ -0,0 +1,22 @@ +export default class boolParser{ + constructor(trueList, falseList){ + if(trueList) + this.trueList = trueList; + else + this.trueList = ["true"]; + + if(falseList) + this.falseList = falseList; + else + this.falseList = ["false"]; + } + parse(val){ + if (typeof val === 'string') { + //TODO: performance: don't convert + const temp = val.toLowerCase(); + if(this.trueList.indexOf(temp) !== -1) return true; + else if(this.falseList.indexOf(temp) !== -1 ) return false; + } + return val; + } +} diff --git a/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js b/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js new file mode 100644 index 0000000..ec3ba42 --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js @@ -0,0 +1,19 @@ +export default function boolParserExt(val){ + if(isArray(val)){ + for (let i = 0; i < val.length; i++) { + val[i] = parse(val[i]) + } + }else{ + val = parse(val) + } + return val; +} + +function parse(val){ + if (typeof val === 'string') { + const temp = val.toLowerCase(); + if(temp === 'true' || temp ==="yes" || temp==="1") return true; + else if(temp === 'false' || temp ==="no" || temp==="0") return false; + } + return val; +} diff --git a/node_modules/fast-xml-parser/src/v6/valueParsers/currency.js b/node_modules/fast-xml-parser/src/v6/valueParsers/currency.js new file mode 100644 index 0000000..3772817 --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/valueParsers/currency.js @@ -0,0 +1,38 @@ +const defaultOptions = { + maxLength: 200, + // locale: "en-IN" +} +const localeMap = { + "$":"en-US", + "€":"de-DE", + "£":"en-GB", + "¥":"ja-JP", + "₹":"en-IN", +} +const sign = "(?:-|\+)?"; +const digitsAndSeparator = "(?:\d+|\d{1,3}(?:,\d{3})+)"; +const decimalPart = "(?:\.\d{1,2})?"; +const symbol = "(?:\$|€|¥|₹)?"; + +const currencyCheckRegex = /^\s*(?:-|\+)?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d{1,2})?\s*(?:\$|€|¥|₹)?\s*$/u; + +export default class CurrencyParser{ + constructor(options){ + this.options = options || defaultOptions; + } + parse(val){ + if (typeof val === 'string' && val.length <= this.options.maxLength) { + if(val.indexOf(",,") !== -1 && val.indexOf(".." !== -1)){ + const match = val.match(currencyCheckRegex); + if(match){ + const locale = this.options.locale || localeMap[match[2]||match[5]||"₹"]; + const formatter = new Intl.NumberFormat(locale) + val = val.replace(/[^0-9,.]/g, '').trim(); + val = Number(val.replace(formatter.format(1000)[1], '')); + } + } + } + return val; + } +} +CurrencyParser.defaultOptions = defaultOptions; diff --git a/node_modules/fast-xml-parser/src/v6/valueParsers/join.js b/node_modules/fast-xml-parser/src/v6/valueParsers/join.js new file mode 100644 index 0000000..f597d99 --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/valueParsers/join.js @@ -0,0 +1,13 @@ +/** + * + * @param {array} val + * @param {string} by + * @returns + */ +export default function join(val, by=" "){ + if(isArray(val)){ + val.join(by) + } + return val; +} + diff --git a/node_modules/fast-xml-parser/src/v6/valueParsers/number.js b/node_modules/fast-xml-parser/src/v6/valueParsers/number.js new file mode 100644 index 0000000..8397fb6 --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/valueParsers/number.js @@ -0,0 +1,14 @@ +import toNumber from "strnum"; + + +export default class numParser{ + constructor(options){ + this.options = options; + } + parse(val){ + if (typeof val === 'string') { + val = toNumber(val,this.options); + } + return val; + } +} diff --git a/node_modules/fast-xml-parser/src/v6/valueParsers/trim.js b/node_modules/fast-xml-parser/src/v6/valueParsers/trim.js new file mode 100644 index 0000000..50eed7f --- /dev/null +++ b/node_modules/fast-xml-parser/src/v6/valueParsers/trim.js @@ -0,0 +1,6 @@ +export default class trimmer{ + parse(val){ + if(typeof val === "string") return val.trim(); + else return val; + } +} diff --git a/node_modules/fast-xml-parser/src/validator.js b/node_modules/fast-xml-parser/src/validator.js new file mode 100644 index 0000000..277225c --- /dev/null +++ b/node_modules/fast-xml-parser/src/validator.js @@ -0,0 +1,425 @@ +'use strict'; + +import { getAllMatches, isName } from './util.js'; + +const defaultOptions = { + allowBooleanAttributes: false, //A tag can have attributes without any value + unpairedTags: [] +}; + +//const tagsPattern = new RegExp("<\\/?([\\w:\\-_\.]+)\\s*\/?>","g"); +export function validate(xmlData, options) { + options = Object.assign({}, defaultOptions, options); + + //xmlData = xmlData.replace(/(\r\n|\n|\r)/gm,"");//make it single line + //xmlData = xmlData.replace(/(^\s*<\?xml.*?\?>)/g,"");//Remove XML starting tag + //xmlData = xmlData.replace(/()/g,"");//Remove DOCTYPE + const tags = []; + let tagFound = false; + + //indicates that the root tag has been closed (aka. depth 0 has been reached) + let reachedRoot = false; + + if (xmlData[0] === '\ufeff') { + // check for byte order mark (BOM) + xmlData = xmlData.substr(1); + } + + for (let i = 0; i < xmlData.length; i++) { + + if (xmlData[i] === '<' && xmlData[i + 1] === '?') { + i += 2; + i = readPI(xmlData, i); + if (i.err) return i; + } else if (xmlData[i] === '<') { + //starting of tag + //read until you reach to '>' avoiding any '>' in attribute value + let tagStartPos = i; + i++; + + if (xmlData[i] === '!') { + i = readCommentAndCDATA(xmlData, i); + continue; + } else { + let closingTag = false; + if (xmlData[i] === '/') { + //closing tag + closingTag = true; + i++; + } + //read tagname + let tagName = ''; + for (; i < xmlData.length && + xmlData[i] !== '>' && + xmlData[i] !== ' ' && + xmlData[i] !== '\t' && + xmlData[i] !== '\n' && + xmlData[i] !== '\r'; i++ + ) { + tagName += xmlData[i]; + } + tagName = tagName.trim(); + //console.log(tagName); + + if (tagName[tagName.length - 1] === '/') { + //self closing tag without attributes + tagName = tagName.substring(0, tagName.length - 1); + //continue; + i--; + } + if (!validateTagName(tagName)) { + let msg; + if (tagName.trim().length === 0) { + msg = "Invalid space after '<'."; + } else { + msg = "Tag '" + tagName + "' is an invalid name."; + } + return getErrorObject('InvalidTag', msg, getLineNumberForPosition(xmlData, i)); + } + + const result = readAttributeStr(xmlData, i); + if (result === false) { + return getErrorObject('InvalidAttr', "Attributes for '" + tagName + "' have open quote.", getLineNumberForPosition(xmlData, i)); + } + let attrStr = result.value; + i = result.index; + + if (attrStr[attrStr.length - 1] === '/') { + //self closing tag + const attrStrStart = i - attrStr.length; + attrStr = attrStr.substring(0, attrStr.length - 1); + const isValid = validateAttributeString(attrStr, options); + if (isValid === true) { + tagFound = true; + //continue; //text may presents after self closing tag + } else { + //the result from the nested function returns the position of the error within the attribute + //in order to get the 'true' error line, we need to calculate the position where the attribute begins (i - attrStr.length) and then add the position within the attribute + //this gives us the absolute index in the entire xml, which we can use to find the line at last + return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, attrStrStart + isValid.err.line)); + } + } else if (closingTag) { + if (!result.tagClosed) { + return getErrorObject('InvalidTag', "Closing tag '" + tagName + "' doesn't have proper closing.", getLineNumberForPosition(xmlData, i)); + } else if (attrStr.trim().length > 0) { + return getErrorObject('InvalidTag', "Closing tag '" + tagName + "' can't have attributes or invalid starting.", getLineNumberForPosition(xmlData, tagStartPos)); + } else if (tags.length === 0) { + return getErrorObject('InvalidTag', "Closing tag '" + tagName + "' has not been opened.", getLineNumberForPosition(xmlData, tagStartPos)); + } else { + const otg = tags.pop(); + if (tagName !== otg.tagName) { + let openPos = getLineNumberForPosition(xmlData, otg.tagStartPos); + return getErrorObject('InvalidTag', + "Expected closing tag '" + otg.tagName + "' (opened in line " + openPos.line + ", col " + openPos.col + ") instead of closing tag '" + tagName + "'.", + getLineNumberForPosition(xmlData, tagStartPos)); + } + + //when there are no more tags, we reached the root level. + if (tags.length == 0) { + reachedRoot = true; + } + } + } else { + const isValid = validateAttributeString(attrStr, options); + if (isValid !== true) { + //the result from the nested function returns the position of the error within the attribute + //in order to get the 'true' error line, we need to calculate the position where the attribute begins (i - attrStr.length) and then add the position within the attribute + //this gives us the absolute index in the entire xml, which we can use to find the line at last + return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, i - attrStr.length + isValid.err.line)); + } + + //if the root level has been reached before ... + if (reachedRoot === true) { + return getErrorObject('InvalidXml', 'Multiple possible root nodes found.', getLineNumberForPosition(xmlData, i)); + } else if (options.unpairedTags.indexOf(tagName) !== -1) { + //don't push into stack + } else { + tags.push({ tagName, tagStartPos }); + } + tagFound = true; + } + + //skip tag text value + //It may include comments and CDATA value + for (i++; i < xmlData.length; i++) { + if (xmlData[i] === '<') { + if (xmlData[i + 1] === '!') { + //comment or CADATA + i++; + i = readCommentAndCDATA(xmlData, i); + continue; + } else if (xmlData[i + 1] === '?') { + i = readPI(xmlData, ++i); + if (i.err) return i; + } else { + break; + } + } else if (xmlData[i] === '&') { + const afterAmp = validateAmpersand(xmlData, i); + if (afterAmp == -1) + return getErrorObject('InvalidChar', "char '&' is not expected.", getLineNumberForPosition(xmlData, i)); + i = afterAmp; + } else { + if (reachedRoot === true && !isWhiteSpace(xmlData[i])) { + return getErrorObject('InvalidXml', "Extra text at the end", getLineNumberForPosition(xmlData, i)); + } + } + } //end of reading tag text value + if (xmlData[i] === '<') { + i--; + } + } + } else { + if (isWhiteSpace(xmlData[i])) { + continue; + } + return getErrorObject('InvalidChar', "char '" + xmlData[i] + "' is not expected.", getLineNumberForPosition(xmlData, i)); + } + } + + if (!tagFound) { + return getErrorObject('InvalidXml', 'Start tag expected.', 1); + } else if (tags.length == 1) { + return getErrorObject('InvalidTag', "Unclosed tag '" + tags[0].tagName + "'.", getLineNumberForPosition(xmlData, tags[0].tagStartPos)); + } else if (tags.length > 0) { + return getErrorObject('InvalidXml', "Invalid '" + + JSON.stringify(tags.map(t => t.tagName), null, 4).replace(/\r?\n/g, '') + + "' found.", { line: 1, col: 1 }); + } + + return true; +}; + +function isWhiteSpace(char) { + return char === ' ' || char === '\t' || char === '\n' || char === '\r'; +} +/** + * Read Processing insstructions and skip + * @param {*} xmlData + * @param {*} i + */ +function readPI(xmlData, i) { + const start = i; + for (; i < xmlData.length; i++) { + if (xmlData[i] == '?' || xmlData[i] == ' ') { + //tagname + const tagname = xmlData.substr(start, i - start); + if (i > 5 && tagname === 'xml') { + return getErrorObject('InvalidXml', 'XML declaration allowed only at the start of the document.', getLineNumberForPosition(xmlData, i)); + } else if (xmlData[i] == '?' && xmlData[i + 1] == '>') { + //check if valid attribut string + i++; + break; + } else { + continue; + } + } + } + return i; +} + +function readCommentAndCDATA(xmlData, i) { + if (xmlData.length > i + 5 && xmlData[i + 1] === '-' && xmlData[i + 2] === '-') { + //comment + for (i += 3; i < xmlData.length; i++) { + if (xmlData[i] === '-' && xmlData[i + 1] === '-' && xmlData[i + 2] === '>') { + i += 2; + break; + } + } + } else if ( + xmlData.length > i + 8 && + xmlData[i + 1] === 'D' && + xmlData[i + 2] === 'O' && + xmlData[i + 3] === 'C' && + xmlData[i + 4] === 'T' && + xmlData[i + 5] === 'Y' && + xmlData[i + 6] === 'P' && + xmlData[i + 7] === 'E' + ) { + let angleBracketsCount = 1; + for (i += 8; i < xmlData.length; i++) { + if (xmlData[i] === '<') { + angleBracketsCount++; + } else if (xmlData[i] === '>') { + angleBracketsCount--; + if (angleBracketsCount === 0) { + break; + } + } + } + } else if ( + xmlData.length > i + 9 && + xmlData[i + 1] === '[' && + xmlData[i + 2] === 'C' && + xmlData[i + 3] === 'D' && + xmlData[i + 4] === 'A' && + xmlData[i + 5] === 'T' && + xmlData[i + 6] === 'A' && + xmlData[i + 7] === '[' + ) { + for (i += 8; i < xmlData.length; i++) { + if (xmlData[i] === ']' && xmlData[i + 1] === ']' && xmlData[i + 2] === '>') { + i += 2; + break; + } + } + } + + return i; +} + +const doubleQuote = '"'; +const singleQuote = "'"; + +/** + * Keep reading xmlData until '<' is found outside the attribute value. + * @param {string} xmlData + * @param {number} i + */ +function readAttributeStr(xmlData, i) { + let attrStr = ''; + let startChar = ''; + let tagClosed = false; + for (; i < xmlData.length; i++) { + if (xmlData[i] === doubleQuote || xmlData[i] === singleQuote) { + if (startChar === '') { + startChar = xmlData[i]; + } else if (startChar !== xmlData[i]) { + //if vaue is enclosed with double quote then single quotes are allowed inside the value and vice versa + } else { + startChar = ''; + } + } else if (xmlData[i] === '>') { + if (startChar === '') { + tagClosed = true; + break; + } + } + attrStr += xmlData[i]; + } + if (startChar !== '') { + return false; + } + + return { + value: attrStr, + index: i, + tagClosed: tagClosed + }; +} + +/** + * Select all the attributes whether valid or invalid. + */ +const validAttrStrRegxp = new RegExp('(\\s*)([^\\s=]+)(\\s*=)?(\\s*([\'"])(([\\s\\S])*?)\\5)?', 'g'); + +//attr, ="sd", a="amit's", a="sd"b="saf", ab cd="" + +function validateAttributeString(attrStr, options) { + //console.log("start:"+attrStr+":end"); + + //if(attrStr.trim().length === 0) return true; //empty string + + const matches = getAllMatches(attrStr, validAttrStrRegxp); + const attrNames = {}; + + for (let i = 0; i < matches.length; i++) { + if (matches[i][1].length === 0) { + //nospace before attribute name: a="sd"b="saf" + return getErrorObject('InvalidAttr', "Attribute '" + matches[i][2] + "' has no space in starting.", getPositionFromMatch(matches[i])) + } else if (matches[i][3] !== undefined && matches[i][4] === undefined) { + return getErrorObject('InvalidAttr', "Attribute '" + matches[i][2] + "' is without value.", getPositionFromMatch(matches[i])); + } else if (matches[i][3] === undefined && !options.allowBooleanAttributes) { + //independent attribute: ab + return getErrorObject('InvalidAttr', "boolean attribute '" + matches[i][2] + "' is not allowed.", getPositionFromMatch(matches[i])); + } + /* else if(matches[i][6] === undefined){//attribute without value: ab= + return { err: { code:"InvalidAttr",msg:"attribute " + matches[i][2] + " has no value assigned."}}; + } */ + const attrName = matches[i][2]; + if (!validateAttrName(attrName)) { + return getErrorObject('InvalidAttr', "Attribute '" + attrName + "' is an invalid name.", getPositionFromMatch(matches[i])); + } + if (!Object.prototype.hasOwnProperty.call(attrNames, attrName)) { + //check for duplicate attribute. + attrNames[attrName] = 1; + } else { + return getErrorObject('InvalidAttr', "Attribute '" + attrName + "' is repeated.", getPositionFromMatch(matches[i])); + } + } + + return true; +} + +function validateNumberAmpersand(xmlData, i) { + let re = /\d/; + if (xmlData[i] === 'x') { + i++; + re = /[\da-fA-F]/; + } + for (; i < xmlData.length; i++) { + if (xmlData[i] === ';') + return i; + if (!xmlData[i].match(re)) + break; + } + return -1; +} + +function validateAmpersand(xmlData, i) { + // https://www.w3.org/TR/xml/#dt-charref + i++; + if (xmlData[i] === ';') + return -1; + if (xmlData[i] === '#') { + i++; + return validateNumberAmpersand(xmlData, i); + } + let count = 0; + for (; i < xmlData.length; i++, count++) { + if (xmlData[i].match(/\w/) && count < 20) + continue; + if (xmlData[i] === ';') + break; + return -1; + } + return i; +} + +function getErrorObject(code, message, lineNumber) { + return { + err: { + code: code, + msg: message, + line: lineNumber.line || lineNumber, + col: lineNumber.col, + }, + }; +} + +function validateAttrName(attrName) { + return isName(attrName); +} + +// const startsWithXML = /^xml/i; + +function validateTagName(tagname) { + return isName(tagname) /* && !tagname.match(startsWithXML) */; +} + +//this function returns the line number for the character at the given index +function getLineNumberForPosition(xmlData, index) { + const lines = xmlData.substring(0, index).split(/\r?\n/); + return { + line: lines.length, + + // column number is last line's length + 1, because column numbering starts at 1: + col: lines[lines.length - 1].length + 1 + }; +} + +//this function returns the position of the first character of match within attrStr +function getPositionFromMatch(match) { + return match.startIndex + match[1].length; +} diff --git a/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js b/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js new file mode 100644 index 0000000..30cfaa1 --- /dev/null +++ b/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js @@ -0,0 +1,6 @@ +// Re-export from fast-xml-builder for backward compatibility +import XMLBuilder from 'fast-xml-builder'; +export default XMLBuilder; + +// If there are any named exports you also want to re-export: +export * from 'fast-xml-builder'; \ No newline at end of file diff --git a/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js b/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js new file mode 100644 index 0000000..18dc310 --- /dev/null +++ b/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js @@ -0,0 +1,410 @@ +import { isName } from '../util.js'; + +export default class DocTypeReader { + constructor(options) { + this.suppressValidationErr = !options; + this.options = options; + } + + readDocType(xmlData, i) { + const entities = Object.create(null); + let entityCount = 0; + + if (xmlData[i + 3] === 'O' && + xmlData[i + 4] === 'C' && + xmlData[i + 5] === 'T' && + xmlData[i + 6] === 'Y' && + xmlData[i + 7] === 'P' && + xmlData[i + 8] === 'E') { + i = i + 9; + let angleBracketsCount = 1; + let hasBody = false, comment = false; + let exp = ""; + for (; i < xmlData.length; i++) { + if (xmlData[i] === '<' && !comment) { //Determine the tag type + if (hasBody && hasSeq(xmlData, "!ENTITY", i)) { + i += 7; + let entityName, val; + [entityName, val, i] = this.readEntityExp(xmlData, i + 1, this.suppressValidationErr); + if (val.indexOf("&") === -1) { //Parameter entities are not supported + if (this.options.enabled !== false && + this.options.maxEntityCount != null && + entityCount >= this.options.maxEntityCount) { + throw new Error( + `Entity count (${entityCount + 1}) exceeds maximum allowed (${this.options.maxEntityCount})` + ); + } + //const escaped = entityName.replace(/[.\-+*:]/g, '\\.'); + const escaped = entityName.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); + entities[entityName] = { + regx: RegExp(`&${escaped};`, "g"), + val: val + }; + entityCount++; + } + } + else if (hasBody && hasSeq(xmlData, "!ELEMENT", i)) { + i += 8;//Not supported + const { index } = this.readElementExp(xmlData, i + 1); + i = index; + } else if (hasBody && hasSeq(xmlData, "!ATTLIST", i)) { + i += 8;//Not supported + // const {index} = this.readAttlistExp(xmlData,i+1); + // i = index; + } else if (hasBody && hasSeq(xmlData, "!NOTATION", i)) { + i += 9;//Not supported + const { index } = this.readNotationExp(xmlData, i + 1, this.suppressValidationErr); + i = index; + } else if (hasSeq(xmlData, "!--", i)) comment = true; + else throw new Error(`Invalid DOCTYPE`); + + angleBracketsCount++; + exp = ""; + } else if (xmlData[i] === '>') { //Read tag content + if (comment) { + if (xmlData[i - 1] === "-" && xmlData[i - 2] === "-") { + comment = false; + angleBracketsCount--; + } + } else { + angleBracketsCount--; + } + if (angleBracketsCount === 0) { + break; + } + } else if (xmlData[i] === '[') { + hasBody = true; + } else { + exp += xmlData[i]; + } + } + if (angleBracketsCount !== 0) { + throw new Error(`Unclosed DOCTYPE`); + } + } else { + throw new Error(`Invalid Tag instead of DOCTYPE`); + } + return { entities, i }; + } + readEntityExp(xmlData, i) { + //External entities are not supported + // + + //Parameter entities are not supported + // + + //Internal entities are supported + // + + // Skip leading whitespace after this.options.maxEntitySize) { + throw new Error( + `Entity "${entityName}" size (${entityValue.length}) exceeds maximum allowed size (${this.options.maxEntitySize})` + ); + } + + i--; + return [entityName, entityValue, i]; + } + + readNotationExp(xmlData, i) { + // Skip leading whitespace after + // + // + // + // + + // Skip leading whitespace after { + while (index < data.length && /\s/.test(data[index])) { + index++; + } + return index; +}; + + + +function hasSeq(data, seq, i) { + for (let j = 0; j < seq.length; j++) { + if (seq[j] !== data[i + j + 1]) return false; + } + return true; +} + +function validateEntityName(name) { + if (isName(name)) + return name; + else + throw new Error(`Invalid entity name ${name}`); +} \ No newline at end of file diff --git a/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js b/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js new file mode 100644 index 0000000..baf6f9c --- /dev/null +++ b/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js @@ -0,0 +1,159 @@ +import { DANGEROUS_PROPERTY_NAMES, criticalProperties } from "../util.js"; + +const defaultOnDangerousProperty = (name) => { + if (DANGEROUS_PROPERTY_NAMES.includes(name)) { + return "__" + name; + } + return name; +}; + + +export const defaultOptions = { + preserveOrder: false, + attributeNamePrefix: '@_', + attributesGroupName: false, + textNodeName: '#text', + ignoreAttributes: true, + removeNSPrefix: false, // remove NS from tag name or attribute name if true + allowBooleanAttributes: false, //a tag can have attributes without any value + //ignoreRootElement : false, + parseTagValue: true, + parseAttributeValue: false, + trimValues: true, //Trim string values of tag and attributes + cdataPropName: false, + numberParseOptions: { + hex: true, + leadingZeros: true, + eNotation: true + }, + tagValueProcessor: function (tagName, val) { + return val; + }, + attributeValueProcessor: function (attrName, val) { + return val; + }, + stopNodes: [], //nested tags will not be parsed even for errors + alwaysCreateTextNode: false, + isArray: () => false, + commentPropName: false, + unpairedTags: [], + processEntities: true, + htmlEntities: false, + ignoreDeclaration: false, + ignorePiTags: false, + transformTagName: false, + transformAttributeName: false, + updateTag: function (tagName, jPath, attrs) { + return tagName + }, + // skipEmptyListItem: false + captureMetaData: false, + maxNestedTags: 100, + strictReservedNames: true, + jPath: true, // if true, pass jPath string to callbacks; if false, pass matcher instance + onDangerousProperty: defaultOnDangerousProperty +}; + + +/** + * Validates that a property name is safe to use + * @param {string} propertyName - The property name to validate + * @param {string} optionName - The option field name (for error message) + * @throws {Error} If property name is dangerous + */ +function validatePropertyName(propertyName, optionName) { + if (typeof propertyName !== 'string') { + return; // Only validate string property names + } + + const normalized = propertyName.toLowerCase(); + if (DANGEROUS_PROPERTY_NAMES.some(dangerous => normalized === dangerous.toLowerCase())) { + throw new Error( + `[SECURITY] Invalid ${optionName}: "${propertyName}" is a reserved JavaScript keyword that could cause prototype pollution` + ); + } + + if (criticalProperties.some(dangerous => normalized === dangerous.toLowerCase())) { + throw new Error( + `[SECURITY] Invalid ${optionName}: "${propertyName}" is a reserved JavaScript keyword that could cause prototype pollution` + ); + } +} + +/** + * Normalizes processEntities option for backward compatibility + * @param {boolean|object} value + * @returns {object} Always returns normalized object + */ +function normalizeProcessEntities(value) { + // Boolean backward compatibility + if (typeof value === 'boolean') { + return { + enabled: value, // true or false + maxEntitySize: 10000, + maxExpansionDepth: 10, + maxTotalExpansions: 1000, + maxExpandedLength: 100000, + maxEntityCount: 100, + allowedTags: null, + tagFilter: null + }; + } + + // Object config - merge with defaults + if (typeof value === 'object' && value !== null) { + return { + enabled: value.enabled !== false, + maxEntitySize: Math.max(1, value.maxEntitySize ?? 10000), + maxExpansionDepth: Math.max(1, value.maxExpansionDepth ?? 10), + maxTotalExpansions: Math.max(1, value.maxTotalExpansions ?? 1000), + maxExpandedLength: Math.max(1, value.maxExpandedLength ?? 100000), + maxEntityCount: Math.max(1, value.maxEntityCount ?? 100), + allowedTags: value.allowedTags ?? null, + tagFilter: value.tagFilter ?? null + }; + } + + // Default to enabled with limits + return normalizeProcessEntities(true); +} + +export const buildOptions = function (options) { + const built = Object.assign({}, defaultOptions, options); + + // Validate property names to prevent prototype pollution + const propertyNameOptions = [ + { value: built.attributeNamePrefix, name: 'attributeNamePrefix' }, + { value: built.attributesGroupName, name: 'attributesGroupName' }, + { value: built.textNodeName, name: 'textNodeName' }, + { value: built.cdataPropName, name: 'cdataPropName' }, + { value: built.commentPropName, name: 'commentPropName' } + ]; + + for (const { value, name } of propertyNameOptions) { + if (value) { + validatePropertyName(value, name); + } + } + + if (built.onDangerousProperty === null) { + built.onDangerousProperty = defaultOnDangerousProperty; + } + + // Always normalize processEntities for backward compatibility and validation + built.processEntities = normalizeProcessEntities(built.processEntities); + + // Convert old-style stopNodes for backward compatibility + if (built.stopNodes && Array.isArray(built.stopNodes)) { + built.stopNodes = built.stopNodes.map(node => { + if (typeof node === 'string' && node.startsWith('*.')) { + // Old syntax: *.tagname meant "tagname anywhere" + // Convert to new syntax: ..tagname + return '..' + node.substring(2); + } + return node; + }); + } + //console.debug(built.processEntities) + return built; +}; \ No newline at end of file diff --git a/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js b/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js new file mode 100644 index 0000000..50701fc --- /dev/null +++ b/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js @@ -0,0 +1,911 @@ +'use strict'; +///@ts-check + +import { getAllMatches, isExist, DANGEROUS_PROPERTY_NAMES, criticalProperties } from '../util.js'; +import xmlNode from './xmlNode.js'; +import DocTypeReader from './DocTypeReader.js'; +import toNumber from "strnum"; +import getIgnoreAttributesFn from "../ignoreAttributes.js"; +import { Expression, Matcher } from 'path-expression-matcher'; + +// const regx = +// '<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)' +// .replace(/NAME/g, util.nameRegexp); + +//const tagsRegx = new RegExp("<(\\/?[\\w:\\-\._]+)([^>]*)>(\\s*"+cdataRegx+")*([^<]+)?","g"); +//const tagsRegx = new RegExp("<(\\/?)((\\w*:)?([\\w:\\-\._]+))([^>]*)>([^<]*)("+cdataRegx+"([^<]*))*([^<]+)?","g"); + +// Helper functions for attribute and namespace handling + +/** + * Extract raw attributes (without prefix) from prefixed attribute map + * @param {object} prefixedAttrs - Attributes with prefix from buildAttributesMap + * @param {object} options - Parser options containing attributeNamePrefix + * @returns {object} Raw attributes for matcher + */ +function extractRawAttributes(prefixedAttrs, options) { + if (!prefixedAttrs) return {}; + + // Handle attributesGroupName option + const attrs = options.attributesGroupName + ? prefixedAttrs[options.attributesGroupName] + : prefixedAttrs; + + if (!attrs) return {}; + + const rawAttrs = {}; + for (const key in attrs) { + // Remove the attribute prefix to get raw name + if (key.startsWith(options.attributeNamePrefix)) { + const rawName = key.substring(options.attributeNamePrefix.length); + rawAttrs[rawName] = attrs[key]; + } else { + // Attribute without prefix (shouldn't normally happen, but be safe) + rawAttrs[key] = attrs[key]; + } + } + return rawAttrs; +} + +/** + * Extract namespace from raw tag name + * @param {string} rawTagName - Tag name possibly with namespace (e.g., "soap:Envelope") + * @returns {string|undefined} Namespace or undefined + */ +function extractNamespace(rawTagName) { + if (!rawTagName || typeof rawTagName !== 'string') return undefined; + + const colonIndex = rawTagName.indexOf(':'); + if (colonIndex !== -1 && colonIndex > 0) { + const ns = rawTagName.substring(0, colonIndex); + // Don't treat xmlns as a namespace + if (ns !== 'xmlns') { + return ns; + } + } + return undefined; +} + +export default class OrderedObjParser { + constructor(options) { + this.options = options; + this.currentNode = null; + this.tagsNodeStack = []; + this.docTypeEntities = {}; + this.lastEntities = { + "apos": { regex: /&(apos|#39|#x27);/g, val: "'" }, + "gt": { regex: /&(gt|#62|#x3E);/g, val: ">" }, + "lt": { regex: /&(lt|#60|#x3C);/g, val: "<" }, + "quot": { regex: /&(quot|#34|#x22);/g, val: "\"" }, + }; + this.ampEntity = { regex: /&(amp|#38|#x26);/g, val: "&" }; + this.htmlEntities = { + "space": { regex: /&(nbsp|#160);/g, val: " " }, + // "lt" : { regex: /&(lt|#60);/g, val: "<" }, + // "gt" : { regex: /&(gt|#62);/g, val: ">" }, + // "amp" : { regex: /&(amp|#38);/g, val: "&" }, + // "quot" : { regex: /&(quot|#34);/g, val: "\"" }, + // "apos" : { regex: /&(apos|#39);/g, val: "'" }, + "cent": { regex: /&(cent|#162);/g, val: "¢" }, + "pound": { regex: /&(pound|#163);/g, val: "£" }, + "yen": { regex: /&(yen|#165);/g, val: "¥" }, + "euro": { regex: /&(euro|#8364);/g, val: "€" }, + "copyright": { regex: /&(copy|#169);/g, val: "©" }, + "reg": { regex: /&(reg|#174);/g, val: "®" }, + "inr": { regex: /&(inr|#8377);/g, val: "₹" }, + "num_dec": { regex: /&#([0-9]{1,7});/g, val: (_, str) => fromCodePoint(str, 10, "&#") }, + "num_hex": { regex: /&#x([0-9a-fA-F]{1,6});/g, val: (_, str) => fromCodePoint(str, 16, "&#x") }, + }; + this.addExternalEntities = addExternalEntities; + this.parseXml = parseXml; + this.parseTextData = parseTextData; + this.resolveNameSpace = resolveNameSpace; + this.buildAttributesMap = buildAttributesMap; + this.isItStopNode = isItStopNode; + this.replaceEntitiesValue = replaceEntitiesValue; + this.readStopNodeData = readStopNodeData; + this.saveTextToParentTag = saveTextToParentTag; + this.addChild = addChild; + this.ignoreAttributesFn = getIgnoreAttributesFn(this.options.ignoreAttributes) + this.entityExpansionCount = 0; + this.currentExpandedLength = 0; + + // Initialize path matcher for path-expression-matcher + this.matcher = new Matcher(); + + // Live read-only proxy of matcher — PEM creates and caches this internally. + // All user callbacks receive this instead of the mutable matcher. + this.readonlyMatcher = this.matcher.readOnly(); + + // Flag to track if current node is a stop node (optimization) + this.isCurrentNodeStopNode = false; + + // Pre-compile stopNodes expressions + if (this.options.stopNodes && this.options.stopNodes.length > 0) { + this.stopNodeExpressions = []; + for (let i = 0; i < this.options.stopNodes.length; i++) { + const stopNodeExp = this.options.stopNodes[i]; + if (typeof stopNodeExp === 'string') { + // Convert string to Expression object + this.stopNodeExpressions.push(new Expression(stopNodeExp)); + } else if (stopNodeExp instanceof Expression) { + // Already an Expression object + this.stopNodeExpressions.push(stopNodeExp); + } + } + } + } + +} + +function addExternalEntities(externalEntities) { + const entKeys = Object.keys(externalEntities); + for (let i = 0; i < entKeys.length; i++) { + const ent = entKeys[i]; + const escaped = ent.replace(/[.\-+*:]/g, '\\.'); + this.lastEntities[ent] = { + regex: new RegExp("&" + escaped + ";", "g"), + val: externalEntities[ent] + } + } +} + +/** + * @param {string} val + * @param {string} tagName + * @param {string|Matcher} jPath - jPath string or Matcher instance based on options.jPath + * @param {boolean} dontTrim + * @param {boolean} hasAttributes + * @param {boolean} isLeafNode + * @param {boolean} escapeEntities + */ +function parseTextData(val, tagName, jPath, dontTrim, hasAttributes, isLeafNode, escapeEntities) { + if (val !== undefined) { + if (this.options.trimValues && !dontTrim) { + val = val.trim(); + } + if (val.length > 0) { + if (!escapeEntities) val = this.replaceEntitiesValue(val, tagName, jPath); + + // Pass jPath string or matcher based on options.jPath setting + const jPathOrMatcher = this.options.jPath ? jPath.toString() : jPath; + const newval = this.options.tagValueProcessor(tagName, val, jPathOrMatcher, hasAttributes, isLeafNode); + if (newval === null || newval === undefined) { + //don't parse + return val; + } else if (typeof newval !== typeof val || newval !== val) { + //overwrite + return newval; + } else if (this.options.trimValues) { + return parseValue(val, this.options.parseTagValue, this.options.numberParseOptions); + } else { + const trimmedVal = val.trim(); + if (trimmedVal === val) { + return parseValue(val, this.options.parseTagValue, this.options.numberParseOptions); + } else { + return val; + } + } + } + } +} + +function resolveNameSpace(tagname) { + if (this.options.removeNSPrefix) { + const tags = tagname.split(':'); + const prefix = tagname.charAt(0) === '/' ? '/' : ''; + if (tags[0] === 'xmlns') { + return ''; + } + if (tags.length === 2) { + tagname = prefix + tags[1]; + } + } + return tagname; +} + +//TODO: change regex to capture NS +//const attrsRegx = new RegExp("([\\w\\-\\.\\:]+)\\s*=\\s*(['\"])((.|\n)*?)\\2","gm"); +const attrsRegx = new RegExp('([^\\s=]+)\\s*(=\\s*([\'"])([\\s\\S]*?)\\3)?', 'gm'); + +function buildAttributesMap(attrStr, jPath, tagName) { + if (this.options.ignoreAttributes !== true && typeof attrStr === 'string') { + // attrStr = attrStr.replace(/\r?\n/g, ' '); + //attrStr = attrStr || attrStr.trim(); + + const matches = getAllMatches(attrStr, attrsRegx); + const len = matches.length; //don't make it inline + const attrs = {}; + + // First pass: parse all attributes and update matcher with raw values + // This ensures the matcher has all attribute values when processors run + const rawAttrsForMatcher = {}; + for (let i = 0; i < len; i++) { + const attrName = this.resolveNameSpace(matches[i][1]); + const oldVal = matches[i][4]; + + if (attrName.length && oldVal !== undefined) { + let parsedVal = oldVal; + if (this.options.trimValues) { + parsedVal = parsedVal.trim(); + } + parsedVal = this.replaceEntitiesValue(parsedVal, tagName, this.readonlyMatcher); + rawAttrsForMatcher[attrName] = parsedVal; + } + } + + // Update matcher with raw attribute values BEFORE running processors + if (Object.keys(rawAttrsForMatcher).length > 0 && typeof jPath === 'object' && jPath.updateCurrent) { + jPath.updateCurrent(rawAttrsForMatcher); + } + + // Second pass: now process attributes with matcher having full attribute context + for (let i = 0; i < len; i++) { + const attrName = this.resolveNameSpace(matches[i][1]); + + // Convert jPath to string if needed for ignoreAttributesFn + const jPathStr = this.options.jPath ? jPath.toString() : this.readonlyMatcher; + if (this.ignoreAttributesFn(attrName, jPathStr)) { + continue + } + + let oldVal = matches[i][4]; + let aName = this.options.attributeNamePrefix + attrName; + + if (attrName.length) { + if (this.options.transformAttributeName) { + aName = this.options.transformAttributeName(aName); + } + //if (aName === "__proto__") aName = "#__proto__"; + aName = sanitizeName(aName, this.options); + + if (oldVal !== undefined) { + if (this.options.trimValues) { + oldVal = oldVal.trim(); + } + oldVal = this.replaceEntitiesValue(oldVal, tagName, this.readonlyMatcher); + + // Pass jPath string or readonlyMatcher based on options.jPath setting + const jPathOrMatcher = this.options.jPath ? jPath.toString() : this.readonlyMatcher; + const newVal = this.options.attributeValueProcessor(attrName, oldVal, jPathOrMatcher); + if (newVal === null || newVal === undefined) { + //don't parse + attrs[aName] = oldVal; + } else if (typeof newVal !== typeof oldVal || newVal !== oldVal) { + //overwrite + attrs[aName] = newVal; + } else { + //parse + attrs[aName] = parseValue( + oldVal, + this.options.parseAttributeValue, + this.options.numberParseOptions + ); + } + } else if (this.options.allowBooleanAttributes) { + attrs[aName] = true; + } + } + } + + if (!Object.keys(attrs).length) { + return; + } + if (this.options.attributesGroupName) { + const attrCollection = {}; + attrCollection[this.options.attributesGroupName] = attrs; + return attrCollection; + } + return attrs + } +} + +const parseXml = function (xmlData) { + xmlData = xmlData.replace(/\r\n?/g, "\n"); //TODO: remove this line + const xmlObj = new xmlNode('!xml'); + let currentNode = xmlObj; + let textData = ""; + + // Reset matcher for new document + this.matcher.reset(); + + // Reset entity expansion counters for this document + this.entityExpansionCount = 0; + this.currentExpandedLength = 0; + + const docTypeReader = new DocTypeReader(this.options.processEntities); + for (let i = 0; i < xmlData.length; i++) {//for each char in XML data + const ch = xmlData[i]; + if (ch === '<') { + // const nextIndex = i+1; + // const _2ndChar = xmlData[nextIndex]; + if (xmlData[i + 1] === '/') {//Closing Tag + const closeIndex = findClosingIndex(xmlData, ">", i, "Closing Tag is not closed.") + let tagName = xmlData.substring(i + 2, closeIndex).trim(); + + if (this.options.removeNSPrefix) { + const colonIndex = tagName.indexOf(":"); + if (colonIndex !== -1) { + tagName = tagName.substr(colonIndex + 1); + } + } + + tagName = transformTagName(this.options.transformTagName, tagName, "", this.options).tagName; + + if (currentNode) { + textData = this.saveTextToParentTag(textData, currentNode, this.readonlyMatcher); + } + + //check if last tag of nested tag was unpaired tag + const lastTagName = this.matcher.getCurrentTag(); + if (tagName && this.options.unpairedTags.indexOf(tagName) !== -1) { + throw new Error(`Unpaired tag can not be used as closing tag: `); + } + if (lastTagName && this.options.unpairedTags.indexOf(lastTagName) !== -1) { + // Pop the unpaired tag + this.matcher.pop(); + this.tagsNodeStack.pop(); + } + // Pop the closing tag + this.matcher.pop(); + this.isCurrentNodeStopNode = false; // Reset flag when closing tag + + currentNode = this.tagsNodeStack.pop();//avoid recursion, set the parent tag scope + textData = ""; + i = closeIndex; + } else if (xmlData[i + 1] === '?') { + + let tagData = readTagExp(xmlData, i, false, "?>"); + if (!tagData) throw new Error("Pi Tag is not closed."); + + textData = this.saveTextToParentTag(textData, currentNode, this.readonlyMatcher); + if ((this.options.ignoreDeclaration && tagData.tagName === "?xml") || this.options.ignorePiTags) { + //do nothing + } else { + + const childNode = new xmlNode(tagData.tagName); + childNode.add(this.options.textNodeName, ""); + + if (tagData.tagName !== tagData.tagExp && tagData.attrExpPresent) { + childNode[":@"] = this.buildAttributesMap(tagData.tagExp, this.matcher, tagData.tagName); + } + this.addChild(currentNode, childNode, this.readonlyMatcher, i); + } + + + i = tagData.closeIndex + 1; + } else if (xmlData.substr(i + 1, 3) === '!--') { + const endIndex = findClosingIndex(xmlData, "-->", i + 4, "Comment is not closed.") + if (this.options.commentPropName) { + const comment = xmlData.substring(i + 4, endIndex - 2); + + textData = this.saveTextToParentTag(textData, currentNode, this.readonlyMatcher); + + currentNode.add(this.options.commentPropName, [{ [this.options.textNodeName]: comment }]); + } + i = endIndex; + } else if (xmlData.substr(i + 1, 2) === '!D') { + const result = docTypeReader.readDocType(xmlData, i); + this.docTypeEntities = result.entities; + i = result.i; + } else if (xmlData.substr(i + 1, 2) === '![') { + const closeIndex = findClosingIndex(xmlData, "]]>", i, "CDATA is not closed.") - 2; + const tagExp = xmlData.substring(i + 9, closeIndex); + + textData = this.saveTextToParentTag(textData, currentNode, this.readonlyMatcher); + + let val = this.parseTextData(tagExp, currentNode.tagname, this.readonlyMatcher, true, false, true, true); + if (val == undefined) val = ""; + + //cdata should be set even if it is 0 length string + if (this.options.cdataPropName) { + currentNode.add(this.options.cdataPropName, [{ [this.options.textNodeName]: tagExp }]); + } else { + currentNode.add(this.options.textNodeName, val); + } + + i = closeIndex + 2; + } else {//Opening tag + let result = readTagExp(xmlData, i, this.options.removeNSPrefix); + + // Safety check: readTagExp can return undefined + if (!result) { + // Log context for debugging + const context = xmlData.substring(Math.max(0, i - 50), Math.min(xmlData.length, i + 50)); + throw new Error(`readTagExp returned undefined at position ${i}. Context: "${context}"`); + } + + let tagName = result.tagName; + const rawTagName = result.rawTagName; + let tagExp = result.tagExp; + let attrExpPresent = result.attrExpPresent; + let closeIndex = result.closeIndex; + + ({ tagName, tagExp } = transformTagName(this.options.transformTagName, tagName, tagExp, this.options)); + + if (this.options.strictReservedNames && + (tagName === this.options.commentPropName + || tagName === this.options.cdataPropName + || tagName === this.options.textNodeName + || tagName === this.options.attributesGroupName + )) { + throw new Error(`Invalid tag name: ${tagName}`); + } + + //save text as child node + if (currentNode && textData) { + if (currentNode.tagname !== '!xml') { + //when nested tag is found + textData = this.saveTextToParentTag(textData, currentNode, this.readonlyMatcher, false); + } + } + + //check if last tag was unpaired tag + const lastTag = currentNode; + if (lastTag && this.options.unpairedTags.indexOf(lastTag.tagname) !== -1) { + currentNode = this.tagsNodeStack.pop(); + this.matcher.pop(); + } + + // Clean up self-closing syntax BEFORE processing attributes + // This is where tagExp gets the trailing / removed + let isSelfClosing = false; + if (tagExp.length > 0 && tagExp.lastIndexOf("/") === tagExp.length - 1) { + isSelfClosing = true; + if (tagName[tagName.length - 1] === "/") { + tagName = tagName.substr(0, tagName.length - 1); + tagExp = tagName; + } else { + tagExp = tagExp.substr(0, tagExp.length - 1); + } + + // Re-check attrExpPresent after cleaning + attrExpPresent = (tagName !== tagExp); + } + + // Now process attributes with CLEAN tagExp (no trailing /) + let prefixedAttrs = null; + let rawAttrs = {}; + let namespace = undefined; + + // Extract namespace from rawTagName + namespace = extractNamespace(rawTagName); + + // Push tag to matcher FIRST (with empty attrs for now) so callbacks see correct path + if (tagName !== xmlObj.tagname) { + this.matcher.push(tagName, {}, namespace); + } + + // Now build attributes - callbacks will see correct matcher state + if (tagName !== tagExp && attrExpPresent) { + // Build attributes (returns prefixed attributes for the tree) + // Note: buildAttributesMap now internally updates the matcher with raw attributes + prefixedAttrs = this.buildAttributesMap(tagExp, this.matcher, tagName); + + if (prefixedAttrs) { + // Extract raw attributes (without prefix) for our use + rawAttrs = extractRawAttributes(prefixedAttrs, this.options); + } + } + + // Now check if this is a stop node (after attributes are set) + if (tagName !== xmlObj.tagname) { + this.isCurrentNodeStopNode = this.isItStopNode(this.stopNodeExpressions, this.matcher); + } + + const startIndex = i; + if (this.isCurrentNodeStopNode) { + let tagContent = ""; + + // For self-closing tags, content is empty + if (isSelfClosing) { + i = result.closeIndex; + } + //unpaired tag + else if (this.options.unpairedTags.indexOf(tagName) !== -1) { + i = result.closeIndex; + } + //normal tag + else { + //read until closing tag is found + const result = this.readStopNodeData(xmlData, rawTagName, closeIndex + 1); + if (!result) throw new Error(`Unexpected end of ${rawTagName}`); + i = result.i; + tagContent = result.tagContent; + } + + const childNode = new xmlNode(tagName); + + if (prefixedAttrs) { + childNode[":@"] = prefixedAttrs; + } + + // For stop nodes, store raw content as-is without any processing + childNode.add(this.options.textNodeName, tagContent); + + this.matcher.pop(); // Pop the stop node tag + this.isCurrentNodeStopNode = false; // Reset flag + + this.addChild(currentNode, childNode, this.readonlyMatcher, startIndex); + } else { + //selfClosing tag + if (isSelfClosing) { + ({ tagName, tagExp } = transformTagName(this.options.transformTagName, tagName, tagExp, this.options)); + + const childNode = new xmlNode(tagName); + if (prefixedAttrs) { + childNode[":@"] = prefixedAttrs; + } + this.addChild(currentNode, childNode, this.readonlyMatcher, startIndex); + this.matcher.pop(); // Pop self-closing tag + this.isCurrentNodeStopNode = false; // Reset flag + } + else if (this.options.unpairedTags.indexOf(tagName) !== -1) {//unpaired tag + const childNode = new xmlNode(tagName); + if (prefixedAttrs) { + childNode[":@"] = prefixedAttrs; + } + this.addChild(currentNode, childNode, this.readonlyMatcher, startIndex); + this.matcher.pop(); // Pop unpaired tag + this.isCurrentNodeStopNode = false; // Reset flag + i = result.closeIndex; + // Continue to next iteration without changing currentNode + continue; + } + //opening tag + else { + const childNode = new xmlNode(tagName); + if (this.tagsNodeStack.length > this.options.maxNestedTags) { + throw new Error("Maximum nested tags exceeded"); + } + this.tagsNodeStack.push(currentNode); + + if (prefixedAttrs) { + childNode[":@"] = prefixedAttrs; + } + this.addChild(currentNode, childNode, this.readonlyMatcher, startIndex); + currentNode = childNode; + } + textData = ""; + i = closeIndex; + } + } + } else { + textData += xmlData[i]; + } + } + return xmlObj.child; +} + +function addChild(currentNode, childNode, matcher, startIndex) { + // unset startIndex if not requested + if (!this.options.captureMetaData) startIndex = undefined; + + // Pass jPath string or matcher based on options.jPath setting + const jPathOrMatcher = this.options.jPath ? matcher.toString() : matcher; + const result = this.options.updateTag(childNode.tagname, jPathOrMatcher, childNode[":@"]) + if (result === false) { + //do nothing + } else if (typeof result === "string") { + childNode.tagname = result + currentNode.addChild(childNode, startIndex); + } else { + currentNode.addChild(childNode, startIndex); + } +} + +/** + * @param {object} val - Entity object with regex and val properties + * @param {string} tagName - Tag name + * @param {string|Matcher} jPath - jPath string or Matcher instance based on options.jPath + */ +function replaceEntitiesValue(val, tagName, jPath) { + const entityConfig = this.options.processEntities; + + if (!entityConfig || !entityConfig.enabled) { + return val; + } + + // Check if tag is allowed to contain entities + if (entityConfig.allowedTags) { + const jPathOrMatcher = this.options.jPath ? jPath.toString() : jPath; + const allowed = Array.isArray(entityConfig.allowedTags) + ? entityConfig.allowedTags.includes(tagName) + : entityConfig.allowedTags(tagName, jPathOrMatcher); + + if (!allowed) { + return val; + } + } + + // Apply custom tag filter if provided + if (entityConfig.tagFilter) { + const jPathOrMatcher = this.options.jPath ? jPath.toString() : jPath; + if (!entityConfig.tagFilter(tagName, jPathOrMatcher)) { + return val; // Skip based on custom filter + } + } + + // Replace DOCTYPE entities + for (const entityName of Object.keys(this.docTypeEntities)) { + const entity = this.docTypeEntities[entityName]; + const matches = val.match(entity.regx); + + if (matches) { + // Track expansions + this.entityExpansionCount += matches.length; + + // Check expansion limit + if (entityConfig.maxTotalExpansions && + this.entityExpansionCount > entityConfig.maxTotalExpansions) { + throw new Error( + `Entity expansion limit exceeded: ${this.entityExpansionCount} > ${entityConfig.maxTotalExpansions}` + ); + } + + // Store length before replacement + const lengthBefore = val.length; + val = val.replace(entity.regx, entity.val); + + // Check expanded length immediately after replacement + if (entityConfig.maxExpandedLength) { + this.currentExpandedLength += (val.length - lengthBefore); + + if (this.currentExpandedLength > entityConfig.maxExpandedLength) { + throw new Error( + `Total expanded content size exceeded: ${this.currentExpandedLength} > ${entityConfig.maxExpandedLength}` + ); + } + } + } + } + // Replace standard entities + for (const entityName of Object.keys(this.lastEntities)) { + const entity = this.lastEntities[entityName]; + const matches = val.match(entity.regex); + if (matches) { + this.entityExpansionCount += matches.length; + if (entityConfig.maxTotalExpansions && + this.entityExpansionCount > entityConfig.maxTotalExpansions) { + throw new Error( + `Entity expansion limit exceeded: ${this.entityExpansionCount} > ${entityConfig.maxTotalExpansions}` + ); + } + } + val = val.replace(entity.regex, entity.val); + } + if (val.indexOf('&') === -1) return val; + + // Replace HTML entities if enabled + if (this.options.htmlEntities) { + for (const entityName of Object.keys(this.htmlEntities)) { + const entity = this.htmlEntities[entityName]; + const matches = val.match(entity.regex); + if (matches) { + //console.log(matches); + this.entityExpansionCount += matches.length; + if (entityConfig.maxTotalExpansions && + this.entityExpansionCount > entityConfig.maxTotalExpansions) { + throw new Error( + `Entity expansion limit exceeded: ${this.entityExpansionCount} > ${entityConfig.maxTotalExpansions}` + ); + } + } + val = val.replace(entity.regex, entity.val); + } + } + + // Replace ampersand entity last + val = val.replace(this.ampEntity.regex, this.ampEntity.val); + + return val; +} + + +function saveTextToParentTag(textData, parentNode, matcher, isLeafNode) { + if (textData) { //store previously collected data as textNode + if (isLeafNode === undefined) isLeafNode = parentNode.child.length === 0 + + textData = this.parseTextData(textData, + parentNode.tagname, + matcher, + false, + parentNode[":@"] ? Object.keys(parentNode[":@"]).length !== 0 : false, + isLeafNode); + + if (textData !== undefined && textData !== "") + parentNode.add(this.options.textNodeName, textData); + textData = ""; + } + return textData; +} + +//TODO: use jPath to simplify the logic +/** + * @param {Array} stopNodeExpressions - Array of compiled Expression objects + * @param {Matcher} matcher - Current path matcher + */ +function isItStopNode(stopNodeExpressions, matcher) { + if (!stopNodeExpressions || stopNodeExpressions.length === 0) return false; + + for (let i = 0; i < stopNodeExpressions.length; i++) { + if (matcher.matches(stopNodeExpressions[i])) { + return true; + } + } + return false; +} + +/** + * Returns the tag Expression and where it is ending handling single-double quotes situation + * @param {string} xmlData + * @param {number} i starting index + * @returns + */ +function tagExpWithClosingIndex(xmlData, i, closingChar = ">") { + let attrBoundary; + let tagExp = ""; + for (let index = i; index < xmlData.length; index++) { + let ch = xmlData[index]; + if (attrBoundary) { + if (ch === attrBoundary) attrBoundary = "";//reset + } else if (ch === '"' || ch === "'") { + attrBoundary = ch; + } else if (ch === closingChar[0]) { + if (closingChar[1]) { + if (xmlData[index + 1] === closingChar[1]) { + return { + data: tagExp, + index: index + } + } + } else { + return { + data: tagExp, + index: index + } + } + } else if (ch === '\t') { + ch = " " + } + tagExp += ch; + } +} + +function findClosingIndex(xmlData, str, i, errMsg) { + const closingIndex = xmlData.indexOf(str, i); + if (closingIndex === -1) { + throw new Error(errMsg) + } else { + return closingIndex + str.length - 1; + } +} + +function readTagExp(xmlData, i, removeNSPrefix, closingChar = ">") { + const result = tagExpWithClosingIndex(xmlData, i + 1, closingChar); + if (!result) return; + let tagExp = result.data; + const closeIndex = result.index; + const separatorIndex = tagExp.search(/\s/); + let tagName = tagExp; + let attrExpPresent = true; + if (separatorIndex !== -1) {//separate tag name and attributes expression + tagName = tagExp.substring(0, separatorIndex); + tagExp = tagExp.substring(separatorIndex + 1).trimStart(); + } + + const rawTagName = tagName; + if (removeNSPrefix) { + const colonIndex = tagName.indexOf(":"); + if (colonIndex !== -1) { + tagName = tagName.substr(colonIndex + 1); + attrExpPresent = tagName !== result.data.substr(colonIndex + 1); + } + } + + return { + tagName: tagName, + tagExp: tagExp, + closeIndex: closeIndex, + attrExpPresent: attrExpPresent, + rawTagName: rawTagName, + } +} +/** + * find paired tag for a stop node + * @param {string} xmlData + * @param {string} tagName + * @param {number} i + */ +function readStopNodeData(xmlData, tagName, i) { + const startIndex = i; + // Starting at 1 since we already have an open tag + let openTagCount = 1; + + for (; i < xmlData.length; i++) { + if (xmlData[i] === "<") { + if (xmlData[i + 1] === "/") {//close tag + const closeIndex = findClosingIndex(xmlData, ">", i, `${tagName} is not closed`); + let closeTagName = xmlData.substring(i + 2, closeIndex).trim(); + if (closeTagName === tagName) { + openTagCount--; + if (openTagCount === 0) { + return { + tagContent: xmlData.substring(startIndex, i), + i: closeIndex + } + } + } + i = closeIndex; + } else if (xmlData[i + 1] === '?') { + const closeIndex = findClosingIndex(xmlData, "?>", i + 1, "StopNode is not closed.") + i = closeIndex; + } else if (xmlData.substr(i + 1, 3) === '!--') { + const closeIndex = findClosingIndex(xmlData, "-->", i + 3, "StopNode is not closed.") + i = closeIndex; + } else if (xmlData.substr(i + 1, 2) === '![') { + const closeIndex = findClosingIndex(xmlData, "]]>", i, "StopNode is not closed.") - 2; + i = closeIndex; + } else { + const tagData = readTagExp(xmlData, i, '>') + + if (tagData) { + const openTagName = tagData && tagData.tagName; + if (openTagName === tagName && tagData.tagExp[tagData.tagExp.length - 1] !== "/") { + openTagCount++; + } + i = tagData.closeIndex; + } + } + } + }//end for loop +} + +function parseValue(val, shouldParse, options) { + if (shouldParse && typeof val === 'string') { + //console.log(options) + const newval = val.trim(); + if (newval === 'true') return true; + else if (newval === 'false') return false; + else return toNumber(val, options); + } else { + if (isExist(val)) { + return val; + } else { + return ''; + } + } +} + +function fromCodePoint(str, base, prefix) { + const codePoint = Number.parseInt(str, base); + + if (codePoint >= 0 && codePoint <= 0x10FFFF) { + return String.fromCodePoint(codePoint); + } else { + return prefix + str + ";"; + } +} + +function transformTagName(fn, tagName, tagExp, options) { + if (fn) { + const newTagName = fn(tagName); + if (tagExp === tagName) { + tagExp = newTagName + } + tagName = newTagName; + } + tagName = sanitizeName(tagName, options); + return { tagName, tagExp }; +} + + + +function sanitizeName(name, options) { + if (criticalProperties.includes(name)) { + throw new Error(`[SECURITY] Invalid name: "${name}" is a reserved JavaScript keyword that could cause prototype pollution`); + } else if (DANGEROUS_PROPERTY_NAMES.includes(name)) { + return options.onDangerousProperty(name); + } + return name; +} \ No newline at end of file diff --git a/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js b/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js new file mode 100644 index 0000000..aa3f8d9 --- /dev/null +++ b/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js @@ -0,0 +1,71 @@ +import { buildOptions } from './OptionsBuilder.js'; +import OrderedObjParser from './OrderedObjParser.js'; +import prettify from './node2json.js'; +import { validate } from "../validator.js"; +import XmlNode from './xmlNode.js'; + +export default class XMLParser { + + constructor(options) { + this.externalEntities = {}; + this.options = buildOptions(options); + + } + /** + * Parse XML dats to JS object + * @param {string|Uint8Array} xmlData + * @param {boolean|Object} validationOption + */ + parse(xmlData, validationOption) { + if (typeof xmlData !== "string" && xmlData.toString) { + xmlData = xmlData.toString(); + } else if (typeof xmlData !== "string") { + throw new Error("XML data is accepted in String or Bytes[] form.") + } + + if (validationOption) { + if (validationOption === true) validationOption = {}; //validate with default options + + const result = validate(xmlData, validationOption); + if (result !== true) { + throw Error(`${result.err.msg}:${result.err.line}:${result.err.col}`) + } + } + const orderedObjParser = new OrderedObjParser(this.options); + orderedObjParser.addExternalEntities(this.externalEntities); + const orderedResult = orderedObjParser.parseXml(xmlData); + if (this.options.preserveOrder || orderedResult === undefined) return orderedResult; + else return prettify(orderedResult, this.options, orderedObjParser.matcher, orderedObjParser.readonlyMatcher); + } + + /** + * Add Entity which is not by default supported by this library + * @param {string} key + * @param {string} value + */ + addEntity(key, value) { + if (value.indexOf("&") !== -1) { + throw new Error("Entity value can't have '&'") + } else if (key.indexOf("&") !== -1 || key.indexOf(";") !== -1) { + throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '") + } else if (value === "&") { + throw new Error("An entity with value '&' is not permitted"); + } else { + this.externalEntities[key] = value; + } + } + + /** + * Returns a Symbol that can be used to access the metadata + * property on a node. + * + * If Symbol is not available in the environment, an ordinary property is used + * and the name of the property is here returned. + * + * The XMLMetaData property is only present when `captureMetaData` + * is true in the options. + */ + static getMetaDataSymbol() { + return XmlNode.getMetaDataSymbol(); + } +} \ No newline at end of file diff --git a/node_modules/fast-xml-parser/src/xmlparser/node2json.js b/node_modules/fast-xml-parser/src/xmlparser/node2json.js new file mode 100644 index 0000000..c31968a --- /dev/null +++ b/node_modules/fast-xml-parser/src/xmlparser/node2json.js @@ -0,0 +1,173 @@ +'use strict'; + +import XmlNode from './xmlNode.js'; +import { Matcher } from 'path-expression-matcher'; + +const METADATA_SYMBOL = XmlNode.getMetaDataSymbol(); + +/** + * Helper function to strip attribute prefix from attribute map + * @param {object} attrs - Attributes with prefix (e.g., {"@_class": "code"}) + * @param {string} prefix - Attribute prefix to remove (e.g., "@_") + * @returns {object} Attributes without prefix (e.g., {"class": "code"}) + */ +function stripAttributePrefix(attrs, prefix) { + if (!attrs || typeof attrs !== 'object') return {}; + if (!prefix) return attrs; + + const rawAttrs = {}; + for (const key in attrs) { + if (key.startsWith(prefix)) { + const rawName = key.substring(prefix.length); + rawAttrs[rawName] = attrs[key]; + } else { + // Attribute without prefix (shouldn't normally happen, but be safe) + rawAttrs[key] = attrs[key]; + } + } + return rawAttrs; +} + +/** + * + * @param {array} node + * @param {any} options + * @param {Matcher} matcher - Path matcher instance + * @returns + */ +export default function prettify(node, options, matcher, readonlyMatcher) { + return compress(node, options, matcher, readonlyMatcher); +} + +/** + * @param {array} arr + * @param {object} options + * @param {Matcher} matcher - Path matcher instance + * @returns object + */ +function compress(arr, options, matcher, readonlyMatcher) { + let text; + const compressedObj = {}; //This is intended to be a plain object + for (let i = 0; i < arr.length; i++) { + const tagObj = arr[i]; + const property = propName(tagObj); + + // Push current property to matcher WITH RAW ATTRIBUTES (no prefix) + if (property !== undefined && property !== options.textNodeName) { + const rawAttrs = stripAttributePrefix( + tagObj[":@"] || {}, + options.attributeNamePrefix + ); + matcher.push(property, rawAttrs); + } + + if (property === options.textNodeName) { + if (text === undefined) text = tagObj[property]; + else text += "" + tagObj[property]; + } else if (property === undefined) { + continue; + } else if (tagObj[property]) { + + let val = compress(tagObj[property], options, matcher, readonlyMatcher); + const isLeaf = isLeafTag(val, options); + + if (tagObj[":@"]) { + assignAttributes(val, tagObj[":@"], readonlyMatcher, options); + } else if (Object.keys(val).length === 1 && val[options.textNodeName] !== undefined && !options.alwaysCreateTextNode) { + val = val[options.textNodeName]; + } else if (Object.keys(val).length === 0) { + if (options.alwaysCreateTextNode) val[options.textNodeName] = ""; + else val = ""; + } + + if (tagObj[METADATA_SYMBOL] !== undefined && typeof val === "object" && val !== null) { + val[METADATA_SYMBOL] = tagObj[METADATA_SYMBOL]; // copy over metadata + } + + + if (compressedObj[property] !== undefined && Object.prototype.hasOwnProperty.call(compressedObj, property)) { + if (!Array.isArray(compressedObj[property])) { + compressedObj[property] = [compressedObj[property]]; + } + compressedObj[property].push(val); + } else { + //TODO: if a node is not an array, then check if it should be an array + //also determine if it is a leaf node + + // Pass jPath string or readonlyMatcher based on options.jPath setting + const jPathOrMatcher = options.jPath ? readonlyMatcher.toString() : readonlyMatcher; + if (options.isArray(property, jPathOrMatcher, isLeaf)) { + compressedObj[property] = [val]; + } else { + compressedObj[property] = val; + } + } + + // Pop property from matcher after processing + if (property !== undefined && property !== options.textNodeName) { + matcher.pop(); + } + } + + } + // if(text && text.length > 0) compressedObj[options.textNodeName] = text; + if (typeof text === "string") { + if (text.length > 0) compressedObj[options.textNodeName] = text; + } else if (text !== undefined) compressedObj[options.textNodeName] = text; + + + return compressedObj; +} + +function propName(obj) { + const keys = Object.keys(obj); + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + if (key !== ":@") return key; + } +} + +function assignAttributes(obj, attrMap, readonlyMatcher, options) { + if (attrMap) { + const keys = Object.keys(attrMap); + const len = keys.length; //don't make it inline + for (let i = 0; i < len; i++) { + const atrrName = keys[i]; // This is the PREFIXED name (e.g., "@_class") + + // Strip prefix for matcher path (for isArray callback) + const rawAttrName = atrrName.startsWith(options.attributeNamePrefix) + ? atrrName.substring(options.attributeNamePrefix.length) + : atrrName; + + // For attributes, we need to create a temporary path + // Pass jPath string or matcher based on options.jPath setting + const jPathOrMatcher = options.jPath + ? readonlyMatcher.toString() + "." + rawAttrName + : readonlyMatcher; + + if (options.isArray(atrrName, jPathOrMatcher, true, true)) { + obj[atrrName] = [attrMap[atrrName]]; + } else { + obj[atrrName] = attrMap[atrrName]; + } + } + } +} + +function isLeafTag(obj, options) { + const { textNodeName } = options; + const propCount = Object.keys(obj).length; + + if (propCount === 0) { + return true; + } + + if ( + propCount === 1 && + (obj[textNodeName] || typeof obj[textNodeName] === "boolean" || obj[textNodeName] === 0) + ) { + return true; + } + + return false; +} \ No newline at end of file diff --git a/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js b/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js new file mode 100644 index 0000000..4223a8d --- /dev/null +++ b/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js @@ -0,0 +1,40 @@ +'use strict'; + +let METADATA_SYMBOL; + +if (typeof Symbol !== "function") { + METADATA_SYMBOL = "@@xmlMetadata"; +} else { + METADATA_SYMBOL = Symbol("XML Node Metadata"); +} + +export default class XmlNode { + constructor(tagname) { + this.tagname = tagname; + this.child = []; //nested tags, text, cdata, comments in order + this[":@"] = Object.create(null); //attributes map + } + add(key, val) { + // this.child.push( {name : key, val: val, isCdata: isCdata }); + if (key === "__proto__") key = "#__proto__"; + this.child.push({ [key]: val }); + } + addChild(node, startIndex) { + if (node.tagname === "__proto__") node.tagname = "#__proto__"; + if (node[":@"] && Object.keys(node[":@"]).length > 0) { + this.child.push({ [node.tagname]: node.child, [":@"]: node[":@"] }); + } else { + this.child.push({ [node.tagname]: node.child }); + } + // if requested, add the startIndex + if (startIndex !== undefined) { + // Note: for now we just overwrite the metadata. If we had more complex metadata, + // we might need to do an object append here: metadata = { ...metadata, startIndex } + this.child[this.child.length - 1][METADATA_SYMBOL] = { startIndex }; + } + } + /** symbol used for metadata */ + static getMetaDataSymbol() { + return METADATA_SYMBOL; + } +} diff --git a/node_modules/fecha/LICENSE b/node_modules/fecha/LICENSE new file mode 100644 index 0000000..cc9084b --- /dev/null +++ b/node_modules/fecha/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2015 Taylor Hakes + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/node_modules/fecha/README.md b/node_modules/fecha/README.md new file mode 100644 index 0000000..b128a5a --- /dev/null +++ b/node_modules/fecha/README.md @@ -0,0 +1,320 @@ +# fecha [![Build Status](https://travis-ci.org/taylorhakes/fecha.svg?branch=master)](https://travis-ci.org/taylorhakes/fecha) + +Lightweight date formatting and parsing (~2KB). Meant to replace parsing and formatting functionality of moment.js. + +### NPM +``` +npm install fecha --save +``` +### Yarn +``` +yarn add fecha +``` + +### Fecha vs Moment + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FechaMoment
Size (Min. and Gzipped)2.1KBs13.1KBs
Date Parsing
Date Formatting
Date Manipulation
I18n Support
+ +## Use it + +#### Formatting +`format` accepts a Date object (or timestamp) and a string format and returns a formatted string. See below for +available format tokens. + +Note: `format` will throw an error when passed invalid parameters +```js +import { format } from 'fecha'; + +type format = (date: Date, format?: string, i18n?: I18nSettings) => str; + +// Custom formats +format(new Date(2015, 10, 20), 'dddd MMMM Do, YYYY'); // 'Friday November 20th, 2015' +format(new Date(1998, 5, 3, 15, 23, 10, 350), 'YYYY-MM-DD hh:mm:ss.SSS A'); // '1998-06-03 03:23:10.350 PM' + +// Named masks +format(new Date(2015, 10, 20), 'isoDate'); // '2015-11-20' +format(new Date(2015, 10, 20), 'mediumDate'); // 'Nov 20, 2015' +format(new Date(2015, 10, 20, 3, 2, 1), 'isoDateTime'); // '2015-11-20T03:02:01-05:00' +format(new Date(2015, 2, 10, 5, 30, 20), 'shortTime'); // '05:30' + +// Literals +format(new Date(2001, 2, 5, 6, 7, 2, 5), '[on] MM-DD-YYYY [at] HH:mm'); // 'on 03-05-2001 at 06:07' +``` + +#### Parsing +`parse` accepts a Date string and a string format and returns a Date object. See below for available format tokens. + +*NOTE*: `parse` will throw an error when passed invalid string format or missing format. You MUST specify a format. +```js +import { parse } from 'fecha'; + +type parse = (dateStr: string, format: string, i18n?: I18nSettingsOptional) => Date|null; + +// Custom formats +parse('February 3rd, 2014', 'MMMM Do, YYYY'); // new Date(2014, 1, 3) +parse('10-12-10 14:11:12', 'YY-MM-DD HH:mm:ss'); // new Date(2010, 11, 10, 14, 11, 12) + +// Named masks +parse('5/3/98', 'shortDate'); // new Date(1998, 4, 3) +parse('November 4, 2005', 'longDate'); // new Date(2005, 10, 4) +parse('2015-11-20T03:02:01-05:00', 'isoDateTime'); // new Date(2015, 10, 20, 3, 2, 1) + +// Override i18n +parse('4 de octubre de 1983', 'M de MMMM de YYYY', { + monthNames: [ + 'enero', + 'febrero', + 'marzo', + 'abril', + 'mayo', + 'junio', + 'julio', + 'agosto', + 'septiembre', + 'octubre', + 'noviembre', + 'diciembre' + ] +}); // new Date(1983, 9, 4) +``` + +#### i18n Support +```js +import {setGlobalDateI18n} from 'fecha'; + +/* +Default I18n Settings +{ + dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thur', 'Fri', 'Sat'], + dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'], + amPm: ['am', 'pm'], + // D is the day of the month, function returns something like... 3rd or 11th + DoFn(dayOfMonth) { + return dayOfMonth + [ 'th', 'st', 'nd', 'rd' ][ dayOfMonth % 10 > 3 ? 0 : (dayOfMonth - dayOfMonth % 10 !== 10) * dayOfMonth % 10 ]; + } +} +*/ + +setGlobalDateI18n({ + dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thur', 'Fri', 'Sat'], + dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'], + amPm: ['am', 'pm'], + // D is the day of the month, function returns something like... 3rd or 11th + DoFn: function (D) { + return D + [ 'th', 'st', 'nd', 'rd' ][ D % 10 > 3 ? 0 : (D - D % 10 !== 10) * D % 10 ]; + } +}); + +``` + +#### Custom Named Masks +```js +import { format, setGlobalDateMasks } from 'fecha'; +/* +Default global masks +{ + default: 'ddd MMM DD YYYY HH:mm:ss', + shortDate: 'M/D/YY', + mediumDate: 'MMM D, YYYY', + longDate: 'MMMM D, YYYY', + fullDate: 'dddd, MMMM D, YYYY', + shortTime: 'HH:mm', + mediumTime: 'HH:mm:ss', + longTime: 'HH:mm:ss.SSS' +} +*/ + +// Create a new mask +setGlobalDateMasks({ + myMask: 'HH:mm:ss YY/MM/DD'; +}); + +// Use it +format(new Date(2014, 5, 6, 14, 10, 45), 'myMask'); // '14:10:45 14/06/06' +``` + +### Formatting Tokens + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TokenOutput
MonthM1 2 ... 11 12
MM01 02 ... 11 12
MMMJan Feb ... Nov Dec
MMMMJanuary February ... November December
Day of MonthD1 2 ... 30 31
Do1st 2nd ... 30th 31st
DD01 02 ... 30 31
Day of Weekd0 1 ... 5 6
dddSun Mon ... Fri Sat
ddddSunday Monday ... Friday Saturday
YearYY70 71 ... 29 30
YYYY1970 1971 ... 2029 2030
AM/PMAAM PM
aam pm
HourH0 1 ... 22 23
HH00 01 ... 22 23
h1 2 ... 11 12
hh01 02 ... 11 12
Minutem0 1 ... 58 59
mm00 01 ... 58 59
Seconds0 1 ... 58 59
ss00 01 ... 58 59
Fractional SecondS0 1 ... 8 9
SS0 1 ... 98 99
SSS0 1 ... 998 999
TimezoneZ + -07:00 -06:00 ... +06:00 +07:00 +
ZZ + -0700 -0600 ... +0600 +0700 +
diff --git a/node_modules/fecha/dist/fecha.min.js b/node_modules/fecha/dist/fecha.min.js new file mode 100644 index 0000000..fc2b201 --- /dev/null +++ b/node_modules/fecha/dist/fecha.min.js @@ -0,0 +1,2 @@ +!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(t.fecha={})}(this,function(t){"use strict";var n=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,e="[^\\s]+",r=/\[([^]*?)\]/gm;function o(t,n){for(var e=[],r=0,o=t.length;r-1?r:null}};function a(t){for(var n=[],e=1;e3?0:(t-t%10!=10?1:0)*t%10]}},m=a({},f),c=function(t){return m=a(m,t)},l=function(t){return t.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},h=function(t,n){for(void 0===n&&(n=2),t=String(t);t.length0?"-":"+")+h(100*Math.floor(Math.abs(n)/60)+Math.abs(n)%60,4)},Z:function(t){var n=t.getTimezoneOffset();return(n>0?"-":"+")+h(Math.floor(Math.abs(n)/60),2)+":"+h(Math.abs(n)%60,2)}},M=function(t){return+t-1},D=[null,"\\d\\d?"],Y=[null,e],y=["isPm",e,function(t,n){var e=t.toLowerCase();return e===n.amPm[0]?0:e===n.amPm[1]?1:null}],p=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(t){var n=(t+"").match(/([+-]|\d\d)/gi);if(n){var e=60*+n[1]+parseInt(n[2],10);return"+"===n[0]?e:-e}return 0}],S={D:["day","\\d\\d?"],DD:["day","\\d\\d"],Do:["day","\\d\\d?"+e,function(t){return parseInt(t,10)}],M:["month","\\d\\d?",M],MM:["month","\\d\\d",M],YY:["year","\\d\\d",function(t){var n=+(""+(new Date).getFullYear()).substr(0,2);return+(""+(+t>68?n-1:n)+t)}],h:["hour","\\d\\d?",void 0,"isPm"],hh:["hour","\\d\\d",void 0,"isPm"],H:["hour","\\d\\d?"],HH:["hour","\\d\\d"],m:["minute","\\d\\d?"],mm:["minute","\\d\\d"],s:["second","\\d\\d?"],ss:["second","\\d\\d"],YYYY:["year","\\d{4}"],S:["millisecond","\\d",function(t){return 100*+t}],SS:["millisecond","\\d\\d",function(t){return 10*+t}],SSS:["millisecond","\\d{3}"],d:D,dd:D,ddd:Y,dddd:Y,MMM:["month",e,u("monthNamesShort")],MMMM:["month",e,u("monthNames")],a:y,A:y,ZZ:p,Z:p},v={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},H=function(t){return a(v,t)},b=function(t,e,o){if(void 0===e&&(e=v.default),void 0===o&&(o={}),"number"==typeof t&&(t=new Date(t)),"[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw new Error("Invalid Date pass to format");var u=[];e=(e=v[e]||e).replace(r,function(t,n){return u.push(n),"@@@"});var i=a(a({},m),o);return(e=e.replace(n,function(n){return g[n](t,i)})).replace(/@@@/g,function(){return u.shift()})};function w(t,e,o){if(void 0===o&&(o={}),"string"!=typeof e)throw new Error("Invalid format in fecha parse");if(e=v[e]||e,t.length>1e3)return null;var u={year:(new Date).getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},i=[],d=[],s=e.replace(r,function(t,n){return d.push(l(n)),"@@@"}),f={},c={};s=l(s).replace(n,function(t){var n=S[t],e=n[0],r=n[1],o=n[3];if(f[e])throw new Error("Invalid format. "+e+" specified twice in format");return f[e]=!0,o&&(c[o]=!0),i.push(n),"("+r+")"}),Object.keys(c).forEach(function(t){if(!f[t])throw new Error("Invalid format. "+t+" is required in specified format")}),s=s.replace(/@@@/g,function(){return d.shift()});var h=t.match(new RegExp(s,"i"));if(!h)return null;for(var g,M=a(a({},m),o),D=1;D11||u.month<0||u.day>31||u.day<1||u.hour>23||u.hour<0||u.minute>59||u.minute<0||u.second>59||u.second<0)return null;return g}var P={format:b,parse:w,defaultI18n:f,setGlobalDateI18n:c,setGlobalDateMasks:H};t.assign=a,t.default=P,t.format=b,t.parse=w,t.defaultI18n=f,t.setGlobalDateI18n=c,t.setGlobalDateMasks=H,Object.defineProperty(t,"__esModule",{value:!0})}); +//# sourceMappingURL=fecha.min.js.map diff --git a/node_modules/fecha/dist/fecha.min.js.map b/node_modules/fecha/dist/fecha.min.js.map new file mode 100644 index 0000000..723f49b --- /dev/null +++ b/node_modules/fecha/dist/fecha.min.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fecha.min.js","sources":["../src/fecha.ts"],"sourcesContent":["const token = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\\1?|[aA]|\"[^\"]*\"|'[^']*'/g;\nconst twoDigitsOptional = \"\\\\d\\\\d?\";\nconst twoDigits = \"\\\\d\\\\d\";\nconst threeDigits = \"\\\\d{3}\";\nconst fourDigits = \"\\\\d{4}\";\nconst word = \"[^\\\\s]+\";\nconst literal = /\\[([^]*?)\\]/gm;\n\ntype DateInfo = {\n year: number;\n month: number;\n day: number;\n hour: number;\n minute: number;\n second: number;\n millisecond: number;\n isPm: number | null;\n timezoneOffset: number | null;\n};\n\nexport type I18nSettings = {\n amPm: [string, string];\n dayNames: Days;\n dayNamesShort: Days;\n monthNames: Months;\n monthNamesShort: Months;\n DoFn(dayOfMonth: number): string;\n};\n\nexport type I18nSettingsOptional = Partial;\n\nexport type Days = [string, string, string, string, string, string, string];\nexport type Months = [\n string,\n string,\n string,\n string,\n string,\n string,\n string,\n string,\n string,\n string,\n string,\n string\n];\n\nfunction shorten(arr: T, sLen: number): string[] {\n const newArr: string[] = [];\n for (let i = 0, len = arr.length; i < len; i++) {\n newArr.push(arr[i].substr(0, sLen));\n }\n return newArr;\n}\n\nconst monthUpdate = (\n arrName: \"monthNames\" | \"monthNamesShort\" | \"dayNames\" | \"dayNamesShort\"\n) => (v: string, i18n: I18nSettings): number | null => {\n const lowerCaseArr = i18n[arrName].map(v => v.toLowerCase());\n const index = lowerCaseArr.indexOf(v.toLowerCase());\n if (index > -1) {\n return index;\n }\n return null;\n};\n\nexport function assign(a: A): A;\nexport function assign(a: A, b: B): A & B;\nexport function assign(a: A, b: B, c: C): A & B & C;\nexport function assign(a: A, b: B, c: C, d: D): A & B & C & D;\nexport function assign(origObj: any, ...args: any[]): any {\n for (const obj of args) {\n for (const key in obj) {\n // @ts-ignore ex\n origObj[key] = obj[key];\n }\n }\n return origObj;\n}\n\nconst dayNames: Days = [\n \"Sunday\",\n \"Monday\",\n \"Tuesday\",\n \"Wednesday\",\n \"Thursday\",\n \"Friday\",\n \"Saturday\"\n];\nconst monthNames: Months = [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\"\n];\n\nconst monthNamesShort: Months = shorten(monthNames, 3) as Months;\nconst dayNamesShort: Days = shorten(dayNames, 3) as Days;\n\nconst defaultI18n: I18nSettings = {\n dayNamesShort,\n dayNames,\n monthNamesShort,\n monthNames,\n amPm: [\"am\", \"pm\"],\n DoFn(dayOfMonth: number) {\n return (\n dayOfMonth +\n [\"th\", \"st\", \"nd\", \"rd\"][\n dayOfMonth % 10 > 3\n ? 0\n : ((dayOfMonth - (dayOfMonth % 10) !== 10 ? 1 : 0) * dayOfMonth) % 10\n ]\n );\n }\n};\nlet globalI18n = assign({}, defaultI18n);\nconst setGlobalDateI18n = (i18n: I18nSettingsOptional): I18nSettings =>\n (globalI18n = assign(globalI18n, i18n));\n\nconst regexEscape = (str: string): string =>\n str.replace(/[|\\\\{()[^$+*?.-]/g, \"\\\\$&\");\n\nconst pad = (val: string | number, len = 2): string => {\n val = String(val);\n while (val.length < len) {\n val = \"0\" + val;\n }\n return val;\n};\n\nconst formatFlags: Record<\n string,\n (dateObj: Date, i18n: I18nSettings) => string\n> = {\n D: (dateObj: Date): string => String(dateObj.getDate()),\n DD: (dateObj: Date): string => pad(dateObj.getDate()),\n Do: (dateObj: Date, i18n: I18nSettings): string =>\n i18n.DoFn(dateObj.getDate()),\n d: (dateObj: Date): string => String(dateObj.getDay()),\n dd: (dateObj: Date): string => pad(dateObj.getDay()),\n ddd: (dateObj: Date, i18n: I18nSettings): string =>\n i18n.dayNamesShort[dateObj.getDay()],\n dddd: (dateObj: Date, i18n: I18nSettings): string =>\n i18n.dayNames[dateObj.getDay()],\n M: (dateObj: Date): string => String(dateObj.getMonth() + 1),\n MM: (dateObj: Date): string => pad(dateObj.getMonth() + 1),\n MMM: (dateObj: Date, i18n: I18nSettings): string =>\n i18n.monthNamesShort[dateObj.getMonth()],\n MMMM: (dateObj: Date, i18n: I18nSettings): string =>\n i18n.monthNames[dateObj.getMonth()],\n YY: (dateObj: Date): string =>\n pad(String(dateObj.getFullYear()), 4).substr(2),\n YYYY: (dateObj: Date): string => pad(dateObj.getFullYear(), 4),\n h: (dateObj: Date): string => String(dateObj.getHours() % 12 || 12),\n hh: (dateObj: Date): string => pad(dateObj.getHours() % 12 || 12),\n H: (dateObj: Date): string => String(dateObj.getHours()),\n HH: (dateObj: Date): string => pad(dateObj.getHours()),\n m: (dateObj: Date): string => String(dateObj.getMinutes()),\n mm: (dateObj: Date): string => pad(dateObj.getMinutes()),\n s: (dateObj: Date): string => String(dateObj.getSeconds()),\n ss: (dateObj: Date): string => pad(dateObj.getSeconds()),\n S: (dateObj: Date): string =>\n String(Math.round(dateObj.getMilliseconds() / 100)),\n SS: (dateObj: Date): string =>\n pad(Math.round(dateObj.getMilliseconds() / 10), 2),\n SSS: (dateObj: Date): string => pad(dateObj.getMilliseconds(), 3),\n a: (dateObj: Date, i18n: I18nSettings): string =>\n dateObj.getHours() < 12 ? i18n.amPm[0] : i18n.amPm[1],\n A: (dateObj: Date, i18n: I18nSettings): string =>\n dateObj.getHours() < 12\n ? i18n.amPm[0].toUpperCase()\n : i18n.amPm[1].toUpperCase(),\n ZZ(dateObj: Date): string {\n const offset = dateObj.getTimezoneOffset();\n return (\n (offset > 0 ? \"-\" : \"+\") +\n pad(Math.floor(Math.abs(offset) / 60) * 100 + (Math.abs(offset) % 60), 4)\n );\n },\n Z(dateObj: Date): string {\n const offset = dateObj.getTimezoneOffset();\n return (\n (offset > 0 ? \"-\" : \"+\") +\n pad(Math.floor(Math.abs(offset) / 60), 2) +\n \":\" +\n pad(Math.abs(offset) % 60, 2)\n );\n }\n};\n\ntype ParseInfo = [\n keyof DateInfo,\n string,\n ((v: string, i18n: I18nSettings) => number | null)?,\n string?\n];\nconst monthParse = (v: string): number => +v - 1;\nconst emptyDigits: ParseInfo = [null, twoDigitsOptional];\nconst emptyWord: ParseInfo = [null, word];\nconst amPm: ParseInfo = [\n \"isPm\",\n word,\n (v: string, i18n: I18nSettings): number | null => {\n const val = v.toLowerCase();\n if (val === i18n.amPm[0]) {\n return 0;\n } else if (val === i18n.amPm[1]) {\n return 1;\n }\n return null;\n }\n];\nconst timezoneOffset: ParseInfo = [\n \"timezoneOffset\",\n \"[^\\\\s]*?[\\\\+\\\\-]\\\\d\\\\d:?\\\\d\\\\d|[^\\\\s]*?Z?\",\n (v: string): number | null => {\n const parts = (v + \"\").match(/([+-]|\\d\\d)/gi);\n\n if (parts) {\n const minutes = +parts[1] * 60 + parseInt(parts[2], 10);\n return parts[0] === \"+\" ? minutes : -minutes;\n }\n\n return 0;\n }\n];\nconst parseFlags: Record = {\n D: [\"day\", twoDigitsOptional],\n DD: [\"day\", twoDigits],\n Do: [\"day\", twoDigitsOptional + word, (v: string): number => parseInt(v, 10)],\n M: [\"month\", twoDigitsOptional, monthParse],\n MM: [\"month\", twoDigits, monthParse],\n YY: [\n \"year\",\n twoDigits,\n (v: string): number => {\n const now = new Date();\n const cent = +(\"\" + now.getFullYear()).substr(0, 2);\n return +(\"\" + (+v > 68 ? cent - 1 : cent) + v);\n }\n ],\n h: [\"hour\", twoDigitsOptional, undefined, \"isPm\"],\n hh: [\"hour\", twoDigits, undefined, \"isPm\"],\n H: [\"hour\", twoDigitsOptional],\n HH: [\"hour\", twoDigits],\n m: [\"minute\", twoDigitsOptional],\n mm: [\"minute\", twoDigits],\n s: [\"second\", twoDigitsOptional],\n ss: [\"second\", twoDigits],\n YYYY: [\"year\", fourDigits],\n S: [\"millisecond\", \"\\\\d\", (v: string): number => +v * 100],\n SS: [\"millisecond\", twoDigits, (v: string): number => +v * 10],\n SSS: [\"millisecond\", threeDigits],\n d: emptyDigits,\n dd: emptyDigits,\n ddd: emptyWord,\n dddd: emptyWord,\n MMM: [\"month\", word, monthUpdate(\"monthNamesShort\")],\n MMMM: [\"month\", word, monthUpdate(\"monthNames\")],\n a: amPm,\n A: amPm,\n ZZ: timezoneOffset,\n Z: timezoneOffset\n};\n\n// Some common format strings\nconst globalMasks: { [key: string]: string } = {\n default: \"ddd MMM DD YYYY HH:mm:ss\",\n shortDate: \"M/D/YY\",\n mediumDate: \"MMM D, YYYY\",\n longDate: \"MMMM D, YYYY\",\n fullDate: \"dddd, MMMM D, YYYY\",\n isoDate: \"YYYY-MM-DD\",\n isoDateTime: \"YYYY-MM-DDTHH:mm:ssZ\",\n shortTime: \"HH:mm\",\n mediumTime: \"HH:mm:ss\",\n longTime: \"HH:mm:ss.SSS\"\n};\nconst setGlobalDateMasks = (masks: {\n [key: string]: string;\n}): { [key: string]: string } => assign(globalMasks, masks);\n\n/***\n * Format a date\n * @method format\n * @param {Date|number} dateObj\n * @param {string} mask Format of the date, i.e. 'mm-dd-yy' or 'shortDate'\n * @returns {string} Formatted date string\n */\nconst format = (\n dateObj: Date,\n mask: string = globalMasks[\"default\"],\n i18n: I18nSettingsOptional = {}\n): string => {\n if (typeof dateObj === \"number\") {\n dateObj = new Date(dateObj);\n }\n\n if (\n Object.prototype.toString.call(dateObj) !== \"[object Date]\" ||\n isNaN(dateObj.getTime())\n ) {\n throw new Error(\"Invalid Date pass to format\");\n }\n\n mask = globalMasks[mask] || mask;\n\n const literals: string[] = [];\n\n // Make literals inactive by replacing them with @@@\n mask = mask.replace(literal, function($0, $1) {\n literals.push($1);\n return \"@@@\";\n });\n\n const combinedI18nSettings: I18nSettings = assign(\n assign({}, globalI18n),\n i18n\n );\n // Apply formatting rules\n mask = mask.replace(token, $0 =>\n formatFlags[$0](dateObj, combinedI18nSettings)\n );\n // Inline literal values back into the formatted value\n return mask.replace(/@@@/g, () => literals.shift());\n};\n\n/**\n * Parse a date string into a Javascript Date object /\n * @method parse\n * @param {string} dateStr Date string\n * @param {string} format Date parse format\n * @param {i18n} I18nSettingsOptional Full or subset of I18N settings\n * @returns {Date|null} Returns Date object. Returns null what date string is invalid or doesn't match format\n */\nfunction parse(\n dateStr: string,\n format: string,\n i18n: I18nSettingsOptional = {}\n): Date | null {\n if (typeof format !== \"string\") {\n throw new Error(\"Invalid format in fecha parse\");\n }\n\n // Check to see if the format is actually a mask\n format = globalMasks[format] || format;\n\n // Avoid regular expression denial of service, fail early for really long strings\n // https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS\n if (dateStr.length > 1000) {\n return null;\n }\n\n // Default to the beginning of the year.\n const today = new Date();\n const dateInfo: DateInfo = {\n year: today.getFullYear(),\n month: 0,\n day: 1,\n hour: 0,\n minute: 0,\n second: 0,\n millisecond: 0,\n isPm: null,\n timezoneOffset: null\n };\n const parseInfo: ParseInfo[] = [];\n const literals: string[] = [];\n\n // Replace all the literals with @@@. Hopefully a string that won't exist in the format\n let newFormat = format.replace(literal, ($0, $1) => {\n literals.push(regexEscape($1));\n return \"@@@\";\n });\n const specifiedFields: { [field: string]: boolean } = {};\n const requiredFields: { [field: string]: boolean } = {};\n\n // Change every token that we find into the correct regex\n newFormat = regexEscape(newFormat).replace(token, $0 => {\n const info = parseFlags[$0];\n const [field, regex, , requiredField] = info;\n\n // Check if the person has specified the same field twice. This will lead to confusing results.\n if (specifiedFields[field]) {\n throw new Error(`Invalid format. ${field} specified twice in format`);\n }\n\n specifiedFields[field] = true;\n\n // Check if there are any required fields. For instance, 12 hour time requires AM/PM specified\n if (requiredField) {\n requiredFields[requiredField] = true;\n }\n\n parseInfo.push(info);\n return \"(\" + regex + \")\";\n });\n\n // Check all the required fields are present\n Object.keys(requiredFields).forEach(field => {\n if (!specifiedFields[field]) {\n throw new Error(\n `Invalid format. ${field} is required in specified format`\n );\n }\n });\n\n // Add back all the literals after\n newFormat = newFormat.replace(/@@@/g, () => literals.shift());\n\n // Check if the date string matches the format. If it doesn't return null\n const matches = dateStr.match(new RegExp(newFormat, \"i\"));\n if (!matches) {\n return null;\n }\n\n const combinedI18nSettings: I18nSettings = assign(\n assign({}, globalI18n),\n i18n\n );\n\n // For each match, call the parser function for that date part\n for (let i = 1; i < matches.length; i++) {\n const [field, , parser] = parseInfo[i - 1];\n const value = parser\n ? parser(matches[i], combinedI18nSettings)\n : +matches[i];\n\n // If the parser can't make sense of the value, return null\n if (value == null) {\n return null;\n }\n\n dateInfo[field] = value;\n }\n\n if (dateInfo.isPm === 1 && dateInfo.hour != null && +dateInfo.hour !== 12) {\n dateInfo.hour = +dateInfo.hour + 12;\n } else if (dateInfo.isPm === 0 && +dateInfo.hour === 12) {\n dateInfo.hour = 0;\n }\n\n let dateTZ: Date;\n if (dateInfo.timezoneOffset == null) {\n dateTZ = new Date(\n dateInfo.year,\n dateInfo.month,\n dateInfo.day,\n dateInfo.hour,\n dateInfo.minute,\n dateInfo.second,\n dateInfo.millisecond\n );\n const validateFields: [\n \"month\" | \"day\" | \"hour\" | \"minute\" | \"second\",\n \"getMonth\" | \"getDate\" | \"getHours\" | \"getMinutes\" | \"getSeconds\"\n ][] = [\n [\"month\", \"getMonth\"],\n [\"day\", \"getDate\"],\n [\"hour\", \"getHours\"],\n [\"minute\", \"getMinutes\"],\n [\"second\", \"getSeconds\"]\n ];\n for (let i = 0, len = validateFields.length; i < len; i++) {\n // Check to make sure the date field is within the allowed range. Javascript dates allows values\n // outside the allowed range. If the values don't match the value was invalid\n if (\n specifiedFields[validateFields[i][0]] &&\n dateInfo[validateFields[i][0]] !== dateTZ[validateFields[i][1]]()\n ) {\n return null;\n }\n }\n } else {\n dateTZ = new Date(\n Date.UTC(\n dateInfo.year,\n dateInfo.month,\n dateInfo.day,\n dateInfo.hour,\n dateInfo.minute - dateInfo.timezoneOffset,\n dateInfo.second,\n dateInfo.millisecond\n )\n );\n\n // We can't validate dates in another timezone unfortunately. Do a basic check instead\n if (\n dateInfo.month > 11 ||\n dateInfo.month < 0 ||\n dateInfo.day > 31 ||\n dateInfo.day < 1 ||\n dateInfo.hour > 23 ||\n dateInfo.hour < 0 ||\n dateInfo.minute > 59 ||\n dateInfo.minute < 0 ||\n dateInfo.second > 59 ||\n dateInfo.second < 0\n ) {\n return null;\n }\n }\n\n // Don't allow invalid dates\n\n return dateTZ;\n}\nexport default {\n format,\n parse,\n defaultI18n,\n setGlobalDateI18n,\n setGlobalDateMasks\n};\nexport { format, parse, defaultI18n, setGlobalDateI18n, setGlobalDateMasks };\n"],"names":["token","word","literal","shorten","arr","sLen","newArr","i","len","length","push","substr","monthUpdate","arrName","v","i18n","index","map","toLowerCase","indexOf","assign","origObj","_i","args","args_1","_a","obj","key","dayNames","monthNames","monthNamesShort","defaultI18n","dayNamesShort","amPm","DoFn","dayOfMonth","globalI18n","setGlobalDateI18n","regexEscape","str","replace","pad","val","String","formatFlags","D","dateObj","getDate","DD","Do","d","getDay","dd","ddd","dddd","M","getMonth","MM","MMM","MMMM","YY","getFullYear","YYYY","h","getHours","hh","H","HH","m","getMinutes","mm","s","getSeconds","ss","S","Math","round","getMilliseconds","SS","SSS","a","A","toUpperCase","ZZ","offset","getTimezoneOffset","floor","abs","Z","monthParse","emptyDigits","emptyWord","timezoneOffset","parts","match","minutes","parseInt","parseFlags","cent","Date","undefined","globalMasks","default","shortDate","mediumDate","longDate","fullDate","isoDate","isoDateTime","shortTime","mediumTime","longTime","setGlobalDateMasks","masks","format","mask","Object","prototype","toString","call","isNaN","getTime","Error","literals","$0","$1","combinedI18nSettings","shift","parse","dateStr","dateInfo","year","month","day","hour","minute","second","millisecond","isPm","parseInfo","newFormat","specifiedFields","requiredFields","info","field","regex","requiredField","keys","forEach","matches","RegExp","dateTZ","parser","value","validateFields","UTC"],"mappings":"wLAAA,IAAMA,EAAQ,6EAKRC,EAAO,UACPC,EAAU,gBAyChB,SAASC,EAA4BC,EAAQC,GAE3C,IADA,IAAMC,KACGC,EAAI,EAAGC,EAAMJ,EAAIK,OAAQF,EAAIC,EAAKD,IACzCD,EAAOI,KAAKN,EAAIG,GAAGI,OAAO,EAAGN,IAE/B,OAAOC,EAGT,IAAMM,EAAc,SAClBC,GACG,OAAA,SAACC,EAAWC,GACf,IACMC,EADeD,EAAKF,GAASI,IAAI,SAAAH,GAAK,OAAAA,EAAEI,gBACnBC,QAAQL,EAAEI,eACrC,OAAIF,GAAS,EACJA,EAEF,gBAOOI,EAAOC,OAAc,aAAAC,mBAAAA,IAAAC,oBACnC,IAAkB,QAAAC,IAAAC,WAAAA,IAAM,CAAnB,IAAMC,OACT,IAAK,IAAMC,KAAOD,EAEhBL,EAAQM,GAAOD,EAAIC,GAGvB,OAAON,EAGT,IAAMO,GACJ,SACA,SACA,UACA,YACA,WACA,SACA,YAEIC,GACJ,UACA,WACA,QACA,QACA,MACA,OACA,OACA,SACA,YACA,UACA,WACA,YAGIC,EAA0B3B,EAAQ0B,EAAY,GAG9CE,GACJC,cAH0B7B,EAAQyB,EAAU,GAI5CA,WACAE,kBACAD,aACAI,MAAO,KAAM,MACbC,KAAA,SAAKC,GACH,OACEA,GACC,KAAM,KAAM,KAAM,MACjBA,EAAa,GAAK,EACd,GACEA,EAAcA,EAAa,IAAQ,GAAK,EAAI,GAAKA,EAAc,MAKzEC,EAAahB,KAAWW,GACtBM,EAAoB,SAACtB,GACzB,OAACqB,EAAahB,EAAOgB,EAAYrB,IAE7BuB,EAAc,SAACC,GACnB,OAAAA,EAAIC,QAAQ,oBAAqB,SAE7BC,EAAM,SAACC,EAAsBlC,GAEjC,iBAFiCA,KACjCkC,EAAMC,OAAOD,GACNA,EAAIjC,OAASD,GAClBkC,EAAM,IAAMA,EAEd,OAAOA,GAGHE,GAIJC,EAAG,SAACC,GAA0B,OAAAH,OAAOG,EAAQC,YAC7CC,GAAI,SAACF,GAA0B,OAAAL,EAAIK,EAAQC,YAC3CE,GAAI,SAACH,EAAe/B,GAClB,OAAAA,EAAKmB,KAAKY,EAAQC,YACpBG,EAAG,SAACJ,GAA0B,OAAAH,OAAOG,EAAQK,WAC7CC,GAAI,SAACN,GAA0B,OAAAL,EAAIK,EAAQK,WAC3CE,IAAK,SAACP,EAAe/B,GACnB,OAAAA,EAAKiB,cAAcc,EAAQK,WAC7BG,KAAM,SAACR,EAAe/B,GACpB,OAAAA,EAAKa,SAASkB,EAAQK,WACxBI,EAAG,SAACT,GAA0B,OAAAH,OAAOG,EAAQU,WAAa,IAC1DC,GAAI,SAACX,GAA0B,OAAAL,EAAIK,EAAQU,WAAa,IACxDE,IAAK,SAACZ,EAAe/B,GACnB,OAAAA,EAAKe,gBAAgBgB,EAAQU,aAC/BG,KAAM,SAACb,EAAe/B,GACpB,OAAAA,EAAKc,WAAWiB,EAAQU,aAC1BI,GAAI,SAACd,GACH,OAAAL,EAAIE,OAAOG,EAAQe,eAAgB,GAAGlD,OAAO,IAC/CmD,KAAM,SAAChB,GAA0B,OAAAL,EAAIK,EAAQe,cAAe,IAC5DE,EAAG,SAACjB,GAA0B,OAAAH,OAAOG,EAAQkB,WAAa,IAAM,KAChEC,GAAI,SAACnB,GAA0B,OAAAL,EAAIK,EAAQkB,WAAa,IAAM,KAC9DE,EAAG,SAACpB,GAA0B,OAAAH,OAAOG,EAAQkB,aAC7CG,GAAI,SAACrB,GAA0B,OAAAL,EAAIK,EAAQkB,aAC3CI,EAAG,SAACtB,GAA0B,OAAAH,OAAOG,EAAQuB,eAC7CC,GAAI,SAACxB,GAA0B,OAAAL,EAAIK,EAAQuB,eAC3CE,EAAG,SAACzB,GAA0B,OAAAH,OAAOG,EAAQ0B,eAC7CC,GAAI,SAAC3B,GAA0B,OAAAL,EAAIK,EAAQ0B,eAC3CE,EAAG,SAAC5B,GACF,OAAAH,OAAOgC,KAAKC,MAAM9B,EAAQ+B,kBAAoB,OAChDC,GAAI,SAAChC,GACH,OAAAL,EAAIkC,KAAKC,MAAM9B,EAAQ+B,kBAAoB,IAAK,IAClDE,IAAK,SAACjC,GAA0B,OAAAL,EAAIK,EAAQ+B,kBAAmB,IAC/DG,EAAG,SAAClC,EAAe/B,GACjB,OAAA+B,EAAQkB,WAAa,GAAKjD,EAAKkB,KAAK,GAAKlB,EAAKkB,KAAK,IACrDgD,EAAG,SAACnC,EAAe/B,GACjB,OAAA+B,EAAQkB,WAAa,GACjBjD,EAAKkB,KAAK,GAAGiD,cACbnE,EAAKkB,KAAK,GAAGiD,eACnBC,GAAA,SAAGrC,GACD,IAAMsC,EAAStC,EAAQuC,oBACvB,OACGD,EAAS,EAAI,IAAM,KACpB3C,EAAwC,IAApCkC,KAAKW,MAAMX,KAAKY,IAAIH,GAAU,IAAaT,KAAKY,IAAIH,GAAU,GAAK,IAG3EI,EAAA,SAAE1C,GACA,IAAMsC,EAAStC,EAAQuC,oBACvB,OACGD,EAAS,EAAI,IAAM,KACpB3C,EAAIkC,KAAKW,MAAMX,KAAKY,IAAIH,GAAU,IAAK,GACvC,IACA3C,EAAIkC,KAAKY,IAAIH,GAAU,GAAI,KAW3BK,EAAa,SAAC3E,GAAsB,OAACA,EAAI,GACzC4E,GAA0B,KA7MN,WA8MpBC,GAAwB,KAAM1F,GAC9BgC,GACJ,OACAhC,EACA,SAACa,EAAWC,GACV,IAAM2B,EAAM5B,EAAEI,cACd,OAAIwB,IAAQ3B,EAAKkB,KAAK,GACb,EACES,IAAQ3B,EAAKkB,KAAK,GACpB,EAEF,OAGL2D,GACJ,iBACA,4CACA,SAAC9E,GACC,IAAM+E,GAAS/E,EAAI,IAAIgF,MAAM,iBAE7B,GAAID,EAAO,CACT,IAAME,EAAsB,IAAXF,EAAM,GAAUG,SAASH,EAAM,GAAI,IACpD,MAAoB,MAAbA,EAAM,GAAaE,GAAWA,EAGvC,OAAO,IAGLE,GACJpD,GAAI,MA3OoB,WA4OxBG,IAAK,MA3OW,UA4OhBC,IAAK,MA7OmB,UA6OQhD,EAAM,SAACa,GAAsB,OAAAkF,SAASlF,EAAG,MACzEyC,GAAI,QA9OoB,UA8OQkC,GAChChC,IAAK,QA9OW,SA8OSgC,GACzB7B,IACE,OAhPc,SAkPd,SAAC9C,GACC,IACMoF,IAAS,IADH,IAAIC,MACQtC,eAAelD,OAAO,EAAG,GACjD,QAAS,KAAOG,EAAI,GAAKoF,EAAO,EAAIA,GAAQpF,KAGhDiD,GAAI,OAzPoB,eAyPOqC,EAAW,QAC1CnC,IAAK,OAzPW,cAyPQmC,EAAW,QACnClC,GAAI,OA3PoB,WA4PxBC,IAAK,OA3PW,UA4PhBC,GAAI,SA7PoB,WA8PxBE,IAAK,SA7PW,UA8PhBC,GAAI,SA/PoB,WAgQxBE,IAAK,SA/PW,UAgQhBX,MAAO,OA9PU,UA+PjBY,GAAI,cAAe,MAAO,SAAC5D,GAAsB,OAAK,KAAJA,IAClDgE,IAAK,cAlQW,SAkQe,SAAChE,GAAsB,OAAK,IAAJA,IACvDiE,KAAM,cAlQY,UAmQlB7B,EAAGwC,EACHtC,GAAIsC,EACJrC,IAAKsC,EACLrC,KAAMqC,EACNjC,KAAM,QAASzD,EAAMW,EAAY,oBACjC+C,MAAO,QAAS1D,EAAMW,EAAY,eAClCoE,EAAG/C,EACHgD,EAAGhD,EACHkD,GAAIS,EACJJ,EAAGI,GAICS,GACJC,QAAS,2BACTC,UAAW,SACXC,WAAY,cACZC,SAAU,eACVC,SAAU,qBACVC,QAAS,aACTC,YAAa,uBACbC,UAAW,QACXC,WAAY,WACZC,SAAU,gBAENC,EAAqB,SAACC,GAEK,OAAA7F,EAAOiF,EAAaY,IAS/CC,EAAS,SACbpE,EACAqE,EACApG,GAMA,gBAPAoG,EAAed,EAAqB,sBACpCtF,MAEuB,iBAAZ+B,IACTA,EAAU,IAAIqD,KAAKrD,IAIyB,kBAA5CsE,OAAOC,UAAUC,SAASC,KAAKzE,IAC/B0E,MAAM1E,EAAQ2E,WAEd,MAAM,IAAIC,MAAM,+BAKlB,IAAMC,KAGNR,GALAA,EAAOd,EAAYc,IAASA,GAKhB3E,QAAQtC,EAAS,SAAS0H,EAAIC,GAExC,OADAF,EAASjH,KAAKmH,GACP,QAGT,IAAMC,EAAqC1G,EACzCA,KAAWgB,GACXrB,GAOF,OAJAoG,EAAOA,EAAK3E,QAAQxC,EAAO,SAAA4H,GACzB,OAAAhF,EAAYgF,GAAI9E,EAASgF,MAGftF,QAAQ,OAAQ,WAAM,OAAAmF,EAASI,WAW7C,SAASC,EACPC,EACAf,EACAnG,GAEA,gBAFAA,MAEsB,iBAAXmG,EACT,MAAM,IAAIQ,MAAM,iCAQlB,GAJAR,EAASb,EAAYa,IAAWA,EAI5Be,EAAQxH,OAAS,IACnB,OAAO,KAIT,IACMyH,GACJC,MAFY,IAAIhC,MAEJtC,cACZuE,MAAO,EACPC,IAAK,EACLC,KAAM,EACNC,OAAQ,EACRC,OAAQ,EACRC,YAAa,EACbC,KAAM,KACN9C,eAAgB,MAEZ+C,KACAhB,KAGFiB,EAAY1B,EAAO1E,QAAQtC,EAAS,SAAC0H,EAAIC,GAE3C,OADAF,EAASjH,KAAK4B,EAAYuF,IACnB,QAEHgB,KACAC,KAGNF,EAAYtG,EAAYsG,GAAWpG,QAAQxC,EAAO,SAAA4H,GAChD,IAAMmB,EAAO9C,EAAW2B,GACjBoB,EAAiCD,KAA1BE,EAA0BF,KAAjBG,EAAiBH,KAGxC,GAAIF,EAAgBG,GAClB,MAAM,IAAItB,MAAM,mBAAmBsB,gCAWrC,OARAH,EAAgBG,IAAS,EAGrBE,IACFJ,EAAeI,IAAiB,GAGlCP,EAAUjI,KAAKqI,GACR,IAAME,EAAQ,MAIvB7B,OAAO+B,KAAKL,GAAgBM,QAAQ,SAAAJ,GAClC,IAAKH,EAAgBG,GACnB,MAAM,IAAItB,MACR,mBAAmBsB,wCAMzBJ,EAAYA,EAAUpG,QAAQ,OAAQ,WAAM,OAAAmF,EAASI,UAGrD,IAAMsB,EAAUpB,EAAQnC,MAAM,IAAIwD,OAAOV,EAAW,MACpD,IAAKS,EACH,OAAO,KAST,IANA,IA0BIE,EA1BEzB,EAAqC1G,EACzCA,KAAWgB,GACXrB,GAIOR,EAAI,EAAGA,EAAI8I,EAAQ5I,OAAQF,IAAK,CACjC,IAAAkB,EAAoBkH,EAAUpI,EAAI,GAAjCyI,OAASQ,OACVC,EAAQD,EACVA,EAAOH,EAAQ9I,GAAIuH,IAClBuB,EAAQ9I,GAGb,GAAa,MAATkJ,EACF,OAAO,KAGTvB,EAASc,GAASS,EAUpB,GAPsB,IAAlBvB,EAASQ,MAA+B,MAAjBR,EAASI,MAAmC,KAAlBJ,EAASI,KAC5DJ,EAASI,MAAQJ,EAASI,KAAO,GACN,IAAlBJ,EAASQ,MAAiC,KAAlBR,EAASI,OAC1CJ,EAASI,KAAO,GAIa,MAA3BJ,EAAStC,eAAwB,CACnC2D,EAAS,IAAIpD,KACX+B,EAASC,KACTD,EAASE,MACTF,EAASG,IACTH,EAASI,KACTJ,EAASK,OACTL,EAASM,OACTN,EAASO,aAYX,IAVA,IAAMiB,IAIH,QAAS,aACT,MAAO,YACP,OAAQ,aACR,SAAU,eACV,SAAU,eAEGlJ,GAAPD,EAAI,EAASmJ,EAAejJ,QAAQF,EAAIC,EAAKD,IAGpD,GACEsI,EAAgBa,EAAenJ,GAAG,KAClC2H,EAASwB,EAAenJ,GAAG,MAAQgJ,EAAOG,EAAenJ,GAAG,MAE5D,OAAO,UAiBX,GAbAgJ,EAAS,IAAIpD,KACXA,KAAKwD,IACHzB,EAASC,KACTD,EAASE,MACTF,EAASG,IACTH,EAASI,KACTJ,EAASK,OAASL,EAAStC,eAC3BsC,EAASM,OACTN,EAASO,cAMXP,EAASE,MAAQ,IACjBF,EAASE,MAAQ,GACjBF,EAASG,IAAM,IACfH,EAASG,IAAM,GACfH,EAASI,KAAO,IAChBJ,EAASI,KAAO,GAChBJ,EAASK,OAAS,IAClBL,EAASK,OAAS,GAClBL,EAASM,OAAS,IAClBN,EAASM,OAAS,EAElB,OAAO,KAMX,OAAOe,SAGPrC,SACAc,QACAjG,cACAM,oBACA2E"} \ No newline at end of file diff --git a/node_modules/fecha/lib/fecha.d.ts b/node_modules/fecha/lib/fecha.d.ts new file mode 100644 index 0000000..47404a0 --- /dev/null +++ b/node_modules/fecha/lib/fecha.d.ts @@ -0,0 +1,52 @@ +export declare type I18nSettings = { + amPm: [string, string]; + dayNames: Days; + dayNamesShort: Days; + monthNames: Months; + monthNamesShort: Months; + DoFn(dayOfMonth: number): string; +}; +export declare type I18nSettingsOptional = Partial; +export declare type Days = [string, string, string, string, string, string, string]; +export declare type Months = [string, string, string, string, string, string, string, string, string, string, string, string]; +export declare function assign(a: A): A; +export declare function assign(a: A, b: B): A & B; +export declare function assign(a: A, b: B, c: C): A & B & C; +export declare function assign(a: A, b: B, c: C, d: D): A & B & C & D; +declare const defaultI18n: I18nSettings; +declare const setGlobalDateI18n: (i18n: I18nSettingsOptional) => I18nSettings; +declare const setGlobalDateMasks: (masks: { + [key: string]: string; +}) => { + [key: string]: string; +}; +/*** + * Format a date + * @method format + * @param {Date|number} dateObj + * @param {string} mask Format of the date, i.e. 'mm-dd-yy' or 'shortDate' + * @returns {string} Formatted date string + */ +declare const format: (dateObj: Date, mask?: string, i18n?: I18nSettingsOptional) => string; +/** + * Parse a date string into a Javascript Date object / + * @method parse + * @param {string} dateStr Date string + * @param {string} format Date parse format + * @param {i18n} I18nSettingsOptional Full or subset of I18N settings + * @returns {Date|null} Returns Date object. Returns null what date string is invalid or doesn't match format + */ +declare function parse(dateStr: string, format: string, i18n?: I18nSettingsOptional): Date | null; +declare const _default: { + format: (dateObj: Date, mask?: string, i18n?: Partial) => string; + parse: typeof parse; + defaultI18n: I18nSettings; + setGlobalDateI18n: (i18n: Partial) => I18nSettings; + setGlobalDateMasks: (masks: { + [key: string]: string; + }) => { + [key: string]: string; + }; +}; +export default _default; +export { format, parse, defaultI18n, setGlobalDateI18n, setGlobalDateMasks }; diff --git a/node_modules/fecha/lib/fecha.js b/node_modules/fecha/lib/fecha.js new file mode 100644 index 0000000..db93109 --- /dev/null +++ b/node_modules/fecha/lib/fecha.js @@ -0,0 +1,403 @@ +var token = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g; +var twoDigitsOptional = "\\d\\d?"; +var twoDigits = "\\d\\d"; +var threeDigits = "\\d{3}"; +var fourDigits = "\\d{4}"; +var word = "[^\\s]+"; +var literal = /\[([^]*?)\]/gm; +function shorten(arr, sLen) { + var newArr = []; + for (var i = 0, len = arr.length; i < len; i++) { + newArr.push(arr[i].substr(0, sLen)); + } + return newArr; +} +var monthUpdate = function (arrName) { return function (v, i18n) { + var lowerCaseArr = i18n[arrName].map(function (v) { return v.toLowerCase(); }); + var index = lowerCaseArr.indexOf(v.toLowerCase()); + if (index > -1) { + return index; + } + return null; +}; }; +function assign(origObj) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + for (var _a = 0, args_1 = args; _a < args_1.length; _a++) { + var obj = args_1[_a]; + for (var key in obj) { + // @ts-ignore ex + origObj[key] = obj[key]; + } + } + return origObj; +} +var dayNames = [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" +]; +var monthNames = [ + "January", + "February", + "March", + "April", + "May", + "June", + "July", + "August", + "September", + "October", + "November", + "December" +]; +var monthNamesShort = shorten(monthNames, 3); +var dayNamesShort = shorten(dayNames, 3); +var defaultI18n = { + dayNamesShort: dayNamesShort, + dayNames: dayNames, + monthNamesShort: monthNamesShort, + monthNames: monthNames, + amPm: ["am", "pm"], + DoFn: function (dayOfMonth) { + return (dayOfMonth + + ["th", "st", "nd", "rd"][dayOfMonth % 10 > 3 + ? 0 + : ((dayOfMonth - (dayOfMonth % 10) !== 10 ? 1 : 0) * dayOfMonth) % 10]); + } +}; +var globalI18n = assign({}, defaultI18n); +var setGlobalDateI18n = function (i18n) { + return (globalI18n = assign(globalI18n, i18n)); +}; +var regexEscape = function (str) { + return str.replace(/[|\\{()[^$+*?.-]/g, "\\$&"); +}; +var pad = function (val, len) { + if (len === void 0) { len = 2; } + val = String(val); + while (val.length < len) { + val = "0" + val; + } + return val; +}; +var formatFlags = { + D: function (dateObj) { return String(dateObj.getDate()); }, + DD: function (dateObj) { return pad(dateObj.getDate()); }, + Do: function (dateObj, i18n) { + return i18n.DoFn(dateObj.getDate()); + }, + d: function (dateObj) { return String(dateObj.getDay()); }, + dd: function (dateObj) { return pad(dateObj.getDay()); }, + ddd: function (dateObj, i18n) { + return i18n.dayNamesShort[dateObj.getDay()]; + }, + dddd: function (dateObj, i18n) { + return i18n.dayNames[dateObj.getDay()]; + }, + M: function (dateObj) { return String(dateObj.getMonth() + 1); }, + MM: function (dateObj) { return pad(dateObj.getMonth() + 1); }, + MMM: function (dateObj, i18n) { + return i18n.monthNamesShort[dateObj.getMonth()]; + }, + MMMM: function (dateObj, i18n) { + return i18n.monthNames[dateObj.getMonth()]; + }, + YY: function (dateObj) { + return pad(String(dateObj.getFullYear()), 4).substr(2); + }, + YYYY: function (dateObj) { return pad(dateObj.getFullYear(), 4); }, + h: function (dateObj) { return String(dateObj.getHours() % 12 || 12); }, + hh: function (dateObj) { return pad(dateObj.getHours() % 12 || 12); }, + H: function (dateObj) { return String(dateObj.getHours()); }, + HH: function (dateObj) { return pad(dateObj.getHours()); }, + m: function (dateObj) { return String(dateObj.getMinutes()); }, + mm: function (dateObj) { return pad(dateObj.getMinutes()); }, + s: function (dateObj) { return String(dateObj.getSeconds()); }, + ss: function (dateObj) { return pad(dateObj.getSeconds()); }, + S: function (dateObj) { + return String(Math.round(dateObj.getMilliseconds() / 100)); + }, + SS: function (dateObj) { + return pad(Math.round(dateObj.getMilliseconds() / 10), 2); + }, + SSS: function (dateObj) { return pad(dateObj.getMilliseconds(), 3); }, + a: function (dateObj, i18n) { + return dateObj.getHours() < 12 ? i18n.amPm[0] : i18n.amPm[1]; + }, + A: function (dateObj, i18n) { + return dateObj.getHours() < 12 + ? i18n.amPm[0].toUpperCase() + : i18n.amPm[1].toUpperCase(); + }, + ZZ: function (dateObj) { + var offset = dateObj.getTimezoneOffset(); + return ((offset > 0 ? "-" : "+") + + pad(Math.floor(Math.abs(offset) / 60) * 100 + (Math.abs(offset) % 60), 4)); + }, + Z: function (dateObj) { + var offset = dateObj.getTimezoneOffset(); + return ((offset > 0 ? "-" : "+") + + pad(Math.floor(Math.abs(offset) / 60), 2) + + ":" + + pad(Math.abs(offset) % 60, 2)); + } +}; +var monthParse = function (v) { return +v - 1; }; +var emptyDigits = [null, twoDigitsOptional]; +var emptyWord = [null, word]; +var amPm = [ + "isPm", + word, + function (v, i18n) { + var val = v.toLowerCase(); + if (val === i18n.amPm[0]) { + return 0; + } + else if (val === i18n.amPm[1]) { + return 1; + } + return null; + } +]; +var timezoneOffset = [ + "timezoneOffset", + "[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?", + function (v) { + var parts = (v + "").match(/([+-]|\d\d)/gi); + if (parts) { + var minutes = +parts[1] * 60 + parseInt(parts[2], 10); + return parts[0] === "+" ? minutes : -minutes; + } + return 0; + } +]; +var parseFlags = { + D: ["day", twoDigitsOptional], + DD: ["day", twoDigits], + Do: ["day", twoDigitsOptional + word, function (v) { return parseInt(v, 10); }], + M: ["month", twoDigitsOptional, monthParse], + MM: ["month", twoDigits, monthParse], + YY: [ + "year", + twoDigits, + function (v) { + var now = new Date(); + var cent = +("" + now.getFullYear()).substr(0, 2); + return +("" + (+v > 68 ? cent - 1 : cent) + v); + } + ], + h: ["hour", twoDigitsOptional, undefined, "isPm"], + hh: ["hour", twoDigits, undefined, "isPm"], + H: ["hour", twoDigitsOptional], + HH: ["hour", twoDigits], + m: ["minute", twoDigitsOptional], + mm: ["minute", twoDigits], + s: ["second", twoDigitsOptional], + ss: ["second", twoDigits], + YYYY: ["year", fourDigits], + S: ["millisecond", "\\d", function (v) { return +v * 100; }], + SS: ["millisecond", twoDigits, function (v) { return +v * 10; }], + SSS: ["millisecond", threeDigits], + d: emptyDigits, + dd: emptyDigits, + ddd: emptyWord, + dddd: emptyWord, + MMM: ["month", word, monthUpdate("monthNamesShort")], + MMMM: ["month", word, monthUpdate("monthNames")], + a: amPm, + A: amPm, + ZZ: timezoneOffset, + Z: timezoneOffset +}; +// Some common format strings +var globalMasks = { + default: "ddd MMM DD YYYY HH:mm:ss", + shortDate: "M/D/YY", + mediumDate: "MMM D, YYYY", + longDate: "MMMM D, YYYY", + fullDate: "dddd, MMMM D, YYYY", + isoDate: "YYYY-MM-DD", + isoDateTime: "YYYY-MM-DDTHH:mm:ssZ", + shortTime: "HH:mm", + mediumTime: "HH:mm:ss", + longTime: "HH:mm:ss.SSS" +}; +var setGlobalDateMasks = function (masks) { return assign(globalMasks, masks); }; +/*** + * Format a date + * @method format + * @param {Date|number} dateObj + * @param {string} mask Format of the date, i.e. 'mm-dd-yy' or 'shortDate' + * @returns {string} Formatted date string + */ +var format = function (dateObj, mask, i18n) { + if (mask === void 0) { mask = globalMasks["default"]; } + if (i18n === void 0) { i18n = {}; } + if (typeof dateObj === "number") { + dateObj = new Date(dateObj); + } + if (Object.prototype.toString.call(dateObj) !== "[object Date]" || + isNaN(dateObj.getTime())) { + throw new Error("Invalid Date pass to format"); + } + mask = globalMasks[mask] || mask; + var literals = []; + // Make literals inactive by replacing them with @@@ + mask = mask.replace(literal, function ($0, $1) { + literals.push($1); + return "@@@"; + }); + var combinedI18nSettings = assign(assign({}, globalI18n), i18n); + // Apply formatting rules + mask = mask.replace(token, function ($0) { + return formatFlags[$0](dateObj, combinedI18nSettings); + }); + // Inline literal values back into the formatted value + return mask.replace(/@@@/g, function () { return literals.shift(); }); +}; +/** + * Parse a date string into a Javascript Date object / + * @method parse + * @param {string} dateStr Date string + * @param {string} format Date parse format + * @param {i18n} I18nSettingsOptional Full or subset of I18N settings + * @returns {Date|null} Returns Date object. Returns null what date string is invalid or doesn't match format + */ +function parse(dateStr, format, i18n) { + if (i18n === void 0) { i18n = {}; } + if (typeof format !== "string") { + throw new Error("Invalid format in fecha parse"); + } + // Check to see if the format is actually a mask + format = globalMasks[format] || format; + // Avoid regular expression denial of service, fail early for really long strings + // https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS + if (dateStr.length > 1000) { + return null; + } + // Default to the beginning of the year. + var today = new Date(); + var dateInfo = { + year: today.getFullYear(), + month: 0, + day: 1, + hour: 0, + minute: 0, + second: 0, + millisecond: 0, + isPm: null, + timezoneOffset: null + }; + var parseInfo = []; + var literals = []; + // Replace all the literals with @@@. Hopefully a string that won't exist in the format + var newFormat = format.replace(literal, function ($0, $1) { + literals.push(regexEscape($1)); + return "@@@"; + }); + var specifiedFields = {}; + var requiredFields = {}; + // Change every token that we find into the correct regex + newFormat = regexEscape(newFormat).replace(token, function ($0) { + var info = parseFlags[$0]; + var field = info[0], regex = info[1], requiredField = info[3]; + // Check if the person has specified the same field twice. This will lead to confusing results. + if (specifiedFields[field]) { + throw new Error("Invalid format. " + field + " specified twice in format"); + } + specifiedFields[field] = true; + // Check if there are any required fields. For instance, 12 hour time requires AM/PM specified + if (requiredField) { + requiredFields[requiredField] = true; + } + parseInfo.push(info); + return "(" + regex + ")"; + }); + // Check all the required fields are present + Object.keys(requiredFields).forEach(function (field) { + if (!specifiedFields[field]) { + throw new Error("Invalid format. " + field + " is required in specified format"); + } + }); + // Add back all the literals after + newFormat = newFormat.replace(/@@@/g, function () { return literals.shift(); }); + // Check if the date string matches the format. If it doesn't return null + var matches = dateStr.match(new RegExp(newFormat, "i")); + if (!matches) { + return null; + } + var combinedI18nSettings = assign(assign({}, globalI18n), i18n); + // For each match, call the parser function for that date part + for (var i = 1; i < matches.length; i++) { + var _a = parseInfo[i - 1], field = _a[0], parser = _a[2]; + var value = parser + ? parser(matches[i], combinedI18nSettings) + : +matches[i]; + // If the parser can't make sense of the value, return null + if (value == null) { + return null; + } + dateInfo[field] = value; + } + if (dateInfo.isPm === 1 && dateInfo.hour != null && +dateInfo.hour !== 12) { + dateInfo.hour = +dateInfo.hour + 12; + } + else if (dateInfo.isPm === 0 && +dateInfo.hour === 12) { + dateInfo.hour = 0; + } + var dateTZ; + if (dateInfo.timezoneOffset == null) { + dateTZ = new Date(dateInfo.year, dateInfo.month, dateInfo.day, dateInfo.hour, dateInfo.minute, dateInfo.second, dateInfo.millisecond); + var validateFields = [ + ["month", "getMonth"], + ["day", "getDate"], + ["hour", "getHours"], + ["minute", "getMinutes"], + ["second", "getSeconds"] + ]; + for (var i = 0, len = validateFields.length; i < len; i++) { + // Check to make sure the date field is within the allowed range. Javascript dates allows values + // outside the allowed range. If the values don't match the value was invalid + if (specifiedFields[validateFields[i][0]] && + dateInfo[validateFields[i][0]] !== dateTZ[validateFields[i][1]]()) { + return null; + } + } + } + else { + dateTZ = new Date(Date.UTC(dateInfo.year, dateInfo.month, dateInfo.day, dateInfo.hour, dateInfo.minute - dateInfo.timezoneOffset, dateInfo.second, dateInfo.millisecond)); + // We can't validate dates in another timezone unfortunately. Do a basic check instead + if (dateInfo.month > 11 || + dateInfo.month < 0 || + dateInfo.day > 31 || + dateInfo.day < 1 || + dateInfo.hour > 23 || + dateInfo.hour < 0 || + dateInfo.minute > 59 || + dateInfo.minute < 0 || + dateInfo.second > 59 || + dateInfo.second < 0) { + return null; + } + } + // Don't allow invalid dates + return dateTZ; +} +var fecha = { + format: format, + parse: parse, + defaultI18n: defaultI18n, + setGlobalDateI18n: setGlobalDateI18n, + setGlobalDateMasks: setGlobalDateMasks +}; + +export default fecha; +export { assign, format, parse, defaultI18n, setGlobalDateI18n, setGlobalDateMasks }; +//# sourceMappingURL=fecha.js.map diff --git a/node_modules/fecha/lib/fecha.js.map b/node_modules/fecha/lib/fecha.js.map new file mode 100644 index 0000000..d61aa71 --- /dev/null +++ b/node_modules/fecha/lib/fecha.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fecha.js","sources":["../src/fecha.ts"],"sourcesContent":["const token = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\\1?|[aA]|\"[^\"]*\"|'[^']*'/g;\nconst twoDigitsOptional = \"\\\\d\\\\d?\";\nconst twoDigits = \"\\\\d\\\\d\";\nconst threeDigits = \"\\\\d{3}\";\nconst fourDigits = \"\\\\d{4}\";\nconst word = \"[^\\\\s]+\";\nconst literal = /\\[([^]*?)\\]/gm;\n\ntype DateInfo = {\n year: number;\n month: number;\n day: number;\n hour: number;\n minute: number;\n second: number;\n millisecond: number;\n isPm: number | null;\n timezoneOffset: number | null;\n};\n\nexport type I18nSettings = {\n amPm: [string, string];\n dayNames: Days;\n dayNamesShort: Days;\n monthNames: Months;\n monthNamesShort: Months;\n DoFn(dayOfMonth: number): string;\n};\n\nexport type I18nSettingsOptional = Partial;\n\nexport type Days = [string, string, string, string, string, string, string];\nexport type Months = [\n string,\n string,\n string,\n string,\n string,\n string,\n string,\n string,\n string,\n string,\n string,\n string\n];\n\nfunction shorten(arr: T, sLen: number): string[] {\n const newArr: string[] = [];\n for (let i = 0, len = arr.length; i < len; i++) {\n newArr.push(arr[i].substr(0, sLen));\n }\n return newArr;\n}\n\nconst monthUpdate = (\n arrName: \"monthNames\" | \"monthNamesShort\" | \"dayNames\" | \"dayNamesShort\"\n) => (v: string, i18n: I18nSettings): number | null => {\n const lowerCaseArr = i18n[arrName].map(v => v.toLowerCase());\n const index = lowerCaseArr.indexOf(v.toLowerCase());\n if (index > -1) {\n return index;\n }\n return null;\n};\n\nexport function assign(a: A): A;\nexport function assign(a: A, b: B): A & B;\nexport function assign(a: A, b: B, c: C): A & B & C;\nexport function assign(a: A, b: B, c: C, d: D): A & B & C & D;\nexport function assign(origObj: any, ...args: any[]): any {\n for (const obj of args) {\n for (const key in obj) {\n // @ts-ignore ex\n origObj[key] = obj[key];\n }\n }\n return origObj;\n}\n\nconst dayNames: Days = [\n \"Sunday\",\n \"Monday\",\n \"Tuesday\",\n \"Wednesday\",\n \"Thursday\",\n \"Friday\",\n \"Saturday\"\n];\nconst monthNames: Months = [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\"\n];\n\nconst monthNamesShort: Months = shorten(monthNames, 3) as Months;\nconst dayNamesShort: Days = shorten(dayNames, 3) as Days;\n\nconst defaultI18n: I18nSettings = {\n dayNamesShort,\n dayNames,\n monthNamesShort,\n monthNames,\n amPm: [\"am\", \"pm\"],\n DoFn(dayOfMonth: number) {\n return (\n dayOfMonth +\n [\"th\", \"st\", \"nd\", \"rd\"][\n dayOfMonth % 10 > 3\n ? 0\n : ((dayOfMonth - (dayOfMonth % 10) !== 10 ? 1 : 0) * dayOfMonth) % 10\n ]\n );\n }\n};\nlet globalI18n = assign({}, defaultI18n);\nconst setGlobalDateI18n = (i18n: I18nSettingsOptional): I18nSettings =>\n (globalI18n = assign(globalI18n, i18n));\n\nconst regexEscape = (str: string): string =>\n str.replace(/[|\\\\{()[^$+*?.-]/g, \"\\\\$&\");\n\nconst pad = (val: string | number, len = 2): string => {\n val = String(val);\n while (val.length < len) {\n val = \"0\" + val;\n }\n return val;\n};\n\nconst formatFlags: Record<\n string,\n (dateObj: Date, i18n: I18nSettings) => string\n> = {\n D: (dateObj: Date): string => String(dateObj.getDate()),\n DD: (dateObj: Date): string => pad(dateObj.getDate()),\n Do: (dateObj: Date, i18n: I18nSettings): string =>\n i18n.DoFn(dateObj.getDate()),\n d: (dateObj: Date): string => String(dateObj.getDay()),\n dd: (dateObj: Date): string => pad(dateObj.getDay()),\n ddd: (dateObj: Date, i18n: I18nSettings): string =>\n i18n.dayNamesShort[dateObj.getDay()],\n dddd: (dateObj: Date, i18n: I18nSettings): string =>\n i18n.dayNames[dateObj.getDay()],\n M: (dateObj: Date): string => String(dateObj.getMonth() + 1),\n MM: (dateObj: Date): string => pad(dateObj.getMonth() + 1),\n MMM: (dateObj: Date, i18n: I18nSettings): string =>\n i18n.monthNamesShort[dateObj.getMonth()],\n MMMM: (dateObj: Date, i18n: I18nSettings): string =>\n i18n.monthNames[dateObj.getMonth()],\n YY: (dateObj: Date): string =>\n pad(String(dateObj.getFullYear()), 4).substr(2),\n YYYY: (dateObj: Date): string => pad(dateObj.getFullYear(), 4),\n h: (dateObj: Date): string => String(dateObj.getHours() % 12 || 12),\n hh: (dateObj: Date): string => pad(dateObj.getHours() % 12 || 12),\n H: (dateObj: Date): string => String(dateObj.getHours()),\n HH: (dateObj: Date): string => pad(dateObj.getHours()),\n m: (dateObj: Date): string => String(dateObj.getMinutes()),\n mm: (dateObj: Date): string => pad(dateObj.getMinutes()),\n s: (dateObj: Date): string => String(dateObj.getSeconds()),\n ss: (dateObj: Date): string => pad(dateObj.getSeconds()),\n S: (dateObj: Date): string =>\n String(Math.round(dateObj.getMilliseconds() / 100)),\n SS: (dateObj: Date): string =>\n pad(Math.round(dateObj.getMilliseconds() / 10), 2),\n SSS: (dateObj: Date): string => pad(dateObj.getMilliseconds(), 3),\n a: (dateObj: Date, i18n: I18nSettings): string =>\n dateObj.getHours() < 12 ? i18n.amPm[0] : i18n.amPm[1],\n A: (dateObj: Date, i18n: I18nSettings): string =>\n dateObj.getHours() < 12\n ? i18n.amPm[0].toUpperCase()\n : i18n.amPm[1].toUpperCase(),\n ZZ(dateObj: Date): string {\n const offset = dateObj.getTimezoneOffset();\n return (\n (offset > 0 ? \"-\" : \"+\") +\n pad(Math.floor(Math.abs(offset) / 60) * 100 + (Math.abs(offset) % 60), 4)\n );\n },\n Z(dateObj: Date): string {\n const offset = dateObj.getTimezoneOffset();\n return (\n (offset > 0 ? \"-\" : \"+\") +\n pad(Math.floor(Math.abs(offset) / 60), 2) +\n \":\" +\n pad(Math.abs(offset) % 60, 2)\n );\n }\n};\n\ntype ParseInfo = [\n keyof DateInfo,\n string,\n ((v: string, i18n: I18nSettings) => number | null)?,\n string?\n];\nconst monthParse = (v: string): number => +v - 1;\nconst emptyDigits: ParseInfo = [null, twoDigitsOptional];\nconst emptyWord: ParseInfo = [null, word];\nconst amPm: ParseInfo = [\n \"isPm\",\n word,\n (v: string, i18n: I18nSettings): number | null => {\n const val = v.toLowerCase();\n if (val === i18n.amPm[0]) {\n return 0;\n } else if (val === i18n.amPm[1]) {\n return 1;\n }\n return null;\n }\n];\nconst timezoneOffset: ParseInfo = [\n \"timezoneOffset\",\n \"[^\\\\s]*?[\\\\+\\\\-]\\\\d\\\\d:?\\\\d\\\\d|[^\\\\s]*?Z?\",\n (v: string): number | null => {\n const parts = (v + \"\").match(/([+-]|\\d\\d)/gi);\n\n if (parts) {\n const minutes = +parts[1] * 60 + parseInt(parts[2], 10);\n return parts[0] === \"+\" ? minutes : -minutes;\n }\n\n return 0;\n }\n];\nconst parseFlags: Record = {\n D: [\"day\", twoDigitsOptional],\n DD: [\"day\", twoDigits],\n Do: [\"day\", twoDigitsOptional + word, (v: string): number => parseInt(v, 10)],\n M: [\"month\", twoDigitsOptional, monthParse],\n MM: [\"month\", twoDigits, monthParse],\n YY: [\n \"year\",\n twoDigits,\n (v: string): number => {\n const now = new Date();\n const cent = +(\"\" + now.getFullYear()).substr(0, 2);\n return +(\"\" + (+v > 68 ? cent - 1 : cent) + v);\n }\n ],\n h: [\"hour\", twoDigitsOptional, undefined, \"isPm\"],\n hh: [\"hour\", twoDigits, undefined, \"isPm\"],\n H: [\"hour\", twoDigitsOptional],\n HH: [\"hour\", twoDigits],\n m: [\"minute\", twoDigitsOptional],\n mm: [\"minute\", twoDigits],\n s: [\"second\", twoDigitsOptional],\n ss: [\"second\", twoDigits],\n YYYY: [\"year\", fourDigits],\n S: [\"millisecond\", \"\\\\d\", (v: string): number => +v * 100],\n SS: [\"millisecond\", twoDigits, (v: string): number => +v * 10],\n SSS: [\"millisecond\", threeDigits],\n d: emptyDigits,\n dd: emptyDigits,\n ddd: emptyWord,\n dddd: emptyWord,\n MMM: [\"month\", word, monthUpdate(\"monthNamesShort\")],\n MMMM: [\"month\", word, monthUpdate(\"monthNames\")],\n a: amPm,\n A: amPm,\n ZZ: timezoneOffset,\n Z: timezoneOffset\n};\n\n// Some common format strings\nconst globalMasks: { [key: string]: string } = {\n default: \"ddd MMM DD YYYY HH:mm:ss\",\n shortDate: \"M/D/YY\",\n mediumDate: \"MMM D, YYYY\",\n longDate: \"MMMM D, YYYY\",\n fullDate: \"dddd, MMMM D, YYYY\",\n isoDate: \"YYYY-MM-DD\",\n isoDateTime: \"YYYY-MM-DDTHH:mm:ssZ\",\n shortTime: \"HH:mm\",\n mediumTime: \"HH:mm:ss\",\n longTime: \"HH:mm:ss.SSS\"\n};\nconst setGlobalDateMasks = (masks: {\n [key: string]: string;\n}): { [key: string]: string } => assign(globalMasks, masks);\n\n/***\n * Format a date\n * @method format\n * @param {Date|number} dateObj\n * @param {string} mask Format of the date, i.e. 'mm-dd-yy' or 'shortDate'\n * @returns {string} Formatted date string\n */\nconst format = (\n dateObj: Date,\n mask: string = globalMasks[\"default\"],\n i18n: I18nSettingsOptional = {}\n): string => {\n if (typeof dateObj === \"number\") {\n dateObj = new Date(dateObj);\n }\n\n if (\n Object.prototype.toString.call(dateObj) !== \"[object Date]\" ||\n isNaN(dateObj.getTime())\n ) {\n throw new Error(\"Invalid Date pass to format\");\n }\n\n mask = globalMasks[mask] || mask;\n\n const literals: string[] = [];\n\n // Make literals inactive by replacing them with @@@\n mask = mask.replace(literal, function($0, $1) {\n literals.push($1);\n return \"@@@\";\n });\n\n const combinedI18nSettings: I18nSettings = assign(\n assign({}, globalI18n),\n i18n\n );\n // Apply formatting rules\n mask = mask.replace(token, $0 =>\n formatFlags[$0](dateObj, combinedI18nSettings)\n );\n // Inline literal values back into the formatted value\n return mask.replace(/@@@/g, () => literals.shift());\n};\n\n/**\n * Parse a date string into a Javascript Date object /\n * @method parse\n * @param {string} dateStr Date string\n * @param {string} format Date parse format\n * @param {i18n} I18nSettingsOptional Full or subset of I18N settings\n * @returns {Date|null} Returns Date object. Returns null what date string is invalid or doesn't match format\n */\nfunction parse(\n dateStr: string,\n format: string,\n i18n: I18nSettingsOptional = {}\n): Date | null {\n if (typeof format !== \"string\") {\n throw new Error(\"Invalid format in fecha parse\");\n }\n\n // Check to see if the format is actually a mask\n format = globalMasks[format] || format;\n\n // Avoid regular expression denial of service, fail early for really long strings\n // https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS\n if (dateStr.length > 1000) {\n return null;\n }\n\n // Default to the beginning of the year.\n const today = new Date();\n const dateInfo: DateInfo = {\n year: today.getFullYear(),\n month: 0,\n day: 1,\n hour: 0,\n minute: 0,\n second: 0,\n millisecond: 0,\n isPm: null,\n timezoneOffset: null\n };\n const parseInfo: ParseInfo[] = [];\n const literals: string[] = [];\n\n // Replace all the literals with @@@. Hopefully a string that won't exist in the format\n let newFormat = format.replace(literal, ($0, $1) => {\n literals.push(regexEscape($1));\n return \"@@@\";\n });\n const specifiedFields: { [field: string]: boolean } = {};\n const requiredFields: { [field: string]: boolean } = {};\n\n // Change every token that we find into the correct regex\n newFormat = regexEscape(newFormat).replace(token, $0 => {\n const info = parseFlags[$0];\n const [field, regex, , requiredField] = info;\n\n // Check if the person has specified the same field twice. This will lead to confusing results.\n if (specifiedFields[field]) {\n throw new Error(`Invalid format. ${field} specified twice in format`);\n }\n\n specifiedFields[field] = true;\n\n // Check if there are any required fields. For instance, 12 hour time requires AM/PM specified\n if (requiredField) {\n requiredFields[requiredField] = true;\n }\n\n parseInfo.push(info);\n return \"(\" + regex + \")\";\n });\n\n // Check all the required fields are present\n Object.keys(requiredFields).forEach(field => {\n if (!specifiedFields[field]) {\n throw new Error(\n `Invalid format. ${field} is required in specified format`\n );\n }\n });\n\n // Add back all the literals after\n newFormat = newFormat.replace(/@@@/g, () => literals.shift());\n\n // Check if the date string matches the format. If it doesn't return null\n const matches = dateStr.match(new RegExp(newFormat, \"i\"));\n if (!matches) {\n return null;\n }\n\n const combinedI18nSettings: I18nSettings = assign(\n assign({}, globalI18n),\n i18n\n );\n\n // For each match, call the parser function for that date part\n for (let i = 1; i < matches.length; i++) {\n const [field, , parser] = parseInfo[i - 1];\n const value = parser\n ? parser(matches[i], combinedI18nSettings)\n : +matches[i];\n\n // If the parser can't make sense of the value, return null\n if (value == null) {\n return null;\n }\n\n dateInfo[field] = value;\n }\n\n if (dateInfo.isPm === 1 && dateInfo.hour != null && +dateInfo.hour !== 12) {\n dateInfo.hour = +dateInfo.hour + 12;\n } else if (dateInfo.isPm === 0 && +dateInfo.hour === 12) {\n dateInfo.hour = 0;\n }\n\n let dateTZ: Date;\n if (dateInfo.timezoneOffset == null) {\n dateTZ = new Date(\n dateInfo.year,\n dateInfo.month,\n dateInfo.day,\n dateInfo.hour,\n dateInfo.minute,\n dateInfo.second,\n dateInfo.millisecond\n );\n const validateFields: [\n \"month\" | \"day\" | \"hour\" | \"minute\" | \"second\",\n \"getMonth\" | \"getDate\" | \"getHours\" | \"getMinutes\" | \"getSeconds\"\n ][] = [\n [\"month\", \"getMonth\"],\n [\"day\", \"getDate\"],\n [\"hour\", \"getHours\"],\n [\"minute\", \"getMinutes\"],\n [\"second\", \"getSeconds\"]\n ];\n for (let i = 0, len = validateFields.length; i < len; i++) {\n // Check to make sure the date field is within the allowed range. Javascript dates allows values\n // outside the allowed range. If the values don't match the value was invalid\n if (\n specifiedFields[validateFields[i][0]] &&\n dateInfo[validateFields[i][0]] !== dateTZ[validateFields[i][1]]()\n ) {\n return null;\n }\n }\n } else {\n dateTZ = new Date(\n Date.UTC(\n dateInfo.year,\n dateInfo.month,\n dateInfo.day,\n dateInfo.hour,\n dateInfo.minute - dateInfo.timezoneOffset,\n dateInfo.second,\n dateInfo.millisecond\n )\n );\n\n // We can't validate dates in another timezone unfortunately. Do a basic check instead\n if (\n dateInfo.month > 11 ||\n dateInfo.month < 0 ||\n dateInfo.day > 31 ||\n dateInfo.day < 1 ||\n dateInfo.hour > 23 ||\n dateInfo.hour < 0 ||\n dateInfo.minute > 59 ||\n dateInfo.minute < 0 ||\n dateInfo.second > 59 ||\n dateInfo.second < 0\n ) {\n return null;\n }\n }\n\n // Don't allow invalid dates\n\n return dateTZ;\n}\nexport default {\n format,\n parse,\n defaultI18n,\n setGlobalDateI18n,\n setGlobalDateMasks\n};\nexport { format, parse, defaultI18n, setGlobalDateI18n, setGlobalDateMasks };\n"],"names":[],"mappings":"AAAA,IAAM,KAAK,GAAG,4EAA4E,CAAC;AAC3F,IAAM,iBAAiB,GAAG,SAAS,CAAC;AACpC,IAAM,SAAS,GAAG,QAAQ,CAAC;AAC3B,IAAM,WAAW,GAAG,QAAQ,CAAC;AAC7B,IAAM,UAAU,GAAG,QAAQ,CAAC;AAC5B,IAAM,IAAI,GAAG,SAAS,CAAC;AACvB,IAAM,OAAO,GAAG,eAAe,CAAC;AAyChC,SAAS,OAAO,CAAqB,GAAM,EAAE,IAAY;IACvD,IAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;QAC9C,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;KACrC;IACD,OAAO,MAAM,CAAC;CACf;AAED,IAAM,WAAW,GAAG,UAClB,OAAwE,IACrE,OAAA,UAAC,CAAS,EAAE,IAAkB;IACjC,IAAM,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,WAAW,EAAE,GAAA,CAAC,CAAC;IAC7D,IAAM,KAAK,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;IACpD,IAAI,KAAK,GAAG,CAAC,CAAC,EAAE;QACd,OAAO,KAAK,CAAC;KACd;IACD,OAAO,IAAI,CAAC;CACb,GAAA,CAAC;AAMF,SAAgB,MAAM,CAAC,OAAY;IAAE,cAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,6BAAc;;IACjD,KAAkB,UAAI,EAAJ,aAAI,EAAJ,kBAAI,EAAJ,IAAI,EAAE;QAAnB,IAAM,GAAG,aAAA;QACZ,KAAK,IAAM,GAAG,IAAI,GAAG,EAAE;;YAErB,OAAO,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;SACzB;KACF;IACD,OAAO,OAAO,CAAC;CAChB;AAED,IAAM,QAAQ,GAAS;IACrB,QAAQ;IACR,QAAQ;IACR,SAAS;IACT,WAAW;IACX,UAAU;IACV,QAAQ;IACR,UAAU;CACX,CAAC;AACF,IAAM,UAAU,GAAW;IACzB,SAAS;IACT,UAAU;IACV,OAAO;IACP,OAAO;IACP,KAAK;IACL,MAAM;IACN,MAAM;IACN,QAAQ;IACR,WAAW;IACX,SAAS;IACT,UAAU;IACV,UAAU;CACX,CAAC;AAEF,IAAM,eAAe,GAAW,OAAO,CAAC,UAAU,EAAE,CAAC,CAAW,CAAC;AACjE,IAAM,aAAa,GAAS,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAS,CAAC;AAEzD,IAAM,WAAW,GAAiB;IAChC,aAAa,eAAA;IACb,QAAQ,UAAA;IACR,eAAe,iBAAA;IACf,UAAU,YAAA;IACV,IAAI,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;IAClB,IAAI,EAAJ,UAAK,UAAkB;QACrB,QACE,UAAU;YACV,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CACtB,UAAU,GAAG,EAAE,GAAG,CAAC;kBACf,CAAC;kBACD,CAAC,CAAC,UAAU,IAAI,UAAU,GAAG,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC,IAAI,UAAU,IAAI,EAAE,CACxE,EACD;KACH;CACF,CAAC;AACF,IAAI,UAAU,GAAG,MAAM,CAAC,EAAE,EAAE,WAAW,CAAC,CAAC;AACzC,IAAM,iBAAiB,GAAG,UAAC,IAA0B;IACnD,QAAC,UAAU,GAAG,MAAM,CAAC,UAAU,EAAE,IAAI,CAAC;CAAC,CAAC;AAE1C,IAAM,WAAW,GAAG,UAAC,GAAW;IAC9B,OAAA,GAAG,CAAC,OAAO,CAAC,mBAAmB,EAAE,MAAM,CAAC;CAAA,CAAC;AAE3C,IAAM,GAAG,GAAG,UAAC,GAAoB,EAAE,GAAO;IAAP,oBAAA,EAAA,OAAO;IACxC,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;IAClB,OAAO,GAAG,CAAC,MAAM,GAAG,GAAG,EAAE;QACvB,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;KACjB;IACD,OAAO,GAAG,CAAC;CACZ,CAAC;AAEF,IAAM,WAAW,GAGb;IACF,CAAC,EAAE,UAAC,OAAa,IAAa,OAAA,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,GAAA;IACvD,EAAE,EAAE,UAAC,OAAa,IAAa,OAAA,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,GAAA;IACrD,EAAE,EAAE,UAAC,OAAa,EAAE,IAAkB;QACpC,OAAA,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;KAAA;IAC9B,CAAC,EAAE,UAAC,OAAa,IAAa,OAAA,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,GAAA;IACtD,EAAE,EAAE,UAAC,OAAa,IAAa,OAAA,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,GAAA;IACpD,GAAG,EAAE,UAAC,OAAa,EAAE,IAAkB;QACrC,OAAA,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;KAAA;IACtC,IAAI,EAAE,UAAC,OAAa,EAAE,IAAkB;QACtC,OAAA,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;KAAA;IACjC,CAAC,EAAE,UAAC,OAAa,IAAa,OAAA,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,GAAA;IAC5D,EAAE,EAAE,UAAC,OAAa,IAAa,OAAA,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,GAAA;IAC1D,GAAG,EAAE,UAAC,OAAa,EAAE,IAAkB;QACrC,OAAA,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;KAAA;IAC1C,IAAI,EAAE,UAAC,OAAa,EAAE,IAAkB;QACtC,OAAA,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;KAAA;IACrC,EAAE,EAAE,UAAC,OAAa;QAChB,OAAA,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;KAAA;IACjD,IAAI,EAAE,UAAC,OAAa,IAAa,OAAA,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC,GAAA;IAC9D,CAAC,EAAE,UAAC,OAAa,IAAa,OAAA,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,GAAA;IACnE,EAAE,EAAE,UAAC,OAAa,IAAa,OAAA,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,GAAA;IACjE,CAAC,EAAE,UAAC,OAAa,IAAa,OAAA,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,GAAA;IACxD,EAAE,EAAE,UAAC,OAAa,IAAa,OAAA,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,GAAA;IACtD,CAAC,EAAE,UAAC,OAAa,IAAa,OAAA,MAAM,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC,GAAA;IAC1D,EAAE,EAAE,UAAC,OAAa,IAAa,OAAA,GAAG,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC,GAAA;IACxD,CAAC,EAAE,UAAC,OAAa,IAAa,OAAA,MAAM,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC,GAAA;IAC1D,EAAE,EAAE,UAAC,OAAa,IAAa,OAAA,GAAG,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC,GAAA;IACxD,CAAC,EAAE,UAAC,OAAa;QACf,OAAA,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,eAAe,EAAE,GAAG,GAAG,CAAC,CAAC;KAAA;IACrD,EAAE,EAAE,UAAC,OAAa;QAChB,OAAA,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,eAAe,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC;KAAA;IACpD,GAAG,EAAE,UAAC,OAAa,IAAa,OAAA,GAAG,CAAC,OAAO,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,GAAA;IACjE,CAAC,EAAE,UAAC,OAAa,EAAE,IAAkB;QACnC,OAAA,OAAO,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;KAAA;IACvD,CAAC,EAAE,UAAC,OAAa,EAAE,IAAkB;QACnC,OAAA,OAAO,CAAC,QAAQ,EAAE,GAAG,EAAE;cACnB,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE;cAC1B,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE;KAAA;IAChC,EAAE,EAAF,UAAG,OAAa;QACd,IAAM,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;QAC3C,QACE,CAAC,MAAM,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG;YACvB,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,GAAG,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC,EACzE;KACH;IACD,CAAC,EAAD,UAAE,OAAa;QACb,IAAM,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;QAC3C,QACE,CAAC,MAAM,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG;YACvB,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC;YACzC,GAAG;YACH,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,EAC7B;KACH;CACF,CAAC;AAQF,IAAM,UAAU,GAAG,UAAC,CAAS,IAAa,OAAA,CAAC,CAAC,GAAG,CAAC,GAAA,CAAC;AACjD,IAAM,WAAW,GAAc,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;AACzD,IAAM,SAAS,GAAc,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AAC1C,IAAM,IAAI,GAAc;IACtB,MAAM;IACN,IAAI;IACJ,UAAC,CAAS,EAAE,IAAkB;QAC5B,IAAM,GAAG,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC;QAC5B,IAAI,GAAG,KAAK,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;YACxB,OAAO,CAAC,CAAC;SACV;aAAM,IAAI,GAAG,KAAK,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;YAC/B,OAAO,CAAC,CAAC;SACV;QACD,OAAO,IAAI,CAAC;KACb;CACF,CAAC;AACF,IAAM,cAAc,GAAc;IAChC,gBAAgB;IAChB,2CAA2C;IAC3C,UAAC,CAAS;QACR,IAAM,KAAK,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;QAE9C,IAAI,KAAK,EAAE;YACT,IAAM,OAAO,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YACxD,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,GAAG,GAAG,OAAO,GAAG,CAAC,OAAO,CAAC;SAC9C;QAED,OAAO,CAAC,CAAC;KACV;CACF,CAAC;AACF,IAAM,UAAU,GAA8B;IAC5C,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,CAAC;IAC7B,EAAE,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC;IACtB,EAAE,EAAE,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI,EAAE,UAAC,CAAS,IAAa,OAAA,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,GAAA,CAAC;IAC7E,CAAC,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,UAAU,CAAC;IAC3C,EAAE,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,UAAU,CAAC;IACpC,EAAE,EAAE;QACF,MAAM;QACN,SAAS;QACT,UAAC,CAAS;YACR,IAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAC;YACvB,IAAM,IAAI,GAAG,CAAC,CAAC,EAAE,GAAG,GAAG,CAAC,WAAW,EAAE,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;YACpD,OAAO,EAAE,EAAE,IAAI,CAAC,CAAC,GAAG,EAAE,GAAG,IAAI,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;SAChD;KACF;IACD,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,CAAC;IACjD,EAAE,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC;IAC1C,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,CAAC;IAC9B,EAAE,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC;IACvB,CAAC,EAAE,CAAC,QAAQ,EAAE,iBAAiB,CAAC;IAChC,EAAE,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IACzB,CAAC,EAAE,CAAC,QAAQ,EAAE,iBAAiB,CAAC;IAChC,EAAE,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IACzB,IAAI,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;IAC1B,CAAC,EAAE,CAAC,aAAa,EAAE,KAAK,EAAE,UAAC,CAAS,IAAa,OAAA,CAAC,CAAC,GAAG,GAAG,GAAA,CAAC;IAC1D,EAAE,EAAE,CAAC,aAAa,EAAE,SAAS,EAAE,UAAC,CAAS,IAAa,OAAA,CAAC,CAAC,GAAG,EAAE,GAAA,CAAC;IAC9D,GAAG,EAAE,CAAC,aAAa,EAAE,WAAW,CAAC;IACjC,CAAC,EAAE,WAAW;IACd,EAAE,EAAE,WAAW;IACf,GAAG,EAAE,SAAS;IACd,IAAI,EAAE,SAAS;IACf,GAAG,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,WAAW,CAAC,iBAAiB,CAAC,CAAC;IACpD,IAAI,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;IAChD,CAAC,EAAE,IAAI;IACP,CAAC,EAAE,IAAI;IACP,EAAE,EAAE,cAAc;IAClB,CAAC,EAAE,cAAc;CAClB,CAAC;;AAGF,IAAM,WAAW,GAA8B;IAC7C,OAAO,EAAE,0BAA0B;IACnC,SAAS,EAAE,QAAQ;IACnB,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,cAAc;IACxB,QAAQ,EAAE,oBAAoB;IAC9B,OAAO,EAAE,YAAY;IACrB,WAAW,EAAE,sBAAsB;IACnC,SAAS,EAAE,OAAO;IAClB,UAAU,EAAE,UAAU;IACtB,QAAQ,EAAE,cAAc;CACzB,CAAC;AACF,IAAM,kBAAkB,GAAG,UAAC,KAE3B,IAAgC,OAAA,MAAM,CAAC,WAAW,EAAE,KAAK,CAAC,GAAA,CAAC;;;;;;;;AAS5D,IAAM,MAAM,GAAG,UACb,OAAa,EACb,IAAqC,EACrC,IAA+B;IAD/B,qBAAA,EAAA,OAAe,WAAW,CAAC,SAAS,CAAC;IACrC,qBAAA,EAAA,SAA+B;IAE/B,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QAC/B,OAAO,GAAG,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC;KAC7B;IAED,IACE,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,eAAe;QAC3D,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,EACxB;QACA,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;KAChD;IAED,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC;IAEjC,IAAM,QAAQ,GAAa,EAAE,CAAC;;IAG9B,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,UAAS,EAAE,EAAE,EAAE;QAC1C,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAClB,OAAO,KAAK,CAAC;KACd,CAAC,CAAC;IAEH,IAAM,oBAAoB,GAAiB,MAAM,CAC/C,MAAM,CAAC,EAAE,EAAE,UAAU,CAAC,EACtB,IAAI,CACL,CAAC;;IAEF,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,UAAA,EAAE;QAC3B,OAAA,WAAW,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,oBAAoB,CAAC;KAAA,CAC/C,CAAC;;IAEF,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,cAAM,OAAA,QAAQ,CAAC,KAAK,EAAE,GAAA,CAAC,CAAC;CACrD,CAAC;;;;;;;;;AAUF,SAAS,KAAK,CACZ,OAAe,EACf,MAAc,EACd,IAA+B;IAA/B,qBAAA,EAAA,SAA+B;IAE/B,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE;QAC9B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;KAClD;;IAGD,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC;;;IAIvC,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,EAAE;QACzB,OAAO,IAAI,CAAC;KACb;;IAGD,IAAM,KAAK,GAAG,IAAI,IAAI,EAAE,CAAC;IACzB,IAAM,QAAQ,GAAa;QACzB,IAAI,EAAE,KAAK,CAAC,WAAW,EAAE;QACzB,KAAK,EAAE,CAAC;QACR,GAAG,EAAE,CAAC;QACN,IAAI,EAAE,CAAC;QACP,MAAM,EAAE,CAAC;QACT,MAAM,EAAE,CAAC;QACT,WAAW,EAAE,CAAC;QACd,IAAI,EAAE,IAAI;QACV,cAAc,EAAE,IAAI;KACrB,CAAC;IACF,IAAM,SAAS,GAAgB,EAAE,CAAC;IAClC,IAAM,QAAQ,GAAa,EAAE,CAAC;;IAG9B,IAAI,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,UAAC,EAAE,EAAE,EAAE;QAC7C,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,CAAC;QAC/B,OAAO,KAAK,CAAC;KACd,CAAC,CAAC;IACH,IAAM,eAAe,GAAiC,EAAE,CAAC;IACzD,IAAM,cAAc,GAAiC,EAAE,CAAC;;IAGxD,SAAS,GAAG,WAAW,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,UAAA,EAAE;QAClD,IAAM,IAAI,GAAG,UAAU,CAAC,EAAE,CAAC,CAAC;QACrB,IAAA,KAAK,GAA4B,IAAI,GAAhC,EAAE,KAAK,GAAqB,IAAI,GAAzB,EAAI,aAAa,GAAI,IAAI,GAAR,CAAS;;QAG7C,IAAI,eAAe,CAAC,KAAK,CAAC,EAAE;YAC1B,MAAM,IAAI,KAAK,CAAC,qBAAmB,KAAK,+BAA4B,CAAC,CAAC;SACvE;QAED,eAAe,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC;;QAG9B,IAAI,aAAa,EAAE;YACjB,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC;SACtC;QAED,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrB,OAAO,GAAG,GAAG,KAAK,GAAG,GAAG,CAAC;KAC1B,CAAC,CAAC;;IAGH,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,OAAO,CAAC,UAAA,KAAK;QACvC,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE;YAC3B,MAAM,IAAI,KAAK,CACb,qBAAmB,KAAK,qCAAkC,CAC3D,CAAC;SACH;KACF,CAAC,CAAC;;IAGH,SAAS,GAAG,SAAS,CAAC,OAAO,CAAC,MAAM,EAAE,cAAM,OAAA,QAAQ,CAAC,KAAK,EAAE,GAAA,CAAC,CAAC;;IAG9D,IAAM,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC,CAAC;IAC1D,IAAI,CAAC,OAAO,EAAE;QACZ,OAAO,IAAI,CAAC;KACb;IAED,IAAM,oBAAoB,GAAiB,MAAM,CAC/C,MAAM,CAAC,EAAE,EAAE,UAAU,CAAC,EACtB,IAAI,CACL,CAAC;;IAGF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACjC,IAAA,KAAoB,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,EAAnC,KAAK,QAAA,EAAI,MAAM,QAAoB,CAAC;QAC3C,IAAM,KAAK,GAAG,MAAM;cAChB,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,oBAAoB,CAAC;cACxC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;;QAGhB,IAAI,KAAK,IAAI,IAAI,EAAE;YACjB,OAAO,IAAI,CAAC;SACb;QAED,QAAQ,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC;KACzB;IAED,IAAI,QAAQ,CAAC,IAAI,KAAK,CAAC,IAAI,QAAQ,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,EAAE,EAAE;QACzE,QAAQ,CAAC,IAAI,GAAG,CAAC,QAAQ,CAAC,IAAI,GAAG,EAAE,CAAC;KACrC;SAAM,IAAI,QAAQ,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,EAAE,EAAE;QACvD,QAAQ,CAAC,IAAI,GAAG,CAAC,CAAC;KACnB;IAED,IAAI,MAAY,CAAC;IACjB,IAAI,QAAQ,CAAC,cAAc,IAAI,IAAI,EAAE;QACnC,MAAM,GAAG,IAAI,IAAI,CACf,QAAQ,CAAC,IAAI,EACb,QAAQ,CAAC,KAAK,EACd,QAAQ,CAAC,GAAG,EACZ,QAAQ,CAAC,IAAI,EACb,QAAQ,CAAC,MAAM,EACf,QAAQ,CAAC,MAAM,EACf,QAAQ,CAAC,WAAW,CACrB,CAAC;QACF,IAAM,cAAc,GAGd;YACJ,CAAC,OAAO,EAAE,UAAU,CAAC;YACrB,CAAC,KAAK,EAAE,SAAS,CAAC;YAClB,CAAC,MAAM,EAAE,UAAU,CAAC;YACpB,CAAC,QAAQ,EAAE,YAAY,CAAC;YACxB,CAAC,QAAQ,EAAE,YAAY,CAAC;SACzB,CAAC;QACF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,cAAc,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;;;YAGzD,IACE,eAAe,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBACrC,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EACjE;gBACA,OAAO,IAAI,CAAC;aACb;SACF;KACF;SAAM;QACL,MAAM,GAAG,IAAI,IAAI,CACf,IAAI,CAAC,GAAG,CACN,QAAQ,CAAC,IAAI,EACb,QAAQ,CAAC,KAAK,EACd,QAAQ,CAAC,GAAG,EACZ,QAAQ,CAAC,IAAI,EACb,QAAQ,CAAC,MAAM,GAAG,QAAQ,CAAC,cAAc,EACzC,QAAQ,CAAC,MAAM,EACf,QAAQ,CAAC,WAAW,CACrB,CACF,CAAC;;QAGF,IACE,QAAQ,CAAC,KAAK,GAAG,EAAE;YACnB,QAAQ,CAAC,KAAK,GAAG,CAAC;YAClB,QAAQ,CAAC,GAAG,GAAG,EAAE;YACjB,QAAQ,CAAC,GAAG,GAAG,CAAC;YAChB,QAAQ,CAAC,IAAI,GAAG,EAAE;YAClB,QAAQ,CAAC,IAAI,GAAG,CAAC;YACjB,QAAQ,CAAC,MAAM,GAAG,EAAE;YACpB,QAAQ,CAAC,MAAM,GAAG,CAAC;YACnB,QAAQ,CAAC,MAAM,GAAG,EAAE;YACpB,QAAQ,CAAC,MAAM,GAAG,CAAC,EACnB;YACA,OAAO,IAAI,CAAC;SACb;KACF;;IAID,OAAO,MAAM,CAAC;CACf;AACD,YAAe;IACb,MAAM,QAAA;IACN,KAAK,OAAA;IACL,WAAW,aAAA;IACX,iBAAiB,mBAAA;IACjB,kBAAkB,oBAAA;CACnB,CAAC;;;;;"} \ No newline at end of file diff --git a/node_modules/fecha/lib/fecha.umd.js b/node_modules/fecha/lib/fecha.umd.js new file mode 100644 index 0000000..b61a0f6 --- /dev/null +++ b/node_modules/fecha/lib/fecha.umd.js @@ -0,0 +1,418 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : + typeof define === 'function' && define.amd ? define(['exports'], factory) : + (factory((global.fecha = {}))); +}(this, (function (exports) { 'use strict'; + + var token = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g; + var twoDigitsOptional = "\\d\\d?"; + var twoDigits = "\\d\\d"; + var threeDigits = "\\d{3}"; + var fourDigits = "\\d{4}"; + var word = "[^\\s]+"; + var literal = /\[([^]*?)\]/gm; + function shorten(arr, sLen) { + var newArr = []; + for (var i = 0, len = arr.length; i < len; i++) { + newArr.push(arr[i].substr(0, sLen)); + } + return newArr; + } + var monthUpdate = function (arrName) { return function (v, i18n) { + var lowerCaseArr = i18n[arrName].map(function (v) { return v.toLowerCase(); }); + var index = lowerCaseArr.indexOf(v.toLowerCase()); + if (index > -1) { + return index; + } + return null; + }; }; + function assign(origObj) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + for (var _a = 0, args_1 = args; _a < args_1.length; _a++) { + var obj = args_1[_a]; + for (var key in obj) { + // @ts-ignore ex + origObj[key] = obj[key]; + } + } + return origObj; + } + var dayNames = [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ]; + var monthNames = [ + "January", + "February", + "March", + "April", + "May", + "June", + "July", + "August", + "September", + "October", + "November", + "December" + ]; + var monthNamesShort = shorten(monthNames, 3); + var dayNamesShort = shorten(dayNames, 3); + var defaultI18n = { + dayNamesShort: dayNamesShort, + dayNames: dayNames, + monthNamesShort: monthNamesShort, + monthNames: monthNames, + amPm: ["am", "pm"], + DoFn: function (dayOfMonth) { + return (dayOfMonth + + ["th", "st", "nd", "rd"][dayOfMonth % 10 > 3 + ? 0 + : ((dayOfMonth - (dayOfMonth % 10) !== 10 ? 1 : 0) * dayOfMonth) % 10]); + } + }; + var globalI18n = assign({}, defaultI18n); + var setGlobalDateI18n = function (i18n) { + return (globalI18n = assign(globalI18n, i18n)); + }; + var regexEscape = function (str) { + return str.replace(/[|\\{()[^$+*?.-]/g, "\\$&"); + }; + var pad = function (val, len) { + if (len === void 0) { len = 2; } + val = String(val); + while (val.length < len) { + val = "0" + val; + } + return val; + }; + var formatFlags = { + D: function (dateObj) { return String(dateObj.getDate()); }, + DD: function (dateObj) { return pad(dateObj.getDate()); }, + Do: function (dateObj, i18n) { + return i18n.DoFn(dateObj.getDate()); + }, + d: function (dateObj) { return String(dateObj.getDay()); }, + dd: function (dateObj) { return pad(dateObj.getDay()); }, + ddd: function (dateObj, i18n) { + return i18n.dayNamesShort[dateObj.getDay()]; + }, + dddd: function (dateObj, i18n) { + return i18n.dayNames[dateObj.getDay()]; + }, + M: function (dateObj) { return String(dateObj.getMonth() + 1); }, + MM: function (dateObj) { return pad(dateObj.getMonth() + 1); }, + MMM: function (dateObj, i18n) { + return i18n.monthNamesShort[dateObj.getMonth()]; + }, + MMMM: function (dateObj, i18n) { + return i18n.monthNames[dateObj.getMonth()]; + }, + YY: function (dateObj) { + return pad(String(dateObj.getFullYear()), 4).substr(2); + }, + YYYY: function (dateObj) { return pad(dateObj.getFullYear(), 4); }, + h: function (dateObj) { return String(dateObj.getHours() % 12 || 12); }, + hh: function (dateObj) { return pad(dateObj.getHours() % 12 || 12); }, + H: function (dateObj) { return String(dateObj.getHours()); }, + HH: function (dateObj) { return pad(dateObj.getHours()); }, + m: function (dateObj) { return String(dateObj.getMinutes()); }, + mm: function (dateObj) { return pad(dateObj.getMinutes()); }, + s: function (dateObj) { return String(dateObj.getSeconds()); }, + ss: function (dateObj) { return pad(dateObj.getSeconds()); }, + S: function (dateObj) { + return String(Math.round(dateObj.getMilliseconds() / 100)); + }, + SS: function (dateObj) { + return pad(Math.round(dateObj.getMilliseconds() / 10), 2); + }, + SSS: function (dateObj) { return pad(dateObj.getMilliseconds(), 3); }, + a: function (dateObj, i18n) { + return dateObj.getHours() < 12 ? i18n.amPm[0] : i18n.amPm[1]; + }, + A: function (dateObj, i18n) { + return dateObj.getHours() < 12 + ? i18n.amPm[0].toUpperCase() + : i18n.amPm[1].toUpperCase(); + }, + ZZ: function (dateObj) { + var offset = dateObj.getTimezoneOffset(); + return ((offset > 0 ? "-" : "+") + + pad(Math.floor(Math.abs(offset) / 60) * 100 + (Math.abs(offset) % 60), 4)); + }, + Z: function (dateObj) { + var offset = dateObj.getTimezoneOffset(); + return ((offset > 0 ? "-" : "+") + + pad(Math.floor(Math.abs(offset) / 60), 2) + + ":" + + pad(Math.abs(offset) % 60, 2)); + } + }; + var monthParse = function (v) { return +v - 1; }; + var emptyDigits = [null, twoDigitsOptional]; + var emptyWord = [null, word]; + var amPm = [ + "isPm", + word, + function (v, i18n) { + var val = v.toLowerCase(); + if (val === i18n.amPm[0]) { + return 0; + } + else if (val === i18n.amPm[1]) { + return 1; + } + return null; + } + ]; + var timezoneOffset = [ + "timezoneOffset", + "[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?", + function (v) { + var parts = (v + "").match(/([+-]|\d\d)/gi); + if (parts) { + var minutes = +parts[1] * 60 + parseInt(parts[2], 10); + return parts[0] === "+" ? minutes : -minutes; + } + return 0; + } + ]; + var parseFlags = { + D: ["day", twoDigitsOptional], + DD: ["day", twoDigits], + Do: ["day", twoDigitsOptional + word, function (v) { return parseInt(v, 10); }], + M: ["month", twoDigitsOptional, monthParse], + MM: ["month", twoDigits, monthParse], + YY: [ + "year", + twoDigits, + function (v) { + var now = new Date(); + var cent = +("" + now.getFullYear()).substr(0, 2); + return +("" + (+v > 68 ? cent - 1 : cent) + v); + } + ], + h: ["hour", twoDigitsOptional, undefined, "isPm"], + hh: ["hour", twoDigits, undefined, "isPm"], + H: ["hour", twoDigitsOptional], + HH: ["hour", twoDigits], + m: ["minute", twoDigitsOptional], + mm: ["minute", twoDigits], + s: ["second", twoDigitsOptional], + ss: ["second", twoDigits], + YYYY: ["year", fourDigits], + S: ["millisecond", "\\d", function (v) { return +v * 100; }], + SS: ["millisecond", twoDigits, function (v) { return +v * 10; }], + SSS: ["millisecond", threeDigits], + d: emptyDigits, + dd: emptyDigits, + ddd: emptyWord, + dddd: emptyWord, + MMM: ["month", word, monthUpdate("monthNamesShort")], + MMMM: ["month", word, monthUpdate("monthNames")], + a: amPm, + A: amPm, + ZZ: timezoneOffset, + Z: timezoneOffset + }; + // Some common format strings + var globalMasks = { + default: "ddd MMM DD YYYY HH:mm:ss", + shortDate: "M/D/YY", + mediumDate: "MMM D, YYYY", + longDate: "MMMM D, YYYY", + fullDate: "dddd, MMMM D, YYYY", + isoDate: "YYYY-MM-DD", + isoDateTime: "YYYY-MM-DDTHH:mm:ssZ", + shortTime: "HH:mm", + mediumTime: "HH:mm:ss", + longTime: "HH:mm:ss.SSS" + }; + var setGlobalDateMasks = function (masks) { return assign(globalMasks, masks); }; + /*** + * Format a date + * @method format + * @param {Date|number} dateObj + * @param {string} mask Format of the date, i.e. 'mm-dd-yy' or 'shortDate' + * @returns {string} Formatted date string + */ + var format = function (dateObj, mask, i18n) { + if (mask === void 0) { mask = globalMasks["default"]; } + if (i18n === void 0) { i18n = {}; } + if (typeof dateObj === "number") { + dateObj = new Date(dateObj); + } + if (Object.prototype.toString.call(dateObj) !== "[object Date]" || + isNaN(dateObj.getTime())) { + throw new Error("Invalid Date pass to format"); + } + mask = globalMasks[mask] || mask; + var literals = []; + // Make literals inactive by replacing them with @@@ + mask = mask.replace(literal, function ($0, $1) { + literals.push($1); + return "@@@"; + }); + var combinedI18nSettings = assign(assign({}, globalI18n), i18n); + // Apply formatting rules + mask = mask.replace(token, function ($0) { + return formatFlags[$0](dateObj, combinedI18nSettings); + }); + // Inline literal values back into the formatted value + return mask.replace(/@@@/g, function () { return literals.shift(); }); + }; + /** + * Parse a date string into a Javascript Date object / + * @method parse + * @param {string} dateStr Date string + * @param {string} format Date parse format + * @param {i18n} I18nSettingsOptional Full or subset of I18N settings + * @returns {Date|null} Returns Date object. Returns null what date string is invalid or doesn't match format + */ + function parse(dateStr, format, i18n) { + if (i18n === void 0) { i18n = {}; } + if (typeof format !== "string") { + throw new Error("Invalid format in fecha parse"); + } + // Check to see if the format is actually a mask + format = globalMasks[format] || format; + // Avoid regular expression denial of service, fail early for really long strings + // https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS + if (dateStr.length > 1000) { + return null; + } + // Default to the beginning of the year. + var today = new Date(); + var dateInfo = { + year: today.getFullYear(), + month: 0, + day: 1, + hour: 0, + minute: 0, + second: 0, + millisecond: 0, + isPm: null, + timezoneOffset: null + }; + var parseInfo = []; + var literals = []; + // Replace all the literals with @@@. Hopefully a string that won't exist in the format + var newFormat = format.replace(literal, function ($0, $1) { + literals.push(regexEscape($1)); + return "@@@"; + }); + var specifiedFields = {}; + var requiredFields = {}; + // Change every token that we find into the correct regex + newFormat = regexEscape(newFormat).replace(token, function ($0) { + var info = parseFlags[$0]; + var field = info[0], regex = info[1], requiredField = info[3]; + // Check if the person has specified the same field twice. This will lead to confusing results. + if (specifiedFields[field]) { + throw new Error("Invalid format. " + field + " specified twice in format"); + } + specifiedFields[field] = true; + // Check if there are any required fields. For instance, 12 hour time requires AM/PM specified + if (requiredField) { + requiredFields[requiredField] = true; + } + parseInfo.push(info); + return "(" + regex + ")"; + }); + // Check all the required fields are present + Object.keys(requiredFields).forEach(function (field) { + if (!specifiedFields[field]) { + throw new Error("Invalid format. " + field + " is required in specified format"); + } + }); + // Add back all the literals after + newFormat = newFormat.replace(/@@@/g, function () { return literals.shift(); }); + // Check if the date string matches the format. If it doesn't return null + var matches = dateStr.match(new RegExp(newFormat, "i")); + if (!matches) { + return null; + } + var combinedI18nSettings = assign(assign({}, globalI18n), i18n); + // For each match, call the parser function for that date part + for (var i = 1; i < matches.length; i++) { + var _a = parseInfo[i - 1], field = _a[0], parser = _a[2]; + var value = parser + ? parser(matches[i], combinedI18nSettings) + : +matches[i]; + // If the parser can't make sense of the value, return null + if (value == null) { + return null; + } + dateInfo[field] = value; + } + if (dateInfo.isPm === 1 && dateInfo.hour != null && +dateInfo.hour !== 12) { + dateInfo.hour = +dateInfo.hour + 12; + } + else if (dateInfo.isPm === 0 && +dateInfo.hour === 12) { + dateInfo.hour = 0; + } + var dateTZ; + if (dateInfo.timezoneOffset == null) { + dateTZ = new Date(dateInfo.year, dateInfo.month, dateInfo.day, dateInfo.hour, dateInfo.minute, dateInfo.second, dateInfo.millisecond); + var validateFields = [ + ["month", "getMonth"], + ["day", "getDate"], + ["hour", "getHours"], + ["minute", "getMinutes"], + ["second", "getSeconds"] + ]; + for (var i = 0, len = validateFields.length; i < len; i++) { + // Check to make sure the date field is within the allowed range. Javascript dates allows values + // outside the allowed range. If the values don't match the value was invalid + if (specifiedFields[validateFields[i][0]] && + dateInfo[validateFields[i][0]] !== dateTZ[validateFields[i][1]]()) { + return null; + } + } + } + else { + dateTZ = new Date(Date.UTC(dateInfo.year, dateInfo.month, dateInfo.day, dateInfo.hour, dateInfo.minute - dateInfo.timezoneOffset, dateInfo.second, dateInfo.millisecond)); + // We can't validate dates in another timezone unfortunately. Do a basic check instead + if (dateInfo.month > 11 || + dateInfo.month < 0 || + dateInfo.day > 31 || + dateInfo.day < 1 || + dateInfo.hour > 23 || + dateInfo.hour < 0 || + dateInfo.minute > 59 || + dateInfo.minute < 0 || + dateInfo.second > 59 || + dateInfo.second < 0) { + return null; + } + } + // Don't allow invalid dates + return dateTZ; + } + var fecha = { + format: format, + parse: parse, + defaultI18n: defaultI18n, + setGlobalDateI18n: setGlobalDateI18n, + setGlobalDateMasks: setGlobalDateMasks + }; + + exports.assign = assign; + exports.default = fecha; + exports.format = format; + exports.parse = parse; + exports.defaultI18n = defaultI18n; + exports.setGlobalDateI18n = setGlobalDateI18n; + exports.setGlobalDateMasks = setGlobalDateMasks; + + Object.defineProperty(exports, '__esModule', { value: true }); + +}))); +//# sourceMappingURL=fecha.umd.js.map diff --git a/node_modules/fecha/lib/fecha.umd.js.map b/node_modules/fecha/lib/fecha.umd.js.map new file mode 100644 index 0000000..850634b --- /dev/null +++ b/node_modules/fecha/lib/fecha.umd.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fecha.umd.js","sources":["../src/fecha.ts"],"sourcesContent":["const token = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\\1?|[aA]|\"[^\"]*\"|'[^']*'/g;\nconst twoDigitsOptional = \"\\\\d\\\\d?\";\nconst twoDigits = \"\\\\d\\\\d\";\nconst threeDigits = \"\\\\d{3}\";\nconst fourDigits = \"\\\\d{4}\";\nconst word = \"[^\\\\s]+\";\nconst literal = /\\[([^]*?)\\]/gm;\n\ntype DateInfo = {\n year: number;\n month: number;\n day: number;\n hour: number;\n minute: number;\n second: number;\n millisecond: number;\n isPm: number | null;\n timezoneOffset: number | null;\n};\n\nexport type I18nSettings = {\n amPm: [string, string];\n dayNames: Days;\n dayNamesShort: Days;\n monthNames: Months;\n monthNamesShort: Months;\n DoFn(dayOfMonth: number): string;\n};\n\nexport type I18nSettingsOptional = Partial;\n\nexport type Days = [string, string, string, string, string, string, string];\nexport type Months = [\n string,\n string,\n string,\n string,\n string,\n string,\n string,\n string,\n string,\n string,\n string,\n string\n];\n\nfunction shorten(arr: T, sLen: number): string[] {\n const newArr: string[] = [];\n for (let i = 0, len = arr.length; i < len; i++) {\n newArr.push(arr[i].substr(0, sLen));\n }\n return newArr;\n}\n\nconst monthUpdate = (\n arrName: \"monthNames\" | \"monthNamesShort\" | \"dayNames\" | \"dayNamesShort\"\n) => (v: string, i18n: I18nSettings): number | null => {\n const lowerCaseArr = i18n[arrName].map(v => v.toLowerCase());\n const index = lowerCaseArr.indexOf(v.toLowerCase());\n if (index > -1) {\n return index;\n }\n return null;\n};\n\nexport function assign(a: A): A;\nexport function assign(a: A, b: B): A & B;\nexport function assign(a: A, b: B, c: C): A & B & C;\nexport function assign(a: A, b: B, c: C, d: D): A & B & C & D;\nexport function assign(origObj: any, ...args: any[]): any {\n for (const obj of args) {\n for (const key in obj) {\n // @ts-ignore ex\n origObj[key] = obj[key];\n }\n }\n return origObj;\n}\n\nconst dayNames: Days = [\n \"Sunday\",\n \"Monday\",\n \"Tuesday\",\n \"Wednesday\",\n \"Thursday\",\n \"Friday\",\n \"Saturday\"\n];\nconst monthNames: Months = [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\"\n];\n\nconst monthNamesShort: Months = shorten(monthNames, 3) as Months;\nconst dayNamesShort: Days = shorten(dayNames, 3) as Days;\n\nconst defaultI18n: I18nSettings = {\n dayNamesShort,\n dayNames,\n monthNamesShort,\n monthNames,\n amPm: [\"am\", \"pm\"],\n DoFn(dayOfMonth: number) {\n return (\n dayOfMonth +\n [\"th\", \"st\", \"nd\", \"rd\"][\n dayOfMonth % 10 > 3\n ? 0\n : ((dayOfMonth - (dayOfMonth % 10) !== 10 ? 1 : 0) * dayOfMonth) % 10\n ]\n );\n }\n};\nlet globalI18n = assign({}, defaultI18n);\nconst setGlobalDateI18n = (i18n: I18nSettingsOptional): I18nSettings =>\n (globalI18n = assign(globalI18n, i18n));\n\nconst regexEscape = (str: string): string =>\n str.replace(/[|\\\\{()[^$+*?.-]/g, \"\\\\$&\");\n\nconst pad = (val: string | number, len = 2): string => {\n val = String(val);\n while (val.length < len) {\n val = \"0\" + val;\n }\n return val;\n};\n\nconst formatFlags: Record<\n string,\n (dateObj: Date, i18n: I18nSettings) => string\n> = {\n D: (dateObj: Date): string => String(dateObj.getDate()),\n DD: (dateObj: Date): string => pad(dateObj.getDate()),\n Do: (dateObj: Date, i18n: I18nSettings): string =>\n i18n.DoFn(dateObj.getDate()),\n d: (dateObj: Date): string => String(dateObj.getDay()),\n dd: (dateObj: Date): string => pad(dateObj.getDay()),\n ddd: (dateObj: Date, i18n: I18nSettings): string =>\n i18n.dayNamesShort[dateObj.getDay()],\n dddd: (dateObj: Date, i18n: I18nSettings): string =>\n i18n.dayNames[dateObj.getDay()],\n M: (dateObj: Date): string => String(dateObj.getMonth() + 1),\n MM: (dateObj: Date): string => pad(dateObj.getMonth() + 1),\n MMM: (dateObj: Date, i18n: I18nSettings): string =>\n i18n.monthNamesShort[dateObj.getMonth()],\n MMMM: (dateObj: Date, i18n: I18nSettings): string =>\n i18n.monthNames[dateObj.getMonth()],\n YY: (dateObj: Date): string =>\n pad(String(dateObj.getFullYear()), 4).substr(2),\n YYYY: (dateObj: Date): string => pad(dateObj.getFullYear(), 4),\n h: (dateObj: Date): string => String(dateObj.getHours() % 12 || 12),\n hh: (dateObj: Date): string => pad(dateObj.getHours() % 12 || 12),\n H: (dateObj: Date): string => String(dateObj.getHours()),\n HH: (dateObj: Date): string => pad(dateObj.getHours()),\n m: (dateObj: Date): string => String(dateObj.getMinutes()),\n mm: (dateObj: Date): string => pad(dateObj.getMinutes()),\n s: (dateObj: Date): string => String(dateObj.getSeconds()),\n ss: (dateObj: Date): string => pad(dateObj.getSeconds()),\n S: (dateObj: Date): string =>\n String(Math.round(dateObj.getMilliseconds() / 100)),\n SS: (dateObj: Date): string =>\n pad(Math.round(dateObj.getMilliseconds() / 10), 2),\n SSS: (dateObj: Date): string => pad(dateObj.getMilliseconds(), 3),\n a: (dateObj: Date, i18n: I18nSettings): string =>\n dateObj.getHours() < 12 ? i18n.amPm[0] : i18n.amPm[1],\n A: (dateObj: Date, i18n: I18nSettings): string =>\n dateObj.getHours() < 12\n ? i18n.amPm[0].toUpperCase()\n : i18n.amPm[1].toUpperCase(),\n ZZ(dateObj: Date): string {\n const offset = dateObj.getTimezoneOffset();\n return (\n (offset > 0 ? \"-\" : \"+\") +\n pad(Math.floor(Math.abs(offset) / 60) * 100 + (Math.abs(offset) % 60), 4)\n );\n },\n Z(dateObj: Date): string {\n const offset = dateObj.getTimezoneOffset();\n return (\n (offset > 0 ? \"-\" : \"+\") +\n pad(Math.floor(Math.abs(offset) / 60), 2) +\n \":\" +\n pad(Math.abs(offset) % 60, 2)\n );\n }\n};\n\ntype ParseInfo = [\n keyof DateInfo,\n string,\n ((v: string, i18n: I18nSettings) => number | null)?,\n string?\n];\nconst monthParse = (v: string): number => +v - 1;\nconst emptyDigits: ParseInfo = [null, twoDigitsOptional];\nconst emptyWord: ParseInfo = [null, word];\nconst amPm: ParseInfo = [\n \"isPm\",\n word,\n (v: string, i18n: I18nSettings): number | null => {\n const val = v.toLowerCase();\n if (val === i18n.amPm[0]) {\n return 0;\n } else if (val === i18n.amPm[1]) {\n return 1;\n }\n return null;\n }\n];\nconst timezoneOffset: ParseInfo = [\n \"timezoneOffset\",\n \"[^\\\\s]*?[\\\\+\\\\-]\\\\d\\\\d:?\\\\d\\\\d|[^\\\\s]*?Z?\",\n (v: string): number | null => {\n const parts = (v + \"\").match(/([+-]|\\d\\d)/gi);\n\n if (parts) {\n const minutes = +parts[1] * 60 + parseInt(parts[2], 10);\n return parts[0] === \"+\" ? minutes : -minutes;\n }\n\n return 0;\n }\n];\nconst parseFlags: Record = {\n D: [\"day\", twoDigitsOptional],\n DD: [\"day\", twoDigits],\n Do: [\"day\", twoDigitsOptional + word, (v: string): number => parseInt(v, 10)],\n M: [\"month\", twoDigitsOptional, monthParse],\n MM: [\"month\", twoDigits, monthParse],\n YY: [\n \"year\",\n twoDigits,\n (v: string): number => {\n const now = new Date();\n const cent = +(\"\" + now.getFullYear()).substr(0, 2);\n return +(\"\" + (+v > 68 ? cent - 1 : cent) + v);\n }\n ],\n h: [\"hour\", twoDigitsOptional, undefined, \"isPm\"],\n hh: [\"hour\", twoDigits, undefined, \"isPm\"],\n H: [\"hour\", twoDigitsOptional],\n HH: [\"hour\", twoDigits],\n m: [\"minute\", twoDigitsOptional],\n mm: [\"minute\", twoDigits],\n s: [\"second\", twoDigitsOptional],\n ss: [\"second\", twoDigits],\n YYYY: [\"year\", fourDigits],\n S: [\"millisecond\", \"\\\\d\", (v: string): number => +v * 100],\n SS: [\"millisecond\", twoDigits, (v: string): number => +v * 10],\n SSS: [\"millisecond\", threeDigits],\n d: emptyDigits,\n dd: emptyDigits,\n ddd: emptyWord,\n dddd: emptyWord,\n MMM: [\"month\", word, monthUpdate(\"monthNamesShort\")],\n MMMM: [\"month\", word, monthUpdate(\"monthNames\")],\n a: amPm,\n A: amPm,\n ZZ: timezoneOffset,\n Z: timezoneOffset\n};\n\n// Some common format strings\nconst globalMasks: { [key: string]: string } = {\n default: \"ddd MMM DD YYYY HH:mm:ss\",\n shortDate: \"M/D/YY\",\n mediumDate: \"MMM D, YYYY\",\n longDate: \"MMMM D, YYYY\",\n fullDate: \"dddd, MMMM D, YYYY\",\n isoDate: \"YYYY-MM-DD\",\n isoDateTime: \"YYYY-MM-DDTHH:mm:ssZ\",\n shortTime: \"HH:mm\",\n mediumTime: \"HH:mm:ss\",\n longTime: \"HH:mm:ss.SSS\"\n};\nconst setGlobalDateMasks = (masks: {\n [key: string]: string;\n}): { [key: string]: string } => assign(globalMasks, masks);\n\n/***\n * Format a date\n * @method format\n * @param {Date|number} dateObj\n * @param {string} mask Format of the date, i.e. 'mm-dd-yy' or 'shortDate'\n * @returns {string} Formatted date string\n */\nconst format = (\n dateObj: Date,\n mask: string = globalMasks[\"default\"],\n i18n: I18nSettingsOptional = {}\n): string => {\n if (typeof dateObj === \"number\") {\n dateObj = new Date(dateObj);\n }\n\n if (\n Object.prototype.toString.call(dateObj) !== \"[object Date]\" ||\n isNaN(dateObj.getTime())\n ) {\n throw new Error(\"Invalid Date pass to format\");\n }\n\n mask = globalMasks[mask] || mask;\n\n const literals: string[] = [];\n\n // Make literals inactive by replacing them with @@@\n mask = mask.replace(literal, function($0, $1) {\n literals.push($1);\n return \"@@@\";\n });\n\n const combinedI18nSettings: I18nSettings = assign(\n assign({}, globalI18n),\n i18n\n );\n // Apply formatting rules\n mask = mask.replace(token, $0 =>\n formatFlags[$0](dateObj, combinedI18nSettings)\n );\n // Inline literal values back into the formatted value\n return mask.replace(/@@@/g, () => literals.shift());\n};\n\n/**\n * Parse a date string into a Javascript Date object /\n * @method parse\n * @param {string} dateStr Date string\n * @param {string} format Date parse format\n * @param {i18n} I18nSettingsOptional Full or subset of I18N settings\n * @returns {Date|null} Returns Date object. Returns null what date string is invalid or doesn't match format\n */\nfunction parse(\n dateStr: string,\n format: string,\n i18n: I18nSettingsOptional = {}\n): Date | null {\n if (typeof format !== \"string\") {\n throw new Error(\"Invalid format in fecha parse\");\n }\n\n // Check to see if the format is actually a mask\n format = globalMasks[format] || format;\n\n // Avoid regular expression denial of service, fail early for really long strings\n // https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS\n if (dateStr.length > 1000) {\n return null;\n }\n\n // Default to the beginning of the year.\n const today = new Date();\n const dateInfo: DateInfo = {\n year: today.getFullYear(),\n month: 0,\n day: 1,\n hour: 0,\n minute: 0,\n second: 0,\n millisecond: 0,\n isPm: null,\n timezoneOffset: null\n };\n const parseInfo: ParseInfo[] = [];\n const literals: string[] = [];\n\n // Replace all the literals with @@@. Hopefully a string that won't exist in the format\n let newFormat = format.replace(literal, ($0, $1) => {\n literals.push(regexEscape($1));\n return \"@@@\";\n });\n const specifiedFields: { [field: string]: boolean } = {};\n const requiredFields: { [field: string]: boolean } = {};\n\n // Change every token that we find into the correct regex\n newFormat = regexEscape(newFormat).replace(token, $0 => {\n const info = parseFlags[$0];\n const [field, regex, , requiredField] = info;\n\n // Check if the person has specified the same field twice. This will lead to confusing results.\n if (specifiedFields[field]) {\n throw new Error(`Invalid format. ${field} specified twice in format`);\n }\n\n specifiedFields[field] = true;\n\n // Check if there are any required fields. For instance, 12 hour time requires AM/PM specified\n if (requiredField) {\n requiredFields[requiredField] = true;\n }\n\n parseInfo.push(info);\n return \"(\" + regex + \")\";\n });\n\n // Check all the required fields are present\n Object.keys(requiredFields).forEach(field => {\n if (!specifiedFields[field]) {\n throw new Error(\n `Invalid format. ${field} is required in specified format`\n );\n }\n });\n\n // Add back all the literals after\n newFormat = newFormat.replace(/@@@/g, () => literals.shift());\n\n // Check if the date string matches the format. If it doesn't return null\n const matches = dateStr.match(new RegExp(newFormat, \"i\"));\n if (!matches) {\n return null;\n }\n\n const combinedI18nSettings: I18nSettings = assign(\n assign({}, globalI18n),\n i18n\n );\n\n // For each match, call the parser function for that date part\n for (let i = 1; i < matches.length; i++) {\n const [field, , parser] = parseInfo[i - 1];\n const value = parser\n ? parser(matches[i], combinedI18nSettings)\n : +matches[i];\n\n // If the parser can't make sense of the value, return null\n if (value == null) {\n return null;\n }\n\n dateInfo[field] = value;\n }\n\n if (dateInfo.isPm === 1 && dateInfo.hour != null && +dateInfo.hour !== 12) {\n dateInfo.hour = +dateInfo.hour + 12;\n } else if (dateInfo.isPm === 0 && +dateInfo.hour === 12) {\n dateInfo.hour = 0;\n }\n\n let dateTZ: Date;\n if (dateInfo.timezoneOffset == null) {\n dateTZ = new Date(\n dateInfo.year,\n dateInfo.month,\n dateInfo.day,\n dateInfo.hour,\n dateInfo.minute,\n dateInfo.second,\n dateInfo.millisecond\n );\n const validateFields: [\n \"month\" | \"day\" | \"hour\" | \"minute\" | \"second\",\n \"getMonth\" | \"getDate\" | \"getHours\" | \"getMinutes\" | \"getSeconds\"\n ][] = [\n [\"month\", \"getMonth\"],\n [\"day\", \"getDate\"],\n [\"hour\", \"getHours\"],\n [\"minute\", \"getMinutes\"],\n [\"second\", \"getSeconds\"]\n ];\n for (let i = 0, len = validateFields.length; i < len; i++) {\n // Check to make sure the date field is within the allowed range. Javascript dates allows values\n // outside the allowed range. If the values don't match the value was invalid\n if (\n specifiedFields[validateFields[i][0]] &&\n dateInfo[validateFields[i][0]] !== dateTZ[validateFields[i][1]]()\n ) {\n return null;\n }\n }\n } else {\n dateTZ = new Date(\n Date.UTC(\n dateInfo.year,\n dateInfo.month,\n dateInfo.day,\n dateInfo.hour,\n dateInfo.minute - dateInfo.timezoneOffset,\n dateInfo.second,\n dateInfo.millisecond\n )\n );\n\n // We can't validate dates in another timezone unfortunately. Do a basic check instead\n if (\n dateInfo.month > 11 ||\n dateInfo.month < 0 ||\n dateInfo.day > 31 ||\n dateInfo.day < 1 ||\n dateInfo.hour > 23 ||\n dateInfo.hour < 0 ||\n dateInfo.minute > 59 ||\n dateInfo.minute < 0 ||\n dateInfo.second > 59 ||\n dateInfo.second < 0\n ) {\n return null;\n }\n }\n\n // Don't allow invalid dates\n\n return dateTZ;\n}\nexport default {\n format,\n parse,\n defaultI18n,\n setGlobalDateI18n,\n setGlobalDateMasks\n};\nexport { format, parse, defaultI18n, setGlobalDateI18n, setGlobalDateMasks };\n"],"names":[],"mappings":";;;;;;EAAA,IAAM,KAAK,GAAG,4EAA4E,CAAC;EAC3F,IAAM,iBAAiB,GAAG,SAAS,CAAC;EACpC,IAAM,SAAS,GAAG,QAAQ,CAAC;EAC3B,IAAM,WAAW,GAAG,QAAQ,CAAC;EAC7B,IAAM,UAAU,GAAG,QAAQ,CAAC;EAC5B,IAAM,IAAI,GAAG,SAAS,CAAC;EACvB,IAAM,OAAO,GAAG,eAAe,CAAC;EAyChC,SAAS,OAAO,CAAqB,GAAM,EAAE,IAAY;MACvD,IAAM,MAAM,GAAa,EAAE,CAAC;MAC5B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;UAC9C,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;OACrC;MACD,OAAO,MAAM,CAAC;EAChB,CAAC;EAED,IAAM,WAAW,GAAG,UAClB,OAAwE,IACrE,OAAA,UAAC,CAAS,EAAE,IAAkB;MACjC,IAAM,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,WAAW,EAAE,GAAA,CAAC,CAAC;MAC7D,IAAM,KAAK,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;MACpD,IAAI,KAAK,GAAG,CAAC,CAAC,EAAE;UACd,OAAO,KAAK,CAAC;OACd;MACD,OAAO,IAAI,CAAC;EACd,CAAC,GAAA,CAAC;AAMF,WAAgB,MAAM,CAAC,OAAY;MAAE,cAAc;WAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;UAAd,6BAAc;;MACjD,KAAkB,UAAI,EAAJ,aAAI,EAAJ,kBAAI,EAAJ,IAAI,EAAE;UAAnB,IAAM,GAAG,aAAA;UACZ,KAAK,IAAM,GAAG,IAAI,GAAG,EAAE;;cAErB,OAAO,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;WACzB;OACF;MACD,OAAO,OAAO,CAAC;EACjB,CAAC;EAED,IAAM,QAAQ,GAAS;MACrB,QAAQ;MACR,QAAQ;MACR,SAAS;MACT,WAAW;MACX,UAAU;MACV,QAAQ;MACR,UAAU;GACX,CAAC;EACF,IAAM,UAAU,GAAW;MACzB,SAAS;MACT,UAAU;MACV,OAAO;MACP,OAAO;MACP,KAAK;MACL,MAAM;MACN,MAAM;MACN,QAAQ;MACR,WAAW;MACX,SAAS;MACT,UAAU;MACV,UAAU;GACX,CAAC;EAEF,IAAM,eAAe,GAAW,OAAO,CAAC,UAAU,EAAE,CAAC,CAAW,CAAC;EACjE,IAAM,aAAa,GAAS,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAS,CAAC;AAEzD,MAAM,WAAW,GAAiB;MAChC,aAAa,eAAA;MACb,QAAQ,UAAA;MACR,eAAe,iBAAA;MACf,UAAU,YAAA;MACV,IAAI,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;MAClB,IAAI,EAAJ,UAAK,UAAkB;UACrB,QACE,UAAU;cACV,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CACtB,UAAU,GAAG,EAAE,GAAG,CAAC;oBACf,CAAC;oBACD,CAAC,CAAC,UAAU,IAAI,UAAU,GAAG,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC,IAAI,UAAU,IAAI,EAAE,CACxE,EACD;OACH;GACF,CAAC;EACF,IAAI,UAAU,GAAG,MAAM,CAAC,EAAE,EAAE,WAAW,CAAC,CAAC;AACzC,MAAM,iBAAiB,GAAG,UAAC,IAA0B;MACnD,QAAC,UAAU,GAAG,MAAM,CAAC,UAAU,EAAE,IAAI,CAAC;EAAtC,CAAuC,CAAC;EAE1C,IAAM,WAAW,GAAG,UAAC,GAAW;MAC9B,OAAA,GAAG,CAAC,OAAO,CAAC,mBAAmB,EAAE,MAAM,CAAC;EAAxC,CAAwC,CAAC;EAE3C,IAAM,GAAG,GAAG,UAAC,GAAoB,EAAE,GAAO;MAAP,oBAAA,EAAA,OAAO;MACxC,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;MAClB,OAAO,GAAG,CAAC,MAAM,GAAG,GAAG,EAAE;UACvB,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;OACjB;MACD,OAAO,GAAG,CAAC;EACb,CAAC,CAAC;EAEF,IAAM,WAAW,GAGb;MACF,CAAC,EAAE,UAAC,OAAa,IAAa,OAAA,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,GAAA;MACvD,EAAE,EAAE,UAAC,OAAa,IAAa,OAAA,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,GAAA;MACrD,EAAE,EAAE,UAAC,OAAa,EAAE,IAAkB;UACpC,OAAA,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;OAAA;MAC9B,CAAC,EAAE,UAAC,OAAa,IAAa,OAAA,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,GAAA;MACtD,EAAE,EAAE,UAAC,OAAa,IAAa,OAAA,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,GAAA;MACpD,GAAG,EAAE,UAAC,OAAa,EAAE,IAAkB;UACrC,OAAA,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;OAAA;MACtC,IAAI,EAAE,UAAC,OAAa,EAAE,IAAkB;UACtC,OAAA,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;OAAA;MACjC,CAAC,EAAE,UAAC,OAAa,IAAa,OAAA,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,GAAA;MAC5D,EAAE,EAAE,UAAC,OAAa,IAAa,OAAA,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,GAAA;MAC1D,GAAG,EAAE,UAAC,OAAa,EAAE,IAAkB;UACrC,OAAA,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;OAAA;MAC1C,IAAI,EAAE,UAAC,OAAa,EAAE,IAAkB;UACtC,OAAA,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;OAAA;MACrC,EAAE,EAAE,UAAC,OAAa;UAChB,OAAA,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;OAAA;MACjD,IAAI,EAAE,UAAC,OAAa,IAAa,OAAA,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC,GAAA;MAC9D,CAAC,EAAE,UAAC,OAAa,IAAa,OAAA,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,GAAA;MACnE,EAAE,EAAE,UAAC,OAAa,IAAa,OAAA,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,GAAA;MACjE,CAAC,EAAE,UAAC,OAAa,IAAa,OAAA,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,GAAA;MACxD,EAAE,EAAE,UAAC,OAAa,IAAa,OAAA,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,GAAA;MACtD,CAAC,EAAE,UAAC,OAAa,IAAa,OAAA,MAAM,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC,GAAA;MAC1D,EAAE,EAAE,UAAC,OAAa,IAAa,OAAA,GAAG,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC,GAAA;MACxD,CAAC,EAAE,UAAC,OAAa,IAAa,OAAA,MAAM,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC,GAAA;MAC1D,EAAE,EAAE,UAAC,OAAa,IAAa,OAAA,GAAG,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC,GAAA;MACxD,CAAC,EAAE,UAAC,OAAa;UACf,OAAA,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,eAAe,EAAE,GAAG,GAAG,CAAC,CAAC;OAAA;MACrD,EAAE,EAAE,UAAC,OAAa;UAChB,OAAA,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,eAAe,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC;OAAA;MACpD,GAAG,EAAE,UAAC,OAAa,IAAa,OAAA,GAAG,CAAC,OAAO,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,GAAA;MACjE,CAAC,EAAE,UAAC,OAAa,EAAE,IAAkB;UACnC,OAAA,OAAO,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;OAAA;MACvD,CAAC,EAAE,UAAC,OAAa,EAAE,IAAkB;UACnC,OAAA,OAAO,CAAC,QAAQ,EAAE,GAAG,EAAE;gBACnB,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE;gBAC1B,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE;OAAA;MAChC,EAAE,EAAF,UAAG,OAAa;UACd,IAAM,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;UAC3C,QACE,CAAC,MAAM,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG;cACvB,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,GAAG,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC,EACzE;OACH;MACD,CAAC,EAAD,UAAE,OAAa;UACb,IAAM,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;UAC3C,QACE,CAAC,MAAM,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG;cACvB,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC;cACzC,GAAG;cACH,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,EAC7B;OACH;GACF,CAAC;EAQF,IAAM,UAAU,GAAG,UAAC,CAAS,IAAa,OAAA,CAAC,CAAC,GAAG,CAAC,GAAA,CAAC;EACjD,IAAM,WAAW,GAAc,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;EACzD,IAAM,SAAS,GAAc,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;EAC1C,IAAM,IAAI,GAAc;MACtB,MAAM;MACN,IAAI;MACJ,UAAC,CAAS,EAAE,IAAkB;UAC5B,IAAM,GAAG,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC;UAC5B,IAAI,GAAG,KAAK,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;cACxB,OAAO,CAAC,CAAC;WACV;eAAM,IAAI,GAAG,KAAK,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;cAC/B,OAAO,CAAC,CAAC;WACV;UACD,OAAO,IAAI,CAAC;OACb;GACF,CAAC;EACF,IAAM,cAAc,GAAc;MAChC,gBAAgB;MAChB,2CAA2C;MAC3C,UAAC,CAAS;UACR,IAAM,KAAK,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;UAE9C,IAAI,KAAK,EAAE;cACT,IAAM,OAAO,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;cACxD,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,GAAG,GAAG,OAAO,GAAG,CAAC,OAAO,CAAC;WAC9C;UAED,OAAO,CAAC,CAAC;OACV;GACF,CAAC;EACF,IAAM,UAAU,GAA8B;MAC5C,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,CAAC;MAC7B,EAAE,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC;MACtB,EAAE,EAAE,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI,EAAE,UAAC,CAAS,IAAa,OAAA,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,GAAA,CAAC;MAC7E,CAAC,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,UAAU,CAAC;MAC3C,EAAE,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,UAAU,CAAC;MACpC,EAAE,EAAE;UACF,MAAM;UACN,SAAS;UACT,UAAC,CAAS;cACR,IAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAC;cACvB,IAAM,IAAI,GAAG,CAAC,CAAC,EAAE,GAAG,GAAG,CAAC,WAAW,EAAE,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;cACpD,OAAO,EAAE,EAAE,IAAI,CAAC,CAAC,GAAG,EAAE,GAAG,IAAI,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;WAChD;OACF;MACD,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,CAAC;MACjD,EAAE,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC;MAC1C,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,CAAC;MAC9B,EAAE,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC;MACvB,CAAC,EAAE,CAAC,QAAQ,EAAE,iBAAiB,CAAC;MAChC,EAAE,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;MACzB,CAAC,EAAE,CAAC,QAAQ,EAAE,iBAAiB,CAAC;MAChC,EAAE,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;MACzB,IAAI,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;MAC1B,CAAC,EAAE,CAAC,aAAa,EAAE,KAAK,EAAE,UAAC,CAAS,IAAa,OAAA,CAAC,CAAC,GAAG,GAAG,GAAA,CAAC;MAC1D,EAAE,EAAE,CAAC,aAAa,EAAE,SAAS,EAAE,UAAC,CAAS,IAAa,OAAA,CAAC,CAAC,GAAG,EAAE,GAAA,CAAC;MAC9D,GAAG,EAAE,CAAC,aAAa,EAAE,WAAW,CAAC;MACjC,CAAC,EAAE,WAAW;MACd,EAAE,EAAE,WAAW;MACf,GAAG,EAAE,SAAS;MACd,IAAI,EAAE,SAAS;MACf,GAAG,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,WAAW,CAAC,iBAAiB,CAAC,CAAC;MACpD,IAAI,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;MAChD,CAAC,EAAE,IAAI;MACP,CAAC,EAAE,IAAI;MACP,EAAE,EAAE,cAAc;MAClB,CAAC,EAAE,cAAc;GAClB,CAAC;EAEF;EACA,IAAM,WAAW,GAA8B;MAC7C,OAAO,EAAE,0BAA0B;MACnC,SAAS,EAAE,QAAQ;MACnB,UAAU,EAAE,aAAa;MACzB,QAAQ,EAAE,cAAc;MACxB,QAAQ,EAAE,oBAAoB;MAC9B,OAAO,EAAE,YAAY;MACrB,WAAW,EAAE,sBAAsB;MACnC,SAAS,EAAE,OAAO;MAClB,UAAU,EAAE,UAAU;MACtB,QAAQ,EAAE,cAAc;GACzB,CAAC;AACF,MAAM,kBAAkB,GAAG,UAAC,KAE3B,IAAgC,OAAA,MAAM,CAAC,WAAW,EAAE,KAAK,CAAC,GAAA,CAAC;EAE5D;;;;;;;AAOA,MAAM,MAAM,GAAG,UACb,OAAa,EACb,IAAqC,EACrC,IAA+B;MAD/B,qBAAA,EAAA,OAAe,WAAW,CAAC,SAAS,CAAC;MACrC,qBAAA,EAAA,SAA+B;MAE/B,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;UAC/B,OAAO,GAAG,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC;OAC7B;MAED,IACE,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,eAAe;UAC3D,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,EACxB;UACA,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;OAChD;MAED,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC;MAEjC,IAAM,QAAQ,GAAa,EAAE,CAAC;;MAG9B,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,UAAS,EAAE,EAAE,EAAE;UAC1C,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;UAClB,OAAO,KAAK,CAAC;OACd,CAAC,CAAC;MAEH,IAAM,oBAAoB,GAAiB,MAAM,CAC/C,MAAM,CAAC,EAAE,EAAE,UAAU,CAAC,EACtB,IAAI,CACL,CAAC;;MAEF,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,UAAA,EAAE;UAC3B,OAAA,WAAW,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,oBAAoB,CAAC;OAAA,CAC/C,CAAC;;MAEF,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,cAAM,OAAA,QAAQ,CAAC,KAAK,EAAE,GAAA,CAAC,CAAC;EACtD,CAAC,CAAC;EAEF;;;;;;;;EAQA,SAAS,KAAK,CACZ,OAAe,EACf,MAAc,EACd,IAA+B;MAA/B,qBAAA,EAAA,SAA+B;MAE/B,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE;UAC9B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;OAClD;;MAGD,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC;;;MAIvC,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,EAAE;UACzB,OAAO,IAAI,CAAC;OACb;;MAGD,IAAM,KAAK,GAAG,IAAI,IAAI,EAAE,CAAC;MACzB,IAAM,QAAQ,GAAa;UACzB,IAAI,EAAE,KAAK,CAAC,WAAW,EAAE;UACzB,KAAK,EAAE,CAAC;UACR,GAAG,EAAE,CAAC;UACN,IAAI,EAAE,CAAC;UACP,MAAM,EAAE,CAAC;UACT,MAAM,EAAE,CAAC;UACT,WAAW,EAAE,CAAC;UACd,IAAI,EAAE,IAAI;UACV,cAAc,EAAE,IAAI;OACrB,CAAC;MACF,IAAM,SAAS,GAAgB,EAAE,CAAC;MAClC,IAAM,QAAQ,GAAa,EAAE,CAAC;;MAG9B,IAAI,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,UAAC,EAAE,EAAE,EAAE;UAC7C,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,CAAC;UAC/B,OAAO,KAAK,CAAC;OACd,CAAC,CAAC;MACH,IAAM,eAAe,GAAiC,EAAE,CAAC;MACzD,IAAM,cAAc,GAAiC,EAAE,CAAC;;MAGxD,SAAS,GAAG,WAAW,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,UAAA,EAAE;UAClD,IAAM,IAAI,GAAG,UAAU,CAAC,EAAE,CAAC,CAAC;UACrB,IAAA,KAAK,GAA4B,IAAI,GAAhC,EAAE,KAAK,GAAqB,IAAI,GAAzB,EAAI,aAAa,GAAI,IAAI,GAAR,CAAS;;UAG7C,IAAI,eAAe,CAAC,KAAK,CAAC,EAAE;cAC1B,MAAM,IAAI,KAAK,CAAC,qBAAmB,KAAK,+BAA4B,CAAC,CAAC;WACvE;UAED,eAAe,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC;;UAG9B,IAAI,aAAa,EAAE;cACjB,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC;WACtC;UAED,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;UACrB,OAAO,GAAG,GAAG,KAAK,GAAG,GAAG,CAAC;OAC1B,CAAC,CAAC;;MAGH,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,OAAO,CAAC,UAAA,KAAK;UACvC,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE;cAC3B,MAAM,IAAI,KAAK,CACb,qBAAmB,KAAK,qCAAkC,CAC3D,CAAC;WACH;OACF,CAAC,CAAC;;MAGH,SAAS,GAAG,SAAS,CAAC,OAAO,CAAC,MAAM,EAAE,cAAM,OAAA,QAAQ,CAAC,KAAK,EAAE,GAAA,CAAC,CAAC;;MAG9D,IAAM,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC,CAAC;MAC1D,IAAI,CAAC,OAAO,EAAE;UACZ,OAAO,IAAI,CAAC;OACb;MAED,IAAM,oBAAoB,GAAiB,MAAM,CAC/C,MAAM,CAAC,EAAE,EAAE,UAAU,CAAC,EACtB,IAAI,CACL,CAAC;;MAGF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;UACjC,IAAA,KAAoB,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,EAAnC,KAAK,QAAA,EAAI,MAAM,QAAoB,CAAC;UAC3C,IAAM,KAAK,GAAG,MAAM;gBAChB,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,oBAAoB,CAAC;gBACxC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;;UAGhB,IAAI,KAAK,IAAI,IAAI,EAAE;cACjB,OAAO,IAAI,CAAC;WACb;UAED,QAAQ,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC;OACzB;MAED,IAAI,QAAQ,CAAC,IAAI,KAAK,CAAC,IAAI,QAAQ,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,EAAE,EAAE;UACzE,QAAQ,CAAC,IAAI,GAAG,CAAC,QAAQ,CAAC,IAAI,GAAG,EAAE,CAAC;OACrC;WAAM,IAAI,QAAQ,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,EAAE,EAAE;UACvD,QAAQ,CAAC,IAAI,GAAG,CAAC,CAAC;OACnB;MAED,IAAI,MAAY,CAAC;MACjB,IAAI,QAAQ,CAAC,cAAc,IAAI,IAAI,EAAE;UACnC,MAAM,GAAG,IAAI,IAAI,CACf,QAAQ,CAAC,IAAI,EACb,QAAQ,CAAC,KAAK,EACd,QAAQ,CAAC,GAAG,EACZ,QAAQ,CAAC,IAAI,EACb,QAAQ,CAAC,MAAM,EACf,QAAQ,CAAC,MAAM,EACf,QAAQ,CAAC,WAAW,CACrB,CAAC;UACF,IAAM,cAAc,GAGd;cACJ,CAAC,OAAO,EAAE,UAAU,CAAC;cACrB,CAAC,KAAK,EAAE,SAAS,CAAC;cAClB,CAAC,MAAM,EAAE,UAAU,CAAC;cACpB,CAAC,QAAQ,EAAE,YAAY,CAAC;cACxB,CAAC,QAAQ,EAAE,YAAY,CAAC;WACzB,CAAC;UACF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,cAAc,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;;;cAGzD,IACE,eAAe,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;kBACrC,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EACjE;kBACA,OAAO,IAAI,CAAC;eACb;WACF;OACF;WAAM;UACL,MAAM,GAAG,IAAI,IAAI,CACf,IAAI,CAAC,GAAG,CACN,QAAQ,CAAC,IAAI,EACb,QAAQ,CAAC,KAAK,EACd,QAAQ,CAAC,GAAG,EACZ,QAAQ,CAAC,IAAI,EACb,QAAQ,CAAC,MAAM,GAAG,QAAQ,CAAC,cAAc,EACzC,QAAQ,CAAC,MAAM,EACf,QAAQ,CAAC,WAAW,CACrB,CACF,CAAC;;UAGF,IACE,QAAQ,CAAC,KAAK,GAAG,EAAE;cACnB,QAAQ,CAAC,KAAK,GAAG,CAAC;cAClB,QAAQ,CAAC,GAAG,GAAG,EAAE;cACjB,QAAQ,CAAC,GAAG,GAAG,CAAC;cAChB,QAAQ,CAAC,IAAI,GAAG,EAAE;cAClB,QAAQ,CAAC,IAAI,GAAG,CAAC;cACjB,QAAQ,CAAC,MAAM,GAAG,EAAE;cACpB,QAAQ,CAAC,MAAM,GAAG,CAAC;cACnB,QAAQ,CAAC,MAAM,GAAG,EAAE;cACpB,QAAQ,CAAC,MAAM,GAAG,CAAC,EACnB;cACA,OAAO,IAAI,CAAC;WACb;OACF;;MAID,OAAO,MAAM,CAAC;EAChB,CAAC;AACD,cAAe;MACb,MAAM,QAAA;MACN,KAAK,OAAA;MACL,WAAW,aAAA;MACX,iBAAiB,mBAAA;MACjB,kBAAkB,oBAAA;GACnB,CAAC;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/node_modules/fecha/package.json b/node_modules/fecha/package.json new file mode 100644 index 0000000..6ebb621 --- /dev/null +++ b/node_modules/fecha/package.json @@ -0,0 +1,55 @@ +{ + "name": "fecha", + "version": "4.2.3", + "description": "Date formatting and parsing", + "main": "lib/fecha.umd.js", + "module": "lib/fecha.js", + "scripts": { + "test-only": "ts-node test.js", + "test": "prettier --check *.js src/*.ts && eslint --ext .ts src && npm run build && nyc --cache --reporter=text ts-node test.js", + "build": "NODE_ENV=production rollup -c --sourcemap && tsc", + "format": "prettier --write *.js src/*.ts" + }, + "repository": { + "type": "git", + "url": "https://taylorhakes@github.com/taylorhakes/fecha.git" + }, + "keywords": [ + "date", + "parse", + "moment", + "format", + "fecha", + "formatting" + ], + "author": "Taylor Hakes", + "license": "MIT", + "bugs": { + "url": "https://github.com/taylorhakes/fecha/issues" + }, + "homepage": "https://github.com/taylorhakes/fecha", + "devDependencies": { + "@istanbuljs/nyc-config-typescript": "^1.0.1", + "@typescript-eslint/eslint-plugin": "^2.14.0", + "@typescript-eslint/parser": "^2.14.0", + "eslint": "^7.23.0", + "eslint-config-prettier": "^8.1.0", + "nyc": "^15.0.0", + "painless": "^0.9.7", + "prettier": "1.19.1", + "rollup": "^0.59.0", + "rollup-plugin-sourcemaps": "^0.5.0", + "rollup-plugin-typescript": "^1.0.1", + "rollup-plugin-uglify": "^3.0.0", + "source-map-support": "^0.5.16", + "ts-node": "^8.5.4", + "tslib": "^1.10.0", + "typescript": "^3.7.4" + }, + "files": [ + "lib", + "dist", + "src" + ], + "types": "lib/fecha.d.ts" +} diff --git a/node_modules/fecha/src/fecha.ts b/node_modules/fecha/src/fecha.ts new file mode 100644 index 0000000..6f6bcff --- /dev/null +++ b/node_modules/fecha/src/fecha.ts @@ -0,0 +1,524 @@ +const token = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g; +const twoDigitsOptional = "\\d\\d?"; +const twoDigits = "\\d\\d"; +const threeDigits = "\\d{3}"; +const fourDigits = "\\d{4}"; +const word = "[^\\s]+"; +const literal = /\[([^]*?)\]/gm; + +type DateInfo = { + year: number; + month: number; + day: number; + hour: number; + minute: number; + second: number; + millisecond: number; + isPm: number | null; + timezoneOffset: number | null; +}; + +export type I18nSettings = { + amPm: [string, string]; + dayNames: Days; + dayNamesShort: Days; + monthNames: Months; + monthNamesShort: Months; + DoFn(dayOfMonth: number): string; +}; + +export type I18nSettingsOptional = Partial; + +export type Days = [string, string, string, string, string, string, string]; +export type Months = [ + string, + string, + string, + string, + string, + string, + string, + string, + string, + string, + string, + string +]; + +function shorten(arr: T, sLen: number): string[] { + const newArr: string[] = []; + for (let i = 0, len = arr.length; i < len; i++) { + newArr.push(arr[i].substr(0, sLen)); + } + return newArr; +} + +const monthUpdate = ( + arrName: "monthNames" | "monthNamesShort" | "dayNames" | "dayNamesShort" +) => (v: string, i18n: I18nSettings): number | null => { + const lowerCaseArr = i18n[arrName].map(v => v.toLowerCase()); + const index = lowerCaseArr.indexOf(v.toLowerCase()); + if (index > -1) { + return index; + } + return null; +}; + +export function assign(a: A): A; +export function assign(a: A, b: B): A & B; +export function assign(a: A, b: B, c: C): A & B & C; +export function assign(a: A, b: B, c: C, d: D): A & B & C & D; +export function assign(origObj: any, ...args: any[]): any { + for (const obj of args) { + for (const key in obj) { + // @ts-ignore ex + origObj[key] = obj[key]; + } + } + return origObj; +} + +const dayNames: Days = [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" +]; +const monthNames: Months = [ + "January", + "February", + "March", + "April", + "May", + "June", + "July", + "August", + "September", + "October", + "November", + "December" +]; + +const monthNamesShort: Months = shorten(monthNames, 3) as Months; +const dayNamesShort: Days = shorten(dayNames, 3) as Days; + +const defaultI18n: I18nSettings = { + dayNamesShort, + dayNames, + monthNamesShort, + monthNames, + amPm: ["am", "pm"], + DoFn(dayOfMonth: number) { + return ( + dayOfMonth + + ["th", "st", "nd", "rd"][ + dayOfMonth % 10 > 3 + ? 0 + : ((dayOfMonth - (dayOfMonth % 10) !== 10 ? 1 : 0) * dayOfMonth) % 10 + ] + ); + } +}; +let globalI18n = assign({}, defaultI18n); +const setGlobalDateI18n = (i18n: I18nSettingsOptional): I18nSettings => + (globalI18n = assign(globalI18n, i18n)); + +const regexEscape = (str: string): string => + str.replace(/[|\\{()[^$+*?.-]/g, "\\$&"); + +const pad = (val: string | number, len = 2): string => { + val = String(val); + while (val.length < len) { + val = "0" + val; + } + return val; +}; + +const formatFlags: Record< + string, + (dateObj: Date, i18n: I18nSettings) => string +> = { + D: (dateObj: Date): string => String(dateObj.getDate()), + DD: (dateObj: Date): string => pad(dateObj.getDate()), + Do: (dateObj: Date, i18n: I18nSettings): string => + i18n.DoFn(dateObj.getDate()), + d: (dateObj: Date): string => String(dateObj.getDay()), + dd: (dateObj: Date): string => pad(dateObj.getDay()), + ddd: (dateObj: Date, i18n: I18nSettings): string => + i18n.dayNamesShort[dateObj.getDay()], + dddd: (dateObj: Date, i18n: I18nSettings): string => + i18n.dayNames[dateObj.getDay()], + M: (dateObj: Date): string => String(dateObj.getMonth() + 1), + MM: (dateObj: Date): string => pad(dateObj.getMonth() + 1), + MMM: (dateObj: Date, i18n: I18nSettings): string => + i18n.monthNamesShort[dateObj.getMonth()], + MMMM: (dateObj: Date, i18n: I18nSettings): string => + i18n.monthNames[dateObj.getMonth()], + YY: (dateObj: Date): string => + pad(String(dateObj.getFullYear()), 4).substr(2), + YYYY: (dateObj: Date): string => pad(dateObj.getFullYear(), 4), + h: (dateObj: Date): string => String(dateObj.getHours() % 12 || 12), + hh: (dateObj: Date): string => pad(dateObj.getHours() % 12 || 12), + H: (dateObj: Date): string => String(dateObj.getHours()), + HH: (dateObj: Date): string => pad(dateObj.getHours()), + m: (dateObj: Date): string => String(dateObj.getMinutes()), + mm: (dateObj: Date): string => pad(dateObj.getMinutes()), + s: (dateObj: Date): string => String(dateObj.getSeconds()), + ss: (dateObj: Date): string => pad(dateObj.getSeconds()), + S: (dateObj: Date): string => + String(Math.round(dateObj.getMilliseconds() / 100)), + SS: (dateObj: Date): string => + pad(Math.round(dateObj.getMilliseconds() / 10), 2), + SSS: (dateObj: Date): string => pad(dateObj.getMilliseconds(), 3), + a: (dateObj: Date, i18n: I18nSettings): string => + dateObj.getHours() < 12 ? i18n.amPm[0] : i18n.amPm[1], + A: (dateObj: Date, i18n: I18nSettings): string => + dateObj.getHours() < 12 + ? i18n.amPm[0].toUpperCase() + : i18n.amPm[1].toUpperCase(), + ZZ(dateObj: Date): string { + const offset = dateObj.getTimezoneOffset(); + return ( + (offset > 0 ? "-" : "+") + + pad(Math.floor(Math.abs(offset) / 60) * 100 + (Math.abs(offset) % 60), 4) + ); + }, + Z(dateObj: Date): string { + const offset = dateObj.getTimezoneOffset(); + return ( + (offset > 0 ? "-" : "+") + + pad(Math.floor(Math.abs(offset) / 60), 2) + + ":" + + pad(Math.abs(offset) % 60, 2) + ); + } +}; + +type ParseInfo = [ + keyof DateInfo, + string, + ((v: string, i18n: I18nSettings) => number | null)?, + string? +]; +const monthParse = (v: string): number => +v - 1; +const emptyDigits: ParseInfo = [null, twoDigitsOptional]; +const emptyWord: ParseInfo = [null, word]; +const amPm: ParseInfo = [ + "isPm", + word, + (v: string, i18n: I18nSettings): number | null => { + const val = v.toLowerCase(); + if (val === i18n.amPm[0]) { + return 0; + } else if (val === i18n.amPm[1]) { + return 1; + } + return null; + } +]; +const timezoneOffset: ParseInfo = [ + "timezoneOffset", + "[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?", + (v: string): number | null => { + const parts = (v + "").match(/([+-]|\d\d)/gi); + + if (parts) { + const minutes = +parts[1] * 60 + parseInt(parts[2], 10); + return parts[0] === "+" ? minutes : -minutes; + } + + return 0; + } +]; +const parseFlags: Record = { + D: ["day", twoDigitsOptional], + DD: ["day", twoDigits], + Do: ["day", twoDigitsOptional + word, (v: string): number => parseInt(v, 10)], + M: ["month", twoDigitsOptional, monthParse], + MM: ["month", twoDigits, monthParse], + YY: [ + "year", + twoDigits, + (v: string): number => { + const now = new Date(); + const cent = +("" + now.getFullYear()).substr(0, 2); + return +("" + (+v > 68 ? cent - 1 : cent) + v); + } + ], + h: ["hour", twoDigitsOptional, undefined, "isPm"], + hh: ["hour", twoDigits, undefined, "isPm"], + H: ["hour", twoDigitsOptional], + HH: ["hour", twoDigits], + m: ["minute", twoDigitsOptional], + mm: ["minute", twoDigits], + s: ["second", twoDigitsOptional], + ss: ["second", twoDigits], + YYYY: ["year", fourDigits], + S: ["millisecond", "\\d", (v: string): number => +v * 100], + SS: ["millisecond", twoDigits, (v: string): number => +v * 10], + SSS: ["millisecond", threeDigits], + d: emptyDigits, + dd: emptyDigits, + ddd: emptyWord, + dddd: emptyWord, + MMM: ["month", word, monthUpdate("monthNamesShort")], + MMMM: ["month", word, monthUpdate("monthNames")], + a: amPm, + A: amPm, + ZZ: timezoneOffset, + Z: timezoneOffset +}; + +// Some common format strings +const globalMasks: { [key: string]: string } = { + default: "ddd MMM DD YYYY HH:mm:ss", + shortDate: "M/D/YY", + mediumDate: "MMM D, YYYY", + longDate: "MMMM D, YYYY", + fullDate: "dddd, MMMM D, YYYY", + isoDate: "YYYY-MM-DD", + isoDateTime: "YYYY-MM-DDTHH:mm:ssZ", + shortTime: "HH:mm", + mediumTime: "HH:mm:ss", + longTime: "HH:mm:ss.SSS" +}; +const setGlobalDateMasks = (masks: { + [key: string]: string; +}): { [key: string]: string } => assign(globalMasks, masks); + +/*** + * Format a date + * @method format + * @param {Date|number} dateObj + * @param {string} mask Format of the date, i.e. 'mm-dd-yy' or 'shortDate' + * @returns {string} Formatted date string + */ +const format = ( + dateObj: Date, + mask: string = globalMasks["default"], + i18n: I18nSettingsOptional = {} +): string => { + if (typeof dateObj === "number") { + dateObj = new Date(dateObj); + } + + if ( + Object.prototype.toString.call(dateObj) !== "[object Date]" || + isNaN(dateObj.getTime()) + ) { + throw new Error("Invalid Date pass to format"); + } + + mask = globalMasks[mask] || mask; + + const literals: string[] = []; + + // Make literals inactive by replacing them with @@@ + mask = mask.replace(literal, function($0, $1) { + literals.push($1); + return "@@@"; + }); + + const combinedI18nSettings: I18nSettings = assign( + assign({}, globalI18n), + i18n + ); + // Apply formatting rules + mask = mask.replace(token, $0 => + formatFlags[$0](dateObj, combinedI18nSettings) + ); + // Inline literal values back into the formatted value + return mask.replace(/@@@/g, () => literals.shift()); +}; + +/** + * Parse a date string into a Javascript Date object / + * @method parse + * @param {string} dateStr Date string + * @param {string} format Date parse format + * @param {i18n} I18nSettingsOptional Full or subset of I18N settings + * @returns {Date|null} Returns Date object. Returns null what date string is invalid or doesn't match format + */ +function parse( + dateStr: string, + format: string, + i18n: I18nSettingsOptional = {} +): Date | null { + if (typeof format !== "string") { + throw new Error("Invalid format in fecha parse"); + } + + // Check to see if the format is actually a mask + format = globalMasks[format] || format; + + // Avoid regular expression denial of service, fail early for really long strings + // https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS + if (dateStr.length > 1000) { + return null; + } + + // Default to the beginning of the year. + const today = new Date(); + const dateInfo: DateInfo = { + year: today.getFullYear(), + month: 0, + day: 1, + hour: 0, + minute: 0, + second: 0, + millisecond: 0, + isPm: null, + timezoneOffset: null + }; + const parseInfo: ParseInfo[] = []; + const literals: string[] = []; + + // Replace all the literals with @@@. Hopefully a string that won't exist in the format + let newFormat = format.replace(literal, ($0, $1) => { + literals.push(regexEscape($1)); + return "@@@"; + }); + const specifiedFields: { [field: string]: boolean } = {}; + const requiredFields: { [field: string]: boolean } = {}; + + // Change every token that we find into the correct regex + newFormat = regexEscape(newFormat).replace(token, $0 => { + const info = parseFlags[$0]; + const [field, regex, , requiredField] = info; + + // Check if the person has specified the same field twice. This will lead to confusing results. + if (specifiedFields[field]) { + throw new Error(`Invalid format. ${field} specified twice in format`); + } + + specifiedFields[field] = true; + + // Check if there are any required fields. For instance, 12 hour time requires AM/PM specified + if (requiredField) { + requiredFields[requiredField] = true; + } + + parseInfo.push(info); + return "(" + regex + ")"; + }); + + // Check all the required fields are present + Object.keys(requiredFields).forEach(field => { + if (!specifiedFields[field]) { + throw new Error( + `Invalid format. ${field} is required in specified format` + ); + } + }); + + // Add back all the literals after + newFormat = newFormat.replace(/@@@/g, () => literals.shift()); + + // Check if the date string matches the format. If it doesn't return null + const matches = dateStr.match(new RegExp(newFormat, "i")); + if (!matches) { + return null; + } + + const combinedI18nSettings: I18nSettings = assign( + assign({}, globalI18n), + i18n + ); + + // For each match, call the parser function for that date part + for (let i = 1; i < matches.length; i++) { + const [field, , parser] = parseInfo[i - 1]; + const value = parser + ? parser(matches[i], combinedI18nSettings) + : +matches[i]; + + // If the parser can't make sense of the value, return null + if (value == null) { + return null; + } + + dateInfo[field] = value; + } + + if (dateInfo.isPm === 1 && dateInfo.hour != null && +dateInfo.hour !== 12) { + dateInfo.hour = +dateInfo.hour + 12; + } else if (dateInfo.isPm === 0 && +dateInfo.hour === 12) { + dateInfo.hour = 0; + } + + let dateTZ: Date; + if (dateInfo.timezoneOffset == null) { + dateTZ = new Date( + dateInfo.year, + dateInfo.month, + dateInfo.day, + dateInfo.hour, + dateInfo.minute, + dateInfo.second, + dateInfo.millisecond + ); + const validateFields: [ + "month" | "day" | "hour" | "minute" | "second", + "getMonth" | "getDate" | "getHours" | "getMinutes" | "getSeconds" + ][] = [ + ["month", "getMonth"], + ["day", "getDate"], + ["hour", "getHours"], + ["minute", "getMinutes"], + ["second", "getSeconds"] + ]; + for (let i = 0, len = validateFields.length; i < len; i++) { + // Check to make sure the date field is within the allowed range. Javascript dates allows values + // outside the allowed range. If the values don't match the value was invalid + if ( + specifiedFields[validateFields[i][0]] && + dateInfo[validateFields[i][0]] !== dateTZ[validateFields[i][1]]() + ) { + return null; + } + } + } else { + dateTZ = new Date( + Date.UTC( + dateInfo.year, + dateInfo.month, + dateInfo.day, + dateInfo.hour, + dateInfo.minute - dateInfo.timezoneOffset, + dateInfo.second, + dateInfo.millisecond + ) + ); + + // We can't validate dates in another timezone unfortunately. Do a basic check instead + if ( + dateInfo.month > 11 || + dateInfo.month < 0 || + dateInfo.day > 31 || + dateInfo.day < 1 || + dateInfo.hour > 23 || + dateInfo.hour < 0 || + dateInfo.minute > 59 || + dateInfo.minute < 0 || + dateInfo.second > 59 || + dateInfo.second < 0 + ) { + return null; + } + } + + // Don't allow invalid dates + + return dateTZ; +} +export default { + format, + parse, + defaultI18n, + setGlobalDateI18n, + setGlobalDateMasks +}; +export { format, parse, defaultI18n, setGlobalDateI18n, setGlobalDateMasks }; diff --git a/node_modules/file-stream-rotator/.nvmrc b/node_modules/file-stream-rotator/.nvmrc new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/node_modules/file-stream-rotator/.nvmrc @@ -0,0 +1 @@ +4 diff --git a/node_modules/file-stream-rotator/.travis.yml b/node_modules/file-stream-rotator/.travis.yml new file mode 100644 index 0000000..442cd15 --- /dev/null +++ b/node_modules/file-stream-rotator/.travis.yml @@ -0,0 +1,5 @@ +sudo: false +language: node_js +cache: + directories: + - node_modules diff --git a/node_modules/file-stream-rotator/FileStreamRotator.js b/node_modules/file-stream-rotator/FileStreamRotator.js new file mode 100644 index 0000000..639bb9c --- /dev/null +++ b/node_modules/file-stream-rotator/FileStreamRotator.js @@ -0,0 +1,702 @@ +'use strict'; + +/*! + * FileStreamRotator + * Copyright(c) 2012-2017 Holiday Extras. + * Copyright(c) 2017 Roger C. + * MIT Licensed + */ + +/** + * Module dependencies. + */ +var fs = require('fs'); +var path = require('path'); +var moment = require('moment'); +var crypto = require('crypto'); + +var EventEmitter = require('events'); + +/** + * FileStreamRotator: + * + * Returns a file stream that auto-rotates based on date. + * + * Options: + * + * - `filename` Filename including full path used by the stream + * + * - `frequency` How often to rotate. Options are 'daily', 'custom' and 'test'. 'test' rotates every minute. + * If frequency is set to none of the above, a YYYYMMDD string will be added to the end of the filename. + * + * - `verbose` If set, it will log to STDOUT when it rotates files and name of log file. Default is TRUE. + * + * - `date_format` Format as used in moment.js http://momentjs.com/docs/#/displaying/format/. The result is used to replace + * the '%DATE%' placeholder in the filename. + * If using 'custom' frequency, it is used to trigger file change when the string representation changes. + * + * - `size` Max size of the file after which it will rotate. It can be combined with frequency or date format. + * The size units are 'k', 'm' and 'g'. Units need to directly follow a number e.g. 1g, 100m, 20k. + * + * - `max_logs` Max number of logs to keep. If not set, it won't remove past logs. It uses its own log audit file + * to keep track of the log files in a json format. It won't delete any file not contained in it. + * It can be a number of files or number of days. If using days, add 'd' as the suffix. + * + * - `audit_file` Location to store the log audit file. If not set, it will be stored in the root of the application. + * + * - `end_stream` End stream (true) instead of the default behaviour of destroy (false). Set value to true if when writing to the + * stream in a loop, if the application terminates or log rotates, data pending to be flushed might be lost. + * + * - `file_options` An object passed to the stream. This can be used to specify flags, encoding, and mode. + * See https://nodejs.org/api/fs.html#fs_fs_createwritestream_path_options. Default `{ flags: 'a' }`. + * + * - `utc` Use UTC time for date in filename. Defaults to 'FALSE' + * + * - `extension` File extension to be appended to the filename. This is useful when using size restrictions as the rotation + * adds a count (1,2,3,4,...) at the end of the filename when the required size is met. + * + * - `watch_log` Watch the current file being written to and recreate it in case of accidental deletion. Defaults to 'FALSE' + * + * - `create_symlink` Create a tailable symlink to the current active log file. Defaults to 'FALSE' + * + * - `symlink_name` Name to use when creating the symbolic link. Defaults to 'current.log' + * + * - `audit_hash_type` Use specified hashing algorithm for audit. Defaults to 'md5'. Use 'sha256' for FIPS compliance. + * + * To use with Express / Connect, use as below. + * + * var rotatingLogStream = require('FileStreamRotator').getStream({filename:"/tmp/test.log", frequency:"daily", verbose: false}) + * app.use(express.logger({stream: rotatingLogStream, format: "default"})); + * + * @param {Object} options + * @return {Object} + * @api public + */ +var FileStreamRotator = {}; + +module.exports = FileStreamRotator; + +var staticFrequency = ['daily', 'test', 'm', 'h', 'custom']; +var DATE_FORMAT = ('YYYYMMDDHHmm'); + + +/** + * Returns frequency metadata for minute/hour rotation + * @param type + * @param num + * @returns {*} + * @private + */ +var _checkNumAndType = function (type, num) { + if (typeof num == 'number') { + switch (type) { + case 'm': + if (num < 0 || num > 60) { + return false; + } + break; + case 'h': + if (num < 0 || num > 24) { + return false; + } + break; + } + return {type: type, digit: num}; + } +} + +/** + * Returns frequency metadata for defined frequency + * @param freqType + * @returns {*} + * @private + */ +var _checkDailyAndTest = function (freqType) { + switch (freqType) { + case 'custom': + case 'daily': + return {type: freqType, digit: undefined}; + break; + case 'test': + return {type: freqType, digit: 0}; + } + return false; +} + + +/** + * Returns frequency metadata + * @param frequency + * @returns {*} + */ +FileStreamRotator.getFrequency = function (frequency) { + var _f = frequency.toLowerCase().match(/^(\d+)([mh])$/) + if(_f){ + return _checkNumAndType(_f[2], parseInt(_f[1])); + } + + var dailyOrTest = _checkDailyAndTest(frequency); + if (dailyOrTest) { + return dailyOrTest; + } + + return false; +} + +/** + * Returns a number based on the option string + * @param size + * @returns {Number} + */ +FileStreamRotator.parseFileSize = function (size) { + if(size && typeof size == "string"){ + var _s = size.toLowerCase().match(/^((?:0\.)?\d+)([kmg])$/); + if(_s){ + switch(_s[2]){ + case 'k': + return _s[1]*1024 + case 'm': + return _s[1]*1024*1024 + case 'g': + return _s[1]*1024*1024*1024 + } + } + } + return null; +}; + +/** + * Returns date string for a given format / date_format + * @param format + * @param date_format + * @param {boolean} utc + * @returns {string} + */ +FileStreamRotator.getDate = function (format, date_format, utc) { + date_format = date_format || DATE_FORMAT; + let currentMoment = utc ? moment.utc() : moment().local() + if (format && staticFrequency.indexOf(format.type) !== -1) { + switch (format.type) { + case 'm': + var minute = Math.floor(currentMoment.minutes() / format.digit) * format.digit; + return currentMoment.minutes(minute).format(date_format); + break; + case 'h': + var hour = Math.floor(currentMoment.hour() / format.digit) * format.digit; + return currentMoment.hour(hour).format(date_format); + break; + case 'daily': + case 'custom': + case 'test': + return currentMoment.format(date_format); + } + } + return currentMoment.format(date_format); +} + +/** + * Read audit json object from disk or return new object or null + * @param max_logs + * @param audit_file + * @param log_file + * @returns {Object} auditLogSettings + * @property {Object} auditLogSettings.keep + * @property {Boolean} auditLogSettings.keep.days + * @property {Number} auditLogSettings.keep.amount + * @property {String} auditLogSettings.auditLog + * @property {Array} auditLogSettings.files + * @property {String} auditLogSettings.hashType + */ +FileStreamRotator.setAuditLog = function (max_logs, audit_file, log_file){ + var _rtn = null; + if(max_logs){ + var use_days = max_logs.toString().substr(-1); + var _num = max_logs.toString().match(/^(\d+)/); + + if(Number(_num[1]) > 0) { + var baseLog = path.dirname(log_file.replace(/%DATE%.+/,"_filename")); + try{ + if(audit_file){ + var full_path = path.resolve(audit_file); + _rtn = JSON.parse(fs.readFileSync(full_path, { encoding: 'utf-8' })); + }else{ + var full_path = path.resolve(baseLog + "/" + ".audit.json") + _rtn = JSON.parse(fs.readFileSync(full_path, { encoding: 'utf-8' })); + } + }catch(e){ + if(e.code !== "ENOENT"){ + return null; + } + _rtn = { + keep: { + days: false, + amount: Number(_num[1]) + }, + auditLog: audit_file || baseLog + "/" + ".audit.json", + files: [] + }; + } + + _rtn.keep = { + days: use_days === 'd', + amount: Number(_num[1]) + }; + + } + } + return _rtn; +}; + +/** + * Write audit json object to disk + * @param {Object} audit + * @param {Object} audit.keep + * @param {Boolean} audit.keep.days + * @param {Number} audit.keep.amount + * @param {String} audit.auditLog + * @param {Array} audit.files + * @param {String} audit.hashType + * @param {Boolean} verbose + */ +FileStreamRotator.writeAuditLog = function(audit, verbose){ + try{ + mkDirForFile(audit.auditLog); + fs.writeFileSync(audit.auditLog, JSON.stringify(audit,null,4)); + }catch(e){ + if (verbose) { + console.error(new Date(),"[FileStreamRotator] Failed to store log audit at:", audit.auditLog,"Error:", e); + } + } +}; + + +/** + * Removes old log file + * @param file + * @param file.hash + * @param file.name + * @param file.date + * @param file.hashType + * @param {Boolean} verbose + */ +function removeFile(file, verbose){ + if(file.hash === crypto.createHash(file.hashType).update(file.name + "LOG_FILE" + file.date).digest("hex")){ + try{ + if (fs.existsSync(file.name)) { + fs.unlinkSync(file.name); + } + }catch(e){ + if (verbose) { + console.error(new Date(), "[FileStreamRotator] Could not remove old log file: ", file.name); + } + } + } +} + +/** + * Create symbolic link to current log file + * @param {String} logfile + * @param {String} name Name to use for symbolic link + * @param {Boolean} verbose + */ +function createCurrentSymLink(logfile, name, verbose) { + let symLinkName = name || "current.log" + let logPath = path.dirname(logfile) + let logfileName = path.basename(logfile) + let current = logPath + "/" + symLinkName + try { + let stats = fs.lstatSync(current) + if(stats.isSymbolicLink()){ + fs.unlinkSync(current) + fs.symlinkSync(logfileName, current) + } + } catch (err) { + if(err && err.code == "ENOENT") { + try { + fs.symlinkSync(logfileName, current) + } catch (e) { + if (verbose) { + console.error(new Date(), "[FileStreamRotator] Could not create symlink file: ", current, ' -> ', logfileName); + } + } + } + } +} + +/** + * + * @param {String} logfile + * @param {Boolean} verbose + * @param {function} cb + */ +function createLogWatcher(logfile, verbose, cb){ + if(!logfile) return null + // console.log("Creating log watcher") + try { + let stats = fs.lstatSync(logfile) + return fs.watch(logfile, function(event,filename){ + // console.log(Date(), event, filename) + if(event == "rename"){ + try { + let stats = fs.lstatSync(logfile) + // console.log("STATS:", stats) + }catch(err){ + // console.log("ERROR:", err) + cb(err,logfile) + } + } + }) + }catch(err){ + if(verbose){ + console.log(new Date(),"[FileStreamRotator] Could not add watcher for " + logfile); + } + } +} + +/** + * Write audit json object to disk + * @param {String} logfile + * @param {Object} audit + * @param {Object} audit.keep + * @param {Boolean} audit.keep.days + * @param {Number} audit.keep.amount + * @param {String} audit.auditLog + * @param {String} audit.hashType + * @param {Array} audit.files + * @param {EventEmitter} stream + * @param {Boolean} verbose + */ +FileStreamRotator.addLogToAudit = function(logfile, audit, stream, verbose){ + if(audit && audit.files){ + // Based on contribution by @nickbug - https://github.com/nickbug + var index = audit.files.findIndex(function(file) { + return (file.name === logfile); + }); + if (index !== -1) { + // nothing to do as entry already exists. + return audit; + } + var time = Date.now(); + audit.files.push({ + date: time, + name: logfile, + hash: crypto.createHash(audit.hashType).update(logfile + "LOG_FILE" + time).digest("hex") + }); + + if(audit.keep.days){ + var oldestDate = moment().subtract(audit.keep.amount,"days").valueOf(); + var recentFiles = audit.files.filter(function(file){ + if(file.date > oldestDate){ + return true; + } + file.hashType = audit.hashType + removeFile(file, verbose); + stream.emit("logRemoved", file) + return false; + }); + audit.files = recentFiles; + }else{ + var filesToKeep = audit.files.splice(-audit.keep.amount); + if(audit.files.length > 0){ + audit.files.filter(function(file){ + file.hashType = audit.hashType + removeFile(file, verbose); + stream.emit("logRemoved", file) + return false; + }) + } + audit.files = filesToKeep; + } + + FileStreamRotator.writeAuditLog(audit, verbose); + } + + return audit; +} + +/** + * + * @param options + * @param options.filename + * @param options.frequency + * @param options.verbose + * @param options.date_format + * @param options.size + * @param options.max_logs + * @param options.audit_file + * @param options.file_options + * @param options.utc + * @param options.extension File extension to be added at the end of the filename + * @param options.watch_log + * @param options.create_symlink + * @param options.symlink_name + * @param options.audit_hash_type Hash to be used to add to the audit log (md5, sha256) + * @returns {Object} stream + */ +FileStreamRotator.getStream = function (options) { + var frequencyMetaData = null; + var curDate = null; + var self = this; + + if (!options.filename) { + console.error(new Date(),"[FileStreamRotator] No filename supplied. Defaulting to STDOUT"); + return process.stdout; + } + + if (options.frequency) { + frequencyMetaData = self.getFrequency(options.frequency); + } + + let auditLog = self.setAuditLog(options.max_logs, options.audit_file, options.filename); + // Thanks to Means88 for PR. + if (auditLog != null) { + auditLog.hashType = (options.audit_hash_type !== undefined ? options.audit_hash_type : 'md5'); + } + self.verbose = (options.verbose !== undefined ? options.verbose : true); + + var fileSize = null; + var fileCount = 0; + var curSize = 0; + if(options.size){ + fileSize = FileStreamRotator.parseFileSize(options.size); + } + + var dateFormat = (options.date_format || DATE_FORMAT); + if(frequencyMetaData && frequencyMetaData.type == "daily"){ + if(!options.date_format){ + dateFormat = "YYYY-MM-DD"; + } + if(moment().format(dateFormat) != moment().endOf("day").format(dateFormat) || moment().format(dateFormat) == moment().add(1,"day").format(dateFormat)){ + if(self.verbose){ + console.log(new Date(),"[FileStreamRotator] Changing type to custom as date format changes more often than once a day or not every day"); + } + frequencyMetaData.type = "custom"; + } + } + + if (frequencyMetaData) { + curDate = (options.frequency ? self.getDate(frequencyMetaData,dateFormat, options.utc) : ""); + } + + options.create_symlink = options.create_symlink || false; + options.extension = options.extension || "" + var filename = options.filename; + var oldFile = null; + var logfile = filename + (curDate ? "." + curDate : ""); + if(filename.match(/%DATE%/)){ + logfile = filename.replace(/%DATE%/g,(curDate?curDate:self.getDate(null,dateFormat, options.utc))); + } + + if(fileSize){ + var lastLogFile = null; + var t_log = logfile; + var f = null; + if(auditLog && auditLog.files && auditLog.files instanceof Array && auditLog.files.length > 0){ + var lastEntry = auditLog.files[auditLog.files.length - 1].name; + if(lastEntry.match(t_log)){ + var lastCount = lastEntry.match(t_log + "\\.(\\d+)"); + // Thanks for the PR contribution from @andrefarzat - https://github.com/andrefarzat + if(lastCount){ + t_log = lastEntry; + fileCount = lastCount[1]; + } + } + } + + if (fileCount == 0 && t_log == logfile) { + t_log += options.extension + } + + while(f = fs.existsSync(t_log)){ + lastLogFile = t_log; + fileCount++; + t_log = logfile + "." + fileCount + options.extension; + } + if(lastLogFile){ + var lastLogFileStats = fs.statSync(lastLogFile); + if(lastLogFileStats.size < fileSize){ + t_log = lastLogFile; + fileCount--; + curSize = lastLogFileStats.size; + } + } + logfile = t_log; + } else { + logfile += options.extension + } + + if (self.verbose) { + console.log(new Date(),"[FileStreamRotator] Logging to: ", logfile); + } + + mkDirForFile(logfile); + + var file_options = options.file_options || {flags: 'a'}; + var rotateStream = fs.createWriteStream(logfile, file_options); + if ((curDate && frequencyMetaData && (staticFrequency.indexOf(frequencyMetaData.type) > -1)) || fileSize > 0) { + if (self.verbose) { + console.log(new Date(),"[FileStreamRotator] Rotating file: ", frequencyMetaData?frequencyMetaData.type:"", fileSize?"size: " + fileSize:""); + } + var stream = new EventEmitter(); + stream.auditLog = auditLog; + stream.end = function(){ + rotateStream.end.apply(rotateStream,arguments); + }; + BubbleEvents(rotateStream,stream); + + stream.on('close', function(){ + if (logWatcher) { + logWatcher.close() + } + }) + + stream.on("new",function(newLog){ + // console.log("new log", newLog) + stream.auditLog = self.addLogToAudit(newLog,stream.auditLog, stream, self.verbose) + if(options.create_symlink){ + createCurrentSymLink(newLog, options.symlink_name, self.verbose) + } + if(options.watch_log){ + stream.emit("addWatcher", newLog) + } + }); + + var logWatcher; + stream.on("addWatcher", function(newLog){ + if (logWatcher) { + logWatcher.close() + } + if(!options.watch_log){ + return + } + // console.log("ADDING WATCHER", newLog) + logWatcher = createLogWatcher(newLog, self.verbose, function(err,newLog){ + stream.emit('createLog', newLog) + }) + }) + + stream.on("createLog",function(file){ + try { + let stats = fs.lstatSync(file) + }catch(err){ + if(rotateStream && rotateStream.end == "function"){ + rotateStream.end(); + } + rotateStream = fs.createWriteStream(file, file_options); + stream.emit('new',file); + BubbleEvents(rotateStream,stream); + } + }); + + + stream.write = (function (str, encoding) { + var newDate = frequencyMetaData ? this.getDate(frequencyMetaData, dateFormat, options.utc) : curDate; + if (newDate != curDate || (fileSize && curSize > fileSize)) { + var newLogfile = filename + (curDate && frequencyMetaData ? "." + newDate : ""); + if(filename.match(/%DATE%/) && curDate){ + newLogfile = filename.replace(/%DATE%/g,newDate); + } + + if(fileSize && curSize > fileSize){ + fileCount++; + newLogfile += "." + fileCount + options.extension; + }else{ + // reset file count + fileCount = 0; + newLogfile += options.extension + } + curSize = 0; + + if (self.verbose) { + console.log(new Date(),require('util').format("[FileStreamRotator] Changing logs from %s to %s", logfile, newLogfile)); + } + curDate = newDate; + oldFile = logfile; + logfile = newLogfile; + // Thanks to @mattberther https://github.com/mattberther for raising it again. + if(options.end_stream === true){ + rotateStream.end(); + }else{ + rotateStream.destroy(); + } + + mkDirForFile(logfile); + + rotateStream = fs.createWriteStream(newLogfile, file_options); + stream.emit('new',newLogfile); + stream.emit('rotate',oldFile, newLogfile); + BubbleEvents(rotateStream,stream); + } + rotateStream.write(str, encoding); + // Handle length of double-byte characters + curSize += Buffer.byteLength(str, encoding); + }).bind(this); + process.nextTick(function(){ + stream.emit('new',logfile); + }) + stream.emit('new',logfile) + return stream; + } else { + if (self.verbose) { + console.log(new Date(),"[FileStreamRotator] File won't be rotated: ", options.frequency, options.size); + } + process.nextTick(function(){ + rotateStream.emit('new',logfile); + }) + return rotateStream; + } +} + +/** + * Check and make parent directory + * @param pathWithFile + */ +var mkDirForFile = function(pathWithFile){ + var _path = path.dirname(pathWithFile); + _path.split(path.sep).reduce( + function(fullPath, folder) { + fullPath += folder + path.sep; + // Option to replace existsSync as deprecated. Maybe in a future release. + // try{ + // var stats = fs.statSync(fullPath); + // console.log('STATS',fullPath, stats); + // }catch(e){ + // fs.mkdirSync(fullPath); + // console.log("STATS ERROR",e) + // } + if (!fs.existsSync(fullPath)) { + try{ + fs.mkdirSync(fullPath); + }catch(e){ + if(e.code !== 'EEXIST'){ + throw e; + } + } + } + return fullPath; + }, + '' + ); +}; + + +/** + * Bubbles events to the proxy + * @param emitter + * @param proxy + * @constructor + */ +var BubbleEvents = function BubbleEvents(emitter,proxy){ + emitter.on('close',function(){ + proxy.emit('close'); + }) + emitter.on('finish',function(){ + proxy.emit('finish'); + }) + emitter.on('error',function(err){ + proxy.emit('error',err); + }) + emitter.on('open',function(fd){ + proxy.emit('open',fd); + }) +} diff --git a/node_modules/file-stream-rotator/LICENSE.txt b/node_modules/file-stream-rotator/LICENSE.txt new file mode 100644 index 0000000..c01d2d0 --- /dev/null +++ b/node_modules/file-stream-rotator/LICENSE.txt @@ -0,0 +1,17 @@ +The MIT License (MIT) +Copyright © 2022 Roger Castells + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and +associated documentation files (the “Software”), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial +portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/file-stream-rotator/README.md b/node_modules/file-stream-rotator/README.md new file mode 100644 index 0000000..c726144 --- /dev/null +++ b/node_modules/file-stream-rotator/README.md @@ -0,0 +1,148 @@ + +file-stream-rotator +=================== + +NodeJS file stream rotator + +## Purpose + +To provide an automated rotation of Express/Connect logs or anything else that writes to a file on a regular basis that needs to be rotated based on date, a size limit or combination and remove old log files based on count or elapsed days. + +## Install + +``` +npm install file-stream-rotator +``` + +## Options + + - *filename*: Filename including full path used by the stream + - *frequency*: How often to rotate. Options are 'daily', 'custom' and 'test'. 'test' rotates every minute. + If frequency is set to none of the above, a YYYYMMDD string will be added to the end of the filename. + - *verbose*: If set, it will log to STDOUT when it rotates files and name of log file. Default is TRUE. + - *date_format*: Format as used in moment.js http://momentjs.com/docs/#/displaying/format/. The result is used to replace + the '%DATE%' placeholder in the filename. + If using 'custom' frequency, it is used to trigger file rotation when the string representation changes. + - *size*: Max size of the file after which it will rotate. It can be combined with frequency or date format. + The size units are 'k', 'm' and 'g'. Units need to directly follow a number e.g. 1g, 100m, 20k. + - *max_logs* Max number of logs to keep. If not set, it won't remove past logs. It uses its own log audit file + to keep track of the log files in a json format. It won't delete any file not contained in it. + It can be a number of files or number of days. If using days, add 'd' as the suffix. + - *audit_file* Location to store the log audit file. If not set, it will be stored in the root of the application. + - *end_stream* End stream (true) instead of the destroy (default: false). Set value to true if when writing to the + stream in a loop, if the application terminates or log rotates, data pending to be flushed might be lost. + - *file_options* An object passed to the stream. This can be used to specify flags, encoding, and mode. + See https://nodejs.org/api/fs.html#fs_fs_createwritestream_path_options. Default `{ flags: 'a' }`. + - *utc* Use UTC time for date in filename. Defaults to 'FALSE' + - *extension* File extension to be appended to the filename. This is useful when using size restrictions as the rotation + adds a count (1,2,3,4,...) at the end of the filename when the required size is met. + - *watch_log* Watch the current file being written to and recreate it in case of accidental deletion. Defaults to 'FALSE' + - *create_symlink* Create a tailable symlink to the current active log file. Defaults to 'FALSE' + - *symlink_name* Name to use when creating the symbolic link. Defaults to 'current.log' + - *audit_hash_type* Use specified hashing algorithm for audit. Defaults to 'md5'. Use 'sha256' for FIPS compliance. + + +## Example Usage +```javascript + // Default date added at the end of the file + var rotatingLogStream = require('file-stream-rotator').getStream({filename:"/tmp/test.log", frequency:"daily", verbose: false}); + + // Default date added using file pattern + var rotatingLogStream = require('file-stream-rotator').getStream({filename:"/tmp/test-%DATE%.log", frequency:"daily", verbose: false}); + + // Custom date added using file pattern using moment.js formats + var rotatingLogStream = require('file-stream-rotator').getStream({filename:"/tmp/test-%DATE%.log", frequency:"daily", verbose: false, date_format: "YYYY-MM-DD"}); + + // Rotate when the date format as calculated by momentjs is different (e.g monthly) + var rotatingLogStream = require('file-stream-rotator').getStream({filename:"/tmp/test-%DATE%.log", frequency:"custom", verbose: false, date_format: "YYYY-MM"}); + + // Rotate when the date format as calculated by momentjs is different (e.g weekly) + var rotatingLogStream = require('file-stream-rotator').getStream({filename:"/tmp/test-%DATE%.log", frequency:"custom", verbose: false, date_format: "YYYY-ww"}); + + // Rotate when the date format as calculated by momentjs is different (e.g AM/PM) + var rotatingLogStream = require('file-stream-rotator').getStream({filename:"/tmp/test-%DATE%.log", frequency:"custom", verbose: false, date_format: "YYYY-MM-DD-A"}); + + // Rotate on given minutes using the 'm' option i.e. 5m or 30m + var rotatingLogStream = require('file-stream-rotator').getStream({filename:"/tmp/test.log", frequency:"5m", verbose: false}); + + // Rotate on the hour or any specified number of hours + var rotatingLogStream = require('file-stream-rotator').getStream({filename:"/tmp/test.log", frequency:"1h", verbose: false}); + + // Rotate on the hour or any specified number of hours and keep 10 files + var rotatingLogStream = require('file-stream-rotator').getStream({filename:"/tmp/test.log", frequency:"1h", verbose: false, max_logs: 10}); + + // Rotate on the hour or any specified number of hours and keep 10 days + var rotatingLogStream = require('file-stream-rotator').getStream({filename:"/tmp/test.log", frequency:"1h", verbose: false, max_logs: "10d"}); + + // Rotate on the hour or any specified number of hours and keep 10 days and store the audit file in /tmp/log-audit.json + var rotatingLogStream = require('file-stream-rotator').getStream({filename:"/tmp/test.log", frequency:"1h", verbose: false, max_logs: "10d", audit_file: "/tmp/log-audit.json"}); + + // Rotate by file size only without date included in the name. Iteration will be added at the end. + var rotatingLogStream = require('file-stream-rotator').getStream({filename:"/tmp/logfile", size:"50k", max_logs: "5", audit_file:"/tmp/logaudit.json"}); + + // Rotate by file size only without date included in the name. Rotation added before the extension. + var rotatingLogStream = require('file-stream-rotator').getStream({filename:"/tmp/logfile", size:"50k", max_logs: "5", audit_file:"/tmp/logaudit.json". extension: ".log"}); + + + //..... + + // Use new stream in express + app.use(express.logger({stream: rotatingLogStream, format: "default"})); + + //..... + +``` + +You can listen to the *open*, *close*, *error* and *finish* events generated by the open stream. You can also listen for custom events: + + * *rotate*: that will pass two parameters to the callback: (*oldFilename*, *newFilename*) + * *new*: that will pass one parameter to the callback: *newFilename* + * *logRemoved*: that will pass one parameter to the callback: {*date*: unix_timestamp, *name*: filename_deleted, *hash*: log_file_unique_idenfifier} + +You can also limit the size of each file by adding the size option using "k", "m" and "g" to specify the size of the file in kiloybytes, megabytes or gigabytes. When it rotates a file based on size, it will add a number to the end and increment it for every time the file rotates in the given period as shown below. + +``` + 3078 7 Mar 13:09:58 2017 testlog-2017-03-07.13.09.log.20 + 2052 7 Mar 13:10:00 2017 testlog-2017-03-07.13.09.log.21 + 3078 7 Mar 13:10:05 2017 testlog-2017-03-07.13.10.log.1 + 3078 7 Mar 13:10:08 2017 testlog-2017-03-07.13.10.log.2 + 3078 7 Mar 13:10:11 2017 testlog-2017-03-07.13.10.log.3 + 3078 7 Mar 13:10:14 2017 testlog-2017-03-07.13.10.log.4 +``` + + The example below will rotate files daily but each file will be limited to 5MB. + +```javascript + // Rotate every day or every 5 megabytes, whatever comes first. + var rotatingLogStream = require('file-stream-rotator').getStream( + { + filename:"/tmp/test-%DATE%.log", + frequency:"custom", + verbose: false, + date_format: "YYYY-MM-DD", + size: "5M" // its letter denominating the size is case insensitive + } + ); + rotatingLogStream.on('rotate',function(oldFile,newFile){ + // do something with old file like compression or delete older than X days. + }) +``` + +## NPM Maintainers + +The npm module for this library will be maintained by: + +* [Roger C](http://github.com/rogerc) + +## Contributors + +Thanks to the contributors below for raising PRs and everyone else that has raised issues to make the module better. + +* [Matt Berther](https://github.com/mattberther) +* [nickbug](https://github.com/nickbug) +* [André Farzat](https://github.com/andrefarzat) +* [Thibault.P](https://github.com/DrPlop) + +## License + +file-stream-rotator is licensed under the MIT license. diff --git a/node_modules/file-stream-rotator/index.js b/node_modules/file-stream-rotator/index.js new file mode 100644 index 0000000..0e28b53 --- /dev/null +++ b/node_modules/file-stream-rotator/index.js @@ -0,0 +1 @@ +module.exports = require('./FileStreamRotator'); \ No newline at end of file diff --git a/node_modules/file-stream-rotator/package.json b/node_modules/file-stream-rotator/package.json new file mode 100644 index 0000000..ad27471 --- /dev/null +++ b/node_modules/file-stream-rotator/package.json @@ -0,0 +1,30 @@ +{ + "name": "file-stream-rotator", + "version": "0.6.1", + "description": "Automated stream rotation useful for log files", + "main": "FileStreamRotator.js", + "scripts": { + "test": "node test.js" + }, + "repository": { + "type": "git", + "url": "git://github.com/rogerc/file-stream-rotator.git" + }, + "keywords": [ + "stream", + "express", + "restify", + "connect", + "rotate", + "file", + "minute", + "hourly", + "daily", + "logrotate" + ], + "author": "Roger Castells", + "license": "MIT", + "dependencies": { + "moment": "^2.29.1" + } +} diff --git a/node_modules/file-stream-rotator/test.js b/node_modules/file-stream-rotator/test.js new file mode 100644 index 0000000..fda34e9 --- /dev/null +++ b/node_modules/file-stream-rotator/test.js @@ -0,0 +1,208 @@ +var fsr = require('./index'); +var assert = require('assert'); +var fs = require('fs'); + +var tests = { + testFileSizes: function () { + [ + ["3k",3072], + ["5M",5242880], + ["0.5G",536870912], + ["0.5T",null], + ["1mega",null], + ["10 giga",null] + ].map(function(fsize){ + console.log(fsize[0],fsize[1],fsr.parseFileSize(fsize[0])); + assert.ok(fsize[1] == fsr.parseFileSize(fsize[0])); + }) + }, + testFrequency: function () { + var opt1 = 'M544'; + var opt2 = '5m'; + var opt3 = '1H'; + var opt4 = '3h'; + var opt5 = 'daily'; + var opt6 = 'test'; + var opt7 = '3W'; + var opt8 = '-1h'; + var opt9 = '25h'; + var opt10 = '24h'; + var opt11 = '23h'; + var opt12 = '59m'; + var opt13 = '60m'; + var opt14 = '61m'; + var opt15 = '-1m'; + + + assert.ok(!fsr.getFrequency(opt1)); + + var obj = fsr.getFrequency(opt2); + console.log('obj =', obj); + assert.ok(typeof obj == 'object'); + assert.equal(obj.type, 'm'); + assert.equal(obj.digit, 5); + + obj = fsr.getFrequency(opt3); + assert.ok(typeof obj == 'object'); + assert.equal(obj.type, 'h'); + assert.equal(obj.digit, 1); + + obj = fsr.getFrequency(opt4); + assert.ok(typeof obj == 'object'); + assert.equal(obj.type, 'h'); + assert.equal(obj.digit, 3); + + obj = fsr.getFrequency(opt5); + assert.ok(typeof obj == 'object'); + assert.equal(obj.type, 'daily'); + assert.equal(obj.digit, undefined); + + obj = fsr.getFrequency(opt6); + assert.ok(typeof obj == 'object'); + assert.equal(obj.type, 'test'); + assert.equal(obj.digit, 0); + + obj = fsr.getFrequency(opt7); + assert.ok(obj === false); + + obj = fsr.getFrequency(opt8); + assert.ok(obj === false); + + obj = fsr.getFrequency(opt9); + assert.ok(obj === false); + + obj = fsr.getFrequency(opt10); + console.log('obj =', obj); + assert.ok(typeof obj == 'object'); + assert.equal(obj.type, 'h'); + assert.equal(obj.digit, 24); + + obj = fsr.getFrequency(opt11); + console.log('obj =', obj); + assert.ok(typeof obj == 'object'); + assert.equal(obj.type, 'h'); + assert.equal(obj.digit, 23); + + obj = fsr.getFrequency(opt12); + assert.ok(typeof obj == 'object'); + assert.equal(obj.type, 'm'); + assert.equal(obj.digit, 59); + + obj = fsr.getFrequency(opt13); + assert.ok(typeof obj == 'object'); + assert.equal(obj.type, 'm'); + assert.equal(obj.digit, 60); + + obj = fsr.getFrequency(opt14); + assert.ok(obj === false); + + obj = fsr.getFrequency(opt15); + assert.ok(obj === false); + }, + testGetDate: function () { + var opt = {type: 'test', digit: 0}; + var opt1 = {type: 'daily', digit: 0}; + var opt2 = {type: 'h', digit: 1}; + var opt3 = {type: 'm', digit: 30}; + var opt4 = {type: 'm', digit: 45}; + var opt5 = {type: 'h', digit: 3}; + var opt6 = {type: 'm', digit: 5}; + + var format1 = 'YYYYMMDD'; + var format2 = 'YYYY-MM-DD'; + var format3 = 'YYYYMMDD.HHmmss'; + var format4 = 'YYYY-MM-DD:HH:mm:ss'; + + console.log(fsr.getDate(opt)); + console.log(fsr.getDate(opt1)); + console.log(fsr.getDate(opt2)); + console.log(fsr.getDate(opt3)); + console.log(fsr.getDate(opt4)); + console.log(fsr.getDate(opt5)); + console.log(fsr.getDate(opt6)); + + console.log(fsr.getDate({type: 'test', digit: 0},format1)); + console.log(fsr.getDate({type: 'test', digit: 0},format2)); + console.log(fsr.getDate({type: 'test', digit: 0},format3)); + console.log(fsr.getDate({type: 'test', digit: 0},format4)); + }, + testAuditSettings: function(){ + var a = fsr.setAuditLog("10d","","/tmp/a/b/c/files/%DATE%/logs"); + console.log(a) + assert.equal(a.auditLog,"/tmp/a/b/c/files/.audit.json"); + assert.equal(a.keep.amount,10); + assert.equal(a.keep.days,true); + assert.equal(a.files.length,0); + + a = fsr.setAuditLog("10","/tmp/a/b/log_audit_file.json","/tmp/a/b/c/files/%DATE%/logs1"); + console.log(a) + assert.equal(a.auditLog,"/tmp/a/b/log_audit_file.json"); + assert.equal(a.keep.amount,10); + assert.equal(a.keep.days,false); + assert.equal(a.files.length,0); + + // var b = fsr.writeAuditLog({keep:{days:true,amount:10},auditLog: "/tmp/aa/a/e/a/b/c/a/b/b/ba_log.json",files:[{date:Date.now(), name:"/tmp/a/b/c.log"}]}); + + }, + testGetStream: function() { + return; + + var logdir = __dirname + '/log/'; + + var test = function() { + + var options1 = { filename: logdir + 'program1.log', frequency: '1m', verbose: true, date_format: 'YYYY-MM-DD' }; + var options2 = { filename: logdir + 'program2.log', frequency: '1m', verbose: true}; + var options3 = { filename: logdir + 'program3-%DATE%.log', frequency: '1m', verbose: true, date_format: 'YYYY-MM-DD'}; + var options4 = { filename: logdir + 'program4-%DATE%.log', verbose: true, date_format: 'YYYY-MM-DD'}; + var options5 = { filename: logdir + 'program5-%DATE%.log', verbose: true}; + + var stream1 = fsr.getStream(options1); + stream1.write('formatted date'); + var stream2 = fsr.getStream(options2); + stream2.write('default date'); + var stream3 = fsr.getStream(options3); + stream3.write('date mid filename'); + var stream4 = fsr.getStream(options4); + stream4.write('date mid filename without rotation'); + var stream5 = fsr.getStream(options5); + stream5.write('dafault date mid filename without rotation'); + + + var options = { filename: logdir + 'program-%DATE%.log', frequency: '1m', verbose: true, date_format: 'YYYY-MM-DD:HH:mm' }; + + var stream = fsr.getStream(options); + process.__defineGetter__('stdout', function() { return stream;}); + process.__defineGetter__('stderr', function() { return stream;}); + + setTimeout(function(){ + stream.write('Foo bar'); + }, 3000) + + setTimeout(function(){ + stream.write('Foo bar'); + }, 60000); + } + + fs.exists(logdir, function(exists) { + if(!exists) { + console.log('Creating the log directory as one doesnt exist'); + fs.mkdir(logdir, function(err) { + if(err) { + console.error('Trouble creating directory %s', logdir); + throw err; + } + test(); + }); + }else{ + test(); + } + }); + }, +} + +Object.keys(tests).forEach(function (test) { + if (typeof tests[test] == 'function') { + tests[test](); + } +}); \ No newline at end of file diff --git a/node_modules/file-stream-rotator/tests/every-minute-test.js b/node_modules/file-stream-rotator/tests/every-minute-test.js new file mode 100644 index 0000000..0b52657 --- /dev/null +++ b/node_modules/file-stream-rotator/tests/every-minute-test.js @@ -0,0 +1,85 @@ +var moment = require('moment'); +// var rotatingLogStream = require('../FileStreamRotator').getStream({filename:"/tmp/testlog-%DATE%.log", frequency:"1m", verbose: true}); +// var rotatingLogStream = require('../FileStreamRotator').getStream({filename:"/tmp/testlog-%DATE%.log", frequency:"custom", verbose: true, date_format: "YYYY-MM-DD.HH.mm"}); +// var rotatingLogStream = require('../FileStreamRotator').getStream({filename:"/tmp/testlog-%DATE%.log", frequency:"dont-rotate", verbose: true, date_format: "YYYY-MM-DD.HH.mm.ss"}); +// var rotatingLogStream = require('../FileStreamRotator').getStream({filename:"/tmp/testlog-%DATE%.log", frequency:"daily", verbose: true, date_format: "YYYYMMDD"}); +// var rotatingLogStream = require('../FileStreamRotator').getStream({filename:"/tmp/testlog-%DATE%.log", frequency:"daily", verbose: true}); + +const symLinkName = "tail.log" + +var rotatingLogStream = require('../FileStreamRotator').getStream({ + filename: "logs/1m/testlog-%DATE%", + frequency: "1m", + verbose: true, + date_format: "YYYY-MM-DD.HH.mm", + size: "100k", + max_logs: "10", + audit_file: "/tmp/audit.json", + end_stream: false, + utc: true, + extension: ".log", + create_symlink: true, + watch_log: true, + // symlink_name: "tail.log" + symlink_name: symLinkName +}); + +rotatingLogStream.on("error", function () { + console.log(Date.now(), Date(), "stream error", arguments) +}) + + +rotatingLogStream.on("close", function () { + console.log(Date.now(), Date(), "stream closed") +}) + +rotatingLogStream.on("finish", function () { + console.log(Date.now(), Date(), "stream finished") +}) + +rotatingLogStream.on("rotate", function (oldFile, newFile) { + console.log(Date.now(), Date(), "stream rotated", oldFile, newFile); +}) + +rotatingLogStream.on("open", function (fd) { + console.log(Date.now(), Date(), "stream open", fd); +}) + +rotatingLogStream.on("new", function (newFile) { + console.log(Date.now(), Date(), "stream new", newFile); +}) + +rotatingLogStream.on("logRemoved", function (newFile) { + console.log(Date.now(), Date(), "stream logRemoved", newFile); +}) + +// console.log(rotatingLogStream.on, rotatingLogStream.end, rotatingLogStream) + + +// var rotatingLogStream1 = require('../FileStreamRotator').getStream({ +// filename: "/tmp/a/logs/1m-1/testlog-%DATE%.log", +// frequency: "1m", +// verbose: true, +// date_format: "YYYY-MM-DD.HH.mm", +// size: "50k", +// max_logs: "10", +// audit_file: "/tmp/audit-1.json", +// end_stream: false +// }); + +var counter = 0; +var i = setInterval(function () { + counter++; + rotatingLogStream.write(Date() + "\t" + "testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890\n") + // rotatingLogStream1.write(Date() + "\t" + "testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890\n") + if (counter == 5000) { + clearInterval(i); + rotatingLogStream.end("end\n"); + // rotatingLogStream1.end("end\n"); + } +}, 10); + +// var i = setTimeout(function () { +// rotatingLogStream.emit("createLog") +// }, 10000); + diff --git a/node_modules/file-stream-rotator/tests/every-second-test.js b/node_modules/file-stream-rotator/tests/every-second-test.js new file mode 100644 index 0000000..d806837 --- /dev/null +++ b/node_modules/file-stream-rotator/tests/every-second-test.js @@ -0,0 +1,75 @@ +var moment = require('moment'); +// var rotatingLogStream = require('../FileStreamRotator').getStream({filename:"/tmp/testlog-%DATE%.log", frequency:"1m", verbose: true}); +// var rotatingLogStream = require('../FileStreamRotator').getStream({filename:"/tmp/testlog-%DATE%.log", frequency:"custom", verbose: true, date_format: "YYYY-MM-DD.HH.mm"}); +// var rotatingLogStream = require('../FileStreamRotator').getStream({filename:"/tmp/testlog-%DATE%.log", frequency:"dont-rotate", verbose: true, date_format: "YYYY-MM-DD.HH.mm.ss"}); +// var rotatingLogStream = require('../FileStreamRotator').getStream({filename:"/tmp/testlog-%DATE%.log", frequency:"daily", verbose: true, date_format: "YYYYMMDD"}); +// var rotatingLogStream = require('../FileStreamRotator').getStream({filename:"/tmp/testlog-%DATE%.log", frequency:"daily", verbose: true}); +var rotatingLogStream = require('../FileStreamRotator').getStream({ + filename:"logs/1s/testlog-%DATE%.log", + frequency:"custom", + verbose: true, + date_format: "YYYY-MM-DD.HH.mm", + size:"50k", + max_logs: "5", + audit_file:"audit-1s.json", + end_stream: false, + utc: true, + extension: ".logs", + watch_log: true, + audit_hash_type: 'sha256' +}); + +rotatingLogStream.on("error",function(err){ + console.log(Date.now(), Date(), "stream error", err) + process.exit() +}) + + +rotatingLogStream.on("close",function(){ + console.log(Date.now(), Date(), "stream closed") +}) + +rotatingLogStream.on("finish",function(){ + console.log(Date.now(), Date(), "stream finished") +}) + +rotatingLogStream.on("rotate",function(oldFile,newFile){ + console.log(Date.now(), Date(), "stream rotated",oldFile,newFile); +}) + +rotatingLogStream.on("open",function(fd){ + console.log(Date.now(), Date(), "stream open",fd); +}) + +rotatingLogStream.on("new",function(newFile){ + console.log(Date.now(), Date(), "stream new",newFile); +}) + +rotatingLogStream.on("addWatcher", function(newLog){ + console.log(Date.now(), Date(), "stream add watcher",newLog); +}) + +// console.log(rotatingLogStream.on, rotatingLogStream.end, rotatingLogStream) + +var counter = 0; +var i = setInterval(function(){ + counter++; + // rotatingLogStream.write(Date() + "\ttesting 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890\n") + rotatingLogStream.write(Date() + "ニューバランスの100年を超える長い歴史\n") + // if(counter == 2000){ + if(counter == 400){ + clearInterval(i); + console.log(Date() + "\tEND STREAM"); + rotatingLogStream.end("end\n"); + return; + } + + rotatingLogStream.write(Date() + "\t"); + for(var y = 0; y<400; y++){ + // console.log(i + " ") + // rotatingLogStream.write(y + ": " + Date.now() + " >> "); + rotatingLogStream.write("適: " + Date.now() + " >> "); + } + rotatingLogStream.write("\n"); +}, 10); + diff --git a/node_modules/file-stream-rotator/tests/large-test.js b/node_modules/file-stream-rotator/tests/large-test.js new file mode 100644 index 0000000..1e1135b --- /dev/null +++ b/node_modules/file-stream-rotator/tests/large-test.js @@ -0,0 +1,33 @@ +var os = require('os'); + +require('crypto').randomBytes(1048, function(err, buffer) { + var token = buffer.toString('hex'); + var logStream = require('../FileStreamRotator').getStream({ + filename: './logs/application-%DATE%', + frequency: 'custom', + // size: '50k', + max_logs: 4, + end_stream: true, + verbose: true, + watch_log: true, + extension: ".log", + create_symlink: true + }); + var count = 0 + var i = setInterval(function(){ + // console.log("count: ", count) + if (count > 300) { + return clear() + } + count++; + for (var i = 0; i < 1; i++) { + logStream.write(token + "\n"); + } + },10) + + function clear(){ + console.log("clearing interval") + clearInterval(i) + logStream.end("end"); + } +}); \ No newline at end of file diff --git a/node_modules/file-stream-rotator/tests/rotate-on-size-without-date.js b/node_modules/file-stream-rotator/tests/rotate-on-size-without-date.js new file mode 100644 index 0000000..26aa31d --- /dev/null +++ b/node_modules/file-stream-rotator/tests/rotate-on-size-without-date.js @@ -0,0 +1,103 @@ +var moment = require('moment'); +// var rotatingLogStream = require('../FileStreamRotator').getStream({filename:"/tmp/testlog-%DATE%.log", frequency:"1m", verbose: true}); +// var rotatingLogStream = require('../FileStreamRotator').getStream({filename:"/tmp/testlog-%DATE%.log", frequency:"custom", verbose: true, date_format: "YYYY-MM-DD.HH.mm"}); +// var rotatingLogStream = require('../FileStreamRotator').getStream({filename:"/tmp/testlog-%DATE%.log", frequency:"dont-rotate", verbose: true, date_format: "YYYY-MM-DD.HH.mm.ss"}); +// var rotatingLogStream = require('../FileStreamRotator').getStream({filename:"/tmp/testlog-%DATE%.log", frequency:"daily", verbose: true, date_format: "YYYYMMDD"}); +// var rotatingLogStream = require('../FileStreamRotator').getStream({filename:"/tmp/testlog-%DATE%.log", frequency:"daily", verbose: true}); +// var rotatingLogStream = require('../FileStreamRotator').getStream({ +// filename:"logs/nodate/%DATE%", +// frequency:"custom", +// verbose: true, +// date_format: "[test]", +// size:"50k", +// max_logs: "5", +// audit_file:"audit-nodate.json", +// end_stream: false, +// utc: true, +// extension: ".log", +// watch_log: true, +// audit_hash_type: 'sha256' +// }); + +// var rotatingLogStream = require('../FileStreamRotator').getStream({ +// filename:"logs/nodate/%DATE%", +// frequency:"custom", +// verbose: true, +// date_format: "[LOGFILENAME]", +// size:"50k", +// max_logs: "5", +// audit_file:"audit-nodate.json", +// end_stream: false, +// extension: ".log" +// }); + +// var rotatingLogStream = require('../FileStreamRotator').getStream({filename:"logs/nodate/logfile", size:"50k", max_logs: "5", audit_file:"audit-nodate.json", end_stream: false, extension: ".log" }); + +// var rotatingLogStream = require('../FileStreamRotator').getStream({filename:"logs/nodate/logfile", size:"50k", max_logs: "5", audit_file:"audit-nodate.json"}); + +var rotatingLogStream = require('../FileStreamRotator').getStream({ + filename:"logs/nodate/logfile", + verbose: true, + size:"50k", + // max_logs: "5", + audit_file:"audit-nodate.json", + end_stream: false, + extension: ".log" +}); + +rotatingLogStream.on("error",function(err){ + console.log(Date.now(), Date(), "stream error", err) + process.exit() +}) + + +rotatingLogStream.on("close",function(){ + console.log(Date.now(), Date(), "stream closed") +}) + +rotatingLogStream.on("finish",function(){ + console.log(Date.now(), Date(), "stream finished") +}) + +rotatingLogStream.on("rotate",function(oldFile,newFile){ + console.log(Date.now(), Date(), "stream rotated",oldFile,newFile); +}) + +rotatingLogStream.on("open",function(fd){ + console.log(Date.now(), Date(), "stream open",fd); +}) + +rotatingLogStream.on("new",function(newFile){ + console.log(Date.now(), Date(), "stream new",newFile); +}) + +rotatingLogStream.on("addWatcher", function(newLog){ + console.log(Date.now(), Date(), "stream add watcher",newLog); +}) + +// console.log(rotatingLogStream.on, rotatingLogStream.end, rotatingLogStream) + +var counter = 0; +var i = setInterval(function(){ + counter++; + // rotatingLogStream.write(Date() + "\ttesting 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890-testing 1234567890\n") + rotatingLogStream.write(Date() + "ニューバランスの100年を超える長い歴史\n") + // if(counter == 2000){ + if(counter == 400){ + clearInterval(i); + console.log(Date() + "\tEND STREAM"); + rotatingLogStream.end("end\n"); + return; + } + + //* + rotatingLogStream.write(Date() + "\t"); + for(var y = 0; y<400; y++){ + // console.log(i + " ") + // rotatingLogStream.write(y + ": " + Date.now() + " >> "); + rotatingLogStream.write("適: " + Date.now() + " >> "); + } + // */ + rotatingLogStream.write("\n"); +}, 10); + diff --git a/node_modules/finalhandler/HISTORY.md b/node_modules/finalhandler/HISTORY.md new file mode 100644 index 0000000..77ce54d --- /dev/null +++ b/node_modules/finalhandler/HISTORY.md @@ -0,0 +1,216 @@ +v1.3.2 / 2025-12-01 +================== + + * deps: use tilde notation for dependencies + * deps: statuses@~2.0.2 + +v1.3.1 / 2024-09-11 +================== + + * deps: encodeurl@~2.0.0 + +v1.3.0 / 2024-09-03 +================== + + * ignore status message for HTTP/2 (#53) + +v1.2.1 / 2024-09-02 +================== + + * Gracefully handle when handling an error and socket is null + +1.2.0 / 2022-03-22 +================== + + * Remove set content headers that break response + * deps: on-finished@2.4.1 + * deps: statuses@2.0.1 + - Rename `425 Unordered Collection` to standard `425 Too Early` + +1.1.2 / 2019-05-09 +================== + + * Set stricter `Content-Security-Policy` header + * deps: parseurl@~1.3.3 + * deps: statuses@~1.5.0 + +1.1.1 / 2018-03-06 +================== + + * Fix 404 output for bad / missing pathnames + * deps: encodeurl@~1.0.2 + - Fix encoding `%` as last character + * deps: statuses@~1.4.0 + +1.1.0 / 2017-09-24 +================== + + * Use `res.headersSent` when available + +1.0.6 / 2017-09-22 +================== + + * deps: debug@2.6.9 + +1.0.5 / 2017-09-15 +================== + + * deps: parseurl@~1.3.2 + - perf: reduce overhead for full URLs + - perf: unroll the "fast-path" `RegExp` + +1.0.4 / 2017-08-03 +================== + + * deps: debug@2.6.8 + +1.0.3 / 2017-05-16 +================== + + * deps: debug@2.6.7 + - deps: ms@2.0.0 + +1.0.2 / 2017-04-22 +================== + + * deps: debug@2.6.4 + - deps: ms@0.7.3 + +1.0.1 / 2017-03-21 +================== + + * Fix missing `` in HTML document + * deps: debug@2.6.3 + - Fix: `DEBUG_MAX_ARRAY_LENGTH` + +1.0.0 / 2017-02-15 +================== + + * Fix exception when `err` cannot be converted to a string + * Fully URL-encode the pathname in the 404 message + * Only include the pathname in the 404 message + * Send complete HTML document + * Set `Content-Security-Policy: default-src 'self'` header + * deps: debug@2.6.1 + - Allow colors in workers + - Deprecated `DEBUG_FD` environment variable set to `3` or higher + - Fix error when running under React Native + - Use same color for same namespace + - deps: ms@0.7.2 + +0.5.1 / 2016-11-12 +================== + + * Fix exception when `err.headers` is not an object + * deps: statuses@~1.3.1 + * perf: hoist regular expressions + * perf: remove duplicate validation path + +0.5.0 / 2016-06-15 +================== + + * Change invalid or non-numeric status code to 500 + * Overwrite status message to match set status code + * Prefer `err.statusCode` if `err.status` is invalid + * Set response headers from `err.headers` object + * Use `statuses` instead of `http` module for status messages + - Includes all defined status messages + +0.4.1 / 2015-12-02 +================== + + * deps: escape-html@~1.0.3 + - perf: enable strict mode + - perf: optimize string replacement + - perf: use faster string coercion + +0.4.0 / 2015-06-14 +================== + + * Fix a false-positive when unpiping in Node.js 0.8 + * Support `statusCode` property on `Error` objects + * Use `unpipe` module for unpiping requests + * deps: escape-html@1.0.2 + * deps: on-finished@~2.3.0 + - Add defined behavior for HTTP `CONNECT` requests + - Add defined behavior for HTTP `Upgrade` requests + - deps: ee-first@1.1.1 + * perf: enable strict mode + * perf: remove argument reassignment + +0.3.6 / 2015-05-11 +================== + + * deps: debug@~2.2.0 + - deps: ms@0.7.1 + +0.3.5 / 2015-04-22 +================== + + * deps: on-finished@~2.2.1 + - Fix `isFinished(req)` when data buffered + +0.3.4 / 2015-03-15 +================== + + * deps: debug@~2.1.3 + - Fix high intensity foreground color for bold + - deps: ms@0.7.0 + +0.3.3 / 2015-01-01 +================== + + * deps: debug@~2.1.1 + * deps: on-finished@~2.2.0 + +0.3.2 / 2014-10-22 +================== + + * deps: on-finished@~2.1.1 + - Fix handling of pipelined requests + +0.3.1 / 2014-10-16 +================== + + * deps: debug@~2.1.0 + - Implement `DEBUG_FD` env variable support + +0.3.0 / 2014-09-17 +================== + + * Terminate in progress response only on error + * Use `on-finished` to determine request status + +0.2.0 / 2014-09-03 +================== + + * Set `X-Content-Type-Options: nosniff` header + * deps: debug@~2.0.0 + +0.1.0 / 2014-07-16 +================== + + * Respond after request fully read + - prevents hung responses and socket hang ups + * deps: debug@1.0.4 + +0.0.3 / 2014-07-11 +================== + + * deps: debug@1.0.3 + - Add support for multiple wildcards in namespaces + +0.0.2 / 2014-06-19 +================== + + * Handle invalid status codes + +0.0.1 / 2014-06-05 +================== + + * deps: debug@1.0.2 + +0.0.0 / 2014-06-05 +================== + + * Extracted from connect/express diff --git a/node_modules/finalhandler/LICENSE b/node_modules/finalhandler/LICENSE new file mode 100644 index 0000000..6022106 --- /dev/null +++ b/node_modules/finalhandler/LICENSE @@ -0,0 +1,22 @@ +(The MIT License) + +Copyright (c) 2014-2022 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/finalhandler/README.md b/node_modules/finalhandler/README.md new file mode 100644 index 0000000..6244a13 --- /dev/null +++ b/node_modules/finalhandler/README.md @@ -0,0 +1,147 @@ +# finalhandler + +[![NPM Version][npm-image]][npm-url] +[![NPM Downloads][downloads-image]][downloads-url] +[![Node.js Version][node-image]][node-url] +[![Build Status][github-actions-ci-image]][github-actions-ci-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +Node.js function to invoke as the final step to respond to HTTP request. + +## Installation + +This is a [Node.js](https://nodejs.org/en/) module available through the +[npm registry](https://www.npmjs.com/). Installation is done using the +[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): + +```sh +$ npm install finalhandler +``` + +## API + +```js +var finalhandler = require('finalhandler') +``` + +### finalhandler(req, res, [options]) + +Returns function to be invoked as the final step for the given `req` and `res`. +This function is to be invoked as `fn(err)`. If `err` is falsy, the handler will +write out a 404 response to the `res`. If it is truthy, an error response will +be written out to the `res` or `res` will be terminated if a response has already +started. + +When an error is written, the following information is added to the response: + + * The `res.statusCode` is set from `err.status` (or `err.statusCode`). If + this value is outside the 4xx or 5xx range, it will be set to 500. + * The `res.statusMessage` is set according to the status code. + * The body will be the HTML of the status code message if `env` is + `'production'`, otherwise will be `err.stack`. + * Any headers specified in an `err.headers` object. + +The final handler will also unpipe anything from `req` when it is invoked. + +#### options.env + +By default, the environment is determined by `NODE_ENV` variable, but it can be +overridden by this option. + +#### options.onerror + +Provide a function to be called with the `err` when it exists. Can be used for +writing errors to a central location without excessive function generation. Called +as `onerror(err, req, res)`. + +## Examples + +### always 404 + +```js +var finalhandler = require('finalhandler') +var http = require('http') + +var server = http.createServer(function (req, res) { + var done = finalhandler(req, res) + done() +}) + +server.listen(3000) +``` + +### perform simple action + +```js +var finalhandler = require('finalhandler') +var fs = require('fs') +var http = require('http') + +var server = http.createServer(function (req, res) { + var done = finalhandler(req, res) + + fs.readFile('index.html', function (err, buf) { + if (err) return done(err) + res.setHeader('Content-Type', 'text/html') + res.end(buf) + }) +}) + +server.listen(3000) +``` + +### use with middleware-style functions + +```js +var finalhandler = require('finalhandler') +var http = require('http') +var serveStatic = require('serve-static') + +var serve = serveStatic('public') + +var server = http.createServer(function (req, res) { + var done = finalhandler(req, res) + serve(req, res, done) +}) + +server.listen(3000) +``` + +### keep log of all errors + +```js +var finalhandler = require('finalhandler') +var fs = require('fs') +var http = require('http') + +var server = http.createServer(function (req, res) { + var done = finalhandler(req, res, { onerror: logerror }) + + fs.readFile('index.html', function (err, buf) { + if (err) return done(err) + res.setHeader('Content-Type', 'text/html') + res.end(buf) + }) +}) + +server.listen(3000) + +function logerror (err) { + console.error(err.stack || err.toString()) +} +``` + +## License + +[MIT](LICENSE) + +[npm-image]: https://img.shields.io/npm/v/finalhandler.svg +[npm-url]: https://npmjs.org/package/finalhandler +[node-image]: https://img.shields.io/node/v/finalhandler.svg +[node-url]: https://nodejs.org/en/download +[coveralls-image]: https://img.shields.io/coveralls/pillarjs/finalhandler.svg +[coveralls-url]: https://coveralls.io/r/pillarjs/finalhandler?branch=master +[downloads-image]: https://img.shields.io/npm/dm/finalhandler.svg +[downloads-url]: https://npmjs.org/package/finalhandler +[github-actions-ci-image]: https://github.com/pillarjs/finalhandler/actions/workflows/ci.yml/badge.svg +[github-actions-ci-url]: https://github.com/pillarjs/finalhandler/actions/workflows/ci.yml diff --git a/node_modules/finalhandler/SECURITY.md b/node_modules/finalhandler/SECURITY.md new file mode 100644 index 0000000..6e23249 --- /dev/null +++ b/node_modules/finalhandler/SECURITY.md @@ -0,0 +1,25 @@ +# Security Policies and Procedures + +## Reporting a Bug + +The `finalhandler` team and community take all security bugs seriously. Thank +you for improving the security of Express. We appreciate your efforts and +responsible disclosure and will make every effort to acknowledge your +contributions. + +Report security bugs by emailing the current owner(s) of `finalhandler`. This +information can be found in the npm registry using the command +`npm owner ls finalhandler`. +If unsure or unable to get the information from the above, open an issue +in the [project issue tracker](https://github.com/pillarjs/finalhandler/issues) +asking for the current contact information. + +To ensure the timely response to your report, please ensure that the entirety +of the report is contained within the email body and not solely behind a web +link or an attachment. + +At least one owner will acknowledge your email within 48 hours, and will send a +more detailed response within 48 hours indicating the next steps in handling +your report. After the initial reply to your report, the owners will +endeavor to keep you informed of the progress towards a fix and full +announcement, and may ask for additional information or guidance. diff --git a/node_modules/finalhandler/index.js b/node_modules/finalhandler/index.js new file mode 100644 index 0000000..ec34be9 --- /dev/null +++ b/node_modules/finalhandler/index.js @@ -0,0 +1,341 @@ +/*! + * finalhandler + * Copyright(c) 2014-2022 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + * @private + */ + +var debug = require('debug')('finalhandler') +var encodeUrl = require('encodeurl') +var escapeHtml = require('escape-html') +var onFinished = require('on-finished') +var parseUrl = require('parseurl') +var statuses = require('statuses') +var unpipe = require('unpipe') + +/** + * Module variables. + * @private + */ + +var DOUBLE_SPACE_REGEXP = /\x20{2}/g +var NEWLINE_REGEXP = /\n/g + +/* istanbul ignore next */ +var defer = typeof setImmediate === 'function' + ? setImmediate + : function (fn) { process.nextTick(fn.bind.apply(fn, arguments)) } +var isFinished = onFinished.isFinished + +/** + * Create a minimal HTML document. + * + * @param {string} message + * @private + */ + +function createHtmlDocument (message) { + var body = escapeHtml(message) + .replace(NEWLINE_REGEXP, '
') + .replace(DOUBLE_SPACE_REGEXP, '  ') + + return '\n' + + '\n' + + '\n' + + '\n' + + 'Error\n' + + '\n' + + '\n' + + '
' + body + '
\n' + + '\n' + + '\n' +} + +/** + * Module exports. + * @public + */ + +module.exports = finalhandler + +/** + * Create a function to handle the final response. + * + * @param {Request} req + * @param {Response} res + * @param {Object} [options] + * @return {Function} + * @public + */ + +function finalhandler (req, res, options) { + var opts = options || {} + + // get environment + var env = opts.env || process.env.NODE_ENV || 'development' + + // get error callback + var onerror = opts.onerror + + return function (err) { + var headers + var msg + var status + + // ignore 404 on in-flight response + if (!err && headersSent(res)) { + debug('cannot 404 after headers sent') + return + } + + // unhandled error + if (err) { + // respect status code from error + status = getErrorStatusCode(err) + + if (status === undefined) { + // fallback to status code on response + status = getResponseStatusCode(res) + } else { + // respect headers from error + headers = getErrorHeaders(err) + } + + // get error message + msg = getErrorMessage(err, status, env) + } else { + // not found + status = 404 + msg = 'Cannot ' + req.method + ' ' + encodeUrl(getResourceName(req)) + } + + debug('default %s', status) + + // schedule onerror callback + if (err && onerror) { + defer(onerror, err, req, res) + } + + // cannot actually respond + if (headersSent(res)) { + debug('cannot %d after headers sent', status) + if (req.socket) { + req.socket.destroy() + } + return + } + + // send response + send(req, res, status, headers, msg) + } +} + +/** + * Get headers from Error object. + * + * @param {Error} err + * @return {object} + * @private + */ + +function getErrorHeaders (err) { + if (!err.headers || typeof err.headers !== 'object') { + return undefined + } + + var headers = Object.create(null) + var keys = Object.keys(err.headers) + + for (var i = 0; i < keys.length; i++) { + var key = keys[i] + headers[key] = err.headers[key] + } + + return headers +} + +/** + * Get message from Error object, fallback to status message. + * + * @param {Error} err + * @param {number} status + * @param {string} env + * @return {string} + * @private + */ + +function getErrorMessage (err, status, env) { + var msg + + if (env !== 'production') { + // use err.stack, which typically includes err.message + msg = err.stack + + // fallback to err.toString() when possible + if (!msg && typeof err.toString === 'function') { + msg = err.toString() + } + } + + return msg || statuses.message[status] +} + +/** + * Get status code from Error object. + * + * @param {Error} err + * @return {number} + * @private + */ + +function getErrorStatusCode (err) { + // check err.status + if (typeof err.status === 'number' && err.status >= 400 && err.status < 600) { + return err.status + } + + // check err.statusCode + if (typeof err.statusCode === 'number' && err.statusCode >= 400 && err.statusCode < 600) { + return err.statusCode + } + + return undefined +} + +/** + * Get resource name for the request. + * + * This is typically just the original pathname of the request + * but will fallback to "resource" is that cannot be determined. + * + * @param {IncomingMessage} req + * @return {string} + * @private + */ + +function getResourceName (req) { + try { + return parseUrl.original(req).pathname + } catch (e) { + return 'resource' + } +} + +/** + * Get status code from response. + * + * @param {OutgoingMessage} res + * @return {number} + * @private + */ + +function getResponseStatusCode (res) { + var status = res.statusCode + + // default status code to 500 if outside valid range + if (typeof status !== 'number' || status < 400 || status > 599) { + status = 500 + } + + return status +} + +/** + * Determine if the response headers have been sent. + * + * @param {object} res + * @returns {boolean} + * @private + */ + +function headersSent (res) { + return typeof res.headersSent !== 'boolean' + ? Boolean(res._header) + : res.headersSent +} + +/** + * Send response. + * + * @param {IncomingMessage} req + * @param {OutgoingMessage} res + * @param {number} status + * @param {object} headers + * @param {string} message + * @private + */ + +function send (req, res, status, headers, message) { + function write () { + // response body + var body = createHtmlDocument(message) + + // response status + res.statusCode = status + + if (req.httpVersionMajor < 2) { + res.statusMessage = statuses.message[status] + } + + // remove any content headers + res.removeHeader('Content-Encoding') + res.removeHeader('Content-Language') + res.removeHeader('Content-Range') + + // response headers + setHeaders(res, headers) + + // security headers + res.setHeader('Content-Security-Policy', "default-src 'none'") + res.setHeader('X-Content-Type-Options', 'nosniff') + + // standard headers + res.setHeader('Content-Type', 'text/html; charset=utf-8') + res.setHeader('Content-Length', Buffer.byteLength(body, 'utf8')) + + if (req.method === 'HEAD') { + res.end() + return + } + + res.end(body, 'utf8') + } + + if (isFinished(req)) { + write() + return + } + + // unpipe everything from the request + unpipe(req) + + // flush the request + onFinished(req, write) + req.resume() +} + +/** + * Set response headers from an object. + * + * @param {OutgoingMessage} res + * @param {object} headers + * @private + */ + +function setHeaders (res, headers) { + if (!headers) { + return + } + + var keys = Object.keys(headers) + for (var i = 0; i < keys.length; i++) { + var key = keys[i] + res.setHeader(key, headers[key]) + } +} diff --git a/node_modules/finalhandler/package.json b/node_modules/finalhandler/package.json new file mode 100644 index 0000000..ce618dc --- /dev/null +++ b/node_modules/finalhandler/package.json @@ -0,0 +1,47 @@ +{ + "name": "finalhandler", + "description": "Node.js final http responder", + "version": "1.3.2", + "author": "Douglas Christopher Wilson ", + "license": "MIT", + "repository": "pillarjs/finalhandler", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "on-finished": "~2.4.1", + "parseurl": "~1.3.3", + "statuses": "~2.0.2", + "unpipe": "~1.0.0" + }, + "devDependencies": { + "eslint": "7.32.0", + "eslint-config-standard": "14.1.1", + "eslint-plugin-import": "2.26.0", + "eslint-plugin-markdown": "2.2.1", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-promise": "5.2.0", + "eslint-plugin-standard": "4.1.0", + "mocha": "10.0.0", + "nyc": "15.1.0", + "readable-stream": "2.3.6", + "safe-buffer": "5.2.1", + "supertest": "6.2.4" + }, + "files": [ + "LICENSE", + "HISTORY.md", + "SECURITY.md", + "index.js" + ], + "engines": { + "node": ">= 0.8" + }, + "scripts": { + "lint": "eslint .", + "test": "mocha --reporter spec --check-leaks test/", + "test-ci": "nyc --reporter=lcovonly --reporter=text npm test", + "test-cov": "nyc --reporter=html --reporter=text npm test", + "test-inspect": "mocha --reporter spec --inspect --inspect-brk test/" + } +} diff --git a/node_modules/fluent-ffmpeg/.vscode/settings.json b/node_modules/fluent-ffmpeg/.vscode/settings.json new file mode 100644 index 0000000..1589c44 --- /dev/null +++ b/node_modules/fluent-ffmpeg/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "ansible.python.interpreterPath": "/usr/bin/python", + "editor.defaultFormatter": "esbenp.prettier-vscode", + "[javascript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + } +} diff --git a/node_modules/fluent-ffmpeg/LICENSE b/node_modules/fluent-ffmpeg/LICENSE new file mode 100644 index 0000000..9d98a3d --- /dev/null +++ b/node_modules/fluent-ffmpeg/LICENSE @@ -0,0 +1,9 @@ +(The MIT License) + +Copyright (c) 2011-2015 The fluent-ffmpeg contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/fluent-ffmpeg/Makefile b/node_modules/fluent-ffmpeg/Makefile new file mode 100644 index 0000000..53ad230 --- /dev/null +++ b/node_modules/fluent-ffmpeg/Makefile @@ -0,0 +1,20 @@ +REPORTER = spec +MOCHA = node_modules/.bin/mocha + +test: + @NODE_ENV=test $(MOCHA) --require should --reporter $(REPORTER) + +test-colors: + @NODE_ENV=test $(MOCHA) --require should --reporter $(REPORTER) --colors + +publish: + @npm version patch -m "version bump" + @npm publish + +JSDOC = node_modules/.bin/jsdoc +JSDOC_CONF = tools/jsdoc-conf.json + +doc: + $(JSDOC) --configure $(JSDOC_CONF) + +.PHONY: test test-colors publish doc \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/OLD/README.md b/node_modules/fluent-ffmpeg/OLD/README.md new file mode 100644 index 0000000..36e0e9a --- /dev/null +++ b/node_modules/fluent-ffmpeg/OLD/README.md @@ -0,0 +1,1479 @@ +# Fluent ffmpeg-API for node.js + +[![Coverage Status](https://coveralls.io/repos/github/fluent-ffmpeg/node-fluent-ffmpeg/badge.svg?branch=master)](https://coveralls.io/github/fluent-ffmpeg/node-fluent-ffmpeg?branch=master) +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ffluent-ffmpeg%2Fnode-fluent-ffmpeg.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Ffluent-ffmpeg%2Fnode-fluent-ffmpeg?ref=badge_shield) + +> **Fluent-ffmpeg is looking for new maintainers** +> More details [on the wiki](https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/wiki/Looking-for-a-new-maintainer) + +This library abstracts the complex command-line usage of ffmpeg into a fluent, easy to use node.js module. In order to be able to use this module, make sure you have [ffmpeg](http://www.ffmpeg.org) installed on your system (including all necessary encoding libraries like libmp3lame or libx264). + +> This is the documentation for fluent-ffmpeg 2.x. +> You can still access the code and documentation for fluent-ffmpeg 1.7 [here](https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/tree/1.x). + +## Installation + +Via npm: + +```sh +$ npm install fluent-ffmpeg +``` + +Or as a submodule: + +```sh +$ git submodule add git://github.com/schaermu/node-fluent-ffmpeg.git vendor/fluent-ffmpeg +``` + +## Usage + +You will find a lot of usage examples (including a real-time streaming example using [flowplayer](http://www.flowplayer.org) and [express](https://github.com/visionmedia/express)!) in the `examples` folder. + +### Prerequisites + +#### ffmpeg and ffprobe + +fluent-ffmpeg requires ffmpeg >= 0.9 to work. It may work with previous versions but several features won't be available (and the library is not tested with lower versions anylonger). + +If the `FFMPEG_PATH` environment variable is set, fluent-ffmpeg will use it as the full path to the `ffmpeg` executable. Otherwise, it will attempt to call `ffmpeg` directly (so it should be in your `PATH`). You must also have ffprobe installed (it comes with ffmpeg in most distributions). Similarly, fluent-ffmpeg will use the `FFPROBE_PATH` environment variable if it is set, otherwise it will attempt to call it in the `PATH`. + +**Windows users**: most probably ffmpeg and ffprobe will _not_ be in your `%PATH`, so you _must_ set `%FFMPEG_PATH` and `%FFPROBE_PATH`. + +#### flvtool2 or flvmeta + +If you intend to encode FLV videos, you must have either flvtool2 or flvmeta installed and in your `PATH` or fluent-ffmpeg won't be able to produce streamable output files. If you set either the `FLVTOOL2_PATH` or `FLVMETA_PATH`, fluent-ffmpeg will try to use it instead of searching in the `PATH`. + +#### Setting binary paths manually + +Alternatively, you may set the ffmpeg, ffprobe and flvtool2/flvmeta binary paths manually by using the following API commands: + +- **Ffmpeg.setFfmpegPath(path)** Argument `path` is a string with the full path to the ffmpeg binary. +- **Ffmpeg.setFfprobePath(path)** Argument `path` is a string with the full path to the ffprobe binary. +- **Ffmpeg.setFlvtoolPath(path)** Argument `path` is a string with the full path to the flvtool2 or flvmeta binary. + +### Creating an FFmpeg command + +The fluent-ffmpeg module returns a constructor that you can use to instanciate FFmpeg commands. + +```js +var FfmpegCommand = require('fluent-ffmpeg') +var command = new FfmpegCommand() +``` + +You can also use the constructor without the `new` operator. + +```js +var ffmpeg = require('fluent-ffmpeg') +var command = ffmpeg() +``` + +You may pass an input file name or readable stream, a configuration object, or both to the constructor. + +```js +var command = ffmpeg('/path/to/file.avi'); +var command = ffmpeg(fs.createReadStream('/path/to/file.avi')); +var command = ffmpeg({ option: "value", ... }); +var command = ffmpeg('/path/to/file.avi', { option: "value", ... }); +``` + +The following options are available: + +- `source`: input file name or readable stream (ignored if an input file is passed to the constructor) +- `timeout`: ffmpeg timeout in seconds (defaults to no timeout) +- `preset` or `presets`: directory to load module presets from (defaults to the `lib/presets` directory in fluent-ffmpeg tree) +- `niceness` or `priority`: ffmpeg niceness value, between -20 and 20; ignored on Windows platforms (defaults to 0) +- `logger`: logger object with `debug()`, `info()`, `warn()` and `error()` methods (defaults to no logging) +- `stdoutLines`: maximum number of lines from ffmpeg stdout/stderr to keep in memory (defaults to 100, use 0 for unlimited storage) + +### Specifying inputs + +You can add any number of inputs to an Ffmpeg command. An input can be: + +- a file name (eg. `/path/to/file.avi`); +- an image pattern (eg. `/path/to/frame%03d.png`); +- a readable stream; only one input stream may be used for a command, but you can use both an input stream and one or several file names. + +```js +// Note that all fluent-ffmpeg methods are chainable +ffmpeg('/path/to/input1.avi') + .input('/path/to/input2.avi') + .input(fs.createReadStream('/path/to/input3.avi')) + +// Passing an input to the constructor is the same as calling .input() +ffmpeg().input('/path/to/input1.avi').input('/path/to/input2.avi') + +// Most methods have several aliases, here you may use addInput or mergeAdd instead +ffmpeg().addInput('/path/to/frame%02d.png').addInput('/path/to/soundtrack.mp3') + +ffmpeg().mergeAdd('/path/to/input1.avi').mergeAdd('/path/to/input2.avi') +``` + +### Input options + +The following methods enable passing input-related options to ffmpeg. Each of these methods apply on the last input added (including the one passed to the constructor, if any). You must add an input before calling those, or an error will be thrown. + +#### inputFormat(format): specify input format + +**Aliases**: `fromFormat()`, `withInputFormat()`. + +This is only useful for raw inputs, as ffmpeg can determine the input format automatically. + +```js +ffmpeg() + .input('/dev/video0') + .inputFormat('mov') + .input('/path/to/file.avi') + .inputFormat('avi') +``` + +Fluent-ffmpeg checks for format availability before actually running the command, and throws an error when a specified input format is not available. + +#### inputFPS(fps): specify input framerate + +**Aliases**: `withInputFps()`, `withInputFPS()`, `withFpsInput()`, `withFPSInput()`, `inputFps()`, `fpsInput()`, `FPSInput()`. + +This is only valid for raw inputs, as ffmpeg can determine the input framerate automatically. + +```js +ffmpeg('/dev/video0').inputFPS(29.7) +``` + +#### native(): read input at native framerate + +**Aliases**: `nativeFramerate()`, `withNativeFramerate()`. + +```js +ffmpeg('/path/to/file.avi').native() +``` + +#### seekInput(time): set input start time + +**Alias**: `setStartTime()`. + +Seeks an input and only start decoding at given time offset. The `time` argument may be a number (in seconds) or a timestamp string (with format `[[hh:]mm:]ss[.xxx]`). + +```js +ffmpeg('/path/to/file.avi').seekInput(134.5) +ffmpeg('/path/to/file.avi').seekInput('2:14.500') +``` + +#### loop([duration]): loop over input + +```js +ffmpeg('/path/to/file.avi').loop() +ffmpeg('/path/to/file.avi').loop(134.5) +ffmpeg('/path/to/file.avi').loop('2:14.500') +``` + +#### inputOptions(option...): add custom input options + +**Aliases**: `inputOption()`, `addInputOption()`, `addInputOptions()`, `withInputOption()`, `withInputOptions()`. + +This method allows passing any input-related option to ffmpeg. You can call it with a single argument to pass a single option, optionally with a space-separated parameter: + +```js +/* Single option */ +ffmpeg('/path/to/file.avi').inputOptions('-someOption') + +/* Single option with parameter */ +ffmpeg('/dev/video0').inputOptions('-r 24') +``` + +You may also pass multiple options at once by passing an array to the method: + +```js +ffmpeg('/path/to/file.avi').inputOptions([ + '-option1', + '-option2 param2', + '-option3', + '-option4 param4' +]) +``` + +Finally, you may also directly pass command line tokens as separate arguments to the method: + +```js +ffmpeg('/path/to/file.avi').inputOptions( + '-option1', + '-option2', + 'param2', + '-option3', + '-option4', + 'param4' +) +``` + +### Audio options + +The following methods change the audio stream(s) in the produced output. + +#### noAudio(): disable audio altogether + +**Aliases**: `withNoAudio()`. + +Disables audio in the output and remove any previously set audio option. + +```js +ffmpeg('/path/to/file.avi').noAudio() +``` + +#### audioCodec(codec): set audio codec + +**Aliases**: `withAudioCodec()`. + +```js +ffmpeg('/path/to/file.avi').audioCodec('libmp3lame') +``` + +Fluent-ffmpeg checks for codec availability before actually running the command, and throws an error when a specified audio codec is not available. + +#### audioBitrate(bitrate): set audio bitrate + +**Aliases**: `withAudioBitrate()`. + +Sets the audio bitrate in kbps. The `bitrate` parameter may be a number or a string with an optional `k` suffix. This method is used to enforce a constant bitrate; use `audioQuality()` to encode using a variable bitrate. + +```js +ffmpeg('/path/to/file.avi').audioBitrate(128) +ffmpeg('/path/to/file.avi').audioBitrate('128') +ffmpeg('/path/to/file.avi').audioBitrate('128k') +``` + +#### audioChannels(count): set audio channel count + +**Aliases**: `withAudioChannels()`. + +```js +ffmpeg('/path/to/file.avi').audioChannels(2) +``` + +#### audioFrequency(freq): set audio frequency + +**Aliases**: `withAudioFrequency()`. + +The `freq` parameter specifies the audio frequency in Hz. + +```js +ffmpeg('/path/to/file.avi').audioFrequency(22050) +``` + +#### audioQuality(quality): set audio quality + +**Aliases**: `withAudioQuality()`. + +This method fixes a quality factor for the audio codec (VBR encoding). The quality scale depends on the actual codec used. + +```js +ffmpeg('/path/to/file.avi').audioCodec('libmp3lame').audioQuality(0) +``` + +#### audioFilters(filter...): add custom audio filters + +**Aliases**: `audioFilter()`, `withAudioFilter()`, `withAudioFilters()`. + +This method enables adding custom audio filters. You may add multiple filters at once by passing either several arguments or an array. See the Ffmpeg documentation for available filters and their syntax. + +Each filter pased to this method can be either a filter string (eg. `volume=0.5`) or a filter specification object with the following keys: + +- `filter`: filter name +- `options`: optional; either an option string for the filter (eg. `n=-50dB:d=5`), an options array for unnamed options (eg. `['-50dB', 5]`) or an object mapping option names to values (eg. `{ n: '-50dB', d: 5 }`). When `options` is not specified, the filter will be added without any options. + +```js +ffmpeg('/path/to/file.avi') + .audioFilters('volume=0.5') + .audioFilters('silencedetect=n=-50dB:d=5'); + +ffmpeg('/path/to/file.avi') + .audioFilters('volume=0.5', 'silencedetect=n=-50dB:d=5'); + +ffmpeg('/path/to/file.avi') + .audioFilters(['volume=0.5', 'silencedetect=n=-50dB:d=5']); + +ffmpeg('/path/to/file.avi') + .audioFilters([ + { + filter: 'volume', + options: '0.5' + }, + { + filter: 'silencedetect', + options: 'n=-50dB:d=5' + } + ]); + +ffmpeg('/path/to/file.avi') + .audioFilters( + { + filter: 'volume', + options: ['0.5'] + }, + { + filter: 'silencedetect', + options: { n: '-50dB', d: 5 } + } + ]); +``` + +### Video options + +The following methods change the video stream(s) in the produced output. + +#### noVideo(): disable video altogether + +**Aliases**: `withNoVideo()`. + +This method disables video output and removes any previously set video option. + +```js +ffmpeg('/path/to/file.avi').noVideo() +``` + +#### videoCodec(codec): set video codec + +**Aliases**: `withVideoCodec()`. + +```js +ffmpeg('/path/to/file.avi').videoCodec('libx264') +``` + +Fluent-ffmpeg checks for codec availability before actually running the command, and throws an error when a specified video codec is not available. + +#### videoBitrate(bitrate[, constant=false]): set video bitrate + +**Aliases**: `withVideoBitrate()`. + +Sets the target video bitrate in kbps. The `bitrate` argument may be a number or a string with an optional `k` suffix. The `constant` argument specifies whether a constant bitrate should be enforced (defaults to false). + +Keep in mind that, depending on the codec used, enforcing a constant bitrate often comes at the cost of quality. The best way to have a constant video bitrate without losing too much quality is to use 2-pass encoding (see Fffmpeg documentation). + +```js +ffmpeg('/path/to/file.avi').videoBitrate(1000) +ffmpeg('/path/to/file.avi').videoBitrate('1000') +ffmpeg('/path/to/file.avi').videoBitrate('1000k') +ffmpeg('/path/to/file.avi').videoBitrate('1000k', true) +``` + +#### videoFilters(filter...): add custom video filters + +**Aliases**: `videoFilter()`, `withVideoFilter()`, `withVideoFilters()`. + +This method enables adding custom video filters. You may add multiple filters at once by passing either several arguments or an array. See the Ffmpeg documentation for available filters and their syntax. + +Each filter pased to this method can be either a filter string (eg. `fade=in:0:30`) or a filter specification object with the following keys: + +- `filter`: filter name +- `options`: optional; either an option string for the filter (eg. `in:0:30`), an options array for unnamed options (eg. `['in', 0, 30]`) or an object mapping option names to values (eg. `{ t: 'in', s: 0, n: 30 }`). When `options` is not specified, the filter will be added without any options. + +```js +ffmpeg('/path/to/file.avi') + .videoFilters('fade=in:0:30') + .videoFilters('pad=640:480:0:40:violet') + +ffmpeg('/path/to/file.avi').videoFilters( + 'fade=in:0:30', + 'pad=640:480:0:40:violet' +) + +ffmpeg('/path/to/file.avi').videoFilters([ + 'fade=in:0:30', + 'pad=640:480:0:40:violet' +]) + +ffmpeg('/path/to/file.avi').videoFilters([ + { + filter: 'fade', + options: 'in:0:30' + }, + { + filter: 'pad', + options: '640:480:0:40:violet' + } +]) + +ffmpeg('/path/to/file.avi').videoFilters( + { + filter: 'fade', + options: ['in', 0, 30] + }, + { + filter: 'filter2', + options: { w: 640, h: 480, x: 0, y: 40, color: 'violet' } + } +) +``` + +#### fps(fps): set output framerate + +**Aliases**: `withOutputFps()`, `withOutputFPS()`, `withFpsOutput()`, `withFPSOutput()`, `withFps()`, `withFPS()`, `outputFPS()`, `outputFps()`, `fpsOutput()`, `FPSOutput()`, `FPS()`. + +```js +ffmpeg('/path/to/file.avi').fps(29.7) +``` + +#### frames(count): specify frame count + +**Aliases**: `takeFrames()`, `withFrames()`. + +Set ffmpeg to only encode a certain number of frames. + +```js +ffmpeg('/path/to/file.avi').frames(240) +``` + +### Video frame size options + +The following methods enable resizing the output video frame size. They all work together to generate the appropriate video filters. + +#### size(size): set output frame size + +**Aliases**: `videoSize()`, `withSize()`. + +This method sets the output frame size. The `size` argument may have one of the following formats: + +- `640x480`: set a fixed output frame size. Unless `autopad()` is called, this may result in the video being stretched or squeezed to fit the requested size. +- `640x?`: set a fixed width and compute height automatically. If `aspect()` is also called, it is used to compute video height; otherwise it is computed so that the input aspect ratio is preserved. +- `?x480`: set a fixed height and compute width automatically. If `aspect()` is also called, it is used to compute video width; otherwise it is computed so that the input aspect ratio is preserved. +- `50%`: rescale both width and height to the given percentage. Aspect ratio is always preserved. + +Note that for compatibility with some codecs, computed dimensions are always rounded down to multiples of 2. + +```js +ffmpeg('/path/to/file.avi').size('640x480') +ffmpeg('/path/to/file.avi').size('640x?') +ffmpeg('/path/to/file.avi').size('640x?').aspect('4:3') +ffmpeg('/path/to/file.avi').size('50%') +``` + +#### aspect(aspect): set output frame aspect ratio + +**Aliases**: `withAspect()`, `withAspectRatio()`, `setAspect()`, `setAspectRatio()`, `aspectRatio()`. + +This method enforces a specific output aspect ratio. The `aspect` argument may either be a number or a `X:Y` string. + +Note that calls to `aspect()` are ignored when `size()` has been called with a fixed width and height or a percentage, and also when `size()` has not been called at all. + +```js +ffmpeg('/path/to/file.avi').size('640x?').aspect('4:3') +ffmpeg('/path/to/file.avi').size('640x?').aspect(1.33333) +``` + +#### autopad([color='black']): enable auto-padding the output video + +**Aliases**: `applyAutopadding()`, `applyAutoPadding()`, `applyAutopad()`, `applyAutoPad()`, `withAutopadding()`, `withAutoPadding()`, `withAutopad()`, `withAutoPad()`, `autoPad()`. + +This method enables applying auto-padding to the output video. The `color` parameter specifies which color to use for padding, and must be a color code or name supported by ffmpeg (defaults to 'black'). + +The behaviour of this method depends on calls made to other video size methods: + +- when `size()` has been called with a percentage or has not been called, it is ignored; +- when `size()` has been called with `WxH`, it adds padding so that the input aspect ratio is kept; +- when `size()` has been called with either `Wx?` or `?xH`, padding is only added if `aspect()` was called (otherwise the output dimensions are computed from the input aspect ratio and padding is not needed). + +```js +// No size specified, autopad() is ignored +ffmpeg('/path/to/file.avi').autopad() + +// Adds padding to keep original aspect ratio. +// - with a 640x400 input, 40 pixels of padding are added on both sides +// - with a 600x480 input, 20 pixels of padding are added on top and bottom +// - with a 320x200 input, video is scaled up to 640x400 and 40px of padding +// is added on both sides +// - with a 320x240 input, video is scaled up to 640x480 and and no padding +// is needed +ffmpeg('/path/to/file.avi').size('640x480').autopad() +ffmpeg('/path/to/file.avi').size('640x480').autopad('white') +ffmpeg('/path/to/file.avi').size('640x480').autopad('#35A5FF') + +// Size computed from input, autopad() is ignored +ffmpeg('/path/to/file.avi').size('50%').autopad() +ffmpeg('/path/to/file.avi').size('640x?').autopad() +ffmpeg('/path/to/file.avi').size('?x480').autopad() + +// Calling .size('640x?').aspect('4:3') is similar to calling .size('640x480') +// - with a 640x400 input, 40 pixels of padding are added on both sides +// - with a 600x480 input, 20 pixels of padding are added on top and bottom +// - with a 320x200 input, video is scaled up to 640x400 and 40px of padding +// is added on both sides +// - with a 320x240 input, video is scaled up to 640x480 and and no padding +// is needed +ffmpeg('/path/to/file.avi').size('640x?').aspect('4:3').autopad() +ffmpeg('/path/to/file.avi').size('640x?').aspect('4:3').autopad('white') +ffmpeg('/path/to/file.avi').size('640x?').aspect('4:3').autopad('#35A5FF') + +// Calling .size('?x480').aspect('4:3') is similar to calling .size('640x480') +ffmpeg('/path/to/file.avi').size('?x480').aspect('4:3').autopad() +ffmpeg('/path/to/file.avi').size('?x480').aspect('4:3').autopad('white') +ffmpeg('/path/to/file.avi').size('?x480').aspect('4:3').autopad('#35A5FF') +``` + +For compatibility with previous fluent-ffmpeg versions, this method also accepts an additional boolean first argument, which specifies whether to apply auto-padding. + +```js +ffmpeg('/path/to/file.avi').size('640x480').autopad(true) +ffmpeg('/path/to/file.avi').size('640x480').autopad(true, 'pink') +``` + +#### keepDAR(): force keeping display aspect ratio + +**Aliases**: `keepPixelAspect()`, `keepDisplayAspect()`, `keepDisplayAspectRatio()`. + +This method is useful when converting an input with non-square pixels to an output format that does not support non-square pixels (eg. most image formats). It rescales the input so that the display aspect ratio is the same. + +```js +ffmpeg('/path/to/file.avi').keepDAR() +``` + +### Specifying multiple outputs + +#### output(target[, options]): add an output to the command + +**Aliases**: `addOutput()`. + +Adds an output to the command. The `target` argument may be an output filename or a writable stream (but at most one output stream may be used with a single command). + +When `target` is a stream, an additional `options` object may be passed. If it is present, it will be passed ffmpeg output stream `pipe()` method. + +Adding an output switches the "current output" of the command, so that any fluent-ffmpeg method that applies to an output is indeed applied to the last output added. For backwards compatibility reasons, you may as well call those methods _before_ adding the first output (in which case they will apply to the first output when it is added). Methods that apply to an output are all non-input-related methods, except for `complexFilter()`, which is global. + +Also note that when calling `output()`, you should not use the `save()` or `stream()` (formerly `saveToFile()` and `writeToStream()`) methods, as they already add an output. Use the `run()` method to start processing. + +```js +var stream = fs.createWriteStream('outputfile.divx') + +ffmpeg('/path/to/file.avi').output('outputfile.mp4').output(stream) + +ffmpeg('/path/to/file.avi') + // You may pass a pipe() options object when using a stream + .output(stream, { end: true }) + +// Output-related methods apply to the last output added +ffmpeg('/path/to/file.avi') + .output('outputfile.mp4') + .audioCodec('libfaac') + .videoCodec('libx264') + .size('320x200') + + .output(stream) + .preset('divx') + .size('640x480') + +// Use the run() method to run commands with multiple outputs +ffmpeg('/path/to/file.avi') + .output('outputfile.mp4') + .output(stream) + .on('end', function () { + console.log('Finished processing') + }) + .run() +``` + +### Output options + +#### duration(time): set output duration + +**Aliases**: `withDuration()`, `setDuration()`. + +Forces ffmpeg to stop transcoding after a specific output duration. The `time` parameter may be a number (in seconds) or a timestamp string (with format `[[hh:]mm:]ss[.xxx]`). + +```js +ffmpeg('/path/to/file.avi').duration(134.5) +ffmpeg('/path/to/file.avi').duration('2:14.500') +``` + +#### seek(time): seek output + +**Aliases**: `seekOutput()`. + +Seeks streams before encoding them into the output. This is different from calling `seekInput()` in that the offset will only apply to one output. This is also slower, as skipped frames will still be decoded (but dropped). + +The `time` argument may be a number (in seconds) or a timestamp string (with format `[[hh:]mm:]ss[.xxx]`). + +```js +ffmpeg('/path/to/file.avi') + .seekInput('1:00') + + .output('from-1m30s.avi') + .seek(30) + + .output('from-1m40s.avi') + .seek('0:40') +``` + +#### format(format): set output format + +**Aliases**: `withOutputFormat()`, `toFormat()`, `outputFormat()`. + +```js +ffmpeg('/path/to/file.avi').format('flv') +``` + +#### flvmeta(): update FLV metadata after transcoding + +**Aliases**: `updateFlvMetadata()`. + +Calling this method makes fluent-ffmpeg run `flvmeta` or `flvtool2` on the output file to add FLV metadata and make files streamable. It does not work when outputting to a stream, and is only useful when outputting to FLV format. + +```js +ffmpeg('/path/to/file.avi').flvmeta().format('flv') +``` + +#### outputOptions(option...): add custom output options + +**Aliases**: `outputOption()`, `addOutputOption()`, `addOutputOptions()`, `withOutputOption()`, `withOutputOptions()`, `addOption()`, `addOptions()`. + +This method allows passing any output-related option to ffmpeg. You can call it with a single argument to pass a single option, optionally with a space-separated parameter: + +```js +/* Single option */ +ffmpeg('/path/to/file.avi').outputOptions('-someOption') + +/* Single option with parameter */ +ffmpeg('/dev/video0').outputOptions('-r 24') +``` + +You may also pass multiple options at once by passing an array to the method: + +```js +ffmpeg('/path/to/file.avi').outputOptions([ + '-option1', + '-option2 param2', + '-option3', + '-option4 param4' +]) +``` + +Finally, you may also directly pass command line tokens as separate arguments to the method: + +```js +ffmpeg('/path/to/file.avi').outputOptions( + '-option1', + '-option2', + 'param2', + '-option3', + '-option4', + 'param4' +) +``` + +### Miscellaneous options + +#### preset(preset): use fluent-ffmpeg preset + +**Aliases**: `usingPreset()`. + +There are two kinds of presets supported by fluent-ffmpeg. The first one is preset modules; to use those, pass the preset name as the `preset` argument. Preset modules are loaded from the directory specified by the `presets` constructor option (defaults to the `lib/presets` fluent-ffmpeg subdirectory). + +```js +// Uses /lib/presets/divx.js +ffmpeg('/path/to/file.avi').preset('divx') + +// Uses /my/presets/foo.js +ffmpeg('/path/to/file.avi', { presets: '/my/presets' }).preset('foo') +``` + +Preset modules must export a `load()` function that takes an FfmpegCommand as an argument. fluent-ffmpeg comes with the following preset modules preinstalled: + +- `divx` +- `flashvideo` +- `podcast` + +Here is the code from the included `divx` preset as an example: + +```js +exports.load = function (ffmpeg) { + ffmpeg + .format('avi') + .videoBitrate('1024k') + .videoCodec('mpeg4') + .size('720x?') + .audioBitrate('128k') + .audioChannels(2) + .audioCodec('libmp3lame') + .outputOptions(['-vtag DIVX']) +} +``` + +The second kind of preset is preset functions. To use those, pass a function which takes an FfmpegCommand as a parameter. + +```js +function myPreset(command) { + command.format('avi').size('720x?') +} + +ffmpeg('/path/to/file.avi').preset(myPreset) +``` + +#### complexFilter(filters[, map]): set complex filtergraph + +**Aliases**: `filterGraph()` + +The `complexFilter()` method enables setting a complex filtergraph for a command. It expects a filter specification (or a filter specification array) and an optional output mapping parameter as arguments. + +Filter specifications may be either plain ffmpeg filter strings (eg. `split=3[a][b][c]`) or objects with the following keys: + +- `filter`: filter name +- `options`: optional; either an option string for the filter (eg. `in:0:30`), an options array for unnamed options (eg. `['in', 0, 30]`) or an object mapping option names to values (eg. `{ t: 'in', s: 0, n: 30 }`). When `options` is not specified, the filter will be added without any options. +- `inputs`: optional; input stream specifier(s) for the filter. The value may be either a single stream specifier string or an array of stream specifiers. Each specifier can be optionally enclosed in square brackets. When input streams are not specified, ffmpeg will use the first unused streams of the correct type. +- `outputs`: optional; output stream specifier(s) for the filter. The value may be either a single stream specifier string or an array of stream specifiers. Each specifier can be optionally enclosed in square brackets. + +The output mapping parameter specifies which stream(s) to include in the output from the filtergraph. It may be either a single stream specifier string or an array of stream specifiers. Each specifier can be optionally enclosed in square brackets. When this parameter is not present, ffmpeg will default to saving all unused outputs to the output file. + +Note that only one complex filtergraph may be set on a given command. Calling `complexFilter()` again will override any previously set filtergraph, but you can set as many filters as needed in a single call. + +```js +ffmpeg('/path/to/file.avi').complexFilter( + [ + // Rescale input stream into stream 'rescaled' + 'scale=640:480[rescaled]', + + // Duplicate rescaled stream 3 times into streams a, b, and c + { + filter: 'split', + options: '3', + inputs: 'rescaled', + outputs: ['a', 'b', 'c'] + }, + + // Create stream 'red' by removing green and blue channels from stream 'a' + { + filter: 'lutrgb', + options: { g: 0, b: 0 }, + inputs: 'a', + outputs: 'red' + }, + + // Create stream 'green' by removing red and blue channels from stream 'b' + { + filter: 'lutrgb', + options: { r: 0, b: 0 }, + inputs: 'b', + outputs: 'green' + }, + + // Create stream 'blue' by removing red and green channels from stream 'c' + { + filter: 'lutrgb', + options: { r: 0, g: 0 }, + inputs: 'c', + outputs: 'blue' + }, + + // Pad stream 'red' to 3x width, keeping the video on the left, + // and name output 'padded' + { + filter: 'pad', + options: { w: 'iw*3', h: 'ih' }, + inputs: 'red', + outputs: 'padded' + }, + + // Overlay 'green' onto 'padded', moving it to the center, + // and name output 'redgreen' + { + filter: 'overlay', + options: { x: 'w', y: 0 }, + inputs: ['padded', 'green'], + outputs: 'redgreen' + }, + + // Overlay 'blue' onto 'redgreen', moving it to the right + { + filter: 'overlay', + options: { x: '2*w', y: 0 }, + inputs: ['redgreen', 'blue'], + outputs: 'output' + } + ], + 'output' +) +``` + +### Setting event handlers + +Before actually running a command, you may want to set event listeners on it to be notified when it's done. The following events are available: + +#### 'start': ffmpeg process started + +The `start` event is emitted just after ffmpeg has been spawned. It is emitted with the full command line used as an argument. + +```js +ffmpeg('/path/to/file.avi').on('start', function (commandLine) { + console.log('Spawned Ffmpeg with command: ' + commandLine) +}) +``` + +#### 'codecData': input codec data available + +The `codecData` event is emitted when ffmpeg outputs codec information about its input streams. It is emitted with an object argument with the following keys: + +- `format`: input format +- `duration`: input duration +- `audio`: audio codec +- `audio_details`: audio encoding details +- `video`: video codec +- `video_details`: video encoding details + +```js +ffmpeg('/path/to/file.avi').on('codecData', function (data) { + console.log( + 'Input is ' + data.audio + ' audio ' + 'with ' + data.video + ' video' + ) +}) +``` + +#### 'progress': transcoding progress information + +The `progress` event is emitted every time ffmpeg reports progress information. It is emitted with an object argument with the following keys: + +- `frames`: total processed frame count +- `currentFps`: framerate at which FFmpeg is currently processing +- `currentKbps`: throughput at which FFmpeg is currently processing +- `targetSize`: current size of the target file in kilobytes +- `timemark`: the timestamp of the current frame in seconds +- `percent`: an estimation of the progress percentage + +Note that `percent` can be (very) inaccurate, as the only progress information fluent-ffmpeg gets from ffmpeg is the total number of frames written (and the corresponding duration). To estimate percentage, fluent-ffmpeg has to guess what the total output duration will be, and uses the first input added to the command to do so. In particular: + +- percentage is not available when using an input stream +- percentage may be wrong when using multiple inputs with different durations and the first one is not the longest + +```js +ffmpeg('/path/to/file.avi').on('progress', function (progress) { + console.log('Processing: ' + progress.percent + '% done') +}) +``` + +#### 'stderr': FFmpeg output + +The `stderr` event is emitted every time FFmpeg outputs a line to `stderr`. It is emitted with a string containing the line of stderr (minus trailing new line characters). + +```js +ffmpeg('/path/to/file.avi').on('stderr', function (stderrLine) { + console.log('Stderr output: ' + stderrLine) +}) +``` + +#### 'error': transcoding error + +The `error` event is emitted when an error occurs when running ffmpeg or when preparing its execution. It is emitted with an error object as an argument. If the error happened during ffmpeg execution, listeners will also receive two additional arguments containing ffmpegs stdout and stderr. + +If streams are used for input or output, any errors emitted from these streams will be passed through to this event, attached to the `error` as `inputStreamError` and `outputStreamError` for input and output streams respectively. + +**Warning**: you should _always_ set a handler for the `error` event, as node's default behaviour when an `error` event without any listeners is emitted is to output the error to the console and _terminate the program_. + +```js +ffmpeg('/path/to/file.avi').on('error', function (err, stdout, stderr) { + console.log('Cannot process video: ' + err.message) +}) +``` + +#### 'end': processing finished + +The `end` event is emitted when processing has finished. Listeners receive ffmpeg standard output and standard error as arguments, except when generating thumbnails (see below), in which case they receive an array of the generated filenames. + +```js +ffmpeg('/path/to/file.avi').on('end', function (stdout, stderr) { + console.log('Transcoding succeeded !') +}) +``` + +`stdout` is empty when the command outputs to a stream. Both `stdout` and `stderr` are limited by the `stdoutLines` option (defaults to 100 lines). + +### Starting FFmpeg processing + +#### save(filename): save the output to a file + +**Aliases**: `saveToFile()` + +Starts ffmpeg processing and saves the output to a file. + +```js +ffmpeg('/path/to/file.avi') + .videoCodec('libx264') + .audioCodec('libmp3lame') + .size('320x240') + .on('error', function (err) { + console.log('An error occurred: ' + err.message) + }) + .on('end', function () { + console.log('Processing finished !') + }) + .save('/path/to/output.mp4') +``` + +Note: the `save()` method is actually syntactic sugar for calling both `output()` and `run()`. + +#### pipe([stream], [options]): pipe the output to a writable stream + +**Aliases**: `stream()`, `writeToStream()`. + +Starts processing and pipes ffmpeg output to a writable stream. The `options` argument, if present, is passed to ffmpeg output stream's `pipe()` method (see nodejs documentation). + +```js +var outStream = fs.createWriteStream('/path/to/output.mp4') + +ffmpeg('/path/to/file.avi') + .videoCodec('libx264') + .audioCodec('libmp3lame') + .size('320x240') + .on('error', function (err) { + console.log('An error occurred: ' + err.message) + }) + .on('end', function () { + console.log('Processing finished !') + }) + .pipe(outStream, { end: true }) +``` + +When no `stream` argument is present, the `pipe()` method returns a PassThrough stream, which you can pipe to somewhere else (or just listen to events on). + +**Note**: this is only available with node >= 0.10. + +```js +var command = ffmpeg('/path/to/file.avi') + .videoCodec('libx264') + .audioCodec('libmp3lame') + .size('320x240') + .on('error', function (err) { + console.log('An error occurred: ' + err.message) + }) + .on('end', function () { + console.log('Processing finished !') + }) + +var ffstream = command.pipe() +ffstream.on('data', function (chunk) { + console.log('ffmpeg just wrote ' + chunk.length + ' bytes') +}) +``` + +Note: the `stream()` method is actually syntactic sugar for calling both `output()` and `run()`. + +#### run(): start processing + +**Aliases**: `exec()`, `execute()`. + +This method is mainly useful when producing multiple outputs (otherwise the `save()` or `stream()` methods are more straightforward). It starts processing with the specified outputs. + +**Warning**: do not use `run()` when calling other processing methods (eg. `save()`, `pipe()` or `screenshots()`). + +```js +ffmpeg('/path/to/file.avi') + .output('screenshot.png') + .noAudio() + .seek('3:00') + + .output('small.avi') + .audioCodec('copy') + .size('320x200') + + .output('big.avi') + .audioCodec('copy') + .size('640x480') + + .on('error', function (err) { + console.log('An error occurred: ' + err.message) + }) + .on('end', function () { + console.log('Processing finished !') + }) + .run() +``` + +#### mergeToFile(filename, tmpdir): concatenate multiple inputs + +Use the `input` and `mergeToFile` methods on a command to concatenate multiple inputs to a single output file. The `mergeToFile` needs a temporary folder as its second argument. + +```js +ffmpeg('/path/to/part1.avi') + .input('/path/to/part2.avi') + .input('/path/to/part2.avi') + .on('error', function (err) { + console.log('An error occurred: ' + err.message) + }) + .on('end', function () { + console.log('Merging finished !') + }) + .mergeToFile('/path/to/merged.avi', '/path/to/tempDir') +``` + +#### screenshots(options[, dirname]): generate thumbnails + +**Aliases**: `thumbnail()`, `thumbnails()`, `screenshot()`, `takeScreenshots()`. + +Use the `screenshots` method to extract one or several thumbnails and save them as PNG files. There are a few caveats with this implementation, though: + +- It will not work on input streams. +- Progress information reported by the `progress` event is not accurate. +- It doesn't interract well with filters. In particular, don't use the `size()` method to resize thumbnails, use the `size` option instead. + +The `options` argument is an object with the following keys: + +- `folder`: output folder for generated image files. Defaults to the current folder. +- `filename`: output filename pattern (see below). Defaults to "tn.png". +- `count`: specifies how many thumbnails to generate. When using this option, thumbnails are generated at regular intervals in the video (for example, when requesting 3 thumbnails, at 25%, 50% and 75% of the video length). `count` is ignored when `timemarks` or `timestamps` is specified. +- `timemarks` or `timestamps`: specifies an array of timestamps in the video where thumbnails should be taken. Each timestamp may be a number (in seconds), a percentage string (eg. "50%") or a timestamp string with format "hh:mm:ss.xxx" (where hours, minutes and milliseconds are both optional). +- `size`: specifies a target size for thumbnails (with the same format as the `.size()` method). **Note:** you should not use the `.size()` method when generating thumbnails. + +The `filename` option specifies a filename pattern for generated files. It may contain the following format tokens: + +- '%s': offset in seconds +- '%w': screenshot width +- '%h': screenshot height +- '%r': screenshot resolution (same as '%wx%h') +- '%f': input filename +- '%b': input basename (filename w/o extension) +- '%i': index of screenshot in timemark array (can be zero-padded by using it like `%000i`) + +If multiple timemarks are passed and no variable format token ('%s' or '%i') is specified in the filename pattern, `_%i` will be added automatically. + +When generating thumbnails, an additional `filenames` event is dispatched with an array of generated filenames as an argument. + +```js +ffmpeg('/path/to/video.avi') + .on('filenames', function (filenames) { + console.log('Will generate ' + filenames.join(', ')) + }) + .on('end', function () { + console.log('Screenshots taken') + }) + .screenshots({ + // Will take screens at 20%, 40%, 60% and 80% of the video + count: 4, + folder: '/path/to/output' + }) + +ffmpeg('/path/to/video.avi').screenshots({ + timestamps: [30.5, '50%', '01:10.123'], + filename: 'thumbnail-at-%s-seconds.png', + folder: '/path/to/output', + size: '320x240' +}) +``` + +### Controlling the FFmpeg process + +#### kill([signal='SIGKILL']): kill any running ffmpeg process + +This method sends `signal` (defaults to 'SIGKILL') to the ffmpeg process. It only has sense when processing has started. Sending a signal that terminates the process will result in the `error` event being emitted. + +```js +var command = ffmpeg('/path/to/video.avi') + .videoCodec('libx264') + .audioCodec('libmp3lame') + .on('start', function () { + // Send SIGSTOP to suspend ffmpeg + command.kill('SIGSTOP') + + doSomething(function () { + // Send SIGCONT to resume ffmpeg + command.kill('SIGCONT') + }) + }) + .save('/path/to/output.mp4') + +// Kill ffmpeg after 60 seconds anyway +setTimeout(function () { + command.on('error', function () { + console.log('Ffmpeg has been killed') + }) + + command.kill() +}, 60000) +``` + +#### renice([niceness=0]): change ffmpeg process priority + +This method alters the niceness (priority) value of any running ffmpeg process (if any) and any process spawned in the future. The `niceness` parameter may range from -20 (highest priority) to 20 (lowest priority) and defaults to 0 (which is the default process niceness on most \*nix systems). + +**Note**: this method is ineffective on Windows platforms. + +```js +// Set startup niceness +var command = ffmpeg('/path/to/file.avi').renice(5).save('/path/to/output.mp4') + +// Command takes too long, raise its priority +setTimeout(function () { + command.renice(-5) +}, 60000) +``` + +### Reading video metadata + +You can read metadata from any valid ffmpeg input file with the modules `ffprobe` method. + +```js +ffmpeg.ffprobe('/path/to/file.avi', function (err, metadata) { + console.dir(metadata) +}) +``` + +You may also call the ffprobe method on an FfmpegCommand to probe one of its input. You may pass a 0-based input number as a first argument to specify which input to read metadata from, otherwise the method will probe the last added input. + +```js +ffmpeg('/path/to/file1.avi') + .input('/path/to/file2.avi') + .ffprobe(function (err, data) { + console.log('file2 metadata:') + console.dir(data) + }) + +ffmpeg('/path/to/file1.avi') + .input('/path/to/file2.avi') + .ffprobe(0, function (err, data) { + console.log('file1 metadata:') + console.dir(data) + }) +``` + +**Warning:** ffprobe may be called with an input stream, but in this case _it will consume data from the stream_, and this data will no longer be available for ffmpeg. Using both ffprobe and a transcoding command on the same input stream will most likely fail unless the stream is a live stream. Only do this if you know what you're doing. + +The returned object is the same that is returned by running the following command from your shell (depending on your ffmpeg version you may have to replace `-of` with `-print_format`) : + +```sh +$ ffprobe -of json -show_streams -show_format /path/to/file.avi +``` + +It will contain information about the container (as a `format` key) and an array of streams (as a `stream` key). The format object and each stream object also contains metadata tags, depending on the format: + +```js +{ + "streams": [ + { + "index": 0, + "codec_name": "h264", + "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10", + "profile": "Constrained Baseline", + "codec_type": "video", + "codec_time_base": "1/48", + "codec_tag_string": "avc1", + "codec_tag": "0x31637661", + "width": 320, + "height": 180, + "has_b_frames": 0, + "sample_aspect_ratio": "1:1", + "display_aspect_ratio": "16:9", + "pix_fmt": "yuv420p", + "level": 13, + "r_frame_rate": "24/1", + "avg_frame_rate": "24/1", + "time_base": "1/24", + "start_pts": 0, + "start_time": "0.000000", + "duration_ts": 14315, + "duration": "596.458333", + "bit_rate": "702655", + "nb_frames": "14315", + "disposition": { + "default": 0, + "dub": 0, + "original": 0, + "comment": 0, + "lyrics": 0, + "karaoke": 0, + "forced": 0, + "hearing_impaired": 0, + "visual_impaired": 0, + "clean_effects": 0, + "attached_pic": 0 + }, + "tags": { + "creation_time": "1970-01-01 00:00:00", + "language": "und", + "handler_name": "\fVideoHandler" + } + }, + { + "index": 1, + "codec_name": "aac", + "codec_long_name": "AAC (Advanced Audio Coding)", + "codec_type": "audio", + "codec_time_base": "1/48000", + "codec_tag_string": "mp4a", + "codec_tag": "0x6134706d", + "sample_fmt": "fltp", + "sample_rate": "48000", + "channels": 2, + "bits_per_sample": 0, + "r_frame_rate": "0/0", + "avg_frame_rate": "0/0", + "time_base": "1/48000", + "start_pts": 0, + "start_time": "0.000000", + "duration_ts": 28619776, + "duration": "596.245333", + "bit_rate": "159997", + "nb_frames": "27949", + "disposition": { + "default": 0, + "dub": 0, + "original": 0, + "comment": 0, + "lyrics": 0, + "karaoke": 0, + "forced": 0, + "hearing_impaired": 0, + "visual_impaired": 0, + "clean_effects": 0, + "attached_pic": 0 + }, + "tags": { + "creation_time": "1970-01-01 00:00:00", + "language": "und", + "handler_name": "\fSoundHandler" + } + } + ], + "format": { + "filename": "http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4", + "nb_streams": 2, + "format_name": "mov,mp4,m4a,3gp,3g2,mj2", + "format_long_name": "QuickTime / MOV", + "start_time": "0.000000", + "duration": "596.459000", + "size": "64657027", + "bit_rate": "867211", + "tags": { + "major_brand": "isom", + "minor_version": "512", + "compatible_brands": "mp41", + "creation_time": "1970-01-01 00:00:00", + "title": "Big Buck Bunny", + "artist": "Blender Foundation", + "composer": "Blender Foundation", + "date": "2008", + "encoder": "Lavf52.14.0" + } + } +} +``` + +### Querying ffmpeg capabilities + +fluent-ffmpeg enables you to query your installed ffmpeg version for supported formats, codecs, encoders and filters. + +```js + +var Ffmpeg = require('fluent-ffmpeg'); + +Ffmpeg.getAvailableFormats(function(err, formats) { + console.log('Available formats:'); + console.dir(formats); +}); + +Ffmpeg.getAvailableCodecs(function(err, codecs) { + console.log('Available codecs:'); + console.dir(codecs); +}); + +Ffmpeg.getAvailableEncoders(function(err, encoders) { + console.log('Available encoders:'); + console.dir(encoders); +}); + +Ffmpeg.getAvailableFilters(function(err, filters) { + console.log("Available filters:"); + console.dir(filters); +}); + +// Those methods can also be called on commands +new Ffmpeg({ source: '/path/to/file.avi' }) + .getAvailableCodecs(...); +``` + +These methods pass an object to their callback with keys for each available format, codec or filter. + +The returned object for formats looks like: + +```js +{ + ... + mp4: { + description: 'MP4 (MPEG-4 Part 14)', + canDemux: false, + canMux: true + }, + ... +} +``` + +- `canDemux` indicates whether ffmpeg is able to extract streams from (demux) this format +- `canMux` indicates whether ffmpeg is able to write streams into (mux) this format + +The returned object for codecs looks like: + +```js +{ + ... + mp3: { + type: 'audio', + description: 'MP3 (MPEG audio layer 3)', + canDecode: true, + canEncode: true, + intraFrameOnly: false, + isLossy: true, + isLossless: false + }, + ... +} +``` + +- `type` indicates the codec type, either "audio", "video" or "subtitle" +- `canDecode` tells whether ffmpeg is able to decode streams using this codec +- `canEncode` tells whether ffmpeg is able to encode streams using this codec + +Depending on your ffmpeg version (or if you use avconv instead) other keys may be present, for example: + +- `directRendering` tells if codec can render directly in GPU RAM; useless for transcoding purposes +- `intraFrameOnly` tells if codec can only work with I-frames +- `isLossy` tells if codec can do lossy encoding/decoding +- `isLossless` tells if codec can do lossless encoding/decoding + +With some ffmpeg/avcodec versions, the description includes encoder/decoder mentions in the form "Foo codec (decoders: libdecodefoo) (encoders: libencodefoo)". In this case you will want to use those encoders/decoders instead (the codecs object returned by `getAvailableCodecs` will also include them). + +The returned object for encoders looks like: + +```js +{ + ... + libmp3lame: { + type: 'audio', + description: 'MP3 (MPEG audio layer 3) (codec mp3)', + frameMT: false, + sliceMT: false, + experimental: false, + drawHorizBand: false, + directRendering: false + }, + ... +} +``` + +- `type` indicates the encoder type, either "audio", "video" or "subtitle" +- `experimental` indicates whether the encoder is experimental. When using such a codec, fluent-ffmpeg automatically adds the '-strict experimental' flag. + +The returned object for filters looks like: + +```js +{ + ... + scale: { + description: 'Scale the input video to width:height size and/or convert the image format.', + input: 'video', + multipleInputs: false, + output: 'video', + multipleOutputs: false + }, + ... +} +``` + +- `input` tells the input type this filter operates on, one of "audio", "video" or "none". When "none", the filter likely generates output from nothing +- `multipleInputs` tells whether the filter can accept multiple inputs +- `output` tells the output type this filter generates, one of "audio", "video" or "none". When "none", the filter has no output (sink only) +- `multipleInputs` tells whether the filter can generate multiple outputs + +### Cloning an FfmpegCommand + +You can create clones of an FfmpegCommand instance by calling the `clone()` method. The clone will be an exact copy of the original at the time it has been called (same inputs, same options, same event handlers, etc.). This is mainly useful when you want to apply different processing options on the same input. + +Setting options, adding inputs or event handlers on a clone will not affect the original command. + +```js +// Create a command to convert source.avi to MP4 +var command = ffmpeg('/path/to/source.avi') + .audioCodec('libfaac') + .videoCodec('libx264') + .format('mp4') + +// Create a clone to save a small resized version +command.clone().size('320x200').save('/path/to/output-small.mp4') + +// Create a clone to save a medium resized version +command.clone().size('640x400').save('/path/to/output-medium.mp4') + +// Save a converted version with the original size +command.save('/path/to/output-original-size.mp4') +``` + +## Contributing + +Contributions in any form are highly encouraged and welcome! Be it new or improved presets, optimized streaming code or just some cleanup. So start forking! + +### Code contributions + +If you want to add new features or change the API, please submit an issue first to make sure no one else is already working on the same thing and discuss the implementation and API details with maintainers and users by creating an issue. When everything is settled down, you can submit a pull request. + +When fixing bugs, you can directly submit a pull request. + +Make sure to add tests for your features and bugfixes and update the documentation (see below) before submitting your code! + +### Documentation contributions + +You can directly submit pull requests for documentation changes. Make sure to regenerate the documentation before submitting (see below). + +### Updating the documentation + +When contributing API changes (new methods for example), be sure to update the README file and JSDoc comments in the code. fluent-ffmpeg comes with a plugin that enables two additional JSDoc tags: + +- `@aliases`: document method aliases + +```js +/** + * ... + * @method FfmpegCommand#myMethod + * @aliases myMethodAlias,myOtherMethodAlias + */ +``` + +- `@category`: set method category + +```js +/** + * ... + * @category Audio + */ +``` + +You can regenerate the JSDoc documentation by running the following command: + +```sh +$ make doc +``` + +To avoid polluting the commit history, make sure to only commit the regenerated JSDoc once and in a specific commit. + +### Running tests + +To run unit tests, first make sure you installed npm dependencies (run `npm install`). + +```sh +$ make test +``` + +Make sure your ffmpeg installation is up-to-date to prevent strange assertion errors because of missing codecs/bugfixes. + +## Main contributors + +- [enobrev](http://github.com/enobrev) +- [njoyard](http://github.com/njoyard) +- [sadikzzz](http://github.com/sadikzzz) +- [smremde](http://github.com/smremde) +- [spruce](http://github.com/spruce) +- [tagedieb](http://github.com/tagedieb) +- [tommadema](http://github.com/tommadema) +- [Weltschmerz](http://github.com/Weltschmerz) + +## License + +(The MIT License) + +Copyright (c) 2011 Stefan Schaermeli <schaermu@gmail.com> + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ffluent-ffmpeg%2Fnode-fluent-ffmpeg.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Ffluent-ffmpeg%2Fnode-fluent-ffmpeg?ref=badge_large) diff --git a/node_modules/fluent-ffmpeg/README.md b/node_modules/fluent-ffmpeg/README.md new file mode 100644 index 0000000..313f4f0 --- /dev/null +++ b/node_modules/fluent-ffmpeg/README.md @@ -0,0 +1,1489 @@ +# Fluent ffmpeg-API for node.js + +[![Coverage Status](https://coveralls.io/repos/github/fluent-ffmpeg/node-fluent-ffmpeg/badge.svg?branch=master)](https://coveralls.io/github/fluent-ffmpeg/node-fluent-ffmpeg?branch=master) +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ffluent-ffmpeg%2Fnode-fluent-ffmpeg.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Ffluent-ffmpeg%2Fnode-fluent-ffmpeg?ref=badge_shield) + +> **Fluent-ffmpeg is looking for new maintainers** +> More details [on the wiki](https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/wiki/Looking-for-a-new-maintainer) + +This library abstracts the complex command-line usage of ffmpeg into a fluent, easy to use node.js module. In order to be able to use this module, make sure you have [ffmpeg](http://www.ffmpeg.org) installed on your system (including all necessary encoding libraries like libmp3lame or libx264). + +> This is the documentation for fluent-ffmpeg 2.x. +> You can still access the code and documentation for fluent-ffmpeg 1.7 [here](https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/tree/1.x). + +## Installation + +Via npm: + +```sh +$ npm install fluent-ffmpeg +``` + +Or as a submodule: +```sh +$ git submodule add git://github.com/schaermu/node-fluent-ffmpeg.git vendor/fluent-ffmpeg +``` + + + +## Usage + +You will find a lot of usage examples (including a real-time streaming example using [flowplayer](http://www.flowplayer.org) and [express](https://github.com/visionmedia/express)!) in the `examples` folder. + + +### Prerequisites + +#### ffmpeg and ffprobe + +fluent-ffmpeg requires ffmpeg >= 0.9 to work. It may work with previous versions but several features won't be available (and the library is not tested with lower versions anylonger). + +If the `FFMPEG_PATH` environment variable is set, fluent-ffmpeg will use it as the full path to the `ffmpeg` executable. Otherwise, it will attempt to call `ffmpeg` directly (so it should be in your `PATH`). You must also have ffprobe installed (it comes with ffmpeg in most distributions). Similarly, fluent-ffmpeg will use the `FFPROBE_PATH` environment variable if it is set, otherwise it will attempt to call it in the `PATH`. + +Most features should work when using avconv and avprobe instead of ffmpeg and ffprobe, but they are not officially supported at the moment. + +**Windows users**: most probably ffmpeg and ffprobe will _not_ be in your `%PATH`, so you _must_ set `%FFMPEG_PATH` and `%FFPROBE_PATH`. + +**Debian/Ubuntu users**: the official repositories have the ffmpeg/ffprobe executable in the `libav-tools` package, and they are actually rebranded avconv/avprobe executables (avconv is a fork of ffmpeg). They should be mostly compatible, but should you encounter any issue, you may want to use the real ffmpeg instead. You can either compile it from source or find a pre-built .deb package at https://ffmpeg.org/download.html (For Ubuntu, the `ppa:mc3man/trusty-media` PPA provides recent builds). + +#### flvtool2 or flvmeta + +If you intend to encode FLV videos, you must have either flvtool2 or flvmeta installed and in your `PATH` or fluent-ffmpeg won't be able to produce streamable output files. If you set either the `FLVTOOL2_PATH` or `FLVMETA_PATH`, fluent-ffmpeg will try to use it instead of searching in the `PATH`. + +#### Setting binary paths manually + +Alternatively, you may set the ffmpeg, ffprobe and flvtool2/flvmeta binary paths manually by using the following API commands: + +* **Ffmpeg.setFfmpegPath(path)** Argument `path` is a string with the full path to the ffmpeg binary. +* **Ffmpeg.setFfprobePath(path)** Argument `path` is a string with the full path to the ffprobe binary. +* **Ffmpeg.setFlvtoolPath(path)** Argument `path` is a string with the full path to the flvtool2 or flvmeta binary. + + +### Creating an FFmpeg command + +The fluent-ffmpeg module returns a constructor that you can use to instanciate FFmpeg commands. + +```js +var FfmpegCommand = require('fluent-ffmpeg'); +var command = new FfmpegCommand(); +``` + +You can also use the constructor without the `new` operator. + +```js +var ffmpeg = require('fluent-ffmpeg'); +var command = ffmpeg(); +``` + +You may pass an input file name or readable stream, a configuration object, or both to the constructor. + +```js +var command = ffmpeg('/path/to/file.avi'); +var command = ffmpeg(fs.createReadStream('/path/to/file.avi')); +var command = ffmpeg({ option: "value", ... }); +var command = ffmpeg('/path/to/file.avi', { option: "value", ... }); +``` + +The following options are available: +* `source`: input file name or readable stream (ignored if an input file is passed to the constructor) +* `timeout`: ffmpeg timeout in seconds (defaults to no timeout) +* `preset` or `presets`: directory to load module presets from (defaults to the `lib/presets` directory in fluent-ffmpeg tree) +* `niceness` or `priority`: ffmpeg niceness value, between -20 and 20; ignored on Windows platforms (defaults to 0) +* `logger`: logger object with `debug()`, `info()`, `warn()` and `error()` methods (defaults to no logging) +* `stdoutLines`: maximum number of lines from ffmpeg stdout/stderr to keep in memory (defaults to 100, use 0 for unlimited storage) + + +### Specifying inputs + +You can add any number of inputs to an Ffmpeg command. An input can be: +* a file name (eg. `/path/to/file.avi`); +* an image pattern (eg. `/path/to/frame%03d.png`); +* a readable stream; only one input stream may be used for a command, but you can use both an input stream and one or several file names. + +```js +// Note that all fluent-ffmpeg methods are chainable +ffmpeg('/path/to/input1.avi') + .input('/path/to/input2.avi') + .input(fs.createReadStream('/path/to/input3.avi')); + +// Passing an input to the constructor is the same as calling .input() +ffmpeg() + .input('/path/to/input1.avi') + .input('/path/to/input2.avi'); + +// Most methods have several aliases, here you may use addInput or mergeAdd instead +ffmpeg() + .addInput('/path/to/frame%02d.png') + .addInput('/path/to/soundtrack.mp3'); + +ffmpeg() + .mergeAdd('/path/to/input1.avi') + .mergeAdd('/path/to/input2.avi'); +``` + + +### Input options + +The following methods enable passing input-related options to ffmpeg. Each of these methods apply on the last input added (including the one passed to the constructor, if any). You must add an input before calling those, or an error will be thrown. + +#### inputFormat(format): specify input format + +**Aliases**: `fromFormat()`, `withInputFormat()`. + +This is only useful for raw inputs, as ffmpeg can determine the input format automatically. + +```js +ffmpeg() + .input('/dev/video0') + .inputFormat('mov') + .input('/path/to/file.avi') + .inputFormat('avi'); +``` + +Fluent-ffmpeg checks for format availability before actually running the command, and throws an error when a specified input format is not available. + +#### inputFPS(fps): specify input framerate + +**Aliases**: `withInputFps()`, `withInputFPS()`, `withFpsInput()`, `withFPSInput()`, `inputFps()`, `fpsInput()`, `FPSInput()`. + +This is only valid for raw inputs, as ffmpeg can determine the input framerate automatically. + +```js +ffmpeg('/dev/video0').inputFPS(29.7); +``` + +#### native(): read input at native framerate + +**Aliases**: `nativeFramerate()`, `withNativeFramerate()`. + +```js +ffmpeg('/path/to/file.avi').native(); +``` + +#### seekInput(time): set input start time + +**Alias**: `setStartTime()`. + +Seeks an input and only start decoding at given time offset. The `time` argument may be a number (in seconds) or a timestamp string (with format `[[hh:]mm:]ss[.xxx]`). + +```js +ffmpeg('/path/to/file.avi').seekInput(134.5); +ffmpeg('/path/to/file.avi').seekInput('2:14.500'); +``` + +#### loop([duration]): loop over input + +```js +ffmpeg('/path/to/file.avi').loop(); +ffmpeg('/path/to/file.avi').loop(134.5); +ffmpeg('/path/to/file.avi').loop('2:14.500'); +``` + +#### inputOptions(option...): add custom input options + +**Aliases**: `inputOption()`, `addInputOption()`, `addInputOptions()`, `withInputOption()`, `withInputOptions()`. + +This method allows passing any input-related option to ffmpeg. You can call it with a single argument to pass a single option, optionally with a space-separated parameter: + +```js +/* Single option */ +ffmpeg('/path/to/file.avi').inputOptions('-someOption'); + +/* Single option with parameter */ +ffmpeg('/dev/video0').inputOptions('-r 24'); +``` + +You may also pass multiple options at once by passing an array to the method: + +```js +ffmpeg('/path/to/file.avi').inputOptions([ + '-option1', + '-option2 param2', + '-option3', + '-option4 param4' +]); +``` + +Finally, you may also directly pass command line tokens as separate arguments to the method: + +```js +ffmpeg('/path/to/file.avi').inputOptions( + '-option1', + '-option2', 'param2', + '-option3', + '-option4', 'param4' +); +``` + + +### Audio options + +The following methods change the audio stream(s) in the produced output. + +#### noAudio(): disable audio altogether + +**Aliases**: `withNoAudio()`. + +Disables audio in the output and remove any previously set audio option. + +```js +ffmpeg('/path/to/file.avi').noAudio(); +``` + +#### audioCodec(codec): set audio codec + +**Aliases**: `withAudioCodec()`. + +```js +ffmpeg('/path/to/file.avi').audioCodec('libmp3lame'); +``` + +Fluent-ffmpeg checks for codec availability before actually running the command, and throws an error when a specified audio codec is not available. + +#### audioBitrate(bitrate): set audio bitrate + +**Aliases**: `withAudioBitrate()`. + +Sets the audio bitrate in kbps. The `bitrate` parameter may be a number or a string with an optional `k` suffix. This method is used to enforce a constant bitrate; use `audioQuality()` to encode using a variable bitrate. + +```js +ffmpeg('/path/to/file.avi').audioBitrate(128); +ffmpeg('/path/to/file.avi').audioBitrate('128'); +ffmpeg('/path/to/file.avi').audioBitrate('128k'); +``` + +#### audioChannels(count): set audio channel count + +**Aliases**: `withAudioChannels()`. + +```js +ffmpeg('/path/to/file.avi').audioChannels(2); +``` + +#### audioFrequency(freq): set audio frequency + +**Aliases**: `withAudioFrequency()`. + +The `freq` parameter specifies the audio frequency in Hz. + +```js +ffmpeg('/path/to/file.avi').audioFrequency(22050); +``` + +#### audioQuality(quality): set audio quality + +**Aliases**: `withAudioQuality()`. + +This method fixes a quality factor for the audio codec (VBR encoding). The quality scale depends on the actual codec used. + +```js +ffmpeg('/path/to/file.avi') + .audioCodec('libmp3lame') + .audioQuality(0); +``` + +#### audioFilters(filter...): add custom audio filters + +**Aliases**: `audioFilter()`, `withAudioFilter()`, `withAudioFilters()`. + +This method enables adding custom audio filters. You may add multiple filters at once by passing either several arguments or an array. See the Ffmpeg documentation for available filters and their syntax. + +Each filter pased to this method can be either a filter string (eg. `volume=0.5`) or a filter specification object with the following keys: +* `filter`: filter name +* `options`: optional; either an option string for the filter (eg. `n=-50dB:d=5`), an options array for unnamed options (eg. `['-50dB', 5]`) or an object mapping option names to values (eg. `{ n: '-50dB', d: 5 }`). When `options` is not specified, the filter will be added without any options. + +```js +ffmpeg('/path/to/file.avi') + .audioFilters('volume=0.5') + .audioFilters('silencedetect=n=-50dB:d=5'); + +ffmpeg('/path/to/file.avi') + .audioFilters('volume=0.5', 'silencedetect=n=-50dB:d=5'); + +ffmpeg('/path/to/file.avi') + .audioFilters(['volume=0.5', 'silencedetect=n=-50dB:d=5']); + +ffmpeg('/path/to/file.avi') + .audioFilters([ + { + filter: 'volume', + options: '0.5' + }, + { + filter: 'silencedetect', + options: 'n=-50dB:d=5' + } + ]); + +ffmpeg('/path/to/file.avi') + .audioFilters( + { + filter: 'volume', + options: ['0.5'] + }, + { + filter: 'silencedetect', + options: { n: '-50dB', d: 5 } + } + ]); +``` + + +### Video options + +The following methods change the video stream(s) in the produced output. + +#### noVideo(): disable video altogether + +**Aliases**: `withNoVideo()`. + +This method disables video output and removes any previously set video option. + +```js +ffmpeg('/path/to/file.avi').noVideo(); +``` + +#### videoCodec(codec): set video codec + +**Aliases**: `withVideoCodec()`. + +```js +ffmpeg('/path/to/file.avi').videoCodec('libx264'); +``` + +Fluent-ffmpeg checks for codec availability before actually running the command, and throws an error when a specified video codec is not available. + +#### videoBitrate(bitrate[, constant=false]): set video bitrate + +**Aliases**: `withVideoBitrate()`. + +Sets the target video bitrate in kbps. The `bitrate` argument may be a number or a string with an optional `k` suffix. The `constant` argument specifies whether a constant bitrate should be enforced (defaults to false). + +Keep in mind that, depending on the codec used, enforcing a constant bitrate often comes at the cost of quality. The best way to have a constant video bitrate without losing too much quality is to use 2-pass encoding (see Fffmpeg documentation). + +```js +ffmpeg('/path/to/file.avi').videoBitrate(1000); +ffmpeg('/path/to/file.avi').videoBitrate('1000'); +ffmpeg('/path/to/file.avi').videoBitrate('1000k'); +ffmpeg('/path/to/file.avi').videoBitrate('1000k', true); +``` + +#### videoFilters(filter...): add custom video filters + +**Aliases**: `videoFilter()`, `withVideoFilter()`, `withVideoFilters()`. + +This method enables adding custom video filters. You may add multiple filters at once by passing either several arguments or an array. See the Ffmpeg documentation for available filters and their syntax. + +Each filter pased to this method can be either a filter string (eg. `fade=in:0:30`) or a filter specification object with the following keys: +* `filter`: filter name +* `options`: optional; either an option string for the filter (eg. `in:0:30`), an options array for unnamed options (eg. `['in', 0, 30]`) or an object mapping option names to values (eg. `{ t: 'in', s: 0, n: 30 }`). When `options` is not specified, the filter will be added without any options. + +```js +ffmpeg('/path/to/file.avi') + .videoFilters('fade=in:0:30') + .videoFilters('pad=640:480:0:40:violet'); + +ffmpeg('/path/to/file.avi') + .videoFilters('fade=in:0:30', 'pad=640:480:0:40:violet'); + +ffmpeg('/path/to/file.avi') + .videoFilters(['fade=in:0:30', 'pad=640:480:0:40:violet']); + +ffmpeg('/path/to/file.avi') + .videoFilters([ + { + filter: 'fade', + options: 'in:0:30' + }, + { + filter: 'pad', + options: '640:480:0:40:violet' + } + ]); + +ffmpeg('/path/to/file.avi') + .videoFilters( + { + filter: 'fade', + options: ['in', 0, 30] + }, + { + filter: 'filter2', + options: { w: 640, h: 480, x: 0, y: 40, color: 'violet' } + } + ); +``` + +#### fps(fps): set output framerate + +**Aliases**: `withOutputFps()`, `withOutputFPS()`, `withFpsOutput()`, `withFPSOutput()`, `withFps()`, `withFPS()`, `outputFPS()`, `outputFps()`, `fpsOutput()`, `FPSOutput()`, `FPS()`. + +```js +ffmpeg('/path/to/file.avi').fps(29.7); +``` + +#### frames(count): specify frame count + +**Aliases**: `takeFrames()`, `withFrames()`. + +Set ffmpeg to only encode a certain number of frames. + +```js +ffmpeg('/path/to/file.avi').frames(240); +``` + + +### Video frame size options + +The following methods enable resizing the output video frame size. They all work together to generate the appropriate video filters. + +#### size(size): set output frame size + +**Aliases**: `videoSize()`, `withSize()`. + +This method sets the output frame size. The `size` argument may have one of the following formats: +* `640x480`: set a fixed output frame size. Unless `autopad()` is called, this may result in the video being stretched or squeezed to fit the requested size. +* `640x?`: set a fixed width and compute height automatically. If `aspect()` is also called, it is used to compute video height; otherwise it is computed so that the input aspect ratio is preserved. +* `?x480`: set a fixed height and compute width automatically. If `aspect()` is also called, it is used to compute video width; otherwise it is computed so that the input aspect ratio is preserved. +* `50%`: rescale both width and height to the given percentage. Aspect ratio is always preserved. + +Note that for compatibility with some codecs, computed dimensions are always rounded down to multiples of 2. + +```js +ffmpeg('/path/to/file.avi').size('640x480'); +ffmpeg('/path/to/file.avi').size('640x?'); +ffmpeg('/path/to/file.avi').size('640x?').aspect('4:3'); +ffmpeg('/path/to/file.avi').size('50%'); +``` + +#### aspect(aspect): set output frame aspect ratio + +**Aliases**: `withAspect()`, `withAspectRatio()`, `setAspect()`, `setAspectRatio()`, `aspectRatio()`. + +This method enforces a specific output aspect ratio. The `aspect` argument may either be a number or a `X:Y` string. + +Note that calls to `aspect()` are ignored when `size()` has been called with a fixed width and height or a percentage, and also when `size()` has not been called at all. + +```js +ffmpeg('/path/to/file.avi').size('640x?').aspect('4:3'); +ffmpeg('/path/to/file.avi').size('640x?').aspect(1.33333); +``` + +#### autopad([color='black']): enable auto-padding the output video + +**Aliases**: `applyAutopadding()`, `applyAutoPadding()`, `applyAutopad()`, `applyAutoPad()`, `withAutopadding()`, `withAutoPadding()`, `withAutopad()`, `withAutoPad()`, `autoPad()`. + +This method enables applying auto-padding to the output video. The `color` parameter specifies which color to use for padding, and must be a color code or name supported by ffmpeg (defaults to 'black'). + +The behaviour of this method depends on calls made to other video size methods: +* when `size()` has been called with a percentage or has not been called, it is ignored; +* when `size()` has been called with `WxH`, it adds padding so that the input aspect ratio is kept; +* when `size()` has been called with either `Wx?` or `?xH`, padding is only added if `aspect()` was called (otherwise the output dimensions are computed from the input aspect ratio and padding is not needed). + +```js +// No size specified, autopad() is ignored +ffmpeg('/path/to/file.avi').autopad(); + +// Adds padding to keep original aspect ratio. +// - with a 640x400 input, 40 pixels of padding are added on both sides +// - with a 600x480 input, 20 pixels of padding are added on top and bottom +// - with a 320x200 input, video is scaled up to 640x400 and 40px of padding +// is added on both sides +// - with a 320x240 input, video is scaled up to 640x480 and and no padding +// is needed +ffmpeg('/path/to/file.avi').size('640x480').autopad(); +ffmpeg('/path/to/file.avi').size('640x480').autopad('white'); +ffmpeg('/path/to/file.avi').size('640x480').autopad('#35A5FF'); + +// Size computed from input, autopad() is ignored +ffmpeg('/path/to/file.avi').size('50%').autopad(); +ffmpeg('/path/to/file.avi').size('640x?').autopad(); +ffmpeg('/path/to/file.avi').size('?x480').autopad(); + +// Calling .size('640x?').aspect('4:3') is similar to calling .size('640x480') +// - with a 640x400 input, 40 pixels of padding are added on both sides +// - with a 600x480 input, 20 pixels of padding are added on top and bottom +// - with a 320x200 input, video is scaled up to 640x400 and 40px of padding +// is added on both sides +// - with a 320x240 input, video is scaled up to 640x480 and and no padding +// is needed +ffmpeg('/path/to/file.avi').size('640x?').aspect('4:3').autopad(); +ffmpeg('/path/to/file.avi').size('640x?').aspect('4:3').autopad('white'); +ffmpeg('/path/to/file.avi').size('640x?').aspect('4:3').autopad('#35A5FF'); + +// Calling .size('?x480').aspect('4:3') is similar to calling .size('640x480') +ffmpeg('/path/to/file.avi').size('?x480').aspect('4:3').autopad(); +ffmpeg('/path/to/file.avi').size('?x480').aspect('4:3').autopad('white'); +ffmpeg('/path/to/file.avi').size('?x480').aspect('4:3').autopad('#35A5FF'); +``` + +For compatibility with previous fluent-ffmpeg versions, this method also accepts an additional boolean first argument, which specifies whether to apply auto-padding. + +```js +ffmpeg('/path/to/file.avi').size('640x480').autopad(true); +ffmpeg('/path/to/file.avi').size('640x480').autopad(true, 'pink'); +``` + +#### keepDAR(): force keeping display aspect ratio + +**Aliases**: `keepPixelAspect()`, `keepDisplayAspect()`, `keepDisplayAspectRatio()`. + +This method is useful when converting an input with non-square pixels to an output format that does not support non-square pixels (eg. most image formats). It rescales the input so that the display aspect ratio is the same. + +```js +ffmpeg('/path/to/file.avi').keepDAR(); +``` + +### Specifying multiple outputs + +#### output(target[, options]): add an output to the command + +**Aliases**: `addOutput()`. + +Adds an output to the command. The `target` argument may be an output filename or a writable stream (but at most one output stream may be used with a single command). + +When `target` is a stream, an additional `options` object may be passed. If it is present, it will be passed ffmpeg output stream `pipe()` method. + +Adding an output switches the "current output" of the command, so that any fluent-ffmpeg method that applies to an output is indeed applied to the last output added. For backwards compatibility reasons, you may as well call those methods _before_ adding the first output (in which case they will apply to the first output when it is added). Methods that apply to an output are all non-input-related methods, except for `complexFilter()`, which is global. + +Also note that when calling `output()`, you should not use the `save()` or `stream()` (formerly `saveToFile()` and `writeToStream()`) methods, as they already add an output. Use the `run()` method to start processing. + +```js +var stream = fs.createWriteStream('outputfile.divx'); + +ffmpeg('/path/to/file.avi') + .output('outputfile.mp4') + .output(stream); + +ffmpeg('/path/to/file.avi') + // You may pass a pipe() options object when using a stream + .output(stream, { end:true }); + +// Output-related methods apply to the last output added +ffmpeg('/path/to/file.avi') + + .output('outputfile.mp4') + .audioCodec('libfaac') + .videoCodec('libx264') + .size('320x200') + + .output(stream) + .preset('divx') + .size('640x480'); + +// Use the run() method to run commands with multiple outputs +ffmpeg('/path/to/file.avi') + .output('outputfile.mp4') + .output(stream) + .on('end', function() { + console.log('Finished processing'); + }) + .run(); +``` + + +### Output options + +#### duration(time): set output duration + +**Aliases**: `withDuration()`, `setDuration()`. + +Forces ffmpeg to stop transcoding after a specific output duration. The `time` parameter may be a number (in seconds) or a timestamp string (with format `[[hh:]mm:]ss[.xxx]`). + +```js +ffmpeg('/path/to/file.avi').duration(134.5); +ffmpeg('/path/to/file.avi').duration('2:14.500'); +``` + +#### seek(time): seek output + +**Aliases**: `seekOutput()`. + +Seeks streams before encoding them into the output. This is different from calling `seekInput()` in that the offset will only apply to one output. This is also slower, as skipped frames will still be decoded (but dropped). + +The `time` argument may be a number (in seconds) or a timestamp string (with format `[[hh:]mm:]ss[.xxx]`). + +```js +ffmpeg('/path/to/file.avi') + .seekInput('1:00') + + .output('from-1m30s.avi') + .seek(30) + + .output('from-1m40s.avi') + .seek('0:40'); +``` + +#### format(format): set output format + +**Aliases**: `withOutputFormat()`, `toFormat()`, `outputFormat()`. + +```js +ffmpeg('/path/to/file.avi').format('flv'); +``` + +#### flvmeta(): update FLV metadata after transcoding + +**Aliases**: `updateFlvMetadata()`. + +Calling this method makes fluent-ffmpeg run `flvmeta` or `flvtool2` on the output file to add FLV metadata and make files streamable. It does not work when outputting to a stream, and is only useful when outputting to FLV format. + +```js +ffmpeg('/path/to/file.avi').flvmeta().format('flv'); +``` + +#### outputOptions(option...): add custom output options + +**Aliases**: `outputOption()`, `addOutputOption()`, `addOutputOptions()`, `withOutputOption()`, `withOutputOptions()`, `addOption()`, `addOptions()`. + +This method allows passing any output-related option to ffmpeg. You can call it with a single argument to pass a single option, optionally with a space-separated parameter: + +```js +/* Single option */ +ffmpeg('/path/to/file.avi').outputOptions('-someOption'); + +/* Single option with parameter */ +ffmpeg('/dev/video0').outputOptions('-r 24'); +``` + +You may also pass multiple options at once by passing an array to the method: + +```js +ffmpeg('/path/to/file.avi').outputOptions([ + '-option1', + '-option2 param2', + '-option3', + '-option4 param4' +]); +``` + +Finally, you may also directly pass command line tokens as separate arguments to the method: + +```js +ffmpeg('/path/to/file.avi').outputOptions( + '-option1', + '-option2', 'param2', + '-option3', + '-option4', 'param4' +); +``` + + +### Miscellaneous options + +#### preset(preset): use fluent-ffmpeg preset + +**Aliases**: `usingPreset()`. + +There are two kinds of presets supported by fluent-ffmpeg. The first one is preset modules; to use those, pass the preset name as the `preset` argument. Preset modules are loaded from the directory specified by the `presets` constructor option (defaults to the `lib/presets` fluent-ffmpeg subdirectory). + +```js +// Uses /lib/presets/divx.js +ffmpeg('/path/to/file.avi').preset('divx'); + +// Uses /my/presets/foo.js +ffmpeg('/path/to/file.avi', { presets: '/my/presets' }).preset('foo'); +``` + +Preset modules must export a `load()` function that takes an FfmpegCommand as an argument. fluent-ffmpeg comes with the following preset modules preinstalled: + +* `divx` +* `flashvideo` +* `podcast` + +Here is the code from the included `divx` preset as an example: + +```js +exports.load = function(ffmpeg) { + ffmpeg + .format('avi') + .videoBitrate('1024k') + .videoCodec('mpeg4') + .size('720x?') + .audioBitrate('128k') + .audioChannels(2) + .audioCodec('libmp3lame') + .outputOptions(['-vtag DIVX']); +}; +``` + +The second kind of preset is preset functions. To use those, pass a function which takes an FfmpegCommand as a parameter. + +```js +function myPreset(command) { + command.format('avi').size('720x?'); +} + +ffmpeg('/path/to/file.avi').preset(myPreset); +``` + +#### complexFilter(filters[, map]): set complex filtergraph + +**Aliases**: `filterGraph()` + +The `complexFilter()` method enables setting a complex filtergraph for a command. It expects a filter specification (or a filter specification array) and an optional output mapping parameter as arguments. + +Filter specifications may be either plain ffmpeg filter strings (eg. `split=3[a][b][c]`) or objects with the following keys: +* `filter`: filter name +* `options`: optional; either an option string for the filter (eg. `in:0:30`), an options array for unnamed options (eg. `['in', 0, 30]`) or an object mapping option names to values (eg. `{ t: 'in', s: 0, n: 30 }`). When `options` is not specified, the filter will be added without any options. +* `inputs`: optional; input stream specifier(s) for the filter. The value may be either a single stream specifier string or an array of stream specifiers. Each specifier can be optionally enclosed in square brackets. When input streams are not specified, ffmpeg will use the first unused streams of the correct type. +* `outputs`: optional; output stream specifier(s) for the filter. The value may be either a single stream specifier string or an array of stream specifiers. Each specifier can be optionally enclosed in square brackets. + +The output mapping parameter specifies which stream(s) to include in the output from the filtergraph. It may be either a single stream specifier string or an array of stream specifiers. Each specifier can be optionally enclosed in square brackets. When this parameter is not present, ffmpeg will default to saving all unused outputs to the output file. + +Note that only one complex filtergraph may be set on a given command. Calling `complexFilter()` again will override any previously set filtergraph, but you can set as many filters as needed in a single call. + +```js +ffmpeg('/path/to/file.avi') + .complexFilter([ + // Rescale input stream into stream 'rescaled' + 'scale=640:480[rescaled]', + + // Duplicate rescaled stream 3 times into streams a, b, and c + { + filter: 'split', options: '3', + inputs: 'rescaled', outputs: ['a', 'b', 'c'] + }, + + // Create stream 'red' by removing green and blue channels from stream 'a' + { + filter: 'lutrgb', options: { g: 0, b: 0 }, + inputs: 'a', outputs: 'red' + }, + + // Create stream 'green' by removing red and blue channels from stream 'b' + { + filter: 'lutrgb', options: { r: 0, b: 0 }, + inputs: 'b', outputs: 'green' + }, + + // Create stream 'blue' by removing red and green channels from stream 'c' + { + filter: 'lutrgb', options: { r: 0, g: 0 }, + inputs: 'c', outputs: 'blue' + }, + + // Pad stream 'red' to 3x width, keeping the video on the left, + // and name output 'padded' + { + filter: 'pad', options: { w: 'iw*3', h: 'ih' }, + inputs: 'red', outputs: 'padded' + }, + + // Overlay 'green' onto 'padded', moving it to the center, + // and name output 'redgreen' + { + filter: 'overlay', options: { x: 'w', y: 0 }, + inputs: ['padded', 'green'], outputs: 'redgreen' + }, + + // Overlay 'blue' onto 'redgreen', moving it to the right + { + filter: 'overlay', options: { x: '2*w', y: 0 }, + inputs: ['redgreen', 'blue'], outputs: 'output' + }, + ], 'output'); +``` + + +### Setting event handlers + +Before actually running a command, you may want to set event listeners on it to be notified when it's done. The following events are available: + +#### 'start': ffmpeg process started + +The `start` event is emitted just after ffmpeg has been spawned. It is emitted with the full command line used as an argument. + +```js +ffmpeg('/path/to/file.avi') + .on('start', function(commandLine) { + console.log('Spawned Ffmpeg with command: ' + commandLine); + }); +``` + +#### 'codecData': input codec data available + +The `codecData` event is emitted when ffmpeg outputs codec information about its input streams. It is emitted with an object argument with the following keys: +* `format`: input format +* `duration`: input duration +* `audio`: audio codec +* `audio_details`: audio encoding details +* `video`: video codec +* `video_details`: video encoding details + +```js +ffmpeg('/path/to/file.avi') + .on('codecData', function(data) { + console.log('Input is ' + data.audio + ' audio ' + + 'with ' + data.video + ' video'); + }); +``` + +#### 'progress': transcoding progress information + +The `progress` event is emitted every time ffmpeg reports progress information. It is emitted with an object argument with the following keys: +* `frames`: total processed frame count +* `currentFps`: framerate at which FFmpeg is currently processing +* `currentKbps`: throughput at which FFmpeg is currently processing +* `targetSize`: current size of the target file in kilobytes +* `timemark`: the timestamp of the current frame in seconds +* `percent`: an estimation of the progress percentage + +Note that `percent` can be (very) inaccurate, as the only progress information fluent-ffmpeg gets from ffmpeg is the total number of frames written (and the corresponding duration). To estimate percentage, fluent-ffmpeg has to guess what the total output duration will be, and uses the first input added to the command to do so. In particular: +* percentage is not available when using an input stream +* percentage may be wrong when using multiple inputs with different durations and the first one is not the longest + +```js +ffmpeg('/path/to/file.avi') + .on('progress', function(progress) { + console.log('Processing: ' + progress.percent + '% done'); + }); +``` + +#### 'stderr': FFmpeg output + +The `stderr` event is emitted every time FFmpeg outputs a line to `stderr`. It is emitted with a string containing the line of stderr (minus trailing new line characters). + +```js +ffmpeg('/path/to/file.avi') + .on('stderr', function(stderrLine) { + console.log('Stderr output: ' + stderrLine); + }); +``` + +#### 'error': transcoding error + +The `error` event is emitted when an error occurs when running ffmpeg or when preparing its execution. It is emitted with an error object as an argument. If the error happened during ffmpeg execution, listeners will also receive two additional arguments containing ffmpegs stdout and stderr. + +If streams are used for input or output, any errors emitted from these streams will be passed through to this event, attached to the `error` as `inputStreamError` and `outputStreamError` for input and output streams respectively. + +**Warning**: you should _always_ set a handler for the `error` event, as node's default behaviour when an `error` event without any listeners is emitted is to output the error to the console and _terminate the program_. + +```js +ffmpeg('/path/to/file.avi') + .on('error', function(err, stdout, stderr) { + console.log('Cannot process video: ' + err.message); + }); +``` + +#### 'end': processing finished + +The `end` event is emitted when processing has finished. Listeners receive ffmpeg standard output and standard error as arguments, except when generating thumbnails (see below), in which case they receive an array of the generated filenames. + +```js +ffmpeg('/path/to/file.avi') + .on('end', function(stdout, stderr) { + console.log('Transcoding succeeded !'); + }); +``` + +`stdout` is empty when the command outputs to a stream. Both `stdout` and `stderr` are limited by the `stdoutLines` option (defaults to 100 lines). + + +### Starting FFmpeg processing + +#### save(filename): save the output to a file + +**Aliases**: `saveToFile()` + +Starts ffmpeg processing and saves the output to a file. + +```js +ffmpeg('/path/to/file.avi') + .videoCodec('libx264') + .audioCodec('libmp3lame') + .size('320x240') + .on('error', function(err) { + console.log('An error occurred: ' + err.message); + }) + .on('end', function() { + console.log('Processing finished !'); + }) + .save('/path/to/output.mp4'); +``` + +Note: the `save()` method is actually syntactic sugar for calling both `output()` and `run()`. + +#### pipe([stream], [options]): pipe the output to a writable stream + +**Aliases**: `stream()`, `writeToStream()`. + +Starts processing and pipes ffmpeg output to a writable stream. The `options` argument, if present, is passed to ffmpeg output stream's `pipe()` method (see nodejs documentation). + +```js +var outStream = fs.createWriteStream('/path/to/output.mp4'); + +ffmpeg('/path/to/file.avi') + .videoCodec('libx264') + .audioCodec('libmp3lame') + .size('320x240') + .on('error', function(err) { + console.log('An error occurred: ' + err.message); + }) + .on('end', function() { + console.log('Processing finished !'); + }) + .pipe(outStream, { end: true }); +``` + +When no `stream` argument is present, the `pipe()` method returns a PassThrough stream, which you can pipe to somewhere else (or just listen to events on). + +**Note**: this is only available with node >= 0.10. + +```js +var command = ffmpeg('/path/to/file.avi') + .videoCodec('libx264') + .audioCodec('libmp3lame') + .size('320x240') + .on('error', function(err) { + console.log('An error occurred: ' + err.message); + }) + .on('end', function() { + console.log('Processing finished !'); + }); + +var ffstream = command.pipe(); +ffstream.on('data', function(chunk) { + console.log('ffmpeg just wrote ' + chunk.length + ' bytes'); +}); +``` + +Note: the `stream()` method is actually syntactic sugar for calling both `output()` and `run()`. + +#### run(): start processing + +**Aliases**: `exec()`, `execute()`. + +This method is mainly useful when producing multiple outputs (otherwise the `save()` or `stream()` methods are more straightforward). It starts processing with the specified outputs. + +**Warning**: do not use `run()` when calling other processing methods (eg. `save()`, `pipe()` or `screenshots()`). + +```js +ffmpeg('/path/to/file.avi') + .output('screenshot.png') + .noAudio() + .seek('3:00') + + .output('small.avi') + .audioCodec('copy') + .size('320x200') + + .output('big.avi') + .audioCodec('copy') + .size('640x480') + + .on('error', function(err) { + console.log('An error occurred: ' + err.message); + }) + .on('end', function() { + console.log('Processing finished !'); + }) + .run(); +``` + +#### mergeToFile(filename, tmpdir): concatenate multiple inputs + +Use the `input` and `mergeToFile` methods on a command to concatenate multiple inputs to a single output file. The `mergeToFile` needs a temporary folder as its second argument. + +```js +ffmpeg('/path/to/part1.avi') + .input('/path/to/part2.avi') + .input('/path/to/part2.avi') + .on('error', function(err) { + console.log('An error occurred: ' + err.message); + }) + .on('end', function() { + console.log('Merging finished !'); + }) + .mergeToFile('/path/to/merged.avi', '/path/to/tempDir'); +``` + +#### screenshots(options[, dirname]): generate thumbnails + +**Aliases**: `thumbnail()`, `thumbnails()`, `screenshot()`, `takeScreenshots()`. + +Use the `screenshots` method to extract one or several thumbnails and save them as PNG files. There are a few caveats with this implementation, though: + +* It will not work on input streams. +* Progress information reported by the `progress` event is not accurate. +* It doesn't interract well with filters. In particular, don't use the `size()` method to resize thumbnails, use the `size` option instead. + +The `options` argument is an object with the following keys: + +* `folder`: output folder for generated image files. Defaults to the current folder. +* `filename`: output filename pattern (see below). Defaults to "tn.png". +* `count`: specifies how many thumbnails to generate. When using this option, thumbnails are generated at regular intervals in the video (for example, when requesting 3 thumbnails, at 25%, 50% and 75% of the video length). `count` is ignored when `timemarks` or `timestamps` is specified. +* `timemarks` or `timestamps`: specifies an array of timestamps in the video where thumbnails should be taken. Each timestamp may be a number (in seconds), a percentage string (eg. "50%") or a timestamp string with format "hh:mm:ss.xxx" (where hours, minutes and milliseconds are both optional). +* `size`: specifies a target size for thumbnails (with the same format as the `.size()` method). **Note:** you should not use the `.size()` method when generating thumbnails. + +The `filename` option specifies a filename pattern for generated files. It may contain the following format tokens: + +* '%s': offset in seconds +* '%w': screenshot width +* '%h': screenshot height +* '%r': screenshot resolution (same as '%wx%h') +* '%f': input filename +* '%b': input basename (filename w/o extension) +* '%i': index of screenshot in timemark array (can be zero-padded by using it like `%000i`) + +If multiple timemarks are passed and no variable format token ('%s' or '%i') is specified in the filename pattern, `_%i` will be added automatically. + +When generating thumbnails, an additional `filenames` event is dispatched with an array of generated filenames as an argument. + +```js +ffmpeg('/path/to/video.avi') + .on('filenames', function(filenames) { + console.log('Will generate ' + filenames.join(', ')) + }) + .on('end', function() { + console.log('Screenshots taken'); + }) + .screenshots({ + // Will take screens at 20%, 40%, 60% and 80% of the video + count: 4, + folder: '/path/to/output' + }); + +ffmpeg('/path/to/video.avi') + .screenshots({ + timestamps: [30.5, '50%', '01:10.123'], + filename: 'thumbnail-at-%s-seconds.png', + folder: '/path/to/output', + size: '320x240' + }); +``` + +### Controlling the FFmpeg process + +#### kill([signal='SIGKILL']): kill any running ffmpeg process + +This method sends `signal` (defaults to 'SIGKILL') to the ffmpeg process. It only has sense when processing has started. Sending a signal that terminates the process will result in the `error` event being emitted. + +```js +var command = ffmpeg('/path/to/video.avi') + .videoCodec('libx264') + .audioCodec('libmp3lame') + .on('start', function() { + // Send SIGSTOP to suspend ffmpeg + command.kill('SIGSTOP'); + + doSomething(function() { + // Send SIGCONT to resume ffmpeg + command.kill('SIGCONT'); + }); + }) + .save('/path/to/output.mp4'); + +// Kill ffmpeg after 60 seconds anyway +setTimeout(function() { + command.on('error', function() { + console.log('Ffmpeg has been killed'); + }); + + command.kill(); +}, 60000); +``` + +#### renice([niceness=0]): change ffmpeg process priority + +This method alters the niceness (priority) value of any running ffmpeg process (if any) and any process spawned in the future. The `niceness` parameter may range from -20 (highest priority) to 20 (lowest priority) and defaults to 0 (which is the default process niceness on most *nix systems). + +**Note**: this method is ineffective on Windows platforms. + +```js +// Set startup niceness +var command = ffmpeg('/path/to/file.avi') + .renice(5) + .save('/path/to/output.mp4'); + +// Command takes too long, raise its priority +setTimeout(function() { + command.renice(-5); +}, 60000); +``` + + +### Reading video metadata + +You can read metadata from any valid ffmpeg input file with the modules `ffprobe` method. + +```js +ffmpeg.ffprobe('/path/to/file.avi', function(err, metadata) { + console.dir(metadata); +}); +``` + +You may also call the ffprobe method on an FfmpegCommand to probe one of its input. You may pass a 0-based input number as a first argument to specify which input to read metadata from, otherwise the method will probe the last added input. + +```js +ffmpeg('/path/to/file1.avi') + .input('/path/to/file2.avi') + .ffprobe(function(err, data) { + console.log('file2 metadata:'); + console.dir(data); + }); + +ffmpeg('/path/to/file1.avi') + .input('/path/to/file2.avi') + .ffprobe(0, function(err, data) { + console.log('file1 metadata:'); + console.dir(data); + }); +``` + +**Warning:** ffprobe may be called with an input stream, but in this case *it will consume data from the stream*, and this data will no longer be available for ffmpeg. Using both ffprobe and a transcoding command on the same input stream will most likely fail unless the stream is a live stream. Only do this if you know what you're doing. + +The returned object is the same that is returned by running the following command from your shell (depending on your ffmpeg version you may have to replace `-of` with `-print_format`) : + +```sh +$ ffprobe -of json -show_streams -show_format /path/to/file.avi +``` + +It will contain information about the container (as a `format` key) and an array of streams (as a `stream` key). The format object and each stream object also contains metadata tags, depending on the format: + +```js +{ + "streams": [ + { + "index": 0, + "codec_name": "h264", + "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10", + "profile": "Constrained Baseline", + "codec_type": "video", + "codec_time_base": "1/48", + "codec_tag_string": "avc1", + "codec_tag": "0x31637661", + "width": 320, + "height": 180, + "has_b_frames": 0, + "sample_aspect_ratio": "1:1", + "display_aspect_ratio": "16:9", + "pix_fmt": "yuv420p", + "level": 13, + "r_frame_rate": "24/1", + "avg_frame_rate": "24/1", + "time_base": "1/24", + "start_pts": 0, + "start_time": "0.000000", + "duration_ts": 14315, + "duration": "596.458333", + "bit_rate": "702655", + "nb_frames": "14315", + "disposition": { + "default": 0, + "dub": 0, + "original": 0, + "comment": 0, + "lyrics": 0, + "karaoke": 0, + "forced": 0, + "hearing_impaired": 0, + "visual_impaired": 0, + "clean_effects": 0, + "attached_pic": 0 + }, + "tags": { + "creation_time": "1970-01-01 00:00:00", + "language": "und", + "handler_name": "\fVideoHandler" + } + }, + { + "index": 1, + "codec_name": "aac", + "codec_long_name": "AAC (Advanced Audio Coding)", + "codec_type": "audio", + "codec_time_base": "1/48000", + "codec_tag_string": "mp4a", + "codec_tag": "0x6134706d", + "sample_fmt": "fltp", + "sample_rate": "48000", + "channels": 2, + "bits_per_sample": 0, + "r_frame_rate": "0/0", + "avg_frame_rate": "0/0", + "time_base": "1/48000", + "start_pts": 0, + "start_time": "0.000000", + "duration_ts": 28619776, + "duration": "596.245333", + "bit_rate": "159997", + "nb_frames": "27949", + "disposition": { + "default": 0, + "dub": 0, + "original": 0, + "comment": 0, + "lyrics": 0, + "karaoke": 0, + "forced": 0, + "hearing_impaired": 0, + "visual_impaired": 0, + "clean_effects": 0, + "attached_pic": 0 + }, + "tags": { + "creation_time": "1970-01-01 00:00:00", + "language": "und", + "handler_name": "\fSoundHandler" + } + } + ], + "format": { + "filename": "http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4", + "nb_streams": 2, + "format_name": "mov,mp4,m4a,3gp,3g2,mj2", + "format_long_name": "QuickTime / MOV", + "start_time": "0.000000", + "duration": "596.459000", + "size": "64657027", + "bit_rate": "867211", + "tags": { + "major_brand": "isom", + "minor_version": "512", + "compatible_brands": "mp41", + "creation_time": "1970-01-01 00:00:00", + "title": "Big Buck Bunny", + "artist": "Blender Foundation", + "composer": "Blender Foundation", + "date": "2008", + "encoder": "Lavf52.14.0" + } + } +} +``` + +### Querying ffmpeg capabilities + +fluent-ffmpeg enables you to query your installed ffmpeg version for supported formats, codecs, encoders and filters. + +```js + +var Ffmpeg = require('fluent-ffmpeg'); + +Ffmpeg.getAvailableFormats(function(err, formats) { + console.log('Available formats:'); + console.dir(formats); +}); + +Ffmpeg.getAvailableCodecs(function(err, codecs) { + console.log('Available codecs:'); + console.dir(codecs); +}); + +Ffmpeg.getAvailableEncoders(function(err, encoders) { + console.log('Available encoders:'); + console.dir(encoders); +}); + +Ffmpeg.getAvailableFilters(function(err, filters) { + console.log("Available filters:"); + console.dir(filters); +}); + +// Those methods can also be called on commands +new Ffmpeg({ source: '/path/to/file.avi' }) + .getAvailableCodecs(...); +``` + +These methods pass an object to their callback with keys for each available format, codec or filter. + +The returned object for formats looks like: + +```js +{ + ... + mp4: { + description: 'MP4 (MPEG-4 Part 14)', + canDemux: false, + canMux: true + }, + ... +} +``` + +* `canDemux` indicates whether ffmpeg is able to extract streams from (demux) this format +* `canMux` indicates whether ffmpeg is able to write streams into (mux) this format + +The returned object for codecs looks like: + +```js +{ + ... + mp3: { + type: 'audio', + description: 'MP3 (MPEG audio layer 3)', + canDecode: true, + canEncode: true, + intraFrameOnly: false, + isLossy: true, + isLossless: false + }, + ... +} +``` + +* `type` indicates the codec type, either "audio", "video" or "subtitle" +* `canDecode` tells whether ffmpeg is able to decode streams using this codec +* `canEncode` tells whether ffmpeg is able to encode streams using this codec + +Depending on your ffmpeg version (or if you use avconv instead) other keys may be present, for example: + +* `directRendering` tells if codec can render directly in GPU RAM; useless for transcoding purposes +* `intraFrameOnly` tells if codec can only work with I-frames +* `isLossy` tells if codec can do lossy encoding/decoding +* `isLossless` tells if codec can do lossless encoding/decoding + +With some ffmpeg/avcodec versions, the description includes encoder/decoder mentions in the form "Foo codec (decoders: libdecodefoo) (encoders: libencodefoo)". In this case you will want to use those encoders/decoders instead (the codecs object returned by `getAvailableCodecs` will also include them). + +The returned object for encoders looks like: + +```js +{ + ... + libmp3lame: { + type: 'audio', + description: 'MP3 (MPEG audio layer 3) (codec mp3)', + frameMT: false, + sliceMT: false, + experimental: false, + drawHorizBand: false, + directRendering: false + }, + ... +} +``` + +* `type` indicates the encoder type, either "audio", "video" or "subtitle" +* `experimental` indicates whether the encoder is experimental. When using such a codec, fluent-ffmpeg automatically adds the '-strict experimental' flag. + +The returned object for filters looks like: + +```js +{ + ... + scale: { + description: 'Scale the input video to width:height size and/or convert the image format.', + input: 'video', + multipleInputs: false, + output: 'video', + multipleOutputs: false + }, + ... +} +``` + +* `input` tells the input type this filter operates on, one of "audio", "video" or "none". When "none", the filter likely generates output from nothing +* `multipleInputs` tells whether the filter can accept multiple inputs +* `output` tells the output type this filter generates, one of "audio", "video" or "none". When "none", the filter has no output (sink only) +* `multipleInputs` tells whether the filter can generate multiple outputs + +### Cloning an FfmpegCommand + +You can create clones of an FfmpegCommand instance by calling the `clone()` method. The clone will be an exact copy of the original at the time it has been called (same inputs, same options, same event handlers, etc.). This is mainly useful when you want to apply different processing options on the same input. + +Setting options, adding inputs or event handlers on a clone will not affect the original command. + +```js +// Create a command to convert source.avi to MP4 +var command = ffmpeg('/path/to/source.avi') + .audioCodec('libfaac') + .videoCodec('libx264') + .format('mp4'); + +// Create a clone to save a small resized version +command.clone() + .size('320x200') + .save('/path/to/output-small.mp4'); + +// Create a clone to save a medium resized version +command.clone() + .size('640x400') + .save('/path/to/output-medium.mp4'); + +// Save a converted version with the original size +command.save('/path/to/output-original-size.mp4'); +``` + + +## Contributing + +Contributions in any form are highly encouraged and welcome! Be it new or improved presets, optimized streaming code or just some cleanup. So start forking! + +### Code contributions + +If you want to add new features or change the API, please submit an issue first to make sure no one else is already working on the same thing and discuss the implementation and API details with maintainers and users by creating an issue. When everything is settled down, you can submit a pull request. + +When fixing bugs, you can directly submit a pull request. + +Make sure to add tests for your features and bugfixes and update the documentation (see below) before submitting your code! + +### Documentation contributions + +You can directly submit pull requests for documentation changes. Make sure to regenerate the documentation before submitting (see below). + +### Updating the documentation + +When contributing API changes (new methods for example), be sure to update the README file and JSDoc comments in the code. fluent-ffmpeg comes with a plugin that enables two additional JSDoc tags: + +* `@aliases`: document method aliases + +```js +/** + * ... + * @method FfmpegCommand#myMethod + * @aliases myMethodAlias,myOtherMethodAlias + */ +``` + +* `@category`: set method category + +```js +/** + * ... + * @category Audio + */ +``` + +You can regenerate the JSDoc documentation by running the following command: + +```sh +$ make doc +``` + +To avoid polluting the commit history, make sure to only commit the regenerated JSDoc once and in a specific commit. + +### Running tests + +To run unit tests, first make sure you installed npm dependencies (run `npm install`). + +```sh +$ make test +``` + +Make sure your ffmpeg installation is up-to-date to prevent strange assertion errors because of missing codecs/bugfixes. + +## Main contributors + +* [enobrev](http://github.com/enobrev) +* [njoyard](http://github.com/njoyard) +* [sadikzzz](http://github.com/sadikzzz) +* [smremde](http://github.com/smremde) +* [spruce](http://github.com/spruce) +* [tagedieb](http://github.com/tagedieb) +* [tommadema](http://github.com/tommadema) +* [Weltschmerz](http://github.com/Weltschmerz) + +## License + +(The MIT License) + +Copyright (c) 2011 Stefan Schaermeli <schaermu@gmail.com> + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ffluent-ffmpeg%2Fnode-fluent-ffmpeg.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Ffluent-ffmpeg%2Fnode-fluent-ffmpeg?ref=badge_large) \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/base.css b/node_modules/fluent-ffmpeg/coverage/lcov-report/base.css new file mode 100644 index 0000000..f418035 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/base.css @@ -0,0 +1,224 @@ +body, html { + margin:0; padding: 0; + height: 100%; +} +body { + font-family: Helvetica Neue, Helvetica, Arial; + font-size: 14px; + color:#333; +} +.small { font-size: 12px; } +*, *:after, *:before { + -webkit-box-sizing:border-box; + -moz-box-sizing:border-box; + box-sizing:border-box; + } +h1 { font-size: 20px; margin: 0;} +h2 { font-size: 14px; } +pre { + font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace; + margin: 0; + padding: 0; + -moz-tab-size: 2; + -o-tab-size: 2; + tab-size: 2; +} +a { color:#0074D9; text-decoration:none; } +a:hover { text-decoration:underline; } +.strong { font-weight: bold; } +.space-top1 { padding: 10px 0 0 0; } +.pad2y { padding: 20px 0; } +.pad1y { padding: 10px 0; } +.pad2x { padding: 0 20px; } +.pad2 { padding: 20px; } +.pad1 { padding: 10px; } +.space-left2 { padding-left:55px; } +.space-right2 { padding-right:20px; } +.center { text-align:center; } +.clearfix { display:block; } +.clearfix:after { + content:''; + display:block; + height:0; + clear:both; + visibility:hidden; + } +.fl { float: left; } +@media only screen and (max-width:640px) { + .col3 { width:100%; max-width:100%; } + .hide-mobile { display:none!important; } +} + +.quiet { + color: #7f7f7f; + color: rgba(0,0,0,0.5); +} +.quiet a { opacity: 0.7; } + +.fraction { + font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; + font-size: 10px; + color: #555; + background: #E8E8E8; + padding: 4px 5px; + border-radius: 3px; + vertical-align: middle; +} + +div.path a:link, div.path a:visited { color: #333; } +table.coverage { + border-collapse: collapse; + margin: 10px 0 0 0; + padding: 0; +} + +table.coverage td { + margin: 0; + padding: 0; + vertical-align: top; +} +table.coverage td.line-count { + text-align: right; + padding: 0 5px 0 20px; +} +table.coverage td.line-coverage { + text-align: right; + padding-right: 10px; + min-width:20px; +} + +table.coverage td span.cline-any { + display: inline-block; + padding: 0 5px; + width: 100%; +} +.missing-if-branch { + display: inline-block; + margin-right: 5px; + border-radius: 3px; + position: relative; + padding: 0 4px; + background: #333; + color: yellow; +} + +.skip-if-branch { + display: none; + margin-right: 10px; + position: relative; + padding: 0 4px; + background: #ccc; + color: white; +} +.missing-if-branch .typ, .skip-if-branch .typ { + color: inherit !important; +} +.coverage-summary { + border-collapse: collapse; + width: 100%; +} +.coverage-summary tr { border-bottom: 1px solid #bbb; } +.keyline-all { border: 1px solid #ddd; } +.coverage-summary td, .coverage-summary th { padding: 10px; } +.coverage-summary tbody { border: 1px solid #bbb; } +.coverage-summary td { border-right: 1px solid #bbb; } +.coverage-summary td:last-child { border-right: none; } +.coverage-summary th { + text-align: left; + font-weight: normal; + white-space: nowrap; +} +.coverage-summary th.file { border-right: none !important; } +.coverage-summary th.pct { } +.coverage-summary th.pic, +.coverage-summary th.abs, +.coverage-summary td.pct, +.coverage-summary td.abs { text-align: right; } +.coverage-summary td.file { white-space: nowrap; } +.coverage-summary td.pic { min-width: 120px !important; } +.coverage-summary tfoot td { } + +.coverage-summary .sorter { + height: 10px; + width: 7px; + display: inline-block; + margin-left: 0.5em; + background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent; +} +.coverage-summary .sorted .sorter { + background-position: 0 -20px; +} +.coverage-summary .sorted-desc .sorter { + background-position: 0 -10px; +} +.status-line { height: 10px; } +/* yellow */ +.cbranch-no { background: yellow !important; color: #111; } +/* dark red */ +.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 } +.low .chart { border:1px solid #C21F39 } +.highlighted, +.highlighted .cstat-no, .highlighted .fstat-no, .highlighted .cbranch-no{ + background: #C21F39 !important; +} +/* medium red */ +.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE } +/* light red */ +.low, .cline-no { background:#FCE1E5 } +/* light green */ +.high, .cline-yes { background:rgb(230,245,208) } +/* medium green */ +.cstat-yes { background:rgb(161,215,106) } +/* dark green */ +.status-line.high, .high .cover-fill { background:rgb(77,146,33) } +.high .chart { border:1px solid rgb(77,146,33) } +/* dark yellow (gold) */ +.status-line.medium, .medium .cover-fill { background: #f9cd0b; } +.medium .chart { border:1px solid #f9cd0b; } +/* light yellow */ +.medium { background: #fff4c2; } + +.cstat-skip { background: #ddd; color: #111; } +.fstat-skip { background: #ddd; color: #111 !important; } +.cbranch-skip { background: #ddd !important; color: #111; } + +span.cline-neutral { background: #eaeaea; } + +.coverage-summary td.empty { + opacity: .5; + padding-top: 4px; + padding-bottom: 4px; + line-height: 1; + color: #888; +} + +.cover-fill, .cover-empty { + display:inline-block; + height: 12px; +} +.chart { + line-height: 0; +} +.cover-empty { + background: white; +} +.cover-full { + border-right: none !important; +} +pre.prettyprint { + border: none !important; + padding: 0 !important; + margin: 0 !important; +} +.com { color: #999 !important; } +.ignore-none { color: #999; font-weight: normal; } + +.wrapper { + min-height: 100%; + height: auto !important; + height: 100%; + margin: 0 auto -48px; +} +.footer, .push { + height: 48px; +} diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/block-navigation.js b/node_modules/fluent-ffmpeg/coverage/lcov-report/block-navigation.js new file mode 100644 index 0000000..cc12130 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/block-navigation.js @@ -0,0 +1,87 @@ +/* eslint-disable */ +var jumpToCode = (function init() { + // Classes of code we would like to highlight in the file view + var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no']; + + // Elements to highlight in the file listing view + var fileListingElements = ['td.pct.low']; + + // We don't want to select elements that are direct descendants of another match + var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > ` + + // Selecter that finds elements on the page to which we can jump + var selector = + fileListingElements.join(', ') + + ', ' + + notSelector + + missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b` + + // The NodeList of matching elements + var missingCoverageElements = document.querySelectorAll(selector); + + var currentIndex; + + function toggleClass(index) { + missingCoverageElements + .item(currentIndex) + .classList.remove('highlighted'); + missingCoverageElements.item(index).classList.add('highlighted'); + } + + function makeCurrent(index) { + toggleClass(index); + currentIndex = index; + missingCoverageElements.item(index).scrollIntoView({ + behavior: 'smooth', + block: 'center', + inline: 'center' + }); + } + + function goToPrevious() { + var nextIndex = 0; + if (typeof currentIndex !== 'number' || currentIndex === 0) { + nextIndex = missingCoverageElements.length - 1; + } else if (missingCoverageElements.length > 1) { + nextIndex = currentIndex - 1; + } + + makeCurrent(nextIndex); + } + + function goToNext() { + var nextIndex = 0; + + if ( + typeof currentIndex === 'number' && + currentIndex < missingCoverageElements.length - 1 + ) { + nextIndex = currentIndex + 1; + } + + makeCurrent(nextIndex); + } + + return function jump(event) { + if ( + document.getElementById('fileSearch') === document.activeElement && + document.activeElement != null + ) { + // if we're currently focused on the search input, we don't want to navigate + return; + } + + switch (event.which) { + case 78: // n + case 74: // j + goToNext(); + break; + case 66: // b + case 75: // k + case 80: // p + goToPrevious(); + break; + } + }; +})(); +window.addEventListener('keydown', jumpToCode); diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/favicon.png b/node_modules/fluent-ffmpeg/coverage/lcov-report/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..c1525b811a167671e9de1fa78aab9f5c0b61cef7 GIT binary patch literal 445 zcmV;u0Yd(XP))rP{nL}Ln%S7`m{0DjX9TLF* zFCb$4Oi7vyLOydb!7n&^ItCzb-%BoB`=x@N2jll2Nj`kauio%aw_@fe&*}LqlFT43 z8doAAe))z_%=P%v^@JHp3Hjhj^6*Kr_h|g_Gr?ZAa&y>wxHE99Gk>A)2MplWz2xdG zy8VD2J|Uf#EAw*bo5O*PO_}X2Tob{%bUoO2G~T`@%S6qPyc}VkhV}UifBuRk>%5v( z)x7B{I~z*k<7dv#5tC+m{km(D087J4O%+<<;K|qwefb6@GSX45wCK}Sn*> + + + + Code coverage report for formatting.js + + + + + + + + + +
+
+

All files formatting.js

+
+ +
+ 25.31% + Statements + 20/79 +
+ + +
+ 100% + Branches + 5/5 +
+ + +
+ 50% + Functions + 1/2 +
+ + +
+ 25.31% + Lines + 20/79 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +74 +75 +76 +77 +78 +79 +801x +1x +1x +1x +3x +3x +2x +1x +1x +1x +1x +1x +1x +2x +1x +1x +1x +3x +1x +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +1x + 
"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.formatFilters = exports.formatBitrate = void 0;
+const regexp_1 = require("./regexp");
+function formatBitrate(bitrate) {
+    if (typeof bitrate === 'number') {
+        if (bitrate < 1024) {
+            // Assume the user means kbps
+            return `${bitrate}k`;
+        }
+        else {
+            return `${bitrate}`;
+        }
+    }
+    else {
+        return bitrate;
+    }
+}
+exports.formatBitrate = formatBitrate;
+function formatFilters(specs) {
+    /* Filter syntax:
+  
+        filter := inputs? filterspec outputs?
+        
+        inputs := input inputs?
+        input := '[' input-name ']'
+  
+        outputs := output outputs?
+        output := '[' output-name ']'
+  
+        filterspec := filter-name ('=' filterargs)?
+        filterargs := filterarg (':' filterargs)?
+        filterarg := arg-value | (arg-name '=' arg-value)
+     */
+    return specs.map((spec) => {
+        if (typeof spec === 'string') {
+            return spec;
+        }
+        if (spec.input) {
+            spec.inputs = [spec.input];
+        }
+        let inputs = (spec.inputs || []).map((stream) => stream.replace(regexp_1.streamRegexp, '[$1]')).join('');
+        let options = '';
+        if (spec.options) {
+            if (typeof spec.options === 'string') {
+                options = `=${spec.options}`;
+            }
+            else if (Array.isArray(spec.options)) {
+                let optionStrings = spec.options
+                    .map((option) => {
+                    if (option.match(regexp_1.filterNeedsEscapeRegexp)) {
+                        return `'${option}'`;
+                    }
+                    else {
+                        return option;
+                    }
+                });
+                options = `=${optionStrings.join(':')}`;
+            }
+            else {
+                let optionStrings = Object.entries(spec.options)
+                    .map(([key, value]) => {
+                    if (value.match(regexp_1.filterNeedsEscapeRegexp)) {
+                        value = `'${value}'`;
+                    }
+                    return `${key}=${value}`;
+                });
+                options = `=${optionStrings.join(':')}`;
+            }
+        }
+        let filter = `${spec.filter}${options}`;
+        if (spec.output) {
+            spec.outputs = [spec.output];
+        }
+        let outputs = (spec.outputs || []).map((stream) => stream.replace(regexp_1.streamRegexp, '[$1]')).join('');
+        return `${inputs}${filter}${outputs}`;
+    });
+}
+exports.formatFilters = formatFilters;
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/formatting.ts.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/formatting.ts.html new file mode 100644 index 0000000..70d5a0c --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/formatting.ts.html @@ -0,0 +1,364 @@ + + + + + + Code coverage report for formatting.ts + + + + + + + + + +
+
+

All files formatting.ts

+
+ +
+ 27.65% + Statements + 26/94 +
+ + +
+ 100% + Branches + 4/4 +
+ + +
+ 50% + Functions + 1/2 +
+ + +
+ 27.65% + Lines + 26/94 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +74 +75 +76 +77 +78 +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89 +90 +91 +92 +93 +941x +1x +3x +3x +2x +1x +1x +1x +1x +1x +3x +1x +1x +3x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  + 
import { filterNeedsEscapeRegexp, streamRegexp } from "./regexp"
+ 
+export function formatBitrate(bitrate: number | string): string {
+  if (typeof bitrate === 'number') {
+    if (bitrate < 1024) {
+      // Assume the user means kbps
+      return `${bitrate}k`
+    } else {
+      return `${bitrate}`
+    }
+  } else {
+    return bitrate
+  }
+}
+ 
+interface OutputFilterSpec {
+  filter: string,
+  options?: string | string[] | { [key: string]: string },
+  input?: string,
+  inputs?: string[],
+  output?: string,
+  outputs?: string[]
+}
+ 
+export type OutputFilter = string | OutputFilterSpec
+ 
+export function formatFilters(specs: OutputFilter[]): string[] {
+  /* Filter syntax:
+
+      filter := inputs? filterspec outputs?
+      
+      inputs := input inputs?
+      input := '[' input-name ']'
+
+      outputs := output outputs?
+      output := '[' output-name ']'
+
+      filterspec := filter-name ('=' filterargs)?
+      filterargs := filterarg (':' filterargs)?
+      filterarg := arg-value | (arg-name '=' arg-value)
+   */
+
+  return specs.map((spec) => {
+    if (typeof spec === 'string') {
+      return spec
+    }
+
+    if (spec.input) {
+      spec.inputs = [spec.input]
+    }
+
+    let inputs = (spec.inputs || []).map((stream) => stream.replace(streamRegexp, '[$1]')).join('')
+
+    let options = ''
+
+    if (spec.options) {
+      if (typeof spec.options === 'string') {
+        options = `=${spec.options}`
+      } else if (Array.isArray(spec.options)) {
+        let optionStrings = spec.options
+          .map((option) => {
+            if (option.match(filterNeedsEscapeRegexp)) {
+              return `'${option}'`
+            } else {
+              return option
+            }
+          })
+
+        options = `=${optionStrings.join(':')}`
+      } else {
+        let optionStrings = Object.entries(spec.options)
+          .map(([key, value]) => {
+            if (value.match(filterNeedsEscapeRegexp)) {
+              value = `'${value}'`
+            }
+
+            return `${key}=${value}`
+          })
+
+        options = `=${optionStrings.join(':')}`
+      }
+    }
+
+    let filter = `${spec.filter}${options}`
+
+    if (spec.output) {
+      spec.outputs = [spec.output]
+    }
+
+    let outputs = (spec.outputs || []).map((stream) => stream.replace(streamRegexp, '[$1]')).join('')
+
+    return `${inputs}${filter}${outputs}`
+  })
+}
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/index.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/index.html new file mode 100644 index 0000000..edde55c --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/index.html @@ -0,0 +1,161 @@ + + + + + + Code coverage report for All files + + + + + + + + + +
+
+

All files

+
+ +
+ 85.96% + Statements + 1017/1183 +
+ + +
+ 93.51% + Branches + 202/216 +
+ + +
+ 82.25% + Functions + 51/62 +
+ + +
+ 85.96% + Lines + 1017/1183 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FileStatementsBranchesFunctionsLines
src +
+
83.89%568/67787.93%102/11684.84%28/3383.89%568/677
src/utils +
+
87.52%400/457100%92/9282.6%19/2387.52%400/457
tests/acceptance +
+
100%3/3100%1/1100%0/0100%3/3
tests/helpers +
+
100%46/46100%7/766.66%4/6100%46/46
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/prettify.css b/node_modules/fluent-ffmpeg/coverage/lcov-report/prettify.css new file mode 100644 index 0000000..b317a7c --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/prettify.css @@ -0,0 +1 @@ +.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee} diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/prettify.js b/node_modules/fluent-ffmpeg/coverage/lcov-report/prettify.js new file mode 100644 index 0000000..b322523 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/prettify.js @@ -0,0 +1,2 @@ +/* eslint-disable */ +window.PR_SHOULD_USE_CONTINUATION=true;(function(){var h=["break,continue,do,else,for,if,return,while"];var u=[h,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"];var p=[u,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"];var l=[p,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"];var x=[p,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"];var R=[x,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"];var r="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes";var w=[p,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"];var s="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END";var I=[h,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"];var f=[h,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"];var H=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"];var A=[l,R,w,s+I,f,H];var e=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/;var C="str";var z="kwd";var j="com";var O="typ";var G="lit";var L="pun";var F="pln";var m="tag";var E="dec";var J="src";var P="atn";var n="atv";var N="nocode";var M="(?:^^\\.?|[+-]|\\!|\\!=|\\!==|\\#|\\%|\\%=|&|&&|&&=|&=|\\(|\\*|\\*=|\\+=|\\,|\\-=|\\->|\\/|\\/=|:|::|\\;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\@|\\[|\\^|\\^=|\\^\\^|\\^\\^=|\\{|\\||\\|=|\\|\\||\\|\\|=|\\~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function k(Z){var ad=0;var S=false;var ac=false;for(var V=0,U=Z.length;V122)){if(!(al<65||ag>90)){af.push([Math.max(65,ag)|32,Math.min(al,90)|32])}if(!(al<97||ag>122)){af.push([Math.max(97,ag)&~32,Math.min(al,122)&~32])}}}}af.sort(function(av,au){return(av[0]-au[0])||(au[1]-av[1])});var ai=[];var ap=[NaN,NaN];for(var ar=0;arat[0]){if(at[1]+1>at[0]){an.push("-")}an.push(T(at[1]))}}an.push("]");return an.join("")}function W(al){var aj=al.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g"));var ah=aj.length;var an=[];for(var ak=0,am=0;ak=2&&ai==="["){aj[ak]=X(ag)}else{if(ai!=="\\"){aj[ak]=ag.replace(/[a-zA-Z]/g,function(ao){var ap=ao.charCodeAt(0);return"["+String.fromCharCode(ap&~32,ap|32)+"]"})}}}}return aj.join("")}var aa=[];for(var V=0,U=Z.length;V=0;){S[ac.charAt(ae)]=Y}}var af=Y[1];var aa=""+af;if(!ag.hasOwnProperty(aa)){ah.push(af);ag[aa]=null}}ah.push(/[\0-\uffff]/);V=k(ah)})();var X=T.length;var W=function(ah){var Z=ah.sourceCode,Y=ah.basePos;var ad=[Y,F];var af=0;var an=Z.match(V)||[];var aj={};for(var ae=0,aq=an.length;ae=5&&"lang-"===ap.substring(0,5);if(am&&!(ai&&typeof ai[1]==="string")){am=false;ap=J}if(!am){aj[ag]=ap}}var ab=af;af+=ag.length;if(!am){ad.push(Y+ab,ap)}else{var al=ai[1];var ak=ag.indexOf(al);var ac=ak+al.length;if(ai[2]){ac=ag.length-ai[2].length;ak=ac-al.length}var ar=ap.substring(5);B(Y+ab,ag.substring(0,ak),W,ad);B(Y+ab+ak,al,q(ar,al),ad);B(Y+ab+ac,ag.substring(ac),W,ad)}}ah.decorations=ad};return W}function i(T){var W=[],S=[];if(T.tripleQuotedStrings){W.push([C,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""])}else{if(T.multiLineStrings){W.push([C,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"])}else{W.push([C,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"])}}if(T.verbatimStrings){S.push([C,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null])}var Y=T.hashComments;if(Y){if(T.cStyleComments){if(Y>1){W.push([j,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"])}else{W.push([j,/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"])}S.push([C,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,null])}else{W.push([j,/^#[^\r\n]*/,null,"#"])}}if(T.cStyleComments){S.push([j,/^\/\/[^\r\n]*/,null]);S.push([j,/^\/\*[\s\S]*?(?:\*\/|$)/,null])}if(T.regexLiterals){var X=("/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/");S.push(["lang-regex",new RegExp("^"+M+"("+X+")")])}var V=T.types;if(V){S.push([O,V])}var U=(""+T.keywords).replace(/^ | $/g,"");if(U.length){S.push([z,new RegExp("^(?:"+U.replace(/[\s,]+/g,"|")+")\\b"),null])}W.push([F,/^\s+/,null," \r\n\t\xA0"]);S.push([G,/^@[a-z_$][a-z_$@0-9]*/i,null],[O,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[F,/^[a-z_$][a-z_$@0-9]*/i,null],[G,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[F,/^\\[\s\S]?/,null],[L,/^.[^\s\w\.$@\'\"\`\/\#\\]*/,null]);return g(W,S)}var K=i({keywords:A,hashComments:true,cStyleComments:true,multiLineStrings:true,regexLiterals:true});function Q(V,ag){var U=/(?:^|\s)nocode(?:\s|$)/;var ab=/\r\n?|\n/;var ac=V.ownerDocument;var S;if(V.currentStyle){S=V.currentStyle.whiteSpace}else{if(window.getComputedStyle){S=ac.defaultView.getComputedStyle(V,null).getPropertyValue("white-space")}}var Z=S&&"pre"===S.substring(0,3);var af=ac.createElement("LI");while(V.firstChild){af.appendChild(V.firstChild)}var W=[af];function ae(al){switch(al.nodeType){case 1:if(U.test(al.className)){break}if("BR"===al.nodeName){ad(al);if(al.parentNode){al.parentNode.removeChild(al)}}else{for(var an=al.firstChild;an;an=an.nextSibling){ae(an)}}break;case 3:case 4:if(Z){var am=al.nodeValue;var aj=am.match(ab);if(aj){var ai=am.substring(0,aj.index);al.nodeValue=ai;var ah=am.substring(aj.index+aj[0].length);if(ah){var ak=al.parentNode;ak.insertBefore(ac.createTextNode(ah),al.nextSibling)}ad(al);if(!ai){al.parentNode.removeChild(al)}}}break}}function ad(ak){while(!ak.nextSibling){ak=ak.parentNode;if(!ak){return}}function ai(al,ar){var aq=ar?al.cloneNode(false):al;var ao=al.parentNode;if(ao){var ap=ai(ao,1);var an=al.nextSibling;ap.appendChild(aq);for(var am=an;am;am=an){an=am.nextSibling;ap.appendChild(am)}}return aq}var ah=ai(ak.nextSibling,0);for(var aj;(aj=ah.parentNode)&&aj.nodeType===1;){ah=aj}W.push(ah)}for(var Y=0;Y=S){ah+=2}if(V>=ap){Z+=2}}}var t={};function c(U,V){for(var S=V.length;--S>=0;){var T=V[S];if(!t.hasOwnProperty(T)){t[T]=U}else{if(window.console){console.warn("cannot override language handler %s",T)}}}}function q(T,S){if(!(T&&t.hasOwnProperty(T))){T=/^\s*]*(?:>|$)/],[j,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[L,/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);c(g([[F,/^[\s]+/,null," \t\r\n"],[n,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[[m,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[P,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[L,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]);c(g([],[[n,/^[\s\S]+/]]),["uq.val"]);c(i({keywords:l,hashComments:true,cStyleComments:true,types:e}),["c","cc","cpp","cxx","cyc","m"]);c(i({keywords:"null,true,false"}),["json"]);c(i({keywords:R,hashComments:true,cStyleComments:true,verbatimStrings:true,types:e}),["cs"]);c(i({keywords:x,cStyleComments:true}),["java"]);c(i({keywords:H,hashComments:true,multiLineStrings:true}),["bsh","csh","sh"]);c(i({keywords:I,hashComments:true,multiLineStrings:true,tripleQuotedStrings:true}),["cv","py"]);c(i({keywords:s,hashComments:true,multiLineStrings:true,regexLiterals:true}),["perl","pl","pm"]);c(i({keywords:f,hashComments:true,multiLineStrings:true,regexLiterals:true}),["rb"]);c(i({keywords:w,cStyleComments:true,regexLiterals:true}),["js"]);c(i({keywords:r,hashComments:3,cStyleComments:true,multilineStrings:true,tripleQuotedStrings:true,regexLiterals:true}),["coffee"]);c(g([],[[C,/^[\s\S]+/]]),["regex"]);function d(V){var U=V.langExtension;try{var S=a(V.sourceNode);var T=S.sourceCode;V.sourceCode=T;V.spans=S.spans;V.basePos=0;q(U,T)(V);D(V)}catch(W){if("console" in window){console.log(W&&W.stack?W.stack:W)}}}function y(W,V,U){var S=document.createElement("PRE");S.innerHTML=W;if(U){Q(S,U)}var T={langExtension:V,numberLines:U,sourceNode:S};d(T);return S.innerHTML}function b(ad){function Y(af){return document.getElementsByTagName(af)}var ac=[Y("pre"),Y("code"),Y("xmp")];var T=[];for(var aa=0;aa=0){var ah=ai.match(ab);var am;if(!ah&&(am=o(aj))&&"CODE"===am.tagName){ah=am.className.match(ab)}if(ah){ah=ah[1]}var al=false;for(var ak=aj.parentNode;ak;ak=ak.parentNode){if((ak.tagName==="pre"||ak.tagName==="code"||ak.tagName==="xmp")&&ak.className&&ak.className.indexOf("prettyprint")>=0){al=true;break}}if(!al){var af=aj.className.match(/\blinenums\b(?::(\d+))?/);af=af?af[1]&&af[1].length?+af[1]:true:false;if(af){Q(aj,af)}S={langExtension:ah,sourceNode:aj,numberLines:af};d(S)}}}if(X]*(?:>|$)/],[PR.PR_COMMENT,/^<\!--[\s\S]*?(?:-\->|$)/],[PR.PR_PUNCTUATION,/^(?:<[%?]|[%?]>)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-handlebars",/^]*type\s*=\s*['"]?text\/x-handlebars-template['"]?\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i],[PR.PR_DECLARATION,/^{{[#^>/]?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{&?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{{>?\s*[\w.][^}]*}}}/],[PR.PR_COMMENT,/^{{![^}]*}}/]]),["handlebars","hbs"]);PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_PLAIN,/^[ \t\r\n\f]+/,null," \t\r\n\f"]],[[PR.PR_STRING,/^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/,null],[PR.PR_STRING,/^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/,null],["lang-css-str",/^url\(([^\)\"\']*)\)/i],[PR.PR_KEYWORD,/^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i],[PR.PR_COMMENT,/^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//],[PR.PR_COMMENT,/^(?:)/],[PR.PR_LITERAL,/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],[PR.PR_LITERAL,/^#(?:[0-9a-f]{3}){1,2}/i],[PR.PR_PLAIN,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i],[PR.PR_PUNCTUATION,/^[^\s\w\'\"]+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_KEYWORD,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_STRING,/^[^\)\"\']+/]]),["css-str"]); diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/regexp.js.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/regexp.js.html new file mode 100644 index 0000000..2fcd313 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/regexp.js.html @@ -0,0 +1,136 @@ + + + + + + Code coverage report for regexp.js + + + + + + + + + +
+
+

All files regexp.js

+
+ +
+ 100% + Statements + 17/17 +
+ + +
+ 100% + Branches + 1/1 +
+ + +
+ 100% + Functions + 0/0 +
+ + +
+ 100% + Lines + 17/17 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +181x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x + 
"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.capCodecDecodersRegexp = exports.capCodecEncodersRegexp = exports.capCodecRegexp = exports.capFormatRegexp = exports.filterNeedsEscapeRegexp = exports.codecEndRegexp = exports.codecOutputRegexp = exports.codecVideoRegexp = exports.codecAudioRegexp = exports.codecDurRegexp = exports.codecInputRegexp = exports.nlRegexp = exports.protocolRegexp = exports.streamRegexp = void 0;
+exports.streamRegexp = /^\[?(.*?)\]?$/;
+exports.protocolRegexp = /^([a-z]{2}):/i;
+exports.nlRegexp = /\r\n|\r|\n/g;
+exports.codecInputRegexp = /Input #[0-9]+, ([^ ]+),/;
+exports.codecDurRegexp = /Duration\: ([^,]+)/;
+exports.codecAudioRegexp = /Audio\: (.*)/;
+exports.codecVideoRegexp = /Video\: (.*)/;
+exports.codecOutputRegexp = /Output #\d+/;
+exports.codecEndRegexp = /Stream mapping:|Press (\[q\]|ctrl-c) to stop/;
+exports.filterNeedsEscapeRegexp = /[,]/;
+exports.capFormatRegexp = /^\s*([D ])([E ]) ([^ ]+) +(.*)$/;
+exports.capCodecRegexp = /^\s*([D\.])([E\.])([VASDT])([I\.])([L\.])([S\.]) ([^ ]+) +(.*)$/;
+exports.capCodecEncodersRegexp = /\(encoders:([^\)]+)\)/;
+exports.capCodecDecodersRegexp = /\(decoders:([^\)]+)\)/;
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/regexp.ts.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/regexp.ts.html new file mode 100644 index 0000000..735d824 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/regexp.ts.html @@ -0,0 +1,142 @@ + + + + + + Code coverage report for regexp.ts + + + + + + + + + +
+
+

All files regexp.ts

+
+ +
+ 100% + Statements + 19/19 +
+ + +
+ 100% + Branches + 0/0 +
+ + +
+ 100% + Functions + 0/0 +
+ + +
+ 100% + Lines + 19/19 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +201x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x + 
export const streamRegexp = /^\[?(.*?)\]?$/
+ 
+export const protocolRegexp = /^([a-z]{2}):/i
+ 
+export const nlRegexp = /\r\n|\r|\n/g
+ 
+export const codecInputRegexp = /Input #[0-9]+, ([^ ]+),/
+export const codecDurRegexp = /Duration\: ([^,]+)/
+export const codecAudioRegexp = /Audio\: (.*)/
+export const codecVideoRegexp = /Video\: (.*)/
+export const codecOutputRegexp = /Output #\d+/
+export const codecEndRegexp = /Stream mapping:|Press (\[q\]|ctrl-c) to stop/
+ 
+export const filterNeedsEscapeRegexp = /[,]/
+ 
+export const capFormatRegexp = /^\s*([D ])([E ]) ([^ ]+) +(.*)$/
+export const capCodecRegexp = /^\s*([D\.])([E\.])([VASDT])([I\.])([L\.])([S\.]) ([^ ]+) +(.*)$/
+export const capCodecEncodersRegexp = /\(encoders:([^\)]+)\)/;
+export const capCodecDecodersRegexp = /\(decoders:([^\)]+)\)/;
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/sort-arrow-sprite.png b/node_modules/fluent-ffmpeg/coverage/lcov-report/sort-arrow-sprite.png new file mode 100644 index 0000000000000000000000000000000000000000..6ed68316eb3f65dec9063332d2f69bf3093bbfab GIT binary patch literal 138 zcmV;50CoR~P))4E7Y6CXiSbGjHWr%%L9Y-D1e};Mul&b_p(-#XV8&u7 sz~z'; + } + } + return cols; + } + // attaches a data attribute to every tr element with an object + // of data values keyed by column name + function loadRowData(tableRow) { + var tableCols = tableRow.querySelectorAll('td'), + colNode, + col, + data = {}, + i, + val; + for (i = 0; i < tableCols.length; i += 1) { + colNode = tableCols[i]; + col = cols[i]; + val = colNode.getAttribute('data-value'); + if (col.type === 'number') { + val = Number(val); + } + data[col.key] = val; + } + return data; + } + // loads all row data + function loadData() { + var rows = getTableBody().querySelectorAll('tr'), + i; + + for (i = 0; i < rows.length; i += 1) { + rows[i].data = loadRowData(rows[i]); + } + } + // sorts the table using the data for the ith column + function sortByIndex(index, desc) { + var key = cols[index].key, + sorter = function(a, b) { + a = a.data[key]; + b = b.data[key]; + return a < b ? -1 : a > b ? 1 : 0; + }, + finalSorter = sorter, + tableBody = document.querySelector('.coverage-summary tbody'), + rowNodes = tableBody.querySelectorAll('tr'), + rows = [], + i; + + if (desc) { + finalSorter = function(a, b) { + return -1 * sorter(a, b); + }; + } + + for (i = 0; i < rowNodes.length; i += 1) { + rows.push(rowNodes[i]); + tableBody.removeChild(rowNodes[i]); + } + + rows.sort(finalSorter); + + for (i = 0; i < rows.length; i += 1) { + tableBody.appendChild(rows[i]); + } + } + // removes sort indicators for current column being sorted + function removeSortIndicators() { + var col = getNthColumn(currentSort.index), + cls = col.className; + + cls = cls.replace(/ sorted$/, '').replace(/ sorted-desc$/, ''); + col.className = cls; + } + // adds sort indicators for current column being sorted + function addSortIndicators() { + getNthColumn(currentSort.index).className += currentSort.desc + ? ' sorted-desc' + : ' sorted'; + } + // adds event listeners for all sorter widgets + function enableUI() { + var i, + el, + ithSorter = function ithSorter(i) { + var col = cols[i]; + + return function() { + var desc = col.defaultDescSort; + + if (currentSort.index === i) { + desc = !currentSort.desc; + } + sortByIndex(i, desc); + removeSortIndicators(); + currentSort.index = i; + currentSort.desc = desc; + addSortIndicators(); + }; + }; + for (i = 0; i < cols.length; i += 1) { + if (cols[i].sortable) { + // add the click event handler on the th so users + // dont have to click on those tiny arrows + el = getNthColumn(i).querySelector('.sorter').parentElement; + if (el.addEventListener) { + el.addEventListener('click', ithSorter(i)); + } else { + el.attachEvent('onclick', ithSorter(i)); + } + } + } + } + // adds sorting functionality to the UI + return function() { + if (!getTable()) { + return; + } + cols = loadColumns(); + loadData(); + addSearchBox(); + addSortIndicators(); + enableUI(); + }; +})(); + +window.addEventListener('load', addSorting); diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/src/capabilities.ts.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/capabilities.ts.html new file mode 100644 index 0000000..dbcce3a --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/capabilities.ts.html @@ -0,0 +1,304 @@ + + + + + + Code coverage report for src/capabilities.ts + + + + + + + + + +
+
+

All files / src capabilities.ts

+
+ +
+ 75.34% + Statements + 55/73 +
+ + +
+ 85.71% + Branches + 6/7 +
+ + +
+ 57.14% + Functions + 4/7 +
+ + +
+ 75.34% + Lines + 55/73 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +741x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +1x +1x +2x +2x +2x +2x +2x +2x +1x +1x +2x +2x +2x +2x +2x +  +  +  +  +  +  +2x +2x +  +  +  +  +  +  +2x +2x +  +  +  +  +  +  +2x + 
import { FfmpegProcess } from './process'
+import {
+  FfmpegCodecs,
+  FfmpegEncoders,
+  FfmpegFilters,
+  FfmpegFormats
+} from './utils/data-types'
+import {
+  extractCodecs,
+  extractEncoders,
+  extractFilters,
+  extractFormats
+} from './utils/parsing'
+import { nlRegexp } from './utils/regexp'
+ 
+export class FfmpegCapabilities {
+  #codecs: FfmpegCodecs | null = null
+  #formats: FfmpegFormats | null = null
+  #filters: FfmpegFilters | null = null
+  #encoders: FfmpegEncoders | null = null
+  #decoders: FfmpegEncoders | null = null
+ 
+  private async getLines(arg: string): Promise<string[]> {
+    let { stdout } = await new FfmpegProcess({
+      args: [arg],
+      captureStdout: true
+    }).run()
+ 
+    return stdout.split(nlRegexp) || []
+  }
+ 
+  async codecs() {
+    // TODO note: if we ever check codecs, "copy" is also an option for output codec
+ 
+    if (!this.#codecs) {
+      this.#codecs = extractCodecs(await this.getLines('-codecs'))
+    }
+ 
+    return this.#codecs
+  }
+ 
+  async formats() {
+    if (!this.#formats) {
+      this.#formats = extractFormats(await this.getLines('-formats'))
+    }
+ 
+    return this.#formats
+  }
+ 
+  async filters() {
+    if (!this.#filters) {
+      this.#filters = extractFilters(await this.getLines('-filters'))
+    }
+
+    return this.#filters
+  }
+ 
+  async encoders() {
+    if (!this.#encoders) {
+      this.#encoders = extractEncoders(await this.getLines('-encoders'))
+    }
+
+    return this.#encoders
+  }
+ 
+  async decoders() {
+    if (!this.#decoders) {
+      this.#decoders = extractEncoders(await this.getLines('-decoders'))
+    }
+
+    return this.#decoders
+  }
+}
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/src/command.ts.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/command.ts.html new file mode 100644 index 0000000..495e2c9 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/command.ts.html @@ -0,0 +1,403 @@ + + + + + + Code coverage report for src/command.ts + + + + + + + + + +
+
+

All files / src command.ts

+
+ +
+ 69.81% + Statements + 74/106 +
+ + +
+ 72.72% + Branches + 16/22 +
+ + +
+ 80% + Functions + 4/5 +
+ + +
+ 69.81% + Lines + 74/106 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +74 +75 +76 +77 +78 +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89 +90 +91 +92 +93 +94 +95 +96 +97 +98 +99 +100 +101 +102 +103 +104 +105 +106 +1071x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +5x +5x +5x +5x +5x +5x +5x +5x +3x +1x +1x +2x +2x +2x +4x +5x +  +  +  +  +  +  +4x +5x +5x +5x +5x +5x +5x +5x +5x +5x +5x +5x +5x +5x +5x +5x +4x +1x +1x +3x +4x +  +  +4x +5x +5x +3x +3x +3x +5x +5x +3x +3x +3x +3x +  +  +3x +3x +  +  +  +3x +3x +  +  +3x +3x +3x +5x +5x +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +5x + 
import { Readable, Writable } from 'node:stream'
+import { FfmpegInput, InputDefinition } from './input'
+import { FfmpegOutput, OutputDefinition } from './output'
+import { FfmpegProcess, RunResult, RunOptions, ProcessOptions } from './process'
+import { FilterGraph, generateFilterGraph } from './utils/filters'
+ 
+export type CommandOptions = {
+  input?: InputDefinition
+  inputs?: InputDefinition[]
+  output?: OutputDefinition
+  outputs?: OutputDefinition[]
+  complexFilters?: FilterGraph
+  customArgs?: string[]
+}
+ 
+export class FfmpegCommand implements CommandOptions {
+  inputs: FfmpegInput[]
+  outputs: FfmpegOutput[]
+  complexFilters?: FilterGraph
+  customArgs: string[]
+ 
+  constructor(options: CommandOptions) {
+    if (options.input) {
+      if (options.inputs) {
+        throw new Error("Cannot specify both 'input' and 'inputs'")
+      }
+ 
+      options.inputs = [options.input]
+    }
+ 
+    if (options.output) {
+      if (options.outputs) {
+        throw new Error("Cannot specify both 'output' and 'outputs'")
+      }
+
+      options.outputs = [options.output]
+    }
+ 
+    this.inputs = (options.inputs || []).map(
+      (inputOptions) => new FfmpegInput(inputOptions)
+    )
+ 
+    this.outputs = (options.outputs || []).map(
+      (outputOptions) => new FfmpegOutput(outputOptions)
+    )
+ 
+    this.complexFilters = options.complexFilters
+    this.customArgs = options.customArgs || []
+ 
+    this.#validateIO()
+  }
+ 
+  #validateIO(): void {
+    if (this.inputs.filter((i) => i.isStream).length > 1) {
+      throw new Error(`At most one stream input is supported`)
+    }
+ 
+    if (this.outputs.filter((o) => o.isStream).length > 1) {
+      throw new Error(`At most one stream output is supported`)
+    }
+  }
+ 
+  getFfmpegArguments(): string[] {
+    let args: string[] = []
+ 
+    for (let input of this.inputs) {
+      args.push(...input.getFfmpegArguments())
+    }
+ 
+    args.push(...this.customArgs)
+ 
+    if (this.complexFilters) {
+      args.push('-filter_complex', generateFilterGraph(this.complexFilters))
+    }
+ 
+    if (this.outputs.some((o) => o.isLocalFile)) {
+      // Force overwrite outputs
+      args.push('-y')
+    }
+ 
+    for (let output of this.outputs) {
+      args.push(...output.getFfmpegArguments())
+    }
+ 
+    return args
+  }
+ 
+  run(options: RunOptions): Promise<RunResult> {
+    let procOtions: ProcessOptions = {
+      args: this.getFfmpegArguments(),
+      ...options
+    }
+
+    let streamInput = this.inputs.find((i) => i.isStream)
+    if (streamInput) {
+      procOtions.inputStream = streamInput.source as Readable
+    }
+
+    let streamOutput = this.outputs.find((i) => i.isStream)
+    if (streamOutput) {
+      procOtions.outputStream = streamOutput.target as Writable
+    }
+
+    return new FfmpegProcess(procOtions).run()
+  }
+}
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/src/index.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/index.html new file mode 100644 index 0000000..1fa104c --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/index.html @@ -0,0 +1,191 @@ + + + + + + Code coverage report for src + + + + + + + + + +
+
+

All files src

+
+ +
+ 83.89% + Statements + 568/677 +
+ + +
+ 87.93% + Branches + 102/116 +
+ + +
+ 84.84% + Functions + 28/33 +
+ + +
+ 83.89% + Lines + 568/677 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FileStatementsBranchesFunctionsLines
capabilities.ts +
+
75.34%55/7385.71%6/757.14%4/775.34%55/73
command.ts +
+
69.81%74/10672.72%16/2280%4/569.81%74/106
input.ts +
+
100%92/92100%21/21100%7/7100%92/92
main.ts +
+
0%0/320%0/10%0/10%0/32
output.ts +
+
97.97%194/19893.75%30/32100%9/997.97%194/198
process.ts +
+
86.93%153/17687.87%29/33100%4/486.93%153/176
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/src/input.ts.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/input.ts.html new file mode 100644 index 0000000..3fb4988 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/input.ts.html @@ -0,0 +1,361 @@ + + + + + + Code coverage report for src/input.ts + + + + + + + + + +
+
+

All files / src input.ts

+
+ +
+ 100% + Statements + 92/92 +
+ + +
+ 100% + Branches + 21/21 +
+ + +
+ 100% + Functions + 7/7 +
+ + +
+ 100% + Lines + 92/92 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +74 +75 +76 +77 +78 +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89 +90 +91 +92 +931x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +21x +21x +21x +21x +21x +21x +21x +21x +21x +21x +12x +12x +21x +21x +21x +21x +21x +21x +21x +21x +21x +21x +15x +15x +21x +21x +8x +2x +8x +6x +6x +6x +8x +21x +21x +11x +8x +11x +3x +3x +11x +21x +21x +11x +11x +11x +2x +2x +11x +11x +1x +11x +2x +2x +11x +11x +1x +1x +11x +11x +1x +1x +11x +11x +11x +21x +21x +11x +11x +11x +11x +11x +11x +11x +21x + 
import { Readable } from 'node:stream'
+ 
+import { protocolRegexp } from './utils/regexp'
+ 
+export type InputSource = string | Readable
+ 
+export type InputOptions = {
+  source: InputSource
+  format?: string
+  fps?: 'native' | number
+  seek?: string | number
+  loop?: boolean
+  customArgs?: string[]
+}
+ 
+export type InputDefinition = InputOptions | InputSource
+ 
+export class FfmpegInput implements InputOptions {
+  source: InputSource
+  format?: string
+  fps?: 'native' | number
+  seek?: string | number
+  loop?: boolean
+  customArgs: string[]
+ 
+  constructor(options: InputDefinition) {
+    if (typeof options === 'string' || options instanceof Readable) {
+      options = { source: options }
+    }
+ 
+    this.source = options.source
+    this.format = options.format
+    this.fps = options.fps
+    this.seek = options.seek
+    this.loop = options.loop
+    this.customArgs = options.customArgs || []
+  }
+ 
+  get isStream(): boolean {
+    return this.source instanceof Readable
+  }
+ 
+  get isLocalFile(): boolean {
+    if (this.source instanceof Readable || this.format === 'lavfi') {
+      return false
+    } else {
+      let protocol = this.source.match(protocolRegexp)
+      return !protocol || protocol[1] === 'file'
+    }
+  }
+ 
+  #getSourceString(): string {
+    if (typeof this.source === 'string') {
+      return this.source
+    } else {
+      return 'pipe:0'
+    }
+  }
+ 
+  #getOptions(): string[] {
+    let options: string[] = []
+ 
+    if (this.format) {
+      options.push('-f', this.format)
+    }
+ 
+    if (this.fps === 'native') {
+      options.push('-re')
+    } else if (this.fps) {
+      options.push('-r', this.fps.toString())
+    }
+ 
+    if (this.seek) {
+      options.push('-ss', this.seek.toString())
+    }
+ 
+    if (this.loop) {
+      options.push('-loop', '1')
+    }
+ 
+    return options
+  }
+ 
+  getFfmpegArguments(): string[] {
+    return [
+      ...this.#getOptions(),
+      ...this.customArgs,
+      '-i',
+      this.#getSourceString()
+    ]
+  }
+}
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/src/main.ts.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/main.ts.html new file mode 100644 index 0000000..2615af1 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/main.ts.html @@ -0,0 +1,181 @@ + + + + + + Code coverage report for src/main.ts + + + + + + + + + +
+
+

All files / src main.ts

+
+ +
+ 0% + Statements + 0/32 +
+ + +
+ 0% + Branches + 0/1 +
+ + +
+ 0% + Functions + 0/1 +
+ + +
+ 0% + Lines + 0/32 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  + 
import { FfmpegCapabilities } from './capabilities'
+import { type CommandOptions, FfmpegCommand } from './command'
+import { FfmpegInput, type InputDefinition } from './input'
+import { FfmpegOutput, type OutputDefinition } from './output'
+import { FfmpegProcess, type ProcessOptions, type RunResult } from './process'
+import {
+  type ProgressInformation,
+  type InputCodecInformation,
+  type InputStreamCodecInformation
+} from './utils/data-types'
+
+export {
+  InputCodecInformation,
+  InputStreamCodecInformation,
+  CommandOptions,
+  FfmpegCapabilities,
+  FfmpegCommand,
+  FfmpegInput,
+  FfmpegOutput,
+  FfmpegProcess,
+  InputDefinition,
+  OutputDefinition,
+  ProcessOptions,
+  ProgressInformation,
+  RunResult
+}
+
+function ffmpeg(options: CommandOptions) {
+  return new FfmpegCommand(options)
+}
+
+export default ffmpeg
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/src/output.ts.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/output.ts.html new file mode 100644 index 0000000..0aedb03 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/output.ts.html @@ -0,0 +1,679 @@ + + + + + + Code coverage report for src/output.ts + + + + + + + + + +
+
+

All files / src output.ts

+
+ +
+ 97.97% + Statements + 194/198 +
+ + +
+ 93.75% + Branches + 30/32 +
+ + +
+ 100% + Functions + 9/9 +
+ + +
+ 97.97% + Lines + 194/198 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +74 +75 +76 +77 +78 +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89 +90 +91 +92 +93 +94 +95 +96 +97 +98 +99 +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 +110 +111 +112 +113 +114 +115 +116 +117 +118 +119 +120 +121 +122 +123 +124 +125 +126 +127 +128 +129 +130 +131 +132 +133 +134 +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149 +150 +151 +152 +153 +154 +155 +156 +157 +158 +159 +160 +161 +162 +163 +164 +165 +166 +167 +168 +169 +170 +171 +172 +173 +174 +175 +176 +177 +178 +179 +180 +181 +182 +183 +184 +185 +186 +187 +188 +189 +190 +191 +192 +193 +194 +195 +196 +197 +198 +1991x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +18x +18x +18x +18x +18x +18x +18x +18x +18x +18x +18x +18x +18x +5x +5x +18x +18x +18x +18x +18x +18x +18x +18x +18x +18x +18x +18x +18x +8x +8x +18x +18x +8x +2x +8x +6x +6x +6x +8x +18x +18x +10x +10x +10x +1x +10x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +  +  +1x +10x +10x +10x +18x +18x +10x +10x +10x +1x +10x +2x +1x +1x +2x +2x +2x +2x +2x +2x +1x +1x +1x +1x +1x +1x +1x +1x +1x +2x +2x +2x +1x +1x +2x +2x +1x +1x +2x +2x +  +  +2x +2x +2x +10x +10x +10x +18x +18x +10x +10x +10x +1x +1x +10x +10x +1x +1x +10x +10x +2x +2x +10x +10x +1x +1x +10x +10x +10x +18x +18x +10x +9x +10x +1x +1x +10x +18x +18x +10x +10x +10x +10x +10x +10x +10x +10x +18x + 
import { Writable } from 'node:stream'
+ 
+import { protocolRegexp } from './utils/regexp'
+import { formatBitrate } from './utils/formatting'
+import { FilterChain, generateFilterChain } from './utils/filters'
+ 
+export type OutputAudioOptions = {
+  codec?: string
+  bitrate?: string | number
+  channels?: number
+  frequency?: number
+  quality?: number
+  filters?: FilterChain
+}
+ 
+export type OutputVideoOptions = {
+  codec?: string
+  bitrate?: string | number
+  constantBitrate?: boolean
+  fps?: number
+  frames?: number
+  filters?: FilterChain
+}
+ 
+type OutputTarget = string | Writable
+ 
+export type OutputOptions = {
+  target: OutputTarget
+  seek?: string | number
+  duration?: string | number
+  format?: string
+  map?: string
+  customArgs?: string[]
+ 
+  audio?: false | OutputAudioOptions
+  video?: false | OutputVideoOptions
+}
+ 
+export type OutputDefinition = OutputTarget | OutputOptions
+ 
+export class FfmpegOutput implements OutputOptions {
+  target: OutputTarget
+  seek?: string | number
+  duration?: string | number
+  format?: string
+  map?: string
+  customArgs: string[]
+ 
+  audio?: false | OutputAudioOptions
+  video?: false | OutputVideoOptions
+ 
+  constructor(options: OutputDefinition) {
+    if (typeof options === 'string' || options instanceof Writable) {
+      options = { target: options }
+    }
+ 
+    this.target = options.target
+    this.seek = options.seek
+    this.duration = options.duration
+    this.format = options.format
+    this.map = options.map
+    this.customArgs = options.customArgs || []
+ 
+    this.audio = options.audio
+    this.video = options.video
+  }
+ 
+  get isStream(): boolean {
+    return this.target instanceof Writable
+  }
+ 
+  get isLocalFile(): boolean {
+    if (this.target instanceof Writable) {
+      return false
+    } else {
+      let protocol = this.target.match(protocolRegexp)
+      return !protocol || protocol[1] === 'file'
+    }
+  }
+ 
+  #getAudioOptions(): string[] {
+    let options: string[] = []
+ 
+    if (this.audio === false) {
+      options.push('-an')
+    } else if (this.audio) {
+      if (this.audio.codec) {
+        options.push('-acodec', this.audio.codec)
+      }
+ 
+      if (this.audio.bitrate) {
+        options.push('-b:a', formatBitrate(this.audio.bitrate))
+      }
+ 
+      if (this.audio.channels) {
+        options.push('-ac', this.audio.channels.toString())
+      }
+ 
+      if (this.audio.frequency) {
+        options.push('-ar', this.audio.frequency.toString())
+      }
+ 
+      if (this.audio.quality) {
+        options.push('-aq', this.audio.quality.toString())
+      }
+ 
+      if (this.audio.filters) {
+        options.push('-filter:a', generateFilterChain(this.audio.filters))
+      }
+    }
+ 
+    return options
+  }
+ 
+  #getVideoOptions(): string[] {
+    let options: string[] = []
+ 
+    if (this.video === false) {
+      options.push('-vn')
+    } else if (this.video) {
+      if (this.video.codec) {
+        options.push('-vcodec', this.video.codec)
+      }
+ 
+      if (this.video.bitrate) {
+        let bitrate = formatBitrate(this.video.bitrate)
+        options.push('-b:v', bitrate)
+ 
+        if (this.video.constantBitrate) {
+          options.push(
+            '-minrate',
+            bitrate,
+            '-maxrate',
+            bitrate,
+            '-bufsize',
+            bitrate
+          )
+        }
+      }
+ 
+      if (this.video.fps) {
+        options.push('-r', this.video.fps.toString())
+      }
+ 
+      if (this.video.frames) {
+        options.push('-vframes', this.video.frames.toString())
+      }
+ 
+      if (this.video.filters) {
+        options.push('-filter:v', generateFilterChain(this.video.filters))
+      }
+ 
+      // todo size filters
+    }
+ 
+    return options
+  }
+ 
+  #getOptions(): string[] {
+    let options: string[] = []
+ 
+    if (this.seek) {
+      options.push('-ss', this.seek.toString())
+    }
+ 
+    if (this.duration) {
+      options.push('-t', this.duration.toString())
+    }
+ 
+    if (this.format) {
+      options.push('-f', this.format)
+    }
+ 
+    if (this.map) {
+      options.push('-map', this.map)
+    }
+ 
+    return options
+  }
+ 
+  #getOutputString(): string {
+    if (typeof this.target === 'string') {
+      return this.target
+    } else {
+      return 'pipe:1'
+    }
+  }
+ 
+  getFfmpegArguments(): string[] {
+    return [
+      ...this.#getAudioOptions(),
+      ...this.#getVideoOptions(),
+      ...this.#getOptions(),
+      ...this.customArgs,
+      this.#getOutputString()
+    ]
+  }
+}
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/src/process.ts.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/process.ts.html new file mode 100644 index 0000000..2187482 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/process.ts.html @@ -0,0 +1,613 @@ + + + + + + Code coverage report for src/process.ts + + + + + + + + + +
+
+

All files / src process.ts

+
+ +
+ 86.93% + Statements + 153/176 +
+ + +
+ 87.87% + Branches + 29/33 +
+ + +
+ 100% + Functions + 4/4 +
+ + +
+ 86.93% + Lines + 153/176 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +74 +75 +76 +77 +78 +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89 +90 +91 +92 +93 +94 +95 +96 +97 +98 +99 +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 +110 +111 +112 +113 +114 +115 +116 +117 +118 +119 +120 +121 +122 +123 +124 +125 +126 +127 +128 +129 +130 +131 +132 +133 +134 +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149 +150 +151 +152 +153 +154 +155 +156 +157 +158 +159 +160 +161 +162 +163 +164 +165 +166 +167 +168 +169 +170 +171 +172 +173 +174 +175 +176 +1771x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +  +  +  +  +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +1x +1x +1x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +1x +1x +16x +16x +1x +5x +5x +2x +2x +1x +1x +16x +16x +1x +1x +11x +7x +7x +1x +1x +16x +16x +16x +16x +14x +14x +14x +14x +1x +14x +2x +2x +2x +2x +1x +1x +2x +2x +13x +11x +11x +11x +11x +11x +16x +16x +16x +  +  +  +  +  +  +  +  +  +  +  +16x +16x +16x +16x +  +  +  +  +  +  +  +  +16x +1x +1x +16x +16x +16x +2x +2x +2x +2x +2x +16x +16x +16x +16x + 
import { spawn } from 'node:child_process'
+ 
+import { isWindows } from './utils/platform'
+import {
+  extractErrorMessage,
+  extractProgress,
+  CodecDataExtractor
+} from './utils/parsing'
+import LineBuffer from './utils/line-buffer'
+import { InputCodecInformation, ProgressInformation } from './utils/data-types'
+import { Readable, Writable } from 'node:stream'
+ 
+export type RunResult = {
+  stderr: string
+  stdout: string
+}
+ 
+export type RunOptions = {
+  nice?: number
+  cwd?: string
+  timeout?: number
+  onProgress?: (progress: ProgressInformation) => void
+  onCodecData?: (data: InputCodecInformation) => void
+  onStderr?: (line: string) => void
+}
+ 
+export type ProcessOptions = RunOptions & {
+  args: string[]
+  captureStdout?: boolean
+  inputStream?: Readable
+  outputStream?: Writable
+}
+ 
+export class FfmpegProcess implements ProcessOptions {
+  args: string[]
+  nice?: number
+  cwd?: string
+  timeout?: number
+  captureStdout?: boolean
+  inputStream?: Readable
+  outputStream?: Writable
+  onProgress?: (progress: ProgressInformation) => void
+  onCodecData?: (data: InputCodecInformation) => void
+  onStderr?: (line: string) => void
+ 
+  constructor(options: ProcessOptions) {
+    this.args = options.args
+    this.nice = options.nice
+    this.cwd = options.cwd
+    this.timeout = options.timeout
+    this.captureStdout = options.captureStdout
+    this.inputStream = options.inputStream
+    this.outputStream = options.outputStream
+    this.onProgress = options.onProgress
+    this.onCodecData = options.onCodecData
+    this.onStderr = options.onStderr
+ 
+    this.#validateOptions()
+  }
+ 
+  #validateOptions() {
+    if (this.outputStream && this.captureStdout) {
+      throw new Error(
+        "Cannot use 'captureStdout' when a stream output is present"
+      )
+    }
+  }
+ 
+  // TODO return a compound type that is PromiseLike and has methods on the process (like kill)
+  run(callback?: (err: any, result?: any) => any): Promise<RunResult> {
+    let cmd = process.env.FFMPEG_PATH || 'ffmpeg'
+    let args: string[] = [...this.args]
+ 
+    let { onProgress, onCodecData, onStderr } = this
+ 
+    if (this.nice && this.nice !== 0 && !isWindows) {
+      args = ['-n', this.nice.toString(), cmd, ...args]
+      cmd = 'nice'
+    }
+ 
+    let promise: Promise<RunResult> = new Promise((resolve, reject) => {
+      let child = spawn(cmd, args, {
+        cwd: this.cwd,
+        timeout: this.timeout,
+        windowsHide: true
+      })
+ 
+      let stderr = new LineBuffer()
+      let stdout = new LineBuffer()
+ 
+      if (onStderr) {
+        stderr.on('line', onStderr)
+      }
+ 
+      if (onProgress) {
+        stderr.on('line', (line: string) => {
+          let progress = extractProgress(line)
+          if (progress) {
+            onProgress?.(progress)
+          }
+        })
+      }
+ 
+      if (onCodecData) {
+        let extractor = new CodecDataExtractor(onCodecData)
+        stderr.on('line', (line: string) => {
+          if (!extractor.done) {
+            extractor.processLine(line)
+          }
+        })
+      }
+ 
+      child.on('error', (err) => reject(err))
+ 
+      child.on('close', (code, signal) => {
+        stderr.close()
+        stdout.close()
+ 
+        if (signal) {
+          reject(new Error(`ffmpeg was killed with signal ${signal}`))
+        } else if (code) {
+          let message = `ffmpeg exited with code ${code}`
+          let error = extractErrorMessage(stderr.lines)
+ 
+          if (error) {
+            message = `${message}:\n${error}`
+          }
+ 
+          reject(new Error(message))
+        } else {
+          resolve({
+            stdout: stdout.toString(),
+            stderr: stderr.toString()
+          })
+        }
+      })
+ 
+      if (this.inputStream) {
+        this.inputStream.pipe(child.stdin)
+        this.inputStream.on('error', (err) => {
+          // TODO make a specific error type
+          reject(err)
+
+          child.kill()
+        })
+
+        // Prevent stdin errors from bubbling up, ffmpeg will crash anyway
+        child.stdin.on('error', () => {})
+      }
+ 
+      child.stderr.on('data', (data) => stderr.append(data.toString()))
+ 
+      if (this.outputStream) {
+        child.stdout.pipe(this.outputStream)
+
+        this.outputStream.on('error', (err) => {
+          // TODO make a specific error type
+          reject(err)
+
+          child.kill()
+        })
+      } else if (this.captureStdout) {
+        child.stdout.on('data', (data) => stdout.append(data.toString()))
+      }
+    })
+ 
+    if (callback) {
+      promise.then(
+        (value) => callback(null, value),
+        (reason) => callback(reason)
+      )
+    }
+ 
+    return promise
+  }
+}
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/data-types.ts.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/data-types.ts.html new file mode 100644 index 0000000..cddbe50 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/data-types.ts.html @@ -0,0 +1,388 @@ + + + + + + Code coverage report for src/utils/data-types.ts + + + + + + + + + +
+
+

All files / src/utils data-types.ts

+
+ +
+ 0% + Statements + 0/101 +
+ + +
+ 0% + Branches + 0/1 +
+ + +
+ 0% + Functions + 0/1 +
+ + +
+ 0% + Lines + 0/101 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +74 +75 +76 +77 +78 +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89 +90 +91 +92 +93 +94 +95 +96 +97 +98 +99 +100 +101 +102  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  + 
/**
+ * Ffmpeg processing progress information
+ */
+export type ProgressInformation = {
+  /** Current frame being processed */
+  frame?: number
+  /** Current processing speed in frames per second */
+  fps?: number
+  /** Current output bitrate in kbits/s */
+  bitrate?: number
+  /** Projected output size in kB */
+  size?: number
+  /** Current timestamp */
+  time?: string
+  /** Current processing speed (compared to stream time - a speed of 2 means we process a 1h video in 30 minutes) */
+  speed?: number
+}
+
+/**
+ * Ffmpeg codec information for a single input stream
+ */
+export type InputStreamCodecInformation = {
+  /** Input format */
+  format?: string
+  /** Input duration */
+  duration?: string
+  /** Input audio codec info */
+  audio?: string
+  /** Input audio detailed information */
+  audioDetails?: string
+  /** Input video codec info */
+  video?: string
+  /** Input video detailed information */
+  videoDetails?: string
+}
+
+/**
+ * Fffmpeg process input information, as an array with one item per input stream
+ */
+export type InputCodecInformation = InputStreamCodecInformation[]
+
+export type FfmpegCodecType =
+  | 'audio'
+  | 'video'
+  | 'subtitle'
+  | 'data'
+  | 'attachment'
+
+export type FfmpegCodec = {
+  description: string
+  type: FfmpegCodecType
+  canEncode: boolean
+  canDecode: boolean
+  encoders?: string[]
+  decoders?: string[]
+  intraFrame: boolean
+  lossy: boolean
+  lossless: boolean
+}
+
+export type FfmpegCodecs = {
+  [key: string]: FfmpegCodec
+}
+
+export type FfmpegFormat = {
+  description: string
+  canMux: boolean
+  canDemux: boolean
+}
+
+export type FfmpegFormats = {
+  [key: string]: FfmpegFormat
+}
+
+export type FfmpegFilterStreamType = 'audio' | 'video'
+
+export type FfmpegFilter = {
+  description: string
+  inputs: FfmpegFilterStreamType[] | 'dynamic'
+  outputs: FfmpegFilterStreamType[] | 'dynamic'
+}
+
+export type FfmpegFilters = {
+  [key: string]: FfmpegFilter
+}
+
+export type FfmpegEncoderType = 'audio' | 'video' | 'subtitle'
+
+export type FfmpegEncoder = {
+  description: string
+  type: FfmpegEncoderType
+  frameMultithreading: boolean
+  sliceMultithreading: boolean
+  experimental: boolean
+  drawHorizBand: boolean
+  directRendering: boolean
+}
+
+export type FfmpegEncoders = {
+  [key: string]: FfmpegEncoder
+}
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/filters.ts.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/filters.ts.html new file mode 100644 index 0000000..b8e9acb --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/filters.ts.html @@ -0,0 +1,328 @@ + + + + + + Code coverage report for src/utils/filters.ts + + + + + + + + + +
+
+

All files / src/utils filters.ts

+
+ +
+ 100% + Statements + 81/81 +
+ + +
+ 100% + Branches + 22/22 +
+ + +
+ 100% + Functions + 5/5 +
+ + +
+ 100% + Lines + 81/81 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +74 +75 +76 +77 +78 +79 +80 +81 +821x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +10x +10x +6x +6x +4x +4x +4x +1x +7x +7x +2x +2x +5x +5x +5x +1x +14x +14x +14x +14x +14x +14x +14x +2x +2x +14x +14x +5x +5x +5x +2x +2x +2x +5x +3x +3x +5x +5x +5x +14x +14x +7x +7x +14x +14x +3x +3x +14x +14x +3x +3x +3x +3x +14x +14x +14x +1x +3x +3x +3x +1x +1x +1x +1x + 
export type FilterSpec = {
+  /** Filter name */
+  filter: string
+  /** Filter ID */
+  id?: string
+  /** Filter options */
+  options?: string[] | { [key: string]: string }
+  /** Filter input link labels */
+  inputs?: string[]
+  /** Filter output link labels */
+  outputs?: string[]
+}
+ 
+export type FilterChain = FilterSpec[]
+ 
+export type FilterGraph = FilterChain[]
+ 
+function escapeOption(option: string): string {
+  if (option.match(/[\\':]/)) {
+    return option.replace(/([\\':])/g, '\\$1')
+  }
+ 
+  return option
+}
+ 
+function escapeFilter(filter: string): string {
+  if (filter.match(/[\\'[\],;]/)) {
+    return filter.replace(/([\\'[\],;])/g, '\\$1')
+  }
+ 
+  return filter
+}
+ 
+export function generateFilter(
+  spec: FilterSpec,
+  escape: boolean = false
+): string {
+  let filterString = spec.filter
+ 
+  if (spec.id) {
+    filterString = `${filterString}@${spec.id}`
+  }
+ 
+  if (spec.options) {
+    let options = spec.options
+ 
+    if (!Array.isArray(options)) {
+      options = Object.entries(options).map(
+        ([key, value]) => `${key}=${escapeOption(value)}`
+      )
+    } else {
+      options = options.map((o) => escapeOption(o))
+    }
+ 
+    filterString = `${filterString}=${options.join(':')}`
+  }
+ 
+  if (escape) {
+    filterString = escapeFilter(filterString)
+  }
+ 
+  if (spec.inputs) {
+    filterString = `${spec.inputs.map((i) => `[${i}]`).join('')}${filterString}`
+  }
+ 
+  if (spec.outputs) {
+    filterString = `${filterString}${spec.outputs
+      .map((o) => `[${o}]`)
+      .join('')}`
+  }
+ 
+  return filterString
+}
+ 
+export function generateFilterChain(chain: FilterChain): string {
+  return chain.map((spec) => generateFilter(spec, true)).join(',')
+}
+ 
+export function generateFilterGraph(graph: FilterGraph): string {
+  return graph.map((chain) => generateFilterChain(chain)).join(';')
+}
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/formatting.ts.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/formatting.ts.html new file mode 100644 index 0000000..df4f8ac --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/formatting.ts.html @@ -0,0 +1,121 @@ + + + + + + Code coverage report for src/utils/formatting.ts + + + + + + + + + +
+
+

All files / src/utils formatting.ts

+
+ +
+ 100% + Statements + 12/12 +
+ + +
+ 100% + Branches + 4/4 +
+ + +
+ 100% + Functions + 1/1 +
+ + +
+ 100% + Lines + 12/12 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +136x +6x +2x +1x +1x +1x +1x +1x +6x +4x +4x +6x + 
export function formatBitrate(bitrate: number | string): string {
+  if (typeof bitrate === 'number') {
+    if (bitrate < 1024) {
+      // Assume the user means kbps
+      return `${bitrate}k`
+    } else {
+      return `${bitrate}`
+    }
+  } else {
+    return bitrate
+  }
+}
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/index.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/index.html new file mode 100644 index 0000000..d06fea7 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/index.html @@ -0,0 +1,191 @@ + + + + + + Code coverage report for src/utils + + + + + + + + + +
+
+

All files src/utils

+
+ +
+ 87.52% + Statements + 400/457 +
+ + +
+ 100% + Branches + 92/92 +
+ + +
+ 82.6% + Functions + 19/23 +
+ + +
+ 87.52% + Lines + 400/457 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FileStatementsBranchesFunctionsLines
filters.ts +
+
100%81/81100%22/22100%5/5100%81/81
formatting.ts +
+
100%12/12100%4/4100%1/1100%12/12
line-buffer.ts +
+
100%61/61100%15/15100%5/5100%61/61
parsing.ts +
+
79.64%223/280100%51/5166.66%8/1279.64%223/280
platform.ts +
+
100%3/3100%0/0100%0/0100%3/3
regexp.ts +
+
100%20/20100%0/0100%0/0100%20/20
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/line-buffer.ts.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/line-buffer.ts.html new file mode 100644 index 0000000..84e1580 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/line-buffer.ts.html @@ -0,0 +1,268 @@ + + + + + + Code coverage report for src/utils/line-buffer.ts + + + + + + + + + +
+
+

All files / src/utils line-buffer.ts

+
+ +
+ 100% + Statements + 61/61 +
+ + +
+ 100% + Branches + 15/15 +
+ + +
+ 100% + Functions + 5/5 +
+ + +
+ 100% + Lines + 61/61 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +621x +1x +1x +1x +34x +34x +34x +34x +34x +34x +34x +34x +34x +34x +34x +34x +34x +34x +30x +1x +1x +29x +29x +29x +29x +29x +2x +2x +29x +27x +5x +5x +5x +5x +27x +27x +27x +26x +26x +26x +27x +29x +30x +34x +34x +31x +1x +1x +30x +31x +5x +5x +5x +30x +30x +30x +34x +34x +23x +23x +34x + 
import EventEmitter from 'node:events'
+ 
+import { nlRegexp } from './regexp'
+ 
+export default class LineBuffer extends EventEmitter {
+  lines: string[]
+  #closed: boolean
+  #partialLine: string
+ 
+  constructor() {
+    super()
+ 
+    this.lines = []
+    this.#closed = false
+    this.#partialLine = ''
+  }
+ 
+  append(data: string): void {
+    if (this.#closed) {
+      throw new Error('LineBuffer is closed')
+    }
+ 
+    if (data.length) {
+      let appendLines = data.split(nlRegexp)
+ 
+      if (appendLines.length === 1) {
+        let [appendLine] = appendLines
+        this.#partialLine = `${this.#partialLine}${appendLine}`
+      } else {
+        if (this.#partialLine) {
+          let appendLine = `${this.#partialLine}${appendLines.shift()}`
+          this.emit('line', appendLine)
+          this.lines.push(appendLine)
+        }
+ 
+        this.#partialLine = appendLines.pop() as string
+        for (let appendLine of appendLines) {
+          this.emit('line', appendLine)
+          this.lines.push(appendLine)
+        }
+      }
+    }
+  }
+ 
+  close(): void {
+    if (this.#closed) {
+      throw new Error('LineBuffer is closed')
+    }
+ 
+    if (this.#partialLine) {
+      this.emit('line', this.#partialLine)
+      this.lines.push(this.#partialLine)
+    }
+ 
+    this.#closed = true
+  }
+ 
+  toString(): string {
+    return this.lines.join('\n')
+  }
+}
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/parsing.ts.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/parsing.ts.html new file mode 100644 index 0000000..7d94e5c --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/parsing.ts.html @@ -0,0 +1,925 @@ + + + + + + Code coverage report for src/utils/parsing.ts + + + + + + + + + +
+
+

All files / src/utils parsing.ts

+
+ +
+ 79.64% + Statements + 223/280 +
+ + +
+ 100% + Branches + 51/51 +
+ + +
+ 66.66% + Functions + 8/12 +
+ + +
+ 79.64% + Lines + 223/280 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +74 +75 +76 +77 +78 +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89 +90 +91 +92 +93 +94 +95 +96 +97 +98 +99 +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 +110 +111 +112 +113 +114 +115 +116 +117 +118 +119 +120 +121 +122 +123 +124 +125 +126 +127 +128 +129 +130 +131 +132 +133 +134 +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149 +150 +151 +152 +153 +154 +155 +156 +157 +158 +159 +160 +161 +162 +163 +164 +165 +166 +167 +168 +169 +170 +171 +172 +173 +174 +175 +176 +177 +178 +179 +180 +181 +182 +183 +184 +185 +186 +187 +188 +189 +190 +191 +192 +193 +194 +195 +196 +197 +198 +199 +200 +201 +202 +203 +204 +205 +206 +207 +208 +209 +210 +211 +212 +213 +214 +215 +216 +217 +218 +219 +220 +221 +222 +223 +224 +225 +226 +227 +228 +229 +230 +231 +232 +233 +234 +235 +236 +237 +238 +239 +240 +241 +242 +243 +244 +245 +246 +247 +248 +249 +250 +251 +252 +253 +254 +255 +256 +257 +258 +259 +260 +261 +262 +263 +264 +265 +266 +267 +268 +269 +270 +271 +272 +273 +274 +275 +276 +277 +278 +279 +280 +2811x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +7x +3x +7x +4x +4x +4x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +7x +7x +7x +7x +7x +7x +7x +21x +21x +21x +4x +4x +4x +17x +21x +6x +21x +3x +11x +2x +8x +3x +3x +3x +3x +21x +3x +3x +3x +1x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +18x +18x +2x +2x +2x +2x +2x +2x +2x +2x +16x +18x +13x +13x +2x +2x +2x +11x +11x +13x +2x +2x +2x +2x +9x +9x +13x +2x +2x +2x +2x +13x +10x +18x +1x +1x +10x +18x +3x +3x +3x +3x +3x +18x +2x +1x +5x +5x +5x +5x +5x +1x +1x +1x +1x +1x +1x +1x +7x +7x +5x +5x +5x +5x +5x +5x +5x +5x +5x +5x +5x +5x +5x +5x +3x +3x +1x +1x +1x +1x +1x +3x +5x +5x +3x +3x +1x +1x +1x +1x +1x +3x +5x +5x +5x +7x +1x +1x +1x +1x +1x +1x +1x +1x +5x +5x +3x +3x +3x +3x +3x +3x +3x +5x +1x +1x +1x +1x +  +  +  +  +  +  +  +  +  +  +  +1x +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +1x +  +  +  +  +  +1x +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  + 
import {
+  FfmpegCodec,
+  FfmpegCodecType,
+  FfmpegCodecs,
+  FfmpegEncoderType,
+  FfmpegEncoders,
+  FfmpegFilterStreamType,
+  FfmpegFilters,
+  FfmpegFormats,
+  InputCodecInformation,
+  InputStreamCodecInformation,
+  ProgressInformation
+} from './data-types'
+ 
+import {
+  capCodecDecodersRegexp,
+  capCodecEncodersRegexp,
+  capCodecRegexp,
+  capEncoderRegexp,
+  capFilterRegexp,
+  capFormatRegexp,
+  codecAudioRegexp,
+  codecDurRegexp,
+  codecEndRegexp,
+  codecInputRegexp,
+  codecOutputRegexp,
+  codecVideoRegexp
+} from './regexp'
+ 
+/**
+ * Extract an error message from ffmpeg stderr
+ *
+ * @param stderrLines stderr output from ffmpeg as an array of lines
+ * @returns error message
+ */
+export function extractErrorMessage(stderrLines: string[]): string {
+  // Return the last block of lines that don't start with a space or square bracket
+  return stderrLines
+    .reduce((messages: string[], message: string): string[] => {
+      if (message.charAt(0) === ' ' || message.charAt(0) === '[') {
+        return []
+      } else {
+        messages.push(message)
+        return messages
+      }
+    }, [])
+    .join('\n')
+}
+ 
+/**
+ * Extract progress information from ffmpeg stderr
+ *
+ * @param stderrLine a line from ffmpeg stderr
+ * @returns progress information
+ */
+export function extractProgress(
+  stderrLine: string
+): ProgressInformation | undefined {
+  let parts = stderrLine.replace(/=\s+/g, '=').trim().split(' ')
+  let progress: ProgressInformation = {}
+ 
+  for (let part of parts) {
+    let [key, value] = part.split('=', 2)
+ 
+    if (value === undefined) {
+      // Not a progress line
+      return
+    }
+ 
+    if (key === 'frame' || key === 'fps') {
+      progress[key] = Number(value)
+    } else if (key === 'bitrate') {
+      progress.bitrate = Number(value.replace('kbits/s', ''))
+    } else if (key === 'size' || key === 'Lsize') {
+      progress.size = Number(value.replace('kB', ''))
+    } else if (key === 'time') {
+      progress.time = value
+    } else if (key === 'speed') {
+      progress.speed = Number(value.replace('x', ''))
+    }
+  }
+ 
+  return progress
+}
+ 
+export class CodecDataExtractor {
+  inputs: InputStreamCodecInformation[]
+  index: number
+  inInput: boolean
+  done: boolean
+  callback: (data: InputCodecInformation) => any
+ 
+  constructor(callback: (data: InputCodecInformation) => any) {
+    this.inputs = []
+    this.index = -1
+    this.inInput = false
+    this.done = false
+    this.callback = callback
+  }
+ 
+  // TODO better output for multiple inputs / multi-stream inputs !
+  processLine(line: string) {
+    let matchFormat = line.match(codecInputRegexp)
+    if (matchFormat) {
+      this.inInput = true
+      this.index++
+      this.inputs[this.index] = {
+        format: matchFormat[1]
+      }
+ 
+      return
+    }
+ 
+    if (this.inInput) {
+      let durationMatch = line.match(codecDurRegexp)
+      if (durationMatch) {
+        this.inputs[this.index].duration = durationMatch[1]
+        return
+      }
+ 
+      let audioMatch = line.match(codecAudioRegexp)
+      if (audioMatch) {
+        this.inputs[this.index].audio = audioMatch[1].split(', ')[0]
+        this.inputs[this.index].audioDetails = audioMatch[1]
+        return
+      }
+ 
+      let videoMatch = line.match(codecVideoRegexp)
+      if (videoMatch) {
+        this.inputs[this.index].video = videoMatch[1].split(', ')[0]
+        this.inputs[this.index].videoDetails = videoMatch[1]
+        return
+      }
+    }
+ 
+    if (codecOutputRegexp.test(line)) {
+      this.inInput = false
+    }
+ 
+    if (codecEndRegexp.test(line)) {
+      this.done = true
+      let { callback } = this
+ 
+      callback(this.inputs)
+    }
+  }
+}
+ 
+function parseCodecType(type: string): FfmpegCodecType {
+  if (type === 'A') return 'audio'
+  if (type === 'V') return 'video'
+  if (type === 'S') return 'subtitle'
+  if (type === 'D') return 'data'
+  return 'attachment'
+}
+ 
+export function extractCodecs(lines: string[]): FfmpegCodecs {
+  let codecs: FfmpegCodecs = {}
+ 
+  for (let line of lines) {
+    let match = line.match(capCodecRegexp)
+    if (match) {
+      let [, decode, encode, type, intra, lossy, lossless, name, description] =
+        match
+ 
+      let codec: FfmpegCodec = {
+        description,
+        type: parseCodecType(type),
+        canEncode: encode === 'E',
+        canDecode: decode === 'D',
+        intraFrame: intra === 'I',
+        lossy: lossy === 'L',
+        lossless: lossless === 'S'
+      }
+ 
+      if (decode === 'D') {
+        let decoders = description.match(capCodecDecodersRegexp)
+        if (decoders) {
+          codec.decoders = decoders[1].trim().split(' ')
+          codec.description = codec.description
+            .replace(capCodecDecodersRegexp, '')
+            .trim()
+        }
+      }
+ 
+      if (encode === 'E') {
+        let encoders = description.match(capCodecEncodersRegexp)
+        if (encoders) {
+          codec.encoders = encoders[1].trim().split(' ')
+          codec.description = codec.description
+            .replace(capCodecEncodersRegexp, '')
+            .trim()
+        }
+      }
+ 
+      codecs[name] = codec
+    }
+  }
+ 
+  return codecs
+}
+ 
+export function extractFormats(lines: string[]): FfmpegFormats {
+  let formats: FfmpegFormats = {}
+ 
+  for (let line of lines) {
+    let match = line.match(capFormatRegexp)
+    if (match) {
+      let [, demux, mux, name, description] = match
+      formats[name] = {
+        description,
+        canMux: mux === 'E',
+        canDemux: demux === 'D'
+      }
+    }
+  }
+ 
+  return formats
+}
+ 
+function parseFilterStreams(
+  streams: string
+): FfmpegFilterStreamType[] | 'dynamic' {
+  if (streams === '|') {
+    return []
+  } else if (streams === 'N') {
+    return 'dynamic'
+  } else {
+    return [...streams].map((s) => (s === 'A' ? 'audio' : 'video'))
+  }
+}
+ 
+export function extractFilters(lines: string[]): FfmpegFilters {
+  let filters: FfmpegFilters = {}
+
+  for (let line of lines) {
+    let match = line.match(capFilterRegexp)
+    if (match) {
+      let [, timeline, slice, command, name, inputs, outputs, description] =
+        match
+
+      filters[name] = {
+        description,
+        inputs: parseFilterStreams(inputs),
+        outputs: parseFilterStreams(outputs)
+      }
+    }
+  }
+
+  return filters
+}
+ 
+function parseEncoderType(type: string): FfmpegEncoderType {
+  if (type === 'A') return 'audio'
+  if (type === 'V') return 'video'
+  return 'subtitle'
+}
+ 
+export function extractEncoders(lines: string[]): FfmpegEncoders {
+  let encoders: FfmpegEncoders = {}
+
+  for (let line of lines) {
+    let match = line.match(capEncoderRegexp)
+    if (match) {
+      let [, type, frame, slice, exp, band, direct, name, description] = match
+
+      encoders[name] = {
+        description,
+        type: parseEncoderType(type),
+        frameMultithreading: frame === 'F',
+        sliceMultithreading: slice === 'S',
+        experimental: exp === 'X',
+        drawHorizBand: band === 'B',
+        directRendering: direct === 'D'
+      }
+    }
+  }
+
+  return encoders
+}
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/platform.ts.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/platform.ts.html new file mode 100644 index 0000000..70ae536 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/platform.ts.html @@ -0,0 +1,94 @@ + + + + + + Code coverage report for src/utils/platform.ts + + + + + + + + + +
+
+

All files / src/utils platform.ts

+
+ +
+ 100% + Statements + 3/3 +
+ + +
+ 100% + Branches + 0/0 +
+ + +
+ 100% + Functions + 0/0 +
+ + +
+ 100% + Lines + 3/3 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +41x +1x +1x + 
export const isWindows: boolean = !!require('os')
+  .platform()
+  .match(/win(32|64)/)
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/regexp.ts.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/regexp.ts.html new file mode 100644 index 0000000..280a06d --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils/regexp.ts.html @@ -0,0 +1,145 @@ + + + + + + Code coverage report for src/utils/regexp.ts + + + + + + + + + +
+
+

All files / src/utils regexp.ts

+
+ +
+ 100% + Statements + 20/20 +
+ + +
+ 100% + Branches + 0/0 +
+ + +
+ 100% + Functions + 0/0 +
+ + +
+ 100% + Lines + 20/20 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +211x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x + 
export const protocolRegexp = /^([a-z]{2,}):/i
+ 
+export const nlRegexp = /\r\n|\r|\n/g
+ 
+export const codecInputRegexp = /Input #[0-9]+, ([^ ]+),/
+export const codecDurRegexp = /Duration\: ([^,]+)/
+export const codecAudioRegexp = /Audio\: (.*)/
+export const codecVideoRegexp = /Video\: (.*)/
+export const codecOutputRegexp = /Output #\d+/
+export const codecEndRegexp = /Stream mapping:|Press (\[q\]|ctrl-c) to stop/
+ 
+export const capFormatRegexp = /^\s*([D ])([E ]) ([^ ]+) +(.*)$/
+export const capCodecRegexp =
+  /^\s*([D\.])([E\.])([VASDT])([I\.])([L\.])([S\.]) ([^ ]+) +(.*)$/
+export const capCodecEncodersRegexp = /\(encoders:([^\)]+)\)/
+export const capCodecDecodersRegexp = /\(decoders:([^\)]+)\)/
+export const capFilterRegexp =
+  /^([T\.])([S\.])([C\.]) +([^ ]+) +([ANV|]+)->([ANV|]+) +(.*)$/
+export const capEncoderRegexp =
+  /^([AVS\.])([F\.])([S\.])([X\.])([B\.])([D\.]) ([^ ]+) +(.*)$/
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/acceptance/dummy.ts.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/acceptance/dummy.ts.html new file mode 100644 index 0000000..b16c4f5 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/acceptance/dummy.ts.html @@ -0,0 +1,94 @@ + + + + + + Code coverage report for tests/acceptance/dummy.ts + + + + + + + + + +
+
+

All files / tests/acceptance dummy.ts

+
+ +
+ 100% + Statements + 3/3 +
+ + +
+ 100% + Branches + 1/1 +
+ + +
+ 100% + Functions + 0/0 +
+ + +
+ 100% + Lines + 3/3 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +41x +1x +1x + 
import test from 'ava'
+ 
+test('dummy acceptance', (t) => t.pass())
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/acceptance/index.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/acceptance/index.html new file mode 100644 index 0000000..085e646 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/acceptance/index.html @@ -0,0 +1,116 @@ + + + + + + Code coverage report for tests/acceptance + + + + + + + + + +
+
+

All files tests/acceptance

+
+ +
+ 100% + Statements + 3/3 +
+ + +
+ 100% + Branches + 1/1 +
+ + +
+ 100% + Functions + 0/0 +
+ + +
+ 100% + Lines + 3/3 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FileStatementsBranchesFunctionsLines
dummy.ts +
+
100%3/3100%1/1100%0/0100%3/3
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/helpers/async.ts.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/helpers/async.ts.html new file mode 100644 index 0000000..52eab36 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/helpers/async.ts.html @@ -0,0 +1,94 @@ + + + + + + Code coverage report for tests/helpers/async.ts + + + + + + + + + +
+
+

All files / tests/helpers async.ts

+
+ +
+ 100% + Statements + 3/3 +
+ + +
+ 100% + Branches + 2/2 +
+ + +
+ 100% + Functions + 1/1 +
+ + +
+ 100% + Lines + 3/3 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +422x +22x +22x + 
export function delay(ms: number = 10): Promise<void> {
+  return new Promise((resolve) => setTimeout(resolve, ms))
+}
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/helpers/index.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/helpers/index.html new file mode 100644 index 0000000..01a98ea --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/helpers/index.html @@ -0,0 +1,146 @@ + + + + + + Code coverage report for tests/helpers + + + + + + + + + +
+
+

All files tests/helpers

+
+ +
+ 100% + Statements + 46/46 +
+ + +
+ 100% + Branches + 7/7 +
+ + +
+ 66.66% + Functions + 4/6 +
+ + +
+ 100% + Lines + 46/46 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FileStatementsBranchesFunctionsLines
async.ts +
+
100%3/3100%2/2100%1/1100%3/3
spawn-stub.ts +
+
100%34/34100%5/5100%3/3100%34/34
streams.ts +
+
100%9/9100%0/00%0/2100%9/9
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/helpers/spawn-stub.ts.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/helpers/spawn-stub.ts.html new file mode 100644 index 0000000..adfd005 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/helpers/spawn-stub.ts.html @@ -0,0 +1,187 @@ + + + + + + Code coverage report for tests/helpers/spawn-stub.ts + + + + + + + + + +
+
+

All files / tests/helpers spawn-stub.ts

+
+ +
+ 100% + Statements + 34/34 +
+ + +
+ 100% + Branches + 5/5 +
+ + +
+ 100% + Functions + 3/3 +
+ + +
+ 100% + Lines + 34/34 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +351x +1x +1x +1x +1x +1x +1x +1x +1x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +1x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x +16x + 
import { type ExecutionContext } from 'ava'
+ 
+import sinon from 'sinon'
+ 
+import childProcessModule, { ChildProcess } from 'node:child_process'
+import EventEmitter from 'node:events'
+ 
+type FakeProcessBehaviour = (proc: FakeProcess) => void
+ 
+class FakeProcess extends EventEmitter {
+  stdout = new EventEmitter()
+  stderr = new EventEmitter()
+ 
+  constructor(behaviour?: FakeProcessBehaviour) {
+    super()
+ 
+    if (behaviour) {
+      setTimeout(() => behaviour(this), 0)
+    }
+  }
+}
+ 
+export function stubSpawn(
+  t: ExecutionContext<unknown>,
+  behaviour?: FakeProcessBehaviour
+) {
+  let spawnStub = sinon
+    .stub(childProcessModule, 'spawn')
+    .returns(new FakeProcess(behaviour) as ChildProcess)
+ 
+  t.teardown(() => spawnStub.restore())
+ 
+  return spawnStub
+}
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/helpers/streams.ts.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/helpers/streams.ts.html new file mode 100644 index 0000000..6c4d61f --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/helpers/streams.ts.html @@ -0,0 +1,112 @@ + + + + + + Code coverage report for tests/helpers/streams.ts + + + + + + + + + +
+
+

All files / tests/helpers streams.ts

+
+ +
+ 100% + Statements + 9/9 +
+ + +
+ 100% + Branches + 0/0 +
+ + +
+ 0% + Functions + 0/2 +
+ + +
+ 100% + Lines + 9/9 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +101x +1x +1x +1x +1x +1x +1x +1x +1x + 
import { Readable, Writable } from 'node:stream'
+ 
+export class FakeReadableStream extends Readable {
+  _read() {}
+}
+ 
+export class FakeWritableStream extends Writable {
+  _write() {}
+}
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/integration/dummy.ts.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/integration/dummy.ts.html new file mode 100644 index 0000000..d8b9358 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/integration/dummy.ts.html @@ -0,0 +1,94 @@ + + + + + + Code coverage report for tests/integration/dummy.ts + + + + + + + + + +
+
+

All files / tests/integration dummy.ts

+
+ +
+ 100% + Statements + 3/3 +
+ + +
+ 100% + Branches + 0/0 +
+ + +
+ 100% + Functions + 0/0 +
+ + +
+ 100% + Lines + 3/3 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +41x +1x +1x + 
import test from 'ava'
+ 
+test('dummy integration', (t) => t.pass())
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/integration/index.html b/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/integration/index.html new file mode 100644 index 0000000..f12714c --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov-report/tests/integration/index.html @@ -0,0 +1,116 @@ + + + + + + Code coverage report for tests/integration + + + + + + + + + +
+
+

All files tests/integration

+
+ +
+ 100% + Statements + 3/3 +
+ + +
+ 100% + Branches + 0/0 +
+ + +
+ 100% + Functions + 0/0 +
+ + +
+ 100% + Lines + 3/3 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FileStatementsBranchesFunctionsLines
dummy.ts +
+
100%3/3100%0/0100%0/0100%3/3
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/lcov.info b/node_modules/fluent-ffmpeg/coverage/lcov.info new file mode 100644 index 0000000..0a1ca6e --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/lcov.info @@ -0,0 +1,1667 @@ +TN: +SF:src/capabilities.ts +FN:16, +FN:23,getLines +FN:32,codecs +FN:42,formats +FN:50,filters +FN:58,encoders +FN:66,decoders +FNF:7 +FNH:4 +FNDA:2, +FNDA:2,getLines +FNDA:2,codecs +FNDA:2,formats +FNDA:0,filters +FNDA:0,encoders +FNDA:0,decoders +DA:1,1 +DA:2,1 +DA:3,1 +DA:4,1 +DA:5,1 +DA:6,1 +DA:7,1 +DA:8,1 +DA:9,1 +DA:10,1 +DA:11,1 +DA:12,1 +DA:13,1 +DA:14,1 +DA:15,1 +DA:16,2 +DA:17,2 +DA:18,2 +DA:19,2 +DA:20,2 +DA:21,2 +DA:22,2 +DA:23,2 +DA:24,2 +DA:25,2 +DA:26,2 +DA:27,2 +DA:28,2 +DA:29,2 +DA:30,2 +DA:31,2 +DA:32,2 +DA:33,2 +DA:34,2 +DA:35,2 +DA:36,1 +DA:37,1 +DA:38,2 +DA:39,2 +DA:40,2 +DA:41,2 +DA:42,2 +DA:43,2 +DA:44,1 +DA:45,1 +DA:46,2 +DA:47,2 +DA:48,2 +DA:49,2 +DA:50,2 +DA:51,0 +DA:52,0 +DA:53,0 +DA:54,0 +DA:55,0 +DA:56,0 +DA:57,2 +DA:58,2 +DA:59,0 +DA:60,0 +DA:61,0 +DA:62,0 +DA:63,0 +DA:64,0 +DA:65,2 +DA:66,2 +DA:67,0 +DA:68,0 +DA:69,0 +DA:70,0 +DA:71,0 +DA:72,0 +DA:73,2 +LF:73 +LH:55 +BRDA:16,0,0,2 +BRDA:23,1,0,2 +BRDA:29,2,0,0 +BRDA:32,3,0,2 +BRDA:35,4,0,1 +BRDA:42,5,0,2 +BRDA:43,6,0,1 +BRF:7 +BRH:6 +end_of_record +TN: +SF:src/command.ts +FN:16, +FN:22,FfmpegCommand +FN:53,#validateIO +FN:63,getFfmpegArguments +FN:88,run +FNF:5 +FNH:4 +FNDA:5, +FNDA:5,FfmpegCommand +FNDA:4,#validateIO +FNDA:3,getFfmpegArguments +FNDA:0,run +DA:1,1 +DA:2,1 +DA:3,1 +DA:4,1 +DA:5,1 +DA:6,1 +DA:7,1 +DA:8,1 +DA:9,1 +DA:10,1 +DA:11,1 +DA:12,1 +DA:13,1 +DA:14,1 +DA:15,1 +DA:16,5 +DA:17,5 +DA:18,5 +DA:19,5 +DA:20,5 +DA:21,5 +DA:22,5 +DA:23,5 +DA:24,3 +DA:25,1 +DA:26,1 +DA:27,2 +DA:28,2 +DA:29,2 +DA:30,4 +DA:31,5 +DA:32,0 +DA:33,0 +DA:34,0 +DA:35,0 +DA:36,0 +DA:37,0 +DA:38,4 +DA:39,5 +DA:40,5 +DA:41,5 +DA:42,5 +DA:43,5 +DA:44,5 +DA:45,5 +DA:46,5 +DA:47,5 +DA:48,5 +DA:49,5 +DA:50,5 +DA:51,5 +DA:52,5 +DA:53,5 +DA:54,4 +DA:55,1 +DA:56,1 +DA:57,3 +DA:58,4 +DA:59,0 +DA:60,0 +DA:61,4 +DA:62,5 +DA:63,5 +DA:64,3 +DA:65,3 +DA:66,3 +DA:67,5 +DA:68,5 +DA:69,3 +DA:70,3 +DA:71,3 +DA:72,3 +DA:73,0 +DA:74,0 +DA:75,3 +DA:76,3 +DA:77,0 +DA:78,0 +DA:79,0 +DA:80,3 +DA:81,3 +DA:82,0 +DA:83,0 +DA:84,3 +DA:85,3 +DA:86,3 +DA:87,5 +DA:88,5 +DA:89,0 +DA:90,0 +DA:91,0 +DA:92,0 +DA:93,0 +DA:94,0 +DA:95,0 +DA:96,0 +DA:97,0 +DA:98,0 +DA:99,0 +DA:100,0 +DA:101,0 +DA:102,0 +DA:103,0 +DA:104,0 +DA:105,0 +DA:106,5 +LF:106 +LH:74 +BRDA:16,0,0,5 +BRDA:22,1,0,5 +BRDA:23,2,0,3 +BRDA:24,3,0,1 +BRDA:27,4,0,2 +BRDA:30,5,0,4 +BRDA:31,6,0,0 +BRDA:38,7,0,4 +BRDA:39,8,0,0 +BRDA:43,9,0,4 +BRDA:48,10,0,4 +BRDA:40,11,0,7 +BRDA:53,12,0,4 +BRDA:54,13,0,1 +BRDA:57,14,0,3 +BRDA:58,15,0,0 +BRDA:54,16,0,7 +BRDA:63,17,0,3 +BRDA:66,18,0,5 +BRDA:72,19,0,0 +BRDA:76,20,0,0 +BRDA:81,21,0,0 +BRF:22 +BRH:16 +end_of_record +TN: +SF:src/input.ts +FN:18, +FN:26,FfmpegInput +FN:39,get isStream +FN:43,get isLocalFile +FN:52,#getSourceString +FN:60,#getOptions +FN:84,getFfmpegArguments +FNF:7 +FNH:7 +FNDA:21, +FNDA:21,FfmpegInput +FNDA:15,get isStream +FNDA:8,get isLocalFile +FNDA:11,#getSourceString +FNDA:11,#getOptions +FNDA:11,getFfmpegArguments +DA:1,1 +DA:2,1 +DA:3,1 +DA:4,1 +DA:5,1 +DA:6,1 +DA:7,1 +DA:8,1 +DA:9,1 +DA:10,1 +DA:11,1 +DA:12,1 +DA:13,1 +DA:14,1 +DA:15,1 +DA:16,1 +DA:17,1 +DA:18,21 +DA:19,21 +DA:20,21 +DA:21,21 +DA:22,21 +DA:23,21 +DA:24,21 +DA:25,21 +DA:26,21 +DA:27,21 +DA:28,12 +DA:29,12 +DA:30,21 +DA:31,21 +DA:32,21 +DA:33,21 +DA:34,21 +DA:35,21 +DA:36,21 +DA:37,21 +DA:38,21 +DA:39,21 +DA:40,15 +DA:41,15 +DA:42,21 +DA:43,21 +DA:44,8 +DA:45,2 +DA:46,8 +DA:47,6 +DA:48,6 +DA:49,6 +DA:50,8 +DA:51,21 +DA:52,21 +DA:53,11 +DA:54,8 +DA:55,11 +DA:56,3 +DA:57,3 +DA:58,11 +DA:59,21 +DA:60,21 +DA:61,11 +DA:62,11 +DA:63,11 +DA:64,2 +DA:65,2 +DA:66,11 +DA:67,11 +DA:68,1 +DA:69,11 +DA:70,2 +DA:71,2 +DA:72,11 +DA:73,11 +DA:74,1 +DA:75,1 +DA:76,11 +DA:77,11 +DA:78,1 +DA:79,1 +DA:80,11 +DA:81,11 +DA:82,11 +DA:83,21 +DA:84,21 +DA:85,11 +DA:86,11 +DA:87,11 +DA:88,11 +DA:89,11 +DA:90,11 +DA:91,11 +DA:92,21 +LF:92 +LH:92 +BRDA:18,0,0,21 +BRDA:26,1,0,21 +BRDA:27,2,0,14 +BRDA:27,3,0,12 +BRDA:39,4,0,15 +BRDA:43,5,0,8 +BRDA:44,6,0,6 +BRDA:44,7,0,2 +BRDA:46,8,0,6 +BRDA:48,9,0,4 +BRDA:52,10,0,11 +BRDA:53,11,0,8 +BRDA:55,12,0,3 +BRDA:60,13,0,11 +BRDA:63,14,0,2 +BRDA:67,15,0,1 +BRDA:69,16,0,10 +BRDA:69,17,0,2 +BRDA:73,18,0,1 +BRDA:77,19,0,1 +BRDA:84,20,0,11 +BRF:21 +BRH:21 +end_of_record +TN: +SF:src/main.ts +FN:1,(empty-report) +FNF:1 +FNH:0 +FNDA:0,(empty-report) +DA:1,0 +DA:2,0 +DA:3,0 +DA:4,0 +DA:5,0 +DA:6,0 +DA:7,0 +DA:8,0 +DA:9,0 +DA:10,0 +DA:11,0 +DA:12,0 +DA:13,0 +DA:14,0 +DA:15,0 +DA:16,0 +DA:17,0 +DA:18,0 +DA:19,0 +DA:20,0 +DA:21,0 +DA:22,0 +DA:23,0 +DA:24,0 +DA:25,0 +DA:26,0 +DA:27,0 +DA:28,0 +DA:29,0 +DA:30,0 +DA:31,0 +DA:32,0 +LF:32 +LH:0 +BRDA:1,0,0,0 +BRF:1 +BRH:0 +end_of_record +TN: +SF:src/output.ts +FN:41, +FN:52,FfmpegOutput +FN:68,get isStream +FN:72,get isLocalFile +FN:81,#getAudioOptions +FN:115,#getVideoOptions +FN:159,#getOptions +FN:181,#getOutputString +FN:189,getFfmpegArguments +FNF:9 +FNH:9 +FNDA:18, +FNDA:18,FfmpegOutput +FNDA:8,get isStream +FNDA:8,get isLocalFile +FNDA:10,#getAudioOptions +FNDA:10,#getVideoOptions +FNDA:10,#getOptions +FNDA:10,#getOutputString +FNDA:10,getFfmpegArguments +DA:1,1 +DA:2,1 +DA:3,1 +DA:4,1 +DA:5,1 +DA:6,1 +DA:7,1 +DA:8,1 +DA:9,1 +DA:10,1 +DA:11,1 +DA:12,1 +DA:13,1 +DA:14,1 +DA:15,1 +DA:16,1 +DA:17,1 +DA:18,1 +DA:19,1 +DA:20,1 +DA:21,1 +DA:22,1 +DA:23,1 +DA:24,1 +DA:25,1 +DA:26,1 +DA:27,1 +DA:28,1 +DA:29,1 +DA:30,1 +DA:31,1 +DA:32,1 +DA:33,1 +DA:34,1 +DA:35,1 +DA:36,1 +DA:37,1 +DA:38,1 +DA:39,1 +DA:40,1 +DA:41,18 +DA:42,18 +DA:43,18 +DA:44,18 +DA:45,18 +DA:46,18 +DA:47,18 +DA:48,18 +DA:49,18 +DA:50,18 +DA:51,18 +DA:52,18 +DA:53,18 +DA:54,5 +DA:55,5 +DA:56,18 +DA:57,18 +DA:58,18 +DA:59,18 +DA:60,18 +DA:61,18 +DA:62,18 +DA:63,18 +DA:64,18 +DA:65,18 +DA:66,18 +DA:67,18 +DA:68,18 +DA:69,8 +DA:70,8 +DA:71,18 +DA:72,18 +DA:73,8 +DA:74,2 +DA:75,8 +DA:76,6 +DA:77,6 +DA:78,6 +DA:79,8 +DA:80,18 +DA:81,18 +DA:82,10 +DA:83,10 +DA:84,10 +DA:85,1 +DA:86,10 +DA:87,1 +DA:88,1 +DA:89,1 +DA:90,1 +DA:91,1 +DA:92,1 +DA:93,1 +DA:94,1 +DA:95,1 +DA:96,1 +DA:97,1 +DA:98,1 +DA:99,1 +DA:100,1 +DA:101,1 +DA:102,1 +DA:103,1 +DA:104,1 +DA:105,1 +DA:106,1 +DA:107,1 +DA:108,0 +DA:109,0 +DA:110,1 +DA:111,10 +DA:112,10 +DA:113,10 +DA:114,18 +DA:115,18 +DA:116,10 +DA:117,10 +DA:118,10 +DA:119,1 +DA:120,10 +DA:121,2 +DA:122,1 +DA:123,1 +DA:124,2 +DA:125,2 +DA:126,2 +DA:127,2 +DA:128,2 +DA:129,2 +DA:130,1 +DA:131,1 +DA:132,1 +DA:133,1 +DA:134,1 +DA:135,1 +DA:136,1 +DA:137,1 +DA:138,1 +DA:139,2 +DA:140,2 +DA:141,2 +DA:142,1 +DA:143,1 +DA:144,2 +DA:145,2 +DA:146,1 +DA:147,1 +DA:148,2 +DA:149,2 +DA:150,0 +DA:151,0 +DA:152,2 +DA:153,2 +DA:154,2 +DA:155,10 +DA:156,10 +DA:157,10 +DA:158,18 +DA:159,18 +DA:160,10 +DA:161,10 +DA:162,10 +DA:163,1 +DA:164,1 +DA:165,10 +DA:166,10 +DA:167,1 +DA:168,1 +DA:169,10 +DA:170,10 +DA:171,2 +DA:172,2 +DA:173,10 +DA:174,10 +DA:175,1 +DA:176,1 +DA:177,10 +DA:178,10 +DA:179,10 +DA:180,18 +DA:181,18 +DA:182,10 +DA:183,9 +DA:184,10 +DA:185,1 +DA:186,1 +DA:187,10 +DA:188,18 +DA:189,18 +DA:190,10 +DA:191,10 +DA:192,10 +DA:193,10 +DA:194,10 +DA:195,10 +DA:196,10 +DA:197,10 +DA:198,18 +LF:198 +LH:194 +BRDA:41,0,0,18 +BRDA:52,1,0,18 +BRDA:53,2,0,14 +BRDA:53,3,0,5 +BRDA:68,4,0,8 +BRDA:72,5,0,8 +BRDA:73,6,0,2 +BRDA:75,7,0,6 +BRDA:77,8,0,4 +BRDA:81,9,0,10 +BRDA:84,10,0,1 +BRDA:86,11,0,9 +BRDA:86,12,0,1 +BRDA:107,13,0,0 +BRDA:115,14,0,10 +BRDA:118,15,0,1 +BRDA:120,16,0,9 +BRDA:120,17,0,2 +BRDA:121,18,0,1 +BRDA:129,19,0,1 +BRDA:141,20,0,1 +BRDA:145,21,0,1 +BRDA:149,22,0,0 +BRDA:159,23,0,10 +BRDA:162,24,0,1 +BRDA:166,25,0,1 +BRDA:170,26,0,2 +BRDA:174,27,0,1 +BRDA:181,28,0,10 +BRDA:182,29,0,9 +BRDA:184,30,0,1 +BRDA:189,31,0,10 +BRF:32 +BRH:30 +end_of_record +TN: +SF:src/process.ts +FN:34, +FN:46,FfmpegProcess +FN:61,#validateOptions +FN:70,run +FNF:4 +FNH:4 +FNDA:16, +FNDA:16,FfmpegProcess +FNDA:16,#validateOptions +FNDA:16,run +DA:1,1 +DA:2,1 +DA:3,1 +DA:4,1 +DA:5,1 +DA:6,1 +DA:7,1 +DA:8,1 +DA:9,1 +DA:10,1 +DA:11,1 +DA:12,1 +DA:13,1 +DA:14,1 +DA:15,1 +DA:16,1 +DA:17,1 +DA:18,1 +DA:19,1 +DA:20,1 +DA:21,1 +DA:22,1 +DA:23,1 +DA:24,1 +DA:25,1 +DA:26,1 +DA:27,1 +DA:28,1 +DA:29,1 +DA:30,1 +DA:31,1 +DA:32,1 +DA:33,1 +DA:34,16 +DA:35,16 +DA:36,16 +DA:37,16 +DA:38,16 +DA:39,16 +DA:40,16 +DA:41,16 +DA:42,16 +DA:43,16 +DA:44,16 +DA:45,16 +DA:46,16 +DA:47,16 +DA:48,16 +DA:49,16 +DA:50,16 +DA:51,16 +DA:52,16 +DA:53,16 +DA:54,16 +DA:55,16 +DA:56,16 +DA:57,16 +DA:58,16 +DA:59,16 +DA:60,16 +DA:61,16 +DA:62,16 +DA:63,0 +DA:64,0 +DA:65,0 +DA:66,0 +DA:67,16 +DA:68,16 +DA:69,16 +DA:70,16 +DA:71,16 +DA:72,16 +DA:73,16 +DA:74,16 +DA:75,16 +DA:76,16 +DA:77,1 +DA:78,1 +DA:79,1 +DA:80,16 +DA:81,16 +DA:82,16 +DA:83,16 +DA:84,16 +DA:85,16 +DA:86,16 +DA:87,16 +DA:88,16 +DA:89,16 +DA:90,16 +DA:91,16 +DA:92,1 +DA:93,1 +DA:94,16 +DA:95,16 +DA:96,1 +DA:97,5 +DA:98,5 +DA:99,2 +DA:100,2 +DA:101,1 +DA:102,1 +DA:103,16 +DA:104,16 +DA:105,1 +DA:106,1 +DA:107,11 +DA:108,7 +DA:109,7 +DA:110,1 +DA:111,1 +DA:112,16 +DA:113,16 +DA:114,16 +DA:115,16 +DA:116,14 +DA:117,14 +DA:118,14 +DA:119,14 +DA:120,1 +DA:121,14 +DA:122,2 +DA:123,2 +DA:124,2 +DA:125,2 +DA:126,1 +DA:127,1 +DA:128,2 +DA:129,2 +DA:130,13 +DA:131,11 +DA:132,11 +DA:133,11 +DA:134,11 +DA:135,11 +DA:136,16 +DA:137,16 +DA:138,16 +DA:139,0 +DA:140,0 +DA:141,0 +DA:142,0 +DA:143,0 +DA:144,0 +DA:145,0 +DA:146,0 +DA:147,0 +DA:148,0 +DA:149,0 +DA:150,16 +DA:151,16 +DA:152,16 +DA:153,16 +DA:154,0 +DA:155,0 +DA:156,0 +DA:157,0 +DA:158,0 +DA:159,0 +DA:160,0 +DA:161,0 +DA:162,16 +DA:163,1 +DA:164,1 +DA:165,16 +DA:166,16 +DA:167,16 +DA:168,2 +DA:169,2 +DA:170,2 +DA:171,2 +DA:172,2 +DA:173,16 +DA:174,16 +DA:175,16 +DA:176,16 +LF:176 +LH:153 +BRDA:34,0,0,16 +BRDA:46,1,0,16 +BRDA:61,2,0,16 +BRDA:62,3,0,0 +BRDA:62,4,0,0 +BRDA:70,5,0,16 +BRDA:71,6,0,15 +BRDA:76,7,0,1 +BRDA:76,8,0,1 +BRDA:76,9,0,1 +BRDA:167,10,0,2 +BRDA:81,11,0,16 +BRDA:91,12,0,1 +BRDA:95,13,0,1 +BRDA:104,14,0,1 +BRDA:138,15,0,0 +BRDA:153,16,0,0 +BRDA:162,17,0,1 +BRDA:96,18,0,5 +BRDA:98,19,0,2 +BRDA:106,20,0,11 +BRDA:107,21,0,7 +BRDA:113,22,0,2 +BRDA:115,23,0,14 +BRDA:119,24,0,1 +BRDA:121,25,0,13 +BRDA:121,26,0,2 +BRDA:125,27,0,1 +BRDA:130,28,0,11 +BRDA:151,29,0,22 +BRDA:163,30,0,2 +BRDA:169,31,0,1 +BRDA:170,32,0,1 +BRF:33 +BRH:29 +end_of_record +TN: +SF:src/utils/filters.ts +FN:18,escapeOption +FN:26,escapeFilter +FN:34,generateFilter +FN:75,generateFilterChain +FN:79,generateFilterGraph +FNF:5 +FNH:5 +FNDA:10,escapeOption +FNDA:7,escapeFilter +FNDA:14,generateFilter +FNDA:3,generateFilterChain +FNDA:1,generateFilterGraph +DA:1,1 +DA:2,1 +DA:3,1 +DA:4,1 +DA:5,1 +DA:6,1 +DA:7,1 +DA:8,1 +DA:9,1 +DA:10,1 +DA:11,1 +DA:12,1 +DA:13,1 +DA:14,1 +DA:15,1 +DA:16,1 +DA:17,1 +DA:18,10 +DA:19,10 +DA:20,6 +DA:21,6 +DA:22,4 +DA:23,4 +DA:24,4 +DA:25,1 +DA:26,7 +DA:27,7 +DA:28,2 +DA:29,2 +DA:30,5 +DA:31,5 +DA:32,5 +DA:33,1 +DA:34,14 +DA:35,14 +DA:36,14 +DA:37,14 +DA:38,14 +DA:39,14 +DA:40,14 +DA:41,2 +DA:42,2 +DA:43,14 +DA:44,14 +DA:45,5 +DA:46,5 +DA:47,5 +DA:48,2 +DA:49,2 +DA:50,2 +DA:51,5 +DA:52,3 +DA:53,3 +DA:54,5 +DA:55,5 +DA:56,5 +DA:57,14 +DA:58,14 +DA:59,7 +DA:60,7 +DA:61,14 +DA:62,14 +DA:63,3 +DA:64,3 +DA:65,14 +DA:66,14 +DA:67,3 +DA:68,3 +DA:69,3 +DA:70,3 +DA:71,14 +DA:72,14 +DA:73,14 +DA:74,1 +DA:75,3 +DA:76,3 +DA:77,3 +DA:78,1 +DA:79,1 +DA:80,1 +DA:81,1 +LF:81 +LH:81 +BRDA:18,0,0,10 +BRDA:19,1,0,6 +BRDA:22,2,0,4 +BRDA:26,3,0,7 +BRDA:27,4,0,2 +BRDA:30,5,0,5 +BRDA:34,6,0,14 +BRDA:40,7,0,2 +BRDA:44,8,0,5 +BRDA:47,9,0,2 +BRDA:51,10,0,3 +BRDA:58,11,0,7 +BRDA:62,12,0,3 +BRDA:66,13,0,3 +BRDA:49,14,0,5 +BRDA:52,15,0,5 +BRDA:63,16,0,7 +BRDA:68,17,0,7 +BRDA:75,18,0,3 +BRDA:76,19,0,7 +BRDA:79,20,0,1 +BRDA:80,21,0,2 +BRF:22 +BRH:22 +end_of_record +TN: +SF:src/utils/formatting.ts +FN:1,formatBitrate +FNF:1 +FNH:1 +FNDA:6,formatBitrate +DA:1,6 +DA:2,6 +DA:3,2 +DA:4,1 +DA:5,1 +DA:6,1 +DA:7,1 +DA:8,1 +DA:9,6 +DA:10,4 +DA:11,4 +DA:12,6 +LF:12 +LH:12 +BRDA:1,0,0,6 +BRDA:2,1,0,2 +BRDA:3,2,0,1 +BRDA:9,3,0,4 +BRF:4 +BRH:4 +end_of_record +TN: +SF:src/utils/line-buffer.ts +FN:5, +FN:10,LineBuffer +FN:18,append +FN:45,close +FN:58,toString +FNF:5 +FNH:5 +FNDA:34, +FNDA:34,LineBuffer +FNDA:30,append +FNDA:31,close +FNDA:23,toString +DA:1,1 +DA:2,1 +DA:3,1 +DA:4,1 +DA:5,34 +DA:6,34 +DA:7,34 +DA:8,34 +DA:9,34 +DA:10,34 +DA:11,34 +DA:12,34 +DA:13,34 +DA:14,34 +DA:15,34 +DA:16,34 +DA:17,34 +DA:18,34 +DA:19,30 +DA:20,1 +DA:21,1 +DA:22,29 +DA:23,29 +DA:24,29 +DA:25,29 +DA:26,29 +DA:27,2 +DA:28,2 +DA:29,29 +DA:30,27 +DA:31,5 +DA:32,5 +DA:33,5 +DA:34,5 +DA:35,27 +DA:36,27 +DA:37,27 +DA:38,26 +DA:39,26 +DA:40,26 +DA:41,27 +DA:42,29 +DA:43,30 +DA:44,34 +DA:45,34 +DA:46,31 +DA:47,1 +DA:48,1 +DA:49,30 +DA:50,31 +DA:51,5 +DA:52,5 +DA:53,5 +DA:54,30 +DA:55,30 +DA:56,30 +DA:57,34 +DA:58,34 +DA:59,23 +DA:60,23 +DA:61,34 +LF:61 +LH:61 +BRDA:5,0,0,34 +BRDA:10,1,0,34 +BRDA:18,2,0,30 +BRDA:19,3,0,1 +BRDA:22,4,0,29 +BRDA:26,5,0,2 +BRDA:29,6,0,27 +BRDA:30,7,0,5 +BRDA:37,8,0,26 +BRDA:45,9,0,31 +BRDA:46,10,0,1 +BRDA:49,11,0,30 +BRDA:50,12,0,5 +BRDA:54,13,0,30 +BRDA:58,14,0,23 +BRF:15 +BRH:15 +end_of_record +TN: +SF:src/utils/parsing.ts +FN:36,extractErrorMessage +FN:56,extractProgress +FN:86, +FN:93,CodecDataExtractor +FN:102,processLine +FN:149,parseCodecType +FN:157,extractCodecs +FN:203,extractFormats +FN:221,parseFilterStreams +FN:233,extractFilters +FN:253,parseEncoderType +FN:259,extractEncoders +FNF:12 +FNH:8 +FNDA:1,extractErrorMessage +FNDA:7,extractProgress +FNDA:2, +FNDA:2,CodecDataExtractor +FNDA:18,processLine +FNDA:5,parseCodecType +FNDA:1,extractCodecs +FNDA:1,extractFormats +FNDA:0,parseFilterStreams +FNDA:0,extractFilters +FNDA:0,parseEncoderType +FNDA:0,extractEncoders +DA:1,1 +DA:2,1 +DA:3,1 +DA:4,1 +DA:5,1 +DA:6,1 +DA:7,1 +DA:8,1 +DA:9,1 +DA:10,1 +DA:11,1 +DA:12,1 +DA:13,1 +DA:14,1 +DA:15,1 +DA:16,1 +DA:17,1 +DA:18,1 +DA:19,1 +DA:20,1 +DA:21,1 +DA:22,1 +DA:23,1 +DA:24,1 +DA:25,1 +DA:26,1 +DA:27,1 +DA:28,1 +DA:29,1 +DA:30,1 +DA:31,1 +DA:32,1 +DA:33,1 +DA:34,1 +DA:35,1 +DA:36,1 +DA:37,1 +DA:38,1 +DA:39,1 +DA:40,7 +DA:41,3 +DA:42,7 +DA:43,4 +DA:44,4 +DA:45,4 +DA:46,1 +DA:47,1 +DA:48,1 +DA:49,1 +DA:50,1 +DA:51,1 +DA:52,1 +DA:53,1 +DA:54,1 +DA:55,1 +DA:56,7 +DA:57,7 +DA:58,7 +DA:59,7 +DA:60,7 +DA:61,7 +DA:62,7 +DA:63,21 +DA:64,21 +DA:65,21 +DA:66,4 +DA:67,4 +DA:68,4 +DA:69,17 +DA:70,21 +DA:71,6 +DA:72,21 +DA:73,3 +DA:74,11 +DA:75,2 +DA:76,8 +DA:77,3 +DA:78,3 +DA:79,3 +DA:80,3 +DA:81,21 +DA:82,3 +DA:83,3 +DA:84,3 +DA:85,1 +DA:86,2 +DA:87,2 +DA:88,2 +DA:89,2 +DA:90,2 +DA:91,2 +DA:92,2 +DA:93,2 +DA:94,2 +DA:95,2 +DA:96,2 +DA:97,2 +DA:98,2 +DA:99,2 +DA:100,2 +DA:101,2 +DA:102,2 +DA:103,18 +DA:104,18 +DA:105,2 +DA:106,2 +DA:107,2 +DA:108,2 +DA:109,2 +DA:110,2 +DA:111,2 +DA:112,2 +DA:113,16 +DA:114,18 +DA:115,13 +DA:116,13 +DA:117,2 +DA:118,2 +DA:119,2 +DA:120,11 +DA:121,11 +DA:122,13 +DA:123,2 +DA:124,2 +DA:125,2 +DA:126,2 +DA:127,9 +DA:128,9 +DA:129,13 +DA:130,2 +DA:131,2 +DA:132,2 +DA:133,2 +DA:134,13 +DA:135,10 +DA:136,18 +DA:137,1 +DA:138,1 +DA:139,10 +DA:140,18 +DA:141,3 +DA:142,3 +DA:143,3 +DA:144,3 +DA:145,3 +DA:146,18 +DA:147,2 +DA:148,1 +DA:149,5 +DA:150,5 +DA:151,5 +DA:152,5 +DA:153,5 +DA:154,1 +DA:155,1 +DA:156,1 +DA:157,1 +DA:158,1 +DA:159,1 +DA:160,1 +DA:161,7 +DA:162,7 +DA:163,5 +DA:164,5 +DA:165,5 +DA:166,5 +DA:167,5 +DA:168,5 +DA:169,5 +DA:170,5 +DA:171,5 +DA:172,5 +DA:173,5 +DA:174,5 +DA:175,5 +DA:176,5 +DA:177,3 +DA:178,3 +DA:179,1 +DA:180,1 +DA:181,1 +DA:182,1 +DA:183,1 +DA:184,3 +DA:185,5 +DA:186,5 +DA:187,3 +DA:188,3 +DA:189,1 +DA:190,1 +DA:191,1 +DA:192,1 +DA:193,1 +DA:194,3 +DA:195,5 +DA:196,5 +DA:197,5 +DA:198,7 +DA:199,1 +DA:200,1 +DA:201,1 +DA:202,1 +DA:203,1 +DA:204,1 +DA:205,1 +DA:206,1 +DA:207,5 +DA:208,5 +DA:209,3 +DA:210,3 +DA:211,3 +DA:212,3 +DA:213,3 +DA:214,3 +DA:215,3 +DA:216,5 +DA:217,1 +DA:218,1 +DA:219,1 +DA:220,1 +DA:221,0 +DA:222,0 +DA:223,0 +DA:224,0 +DA:225,0 +DA:226,0 +DA:227,0 +DA:228,0 +DA:229,0 +DA:230,0 +DA:231,0 +DA:232,1 +DA:233,0 +DA:234,0 +DA:235,0 +DA:236,0 +DA:237,0 +DA:238,0 +DA:239,0 +DA:240,0 +DA:241,0 +DA:242,0 +DA:243,0 +DA:244,0 +DA:245,0 +DA:246,0 +DA:247,0 +DA:248,0 +DA:249,0 +DA:250,0 +DA:251,0 +DA:252,1 +DA:253,0 +DA:254,0 +DA:255,0 +DA:256,0 +DA:257,0 +DA:258,1 +DA:259,0 +DA:260,0 +DA:261,0 +DA:262,0 +DA:263,0 +DA:264,0 +DA:265,0 +DA:266,0 +DA:267,0 +DA:268,0 +DA:269,0 +DA:270,0 +DA:271,0 +DA:272,0 +DA:273,0 +DA:274,0 +DA:275,0 +DA:276,0 +DA:277,0 +DA:278,0 +DA:279,0 +DA:280,0 +LF:280 +LH:223 +BRDA:36,0,0,1 +BRDA:39,1,0,7 +BRDA:40,2,0,6 +BRDA:40,3,0,3 +BRDA:42,4,0,4 +BRDA:56,5,0,7 +BRDA:62,6,0,21 +BRDA:65,7,0,4 +BRDA:69,8,0,17 +BRDA:70,9,0,14 +BRDA:70,10,0,6 +BRDA:72,11,0,11 +BRDA:72,12,0,3 +BRDA:74,13,0,8 +BRDA:74,14,0,2 +BRDA:76,15,0,6 +BRDA:76,16,0,3 +BRDA:82,17,0,3 +BRDA:86,18,0,2 +BRDA:93,19,0,2 +BRDA:102,20,0,18 +BRDA:104,21,0,2 +BRDA:113,22,0,16 +BRDA:114,23,0,13 +BRDA:116,24,0,2 +BRDA:120,25,0,11 +BRDA:122,26,0,2 +BRDA:127,27,0,9 +BRDA:129,28,0,2 +BRDA:135,29,0,10 +BRDA:136,30,0,1 +BRDA:139,31,0,10 +BRDA:140,32,0,3 +BRDA:149,33,0,5 +BRDA:150,34,0,1 +BRDA:151,35,0,4 +BRDA:151,36,0,1 +BRDA:152,37,0,3 +BRDA:152,38,0,1 +BRDA:153,39,0,2 +BRDA:153,40,0,1 +BRDA:157,41,0,1 +BRDA:160,42,0,7 +BRDA:162,43,0,5 +BRDA:176,44,0,3 +BRDA:178,45,0,1 +BRDA:186,46,0,3 +BRDA:188,47,0,1 +BRDA:203,48,0,1 +BRDA:206,49,0,5 +BRDA:208,50,0,3 +BRF:51 +BRH:51 +end_of_record +TN: +SF:src/utils/platform.ts +FNF:0 +FNH:0 +DA:1,1 +DA:2,1 +DA:3,1 +LF:3 +LH:3 +BRF:0 +BRH:0 +end_of_record +TN: +SF:src/utils/regexp.ts +FNF:0 +FNH:0 +DA:1,1 +DA:2,1 +DA:3,1 +DA:4,1 +DA:5,1 +DA:6,1 +DA:7,1 +DA:8,1 +DA:9,1 +DA:10,1 +DA:11,1 +DA:12,1 +DA:13,1 +DA:14,1 +DA:15,1 +DA:16,1 +DA:17,1 +DA:18,1 +DA:19,1 +DA:20,1 +LF:20 +LH:20 +BRF:0 +BRH:0 +end_of_record +TN: +SF:tests/acceptance/dummy.ts +FNF:0 +FNH:0 +DA:1,1 +DA:2,1 +DA:3,1 +LF:3 +LH:3 +BRDA:3,0,0,1 +BRF:1 +BRH:1 +end_of_record +TN: +SF:tests/helpers/async.ts +FN:1,delay +FNF:1 +FNH:1 +FNDA:22,delay +DA:1,22 +DA:2,22 +DA:3,22 +LF:3 +LH:3 +BRDA:1,0,0,22 +BRDA:2,1,0,22 +BRF:2 +BRH:2 +end_of_record +TN: +SF:tests/helpers/spawn-stub.ts +FN:10, +FN:14,FakeProcess +FN:23,stubSpawn +FNF:3 +FNH:3 +FNDA:16, +FNDA:16,FakeProcess +FNDA:16,stubSpawn +DA:1,1 +DA:2,1 +DA:3,1 +DA:4,1 +DA:5,1 +DA:6,1 +DA:7,1 +DA:8,1 +DA:9,1 +DA:10,16 +DA:11,16 +DA:12,16 +DA:13,16 +DA:14,16 +DA:15,16 +DA:16,16 +DA:17,16 +DA:18,16 +DA:19,16 +DA:20,16 +DA:21,16 +DA:22,1 +DA:23,16 +DA:24,16 +DA:25,16 +DA:26,16 +DA:27,16 +DA:28,16 +DA:29,16 +DA:30,16 +DA:31,16 +DA:32,16 +DA:33,16 +DA:34,16 +LF:34 +LH:34 +BRDA:10,0,0,16 +BRDA:14,1,0,16 +BRDA:18,2,0,16 +BRDA:23,3,0,16 +BRDA:31,4,0,16 +BRF:5 +BRH:5 +end_of_record +TN: +SF:tests/helpers/streams.ts +FN:4,_read +FN:8,_write +FNF:2 +FNH:0 +FNDA:0,_read +FNDA:0,_write +DA:1,1 +DA:2,1 +DA:3,1 +DA:4,1 +DA:5,1 +DA:6,1 +DA:7,1 +DA:8,1 +DA:9,1 +LF:9 +LH:9 +BRF:0 +BRH:0 +end_of_record diff --git a/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761185-1.json b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761185-1.json new file mode 100644 index 0000000..fe32955 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761185-1.json @@ -0,0 +1 @@ +{"result":[{"scriptId":"78","url":"node:internal/per_context/primordials","functions":[{"functionName":"SafeIterator","ranges":[{"startOffset":9499,"endOffset":9570,"count":142}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":9575,"endOffset":9624,"count":714}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9629,"endOffset":9674,"count":85}],"isBlockCoverage":true},{"functionName":"desc.value","ranges":[{"startOffset":11239,"endOffset":11306,"count":57}],"isBlockCoverage":true},{"functionName":"SafeMap","ranges":[{"startOffset":11964,"endOffset":11992,"count":506}],"isBlockCoverage":false},{"functionName":"SafeWeakMap","ranges":[{"startOffset":12136,"endOffset":12164,"count":10}],"isBlockCoverage":false},{"functionName":"SafeSet","ranges":[{"startOffset":12293,"endOffset":12321,"count":456}],"isBlockCoverage":false},{"functionName":"SafeWeakSet","ranges":[{"startOffset":12465,"endOffset":12493,"count":1}],"isBlockCoverage":true},{"functionName":"SafeFinalizationRegistry","ranges":[{"startOffset":12745,"endOffset":12801,"count":3}],"isBlockCoverage":true},{"functionName":"SafeWeakRef","ranges":[{"startOffset":12954,"endOffset":12992,"count":5}],"isBlockCoverage":true},{"functionName":"SafePromise","ranges":[{"startOffset":13140,"endOffset":13182,"count":348}],"isBlockCoverage":true},{"functionName":"primordials.SafePromisePrototypeFinally","ranges":[{"startOffset":13686,"endOffset":13960,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13831,"endOffset":13955,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13861,"endOffset":13910,"count":58}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnArrayLike","ranges":[{"startOffset":15280,"endOffset":15836,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15315,"endOffset":15835,"count":97},{"startOffset":15485,"endOffset":15504,"count":62},{"startOffset":15577,"endOffset":15831,"count":158},{"startOffset":15615,"endOffset":15638,"count":0},{"startOffset":15831,"endOffset":15834,"count":158}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15706,"endOffset":15815,"count":158},{"startOffset":15788,"endOffset":15807,"count":35}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnVoid","ranges":[{"startOffset":16178,"endOffset":16580,"count":203}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16213,"endOffset":16579,"count":203},{"startOffset":16310,"endOffset":16320,"count":133},{"startOffset":16367,"endOffset":16575,"count":316},{"startOffset":16405,"endOffset":16428,"count":158},{"startOffset":16429,"endOffset":16442,"count":158},{"startOffset":16575,"endOffset":16578,"count":316}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16496,"endOffset":16559,"count":316},{"startOffset":16541,"endOffset":16551,"count":70}],"isBlockCoverage":true}]},{"scriptId":"80","url":"node:internal/per_context/messageport","functions":[{"functionName":"exports.emitMessage","ranges":[{"startOffset":407,"endOffset":993,"count":4},{"startOffset":683,"endOffset":991,"count":0}],"isBlockCoverage":true}]},{"scriptId":"81","url":"node:internal/bootstrap/realm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14749,"count":1}],"isBlockCoverage":false},{"functionName":"binding","ranges":[{"startOffset":4702,"endOffset":5475,"count":0}],"isBlockCoverage":false},{"functionName":"_linkedBinding","ranges":[{"startOffset":5505,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"internalBinding","ranges":[{"startOffset":5955,"endOffset":6217,"count":186},{"startOffset":6057,"endOffset":6197,"count":45}],"isBlockCoverage":true},{"functionName":"getOwn","ranges":[{"startOffset":6377,"endOffset":6531,"count":3307},{"startOffset":6513,"endOffset":6528,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6580,"endOffset":6676,"count":331},{"startOffset":6636,"endOffset":6676,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6803,"endOffset":6870,"count":331},{"startOffset":6854,"endOffset":6870,"count":261}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7100,"endOffset":7136,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7508,"endOffset":7609,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7568,"endOffset":7603,"count":331}],"isBlockCoverage":true},{"functionName":"BuiltinModule","ranges":[{"startOffset":7614,"endOffset":8291,"count":331}],"isBlockCoverage":true},{"functionName":"allowRequireByUsers","ranges":[{"startOffset":8302,"endOffset":8663,"count":0}],"isBlockCoverage":false},{"functionName":"exposeInternals","ranges":[{"startOffset":8813,"endOffset":8964,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":8975,"endOffset":9029,"count":0}],"isBlockCoverage":false},{"functionName":"canBeRequiredByUsers","ranges":[{"startOffset":9040,"endOffset":9115,"count":184}],"isBlockCoverage":true},{"functionName":"canBeRequiredWithoutScheme","ranges":[{"startOffset":9126,"endOffset":9220,"count":1630}],"isBlockCoverage":true},{"functionName":"normalizeRequirableId","ranges":[{"startOffset":9231,"endOffset":9576,"count":1146},{"startOffset":9307,"endOffset":9469,"count":0},{"startOffset":9525,"endOffset":9549,"count":60},{"startOffset":9549,"endOffset":9575,"count":1086}],"isBlockCoverage":true},{"functionName":"isBuiltin","ranges":[{"startOffset":9587,"endOffset":9828,"count":0}],"isBlockCoverage":false},{"functionName":"getCanBeRequiredByUsersWithoutSchemeList","ranges":[{"startOffset":9839,"endOffset":9948,"count":1}],"isBlockCoverage":true},{"functionName":"getSchemeOnlyModuleNames","ranges":[{"startOffset":9959,"endOffset":10034,"count":0}],"isBlockCoverage":false},{"functionName":"compileForPublicLoader","ranges":[{"startOffset":10106,"endOffset":10818,"count":86},{"startOffset":10187,"endOffset":10379,"count":0},{"startOffset":10443,"endOffset":10740,"count":17},{"startOffset":10702,"endOffset":10706,"count":0}],"isBlockCoverage":true},{"functionName":"getESMFacade","ranges":[{"startOffset":10822,"endOffset":11584,"count":100},{"startOffset":10860,"endOffset":10879,"count":83},{"startOffset":10879,"endOffset":11583,"count":17}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11321,"endOffset":11424,"count":17}],"isBlockCoverage":true},{"functionName":"syncExports","ranges":[{"startOffset":11880,"endOffset":12224,"count":103},{"startOffset":11999,"endOffset":12214,"count":3307},{"startOffset":12076,"endOffset":12085,"count":0}],"isBlockCoverage":true},{"functionName":"compileForInternalLoader","ranges":[{"startOffset":12228,"endOffset":13050,"count":2172},{"startOffset":12277,"endOffset":12292,"count":156},{"startOffset":12294,"endOffset":12328,"count":2018},{"startOffset":12328,"endOffset":12467,"count":154},{"startOffset":12467,"endOffset":12502,"count":1},{"startOffset":12503,"endOffset":12519,"count":153},{"startOffset":12775,"endOffset":13049,"count":154}],"isBlockCoverage":true},{"functionName":"requireBuiltin","ranges":[{"startOffset":13245,"endOffset":13610,"count":2091},{"startOffset":13296,"endOffset":13327,"count":5},{"startOffset":13327,"endOffset":13512,"count":2086},{"startOffset":13512,"endOffset":13567,"count":0},{"startOffset":13567,"endOffset":13609,"count":2086}],"isBlockCoverage":true},{"functionName":"requireWithFallbackInDeps","ranges":[{"startOffset":13726,"endOffset":14002,"count":0}],"isBlockCoverage":false},{"functionName":"setupPrepareStackTrace","ranges":[{"startOffset":14004,"endOffset":14600,"count":1}],"isBlockCoverage":true}]},{"scriptId":"82","url":"node:internal/errors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":64999,"count":1}],"isBlockCoverage":false},{"functionName":"prepareStackTrace","ranges":[{"startOffset":2135,"endOffset":3623,"count":0}],"isBlockCoverage":false},{"functionName":"maybeOverridePrepareStackTrace","ranges":[{"startOffset":3665,"endOffset":4372,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4418,"endOffset":4964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5008,"endOffset":5207,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtil","ranges":[{"startOffset":5276,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtilInspect","ranges":[{"startOffset":5409,"endOffset":5537,"count":0}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":5555,"endOffset":5655,"count":0}],"isBlockCoverage":false},{"functionName":"lazyBuffer","ranges":[{"startOffset":5669,"endOffset":5750,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorStackTraceLimitWritable","ranges":[{"startOffset":5752,"endOffset":6259,"count":0}],"isBlockCoverage":false},{"functionName":"inspectWithNoCustomRetry","ranges":[{"startOffset":6261,"endOffset":6507,"count":0}],"isBlockCoverage":false},{"functionName":"SystemError","ranges":[{"startOffset":7009,"endOffset":9985,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":9989,"endOffset":10064,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10068,"endOffset":10258,"count":0}],"isBlockCoverage":false},{"functionName":"makeSystemErrorWithCode","ranges":[{"startOffset":10262,"endOffset":10407,"count":12}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10353,"endOffset":10400,"count":0}],"isBlockCoverage":false},{"functionName":"makeNodeErrorWithCode","ranges":[{"startOffset":10409,"endOffset":11467,"count":267}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10462,"endOffset":11464,"count":0}],"isBlockCoverage":false},{"functionName":"hideStackFrames","ranges":[{"startOffset":11629,"endOffset":11894,"count":49}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":12006,"endOffset":12514,"count":273},{"startOffset":12248,"endOffset":12293,"count":12},{"startOffset":12293,"endOffset":12347,"count":261},{"startOffset":12382,"endOffset":12492,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12409,"endOffset":12486,"count":6}],"isBlockCoverage":true},{"functionName":"getMessage","ranges":[{"startOffset":12516,"endOffset":13389,"count":0}],"isBlockCoverage":false},{"functionName":"lazyUv","ranges":[{"startOffset":13407,"endOffset":13487,"count":0}],"isBlockCoverage":false},{"functionName":"uvErrmapGet","ranges":[{"startOffset":13544,"endOffset":13696,"count":0}],"isBlockCoverage":false},{"functionName":"captureLargerStackTrace","ranges":[{"startOffset":13749,"endOffset":14151,"count":0}],"isBlockCoverage":false},{"functionName":"uvException","ranges":[{"startOffset":14478,"endOffset":15719,"count":0}],"isBlockCoverage":false},{"functionName":"uvExceptionWithHostPort","ranges":[{"startOffset":16082,"endOffset":17071,"count":0}],"isBlockCoverage":false},{"functionName":"errnoException","ranges":[{"startOffset":17291,"endOffset":18155,"count":0}],"isBlockCoverage":false},{"functionName":"exceptionWithHostPort","ranges":[{"startOffset":18559,"endOffset":19847,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20050,"endOffset":21591,"count":0}],"isBlockCoverage":false},{"functionName":"connResetException","ranges":[{"startOffset":21595,"endOffset":21750,"count":0}],"isBlockCoverage":false},{"functionName":"isStackOverflowError","ranges":[{"startOffset":22037,"endOffset":22415,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericalSeparator","ranges":[{"startOffset":22496,"endOffset":22764,"count":0}],"isBlockCoverage":false},{"functionName":"beforeInspector","ranges":[{"startOffset":23043,"endOffset":23434,"count":0}],"isBlockCoverage":false},{"functionName":"afterInspector","ranges":[{"startOffset":23438,"endOffset":24721,"count":0}],"isBlockCoverage":false},{"functionName":"setArrowMessage","ranges":[{"startOffset":24876,"endOffset":24975,"count":0}],"isBlockCoverage":false},{"functionName":"hideInternalStackFrames","ranges":[{"startOffset":25030,"endOffset":25508,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":25741,"endOffset":26050,"count":0}],"isBlockCoverage":false},{"functionName":"genericNodeError","ranges":[{"startOffset":26305,"endOffset":26497,"count":0}],"isBlockCoverage":false},{"functionName":"determineSpecificType","ranges":[{"startOffset":26618,"endOffset":27237,"count":0}],"isBlockCoverage":false},{"functionName":"formatList","ranges":[{"startOffset":27559,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29857,"endOffset":30021,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33056,"endOffset":33171,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33460,"endOffset":33554,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":36457,"endOffset":36685,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38465,"endOffset":38683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41350,"endOffset":41650,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41692,"endOffset":41836,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41879,"endOffset":44000,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44041,"endOffset":44389,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44697,"endOffset":44860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45517,"endOffset":45696,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45744,"endOffset":45879,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45925,"endOffset":46073,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":46117,"endOffset":46891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47179,"endOffset":47366,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47419,"endOffset":47598,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47642,"endOffset":47819,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48276,"endOffset":48492,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48536,"endOffset":48824,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":49387,"endOffset":49860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":50646,"endOffset":51087,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":51181,"endOffset":51400,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":52546,"endOffset":53244,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53295,"endOffset":53487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53536,"endOffset":53852,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54094,"endOffset":54393,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54577,"endOffset":56023,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":56475,"endOffset":56757,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58280,"endOffset":58354,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58390,"endOffset":58713,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58759,"endOffset":58833,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58865,"endOffset":59269,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59321,"endOffset":59499,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59770,"endOffset":59939,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61637,"endOffset":61768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62015,"endOffset":62172,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62362,"endOffset":62564,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62610,"endOffset":62933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63572,"endOffset":63640,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64043,"endOffset":64156,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64350,"endOffset":64737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"83","url":"node:internal/bootstrap/node","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13817,"count":1}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3830,"endOffset":3880,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3886,"endOffset":3944,"count":3},{"startOffset":3930,"endOffset":3933,"count":1},{"startOffset":3934,"endOffset":3937,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4086,"endOffset":4122,"count":8}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":4128,"endOffset":4547,"count":2},{"startOffset":4187,"endOffset":4469,"count":1},{"startOffset":4252,"endOffset":4266,"count":0},{"startOffset":4267,"endOffset":4315,"count":0},{"startOffset":4317,"endOffset":4352,"count":0},{"startOffset":4469,"endOffset":4518,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4769,"endOffset":5033,"count":409}],"isBlockCoverage":true},{"functionName":"process.openStdin","ranges":[{"startOffset":6409,"endOffset":6479,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7965,"endOffset":8127,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8229,"endOffset":8425,"count":1}],"isBlockCoverage":true},{"functionName":"get cached_builtins","ranges":[{"startOffset":9173,"endOffset":9240,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11734,"endOffset":11784,"count":6}],"isBlockCoverage":true},{"functionName":"setupProcessObject","ranges":[{"startOffset":12107,"endOffset":12912,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":12772,"endOffset":12808,"count":55}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":12814,"endOffset":12856,"count":0}],"isBlockCoverage":false},{"functionName":"setupGlobalProxy","ranges":[{"startOffset":12914,"endOffset":13151,"count":1}],"isBlockCoverage":true},{"functionName":"setupBuffer","ranges":[{"startOffset":13153,"endOffset":13816,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13678,"endOffset":13713,"count":3}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":13719,"endOffset":13760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"84","url":"node:internal/timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":19560,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4385,"endOffset":4410,"count":1}],"isBlockCoverage":true},{"functionName":"initAsyncResource","ranges":[{"startOffset":5548,"endOffset":5826,"count":2},{"startOffset":5774,"endOffset":5824,"count":0}],"isBlockCoverage":true},{"functionName":"Timeout","ranges":[{"startOffset":5932,"endOffset":6978,"count":1},{"startOffset":6080,"endOffset":6432,"count":0},{"startOffset":6789,"endOffset":6796,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7059,"endOffset":7255,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":7259,"endOffset":7368,"count":2},{"startOffset":7299,"endOffset":7312,"count":0}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":7372,"endOffset":7511,"count":3}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":7515,"endOffset":7652,"count":2}],"isBlockCoverage":true},{"functionName":"hasRef","ranges":[{"startOffset":7656,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"TimersList","ranges":[{"startOffset":7720,"endOffset":8026,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8107,"endOffset":8303,"count":0}],"isBlockCoverage":false},{"functionName":"ImmediateList","ranges":[{"startOffset":8386,"endOffset":8449,"count":2}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":8601,"endOffset":8782,"count":1},{"startOffset":8644,"endOffset":8719,"count":0}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":8932,"endOffset":9293,"count":0}],"isBlockCoverage":false},{"functionName":"incRefCount","ranges":[{"startOffset":9403,"endOffset":9569,"count":3}],"isBlockCoverage":true},{"functionName":"decRefCount","ranges":[{"startOffset":9571,"endOffset":9738,"count":3}],"isBlockCoverage":true},{"functionName":"active","ranges":[{"startOffset":9821,"endOffset":9875,"count":0}],"isBlockCoverage":false},{"functionName":"unrefActive","ranges":[{"startOffset":10022,"endOffset":10082,"count":2}],"isBlockCoverage":true},{"functionName":"insertGuarded","ranges":[{"startOffset":10303,"endOffset":10819,"count":2},{"startOffset":10427,"endOffset":10434,"count":0},{"startOffset":10551,"endOffset":10625,"count":0},{"startOffset":10646,"endOffset":10687,"count":0},{"startOffset":10722,"endOffset":10793,"count":0}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":10887,"endOffset":11626,"count":3},{"startOffset":11218,"endOffset":11599,"count":1}],"isBlockCoverage":true},{"functionName":"setUnrefTimeout","ranges":[{"startOffset":11628,"endOffset":11886,"count":0}],"isBlockCoverage":false},{"functionName":"getTimerDuration","ranges":[{"startOffset":11953,"endOffset":12481,"count":0}],"isBlockCoverage":false},{"functionName":"compareTimersLists","ranges":[{"startOffset":12483,"endOffset":12688,"count":0}],"isBlockCoverage":false},{"functionName":"setPosition","ranges":[{"startOffset":12690,"endOffset":12761,"count":1}],"isBlockCoverage":true},{"functionName":"getTimerCallbacks","ranges":[{"startOffset":12763,"endOffset":18141,"count":1}],"isBlockCoverage":true},{"functionName":"processImmediate","ranges":[{"startOffset":13075,"endOffset":15008,"count":1},{"startOffset":13154,"endOffset":13178,"count":0},{"startOffset":13615,"endOffset":13630,"count":0},{"startOffset":13947,"endOffset":14043,"count":0},{"startOffset":14605,"endOffset":14661,"count":0},{"startOffset":14763,"endOffset":14784,"count":0},{"startOffset":14935,"endOffset":14964,"count":0}],"isBlockCoverage":true},{"functionName":"processTimers","ranges":[{"startOffset":15013,"endOffset":15503,"count":0}],"isBlockCoverage":false},{"functionName":"listOnTimeout","ranges":[{"startOffset":15507,"endOffset":18081,"count":0}],"isBlockCoverage":false},{"functionName":"Immediate","ranges":[{"startOffset":18163,"endOffset":18485,"count":1}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":18489,"endOffset":18755,"count":1}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":18759,"endOffset":19027,"count":0}],"isBlockCoverage":false},{"functionName":"hasRef","ranges":[{"startOffset":19031,"endOffset":19072,"count":0}],"isBlockCoverage":false}]},{"scriptId":"85","url":"node:internal/async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20082,"count":1}],"isBlockCoverage":false},{"functionName":"useDomainTrampoline","ranges":[{"startOffset":5108,"endOffset":5162,"count":0}],"isBlockCoverage":false},{"functionName":"callbackTrampoline","ranges":[{"startOffset":5164,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"executionAsyncResource","ranges":[{"startOffset":5745,"endOffset":6243,"count":0}],"isBlockCoverage":false},{"functionName":"inspectExceptionValue","ranges":[{"startOffset":6245,"endOffset":6372,"count":0}],"isBlockCoverage":false},{"functionName":"fatalError","ranges":[{"startOffset":6433,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"lookupPublicResource","ranges":[{"startOffset":6837,"endOffset":7186,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitNative","ranges":[{"startOffset":7377,"endOffset":8510,"count":0}],"isBlockCoverage":false},{"functionName":"emitHook","ranges":[{"startOffset":8611,"endOffset":9600,"count":0}],"isBlockCoverage":false},{"functionName":"emitHookFactory","ranges":[{"startOffset":9602,"endOffset":9866,"count":4}],"isBlockCoverage":true},{"functionName":"getHookArrays","ranges":[{"startOffset":9895,"endOffset":10385,"count":0}],"isBlockCoverage":false},{"functionName":"storeActiveHooks","ranges":[{"startOffset":10388,"endOffset":10688,"count":0}],"isBlockCoverage":false},{"functionName":"copyHooks","ranges":[{"startOffset":10690,"endOffset":10955,"count":0}],"isBlockCoverage":false},{"functionName":"restoreActiveHooks","ranges":[{"startOffset":11070,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"trackPromise","ranges":[{"startOffset":11277,"endOffset":11707,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHook","ranges":[{"startOffset":11709,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHookWithDestroyTracking","ranges":[{"startOffset":11955,"endOffset":12091,"count":0}],"isBlockCoverage":false},{"functionName":"destroyTracking","ranges":[{"startOffset":12093,"endOffset":12256,"count":0}],"isBlockCoverage":false},{"functionName":"promiseBeforeHook","ranges":[{"startOffset":12258,"endOffset":12469,"count":0}],"isBlockCoverage":false},{"functionName":"promiseAfterHook","ranges":[{"startOffset":12471,"endOffset":13038,"count":0}],"isBlockCoverage":false},{"functionName":"promiseResolveHook","ranges":[{"startOffset":13040,"endOffset":13186,"count":0}],"isBlockCoverage":false},{"functionName":"enableHooks","ranges":[{"startOffset":13217,"endOffset":13323,"count":0}],"isBlockCoverage":false},{"functionName":"updatePromiseHookMode","ranges":[{"startOffset":13346,"endOffset":13925,"count":0}],"isBlockCoverage":false},{"functionName":"disableHooks","ranges":[{"startOffset":13927,"endOffset":14230,"count":0}],"isBlockCoverage":false},{"functionName":"disablePromiseHookIfNecessary","ranges":[{"startOffset":14232,"endOffset":14348,"count":0}],"isBlockCoverage":false},{"functionName":"newAsyncId","ranges":[{"startOffset":14549,"endOffset":14619,"count":4}],"isBlockCoverage":true},{"functionName":"getOrSetAsyncId","ranges":[{"startOffset":14621,"endOffset":14811,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultTriggerAsyncId","ranges":[{"startOffset":14994,"endOffset":15284,"count":4},{"startOffset":15250,"endOffset":15283,"count":0}],"isBlockCoverage":true},{"functionName":"clearDefaultTriggerAsyncId","ranges":[{"startOffset":15287,"endOffset":15376,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTriggerAsyncIdScope","ranges":[{"startOffset":15601,"endOffset":16094,"count":0}],"isBlockCoverage":false},{"functionName":"hasHooks","ranges":[{"startOffset":16096,"endOffset":16159,"count":16}],"isBlockCoverage":true},{"functionName":"enabledHooksExist","ranges":[{"startOffset":16161,"endOffset":16220,"count":3}],"isBlockCoverage":true},{"functionName":"initHooksExist","ranges":[{"startOffset":16222,"endOffset":16277,"count":4}],"isBlockCoverage":true},{"functionName":"afterHooksExist","ranges":[{"startOffset":16279,"endOffset":16336,"count":0}],"isBlockCoverage":false},{"functionName":"destroyHooksExist","ranges":[{"startOffset":16338,"endOffset":16399,"count":3}],"isBlockCoverage":true},{"functionName":"promiseResolveHooksExist","ranges":[{"startOffset":16401,"endOffset":16476,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitScript","ranges":[{"startOffset":16479,"endOffset":16887,"count":0}],"isBlockCoverage":false},{"functionName":"emitBeforeScript","ranges":[{"startOffset":16890,"endOffset":17066,"count":3},{"startOffset":17038,"endOffset":17064,"count":0}],"isBlockCoverage":true},{"functionName":"emitAfterScript","ranges":[{"startOffset":17069,"endOffset":17189,"count":3},{"startOffset":17133,"endOffset":17158,"count":0}],"isBlockCoverage":true},{"functionName":"emitDestroyScript","ranges":[{"startOffset":17192,"endOffset":17402,"count":0}],"isBlockCoverage":false},{"functionName":"hasAsyncIdStack","ranges":[{"startOffset":17405,"endOffset":17468,"count":0}],"isBlockCoverage":false},{"functionName":"pushAsyncContext","ranges":[{"startOffset":17534,"endOffset":18104,"count":3},{"startOffset":17754,"endOffset":17804,"count":0}],"isBlockCoverage":true},{"functionName":"popAsyncContext","ranges":[{"startOffset":18169,"endOffset":18780,"count":3},{"startOffset":18285,"endOffset":18298,"count":0},{"startOffset":18377,"endOffset":18483,"count":0}],"isBlockCoverage":true},{"functionName":"executionAsyncId","ranges":[{"startOffset":18783,"endOffset":18859,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":18861,"endOffset":18933,"count":0}],"isBlockCoverage":false}]},{"scriptId":"86","url":"node:internal/validators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15153,"count":1}],"isBlockCoverage":false},{"functionName":"isInt32","ranges":[{"startOffset":835,"endOffset":894,"count":377}],"isBlockCoverage":true},{"functionName":"isUint32","ranges":[{"startOffset":946,"endOffset":1008,"count":0}],"isBlockCoverage":false},{"functionName":"parseFileMode","ranges":[{"startOffset":1629,"endOffset":1940,"count":60},{"startOffset":1722,"endOffset":1890,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2186,"endOffset":2567,"count":3},{"startOffset":2306,"endOffset":2360,"count":0},{"startOffset":2400,"endOffset":2454,"count":0},{"startOffset":2497,"endOffset":2563,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2811,"endOffset":3274,"count":2},{"startOffset":2983,"endOffset":3051,"count":0},{"startOffset":3085,"endOffset":3153,"count":0},{"startOffset":3190,"endOffset":3270,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3512,"endOffset":3944,"count":798},{"startOffset":3582,"endOffset":3646,"count":0},{"startOffset":3678,"endOffset":3742,"count":0},{"startOffset":3766,"endOffset":3769,"count":0},{"startOffset":3866,"endOffset":3942,"count":0}],"isBlockCoverage":true},{"functionName":"validateString","ranges":[{"startOffset":4097,"endOffset":4229,"count":12555},{"startOffset":4173,"endOffset":4227,"count":0}],"isBlockCoverage":true},{"functionName":"validateNumber","ranges":[{"startOffset":4430,"endOffset":4898,"count":62},{"startOffset":4528,"endOffset":4582,"count":0},{"startOffset":4603,"endOffset":4617,"count":61},{"startOffset":4635,"endOffset":4649,"count":60},{"startOffset":4674,"endOffset":4688,"count":1},{"startOffset":4690,"endOffset":4711,"count":61},{"startOffset":4714,"endOffset":4896,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5084,"endOffset":5417,"count":0}],"isBlockCoverage":false},{"functionName":"validateBoolean","ranges":[{"startOffset":5573,"endOffset":5708,"count":370},{"startOffset":5651,"endOffset":5706,"count":0}],"isBlockCoverage":true},{"functionName":"getOwnPropertyValueOrDefault","ranges":[{"startOffset":5820,"endOffset":6001,"count":48},{"startOffset":5961,"endOffset":5979,"count":13},{"startOffset":5980,"endOffset":5998,"count":35}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6266,"endOffset":6821,"count":16},{"startOffset":6571,"endOffset":6588,"count":13},{"startOffset":6614,"endOffset":6636,"count":0},{"startOffset":6676,"endOffset":6746,"count":0},{"startOffset":6749,"endOffset":6817,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7376,"endOffset":7556,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7775,"endOffset":8053,"count":738},{"startOffset":7837,"endOffset":7900,"count":0},{"startOffset":7933,"endOffset":8051,"count":0}],"isBlockCoverage":true},{"functionName":"validateStringArray","ranges":[{"startOffset":8218,"endOffset":8387,"count":369},{"startOffset":8333,"endOffset":8385,"count":1845}],"isBlockCoverage":true},{"functionName":"validateBooleanArray","ranges":[{"startOffset":8553,"endOffset":8724,"count":0}],"isBlockCoverage":false},{"functionName":"validateAbortSignalArray","ranges":[{"startOffset":8902,"endOffset":9251,"count":0}],"isBlockCoverage":false},{"functionName":"validateSignalName","ranges":[{"startOffset":9363,"endOffset":9736,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9948,"endOffset":10178,"count":1},{"startOffset":10013,"endOffset":10176,"count":0}],"isBlockCoverage":true},{"functionName":"validateEncoding","ranges":[{"startOffset":10242,"endOffset":10576,"count":0}],"isBlockCoverage":false},{"functionName":"validatePort","ranges":[{"startOffset":10838,"endOffset":11217,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11385,"endOffset":11602,"count":13},{"startOffset":11432,"endOffset":11528,"count":0},{"startOffset":11530,"endOffset":11600,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11802,"endOffset":11918,"count":392},{"startOffset":11860,"endOffset":11916,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12133,"endOffset":12275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12479,"endOffset":12588,"count":0}],"isBlockCoverage":false},{"functionName":"validateUnion","ranges":[{"startOffset":12681,"endOffset":12868,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderFormat","ranges":[{"startOffset":13296,"endOffset":13602,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13650,"endOffset":13860,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderValue","ranges":[{"startOffset":13914,"endOffset":14597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"87","url":"node:internal/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":24956,"count":1}],"isBlockCoverage":false},{"functionName":"toUSVString","ranges":[{"startOffset":1790,"endOffset":2102,"count":107},{"startOffset":2059,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUv","ranges":[{"startOffset":2120,"endOffset":2200,"count":0}],"isBlockCoverage":false},{"functionName":"removeColors","ranges":[{"startOffset":2202,"endOffset":2287,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":2289,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"getDeprecationWarningEmitter","ranges":[{"startOffset":2696,"endOffset":3345,"count":30}],"isBlockCoverage":true},{"functionName":"shouldEmitWarning","ranges":[{"startOffset":2795,"endOffset":2805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2842,"endOffset":3342,"count":0}],"isBlockCoverage":false},{"functionName":"isPendingDeprecation","ranges":[{"startOffset":3347,"endOffset":3475,"count":0}],"isBlockCoverage":false},{"functionName":"pendingDeprecate","ranges":[{"startOffset":3642,"endOffset":3939,"count":3}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":3811,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"deprecate","ranges":[{"startOffset":4094,"endOffset":5092,"count":27},{"startOffset":4181,"endOffset":4201,"count":0},{"startOffset":4290,"endOffset":4344,"count":1},{"startOffset":4376,"endOffset":4405,"count":26},{"startOffset":4846,"endOffset":5068,"count":26}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":4518,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"decorateErrorStack","ranges":[{"startOffset":5094,"endOffset":5360,"count":0}],"isBlockCoverage":false},{"functionName":"assertCrypto","ranges":[{"startOffset":5362,"endOffset":5436,"count":1},{"startOffset":5408,"endOffset":5434,"count":0}],"isBlockCoverage":true},{"functionName":"normalizeEncoding","ranges":[{"startOffset":5615,"endOffset":5746,"count":375},{"startOffset":5685,"endOffset":5703,"count":0},{"startOffset":5719,"endOffset":5745,"count":0}],"isBlockCoverage":true},{"functionName":"slowCases","ranges":[{"startOffset":5748,"endOffset":7499,"count":0}],"isBlockCoverage":false},{"functionName":"emitExperimentalWarning","ranges":[{"startOffset":7501,"endOffset":7767,"count":0}],"isBlockCoverage":false},{"functionName":"filterDuplicateStrings","ranges":[{"startOffset":7769,"endOffset":8108,"count":0}],"isBlockCoverage":false},{"functionName":"cachedResult","ranges":[{"startOffset":8110,"endOffset":8266,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8161,"endOffset":8263,"count":0}],"isBlockCoverage":false},{"functionName":"createClassWrapper","ranges":[{"startOffset":8531,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"getSignalsToNamesMapping","ranges":[{"startOffset":8960,"endOffset":9239,"count":0}],"isBlockCoverage":false},{"functionName":"convertToValidSignal","ranges":[{"startOffset":9241,"endOffset":9562,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorOf","ranges":[{"startOffset":9564,"endOffset":9910,"count":0}],"isBlockCoverage":false},{"functionName":"getCWDURL","ranges":[{"startOffset":10233,"endOffset":10743,"count":1},{"startOffset":10561,"endOffset":10610,"count":0}],"isBlockCoverage":true},{"functionName":"getSystemErrorName","ranges":[{"startOffset":10745,"endOffset":10874,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorMap","ranges":[{"startOffset":10876,"endOffset":10941,"count":0}],"isBlockCoverage":false},{"functionName":"promisify","ranges":[{"startOffset":11109,"endOffset":12970,"count":6},{"startOffset":11229,"endOffset":11285,"count":1},{"startOffset":11372,"endOffset":11649,"count":1},{"startOffset":11649,"endOffset":12756,"count":5},{"startOffset":12756,"endOffset":12918,"count":14},{"startOffset":12918,"endOffset":12969,"count":5}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":11849,"endOffset":12368,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13065,"endOffset":13387,"count":0}],"isBlockCoverage":false},{"functionName":"spliceOne","ranges":[{"startOffset":13528,"endOffset":13655,"count":0}],"isBlockCoverage":false},{"functionName":"isInsideNodeModules","ranges":[{"startOffset":13737,"endOffset":14975,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":14977,"endOffset":15150,"count":0}],"isBlockCoverage":false},{"functionName":"sleep","ranges":[{"startOffset":15173,"endOffset":15388,"count":0}],"isBlockCoverage":false},{"functionName":"createDeferredPromise","ranges":[{"startOffset":15390,"endOffset":15584,"count":0}],"isBlockCoverage":false},{"functionName":"defineOperation","ranges":[{"startOffset":15644,"endOffset":15845,"count":8}],"isBlockCoverage":true},{"functionName":"exposeInterface","ranges":[{"startOffset":15897,"endOffset":16117,"count":5}],"isBlockCoverage":true},{"functionName":"exposeNamespace","ranges":[{"startOffset":16169,"endOffset":16389,"count":1}],"isBlockCoverage":true},{"functionName":"exposeGetterAndSetter","ranges":[{"startOffset":16391,"endOffset":16614,"count":1}],"isBlockCoverage":true},{"functionName":"defineLazyProperties","ranges":[{"startOffset":16616,"endOffset":17549,"count":22},{"startOffset":16779,"endOffset":17548,"count":51}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":16835,"endOffset":16978,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17081,"endOffset":17277,"count":12}],"isBlockCoverage":true},{"functionName":"defineReplaceableLazyAttribute","ranges":[{"startOffset":17551,"endOffset":18451,"count":2},{"startOffset":18419,"endOffset":18424,"count":1},{"startOffset":18425,"endOffset":18436,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17763,"endOffset":17999,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":18104,"endOffset":18175,"count":0}],"isBlockCoverage":false},{"functionName":"exposeLazyInterfaces","ranges":[{"startOffset":18453,"endOffset":18553,"count":14}],"isBlockCoverage":true},{"functionName":"lazyDOMExceptionClass","ranges":[{"startOffset":18604,"endOffset":18700,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18744,"endOffset":18872,"count":0}],"isBlockCoverage":false},{"functionName":"filterOwnProperties","ranges":[{"startOffset":19057,"endOffset":19329,"count":0}],"isBlockCoverage":false},{"functionName":"setOwnProperty","ranges":[{"startOffset":19497,"endOffset":19687,"count":752}],"isBlockCoverage":true},{"functionName":"getInternalGlobal","ranges":[{"startOffset":19709,"endOffset":19984,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeExec","ranges":[{"startOffset":19986,"endOffset":20199,"count":0}],"isBlockCoverage":false},{"functionName":"getCrossRelmRegex","ranges":[{"startOffset":20245,"endOffset":21036,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolReplace","ranges":[{"startOffset":21038,"endOffset":21192,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolSplit","ranges":[{"startOffset":21194,"endOffset":21344,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayBufferDetached","ranges":[{"startOffset":21347,"endOffset":21507,"count":0}],"isBlockCoverage":false},{"functionName":"getLazy","ranges":[{"startOffset":21708,"endOffset":21920,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21789,"endOffset":21917,"count":2321},{"startOffset":21833,"endOffset":21895,"count":4}],"isBlockCoverage":true},{"functionName":"setupCoverageHooks","ranges":[{"startOffset":22045,"endOffset":22722,"count":1},{"startOffset":22515,"endOffset":22692,"count":0}],"isBlockCoverage":true},{"functionName":"guessHandleType","ranges":[{"startOffset":22795,"endOffset":22892,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22894,"endOffset":23438,"count":5}],"isBlockCoverage":false},{"functionName":"WeakReference","ranges":[{"startOffset":22969,"endOffset":23036,"count":5}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":23040,"endOffset":23258,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":23262,"endOffset":23390,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23394,"endOffset":23436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"88","url":"node:internal/options","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1922,"count":1}],"isBlockCoverage":false},{"functionName":"getCLIOptionsFromBinding","ranges":[{"startOffset":464,"endOffset":598,"count":869},{"startOffset":521,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"getAliasesFromBinding","ranges":[{"startOffset":600,"endOffset":731,"count":1}],"isBlockCoverage":true},{"functionName":"getEmbedderOptions","ranges":[{"startOffset":733,"endOffset":877,"count":4},{"startOffset":789,"endOffset":849,"count":1}],"isBlockCoverage":true},{"functionName":"refreshOptions","ranges":[{"startOffset":879,"endOffset":960,"count":1}],"isBlockCoverage":true},{"functionName":"getOptionValue","ranges":[{"startOffset":962,"endOffset":1228,"count":868},{"startOffset":1084,"endOffset":1185,"count":8},{"startOffset":1185,"endOffset":1225,"count":860}],"isBlockCoverage":true},{"functionName":"getAllowUnauthorized","ranges":[{"startOffset":1230,"endOffset":1695,"count":0}],"isBlockCoverage":false},{"functionName":"get options","ranges":[{"startOffset":1718,"endOffset":1776,"count":1}],"isBlockCoverage":true},{"functionName":"get aliases","ranges":[{"startOffset":1780,"endOffset":1835,"count":1}],"isBlockCoverage":true}]},{"scriptId":"89","url":"node:internal/util/types","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2469,"count":1}],"isBlockCoverage":false},{"functionName":"isTypedArray","ranges":[{"startOffset":131,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"isUint8Array","ranges":[{"startOffset":236,"endOffset":342,"count":986}],"isBlockCoverage":true},{"functionName":"isUint8ClampedArray","ranges":[{"startOffset":344,"endOffset":464,"count":0}],"isBlockCoverage":false},{"functionName":"isUint16Array","ranges":[{"startOffset":466,"endOffset":574,"count":0}],"isBlockCoverage":false},{"functionName":"isUint32Array","ranges":[{"startOffset":576,"endOffset":684,"count":0}],"isBlockCoverage":false},{"functionName":"isInt8Array","ranges":[{"startOffset":686,"endOffset":790,"count":0}],"isBlockCoverage":false},{"functionName":"isInt16Array","ranges":[{"startOffset":792,"endOffset":898,"count":0}],"isBlockCoverage":false},{"functionName":"isInt32Array","ranges":[{"startOffset":900,"endOffset":1006,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat32Array","ranges":[{"startOffset":1008,"endOffset":1118,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat64Array","ranges":[{"startOffset":1120,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"isBigInt64Array","ranges":[{"startOffset":1232,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"isBigUint64Array","ranges":[{"startOffset":1346,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":1932,"endOffset":2147,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":2243,"endOffset":2458,"count":0}],"isBlockCoverage":false}]},{"scriptId":"90","url":"node:internal/linkedlist","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1128,"count":1}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":15,"endOffset":103,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":133,"endOffset":225,"count":0}],"isBlockCoverage":false},{"functionName":"remove","ranges":[{"startOffset":260,"endOffset":487,"count":3}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":543,"endOffset":995,"count":3},{"startOffset":594,"endOffset":611,"count":0}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":997,"endOffset":1057,"count":0}],"isBlockCoverage":false}]},{"scriptId":"91","url":"node:internal/priority_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2573,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":395,"endOffset":2571,"count":1}],"isBlockCoverage":false},{"functionName":"#compare","ranges":[{"startOffset":430,"endOffset":445,"count":0}],"isBlockCoverage":false},{"functionName":"PriorityQueue","ranges":[{"startOffset":504,"endOffset":688,"count":1}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":692,"endOffset":875,"count":1},{"startOffset":826,"endOffset":843,"count":0}],"isBlockCoverage":true},{"functionName":"peek","ranges":[{"startOffset":879,"endOffset":917,"count":0}],"isBlockCoverage":false},{"functionName":"percolateDown","ranges":[{"startOffset":921,"endOffset":1585,"count":0}],"isBlockCoverage":false},{"functionName":"percolateUp","ranges":[{"startOffset":1589,"endOffset":2077,"count":1},{"startOffset":1764,"endOffset":1986,"count":0}],"isBlockCoverage":true},{"functionName":"removeAt","ranges":[{"startOffset":2081,"endOffset":2411,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":2415,"endOffset":2569,"count":0}],"isBlockCoverage":false}]},{"scriptId":"92","url":"node:internal/util/inspect","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":81525,"count":1}],"isBlockCoverage":false},{"functionName":"pathToFileUrlHref","ranges":[{"startOffset":3211,"endOffset":3345,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3454,"endOffset":3515,"count":62}],"isBlockCoverage":true},{"functionName":"isUndetectableObject","ranges":[{"startOffset":3611,"endOffset":3661,"count":0}],"isBlockCoverage":false},{"functionName":"getUserOptions","ranges":[{"startOffset":7144,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":8980,"endOffset":11006,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11117,"endOffset":11162,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":11166,"endOffset":11281,"count":0}],"isBlockCoverage":false},{"functionName":"defineColorAlias","ranges":[{"startOffset":13005,"endOffset":13269,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13121,"endOffset":13161,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":13167,"endOffset":13213,"count":0}],"isBlockCoverage":false},{"functionName":"addQuotes","ranges":[{"startOffset":14281,"endOffset":14439,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":14441,"endOffset":14616,"count":0}],"isBlockCoverage":false},{"functionName":"strEscape","ranges":[{"startOffset":14728,"endOffset":16882,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeWithColor","ranges":[{"startOffset":16884,"endOffset":17150,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeNoColor","ranges":[{"startOffset":17152,"endOffset":17198,"count":0}],"isBlockCoverage":false},{"functionName":"getEmptyFormatArray","ranges":[{"startOffset":17277,"endOffset":17324,"count":0}],"isBlockCoverage":false},{"functionName":"isInstanceof","ranges":[{"startOffset":17326,"endOffset":17444,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorName","ranges":[{"startOffset":17446,"endOffset":18715,"count":0}],"isBlockCoverage":false},{"functionName":"addPrototypeProperties","ranges":[{"startOffset":18902,"endOffset":20735,"count":0}],"isBlockCoverage":false},{"functionName":"getPrefix","ranges":[{"startOffset":20737,"endOffset":21124,"count":0}],"isBlockCoverage":false},{"functionName":"getKeys","ranges":[{"startOffset":21161,"endOffset":22152,"count":0}],"isBlockCoverage":false},{"functionName":"getCtxStyle","ranges":[{"startOffset":22154,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"formatProxy","ranges":[{"startOffset":22419,"endOffset":22869,"count":0}],"isBlockCoverage":false},{"functionName":"formatValue","ranges":[{"startOffset":23051,"endOffset":25808,"count":0}],"isBlockCoverage":false},{"functionName":"formatRaw","ranges":[{"startOffset":25810,"endOffset":36655,"count":0}],"isBlockCoverage":false},{"functionName":"getIteratorBraces","ranges":[{"startOffset":36657,"endOffset":36839,"count":0}],"isBlockCoverage":false},{"functionName":"getBoxedBase","ranges":[{"startOffset":36841,"endOffset":38029,"count":0}],"isBlockCoverage":false},{"functionName":"getClassBase","ranges":[{"startOffset":38031,"endOffset":38631,"count":0}],"isBlockCoverage":false},{"functionName":"getFunctionBase","ranges":[{"startOffset":38633,"endOffset":39866,"count":0}],"isBlockCoverage":false},{"functionName":"identicalSequenceRange","ranges":[{"startOffset":39868,"endOffset":40484,"count":0}],"isBlockCoverage":false},{"functionName":"getStackString","ranges":[{"startOffset":40486,"endOffset":40596,"count":0}],"isBlockCoverage":false},{"functionName":"getStackFrames","ranges":[{"startOffset":40598,"endOffset":41489,"count":0}],"isBlockCoverage":false},{"functionName":"improveStack","ranges":[{"startOffset":41491,"endOffset":42696,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateErrorKeys","ranges":[{"startOffset":42698,"endOffset":43121,"count":0}],"isBlockCoverage":false},{"functionName":"markNodeModules","ranges":[{"startOffset":43123,"endOffset":43593,"count":0}],"isBlockCoverage":false},{"functionName":"markCwd","ranges":[{"startOffset":43595,"endOffset":44572,"count":0}],"isBlockCoverage":false},{"functionName":"safeGetCWD","ranges":[{"startOffset":44574,"endOffset":44724,"count":0}],"isBlockCoverage":false},{"functionName":"formatError","ranges":[{"startOffset":44726,"endOffset":47121,"count":0}],"isBlockCoverage":false},{"functionName":"groupArrayElements","ranges":[{"startOffset":47123,"endOffset":51462,"count":0}],"isBlockCoverage":false},{"functionName":"handleMaxCallStackSize","ranges":[{"startOffset":51464,"endOffset":51853,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparator","ranges":[{"startOffset":51855,"endOffset":52257,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparatorEnd","ranges":[{"startOffset":52259,"endOffset":52558,"count":0}],"isBlockCoverage":false},{"functionName":"remainingText","ranges":[{"startOffset":52582,"endOffset":52652,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumber","ranges":[{"startOffset":52655,"endOffset":53443,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigInt","ranges":[{"startOffset":53445,"endOffset":53661,"count":0}],"isBlockCoverage":false},{"functionName":"formatPrimitive","ranges":[{"startOffset":53663,"endOffset":55068,"count":0}],"isBlockCoverage":false},{"functionName":"formatNamespaceObject","ranges":[{"startOffset":55070,"endOffset":56222,"count":0}],"isBlockCoverage":false},{"functionName":"formatSpecialArray","ranges":[{"startOffset":56269,"endOffset":57529,"count":0}],"isBlockCoverage":false},{"functionName":"formatArrayBuffer","ranges":[{"startOffset":57531,"endOffset":58179,"count":0}],"isBlockCoverage":false},{"functionName":"formatArray","ranges":[{"startOffset":58181,"endOffset":58780,"count":0}],"isBlockCoverage":false},{"functionName":"formatTypedArray","ranges":[{"startOffset":58782,"endOffset":59811,"count":0}],"isBlockCoverage":false},{"functionName":"formatSet","ranges":[{"startOffset":59813,"endOffset":60336,"count":0}],"isBlockCoverage":false},{"functionName":"formatMap","ranges":[{"startOffset":60338,"endOffset":60938,"count":0}],"isBlockCoverage":false},{"functionName":"formatSetIterInner","ranges":[{"startOffset":60940,"endOffset":61743,"count":0}],"isBlockCoverage":false},{"functionName":"formatMapIterInner","ranges":[{"startOffset":61745,"endOffset":63053,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakCollection","ranges":[{"startOffset":63055,"endOffset":63147,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakSet","ranges":[{"startOffset":63149,"endOffset":63306,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakMap","ranges":[{"startOffset":63308,"endOffset":63465,"count":0}],"isBlockCoverage":false},{"functionName":"formatIterator","ranges":[{"startOffset":63467,"endOffset":63888,"count":0}],"isBlockCoverage":false},{"functionName":"formatPromise","ranges":[{"startOffset":63890,"endOffset":64364,"count":0}],"isBlockCoverage":false},{"functionName":"formatProperty","ranges":[{"startOffset":64366,"endOffset":66939,"count":0}],"isBlockCoverage":false},{"functionName":"isBelowBreakLength","ranges":[{"startOffset":66941,"endOffset":67899,"count":0}],"isBlockCoverage":false},{"functionName":"reduceToSingleString","ranges":[{"startOffset":67901,"endOffset":70802,"count":0}],"isBlockCoverage":false},{"functionName":"hasBuiltInToString","ranges":[{"startOffset":70804,"endOffset":71880,"count":0}],"isBlockCoverage":false},{"functionName":"firstErrorLine","ranges":[{"startOffset":71905,"endOffset":71963,"count":0}],"isBlockCoverage":false},{"functionName":"tryStringify","ranges":[{"startOffset":71993,"endOffset":72498,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":72500,"endOffset":72581,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptions","ranges":[{"startOffset":72583,"endOffset":72770,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumberNoColor","ranges":[{"startOffset":72772,"endOffset":72954,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigIntNoColor","ranges":[{"startOffset":72956,"endOffset":73138,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptionsInternal","ranges":[{"startOffset":73140,"endOffset":77164,"count":0}],"isBlockCoverage":false},{"functionName":"isZeroWidthCodePoint","ranges":[{"startOffset":77166,"endOffset":77740,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78169,"endOffset":78760,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78875,"endOffset":79343,"count":0}],"isBlockCoverage":false},{"functionName":"isFullWidthCodePoint","ranges":[{"startOffset":79511,"endOffset":81120,"count":0}],"isBlockCoverage":false},{"functionName":"stripVTControlCharacters","ranges":[{"startOffset":81211,"endOffset":81338,"count":0}],"isBlockCoverage":false}]},{"scriptId":"93","url":"node:internal/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":474,"count":1}],"isBlockCoverage":false},{"functionName":"lazyError","ranges":[{"startOffset":26,"endOffset":155,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":157,"endOffset":307,"count":712},{"startOffset":205,"endOffset":305,"count":0}],"isBlockCoverage":true},{"functionName":"fail","ranges":[{"startOffset":309,"endOffset":426,"count":0}],"isBlockCoverage":false}]},{"scriptId":"94","url":"node:internal/util/debuglog","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3395,"count":1}],"isBlockCoverage":false},{"functionName":"initializeDebugEnv","ranges":[{"startOffset":503,"endOffset":976,"count":1},{"startOffset":595,"endOffset":932,"count":0}],"isBlockCoverage":true},{"functionName":"testEnabled","ranges":[{"startOffset":870,"endOffset":927,"count":0}],"isBlockCoverage":false},{"functionName":"testEnabled","ranges":[{"startOffset":958,"endOffset":969,"count":8}],"isBlockCoverage":true},{"functionName":"emitWarningIfNeeded","ranges":[{"startOffset":1050,"endOffset":1389,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":1404,"endOffset":1412,"count":2517}],"isBlockCoverage":true},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1431,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"debuglogImpl","ranges":[{"startOffset":1533,"endOffset":2091,"count":7},{"startOffset":1608,"endOffset":2063,"count":5},{"startOffset":1627,"endOffset":2016,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":1716,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"debuglog","ranges":[{"startOffset":2311,"endOffset":3337,"count":15}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":2342,"endOffset":2438,"count":8}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":2453,"endOffset":2847,"count":7},{"startOffset":2700,"endOffset":2730,"count":4},{"startOffset":2737,"endOffset":2776,"count":2},{"startOffset":2783,"endOffset":2837,"count":1}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2877,"endOffset":2946,"count":1}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2908,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"logger","ranges":[{"startOffset":2965,"endOffset":3160,"count":7},{"startOffset":3013,"endOffset":3043,"count":4},{"startOffset":3050,"endOffset":3089,"count":2},{"startOffset":3096,"endOffset":3150,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3231,"endOffset":3265,"count":1}],"isBlockCoverage":true}]},{"scriptId":"95","url":"node:events","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36377,"count":1}],"isBlockCoverage":false},{"functionName":"lazyEventEmitterAsyncResource","ranges":[{"startOffset":3020,"endOffset":6331,"count":4},{"startOffset":3110,"endOffset":6293,"count":1}],"isBlockCoverage":true},{"functionName":"EventEmitterReferencingAsyncResource","ranges":[{"startOffset":3565,"endOffset":3669,"count":0}],"isBlockCoverage":false},{"functionName":"get eventEmitter","ranges":[{"startOffset":3727,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterAsyncResource","ranges":[{"startOffset":4205,"endOffset":4729,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":4866,"endOffset":5236,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":5297,"endOffset":5485,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncId","ranges":[{"startOffset":5545,"endOffset":5736,"count":0}],"isBlockCoverage":false},{"functionName":"get triggerAsyncId","ranges":[{"startOffset":5796,"endOffset":6001,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncResource","ranges":[{"startOffset":6091,"endOffset":6280,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter","ranges":[{"startOffset":6465,"endOffset":6534,"count":63}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":7019,"endOffset":7075,"count":4}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":7079,"endOffset":7204,"count":0}],"isBlockCoverage":false},{"functionName":"checkListener","ranges":[{"startOffset":7985,"endOffset":8063,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8171,"endOffset":8219,"count":6}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8228,"endOffset":8329,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.setMaxListeners","ranges":[{"startOffset":8882,"endOffset":9694,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.init","ranges":[{"startOffset":9861,"endOffset":10459,"count":63},{"startOffset":9912,"endOffset":9972,"count":0},{"startOffset":10116,"endOffset":10135,"count":2},{"startOffset":10137,"endOffset":10270,"count":0}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":10462,"endOffset":11021,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionOrErr","ranges":[{"startOffset":11023,"endOffset":11680,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":11832,"endOffset":11947,"count":1}],"isBlockCoverage":true},{"functionName":"_getMaxListeners","ranges":[{"startOffset":11950,"endOffset":12099,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":12236,"endOffset":12299,"count":0}],"isBlockCoverage":false},{"functionName":"enhanceStackTrace","ranges":[{"startOffset":12302,"endOffset":13061,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":13256,"endOffset":15559,"count":59},{"startOffset":13401,"endOffset":13439,"count":0},{"startOffset":13447,"endOffset":13481,"count":0},{"startOffset":13505,"endOffset":13534,"count":0},{"startOffset":13540,"endOffset":13577,"count":0},{"startOffset":13649,"endOffset":14617,"count":0},{"startOffset":14698,"endOffset":15558,"count":0}],"isBlockCoverage":true},{"functionName":"_addListener","ranges":[{"startOffset":15562,"endOffset":17456,"count":7},{"startOffset":15742,"endOffset":15827,"count":0},{"startOffset":16012,"endOffset":16273,"count":0},{"startOffset":16476,"endOffset":17436,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":17634,"endOffset":17726,"count":7}],"isBlockCoverage":true},{"functionName":"prependListener","ranges":[{"startOffset":18013,"endOffset":18116,"count":0}],"isBlockCoverage":false},{"functionName":"onceWrapper","ranges":[{"startOffset":18119,"endOffset":18383,"count":0}],"isBlockCoverage":false},{"functionName":"_onceWrap","ranges":[{"startOffset":18385,"endOffset":18626,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":18817,"endOffset":18943,"count":0}],"isBlockCoverage":false},{"functionName":"prependOnceListener","ranges":[{"startOffset":19176,"endOffset":19346,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":19553,"endOffset":20848,"count":5},{"startOffset":19702,"endOffset":19714,"count":0},{"startOffset":19787,"endOffset":19799,"count":3},{"startOffset":19799,"endOffset":19829,"count":2},{"startOffset":19829,"endOffset":19858,"count":0},{"startOffset":19860,"endOffset":20121,"count":2},{"startOffset":19911,"endOffset":19946,"count":0},{"startOffset":20042,"endOffset":20103,"count":0},{"startOffset":20121,"endOffset":20822,"count":0},{"startOffset":20822,"endOffset":20847,"count":2}],"isBlockCoverage":true},{"functionName":"removeAllListeners","ranges":[{"startOffset":21168,"endOffset":22497,"count":0}],"isBlockCoverage":false},{"functionName":"_listeners","ranges":[{"startOffset":22500,"endOffset":22895,"count":0}],"isBlockCoverage":false},{"functionName":"listeners","ranges":[{"startOffset":23085,"endOffset":23152,"count":0}],"isBlockCoverage":false},{"functionName":"rawListeners","ranges":[{"startOffset":23359,"endOffset":23430,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.listenerCount","ranges":[{"startOffset":23672,"endOffset":23858,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":24091,"endOffset":24796,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":24952,"endOffset":25045,"count":0}],"isBlockCoverage":false},{"functionName":"arrayClone","ranges":[{"startOffset":25048,"endOffset":25521,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapListeners","ranges":[{"startOffset":25523,"endOffset":25737,"count":0}],"isBlockCoverage":false},{"functionName":"getEventListeners","ranges":[{"startOffset":25947,"endOffset":26821,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":26941,"endOffset":27376,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":27596,"endOffset":29314,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29392,"endOffset":29413,"count":0}],"isBlockCoverage":false},{"functionName":"createIterResult","ranges":[{"startOffset":29428,"endOffset":29496,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticRemoveListener","ranges":[{"startOffset":29498,"endOffset":29883,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticAddListener","ranges":[{"startOffset":29885,"endOffset":30317,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":30622,"endOffset":35023,"count":0}],"isBlockCoverage":false},{"functionName":"listenersController","ranges":[{"startOffset":35025,"endOffset":35471,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortListener","ranges":[{"startOffset":35494,"endOffset":36376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"96","url":"node:buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":41224,"count":1}],"isBlockCoverage":false},{"functionName":"validateOffset","ranges":[{"startOffset":3255,"endOffset":3339,"count":0}],"isBlockCoverage":false},{"functionName":"createPool","ranges":[{"startOffset":4069,"endOffset":4228,"count":1}],"isBlockCoverage":true},{"functionName":"alignPool","ranges":[{"startOffset":4244,"endOffset":4366,"count":12},{"startOffset":4318,"endOffset":4364,"count":11}],"isBlockCoverage":true},{"functionName":"showFlaggedDeprecation","ranges":[{"startOffset":4670,"endOffset":5350,"count":0}],"isBlockCoverage":false},{"functionName":"toInteger","ranges":[{"startOffset":5352,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"_copy","ranges":[{"startOffset":5572,"endOffset":6704,"count":0}],"isBlockCoverage":false},{"functionName":"_copyActual","ranges":[{"startOffset":6706,"endOffset":7237,"count":0}],"isBlockCoverage":false},{"functionName":"Buffer","ranges":[{"startOffset":7813,"endOffset":8146,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8258,"endOffset":8286,"count":0}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":8544,"endOffset":9509,"count":18},{"startOffset":8630,"endOffset":8673,"count":11},{"startOffset":8673,"endOffset":8724,"count":7},{"startOffset":8726,"endOffset":9363,"count":7},{"startOffset":8767,"endOffset":8823,"count":6},{"startOffset":8823,"endOffset":8877,"count":1},{"startOffset":8903,"endOffset":8931,"count":1},{"startOffset":8932,"endOffset":9003,"count":0},{"startOffset":9005,"endOffset":9066,"count":0},{"startOffset":9066,"endOffset":9127,"count":1},{"startOffset":9127,"endOffset":9359,"count":0},{"startOffset":9363,"endOffset":9508,"count":0}],"isBlockCoverage":true},{"functionName":"copyBytesFrom","ranges":[{"startOffset":9763,"endOffset":10644,"count":0}],"isBlockCoverage":false},{"functionName":"of","ranges":[{"startOffset":11015,"endOffset":11167,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11456,"endOffset":11516,"count":60}],"isBlockCoverage":true},{"functionName":"alloc","ranges":[{"startOffset":11619,"endOffset":11864,"count":1},{"startOffset":11703,"endOffset":11716,"count":0},{"startOffset":11717,"endOffset":11728,"count":0},{"startOffset":11730,"endOffset":11831,"count":0}],"isBlockCoverage":true},{"functionName":"allocUnsafe","ranges":[{"startOffset":12043,"endOffset":12118,"count":1}],"isBlockCoverage":true},{"functionName":"allocUnsafeSlow","ranges":[{"startOffset":12359,"endOffset":12448,"count":58}],"isBlockCoverage":true},{"functionName":"SlowBuffer","ranges":[{"startOffset":12544,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"allocate","ranges":[{"startOffset":12748,"endOffset":13080,"count":1},{"startOffset":12791,"endOffset":12825,"count":0},{"startOffset":12912,"endOffset":12925,"count":0},{"startOffset":13043,"endOffset":13079,"count":0}],"isBlockCoverage":true},{"functionName":"fromStringFast","ranges":[{"startOffset":13082,"endOffset":13628,"count":11},{"startOffset":13208,"endOffset":13257,"count":1},{"startOffset":13257,"endOffset":13303,"count":10},{"startOffset":13303,"endOffset":13316,"count":0},{"startOffset":13316,"endOffset":13449,"count":10},{"startOffset":13449,"endOffset":13575,"count":0},{"startOffset":13575,"endOffset":13627,"count":10}],"isBlockCoverage":true},{"functionName":"fromString","ranges":[{"startOffset":13630,"endOffset":14083,"count":11},{"startOffset":13716,"endOffset":13740,"count":8},{"startOffset":13742,"endOffset":13861,"count":3},{"startOffset":13779,"endOffset":13803,"count":0},{"startOffset":13861,"endOffset":14043,"count":8},{"startOffset":13938,"endOffset":13979,"count":0},{"startOffset":14015,"endOffset":14039,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayBuffer","ranges":[{"startOffset":14085,"endOffset":14782,"count":6},{"startOffset":14229,"endOffset":14325,"count":0},{"startOffset":14402,"endOffset":14447,"count":0},{"startOffset":14506,"endOffset":14729,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayLike","ranges":[{"startOffset":14784,"endOffset":15178,"count":1},{"startOffset":14841,"endOffset":14865,"count":0},{"startOffset":14964,"endOffset":14977,"count":0},{"startOffset":15146,"endOffset":15177,"count":0}],"isBlockCoverage":true},{"functionName":"fromObject","ranges":[{"startOffset":15180,"endOffset":15486,"count":1},{"startOffset":15238,"endOffset":15269,"count":0},{"startOffset":15313,"endOffset":15351,"count":0},{"startOffset":15386,"endOffset":15441,"count":0},{"startOffset":15443,"endOffset":15484,"count":0}],"isBlockCoverage":true},{"functionName":"isBuffer","ranges":[{"startOffset":15525,"endOffset":15579,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":15599,"endOffset":15924,"count":0}],"isBlockCoverage":false},{"functionName":"isEncoding","ranges":[{"startOffset":15947,"endOffset":16098,"count":375}],"isBlockCoverage":true},{"functionName":"concat","ranges":[{"startOffset":16164,"endOffset":17311,"count":0}],"isBlockCoverage":false},{"functionName":"base64ByteLength","ranges":[{"startOffset":17314,"endOffset":17582,"count":1},{"startOffset":17520,"endOffset":17528,"count":0}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":17717,"endOffset":17781,"count":3}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":17794,"endOffset":17840,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":17855,"endOffset":17951,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18045,"endOffset":18074,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18087,"endOffset":18151,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18164,"endOffset":18210,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18225,"endOffset":18324,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18424,"endOffset":18453,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18466,"endOffset":18530,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18543,"endOffset":18589,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18604,"endOffset":18703,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18800,"endOffset":18825,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18838,"endOffset":18904,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18917,"endOffset":18965,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18980,"endOffset":19078,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19172,"endOffset":19197,"count":3}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19210,"endOffset":19275,"count":3}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":19288,"endOffset":19335,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19350,"endOffset":19562,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19659,"endOffset":19710,"count":1}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19723,"endOffset":19789,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":19802,"endOffset":19850,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19865,"endOffset":20079,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20185,"endOffset":20236,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20249,"endOffset":20324,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":20337,"endOffset":20388,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20403,"endOffset":20623,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20711,"endOffset":20742,"count":4}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":20755,"endOffset":20818,"count":4}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":20831,"endOffset":20876,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20891,"endOffset":21099,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingOps","ranges":[{"startOffset":21109,"endOffset":22933,"count":8},{"startOffset":21196,"endOffset":21495,"count":0},{"startOffset":21500,"endOffset":21919,"count":3},{"startOffset":21540,"endOffset":21564,"count":0},{"startOffset":21622,"endOffset":21919,"count":0},{"startOffset":21924,"endOffset":22078,"count":0},{"startOffset":22083,"endOffset":22239,"count":0},{"startOffset":22244,"endOffset":22625,"count":1},{"startOffset":22318,"endOffset":22344,"count":0},{"startOffset":22404,"endOffset":22516,"count":0},{"startOffset":22526,"endOffset":22625,"count":0},{"startOffset":22630,"endOffset":22762,"count":4},{"startOffset":22667,"endOffset":22716,"count":0},{"startOffset":22749,"endOffset":22762,"count":0},{"startOffset":22767,"endOffset":22927,"count":0}],"isBlockCoverage":true},{"functionName":"byteLength","ranges":[{"startOffset":22935,"endOffset":23441,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23600,"endOffset":23694,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23792,"endOffset":23890,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":23923,"endOffset":24056,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":24337,"endOffset":24916,"count":1},{"startOffset":24457,"endOffset":24620,"count":0},{"startOffset":24626,"endOffset":24915,"count":0}],"isBlockCoverage":true},{"functionName":"equals","ranges":[{"startOffset":24945,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":25427,"endOffset":26570,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":26666,"endOffset":27815,"count":0}],"isBlockCoverage":false},{"functionName":"bidirectionalIndexOf","ranges":[{"startOffset":28243,"endOffset":29551,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":29580,"endOffset":29697,"count":0}],"isBlockCoverage":false},{"functionName":"lastIndexOf","ranges":[{"startOffset":29731,"endOffset":29853,"count":0}],"isBlockCoverage":false},{"functionName":"includes","ranges":[{"startOffset":29884,"endOffset":29989,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":30167,"endOffset":30266,"count":0}],"isBlockCoverage":false},{"functionName":"_fill","ranges":[{"startOffset":30269,"endOffset":32215,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":32242,"endOffset":33257,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":33286,"endOffset":33520,"count":0}],"isBlockCoverage":false},{"functionName":"adjustOffset","ranges":[{"startOffset":33523,"endOffset":33957,"count":0}],"isBlockCoverage":false},{"functionName":"subarray","ranges":[{"startOffset":33987,"endOffset":34290,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":34318,"endOffset":34384,"count":0}],"isBlockCoverage":false},{"functionName":"swap","ranges":[{"startOffset":34387,"endOffset":34458,"count":0}],"isBlockCoverage":false},{"functionName":"swap16","ranges":[{"startOffset":34486,"endOffset":34890,"count":0}],"isBlockCoverage":false},{"functionName":"swap32","ranges":[{"startOffset":34919,"endOffset":35363,"count":0}],"isBlockCoverage":false},{"functionName":"swap64","ranges":[{"startOffset":35392,"endOffset":35900,"count":0}],"isBlockCoverage":false},{"functionName":"transcode","ranges":[{"startOffset":36214,"endOffset":36913,"count":0}],"isBlockCoverage":false},{"functionName":"btoa","ranges":[{"startOffset":36918,"endOffset":37455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":37728,"endOffset":37772,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37830,"endOffset":37874,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37929,"endOffset":37973,"count":10}],"isBlockCoverage":true},{"functionName":"atob","ranges":[{"startOffset":38149,"endOffset":40101,"count":0}],"isBlockCoverage":false},{"functionName":"isUtf8","ranges":[{"startOffset":40103,"endOffset":40299,"count":0}],"isBlockCoverage":false},{"functionName":"isAscii","ranges":[{"startOffset":40301,"endOffset":40514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40905,"endOffset":40940,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":40946,"endOffset":41044,"count":0}],"isBlockCoverage":false}]},{"scriptId":"97","url":"node:internal/buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30926,"count":1}],"isBlockCoverage":false},{"functionName":"checkBounds","ranges":[{"startOffset":1176,"endOffset":1392,"count":1},{"startOffset":1339,"endOffset":1390,"count":0}],"isBlockCoverage":true},{"functionName":"checkInt","ranges":[{"startOffset":1394,"endOffset":2016,"count":1},{"startOffset":1490,"endOffset":1974,"count":0}],"isBlockCoverage":true},{"functionName":"boundsError","ranges":[{"startOffset":2018,"endOffset":2421,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":2441,"endOffset":2940,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":2942,"endOffset":3441,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":3443,"endOffset":3944,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":3946,"endOffset":4441,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntLE","ranges":[{"startOffset":4443,"endOffset":4995,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48LE","ranges":[{"startOffset":4997,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40LE","ranges":[{"startOffset":5382,"endOffset":5738,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":5740,"endOffset":6066,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24LE","ranges":[{"startOffset":6068,"endOffset":6356,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":6358,"endOffset":6618,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":6620,"endOffset":6800,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntBE","ranges":[{"startOffset":6802,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48BE","ranges":[{"startOffset":7356,"endOffset":7739,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40BE","ranges":[{"startOffset":7741,"endOffset":8097,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":8099,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24BE","ranges":[{"startOffset":8427,"endOffset":8715,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":8717,"endOffset":8977,"count":0}],"isBlockCoverage":false},{"functionName":"readIntLE","ranges":[{"startOffset":8979,"endOffset":9524,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48LE","ranges":[{"startOffset":9526,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40LE","ranges":[{"startOffset":9959,"endOffset":10346,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":10348,"endOffset":10683,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24LE","ranges":[{"startOffset":10685,"endOffset":11017,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":11019,"endOffset":11325,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":11327,"endOffset":11535,"count":0}],"isBlockCoverage":false},{"functionName":"readIntBE","ranges":[{"startOffset":11537,"endOffset":12082,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48BE","ranges":[{"startOffset":12084,"endOffset":12513,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40BE","ranges":[{"startOffset":12515,"endOffset":12903,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":12905,"endOffset":13240,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24BE","ranges":[{"startOffset":13242,"endOffset":13574,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":13576,"endOffset":13882,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBackwards","ranges":[{"startOffset":13899,"endOffset":14304,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatForwards","ranges":[{"startOffset":14306,"endOffset":14710,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBackwards","ranges":[{"startOffset":14712,"endOffset":15282,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleForwards","ranges":[{"startOffset":15284,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64LE","ranges":[{"startOffset":15874,"endOffset":16356,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":16358,"endOffset":16480,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64BE","ranges":[{"startOffset":16482,"endOffset":16980,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":16982,"endOffset":17104,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":17106,"endOffset":17250,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":17252,"endOffset":17396,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntLE","ranges":[{"startOffset":17398,"endOffset":18007,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48LE","ranges":[{"startOffset":18009,"endOffset":18422,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40LE","ranges":[{"startOffset":18424,"endOffset":18803,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32LE","ranges":[{"startOffset":18805,"endOffset":19112,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19114,"endOffset":19220,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24LE","ranges":[{"startOffset":19222,"endOffset":19481,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16LE","ranges":[{"startOffset":19483,"endOffset":19679,"count":1}],"isBlockCoverage":true},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19681,"endOffset":19783,"count":1}],"isBlockCoverage":true},{"functionName":"writeU_Int8","ranges":[{"startOffset":19785,"endOffset":20197,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":20199,"endOffset":20293,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntBE","ranges":[{"startOffset":20295,"endOffset":20904,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48BE","ranges":[{"startOffset":20906,"endOffset":21327,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40BE","ranges":[{"startOffset":21329,"endOffset":21691,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32BE","ranges":[{"startOffset":21693,"endOffset":22008,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":22010,"endOffset":22116,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24BE","ranges":[{"startOffset":22118,"endOffset":22383,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16BE","ranges":[{"startOffset":22385,"endOffset":22581,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":22583,"endOffset":22685,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntLE","ranges":[{"startOffset":22687,"endOffset":23349,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":23351,"endOffset":23466,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":23468,"endOffset":23575,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":23577,"endOffset":23674,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntBE","ranges":[{"startOffset":23676,"endOffset":24338,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":24340,"endOffset":24455,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":24457,"endOffset":24564,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleForwards","ranges":[{"startOffset":24583,"endOffset":25049,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBackwards","ranges":[{"startOffset":25051,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatForwards","ranges":[{"startOffset":25520,"endOffset":25821,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBackwards","ranges":[{"startOffset":25823,"endOffset":26125,"count":0}],"isBlockCoverage":false},{"functionName":"FastBuffer","ranges":[{"startOffset":26365,"endOffset":26465,"count":79}],"isBlockCoverage":true},{"functionName":"addBufferPrototypeMethods","ranges":[{"startOffset":26469,"endOffset":29608,"count":1},{"startOffset":28552,"endOffset":28572,"count":0},{"startOffset":28626,"endOffset":28645,"count":0},{"startOffset":28701,"endOffset":28722,"count":0},{"startOffset":28778,"endOffset":28798,"count":0},{"startOffset":28855,"endOffset":28876,"count":0},{"startOffset":28932,"endOffset":28952,"count":0},{"startOffset":29010,"endOffset":29032,"count":0},{"startOffset":29090,"endOffset":29111,"count":0}],"isBlockCoverage":true},{"functionName":"markAsUntransferable","ranges":[{"startOffset":29764,"endOffset":30013,"count":1},{"startOffset":29832,"endOffset":29860,"count":0},{"startOffset":29883,"endOffset":29890,"count":0}],"isBlockCoverage":true},{"functionName":"createUnsafeBuffer","ranges":[{"startOffset":30291,"endOffset":30427,"count":59}],"isBlockCoverage":true},{"functionName":"reconnectZeroFillToggle","ranges":[{"startOffset":30682,"endOffset":30754,"count":1}],"isBlockCoverage":true}]},{"scriptId":"98","url":"node:internal/worker/js_transferable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2208,"count":1}],"isBlockCoverage":false},{"functionName":"setup","ranges":[{"startOffset":478,"endOffset":1311,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":759,"endOffset":1307,"count":0}],"isBlockCoverage":false},{"functionName":"makeTransferable","ranges":[{"startOffset":1313,"endOffset":1968,"count":0}],"isBlockCoverage":false}]},{"scriptId":"99","url":"node:internal/process/per_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12464,"count":1}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":1145,"endOffset":1233,"count":0}],"isBlockCoverage":false},{"functionName":"refreshHrtimeBuffer","ranges":[{"startOffset":1388,"endOffset":1856,"count":2}],"isBlockCoverage":true},{"functionName":"hrtime","ranges":[{"startOffset":1905,"endOffset":2407,"count":0}],"isBlockCoverage":false},{"functionName":"hrtimeBigInt","ranges":[{"startOffset":2409,"endOffset":2490,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2492,"endOffset":2509,"count":0}],"isBlockCoverage":false},{"functionName":"wrapProcessMethods","ranges":[{"startOffset":2587,"endOffset":7477,"count":1}],"isBlockCoverage":true},{"functionName":"_rawDebug","ranges":[{"startOffset":2754,"endOffset":2844,"count":0}],"isBlockCoverage":false},{"functionName":"cpuUsage","ranges":[{"startOffset":3055,"endOffset":4207,"count":0}],"isBlockCoverage":false},{"functionName":"previousValueIsValid","ranges":[{"startOffset":4360,"endOffset":4497,"count":0}],"isBlockCoverage":false},{"functionName":"memoryUsage","ranges":[{"startOffset":4542,"endOffset":4769,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":4799,"endOffset":5938,"count":1}],"isBlockCoverage":true},{"functionName":"kill","ranges":[{"startOffset":5942,"endOffset":6587,"count":0}],"isBlockCoverage":false},{"functionName":"resourceUsage","ranges":[{"startOffset":6638,"endOffset":7372,"count":0}],"isBlockCoverage":false},{"functionName":"buildAllowedFlags","ranges":[{"startOffset":7688,"endOffset":11790,"count":1},{"startOffset":7976,"endOffset":8267,"count":159},{"startOffset":8028,"endOffset":8263,"count":124},{"startOffset":8125,"endOffset":8257,"count":62},{"startOffset":8735,"endOffset":9157,"count":23},{"startOffset":8789,"endOffset":9153,"count":11},{"startOffset":8878,"endOffset":8947,"count":2},{"startOffset":9012,"endOffset":9081,"count":0}],"isBlockCoverage":true},{"functionName":"isAccepted","ranges":[{"startOffset":8271,"endOffset":8683,"count":29},{"startOffset":8341,"endOffset":8355,"count":28},{"startOffset":8357,"endOffset":8369,"count":2},{"startOffset":8369,"endOffset":8446,"count":27},{"startOffset":8446,"endOffset":8615,"count":2},{"startOffset":8496,"endOffset":8543,"count":1},{"startOffset":8615,"endOffset":8682,"count":25}],"isBlockCoverage":true},{"functionName":"trimLeadingDashes","ranges":[{"startOffset":9191,"endOffset":9253,"count":197}],"isBlockCoverage":true},{"functionName":"NodeEnvironmentFlagsSet","ranges":[{"startOffset":9563,"endOffset":9639,"count":1}],"isBlockCoverage":true},{"functionName":"add","ranges":[{"startOffset":9645,"endOffset":9714,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":9720,"endOffset":9793,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":9799,"endOffset":9851,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":9857,"endOffset":10672,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":10678,"endOffset":10843,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":10849,"endOffset":11026,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":11032,"endOffset":11093,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":11099,"endOffset":11262,"count":0}],"isBlockCoverage":false},{"functionName":"toggleTraceCategoryState","ranges":[{"startOffset":11980,"endOffset":12310,"count":1},{"startOffset":12060,"endOffset":12235,"count":0},{"startOffset":12267,"endOffset":12308,"count":0}],"isBlockCoverage":true}]},{"scriptId":"100","url":"node:internal/process/task_queues","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4285,"count":1}],"isBlockCoverage":false},{"functionName":"hasTickScheduled","ranges":[{"startOffset":982,"endOffset":1057,"count":0}],"isBlockCoverage":false},{"functionName":"setHasTickScheduled","ranges":[{"startOffset":1059,"endOffset":1145,"count":2},{"startOffset":1135,"endOffset":1138,"count":1},{"startOffset":1139,"endOffset":1142,"count":1}],"isBlockCoverage":true},{"functionName":"runNextTicks","ranges":[{"startOffset":1247,"endOffset":1443,"count":0}],"isBlockCoverage":false},{"functionName":"processTicksAndRejections","ranges":[{"startOffset":1445,"endOffset":2424,"count":1},{"startOffset":1547,"endOffset":2279,"count":2},{"startOffset":1781,"endOffset":2155,"count":0},{"startOffset":2217,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"nextTick","ranges":[{"startOffset":2568,"endOffset":3442,"count":2},{"startOffset":2669,"endOffset":2676,"count":0},{"startOffset":2743,"endOffset":2780,"count":0},{"startOffset":2785,"endOffset":2836,"count":0},{"startOffset":2841,"endOffset":2906,"count":0},{"startOffset":2911,"endOffset":3054,"count":0},{"startOffset":3083,"endOffset":3109,"count":1},{"startOffset":3354,"endOffset":3414,"count":0}],"isBlockCoverage":true},{"functionName":"runMicrotask","ranges":[{"startOffset":3444,"endOffset":3620,"count":0}],"isBlockCoverage":false},{"functionName":"queueMicrotask","ranges":[{"startOffset":3692,"endOffset":3981,"count":0}],"isBlockCoverage":false},{"functionName":"setupTaskQueue","ranges":[{"startOffset":4004,"endOffset":4262,"count":1}],"isBlockCoverage":true}]},{"scriptId":"101","url":"node:internal/process/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11045,"count":1}],"isBlockCoverage":false},{"functionName":"setHasRejectionToWarn","ranges":[{"startOffset":2155,"endOffset":2245,"count":1},{"startOffset":2235,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"hasRejectionToWarn","ranges":[{"startOffset":2247,"endOffset":2326,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorLike","ranges":[{"startOffset":2328,"endOffset":2464,"count":0}],"isBlockCoverage":false},{"functionName":"getUnhandledRejectionsMode","ranges":[{"startOffset":2466,"endOffset":2999,"count":0}],"isBlockCoverage":false},{"functionName":"promiseRejectHandler","ranges":[{"startOffset":3001,"endOffset":3570,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3619,"endOffset":3627,"count":0}],"isBlockCoverage":false},{"functionName":"resolveError","ranges":[{"startOffset":3698,"endOffset":3995,"count":0}],"isBlockCoverage":false},{"functionName":"unhandledRejection","ranges":[{"startOffset":3997,"endOffset":4557,"count":0}],"isBlockCoverage":false},{"functionName":"handledRejection","ranges":[{"startOffset":4559,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionWarning","ranges":[{"startOffset":5462,"endOffset":6499,"count":0}],"isBlockCoverage":false},{"functionName":"processPromiseRejections","ranges":[{"startOffset":6672,"endOffset":9849,"count":1},{"startOffset":6830,"endOffset":7009,"count":0},{"startOffset":7074,"endOffset":9753,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithoutStack","ranges":[{"startOffset":9851,"endOffset":10366,"count":0}],"isBlockCoverage":false},{"functionName":"generateUnhandledRejectionError","ranges":[{"startOffset":10368,"endOffset":10838,"count":0}],"isBlockCoverage":false},{"functionName":"listenForRejections","ranges":[{"startOffset":10840,"endOffset":10924,"count":1}],"isBlockCoverage":true}]},{"scriptId":"102","url":"node:internal/fixed_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4208,"count":1}],"isBlockCoverage":false},{"functionName":"FixedCircularBuffer","ranges":[{"startOffset":2959,"endOffset":3073,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3077,"endOffset":3129,"count":6}],"isBlockCoverage":true},{"functionName":"isFull","ranges":[{"startOffset":3133,"endOffset":3200,"count":2}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3204,"endOffset":3291,"count":2}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3295,"endOffset":3510,"count":3},{"startOffset":3388,"endOffset":3400,"count":1},{"startOffset":3400,"endOffset":3509,"count":2}],"isBlockCoverage":true},{"functionName":"FixedQueue","ranges":[{"startOffset":3552,"endOffset":3626,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3630,"endOffset":3677,"count":3}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3681,"endOffset":3945,"count":2},{"startOffset":3722,"endOffset":3915,"count":0}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3949,"endOffset":4204,"count":3},{"startOffset":4041,"endOffset":4062,"count":2},{"startOffset":4064,"endOffset":4183,"count":0}],"isBlockCoverage":true}]},{"scriptId":"103","url":"node:async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10295,"count":1}],"isBlockCoverage":false},{"functionName":"AsyncHook","ranges":[{"startOffset":1538,"endOffset":2372,"count":1},{"startOffset":1666,"endOffset":1708,"count":0},{"startOffset":1738,"endOffset":1769,"count":0},{"startOffset":1777,"endOffset":1821,"count":0},{"startOffset":1850,"endOffset":1880,"count":0},{"startOffset":1888,"endOffset":1931,"count":0},{"startOffset":1962,"endOffset":1994,"count":0},{"startOffset":2002,"endOffset":2047,"count":0},{"startOffset":2085,"endOffset":2124,"count":0},{"startOffset":2132,"endOffset":2184,"count":0}],"isBlockCoverage":true},{"functionName":"enable","ranges":[{"startOffset":2376,"endOffset":3621,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":3625,"endOffset":4409,"count":0}],"isBlockCoverage":false},{"functionName":"createHook","ranges":[{"startOffset":4414,"endOffset":4471,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncResource","ranges":[{"startOffset":4564,"endOffset":5761,"count":0}],"isBlockCoverage":false},{"functionName":"runInAsyncScope","ranges":[{"startOffset":5765,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":6085,"endOffset":6260,"count":0}],"isBlockCoverage":false},{"functionName":"asyncId","ranges":[{"startOffset":6264,"endOffset":6313,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":6317,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":6385,"endOffset":7421,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":7432,"endOffset":7569,"count":0}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":7632,"endOffset":7920,"count":0}],"isBlockCoverage":false},{"functionName":"AsyncLocalStorage","ranges":[{"startOffset":7955,"endOffset":8052,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":8063,"endOffset":8112,"count":0}],"isBlockCoverage":false},{"functionName":"snapshot","ranges":[{"startOffset":8123,"endOffset":8204,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":8208,"endOffset":8533,"count":0}],"isBlockCoverage":false},{"functionName":"_enable","ranges":[{"startOffset":8537,"endOffset":8683,"count":0}],"isBlockCoverage":false},{"functionName":"_propagate","ranges":[{"startOffset":8752,"endOffset":8932,"count":0}],"isBlockCoverage":false},{"functionName":"enterWith","ranges":[{"startOffset":8936,"endOffset":9068,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":9072,"endOffset":9570,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":9574,"endOffset":9806,"count":0}],"isBlockCoverage":false},{"functionName":"getStore","ranges":[{"startOffset":9810,"endOffset":9949,"count":0}],"isBlockCoverage":false}]},{"scriptId":"104","url":"node:timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9640,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1819,"endOffset":1844,"count":0}],"isBlockCoverage":false},{"functionName":"unenroll","ranges":[{"startOffset":2343,"endOffset":3527,"count":0}],"isBlockCoverage":false},{"functionName":"enroll","ranges":[{"startOffset":3734,"endOffset":3987,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":4229,"endOffset":4886,"count":1},{"startOffset":4396,"endOffset":4403,"count":0},{"startOffset":4433,"endOffset":4474,"count":0},{"startOffset":4479,"endOffset":4526,"count":0},{"startOffset":4531,"endOffset":4752,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4981,"endOffset":5106,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimeout","ranges":[{"startOffset":5206,"endOffset":5572,"count":1},{"startOffset":5249,"endOffset":5268,"count":0},{"startOffset":5270,"endOffset":5337,"count":0},{"startOffset":5400,"endOffset":5570,"count":0}],"isBlockCoverage":true},{"functionName":"setInterval","ranges":[{"startOffset":5809,"endOffset":6468,"count":0}],"isBlockCoverage":false},{"functionName":"clearInterval","ranges":[{"startOffset":6565,"endOffset":6863,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.close","ranges":[{"startOffset":6891,"endOffset":6942,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":6980,"endOffset":7016,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":7126,"endOffset":7287,"count":0}],"isBlockCoverage":false},{"functionName":"setImmediate","ranges":[{"startOffset":7504,"endOffset":8057,"count":1},{"startOffset":7691,"endOffset":7732,"count":0},{"startOffset":7737,"endOffset":7784,"count":0},{"startOffset":7789,"endOffset":8010,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8154,"endOffset":8281,"count":0}],"isBlockCoverage":false},{"functionName":"clearImmediate","ranges":[{"startOffset":8372,"endOffset":8922,"count":0}],"isBlockCoverage":false},{"functionName":"Immediate.","ranges":[{"startOffset":8961,"endOffset":8999,"count":0}],"isBlockCoverage":false}]},{"scriptId":"105","url":"node:internal/process/execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6918,"count":1}],"isBlockCoverage":false},{"functionName":"tryGetCwd","ranges":[{"startOffset":681,"endOffset":1011,"count":1},{"startOffset":742,"endOffset":1009,"count":0}],"isBlockCoverage":true},{"functionName":"evalModule","ranges":[{"startOffset":1013,"endOffset":1407,"count":0}],"isBlockCoverage":false},{"functionName":"evalScript","ranges":[{"startOffset":1409,"endOffset":3230,"count":0}],"isBlockCoverage":false},{"functionName":"setUncaughtExceptionCaptureCallback","ranges":[{"startOffset":3308,"endOffset":4002,"count":0}],"isBlockCoverage":false},{"functionName":"hasUncaughtExceptionCaptureCallback","ranges":[{"startOffset":4004,"endOffset":4105,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4107,"endOffset":4125,"count":0}],"isBlockCoverage":false},{"functionName":"createOnGlobalUncaughtException","ranges":[{"startOffset":4668,"endOffset":6491,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4937,"endOffset":6488,"count":0}],"isBlockCoverage":false},{"functionName":"readStdin","ranges":[{"startOffset":6493,"endOffset":6698,"count":0}],"isBlockCoverage":false}]},{"scriptId":"106","url":"node:path","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":46851,"count":1}],"isBlockCoverage":false},{"functionName":"isPathSeparator","ranges":[{"startOffset":1719,"endOffset":1823,"count":0}],"isBlockCoverage":false},{"functionName":"isPosixPathSeparator","ranges":[{"startOffset":1825,"endOffset":1902,"count":266140}],"isBlockCoverage":true},{"functionName":"isWindowsDeviceRoot","ranges":[{"startOffset":1904,"endOffset":2074,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeString","ranges":[{"startOffset":2137,"endOffset":4085,"count":3781},{"startOffset":2354,"endOffset":4069,"count":265770},{"startOffset":2387,"endOffset":2429,"count":261989},{"startOffset":2429,"endOffset":2520,"count":3781},{"startOffset":2472,"endOffset":2478,"count":3411},{"startOffset":2478,"endOffset":2520,"count":370},{"startOffset":2520,"endOffset":2553,"count":262359},{"startOffset":2553,"endOffset":3970,"count":32150},{"startOffset":2585,"endOffset":2598,"count":27155},{"startOffset":2600,"endOffset":2625,"count":5616},{"startOffset":2625,"endOffset":3927,"count":26534},{"startOffset":2647,"endOffset":3682,"count":122},{"startOffset":2676,"endOffset":2702,"count":65},{"startOffset":2703,"endOffset":2777,"count":3},{"startOffset":2778,"endOffset":2852,"count":3},{"startOffset":2854,"endOffset":3542,"count":119},{"startOffset":2886,"endOffset":3363,"count":62},{"startOffset":3006,"endOffset":3082,"count":0},{"startOffset":3363,"endOffset":3532,"count":57},{"startOffset":3391,"endOffset":3532,"count":0},{"startOffset":3542,"endOffset":3674,"count":60},{"startOffset":3605,"endOffset":3623,"count":3},{"startOffset":3624,"endOffset":3630,"count":57},{"startOffset":3682,"endOffset":3927,"count":26412},{"startOffset":3728,"endOffset":3797,"count":22688},{"startOffset":3797,"endOffset":3872,"count":3724},{"startOffset":3927,"endOffset":3970,"count":32088},{"startOffset":3970,"endOffset":4065,"count":230209},{"startOffset":3998,"endOffset":4012,"count":3623},{"startOffset":4014,"endOffset":4035,"count":869},{"startOffset":4035,"endOffset":4065,"count":229340}],"isBlockCoverage":true},{"functionName":"formatExt","ranges":[{"startOffset":4087,"endOffset":4172,"count":0}],"isBlockCoverage":false},{"functionName":"_format","ranges":[{"startOffset":4350,"endOffset":4685,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":4803,"endOffset":9588,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":9654,"endOffset":12725,"count":0}],"isBlockCoverage":false},{"functionName":"isAbsolute","ranges":[{"startOffset":12792,"endOffset":13208,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13277,"endOffset":15423,"count":0}],"isBlockCoverage":false},{"functionName":"relative","ranges":[{"startOffset":15719,"endOffset":19486,"count":0}],"isBlockCoverage":false},{"functionName":"toNamespacedPath","ranges":[{"startOffset":19552,"endOffset":20654,"count":0}],"isBlockCoverage":false},{"functionName":"dirname","ranges":[{"startOffset":20720,"endOffset":23266,"count":0}],"isBlockCoverage":false},{"functionName":"basename","ranges":[{"startOffset":23362,"endOffset":26136,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":26202,"endOffset":28275,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":28497,"endOffset":33253,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33339,"endOffset":33782,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33526,"endOffset":33683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33760,"endOffset":33779,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":33904,"endOffset":34827,"count":3411},{"startOffset":34027,"endOffset":34047,"count":9081},{"startOffset":34054,"endOffset":34381,"count":5670},{"startOffset":34092,"endOffset":34104,"count":0},{"startOffset":34207,"endOffset":34234,"count":0},{"startOffset":34766,"endOffset":34816,"count":0},{"startOffset":34817,"endOffset":34822,"count":0}],"isBlockCoverage":true},{"functionName":"normalize","ranges":[{"startOffset":34893,"endOffset":35506,"count":370},{"startOffset":34979,"endOffset":34990,"count":0},{"startOffset":35318,"endOffset":35412,"count":0},{"startOffset":35446,"endOffset":35458,"count":0},{"startOffset":35482,"endOffset":35494,"count":3},{"startOffset":35495,"endOffset":35501,"count":367}],"isBlockCoverage":true},{"functionName":"isAbsolute","ranges":[{"startOffset":35573,"endOffset":35729,"count":610}],"isBlockCoverage":true},{"functionName":"join","ranges":[{"startOffset":35798,"endOffset":36212,"count":3},{"startOffset":35847,"endOffset":35858,"count":0},{"startOffset":35917,"endOffset":36124,"count":6},{"startOffset":36053,"endOffset":36110,"count":3},{"startOffset":36161,"endOffset":36172,"count":0}],"isBlockCoverage":true},{"functionName":"relative","ranges":[{"startOffset":36302,"endOffset":38662,"count":2},{"startOffset":36415,"endOffset":36425,"count":0},{"startOffset":36552,"endOffset":36562,"count":0},{"startOffset":36835,"endOffset":36842,"count":0},{"startOffset":36916,"endOffset":37151,"count":70},{"startOffset":37064,"endOffset":37070,"count":0},{"startOffset":37127,"endOffset":37145,"count":6},{"startOffset":37483,"endOffset":37665,"count":0},{"startOffset":37673,"endOffset":38130,"count":0},{"startOffset":38136,"endOffset":38661,"count":0}],"isBlockCoverage":true},{"functionName":"toNamespacedPath","ranges":[{"startOffset":38728,"endOffset":38804,"count":3050}],"isBlockCoverage":true},{"functionName":"dirname","ranges":[{"startOffset":38870,"endOffset":39546,"count":1582},{"startOffset":38953,"endOffset":38964,"count":0},{"startOffset":39138,"endOffset":39391,"count":18748},{"startOffset":39209,"endOffset":39293,"count":1582},{"startOffset":39293,"endOffset":39385,"count":17166},{"startOffset":39419,"endOffset":39446,"count":0},{"startOffset":39483,"endOffset":39495,"count":0}],"isBlockCoverage":true},{"functionName":"basename","ranges":[{"startOffset":39642,"endOffset":42069,"count":373},{"startOffset":39703,"endOffset":39733,"count":0},{"startOffset":39865,"endOffset":39885,"count":0},{"startOffset":39886,"endOffset":39917,"count":0},{"startOffset":39919,"endOffset":41443,"count":0},{"startOffset":41491,"endOffset":41976,"count":4481},{"startOffset":41562,"endOffset":41786,"count":373},{"startOffset":41786,"endOffset":41970,"count":4108},{"startOffset":41808,"endOffset":41970,"count":373},{"startOffset":42004,"endOffset":42014,"count":0}],"isBlockCoverage":true},{"functionName":"extname","ranges":[{"startOffset":42135,"endOffset":43825,"count":1},{"startOffset":42468,"endOffset":43430,"count":13},{"startOffset":42564,"endOffset":42810,"count":1},{"startOffset":42784,"endOffset":42810,"count":0},{"startOffset":42810,"endOffset":42833,"count":12},{"startOffset":42833,"endOffset":42990,"count":1},{"startOffset":42990,"endOffset":43020,"count":12},{"startOffset":43020,"endOffset":43220,"count":1},{"startOffset":43149,"endOffset":43212,"count":0},{"startOffset":43220,"endOffset":43424,"count":11},{"startOffset":43247,"endOffset":43424,"count":7},{"startOffset":43669,"endOffset":43701,"count":0},{"startOffset":43702,"endOffset":43740,"count":0},{"startOffset":43743,"endOffset":43767,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":44052,"endOffset":46524,"count":0}],"isBlockCoverage":false}]},{"scriptId":"107","url":"node:internal/constants","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1583,"count":1}],"isBlockCoverage":false}]},{"scriptId":"108","url":"node:internal/process/warning","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5379,"count":1}],"isBlockCoverage":false},{"functionName":"resetForSerialization","ranges":[{"startOffset":448,"endOffset":645,"count":0}],"isBlockCoverage":false},{"functionName":"lazyOption","ranges":[{"startOffset":647,"endOffset":1201,"count":0}],"isBlockCoverage":false},{"functionName":"writeOut","ranges":[{"startOffset":1302,"endOffset":1424,"count":0}],"isBlockCoverage":false},{"functionName":"closeFdOnExit","ranges":[{"startOffset":1426,"endOffset":1537,"count":0}],"isBlockCoverage":false},{"functionName":"writeToFile","ranges":[{"startOffset":1539,"endOffset":1868,"count":0}],"isBlockCoverage":false},{"functionName":"doEmitWarning","ranges":[{"startOffset":1870,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"onWarning","ranges":[{"startOffset":1943,"endOffset":3092,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarning","ranges":[{"startOffset":3215,"endOffset":4406,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarningSync","ranges":[{"startOffset":4408,"endOffset":4538,"count":0}],"isBlockCoverage":false},{"functionName":"createWarningObject","ranges":[{"startOffset":4540,"endOffset":5283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"109","url":"node:internal/source_map/source_map_cache","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10127,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":357,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":824,"endOffset":939,"count":1}],"isBlockCoverage":true},{"functionName":"getSourceMapsEnabled","ranges":[{"startOffset":1596,"endOffset":1659,"count":69}],"isBlockCoverage":true},{"functionName":"setSourceMapsEnabled","ranges":[{"startOffset":1661,"endOffset":2203,"count":1},{"startOffset":1924,"endOffset":2173,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceURLMagicComment","ranges":[{"startOffset":2205,"endOffset":2805,"count":5},{"startOffset":2507,"endOffset":2540,"count":0},{"startOffset":2593,"endOffset":2729,"count":0},{"startOffset":2731,"endOffset":2804,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceMapURLMagicComment","ranges":[{"startOffset":2807,"endOffset":3250,"count":58},{"startOffset":3128,"endOffset":3156,"count":0},{"startOffset":3204,"endOffset":3249,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheSourceMap","ranges":[{"startOffset":3252,"endOffset":5023,"count":61},{"startOffset":3454,"endOffset":3474,"count":0},{"startOffset":3477,"endOffset":3484,"count":0},{"startOffset":3618,"endOffset":3742,"count":0},{"startOffset":3778,"endOffset":3844,"count":58},{"startOffset":3933,"endOffset":3950,"count":58},{"startOffset":3950,"endOffset":4122,"count":3},{"startOffset":4123,"endOffset":4137,"count":0},{"startOffset":4164,"endOffset":4349,"count":0},{"startOffset":4349,"endOffset":5021,"count":3},{"startOffset":4378,"endOffset":4644,"count":0},{"startOffset":4963,"endOffset":5017,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheGeneratedSourceMap","ranges":[{"startOffset":5025,"endOffset":5553,"count":2},{"startOffset":5163,"endOffset":5183,"count":0},{"startOffset":5186,"endOffset":5193,"count":0},{"startOffset":5297,"endOffset":5551,"count":0}],"isBlockCoverage":true},{"functionName":"dataFromUrl","ranges":[{"startOffset":5555,"endOffset":6075,"count":3},{"startOffset":5692,"endOffset":5767,"count":0},{"startOffset":5774,"endOffset":5854,"count":0}],"isBlockCoverage":true},{"functionName":"lineLengths","ranges":[{"startOffset":6265,"endOffset":6610,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6567,"endOffset":6606,"count":329}],"isBlockCoverage":true},{"functionName":"sourceMapFromFile","ranges":[{"startOffset":6612,"endOffset":6892,"count":3},{"startOffset":6840,"endOffset":6890,"count":0}],"isBlockCoverage":true},{"functionName":"sourceMapFromDataUrl","ranges":[{"startOffset":6986,"endOffset":7657,"count":0}],"isBlockCoverage":false},{"functionName":"sourcesToAbsolute","ranges":[{"startOffset":7842,"endOffset":8169,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7920,"endOffset":8026,"count":3}],"isBlockCoverage":true},{"functionName":"sourceMapCacheToObject","ranges":[{"startOffset":8607,"endOffset":8855,"count":0}],"isBlockCoverage":false},{"functionName":"appendCJSCache","ranges":[{"startOffset":8857,"endOffset":9083,"count":0}],"isBlockCoverage":false},{"functionName":"findSourceMap","ranges":[{"startOffset":9085,"endOffset":9957,"count":1},{"startOffset":9499,"endOffset":9692,"count":0},{"startOffset":9751,"endOffset":9956,"count":0}],"isBlockCoverage":true}]},{"scriptId":"110","url":"node:internal/url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43440,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBlob","ranges":[{"startOffset":2768,"endOffset":2843,"count":0}],"isBlockCoverage":false},{"functionName":"lazyCryptoRandom","ranges":[{"startOffset":2845,"endOffset":3079,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3462,"endOffset":4251,"count":1365}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3589,"endOffset":3617,"count":1}],"isBlockCoverage":false},{"functionName":"get hasPort","ranges":[{"startOffset":4030,"endOffset":4095,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSearch","ranges":[{"startOffset":4099,"endOffset":4174,"count":1593}],"isBlockCoverage":true},{"functionName":"get hasHash","ranges":[{"startOffset":4178,"endOffset":4249,"count":1593}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4337,"endOffset":6674,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7067,"endOffset":19940,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7158,"endOffset":7494,"count":1}],"isBlockCoverage":false},{"functionName":"setURLSearchParamsContext","ranges":[{"startOffset":7199,"endOffset":7246,"count":0}],"isBlockCoverage":false},{"functionName":"getURLSearchParamsList","ranges":[{"startOffset":7277,"endOffset":7303,"count":0}],"isBlockCoverage":false},{"functionName":"setURLSearchParams","ranges":[{"startOffset":7330,"endOffset":7489,"count":0}],"isBlockCoverage":false},{"functionName":"isURL","ranges":[{"startOffset":21271,"endOffset":21396,"count":1671},{"startOffset":21322,"endOffset":21338,"count":745},{"startOffset":21339,"endOffset":21365,"count":745},{"startOffset":21366,"endOffset":21392,"count":745}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21398,"endOffset":29200,"count":1376}],"isBlockCoverage":false},{"functionName":"URL","ranges":[{"startOffset":21461,"endOffset":21761,"count":1376},{"startOffset":21532,"endOffset":21580,"count":0},{"startOffset":21669,"endOffset":21700,"count":669}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21765,"endOffset":22485,"count":0}],"isBlockCoverage":false},{"functionName":"#updateContext","ranges":[{"startOffset":22489,"endOffset":23396,"count":1481},{"startOffset":23205,"endOffset":23392,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":23400,"endOffset":23447,"count":533}],"isBlockCoverage":true},{"functionName":"get href","ranges":[{"startOffset":23451,"endOffset":23498,"count":1004}],"isBlockCoverage":true},{"functionName":"set href","ranges":[{"startOffset":23502,"endOffset":23711,"count":0}],"isBlockCoverage":false},{"functionName":"get origin","ranges":[{"startOffset":23729,"endOffset":24598,"count":0}],"isBlockCoverage":false},{"functionName":"get protocol","ranges":[{"startOffset":24602,"endOffset":24706,"count":2215}],"isBlockCoverage":true},{"functionName":"set protocol","ranges":[{"startOffset":24710,"endOffset":24883,"count":0}],"isBlockCoverage":false},{"functionName":"get username","ranges":[{"startOffset":24887,"endOffset":25114,"count":0}],"isBlockCoverage":false},{"functionName":"set username","ranges":[{"startOffset":25118,"endOffset":25291,"count":0}],"isBlockCoverage":false},{"functionName":"get password","ranges":[{"startOffset":25295,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"set password","ranges":[{"startOffset":25522,"endOffset":25695,"count":0}],"isBlockCoverage":false},{"functionName":"get host","ranges":[{"startOffset":25699,"endOffset":26130,"count":0}],"isBlockCoverage":false},{"functionName":"set host","ranges":[{"startOffset":26134,"endOffset":26299,"count":0}],"isBlockCoverage":false},{"functionName":"get hostname","ranges":[{"startOffset":26303,"endOffset":26585,"count":691},{"startOffset":26469,"endOffset":26494,"count":0}],"isBlockCoverage":true},{"functionName":"set hostname","ranges":[{"startOffset":26589,"endOffset":26762,"count":0}],"isBlockCoverage":false},{"functionName":"get port","ranges":[{"startOffset":26766,"endOffset":26874,"count":0}],"isBlockCoverage":false},{"functionName":"set port","ranges":[{"startOffset":26878,"endOffset":27043,"count":0}],"isBlockCoverage":false},{"functionName":"get pathname","ranges":[{"startOffset":27047,"endOffset":27339,"count":1486},{"startOffset":27113,"endOffset":27163,"count":0},{"startOffset":27196,"endOffset":27244,"count":0}],"isBlockCoverage":true},{"functionName":"set pathname","ranges":[{"startOffset":27343,"endOffset":27516,"count":0}],"isBlockCoverage":false},{"functionName":"get search","ranges":[{"startOffset":27520,"endOffset":27855,"count":107},{"startOffset":27583,"endOffset":27854,"count":0}],"isBlockCoverage":true},{"functionName":"set search","ranges":[{"startOffset":27859,"endOffset":28036,"count":107}],"isBlockCoverage":true},{"functionName":"get searchParams","ranges":[{"startOffset":28054,"endOffset":28353,"count":0}],"isBlockCoverage":false},{"functionName":"get hash","ranges":[{"startOffset":28357,"endOffset":28572,"count":107},{"startOffset":28401,"endOffset":28463,"count":0},{"startOffset":28489,"endOffset":28571,"count":0}],"isBlockCoverage":true},{"functionName":"set hash","ranges":[{"startOffset":28576,"endOffset":28741,"count":107}],"isBlockCoverage":true},{"functionName":"toJSON","ranges":[{"startOffset":28745,"endOffset":28790,"count":0}],"isBlockCoverage":false},{"functionName":"canParse","ranges":[{"startOffset":28801,"endOffset":29198,"count":0}],"isBlockCoverage":false},{"functionName":"installObjectURLMethods","ranges":[{"startOffset":29910,"endOffset":30849,"count":1}],"isBlockCoverage":true},{"functionName":"createObjectURL","ranges":[{"startOffset":29997,"endOffset":30416,"count":0}],"isBlockCoverage":false},{"functionName":"revokeObjectURL","ranges":[{"startOffset":30420,"endOffset":30498,"count":0}],"isBlockCoverage":false},{"functionName":"parseParams","ranges":[{"startOffset":30958,"endOffset":33306,"count":0}],"isBlockCoverage":false},{"functionName":"serializeParams","ranges":[{"startOffset":34286,"endOffset":34846,"count":0}],"isBlockCoverage":false},{"functionName":"merge","ranges":[{"startOffset":34866,"endOffset":35496,"count":0}],"isBlockCoverage":false},{"functionName":"domainToASCII","ranges":[{"startOffset":35498,"endOffset":35683,"count":0}],"isBlockCoverage":false},{"functionName":"domainToUnicode","ranges":[{"startOffset":35685,"endOffset":35874,"count":0}],"isBlockCoverage":false},{"functionName":"urlToHttpOptions","ranges":[{"startOffset":36084,"endOffset":36785,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLWin32","ranges":[{"startOffset":36787,"endOffset":38284,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLPosix","ranges":[{"startOffset":38286,"endOffset":38807,"count":691},{"startOffset":38349,"endOffset":38405,"count":0},{"startOffset":38483,"endOffset":38766,"count":52752},{"startOffset":38514,"endOffset":38762,"count":0}],"isBlockCoverage":true},{"functionName":"fileURLToPath","ranges":[{"startOffset":38809,"endOffset":39148,"count":691},{"startOffset":38876,"endOffset":38897,"count":30},{"startOffset":38897,"endOffset":38991,"count":661},{"startOffset":38927,"endOffset":38991,"count":0},{"startOffset":39029,"endOffset":39070,"count":0},{"startOffset":39090,"endOffset":39117,"count":0}],"isBlockCoverage":true},{"functionName":"encodePathChars","ranges":[{"startOffset":39961,"endOffset":40737,"count":172},{"startOffset":40054,"endOffset":40125,"count":0},{"startOffset":40253,"endOffset":40326,"count":0},{"startOffset":40384,"endOffset":40455,"count":0},{"startOffset":40513,"endOffset":40591,"count":0},{"startOffset":40649,"endOffset":40716,"count":0}],"isBlockCoverage":true},{"functionName":"pathToFileURL","ranges":[{"startOffset":40739,"endOffset":42716,"count":172},{"startOffset":40790,"endOffset":40836,"count":0},{"startOffset":40838,"endOffset":41603,"count":0},{"startOffset":41885,"endOffset":41946,"count":171},{"startOffset":41906,"endOffset":41945,"count":0},{"startOffset":41948,"endOffset":41999,"count":1},{"startOffset":42005,"endOffset":42021,"count":1},{"startOffset":42477,"endOffset":42549,"count":0},{"startOffset":42606,"endOffset":42674,"count":0}],"isBlockCoverage":true},{"functionName":"toPathIfFileURL","ranges":[{"startOffset":42718,"endOffset":42855,"count":986},{"startOffset":42793,"endOffset":42814,"count":902},{"startOffset":42814,"endOffset":42854,"count":84}],"isBlockCoverage":true},{"functionName":"getURLOrigin","ranges":[{"startOffset":43042,"endOffset":43108,"count":0}],"isBlockCoverage":false}]},{"scriptId":"111","url":"node:internal/querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3316,"count":1}],"isBlockCoverage":false},{"functionName":"encodeStr","ranges":[{"startOffset":1534,"endOffset":3253,"count":0}],"isBlockCoverage":false}]},{"scriptId":"112","url":"node:querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14583,"count":1}],"isBlockCoverage":false},{"functionName":"unescapeBuffer","ranges":[{"startOffset":3146,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"qsUnescape","ranges":[{"startOffset":4400,"endOffset":4565,"count":0}],"isBlockCoverage":false},{"functionName":"qsEscape","ranges":[{"startOffset":5418,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"stringifyPrimitive","ranges":[{"startOffset":5719,"endOffset":5989,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringified","ranges":[{"startOffset":6110,"endOffset":6599,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringifiedCustom","ranges":[{"startOffset":6718,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":7065,"endOffset":8131,"count":0}],"isBlockCoverage":false},{"functionName":"charCodes","ranges":[{"startOffset":8187,"endOffset":8455,"count":0}],"isBlockCoverage":false},{"functionName":"addKeyVal","ranges":[{"startOffset":8518,"endOffset":9141,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":9392,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"decodeStr","ranges":[{"startOffset":14459,"endOffset":14582,"count":0}],"isBlockCoverage":false}]},{"scriptId":"113","url":"node:internal/bootstrap/web/exposed-wildcard","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3439,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":900,"endOffset":1129,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1153,"endOffset":1265,"count":0}],"isBlockCoverage":false},{"functionName":"createGlobalConsole","ranges":[{"startOffset":1898,"endOffset":2437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"114","url":"node:internal/console/global","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1814,"count":1}],"isBlockCoverage":false}]},{"scriptId":"115","url":"node:internal/console/constructor","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21601,"count":1}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1875,"endOffset":1975,"count":0}],"isBlockCoverage":false},{"functionName":"Console","ranges":[{"startOffset":2721,"endOffset":4813,"count":1},{"startOffset":2999,"endOffset":3053,"count":0},{"startOffset":3110,"endOffset":3223,"count":0},{"startOffset":3428,"endOffset":3486,"count":0},{"startOffset":3540,"endOffset":3598,"count":0},{"startOffset":3637,"endOffset":3660,"count":0},{"startOffset":3666,"endOffset":3722,"count":0},{"startOffset":3762,"endOffset":3871,"count":0},{"startOffset":3909,"endOffset":4215,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4331,"endOffset":4697,"count":19}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5042,"endOffset":5096,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5366,"endOffset":5607,"count":1}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5832,"endOffset":6477,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6041,"endOffset":6136,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6148,"endOffset":6178,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6308,"endOffset":6407,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6419,"endOffset":6449,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":6569,"endOffset":7977,"count":2}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":8069,"endOffset":9521,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":9616,"endOffset":10026,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10119,"endOffset":10299,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10392,"endOffset":10572,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteErrorHandler","ranges":[{"startOffset":10662,"endOffset":11551,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10730,"endOffset":11548,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":11580,"endOffset":11667,"count":0}],"isBlockCoverage":false},{"functionName":"warn","ranges":[{"startOffset":11673,"endOffset":11761,"count":0}],"isBlockCoverage":false},{"functionName":"dir","ranges":[{"startOffset":11767,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"time","ranges":[{"startOffset":11958,"endOffset":12316,"count":0}],"isBlockCoverage":false},{"functionName":"timeEnd","ranges":[{"startOffset":12321,"endOffset":12610,"count":0}],"isBlockCoverage":false},{"functionName":"timeLog","ranges":[{"startOffset":12615,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"trace","ranges":[{"startOffset":12865,"endOffset":13052,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":13057,"endOffset":13297,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":13358,"endOffset":13830,"count":0}],"isBlockCoverage":false},{"functionName":"count","ranges":[{"startOffset":13891,"endOffset":14347,"count":0}],"isBlockCoverage":false},{"functionName":"countReset","ranges":[{"startOffset":14413,"endOffset":14701,"count":0}],"isBlockCoverage":false},{"functionName":"group","ranges":[{"startOffset":14706,"endOffset":14891,"count":0}],"isBlockCoverage":false},{"functionName":"groupEnd","ranges":[{"startOffset":14896,"endOffset":15065,"count":0}],"isBlockCoverage":false},{"functionName":"table","ranges":[{"startOffset":15114,"endOffset":18432,"count":0}],"isBlockCoverage":false},{"functionName":"timeLogImpl","ranges":[{"startOffset":18473,"endOffset":18992,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":18994,"endOffset":19071,"count":0}],"isBlockCoverage":false},{"functionName":"formatTime","ranges":[{"startOffset":19073,"endOffset":19846,"count":0}],"isBlockCoverage":false},{"functionName":"isArray","ranges":[{"startOffset":19980,"endOffset":20036,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":20039,"endOffset":20057,"count":0}],"isBlockCoverage":false},{"functionName":"initializeGlobalConsole","ranges":[{"startOffset":20425,"endOffset":21464,"count":1},{"startOffset":20793,"endOffset":21463,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21359,"endOffset":21460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"116","url":"node:internal/util/inspector","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3929,"count":1}],"isBlockCoverage":false},{"functionName":"isUsingInspector","ranges":[{"startOffset":698,"endOffset":1081,"count":0}],"isBlockCoverage":false},{"functionName":"getInspectPort","ranges":[{"startOffset":1108,"endOffset":1485,"count":0}],"isBlockCoverage":false},{"functionName":"sendInspectorCommand","ranges":[{"startOffset":1500,"endOffset":2046,"count":0}],"isBlockCoverage":false},{"functionName":"isInspectorMessage","ranges":[{"startOffset":2048,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"installConsoleExtensions","ranges":[{"startOffset":2248,"endOffset":2891,"count":0}],"isBlockCoverage":false},{"functionName":"wrapConsole","ranges":[{"startOffset":2970,"endOffset":3778,"count":1},{"startOffset":3137,"endOffset":3776,"count":24},{"startOffset":3368,"endOffset":3654,"count":19},{"startOffset":3654,"endOffset":3772,"count":5}],"isBlockCoverage":true}]},{"scriptId":"117","url":"node:internal/process/permission","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":919,"count":1}],"isBlockCoverage":false},{"functionName":"isEnabled","ranges":[{"startOffset":315,"endOffset":559,"count":1784},{"startOffset":375,"endOffset":520,"count":1}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":563,"endOffset":913,"count":0}],"isBlockCoverage":false}]},{"scriptId":"118","url":"node:internal/event_target","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31545,"count":1}],"isBlockCoverage":false},{"functionName":"get isTrusted","ranges":[{"startOffset":2074,"endOffset":2130,"count":0}],"isBlockCoverage":false},{"functionName":"isEvent","ranges":[{"startOffset":2268,"endOffset":2340,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2342,"endOffset":7042,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":7039,"count":1}],"isBlockCoverage":false},{"functionName":"isCustomEvent","ranges":[{"startOffset":8173,"endOffset":8267,"count":0}],"isBlockCoverage":false},{"functionName":"CustomEvent","ranges":[{"startOffset":8497,"endOffset":8689,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":8722,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"NodeCustomEvent","ranges":[{"startOffset":9118,"endOffset":9245,"count":0}],"isBlockCoverage":false},{"functionName":"weakListeners","ranges":[{"startOffset":9495,"endOffset":9822,"count":0}],"isBlockCoverage":false},{"functionName":"Listener","ranges":[{"startOffset":10502,"endOffset":11966,"count":13},{"startOffset":10837,"endOffset":10856,"count":0},{"startOffset":10880,"endOffset":10902,"count":0},{"startOffset":10926,"endOffset":10948,"count":0},{"startOffset":11029,"endOffset":11048,"count":0},{"startOffset":11086,"endOffset":11122,"count":0},{"startOffset":11194,"endOffset":11650,"count":0},{"startOffset":11763,"endOffset":11962,"count":0}],"isBlockCoverage":true},{"functionName":"Listener.callback","ranges":[{"startOffset":11793,"endOffset":11923,"count":0}],"isBlockCoverage":false},{"functionName":"get once","ranges":[{"startOffset":11970,"endOffset":12030,"count":6}],"isBlockCoverage":true},{"functionName":"get capture","ranges":[{"startOffset":12033,"endOffset":12099,"count":4}],"isBlockCoverage":true},{"functionName":"get passive","ranges":[{"startOffset":12102,"endOffset":12168,"count":6}],"isBlockCoverage":true},{"functionName":"get isNodeStyleListener","ranges":[{"startOffset":12171,"endOffset":12251,"count":12}],"isBlockCoverage":true},{"functionName":"get weak","ranges":[{"startOffset":12254,"endOffset":12314,"count":39}],"isBlockCoverage":true},{"functionName":"get resistStopPropagation","ranges":[{"startOffset":12317,"endOffset":12411,"count":0}],"isBlockCoverage":false},{"functionName":"get removed","ranges":[{"startOffset":12414,"endOffset":12480,"count":6}],"isBlockCoverage":true},{"functionName":"set removed","ranges":[{"startOffset":12483,"endOffset":12600,"count":17},{"startOffset":12525,"endOffset":12552,"count":4},{"startOffset":12552,"endOffset":12596,"count":13}],"isBlockCoverage":true},{"functionName":"same","ranges":[{"startOffset":12604,"endOffset":12771,"count":16},{"startOffset":12663,"endOffset":12686,"count":0},{"startOffset":12739,"endOffset":12766,"count":4}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":12775,"endOffset":13032,"count":4},{"startOffset":12900,"endOffset":12935,"count":2},{"startOffset":12986,"endOffset":13028,"count":0}],"isBlockCoverage":true},{"functionName":"initEventTarget","ranges":[{"startOffset":13036,"endOffset":13255,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13463,"endOffset":13493,"count":1}],"isBlockCoverage":false},{"functionName":"EventTarget","ranges":[{"startOffset":13498,"endOffset":13544,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13548,"endOffset":14353,"count":13},{"startOffset":13709,"endOffset":13757,"count":0},{"startOffset":13759,"endOffset":14349,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14356,"endOffset":14407,"count":4}],"isBlockCoverage":true},{"functionName":"addEventListener","ranges":[{"startOffset":14796,"endOffset":17514,"count":13},{"startOffset":14891,"endOffset":14933,"count":0},{"startOffset":14970,"endOffset":15017,"count":0},{"startOffset":15409,"endOffset":15862,"count":0},{"startOffset":15926,"endOffset":16310,"count":0},{"startOffset":16381,"endOffset":16873,"count":7},{"startOffset":16873,"endOffset":17028,"count":6},{"startOffset":17028,"endOffset":17063,"count":8},{"startOffset":17065,"endOffset":17128,"count":8},{"startOffset":17128,"endOffset":17161,"count":6},{"startOffset":17161,"endOffset":17203,"count":0},{"startOffset":17203,"endOffset":17513,"count":6}],"isBlockCoverage":true},{"functionName":"signal.addEventListener.__proto__","ranges":[{"startOffset":16141,"endOffset":16215,"count":0}],"isBlockCoverage":false},{"functionName":"removeEventListener","ranges":[{"startOffset":17672,"endOffset":18513,"count":4},{"startOffset":17770,"endOffset":17812,"count":0},{"startOffset":17849,"endOffset":17896,"count":0},{"startOffset":17945,"endOffset":17952,"count":0},{"startOffset":18151,"endOffset":18158,"count":0},{"startOffset":18223,"endOffset":18509,"count":8},{"startOffset":18268,"endOffset":18473,"count":4},{"startOffset":18356,"endOffset":18383,"count":0},{"startOffset":18473,"endOffset":18509,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18517,"endOffset":19138,"count":0}],"isBlockCoverage":false},{"functionName":"dispatchEvent","ranges":[{"startOffset":19180,"endOffset":19641,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19645,"endOffset":21941,"count":4},{"startOffset":19944,"endOffset":20020,"count":0},{"startOffset":20119,"endOffset":20219,"count":0},{"startOffset":20496,"endOffset":21866,"count":6},{"startOffset":20637,"endOffset":20646,"count":0},{"startOffset":20656,"endOffset":20689,"count":0},{"startOffset":20692,"endOffset":21022,"count":0},{"startOffset":21047,"endOffset":21217,"count":0},{"startOffset":21327,"endOffset":21375,"count":0},{"startOffset":21414,"endOffset":21450,"count":0},{"startOffset":21622,"endOffset":21680,"count":0},{"startOffset":21724,"endOffset":21742,"count":0},{"startOffset":21754,"endOffset":21771,"count":0},{"startOffset":21780,"endOffset":21837,"count":0},{"startOffset":21903,"endOffset":21937,"count":0}],"isBlockCoverage":true},{"functionName":"createEvent","ranges":[{"startOffset":19713,"endOffset":19913,"count":0}],"isBlockCoverage":false},{"functionName":"iterationCondition","ranges":[{"startOffset":20296,"endOffset":20461,"count":10},{"startOffset":20337,"endOffset":20368,"count":4},{"startOffset":20368,"endOffset":20427,"count":6},{"startOffset":20428,"endOffset":20454,"count":6},{"startOffset":20436,"endOffset":20445,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21945,"endOffset":22043,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22046,"endOffset":22425,"count":0}],"isBlockCoverage":false},{"functionName":"initNodeEventTarget","ranges":[{"startOffset":22750,"endOffset":22813,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":22899,"endOffset":22930,"count":1}],"isBlockCoverage":false},{"functionName":"NodeEventTarget","ranges":[{"startOffset":22935,"endOffset":22998,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":23037,"endOffset":23191,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":23230,"endOffset":23383,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":23424,"endOffset":23573,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":23638,"endOffset":23847,"count":0}],"isBlockCoverage":false},{"functionName":"off","ranges":[{"startOffset":24037,"endOffset":24230,"count":4},{"startOffset":24108,"endOffset":24154,"count":0}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":24420,"endOffset":24624,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":24755,"endOffset":24960,"count":13},{"startOffset":24816,"endOffset":24862,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":25091,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":25393,"endOffset":25653,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":25784,"endOffset":26029,"count":0}],"isBlockCoverage":false},{"functionName":"removeAllListeners","ranges":[{"startOffset":26105,"endOffset":26360,"count":0}],"isBlockCoverage":false},{"functionName":"validateEventListener","ranges":[{"startOffset":26825,"endOffset":27197,"count":17},{"startOffset":26905,"endOffset":26957,"count":0},{"startOffset":26981,"endOffset":27196,"count":0}],"isBlockCoverage":true},{"functionName":"validateEventListenerOptions","ranges":[{"startOffset":27199,"endOffset":27778,"count":13},{"startOffset":27288,"endOffset":27316,"count":0},{"startOffset":27346,"endOffset":27366,"count":0}],"isBlockCoverage":true},{"functionName":"isEventTarget","ranges":[{"startOffset":28083,"endOffset":28159,"count":17}],"isBlockCoverage":true},{"functionName":"isNodeEventTarget","ranges":[{"startOffset":28161,"endOffset":28245,"count":17}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":28247,"endOffset":28561,"count":0}],"isBlockCoverage":false},{"functionName":"emitUncaughtException","ranges":[{"startOffset":28563,"endOffset":28644,"count":0}],"isBlockCoverage":false},{"functionName":"makeEventHandler","ranges":[{"startOffset":28646,"endOffset":29055,"count":0}],"isBlockCoverage":false},{"functionName":"defineEventHandler","ranges":[{"startOffset":29057,"endOffset":30523,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":29217,"endOffset":29353,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":29452,"endOffset":30290,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterMixin","ranges":[{"startOffset":30551,"endOffset":31241,"count":1},{"startOffset":30982,"endOffset":31144,"count":18}],"isBlockCoverage":true},{"functionName":"MixedEventEmitter","ranges":[{"startOffset":30620,"endOffset":30761,"count":58}],"isBlockCoverage":true}]},{"scriptId":"119","url":"node:util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10913,"count":1}],"isBlockCoverage":false},{"functionName":"lazyAbortController","ranges":[{"startOffset":2369,"endOffset":2489,"count":24}],"isBlockCoverage":true},{"functionName":"isBoolean","ranges":[{"startOffset":2600,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"isNull","ranges":[{"startOffset":2746,"endOffset":2793,"count":0}],"isBlockCoverage":false},{"functionName":"isNullOrUndefined","ranges":[{"startOffset":2891,"endOffset":2970,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":3056,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":3174,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbol","ranges":[{"startOffset":3320,"endOffset":3380,"count":0}],"isBlockCoverage":false},{"functionName":"isUndefined","ranges":[{"startOffset":3469,"endOffset":3526,"count":0}],"isBlockCoverage":false},{"functionName":"isObject","ranges":[{"startOffset":3623,"endOffset":3699,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":3782,"endOffset":3885,"count":0}],"isBlockCoverage":false},{"functionName":"isFunction","ranges":[{"startOffset":3973,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"isPrimitive","ranges":[{"startOffset":4172,"endOffset":4291,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":4343,"endOffset":4418,"count":0}],"isBlockCoverage":false},{"functionName":"timestamp","ranges":[{"startOffset":4584,"endOffset":4865,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":5023,"endOffset":5176,"count":0}],"isBlockCoverage":false},{"functionName":"inherits","ranges":[{"startOffset":5909,"endOffset":6547,"count":0}],"isBlockCoverage":false},{"functionName":"_extend","ranges":[{"startOffset":6700,"endOffset":6988,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7036,"endOffset":7461,"count":0}],"isBlockCoverage":false},{"functionName":"callbackify","ranges":[{"startOffset":7714,"endOffset":9211,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorName","ranges":[{"startOffset":9265,"endOffset":9481,"count":0}],"isBlockCoverage":false},{"functionName":"isDeepStrictEqual","ranges":[{"startOffset":9882,"endOffset":10087,"count":0}],"isBlockCoverage":false},{"functionName":"get transferableAbortSignal","ranges":[{"startOffset":10340,"endOffset":10433,"count":8}],"isBlockCoverage":true},{"functionName":"get transferableAbortController","ranges":[{"startOffset":10437,"endOffset":10538,"count":8}],"isBlockCoverage":true},{"functionName":"get aborted","ranges":[{"startOffset":10542,"endOffset":10603,"count":8}],"isBlockCoverage":true}]},{"scriptId":"120","url":"node:internal/webidl","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4636,"count":1}],"isBlockCoverage":false},{"functionName":"evenRound","ranges":[{"startOffset":825,"endOffset":1150,"count":0}],"isBlockCoverage":false},{"functionName":"pow2","ranges":[{"startOffset":1152,"endOffset":1415,"count":0}],"isBlockCoverage":false},{"functionName":"modulo","ranges":[{"startOffset":1527,"endOffset":1641,"count":0}],"isBlockCoverage":false},{"functionName":"convertToInt","ranges":[{"startOffset":1706,"endOffset":4313,"count":0}],"isBlockCoverage":false},{"functionName":"DOMString","ranges":[{"startOffset":4438,"endOffset":4568,"count":17},{"startOffset":4491,"endOffset":4545,"count":0}],"isBlockCoverage":true}]},{"scriptId":"121","url":"node:internal/perf/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":787,"count":1}],"isBlockCoverage":false},{"functionName":"getTimeOrigin","ranges":[{"startOffset":138,"endOffset":316,"count":0}],"isBlockCoverage":false},{"functionName":"now","ranges":[{"startOffset":390,"endOffset":496,"count":0}],"isBlockCoverage":false},{"functionName":"getMilestoneTimestamp","ranges":[{"startOffset":575,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"122","url":"node:internal/bootstrap/web/exposed-window-or-worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2185,"count":1}],"isBlockCoverage":false}]},{"scriptId":"123","url":"node:internal/bootstrap/switches/is_not_main_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1185,"count":1}],"isBlockCoverage":false},{"functionName":"defineStream","ranges":[{"startOffset":119,"endOffset":288,"count":3}],"isBlockCoverage":true},{"functionName":"lazyWorkerStdio","ranges":[{"startOffset":902,"endOffset":1009,"count":23},{"startOffset":951,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"getStdout","ranges":[{"startOffset":1011,"endOffset":1068,"count":8}],"isBlockCoverage":true},{"functionName":"getStderr","ranges":[{"startOffset":1070,"endOffset":1127,"count":9}],"isBlockCoverage":true},{"functionName":"getStdin","ranges":[{"startOffset":1129,"endOffset":1184,"count":6}],"isBlockCoverage":true}]},{"scriptId":"124","url":"node:internal/process/signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":false},{"functionName":"isSignal","ranges":[{"startOffset":238,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"startListeningIfSignal","ranges":[{"startOffset":398,"endOffset":904,"count":0}],"isBlockCoverage":false},{"functionName":"stopListeningIfSignal","ranges":[{"startOffset":906,"endOffset":1101,"count":0}],"isBlockCoverage":false}]},{"scriptId":"125","url":"node:internal/worker/io","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15479,"count":1}],"isBlockCoverage":false},{"functionName":"MessagePort.hasRef","ranges":[{"startOffset":3683,"endOffset":3766,"count":0}],"isBlockCoverage":false},{"functionName":"validateMessagePort","ranges":[{"startOffset":3769,"endOffset":3907,"count":0}],"isBlockCoverage":false},{"functionName":"isMessageEvent","ranges":[{"startOffset":3909,"endOffset":3985,"count":0}],"isBlockCoverage":false},{"functionName":"MessageEvent","ranges":[{"startOffset":4024,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4628,"endOffset":4752,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4862,"endOffset":4988,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5103,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5344,"endOffset":5470,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5579,"endOffset":5704,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5946,"endOffset":6264,"count":0}],"isBlockCoverage":false},{"functionName":"oninit","ranges":[{"startOffset":6403,"endOffset":6546,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortCloseEvent","ranges":[{"startOffset":6848,"endOffset":6887,"count":0}],"isBlockCoverage":false},{"functionName":"onclose","ranges":[{"startOffset":6960,"endOffset":7033,"count":0}],"isBlockCoverage":false},{"functionName":"MessagePort.close","ranges":[{"startOffset":7214,"endOffset":7349,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":7482,"endOffset":8110,"count":0}],"isBlockCoverage":false},{"functionName":"setupPortReferencing","ranges":[{"startOffset":8117,"endOffset":9480,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8478,"endOffset":8573,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8612,"endOffset":8710,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8812,"endOffset":8957,"count":9},{"startOffset":8872,"endOffset":8894,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9068,"endOffset":9215,"count":4},{"startOffset":9128,"endOffset":9149,"count":3}],"isBlockCoverage":true},{"functionName":"newListener","ranges":[{"startOffset":9221,"endOffset":9362,"count":6},{"startOffset":9270,"endOffset":9358,"count":2}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":9366,"endOffset":9478,"count":3},{"startOffset":9418,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"ReadableWorkerStdio","ranges":[{"startOffset":9530,"endOffset":9879,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9708,"endOffset":9873,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":9883,"endOffset":10189,"count":0}],"isBlockCoverage":false},{"functionName":"WritableWorkerStdio","ranges":[{"startOffset":10240,"endOffset":10389,"count":2}],"isBlockCoverage":true},{"functionName":"_writev","ranges":[{"startOffset":10393,"endOffset":10769,"count":0}],"isBlockCoverage":false},{"functionName":"_final","ranges":[{"startOffset":10773,"endOffset":10953,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10957,"endOffset":11204,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11099,"endOffset":11111,"count":0}],"isBlockCoverage":false},{"functionName":"createWorkerStdio","ranges":[{"startOffset":11208,"endOffset":11478,"count":1}],"isBlockCoverage":true},{"functionName":"receiveMessageOnPort","ranges":[{"startOffset":11480,"endOffset":11660,"count":0}],"isBlockCoverage":false},{"functionName":"onMessageEvent","ranges":[{"startOffset":11662,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"isBroadcastChannel","ranges":[{"startOffset":11759,"endOffset":11845,"count":0}],"isBlockCoverage":false},{"functionName":"BroadcastChannel","ranges":[{"startOffset":11932,"endOffset":12446,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12450,"endOffset":12863,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":12899,"endOffset":13028,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13065,"endOffset":13463,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":13531,"endOffset":13941,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":14224,"endOffset":14391,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":14676,"endOffset":14847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"126","url":"node:stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4784,"count":1}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2402,"endOffset":2558,"count":0}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2983,"endOffset":3117,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4105,"endOffset":4137,"count":16}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4235,"endOffset":4276,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4369,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"_uint8ArrayToBuffer","ranges":[{"startOffset":4575,"endOffset":4782,"count":0}],"isBlockCoverage":false}]},{"scriptId":"127","url":"node:internal/streams/operators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10772,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":1019,"endOffset":1599,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":1601,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"asIndexedPairs","ranges":[{"startOffset":4706,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"some","ranges":[{"startOffset":5181,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"every","ranges":[{"startOffset":5331,"endOffset":5659,"count":0}],"isBlockCoverage":false},{"functionName":"find","ranges":[{"startOffset":5661,"endOffset":5803,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":5805,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":6177,"endOffset":6504,"count":0}],"isBlockCoverage":false},{"functionName":"ReduceAwareErrMissingArgs","ranges":[{"startOffset":6720,"endOffset":6834,"count":0}],"isBlockCoverage":false},{"functionName":"reduce","ranges":[{"startOffset":6838,"endOffset":8280,"count":0}],"isBlockCoverage":false},{"functionName":"toArray","ranges":[{"startOffset":8282,"endOffset":8711,"count":0}],"isBlockCoverage":false},{"functionName":"flatMap","ranges":[{"startOffset":8713,"endOffset":8907,"count":0}],"isBlockCoverage":false},{"functionName":"toIntegerOrInfinity","ranges":[{"startOffset":8909,"endOffset":9231,"count":0}],"isBlockCoverage":false},{"functionName":"drop","ranges":[{"startOffset":9233,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"take","ranges":[{"startOffset":9783,"endOffset":10453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"128","url":"node:internal/abort_controller","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12413,"count":1}],"isBlockCoverage":false},{"functionName":"lazyMessageChannel","ranges":[{"startOffset":1574,"endOffset":1707,"count":0}],"isBlockCoverage":false},{"functionName":"lazyMakeTransferable","ranges":[{"startOffset":1709,"endOffset":1867,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":2337,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"validateThisAbortSignal","ranges":[{"startOffset":2598,"endOffset":2723,"count":0}],"isBlockCoverage":false},{"functionName":"setWeakAbortSignalTimeout","ranges":[{"startOffset":3305,"endOffset":3705,"count":0}],"isBlockCoverage":false},{"functionName":"AbortSignal","ranges":[{"startOffset":3749,"endOffset":3809,"count":0}],"isBlockCoverage":false},{"functionName":"get aborted","ranges":[{"startOffset":3846,"endOffset":3929,"count":0}],"isBlockCoverage":false},{"functionName":"get reason","ranges":[{"startOffset":3962,"endOffset":4041,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfAborted","ranges":[{"startOffset":4045,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4165,"endOffset":4294,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":4372,"endOffset":4516,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":4594,"endOffset":4856,"count":0}],"isBlockCoverage":false},{"functionName":"any","ranges":[{"startOffset":4943,"endOffset":6278,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6282,"endOffset":7050,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7408,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7412,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8023,"endOffset":8275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8279,"endOffset":8727,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal","ranges":[{"startOffset":8731,"endOffset":8815,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal.","ranges":[{"startOffset":8860,"endOffset":8868,"count":0}],"isBlockCoverage":false},{"functionName":"createAbortSignal","ranges":[{"startOffset":9346,"endOffset":9759,"count":0}],"isBlockCoverage":false},{"functionName":"abortSignal","ranges":[{"startOffset":9761,"endOffset":10123,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10125,"endOffset":10781,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortSignal","ranges":[{"startOffset":10929,"endOffset":11121,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortController","ranges":[{"startOffset":11193,"endOffset":11282,"count":0}],"isBlockCoverage":false},{"functionName":"aborted","ranges":[{"startOffset":11376,"endOffset":11964,"count":0}],"isBlockCoverage":false}]},{"scriptId":"129","url":"node:internal/streams/end-of-stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8360,"count":1}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":891,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":1000,"endOffset":1008,"count":0}],"isBlockCoverage":false},{"functionName":"eos","ranges":[{"startOffset":1011,"endOffset":6953,"count":0}],"isBlockCoverage":false},{"functionName":"eosWeb","ranges":[{"startOffset":6955,"endOffset":7840,"count":0}],"isBlockCoverage":false},{"functionName":"finished","ranges":[{"startOffset":7842,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"130","url":"node:internal/streams/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8416,"count":1}],"isBlockCoverage":false},{"functionName":"isReadableNodeStream","ranges":[{"startOffset":774,"endOffset":1191,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableNodeStream","ranges":[{"startOffset":1193,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexNodeStream","ranges":[{"startOffset":1415,"endOffset":1614,"count":0}],"isBlockCoverage":false},{"functionName":"isNodeStream","ranges":[{"startOffset":1616,"endOffset":1887,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":1889,"endOffset":2103,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":2105,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":2275,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"isWebStream","ranges":[{"startOffset":2444,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"isIterable","ranges":[{"startOffset":2558,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"isDestroyed","ranges":[{"startOffset":2890,"endOffset":3153,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableEnded","ranges":[{"startOffset":3177,"endOffset":3468,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableFinished","ranges":[{"startOffset":3496,"endOffset":3893,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableEnded","ranges":[{"startOffset":3922,"endOffset":4223,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableFinished","ranges":[{"startOffset":4248,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":4598,"endOffset":4898,"count":0}],"isBlockCoverage":false},{"functionName":"isWritable","ranges":[{"startOffset":4900,"endOffset":5197,"count":0}],"isBlockCoverage":false},{"functionName":"isFinished","ranges":[{"startOffset":5199,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableErrored","ranges":[{"startOffset":5515,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableErrored","ranges":[{"startOffset":5729,"endOffset":5941,"count":0}],"isBlockCoverage":false},{"functionName":"isClosed","ranges":[{"startOffset":5943,"endOffset":6448,"count":0}],"isBlockCoverage":false},{"functionName":"isOutgoingMessage","ranges":[{"startOffset":6450,"endOffset":6702,"count":0}],"isBlockCoverage":false},{"functionName":"isServerResponse","ranges":[{"startOffset":6704,"endOffset":6831,"count":0}],"isBlockCoverage":false},{"functionName":"isServerRequest","ranges":[{"startOffset":6833,"endOffset":7021,"count":0}],"isBlockCoverage":false},{"functionName":"willEmitClose","ranges":[{"startOffset":7023,"endOffset":7361,"count":0}],"isBlockCoverage":false},{"functionName":"isDisturbed","ranges":[{"startOffset":7363,"endOffset":7508,"count":0}],"isBlockCoverage":false},{"functionName":"isErrored","ranges":[{"startOffset":7510,"endOffset":7815,"count":0}],"isBlockCoverage":false}]},{"scriptId":"131","url":"node:internal/streams/compose","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5451,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":543,"endOffset":5449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"132","url":"node:internal/streams/pipeline","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12326,"count":1}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":1058,"endOffset":1487,"count":0}],"isBlockCoverage":false},{"functionName":"popCallback","ranges":[{"startOffset":1489,"endOffset":1817,"count":0}],"isBlockCoverage":false},{"functionName":"makeAsyncIterable","ranges":[{"startOffset":1819,"endOffset":2105,"count":0}],"isBlockCoverage":false},{"functionName":"fromReadable","ranges":[{"startOffset":2107,"endOffset":2281,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToNode","ranges":[{"startOffset":2283,"endOffset":3327,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToWeb","ranges":[{"startOffset":3329,"endOffset":3927,"count":0}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":3929,"endOffset":4022,"count":0}],"isBlockCoverage":false},{"functionName":"pipelineImpl","ranges":[{"startOffset":4024,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"pipe","ranges":[{"startOffset":10478,"endOffset":12279,"count":0}],"isBlockCoverage":false}]},{"scriptId":"133","url":"node:internal/streams/destroy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6826,"count":1}],"isBlockCoverage":false},{"functionName":"checkError","ranges":[{"startOffset":360,"endOffset":671,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":781,"endOffset":1568,"count":0}],"isBlockCoverage":false},{"functionName":"_destroy","ranges":[{"startOffset":1570,"endOffset":2184,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseNT","ranges":[{"startOffset":2186,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":2275,"endOffset":2523,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":2525,"endOffset":2800,"count":0}],"isBlockCoverage":false},{"functionName":"undestroy","ranges":[{"startOffset":2802,"endOffset":3492,"count":0}],"isBlockCoverage":false},{"functionName":"errorOrDestroy","ranges":[{"startOffset":3494,"endOffset":4413,"count":0}],"isBlockCoverage":false},{"functionName":"construct","ranges":[{"startOffset":4415,"endOffset":4821,"count":3},{"startOffset":4512,"endOffset":4820,"count":0}],"isBlockCoverage":true},{"functionName":"constructNT","ranges":[{"startOffset":4823,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"emitConstructNT","ranges":[{"startOffset":5572,"endOffset":5635,"count":0}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":5637,"endOffset":5733,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseLegacy","ranges":[{"startOffset":5735,"endOffset":5795,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseLegacy","ranges":[{"startOffset":5797,"endOffset":5917,"count":0}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":5952,"endOffset":6734,"count":0}],"isBlockCoverage":false}]},{"scriptId":"134","url":"node:internal/streams/duplex","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4938,"count":1}],"isBlockCoverage":false},{"functionName":"Duplex","ranges":[{"startOffset":1996,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3811,"endOffset":4023,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4029,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":4364,"endOffset":4528,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.fromWeb","ranges":[{"startOffset":4547,"endOffset":4665,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.toWeb","ranges":[{"startOffset":4683,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.from","ranges":[{"startOffset":4805,"endOffset":4936,"count":0}],"isBlockCoverage":false}]},{"scriptId":"135","url":"node:internal/streams/readable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43849,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1799,"endOffset":1824,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2617,"endOffset":2625,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3306,"endOffset":3522,"count":19}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3381,"endOffset":3423,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":3429,"endOffset":3514,"count":0}],"isBlockCoverage":false},{"functionName":"ReadableState","ranges":[{"startOffset":5398,"endOffset":8222,"count":1},{"startOffset":5797,"endOffset":5840,"count":0},{"startOffset":6159,"endOffset":6180,"count":0},{"startOffset":6182,"endOffset":6208,"count":0},{"startOffset":6225,"endOffset":6235,"count":0},{"startOffset":6236,"endOffset":6265,"count":0},{"startOffset":6271,"endOffset":6297,"count":0},{"startOffset":6472,"endOffset":6544,"count":0},{"startOffset":6946,"endOffset":6976,"count":0},{"startOffset":6978,"endOffset":7004,"count":0},{"startOffset":7093,"endOffset":7125,"count":0},{"startOffset":7127,"endOffset":7155,"count":0},{"startOffset":7652,"endOffset":7669,"count":0},{"startOffset":7742,"endOffset":7901,"count":0},{"startOffset":8100,"endOffset":8119,"count":0},{"startOffset":8121,"endOffset":8220,"count":0}],"isBlockCoverage":true},{"functionName":"Readable","ranges":[{"startOffset":8225,"endOffset":9113,"count":1},{"startOffset":8293,"endOffset":8322,"count":0},{"startOffset":8593,"endOffset":8937,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9000,"endOffset":9109,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._destroy","ranges":[{"startOffset":9250,"endOffset":9282,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9333,"endOffset":9371,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9415,"endOffset":9671,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.push","ranges":[{"startOffset":9900,"endOffset":9986,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unshift","ranges":[{"startOffset":10082,"endOffset":10167,"count":0}],"isBlockCoverage":false},{"functionName":"readableAddChunk","ranges":[{"startOffset":10170,"endOffset":12572,"count":0}],"isBlockCoverage":false},{"functionName":"addChunk","ranges":[{"startOffset":12574,"endOffset":13339,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.isPaused","ranges":[{"startOffset":13371,"endOffset":13483,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.setEncoding","ranges":[{"startOffset":13547,"endOffset":14108,"count":0}],"isBlockCoverage":false},{"functionName":"computeNewHighWaterMark","ranges":[{"startOffset":14169,"endOffset":14520,"count":0}],"isBlockCoverage":false},{"functionName":"howMuchToRead","ranges":[{"startOffset":14633,"endOffset":15044,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.read","ranges":[{"startOffset":15141,"endOffset":19643,"count":0}],"isBlockCoverage":false},{"functionName":"onEofChunk","ranges":[{"startOffset":19646,"endOffset":20466,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable","ranges":[{"startOffset":20667,"endOffset":20994,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable_","ranges":[{"startOffset":20996,"endOffset":21650,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore","ranges":[{"startOffset":22000,"endOffset":22177,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore_","ranges":[{"startOffset":22179,"endOffset":23971,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._read","ranges":[{"startOffset":24242,"endOffset":24308,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pipe","ranges":[{"startOffset":24337,"endOffset":28782,"count":0}],"isBlockCoverage":false},{"functionName":"pipeOnDrain","ranges":[{"startOffset":28785,"endOffset":29430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unpipe","ranges":[{"startOffset":29461,"endOffset":30162,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.on","ranges":[{"startOffset":30288,"endOffset":31195,"count":1},{"startOffset":30420,"endOffset":30752,"count":0},{"startOffset":30781,"endOffset":31178,"count":0}],"isBlockCoverage":true},{"functionName":"Readable.removeListener","ranges":[{"startOffset":31290,"endOffset":31855,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.removeAllListeners","ranges":[{"startOffset":31958,"endOffset":32552,"count":0}],"isBlockCoverage":false},{"functionName":"updateReadableListening","ranges":[{"startOffset":32555,"endOffset":33065,"count":0}],"isBlockCoverage":false},{"functionName":"nReadingNextTick","ranges":[{"startOffset":33067,"endOffset":33155,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.resume","ranges":[{"startOffset":33309,"endOffset":33634,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":33637,"endOffset":33787,"count":0}],"isBlockCoverage":false},{"functionName":"resume_","ranges":[{"startOffset":33789,"endOffset":34040,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pause","ranges":[{"startOffset":34069,"endOffset":34336,"count":0}],"isBlockCoverage":false},{"functionName":"flow","ranges":[{"startOffset":34339,"endOffset":34486,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":34670,"endOffset":35691,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":35736,"endOffset":35788,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.iterator","ranges":[{"startOffset":35821,"endOffset":35964,"count":0}],"isBlockCoverage":false},{"functionName":"streamToAsyncIterator","ranges":[{"startOffset":35967,"endOffset":36216,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncIterator","ranges":[{"startOffset":36218,"endOffset":37294,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":37513,"endOffset":37902,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":37908,"endOffset":38038,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38120,"endOffset":38184,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38266,"endOffset":38474,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38562,"endOffset":38628,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38709,"endOffset":38791,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38873,"endOffset":38933,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":38944,"endOffset":39053,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39129,"endOffset":39183,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39263,"endOffset":39351,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39429,"endOffset":39514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39583,"endOffset":39667,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39712,"endOffset":39796,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39867,"endOffset":39954,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":39960,"endOffset":40249,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40324,"endOffset":40412,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40553,"endOffset":40598,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40678,"endOffset":40729,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":40735,"endOffset":40784,"count":0}],"isBlockCoverage":false},{"functionName":"fromList","ranges":[{"startOffset":41090,"endOffset":41652,"count":0}],"isBlockCoverage":false},{"functionName":"endReadable","ranges":[{"startOffset":41654,"endOffset":41875,"count":0}],"isBlockCoverage":false},{"functionName":"endReadableNT","ranges":[{"startOffset":41877,"endOffset":42797,"count":0}],"isBlockCoverage":false},{"functionName":"endWritableNT","ranges":[{"startOffset":42799,"endOffset":42959,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.from","ranges":[{"startOffset":42977,"endOffset":43046,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":43111,"endOffset":43275,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.fromWeb","ranges":[{"startOffset":43296,"endOffset":43430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.toWeb","ranges":[{"startOffset":43450,"endOffset":43584,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":43603,"endOffset":43847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"136","url":"node:internal/streams/legacy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2934,"count":1}],"isBlockCoverage":false},{"functionName":"Stream","ranges":[{"startOffset":112,"endOffset":160,"count":3}],"isBlockCoverage":true},{"functionName":"Stream.pipe","ranges":[{"startOffset":274,"endOffset":2076,"count":0}],"isBlockCoverage":false},{"functionName":"prependListener","ranges":[{"startOffset":2079,"endOffset":2886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"137","url":"node:internal/streams/add-abort-signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1704,"count":1}],"isBlockCoverage":false},{"functionName":"validateAbortSignal","ranges":[{"startOffset":557,"endOffset":716,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortSignal","ranges":[{"startOffset":751,"endOffset":1062,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.addAbortSignalNoValidate","ranges":[{"startOffset":1107,"endOffset":1702,"count":0}],"isBlockCoverage":false}]},{"scriptId":"138","url":"node:internal/streams/buffer_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4060,"count":1}],"isBlockCoverage":false},{"functionName":"BufferList","ranges":[{"startOffset":254,"endOffset":338,"count":1}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":342,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":533,"endOffset":691,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":695,"endOffset":922,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":926,"endOffset":994,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":998,"endOffset":1180,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":1184,"endOffset":1467,"count":0}],"isBlockCoverage":false},{"functionName":"consume","ranges":[{"startOffset":1551,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":2009,"endOffset":2049,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":2053,"endOffset":2149,"count":0}],"isBlockCoverage":false},{"functionName":"_getString","ranges":[{"startOffset":2224,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"_getBuffer","ranges":[{"startOffset":2932,"endOffset":3779,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":3860,"endOffset":4056,"count":0}],"isBlockCoverage":false}]},{"scriptId":"139","url":"node:internal/streams/state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1332,"count":1}],"isBlockCoverage":false},{"functionName":"highWaterMarkFrom","ranges":[{"startOffset":287,"endOffset":454,"count":2},{"startOffset":385,"endOffset":408,"count":0},{"startOffset":424,"endOffset":444,"count":0}],"isBlockCoverage":true},{"functionName":"getDefaultHighWaterMark","ranges":[{"startOffset":456,"endOffset":586,"count":3},{"startOffset":523,"endOffset":555,"count":0}],"isBlockCoverage":true},{"functionName":"setDefaultHighWaterMark","ranges":[{"startOffset":588,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"getHighWaterMark","ranges":[{"startOffset":801,"endOffset":1234,"count":2},{"startOffset":948,"endOffset":1160,"count":0}],"isBlockCoverage":true}]},{"scriptId":"140","url":"node:string_decoder","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5213,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeEncoding","ranges":[{"startOffset":2129,"endOffset":2391,"count":0}],"isBlockCoverage":false},{"functionName":"StringDecoder","ranges":[{"startOffset":2705,"endOffset":2904,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3227,"endOffset":3612,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":3889,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":4291,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4586,"endOffset":4799,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4891,"endOffset":4954,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5047,"endOffset":5162,"count":0}],"isBlockCoverage":false}]},{"scriptId":"141","url":"node:internal/streams/from","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2614,"count":1}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":241,"endOffset":2589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"142","url":"node:internal/streams/writable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29040,"count":1}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2389,"endOffset":2406,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3093,"endOffset":3309,"count":20}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3168,"endOffset":3210,"count":2}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3216,"endOffset":3301,"count":0}],"isBlockCoverage":false},{"functionName":"WritableState","ranges":[{"startOffset":5971,"endOffset":9003,"count":2},{"startOffset":6366,"endOffset":6409,"count":0},{"startOffset":6630,"endOffset":6656,"count":0},{"startOffset":6672,"endOffset":6682,"count":0},{"startOffset":6683,"endOffset":6712,"count":0},{"startOffset":6714,"endOffset":6740,"count":0},{"startOffset":7031,"endOffset":7067,"count":0},{"startOffset":7121,"endOffset":7150,"count":0},{"startOffset":7257,"endOffset":7283,"count":0},{"startOffset":7406,"endOffset":7434,"count":0},{"startOffset":7754,"endOffset":7913,"count":0}],"isBlockCoverage":true},{"functionName":"resetBuffer","ranges":[{"startOffset":9005,"endOffset":9127,"count":2}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":9165,"endOffset":9254,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9350,"endOffset":9415,"count":0}],"isBlockCoverage":false},{"functionName":"Writable","ranges":[{"startOffset":9422,"endOffset":10950,"count":2},{"startOffset":10123,"endOffset":10152,"count":0},{"startOffset":10291,"endOffset":10319,"count":0},{"startOffset":10373,"endOffset":10403,"count":0},{"startOffset":10458,"endOffset":10490,"count":0},{"startOffset":10543,"endOffset":10571,"count":0},{"startOffset":10628,"endOffset":10664,"count":0},{"startOffset":10696,"endOffset":10733,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10800,"endOffset":10946,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":11032,"endOffset":11236,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.pipe","ranges":[{"startOffset":11337,"endOffset":11405,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":11408,"endOffset":12809,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.write","ranges":[{"startOffset":12838,"endOffset":12924,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.cork","ranges":[{"startOffset":12953,"endOffset":12999,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.uncork","ranges":[{"startOffset":13030,"endOffset":13201,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultEncoding","ranges":[{"startOffset":13244,"endOffset":13569,"count":0}],"isBlockCoverage":false},{"functionName":"writeOrBuffer","ranges":[{"startOffset":13759,"endOffset":14872,"count":0}],"isBlockCoverage":false},{"functionName":"doWrite","ranges":[{"startOffset":14874,"endOffset":15262,"count":0}],"isBlockCoverage":false},{"functionName":"onwriteError","ranges":[{"startOffset":15264,"endOffset":15649,"count":0}],"isBlockCoverage":false},{"functionName":"onwrite","ranges":[{"startOffset":15651,"endOffset":17310,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteTick","ranges":[{"startOffset":17312,"endOffset":17451,"count":0}],"isBlockCoverage":false},{"functionName":"afterWrite","ranges":[{"startOffset":17453,"endOffset":17869,"count":0}],"isBlockCoverage":false},{"functionName":"errorBuffer","ranges":[{"startOffset":17941,"endOffset":18532,"count":0}],"isBlockCoverage":false},{"functionName":"clearBuffer","ranges":[{"startOffset":18598,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._write","ranges":[{"startOffset":20262,"endOffset":20431,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.end","ranges":[{"startOffset":20495,"endOffset":21953,"count":0}],"isBlockCoverage":false},{"functionName":"needFinish","ranges":[{"startOffset":21956,"endOffset":22419,"count":0}],"isBlockCoverage":false},{"functionName":"callFinal","ranges":[{"startOffset":22421,"endOffset":23393,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":23395,"endOffset":23733,"count":0}],"isBlockCoverage":false},{"functionName":"finishMaybe","ranges":[{"startOffset":23735,"endOffset":24234,"count":0}],"isBlockCoverage":false},{"functionName":"finish","ranges":[{"startOffset":24236,"endOffset":24986,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25071,"endOffset":25172,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25220,"endOffset":25324,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":25330,"endOffset":25576,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25623,"endOffset":26027,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":26033,"endOffset":26167,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26222,"endOffset":26325,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26382,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26540,"endOffset":26622,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26674,"endOffset":26775,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26831,"endOffset":27046,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27106,"endOffset":27190,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27243,"endOffset":27323,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27376,"endOffset":27453,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27522,"endOffset":27606,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27688,"endOffset":27927,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.destroy","ranges":[{"startOffset":28005,"endOffset":28318,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._destroy","ranges":[{"startOffset":28406,"endOffset":28438,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.","ranges":[{"startOffset":28489,"endOffset":28527,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":28592,"endOffset":28756,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.fromWeb","ranges":[{"startOffset":28777,"endOffset":28911,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.toWeb","ranges":[{"startOffset":28931,"endOffset":29038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"143","url":"node:stream/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":917,"count":1}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":318,"endOffset":869,"count":0}],"isBlockCoverage":false}]},{"scriptId":"144","url":"node:internal/streams/transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7176,"count":1}],"isBlockCoverage":false},{"functionName":"Transform","ranges":[{"startOffset":3920,"endOffset":5747,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5749,"endOffset":6193,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":6195,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._transform","ranges":[{"startOffset":6348,"endOffset":6443,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._write","ranges":[{"startOffset":6475,"endOffset":7018,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._read","ranges":[{"startOffset":7049,"endOffset":7174,"count":0}],"isBlockCoverage":false}]},{"scriptId":"145","url":"node:internal/streams/passthrough","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1762,"count":1}],"isBlockCoverage":false},{"functionName":"PassThrough","ranges":[{"startOffset":1529,"endOffset":1671,"count":0}],"isBlockCoverage":false},{"functionName":"PassThrough._transform","ranges":[{"startOffset":1708,"endOffset":1760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"146","url":"node:internal/bootstrap/switches/does_not_own_process_state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1278,"count":1}],"isBlockCoverage":false},{"functionName":"wrappedUmask","ranges":[{"startOffset":1047,"endOffset":1277,"count":0}],"isBlockCoverage":false}]},{"scriptId":"147","url":"node:internal/process/worker_thread_only","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":426,"count":1}],"isBlockCoverage":false},{"functionName":"unavailable","ranges":[{"startOffset":194,"endOffset":387,"count":8}],"isBlockCoverage":true},{"functionName":"unavailableInWorker","ranges":[{"startOffset":225,"endOffset":315,"count":0}],"isBlockCoverage":false}]},{"scriptId":"148","url":"node:internal/main/worker_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7311,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1096,"endOffset":1121,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2200,"endOffset":5806,"count":3},{"startOffset":2251,"endOffset":5390,"count":1},{"startOffset":2537,"endOffset":2599,"count":0},{"startOffset":3460,"endOffset":3541,"count":0},{"startOffset":3597,"endOffset":3671,"count":0},{"startOffset":3737,"endOffset":3762,"count":0},{"startOffset":3961,"endOffset":4206,"count":0},{"startOffset":4214,"endOffset":4743,"count":0},{"startOffset":4751,"endOffset":4995,"count":0},{"startOffset":5390,"endOffset":5804,"count":2},{"startOffset":5432,"endOffset":5591,"count":0}],"isBlockCoverage":true},{"functionName":"process.cwd","ranges":[{"startOffset":3133,"endOffset":3384,"count":3},{"startOffset":3260,"endOffset":3277,"count":2},{"startOffset":3277,"endOffset":3383,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4900,"endOffset":4970,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5508,"endOffset":5585,"count":0}],"isBlockCoverage":false},{"functionName":"workerOnGlobalUncaughtException","ranges":[{"startOffset":5810,"endOffset":7002,"count":0}],"isBlockCoverage":false}]},{"scriptId":"149","url":"node:internal/process/pre_execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":22973,"count":1}],"isBlockCoverage":false},{"functionName":"prepareMainThreadExecution","ranges":[{"startOffset":1091,"endOffset":1268,"count":0}],"isBlockCoverage":false},{"functionName":"prepareWorkerThreadExecution","ranges":[{"startOffset":1270,"endOffset":1469,"count":1}],"isBlockCoverage":true},{"functionName":"prepareExecution","ranges":[{"startOffset":1471,"endOffset":3628,"count":1},{"startOffset":2237,"endOffset":3408,"count":0},{"startOffset":3597,"endOffset":3626,"count":0}],"isBlockCoverage":true},{"functionName":"setupSymbolDisposePolyfill","ranges":[{"startOffset":3630,"endOffset":4365,"count":1}],"isBlockCoverage":true},{"functionName":"setupUserModules","ranges":[{"startOffset":4367,"endOffset":4795,"count":1},{"startOffset":4676,"endOffset":4693,"count":0}],"isBlockCoverage":true},{"functionName":"refreshRuntimeOptions","ranges":[{"startOffset":4797,"endOffset":4853,"count":1}],"isBlockCoverage":true},{"functionName":"patchProcessObject","ranges":[{"startOffset":4855,"endOffset":6952,"count":1},{"startOffset":5388,"endOffset":5406,"count":0},{"startOffset":5407,"endOffset":5464,"count":0},{"startOffset":5466,"endOffset":5677,"count":0}],"isBlockCoverage":true},{"functionName":"addReadOnlyProcessAlias","ranges":[{"startOffset":6954,"endOffset":7235,"count":13},{"startOffset":7075,"endOffset":7233,"count":1}],"isBlockCoverage":true},{"functionName":"setupWarningHandler","ranges":[{"startOffset":7237,"endOffset":7757,"count":1},{"startOffset":7612,"endOffset":7751,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7641,"endOffset":7743,"count":0}],"isBlockCoverage":false},{"functionName":"setupFetch","ranges":[{"startOffset":7793,"endOffset":8933,"count":1},{"startOffset":7913,"endOffset":7930,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUndici","ranges":[{"startOffset":7948,"endOffset":8093,"count":0}],"isBlockCoverage":false},{"functionName":"fetch","ranges":[{"startOffset":8097,"endOffset":8192,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInterface","ranges":[{"startOffset":8244,"endOffset":8485,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8345,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8403,"endOffset":8473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8818,"endOffset":8929,"count":0}],"isBlockCoverage":false},{"functionName":"setupWebCrypto","ranges":[{"startOffset":9037,"endOffset":9989,"count":1},{"startOffset":9172,"endOffset":9189,"count":0},{"startOffset":9678,"endOffset":9987,"count":0}],"isBlockCoverage":true},{"functionName":"cryptoThisCheck","ranges":[{"startOffset":9363,"endOffset":9539,"count":0}],"isBlockCoverage":false},{"functionName":"get crypto","ranges":[{"startOffset":9840,"endOffset":9939,"count":0}],"isBlockCoverage":false},{"functionName":"setupCodeCoverage","ranges":[{"startOffset":9991,"endOffset":10512,"count":1}],"isBlockCoverage":true},{"functionName":"setupCustomEvent","ranges":[{"startOffset":10618,"endOffset":10895,"count":1},{"startOffset":10757,"endOffset":10774,"count":0}],"isBlockCoverage":true},{"functionName":"setupStacktracePrinterOnSigint","ranges":[{"startOffset":10897,"endOffset":11122,"count":0}],"isBlockCoverage":false},{"functionName":"initializeReport","ranges":[{"startOffset":11124,"endOffset":11373,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":11269,"endOffset":11364,"count":6}],"isBlockCoverage":true},{"functionName":"setupDebugEnv","ranges":[{"startOffset":11375,"endOffset":11606,"count":1},{"startOffset":11526,"endOffset":11604,"count":0}],"isBlockCoverage":true},{"functionName":"initializeReportSignalHandlers","ranges":[{"startOffset":11668,"endOffset":11856,"count":0}],"isBlockCoverage":false},{"functionName":"initializeHeapSnapshotSignalHandlers","ranges":[{"startOffset":11858,"endOffset":12592,"count":0}],"isBlockCoverage":false},{"functionName":"setupTraceCategoryState","ranges":[{"startOffset":12594,"endOffset":12853,"count":1}],"isBlockCoverage":true},{"functionName":"setupInspectorHooks","ranges":[{"startOffset":12855,"endOffset":13437,"count":1}],"isBlockCoverage":true},{"functionName":"initializeDeprecations","ranges":[{"startOffset":13632,"endOffset":15584,"count":1},{"startOffset":14344,"endOffset":14646,"count":16},{"startOffset":14389,"endOffset":14621,"count":0},{"startOffset":14963,"endOffset":15160,"count":0},{"startOffset":15188,"endOffset":15582,"count":0}],"isBlockCoverage":true},{"functionName":"setupChildProcessIpcChannel","ranges":[{"startOffset":15586,"endOffset":16151,"count":0}],"isBlockCoverage":false},{"functionName":"initializeClusterIPC","ranges":[{"startOffset":16153,"endOffset":16423,"count":0}],"isBlockCoverage":false},{"functionName":"initializePermission","ranges":[{"startOffset":16425,"endOffset":18308,"count":1},{"startOffset":16567,"endOffset":17928,"count":0}],"isBlockCoverage":true},{"functionName":"binding","ranges":[{"startOffset":16591,"endOffset":16678,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18140,"endOffset":18300,"count":4},{"startOffset":18218,"endOffset":18294,"count":0}],"isBlockCoverage":true},{"functionName":"readPolicyFromDisk","ranges":[{"startOffset":18310,"endOffset":20129,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCJSLoader","ranges":[{"startOffset":20131,"endOffset":20252,"count":1}],"isBlockCoverage":true},{"functionName":"initializeESMLoader","ranges":[{"startOffset":20254,"endOffset":20829,"count":1},{"startOffset":20582,"endOffset":20827,"count":0}],"isBlockCoverage":true},{"functionName":"initializeSourceMapsHandlers","ranges":[{"startOffset":20831,"endOffset":21029,"count":1}],"isBlockCoverage":true},{"functionName":"initializeFrozenIntrinsics","ranges":[{"startOffset":21031,"endOffset":21288,"count":1},{"startOffset":21116,"endOffset":21286,"count":0}],"isBlockCoverage":true},{"functionName":"loadPreloadModules","ranges":[{"startOffset":21290,"endOffset":21638,"count":1},{"startOffset":21484,"endOffset":21636,"count":0}],"isBlockCoverage":true},{"functionName":"markBootstrapComplete","ranges":[{"startOffset":21640,"endOffset":21734,"count":1}],"isBlockCoverage":true},{"functionName":"getHeapSnapshotFilename","ranges":[{"startOffset":21889,"endOffset":22790,"count":0}],"isBlockCoverage":false}]},{"scriptId":"150","url":"node:internal/v8/startup_snapshot","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3382,"count":1}],"isBlockCoverage":false},{"functionName":"isBuildingSnapshot","ranges":[{"startOffset":433,"endOffset":504,"count":4}],"isBlockCoverage":true},{"functionName":"throwIfNotBuildingSnapshot","ranges":[{"startOffset":506,"endOffset":625,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfBuildingSnapshot","ranges":[{"startOffset":627,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"runDeserializeCallbacks","ranges":[{"startOffset":831,"endOffset":1004,"count":0}],"isBlockCoverage":false},{"functionName":"addDeserializeCallback","ranges":[{"startOffset":1006,"endOffset":1541,"count":0}],"isBlockCoverage":false},{"functionName":"runSerializeCallbacks","ranges":[{"startOffset":1574,"endOffset":1741,"count":0}],"isBlockCoverage":false},{"functionName":"addSerializeCallback","ranges":[{"startOffset":1743,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCallbacks","ranges":[{"startOffset":1913,"endOffset":2122,"count":0}],"isBlockCoverage":false},{"functionName":"setDeserializeMainFunction","ranges":[{"startOffset":2158,"endOffset":3105,"count":0}],"isBlockCoverage":false}]},{"scriptId":"151","url":"node:internal/inspector_async_hook","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1973,"count":1}],"isBlockCoverage":false},{"functionName":"lazyHookCreation","ranges":[{"startOffset":75,"endOffset":1257,"count":0}],"isBlockCoverage":false},{"functionName":"enable","ranges":[{"startOffset":1259,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":1842,"endOffset":1928,"count":0}],"isBlockCoverage":false}]},{"scriptId":"152","url":"node:internal/source_map/prepare_stack_trace","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7404,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":334,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"prepareStackTrace","ranges":[{"startOffset":895,"endOffset":3880,"count":0}],"isBlockCoverage":false},{"functionName":"getOriginalSymbolName","ranges":[{"startOffset":4031,"endOffset":4774,"count":0}],"isBlockCoverage":false},{"functionName":"getErrorSource","ranges":[{"startOffset":4942,"endOffset":6024,"count":0}],"isBlockCoverage":false},{"functionName":"getOriginalSource","ranges":[{"startOffset":6026,"endOffset":6923,"count":0}],"isBlockCoverage":false},{"functionName":"getSourceMapErrorSource","ranges":[{"startOffset":6925,"endOffset":7305,"count":0}],"isBlockCoverage":false}]},{"scriptId":"153","url":"node:fs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":85023,"count":1}],"isBlockCoverage":false},{"functionName":"showTruncateDeprecation","ranges":[{"startOffset":4028,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"maybeCallback","ranges":[{"startOffset":4317,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"makeCallback","ranges":[{"startOffset":4594,"endOffset":4706,"count":0}],"isBlockCoverage":false},{"functionName":"makeStatsCallback","ranges":[{"startOffset":4887,"endOffset":5054,"count":0}],"isBlockCoverage":false},{"functionName":"isFileType","ranges":[{"startOffset":5079,"endOffset":5339,"count":6489},{"startOffset":5278,"endOffset":5298,"count":632}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":5555,"endOffset":5913,"count":0}],"isBlockCoverage":false},{"functionName":"accessSync","ranges":[{"startOffset":6101,"endOffset":6165,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6327,"endOffset":6565,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6652,"endOffset":6784,"count":0}],"isBlockCoverage":false},{"functionName":"existsSync","ranges":[{"startOffset":7332,"endOffset":7391,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterOpen","ranges":[{"startOffset":7393,"endOffset":7673,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterStat","ranges":[{"startOffset":7675,"endOffset":8553,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":8555,"endOffset":8728,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":9061,"endOffset":10013,"count":0}],"isBlockCoverage":false},{"functionName":"tryStatSync","ranges":[{"startOffset":10015,"endOffset":10245,"count":1},{"startOffset":10158,"endOffset":10170,"count":0},{"startOffset":10172,"endOffset":10227,"count":0}],"isBlockCoverage":true},{"functionName":"tryCreateBuffer","ranges":[{"startOffset":10247,"endOffset":10558,"count":1},{"startOffset":10365,"endOffset":10417,"count":0},{"startOffset":10504,"endOffset":10516,"count":0},{"startOffset":10518,"endOffset":10535,"count":0}],"isBlockCoverage":true},{"functionName":"tryReadSync","ranges":[{"startOffset":10560,"endOffset":10815,"count":1},{"startOffset":10758,"endOffset":10770,"count":0},{"startOffset":10772,"endOffset":10789,"count":0}],"isBlockCoverage":true},{"functionName":"readFileSync","ranges":[{"startOffset":11039,"endOffset":12564,"count":377},{"startOffset":11161,"endOffset":11192,"count":2},{"startOffset":11194,"endOffset":11251,"count":375},{"startOffset":11251,"endOffset":11335,"count":2},{"startOffset":11335,"endOffset":11341,"count":0},{"startOffset":11342,"endOffset":11382,"count":2},{"startOffset":11470,"endOffset":11480,"count":1},{"startOffset":11481,"endOffset":11484,"count":0},{"startOffset":11614,"endOffset":11637,"count":0},{"startOffset":11637,"endOffset":11889,"count":1},{"startOffset":11889,"endOffset":12258,"count":0},{"startOffset":12258,"endOffset":12318,"count":1},{"startOffset":12318,"endOffset":12414,"count":0},{"startOffset":12414,"endOffset":12476,"count":1},{"startOffset":12436,"endOffset":12476,"count":0},{"startOffset":12476,"endOffset":12502,"count":1},{"startOffset":12502,"endOffset":12545,"count":0},{"startOffset":12545,"endOffset":12563,"count":1}],"isBlockCoverage":true},{"functionName":"defaultCloseCallback","ranges":[{"startOffset":12566,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12760,"endOffset":13013,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":13109,"endOffset":13162,"count":1}],"isBlockCoverage":true},{"functionName":"open","ranges":[{"startOffset":13405,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"openSync","ranges":[{"startOffset":14154,"endOffset":14235,"count":2}],"isBlockCoverage":true},{"functionName":"openAsBlob","ranges":[{"startOffset":14364,"endOffset":14846,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":15210,"endOffset":17170,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":17624,"endOffset":18761,"count":1},{"startOffset":17846,"endOffset":18102,"count":0},{"startOffset":18132,"endOffset":18153,"count":0},{"startOffset":18244,"endOffset":18263,"count":0},{"startOffset":18296,"endOffset":18426,"count":0}],"isBlockCoverage":true},{"functionName":"readv","ranges":[{"startOffset":19106,"endOffset":19523,"count":0}],"isBlockCoverage":false},{"functionName":"readvSync","ranges":[{"startOffset":19925,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20641,"endOffset":22188,"count":0}],"isBlockCoverage":false},{"functionName":"writeSync","ranges":[{"startOffset":22645,"endOffset":23778,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":24105,"endOffset":24627,"count":0}],"isBlockCoverage":false},{"functionName":"writevSync","ranges":[{"startOffset":24995,"endOffset":25354,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":25595,"endOffset":25976,"count":0}],"isBlockCoverage":false},{"functionName":"renameSync","ranges":[{"startOffset":26175,"endOffset":26522,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":26680,"endOffset":27341,"count":0}],"isBlockCoverage":false},{"functionName":"truncateSync","ranges":[{"startOffset":27471,"endOffset":27874,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":28026,"endOffset":28363,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncateSync","ranges":[{"startOffset":28487,"endOffset":28704,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadCp","ranges":[{"startOffset":28706,"endOffset":28912,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadRimraf","ranges":[{"startOffset":28914,"endOffset":29033,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":29291,"endOffset":30153,"count":0}],"isBlockCoverage":false},{"functionName":"rmdirSync","ranges":[{"startOffset":30368,"endOffset":30888,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":31226,"endOffset":31604,"count":0}],"isBlockCoverage":false},{"functionName":"rmSync","ranges":[{"startOffset":31899,"endOffset":32109,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":32340,"endOffset":32511,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasyncSync","ranges":[{"startOffset":32714,"endOffset":32861,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":33048,"endOffset":33211,"count":0}],"isBlockCoverage":false},{"functionName":"fsyncSync","ranges":[{"startOffset":33370,"endOffset":33509,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":33753,"endOffset":34468,"count":0}],"isBlockCoverage":false},{"functionName":"mkdirSync","ranges":[{"startOffset":34678,"endOffset":35384,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSyncRecursive","ranges":[{"startOffset":35717,"endOffset":37463,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":37763,"endOffset":38541,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSync","ranges":[{"startOffset":38805,"endOffset":39408,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":39649,"endOffset":39995,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":40261,"endOffset":40646,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":40876,"endOffset":41259,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":41261,"endOffset":41754,"count":0}],"isBlockCoverage":false},{"functionName":"hasNoEntryError","ranges":[{"startOffset":41756,"endOffset":41971,"count":0}],"isBlockCoverage":false},{"functionName":"fstatSync","ranges":[{"startOffset":42147,"endOffset":42386,"count":0}],"isBlockCoverage":false},{"functionName":"lstatSync","ranges":[{"startOffset":42634,"endOffset":43058,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":43273,"endOffset":43346,"count":0}],"isBlockCoverage":false},{"functionName":"statfsSync","ranges":[{"startOffset":43348,"endOffset":43425,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":43703,"endOffset":44047,"count":0}],"isBlockCoverage":false},{"functionName":"readlinkSync","ranges":[{"startOffset":44261,"endOffset":44588,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":44830,"endOffset":46483,"count":0}],"isBlockCoverage":false},{"functionName":"symlinkSync","ranges":[{"startOffset":46698,"endOffset":47359,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":47586,"endOffset":47987,"count":0}],"isBlockCoverage":false},{"functionName":"linkSync","ranges":[{"startOffset":48186,"endOffset":48635,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":48796,"endOffset":49023,"count":0}],"isBlockCoverage":false},{"functionName":"unlinkSync","ranges":[{"startOffset":49141,"endOffset":49200,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":49363,"endOffset":49602,"count":0}],"isBlockCoverage":false},{"functionName":"fchmodSync","ranges":[{"startOffset":49737,"endOffset":49928,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":50109,"endOffset":50602,"count":0}],"isBlockCoverage":false},{"functionName":"lchmodSync","ranges":[{"startOffset":50755,"endOffset":51077,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":51273,"endOffset":51549,"count":0}],"isBlockCoverage":false},{"functionName":"chmodSync","ranges":[{"startOffset":51702,"endOffset":51937,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":52133,"endOffset":52474,"count":0}],"isBlockCoverage":false},{"functionName":"lchownSync","ranges":[{"startOffset":52642,"endOffset":52942,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":53112,"endOffset":53415,"count":0}],"isBlockCoverage":false},{"functionName":"fchownSync","ranges":[{"startOffset":53557,"endOffset":53813,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":54029,"endOffset":54369,"count":0}],"isBlockCoverage":false},{"functionName":"chownSync","ranges":[{"startOffset":54542,"endOffset":54840,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":55109,"endOffset":55450,"count":0}],"isBlockCoverage":false},{"functionName":"utimesSync","ranges":[{"startOffset":55691,"endOffset":55973,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":56254,"endOffset":56559,"count":0}],"isBlockCoverage":false},{"functionName":"futimesSync","ranges":[{"startOffset":56815,"endOffset":57072,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":57356,"endOffset":57702,"count":0}],"isBlockCoverage":false},{"functionName":"lutimesSync","ranges":[{"startOffset":57962,"endOffset":58266,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":58268,"endOffset":59231,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":59588,"endOffset":60454,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":60741,"endOffset":61443,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":61748,"endOffset":62188,"count":0}],"isBlockCoverage":false},{"functionName":"appendFileSync","ranges":[{"startOffset":62450,"endOffset":62829,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":63197,"endOffset":64950,"count":0}],"isBlockCoverage":false},{"functionName":"watchFile","ranges":[{"startOffset":65300,"endOffset":66324,"count":0}],"isBlockCoverage":false},{"functionName":"unwatchFile","ranges":[{"startOffset":66474,"endOffset":67213,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67429,"endOffset":67525,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67550,"endOffset":67760,"count":456},{"startOffset":67617,"endOffset":67740,"count":912},{"startOffset":67695,"endOffset":67734,"count":456},{"startOffset":67740,"endOffset":67759,"count":0}],"isBlockCoverage":true},{"functionName":"encodeRealpathResult","ranges":[{"startOffset":67765,"endOffset":68052,"count":456},{"startOffset":67850,"endOffset":67880,"count":0},{"startOffset":67900,"endOffset":68051,"count":0}],"isBlockCoverage":true},{"functionName":"nextPart","ranges":[{"startOffset":68175,"endOffset":68434,"count":0}],"isBlockCoverage":false},{"functionName":"nextPart","ranges":[{"startOffset":68458,"endOffset":68533,"count":3560}],"isBlockCoverage":true},{"functionName":"realpathSync","ranges":[{"startOffset":68707,"endOffset":72603,"count":551},{"startOffset":68831,"endOffset":68849,"count":0},{"startOffset":69010,"endOffset":69045,"count":95},{"startOffset":69045,"endOffset":69607,"count":456},{"startOffset":69607,"endOffset":69779,"count":0},{"startOffset":69779,"endOffset":69916,"count":456},{"startOffset":69916,"endOffset":72530,"count":3560},{"startOffset":70028,"endOffset":70159,"count":456},{"startOffset":70159,"endOffset":70317,"count":3104},{"startOffset":70434,"endOffset":70571,"count":2928},{"startOffset":70525,"endOffset":70549,"count":0},{"startOffset":70571,"endOffset":70637,"count":632},{"startOffset":70674,"endOffset":70723,"count":0},{"startOffset":70723,"endOffset":72027,"count":632},{"startOffset":71163,"endOffset":71947,"count":0},{"startOffset":71991,"endOffset":72021,"count":0},{"startOffset":72027,"endOffset":72342,"count":0},{"startOffset":72344,"endOffset":72526,"count":0},{"startOffset":72530,"endOffset":72544,"count":456}],"isBlockCoverage":true},{"functionName":"realpathSync.native","ranges":[{"startOffset":72792,"endOffset":73056,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":73363,"endOffset":76894,"count":0}],"isBlockCoverage":false},{"functionName":"realpath.native","ranges":[{"startOffset":77221,"endOffset":77516,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":77761,"endOffset":78271,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtempSync","ranges":[{"startOffset":78452,"endOffset":78944,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":79208,"endOffset":79669,"count":0}],"isBlockCoverage":false},{"functionName":"copyFileSync","ranges":[{"startOffset":79901,"endOffset":79979,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":80272,"endOffset":80677,"count":0}],"isBlockCoverage":false},{"functionName":"cpSync","ranges":[{"startOffset":80938,"endOffset":81202,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadStreams","ranges":[{"startOffset":81204,"endOffset":81395,"count":40},{"startOffset":81252,"endOffset":81393,"count":1}],"isBlockCoverage":true},{"functionName":"createReadStream","ranges":[{"startOffset":81824,"endOffset":81929,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":82264,"endOffset":82371,"count":0}],"isBlockCoverage":false},{"functionName":"get ReadStream","ranges":[{"startOffset":83615,"endOffset":83683,"count":10}],"isBlockCoverage":true},{"functionName":"set ReadStream","ranges":[{"startOffset":83688,"endOffset":83735,"count":0}],"isBlockCoverage":false},{"functionName":"get WriteStream","ranges":[{"startOffset":83740,"endOffset":83810,"count":10}],"isBlockCoverage":true},{"functionName":"set WriteStream","ranges":[{"startOffset":83815,"endOffset":83864,"count":0}],"isBlockCoverage":false},{"functionName":"get FileReadStream","ranges":[{"startOffset":84002,"endOffset":84078,"count":10}],"isBlockCoverage":true},{"functionName":"set FileReadStream","ranges":[{"startOffset":84083,"endOffset":84138,"count":0}],"isBlockCoverage":false},{"functionName":"get FileWriteStream","ranges":[{"startOffset":84143,"endOffset":84221,"count":10}],"isBlockCoverage":true},{"functionName":"set FileWriteStream","ranges":[{"startOffset":84226,"endOffset":84283,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":84916,"endOffset":85012,"count":10}],"isBlockCoverage":true}]},{"scriptId":"154","url":"node:internal/blob","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12628,"count":1}],"isBlockCoverage":false},{"functionName":"lazyReadableStream","ranges":[{"startOffset":1851,"endOffset":2063,"count":0}],"isBlockCoverage":false},{"functionName":"isBlob","ranges":[{"startOffset":2113,"endOffset":2182,"count":0}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":2184,"endOffset":2863,"count":0}],"isBlockCoverage":false},{"functionName":"Blob","ranges":[{"startOffset":3115,"endOffset":4227,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4231,"endOffset":4501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4505,"endOffset":4957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4961,"endOffset":5087,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":5138,"endOffset":5243,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":5294,"endOffset":5401,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":5529,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBuffer","ranges":[{"startOffset":6364,"endOffset":7373,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":7421,"endOffset":7586,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":7633,"endOffset":10704,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob","ranges":[{"startOffset":10708,"endOffset":10803,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob.","ranges":[{"startOffset":10841,"endOffset":10849,"count":0}],"isBlockCoverage":false},{"functionName":"createBlob","ranges":[{"startOffset":10852,"endOffset":11055,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObjectURL","ranges":[{"startOffset":11408,"endOffset":12019,"count":0}],"isBlockCoverage":false},{"functionName":"createBlobFromFilePath","ranges":[{"startOffset":12142,"endOffset":12501,"count":0}],"isBlockCoverage":false}]},{"scriptId":"155","url":"node:internal/encoding","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17340,"count":1}],"isBlockCoverage":false},{"functionName":"validateEncoder","ranges":[{"startOffset":1250,"endOffset":1375,"count":0}],"isBlockCoverage":false},{"functionName":"validateDecoder","ranges":[{"startOffset":1377,"endOffset":1502,"count":58},{"startOffset":1458,"endOffset":1500,"count":0}],"isBlockCoverage":true},{"functionName":"trimAsciiWhitespace","ranges":[{"startOffset":8799,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingFromLabel","ranges":[{"startOffset":9299,"endOffset":9478,"count":3},{"startOffset":9410,"endOffset":9477,"count":0}],"isBlockCoverage":true},{"functionName":"TextEncoder","ranges":[{"startOffset":9502,"endOffset":9548,"count":1}],"isBlockCoverage":true},{"functionName":"get encoding","ranges":[{"startOffset":9552,"endOffset":9619,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":9623,"endOffset":9715,"count":0}],"isBlockCoverage":false},{"functionName":"encodeInto","ranges":[{"startOffset":9719,"endOffset":10125,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10129,"endOffset":10526,"count":0}],"isBlockCoverage":false},{"functionName":"makeTextDecoderICU","ranges":[{"startOffset":10898,"endOffset":12864,"count":1}],"isBlockCoverage":true},{"functionName":"TextDecoder","ranges":[{"startOffset":11036,"endOffset":11973,"count":3},{"startOffset":11346,"endOffset":11393,"count":0},{"startOffset":11477,"endOffset":11500,"count":2},{"startOffset":11501,"endOffset":11504,"count":1},{"startOffset":11541,"endOffset":11569,"count":2},{"startOffset":11570,"endOffset":11573,"count":1},{"startOffset":11924,"endOffset":11967,"count":0}],"isBlockCoverage":true},{"functionName":"#prepareConverter","ranges":[{"startOffset":11979,"endOffset":12244,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":12250,"endOffset":12835,"count":58},{"startOffset":12485,"endOffset":12834,"count":0}],"isBlockCoverage":true},{"functionName":"makeTextDecoderJS","ranges":[{"startOffset":12866,"endOffset":15701,"count":0}],"isBlockCoverage":false},{"functionName":"get encoding","ranges":[{"startOffset":15798,"endOffset":15873,"count":0}],"isBlockCoverage":false},{"functionName":"get fatal","ranges":[{"startOffset":15878,"endOffset":15999,"count":0}],"isBlockCoverage":false},{"functionName":"get ignoreBOM","ranges":[{"startOffset":16004,"endOffset":16153,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectGetOwnPropertyDescriptors","ranges":[{"startOffset":16158,"endOffset":16741,"count":0}],"isBlockCoverage":false}]},{"scriptId":"156","url":"node:internal/webstreams/queuingstrategies","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3851,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":931,"endOffset":958,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1038,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"getNonWritablePropertyDescriptor","ranges":[{"startOffset":1114,"endOffset":1200,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1238,"endOffset":2284,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2544,"endOffset":3561,"count":0}],"isBlockCoverage":false}]},{"scriptId":"157","url":"node:internal/webstreams/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7549,"count":1}],"isBlockCoverage":false},{"functionName":"extractHighWaterMark","ranges":[{"startOffset":1074,"endOffset":1367,"count":0}],"isBlockCoverage":false},{"functionName":"extractSizeAlgorithm","ranges":[{"startOffset":1369,"endOffset":1508,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":1510,"endOffset":1742,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetBuffer","ranges":[{"startOffset":1926,"endOffset":2034,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteLength","ranges":[{"startOffset":2036,"endOffset":2152,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteOffset","ranges":[{"startOffset":2154,"endOffset":2270,"count":0}],"isBlockCoverage":false},{"functionName":"cloneAsUint8Array","ranges":[{"startOffset":2272,"endOffset":2577,"count":0}],"isBlockCoverage":false},{"functionName":"isBrandCheck","ranges":[{"startOffset":2579,"endOffset":2743,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2619,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"transferArrayBuffer","ranges":[{"startOffset":2745,"endOffset":2968,"count":0}],"isBlockCoverage":false},{"functionName":"isViewedArrayBufferDetached","ranges":[{"startOffset":2970,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"dequeueValue","ranges":[{"startOffset":3140,"endOffset":3525,"count":0}],"isBlockCoverage":false},{"functionName":"resetQueue","ranges":[{"startOffset":3527,"endOffset":3745,"count":0}],"isBlockCoverage":false},{"functionName":"peekQueueValue","ranges":[{"startOffset":3747,"endOffset":3982,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueValueWithSize","ranges":[{"startOffset":3984,"endOffset":4449,"count":0}],"isBlockCoverage":false},{"functionName":"ensureIsPromise","ranges":[{"startOffset":4451,"endOffset":4690,"count":0}],"isBlockCoverage":false},{"functionName":"isPromisePending","ranges":[{"startOffset":4692,"endOffset":4855,"count":0}],"isBlockCoverage":false},{"functionName":"setPromiseHandled","ranges":[{"startOffset":4857,"endOffset":5136,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpFlush","ranges":[{"startOffset":5138,"endOffset":5168,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpStart","ranges":[{"startOffset":5170,"endOffset":5194,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpPull","ranges":[{"startOffset":5196,"endOffset":5225,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpCancel","ranges":[{"startOffset":5227,"endOffset":5258,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpWrite","ranges":[{"startOffset":5260,"endOffset":5290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyTransfer","ranges":[{"startOffset":5306,"endOffset":5438,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncFromSyncIterator","ranges":[{"startOffset":5440,"endOffset":5779,"count":0}],"isBlockCoverage":false},{"functionName":"getIterator","ranges":[{"startOffset":5781,"endOffset":6509,"count":0}],"isBlockCoverage":false},{"functionName":"iteratorNext","ranges":[{"startOffset":6511,"endOffset":6973,"count":0}],"isBlockCoverage":false}]},{"scriptId":"158","url":"node:internal/fs/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":26847,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFs","ranges":[{"startOffset":3551,"endOffset":3630,"count":0}],"isBlockCoverage":false},{"functionName":"assertEncoding","ranges":[{"startOffset":3632,"endOffset":3832,"count":926},{"startOffset":3683,"endOffset":3714,"count":375},{"startOffset":3716,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"Dirent","ranges":[{"startOffset":3851,"endOffset":3954,"count":0}],"isBlockCoverage":false},{"functionName":"isDirectory","ranges":[{"startOffset":3958,"endOffset":4019,"count":0}],"isBlockCoverage":false},{"functionName":"isFile","ranges":[{"startOffset":4023,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"isBlockDevice","ranges":[{"startOffset":4084,"endOffset":4149,"count":0}],"isBlockCoverage":false},{"functionName":"isCharacterDevice","ranges":[{"startOffset":4153,"endOffset":4221,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbolicLink","ranges":[{"startOffset":4225,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"isFIFO","ranges":[{"startOffset":4294,"endOffset":4351,"count":0}],"isBlockCoverage":false},{"functionName":"isSocket","ranges":[{"startOffset":4355,"endOffset":4416,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats","ranges":[{"startOffset":4461,"endOffset":4552,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats.","ranges":[{"startOffset":4697,"endOffset":4746,"count":0}],"isBlockCoverage":false},{"functionName":"copyObject","ranges":[{"startOffset":4751,"endOffset":4879,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":4929,"endOffset":5536,"count":0}],"isBlockCoverage":false},{"functionName":"getDirents","ranges":[{"startOffset":5538,"endOffset":6653,"count":0}],"isBlockCoverage":false},{"functionName":"getDirent","ranges":[{"startOffset":6655,"endOffset":7436,"count":0}],"isBlockCoverage":false},{"functionName":"getOptions","ranges":[{"startOffset":7438,"endOffset":8064,"count":986},{"startOffset":7522,"endOffset":7554,"count":926},{"startOffset":7556,"endOffset":7588,"count":60},{"startOffset":7588,"endOffset":7625,"count":926},{"startOffset":7625,"endOffset":7743,"count":375},{"startOffset":7743,"endOffset":7865,"count":551},{"startOffset":7782,"endOffset":7865,"count":0},{"startOffset":7865,"endOffset":7979,"count":926},{"startOffset":7979,"endOffset":8043,"count":0},{"startOffset":8043,"endOffset":8063,"count":926}],"isBlockCoverage":true},{"functionName":"handleErrorFromBinding","ranges":[{"startOffset":8122,"endOffset":8651,"count":633},{"startOffset":8192,"endOffset":8327,"count":0},{"startOffset":8359,"endOffset":8649,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8792,"endOffset":9388,"count":986},{"startOffset":9022,"endOffset":9042,"count":0},{"startOffset":9112,"endOffset":9180,"count":0},{"startOffset":9199,"endOffset":9387,"count":0}],"isBlockCoverage":true},{"functionName":"preprocessSymlinkDestination","ranges":[{"startOffset":9392,"endOffset":10098,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase","ranges":[{"startOffset":10131,"endOffset":10438,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isDirectory","ranges":[{"startOffset":10474,"endOffset":10531,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFile","ranges":[{"startOffset":10563,"endOffset":10620,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isBlockDevice","ranges":[{"startOffset":10659,"endOffset":10716,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isCharacterDevice","ranges":[{"startOffset":10759,"endOffset":10816,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSymbolicLink","ranges":[{"startOffset":10856,"endOffset":10913,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFIFO","ranges":[{"startOffset":10945,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSocket","ranges":[{"startOffset":11036,"endOffset":11094,"count":0}],"isBlockCoverage":false},{"functionName":"msFromTimeSpec","ranges":[{"startOffset":11219,"endOffset":11301,"count":0}],"isBlockCoverage":false},{"functionName":"nsFromTimeSpecBigInt","ranges":[{"startOffset":11303,"endOffset":11386,"count":0}],"isBlockCoverage":false},{"functionName":"dateFromMs","ranges":[{"startOffset":11788,"endOffset":11899,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats","ranges":[{"startOffset":11901,"endOffset":12664,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats._checkModeProperty","ranges":[{"startOffset":12822,"endOffset":13068,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":13071,"endOffset":13613,"count":0}],"isBlockCoverage":false},{"functionName":"Stats._checkModeProperty","ranges":[{"startOffset":13954,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"getStatsFromBinding","ranges":[{"startOffset":14302,"endOffset":15381,"count":0}],"isBlockCoverage":false},{"functionName":"StatFs","ranges":[{"startOffset":15400,"endOffset":15637,"count":0}],"isBlockCoverage":false},{"functionName":"getStatFsFromBinding","ranges":[{"startOffset":15641,"endOffset":15781,"count":0}],"isBlockCoverage":false},{"functionName":"stringToFlags","ranges":[{"startOffset":15783,"endOffset":17039,"count":435},{"startOffset":15864,"endOffset":15919,"count":0},{"startOffset":15942,"endOffset":15968,"count":0},{"startOffset":16025,"endOffset":16036,"count":0},{"startOffset":16058,"endOffset":16095,"count":0},{"startOffset":16100,"endOffset":16126,"count":0},{"startOffset":16131,"endOffset":16143,"count":0},{"startOffset":16165,"endOffset":16201,"count":0},{"startOffset":16207,"endOffset":16254,"count":0},{"startOffset":16259,"endOffset":16270,"count":0},{"startOffset":16292,"endOffset":16349,"count":0},{"startOffset":16355,"endOffset":16401,"count":0},{"startOffset":16406,"endOffset":16417,"count":0},{"startOffset":16439,"endOffset":16494,"count":0},{"startOffset":16500,"endOffset":16548,"count":0},{"startOffset":16553,"endOffset":16564,"count":0},{"startOffset":16586,"endOffset":16644,"count":0},{"startOffset":16649,"endOffset":16660,"count":0},{"startOffset":16682,"endOffset":16740,"count":0},{"startOffset":16746,"endOffset":16793,"count":0},{"startOffset":16798,"endOffset":16809,"count":0},{"startOffset":16831,"endOffset":16887,"count":0},{"startOffset":16892,"endOffset":16903,"count":0},{"startOffset":16925,"endOffset":16981,"count":0},{"startOffset":16985,"endOffset":17038,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":17085,"endOffset":17445,"count":0}],"isBlockCoverage":false},{"functionName":"toUnixTimestamp","ranges":[{"startOffset":17507,"endOffset":17962,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18016,"endOffset":18395,"count":1},{"startOffset":18072,"endOffset":18139,"count":0},{"startOffset":18160,"endOffset":18227,"count":0},{"startOffset":18268,"endOffset":18391,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18454,"endOffset":18858,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18901,"endOffset":19171,"count":986},{"startOffset":18963,"endOffset":18985,"count":0},{"startOffset":18987,"endOffset":19073,"count":0},{"startOffset":19149,"endOffset":19169,"count":0}],"isBlockCoverage":true},{"functionName":"possiblyTransformPath","ranges":[{"startOffset":19542,"endOffset":19853,"count":435},{"startOffset":19611,"endOffset":19836,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":19896,"endOffset":20054,"count":435}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20097,"endOffset":20218,"count":2},{"startOffset":20148,"endOffset":20167,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20266,"endOffset":20597,"count":0}],"isBlockCoverage":false},{"functionName":"warnOnNonPortableTemplate","ranges":[{"startOffset":20638,"endOffset":21238,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21663,"endOffset":22550,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22596,"endOffset":23275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23325,"endOffset":23942,"count":0}],"isBlockCoverage":false},{"functionName":"emitRecursiveRmdirWarning","ranges":[{"startOffset":23996,"endOffset":24330,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24380,"endOffset":24777,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24818,"endOffset":25186,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25249,"endOffset":25433,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25478,"endOffset":25948,"count":1},{"startOffset":25578,"endOffset":25946,"count":0}],"isBlockCoverage":true}]},{"scriptId":"159","url":"node:internal/fs/sync","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2257,"count":1}],"isBlockCoverage":false},{"functionName":"readFileUtf8","ranges":[{"startOffset":395,"endOffset":582,"count":375}],"isBlockCoverage":true},{"functionName":"exists","ranges":[{"startOffset":584,"endOffset":751,"count":0}],"isBlockCoverage":false},{"functionName":"access","ranges":[{"startOffset":753,"endOffset":920,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":922,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":1184,"endOffset":1509,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":1511,"endOffset":1723,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":1725,"endOffset":1932,"count":2}],"isBlockCoverage":true},{"functionName":"close","ranges":[{"startOffset":1934,"endOffset":2016,"count":1}],"isBlockCoverage":true},{"functionName":"unlink","ranges":[{"startOffset":2018,"endOffset":2140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"160","url":"node:internal/dns/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9584,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBinding","ranges":[{"startOffset":506,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":957,"endOffset":1104,"count":0}],"isBlockCoverage":false},{"functionName":"validateTries","ranges":[{"startOffset":1106,"endOffset":1241,"count":0}],"isBlockCoverage":false},{"functionName":"ResolverBase","ranges":[{"startOffset":1635,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1988,"endOffset":2124,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":2128,"endOffset":2169,"count":0}],"isBlockCoverage":false},{"functionName":"getServers","ranges":[{"startOffset":2173,"endOffset":2441,"count":0}],"isBlockCoverage":false},{"functionName":"setServers","ranges":[{"startOffset":2445,"endOffset":3846,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3850,"endOffset":4405,"count":0}],"isBlockCoverage":false},{"functionName":"setLocalAddress","ranges":[{"startOffset":4410,"endOffset":4695,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4815,"endOffset":5035,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5039,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"initializeDns","ranges":[{"startOffset":5427,"endOffset":5813,"count":1},{"startOffset":5570,"endOffset":5680,"count":0},{"startOffset":5728,"endOffset":5812,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5753,"endOffset":5809,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResolver","ranges":[{"startOffset":6074,"endOffset":6355,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResolver","ranges":[{"startOffset":6357,"endOffset":6428,"count":0}],"isBlockCoverage":false},{"functionName":"bindDefaultResolver","ranges":[{"startOffset":6430,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"validateHints","ranges":[{"startOffset":6654,"endOffset":6873,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidHostnameWarning","ranges":[{"startOffset":6918,"endOffset":7272,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultVerbatim","ranges":[{"startOffset":7274,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResultOrder","ranges":[{"startOffset":7344,"endOffset":7468,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResultOrder","ranges":[{"startOffset":7470,"endOffset":7525,"count":0}],"isBlockCoverage":false},{"functionName":"createResolverClass","ranges":[{"startOffset":7527,"endOffset":8635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"161","url":"node:internal/net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2248,"count":1}],"isBlockCoverage":false},{"functionName":"isIPv4","ranges":[{"startOffset":1023,"endOffset":1296,"count":0}],"isBlockCoverage":false},{"functionName":"isIPv6","ranges":[{"startOffset":1298,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"isIP","ranges":[{"startOffset":1573,"endOffset":1659,"count":0}],"isBlockCoverage":false},{"functionName":"makeSyncWrite","ranges":[{"startOffset":1661,"endOffset":2075,"count":0}],"isBlockCoverage":false}]},{"scriptId":"162","url":"node:worker_threads","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":687,"count":1}],"isBlockCoverage":false}]},{"scriptId":"163","url":"node:internal/worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16395,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2471,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"process.chdir","ranges":[{"startOffset":2984,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"setEnvironmentData","ranges":[{"startOffset":3069,"endOffset":3216,"count":0}],"isBlockCoverage":false},{"functionName":"getEnvironmentData","ranges":[{"startOffset":3218,"endOffset":3289,"count":0}],"isBlockCoverage":false},{"functionName":"assignEnvironmentData","ranges":[{"startOffset":3291,"endOffset":3441,"count":1},{"startOffset":3356,"endOffset":3363,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3379,"endOffset":3437,"count":0}],"isBlockCoverage":false},{"functionName":"Worker","ranges":[{"startOffset":3481,"endOffset":9221,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9225,"endOffset":9857,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9861,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9961,"endOffset":10130,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10134,"endOffset":11027,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11031,"endOffset":11499,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":11503,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"terminate","ranges":[{"startOffset":11652,"endOffset":12486,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":12490,"endOffset":12596,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":12600,"endOffset":12712,"count":0}],"isBlockCoverage":false},{"functionName":"get threadId","ranges":[{"startOffset":12716,"endOffset":12815,"count":0}],"isBlockCoverage":false},{"functionName":"get stdin","ranges":[{"startOffset":12819,"endOffset":12877,"count":0}],"isBlockCoverage":false},{"functionName":"get stdout","ranges":[{"startOffset":12881,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"get stderr","ranges":[{"startOffset":12945,"endOffset":13005,"count":0}],"isBlockCoverage":false},{"functionName":"get resourceLimits","ranges":[{"startOffset":13009,"endOffset":13145,"count":0}],"isBlockCoverage":false},{"functionName":"getHeapSnapshot","ranges":[{"startOffset":13149,"endOffset":13656,"count":0}],"isBlockCoverage":false},{"functionName":"InternalWorker","ranges":[{"startOffset":13849,"endOffset":13928,"count":0}],"isBlockCoverage":false},{"functionName":"receiveMessageSync","ranges":[{"startOffset":13932,"endOffset":14010,"count":0}],"isBlockCoverage":false},{"functionName":"pipeWithoutWarning","ranges":[{"startOffset":14014,"endOffset":14336,"count":0}],"isBlockCoverage":false},{"functionName":"parseResourceLimits","ranges":[{"startOffset":14410,"endOffset":15024,"count":0}],"isBlockCoverage":false},{"functionName":"makeResourceLimits","ranges":[{"startOffset":15026,"endOffset":15313,"count":1}],"isBlockCoverage":true},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":15315,"endOffset":16118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"164","url":"node:internal/perf/event_loop_utilization","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":false},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":153,"endOffset":446,"count":0}],"isBlockCoverage":false},{"functionName":"internalEventLoopUtilization","ranges":[{"startOffset":448,"endOffset":1447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"165","url":"node:internal/error_serdes","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5723,"count":1}],"isBlockCoverage":false},{"functionName":"TryGetAllProperties","ranges":[{"startOffset":1039,"endOffset":2143,"count":0}],"isBlockCoverage":false},{"functionName":"GetConstructors","ranges":[{"startOffset":2145,"endOffset":2588,"count":0}],"isBlockCoverage":false},{"functionName":"GetName","ranges":[{"startOffset":2590,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":2737,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":2924,"endOffset":4219,"count":0}],"isBlockCoverage":false},{"functionName":"fromBuffer","ranges":[{"startOffset":4221,"endOffset":4442,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeError","ranges":[{"startOffset":4461,"endOffset":5666,"count":0}],"isBlockCoverage":false}]},{"scriptId":"166","url":"node:diagnostics_channel","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9791,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":734,"endOffset":1143,"count":1}],"isBlockCoverage":false},{"functionName":"#finalizers","ranges":[{"startOffset":814,"endOffset":850,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":856,"endOffset":973,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":977,"endOffset":1025,"count":5},{"startOffset":1013,"endOffset":1018,"count":0}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":1029,"endOffset":1083,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":1087,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"markActive","ranges":[{"startOffset":1145,"endOffset":1350,"count":0}],"isBlockCoverage":false},{"functionName":"maybeMarkInactive","ranges":[{"startOffset":1352,"endOffset":1720,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTransform","ranges":[{"startOffset":1722,"endOffset":1772,"count":0}],"isBlockCoverage":false},{"functionName":"wrapStoreRun","ranges":[{"startOffset":1774,"endOffset":2102,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":2184,"endOffset":2354,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":2358,"endOffset":2635,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":2639,"endOffset":2807,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":2811,"endOffset":3010,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":3014,"endOffset":3057,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":3061,"endOffset":3370,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":3374,"endOffset":3713,"count":0}],"isBlockCoverage":false},{"functionName":"Channel","ranges":[{"startOffset":3735,"endOffset":3876,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3887,"endOffset":4072,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":4076,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4165,"endOffset":4202,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":4206,"endOffset":4299,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":4303,"endOffset":4340,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":4344,"endOffset":4388,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":4392,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":4408,"endOffset":4495,"count":0}],"isBlockCoverage":false},{"functionName":"channel","ranges":[{"startOffset":4535,"endOffset":4801,"count":5},{"startOffset":4613,"endOffset":4628,"count":0},{"startOffset":4661,"endOffset":4688,"count":0},{"startOffset":4690,"endOffset":4770,"count":0}],"isBlockCoverage":true},{"functionName":"subscribe","ranges":[{"startOffset":4803,"endOffset":4893,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4895,"endOffset":4989,"count":0}],"isBlockCoverage":false},{"functionName":"hasSubscribers","ranges":[{"startOffset":4991,"endOffset":5126,"count":0}],"isBlockCoverage":false},{"functionName":"assertChannel","ranges":[{"startOffset":5215,"endOffset":5357,"count":0}],"isBlockCoverage":false},{"functionName":"TracingChannel","ranges":[{"startOffset":5384,"endOffset":6531,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":6535,"endOffset":6687,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":6691,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"traceSync","ranges":[{"startOffset":6928,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"tracePromise","ranges":[{"startOffset":7358,"endOffset":8459,"count":0}],"isBlockCoverage":false},{"functionName":"traceCallback","ranges":[{"startOffset":8463,"endOffset":9589,"count":0}],"isBlockCoverage":false},{"functionName":"tracingChannel","ranges":[{"startOffset":9593,"endOffset":9681,"count":0}],"isBlockCoverage":false}]},{"scriptId":"167","url":"node:internal/modules/cjs/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":45478,"count":1}],"isBlockCoverage":false},{"functionName":"get hasLoadedAnyUserCJSModule","ranges":[{"startOffset":2238,"endOffset":2307,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3478,"endOffset":3569,"count":1},{"startOffset":3525,"endOffset":3561,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3618,"endOffset":3661,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3702,"endOffset":3756,"count":1}],"isBlockCoverage":true},{"functionName":"internalRequire","ranges":[{"startOffset":4610,"endOffset":4935,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4937,"endOffset":5347,"count":1535},{"startOffset":5035,"endOffset":5129,"count":1499},{"startOffset":5111,"endOffset":5125,"count":406},{"startOffset":5129,"endOffset":5202,"count":1129},{"startOffset":5202,"endOffset":5216,"count":1093},{"startOffset":5218,"endOffset":5328,"count":434},{"startOffset":5328,"endOffset":5346,"count":1129}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":5428,"endOffset":5451,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":5455,"endOffset":5550,"count":0}],"isBlockCoverage":false},{"functionName":"updateChildren","ranges":[{"startOffset":5579,"endOffset":5775,"count":789},{"startOffset":5651,"endOffset":5661,"count":739},{"startOffset":5678,"endOffset":5731,"count":739},{"startOffset":5688,"endOffset":5730,"count":392},{"startOffset":5737,"endOffset":5773,"count":739}],"isBlockCoverage":true},{"functionName":"reportModuleToWatchMode","ranges":[{"startOffset":5777,"endOffset":5933,"count":1183},{"startOffset":5858,"endOffset":5873,"count":0},{"startOffset":5875,"endOffset":5931,"count":0}],"isBlockCoverage":true},{"functionName":"reportModuleNotFoundToWatchMode","ranges":[{"startOffset":5935,"endOffset":6174,"count":17},{"startOffset":6036,"endOffset":6051,"count":0},{"startOffset":6053,"endOffset":6172,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6121,"endOffset":6163,"count":0}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":6221,"endOffset":6978,"count":374},{"startOffset":6534,"endOffset":6544,"count":0},{"startOffset":6562,"endOffset":6926,"count":0}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":7220,"endOffset":7297,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7463,"endOffset":7585,"count":0}],"isBlockCoverage":false},{"functionName":"defineProperty","ranges":[{"startOffset":7590,"endOffset":7723,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7790,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7823,"endOffset":7877,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7947,"endOffset":7983,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7988,"endOffset":8050,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8084,"endOffset":8114,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleParent","ranges":[{"startOffset":8274,"endOffset":8342,"count":0}],"isBlockCoverage":false},{"functionName":"setModuleParent","ranges":[{"startOffset":8344,"endOffset":8417,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8484,"endOffset":8509,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCJS","ranges":[{"startOffset":9188,"endOffset":9688,"count":1}],"isBlockCoverage":true},{"functionName":"readPackage","ranges":[{"startOffset":9982,"endOffset":10095,"count":1700}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":10197,"endOffset":10227,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10231,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"readPackageScope","ranges":[{"startOffset":10383,"endOffset":11176,"count":879},{"startOffset":10570,"endOffset":11113,"count":1580},{"startOffset":10819,"endOffset":10865,"count":0},{"startOffset":10867,"endOffset":10894,"count":0},{"startOffset":10967,"endOffset":10980,"count":0},{"startOffset":11052,"endOffset":11109,"count":879},{"startOffset":11113,"endOffset":11175,"count":0}],"isBlockCoverage":true},{"functionName":"tryPackage","ranges":[{"startOffset":11178,"endOffset":12457,"count":52},{"startOffset":11300,"endOffset":11381,"count":18},{"startOffset":11381,"endOffset":11475,"count":34},{"startOffset":11475,"endOffset":11519,"count":0},{"startOffset":11520,"endOffset":11587,"count":0},{"startOffset":11613,"endOffset":12438,"count":0},{"startOffset":12438,"endOffset":12456,"count":34}],"isBlockCoverage":true},{"functionName":"tryFile","ranges":[{"startOffset":12802,"endOffset":13034,"count":607},{"startOffset":12891,"endOffset":12898,"count":207},{"startOffset":12898,"endOffset":12943,"count":400},{"startOffset":12943,"endOffset":12953,"count":0},{"startOffset":12955,"endOffset":12998,"count":0},{"startOffset":12998,"endOffset":13033,"count":400}],"isBlockCoverage":true},{"functionName":"toRealPath","ranges":[{"startOffset":13036,"endOffset":13168,"count":444}],"isBlockCoverage":true},{"functionName":"tryExtensions","ranges":[{"startOffset":13243,"endOffset":13449,"count":433},{"startOffset":13325,"endOffset":13431,"count":571},{"startOffset":13397,"endOffset":13427,"count":364},{"startOffset":13431,"endOffset":13448,"count":69}],"isBlockCoverage":true},{"functionName":"findLongestRegisteredExtension","ranges":[{"startOffset":13538,"endOffset":14006,"count":372},{"startOffset":13813,"endOffset":13822,"count":0},{"startOffset":13960,"endOffset":13984,"count":361},{"startOffset":13988,"endOffset":14005,"count":11}],"isBlockCoverage":true},{"functionName":"trySelfParentPath","ranges":[{"startOffset":14008,"endOffset":14297,"count":543},{"startOffset":14060,"endOffset":14073,"count":23},{"startOffset":14073,"endOffset":14131,"count":520},{"startOffset":14131,"endOffset":14295,"count":0}],"isBlockCoverage":true},{"functionName":"trySelf","ranges":[{"startOffset":14299,"endOffset":15197,"count":543},{"startOffset":14358,"endOffset":14371,"count":23},{"startOffset":14371,"endOffset":14475,"count":520},{"startOffset":14476,"endOffset":14501,"count":11},{"startOffset":14503,"endOffset":14526,"count":509},{"startOffset":14526,"endOffset":14573,"count":11},{"startOffset":14573,"endOffset":14599,"count":0},{"startOffset":14599,"endOffset":14765,"count":11},{"startOffset":14661,"endOffset":14736,"count":0},{"startOffset":14765,"endOffset":15195,"count":0}],"isBlockCoverage":true},{"functionName":"resolveExports","ranges":[{"startOffset":15358,"endOffset":16166,"count":435},{"startOffset":15565,"endOffset":15580,"count":367},{"startOffset":15599,"endOffset":15606,"count":367},{"startOffset":15606,"endOffset":15707,"count":68},{"startOffset":15707,"endOffset":15729,"count":51},{"startOffset":15731,"endOffset":16164,"count":2},{"startOffset":16011,"endOffset":16160,"count":0}],"isBlockCoverage":true},{"functionName":"Module._findPath","ranges":[{"startOffset":16434,"endOffset":20492,"count":544},{"startOffset":16544,"endOffset":16567,"count":25},{"startOffset":16567,"endOffset":16630,"count":519},{"startOffset":16607,"endOffset":16630,"count":0},{"startOffset":16767,"endOffset":16780,"count":101},{"startOffset":16780,"endOffset":17363,"count":443},{"startOffset":17002,"endOffset":17356,"count":0},{"startOffset":17438,"endOffset":17894,"count":367},{"startOffset":17544,"endOffset":17629,"count":57},{"startOffset":17564,"endOffset":17628,"count":0},{"startOffset":17630,"endOffset":17888,"count":57},{"startOffset":17799,"endOffset":17886,"count":0},{"startOffset":17939,"endOffset":18093,"count":367},{"startOffset":18056,"endOffset":18089,"count":57},{"startOffset":18093,"endOffset":18155,"count":443},{"startOffset":18155,"endOffset":20473,"count":552},{"startOffset":18296,"endOffset":18306,"count":495},{"startOffset":18307,"endOffset":18403,"count":470},{"startOffset":18341,"endOffset":18379,"count":0},{"startOffset":18410,"endOffset":18433,"count":92},{"startOffset":18433,"endOffset":18461,"count":460},{"startOffset":18461,"endOffset":18591,"count":435},{"startOffset":18562,"endOffset":18585,"count":2},{"startOffset":18591,"endOffset":19950,"count":458},{"startOffset":18743,"endOffset":19727,"count":43},{"startOffset":18776,"endOffset":18965,"count":42},{"startOffset":18831,"endOffset":18891,"count":0},{"startOffset":18965,"endOffset":19719,"count":1},{"startOffset":19019,"endOffset":19659,"count":0},{"startOffset":19750,"endOffset":19944,"count":415},{"startOffset":19840,"endOffset":19878,"count":398},{"startOffset":19950,"endOffset":19970,"count":458},{"startOffset":19970,"endOffset":19981,"count":69},{"startOffset":19983,"endOffset":20199,"count":52},{"startOffset":20093,"endOffset":20131,"count":0},{"startOffset":20199,"endOffset":20219,"count":458},{"startOffset":20219,"endOffset":20295,"count":441},{"startOffset":20295,"endOffset":20473,"count":17},{"startOffset":20473,"endOffset":20491,"count":0}],"isBlockCoverage":true},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":20736,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":22345,"endOffset":23485,"count":400},{"startOffset":22623,"endOffset":22648,"count":0},{"startOffset":22941,"endOffset":23363,"count":25321},{"startOffset":23037,"endOffset":23233,"count":2720},{"startOffset":23074,"endOffset":23192,"count":2318},{"startOffset":23233,"endOffset":23357,"count":22601},{"startOffset":23253,"endOffset":23357,"count":7715},{"startOffset":23288,"endOffset":23314,"count":5397},{"startOffset":23314,"endOffset":23349,"count":2318}],"isBlockCoverage":true},{"functionName":"Module._resolveLookupPaths","ranges":[{"startOffset":23519,"endOffset":24778,"count":543},{"startOffset":23599,"endOffset":23665,"count":0},{"startOffset":23750,"endOffset":23949,"count":466},{"startOffset":23830,"endOffset":23880,"count":337},{"startOffset":23881,"endOffset":23948,"count":0},{"startOffset":23951,"endOffset":24250,"count":77},{"startOffset":23983,"endOffset":23998,"count":54},{"startOffset":24000,"endOffset":24110,"count":54},{"startOffset":24110,"endOffset":24150,"count":23},{"startOffset":24239,"endOffset":24245,"count":0},{"startOffset":24250,"endOffset":24318,"count":466},{"startOffset":24319,"endOffset":24338,"count":466},{"startOffset":24340,"endOffset":24589,"count":0},{"startOffset":24589,"endOffset":24777,"count":466}],"isBlockCoverage":true},{"functionName":"emitCircularRequireWarning","ranges":[{"startOffset":24781,"endOffset":24965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25178,"endOffset":25550,"count":0}],"isBlockCoverage":false},{"functionName":"getOwnPropertyDescriptor","ranges":[{"startOffset":25555,"endOffset":25796,"count":0}],"isBlockCoverage":false},{"functionName":"getExportsForCircularRequire","ranges":[{"startOffset":25803,"endOffset":26447,"count":2},{"startOffset":25972,"endOffset":26265,"count":1},{"startOffset":26267,"endOffset":26419,"count":1}],"isBlockCoverage":true},{"functionName":"Module._load","ranges":[{"startOffset":26860,"endOffset":29991,"count":834},{"startOffset":26943,"endOffset":27759,"count":811},{"startOffset":27402,"endOffset":27755,"count":220},{"startOffset":27592,"endOffset":27642,"count":0},{"startOffset":27687,"endOffset":27755,"count":0},{"startOffset":27759,"endOffset":27812,"count":614},{"startOffset":27812,"endOffset":28084,"count":12},{"startOffset":27941,"endOffset":28001,"count":0},{"startOffset":28084,"endOffset":28237,"count":602},{"startOffset":28237,"endOffset":28597,"count":195},{"startOffset":28317,"endOffset":28545,"count":27},{"startOffset":28413,"endOffset":28440,"count":25},{"startOffset":28450,"endOffset":28500,"count":2},{"startOffset":28500,"endOffset":28545,"count":25},{"startOffset":28545,"endOffset":28593,"count":168},{"startOffset":28597,"endOffset":28657,"count":432},{"startOffset":28657,"endOffset":28740,"count":60},{"startOffset":28740,"endOffset":28839,"count":372},{"startOffset":28839,"endOffset":28870,"count":347},{"startOffset":28887,"endOffset":29028,"count":0},{"startOffset":29028,"endOffset":29132,"count":372},{"startOffset":29132,"endOffset":29201,"count":349},{"startOffset":29201,"endOffset":29963,"count":372},{"startOffset":29306,"endOffset":29709,"count":0},{"startOffset":29734,"endOffset":29776,"count":371},{"startOffset":29777,"endOffset":29889,"count":371},{"startOffset":29891,"endOffset":29959,"count":1},{"startOffset":29963,"endOffset":29990,"count":372}],"isBlockCoverage":true},{"functionName":"Module._resolveFilename","ranges":[{"startOffset":30020,"endOffset":33106,"count":603},{"startOffset":30117,"endOffset":30142,"count":60},{"startOffset":30142,"endOffset":30192,"count":543},{"startOffset":30192,"endOffset":30211,"count":0},{"startOffset":30213,"endOffset":31290,"count":0},{"startOffset":31290,"endOffset":31385,"count":543},{"startOffset":31385,"endOffset":31433,"count":0},{"startOffset":31435,"endOffset":32047,"count":0},{"startOffset":32047,"endOffset":32208,"count":543},{"startOffset":32208,"endOffset":32404,"count":0},{"startOffset":32404,"endOffset":32560,"count":543},{"startOffset":32560,"endOffset":33105,"count":0}],"isBlockCoverage":true},{"functionName":"finalizeEsmResolution","ranges":[{"startOffset":33109,"endOffset":33678,"count":2},{"startOffset":33311,"endOffset":33430,"count":0},{"startOffset":33543,"endOffset":33677,"count":0}],"isBlockCoverage":true},{"functionName":"createEsmNotFoundErr","ranges":[{"startOffset":33680,"endOffset":33970,"count":0}],"isBlockCoverage":false},{"functionName":"Module.load","ranges":[{"startOffset":34059,"endOffset":34896,"count":372},{"startOffset":34394,"endOffset":34424,"count":0},{"startOffset":34430,"endOffset":34472,"count":0},{"startOffset":34752,"endOffset":34800,"count":0}],"isBlockCoverage":true},{"functionName":"Module.require","ranges":[{"startOffset":35095,"endOffset":35394,"count":811},{"startOffset":35155,"endOffset":35273,"count":0}],"isBlockCoverage":true},{"functionName":"wrapSafe","ranges":[{"startOffset":35584,"endOffset":37521,"count":369},{"startOffset":35668,"endOffset":36404,"count":0},{"startOffset":36944,"endOffset":36990,"count":0},{"startOffset":36991,"endOffset":37032,"count":0},{"startOffset":37034,"endOffset":37097,"count":0},{"startOffset":37183,"endOffset":37281,"count":3},{"startOffset":37315,"endOffset":37519,"count":0}],"isBlockCoverage":true},{"functionName":"importModuleDynamically","ranges":[{"startOffset":35895,"endOffset":36134,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":36617,"endOffset":36870,"count":2}],"isBlockCoverage":true},{"functionName":"Module._compile","ranges":[{"startOffset":37721,"endOffset":39539,"count":369},{"startOffset":37812,"endOffset":37822,"count":0},{"startOffset":37840,"endOffset":37993,"count":0},{"startOffset":38126,"endOffset":38150,"count":0},{"startOffset":38152,"endOffset":38888,"count":0},{"startOffset":39111,"endOffset":39137,"count":23},{"startOffset":39162,"endOffset":39301,"count":0},{"startOffset":39503,"endOffset":39520,"count":23}],"isBlockCoverage":true},{"functionName":"Module._extensions..js","ranges":[{"startOffset":39598,"endOffset":41380,"count":369},{"startOffset":39759,"endOffset":39767,"count":25},{"startOffset":39769,"endOffset":39834,"count":25},{"startOffset":39834,"endOffset":39894,"count":344},{"startOffset":39943,"endOffset":41340,"count":358},{"startOffset":39988,"endOffset":40010,"count":0},{"startOffset":40106,"endOffset":41336,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..json","ranges":[{"startOffset":41444,"endOffset":41850,"count":3},{"startOffset":41554,"endOffset":41564,"count":0},{"startOffset":41582,"endOffset":41684,"count":0},{"startOffset":41767,"endOffset":41848,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..node","ranges":[{"startOffset":41914,"endOffset":42256,"count":0}],"isBlockCoverage":false},{"functionName":"createRequireFromPath","ranges":[{"startOffset":42259,"endOffset":42720,"count":2},{"startOffset":42439,"endOffset":42481,"count":0},{"startOffset":42519,"endOffset":42555,"count":0}],"isBlockCoverage":true},{"functionName":"createRequire","ranges":[{"startOffset":42828,"endOffset":43373,"count":2},{"startOffset":43033,"endOffset":43165,"count":0},{"startOffset":43169,"endOffset":43329,"count":0}],"isBlockCoverage":true},{"functionName":"Module._initPaths","ranges":[{"startOffset":43434,"endOffset":44399,"count":1},{"startOffset":43475,"endOffset":43500,"count":0},{"startOffset":43552,"endOffset":43575,"count":0},{"startOffset":43783,"endOffset":43825,"count":0},{"startOffset":44124,"endOffset":44266,"count":0}],"isBlockCoverage":true},{"functionName":"Module._preloadModules","ranges":[{"startOffset":44427,"endOffset":45018,"count":0}],"isBlockCoverage":false},{"functionName":"syncBuiltinESMExports","ranges":[{"startOffset":45052,"endOffset":45233,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":45318,"endOffset":45376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"168","url":"node:internal/vm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2921,"count":1}],"isBlockCoverage":false},{"functionName":"isContext","ranges":[{"startOffset":419,"endOffset":554,"count":0}],"isBlockCoverage":false},{"functionName":"internalCompileFunction","ranges":[{"startOffset":556,"endOffset":2857,"count":369},{"startOffset":1151,"endOffset":1200,"count":0},{"startOffset":1304,"endOffset":1566,"count":0},{"startOffset":2045,"endOffset":2118,"count":0},{"startOffset":2145,"endOffset":2202,"count":0},{"startOffset":2258,"endOffset":2331,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1675,"endOffset":1824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"169","url":"node:internal/modules/helpers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7741,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":923,"endOffset":948,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCjsConditions","ranges":[{"startOffset":971,"endOffset":1363,"count":1},{"startOffset":1150,"endOffset":1154,"count":0}],"isBlockCoverage":true},{"functionName":"getCjsConditions","ranges":[{"startOffset":1365,"endOffset":1492,"count":2},{"startOffset":1430,"endOffset":1466,"count":0}],"isBlockCoverage":true},{"functionName":"loadBuiltinModule","ranges":[{"startOffset":1494,"endOffset":1823,"count":86},{"startOffset":1595,"endOffset":1612,"count":0}],"isBlockCoverage":true},{"functionName":"lazyModule","ranges":[{"startOffset":1845,"endOffset":1958,"count":371},{"startOffset":1889,"endOffset":1937,"count":1}],"isBlockCoverage":true},{"functionName":"makeRequireFunction","ranges":[{"startOffset":2207,"endOffset":4418,"count":371},{"startOffset":2346,"endOffset":2409,"count":0},{"startOffset":2443,"endOffset":3714,"count":0}],"isBlockCoverage":true},{"functionName":"require","ranges":[{"startOffset":2586,"endOffset":3709,"count":0}],"isBlockCoverage":false},{"functionName":"require","ranges":[{"startOffset":3736,"endOffset":3876,"count":810}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":3885,"endOffset":4031,"count":0}],"isBlockCoverage":false},{"functionName":"paths","ranges":[{"startOffset":4065,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"stripBOM","ranges":[{"startOffset":4603,"endOffset":4758,"count":3},{"startOffset":4685,"endOffset":4738,"count":0}],"isBlockCoverage":true},{"functionName":"addBuiltinLibsToObject","ranges":[{"startOffset":4760,"endOffset":6720,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeReferrerURL","ranges":[{"startOffset":6788,"endOffset":6976,"count":63},{"startOffset":6895,"endOffset":6941,"count":5},{"startOffset":6941,"endOffset":6975,"count":58}],"isBlockCoverage":true},{"functionName":"hasEsmSyntax","ranges":[{"startOffset":7046,"endOffset":7548,"count":0}],"isBlockCoverage":false}]},{"scriptId":"170","url":"node:internal/modules/package_json_reader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3711,"count":1}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":932,"endOffset":3682,"count":2029},{"startOffset":1028,"endOffset":1065,"count":1879},{"startOffset":1065,"endOffset":1742,"count":150},{"startOffset":1742,"endOffset":1751,"count":0},{"startOffset":1752,"endOffset":1766,"count":0},{"startOffset":1767,"endOffset":1789,"count":150},{"startOffset":1813,"endOffset":3632,"count":85},{"startOffset":1881,"endOffset":2477,"count":0},{"startOffset":2635,"endOffset":2669,"count":84},{"startOffset":2671,"endOffset":2711,"count":84},{"startOffset":2767,"endOffset":2801,"count":43},{"startOffset":2803,"endOffset":2843,"count":43},{"startOffset":2903,"endOffset":2949,"count":27},{"startOffset":3009,"endOffset":3055,"count":1},{"startOffset":3166,"endOffset":3225,"count":26},{"startOffset":3197,"endOffset":3224,"count":25},{"startOffset":3227,"endOffset":3267,"count":26},{"startOffset":3301,"endOffset":3497,"count":1},{"startOffset":3422,"endOffset":3475,"count":0},{"startOffset":3525,"endOffset":3628,"count":0},{"startOffset":3632,"endOffset":3681,"count":150}],"isBlockCoverage":true}]},{"scriptId":"171","url":"node:internal/modules/run_main","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2850,"count":1}],"isBlockCoverage":false},{"functionName":"resolveMainPath","ranges":[{"startOffset":155,"endOffset":666,"count":1},{"startOffset":495,"endOffset":502,"count":0}],"isBlockCoverage":true},{"functionName":"shouldUseESMLoader","ranges":[{"startOffset":668,"endOffset":1558,"count":1},{"startOffset":1184,"endOffset":1196,"count":0},{"startOffset":1378,"endOffset":1390,"count":0},{"startOffset":1457,"endOffset":1470,"count":0}],"isBlockCoverage":true},{"functionName":"runMainESM","ranges":[{"startOffset":1560,"endOffset":1920,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1736,"endOffset":1915,"count":1},{"startOffset":1833,"endOffset":1843,"count":0}],"isBlockCoverage":true},{"functionName":"handleMainPromise","ranges":[{"startOffset":1922,"endOffset":2196,"count":1}],"isBlockCoverage":true},{"functionName":"executeUserEntryPoint","ranges":[{"startOffset":2382,"endOffset":2780,"count":1},{"startOffset":2592,"endOffset":2599,"count":0},{"startOffset":2605,"endOffset":2778,"count":0}],"isBlockCoverage":true}]},{"scriptId":"172","url":"node:internal/modules/esm/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6457,"count":1}],"isBlockCoverage":false},{"functionName":"getDefaultConditions","ranges":[{"startOffset":707,"endOffset":813,"count":108}],"isBlockCoverage":true},{"functionName":"getDefaultConditionsSet","ranges":[{"startOffset":841,"endOffset":956,"count":107}],"isBlockCoverage":true},{"functionName":"initializeDefaultConditions","ranges":[{"startOffset":1036,"endOffset":1418,"count":1},{"startOffset":1219,"endOffset":1223,"count":0}],"isBlockCoverage":true},{"functionName":"getConditionsSet","ranges":[{"startOffset":1488,"endOffset":1847,"count":107},{"startOffset":1601,"endOffset":1809,"count":0}],"isBlockCoverage":true},{"functionName":"registerModule","ranges":[{"startOffset":3590,"endOffset":3817,"count":427}],"isBlockCoverage":true},{"functionName":"initializeImportMetaObject","ranges":[{"startOffset":3842,"endOffset":4133,"count":3}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyCallback","ranges":[{"startOffset":4158,"endOffset":4557,"count":3},{"startOffset":4501,"endOffset":4556,"count":0}],"isBlockCoverage":true},{"functionName":"initializeESM","ranges":[{"startOffset":4722,"endOffset":5098,"count":1}],"isBlockCoverage":true},{"functionName":"isLoaderWorker","ranges":[{"startOffset":5100,"endOffset":5155,"count":1}],"isBlockCoverage":true},{"functionName":"initializeHooks","ranges":[{"startOffset":5157,"endOffset":6268,"count":0}],"isBlockCoverage":false}]},{"scriptId":"173","url":"node:internal/process/esm_loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1190,"count":1}],"isBlockCoverage":false},{"functionName":"get esmLoader","ranges":[{"startOffset":386,"endOffset":458,"count":77}],"isBlockCoverage":true},{"functionName":"loadESM","ranges":[{"startOffset":462,"endOffset":1185,"count":1},{"startOffset":630,"endOffset":846,"count":0},{"startOffset":937,"endOffset":1181,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":728,"endOffset":836,"count":0}],"isBlockCoverage":false}]},{"scriptId":"174","url":"node:internal/modules/esm/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21570,"count":1}],"isBlockCoverage":false},{"functionName":"newResolveCache","ranges":[{"startOffset":783,"endOffset":913,"count":1}],"isBlockCoverage":true},{"functionName":"newLoadCache","ranges":[{"startOffset":915,"endOffset":1036,"count":1}],"isBlockCoverage":true},{"functionName":"getTranslators","ranges":[{"startOffset":1038,"endOffset":1160,"count":98}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1847,"endOffset":14781,"count":1}],"isBlockCoverage":false},{"functionName":"ModuleLoader","ranges":[{"startOffset":3114,"endOffset":3307,"count":1},{"startOffset":3202,"endOffset":3259,"count":0}],"isBlockCoverage":true},{"functionName":"setCustomizations","ranges":[{"startOffset":4847,"endOffset":5091,"count":1},{"startOffset":4950,"endOffset":5032,"count":0}],"isBlockCoverage":true},{"functionName":"eval","ranges":[{"startOffset":5095,"endOffset":6098,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleJob","ranges":[{"startOffset":6833,"endOffset":7068,"count":162}],"isBlockCoverage":true},{"functionName":"getModuleJobSync","ranges":[{"startOffset":7072,"endOffset":7309,"count":0}],"isBlockCoverage":false},{"functionName":"getJobFromResolveResult","ranges":[{"startOffset":7313,"endOffset":7897,"count":162},{"startOffset":7687,"endOffset":7749,"count":0},{"startOffset":7778,"endOffset":7876,"count":97}],"isBlockCoverage":true},{"functionName":"#createModuleJob","ranges":[{"startOffset":8535,"endOffset":9726,"count":97},{"startOffset":9027,"endOffset":9103,"count":0},{"startOffset":9246,"endOffset":9286,"count":1},{"startOffset":9341,"endOffset":9356,"count":0},{"startOffset":9358,"endOffset":9412,"count":0}],"isBlockCoverage":true},{"functionName":"callTranslator","ranges":[{"startOffset":8629,"endOffset":8943,"count":97},{"startOffset":8773,"endOffset":8853,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9035,"endOffset":9103,"count":0}],"isBlockCoverage":false},{"functionName":"moduleProvider","ranges":[{"startOffset":9112,"endOffset":9188,"count":97}],"isBlockCoverage":true},{"functionName":"import","ranges":[{"startOffset":10188,"endOffset":10413,"count":4}],"isBlockCoverage":true},{"functionName":"register","ranges":[{"startOffset":10479,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":11461,"endOffset":12047,"count":162},{"startOffset":11549,"endOffset":11647,"count":0},{"startOffset":11843,"endOffset":11877,"count":1},{"startOffset":11877,"endOffset":12046,"count":161}],"isBlockCoverage":true},{"functionName":"resolveSync","ranges":[{"startOffset":12205,"endOffset":12483,"count":0}],"isBlockCoverage":false},{"functionName":"defaultResolve","ranges":[{"startOffset":12695,"endOffset":13035,"count":161}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":13319,"endOffset":13623,"count":97},{"startOffset":13456,"endOffset":13510,"count":0}],"isBlockCoverage":true},{"functionName":"loadSync","ranges":[{"startOffset":13627,"endOffset":14158,"count":0}],"isBlockCoverage":false},{"functionName":"validateLoadResult","ranges":[{"startOffset":14162,"endOffset":14313,"count":97},{"startOffset":14220,"endOffset":14309,"count":0}],"isBlockCoverage":true},{"functionName":"importMetaInitialize","ranges":[{"startOffset":14317,"endOffset":14652,"count":3},{"startOffset":14385,"endOffset":14469,"count":0}],"isBlockCoverage":true},{"functionName":"forceLoadHooks","ranges":[{"startOffset":14713,"endOffset":14779,"count":1},{"startOffset":14756,"endOffset":14772,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14835,"endOffset":17345,"count":0}],"isBlockCoverage":false},{"functionName":"createModuleLoader","ranges":[{"startOffset":17841,"endOffset":19523,"count":1},{"startOffset":18306,"endOffset":19473,"count":0}],"isBlockCoverage":true},{"functionName":"readableURIEncode","ranges":[{"startOffset":18381,"endOffset":18876,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19196,"endOffset":19284,"count":0}],"isBlockCoverage":false},{"functionName":"getHooksProxy","ranges":[{"startOffset":19636,"endOffset":19812,"count":0}],"isBlockCoverage":false},{"functionName":"register","ranges":[{"startOffset":21096,"endOffset":21495,"count":0}],"isBlockCoverage":false}]},{"scriptId":"175","url":"node:internal/modules/esm/module_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3877,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":281,"endOffset":306,"count":1}],"isBlockCoverage":true},{"functionName":"ResolveCache","ranges":[{"startOffset":850,"endOffset":878,"count":1}],"isBlockCoverage":true},{"functionName":"serializeKey","ranges":[{"startOffset":1224,"endOffset":1836,"count":162},{"startOffset":1633,"endOffset":1835,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1752,"endOffset":1818,"count":0}],"isBlockCoverage":false},{"functionName":"#getModuleCachedImports","ranges":[{"startOffset":1840,"endOffset":2056,"count":323},{"startOffset":1954,"endOffset":2026,"count":37}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2231,"endOffset":2333,"count":162}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":2473,"endOffset":2602,"count":161}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":2606,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"LoadCache","ranges":[{"startOffset":2844,"endOffset":2872,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2921,"endOffset":3064,"count":162},{"startOffset":3051,"endOffset":3059,"count":65}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3067,"endOffset":3662,"count":97},{"startOffset":3286,"endOffset":3322,"count":0},{"startOffset":3324,"endOffset":3394,"count":0},{"startOffset":3478,"endOffset":3484,"count":0}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":3665,"endOffset":3822,"count":0}],"isBlockCoverage":false}]},{"scriptId":"176","url":"node:internal/modules/esm/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4026,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1321,"endOffset":1359,"count":5}],"isBlockCoverage":true},{"functionName":"validateAssertions","ranges":[{"startOffset":1780,"endOffset":3310,"count":97},{"startOffset":2002,"endOffset":2301,"count":0},{"startOffset":2330,"endOffset":2475,"count":0},{"startOffset":2740,"endOffset":2800,"count":0},{"startOffset":2806,"endOffset":2914,"count":0},{"startOffset":2920,"endOffset":3304,"count":0}],"isBlockCoverage":true},{"functionName":"handleInvalidType","ranges":[{"startOffset":3542,"endOffset":3956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"177","url":"node:internal/modules/esm/translators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15691,"count":1}],"isBlockCoverage":false},{"functionName":"lazyTypes","ranges":[{"startOffset":372,"endOffset":484,"count":116},{"startOffset":418,"endOffset":432,"count":115},{"startOffset":432,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":948,"endOffset":973,"count":1}],"isBlockCoverage":true},{"functionName":"initCJSParse","ranges":[{"startOffset":1545,"endOffset":1943,"count":6},{"startOffset":1619,"endOffset":1694,"count":0},{"startOffset":1852,"endOffset":1937,"count":0}],"isBlockCoverage":true},{"functionName":"assertBufferSource","ranges":[{"startOffset":2077,"endOffset":2498,"count":116},{"startOffset":2154,"endOffset":2181,"count":58},{"startOffset":2183,"endOffset":2200,"count":0},{"startOffset":2294,"endOffset":2319,"count":0},{"startOffset":2338,"endOffset":2417,"count":0},{"startOffset":2418,"endOffset":2422,"count":0}],"isBlockCoverage":true},{"functionName":"stringify","ranges":[{"startOffset":2500,"endOffset":2774,"count":83},{"startOffset":2559,"endOffset":2571,"count":25},{"startOffset":2571,"endOffset":2711,"count":58},{"startOffset":2711,"endOffset":2730,"count":1},{"startOffset":2731,"endOffset":2740,"count":57}],"isBlockCoverage":true},{"functionName":"errPath","ranges":[{"startOffset":2776,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":2923,"endOffset":3061,"count":1}],"isBlockCoverage":true},{"functionName":"moduleStrategy","ranges":[{"startOffset":3143,"endOffset":3668,"count":58}],"isBlockCoverage":true},{"functionName":"initializeImportMeta","ranges":[{"startOffset":3557,"endOffset":3613,"count":3}],"isBlockCoverage":true},{"functionName":"enrichCJSError","ranges":[{"startOffset":3835,"endOffset":4374,"count":0}],"isBlockCoverage":false},{"functionName":"loadCJSModule","ranges":[{"startOffset":4715,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"createCJSModuleWrap","ranges":[{"startOffset":6909,"endOffset":8288,"count":25},{"startOffset":7110,"endOffset":7115,"count":0},{"startOffset":7309,"endOffset":7331,"count":1},{"startOffset":7332,"endOffset":7361,"count":24},{"startOffset":7378,"endOffset":7434,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7494,"endOffset":8283,"count":25},{"startOffset":7571,"endOffset":7624,"count":23},{"startOffset":7806,"endOffset":7849,"count":0},{"startOffset":7892,"endOffset":8239,"count":70},{"startOffset":7956,"endOffset":7993,"count":69},{"startOffset":8003,"endOffset":8012,"count":2},{"startOffset":8012,"endOffset":8136,"count":68},{"startOffset":8136,"endOffset":8192,"count":0},{"startOffset":8192,"endOffset":8239,"count":68}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8448,"endOffset":8540,"count":0}],"isBlockCoverage":false},{"functionName":"commonjsStrategy","ranges":[{"startOffset":8728,"endOffset":9611,"count":25},{"startOffset":8860,"endOffset":8891,"count":6},{"startOffset":9358,"endOffset":9373,"count":0},{"startOffset":9498,"endOffset":9546,"count":0}],"isBlockCoverage":true},{"functionName":"cjsLoader","ranges":[{"startOffset":9138,"endOffset":9357,"count":23},{"startOffset":9277,"endOffset":9353,"count":0}],"isBlockCoverage":true},{"functionName":"cjsPreparseModuleExports","ranges":[{"startOffset":9615,"endOffset":12093,"count":25},{"startOffset":9798,"endOffset":9923,"count":0},{"startOffset":10231,"endOffset":10236,"count":0},{"startOffset":10244,"endOffset":10293,"count":0},{"startOffset":10469,"endOffset":12056,"count":1},{"startOffset":11330,"endOffset":11363,"count":0},{"startOffset":11629,"endOffset":11658,"count":0},{"startOffset":11660,"endOffset":12046,"count":0}],"isBlockCoverage":true},{"functionName":"builtinStrategy","ranges":[{"startOffset":12217,"endOffset":12623,"count":14},{"startOffset":12496,"endOffset":12548,"count":0}],"isBlockCoverage":true},{"functionName":"jsonStrategy","ranges":[{"startOffset":12735,"endOffset":14686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14752,"endOffset":15688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"178","url":"node:internal/modules/esm/resolve","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36606,"count":1}],"isBlockCoverage":false},{"functionName":"emitTrailingSlashPatternDeprecation","ranges":[{"startOffset":2334,"endOffset":2920,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidSegmentDeprecation","ranges":[{"startOffset":2962,"endOffset":3657,"count":0}],"isBlockCoverage":false},{"functionName":"emitLegacyIndexDeprecation","ranges":[{"startOffset":3805,"endOffset":4938,"count":22},{"startOffset":3967,"endOffset":4936,"count":0}],"isBlockCoverage":true},{"functionName":"legacyMainResolve","ranges":[{"startOffset":6029,"endOffset":6789,"count":22},{"startOffset":6196,"endOffset":6280,"count":0},{"startOffset":6320,"endOffset":6331,"count":0},{"startOffset":6543,"endOffset":6570,"count":14},{"startOffset":6571,"endOffset":6575,"count":8}],"isBlockCoverage":true},{"functionName":"finalizeResolution","ranges":[{"startOffset":6969,"endOffset":8433,"count":107},{"startOffset":7109,"endOffset":7252,"count":0},{"startOffset":7314,"endOffset":7498,"count":0},{"startOffset":7587,"endOffset":7623,"count":0},{"startOffset":7689,"endOffset":7781,"count":0},{"startOffset":7804,"endOffset":8092,"count":0},{"startOffset":8338,"endOffset":8343,"count":0}],"isBlockCoverage":true},{"functionName":"importNotDefined","ranges":[{"startOffset":8545,"endOffset":8756,"count":0}],"isBlockCoverage":false},{"functionName":"exportsNotFound","ranges":[{"startOffset":8866,"endOffset":9061,"count":0}],"isBlockCoverage":false},{"functionName":"throwInvalidSubpath","ranges":[{"startOffset":9228,"endOffset":9611,"count":0}],"isBlockCoverage":false},{"functionName":"invalidPackageTarget","ranges":[{"startOffset":9613,"endOffset":9991,"count":0}],"isBlockCoverage":false},{"functionName":"resolvePackageTargetString","ranges":[{"startOffset":10714,"endOffset":13451,"count":34},{"startOffset":10883,"endOffset":10894,"count":0},{"startOffset":10895,"endOffset":10931,"count":0},{"startOffset":10937,"endOffset":11011,"count":0},{"startOffset":11061,"endOffset":11618,"count":0},{"startOffset":11710,"endOffset":12320,"count":0},{"startOffset":12543,"endOffset":12617,"count":0},{"startOffset":12657,"endOffset":13450,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11393,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11919,"endOffset":11932,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12065,"endOffset":12078,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12792,"endOffset":12805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13032,"endOffset":13045,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13385,"endOffset":13398,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayIndex","ranges":[{"startOffset":13506,"endOffset":13646,"count":18},{"startOffset":13598,"endOffset":13643,"count":0}],"isBlockCoverage":true},{"functionName":"resolvePackageTarget","ranges":[{"startOffset":13910,"endOffset":16158,"count":44},{"startOffset":14103,"endOffset":14257,"count":34},{"startOffset":14257,"endOffset":16041,"count":10},{"startOffset":14289,"endOffset":15127,"count":2},{"startOffset":14320,"endOffset":14346,"count":0},{"startOffset":14666,"endOffset":14814,"count":0},{"startOffset":14854,"endOffset":14881,"count":0},{"startOffset":14916,"endOffset":14973,"count":0},{"startOffset":15007,"endOffset":15069,"count":0},{"startOffset":15077,"endOffset":15127,"count":0},{"startOffset":15127,"endOffset":16041,"count":8},{"startOffset":15280,"endOffset":15508,"count":18},{"startOffset":15338,"endOffset":15502,"count":0},{"startOffset":15551,"endOffset":15966,"count":13},{"startOffset":15608,"endOffset":15630,"count":10},{"startOffset":15632,"endOffset":15960,"count":8},{"startOffset":15913,"endOffset":15922,"count":0},{"startOffset":15966,"endOffset":16041,"count":0},{"startOffset":16041,"endOffset":16157,"count":0}],"isBlockCoverage":true},{"functionName":"isConditionalExportsMainSugar","ranges":[{"startOffset":16343,"endOffset":17278,"count":32},{"startOffset":16449,"endOffset":16473,"count":6},{"startOffset":16475,"endOffset":16487,"count":26},{"startOffset":16487,"endOffset":16541,"count":6},{"startOffset":16543,"endOffset":16556,"count":0},{"startOffset":16556,"endOffset":16696,"count":6},{"startOffset":16696,"endOffset":17247,"count":11},{"startOffset":16806,"endOffset":16863,"count":6},{"startOffset":16863,"endOffset":17243,"count":5},{"startOffset":16919,"endOffset":17243,"count":0},{"startOffset":17247,"endOffset":17277,"count":6}],"isBlockCoverage":true},{"functionName":"packageExportsResolve","ranges":[{"startOffset":17488,"endOffset":20047,"count":32},{"startOffset":17700,"endOffset":17727,"count":27},{"startOffset":18129,"endOffset":18203,"count":0},{"startOffset":18234,"endOffset":20046,"count":0}],"isBlockCoverage":true},{"functionName":"patternKeyCompare","ranges":[{"startOffset":20049,"endOffset":20580,"count":0}],"isBlockCoverage":false},{"functionName":"packageImportsResolve","ranges":[{"startOffset":20709,"endOffset":23166,"count":2},{"startOffset":20871,"endOffset":21024,"count":0},{"startOffset":21608,"endOffset":23100,"count":0},{"startOffset":23110,"endOffset":23165,"count":0}],"isBlockCoverage":true},{"functionName":"getPackageType","ranges":[{"startOffset":23271,"endOffset":23384,"count":116}],"isBlockCoverage":true},{"functionName":"parsePackageName","ranges":[{"startOffset":23546,"endOffset":24598,"count":52},{"startOffset":23737,"endOffset":23965,"count":1},{"startOffset":23817,"endOffset":23856,"count":0},{"startOffset":24027,"endOffset":24079,"count":0},{"startOffset":24256,"endOffset":24281,"count":0},{"startOffset":24308,"endOffset":24427,"count":0},{"startOffset":24488,"endOffset":24541,"count":0}],"isBlockCoverage":true},{"functionName":"packageResolve","ranges":[{"startOffset":24760,"endOffset":26832,"count":52},{"startOffset":24874,"endOffset":24920,"count":0},{"startOffset":25258,"endOffset":25375,"count":0},{"startOffset":25550,"endOffset":26617,"count":191},{"startOffset":25809,"endOffset":26086,"count":139},{"startOffset":25886,"endOffset":25923,"count":3},{"startOffset":25924,"endOffset":25950,"count":136},{"startOffset":26086,"endOffset":26267,"count":52},{"startOffset":26267,"endOffset":26384,"count":30},{"startOffset":26384,"endOffset":26526,"count":22},{"startOffset":26526,"endOffset":26617,"count":0},{"startOffset":26617,"endOffset":26831,"count":0}],"isBlockCoverage":true},{"functionName":"isBareSpecifier","ranges":[{"startOffset":26893,"endOffset":27003,"count":0}],"isBlockCoverage":false},{"functionName":"isRelativeSpecifier","ranges":[{"startOffset":27005,"endOffset":27276,"count":268},{"startOffset":27075,"endOffset":27258,"count":104},{"startOffset":27133,"endOffset":27145,"count":94},{"startOffset":27145,"endOffset":27254,"count":10},{"startOffset":27258,"endOffset":27275,"count":164}],"isBlockCoverage":true},{"functionName":"shouldBeTreatedAsRelativeOrAbsolutePath","ranges":[{"startOffset":27278,"endOffset":27461,"count":268},{"startOffset":27364,"endOffset":27377,"count":0},{"startOffset":27406,"endOffset":27418,"count":0}],"isBlockCoverage":true},{"functionName":"moduleResolve","ranges":[{"startOffset":27654,"endOffset":28445,"count":107},{"startOffset":27980,"endOffset":28026,"count":52},{"startOffset":28026,"endOffset":28316,"count":55},{"startOffset":28071,"endOffset":28143,"count":2},{"startOffset":28143,"endOffset":28316,"count":53},{"startOffset":28204,"endOffset":28312,"count":52},{"startOffset":28354,"endOffset":28380,"count":0}],"isBlockCoverage":true},{"functionName":"resolveAsCommonJS","ranges":[{"startOffset":28591,"endOffset":30048,"count":0}],"isBlockCoverage":false},{"functionName":"checkIfDisallowedImport","ranges":[{"startOffset":30110,"endOffset":31482,"count":161},{"startOffset":30204,"endOffset":31480,"count":160},{"startOffset":30416,"endOffset":31476,"count":0}],"isBlockCoverage":true},{"functionName":"throwIfInvalidParentURL","ranges":[{"startOffset":31557,"endOffset":31830,"count":161},{"startOffset":31634,"endOffset":31685,"count":1},{"startOffset":31685,"endOffset":31722,"count":160},{"startOffset":31722,"endOffset":31742,"count":0},{"startOffset":31744,"endOffset":31828,"count":0}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":31833,"endOffset":35819,"count":161},{"startOffset":31981,"endOffset":32000,"count":160},{"startOffset":31990,"endOffset":32000,"count":0},{"startOffset":32002,"endOffset":32811,"count":0},{"startOffset":32853,"endOffset":32958,"count":160},{"startOffset":32915,"endOffset":32954,"count":0},{"startOffset":33042,"endOffset":33101,"count":52},{"startOffset":33101,"endOffset":33149,"count":109},{"startOffset":33149,"endOffset":33423,"count":107},{"startOffset":33327,"endOffset":33415,"count":0},{"startOffset":33430,"endOffset":33489,"count":0},{"startOffset":33494,"endOffset":33529,"count":54},{"startOffset":33863,"endOffset":33882,"count":0},{"startOffset":33947,"endOffset":33977,"count":107},{"startOffset":33979,"endOffset":34022,"count":54},{"startOffset":34022,"endOffset":34081,"count":107},{"startOffset":34081,"endOffset":34579,"count":1},{"startOffset":34536,"endOffset":34575,"count":0},{"startOffset":34579,"endOffset":34735,"count":107},{"startOffset":34735,"endOffset":34757,"count":1},{"startOffset":34758,"endOffset":34776,"count":106},{"startOffset":34789,"endOffset":35593,"count":0},{"startOffset":35593,"endOffset":35818,"count":107}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":36211,"endOffset":36602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"179","url":"node:internal/modules/esm/package_config","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1412,"count":1}],"isBlockCoverage":false},{"functionName":"getPackageScopeConfig","ranges":[{"startOffset":269,"endOffset":1362,"count":170},{"startOffset":387,"endOffset":1107,"count":277},{"startOffset":521,"endOffset":541,"count":0},{"startOffset":731,"endOffset":766,"count":170},{"startOffset":766,"endOffset":1083,"count":107},{"startOffset":1083,"endOffset":1103,"count":0},{"startOffset":1107,"endOffset":1361,"count":0}],"isBlockCoverage":true}]},{"scriptId":"180","url":"node:internal/modules/esm/get_format","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4514,"count":1}],"isBlockCoverage":false},{"functionName":"node:","ranges":[{"startOffset":900,"endOffset":931,"count":14}],"isBlockCoverage":true},{"functionName":"getDataProtocolModuleFormat","ranges":[{"startOffset":996,"endOffset":1212,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":1487,"endOffset":1846,"count":129},{"startOffset":1587,"endOffset":1831,"count":400},{"startOffset":1649,"endOffset":1684,"count":0},{"startOffset":1692,"endOffset":1821,"count":129},{"startOffset":1780,"endOffset":1784,"count":0},{"startOffset":1831,"endOffset":1845,"count":0}],"isBlockCoverage":true},{"functionName":"getFileProtocolModuleFormat","ranges":[{"startOffset":1970,"endOffset":3175,"count":129},{"startOffset":2086,"endOffset":2160,"count":116},{"startOffset":2132,"endOffset":2142,"count":72},{"startOffset":2143,"endOffset":2155,"count":44},{"startOffset":2160,"endOffset":2232,"count":13},{"startOffset":2232,"endOffset":2467,"count":0},{"startOffset":2469,"endOffset":3174,"count":0}],"isBlockCoverage":true},{"functionName":"getHttpProtocolModuleFormat","ranges":[{"startOffset":3311,"endOffset":3656,"count":0}],"isBlockCoverage":false},{"functionName":"defaultGetFormatWithoutErrors","ranges":[{"startOffset":3801,"endOffset":4036,"count":129},{"startOffset":3955,"endOffset":3977,"count":0}],"isBlockCoverage":true},{"functionName":"defaultGetFormat","ranges":[{"startOffset":4181,"endOffset":4404,"count":14},{"startOffset":4322,"endOffset":4344,"count":0}],"isBlockCoverage":true}]},{"scriptId":"181","url":"node:internal/modules/esm/formats","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":856,"count":1}],"isBlockCoverage":false},{"functionName":"mimeToFormat","ranges":[{"startOffset":468,"endOffset":794,"count":0}],"isBlockCoverage":false}]},{"scriptId":"182","url":"node:internal/modules/esm/handle_process_exit","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":424,"count":1}],"isBlockCoverage":false},{"functionName":"handleProcessExit","ranges":[{"startOffset":298,"endOffset":379,"count":0}],"isBlockCoverage":false}]},{"scriptId":"183","url":"node:internal/modules/esm/module_job","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8786,"count":1}],"isBlockCoverage":false},{"functionName":"isCommonJSGlobalLikeNotDefinedError","ranges":[{"startOffset":917,"endOffset":1048,"count":0}],"isBlockCoverage":false},{"functionName":"ModuleJob","ranges":[{"startOffset":1286,"endOffset":3283,"count":97},{"startOffset":1811,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"link","ranges":[{"startOffset":2085,"endOffset":2900,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2541,"endOffset":2746,"count":158}],"isBlockCoverage":true},{"functionName":"instantiate","ranges":[{"startOffset":3287,"endOffset":3432,"count":4},{"startOffset":3344,"endOffset":3398,"count":3}],"isBlockCoverage":true},{"functionName":"_instantiate","ranges":[{"startOffset":3436,"endOffset":7090,"count":3},{"startOffset":3896,"endOffset":4073,"count":0},{"startOffset":4130,"endOffset":6843,"count":0},{"startOffset":6890,"endOffset":7086,"count":106}],"isBlockCoverage":true},{"functionName":"addJobsToDependencyGraph","ranges":[{"startOffset":3535,"endOffset":3795,"count":161},{"startOffset":3596,"endOffset":3621,"count":55},{"startOffset":3621,"endOffset":3794,"count":106}],"isBlockCoverage":true},{"functionName":"runSync","ranges":[{"startOffset":7094,"endOffset":7494,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":7498,"endOffset":8706,"count":4},{"startOffset":7673,"endOffset":8649,"count":0}],"isBlockCoverage":true}]},{"scriptId":"184","url":"node:internal/modules/esm/load","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6703,"count":1}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":1130,"endOffset":2357,"count":58},{"startOffset":1398,"endOffset":2223,"count":0},{"startOffset":2236,"endOffset":2246,"count":0},{"startOffset":2248,"endOffset":2304,"count":0}],"isBlockCoverage":true},{"functionName":"getSourceSync","ranges":[{"startOffset":2540,"endOffset":3279,"count":0}],"isBlockCoverage":false},{"functionName":"defaultLoad","ranges":[{"startOffset":3400,"endOffset":4067,"count":97},{"startOffset":3739,"endOffset":3827,"count":14},{"startOffset":3827,"endOffset":3855,"count":83},{"startOffset":3860,"endOffset":3884,"count":39},{"startOffset":3884,"endOffset":3986,"count":58}],"isBlockCoverage":true},{"functionName":"defaultLoadSync","ranges":[{"startOffset":4580,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfUnsupportedURLScheme","ranges":[{"startOffset":5367,"endOffset":5999,"count":97},{"startOffset":5597,"endOffset":5624,"count":14},{"startOffset":5625,"endOffset":5652,"count":14},{"startOffset":5653,"endOffset":5782,"count":0},{"startOffset":5787,"endOffset":5997,"count":0}],"isBlockCoverage":true},{"functionName":"throwUnknownModuleFormat","ranges":[{"startOffset":6378,"endOffset":6616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"185","url":"node:internal/fs/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29943,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCpPromises","ranges":[{"startOffset":2997,"endOffset":3089,"count":0}],"isBlockCoverage":false},{"functionName":"lazyFsStreams","ranges":[{"startOffset":3151,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3236,"endOffset":9299,"count":58}],"isBlockCoverage":false},{"functionName":"FileHandle","ranges":[{"startOffset":3377,"endOffset":3554,"count":58},{"startOffset":3491,"endOffset":3495,"count":0}],"isBlockCoverage":true},{"functionName":"getAsyncId","ranges":[{"startOffset":3558,"endOffset":3615,"count":0}],"isBlockCoverage":false},{"functionName":"get fd","ranges":[{"startOffset":3619,"endOffset":3655,"count":116}],"isBlockCoverage":true},{"functionName":"appendFile","ranges":[{"startOffset":3659,"endOffset":3741,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":3745,"endOffset":3801,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":3805,"endOffset":3869,"count":0}],"isBlockCoverage":false},{"functionName":"datasync","ranges":[{"startOffset":3873,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":3929,"endOffset":3973,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":3977,"endOffset":4086,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":4090,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":4175,"endOffset":4242,"count":0}],"isBlockCoverage":false},{"functionName":"readLines","ranges":[{"startOffset":4246,"endOffset":4389,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4393,"endOffset":4453,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":4457,"endOffset":4521,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":4525,"endOffset":4599,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":4603,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":4718,"endOffset":4801,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4805,"endOffset":4886,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":4898,"endOffset":5690,"count":58},{"startOffset":4932,"endOffset":4970,"count":0},{"startOffset":5001,"endOffset":5042,"count":0},{"startOffset":5268,"endOffset":5629,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5210,"endOffset":5252,"count":58}],"isBlockCoverage":true},{"functionName":".SafePromisePrototypeFinally.","ranges":[{"startOffset":5353,"endOffset":5465,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5468,"endOffset":5613,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5695,"endOffset":5754,"count":0}],"isBlockCoverage":false},{"functionName":"readableWebStream","ranges":[{"startOffset":5949,"endOffset":7635,"count":0}],"isBlockCoverage":false},{"functionName":"createReadStream","ranges":[{"startOffset":7933,"endOffset":8084,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":8333,"endOffset":8487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8491,"endOffset":8891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8895,"endOffset":8948,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8952,"endOffset":9039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9043,"endOffset":9076,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9080,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"handleFdClose","ranges":[{"startOffset":9301,"endOffset":9672,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9412,"endOffset":9471,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9458,"endOffset":9470,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9477,"endOffset":9664,"count":0}],"isBlockCoverage":false},{"functionName":"fsCall","ranges":[{"startOffset":9674,"endOffset":10134,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":10136,"endOffset":10256,"count":232},{"startOffset":10180,"endOffset":10189,"count":0},{"startOffset":10195,"endOffset":10254,"count":0}],"isBlockCoverage":true},{"functionName":"writeFileHandle","ranges":[{"startOffset":10258,"endOffset":11400,"count":0}],"isBlockCoverage":false},{"functionName":"readFileHandle","ranges":[{"startOffset":11402,"endOffset":13541,"count":58},{"startOffset":11554,"endOffset":11584,"count":0},{"startOffset":11864,"endOffset":11902,"count":0},{"startOffset":11935,"endOffset":11983,"count":0},{"startOffset":12016,"endOffset":12054,"count":0},{"startOffset":12296,"endOffset":12368,"count":0},{"startOffset":12512,"endOffset":12516,"count":0},{"startOffset":12601,"endOffset":12657,"count":0},{"startOffset":12751,"endOffset":12762,"count":0},{"startOffset":12819,"endOffset":12879,"count":0},{"startOffset":12927,"endOffset":12941,"count":0},{"startOffset":12943,"endOffset":13053,"count":0},{"startOffset":13084,"endOffset":13535,"count":0}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":13694,"endOffset":13915,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":13917,"endOffset":14186,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":14188,"endOffset":14546,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":14666,"endOffset":14991,"count":58}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":14993,"endOffset":16364,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":16366,"endOffset":16703,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":16705,"endOffset":17954,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":17956,"endOffset":18398,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":18400,"endOffset":18706,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":18708,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":18843,"endOffset":19002,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":19004,"endOffset":19208,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":19210,"endOffset":19581,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":19583,"endOffset":19672,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":19674,"endOffset":19755,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":19757,"endOffset":20234,"count":0}],"isBlockCoverage":false},{"functionName":"readdirRecursive","ranges":[{"startOffset":20236,"endOffset":21910,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":21912,"endOffset":22339,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":22341,"endOffset":22580,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":22582,"endOffset":23306,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":23308,"endOffset":23486,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":23488,"endOffset":23758,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":23760,"endOffset":24027,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":24029,"endOffset":24303,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":24305,"endOffset":24628,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":24630,"endOffset":24768,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":24770,"endOffset":24903,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":24905,"endOffset":25091,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":25093,"endOffset":25321,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":25323,"endOffset":25599,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":25601,"endOffset":25798,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":25800,"endOffset":26073,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":26075,"endOffset":26347,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":26349,"endOffset":26548,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":26550,"endOffset":26827,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":26829,"endOffset":27002,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":27004,"endOffset":27383,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":27385,"endOffset":28060,"count":0}],"isBlockCoverage":false},{"functionName":"isCustomIterable","ranges":[{"startOffset":28062,"endOffset":28176,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":28178,"endOffset":28419,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":28421,"endOffset":28765,"count":58},{"startOffset":28538,"endOffset":28544,"count":0},{"startOffset":28585,"endOffset":28622,"count":0}],"isBlockCoverage":true},{"functionName":"_watch","ranges":[{"startOffset":28767,"endOffset":29432,"count":0}],"isBlockCoverage":false}]},{"scriptId":"186","url":"node:internal/fs/rimraf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7454,"count":1}],"isBlockCoverage":false},{"functionName":"rimraf","ranges":[{"startOffset":1175,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_rimraf","ranges":[{"startOffset":1638,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERM","ranges":[{"startOffset":2499,"endOffset":2934,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdir","ranges":[{"startOffset":2937,"endOffset":3235,"count":0}],"isBlockCoverage":false},{"functionName":"_rmchildren","ranges":[{"startOffset":3238,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafPromises","ranges":[{"startOffset":3928,"endOffset":4126,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafSync","ranges":[{"startOffset":4129,"endOffset":4812,"count":0}],"isBlockCoverage":false},{"functionName":"_unlinkSync","ranges":[{"startOffset":4815,"endOffset":5444,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdirSync","ranges":[{"startOffset":5447,"endOffset":6944,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERMSync","ranges":[{"startOffset":6947,"endOffset":7394,"count":0}],"isBlockCoverage":false}]},{"scriptId":"187","url":"node:internal/fs/dir","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8071,"count":1}],"isBlockCoverage":false},{"functionName":"Dir","ranges":[{"startOffset":1177,"endOffset":1993,"count":0}],"isBlockCoverage":false},{"functionName":"get path","ranges":[{"startOffset":1997,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":2044,"endOffset":2111,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2115,"endOffset":3841,"count":0}],"isBlockCoverage":false},{"functionName":"processReadResult","ranges":[{"startOffset":3845,"endOffset":4099,"count":0}],"isBlockCoverage":false},{"functionName":"readSyncRecursive","ranges":[{"startOffset":4103,"endOffset":4676,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":4680,"endOffset":5656,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":5660,"endOffset":6349,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":6353,"endOffset":6730,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":6734,"endOffset":6997,"count":0}],"isBlockCoverage":false},{"functionName":"opendir","ranges":[{"startOffset":7177,"endOffset":7757,"count":0}],"isBlockCoverage":false},{"functionName":"opendirSync","ranges":[{"startOffset":7759,"endOffset":8014,"count":0}],"isBlockCoverage":false}]},{"scriptId":"188","url":"node:internal/fs/watchers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11242,"count":1}],"isBlockCoverage":false},{"functionName":"emitStop","ranges":[{"startOffset":1420,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher","ranges":[{"startOffset":1470,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"onchange","ranges":[{"startOffset":1820,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":2565,"endOffset":3399,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.start","ranges":[{"startOffset":3620,"endOffset":3628,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.stop","ranges":[{"startOffset":3874,"endOffset":4155,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":4244,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.ref","ranges":[{"startOffset":4702,"endOffset":4984,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.unref","ranges":[{"startOffset":5017,"endOffset":5267,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher","ranges":[{"startOffset":5271,"endOffset":6239,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.","ranges":[{"startOffset":6776,"endOffset":7686,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.start","ranges":[{"startOffset":7903,"endOffset":7911,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.close","ranges":[{"startOffset":8034,"endOffset":8371,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.ref","ranges":[{"startOffset":8400,"endOffset":8469,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.unref","ranges":[{"startOffset":8500,"endOffset":8571,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":8574,"endOffset":8626,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8850,"endOffset":8886,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8890,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":8967,"endOffset":11110,"count":0}],"isBlockCoverage":false}]},{"scriptId":"189","url":"node:internal/fs/recursive_watch","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7634,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFsPromises","ranges":[{"startOffset":812,"endOffset":919,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadFsSync","ranges":[{"startOffset":921,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"traverse","ranges":[{"startOffset":1037,"endOffset":1618,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1620,"endOffset":7580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"190","url":"node:internal/readline/interface","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":39029,"count":1}],"isBlockCoverage":false},{"functionName":"InterfaceConstructor","ranges":[{"startOffset":3781,"endOffset":9286,"count":0}],"isBlockCoverage":false},{"functionName":"Interface","ranges":[{"startOffset":9527,"endOffset":9627,"count":0}],"isBlockCoverage":false},{"functionName":"get columns","ranges":[{"startOffset":9630,"endOffset":9742,"count":0}],"isBlockCoverage":false},{"functionName":"setPrompt","ranges":[{"startOffset":9851,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"getPrompt","ranges":[{"startOffset":9996,"endOffset":10039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10043,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"prompt","ranges":[{"startOffset":10373,"endOffset":10627,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10631,"endOffset":10938,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10942,"endOffset":11184,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11188,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11279,"endOffset":11447,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11451,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11652,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12834,"endOffset":13839,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13923,"endOffset":14094,"count":0}],"isBlockCoverage":false},{"functionName":"pause","ranges":[{"startOffset":14175,"endOffset":14306,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":14398,"endOffset":14534,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":14805,"endOffset":14964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14968,"endOffset":16702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16706,"endOffset":17375,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17379,"endOffset":17778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17782,"endOffset":19990,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19994,"endOffset":20455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20459,"endOffset":20717,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20721,"endOffset":21203,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21207,"endOffset":21688,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21692,"endOffset":22452,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22456,"endOffset":22883,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22887,"endOffset":23165,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23169,"endOffset":23427,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23431,"endOffset":23691,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23695,"endOffset":23850,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23854,"endOffset":24529,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":24533,"endOffset":24682,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24686,"endOffset":24840,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24844,"endOffset":25031,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25035,"endOffset":25343,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25347,"endOffset":25655,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26090,"endOffset":26724,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26728,"endOffset":27436,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27511,"endOffset":28451,"count":0}],"isBlockCoverage":false},{"functionName":"getCursorPos","ranges":[{"startOffset":28628,"endOffset":28797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":28916,"endOffset":29473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29510,"endOffset":37760,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38068,"endOffset":38448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"191","url":"node:internal/readline/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12396,"count":1}],"isBlockCoverage":false},{"functionName":"CSI","ranges":[{"startOffset":385,"endOffset":579,"count":4},{"startOffset":544,"endOffset":559,"count":0}],"isBlockCoverage":true},{"functionName":"charLengthLeft","ranges":[{"startOffset":958,"endOffset":1220,"count":0}],"isBlockCoverage":false},{"functionName":"charLengthAt","ranges":[{"startOffset":1222,"endOffset":1484,"count":0}],"isBlockCoverage":false},{"functionName":"emitKeys","ranges":[{"startOffset":2213,"endOffset":11840,"count":0}],"isBlockCoverage":false},{"functionName":"commonPrefix","ranges":[{"startOffset":11870,"endOffset":12283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"192","url":"node:internal/readline/callbacks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2754,"count":1}],"isBlockCoverage":false},{"functionName":"cursorTo","ranges":[{"startOffset":460,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"moveCursor","ranges":[{"startOffset":1210,"endOffset":1722,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":1869,"endOffset":2272,"count":0}],"isBlockCoverage":false},{"functionName":"clearScreenDown","ranges":[{"startOffset":2349,"endOffset":2672,"count":0}],"isBlockCoverage":false}]},{"scriptId":"193","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/base.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7557,"count":1},{"startOffset":7375,"endOffset":7491,"count":0},{"startOffset":7522,"endOffset":7556,"count":0}],"isBlockCoverage":true},{"functionName":"exit","ranges":[{"startOffset":1052,"endOffset":1240,"count":1}],"isBlockCoverage":true},{"functionName":"handleProcessExit","ranges":[{"startOffset":1268,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":1946,"endOffset":6902,"count":1},{"startOffset":2368,"endOffset":2565,"count":0},{"startOffset":5638,"endOffset":5643,"count":0},{"startOffset":5646,"endOffset":5671,"count":0},{"startOffset":5908,"endOffset":5943,"count":0},{"startOffset":5944,"endOffset":5979,"count":0},{"startOffset":5981,"endOffset":6410,"count":0},{"startOffset":6682,"endOffset":6752,"count":0},{"startOffset":6756,"endOffset":6900,"count":0}],"isBlockCoverage":true},{"functionName":"checkSelectedByLineNumbers","ranges":[{"startOffset":2550,"endOffset":2561,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3090,"endOffset":3122,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3204,"endOffset":3232,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3256,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3420,"endOffset":4245,"count":1},{"startOffset":3523,"endOffset":3593,"count":0},{"startOffset":3598,"endOffset":3756,"count":0},{"startOffset":3831,"endOffset":4000,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3813,"endOffset":3823,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4030,"endOffset":4240,"count":1},{"startOffset":4087,"endOffset":4223,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4282,"endOffset":4421,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4602,"endOffset":4633,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4642,"endOffset":4668,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4927,"endOffset":5129,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":5197,"endOffset":5585,"count":1},{"startOffset":5343,"endOffset":5584,"count":0}],"isBlockCoverage":true},{"functionName":"onError","ranges":[{"startOffset":6921,"endOffset":7139,"count":0}],"isBlockCoverage":false}]},{"scriptId":"194","url":"node:internal/deps/cjs-module-lexer/dist/lexer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":33616,"count":1}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":116,"endOffset":813,"count":25},{"startOffset":146,"endOffset":181,"count":0},{"startOffset":222,"endOffset":237,"count":0},{"startOffset":273,"endOffset":308,"count":1},{"startOffset":332,"endOffset":334,"count":0},{"startOffset":406,"endOffset":553,"count":0},{"startOffset":601,"endOffset":650,"count":1},{"startOffset":663,"endOffset":696,"count":0},{"startOffset":709,"endOffset":773,"count":71}],"isBlockCoverage":true},{"functionName":"B","ranges":[{"startOffset":813,"endOffset":1040,"count":72},{"startOffset":840,"endOffset":852,"count":71},{"startOffset":853,"endOffset":862,"count":70},{"startOffset":862,"endOffset":913,"count":2},{"startOffset":913,"endOffset":1023,"count":25},{"startOffset":958,"endOffset":1022,"count":0},{"startOffset":1023,"endOffset":1032,"count":2},{"startOffset":1032,"endOffset":1039,"count":0}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":1040,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"C","ranges":[{"startOffset":1141,"endOffset":1215,"count":25},{"startOffset":1192,"endOffset":1214,"count":73749}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":1221,"endOffset":33616,"count":6},{"startOffset":1245,"endOffset":33615,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1251,"endOffset":33611,"count":1},{"startOffset":33455,"endOffset":33524,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":33505,"endOffset":33523,"count":0}],"isBlockCoverage":false}]},{"scriptId":"195","url":"node:module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":397,"count":1}],"isBlockCoverage":false}]},{"scriptId":"196","url":"node:internal/source_map/source_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12067,"count":1}],"isBlockCoverage":false},{"functionName":"StringCharIterator","ranges":[{"startOffset":4000,"endOffset":4076,"count":0}],"isBlockCoverage":false},{"functionName":"next","ranges":[{"startOffset":4114,"endOffset":4192,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":4230,"endOffset":4306,"count":0}],"isBlockCoverage":false},{"functionName":"hasNext","ranges":[{"startOffset":4345,"endOffset":4409,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4550,"endOffset":10030,"count":0}],"isBlockCoverage":false},{"functionName":"isSeparator","ranges":[{"startOffset":10085,"endOffset":10154,"count":0}],"isBlockCoverage":false},{"functionName":"decodeVLQ","ranges":[{"startOffset":10244,"endOffset":11177,"count":0}],"isBlockCoverage":false},{"functionName":"cloneSourceMapV3","ranges":[{"startOffset":11244,"endOffset":11556,"count":0}],"isBlockCoverage":false},{"functionName":"compareSourceMapEntry","ranges":[{"startOffset":11751,"endOffset":12030,"count":0}],"isBlockCoverage":false}]},{"scriptId":"197","url":"node:process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":83,"count":1}],"isBlockCoverage":false}]},{"scriptId":"198","url":"node:internal/process/report","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2644,"count":1}],"isBlockCoverage":false},{"functionName":"writeReport","ranges":[{"startOffset":352,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getReport","ranges":[{"startOffset":775,"endOffset":940,"count":0}],"isBlockCoverage":false},{"functionName":"get directory","ranges":[{"startOffset":944,"endOffset":995,"count":0}],"isBlockCoverage":false},{"functionName":"set directory","ranges":[{"startOffset":999,"endOffset":1087,"count":0}],"isBlockCoverage":false},{"functionName":"get filename","ranges":[{"startOffset":1091,"endOffset":1140,"count":0}],"isBlockCoverage":false},{"functionName":"set filename","ranges":[{"startOffset":1144,"endOffset":1232,"count":0}],"isBlockCoverage":false},{"functionName":"get compact","ranges":[{"startOffset":1236,"endOffset":1283,"count":0}],"isBlockCoverage":false},{"functionName":"set compact","ranges":[{"startOffset":1287,"endOffset":1364,"count":0}],"isBlockCoverage":false},{"functionName":"get signal","ranges":[{"startOffset":1368,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"set signal","ranges":[{"startOffset":1417,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnFatalError","ranges":[{"startOffset":1558,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnFatalError","ranges":[{"startOffset":1634,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnSignal","ranges":[{"startOffset":1756,"endOffset":1820,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnSignal","ranges":[{"startOffset":1824,"endOffset":1985,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnUncaughtException","ranges":[{"startOffset":1989,"endOffset":2075,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnUncaughtException","ranges":[{"startOffset":2079,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"addSignalHandler","ranges":[{"startOffset":2217,"endOffset":2388,"count":0}],"isBlockCoverage":false},{"functionName":"removeSignalHandler","ranges":[{"startOffset":2390,"endOffset":2514,"count":0}],"isBlockCoverage":false},{"functionName":"signalHandler","ranges":[{"startOffset":2516,"endOffset":2590,"count":0}],"isBlockCoverage":false}]},{"scriptId":"199","url":"node:url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":32640,"count":1}],"isBlockCoverage":false},{"functionName":"Url","ranges":[{"startOffset":2149,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"urlParse","ranges":[{"startOffset":3430,"endOffset":4035,"count":0}],"isBlockCoverage":false},{"functionName":"isIpv6Hostname","ranges":[{"startOffset":4037,"endOffset":4260,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":5081,"endOffset":15159,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname","ranges":[{"startOffset":15190,"endOffset":16135,"count":0}],"isBlockCoverage":false},{"functionName":"autoEscapeStr","ranges":[{"startOffset":17192,"endOffset":17898,"count":0}],"isBlockCoverage":false},{"functionName":"urlFormat","ranges":[{"startOffset":17944,"endOffset":19115,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":19822,"endOffset":22199,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolve","ranges":[{"startOffset":22202,"endOffset":22301,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":22327,"endOffset":22428,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolveObject","ranges":[{"startOffset":22431,"endOffset":22574,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObject","ranges":[{"startOffset":22606,"endOffset":31725,"count":0}],"isBlockCoverage":false},{"functionName":"parseHost","ranges":[{"startOffset":31754,"endOffset":32027,"count":0}],"isBlockCoverage":false},{"functionName":"pathToFileURL","ranges":[{"startOffset":32248,"endOffset":32344,"count":1}],"isBlockCoverage":true}]},{"scriptId":"200","url":"node:internal/idna","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":124,"count":1}],"isBlockCoverage":false}]},{"scriptId":"202","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/chalk.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":351,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":197,"endOffset":350,"count":1},{"startOffset":238,"endOffset":298,"count":0}],"isBlockCoverage":true}]},{"scriptId":"203","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/provider-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":455,"endOffset":1345,"count":1},{"startOffset":1293,"endOffset":1312,"count":0}],"isBlockCoverage":true},{"functionName":"negotiateProtocol","ranges":[{"startOffset":665,"endOffset":1273,"count":1},{"startOffset":840,"endOffset":978,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":748,"endOffset":803,"count":2}],"isBlockCoverage":true},{"functionName":"findFiles","ranges":[{"startOffset":1047,"endOffset":1178,"count":0}],"isBlockCoverage":false},{"functionName":"typescript","ranges":[{"startOffset":1383,"endOffset":1462,"count":1}],"isBlockCoverage":true}]},{"scriptId":"204","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17,"count":1}],"isBlockCoverage":true}]},{"scriptId":"205","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/runner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15654,"count":1}],"isBlockCoverage":true},{"functionName":"makeFileURL","ranges":[{"startOffset":520,"endOffset":594,"count":1},{"startOffset":555,"endOffset":561,"count":0}],"isBlockCoverage":true},{"functionName":"Runner","ranges":[{"startOffset":644,"endOffset":5705,"count":1},{"startOffset":725,"endOffset":730,"count":0},{"startOffset":978,"endOffset":983,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.registerUniqueTitle","ranges":[{"startOffset":1787,"endOffset":1911,"count":1},{"startOffset":1834,"endOffset":1858,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.notifyTimeoutUpdate","ranges":[{"startOffset":1943,"endOffset":2058,"count":0}],"isBlockCoverage":false},{"functionName":"get snapshotDirectory","ranges":[{"startOffset":2187,"endOffset":2366,"count":0}],"isBlockCoverage":false},{"functionName":"Runner.chain.createChain.serial","ranges":[{"startOffset":2401,"endOffset":5489,"count":1},{"startOffset":2480,"endOffset":2630,"count":0},{"startOffset":2925,"endOffset":2990,"count":0},{"startOffset":3014,"endOffset":3813,"count":0},{"startOffset":3846,"endOffset":3965,"count":0},{"startOffset":4006,"endOffset":4093,"count":0},{"startOffset":4134,"endOffset":4205,"count":0},{"startOffset":4267,"endOffset":4522,"count":0},{"startOffset":4600,"endOffset":4669,"count":0},{"startOffset":4714,"endOffset":4730,"count":0},{"startOffset":4870,"endOffset":4992,"count":0},{"startOffset":5028,"endOffset":5072,"count":0},{"startOffset":5106,"endOffset":5116,"count":0},{"startOffset":5365,"endOffset":5480,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2706,"endOffset":2762,"count":1}],"isBlockCoverage":true},{"functionName":"get snapshots","ranges":[{"startOffset":5708,"endOffset":6318,"count":2},{"startOffset":5749,"endOffset":6317,"count":1}],"isBlockCoverage":true},{"functionName":"compareTestSnapshot","ranges":[{"startOffset":6321,"endOffset":6396,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":6399,"endOffset":6472,"count":0}],"isBlockCoverage":false},{"functionName":"saveSnapshotState","ranges":[{"startOffset":6475,"endOffset":6559,"count":1}],"isBlockCoverage":true},{"functionName":"onRun","ranges":[{"startOffset":6562,"endOffset":6620,"count":1}],"isBlockCoverage":true},{"functionName":"onRunComplete","ranges":[{"startOffset":6623,"endOffset":6692,"count":1}],"isBlockCoverage":true},{"functionName":"beforeExitHandler","ranges":[{"startOffset":6695,"endOffset":6809,"count":0}],"isBlockCoverage":false},{"functionName":"runMultiple","ranges":[{"startOffset":6812,"endOffset":8056,"count":6}],"isBlockCoverage":true},{"functionName":"runAndStoreResult","ranges":[{"startOffset":6923,"endOffset":7081,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7150,"endOffset":7998,"count":0}],"isBlockCoverage":false},{"functionName":"runSingle","ranges":[{"startOffset":8059,"endOffset":8330,"count":1}],"isBlockCoverage":true},{"functionName":"runHooks","ranges":[{"startOffset":8333,"endOffset":9506,"count":6},{"startOffset":9070,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8427,"endOffset":8959,"count":0}],"isBlockCoverage":false},{"functionName":"runTest","ranges":[{"startOffset":9509,"endOffset":11470,"count":1},{"startOffset":10007,"endOffset":10073,"count":0},{"startOffset":10940,"endOffset":11271,"count":0}],"isBlockCoverage":true},{"functionName":"Runnable.fn","ranges":[{"startOffset":10009,"endOffset":10073,"count":0}],"isBlockCoverage":false},{"functionName":"start","ranges":[{"startOffset":11473,"endOffset":15605,"count":1},{"startOffset":11619,"endOffset":12250,"count":0},{"startOffset":12327,"endOffset":12354,"count":0},{"startOffset":12356,"endOffset":12443,"count":0},{"startOffset":12484,"endOffset":12510,"count":0},{"startOffset":12512,"endOffset":12599,"count":0},{"startOffset":12810,"endOffset":12883,"count":0},{"startOffset":12906,"endOffset":12940,"count":0},{"startOffset":13028,"endOffset":13347,"count":0},{"startOffset":13425,"endOffset":13452,"count":0},{"startOffset":13454,"endOffset":13550,"count":0},{"startOffset":15547,"endOffset":15602,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13777,"endOffset":14380,"count":1},{"startOffset":13868,"endOffset":13892,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13923,"endOffset":14368,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14460,"endOffset":15058,"count":1},{"startOffset":14653,"endOffset":14669,"count":0},{"startOffset":14672,"endOffset":14696,"count":0},{"startOffset":14767,"endOffset":14790,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14971,"endOffset":15016,"count":1}],"isBlockCoverage":true},{"functionName":"interrupt","ranges":[{"startOffset":15608,"endOffset":15651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"206","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/serialize-error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4398,"count":1}],"isBlockCoverage":true},{"functionName":"isAvaAssertionError","ranges":[{"startOffset":385,"endOffset":467,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":469,"endOffset":614,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFile","ranges":[{"startOffset":616,"endOffset":756,"count":0}],"isBlockCoverage":false},{"functionName":"extractSource","ranges":[{"startOffset":795,"endOffset":1211,"count":0}],"isBlockCoverage":false},{"functionName":"buildSource","ranges":[{"startOffset":1213,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"trySerializeError","ranges":[{"startOffset":1957,"endOffset":3743,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":3760,"endOffset":4397,"count":0}],"isBlockCoverage":false}]},{"scriptId":"207","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/dependency-tracker.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":866,"count":1}],"isBlockCoverage":true},{"functionName":"flush","ranges":[{"startOffset":138,"endOffset":302,"count":2},{"startOffset":192,"endOffset":301,"count":1}],"isBlockCoverage":true},{"functionName":"track","ranges":[{"startOffset":304,"endOffset":519,"count":5},{"startOffset":368,"endOffset":382,"count":0},{"startOffset":419,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"install","ranges":[{"startOffset":556,"endOffset":836,"count":1},{"startOffset":633,"endOffset":833,"count":3}],"isBlockCoverage":true},{"functionName":"extensions.","ranges":[{"startOffset":700,"endOffset":828,"count":4}],"isBlockCoverage":true}]},{"scriptId":"208","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/line-numbers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3832,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":215,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"findTest","ranges":[{"startOffset":878,"endOffset":1452,"count":0}],"isBlockCoverage":false},{"functionName":"range","ranges":[{"startOffset":1468,"endOffset":1574,"count":0}],"isBlockCoverage":false},{"functionName":"translate","ranges":[{"startOffset":1595,"endOffset":2066,"count":0}],"isBlockCoverage":false},{"functionName":"lineNumberSelection","ranges":[{"startOffset":2084,"endOffset":3831,"count":1},{"startOffset":2196,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2334,"endOffset":3828,"count":0}],"isBlockCoverage":false}]},{"scriptId":"209","url":"node:internal/fs/streams","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14758,"count":1}],"isBlockCoverage":false},{"functionName":"_construct","ranges":[{"startOffset":1063,"endOffset":1966,"count":0}],"isBlockCoverage":false},{"functionName":"FileHandleOperations","ranges":[{"startOffset":2059,"endOffset":3058,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":3061,"endOffset":3238,"count":0}],"isBlockCoverage":false},{"functionName":"importFd","ranges":[{"startOffset":3240,"endOffset":4237,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream","ranges":[{"startOffset":4239,"endOffset":5982,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6171,"endOffset":6226,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6230,"endOffset":6287,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6323,"endOffset":6348,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._read","ranges":[{"startOffset":6524,"endOffset":7655,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._destroy","ranges":[{"startOffset":7690,"endOffset":8251,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.close","ranges":[{"startOffset":8283,"endOffset":8369,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8449,"endOffset":8483,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":8512,"endOffset":10303,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":10495,"endOffset":10550,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10554,"endOffset":10611,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10648,"endOffset":10673,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":10824,"endOffset":11617,"count":0}],"isBlockCoverage":false},{"functionName":"writevAll","ranges":[{"startOffset":11619,"endOffset":12436,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._write","ranges":[{"startOffset":12469,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._writev","ranges":[{"startOffset":12888,"endOffset":13450,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._destroy","ranges":[{"startOffset":13486,"endOffset":14047,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.close","ranges":[{"startOffset":14080,"endOffset":14462,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":14644,"endOffset":14678,"count":0}],"isBlockCoverage":false}]},{"scriptId":"210","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5900,"count":1},{"startOffset":1472,"endOffset":1706,"count":45},{"startOffset":2476,"endOffset":3149,"count":3},{"startOffset":5468,"endOffset":5471,"count":0}],"isBlockCoverage":true},{"functionName":"applyOptions","ranges":[{"startOffset":571,"endOffset":950,"count":5},{"startOffset":618,"endOffset":699,"count":3},{"startOffset":701,"endOffset":779,"count":0},{"startOffset":870,"endOffset":873,"count":0},{"startOffset":919,"endOffset":931,"count":2},{"startOffset":932,"endOffset":947,"count":3}],"isBlockCoverage":true},{"functionName":"Chalk","ranges":[{"startOffset":975,"endOffset":1084,"count":3}],"isBlockCoverage":true},{"functionName":"chalkFactory","ranges":[{"startOffset":1109,"endOffset":1275,"count":5}],"isBlockCoverage":true},{"functionName":"chalk","ranges":[{"startOffset":1137,"endOffset":1170,"count":0}],"isBlockCoverage":false},{"functionName":"createChalk","ranges":[{"startOffset":1278,"endOffset":1342,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1499,"endOffset":1699,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1728,"endOffset":1875,"count":0}],"isBlockCoverage":false},{"functionName":"getModelAnsi","ranges":[{"startOffset":1902,"endOffset":2394,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2499,"endOffset":2771,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2866,"endOffset":3142,"count":0}],"isBlockCoverage":false},{"functionName":"Object.defineProperties","ranges":[{"startOffset":3189,"endOffset":3197,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3245,"endOffset":3289,"count":20}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3293,"endOffset":3343,"count":0}],"isBlockCoverage":false},{"functionName":"createStyler","ranges":[{"startOffset":3375,"endOffset":3650,"count":4},{"startOffset":3500,"endOffset":3583,"count":0}],"isBlockCoverage":true},{"functionName":"createBuilder","ranges":[{"startOffset":3675,"endOffset":4243,"count":4}],"isBlockCoverage":true},{"functionName":"builder","ranges":[{"startOffset":3848,"endOffset":3959,"count":20},{"startOffset":3936,"endOffset":3958,"count":0}],"isBlockCoverage":true},{"functionName":"applyStyle","ranges":[{"startOffset":4265,"endOffset":5300,"count":20},{"startOffset":4318,"endOffset":4361,"count":0},{"startOffset":4419,"endOffset":4440,"count":0},{"startOffset":4511,"endOffset":4840,"count":0},{"startOffset":5177,"endOffset":5260,"count":0}],"isBlockCoverage":true}]},{"scriptId":"211","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/globs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6300,"count":1}],"isBlockCoverage":true},{"functionName":"buildExtensionPattern","ranges":[{"startOffset":755,"endOffset":838,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeGlobs","ranges":[{"startOffset":848,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"globFiles","ranges":[{"startOffset":3027,"endOffset":3288,"count":0}],"isBlockCoverage":false},{"functionName":"globDirectoriesSync","ranges":[{"startOffset":3319,"endOffset":3578,"count":0}],"isBlockCoverage":false},{"functionName":"findFiles","ranges":[{"startOffset":3588,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"findTests","ranges":[{"startOffset":3771,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getChokidarIgnorePatterns","ranges":[{"startOffset":3974,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"applyTestFileFilter","ranges":[{"startOffset":4200,"endOffset":6299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"212","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13357,"count":1}],"isBlockCoverage":true},{"functionName":"assertEventName","ranges":[{"startOffset":349,"endOffset":569,"count":14},{"startOffset":422,"endOffset":454,"count":4},{"startOffset":455,"endOffset":487,"count":0},{"startOffset":489,"endOffset":567,"count":0}],"isBlockCoverage":true},{"functionName":"assertListener","ranges":[{"startOffset":571,"endOffset":704,"count":4},{"startOffset":644,"endOffset":702,"count":0}],"isBlockCoverage":true},{"functionName":"getListeners","ranges":[{"startOffset":706,"endOffset":869,"count":14},{"startOffset":821,"endOffset":835,"count":8},{"startOffset":835,"endOffset":868,"count":6}],"isBlockCoverage":true},{"functionName":"getEventProducers","ranges":[{"startOffset":871,"endOffset":1175,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueProducers","ranges":[{"startOffset":1177,"endOffset":1587,"count":10},{"startOffset":1315,"endOffset":1408,"count":0},{"startOffset":1550,"endOffset":1582,"count":0}],"isBlockCoverage":true},{"functionName":"iterator","ranges":[{"startOffset":1589,"endOffset":2972,"count":0}],"isBlockCoverage":false},{"functionName":"defaultMethodNamesOrAssert","ranges":[{"startOffset":2974,"endOffset":3495,"count":0}],"isBlockCoverage":false},{"functionName":"isMetaEvent","ranges":[{"startOffset":3517,"endOffset":3590,"count":28},{"startOffset":3558,"endOffset":3590,"count":16}],"isBlockCoverage":true},{"functionName":"emitMetaEvent","ranges":[{"startOffset":3593,"endOffset":3808,"count":4}],"isBlockCoverage":true},{"functionName":"mixin","ranges":[{"startOffset":3850,"endOffset":4933,"count":0}],"isBlockCoverage":false},{"functionName":"get isDebugEnabled","ranges":[{"startOffset":4943,"endOffset":5528,"count":14},{"startOffset":5304,"endOffset":5341,"count":0},{"startOffset":5432,"endOffset":5444,"count":0}],"isBlockCoverage":true},{"functionName":"set isDebugEnabled","ranges":[{"startOffset":5538,"endOffset":5606,"count":0}],"isBlockCoverage":false},{"functionName":"Emittery","ranges":[{"startOffset":5609,"endOffset":6731,"count":1}],"isBlockCoverage":true},{"functionName":"Emittery.debug.logger","ranges":[{"startOffset":5961,"endOffset":6723,"count":0}],"isBlockCoverage":false},{"functionName":"logIfDebugEnabled","ranges":[{"startOffset":6734,"endOffset":6910,"count":14},{"startOffset":6835,"endOffset":6907,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":6913,"endOffset":7515,"count":4},{"startOffset":7010,"endOffset":7022,"count":0}],"isBlockCoverage":true},{"functionName":"off","ranges":[{"startOffset":7518,"endOffset":8087,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":8090,"endOffset":8292,"count":0}],"isBlockCoverage":false},{"functionName":"events","ranges":[{"startOffset":8295,"endOffset":8501,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":8504,"endOffset":9384,"count":10},{"startOffset":8599,"endOffset":8620,"count":4},{"startOffset":8622,"endOffset":8724,"count":0},{"startOffset":8882,"endOffset":8894,"count":4},{"startOffset":9031,"endOffset":9035,"count":4},{"startOffset":9036,"endOffset":9055,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9131,"endOffset":9229,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9261,"endOffset":9373,"count":0}],"isBlockCoverage":false},{"functionName":"emitSerial","ranges":[{"startOffset":9387,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"onAny","ranges":[{"startOffset":10237,"endOffset":10478,"count":0}],"isBlockCoverage":false},{"functionName":"anyEvent","ranges":[{"startOffset":10481,"endOffset":10521,"count":0}],"isBlockCoverage":false},{"functionName":"offAny","ranges":[{"startOffset":10524,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"clearListeners","ranges":[{"startOffset":10733,"endOffset":11739,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":11742,"endOffset":12458,"count":0}],"isBlockCoverage":false},{"functionName":"bindMethods","ranges":[{"startOffset":12461,"endOffset":12966,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13051,"endOffset":13075,"count":14}],"isBlockCoverage":true}]},{"scriptId":"213","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/matcher/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2646,"count":1}],"isBlockCoverage":true},{"functionName":"sanitizeArray","ranges":[{"startOffset":110,"endOffset":713,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegexp","ranges":[{"startOffset":735,"endOffset":1261,"count":0}],"isBlockCoverage":false},{"functionName":"baseMatcher","ranges":[{"startOffset":1284,"endOffset":2412,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2422,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"isMatch","ranges":[{"startOffset":2533,"endOffset":2645,"count":0}],"isBlockCoverage":false}]},{"scriptId":"214","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/context-ref.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":555,"count":1}],"isBlockCoverage":true},{"functionName":"ContextRef","ranges":[{"startOffset":35,"endOffset":72,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":75,"endOffset":106,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":109,"endOffset":152,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":155,"endOffset":198,"count":1}],"isBlockCoverage":true},{"functionName":"LateBinding","ranges":[{"startOffset":242,"endOffset":314,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":317,"endOffset":487,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":490,"endOffset":552,"count":0}],"isBlockCoverage":false}]},{"scriptId":"215","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/create-chain.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4371,"count":1}],"isBlockCoverage":true},{"functionName":"startChain","ranges":[{"startOffset":38,"endOffset":265,"count":11}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":94,"endOffset":140,"count":1}],"isBlockCoverage":true},{"functionName":"extendChain","ranges":[{"startOffset":267,"endOffset":633,"count":27},{"startOffset":324,"endOffset":343,"count":7}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":357,"endOffset":412,"count":0}],"isBlockCoverage":false},{"functionName":"callWithFlag","ranges":[{"startOffset":635,"endOffset":965,"count":0}],"isBlockCoverage":false},{"functionName":"createHookChain","ranges":[{"startOffset":967,"endOffset":1316,"count":8},{"startOffset":1217,"endOffset":1299,"count":4}],"isBlockCoverage":true},{"functionName":"createChain","ranges":[{"startOffset":1333,"endOffset":4370,"count":1}],"isBlockCoverage":true},{"functionName":"root.macro","ranges":[{"startOffset":3411,"endOffset":3580,"count":0}],"isBlockCoverage":false},{"functionName":"apply","ranges":[{"startOffset":4105,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4196,"endOffset":4341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"216","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/parse-test-args.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":701,"count":1}],"isBlockCoverage":true},{"functionName":"buildTitle","ranges":[{"startOffset":19,"endOffset":366,"count":1},{"startOffset":104,"endOffset":140,"count":0}],"isBlockCoverage":true},{"functionName":"parseTestArgs","ranges":[{"startOffset":384,"endOffset":700,"count":1},{"startOffset":476,"endOffset":487,"count":0},{"startOffset":602,"endOffset":623,"count":0}],"isBlockCoverage":true}]},{"scriptId":"217","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/snapshot-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13174,"count":1}],"isBlockCoverage":true},{"functionName":"SnapshotError","ranges":[{"startOffset":1259,"endOffset":1371,"count":0}],"isBlockCoverage":false},{"functionName":"ChecksumError","ranges":[{"startOffset":1427,"endOffset":1524,"count":0}],"isBlockCoverage":false},{"functionName":"VersionMismatchError","ranges":[{"startOffset":1587,"endOffset":1774,"count":0}],"isBlockCoverage":false},{"functionName":"InvalidSnapshotError","ranges":[{"startOffset":1837,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"isLegacySnapshot","ranges":[{"startOffset":2016,"endOffset":2144,"count":0}],"isBlockCoverage":false},{"functionName":"LegacyError","ranges":[{"startOffset":2196,"endOffset":2294,"count":0}],"isBlockCoverage":false},{"functionName":"tryRead","ranges":[{"startOffset":2298,"endOffset":2454,"count":1},{"startOffset":2433,"endOffset":2452,"count":0}],"isBlockCoverage":true},{"functionName":"formatEntry","ranges":[{"startOffset":2456,"endOffset":2875,"count":0}],"isBlockCoverage":false},{"functionName":"combineEntries","ranges":[{"startOffset":2877,"endOffset":3292,"count":0}],"isBlockCoverage":false},{"functionName":"generateReport","ranges":[{"startOffset":3294,"endOffset":3611,"count":0}],"isBlockCoverage":false},{"functionName":"BufferBuilder","ranges":[{"startOffset":3636,"endOffset":3698,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":3701,"endOffset":3818,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3821,"endOffset":4011,"count":0}],"isBlockCoverage":false},{"functionName":"toBuffer","ranges":[{"startOffset":4014,"endOffset":4084,"count":0}],"isBlockCoverage":false},{"functionName":"sortBlocks","ranges":[{"startOffset":4088,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"encodeSnapshots","ranges":[{"startOffset":4450,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"decodeSnapshots","ranges":[{"startOffset":5016,"endOffset":5987,"count":0}],"isBlockCoverage":false},{"functionName":"Manager","ranges":[{"startOffset":6006,"endOffset":6530,"count":1}],"isBlockCoverage":true},{"functionName":"touch","ranges":[{"startOffset":6533,"endOffset":6604,"count":1}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":6607,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"recordSerialized","ranges":[{"startOffset":7345,"endOffset":8027,"count":0}],"isBlockCoverage":false},{"functionName":"deferRecord","ranges":[{"startOffset":8030,"endOffset":8370,"count":0}],"isBlockCoverage":false},{"functionName":"record","ranges":[{"startOffset":8373,"endOffset":8449,"count":0}],"isBlockCoverage":false},{"functionName":"skipBlock","ranges":[{"startOffset":8452,"endOffset":8587,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":8590,"endOffset":9164,"count":0}],"isBlockCoverage":false},{"functionName":"save","ranges":[{"startOffset":9167,"endOffset":10106,"count":1},{"startOffset":9266,"endOffset":9301,"count":0},{"startOffset":9303,"endOffset":9421,"count":0},{"startOffset":9468,"endOffset":10105,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9565,"endOffset":9604,"count":0}],"isBlockCoverage":false},{"functionName":"tmpfileCreated","ranges":[{"startOffset":9845,"endOffset":9878,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10140,"endOffset":10658,"count":1},{"startOffset":10399,"endOffset":10420,"count":0},{"startOffset":10441,"endOffset":10632,"count":0},{"startOffset":10635,"endOffset":10655,"count":0}],"isBlockCoverage":true},{"functionName":"mem.cacheKey.file.file","ranges":[{"startOffset":10702,"endOffset":11285,"count":1},{"startOffset":10819,"endOffset":10947,"count":0},{"startOffset":11054,"endOffset":11104,"count":0},{"startOffset":11265,"endOffset":11284,"count":0}],"isBlockCoverage":true},{"functionName":"cacheKey","ranges":[{"startOffset":11298,"endOffset":11316,"count":1}],"isBlockCoverage":true},{"functionName":"determineSnapshotPaths","ranges":[{"startOffset":11321,"endOffset":11775,"count":1}],"isBlockCoverage":true},{"functionName":"cleanFile","ranges":[{"startOffset":11777,"endOffset":11941,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":11950,"endOffset":13173,"count":1},{"startOffset":12141,"endOffset":12274,"count":0},{"startOffset":12552,"endOffset":13125,"count":0},{"startOffset":13126,"endOffset":13141,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12700,"endOffset":12737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"218","url":"node:internal/file","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1801,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":424,"endOffset":1563,"count":0}],"isBlockCoverage":false}]},{"scriptId":"219","url":"node:crypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8825,"count":1}],"isBlockCoverage":false},{"functionName":"lazyWebCrypto","ranges":[{"startOffset":3084,"endOffset":3186,"count":6}],"isBlockCoverage":true},{"functionName":"lazyOwnsProcessState","ranges":[{"startOffset":3210,"endOffset":3340,"count":0}],"isBlockCoverage":false},{"functionName":"createHash","ranges":[{"startOffset":3482,"endOffset":3564,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3566,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"createCipheriv","ranges":[{"startOffset":3668,"endOffset":3770,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipher","ranges":[{"startOffset":3772,"endOffset":3876,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipheriv","ranges":[{"startOffset":3878,"endOffset":3984,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellman","ranges":[{"startOffset":3986,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellmanGroup","ranges":[{"startOffset":4144,"endOffset":4226,"count":0}],"isBlockCoverage":false},{"functionName":"createECDH","ranges":[{"startOffset":4228,"endOffset":4284,"count":0}],"isBlockCoverage":false},{"functionName":"createHmac","ranges":[{"startOffset":4286,"endOffset":4368,"count":0}],"isBlockCoverage":false},{"functionName":"createSign","ranges":[{"startOffset":4370,"endOffset":4452,"count":0}],"isBlockCoverage":false},{"functionName":"createVerify","ranges":[{"startOffset":4454,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"getFips","ranges":[{"startOffset":5583,"endOffset":5668,"count":0}],"isBlockCoverage":false},{"functionName":"setFips","ranges":[{"startOffset":5670,"endOffset":5954,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":5956,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6125,"endOffset":6379,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6383,"endOffset":6572,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomBytesAlias","ranges":[{"startOffset":6621,"endOffset":7454,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6719,"endOffset":7209,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7215,"endOffset":7446,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8198,"endOffset":8238,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8350,"endOffset":8397,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8523,"endOffset":8544,"count":3}],"isBlockCoverage":true}]},{"scriptId":"220","url":"node:internal/crypto/random","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16246,"count":1}],"isBlockCoverage":false},{"functionName":"assertOffset","ranges":[{"startOffset":1260,"endOffset":1626,"count":0}],"isBlockCoverage":false},{"functionName":"assertSize","ranges":[{"startOffset":1628,"endOffset":2089,"count":0}],"isBlockCoverage":false},{"functionName":"randomBytes","ranges":[{"startOffset":2091,"endOffset":2634,"count":0}],"isBlockCoverage":false},{"functionName":"randomFillSync","ranges":[{"startOffset":2636,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"randomFill","ranges":[{"startOffset":3306,"endOffset":4352,"count":0}],"isBlockCoverage":false},{"functionName":"randomInt","ranges":[{"startOffset":4902,"endOffset":7142,"count":0}],"isBlockCoverage":false},{"functionName":"asyncRefillRandomIntCache","ranges":[{"startOffset":7144,"endOffset":8020,"count":0}],"isBlockCoverage":false},{"functionName":"onJobDone","ranges":[{"startOffset":8023,"endOffset":8185,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":8417,"endOffset":9033,"count":0}],"isBlockCoverage":false},{"functionName":"getHexBytes","ranges":[{"startOffset":9398,"endOffset":9697,"count":0}],"isBlockCoverage":false},{"functionName":"serializeUUID","ranges":[{"startOffset":9699,"endOffset":10425,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedUUID","ranges":[{"startOffset":10427,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"getUnbufferedUUID","ranges":[{"startOffset":10732,"endOffset":10970,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":10972,"endOffset":11292,"count":0}],"isBlockCoverage":false},{"functionName":"createRandomPrimeJob","ranges":[{"startOffset":11294,"endOffset":12527,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrime","ranges":[{"startOffset":12529,"endOffset":12985,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrimeSync","ranges":[{"startOffset":12987,"endOffset":13245,"count":0}],"isBlockCoverage":false},{"functionName":"numberToHexCharCode","ranges":[{"startOffset":13519,"endOffset":13563,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBufferToUnsignedBigInt","ranges":[{"startOffset":13638,"endOffset":14065,"count":0}],"isBlockCoverage":false},{"functionName":"unsignedBigIntToBuffer","ranges":[{"startOffset":14067,"endOffset":14364,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrime","ranges":[{"startOffset":14366,"endOffset":15259,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrimeSync","ranges":[{"startOffset":15261,"endOffset":16059,"count":0}],"isBlockCoverage":false}]},{"scriptId":"221","url":"node:internal/crypto/pbkdf2","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3018,"count":1}],"isBlockCoverage":false},{"functionName":"pbkdf2","ranges":[{"startOffset":472,"endOffset":1136,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2Sync","ranges":[{"startOffset":1138,"endOffset":1543,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1545,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2DeriveBits","ranges":[{"startOffset":2059,"endOffset":2950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"222","url":"node:internal/crypto/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14973,"count":1}],"isBlockCoverage":false},{"functionName":"toBuf","ranges":[{"startOffset":1730,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1943,"endOffset":1986,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2020,"endOffset":2062,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2096,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"setEngine","ranges":[{"startOffset":2142,"endOffset":2549,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2596,"endOffset":3060,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBufferLength","ranges":[{"startOffset":6504,"endOffset":6717,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeAlgorithm","ranges":[{"startOffset":6943,"endOffset":9378,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayBuffer","ranges":[{"startOffset":9380,"endOffset":9519,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteOffset","ranges":[{"startOffset":9521,"endOffset":9672,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteLength","ranges":[{"startOffset":9674,"endOffset":9825,"count":0}],"isBlockCoverage":false},{"functionName":"hasAnyNotIn","ranges":[{"startOffset":9827,"endOffset":9966,"count":0}],"isBlockCoverage":false},{"functionName":"validateBitLength","ranges":[{"startOffset":9968,"endOffset":10310,"count":0}],"isBlockCoverage":false},{"functionName":"validateByteLength","ranges":[{"startOffset":10312,"endOffset":10508,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10553,"endOffset":10822,"count":0}],"isBlockCoverage":false},{"functionName":"onDone","ranges":[{"startOffset":10826,"endOffset":11058,"count":0}],"isBlockCoverage":false},{"functionName":"jobPromise","ranges":[{"startOffset":11060,"endOffset":11330,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedInt","ranges":[{"startOffset":11866,"endOffset":12146,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedBigInt","ranges":[{"startOffset":12148,"endOffset":12384,"count":0}],"isBlockCoverage":false},{"functionName":"getStringOption","ranges":[{"startOffset":12386,"endOffset":12551,"count":0}],"isBlockCoverage":false},{"functionName":"getUsagesUnion","ranges":[{"startOffset":12553,"endOffset":12765,"count":0}],"isBlockCoverage":false},{"functionName":"getBlockSize","ranges":[{"startOffset":12767,"endOffset":12948,"count":0}],"isBlockCoverage":false},{"functionName":"validateKeyOps","ranges":[{"startOffset":13087,"endOffset":14053,"count":0}],"isBlockCoverage":false},{"functionName":"secureHeapUsed","ranges":[{"startOffset":14055,"endOffset":14438,"count":0}],"isBlockCoverage":false}]},{"scriptId":"223","url":"node:internal/crypto/hashnames","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2520,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeHashName","ranges":[{"startOffset":1890,"endOffset":2133,"count":0}],"isBlockCoverage":false}]},{"scriptId":"224","url":"node:internal/crypto/scrypt","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3331,"count":1}],"isBlockCoverage":false},{"functionName":"scrypt","ranges":[{"startOffset":626,"endOffset":1292,"count":0}],"isBlockCoverage":false},{"functionName":"scryptSync","ranges":[{"startOffset":1294,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1702,"endOffset":3283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"225","url":"node:internal/crypto/hkdf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3304,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":816,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"prepareKey","ranges":[{"startOffset":1274,"endOffset":1702,"count":0}],"isBlockCoverage":false},{"functionName":"hkdf","ranges":[{"startOffset":1704,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfSync","ranges":[{"startOffset":2172,"endOffset":2510,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfDeriveBits","ranges":[{"startOffset":2549,"endOffset":3242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"226","url":"node:internal/crypto/keys","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21401,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2331,"endOffset":6452,"count":1}],"isBlockCoverage":true},{"functionName":"KeyObject","ranges":[{"startOffset":2441,"endOffset":2983,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":2989,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":3049,"endOffset":3190,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":3196,"endOffset":3480,"count":0}],"isBlockCoverage":false},{"functionName":"SecretKeyObject","ranges":[{"startOffset":3698,"endOffset":3756,"count":0}],"isBlockCoverage":false},{"functionName":"get symmetricKeySize","ranges":[{"startOffset":3762,"endOffset":3842,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":3848,"endOffset":4196,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeKeyDetails","ranges":[{"startOffset":4329,"endOffset":4598,"count":0}],"isBlockCoverage":false},{"functionName":"AsymmetricKeyObject","ranges":[{"startOffset":4707,"endOffset":4767,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyType","ranges":[{"startOffset":4773,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyDetails","ranges":[{"startOffset":4931,"endOffset":5308,"count":0}],"isBlockCoverage":false},{"functionName":"PublicKeyObject","ranges":[{"startOffset":5372,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5436,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"PrivateKeyObject","ranges":[{"startOffset":5792,"endOffset":5851,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5857,"endOffset":6371,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormat","ranges":[{"startOffset":6456,"endOffset":6841,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyType","ranges":[{"startOffset":6843,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"option","ranges":[{"startOffset":7697,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormatAndType","ranges":[{"startOffset":7820,"endOffset":8520,"count":0}],"isBlockCoverage":false},{"functionName":"isStringOrBuffer","ranges":[{"startOffset":8522,"endOffset":8659,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":8661,"endOffset":10019,"count":0}],"isBlockCoverage":false},{"functionName":"parsePublicKeyEncoding","ranges":[{"startOffset":10218,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"parsePrivateKeyEncoding","ranges":[{"startOffset":10554,"endOffset":10670,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandle","ranges":[{"startOffset":10672,"endOffset":11250,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyTypes","ranges":[{"startOffset":11252,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandleFromJwk","ranges":[{"startOffset":11759,"endOffset":14308,"count":0}],"isBlockCoverage":false},{"functionName":"prepareAsymmetricKey","ranges":[{"startOffset":14310,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"preparePrivateKey","ranges":[{"startOffset":15855,"endOffset":15943,"count":0}],"isBlockCoverage":false},{"functionName":"preparePublicOrPrivateKey","ranges":[{"startOffset":15945,"endOffset":16040,"count":0}],"isBlockCoverage":false},{"functionName":"prepareSecretKey","ranges":[{"startOffset":16042,"endOffset":16740,"count":0}],"isBlockCoverage":false},{"functionName":"createSecretKey","ranges":[{"startOffset":16742,"endOffset":16946,"count":0}],"isBlockCoverage":false},{"functionName":"createPublicKey","ranges":[{"startOffset":16948,"endOffset":17285,"count":0}],"isBlockCoverage":false},{"functionName":"createPrivateKey","ranges":[{"startOffset":17287,"endOffset":17628,"count":0}],"isBlockCoverage":false},{"functionName":"isKeyObject","ranges":[{"startOffset":17630,"endOffset":17712,"count":0}],"isBlockCoverage":false},{"functionName":"CryptoKey","ranges":[{"startOffset":18135,"endOffset":18195,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18199,"endOffset":18548,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":18552,"endOffset":18687,"count":0}],"isBlockCoverage":false},{"functionName":"get extractable","ranges":[{"startOffset":18691,"endOffset":18830,"count":0}],"isBlockCoverage":false},{"functionName":"get algorithm","ranges":[{"startOffset":18834,"endOffset":18969,"count":0}],"isBlockCoverage":false},{"functionName":"get usages","ranges":[{"startOffset":18973,"endOffset":19116,"count":0}],"isBlockCoverage":false},{"functionName":"InternalCryptoKey","ranges":[{"startOffset":19694,"endOffset":20173,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20177,"endOffset":20529,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20533,"endOffset":20737,"count":0}],"isBlockCoverage":false},{"functionName":"isCryptoKey","ranges":[{"startOffset":20866,"endOffset":20950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"227","url":"node:internal/crypto/keygen","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10712,"count":1}],"isBlockCoverage":false},{"functionName":"isJwk","ranges":[{"startOffset":1183,"endOffset":1253,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":1255,"endOffset":1409,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPair","ranges":[{"startOffset":1411,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPairSync","ranges":[{"startOffset":2193,"endOffset":2310,"count":0}],"isBlockCoverage":false},{"functionName":"handleError","ranges":[{"startOffset":2312,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":2692,"endOffset":3942,"count":0}],"isBlockCoverage":false},{"functionName":"createJob","ranges":[{"startOffset":3944,"endOffset":9232,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyJob","ranges":[{"startOffset":9263,"endOffset":9800,"count":0}],"isBlockCoverage":false},{"functionName":"handleGenerateKeyError","ranges":[{"startOffset":9802,"endOffset":10004,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":10006,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeySync","ranges":[{"startOffset":10478,"endOffset":10612,"count":0}],"isBlockCoverage":false}]},{"scriptId":"228","url":"node:internal/crypto/diffiehellman","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9910,"count":1}],"isBlockCoverage":false},{"functionName":"DiffieHellman","ranges":[{"startOffset":1232,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"DiffieHellmanGroup","ranges":[{"startOffset":3039,"endOffset":3365,"count":0}],"isBlockCoverage":false},{"functionName":"dhGenerateKeys","ranges":[{"startOffset":3476,"endOffset":3591,"count":0}],"isBlockCoverage":false},{"functionName":"dhComputeSecret","ranges":[{"startOffset":3705,"endOffset":3963,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrime","ranges":[{"startOffset":4062,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetGenerator","ranges":[{"startOffset":4282,"endOffset":4407,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPublicKey","ranges":[{"startOffset":4518,"endOffset":4631,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrivateKey","ranges":[{"startOffset":4745,"endOffset":4860,"count":0}],"isBlockCoverage":false},{"functionName":"setPublicKey","ranges":[{"startOffset":4902,"endOffset":5044,"count":0}],"isBlockCoverage":false},{"functionName":"setPrivateKey","ranges":[{"startOffset":5088,"endOffset":5232,"count":0}],"isBlockCoverage":false},{"functionName":"ECDH","ranges":[{"startOffset":5236,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeys","ranges":[{"startOffset":5701,"endOffset":5823,"count":0}],"isBlockCoverage":false},{"functionName":"getPublicKey","ranges":[{"startOffset":5856,"endOffset":6007,"count":0}],"isBlockCoverage":false},{"functionName":"convertKey","ranges":[{"startOffset":6028,"endOffset":6294,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6297,"endOffset":6432,"count":0}],"isBlockCoverage":false},{"functionName":"getFormat","ranges":[{"startOffset":6434,"endOffset":6757,"count":0}],"isBlockCoverage":false},{"functionName":"diffieHellman","ranges":[{"startOffset":6831,"endOffset":7899,"count":0}],"isBlockCoverage":false},{"functionName":"ecdhDeriveBits","ranges":[{"startOffset":8018,"endOffset":9804,"count":0}],"isBlockCoverage":false}]},{"scriptId":"229","url":"node:internal/crypto/cipher","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10199,"count":1}],"isBlockCoverage":false},{"functionName":"rsaFunctionFor","ranges":[{"startOffset":1233,"endOffset":1981,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1301,"endOffset":1978,"count":0}],"isBlockCoverage":false},{"functionName":"getDecoder","ranges":[{"startOffset":2482,"endOffset":2848,"count":0}],"isBlockCoverage":false},{"functionName":"getUIntOption","ranges":[{"startOffset":2850,"endOffset":3084,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherBase","ranges":[{"startOffset":3086,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3507,"endOffset":3742,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherWithIV","ranges":[{"startOffset":3744,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"Cipher","ranges":[{"startOffset":4326,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":4670,"endOffset":4786,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":4815,"endOffset":4953,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":4982,"endOffset":5498,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5527,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"setAutoPadding","ranges":[{"startOffset":5809,"endOffset":5956,"count":0}],"isBlockCoverage":false},{"functionName":"getAuthTag","ranges":[{"startOffset":5989,"endOffset":6149,"count":0}],"isBlockCoverage":false},{"functionName":"setAuthTag","ranges":[{"startOffset":6153,"endOffset":6365,"count":0}],"isBlockCoverage":false},{"functionName":"setAAD","ranges":[{"startOffset":6393,"endOffset":6735,"count":0}],"isBlockCoverage":false},{"functionName":"Cipheriv","ranges":[{"startOffset":6983,"endOffset":7193,"count":0}],"isBlockCoverage":false},{"functionName":"addCipherPrototypeFunctions","ranges":[{"startOffset":7195,"endOffset":7786,"count":3},{"startOffset":7591,"endOffset":7664,"count":1},{"startOffset":7664,"endOffset":7726,"count":2}],"isBlockCoverage":true},{"functionName":"Decipher","ranges":[{"startOffset":8187,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"Decipheriv","ranges":[{"startOffset":8800,"endOffset":9017,"count":0}],"isBlockCoverage":false},{"functionName":"getCipherInfo","ranges":[{"startOffset":9179,"endOffset":10040,"count":0}],"isBlockCoverage":false}]},{"scriptId":"230","url":"node:internal/streams/lazy_transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1535,"count":1}],"isBlockCoverage":false},{"functionName":"LazyTransform","ranges":[{"startOffset":401,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"makeGetter","ranges":[{"startOffset":595,"endOffset":918,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":632,"endOffset":915,"count":0}],"isBlockCoverage":false},{"functionName":"makeSetter","ranges":[{"startOffset":920,"endOffset":1139,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":957,"endOffset":1136,"count":0}],"isBlockCoverage":false}]},{"scriptId":"231","url":"node:internal/crypto/sig","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6942,"count":1}],"isBlockCoverage":false},{"functionName":"Sign","ranges":[{"startOffset":870,"endOffset":1129,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":1252,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":1371,"endOffset":1684,"count":0}],"isBlockCoverage":false},{"functionName":"getPadding","ranges":[{"startOffset":1687,"endOffset":1762,"count":0}],"isBlockCoverage":false},{"functionName":"getSaltLength","ranges":[{"startOffset":1764,"endOffset":1845,"count":0}],"isBlockCoverage":false},{"functionName":"getDSASignatureEncoding","ranges":[{"startOffset":1847,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"getIntOption","ranges":[{"startOffset":2201,"endOffset":2446,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":2470,"endOffset":3086,"count":0}],"isBlockCoverage":false},{"functionName":"signOneShot","ranges":[{"startOffset":3089,"endOffset":4307,"count":0}],"isBlockCoverage":false},{"functionName":"Verify","ranges":[{"startOffset":4309,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":4804,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"verifyOneShot","ranges":[{"startOffset":5390,"endOffset":6868,"count":0}],"isBlockCoverage":false}]},{"scriptId":"232","url":"node:internal/crypto/hash","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4553,"count":1}],"isBlockCoverage":false},{"functionName":"Hash","ranges":[{"startOffset":954,"endOffset":1474,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":1605,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1804,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":1936,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":2043,"endOffset":2507,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":2535,"endOffset":2856,"count":0}],"isBlockCoverage":false},{"functionName":"Hmac","ranges":[{"startOffset":2859,"endOffset":3259,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":3440,"endOffset":3872,"count":0}],"isBlockCoverage":false},{"functionName":"asyncDigest","ranges":[{"startOffset":4027,"endOffset":4498,"count":0}],"isBlockCoverage":false}]},{"scriptId":"233","url":"node:internal/crypto/x509","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9909,"count":1}],"isBlockCoverage":false},{"functionName":"isX509Certificate","ranges":[{"startOffset":1155,"endOffset":1238,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":1240,"endOffset":2485,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2487,"endOffset":2649,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2651,"endOffset":9663,"count":0}],"isBlockCoverage":false}]},{"scriptId":"234","url":"node:internal/crypto/certificate","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1546,"count":1}],"isBlockCoverage":false},{"functionName":"verifySpkac","ranges":[{"startOffset":385,"endOffset":505,"count":0}],"isBlockCoverage":false},{"functionName":"exportPublicKey","ranges":[{"startOffset":507,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"exportChallenge","ranges":[{"startOffset":637,"endOffset":765,"count":0}],"isBlockCoverage":false},{"functionName":"Certificate","ranges":[{"startOffset":1122,"endOffset":1216,"count":0}],"isBlockCoverage":false}]},{"scriptId":"235","url":"node:internal/crypto/webcrypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30940,"count":1}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":1190,"endOffset":1799,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":1801,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":1913,"endOffset":4408,"count":0}],"isBlockCoverage":false},{"functionName":"deriveBits","ranges":[{"startOffset":4410,"endOffset":5970,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyLength","ranges":[{"startOffset":5972,"endOffset":6592,"count":0}],"isBlockCoverage":false},{"functionName":"deriveKey","ranges":[{"startOffset":6594,"endOffset":8774,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeySpki","ranges":[{"startOffset":8776,"endOffset":9754,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyPkcs8","ranges":[{"startOffset":9756,"endOffset":10743,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyRaw","ranges":[{"startOffset":10745,"endOffset":11678,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyJWK","ranges":[{"startOffset":11680,"endOffset":13210,"count":0}],"isBlockCoverage":false},{"functionName":"exportKey","ranges":[{"startOffset":13212,"endOffset":14072,"count":0}],"isBlockCoverage":false},{"functionName":"importGenericSecretKey","ranges":[{"startOffset":14074,"endOffset":15424,"count":0}],"isBlockCoverage":false},{"functionName":"importKey","ranges":[{"startOffset":15426,"endOffset":18168,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":18261,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapKey","ranges":[{"startOffset":19891,"endOffset":21854,"count":0}],"isBlockCoverage":false},{"functionName":"signVerify","ranges":[{"startOffset":21856,"endOffset":22959,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":22961,"endOffset":23587,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":23589,"endOffset":24346,"count":0}],"isBlockCoverage":false},{"functionName":"cipherOrWrap","ranges":[{"startOffset":24348,"endOffset":25759,"count":0}],"isBlockCoverage":false},{"functionName":"encrypt","ranges":[{"startOffset":25761,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"decrypt","ranges":[{"startOffset":26489,"endOffset":27215,"count":0}],"isBlockCoverage":false},{"functionName":"SubtleCrypto","ranges":[{"startOffset":27371,"endOffset":27431,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27466,"endOffset":27479,"count":1}],"isBlockCoverage":true},{"functionName":"Crypto","ranges":[{"startOffset":27518,"endOffset":27578,"count":0}],"isBlockCoverage":true},{"functionName":"get subtle","ranges":[{"startOffset":27582,"endOffset":27682,"count":3},{"startOffset":27622,"endOffset":27659,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27717,"endOffset":27730,"count":1}],"isBlockCoverage":true},{"functionName":"getRandomValues","ranges":[{"startOffset":27746,"endOffset":28079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"236","url":"node:zlib","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29534,"count":1}],"isBlockCoverage":false},{"functionName":"zlibBuffer","ranges":[{"startOffset":3530,"endOffset":4157,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnData","ranges":[{"startOffset":4159,"endOffset":4490,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnError","ranges":[{"startOffset":4492,"endOffset":4577,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnEnd","ranges":[{"startOffset":4579,"endOffset":4909,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferSync","ranges":[{"startOffset":4911,"endOffset":5452,"count":0}],"isBlockCoverage":false},{"functionName":"zlibOnError","ranges":[{"startOffset":5454,"endOffset":5768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5993,"endOffset":6329,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6633,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase","ranges":[{"startOffset":7161,"endOffset":9213,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9438,"endOffset":9475,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9918,"endOffset":9964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10111,"endOffset":10163,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.reset","ranges":[{"startOffset":10304,"endOffset":10412,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._flush","ranges":[{"startOffset":10558,"endOffset":10630,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._final","ranges":[{"startOffset":10697,"endOffset":10733,"count":0}],"isBlockCoverage":false},{"functionName":"maxFlush","ranges":[{"startOffset":11331,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.flush","ranges":[{"startOffset":11847,"endOffset":12249,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.close","ranges":[{"startOffset":12279,"endOffset":12361,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._destroy","ranges":[{"startOffset":12394,"endOffset":12454,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._transform","ranges":[{"startOffset":12489,"endOffset":13023,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._processChunk","ranges":[{"startOffset":13061,"endOffset":13290,"count":0}],"isBlockCoverage":false},{"functionName":"processChunkSync","ranges":[{"startOffset":13293,"endOffset":15578,"count":0}],"isBlockCoverage":false},{"functionName":"processChunk","ranges":[{"startOffset":15580,"endOffset":16170,"count":0}],"isBlockCoverage":false},{"functionName":"processCallback","ranges":[{"startOffset":16172,"endOffset":18474,"count":0}],"isBlockCoverage":false},{"functionName":"_close","ranges":[{"startOffset":18476,"endOffset":18666,"count":0}],"isBlockCoverage":false},{"functionName":"Zlib","ranges":[{"startOffset":18863,"endOffset":21181,"count":0}],"isBlockCoverage":false},{"functionName":"paramsAfterFlushCallback","ranges":[{"startOffset":21531,"endOffset":21797,"count":0}],"isBlockCoverage":false},{"functionName":"params","ranges":[{"startOffset":21823,"endOffset":22290,"count":0}],"isBlockCoverage":false},{"functionName":"Deflate","ranges":[{"startOffset":22334,"endOffset":22469,"count":0}],"isBlockCoverage":false},{"functionName":"Inflate","ranges":[{"startOffset":22565,"endOffset":22700,"count":0}],"isBlockCoverage":false},{"functionName":"Gzip","ranges":[{"startOffset":22796,"endOffset":22919,"count":0}],"isBlockCoverage":false},{"functionName":"Gunzip","ranges":[{"startOffset":23009,"endOffset":23140,"count":0}],"isBlockCoverage":false},{"functionName":"DeflateRaw","ranges":[{"startOffset":23234,"endOffset":23439,"count":0}],"isBlockCoverage":false},{"functionName":"InflateRaw","ranges":[{"startOffset":23541,"endOffset":23688,"count":0}],"isBlockCoverage":false},{"functionName":"Unzip","ranges":[{"startOffset":23790,"endOffset":23917,"count":0}],"isBlockCoverage":false},{"functionName":"createConvenienceMethod","ranges":[{"startOffset":24009,"endOffset":24398,"count":18},{"startOffset":24068,"endOffset":24397,"count":9}],"isBlockCoverage":true},{"functionName":"syncBufferWrapper","ranges":[{"startOffset":24081,"endOffset":24182,"count":0}],"isBlockCoverage":false},{"functionName":"asyncBufferWrapper","ranges":[{"startOffset":24197,"endOffset":24395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24483,"endOffset":24570,"count":107},{"startOffset":24541,"endOffset":24561,"count":9},{"startOffset":24562,"endOffset":24569,"count":98}],"isBlockCoverage":true},{"functionName":"Brotli","ranges":[{"startOffset":24789,"endOffset":26126,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliCompress","ranges":[{"startOffset":26220,"endOffset":26384,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliDecompress","ranges":[{"startOffset":26498,"endOffset":26668,"count":0}],"isBlockCoverage":false},{"functionName":"createProperty","ranges":[{"startOffset":26787,"endOffset":26973,"count":9}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":26908,"endOffset":26965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27202,"endOffset":27238,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":27242,"endOffset":27283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"237","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16298,"count":1}],"isBlockCoverage":true},{"functionName":"hasOwnProperty","ranges":[{"startOffset":362,"endOffset":430,"count":0}],"isBlockCoverage":false},{"functionName":"isExternalAssertError","ranges":[{"startOffset":433,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"formatErrorValue","ranges":[{"startOffset":865,"endOffset":1002,"count":0}],"isBlockCoverage":false},{"functionName":"captureSavedError","ranges":[{"startOffset":1030,"endOffset":1237,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext","ranges":[{"startOffset":1316,"endOffset":4497,"count":1}],"isBlockCoverage":true},{"functionName":"pass","ranges":[{"startOffset":1349,"endOffset":1395,"count":1}],"isBlockCoverage":true},{"functionName":"pending","ranges":[{"startOffset":1400,"endOffset":1462,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":1467,"endOffset":1521,"count":0}],"isBlockCoverage":false},{"functionName":"skip","ranges":[{"startOffset":1526,"endOffset":1572,"count":0}],"isBlockCoverage":false},{"functionName":"compareWithSnapshot","ranges":[{"startOffset":1598,"endOffset":1642,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.snapshot.skip","ranges":[{"startOffset":1778,"endOffset":1813,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.log","ranges":[{"startOffset":1829,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan","ranges":[{"startOffset":2064,"endOffset":2120,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan.skip","ranges":[{"startOffset":2142,"endOffset":2150,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.timeout","ranges":[{"startOffset":2170,"endOffset":2222,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.teardown","ranges":[{"startOffset":2243,"endOffset":2291,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.try","ranges":[{"startOffset":2307,"endOffset":4493,"count":0}],"isBlockCoverage":false},{"functionName":"get title","ranges":[{"startOffset":4500,"endOffset":4550,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4553,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"set context","ranges":[{"startOffset":4619,"endOffset":4689,"count":0}],"isBlockCoverage":false},{"functionName":"get passed","ranges":[{"startOffset":4692,"endOffset":4803,"count":0}],"isBlockCoverage":false},{"functionName":"Test","ranges":[{"startOffset":4836,"endOffset":7739,"count":1},{"startOffset":4940,"endOffset":4945,"count":0}],"isBlockCoverage":true},{"functionName":"Test.compareWithSnapshot","ranges":[{"startOffset":5648,"endOffset":6084,"count":0}],"isBlockCoverage":false},{"functionName":"Test.skipSnapshot","ranges":[{"startOffset":6109,"endOffset":6523,"count":0}],"isBlockCoverage":false},{"functionName":"Test.runAttempt","ranges":[{"startOffset":6546,"endOffset":7343,"count":0}],"isBlockCoverage":false},{"functionName":"createExecutionContext","ranges":[{"startOffset":7742,"endOffset":7808,"count":1}],"isBlockCoverage":true},{"functionName":"countPassedAssertion","ranges":[{"startOffset":7811,"endOffset":8163,"count":1},{"startOffset":7858,"endOffset":7949,"count":0},{"startOffset":7987,"endOffset":8112,"count":0}],"isBlockCoverage":true},{"functionName":"addLog","ranges":[{"startOffset":8166,"endOffset":8207,"count":0}],"isBlockCoverage":false},{"functionName":"addPendingAssertion","ranges":[{"startOffset":8210,"endOffset":8745,"count":0}],"isBlockCoverage":false},{"functionName":"addFailedAssertion","ranges":[{"startOffset":8748,"endOffset":9133,"count":0}],"isBlockCoverage":false},{"functionName":"finishAttempt","ranges":[{"startOffset":9136,"endOffset":10154,"count":0}],"isBlockCoverage":false},{"functionName":"saveFirstError","ranges":[{"startOffset":10157,"endOffset":10243,"count":0}],"isBlockCoverage":false},{"functionName":"plan","ranges":[{"startOffset":10246,"endOffset":10542,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":10545,"endOffset":11120,"count":0}],"isBlockCoverage":false},{"functionName":"refreshTimeout","ranges":[{"startOffset":11123,"endOffset":11303,"count":1},{"startOffset":11184,"endOffset":11300,"count":0}],"isBlockCoverage":true},{"functionName":"clearTimeout","ranges":[{"startOffset":11306,"endOffset":11401,"count":1}],"isBlockCoverage":true},{"functionName":"addTeardown","ranges":[{"startOffset":11404,"endOffset":11793,"count":0}],"isBlockCoverage":false},{"functionName":"runTeardowns","ranges":[{"startOffset":11796,"endOffset":12044,"count":1},{"startOffset":11907,"endOffset":12041,"count":0}],"isBlockCoverage":true},{"functionName":"verifyPlan","ranges":[{"startOffset":12047,"endOffset":12402,"count":1},{"startOffset":12113,"endOffset":12151,"count":0},{"startOffset":12153,"endOffset":12399,"count":0}],"isBlockCoverage":true},{"functionName":"verifyAssertions","ranges":[{"startOffset":12405,"endOffset":13050,"count":1},{"startOffset":12450,"endOffset":12466,"count":0},{"startOffset":12504,"endOffset":12622,"count":0},{"startOffset":12662,"endOffset":12765,"count":0},{"startOffset":12835,"endOffset":12901,"count":0},{"startOffset":12933,"endOffset":12951,"count":0},{"startOffset":12953,"endOffset":13043,"count":0}],"isBlockCoverage":true},{"functionName":"callFn","ranges":[{"startOffset":13053,"endOffset":13237,"count":1},{"startOffset":13171,"endOffset":13234,"count":0}],"isBlockCoverage":true},{"functionName":"run","ranges":[{"startOffset":13240,"endOffset":15578,"count":1},{"startOffset":13338,"endOffset":13891,"count":0},{"startOffset":13982,"endOffset":14030,"count":0},{"startOffset":14126,"endOffset":14276,"count":0},{"startOffset":14303,"endOffset":14421,"count":0},{"startOffset":14438,"endOffset":15550,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14153,"endOffset":14270,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14462,"endOffset":15544,"count":0}],"isBlockCoverage":false},{"functionName":"finish","ranges":[{"startOffset":15581,"endOffset":16295,"count":1},{"startOffset":15866,"endOffset":16020,"count":0}],"isBlockCoverage":true}]},{"scriptId":"238","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/assert.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":25039,"count":1}],"isBlockCoverage":true},{"functionName":"formatDescriptorDiff","ranges":[{"startOffset":331,"endOffset":822,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptorWithLabel","ranges":[{"startOffset":824,"endOffset":979,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithLabel","ranges":[{"startOffset":981,"endOffset":1114,"count":0}],"isBlockCoverage":false},{"functionName":"hasOwnProperty","ranges":[{"startOffset":1139,"endOffset":1207,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":1222,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"notImplemented","ranges":[{"startOffset":1255,"endOffset":1301,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":1349,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"checkAssertionMessage","ranges":[{"startOffset":1981,"endOffset":2292,"count":0}],"isBlockCoverage":false},{"functionName":"getErrorWithLongStackTrace","ranges":[{"startOffset":2294,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"validateExpectations","ranges":[{"startOffset":2558,"endOffset":5405,"count":0}],"isBlockCoverage":false},{"functionName":"assertExpectations","ranges":[{"startOffset":5524,"endOffset":8199,"count":0}],"isBlockCoverage":false},{"functionName":"Assertions","ranges":[{"startOffset":8228,"endOffset":25036,"count":1}],"isBlockCoverage":true},{"functionName":"withSkip","ranges":[{"startOffset":8463,"endOffset":8534,"count":19}],"isBlockCoverage":true},{"functionName":"checkMessage","ranges":[{"startOffset":8560,"endOffset":8733,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8759,"endOffset":8797,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8824,"endOffset":9037,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9062,"endOffset":9979,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10005,"endOffset":10365,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10397,"endOffset":11031,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11066,"endOffset":11622,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11649,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12970,"endOffset":14552,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14586,"endOffset":16839,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16871,"endOffset":17460,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17497,"endOffset":19358,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19389,"endOffset":21353,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21382,"endOffset":21702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21730,"endOffset":22051,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22078,"endOffset":22383,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22411,"endOffset":22720,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22748,"endOffset":23686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23717,"endOffset":24676,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24705,"endOffset":25031,"count":0}],"isBlockCoverage":false}]},{"scriptId":"239","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/concordance-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2980,"count":1},{"startOffset":2696,"endOffset":2708,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2579,"endOffset":2649,"count":110},{"startOffset":2623,"endOffset":2641,"count":69},{"startOffset":2642,"endOffset":2649,"count":41}],"isBlockCoverage":true},{"functionName":"get maxDepth","ranges":[{"startOffset":2807,"endOffset":2878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"240","url":"node:internal/util/parse_args/parse_args","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12919,"count":1}],"isBlockCoverage":false},{"functionName":"getMainArgs","ranges":[{"startOffset":1135,"endOffset":1729,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionLikeValue","ranges":[{"startOffset":1874,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionUsage","ranges":[{"startOffset":2658,"endOffset":3449,"count":0}],"isBlockCoverage":false},{"functionName":"storeOption","ranges":[{"startOffset":3772,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"storeDefaultOption","ranges":[{"startOffset":4921,"endOffset":5090,"count":0}],"isBlockCoverage":false},{"functionName":"argsToTokens","ranges":[{"startOffset":5365,"endOffset":9345,"count":0}],"isBlockCoverage":false},{"functionName":"parseArgs","ranges":[{"startOffset":9365,"endOffset":12881,"count":0}],"isBlockCoverage":false}]},{"scriptId":"241","url":"node:internal/util/parse_args/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6225,"count":1}],"isBlockCoverage":false},{"functionName":"objectGetOwn","ranges":[{"startOffset":693,"endOffset":782,"count":0}],"isBlockCoverage":false},{"functionName":"optionsGetOwn","ranges":[{"startOffset":865,"endOffset":1011,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionValue","ranges":[{"startOffset":1277,"endOffset":1502,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionLikeValue","ranges":[{"startOffset":1719,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneShortOption","ranges":[{"startOffset":1936,"endOffset":2088,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneLongOption","ranges":[{"startOffset":2336,"endOffset":2484,"count":0}],"isBlockCoverage":false},{"functionName":"isLongOptionAndValue","ranges":[{"startOffset":2681,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionGroup","ranges":[{"startOffset":3724,"endOffset":4109,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionAndValue","ranges":[{"startOffset":4418,"endOffset":4847,"count":0}],"isBlockCoverage":false},{"functionName":"findLongOptionForShort","ranges":[{"startOffset":5170,"endOffset":5472,"count":0}],"isBlockCoverage":false},{"functionName":"useDefaultValueOption","ranges":[{"startOffset":5797,"endOffset":5967,"count":0}],"isBlockCoverage":false}]},{"scriptId":"242","url":"node:internal/mime","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10569,"count":1}],"isBlockCoverage":false},{"functionName":"toASCIILower","ranges":[{"startOffset":587,"endOffset":820,"count":0}],"isBlockCoverage":false},{"functionName":"parseTypeAndSubtype","ranges":[{"startOffset":866,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"removeBackslashes","ranges":[{"startOffset":2641,"endOffset":3056,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuoteOrSolidus","ranges":[{"startOffset":3059,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":3288,"endOffset":3527,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3530,"endOffset":8526,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8986,"endOffset":10365,"count":0}],"isBlockCoverage":false}]},{"scriptId":"243","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/callsites/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"callsites","ranges":[{"startOffset":15,"endOffset":469,"count":0}],"isBlockCoverage":false}]},{"scriptId":"244","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5256,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5189,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2906,"endOffset":3404,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3450,"endOffset":3975,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4032,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4134,"endOffset":4895,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4949,"endOffset":5030,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5084,"endOffset":5137,"count":0}],"isBlockCoverage":false}]},{"scriptId":"245","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/supports-color/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3855,"count":1},{"startOffset":738,"endOffset":762,"count":0},{"startOffset":869,"endOffset":893,"count":0}],"isBlockCoverage":true},{"functionName":"hasFlag","ranges":[{"startOffset":235,"endOffset":585,"count":16},{"startOffset":281,"endOffset":303,"count":0},{"startOffset":359,"endOffset":363,"count":0},{"startOffset":385,"endOffset":390,"count":0},{"startOffset":519,"endOffset":582,"count":0}],"isBlockCoverage":true},{"functionName":"envForceColor","ranges":[{"startOffset":895,"endOffset":1159,"count":2},{"startOffset":949,"endOffset":1157,"count":0}],"isBlockCoverage":true},{"functionName":"translateLevel","ranges":[{"startOffset":1161,"endOffset":1320,"count":2},{"startOffset":1212,"endOffset":1232,"count":0}],"isBlockCoverage":true},{"functionName":"_supportsColor","ranges":[{"startOffset":1322,"endOffset":3494,"count":2},{"startOffset":1479,"endOffset":1520,"count":0},{"startOffset":1570,"endOffset":1588,"count":0},{"startOffset":1614,"endOffset":1630,"count":0},{"startOffset":1740,"endOffset":1758,"count":0},{"startOffset":1788,"endOffset":1806,"count":0},{"startOffset":1918,"endOffset":1940,"count":0},{"startOffset":1942,"endOffset":1958,"count":0},{"startOffset":1992,"endOffset":2019,"count":0},{"startOffset":2021,"endOffset":2037,"count":0},{"startOffset":2096,"endOffset":2114,"count":0},{"startOffset":2151,"endOffset":2508,"count":0},{"startOffset":2528,"endOffset":2776,"count":0},{"startOffset":2810,"endOffset":2891,"count":0},{"startOffset":2945,"endOffset":3493,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2688,"endOffset":2707,"count":0}],"isBlockCoverage":false},{"functionName":"createSupportsColor","ranges":[{"startOffset":3503,"endOffset":3687,"count":2}],"isBlockCoverage":true}]},{"scriptId":"246","url":"node:os","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9769,"count":1}],"isBlockCoverage":false},{"functionName":"getCheckedFunction","ranges":[{"startOffset":2026,"endOffset":2267,"count":4}],"isBlockCoverage":true},{"functionName":"checkError","ranges":[{"startOffset":2085,"endOffset":2263,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease","ranges":[{"startOffset":2649,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType","ranges":[{"startOffset":2711,"endOffset":2721,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion","ranges":[{"startOffset":2773,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine","ranges":[{"startOffset":2836,"endOffset":2849,"count":0}],"isBlockCoverage":false},{"functionName":"getAvailableParallelism.","ranges":[{"startOffset":2897,"endOffset":2928,"count":0}],"isBlockCoverage":false},{"functionName":"getFreeMem.","ranges":[{"startOffset":2962,"endOffset":2980,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname.","ranges":[{"startOffset":3015,"endOffset":3034,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion.","ranges":[{"startOffset":3070,"endOffset":3090,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType.","ranges":[{"startOffset":3123,"endOffset":3140,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease.","ranges":[{"startOffset":3176,"endOffset":3196,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine.","ranges":[{"startOffset":3230,"endOffset":3248,"count":0}],"isBlockCoverage":false},{"functionName":"getHomeDirectory.","ranges":[{"startOffset":3288,"endOffset":3312,"count":0}],"isBlockCoverage":false},{"functionName":"getTotalMem.","ranges":[{"startOffset":3347,"endOffset":3366,"count":0}],"isBlockCoverage":false},{"functionName":"getUptime.","ranges":[{"startOffset":3399,"endOffset":3416,"count":0}],"isBlockCoverage":false},{"functionName":"loadavg","ranges":[{"startOffset":3554,"endOffset":3654,"count":0}],"isBlockCoverage":false},{"functionName":"cpus","ranges":[{"startOffset":3934,"endOffset":4363,"count":1},{"startOffset":4036,"endOffset":4041,"count":0},{"startOffset":4103,"endOffset":4344,"count":12}],"isBlockCoverage":true},{"functionName":"arch","ranges":[{"startOffset":4394,"endOffset":4436,"count":0}],"isBlockCoverage":false},{"functionName":"arch.","ranges":[{"startOffset":4463,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"platform","ranges":[{"startOffset":4513,"endOffset":4563,"count":2}],"isBlockCoverage":true},{"functionName":"platform.","ranges":[{"startOffset":4594,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir","ranges":[{"startOffset":4648,"endOffset":5253,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir.","ranges":[{"startOffset":5282,"endOffset":5296,"count":0}],"isBlockCoverage":false},{"functionName":"endianness","ranges":[{"startOffset":5333,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"endianness.","ranges":[{"startOffset":5413,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"countBinaryOnes","ranges":[{"startOffset":5518,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"getCIDR","ranges":[{"startOffset":5773,"endOffset":6718,"count":0}],"isBlockCoverage":false},{"functionName":"networkInterfaces","ranges":[{"startOffset":6929,"endOffset":7622,"count":0}],"isBlockCoverage":false},{"functionName":"setPriority","ranges":[{"startOffset":7706,"endOffset":7995,"count":0}],"isBlockCoverage":false},{"functionName":"getPriority","ranges":[{"startOffset":8053,"endOffset":8308,"count":0}],"isBlockCoverage":false},{"functionName":"userInfo","ranges":[{"startOffset":8612,"endOffset":8900,"count":0}],"isBlockCoverage":false}]},{"scriptId":"247","url":"node:tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5058,"count":1}],"isBlockCoverage":false},{"functionName":"isatty","ranges":[{"startOffset":1535,"endOffset":1641,"count":2}],"isBlockCoverage":true},{"functionName":"ReadStream","ranges":[{"startOffset":1643,"endOffset":2112,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.setRawMode","ranges":[{"startOffset":2261,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":2481,"endOffset":3453,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._refreshSize","ranges":[{"startOffset":3744,"endOffset":4180,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.cursorTo","ranges":[{"startOffset":4236,"endOffset":4376,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.moveCursor","ranges":[{"startOffset":4413,"endOffset":4559,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearLine","ranges":[{"startOffset":4595,"endOffset":4734,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearScreenDown","ranges":[{"startOffset":4776,"endOffset":4911,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.getWindowSize","ranges":[{"startOffset":4951,"endOffset":5001,"count":0}],"isBlockCoverage":false}]},{"scriptId":"248","url":"node:net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":65921,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1612,"endOffset":1637,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4029,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":4446,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"createHandle","ranges":[{"startOffset":4542,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"getNewAsyncId","ranges":[{"startOffset":4928,"endOffset":5066,"count":0}],"isBlockCoverage":false},{"functionName":"isPipeName","ranges":[{"startOffset":5069,"endOffset":5152,"count":0}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":5353,"endOffset":5457,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":5680,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamily","ranges":[{"startOffset":6083,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamily","ranges":[{"startOffset":6160,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6278,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6383,"endOffset":6570,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgs","ranges":[{"startOffset":7064,"endOffset":7790,"count":0}],"isBlockCoverage":false},{"functionName":"initSocketHandle","ranges":[{"startOffset":7862,"endOffset":8465,"count":0}],"isBlockCoverage":false},{"functionName":"closeSocketHandle","ranges":[{"startOffset":8467,"endOffset":8807,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":9059,"endOffset":13678,"count":0}],"isBlockCoverage":false},{"functionName":"_unrefTimer","ranges":[{"startOffset":13851,"endOffset":13981,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._final","ranges":[{"startOffset":14101,"endOffset":14717,"count":0}],"isBlockCoverage":false},{"functionName":"afterShutdown","ranges":[{"startOffset":14720,"endOffset":14866,"count":0}],"isBlockCoverage":false},{"functionName":"writeAfterFIN","ranges":[{"startOffset":15073,"endOffset":15581,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._onTimeout","ranges":[{"startOffset":15663,"endOffset":16167,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setNoDelay","ranges":[{"startOffset":16201,"endOffset":16578,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setKeepAlive","ranges":[{"startOffset":16614,"endOffset":17220,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":17251,"endOffset":17295,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17381,"endOffset":17425,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17505,"endOffset":17561,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17672,"endOffset":17987,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18076,"endOffset":18156,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18244,"endOffset":18289,"count":0}],"isBlockCoverage":false},{"functionName":"tryReadStart","ranges":[{"startOffset":18297,"endOffset":18543,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._read","ranges":[{"startOffset":18635,"endOffset":18954,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.end","ranges":[{"startOffset":18981,"endOffset":19137,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resetAndDestroy","ranges":[{"startOffset":19175,"endOffset":19525,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.pause","ranges":[{"startOffset":19553,"endOffset":19887,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resume","ranges":[{"startOffset":19917,"endOffset":20101,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.read","ranges":[{"startOffset":20129,"endOffset":20315,"count":0}],"isBlockCoverage":false},{"functionName":"onReadableStreamEnd","ranges":[{"startOffset":20362,"endOffset":20461,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.destroySoon","ranges":[{"startOffset":20495,"endOffset":20642,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._destroy","ranges":[{"startOffset":20674,"endOffset":22184,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._reset","ranges":[{"startOffset":22213,"endOffset":22312,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getpeername","ranges":[{"startOffset":22347,"endOffset":22644,"count":0}],"isBlockCoverage":false},{"functionName":"protoGetter","ranges":[{"startOffset":22647,"endOffset":22829,"count":9}],"isBlockCoverage":true},{"functionName":"bytesRead","ranges":[{"startOffset":22856,"endOffset":22947,"count":0}],"isBlockCoverage":false},{"functionName":"remoteAddress","ranges":[{"startOffset":22980,"endOffset":23046,"count":0}],"isBlockCoverage":false},{"functionName":"remoteFamily","ranges":[{"startOffset":23078,"endOffset":23142,"count":0}],"isBlockCoverage":false},{"functionName":"remotePort","ranges":[{"startOffset":23172,"endOffset":23232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getsockname","ranges":[{"startOffset":23269,"endOffset":23545,"count":0}],"isBlockCoverage":false},{"functionName":"localAddress","ranges":[{"startOffset":23577,"endOffset":23642,"count":0}],"isBlockCoverage":false},{"functionName":"localPort","ranges":[{"startOffset":23672,"endOffset":23731,"count":0}],"isBlockCoverage":false},{"functionName":"localFamily","ranges":[{"startOffset":23762,"endOffset":23825,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":23866,"endOffset":23913,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writeGeneric","ranges":[{"startOffset":23949,"endOffset":24861,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writev","ranges":[{"startOffset":24892,"endOffset":24960,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._write","ranges":[{"startOffset":24990,"endOffset":25071,"count":0}],"isBlockCoverage":false},{"functionName":"_bytesDispatched","ranges":[{"startOffset":25264,"endOffset":25368,"count":0}],"isBlockCoverage":false},{"functionName":"bytesWritten","ranges":[{"startOffset":25400,"endOffset":26329,"count":0}],"isBlockCoverage":false},{"functionName":"checkBindError","ranges":[{"startOffset":26334,"endOffset":27133,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnect","ranges":[{"startOffset":27136,"endOffset":29131,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultiple","ranges":[{"startOffset":29134,"endOffset":31870,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":31899,"endOffset":33495,"count":0}],"isBlockCoverage":false},{"functionName":"reinitializeHandle","ranges":[{"startOffset":33538,"endOffset":33692,"count":0}],"isBlockCoverage":false},{"functionName":"socketToDnsFamily","ranges":[{"startOffset":33695,"endOffset":33841,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnect","ranges":[{"startOffset":33843,"endOffset":37774,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnectMultiple","ranges":[{"startOffset":37776,"endOffset":41750,"count":0}],"isBlockCoverage":false},{"functionName":"connectErrorNT","ranges":[{"startOffset":41752,"endOffset":41811,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":41837,"endOffset":42024,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":42053,"endOffset":42246,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnect","ranges":[{"startOffset":42250,"endOffset":43831,"count":0}],"isBlockCoverage":false},{"functionName":"addClientAbortSignalOption","ranges":[{"startOffset":43833,"endOffset":44256,"count":0}],"isBlockCoverage":false},{"functionName":"createConnectionError","ranges":[{"startOffset":44258,"endOffset":44759,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnectMultiple","ranges":[{"startOffset":44761,"endOffset":45903,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultipleTimeout","ranges":[{"startOffset":45905,"endOffset":46217,"count":0}],"isBlockCoverage":false},{"functionName":"addServerAbortSignalOption","ranges":[{"startOffset":46219,"endOffset":46662,"count":0}],"isBlockCoverage":false},{"functionName":"Server","ranges":[{"startOffset":46664,"endOffset":48251,"count":0}],"isBlockCoverage":false},{"functionName":"toNumber","ranges":[{"startOffset":48362,"endOffset":48427,"count":0}],"isBlockCoverage":false},{"functionName":"createServerHandle","ranges":[{"startOffset":48495,"endOffset":49947,"count":0}],"isBlockCoverage":false},{"functionName":"setupListenHandle","ranges":[{"startOffset":49949,"endOffset":52300,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":52367,"endOffset":52429,"count":0}],"isBlockCoverage":false},{"functionName":"emitListeningNT","ranges":[{"startOffset":52432,"endOffset":52547,"count":0}],"isBlockCoverage":false},{"functionName":"listenInCluster","ranges":[{"startOffset":52550,"endOffset":53810,"count":0}],"isBlockCoverage":false},{"functionName":"Server.listen","ranges":[{"startOffset":53839,"endOffset":57671,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndListen","ranges":[{"startOffset":57674,"endOffset":58086,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":58168,"endOffset":58211,"count":0}],"isBlockCoverage":false},{"functionName":"Server.address","ranges":[{"startOffset":58287,"endOffset":58576,"count":0}],"isBlockCoverage":false},{"functionName":"onconnection","ranges":[{"startOffset":58579,"endOffset":60478,"count":0}],"isBlockCoverage":false},{"functionName":"Server.getConnections","ranges":[{"startOffset":60627,"endOffset":61380,"count":0}],"isBlockCoverage":false},{"functionName":"Server.close","ranges":[{"startOffset":61409,"endOffset":62276,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":62318,"endOffset":62438,"count":0}],"isBlockCoverage":false},{"functionName":"Server._emitCloseIfDrained","ranges":[{"startOffset":62480,"endOffset":62866,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":62870,"endOffset":62953,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":63012,"endOffset":63174,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63396,"endOffset":63432,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63436,"endOffset":63477,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63557,"endOffset":63588,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63592,"endOffset":63628,"count":0}],"isBlockCoverage":false},{"functionName":"Server._setupWorker","ranges":[{"startOffset":63667,"endOffset":63908,"count":0}],"isBlockCoverage":false},{"functionName":"Server.ref","ranges":[{"startOffset":63934,"endOffset":64032,"count":0}],"isBlockCoverage":false},{"functionName":"Server.unref","ranges":[{"startOffset":64060,"endOffset":64159,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":64301,"endOffset":64970,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":65009,"endOffset":65250,"count":0}],"isBlockCoverage":false},{"functionName":"get BlockList","ranges":[{"startOffset":65379,"endOffset":65481,"count":0}],"isBlockCoverage":false},{"functionName":"get SocketAddress","ranges":[{"startOffset":65485,"endOffset":65607,"count":0}],"isBlockCoverage":false}]},{"scriptId":"249","url":"node:internal/stream_base_commons","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7041,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1010,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"handleWriteReq","ranges":[{"startOffset":1154,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"onWriteComplete","ranges":[{"startOffset":2011,"endOffset":2696,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteWrap","ranges":[{"startOffset":2698,"endOffset":2936,"count":0}],"isBlockCoverage":false},{"functionName":"writevGeneric","ranges":[{"startOffset":2938,"endOffset":3577,"count":0}],"isBlockCoverage":false},{"functionName":"writeGeneric","ranges":[{"startOffset":3579,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteDispatched","ranges":[{"startOffset":3786,"endOffset":4089,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamRead","ranges":[{"startOffset":4091,"endOffset":6022,"count":0}],"isBlockCoverage":false},{"functionName":"setStreamTimeout","ranges":[{"startOffset":6024,"endOffset":6834,"count":0}],"isBlockCoverage":false}]},{"scriptId":"250","url":"node:internal/perf/observe","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16742,"count":1}],"isBlockCoverage":false},{"functionName":"queuePending","ranges":[{"startOffset":2620,"endOffset":2881,"count":0}],"isBlockCoverage":false},{"functionName":"getObserverType","ranges":[{"startOffset":2883,"endOffset":3223,"count":0}],"isBlockCoverage":false},{"functionName":"maybeDecrementObserverCounts","ranges":[{"startOffset":3225,"endOffset":3646,"count":0}],"isBlockCoverage":false},{"functionName":"maybeIncrementObserverCount","ranges":[{"startOffset":3648,"endOffset":3990,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceObserverEntryList","ranges":[{"startOffset":4031,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"getEntries","ranges":[{"startOffset":4095,"endOffset":4234,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByType","ranges":[{"startOffset":4238,"endOffset":4542,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByName","ranges":[{"startOffset":4546,"endOffset":5039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5043,"endOffset":5291,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceObserverEntryList","ranges":[{"startOffset":5643,"endOffset":5933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5935,"endOffset":9507,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":9989,"endOffset":10191,"count":0}],"isBlockCoverage":false},{"functionName":"bufferUserTiming","ranges":[{"startOffset":10252,"endOffset":11278,"count":0}],"isBlockCoverage":false},{"functionName":"bufferResourceTiming","ranges":[{"startOffset":11566,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"setResourceTimingBufferSize","ranges":[{"startOffset":12918,"endOffset":13190,"count":0}],"isBlockCoverage":false},{"functionName":"setDispatchBufferFull","ranges":[{"startOffset":13192,"endOffset":13257,"count":0}],"isBlockCoverage":false},{"functionName":"clearEntriesFromBuffer","ranges":[{"startOffset":13259,"endOffset":13859,"count":0}],"isBlockCoverage":false},{"functionName":"filterBufferMapByNameAndType","ranges":[{"startOffset":13861,"endOffset":14749,"count":0}],"isBlockCoverage":false},{"functionName":"observerCallback","ranges":[{"startOffset":14751,"endOffset":15867,"count":0}],"isBlockCoverage":false},{"functionName":"hasObserver","ranges":[{"startOffset":15904,"endOffset":16023,"count":0}],"isBlockCoverage":false},{"functionName":"startPerf","ranges":[{"startOffset":16026,"endOffset":16136,"count":0}],"isBlockCoverage":false},{"functionName":"stopPerf","ranges":[{"startOffset":16138,"endOffset":16453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"251","url":"node:internal/perf/performance_entry","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3333,"count":1}],"isBlockCoverage":false},{"functionName":"isPerformanceEntry","ranges":[{"startOffset":675,"endOffset":748,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceEntry","ranges":[{"startOffset":777,"endOffset":914,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":918,"endOffset":1018,"count":0}],"isBlockCoverage":false},{"functionName":"get entryType","ranges":[{"startOffset":1022,"endOffset":1137,"count":0}],"isBlockCoverage":false},{"functionName":"get startTime","ranges":[{"startOffset":1141,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"get duration","ranges":[{"startOffset":1260,"endOffset":1372,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1376,"endOffset":1620,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":1624,"endOffset":1846,"count":0}],"isBlockCoverage":false},{"functionName":"initPerformanceEntry","ranges":[{"startOffset":2068,"endOffset":2248,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceEntry","ranges":[{"startOffset":2250,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":2559,"endOffset":2669,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":2673,"endOffset":2924,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceNodeEntry","ranges":[{"startOffset":2928,"endOffset":3163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"252","url":"node:internal/tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6485,"count":1}],"isBlockCoverage":false},{"functionName":"warnOnDeactivatedColors","ranges":[{"startOffset":2549,"endOffset":3002,"count":0}],"isBlockCoverage":false},{"functionName":"getColorDepth","ranges":[{"startOffset":3160,"endOffset":6156,"count":0}],"isBlockCoverage":false},{"functionName":"hasColors","ranges":[{"startOffset":6158,"endOffset":6431,"count":0}],"isBlockCoverage":false}]},{"scriptId":"253","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":997,"count":1}],"isBlockCoverage":true},{"functionName":"stringReplaceAll","ranges":[{"startOffset":78,"endOffset":552,"count":0}],"isBlockCoverage":false},{"functionName":"stringEncaseCRLFWithFirstIndex","ranges":[{"startOffset":561,"endOffset":996,"count":0}],"isBlockCoverage":false}]},{"scriptId":"254","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6025,"count":1}],"isBlockCoverage":true},{"functionName":"assertPatternsInput","ranges":[{"startOffset":367,"endOffset":522,"count":0}],"isBlockCoverage":false},{"functionName":"toPatternsArray","ranges":[{"startOffset":549,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"checkCwdOption","ranges":[{"startOffset":685,"endOffset":912,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":940,"endOffset":1200,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArguments","ranges":[{"startOffset":1230,"endOffset":1321,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1236,"endOffset":1321,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgumentsSync","ranges":[{"startOffset":1354,"endOffset":1439,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1360,"endOffset":1439,"count":0}],"isBlockCoverage":false},{"functionName":"getIgnoreFilesPatterns","ranges":[{"startOffset":1473,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":1701,"endOffset":1913,"count":0}],"isBlockCoverage":false},{"functionName":"getFilterSync","ranges":[{"startOffset":1938,"endOffset":2142,"count":0}],"isBlockCoverage":false},{"functionName":"createFilterFunction","ranges":[{"startOffset":2174,"endOffset":2469,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobResults","ranges":[{"startOffset":2501,"endOffset":2585,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobStreams","ranges":[{"startOffset":2616,"endOffset":2717,"count":0}],"isBlockCoverage":false},{"functionName":"convertNegativePatterns","ranges":[{"startOffset":2752,"endOffset":3364,"count":0}],"isBlockCoverage":false},{"functionName":"getDirGlobOptions","ranges":[{"startOffset":3393,"endOffset":3499,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":3524,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasksSync","ranges":[{"startOffset":4171,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4758,"endOffset":5048,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5101,"endOffset":5348,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5403,"endOffset":5652,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5713,"endOffset":5805,"count":0}],"isBlockCoverage":false}]},{"scriptId":"255","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/maps.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"256","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":465,"count":1}],"isBlockCoverage":true},{"functionName":"escapeStringRegexp","ranges":[{"startOffset":15,"endOffset":464,"count":3},{"startOffset":86,"endOffset":134,"count":0}],"isBlockCoverage":true}]},{"scriptId":"257","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/indent-string/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":820,"count":1}],"isBlockCoverage":true},{"functionName":"indentString","ranges":[{"startOffset":15,"endOffset":819,"count":0}],"isBlockCoverage":false}]},{"scriptId":"258","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mem/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3063,"count":1}],"isBlockCoverage":true},{"functionName":"mem","ranges":[{"startOffset":651,"endOffset":1491,"count":2},{"startOffset":753,"endOffset":790,"count":0}],"isBlockCoverage":true},{"functionName":"memoized","ranges":[{"startOffset":812,"endOffset":1357,"count":3},{"startOffset":868,"endOffset":890,"count":1},{"startOffset":891,"endOffset":906,"count":2},{"startOffset":973,"endOffset":1078,"count":1},{"startOffset":1078,"endOffset":1208,"count":2},{"startOffset":1208,"endOffset":1229,"count":0},{"startOffset":1230,"endOffset":1256,"count":2}],"isBlockCoverage":true},{"functionName":"memDecorator","ranges":[{"startOffset":1911,"endOffset":2668,"count":0}],"isBlockCoverage":false},{"functionName":"memClear","ranges":[{"startOffset":2761,"endOffset":3062,"count":0}],"isBlockCoverage":false}]},{"scriptId":"259","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12,"count":1}],"isBlockCoverage":true}]},{"scriptId":"260","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-promise/index.mjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":151,"count":1}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":15,"endOffset":150,"count":1},{"startOffset":114,"endOffset":147,"count":0}],"isBlockCoverage":true}]},{"scriptId":"261","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/plur/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":963,"count":1}],"isBlockCoverage":true},{"functionName":"plur","ranges":[{"startOffset":66,"endOffset":962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"262","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/like-selector.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1333,"count":1}],"isBlockCoverage":true},{"functionName":"isPrimitive","ranges":[{"startOffset":20,"endOffset":72,"count":0}],"isBlockCoverage":false},{"functionName":"isLikeSelector","ranges":[{"startOffset":82,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"selectComparable","ranges":[{"startOffset":609,"endOffset":1332,"count":0}],"isBlockCoverage":false}]},{"scriptId":"263","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5267,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5200,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2913,"endOffset":3409,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3462,"endOffset":3983,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4040,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4149,"endOffset":4906,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4960,"endOffset":5041,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5095,"endOffset":5148,"count":0}],"isBlockCoverage":false}]},{"scriptId":"264","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/strip-ansi/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":468,"count":1}],"isBlockCoverage":true},{"functionName":"stripAnsi","ranges":[{"startOffset":80,"endOffset":467,"count":69},{"startOffset":142,"endOffset":220,"count":0}],"isBlockCoverage":true}]},{"scriptId":"265","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/ignore.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2797,"count":1}],"isBlockCoverage":true},{"functionName":"applyBaseToPattern","ranges":[{"startOffset":479,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"parseIgnoreFile","ranges":[{"startOffset":634,"endOffset":865,"count":0}],"isBlockCoverage":false},{"functionName":"toRelativePath","ranges":[{"startOffset":891,"endOffset":1176,"count":0}],"isBlockCoverage":false},{"functionName":"getIsIgnoredPredicate","ranges":[{"startOffset":1209,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1582,"endOffset":1782,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFiles","ranges":[{"startOffset":1823,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFilesSync","ranges":[{"startOffset":2256,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnored","ranges":[{"startOffset":2623,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnoredSync","ranges":[{"startOffset":2724,"endOffset":2795,"count":0}],"isBlockCoverage":false}]},{"scriptId":"266","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":462,"count":1}],"isBlockCoverage":true},{"functionName":"toPath","ranges":[{"startOffset":102,"endOffset":178,"count":0}],"isBlockCoverage":false},{"functionName":"FilterStream","ranges":[{"startOffset":228,"endOffset":394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":431,"endOffset":460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"267","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mimic-fn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2903,"count":1}],"isBlockCoverage":true},{"functionName":"copyProperty","ranges":[{"startOffset":21,"endOffset":887,"count":4},{"startOffset":280,"endOffset":307,"count":2},{"startOffset":309,"endOffset":577,"count":2},{"startOffset":579,"endOffset":593,"count":0},{"startOffset":593,"endOffset":790,"count":2},{"startOffset":790,"endOffset":814,"count":0},{"startOffset":816,"endOffset":830,"count":0},{"startOffset":830,"endOffset":886,"count":2}],"isBlockCoverage":true},{"functionName":"canCopyProperty","ranges":[{"startOffset":1091,"endOffset":1457,"count":2},{"startOffset":1197,"endOffset":1454,"count":0}],"isBlockCoverage":true},{"functionName":"changePrototype","ranges":[{"startOffset":1484,"endOffset":1662,"count":2},{"startOffset":1616,"endOffset":1661,"count":0}],"isBlockCoverage":true},{"functionName":"wrappedToString","ranges":[{"startOffset":1689,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"changeToString","ranges":[{"startOffset":2221,"endOffset":2603,"count":2},{"startOffset":2273,"endOffset":2277,"count":0}],"isBlockCoverage":true},{"functionName":"mimicFunction","ranges":[{"startOffset":2621,"endOffset":2902,"count":2},{"startOffset":2762,"endOffset":2825,"count":4}],"isBlockCoverage":true}]},{"scriptId":"268","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/ansi-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":350,"count":1}],"isBlockCoverage":true},{"functionName":"ansiRegex","ranges":[{"startOffset":15,"endOffset":349,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true}]},{"scriptId":"269","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/slash/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":285,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":15,"endOffset":284,"count":0}],"isBlockCoverage":false}]},{"scriptId":"270","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":250,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":62,"endOffset":248,"count":1}],"isBlockCoverage":true}]},{"scriptId":"271","url":"node:internal/vm/module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12200,"count":1}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":1662,"endOffset":4017,"count":0}],"isBlockCoverage":false},{"functionName":"get identifier","ranges":[{"startOffset":4021,"endOffset":4158,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4162,"endOffset":4295,"count":0}],"isBlockCoverage":false},{"functionName":"get namespace","ranges":[{"startOffset":4299,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"get status","ranges":[{"startOffset":4580,"endOffset":4733,"count":0}],"isBlockCoverage":false},{"functionName":"get error","ranges":[{"startOffset":4737,"endOffset":4987,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":4991,"endOffset":5396,"count":0}],"isBlockCoverage":false},{"functionName":"evaluate","ranges":[{"startOffset":5400,"endOffset":6153,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6157,"endOffset":6909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":10171,"count":0}],"isBlockCoverage":false},{"functionName":"SyntheticModule","ranges":[{"startOffset":10214,"endOffset":11307,"count":0}],"isBlockCoverage":false},{"functionName":"setExport","ranges":[{"startOffset":11311,"endOffset":11613,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamicallyWrap","ranges":[{"startOffset":11617,"endOffset":12096,"count":369}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyWrapper","ranges":[{"startOffset":11722,"endOffset":12052,"count":2},{"startOffset":11873,"endOffset":11910,"count":0},{"startOffset":11912,"endOffset":12051,"count":0}],"isBlockCoverage":true}]},{"scriptId":"272","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":82,"endOffset":745,"count":1}],"isBlockCoverage":true},{"functionName":"onUnhandledRejection","ranges":[{"startOffset":129,"endOffset":244,"count":0}],"isBlockCoverage":false},{"functionName":"onRejectionHandled","ranges":[{"startOffset":247,"endOffset":433,"count":0}],"isBlockCoverage":false},{"functionName":"currentlyUnhandled","ranges":[{"startOffset":436,"endOffset":599,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":501,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"273","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/array-find-index/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":462,"count":0}],"isBlockCoverage":false}]},{"scriptId":"274","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/now-and-timers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":501,"count":1}],"isBlockCoverage":true},{"functionName":"setCappedTimeout","ranges":[{"startOffset":313,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"275","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge2/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3241,"count":1}],"isBlockCoverage":true},{"functionName":"merge2","ranges":[{"startOffset":280,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"pauseStreams","ranges":[{"startOffset":2702,"endOffset":3240,"count":0}],"isBlockCoverage":false}]},{"scriptId":"276","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4091,"count":1},{"startOffset":3434,"endOffset":3452,"count":0}],"isBlockCoverage":true},{"functionName":"FastGlob","ranges":[{"startOffset":277,"endOffset":501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":612,"endOffset":3423,"count":1}],"isBlockCoverage":true},{"functionName":"sync","ranges":[{"startOffset":763,"endOffset":946,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":977,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":1503,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1795,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"escapePath","ranges":[{"startOffset":2060,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2217,"endOffset":2355,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2434,"endOffset":2864,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2461,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2644,"endOffset":2799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2936,"endOffset":3370,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2963,"endOffset":3100,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":3148,"endOffset":3305,"count":0}],"isBlockCoverage":false},{"functionName":"getWorks","ranges":[{"startOffset":3455,"endOffset":3751,"count":0}],"isBlockCoverage":false},{"functionName":"assertPatternsInput","ranges":[{"startOffset":3752,"endOffset":4063,"count":0}],"isBlockCoverage":false}]},{"scriptId":"277","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/managers/tasks.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5531,"count":1}],"isBlockCoverage":true},{"functionName":"generate","ranges":[{"startOffset":355,"endOffset":1133,"count":0}],"isBlockCoverage":false},{"functionName":"processPatterns","ranges":[{"startOffset":1163,"endOffset":2553,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToTasks","ranges":[{"startOffset":2825,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":4023,"endOffset":4121,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatternsAsPositive","ranges":[{"startOffset":4173,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"groupPatternsByBaseDirectory","ranges":[{"startOffset":4482,"endOffset":4868,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupsToTasks","ranges":[{"startOffset":4938,"endOffset":5147,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupToTask","ranges":[{"startOffset":5215,"endOffset":5467,"count":0}],"isBlockCoverage":false}]},{"scriptId":"278","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":596,"count":1}],"isBlockCoverage":true}]},{"scriptId":"279","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1}],"isBlockCoverage":true},{"functionName":"flatten","ranges":[{"startOffset":123,"endOffset":230,"count":0}],"isBlockCoverage":false},{"functionName":"splitWhen","ranges":[{"startOffset":258,"endOffset":576,"count":0}],"isBlockCoverage":false}]},{"scriptId":"280","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/errno.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":234,"count":1}],"isBlockCoverage":true},{"functionName":"isEnoentCodeError","ranges":[{"startOffset":113,"endOffset":186,"count":0}],"isBlockCoverage":false}]},{"scriptId":"281","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"282","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/path.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3010,"count":1},{"startOffset":2154,"endOffset":2173,"count":0},{"startOffset":2552,"endOffset":2581,"count":0}],"isBlockCoverage":true},{"functionName":"unixify","ranges":[{"startOffset":1352,"endOffset":1423,"count":0}],"isBlockCoverage":false},{"functionName":"makeAbsolute","ranges":[{"startOffset":1451,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"removeLeadingDotSegment","ranges":[{"startOffset":1569,"endOffset":2057,"count":0}],"isBlockCoverage":false},{"functionName":"escapeWindowsPath","ranges":[{"startOffset":2193,"endOffset":2303,"count":0}],"isBlockCoverage":false},{"functionName":"escapePosixPath","ranges":[{"startOffset":2351,"endOffset":2457,"count":0}],"isBlockCoverage":false},{"functionName":"convertWindowsPathToPattern","ranges":[{"startOffset":2611,"endOffset":2792,"count":0}],"isBlockCoverage":false},{"functionName":"convertPosixPathToPattern","ranges":[{"startOffset":2860,"endOffset":2946,"count":0}],"isBlockCoverage":false}]},{"scriptId":"283","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/pattern.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7965,"count":1}],"isBlockCoverage":true},{"functionName":"isStaticPattern","ranges":[{"startOffset":1465,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1608,"endOffset":2666,"count":0}],"isBlockCoverage":false},{"functionName":"hasBraceExpansion","ranges":[{"startOffset":2712,"endOffset":3145,"count":0}],"isBlockCoverage":false},{"functionName":"convertToPositivePattern","ranges":[{"startOffset":3146,"endOffset":3260,"count":0}],"isBlockCoverage":false},{"functionName":"convertToNegativePattern","ranges":[{"startOffset":3322,"endOffset":3394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":3456,"endOffset":3553,"count":0}],"isBlockCoverage":false},{"functionName":"isPositivePattern","ranges":[{"startOffset":3601,"endOffset":3680,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatterns","ranges":[{"startOffset":3728,"endOffset":3817,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":3869,"endOffset":3958,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsInsideCurrentDirectory","ranges":[{"startOffset":4205,"endOffset":4347,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsOutsideCurrentDirectory","ranges":[{"startOffset":4631,"endOffset":4751,"count":0}],"isBlockCoverage":false},{"functionName":"isPatternRelatedToParentDirectory","ranges":[{"startOffset":4833,"endOffset":4955,"count":0}],"isBlockCoverage":false},{"functionName":"getBaseDirectory","ranges":[{"startOffset":5035,"endOffset":5133,"count":0}],"isBlockCoverage":false},{"functionName":"hasGlobStar","ranges":[{"startOffset":5179,"endOffset":5251,"count":0}],"isBlockCoverage":false},{"functionName":"endsWithSlashGlobStar","ranges":[{"startOffset":5287,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"isAffectDepthOfReadingPattern","ranges":[{"startOffset":5431,"endOffset":5599,"count":0}],"isBlockCoverage":false},{"functionName":"expandPatternsWithBraceExpansion","ranges":[{"startOffset":5671,"endOffset":5857,"count":0}],"isBlockCoverage":false},{"functionName":"expandBraceExpansion","ranges":[{"startOffset":5935,"endOffset":6463,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternParts","ranges":[{"startOffset":6517,"endOffset":7150,"count":0}],"isBlockCoverage":false},{"functionName":"makeRe","ranges":[{"startOffset":7194,"endOffset":7279,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToRe","ranges":[{"startOffset":7305,"endOffset":7420,"count":0}],"isBlockCoverage":false},{"functionName":"matchAny","ranges":[{"startOffset":7472,"endOffset":7578,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateSlashes","ranges":[{"startOffset":7813,"endOffset":7907,"count":0}],"isBlockCoverage":false}]},{"scriptId":"284","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/glob-parent/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1120,"count":1}],"isBlockCoverage":true},{"functionName":"globParent","ranges":[{"startOffset":461,"endOffset":1118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"285","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3628,"count":1}],"isBlockCoverage":true},{"functionName":"strictCheck","ranges":[{"startOffset":247,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"relaxedCheck","ranges":[{"startOffset":2767,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"isGlob","ranges":[{"startOffset":3324,"endOffset":3626,"count":0}],"isBlockCoverage":false}]},{"scriptId":"286","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-extglob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"isExtglob","ranges":[{"startOffset":168,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"287","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/micromatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13741,"count":1}],"isBlockCoverage":true},{"functionName":"isEmptyString","ranges":[{"startOffset":187,"endOffset":220,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch","ranges":[{"startOffset":784,"endOffset":2129,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matcher","ranges":[{"startOffset":2781,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.isMatch","ranges":[{"startOffset":3440,"endOffset":3501,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.not","ranges":[{"startOffset":4203,"endOffset":4640,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.contains","ranges":[{"startOffset":5367,"endOffset":5928,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matchKeys","ranges":[{"startOffset":6706,"endOffset":6980,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.some","ranges":[{"startOffset":7765,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.every","ranges":[{"startOffset":8890,"endOffset":9146,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.all","ranges":[{"startOffset":9947,"endOffset":10155,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.capture","ranges":[{"startOffset":10869,"endOffset":11165,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.makeRe","ranges":[{"startOffset":11617,"endOffset":11655,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.scan","ranges":[{"startOffset":12004,"endOffset":12040,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.parse","ranges":[{"startOffset":12432,"endOffset":12652,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braces","ranges":[{"startOffset":13219,"endOffset":13456,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braceExpand","ranges":[{"startOffset":13510,"endOffset":13679,"count":0}],"isBlockCoverage":false}]},{"scriptId":"288","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4375,"count":1}],"isBlockCoverage":true},{"functionName":"braces","ranges":[{"startOffset":543,"endOffset":1030,"count":0}],"isBlockCoverage":false},{"functionName":"braces.parse","ranges":[{"startOffset":1359,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"braces.stringify","ranges":[{"startOffset":1795,"endOffset":1959,"count":0}],"isBlockCoverage":false},{"functionName":"braces.compile","ranges":[{"startOffset":2407,"endOffset":2550,"count":0}],"isBlockCoverage":false},{"functionName":"braces.expand","ranges":[{"startOffset":3141,"endOffset":3541,"count":0}],"isBlockCoverage":false},{"functionName":"braces.create","ranges":[{"startOffset":4118,"endOffset":4319,"count":0}],"isBlockCoverage":false}]},{"scriptId":"289","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/stringify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":700,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":67,"endOffset":697,"count":0}],"isBlockCoverage":false}]},{"scriptId":"290","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2451,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isInteger","ranges":[{"startOffset":35,"endOffset":232,"count":0}],"isBlockCoverage":false},{"functionName":"exports.find","ranges":[{"startOffset":292,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"exports.exceedsLimit","ranges":[{"startOffset":419,"endOffset":626,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeNode","ranges":[{"startOffset":712,"endOffset":985,"count":0}],"isBlockCoverage":false},{"functionName":"exports.encloseBrace","ranges":[{"startOffset":1097,"endOffset":1266,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isInvalidBrace","ranges":[{"startOffset":1347,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isOpenOrClose","ranges":[{"startOffset":1767,"endOffset":1906,"count":0}],"isBlockCoverage":false},{"functionName":"exports.reduce","ranges":[{"startOffset":1969,"endOffset":2127,"count":0}],"isBlockCoverage":false},{"functionName":"exports.flatten","ranges":[{"startOffset":2177,"endOffset":2449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"291","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/compile.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1415,"count":1}],"isBlockCoverage":true},{"functionName":"compile","ranges":[{"startOffset":102,"endOffset":1386,"count":0}],"isBlockCoverage":false}]},{"scriptId":"292","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fill-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6315,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":265,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"transform","ranges":[{"startOffset":355,"endOffset":439,"count":0}],"isBlockCoverage":false},{"functionName":"isValidValue","ranges":[{"startOffset":463,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":578,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"zeros","ranges":[{"startOffset":624,"endOffset":817,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":838,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":1001,"endOffset":1295,"count":0}],"isBlockCoverage":false},{"functionName":"toMaxLen","ranges":[{"startOffset":1315,"endOffset":1552,"count":0}],"isBlockCoverage":false},{"functionName":"toSequence","ranges":[{"startOffset":1574,"endOffset":2208,"count":0}],"isBlockCoverage":false},{"functionName":"toRange","ranges":[{"startOffset":2227,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"toRegex","ranges":[{"startOffset":2499,"endOffset":2758,"count":0}],"isBlockCoverage":false},{"functionName":"rangeError","ranges":[{"startOffset":2780,"endOffset":2874,"count":0}],"isBlockCoverage":false},{"functionName":"invalidRange","ranges":[{"startOffset":2898,"endOffset":3008,"count":0}],"isBlockCoverage":false},{"functionName":"invalidStep","ranges":[{"startOffset":3031,"endOffset":3176,"count":0}],"isBlockCoverage":false},{"functionName":"fillNumbers","ranges":[{"startOffset":3199,"endOffset":4682,"count":0}],"isBlockCoverage":false},{"functionName":"fillLetters","ranges":[{"startOffset":4705,"endOffset":5486,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":5502,"endOffset":6289,"count":0}],"isBlockCoverage":false}]},{"scriptId":"293","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/to-regex-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6481,"count":1}],"isBlockCoverage":true},{"functionName":"toRegexRange","ranges":[{"startOffset":235,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"collatePatterns","ranges":[{"startOffset":2180,"endOffset":2554,"count":0}],"isBlockCoverage":false},{"functionName":"splitToRanges","ranges":[{"startOffset":2556,"endOffset":3037,"count":0}],"isBlockCoverage":false},{"functionName":"rangeToPattern","ranges":[{"startOffset":3159,"endOffset":3832,"count":0}],"isBlockCoverage":false},{"functionName":"splitToPatterns","ranges":[{"startOffset":3834,"endOffset":4632,"count":0}],"isBlockCoverage":false},{"functionName":"filterPatterns","ranges":[{"startOffset":4634,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"zip","ranges":[{"startOffset":5120,"endOffset":5233,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":5235,"endOffset":5298,"count":0}],"isBlockCoverage":false},{"functionName":"contains","ranges":[{"startOffset":5300,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"countNines","ranges":[{"startOffset":5382,"endOffset":5478,"count":0}],"isBlockCoverage":false},{"functionName":"countZeros","ranges":[{"startOffset":5480,"endOffset":5571,"count":0}],"isBlockCoverage":false},{"functionName":"toQuantifier","ranges":[{"startOffset":5573,"endOffset":5741,"count":0}],"isBlockCoverage":false},{"functionName":"toCharacterClass","ranges":[{"startOffset":5743,"endOffset":5837,"count":0}],"isBlockCoverage":false},{"functionName":"hasPadding","ranges":[{"startOffset":5839,"endOffset":5899,"count":0}],"isBlockCoverage":false},{"functionName":"padZeros","ranges":[{"startOffset":5901,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"toRegexRange.clearCache","ranges":[{"startOffset":6382,"endOffset":6413,"count":0}],"isBlockCoverage":false}]},{"scriptId":"294","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-number/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":411,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":184,"endOffset":409,"count":0}],"isBlockCoverage":false}]},{"scriptId":"295","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/expand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2780,"count":1}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":143,"endOffset":810,"count":0}],"isBlockCoverage":false},{"functionName":"expand","ranges":[{"startOffset":828,"endOffset":2752,"count":0}],"isBlockCoverage":false}]},{"scriptId":"296","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6913,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":576,"endOffset":6886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"297","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"298","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":60,"count":1}],"isBlockCoverage":true}]},{"scriptId":"299","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/picomatch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9956,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":204,"endOffset":264,"count":18},{"startOffset":242,"endOffset":264,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch","ranges":[{"startOffset":1018,"endOffset":2836,"count":19},{"startOffset":1087,"endOffset":1365,"count":1},{"startOffset":1365,"endOffset":1400,"count":18},{"startOffset":1400,"endOffset":1414,"count":0},{"startOffset":1415,"endOffset":1428,"count":0},{"startOffset":1449,"endOffset":1490,"count":18},{"startOffset":1478,"endOffset":1489,"count":0},{"startOffset":1492,"endOffset":1567,"count":0},{"startOffset":1567,"endOffset":1597,"count":18},{"startOffset":1669,"endOffset":1705,"count":0},{"startOffset":1710,"endOffset":1756,"count":18},{"startOffset":1861,"endOffset":2015,"count":0},{"startOffset":2015,"endOffset":2783,"count":18},{"startOffset":2783,"endOffset":2815,"count":0},{"startOffset":2815,"endOffset":2835,"count":18}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1114,"endOffset":1161,"count":18}],"isBlockCoverage":true},{"functionName":"arrayMatcher","ranges":[{"startOffset":1189,"endOffset":1335,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnored","ranges":[{"startOffset":1829,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2035,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.test","ranges":[{"startOffset":3384,"endOffset":4185,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.matchBase","ranges":[{"startOffset":4600,"endOffset":4787,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.isMatch","ranges":[{"startOffset":5423,"endOffset":5484,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.parse","ranges":[{"startOffset":5894,"endOffset":6062,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.scan","ranges":[{"startOffset":6697,"endOffset":6737,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.compileRe","ranges":[{"startOffset":7228,"endOffset":7738,"count":18},{"startOffset":7322,"endOffset":7352,"count":0},{"startOffset":7377,"endOffset":7382,"count":0},{"startOffset":7416,"endOffset":7420,"count":0},{"startOffset":7459,"endOffset":7463,"count":0},{"startOffset":7568,"endOffset":7607,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch.makeRe","ranges":[{"startOffset":8611,"endOffset":9117,"count":18},{"startOffset":8724,"endOffset":8785,"count":0},{"startOffset":8895,"endOffset":8914,"count":8},{"startOffset":8917,"endOffset":8975,"count":12}],"isBlockCoverage":true},{"functionName":"picomatch.toRegex","ranges":[{"startOffset":9579,"endOffset":9807,"count":18},{"startOffset":9635,"endOffset":9640,"count":0},{"startOffset":9699,"endOffset":9704,"count":0},{"startOffset":9717,"endOffset":9805,"count":0}],"isBlockCoverage":true}]},{"scriptId":"300","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/scan.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9189,"count":1}],"isBlockCoverage":true},{"functionName":"isPathSeparator","ranges":[{"startOffset":665,"endOffset":746,"count":0}],"isBlockCoverage":false},{"functionName":"depth","ranges":[{"startOffset":763,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"scan","ranges":[{"startOffset":1512,"endOffset":9163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"301","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1885,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isObject","ranges":[{"startOffset":242,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"exports.hasRegexChars","ranges":[{"startOffset":337,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isRegexChar","ranges":[{"startOffset":397,"endOffset":450,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeRegex","ranges":[{"startOffset":474,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"exports.toPosixSlashes","ranges":[{"startOffset":555,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removeBackslashes","ranges":[{"startOffset":626,"endOffset":738,"count":0}],"isBlockCoverage":false},{"functionName":"exports.supportsLookbehinds","ranges":[{"startOffset":771,"endOffset":960,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isWindows","ranges":[{"startOffset":983,"endOffset":1132,"count":48},{"startOffset":1010,"endOffset":1049,"count":30},{"startOffset":1051,"endOffset":1084,"count":0}],"isBlockCoverage":true},{"functionName":"exports.escapeLast","ranges":[{"startOffset":1156,"endOffset":1401,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removePrefix","ranges":[{"startOffset":1427,"endOffset":1584,"count":30},{"startOffset":1505,"endOffset":1565,"count":0}],"isBlockCoverage":true},{"functionName":"exports.wrapOutput","ranges":[{"startOffset":1608,"endOffset":1883,"count":8},{"startOffset":1682,"endOffset":1686,"count":0},{"startOffset":1728,"endOffset":1732,"count":0},{"startOffset":1821,"endOffset":1864,"count":0}],"isBlockCoverage":true}]},{"scriptId":"302","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4448,"count":1}],"isBlockCoverage":true},{"functionName":"extglobChars","ranges":[{"startOffset":3985,"endOffset":4324,"count":18}],"isBlockCoverage":true},{"functionName":"globChars","ranges":[{"startOffset":4365,"endOffset":4444,"count":30},{"startOffset":4410,"endOffset":4425,"count":0}],"isBlockCoverage":true}]},{"scriptId":"303","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27763,"count":1}],"isBlockCoverage":true},{"functionName":"expandRange","ranges":[{"startOffset":287,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"syntaxError","ranges":[{"startOffset":713,"endOffset":819,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":950,"endOffset":25216,"count":18},{"startOffset":1005,"endOffset":1056,"count":0},{"startOffset":1179,"endOffset":1217,"count":0},{"startOffset":1276,"endOffset":1372,"count":0},{"startOffset":1500,"endOffset":1504,"count":0},{"startOffset":2109,"endOffset":2113,"count":0},{"startOffset":2154,"endOffset":2161,"count":0},{"startOffset":2210,"endOffset":2226,"count":0},{"startOffset":2256,"endOffset":2285,"count":0},{"startOffset":2357,"endOffset":2395,"count":0},{"startOffset":6907,"endOffset":8130,"count":8},{"startOffset":7704,"endOffset":7937,"count":0},{"startOffset":7964,"endOffset":7989,"count":3},{"startOffset":7991,"endOffset":8046,"count":0},{"startOffset":8130,"endOffset":8211,"count":10},{"startOffset":8211,"endOffset":24093,"count":55},{"startOffset":8265,"endOffset":8288,"count":0},{"startOffset":8357,"endOffset":9173,"count":0},{"startOffset":9319,"endOffset":9382,"count":0},{"startOffset":9384,"endOffset":10516,"count":0},{"startOffset":10659,"endOffset":10675,"count":0},{"startOffset":10677,"endOffset":10792,"count":0},{"startOffset":10855,"endOffset":11012,"count":0},{"startOffset":11073,"endOffset":11161,"count":0},{"startOffset":11186,"endOffset":11621,"count":0},{"startOffset":11686,"endOffset":12045,"count":0},{"startOffset":12070,"endOffset":13525,"count":0},{"startOffset":13580,"endOffset":13604,"count":0},{"startOffset":13606,"endOffset":13873,"count":0},{"startOffset":13898,"endOffset":15028,"count":0},{"startOffset":15083,"endOffset":15236,"count":0},{"startOffset":15292,"endOffset":15553,"count":0},{"startOffset":15610,"endOffset":16220,"count":9},{"startOffset":15901,"endOffset":15935,"count":0},{"startOffset":15937,"endOffset":16136,"count":0},{"startOffset":16220,"endOffset":16274,"count":46},{"startOffset":16274,"endOffset":16840,"count":5},{"startOffset":16303,"endOffset":16325,"count":0},{"startOffset":16327,"endOffset":16576,"count":0},{"startOffset":16647,"endOffset":16671,"count":0},{"startOffset":16673,"endOffset":16760,"count":0},{"startOffset":16840,"endOffset":16904,"count":41},{"startOffset":16904,"endOffset":17841,"count":0},{"startOffset":17841,"endOffset":17902,"count":41},{"startOffset":17902,"endOffset":18202,"count":0},{"startOffset":18202,"endOffset":18256,"count":41},{"startOffset":18256,"endOffset":18806,"count":0},{"startOffset":18806,"endOffset":18866,"count":41},{"startOffset":18866,"endOffset":19091,"count":0},{"startOffset":19091,"endOffset":19151,"count":41},{"startOffset":19151,"endOffset":19452,"count":10},{"startOffset":19195,"endOffset":19234,"count":0},{"startOffset":19452,"endOffset":19548,"count":31},{"startOffset":19550,"endOffset":19757,"count":0},{"startOffset":19757,"endOffset":19842,"count":31},{"startOffset":19844,"endOffset":19901,"count":0},{"startOffset":19901,"endOffset":19933,"count":31},{"startOffset":19933,"endOffset":23132,"count":11},{"startOffset":19971,"endOffset":20022,"count":0},{"startOffset":20133,"endOffset":20156,"count":2},{"startOffset":20189,"endOffset":20246,"count":9},{"startOffset":20278,"endOffset":20323,"count":0},{"startOffset":20325,"endOffset":20403,"count":0},{"startOffset":20444,"endOffset":20497,"count":0},{"startOffset":20539,"endOffset":20591,"count":0},{"startOffset":20612,"endOffset":20637,"count":0},{"startOffset":20638,"endOffset":20649,"count":0},{"startOffset":20650,"endOffset":20663,"count":0},{"startOffset":20665,"endOffset":20743,"count":0},{"startOffset":20820,"endOffset":20997,"count":0},{"startOffset":21030,"endOffset":21038,"count":2},{"startOffset":21040,"endOffset":21257,"count":0},{"startOffset":21292,"endOffset":21320,"count":9},{"startOffset":21321,"endOffset":21334,"count":9},{"startOffset":21335,"endOffset":21343,"count":9},{"startOffset":21345,"endOffset":21745,"count":0},{"startOffset":21780,"endOffset":21808,"count":9},{"startOffset":21809,"endOffset":21827,"count":9},{"startOffset":21829,"endOffset":22362,"count":9},{"startOffset":21877,"endOffset":21881,"count":0},{"startOffset":22362,"endOffset":22413,"count":2},{"startOffset":22415,"endOffset":22745,"count":2},{"startOffset":22745,"endOffset":23132,"count":0},{"startOffset":23132,"endOffset":23220,"count":20},{"startOffset":23220,"endOffset":23401,"count":0},{"startOffset":23401,"endOffset":23469,"count":20},{"startOffset":23470,"endOffset":23492,"count":0},{"startOffset":23494,"endOffset":23564,"count":0},{"startOffset":23564,"endOffset":23602,"count":20},{"startOffset":23602,"endOffset":23626,"count":18},{"startOffset":23627,"endOffset":23649,"count":0},{"startOffset":23651,"endOffset":24071,"count":20},{"startOffset":23684,"endOffset":23769,"count":0},{"startOffset":23798,"endOffset":23885,"count":0},{"startOffset":23989,"endOffset":24065,"count":9},{"startOffset":24071,"endOffset":24093,"count":20},{"startOffset":24093,"endOffset":24124,"count":10},{"startOffset":24124,"endOffset":24302,"count":0},{"startOffset":24302,"endOffset":24331,"count":10},{"startOffset":24331,"endOffset":24507,"count":0},{"startOffset":24507,"endOffset":24536,"count":10},{"startOffset":24536,"endOffset":24712,"count":0},{"startOffset":24712,"endOffset":24800,"count":10},{"startOffset":24773,"endOffset":24799,"count":1},{"startOffset":24802,"endOffset":24882,"count":9},{"startOffset":24882,"endOffset":24976,"count":10},{"startOffset":24976,"endOffset":25197,"count":0},{"startOffset":25197,"endOffset":25215,"count":10}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":1977,"endOffset":2081,"count":11},{"startOffset":2042,"endOffset":2054,"count":0}],"isBlockCoverage":true},{"functionName":"eos","ranges":[{"startOffset":2889,"endOffset":2918,"count":76}],"isBlockCoverage":true},{"functionName":"state.peek","ranges":[{"startOffset":2948,"endOffset":2981,"count":20}],"isBlockCoverage":true},{"functionName":"state.advance","ranges":[{"startOffset":3017,"endOffset":3049,"count":66},{"startOffset":3044,"endOffset":3049,"count":0}],"isBlockCoverage":true},{"functionName":"remaining","ranges":[{"startOffset":3071,"endOffset":3105,"count":41}],"isBlockCoverage":true},{"functionName":"consume","ranges":[{"startOffset":3125,"endOffset":3208,"count":75}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":3228,"endOffset":3339,"count":64},{"startOffset":3280,"endOffset":3294,"count":54},{"startOffset":3295,"endOffset":3308,"count":10}],"isBlockCoverage":true},{"functionName":"negate","ranges":[{"startOffset":3359,"endOffset":3635,"count":0}],"isBlockCoverage":false},{"functionName":"increment","ranges":[{"startOffset":3658,"endOffset":3712,"count":0}],"isBlockCoverage":false},{"functionName":"decrement","ranges":[{"startOffset":3735,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":4109,"endOffset":5036,"count":64},{"startOffset":4152,"endOffset":4644,"count":11},{"startOffset":4193,"endOffset":4242,"count":0},{"startOffset":4309,"endOffset":4357,"count":0},{"startOffset":4392,"endOffset":4415,"count":0},{"startOffset":4416,"endOffset":4427,"count":0},{"startOffset":4428,"endOffset":4441,"count":0},{"startOffset":4443,"endOffset":4638,"count":0},{"startOffset":4670,"endOffset":4693,"count":0},{"startOffset":4695,"endOffset":4758,"count":0},{"startOffset":4778,"endOffset":4791,"count":9},{"startOffset":4843,"endOffset":4865,"count":9},{"startOffset":4867,"endOffset":4972,"count":0}],"isBlockCoverage":true},{"functionName":"extglobOpen","ranges":[{"startOffset":5061,"endOffset":5492,"count":0}],"isBlockCoverage":false},{"functionName":"extglobClose","ranges":[{"startOffset":5518,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6999,"endOffset":7670,"count":6},{"startOffset":7066,"endOffset":7121,"count":0},{"startOffset":7148,"endOffset":7409,"count":0},{"startOffset":7436,"endOffset":7494,"count":5},{"startOffset":7494,"endOffset":7521,"count":1},{"startOffset":7521,"endOffset":7631,"count":0},{"startOffset":7631,"endOffset":7649,"count":1},{"startOffset":7649,"endOffset":7652,"count":0},{"startOffset":7653,"endOffset":7663,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7841,"endOffset":7921,"count":0}],"isBlockCoverage":false},{"functionName":"parse.fastpaths","ranges":[{"startOffset":25439,"endOffset":27736,"count":12},{"startOffset":25541,"endOffset":25579,"count":0},{"startOffset":25639,"endOffset":25735,"count":0},{"startOffset":26089,"endOffset":26098,"count":0},{"startOffset":26137,"endOffset":26152,"count":0},{"startOffset":26194,"endOffset":26198,"count":0},{"startOffset":26287,"endOffset":26294,"count":0},{"startOffset":26324,"endOffset":26353,"count":0},{"startOffset":27644,"endOffset":27674,"count":0},{"startOffset":27676,"endOffset":27716,"count":0}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":26374,"endOffset":26525,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":26545,"endOffset":27545,"count":16},{"startOffset":26579,"endOffset":26633,"count":0},{"startOffset":26641,"endOffset":26702,"count":0},{"startOffset":26710,"endOffset":26787,"count":0},{"startOffset":26795,"endOffset":26885,"count":0},{"startOffset":26893,"endOffset":26942,"count":0},{"startOffset":26950,"endOffset":27056,"count":0},{"startOffset":27064,"endOffset":27193,"count":0},{"startOffset":27201,"endOffset":27311,"count":0},{"startOffset":27400,"endOffset":27407,"count":12},{"startOffset":27407,"endOffset":27478,"count":4},{"startOffset":27478,"endOffset":27535,"count":0}],"isBlockCoverage":true}]},{"scriptId":"304","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":629,"count":1}],"isBlockCoverage":true},{"functionName":"merge","ranges":[{"startOffset":135,"endOffset":499,"count":0}],"isBlockCoverage":false},{"functionName":"propagateCloseEventToSources","ranges":[{"startOffset":523,"endOffset":628,"count":0}],"isBlockCoverage":false}]},{"scriptId":"305","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":298,"count":1}],"isBlockCoverage":true},{"functionName":"isString","ranges":[{"startOffset":122,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"isEmpty","ranges":[{"startOffset":218,"endOffset":270,"count":0}],"isBlockCoverage":false}]},{"scriptId":"306","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":814,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderAsync","ranges":[{"startOffset":217,"endOffset":327,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":332,"endOffset":587,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":592,"endOffset":778,"count":0}],"isBlockCoverage":false}]},{"scriptId":"307","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1213,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderAsync","ranges":[{"startOffset":246,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":407,"endOffset":750,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":755,"endOffset":1179,"count":0}],"isBlockCoverage":false}]},{"scriptId":"308","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"walk","ranges":[{"startOffset":378,"endOffset":710,"count":0}],"isBlockCoverage":false},{"functionName":"walkSync","ranges":[{"startOffset":732,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"walkStream","ranges":[{"startOffset":956,"endOffset":1154,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":1188,"endOffset":1389,"count":0}],"isBlockCoverage":false}]},{"scriptId":"309","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":895,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncProvider","ranges":[{"startOffset":148,"endOffset":349,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":354,"endOffset":707,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":743,"endOffset":813,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":814,"endOffset":894,"count":0}],"isBlockCoverage":false}]},{"scriptId":"310","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3157,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncReader","ranges":[{"startOffset":318,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":821,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"get isDestroyed","ranges":[{"startOffset":1050,"endOffset":1109,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":1114,"endOffset":1308,"count":0}],"isBlockCoverage":false},{"functionName":"onEntry","ranges":[{"startOffset":1313,"endOffset":1383,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":1388,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"onEnd","ranges":[{"startOffset":1465,"endOffset":1533,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":1538,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_worker","ranges":[{"startOffset":1778,"endOffset":2168,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":2173,"endOffset":2423,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":2428,"endOffset":3049,"count":0}],"isBlockCoverage":false},{"functionName":"_emitEntry","ranges":[{"startOffset":3054,"endOffset":3123,"count":0}],"isBlockCoverage":false}]},{"scriptId":"311","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1009,"count":1}],"isBlockCoverage":true},{"functionName":"scandir","ranges":[{"startOffset":311,"endOffset":603,"count":0}],"isBlockCoverage":false},{"functionName":"scandirSync","ranges":[{"startOffset":631,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":807,"endOffset":1008,"count":0}],"isBlockCoverage":false}]},{"scriptId":"312","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3686,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":346,"endOffset":598,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":620,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"makeRplTaskEntry","ranges":[{"startOffset":1625,"endOffset":2247,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":2248,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":3536,"endOffset":3606,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":3607,"endOffset":3685,"count":0}],"isBlockCoverage":false}]},{"scriptId":"313","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"stat","ranges":[{"startOffset":305,"endOffset":594,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":616,"endOffset":753,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":783,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"314","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":1000,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":1022,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":1093,"endOffset":1171,"count":0}],"isBlockCoverage":false}]},{"scriptId":"315","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":619,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"316","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":696,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":135,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":563,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"317","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":305,"endOffset":522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"318","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/run-parallel/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1034,"count":1}],"isBlockCoverage":true},{"functionName":"runParallel","ranges":[{"startOffset":167,"endOffset":1033,"count":0}],"isBlockCoverage":false}]},{"scriptId":"319","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/queue-microtask/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":402,"count":1},{"startOffset":210,"endOffset":218,"count":0},{"startOffset":283,"endOffset":401,"count":0}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":285,"endOffset":401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"320","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":990,"count":1},{"startOffset":295,"endOffset":424,"count":0},{"startOffset":794,"endOffset":837,"count":0},{"startOffset":956,"endOffset":988,"count":0}],"isBlockCoverage":true}]},{"scriptId":"321","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":143,"count":1}],"isBlockCoverage":true}]},{"scriptId":"322","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"323","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":419,"count":1}],"isBlockCoverage":true},{"functionName":"joinPathSegments","ranges":[{"startOffset":112,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"324","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1990,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":309,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":551,"endOffset":1357,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":1411,"endOffset":1962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"325","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1076,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":209,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":943,"endOffset":1045,"count":0}],"isBlockCoverage":false}]},{"scriptId":"326","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":640,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":363,"endOffset":580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"327","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fastq/queue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5617,"count":1}],"isBlockCoverage":true},{"functionName":"fastqueue","ranges":[{"startOffset":77,"endOffset":3391,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":3393,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"Task","ranges":[{"startOffset":3414,"endOffset":3917,"count":0}],"isBlockCoverage":false},{"functionName":"queueAsPromised","ranges":[{"startOffset":3919,"endOffset":5547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"328","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/reusify/reusify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"reusify","ranges":[{"startOffset":14,"endOffset":427,"count":0}],"isBlockCoverage":false}]},{"scriptId":"329","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1052,"count":1}],"isBlockCoverage":true},{"functionName":"isFatalError","ranges":[{"startOffset":199,"endOffset":350,"count":0}],"isBlockCoverage":false},{"functionName":"isAppliedFilter","ranges":[{"startOffset":388,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"replacePathSegmentSeparator","ranges":[{"startOffset":520,"endOffset":633,"count":0}],"isBlockCoverage":false},{"functionName":"joinPathSegments","ranges":[{"startOffset":701,"endOffset":1006,"count":0}],"isBlockCoverage":false}]},{"scriptId":"330","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":358,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":132,"endOffset":329,"count":0}],"isBlockCoverage":false}]},{"scriptId":"331","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1021,"count":1}],"isBlockCoverage":true},{"functionName":"StreamProvider","ranges":[{"startOffset":185,"endOffset":630,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":635,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"332","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":407,"count":1}],"isBlockCoverage":true},{"functionName":"SyncProvider","ranges":[{"startOffset":145,"endOffset":317,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":322,"endOffset":372,"count":0}],"isBlockCoverage":false}]},{"scriptId":"333","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1911,"count":1}],"isBlockCoverage":true},{"functionName":"SyncReader","ranges":[{"startOffset":249,"endOffset":407,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":412,"endOffset":549,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":554,"endOffset":637,"count":0}],"isBlockCoverage":false},{"functionName":"_handleQueue","ranges":[{"startOffset":642,"endOffset":787,"count":0}],"isBlockCoverage":false},{"functionName":"_handleDirectory","ranges":[{"startOffset":792,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":1127,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":1269,"endOffset":1809,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToStorage","ranges":[{"startOffset":1814,"endOffset":1878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"334","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1250,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":178,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":1117,"endOffset":1219,"count":0}],"isBlockCoverage":false}]},{"scriptId":"335","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1063,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":205,"endOffset":518,"count":0}],"isBlockCoverage":false},{"functionName":"_getFullEntryPath","ranges":[{"startOffset":523,"endOffset":617,"count":0}],"isBlockCoverage":false},{"functionName":"_makeEntry","ranges":[{"startOffset":622,"endOffset":913,"count":0}],"isBlockCoverage":false},{"functionName":"_isFatalError","ranges":[{"startOffset":918,"endOffset":1034,"count":0}],"isBlockCoverage":false}]},{"scriptId":"336","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1870,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderStream","ranges":[{"startOffset":289,"endOffset":419,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":424,"endOffset":502,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":513,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":1275,"endOffset":1579,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1584,"endOffset":1835,"count":0}],"isBlockCoverage":false}]},{"scriptId":"337","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/provider.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2000,"count":1}],"isBlockCoverage":true},{"functionName":"Provider","ranges":[{"startOffset":307,"endOffset":692,"count":0}],"isBlockCoverage":false},{"functionName":"_getRootDirectory","ranges":[{"startOffset":697,"endOffset":788,"count":0}],"isBlockCoverage":false},{"functionName":"_getReaderOptions","ranges":[{"startOffset":793,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"_getMicromatchOptions","ranges":[{"startOffset":1559,"endOffset":1969,"count":0}],"isBlockCoverage":false}]},{"scriptId":"338","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/deep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2466,"count":1}],"isBlockCoverage":true},{"functionName":"DeepFilter","ranges":[{"startOffset":188,"endOffset":328,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":333,"endOffset":576,"count":0}],"isBlockCoverage":false},{"functionName":"_getMatcher","ranges":[{"startOffset":581,"endOffset":699,"count":0}],"isBlockCoverage":false},{"functionName":"_getNegativePatternsRe","ranges":[{"startOffset":704,"endOffset":956,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":961,"endOffset":1444,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByDeep","ranges":[{"startOffset":1449,"endOffset":1754,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntryLevel","ranges":[{"startOffset":1759,"endOffset":2043,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedSymbolicLink","ranges":[{"startOffset":2048,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByPositivePatterns","ranges":[{"startOffset":2175,"endOffset":2306,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByNegativePatterns","ranges":[{"startOffset":2311,"endOffset":2433,"count":0}],"isBlockCoverage":false}]},{"scriptId":"339","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/partial.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1421,"count":1}],"isBlockCoverage":true},{"functionName":"match","ranges":[{"startOffset":170,"endOffset":1384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"340","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1568,"count":1}],"isBlockCoverage":true},{"functionName":"Matcher","ranges":[{"startOffset":135,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"_fillStorage","ranges":[{"startOffset":384,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"_getPatternSegments","ranges":[{"startOffset":778,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"_splitSegmentsIntoSections","ranges":[{"startOffset":1370,"endOffset":1538,"count":0}],"isBlockCoverage":false}]},{"scriptId":"341","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2686,"count":1}],"isBlockCoverage":true},{"functionName":"EntryFilter","ranges":[{"startOffset":139,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":316,"endOffset":667,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":672,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"_isDuplicateEntry","ranges":[{"startOffset":1473,"endOffset":1549,"count":0}],"isBlockCoverage":false},{"functionName":"_createIndexRecord","ranges":[{"startOffset":1554,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyFileFilter","ranges":[{"startOffset":1640,"endOffset":1737,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyDirectoryFilter","ranges":[{"startOffset":1742,"endOffset":1855,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByAbsoluteNegativePatterns","ranges":[{"startOffset":1860,"endOffset":2145,"count":0}],"isBlockCoverage":false},{"functionName":"_isMatchToPatterns","ranges":[{"startOffset":2150,"endOffset":2652,"count":0}],"isBlockCoverage":false}]},{"scriptId":"342","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"ErrorFilter","ranges":[{"startOffset":139,"endOffset":205,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":210,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"_isNonFatalError","ranges":[{"startOffset":290,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"343","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/transformers/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":845,"count":1}],"isBlockCoverage":true},{"functionName":"EntryTransformer","ranges":[{"startOffset":144,"endOffset":210,"count":0}],"isBlockCoverage":false},{"functionName":"getTransformer","ranges":[{"startOffset":215,"endOffset":289,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":294,"endOffset":806,"count":0}],"isBlockCoverage":false}]},{"scriptId":"344","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1198,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderStream","ranges":[{"startOffset":256,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":372,"endOffset":970,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":975,"endOffset":1161,"count":0}],"isBlockCoverage":false}]},{"scriptId":"345","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":779,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderSync","ranges":[{"startOffset":214,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":328,"endOffset":553,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":558,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"346","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1330,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderSync","ranges":[{"startOffset":251,"endOffset":385,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":390,"endOffset":466,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":477,"endOffset":878,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":883,"endOffset":1203,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1208,"endOffset":1297,"count":0}],"isBlockCoverage":false}]},{"scriptId":"347","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2849,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":645,"endOffset":2584,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":2589,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"_getFileSystemMethods","ranges":[{"startOffset":2680,"endOffset":2818,"count":0}],"isBlockCoverage":false}]},{"scriptId":"348","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/dir-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2304,"count":1}],"isBlockCoverage":true},{"functionName":"getExtensions","ranges":[{"startOffset":106,"endOffset":187,"count":0}],"isBlockCoverage":false},{"functionName":"getPath","ranges":[{"startOffset":206,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"addExtensions","ranges":[{"startOffset":376,"endOffset":506,"count":0}],"isBlockCoverage":false},{"functionName":"getGlob","ranges":[{"startOffset":525,"endOffset":1324,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1344,"endOffset":1852,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.sync","ranges":[{"startOffset":1877,"endOffset":2302,"count":0}],"isBlockCoverage":false}]},{"scriptId":"349","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-type/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":true},{"functionName":"isType","ranges":[{"startOffset":78,"endOffset":444,"count":0}],"isBlockCoverage":false},{"functionName":"isTypeSync","ranges":[{"startOffset":446,"endOffset":770,"count":0}],"isBlockCoverage":false}]},{"scriptId":"350","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16073,"count":1},{"startOffset":15630,"endOffset":16072,"count":0}],"isBlockCoverage":true},{"functionName":"makeArray","ranges":[{"startOffset":41,"endOffset":135,"count":0}],"isBlockCoverage":false},{"functionName":"define","ranges":[{"startOffset":813,"endOffset":882,"count":0}],"isBlockCoverage":false},{"functionName":"RETURN_FALSE","ranges":[{"startOffset":952,"endOffset":963,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeRange","ranges":[{"startOffset":1090,"endOffset":1362,"count":0}],"isBlockCoverage":false},{"functionName":"cleanRangeBackSlash","ranges":[{"startOffset":1412,"endOffset":1500,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2321,"endOffset":2383,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2438,"endOffset":2449,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3104,"endOffset":3125,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3213,"endOffset":3225,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3477,"endOffset":3486,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3577,"endOffset":3588,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4009,"endOffset":4028,"count":0}],"isBlockCoverage":false},{"functionName":"startingReplacer","ranges":[{"startOffset":4250,"endOffset":5144,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5442,"endOffset":5912,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":6273,"endOffset":6593,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6787,"endOffset":6799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6849,"endOffset":6861,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7539,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":8102,"endOffset":8250,"count":0}],"isBlockCoverage":false},{"functionName":"REPLACERS","ranges":[{"startOffset":8311,"endOffset":8645,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegex","ranges":[{"startOffset":8808,"endOffset":9130,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":9149,"endOffset":9187,"count":0}],"isBlockCoverage":false},{"functionName":"checkPattern","ranges":[{"startOffset":9294,"endOffset":9514,"count":0}],"isBlockCoverage":false},{"functionName":"splitPattern","ranges":[{"startOffset":9537,"endOffset":9582,"count":0}],"isBlockCoverage":false},{"functionName":"IgnoreRule","ranges":[{"startOffset":9605,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"createRule","ranges":[{"startOffset":9804,"endOffset":10534,"count":0}],"isBlockCoverage":false},{"functionName":"throwError","ranges":[{"startOffset":10555,"endOffset":10603,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath","ranges":[{"startOffset":10623,"endOffset":11159,"count":0}],"isBlockCoverage":false},{"functionName":"isNotRelative","ranges":[{"startOffset":11183,"endOffset":11225,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.convert","ranges":[{"startOffset":11287,"endOffset":11293,"count":0}],"isBlockCoverage":false},{"functionName":"Ignore","ranges":[{"startOffset":11312,"endOffset":11588,"count":0}],"isBlockCoverage":false},{"functionName":"_initCache","ranges":[{"startOffset":11592,"endOffset":11697,"count":0}],"isBlockCoverage":false},{"functionName":"_addPattern","ranges":[{"startOffset":11701,"endOffset":12031,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":12089,"endOffset":12416,"count":0}],"isBlockCoverage":false},{"functionName":"addPattern","ranges":[{"startOffset":12432,"endOffset":12487,"count":0}],"isBlockCoverage":false},{"functionName":"_testOne","ranges":[{"startOffset":13081,"endOffset":13588,"count":0}],"isBlockCoverage":false},{"functionName":"_test","ranges":[{"startOffset":13619,"endOffset":13965,"count":0}],"isBlockCoverage":false},{"functionName":"_t","ranges":[{"startOffset":13969,"endOffset":14755,"count":0}],"isBlockCoverage":false},{"functionName":"ignores","ranges":[{"startOffset":14759,"endOffset":14841,"count":0}],"isBlockCoverage":false},{"functionName":"createFilter","ranges":[{"startOffset":14845,"endOffset":14905,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":14909,"endOffset":14985,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":15016,"endOffset":15084,"count":0}],"isBlockCoverage":false},{"functionName":"factory","ranges":[{"startOffset":15104,"endOffset":15134,"count":0}],"isBlockCoverage":false},{"functionName":"isPathValid","ranges":[{"startOffset":15156,"endOffset":15228,"count":0}],"isBlockCoverage":false},{"functionName":"makePosix","ranges":[{"startOffset":15691,"endOffset":15798,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.isNotRelative","ranges":[{"startOffset":15990,"endOffset":16070,"count":0}],"isBlockCoverage":false}]},{"scriptId":"351","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/glob-helpers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4053,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":547,"endOffset":575,"count":9}],"isBlockCoverage":true},{"functionName":"processMatchingPatterns","ranges":[{"startOffset":724,"endOffset":1373,"count":0}],"isBlockCoverage":false},{"functionName":"matchesIgnorePatterns","ranges":[{"startOffset":1466,"endOffset":1608,"count":0}],"isBlockCoverage":false},{"functionName":"classify","ranges":[{"startOffset":1611,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"hasExtension","ranges":[{"startOffset":2008,"endOffset":2078,"count":0}],"isBlockCoverage":false},{"functionName":"isHelperish","ranges":[{"startOffset":2119,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"matches","ranges":[{"startOffset":2778,"endOffset":2887,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFileForMatching","ranges":[{"startOffset":2917,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePattern","ranges":[{"startOffset":3459,"endOffset":3856,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePatterns","ranges":[{"startOffset":3904,"endOffset":4004,"count":0}],"isBlockCoverage":false}]},{"scriptId":"352","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore-by-default/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":816,"count":1}],"isBlockCoverage":true},{"functionName":"exports.directories","ranges":[{"startOffset":36,"endOffset":815,"count":1}],"isBlockCoverage":true}]},{"scriptId":"353","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/slash.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":1199,"endOffset":1364,"count":0}],"isBlockCoverage":false}]},{"scriptId":"354","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/pkg.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":59,"count":1}],"isBlockCoverage":true}]},{"scriptId":"355","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/clean-yaml-object/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2176,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":129,"count":0}],"isBlockCoverage":false},{"functionName":"cleanYamlObj","ranges":[{"startOffset":132,"endOffset":1901,"count":0}],"isBlockCoverage":false},{"functionName":"setProp","ranges":[{"startOffset":1903,"endOffset":2131,"count":0}],"isBlockCoverage":false},{"functionName":"defaultFilter","ranges":[{"startOffset":2133,"endOffset":2175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"356","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":578,"count":1}],"isBlockCoverage":true}]},{"scriptId":"357","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3379,"count":1}],"isBlockCoverage":true},{"functionName":"shortcircuitPrimitive","ranges":[{"startOffset":408,"endOffset":728,"count":0}],"isBlockCoverage":false},{"functionName":"compareDescriptors","ranges":[{"startOffset":730,"endOffset":2814,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2864,"endOffset":3352,"count":0}],"isBlockCoverage":false}]},{"scriptId":"358","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Circular.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":785,"count":1}],"isBlockCoverage":true},{"functionName":"Circular","ranges":[{"startOffset":33,"endOffset":80,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":84,"endOffset":361,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":365,"endOffset":583,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":587,"endOffset":647,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":651,"endOffset":756,"count":0}],"isBlockCoverage":false}]},{"scriptId":"359","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":249,"count":1}],"isBlockCoverage":true}]},{"scriptId":"360","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/describe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5965,"count":1}],"isBlockCoverage":true},{"functionName":"describePrimitive","ranges":[{"startOffset":2448,"endOffset":2957,"count":0}],"isBlockCoverage":false},{"functionName":"unboxComplex","ranges":[{"startOffset":2959,"endOffset":3324,"count":0}],"isBlockCoverage":false},{"functionName":"registerPlugins","ranges":[{"startOffset":3326,"endOffset":3726,"count":0}],"isBlockCoverage":false},{"functionName":"describeComplex","ranges":[{"startOffset":3728,"endOffset":4699,"count":0}],"isBlockCoverage":false},{"functionName":"describeItem","ranges":[{"startOffset":4722,"endOffset":4923,"count":0}],"isBlockCoverage":false},{"functionName":"describeMapEntry","ranges":[{"startOffset":4950,"endOffset":5058,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":5060,"endOffset":5938,"count":0}],"isBlockCoverage":false}]},{"scriptId":"361","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Registry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"Registry","ranges":[{"startOffset":33,"endOffset":103,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":107,"endOffset":155,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":159,"endOffset":218,"count":0}],"isBlockCoverage":false},{"functionName":"alloc","ranges":[{"startOffset":222,"endOffset":374,"count":0}],"isBlockCoverage":false}]},{"scriptId":"362","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":409,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":652,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1160,"endOffset":1382,"count":0}],"isBlockCoverage":false}]},{"scriptId":"363","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7185,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":436,"endOffset":713,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":743,"endOffset":839,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectValue","ranges":[{"startOffset":950,"endOffset":1203,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1207,"endOffset":1399,"count":0}],"isBlockCoverage":false},{"functionName":"hasSameCtor","ranges":[{"startOffset":1403,"endOffset":1470,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1474,"endOffset":1561,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1565,"endOffset":1699,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":2001,"endOffset":6371,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2068,"endOffset":2433,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2439,"endOffset":2563,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2569,"endOffset":3030,"count":0}],"isBlockCoverage":false},{"functionName":"createListRecursor","ranges":[{"startOffset":3036,"endOffset":3472,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":3478,"endOffset":4494,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":4500,"endOffset":6365,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMixin","ranges":[{"startOffset":6413,"endOffset":7138,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6483,"endOffset":6780,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":6786,"endOffset":7055,"count":0}],"isBlockCoverage":false},{"functionName":"hasSameCtor","ranges":[{"startOffset":7061,"endOffset":7132,"count":0}],"isBlockCoverage":false}]},{"scriptId":"364","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/formatUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3260,"count":1}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":60,"endOffset":146,"count":0}],"isBlockCoverage":false},{"functionName":"formatCtorAndStringTag","ranges":[{"startOffset":168,"endOffset":537,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectFormatter","ranges":[{"startOffset":621,"endOffset":840,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":844,"endOffset":1189,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":1193,"endOffset":1873,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":1877,"endOffset":2161,"count":0}],"isBlockCoverage":false},{"functionName":"shouldFormat","ranges":[{"startOffset":2165,"endOffset":2202,"count":0}],"isBlockCoverage":false},{"functionName":"customize","ranges":[{"startOffset":2206,"endOffset":2502,"count":0}],"isBlockCoverage":false},{"functionName":"SingleValueFormatter","ranges":[{"startOffset":2579,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2790,"endOffset":2961,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":2965,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":3120,"endOffset":3205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"365","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/lineBuilder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7155,"count":1}],"isBlockCoverage":true},{"functionName":"translateGutter","ranges":[{"startOffset":123,"endOffset":485,"count":0}],"isBlockCoverage":false},{"functionName":"Line","ranges":[{"startOffset":502,"endOffset":670,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":674,"endOffset":717,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":721,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":762,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":820,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":884,"endOffset":934,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":938,"endOffset":1027,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":1031,"endOffset":1202,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":1206,"endOffset":1479,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":1483,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":1634,"endOffset":1783,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":1787,"endOffset":1871,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":1875,"endOffset":1960,"count":0}],"isBlockCoverage":false},{"functionName":"Collection","ranges":[{"startOffset":2050,"endOffset":2091,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2095,"endOffset":2217,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":2221,"endOffset":2277,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":2281,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":2399,"endOffset":2526,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2530,"endOffset":2632,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":2636,"endOffset":2725,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2729,"endOffset":3536,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":3540,"endOffset":4287,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":4291,"endOffset":4423,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":4427,"endOffset":4561,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":4565,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":4675,"endOffset":5381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":5462,"endOffset":5708,"count":0}],"isBlockCoverage":false},{"functionName":"buffer","ranges":[{"startOffset":5731,"endOffset":5774,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":5779,"endOffset":5856,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":5861,"endOffset":5937,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":5942,"endOffset":6019,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6024,"endOffset":6101,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6106,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6194,"endOffset":6277,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6284,"endOffset":6366,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6373,"endOffset":6456,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6463,"endOffset":6546,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6553,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6678,"endOffset":6763,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6770,"endOffset":6854,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6861,"endOffset":6946,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6953,"endOffset":7038,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":7045,"endOffset":7146,"count":0}],"isBlockCoverage":false}]},{"scriptId":"366","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getObjectKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":964,"count":1}],"isBlockCoverage":true},{"functionName":"getObjectKeys","ranges":[{"startOffset":14,"endOffset":932,"count":0}],"isBlockCoverage":false}]},{"scriptId":"367","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/hasLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":303,"count":1}],"isBlockCoverage":true},{"functionName":"hasLength","ranges":[{"startOffset":104,"endOffset":275,"count":0}],"isBlockCoverage":false}]},{"scriptId":"368","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":802,"count":1}],"isBlockCoverage":true},{"functionName":"isLength","ranges":[{"startOffset":645,"endOffset":773,"count":0}],"isBlockCoverage":false}]},{"scriptId":"369","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/stats.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3836,"count":1}],"isBlockCoverage":true},{"functionName":"describeIterableRecursor","ranges":[{"startOffset":228,"endOffset":318,"count":0}],"isBlockCoverage":false},{"functionName":"describeListRecursor","ranges":[{"startOffset":380,"endOffset":462,"count":0}],"isBlockCoverage":false},{"functionName":"describePropertyRecursor","ranges":[{"startOffset":516,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeIterableStats","ranges":[{"startOffset":668,"endOffset":745,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeListStats","ranges":[{"startOffset":807,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePropertyStats","ranges":[{"startOffset":930,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":1306,"endOffset":1351,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1355,"endOffset":1432,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1436,"endOffset":2989,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2993,"endOffset":3032,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3141,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3387,"endOffset":3513,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3625,"endOffset":3755,"count":0}],"isBlockCoverage":false}]},{"scriptId":"370","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/recursorUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2251,"count":1}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":51,"endOffset":74,"count":0}],"isBlockCoverage":false},{"functionName":"fork","ranges":[{"startOffset":117,"endOffset":396,"count":0}],"isBlockCoverage":false},{"functionName":"consumeDeep","ranges":[{"startOffset":418,"endOffset":732,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":768,"endOffset":910,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":930,"endOffset":1606,"count":0}],"isBlockCoverage":false},{"functionName":"sequence","ranges":[{"startOffset":1632,"endOffset":1850,"count":0}],"isBlockCoverage":false},{"functionName":"singleValue","ranges":[{"startOffset":1880,"endOffset":2012,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":2048,"endOffset":2224,"count":0}],"isBlockCoverage":false}]},{"scriptId":"371","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":970,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":313,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":343,"endOffset":444,"count":0}],"isBlockCoverage":false}]},{"scriptId":"372","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/typedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4439,"count":1}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":382,"endOffset":596,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":628,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":910,"endOffset":1010,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeBytes","ranges":[{"startOffset":1046,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"Bytes","ranges":[{"startOffset":1292,"endOffset":1343,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1347,"endOffset":1482,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1486,"endOffset":2297,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2301,"endOffset":2342,"count":0}],"isBlockCoverage":false},{"functionName":"TypedArrayValue","ranges":[{"startOffset":2466,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":2543,"endOffset":2931,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":3049,"endOffset":3869,"count":3}],"isBlockCoverage":true},{"functionName":"createListRecursor","ranges":[{"startOffset":3237,"endOffset":3307,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":3313,"endOffset":3749,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":3755,"endOffset":3863,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMixin","ranges":[{"startOffset":3977,"endOffset":4320,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4073,"endOffset":4314,"count":0}],"isBlockCoverage":false}]},{"scriptId":"373","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/boxed.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1292,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":264,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedBoxedValue","ranges":[{"startOffset":634,"endOffset":709,"count":0}],"isBlockCoverage":false},{"functionName":"createListRecursor","ranges":[{"startOffset":713,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":783,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1126,"endOffset":1220,"count":0}],"isBlockCoverage":false}]},{"scriptId":"374","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11430,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":306,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"basicEscape","ranges":[{"startOffset":707,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"escapeLinebreak","ranges":[{"startOffset":1015,"endOffset":1219,"count":0}],"isBlockCoverage":false},{"functionName":"themeControlPictures","ranges":[{"startOffset":1221,"endOffset":1442,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuotes","ranges":[{"startOffset":1537,"endOffset":1834,"count":0}],"isBlockCoverage":false},{"functionName":"includesLinebreaks","ranges":[{"startOffset":1836,"endOffset":1932,"count":0}],"isBlockCoverage":false},{"functionName":"diffLine","ranges":[{"startOffset":1934,"endOffset":3826,"count":0}],"isBlockCoverage":false},{"functionName":"gatherLines","ranges":[{"startOffset":3862,"endOffset":4170,"count":0}],"isBlockCoverage":false},{"functionName":"StringValue","ranges":[{"startOffset":4194,"endOffset":4242,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":4246,"endOffset":4370,"count":0}],"isBlockCoverage":false},{"functionName":"get includesLinebreaks","ranges":[{"startOffset":4374,"endOffset":4447,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4451,"endOffset":5422,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":5426,"endOffset":5800,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5804,"endOffset":11238,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":11242,"endOffset":11282,"count":0}],"isBlockCoverage":false}]},{"scriptId":"375","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1334,"endOffset":1486,"count":1}],"isBlockCoverage":true}]},{"scriptId":"376","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/ast.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4728,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":4687,"count":1}],"isBlockCoverage":true},{"functionName":"isExpression","ranges":[{"startOffset":1370,"endOffset":2121,"count":0}],"isBlockCoverage":false},{"functionName":"isIterationStatement","ranges":[{"startOffset":2127,"endOffset":2444,"count":0}],"isBlockCoverage":false},{"functionName":"isStatement","ranges":[{"startOffset":2450,"endOffset":3262,"count":0}],"isBlockCoverage":false},{"functionName":"isSourceElement","ranges":[{"startOffset":3268,"endOffset":3393,"count":0}],"isBlockCoverage":false},{"functionName":"trailingStatement","ranges":[{"startOffset":3399,"endOffset":3843,"count":0}],"isBlockCoverage":false},{"functionName":"isProblematicIfStatement","ranges":[{"startOffset":3849,"endOffset":4384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"377","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/code.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29610,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1391,"endOffset":29569,"count":1},{"startOffset":27989,"endOffset":28199,"count":128},{"startOffset":28045,"endOffset":28058,"count":31},{"startOffset":28059,"endOffset":28107,"count":102},{"startOffset":28094,"endOffset":28107,"count":37},{"startOffset":28108,"endOffset":28143,"count":76},{"startOffset":28144,"endOffset":28158,"count":75},{"startOffset":28273,"endOffset":28531,"count":128},{"startOffset":28328,"endOffset":28341,"count":31},{"startOffset":28342,"endOffset":28390,"count":102},{"startOffset":28377,"endOffset":28390,"count":37},{"startOffset":28391,"endOffset":28439,"count":76},{"startOffset":28426,"endOffset":28439,"count":28},{"startOffset":28440,"endOffset":28475,"count":66},{"startOffset":28476,"endOffset":28490,"count":65}],"isBlockCoverage":true},{"functionName":"isDecimalDigit","ranges":[{"startOffset":26641,"endOffset":26726,"count":0}],"isBlockCoverage":false},{"functionName":"isHexDigit","ranges":[{"startOffset":26732,"endOffset":26919,"count":0}],"isBlockCoverage":false},{"functionName":"isOctalDigit","ranges":[{"startOffset":26925,"endOffset":27008,"count":0}],"isBlockCoverage":false},{"functionName":"isWhiteSpace","ranges":[{"startOffset":27243,"endOffset":27434,"count":0}],"isBlockCoverage":false},{"functionName":"isLineTerminator","ranges":[{"startOffset":27469,"endOffset":27583,"count":0}],"isBlockCoverage":false},{"functionName":"fromCodePoint","ranges":[{"startOffset":27634,"endOffset":27914,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES5","ranges":[{"startOffset":28537,"endOffset":28686,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES5","ranges":[{"startOffset":28692,"endOffset":28838,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES6","ranges":[{"startOffset":28844,"endOffset":28993,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES6","ranges":[{"startOffset":28999,"endOffset":29145,"count":0}],"isBlockCoverage":false}]},{"scriptId":"378","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/keyword.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5616,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":5575,"count":1}],"isBlockCoverage":true},{"functionName":"isStrictModeReservedWordES6","ranges":[{"startOffset":1405,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES5","ranges":[{"startOffset":1752,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES6","ranges":[{"startOffset":1990,"endOffset":3218,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES5","ranges":[{"startOffset":3224,"endOffset":3363,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES6","ranges":[{"startOffset":3369,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"isRestrictedWord","ranges":[{"startOffset":3514,"endOffset":3603,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES5","ranges":[{"startOffset":3609,"endOffset":4045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeUtf16","ranges":[{"startOffset":4051,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES6","ranges":[{"startOffset":4167,"endOffset":4903,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES5","ranges":[{"startOffset":4909,"endOffset":5027,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES6","ranges":[{"startOffset":5033,"endOffset":5151,"count":0}],"isBlockCoverage":false}]},{"scriptId":"379","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-diff/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":38838,"count":1}],"isBlockCoverage":true},{"functionName":"diff_main","ranges":[{"startOffset":1622,"endOffset":2855,"count":0}],"isBlockCoverage":false},{"functionName":"diff_compute_","ranges":[{"startOffset":3117,"endOffset":4721,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisect_","ranges":[{"startOffset":5070,"endOffset":8602,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisectSplit_","ranges":[{"startOffset":8946,"endOffset":9292,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonPrefix","ranges":[{"startOffset":9516,"endOffset":10360,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonOverlap_","ranges":[{"startOffset":10654,"endOffset":11835,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonSuffix","ranges":[{"startOffset":12050,"endOffset":12955,"count":0}],"isBlockCoverage":false},{"functionName":"diff_halfMatch_","ranges":[{"startOffset":13397,"endOffset":16552,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemantic","ranges":[{"startOffset":16712,"endOffset":21136,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemanticLossless","ranges":[{"startOffset":21599,"endOffset":25878,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupMerge","ranges":[{"startOffset":26143,"endOffset":33884,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_start","ranges":[{"startOffset":33886,"endOffset":33983,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_end","ranges":[{"startOffset":33985,"endOffset":34080,"count":0}],"isBlockCoverage":false},{"functionName":"starts_with_pair_end","ranges":[{"startOffset":34082,"endOffset":34171,"count":0}],"isBlockCoverage":false},{"functionName":"ends_with_pair_start","ranges":[{"startOffset":34173,"endOffset":34277,"count":0}],"isBlockCoverage":false},{"functionName":"remove_empty_tuples","ranges":[{"startOffset":34279,"endOffset":34465,"count":0}],"isBlockCoverage":false},{"functionName":"make_edit_splice","ranges":[{"startOffset":34467,"endOffset":34771,"count":0}],"isBlockCoverage":false},{"functionName":"find_cursor_edit_diff","ranges":[{"startOffset":34773,"endOffset":38521,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":38523,"endOffset":38733,"count":0}],"isBlockCoverage":false}]},{"scriptId":"380","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/dataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":949,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":319,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":349,"endOffset":447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"381","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/date.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2613,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":304,"endOffset":471,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":501,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"formatDate","ranges":[{"startOffset":682,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"DateValue","ranges":[{"startOffset":993,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1072,"endOffset":1333,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1337,"endOffset":2118,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2122,"endOffset":2253,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedDateValue","ranges":[{"startOffset":2460,"endOffset":2610,"count":0}],"isBlockCoverage":false}]},{"scriptId":"382","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/date-time/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":831,"count":1}],"isBlockCoverage":true},{"functionName":"dateTime","ranges":[{"startOffset":71,"endOffset":718,"count":0}],"isBlockCoverage":false}]},{"scriptId":"383","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/time-zone/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":343,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"384","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3605,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":331,"endOffset":608,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":638,"endOffset":733,"count":0}],"isBlockCoverage":false},{"functionName":"ErrorValue","ranges":[{"startOffset":869,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":942,"endOffset":1082,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1086,"endOffset":2193,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2197,"endOffset":2257,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedErrorValue","ranges":[{"startOffset":2400,"endOffset":2583,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2587,"endOffset":3430,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedErrorValue","ranges":[{"startOffset":3512,"endOffset":3602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"385","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/isEnumerable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":171,"count":1}],"isBlockCoverage":true},{"functionName":"isEnumerable","ranges":[{"startOffset":14,"endOffset":140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"386","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3272,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":377,"endOffset":600,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":630,"endOffset":728,"count":0}],"isBlockCoverage":false},{"functionName":"FunctionValue","ranges":[{"startOffset":870,"endOffset":939,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":943,"endOffset":1706,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedFunctionValue","ranges":[{"startOffset":1858,"endOffset":1951,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1955,"endOffset":2203,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2207,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2749,"endOffset":2809,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedFunctionValue","ranges":[{"startOffset":2897,"endOffset":2987,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2991,"endOffset":3205,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3209,"endOffset":3269,"count":0}],"isBlockCoverage":false}]},{"scriptId":"387","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":822,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":275,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":412,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":512,"endOffset":676,"count":0}],"isBlockCoverage":false}]},{"scriptId":"388","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1845,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"MapValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1028,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1032,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1229,"endOffset":1674,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMapValue","ranges":[{"startOffset":1752,"endOffset":1842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"389","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1054,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":167,"endOffset":238,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":268,"endOffset":345,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":630,"endOffset":830,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":916,"endOffset":1051,"count":0}],"isBlockCoverage":false}]},{"scriptId":"390","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2733,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":219,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":432,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"getSortedFlags","ranges":[{"startOffset":617,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"RegexpValue","ranges":[{"startOffset":824,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":930,"endOffset":1107,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1111,"endOffset":2317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2321,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedRegexpValue","ranges":[{"startOffset":2612,"endOffset":2730,"count":0}],"isBlockCoverage":false}]},{"scriptId":"391","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1815,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"SetValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1030,"endOffset":1090,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1227,"endOffset":1644,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSetValue","ranges":[{"startOffset":1722,"endOffset":1812,"count":0}],"isBlockCoverage":false}]},{"scriptId":"392","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getCtor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1275,"count":1}],"isBlockCoverage":true},{"functionName":"getCtor","ranges":[{"startOffset":59,"endOffset":1249,"count":0}],"isBlockCoverage":false}]},{"scriptId":"393","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getStringTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":721,"count":1},{"startOffset":467,"endOffset":720,"count":0}],"isBlockCoverage":true},{"functionName":"getStringTag","ranges":[{"startOffset":51,"endOffset":121,"count":1}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":225,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"getStringTagWithPromiseWorkaround","ranges":[{"startOffset":519,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"394","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/item.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7816,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":228,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeComplex","ranges":[{"startOffset":354,"endOffset":469,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":519,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePrimitive","ranges":[{"startOffset":653,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexItem","ranges":[{"startOffset":1017,"endOffset":1095,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1099,"endOffset":1171,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1175,"endOffset":1330,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1334,"endOffset":1719,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1723,"endOffset":4317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":4321,"endOffset":4361,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveItem","ranges":[{"startOffset":4536,"endOffset":4614,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":4618,"endOffset":4775,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4779,"endOffset":5334,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":5338,"endOffset":6853,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":6857,"endOffset":7602,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7606,"endOffset":7660,"count":0}],"isBlockCoverage":false}]},{"scriptId":"395","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/mapEntry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7305,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":318,"endOffset":585,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":615,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithKey","ranges":[{"startOffset":974,"endOffset":1422,"count":0}],"isBlockCoverage":false},{"functionName":"MapEntry","ranges":[{"startOffset":1443,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1639,"endOffset":1916,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1920,"endOffset":2399,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":2403,"endOffset":3004,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3008,"endOffset":3349,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":3353,"endOffset":4200,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":4204,"endOffset":7086,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7090,"endOffset":7164,"count":0}],"isBlockCoverage":false}]},{"scriptId":"396","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/themeUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5251,"count":1}],"isBlockCoverage":true},{"functionName":"freezeTheme","ranges":[{"startOffset":151,"endOffset":490,"count":1},{"startOffset":233,"endOffset":472,"count":42},{"startOffset":338,"endOffset":468,"count":120},{"startOffset":397,"endOffset":425,"count":118},{"startOffset":427,"endOffset":462,"count":41}],"isBlockCoverage":true},{"functionName":"normalizePlugins","ranges":[{"startOffset":2413,"endOffset":3165,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":3205,"endOffset":4082,"count":0}],"isBlockCoverage":false},{"functionName":"addModifier","ranges":[{"startOffset":4146,"endOffset":4338,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiers","ranges":[{"startOffset":4446,"endOffset":5020,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiersToOriginal","ranges":[{"startOffset":5062,"endOffset":5190,"count":0}],"isBlockCoverage":false}]},{"scriptId":"397","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/cloneDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":679,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDeep","ranges":[{"startOffset":555,"endOffset":649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"398","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseClone.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5609,"count":1}],"isBlockCoverage":true},{"functionName":"baseClone","ranges":[{"startOffset":3399,"endOffset":5579,"count":0}],"isBlockCoverage":false}]},{"scriptId":"399","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Stack.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":734,"count":1}],"isBlockCoverage":true},{"functionName":"Stack","ranges":[{"startOffset":402,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"400","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_ListCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"ListCache","ranges":[{"startOffset":376,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"401","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":218,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheClear","ranges":[{"startOffset":115,"endOffset":183,"count":0}],"isBlockCoverage":false}]},{"scriptId":"402","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":775,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheDelete","ranges":[{"startOffset":440,"endOffset":739,"count":0}],"isBlockCoverage":false}]},{"scriptId":"403","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assocIndexOf.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":487,"count":1}],"isBlockCoverage":true},{"functionName":"assocIndexOf","ranges":[{"startOffset":286,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"404","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":799,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":681,"endOffset":776,"count":0}],"isBlockCoverage":false}]},{"scriptId":"405","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":420,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheGet","ranges":[{"startOffset":240,"endOffset":387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"406","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheHas","ranges":[{"startOffset":292,"endOffset":370,"count":0}],"isBlockCoverage":false}]},{"scriptId":"407","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":553,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheSet","ranges":[{"startOffset":292,"endOffset":520,"count":0}],"isBlockCoverage":false}]},{"scriptId":"408","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":254,"count":1}],"isBlockCoverage":true},{"functionName":"stackClear","ranges":[{"startOffset":148,"endOffset":223,"count":0}],"isBlockCoverage":false}]},{"scriptId":"409","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":405,"count":1}],"isBlockCoverage":true},{"functionName":"stackDelete","ranges":[{"startOffset":237,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"410","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":271,"count":1}],"isBlockCoverage":true},{"functionName":"stackGet","ranges":[{"startOffset":183,"endOffset":242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"411","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":323,"count":1}],"isBlockCoverage":true},{"functionName":"stackHas","ranges":[{"startOffset":235,"endOffset":294,"count":0}],"isBlockCoverage":false}]},{"scriptId":"412","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":853,"count":1}],"isBlockCoverage":true},{"functionName":"stackSet","ranges":[{"startOffset":436,"endOffset":824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"413","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"414","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"getNative","ranges":[{"startOffset":331,"endOffset":453,"count":7},{"startOffset":439,"endOffset":450,"count":0}],"isBlockCoverage":true}]},{"scriptId":"415","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1417,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsNative","ranges":[{"startOffset":1182,"endOffset":1384,"count":7},{"startOffset":1256,"endOffset":1279,"count":0},{"startOffset":1327,"endOffset":1341,"count":0}],"isBlockCoverage":true}]},{"scriptId":"416","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isFunction.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":993,"count":1}],"isBlockCoverage":true},{"functionName":"isFunction","ranges":[{"startOffset":617,"endOffset":962,"count":7},{"startOffset":670,"endOffset":693,"count":0},{"startOffset":905,"endOffset":921,"count":0},{"startOffset":922,"endOffset":940,"count":0},{"startOffset":941,"endOffset":959,"count":0}],"isBlockCoverage":true}]},{"scriptId":"417","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":792,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true},{"functionName":"baseGetTag","ranges":[{"startOffset":534,"endOffset":761,"count":13},{"startOffset":584,"endOffset":646,"count":0},{"startOffset":712,"endOffset":730,"count":5},{"startOffset":735,"endOffset":758,"count":8}],"isBlockCoverage":true}]},{"scriptId":"418","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true}]},{"scriptId":"419","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_root.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":300,"count":1},{"startOffset":119,"endOffset":126,"count":0},{"startOffset":127,"endOffset":152,"count":0},{"startOffset":153,"endOffset":160,"count":0},{"startOffset":234,"endOffset":245,"count":0},{"startOffset":246,"endOffset":274,"count":0}],"isBlockCoverage":true}]},{"scriptId":"420","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_freeGlobal.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":173,"count":1}],"isBlockCoverage":true}]},{"scriptId":"421","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getRawTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1139,"count":1},{"startOffset":488,"endOffset":499,"count":0}],"isBlockCoverage":true},{"functionName":"getRawTag","ranges":[{"startOffset":701,"endOffset":1109,"count":5},{"startOffset":899,"endOffset":911,"count":0},{"startOffset":995,"endOffset":1037,"count":0}],"isBlockCoverage":true}]},{"scriptId":"422","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_objectToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":565,"count":1}],"isBlockCoverage":true},{"functionName":"objectToString","ranges":[{"startOffset":453,"endOffset":530,"count":8}],"isBlockCoverage":true}]},{"scriptId":"423","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":733,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":581,"endOffset":704,"count":14}],"isBlockCoverage":true}]},{"scriptId":"424","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isMasked.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":564,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":116,"endOffset":268,"count":1},{"startOffset":166,"endOffset":184,"count":0},{"startOffset":185,"endOffset":212,"count":0},{"startOffset":234,"endOffset":260,"count":0}],"isBlockCoverage":true},{"functionName":"isMasked","ranges":[{"startOffset":461,"endOffset":535,"count":7},{"startOffset":509,"endOffset":532,"count":0}],"isBlockCoverage":true}]},{"scriptId":"425","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_coreJsData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":157,"count":1}],"isBlockCoverage":true}]},{"scriptId":"426","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_toSource.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":556,"count":1}],"isBlockCoverage":true},{"functionName":"toSource","ranges":[{"startOffset":339,"endOffset":527,"count":12},{"startOffset":441,"endOffset":508,"count":0},{"startOffset":512,"endOffset":526,"count":0}],"isBlockCoverage":true}]},{"scriptId":"427","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":325,"count":1}],"isBlockCoverage":true},{"functionName":"getValue","ranges":[{"startOffset":211,"endOffset":296,"count":7},{"startOffset":268,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"428","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_MapCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"MapCache","ranges":[{"startOffset":389,"endOffset":606,"count":0}],"isBlockCoverage":false}]},{"scriptId":"429","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":393,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheClear","ranges":[{"startOffset":209,"endOffset":359,"count":0}],"isBlockCoverage":false}]},{"scriptId":"430","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Hash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"Hash","ranges":[{"startOffset":319,"endOffset":532,"count":0}],"isBlockCoverage":false}]},{"scriptId":"431","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":281,"count":1}],"isBlockCoverage":true},{"functionName":"hashClear","ranges":[{"startOffset":152,"endOffset":251,"count":0}],"isBlockCoverage":false}]},{"scriptId":"432","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":187,"count":1}],"isBlockCoverage":true}]},{"scriptId":"433","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":445,"count":1}],"isBlockCoverage":true},{"functionName":"hashDelete","ranges":[{"startOffset":279,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"434","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"hashGet","ranges":[{"startOffset":513,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"435","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":626,"count":1}],"isBlockCoverage":true},{"functionName":"hashHas","ranges":[{"startOffset":461,"endOffset":598,"count":0}],"isBlockCoverage":false}]},{"scriptId":"436","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"hashSet","ranges":[{"startOffset":379,"endOffset":570,"count":0}],"isBlockCoverage":false}]},{"scriptId":"437","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheDelete","ranges":[{"startOffset":282,"endOffset":415,"count":0}],"isBlockCoverage":false}]},{"scriptId":"438","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getMapData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":400,"count":1}],"isBlockCoverage":true},{"functionName":"getMapData","ranges":[{"startOffset":214,"endOffset":369,"count":0}],"isBlockCoverage":false}]},{"scriptId":"439","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isKeyable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":430,"count":1}],"isBlockCoverage":true},{"functionName":"isKeyable","ranges":[{"startOffset":201,"endOffset":400,"count":0}],"isBlockCoverage":false}]},{"scriptId":"440","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":330,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheGet","ranges":[{"startOffset":228,"endOffset":298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"441","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheHas","ranges":[{"startOffset":280,"endOffset":350,"count":0}],"isBlockCoverage":false}]},{"scriptId":"442","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":489,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheSet","ranges":[{"startOffset":279,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"443","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayEach.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":537,"count":1}],"isBlockCoverage":true},{"functionName":"arrayEach","ranges":[{"startOffset":274,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"444","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":899,"count":1}],"isBlockCoverage":true},{"functionName":"assignValue","ranges":[{"startOffset":629,"endOffset":867,"count":0}],"isBlockCoverage":false}]},{"scriptId":"445","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":625,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignValue","ranges":[{"startOffset":314,"endOffset":589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"446","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_defineProperty.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":64,"endOffset":194,"count":1},{"startOffset":180,"endOffset":192,"count":0}],"isBlockCoverage":true}]},{"scriptId":"447","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssign.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssign","ranges":[{"startOffset":339,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"448","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1044,"count":1}],"isBlockCoverage":true},{"functionName":"copyObject","ranges":[{"startOffset":467,"endOffset":1013,"count":0}],"isBlockCoverage":false}]},{"scriptId":"449","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":884,"count":1}],"isBlockCoverage":true},{"functionName":"keys","ranges":[{"startOffset":761,"endOffset":859,"count":0}],"isBlockCoverage":false}]},{"scriptId":"450","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayLikeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1778,"count":1}],"isBlockCoverage":true},{"functionName":"arrayLikeKeys","ranges":[{"startOffset":697,"endOffset":1744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"451","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseTimes.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":504,"count":1}],"isBlockCoverage":true},{"functionName":"baseTimes","ranges":[{"startOffset":313,"endOffset":474,"count":0}],"isBlockCoverage":false}]},{"scriptId":"452","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1026,"count":1},{"startOffset":851,"endOffset":993,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":797,"endOffset":829,"count":1}],"isBlockCoverage":true},{"functionName":"isArguments","ranges":[{"startOffset":853,"endOffset":993,"count":0}],"isBlockCoverage":false}]},{"scriptId":"453","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsArguments","ranges":[{"startOffset":355,"endOffset":452,"count":1}],"isBlockCoverage":true}]},{"scriptId":"454","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObjectLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"isObjectLike","ranges":[{"startOffset":497,"endOffset":581,"count":1}],"isBlockCoverage":true}]},{"scriptId":"455","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true}]},{"scriptId":"456","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1114,"count":1},{"startOffset":548,"endOffset":559,"count":0},{"startOffset":697,"endOffset":708,"count":0},{"startOffset":1072,"endOffset":1084,"count":0}],"isBlockCoverage":true}]},{"scriptId":"457","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubFalse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":280,"count":1}],"isBlockCoverage":true},{"functionName":"stubFalse","ranges":[{"startOffset":210,"endOffset":250,"count":0}],"isBlockCoverage":false}]},{"scriptId":"458","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIndex.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":759,"count":1}],"isBlockCoverage":true},{"functionName":"isIndex","ranges":[{"startOffset":456,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"459","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":695,"count":1},{"startOffset":643,"endOffset":661,"count":0}],"isBlockCoverage":true}]},{"scriptId":"460","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2222,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsTypedArray","ranges":[{"startOffset":2050,"endOffset":2185,"count":0}],"isBlockCoverage":false}]},{"scriptId":"461","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseUnary.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":332,"count":1}],"isBlockCoverage":true},{"functionName":"baseUnary","ranges":[{"startOffset":218,"endOffset":302,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":254,"endOffset":299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"462","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nodeUtil.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":995,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":615,"endOffset":962,"count":1},{"startOffset":806,"endOffset":911,"count":0},{"startOffset":912,"endOffset":942,"count":0},{"startOffset":948,"endOffset":960,"count":0}],"isBlockCoverage":true}]},{"scriptId":"463","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":776,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeys","ranges":[{"startOffset":479,"endOffset":747,"count":0}],"isBlockCoverage":false}]},{"scriptId":"464","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":480,"count":1}],"isBlockCoverage":true},{"functionName":"isPrototype","ranges":[{"startOffset":273,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"465","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":204,"count":1}],"isBlockCoverage":true}]},{"scriptId":"466","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overArg.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"overArg","ranges":[{"startOffset":254,"endOffset":354,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":299,"endOffset":351,"count":0}],"isBlockCoverage":false}]},{"scriptId":"467","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":830,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLike","ranges":[{"startOffset":695,"endOffset":798,"count":0}],"isBlockCoverage":false}]},{"scriptId":"468","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":482,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignIn","ranges":[{"startOffset":345,"endOffset":449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"469","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":778,"count":1}],"isBlockCoverage":true},{"functionName":"keysIn","ranges":[{"startOffset":643,"endOffset":751,"count":0}],"isBlockCoverage":false}]},{"scriptId":"470","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":870,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeysIn","ranges":[{"startOffset":523,"endOffset":839,"count":0}],"isBlockCoverage":false}]},{"scriptId":"471","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":490,"count":1}],"isBlockCoverage":true},{"functionName":"nativeKeysIn","ranges":[{"startOffset":292,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"472","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1056,"count":1},{"startOffset":508,"endOffset":519,"count":0},{"startOffset":567,"endOffset":578,"count":0}],"isBlockCoverage":true},{"functionName":"cloneBuffer","ranges":[{"startOffset":783,"endOffset":1024,"count":0}],"isBlockCoverage":false}]},{"scriptId":"473","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"copyArray","ranges":[{"startOffset":219,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"474","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":446,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbols","ranges":[{"startOffset":317,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"475","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":886,"count":1},{"startOffset":624,"endOffset":635,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbols","ranges":[{"startOffset":638,"endOffset":854,"count":0}],"isBlockCoverage":false}]},{"scriptId":"476","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayFilter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":632,"count":1}],"isBlockCoverage":true},{"functionName":"arrayFilter","ranges":[{"startOffset":289,"endOffset":600,"count":0}],"isBlockCoverage":false}]},{"scriptId":"477","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":390,"count":1}],"isBlockCoverage":true},{"functionName":"stubArray","ranges":[{"startOffset":323,"endOffset":360,"count":0}],"isBlockCoverage":false}]},{"scriptId":"478","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbolsIn","ranges":[{"startOffset":335,"endOffset":436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"479","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":754,"count":1},{"startOffset":549,"endOffset":560,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbolsIn","ranges":[{"startOffset":563,"endOffset":720,"count":0}],"isBlockCoverage":false}]},{"scriptId":"480","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayPush.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":437,"count":1}],"isBlockCoverage":true},{"functionName":"arrayPush","ranges":[{"startOffset":200,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"481","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":163,"count":1}],"isBlockCoverage":true}]},{"scriptId":"482","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":455,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeys","ranges":[{"startOffset":342,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"483","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":739,"count":1}],"isBlockCoverage":true},{"functionName":"baseGetAllKeys","ranges":[{"startOffset":537,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"484","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeysIn","ranges":[{"startOffset":367,"endOffset":455,"count":0}],"isBlockCoverage":false}]},{"scriptId":"485","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1838,"count":1},{"startOffset":1296,"endOffset":1811,"count":0}],"isBlockCoverage":true},{"functionName":"getTag","ranges":[{"startOffset":1309,"endOffset":1808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"486","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_DataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true}]},{"scriptId":"487","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"488","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"489","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_WeakMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"490","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":692,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneArray","ranges":[{"startOffset":329,"endOffset":657,"count":0}],"isBlockCoverage":false}]},{"scriptId":"491","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneByTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2261,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneByTag","ranges":[{"startOffset":1454,"endOffset":2226,"count":0}],"isBlockCoverage":false}]},{"scriptId":"492","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneArrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":449,"count":1}],"isBlockCoverage":true},{"functionName":"cloneArrayBuffer","ranges":[{"startOffset":226,"endOffset":412,"count":0}],"isBlockCoverage":false}]},{"scriptId":"493","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Uint8Array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":130,"count":1}],"isBlockCoverage":true}]},{"scriptId":"494","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneDataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":507,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDataView","ranges":[{"startOffset":267,"endOffset":473,"count":0}],"isBlockCoverage":false}]},{"scriptId":"495","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneRegExp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":439,"count":1}],"isBlockCoverage":true},{"functionName":"cloneRegExp","ranges":[{"startOffset":243,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"496","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneSymbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":524,"count":1},{"startOffset":138,"endOffset":149,"count":0},{"startOffset":205,"endOffset":216,"count":0}],"isBlockCoverage":true},{"functionName":"cloneSymbol","ranges":[{"startOffset":394,"endOffset":492,"count":0}],"isBlockCoverage":false}]},{"scriptId":"497","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":527,"count":1}],"isBlockCoverage":true},{"functionName":"cloneTypedArray","ranges":[{"startOffset":275,"endOffset":491,"count":0}],"isBlockCoverage":false}]},{"scriptId":"498","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":486,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneObject","ranges":[{"startOffset":290,"endOffset":450,"count":0}],"isBlockCoverage":false}]},{"scriptId":"499","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":686,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":355,"endOffset":651,"count":1}],"isBlockCoverage":true},{"functionName":"object","ranges":[{"startOffset":370,"endOffset":390,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":400,"endOffset":648,"count":0}],"isBlockCoverage":false}]},{"scriptId":"500","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"501","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsMap","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"502","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"503","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsSet","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"504","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/merge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1220,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1115,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"505","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMerge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1328,"count":1}],"isBlockCoverage":true},{"functionName":"baseMerge","ranges":[{"startOffset":699,"endOffset":1298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"506","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignMergeValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"assignMergeValue","ranges":[{"startOffset":342,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"507","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"508","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createBaseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":648,"count":1}],"isBlockCoverage":true},{"functionName":"createBaseFor","ranges":[{"startOffset":217,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":262,"endOffset":611,"count":0}],"isBlockCoverage":false}]},{"scriptId":"509","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMergeDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3069,"count":1}],"isBlockCoverage":true},{"functionName":"baseMergeDeep","ranges":[{"startOffset":1316,"endOffset":3035,"count":0}],"isBlockCoverage":false}]},{"scriptId":"510","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLikeObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":742,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLikeObject","ranges":[{"startOffset":615,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"511","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1650,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":1229,"endOffset":1616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"512","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_safeGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":456,"count":1}],"isBlockCoverage":true},{"functionName":"safeGet","ranges":[{"startOffset":243,"endOffset":428,"count":0}],"isBlockCoverage":false}]},{"scriptId":"513","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/toPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":744,"count":1}],"isBlockCoverage":true},{"functionName":"toPlainObject","ranges":[{"startOffset":634,"endOffset":710,"count":0}],"isBlockCoverage":false}]},{"scriptId":"514","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createAssigner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1042,"count":1}],"isBlockCoverage":true},{"functionName":"createAssigner","ranges":[{"startOffset":272,"endOffset":1007,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":326,"endOffset":1003,"count":0}],"isBlockCoverage":false}]},{"scriptId":"515","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":559,"count":1}],"isBlockCoverage":true},{"functionName":"baseRest","ranges":[{"startOffset":430,"endOffset":530,"count":1}],"isBlockCoverage":true}]},{"scriptId":"516","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/identity.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"identity","ranges":[{"startOffset":297,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"517","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1096,"count":1}],"isBlockCoverage":true},{"functionName":"overRest","ranges":[{"startOffset":503,"endOffset":1067,"count":1},{"startOffset":607,"endOffset":614,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":629,"endOffset":1064,"count":0}],"isBlockCoverage":false}]},{"scriptId":"518","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_apply.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":714,"count":1}],"isBlockCoverage":true},{"functionName":"apply","ranges":[{"startOffset":374,"endOffset":688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"519","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_setToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":392,"count":1}],"isBlockCoverage":true}]},{"scriptId":"520","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseSetToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":641,"count":1},{"startOffset":412,"endOffset":422,"count":0}],"isBlockCoverage":true},{"functionName":"baseSetToString","ranges":[{"startOffset":425,"endOffset":604,"count":1}],"isBlockCoverage":true}]},{"scriptId":"521","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/constant.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":528,"count":1}],"isBlockCoverage":true},{"functionName":"constant","ranges":[{"startOffset":426,"endOffset":499,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":462,"endOffset":496,"count":0}],"isBlockCoverage":false}]},{"scriptId":"522","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_shortOut.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":941,"count":1}],"isBlockCoverage":true},{"functionName":"shortOut","ranges":[{"startOffset":534,"endOffset":912,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":609,"endOffset":909,"count":1},{"startOffset":752,"endOffset":830,"count":0}],"isBlockCoverage":true}]},{"scriptId":"523","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIterateeCall.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":877,"count":1}],"isBlockCoverage":true},{"functionName":"isIterateeCall","ranges":[{"startOffset":514,"endOffset":842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"524","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/pluginRegistry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6139,"count":1}],"isBlockCoverage":true},{"functionName":"PluginError","ranges":[{"startOffset":707,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"PluginTypeError","ranges":[{"startOffset":864,"endOffset":977,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedApiError","ranges":[{"startOffset":1031,"endOffset":1159,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedError","ranges":[{"startOffset":1210,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorTagError","ranges":[{"startOffset":1406,"endOffset":1596,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorIdError","ranges":[{"startOffset":1657,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":1949,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"modifyTheme","ranges":[{"startOffset":3525,"endOffset":3639,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":3641,"endOffset":5084,"count":0}],"isBlockCoverage":false},{"functionName":"getDeserializers","ranges":[{"startOffset":5104,"endOffset":5368,"count":0}],"isBlockCoverage":false},{"functionName":"getThemes","ranges":[{"startOffset":5414,"endOffset":5598,"count":0}],"isBlockCoverage":false},{"functionName":"getTryDescribeValues","ranges":[{"startOffset":5630,"endOffset":5734,"count":0}],"isBlockCoverage":false},{"functionName":"resolveDescriptorRef","ranges":[{"startOffset":5788,"endOffset":6086,"count":0}],"isBlockCoverage":false}]},{"scriptId":"525","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2616,"count":1}],"isBlockCoverage":true}]},{"scriptId":"526","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/re.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7690,"count":1}],"isBlockCoverage":true},{"functionName":"makeSafeRegex","ranges":[{"startOffset":950,"endOffset":1161,"count":40},{"startOffset":1015,"endOffset":1144,"count":120}],"isBlockCoverage":true},{"functionName":"createToken","ranges":[{"startOffset":1183,"endOffset":1459,"count":40},{"startOffset":1376,"endOffset":1381,"count":4},{"startOffset":1382,"endOffset":1393,"count":36},{"startOffset":1439,"endOffset":1444,"count":4},{"startOffset":1445,"endOffset":1456,"count":36}],"isBlockCoverage":true}]},{"scriptId":"527","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":859,"count":1},{"startOffset":233,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"528","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/debug.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":226,"count":1},{"startOffset":91,"endOffset":138,"count":0},{"startOffset":141,"endOffset":188,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":143,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"debug","ranges":[{"startOffset":193,"endOffset":201,"count":46}],"isBlockCoverage":true}]},{"scriptId":"529","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/semver.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8756,"count":1}],"isBlockCoverage":true},{"functionName":"SemVer","ranges":[{"startOffset":311,"endOffset":2238,"count":2},{"startOffset":416,"endOffset":621,"count":0},{"startOffset":660,"endOffset":761,"count":0},{"startOffset":800,"endOffset":900,"count":0},{"startOffset":1239,"endOffset":1252,"count":0},{"startOffset":1280,"endOffset":1344,"count":0},{"startOffset":1531,"endOffset":1589,"count":0},{"startOffset":1648,"endOffset":1706,"count":0},{"startOffset":1765,"endOffset":1823,"count":0},{"startOffset":1884,"endOffset":2170,"count":1},{"startOffset":2194,"endOffset":2211,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1970,"endOffset":2163,"count":1},{"startOffset":2137,"endOffset":2162,"count":0}],"isBlockCoverage":true},{"functionName":"format","ranges":[{"startOffset":2242,"endOffset":2438,"count":2},{"startOffset":2349,"endOffset":2410,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":2442,"endOffset":2483,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2487,"endOffset":2877,"count":0}],"isBlockCoverage":false},{"functionName":"compareMain","ranges":[{"startOffset":2881,"endOffset":3172,"count":0}],"isBlockCoverage":false},{"functionName":"comparePre","ranges":[{"startOffset":3176,"endOffset":4027,"count":0}],"isBlockCoverage":false},{"functionName":"compareBuild","ranges":[{"startOffset":4031,"endOffset":4573,"count":0}],"isBlockCoverage":false},{"functionName":"inc","ranges":[{"startOffset":4726,"endOffset":8728,"count":0}],"isBlockCoverage":false}]},{"scriptId":"530","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/parse-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":324,"count":1}],"isBlockCoverage":true},{"functionName":"parseOptions","ranges":[{"startOffset":153,"endOffset":293,"count":4},{"startOffset":208,"endOffset":292,"count":0}],"isBlockCoverage":true}]},{"scriptId":"531","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/identifiers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":410,"count":1}],"isBlockCoverage":true},{"functionName":"compareIdentifiers","ranges":[{"startOffset":54,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"rcompareIdentifiers","ranges":[{"startOffset":308,"endOffset":342,"count":0}],"isBlockCoverage":false}]},{"scriptId":"532","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":317,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":58,"endOffset":292,"count":0}],"isBlockCoverage":false}]},{"scriptId":"533","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":162,"count":1}],"isBlockCoverage":true},{"functionName":"valid","ranges":[{"startOffset":47,"endOffset":138,"count":0}],"isBlockCoverage":false}]},{"scriptId":"534","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/clean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":191,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":47,"endOffset":167,"count":0}],"isBlockCoverage":false}]},{"scriptId":"535","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/inc.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"inc","ranges":[{"startOffset":57,"endOffset":442,"count":0}],"isBlockCoverage":false}]},{"scriptId":"536","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1612,"count":1}],"isBlockCoverage":true},{"functionName":"diff","ranges":[{"startOffset":50,"endOffset":1588,"count":0}],"isBlockCoverage":false}]},{"scriptId":"537","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/major.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"major","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"538","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/minor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"minor","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"539","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/patch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"patch","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"540","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/prerelease.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":220,"count":1}],"isBlockCoverage":true},{"functionName":"prerelease","ranges":[{"startOffset":52,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"541","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":156,"count":1}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":60,"endOffset":129,"count":0}],"isBlockCoverage":false}]},{"scriptId":"542","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rcompare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"rcompare","ranges":[{"startOffset":54,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"543","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-loose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"compareLoose","ranges":[{"startOffset":58,"endOffset":87,"count":0}],"isBlockCoverage":false}]},{"scriptId":"544","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-build.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":267,"count":1}],"isBlockCoverage":true},{"functionName":"compareBuild","ranges":[{"startOffset":65,"endOffset":236,"count":0}],"isBlockCoverage":false}]},{"scriptId":"545","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/sort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":147,"count":1}],"isBlockCoverage":true},{"functionName":"sort","ranges":[{"startOffset":61,"endOffset":124,"count":0}],"isBlockCoverage":false}]},{"scriptId":"546","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rsort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":149,"count":1}],"isBlockCoverage":true},{"functionName":"rsort","ranges":[{"startOffset":62,"endOffset":125,"count":0}],"isBlockCoverage":false}]},{"scriptId":"547","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"gt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"548","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"lt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"549","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":112,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":48,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"550","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/neq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":114,"count":1}],"isBlockCoverage":true},{"functionName":"neq","ranges":[{"startOffset":49,"endOffset":92,"count":0}],"isBlockCoverage":false}]},{"scriptId":"551","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"gte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"552","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"lte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"553","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/cmp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":947,"count":1}],"isBlockCoverage":true},{"functionName":"cmp","ranges":[{"startOffset":181,"endOffset":925,"count":0}],"isBlockCoverage":false}]},{"scriptId":"554","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/coerce.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1513,"count":1}],"isBlockCoverage":true},{"functionName":"coerce","ranges":[{"startOffset":145,"endOffset":1488,"count":0}],"isBlockCoverage":false}]},{"scriptId":"555","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/comparator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3617,"count":1}],"isBlockCoverage":true},{"functionName":"get ANY","ranges":[{"startOffset":100,"endOffset":131,"count":2}],"isBlockCoverage":true},{"functionName":"Comparator","ranges":[{"startOffset":135,"endOffset":682,"count":2},{"startOffset":238,"endOffset":358,"count":0},{"startOffset":556,"endOffset":585,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":686,"endOffset":1182,"count":2},{"startOffset":734,"endOffset":757,"count":0},{"startOffset":818,"endOffset":882,"count":0},{"startOffset":930,"endOffset":934,"count":0},{"startOffset":966,"endOffset":998,"count":0},{"startOffset":1077,"endOffset":1108,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":1186,"endOffset":1225,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":1229,"endOffset":1609,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":1613,"endOffset":3323,"count":0}],"isBlockCoverage":false}]},{"scriptId":"556","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/range.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14514,"count":1}],"isBlockCoverage":true},{"functionName":"Range","ranges":[{"startOffset":55,"endOffset":2052,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2056,"endOffset":2197,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2201,"endOffset":2240,"count":0}],"isBlockCoverage":false},{"functionName":"parseRange","ranges":[{"startOffset":2244,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":4531,"endOffset":5161,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":5229,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"isNullSet","ranges":[{"startOffset":6111,"endOffset":6138,"count":0}],"isBlockCoverage":false},{"functionName":"isAny","ranges":[{"startOffset":6153,"endOffset":6172,"count":0}],"isBlockCoverage":false},{"functionName":"isSatisfiable","ranges":[{"startOffset":6294,"endOffset":6700,"count":0}],"isBlockCoverage":false},{"functionName":"parseComparator","ranges":[{"startOffset":6870,"endOffset":7183,"count":0}],"isBlockCoverage":false},{"functionName":"isX","ranges":[{"startOffset":7197,"endOffset":7248,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTildes","ranges":[{"startOffset":7584,"endOffset":7707,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTilde","ranges":[{"startOffset":7730,"endOffset":8404,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCarets","ranges":[{"startOffset":8697,"endOffset":8820,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCaret","ranges":[{"startOffset":8843,"endOffset":10145,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRanges","ranges":[{"startOffset":10170,"endOffset":10323,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRange","ranges":[{"startOffset":10347,"endOffset":12047,"count":0}],"isBlockCoverage":false},{"functionName":"replaceStars","ranges":[{"startOffset":12193,"endOffset":12378,"count":0}],"isBlockCoverage":false},{"functionName":"replaceGTE0","ranges":[{"startOffset":12400,"endOffset":12555,"count":0}],"isBlockCoverage":false},{"functionName":"hyphenReplace","ranges":[{"startOffset":12797,"endOffset":13471,"count":0}],"isBlockCoverage":false},{"functionName":"testSet","ranges":[{"startOffset":13489,"endOffset":14513,"count":0}],"isBlockCoverage":false}]},{"scriptId":"557","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lru-cache/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8186,"count":1}],"isBlockCoverage":true},{"functionName":"naiveLength","ranges":[{"startOffset":510,"endOffset":517,"count":0}],"isBlockCoverage":false},{"functionName":"LRUCache","ranges":[{"startOffset":853,"endOffset":1751,"count":1},{"startOffset":920,"endOffset":946,"count":0},{"startOffset":972,"endOffset":984,"count":0},{"startOffset":1069,"endOffset":1125,"count":0},{"startOffset":1235,"endOffset":1246,"count":0},{"startOffset":1350,"endOffset":1363,"count":0},{"startOffset":1439,"endOffset":1476,"count":0},{"startOffset":1484,"endOffset":1530,"count":0}],"isBlockCoverage":true},{"functionName":"set max","ranges":[{"startOffset":1799,"endOffset":1969,"count":0}],"isBlockCoverage":false},{"functionName":"get max","ranges":[{"startOffset":1972,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"set allowStale","ranges":[{"startOffset":2013,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"get allowStale","ranges":[{"startOffset":2086,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"set maxAge","ranges":[{"startOffset":2142,"endOffset":2300,"count":0}],"isBlockCoverage":false},{"functionName":"get maxAge","ranges":[{"startOffset":2303,"endOffset":2347,"count":0}],"isBlockCoverage":false},{"functionName":"set lengthCalculator","ranges":[{"startOffset":2408,"endOffset":2765,"count":0}],"isBlockCoverage":false},{"functionName":"get lengthCalculator","ranges":[{"startOffset":2768,"endOffset":2826,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":2830,"endOffset":2867,"count":0}],"isBlockCoverage":false},{"functionName":"get itemCount","ranges":[{"startOffset":2870,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"rforEach","ranges":[{"startOffset":2923,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":3142,"endOffset":3356,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":3360,"endOffset":3425,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":3429,"endOffset":3498,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":3502,"endOffset":3858,"count":1},{"startOffset":3535,"endOffset":3560,"count":0},{"startOffset":3561,"endOffset":3593,"count":0},{"startOffset":3595,"endOffset":3673,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3626,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"dump","ranges":[{"startOffset":3862,"endOffset":4064,"count":0}],"isBlockCoverage":false},{"functionName":"dumpLru","ranges":[{"startOffset":4068,"endOffset":4110,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4114,"endOffset":5376,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":5380,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5517,"endOffset":5564,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":5568,"endOffset":5617,"count":0}],"isBlockCoverage":false},{"functionName":"pop","ranges":[{"startOffset":5621,"endOffset":5746,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":5750,"endOffset":5801,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5805,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"prune","ranges":[{"startOffset":6382,"endOffset":6459,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6475,"endOffset":6871,"count":0}],"isBlockCoverage":false},{"functionName":"isStale","ranges":[{"startOffset":6889,"endOffset":7094,"count":0}],"isBlockCoverage":false},{"functionName":"trim","ranges":[{"startOffset":7109,"endOffset":7497,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":7511,"endOffset":7738,"count":0}],"isBlockCoverage":false},{"functionName":"Entry","ranges":[{"startOffset":7756,"endOffset":7923,"count":0}],"isBlockCoverage":false},{"functionName":"forEachStep","ranges":[{"startOffset":7947,"endOffset":8158,"count":0}],"isBlockCoverage":false}]},{"scriptId":"558","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/yallist.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8411,"count":1},{"startOffset":8397,"endOffset":8410,"count":0}],"isBlockCoverage":true},{"functionName":"Yallist","ranges":[{"startOffset":85,"endOffset":517,"count":1},{"startOffset":163,"endOffset":193,"count":0},{"startOffset":263,"endOffset":300,"count":0},{"startOffset":302,"endOffset":371,"count":0},{"startOffset":403,"endOffset":500,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":321,"endOffset":366,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.removeNode","ranges":[{"startOffset":550,"endOffset":1001,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshiftNode","ranges":[{"startOffset":1035,"endOffset":1334,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pushNode","ranges":[{"startOffset":1365,"endOffset":1664,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.push","ranges":[{"startOffset":1691,"endOffset":1814,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshift","ranges":[{"startOffset":1844,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pop","ranges":[{"startOffset":1996,"endOffset":2224,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.shift","ranges":[{"startOffset":2252,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEach","ranges":[{"startOffset":2510,"endOffset":2691,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEachReverse","ranges":[{"startOffset":2728,"endOffset":2923,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.get","ranges":[{"startOffset":2949,"endOffset":3182,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.getReverse","ranges":[{"startOffset":3215,"endOffset":3448,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.map","ranges":[{"startOffset":3474,"endOffset":3690,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.mapReverse","ranges":[{"startOffset":3723,"endOffset":3939,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduce","ranges":[{"startOffset":3968,"endOffset":4363,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduceReverse","ranges":[{"startOffset":4399,"endOffset":4808,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArray","ranges":[{"startOffset":4838,"endOffset":5018,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArrayReverse","ranges":[{"startOffset":5055,"endOffset":5235,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.slice","ranges":[{"startOffset":5263,"endOffset":5790,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.sliceReverse","ranges":[{"startOffset":5825,"endOffset":6362,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.splice","ranges":[{"startOffset":6391,"endOffset":7034,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reverse","ranges":[{"startOffset":7064,"endOffset":7322,"count":0}],"isBlockCoverage":false},{"functionName":"insert","ranges":[{"startOffset":7324,"endOffset":7643,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":7645,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":7795,"endOffset":7946,"count":0}],"isBlockCoverage":false},{"functionName":"Node","ranges":[{"startOffset":7948,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"559","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/iterator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":30,"endOffset":206,"count":1}],"isBlockCoverage":true},{"functionName":"Yallist.","ranges":[{"startOffset":90,"endOffset":204,"count":0}],"isBlockCoverage":false}]},{"scriptId":"560","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/satisfies.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"satisfies","ranges":[{"startOffset":60,"endOffset":205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"561","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/to-comparators.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":268,"count":1}],"isBlockCoverage":true},{"functionName":"toComparators","ranges":[{"startOffset":115,"endOffset":235,"count":0}],"isBlockCoverage":false}]},{"scriptId":"562","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/max-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":579,"count":1}],"isBlockCoverage":true},{"functionName":"maxSatisfying","ranges":[{"startOffset":109,"endOffset":547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"563","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"minSatisfying","ranges":[{"startOffset":108,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"564","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-version.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"minVersion","ranges":[{"startOffset":144,"endOffset":1471,"count":0}],"isBlockCoverage":false}]},{"scriptId":"565","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":312,"count":1}],"isBlockCoverage":true},{"functionName":"validRange","ranges":[{"startOffset":61,"endOffset":283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"566","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/outside.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2190,"count":1}],"isBlockCoverage":true},{"functionName":"outside","ranges":[{"startOffset":390,"endOffset":2163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"567","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/gtr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":217,"count":1}],"isBlockCoverage":true},{"functionName":"gtr","ranges":[{"startOffset":129,"endOffset":195,"count":0}],"isBlockCoverage":false}]},{"scriptId":"568","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/ltr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":213,"count":1}],"isBlockCoverage":true},{"functionName":"ltr","ranges":[{"startOffset":125,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"569","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/intersects.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true},{"functionName":"intersects","ranges":[{"startOffset":61,"endOffset":181,"count":0}],"isBlockCoverage":false}]},{"scriptId":"570","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/simplify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1341,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":329,"endOffset":1340,"count":0}],"isBlockCoverage":false}]},{"scriptId":"571","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/subset.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7510,"count":1}],"isBlockCoverage":true},{"functionName":"subset","ranges":[{"startOffset":1996,"endOffset":2727,"count":0}],"isBlockCoverage":false},{"functionName":"simpleSubset","ranges":[{"startOffset":2869,"endOffset":6974,"count":0}],"isBlockCoverage":false},{"functionName":"higherGT","ranges":[{"startOffset":7025,"endOffset":7229,"count":0}],"isBlockCoverage":false},{"functionName":"lowerLT","ranges":[{"startOffset":7280,"endOffset":7484,"count":0}],"isBlockCoverage":false}]},{"scriptId":"572","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/property.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6165,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":331,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeComplex","ranges":[{"startOffset":457,"endOffset":572,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":622,"endOffset":708,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePrimitive","ranges":[{"startOffset":756,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"Property","ranges":[{"startOffset":1125,"endOffset":1167,"count":0}],"isBlockCoverage":false},{"functionName":"compareKeys","ranges":[{"startOffset":1171,"endOffset":1692,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1696,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexProperty","ranges":[{"startOffset":2881,"endOffset":2949,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2953,"endOffset":3025,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3029,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3308,"endOffset":3811,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3815,"endOffset":3853,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveProperty","ranges":[{"startOffset":3981,"endOffset":4049,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":4053,"endOffset":4328,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4332,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5018,"endOffset":6023,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6027,"endOffset":6079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"573","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2777,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":329,"endOffset":675,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":705,"endOffset":901,"count":0}],"isBlockCoverage":false},{"functionName":"SymbolValue","ranges":[{"startOffset":1012,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1115,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":1409,"endOffset":1540,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1544,"endOffset":1651,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":1655,"endOffset":1788,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1792,"endOffset":1956,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSymbolValue","ranges":[{"startOffset":2159,"endOffset":2232,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2236,"endOffset":2726,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":2730,"endOffset":2774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"574","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-string-escape/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":644,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":17,"endOffset":643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"575","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/well-known-symbols/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":800,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":672,"endOffset":689,"count":12}],"isBlockCoverage":true},{"functionName":"exports.isWellKnown","ranges":[{"startOffset":715,"endOffset":747,"count":0}],"isBlockCoverage":false},{"functionName":"exports.getLabel","ranges":[{"startOffset":767,"endOffset":799,"count":0}],"isBlockCoverage":false}]},{"scriptId":"576","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/bigInt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":906,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":714,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":718,"endOffset":758,"count":0}],"isBlockCoverage":false}]},{"scriptId":"577","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/boolean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":931,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":286,"count":0}],"isBlockCoverage":false},{"functionName":"BooleanValue","ranges":[{"startOffset":425,"endOffset":473,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":477,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":737,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":741,"endOffset":781,"count":0}],"isBlockCoverage":false}]},{"scriptId":"578","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/null.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":737,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":273,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":406,"endOffset":497,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":501,"endOffset":593,"count":0}],"isBlockCoverage":false}]},{"scriptId":"579","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/number.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":969,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"NumberValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":777,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":781,"endOffset":821,"count":0}],"isBlockCoverage":false}]},{"scriptId":"580","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/undefined.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":421,"endOffset":512,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":516,"endOffset":618,"count":0}],"isBlockCoverage":false}]},{"scriptId":"581","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/shouldCompareDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":573,"count":1}],"isBlockCoverage":true},{"functionName":"shouldCompareDeep","ranges":[{"startOffset":206,"endOffset":537,"count":0}],"isBlockCoverage":false}]},{"scriptId":"582","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/symbolProperties.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2759,"count":1}],"isBlockCoverage":true},{"functionName":"Comparable","ranges":[{"startOffset":247,"endOffset":348,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":352,"endOffset":533,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":537,"endOffset":1293,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1297,"endOffset":2003,"count":0}],"isBlockCoverage":false},{"functionName":"Collector","ranges":[{"startOffset":2152,"endOffset":2288,"count":0}],"isBlockCoverage":false},{"functionName":"collectAll","ranges":[{"startOffset":2292,"endOffset":2538,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2542,"endOffset":2635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"583","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13805,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":630,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"compareComplexShape","ranges":[{"startOffset":642,"endOffset":1886,"count":0}],"isBlockCoverage":false},{"functionName":"diffDescriptors","ranges":[{"startOffset":1888,"endOffset":13605,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":13649,"endOffset":13784,"count":0}],"isBlockCoverage":false}]},{"scriptId":"584","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Indenter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":360,"count":1}],"isBlockCoverage":true},{"functionName":"Indenter","ranges":[{"startOffset":33,"endOffset":144,"count":1}],"isBlockCoverage":true},{"functionName":"increase","ranges":[{"startOffset":148,"endOffset":216,"count":0}],"isBlockCoverage":false},{"functionName":"decrease","ranges":[{"startOffset":220,"endOffset":288,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":292,"endOffset":331,"count":0}],"isBlockCoverage":false}]},{"scriptId":"585","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/format.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3075,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":241,"endOffset":251,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptor","ranges":[{"startOffset":295,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2953,"endOffset":3050,"count":0}],"isBlockCoverage":false}]},{"scriptId":"586","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/serialize.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12422,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4159,"endOffset":4194,"count":31}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4241,"endOffset":4276,"count":31}],"isBlockCoverage":true},{"functionName":"DescriptorSerializationError","ranges":[{"startOffset":4333,"endOffset":4487,"count":0}],"isBlockCoverage":false},{"functionName":"MissingPluginError","ranges":[{"startOffset":4534,"endOffset":4722,"count":0}],"isBlockCoverage":false},{"functionName":"PointerLookupError","ranges":[{"startOffset":4769,"endOffset":4936,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedPluginError","ranges":[{"startOffset":4987,"endOffset":5271,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedVersion","ranges":[{"startOffset":5373,"endOffset":5576,"count":0}],"isBlockCoverage":false},{"functionName":"shallowSerializeDescriptor","ranges":[{"startOffset":5580,"endOffset":5763,"count":0}],"isBlockCoverage":false},{"functionName":"serializeState","ranges":[{"startOffset":5765,"endOffset":6401,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6403,"endOffset":8213,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeState","ranges":[{"startOffset":8245,"endOffset":8564,"count":0}],"isBlockCoverage":false},{"functionName":"shallowDeserializeDescriptor","ranges":[{"startOffset":8566,"endOffset":8761,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeRecord","ranges":[{"startOffset":8763,"endOffset":9449,"count":0}],"isBlockCoverage":false},{"functionName":"buildPluginMap","ranges":[{"startOffset":9451,"endOffset":10790,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":10792,"endOffset":12387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"587","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/md5-hex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":406,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":66,"endOffset":404,"count":0}],"isBlockCoverage":false}]},{"scriptId":"588","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9570,"count":1}],"isBlockCoverage":true},{"functionName":"encodeInteger","ranges":[{"startOffset":689,"endOffset":828,"count":0}],"isBlockCoverage":false},{"functionName":"encodeValue","ranges":[{"startOffset":830,"endOffset":3045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeValue","ranges":[{"startOffset":3047,"endOffset":5534,"count":0}],"isBlockCoverage":false},{"functionName":"buildBuffer","ranges":[{"startOffset":5536,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6160,"endOffset":7889,"count":0}],"isBlockCoverage":false},{"functionName":"decodePlugins","ranges":[{"startOffset":7915,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"decodeRecord","ranges":[{"startOffset":8465,"endOffset":9182,"count":0}],"isBlockCoverage":false},{"functionName":"extractVersion","ranges":[{"startOffset":9220,"endOffset":9288,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":9330,"endOffset":9545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"589","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/flattenDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"flattenDeep","ranges":[{"startOffset":412,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"590","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFlatten.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1201,"count":1}],"isBlockCoverage":true},{"functionName":"baseFlatten","ranges":[{"startOffset":568,"endOffset":1169,"count":0}],"isBlockCoverage":false}]},{"scriptId":"591","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isFlattenable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1},{"startOffset":208,"endOffset":219,"count":0}],"isBlockCoverage":true},{"functionName":"isFlattenable","ranges":[{"startOffset":430,"endOffset":574,"count":0}],"isBlockCoverage":false}]},{"scriptId":"592","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/pointer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":617,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":63,"endOffset":120,"count":0}],"isBlockCoverage":false},{"functionName":"Pointer","ranges":[{"startOffset":249,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":392,"endOffset":435,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":439,"endOffset":479,"count":0}],"isBlockCoverage":false}]},{"scriptId":"593","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-error/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"isError","ranges":[{"startOffset":160,"endOffset":596,"count":0}],"isBlockCoverage":false}]},{"scriptId":"594","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7961,"count":1},{"startOffset":184,"endOffset":189,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":290,"endOffset":398,"count":70}],"isBlockCoverage":true},{"functionName":"StackUtils","ranges":[{"startOffset":581,"endOffset":1041,"count":1}],"isBlockCoverage":true},{"functionName":"nodeInternals","ranges":[{"startOffset":1052,"endOffset":1099,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":1103,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"captureString","ranges":[{"startOffset":2203,"endOffset":2601,"count":0}],"isBlockCoverage":false},{"functionName":"capture","ranges":[{"startOffset":2605,"endOffset":3178,"count":0}],"isBlockCoverage":false},{"functionName":"at","ranges":[{"startOffset":3182,"endOffset":4236,"count":0}],"isBlockCoverage":false},{"functionName":"parseLine","ranges":[{"startOffset":4240,"endOffset":6388,"count":0}],"isBlockCoverage":false},{"functionName":"setFile","ranges":[{"startOffset":6392,"endOffset":6629,"count":0}],"isBlockCoverage":false},{"functionName":"ignoredPackagesRegExp","ranges":[{"startOffset":6631,"endOffset":6913,"count":1},{"startOffset":6737,"endOffset":6912,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6778,"endOffset":6808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"595","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":236,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":85,"endOffset":234,"count":0}],"isBlockCoverage":false}]},{"scriptId":"596","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/cbor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2598,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":2526,"endOffset":2597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"597","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/commented.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8911,"count":1}],"isBlockCoverage":true},{"functionName":"plural","ranges":[{"startOffset":242,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1621,"endOffset":2061,"count":0}],"isBlockCoverage":false},{"functionName":"Commented","ranges":[{"startOffset":2313,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"_tag_24","ranges":[{"startOffset":3493,"endOffset":3678,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3682,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3766,"endOffset":3890,"count":0}],"isBlockCoverage":false},{"functionName":"comment","ranges":[{"startOffset":4466,"endOffset":5155,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":5184,"endOffset":5277,"count":0}],"isBlockCoverage":false},{"functionName":"_on_read","ranges":[{"startOffset":5306,"endOffset":5625,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":5654,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start_string","ranges":[{"startOffset":6407,"endOffset":6713,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":6742,"endOffset":7824,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":7853,"endOffset":7888,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":7918,"endOffset":8748,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":8777,"endOffset":8880,"count":0}],"isBlockCoverage":false}]},{"scriptId":"598","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8215,"count":1}],"isBlockCoverage":true},{"functionName":"exports.utf8","ranges":[{"startOffset":492,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":546,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"isBufferish","ranges":[{"startOffset":823,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"bufferishToBuffer","ranges":[{"startOffset":1098,"endOffset":1356,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORint","ranges":[{"startOffset":1381,"endOffset":1905,"count":0}],"isBlockCoverage":false},{"functionName":"writeHalf","ranges":[{"startOffset":1927,"endOffset":4036,"count":0}],"isBlockCoverage":false},{"functionName":"parseHalf","ranges":[{"startOffset":4058,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORfloat","ranges":[{"startOffset":4418,"endOffset":4687,"count":0}],"isBlockCoverage":false},{"functionName":"hex","ranges":[{"startOffset":4703,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"bin","ranges":[{"startOffset":4788,"endOffset":5042,"count":0}],"isBlockCoverage":false},{"functionName":"arrayEqual","ranges":[{"startOffset":5065,"endOffset":5279,"count":0}],"isBlockCoverage":false},{"functionName":"bufferToBigInt","ranges":[{"startOffset":5306,"endOffset":5382,"count":0}],"isBlockCoverage":false},{"functionName":"cborValueToString","ranges":[{"startOffset":5412,"endOffset":7059,"count":0}],"isBlockCoverage":false},{"functionName":"guessEncoding","ranges":[{"startOffset":7085,"endOffset":7418,"count":0}],"isBlockCoverage":false},{"functionName":"base64url","ranges":[{"startOffset":7657,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"base64","ranges":[{"startOffset":7965,"endOffset":8048,"count":0}],"isBlockCoverage":false},{"functionName":"isBigEndian","ranges":[{"startOffset":8072,"endOffset":8214,"count":0}],"isBlockCoverage":false}]},{"scriptId":"599","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nofilter/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28585,"count":1}],"isBlockCoverage":true},{"functionName":"NoFilter","ranges":[{"startOffset":3473,"endOffset":5501,"count":0}],"isBlockCoverage":false},{"functionName":"isNoFilter","ranges":[{"startOffset":5664,"endOffset":5716,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":6159,"endOffset":6351,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":7149,"endOffset":8408,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":8437,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"_bufArray","ranges":[{"startOffset":8811,"endOffset":9199,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":9982,"endOffset":10504,"count":0}],"isBlockCoverage":false},{"functionName":"readFull","ranges":[{"startOffset":10957,"endOffset":12088,"count":0}],"isBlockCoverage":false},{"functionName":"promise","ranges":[{"startOffset":12421,"endOffset":12847,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":13163,"endOffset":13614,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":13827,"endOffset":13883,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":14414,"endOffset":14924,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":15137,"endOffset":15184,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":15588,"endOffset":15702,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16207,"endOffset":16468,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16497,"endOffset":16823,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":16931,"endOffset":17040,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt","ranges":[{"startOffset":17265,"endOffset":17670,"count":0}],"isBlockCoverage":false},{"functionName":"readUBigInt","ranges":[{"startOffset":17884,"endOffset":18034,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt","ranges":[{"startOffset":18276,"endOffset":18596,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":18759,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19026,"endOffset":19133,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":19315,"endOffset":19422,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19609,"endOffset":19716,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":19900,"endOffset":20007,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":20172,"endOffset":20253,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":20438,"endOffset":20544,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":20726,"endOffset":20832,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":21021,"endOffset":21127,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":21313,"endOffset":21419,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatLE","ranges":[{"startOffset":21592,"endOffset":21697,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBE","ranges":[{"startOffset":21867,"endOffset":21972,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleLE","ranges":[{"startOffset":22146,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBE","ranges":[{"startOffset":22423,"endOffset":22530,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":22705,"endOffset":22816,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":22988,"endOffset":23099,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":23290,"endOffset":23403,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":23591,"endOffset":23704,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":23831,"endOffset":23955,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":24101,"endOffset":24231,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":24377,"endOffset":24507,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":24653,"endOffset":24783,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":24929,"endOffset":25059,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":25183,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":25449,"endOffset":25577,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":25721,"endOffset":25849,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":25993,"endOffset":26121,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":26265,"endOffset":26393,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatLE","ranges":[{"startOffset":26528,"endOffset":26656,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBE","ranges":[{"startOffset":26788,"endOffset":26916,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleLE","ranges":[{"startOffset":27051,"endOffset":27181,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBE","ranges":[{"startOffset":27313,"endOffset":27443,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":27586,"endOffset":27720,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":27860,"endOffset":27994,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":28140,"endOffset":28276,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":28419,"endOffset":28555,"count":0}],"isBlockCoverage":false}]},{"scriptId":"600","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1352,"count":1}],"isBlockCoverage":true}]},{"scriptId":"601","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/decoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20596,"count":1}],"isBlockCoverage":true},{"functionName":"parentArray","ranges":[{"startOffset":508,"endOffset":641,"count":0}],"isBlockCoverage":false},{"functionName":"parentBufferStream","ranges":[{"startOffset":643,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"UnexpectedDataError","ranges":[{"startOffset":831,"endOffset":996,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":3420,"endOffset":3794,"count":0}],"isBlockCoverage":false},{"functionName":"Decoder","ranges":[{"startOffset":4237,"endOffset":4930,"count":0}],"isBlockCoverage":false},{"functionName":"nullcheck","ranges":[{"startOffset":5301,"endOffset":5710,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirstSync","ranges":[{"startOffset":6389,"endOffset":7548,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAllSync","ranges":[{"startOffset":8073,"endOffset":8838,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirst","ranges":[{"startOffset":9562,"endOffset":11046,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAll","ranges":[{"startOffset":11770,"endOffset":12395,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12433,"endOffset":12495,"count":0}],"isBlockCoverage":false},{"functionName":"_onRead","ranges":[{"startOffset":12574,"endOffset":12625,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":12867,"endOffset":20537,"count":0}],"isBlockCoverage":false}]},{"scriptId":"602","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/vendor/binary-parse-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2692,"count":1}],"isBlockCoverage":true},{"functionName":"BinaryParseStream","ranges":[{"startOffset":1100,"endOffset":1513,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1517,"endOffset":2086,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":2331,"endOffset":2462,"count":0}],"isBlockCoverage":false},{"functionName":"__restart","ranges":[{"startOffset":2466,"endOffset":2566,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":2570,"endOffset":2653,"count":0}],"isBlockCoverage":false}]},{"scriptId":"603","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/tagged.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10762,"count":1},{"startOffset":7721,"endOffset":7750,"count":19}],"isBlockCoverage":true},{"functionName":"setBuffersToJSON","ranges":[{"startOffset":135,"endOffset":954,"count":0}],"isBlockCoverage":false},{"functionName":"b64this","ranges":[{"startOffset":956,"endOffset":1052,"count":0}],"isBlockCoverage":false},{"functionName":"b64urlThis","ranges":[{"startOffset":1054,"endOffset":1156,"count":0}],"isBlockCoverage":false},{"functionName":"hexThis","ranges":[{"startOffset":1158,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"swapEndian","ranges":[{"startOffset":1258,"endOffset":1667,"count":0}],"isBlockCoverage":false},{"functionName":"0","ranges":[{"startOffset":2409,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"1","ranges":[{"startOffset":2478,"endOffset":2501,"count":0}],"isBlockCoverage":false},{"functionName":"2","ranges":[{"startOffset":2548,"endOffset":2576,"count":0}],"isBlockCoverage":false},{"functionName":"3","ranges":[{"startOffset":2623,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"21","ranges":[{"startOffset":2752,"endOffset":2911,"count":0}],"isBlockCoverage":false},{"functionName":"22","ranges":[{"startOffset":2984,"endOffset":3137,"count":0}],"isBlockCoverage":false},{"functionName":"23","ranges":[{"startOffset":3218,"endOffset":3371,"count":0}],"isBlockCoverage":false},{"functionName":"32","ranges":[{"startOffset":3409,"endOffset":3424,"count":0}],"isBlockCoverage":false},{"functionName":"33","ranges":[{"startOffset":3468,"endOffset":4627,"count":0}],"isBlockCoverage":false},{"functionName":"34","ranges":[{"startOffset":4668,"endOffset":5867,"count":0}],"isBlockCoverage":false},{"functionName":"35","ranges":[{"startOffset":5920,"endOffset":5938,"count":0}],"isBlockCoverage":false},{"functionName":"258","ranges":[{"startOffset":6027,"endOffset":6042,"count":0}],"isBlockCoverage":false},{"functionName":"_toTypedArray","ranges":[{"startOffset":7009,"endOffset":7672,"count":0}],"isBlockCoverage":false},{"functionName":"Tagged","ranges":[{"startOffset":8277,"endOffset":8615,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":8619,"endOffset":8856,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":8953,"endOffset":9025,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":9189,"endOffset":9272,"count":0}],"isBlockCoverage":false},{"functionName":"convert","ranges":[{"startOffset":9824,"endOffset":10302,"count":0}],"isBlockCoverage":false},{"functionName":"get TAGS","ranges":[{"startOffset":10432,"endOffset":10472,"count":0}],"isBlockCoverage":false},{"functionName":"set TAGS","ranges":[{"startOffset":10483,"endOffset":10525,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":10642,"endOffset":10683,"count":1}],"isBlockCoverage":true}]},{"scriptId":"604","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/simple.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2695,"count":1}],"isBlockCoverage":true},{"functionName":"Simple","ranges":[{"startOffset":268,"endOffset":567,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":683,"endOffset":734,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":930,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":1190,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"isSimple","ranges":[{"startOffset":1403,"endOffset":1455,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":2071,"endOffset":2667,"count":0}],"isBlockCoverage":false}]},{"scriptId":"605","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/diagnose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6617,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeOptions","ranges":[{"startOffset":1886,"endOffset":2262,"count":0}],"isBlockCoverage":false},{"functionName":"Diagnose","ranges":[{"startOffset":2529,"endOffset":3414,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3418,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3509,"endOffset":3707,"count":0}],"isBlockCoverage":false},{"functionName":"diagnose","ranges":[{"startOffset":4122,"endOffset":4775,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":4804,"endOffset":4932,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":4954,"endOffset":5115,"count":0}],"isBlockCoverage":false},{"functionName":"_fore","ranges":[{"startOffset":5137,"endOffset":5507,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":5529,"endOffset":5751,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":5773,"endOffset":6194,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":6216,"endOffset":6519,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":6541,"endOffset":6587,"count":0}],"isBlockCoverage":false}]},{"scriptId":"606","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31613,"count":1}],"isBlockCoverage":true},{"functionName":"parseDateType","ranges":[{"startOffset":1747,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"Encoder","ranges":[{"startOffset":4631,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":6051,"endOffset":6261,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":6318,"endOffset":6350,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt8","ranges":[{"startOffset":6470,"endOffset":6576,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt16BE","ranges":[{"startOffset":6698,"endOffset":6810,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt32BE","ranges":[{"startOffset":6935,"endOffset":7047,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloatBE","ranges":[{"startOffset":7176,"endOffset":7286,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDoubleBE","ranges":[{"startOffset":7416,"endOffset":7528,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNaN","ranges":[{"startOffset":7598,"endOffset":7644,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInfinity","ranges":[{"startOffset":7770,"endOffset":7876,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloat","ranges":[{"startOffset":8142,"endOffset":9321,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInt","ranges":[{"startOffset":10074,"endOffset":10925,"count":0}],"isBlockCoverage":false},{"functionName":"_pushIntNum","ranges":[{"startOffset":11192,"endOffset":11409,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNumber","ranges":[{"startOffset":11531,"endOffset":11787,"count":0}],"isBlockCoverage":false},{"functionName":"_pushString","ranges":[{"startOffset":11900,"endOffset":12041,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoolean","ranges":[{"startOffset":12153,"endOffset":12223,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUndefined","ranges":[{"startOffset":12330,"endOffset":12752,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNull","ranges":[{"startOffset":12854,"endOffset":12907,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTag","ranges":[{"startOffset":13024,"endOffset":13081,"count":0}],"isBlockCoverage":false},{"functionName":"_pushJSBigint","ranges":[{"startOffset":13194,"endOffset":13960,"count":0}],"isBlockCoverage":false},{"functionName":"_pushObject","ranges":[{"startOffset":14109,"endOffset":16394,"count":0}],"isBlockCoverage":false},{"functionName":"_encodeAll","ranges":[{"startOffset":16551,"endOffset":16756,"count":0}],"isBlockCoverage":false},{"functionName":"addSemanticType","ranges":[{"startOffset":17172,"endOffset":17565,"count":0}],"isBlockCoverage":false},{"functionName":"pushAny","ranges":[{"startOffset":17771,"endOffset":18684,"count":0}],"isBlockCoverage":false},{"functionName":"pushArray","ranges":[{"startOffset":18990,"endOffset":19516,"count":0}],"isBlockCoverage":false},{"functionName":"removeLoopDetectors","ranges":[{"startOffset":19662,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDate","ranges":[{"startOffset":19947,"endOffset":20619,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBuffer","ranges":[{"startOffset":20774,"endOffset":20870,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNoFilter","ranges":[{"startOffset":21027,"endOffset":21129,"count":0}],"isBlockCoverage":false},{"functionName":"_pushRegexp","ranges":[{"startOffset":21284,"endOffset":21374,"count":0}],"isBlockCoverage":false},{"functionName":"_pushSet","ranges":[{"startOffset":21523,"endOffset":21783,"count":0}],"isBlockCoverage":false},{"functionName":"_pushURL","ranges":[{"startOffset":21932,"endOffset":22020,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoxed","ranges":[{"startOffset":22208,"endOffset":22272,"count":0}],"isBlockCoverage":false},{"functionName":"_pushMap","ranges":[{"startOffset":22469,"endOffset":24462,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTypedArray","ranges":[{"startOffset":24627,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"_pushArrayBuffer","ranges":[{"startOffset":25460,"endOffset":25546,"count":0}],"isBlockCoverage":false},{"functionName":"encodeIndefinite","ranges":[{"startOffset":26458,"endOffset":28127,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":28344,"endOffset":28407,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCanonical","ranges":[{"startOffset":28646,"endOffset":28748,"count":0}],"isBlockCoverage":false},{"functionName":"encodeOne","ranges":[{"startOffset":29014,"endOffset":29093,"count":0}],"isBlockCoverage":false},{"functionName":"encodeAsync","ranges":[{"startOffset":29664,"endOffset":29981,"count":0}],"isBlockCoverage":false},{"functionName":"get SEMANTIC_TYPES","ranges":[{"startOffset":30115,"endOffset":30175,"count":0}],"isBlockCoverage":false},{"functionName":"set SEMANTIC_TYPES","ranges":[{"startOffset":30186,"endOffset":30248,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":30375,"endOffset":30437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"607","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5186,"count":1}],"isBlockCoverage":true},{"functionName":"CborMap","ranges":[{"startOffset":952,"endOffset":999,"count":0}],"isBlockCoverage":false},{"functionName":"_encode","ranges":[{"startOffset":1035,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_decode","ranges":[{"startOffset":1148,"endOffset":1216,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1501,"endOffset":1558,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":1874,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":2283,"endOffset":2346,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":2687,"endOffset":2744,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":2978,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":3366,"endOffset":3472,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3725,"endOffset":3776,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":4173,"endOffset":4393,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":4557,"endOffset":5157,"count":0}],"isBlockCoverage":false}]},{"scriptId":"608","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/map-age-cleaner/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3903,"count":1}],"isBlockCoverage":true},{"functionName":"__awaiter","ranges":[{"startOffset":58,"endOffset":613,"count":0}],"isBlockCoverage":false},{"functionName":"__importDefault","ranges":[{"startOffset":671,"endOffset":752,"count":1},{"startOffset":723,"endOffset":728,"count":0}],"isBlockCoverage":true},{"functionName":"mapAgeCleaner","ranges":[{"startOffset":872,"endOffset":3774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"609","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-defer/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":177,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"610","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6750,"count":1}],"isBlockCoverage":true},{"functionName":"getId","ranges":[{"startOffset":492,"endOffset":749,"count":1},{"startOffset":664,"endOffset":747,"count":0}],"isBlockCoverage":true},{"functionName":"getTmpname","ranges":[{"startOffset":774,"endOffset":976,"count":0}],"isBlockCoverage":false},{"functionName":"cleanupOnExit","ranges":[{"startOffset":978,"endOffset":1161,"count":0}],"isBlockCoverage":false},{"functionName":"serializeActiveFile","ranges":[{"startOffset":1163,"endOffset":1550,"count":0}],"isBlockCoverage":false},{"functionName":"isChownErrOk","ranges":[{"startOffset":1633,"endOffset":1894,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileAsync","ranges":[{"startOffset":1896,"endOffset":4304,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4306,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":4680,"endOffset":6749,"count":0}],"isBlockCoverage":false}]},{"scriptId":"611","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/imurmurhash/imurmurhash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4412,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":443,"endOffset":4407,"count":1},{"startOffset":4352,"endOffset":4405,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3","ranges":[{"startOffset":811,"endOffset":1083,"count":1},{"startOffset":896,"endOffset":903,"count":0},{"startOffset":963,"endOffset":980,"count":0},{"startOffset":982,"endOffset":1018,"count":0},{"startOffset":1044,"endOffset":1077,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3.hash","ranges":[{"startOffset":1254,"endOffset":3073,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.result","ranges":[{"startOffset":3193,"endOffset":3797,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.reset","ranges":[{"startOffset":3937,"endOffset":4078,"count":1},{"startOffset":3997,"endOffset":4003,"count":0}],"isBlockCoverage":true}]},{"scriptId":"612","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9435,"count":1},{"startOffset":8597,"endOffset":8623,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":518,"endOffset":562,"count":0}],"isBlockCoverage":false},{"functionName":"processOk","ranges":[{"startOffset":585,"endOffset":952,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1130,"endOffset":2434,"count":1}],"isBlockCoverage":true},{"functionName":"Emitter","ranges":[{"startOffset":1325,"endOffset":1616,"count":1},{"startOffset":1375,"endOffset":1427,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":1621,"endOffset":1676,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":1681,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2045,"endOffset":2432,"count":0}],"isBlockCoverage":false},{"functionName":"signalExitWrap","ranges":[{"startOffset":2483,"endOffset":2732,"count":1}],"isBlockCoverage":true},{"functionName":"onExit","ranges":[{"startOffset":2519,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2602,"endOffset":2655,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2665,"endOffset":2722,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":2788,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2835,"endOffset":2845,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2850,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2865,"endOffset":8403,"count":1},{"startOffset":3070,"endOffset":3080,"count":0}],"isBlockCoverage":true},{"functionName":"SignalExit","ranges":[{"startOffset":3269,"endOffset":5206,"count":1},{"startOffset":3467,"endOffset":5088,"count":17}],"isBlockCoverage":true},{"functionName":"SignalExit.#sigListeners.","ranges":[{"startOffset":3507,"endOffset":5077,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":5211,"endOffset":5804,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5809,"endOffset":6637,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":6642,"endOffset":7393,"count":0}],"isBlockCoverage":false},{"functionName":"#processReallyExit","ranges":[{"startOffset":7398,"endOffset":7764,"count":0}],"isBlockCoverage":false},{"functionName":"#processEmit","ranges":[{"startOffset":7769,"endOffset":8401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"613","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1560,"count":1}],"isBlockCoverage":true}]},{"scriptId":"614","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/irregular-plurals/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":137,"count":1}],"isBlockCoverage":true}]},{"scriptId":"615","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/state.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":150,"count":1}],"isBlockCoverage":true}]},{"scriptId":"616","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/channel.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7151,"count":1},{"startOffset":2661,"endOffset":2770,"count":0}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":303,"endOffset":1131,"count":2},{"startOffset":747,"endOffset":1129,"count":0}],"isBlockCoverage":true},{"functionName":"addToBuffer","ranges":[{"startOffset":510,"endOffset":540,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":975,"endOffset":1022,"count":0}],"isBlockCoverage":false},{"functionName":"selectAvaMessage","ranges":[{"startOffset":1159,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1167,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"RefCounter","ranges":[{"startOffset":1241,"endOffset":1277,"count":1}],"isBlockCoverage":true},{"functionName":"refAndTest","ranges":[{"startOffset":1280,"endOffset":1326,"count":2}],"isBlockCoverage":true},{"functionName":"testAndUnref","ranges":[{"startOffset":1329,"endOffset":1395,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortHandle","ranges":[{"startOffset":1426,"endOffset":1746,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1719,"endOffset":1727,"count":0}],"isBlockCoverage":false},{"functionName":"forceUnref","ranges":[{"startOffset":1749,"endOffset":1899,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":1902,"endOffset":2040,"count":2}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":2043,"endOffset":2179,"count":2}],"isBlockCoverage":true},{"functionName":"send","ranges":[{"startOffset":2182,"endOffset":2264,"count":7}],"isBlockCoverage":true},{"functionName":"IpcHandle","ranges":[{"startOffset":2287,"endOffset":2409,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":2412,"endOffset":2487,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":2490,"endOffset":2571,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2574,"endOffset":2616,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3157,"endOffset":3187,"count":0}],"isBlockCoverage":false},{"functionName":"flush","ranges":[{"startOffset":3456,"endOffset":3749,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3531,"endOffset":3704,"count":1}],"isBlockCoverage":true},{"functionName":"createChannelEmitter","ranges":[{"startOffset":3859,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"registerSharedWorker","ranges":[{"startOffset":4406,"endOffset":7096,"count":0}],"isBlockCoverage":false}]},{"scriptId":"617","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/utils.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true}]},{"scriptId":"618","url":"node:internal/modules/esm/initialize_import_meta","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1960,"count":1}],"isBlockCoverage":false},{"functionName":"createImportMetaResolve","ranges":[{"startOffset":617,"endOffset":1368,"count":3}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":880,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"initializeImportMeta","ranges":[{"startOffset":1633,"endOffset":1912,"count":3}],"isBlockCoverage":true}]},{"scriptId":"619","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/options.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":278,"count":1}],"isBlockCoverage":true},{"functionName":"exports.get","ranges":[{"startOffset":48,"endOffset":147,"count":0}],"isBlockCoverage":false},{"functionName":"exports.set","ranges":[{"startOffset":164,"endOffset":276,"count":1},{"startOffset":194,"endOffset":250,"count":0}],"isBlockCoverage":true}]},{"scriptId":"620","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-event/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6062,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeEmitter","ranges":[{"startOffset":60,"endOffset":453,"count":3},{"startOffset":105,"endOffset":127,"count":0},{"startOffset":128,"endOffset":155,"count":0},{"startOffset":193,"endOffset":218,"count":0},{"startOffset":219,"endOffset":249,"count":0},{"startOffset":290,"endOffset":346,"count":0}],"isBlockCoverage":true},{"functionName":"pEventMultiple","ranges":[{"startOffset":463,"endOffset":2125,"count":3},{"startOffset":1994,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":560,"endOffset":1917,"count":3},{"startOffset":812,"endOffset":892,"count":0},{"startOffset":1890,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"onItem","ranges":[{"startOffset":1060,"endOffset":1389,"count":3},{"startOffset":1116,"endOffset":1128,"count":0},{"startOffset":1263,"endOffset":1281,"count":2},{"startOffset":1281,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"rejectHandler","ranges":[{"startOffset":1416,"endOffset":1461,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":1475,"endOffset":1675,"count":1}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":2134,"endOffset":2551,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2421,"endOffset":2438,"count":1}],"isBlockCoverage":true},{"functionName":"pEventIterator","ranges":[{"startOffset":2560,"endOffset":6020,"count":0}],"isBlockCoverage":false}]},{"scriptId":"621","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@ava/typescript/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8330,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":352,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"validate","ranges":[{"startOffset":478,"endOffset":1131,"count":0}],"isBlockCoverage":false},{"functionName":"compileTypeScript","ranges":[{"startOffset":1133,"endOffset":1260,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1321,"endOffset":1393,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1436,"endOffset":1654,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1696,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"typescriptProvider","ranges":[{"startOffset":2093,"endOffset":8329,"count":1},{"startOffset":2251,"endOffset":2265,"count":0}],"isBlockCoverage":true},{"functionName":"main","ranges":[{"startOffset":2279,"endOffset":7324,"count":0}],"isBlockCoverage":false},{"functionName":"worker","ranges":[{"startOffset":7329,"endOffset":8322,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7526,"endOffset":7556,"count":3}],"isBlockCoverage":true},{"functionName":"canLoad","ranges":[{"startOffset":7591,"endOffset":7707,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7667,"endOffset":7699,"count":2}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":7714,"endOffset":8311,"count":1},{"startOffset":7935,"endOffset":8023,"count":0},{"startOffset":8055,"endOffset":8118,"count":0},{"startOffset":8247,"endOffset":8281,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7787,"endOffset":7819,"count":2}],"isBlockCoverage":true}]},{"scriptId":"622","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-timeout/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2513,"count":1}],"isBlockCoverage":true},{"functionName":"TimeoutError","ranges":[{"startOffset":43,"endOffset":116,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":315,"endOffset":405,"count":0}],"isBlockCoverage":false},{"functionName":"getDOMException","ranges":[{"startOffset":516,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"getAbortedReason","ranges":[{"startOffset":755,"endOffset":951,"count":0}],"isBlockCoverage":false},{"functionName":"pTimeout","ranges":[{"startOffset":969,"endOffset":2512,"count":0}],"isBlockCoverage":false}]},{"scriptId":"623","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7897,"count":1}],"isBlockCoverage":true},{"functionName":"getEnv","ranges":[{"startOffset":955,"endOffset":1187,"count":0}],"isBlockCoverage":false},{"functionName":"handleArguments","ranges":[{"startOffset":1214,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"handleOutput","ranges":[{"startOffset":1965,"endOffset":2268,"count":0}],"isBlockCoverage":false},{"functionName":"execa","ranges":[{"startOffset":2278,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"execaSync","ranges":[{"startOffset":4687,"endOffset":6032,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptStdin","ranges":[{"startOffset":6063,"endOffset":6191,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptOptions","ranges":[{"startOffset":6225,"endOffset":6316,"count":0}],"isBlockCoverage":false},{"functionName":"create$","ranges":[{"startOffset":6319,"endOffset":6973,"count":1}],"isBlockCoverage":true},{"functionName":"$","ranges":[{"startOffset":6348,"endOffset":6640,"count":0}],"isBlockCoverage":false},{"functionName":"$.sync","ranges":[{"startOffset":6652,"endOffset":6958,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommand","ranges":[{"startOffset":7011,"endOffset":7138,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommandSync","ranges":[{"startOffset":7147,"endOffset":7282,"count":0}],"isBlockCoverage":false},{"functionName":"execaNode","ranges":[{"startOffset":7291,"endOffset":7896,"count":0}],"isBlockCoverage":false}]},{"scriptId":"624","url":"node:child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27198,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1936,"endOffset":1965,"count":0}],"isBlockCoverage":false},{"functionName":"fork","ranges":[{"startOffset":3430,"endOffset":5105,"count":0}],"isBlockCoverage":false},{"functionName":"_forkChild","ranges":[{"startOffset":5107,"endOffset":5596,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecArgs","ranges":[{"startOffset":5598,"endOffset":6112,"count":0}],"isBlockCoverage":false},{"functionName":"exec","ranges":[{"startOffset":6649,"endOffset":6896,"count":0}],"isBlockCoverage":false},{"functionName":"customPromiseExecFunction","ranges":[{"startOffset":6932,"endOffset":7296,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6953,"endOffset":7293,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecFileArgs","ranges":[{"startOffset":7433,"endOffset":8331,"count":0}],"isBlockCoverage":false},{"functionName":"execFile","ranges":[{"startOffset":8944,"endOffset":13708,"count":0}],"isBlockCoverage":false},{"functionName":"copyProcessEnvToEnv","ranges":[{"startOffset":13852,"endOffset":14052,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeSpawnArguments","ranges":[{"startOffset":14054,"endOffset":19321,"count":0}],"isBlockCoverage":false},{"functionName":"abortChildProcess","ranges":[{"startOffset":19323,"endOffset":19579,"count":0}],"isBlockCoverage":false},{"functionName":"spawn","ranges":[{"startOffset":20134,"endOffset":21334,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":22094,"endOffset":23602,"count":0}],"isBlockCoverage":false},{"functionName":"checkExecSyncError","ranges":[{"startOffset":23605,"endOffset":23991,"count":0}],"isBlockCoverage":false},{"functionName":"execFileSync","ranges":[{"startOffset":24504,"endOffset":24968,"count":0}],"isBlockCoverage":false},{"functionName":"execSync","ranges":[{"startOffset":25466,"endOffset":25842,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentNullCheck","ranges":[{"startOffset":25845,"endOffset":26068,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentsNullCheck","ranges":[{"startOffset":26071,"endOffset":26233,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":26236,"endOffset":26424,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBuffer","ranges":[{"startOffset":26427,"endOffset":26700,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeKillSignal","ranges":[{"startOffset":26703,"endOffset":27066,"count":0}],"isBlockCoverage":false}]},{"scriptId":"625","url":"node:internal/child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31777,"count":1}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2500,"endOffset":2559,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2566,"endOffset":2620,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2682,"endOffset":2749,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2756,"endOffset":2897,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2927,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"postSend","ranges":[{"startOffset":4488,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5241,"endOffset":5698,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5763,"endOffset":5822,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5829,"endOffset":5883,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5948,"endOffset":6068,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":6075,"endOffset":6234,"count":0}],"isBlockCoverage":false},{"functionName":"stdioStringToArray","ranges":[{"startOffset":6245,"endOffset":6660,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess","ranges":[{"startOffset":6662,"endOffset":8151,"count":0}],"isBlockCoverage":false},{"functionName":"flushStdio","ranges":[{"startOffset":8274,"endOffset":8752,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":8755,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"getHandleWrapType","ranges":[{"startOffset":8848,"endOffset":9077,"count":0}],"isBlockCoverage":false},{"functionName":"closePendingHandle","ranges":[{"startOffset":9079,"endOffset":9192,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.spawn","ranges":[{"startOffset":9226,"endOffset":12793,"count":0}],"isBlockCoverage":false},{"functionName":"onErrorNT","ranges":[{"startOffset":12797,"endOffset":12858,"count":0}],"isBlockCoverage":false},{"functionName":"onSpawnNT","ranges":[{"startOffset":12861,"endOffset":12911,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.kill","ranges":[{"startOffset":12944,"endOffset":13609,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.","ranges":[{"startOffset":13652,"endOffset":13709,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.ref","ranges":[{"startOffset":13742,"endOffset":13796,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.unref","ranges":[{"startOffset":13831,"endOffset":13887,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13890,"endOffset":14887,"count":0}],"isBlockCoverage":false},{"functionName":"setupChannel","ranges":[{"startOffset":15035,"endOffset":27155,"count":0}],"isBlockCoverage":false},{"functionName":"isInternal","ranges":[{"startOffset":27190,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"getValidStdio","ranges":[{"startOffset":27534,"endOffset":30459,"count":0}],"isBlockCoverage":false},{"functionName":"getSocketList","ranges":[{"startOffset":30462,"endOffset":30778,"count":0}],"isBlockCoverage":false},{"functionName":"maybeClose","ranges":[{"startOffset":30781,"endOffset":30982,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":30984,"endOffset":31651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"626","url":"node:dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28253,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCluster","ranges":[{"startOffset":2824,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":3031,"endOffset":4459,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":4570,"endOffset":4648,"count":0}],"isBlockCoverage":false},{"functionName":"startListening","ranges":[{"startOffset":4651,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"replaceHandle","ranges":[{"startOffset":5096,"endOffset":5661,"count":0}],"isBlockCoverage":false},{"functionName":"bufferSize","ranges":[{"startOffset":5663,"endOffset":5955,"count":0}],"isBlockCoverage":false},{"functionName":"bindServerHandle","ranges":[{"startOffset":6023,"endOffset":6433,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.bind","ranges":[{"startOffset":6459,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":9932,"endOffset":10728,"count":0}],"isBlockCoverage":false},{"functionName":"_connect","ranges":[{"startOffset":10732,"endOffset":11078,"count":0}],"isBlockCoverage":false},{"functionName":"doConnect","ranges":[{"startOffset":11081,"endOffset":11723,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.disconnect","ranges":[{"startOffset":11756,"endOffset":12063,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.sendto","ranges":[{"startOffset":12168,"endOffset":12609,"count":0}],"isBlockCoverage":false},{"functionName":"sliceBuffer","ranges":[{"startOffset":12613,"endOffset":13373,"count":0}],"isBlockCoverage":false},{"functionName":"fixBufferList","ranges":[{"startOffset":13376,"endOffset":13760,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":13763,"endOffset":14190,"count":0}],"isBlockCoverage":false},{"functionName":"onListenSuccess","ranges":[{"startOffset":14193,"endOffset":14331,"count":0}],"isBlockCoverage":false},{"functionName":"onListenError","ranges":[{"startOffset":14334,"endOffset":14458,"count":0}],"isBlockCoverage":false},{"functionName":"clearQueue","ranges":[{"startOffset":14461,"endOffset":14658,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.send","ranges":[{"startOffset":15229,"endOffset":18122,"count":0}],"isBlockCoverage":false},{"functionName":"doSend","ranges":[{"startOffset":18125,"endOffset":19264,"count":0}],"isBlockCoverage":false},{"functionName":"afterSend","ranges":[{"startOffset":19266,"endOffset":19443,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.close","ranges":[{"startOffset":19470,"endOffset":20038,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":20080,"endOffset":20213,"count":0}],"isBlockCoverage":false},{"functionName":"socketCloseNT","ranges":[{"startOffset":20217,"endOffset":20271,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":20301,"endOffset":20491,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.remoteAddress","ranges":[{"startOffset":20527,"endOffset":20837,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setBroadcast","ranges":[{"startOffset":20873,"endOffset":21021,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setTTL","ranges":[{"startOffset":21051,"endOffset":21225,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastTTL","ranges":[{"startOffset":21264,"endOffset":21456,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastLoopback","ranges":[{"startOffset":21500,"endOffset":21700,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastInterface","ranges":[{"startOffset":21745,"endOffset":22007,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addMembership","ranges":[{"startOffset":22043,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropMembership","ranges":[{"startOffset":22455,"endOffset":22832,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addSourceSpecificMembership","ranges":[{"startOffset":22882,"endOffset":23489,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropSourceSpecificMembership","ranges":[{"startOffset":23541,"endOffset":24154,"count":0}],"isBlockCoverage":false},{"functionName":"healthCheck","ranges":[{"startOffset":24158,"endOffset":24321,"count":0}],"isBlockCoverage":false},{"functionName":"stopReceiving","ranges":[{"startOffset":24324,"endOffset":24488,"count":0}],"isBlockCoverage":false},{"functionName":"onMessage","ranges":[{"startOffset":24491,"endOffset":24745,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":24748,"endOffset":24863,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":24889,"endOffset":24996,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":25025,"endOffset":25134,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setRecvBufferSize","ranges":[{"startOffset":25175,"endOffset":25232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setSendBufferSize","ranges":[{"startOffset":25273,"endOffset":25330,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getRecvBufferSize","ranges":[{"startOffset":25371,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendBufferSize","ranges":[{"startOffset":25469,"endOffset":25526,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueSize","ranges":[{"startOffset":25565,"endOffset":25634,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueCount","ranges":[{"startOffset":25674,"endOffset":25744,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25863,"endOffset":25917,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25990,"endOffset":26046,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26199,"endOffset":26256,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26332,"endOffset":26391,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26547,"endOffset":26604,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26680,"endOffset":26739,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26891,"endOffset":26944,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27016,"endOffset":27071,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27223,"endOffset":27280,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27356,"endOffset":27415,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27522,"endOffset":27557,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27666,"endOffset":27703,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27988,"endOffset":28024,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":28028,"endOffset":28069,"count":0}],"isBlockCoverage":false}]},{"scriptId":"627","url":"node:internal/dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1851,"count":1}],"isBlockCoverage":false},{"functionName":"lookup4","ranges":[{"startOffset":478,"endOffset":579,"count":0}],"isBlockCoverage":false},{"functionName":"lookup6","ranges":[{"startOffset":582,"endOffset":677,"count":0}],"isBlockCoverage":false},{"functionName":"newHandle","ranges":[{"startOffset":679,"endOffset":1323,"count":0}],"isBlockCoverage":false},{"functionName":"_createSocketHandle","ranges":[{"startOffset":1326,"endOffset":1774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"628","url":"node:internal/socket_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2709,"count":1}],"isBlockCoverage":false},{"functionName":"SocketListSend","ranges":[{"startOffset":235,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"_request","ranges":[{"startOffset":380,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":1039,"endOffset":1190,"count":0}],"isBlockCoverage":false},{"functionName":"getConnections","ranges":[{"startOffset":1194,"endOffset":1430,"count":0}],"isBlockCoverage":false},{"functionName":"SocketListReceive","ranges":[{"startOffset":1544,"endOffset":2404,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":2408,"endOffset":2649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"629","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/strip-final-newline/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":347,"count":1}],"isBlockCoverage":true},{"functionName":"stripFinalNewline","ranges":[{"startOffset":15,"endOffset":346,"count":0}],"isBlockCoverage":false}]},{"scriptId":"630","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":938,"count":1}],"isBlockCoverage":true},{"functionName":"npmRunPath","ranges":[{"startOffset":134,"endOffset":741,"count":0}],"isBlockCoverage":false},{"functionName":"npmRunPathEnv","ranges":[{"startOffset":750,"endOffset":937,"count":0}],"isBlockCoverage":false}]},{"scriptId":"631","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/onetime/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1022,"count":1}],"isBlockCoverage":true},{"functionName":"onetime","ranges":[{"startOffset":95,"endOffset":767,"count":0}],"isBlockCoverage":false},{"functionName":"onetime.callCount","ranges":[{"startOffset":790,"endOffset":995,"count":0}],"isBlockCoverage":false}]},{"scriptId":"632","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2204,"count":1}],"isBlockCoverage":true},{"functionName":"getErrorPrefix","ranges":[{"startOffset":105,"endOffset":580,"count":0}],"isBlockCoverage":false},{"functionName":"makeError","ranges":[{"startOffset":608,"endOffset":2202,"count":0}],"isBlockCoverage":false}]},{"scriptId":"633","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stdio.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1157,"count":1}],"isBlockCoverage":true},{"functionName":"hasAlias","ranges":[{"startOffset":65,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdio","ranges":[{"startOffset":160,"endOffset":794,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdioNode","ranges":[{"startOffset":879,"endOffset":1155,"count":0}],"isBlockCoverage":false}]},{"scriptId":"634","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/kill.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2983,"count":1}],"isBlockCoverage":true},{"functionName":"spawnedKill","ranges":[{"startOffset":214,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"setKillTimeout","ranges":[{"startOffset":393,"endOffset":844,"count":0}],"isBlockCoverage":false},{"functionName":"shouldForceKill","ranges":[{"startOffset":871,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"isSigterm","ranges":[{"startOffset":1007,"endOffset":1128,"count":0}],"isBlockCoverage":false},{"functionName":"getForceKillAfterTimeout","ranges":[{"startOffset":1164,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"spawnedCancel","ranges":[{"startOffset":1623,"endOffset":1736,"count":0}],"isBlockCoverage":false},{"functionName":"timeoutKill","ranges":[{"startOffset":1759,"endOffset":1888,"count":0}],"isBlockCoverage":false},{"functionName":"setupTimeout","ranges":[{"startOffset":1948,"endOffset":2417,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":2451,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"setExitHandler","ranges":[{"startOffset":2737,"endOffset":2981,"count":0}],"isBlockCoverage":false}]},{"scriptId":"635","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/pipe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1194,"count":1}],"isBlockCoverage":true},{"functionName":"isExecaChildProcess","ranges":[{"startOffset":165,"endOffset":242,"count":0}],"isBlockCoverage":false},{"functionName":"pipeToTarget","ranges":[{"startOffset":266,"endOffset":826,"count":0}],"isBlockCoverage":false},{"functionName":"addPipeMethods","ranges":[{"startOffset":859,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"636","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2958,"count":1}],"isBlockCoverage":true},{"functionName":"validateInputOptions","ranges":[{"startOffset":198,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"getInputSync","ranges":[{"startOffset":347,"endOffset":495,"count":0}],"isBlockCoverage":false},{"functionName":"handleInputSync","ranges":[{"startOffset":576,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getInput","ranges":[{"startOffset":769,"endOffset":921,"count":0}],"isBlockCoverage":false},{"functionName":"handleInput","ranges":[{"startOffset":999,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"makeAllStream","ranges":[{"startOffset":1270,"endOffset":1518,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedData","ranges":[{"startOffset":1632,"endOffset":1940,"count":0}],"isBlockCoverage":false},{"functionName":"getStreamPromise","ranges":[{"startOffset":1968,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedResult","ranges":[{"startOffset":2300,"endOffset":2956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"637","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1109,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":91,"endOffset":105,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":186,"endOffset":281,"count":3}],"isBlockCoverage":true},{"functionName":"mergePromise","ranges":[{"startOffset":376,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedPromise","ranges":[{"startOffset":835,"endOffset":1107,"count":0}],"isBlockCoverage":false}]},{"scriptId":"638","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/command.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3071,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeArgs","ranges":[{"startOffset":108,"endOffset":207,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArg","ranges":[{"startOffset":302,"endOffset":449,"count":0}],"isBlockCoverage":false},{"functionName":"joinCommand","ranges":[{"startOffset":479,"endOffset":530,"count":0}],"isBlockCoverage":false},{"functionName":"getEscapedCommand","ranges":[{"startOffset":566,"endOffset":644,"count":0}],"isBlockCoverage":false},{"functionName":"parseCommand","ranges":[{"startOffset":732,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"parseExpression","ranges":[{"startOffset":1209,"endOffset":1923,"count":0}],"isBlockCoverage":false},{"functionName":"concatTokens","ranges":[{"startOffset":1947,"endOffset":2173,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplate","ranges":[{"startOffset":2198,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplates","ranges":[{"startOffset":2865,"endOffset":3068,"count":0}],"isBlockCoverage":false}]},{"scriptId":"639","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/verbose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"padField","ranges":[{"startOffset":148,"endOffset":204,"count":0}],"isBlockCoverage":false},{"functionName":"getTimestamp","ranges":[{"startOffset":228,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"logCommand","ranges":[{"startOffset":442,"endOffset":573,"count":0}],"isBlockCoverage":false}]},{"scriptId":"640","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":263,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":15,"endOffset":262,"count":0}],"isBlockCoverage":false}]},{"scriptId":"641","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/main.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1214,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalsByName","ranges":[{"startOffset":134,"endOffset":226,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalByName","ranges":[{"startOffset":251,"endOffset":386,"count":69}],"isBlockCoverage":true},{"functionName":"getSignalsByNumber","ranges":[{"startOffset":465,"endOffset":652,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":559,"endOffset":609,"count":65}],"isBlockCoverage":true},{"functionName":"getSignalByNumber","ranges":[{"startOffset":679,"endOffset":939,"count":65},{"startOffset":771,"endOffset":784,"count":3},{"startOffset":784,"endOffset":938,"count":62}],"isBlockCoverage":true},{"functionName":"findSignalByNumber","ranges":[{"startOffset":969,"endOffset":1161,"count":65},{"startOffset":1083,"endOffset":1101,"count":31},{"startOffset":1101,"endOffset":1160,"count":34}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1015,"endOffset":1057,"count":2919}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1123,"endOffset":1157,"count":1881}],"isBlockCoverage":true}]},{"scriptId":"642","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":746,"count":1}],"isBlockCoverage":true},{"functionName":"isStream","ranges":[{"startOffset":7,"endOffset":132,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":141,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":332,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexStream","ranges":[{"startOffset":522,"endOffset":621,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":630,"endOffset":745,"count":0}],"isBlockCoverage":false}]},{"scriptId":"643","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/realtime.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":353,"count":1}],"isBlockCoverage":true},{"functionName":"getRealtimeSignals","ranges":[{"startOffset":33,"endOffset":121,"count":2}],"isBlockCoverage":true},{"functionName":"getRealtimeSignal","ranges":[{"startOffset":148,"endOffset":306,"count":62}],"isBlockCoverage":true}]},{"scriptId":"644","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1}],"isBlockCoverage":true},{"functionName":"getSignals","ranges":[{"startOffset":139,"endOffset":274,"count":2}],"isBlockCoverage":true},{"functionName":"normalizeSignal","ranges":[{"startOffset":305,"endOffset":602,"count":138},{"startOffset":504,"endOffset":519,"count":66},{"startOffset":519,"endOffset":533,"count":72}],"isBlockCoverage":true}]},{"scriptId":"645","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4126,"count":1}],"isBlockCoverage":true}]},{"scriptId":"646","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1}],"isBlockCoverage":true},{"functionName":"spawn","ranges":[{"startOffset":131,"endOffset":589,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":591,"endOffset":1038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"647","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3065,"count":1}],"isBlockCoverage":true},{"functionName":"detectShebang","ranges":[{"startOffset":354,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"parseNonShell","ranges":[{"startOffset":661,"endOffset":2367,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":2369,"endOffset":3039,"count":0}],"isBlockCoverage":false}]},{"scriptId":"648","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/resolveCommand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1557,"count":1}],"isBlockCoverage":true},{"functionName":"resolveCommandAttempt","ranges":[{"startOffset":118,"endOffset":1404,"count":0}],"isBlockCoverage":false},{"functionName":"resolveCommand","ranges":[{"startOffset":1406,"endOffset":1522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"649","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/which/which.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3163,"count":1},{"startOffset":177,"endOffset":182,"count":0}],"isBlockCoverage":true},{"functionName":"getNotFoundError","ranges":[{"startOffset":246,"endOffset":322,"count":0}],"isBlockCoverage":false},{"functionName":"getPathInfo","ranges":[{"startOffset":344,"endOffset":1152,"count":0}],"isBlockCoverage":false},{"functionName":"which","ranges":[{"startOffset":1168,"endOffset":2279,"count":0}],"isBlockCoverage":false},{"functionName":"whichSync","ranges":[{"startOffset":2299,"endOffset":3115,"count":0}],"isBlockCoverage":false}]},{"scriptId":"650","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1},{"startOffset":92,"endOffset":128,"count":0}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":211,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":930,"endOffset":1191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"651","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/mode.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":909,"count":1}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":66,"endOffset":197,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":199,"endOffset":279,"count":0}],"isBlockCoverage":false},{"functionName":"checkStat","ranges":[{"startOffset":281,"endOffset":370,"count":0}],"isBlockCoverage":false},{"functionName":"checkMode","ranges":[{"startOffset":372,"endOffset":908,"count":0}],"isBlockCoverage":false}]},{"scriptId":"652","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":415,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":31,"endOffset":304,"count":0}],"isBlockCoverage":false}]},{"scriptId":"653","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/escape.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"escapeCommand","ranges":[{"startOffset":121,"endOffset":241,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArgument","ranges":[{"startOffset":243,"endOffset":1088,"count":0}],"isBlockCoverage":false}]},{"scriptId":"654","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/readShebang.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":549,"count":1}],"isBlockCoverage":true},{"functionName":"readShebang","ranges":[{"startOffset":93,"endOffset":517,"count":0}],"isBlockCoverage":false}]},{"scriptId":"655","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-command/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":387,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":79,"endOffset":385,"count":0}],"isBlockCoverage":false}]},{"scriptId":"656","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":42,"count":1}],"isBlockCoverage":true}]},{"scriptId":"657","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/enoent.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1480,"count":1}],"isBlockCoverage":true},{"functionName":"notFoundError","ranges":[{"startOffset":60,"endOffset":358,"count":0}],"isBlockCoverage":false},{"functionName":"hookChildProcess","ranges":[{"startOffset":360,"endOffset":1023,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENT","ranges":[{"startOffset":1025,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENTSync","ranges":[{"startOffset":1197,"endOffset":1375,"count":0}],"isBlockCoverage":false}]},{"scriptId":"658","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5708,"count":1},{"startOffset":778,"endOffset":844,"count":0},{"startOffset":1059,"endOffset":1089,"count":0},{"startOffset":1144,"endOffset":1195,"count":0}],"isBlockCoverage":true},{"functionName":"processOk","ranges":[{"startOffset":293,"endOffset":677,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":799,"endOffset":842,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1703,"endOffset":2301,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2318,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2724,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3001,"endOffset":3890,"count":18}],"isBlockCoverage":true},{"functionName":"listener","ranges":[{"startOffset":3042,"endOffset":3886,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.signals","ranges":[{"startOffset":3920,"endOffset":3956,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":3993,"endOffset":4602,"count":0}],"isBlockCoverage":false},{"functionName":"processReallyExit","ranges":[{"startOffset":4712,"endOffset":5108,"count":0}],"isBlockCoverage":false},{"functionName":"processEmit","ranges":[{"startOffset":5171,"endOffset":5705,"count":0}],"isBlockCoverage":false}]},{"scriptId":"659","url":"node:assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31879,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadComparison","ranges":[{"startOffset":2704,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":3469,"endOffset":3517,"count":0}],"isBlockCoverage":false},{"functionName":"innerFail","ranges":[{"startOffset":4071,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":4348,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"findColumn","ranges":[{"startOffset":5445,"endOffset":6385,"count":0}],"isBlockCoverage":false},{"functionName":"getCode","ranges":[{"startOffset":6387,"endOffset":8032,"count":0}],"isBlockCoverage":false},{"functionName":"parseCode","ranges":[{"startOffset":8034,"endOffset":9451,"count":0}],"isBlockCoverage":false},{"functionName":"getErrMessage","ranges":[{"startOffset":9453,"endOffset":12547,"count":0}],"isBlockCoverage":false},{"functionName":"innerOk","ranges":[{"startOffset":12549,"endOffset":13157,"count":1},{"startOffset":12610,"endOffset":13155,"count":0}],"isBlockCoverage":true},{"functionName":"ok","ranges":[{"startOffset":13290,"endOffset":13351,"count":1}],"isBlockCoverage":true},{"functionName":"equal","ranges":[{"startOffset":13610,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"notEqual","ranges":[{"startOffset":14201,"endOffset":14577,"count":0}],"isBlockCoverage":false},{"functionName":"deepEqual","ranges":[{"startOffset":14777,"endOffset":15142,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepEqual","ranges":[{"startOffset":15348,"endOffset":15721,"count":0}],"isBlockCoverage":false},{"functionName":"deepStrictEqual","ranges":[{"startOffset":15964,"endOffset":16353,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepStrictEqual","ranges":[{"startOffset":16602,"endOffset":16999,"count":0}],"isBlockCoverage":false},{"functionName":"strictEqual","ranges":[{"startOffset":17204,"endOffset":17517,"count":0}],"isBlockCoverage":false},{"functionName":"notStrictEqual","ranges":[{"startOffset":17729,"endOffset":18050,"count":0}],"isBlockCoverage":false},{"functionName":"Comparison","ranges":[{"startOffset":18074,"endOffset":18456,"count":0}],"isBlockCoverage":false},{"functionName":"compareExceptionKey","ranges":[{"startOffset":18460,"endOffset":19179,"count":0}],"isBlockCoverage":false},{"functionName":"expectedException","ranges":[{"startOffset":19181,"endOffset":22585,"count":0}],"isBlockCoverage":false},{"functionName":"getActual","ranges":[{"startOffset":22587,"endOffset":22727,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsPromise","ranges":[{"startOffset":22729,"endOffset":23093,"count":0}],"isBlockCoverage":false},{"functionName":"waitForActual","ranges":[{"startOffset":23095,"endOffset":23809,"count":0}],"isBlockCoverage":false},{"functionName":"expectsError","ranges":[{"startOffset":23811,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"hasMatchingError","ranges":[{"startOffset":25430,"endOffset":26048,"count":0}],"isBlockCoverage":false},{"functionName":"expectsNoError","ranges":[{"startOffset":26050,"endOffset":26701,"count":0}],"isBlockCoverage":false},{"functionName":"throws","ranges":[{"startOffset":26859,"endOffset":26953,"count":0}],"isBlockCoverage":false},{"functionName":"rejects","ranges":[{"startOffset":27132,"endOffset":27244,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotThrow","ranges":[{"startOffset":27406,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotReject","ranges":[{"startOffset":27666,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"ifError","ranges":[{"startOffset":27906,"endOffset":29695,"count":0}],"isBlockCoverage":false},{"functionName":"internalMatch","ranges":[{"startOffset":29698,"endOffset":30781,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":30977,"endOffset":31069,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotMatch","ranges":[{"startOffset":31277,"endOffset":31383,"count":0}],"isBlockCoverage":false},{"functionName":"strict","ranges":[{"startOffset":31574,"endOffset":31643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"660","url":"node:internal/assert/assertion_error","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17104,"count":1}],"isBlockCoverage":false},{"functionName":"copyError","ranges":[{"startOffset":1449,"endOffset":1743,"count":0}],"isBlockCoverage":false},{"functionName":"inspectValue","ranges":[{"startOffset":1745,"endOffset":2353,"count":0}],"isBlockCoverage":false},{"functionName":"createErrDiff","ranges":[{"startOffset":2355,"endOffset":11091,"count":0}],"isBlockCoverage":false},{"functionName":"addEllipsis","ranges":[{"startOffset":11093,"endOffset":11396,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":11437,"endOffset":16133,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16137,"endOffset":16212,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16216,"endOffset":17067,"count":0}],"isBlockCoverage":false}]},{"scriptId":"661","url":"node:internal/util/colors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1122,"count":1}],"isBlockCoverage":false},{"functionName":"lazyInternalTTY","ranges":[{"startOffset":32,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"shouldColorize","ranges":[{"startOffset":244,"endOffset":504,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":508,"endOffset":1090,"count":1},{"startOffset":550,"endOffset":1086,"count":0}],"isBlockCoverage":true}]},{"scriptId":"662","url":"node:internal/assert/calltracker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3452,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":462,"endOffset":1495,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1497,"endOffset":3420,"count":0}],"isBlockCoverage":false}]},{"scriptId":"663","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1295,"count":1}],"isBlockCoverage":true}]},{"scriptId":"664","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1489,"count":1}],"isBlockCoverage":true},{"functionName":"MaxBufferError","ranges":[{"startOffset":292,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"getStream","ranges":[{"startOffset":377,"endOffset":1223,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.buffer","ranges":[{"startOffset":1277,"endOffset":1349,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.array","ranges":[{"startOffset":1374,"endOffset":1439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"665","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/buffer-stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":894,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":92,"endOffset":892,"count":0}],"isBlockCoverage":false}]},{"scriptId":"666","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":885,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":76,"endOffset":884,"count":0}],"isBlockCoverage":false}]},{"scriptId":"667","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/acceptance/dummy.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":353,"count":1}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":70,"endOffset":151,"count":1},{"startOffset":122,"endOffset":127,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":302,"endOffset":317,"count":1}],"isBlockCoverage":true}]},{"scriptId":"668","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/entrypoints/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":66,"count":1}],"isBlockCoverage":true}]},{"scriptId":"669","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":277,"count":1}],"isBlockCoverage":true}]},{"scriptId":"670","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/guard-environment.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1},{"startOffset":271,"endOffset":602,"count":0}],"isBlockCoverage":true}]},{"scriptId":"671","url":"node:internal/util/iterable_weak_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1959,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":373,"endOffset":1819,"count":1}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":521,"endOffset":1033,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1037,"endOffset":1093,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":1097,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":1150,"endOffset":1388,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1392,"endOffset":1817,"count":1}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":1484,"endOffset":1736,"count":1},{"startOffset":1567,"endOffset":1735,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1758,"endOffset":1793,"count":0}],"isBlockCoverage":false},{"functionName":"cleanup","ranges":[{"startOffset":1821,"endOffset":1874,"count":0}],"isBlockCoverage":false}]}],"timestamp":85118.255373,"source-map-cache":{"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js":{"lineLengths":[13,7,62,74,65,63,53,60,45,115,43,34,51,41,47,46,41,38,37,55,26,64,27,15,15,25,20,6,17,22,17,6,14,23,19,35,40,9,52,24,28,30,32,11,5,16,36,5,28,40,35,29,23,19,9,28,43,28,9,14,30,9,5,28,31,25,9,32,24,46,51,9,28,62,9,19,5,1,22,1,37,12,26,44,10,16,34,10,18,36,10,6,2,49,14,25,5,14,16,1,41,52,40,25,65,24,29,13,25,31,23,20,26,16,32,43,32,49,45,70,71,69,35,63,46,83,84,82,82,81,27,37,34,68,74,61,17,36,49,34,70,41,68,29,53,40,17,14,9,61,49,5,22,29,40,29,9,28,37,24,9,59,33,22,49,63,68,30,13,10,5,12,27,19,9,28,65,68,68,35,33,49,17,51,23,46,13,25,9,44,47,10,46,49,10,5,14,28,19,9,29,45,53,33,28,75,13,32,17,60,37,13,25,32,11,55,67,33,5,30,29,40,21,9,43,28,65,91,5,31,45,56,46,49,37,13,33,60,33,69,32,23,9,14,55,9,5,1,35,65,25,94,3,67,39,2,68,29,2,61,3,28,3,66,66,45,2,12,3,24,3,68,66,45,2,12,3,27,33],"data":{"version":3,"file":"index.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/index.ts"],"names":[],"mappings":";;;;AAAA,iEAAiE;AACjE,+DAA+D;AAC/D,qDAAqD;AACrD,4DAA4D;AAC5D,6CAAsC;AAC7B,wFADA,oBAAO,OACA;AAQhB,MAAM,SAAS,GAAG,CAAC,OAAY,EAAwB,EAAE,CACvD,CAAC,CAAC,OAAO;IACT,OAAO,OAAO,KAAK,QAAQ;IAC3B,OAAO,OAAO,CAAC,cAAc,KAAK,UAAU;IAC5C,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,UAAU,KAAK,UAAU;IACxC,OAAO,OAAO,CAAC,SAAS,KAAK,UAAU;IACvC,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,GAAG,KAAK,QAAQ;IAC/B,OAAO,OAAO,CAAC,EAAE,KAAK,UAAU,CAAA;AAElC,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;AACtD,MAAM,MAAM,GAAqD,UAAU,CAAA;AAC3E,MAAM,oBAAoB,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;AAwB/D,2BAA2B;AAC3B,MAAM,OAAO;IACX,OAAO,GAAY;QACjB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,KAAK;KACZ,CAAA;IAED,SAAS,GAAc;QACrB,SAAS,EAAE,EAAE;QACb,IAAI,EAAE,EAAE;KACT,CAAA;IAED,KAAK,GAAW,CAAC,CAAA;IACjB,EAAE,GAAW,IAAI,CAAC,MAAM,EAAE,CAAA;IAE1B;QACE,IAAI,MAAM,CAAC,YAAY,CAAC,EAAE;YACxB,OAAO,MAAM,CAAC,YAAY,CAAC,CAAA;SAC5B;QACD,oBAAoB,CAAC,MAAM,EAAE,YAAY,EAAE;YACzC,KAAK,EAAE,IAAI;YACX,QAAQ,EAAE,KAAK;YACf,UAAU,EAAE,KAAK;YACjB,YAAY,EAAE,KAAK;SACpB,CAAC,CAAA;IACJ,CAAC;IAED,EAAE,CAAC,EAAa,EAAE,EAAW;QAC3B,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC7B,CAAC;IAED,cAAc,CAAC,EAAa,EAAE,EAAW;QACvC,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;QAC/B,MAAM,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;QAC1B,qBAAqB;QACrB,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE;YACZ,OAAM;SACP;QACD,oBAAoB;QACpB,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;YAChC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAA;SAChB;aAAM;YACL,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;SAClB;IACH,CAAC;IAED,IAAI,CACF,EAAa,EACb,IAA+B,EAC/B,MAA6B;QAE7B,IAAI,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;YACpB,OAAO,KAAK,CAAA;SACb;QACD,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,IAAI,CAAA;QACvB,IAAI,GAAG,GAAY,KAAK,CAAA;QACxB,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE;YACnC,GAAG,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,IAAI,IAAI,GAAG,CAAA;SACvC;QACD,IAAI,EAAE,KAAK,MAAM,EAAE;YACjB,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,GAAG,CAAA;SAClD;QACD,OAAO,GAAG,CAAA;IACZ,CAAC;CACF;AAED,MAAe,cAAc;CAI5B;AAED,MAAM,cAAc,GAAG,CAA2B,OAAU,EAAE,EAAE;IAC9D,OAAO;QACL,MAAM,CAAC,EAAW,EAAE,IAA+B;YACjD,OAAO,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;QACjC,CAAC;QACD,IAAI;YACF,OAAO,OAAO,CAAC,IAAI,EAAE,CAAA;QACvB,CAAC;QACD,MAAM;YACJ,OAAO,OAAO,CAAC,MAAM,EAAE,CAAA;QACzB,CAAC;KACF,CAAA;AACH,CAAC,CAAA;AAED,MAAM,kBAAmB,SAAQ,cAAc;IAC7C,MAAM;QACJ,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;IACjB,CAAC;IACD,IAAI,KAAI,CAAC;IACT,MAAM,KAAI,CAAC;CACZ;AAED,MAAM,UAAW,SAAQ,cAAc;IACrC,gDAAgD;IAChD,oCAAoC;IACpC,qBAAqB;IACrB,OAAO,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC5D,oBAAoB;IACpB,QAAQ,GAAG,IAAI,OAAO,EAAE,CAAA;IACxB,QAAQ,CAAW;IACnB,oBAAoB,CAAmB;IACvC,0BAA0B,CAAyB;IAEnD,aAAa,GAA2C,EAAE,CAAA;IAC1D,OAAO,GAAY,KAAK,CAAA;IAExB,YAAY,OAAkB;QAC5B,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAA;QACvB,mCAAmC;QACnC,IAAI,CAAC,aAAa,GAAG,EAAE,CAAA;QACvB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,GAAG,EAAE;gBAC7B,sDAAsD;gBACtD,uDAAuD;gBACvD,qDAAqD;gBACrD,mBAAmB;gBACnB,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;gBAC9C,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAA;gBAC7B,mEAAmE;gBACnE,oEAAoE;gBACpE,kEAAkE;gBAClE,kEAAkE;gBAClE,iEAAiE;gBACjE,WAAW;gBACX,qBAAqB;gBACrB,MAAM,CAAC,GAAG,OAET,CAAA;gBACD,IACE,OAAO,CAAC,CAAC,uBAAuB,KAAK,QAAQ;oBAC7C,OAAO,CAAC,CAAC,uBAAuB,CAAC,KAAK,KAAK,QAAQ,EACnD;oBACA,KAAK,IAAI,CAAC,CAAC,uBAAuB,CAAC,KAAK,CAAA;iBACzC;gBACD,oBAAoB;gBACpB,IAAI,SAAS,CAAC,MAAM,KAAK,KAAK,EAAE;oBAC9B,IAAI,CAAC,MAAM,EAAE,CAAA;oBACb,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,CAAA;oBACjD,qBAAqB;oBACrB,MAAM,CAAC,GAAG,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAA;oBAC/C,IAAI,CAAC,GAAG;wBAAE,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;oBACtC,oBAAoB;iBACrB;YACH,CAAC,CAAA;SACF;QAED,IAAI,CAAC,0BAA0B,GAAG,OAAO,CAAC,UAAU,CAAA;QACpD,IAAI,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAA;IAC1C,CAAC;IAED,MAAM,CAAC,EAAW,EAAE,IAA+B;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;SAChB;QACD,oBAAoB;QAEpB,IAAI,IAAI,CAAC,OAAO,KAAK,KAAK,EAAE;YAC1B,IAAI,CAAC,IAAI,EAAE,CAAA;SACZ;QAED,MAAM,EAAE,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAA;QAClD,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;QACxB,OAAO,GAAG,EAAE;YACV,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;YACpC,IACE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC;gBAC5C,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,MAAM,KAAK,CAAC,EACjD;gBACA,IAAI,CAAC,MAAM,EAAE,CAAA;aACd;QACH,CAAC,CAAA;IACH,CAAC;IAED,IAAI;QACF,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;QAEnB,yDAAyD;QACzD,4DAA4D;QAC5D,4DAA4D;QAC5D,2BAA2B;QAC3B,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;QAExB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI;gBACF,MAAM,EAAE,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;gBAClC,IAAI,EAAE;oBAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;aAClC;YAAC,OAAO,CAAC,EAAE,GAAE;SACf;QAED,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,EAAU,EAAE,GAAG,CAAQ,EAAE,EAAE;YAC/C,OAAO,IAAI,CAAC,YAAY,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,CAAA;QACpC,CAAC,CAAA;QACD,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,CAAC,IAAgC,EAAE,EAAE;YAC9D,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAA;QACtC,CAAC,CAAA;IACH,CAAC;IAED,MAAM;QACJ,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACjB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QAEpB,oBAAO,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACpB,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;YACxC,qBAAqB;YACrB,IAAI,CAAC,QAAQ,EAAE;gBACb,MAAM,IAAI,KAAK,CAAC,mCAAmC,GAAG,GAAG,CAAC,CAAA;aAC3D;YACD,oBAAoB;YACpB,IAAI;gBACF,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;gBAC3C,qBAAqB;aACtB;YAAC,OAAO,CAAC,EAAE,GAAE;YACd,oBAAoB;QACtB,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC,oBAAoB,CAAA;QAC9C,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,IAAI,CAAC,0BAA0B,CAAA;QAC1D,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;IAC1B,CAAC;IAED,kBAAkB,CAAC,IAAgC;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,CAAC,CAAA;SACT;QACD,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,IAAI,CAAC,CAAA;QAClC,oBAAoB;QAEpB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;QACxD,OAAO,IAAI,CAAC,0BAA0B,CAAC,IAAI,CACzC,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,QAAQ,CAAC,QAAQ,CACvB,CAAA;IACH,CAAC;IAED,YAAY,CAAC,EAAU,EAAE,GAAG,IAAW;QACrC,MAAM,EAAE,GAAG,IAAI,CAAC,oBAAoB,CAAA;QACpC,IAAI,EAAE,KAAK,MAAM,IAAI,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7C,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE;gBAC/B,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;gBAChC,qBAAqB;aACtB;YACD,qBAAqB;YACrB,MAAM,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;YAC/C,qBAAqB;YACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;YACxD,oBAAoB;YACpB,OAAO,GAAG,CAAA;SACX;aAAM;YACL,OAAO,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;SAC3C;IACH,CAAC;CACF;AAED,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAA;AAClC,iEAAiE;AACjE,yBAAyB;AACZ,KA6BT,cAAc,CAChB,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,kBAAkB,EAAE,CACxE;AA9BC;;;;;;;;GAQG;AACH,cAAM;AAEN;;;;;;GAMG;AACH,YAAI;AAEJ;;;;;;GAMG;AACH,cAAM,aAGP","sourcesContent":["// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nimport { signals } from './signals.js'\nexport { signals }\n\n// just a loosened process type so we can do some evil things\ntype ProcessRE = NodeJS.Process & {\n reallyExit: (code?: number | undefined | null) => any\n emit: (ev: string, ...a: any[]) => any\n}\n\nconst processOk = (process: any): process is ProcessRE =>\n !!process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n\nconst kExitEmitter = Symbol.for('signal-exit emitter')\nconst global: typeof globalThis & { [kExitEmitter]?: Emitter } = globalThis\nconst ObjectDefineProperty = Object.defineProperty.bind(Object)\n\n/**\n * A function that takes an exit code and signal as arguments\n *\n * In the case of signal exits *only*, a return value of true\n * will indicate that the signal is being handled, and we should\n * not synthetically exit with the signal we received. Regardless\n * of the handler return value, the handler is unloaded when an\n * otherwise fatal signal is received, so you get exactly 1 shot\n * at it, unless you add another onExit handler at that point.\n *\n * In the case of numeric code exits, we may already have committed\n * to exiting the process, for example via a fatal exception or\n * unhandled promise rejection, so it is impossible to stop safely.\n */\nexport type Handler = (\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n) => true | void\ntype ExitEvent = 'afterExit' | 'exit'\ntype Emitted = { [k in ExitEvent]: boolean }\ntype Listeners = { [k in ExitEvent]: Handler[] }\n\n// teeny special purpose ee\nclass Emitter {\n emitted: Emitted = {\n afterExit: false,\n exit: false,\n }\n\n listeners: Listeners = {\n afterExit: [],\n exit: [],\n }\n\n count: number = 0\n id: number = Math.random()\n\n constructor() {\n if (global[kExitEmitter]) {\n return global[kExitEmitter]\n }\n ObjectDefineProperty(global, kExitEmitter, {\n value: this,\n writable: false,\n enumerable: false,\n configurable: false,\n })\n }\n\n on(ev: ExitEvent, fn: Handler) {\n this.listeners[ev].push(fn)\n }\n\n removeListener(ev: ExitEvent, fn: Handler) {\n const list = this.listeners[ev]\n const i = list.indexOf(fn)\n /* c8 ignore start */\n if (i === -1) {\n return\n }\n /* c8 ignore stop */\n if (i === 0 && list.length === 1) {\n list.length = 0\n } else {\n list.splice(i, 1)\n }\n }\n\n emit(\n ev: ExitEvent,\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n ): boolean {\n if (this.emitted[ev]) {\n return false\n }\n this.emitted[ev] = true\n let ret: boolean = false\n for (const fn of this.listeners[ev]) {\n ret = fn(code, signal) === true || ret\n }\n if (ev === 'exit') {\n ret = this.emit('afterExit', code, signal) || ret\n }\n return ret\n }\n}\n\nabstract class SignalExitBase {\n abstract onExit(cb: Handler, opts?: { alwaysLast?: boolean }): () => void\n abstract load(): void\n abstract unload(): void\n}\n\nconst signalExitWrap = (handler: T) => {\n return {\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n return handler.onExit(cb, opts)\n },\n load() {\n return handler.load()\n },\n unload() {\n return handler.unload()\n },\n }\n}\n\nclass SignalExitFallback extends SignalExitBase {\n onExit() {\n return () => {}\n }\n load() {}\n unload() {}\n}\n\nclass SignalExit extends SignalExitBase {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n /* c8 ignore start */\n #hupSig = process.platform === 'win32' ? 'SIGINT' : 'SIGHUP'\n /* c8 ignore stop */\n #emitter = new Emitter()\n #process: ProcessRE\n #originalProcessEmit: ProcessRE['emit']\n #originalProcessReallyExit: ProcessRE['reallyExit']\n\n #sigListeners: { [k in NodeJS.Signals]?: () => void } = {}\n #loaded: boolean = false\n\n constructor(process: ProcessRE) {\n super()\n this.#process = process\n // { : , ... }\n this.#sigListeners = {}\n for (const sig of signals) {\n this.#sigListeners[sig] = () => {\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n const listeners = this.#process.listeners(sig)\n let { count } = this.#emitter\n // This is a workaround for the fact that signal-exit v3 and signal\n // exit v4 are not aware of each other, and each will attempt to let\n // the other handle it, so neither of them do. To correct this, we\n // detect if we're the only handler *except* for previous versions\n // of signal-exit, and increment by the count of listeners it has\n // created.\n /* c8 ignore start */\n const p = process as unknown as {\n __signal_exit_emitter__?: { count: number }\n }\n if (\n typeof p.__signal_exit_emitter__ === 'object' &&\n typeof p.__signal_exit_emitter__.count === 'number'\n ) {\n count += p.__signal_exit_emitter__.count\n }\n /* c8 ignore stop */\n if (listeners.length === count) {\n this.unload()\n const ret = this.#emitter.emit('exit', null, sig)\n /* c8 ignore start */\n const s = sig === 'SIGHUP' ? this.#hupSig : sig\n if (!ret) process.kill(process.pid, s)\n /* c8 ignore stop */\n }\n }\n }\n\n this.#originalProcessReallyExit = process.reallyExit\n this.#originalProcessEmit = process.emit\n }\n\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return () => {}\n }\n /* c8 ignore stop */\n\n if (this.#loaded === false) {\n this.load()\n }\n\n const ev = opts?.alwaysLast ? 'afterExit' : 'exit'\n this.#emitter.on(ev, cb)\n return () => {\n this.#emitter.removeListener(ev, cb)\n if (\n this.#emitter.listeners['exit'].length === 0 &&\n this.#emitter.listeners['afterExit'].length === 0\n ) {\n this.unload()\n }\n }\n }\n\n load() {\n if (this.#loaded) {\n return\n }\n this.#loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n this.#emitter.count += 1\n\n for (const sig of signals) {\n try {\n const fn = this.#sigListeners[sig]\n if (fn) this.#process.on(sig, fn)\n } catch (_) {}\n }\n\n this.#process.emit = (ev: string, ...a: any[]) => {\n return this.#processEmit(ev, ...a)\n }\n this.#process.reallyExit = (code?: number | null | undefined) => {\n return this.#processReallyExit(code)\n }\n }\n\n unload() {\n if (!this.#loaded) {\n return\n }\n this.#loaded = false\n\n signals.forEach(sig => {\n const listener = this.#sigListeners[sig]\n /* c8 ignore start */\n if (!listener) {\n throw new Error('Listener not defined for signal: ' + sig)\n }\n /* c8 ignore stop */\n try {\n this.#process.removeListener(sig, listener)\n /* c8 ignore start */\n } catch (_) {}\n /* c8 ignore stop */\n })\n this.#process.emit = this.#originalProcessEmit\n this.#process.reallyExit = this.#originalProcessReallyExit\n this.#emitter.count -= 1\n }\n\n #processReallyExit(code?: number | null | undefined) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return 0\n }\n this.#process.exitCode = code || 0\n /* c8 ignore stop */\n\n this.#emitter.emit('exit', this.#process.exitCode, null)\n return this.#originalProcessReallyExit.call(\n this.#process,\n this.#process.exitCode\n )\n }\n\n #processEmit(ev: string, ...args: any[]): any {\n const og = this.#originalProcessEmit\n if (ev === 'exit' && processOk(this.#process)) {\n if (typeof args[0] === 'number') {\n this.#process.exitCode = args[0]\n /* c8 ignore start */\n }\n /* c8 ignore start */\n const ret = og.call(this.#process, ev, ...args)\n /* c8 ignore start */\n this.#emitter.emit('exit', this.#process.exitCode, null)\n /* c8 ignore stop */\n return ret\n } else {\n return og.call(this.#process, ev, ...args)\n }\n }\n}\n\nconst process = globalThis.process\n// wrap so that we call the method on the actual handler, without\n// exporting it directly.\nexport const {\n /**\n * Called when the process is exiting, whether via signal, explicit\n * exit, or running out of stuff to do.\n *\n * If the global process object is not suitable for instrumentation,\n * then this will be a no-op.\n *\n * Returns a function that may be used to unload signal-exit.\n */\n onExit,\n\n /**\n * Load the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n load,\n\n /**\n * Unload the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n unload,\n} = signalExitWrap(\n processOk(process) ? new SignalExit(process) : new SignalExitFallback()\n)\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js":{"lineLengths":[13,62,25,3,47,2,54,54,53,55,28,2,55,54,52,2,54,49,2,56,52,55,36,2,54,50,54,13,3,21,52,35,133,61,14,16,6,1,35,68,1,35],"data":{"version":3,"file":"signals.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/signals.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACU,QAAA,OAAO,GAAqB,EAAE,CAAA;AAC3C,eAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAA;AAE3C,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CACV,SAAS,EACT,SAAS,EACT,WAAW,EACX,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,EACR,SAAS,EACT,QAAQ;IACR,yDAAyD;IACzD,UAAU;IACV,YAAY;KACb,CAAA;CACF;AAED,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAA;CACxD","sourcesContent":["/**\n * This is not the set of all possible signals.\n *\n * It IS, however, the set of all signals that trigger\n * an exit on either Linux or BSD systems. Linux is a\n * superset of the signal names supported on BSD, and\n * the unknown signals just fail to register, so we can\n * catch that easily enough.\n *\n * Windows signals are a different set, since there are\n * signals that terminate Windows processes, but don't\n * terminate (or don't even exist) on Posix systems.\n *\n * Don't bother with SIGKILL. It's uncatchable, which\n * means that we can't fire any callbacks anyway.\n *\n * If a user does happen to register a handler on a non-\n * fatal signal like SIGWINCH or something, and then\n * exit, it'll end up firing `process.emit('exit')`, so\n * the handler will be fired anyway.\n *\n * SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n * artificially, inherently leave the process in a\n * state from which it is not safe to try and enter JS\n * listeners.\n */\nexport const signals: NodeJS.Signals[] = []\nsignals.push('SIGHUP', 'SIGINT', 'SIGTERM')\n\nif (process.platform !== 'win32') {\n signals.push(\n 'SIGALRM',\n 'SIGABRT',\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n signals.push('SIGIO', 'SIGPOLL', 'SIGPWR', 'SIGSTKFLT')\n}\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/acceptance/dummy.js":{"lineLengths":[13,72,62,2,62,46,56,33],"data":{"version":3,"file":"dummy.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/tests/acceptance/dummy.ts"],"names":[],"mappings":";;;;;AAAA,8CAAsB;AAEtB,IAAA,aAAI,EAAC,kBAAkB,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAA"},"url":null,"sourceURL":null}}} \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761217-8.json b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761217-8.json new file mode 100644 index 0000000..10f700b --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761217-8.json @@ -0,0 +1 @@ +{"result":[{"scriptId":"78","url":"node:internal/per_context/primordials","functions":[{"functionName":"SafeIterator","ranges":[{"startOffset":9499,"endOffset":9570,"count":142}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":9575,"endOffset":9624,"count":714}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9629,"endOffset":9674,"count":85}],"isBlockCoverage":true},{"functionName":"desc.value","ranges":[{"startOffset":11239,"endOffset":11306,"count":57}],"isBlockCoverage":true},{"functionName":"SafeMap","ranges":[{"startOffset":11964,"endOffset":11992,"count":507}],"isBlockCoverage":false},{"functionName":"SafeWeakMap","ranges":[{"startOffset":12136,"endOffset":12164,"count":10}],"isBlockCoverage":false},{"functionName":"SafeSet","ranges":[{"startOffset":12293,"endOffset":12321,"count":509}],"isBlockCoverage":false},{"functionName":"SafeWeakSet","ranges":[{"startOffset":12465,"endOffset":12493,"count":1}],"isBlockCoverage":true},{"functionName":"SafeFinalizationRegistry","ranges":[{"startOffset":12745,"endOffset":12801,"count":3}],"isBlockCoverage":true},{"functionName":"SafeWeakRef","ranges":[{"startOffset":12954,"endOffset":12992,"count":5}],"isBlockCoverage":true},{"functionName":"SafePromise","ranges":[{"startOffset":13140,"endOffset":13182,"count":348}],"isBlockCoverage":true},{"functionName":"primordials.SafePromisePrototypeFinally","ranges":[{"startOffset":13686,"endOffset":13960,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13831,"endOffset":13955,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13861,"endOffset":13910,"count":58}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnArrayLike","ranges":[{"startOffset":15280,"endOffset":15836,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15315,"endOffset":15835,"count":97},{"startOffset":15485,"endOffset":15504,"count":62},{"startOffset":15577,"endOffset":15831,"count":158},{"startOffset":15615,"endOffset":15638,"count":0},{"startOffset":15831,"endOffset":15834,"count":158}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15706,"endOffset":15815,"count":158},{"startOffset":15788,"endOffset":15807,"count":35}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnVoid","ranges":[{"startOffset":16178,"endOffset":16580,"count":203}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16213,"endOffset":16579,"count":203},{"startOffset":16310,"endOffset":16320,"count":133},{"startOffset":16367,"endOffset":16575,"count":316},{"startOffset":16405,"endOffset":16428,"count":158},{"startOffset":16429,"endOffset":16442,"count":158},{"startOffset":16575,"endOffset":16578,"count":316}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16496,"endOffset":16559,"count":316},{"startOffset":16541,"endOffset":16551,"count":70}],"isBlockCoverage":true}]},{"scriptId":"80","url":"node:internal/per_context/messageport","functions":[{"functionName":"exports.emitMessage","ranges":[{"startOffset":407,"endOffset":993,"count":4},{"startOffset":683,"endOffset":991,"count":0}],"isBlockCoverage":true}]},{"scriptId":"81","url":"node:internal/bootstrap/realm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14749,"count":1}],"isBlockCoverage":false},{"functionName":"binding","ranges":[{"startOffset":4702,"endOffset":5475,"count":0}],"isBlockCoverage":false},{"functionName":"_linkedBinding","ranges":[{"startOffset":5505,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"internalBinding","ranges":[{"startOffset":5955,"endOffset":6217,"count":186},{"startOffset":6057,"endOffset":6197,"count":45}],"isBlockCoverage":true},{"functionName":"getOwn","ranges":[{"startOffset":6377,"endOffset":6531,"count":3307},{"startOffset":6513,"endOffset":6528,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6580,"endOffset":6676,"count":331},{"startOffset":6636,"endOffset":6676,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6803,"endOffset":6870,"count":331},{"startOffset":6854,"endOffset":6870,"count":261}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7100,"endOffset":7136,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7508,"endOffset":7609,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7568,"endOffset":7603,"count":331}],"isBlockCoverage":true},{"functionName":"BuiltinModule","ranges":[{"startOffset":7614,"endOffset":8291,"count":331}],"isBlockCoverage":true},{"functionName":"allowRequireByUsers","ranges":[{"startOffset":8302,"endOffset":8663,"count":0}],"isBlockCoverage":false},{"functionName":"exposeInternals","ranges":[{"startOffset":8813,"endOffset":8964,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":8975,"endOffset":9029,"count":0}],"isBlockCoverage":false},{"functionName":"canBeRequiredByUsers","ranges":[{"startOffset":9040,"endOffset":9115,"count":184}],"isBlockCoverage":true},{"functionName":"canBeRequiredWithoutScheme","ranges":[{"startOffset":9126,"endOffset":9220,"count":1633}],"isBlockCoverage":true},{"functionName":"normalizeRequirableId","ranges":[{"startOffset":9231,"endOffset":9576,"count":1148},{"startOffset":9307,"endOffset":9469,"count":0},{"startOffset":9525,"endOffset":9549,"count":60},{"startOffset":9549,"endOffset":9575,"count":1088}],"isBlockCoverage":true},{"functionName":"isBuiltin","ranges":[{"startOffset":9587,"endOffset":9828,"count":0}],"isBlockCoverage":false},{"functionName":"getCanBeRequiredByUsersWithoutSchemeList","ranges":[{"startOffset":9839,"endOffset":9948,"count":1}],"isBlockCoverage":true},{"functionName":"getSchemeOnlyModuleNames","ranges":[{"startOffset":9959,"endOffset":10034,"count":0}],"isBlockCoverage":false},{"functionName":"compileForPublicLoader","ranges":[{"startOffset":10106,"endOffset":10818,"count":86},{"startOffset":10187,"endOffset":10379,"count":0},{"startOffset":10443,"endOffset":10740,"count":17},{"startOffset":10702,"endOffset":10706,"count":0}],"isBlockCoverage":true},{"functionName":"getESMFacade","ranges":[{"startOffset":10822,"endOffset":11584,"count":100},{"startOffset":10860,"endOffset":10879,"count":83},{"startOffset":10879,"endOffset":11583,"count":17}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11321,"endOffset":11424,"count":17}],"isBlockCoverage":true},{"functionName":"syncExports","ranges":[{"startOffset":11880,"endOffset":12224,"count":103},{"startOffset":11999,"endOffset":12214,"count":3307},{"startOffset":12076,"endOffset":12085,"count":0}],"isBlockCoverage":true},{"functionName":"compileForInternalLoader","ranges":[{"startOffset":12228,"endOffset":13050,"count":2176},{"startOffset":12277,"endOffset":12292,"count":156},{"startOffset":12294,"endOffset":12328,"count":2022},{"startOffset":12328,"endOffset":12467,"count":154},{"startOffset":12467,"endOffset":12502,"count":1},{"startOffset":12503,"endOffset":12519,"count":153},{"startOffset":12775,"endOffset":13049,"count":154}],"isBlockCoverage":true},{"functionName":"requireBuiltin","ranges":[{"startOffset":13245,"endOffset":13610,"count":2095},{"startOffset":13296,"endOffset":13327,"count":5},{"startOffset":13327,"endOffset":13512,"count":2090},{"startOffset":13512,"endOffset":13567,"count":0},{"startOffset":13567,"endOffset":13609,"count":2090}],"isBlockCoverage":true},{"functionName":"requireWithFallbackInDeps","ranges":[{"startOffset":13726,"endOffset":14002,"count":0}],"isBlockCoverage":false},{"functionName":"setupPrepareStackTrace","ranges":[{"startOffset":14004,"endOffset":14600,"count":1}],"isBlockCoverage":true}]},{"scriptId":"82","url":"node:internal/errors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":64999,"count":1}],"isBlockCoverage":false},{"functionName":"prepareStackTrace","ranges":[{"startOffset":2135,"endOffset":3623,"count":0}],"isBlockCoverage":false},{"functionName":"maybeOverridePrepareStackTrace","ranges":[{"startOffset":3665,"endOffset":4372,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4418,"endOffset":4964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5008,"endOffset":5207,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtil","ranges":[{"startOffset":5276,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtilInspect","ranges":[{"startOffset":5409,"endOffset":5537,"count":0}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":5555,"endOffset":5655,"count":0}],"isBlockCoverage":false},{"functionName":"lazyBuffer","ranges":[{"startOffset":5669,"endOffset":5750,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorStackTraceLimitWritable","ranges":[{"startOffset":5752,"endOffset":6259,"count":0}],"isBlockCoverage":false},{"functionName":"inspectWithNoCustomRetry","ranges":[{"startOffset":6261,"endOffset":6507,"count":0}],"isBlockCoverage":false},{"functionName":"SystemError","ranges":[{"startOffset":7009,"endOffset":9985,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":9989,"endOffset":10064,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10068,"endOffset":10258,"count":0}],"isBlockCoverage":false},{"functionName":"makeSystemErrorWithCode","ranges":[{"startOffset":10262,"endOffset":10407,"count":12}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10353,"endOffset":10400,"count":0}],"isBlockCoverage":false},{"functionName":"makeNodeErrorWithCode","ranges":[{"startOffset":10409,"endOffset":11467,"count":267}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10462,"endOffset":11464,"count":0}],"isBlockCoverage":false},{"functionName":"hideStackFrames","ranges":[{"startOffset":11629,"endOffset":11894,"count":49}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":12006,"endOffset":12514,"count":273},{"startOffset":12248,"endOffset":12293,"count":12},{"startOffset":12293,"endOffset":12347,"count":261},{"startOffset":12382,"endOffset":12492,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12409,"endOffset":12486,"count":6}],"isBlockCoverage":true},{"functionName":"getMessage","ranges":[{"startOffset":12516,"endOffset":13389,"count":0}],"isBlockCoverage":false},{"functionName":"lazyUv","ranges":[{"startOffset":13407,"endOffset":13487,"count":0}],"isBlockCoverage":false},{"functionName":"uvErrmapGet","ranges":[{"startOffset":13544,"endOffset":13696,"count":0}],"isBlockCoverage":false},{"functionName":"captureLargerStackTrace","ranges":[{"startOffset":13749,"endOffset":14151,"count":0}],"isBlockCoverage":false},{"functionName":"uvException","ranges":[{"startOffset":14478,"endOffset":15719,"count":0}],"isBlockCoverage":false},{"functionName":"uvExceptionWithHostPort","ranges":[{"startOffset":16082,"endOffset":17071,"count":0}],"isBlockCoverage":false},{"functionName":"errnoException","ranges":[{"startOffset":17291,"endOffset":18155,"count":0}],"isBlockCoverage":false},{"functionName":"exceptionWithHostPort","ranges":[{"startOffset":18559,"endOffset":19847,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20050,"endOffset":21591,"count":0}],"isBlockCoverage":false},{"functionName":"connResetException","ranges":[{"startOffset":21595,"endOffset":21750,"count":0}],"isBlockCoverage":false},{"functionName":"isStackOverflowError","ranges":[{"startOffset":22037,"endOffset":22415,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericalSeparator","ranges":[{"startOffset":22496,"endOffset":22764,"count":0}],"isBlockCoverage":false},{"functionName":"beforeInspector","ranges":[{"startOffset":23043,"endOffset":23434,"count":0}],"isBlockCoverage":false},{"functionName":"afterInspector","ranges":[{"startOffset":23438,"endOffset":24721,"count":0}],"isBlockCoverage":false},{"functionName":"setArrowMessage","ranges":[{"startOffset":24876,"endOffset":24975,"count":0}],"isBlockCoverage":false},{"functionName":"hideInternalStackFrames","ranges":[{"startOffset":25030,"endOffset":25508,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":25741,"endOffset":26050,"count":0}],"isBlockCoverage":false},{"functionName":"genericNodeError","ranges":[{"startOffset":26305,"endOffset":26497,"count":0}],"isBlockCoverage":false},{"functionName":"determineSpecificType","ranges":[{"startOffset":26618,"endOffset":27237,"count":0}],"isBlockCoverage":false},{"functionName":"formatList","ranges":[{"startOffset":27559,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29857,"endOffset":30021,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33056,"endOffset":33171,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33460,"endOffset":33554,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":36457,"endOffset":36685,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38465,"endOffset":38683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41350,"endOffset":41650,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41692,"endOffset":41836,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41879,"endOffset":44000,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44041,"endOffset":44389,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44697,"endOffset":44860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45517,"endOffset":45696,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45744,"endOffset":45879,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45925,"endOffset":46073,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":46117,"endOffset":46891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47179,"endOffset":47366,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47419,"endOffset":47598,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47642,"endOffset":47819,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48276,"endOffset":48492,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48536,"endOffset":48824,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":49387,"endOffset":49860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":50646,"endOffset":51087,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":51181,"endOffset":51400,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":52546,"endOffset":53244,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53295,"endOffset":53487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53536,"endOffset":53852,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54094,"endOffset":54393,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54577,"endOffset":56023,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":56475,"endOffset":56757,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58280,"endOffset":58354,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58390,"endOffset":58713,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58759,"endOffset":58833,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58865,"endOffset":59269,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59321,"endOffset":59499,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59770,"endOffset":59939,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61637,"endOffset":61768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62015,"endOffset":62172,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62362,"endOffset":62564,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62610,"endOffset":62933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63572,"endOffset":63640,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64043,"endOffset":64156,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64350,"endOffset":64737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"83","url":"node:internal/bootstrap/node","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13817,"count":1}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3830,"endOffset":3880,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3886,"endOffset":3944,"count":3},{"startOffset":3930,"endOffset":3933,"count":1},{"startOffset":3934,"endOffset":3937,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4086,"endOffset":4122,"count":8}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":4128,"endOffset":4547,"count":2},{"startOffset":4187,"endOffset":4469,"count":1},{"startOffset":4252,"endOffset":4266,"count":0},{"startOffset":4267,"endOffset":4315,"count":0},{"startOffset":4317,"endOffset":4352,"count":0},{"startOffset":4469,"endOffset":4518,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4769,"endOffset":5033,"count":409}],"isBlockCoverage":true},{"functionName":"process.openStdin","ranges":[{"startOffset":6409,"endOffset":6479,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7965,"endOffset":8127,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8229,"endOffset":8425,"count":1}],"isBlockCoverage":true},{"functionName":"get cached_builtins","ranges":[{"startOffset":9173,"endOffset":9240,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11734,"endOffset":11784,"count":6}],"isBlockCoverage":true},{"functionName":"setupProcessObject","ranges":[{"startOffset":12107,"endOffset":12912,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":12772,"endOffset":12808,"count":119}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":12814,"endOffset":12856,"count":0}],"isBlockCoverage":false},{"functionName":"setupGlobalProxy","ranges":[{"startOffset":12914,"endOffset":13151,"count":1}],"isBlockCoverage":true},{"functionName":"setupBuffer","ranges":[{"startOffset":13153,"endOffset":13816,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13678,"endOffset":13713,"count":3}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":13719,"endOffset":13760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"84","url":"node:internal/timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":19560,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4385,"endOffset":4410,"count":1}],"isBlockCoverage":true},{"functionName":"initAsyncResource","ranges":[{"startOffset":5548,"endOffset":5826,"count":2},{"startOffset":5774,"endOffset":5824,"count":0}],"isBlockCoverage":true},{"functionName":"Timeout","ranges":[{"startOffset":5932,"endOffset":6978,"count":1},{"startOffset":6080,"endOffset":6432,"count":0},{"startOffset":6789,"endOffset":6796,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7059,"endOffset":7255,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":7259,"endOffset":7368,"count":2},{"startOffset":7299,"endOffset":7312,"count":0}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":7372,"endOffset":7511,"count":3}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":7515,"endOffset":7652,"count":2}],"isBlockCoverage":true},{"functionName":"hasRef","ranges":[{"startOffset":7656,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"TimersList","ranges":[{"startOffset":7720,"endOffset":8026,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8107,"endOffset":8303,"count":0}],"isBlockCoverage":false},{"functionName":"ImmediateList","ranges":[{"startOffset":8386,"endOffset":8449,"count":2}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":8601,"endOffset":8782,"count":1},{"startOffset":8644,"endOffset":8719,"count":0}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":8932,"endOffset":9293,"count":0}],"isBlockCoverage":false},{"functionName":"incRefCount","ranges":[{"startOffset":9403,"endOffset":9569,"count":3}],"isBlockCoverage":true},{"functionName":"decRefCount","ranges":[{"startOffset":9571,"endOffset":9738,"count":3}],"isBlockCoverage":true},{"functionName":"active","ranges":[{"startOffset":9821,"endOffset":9875,"count":0}],"isBlockCoverage":false},{"functionName":"unrefActive","ranges":[{"startOffset":10022,"endOffset":10082,"count":2}],"isBlockCoverage":true},{"functionName":"insertGuarded","ranges":[{"startOffset":10303,"endOffset":10819,"count":2},{"startOffset":10427,"endOffset":10434,"count":0},{"startOffset":10551,"endOffset":10625,"count":0},{"startOffset":10646,"endOffset":10687,"count":0},{"startOffset":10722,"endOffset":10793,"count":0}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":10887,"endOffset":11626,"count":3},{"startOffset":11218,"endOffset":11599,"count":1}],"isBlockCoverage":true},{"functionName":"setUnrefTimeout","ranges":[{"startOffset":11628,"endOffset":11886,"count":0}],"isBlockCoverage":false},{"functionName":"getTimerDuration","ranges":[{"startOffset":11953,"endOffset":12481,"count":0}],"isBlockCoverage":false},{"functionName":"compareTimersLists","ranges":[{"startOffset":12483,"endOffset":12688,"count":0}],"isBlockCoverage":false},{"functionName":"setPosition","ranges":[{"startOffset":12690,"endOffset":12761,"count":1}],"isBlockCoverage":true},{"functionName":"getTimerCallbacks","ranges":[{"startOffset":12763,"endOffset":18141,"count":1}],"isBlockCoverage":true},{"functionName":"processImmediate","ranges":[{"startOffset":13075,"endOffset":15008,"count":1},{"startOffset":13154,"endOffset":13178,"count":0},{"startOffset":13615,"endOffset":13630,"count":0},{"startOffset":13947,"endOffset":14043,"count":0},{"startOffset":14605,"endOffset":14661,"count":0},{"startOffset":14763,"endOffset":14784,"count":0},{"startOffset":14935,"endOffset":14964,"count":0}],"isBlockCoverage":true},{"functionName":"processTimers","ranges":[{"startOffset":15013,"endOffset":15503,"count":0}],"isBlockCoverage":false},{"functionName":"listOnTimeout","ranges":[{"startOffset":15507,"endOffset":18081,"count":0}],"isBlockCoverage":false},{"functionName":"Immediate","ranges":[{"startOffset":18163,"endOffset":18485,"count":1}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":18489,"endOffset":18755,"count":1}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":18759,"endOffset":19027,"count":0}],"isBlockCoverage":false},{"functionName":"hasRef","ranges":[{"startOffset":19031,"endOffset":19072,"count":0}],"isBlockCoverage":false}]},{"scriptId":"85","url":"node:internal/async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20082,"count":1}],"isBlockCoverage":false},{"functionName":"useDomainTrampoline","ranges":[{"startOffset":5108,"endOffset":5162,"count":0}],"isBlockCoverage":false},{"functionName":"callbackTrampoline","ranges":[{"startOffset":5164,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"executionAsyncResource","ranges":[{"startOffset":5745,"endOffset":6243,"count":0}],"isBlockCoverage":false},{"functionName":"inspectExceptionValue","ranges":[{"startOffset":6245,"endOffset":6372,"count":0}],"isBlockCoverage":false},{"functionName":"fatalError","ranges":[{"startOffset":6433,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"lookupPublicResource","ranges":[{"startOffset":6837,"endOffset":7186,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitNative","ranges":[{"startOffset":7377,"endOffset":8510,"count":0}],"isBlockCoverage":false},{"functionName":"emitHook","ranges":[{"startOffset":8611,"endOffset":9600,"count":0}],"isBlockCoverage":false},{"functionName":"emitHookFactory","ranges":[{"startOffset":9602,"endOffset":9866,"count":4}],"isBlockCoverage":true},{"functionName":"getHookArrays","ranges":[{"startOffset":9895,"endOffset":10385,"count":0}],"isBlockCoverage":false},{"functionName":"storeActiveHooks","ranges":[{"startOffset":10388,"endOffset":10688,"count":0}],"isBlockCoverage":false},{"functionName":"copyHooks","ranges":[{"startOffset":10690,"endOffset":10955,"count":0}],"isBlockCoverage":false},{"functionName":"restoreActiveHooks","ranges":[{"startOffset":11070,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"trackPromise","ranges":[{"startOffset":11277,"endOffset":11707,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHook","ranges":[{"startOffset":11709,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHookWithDestroyTracking","ranges":[{"startOffset":11955,"endOffset":12091,"count":0}],"isBlockCoverage":false},{"functionName":"destroyTracking","ranges":[{"startOffset":12093,"endOffset":12256,"count":0}],"isBlockCoverage":false},{"functionName":"promiseBeforeHook","ranges":[{"startOffset":12258,"endOffset":12469,"count":0}],"isBlockCoverage":false},{"functionName":"promiseAfterHook","ranges":[{"startOffset":12471,"endOffset":13038,"count":0}],"isBlockCoverage":false},{"functionName":"promiseResolveHook","ranges":[{"startOffset":13040,"endOffset":13186,"count":0}],"isBlockCoverage":false},{"functionName":"enableHooks","ranges":[{"startOffset":13217,"endOffset":13323,"count":0}],"isBlockCoverage":false},{"functionName":"updatePromiseHookMode","ranges":[{"startOffset":13346,"endOffset":13925,"count":0}],"isBlockCoverage":false},{"functionName":"disableHooks","ranges":[{"startOffset":13927,"endOffset":14230,"count":0}],"isBlockCoverage":false},{"functionName":"disablePromiseHookIfNecessary","ranges":[{"startOffset":14232,"endOffset":14348,"count":0}],"isBlockCoverage":false},{"functionName":"newAsyncId","ranges":[{"startOffset":14549,"endOffset":14619,"count":4}],"isBlockCoverage":true},{"functionName":"getOrSetAsyncId","ranges":[{"startOffset":14621,"endOffset":14811,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultTriggerAsyncId","ranges":[{"startOffset":14994,"endOffset":15284,"count":4},{"startOffset":15250,"endOffset":15283,"count":0}],"isBlockCoverage":true},{"functionName":"clearDefaultTriggerAsyncId","ranges":[{"startOffset":15287,"endOffset":15376,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTriggerAsyncIdScope","ranges":[{"startOffset":15601,"endOffset":16094,"count":0}],"isBlockCoverage":false},{"functionName":"hasHooks","ranges":[{"startOffset":16096,"endOffset":16159,"count":16}],"isBlockCoverage":true},{"functionName":"enabledHooksExist","ranges":[{"startOffset":16161,"endOffset":16220,"count":3}],"isBlockCoverage":true},{"functionName":"initHooksExist","ranges":[{"startOffset":16222,"endOffset":16277,"count":4}],"isBlockCoverage":true},{"functionName":"afterHooksExist","ranges":[{"startOffset":16279,"endOffset":16336,"count":0}],"isBlockCoverage":false},{"functionName":"destroyHooksExist","ranges":[{"startOffset":16338,"endOffset":16399,"count":3}],"isBlockCoverage":true},{"functionName":"promiseResolveHooksExist","ranges":[{"startOffset":16401,"endOffset":16476,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitScript","ranges":[{"startOffset":16479,"endOffset":16887,"count":0}],"isBlockCoverage":false},{"functionName":"emitBeforeScript","ranges":[{"startOffset":16890,"endOffset":17066,"count":3},{"startOffset":17038,"endOffset":17064,"count":0}],"isBlockCoverage":true},{"functionName":"emitAfterScript","ranges":[{"startOffset":17069,"endOffset":17189,"count":3},{"startOffset":17133,"endOffset":17158,"count":0}],"isBlockCoverage":true},{"functionName":"emitDestroyScript","ranges":[{"startOffset":17192,"endOffset":17402,"count":0}],"isBlockCoverage":false},{"functionName":"hasAsyncIdStack","ranges":[{"startOffset":17405,"endOffset":17468,"count":0}],"isBlockCoverage":false},{"functionName":"pushAsyncContext","ranges":[{"startOffset":17534,"endOffset":18104,"count":3},{"startOffset":17754,"endOffset":17804,"count":0}],"isBlockCoverage":true},{"functionName":"popAsyncContext","ranges":[{"startOffset":18169,"endOffset":18780,"count":3},{"startOffset":18285,"endOffset":18298,"count":0},{"startOffset":18377,"endOffset":18483,"count":0}],"isBlockCoverage":true},{"functionName":"executionAsyncId","ranges":[{"startOffset":18783,"endOffset":18859,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":18861,"endOffset":18933,"count":0}],"isBlockCoverage":false}]},{"scriptId":"86","url":"node:internal/validators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15153,"count":1}],"isBlockCoverage":false},{"functionName":"isInt32","ranges":[{"startOffset":835,"endOffset":894,"count":379}],"isBlockCoverage":true},{"functionName":"isUint32","ranges":[{"startOffset":946,"endOffset":1008,"count":0}],"isBlockCoverage":false},{"functionName":"parseFileMode","ranges":[{"startOffset":1629,"endOffset":1940,"count":60},{"startOffset":1722,"endOffset":1890,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2186,"endOffset":2567,"count":3},{"startOffset":2306,"endOffset":2360,"count":0},{"startOffset":2400,"endOffset":2454,"count":0},{"startOffset":2497,"endOffset":2563,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2811,"endOffset":3274,"count":2},{"startOffset":2983,"endOffset":3051,"count":0},{"startOffset":3085,"endOffset":3153,"count":0},{"startOffset":3190,"endOffset":3270,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3512,"endOffset":3944,"count":800},{"startOffset":3582,"endOffset":3646,"count":0},{"startOffset":3678,"endOffset":3742,"count":0},{"startOffset":3766,"endOffset":3769,"count":0},{"startOffset":3866,"endOffset":3942,"count":0}],"isBlockCoverage":true},{"functionName":"validateString","ranges":[{"startOffset":4097,"endOffset":4229,"count":12598},{"startOffset":4173,"endOffset":4227,"count":0}],"isBlockCoverage":true},{"functionName":"validateNumber","ranges":[{"startOffset":4430,"endOffset":4898,"count":62},{"startOffset":4528,"endOffset":4582,"count":0},{"startOffset":4603,"endOffset":4617,"count":61},{"startOffset":4635,"endOffset":4649,"count":60},{"startOffset":4674,"endOffset":4688,"count":1},{"startOffset":4690,"endOffset":4711,"count":61},{"startOffset":4714,"endOffset":4896,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5084,"endOffset":5417,"count":0}],"isBlockCoverage":false},{"functionName":"validateBoolean","ranges":[{"startOffset":5573,"endOffset":5708,"count":371},{"startOffset":5651,"endOffset":5706,"count":0}],"isBlockCoverage":true},{"functionName":"getOwnPropertyValueOrDefault","ranges":[{"startOffset":5820,"endOffset":6001,"count":48},{"startOffset":5961,"endOffset":5979,"count":13},{"startOffset":5980,"endOffset":5998,"count":35}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6266,"endOffset":6821,"count":16},{"startOffset":6571,"endOffset":6588,"count":13},{"startOffset":6614,"endOffset":6636,"count":0},{"startOffset":6676,"endOffset":6746,"count":0},{"startOffset":6749,"endOffset":6817,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7376,"endOffset":7556,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7775,"endOffset":8053,"count":740},{"startOffset":7837,"endOffset":7900,"count":0},{"startOffset":7933,"endOffset":8051,"count":0}],"isBlockCoverage":true},{"functionName":"validateStringArray","ranges":[{"startOffset":8218,"endOffset":8387,"count":370},{"startOffset":8333,"endOffset":8385,"count":1850}],"isBlockCoverage":true},{"functionName":"validateBooleanArray","ranges":[{"startOffset":8553,"endOffset":8724,"count":0}],"isBlockCoverage":false},{"functionName":"validateAbortSignalArray","ranges":[{"startOffset":8902,"endOffset":9251,"count":0}],"isBlockCoverage":false},{"functionName":"validateSignalName","ranges":[{"startOffset":9363,"endOffset":9736,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9948,"endOffset":10178,"count":1},{"startOffset":10013,"endOffset":10176,"count":0}],"isBlockCoverage":true},{"functionName":"validateEncoding","ranges":[{"startOffset":10242,"endOffset":10576,"count":0}],"isBlockCoverage":false},{"functionName":"validatePort","ranges":[{"startOffset":10838,"endOffset":11217,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11385,"endOffset":11602,"count":13},{"startOffset":11432,"endOffset":11528,"count":0},{"startOffset":11530,"endOffset":11600,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11802,"endOffset":11918,"count":393},{"startOffset":11860,"endOffset":11916,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12133,"endOffset":12275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12479,"endOffset":12588,"count":0}],"isBlockCoverage":false},{"functionName":"validateUnion","ranges":[{"startOffset":12681,"endOffset":12868,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderFormat","ranges":[{"startOffset":13296,"endOffset":13602,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13650,"endOffset":13860,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderValue","ranges":[{"startOffset":13914,"endOffset":14597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"87","url":"node:internal/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":24956,"count":1}],"isBlockCoverage":false},{"functionName":"toUSVString","ranges":[{"startOffset":1790,"endOffset":2102,"count":107},{"startOffset":2059,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUv","ranges":[{"startOffset":2120,"endOffset":2200,"count":0}],"isBlockCoverage":false},{"functionName":"removeColors","ranges":[{"startOffset":2202,"endOffset":2287,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":2289,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"getDeprecationWarningEmitter","ranges":[{"startOffset":2696,"endOffset":3345,"count":30}],"isBlockCoverage":true},{"functionName":"shouldEmitWarning","ranges":[{"startOffset":2795,"endOffset":2805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2842,"endOffset":3342,"count":0}],"isBlockCoverage":false},{"functionName":"isPendingDeprecation","ranges":[{"startOffset":3347,"endOffset":3475,"count":0}],"isBlockCoverage":false},{"functionName":"pendingDeprecate","ranges":[{"startOffset":3642,"endOffset":3939,"count":3}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":3811,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"deprecate","ranges":[{"startOffset":4094,"endOffset":5092,"count":27},{"startOffset":4181,"endOffset":4201,"count":0},{"startOffset":4290,"endOffset":4344,"count":1},{"startOffset":4376,"endOffset":4405,"count":26},{"startOffset":4846,"endOffset":5068,"count":26}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":4518,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"decorateErrorStack","ranges":[{"startOffset":5094,"endOffset":5360,"count":0}],"isBlockCoverage":false},{"functionName":"assertCrypto","ranges":[{"startOffset":5362,"endOffset":5436,"count":1},{"startOffset":5408,"endOffset":5434,"count":0}],"isBlockCoverage":true},{"functionName":"normalizeEncoding","ranges":[{"startOffset":5615,"endOffset":5746,"count":377},{"startOffset":5685,"endOffset":5703,"count":0},{"startOffset":5719,"endOffset":5745,"count":0}],"isBlockCoverage":true},{"functionName":"slowCases","ranges":[{"startOffset":5748,"endOffset":7499,"count":0}],"isBlockCoverage":false},{"functionName":"emitExperimentalWarning","ranges":[{"startOffset":7501,"endOffset":7767,"count":0}],"isBlockCoverage":false},{"functionName":"filterDuplicateStrings","ranges":[{"startOffset":7769,"endOffset":8108,"count":0}],"isBlockCoverage":false},{"functionName":"cachedResult","ranges":[{"startOffset":8110,"endOffset":8266,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8161,"endOffset":8263,"count":0}],"isBlockCoverage":false},{"functionName":"createClassWrapper","ranges":[{"startOffset":8531,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"getSignalsToNamesMapping","ranges":[{"startOffset":8960,"endOffset":9239,"count":0}],"isBlockCoverage":false},{"functionName":"convertToValidSignal","ranges":[{"startOffset":9241,"endOffset":9562,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorOf","ranges":[{"startOffset":9564,"endOffset":9910,"count":0}],"isBlockCoverage":false},{"functionName":"getCWDURL","ranges":[{"startOffset":10233,"endOffset":10743,"count":1},{"startOffset":10561,"endOffset":10610,"count":0}],"isBlockCoverage":true},{"functionName":"getSystemErrorName","ranges":[{"startOffset":10745,"endOffset":10874,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorMap","ranges":[{"startOffset":10876,"endOffset":10941,"count":0}],"isBlockCoverage":false},{"functionName":"promisify","ranges":[{"startOffset":11109,"endOffset":12970,"count":6},{"startOffset":11229,"endOffset":11285,"count":1},{"startOffset":11372,"endOffset":11649,"count":1},{"startOffset":11649,"endOffset":12756,"count":5},{"startOffset":12756,"endOffset":12918,"count":14},{"startOffset":12918,"endOffset":12969,"count":5}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":11849,"endOffset":12368,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13065,"endOffset":13387,"count":0}],"isBlockCoverage":false},{"functionName":"spliceOne","ranges":[{"startOffset":13528,"endOffset":13655,"count":0}],"isBlockCoverage":false},{"functionName":"isInsideNodeModules","ranges":[{"startOffset":13737,"endOffset":14975,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":14977,"endOffset":15150,"count":0}],"isBlockCoverage":false},{"functionName":"sleep","ranges":[{"startOffset":15173,"endOffset":15388,"count":0}],"isBlockCoverage":false},{"functionName":"createDeferredPromise","ranges":[{"startOffset":15390,"endOffset":15584,"count":0}],"isBlockCoverage":false},{"functionName":"defineOperation","ranges":[{"startOffset":15644,"endOffset":15845,"count":8}],"isBlockCoverage":true},{"functionName":"exposeInterface","ranges":[{"startOffset":15897,"endOffset":16117,"count":5}],"isBlockCoverage":true},{"functionName":"exposeNamespace","ranges":[{"startOffset":16169,"endOffset":16389,"count":1}],"isBlockCoverage":true},{"functionName":"exposeGetterAndSetter","ranges":[{"startOffset":16391,"endOffset":16614,"count":1}],"isBlockCoverage":true},{"functionName":"defineLazyProperties","ranges":[{"startOffset":16616,"endOffset":17549,"count":22},{"startOffset":16779,"endOffset":17548,"count":51}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":16835,"endOffset":16978,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17081,"endOffset":17277,"count":12}],"isBlockCoverage":true},{"functionName":"defineReplaceableLazyAttribute","ranges":[{"startOffset":17551,"endOffset":18451,"count":2},{"startOffset":18419,"endOffset":18424,"count":1},{"startOffset":18425,"endOffset":18436,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17763,"endOffset":17999,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":18104,"endOffset":18175,"count":0}],"isBlockCoverage":false},{"functionName":"exposeLazyInterfaces","ranges":[{"startOffset":18453,"endOffset":18553,"count":14}],"isBlockCoverage":true},{"functionName":"lazyDOMExceptionClass","ranges":[{"startOffset":18604,"endOffset":18700,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18744,"endOffset":18872,"count":0}],"isBlockCoverage":false},{"functionName":"filterOwnProperties","ranges":[{"startOffset":19057,"endOffset":19329,"count":0}],"isBlockCoverage":false},{"functionName":"setOwnProperty","ranges":[{"startOffset":19497,"endOffset":19687,"count":754}],"isBlockCoverage":true},{"functionName":"getInternalGlobal","ranges":[{"startOffset":19709,"endOffset":19984,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeExec","ranges":[{"startOffset":19986,"endOffset":20199,"count":0}],"isBlockCoverage":false},{"functionName":"getCrossRelmRegex","ranges":[{"startOffset":20245,"endOffset":21036,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolReplace","ranges":[{"startOffset":21038,"endOffset":21192,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolSplit","ranges":[{"startOffset":21194,"endOffset":21344,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayBufferDetached","ranges":[{"startOffset":21347,"endOffset":21507,"count":0}],"isBlockCoverage":false},{"functionName":"getLazy","ranges":[{"startOffset":21708,"endOffset":21920,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21789,"endOffset":21917,"count":2326},{"startOffset":21833,"endOffset":21895,"count":4}],"isBlockCoverage":true},{"functionName":"setupCoverageHooks","ranges":[{"startOffset":22045,"endOffset":22722,"count":1},{"startOffset":22515,"endOffset":22692,"count":0}],"isBlockCoverage":true},{"functionName":"guessHandleType","ranges":[{"startOffset":22795,"endOffset":22892,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22894,"endOffset":23438,"count":5}],"isBlockCoverage":false},{"functionName":"WeakReference","ranges":[{"startOffset":22969,"endOffset":23036,"count":5}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":23040,"endOffset":23258,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":23262,"endOffset":23390,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23394,"endOffset":23436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"88","url":"node:internal/options","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1922,"count":1}],"isBlockCoverage":false},{"functionName":"getCLIOptionsFromBinding","ranges":[{"startOffset":464,"endOffset":598,"count":871},{"startOffset":521,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"getAliasesFromBinding","ranges":[{"startOffset":600,"endOffset":731,"count":1}],"isBlockCoverage":true},{"functionName":"getEmbedderOptions","ranges":[{"startOffset":733,"endOffset":877,"count":4},{"startOffset":789,"endOffset":849,"count":1}],"isBlockCoverage":true},{"functionName":"refreshOptions","ranges":[{"startOffset":879,"endOffset":960,"count":1}],"isBlockCoverage":true},{"functionName":"getOptionValue","ranges":[{"startOffset":962,"endOffset":1228,"count":870},{"startOffset":1084,"endOffset":1185,"count":8},{"startOffset":1185,"endOffset":1225,"count":862}],"isBlockCoverage":true},{"functionName":"getAllowUnauthorized","ranges":[{"startOffset":1230,"endOffset":1695,"count":0}],"isBlockCoverage":false},{"functionName":"get options","ranges":[{"startOffset":1718,"endOffset":1776,"count":1}],"isBlockCoverage":true},{"functionName":"get aliases","ranges":[{"startOffset":1780,"endOffset":1835,"count":1}],"isBlockCoverage":true}]},{"scriptId":"89","url":"node:internal/util/types","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2469,"count":1}],"isBlockCoverage":false},{"functionName":"isTypedArray","ranges":[{"startOffset":131,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"isUint8Array","ranges":[{"startOffset":236,"endOffset":342,"count":989}],"isBlockCoverage":true},{"functionName":"isUint8ClampedArray","ranges":[{"startOffset":344,"endOffset":464,"count":0}],"isBlockCoverage":false},{"functionName":"isUint16Array","ranges":[{"startOffset":466,"endOffset":574,"count":0}],"isBlockCoverage":false},{"functionName":"isUint32Array","ranges":[{"startOffset":576,"endOffset":684,"count":0}],"isBlockCoverage":false},{"functionName":"isInt8Array","ranges":[{"startOffset":686,"endOffset":790,"count":0}],"isBlockCoverage":false},{"functionName":"isInt16Array","ranges":[{"startOffset":792,"endOffset":898,"count":0}],"isBlockCoverage":false},{"functionName":"isInt32Array","ranges":[{"startOffset":900,"endOffset":1006,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat32Array","ranges":[{"startOffset":1008,"endOffset":1118,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat64Array","ranges":[{"startOffset":1120,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"isBigInt64Array","ranges":[{"startOffset":1232,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"isBigUint64Array","ranges":[{"startOffset":1346,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":1932,"endOffset":2147,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":2243,"endOffset":2458,"count":0}],"isBlockCoverage":false}]},{"scriptId":"90","url":"node:internal/linkedlist","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1128,"count":1}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":15,"endOffset":103,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":133,"endOffset":225,"count":0}],"isBlockCoverage":false},{"functionName":"remove","ranges":[{"startOffset":260,"endOffset":487,"count":3}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":543,"endOffset":995,"count":3},{"startOffset":594,"endOffset":611,"count":0}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":997,"endOffset":1057,"count":0}],"isBlockCoverage":false}]},{"scriptId":"91","url":"node:internal/priority_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2573,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":395,"endOffset":2571,"count":1}],"isBlockCoverage":false},{"functionName":"#compare","ranges":[{"startOffset":430,"endOffset":445,"count":0}],"isBlockCoverage":false},{"functionName":"PriorityQueue","ranges":[{"startOffset":504,"endOffset":688,"count":1}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":692,"endOffset":875,"count":1},{"startOffset":826,"endOffset":843,"count":0}],"isBlockCoverage":true},{"functionName":"peek","ranges":[{"startOffset":879,"endOffset":917,"count":0}],"isBlockCoverage":false},{"functionName":"percolateDown","ranges":[{"startOffset":921,"endOffset":1585,"count":0}],"isBlockCoverage":false},{"functionName":"percolateUp","ranges":[{"startOffset":1589,"endOffset":2077,"count":1},{"startOffset":1764,"endOffset":1986,"count":0}],"isBlockCoverage":true},{"functionName":"removeAt","ranges":[{"startOffset":2081,"endOffset":2411,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":2415,"endOffset":2569,"count":0}],"isBlockCoverage":false}]},{"scriptId":"92","url":"node:internal/util/inspect","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":81525,"count":1}],"isBlockCoverage":false},{"functionName":"pathToFileUrlHref","ranges":[{"startOffset":3211,"endOffset":3345,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3454,"endOffset":3515,"count":62}],"isBlockCoverage":true},{"functionName":"isUndetectableObject","ranges":[{"startOffset":3611,"endOffset":3661,"count":0}],"isBlockCoverage":false},{"functionName":"getUserOptions","ranges":[{"startOffset":7144,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":8980,"endOffset":11006,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11117,"endOffset":11162,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":11166,"endOffset":11281,"count":0}],"isBlockCoverage":false},{"functionName":"defineColorAlias","ranges":[{"startOffset":13005,"endOffset":13269,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13121,"endOffset":13161,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":13167,"endOffset":13213,"count":0}],"isBlockCoverage":false},{"functionName":"addQuotes","ranges":[{"startOffset":14281,"endOffset":14439,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":14441,"endOffset":14616,"count":0}],"isBlockCoverage":false},{"functionName":"strEscape","ranges":[{"startOffset":14728,"endOffset":16882,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeWithColor","ranges":[{"startOffset":16884,"endOffset":17150,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeNoColor","ranges":[{"startOffset":17152,"endOffset":17198,"count":0}],"isBlockCoverage":false},{"functionName":"getEmptyFormatArray","ranges":[{"startOffset":17277,"endOffset":17324,"count":0}],"isBlockCoverage":false},{"functionName":"isInstanceof","ranges":[{"startOffset":17326,"endOffset":17444,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorName","ranges":[{"startOffset":17446,"endOffset":18715,"count":0}],"isBlockCoverage":false},{"functionName":"addPrototypeProperties","ranges":[{"startOffset":18902,"endOffset":20735,"count":0}],"isBlockCoverage":false},{"functionName":"getPrefix","ranges":[{"startOffset":20737,"endOffset":21124,"count":0}],"isBlockCoverage":false},{"functionName":"getKeys","ranges":[{"startOffset":21161,"endOffset":22152,"count":0}],"isBlockCoverage":false},{"functionName":"getCtxStyle","ranges":[{"startOffset":22154,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"formatProxy","ranges":[{"startOffset":22419,"endOffset":22869,"count":0}],"isBlockCoverage":false},{"functionName":"formatValue","ranges":[{"startOffset":23051,"endOffset":25808,"count":0}],"isBlockCoverage":false},{"functionName":"formatRaw","ranges":[{"startOffset":25810,"endOffset":36655,"count":0}],"isBlockCoverage":false},{"functionName":"getIteratorBraces","ranges":[{"startOffset":36657,"endOffset":36839,"count":0}],"isBlockCoverage":false},{"functionName":"getBoxedBase","ranges":[{"startOffset":36841,"endOffset":38029,"count":0}],"isBlockCoverage":false},{"functionName":"getClassBase","ranges":[{"startOffset":38031,"endOffset":38631,"count":0}],"isBlockCoverage":false},{"functionName":"getFunctionBase","ranges":[{"startOffset":38633,"endOffset":39866,"count":0}],"isBlockCoverage":false},{"functionName":"identicalSequenceRange","ranges":[{"startOffset":39868,"endOffset":40484,"count":0}],"isBlockCoverage":false},{"functionName":"getStackString","ranges":[{"startOffset":40486,"endOffset":40596,"count":0}],"isBlockCoverage":false},{"functionName":"getStackFrames","ranges":[{"startOffset":40598,"endOffset":41489,"count":0}],"isBlockCoverage":false},{"functionName":"improveStack","ranges":[{"startOffset":41491,"endOffset":42696,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateErrorKeys","ranges":[{"startOffset":42698,"endOffset":43121,"count":0}],"isBlockCoverage":false},{"functionName":"markNodeModules","ranges":[{"startOffset":43123,"endOffset":43593,"count":0}],"isBlockCoverage":false},{"functionName":"markCwd","ranges":[{"startOffset":43595,"endOffset":44572,"count":0}],"isBlockCoverage":false},{"functionName":"safeGetCWD","ranges":[{"startOffset":44574,"endOffset":44724,"count":0}],"isBlockCoverage":false},{"functionName":"formatError","ranges":[{"startOffset":44726,"endOffset":47121,"count":0}],"isBlockCoverage":false},{"functionName":"groupArrayElements","ranges":[{"startOffset":47123,"endOffset":51462,"count":0}],"isBlockCoverage":false},{"functionName":"handleMaxCallStackSize","ranges":[{"startOffset":51464,"endOffset":51853,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparator","ranges":[{"startOffset":51855,"endOffset":52257,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparatorEnd","ranges":[{"startOffset":52259,"endOffset":52558,"count":0}],"isBlockCoverage":false},{"functionName":"remainingText","ranges":[{"startOffset":52582,"endOffset":52652,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumber","ranges":[{"startOffset":52655,"endOffset":53443,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigInt","ranges":[{"startOffset":53445,"endOffset":53661,"count":0}],"isBlockCoverage":false},{"functionName":"formatPrimitive","ranges":[{"startOffset":53663,"endOffset":55068,"count":0}],"isBlockCoverage":false},{"functionName":"formatNamespaceObject","ranges":[{"startOffset":55070,"endOffset":56222,"count":0}],"isBlockCoverage":false},{"functionName":"formatSpecialArray","ranges":[{"startOffset":56269,"endOffset":57529,"count":0}],"isBlockCoverage":false},{"functionName":"formatArrayBuffer","ranges":[{"startOffset":57531,"endOffset":58179,"count":0}],"isBlockCoverage":false},{"functionName":"formatArray","ranges":[{"startOffset":58181,"endOffset":58780,"count":0}],"isBlockCoverage":false},{"functionName":"formatTypedArray","ranges":[{"startOffset":58782,"endOffset":59811,"count":0}],"isBlockCoverage":false},{"functionName":"formatSet","ranges":[{"startOffset":59813,"endOffset":60336,"count":0}],"isBlockCoverage":false},{"functionName":"formatMap","ranges":[{"startOffset":60338,"endOffset":60938,"count":0}],"isBlockCoverage":false},{"functionName":"formatSetIterInner","ranges":[{"startOffset":60940,"endOffset":61743,"count":0}],"isBlockCoverage":false},{"functionName":"formatMapIterInner","ranges":[{"startOffset":61745,"endOffset":63053,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakCollection","ranges":[{"startOffset":63055,"endOffset":63147,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakSet","ranges":[{"startOffset":63149,"endOffset":63306,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakMap","ranges":[{"startOffset":63308,"endOffset":63465,"count":0}],"isBlockCoverage":false},{"functionName":"formatIterator","ranges":[{"startOffset":63467,"endOffset":63888,"count":0}],"isBlockCoverage":false},{"functionName":"formatPromise","ranges":[{"startOffset":63890,"endOffset":64364,"count":0}],"isBlockCoverage":false},{"functionName":"formatProperty","ranges":[{"startOffset":64366,"endOffset":66939,"count":0}],"isBlockCoverage":false},{"functionName":"isBelowBreakLength","ranges":[{"startOffset":66941,"endOffset":67899,"count":0}],"isBlockCoverage":false},{"functionName":"reduceToSingleString","ranges":[{"startOffset":67901,"endOffset":70802,"count":0}],"isBlockCoverage":false},{"functionName":"hasBuiltInToString","ranges":[{"startOffset":70804,"endOffset":71880,"count":0}],"isBlockCoverage":false},{"functionName":"firstErrorLine","ranges":[{"startOffset":71905,"endOffset":71963,"count":0}],"isBlockCoverage":false},{"functionName":"tryStringify","ranges":[{"startOffset":71993,"endOffset":72498,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":72500,"endOffset":72581,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptions","ranges":[{"startOffset":72583,"endOffset":72770,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumberNoColor","ranges":[{"startOffset":72772,"endOffset":72954,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigIntNoColor","ranges":[{"startOffset":72956,"endOffset":73138,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptionsInternal","ranges":[{"startOffset":73140,"endOffset":77164,"count":0}],"isBlockCoverage":false},{"functionName":"isZeroWidthCodePoint","ranges":[{"startOffset":77166,"endOffset":77740,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78169,"endOffset":78760,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78875,"endOffset":79343,"count":0}],"isBlockCoverage":false},{"functionName":"isFullWidthCodePoint","ranges":[{"startOffset":79511,"endOffset":81120,"count":0}],"isBlockCoverage":false},{"functionName":"stripVTControlCharacters","ranges":[{"startOffset":81211,"endOffset":81338,"count":0}],"isBlockCoverage":false}]},{"scriptId":"93","url":"node:internal/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":474,"count":1}],"isBlockCoverage":false},{"functionName":"lazyError","ranges":[{"startOffset":26,"endOffset":155,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":157,"endOffset":307,"count":713},{"startOffset":205,"endOffset":305,"count":0}],"isBlockCoverage":true},{"functionName":"fail","ranges":[{"startOffset":309,"endOffset":426,"count":0}],"isBlockCoverage":false}]},{"scriptId":"94","url":"node:internal/util/debuglog","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3395,"count":1}],"isBlockCoverage":false},{"functionName":"initializeDebugEnv","ranges":[{"startOffset":503,"endOffset":976,"count":1},{"startOffset":595,"endOffset":932,"count":0}],"isBlockCoverage":true},{"functionName":"testEnabled","ranges":[{"startOffset":870,"endOffset":927,"count":0}],"isBlockCoverage":false},{"functionName":"testEnabled","ranges":[{"startOffset":958,"endOffset":969,"count":8}],"isBlockCoverage":true},{"functionName":"emitWarningIfNeeded","ranges":[{"startOffset":1050,"endOffset":1389,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":1404,"endOffset":1412,"count":2522}],"isBlockCoverage":true},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1431,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"debuglogImpl","ranges":[{"startOffset":1533,"endOffset":2091,"count":7},{"startOffset":1608,"endOffset":2063,"count":5},{"startOffset":1627,"endOffset":2016,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":1716,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"debuglog","ranges":[{"startOffset":2311,"endOffset":3337,"count":15}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":2342,"endOffset":2438,"count":8}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":2453,"endOffset":2847,"count":7},{"startOffset":2700,"endOffset":2730,"count":4},{"startOffset":2737,"endOffset":2776,"count":2},{"startOffset":2783,"endOffset":2837,"count":1}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2877,"endOffset":2946,"count":1}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2908,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"logger","ranges":[{"startOffset":2965,"endOffset":3160,"count":7},{"startOffset":3013,"endOffset":3043,"count":4},{"startOffset":3050,"endOffset":3089,"count":2},{"startOffset":3096,"endOffset":3150,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3231,"endOffset":3265,"count":1}],"isBlockCoverage":true}]},{"scriptId":"95","url":"node:events","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36377,"count":1}],"isBlockCoverage":false},{"functionName":"lazyEventEmitterAsyncResource","ranges":[{"startOffset":3020,"endOffset":6331,"count":4},{"startOffset":3110,"endOffset":6293,"count":1}],"isBlockCoverage":true},{"functionName":"EventEmitterReferencingAsyncResource","ranges":[{"startOffset":3565,"endOffset":3669,"count":0}],"isBlockCoverage":false},{"functionName":"get eventEmitter","ranges":[{"startOffset":3727,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterAsyncResource","ranges":[{"startOffset":4205,"endOffset":4729,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":4866,"endOffset":5236,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":5297,"endOffset":5485,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncId","ranges":[{"startOffset":5545,"endOffset":5736,"count":0}],"isBlockCoverage":false},{"functionName":"get triggerAsyncId","ranges":[{"startOffset":5796,"endOffset":6001,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncResource","ranges":[{"startOffset":6091,"endOffset":6280,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter","ranges":[{"startOffset":6465,"endOffset":6534,"count":63}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":7019,"endOffset":7075,"count":4}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":7079,"endOffset":7204,"count":0}],"isBlockCoverage":false},{"functionName":"checkListener","ranges":[{"startOffset":7985,"endOffset":8063,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8171,"endOffset":8219,"count":6}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8228,"endOffset":8329,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.setMaxListeners","ranges":[{"startOffset":8882,"endOffset":9694,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.init","ranges":[{"startOffset":9861,"endOffset":10459,"count":63},{"startOffset":9912,"endOffset":9972,"count":0},{"startOffset":10116,"endOffset":10135,"count":2},{"startOffset":10137,"endOffset":10270,"count":0}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":10462,"endOffset":11021,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionOrErr","ranges":[{"startOffset":11023,"endOffset":11680,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":11832,"endOffset":11947,"count":1}],"isBlockCoverage":true},{"functionName":"_getMaxListeners","ranges":[{"startOffset":11950,"endOffset":12099,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":12236,"endOffset":12299,"count":0}],"isBlockCoverage":false},{"functionName":"enhanceStackTrace","ranges":[{"startOffset":12302,"endOffset":13061,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":13256,"endOffset":15559,"count":59},{"startOffset":13401,"endOffset":13439,"count":0},{"startOffset":13447,"endOffset":13481,"count":0},{"startOffset":13505,"endOffset":13534,"count":0},{"startOffset":13540,"endOffset":13577,"count":0},{"startOffset":13649,"endOffset":14617,"count":0},{"startOffset":14698,"endOffset":15558,"count":0}],"isBlockCoverage":true},{"functionName":"_addListener","ranges":[{"startOffset":15562,"endOffset":17456,"count":7},{"startOffset":15742,"endOffset":15827,"count":0},{"startOffset":16012,"endOffset":16273,"count":0},{"startOffset":16476,"endOffset":17436,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":17634,"endOffset":17726,"count":7}],"isBlockCoverage":true},{"functionName":"prependListener","ranges":[{"startOffset":18013,"endOffset":18116,"count":0}],"isBlockCoverage":false},{"functionName":"onceWrapper","ranges":[{"startOffset":18119,"endOffset":18383,"count":0}],"isBlockCoverage":false},{"functionName":"_onceWrap","ranges":[{"startOffset":18385,"endOffset":18626,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":18817,"endOffset":18943,"count":0}],"isBlockCoverage":false},{"functionName":"prependOnceListener","ranges":[{"startOffset":19176,"endOffset":19346,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":19553,"endOffset":20848,"count":5},{"startOffset":19702,"endOffset":19714,"count":0},{"startOffset":19787,"endOffset":19799,"count":3},{"startOffset":19799,"endOffset":19829,"count":2},{"startOffset":19829,"endOffset":19858,"count":0},{"startOffset":19860,"endOffset":20121,"count":2},{"startOffset":19911,"endOffset":19946,"count":0},{"startOffset":20042,"endOffset":20103,"count":0},{"startOffset":20121,"endOffset":20822,"count":0},{"startOffset":20822,"endOffset":20847,"count":2}],"isBlockCoverage":true},{"functionName":"removeAllListeners","ranges":[{"startOffset":21168,"endOffset":22497,"count":0}],"isBlockCoverage":false},{"functionName":"_listeners","ranges":[{"startOffset":22500,"endOffset":22895,"count":0}],"isBlockCoverage":false},{"functionName":"listeners","ranges":[{"startOffset":23085,"endOffset":23152,"count":0}],"isBlockCoverage":false},{"functionName":"rawListeners","ranges":[{"startOffset":23359,"endOffset":23430,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.listenerCount","ranges":[{"startOffset":23672,"endOffset":23858,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":24091,"endOffset":24796,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":24952,"endOffset":25045,"count":0}],"isBlockCoverage":false},{"functionName":"arrayClone","ranges":[{"startOffset":25048,"endOffset":25521,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapListeners","ranges":[{"startOffset":25523,"endOffset":25737,"count":0}],"isBlockCoverage":false},{"functionName":"getEventListeners","ranges":[{"startOffset":25947,"endOffset":26821,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":26941,"endOffset":27376,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":27596,"endOffset":29314,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29392,"endOffset":29413,"count":0}],"isBlockCoverage":false},{"functionName":"createIterResult","ranges":[{"startOffset":29428,"endOffset":29496,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticRemoveListener","ranges":[{"startOffset":29498,"endOffset":29883,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticAddListener","ranges":[{"startOffset":29885,"endOffset":30317,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":30622,"endOffset":35023,"count":0}],"isBlockCoverage":false},{"functionName":"listenersController","ranges":[{"startOffset":35025,"endOffset":35471,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortListener","ranges":[{"startOffset":35494,"endOffset":36376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"96","url":"node:buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":41224,"count":1}],"isBlockCoverage":false},{"functionName":"validateOffset","ranges":[{"startOffset":3255,"endOffset":3339,"count":0}],"isBlockCoverage":false},{"functionName":"createPool","ranges":[{"startOffset":4069,"endOffset":4228,"count":1}],"isBlockCoverage":true},{"functionName":"alignPool","ranges":[{"startOffset":4244,"endOffset":4366,"count":12},{"startOffset":4318,"endOffset":4364,"count":11}],"isBlockCoverage":true},{"functionName":"showFlaggedDeprecation","ranges":[{"startOffset":4670,"endOffset":5350,"count":0}],"isBlockCoverage":false},{"functionName":"toInteger","ranges":[{"startOffset":5352,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"_copy","ranges":[{"startOffset":5572,"endOffset":6704,"count":0}],"isBlockCoverage":false},{"functionName":"_copyActual","ranges":[{"startOffset":6706,"endOffset":7237,"count":0}],"isBlockCoverage":false},{"functionName":"Buffer","ranges":[{"startOffset":7813,"endOffset":8146,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8258,"endOffset":8286,"count":0}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":8544,"endOffset":9509,"count":18},{"startOffset":8630,"endOffset":8673,"count":11},{"startOffset":8673,"endOffset":8724,"count":7},{"startOffset":8726,"endOffset":9363,"count":7},{"startOffset":8767,"endOffset":8823,"count":6},{"startOffset":8823,"endOffset":8877,"count":1},{"startOffset":8903,"endOffset":8931,"count":1},{"startOffset":8932,"endOffset":9003,"count":0},{"startOffset":9005,"endOffset":9066,"count":0},{"startOffset":9066,"endOffset":9127,"count":1},{"startOffset":9127,"endOffset":9359,"count":0},{"startOffset":9363,"endOffset":9508,"count":0}],"isBlockCoverage":true},{"functionName":"copyBytesFrom","ranges":[{"startOffset":9763,"endOffset":10644,"count":0}],"isBlockCoverage":false},{"functionName":"of","ranges":[{"startOffset":11015,"endOffset":11167,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11456,"endOffset":11516,"count":60}],"isBlockCoverage":true},{"functionName":"alloc","ranges":[{"startOffset":11619,"endOffset":11864,"count":1},{"startOffset":11703,"endOffset":11716,"count":0},{"startOffset":11717,"endOffset":11728,"count":0},{"startOffset":11730,"endOffset":11831,"count":0}],"isBlockCoverage":true},{"functionName":"allocUnsafe","ranges":[{"startOffset":12043,"endOffset":12118,"count":1}],"isBlockCoverage":true},{"functionName":"allocUnsafeSlow","ranges":[{"startOffset":12359,"endOffset":12448,"count":58}],"isBlockCoverage":true},{"functionName":"SlowBuffer","ranges":[{"startOffset":12544,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"allocate","ranges":[{"startOffset":12748,"endOffset":13080,"count":1},{"startOffset":12791,"endOffset":12825,"count":0},{"startOffset":12912,"endOffset":12925,"count":0},{"startOffset":13043,"endOffset":13079,"count":0}],"isBlockCoverage":true},{"functionName":"fromStringFast","ranges":[{"startOffset":13082,"endOffset":13628,"count":11},{"startOffset":13208,"endOffset":13257,"count":1},{"startOffset":13257,"endOffset":13303,"count":10},{"startOffset":13303,"endOffset":13316,"count":0},{"startOffset":13316,"endOffset":13449,"count":10},{"startOffset":13449,"endOffset":13575,"count":0},{"startOffset":13575,"endOffset":13627,"count":10}],"isBlockCoverage":true},{"functionName":"fromString","ranges":[{"startOffset":13630,"endOffset":14083,"count":11},{"startOffset":13716,"endOffset":13740,"count":8},{"startOffset":13742,"endOffset":13861,"count":3},{"startOffset":13779,"endOffset":13803,"count":0},{"startOffset":13861,"endOffset":14043,"count":8},{"startOffset":13938,"endOffset":13979,"count":0},{"startOffset":14015,"endOffset":14039,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayBuffer","ranges":[{"startOffset":14085,"endOffset":14782,"count":6},{"startOffset":14229,"endOffset":14325,"count":0},{"startOffset":14402,"endOffset":14447,"count":0},{"startOffset":14506,"endOffset":14729,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayLike","ranges":[{"startOffset":14784,"endOffset":15178,"count":1},{"startOffset":14841,"endOffset":14865,"count":0},{"startOffset":14964,"endOffset":14977,"count":0},{"startOffset":15146,"endOffset":15177,"count":0}],"isBlockCoverage":true},{"functionName":"fromObject","ranges":[{"startOffset":15180,"endOffset":15486,"count":1},{"startOffset":15238,"endOffset":15269,"count":0},{"startOffset":15313,"endOffset":15351,"count":0},{"startOffset":15386,"endOffset":15441,"count":0},{"startOffset":15443,"endOffset":15484,"count":0}],"isBlockCoverage":true},{"functionName":"isBuffer","ranges":[{"startOffset":15525,"endOffset":15579,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":15599,"endOffset":15924,"count":0}],"isBlockCoverage":false},{"functionName":"isEncoding","ranges":[{"startOffset":15947,"endOffset":16098,"count":377}],"isBlockCoverage":true},{"functionName":"concat","ranges":[{"startOffset":16164,"endOffset":17311,"count":0}],"isBlockCoverage":false},{"functionName":"base64ByteLength","ranges":[{"startOffset":17314,"endOffset":17582,"count":1},{"startOffset":17520,"endOffset":17528,"count":0}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":17717,"endOffset":17781,"count":3}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":17794,"endOffset":17840,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":17855,"endOffset":17951,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18045,"endOffset":18074,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18087,"endOffset":18151,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18164,"endOffset":18210,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18225,"endOffset":18324,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18424,"endOffset":18453,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18466,"endOffset":18530,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18543,"endOffset":18589,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18604,"endOffset":18703,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18800,"endOffset":18825,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18838,"endOffset":18904,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18917,"endOffset":18965,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18980,"endOffset":19078,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19172,"endOffset":19197,"count":3}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19210,"endOffset":19275,"count":3}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":19288,"endOffset":19335,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19350,"endOffset":19562,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19659,"endOffset":19710,"count":1}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19723,"endOffset":19789,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":19802,"endOffset":19850,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19865,"endOffset":20079,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20185,"endOffset":20236,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20249,"endOffset":20324,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":20337,"endOffset":20388,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20403,"endOffset":20623,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20711,"endOffset":20742,"count":4}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":20755,"endOffset":20818,"count":4}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":20831,"endOffset":20876,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20891,"endOffset":21099,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingOps","ranges":[{"startOffset":21109,"endOffset":22933,"count":8},{"startOffset":21196,"endOffset":21495,"count":0},{"startOffset":21500,"endOffset":21919,"count":3},{"startOffset":21540,"endOffset":21564,"count":0},{"startOffset":21622,"endOffset":21919,"count":0},{"startOffset":21924,"endOffset":22078,"count":0},{"startOffset":22083,"endOffset":22239,"count":0},{"startOffset":22244,"endOffset":22625,"count":1},{"startOffset":22318,"endOffset":22344,"count":0},{"startOffset":22404,"endOffset":22516,"count":0},{"startOffset":22526,"endOffset":22625,"count":0},{"startOffset":22630,"endOffset":22762,"count":4},{"startOffset":22667,"endOffset":22716,"count":0},{"startOffset":22749,"endOffset":22762,"count":0},{"startOffset":22767,"endOffset":22927,"count":0}],"isBlockCoverage":true},{"functionName":"byteLength","ranges":[{"startOffset":22935,"endOffset":23441,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23600,"endOffset":23694,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23792,"endOffset":23890,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":23923,"endOffset":24056,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":24337,"endOffset":24916,"count":1},{"startOffset":24457,"endOffset":24620,"count":0},{"startOffset":24626,"endOffset":24915,"count":0}],"isBlockCoverage":true},{"functionName":"equals","ranges":[{"startOffset":24945,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":25427,"endOffset":26570,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":26666,"endOffset":27815,"count":0}],"isBlockCoverage":false},{"functionName":"bidirectionalIndexOf","ranges":[{"startOffset":28243,"endOffset":29551,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":29580,"endOffset":29697,"count":0}],"isBlockCoverage":false},{"functionName":"lastIndexOf","ranges":[{"startOffset":29731,"endOffset":29853,"count":0}],"isBlockCoverage":false},{"functionName":"includes","ranges":[{"startOffset":29884,"endOffset":29989,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":30167,"endOffset":30266,"count":0}],"isBlockCoverage":false},{"functionName":"_fill","ranges":[{"startOffset":30269,"endOffset":32215,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":32242,"endOffset":33257,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":33286,"endOffset":33520,"count":0}],"isBlockCoverage":false},{"functionName":"adjustOffset","ranges":[{"startOffset":33523,"endOffset":33957,"count":0}],"isBlockCoverage":false},{"functionName":"subarray","ranges":[{"startOffset":33987,"endOffset":34290,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":34318,"endOffset":34384,"count":0}],"isBlockCoverage":false},{"functionName":"swap","ranges":[{"startOffset":34387,"endOffset":34458,"count":0}],"isBlockCoverage":false},{"functionName":"swap16","ranges":[{"startOffset":34486,"endOffset":34890,"count":0}],"isBlockCoverage":false},{"functionName":"swap32","ranges":[{"startOffset":34919,"endOffset":35363,"count":0}],"isBlockCoverage":false},{"functionName":"swap64","ranges":[{"startOffset":35392,"endOffset":35900,"count":0}],"isBlockCoverage":false},{"functionName":"transcode","ranges":[{"startOffset":36214,"endOffset":36913,"count":0}],"isBlockCoverage":false},{"functionName":"btoa","ranges":[{"startOffset":36918,"endOffset":37455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":37728,"endOffset":37772,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37830,"endOffset":37874,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37929,"endOffset":37973,"count":10}],"isBlockCoverage":true},{"functionName":"atob","ranges":[{"startOffset":38149,"endOffset":40101,"count":0}],"isBlockCoverage":false},{"functionName":"isUtf8","ranges":[{"startOffset":40103,"endOffset":40299,"count":0}],"isBlockCoverage":false},{"functionName":"isAscii","ranges":[{"startOffset":40301,"endOffset":40514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40905,"endOffset":40940,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":40946,"endOffset":41044,"count":0}],"isBlockCoverage":false}]},{"scriptId":"97","url":"node:internal/buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30926,"count":1}],"isBlockCoverage":false},{"functionName":"checkBounds","ranges":[{"startOffset":1176,"endOffset":1392,"count":1},{"startOffset":1339,"endOffset":1390,"count":0}],"isBlockCoverage":true},{"functionName":"checkInt","ranges":[{"startOffset":1394,"endOffset":2016,"count":1},{"startOffset":1490,"endOffset":1974,"count":0}],"isBlockCoverage":true},{"functionName":"boundsError","ranges":[{"startOffset":2018,"endOffset":2421,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":2441,"endOffset":2940,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":2942,"endOffset":3441,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":3443,"endOffset":3944,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":3946,"endOffset":4441,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntLE","ranges":[{"startOffset":4443,"endOffset":4995,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48LE","ranges":[{"startOffset":4997,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40LE","ranges":[{"startOffset":5382,"endOffset":5738,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":5740,"endOffset":6066,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24LE","ranges":[{"startOffset":6068,"endOffset":6356,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":6358,"endOffset":6618,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":6620,"endOffset":6800,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntBE","ranges":[{"startOffset":6802,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48BE","ranges":[{"startOffset":7356,"endOffset":7739,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40BE","ranges":[{"startOffset":7741,"endOffset":8097,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":8099,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24BE","ranges":[{"startOffset":8427,"endOffset":8715,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":8717,"endOffset":8977,"count":0}],"isBlockCoverage":false},{"functionName":"readIntLE","ranges":[{"startOffset":8979,"endOffset":9524,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48LE","ranges":[{"startOffset":9526,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40LE","ranges":[{"startOffset":9959,"endOffset":10346,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":10348,"endOffset":10683,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24LE","ranges":[{"startOffset":10685,"endOffset":11017,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":11019,"endOffset":11325,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":11327,"endOffset":11535,"count":0}],"isBlockCoverage":false},{"functionName":"readIntBE","ranges":[{"startOffset":11537,"endOffset":12082,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48BE","ranges":[{"startOffset":12084,"endOffset":12513,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40BE","ranges":[{"startOffset":12515,"endOffset":12903,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":12905,"endOffset":13240,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24BE","ranges":[{"startOffset":13242,"endOffset":13574,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":13576,"endOffset":13882,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBackwards","ranges":[{"startOffset":13899,"endOffset":14304,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatForwards","ranges":[{"startOffset":14306,"endOffset":14710,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBackwards","ranges":[{"startOffset":14712,"endOffset":15282,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleForwards","ranges":[{"startOffset":15284,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64LE","ranges":[{"startOffset":15874,"endOffset":16356,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":16358,"endOffset":16480,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64BE","ranges":[{"startOffset":16482,"endOffset":16980,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":16982,"endOffset":17104,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":17106,"endOffset":17250,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":17252,"endOffset":17396,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntLE","ranges":[{"startOffset":17398,"endOffset":18007,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48LE","ranges":[{"startOffset":18009,"endOffset":18422,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40LE","ranges":[{"startOffset":18424,"endOffset":18803,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32LE","ranges":[{"startOffset":18805,"endOffset":19112,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19114,"endOffset":19220,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24LE","ranges":[{"startOffset":19222,"endOffset":19481,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16LE","ranges":[{"startOffset":19483,"endOffset":19679,"count":1}],"isBlockCoverage":true},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19681,"endOffset":19783,"count":1}],"isBlockCoverage":true},{"functionName":"writeU_Int8","ranges":[{"startOffset":19785,"endOffset":20197,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":20199,"endOffset":20293,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntBE","ranges":[{"startOffset":20295,"endOffset":20904,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48BE","ranges":[{"startOffset":20906,"endOffset":21327,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40BE","ranges":[{"startOffset":21329,"endOffset":21691,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32BE","ranges":[{"startOffset":21693,"endOffset":22008,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":22010,"endOffset":22116,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24BE","ranges":[{"startOffset":22118,"endOffset":22383,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16BE","ranges":[{"startOffset":22385,"endOffset":22581,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":22583,"endOffset":22685,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntLE","ranges":[{"startOffset":22687,"endOffset":23349,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":23351,"endOffset":23466,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":23468,"endOffset":23575,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":23577,"endOffset":23674,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntBE","ranges":[{"startOffset":23676,"endOffset":24338,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":24340,"endOffset":24455,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":24457,"endOffset":24564,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleForwards","ranges":[{"startOffset":24583,"endOffset":25049,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBackwards","ranges":[{"startOffset":25051,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatForwards","ranges":[{"startOffset":25520,"endOffset":25821,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBackwards","ranges":[{"startOffset":25823,"endOffset":26125,"count":0}],"isBlockCoverage":false},{"functionName":"FastBuffer","ranges":[{"startOffset":26365,"endOffset":26465,"count":79}],"isBlockCoverage":true},{"functionName":"addBufferPrototypeMethods","ranges":[{"startOffset":26469,"endOffset":29608,"count":1},{"startOffset":28552,"endOffset":28572,"count":0},{"startOffset":28626,"endOffset":28645,"count":0},{"startOffset":28701,"endOffset":28722,"count":0},{"startOffset":28778,"endOffset":28798,"count":0},{"startOffset":28855,"endOffset":28876,"count":0},{"startOffset":28932,"endOffset":28952,"count":0},{"startOffset":29010,"endOffset":29032,"count":0},{"startOffset":29090,"endOffset":29111,"count":0}],"isBlockCoverage":true},{"functionName":"markAsUntransferable","ranges":[{"startOffset":29764,"endOffset":30013,"count":1},{"startOffset":29832,"endOffset":29860,"count":0},{"startOffset":29883,"endOffset":29890,"count":0}],"isBlockCoverage":true},{"functionName":"createUnsafeBuffer","ranges":[{"startOffset":30291,"endOffset":30427,"count":59}],"isBlockCoverage":true},{"functionName":"reconnectZeroFillToggle","ranges":[{"startOffset":30682,"endOffset":30754,"count":1}],"isBlockCoverage":true}]},{"scriptId":"98","url":"node:internal/worker/js_transferable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2208,"count":1}],"isBlockCoverage":false},{"functionName":"setup","ranges":[{"startOffset":478,"endOffset":1311,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":759,"endOffset":1307,"count":0}],"isBlockCoverage":false},{"functionName":"makeTransferable","ranges":[{"startOffset":1313,"endOffset":1968,"count":0}],"isBlockCoverage":false}]},{"scriptId":"99","url":"node:internal/process/per_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12464,"count":1}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":1145,"endOffset":1233,"count":0}],"isBlockCoverage":false},{"functionName":"refreshHrtimeBuffer","ranges":[{"startOffset":1388,"endOffset":1856,"count":2}],"isBlockCoverage":true},{"functionName":"hrtime","ranges":[{"startOffset":1905,"endOffset":2407,"count":0}],"isBlockCoverage":false},{"functionName":"hrtimeBigInt","ranges":[{"startOffset":2409,"endOffset":2490,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2492,"endOffset":2509,"count":0}],"isBlockCoverage":false},{"functionName":"wrapProcessMethods","ranges":[{"startOffset":2587,"endOffset":7477,"count":1}],"isBlockCoverage":true},{"functionName":"_rawDebug","ranges":[{"startOffset":2754,"endOffset":2844,"count":0}],"isBlockCoverage":false},{"functionName":"cpuUsage","ranges":[{"startOffset":3055,"endOffset":4207,"count":0}],"isBlockCoverage":false},{"functionName":"previousValueIsValid","ranges":[{"startOffset":4360,"endOffset":4497,"count":0}],"isBlockCoverage":false},{"functionName":"memoryUsage","ranges":[{"startOffset":4542,"endOffset":4769,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":4799,"endOffset":5938,"count":1}],"isBlockCoverage":true},{"functionName":"kill","ranges":[{"startOffset":5942,"endOffset":6587,"count":0}],"isBlockCoverage":false},{"functionName":"resourceUsage","ranges":[{"startOffset":6638,"endOffset":7372,"count":0}],"isBlockCoverage":false},{"functionName":"buildAllowedFlags","ranges":[{"startOffset":7688,"endOffset":11790,"count":1},{"startOffset":7976,"endOffset":8267,"count":159},{"startOffset":8028,"endOffset":8263,"count":124},{"startOffset":8125,"endOffset":8257,"count":62},{"startOffset":8735,"endOffset":9157,"count":23},{"startOffset":8789,"endOffset":9153,"count":11},{"startOffset":8878,"endOffset":8947,"count":2},{"startOffset":9012,"endOffset":9081,"count":0}],"isBlockCoverage":true},{"functionName":"isAccepted","ranges":[{"startOffset":8271,"endOffset":8683,"count":29},{"startOffset":8341,"endOffset":8355,"count":28},{"startOffset":8357,"endOffset":8369,"count":2},{"startOffset":8369,"endOffset":8446,"count":27},{"startOffset":8446,"endOffset":8615,"count":2},{"startOffset":8496,"endOffset":8543,"count":1},{"startOffset":8615,"endOffset":8682,"count":25}],"isBlockCoverage":true},{"functionName":"trimLeadingDashes","ranges":[{"startOffset":9191,"endOffset":9253,"count":197}],"isBlockCoverage":true},{"functionName":"NodeEnvironmentFlagsSet","ranges":[{"startOffset":9563,"endOffset":9639,"count":1}],"isBlockCoverage":true},{"functionName":"add","ranges":[{"startOffset":9645,"endOffset":9714,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":9720,"endOffset":9793,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":9799,"endOffset":9851,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":9857,"endOffset":10672,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":10678,"endOffset":10843,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":10849,"endOffset":11026,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":11032,"endOffset":11093,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":11099,"endOffset":11262,"count":0}],"isBlockCoverage":false},{"functionName":"toggleTraceCategoryState","ranges":[{"startOffset":11980,"endOffset":12310,"count":1},{"startOffset":12060,"endOffset":12235,"count":0},{"startOffset":12267,"endOffset":12308,"count":0}],"isBlockCoverage":true}]},{"scriptId":"100","url":"node:internal/process/task_queues","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4285,"count":1}],"isBlockCoverage":false},{"functionName":"hasTickScheduled","ranges":[{"startOffset":982,"endOffset":1057,"count":0}],"isBlockCoverage":false},{"functionName":"setHasTickScheduled","ranges":[{"startOffset":1059,"endOffset":1145,"count":2},{"startOffset":1135,"endOffset":1138,"count":1},{"startOffset":1139,"endOffset":1142,"count":1}],"isBlockCoverage":true},{"functionName":"runNextTicks","ranges":[{"startOffset":1247,"endOffset":1443,"count":0}],"isBlockCoverage":false},{"functionName":"processTicksAndRejections","ranges":[{"startOffset":1445,"endOffset":2424,"count":1},{"startOffset":1547,"endOffset":2279,"count":2},{"startOffset":1781,"endOffset":2155,"count":0},{"startOffset":2217,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"nextTick","ranges":[{"startOffset":2568,"endOffset":3442,"count":2},{"startOffset":2669,"endOffset":2676,"count":0},{"startOffset":2743,"endOffset":2780,"count":0},{"startOffset":2785,"endOffset":2836,"count":0},{"startOffset":2841,"endOffset":2906,"count":0},{"startOffset":2911,"endOffset":3054,"count":0},{"startOffset":3083,"endOffset":3109,"count":1},{"startOffset":3354,"endOffset":3414,"count":0}],"isBlockCoverage":true},{"functionName":"runMicrotask","ranges":[{"startOffset":3444,"endOffset":3620,"count":0}],"isBlockCoverage":false},{"functionName":"queueMicrotask","ranges":[{"startOffset":3692,"endOffset":3981,"count":0}],"isBlockCoverage":false},{"functionName":"setupTaskQueue","ranges":[{"startOffset":4004,"endOffset":4262,"count":1}],"isBlockCoverage":true}]},{"scriptId":"101","url":"node:internal/process/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11045,"count":1}],"isBlockCoverage":false},{"functionName":"setHasRejectionToWarn","ranges":[{"startOffset":2155,"endOffset":2245,"count":1},{"startOffset":2235,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"hasRejectionToWarn","ranges":[{"startOffset":2247,"endOffset":2326,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorLike","ranges":[{"startOffset":2328,"endOffset":2464,"count":0}],"isBlockCoverage":false},{"functionName":"getUnhandledRejectionsMode","ranges":[{"startOffset":2466,"endOffset":2999,"count":0}],"isBlockCoverage":false},{"functionName":"promiseRejectHandler","ranges":[{"startOffset":3001,"endOffset":3570,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3619,"endOffset":3627,"count":0}],"isBlockCoverage":false},{"functionName":"resolveError","ranges":[{"startOffset":3698,"endOffset":3995,"count":0}],"isBlockCoverage":false},{"functionName":"unhandledRejection","ranges":[{"startOffset":3997,"endOffset":4557,"count":0}],"isBlockCoverage":false},{"functionName":"handledRejection","ranges":[{"startOffset":4559,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionWarning","ranges":[{"startOffset":5462,"endOffset":6499,"count":0}],"isBlockCoverage":false},{"functionName":"processPromiseRejections","ranges":[{"startOffset":6672,"endOffset":9849,"count":1},{"startOffset":6830,"endOffset":7009,"count":0},{"startOffset":7074,"endOffset":9753,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithoutStack","ranges":[{"startOffset":9851,"endOffset":10366,"count":0}],"isBlockCoverage":false},{"functionName":"generateUnhandledRejectionError","ranges":[{"startOffset":10368,"endOffset":10838,"count":0}],"isBlockCoverage":false},{"functionName":"listenForRejections","ranges":[{"startOffset":10840,"endOffset":10924,"count":1}],"isBlockCoverage":true}]},{"scriptId":"102","url":"node:internal/fixed_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4208,"count":1}],"isBlockCoverage":false},{"functionName":"FixedCircularBuffer","ranges":[{"startOffset":2959,"endOffset":3073,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3077,"endOffset":3129,"count":6}],"isBlockCoverage":true},{"functionName":"isFull","ranges":[{"startOffset":3133,"endOffset":3200,"count":2}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3204,"endOffset":3291,"count":2}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3295,"endOffset":3510,"count":3},{"startOffset":3388,"endOffset":3400,"count":1},{"startOffset":3400,"endOffset":3509,"count":2}],"isBlockCoverage":true},{"functionName":"FixedQueue","ranges":[{"startOffset":3552,"endOffset":3626,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3630,"endOffset":3677,"count":3}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3681,"endOffset":3945,"count":2},{"startOffset":3722,"endOffset":3915,"count":0}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3949,"endOffset":4204,"count":3},{"startOffset":4041,"endOffset":4062,"count":2},{"startOffset":4064,"endOffset":4183,"count":0}],"isBlockCoverage":true}]},{"scriptId":"103","url":"node:async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10295,"count":1}],"isBlockCoverage":false},{"functionName":"AsyncHook","ranges":[{"startOffset":1538,"endOffset":2372,"count":1},{"startOffset":1666,"endOffset":1708,"count":0},{"startOffset":1738,"endOffset":1769,"count":0},{"startOffset":1777,"endOffset":1821,"count":0},{"startOffset":1850,"endOffset":1880,"count":0},{"startOffset":1888,"endOffset":1931,"count":0},{"startOffset":1962,"endOffset":1994,"count":0},{"startOffset":2002,"endOffset":2047,"count":0},{"startOffset":2085,"endOffset":2124,"count":0},{"startOffset":2132,"endOffset":2184,"count":0}],"isBlockCoverage":true},{"functionName":"enable","ranges":[{"startOffset":2376,"endOffset":3621,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":3625,"endOffset":4409,"count":0}],"isBlockCoverage":false},{"functionName":"createHook","ranges":[{"startOffset":4414,"endOffset":4471,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncResource","ranges":[{"startOffset":4564,"endOffset":5761,"count":0}],"isBlockCoverage":false},{"functionName":"runInAsyncScope","ranges":[{"startOffset":5765,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":6085,"endOffset":6260,"count":0}],"isBlockCoverage":false},{"functionName":"asyncId","ranges":[{"startOffset":6264,"endOffset":6313,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":6317,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":6385,"endOffset":7421,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":7432,"endOffset":7569,"count":0}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":7632,"endOffset":7920,"count":0}],"isBlockCoverage":false},{"functionName":"AsyncLocalStorage","ranges":[{"startOffset":7955,"endOffset":8052,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":8063,"endOffset":8112,"count":0}],"isBlockCoverage":false},{"functionName":"snapshot","ranges":[{"startOffset":8123,"endOffset":8204,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":8208,"endOffset":8533,"count":0}],"isBlockCoverage":false},{"functionName":"_enable","ranges":[{"startOffset":8537,"endOffset":8683,"count":0}],"isBlockCoverage":false},{"functionName":"_propagate","ranges":[{"startOffset":8752,"endOffset":8932,"count":0}],"isBlockCoverage":false},{"functionName":"enterWith","ranges":[{"startOffset":8936,"endOffset":9068,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":9072,"endOffset":9570,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":9574,"endOffset":9806,"count":0}],"isBlockCoverage":false},{"functionName":"getStore","ranges":[{"startOffset":9810,"endOffset":9949,"count":0}],"isBlockCoverage":false}]},{"scriptId":"104","url":"node:timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9640,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1819,"endOffset":1844,"count":0}],"isBlockCoverage":false},{"functionName":"unenroll","ranges":[{"startOffset":2343,"endOffset":3527,"count":0}],"isBlockCoverage":false},{"functionName":"enroll","ranges":[{"startOffset":3734,"endOffset":3987,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":4229,"endOffset":4886,"count":1},{"startOffset":4396,"endOffset":4403,"count":0},{"startOffset":4433,"endOffset":4474,"count":0},{"startOffset":4479,"endOffset":4526,"count":0},{"startOffset":4531,"endOffset":4752,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4981,"endOffset":5106,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimeout","ranges":[{"startOffset":5206,"endOffset":5572,"count":9},{"startOffset":5249,"endOffset":5268,"count":0},{"startOffset":5270,"endOffset":5337,"count":0},{"startOffset":5400,"endOffset":5570,"count":0}],"isBlockCoverage":true},{"functionName":"setInterval","ranges":[{"startOffset":5809,"endOffset":6468,"count":0}],"isBlockCoverage":false},{"functionName":"clearInterval","ranges":[{"startOffset":6565,"endOffset":6863,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.close","ranges":[{"startOffset":6891,"endOffset":6942,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":6980,"endOffset":7016,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":7126,"endOffset":7287,"count":0}],"isBlockCoverage":false},{"functionName":"setImmediate","ranges":[{"startOffset":7504,"endOffset":8057,"count":1},{"startOffset":7691,"endOffset":7732,"count":0},{"startOffset":7737,"endOffset":7784,"count":0},{"startOffset":7789,"endOffset":8010,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8154,"endOffset":8281,"count":0}],"isBlockCoverage":false},{"functionName":"clearImmediate","ranges":[{"startOffset":8372,"endOffset":8922,"count":0}],"isBlockCoverage":false},{"functionName":"Immediate.","ranges":[{"startOffset":8961,"endOffset":8999,"count":0}],"isBlockCoverage":false}]},{"scriptId":"105","url":"node:internal/process/execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6918,"count":1}],"isBlockCoverage":false},{"functionName":"tryGetCwd","ranges":[{"startOffset":681,"endOffset":1011,"count":1},{"startOffset":742,"endOffset":1009,"count":0}],"isBlockCoverage":true},{"functionName":"evalModule","ranges":[{"startOffset":1013,"endOffset":1407,"count":0}],"isBlockCoverage":false},{"functionName":"evalScript","ranges":[{"startOffset":1409,"endOffset":3230,"count":0}],"isBlockCoverage":false},{"functionName":"setUncaughtExceptionCaptureCallback","ranges":[{"startOffset":3308,"endOffset":4002,"count":0}],"isBlockCoverage":false},{"functionName":"hasUncaughtExceptionCaptureCallback","ranges":[{"startOffset":4004,"endOffset":4105,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4107,"endOffset":4125,"count":0}],"isBlockCoverage":false},{"functionName":"createOnGlobalUncaughtException","ranges":[{"startOffset":4668,"endOffset":6491,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4937,"endOffset":6488,"count":0}],"isBlockCoverage":false},{"functionName":"readStdin","ranges":[{"startOffset":6493,"endOffset":6698,"count":0}],"isBlockCoverage":false}]},{"scriptId":"106","url":"node:path","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":46851,"count":1}],"isBlockCoverage":false},{"functionName":"isPathSeparator","ranges":[{"startOffset":1719,"endOffset":1823,"count":0}],"isBlockCoverage":false},{"functionName":"isPosixPathSeparator","ranges":[{"startOffset":1825,"endOffset":1902,"count":267192}],"isBlockCoverage":true},{"functionName":"isWindowsDeviceRoot","ranges":[{"startOffset":1904,"endOffset":2074,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeString","ranges":[{"startOffset":2137,"endOffset":4085,"count":3797},{"startOffset":2354,"endOffset":4069,"count":266821},{"startOffset":2387,"endOffset":2429,"count":263024},{"startOffset":2429,"endOffset":2520,"count":3797},{"startOffset":2472,"endOffset":2478,"count":3426},{"startOffset":2478,"endOffset":2520,"count":371},{"startOffset":2520,"endOffset":2553,"count":263395},{"startOffset":2553,"endOffset":3970,"count":32309},{"startOffset":2585,"endOffset":2598,"count":27288},{"startOffset":2600,"endOffset":2625,"count":5642},{"startOffset":2625,"endOffset":3927,"count":26667},{"startOffset":2647,"endOffset":3682,"count":128},{"startOffset":2676,"endOffset":2702,"count":70},{"startOffset":2703,"endOffset":2777,"count":5},{"startOffset":2778,"endOffset":2852,"count":5},{"startOffset":2854,"endOffset":3542,"count":123},{"startOffset":2886,"endOffset":3363,"count":65},{"startOffset":3006,"endOffset":3082,"count":0},{"startOffset":3363,"endOffset":3532,"count":58},{"startOffset":3391,"endOffset":3532,"count":0},{"startOffset":3542,"endOffset":3674,"count":63},{"startOffset":3605,"endOffset":3623,"count":5},{"startOffset":3624,"endOffset":3630,"count":58},{"startOffset":3682,"endOffset":3927,"count":26539},{"startOffset":3728,"endOffset":3797,"count":22800},{"startOffset":3797,"endOffset":3872,"count":3739},{"startOffset":3927,"endOffset":3970,"count":32244},{"startOffset":3970,"endOffset":4065,"count":231086},{"startOffset":3998,"endOffset":4012,"count":3648},{"startOffset":4014,"endOffset":4035,"count":881},{"startOffset":4035,"endOffset":4065,"count":230205}],"isBlockCoverage":true},{"functionName":"formatExt","ranges":[{"startOffset":4087,"endOffset":4172,"count":0}],"isBlockCoverage":false},{"functionName":"_format","ranges":[{"startOffset":4350,"endOffset":4685,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":4803,"endOffset":9588,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":9654,"endOffset":12725,"count":0}],"isBlockCoverage":false},{"functionName":"isAbsolute","ranges":[{"startOffset":12792,"endOffset":13208,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13277,"endOffset":15423,"count":0}],"isBlockCoverage":false},{"functionName":"relative","ranges":[{"startOffset":15719,"endOffset":19486,"count":0}],"isBlockCoverage":false},{"functionName":"toNamespacedPath","ranges":[{"startOffset":19552,"endOffset":20654,"count":0}],"isBlockCoverage":false},{"functionName":"dirname","ranges":[{"startOffset":20720,"endOffset":23266,"count":0}],"isBlockCoverage":false},{"functionName":"basename","ranges":[{"startOffset":23362,"endOffset":26136,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":26202,"endOffset":28275,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":28497,"endOffset":33253,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33339,"endOffset":33782,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33526,"endOffset":33683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33760,"endOffset":33779,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":33904,"endOffset":34827,"count":3426},{"startOffset":34027,"endOffset":34047,"count":9123},{"startOffset":34054,"endOffset":34381,"count":5697},{"startOffset":34092,"endOffset":34104,"count":0},{"startOffset":34207,"endOffset":34234,"count":0},{"startOffset":34766,"endOffset":34816,"count":0},{"startOffset":34817,"endOffset":34822,"count":0}],"isBlockCoverage":true},{"functionName":"normalize","ranges":[{"startOffset":34893,"endOffset":35506,"count":371},{"startOffset":34979,"endOffset":34990,"count":0},{"startOffset":35318,"endOffset":35412,"count":0},{"startOffset":35446,"endOffset":35458,"count":0},{"startOffset":35482,"endOffset":35494,"count":3},{"startOffset":35495,"endOffset":35501,"count":368}],"isBlockCoverage":true},{"functionName":"isAbsolute","ranges":[{"startOffset":35573,"endOffset":35729,"count":612}],"isBlockCoverage":true},{"functionName":"join","ranges":[{"startOffset":35798,"endOffset":36212,"count":3},{"startOffset":35847,"endOffset":35858,"count":0},{"startOffset":35917,"endOffset":36124,"count":6},{"startOffset":36053,"endOffset":36110,"count":3},{"startOffset":36161,"endOffset":36172,"count":0}],"isBlockCoverage":true},{"functionName":"relative","ranges":[{"startOffset":36302,"endOffset":38662,"count":2},{"startOffset":36415,"endOffset":36425,"count":0},{"startOffset":36552,"endOffset":36562,"count":0},{"startOffset":36835,"endOffset":36842,"count":0},{"startOffset":36916,"endOffset":37151,"count":70},{"startOffset":37064,"endOffset":37070,"count":0},{"startOffset":37127,"endOffset":37145,"count":6},{"startOffset":37483,"endOffset":37665,"count":0},{"startOffset":37673,"endOffset":38130,"count":0},{"startOffset":38136,"endOffset":38661,"count":0}],"isBlockCoverage":true},{"functionName":"toNamespacedPath","ranges":[{"startOffset":38728,"endOffset":38804,"count":3062}],"isBlockCoverage":true},{"functionName":"dirname","ranges":[{"startOffset":38870,"endOffset":39546,"count":1586},{"startOffset":38953,"endOffset":38964,"count":0},{"startOffset":39138,"endOffset":39391,"count":18825},{"startOffset":39209,"endOffset":39293,"count":1586},{"startOffset":39293,"endOffset":39385,"count":17239},{"startOffset":39419,"endOffset":39446,"count":0},{"startOffset":39483,"endOffset":39495,"count":0}],"isBlockCoverage":true},{"functionName":"basename","ranges":[{"startOffset":39642,"endOffset":42069,"count":374},{"startOffset":39703,"endOffset":39733,"count":0},{"startOffset":39865,"endOffset":39885,"count":0},{"startOffset":39886,"endOffset":39917,"count":0},{"startOffset":39919,"endOffset":41443,"count":0},{"startOffset":41491,"endOffset":41976,"count":4506},{"startOffset":41562,"endOffset":41786,"count":374},{"startOffset":41786,"endOffset":41970,"count":4132},{"startOffset":41808,"endOffset":41970,"count":374},{"startOffset":42004,"endOffset":42014,"count":0}],"isBlockCoverage":true},{"functionName":"extname","ranges":[{"startOffset":42135,"endOffset":43825,"count":1},{"startOffset":42468,"endOffset":43430,"count":13},{"startOffset":42564,"endOffset":42810,"count":1},{"startOffset":42784,"endOffset":42810,"count":0},{"startOffset":42810,"endOffset":42833,"count":12},{"startOffset":42833,"endOffset":42990,"count":1},{"startOffset":42990,"endOffset":43020,"count":12},{"startOffset":43020,"endOffset":43220,"count":1},{"startOffset":43149,"endOffset":43212,"count":0},{"startOffset":43220,"endOffset":43424,"count":11},{"startOffset":43247,"endOffset":43424,"count":7},{"startOffset":43669,"endOffset":43701,"count":0},{"startOffset":43702,"endOffset":43740,"count":0},{"startOffset":43743,"endOffset":43767,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":44052,"endOffset":46524,"count":0}],"isBlockCoverage":false}]},{"scriptId":"107","url":"node:internal/constants","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1583,"count":1}],"isBlockCoverage":false}]},{"scriptId":"108","url":"node:internal/process/warning","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5379,"count":1}],"isBlockCoverage":false},{"functionName":"resetForSerialization","ranges":[{"startOffset":448,"endOffset":645,"count":0}],"isBlockCoverage":false},{"functionName":"lazyOption","ranges":[{"startOffset":647,"endOffset":1201,"count":0}],"isBlockCoverage":false},{"functionName":"writeOut","ranges":[{"startOffset":1302,"endOffset":1424,"count":0}],"isBlockCoverage":false},{"functionName":"closeFdOnExit","ranges":[{"startOffset":1426,"endOffset":1537,"count":0}],"isBlockCoverage":false},{"functionName":"writeToFile","ranges":[{"startOffset":1539,"endOffset":1868,"count":0}],"isBlockCoverage":false},{"functionName":"doEmitWarning","ranges":[{"startOffset":1870,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"onWarning","ranges":[{"startOffset":1943,"endOffset":3092,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarning","ranges":[{"startOffset":3215,"endOffset":4406,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarningSync","ranges":[{"startOffset":4408,"endOffset":4538,"count":0}],"isBlockCoverage":false},{"functionName":"createWarningObject","ranges":[{"startOffset":4540,"endOffset":5283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"109","url":"node:internal/source_map/source_map_cache","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10127,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":357,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":824,"endOffset":939,"count":1}],"isBlockCoverage":true},{"functionName":"getSourceMapsEnabled","ranges":[{"startOffset":1596,"endOffset":1659,"count":70}],"isBlockCoverage":true},{"functionName":"setSourceMapsEnabled","ranges":[{"startOffset":1661,"endOffset":2203,"count":1},{"startOffset":1924,"endOffset":2173,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceURLMagicComment","ranges":[{"startOffset":2205,"endOffset":2805,"count":6},{"startOffset":2507,"endOffset":2540,"count":0},{"startOffset":2593,"endOffset":2729,"count":0},{"startOffset":2731,"endOffset":2804,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceMapURLMagicComment","ranges":[{"startOffset":2807,"endOffset":3250,"count":58},{"startOffset":3128,"endOffset":3156,"count":0},{"startOffset":3204,"endOffset":3249,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheSourceMap","ranges":[{"startOffset":3252,"endOffset":5023,"count":62},{"startOffset":3454,"endOffset":3474,"count":0},{"startOffset":3477,"endOffset":3484,"count":0},{"startOffset":3618,"endOffset":3742,"count":0},{"startOffset":3778,"endOffset":3844,"count":58},{"startOffset":3933,"endOffset":3950,"count":58},{"startOffset":3950,"endOffset":4122,"count":4},{"startOffset":4123,"endOffset":4137,"count":0},{"startOffset":4164,"endOffset":4349,"count":0},{"startOffset":4349,"endOffset":5021,"count":4},{"startOffset":4378,"endOffset":4644,"count":0},{"startOffset":4963,"endOffset":5017,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheGeneratedSourceMap","ranges":[{"startOffset":5025,"endOffset":5553,"count":2},{"startOffset":5163,"endOffset":5183,"count":0},{"startOffset":5186,"endOffset":5193,"count":0},{"startOffset":5297,"endOffset":5551,"count":0}],"isBlockCoverage":true},{"functionName":"dataFromUrl","ranges":[{"startOffset":5555,"endOffset":6075,"count":4},{"startOffset":5692,"endOffset":5767,"count":0},{"startOffset":5774,"endOffset":5854,"count":0}],"isBlockCoverage":true},{"functionName":"lineLengths","ranges":[{"startOffset":6265,"endOffset":6610,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6567,"endOffset":6606,"count":425}],"isBlockCoverage":true},{"functionName":"sourceMapFromFile","ranges":[{"startOffset":6612,"endOffset":6892,"count":4},{"startOffset":6840,"endOffset":6890,"count":0}],"isBlockCoverage":true},{"functionName":"sourceMapFromDataUrl","ranges":[{"startOffset":6986,"endOffset":7657,"count":0}],"isBlockCoverage":false},{"functionName":"sourcesToAbsolute","ranges":[{"startOffset":7842,"endOffset":8169,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7920,"endOffset":8026,"count":4}],"isBlockCoverage":true},{"functionName":"sourceMapCacheToObject","ranges":[{"startOffset":8607,"endOffset":8855,"count":0}],"isBlockCoverage":false},{"functionName":"appendCJSCache","ranges":[{"startOffset":8857,"endOffset":9083,"count":0}],"isBlockCoverage":false},{"functionName":"findSourceMap","ranges":[{"startOffset":9085,"endOffset":9957,"count":1},{"startOffset":9499,"endOffset":9692,"count":0},{"startOffset":9751,"endOffset":9956,"count":0}],"isBlockCoverage":true}]},{"scriptId":"110","url":"node:internal/url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43440,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBlob","ranges":[{"startOffset":2768,"endOffset":2843,"count":0}],"isBlockCoverage":false},{"functionName":"lazyCryptoRandom","ranges":[{"startOffset":2845,"endOffset":3079,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3462,"endOffset":4251,"count":1365}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3589,"endOffset":3617,"count":1}],"isBlockCoverage":false},{"functionName":"get hasPort","ranges":[{"startOffset":4030,"endOffset":4095,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSearch","ranges":[{"startOffset":4099,"endOffset":4174,"count":1594}],"isBlockCoverage":true},{"functionName":"get hasHash","ranges":[{"startOffset":4178,"endOffset":4249,"count":1594}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4337,"endOffset":6674,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7067,"endOffset":19940,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7158,"endOffset":7494,"count":1}],"isBlockCoverage":false},{"functionName":"setURLSearchParamsContext","ranges":[{"startOffset":7199,"endOffset":7246,"count":0}],"isBlockCoverage":false},{"functionName":"getURLSearchParamsList","ranges":[{"startOffset":7277,"endOffset":7303,"count":0}],"isBlockCoverage":false},{"functionName":"setURLSearchParams","ranges":[{"startOffset":7330,"endOffset":7489,"count":0}],"isBlockCoverage":false},{"functionName":"isURL","ranges":[{"startOffset":21271,"endOffset":21396,"count":1674},{"startOffset":21322,"endOffset":21338,"count":745},{"startOffset":21339,"endOffset":21365,"count":745},{"startOffset":21366,"endOffset":21392,"count":745}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21398,"endOffset":29200,"count":1381}],"isBlockCoverage":false},{"functionName":"URL","ranges":[{"startOffset":21461,"endOffset":21761,"count":1381},{"startOffset":21532,"endOffset":21580,"count":0},{"startOffset":21669,"endOffset":21700,"count":671}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21765,"endOffset":22485,"count":0}],"isBlockCoverage":false},{"functionName":"#updateContext","ranges":[{"startOffset":22489,"endOffset":23396,"count":1485},{"startOffset":23205,"endOffset":23392,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":23400,"endOffset":23447,"count":533}],"isBlockCoverage":true},{"functionName":"get href","ranges":[{"startOffset":23451,"endOffset":23498,"count":1007}],"isBlockCoverage":true},{"functionName":"set href","ranges":[{"startOffset":23502,"endOffset":23711,"count":0}],"isBlockCoverage":false},{"functionName":"get origin","ranges":[{"startOffset":23729,"endOffset":24598,"count":0}],"isBlockCoverage":false},{"functionName":"get protocol","ranges":[{"startOffset":24602,"endOffset":24706,"count":2216}],"isBlockCoverage":true},{"functionName":"set protocol","ranges":[{"startOffset":24710,"endOffset":24883,"count":0}],"isBlockCoverage":false},{"functionName":"get username","ranges":[{"startOffset":24887,"endOffset":25114,"count":0}],"isBlockCoverage":false},{"functionName":"set username","ranges":[{"startOffset":25118,"endOffset":25291,"count":0}],"isBlockCoverage":false},{"functionName":"get password","ranges":[{"startOffset":25295,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"set password","ranges":[{"startOffset":25522,"endOffset":25695,"count":0}],"isBlockCoverage":false},{"functionName":"get host","ranges":[{"startOffset":25699,"endOffset":26130,"count":0}],"isBlockCoverage":false},{"functionName":"set host","ranges":[{"startOffset":26134,"endOffset":26299,"count":0}],"isBlockCoverage":false},{"functionName":"get hostname","ranges":[{"startOffset":26303,"endOffset":26585,"count":692},{"startOffset":26469,"endOffset":26494,"count":0}],"isBlockCoverage":true},{"functionName":"set hostname","ranges":[{"startOffset":26589,"endOffset":26762,"count":0}],"isBlockCoverage":false},{"functionName":"get port","ranges":[{"startOffset":26766,"endOffset":26874,"count":0}],"isBlockCoverage":false},{"functionName":"set port","ranges":[{"startOffset":26878,"endOffset":27043,"count":0}],"isBlockCoverage":false},{"functionName":"get pathname","ranges":[{"startOffset":27047,"endOffset":27339,"count":1487},{"startOffset":27113,"endOffset":27163,"count":0},{"startOffset":27196,"endOffset":27244,"count":0}],"isBlockCoverage":true},{"functionName":"set pathname","ranges":[{"startOffset":27343,"endOffset":27516,"count":0}],"isBlockCoverage":false},{"functionName":"get search","ranges":[{"startOffset":27520,"endOffset":27855,"count":107},{"startOffset":27583,"endOffset":27854,"count":0}],"isBlockCoverage":true},{"functionName":"set search","ranges":[{"startOffset":27859,"endOffset":28036,"count":107}],"isBlockCoverage":true},{"functionName":"get searchParams","ranges":[{"startOffset":28054,"endOffset":28353,"count":0}],"isBlockCoverage":false},{"functionName":"get hash","ranges":[{"startOffset":28357,"endOffset":28572,"count":107},{"startOffset":28401,"endOffset":28463,"count":0},{"startOffset":28489,"endOffset":28571,"count":0}],"isBlockCoverage":true},{"functionName":"set hash","ranges":[{"startOffset":28576,"endOffset":28741,"count":107}],"isBlockCoverage":true},{"functionName":"toJSON","ranges":[{"startOffset":28745,"endOffset":28790,"count":0}],"isBlockCoverage":false},{"functionName":"canParse","ranges":[{"startOffset":28801,"endOffset":29198,"count":0}],"isBlockCoverage":false},{"functionName":"installObjectURLMethods","ranges":[{"startOffset":29910,"endOffset":30849,"count":1}],"isBlockCoverage":true},{"functionName":"createObjectURL","ranges":[{"startOffset":29997,"endOffset":30416,"count":0}],"isBlockCoverage":false},{"functionName":"revokeObjectURL","ranges":[{"startOffset":30420,"endOffset":30498,"count":0}],"isBlockCoverage":false},{"functionName":"parseParams","ranges":[{"startOffset":30958,"endOffset":33306,"count":0}],"isBlockCoverage":false},{"functionName":"serializeParams","ranges":[{"startOffset":34286,"endOffset":34846,"count":0}],"isBlockCoverage":false},{"functionName":"merge","ranges":[{"startOffset":34866,"endOffset":35496,"count":0}],"isBlockCoverage":false},{"functionName":"domainToASCII","ranges":[{"startOffset":35498,"endOffset":35683,"count":0}],"isBlockCoverage":false},{"functionName":"domainToUnicode","ranges":[{"startOffset":35685,"endOffset":35874,"count":0}],"isBlockCoverage":false},{"functionName":"urlToHttpOptions","ranges":[{"startOffset":36084,"endOffset":36785,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLWin32","ranges":[{"startOffset":36787,"endOffset":38284,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLPosix","ranges":[{"startOffset":38286,"endOffset":38807,"count":692},{"startOffset":38349,"endOffset":38405,"count":0},{"startOffset":38483,"endOffset":38766,"count":52826},{"startOffset":38514,"endOffset":38762,"count":0}],"isBlockCoverage":true},{"functionName":"fileURLToPath","ranges":[{"startOffset":38809,"endOffset":39148,"count":692},{"startOffset":38876,"endOffset":38897,"count":31},{"startOffset":38897,"endOffset":38991,"count":661},{"startOffset":38927,"endOffset":38991,"count":0},{"startOffset":39029,"endOffset":39070,"count":0},{"startOffset":39090,"endOffset":39117,"count":0}],"isBlockCoverage":true},{"functionName":"encodePathChars","ranges":[{"startOffset":39961,"endOffset":40737,"count":173},{"startOffset":40054,"endOffset":40125,"count":0},{"startOffset":40253,"endOffset":40326,"count":0},{"startOffset":40384,"endOffset":40455,"count":0},{"startOffset":40513,"endOffset":40591,"count":0},{"startOffset":40649,"endOffset":40716,"count":0}],"isBlockCoverage":true},{"functionName":"pathToFileURL","ranges":[{"startOffset":40739,"endOffset":42716,"count":173},{"startOffset":40790,"endOffset":40836,"count":0},{"startOffset":40838,"endOffset":41603,"count":0},{"startOffset":41885,"endOffset":41946,"count":172},{"startOffset":41906,"endOffset":41945,"count":0},{"startOffset":41948,"endOffset":41999,"count":1},{"startOffset":42005,"endOffset":42021,"count":1},{"startOffset":42477,"endOffset":42549,"count":0},{"startOffset":42606,"endOffset":42674,"count":0}],"isBlockCoverage":true},{"functionName":"toPathIfFileURL","ranges":[{"startOffset":42718,"endOffset":42855,"count":989},{"startOffset":42793,"endOffset":42814,"count":905},{"startOffset":42814,"endOffset":42854,"count":84}],"isBlockCoverage":true},{"functionName":"getURLOrigin","ranges":[{"startOffset":43042,"endOffset":43108,"count":0}],"isBlockCoverage":false}]},{"scriptId":"111","url":"node:internal/querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3316,"count":1}],"isBlockCoverage":false},{"functionName":"encodeStr","ranges":[{"startOffset":1534,"endOffset":3253,"count":0}],"isBlockCoverage":false}]},{"scriptId":"112","url":"node:querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14583,"count":1}],"isBlockCoverage":false},{"functionName":"unescapeBuffer","ranges":[{"startOffset":3146,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"qsUnescape","ranges":[{"startOffset":4400,"endOffset":4565,"count":0}],"isBlockCoverage":false},{"functionName":"qsEscape","ranges":[{"startOffset":5418,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"stringifyPrimitive","ranges":[{"startOffset":5719,"endOffset":5989,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringified","ranges":[{"startOffset":6110,"endOffset":6599,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringifiedCustom","ranges":[{"startOffset":6718,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":7065,"endOffset":8131,"count":0}],"isBlockCoverage":false},{"functionName":"charCodes","ranges":[{"startOffset":8187,"endOffset":8455,"count":0}],"isBlockCoverage":false},{"functionName":"addKeyVal","ranges":[{"startOffset":8518,"endOffset":9141,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":9392,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"decodeStr","ranges":[{"startOffset":14459,"endOffset":14582,"count":0}],"isBlockCoverage":false}]},{"scriptId":"113","url":"node:internal/bootstrap/web/exposed-wildcard","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3439,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":900,"endOffset":1129,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1153,"endOffset":1265,"count":0}],"isBlockCoverage":false},{"functionName":"createGlobalConsole","ranges":[{"startOffset":1898,"endOffset":2437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"114","url":"node:internal/console/global","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1814,"count":1}],"isBlockCoverage":false}]},{"scriptId":"115","url":"node:internal/console/constructor","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21601,"count":1}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1875,"endOffset":1975,"count":0}],"isBlockCoverage":false},{"functionName":"Console","ranges":[{"startOffset":2721,"endOffset":4813,"count":1},{"startOffset":2999,"endOffset":3053,"count":0},{"startOffset":3110,"endOffset":3223,"count":0},{"startOffset":3428,"endOffset":3486,"count":0},{"startOffset":3540,"endOffset":3598,"count":0},{"startOffset":3637,"endOffset":3660,"count":0},{"startOffset":3666,"endOffset":3722,"count":0},{"startOffset":3762,"endOffset":3871,"count":0},{"startOffset":3909,"endOffset":4215,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4331,"endOffset":4697,"count":19}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5042,"endOffset":5096,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5366,"endOffset":5607,"count":1}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5832,"endOffset":6477,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6041,"endOffset":6136,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6148,"endOffset":6178,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6308,"endOffset":6407,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6419,"endOffset":6449,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":6569,"endOffset":7977,"count":2}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":8069,"endOffset":9521,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":9616,"endOffset":10026,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10119,"endOffset":10299,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10392,"endOffset":10572,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteErrorHandler","ranges":[{"startOffset":10662,"endOffset":11551,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10730,"endOffset":11548,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":11580,"endOffset":11667,"count":0}],"isBlockCoverage":false},{"functionName":"warn","ranges":[{"startOffset":11673,"endOffset":11761,"count":0}],"isBlockCoverage":false},{"functionName":"dir","ranges":[{"startOffset":11767,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"time","ranges":[{"startOffset":11958,"endOffset":12316,"count":0}],"isBlockCoverage":false},{"functionName":"timeEnd","ranges":[{"startOffset":12321,"endOffset":12610,"count":0}],"isBlockCoverage":false},{"functionName":"timeLog","ranges":[{"startOffset":12615,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"trace","ranges":[{"startOffset":12865,"endOffset":13052,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":13057,"endOffset":13297,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":13358,"endOffset":13830,"count":0}],"isBlockCoverage":false},{"functionName":"count","ranges":[{"startOffset":13891,"endOffset":14347,"count":0}],"isBlockCoverage":false},{"functionName":"countReset","ranges":[{"startOffset":14413,"endOffset":14701,"count":0}],"isBlockCoverage":false},{"functionName":"group","ranges":[{"startOffset":14706,"endOffset":14891,"count":0}],"isBlockCoverage":false},{"functionName":"groupEnd","ranges":[{"startOffset":14896,"endOffset":15065,"count":0}],"isBlockCoverage":false},{"functionName":"table","ranges":[{"startOffset":15114,"endOffset":18432,"count":0}],"isBlockCoverage":false},{"functionName":"timeLogImpl","ranges":[{"startOffset":18473,"endOffset":18992,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":18994,"endOffset":19071,"count":0}],"isBlockCoverage":false},{"functionName":"formatTime","ranges":[{"startOffset":19073,"endOffset":19846,"count":0}],"isBlockCoverage":false},{"functionName":"isArray","ranges":[{"startOffset":19980,"endOffset":20036,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":20039,"endOffset":20057,"count":0}],"isBlockCoverage":false},{"functionName":"initializeGlobalConsole","ranges":[{"startOffset":20425,"endOffset":21464,"count":1},{"startOffset":20793,"endOffset":21463,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21359,"endOffset":21460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"116","url":"node:internal/util/inspector","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3929,"count":1}],"isBlockCoverage":false},{"functionName":"isUsingInspector","ranges":[{"startOffset":698,"endOffset":1081,"count":0}],"isBlockCoverage":false},{"functionName":"getInspectPort","ranges":[{"startOffset":1108,"endOffset":1485,"count":0}],"isBlockCoverage":false},{"functionName":"sendInspectorCommand","ranges":[{"startOffset":1500,"endOffset":2046,"count":0}],"isBlockCoverage":false},{"functionName":"isInspectorMessage","ranges":[{"startOffset":2048,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"installConsoleExtensions","ranges":[{"startOffset":2248,"endOffset":2891,"count":0}],"isBlockCoverage":false},{"functionName":"wrapConsole","ranges":[{"startOffset":2970,"endOffset":3778,"count":1},{"startOffset":3137,"endOffset":3776,"count":24},{"startOffset":3368,"endOffset":3654,"count":19},{"startOffset":3654,"endOffset":3772,"count":5}],"isBlockCoverage":true}]},{"scriptId":"117","url":"node:internal/process/permission","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":919,"count":1}],"isBlockCoverage":false},{"functionName":"isEnabled","ranges":[{"startOffset":315,"endOffset":559,"count":1789},{"startOffset":375,"endOffset":520,"count":1}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":563,"endOffset":913,"count":0}],"isBlockCoverage":false}]},{"scriptId":"118","url":"node:internal/event_target","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31545,"count":1}],"isBlockCoverage":false},{"functionName":"get isTrusted","ranges":[{"startOffset":2074,"endOffset":2130,"count":0}],"isBlockCoverage":false},{"functionName":"isEvent","ranges":[{"startOffset":2268,"endOffset":2340,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2342,"endOffset":7042,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":7039,"count":1}],"isBlockCoverage":false},{"functionName":"isCustomEvent","ranges":[{"startOffset":8173,"endOffset":8267,"count":0}],"isBlockCoverage":false},{"functionName":"CustomEvent","ranges":[{"startOffset":8497,"endOffset":8689,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":8722,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"NodeCustomEvent","ranges":[{"startOffset":9118,"endOffset":9245,"count":0}],"isBlockCoverage":false},{"functionName":"weakListeners","ranges":[{"startOffset":9495,"endOffset":9822,"count":0}],"isBlockCoverage":false},{"functionName":"Listener","ranges":[{"startOffset":10502,"endOffset":11966,"count":13},{"startOffset":10837,"endOffset":10856,"count":0},{"startOffset":10880,"endOffset":10902,"count":0},{"startOffset":10926,"endOffset":10948,"count":0},{"startOffset":11029,"endOffset":11048,"count":0},{"startOffset":11086,"endOffset":11122,"count":0},{"startOffset":11194,"endOffset":11650,"count":0},{"startOffset":11763,"endOffset":11962,"count":0}],"isBlockCoverage":true},{"functionName":"Listener.callback","ranges":[{"startOffset":11793,"endOffset":11923,"count":0}],"isBlockCoverage":false},{"functionName":"get once","ranges":[{"startOffset":11970,"endOffset":12030,"count":6}],"isBlockCoverage":true},{"functionName":"get capture","ranges":[{"startOffset":12033,"endOffset":12099,"count":4}],"isBlockCoverage":true},{"functionName":"get passive","ranges":[{"startOffset":12102,"endOffset":12168,"count":6}],"isBlockCoverage":true},{"functionName":"get isNodeStyleListener","ranges":[{"startOffset":12171,"endOffset":12251,"count":12}],"isBlockCoverage":true},{"functionName":"get weak","ranges":[{"startOffset":12254,"endOffset":12314,"count":39}],"isBlockCoverage":true},{"functionName":"get resistStopPropagation","ranges":[{"startOffset":12317,"endOffset":12411,"count":0}],"isBlockCoverage":false},{"functionName":"get removed","ranges":[{"startOffset":12414,"endOffset":12480,"count":6}],"isBlockCoverage":true},{"functionName":"set removed","ranges":[{"startOffset":12483,"endOffset":12600,"count":17},{"startOffset":12525,"endOffset":12552,"count":4},{"startOffset":12552,"endOffset":12596,"count":13}],"isBlockCoverage":true},{"functionName":"same","ranges":[{"startOffset":12604,"endOffset":12771,"count":16},{"startOffset":12663,"endOffset":12686,"count":0},{"startOffset":12739,"endOffset":12766,"count":4}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":12775,"endOffset":13032,"count":4},{"startOffset":12900,"endOffset":12935,"count":2},{"startOffset":12986,"endOffset":13028,"count":0}],"isBlockCoverage":true},{"functionName":"initEventTarget","ranges":[{"startOffset":13036,"endOffset":13255,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13463,"endOffset":13493,"count":1}],"isBlockCoverage":false},{"functionName":"EventTarget","ranges":[{"startOffset":13498,"endOffset":13544,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13548,"endOffset":14353,"count":13},{"startOffset":13709,"endOffset":13757,"count":0},{"startOffset":13759,"endOffset":14349,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14356,"endOffset":14407,"count":4}],"isBlockCoverage":true},{"functionName":"addEventListener","ranges":[{"startOffset":14796,"endOffset":17514,"count":13},{"startOffset":14891,"endOffset":14933,"count":0},{"startOffset":14970,"endOffset":15017,"count":0},{"startOffset":15409,"endOffset":15862,"count":0},{"startOffset":15926,"endOffset":16310,"count":0},{"startOffset":16381,"endOffset":16873,"count":7},{"startOffset":16873,"endOffset":17028,"count":6},{"startOffset":17028,"endOffset":17063,"count":8},{"startOffset":17065,"endOffset":17128,"count":8},{"startOffset":17128,"endOffset":17161,"count":6},{"startOffset":17161,"endOffset":17203,"count":0},{"startOffset":17203,"endOffset":17513,"count":6}],"isBlockCoverage":true},{"functionName":"signal.addEventListener.__proto__","ranges":[{"startOffset":16141,"endOffset":16215,"count":0}],"isBlockCoverage":false},{"functionName":"removeEventListener","ranges":[{"startOffset":17672,"endOffset":18513,"count":4},{"startOffset":17770,"endOffset":17812,"count":0},{"startOffset":17849,"endOffset":17896,"count":0},{"startOffset":17945,"endOffset":17952,"count":0},{"startOffset":18151,"endOffset":18158,"count":0},{"startOffset":18223,"endOffset":18509,"count":8},{"startOffset":18268,"endOffset":18473,"count":4},{"startOffset":18356,"endOffset":18383,"count":0},{"startOffset":18473,"endOffset":18509,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18517,"endOffset":19138,"count":0}],"isBlockCoverage":false},{"functionName":"dispatchEvent","ranges":[{"startOffset":19180,"endOffset":19641,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19645,"endOffset":21941,"count":4},{"startOffset":19944,"endOffset":20020,"count":0},{"startOffset":20119,"endOffset":20219,"count":0},{"startOffset":20496,"endOffset":21866,"count":6},{"startOffset":20637,"endOffset":20646,"count":0},{"startOffset":20656,"endOffset":20689,"count":0},{"startOffset":20692,"endOffset":21022,"count":0},{"startOffset":21047,"endOffset":21217,"count":0},{"startOffset":21327,"endOffset":21375,"count":0},{"startOffset":21414,"endOffset":21450,"count":0},{"startOffset":21622,"endOffset":21680,"count":0},{"startOffset":21724,"endOffset":21742,"count":0},{"startOffset":21754,"endOffset":21771,"count":0},{"startOffset":21780,"endOffset":21837,"count":0},{"startOffset":21903,"endOffset":21937,"count":0}],"isBlockCoverage":true},{"functionName":"createEvent","ranges":[{"startOffset":19713,"endOffset":19913,"count":0}],"isBlockCoverage":false},{"functionName":"iterationCondition","ranges":[{"startOffset":20296,"endOffset":20461,"count":10},{"startOffset":20337,"endOffset":20368,"count":4},{"startOffset":20368,"endOffset":20427,"count":6},{"startOffset":20428,"endOffset":20454,"count":6},{"startOffset":20436,"endOffset":20445,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21945,"endOffset":22043,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22046,"endOffset":22425,"count":0}],"isBlockCoverage":false},{"functionName":"initNodeEventTarget","ranges":[{"startOffset":22750,"endOffset":22813,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":22899,"endOffset":22930,"count":1}],"isBlockCoverage":false},{"functionName":"NodeEventTarget","ranges":[{"startOffset":22935,"endOffset":22998,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":23037,"endOffset":23191,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":23230,"endOffset":23383,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":23424,"endOffset":23573,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":23638,"endOffset":23847,"count":0}],"isBlockCoverage":false},{"functionName":"off","ranges":[{"startOffset":24037,"endOffset":24230,"count":4},{"startOffset":24108,"endOffset":24154,"count":0}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":24420,"endOffset":24624,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":24755,"endOffset":24960,"count":13},{"startOffset":24816,"endOffset":24862,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":25091,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":25393,"endOffset":25653,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":25784,"endOffset":26029,"count":0}],"isBlockCoverage":false},{"functionName":"removeAllListeners","ranges":[{"startOffset":26105,"endOffset":26360,"count":0}],"isBlockCoverage":false},{"functionName":"validateEventListener","ranges":[{"startOffset":26825,"endOffset":27197,"count":17},{"startOffset":26905,"endOffset":26957,"count":0},{"startOffset":26981,"endOffset":27196,"count":0}],"isBlockCoverage":true},{"functionName":"validateEventListenerOptions","ranges":[{"startOffset":27199,"endOffset":27778,"count":13},{"startOffset":27288,"endOffset":27316,"count":0},{"startOffset":27346,"endOffset":27366,"count":0}],"isBlockCoverage":true},{"functionName":"isEventTarget","ranges":[{"startOffset":28083,"endOffset":28159,"count":17}],"isBlockCoverage":true},{"functionName":"isNodeEventTarget","ranges":[{"startOffset":28161,"endOffset":28245,"count":17}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":28247,"endOffset":28561,"count":0}],"isBlockCoverage":false},{"functionName":"emitUncaughtException","ranges":[{"startOffset":28563,"endOffset":28644,"count":0}],"isBlockCoverage":false},{"functionName":"makeEventHandler","ranges":[{"startOffset":28646,"endOffset":29055,"count":0}],"isBlockCoverage":false},{"functionName":"defineEventHandler","ranges":[{"startOffset":29057,"endOffset":30523,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":29217,"endOffset":29353,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":29452,"endOffset":30290,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterMixin","ranges":[{"startOffset":30551,"endOffset":31241,"count":1},{"startOffset":30982,"endOffset":31144,"count":18}],"isBlockCoverage":true},{"functionName":"MixedEventEmitter","ranges":[{"startOffset":30620,"endOffset":30761,"count":58}],"isBlockCoverage":true}]},{"scriptId":"119","url":"node:util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10913,"count":1}],"isBlockCoverage":false},{"functionName":"lazyAbortController","ranges":[{"startOffset":2369,"endOffset":2489,"count":24}],"isBlockCoverage":true},{"functionName":"isBoolean","ranges":[{"startOffset":2600,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"isNull","ranges":[{"startOffset":2746,"endOffset":2793,"count":0}],"isBlockCoverage":false},{"functionName":"isNullOrUndefined","ranges":[{"startOffset":2891,"endOffset":2970,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":3056,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":3174,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbol","ranges":[{"startOffset":3320,"endOffset":3380,"count":0}],"isBlockCoverage":false},{"functionName":"isUndefined","ranges":[{"startOffset":3469,"endOffset":3526,"count":0}],"isBlockCoverage":false},{"functionName":"isObject","ranges":[{"startOffset":3623,"endOffset":3699,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":3782,"endOffset":3885,"count":0}],"isBlockCoverage":false},{"functionName":"isFunction","ranges":[{"startOffset":3973,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"isPrimitive","ranges":[{"startOffset":4172,"endOffset":4291,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":4343,"endOffset":4418,"count":0}],"isBlockCoverage":false},{"functionName":"timestamp","ranges":[{"startOffset":4584,"endOffset":4865,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":5023,"endOffset":5176,"count":0}],"isBlockCoverage":false},{"functionName":"inherits","ranges":[{"startOffset":5909,"endOffset":6547,"count":0}],"isBlockCoverage":false},{"functionName":"_extend","ranges":[{"startOffset":6700,"endOffset":6988,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7036,"endOffset":7461,"count":0}],"isBlockCoverage":false},{"functionName":"callbackify","ranges":[{"startOffset":7714,"endOffset":9211,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorName","ranges":[{"startOffset":9265,"endOffset":9481,"count":0}],"isBlockCoverage":false},{"functionName":"isDeepStrictEqual","ranges":[{"startOffset":9882,"endOffset":10087,"count":0}],"isBlockCoverage":false},{"functionName":"get transferableAbortSignal","ranges":[{"startOffset":10340,"endOffset":10433,"count":8}],"isBlockCoverage":true},{"functionName":"get transferableAbortController","ranges":[{"startOffset":10437,"endOffset":10538,"count":8}],"isBlockCoverage":true},{"functionName":"get aborted","ranges":[{"startOffset":10542,"endOffset":10603,"count":8}],"isBlockCoverage":true}]},{"scriptId":"120","url":"node:internal/webidl","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4636,"count":1}],"isBlockCoverage":false},{"functionName":"evenRound","ranges":[{"startOffset":825,"endOffset":1150,"count":0}],"isBlockCoverage":false},{"functionName":"pow2","ranges":[{"startOffset":1152,"endOffset":1415,"count":0}],"isBlockCoverage":false},{"functionName":"modulo","ranges":[{"startOffset":1527,"endOffset":1641,"count":0}],"isBlockCoverage":false},{"functionName":"convertToInt","ranges":[{"startOffset":1706,"endOffset":4313,"count":0}],"isBlockCoverage":false},{"functionName":"DOMString","ranges":[{"startOffset":4438,"endOffset":4568,"count":17},{"startOffset":4491,"endOffset":4545,"count":0}],"isBlockCoverage":true}]},{"scriptId":"121","url":"node:internal/perf/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":787,"count":1}],"isBlockCoverage":false},{"functionName":"getTimeOrigin","ranges":[{"startOffset":138,"endOffset":316,"count":0}],"isBlockCoverage":false},{"functionName":"now","ranges":[{"startOffset":390,"endOffset":496,"count":0}],"isBlockCoverage":false},{"functionName":"getMilestoneTimestamp","ranges":[{"startOffset":575,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"122","url":"node:internal/bootstrap/web/exposed-window-or-worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2185,"count":1}],"isBlockCoverage":false}]},{"scriptId":"123","url":"node:internal/bootstrap/switches/is_not_main_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1185,"count":1}],"isBlockCoverage":false},{"functionName":"defineStream","ranges":[{"startOffset":119,"endOffset":288,"count":3}],"isBlockCoverage":true},{"functionName":"lazyWorkerStdio","ranges":[{"startOffset":902,"endOffset":1009,"count":23},{"startOffset":951,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"getStdout","ranges":[{"startOffset":1011,"endOffset":1068,"count":8}],"isBlockCoverage":true},{"functionName":"getStderr","ranges":[{"startOffset":1070,"endOffset":1127,"count":9}],"isBlockCoverage":true},{"functionName":"getStdin","ranges":[{"startOffset":1129,"endOffset":1184,"count":6}],"isBlockCoverage":true}]},{"scriptId":"124","url":"node:internal/process/signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":false},{"functionName":"isSignal","ranges":[{"startOffset":238,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"startListeningIfSignal","ranges":[{"startOffset":398,"endOffset":904,"count":0}],"isBlockCoverage":false},{"functionName":"stopListeningIfSignal","ranges":[{"startOffset":906,"endOffset":1101,"count":0}],"isBlockCoverage":false}]},{"scriptId":"125","url":"node:internal/worker/io","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15479,"count":1}],"isBlockCoverage":false},{"functionName":"MessagePort.hasRef","ranges":[{"startOffset":3683,"endOffset":3766,"count":0}],"isBlockCoverage":false},{"functionName":"validateMessagePort","ranges":[{"startOffset":3769,"endOffset":3907,"count":0}],"isBlockCoverage":false},{"functionName":"isMessageEvent","ranges":[{"startOffset":3909,"endOffset":3985,"count":0}],"isBlockCoverage":false},{"functionName":"MessageEvent","ranges":[{"startOffset":4024,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4628,"endOffset":4752,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4862,"endOffset":4988,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5103,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5344,"endOffset":5470,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5579,"endOffset":5704,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5946,"endOffset":6264,"count":0}],"isBlockCoverage":false},{"functionName":"oninit","ranges":[{"startOffset":6403,"endOffset":6546,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortCloseEvent","ranges":[{"startOffset":6848,"endOffset":6887,"count":0}],"isBlockCoverage":false},{"functionName":"onclose","ranges":[{"startOffset":6960,"endOffset":7033,"count":0}],"isBlockCoverage":false},{"functionName":"MessagePort.close","ranges":[{"startOffset":7214,"endOffset":7349,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":7482,"endOffset":8110,"count":0}],"isBlockCoverage":false},{"functionName":"setupPortReferencing","ranges":[{"startOffset":8117,"endOffset":9480,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8478,"endOffset":8573,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8612,"endOffset":8710,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8812,"endOffset":8957,"count":9},{"startOffset":8872,"endOffset":8894,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9068,"endOffset":9215,"count":4},{"startOffset":9128,"endOffset":9149,"count":3}],"isBlockCoverage":true},{"functionName":"newListener","ranges":[{"startOffset":9221,"endOffset":9362,"count":6},{"startOffset":9270,"endOffset":9358,"count":2}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":9366,"endOffset":9478,"count":3},{"startOffset":9418,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"ReadableWorkerStdio","ranges":[{"startOffset":9530,"endOffset":9879,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9708,"endOffset":9873,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":9883,"endOffset":10189,"count":0}],"isBlockCoverage":false},{"functionName":"WritableWorkerStdio","ranges":[{"startOffset":10240,"endOffset":10389,"count":2}],"isBlockCoverage":true},{"functionName":"_writev","ranges":[{"startOffset":10393,"endOffset":10769,"count":0}],"isBlockCoverage":false},{"functionName":"_final","ranges":[{"startOffset":10773,"endOffset":10953,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10957,"endOffset":11204,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11099,"endOffset":11111,"count":0}],"isBlockCoverage":false},{"functionName":"createWorkerStdio","ranges":[{"startOffset":11208,"endOffset":11478,"count":1}],"isBlockCoverage":true},{"functionName":"receiveMessageOnPort","ranges":[{"startOffset":11480,"endOffset":11660,"count":0}],"isBlockCoverage":false},{"functionName":"onMessageEvent","ranges":[{"startOffset":11662,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"isBroadcastChannel","ranges":[{"startOffset":11759,"endOffset":11845,"count":0}],"isBlockCoverage":false},{"functionName":"BroadcastChannel","ranges":[{"startOffset":11932,"endOffset":12446,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12450,"endOffset":12863,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":12899,"endOffset":13028,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13065,"endOffset":13463,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":13531,"endOffset":13941,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":14224,"endOffset":14391,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":14676,"endOffset":14847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"126","url":"node:stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4784,"count":1}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2402,"endOffset":2558,"count":0}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2983,"endOffset":3117,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4105,"endOffset":4137,"count":16}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4235,"endOffset":4276,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4369,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"_uint8ArrayToBuffer","ranges":[{"startOffset":4575,"endOffset":4782,"count":0}],"isBlockCoverage":false}]},{"scriptId":"127","url":"node:internal/streams/operators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10772,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":1019,"endOffset":1599,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":1601,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"asIndexedPairs","ranges":[{"startOffset":4706,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"some","ranges":[{"startOffset":5181,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"every","ranges":[{"startOffset":5331,"endOffset":5659,"count":0}],"isBlockCoverage":false},{"functionName":"find","ranges":[{"startOffset":5661,"endOffset":5803,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":5805,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":6177,"endOffset":6504,"count":0}],"isBlockCoverage":false},{"functionName":"ReduceAwareErrMissingArgs","ranges":[{"startOffset":6720,"endOffset":6834,"count":0}],"isBlockCoverage":false},{"functionName":"reduce","ranges":[{"startOffset":6838,"endOffset":8280,"count":0}],"isBlockCoverage":false},{"functionName":"toArray","ranges":[{"startOffset":8282,"endOffset":8711,"count":0}],"isBlockCoverage":false},{"functionName":"flatMap","ranges":[{"startOffset":8713,"endOffset":8907,"count":0}],"isBlockCoverage":false},{"functionName":"toIntegerOrInfinity","ranges":[{"startOffset":8909,"endOffset":9231,"count":0}],"isBlockCoverage":false},{"functionName":"drop","ranges":[{"startOffset":9233,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"take","ranges":[{"startOffset":9783,"endOffset":10453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"128","url":"node:internal/abort_controller","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12413,"count":1}],"isBlockCoverage":false},{"functionName":"lazyMessageChannel","ranges":[{"startOffset":1574,"endOffset":1707,"count":0}],"isBlockCoverage":false},{"functionName":"lazyMakeTransferable","ranges":[{"startOffset":1709,"endOffset":1867,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":2337,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"validateThisAbortSignal","ranges":[{"startOffset":2598,"endOffset":2723,"count":0}],"isBlockCoverage":false},{"functionName":"setWeakAbortSignalTimeout","ranges":[{"startOffset":3305,"endOffset":3705,"count":0}],"isBlockCoverage":false},{"functionName":"AbortSignal","ranges":[{"startOffset":3749,"endOffset":3809,"count":0}],"isBlockCoverage":false},{"functionName":"get aborted","ranges":[{"startOffset":3846,"endOffset":3929,"count":0}],"isBlockCoverage":false},{"functionName":"get reason","ranges":[{"startOffset":3962,"endOffset":4041,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfAborted","ranges":[{"startOffset":4045,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4165,"endOffset":4294,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":4372,"endOffset":4516,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":4594,"endOffset":4856,"count":0}],"isBlockCoverage":false},{"functionName":"any","ranges":[{"startOffset":4943,"endOffset":6278,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6282,"endOffset":7050,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7408,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7412,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8023,"endOffset":8275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8279,"endOffset":8727,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal","ranges":[{"startOffset":8731,"endOffset":8815,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal.","ranges":[{"startOffset":8860,"endOffset":8868,"count":0}],"isBlockCoverage":false},{"functionName":"createAbortSignal","ranges":[{"startOffset":9346,"endOffset":9759,"count":0}],"isBlockCoverage":false},{"functionName":"abortSignal","ranges":[{"startOffset":9761,"endOffset":10123,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10125,"endOffset":10781,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortSignal","ranges":[{"startOffset":10929,"endOffset":11121,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortController","ranges":[{"startOffset":11193,"endOffset":11282,"count":0}],"isBlockCoverage":false},{"functionName":"aborted","ranges":[{"startOffset":11376,"endOffset":11964,"count":0}],"isBlockCoverage":false}]},{"scriptId":"129","url":"node:internal/streams/end-of-stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8360,"count":1}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":891,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":1000,"endOffset":1008,"count":0}],"isBlockCoverage":false},{"functionName":"eos","ranges":[{"startOffset":1011,"endOffset":6953,"count":0}],"isBlockCoverage":false},{"functionName":"eosWeb","ranges":[{"startOffset":6955,"endOffset":7840,"count":0}],"isBlockCoverage":false},{"functionName":"finished","ranges":[{"startOffset":7842,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"130","url":"node:internal/streams/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8416,"count":1}],"isBlockCoverage":false},{"functionName":"isReadableNodeStream","ranges":[{"startOffset":774,"endOffset":1191,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableNodeStream","ranges":[{"startOffset":1193,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexNodeStream","ranges":[{"startOffset":1415,"endOffset":1614,"count":0}],"isBlockCoverage":false},{"functionName":"isNodeStream","ranges":[{"startOffset":1616,"endOffset":1887,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":1889,"endOffset":2103,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":2105,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":2275,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"isWebStream","ranges":[{"startOffset":2444,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"isIterable","ranges":[{"startOffset":2558,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"isDestroyed","ranges":[{"startOffset":2890,"endOffset":3153,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableEnded","ranges":[{"startOffset":3177,"endOffset":3468,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableFinished","ranges":[{"startOffset":3496,"endOffset":3893,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableEnded","ranges":[{"startOffset":3922,"endOffset":4223,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableFinished","ranges":[{"startOffset":4248,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":4598,"endOffset":4898,"count":0}],"isBlockCoverage":false},{"functionName":"isWritable","ranges":[{"startOffset":4900,"endOffset":5197,"count":0}],"isBlockCoverage":false},{"functionName":"isFinished","ranges":[{"startOffset":5199,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableErrored","ranges":[{"startOffset":5515,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableErrored","ranges":[{"startOffset":5729,"endOffset":5941,"count":0}],"isBlockCoverage":false},{"functionName":"isClosed","ranges":[{"startOffset":5943,"endOffset":6448,"count":0}],"isBlockCoverage":false},{"functionName":"isOutgoingMessage","ranges":[{"startOffset":6450,"endOffset":6702,"count":0}],"isBlockCoverage":false},{"functionName":"isServerResponse","ranges":[{"startOffset":6704,"endOffset":6831,"count":0}],"isBlockCoverage":false},{"functionName":"isServerRequest","ranges":[{"startOffset":6833,"endOffset":7021,"count":0}],"isBlockCoverage":false},{"functionName":"willEmitClose","ranges":[{"startOffset":7023,"endOffset":7361,"count":0}],"isBlockCoverage":false},{"functionName":"isDisturbed","ranges":[{"startOffset":7363,"endOffset":7508,"count":0}],"isBlockCoverage":false},{"functionName":"isErrored","ranges":[{"startOffset":7510,"endOffset":7815,"count":0}],"isBlockCoverage":false}]},{"scriptId":"131","url":"node:internal/streams/compose","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5451,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":543,"endOffset":5449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"132","url":"node:internal/streams/pipeline","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12326,"count":1}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":1058,"endOffset":1487,"count":0}],"isBlockCoverage":false},{"functionName":"popCallback","ranges":[{"startOffset":1489,"endOffset":1817,"count":0}],"isBlockCoverage":false},{"functionName":"makeAsyncIterable","ranges":[{"startOffset":1819,"endOffset":2105,"count":0}],"isBlockCoverage":false},{"functionName":"fromReadable","ranges":[{"startOffset":2107,"endOffset":2281,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToNode","ranges":[{"startOffset":2283,"endOffset":3327,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToWeb","ranges":[{"startOffset":3329,"endOffset":3927,"count":0}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":3929,"endOffset":4022,"count":0}],"isBlockCoverage":false},{"functionName":"pipelineImpl","ranges":[{"startOffset":4024,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"pipe","ranges":[{"startOffset":10478,"endOffset":12279,"count":0}],"isBlockCoverage":false}]},{"scriptId":"133","url":"node:internal/streams/destroy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6826,"count":1}],"isBlockCoverage":false},{"functionName":"checkError","ranges":[{"startOffset":360,"endOffset":671,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":781,"endOffset":1568,"count":0}],"isBlockCoverage":false},{"functionName":"_destroy","ranges":[{"startOffset":1570,"endOffset":2184,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseNT","ranges":[{"startOffset":2186,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":2275,"endOffset":2523,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":2525,"endOffset":2800,"count":0}],"isBlockCoverage":false},{"functionName":"undestroy","ranges":[{"startOffset":2802,"endOffset":3492,"count":0}],"isBlockCoverage":false},{"functionName":"errorOrDestroy","ranges":[{"startOffset":3494,"endOffset":4413,"count":0}],"isBlockCoverage":false},{"functionName":"construct","ranges":[{"startOffset":4415,"endOffset":4821,"count":3},{"startOffset":4512,"endOffset":4820,"count":0}],"isBlockCoverage":true},{"functionName":"constructNT","ranges":[{"startOffset":4823,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"emitConstructNT","ranges":[{"startOffset":5572,"endOffset":5635,"count":0}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":5637,"endOffset":5733,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseLegacy","ranges":[{"startOffset":5735,"endOffset":5795,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseLegacy","ranges":[{"startOffset":5797,"endOffset":5917,"count":0}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":5952,"endOffset":6734,"count":0}],"isBlockCoverage":false}]},{"scriptId":"134","url":"node:internal/streams/duplex","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4938,"count":1}],"isBlockCoverage":false},{"functionName":"Duplex","ranges":[{"startOffset":1996,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3811,"endOffset":4023,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4029,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":4364,"endOffset":4528,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.fromWeb","ranges":[{"startOffset":4547,"endOffset":4665,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.toWeb","ranges":[{"startOffset":4683,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.from","ranges":[{"startOffset":4805,"endOffset":4936,"count":0}],"isBlockCoverage":false}]},{"scriptId":"135","url":"node:internal/streams/readable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43849,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1799,"endOffset":1824,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2617,"endOffset":2625,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3306,"endOffset":3522,"count":19}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3381,"endOffset":3423,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":3429,"endOffset":3514,"count":0}],"isBlockCoverage":false},{"functionName":"ReadableState","ranges":[{"startOffset":5398,"endOffset":8222,"count":1},{"startOffset":5797,"endOffset":5840,"count":0},{"startOffset":6159,"endOffset":6180,"count":0},{"startOffset":6182,"endOffset":6208,"count":0},{"startOffset":6225,"endOffset":6235,"count":0},{"startOffset":6236,"endOffset":6265,"count":0},{"startOffset":6271,"endOffset":6297,"count":0},{"startOffset":6472,"endOffset":6544,"count":0},{"startOffset":6946,"endOffset":6976,"count":0},{"startOffset":6978,"endOffset":7004,"count":0},{"startOffset":7093,"endOffset":7125,"count":0},{"startOffset":7127,"endOffset":7155,"count":0},{"startOffset":7652,"endOffset":7669,"count":0},{"startOffset":7742,"endOffset":7901,"count":0},{"startOffset":8100,"endOffset":8119,"count":0},{"startOffset":8121,"endOffset":8220,"count":0}],"isBlockCoverage":true},{"functionName":"Readable","ranges":[{"startOffset":8225,"endOffset":9113,"count":1},{"startOffset":8293,"endOffset":8322,"count":0},{"startOffset":8593,"endOffset":8937,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9000,"endOffset":9109,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._destroy","ranges":[{"startOffset":9250,"endOffset":9282,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9333,"endOffset":9371,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9415,"endOffset":9671,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.push","ranges":[{"startOffset":9900,"endOffset":9986,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unshift","ranges":[{"startOffset":10082,"endOffset":10167,"count":0}],"isBlockCoverage":false},{"functionName":"readableAddChunk","ranges":[{"startOffset":10170,"endOffset":12572,"count":0}],"isBlockCoverage":false},{"functionName":"addChunk","ranges":[{"startOffset":12574,"endOffset":13339,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.isPaused","ranges":[{"startOffset":13371,"endOffset":13483,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.setEncoding","ranges":[{"startOffset":13547,"endOffset":14108,"count":0}],"isBlockCoverage":false},{"functionName":"computeNewHighWaterMark","ranges":[{"startOffset":14169,"endOffset":14520,"count":0}],"isBlockCoverage":false},{"functionName":"howMuchToRead","ranges":[{"startOffset":14633,"endOffset":15044,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.read","ranges":[{"startOffset":15141,"endOffset":19643,"count":0}],"isBlockCoverage":false},{"functionName":"onEofChunk","ranges":[{"startOffset":19646,"endOffset":20466,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable","ranges":[{"startOffset":20667,"endOffset":20994,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable_","ranges":[{"startOffset":20996,"endOffset":21650,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore","ranges":[{"startOffset":22000,"endOffset":22177,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore_","ranges":[{"startOffset":22179,"endOffset":23971,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._read","ranges":[{"startOffset":24242,"endOffset":24308,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pipe","ranges":[{"startOffset":24337,"endOffset":28782,"count":0}],"isBlockCoverage":false},{"functionName":"pipeOnDrain","ranges":[{"startOffset":28785,"endOffset":29430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unpipe","ranges":[{"startOffset":29461,"endOffset":30162,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.on","ranges":[{"startOffset":30288,"endOffset":31195,"count":1},{"startOffset":30420,"endOffset":30752,"count":0},{"startOffset":30781,"endOffset":31178,"count":0}],"isBlockCoverage":true},{"functionName":"Readable.removeListener","ranges":[{"startOffset":31290,"endOffset":31855,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.removeAllListeners","ranges":[{"startOffset":31958,"endOffset":32552,"count":0}],"isBlockCoverage":false},{"functionName":"updateReadableListening","ranges":[{"startOffset":32555,"endOffset":33065,"count":0}],"isBlockCoverage":false},{"functionName":"nReadingNextTick","ranges":[{"startOffset":33067,"endOffset":33155,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.resume","ranges":[{"startOffset":33309,"endOffset":33634,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":33637,"endOffset":33787,"count":0}],"isBlockCoverage":false},{"functionName":"resume_","ranges":[{"startOffset":33789,"endOffset":34040,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pause","ranges":[{"startOffset":34069,"endOffset":34336,"count":0}],"isBlockCoverage":false},{"functionName":"flow","ranges":[{"startOffset":34339,"endOffset":34486,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":34670,"endOffset":35691,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":35736,"endOffset":35788,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.iterator","ranges":[{"startOffset":35821,"endOffset":35964,"count":0}],"isBlockCoverage":false},{"functionName":"streamToAsyncIterator","ranges":[{"startOffset":35967,"endOffset":36216,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncIterator","ranges":[{"startOffset":36218,"endOffset":37294,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":37513,"endOffset":37902,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":37908,"endOffset":38038,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38120,"endOffset":38184,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38266,"endOffset":38474,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38562,"endOffset":38628,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38709,"endOffset":38791,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38873,"endOffset":38933,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":38944,"endOffset":39053,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39129,"endOffset":39183,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39263,"endOffset":39351,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39429,"endOffset":39514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39583,"endOffset":39667,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39712,"endOffset":39796,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39867,"endOffset":39954,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":39960,"endOffset":40249,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40324,"endOffset":40412,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40553,"endOffset":40598,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40678,"endOffset":40729,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":40735,"endOffset":40784,"count":0}],"isBlockCoverage":false},{"functionName":"fromList","ranges":[{"startOffset":41090,"endOffset":41652,"count":0}],"isBlockCoverage":false},{"functionName":"endReadable","ranges":[{"startOffset":41654,"endOffset":41875,"count":0}],"isBlockCoverage":false},{"functionName":"endReadableNT","ranges":[{"startOffset":41877,"endOffset":42797,"count":0}],"isBlockCoverage":false},{"functionName":"endWritableNT","ranges":[{"startOffset":42799,"endOffset":42959,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.from","ranges":[{"startOffset":42977,"endOffset":43046,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":43111,"endOffset":43275,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.fromWeb","ranges":[{"startOffset":43296,"endOffset":43430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.toWeb","ranges":[{"startOffset":43450,"endOffset":43584,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":43603,"endOffset":43847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"136","url":"node:internal/streams/legacy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2934,"count":1}],"isBlockCoverage":false},{"functionName":"Stream","ranges":[{"startOffset":112,"endOffset":160,"count":3}],"isBlockCoverage":true},{"functionName":"Stream.pipe","ranges":[{"startOffset":274,"endOffset":2076,"count":0}],"isBlockCoverage":false},{"functionName":"prependListener","ranges":[{"startOffset":2079,"endOffset":2886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"137","url":"node:internal/streams/add-abort-signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1704,"count":1}],"isBlockCoverage":false},{"functionName":"validateAbortSignal","ranges":[{"startOffset":557,"endOffset":716,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortSignal","ranges":[{"startOffset":751,"endOffset":1062,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.addAbortSignalNoValidate","ranges":[{"startOffset":1107,"endOffset":1702,"count":0}],"isBlockCoverage":false}]},{"scriptId":"138","url":"node:internal/streams/buffer_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4060,"count":1}],"isBlockCoverage":false},{"functionName":"BufferList","ranges":[{"startOffset":254,"endOffset":338,"count":1}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":342,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":533,"endOffset":691,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":695,"endOffset":922,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":926,"endOffset":994,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":998,"endOffset":1180,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":1184,"endOffset":1467,"count":0}],"isBlockCoverage":false},{"functionName":"consume","ranges":[{"startOffset":1551,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":2009,"endOffset":2049,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":2053,"endOffset":2149,"count":0}],"isBlockCoverage":false},{"functionName":"_getString","ranges":[{"startOffset":2224,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"_getBuffer","ranges":[{"startOffset":2932,"endOffset":3779,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":3860,"endOffset":4056,"count":0}],"isBlockCoverage":false}]},{"scriptId":"139","url":"node:internal/streams/state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1332,"count":1}],"isBlockCoverage":false},{"functionName":"highWaterMarkFrom","ranges":[{"startOffset":287,"endOffset":454,"count":2},{"startOffset":385,"endOffset":408,"count":0},{"startOffset":424,"endOffset":444,"count":0}],"isBlockCoverage":true},{"functionName":"getDefaultHighWaterMark","ranges":[{"startOffset":456,"endOffset":586,"count":3},{"startOffset":523,"endOffset":555,"count":0}],"isBlockCoverage":true},{"functionName":"setDefaultHighWaterMark","ranges":[{"startOffset":588,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"getHighWaterMark","ranges":[{"startOffset":801,"endOffset":1234,"count":2},{"startOffset":948,"endOffset":1160,"count":0}],"isBlockCoverage":true}]},{"scriptId":"140","url":"node:string_decoder","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5213,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeEncoding","ranges":[{"startOffset":2129,"endOffset":2391,"count":0}],"isBlockCoverage":false},{"functionName":"StringDecoder","ranges":[{"startOffset":2705,"endOffset":2904,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3227,"endOffset":3612,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":3889,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":4291,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4586,"endOffset":4799,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4891,"endOffset":4954,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5047,"endOffset":5162,"count":0}],"isBlockCoverage":false}]},{"scriptId":"141","url":"node:internal/streams/from","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2614,"count":1}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":241,"endOffset":2589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"142","url":"node:internal/streams/writable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29040,"count":1}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2389,"endOffset":2406,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3093,"endOffset":3309,"count":20}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3168,"endOffset":3210,"count":2}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3216,"endOffset":3301,"count":0}],"isBlockCoverage":false},{"functionName":"WritableState","ranges":[{"startOffset":5971,"endOffset":9003,"count":2},{"startOffset":6366,"endOffset":6409,"count":0},{"startOffset":6630,"endOffset":6656,"count":0},{"startOffset":6672,"endOffset":6682,"count":0},{"startOffset":6683,"endOffset":6712,"count":0},{"startOffset":6714,"endOffset":6740,"count":0},{"startOffset":7031,"endOffset":7067,"count":0},{"startOffset":7121,"endOffset":7150,"count":0},{"startOffset":7257,"endOffset":7283,"count":0},{"startOffset":7406,"endOffset":7434,"count":0},{"startOffset":7754,"endOffset":7913,"count":0}],"isBlockCoverage":true},{"functionName":"resetBuffer","ranges":[{"startOffset":9005,"endOffset":9127,"count":2}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":9165,"endOffset":9254,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9350,"endOffset":9415,"count":0}],"isBlockCoverage":false},{"functionName":"Writable","ranges":[{"startOffset":9422,"endOffset":10950,"count":2},{"startOffset":10123,"endOffset":10152,"count":0},{"startOffset":10291,"endOffset":10319,"count":0},{"startOffset":10373,"endOffset":10403,"count":0},{"startOffset":10458,"endOffset":10490,"count":0},{"startOffset":10543,"endOffset":10571,"count":0},{"startOffset":10628,"endOffset":10664,"count":0},{"startOffset":10696,"endOffset":10733,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10800,"endOffset":10946,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":11032,"endOffset":11236,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.pipe","ranges":[{"startOffset":11337,"endOffset":11405,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":11408,"endOffset":12809,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.write","ranges":[{"startOffset":12838,"endOffset":12924,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.cork","ranges":[{"startOffset":12953,"endOffset":12999,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.uncork","ranges":[{"startOffset":13030,"endOffset":13201,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultEncoding","ranges":[{"startOffset":13244,"endOffset":13569,"count":0}],"isBlockCoverage":false},{"functionName":"writeOrBuffer","ranges":[{"startOffset":13759,"endOffset":14872,"count":0}],"isBlockCoverage":false},{"functionName":"doWrite","ranges":[{"startOffset":14874,"endOffset":15262,"count":0}],"isBlockCoverage":false},{"functionName":"onwriteError","ranges":[{"startOffset":15264,"endOffset":15649,"count":0}],"isBlockCoverage":false},{"functionName":"onwrite","ranges":[{"startOffset":15651,"endOffset":17310,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteTick","ranges":[{"startOffset":17312,"endOffset":17451,"count":0}],"isBlockCoverage":false},{"functionName":"afterWrite","ranges":[{"startOffset":17453,"endOffset":17869,"count":0}],"isBlockCoverage":false},{"functionName":"errorBuffer","ranges":[{"startOffset":17941,"endOffset":18532,"count":0}],"isBlockCoverage":false},{"functionName":"clearBuffer","ranges":[{"startOffset":18598,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._write","ranges":[{"startOffset":20262,"endOffset":20431,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.end","ranges":[{"startOffset":20495,"endOffset":21953,"count":0}],"isBlockCoverage":false},{"functionName":"needFinish","ranges":[{"startOffset":21956,"endOffset":22419,"count":0}],"isBlockCoverage":false},{"functionName":"callFinal","ranges":[{"startOffset":22421,"endOffset":23393,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":23395,"endOffset":23733,"count":0}],"isBlockCoverage":false},{"functionName":"finishMaybe","ranges":[{"startOffset":23735,"endOffset":24234,"count":0}],"isBlockCoverage":false},{"functionName":"finish","ranges":[{"startOffset":24236,"endOffset":24986,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25071,"endOffset":25172,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25220,"endOffset":25324,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":25330,"endOffset":25576,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25623,"endOffset":26027,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":26033,"endOffset":26167,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26222,"endOffset":26325,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26382,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26540,"endOffset":26622,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26674,"endOffset":26775,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26831,"endOffset":27046,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27106,"endOffset":27190,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27243,"endOffset":27323,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27376,"endOffset":27453,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27522,"endOffset":27606,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27688,"endOffset":27927,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.destroy","ranges":[{"startOffset":28005,"endOffset":28318,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._destroy","ranges":[{"startOffset":28406,"endOffset":28438,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.","ranges":[{"startOffset":28489,"endOffset":28527,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":28592,"endOffset":28756,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.fromWeb","ranges":[{"startOffset":28777,"endOffset":28911,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.toWeb","ranges":[{"startOffset":28931,"endOffset":29038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"143","url":"node:stream/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":917,"count":1}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":318,"endOffset":869,"count":0}],"isBlockCoverage":false}]},{"scriptId":"144","url":"node:internal/streams/transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7176,"count":1}],"isBlockCoverage":false},{"functionName":"Transform","ranges":[{"startOffset":3920,"endOffset":5747,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5749,"endOffset":6193,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":6195,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._transform","ranges":[{"startOffset":6348,"endOffset":6443,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._write","ranges":[{"startOffset":6475,"endOffset":7018,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._read","ranges":[{"startOffset":7049,"endOffset":7174,"count":0}],"isBlockCoverage":false}]},{"scriptId":"145","url":"node:internal/streams/passthrough","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1762,"count":1}],"isBlockCoverage":false},{"functionName":"PassThrough","ranges":[{"startOffset":1529,"endOffset":1671,"count":0}],"isBlockCoverage":false},{"functionName":"PassThrough._transform","ranges":[{"startOffset":1708,"endOffset":1760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"146","url":"node:internal/bootstrap/switches/does_not_own_process_state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1278,"count":1}],"isBlockCoverage":false},{"functionName":"wrappedUmask","ranges":[{"startOffset":1047,"endOffset":1277,"count":0}],"isBlockCoverage":false}]},{"scriptId":"147","url":"node:internal/process/worker_thread_only","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":426,"count":1}],"isBlockCoverage":false},{"functionName":"unavailable","ranges":[{"startOffset":194,"endOffset":387,"count":8}],"isBlockCoverage":true},{"functionName":"unavailableInWorker","ranges":[{"startOffset":225,"endOffset":315,"count":0}],"isBlockCoverage":false}]},{"scriptId":"148","url":"node:internal/main/worker_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7311,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1096,"endOffset":1121,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2200,"endOffset":5806,"count":3},{"startOffset":2251,"endOffset":5390,"count":1},{"startOffset":2537,"endOffset":2599,"count":0},{"startOffset":3460,"endOffset":3541,"count":0},{"startOffset":3597,"endOffset":3671,"count":0},{"startOffset":3737,"endOffset":3762,"count":0},{"startOffset":3961,"endOffset":4206,"count":0},{"startOffset":4214,"endOffset":4743,"count":0},{"startOffset":4751,"endOffset":4995,"count":0},{"startOffset":5390,"endOffset":5804,"count":2},{"startOffset":5432,"endOffset":5591,"count":0}],"isBlockCoverage":true},{"functionName":"process.cwd","ranges":[{"startOffset":3133,"endOffset":3384,"count":3},{"startOffset":3260,"endOffset":3277,"count":2},{"startOffset":3277,"endOffset":3383,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4900,"endOffset":4970,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5508,"endOffset":5585,"count":0}],"isBlockCoverage":false},{"functionName":"workerOnGlobalUncaughtException","ranges":[{"startOffset":5810,"endOffset":7002,"count":0}],"isBlockCoverage":false}]},{"scriptId":"149","url":"node:internal/process/pre_execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":22973,"count":1}],"isBlockCoverage":false},{"functionName":"prepareMainThreadExecution","ranges":[{"startOffset":1091,"endOffset":1268,"count":0}],"isBlockCoverage":false},{"functionName":"prepareWorkerThreadExecution","ranges":[{"startOffset":1270,"endOffset":1469,"count":1}],"isBlockCoverage":true},{"functionName":"prepareExecution","ranges":[{"startOffset":1471,"endOffset":3628,"count":1},{"startOffset":2237,"endOffset":3408,"count":0},{"startOffset":3597,"endOffset":3626,"count":0}],"isBlockCoverage":true},{"functionName":"setupSymbolDisposePolyfill","ranges":[{"startOffset":3630,"endOffset":4365,"count":1}],"isBlockCoverage":true},{"functionName":"setupUserModules","ranges":[{"startOffset":4367,"endOffset":4795,"count":1},{"startOffset":4676,"endOffset":4693,"count":0}],"isBlockCoverage":true},{"functionName":"refreshRuntimeOptions","ranges":[{"startOffset":4797,"endOffset":4853,"count":1}],"isBlockCoverage":true},{"functionName":"patchProcessObject","ranges":[{"startOffset":4855,"endOffset":6952,"count":1},{"startOffset":5388,"endOffset":5406,"count":0},{"startOffset":5407,"endOffset":5464,"count":0},{"startOffset":5466,"endOffset":5677,"count":0}],"isBlockCoverage":true},{"functionName":"addReadOnlyProcessAlias","ranges":[{"startOffset":6954,"endOffset":7235,"count":13},{"startOffset":7075,"endOffset":7233,"count":1}],"isBlockCoverage":true},{"functionName":"setupWarningHandler","ranges":[{"startOffset":7237,"endOffset":7757,"count":1},{"startOffset":7612,"endOffset":7751,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7641,"endOffset":7743,"count":0}],"isBlockCoverage":false},{"functionName":"setupFetch","ranges":[{"startOffset":7793,"endOffset":8933,"count":1},{"startOffset":7913,"endOffset":7930,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUndici","ranges":[{"startOffset":7948,"endOffset":8093,"count":0}],"isBlockCoverage":false},{"functionName":"fetch","ranges":[{"startOffset":8097,"endOffset":8192,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInterface","ranges":[{"startOffset":8244,"endOffset":8485,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8345,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8403,"endOffset":8473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8818,"endOffset":8929,"count":0}],"isBlockCoverage":false},{"functionName":"setupWebCrypto","ranges":[{"startOffset":9037,"endOffset":9989,"count":1},{"startOffset":9172,"endOffset":9189,"count":0},{"startOffset":9678,"endOffset":9987,"count":0}],"isBlockCoverage":true},{"functionName":"cryptoThisCheck","ranges":[{"startOffset":9363,"endOffset":9539,"count":0}],"isBlockCoverage":false},{"functionName":"get crypto","ranges":[{"startOffset":9840,"endOffset":9939,"count":0}],"isBlockCoverage":false},{"functionName":"setupCodeCoverage","ranges":[{"startOffset":9991,"endOffset":10512,"count":1}],"isBlockCoverage":true},{"functionName":"setupCustomEvent","ranges":[{"startOffset":10618,"endOffset":10895,"count":1},{"startOffset":10757,"endOffset":10774,"count":0}],"isBlockCoverage":true},{"functionName":"setupStacktracePrinterOnSigint","ranges":[{"startOffset":10897,"endOffset":11122,"count":0}],"isBlockCoverage":false},{"functionName":"initializeReport","ranges":[{"startOffset":11124,"endOffset":11373,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":11269,"endOffset":11364,"count":6}],"isBlockCoverage":true},{"functionName":"setupDebugEnv","ranges":[{"startOffset":11375,"endOffset":11606,"count":1},{"startOffset":11526,"endOffset":11604,"count":0}],"isBlockCoverage":true},{"functionName":"initializeReportSignalHandlers","ranges":[{"startOffset":11668,"endOffset":11856,"count":0}],"isBlockCoverage":false},{"functionName":"initializeHeapSnapshotSignalHandlers","ranges":[{"startOffset":11858,"endOffset":12592,"count":0}],"isBlockCoverage":false},{"functionName":"setupTraceCategoryState","ranges":[{"startOffset":12594,"endOffset":12853,"count":1}],"isBlockCoverage":true},{"functionName":"setupInspectorHooks","ranges":[{"startOffset":12855,"endOffset":13437,"count":1}],"isBlockCoverage":true},{"functionName":"initializeDeprecations","ranges":[{"startOffset":13632,"endOffset":15584,"count":1},{"startOffset":14344,"endOffset":14646,"count":16},{"startOffset":14389,"endOffset":14621,"count":0},{"startOffset":14963,"endOffset":15160,"count":0},{"startOffset":15188,"endOffset":15582,"count":0}],"isBlockCoverage":true},{"functionName":"setupChildProcessIpcChannel","ranges":[{"startOffset":15586,"endOffset":16151,"count":0}],"isBlockCoverage":false},{"functionName":"initializeClusterIPC","ranges":[{"startOffset":16153,"endOffset":16423,"count":0}],"isBlockCoverage":false},{"functionName":"initializePermission","ranges":[{"startOffset":16425,"endOffset":18308,"count":1},{"startOffset":16567,"endOffset":17928,"count":0}],"isBlockCoverage":true},{"functionName":"binding","ranges":[{"startOffset":16591,"endOffset":16678,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18140,"endOffset":18300,"count":4},{"startOffset":18218,"endOffset":18294,"count":0}],"isBlockCoverage":true},{"functionName":"readPolicyFromDisk","ranges":[{"startOffset":18310,"endOffset":20129,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCJSLoader","ranges":[{"startOffset":20131,"endOffset":20252,"count":1}],"isBlockCoverage":true},{"functionName":"initializeESMLoader","ranges":[{"startOffset":20254,"endOffset":20829,"count":1},{"startOffset":20582,"endOffset":20827,"count":0}],"isBlockCoverage":true},{"functionName":"initializeSourceMapsHandlers","ranges":[{"startOffset":20831,"endOffset":21029,"count":1}],"isBlockCoverage":true},{"functionName":"initializeFrozenIntrinsics","ranges":[{"startOffset":21031,"endOffset":21288,"count":1},{"startOffset":21116,"endOffset":21286,"count":0}],"isBlockCoverage":true},{"functionName":"loadPreloadModules","ranges":[{"startOffset":21290,"endOffset":21638,"count":1},{"startOffset":21484,"endOffset":21636,"count":0}],"isBlockCoverage":true},{"functionName":"markBootstrapComplete","ranges":[{"startOffset":21640,"endOffset":21734,"count":1}],"isBlockCoverage":true},{"functionName":"getHeapSnapshotFilename","ranges":[{"startOffset":21889,"endOffset":22790,"count":0}],"isBlockCoverage":false}]},{"scriptId":"150","url":"node:internal/v8/startup_snapshot","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3382,"count":1}],"isBlockCoverage":false},{"functionName":"isBuildingSnapshot","ranges":[{"startOffset":433,"endOffset":504,"count":4}],"isBlockCoverage":true},{"functionName":"throwIfNotBuildingSnapshot","ranges":[{"startOffset":506,"endOffset":625,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfBuildingSnapshot","ranges":[{"startOffset":627,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"runDeserializeCallbacks","ranges":[{"startOffset":831,"endOffset":1004,"count":0}],"isBlockCoverage":false},{"functionName":"addDeserializeCallback","ranges":[{"startOffset":1006,"endOffset":1541,"count":0}],"isBlockCoverage":false},{"functionName":"runSerializeCallbacks","ranges":[{"startOffset":1574,"endOffset":1741,"count":0}],"isBlockCoverage":false},{"functionName":"addSerializeCallback","ranges":[{"startOffset":1743,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCallbacks","ranges":[{"startOffset":1913,"endOffset":2122,"count":0}],"isBlockCoverage":false},{"functionName":"setDeserializeMainFunction","ranges":[{"startOffset":2158,"endOffset":3105,"count":0}],"isBlockCoverage":false}]},{"scriptId":"151","url":"node:internal/inspector_async_hook","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1973,"count":1}],"isBlockCoverage":false},{"functionName":"lazyHookCreation","ranges":[{"startOffset":75,"endOffset":1257,"count":0}],"isBlockCoverage":false},{"functionName":"enable","ranges":[{"startOffset":1259,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":1842,"endOffset":1928,"count":0}],"isBlockCoverage":false}]},{"scriptId":"152","url":"node:internal/source_map/prepare_stack_trace","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7404,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":334,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"prepareStackTrace","ranges":[{"startOffset":895,"endOffset":3880,"count":0}],"isBlockCoverage":false},{"functionName":"getOriginalSymbolName","ranges":[{"startOffset":4031,"endOffset":4774,"count":0}],"isBlockCoverage":false},{"functionName":"getErrorSource","ranges":[{"startOffset":4942,"endOffset":6024,"count":0}],"isBlockCoverage":false},{"functionName":"getOriginalSource","ranges":[{"startOffset":6026,"endOffset":6923,"count":0}],"isBlockCoverage":false},{"functionName":"getSourceMapErrorSource","ranges":[{"startOffset":6925,"endOffset":7305,"count":0}],"isBlockCoverage":false}]},{"scriptId":"153","url":"node:fs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":85023,"count":1}],"isBlockCoverage":false},{"functionName":"showTruncateDeprecation","ranges":[{"startOffset":4028,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"maybeCallback","ranges":[{"startOffset":4317,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"makeCallback","ranges":[{"startOffset":4594,"endOffset":4706,"count":0}],"isBlockCoverage":false},{"functionName":"makeStatsCallback","ranges":[{"startOffset":4887,"endOffset":5054,"count":0}],"isBlockCoverage":false},{"functionName":"isFileType","ranges":[{"startOffset":5079,"endOffset":5339,"count":6503},{"startOffset":5278,"endOffset":5298,"count":636}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":5555,"endOffset":5913,"count":0}],"isBlockCoverage":false},{"functionName":"accessSync","ranges":[{"startOffset":6101,"endOffset":6165,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6327,"endOffset":6565,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6652,"endOffset":6784,"count":0}],"isBlockCoverage":false},{"functionName":"existsSync","ranges":[{"startOffset":7332,"endOffset":7391,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterOpen","ranges":[{"startOffset":7393,"endOffset":7673,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterStat","ranges":[{"startOffset":7675,"endOffset":8553,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":8555,"endOffset":8728,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":9061,"endOffset":10013,"count":0}],"isBlockCoverage":false},{"functionName":"tryStatSync","ranges":[{"startOffset":10015,"endOffset":10245,"count":1},{"startOffset":10158,"endOffset":10170,"count":0},{"startOffset":10172,"endOffset":10227,"count":0}],"isBlockCoverage":true},{"functionName":"tryCreateBuffer","ranges":[{"startOffset":10247,"endOffset":10558,"count":1},{"startOffset":10365,"endOffset":10417,"count":0},{"startOffset":10504,"endOffset":10516,"count":0},{"startOffset":10518,"endOffset":10535,"count":0}],"isBlockCoverage":true},{"functionName":"tryReadSync","ranges":[{"startOffset":10560,"endOffset":10815,"count":1},{"startOffset":10758,"endOffset":10770,"count":0},{"startOffset":10772,"endOffset":10789,"count":0}],"isBlockCoverage":true},{"functionName":"readFileSync","ranges":[{"startOffset":11039,"endOffset":12564,"count":379},{"startOffset":11161,"endOffset":11192,"count":2},{"startOffset":11194,"endOffset":11251,"count":377},{"startOffset":11251,"endOffset":11335,"count":2},{"startOffset":11335,"endOffset":11341,"count":0},{"startOffset":11342,"endOffset":11382,"count":2},{"startOffset":11470,"endOffset":11480,"count":1},{"startOffset":11481,"endOffset":11484,"count":0},{"startOffset":11614,"endOffset":11637,"count":0},{"startOffset":11637,"endOffset":11889,"count":1},{"startOffset":11889,"endOffset":12258,"count":0},{"startOffset":12258,"endOffset":12318,"count":1},{"startOffset":12318,"endOffset":12414,"count":0},{"startOffset":12414,"endOffset":12476,"count":1},{"startOffset":12436,"endOffset":12476,"count":0},{"startOffset":12476,"endOffset":12502,"count":1},{"startOffset":12502,"endOffset":12545,"count":0},{"startOffset":12545,"endOffset":12563,"count":1}],"isBlockCoverage":true},{"functionName":"defaultCloseCallback","ranges":[{"startOffset":12566,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12760,"endOffset":13013,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":13109,"endOffset":13162,"count":1}],"isBlockCoverage":true},{"functionName":"open","ranges":[{"startOffset":13405,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"openSync","ranges":[{"startOffset":14154,"endOffset":14235,"count":2}],"isBlockCoverage":true},{"functionName":"openAsBlob","ranges":[{"startOffset":14364,"endOffset":14846,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":15210,"endOffset":17170,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":17624,"endOffset":18761,"count":1},{"startOffset":17846,"endOffset":18102,"count":0},{"startOffset":18132,"endOffset":18153,"count":0},{"startOffset":18244,"endOffset":18263,"count":0},{"startOffset":18296,"endOffset":18426,"count":0}],"isBlockCoverage":true},{"functionName":"readv","ranges":[{"startOffset":19106,"endOffset":19523,"count":0}],"isBlockCoverage":false},{"functionName":"readvSync","ranges":[{"startOffset":19925,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20641,"endOffset":22188,"count":0}],"isBlockCoverage":false},{"functionName":"writeSync","ranges":[{"startOffset":22645,"endOffset":23778,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":24105,"endOffset":24627,"count":0}],"isBlockCoverage":false},{"functionName":"writevSync","ranges":[{"startOffset":24995,"endOffset":25354,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":25595,"endOffset":25976,"count":0}],"isBlockCoverage":false},{"functionName":"renameSync","ranges":[{"startOffset":26175,"endOffset":26522,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":26680,"endOffset":27341,"count":0}],"isBlockCoverage":false},{"functionName":"truncateSync","ranges":[{"startOffset":27471,"endOffset":27874,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":28026,"endOffset":28363,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncateSync","ranges":[{"startOffset":28487,"endOffset":28704,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadCp","ranges":[{"startOffset":28706,"endOffset":28912,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadRimraf","ranges":[{"startOffset":28914,"endOffset":29033,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":29291,"endOffset":30153,"count":0}],"isBlockCoverage":false},{"functionName":"rmdirSync","ranges":[{"startOffset":30368,"endOffset":30888,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":31226,"endOffset":31604,"count":0}],"isBlockCoverage":false},{"functionName":"rmSync","ranges":[{"startOffset":31899,"endOffset":32109,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":32340,"endOffset":32511,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasyncSync","ranges":[{"startOffset":32714,"endOffset":32861,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":33048,"endOffset":33211,"count":0}],"isBlockCoverage":false},{"functionName":"fsyncSync","ranges":[{"startOffset":33370,"endOffset":33509,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":33753,"endOffset":34468,"count":0}],"isBlockCoverage":false},{"functionName":"mkdirSync","ranges":[{"startOffset":34678,"endOffset":35384,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSyncRecursive","ranges":[{"startOffset":35717,"endOffset":37463,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":37763,"endOffset":38541,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSync","ranges":[{"startOffset":38805,"endOffset":39408,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":39649,"endOffset":39995,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":40261,"endOffset":40646,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":40876,"endOffset":41259,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":41261,"endOffset":41754,"count":0}],"isBlockCoverage":false},{"functionName":"hasNoEntryError","ranges":[{"startOffset":41756,"endOffset":41971,"count":0}],"isBlockCoverage":false},{"functionName":"fstatSync","ranges":[{"startOffset":42147,"endOffset":42386,"count":0}],"isBlockCoverage":false},{"functionName":"lstatSync","ranges":[{"startOffset":42634,"endOffset":43058,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":43273,"endOffset":43346,"count":0}],"isBlockCoverage":false},{"functionName":"statfsSync","ranges":[{"startOffset":43348,"endOffset":43425,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":43703,"endOffset":44047,"count":0}],"isBlockCoverage":false},{"functionName":"readlinkSync","ranges":[{"startOffset":44261,"endOffset":44588,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":44830,"endOffset":46483,"count":0}],"isBlockCoverage":false},{"functionName":"symlinkSync","ranges":[{"startOffset":46698,"endOffset":47359,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":47586,"endOffset":47987,"count":0}],"isBlockCoverage":false},{"functionName":"linkSync","ranges":[{"startOffset":48186,"endOffset":48635,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":48796,"endOffset":49023,"count":0}],"isBlockCoverage":false},{"functionName":"unlinkSync","ranges":[{"startOffset":49141,"endOffset":49200,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":49363,"endOffset":49602,"count":0}],"isBlockCoverage":false},{"functionName":"fchmodSync","ranges":[{"startOffset":49737,"endOffset":49928,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":50109,"endOffset":50602,"count":0}],"isBlockCoverage":false},{"functionName":"lchmodSync","ranges":[{"startOffset":50755,"endOffset":51077,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":51273,"endOffset":51549,"count":0}],"isBlockCoverage":false},{"functionName":"chmodSync","ranges":[{"startOffset":51702,"endOffset":51937,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":52133,"endOffset":52474,"count":0}],"isBlockCoverage":false},{"functionName":"lchownSync","ranges":[{"startOffset":52642,"endOffset":52942,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":53112,"endOffset":53415,"count":0}],"isBlockCoverage":false},{"functionName":"fchownSync","ranges":[{"startOffset":53557,"endOffset":53813,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":54029,"endOffset":54369,"count":0}],"isBlockCoverage":false},{"functionName":"chownSync","ranges":[{"startOffset":54542,"endOffset":54840,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":55109,"endOffset":55450,"count":0}],"isBlockCoverage":false},{"functionName":"utimesSync","ranges":[{"startOffset":55691,"endOffset":55973,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":56254,"endOffset":56559,"count":0}],"isBlockCoverage":false},{"functionName":"futimesSync","ranges":[{"startOffset":56815,"endOffset":57072,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":57356,"endOffset":57702,"count":0}],"isBlockCoverage":false},{"functionName":"lutimesSync","ranges":[{"startOffset":57962,"endOffset":58266,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":58268,"endOffset":59231,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":59588,"endOffset":60454,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":60741,"endOffset":61443,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":61748,"endOffset":62188,"count":0}],"isBlockCoverage":false},{"functionName":"appendFileSync","ranges":[{"startOffset":62450,"endOffset":62829,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":63197,"endOffset":64950,"count":0}],"isBlockCoverage":false},{"functionName":"watchFile","ranges":[{"startOffset":65300,"endOffset":66324,"count":0}],"isBlockCoverage":false},{"functionName":"unwatchFile","ranges":[{"startOffset":66474,"endOffset":67213,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67429,"endOffset":67525,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67550,"endOffset":67760,"count":457},{"startOffset":67617,"endOffset":67740,"count":914},{"startOffset":67695,"endOffset":67734,"count":457},{"startOffset":67740,"endOffset":67759,"count":0}],"isBlockCoverage":true},{"functionName":"encodeRealpathResult","ranges":[{"startOffset":67765,"endOffset":68052,"count":457},{"startOffset":67850,"endOffset":67880,"count":0},{"startOffset":67900,"endOffset":68051,"count":0}],"isBlockCoverage":true},{"functionName":"nextPart","ranges":[{"startOffset":68175,"endOffset":68434,"count":0}],"isBlockCoverage":false},{"functionName":"nextPart","ranges":[{"startOffset":68458,"endOffset":68533,"count":3569}],"isBlockCoverage":true},{"functionName":"realpathSync","ranges":[{"startOffset":68707,"endOffset":72603,"count":552},{"startOffset":68831,"endOffset":68849,"count":0},{"startOffset":69010,"endOffset":69045,"count":95},{"startOffset":69045,"endOffset":69607,"count":457},{"startOffset":69607,"endOffset":69779,"count":0},{"startOffset":69779,"endOffset":69916,"count":457},{"startOffset":69916,"endOffset":72530,"count":3569},{"startOffset":70028,"endOffset":70159,"count":457},{"startOffset":70159,"endOffset":70317,"count":3112},{"startOffset":70434,"endOffset":70571,"count":2933},{"startOffset":70525,"endOffset":70549,"count":0},{"startOffset":70571,"endOffset":70637,"count":636},{"startOffset":70674,"endOffset":70723,"count":0},{"startOffset":70723,"endOffset":72027,"count":636},{"startOffset":71163,"endOffset":71947,"count":0},{"startOffset":71991,"endOffset":72021,"count":0},{"startOffset":72027,"endOffset":72342,"count":0},{"startOffset":72344,"endOffset":72526,"count":0},{"startOffset":72530,"endOffset":72544,"count":457}],"isBlockCoverage":true},{"functionName":"realpathSync.native","ranges":[{"startOffset":72792,"endOffset":73056,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":73363,"endOffset":76894,"count":0}],"isBlockCoverage":false},{"functionName":"realpath.native","ranges":[{"startOffset":77221,"endOffset":77516,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":77761,"endOffset":78271,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtempSync","ranges":[{"startOffset":78452,"endOffset":78944,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":79208,"endOffset":79669,"count":0}],"isBlockCoverage":false},{"functionName":"copyFileSync","ranges":[{"startOffset":79901,"endOffset":79979,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":80272,"endOffset":80677,"count":0}],"isBlockCoverage":false},{"functionName":"cpSync","ranges":[{"startOffset":80938,"endOffset":81202,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadStreams","ranges":[{"startOffset":81204,"endOffset":81395,"count":40},{"startOffset":81252,"endOffset":81393,"count":1}],"isBlockCoverage":true},{"functionName":"createReadStream","ranges":[{"startOffset":81824,"endOffset":81929,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":82264,"endOffset":82371,"count":0}],"isBlockCoverage":false},{"functionName":"get ReadStream","ranges":[{"startOffset":83615,"endOffset":83683,"count":10}],"isBlockCoverage":true},{"functionName":"set ReadStream","ranges":[{"startOffset":83688,"endOffset":83735,"count":0}],"isBlockCoverage":false},{"functionName":"get WriteStream","ranges":[{"startOffset":83740,"endOffset":83810,"count":10}],"isBlockCoverage":true},{"functionName":"set WriteStream","ranges":[{"startOffset":83815,"endOffset":83864,"count":0}],"isBlockCoverage":false},{"functionName":"get FileReadStream","ranges":[{"startOffset":84002,"endOffset":84078,"count":10}],"isBlockCoverage":true},{"functionName":"set FileReadStream","ranges":[{"startOffset":84083,"endOffset":84138,"count":0}],"isBlockCoverage":false},{"functionName":"get FileWriteStream","ranges":[{"startOffset":84143,"endOffset":84221,"count":10}],"isBlockCoverage":true},{"functionName":"set FileWriteStream","ranges":[{"startOffset":84226,"endOffset":84283,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":84916,"endOffset":85012,"count":10}],"isBlockCoverage":true}]},{"scriptId":"154","url":"node:internal/blob","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12628,"count":1}],"isBlockCoverage":false},{"functionName":"lazyReadableStream","ranges":[{"startOffset":1851,"endOffset":2063,"count":0}],"isBlockCoverage":false},{"functionName":"isBlob","ranges":[{"startOffset":2113,"endOffset":2182,"count":0}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":2184,"endOffset":2863,"count":0}],"isBlockCoverage":false},{"functionName":"Blob","ranges":[{"startOffset":3115,"endOffset":4227,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4231,"endOffset":4501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4505,"endOffset":4957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4961,"endOffset":5087,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":5138,"endOffset":5243,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":5294,"endOffset":5401,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":5529,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBuffer","ranges":[{"startOffset":6364,"endOffset":7373,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":7421,"endOffset":7586,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":7633,"endOffset":10704,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob","ranges":[{"startOffset":10708,"endOffset":10803,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob.","ranges":[{"startOffset":10841,"endOffset":10849,"count":0}],"isBlockCoverage":false},{"functionName":"createBlob","ranges":[{"startOffset":10852,"endOffset":11055,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObjectURL","ranges":[{"startOffset":11408,"endOffset":12019,"count":0}],"isBlockCoverage":false},{"functionName":"createBlobFromFilePath","ranges":[{"startOffset":12142,"endOffset":12501,"count":0}],"isBlockCoverage":false}]},{"scriptId":"155","url":"node:internal/encoding","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17340,"count":1}],"isBlockCoverage":false},{"functionName":"validateEncoder","ranges":[{"startOffset":1250,"endOffset":1375,"count":0}],"isBlockCoverage":false},{"functionName":"validateDecoder","ranges":[{"startOffset":1377,"endOffset":1502,"count":58},{"startOffset":1458,"endOffset":1500,"count":0}],"isBlockCoverage":true},{"functionName":"trimAsciiWhitespace","ranges":[{"startOffset":8799,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingFromLabel","ranges":[{"startOffset":9299,"endOffset":9478,"count":3},{"startOffset":9410,"endOffset":9477,"count":0}],"isBlockCoverage":true},{"functionName":"TextEncoder","ranges":[{"startOffset":9502,"endOffset":9548,"count":1}],"isBlockCoverage":true},{"functionName":"get encoding","ranges":[{"startOffset":9552,"endOffset":9619,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":9623,"endOffset":9715,"count":0}],"isBlockCoverage":false},{"functionName":"encodeInto","ranges":[{"startOffset":9719,"endOffset":10125,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10129,"endOffset":10526,"count":0}],"isBlockCoverage":false},{"functionName":"makeTextDecoderICU","ranges":[{"startOffset":10898,"endOffset":12864,"count":1}],"isBlockCoverage":true},{"functionName":"TextDecoder","ranges":[{"startOffset":11036,"endOffset":11973,"count":3},{"startOffset":11346,"endOffset":11393,"count":0},{"startOffset":11477,"endOffset":11500,"count":2},{"startOffset":11501,"endOffset":11504,"count":1},{"startOffset":11541,"endOffset":11569,"count":2},{"startOffset":11570,"endOffset":11573,"count":1},{"startOffset":11924,"endOffset":11967,"count":0}],"isBlockCoverage":true},{"functionName":"#prepareConverter","ranges":[{"startOffset":11979,"endOffset":12244,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":12250,"endOffset":12835,"count":58},{"startOffset":12485,"endOffset":12834,"count":0}],"isBlockCoverage":true},{"functionName":"makeTextDecoderJS","ranges":[{"startOffset":12866,"endOffset":15701,"count":0}],"isBlockCoverage":false},{"functionName":"get encoding","ranges":[{"startOffset":15798,"endOffset":15873,"count":0}],"isBlockCoverage":false},{"functionName":"get fatal","ranges":[{"startOffset":15878,"endOffset":15999,"count":0}],"isBlockCoverage":false},{"functionName":"get ignoreBOM","ranges":[{"startOffset":16004,"endOffset":16153,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectGetOwnPropertyDescriptors","ranges":[{"startOffset":16158,"endOffset":16741,"count":0}],"isBlockCoverage":false}]},{"scriptId":"156","url":"node:internal/webstreams/queuingstrategies","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3851,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":931,"endOffset":958,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1038,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"getNonWritablePropertyDescriptor","ranges":[{"startOffset":1114,"endOffset":1200,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1238,"endOffset":2284,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2544,"endOffset":3561,"count":0}],"isBlockCoverage":false}]},{"scriptId":"157","url":"node:internal/webstreams/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7549,"count":1}],"isBlockCoverage":false},{"functionName":"extractHighWaterMark","ranges":[{"startOffset":1074,"endOffset":1367,"count":0}],"isBlockCoverage":false},{"functionName":"extractSizeAlgorithm","ranges":[{"startOffset":1369,"endOffset":1508,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":1510,"endOffset":1742,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetBuffer","ranges":[{"startOffset":1926,"endOffset":2034,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteLength","ranges":[{"startOffset":2036,"endOffset":2152,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteOffset","ranges":[{"startOffset":2154,"endOffset":2270,"count":0}],"isBlockCoverage":false},{"functionName":"cloneAsUint8Array","ranges":[{"startOffset":2272,"endOffset":2577,"count":0}],"isBlockCoverage":false},{"functionName":"isBrandCheck","ranges":[{"startOffset":2579,"endOffset":2743,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2619,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"transferArrayBuffer","ranges":[{"startOffset":2745,"endOffset":2968,"count":0}],"isBlockCoverage":false},{"functionName":"isViewedArrayBufferDetached","ranges":[{"startOffset":2970,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"dequeueValue","ranges":[{"startOffset":3140,"endOffset":3525,"count":0}],"isBlockCoverage":false},{"functionName":"resetQueue","ranges":[{"startOffset":3527,"endOffset":3745,"count":0}],"isBlockCoverage":false},{"functionName":"peekQueueValue","ranges":[{"startOffset":3747,"endOffset":3982,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueValueWithSize","ranges":[{"startOffset":3984,"endOffset":4449,"count":0}],"isBlockCoverage":false},{"functionName":"ensureIsPromise","ranges":[{"startOffset":4451,"endOffset":4690,"count":0}],"isBlockCoverage":false},{"functionName":"isPromisePending","ranges":[{"startOffset":4692,"endOffset":4855,"count":0}],"isBlockCoverage":false},{"functionName":"setPromiseHandled","ranges":[{"startOffset":4857,"endOffset":5136,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpFlush","ranges":[{"startOffset":5138,"endOffset":5168,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpStart","ranges":[{"startOffset":5170,"endOffset":5194,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpPull","ranges":[{"startOffset":5196,"endOffset":5225,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpCancel","ranges":[{"startOffset":5227,"endOffset":5258,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpWrite","ranges":[{"startOffset":5260,"endOffset":5290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyTransfer","ranges":[{"startOffset":5306,"endOffset":5438,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncFromSyncIterator","ranges":[{"startOffset":5440,"endOffset":5779,"count":0}],"isBlockCoverage":false},{"functionName":"getIterator","ranges":[{"startOffset":5781,"endOffset":6509,"count":0}],"isBlockCoverage":false},{"functionName":"iteratorNext","ranges":[{"startOffset":6511,"endOffset":6973,"count":0}],"isBlockCoverage":false}]},{"scriptId":"158","url":"node:internal/fs/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":26847,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFs","ranges":[{"startOffset":3551,"endOffset":3630,"count":0}],"isBlockCoverage":false},{"functionName":"assertEncoding","ranges":[{"startOffset":3632,"endOffset":3832,"count":929},{"startOffset":3683,"endOffset":3714,"count":377},{"startOffset":3716,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"Dirent","ranges":[{"startOffset":3851,"endOffset":3954,"count":0}],"isBlockCoverage":false},{"functionName":"isDirectory","ranges":[{"startOffset":3958,"endOffset":4019,"count":0}],"isBlockCoverage":false},{"functionName":"isFile","ranges":[{"startOffset":4023,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"isBlockDevice","ranges":[{"startOffset":4084,"endOffset":4149,"count":0}],"isBlockCoverage":false},{"functionName":"isCharacterDevice","ranges":[{"startOffset":4153,"endOffset":4221,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbolicLink","ranges":[{"startOffset":4225,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"isFIFO","ranges":[{"startOffset":4294,"endOffset":4351,"count":0}],"isBlockCoverage":false},{"functionName":"isSocket","ranges":[{"startOffset":4355,"endOffset":4416,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats","ranges":[{"startOffset":4461,"endOffset":4552,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats.","ranges":[{"startOffset":4697,"endOffset":4746,"count":0}],"isBlockCoverage":false},{"functionName":"copyObject","ranges":[{"startOffset":4751,"endOffset":4879,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":4929,"endOffset":5536,"count":0}],"isBlockCoverage":false},{"functionName":"getDirents","ranges":[{"startOffset":5538,"endOffset":6653,"count":0}],"isBlockCoverage":false},{"functionName":"getDirent","ranges":[{"startOffset":6655,"endOffset":7436,"count":0}],"isBlockCoverage":false},{"functionName":"getOptions","ranges":[{"startOffset":7438,"endOffset":8064,"count":989},{"startOffset":7522,"endOffset":7554,"count":929},{"startOffset":7556,"endOffset":7588,"count":60},{"startOffset":7588,"endOffset":7625,"count":929},{"startOffset":7625,"endOffset":7743,"count":377},{"startOffset":7743,"endOffset":7865,"count":552},{"startOffset":7782,"endOffset":7865,"count":0},{"startOffset":7865,"endOffset":7979,"count":929},{"startOffset":7979,"endOffset":8043,"count":0},{"startOffset":8043,"endOffset":8063,"count":929}],"isBlockCoverage":true},{"functionName":"handleErrorFromBinding","ranges":[{"startOffset":8122,"endOffset":8651,"count":637},{"startOffset":8192,"endOffset":8327,"count":0},{"startOffset":8359,"endOffset":8649,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8792,"endOffset":9388,"count":989},{"startOffset":9022,"endOffset":9042,"count":0},{"startOffset":9112,"endOffset":9180,"count":0},{"startOffset":9199,"endOffset":9387,"count":0}],"isBlockCoverage":true},{"functionName":"preprocessSymlinkDestination","ranges":[{"startOffset":9392,"endOffset":10098,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase","ranges":[{"startOffset":10131,"endOffset":10438,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isDirectory","ranges":[{"startOffset":10474,"endOffset":10531,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFile","ranges":[{"startOffset":10563,"endOffset":10620,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isBlockDevice","ranges":[{"startOffset":10659,"endOffset":10716,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isCharacterDevice","ranges":[{"startOffset":10759,"endOffset":10816,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSymbolicLink","ranges":[{"startOffset":10856,"endOffset":10913,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFIFO","ranges":[{"startOffset":10945,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSocket","ranges":[{"startOffset":11036,"endOffset":11094,"count":0}],"isBlockCoverage":false},{"functionName":"msFromTimeSpec","ranges":[{"startOffset":11219,"endOffset":11301,"count":0}],"isBlockCoverage":false},{"functionName":"nsFromTimeSpecBigInt","ranges":[{"startOffset":11303,"endOffset":11386,"count":0}],"isBlockCoverage":false},{"functionName":"dateFromMs","ranges":[{"startOffset":11788,"endOffset":11899,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats","ranges":[{"startOffset":11901,"endOffset":12664,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats._checkModeProperty","ranges":[{"startOffset":12822,"endOffset":13068,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":13071,"endOffset":13613,"count":0}],"isBlockCoverage":false},{"functionName":"Stats._checkModeProperty","ranges":[{"startOffset":13954,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"getStatsFromBinding","ranges":[{"startOffset":14302,"endOffset":15381,"count":0}],"isBlockCoverage":false},{"functionName":"StatFs","ranges":[{"startOffset":15400,"endOffset":15637,"count":0}],"isBlockCoverage":false},{"functionName":"getStatFsFromBinding","ranges":[{"startOffset":15641,"endOffset":15781,"count":0}],"isBlockCoverage":false},{"functionName":"stringToFlags","ranges":[{"startOffset":15783,"endOffset":17039,"count":437},{"startOffset":15864,"endOffset":15919,"count":0},{"startOffset":15942,"endOffset":15968,"count":0},{"startOffset":16025,"endOffset":16036,"count":0},{"startOffset":16058,"endOffset":16095,"count":0},{"startOffset":16100,"endOffset":16126,"count":0},{"startOffset":16131,"endOffset":16143,"count":0},{"startOffset":16165,"endOffset":16201,"count":0},{"startOffset":16207,"endOffset":16254,"count":0},{"startOffset":16259,"endOffset":16270,"count":0},{"startOffset":16292,"endOffset":16349,"count":0},{"startOffset":16355,"endOffset":16401,"count":0},{"startOffset":16406,"endOffset":16417,"count":0},{"startOffset":16439,"endOffset":16494,"count":0},{"startOffset":16500,"endOffset":16548,"count":0},{"startOffset":16553,"endOffset":16564,"count":0},{"startOffset":16586,"endOffset":16644,"count":0},{"startOffset":16649,"endOffset":16660,"count":0},{"startOffset":16682,"endOffset":16740,"count":0},{"startOffset":16746,"endOffset":16793,"count":0},{"startOffset":16798,"endOffset":16809,"count":0},{"startOffset":16831,"endOffset":16887,"count":0},{"startOffset":16892,"endOffset":16903,"count":0},{"startOffset":16925,"endOffset":16981,"count":0},{"startOffset":16985,"endOffset":17038,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":17085,"endOffset":17445,"count":0}],"isBlockCoverage":false},{"functionName":"toUnixTimestamp","ranges":[{"startOffset":17507,"endOffset":17962,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18016,"endOffset":18395,"count":1},{"startOffset":18072,"endOffset":18139,"count":0},{"startOffset":18160,"endOffset":18227,"count":0},{"startOffset":18268,"endOffset":18391,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18454,"endOffset":18858,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18901,"endOffset":19171,"count":989},{"startOffset":18963,"endOffset":18985,"count":0},{"startOffset":18987,"endOffset":19073,"count":0},{"startOffset":19149,"endOffset":19169,"count":0}],"isBlockCoverage":true},{"functionName":"possiblyTransformPath","ranges":[{"startOffset":19542,"endOffset":19853,"count":437},{"startOffset":19611,"endOffset":19836,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":19896,"endOffset":20054,"count":437}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20097,"endOffset":20218,"count":2},{"startOffset":20148,"endOffset":20167,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20266,"endOffset":20597,"count":0}],"isBlockCoverage":false},{"functionName":"warnOnNonPortableTemplate","ranges":[{"startOffset":20638,"endOffset":21238,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21663,"endOffset":22550,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22596,"endOffset":23275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23325,"endOffset":23942,"count":0}],"isBlockCoverage":false},{"functionName":"emitRecursiveRmdirWarning","ranges":[{"startOffset":23996,"endOffset":24330,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24380,"endOffset":24777,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24818,"endOffset":25186,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25249,"endOffset":25433,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25478,"endOffset":25948,"count":1},{"startOffset":25578,"endOffset":25946,"count":0}],"isBlockCoverage":true}]},{"scriptId":"159","url":"node:internal/fs/sync","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2257,"count":1}],"isBlockCoverage":false},{"functionName":"readFileUtf8","ranges":[{"startOffset":395,"endOffset":582,"count":377}],"isBlockCoverage":true},{"functionName":"exists","ranges":[{"startOffset":584,"endOffset":751,"count":0}],"isBlockCoverage":false},{"functionName":"access","ranges":[{"startOffset":753,"endOffset":920,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":922,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":1184,"endOffset":1509,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":1511,"endOffset":1723,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":1725,"endOffset":1932,"count":2}],"isBlockCoverage":true},{"functionName":"close","ranges":[{"startOffset":1934,"endOffset":2016,"count":1}],"isBlockCoverage":true},{"functionName":"unlink","ranges":[{"startOffset":2018,"endOffset":2140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"160","url":"node:internal/dns/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9584,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBinding","ranges":[{"startOffset":506,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":957,"endOffset":1104,"count":0}],"isBlockCoverage":false},{"functionName":"validateTries","ranges":[{"startOffset":1106,"endOffset":1241,"count":0}],"isBlockCoverage":false},{"functionName":"ResolverBase","ranges":[{"startOffset":1635,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1988,"endOffset":2124,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":2128,"endOffset":2169,"count":0}],"isBlockCoverage":false},{"functionName":"getServers","ranges":[{"startOffset":2173,"endOffset":2441,"count":0}],"isBlockCoverage":false},{"functionName":"setServers","ranges":[{"startOffset":2445,"endOffset":3846,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3850,"endOffset":4405,"count":0}],"isBlockCoverage":false},{"functionName":"setLocalAddress","ranges":[{"startOffset":4410,"endOffset":4695,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4815,"endOffset":5035,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5039,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"initializeDns","ranges":[{"startOffset":5427,"endOffset":5813,"count":1},{"startOffset":5570,"endOffset":5680,"count":0},{"startOffset":5728,"endOffset":5812,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5753,"endOffset":5809,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResolver","ranges":[{"startOffset":6074,"endOffset":6355,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResolver","ranges":[{"startOffset":6357,"endOffset":6428,"count":0}],"isBlockCoverage":false},{"functionName":"bindDefaultResolver","ranges":[{"startOffset":6430,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"validateHints","ranges":[{"startOffset":6654,"endOffset":6873,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidHostnameWarning","ranges":[{"startOffset":6918,"endOffset":7272,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultVerbatim","ranges":[{"startOffset":7274,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResultOrder","ranges":[{"startOffset":7344,"endOffset":7468,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResultOrder","ranges":[{"startOffset":7470,"endOffset":7525,"count":0}],"isBlockCoverage":false},{"functionName":"createResolverClass","ranges":[{"startOffset":7527,"endOffset":8635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"161","url":"node:internal/net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2248,"count":1}],"isBlockCoverage":false},{"functionName":"isIPv4","ranges":[{"startOffset":1023,"endOffset":1296,"count":0}],"isBlockCoverage":false},{"functionName":"isIPv6","ranges":[{"startOffset":1298,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"isIP","ranges":[{"startOffset":1573,"endOffset":1659,"count":0}],"isBlockCoverage":false},{"functionName":"makeSyncWrite","ranges":[{"startOffset":1661,"endOffset":2075,"count":0}],"isBlockCoverage":false}]},{"scriptId":"162","url":"node:worker_threads","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":687,"count":1}],"isBlockCoverage":false}]},{"scriptId":"163","url":"node:internal/worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16395,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2471,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"process.chdir","ranges":[{"startOffset":2984,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"setEnvironmentData","ranges":[{"startOffset":3069,"endOffset":3216,"count":0}],"isBlockCoverage":false},{"functionName":"getEnvironmentData","ranges":[{"startOffset":3218,"endOffset":3289,"count":0}],"isBlockCoverage":false},{"functionName":"assignEnvironmentData","ranges":[{"startOffset":3291,"endOffset":3441,"count":1},{"startOffset":3356,"endOffset":3363,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3379,"endOffset":3437,"count":0}],"isBlockCoverage":false},{"functionName":"Worker","ranges":[{"startOffset":3481,"endOffset":9221,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9225,"endOffset":9857,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9861,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9961,"endOffset":10130,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10134,"endOffset":11027,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11031,"endOffset":11499,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":11503,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"terminate","ranges":[{"startOffset":11652,"endOffset":12486,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":12490,"endOffset":12596,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":12600,"endOffset":12712,"count":0}],"isBlockCoverage":false},{"functionName":"get threadId","ranges":[{"startOffset":12716,"endOffset":12815,"count":0}],"isBlockCoverage":false},{"functionName":"get stdin","ranges":[{"startOffset":12819,"endOffset":12877,"count":0}],"isBlockCoverage":false},{"functionName":"get stdout","ranges":[{"startOffset":12881,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"get stderr","ranges":[{"startOffset":12945,"endOffset":13005,"count":0}],"isBlockCoverage":false},{"functionName":"get resourceLimits","ranges":[{"startOffset":13009,"endOffset":13145,"count":0}],"isBlockCoverage":false},{"functionName":"getHeapSnapshot","ranges":[{"startOffset":13149,"endOffset":13656,"count":0}],"isBlockCoverage":false},{"functionName":"InternalWorker","ranges":[{"startOffset":13849,"endOffset":13928,"count":0}],"isBlockCoverage":false},{"functionName":"receiveMessageSync","ranges":[{"startOffset":13932,"endOffset":14010,"count":0}],"isBlockCoverage":false},{"functionName":"pipeWithoutWarning","ranges":[{"startOffset":14014,"endOffset":14336,"count":0}],"isBlockCoverage":false},{"functionName":"parseResourceLimits","ranges":[{"startOffset":14410,"endOffset":15024,"count":0}],"isBlockCoverage":false},{"functionName":"makeResourceLimits","ranges":[{"startOffset":15026,"endOffset":15313,"count":1}],"isBlockCoverage":true},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":15315,"endOffset":16118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"164","url":"node:internal/perf/event_loop_utilization","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":false},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":153,"endOffset":446,"count":0}],"isBlockCoverage":false},{"functionName":"internalEventLoopUtilization","ranges":[{"startOffset":448,"endOffset":1447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"165","url":"node:internal/error_serdes","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5723,"count":1}],"isBlockCoverage":false},{"functionName":"TryGetAllProperties","ranges":[{"startOffset":1039,"endOffset":2143,"count":0}],"isBlockCoverage":false},{"functionName":"GetConstructors","ranges":[{"startOffset":2145,"endOffset":2588,"count":0}],"isBlockCoverage":false},{"functionName":"GetName","ranges":[{"startOffset":2590,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":2737,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":2924,"endOffset":4219,"count":0}],"isBlockCoverage":false},{"functionName":"fromBuffer","ranges":[{"startOffset":4221,"endOffset":4442,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeError","ranges":[{"startOffset":4461,"endOffset":5666,"count":0}],"isBlockCoverage":false}]},{"scriptId":"166","url":"node:diagnostics_channel","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9791,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":734,"endOffset":1143,"count":1}],"isBlockCoverage":false},{"functionName":"#finalizers","ranges":[{"startOffset":814,"endOffset":850,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":856,"endOffset":973,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":977,"endOffset":1025,"count":5},{"startOffset":1013,"endOffset":1018,"count":0}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":1029,"endOffset":1083,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":1087,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"markActive","ranges":[{"startOffset":1145,"endOffset":1350,"count":0}],"isBlockCoverage":false},{"functionName":"maybeMarkInactive","ranges":[{"startOffset":1352,"endOffset":1720,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTransform","ranges":[{"startOffset":1722,"endOffset":1772,"count":0}],"isBlockCoverage":false},{"functionName":"wrapStoreRun","ranges":[{"startOffset":1774,"endOffset":2102,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":2184,"endOffset":2354,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":2358,"endOffset":2635,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":2639,"endOffset":2807,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":2811,"endOffset":3010,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":3014,"endOffset":3057,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":3061,"endOffset":3370,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":3374,"endOffset":3713,"count":0}],"isBlockCoverage":false},{"functionName":"Channel","ranges":[{"startOffset":3735,"endOffset":3876,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3887,"endOffset":4072,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":4076,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4165,"endOffset":4202,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":4206,"endOffset":4299,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":4303,"endOffset":4340,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":4344,"endOffset":4388,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":4392,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":4408,"endOffset":4495,"count":0}],"isBlockCoverage":false},{"functionName":"channel","ranges":[{"startOffset":4535,"endOffset":4801,"count":5},{"startOffset":4613,"endOffset":4628,"count":0},{"startOffset":4661,"endOffset":4688,"count":0},{"startOffset":4690,"endOffset":4770,"count":0}],"isBlockCoverage":true},{"functionName":"subscribe","ranges":[{"startOffset":4803,"endOffset":4893,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4895,"endOffset":4989,"count":0}],"isBlockCoverage":false},{"functionName":"hasSubscribers","ranges":[{"startOffset":4991,"endOffset":5126,"count":0}],"isBlockCoverage":false},{"functionName":"assertChannel","ranges":[{"startOffset":5215,"endOffset":5357,"count":0}],"isBlockCoverage":false},{"functionName":"TracingChannel","ranges":[{"startOffset":5384,"endOffset":6531,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":6535,"endOffset":6687,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":6691,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"traceSync","ranges":[{"startOffset":6928,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"tracePromise","ranges":[{"startOffset":7358,"endOffset":8459,"count":0}],"isBlockCoverage":false},{"functionName":"traceCallback","ranges":[{"startOffset":8463,"endOffset":9589,"count":0}],"isBlockCoverage":false},{"functionName":"tracingChannel","ranges":[{"startOffset":9593,"endOffset":9681,"count":0}],"isBlockCoverage":false}]},{"scriptId":"167","url":"node:internal/modules/cjs/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":45478,"count":1}],"isBlockCoverage":false},{"functionName":"get hasLoadedAnyUserCJSModule","ranges":[{"startOffset":2238,"endOffset":2307,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3478,"endOffset":3569,"count":1},{"startOffset":3525,"endOffset":3561,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3618,"endOffset":3661,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3702,"endOffset":3756,"count":1}],"isBlockCoverage":true},{"functionName":"internalRequire","ranges":[{"startOffset":4610,"endOffset":4935,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4937,"endOffset":5347,"count":1538},{"startOffset":5035,"endOffset":5129,"count":1499},{"startOffset":5111,"endOffset":5125,"count":406},{"startOffset":5129,"endOffset":5202,"count":1132},{"startOffset":5202,"endOffset":5216,"count":1093},{"startOffset":5218,"endOffset":5328,"count":434},{"startOffset":5328,"endOffset":5346,"count":1132}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":5428,"endOffset":5451,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":5455,"endOffset":5550,"count":0}],"isBlockCoverage":false},{"functionName":"updateChildren","ranges":[{"startOffset":5579,"endOffset":5775,"count":790},{"startOffset":5651,"endOffset":5661,"count":740},{"startOffset":5678,"endOffset":5731,"count":740},{"startOffset":5688,"endOffset":5730,"count":392},{"startOffset":5737,"endOffset":5773,"count":740}],"isBlockCoverage":true},{"functionName":"reportModuleToWatchMode","ranges":[{"startOffset":5777,"endOffset":5933,"count":1185},{"startOffset":5858,"endOffset":5873,"count":0},{"startOffset":5875,"endOffset":5931,"count":0}],"isBlockCoverage":true},{"functionName":"reportModuleNotFoundToWatchMode","ranges":[{"startOffset":5935,"endOffset":6174,"count":17},{"startOffset":6036,"endOffset":6051,"count":0},{"startOffset":6053,"endOffset":6172,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6121,"endOffset":6163,"count":0}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":6221,"endOffset":6978,"count":375},{"startOffset":6534,"endOffset":6544,"count":0},{"startOffset":6562,"endOffset":6926,"count":0}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":7220,"endOffset":7297,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7463,"endOffset":7585,"count":0}],"isBlockCoverage":false},{"functionName":"defineProperty","ranges":[{"startOffset":7590,"endOffset":7723,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7790,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7823,"endOffset":7877,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7947,"endOffset":7983,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7988,"endOffset":8050,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8084,"endOffset":8114,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleParent","ranges":[{"startOffset":8274,"endOffset":8342,"count":0}],"isBlockCoverage":false},{"functionName":"setModuleParent","ranges":[{"startOffset":8344,"endOffset":8417,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8484,"endOffset":8509,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCJS","ranges":[{"startOffset":9188,"endOffset":9688,"count":1}],"isBlockCoverage":true},{"functionName":"readPackage","ranges":[{"startOffset":9982,"endOffset":10095,"count":1711}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":10197,"endOffset":10227,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10231,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"readPackageScope","ranges":[{"startOffset":10383,"endOffset":11176,"count":881},{"startOffset":10570,"endOffset":11113,"count":1591},{"startOffset":10819,"endOffset":10865,"count":0},{"startOffset":10867,"endOffset":10894,"count":0},{"startOffset":10967,"endOffset":10980,"count":0},{"startOffset":11052,"endOffset":11109,"count":881},{"startOffset":11113,"endOffset":11175,"count":0}],"isBlockCoverage":true},{"functionName":"tryPackage","ranges":[{"startOffset":11178,"endOffset":12457,"count":52},{"startOffset":11300,"endOffset":11381,"count":18},{"startOffset":11381,"endOffset":11475,"count":34},{"startOffset":11475,"endOffset":11519,"count":0},{"startOffset":11520,"endOffset":11587,"count":0},{"startOffset":11613,"endOffset":12438,"count":0},{"startOffset":12438,"endOffset":12456,"count":34}],"isBlockCoverage":true},{"functionName":"tryFile","ranges":[{"startOffset":12802,"endOffset":13034,"count":608},{"startOffset":12891,"endOffset":12898,"count":207},{"startOffset":12898,"endOffset":12943,"count":401},{"startOffset":12943,"endOffset":12953,"count":0},{"startOffset":12955,"endOffset":12998,"count":0},{"startOffset":12998,"endOffset":13033,"count":401}],"isBlockCoverage":true},{"functionName":"toRealPath","ranges":[{"startOffset":13036,"endOffset":13168,"count":445}],"isBlockCoverage":true},{"functionName":"tryExtensions","ranges":[{"startOffset":13243,"endOffset":13449,"count":434},{"startOffset":13325,"endOffset":13431,"count":572},{"startOffset":13397,"endOffset":13427,"count":365},{"startOffset":13431,"endOffset":13448,"count":69}],"isBlockCoverage":true},{"functionName":"findLongestRegisteredExtension","ranges":[{"startOffset":13538,"endOffset":14006,"count":373},{"startOffset":13813,"endOffset":13822,"count":0},{"startOffset":13960,"endOffset":13984,"count":362},{"startOffset":13988,"endOffset":14005,"count":11}],"isBlockCoverage":true},{"functionName":"trySelfParentPath","ranges":[{"startOffset":14008,"endOffset":14297,"count":544},{"startOffset":14060,"endOffset":14073,"count":23},{"startOffset":14073,"endOffset":14131,"count":521},{"startOffset":14131,"endOffset":14295,"count":0}],"isBlockCoverage":true},{"functionName":"trySelf","ranges":[{"startOffset":14299,"endOffset":15197,"count":544},{"startOffset":14358,"endOffset":14371,"count":23},{"startOffset":14371,"endOffset":14475,"count":521},{"startOffset":14476,"endOffset":14501,"count":11},{"startOffset":14503,"endOffset":14526,"count":510},{"startOffset":14526,"endOffset":14573,"count":11},{"startOffset":14573,"endOffset":14599,"count":0},{"startOffset":14599,"endOffset":14765,"count":11},{"startOffset":14661,"endOffset":14736,"count":0},{"startOffset":14765,"endOffset":15195,"count":0}],"isBlockCoverage":true},{"functionName":"resolveExports","ranges":[{"startOffset":15358,"endOffset":16166,"count":436},{"startOffset":15565,"endOffset":15580,"count":368},{"startOffset":15599,"endOffset":15606,"count":368},{"startOffset":15606,"endOffset":15707,"count":68},{"startOffset":15707,"endOffset":15729,"count":51},{"startOffset":15731,"endOffset":16164,"count":2},{"startOffset":16011,"endOffset":16160,"count":0}],"isBlockCoverage":true},{"functionName":"Module._findPath","ranges":[{"startOffset":16434,"endOffset":20492,"count":545},{"startOffset":16544,"endOffset":16567,"count":25},{"startOffset":16567,"endOffset":16630,"count":520},{"startOffset":16607,"endOffset":16630,"count":0},{"startOffset":16767,"endOffset":16780,"count":101},{"startOffset":16780,"endOffset":17363,"count":444},{"startOffset":17002,"endOffset":17356,"count":0},{"startOffset":17438,"endOffset":17894,"count":368},{"startOffset":17544,"endOffset":17629,"count":58},{"startOffset":17564,"endOffset":17628,"count":0},{"startOffset":17630,"endOffset":17888,"count":58},{"startOffset":17799,"endOffset":17886,"count":0},{"startOffset":17939,"endOffset":18093,"count":368},{"startOffset":18056,"endOffset":18089,"count":58},{"startOffset":18093,"endOffset":18155,"count":444},{"startOffset":18155,"endOffset":20473,"count":554},{"startOffset":18296,"endOffset":18306,"count":496},{"startOffset":18307,"endOffset":18403,"count":471},{"startOffset":18341,"endOffset":18379,"count":0},{"startOffset":18410,"endOffset":18433,"count":93},{"startOffset":18433,"endOffset":18461,"count":461},{"startOffset":18461,"endOffset":18591,"count":436},{"startOffset":18562,"endOffset":18585,"count":2},{"startOffset":18591,"endOffset":19950,"count":459},{"startOffset":18743,"endOffset":19727,"count":43},{"startOffset":18776,"endOffset":18965,"count":42},{"startOffset":18831,"endOffset":18891,"count":0},{"startOffset":18965,"endOffset":19719,"count":1},{"startOffset":19019,"endOffset":19659,"count":0},{"startOffset":19750,"endOffset":19944,"count":416},{"startOffset":19840,"endOffset":19878,"count":399},{"startOffset":19950,"endOffset":19970,"count":459},{"startOffset":19970,"endOffset":19981,"count":69},{"startOffset":19983,"endOffset":20199,"count":52},{"startOffset":20093,"endOffset":20131,"count":0},{"startOffset":20199,"endOffset":20219,"count":459},{"startOffset":20219,"endOffset":20295,"count":442},{"startOffset":20295,"endOffset":20473,"count":17},{"startOffset":20473,"endOffset":20491,"count":0}],"isBlockCoverage":true},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":20736,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":22345,"endOffset":23485,"count":401},{"startOffset":22623,"endOffset":22648,"count":0},{"startOffset":22941,"endOffset":23363,"count":25373},{"startOffset":23037,"endOffset":23233,"count":2728},{"startOffset":23074,"endOffset":23192,"count":2326},{"startOffset":23233,"endOffset":23357,"count":22645},{"startOffset":23253,"endOffset":23357,"count":7726},{"startOffset":23288,"endOffset":23314,"count":5400},{"startOffset":23314,"endOffset":23349,"count":2326}],"isBlockCoverage":true},{"functionName":"Module._resolveLookupPaths","ranges":[{"startOffset":23519,"endOffset":24778,"count":544},{"startOffset":23599,"endOffset":23665,"count":0},{"startOffset":23750,"endOffset":23949,"count":467},{"startOffset":23830,"endOffset":23880,"count":337},{"startOffset":23881,"endOffset":23948,"count":0},{"startOffset":23951,"endOffset":24250,"count":77},{"startOffset":23983,"endOffset":23998,"count":54},{"startOffset":24000,"endOffset":24110,"count":54},{"startOffset":24110,"endOffset":24150,"count":23},{"startOffset":24239,"endOffset":24245,"count":0},{"startOffset":24250,"endOffset":24318,"count":467},{"startOffset":24319,"endOffset":24338,"count":467},{"startOffset":24340,"endOffset":24589,"count":0},{"startOffset":24589,"endOffset":24777,"count":467}],"isBlockCoverage":true},{"functionName":"emitCircularRequireWarning","ranges":[{"startOffset":24781,"endOffset":24965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25178,"endOffset":25550,"count":0}],"isBlockCoverage":false},{"functionName":"getOwnPropertyDescriptor","ranges":[{"startOffset":25555,"endOffset":25796,"count":0}],"isBlockCoverage":false},{"functionName":"getExportsForCircularRequire","ranges":[{"startOffset":25803,"endOffset":26447,"count":2},{"startOffset":25972,"endOffset":26265,"count":1},{"startOffset":26267,"endOffset":26419,"count":1}],"isBlockCoverage":true},{"functionName":"Module._load","ranges":[{"startOffset":26860,"endOffset":29991,"count":835},{"startOffset":26943,"endOffset":27759,"count":812},{"startOffset":27402,"endOffset":27755,"count":220},{"startOffset":27592,"endOffset":27642,"count":0},{"startOffset":27687,"endOffset":27755,"count":0},{"startOffset":27759,"endOffset":27812,"count":615},{"startOffset":27812,"endOffset":28084,"count":12},{"startOffset":27941,"endOffset":28001,"count":0},{"startOffset":28084,"endOffset":28237,"count":603},{"startOffset":28237,"endOffset":28597,"count":195},{"startOffset":28317,"endOffset":28545,"count":27},{"startOffset":28413,"endOffset":28440,"count":25},{"startOffset":28450,"endOffset":28500,"count":2},{"startOffset":28500,"endOffset":28545,"count":25},{"startOffset":28545,"endOffset":28593,"count":168},{"startOffset":28597,"endOffset":28657,"count":433},{"startOffset":28657,"endOffset":28740,"count":60},{"startOffset":28740,"endOffset":28839,"count":373},{"startOffset":28839,"endOffset":28870,"count":348},{"startOffset":28887,"endOffset":29028,"count":0},{"startOffset":29028,"endOffset":29132,"count":373},{"startOffset":29132,"endOffset":29201,"count":350},{"startOffset":29201,"endOffset":29963,"count":373},{"startOffset":29306,"endOffset":29709,"count":0},{"startOffset":29734,"endOffset":29776,"count":372},{"startOffset":29777,"endOffset":29889,"count":372},{"startOffset":29891,"endOffset":29959,"count":1},{"startOffset":29963,"endOffset":29990,"count":373}],"isBlockCoverage":true},{"functionName":"Module._resolveFilename","ranges":[{"startOffset":30020,"endOffset":33106,"count":604},{"startOffset":30117,"endOffset":30142,"count":60},{"startOffset":30142,"endOffset":30192,"count":544},{"startOffset":30192,"endOffset":30211,"count":0},{"startOffset":30213,"endOffset":31290,"count":0},{"startOffset":31290,"endOffset":31385,"count":544},{"startOffset":31385,"endOffset":31433,"count":0},{"startOffset":31435,"endOffset":32047,"count":0},{"startOffset":32047,"endOffset":32208,"count":544},{"startOffset":32208,"endOffset":32404,"count":0},{"startOffset":32404,"endOffset":32560,"count":544},{"startOffset":32560,"endOffset":33105,"count":0}],"isBlockCoverage":true},{"functionName":"finalizeEsmResolution","ranges":[{"startOffset":33109,"endOffset":33678,"count":2},{"startOffset":33311,"endOffset":33430,"count":0},{"startOffset":33543,"endOffset":33677,"count":0}],"isBlockCoverage":true},{"functionName":"createEsmNotFoundErr","ranges":[{"startOffset":33680,"endOffset":33970,"count":0}],"isBlockCoverage":false},{"functionName":"Module.load","ranges":[{"startOffset":34059,"endOffset":34896,"count":373},{"startOffset":34394,"endOffset":34424,"count":0},{"startOffset":34430,"endOffset":34472,"count":0},{"startOffset":34752,"endOffset":34800,"count":0}],"isBlockCoverage":true},{"functionName":"Module.require","ranges":[{"startOffset":35095,"endOffset":35394,"count":812},{"startOffset":35155,"endOffset":35273,"count":0}],"isBlockCoverage":true},{"functionName":"wrapSafe","ranges":[{"startOffset":35584,"endOffset":37521,"count":370},{"startOffset":35668,"endOffset":36404,"count":0},{"startOffset":36944,"endOffset":36990,"count":0},{"startOffset":36991,"endOffset":37032,"count":0},{"startOffset":37034,"endOffset":37097,"count":0},{"startOffset":37183,"endOffset":37281,"count":4},{"startOffset":37315,"endOffset":37519,"count":0}],"isBlockCoverage":true},{"functionName":"importModuleDynamically","ranges":[{"startOffset":35895,"endOffset":36134,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":36617,"endOffset":36870,"count":2}],"isBlockCoverage":true},{"functionName":"Module._compile","ranges":[{"startOffset":37721,"endOffset":39539,"count":370},{"startOffset":37812,"endOffset":37822,"count":0},{"startOffset":37840,"endOffset":37993,"count":0},{"startOffset":38126,"endOffset":38150,"count":0},{"startOffset":38152,"endOffset":38888,"count":0},{"startOffset":39111,"endOffset":39137,"count":23},{"startOffset":39162,"endOffset":39301,"count":0},{"startOffset":39503,"endOffset":39520,"count":23}],"isBlockCoverage":true},{"functionName":"Module._extensions..js","ranges":[{"startOffset":39598,"endOffset":41380,"count":370},{"startOffset":39759,"endOffset":39767,"count":25},{"startOffset":39769,"endOffset":39834,"count":25},{"startOffset":39834,"endOffset":39894,"count":345},{"startOffset":39943,"endOffset":41340,"count":359},{"startOffset":39988,"endOffset":40010,"count":0},{"startOffset":40106,"endOffset":41336,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..json","ranges":[{"startOffset":41444,"endOffset":41850,"count":3},{"startOffset":41554,"endOffset":41564,"count":0},{"startOffset":41582,"endOffset":41684,"count":0},{"startOffset":41767,"endOffset":41848,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..node","ranges":[{"startOffset":41914,"endOffset":42256,"count":0}],"isBlockCoverage":false},{"functionName":"createRequireFromPath","ranges":[{"startOffset":42259,"endOffset":42720,"count":2},{"startOffset":42439,"endOffset":42481,"count":0},{"startOffset":42519,"endOffset":42555,"count":0}],"isBlockCoverage":true},{"functionName":"createRequire","ranges":[{"startOffset":42828,"endOffset":43373,"count":2},{"startOffset":43033,"endOffset":43165,"count":0},{"startOffset":43169,"endOffset":43329,"count":0}],"isBlockCoverage":true},{"functionName":"Module._initPaths","ranges":[{"startOffset":43434,"endOffset":44399,"count":1},{"startOffset":43475,"endOffset":43500,"count":0},{"startOffset":43552,"endOffset":43575,"count":0},{"startOffset":43783,"endOffset":43825,"count":0},{"startOffset":44124,"endOffset":44266,"count":0}],"isBlockCoverage":true},{"functionName":"Module._preloadModules","ranges":[{"startOffset":44427,"endOffset":45018,"count":0}],"isBlockCoverage":false},{"functionName":"syncBuiltinESMExports","ranges":[{"startOffset":45052,"endOffset":45233,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":45318,"endOffset":45376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"168","url":"node:internal/vm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2921,"count":1}],"isBlockCoverage":false},{"functionName":"isContext","ranges":[{"startOffset":419,"endOffset":554,"count":0}],"isBlockCoverage":false},{"functionName":"internalCompileFunction","ranges":[{"startOffset":556,"endOffset":2857,"count":370},{"startOffset":1151,"endOffset":1200,"count":0},{"startOffset":1304,"endOffset":1566,"count":0},{"startOffset":2045,"endOffset":2118,"count":0},{"startOffset":2145,"endOffset":2202,"count":0},{"startOffset":2258,"endOffset":2331,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1675,"endOffset":1824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"169","url":"node:internal/modules/helpers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7741,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":923,"endOffset":948,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCjsConditions","ranges":[{"startOffset":971,"endOffset":1363,"count":1},{"startOffset":1150,"endOffset":1154,"count":0}],"isBlockCoverage":true},{"functionName":"getCjsConditions","ranges":[{"startOffset":1365,"endOffset":1492,"count":2},{"startOffset":1430,"endOffset":1466,"count":0}],"isBlockCoverage":true},{"functionName":"loadBuiltinModule","ranges":[{"startOffset":1494,"endOffset":1823,"count":86},{"startOffset":1595,"endOffset":1612,"count":0}],"isBlockCoverage":true},{"functionName":"lazyModule","ranges":[{"startOffset":1845,"endOffset":1958,"count":372},{"startOffset":1889,"endOffset":1937,"count":1}],"isBlockCoverage":true},{"functionName":"makeRequireFunction","ranges":[{"startOffset":2207,"endOffset":4418,"count":372},{"startOffset":2346,"endOffset":2409,"count":0},{"startOffset":2443,"endOffset":3714,"count":0}],"isBlockCoverage":true},{"functionName":"require","ranges":[{"startOffset":2586,"endOffset":3709,"count":0}],"isBlockCoverage":false},{"functionName":"require","ranges":[{"startOffset":3736,"endOffset":3876,"count":811}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":3885,"endOffset":4031,"count":0}],"isBlockCoverage":false},{"functionName":"paths","ranges":[{"startOffset":4065,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"stripBOM","ranges":[{"startOffset":4603,"endOffset":4758,"count":3},{"startOffset":4685,"endOffset":4738,"count":0}],"isBlockCoverage":true},{"functionName":"addBuiltinLibsToObject","ranges":[{"startOffset":4760,"endOffset":6720,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeReferrerURL","ranges":[{"startOffset":6788,"endOffset":6976,"count":64},{"startOffset":6895,"endOffset":6941,"count":6},{"startOffset":6941,"endOffset":6975,"count":58}],"isBlockCoverage":true},{"functionName":"hasEsmSyntax","ranges":[{"startOffset":7046,"endOffset":7548,"count":0}],"isBlockCoverage":false}]},{"scriptId":"170","url":"node:internal/modules/package_json_reader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3711,"count":1}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":932,"endOffset":3682,"count":2040},{"startOffset":1028,"endOffset":1065,"count":1887},{"startOffset":1065,"endOffset":1742,"count":153},{"startOffset":1742,"endOffset":1751,"count":0},{"startOffset":1752,"endOffset":1766,"count":0},{"startOffset":1767,"endOffset":1789,"count":153},{"startOffset":1813,"endOffset":3632,"count":85},{"startOffset":1881,"endOffset":2477,"count":0},{"startOffset":2635,"endOffset":2669,"count":84},{"startOffset":2671,"endOffset":2711,"count":84},{"startOffset":2767,"endOffset":2801,"count":43},{"startOffset":2803,"endOffset":2843,"count":43},{"startOffset":2903,"endOffset":2949,"count":27},{"startOffset":3009,"endOffset":3055,"count":1},{"startOffset":3166,"endOffset":3225,"count":26},{"startOffset":3197,"endOffset":3224,"count":25},{"startOffset":3227,"endOffset":3267,"count":26},{"startOffset":3301,"endOffset":3497,"count":1},{"startOffset":3422,"endOffset":3475,"count":0},{"startOffset":3525,"endOffset":3628,"count":0},{"startOffset":3632,"endOffset":3681,"count":153}],"isBlockCoverage":true}]},{"scriptId":"171","url":"node:internal/modules/run_main","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2850,"count":1}],"isBlockCoverage":false},{"functionName":"resolveMainPath","ranges":[{"startOffset":155,"endOffset":666,"count":1},{"startOffset":495,"endOffset":502,"count":0}],"isBlockCoverage":true},{"functionName":"shouldUseESMLoader","ranges":[{"startOffset":668,"endOffset":1558,"count":1},{"startOffset":1184,"endOffset":1196,"count":0},{"startOffset":1378,"endOffset":1390,"count":0},{"startOffset":1457,"endOffset":1470,"count":0}],"isBlockCoverage":true},{"functionName":"runMainESM","ranges":[{"startOffset":1560,"endOffset":1920,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1736,"endOffset":1915,"count":1},{"startOffset":1833,"endOffset":1843,"count":0}],"isBlockCoverage":true},{"functionName":"handleMainPromise","ranges":[{"startOffset":1922,"endOffset":2196,"count":1}],"isBlockCoverage":true},{"functionName":"executeUserEntryPoint","ranges":[{"startOffset":2382,"endOffset":2780,"count":1},{"startOffset":2592,"endOffset":2599,"count":0},{"startOffset":2605,"endOffset":2778,"count":0}],"isBlockCoverage":true}]},{"scriptId":"172","url":"node:internal/modules/esm/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6457,"count":1}],"isBlockCoverage":false},{"functionName":"getDefaultConditions","ranges":[{"startOffset":707,"endOffset":813,"count":108}],"isBlockCoverage":true},{"functionName":"getDefaultConditionsSet","ranges":[{"startOffset":841,"endOffset":956,"count":107}],"isBlockCoverage":true},{"functionName":"initializeDefaultConditions","ranges":[{"startOffset":1036,"endOffset":1418,"count":1},{"startOffset":1219,"endOffset":1223,"count":0}],"isBlockCoverage":true},{"functionName":"getConditionsSet","ranges":[{"startOffset":1488,"endOffset":1847,"count":107},{"startOffset":1601,"endOffset":1809,"count":0}],"isBlockCoverage":true},{"functionName":"registerModule","ranges":[{"startOffset":3590,"endOffset":3817,"count":428}],"isBlockCoverage":true},{"functionName":"initializeImportMetaObject","ranges":[{"startOffset":3842,"endOffset":4133,"count":3}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyCallback","ranges":[{"startOffset":4158,"endOffset":4557,"count":3},{"startOffset":4501,"endOffset":4556,"count":0}],"isBlockCoverage":true},{"functionName":"initializeESM","ranges":[{"startOffset":4722,"endOffset":5098,"count":1}],"isBlockCoverage":true},{"functionName":"isLoaderWorker","ranges":[{"startOffset":5100,"endOffset":5155,"count":1}],"isBlockCoverage":true},{"functionName":"initializeHooks","ranges":[{"startOffset":5157,"endOffset":6268,"count":0}],"isBlockCoverage":false}]},{"scriptId":"173","url":"node:internal/process/esm_loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1190,"count":1}],"isBlockCoverage":false},{"functionName":"get esmLoader","ranges":[{"startOffset":386,"endOffset":458,"count":77}],"isBlockCoverage":true},{"functionName":"loadESM","ranges":[{"startOffset":462,"endOffset":1185,"count":1},{"startOffset":630,"endOffset":846,"count":0},{"startOffset":937,"endOffset":1181,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":728,"endOffset":836,"count":0}],"isBlockCoverage":false}]},{"scriptId":"174","url":"node:internal/modules/esm/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21570,"count":1}],"isBlockCoverage":false},{"functionName":"newResolveCache","ranges":[{"startOffset":783,"endOffset":913,"count":1}],"isBlockCoverage":true},{"functionName":"newLoadCache","ranges":[{"startOffset":915,"endOffset":1036,"count":1}],"isBlockCoverage":true},{"functionName":"getTranslators","ranges":[{"startOffset":1038,"endOffset":1160,"count":98}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1847,"endOffset":14781,"count":1}],"isBlockCoverage":false},{"functionName":"ModuleLoader","ranges":[{"startOffset":3114,"endOffset":3307,"count":1},{"startOffset":3202,"endOffset":3259,"count":0}],"isBlockCoverage":true},{"functionName":"setCustomizations","ranges":[{"startOffset":4847,"endOffset":5091,"count":1},{"startOffset":4950,"endOffset":5032,"count":0}],"isBlockCoverage":true},{"functionName":"eval","ranges":[{"startOffset":5095,"endOffset":6098,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleJob","ranges":[{"startOffset":6833,"endOffset":7068,"count":162}],"isBlockCoverage":true},{"functionName":"getModuleJobSync","ranges":[{"startOffset":7072,"endOffset":7309,"count":0}],"isBlockCoverage":false},{"functionName":"getJobFromResolveResult","ranges":[{"startOffset":7313,"endOffset":7897,"count":162},{"startOffset":7687,"endOffset":7749,"count":0},{"startOffset":7778,"endOffset":7876,"count":97}],"isBlockCoverage":true},{"functionName":"#createModuleJob","ranges":[{"startOffset":8535,"endOffset":9726,"count":97},{"startOffset":9027,"endOffset":9103,"count":0},{"startOffset":9246,"endOffset":9286,"count":1},{"startOffset":9341,"endOffset":9356,"count":0},{"startOffset":9358,"endOffset":9412,"count":0}],"isBlockCoverage":true},{"functionName":"callTranslator","ranges":[{"startOffset":8629,"endOffset":8943,"count":97},{"startOffset":8773,"endOffset":8853,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9035,"endOffset":9103,"count":0}],"isBlockCoverage":false},{"functionName":"moduleProvider","ranges":[{"startOffset":9112,"endOffset":9188,"count":97}],"isBlockCoverage":true},{"functionName":"import","ranges":[{"startOffset":10188,"endOffset":10413,"count":4}],"isBlockCoverage":true},{"functionName":"register","ranges":[{"startOffset":10479,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":11461,"endOffset":12047,"count":162},{"startOffset":11549,"endOffset":11647,"count":0},{"startOffset":11843,"endOffset":11877,"count":1},{"startOffset":11877,"endOffset":12046,"count":161}],"isBlockCoverage":true},{"functionName":"resolveSync","ranges":[{"startOffset":12205,"endOffset":12483,"count":0}],"isBlockCoverage":false},{"functionName":"defaultResolve","ranges":[{"startOffset":12695,"endOffset":13035,"count":161}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":13319,"endOffset":13623,"count":97},{"startOffset":13456,"endOffset":13510,"count":0}],"isBlockCoverage":true},{"functionName":"loadSync","ranges":[{"startOffset":13627,"endOffset":14158,"count":0}],"isBlockCoverage":false},{"functionName":"validateLoadResult","ranges":[{"startOffset":14162,"endOffset":14313,"count":97},{"startOffset":14220,"endOffset":14309,"count":0}],"isBlockCoverage":true},{"functionName":"importMetaInitialize","ranges":[{"startOffset":14317,"endOffset":14652,"count":3},{"startOffset":14385,"endOffset":14469,"count":0}],"isBlockCoverage":true},{"functionName":"forceLoadHooks","ranges":[{"startOffset":14713,"endOffset":14779,"count":1},{"startOffset":14756,"endOffset":14772,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14835,"endOffset":17345,"count":0}],"isBlockCoverage":false},{"functionName":"createModuleLoader","ranges":[{"startOffset":17841,"endOffset":19523,"count":1},{"startOffset":18306,"endOffset":19473,"count":0}],"isBlockCoverage":true},{"functionName":"readableURIEncode","ranges":[{"startOffset":18381,"endOffset":18876,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19196,"endOffset":19284,"count":0}],"isBlockCoverage":false},{"functionName":"getHooksProxy","ranges":[{"startOffset":19636,"endOffset":19812,"count":0}],"isBlockCoverage":false},{"functionName":"register","ranges":[{"startOffset":21096,"endOffset":21495,"count":0}],"isBlockCoverage":false}]},{"scriptId":"175","url":"node:internal/modules/esm/module_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3877,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":281,"endOffset":306,"count":1}],"isBlockCoverage":true},{"functionName":"ResolveCache","ranges":[{"startOffset":850,"endOffset":878,"count":1}],"isBlockCoverage":true},{"functionName":"serializeKey","ranges":[{"startOffset":1224,"endOffset":1836,"count":162},{"startOffset":1633,"endOffset":1835,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1752,"endOffset":1818,"count":0}],"isBlockCoverage":false},{"functionName":"#getModuleCachedImports","ranges":[{"startOffset":1840,"endOffset":2056,"count":323},{"startOffset":1954,"endOffset":2026,"count":37}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2231,"endOffset":2333,"count":162}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":2473,"endOffset":2602,"count":161}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":2606,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"LoadCache","ranges":[{"startOffset":2844,"endOffset":2872,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2921,"endOffset":3064,"count":162},{"startOffset":3051,"endOffset":3059,"count":65}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3067,"endOffset":3662,"count":97},{"startOffset":3286,"endOffset":3322,"count":0},{"startOffset":3324,"endOffset":3394,"count":0},{"startOffset":3478,"endOffset":3484,"count":0}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":3665,"endOffset":3822,"count":0}],"isBlockCoverage":false}]},{"scriptId":"176","url":"node:internal/modules/esm/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4026,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1321,"endOffset":1359,"count":5}],"isBlockCoverage":true},{"functionName":"validateAssertions","ranges":[{"startOffset":1780,"endOffset":3310,"count":97},{"startOffset":2002,"endOffset":2301,"count":0},{"startOffset":2330,"endOffset":2475,"count":0},{"startOffset":2740,"endOffset":2800,"count":0},{"startOffset":2806,"endOffset":2914,"count":0},{"startOffset":2920,"endOffset":3304,"count":0}],"isBlockCoverage":true},{"functionName":"handleInvalidType","ranges":[{"startOffset":3542,"endOffset":3956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"177","url":"node:internal/modules/esm/translators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15691,"count":1}],"isBlockCoverage":false},{"functionName":"lazyTypes","ranges":[{"startOffset":372,"endOffset":484,"count":116},{"startOffset":418,"endOffset":432,"count":115},{"startOffset":432,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":948,"endOffset":973,"count":1}],"isBlockCoverage":true},{"functionName":"initCJSParse","ranges":[{"startOffset":1545,"endOffset":1943,"count":6},{"startOffset":1619,"endOffset":1694,"count":0},{"startOffset":1852,"endOffset":1937,"count":0}],"isBlockCoverage":true},{"functionName":"assertBufferSource","ranges":[{"startOffset":2077,"endOffset":2498,"count":116},{"startOffset":2154,"endOffset":2181,"count":58},{"startOffset":2183,"endOffset":2200,"count":0},{"startOffset":2294,"endOffset":2319,"count":0},{"startOffset":2338,"endOffset":2417,"count":0},{"startOffset":2418,"endOffset":2422,"count":0}],"isBlockCoverage":true},{"functionName":"stringify","ranges":[{"startOffset":2500,"endOffset":2774,"count":83},{"startOffset":2559,"endOffset":2571,"count":25},{"startOffset":2571,"endOffset":2711,"count":58},{"startOffset":2711,"endOffset":2730,"count":1},{"startOffset":2731,"endOffset":2740,"count":57}],"isBlockCoverage":true},{"functionName":"errPath","ranges":[{"startOffset":2776,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":2923,"endOffset":3061,"count":1}],"isBlockCoverage":true},{"functionName":"moduleStrategy","ranges":[{"startOffset":3143,"endOffset":3668,"count":58}],"isBlockCoverage":true},{"functionName":"initializeImportMeta","ranges":[{"startOffset":3557,"endOffset":3613,"count":3}],"isBlockCoverage":true},{"functionName":"enrichCJSError","ranges":[{"startOffset":3835,"endOffset":4374,"count":0}],"isBlockCoverage":false},{"functionName":"loadCJSModule","ranges":[{"startOffset":4715,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"createCJSModuleWrap","ranges":[{"startOffset":6909,"endOffset":8288,"count":25},{"startOffset":7110,"endOffset":7115,"count":0},{"startOffset":7309,"endOffset":7331,"count":1},{"startOffset":7332,"endOffset":7361,"count":24},{"startOffset":7378,"endOffset":7434,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7494,"endOffset":8283,"count":25},{"startOffset":7571,"endOffset":7624,"count":23},{"startOffset":7806,"endOffset":7849,"count":0},{"startOffset":7892,"endOffset":8239,"count":70},{"startOffset":7956,"endOffset":7993,"count":69},{"startOffset":8003,"endOffset":8012,"count":2},{"startOffset":8012,"endOffset":8136,"count":68},{"startOffset":8136,"endOffset":8192,"count":0},{"startOffset":8192,"endOffset":8239,"count":68}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8448,"endOffset":8540,"count":0}],"isBlockCoverage":false},{"functionName":"commonjsStrategy","ranges":[{"startOffset":8728,"endOffset":9611,"count":25},{"startOffset":8860,"endOffset":8891,"count":6},{"startOffset":9358,"endOffset":9373,"count":0},{"startOffset":9498,"endOffset":9546,"count":0}],"isBlockCoverage":true},{"functionName":"cjsLoader","ranges":[{"startOffset":9138,"endOffset":9357,"count":23},{"startOffset":9277,"endOffset":9353,"count":0}],"isBlockCoverage":true},{"functionName":"cjsPreparseModuleExports","ranges":[{"startOffset":9615,"endOffset":12093,"count":25},{"startOffset":9798,"endOffset":9923,"count":0},{"startOffset":10231,"endOffset":10236,"count":0},{"startOffset":10244,"endOffset":10293,"count":0},{"startOffset":10469,"endOffset":12056,"count":1},{"startOffset":11330,"endOffset":11363,"count":0},{"startOffset":11629,"endOffset":11658,"count":0},{"startOffset":11660,"endOffset":12046,"count":0}],"isBlockCoverage":true},{"functionName":"builtinStrategy","ranges":[{"startOffset":12217,"endOffset":12623,"count":14},{"startOffset":12496,"endOffset":12548,"count":0}],"isBlockCoverage":true},{"functionName":"jsonStrategy","ranges":[{"startOffset":12735,"endOffset":14686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14752,"endOffset":15688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"178","url":"node:internal/modules/esm/resolve","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36606,"count":1}],"isBlockCoverage":false},{"functionName":"emitTrailingSlashPatternDeprecation","ranges":[{"startOffset":2334,"endOffset":2920,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidSegmentDeprecation","ranges":[{"startOffset":2962,"endOffset":3657,"count":0}],"isBlockCoverage":false},{"functionName":"emitLegacyIndexDeprecation","ranges":[{"startOffset":3805,"endOffset":4938,"count":22},{"startOffset":3967,"endOffset":4936,"count":0}],"isBlockCoverage":true},{"functionName":"legacyMainResolve","ranges":[{"startOffset":6029,"endOffset":6789,"count":22},{"startOffset":6196,"endOffset":6280,"count":0},{"startOffset":6320,"endOffset":6331,"count":0},{"startOffset":6543,"endOffset":6570,"count":14},{"startOffset":6571,"endOffset":6575,"count":8}],"isBlockCoverage":true},{"functionName":"finalizeResolution","ranges":[{"startOffset":6969,"endOffset":8433,"count":107},{"startOffset":7109,"endOffset":7252,"count":0},{"startOffset":7314,"endOffset":7498,"count":0},{"startOffset":7587,"endOffset":7623,"count":0},{"startOffset":7689,"endOffset":7781,"count":0},{"startOffset":7804,"endOffset":8092,"count":0},{"startOffset":8338,"endOffset":8343,"count":0}],"isBlockCoverage":true},{"functionName":"importNotDefined","ranges":[{"startOffset":8545,"endOffset":8756,"count":0}],"isBlockCoverage":false},{"functionName":"exportsNotFound","ranges":[{"startOffset":8866,"endOffset":9061,"count":0}],"isBlockCoverage":false},{"functionName":"throwInvalidSubpath","ranges":[{"startOffset":9228,"endOffset":9611,"count":0}],"isBlockCoverage":false},{"functionName":"invalidPackageTarget","ranges":[{"startOffset":9613,"endOffset":9991,"count":0}],"isBlockCoverage":false},{"functionName":"resolvePackageTargetString","ranges":[{"startOffset":10714,"endOffset":13451,"count":34},{"startOffset":10883,"endOffset":10894,"count":0},{"startOffset":10895,"endOffset":10931,"count":0},{"startOffset":10937,"endOffset":11011,"count":0},{"startOffset":11061,"endOffset":11618,"count":0},{"startOffset":11710,"endOffset":12320,"count":0},{"startOffset":12543,"endOffset":12617,"count":0},{"startOffset":12657,"endOffset":13450,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11393,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11919,"endOffset":11932,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12065,"endOffset":12078,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12792,"endOffset":12805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13032,"endOffset":13045,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13385,"endOffset":13398,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayIndex","ranges":[{"startOffset":13506,"endOffset":13646,"count":18},{"startOffset":13598,"endOffset":13643,"count":0}],"isBlockCoverage":true},{"functionName":"resolvePackageTarget","ranges":[{"startOffset":13910,"endOffset":16158,"count":44},{"startOffset":14103,"endOffset":14257,"count":34},{"startOffset":14257,"endOffset":16041,"count":10},{"startOffset":14289,"endOffset":15127,"count":2},{"startOffset":14320,"endOffset":14346,"count":0},{"startOffset":14666,"endOffset":14814,"count":0},{"startOffset":14854,"endOffset":14881,"count":0},{"startOffset":14916,"endOffset":14973,"count":0},{"startOffset":15007,"endOffset":15069,"count":0},{"startOffset":15077,"endOffset":15127,"count":0},{"startOffset":15127,"endOffset":16041,"count":8},{"startOffset":15280,"endOffset":15508,"count":18},{"startOffset":15338,"endOffset":15502,"count":0},{"startOffset":15551,"endOffset":15966,"count":13},{"startOffset":15608,"endOffset":15630,"count":10},{"startOffset":15632,"endOffset":15960,"count":8},{"startOffset":15913,"endOffset":15922,"count":0},{"startOffset":15966,"endOffset":16041,"count":0},{"startOffset":16041,"endOffset":16157,"count":0}],"isBlockCoverage":true},{"functionName":"isConditionalExportsMainSugar","ranges":[{"startOffset":16343,"endOffset":17278,"count":32},{"startOffset":16449,"endOffset":16473,"count":6},{"startOffset":16475,"endOffset":16487,"count":26},{"startOffset":16487,"endOffset":16541,"count":6},{"startOffset":16543,"endOffset":16556,"count":0},{"startOffset":16556,"endOffset":16696,"count":6},{"startOffset":16696,"endOffset":17247,"count":11},{"startOffset":16806,"endOffset":16863,"count":6},{"startOffset":16863,"endOffset":17243,"count":5},{"startOffset":16919,"endOffset":17243,"count":0},{"startOffset":17247,"endOffset":17277,"count":6}],"isBlockCoverage":true},{"functionName":"packageExportsResolve","ranges":[{"startOffset":17488,"endOffset":20047,"count":32},{"startOffset":17700,"endOffset":17727,"count":27},{"startOffset":18129,"endOffset":18203,"count":0},{"startOffset":18234,"endOffset":20046,"count":0}],"isBlockCoverage":true},{"functionName":"patternKeyCompare","ranges":[{"startOffset":20049,"endOffset":20580,"count":0}],"isBlockCoverage":false},{"functionName":"packageImportsResolve","ranges":[{"startOffset":20709,"endOffset":23166,"count":2},{"startOffset":20871,"endOffset":21024,"count":0},{"startOffset":21608,"endOffset":23100,"count":0},{"startOffset":23110,"endOffset":23165,"count":0}],"isBlockCoverage":true},{"functionName":"getPackageType","ranges":[{"startOffset":23271,"endOffset":23384,"count":116}],"isBlockCoverage":true},{"functionName":"parsePackageName","ranges":[{"startOffset":23546,"endOffset":24598,"count":52},{"startOffset":23737,"endOffset":23965,"count":1},{"startOffset":23817,"endOffset":23856,"count":0},{"startOffset":24027,"endOffset":24079,"count":0},{"startOffset":24256,"endOffset":24281,"count":0},{"startOffset":24308,"endOffset":24427,"count":0},{"startOffset":24488,"endOffset":24541,"count":0}],"isBlockCoverage":true},{"functionName":"packageResolve","ranges":[{"startOffset":24760,"endOffset":26832,"count":52},{"startOffset":24874,"endOffset":24920,"count":0},{"startOffset":25258,"endOffset":25375,"count":0},{"startOffset":25550,"endOffset":26617,"count":191},{"startOffset":25809,"endOffset":26086,"count":139},{"startOffset":25886,"endOffset":25923,"count":3},{"startOffset":25924,"endOffset":25950,"count":136},{"startOffset":26086,"endOffset":26267,"count":52},{"startOffset":26267,"endOffset":26384,"count":30},{"startOffset":26384,"endOffset":26526,"count":22},{"startOffset":26526,"endOffset":26617,"count":0},{"startOffset":26617,"endOffset":26831,"count":0}],"isBlockCoverage":true},{"functionName":"isBareSpecifier","ranges":[{"startOffset":26893,"endOffset":27003,"count":0}],"isBlockCoverage":false},{"functionName":"isRelativeSpecifier","ranges":[{"startOffset":27005,"endOffset":27276,"count":268},{"startOffset":27075,"endOffset":27258,"count":104},{"startOffset":27133,"endOffset":27145,"count":94},{"startOffset":27145,"endOffset":27254,"count":10},{"startOffset":27258,"endOffset":27275,"count":164}],"isBlockCoverage":true},{"functionName":"shouldBeTreatedAsRelativeOrAbsolutePath","ranges":[{"startOffset":27278,"endOffset":27461,"count":268},{"startOffset":27364,"endOffset":27377,"count":0},{"startOffset":27406,"endOffset":27418,"count":0}],"isBlockCoverage":true},{"functionName":"moduleResolve","ranges":[{"startOffset":27654,"endOffset":28445,"count":107},{"startOffset":27980,"endOffset":28026,"count":52},{"startOffset":28026,"endOffset":28316,"count":55},{"startOffset":28071,"endOffset":28143,"count":2},{"startOffset":28143,"endOffset":28316,"count":53},{"startOffset":28204,"endOffset":28312,"count":52},{"startOffset":28354,"endOffset":28380,"count":0}],"isBlockCoverage":true},{"functionName":"resolveAsCommonJS","ranges":[{"startOffset":28591,"endOffset":30048,"count":0}],"isBlockCoverage":false},{"functionName":"checkIfDisallowedImport","ranges":[{"startOffset":30110,"endOffset":31482,"count":161},{"startOffset":30204,"endOffset":31480,"count":160},{"startOffset":30416,"endOffset":31476,"count":0}],"isBlockCoverage":true},{"functionName":"throwIfInvalidParentURL","ranges":[{"startOffset":31557,"endOffset":31830,"count":161},{"startOffset":31634,"endOffset":31685,"count":1},{"startOffset":31685,"endOffset":31722,"count":160},{"startOffset":31722,"endOffset":31742,"count":0},{"startOffset":31744,"endOffset":31828,"count":0}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":31833,"endOffset":35819,"count":161},{"startOffset":31981,"endOffset":32000,"count":160},{"startOffset":31990,"endOffset":32000,"count":0},{"startOffset":32002,"endOffset":32811,"count":0},{"startOffset":32853,"endOffset":32958,"count":160},{"startOffset":32915,"endOffset":32954,"count":0},{"startOffset":33042,"endOffset":33101,"count":52},{"startOffset":33101,"endOffset":33149,"count":109},{"startOffset":33149,"endOffset":33423,"count":107},{"startOffset":33327,"endOffset":33415,"count":0},{"startOffset":33430,"endOffset":33489,"count":0},{"startOffset":33494,"endOffset":33529,"count":54},{"startOffset":33863,"endOffset":33882,"count":0},{"startOffset":33947,"endOffset":33977,"count":107},{"startOffset":33979,"endOffset":34022,"count":54},{"startOffset":34022,"endOffset":34081,"count":107},{"startOffset":34081,"endOffset":34579,"count":1},{"startOffset":34536,"endOffset":34575,"count":0},{"startOffset":34579,"endOffset":34735,"count":107},{"startOffset":34735,"endOffset":34757,"count":1},{"startOffset":34758,"endOffset":34776,"count":106},{"startOffset":34789,"endOffset":35593,"count":0},{"startOffset":35593,"endOffset":35818,"count":107}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":36211,"endOffset":36602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"179","url":"node:internal/modules/esm/package_config","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1412,"count":1}],"isBlockCoverage":false},{"functionName":"getPackageScopeConfig","ranges":[{"startOffset":269,"endOffset":1362,"count":170},{"startOffset":387,"endOffset":1107,"count":277},{"startOffset":521,"endOffset":541,"count":0},{"startOffset":731,"endOffset":766,"count":170},{"startOffset":766,"endOffset":1083,"count":107},{"startOffset":1083,"endOffset":1103,"count":0},{"startOffset":1107,"endOffset":1361,"count":0}],"isBlockCoverage":true}]},{"scriptId":"180","url":"node:internal/modules/esm/get_format","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4514,"count":1}],"isBlockCoverage":false},{"functionName":"node:","ranges":[{"startOffset":900,"endOffset":931,"count":14}],"isBlockCoverage":true},{"functionName":"getDataProtocolModuleFormat","ranges":[{"startOffset":996,"endOffset":1212,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":1487,"endOffset":1846,"count":129},{"startOffset":1587,"endOffset":1831,"count":400},{"startOffset":1649,"endOffset":1684,"count":0},{"startOffset":1692,"endOffset":1821,"count":129},{"startOffset":1780,"endOffset":1784,"count":0},{"startOffset":1831,"endOffset":1845,"count":0}],"isBlockCoverage":true},{"functionName":"getFileProtocolModuleFormat","ranges":[{"startOffset":1970,"endOffset":3175,"count":129},{"startOffset":2086,"endOffset":2160,"count":116},{"startOffset":2132,"endOffset":2142,"count":72},{"startOffset":2143,"endOffset":2155,"count":44},{"startOffset":2160,"endOffset":2232,"count":13},{"startOffset":2232,"endOffset":2467,"count":0},{"startOffset":2469,"endOffset":3174,"count":0}],"isBlockCoverage":true},{"functionName":"getHttpProtocolModuleFormat","ranges":[{"startOffset":3311,"endOffset":3656,"count":0}],"isBlockCoverage":false},{"functionName":"defaultGetFormatWithoutErrors","ranges":[{"startOffset":3801,"endOffset":4036,"count":129},{"startOffset":3955,"endOffset":3977,"count":0}],"isBlockCoverage":true},{"functionName":"defaultGetFormat","ranges":[{"startOffset":4181,"endOffset":4404,"count":14},{"startOffset":4322,"endOffset":4344,"count":0}],"isBlockCoverage":true}]},{"scriptId":"181","url":"node:internal/modules/esm/formats","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":856,"count":1}],"isBlockCoverage":false},{"functionName":"mimeToFormat","ranges":[{"startOffset":468,"endOffset":794,"count":0}],"isBlockCoverage":false}]},{"scriptId":"182","url":"node:internal/modules/esm/handle_process_exit","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":424,"count":1}],"isBlockCoverage":false},{"functionName":"handleProcessExit","ranges":[{"startOffset":298,"endOffset":379,"count":0}],"isBlockCoverage":false}]},{"scriptId":"183","url":"node:internal/modules/esm/module_job","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8786,"count":1}],"isBlockCoverage":false},{"functionName":"isCommonJSGlobalLikeNotDefinedError","ranges":[{"startOffset":917,"endOffset":1048,"count":0}],"isBlockCoverage":false},{"functionName":"ModuleJob","ranges":[{"startOffset":1286,"endOffset":3283,"count":97},{"startOffset":1811,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"link","ranges":[{"startOffset":2085,"endOffset":2900,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2541,"endOffset":2746,"count":158}],"isBlockCoverage":true},{"functionName":"instantiate","ranges":[{"startOffset":3287,"endOffset":3432,"count":4},{"startOffset":3344,"endOffset":3398,"count":3}],"isBlockCoverage":true},{"functionName":"_instantiate","ranges":[{"startOffset":3436,"endOffset":7090,"count":3},{"startOffset":3896,"endOffset":4073,"count":0},{"startOffset":4130,"endOffset":6843,"count":0},{"startOffset":6890,"endOffset":7086,"count":106}],"isBlockCoverage":true},{"functionName":"addJobsToDependencyGraph","ranges":[{"startOffset":3535,"endOffset":3795,"count":161},{"startOffset":3596,"endOffset":3621,"count":55},{"startOffset":3621,"endOffset":3794,"count":106}],"isBlockCoverage":true},{"functionName":"runSync","ranges":[{"startOffset":7094,"endOffset":7494,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":7498,"endOffset":8706,"count":4},{"startOffset":7673,"endOffset":8649,"count":0}],"isBlockCoverage":true}]},{"scriptId":"184","url":"node:internal/modules/esm/load","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6703,"count":1}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":1130,"endOffset":2357,"count":58},{"startOffset":1398,"endOffset":2223,"count":0},{"startOffset":2236,"endOffset":2246,"count":0},{"startOffset":2248,"endOffset":2304,"count":0}],"isBlockCoverage":true},{"functionName":"getSourceSync","ranges":[{"startOffset":2540,"endOffset":3279,"count":0}],"isBlockCoverage":false},{"functionName":"defaultLoad","ranges":[{"startOffset":3400,"endOffset":4067,"count":97},{"startOffset":3739,"endOffset":3827,"count":14},{"startOffset":3827,"endOffset":3855,"count":83},{"startOffset":3860,"endOffset":3884,"count":39},{"startOffset":3884,"endOffset":3986,"count":58}],"isBlockCoverage":true},{"functionName":"defaultLoadSync","ranges":[{"startOffset":4580,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfUnsupportedURLScheme","ranges":[{"startOffset":5367,"endOffset":5999,"count":97},{"startOffset":5597,"endOffset":5624,"count":14},{"startOffset":5625,"endOffset":5652,"count":14},{"startOffset":5653,"endOffset":5782,"count":0},{"startOffset":5787,"endOffset":5997,"count":0}],"isBlockCoverage":true},{"functionName":"throwUnknownModuleFormat","ranges":[{"startOffset":6378,"endOffset":6616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"185","url":"node:internal/fs/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29943,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCpPromises","ranges":[{"startOffset":2997,"endOffset":3089,"count":0}],"isBlockCoverage":false},{"functionName":"lazyFsStreams","ranges":[{"startOffset":3151,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3236,"endOffset":9299,"count":58}],"isBlockCoverage":false},{"functionName":"FileHandle","ranges":[{"startOffset":3377,"endOffset":3554,"count":58},{"startOffset":3491,"endOffset":3495,"count":0}],"isBlockCoverage":true},{"functionName":"getAsyncId","ranges":[{"startOffset":3558,"endOffset":3615,"count":0}],"isBlockCoverage":false},{"functionName":"get fd","ranges":[{"startOffset":3619,"endOffset":3655,"count":116}],"isBlockCoverage":true},{"functionName":"appendFile","ranges":[{"startOffset":3659,"endOffset":3741,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":3745,"endOffset":3801,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":3805,"endOffset":3869,"count":0}],"isBlockCoverage":false},{"functionName":"datasync","ranges":[{"startOffset":3873,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":3929,"endOffset":3973,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":3977,"endOffset":4086,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":4090,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":4175,"endOffset":4242,"count":0}],"isBlockCoverage":false},{"functionName":"readLines","ranges":[{"startOffset":4246,"endOffset":4389,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4393,"endOffset":4453,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":4457,"endOffset":4521,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":4525,"endOffset":4599,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":4603,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":4718,"endOffset":4801,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4805,"endOffset":4886,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":4898,"endOffset":5690,"count":58},{"startOffset":4932,"endOffset":4970,"count":0},{"startOffset":5001,"endOffset":5042,"count":0},{"startOffset":5268,"endOffset":5629,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5210,"endOffset":5252,"count":58}],"isBlockCoverage":true},{"functionName":".SafePromisePrototypeFinally.","ranges":[{"startOffset":5353,"endOffset":5465,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5468,"endOffset":5613,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5695,"endOffset":5754,"count":0}],"isBlockCoverage":false},{"functionName":"readableWebStream","ranges":[{"startOffset":5949,"endOffset":7635,"count":0}],"isBlockCoverage":false},{"functionName":"createReadStream","ranges":[{"startOffset":7933,"endOffset":8084,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":8333,"endOffset":8487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8491,"endOffset":8891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8895,"endOffset":8948,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8952,"endOffset":9039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9043,"endOffset":9076,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9080,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"handleFdClose","ranges":[{"startOffset":9301,"endOffset":9672,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9412,"endOffset":9471,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9458,"endOffset":9470,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9477,"endOffset":9664,"count":0}],"isBlockCoverage":false},{"functionName":"fsCall","ranges":[{"startOffset":9674,"endOffset":10134,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":10136,"endOffset":10256,"count":232},{"startOffset":10180,"endOffset":10189,"count":0},{"startOffset":10195,"endOffset":10254,"count":0}],"isBlockCoverage":true},{"functionName":"writeFileHandle","ranges":[{"startOffset":10258,"endOffset":11400,"count":0}],"isBlockCoverage":false},{"functionName":"readFileHandle","ranges":[{"startOffset":11402,"endOffset":13541,"count":58},{"startOffset":11554,"endOffset":11584,"count":0},{"startOffset":11864,"endOffset":11902,"count":0},{"startOffset":11935,"endOffset":11983,"count":0},{"startOffset":12016,"endOffset":12054,"count":0},{"startOffset":12296,"endOffset":12368,"count":0},{"startOffset":12512,"endOffset":12516,"count":0},{"startOffset":12601,"endOffset":12657,"count":0},{"startOffset":12751,"endOffset":12762,"count":0},{"startOffset":12819,"endOffset":12879,"count":0},{"startOffset":12927,"endOffset":12941,"count":0},{"startOffset":12943,"endOffset":13053,"count":0},{"startOffset":13084,"endOffset":13535,"count":0}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":13694,"endOffset":13915,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":13917,"endOffset":14186,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":14188,"endOffset":14546,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":14666,"endOffset":14991,"count":58}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":14993,"endOffset":16364,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":16366,"endOffset":16703,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":16705,"endOffset":17954,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":17956,"endOffset":18398,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":18400,"endOffset":18706,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":18708,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":18843,"endOffset":19002,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":19004,"endOffset":19208,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":19210,"endOffset":19581,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":19583,"endOffset":19672,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":19674,"endOffset":19755,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":19757,"endOffset":20234,"count":0}],"isBlockCoverage":false},{"functionName":"readdirRecursive","ranges":[{"startOffset":20236,"endOffset":21910,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":21912,"endOffset":22339,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":22341,"endOffset":22580,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":22582,"endOffset":23306,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":23308,"endOffset":23486,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":23488,"endOffset":23758,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":23760,"endOffset":24027,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":24029,"endOffset":24303,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":24305,"endOffset":24628,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":24630,"endOffset":24768,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":24770,"endOffset":24903,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":24905,"endOffset":25091,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":25093,"endOffset":25321,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":25323,"endOffset":25599,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":25601,"endOffset":25798,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":25800,"endOffset":26073,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":26075,"endOffset":26347,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":26349,"endOffset":26548,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":26550,"endOffset":26827,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":26829,"endOffset":27002,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":27004,"endOffset":27383,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":27385,"endOffset":28060,"count":0}],"isBlockCoverage":false},{"functionName":"isCustomIterable","ranges":[{"startOffset":28062,"endOffset":28176,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":28178,"endOffset":28419,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":28421,"endOffset":28765,"count":58},{"startOffset":28538,"endOffset":28544,"count":0},{"startOffset":28585,"endOffset":28622,"count":0}],"isBlockCoverage":true},{"functionName":"_watch","ranges":[{"startOffset":28767,"endOffset":29432,"count":0}],"isBlockCoverage":false}]},{"scriptId":"186","url":"node:internal/fs/rimraf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7454,"count":1}],"isBlockCoverage":false},{"functionName":"rimraf","ranges":[{"startOffset":1175,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_rimraf","ranges":[{"startOffset":1638,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERM","ranges":[{"startOffset":2499,"endOffset":2934,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdir","ranges":[{"startOffset":2937,"endOffset":3235,"count":0}],"isBlockCoverage":false},{"functionName":"_rmchildren","ranges":[{"startOffset":3238,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafPromises","ranges":[{"startOffset":3928,"endOffset":4126,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafSync","ranges":[{"startOffset":4129,"endOffset":4812,"count":0}],"isBlockCoverage":false},{"functionName":"_unlinkSync","ranges":[{"startOffset":4815,"endOffset":5444,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdirSync","ranges":[{"startOffset":5447,"endOffset":6944,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERMSync","ranges":[{"startOffset":6947,"endOffset":7394,"count":0}],"isBlockCoverage":false}]},{"scriptId":"187","url":"node:internal/fs/dir","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8071,"count":1}],"isBlockCoverage":false},{"functionName":"Dir","ranges":[{"startOffset":1177,"endOffset":1993,"count":0}],"isBlockCoverage":false},{"functionName":"get path","ranges":[{"startOffset":1997,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":2044,"endOffset":2111,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2115,"endOffset":3841,"count":0}],"isBlockCoverage":false},{"functionName":"processReadResult","ranges":[{"startOffset":3845,"endOffset":4099,"count":0}],"isBlockCoverage":false},{"functionName":"readSyncRecursive","ranges":[{"startOffset":4103,"endOffset":4676,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":4680,"endOffset":5656,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":5660,"endOffset":6349,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":6353,"endOffset":6730,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":6734,"endOffset":6997,"count":0}],"isBlockCoverage":false},{"functionName":"opendir","ranges":[{"startOffset":7177,"endOffset":7757,"count":0}],"isBlockCoverage":false},{"functionName":"opendirSync","ranges":[{"startOffset":7759,"endOffset":8014,"count":0}],"isBlockCoverage":false}]},{"scriptId":"188","url":"node:internal/fs/watchers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11242,"count":1}],"isBlockCoverage":false},{"functionName":"emitStop","ranges":[{"startOffset":1420,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher","ranges":[{"startOffset":1470,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"onchange","ranges":[{"startOffset":1820,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":2565,"endOffset":3399,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.start","ranges":[{"startOffset":3620,"endOffset":3628,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.stop","ranges":[{"startOffset":3874,"endOffset":4155,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":4244,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.ref","ranges":[{"startOffset":4702,"endOffset":4984,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.unref","ranges":[{"startOffset":5017,"endOffset":5267,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher","ranges":[{"startOffset":5271,"endOffset":6239,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.","ranges":[{"startOffset":6776,"endOffset":7686,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.start","ranges":[{"startOffset":7903,"endOffset":7911,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.close","ranges":[{"startOffset":8034,"endOffset":8371,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.ref","ranges":[{"startOffset":8400,"endOffset":8469,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.unref","ranges":[{"startOffset":8500,"endOffset":8571,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":8574,"endOffset":8626,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8850,"endOffset":8886,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8890,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":8967,"endOffset":11110,"count":0}],"isBlockCoverage":false}]},{"scriptId":"189","url":"node:internal/fs/recursive_watch","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7634,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFsPromises","ranges":[{"startOffset":812,"endOffset":919,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadFsSync","ranges":[{"startOffset":921,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"traverse","ranges":[{"startOffset":1037,"endOffset":1618,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1620,"endOffset":7580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"190","url":"node:internal/readline/interface","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":39029,"count":1}],"isBlockCoverage":false},{"functionName":"InterfaceConstructor","ranges":[{"startOffset":3781,"endOffset":9286,"count":0}],"isBlockCoverage":false},{"functionName":"Interface","ranges":[{"startOffset":9527,"endOffset":9627,"count":0}],"isBlockCoverage":false},{"functionName":"get columns","ranges":[{"startOffset":9630,"endOffset":9742,"count":0}],"isBlockCoverage":false},{"functionName":"setPrompt","ranges":[{"startOffset":9851,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"getPrompt","ranges":[{"startOffset":9996,"endOffset":10039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10043,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"prompt","ranges":[{"startOffset":10373,"endOffset":10627,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10631,"endOffset":10938,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10942,"endOffset":11184,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11188,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11279,"endOffset":11447,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11451,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11652,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12834,"endOffset":13839,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13923,"endOffset":14094,"count":0}],"isBlockCoverage":false},{"functionName":"pause","ranges":[{"startOffset":14175,"endOffset":14306,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":14398,"endOffset":14534,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":14805,"endOffset":14964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14968,"endOffset":16702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16706,"endOffset":17375,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17379,"endOffset":17778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17782,"endOffset":19990,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19994,"endOffset":20455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20459,"endOffset":20717,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20721,"endOffset":21203,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21207,"endOffset":21688,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21692,"endOffset":22452,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22456,"endOffset":22883,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22887,"endOffset":23165,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23169,"endOffset":23427,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23431,"endOffset":23691,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23695,"endOffset":23850,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23854,"endOffset":24529,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":24533,"endOffset":24682,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24686,"endOffset":24840,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24844,"endOffset":25031,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25035,"endOffset":25343,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25347,"endOffset":25655,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26090,"endOffset":26724,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26728,"endOffset":27436,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27511,"endOffset":28451,"count":0}],"isBlockCoverage":false},{"functionName":"getCursorPos","ranges":[{"startOffset":28628,"endOffset":28797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":28916,"endOffset":29473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29510,"endOffset":37760,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38068,"endOffset":38448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"191","url":"node:internal/readline/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12396,"count":1}],"isBlockCoverage":false},{"functionName":"CSI","ranges":[{"startOffset":385,"endOffset":579,"count":4},{"startOffset":544,"endOffset":559,"count":0}],"isBlockCoverage":true},{"functionName":"charLengthLeft","ranges":[{"startOffset":958,"endOffset":1220,"count":0}],"isBlockCoverage":false},{"functionName":"charLengthAt","ranges":[{"startOffset":1222,"endOffset":1484,"count":0}],"isBlockCoverage":false},{"functionName":"emitKeys","ranges":[{"startOffset":2213,"endOffset":11840,"count":0}],"isBlockCoverage":false},{"functionName":"commonPrefix","ranges":[{"startOffset":11870,"endOffset":12283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"192","url":"node:internal/readline/callbacks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2754,"count":1}],"isBlockCoverage":false},{"functionName":"cursorTo","ranges":[{"startOffset":460,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"moveCursor","ranges":[{"startOffset":1210,"endOffset":1722,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":1869,"endOffset":2272,"count":0}],"isBlockCoverage":false},{"functionName":"clearScreenDown","ranges":[{"startOffset":2349,"endOffset":2672,"count":0}],"isBlockCoverage":false}]},{"scriptId":"193","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/base.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7557,"count":1},{"startOffset":7375,"endOffset":7491,"count":0},{"startOffset":7522,"endOffset":7556,"count":0}],"isBlockCoverage":true},{"functionName":"exit","ranges":[{"startOffset":1052,"endOffset":1240,"count":1}],"isBlockCoverage":true},{"functionName":"handleProcessExit","ranges":[{"startOffset":1268,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":1946,"endOffset":6902,"count":1},{"startOffset":2368,"endOffset":2565,"count":0},{"startOffset":5638,"endOffset":5643,"count":0},{"startOffset":5646,"endOffset":5671,"count":0},{"startOffset":5908,"endOffset":5943,"count":0},{"startOffset":5944,"endOffset":5979,"count":0},{"startOffset":5981,"endOffset":6410,"count":0},{"startOffset":6682,"endOffset":6752,"count":0},{"startOffset":6756,"endOffset":6900,"count":0}],"isBlockCoverage":true},{"functionName":"checkSelectedByLineNumbers","ranges":[{"startOffset":2550,"endOffset":2561,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3090,"endOffset":3122,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3204,"endOffset":3232,"count":36}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3256,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3420,"endOffset":4245,"count":1},{"startOffset":3523,"endOffset":3593,"count":0},{"startOffset":3598,"endOffset":3756,"count":0},{"startOffset":3831,"endOffset":4000,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3813,"endOffset":3823,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4030,"endOffset":4240,"count":1},{"startOffset":4087,"endOffset":4223,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4282,"endOffset":4421,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4602,"endOffset":4633,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4642,"endOffset":4668,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4927,"endOffset":5129,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":5197,"endOffset":5585,"count":1},{"startOffset":5343,"endOffset":5584,"count":0}],"isBlockCoverage":true},{"functionName":"onError","ranges":[{"startOffset":6921,"endOffset":7139,"count":0}],"isBlockCoverage":false}]},{"scriptId":"194","url":"node:internal/deps/cjs-module-lexer/dist/lexer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":33616,"count":1}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":116,"endOffset":813,"count":25},{"startOffset":146,"endOffset":181,"count":0},{"startOffset":222,"endOffset":237,"count":0},{"startOffset":273,"endOffset":308,"count":1},{"startOffset":332,"endOffset":334,"count":0},{"startOffset":406,"endOffset":553,"count":0},{"startOffset":601,"endOffset":650,"count":1},{"startOffset":663,"endOffset":696,"count":0},{"startOffset":709,"endOffset":773,"count":71}],"isBlockCoverage":true},{"functionName":"B","ranges":[{"startOffset":813,"endOffset":1040,"count":72},{"startOffset":840,"endOffset":852,"count":71},{"startOffset":853,"endOffset":862,"count":70},{"startOffset":862,"endOffset":913,"count":2},{"startOffset":913,"endOffset":1023,"count":25},{"startOffset":958,"endOffset":1022,"count":0},{"startOffset":1023,"endOffset":1032,"count":2},{"startOffset":1032,"endOffset":1039,"count":0}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":1040,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"C","ranges":[{"startOffset":1141,"endOffset":1215,"count":25},{"startOffset":1192,"endOffset":1214,"count":73749}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":1221,"endOffset":33616,"count":6},{"startOffset":1245,"endOffset":33615,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1251,"endOffset":33611,"count":1},{"startOffset":33455,"endOffset":33524,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":33505,"endOffset":33523,"count":0}],"isBlockCoverage":false}]},{"scriptId":"195","url":"node:module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":397,"count":1}],"isBlockCoverage":false}]},{"scriptId":"196","url":"node:internal/source_map/source_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12067,"count":1}],"isBlockCoverage":false},{"functionName":"StringCharIterator","ranges":[{"startOffset":4000,"endOffset":4076,"count":0}],"isBlockCoverage":false},{"functionName":"next","ranges":[{"startOffset":4114,"endOffset":4192,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":4230,"endOffset":4306,"count":0}],"isBlockCoverage":false},{"functionName":"hasNext","ranges":[{"startOffset":4345,"endOffset":4409,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4550,"endOffset":10030,"count":0}],"isBlockCoverage":false},{"functionName":"isSeparator","ranges":[{"startOffset":10085,"endOffset":10154,"count":0}],"isBlockCoverage":false},{"functionName":"decodeVLQ","ranges":[{"startOffset":10244,"endOffset":11177,"count":0}],"isBlockCoverage":false},{"functionName":"cloneSourceMapV3","ranges":[{"startOffset":11244,"endOffset":11556,"count":0}],"isBlockCoverage":false},{"functionName":"compareSourceMapEntry","ranges":[{"startOffset":11751,"endOffset":12030,"count":0}],"isBlockCoverage":false}]},{"scriptId":"197","url":"node:process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":83,"count":1}],"isBlockCoverage":false}]},{"scriptId":"198","url":"node:internal/process/report","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2644,"count":1}],"isBlockCoverage":false},{"functionName":"writeReport","ranges":[{"startOffset":352,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getReport","ranges":[{"startOffset":775,"endOffset":940,"count":0}],"isBlockCoverage":false},{"functionName":"get directory","ranges":[{"startOffset":944,"endOffset":995,"count":0}],"isBlockCoverage":false},{"functionName":"set directory","ranges":[{"startOffset":999,"endOffset":1087,"count":0}],"isBlockCoverage":false},{"functionName":"get filename","ranges":[{"startOffset":1091,"endOffset":1140,"count":0}],"isBlockCoverage":false},{"functionName":"set filename","ranges":[{"startOffset":1144,"endOffset":1232,"count":0}],"isBlockCoverage":false},{"functionName":"get compact","ranges":[{"startOffset":1236,"endOffset":1283,"count":0}],"isBlockCoverage":false},{"functionName":"set compact","ranges":[{"startOffset":1287,"endOffset":1364,"count":0}],"isBlockCoverage":false},{"functionName":"get signal","ranges":[{"startOffset":1368,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"set signal","ranges":[{"startOffset":1417,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnFatalError","ranges":[{"startOffset":1558,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnFatalError","ranges":[{"startOffset":1634,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnSignal","ranges":[{"startOffset":1756,"endOffset":1820,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnSignal","ranges":[{"startOffset":1824,"endOffset":1985,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnUncaughtException","ranges":[{"startOffset":1989,"endOffset":2075,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnUncaughtException","ranges":[{"startOffset":2079,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"addSignalHandler","ranges":[{"startOffset":2217,"endOffset":2388,"count":0}],"isBlockCoverage":false},{"functionName":"removeSignalHandler","ranges":[{"startOffset":2390,"endOffset":2514,"count":0}],"isBlockCoverage":false},{"functionName":"signalHandler","ranges":[{"startOffset":2516,"endOffset":2590,"count":0}],"isBlockCoverage":false}]},{"scriptId":"199","url":"node:url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":32640,"count":1}],"isBlockCoverage":false},{"functionName":"Url","ranges":[{"startOffset":2149,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"urlParse","ranges":[{"startOffset":3430,"endOffset":4035,"count":0}],"isBlockCoverage":false},{"functionName":"isIpv6Hostname","ranges":[{"startOffset":4037,"endOffset":4260,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":5081,"endOffset":15159,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname","ranges":[{"startOffset":15190,"endOffset":16135,"count":0}],"isBlockCoverage":false},{"functionName":"autoEscapeStr","ranges":[{"startOffset":17192,"endOffset":17898,"count":0}],"isBlockCoverage":false},{"functionName":"urlFormat","ranges":[{"startOffset":17944,"endOffset":19115,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":19822,"endOffset":22199,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolve","ranges":[{"startOffset":22202,"endOffset":22301,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":22327,"endOffset":22428,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolveObject","ranges":[{"startOffset":22431,"endOffset":22574,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObject","ranges":[{"startOffset":22606,"endOffset":31725,"count":0}],"isBlockCoverage":false},{"functionName":"parseHost","ranges":[{"startOffset":31754,"endOffset":32027,"count":0}],"isBlockCoverage":false},{"functionName":"pathToFileURL","ranges":[{"startOffset":32248,"endOffset":32344,"count":1}],"isBlockCoverage":true}]},{"scriptId":"200","url":"node:internal/idna","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":124,"count":1}],"isBlockCoverage":false}]},{"scriptId":"202","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/chalk.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":351,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":197,"endOffset":350,"count":1},{"startOffset":238,"endOffset":298,"count":0}],"isBlockCoverage":true}]},{"scriptId":"203","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/provider-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":455,"endOffset":1345,"count":1},{"startOffset":1293,"endOffset":1312,"count":0}],"isBlockCoverage":true},{"functionName":"negotiateProtocol","ranges":[{"startOffset":665,"endOffset":1273,"count":1},{"startOffset":840,"endOffset":978,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":748,"endOffset":803,"count":2}],"isBlockCoverage":true},{"functionName":"findFiles","ranges":[{"startOffset":1047,"endOffset":1178,"count":0}],"isBlockCoverage":false},{"functionName":"typescript","ranges":[{"startOffset":1383,"endOffset":1462,"count":1}],"isBlockCoverage":true}]},{"scriptId":"204","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17,"count":1}],"isBlockCoverage":true}]},{"scriptId":"205","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/runner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15654,"count":1}],"isBlockCoverage":true},{"functionName":"makeFileURL","ranges":[{"startOffset":520,"endOffset":594,"count":1},{"startOffset":555,"endOffset":561,"count":0}],"isBlockCoverage":true},{"functionName":"Runner","ranges":[{"startOffset":644,"endOffset":5705,"count":1},{"startOffset":725,"endOffset":730,"count":0},{"startOffset":978,"endOffset":983,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.registerUniqueTitle","ranges":[{"startOffset":1787,"endOffset":1911,"count":9},{"startOffset":1834,"endOffset":1858,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.notifyTimeoutUpdate","ranges":[{"startOffset":1943,"endOffset":2058,"count":0}],"isBlockCoverage":false},{"functionName":"get snapshotDirectory","ranges":[{"startOffset":2187,"endOffset":2366,"count":0}],"isBlockCoverage":false},{"functionName":"Runner.chain.createChain.serial","ranges":[{"startOffset":2401,"endOffset":5489,"count":9},{"startOffset":2480,"endOffset":2630,"count":0},{"startOffset":2656,"endOffset":2769,"count":1},{"startOffset":2925,"endOffset":2990,"count":0},{"startOffset":3014,"endOffset":3813,"count":0},{"startOffset":3846,"endOffset":3965,"count":0},{"startOffset":4006,"endOffset":4093,"count":0},{"startOffset":4134,"endOffset":4205,"count":0},{"startOffset":4267,"endOffset":4522,"count":0},{"startOffset":4600,"endOffset":4669,"count":0},{"startOffset":4714,"endOffset":4730,"count":0},{"startOffset":4870,"endOffset":4992,"count":0},{"startOffset":5028,"endOffset":5072,"count":0},{"startOffset":5106,"endOffset":5116,"count":0},{"startOffset":5365,"endOffset":5480,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2706,"endOffset":2762,"count":1}],"isBlockCoverage":true},{"functionName":"get snapshots","ranges":[{"startOffset":5708,"endOffset":6318,"count":10},{"startOffset":5749,"endOffset":5781,"count":9},{"startOffset":5781,"endOffset":6317,"count":1}],"isBlockCoverage":true},{"functionName":"compareTestSnapshot","ranges":[{"startOffset":6321,"endOffset":6396,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":6399,"endOffset":6472,"count":0}],"isBlockCoverage":false},{"functionName":"saveSnapshotState","ranges":[{"startOffset":6475,"endOffset":6559,"count":1}],"isBlockCoverage":true},{"functionName":"onRun","ranges":[{"startOffset":6562,"endOffset":6620,"count":9}],"isBlockCoverage":true},{"functionName":"onRunComplete","ranges":[{"startOffset":6623,"endOffset":6692,"count":9}],"isBlockCoverage":true},{"functionName":"beforeExitHandler","ranges":[{"startOffset":6695,"endOffset":6809,"count":0}],"isBlockCoverage":false},{"functionName":"runMultiple","ranges":[{"startOffset":6812,"endOffset":8056,"count":30}],"isBlockCoverage":true},{"functionName":"runAndStoreResult","ranges":[{"startOffset":6923,"endOffset":7081,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7150,"endOffset":7998,"count":0}],"isBlockCoverage":false},{"functionName":"runSingle","ranges":[{"startOffset":8059,"endOffset":8330,"count":9}],"isBlockCoverage":true},{"functionName":"runHooks","ranges":[{"startOffset":8333,"endOffset":9506,"count":30},{"startOffset":9070,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8427,"endOffset":8959,"count":0}],"isBlockCoverage":false},{"functionName":"runTest","ranges":[{"startOffset":9509,"endOffset":11470,"count":9},{"startOffset":10007,"endOffset":10073,"count":0},{"startOffset":10940,"endOffset":11271,"count":0}],"isBlockCoverage":true},{"functionName":"Runnable.fn","ranges":[{"startOffset":10009,"endOffset":10073,"count":0}],"isBlockCoverage":false},{"functionName":"start","ranges":[{"startOffset":11473,"endOffset":15605,"count":1},{"startOffset":11619,"endOffset":12250,"count":0},{"startOffset":12296,"endOffset":12988,"count":9},{"startOffset":12327,"endOffset":12354,"count":0},{"startOffset":12356,"endOffset":12443,"count":0},{"startOffset":12484,"endOffset":12510,"count":0},{"startOffset":12512,"endOffset":12599,"count":0},{"startOffset":12810,"endOffset":12883,"count":0},{"startOffset":12906,"endOffset":12940,"count":0},{"startOffset":13028,"endOffset":13347,"count":0},{"startOffset":13425,"endOffset":13452,"count":0},{"startOffset":13454,"endOffset":13550,"count":0},{"startOffset":15547,"endOffset":15602,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13777,"endOffset":14380,"count":1},{"startOffset":13868,"endOffset":13892,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13923,"endOffset":14368,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14460,"endOffset":15058,"count":1},{"startOffset":14653,"endOffset":14669,"count":0},{"startOffset":14672,"endOffset":14696,"count":0},{"startOffset":14767,"endOffset":14790,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14971,"endOffset":15016,"count":9}],"isBlockCoverage":true},{"functionName":"interrupt","ranges":[{"startOffset":15608,"endOffset":15651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"206","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/serialize-error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4398,"count":1}],"isBlockCoverage":true},{"functionName":"isAvaAssertionError","ranges":[{"startOffset":385,"endOffset":467,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":469,"endOffset":614,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFile","ranges":[{"startOffset":616,"endOffset":756,"count":0}],"isBlockCoverage":false},{"functionName":"extractSource","ranges":[{"startOffset":795,"endOffset":1211,"count":0}],"isBlockCoverage":false},{"functionName":"buildSource","ranges":[{"startOffset":1213,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"trySerializeError","ranges":[{"startOffset":1957,"endOffset":3743,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":3760,"endOffset":4397,"count":0}],"isBlockCoverage":false}]},{"scriptId":"207","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/dependency-tracker.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":866,"count":1}],"isBlockCoverage":true},{"functionName":"flush","ranges":[{"startOffset":138,"endOffset":302,"count":2},{"startOffset":192,"endOffset":301,"count":1}],"isBlockCoverage":true},{"functionName":"track","ranges":[{"startOffset":304,"endOffset":519,"count":6},{"startOffset":368,"endOffset":382,"count":0},{"startOffset":419,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"install","ranges":[{"startOffset":556,"endOffset":836,"count":1},{"startOffset":633,"endOffset":833,"count":3}],"isBlockCoverage":true},{"functionName":"extensions.","ranges":[{"startOffset":700,"endOffset":828,"count":5}],"isBlockCoverage":true}]},{"scriptId":"208","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/line-numbers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3832,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":215,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"findTest","ranges":[{"startOffset":878,"endOffset":1452,"count":0}],"isBlockCoverage":false},{"functionName":"range","ranges":[{"startOffset":1468,"endOffset":1574,"count":0}],"isBlockCoverage":false},{"functionName":"translate","ranges":[{"startOffset":1595,"endOffset":2066,"count":0}],"isBlockCoverage":false},{"functionName":"lineNumberSelection","ranges":[{"startOffset":2084,"endOffset":3831,"count":1},{"startOffset":2196,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2334,"endOffset":3828,"count":0}],"isBlockCoverage":false}]},{"scriptId":"209","url":"node:internal/fs/streams","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14758,"count":1}],"isBlockCoverage":false},{"functionName":"_construct","ranges":[{"startOffset":1063,"endOffset":1966,"count":0}],"isBlockCoverage":false},{"functionName":"FileHandleOperations","ranges":[{"startOffset":2059,"endOffset":3058,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":3061,"endOffset":3238,"count":0}],"isBlockCoverage":false},{"functionName":"importFd","ranges":[{"startOffset":3240,"endOffset":4237,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream","ranges":[{"startOffset":4239,"endOffset":5982,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6171,"endOffset":6226,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6230,"endOffset":6287,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6323,"endOffset":6348,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._read","ranges":[{"startOffset":6524,"endOffset":7655,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._destroy","ranges":[{"startOffset":7690,"endOffset":8251,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.close","ranges":[{"startOffset":8283,"endOffset":8369,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8449,"endOffset":8483,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":8512,"endOffset":10303,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":10495,"endOffset":10550,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10554,"endOffset":10611,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10648,"endOffset":10673,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":10824,"endOffset":11617,"count":0}],"isBlockCoverage":false},{"functionName":"writevAll","ranges":[{"startOffset":11619,"endOffset":12436,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._write","ranges":[{"startOffset":12469,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._writev","ranges":[{"startOffset":12888,"endOffset":13450,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._destroy","ranges":[{"startOffset":13486,"endOffset":14047,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.close","ranges":[{"startOffset":14080,"endOffset":14462,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":14644,"endOffset":14678,"count":0}],"isBlockCoverage":false}]},{"scriptId":"210","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5900,"count":1},{"startOffset":1472,"endOffset":1706,"count":45},{"startOffset":2476,"endOffset":3149,"count":3},{"startOffset":5468,"endOffset":5471,"count":0}],"isBlockCoverage":true},{"functionName":"applyOptions","ranges":[{"startOffset":571,"endOffset":950,"count":5},{"startOffset":618,"endOffset":699,"count":3},{"startOffset":701,"endOffset":779,"count":0},{"startOffset":870,"endOffset":873,"count":0},{"startOffset":919,"endOffset":931,"count":2},{"startOffset":932,"endOffset":947,"count":3}],"isBlockCoverage":true},{"functionName":"Chalk","ranges":[{"startOffset":975,"endOffset":1084,"count":3}],"isBlockCoverage":true},{"functionName":"chalkFactory","ranges":[{"startOffset":1109,"endOffset":1275,"count":5}],"isBlockCoverage":true},{"functionName":"chalk","ranges":[{"startOffset":1137,"endOffset":1170,"count":0}],"isBlockCoverage":false},{"functionName":"createChalk","ranges":[{"startOffset":1278,"endOffset":1342,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1499,"endOffset":1699,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1728,"endOffset":1875,"count":0}],"isBlockCoverage":false},{"functionName":"getModelAnsi","ranges":[{"startOffset":1902,"endOffset":2394,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2499,"endOffset":2771,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2866,"endOffset":3142,"count":0}],"isBlockCoverage":false},{"functionName":"Object.defineProperties","ranges":[{"startOffset":3189,"endOffset":3197,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3245,"endOffset":3289,"count":20}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3293,"endOffset":3343,"count":0}],"isBlockCoverage":false},{"functionName":"createStyler","ranges":[{"startOffset":3375,"endOffset":3650,"count":4},{"startOffset":3500,"endOffset":3583,"count":0}],"isBlockCoverage":true},{"functionName":"createBuilder","ranges":[{"startOffset":3675,"endOffset":4243,"count":4}],"isBlockCoverage":true},{"functionName":"builder","ranges":[{"startOffset":3848,"endOffset":3959,"count":20},{"startOffset":3936,"endOffset":3958,"count":0}],"isBlockCoverage":true},{"functionName":"applyStyle","ranges":[{"startOffset":4265,"endOffset":5300,"count":20},{"startOffset":4318,"endOffset":4361,"count":0},{"startOffset":4419,"endOffset":4440,"count":0},{"startOffset":4511,"endOffset":4840,"count":0},{"startOffset":5177,"endOffset":5260,"count":0}],"isBlockCoverage":true}]},{"scriptId":"211","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/globs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6300,"count":1}],"isBlockCoverage":true},{"functionName":"buildExtensionPattern","ranges":[{"startOffset":755,"endOffset":838,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeGlobs","ranges":[{"startOffset":848,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"globFiles","ranges":[{"startOffset":3027,"endOffset":3288,"count":0}],"isBlockCoverage":false},{"functionName":"globDirectoriesSync","ranges":[{"startOffset":3319,"endOffset":3578,"count":0}],"isBlockCoverage":false},{"functionName":"findFiles","ranges":[{"startOffset":3588,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"findTests","ranges":[{"startOffset":3771,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getChokidarIgnorePatterns","ranges":[{"startOffset":3974,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"applyTestFileFilter","ranges":[{"startOffset":4200,"endOffset":6299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"212","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13357,"count":1}],"isBlockCoverage":true},{"functionName":"assertEventName","ranges":[{"startOffset":349,"endOffset":569,"count":46},{"startOffset":422,"endOffset":454,"count":4},{"startOffset":455,"endOffset":487,"count":0},{"startOffset":489,"endOffset":567,"count":0}],"isBlockCoverage":true},{"functionName":"assertListener","ranges":[{"startOffset":571,"endOffset":704,"count":4},{"startOffset":644,"endOffset":702,"count":0}],"isBlockCoverage":true},{"functionName":"getListeners","ranges":[{"startOffset":706,"endOffset":869,"count":46},{"startOffset":821,"endOffset":835,"count":8},{"startOffset":835,"endOffset":868,"count":38}],"isBlockCoverage":true},{"functionName":"getEventProducers","ranges":[{"startOffset":871,"endOffset":1175,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueProducers","ranges":[{"startOffset":1177,"endOffset":1587,"count":42},{"startOffset":1315,"endOffset":1408,"count":0},{"startOffset":1550,"endOffset":1582,"count":0}],"isBlockCoverage":true},{"functionName":"iterator","ranges":[{"startOffset":1589,"endOffset":2972,"count":0}],"isBlockCoverage":false},{"functionName":"defaultMethodNamesOrAssert","ranges":[{"startOffset":2974,"endOffset":3495,"count":0}],"isBlockCoverage":false},{"functionName":"isMetaEvent","ranges":[{"startOffset":3517,"endOffset":3590,"count":92},{"startOffset":3558,"endOffset":3590,"count":80}],"isBlockCoverage":true},{"functionName":"emitMetaEvent","ranges":[{"startOffset":3593,"endOffset":3808,"count":4}],"isBlockCoverage":true},{"functionName":"mixin","ranges":[{"startOffset":3850,"endOffset":4933,"count":0}],"isBlockCoverage":false},{"functionName":"get isDebugEnabled","ranges":[{"startOffset":4943,"endOffset":5528,"count":46},{"startOffset":5304,"endOffset":5341,"count":0},{"startOffset":5432,"endOffset":5444,"count":0}],"isBlockCoverage":true},{"functionName":"set isDebugEnabled","ranges":[{"startOffset":5538,"endOffset":5606,"count":0}],"isBlockCoverage":false},{"functionName":"Emittery","ranges":[{"startOffset":5609,"endOffset":6731,"count":1}],"isBlockCoverage":true},{"functionName":"Emittery.debug.logger","ranges":[{"startOffset":5961,"endOffset":6723,"count":0}],"isBlockCoverage":false},{"functionName":"logIfDebugEnabled","ranges":[{"startOffset":6734,"endOffset":6910,"count":46},{"startOffset":6835,"endOffset":6907,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":6913,"endOffset":7515,"count":4},{"startOffset":7010,"endOffset":7022,"count":0}],"isBlockCoverage":true},{"functionName":"off","ranges":[{"startOffset":7518,"endOffset":8087,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":8090,"endOffset":8292,"count":0}],"isBlockCoverage":false},{"functionName":"events","ranges":[{"startOffset":8295,"endOffset":8501,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":8504,"endOffset":9384,"count":42},{"startOffset":8599,"endOffset":8620,"count":4},{"startOffset":8622,"endOffset":8724,"count":0},{"startOffset":8882,"endOffset":8894,"count":4},{"startOffset":9031,"endOffset":9035,"count":4},{"startOffset":9036,"endOffset":9055,"count":38}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9131,"endOffset":9229,"count":38}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9261,"endOffset":9373,"count":0}],"isBlockCoverage":false},{"functionName":"emitSerial","ranges":[{"startOffset":9387,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"onAny","ranges":[{"startOffset":10237,"endOffset":10478,"count":0}],"isBlockCoverage":false},{"functionName":"anyEvent","ranges":[{"startOffset":10481,"endOffset":10521,"count":0}],"isBlockCoverage":false},{"functionName":"offAny","ranges":[{"startOffset":10524,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"clearListeners","ranges":[{"startOffset":10733,"endOffset":11739,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":11742,"endOffset":12458,"count":0}],"isBlockCoverage":false},{"functionName":"bindMethods","ranges":[{"startOffset":12461,"endOffset":12966,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13051,"endOffset":13075,"count":14}],"isBlockCoverage":true}]},{"scriptId":"213","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/matcher/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2646,"count":1}],"isBlockCoverage":true},{"functionName":"sanitizeArray","ranges":[{"startOffset":110,"endOffset":713,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegexp","ranges":[{"startOffset":735,"endOffset":1261,"count":0}],"isBlockCoverage":false},{"functionName":"baseMatcher","ranges":[{"startOffset":1284,"endOffset":2412,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2422,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"isMatch","ranges":[{"startOffset":2533,"endOffset":2645,"count":0}],"isBlockCoverage":false}]},{"scriptId":"214","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/context-ref.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":555,"count":1}],"isBlockCoverage":true},{"functionName":"ContextRef","ranges":[{"startOffset":35,"endOffset":72,"count":10}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":75,"endOffset":106,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":109,"endOffset":152,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":155,"endOffset":198,"count":9}],"isBlockCoverage":true},{"functionName":"LateBinding","ranges":[{"startOffset":242,"endOffset":314,"count":9}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":317,"endOffset":487,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":490,"endOffset":552,"count":0}],"isBlockCoverage":false}]},{"scriptId":"215","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/create-chain.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4371,"count":1}],"isBlockCoverage":true},{"functionName":"startChain","ranges":[{"startOffset":38,"endOffset":265,"count":11}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":94,"endOffset":140,"count":9}],"isBlockCoverage":true},{"functionName":"extendChain","ranges":[{"startOffset":267,"endOffset":633,"count":27},{"startOffset":324,"endOffset":343,"count":7}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":357,"endOffset":412,"count":0}],"isBlockCoverage":false},{"functionName":"callWithFlag","ranges":[{"startOffset":635,"endOffset":965,"count":0}],"isBlockCoverage":false},{"functionName":"createHookChain","ranges":[{"startOffset":967,"endOffset":1316,"count":8},{"startOffset":1217,"endOffset":1299,"count":4}],"isBlockCoverage":true},{"functionName":"createChain","ranges":[{"startOffset":1333,"endOffset":4370,"count":1}],"isBlockCoverage":true},{"functionName":"root.macro","ranges":[{"startOffset":3411,"endOffset":3580,"count":0}],"isBlockCoverage":false},{"functionName":"apply","ranges":[{"startOffset":4105,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4196,"endOffset":4341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"216","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/parse-test-args.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":701,"count":1}],"isBlockCoverage":true},{"functionName":"buildTitle","ranges":[{"startOffset":19,"endOffset":366,"count":9},{"startOffset":104,"endOffset":140,"count":0}],"isBlockCoverage":true},{"functionName":"parseTestArgs","ranges":[{"startOffset":384,"endOffset":700,"count":9},{"startOffset":476,"endOffset":487,"count":0},{"startOffset":602,"endOffset":623,"count":0}],"isBlockCoverage":true}]},{"scriptId":"217","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/snapshot-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13174,"count":1}],"isBlockCoverage":true},{"functionName":"SnapshotError","ranges":[{"startOffset":1259,"endOffset":1371,"count":0}],"isBlockCoverage":false},{"functionName":"ChecksumError","ranges":[{"startOffset":1427,"endOffset":1524,"count":0}],"isBlockCoverage":false},{"functionName":"VersionMismatchError","ranges":[{"startOffset":1587,"endOffset":1774,"count":0}],"isBlockCoverage":false},{"functionName":"InvalidSnapshotError","ranges":[{"startOffset":1837,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"isLegacySnapshot","ranges":[{"startOffset":2016,"endOffset":2144,"count":0}],"isBlockCoverage":false},{"functionName":"LegacyError","ranges":[{"startOffset":2196,"endOffset":2294,"count":0}],"isBlockCoverage":false},{"functionName":"tryRead","ranges":[{"startOffset":2298,"endOffset":2454,"count":1},{"startOffset":2433,"endOffset":2452,"count":0}],"isBlockCoverage":true},{"functionName":"formatEntry","ranges":[{"startOffset":2456,"endOffset":2875,"count":0}],"isBlockCoverage":false},{"functionName":"combineEntries","ranges":[{"startOffset":2877,"endOffset":3292,"count":0}],"isBlockCoverage":false},{"functionName":"generateReport","ranges":[{"startOffset":3294,"endOffset":3611,"count":0}],"isBlockCoverage":false},{"functionName":"BufferBuilder","ranges":[{"startOffset":3636,"endOffset":3698,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":3701,"endOffset":3818,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3821,"endOffset":4011,"count":0}],"isBlockCoverage":false},{"functionName":"toBuffer","ranges":[{"startOffset":4014,"endOffset":4084,"count":0}],"isBlockCoverage":false},{"functionName":"sortBlocks","ranges":[{"startOffset":4088,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"encodeSnapshots","ranges":[{"startOffset":4450,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"decodeSnapshots","ranges":[{"startOffset":5016,"endOffset":5987,"count":0}],"isBlockCoverage":false},{"functionName":"Manager","ranges":[{"startOffset":6006,"endOffset":6530,"count":1}],"isBlockCoverage":true},{"functionName":"touch","ranges":[{"startOffset":6533,"endOffset":6604,"count":9}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":6607,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"recordSerialized","ranges":[{"startOffset":7345,"endOffset":8027,"count":0}],"isBlockCoverage":false},{"functionName":"deferRecord","ranges":[{"startOffset":8030,"endOffset":8370,"count":0}],"isBlockCoverage":false},{"functionName":"record","ranges":[{"startOffset":8373,"endOffset":8449,"count":0}],"isBlockCoverage":false},{"functionName":"skipBlock","ranges":[{"startOffset":8452,"endOffset":8587,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":8590,"endOffset":9164,"count":0}],"isBlockCoverage":false},{"functionName":"save","ranges":[{"startOffset":9167,"endOffset":10106,"count":1},{"startOffset":9266,"endOffset":9301,"count":0},{"startOffset":9303,"endOffset":9421,"count":0},{"startOffset":9468,"endOffset":10105,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9565,"endOffset":9604,"count":0}],"isBlockCoverage":false},{"functionName":"tmpfileCreated","ranges":[{"startOffset":9845,"endOffset":9878,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10140,"endOffset":10658,"count":1},{"startOffset":10399,"endOffset":10420,"count":0},{"startOffset":10441,"endOffset":10632,"count":0},{"startOffset":10635,"endOffset":10655,"count":0}],"isBlockCoverage":true},{"functionName":"mem.cacheKey.file.file","ranges":[{"startOffset":10702,"endOffset":11285,"count":1},{"startOffset":10819,"endOffset":10947,"count":0},{"startOffset":11054,"endOffset":11104,"count":0},{"startOffset":11265,"endOffset":11284,"count":0}],"isBlockCoverage":true},{"functionName":"cacheKey","ranges":[{"startOffset":11298,"endOffset":11316,"count":1}],"isBlockCoverage":true},{"functionName":"determineSnapshotPaths","ranges":[{"startOffset":11321,"endOffset":11775,"count":1}],"isBlockCoverage":true},{"functionName":"cleanFile","ranges":[{"startOffset":11777,"endOffset":11941,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":11950,"endOffset":13173,"count":1},{"startOffset":12141,"endOffset":12274,"count":0},{"startOffset":12552,"endOffset":13125,"count":0},{"startOffset":13126,"endOffset":13141,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12700,"endOffset":12737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"218","url":"node:internal/file","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1801,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":424,"endOffset":1563,"count":0}],"isBlockCoverage":false}]},{"scriptId":"219","url":"node:crypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8825,"count":1}],"isBlockCoverage":false},{"functionName":"lazyWebCrypto","ranges":[{"startOffset":3084,"endOffset":3186,"count":6}],"isBlockCoverage":true},{"functionName":"lazyOwnsProcessState","ranges":[{"startOffset":3210,"endOffset":3340,"count":0}],"isBlockCoverage":false},{"functionName":"createHash","ranges":[{"startOffset":3482,"endOffset":3564,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3566,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"createCipheriv","ranges":[{"startOffset":3668,"endOffset":3770,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipher","ranges":[{"startOffset":3772,"endOffset":3876,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipheriv","ranges":[{"startOffset":3878,"endOffset":3984,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellman","ranges":[{"startOffset":3986,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellmanGroup","ranges":[{"startOffset":4144,"endOffset":4226,"count":0}],"isBlockCoverage":false},{"functionName":"createECDH","ranges":[{"startOffset":4228,"endOffset":4284,"count":0}],"isBlockCoverage":false},{"functionName":"createHmac","ranges":[{"startOffset":4286,"endOffset":4368,"count":0}],"isBlockCoverage":false},{"functionName":"createSign","ranges":[{"startOffset":4370,"endOffset":4452,"count":0}],"isBlockCoverage":false},{"functionName":"createVerify","ranges":[{"startOffset":4454,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"getFips","ranges":[{"startOffset":5583,"endOffset":5668,"count":0}],"isBlockCoverage":false},{"functionName":"setFips","ranges":[{"startOffset":5670,"endOffset":5954,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":5956,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6125,"endOffset":6379,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6383,"endOffset":6572,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomBytesAlias","ranges":[{"startOffset":6621,"endOffset":7454,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6719,"endOffset":7209,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7215,"endOffset":7446,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8198,"endOffset":8238,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8350,"endOffset":8397,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8523,"endOffset":8544,"count":3}],"isBlockCoverage":true}]},{"scriptId":"220","url":"node:internal/crypto/random","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16246,"count":1}],"isBlockCoverage":false},{"functionName":"assertOffset","ranges":[{"startOffset":1260,"endOffset":1626,"count":0}],"isBlockCoverage":false},{"functionName":"assertSize","ranges":[{"startOffset":1628,"endOffset":2089,"count":0}],"isBlockCoverage":false},{"functionName":"randomBytes","ranges":[{"startOffset":2091,"endOffset":2634,"count":0}],"isBlockCoverage":false},{"functionName":"randomFillSync","ranges":[{"startOffset":2636,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"randomFill","ranges":[{"startOffset":3306,"endOffset":4352,"count":0}],"isBlockCoverage":false},{"functionName":"randomInt","ranges":[{"startOffset":4902,"endOffset":7142,"count":0}],"isBlockCoverage":false},{"functionName":"asyncRefillRandomIntCache","ranges":[{"startOffset":7144,"endOffset":8020,"count":0}],"isBlockCoverage":false},{"functionName":"onJobDone","ranges":[{"startOffset":8023,"endOffset":8185,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":8417,"endOffset":9033,"count":0}],"isBlockCoverage":false},{"functionName":"getHexBytes","ranges":[{"startOffset":9398,"endOffset":9697,"count":0}],"isBlockCoverage":false},{"functionName":"serializeUUID","ranges":[{"startOffset":9699,"endOffset":10425,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedUUID","ranges":[{"startOffset":10427,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"getUnbufferedUUID","ranges":[{"startOffset":10732,"endOffset":10970,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":10972,"endOffset":11292,"count":0}],"isBlockCoverage":false},{"functionName":"createRandomPrimeJob","ranges":[{"startOffset":11294,"endOffset":12527,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrime","ranges":[{"startOffset":12529,"endOffset":12985,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrimeSync","ranges":[{"startOffset":12987,"endOffset":13245,"count":0}],"isBlockCoverage":false},{"functionName":"numberToHexCharCode","ranges":[{"startOffset":13519,"endOffset":13563,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBufferToUnsignedBigInt","ranges":[{"startOffset":13638,"endOffset":14065,"count":0}],"isBlockCoverage":false},{"functionName":"unsignedBigIntToBuffer","ranges":[{"startOffset":14067,"endOffset":14364,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrime","ranges":[{"startOffset":14366,"endOffset":15259,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrimeSync","ranges":[{"startOffset":15261,"endOffset":16059,"count":0}],"isBlockCoverage":false}]},{"scriptId":"221","url":"node:internal/crypto/pbkdf2","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3018,"count":1}],"isBlockCoverage":false},{"functionName":"pbkdf2","ranges":[{"startOffset":472,"endOffset":1136,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2Sync","ranges":[{"startOffset":1138,"endOffset":1543,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1545,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2DeriveBits","ranges":[{"startOffset":2059,"endOffset":2950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"222","url":"node:internal/crypto/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14973,"count":1}],"isBlockCoverage":false},{"functionName":"toBuf","ranges":[{"startOffset":1730,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1943,"endOffset":1986,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2020,"endOffset":2062,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2096,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"setEngine","ranges":[{"startOffset":2142,"endOffset":2549,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2596,"endOffset":3060,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBufferLength","ranges":[{"startOffset":6504,"endOffset":6717,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeAlgorithm","ranges":[{"startOffset":6943,"endOffset":9378,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayBuffer","ranges":[{"startOffset":9380,"endOffset":9519,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteOffset","ranges":[{"startOffset":9521,"endOffset":9672,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteLength","ranges":[{"startOffset":9674,"endOffset":9825,"count":0}],"isBlockCoverage":false},{"functionName":"hasAnyNotIn","ranges":[{"startOffset":9827,"endOffset":9966,"count":0}],"isBlockCoverage":false},{"functionName":"validateBitLength","ranges":[{"startOffset":9968,"endOffset":10310,"count":0}],"isBlockCoverage":false},{"functionName":"validateByteLength","ranges":[{"startOffset":10312,"endOffset":10508,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10553,"endOffset":10822,"count":0}],"isBlockCoverage":false},{"functionName":"onDone","ranges":[{"startOffset":10826,"endOffset":11058,"count":0}],"isBlockCoverage":false},{"functionName":"jobPromise","ranges":[{"startOffset":11060,"endOffset":11330,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedInt","ranges":[{"startOffset":11866,"endOffset":12146,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedBigInt","ranges":[{"startOffset":12148,"endOffset":12384,"count":0}],"isBlockCoverage":false},{"functionName":"getStringOption","ranges":[{"startOffset":12386,"endOffset":12551,"count":0}],"isBlockCoverage":false},{"functionName":"getUsagesUnion","ranges":[{"startOffset":12553,"endOffset":12765,"count":0}],"isBlockCoverage":false},{"functionName":"getBlockSize","ranges":[{"startOffset":12767,"endOffset":12948,"count":0}],"isBlockCoverage":false},{"functionName":"validateKeyOps","ranges":[{"startOffset":13087,"endOffset":14053,"count":0}],"isBlockCoverage":false},{"functionName":"secureHeapUsed","ranges":[{"startOffset":14055,"endOffset":14438,"count":0}],"isBlockCoverage":false}]},{"scriptId":"223","url":"node:internal/crypto/hashnames","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2520,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeHashName","ranges":[{"startOffset":1890,"endOffset":2133,"count":0}],"isBlockCoverage":false}]},{"scriptId":"224","url":"node:internal/crypto/scrypt","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3331,"count":1}],"isBlockCoverage":false},{"functionName":"scrypt","ranges":[{"startOffset":626,"endOffset":1292,"count":0}],"isBlockCoverage":false},{"functionName":"scryptSync","ranges":[{"startOffset":1294,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1702,"endOffset":3283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"225","url":"node:internal/crypto/hkdf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3304,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":816,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"prepareKey","ranges":[{"startOffset":1274,"endOffset":1702,"count":0}],"isBlockCoverage":false},{"functionName":"hkdf","ranges":[{"startOffset":1704,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfSync","ranges":[{"startOffset":2172,"endOffset":2510,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfDeriveBits","ranges":[{"startOffset":2549,"endOffset":3242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"226","url":"node:internal/crypto/keys","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21401,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2331,"endOffset":6452,"count":1}],"isBlockCoverage":true},{"functionName":"KeyObject","ranges":[{"startOffset":2441,"endOffset":2983,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":2989,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":3049,"endOffset":3190,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":3196,"endOffset":3480,"count":0}],"isBlockCoverage":false},{"functionName":"SecretKeyObject","ranges":[{"startOffset":3698,"endOffset":3756,"count":0}],"isBlockCoverage":false},{"functionName":"get symmetricKeySize","ranges":[{"startOffset":3762,"endOffset":3842,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":3848,"endOffset":4196,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeKeyDetails","ranges":[{"startOffset":4329,"endOffset":4598,"count":0}],"isBlockCoverage":false},{"functionName":"AsymmetricKeyObject","ranges":[{"startOffset":4707,"endOffset":4767,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyType","ranges":[{"startOffset":4773,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyDetails","ranges":[{"startOffset":4931,"endOffset":5308,"count":0}],"isBlockCoverage":false},{"functionName":"PublicKeyObject","ranges":[{"startOffset":5372,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5436,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"PrivateKeyObject","ranges":[{"startOffset":5792,"endOffset":5851,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5857,"endOffset":6371,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormat","ranges":[{"startOffset":6456,"endOffset":6841,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyType","ranges":[{"startOffset":6843,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"option","ranges":[{"startOffset":7697,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormatAndType","ranges":[{"startOffset":7820,"endOffset":8520,"count":0}],"isBlockCoverage":false},{"functionName":"isStringOrBuffer","ranges":[{"startOffset":8522,"endOffset":8659,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":8661,"endOffset":10019,"count":0}],"isBlockCoverage":false},{"functionName":"parsePublicKeyEncoding","ranges":[{"startOffset":10218,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"parsePrivateKeyEncoding","ranges":[{"startOffset":10554,"endOffset":10670,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandle","ranges":[{"startOffset":10672,"endOffset":11250,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyTypes","ranges":[{"startOffset":11252,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandleFromJwk","ranges":[{"startOffset":11759,"endOffset":14308,"count":0}],"isBlockCoverage":false},{"functionName":"prepareAsymmetricKey","ranges":[{"startOffset":14310,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"preparePrivateKey","ranges":[{"startOffset":15855,"endOffset":15943,"count":0}],"isBlockCoverage":false},{"functionName":"preparePublicOrPrivateKey","ranges":[{"startOffset":15945,"endOffset":16040,"count":0}],"isBlockCoverage":false},{"functionName":"prepareSecretKey","ranges":[{"startOffset":16042,"endOffset":16740,"count":0}],"isBlockCoverage":false},{"functionName":"createSecretKey","ranges":[{"startOffset":16742,"endOffset":16946,"count":0}],"isBlockCoverage":false},{"functionName":"createPublicKey","ranges":[{"startOffset":16948,"endOffset":17285,"count":0}],"isBlockCoverage":false},{"functionName":"createPrivateKey","ranges":[{"startOffset":17287,"endOffset":17628,"count":0}],"isBlockCoverage":false},{"functionName":"isKeyObject","ranges":[{"startOffset":17630,"endOffset":17712,"count":0}],"isBlockCoverage":false},{"functionName":"CryptoKey","ranges":[{"startOffset":18135,"endOffset":18195,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18199,"endOffset":18548,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":18552,"endOffset":18687,"count":0}],"isBlockCoverage":false},{"functionName":"get extractable","ranges":[{"startOffset":18691,"endOffset":18830,"count":0}],"isBlockCoverage":false},{"functionName":"get algorithm","ranges":[{"startOffset":18834,"endOffset":18969,"count":0}],"isBlockCoverage":false},{"functionName":"get usages","ranges":[{"startOffset":18973,"endOffset":19116,"count":0}],"isBlockCoverage":false},{"functionName":"InternalCryptoKey","ranges":[{"startOffset":19694,"endOffset":20173,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20177,"endOffset":20529,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20533,"endOffset":20737,"count":0}],"isBlockCoverage":false},{"functionName":"isCryptoKey","ranges":[{"startOffset":20866,"endOffset":20950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"227","url":"node:internal/crypto/keygen","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10712,"count":1}],"isBlockCoverage":false},{"functionName":"isJwk","ranges":[{"startOffset":1183,"endOffset":1253,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":1255,"endOffset":1409,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPair","ranges":[{"startOffset":1411,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPairSync","ranges":[{"startOffset":2193,"endOffset":2310,"count":0}],"isBlockCoverage":false},{"functionName":"handleError","ranges":[{"startOffset":2312,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":2692,"endOffset":3942,"count":0}],"isBlockCoverage":false},{"functionName":"createJob","ranges":[{"startOffset":3944,"endOffset":9232,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyJob","ranges":[{"startOffset":9263,"endOffset":9800,"count":0}],"isBlockCoverage":false},{"functionName":"handleGenerateKeyError","ranges":[{"startOffset":9802,"endOffset":10004,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":10006,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeySync","ranges":[{"startOffset":10478,"endOffset":10612,"count":0}],"isBlockCoverage":false}]},{"scriptId":"228","url":"node:internal/crypto/diffiehellman","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9910,"count":1}],"isBlockCoverage":false},{"functionName":"DiffieHellman","ranges":[{"startOffset":1232,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"DiffieHellmanGroup","ranges":[{"startOffset":3039,"endOffset":3365,"count":0}],"isBlockCoverage":false},{"functionName":"dhGenerateKeys","ranges":[{"startOffset":3476,"endOffset":3591,"count":0}],"isBlockCoverage":false},{"functionName":"dhComputeSecret","ranges":[{"startOffset":3705,"endOffset":3963,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrime","ranges":[{"startOffset":4062,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetGenerator","ranges":[{"startOffset":4282,"endOffset":4407,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPublicKey","ranges":[{"startOffset":4518,"endOffset":4631,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrivateKey","ranges":[{"startOffset":4745,"endOffset":4860,"count":0}],"isBlockCoverage":false},{"functionName":"setPublicKey","ranges":[{"startOffset":4902,"endOffset":5044,"count":0}],"isBlockCoverage":false},{"functionName":"setPrivateKey","ranges":[{"startOffset":5088,"endOffset":5232,"count":0}],"isBlockCoverage":false},{"functionName":"ECDH","ranges":[{"startOffset":5236,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeys","ranges":[{"startOffset":5701,"endOffset":5823,"count":0}],"isBlockCoverage":false},{"functionName":"getPublicKey","ranges":[{"startOffset":5856,"endOffset":6007,"count":0}],"isBlockCoverage":false},{"functionName":"convertKey","ranges":[{"startOffset":6028,"endOffset":6294,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6297,"endOffset":6432,"count":0}],"isBlockCoverage":false},{"functionName":"getFormat","ranges":[{"startOffset":6434,"endOffset":6757,"count":0}],"isBlockCoverage":false},{"functionName":"diffieHellman","ranges":[{"startOffset":6831,"endOffset":7899,"count":0}],"isBlockCoverage":false},{"functionName":"ecdhDeriveBits","ranges":[{"startOffset":8018,"endOffset":9804,"count":0}],"isBlockCoverage":false}]},{"scriptId":"229","url":"node:internal/crypto/cipher","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10199,"count":1}],"isBlockCoverage":false},{"functionName":"rsaFunctionFor","ranges":[{"startOffset":1233,"endOffset":1981,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1301,"endOffset":1978,"count":0}],"isBlockCoverage":false},{"functionName":"getDecoder","ranges":[{"startOffset":2482,"endOffset":2848,"count":0}],"isBlockCoverage":false},{"functionName":"getUIntOption","ranges":[{"startOffset":2850,"endOffset":3084,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherBase","ranges":[{"startOffset":3086,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3507,"endOffset":3742,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherWithIV","ranges":[{"startOffset":3744,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"Cipher","ranges":[{"startOffset":4326,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":4670,"endOffset":4786,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":4815,"endOffset":4953,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":4982,"endOffset":5498,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5527,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"setAutoPadding","ranges":[{"startOffset":5809,"endOffset":5956,"count":0}],"isBlockCoverage":false},{"functionName":"getAuthTag","ranges":[{"startOffset":5989,"endOffset":6149,"count":0}],"isBlockCoverage":false},{"functionName":"setAuthTag","ranges":[{"startOffset":6153,"endOffset":6365,"count":0}],"isBlockCoverage":false},{"functionName":"setAAD","ranges":[{"startOffset":6393,"endOffset":6735,"count":0}],"isBlockCoverage":false},{"functionName":"Cipheriv","ranges":[{"startOffset":6983,"endOffset":7193,"count":0}],"isBlockCoverage":false},{"functionName":"addCipherPrototypeFunctions","ranges":[{"startOffset":7195,"endOffset":7786,"count":3},{"startOffset":7591,"endOffset":7664,"count":1},{"startOffset":7664,"endOffset":7726,"count":2}],"isBlockCoverage":true},{"functionName":"Decipher","ranges":[{"startOffset":8187,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"Decipheriv","ranges":[{"startOffset":8800,"endOffset":9017,"count":0}],"isBlockCoverage":false},{"functionName":"getCipherInfo","ranges":[{"startOffset":9179,"endOffset":10040,"count":0}],"isBlockCoverage":false}]},{"scriptId":"230","url":"node:internal/streams/lazy_transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1535,"count":1}],"isBlockCoverage":false},{"functionName":"LazyTransform","ranges":[{"startOffset":401,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"makeGetter","ranges":[{"startOffset":595,"endOffset":918,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":632,"endOffset":915,"count":0}],"isBlockCoverage":false},{"functionName":"makeSetter","ranges":[{"startOffset":920,"endOffset":1139,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":957,"endOffset":1136,"count":0}],"isBlockCoverage":false}]},{"scriptId":"231","url":"node:internal/crypto/sig","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6942,"count":1}],"isBlockCoverage":false},{"functionName":"Sign","ranges":[{"startOffset":870,"endOffset":1129,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":1252,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":1371,"endOffset":1684,"count":0}],"isBlockCoverage":false},{"functionName":"getPadding","ranges":[{"startOffset":1687,"endOffset":1762,"count":0}],"isBlockCoverage":false},{"functionName":"getSaltLength","ranges":[{"startOffset":1764,"endOffset":1845,"count":0}],"isBlockCoverage":false},{"functionName":"getDSASignatureEncoding","ranges":[{"startOffset":1847,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"getIntOption","ranges":[{"startOffset":2201,"endOffset":2446,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":2470,"endOffset":3086,"count":0}],"isBlockCoverage":false},{"functionName":"signOneShot","ranges":[{"startOffset":3089,"endOffset":4307,"count":0}],"isBlockCoverage":false},{"functionName":"Verify","ranges":[{"startOffset":4309,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":4804,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"verifyOneShot","ranges":[{"startOffset":5390,"endOffset":6868,"count":0}],"isBlockCoverage":false}]},{"scriptId":"232","url":"node:internal/crypto/hash","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4553,"count":1}],"isBlockCoverage":false},{"functionName":"Hash","ranges":[{"startOffset":954,"endOffset":1474,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":1605,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1804,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":1936,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":2043,"endOffset":2507,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":2535,"endOffset":2856,"count":0}],"isBlockCoverage":false},{"functionName":"Hmac","ranges":[{"startOffset":2859,"endOffset":3259,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":3440,"endOffset":3872,"count":0}],"isBlockCoverage":false},{"functionName":"asyncDigest","ranges":[{"startOffset":4027,"endOffset":4498,"count":0}],"isBlockCoverage":false}]},{"scriptId":"233","url":"node:internal/crypto/x509","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9909,"count":1}],"isBlockCoverage":false},{"functionName":"isX509Certificate","ranges":[{"startOffset":1155,"endOffset":1238,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":1240,"endOffset":2485,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2487,"endOffset":2649,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2651,"endOffset":9663,"count":0}],"isBlockCoverage":false}]},{"scriptId":"234","url":"node:internal/crypto/certificate","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1546,"count":1}],"isBlockCoverage":false},{"functionName":"verifySpkac","ranges":[{"startOffset":385,"endOffset":505,"count":0}],"isBlockCoverage":false},{"functionName":"exportPublicKey","ranges":[{"startOffset":507,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"exportChallenge","ranges":[{"startOffset":637,"endOffset":765,"count":0}],"isBlockCoverage":false},{"functionName":"Certificate","ranges":[{"startOffset":1122,"endOffset":1216,"count":0}],"isBlockCoverage":false}]},{"scriptId":"235","url":"node:internal/crypto/webcrypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30940,"count":1}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":1190,"endOffset":1799,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":1801,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":1913,"endOffset":4408,"count":0}],"isBlockCoverage":false},{"functionName":"deriveBits","ranges":[{"startOffset":4410,"endOffset":5970,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyLength","ranges":[{"startOffset":5972,"endOffset":6592,"count":0}],"isBlockCoverage":false},{"functionName":"deriveKey","ranges":[{"startOffset":6594,"endOffset":8774,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeySpki","ranges":[{"startOffset":8776,"endOffset":9754,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyPkcs8","ranges":[{"startOffset":9756,"endOffset":10743,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyRaw","ranges":[{"startOffset":10745,"endOffset":11678,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyJWK","ranges":[{"startOffset":11680,"endOffset":13210,"count":0}],"isBlockCoverage":false},{"functionName":"exportKey","ranges":[{"startOffset":13212,"endOffset":14072,"count":0}],"isBlockCoverage":false},{"functionName":"importGenericSecretKey","ranges":[{"startOffset":14074,"endOffset":15424,"count":0}],"isBlockCoverage":false},{"functionName":"importKey","ranges":[{"startOffset":15426,"endOffset":18168,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":18261,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapKey","ranges":[{"startOffset":19891,"endOffset":21854,"count":0}],"isBlockCoverage":false},{"functionName":"signVerify","ranges":[{"startOffset":21856,"endOffset":22959,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":22961,"endOffset":23587,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":23589,"endOffset":24346,"count":0}],"isBlockCoverage":false},{"functionName":"cipherOrWrap","ranges":[{"startOffset":24348,"endOffset":25759,"count":0}],"isBlockCoverage":false},{"functionName":"encrypt","ranges":[{"startOffset":25761,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"decrypt","ranges":[{"startOffset":26489,"endOffset":27215,"count":0}],"isBlockCoverage":false},{"functionName":"SubtleCrypto","ranges":[{"startOffset":27371,"endOffset":27431,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27466,"endOffset":27479,"count":1}],"isBlockCoverage":true},{"functionName":"Crypto","ranges":[{"startOffset":27518,"endOffset":27578,"count":0}],"isBlockCoverage":true},{"functionName":"get subtle","ranges":[{"startOffset":27582,"endOffset":27682,"count":3},{"startOffset":27622,"endOffset":27659,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27717,"endOffset":27730,"count":1}],"isBlockCoverage":true},{"functionName":"getRandomValues","ranges":[{"startOffset":27746,"endOffset":28079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"236","url":"node:zlib","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29534,"count":1}],"isBlockCoverage":false},{"functionName":"zlibBuffer","ranges":[{"startOffset":3530,"endOffset":4157,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnData","ranges":[{"startOffset":4159,"endOffset":4490,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnError","ranges":[{"startOffset":4492,"endOffset":4577,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnEnd","ranges":[{"startOffset":4579,"endOffset":4909,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferSync","ranges":[{"startOffset":4911,"endOffset":5452,"count":0}],"isBlockCoverage":false},{"functionName":"zlibOnError","ranges":[{"startOffset":5454,"endOffset":5768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5993,"endOffset":6329,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6633,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase","ranges":[{"startOffset":7161,"endOffset":9213,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9438,"endOffset":9475,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9918,"endOffset":9964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10111,"endOffset":10163,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.reset","ranges":[{"startOffset":10304,"endOffset":10412,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._flush","ranges":[{"startOffset":10558,"endOffset":10630,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._final","ranges":[{"startOffset":10697,"endOffset":10733,"count":0}],"isBlockCoverage":false},{"functionName":"maxFlush","ranges":[{"startOffset":11331,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.flush","ranges":[{"startOffset":11847,"endOffset":12249,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.close","ranges":[{"startOffset":12279,"endOffset":12361,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._destroy","ranges":[{"startOffset":12394,"endOffset":12454,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._transform","ranges":[{"startOffset":12489,"endOffset":13023,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._processChunk","ranges":[{"startOffset":13061,"endOffset":13290,"count":0}],"isBlockCoverage":false},{"functionName":"processChunkSync","ranges":[{"startOffset":13293,"endOffset":15578,"count":0}],"isBlockCoverage":false},{"functionName":"processChunk","ranges":[{"startOffset":15580,"endOffset":16170,"count":0}],"isBlockCoverage":false},{"functionName":"processCallback","ranges":[{"startOffset":16172,"endOffset":18474,"count":0}],"isBlockCoverage":false},{"functionName":"_close","ranges":[{"startOffset":18476,"endOffset":18666,"count":0}],"isBlockCoverage":false},{"functionName":"Zlib","ranges":[{"startOffset":18863,"endOffset":21181,"count":0}],"isBlockCoverage":false},{"functionName":"paramsAfterFlushCallback","ranges":[{"startOffset":21531,"endOffset":21797,"count":0}],"isBlockCoverage":false},{"functionName":"params","ranges":[{"startOffset":21823,"endOffset":22290,"count":0}],"isBlockCoverage":false},{"functionName":"Deflate","ranges":[{"startOffset":22334,"endOffset":22469,"count":0}],"isBlockCoverage":false},{"functionName":"Inflate","ranges":[{"startOffset":22565,"endOffset":22700,"count":0}],"isBlockCoverage":false},{"functionName":"Gzip","ranges":[{"startOffset":22796,"endOffset":22919,"count":0}],"isBlockCoverage":false},{"functionName":"Gunzip","ranges":[{"startOffset":23009,"endOffset":23140,"count":0}],"isBlockCoverage":false},{"functionName":"DeflateRaw","ranges":[{"startOffset":23234,"endOffset":23439,"count":0}],"isBlockCoverage":false},{"functionName":"InflateRaw","ranges":[{"startOffset":23541,"endOffset":23688,"count":0}],"isBlockCoverage":false},{"functionName":"Unzip","ranges":[{"startOffset":23790,"endOffset":23917,"count":0}],"isBlockCoverage":false},{"functionName":"createConvenienceMethod","ranges":[{"startOffset":24009,"endOffset":24398,"count":18},{"startOffset":24068,"endOffset":24397,"count":9}],"isBlockCoverage":true},{"functionName":"syncBufferWrapper","ranges":[{"startOffset":24081,"endOffset":24182,"count":0}],"isBlockCoverage":false},{"functionName":"asyncBufferWrapper","ranges":[{"startOffset":24197,"endOffset":24395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24483,"endOffset":24570,"count":107},{"startOffset":24541,"endOffset":24561,"count":9},{"startOffset":24562,"endOffset":24569,"count":98}],"isBlockCoverage":true},{"functionName":"Brotli","ranges":[{"startOffset":24789,"endOffset":26126,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliCompress","ranges":[{"startOffset":26220,"endOffset":26384,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliDecompress","ranges":[{"startOffset":26498,"endOffset":26668,"count":0}],"isBlockCoverage":false},{"functionName":"createProperty","ranges":[{"startOffset":26787,"endOffset":26973,"count":9}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":26908,"endOffset":26965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27202,"endOffset":27238,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":27242,"endOffset":27283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"237","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16298,"count":1}],"isBlockCoverage":true},{"functionName":"hasOwnProperty","ranges":[{"startOffset":362,"endOffset":430,"count":0}],"isBlockCoverage":false},{"functionName":"isExternalAssertError","ranges":[{"startOffset":433,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"formatErrorValue","ranges":[{"startOffset":865,"endOffset":1002,"count":0}],"isBlockCoverage":false},{"functionName":"captureSavedError","ranges":[{"startOffset":1030,"endOffset":1237,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext","ranges":[{"startOffset":1316,"endOffset":4497,"count":9}],"isBlockCoverage":true},{"functionName":"pass","ranges":[{"startOffset":1349,"endOffset":1395,"count":9}],"isBlockCoverage":true},{"functionName":"pending","ranges":[{"startOffset":1400,"endOffset":1462,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":1467,"endOffset":1521,"count":0}],"isBlockCoverage":false},{"functionName":"skip","ranges":[{"startOffset":1526,"endOffset":1572,"count":0}],"isBlockCoverage":false},{"functionName":"compareWithSnapshot","ranges":[{"startOffset":1598,"endOffset":1642,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.snapshot.skip","ranges":[{"startOffset":1778,"endOffset":1813,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.log","ranges":[{"startOffset":1829,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan","ranges":[{"startOffset":2064,"endOffset":2120,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan.skip","ranges":[{"startOffset":2142,"endOffset":2150,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.timeout","ranges":[{"startOffset":2170,"endOffset":2222,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.teardown","ranges":[{"startOffset":2243,"endOffset":2291,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.try","ranges":[{"startOffset":2307,"endOffset":4493,"count":0}],"isBlockCoverage":false},{"functionName":"get title","ranges":[{"startOffset":4500,"endOffset":4550,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4553,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"set context","ranges":[{"startOffset":4619,"endOffset":4689,"count":0}],"isBlockCoverage":false},{"functionName":"get passed","ranges":[{"startOffset":4692,"endOffset":4803,"count":0}],"isBlockCoverage":false},{"functionName":"Test","ranges":[{"startOffset":4836,"endOffset":7739,"count":9},{"startOffset":4940,"endOffset":4945,"count":0}],"isBlockCoverage":true},{"functionName":"Test.compareWithSnapshot","ranges":[{"startOffset":5648,"endOffset":6084,"count":0}],"isBlockCoverage":false},{"functionName":"Test.skipSnapshot","ranges":[{"startOffset":6109,"endOffset":6523,"count":0}],"isBlockCoverage":false},{"functionName":"Test.runAttempt","ranges":[{"startOffset":6546,"endOffset":7343,"count":0}],"isBlockCoverage":false},{"functionName":"createExecutionContext","ranges":[{"startOffset":7742,"endOffset":7808,"count":9}],"isBlockCoverage":true},{"functionName":"countPassedAssertion","ranges":[{"startOffset":7811,"endOffset":8163,"count":9},{"startOffset":7858,"endOffset":7949,"count":0},{"startOffset":7987,"endOffset":8112,"count":0}],"isBlockCoverage":true},{"functionName":"addLog","ranges":[{"startOffset":8166,"endOffset":8207,"count":0}],"isBlockCoverage":false},{"functionName":"addPendingAssertion","ranges":[{"startOffset":8210,"endOffset":8745,"count":0}],"isBlockCoverage":false},{"functionName":"addFailedAssertion","ranges":[{"startOffset":8748,"endOffset":9133,"count":0}],"isBlockCoverage":false},{"functionName":"finishAttempt","ranges":[{"startOffset":9136,"endOffset":10154,"count":0}],"isBlockCoverage":false},{"functionName":"saveFirstError","ranges":[{"startOffset":10157,"endOffset":10243,"count":0}],"isBlockCoverage":false},{"functionName":"plan","ranges":[{"startOffset":10246,"endOffset":10542,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":10545,"endOffset":11120,"count":0}],"isBlockCoverage":false},{"functionName":"refreshTimeout","ranges":[{"startOffset":11123,"endOffset":11303,"count":9},{"startOffset":11184,"endOffset":11300,"count":0}],"isBlockCoverage":true},{"functionName":"clearTimeout","ranges":[{"startOffset":11306,"endOffset":11401,"count":9}],"isBlockCoverage":true},{"functionName":"addTeardown","ranges":[{"startOffset":11404,"endOffset":11793,"count":0}],"isBlockCoverage":false},{"functionName":"runTeardowns","ranges":[{"startOffset":11796,"endOffset":12044,"count":9},{"startOffset":11907,"endOffset":12041,"count":0}],"isBlockCoverage":true},{"functionName":"verifyPlan","ranges":[{"startOffset":12047,"endOffset":12402,"count":9},{"startOffset":12113,"endOffset":12151,"count":0},{"startOffset":12153,"endOffset":12399,"count":0}],"isBlockCoverage":true},{"functionName":"verifyAssertions","ranges":[{"startOffset":12405,"endOffset":13050,"count":9},{"startOffset":12450,"endOffset":12466,"count":0},{"startOffset":12504,"endOffset":12622,"count":0},{"startOffset":12662,"endOffset":12765,"count":0},{"startOffset":12835,"endOffset":12901,"count":0},{"startOffset":12933,"endOffset":12951,"count":0},{"startOffset":12953,"endOffset":13043,"count":0}],"isBlockCoverage":true},{"functionName":"callFn","ranges":[{"startOffset":13053,"endOffset":13237,"count":9},{"startOffset":13171,"endOffset":13234,"count":0}],"isBlockCoverage":true},{"functionName":"run","ranges":[{"startOffset":13240,"endOffset":15578,"count":9},{"startOffset":13338,"endOffset":13891,"count":0},{"startOffset":13982,"endOffset":14030,"count":0},{"startOffset":14126,"endOffset":14276,"count":0},{"startOffset":14303,"endOffset":14421,"count":0},{"startOffset":14438,"endOffset":15550,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14153,"endOffset":14270,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14462,"endOffset":15544,"count":0}],"isBlockCoverage":false},{"functionName":"finish","ranges":[{"startOffset":15581,"endOffset":16295,"count":9},{"startOffset":15866,"endOffset":16020,"count":0}],"isBlockCoverage":true}]},{"scriptId":"238","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/assert.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":25039,"count":1}],"isBlockCoverage":true},{"functionName":"formatDescriptorDiff","ranges":[{"startOffset":331,"endOffset":822,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptorWithLabel","ranges":[{"startOffset":824,"endOffset":979,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithLabel","ranges":[{"startOffset":981,"endOffset":1114,"count":0}],"isBlockCoverage":false},{"functionName":"hasOwnProperty","ranges":[{"startOffset":1139,"endOffset":1207,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":1222,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"notImplemented","ranges":[{"startOffset":1255,"endOffset":1301,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":1349,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"checkAssertionMessage","ranges":[{"startOffset":1981,"endOffset":2292,"count":9},{"startOffset":2061,"endOffset":2091,"count":0},{"startOffset":2112,"endOffset":2291,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithLongStackTrace","ranges":[{"startOffset":2294,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"validateExpectations","ranges":[{"startOffset":2558,"endOffset":5405,"count":0}],"isBlockCoverage":false},{"functionName":"assertExpectations","ranges":[{"startOffset":5524,"endOffset":8199,"count":0}],"isBlockCoverage":false},{"functionName":"Assertions","ranges":[{"startOffset":8228,"endOffset":25036,"count":9}],"isBlockCoverage":true},{"functionName":"withSkip","ranges":[{"startOffset":8463,"endOffset":8534,"count":171}],"isBlockCoverage":true},{"functionName":"checkMessage","ranges":[{"startOffset":8560,"endOffset":8733,"count":9},{"startOffset":8694,"endOffset":8732,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8759,"endOffset":8797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8824,"endOffset":9037,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9062,"endOffset":9979,"count":9},{"startOffset":9132,"endOffset":9156,"count":0},{"startOffset":9229,"endOffset":9401,"count":0},{"startOffset":9449,"endOffset":9502,"count":0},{"startOffset":9525,"endOffset":9978,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10005,"endOffset":10365,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10397,"endOffset":11031,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11066,"endOffset":11622,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11649,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12970,"endOffset":14552,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14586,"endOffset":16839,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16871,"endOffset":17460,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17497,"endOffset":19358,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19389,"endOffset":21353,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21382,"endOffset":21702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21730,"endOffset":22051,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22078,"endOffset":22383,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22411,"endOffset":22720,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22748,"endOffset":23686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23717,"endOffset":24676,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24705,"endOffset":25031,"count":0}],"isBlockCoverage":false}]},{"scriptId":"239","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/concordance-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2980,"count":1},{"startOffset":2696,"endOffset":2708,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2579,"endOffset":2649,"count":110},{"startOffset":2623,"endOffset":2641,"count":69},{"startOffset":2642,"endOffset":2649,"count":41}],"isBlockCoverage":true},{"functionName":"get maxDepth","ranges":[{"startOffset":2807,"endOffset":2878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"240","url":"node:internal/util/parse_args/parse_args","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12919,"count":1}],"isBlockCoverage":false},{"functionName":"getMainArgs","ranges":[{"startOffset":1135,"endOffset":1729,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionLikeValue","ranges":[{"startOffset":1874,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionUsage","ranges":[{"startOffset":2658,"endOffset":3449,"count":0}],"isBlockCoverage":false},{"functionName":"storeOption","ranges":[{"startOffset":3772,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"storeDefaultOption","ranges":[{"startOffset":4921,"endOffset":5090,"count":0}],"isBlockCoverage":false},{"functionName":"argsToTokens","ranges":[{"startOffset":5365,"endOffset":9345,"count":0}],"isBlockCoverage":false},{"functionName":"parseArgs","ranges":[{"startOffset":9365,"endOffset":12881,"count":0}],"isBlockCoverage":false}]},{"scriptId":"241","url":"node:internal/util/parse_args/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6225,"count":1}],"isBlockCoverage":false},{"functionName":"objectGetOwn","ranges":[{"startOffset":693,"endOffset":782,"count":0}],"isBlockCoverage":false},{"functionName":"optionsGetOwn","ranges":[{"startOffset":865,"endOffset":1011,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionValue","ranges":[{"startOffset":1277,"endOffset":1502,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionLikeValue","ranges":[{"startOffset":1719,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneShortOption","ranges":[{"startOffset":1936,"endOffset":2088,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneLongOption","ranges":[{"startOffset":2336,"endOffset":2484,"count":0}],"isBlockCoverage":false},{"functionName":"isLongOptionAndValue","ranges":[{"startOffset":2681,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionGroup","ranges":[{"startOffset":3724,"endOffset":4109,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionAndValue","ranges":[{"startOffset":4418,"endOffset":4847,"count":0}],"isBlockCoverage":false},{"functionName":"findLongOptionForShort","ranges":[{"startOffset":5170,"endOffset":5472,"count":0}],"isBlockCoverage":false},{"functionName":"useDefaultValueOption","ranges":[{"startOffset":5797,"endOffset":5967,"count":0}],"isBlockCoverage":false}]},{"scriptId":"242","url":"node:internal/mime","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10569,"count":1}],"isBlockCoverage":false},{"functionName":"toASCIILower","ranges":[{"startOffset":587,"endOffset":820,"count":0}],"isBlockCoverage":false},{"functionName":"parseTypeAndSubtype","ranges":[{"startOffset":866,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"removeBackslashes","ranges":[{"startOffset":2641,"endOffset":3056,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuoteOrSolidus","ranges":[{"startOffset":3059,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":3288,"endOffset":3527,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3530,"endOffset":8526,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8986,"endOffset":10365,"count":0}],"isBlockCoverage":false}]},{"scriptId":"243","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/callsites/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"callsites","ranges":[{"startOffset":15,"endOffset":469,"count":0}],"isBlockCoverage":false}]},{"scriptId":"244","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5256,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5189,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2906,"endOffset":3404,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3450,"endOffset":3975,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4032,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4134,"endOffset":4895,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4949,"endOffset":5030,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5084,"endOffset":5137,"count":0}],"isBlockCoverage":false}]},{"scriptId":"245","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/supports-color/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3855,"count":1},{"startOffset":738,"endOffset":762,"count":0},{"startOffset":869,"endOffset":893,"count":0}],"isBlockCoverage":true},{"functionName":"hasFlag","ranges":[{"startOffset":235,"endOffset":585,"count":16},{"startOffset":281,"endOffset":303,"count":0},{"startOffset":359,"endOffset":363,"count":0},{"startOffset":385,"endOffset":390,"count":0},{"startOffset":519,"endOffset":582,"count":0}],"isBlockCoverage":true},{"functionName":"envForceColor","ranges":[{"startOffset":895,"endOffset":1159,"count":2},{"startOffset":949,"endOffset":1157,"count":0}],"isBlockCoverage":true},{"functionName":"translateLevel","ranges":[{"startOffset":1161,"endOffset":1320,"count":2},{"startOffset":1212,"endOffset":1232,"count":0}],"isBlockCoverage":true},{"functionName":"_supportsColor","ranges":[{"startOffset":1322,"endOffset":3494,"count":2},{"startOffset":1479,"endOffset":1520,"count":0},{"startOffset":1570,"endOffset":1588,"count":0},{"startOffset":1614,"endOffset":1630,"count":0},{"startOffset":1740,"endOffset":1758,"count":0},{"startOffset":1788,"endOffset":1806,"count":0},{"startOffset":1918,"endOffset":1940,"count":0},{"startOffset":1942,"endOffset":1958,"count":0},{"startOffset":1992,"endOffset":2019,"count":0},{"startOffset":2021,"endOffset":2037,"count":0},{"startOffset":2096,"endOffset":2114,"count":0},{"startOffset":2151,"endOffset":2508,"count":0},{"startOffset":2528,"endOffset":2776,"count":0},{"startOffset":2810,"endOffset":2891,"count":0},{"startOffset":2945,"endOffset":3493,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2688,"endOffset":2707,"count":0}],"isBlockCoverage":false},{"functionName":"createSupportsColor","ranges":[{"startOffset":3503,"endOffset":3687,"count":2}],"isBlockCoverage":true}]},{"scriptId":"246","url":"node:os","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9769,"count":1}],"isBlockCoverage":false},{"functionName":"getCheckedFunction","ranges":[{"startOffset":2026,"endOffset":2267,"count":4}],"isBlockCoverage":true},{"functionName":"checkError","ranges":[{"startOffset":2085,"endOffset":2263,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease","ranges":[{"startOffset":2649,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType","ranges":[{"startOffset":2711,"endOffset":2721,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion","ranges":[{"startOffset":2773,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine","ranges":[{"startOffset":2836,"endOffset":2849,"count":0}],"isBlockCoverage":false},{"functionName":"getAvailableParallelism.","ranges":[{"startOffset":2897,"endOffset":2928,"count":0}],"isBlockCoverage":false},{"functionName":"getFreeMem.","ranges":[{"startOffset":2962,"endOffset":2980,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname.","ranges":[{"startOffset":3015,"endOffset":3034,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion.","ranges":[{"startOffset":3070,"endOffset":3090,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType.","ranges":[{"startOffset":3123,"endOffset":3140,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease.","ranges":[{"startOffset":3176,"endOffset":3196,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine.","ranges":[{"startOffset":3230,"endOffset":3248,"count":0}],"isBlockCoverage":false},{"functionName":"getHomeDirectory.","ranges":[{"startOffset":3288,"endOffset":3312,"count":0}],"isBlockCoverage":false},{"functionName":"getTotalMem.","ranges":[{"startOffset":3347,"endOffset":3366,"count":0}],"isBlockCoverage":false},{"functionName":"getUptime.","ranges":[{"startOffset":3399,"endOffset":3416,"count":0}],"isBlockCoverage":false},{"functionName":"loadavg","ranges":[{"startOffset":3554,"endOffset":3654,"count":0}],"isBlockCoverage":false},{"functionName":"cpus","ranges":[{"startOffset":3934,"endOffset":4363,"count":1},{"startOffset":4036,"endOffset":4041,"count":0},{"startOffset":4103,"endOffset":4344,"count":12}],"isBlockCoverage":true},{"functionName":"arch","ranges":[{"startOffset":4394,"endOffset":4436,"count":0}],"isBlockCoverage":false},{"functionName":"arch.","ranges":[{"startOffset":4463,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"platform","ranges":[{"startOffset":4513,"endOffset":4563,"count":2}],"isBlockCoverage":true},{"functionName":"platform.","ranges":[{"startOffset":4594,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir","ranges":[{"startOffset":4648,"endOffset":5253,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir.","ranges":[{"startOffset":5282,"endOffset":5296,"count":0}],"isBlockCoverage":false},{"functionName":"endianness","ranges":[{"startOffset":5333,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"endianness.","ranges":[{"startOffset":5413,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"countBinaryOnes","ranges":[{"startOffset":5518,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"getCIDR","ranges":[{"startOffset":5773,"endOffset":6718,"count":0}],"isBlockCoverage":false},{"functionName":"networkInterfaces","ranges":[{"startOffset":6929,"endOffset":7622,"count":0}],"isBlockCoverage":false},{"functionName":"setPriority","ranges":[{"startOffset":7706,"endOffset":7995,"count":0}],"isBlockCoverage":false},{"functionName":"getPriority","ranges":[{"startOffset":8053,"endOffset":8308,"count":0}],"isBlockCoverage":false},{"functionName":"userInfo","ranges":[{"startOffset":8612,"endOffset":8900,"count":0}],"isBlockCoverage":false}]},{"scriptId":"247","url":"node:tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5058,"count":1}],"isBlockCoverage":false},{"functionName":"isatty","ranges":[{"startOffset":1535,"endOffset":1641,"count":2}],"isBlockCoverage":true},{"functionName":"ReadStream","ranges":[{"startOffset":1643,"endOffset":2112,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.setRawMode","ranges":[{"startOffset":2261,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":2481,"endOffset":3453,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._refreshSize","ranges":[{"startOffset":3744,"endOffset":4180,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.cursorTo","ranges":[{"startOffset":4236,"endOffset":4376,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.moveCursor","ranges":[{"startOffset":4413,"endOffset":4559,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearLine","ranges":[{"startOffset":4595,"endOffset":4734,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearScreenDown","ranges":[{"startOffset":4776,"endOffset":4911,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.getWindowSize","ranges":[{"startOffset":4951,"endOffset":5001,"count":0}],"isBlockCoverage":false}]},{"scriptId":"248","url":"node:net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":65921,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1612,"endOffset":1637,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4029,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":4446,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"createHandle","ranges":[{"startOffset":4542,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"getNewAsyncId","ranges":[{"startOffset":4928,"endOffset":5066,"count":0}],"isBlockCoverage":false},{"functionName":"isPipeName","ranges":[{"startOffset":5069,"endOffset":5152,"count":0}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":5353,"endOffset":5457,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":5680,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamily","ranges":[{"startOffset":6083,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamily","ranges":[{"startOffset":6160,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6278,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6383,"endOffset":6570,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgs","ranges":[{"startOffset":7064,"endOffset":7790,"count":0}],"isBlockCoverage":false},{"functionName":"initSocketHandle","ranges":[{"startOffset":7862,"endOffset":8465,"count":0}],"isBlockCoverage":false},{"functionName":"closeSocketHandle","ranges":[{"startOffset":8467,"endOffset":8807,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":9059,"endOffset":13678,"count":0}],"isBlockCoverage":false},{"functionName":"_unrefTimer","ranges":[{"startOffset":13851,"endOffset":13981,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._final","ranges":[{"startOffset":14101,"endOffset":14717,"count":0}],"isBlockCoverage":false},{"functionName":"afterShutdown","ranges":[{"startOffset":14720,"endOffset":14866,"count":0}],"isBlockCoverage":false},{"functionName":"writeAfterFIN","ranges":[{"startOffset":15073,"endOffset":15581,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._onTimeout","ranges":[{"startOffset":15663,"endOffset":16167,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setNoDelay","ranges":[{"startOffset":16201,"endOffset":16578,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setKeepAlive","ranges":[{"startOffset":16614,"endOffset":17220,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":17251,"endOffset":17295,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17381,"endOffset":17425,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17505,"endOffset":17561,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17672,"endOffset":17987,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18076,"endOffset":18156,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18244,"endOffset":18289,"count":0}],"isBlockCoverage":false},{"functionName":"tryReadStart","ranges":[{"startOffset":18297,"endOffset":18543,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._read","ranges":[{"startOffset":18635,"endOffset":18954,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.end","ranges":[{"startOffset":18981,"endOffset":19137,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resetAndDestroy","ranges":[{"startOffset":19175,"endOffset":19525,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.pause","ranges":[{"startOffset":19553,"endOffset":19887,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resume","ranges":[{"startOffset":19917,"endOffset":20101,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.read","ranges":[{"startOffset":20129,"endOffset":20315,"count":0}],"isBlockCoverage":false},{"functionName":"onReadableStreamEnd","ranges":[{"startOffset":20362,"endOffset":20461,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.destroySoon","ranges":[{"startOffset":20495,"endOffset":20642,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._destroy","ranges":[{"startOffset":20674,"endOffset":22184,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._reset","ranges":[{"startOffset":22213,"endOffset":22312,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getpeername","ranges":[{"startOffset":22347,"endOffset":22644,"count":0}],"isBlockCoverage":false},{"functionName":"protoGetter","ranges":[{"startOffset":22647,"endOffset":22829,"count":9}],"isBlockCoverage":true},{"functionName":"bytesRead","ranges":[{"startOffset":22856,"endOffset":22947,"count":0}],"isBlockCoverage":false},{"functionName":"remoteAddress","ranges":[{"startOffset":22980,"endOffset":23046,"count":0}],"isBlockCoverage":false},{"functionName":"remoteFamily","ranges":[{"startOffset":23078,"endOffset":23142,"count":0}],"isBlockCoverage":false},{"functionName":"remotePort","ranges":[{"startOffset":23172,"endOffset":23232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getsockname","ranges":[{"startOffset":23269,"endOffset":23545,"count":0}],"isBlockCoverage":false},{"functionName":"localAddress","ranges":[{"startOffset":23577,"endOffset":23642,"count":0}],"isBlockCoverage":false},{"functionName":"localPort","ranges":[{"startOffset":23672,"endOffset":23731,"count":0}],"isBlockCoverage":false},{"functionName":"localFamily","ranges":[{"startOffset":23762,"endOffset":23825,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":23866,"endOffset":23913,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writeGeneric","ranges":[{"startOffset":23949,"endOffset":24861,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writev","ranges":[{"startOffset":24892,"endOffset":24960,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._write","ranges":[{"startOffset":24990,"endOffset":25071,"count":0}],"isBlockCoverage":false},{"functionName":"_bytesDispatched","ranges":[{"startOffset":25264,"endOffset":25368,"count":0}],"isBlockCoverage":false},{"functionName":"bytesWritten","ranges":[{"startOffset":25400,"endOffset":26329,"count":0}],"isBlockCoverage":false},{"functionName":"checkBindError","ranges":[{"startOffset":26334,"endOffset":27133,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnect","ranges":[{"startOffset":27136,"endOffset":29131,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultiple","ranges":[{"startOffset":29134,"endOffset":31870,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":31899,"endOffset":33495,"count":0}],"isBlockCoverage":false},{"functionName":"reinitializeHandle","ranges":[{"startOffset":33538,"endOffset":33692,"count":0}],"isBlockCoverage":false},{"functionName":"socketToDnsFamily","ranges":[{"startOffset":33695,"endOffset":33841,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnect","ranges":[{"startOffset":33843,"endOffset":37774,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnectMultiple","ranges":[{"startOffset":37776,"endOffset":41750,"count":0}],"isBlockCoverage":false},{"functionName":"connectErrorNT","ranges":[{"startOffset":41752,"endOffset":41811,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":41837,"endOffset":42024,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":42053,"endOffset":42246,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnect","ranges":[{"startOffset":42250,"endOffset":43831,"count":0}],"isBlockCoverage":false},{"functionName":"addClientAbortSignalOption","ranges":[{"startOffset":43833,"endOffset":44256,"count":0}],"isBlockCoverage":false},{"functionName":"createConnectionError","ranges":[{"startOffset":44258,"endOffset":44759,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnectMultiple","ranges":[{"startOffset":44761,"endOffset":45903,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultipleTimeout","ranges":[{"startOffset":45905,"endOffset":46217,"count":0}],"isBlockCoverage":false},{"functionName":"addServerAbortSignalOption","ranges":[{"startOffset":46219,"endOffset":46662,"count":0}],"isBlockCoverage":false},{"functionName":"Server","ranges":[{"startOffset":46664,"endOffset":48251,"count":0}],"isBlockCoverage":false},{"functionName":"toNumber","ranges":[{"startOffset":48362,"endOffset":48427,"count":0}],"isBlockCoverage":false},{"functionName":"createServerHandle","ranges":[{"startOffset":48495,"endOffset":49947,"count":0}],"isBlockCoverage":false},{"functionName":"setupListenHandle","ranges":[{"startOffset":49949,"endOffset":52300,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":52367,"endOffset":52429,"count":0}],"isBlockCoverage":false},{"functionName":"emitListeningNT","ranges":[{"startOffset":52432,"endOffset":52547,"count":0}],"isBlockCoverage":false},{"functionName":"listenInCluster","ranges":[{"startOffset":52550,"endOffset":53810,"count":0}],"isBlockCoverage":false},{"functionName":"Server.listen","ranges":[{"startOffset":53839,"endOffset":57671,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndListen","ranges":[{"startOffset":57674,"endOffset":58086,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":58168,"endOffset":58211,"count":0}],"isBlockCoverage":false},{"functionName":"Server.address","ranges":[{"startOffset":58287,"endOffset":58576,"count":0}],"isBlockCoverage":false},{"functionName":"onconnection","ranges":[{"startOffset":58579,"endOffset":60478,"count":0}],"isBlockCoverage":false},{"functionName":"Server.getConnections","ranges":[{"startOffset":60627,"endOffset":61380,"count":0}],"isBlockCoverage":false},{"functionName":"Server.close","ranges":[{"startOffset":61409,"endOffset":62276,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":62318,"endOffset":62438,"count":0}],"isBlockCoverage":false},{"functionName":"Server._emitCloseIfDrained","ranges":[{"startOffset":62480,"endOffset":62866,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":62870,"endOffset":62953,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":63012,"endOffset":63174,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63396,"endOffset":63432,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63436,"endOffset":63477,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63557,"endOffset":63588,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63592,"endOffset":63628,"count":0}],"isBlockCoverage":false},{"functionName":"Server._setupWorker","ranges":[{"startOffset":63667,"endOffset":63908,"count":0}],"isBlockCoverage":false},{"functionName":"Server.ref","ranges":[{"startOffset":63934,"endOffset":64032,"count":0}],"isBlockCoverage":false},{"functionName":"Server.unref","ranges":[{"startOffset":64060,"endOffset":64159,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":64301,"endOffset":64970,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":65009,"endOffset":65250,"count":0}],"isBlockCoverage":false},{"functionName":"get BlockList","ranges":[{"startOffset":65379,"endOffset":65481,"count":0}],"isBlockCoverage":false},{"functionName":"get SocketAddress","ranges":[{"startOffset":65485,"endOffset":65607,"count":0}],"isBlockCoverage":false}]},{"scriptId":"249","url":"node:internal/stream_base_commons","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7041,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1010,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"handleWriteReq","ranges":[{"startOffset":1154,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"onWriteComplete","ranges":[{"startOffset":2011,"endOffset":2696,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteWrap","ranges":[{"startOffset":2698,"endOffset":2936,"count":0}],"isBlockCoverage":false},{"functionName":"writevGeneric","ranges":[{"startOffset":2938,"endOffset":3577,"count":0}],"isBlockCoverage":false},{"functionName":"writeGeneric","ranges":[{"startOffset":3579,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteDispatched","ranges":[{"startOffset":3786,"endOffset":4089,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamRead","ranges":[{"startOffset":4091,"endOffset":6022,"count":0}],"isBlockCoverage":false},{"functionName":"setStreamTimeout","ranges":[{"startOffset":6024,"endOffset":6834,"count":0}],"isBlockCoverage":false}]},{"scriptId":"250","url":"node:internal/perf/observe","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16742,"count":1}],"isBlockCoverage":false},{"functionName":"queuePending","ranges":[{"startOffset":2620,"endOffset":2881,"count":0}],"isBlockCoverage":false},{"functionName":"getObserverType","ranges":[{"startOffset":2883,"endOffset":3223,"count":0}],"isBlockCoverage":false},{"functionName":"maybeDecrementObserverCounts","ranges":[{"startOffset":3225,"endOffset":3646,"count":0}],"isBlockCoverage":false},{"functionName":"maybeIncrementObserverCount","ranges":[{"startOffset":3648,"endOffset":3990,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceObserverEntryList","ranges":[{"startOffset":4031,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"getEntries","ranges":[{"startOffset":4095,"endOffset":4234,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByType","ranges":[{"startOffset":4238,"endOffset":4542,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByName","ranges":[{"startOffset":4546,"endOffset":5039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5043,"endOffset":5291,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceObserverEntryList","ranges":[{"startOffset":5643,"endOffset":5933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5935,"endOffset":9507,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":9989,"endOffset":10191,"count":0}],"isBlockCoverage":false},{"functionName":"bufferUserTiming","ranges":[{"startOffset":10252,"endOffset":11278,"count":0}],"isBlockCoverage":false},{"functionName":"bufferResourceTiming","ranges":[{"startOffset":11566,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"setResourceTimingBufferSize","ranges":[{"startOffset":12918,"endOffset":13190,"count":0}],"isBlockCoverage":false},{"functionName":"setDispatchBufferFull","ranges":[{"startOffset":13192,"endOffset":13257,"count":0}],"isBlockCoverage":false},{"functionName":"clearEntriesFromBuffer","ranges":[{"startOffset":13259,"endOffset":13859,"count":0}],"isBlockCoverage":false},{"functionName":"filterBufferMapByNameAndType","ranges":[{"startOffset":13861,"endOffset":14749,"count":0}],"isBlockCoverage":false},{"functionName":"observerCallback","ranges":[{"startOffset":14751,"endOffset":15867,"count":0}],"isBlockCoverage":false},{"functionName":"hasObserver","ranges":[{"startOffset":15904,"endOffset":16023,"count":0}],"isBlockCoverage":false},{"functionName":"startPerf","ranges":[{"startOffset":16026,"endOffset":16136,"count":0}],"isBlockCoverage":false},{"functionName":"stopPerf","ranges":[{"startOffset":16138,"endOffset":16453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"251","url":"node:internal/perf/performance_entry","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3333,"count":1}],"isBlockCoverage":false},{"functionName":"isPerformanceEntry","ranges":[{"startOffset":675,"endOffset":748,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceEntry","ranges":[{"startOffset":777,"endOffset":914,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":918,"endOffset":1018,"count":0}],"isBlockCoverage":false},{"functionName":"get entryType","ranges":[{"startOffset":1022,"endOffset":1137,"count":0}],"isBlockCoverage":false},{"functionName":"get startTime","ranges":[{"startOffset":1141,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"get duration","ranges":[{"startOffset":1260,"endOffset":1372,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1376,"endOffset":1620,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":1624,"endOffset":1846,"count":0}],"isBlockCoverage":false},{"functionName":"initPerformanceEntry","ranges":[{"startOffset":2068,"endOffset":2248,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceEntry","ranges":[{"startOffset":2250,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":2559,"endOffset":2669,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":2673,"endOffset":2924,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceNodeEntry","ranges":[{"startOffset":2928,"endOffset":3163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"252","url":"node:internal/tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6485,"count":1}],"isBlockCoverage":false},{"functionName":"warnOnDeactivatedColors","ranges":[{"startOffset":2549,"endOffset":3002,"count":0}],"isBlockCoverage":false},{"functionName":"getColorDepth","ranges":[{"startOffset":3160,"endOffset":6156,"count":0}],"isBlockCoverage":false},{"functionName":"hasColors","ranges":[{"startOffset":6158,"endOffset":6431,"count":0}],"isBlockCoverage":false}]},{"scriptId":"253","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":997,"count":1}],"isBlockCoverage":true},{"functionName":"stringReplaceAll","ranges":[{"startOffset":78,"endOffset":552,"count":0}],"isBlockCoverage":false},{"functionName":"stringEncaseCRLFWithFirstIndex","ranges":[{"startOffset":561,"endOffset":996,"count":0}],"isBlockCoverage":false}]},{"scriptId":"254","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6025,"count":1}],"isBlockCoverage":true},{"functionName":"assertPatternsInput","ranges":[{"startOffset":367,"endOffset":522,"count":0}],"isBlockCoverage":false},{"functionName":"toPatternsArray","ranges":[{"startOffset":549,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"checkCwdOption","ranges":[{"startOffset":685,"endOffset":912,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":940,"endOffset":1200,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArguments","ranges":[{"startOffset":1230,"endOffset":1321,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1236,"endOffset":1321,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgumentsSync","ranges":[{"startOffset":1354,"endOffset":1439,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1360,"endOffset":1439,"count":0}],"isBlockCoverage":false},{"functionName":"getIgnoreFilesPatterns","ranges":[{"startOffset":1473,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":1701,"endOffset":1913,"count":0}],"isBlockCoverage":false},{"functionName":"getFilterSync","ranges":[{"startOffset":1938,"endOffset":2142,"count":0}],"isBlockCoverage":false},{"functionName":"createFilterFunction","ranges":[{"startOffset":2174,"endOffset":2469,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobResults","ranges":[{"startOffset":2501,"endOffset":2585,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobStreams","ranges":[{"startOffset":2616,"endOffset":2717,"count":0}],"isBlockCoverage":false},{"functionName":"convertNegativePatterns","ranges":[{"startOffset":2752,"endOffset":3364,"count":0}],"isBlockCoverage":false},{"functionName":"getDirGlobOptions","ranges":[{"startOffset":3393,"endOffset":3499,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":3524,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasksSync","ranges":[{"startOffset":4171,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4758,"endOffset":5048,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5101,"endOffset":5348,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5403,"endOffset":5652,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5713,"endOffset":5805,"count":0}],"isBlockCoverage":false}]},{"scriptId":"255","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/maps.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"256","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":465,"count":1}],"isBlockCoverage":true},{"functionName":"escapeStringRegexp","ranges":[{"startOffset":15,"endOffset":464,"count":3},{"startOffset":86,"endOffset":134,"count":0}],"isBlockCoverage":true}]},{"scriptId":"257","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/indent-string/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":820,"count":1}],"isBlockCoverage":true},{"functionName":"indentString","ranges":[{"startOffset":15,"endOffset":819,"count":0}],"isBlockCoverage":false}]},{"scriptId":"258","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mem/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3063,"count":1}],"isBlockCoverage":true},{"functionName":"mem","ranges":[{"startOffset":651,"endOffset":1491,"count":2},{"startOffset":753,"endOffset":790,"count":0}],"isBlockCoverage":true},{"functionName":"memoized","ranges":[{"startOffset":812,"endOffset":1357,"count":3},{"startOffset":868,"endOffset":890,"count":1},{"startOffset":891,"endOffset":906,"count":2},{"startOffset":973,"endOffset":1078,"count":1},{"startOffset":1078,"endOffset":1208,"count":2},{"startOffset":1208,"endOffset":1229,"count":0},{"startOffset":1230,"endOffset":1256,"count":2}],"isBlockCoverage":true},{"functionName":"memDecorator","ranges":[{"startOffset":1911,"endOffset":2668,"count":0}],"isBlockCoverage":false},{"functionName":"memClear","ranges":[{"startOffset":2761,"endOffset":3062,"count":0}],"isBlockCoverage":false}]},{"scriptId":"259","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12,"count":1}],"isBlockCoverage":true}]},{"scriptId":"260","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-promise/index.mjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":151,"count":1}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":15,"endOffset":150,"count":9},{"startOffset":56,"endOffset":113,"count":0},{"startOffset":114,"endOffset":147,"count":0}],"isBlockCoverage":true}]},{"scriptId":"261","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/plur/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":963,"count":1}],"isBlockCoverage":true},{"functionName":"plur","ranges":[{"startOffset":66,"endOffset":962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"262","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/like-selector.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1333,"count":1}],"isBlockCoverage":true},{"functionName":"isPrimitive","ranges":[{"startOffset":20,"endOffset":72,"count":0}],"isBlockCoverage":false},{"functionName":"isLikeSelector","ranges":[{"startOffset":82,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"selectComparable","ranges":[{"startOffset":609,"endOffset":1332,"count":0}],"isBlockCoverage":false}]},{"scriptId":"263","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5267,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5200,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2913,"endOffset":3409,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3462,"endOffset":3983,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4040,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4149,"endOffset":4906,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4960,"endOffset":5041,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5095,"endOffset":5148,"count":0}],"isBlockCoverage":false}]},{"scriptId":"264","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/strip-ansi/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":468,"count":1}],"isBlockCoverage":true},{"functionName":"stripAnsi","ranges":[{"startOffset":80,"endOffset":467,"count":69},{"startOffset":142,"endOffset":220,"count":0}],"isBlockCoverage":true}]},{"scriptId":"265","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/ignore.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2797,"count":1}],"isBlockCoverage":true},{"functionName":"applyBaseToPattern","ranges":[{"startOffset":479,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"parseIgnoreFile","ranges":[{"startOffset":634,"endOffset":865,"count":0}],"isBlockCoverage":false},{"functionName":"toRelativePath","ranges":[{"startOffset":891,"endOffset":1176,"count":0}],"isBlockCoverage":false},{"functionName":"getIsIgnoredPredicate","ranges":[{"startOffset":1209,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1582,"endOffset":1782,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFiles","ranges":[{"startOffset":1823,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFilesSync","ranges":[{"startOffset":2256,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnored","ranges":[{"startOffset":2623,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnoredSync","ranges":[{"startOffset":2724,"endOffset":2795,"count":0}],"isBlockCoverage":false}]},{"scriptId":"266","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":462,"count":1}],"isBlockCoverage":true},{"functionName":"toPath","ranges":[{"startOffset":102,"endOffset":178,"count":0}],"isBlockCoverage":false},{"functionName":"FilterStream","ranges":[{"startOffset":228,"endOffset":394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":431,"endOffset":460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"267","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mimic-fn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2903,"count":1}],"isBlockCoverage":true},{"functionName":"copyProperty","ranges":[{"startOffset":21,"endOffset":887,"count":4},{"startOffset":280,"endOffset":307,"count":2},{"startOffset":309,"endOffset":577,"count":2},{"startOffset":579,"endOffset":593,"count":0},{"startOffset":593,"endOffset":790,"count":2},{"startOffset":790,"endOffset":814,"count":0},{"startOffset":816,"endOffset":830,"count":0},{"startOffset":830,"endOffset":886,"count":2}],"isBlockCoverage":true},{"functionName":"canCopyProperty","ranges":[{"startOffset":1091,"endOffset":1457,"count":2},{"startOffset":1197,"endOffset":1454,"count":0}],"isBlockCoverage":true},{"functionName":"changePrototype","ranges":[{"startOffset":1484,"endOffset":1662,"count":2},{"startOffset":1616,"endOffset":1661,"count":0}],"isBlockCoverage":true},{"functionName":"wrappedToString","ranges":[{"startOffset":1689,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"changeToString","ranges":[{"startOffset":2221,"endOffset":2603,"count":2},{"startOffset":2273,"endOffset":2277,"count":0}],"isBlockCoverage":true},{"functionName":"mimicFunction","ranges":[{"startOffset":2621,"endOffset":2902,"count":2},{"startOffset":2762,"endOffset":2825,"count":4}],"isBlockCoverage":true}]},{"scriptId":"268","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/ansi-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":350,"count":1}],"isBlockCoverage":true},{"functionName":"ansiRegex","ranges":[{"startOffset":15,"endOffset":349,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true}]},{"scriptId":"269","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/slash/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":285,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":15,"endOffset":284,"count":0}],"isBlockCoverage":false}]},{"scriptId":"270","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":250,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":62,"endOffset":248,"count":1}],"isBlockCoverage":true}]},{"scriptId":"271","url":"node:internal/vm/module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12200,"count":1}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":1662,"endOffset":4017,"count":0}],"isBlockCoverage":false},{"functionName":"get identifier","ranges":[{"startOffset":4021,"endOffset":4158,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4162,"endOffset":4295,"count":0}],"isBlockCoverage":false},{"functionName":"get namespace","ranges":[{"startOffset":4299,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"get status","ranges":[{"startOffset":4580,"endOffset":4733,"count":0}],"isBlockCoverage":false},{"functionName":"get error","ranges":[{"startOffset":4737,"endOffset":4987,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":4991,"endOffset":5396,"count":0}],"isBlockCoverage":false},{"functionName":"evaluate","ranges":[{"startOffset":5400,"endOffset":6153,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6157,"endOffset":6909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":10171,"count":0}],"isBlockCoverage":false},{"functionName":"SyntheticModule","ranges":[{"startOffset":10214,"endOffset":11307,"count":0}],"isBlockCoverage":false},{"functionName":"setExport","ranges":[{"startOffset":11311,"endOffset":11613,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamicallyWrap","ranges":[{"startOffset":11617,"endOffset":12096,"count":370}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyWrapper","ranges":[{"startOffset":11722,"endOffset":12052,"count":2},{"startOffset":11873,"endOffset":11910,"count":0},{"startOffset":11912,"endOffset":12051,"count":0}],"isBlockCoverage":true}]},{"scriptId":"272","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":82,"endOffset":745,"count":1}],"isBlockCoverage":true},{"functionName":"onUnhandledRejection","ranges":[{"startOffset":129,"endOffset":244,"count":0}],"isBlockCoverage":false},{"functionName":"onRejectionHandled","ranges":[{"startOffset":247,"endOffset":433,"count":0}],"isBlockCoverage":false},{"functionName":"currentlyUnhandled","ranges":[{"startOffset":436,"endOffset":599,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":501,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"273","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/array-find-index/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":462,"count":0}],"isBlockCoverage":false}]},{"scriptId":"274","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/now-and-timers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":501,"count":1}],"isBlockCoverage":true},{"functionName":"setCappedTimeout","ranges":[{"startOffset":313,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"275","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge2/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3241,"count":1}],"isBlockCoverage":true},{"functionName":"merge2","ranges":[{"startOffset":280,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"pauseStreams","ranges":[{"startOffset":2702,"endOffset":3240,"count":0}],"isBlockCoverage":false}]},{"scriptId":"276","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4091,"count":1},{"startOffset":3434,"endOffset":3452,"count":0}],"isBlockCoverage":true},{"functionName":"FastGlob","ranges":[{"startOffset":277,"endOffset":501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":612,"endOffset":3423,"count":1}],"isBlockCoverage":true},{"functionName":"sync","ranges":[{"startOffset":763,"endOffset":946,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":977,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":1503,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1795,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"escapePath","ranges":[{"startOffset":2060,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2217,"endOffset":2355,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2434,"endOffset":2864,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2461,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2644,"endOffset":2799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2936,"endOffset":3370,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2963,"endOffset":3100,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":3148,"endOffset":3305,"count":0}],"isBlockCoverage":false},{"functionName":"getWorks","ranges":[{"startOffset":3455,"endOffset":3751,"count":0}],"isBlockCoverage":false},{"functionName":"assertPatternsInput","ranges":[{"startOffset":3752,"endOffset":4063,"count":0}],"isBlockCoverage":false}]},{"scriptId":"277","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/managers/tasks.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5531,"count":1}],"isBlockCoverage":true},{"functionName":"generate","ranges":[{"startOffset":355,"endOffset":1133,"count":0}],"isBlockCoverage":false},{"functionName":"processPatterns","ranges":[{"startOffset":1163,"endOffset":2553,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToTasks","ranges":[{"startOffset":2825,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":4023,"endOffset":4121,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatternsAsPositive","ranges":[{"startOffset":4173,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"groupPatternsByBaseDirectory","ranges":[{"startOffset":4482,"endOffset":4868,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupsToTasks","ranges":[{"startOffset":4938,"endOffset":5147,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupToTask","ranges":[{"startOffset":5215,"endOffset":5467,"count":0}],"isBlockCoverage":false}]},{"scriptId":"278","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":596,"count":1}],"isBlockCoverage":true}]},{"scriptId":"279","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1}],"isBlockCoverage":true},{"functionName":"flatten","ranges":[{"startOffset":123,"endOffset":230,"count":0}],"isBlockCoverage":false},{"functionName":"splitWhen","ranges":[{"startOffset":258,"endOffset":576,"count":0}],"isBlockCoverage":false}]},{"scriptId":"280","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/errno.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":234,"count":1}],"isBlockCoverage":true},{"functionName":"isEnoentCodeError","ranges":[{"startOffset":113,"endOffset":186,"count":0}],"isBlockCoverage":false}]},{"scriptId":"281","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"282","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/path.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3010,"count":1},{"startOffset":2154,"endOffset":2173,"count":0},{"startOffset":2552,"endOffset":2581,"count":0}],"isBlockCoverage":true},{"functionName":"unixify","ranges":[{"startOffset":1352,"endOffset":1423,"count":0}],"isBlockCoverage":false},{"functionName":"makeAbsolute","ranges":[{"startOffset":1451,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"removeLeadingDotSegment","ranges":[{"startOffset":1569,"endOffset":2057,"count":0}],"isBlockCoverage":false},{"functionName":"escapeWindowsPath","ranges":[{"startOffset":2193,"endOffset":2303,"count":0}],"isBlockCoverage":false},{"functionName":"escapePosixPath","ranges":[{"startOffset":2351,"endOffset":2457,"count":0}],"isBlockCoverage":false},{"functionName":"convertWindowsPathToPattern","ranges":[{"startOffset":2611,"endOffset":2792,"count":0}],"isBlockCoverage":false},{"functionName":"convertPosixPathToPattern","ranges":[{"startOffset":2860,"endOffset":2946,"count":0}],"isBlockCoverage":false}]},{"scriptId":"283","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/pattern.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7965,"count":1}],"isBlockCoverage":true},{"functionName":"isStaticPattern","ranges":[{"startOffset":1465,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1608,"endOffset":2666,"count":0}],"isBlockCoverage":false},{"functionName":"hasBraceExpansion","ranges":[{"startOffset":2712,"endOffset":3145,"count":0}],"isBlockCoverage":false},{"functionName":"convertToPositivePattern","ranges":[{"startOffset":3146,"endOffset":3260,"count":0}],"isBlockCoverage":false},{"functionName":"convertToNegativePattern","ranges":[{"startOffset":3322,"endOffset":3394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":3456,"endOffset":3553,"count":0}],"isBlockCoverage":false},{"functionName":"isPositivePattern","ranges":[{"startOffset":3601,"endOffset":3680,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatterns","ranges":[{"startOffset":3728,"endOffset":3817,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":3869,"endOffset":3958,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsInsideCurrentDirectory","ranges":[{"startOffset":4205,"endOffset":4347,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsOutsideCurrentDirectory","ranges":[{"startOffset":4631,"endOffset":4751,"count":0}],"isBlockCoverage":false},{"functionName":"isPatternRelatedToParentDirectory","ranges":[{"startOffset":4833,"endOffset":4955,"count":0}],"isBlockCoverage":false},{"functionName":"getBaseDirectory","ranges":[{"startOffset":5035,"endOffset":5133,"count":0}],"isBlockCoverage":false},{"functionName":"hasGlobStar","ranges":[{"startOffset":5179,"endOffset":5251,"count":0}],"isBlockCoverage":false},{"functionName":"endsWithSlashGlobStar","ranges":[{"startOffset":5287,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"isAffectDepthOfReadingPattern","ranges":[{"startOffset":5431,"endOffset":5599,"count":0}],"isBlockCoverage":false},{"functionName":"expandPatternsWithBraceExpansion","ranges":[{"startOffset":5671,"endOffset":5857,"count":0}],"isBlockCoverage":false},{"functionName":"expandBraceExpansion","ranges":[{"startOffset":5935,"endOffset":6463,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternParts","ranges":[{"startOffset":6517,"endOffset":7150,"count":0}],"isBlockCoverage":false},{"functionName":"makeRe","ranges":[{"startOffset":7194,"endOffset":7279,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToRe","ranges":[{"startOffset":7305,"endOffset":7420,"count":0}],"isBlockCoverage":false},{"functionName":"matchAny","ranges":[{"startOffset":7472,"endOffset":7578,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateSlashes","ranges":[{"startOffset":7813,"endOffset":7907,"count":0}],"isBlockCoverage":false}]},{"scriptId":"284","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/glob-parent/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1120,"count":1}],"isBlockCoverage":true},{"functionName":"globParent","ranges":[{"startOffset":461,"endOffset":1118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"285","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3628,"count":1}],"isBlockCoverage":true},{"functionName":"strictCheck","ranges":[{"startOffset":247,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"relaxedCheck","ranges":[{"startOffset":2767,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"isGlob","ranges":[{"startOffset":3324,"endOffset":3626,"count":0}],"isBlockCoverage":false}]},{"scriptId":"286","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-extglob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"isExtglob","ranges":[{"startOffset":168,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"287","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/micromatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13741,"count":1}],"isBlockCoverage":true},{"functionName":"isEmptyString","ranges":[{"startOffset":187,"endOffset":220,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch","ranges":[{"startOffset":784,"endOffset":2129,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matcher","ranges":[{"startOffset":2781,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.isMatch","ranges":[{"startOffset":3440,"endOffset":3501,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.not","ranges":[{"startOffset":4203,"endOffset":4640,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.contains","ranges":[{"startOffset":5367,"endOffset":5928,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matchKeys","ranges":[{"startOffset":6706,"endOffset":6980,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.some","ranges":[{"startOffset":7765,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.every","ranges":[{"startOffset":8890,"endOffset":9146,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.all","ranges":[{"startOffset":9947,"endOffset":10155,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.capture","ranges":[{"startOffset":10869,"endOffset":11165,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.makeRe","ranges":[{"startOffset":11617,"endOffset":11655,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.scan","ranges":[{"startOffset":12004,"endOffset":12040,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.parse","ranges":[{"startOffset":12432,"endOffset":12652,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braces","ranges":[{"startOffset":13219,"endOffset":13456,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braceExpand","ranges":[{"startOffset":13510,"endOffset":13679,"count":0}],"isBlockCoverage":false}]},{"scriptId":"288","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4375,"count":1}],"isBlockCoverage":true},{"functionName":"braces","ranges":[{"startOffset":543,"endOffset":1030,"count":0}],"isBlockCoverage":false},{"functionName":"braces.parse","ranges":[{"startOffset":1359,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"braces.stringify","ranges":[{"startOffset":1795,"endOffset":1959,"count":0}],"isBlockCoverage":false},{"functionName":"braces.compile","ranges":[{"startOffset":2407,"endOffset":2550,"count":0}],"isBlockCoverage":false},{"functionName":"braces.expand","ranges":[{"startOffset":3141,"endOffset":3541,"count":0}],"isBlockCoverage":false},{"functionName":"braces.create","ranges":[{"startOffset":4118,"endOffset":4319,"count":0}],"isBlockCoverage":false}]},{"scriptId":"289","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/stringify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":700,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":67,"endOffset":697,"count":0}],"isBlockCoverage":false}]},{"scriptId":"290","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2451,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isInteger","ranges":[{"startOffset":35,"endOffset":232,"count":0}],"isBlockCoverage":false},{"functionName":"exports.find","ranges":[{"startOffset":292,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"exports.exceedsLimit","ranges":[{"startOffset":419,"endOffset":626,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeNode","ranges":[{"startOffset":712,"endOffset":985,"count":0}],"isBlockCoverage":false},{"functionName":"exports.encloseBrace","ranges":[{"startOffset":1097,"endOffset":1266,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isInvalidBrace","ranges":[{"startOffset":1347,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isOpenOrClose","ranges":[{"startOffset":1767,"endOffset":1906,"count":0}],"isBlockCoverage":false},{"functionName":"exports.reduce","ranges":[{"startOffset":1969,"endOffset":2127,"count":0}],"isBlockCoverage":false},{"functionName":"exports.flatten","ranges":[{"startOffset":2177,"endOffset":2449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"291","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/compile.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1415,"count":1}],"isBlockCoverage":true},{"functionName":"compile","ranges":[{"startOffset":102,"endOffset":1386,"count":0}],"isBlockCoverage":false}]},{"scriptId":"292","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fill-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6315,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":265,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"transform","ranges":[{"startOffset":355,"endOffset":439,"count":0}],"isBlockCoverage":false},{"functionName":"isValidValue","ranges":[{"startOffset":463,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":578,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"zeros","ranges":[{"startOffset":624,"endOffset":817,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":838,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":1001,"endOffset":1295,"count":0}],"isBlockCoverage":false},{"functionName":"toMaxLen","ranges":[{"startOffset":1315,"endOffset":1552,"count":0}],"isBlockCoverage":false},{"functionName":"toSequence","ranges":[{"startOffset":1574,"endOffset":2208,"count":0}],"isBlockCoverage":false},{"functionName":"toRange","ranges":[{"startOffset":2227,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"toRegex","ranges":[{"startOffset":2499,"endOffset":2758,"count":0}],"isBlockCoverage":false},{"functionName":"rangeError","ranges":[{"startOffset":2780,"endOffset":2874,"count":0}],"isBlockCoverage":false},{"functionName":"invalidRange","ranges":[{"startOffset":2898,"endOffset":3008,"count":0}],"isBlockCoverage":false},{"functionName":"invalidStep","ranges":[{"startOffset":3031,"endOffset":3176,"count":0}],"isBlockCoverage":false},{"functionName":"fillNumbers","ranges":[{"startOffset":3199,"endOffset":4682,"count":0}],"isBlockCoverage":false},{"functionName":"fillLetters","ranges":[{"startOffset":4705,"endOffset":5486,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":5502,"endOffset":6289,"count":0}],"isBlockCoverage":false}]},{"scriptId":"293","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/to-regex-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6481,"count":1}],"isBlockCoverage":true},{"functionName":"toRegexRange","ranges":[{"startOffset":235,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"collatePatterns","ranges":[{"startOffset":2180,"endOffset":2554,"count":0}],"isBlockCoverage":false},{"functionName":"splitToRanges","ranges":[{"startOffset":2556,"endOffset":3037,"count":0}],"isBlockCoverage":false},{"functionName":"rangeToPattern","ranges":[{"startOffset":3159,"endOffset":3832,"count":0}],"isBlockCoverage":false},{"functionName":"splitToPatterns","ranges":[{"startOffset":3834,"endOffset":4632,"count":0}],"isBlockCoverage":false},{"functionName":"filterPatterns","ranges":[{"startOffset":4634,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"zip","ranges":[{"startOffset":5120,"endOffset":5233,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":5235,"endOffset":5298,"count":0}],"isBlockCoverage":false},{"functionName":"contains","ranges":[{"startOffset":5300,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"countNines","ranges":[{"startOffset":5382,"endOffset":5478,"count":0}],"isBlockCoverage":false},{"functionName":"countZeros","ranges":[{"startOffset":5480,"endOffset":5571,"count":0}],"isBlockCoverage":false},{"functionName":"toQuantifier","ranges":[{"startOffset":5573,"endOffset":5741,"count":0}],"isBlockCoverage":false},{"functionName":"toCharacterClass","ranges":[{"startOffset":5743,"endOffset":5837,"count":0}],"isBlockCoverage":false},{"functionName":"hasPadding","ranges":[{"startOffset":5839,"endOffset":5899,"count":0}],"isBlockCoverage":false},{"functionName":"padZeros","ranges":[{"startOffset":5901,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"toRegexRange.clearCache","ranges":[{"startOffset":6382,"endOffset":6413,"count":0}],"isBlockCoverage":false}]},{"scriptId":"294","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-number/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":411,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":184,"endOffset":409,"count":0}],"isBlockCoverage":false}]},{"scriptId":"295","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/expand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2780,"count":1}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":143,"endOffset":810,"count":0}],"isBlockCoverage":false},{"functionName":"expand","ranges":[{"startOffset":828,"endOffset":2752,"count":0}],"isBlockCoverage":false}]},{"scriptId":"296","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6913,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":576,"endOffset":6886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"297","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"298","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":60,"count":1}],"isBlockCoverage":true}]},{"scriptId":"299","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/picomatch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9956,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":204,"endOffset":264,"count":18},{"startOffset":242,"endOffset":264,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch","ranges":[{"startOffset":1018,"endOffset":2836,"count":19},{"startOffset":1087,"endOffset":1365,"count":1},{"startOffset":1365,"endOffset":1400,"count":18},{"startOffset":1400,"endOffset":1414,"count":0},{"startOffset":1415,"endOffset":1428,"count":0},{"startOffset":1449,"endOffset":1490,"count":18},{"startOffset":1478,"endOffset":1489,"count":0},{"startOffset":1492,"endOffset":1567,"count":0},{"startOffset":1567,"endOffset":1597,"count":18},{"startOffset":1669,"endOffset":1705,"count":0},{"startOffset":1710,"endOffset":1756,"count":18},{"startOffset":1861,"endOffset":2015,"count":0},{"startOffset":2015,"endOffset":2783,"count":18},{"startOffset":2783,"endOffset":2815,"count":0},{"startOffset":2815,"endOffset":2835,"count":18}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1114,"endOffset":1161,"count":18}],"isBlockCoverage":true},{"functionName":"arrayMatcher","ranges":[{"startOffset":1189,"endOffset":1335,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnored","ranges":[{"startOffset":1829,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2035,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.test","ranges":[{"startOffset":3384,"endOffset":4185,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.matchBase","ranges":[{"startOffset":4600,"endOffset":4787,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.isMatch","ranges":[{"startOffset":5423,"endOffset":5484,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.parse","ranges":[{"startOffset":5894,"endOffset":6062,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.scan","ranges":[{"startOffset":6697,"endOffset":6737,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.compileRe","ranges":[{"startOffset":7228,"endOffset":7738,"count":18},{"startOffset":7322,"endOffset":7352,"count":0},{"startOffset":7377,"endOffset":7382,"count":0},{"startOffset":7416,"endOffset":7420,"count":0},{"startOffset":7459,"endOffset":7463,"count":0},{"startOffset":7568,"endOffset":7607,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch.makeRe","ranges":[{"startOffset":8611,"endOffset":9117,"count":18},{"startOffset":8724,"endOffset":8785,"count":0},{"startOffset":8895,"endOffset":8914,"count":8},{"startOffset":8917,"endOffset":8975,"count":12}],"isBlockCoverage":true},{"functionName":"picomatch.toRegex","ranges":[{"startOffset":9579,"endOffset":9807,"count":18},{"startOffset":9635,"endOffset":9640,"count":0},{"startOffset":9699,"endOffset":9704,"count":0},{"startOffset":9717,"endOffset":9805,"count":0}],"isBlockCoverage":true}]},{"scriptId":"300","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/scan.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9189,"count":1}],"isBlockCoverage":true},{"functionName":"isPathSeparator","ranges":[{"startOffset":665,"endOffset":746,"count":0}],"isBlockCoverage":false},{"functionName":"depth","ranges":[{"startOffset":763,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"scan","ranges":[{"startOffset":1512,"endOffset":9163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"301","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1885,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isObject","ranges":[{"startOffset":242,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"exports.hasRegexChars","ranges":[{"startOffset":337,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isRegexChar","ranges":[{"startOffset":397,"endOffset":450,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeRegex","ranges":[{"startOffset":474,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"exports.toPosixSlashes","ranges":[{"startOffset":555,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removeBackslashes","ranges":[{"startOffset":626,"endOffset":738,"count":0}],"isBlockCoverage":false},{"functionName":"exports.supportsLookbehinds","ranges":[{"startOffset":771,"endOffset":960,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isWindows","ranges":[{"startOffset":983,"endOffset":1132,"count":48},{"startOffset":1010,"endOffset":1049,"count":30},{"startOffset":1051,"endOffset":1084,"count":0}],"isBlockCoverage":true},{"functionName":"exports.escapeLast","ranges":[{"startOffset":1156,"endOffset":1401,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removePrefix","ranges":[{"startOffset":1427,"endOffset":1584,"count":30},{"startOffset":1505,"endOffset":1565,"count":0}],"isBlockCoverage":true},{"functionName":"exports.wrapOutput","ranges":[{"startOffset":1608,"endOffset":1883,"count":8},{"startOffset":1682,"endOffset":1686,"count":0},{"startOffset":1728,"endOffset":1732,"count":0},{"startOffset":1821,"endOffset":1864,"count":0}],"isBlockCoverage":true}]},{"scriptId":"302","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4448,"count":1}],"isBlockCoverage":true},{"functionName":"extglobChars","ranges":[{"startOffset":3985,"endOffset":4324,"count":18}],"isBlockCoverage":true},{"functionName":"globChars","ranges":[{"startOffset":4365,"endOffset":4444,"count":30},{"startOffset":4410,"endOffset":4425,"count":0}],"isBlockCoverage":true}]},{"scriptId":"303","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27763,"count":1}],"isBlockCoverage":true},{"functionName":"expandRange","ranges":[{"startOffset":287,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"syntaxError","ranges":[{"startOffset":713,"endOffset":819,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":950,"endOffset":25216,"count":18},{"startOffset":1005,"endOffset":1056,"count":0},{"startOffset":1179,"endOffset":1217,"count":0},{"startOffset":1276,"endOffset":1372,"count":0},{"startOffset":1500,"endOffset":1504,"count":0},{"startOffset":2109,"endOffset":2113,"count":0},{"startOffset":2154,"endOffset":2161,"count":0},{"startOffset":2210,"endOffset":2226,"count":0},{"startOffset":2256,"endOffset":2285,"count":0},{"startOffset":2357,"endOffset":2395,"count":0},{"startOffset":6907,"endOffset":8130,"count":8},{"startOffset":7704,"endOffset":7937,"count":0},{"startOffset":7964,"endOffset":7989,"count":3},{"startOffset":7991,"endOffset":8046,"count":0},{"startOffset":8130,"endOffset":8211,"count":10},{"startOffset":8211,"endOffset":24093,"count":55},{"startOffset":8265,"endOffset":8288,"count":0},{"startOffset":8357,"endOffset":9173,"count":0},{"startOffset":9319,"endOffset":9382,"count":0},{"startOffset":9384,"endOffset":10516,"count":0},{"startOffset":10659,"endOffset":10675,"count":0},{"startOffset":10677,"endOffset":10792,"count":0},{"startOffset":10855,"endOffset":11012,"count":0},{"startOffset":11073,"endOffset":11161,"count":0},{"startOffset":11186,"endOffset":11621,"count":0},{"startOffset":11686,"endOffset":12045,"count":0},{"startOffset":12070,"endOffset":13525,"count":0},{"startOffset":13580,"endOffset":13604,"count":0},{"startOffset":13606,"endOffset":13873,"count":0},{"startOffset":13898,"endOffset":15028,"count":0},{"startOffset":15083,"endOffset":15236,"count":0},{"startOffset":15292,"endOffset":15553,"count":0},{"startOffset":15610,"endOffset":16220,"count":9},{"startOffset":15901,"endOffset":15935,"count":0},{"startOffset":15937,"endOffset":16136,"count":0},{"startOffset":16220,"endOffset":16274,"count":46},{"startOffset":16274,"endOffset":16840,"count":5},{"startOffset":16303,"endOffset":16325,"count":0},{"startOffset":16327,"endOffset":16576,"count":0},{"startOffset":16647,"endOffset":16671,"count":0},{"startOffset":16673,"endOffset":16760,"count":0},{"startOffset":16840,"endOffset":16904,"count":41},{"startOffset":16904,"endOffset":17841,"count":0},{"startOffset":17841,"endOffset":17902,"count":41},{"startOffset":17902,"endOffset":18202,"count":0},{"startOffset":18202,"endOffset":18256,"count":41},{"startOffset":18256,"endOffset":18806,"count":0},{"startOffset":18806,"endOffset":18866,"count":41},{"startOffset":18866,"endOffset":19091,"count":0},{"startOffset":19091,"endOffset":19151,"count":41},{"startOffset":19151,"endOffset":19452,"count":10},{"startOffset":19195,"endOffset":19234,"count":0},{"startOffset":19452,"endOffset":19548,"count":31},{"startOffset":19550,"endOffset":19757,"count":0},{"startOffset":19757,"endOffset":19842,"count":31},{"startOffset":19844,"endOffset":19901,"count":0},{"startOffset":19901,"endOffset":19933,"count":31},{"startOffset":19933,"endOffset":23132,"count":11},{"startOffset":19971,"endOffset":20022,"count":0},{"startOffset":20133,"endOffset":20156,"count":2},{"startOffset":20189,"endOffset":20246,"count":9},{"startOffset":20278,"endOffset":20323,"count":0},{"startOffset":20325,"endOffset":20403,"count":0},{"startOffset":20444,"endOffset":20497,"count":0},{"startOffset":20539,"endOffset":20591,"count":0},{"startOffset":20612,"endOffset":20637,"count":0},{"startOffset":20638,"endOffset":20649,"count":0},{"startOffset":20650,"endOffset":20663,"count":0},{"startOffset":20665,"endOffset":20743,"count":0},{"startOffset":20820,"endOffset":20997,"count":0},{"startOffset":21030,"endOffset":21038,"count":2},{"startOffset":21040,"endOffset":21257,"count":0},{"startOffset":21292,"endOffset":21320,"count":9},{"startOffset":21321,"endOffset":21334,"count":9},{"startOffset":21335,"endOffset":21343,"count":9},{"startOffset":21345,"endOffset":21745,"count":0},{"startOffset":21780,"endOffset":21808,"count":9},{"startOffset":21809,"endOffset":21827,"count":9},{"startOffset":21829,"endOffset":22362,"count":9},{"startOffset":21877,"endOffset":21881,"count":0},{"startOffset":22362,"endOffset":22413,"count":2},{"startOffset":22415,"endOffset":22745,"count":2},{"startOffset":22745,"endOffset":23132,"count":0},{"startOffset":23132,"endOffset":23220,"count":20},{"startOffset":23220,"endOffset":23401,"count":0},{"startOffset":23401,"endOffset":23469,"count":20},{"startOffset":23470,"endOffset":23492,"count":0},{"startOffset":23494,"endOffset":23564,"count":0},{"startOffset":23564,"endOffset":23602,"count":20},{"startOffset":23602,"endOffset":23626,"count":18},{"startOffset":23627,"endOffset":23649,"count":0},{"startOffset":23651,"endOffset":24071,"count":20},{"startOffset":23684,"endOffset":23769,"count":0},{"startOffset":23798,"endOffset":23885,"count":0},{"startOffset":23989,"endOffset":24065,"count":9},{"startOffset":24071,"endOffset":24093,"count":20},{"startOffset":24093,"endOffset":24124,"count":10},{"startOffset":24124,"endOffset":24302,"count":0},{"startOffset":24302,"endOffset":24331,"count":10},{"startOffset":24331,"endOffset":24507,"count":0},{"startOffset":24507,"endOffset":24536,"count":10},{"startOffset":24536,"endOffset":24712,"count":0},{"startOffset":24712,"endOffset":24800,"count":10},{"startOffset":24773,"endOffset":24799,"count":1},{"startOffset":24802,"endOffset":24882,"count":9},{"startOffset":24882,"endOffset":24976,"count":10},{"startOffset":24976,"endOffset":25197,"count":0},{"startOffset":25197,"endOffset":25215,"count":10}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":1977,"endOffset":2081,"count":11},{"startOffset":2042,"endOffset":2054,"count":0}],"isBlockCoverage":true},{"functionName":"eos","ranges":[{"startOffset":2889,"endOffset":2918,"count":76}],"isBlockCoverage":true},{"functionName":"state.peek","ranges":[{"startOffset":2948,"endOffset":2981,"count":20}],"isBlockCoverage":true},{"functionName":"state.advance","ranges":[{"startOffset":3017,"endOffset":3049,"count":66},{"startOffset":3044,"endOffset":3049,"count":0}],"isBlockCoverage":true},{"functionName":"remaining","ranges":[{"startOffset":3071,"endOffset":3105,"count":41}],"isBlockCoverage":true},{"functionName":"consume","ranges":[{"startOffset":3125,"endOffset":3208,"count":75}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":3228,"endOffset":3339,"count":64},{"startOffset":3280,"endOffset":3294,"count":54},{"startOffset":3295,"endOffset":3308,"count":10}],"isBlockCoverage":true},{"functionName":"negate","ranges":[{"startOffset":3359,"endOffset":3635,"count":0}],"isBlockCoverage":false},{"functionName":"increment","ranges":[{"startOffset":3658,"endOffset":3712,"count":0}],"isBlockCoverage":false},{"functionName":"decrement","ranges":[{"startOffset":3735,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":4109,"endOffset":5036,"count":64},{"startOffset":4152,"endOffset":4644,"count":11},{"startOffset":4193,"endOffset":4242,"count":0},{"startOffset":4309,"endOffset":4357,"count":0},{"startOffset":4392,"endOffset":4415,"count":0},{"startOffset":4416,"endOffset":4427,"count":0},{"startOffset":4428,"endOffset":4441,"count":0},{"startOffset":4443,"endOffset":4638,"count":0},{"startOffset":4670,"endOffset":4693,"count":0},{"startOffset":4695,"endOffset":4758,"count":0},{"startOffset":4778,"endOffset":4791,"count":9},{"startOffset":4843,"endOffset":4865,"count":9},{"startOffset":4867,"endOffset":4972,"count":0}],"isBlockCoverage":true},{"functionName":"extglobOpen","ranges":[{"startOffset":5061,"endOffset":5492,"count":0}],"isBlockCoverage":false},{"functionName":"extglobClose","ranges":[{"startOffset":5518,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6999,"endOffset":7670,"count":6},{"startOffset":7066,"endOffset":7121,"count":0},{"startOffset":7148,"endOffset":7409,"count":0},{"startOffset":7436,"endOffset":7494,"count":5},{"startOffset":7494,"endOffset":7521,"count":1},{"startOffset":7521,"endOffset":7631,"count":0},{"startOffset":7631,"endOffset":7649,"count":1},{"startOffset":7649,"endOffset":7652,"count":0},{"startOffset":7653,"endOffset":7663,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7841,"endOffset":7921,"count":0}],"isBlockCoverage":false},{"functionName":"parse.fastpaths","ranges":[{"startOffset":25439,"endOffset":27736,"count":12},{"startOffset":25541,"endOffset":25579,"count":0},{"startOffset":25639,"endOffset":25735,"count":0},{"startOffset":26089,"endOffset":26098,"count":0},{"startOffset":26137,"endOffset":26152,"count":0},{"startOffset":26194,"endOffset":26198,"count":0},{"startOffset":26287,"endOffset":26294,"count":0},{"startOffset":26324,"endOffset":26353,"count":0},{"startOffset":27644,"endOffset":27674,"count":0},{"startOffset":27676,"endOffset":27716,"count":0}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":26374,"endOffset":26525,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":26545,"endOffset":27545,"count":16},{"startOffset":26579,"endOffset":26633,"count":0},{"startOffset":26641,"endOffset":26702,"count":0},{"startOffset":26710,"endOffset":26787,"count":0},{"startOffset":26795,"endOffset":26885,"count":0},{"startOffset":26893,"endOffset":26942,"count":0},{"startOffset":26950,"endOffset":27056,"count":0},{"startOffset":27064,"endOffset":27193,"count":0},{"startOffset":27201,"endOffset":27311,"count":0},{"startOffset":27400,"endOffset":27407,"count":12},{"startOffset":27407,"endOffset":27478,"count":4},{"startOffset":27478,"endOffset":27535,"count":0}],"isBlockCoverage":true}]},{"scriptId":"304","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":629,"count":1}],"isBlockCoverage":true},{"functionName":"merge","ranges":[{"startOffset":135,"endOffset":499,"count":0}],"isBlockCoverage":false},{"functionName":"propagateCloseEventToSources","ranges":[{"startOffset":523,"endOffset":628,"count":0}],"isBlockCoverage":false}]},{"scriptId":"305","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":298,"count":1}],"isBlockCoverage":true},{"functionName":"isString","ranges":[{"startOffset":122,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"isEmpty","ranges":[{"startOffset":218,"endOffset":270,"count":0}],"isBlockCoverage":false}]},{"scriptId":"306","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":814,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderAsync","ranges":[{"startOffset":217,"endOffset":327,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":332,"endOffset":587,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":592,"endOffset":778,"count":0}],"isBlockCoverage":false}]},{"scriptId":"307","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1213,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderAsync","ranges":[{"startOffset":246,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":407,"endOffset":750,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":755,"endOffset":1179,"count":0}],"isBlockCoverage":false}]},{"scriptId":"308","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"walk","ranges":[{"startOffset":378,"endOffset":710,"count":0}],"isBlockCoverage":false},{"functionName":"walkSync","ranges":[{"startOffset":732,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"walkStream","ranges":[{"startOffset":956,"endOffset":1154,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":1188,"endOffset":1389,"count":0}],"isBlockCoverage":false}]},{"scriptId":"309","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":895,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncProvider","ranges":[{"startOffset":148,"endOffset":349,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":354,"endOffset":707,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":743,"endOffset":813,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":814,"endOffset":894,"count":0}],"isBlockCoverage":false}]},{"scriptId":"310","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3157,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncReader","ranges":[{"startOffset":318,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":821,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"get isDestroyed","ranges":[{"startOffset":1050,"endOffset":1109,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":1114,"endOffset":1308,"count":0}],"isBlockCoverage":false},{"functionName":"onEntry","ranges":[{"startOffset":1313,"endOffset":1383,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":1388,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"onEnd","ranges":[{"startOffset":1465,"endOffset":1533,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":1538,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_worker","ranges":[{"startOffset":1778,"endOffset":2168,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":2173,"endOffset":2423,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":2428,"endOffset":3049,"count":0}],"isBlockCoverage":false},{"functionName":"_emitEntry","ranges":[{"startOffset":3054,"endOffset":3123,"count":0}],"isBlockCoverage":false}]},{"scriptId":"311","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1009,"count":1}],"isBlockCoverage":true},{"functionName":"scandir","ranges":[{"startOffset":311,"endOffset":603,"count":0}],"isBlockCoverage":false},{"functionName":"scandirSync","ranges":[{"startOffset":631,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":807,"endOffset":1008,"count":0}],"isBlockCoverage":false}]},{"scriptId":"312","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3686,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":346,"endOffset":598,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":620,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"makeRplTaskEntry","ranges":[{"startOffset":1625,"endOffset":2247,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":2248,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":3536,"endOffset":3606,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":3607,"endOffset":3685,"count":0}],"isBlockCoverage":false}]},{"scriptId":"313","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"stat","ranges":[{"startOffset":305,"endOffset":594,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":616,"endOffset":753,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":783,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"314","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":1000,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":1022,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":1093,"endOffset":1171,"count":0}],"isBlockCoverage":false}]},{"scriptId":"315","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":619,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"316","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":696,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":135,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":563,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"317","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":305,"endOffset":522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"318","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/run-parallel/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1034,"count":1}],"isBlockCoverage":true},{"functionName":"runParallel","ranges":[{"startOffset":167,"endOffset":1033,"count":0}],"isBlockCoverage":false}]},{"scriptId":"319","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/queue-microtask/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":402,"count":1},{"startOffset":210,"endOffset":218,"count":0},{"startOffset":283,"endOffset":401,"count":0}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":285,"endOffset":401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"320","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":990,"count":1},{"startOffset":295,"endOffset":424,"count":0},{"startOffset":794,"endOffset":837,"count":0},{"startOffset":956,"endOffset":988,"count":0}],"isBlockCoverage":true}]},{"scriptId":"321","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":143,"count":1}],"isBlockCoverage":true}]},{"scriptId":"322","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"323","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":419,"count":1}],"isBlockCoverage":true},{"functionName":"joinPathSegments","ranges":[{"startOffset":112,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"324","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1990,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":309,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":551,"endOffset":1357,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":1411,"endOffset":1962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"325","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1076,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":209,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":943,"endOffset":1045,"count":0}],"isBlockCoverage":false}]},{"scriptId":"326","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":640,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":363,"endOffset":580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"327","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fastq/queue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5617,"count":1}],"isBlockCoverage":true},{"functionName":"fastqueue","ranges":[{"startOffset":77,"endOffset":3391,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":3393,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"Task","ranges":[{"startOffset":3414,"endOffset":3917,"count":0}],"isBlockCoverage":false},{"functionName":"queueAsPromised","ranges":[{"startOffset":3919,"endOffset":5547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"328","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/reusify/reusify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"reusify","ranges":[{"startOffset":14,"endOffset":427,"count":0}],"isBlockCoverage":false}]},{"scriptId":"329","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1052,"count":1}],"isBlockCoverage":true},{"functionName":"isFatalError","ranges":[{"startOffset":199,"endOffset":350,"count":0}],"isBlockCoverage":false},{"functionName":"isAppliedFilter","ranges":[{"startOffset":388,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"replacePathSegmentSeparator","ranges":[{"startOffset":520,"endOffset":633,"count":0}],"isBlockCoverage":false},{"functionName":"joinPathSegments","ranges":[{"startOffset":701,"endOffset":1006,"count":0}],"isBlockCoverage":false}]},{"scriptId":"330","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":358,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":132,"endOffset":329,"count":0}],"isBlockCoverage":false}]},{"scriptId":"331","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1021,"count":1}],"isBlockCoverage":true},{"functionName":"StreamProvider","ranges":[{"startOffset":185,"endOffset":630,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":635,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"332","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":407,"count":1}],"isBlockCoverage":true},{"functionName":"SyncProvider","ranges":[{"startOffset":145,"endOffset":317,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":322,"endOffset":372,"count":0}],"isBlockCoverage":false}]},{"scriptId":"333","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1911,"count":1}],"isBlockCoverage":true},{"functionName":"SyncReader","ranges":[{"startOffset":249,"endOffset":407,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":412,"endOffset":549,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":554,"endOffset":637,"count":0}],"isBlockCoverage":false},{"functionName":"_handleQueue","ranges":[{"startOffset":642,"endOffset":787,"count":0}],"isBlockCoverage":false},{"functionName":"_handleDirectory","ranges":[{"startOffset":792,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":1127,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":1269,"endOffset":1809,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToStorage","ranges":[{"startOffset":1814,"endOffset":1878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"334","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1250,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":178,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":1117,"endOffset":1219,"count":0}],"isBlockCoverage":false}]},{"scriptId":"335","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1063,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":205,"endOffset":518,"count":0}],"isBlockCoverage":false},{"functionName":"_getFullEntryPath","ranges":[{"startOffset":523,"endOffset":617,"count":0}],"isBlockCoverage":false},{"functionName":"_makeEntry","ranges":[{"startOffset":622,"endOffset":913,"count":0}],"isBlockCoverage":false},{"functionName":"_isFatalError","ranges":[{"startOffset":918,"endOffset":1034,"count":0}],"isBlockCoverage":false}]},{"scriptId":"336","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1870,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderStream","ranges":[{"startOffset":289,"endOffset":419,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":424,"endOffset":502,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":513,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":1275,"endOffset":1579,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1584,"endOffset":1835,"count":0}],"isBlockCoverage":false}]},{"scriptId":"337","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/provider.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2000,"count":1}],"isBlockCoverage":true},{"functionName":"Provider","ranges":[{"startOffset":307,"endOffset":692,"count":0}],"isBlockCoverage":false},{"functionName":"_getRootDirectory","ranges":[{"startOffset":697,"endOffset":788,"count":0}],"isBlockCoverage":false},{"functionName":"_getReaderOptions","ranges":[{"startOffset":793,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"_getMicromatchOptions","ranges":[{"startOffset":1559,"endOffset":1969,"count":0}],"isBlockCoverage":false}]},{"scriptId":"338","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/deep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2466,"count":1}],"isBlockCoverage":true},{"functionName":"DeepFilter","ranges":[{"startOffset":188,"endOffset":328,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":333,"endOffset":576,"count":0}],"isBlockCoverage":false},{"functionName":"_getMatcher","ranges":[{"startOffset":581,"endOffset":699,"count":0}],"isBlockCoverage":false},{"functionName":"_getNegativePatternsRe","ranges":[{"startOffset":704,"endOffset":956,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":961,"endOffset":1444,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByDeep","ranges":[{"startOffset":1449,"endOffset":1754,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntryLevel","ranges":[{"startOffset":1759,"endOffset":2043,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedSymbolicLink","ranges":[{"startOffset":2048,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByPositivePatterns","ranges":[{"startOffset":2175,"endOffset":2306,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByNegativePatterns","ranges":[{"startOffset":2311,"endOffset":2433,"count":0}],"isBlockCoverage":false}]},{"scriptId":"339","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/partial.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1421,"count":1}],"isBlockCoverage":true},{"functionName":"match","ranges":[{"startOffset":170,"endOffset":1384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"340","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1568,"count":1}],"isBlockCoverage":true},{"functionName":"Matcher","ranges":[{"startOffset":135,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"_fillStorage","ranges":[{"startOffset":384,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"_getPatternSegments","ranges":[{"startOffset":778,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"_splitSegmentsIntoSections","ranges":[{"startOffset":1370,"endOffset":1538,"count":0}],"isBlockCoverage":false}]},{"scriptId":"341","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2686,"count":1}],"isBlockCoverage":true},{"functionName":"EntryFilter","ranges":[{"startOffset":139,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":316,"endOffset":667,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":672,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"_isDuplicateEntry","ranges":[{"startOffset":1473,"endOffset":1549,"count":0}],"isBlockCoverage":false},{"functionName":"_createIndexRecord","ranges":[{"startOffset":1554,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyFileFilter","ranges":[{"startOffset":1640,"endOffset":1737,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyDirectoryFilter","ranges":[{"startOffset":1742,"endOffset":1855,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByAbsoluteNegativePatterns","ranges":[{"startOffset":1860,"endOffset":2145,"count":0}],"isBlockCoverage":false},{"functionName":"_isMatchToPatterns","ranges":[{"startOffset":2150,"endOffset":2652,"count":0}],"isBlockCoverage":false}]},{"scriptId":"342","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"ErrorFilter","ranges":[{"startOffset":139,"endOffset":205,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":210,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"_isNonFatalError","ranges":[{"startOffset":290,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"343","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/transformers/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":845,"count":1}],"isBlockCoverage":true},{"functionName":"EntryTransformer","ranges":[{"startOffset":144,"endOffset":210,"count":0}],"isBlockCoverage":false},{"functionName":"getTransformer","ranges":[{"startOffset":215,"endOffset":289,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":294,"endOffset":806,"count":0}],"isBlockCoverage":false}]},{"scriptId":"344","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1198,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderStream","ranges":[{"startOffset":256,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":372,"endOffset":970,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":975,"endOffset":1161,"count":0}],"isBlockCoverage":false}]},{"scriptId":"345","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":779,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderSync","ranges":[{"startOffset":214,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":328,"endOffset":553,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":558,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"346","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1330,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderSync","ranges":[{"startOffset":251,"endOffset":385,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":390,"endOffset":466,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":477,"endOffset":878,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":883,"endOffset":1203,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1208,"endOffset":1297,"count":0}],"isBlockCoverage":false}]},{"scriptId":"347","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2849,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":645,"endOffset":2584,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":2589,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"_getFileSystemMethods","ranges":[{"startOffset":2680,"endOffset":2818,"count":0}],"isBlockCoverage":false}]},{"scriptId":"348","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/dir-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2304,"count":1}],"isBlockCoverage":true},{"functionName":"getExtensions","ranges":[{"startOffset":106,"endOffset":187,"count":0}],"isBlockCoverage":false},{"functionName":"getPath","ranges":[{"startOffset":206,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"addExtensions","ranges":[{"startOffset":376,"endOffset":506,"count":0}],"isBlockCoverage":false},{"functionName":"getGlob","ranges":[{"startOffset":525,"endOffset":1324,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1344,"endOffset":1852,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.sync","ranges":[{"startOffset":1877,"endOffset":2302,"count":0}],"isBlockCoverage":false}]},{"scriptId":"349","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-type/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":true},{"functionName":"isType","ranges":[{"startOffset":78,"endOffset":444,"count":0}],"isBlockCoverage":false},{"functionName":"isTypeSync","ranges":[{"startOffset":446,"endOffset":770,"count":0}],"isBlockCoverage":false}]},{"scriptId":"350","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16073,"count":1},{"startOffset":15630,"endOffset":16072,"count":0}],"isBlockCoverage":true},{"functionName":"makeArray","ranges":[{"startOffset":41,"endOffset":135,"count":0}],"isBlockCoverage":false},{"functionName":"define","ranges":[{"startOffset":813,"endOffset":882,"count":0}],"isBlockCoverage":false},{"functionName":"RETURN_FALSE","ranges":[{"startOffset":952,"endOffset":963,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeRange","ranges":[{"startOffset":1090,"endOffset":1362,"count":0}],"isBlockCoverage":false},{"functionName":"cleanRangeBackSlash","ranges":[{"startOffset":1412,"endOffset":1500,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2321,"endOffset":2383,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2438,"endOffset":2449,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3104,"endOffset":3125,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3213,"endOffset":3225,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3477,"endOffset":3486,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3577,"endOffset":3588,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4009,"endOffset":4028,"count":0}],"isBlockCoverage":false},{"functionName":"startingReplacer","ranges":[{"startOffset":4250,"endOffset":5144,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5442,"endOffset":5912,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":6273,"endOffset":6593,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6787,"endOffset":6799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6849,"endOffset":6861,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7539,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":8102,"endOffset":8250,"count":0}],"isBlockCoverage":false},{"functionName":"REPLACERS","ranges":[{"startOffset":8311,"endOffset":8645,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegex","ranges":[{"startOffset":8808,"endOffset":9130,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":9149,"endOffset":9187,"count":0}],"isBlockCoverage":false},{"functionName":"checkPattern","ranges":[{"startOffset":9294,"endOffset":9514,"count":0}],"isBlockCoverage":false},{"functionName":"splitPattern","ranges":[{"startOffset":9537,"endOffset":9582,"count":0}],"isBlockCoverage":false},{"functionName":"IgnoreRule","ranges":[{"startOffset":9605,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"createRule","ranges":[{"startOffset":9804,"endOffset":10534,"count":0}],"isBlockCoverage":false},{"functionName":"throwError","ranges":[{"startOffset":10555,"endOffset":10603,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath","ranges":[{"startOffset":10623,"endOffset":11159,"count":0}],"isBlockCoverage":false},{"functionName":"isNotRelative","ranges":[{"startOffset":11183,"endOffset":11225,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.convert","ranges":[{"startOffset":11287,"endOffset":11293,"count":0}],"isBlockCoverage":false},{"functionName":"Ignore","ranges":[{"startOffset":11312,"endOffset":11588,"count":0}],"isBlockCoverage":false},{"functionName":"_initCache","ranges":[{"startOffset":11592,"endOffset":11697,"count":0}],"isBlockCoverage":false},{"functionName":"_addPattern","ranges":[{"startOffset":11701,"endOffset":12031,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":12089,"endOffset":12416,"count":0}],"isBlockCoverage":false},{"functionName":"addPattern","ranges":[{"startOffset":12432,"endOffset":12487,"count":0}],"isBlockCoverage":false},{"functionName":"_testOne","ranges":[{"startOffset":13081,"endOffset":13588,"count":0}],"isBlockCoverage":false},{"functionName":"_test","ranges":[{"startOffset":13619,"endOffset":13965,"count":0}],"isBlockCoverage":false},{"functionName":"_t","ranges":[{"startOffset":13969,"endOffset":14755,"count":0}],"isBlockCoverage":false},{"functionName":"ignores","ranges":[{"startOffset":14759,"endOffset":14841,"count":0}],"isBlockCoverage":false},{"functionName":"createFilter","ranges":[{"startOffset":14845,"endOffset":14905,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":14909,"endOffset":14985,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":15016,"endOffset":15084,"count":0}],"isBlockCoverage":false},{"functionName":"factory","ranges":[{"startOffset":15104,"endOffset":15134,"count":0}],"isBlockCoverage":false},{"functionName":"isPathValid","ranges":[{"startOffset":15156,"endOffset":15228,"count":0}],"isBlockCoverage":false},{"functionName":"makePosix","ranges":[{"startOffset":15691,"endOffset":15798,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.isNotRelative","ranges":[{"startOffset":15990,"endOffset":16070,"count":0}],"isBlockCoverage":false}]},{"scriptId":"351","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/glob-helpers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4053,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":547,"endOffset":575,"count":9}],"isBlockCoverage":true},{"functionName":"processMatchingPatterns","ranges":[{"startOffset":724,"endOffset":1373,"count":0}],"isBlockCoverage":false},{"functionName":"matchesIgnorePatterns","ranges":[{"startOffset":1466,"endOffset":1608,"count":0}],"isBlockCoverage":false},{"functionName":"classify","ranges":[{"startOffset":1611,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"hasExtension","ranges":[{"startOffset":2008,"endOffset":2078,"count":0}],"isBlockCoverage":false},{"functionName":"isHelperish","ranges":[{"startOffset":2119,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"matches","ranges":[{"startOffset":2778,"endOffset":2887,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFileForMatching","ranges":[{"startOffset":2917,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePattern","ranges":[{"startOffset":3459,"endOffset":3856,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePatterns","ranges":[{"startOffset":3904,"endOffset":4004,"count":0}],"isBlockCoverage":false}]},{"scriptId":"352","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore-by-default/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":816,"count":1}],"isBlockCoverage":true},{"functionName":"exports.directories","ranges":[{"startOffset":36,"endOffset":815,"count":1}],"isBlockCoverage":true}]},{"scriptId":"353","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/slash.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":1199,"endOffset":1364,"count":0}],"isBlockCoverage":false}]},{"scriptId":"354","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/pkg.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":59,"count":1}],"isBlockCoverage":true}]},{"scriptId":"355","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/clean-yaml-object/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2176,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":129,"count":0}],"isBlockCoverage":false},{"functionName":"cleanYamlObj","ranges":[{"startOffset":132,"endOffset":1901,"count":0}],"isBlockCoverage":false},{"functionName":"setProp","ranges":[{"startOffset":1903,"endOffset":2131,"count":0}],"isBlockCoverage":false},{"functionName":"defaultFilter","ranges":[{"startOffset":2133,"endOffset":2175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"356","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":578,"count":1}],"isBlockCoverage":true}]},{"scriptId":"357","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3379,"count":1}],"isBlockCoverage":true},{"functionName":"shortcircuitPrimitive","ranges":[{"startOffset":408,"endOffset":728,"count":0}],"isBlockCoverage":false},{"functionName":"compareDescriptors","ranges":[{"startOffset":730,"endOffset":2814,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2864,"endOffset":3352,"count":0}],"isBlockCoverage":false}]},{"scriptId":"358","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Circular.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":785,"count":1}],"isBlockCoverage":true},{"functionName":"Circular","ranges":[{"startOffset":33,"endOffset":80,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":84,"endOffset":361,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":365,"endOffset":583,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":587,"endOffset":647,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":651,"endOffset":756,"count":0}],"isBlockCoverage":false}]},{"scriptId":"359","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":249,"count":1}],"isBlockCoverage":true}]},{"scriptId":"360","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/describe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5965,"count":1}],"isBlockCoverage":true},{"functionName":"describePrimitive","ranges":[{"startOffset":2448,"endOffset":2957,"count":0}],"isBlockCoverage":false},{"functionName":"unboxComplex","ranges":[{"startOffset":2959,"endOffset":3324,"count":0}],"isBlockCoverage":false},{"functionName":"registerPlugins","ranges":[{"startOffset":3326,"endOffset":3726,"count":0}],"isBlockCoverage":false},{"functionName":"describeComplex","ranges":[{"startOffset":3728,"endOffset":4699,"count":0}],"isBlockCoverage":false},{"functionName":"describeItem","ranges":[{"startOffset":4722,"endOffset":4923,"count":0}],"isBlockCoverage":false},{"functionName":"describeMapEntry","ranges":[{"startOffset":4950,"endOffset":5058,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":5060,"endOffset":5938,"count":0}],"isBlockCoverage":false}]},{"scriptId":"361","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Registry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"Registry","ranges":[{"startOffset":33,"endOffset":103,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":107,"endOffset":155,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":159,"endOffset":218,"count":0}],"isBlockCoverage":false},{"functionName":"alloc","ranges":[{"startOffset":222,"endOffset":374,"count":0}],"isBlockCoverage":false}]},{"scriptId":"362","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":409,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":652,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1160,"endOffset":1382,"count":0}],"isBlockCoverage":false}]},{"scriptId":"363","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7185,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":436,"endOffset":713,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":743,"endOffset":839,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectValue","ranges":[{"startOffset":950,"endOffset":1203,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1207,"endOffset":1399,"count":0}],"isBlockCoverage":false},{"functionName":"hasSameCtor","ranges":[{"startOffset":1403,"endOffset":1470,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1474,"endOffset":1561,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1565,"endOffset":1699,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":2001,"endOffset":6371,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2068,"endOffset":2433,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2439,"endOffset":2563,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2569,"endOffset":3030,"count":0}],"isBlockCoverage":false},{"functionName":"createListRecursor","ranges":[{"startOffset":3036,"endOffset":3472,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":3478,"endOffset":4494,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":4500,"endOffset":6365,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMixin","ranges":[{"startOffset":6413,"endOffset":7138,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6483,"endOffset":6780,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":6786,"endOffset":7055,"count":0}],"isBlockCoverage":false},{"functionName":"hasSameCtor","ranges":[{"startOffset":7061,"endOffset":7132,"count":0}],"isBlockCoverage":false}]},{"scriptId":"364","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/formatUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3260,"count":1}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":60,"endOffset":146,"count":0}],"isBlockCoverage":false},{"functionName":"formatCtorAndStringTag","ranges":[{"startOffset":168,"endOffset":537,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectFormatter","ranges":[{"startOffset":621,"endOffset":840,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":844,"endOffset":1189,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":1193,"endOffset":1873,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":1877,"endOffset":2161,"count":0}],"isBlockCoverage":false},{"functionName":"shouldFormat","ranges":[{"startOffset":2165,"endOffset":2202,"count":0}],"isBlockCoverage":false},{"functionName":"customize","ranges":[{"startOffset":2206,"endOffset":2502,"count":0}],"isBlockCoverage":false},{"functionName":"SingleValueFormatter","ranges":[{"startOffset":2579,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2790,"endOffset":2961,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":2965,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":3120,"endOffset":3205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"365","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/lineBuilder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7155,"count":1}],"isBlockCoverage":true},{"functionName":"translateGutter","ranges":[{"startOffset":123,"endOffset":485,"count":0}],"isBlockCoverage":false},{"functionName":"Line","ranges":[{"startOffset":502,"endOffset":670,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":674,"endOffset":717,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":721,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":762,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":820,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":884,"endOffset":934,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":938,"endOffset":1027,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":1031,"endOffset":1202,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":1206,"endOffset":1479,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":1483,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":1634,"endOffset":1783,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":1787,"endOffset":1871,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":1875,"endOffset":1960,"count":0}],"isBlockCoverage":false},{"functionName":"Collection","ranges":[{"startOffset":2050,"endOffset":2091,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2095,"endOffset":2217,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":2221,"endOffset":2277,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":2281,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":2399,"endOffset":2526,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2530,"endOffset":2632,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":2636,"endOffset":2725,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2729,"endOffset":3536,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":3540,"endOffset":4287,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":4291,"endOffset":4423,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":4427,"endOffset":4561,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":4565,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":4675,"endOffset":5381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":5462,"endOffset":5708,"count":0}],"isBlockCoverage":false},{"functionName":"buffer","ranges":[{"startOffset":5731,"endOffset":5774,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":5779,"endOffset":5856,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":5861,"endOffset":5937,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":5942,"endOffset":6019,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6024,"endOffset":6101,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6106,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6194,"endOffset":6277,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6284,"endOffset":6366,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6373,"endOffset":6456,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6463,"endOffset":6546,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6553,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6678,"endOffset":6763,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6770,"endOffset":6854,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6861,"endOffset":6946,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6953,"endOffset":7038,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":7045,"endOffset":7146,"count":0}],"isBlockCoverage":false}]},{"scriptId":"366","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getObjectKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":964,"count":1}],"isBlockCoverage":true},{"functionName":"getObjectKeys","ranges":[{"startOffset":14,"endOffset":932,"count":0}],"isBlockCoverage":false}]},{"scriptId":"367","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/hasLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":303,"count":1}],"isBlockCoverage":true},{"functionName":"hasLength","ranges":[{"startOffset":104,"endOffset":275,"count":0}],"isBlockCoverage":false}]},{"scriptId":"368","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":802,"count":1}],"isBlockCoverage":true},{"functionName":"isLength","ranges":[{"startOffset":645,"endOffset":773,"count":0}],"isBlockCoverage":false}]},{"scriptId":"369","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/stats.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3836,"count":1}],"isBlockCoverage":true},{"functionName":"describeIterableRecursor","ranges":[{"startOffset":228,"endOffset":318,"count":0}],"isBlockCoverage":false},{"functionName":"describeListRecursor","ranges":[{"startOffset":380,"endOffset":462,"count":0}],"isBlockCoverage":false},{"functionName":"describePropertyRecursor","ranges":[{"startOffset":516,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeIterableStats","ranges":[{"startOffset":668,"endOffset":745,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeListStats","ranges":[{"startOffset":807,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePropertyStats","ranges":[{"startOffset":930,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":1306,"endOffset":1351,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1355,"endOffset":1432,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1436,"endOffset":2989,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2993,"endOffset":3032,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3141,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3387,"endOffset":3513,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3625,"endOffset":3755,"count":0}],"isBlockCoverage":false}]},{"scriptId":"370","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/recursorUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2251,"count":1}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":51,"endOffset":74,"count":0}],"isBlockCoverage":false},{"functionName":"fork","ranges":[{"startOffset":117,"endOffset":396,"count":0}],"isBlockCoverage":false},{"functionName":"consumeDeep","ranges":[{"startOffset":418,"endOffset":732,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":768,"endOffset":910,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":930,"endOffset":1606,"count":0}],"isBlockCoverage":false},{"functionName":"sequence","ranges":[{"startOffset":1632,"endOffset":1850,"count":0}],"isBlockCoverage":false},{"functionName":"singleValue","ranges":[{"startOffset":1880,"endOffset":2012,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":2048,"endOffset":2224,"count":0}],"isBlockCoverage":false}]},{"scriptId":"371","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":970,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":313,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":343,"endOffset":444,"count":0}],"isBlockCoverage":false}]},{"scriptId":"372","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/typedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4439,"count":1}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":382,"endOffset":596,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":628,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":910,"endOffset":1010,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeBytes","ranges":[{"startOffset":1046,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"Bytes","ranges":[{"startOffset":1292,"endOffset":1343,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1347,"endOffset":1482,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1486,"endOffset":2297,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2301,"endOffset":2342,"count":0}],"isBlockCoverage":false},{"functionName":"TypedArrayValue","ranges":[{"startOffset":2466,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":2543,"endOffset":2931,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":3049,"endOffset":3869,"count":3}],"isBlockCoverage":true},{"functionName":"createListRecursor","ranges":[{"startOffset":3237,"endOffset":3307,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":3313,"endOffset":3749,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":3755,"endOffset":3863,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMixin","ranges":[{"startOffset":3977,"endOffset":4320,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4073,"endOffset":4314,"count":0}],"isBlockCoverage":false}]},{"scriptId":"373","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/boxed.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1292,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":264,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedBoxedValue","ranges":[{"startOffset":634,"endOffset":709,"count":0}],"isBlockCoverage":false},{"functionName":"createListRecursor","ranges":[{"startOffset":713,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":783,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1126,"endOffset":1220,"count":0}],"isBlockCoverage":false}]},{"scriptId":"374","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11430,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":306,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"basicEscape","ranges":[{"startOffset":707,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"escapeLinebreak","ranges":[{"startOffset":1015,"endOffset":1219,"count":0}],"isBlockCoverage":false},{"functionName":"themeControlPictures","ranges":[{"startOffset":1221,"endOffset":1442,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuotes","ranges":[{"startOffset":1537,"endOffset":1834,"count":0}],"isBlockCoverage":false},{"functionName":"includesLinebreaks","ranges":[{"startOffset":1836,"endOffset":1932,"count":0}],"isBlockCoverage":false},{"functionName":"diffLine","ranges":[{"startOffset":1934,"endOffset":3826,"count":0}],"isBlockCoverage":false},{"functionName":"gatherLines","ranges":[{"startOffset":3862,"endOffset":4170,"count":0}],"isBlockCoverage":false},{"functionName":"StringValue","ranges":[{"startOffset":4194,"endOffset":4242,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":4246,"endOffset":4370,"count":0}],"isBlockCoverage":false},{"functionName":"get includesLinebreaks","ranges":[{"startOffset":4374,"endOffset":4447,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4451,"endOffset":5422,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":5426,"endOffset":5800,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5804,"endOffset":11238,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":11242,"endOffset":11282,"count":0}],"isBlockCoverage":false}]},{"scriptId":"375","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1334,"endOffset":1486,"count":1}],"isBlockCoverage":true}]},{"scriptId":"376","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/ast.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4728,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":4687,"count":1}],"isBlockCoverage":true},{"functionName":"isExpression","ranges":[{"startOffset":1370,"endOffset":2121,"count":0}],"isBlockCoverage":false},{"functionName":"isIterationStatement","ranges":[{"startOffset":2127,"endOffset":2444,"count":0}],"isBlockCoverage":false},{"functionName":"isStatement","ranges":[{"startOffset":2450,"endOffset":3262,"count":0}],"isBlockCoverage":false},{"functionName":"isSourceElement","ranges":[{"startOffset":3268,"endOffset":3393,"count":0}],"isBlockCoverage":false},{"functionName":"trailingStatement","ranges":[{"startOffset":3399,"endOffset":3843,"count":0}],"isBlockCoverage":false},{"functionName":"isProblematicIfStatement","ranges":[{"startOffset":3849,"endOffset":4384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"377","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/code.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29610,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1391,"endOffset":29569,"count":1},{"startOffset":27989,"endOffset":28199,"count":128},{"startOffset":28045,"endOffset":28058,"count":31},{"startOffset":28059,"endOffset":28107,"count":102},{"startOffset":28094,"endOffset":28107,"count":37},{"startOffset":28108,"endOffset":28143,"count":76},{"startOffset":28144,"endOffset":28158,"count":75},{"startOffset":28273,"endOffset":28531,"count":128},{"startOffset":28328,"endOffset":28341,"count":31},{"startOffset":28342,"endOffset":28390,"count":102},{"startOffset":28377,"endOffset":28390,"count":37},{"startOffset":28391,"endOffset":28439,"count":76},{"startOffset":28426,"endOffset":28439,"count":28},{"startOffset":28440,"endOffset":28475,"count":66},{"startOffset":28476,"endOffset":28490,"count":65}],"isBlockCoverage":true},{"functionName":"isDecimalDigit","ranges":[{"startOffset":26641,"endOffset":26726,"count":0}],"isBlockCoverage":false},{"functionName":"isHexDigit","ranges":[{"startOffset":26732,"endOffset":26919,"count":0}],"isBlockCoverage":false},{"functionName":"isOctalDigit","ranges":[{"startOffset":26925,"endOffset":27008,"count":0}],"isBlockCoverage":false},{"functionName":"isWhiteSpace","ranges":[{"startOffset":27243,"endOffset":27434,"count":0}],"isBlockCoverage":false},{"functionName":"isLineTerminator","ranges":[{"startOffset":27469,"endOffset":27583,"count":0}],"isBlockCoverage":false},{"functionName":"fromCodePoint","ranges":[{"startOffset":27634,"endOffset":27914,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES5","ranges":[{"startOffset":28537,"endOffset":28686,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES5","ranges":[{"startOffset":28692,"endOffset":28838,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES6","ranges":[{"startOffset":28844,"endOffset":28993,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES6","ranges":[{"startOffset":28999,"endOffset":29145,"count":0}],"isBlockCoverage":false}]},{"scriptId":"378","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/keyword.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5616,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":5575,"count":1}],"isBlockCoverage":true},{"functionName":"isStrictModeReservedWordES6","ranges":[{"startOffset":1405,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES5","ranges":[{"startOffset":1752,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES6","ranges":[{"startOffset":1990,"endOffset":3218,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES5","ranges":[{"startOffset":3224,"endOffset":3363,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES6","ranges":[{"startOffset":3369,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"isRestrictedWord","ranges":[{"startOffset":3514,"endOffset":3603,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES5","ranges":[{"startOffset":3609,"endOffset":4045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeUtf16","ranges":[{"startOffset":4051,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES6","ranges":[{"startOffset":4167,"endOffset":4903,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES5","ranges":[{"startOffset":4909,"endOffset":5027,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES6","ranges":[{"startOffset":5033,"endOffset":5151,"count":0}],"isBlockCoverage":false}]},{"scriptId":"379","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-diff/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":38838,"count":1}],"isBlockCoverage":true},{"functionName":"diff_main","ranges":[{"startOffset":1622,"endOffset":2855,"count":0}],"isBlockCoverage":false},{"functionName":"diff_compute_","ranges":[{"startOffset":3117,"endOffset":4721,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisect_","ranges":[{"startOffset":5070,"endOffset":8602,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisectSplit_","ranges":[{"startOffset":8946,"endOffset":9292,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonPrefix","ranges":[{"startOffset":9516,"endOffset":10360,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonOverlap_","ranges":[{"startOffset":10654,"endOffset":11835,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonSuffix","ranges":[{"startOffset":12050,"endOffset":12955,"count":0}],"isBlockCoverage":false},{"functionName":"diff_halfMatch_","ranges":[{"startOffset":13397,"endOffset":16552,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemantic","ranges":[{"startOffset":16712,"endOffset":21136,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemanticLossless","ranges":[{"startOffset":21599,"endOffset":25878,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupMerge","ranges":[{"startOffset":26143,"endOffset":33884,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_start","ranges":[{"startOffset":33886,"endOffset":33983,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_end","ranges":[{"startOffset":33985,"endOffset":34080,"count":0}],"isBlockCoverage":false},{"functionName":"starts_with_pair_end","ranges":[{"startOffset":34082,"endOffset":34171,"count":0}],"isBlockCoverage":false},{"functionName":"ends_with_pair_start","ranges":[{"startOffset":34173,"endOffset":34277,"count":0}],"isBlockCoverage":false},{"functionName":"remove_empty_tuples","ranges":[{"startOffset":34279,"endOffset":34465,"count":0}],"isBlockCoverage":false},{"functionName":"make_edit_splice","ranges":[{"startOffset":34467,"endOffset":34771,"count":0}],"isBlockCoverage":false},{"functionName":"find_cursor_edit_diff","ranges":[{"startOffset":34773,"endOffset":38521,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":38523,"endOffset":38733,"count":0}],"isBlockCoverage":false}]},{"scriptId":"380","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/dataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":949,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":319,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":349,"endOffset":447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"381","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/date.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2613,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":304,"endOffset":471,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":501,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"formatDate","ranges":[{"startOffset":682,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"DateValue","ranges":[{"startOffset":993,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1072,"endOffset":1333,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1337,"endOffset":2118,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2122,"endOffset":2253,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedDateValue","ranges":[{"startOffset":2460,"endOffset":2610,"count":0}],"isBlockCoverage":false}]},{"scriptId":"382","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/date-time/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":831,"count":1}],"isBlockCoverage":true},{"functionName":"dateTime","ranges":[{"startOffset":71,"endOffset":718,"count":0}],"isBlockCoverage":false}]},{"scriptId":"383","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/time-zone/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":343,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"384","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3605,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":331,"endOffset":608,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":638,"endOffset":733,"count":0}],"isBlockCoverage":false},{"functionName":"ErrorValue","ranges":[{"startOffset":869,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":942,"endOffset":1082,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1086,"endOffset":2193,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2197,"endOffset":2257,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedErrorValue","ranges":[{"startOffset":2400,"endOffset":2583,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2587,"endOffset":3430,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedErrorValue","ranges":[{"startOffset":3512,"endOffset":3602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"385","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/isEnumerable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":171,"count":1}],"isBlockCoverage":true},{"functionName":"isEnumerable","ranges":[{"startOffset":14,"endOffset":140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"386","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3272,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":377,"endOffset":600,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":630,"endOffset":728,"count":0}],"isBlockCoverage":false},{"functionName":"FunctionValue","ranges":[{"startOffset":870,"endOffset":939,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":943,"endOffset":1706,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedFunctionValue","ranges":[{"startOffset":1858,"endOffset":1951,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1955,"endOffset":2203,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2207,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2749,"endOffset":2809,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedFunctionValue","ranges":[{"startOffset":2897,"endOffset":2987,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2991,"endOffset":3205,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3209,"endOffset":3269,"count":0}],"isBlockCoverage":false}]},{"scriptId":"387","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":822,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":275,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":412,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":512,"endOffset":676,"count":0}],"isBlockCoverage":false}]},{"scriptId":"388","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1845,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"MapValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1028,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1032,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1229,"endOffset":1674,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMapValue","ranges":[{"startOffset":1752,"endOffset":1842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"389","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1054,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":167,"endOffset":238,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":268,"endOffset":345,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":630,"endOffset":830,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":916,"endOffset":1051,"count":0}],"isBlockCoverage":false}]},{"scriptId":"390","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2733,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":219,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":432,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"getSortedFlags","ranges":[{"startOffset":617,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"RegexpValue","ranges":[{"startOffset":824,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":930,"endOffset":1107,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1111,"endOffset":2317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2321,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedRegexpValue","ranges":[{"startOffset":2612,"endOffset":2730,"count":0}],"isBlockCoverage":false}]},{"scriptId":"391","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1815,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"SetValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1030,"endOffset":1090,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1227,"endOffset":1644,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSetValue","ranges":[{"startOffset":1722,"endOffset":1812,"count":0}],"isBlockCoverage":false}]},{"scriptId":"392","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getCtor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1275,"count":1}],"isBlockCoverage":true},{"functionName":"getCtor","ranges":[{"startOffset":59,"endOffset":1249,"count":0}],"isBlockCoverage":false}]},{"scriptId":"393","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getStringTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":721,"count":1},{"startOffset":467,"endOffset":720,"count":0}],"isBlockCoverage":true},{"functionName":"getStringTag","ranges":[{"startOffset":51,"endOffset":121,"count":1}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":225,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"getStringTagWithPromiseWorkaround","ranges":[{"startOffset":519,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"394","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/item.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7816,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":228,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeComplex","ranges":[{"startOffset":354,"endOffset":469,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":519,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePrimitive","ranges":[{"startOffset":653,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexItem","ranges":[{"startOffset":1017,"endOffset":1095,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1099,"endOffset":1171,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1175,"endOffset":1330,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1334,"endOffset":1719,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1723,"endOffset":4317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":4321,"endOffset":4361,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveItem","ranges":[{"startOffset":4536,"endOffset":4614,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":4618,"endOffset":4775,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4779,"endOffset":5334,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":5338,"endOffset":6853,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":6857,"endOffset":7602,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7606,"endOffset":7660,"count":0}],"isBlockCoverage":false}]},{"scriptId":"395","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/mapEntry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7305,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":318,"endOffset":585,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":615,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithKey","ranges":[{"startOffset":974,"endOffset":1422,"count":0}],"isBlockCoverage":false},{"functionName":"MapEntry","ranges":[{"startOffset":1443,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1639,"endOffset":1916,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1920,"endOffset":2399,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":2403,"endOffset":3004,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3008,"endOffset":3349,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":3353,"endOffset":4200,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":4204,"endOffset":7086,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7090,"endOffset":7164,"count":0}],"isBlockCoverage":false}]},{"scriptId":"396","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/themeUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5251,"count":1}],"isBlockCoverage":true},{"functionName":"freezeTheme","ranges":[{"startOffset":151,"endOffset":490,"count":1},{"startOffset":233,"endOffset":472,"count":42},{"startOffset":338,"endOffset":468,"count":120},{"startOffset":397,"endOffset":425,"count":118},{"startOffset":427,"endOffset":462,"count":41}],"isBlockCoverage":true},{"functionName":"normalizePlugins","ranges":[{"startOffset":2413,"endOffset":3165,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":3205,"endOffset":4082,"count":0}],"isBlockCoverage":false},{"functionName":"addModifier","ranges":[{"startOffset":4146,"endOffset":4338,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiers","ranges":[{"startOffset":4446,"endOffset":5020,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiersToOriginal","ranges":[{"startOffset":5062,"endOffset":5190,"count":0}],"isBlockCoverage":false}]},{"scriptId":"397","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/cloneDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":679,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDeep","ranges":[{"startOffset":555,"endOffset":649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"398","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseClone.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5609,"count":1}],"isBlockCoverage":true},{"functionName":"baseClone","ranges":[{"startOffset":3399,"endOffset":5579,"count":0}],"isBlockCoverage":false}]},{"scriptId":"399","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Stack.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":734,"count":1}],"isBlockCoverage":true},{"functionName":"Stack","ranges":[{"startOffset":402,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"400","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_ListCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"ListCache","ranges":[{"startOffset":376,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"401","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":218,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheClear","ranges":[{"startOffset":115,"endOffset":183,"count":0}],"isBlockCoverage":false}]},{"scriptId":"402","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":775,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheDelete","ranges":[{"startOffset":440,"endOffset":739,"count":0}],"isBlockCoverage":false}]},{"scriptId":"403","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assocIndexOf.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":487,"count":1}],"isBlockCoverage":true},{"functionName":"assocIndexOf","ranges":[{"startOffset":286,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"404","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":799,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":681,"endOffset":776,"count":0}],"isBlockCoverage":false}]},{"scriptId":"405","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":420,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheGet","ranges":[{"startOffset":240,"endOffset":387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"406","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheHas","ranges":[{"startOffset":292,"endOffset":370,"count":0}],"isBlockCoverage":false}]},{"scriptId":"407","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":553,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheSet","ranges":[{"startOffset":292,"endOffset":520,"count":0}],"isBlockCoverage":false}]},{"scriptId":"408","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":254,"count":1}],"isBlockCoverage":true},{"functionName":"stackClear","ranges":[{"startOffset":148,"endOffset":223,"count":0}],"isBlockCoverage":false}]},{"scriptId":"409","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":405,"count":1}],"isBlockCoverage":true},{"functionName":"stackDelete","ranges":[{"startOffset":237,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"410","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":271,"count":1}],"isBlockCoverage":true},{"functionName":"stackGet","ranges":[{"startOffset":183,"endOffset":242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"411","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":323,"count":1}],"isBlockCoverage":true},{"functionName":"stackHas","ranges":[{"startOffset":235,"endOffset":294,"count":0}],"isBlockCoverage":false}]},{"scriptId":"412","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":853,"count":1}],"isBlockCoverage":true},{"functionName":"stackSet","ranges":[{"startOffset":436,"endOffset":824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"413","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"414","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"getNative","ranges":[{"startOffset":331,"endOffset":453,"count":7},{"startOffset":439,"endOffset":450,"count":0}],"isBlockCoverage":true}]},{"scriptId":"415","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1417,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsNative","ranges":[{"startOffset":1182,"endOffset":1384,"count":7},{"startOffset":1256,"endOffset":1279,"count":0},{"startOffset":1327,"endOffset":1341,"count":0}],"isBlockCoverage":true}]},{"scriptId":"416","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isFunction.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":993,"count":1}],"isBlockCoverage":true},{"functionName":"isFunction","ranges":[{"startOffset":617,"endOffset":962,"count":7},{"startOffset":670,"endOffset":693,"count":0},{"startOffset":905,"endOffset":921,"count":0},{"startOffset":922,"endOffset":940,"count":0},{"startOffset":941,"endOffset":959,"count":0}],"isBlockCoverage":true}]},{"scriptId":"417","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":792,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true},{"functionName":"baseGetTag","ranges":[{"startOffset":534,"endOffset":761,"count":13},{"startOffset":584,"endOffset":646,"count":0},{"startOffset":712,"endOffset":730,"count":5},{"startOffset":735,"endOffset":758,"count":8}],"isBlockCoverage":true}]},{"scriptId":"418","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true}]},{"scriptId":"419","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_root.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":300,"count":1},{"startOffset":119,"endOffset":126,"count":0},{"startOffset":127,"endOffset":152,"count":0},{"startOffset":153,"endOffset":160,"count":0},{"startOffset":234,"endOffset":245,"count":0},{"startOffset":246,"endOffset":274,"count":0}],"isBlockCoverage":true}]},{"scriptId":"420","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_freeGlobal.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":173,"count":1}],"isBlockCoverage":true}]},{"scriptId":"421","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getRawTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1139,"count":1},{"startOffset":488,"endOffset":499,"count":0}],"isBlockCoverage":true},{"functionName":"getRawTag","ranges":[{"startOffset":701,"endOffset":1109,"count":5},{"startOffset":899,"endOffset":911,"count":0},{"startOffset":995,"endOffset":1037,"count":0}],"isBlockCoverage":true}]},{"scriptId":"422","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_objectToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":565,"count":1}],"isBlockCoverage":true},{"functionName":"objectToString","ranges":[{"startOffset":453,"endOffset":530,"count":8}],"isBlockCoverage":true}]},{"scriptId":"423","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":733,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":581,"endOffset":704,"count":14}],"isBlockCoverage":true}]},{"scriptId":"424","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isMasked.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":564,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":116,"endOffset":268,"count":1},{"startOffset":166,"endOffset":184,"count":0},{"startOffset":185,"endOffset":212,"count":0},{"startOffset":234,"endOffset":260,"count":0}],"isBlockCoverage":true},{"functionName":"isMasked","ranges":[{"startOffset":461,"endOffset":535,"count":7},{"startOffset":509,"endOffset":532,"count":0}],"isBlockCoverage":true}]},{"scriptId":"425","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_coreJsData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":157,"count":1}],"isBlockCoverage":true}]},{"scriptId":"426","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_toSource.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":556,"count":1}],"isBlockCoverage":true},{"functionName":"toSource","ranges":[{"startOffset":339,"endOffset":527,"count":12},{"startOffset":441,"endOffset":508,"count":0},{"startOffset":512,"endOffset":526,"count":0}],"isBlockCoverage":true}]},{"scriptId":"427","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":325,"count":1}],"isBlockCoverage":true},{"functionName":"getValue","ranges":[{"startOffset":211,"endOffset":296,"count":7},{"startOffset":268,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"428","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_MapCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"MapCache","ranges":[{"startOffset":389,"endOffset":606,"count":0}],"isBlockCoverage":false}]},{"scriptId":"429","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":393,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheClear","ranges":[{"startOffset":209,"endOffset":359,"count":0}],"isBlockCoverage":false}]},{"scriptId":"430","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Hash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"Hash","ranges":[{"startOffset":319,"endOffset":532,"count":0}],"isBlockCoverage":false}]},{"scriptId":"431","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":281,"count":1}],"isBlockCoverage":true},{"functionName":"hashClear","ranges":[{"startOffset":152,"endOffset":251,"count":0}],"isBlockCoverage":false}]},{"scriptId":"432","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":187,"count":1}],"isBlockCoverage":true}]},{"scriptId":"433","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":445,"count":1}],"isBlockCoverage":true},{"functionName":"hashDelete","ranges":[{"startOffset":279,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"434","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"hashGet","ranges":[{"startOffset":513,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"435","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":626,"count":1}],"isBlockCoverage":true},{"functionName":"hashHas","ranges":[{"startOffset":461,"endOffset":598,"count":0}],"isBlockCoverage":false}]},{"scriptId":"436","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"hashSet","ranges":[{"startOffset":379,"endOffset":570,"count":0}],"isBlockCoverage":false}]},{"scriptId":"437","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheDelete","ranges":[{"startOffset":282,"endOffset":415,"count":0}],"isBlockCoverage":false}]},{"scriptId":"438","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getMapData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":400,"count":1}],"isBlockCoverage":true},{"functionName":"getMapData","ranges":[{"startOffset":214,"endOffset":369,"count":0}],"isBlockCoverage":false}]},{"scriptId":"439","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isKeyable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":430,"count":1}],"isBlockCoverage":true},{"functionName":"isKeyable","ranges":[{"startOffset":201,"endOffset":400,"count":0}],"isBlockCoverage":false}]},{"scriptId":"440","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":330,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheGet","ranges":[{"startOffset":228,"endOffset":298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"441","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheHas","ranges":[{"startOffset":280,"endOffset":350,"count":0}],"isBlockCoverage":false}]},{"scriptId":"442","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":489,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheSet","ranges":[{"startOffset":279,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"443","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayEach.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":537,"count":1}],"isBlockCoverage":true},{"functionName":"arrayEach","ranges":[{"startOffset":274,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"444","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":899,"count":1}],"isBlockCoverage":true},{"functionName":"assignValue","ranges":[{"startOffset":629,"endOffset":867,"count":0}],"isBlockCoverage":false}]},{"scriptId":"445","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":625,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignValue","ranges":[{"startOffset":314,"endOffset":589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"446","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_defineProperty.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":64,"endOffset":194,"count":1},{"startOffset":180,"endOffset":192,"count":0}],"isBlockCoverage":true}]},{"scriptId":"447","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssign.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssign","ranges":[{"startOffset":339,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"448","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1044,"count":1}],"isBlockCoverage":true},{"functionName":"copyObject","ranges":[{"startOffset":467,"endOffset":1013,"count":0}],"isBlockCoverage":false}]},{"scriptId":"449","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":884,"count":1}],"isBlockCoverage":true},{"functionName":"keys","ranges":[{"startOffset":761,"endOffset":859,"count":0}],"isBlockCoverage":false}]},{"scriptId":"450","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayLikeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1778,"count":1}],"isBlockCoverage":true},{"functionName":"arrayLikeKeys","ranges":[{"startOffset":697,"endOffset":1744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"451","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseTimes.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":504,"count":1}],"isBlockCoverage":true},{"functionName":"baseTimes","ranges":[{"startOffset":313,"endOffset":474,"count":0}],"isBlockCoverage":false}]},{"scriptId":"452","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1026,"count":1},{"startOffset":851,"endOffset":993,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":797,"endOffset":829,"count":1}],"isBlockCoverage":true},{"functionName":"isArguments","ranges":[{"startOffset":853,"endOffset":993,"count":0}],"isBlockCoverage":false}]},{"scriptId":"453","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsArguments","ranges":[{"startOffset":355,"endOffset":452,"count":1}],"isBlockCoverage":true}]},{"scriptId":"454","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObjectLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"isObjectLike","ranges":[{"startOffset":497,"endOffset":581,"count":1}],"isBlockCoverage":true}]},{"scriptId":"455","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true}]},{"scriptId":"456","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1114,"count":1},{"startOffset":548,"endOffset":559,"count":0},{"startOffset":697,"endOffset":708,"count":0},{"startOffset":1072,"endOffset":1084,"count":0}],"isBlockCoverage":true}]},{"scriptId":"457","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubFalse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":280,"count":1}],"isBlockCoverage":true},{"functionName":"stubFalse","ranges":[{"startOffset":210,"endOffset":250,"count":0}],"isBlockCoverage":false}]},{"scriptId":"458","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIndex.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":759,"count":1}],"isBlockCoverage":true},{"functionName":"isIndex","ranges":[{"startOffset":456,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"459","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":695,"count":1},{"startOffset":643,"endOffset":661,"count":0}],"isBlockCoverage":true}]},{"scriptId":"460","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2222,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsTypedArray","ranges":[{"startOffset":2050,"endOffset":2185,"count":0}],"isBlockCoverage":false}]},{"scriptId":"461","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseUnary.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":332,"count":1}],"isBlockCoverage":true},{"functionName":"baseUnary","ranges":[{"startOffset":218,"endOffset":302,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":254,"endOffset":299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"462","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nodeUtil.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":995,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":615,"endOffset":962,"count":1},{"startOffset":806,"endOffset":911,"count":0},{"startOffset":912,"endOffset":942,"count":0},{"startOffset":948,"endOffset":960,"count":0}],"isBlockCoverage":true}]},{"scriptId":"463","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":776,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeys","ranges":[{"startOffset":479,"endOffset":747,"count":0}],"isBlockCoverage":false}]},{"scriptId":"464","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":480,"count":1}],"isBlockCoverage":true},{"functionName":"isPrototype","ranges":[{"startOffset":273,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"465","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":204,"count":1}],"isBlockCoverage":true}]},{"scriptId":"466","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overArg.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"overArg","ranges":[{"startOffset":254,"endOffset":354,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":299,"endOffset":351,"count":0}],"isBlockCoverage":false}]},{"scriptId":"467","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":830,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLike","ranges":[{"startOffset":695,"endOffset":798,"count":0}],"isBlockCoverage":false}]},{"scriptId":"468","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":482,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignIn","ranges":[{"startOffset":345,"endOffset":449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"469","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":778,"count":1}],"isBlockCoverage":true},{"functionName":"keysIn","ranges":[{"startOffset":643,"endOffset":751,"count":0}],"isBlockCoverage":false}]},{"scriptId":"470","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":870,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeysIn","ranges":[{"startOffset":523,"endOffset":839,"count":0}],"isBlockCoverage":false}]},{"scriptId":"471","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":490,"count":1}],"isBlockCoverage":true},{"functionName":"nativeKeysIn","ranges":[{"startOffset":292,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"472","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1056,"count":1},{"startOffset":508,"endOffset":519,"count":0},{"startOffset":567,"endOffset":578,"count":0}],"isBlockCoverage":true},{"functionName":"cloneBuffer","ranges":[{"startOffset":783,"endOffset":1024,"count":0}],"isBlockCoverage":false}]},{"scriptId":"473","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"copyArray","ranges":[{"startOffset":219,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"474","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":446,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbols","ranges":[{"startOffset":317,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"475","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":886,"count":1},{"startOffset":624,"endOffset":635,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbols","ranges":[{"startOffset":638,"endOffset":854,"count":0}],"isBlockCoverage":false}]},{"scriptId":"476","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayFilter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":632,"count":1}],"isBlockCoverage":true},{"functionName":"arrayFilter","ranges":[{"startOffset":289,"endOffset":600,"count":0}],"isBlockCoverage":false}]},{"scriptId":"477","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":390,"count":1}],"isBlockCoverage":true},{"functionName":"stubArray","ranges":[{"startOffset":323,"endOffset":360,"count":0}],"isBlockCoverage":false}]},{"scriptId":"478","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbolsIn","ranges":[{"startOffset":335,"endOffset":436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"479","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":754,"count":1},{"startOffset":549,"endOffset":560,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbolsIn","ranges":[{"startOffset":563,"endOffset":720,"count":0}],"isBlockCoverage":false}]},{"scriptId":"480","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayPush.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":437,"count":1}],"isBlockCoverage":true},{"functionName":"arrayPush","ranges":[{"startOffset":200,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"481","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":163,"count":1}],"isBlockCoverage":true}]},{"scriptId":"482","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":455,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeys","ranges":[{"startOffset":342,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"483","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":739,"count":1}],"isBlockCoverage":true},{"functionName":"baseGetAllKeys","ranges":[{"startOffset":537,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"484","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeysIn","ranges":[{"startOffset":367,"endOffset":455,"count":0}],"isBlockCoverage":false}]},{"scriptId":"485","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1838,"count":1},{"startOffset":1296,"endOffset":1811,"count":0}],"isBlockCoverage":true},{"functionName":"getTag","ranges":[{"startOffset":1309,"endOffset":1808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"486","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_DataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true}]},{"scriptId":"487","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"488","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"489","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_WeakMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"490","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":692,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneArray","ranges":[{"startOffset":329,"endOffset":657,"count":0}],"isBlockCoverage":false}]},{"scriptId":"491","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneByTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2261,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneByTag","ranges":[{"startOffset":1454,"endOffset":2226,"count":0}],"isBlockCoverage":false}]},{"scriptId":"492","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneArrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":449,"count":1}],"isBlockCoverage":true},{"functionName":"cloneArrayBuffer","ranges":[{"startOffset":226,"endOffset":412,"count":0}],"isBlockCoverage":false}]},{"scriptId":"493","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Uint8Array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":130,"count":1}],"isBlockCoverage":true}]},{"scriptId":"494","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneDataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":507,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDataView","ranges":[{"startOffset":267,"endOffset":473,"count":0}],"isBlockCoverage":false}]},{"scriptId":"495","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneRegExp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":439,"count":1}],"isBlockCoverage":true},{"functionName":"cloneRegExp","ranges":[{"startOffset":243,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"496","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneSymbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":524,"count":1},{"startOffset":138,"endOffset":149,"count":0},{"startOffset":205,"endOffset":216,"count":0}],"isBlockCoverage":true},{"functionName":"cloneSymbol","ranges":[{"startOffset":394,"endOffset":492,"count":0}],"isBlockCoverage":false}]},{"scriptId":"497","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":527,"count":1}],"isBlockCoverage":true},{"functionName":"cloneTypedArray","ranges":[{"startOffset":275,"endOffset":491,"count":0}],"isBlockCoverage":false}]},{"scriptId":"498","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":486,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneObject","ranges":[{"startOffset":290,"endOffset":450,"count":0}],"isBlockCoverage":false}]},{"scriptId":"499","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":686,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":355,"endOffset":651,"count":1}],"isBlockCoverage":true},{"functionName":"object","ranges":[{"startOffset":370,"endOffset":390,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":400,"endOffset":648,"count":0}],"isBlockCoverage":false}]},{"scriptId":"500","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"501","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsMap","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"502","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"503","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsSet","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"504","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/merge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1220,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1115,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"505","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMerge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1328,"count":1}],"isBlockCoverage":true},{"functionName":"baseMerge","ranges":[{"startOffset":699,"endOffset":1298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"506","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignMergeValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"assignMergeValue","ranges":[{"startOffset":342,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"507","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"508","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createBaseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":648,"count":1}],"isBlockCoverage":true},{"functionName":"createBaseFor","ranges":[{"startOffset":217,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":262,"endOffset":611,"count":0}],"isBlockCoverage":false}]},{"scriptId":"509","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMergeDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3069,"count":1}],"isBlockCoverage":true},{"functionName":"baseMergeDeep","ranges":[{"startOffset":1316,"endOffset":3035,"count":0}],"isBlockCoverage":false}]},{"scriptId":"510","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLikeObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":742,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLikeObject","ranges":[{"startOffset":615,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"511","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1650,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":1229,"endOffset":1616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"512","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_safeGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":456,"count":1}],"isBlockCoverage":true},{"functionName":"safeGet","ranges":[{"startOffset":243,"endOffset":428,"count":0}],"isBlockCoverage":false}]},{"scriptId":"513","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/toPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":744,"count":1}],"isBlockCoverage":true},{"functionName":"toPlainObject","ranges":[{"startOffset":634,"endOffset":710,"count":0}],"isBlockCoverage":false}]},{"scriptId":"514","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createAssigner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1042,"count":1}],"isBlockCoverage":true},{"functionName":"createAssigner","ranges":[{"startOffset":272,"endOffset":1007,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":326,"endOffset":1003,"count":0}],"isBlockCoverage":false}]},{"scriptId":"515","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":559,"count":1}],"isBlockCoverage":true},{"functionName":"baseRest","ranges":[{"startOffset":430,"endOffset":530,"count":1}],"isBlockCoverage":true}]},{"scriptId":"516","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/identity.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"identity","ranges":[{"startOffset":297,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"517","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1096,"count":1}],"isBlockCoverage":true},{"functionName":"overRest","ranges":[{"startOffset":503,"endOffset":1067,"count":1},{"startOffset":607,"endOffset":614,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":629,"endOffset":1064,"count":0}],"isBlockCoverage":false}]},{"scriptId":"518","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_apply.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":714,"count":1}],"isBlockCoverage":true},{"functionName":"apply","ranges":[{"startOffset":374,"endOffset":688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"519","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_setToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":392,"count":1}],"isBlockCoverage":true}]},{"scriptId":"520","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseSetToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":641,"count":1},{"startOffset":412,"endOffset":422,"count":0}],"isBlockCoverage":true},{"functionName":"baseSetToString","ranges":[{"startOffset":425,"endOffset":604,"count":1}],"isBlockCoverage":true}]},{"scriptId":"521","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/constant.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":528,"count":1}],"isBlockCoverage":true},{"functionName":"constant","ranges":[{"startOffset":426,"endOffset":499,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":462,"endOffset":496,"count":0}],"isBlockCoverage":false}]},{"scriptId":"522","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_shortOut.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":941,"count":1}],"isBlockCoverage":true},{"functionName":"shortOut","ranges":[{"startOffset":534,"endOffset":912,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":609,"endOffset":909,"count":1},{"startOffset":752,"endOffset":830,"count":0}],"isBlockCoverage":true}]},{"scriptId":"523","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIterateeCall.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":877,"count":1}],"isBlockCoverage":true},{"functionName":"isIterateeCall","ranges":[{"startOffset":514,"endOffset":842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"524","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/pluginRegistry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6139,"count":1}],"isBlockCoverage":true},{"functionName":"PluginError","ranges":[{"startOffset":707,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"PluginTypeError","ranges":[{"startOffset":864,"endOffset":977,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedApiError","ranges":[{"startOffset":1031,"endOffset":1159,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedError","ranges":[{"startOffset":1210,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorTagError","ranges":[{"startOffset":1406,"endOffset":1596,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorIdError","ranges":[{"startOffset":1657,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":1949,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"modifyTheme","ranges":[{"startOffset":3525,"endOffset":3639,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":3641,"endOffset":5084,"count":0}],"isBlockCoverage":false},{"functionName":"getDeserializers","ranges":[{"startOffset":5104,"endOffset":5368,"count":0}],"isBlockCoverage":false},{"functionName":"getThemes","ranges":[{"startOffset":5414,"endOffset":5598,"count":0}],"isBlockCoverage":false},{"functionName":"getTryDescribeValues","ranges":[{"startOffset":5630,"endOffset":5734,"count":0}],"isBlockCoverage":false},{"functionName":"resolveDescriptorRef","ranges":[{"startOffset":5788,"endOffset":6086,"count":0}],"isBlockCoverage":false}]},{"scriptId":"525","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2616,"count":1}],"isBlockCoverage":true}]},{"scriptId":"526","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/re.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7690,"count":1}],"isBlockCoverage":true},{"functionName":"makeSafeRegex","ranges":[{"startOffset":950,"endOffset":1161,"count":40},{"startOffset":1015,"endOffset":1144,"count":120}],"isBlockCoverage":true},{"functionName":"createToken","ranges":[{"startOffset":1183,"endOffset":1459,"count":40},{"startOffset":1376,"endOffset":1381,"count":4},{"startOffset":1382,"endOffset":1393,"count":36},{"startOffset":1439,"endOffset":1444,"count":4},{"startOffset":1445,"endOffset":1456,"count":36}],"isBlockCoverage":true}]},{"scriptId":"527","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":859,"count":1},{"startOffset":233,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"528","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/debug.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":226,"count":1},{"startOffset":91,"endOffset":138,"count":0},{"startOffset":141,"endOffset":188,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":143,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"debug","ranges":[{"startOffset":193,"endOffset":201,"count":46}],"isBlockCoverage":true}]},{"scriptId":"529","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/semver.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8756,"count":1}],"isBlockCoverage":true},{"functionName":"SemVer","ranges":[{"startOffset":311,"endOffset":2238,"count":2},{"startOffset":416,"endOffset":621,"count":0},{"startOffset":660,"endOffset":761,"count":0},{"startOffset":800,"endOffset":900,"count":0},{"startOffset":1239,"endOffset":1252,"count":0},{"startOffset":1280,"endOffset":1344,"count":0},{"startOffset":1531,"endOffset":1589,"count":0},{"startOffset":1648,"endOffset":1706,"count":0},{"startOffset":1765,"endOffset":1823,"count":0},{"startOffset":1884,"endOffset":2170,"count":1},{"startOffset":2194,"endOffset":2211,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1970,"endOffset":2163,"count":1},{"startOffset":2137,"endOffset":2162,"count":0}],"isBlockCoverage":true},{"functionName":"format","ranges":[{"startOffset":2242,"endOffset":2438,"count":2},{"startOffset":2349,"endOffset":2410,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":2442,"endOffset":2483,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2487,"endOffset":2877,"count":0}],"isBlockCoverage":false},{"functionName":"compareMain","ranges":[{"startOffset":2881,"endOffset":3172,"count":0}],"isBlockCoverage":false},{"functionName":"comparePre","ranges":[{"startOffset":3176,"endOffset":4027,"count":0}],"isBlockCoverage":false},{"functionName":"compareBuild","ranges":[{"startOffset":4031,"endOffset":4573,"count":0}],"isBlockCoverage":false},{"functionName":"inc","ranges":[{"startOffset":4726,"endOffset":8728,"count":0}],"isBlockCoverage":false}]},{"scriptId":"530","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/parse-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":324,"count":1}],"isBlockCoverage":true},{"functionName":"parseOptions","ranges":[{"startOffset":153,"endOffset":293,"count":4},{"startOffset":208,"endOffset":292,"count":0}],"isBlockCoverage":true}]},{"scriptId":"531","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/identifiers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":410,"count":1}],"isBlockCoverage":true},{"functionName":"compareIdentifiers","ranges":[{"startOffset":54,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"rcompareIdentifiers","ranges":[{"startOffset":308,"endOffset":342,"count":0}],"isBlockCoverage":false}]},{"scriptId":"532","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":317,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":58,"endOffset":292,"count":0}],"isBlockCoverage":false}]},{"scriptId":"533","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":162,"count":1}],"isBlockCoverage":true},{"functionName":"valid","ranges":[{"startOffset":47,"endOffset":138,"count":0}],"isBlockCoverage":false}]},{"scriptId":"534","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/clean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":191,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":47,"endOffset":167,"count":0}],"isBlockCoverage":false}]},{"scriptId":"535","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/inc.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"inc","ranges":[{"startOffset":57,"endOffset":442,"count":0}],"isBlockCoverage":false}]},{"scriptId":"536","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1612,"count":1}],"isBlockCoverage":true},{"functionName":"diff","ranges":[{"startOffset":50,"endOffset":1588,"count":0}],"isBlockCoverage":false}]},{"scriptId":"537","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/major.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"major","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"538","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/minor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"minor","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"539","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/patch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"patch","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"540","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/prerelease.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":220,"count":1}],"isBlockCoverage":true},{"functionName":"prerelease","ranges":[{"startOffset":52,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"541","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":156,"count":1}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":60,"endOffset":129,"count":0}],"isBlockCoverage":false}]},{"scriptId":"542","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rcompare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"rcompare","ranges":[{"startOffset":54,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"543","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-loose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"compareLoose","ranges":[{"startOffset":58,"endOffset":87,"count":0}],"isBlockCoverage":false}]},{"scriptId":"544","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-build.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":267,"count":1}],"isBlockCoverage":true},{"functionName":"compareBuild","ranges":[{"startOffset":65,"endOffset":236,"count":0}],"isBlockCoverage":false}]},{"scriptId":"545","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/sort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":147,"count":1}],"isBlockCoverage":true},{"functionName":"sort","ranges":[{"startOffset":61,"endOffset":124,"count":0}],"isBlockCoverage":false}]},{"scriptId":"546","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rsort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":149,"count":1}],"isBlockCoverage":true},{"functionName":"rsort","ranges":[{"startOffset":62,"endOffset":125,"count":0}],"isBlockCoverage":false}]},{"scriptId":"547","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"gt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"548","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"lt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"549","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":112,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":48,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"550","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/neq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":114,"count":1}],"isBlockCoverage":true},{"functionName":"neq","ranges":[{"startOffset":49,"endOffset":92,"count":0}],"isBlockCoverage":false}]},{"scriptId":"551","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"gte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"552","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"lte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"553","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/cmp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":947,"count":1}],"isBlockCoverage":true},{"functionName":"cmp","ranges":[{"startOffset":181,"endOffset":925,"count":0}],"isBlockCoverage":false}]},{"scriptId":"554","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/coerce.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1513,"count":1}],"isBlockCoverage":true},{"functionName":"coerce","ranges":[{"startOffset":145,"endOffset":1488,"count":0}],"isBlockCoverage":false}]},{"scriptId":"555","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/comparator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3617,"count":1}],"isBlockCoverage":true},{"functionName":"get ANY","ranges":[{"startOffset":100,"endOffset":131,"count":2}],"isBlockCoverage":true},{"functionName":"Comparator","ranges":[{"startOffset":135,"endOffset":682,"count":2},{"startOffset":238,"endOffset":358,"count":0},{"startOffset":556,"endOffset":585,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":686,"endOffset":1182,"count":2},{"startOffset":734,"endOffset":757,"count":0},{"startOffset":818,"endOffset":882,"count":0},{"startOffset":930,"endOffset":934,"count":0},{"startOffset":966,"endOffset":998,"count":0},{"startOffset":1077,"endOffset":1108,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":1186,"endOffset":1225,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":1229,"endOffset":1609,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":1613,"endOffset":3323,"count":0}],"isBlockCoverage":false}]},{"scriptId":"556","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/range.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14514,"count":1}],"isBlockCoverage":true},{"functionName":"Range","ranges":[{"startOffset":55,"endOffset":2052,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2056,"endOffset":2197,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2201,"endOffset":2240,"count":0}],"isBlockCoverage":false},{"functionName":"parseRange","ranges":[{"startOffset":2244,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":4531,"endOffset":5161,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":5229,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"isNullSet","ranges":[{"startOffset":6111,"endOffset":6138,"count":0}],"isBlockCoverage":false},{"functionName":"isAny","ranges":[{"startOffset":6153,"endOffset":6172,"count":0}],"isBlockCoverage":false},{"functionName":"isSatisfiable","ranges":[{"startOffset":6294,"endOffset":6700,"count":0}],"isBlockCoverage":false},{"functionName":"parseComparator","ranges":[{"startOffset":6870,"endOffset":7183,"count":0}],"isBlockCoverage":false},{"functionName":"isX","ranges":[{"startOffset":7197,"endOffset":7248,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTildes","ranges":[{"startOffset":7584,"endOffset":7707,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTilde","ranges":[{"startOffset":7730,"endOffset":8404,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCarets","ranges":[{"startOffset":8697,"endOffset":8820,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCaret","ranges":[{"startOffset":8843,"endOffset":10145,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRanges","ranges":[{"startOffset":10170,"endOffset":10323,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRange","ranges":[{"startOffset":10347,"endOffset":12047,"count":0}],"isBlockCoverage":false},{"functionName":"replaceStars","ranges":[{"startOffset":12193,"endOffset":12378,"count":0}],"isBlockCoverage":false},{"functionName":"replaceGTE0","ranges":[{"startOffset":12400,"endOffset":12555,"count":0}],"isBlockCoverage":false},{"functionName":"hyphenReplace","ranges":[{"startOffset":12797,"endOffset":13471,"count":0}],"isBlockCoverage":false},{"functionName":"testSet","ranges":[{"startOffset":13489,"endOffset":14513,"count":0}],"isBlockCoverage":false}]},{"scriptId":"557","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lru-cache/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8186,"count":1}],"isBlockCoverage":true},{"functionName":"naiveLength","ranges":[{"startOffset":510,"endOffset":517,"count":0}],"isBlockCoverage":false},{"functionName":"LRUCache","ranges":[{"startOffset":853,"endOffset":1751,"count":1},{"startOffset":920,"endOffset":946,"count":0},{"startOffset":972,"endOffset":984,"count":0},{"startOffset":1069,"endOffset":1125,"count":0},{"startOffset":1235,"endOffset":1246,"count":0},{"startOffset":1350,"endOffset":1363,"count":0},{"startOffset":1439,"endOffset":1476,"count":0},{"startOffset":1484,"endOffset":1530,"count":0}],"isBlockCoverage":true},{"functionName":"set max","ranges":[{"startOffset":1799,"endOffset":1969,"count":0}],"isBlockCoverage":false},{"functionName":"get max","ranges":[{"startOffset":1972,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"set allowStale","ranges":[{"startOffset":2013,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"get allowStale","ranges":[{"startOffset":2086,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"set maxAge","ranges":[{"startOffset":2142,"endOffset":2300,"count":0}],"isBlockCoverage":false},{"functionName":"get maxAge","ranges":[{"startOffset":2303,"endOffset":2347,"count":0}],"isBlockCoverage":false},{"functionName":"set lengthCalculator","ranges":[{"startOffset":2408,"endOffset":2765,"count":0}],"isBlockCoverage":false},{"functionName":"get lengthCalculator","ranges":[{"startOffset":2768,"endOffset":2826,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":2830,"endOffset":2867,"count":0}],"isBlockCoverage":false},{"functionName":"get itemCount","ranges":[{"startOffset":2870,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"rforEach","ranges":[{"startOffset":2923,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":3142,"endOffset":3356,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":3360,"endOffset":3425,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":3429,"endOffset":3498,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":3502,"endOffset":3858,"count":1},{"startOffset":3535,"endOffset":3560,"count":0},{"startOffset":3561,"endOffset":3593,"count":0},{"startOffset":3595,"endOffset":3673,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3626,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"dump","ranges":[{"startOffset":3862,"endOffset":4064,"count":0}],"isBlockCoverage":false},{"functionName":"dumpLru","ranges":[{"startOffset":4068,"endOffset":4110,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4114,"endOffset":5376,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":5380,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5517,"endOffset":5564,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":5568,"endOffset":5617,"count":0}],"isBlockCoverage":false},{"functionName":"pop","ranges":[{"startOffset":5621,"endOffset":5746,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":5750,"endOffset":5801,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5805,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"prune","ranges":[{"startOffset":6382,"endOffset":6459,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6475,"endOffset":6871,"count":0}],"isBlockCoverage":false},{"functionName":"isStale","ranges":[{"startOffset":6889,"endOffset":7094,"count":0}],"isBlockCoverage":false},{"functionName":"trim","ranges":[{"startOffset":7109,"endOffset":7497,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":7511,"endOffset":7738,"count":0}],"isBlockCoverage":false},{"functionName":"Entry","ranges":[{"startOffset":7756,"endOffset":7923,"count":0}],"isBlockCoverage":false},{"functionName":"forEachStep","ranges":[{"startOffset":7947,"endOffset":8158,"count":0}],"isBlockCoverage":false}]},{"scriptId":"558","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/yallist.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8411,"count":1},{"startOffset":8397,"endOffset":8410,"count":0}],"isBlockCoverage":true},{"functionName":"Yallist","ranges":[{"startOffset":85,"endOffset":517,"count":1},{"startOffset":163,"endOffset":193,"count":0},{"startOffset":263,"endOffset":300,"count":0},{"startOffset":302,"endOffset":371,"count":0},{"startOffset":403,"endOffset":500,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":321,"endOffset":366,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.removeNode","ranges":[{"startOffset":550,"endOffset":1001,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshiftNode","ranges":[{"startOffset":1035,"endOffset":1334,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pushNode","ranges":[{"startOffset":1365,"endOffset":1664,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.push","ranges":[{"startOffset":1691,"endOffset":1814,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshift","ranges":[{"startOffset":1844,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pop","ranges":[{"startOffset":1996,"endOffset":2224,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.shift","ranges":[{"startOffset":2252,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEach","ranges":[{"startOffset":2510,"endOffset":2691,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEachReverse","ranges":[{"startOffset":2728,"endOffset":2923,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.get","ranges":[{"startOffset":2949,"endOffset":3182,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.getReverse","ranges":[{"startOffset":3215,"endOffset":3448,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.map","ranges":[{"startOffset":3474,"endOffset":3690,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.mapReverse","ranges":[{"startOffset":3723,"endOffset":3939,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduce","ranges":[{"startOffset":3968,"endOffset":4363,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduceReverse","ranges":[{"startOffset":4399,"endOffset":4808,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArray","ranges":[{"startOffset":4838,"endOffset":5018,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArrayReverse","ranges":[{"startOffset":5055,"endOffset":5235,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.slice","ranges":[{"startOffset":5263,"endOffset":5790,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.sliceReverse","ranges":[{"startOffset":5825,"endOffset":6362,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.splice","ranges":[{"startOffset":6391,"endOffset":7034,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reverse","ranges":[{"startOffset":7064,"endOffset":7322,"count":0}],"isBlockCoverage":false},{"functionName":"insert","ranges":[{"startOffset":7324,"endOffset":7643,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":7645,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":7795,"endOffset":7946,"count":0}],"isBlockCoverage":false},{"functionName":"Node","ranges":[{"startOffset":7948,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"559","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/iterator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":30,"endOffset":206,"count":1}],"isBlockCoverage":true},{"functionName":"Yallist.","ranges":[{"startOffset":90,"endOffset":204,"count":0}],"isBlockCoverage":false}]},{"scriptId":"560","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/satisfies.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"satisfies","ranges":[{"startOffset":60,"endOffset":205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"561","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/to-comparators.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":268,"count":1}],"isBlockCoverage":true},{"functionName":"toComparators","ranges":[{"startOffset":115,"endOffset":235,"count":0}],"isBlockCoverage":false}]},{"scriptId":"562","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/max-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":579,"count":1}],"isBlockCoverage":true},{"functionName":"maxSatisfying","ranges":[{"startOffset":109,"endOffset":547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"563","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"minSatisfying","ranges":[{"startOffset":108,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"564","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-version.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"minVersion","ranges":[{"startOffset":144,"endOffset":1471,"count":0}],"isBlockCoverage":false}]},{"scriptId":"565","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":312,"count":1}],"isBlockCoverage":true},{"functionName":"validRange","ranges":[{"startOffset":61,"endOffset":283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"566","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/outside.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2190,"count":1}],"isBlockCoverage":true},{"functionName":"outside","ranges":[{"startOffset":390,"endOffset":2163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"567","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/gtr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":217,"count":1}],"isBlockCoverage":true},{"functionName":"gtr","ranges":[{"startOffset":129,"endOffset":195,"count":0}],"isBlockCoverage":false}]},{"scriptId":"568","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/ltr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":213,"count":1}],"isBlockCoverage":true},{"functionName":"ltr","ranges":[{"startOffset":125,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"569","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/intersects.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true},{"functionName":"intersects","ranges":[{"startOffset":61,"endOffset":181,"count":0}],"isBlockCoverage":false}]},{"scriptId":"570","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/simplify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1341,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":329,"endOffset":1340,"count":0}],"isBlockCoverage":false}]},{"scriptId":"571","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/subset.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7510,"count":1}],"isBlockCoverage":true},{"functionName":"subset","ranges":[{"startOffset":1996,"endOffset":2727,"count":0}],"isBlockCoverage":false},{"functionName":"simpleSubset","ranges":[{"startOffset":2869,"endOffset":6974,"count":0}],"isBlockCoverage":false},{"functionName":"higherGT","ranges":[{"startOffset":7025,"endOffset":7229,"count":0}],"isBlockCoverage":false},{"functionName":"lowerLT","ranges":[{"startOffset":7280,"endOffset":7484,"count":0}],"isBlockCoverage":false}]},{"scriptId":"572","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/property.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6165,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":331,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeComplex","ranges":[{"startOffset":457,"endOffset":572,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":622,"endOffset":708,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePrimitive","ranges":[{"startOffset":756,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"Property","ranges":[{"startOffset":1125,"endOffset":1167,"count":0}],"isBlockCoverage":false},{"functionName":"compareKeys","ranges":[{"startOffset":1171,"endOffset":1692,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1696,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexProperty","ranges":[{"startOffset":2881,"endOffset":2949,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2953,"endOffset":3025,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3029,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3308,"endOffset":3811,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3815,"endOffset":3853,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveProperty","ranges":[{"startOffset":3981,"endOffset":4049,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":4053,"endOffset":4328,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4332,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5018,"endOffset":6023,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6027,"endOffset":6079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"573","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2777,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":329,"endOffset":675,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":705,"endOffset":901,"count":0}],"isBlockCoverage":false},{"functionName":"SymbolValue","ranges":[{"startOffset":1012,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1115,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":1409,"endOffset":1540,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1544,"endOffset":1651,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":1655,"endOffset":1788,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1792,"endOffset":1956,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSymbolValue","ranges":[{"startOffset":2159,"endOffset":2232,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2236,"endOffset":2726,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":2730,"endOffset":2774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"574","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-string-escape/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":644,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":17,"endOffset":643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"575","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/well-known-symbols/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":800,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":672,"endOffset":689,"count":12}],"isBlockCoverage":true},{"functionName":"exports.isWellKnown","ranges":[{"startOffset":715,"endOffset":747,"count":0}],"isBlockCoverage":false},{"functionName":"exports.getLabel","ranges":[{"startOffset":767,"endOffset":799,"count":0}],"isBlockCoverage":false}]},{"scriptId":"576","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/bigInt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":906,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":714,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":718,"endOffset":758,"count":0}],"isBlockCoverage":false}]},{"scriptId":"577","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/boolean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":931,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":286,"count":0}],"isBlockCoverage":false},{"functionName":"BooleanValue","ranges":[{"startOffset":425,"endOffset":473,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":477,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":737,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":741,"endOffset":781,"count":0}],"isBlockCoverage":false}]},{"scriptId":"578","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/null.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":737,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":273,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":406,"endOffset":497,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":501,"endOffset":593,"count":0}],"isBlockCoverage":false}]},{"scriptId":"579","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/number.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":969,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"NumberValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":777,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":781,"endOffset":821,"count":0}],"isBlockCoverage":false}]},{"scriptId":"580","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/undefined.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":421,"endOffset":512,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":516,"endOffset":618,"count":0}],"isBlockCoverage":false}]},{"scriptId":"581","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/shouldCompareDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":573,"count":1}],"isBlockCoverage":true},{"functionName":"shouldCompareDeep","ranges":[{"startOffset":206,"endOffset":537,"count":0}],"isBlockCoverage":false}]},{"scriptId":"582","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/symbolProperties.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2759,"count":1}],"isBlockCoverage":true},{"functionName":"Comparable","ranges":[{"startOffset":247,"endOffset":348,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":352,"endOffset":533,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":537,"endOffset":1293,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1297,"endOffset":2003,"count":0}],"isBlockCoverage":false},{"functionName":"Collector","ranges":[{"startOffset":2152,"endOffset":2288,"count":0}],"isBlockCoverage":false},{"functionName":"collectAll","ranges":[{"startOffset":2292,"endOffset":2538,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2542,"endOffset":2635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"583","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13805,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":630,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"compareComplexShape","ranges":[{"startOffset":642,"endOffset":1886,"count":0}],"isBlockCoverage":false},{"functionName":"diffDescriptors","ranges":[{"startOffset":1888,"endOffset":13605,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":13649,"endOffset":13784,"count":0}],"isBlockCoverage":false}]},{"scriptId":"584","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Indenter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":360,"count":1}],"isBlockCoverage":true},{"functionName":"Indenter","ranges":[{"startOffset":33,"endOffset":144,"count":1}],"isBlockCoverage":true},{"functionName":"increase","ranges":[{"startOffset":148,"endOffset":216,"count":0}],"isBlockCoverage":false},{"functionName":"decrease","ranges":[{"startOffset":220,"endOffset":288,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":292,"endOffset":331,"count":0}],"isBlockCoverage":false}]},{"scriptId":"585","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/format.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3075,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":241,"endOffset":251,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptor","ranges":[{"startOffset":295,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2953,"endOffset":3050,"count":0}],"isBlockCoverage":false}]},{"scriptId":"586","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/serialize.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12422,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4159,"endOffset":4194,"count":31}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4241,"endOffset":4276,"count":31}],"isBlockCoverage":true},{"functionName":"DescriptorSerializationError","ranges":[{"startOffset":4333,"endOffset":4487,"count":0}],"isBlockCoverage":false},{"functionName":"MissingPluginError","ranges":[{"startOffset":4534,"endOffset":4722,"count":0}],"isBlockCoverage":false},{"functionName":"PointerLookupError","ranges":[{"startOffset":4769,"endOffset":4936,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedPluginError","ranges":[{"startOffset":4987,"endOffset":5271,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedVersion","ranges":[{"startOffset":5373,"endOffset":5576,"count":0}],"isBlockCoverage":false},{"functionName":"shallowSerializeDescriptor","ranges":[{"startOffset":5580,"endOffset":5763,"count":0}],"isBlockCoverage":false},{"functionName":"serializeState","ranges":[{"startOffset":5765,"endOffset":6401,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6403,"endOffset":8213,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeState","ranges":[{"startOffset":8245,"endOffset":8564,"count":0}],"isBlockCoverage":false},{"functionName":"shallowDeserializeDescriptor","ranges":[{"startOffset":8566,"endOffset":8761,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeRecord","ranges":[{"startOffset":8763,"endOffset":9449,"count":0}],"isBlockCoverage":false},{"functionName":"buildPluginMap","ranges":[{"startOffset":9451,"endOffset":10790,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":10792,"endOffset":12387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"587","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/md5-hex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":406,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":66,"endOffset":404,"count":0}],"isBlockCoverage":false}]},{"scriptId":"588","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9570,"count":1}],"isBlockCoverage":true},{"functionName":"encodeInteger","ranges":[{"startOffset":689,"endOffset":828,"count":0}],"isBlockCoverage":false},{"functionName":"encodeValue","ranges":[{"startOffset":830,"endOffset":3045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeValue","ranges":[{"startOffset":3047,"endOffset":5534,"count":0}],"isBlockCoverage":false},{"functionName":"buildBuffer","ranges":[{"startOffset":5536,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6160,"endOffset":7889,"count":0}],"isBlockCoverage":false},{"functionName":"decodePlugins","ranges":[{"startOffset":7915,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"decodeRecord","ranges":[{"startOffset":8465,"endOffset":9182,"count":0}],"isBlockCoverage":false},{"functionName":"extractVersion","ranges":[{"startOffset":9220,"endOffset":9288,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":9330,"endOffset":9545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"589","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/flattenDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"flattenDeep","ranges":[{"startOffset":412,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"590","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFlatten.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1201,"count":1}],"isBlockCoverage":true},{"functionName":"baseFlatten","ranges":[{"startOffset":568,"endOffset":1169,"count":0}],"isBlockCoverage":false}]},{"scriptId":"591","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isFlattenable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1},{"startOffset":208,"endOffset":219,"count":0}],"isBlockCoverage":true},{"functionName":"isFlattenable","ranges":[{"startOffset":430,"endOffset":574,"count":0}],"isBlockCoverage":false}]},{"scriptId":"592","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/pointer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":617,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":63,"endOffset":120,"count":0}],"isBlockCoverage":false},{"functionName":"Pointer","ranges":[{"startOffset":249,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":392,"endOffset":435,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":439,"endOffset":479,"count":0}],"isBlockCoverage":false}]},{"scriptId":"593","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-error/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"isError","ranges":[{"startOffset":160,"endOffset":596,"count":0}],"isBlockCoverage":false}]},{"scriptId":"594","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7961,"count":1},{"startOffset":184,"endOffset":189,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":290,"endOffset":398,"count":70}],"isBlockCoverage":true},{"functionName":"StackUtils","ranges":[{"startOffset":581,"endOffset":1041,"count":1}],"isBlockCoverage":true},{"functionName":"nodeInternals","ranges":[{"startOffset":1052,"endOffset":1099,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":1103,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"captureString","ranges":[{"startOffset":2203,"endOffset":2601,"count":0}],"isBlockCoverage":false},{"functionName":"capture","ranges":[{"startOffset":2605,"endOffset":3178,"count":0}],"isBlockCoverage":false},{"functionName":"at","ranges":[{"startOffset":3182,"endOffset":4236,"count":0}],"isBlockCoverage":false},{"functionName":"parseLine","ranges":[{"startOffset":4240,"endOffset":6388,"count":0}],"isBlockCoverage":false},{"functionName":"setFile","ranges":[{"startOffset":6392,"endOffset":6629,"count":0}],"isBlockCoverage":false},{"functionName":"ignoredPackagesRegExp","ranges":[{"startOffset":6631,"endOffset":6913,"count":1},{"startOffset":6737,"endOffset":6912,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6778,"endOffset":6808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"595","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":236,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":85,"endOffset":234,"count":0}],"isBlockCoverage":false}]},{"scriptId":"596","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/cbor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2598,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":2526,"endOffset":2597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"597","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/commented.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8911,"count":1}],"isBlockCoverage":true},{"functionName":"plural","ranges":[{"startOffset":242,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1621,"endOffset":2061,"count":0}],"isBlockCoverage":false},{"functionName":"Commented","ranges":[{"startOffset":2313,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"_tag_24","ranges":[{"startOffset":3493,"endOffset":3678,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3682,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3766,"endOffset":3890,"count":0}],"isBlockCoverage":false},{"functionName":"comment","ranges":[{"startOffset":4466,"endOffset":5155,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":5184,"endOffset":5277,"count":0}],"isBlockCoverage":false},{"functionName":"_on_read","ranges":[{"startOffset":5306,"endOffset":5625,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":5654,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start_string","ranges":[{"startOffset":6407,"endOffset":6713,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":6742,"endOffset":7824,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":7853,"endOffset":7888,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":7918,"endOffset":8748,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":8777,"endOffset":8880,"count":0}],"isBlockCoverage":false}]},{"scriptId":"598","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8215,"count":1}],"isBlockCoverage":true},{"functionName":"exports.utf8","ranges":[{"startOffset":492,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":546,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"isBufferish","ranges":[{"startOffset":823,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"bufferishToBuffer","ranges":[{"startOffset":1098,"endOffset":1356,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORint","ranges":[{"startOffset":1381,"endOffset":1905,"count":0}],"isBlockCoverage":false},{"functionName":"writeHalf","ranges":[{"startOffset":1927,"endOffset":4036,"count":0}],"isBlockCoverage":false},{"functionName":"parseHalf","ranges":[{"startOffset":4058,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORfloat","ranges":[{"startOffset":4418,"endOffset":4687,"count":0}],"isBlockCoverage":false},{"functionName":"hex","ranges":[{"startOffset":4703,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"bin","ranges":[{"startOffset":4788,"endOffset":5042,"count":0}],"isBlockCoverage":false},{"functionName":"arrayEqual","ranges":[{"startOffset":5065,"endOffset":5279,"count":0}],"isBlockCoverage":false},{"functionName":"bufferToBigInt","ranges":[{"startOffset":5306,"endOffset":5382,"count":0}],"isBlockCoverage":false},{"functionName":"cborValueToString","ranges":[{"startOffset":5412,"endOffset":7059,"count":0}],"isBlockCoverage":false},{"functionName":"guessEncoding","ranges":[{"startOffset":7085,"endOffset":7418,"count":0}],"isBlockCoverage":false},{"functionName":"base64url","ranges":[{"startOffset":7657,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"base64","ranges":[{"startOffset":7965,"endOffset":8048,"count":0}],"isBlockCoverage":false},{"functionName":"isBigEndian","ranges":[{"startOffset":8072,"endOffset":8214,"count":0}],"isBlockCoverage":false}]},{"scriptId":"599","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nofilter/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28585,"count":1}],"isBlockCoverage":true},{"functionName":"NoFilter","ranges":[{"startOffset":3473,"endOffset":5501,"count":0}],"isBlockCoverage":false},{"functionName":"isNoFilter","ranges":[{"startOffset":5664,"endOffset":5716,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":6159,"endOffset":6351,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":7149,"endOffset":8408,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":8437,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"_bufArray","ranges":[{"startOffset":8811,"endOffset":9199,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":9982,"endOffset":10504,"count":0}],"isBlockCoverage":false},{"functionName":"readFull","ranges":[{"startOffset":10957,"endOffset":12088,"count":0}],"isBlockCoverage":false},{"functionName":"promise","ranges":[{"startOffset":12421,"endOffset":12847,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":13163,"endOffset":13614,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":13827,"endOffset":13883,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":14414,"endOffset":14924,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":15137,"endOffset":15184,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":15588,"endOffset":15702,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16207,"endOffset":16468,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16497,"endOffset":16823,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":16931,"endOffset":17040,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt","ranges":[{"startOffset":17265,"endOffset":17670,"count":0}],"isBlockCoverage":false},{"functionName":"readUBigInt","ranges":[{"startOffset":17884,"endOffset":18034,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt","ranges":[{"startOffset":18276,"endOffset":18596,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":18759,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19026,"endOffset":19133,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":19315,"endOffset":19422,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19609,"endOffset":19716,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":19900,"endOffset":20007,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":20172,"endOffset":20253,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":20438,"endOffset":20544,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":20726,"endOffset":20832,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":21021,"endOffset":21127,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":21313,"endOffset":21419,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatLE","ranges":[{"startOffset":21592,"endOffset":21697,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBE","ranges":[{"startOffset":21867,"endOffset":21972,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleLE","ranges":[{"startOffset":22146,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBE","ranges":[{"startOffset":22423,"endOffset":22530,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":22705,"endOffset":22816,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":22988,"endOffset":23099,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":23290,"endOffset":23403,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":23591,"endOffset":23704,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":23831,"endOffset":23955,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":24101,"endOffset":24231,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":24377,"endOffset":24507,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":24653,"endOffset":24783,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":24929,"endOffset":25059,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":25183,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":25449,"endOffset":25577,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":25721,"endOffset":25849,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":25993,"endOffset":26121,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":26265,"endOffset":26393,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatLE","ranges":[{"startOffset":26528,"endOffset":26656,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBE","ranges":[{"startOffset":26788,"endOffset":26916,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleLE","ranges":[{"startOffset":27051,"endOffset":27181,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBE","ranges":[{"startOffset":27313,"endOffset":27443,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":27586,"endOffset":27720,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":27860,"endOffset":27994,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":28140,"endOffset":28276,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":28419,"endOffset":28555,"count":0}],"isBlockCoverage":false}]},{"scriptId":"600","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1352,"count":1}],"isBlockCoverage":true}]},{"scriptId":"601","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/decoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20596,"count":1}],"isBlockCoverage":true},{"functionName":"parentArray","ranges":[{"startOffset":508,"endOffset":641,"count":0}],"isBlockCoverage":false},{"functionName":"parentBufferStream","ranges":[{"startOffset":643,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"UnexpectedDataError","ranges":[{"startOffset":831,"endOffset":996,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":3420,"endOffset":3794,"count":0}],"isBlockCoverage":false},{"functionName":"Decoder","ranges":[{"startOffset":4237,"endOffset":4930,"count":0}],"isBlockCoverage":false},{"functionName":"nullcheck","ranges":[{"startOffset":5301,"endOffset":5710,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirstSync","ranges":[{"startOffset":6389,"endOffset":7548,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAllSync","ranges":[{"startOffset":8073,"endOffset":8838,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirst","ranges":[{"startOffset":9562,"endOffset":11046,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAll","ranges":[{"startOffset":11770,"endOffset":12395,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12433,"endOffset":12495,"count":0}],"isBlockCoverage":false},{"functionName":"_onRead","ranges":[{"startOffset":12574,"endOffset":12625,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":12867,"endOffset":20537,"count":0}],"isBlockCoverage":false}]},{"scriptId":"602","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/vendor/binary-parse-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2692,"count":1}],"isBlockCoverage":true},{"functionName":"BinaryParseStream","ranges":[{"startOffset":1100,"endOffset":1513,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1517,"endOffset":2086,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":2331,"endOffset":2462,"count":0}],"isBlockCoverage":false},{"functionName":"__restart","ranges":[{"startOffset":2466,"endOffset":2566,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":2570,"endOffset":2653,"count":0}],"isBlockCoverage":false}]},{"scriptId":"603","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/tagged.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10762,"count":1},{"startOffset":7721,"endOffset":7750,"count":19}],"isBlockCoverage":true},{"functionName":"setBuffersToJSON","ranges":[{"startOffset":135,"endOffset":954,"count":0}],"isBlockCoverage":false},{"functionName":"b64this","ranges":[{"startOffset":956,"endOffset":1052,"count":0}],"isBlockCoverage":false},{"functionName":"b64urlThis","ranges":[{"startOffset":1054,"endOffset":1156,"count":0}],"isBlockCoverage":false},{"functionName":"hexThis","ranges":[{"startOffset":1158,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"swapEndian","ranges":[{"startOffset":1258,"endOffset":1667,"count":0}],"isBlockCoverage":false},{"functionName":"0","ranges":[{"startOffset":2409,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"1","ranges":[{"startOffset":2478,"endOffset":2501,"count":0}],"isBlockCoverage":false},{"functionName":"2","ranges":[{"startOffset":2548,"endOffset":2576,"count":0}],"isBlockCoverage":false},{"functionName":"3","ranges":[{"startOffset":2623,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"21","ranges":[{"startOffset":2752,"endOffset":2911,"count":0}],"isBlockCoverage":false},{"functionName":"22","ranges":[{"startOffset":2984,"endOffset":3137,"count":0}],"isBlockCoverage":false},{"functionName":"23","ranges":[{"startOffset":3218,"endOffset":3371,"count":0}],"isBlockCoverage":false},{"functionName":"32","ranges":[{"startOffset":3409,"endOffset":3424,"count":0}],"isBlockCoverage":false},{"functionName":"33","ranges":[{"startOffset":3468,"endOffset":4627,"count":0}],"isBlockCoverage":false},{"functionName":"34","ranges":[{"startOffset":4668,"endOffset":5867,"count":0}],"isBlockCoverage":false},{"functionName":"35","ranges":[{"startOffset":5920,"endOffset":5938,"count":0}],"isBlockCoverage":false},{"functionName":"258","ranges":[{"startOffset":6027,"endOffset":6042,"count":0}],"isBlockCoverage":false},{"functionName":"_toTypedArray","ranges":[{"startOffset":7009,"endOffset":7672,"count":0}],"isBlockCoverage":false},{"functionName":"Tagged","ranges":[{"startOffset":8277,"endOffset":8615,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":8619,"endOffset":8856,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":8953,"endOffset":9025,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":9189,"endOffset":9272,"count":0}],"isBlockCoverage":false},{"functionName":"convert","ranges":[{"startOffset":9824,"endOffset":10302,"count":0}],"isBlockCoverage":false},{"functionName":"get TAGS","ranges":[{"startOffset":10432,"endOffset":10472,"count":0}],"isBlockCoverage":false},{"functionName":"set TAGS","ranges":[{"startOffset":10483,"endOffset":10525,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":10642,"endOffset":10683,"count":1}],"isBlockCoverage":true}]},{"scriptId":"604","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/simple.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2695,"count":1}],"isBlockCoverage":true},{"functionName":"Simple","ranges":[{"startOffset":268,"endOffset":567,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":683,"endOffset":734,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":930,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":1190,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"isSimple","ranges":[{"startOffset":1403,"endOffset":1455,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":2071,"endOffset":2667,"count":0}],"isBlockCoverage":false}]},{"scriptId":"605","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/diagnose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6617,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeOptions","ranges":[{"startOffset":1886,"endOffset":2262,"count":0}],"isBlockCoverage":false},{"functionName":"Diagnose","ranges":[{"startOffset":2529,"endOffset":3414,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3418,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3509,"endOffset":3707,"count":0}],"isBlockCoverage":false},{"functionName":"diagnose","ranges":[{"startOffset":4122,"endOffset":4775,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":4804,"endOffset":4932,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":4954,"endOffset":5115,"count":0}],"isBlockCoverage":false},{"functionName":"_fore","ranges":[{"startOffset":5137,"endOffset":5507,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":5529,"endOffset":5751,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":5773,"endOffset":6194,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":6216,"endOffset":6519,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":6541,"endOffset":6587,"count":0}],"isBlockCoverage":false}]},{"scriptId":"606","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31613,"count":1}],"isBlockCoverage":true},{"functionName":"parseDateType","ranges":[{"startOffset":1747,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"Encoder","ranges":[{"startOffset":4631,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":6051,"endOffset":6261,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":6318,"endOffset":6350,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt8","ranges":[{"startOffset":6470,"endOffset":6576,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt16BE","ranges":[{"startOffset":6698,"endOffset":6810,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt32BE","ranges":[{"startOffset":6935,"endOffset":7047,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloatBE","ranges":[{"startOffset":7176,"endOffset":7286,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDoubleBE","ranges":[{"startOffset":7416,"endOffset":7528,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNaN","ranges":[{"startOffset":7598,"endOffset":7644,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInfinity","ranges":[{"startOffset":7770,"endOffset":7876,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloat","ranges":[{"startOffset":8142,"endOffset":9321,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInt","ranges":[{"startOffset":10074,"endOffset":10925,"count":0}],"isBlockCoverage":false},{"functionName":"_pushIntNum","ranges":[{"startOffset":11192,"endOffset":11409,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNumber","ranges":[{"startOffset":11531,"endOffset":11787,"count":0}],"isBlockCoverage":false},{"functionName":"_pushString","ranges":[{"startOffset":11900,"endOffset":12041,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoolean","ranges":[{"startOffset":12153,"endOffset":12223,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUndefined","ranges":[{"startOffset":12330,"endOffset":12752,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNull","ranges":[{"startOffset":12854,"endOffset":12907,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTag","ranges":[{"startOffset":13024,"endOffset":13081,"count":0}],"isBlockCoverage":false},{"functionName":"_pushJSBigint","ranges":[{"startOffset":13194,"endOffset":13960,"count":0}],"isBlockCoverage":false},{"functionName":"_pushObject","ranges":[{"startOffset":14109,"endOffset":16394,"count":0}],"isBlockCoverage":false},{"functionName":"_encodeAll","ranges":[{"startOffset":16551,"endOffset":16756,"count":0}],"isBlockCoverage":false},{"functionName":"addSemanticType","ranges":[{"startOffset":17172,"endOffset":17565,"count":0}],"isBlockCoverage":false},{"functionName":"pushAny","ranges":[{"startOffset":17771,"endOffset":18684,"count":0}],"isBlockCoverage":false},{"functionName":"pushArray","ranges":[{"startOffset":18990,"endOffset":19516,"count":0}],"isBlockCoverage":false},{"functionName":"removeLoopDetectors","ranges":[{"startOffset":19662,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDate","ranges":[{"startOffset":19947,"endOffset":20619,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBuffer","ranges":[{"startOffset":20774,"endOffset":20870,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNoFilter","ranges":[{"startOffset":21027,"endOffset":21129,"count":0}],"isBlockCoverage":false},{"functionName":"_pushRegexp","ranges":[{"startOffset":21284,"endOffset":21374,"count":0}],"isBlockCoverage":false},{"functionName":"_pushSet","ranges":[{"startOffset":21523,"endOffset":21783,"count":0}],"isBlockCoverage":false},{"functionName":"_pushURL","ranges":[{"startOffset":21932,"endOffset":22020,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoxed","ranges":[{"startOffset":22208,"endOffset":22272,"count":0}],"isBlockCoverage":false},{"functionName":"_pushMap","ranges":[{"startOffset":22469,"endOffset":24462,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTypedArray","ranges":[{"startOffset":24627,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"_pushArrayBuffer","ranges":[{"startOffset":25460,"endOffset":25546,"count":0}],"isBlockCoverage":false},{"functionName":"encodeIndefinite","ranges":[{"startOffset":26458,"endOffset":28127,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":28344,"endOffset":28407,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCanonical","ranges":[{"startOffset":28646,"endOffset":28748,"count":0}],"isBlockCoverage":false},{"functionName":"encodeOne","ranges":[{"startOffset":29014,"endOffset":29093,"count":0}],"isBlockCoverage":false},{"functionName":"encodeAsync","ranges":[{"startOffset":29664,"endOffset":29981,"count":0}],"isBlockCoverage":false},{"functionName":"get SEMANTIC_TYPES","ranges":[{"startOffset":30115,"endOffset":30175,"count":0}],"isBlockCoverage":false},{"functionName":"set SEMANTIC_TYPES","ranges":[{"startOffset":30186,"endOffset":30248,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":30375,"endOffset":30437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"607","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5186,"count":1}],"isBlockCoverage":true},{"functionName":"CborMap","ranges":[{"startOffset":952,"endOffset":999,"count":0}],"isBlockCoverage":false},{"functionName":"_encode","ranges":[{"startOffset":1035,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_decode","ranges":[{"startOffset":1148,"endOffset":1216,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1501,"endOffset":1558,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":1874,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":2283,"endOffset":2346,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":2687,"endOffset":2744,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":2978,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":3366,"endOffset":3472,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3725,"endOffset":3776,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":4173,"endOffset":4393,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":4557,"endOffset":5157,"count":0}],"isBlockCoverage":false}]},{"scriptId":"608","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/map-age-cleaner/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3903,"count":1}],"isBlockCoverage":true},{"functionName":"__awaiter","ranges":[{"startOffset":58,"endOffset":613,"count":0}],"isBlockCoverage":false},{"functionName":"__importDefault","ranges":[{"startOffset":671,"endOffset":752,"count":1},{"startOffset":723,"endOffset":728,"count":0}],"isBlockCoverage":true},{"functionName":"mapAgeCleaner","ranges":[{"startOffset":872,"endOffset":3774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"609","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-defer/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":177,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"610","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6750,"count":1}],"isBlockCoverage":true},{"functionName":"getId","ranges":[{"startOffset":492,"endOffset":749,"count":1},{"startOffset":664,"endOffset":747,"count":0}],"isBlockCoverage":true},{"functionName":"getTmpname","ranges":[{"startOffset":774,"endOffset":976,"count":0}],"isBlockCoverage":false},{"functionName":"cleanupOnExit","ranges":[{"startOffset":978,"endOffset":1161,"count":0}],"isBlockCoverage":false},{"functionName":"serializeActiveFile","ranges":[{"startOffset":1163,"endOffset":1550,"count":0}],"isBlockCoverage":false},{"functionName":"isChownErrOk","ranges":[{"startOffset":1633,"endOffset":1894,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileAsync","ranges":[{"startOffset":1896,"endOffset":4304,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4306,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":4680,"endOffset":6749,"count":0}],"isBlockCoverage":false}]},{"scriptId":"611","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/imurmurhash/imurmurhash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4412,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":443,"endOffset":4407,"count":1},{"startOffset":4352,"endOffset":4405,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3","ranges":[{"startOffset":811,"endOffset":1083,"count":1},{"startOffset":896,"endOffset":903,"count":0},{"startOffset":963,"endOffset":980,"count":0},{"startOffset":982,"endOffset":1018,"count":0},{"startOffset":1044,"endOffset":1077,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3.hash","ranges":[{"startOffset":1254,"endOffset":3073,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.result","ranges":[{"startOffset":3193,"endOffset":3797,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.reset","ranges":[{"startOffset":3937,"endOffset":4078,"count":1},{"startOffset":3997,"endOffset":4003,"count":0}],"isBlockCoverage":true}]},{"scriptId":"612","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9435,"count":1},{"startOffset":8597,"endOffset":8623,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":518,"endOffset":562,"count":0}],"isBlockCoverage":false},{"functionName":"processOk","ranges":[{"startOffset":585,"endOffset":952,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1130,"endOffset":2434,"count":1}],"isBlockCoverage":true},{"functionName":"Emitter","ranges":[{"startOffset":1325,"endOffset":1616,"count":1},{"startOffset":1375,"endOffset":1427,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":1621,"endOffset":1676,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":1681,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2045,"endOffset":2432,"count":0}],"isBlockCoverage":false},{"functionName":"signalExitWrap","ranges":[{"startOffset":2483,"endOffset":2732,"count":1}],"isBlockCoverage":true},{"functionName":"onExit","ranges":[{"startOffset":2519,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2602,"endOffset":2655,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2665,"endOffset":2722,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":2788,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2835,"endOffset":2845,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2850,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2865,"endOffset":8403,"count":1},{"startOffset":3070,"endOffset":3080,"count":0}],"isBlockCoverage":true},{"functionName":"SignalExit","ranges":[{"startOffset":3269,"endOffset":5206,"count":1},{"startOffset":3467,"endOffset":5088,"count":17}],"isBlockCoverage":true},{"functionName":"SignalExit.#sigListeners.","ranges":[{"startOffset":3507,"endOffset":5077,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":5211,"endOffset":5804,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5809,"endOffset":6637,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":6642,"endOffset":7393,"count":0}],"isBlockCoverage":false},{"functionName":"#processReallyExit","ranges":[{"startOffset":7398,"endOffset":7764,"count":0}],"isBlockCoverage":false},{"functionName":"#processEmit","ranges":[{"startOffset":7769,"endOffset":8401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"613","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1560,"count":1}],"isBlockCoverage":true}]},{"scriptId":"614","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/irregular-plurals/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":137,"count":1}],"isBlockCoverage":true}]},{"scriptId":"615","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/state.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":150,"count":1}],"isBlockCoverage":true}]},{"scriptId":"616","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/channel.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7151,"count":1},{"startOffset":2661,"endOffset":2770,"count":0}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":303,"endOffset":1131,"count":2},{"startOffset":747,"endOffset":1129,"count":0}],"isBlockCoverage":true},{"functionName":"addToBuffer","ranges":[{"startOffset":510,"endOffset":540,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":975,"endOffset":1022,"count":0}],"isBlockCoverage":false},{"functionName":"selectAvaMessage","ranges":[{"startOffset":1159,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1167,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"RefCounter","ranges":[{"startOffset":1241,"endOffset":1277,"count":1}],"isBlockCoverage":true},{"functionName":"refAndTest","ranges":[{"startOffset":1280,"endOffset":1326,"count":2}],"isBlockCoverage":true},{"functionName":"testAndUnref","ranges":[{"startOffset":1329,"endOffset":1395,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortHandle","ranges":[{"startOffset":1426,"endOffset":1746,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1719,"endOffset":1727,"count":0}],"isBlockCoverage":false},{"functionName":"forceUnref","ranges":[{"startOffset":1749,"endOffset":1899,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":1902,"endOffset":2040,"count":2}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":2043,"endOffset":2179,"count":2}],"isBlockCoverage":true},{"functionName":"send","ranges":[{"startOffset":2182,"endOffset":2264,"count":39}],"isBlockCoverage":true},{"functionName":"IpcHandle","ranges":[{"startOffset":2287,"endOffset":2409,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":2412,"endOffset":2487,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":2490,"endOffset":2571,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2574,"endOffset":2616,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3157,"endOffset":3187,"count":0}],"isBlockCoverage":false},{"functionName":"flush","ranges":[{"startOffset":3456,"endOffset":3749,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3531,"endOffset":3704,"count":1}],"isBlockCoverage":true},{"functionName":"createChannelEmitter","ranges":[{"startOffset":3859,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"registerSharedWorker","ranges":[{"startOffset":4406,"endOffset":7096,"count":0}],"isBlockCoverage":false}]},{"scriptId":"617","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/utils.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true}]},{"scriptId":"618","url":"node:internal/modules/esm/initialize_import_meta","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1960,"count":1}],"isBlockCoverage":false},{"functionName":"createImportMetaResolve","ranges":[{"startOffset":617,"endOffset":1368,"count":3}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":880,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"initializeImportMeta","ranges":[{"startOffset":1633,"endOffset":1912,"count":3}],"isBlockCoverage":true}]},{"scriptId":"619","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/options.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":278,"count":1}],"isBlockCoverage":true},{"functionName":"exports.get","ranges":[{"startOffset":48,"endOffset":147,"count":0}],"isBlockCoverage":false},{"functionName":"exports.set","ranges":[{"startOffset":164,"endOffset":276,"count":1},{"startOffset":194,"endOffset":250,"count":0}],"isBlockCoverage":true}]},{"scriptId":"620","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-event/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6062,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeEmitter","ranges":[{"startOffset":60,"endOffset":453,"count":3},{"startOffset":105,"endOffset":127,"count":0},{"startOffset":128,"endOffset":155,"count":0},{"startOffset":193,"endOffset":218,"count":0},{"startOffset":219,"endOffset":249,"count":0},{"startOffset":290,"endOffset":346,"count":0}],"isBlockCoverage":true},{"functionName":"pEventMultiple","ranges":[{"startOffset":463,"endOffset":2125,"count":3},{"startOffset":1994,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":560,"endOffset":1917,"count":3},{"startOffset":812,"endOffset":892,"count":0},{"startOffset":1890,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"onItem","ranges":[{"startOffset":1060,"endOffset":1389,"count":3},{"startOffset":1116,"endOffset":1128,"count":0},{"startOffset":1263,"endOffset":1281,"count":2},{"startOffset":1281,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"rejectHandler","ranges":[{"startOffset":1416,"endOffset":1461,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":1475,"endOffset":1675,"count":1}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":2134,"endOffset":2551,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2421,"endOffset":2438,"count":1}],"isBlockCoverage":true},{"functionName":"pEventIterator","ranges":[{"startOffset":2560,"endOffset":6020,"count":0}],"isBlockCoverage":false}]},{"scriptId":"621","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@ava/typescript/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8330,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":352,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"validate","ranges":[{"startOffset":478,"endOffset":1131,"count":0}],"isBlockCoverage":false},{"functionName":"compileTypeScript","ranges":[{"startOffset":1133,"endOffset":1260,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1321,"endOffset":1393,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1436,"endOffset":1654,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1696,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"typescriptProvider","ranges":[{"startOffset":2093,"endOffset":8329,"count":1},{"startOffset":2251,"endOffset":2265,"count":0}],"isBlockCoverage":true},{"functionName":"main","ranges":[{"startOffset":2279,"endOffset":7324,"count":0}],"isBlockCoverage":false},{"functionName":"worker","ranges":[{"startOffset":7329,"endOffset":8322,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7526,"endOffset":7556,"count":3}],"isBlockCoverage":true},{"functionName":"canLoad","ranges":[{"startOffset":7591,"endOffset":7707,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7667,"endOffset":7699,"count":2}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":7714,"endOffset":8311,"count":1},{"startOffset":7935,"endOffset":8023,"count":0},{"startOffset":8055,"endOffset":8118,"count":0},{"startOffset":8247,"endOffset":8281,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7787,"endOffset":7819,"count":2}],"isBlockCoverage":true}]},{"scriptId":"622","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-timeout/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2513,"count":1}],"isBlockCoverage":true},{"functionName":"TimeoutError","ranges":[{"startOffset":43,"endOffset":116,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":315,"endOffset":405,"count":0}],"isBlockCoverage":false},{"functionName":"getDOMException","ranges":[{"startOffset":516,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"getAbortedReason","ranges":[{"startOffset":755,"endOffset":951,"count":0}],"isBlockCoverage":false},{"functionName":"pTimeout","ranges":[{"startOffset":969,"endOffset":2512,"count":0}],"isBlockCoverage":false}]},{"scriptId":"623","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7897,"count":1}],"isBlockCoverage":true},{"functionName":"getEnv","ranges":[{"startOffset":955,"endOffset":1187,"count":0}],"isBlockCoverage":false},{"functionName":"handleArguments","ranges":[{"startOffset":1214,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"handleOutput","ranges":[{"startOffset":1965,"endOffset":2268,"count":0}],"isBlockCoverage":false},{"functionName":"execa","ranges":[{"startOffset":2278,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"execaSync","ranges":[{"startOffset":4687,"endOffset":6032,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptStdin","ranges":[{"startOffset":6063,"endOffset":6191,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptOptions","ranges":[{"startOffset":6225,"endOffset":6316,"count":0}],"isBlockCoverage":false},{"functionName":"create$","ranges":[{"startOffset":6319,"endOffset":6973,"count":1}],"isBlockCoverage":true},{"functionName":"$","ranges":[{"startOffset":6348,"endOffset":6640,"count":0}],"isBlockCoverage":false},{"functionName":"$.sync","ranges":[{"startOffset":6652,"endOffset":6958,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommand","ranges":[{"startOffset":7011,"endOffset":7138,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommandSync","ranges":[{"startOffset":7147,"endOffset":7282,"count":0}],"isBlockCoverage":false},{"functionName":"execaNode","ranges":[{"startOffset":7291,"endOffset":7896,"count":0}],"isBlockCoverage":false}]},{"scriptId":"624","url":"node:child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27198,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1936,"endOffset":1965,"count":0}],"isBlockCoverage":false},{"functionName":"fork","ranges":[{"startOffset":3430,"endOffset":5105,"count":0}],"isBlockCoverage":false},{"functionName":"_forkChild","ranges":[{"startOffset":5107,"endOffset":5596,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecArgs","ranges":[{"startOffset":5598,"endOffset":6112,"count":0}],"isBlockCoverage":false},{"functionName":"exec","ranges":[{"startOffset":6649,"endOffset":6896,"count":0}],"isBlockCoverage":false},{"functionName":"customPromiseExecFunction","ranges":[{"startOffset":6932,"endOffset":7296,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6953,"endOffset":7293,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecFileArgs","ranges":[{"startOffset":7433,"endOffset":8331,"count":0}],"isBlockCoverage":false},{"functionName":"execFile","ranges":[{"startOffset":8944,"endOffset":13708,"count":0}],"isBlockCoverage":false},{"functionName":"copyProcessEnvToEnv","ranges":[{"startOffset":13852,"endOffset":14052,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeSpawnArguments","ranges":[{"startOffset":14054,"endOffset":19321,"count":0}],"isBlockCoverage":false},{"functionName":"abortChildProcess","ranges":[{"startOffset":19323,"endOffset":19579,"count":0}],"isBlockCoverage":false},{"functionName":"spawn","ranges":[{"startOffset":20134,"endOffset":21334,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":22094,"endOffset":23602,"count":0}],"isBlockCoverage":false},{"functionName":"checkExecSyncError","ranges":[{"startOffset":23605,"endOffset":23991,"count":0}],"isBlockCoverage":false},{"functionName":"execFileSync","ranges":[{"startOffset":24504,"endOffset":24968,"count":0}],"isBlockCoverage":false},{"functionName":"execSync","ranges":[{"startOffset":25466,"endOffset":25842,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentNullCheck","ranges":[{"startOffset":25845,"endOffset":26068,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentsNullCheck","ranges":[{"startOffset":26071,"endOffset":26233,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":26236,"endOffset":26424,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBuffer","ranges":[{"startOffset":26427,"endOffset":26700,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeKillSignal","ranges":[{"startOffset":26703,"endOffset":27066,"count":0}],"isBlockCoverage":false}]},{"scriptId":"625","url":"node:internal/child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31777,"count":1}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2500,"endOffset":2559,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2566,"endOffset":2620,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2682,"endOffset":2749,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2756,"endOffset":2897,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2927,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"postSend","ranges":[{"startOffset":4488,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5241,"endOffset":5698,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5763,"endOffset":5822,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5829,"endOffset":5883,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5948,"endOffset":6068,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":6075,"endOffset":6234,"count":0}],"isBlockCoverage":false},{"functionName":"stdioStringToArray","ranges":[{"startOffset":6245,"endOffset":6660,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess","ranges":[{"startOffset":6662,"endOffset":8151,"count":0}],"isBlockCoverage":false},{"functionName":"flushStdio","ranges":[{"startOffset":8274,"endOffset":8752,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":8755,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"getHandleWrapType","ranges":[{"startOffset":8848,"endOffset":9077,"count":0}],"isBlockCoverage":false},{"functionName":"closePendingHandle","ranges":[{"startOffset":9079,"endOffset":9192,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.spawn","ranges":[{"startOffset":9226,"endOffset":12793,"count":0}],"isBlockCoverage":false},{"functionName":"onErrorNT","ranges":[{"startOffset":12797,"endOffset":12858,"count":0}],"isBlockCoverage":false},{"functionName":"onSpawnNT","ranges":[{"startOffset":12861,"endOffset":12911,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.kill","ranges":[{"startOffset":12944,"endOffset":13609,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.","ranges":[{"startOffset":13652,"endOffset":13709,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.ref","ranges":[{"startOffset":13742,"endOffset":13796,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.unref","ranges":[{"startOffset":13831,"endOffset":13887,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13890,"endOffset":14887,"count":0}],"isBlockCoverage":false},{"functionName":"setupChannel","ranges":[{"startOffset":15035,"endOffset":27155,"count":0}],"isBlockCoverage":false},{"functionName":"isInternal","ranges":[{"startOffset":27190,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"getValidStdio","ranges":[{"startOffset":27534,"endOffset":30459,"count":0}],"isBlockCoverage":false},{"functionName":"getSocketList","ranges":[{"startOffset":30462,"endOffset":30778,"count":0}],"isBlockCoverage":false},{"functionName":"maybeClose","ranges":[{"startOffset":30781,"endOffset":30982,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":30984,"endOffset":31651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"626","url":"node:dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28253,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCluster","ranges":[{"startOffset":2824,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":3031,"endOffset":4459,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":4570,"endOffset":4648,"count":0}],"isBlockCoverage":false},{"functionName":"startListening","ranges":[{"startOffset":4651,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"replaceHandle","ranges":[{"startOffset":5096,"endOffset":5661,"count":0}],"isBlockCoverage":false},{"functionName":"bufferSize","ranges":[{"startOffset":5663,"endOffset":5955,"count":0}],"isBlockCoverage":false},{"functionName":"bindServerHandle","ranges":[{"startOffset":6023,"endOffset":6433,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.bind","ranges":[{"startOffset":6459,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":9932,"endOffset":10728,"count":0}],"isBlockCoverage":false},{"functionName":"_connect","ranges":[{"startOffset":10732,"endOffset":11078,"count":0}],"isBlockCoverage":false},{"functionName":"doConnect","ranges":[{"startOffset":11081,"endOffset":11723,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.disconnect","ranges":[{"startOffset":11756,"endOffset":12063,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.sendto","ranges":[{"startOffset":12168,"endOffset":12609,"count":0}],"isBlockCoverage":false},{"functionName":"sliceBuffer","ranges":[{"startOffset":12613,"endOffset":13373,"count":0}],"isBlockCoverage":false},{"functionName":"fixBufferList","ranges":[{"startOffset":13376,"endOffset":13760,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":13763,"endOffset":14190,"count":0}],"isBlockCoverage":false},{"functionName":"onListenSuccess","ranges":[{"startOffset":14193,"endOffset":14331,"count":0}],"isBlockCoverage":false},{"functionName":"onListenError","ranges":[{"startOffset":14334,"endOffset":14458,"count":0}],"isBlockCoverage":false},{"functionName":"clearQueue","ranges":[{"startOffset":14461,"endOffset":14658,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.send","ranges":[{"startOffset":15229,"endOffset":18122,"count":0}],"isBlockCoverage":false},{"functionName":"doSend","ranges":[{"startOffset":18125,"endOffset":19264,"count":0}],"isBlockCoverage":false},{"functionName":"afterSend","ranges":[{"startOffset":19266,"endOffset":19443,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.close","ranges":[{"startOffset":19470,"endOffset":20038,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":20080,"endOffset":20213,"count":0}],"isBlockCoverage":false},{"functionName":"socketCloseNT","ranges":[{"startOffset":20217,"endOffset":20271,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":20301,"endOffset":20491,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.remoteAddress","ranges":[{"startOffset":20527,"endOffset":20837,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setBroadcast","ranges":[{"startOffset":20873,"endOffset":21021,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setTTL","ranges":[{"startOffset":21051,"endOffset":21225,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastTTL","ranges":[{"startOffset":21264,"endOffset":21456,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastLoopback","ranges":[{"startOffset":21500,"endOffset":21700,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastInterface","ranges":[{"startOffset":21745,"endOffset":22007,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addMembership","ranges":[{"startOffset":22043,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropMembership","ranges":[{"startOffset":22455,"endOffset":22832,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addSourceSpecificMembership","ranges":[{"startOffset":22882,"endOffset":23489,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropSourceSpecificMembership","ranges":[{"startOffset":23541,"endOffset":24154,"count":0}],"isBlockCoverage":false},{"functionName":"healthCheck","ranges":[{"startOffset":24158,"endOffset":24321,"count":0}],"isBlockCoverage":false},{"functionName":"stopReceiving","ranges":[{"startOffset":24324,"endOffset":24488,"count":0}],"isBlockCoverage":false},{"functionName":"onMessage","ranges":[{"startOffset":24491,"endOffset":24745,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":24748,"endOffset":24863,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":24889,"endOffset":24996,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":25025,"endOffset":25134,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setRecvBufferSize","ranges":[{"startOffset":25175,"endOffset":25232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setSendBufferSize","ranges":[{"startOffset":25273,"endOffset":25330,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getRecvBufferSize","ranges":[{"startOffset":25371,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendBufferSize","ranges":[{"startOffset":25469,"endOffset":25526,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueSize","ranges":[{"startOffset":25565,"endOffset":25634,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueCount","ranges":[{"startOffset":25674,"endOffset":25744,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25863,"endOffset":25917,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25990,"endOffset":26046,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26199,"endOffset":26256,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26332,"endOffset":26391,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26547,"endOffset":26604,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26680,"endOffset":26739,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26891,"endOffset":26944,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27016,"endOffset":27071,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27223,"endOffset":27280,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27356,"endOffset":27415,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27522,"endOffset":27557,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27666,"endOffset":27703,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27988,"endOffset":28024,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":28028,"endOffset":28069,"count":0}],"isBlockCoverage":false}]},{"scriptId":"627","url":"node:internal/dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1851,"count":1}],"isBlockCoverage":false},{"functionName":"lookup4","ranges":[{"startOffset":478,"endOffset":579,"count":0}],"isBlockCoverage":false},{"functionName":"lookup6","ranges":[{"startOffset":582,"endOffset":677,"count":0}],"isBlockCoverage":false},{"functionName":"newHandle","ranges":[{"startOffset":679,"endOffset":1323,"count":0}],"isBlockCoverage":false},{"functionName":"_createSocketHandle","ranges":[{"startOffset":1326,"endOffset":1774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"628","url":"node:internal/socket_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2709,"count":1}],"isBlockCoverage":false},{"functionName":"SocketListSend","ranges":[{"startOffset":235,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"_request","ranges":[{"startOffset":380,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":1039,"endOffset":1190,"count":0}],"isBlockCoverage":false},{"functionName":"getConnections","ranges":[{"startOffset":1194,"endOffset":1430,"count":0}],"isBlockCoverage":false},{"functionName":"SocketListReceive","ranges":[{"startOffset":1544,"endOffset":2404,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":2408,"endOffset":2649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"629","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/strip-final-newline/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":347,"count":1}],"isBlockCoverage":true},{"functionName":"stripFinalNewline","ranges":[{"startOffset":15,"endOffset":346,"count":0}],"isBlockCoverage":false}]},{"scriptId":"630","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":938,"count":1}],"isBlockCoverage":true},{"functionName":"npmRunPath","ranges":[{"startOffset":134,"endOffset":741,"count":0}],"isBlockCoverage":false},{"functionName":"npmRunPathEnv","ranges":[{"startOffset":750,"endOffset":937,"count":0}],"isBlockCoverage":false}]},{"scriptId":"631","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/onetime/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1022,"count":1}],"isBlockCoverage":true},{"functionName":"onetime","ranges":[{"startOffset":95,"endOffset":767,"count":0}],"isBlockCoverage":false},{"functionName":"onetime.callCount","ranges":[{"startOffset":790,"endOffset":995,"count":0}],"isBlockCoverage":false}]},{"scriptId":"632","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2204,"count":1}],"isBlockCoverage":true},{"functionName":"getErrorPrefix","ranges":[{"startOffset":105,"endOffset":580,"count":0}],"isBlockCoverage":false},{"functionName":"makeError","ranges":[{"startOffset":608,"endOffset":2202,"count":0}],"isBlockCoverage":false}]},{"scriptId":"633","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stdio.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1157,"count":1}],"isBlockCoverage":true},{"functionName":"hasAlias","ranges":[{"startOffset":65,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdio","ranges":[{"startOffset":160,"endOffset":794,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdioNode","ranges":[{"startOffset":879,"endOffset":1155,"count":0}],"isBlockCoverage":false}]},{"scriptId":"634","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/kill.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2983,"count":1}],"isBlockCoverage":true},{"functionName":"spawnedKill","ranges":[{"startOffset":214,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"setKillTimeout","ranges":[{"startOffset":393,"endOffset":844,"count":0}],"isBlockCoverage":false},{"functionName":"shouldForceKill","ranges":[{"startOffset":871,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"isSigterm","ranges":[{"startOffset":1007,"endOffset":1128,"count":0}],"isBlockCoverage":false},{"functionName":"getForceKillAfterTimeout","ranges":[{"startOffset":1164,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"spawnedCancel","ranges":[{"startOffset":1623,"endOffset":1736,"count":0}],"isBlockCoverage":false},{"functionName":"timeoutKill","ranges":[{"startOffset":1759,"endOffset":1888,"count":0}],"isBlockCoverage":false},{"functionName":"setupTimeout","ranges":[{"startOffset":1948,"endOffset":2417,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":2451,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"setExitHandler","ranges":[{"startOffset":2737,"endOffset":2981,"count":0}],"isBlockCoverage":false}]},{"scriptId":"635","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/pipe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1194,"count":1}],"isBlockCoverage":true},{"functionName":"isExecaChildProcess","ranges":[{"startOffset":165,"endOffset":242,"count":0}],"isBlockCoverage":false},{"functionName":"pipeToTarget","ranges":[{"startOffset":266,"endOffset":826,"count":0}],"isBlockCoverage":false},{"functionName":"addPipeMethods","ranges":[{"startOffset":859,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"636","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2958,"count":1}],"isBlockCoverage":true},{"functionName":"validateInputOptions","ranges":[{"startOffset":198,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"getInputSync","ranges":[{"startOffset":347,"endOffset":495,"count":0}],"isBlockCoverage":false},{"functionName":"handleInputSync","ranges":[{"startOffset":576,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getInput","ranges":[{"startOffset":769,"endOffset":921,"count":0}],"isBlockCoverage":false},{"functionName":"handleInput","ranges":[{"startOffset":999,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"makeAllStream","ranges":[{"startOffset":1270,"endOffset":1518,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedData","ranges":[{"startOffset":1632,"endOffset":1940,"count":0}],"isBlockCoverage":false},{"functionName":"getStreamPromise","ranges":[{"startOffset":1968,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedResult","ranges":[{"startOffset":2300,"endOffset":2956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"637","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1109,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":91,"endOffset":105,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":186,"endOffset":281,"count":3}],"isBlockCoverage":true},{"functionName":"mergePromise","ranges":[{"startOffset":376,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedPromise","ranges":[{"startOffset":835,"endOffset":1107,"count":0}],"isBlockCoverage":false}]},{"scriptId":"638","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/command.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3071,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeArgs","ranges":[{"startOffset":108,"endOffset":207,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArg","ranges":[{"startOffset":302,"endOffset":449,"count":0}],"isBlockCoverage":false},{"functionName":"joinCommand","ranges":[{"startOffset":479,"endOffset":530,"count":0}],"isBlockCoverage":false},{"functionName":"getEscapedCommand","ranges":[{"startOffset":566,"endOffset":644,"count":0}],"isBlockCoverage":false},{"functionName":"parseCommand","ranges":[{"startOffset":732,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"parseExpression","ranges":[{"startOffset":1209,"endOffset":1923,"count":0}],"isBlockCoverage":false},{"functionName":"concatTokens","ranges":[{"startOffset":1947,"endOffset":2173,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplate","ranges":[{"startOffset":2198,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplates","ranges":[{"startOffset":2865,"endOffset":3068,"count":0}],"isBlockCoverage":false}]},{"scriptId":"639","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/verbose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"padField","ranges":[{"startOffset":148,"endOffset":204,"count":0}],"isBlockCoverage":false},{"functionName":"getTimestamp","ranges":[{"startOffset":228,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"logCommand","ranges":[{"startOffset":442,"endOffset":573,"count":0}],"isBlockCoverage":false}]},{"scriptId":"640","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":263,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":15,"endOffset":262,"count":0}],"isBlockCoverage":false}]},{"scriptId":"641","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/main.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1214,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalsByName","ranges":[{"startOffset":134,"endOffset":226,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalByName","ranges":[{"startOffset":251,"endOffset":386,"count":69}],"isBlockCoverage":true},{"functionName":"getSignalsByNumber","ranges":[{"startOffset":465,"endOffset":652,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":559,"endOffset":609,"count":65}],"isBlockCoverage":true},{"functionName":"getSignalByNumber","ranges":[{"startOffset":679,"endOffset":939,"count":65},{"startOffset":771,"endOffset":784,"count":3},{"startOffset":784,"endOffset":938,"count":62}],"isBlockCoverage":true},{"functionName":"findSignalByNumber","ranges":[{"startOffset":969,"endOffset":1161,"count":65},{"startOffset":1083,"endOffset":1101,"count":31},{"startOffset":1101,"endOffset":1160,"count":34}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1015,"endOffset":1057,"count":2919}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1123,"endOffset":1157,"count":1881}],"isBlockCoverage":true}]},{"scriptId":"642","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":746,"count":1}],"isBlockCoverage":true},{"functionName":"isStream","ranges":[{"startOffset":7,"endOffset":132,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":141,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":332,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexStream","ranges":[{"startOffset":522,"endOffset":621,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":630,"endOffset":745,"count":0}],"isBlockCoverage":false}]},{"scriptId":"643","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/realtime.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":353,"count":1}],"isBlockCoverage":true},{"functionName":"getRealtimeSignals","ranges":[{"startOffset":33,"endOffset":121,"count":2}],"isBlockCoverage":true},{"functionName":"getRealtimeSignal","ranges":[{"startOffset":148,"endOffset":306,"count":62}],"isBlockCoverage":true}]},{"scriptId":"644","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1}],"isBlockCoverage":true},{"functionName":"getSignals","ranges":[{"startOffset":139,"endOffset":274,"count":2}],"isBlockCoverage":true},{"functionName":"normalizeSignal","ranges":[{"startOffset":305,"endOffset":602,"count":138},{"startOffset":504,"endOffset":519,"count":66},{"startOffset":519,"endOffset":533,"count":72}],"isBlockCoverage":true}]},{"scriptId":"645","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4126,"count":1}],"isBlockCoverage":true}]},{"scriptId":"646","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1}],"isBlockCoverage":true},{"functionName":"spawn","ranges":[{"startOffset":131,"endOffset":589,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":591,"endOffset":1038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"647","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3065,"count":1}],"isBlockCoverage":true},{"functionName":"detectShebang","ranges":[{"startOffset":354,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"parseNonShell","ranges":[{"startOffset":661,"endOffset":2367,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":2369,"endOffset":3039,"count":0}],"isBlockCoverage":false}]},{"scriptId":"648","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/resolveCommand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1557,"count":1}],"isBlockCoverage":true},{"functionName":"resolveCommandAttempt","ranges":[{"startOffset":118,"endOffset":1404,"count":0}],"isBlockCoverage":false},{"functionName":"resolveCommand","ranges":[{"startOffset":1406,"endOffset":1522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"649","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/which/which.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3163,"count":1},{"startOffset":177,"endOffset":182,"count":0}],"isBlockCoverage":true},{"functionName":"getNotFoundError","ranges":[{"startOffset":246,"endOffset":322,"count":0}],"isBlockCoverage":false},{"functionName":"getPathInfo","ranges":[{"startOffset":344,"endOffset":1152,"count":0}],"isBlockCoverage":false},{"functionName":"which","ranges":[{"startOffset":1168,"endOffset":2279,"count":0}],"isBlockCoverage":false},{"functionName":"whichSync","ranges":[{"startOffset":2299,"endOffset":3115,"count":0}],"isBlockCoverage":false}]},{"scriptId":"650","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1},{"startOffset":92,"endOffset":128,"count":0}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":211,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":930,"endOffset":1191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"651","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/mode.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":909,"count":1}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":66,"endOffset":197,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":199,"endOffset":279,"count":0}],"isBlockCoverage":false},{"functionName":"checkStat","ranges":[{"startOffset":281,"endOffset":370,"count":0}],"isBlockCoverage":false},{"functionName":"checkMode","ranges":[{"startOffset":372,"endOffset":908,"count":0}],"isBlockCoverage":false}]},{"scriptId":"652","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":415,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":31,"endOffset":304,"count":0}],"isBlockCoverage":false}]},{"scriptId":"653","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/escape.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"escapeCommand","ranges":[{"startOffset":121,"endOffset":241,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArgument","ranges":[{"startOffset":243,"endOffset":1088,"count":0}],"isBlockCoverage":false}]},{"scriptId":"654","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/readShebang.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":549,"count":1}],"isBlockCoverage":true},{"functionName":"readShebang","ranges":[{"startOffset":93,"endOffset":517,"count":0}],"isBlockCoverage":false}]},{"scriptId":"655","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-command/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":387,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":79,"endOffset":385,"count":0}],"isBlockCoverage":false}]},{"scriptId":"656","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":42,"count":1}],"isBlockCoverage":true}]},{"scriptId":"657","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/enoent.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1480,"count":1}],"isBlockCoverage":true},{"functionName":"notFoundError","ranges":[{"startOffset":60,"endOffset":358,"count":0}],"isBlockCoverage":false},{"functionName":"hookChildProcess","ranges":[{"startOffset":360,"endOffset":1023,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENT","ranges":[{"startOffset":1025,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENTSync","ranges":[{"startOffset":1197,"endOffset":1375,"count":0}],"isBlockCoverage":false}]},{"scriptId":"658","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5708,"count":1},{"startOffset":778,"endOffset":844,"count":0},{"startOffset":1059,"endOffset":1089,"count":0},{"startOffset":1144,"endOffset":1195,"count":0}],"isBlockCoverage":true},{"functionName":"processOk","ranges":[{"startOffset":293,"endOffset":677,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":799,"endOffset":842,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1703,"endOffset":2301,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2318,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2724,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3001,"endOffset":3890,"count":18}],"isBlockCoverage":true},{"functionName":"listener","ranges":[{"startOffset":3042,"endOffset":3886,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.signals","ranges":[{"startOffset":3920,"endOffset":3956,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":3993,"endOffset":4602,"count":0}],"isBlockCoverage":false},{"functionName":"processReallyExit","ranges":[{"startOffset":4712,"endOffset":5108,"count":0}],"isBlockCoverage":false},{"functionName":"processEmit","ranges":[{"startOffset":5171,"endOffset":5705,"count":0}],"isBlockCoverage":false}]},{"scriptId":"659","url":"node:assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31879,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadComparison","ranges":[{"startOffset":2704,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":3469,"endOffset":3517,"count":0}],"isBlockCoverage":false},{"functionName":"innerFail","ranges":[{"startOffset":4071,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":4348,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"findColumn","ranges":[{"startOffset":5445,"endOffset":6385,"count":0}],"isBlockCoverage":false},{"functionName":"getCode","ranges":[{"startOffset":6387,"endOffset":8032,"count":0}],"isBlockCoverage":false},{"functionName":"parseCode","ranges":[{"startOffset":8034,"endOffset":9451,"count":0}],"isBlockCoverage":false},{"functionName":"getErrMessage","ranges":[{"startOffset":9453,"endOffset":12547,"count":0}],"isBlockCoverage":false},{"functionName":"innerOk","ranges":[{"startOffset":12549,"endOffset":13157,"count":1},{"startOffset":12610,"endOffset":13155,"count":0}],"isBlockCoverage":true},{"functionName":"ok","ranges":[{"startOffset":13290,"endOffset":13351,"count":1}],"isBlockCoverage":true},{"functionName":"equal","ranges":[{"startOffset":13610,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"notEqual","ranges":[{"startOffset":14201,"endOffset":14577,"count":0}],"isBlockCoverage":false},{"functionName":"deepEqual","ranges":[{"startOffset":14777,"endOffset":15142,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepEqual","ranges":[{"startOffset":15348,"endOffset":15721,"count":0}],"isBlockCoverage":false},{"functionName":"deepStrictEqual","ranges":[{"startOffset":15964,"endOffset":16353,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepStrictEqual","ranges":[{"startOffset":16602,"endOffset":16999,"count":0}],"isBlockCoverage":false},{"functionName":"strictEqual","ranges":[{"startOffset":17204,"endOffset":17517,"count":0}],"isBlockCoverage":false},{"functionName":"notStrictEqual","ranges":[{"startOffset":17729,"endOffset":18050,"count":0}],"isBlockCoverage":false},{"functionName":"Comparison","ranges":[{"startOffset":18074,"endOffset":18456,"count":0}],"isBlockCoverage":false},{"functionName":"compareExceptionKey","ranges":[{"startOffset":18460,"endOffset":19179,"count":0}],"isBlockCoverage":false},{"functionName":"expectedException","ranges":[{"startOffset":19181,"endOffset":22585,"count":0}],"isBlockCoverage":false},{"functionName":"getActual","ranges":[{"startOffset":22587,"endOffset":22727,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsPromise","ranges":[{"startOffset":22729,"endOffset":23093,"count":0}],"isBlockCoverage":false},{"functionName":"waitForActual","ranges":[{"startOffset":23095,"endOffset":23809,"count":0}],"isBlockCoverage":false},{"functionName":"expectsError","ranges":[{"startOffset":23811,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"hasMatchingError","ranges":[{"startOffset":25430,"endOffset":26048,"count":0}],"isBlockCoverage":false},{"functionName":"expectsNoError","ranges":[{"startOffset":26050,"endOffset":26701,"count":0}],"isBlockCoverage":false},{"functionName":"throws","ranges":[{"startOffset":26859,"endOffset":26953,"count":0}],"isBlockCoverage":false},{"functionName":"rejects","ranges":[{"startOffset":27132,"endOffset":27244,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotThrow","ranges":[{"startOffset":27406,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotReject","ranges":[{"startOffset":27666,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"ifError","ranges":[{"startOffset":27906,"endOffset":29695,"count":0}],"isBlockCoverage":false},{"functionName":"internalMatch","ranges":[{"startOffset":29698,"endOffset":30781,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":30977,"endOffset":31069,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotMatch","ranges":[{"startOffset":31277,"endOffset":31383,"count":0}],"isBlockCoverage":false},{"functionName":"strict","ranges":[{"startOffset":31574,"endOffset":31643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"660","url":"node:internal/assert/assertion_error","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17104,"count":1}],"isBlockCoverage":false},{"functionName":"copyError","ranges":[{"startOffset":1449,"endOffset":1743,"count":0}],"isBlockCoverage":false},{"functionName":"inspectValue","ranges":[{"startOffset":1745,"endOffset":2353,"count":0}],"isBlockCoverage":false},{"functionName":"createErrDiff","ranges":[{"startOffset":2355,"endOffset":11091,"count":0}],"isBlockCoverage":false},{"functionName":"addEllipsis","ranges":[{"startOffset":11093,"endOffset":11396,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":11437,"endOffset":16133,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16137,"endOffset":16212,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16216,"endOffset":17067,"count":0}],"isBlockCoverage":false}]},{"scriptId":"661","url":"node:internal/util/colors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1122,"count":1}],"isBlockCoverage":false},{"functionName":"lazyInternalTTY","ranges":[{"startOffset":32,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"shouldColorize","ranges":[{"startOffset":244,"endOffset":504,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":508,"endOffset":1090,"count":1},{"startOffset":550,"endOffset":1086,"count":0}],"isBlockCoverage":true}]},{"scriptId":"662","url":"node:internal/assert/calltracker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3452,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":462,"endOffset":1495,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1497,"endOffset":3420,"count":0}],"isBlockCoverage":false}]},{"scriptId":"663","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1295,"count":1}],"isBlockCoverage":true}]},{"scriptId":"664","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1489,"count":1}],"isBlockCoverage":true},{"functionName":"MaxBufferError","ranges":[{"startOffset":292,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"getStream","ranges":[{"startOffset":377,"endOffset":1223,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.buffer","ranges":[{"startOffset":1277,"endOffset":1349,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.array","ranges":[{"startOffset":1374,"endOffset":1439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"665","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/buffer-stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":894,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":92,"endOffset":892,"count":0}],"isBlockCoverage":false}]},{"scriptId":"666","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":885,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":76,"endOffset":884,"count":0}],"isBlockCoverage":false}]},{"scriptId":"667","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/unit/utils/filters-test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2255,"count":1}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":70,"endOffset":151,"count":1},{"startOffset":122,"endOffset":127,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":368,"endOffset":445,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":493,"endOffset":585,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":643,"endOffset":774,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":833,"endOffset":1001,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1053,"endOffset":1164,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1217,"endOffset":1329,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1388,"endOffset":1620,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1665,"endOffset":1980,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2025,"endOffset":2212,"count":1}],"isBlockCoverage":true}]},{"scriptId":"668","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/entrypoints/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":66,"count":1}],"isBlockCoverage":true}]},{"scriptId":"669","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":277,"count":1}],"isBlockCoverage":true}]},{"scriptId":"670","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/guard-environment.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1},{"startOffset":271,"endOffset":602,"count":0}],"isBlockCoverage":true}]},{"scriptId":"671","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/filters.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1753,"count":1}],"isBlockCoverage":true},{"functionName":"escapeOption","ranges":[{"startOffset":170,"endOffset":314,"count":10},{"startOffset":234,"endOffset":293,"count":6},{"startOffset":293,"endOffset":313,"count":4}],"isBlockCoverage":true},{"functionName":"escapeFilter","ranges":[{"startOffset":315,"endOffset":467,"count":7},{"startOffset":383,"endOffset":446,"count":2},{"startOffset":446,"endOffset":466,"count":5}],"isBlockCoverage":true},{"functionName":"generateFilter","ranges":[{"startOffset":468,"endOffset":1353,"count":14},{"startOffset":569,"endOffset":629,"count":2},{"startOffset":652,"endOffset":993,"count":5},{"startOffset":727,"endOffset":840,"count":2},{"startOffset":840,"endOffset":924,"count":3},{"startOffset":1010,"endOffset":1068,"count":7},{"startOffset":1090,"endOffset":1183,"count":3},{"startOffset":1206,"endOffset":1326,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":779,"endOffset":828,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":890,"endOffset":912,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1134,"endOffset":1149,"count":7}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1279,"endOffset":1294,"count":7}],"isBlockCoverage":true},{"functionName":"generateFilterChain","ranges":[{"startOffset":1395,"endOffset":1504,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1454,"endOffset":1490,"count":7}],"isBlockCoverage":true},{"functionName":"generateFilterGraph","ranges":[{"startOffset":1556,"endOffset":1666,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1615,"endOffset":1652,"count":2}],"isBlockCoverage":true}]},{"scriptId":"672","url":"node:internal/util/iterable_weak_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1959,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":373,"endOffset":1819,"count":1}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":521,"endOffset":1033,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1037,"endOffset":1093,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":1097,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":1150,"endOffset":1388,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1392,"endOffset":1817,"count":1}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":1484,"endOffset":1736,"count":1},{"startOffset":1567,"endOffset":1735,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1758,"endOffset":1793,"count":0}],"isBlockCoverage":false},{"functionName":"cleanup","ranges":[{"startOffset":1821,"endOffset":1874,"count":0}],"isBlockCoverage":false}]}],"timestamp":85118.324729,"source-map-cache":{"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js":{"lineLengths":[13,7,62,74,65,63,53,60,45,115,43,34,51,41,47,46,41,38,37,55,26,64,27,15,15,25,20,6,17,22,17,6,14,23,19,35,40,9,52,24,28,30,32,11,5,16,36,5,28,40,35,29,23,19,9,28,43,28,9,14,30,9,5,28,31,25,9,32,24,46,51,9,28,62,9,19,5,1,22,1,37,12,26,44,10,16,34,10,18,36,10,6,2,49,14,25,5,14,16,1,41,52,40,25,65,24,29,13,25,31,23,20,26,16,32,43,32,49,45,70,71,69,35,63,46,83,84,82,82,81,27,37,34,68,74,61,17,36,49,34,70,41,68,29,53,40,17,14,9,61,49,5,22,29,40,29,9,28,37,24,9,59,33,22,49,63,68,30,13,10,5,12,27,19,9,28,65,68,68,35,33,49,17,51,23,46,13,25,9,44,47,10,46,49,10,5,14,28,19,9,29,45,53,33,28,75,13,32,17,60,37,13,25,32,11,55,67,33,5,30,29,40,21,9,43,28,65,91,5,31,45,56,46,49,37,13,33,60,33,69,32,23,9,14,55,9,5,1,35,65,25,94,3,67,39,2,68,29,2,61,3,28,3,66,66,45,2,12,3,24,3,68,66,45,2,12,3,27,33],"data":{"version":3,"file":"index.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/index.ts"],"names":[],"mappings":";;;;AAAA,iEAAiE;AACjE,+DAA+D;AAC/D,qDAAqD;AACrD,4DAA4D;AAC5D,6CAAsC;AAC7B,wFADA,oBAAO,OACA;AAQhB,MAAM,SAAS,GAAG,CAAC,OAAY,EAAwB,EAAE,CACvD,CAAC,CAAC,OAAO;IACT,OAAO,OAAO,KAAK,QAAQ;IAC3B,OAAO,OAAO,CAAC,cAAc,KAAK,UAAU;IAC5C,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,UAAU,KAAK,UAAU;IACxC,OAAO,OAAO,CAAC,SAAS,KAAK,UAAU;IACvC,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,GAAG,KAAK,QAAQ;IAC/B,OAAO,OAAO,CAAC,EAAE,KAAK,UAAU,CAAA;AAElC,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;AACtD,MAAM,MAAM,GAAqD,UAAU,CAAA;AAC3E,MAAM,oBAAoB,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;AAwB/D,2BAA2B;AAC3B,MAAM,OAAO;IACX,OAAO,GAAY;QACjB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,KAAK;KACZ,CAAA;IAED,SAAS,GAAc;QACrB,SAAS,EAAE,EAAE;QACb,IAAI,EAAE,EAAE;KACT,CAAA;IAED,KAAK,GAAW,CAAC,CAAA;IACjB,EAAE,GAAW,IAAI,CAAC,MAAM,EAAE,CAAA;IAE1B;QACE,IAAI,MAAM,CAAC,YAAY,CAAC,EAAE;YACxB,OAAO,MAAM,CAAC,YAAY,CAAC,CAAA;SAC5B;QACD,oBAAoB,CAAC,MAAM,EAAE,YAAY,EAAE;YACzC,KAAK,EAAE,IAAI;YACX,QAAQ,EAAE,KAAK;YACf,UAAU,EAAE,KAAK;YACjB,YAAY,EAAE,KAAK;SACpB,CAAC,CAAA;IACJ,CAAC;IAED,EAAE,CAAC,EAAa,EAAE,EAAW;QAC3B,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC7B,CAAC;IAED,cAAc,CAAC,EAAa,EAAE,EAAW;QACvC,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;QAC/B,MAAM,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;QAC1B,qBAAqB;QACrB,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE;YACZ,OAAM;SACP;QACD,oBAAoB;QACpB,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;YAChC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAA;SAChB;aAAM;YACL,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;SAClB;IACH,CAAC;IAED,IAAI,CACF,EAAa,EACb,IAA+B,EAC/B,MAA6B;QAE7B,IAAI,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;YACpB,OAAO,KAAK,CAAA;SACb;QACD,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,IAAI,CAAA;QACvB,IAAI,GAAG,GAAY,KAAK,CAAA;QACxB,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE;YACnC,GAAG,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,IAAI,IAAI,GAAG,CAAA;SACvC;QACD,IAAI,EAAE,KAAK,MAAM,EAAE;YACjB,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,GAAG,CAAA;SAClD;QACD,OAAO,GAAG,CAAA;IACZ,CAAC;CACF;AAED,MAAe,cAAc;CAI5B;AAED,MAAM,cAAc,GAAG,CAA2B,OAAU,EAAE,EAAE;IAC9D,OAAO;QACL,MAAM,CAAC,EAAW,EAAE,IAA+B;YACjD,OAAO,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;QACjC,CAAC;QACD,IAAI;YACF,OAAO,OAAO,CAAC,IAAI,EAAE,CAAA;QACvB,CAAC;QACD,MAAM;YACJ,OAAO,OAAO,CAAC,MAAM,EAAE,CAAA;QACzB,CAAC;KACF,CAAA;AACH,CAAC,CAAA;AAED,MAAM,kBAAmB,SAAQ,cAAc;IAC7C,MAAM;QACJ,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;IACjB,CAAC;IACD,IAAI,KAAI,CAAC;IACT,MAAM,KAAI,CAAC;CACZ;AAED,MAAM,UAAW,SAAQ,cAAc;IACrC,gDAAgD;IAChD,oCAAoC;IACpC,qBAAqB;IACrB,OAAO,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC5D,oBAAoB;IACpB,QAAQ,GAAG,IAAI,OAAO,EAAE,CAAA;IACxB,QAAQ,CAAW;IACnB,oBAAoB,CAAmB;IACvC,0BAA0B,CAAyB;IAEnD,aAAa,GAA2C,EAAE,CAAA;IAC1D,OAAO,GAAY,KAAK,CAAA;IAExB,YAAY,OAAkB;QAC5B,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAA;QACvB,mCAAmC;QACnC,IAAI,CAAC,aAAa,GAAG,EAAE,CAAA;QACvB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,GAAG,EAAE;gBAC7B,sDAAsD;gBACtD,uDAAuD;gBACvD,qDAAqD;gBACrD,mBAAmB;gBACnB,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;gBAC9C,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAA;gBAC7B,mEAAmE;gBACnE,oEAAoE;gBACpE,kEAAkE;gBAClE,kEAAkE;gBAClE,iEAAiE;gBACjE,WAAW;gBACX,qBAAqB;gBACrB,MAAM,CAAC,GAAG,OAET,CAAA;gBACD,IACE,OAAO,CAAC,CAAC,uBAAuB,KAAK,QAAQ;oBAC7C,OAAO,CAAC,CAAC,uBAAuB,CAAC,KAAK,KAAK,QAAQ,EACnD;oBACA,KAAK,IAAI,CAAC,CAAC,uBAAuB,CAAC,KAAK,CAAA;iBACzC;gBACD,oBAAoB;gBACpB,IAAI,SAAS,CAAC,MAAM,KAAK,KAAK,EAAE;oBAC9B,IAAI,CAAC,MAAM,EAAE,CAAA;oBACb,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,CAAA;oBACjD,qBAAqB;oBACrB,MAAM,CAAC,GAAG,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAA;oBAC/C,IAAI,CAAC,GAAG;wBAAE,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;oBACtC,oBAAoB;iBACrB;YACH,CAAC,CAAA;SACF;QAED,IAAI,CAAC,0BAA0B,GAAG,OAAO,CAAC,UAAU,CAAA;QACpD,IAAI,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAA;IAC1C,CAAC;IAED,MAAM,CAAC,EAAW,EAAE,IAA+B;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;SAChB;QACD,oBAAoB;QAEpB,IAAI,IAAI,CAAC,OAAO,KAAK,KAAK,EAAE;YAC1B,IAAI,CAAC,IAAI,EAAE,CAAA;SACZ;QAED,MAAM,EAAE,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAA;QAClD,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;QACxB,OAAO,GAAG,EAAE;YACV,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;YACpC,IACE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC;gBAC5C,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,MAAM,KAAK,CAAC,EACjD;gBACA,IAAI,CAAC,MAAM,EAAE,CAAA;aACd;QACH,CAAC,CAAA;IACH,CAAC;IAED,IAAI;QACF,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;QAEnB,yDAAyD;QACzD,4DAA4D;QAC5D,4DAA4D;QAC5D,2BAA2B;QAC3B,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;QAExB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI;gBACF,MAAM,EAAE,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;gBAClC,IAAI,EAAE;oBAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;aAClC;YAAC,OAAO,CAAC,EAAE,GAAE;SACf;QAED,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,EAAU,EAAE,GAAG,CAAQ,EAAE,EAAE;YAC/C,OAAO,IAAI,CAAC,YAAY,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,CAAA;QACpC,CAAC,CAAA;QACD,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,CAAC,IAAgC,EAAE,EAAE;YAC9D,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAA;QACtC,CAAC,CAAA;IACH,CAAC;IAED,MAAM;QACJ,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACjB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QAEpB,oBAAO,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACpB,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;YACxC,qBAAqB;YACrB,IAAI,CAAC,QAAQ,EAAE;gBACb,MAAM,IAAI,KAAK,CAAC,mCAAmC,GAAG,GAAG,CAAC,CAAA;aAC3D;YACD,oBAAoB;YACpB,IAAI;gBACF,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;gBAC3C,qBAAqB;aACtB;YAAC,OAAO,CAAC,EAAE,GAAE;YACd,oBAAoB;QACtB,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC,oBAAoB,CAAA;QAC9C,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,IAAI,CAAC,0BAA0B,CAAA;QAC1D,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;IAC1B,CAAC;IAED,kBAAkB,CAAC,IAAgC;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,CAAC,CAAA;SACT;QACD,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,IAAI,CAAC,CAAA;QAClC,oBAAoB;QAEpB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;QACxD,OAAO,IAAI,CAAC,0BAA0B,CAAC,IAAI,CACzC,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,QAAQ,CAAC,QAAQ,CACvB,CAAA;IACH,CAAC;IAED,YAAY,CAAC,EAAU,EAAE,GAAG,IAAW;QACrC,MAAM,EAAE,GAAG,IAAI,CAAC,oBAAoB,CAAA;QACpC,IAAI,EAAE,KAAK,MAAM,IAAI,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7C,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE;gBAC/B,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;gBAChC,qBAAqB;aACtB;YACD,qBAAqB;YACrB,MAAM,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;YAC/C,qBAAqB;YACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;YACxD,oBAAoB;YACpB,OAAO,GAAG,CAAA;SACX;aAAM;YACL,OAAO,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;SAC3C;IACH,CAAC;CACF;AAED,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAA;AAClC,iEAAiE;AACjE,yBAAyB;AACZ,KA6BT,cAAc,CAChB,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,kBAAkB,EAAE,CACxE;AA9BC;;;;;;;;GAQG;AACH,cAAM;AAEN;;;;;;GAMG;AACH,YAAI;AAEJ;;;;;;GAMG;AACH,cAAM,aAGP","sourcesContent":["// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nimport { signals } from './signals.js'\nexport { signals }\n\n// just a loosened process type so we can do some evil things\ntype ProcessRE = NodeJS.Process & {\n reallyExit: (code?: number | undefined | null) => any\n emit: (ev: string, ...a: any[]) => any\n}\n\nconst processOk = (process: any): process is ProcessRE =>\n !!process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n\nconst kExitEmitter = Symbol.for('signal-exit emitter')\nconst global: typeof globalThis & { [kExitEmitter]?: Emitter } = globalThis\nconst ObjectDefineProperty = Object.defineProperty.bind(Object)\n\n/**\n * A function that takes an exit code and signal as arguments\n *\n * In the case of signal exits *only*, a return value of true\n * will indicate that the signal is being handled, and we should\n * not synthetically exit with the signal we received. Regardless\n * of the handler return value, the handler is unloaded when an\n * otherwise fatal signal is received, so you get exactly 1 shot\n * at it, unless you add another onExit handler at that point.\n *\n * In the case of numeric code exits, we may already have committed\n * to exiting the process, for example via a fatal exception or\n * unhandled promise rejection, so it is impossible to stop safely.\n */\nexport type Handler = (\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n) => true | void\ntype ExitEvent = 'afterExit' | 'exit'\ntype Emitted = { [k in ExitEvent]: boolean }\ntype Listeners = { [k in ExitEvent]: Handler[] }\n\n// teeny special purpose ee\nclass Emitter {\n emitted: Emitted = {\n afterExit: false,\n exit: false,\n }\n\n listeners: Listeners = {\n afterExit: [],\n exit: [],\n }\n\n count: number = 0\n id: number = Math.random()\n\n constructor() {\n if (global[kExitEmitter]) {\n return global[kExitEmitter]\n }\n ObjectDefineProperty(global, kExitEmitter, {\n value: this,\n writable: false,\n enumerable: false,\n configurable: false,\n })\n }\n\n on(ev: ExitEvent, fn: Handler) {\n this.listeners[ev].push(fn)\n }\n\n removeListener(ev: ExitEvent, fn: Handler) {\n const list = this.listeners[ev]\n const i = list.indexOf(fn)\n /* c8 ignore start */\n if (i === -1) {\n return\n }\n /* c8 ignore stop */\n if (i === 0 && list.length === 1) {\n list.length = 0\n } else {\n list.splice(i, 1)\n }\n }\n\n emit(\n ev: ExitEvent,\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n ): boolean {\n if (this.emitted[ev]) {\n return false\n }\n this.emitted[ev] = true\n let ret: boolean = false\n for (const fn of this.listeners[ev]) {\n ret = fn(code, signal) === true || ret\n }\n if (ev === 'exit') {\n ret = this.emit('afterExit', code, signal) || ret\n }\n return ret\n }\n}\n\nabstract class SignalExitBase {\n abstract onExit(cb: Handler, opts?: { alwaysLast?: boolean }): () => void\n abstract load(): void\n abstract unload(): void\n}\n\nconst signalExitWrap = (handler: T) => {\n return {\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n return handler.onExit(cb, opts)\n },\n load() {\n return handler.load()\n },\n unload() {\n return handler.unload()\n },\n }\n}\n\nclass SignalExitFallback extends SignalExitBase {\n onExit() {\n return () => {}\n }\n load() {}\n unload() {}\n}\n\nclass SignalExit extends SignalExitBase {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n /* c8 ignore start */\n #hupSig = process.platform === 'win32' ? 'SIGINT' : 'SIGHUP'\n /* c8 ignore stop */\n #emitter = new Emitter()\n #process: ProcessRE\n #originalProcessEmit: ProcessRE['emit']\n #originalProcessReallyExit: ProcessRE['reallyExit']\n\n #sigListeners: { [k in NodeJS.Signals]?: () => void } = {}\n #loaded: boolean = false\n\n constructor(process: ProcessRE) {\n super()\n this.#process = process\n // { : , ... }\n this.#sigListeners = {}\n for (const sig of signals) {\n this.#sigListeners[sig] = () => {\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n const listeners = this.#process.listeners(sig)\n let { count } = this.#emitter\n // This is a workaround for the fact that signal-exit v3 and signal\n // exit v4 are not aware of each other, and each will attempt to let\n // the other handle it, so neither of them do. To correct this, we\n // detect if we're the only handler *except* for previous versions\n // of signal-exit, and increment by the count of listeners it has\n // created.\n /* c8 ignore start */\n const p = process as unknown as {\n __signal_exit_emitter__?: { count: number }\n }\n if (\n typeof p.__signal_exit_emitter__ === 'object' &&\n typeof p.__signal_exit_emitter__.count === 'number'\n ) {\n count += p.__signal_exit_emitter__.count\n }\n /* c8 ignore stop */\n if (listeners.length === count) {\n this.unload()\n const ret = this.#emitter.emit('exit', null, sig)\n /* c8 ignore start */\n const s = sig === 'SIGHUP' ? this.#hupSig : sig\n if (!ret) process.kill(process.pid, s)\n /* c8 ignore stop */\n }\n }\n }\n\n this.#originalProcessReallyExit = process.reallyExit\n this.#originalProcessEmit = process.emit\n }\n\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return () => {}\n }\n /* c8 ignore stop */\n\n if (this.#loaded === false) {\n this.load()\n }\n\n const ev = opts?.alwaysLast ? 'afterExit' : 'exit'\n this.#emitter.on(ev, cb)\n return () => {\n this.#emitter.removeListener(ev, cb)\n if (\n this.#emitter.listeners['exit'].length === 0 &&\n this.#emitter.listeners['afterExit'].length === 0\n ) {\n this.unload()\n }\n }\n }\n\n load() {\n if (this.#loaded) {\n return\n }\n this.#loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n this.#emitter.count += 1\n\n for (const sig of signals) {\n try {\n const fn = this.#sigListeners[sig]\n if (fn) this.#process.on(sig, fn)\n } catch (_) {}\n }\n\n this.#process.emit = (ev: string, ...a: any[]) => {\n return this.#processEmit(ev, ...a)\n }\n this.#process.reallyExit = (code?: number | null | undefined) => {\n return this.#processReallyExit(code)\n }\n }\n\n unload() {\n if (!this.#loaded) {\n return\n }\n this.#loaded = false\n\n signals.forEach(sig => {\n const listener = this.#sigListeners[sig]\n /* c8 ignore start */\n if (!listener) {\n throw new Error('Listener not defined for signal: ' + sig)\n }\n /* c8 ignore stop */\n try {\n this.#process.removeListener(sig, listener)\n /* c8 ignore start */\n } catch (_) {}\n /* c8 ignore stop */\n })\n this.#process.emit = this.#originalProcessEmit\n this.#process.reallyExit = this.#originalProcessReallyExit\n this.#emitter.count -= 1\n }\n\n #processReallyExit(code?: number | null | undefined) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return 0\n }\n this.#process.exitCode = code || 0\n /* c8 ignore stop */\n\n this.#emitter.emit('exit', this.#process.exitCode, null)\n return this.#originalProcessReallyExit.call(\n this.#process,\n this.#process.exitCode\n )\n }\n\n #processEmit(ev: string, ...args: any[]): any {\n const og = this.#originalProcessEmit\n if (ev === 'exit' && processOk(this.#process)) {\n if (typeof args[0] === 'number') {\n this.#process.exitCode = args[0]\n /* c8 ignore start */\n }\n /* c8 ignore start */\n const ret = og.call(this.#process, ev, ...args)\n /* c8 ignore start */\n this.#emitter.emit('exit', this.#process.exitCode, null)\n /* c8 ignore stop */\n return ret\n } else {\n return og.call(this.#process, ev, ...args)\n }\n }\n}\n\nconst process = globalThis.process\n// wrap so that we call the method on the actual handler, without\n// exporting it directly.\nexport const {\n /**\n * Called when the process is exiting, whether via signal, explicit\n * exit, or running out of stuff to do.\n *\n * If the global process object is not suitable for instrumentation,\n * then this will be a no-op.\n *\n * Returns a function that may be used to unload signal-exit.\n */\n onExit,\n\n /**\n * Load the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n load,\n\n /**\n * Unload the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n unload,\n} = signalExitWrap(\n processOk(process) ? new SignalExit(process) : new SignalExitFallback()\n)\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js":{"lineLengths":[13,62,25,3,47,2,54,54,53,55,28,2,55,54,52,2,54,49,2,56,52,55,36,2,54,50,54,13,3,21,52,35,133,61,14,16,6,1,35,68,1,35],"data":{"version":3,"file":"signals.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/signals.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACU,QAAA,OAAO,GAAqB,EAAE,CAAA;AAC3C,eAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAA;AAE3C,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CACV,SAAS,EACT,SAAS,EACT,WAAW,EACX,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,EACR,SAAS,EACT,QAAQ;IACR,yDAAyD;IACzD,UAAU;IACV,YAAY;KACb,CAAA;CACF;AAED,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAA;CACxD","sourcesContent":["/**\n * This is not the set of all possible signals.\n *\n * It IS, however, the set of all signals that trigger\n * an exit on either Linux or BSD systems. Linux is a\n * superset of the signal names supported on BSD, and\n * the unknown signals just fail to register, so we can\n * catch that easily enough.\n *\n * Windows signals are a different set, since there are\n * signals that terminate Windows processes, but don't\n * terminate (or don't even exist) on Posix systems.\n *\n * Don't bother with SIGKILL. It's uncatchable, which\n * means that we can't fire any callbacks anyway.\n *\n * If a user does happen to register a handler on a non-\n * fatal signal like SIGWINCH or something, and then\n * exit, it'll end up firing `process.emit('exit')`, so\n * the handler will be fired anyway.\n *\n * SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n * artificially, inherently leave the process in a\n * state from which it is not safe to try and enter JS\n * listeners.\n */\nexport const signals: NodeJS.Signals[] = []\nsignals.push('SIGHUP', 'SIGINT', 'SIGTERM')\n\nif (process.platform !== 'win32') {\n signals.push(\n 'SIGALRM',\n 'SIGABRT',\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n signals.push('SIGIO', 'SIGPOLL', 'SIGPWR', 'SIGSTKFLT')\n}\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/unit/utils/filters-test.js":{"lineLengths":[13,72,62,2,62,46,56,56,66,3,53,81,3,63,120,3,64,40,22,52,40,3,57,100,3,58,101,3,64,40,22,18,38,27,27,43,3,50,45,47,76,55,77,3,50,45,49,48,31,3,40],"data":{"version":3,"file":"filters-test.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/tests/unit/utils/filters-test.ts"],"names":[],"mappings":";;;;;AAAA,8CAAsB;AACtB,wDAImC;AAEnC,IAAA,aAAI,EAAC,2BAA2B,EAAE,CAAC,CAAC,EAAE,EAAE;IACtC,CAAC,CAAC,EAAE,CAAC,IAAA,wBAAc,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,CAAC,CAAA;AAChD,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,wBAAwB,EAAE,CAAC,CAAC,EAAE,EAAE;IACnC,CAAC,CAAC,EAAE,CAAC,IAAA,wBAAc,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,SAAS,CAAC,CAAA;AAC/D,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,kCAAkC,EAAE,CAAC,CAAC,EAAE,EAAE;IAC7C,CAAC,CAAC,EAAE,CACF,IAAA,wBAAc,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,EACpE,wBAAwB,CACzB,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,mCAAmC,EAAE,CAAC,CAAC,EAAE,EAAE;IAC9C,CAAC,CAAC,EAAE,CACF,IAAA,wBAAc,EAAC;QACb,MAAM,EAAE,KAAK;QACb,OAAO,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE;KAC7C,CAAC,EACF,8BAA8B,CAC/B,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,4BAA4B,EAAE,CAAC,CAAC,EAAE,EAAE;IACvC,CAAC,CAAC,EAAE,CACF,IAAA,wBAAc,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,EAC1D,cAAc,CACf,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,6BAA6B,EAAE,CAAC,CAAC,EAAE,EAAE;IACxC,CAAC,CAAC,EAAE,CACF,IAAA,wBAAc,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,EAC3D,cAAc,CACf,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,mCAAmC,EAAE,CAAC,CAAC,EAAE,EAAE;IAC9C,CAAC,CAAC,EAAE,CACF,IAAA,wBAAc,EAAC;QACb,MAAM,EAAE,KAAK;QACb,EAAE,EAAE,KAAK;QACT,OAAO,EAAE,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE;QAC7B,MAAM,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;QAClB,OAAO,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;KACpB,CAAC,EACF,iCAAiC,CAClC,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,qBAAqB,EAAE,CAAC,CAAC,EAAE,EAAE;IAChC,CAAC,CAAC,EAAE,CACF,IAAA,6BAAmB,EAAC;QAClB,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE;QACtC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE;QACnE,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE;KAChD,CAAC,EACF,mEAAmE,CACpE,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,qBAAqB,EAAE,CAAC,CAAC,EAAE,EAAE;IAChC,CAAC,CAAC,EAAE,CACF,IAAA,6BAAmB,EAAC;QAClB,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QACxC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;KACzC,CAAC,EACF,qBAAqB,CACtB,CAAA;AACH,CAAC,CAAC,CAAA"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/filters.js":{"lineLengths":[13,62,92,31,33,51,5,18,1,31,37,55,5,18,1,47,35,18,52,5,23,35,38,101,9,14,58,9,62,5,17,50,5,22,85,5,23,53,33,24,5,24,1,40,37,69,1,50,37,70,1,50,35],"data":{"version":3,"file":"filters.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/filters.ts"],"names":[],"mappings":";;;AAiBA,SAAS,YAAY,CAAC,MAAc;IAClC,IAAI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE;QAC1B,OAAO,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,MAAM,CAAC,CAAA;KAC3C;IAED,OAAO,MAAM,CAAA;AACf,CAAC;AAED,SAAS,YAAY,CAAC,MAAc;IAClC,IAAI,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC,EAAE;QAC9B,OAAO,MAAM,CAAC,OAAO,CAAC,eAAe,EAAE,MAAM,CAAC,CAAA;KAC/C;IAED,OAAO,MAAM,CAAA;AACf,CAAC;AAED,SAAgB,cAAc,CAC5B,IAAgB,EAChB,SAAkB,KAAK;IAEvB,IAAI,YAAY,GAAG,IAAI,CAAC,MAAM,CAAA;IAE9B,IAAI,IAAI,CAAC,EAAE,EAAE;QACX,YAAY,GAAG,GAAG,YAAY,IAAI,IAAI,CAAC,EAAE,EAAE,CAAA;KAC5C;IAED,IAAI,IAAI,CAAC,OAAO,EAAE;QAChB,IAAI,OAAO,GAAG,IAAI,CAAC,OAAO,CAAA;QAE1B,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE;YAC3B,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,GAAG,CACnC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,GAAG,GAAG,IAAI,YAAY,CAAC,KAAK,CAAC,EAAE,CAClD,CAAA;SACF;aAAM;YACL,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAA;SAC9C;QAED,YAAY,GAAG,GAAG,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAA;KACtD;IAED,IAAI,MAAM,EAAE;QACV,YAAY,GAAG,YAAY,CAAC,YAAY,CAAC,CAAA;KAC1C;IAED,IAAI,IAAI,CAAC,MAAM,EAAE;QACf,YAAY,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,YAAY,EAAE,CAAA;KAC7E;IAED,IAAI,IAAI,CAAC,OAAO,EAAE;QAChB,YAAY,GAAG,GAAG,YAAY,GAAG,IAAI,CAAC,OAAO;aAC1C,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC;aACpB,IAAI,CAAC,EAAE,CAAC,EAAE,CAAA;KACd;IAED,OAAO,YAAY,CAAA;AACrB,CAAC;AAvCD,wCAuCC;AAED,SAAgB,mBAAmB,CAAC,KAAkB;IACpD,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AAClE,CAAC;AAFD,kDAEC;AAED,SAAgB,mBAAmB,CAAC,KAAkB;IACpD,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACnE,CAAC;AAFD,kDAEC"},"url":null,"sourceURL":null}}} \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761247-2.json b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761247-2.json new file mode 100644 index 0000000..227a838 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761247-2.json @@ -0,0 +1 @@ +{"result":[{"scriptId":"78","url":"node:internal/per_context/primordials","functions":[{"functionName":"SafeIterator","ranges":[{"startOffset":9499,"endOffset":9570,"count":150}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":9575,"endOffset":9624,"count":722}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9629,"endOffset":9674,"count":85}],"isBlockCoverage":true},{"functionName":"desc.value","ranges":[{"startOffset":11239,"endOffset":11306,"count":65}],"isBlockCoverage":true},{"functionName":"SafeMap","ranges":[{"startOffset":11964,"endOffset":11992,"count":517}],"isBlockCoverage":false},{"functionName":"SafeWeakMap","ranges":[{"startOffset":12136,"endOffset":12164,"count":10}],"isBlockCoverage":false},{"functionName":"SafeSet","ranges":[{"startOffset":12293,"endOffset":12321,"count":519}],"isBlockCoverage":false},{"functionName":"SafeWeakSet","ranges":[{"startOffset":12465,"endOffset":12493,"count":1}],"isBlockCoverage":true},{"functionName":"SafeFinalizationRegistry","ranges":[{"startOffset":12745,"endOffset":12801,"count":3}],"isBlockCoverage":true},{"functionName":"SafeWeakRef","ranges":[{"startOffset":12954,"endOffset":12992,"count":5}],"isBlockCoverage":true},{"functionName":"SafePromise","ranges":[{"startOffset":13140,"endOffset":13182,"count":348}],"isBlockCoverage":true},{"functionName":"primordials.SafePromisePrototypeFinally","ranges":[{"startOffset":13686,"endOffset":13960,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13831,"endOffset":13955,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13861,"endOffset":13910,"count":58}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnArrayLike","ranges":[{"startOffset":15280,"endOffset":15836,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15315,"endOffset":15835,"count":97},{"startOffset":15485,"endOffset":15504,"count":62},{"startOffset":15577,"endOffset":15831,"count":158},{"startOffset":15615,"endOffset":15638,"count":0},{"startOffset":15831,"endOffset":15834,"count":158}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15706,"endOffset":15815,"count":158},{"startOffset":15788,"endOffset":15807,"count":35}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnVoid","ranges":[{"startOffset":16178,"endOffset":16580,"count":203}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16213,"endOffset":16579,"count":203},{"startOffset":16310,"endOffset":16320,"count":133},{"startOffset":16367,"endOffset":16575,"count":316},{"startOffset":16405,"endOffset":16428,"count":158},{"startOffset":16429,"endOffset":16442,"count":158},{"startOffset":16575,"endOffset":16578,"count":316}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16496,"endOffset":16559,"count":316},{"startOffset":16541,"endOffset":16551,"count":70}],"isBlockCoverage":true}]},{"scriptId":"80","url":"node:internal/per_context/messageport","functions":[{"functionName":"exports.emitMessage","ranges":[{"startOffset":407,"endOffset":993,"count":4},{"startOffset":683,"endOffset":991,"count":0}],"isBlockCoverage":true}]},{"scriptId":"81","url":"node:internal/bootstrap/realm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14749,"count":1}],"isBlockCoverage":false},{"functionName":"binding","ranges":[{"startOffset":4702,"endOffset":5475,"count":0}],"isBlockCoverage":false},{"functionName":"_linkedBinding","ranges":[{"startOffset":5505,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"internalBinding","ranges":[{"startOffset":5955,"endOffset":6217,"count":186},{"startOffset":6057,"endOffset":6197,"count":45}],"isBlockCoverage":true},{"functionName":"getOwn","ranges":[{"startOffset":6377,"endOffset":6531,"count":3417},{"startOffset":6513,"endOffset":6528,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6580,"endOffset":6676,"count":331},{"startOffset":6636,"endOffset":6676,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6803,"endOffset":6870,"count":331},{"startOffset":6854,"endOffset":6870,"count":261}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7100,"endOffset":7136,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7508,"endOffset":7609,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7568,"endOffset":7603,"count":331}],"isBlockCoverage":true},{"functionName":"BuiltinModule","ranges":[{"startOffset":7614,"endOffset":8291,"count":331}],"isBlockCoverage":true},{"functionName":"allowRequireByUsers","ranges":[{"startOffset":8302,"endOffset":8663,"count":0}],"isBlockCoverage":false},{"functionName":"exposeInternals","ranges":[{"startOffset":8813,"endOffset":8964,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":8975,"endOffset":9029,"count":0}],"isBlockCoverage":false},{"functionName":"canBeRequiredByUsers","ranges":[{"startOffset":9040,"endOffset":9115,"count":201}],"isBlockCoverage":true},{"functionName":"canBeRequiredWithoutScheme","ranges":[{"startOffset":9126,"endOffset":9220,"count":1669}],"isBlockCoverage":true},{"functionName":"normalizeRequirableId","ranges":[{"startOffset":9231,"endOffset":9576,"count":1173},{"startOffset":9307,"endOffset":9469,"count":0},{"startOffset":9525,"endOffset":9549,"count":61},{"startOffset":9549,"endOffset":9575,"count":1112}],"isBlockCoverage":true},{"functionName":"isBuiltin","ranges":[{"startOffset":9587,"endOffset":9828,"count":0}],"isBlockCoverage":false},{"functionName":"getCanBeRequiredByUsersWithoutSchemeList","ranges":[{"startOffset":9839,"endOffset":9948,"count":1}],"isBlockCoverage":true},{"functionName":"getSchemeOnlyModuleNames","ranges":[{"startOffset":9959,"endOffset":10034,"count":0}],"isBlockCoverage":false},{"functionName":"compileForPublicLoader","ranges":[{"startOffset":10106,"endOffset":10818,"count":92},{"startOffset":10187,"endOffset":10379,"count":0},{"startOffset":10443,"endOffset":10740,"count":17},{"startOffset":10702,"endOffset":10706,"count":0}],"isBlockCoverage":true},{"functionName":"getESMFacade","ranges":[{"startOffset":10822,"endOffset":11584,"count":106},{"startOffset":10860,"endOffset":10879,"count":89},{"startOffset":10879,"endOffset":11583,"count":17}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11321,"endOffset":11424,"count":17}],"isBlockCoverage":true},{"functionName":"syncExports","ranges":[{"startOffset":11880,"endOffset":12224,"count":109},{"startOffset":11999,"endOffset":12214,"count":3417},{"startOffset":12076,"endOffset":12085,"count":0}],"isBlockCoverage":true},{"functionName":"compileForInternalLoader","ranges":[{"startOffset":12228,"endOffset":13050,"count":2226},{"startOffset":12277,"endOffset":12292,"count":156},{"startOffset":12294,"endOffset":12328,"count":2072},{"startOffset":12328,"endOffset":12467,"count":154},{"startOffset":12467,"endOffset":12502,"count":1},{"startOffset":12503,"endOffset":12519,"count":153},{"startOffset":12775,"endOffset":13049,"count":154}],"isBlockCoverage":true},{"functionName":"requireBuiltin","ranges":[{"startOffset":13245,"endOffset":13610,"count":2139},{"startOffset":13296,"endOffset":13327,"count":5},{"startOffset":13327,"endOffset":13512,"count":2134},{"startOffset":13512,"endOffset":13567,"count":0},{"startOffset":13567,"endOffset":13609,"count":2134}],"isBlockCoverage":true},{"functionName":"requireWithFallbackInDeps","ranges":[{"startOffset":13726,"endOffset":14002,"count":0}],"isBlockCoverage":false},{"functionName":"setupPrepareStackTrace","ranges":[{"startOffset":14004,"endOffset":14600,"count":1}],"isBlockCoverage":true}]},{"scriptId":"82","url":"node:internal/errors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":64999,"count":1}],"isBlockCoverage":false},{"functionName":"prepareStackTrace","ranges":[{"startOffset":2135,"endOffset":3623,"count":0}],"isBlockCoverage":false},{"functionName":"maybeOverridePrepareStackTrace","ranges":[{"startOffset":3665,"endOffset":4372,"count":2},{"startOffset":3934,"endOffset":4000,"count":0},{"startOffset":4281,"endOffset":4347,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4418,"endOffset":4964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5008,"endOffset":5207,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtil","ranges":[{"startOffset":5276,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtilInspect","ranges":[{"startOffset":5409,"endOffset":5537,"count":0}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":5555,"endOffset":5655,"count":0}],"isBlockCoverage":false},{"functionName":"lazyBuffer","ranges":[{"startOffset":5669,"endOffset":5750,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorStackTraceLimitWritable","ranges":[{"startOffset":5752,"endOffset":6259,"count":3},{"startOffset":5982,"endOffset":6005,"count":0},{"startOffset":6106,"endOffset":6149,"count":0},{"startOffset":6228,"endOffset":6256,"count":0}],"isBlockCoverage":true},{"functionName":"inspectWithNoCustomRetry","ranges":[{"startOffset":6261,"endOffset":6507,"count":0}],"isBlockCoverage":false},{"functionName":"SystemError","ranges":[{"startOffset":7009,"endOffset":9985,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":9989,"endOffset":10064,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10068,"endOffset":10258,"count":0}],"isBlockCoverage":false},{"functionName":"makeSystemErrorWithCode","ranges":[{"startOffset":10262,"endOffset":10407,"count":12}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10353,"endOffset":10400,"count":0}],"isBlockCoverage":false},{"functionName":"makeNodeErrorWithCode","ranges":[{"startOffset":10409,"endOffset":11467,"count":267}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10462,"endOffset":11464,"count":1}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":11209,"endOffset":11287,"count":0}],"isBlockCoverage":false},{"functionName":"hideStackFrames","ranges":[{"startOffset":11629,"endOffset":11894,"count":49}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":12006,"endOffset":12514,"count":273},{"startOffset":12248,"endOffset":12293,"count":12},{"startOffset":12293,"endOffset":12347,"count":261},{"startOffset":12382,"endOffset":12492,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12409,"endOffset":12486,"count":6}],"isBlockCoverage":true},{"functionName":"getMessage","ranges":[{"startOffset":12516,"endOffset":13389,"count":1},{"startOffset":12929,"endOffset":13388,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUv","ranges":[{"startOffset":13407,"endOffset":13487,"count":0}],"isBlockCoverage":false},{"functionName":"uvErrmapGet","ranges":[{"startOffset":13544,"endOffset":13696,"count":0}],"isBlockCoverage":false},{"functionName":"captureLargerStackTrace","ranges":[{"startOffset":13749,"endOffset":14151,"count":1}],"isBlockCoverage":true},{"functionName":"uvException","ranges":[{"startOffset":14478,"endOffset":15719,"count":0}],"isBlockCoverage":false},{"functionName":"uvExceptionWithHostPort","ranges":[{"startOffset":16082,"endOffset":17071,"count":0}],"isBlockCoverage":false},{"functionName":"errnoException","ranges":[{"startOffset":17291,"endOffset":18155,"count":0}],"isBlockCoverage":false},{"functionName":"exceptionWithHostPort","ranges":[{"startOffset":18559,"endOffset":19847,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20050,"endOffset":21591,"count":0}],"isBlockCoverage":false},{"functionName":"connResetException","ranges":[{"startOffset":21595,"endOffset":21750,"count":0}],"isBlockCoverage":false},{"functionName":"isStackOverflowError","ranges":[{"startOffset":22037,"endOffset":22415,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericalSeparator","ranges":[{"startOffset":22496,"endOffset":22764,"count":0}],"isBlockCoverage":false},{"functionName":"beforeInspector","ranges":[{"startOffset":23043,"endOffset":23434,"count":0}],"isBlockCoverage":false},{"functionName":"afterInspector","ranges":[{"startOffset":23438,"endOffset":24721,"count":0}],"isBlockCoverage":false},{"functionName":"setArrowMessage","ranges":[{"startOffset":24876,"endOffset":24975,"count":0}],"isBlockCoverage":false},{"functionName":"hideInternalStackFrames","ranges":[{"startOffset":25030,"endOffset":25508,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":25741,"endOffset":26050,"count":0}],"isBlockCoverage":false},{"functionName":"genericNodeError","ranges":[{"startOffset":26305,"endOffset":26497,"count":0}],"isBlockCoverage":false},{"functionName":"determineSpecificType","ranges":[{"startOffset":26618,"endOffset":27237,"count":1},{"startOffset":26707,"endOffset":26755,"count":0},{"startOffset":26757,"endOffset":27236,"count":0}],"isBlockCoverage":true},{"functionName":"formatList","ranges":[{"startOffset":27559,"endOffset":27778,"count":1},{"startOffset":27669,"endOffset":27775,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":29857,"endOffset":30021,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33056,"endOffset":33171,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33460,"endOffset":33554,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":36457,"endOffset":36685,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38465,"endOffset":38683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41350,"endOffset":41650,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41692,"endOffset":41836,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41879,"endOffset":44000,"count":1},{"startOffset":42119,"endOffset":42192,"count":0},{"startOffset":42254,"endOffset":42266,"count":0},{"startOffset":42685,"endOffset":42960,"count":0},{"startOffset":43119,"endOffset":43310,"count":0},{"startOffset":43373,"endOffset":43388,"count":0},{"startOffset":43491,"endOffset":43505,"count":0},{"startOffset":43543,"endOffset":43663,"count":0},{"startOffset":43691,"endOffset":43920,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":44041,"endOffset":44389,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44697,"endOffset":44860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45517,"endOffset":45696,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45744,"endOffset":45879,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45925,"endOffset":46073,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":46117,"endOffset":46891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47179,"endOffset":47366,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47419,"endOffset":47598,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47642,"endOffset":47819,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48276,"endOffset":48492,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48536,"endOffset":48824,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":49387,"endOffset":49860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":50646,"endOffset":51087,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":51181,"endOffset":51400,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":52546,"endOffset":53244,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53295,"endOffset":53487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53536,"endOffset":53852,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54094,"endOffset":54393,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54577,"endOffset":56023,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":56475,"endOffset":56757,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58280,"endOffset":58354,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58390,"endOffset":58713,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58759,"endOffset":58833,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58865,"endOffset":59269,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59321,"endOffset":59499,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59770,"endOffset":59939,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61637,"endOffset":61768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62015,"endOffset":62172,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62362,"endOffset":62564,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62610,"endOffset":62933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63572,"endOffset":63640,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64043,"endOffset":64156,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64350,"endOffset":64737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"83","url":"node:internal/bootstrap/node","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13817,"count":1}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3830,"endOffset":3880,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3886,"endOffset":3944,"count":3},{"startOffset":3930,"endOffset":3933,"count":1},{"startOffset":3934,"endOffset":3937,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4086,"endOffset":4122,"count":8}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":4128,"endOffset":4547,"count":2},{"startOffset":4187,"endOffset":4469,"count":1},{"startOffset":4252,"endOffset":4266,"count":0},{"startOffset":4267,"endOffset":4315,"count":0},{"startOffset":4317,"endOffset":4352,"count":0},{"startOffset":4469,"endOffset":4518,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4769,"endOffset":5033,"count":409}],"isBlockCoverage":true},{"functionName":"process.openStdin","ranges":[{"startOffset":6409,"endOffset":6479,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7965,"endOffset":8127,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8229,"endOffset":8425,"count":1}],"isBlockCoverage":true},{"functionName":"get cached_builtins","ranges":[{"startOffset":9173,"endOffset":9240,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11734,"endOffset":11784,"count":6}],"isBlockCoverage":true},{"functionName":"setupProcessObject","ranges":[{"startOffset":12107,"endOffset":12912,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":12772,"endOffset":12808,"count":87}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":12814,"endOffset":12856,"count":0}],"isBlockCoverage":false},{"functionName":"setupGlobalProxy","ranges":[{"startOffset":12914,"endOffset":13151,"count":1}],"isBlockCoverage":true},{"functionName":"setupBuffer","ranges":[{"startOffset":13153,"endOffset":13816,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13678,"endOffset":13713,"count":3}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":13719,"endOffset":13760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"84","url":"node:internal/timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":19560,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4385,"endOffset":4410,"count":1}],"isBlockCoverage":true},{"functionName":"initAsyncResource","ranges":[{"startOffset":5548,"endOffset":5826,"count":2},{"startOffset":5774,"endOffset":5824,"count":0}],"isBlockCoverage":true},{"functionName":"Timeout","ranges":[{"startOffset":5932,"endOffset":6978,"count":1},{"startOffset":6080,"endOffset":6432,"count":0},{"startOffset":6789,"endOffset":6796,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7059,"endOffset":7255,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":7259,"endOffset":7368,"count":2},{"startOffset":7299,"endOffset":7312,"count":0}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":7372,"endOffset":7511,"count":3}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":7515,"endOffset":7652,"count":2}],"isBlockCoverage":true},{"functionName":"hasRef","ranges":[{"startOffset":7656,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"TimersList","ranges":[{"startOffset":7720,"endOffset":8026,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8107,"endOffset":8303,"count":0}],"isBlockCoverage":false},{"functionName":"ImmediateList","ranges":[{"startOffset":8386,"endOffset":8449,"count":2}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":8601,"endOffset":8782,"count":1},{"startOffset":8644,"endOffset":8719,"count":0}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":8932,"endOffset":9293,"count":0}],"isBlockCoverage":false},{"functionName":"incRefCount","ranges":[{"startOffset":9403,"endOffset":9569,"count":3}],"isBlockCoverage":true},{"functionName":"decRefCount","ranges":[{"startOffset":9571,"endOffset":9738,"count":3}],"isBlockCoverage":true},{"functionName":"active","ranges":[{"startOffset":9821,"endOffset":9875,"count":0}],"isBlockCoverage":false},{"functionName":"unrefActive","ranges":[{"startOffset":10022,"endOffset":10082,"count":2}],"isBlockCoverage":true},{"functionName":"insertGuarded","ranges":[{"startOffset":10303,"endOffset":10819,"count":2},{"startOffset":10427,"endOffset":10434,"count":0},{"startOffset":10551,"endOffset":10625,"count":0},{"startOffset":10646,"endOffset":10687,"count":0},{"startOffset":10722,"endOffset":10793,"count":0}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":10887,"endOffset":11626,"count":3},{"startOffset":11218,"endOffset":11599,"count":1}],"isBlockCoverage":true},{"functionName":"setUnrefTimeout","ranges":[{"startOffset":11628,"endOffset":11886,"count":0}],"isBlockCoverage":false},{"functionName":"getTimerDuration","ranges":[{"startOffset":11953,"endOffset":12481,"count":0}],"isBlockCoverage":false},{"functionName":"compareTimersLists","ranges":[{"startOffset":12483,"endOffset":12688,"count":0}],"isBlockCoverage":false},{"functionName":"setPosition","ranges":[{"startOffset":12690,"endOffset":12761,"count":1}],"isBlockCoverage":true},{"functionName":"getTimerCallbacks","ranges":[{"startOffset":12763,"endOffset":18141,"count":1}],"isBlockCoverage":true},{"functionName":"processImmediate","ranges":[{"startOffset":13075,"endOffset":15008,"count":1},{"startOffset":13154,"endOffset":13178,"count":0},{"startOffset":13615,"endOffset":13630,"count":0},{"startOffset":13947,"endOffset":14043,"count":0},{"startOffset":14605,"endOffset":14661,"count":0},{"startOffset":14763,"endOffset":14784,"count":0},{"startOffset":14935,"endOffset":14964,"count":0}],"isBlockCoverage":true},{"functionName":"processTimers","ranges":[{"startOffset":15013,"endOffset":15503,"count":0}],"isBlockCoverage":false},{"functionName":"listOnTimeout","ranges":[{"startOffset":15507,"endOffset":18081,"count":0}],"isBlockCoverage":false},{"functionName":"Immediate","ranges":[{"startOffset":18163,"endOffset":18485,"count":1}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":18489,"endOffset":18755,"count":1}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":18759,"endOffset":19027,"count":0}],"isBlockCoverage":false},{"functionName":"hasRef","ranges":[{"startOffset":19031,"endOffset":19072,"count":0}],"isBlockCoverage":false}]},{"scriptId":"85","url":"node:internal/async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20082,"count":1}],"isBlockCoverage":false},{"functionName":"useDomainTrampoline","ranges":[{"startOffset":5108,"endOffset":5162,"count":0}],"isBlockCoverage":false},{"functionName":"callbackTrampoline","ranges":[{"startOffset":5164,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"executionAsyncResource","ranges":[{"startOffset":5745,"endOffset":6243,"count":0}],"isBlockCoverage":false},{"functionName":"inspectExceptionValue","ranges":[{"startOffset":6245,"endOffset":6372,"count":0}],"isBlockCoverage":false},{"functionName":"fatalError","ranges":[{"startOffset":6433,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"lookupPublicResource","ranges":[{"startOffset":6837,"endOffset":7186,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitNative","ranges":[{"startOffset":7377,"endOffset":8510,"count":0}],"isBlockCoverage":false},{"functionName":"emitHook","ranges":[{"startOffset":8611,"endOffset":9600,"count":0}],"isBlockCoverage":false},{"functionName":"emitHookFactory","ranges":[{"startOffset":9602,"endOffset":9866,"count":4}],"isBlockCoverage":true},{"functionName":"getHookArrays","ranges":[{"startOffset":9895,"endOffset":10385,"count":0}],"isBlockCoverage":false},{"functionName":"storeActiveHooks","ranges":[{"startOffset":10388,"endOffset":10688,"count":0}],"isBlockCoverage":false},{"functionName":"copyHooks","ranges":[{"startOffset":10690,"endOffset":10955,"count":0}],"isBlockCoverage":false},{"functionName":"restoreActiveHooks","ranges":[{"startOffset":11070,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"trackPromise","ranges":[{"startOffset":11277,"endOffset":11707,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHook","ranges":[{"startOffset":11709,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHookWithDestroyTracking","ranges":[{"startOffset":11955,"endOffset":12091,"count":0}],"isBlockCoverage":false},{"functionName":"destroyTracking","ranges":[{"startOffset":12093,"endOffset":12256,"count":0}],"isBlockCoverage":false},{"functionName":"promiseBeforeHook","ranges":[{"startOffset":12258,"endOffset":12469,"count":0}],"isBlockCoverage":false},{"functionName":"promiseAfterHook","ranges":[{"startOffset":12471,"endOffset":13038,"count":0}],"isBlockCoverage":false},{"functionName":"promiseResolveHook","ranges":[{"startOffset":13040,"endOffset":13186,"count":0}],"isBlockCoverage":false},{"functionName":"enableHooks","ranges":[{"startOffset":13217,"endOffset":13323,"count":0}],"isBlockCoverage":false},{"functionName":"updatePromiseHookMode","ranges":[{"startOffset":13346,"endOffset":13925,"count":0}],"isBlockCoverage":false},{"functionName":"disableHooks","ranges":[{"startOffset":13927,"endOffset":14230,"count":0}],"isBlockCoverage":false},{"functionName":"disablePromiseHookIfNecessary","ranges":[{"startOffset":14232,"endOffset":14348,"count":0}],"isBlockCoverage":false},{"functionName":"newAsyncId","ranges":[{"startOffset":14549,"endOffset":14619,"count":4}],"isBlockCoverage":true},{"functionName":"getOrSetAsyncId","ranges":[{"startOffset":14621,"endOffset":14811,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultTriggerAsyncId","ranges":[{"startOffset":14994,"endOffset":15284,"count":4},{"startOffset":15250,"endOffset":15283,"count":0}],"isBlockCoverage":true},{"functionName":"clearDefaultTriggerAsyncId","ranges":[{"startOffset":15287,"endOffset":15376,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTriggerAsyncIdScope","ranges":[{"startOffset":15601,"endOffset":16094,"count":0}],"isBlockCoverage":false},{"functionName":"hasHooks","ranges":[{"startOffset":16096,"endOffset":16159,"count":16}],"isBlockCoverage":true},{"functionName":"enabledHooksExist","ranges":[{"startOffset":16161,"endOffset":16220,"count":3}],"isBlockCoverage":true},{"functionName":"initHooksExist","ranges":[{"startOffset":16222,"endOffset":16277,"count":4}],"isBlockCoverage":true},{"functionName":"afterHooksExist","ranges":[{"startOffset":16279,"endOffset":16336,"count":0}],"isBlockCoverage":false},{"functionName":"destroyHooksExist","ranges":[{"startOffset":16338,"endOffset":16399,"count":3}],"isBlockCoverage":true},{"functionName":"promiseResolveHooksExist","ranges":[{"startOffset":16401,"endOffset":16476,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitScript","ranges":[{"startOffset":16479,"endOffset":16887,"count":0}],"isBlockCoverage":false},{"functionName":"emitBeforeScript","ranges":[{"startOffset":16890,"endOffset":17066,"count":3},{"startOffset":17038,"endOffset":17064,"count":0}],"isBlockCoverage":true},{"functionName":"emitAfterScript","ranges":[{"startOffset":17069,"endOffset":17189,"count":3},{"startOffset":17133,"endOffset":17158,"count":0}],"isBlockCoverage":true},{"functionName":"emitDestroyScript","ranges":[{"startOffset":17192,"endOffset":17402,"count":0}],"isBlockCoverage":false},{"functionName":"hasAsyncIdStack","ranges":[{"startOffset":17405,"endOffset":17468,"count":0}],"isBlockCoverage":false},{"functionName":"pushAsyncContext","ranges":[{"startOffset":17534,"endOffset":18104,"count":3},{"startOffset":17754,"endOffset":17804,"count":0}],"isBlockCoverage":true},{"functionName":"popAsyncContext","ranges":[{"startOffset":18169,"endOffset":18780,"count":3},{"startOffset":18285,"endOffset":18298,"count":0},{"startOffset":18377,"endOffset":18483,"count":0}],"isBlockCoverage":true},{"functionName":"executionAsyncId","ranges":[{"startOffset":18783,"endOffset":18859,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":18861,"endOffset":18933,"count":0}],"isBlockCoverage":false}]},{"scriptId":"86","url":"node:internal/validators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15153,"count":1}],"isBlockCoverage":false},{"functionName":"isInt32","ranges":[{"startOffset":835,"endOffset":894,"count":399}],"isBlockCoverage":true},{"functionName":"isUint32","ranges":[{"startOffset":946,"endOffset":1008,"count":0}],"isBlockCoverage":false},{"functionName":"parseFileMode","ranges":[{"startOffset":1629,"endOffset":1940,"count":60},{"startOffset":1722,"endOffset":1890,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2186,"endOffset":2567,"count":3},{"startOffset":2306,"endOffset":2360,"count":0},{"startOffset":2400,"endOffset":2454,"count":0},{"startOffset":2497,"endOffset":2563,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2811,"endOffset":3274,"count":2},{"startOffset":2983,"endOffset":3051,"count":0},{"startOffset":3085,"endOffset":3153,"count":0},{"startOffset":3190,"endOffset":3270,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3512,"endOffset":3944,"count":820},{"startOffset":3582,"endOffset":3646,"count":0},{"startOffset":3678,"endOffset":3742,"count":0},{"startOffset":3766,"endOffset":3769,"count":0},{"startOffset":3866,"endOffset":3942,"count":0}],"isBlockCoverage":true},{"functionName":"validateString","ranges":[{"startOffset":4097,"endOffset":4229,"count":12981},{"startOffset":4173,"endOffset":4227,"count":1}],"isBlockCoverage":true},{"functionName":"validateNumber","ranges":[{"startOffset":4430,"endOffset":4898,"count":62},{"startOffset":4528,"endOffset":4582,"count":0},{"startOffset":4603,"endOffset":4617,"count":61},{"startOffset":4635,"endOffset":4649,"count":60},{"startOffset":4674,"endOffset":4688,"count":1},{"startOffset":4690,"endOffset":4711,"count":61},{"startOffset":4714,"endOffset":4896,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5084,"endOffset":5417,"count":0}],"isBlockCoverage":false},{"functionName":"validateBoolean","ranges":[{"startOffset":5573,"endOffset":5708,"count":381},{"startOffset":5651,"endOffset":5706,"count":0}],"isBlockCoverage":true},{"functionName":"getOwnPropertyValueOrDefault","ranges":[{"startOffset":5820,"endOffset":6001,"count":54},{"startOffset":5913,"endOffset":5960,"count":48},{"startOffset":5961,"endOffset":5979,"count":19},{"startOffset":5980,"endOffset":5998,"count":35}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6266,"endOffset":6821,"count":18},{"startOffset":6571,"endOffset":6588,"count":15},{"startOffset":6614,"endOffset":6636,"count":2},{"startOffset":6676,"endOffset":6746,"count":0},{"startOffset":6749,"endOffset":6817,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7376,"endOffset":7556,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7775,"endOffset":8053,"count":760},{"startOffset":7837,"endOffset":7900,"count":0},{"startOffset":7933,"endOffset":8051,"count":0}],"isBlockCoverage":true},{"functionName":"validateStringArray","ranges":[{"startOffset":8218,"endOffset":8387,"count":380},{"startOffset":8333,"endOffset":8385,"count":1900}],"isBlockCoverage":true},{"functionName":"validateBooleanArray","ranges":[{"startOffset":8553,"endOffset":8724,"count":0}],"isBlockCoverage":false},{"functionName":"validateAbortSignalArray","ranges":[{"startOffset":8902,"endOffset":9251,"count":0}],"isBlockCoverage":false},{"functionName":"validateSignalName","ranges":[{"startOffset":9363,"endOffset":9736,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9948,"endOffset":10178,"count":1},{"startOffset":10013,"endOffset":10176,"count":0}],"isBlockCoverage":true},{"functionName":"validateEncoding","ranges":[{"startOffset":10242,"endOffset":10576,"count":0}],"isBlockCoverage":false},{"functionName":"validatePort","ranges":[{"startOffset":10838,"endOffset":11217,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11385,"endOffset":11602,"count":13},{"startOffset":11432,"endOffset":11528,"count":0},{"startOffset":11530,"endOffset":11600,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11802,"endOffset":11918,"count":403},{"startOffset":11860,"endOffset":11916,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12133,"endOffset":12275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12479,"endOffset":12588,"count":0}],"isBlockCoverage":false},{"functionName":"validateUnion","ranges":[{"startOffset":12681,"endOffset":12868,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderFormat","ranges":[{"startOffset":13296,"endOffset":13602,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13650,"endOffset":13860,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderValue","ranges":[{"startOffset":13914,"endOffset":14597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"87","url":"node:internal/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":24956,"count":1}],"isBlockCoverage":false},{"functionName":"toUSVString","ranges":[{"startOffset":1790,"endOffset":2102,"count":107},{"startOffset":2059,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUv","ranges":[{"startOffset":2120,"endOffset":2200,"count":0}],"isBlockCoverage":false},{"functionName":"removeColors","ranges":[{"startOffset":2202,"endOffset":2287,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":2289,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"getDeprecationWarningEmitter","ranges":[{"startOffset":2696,"endOffset":3345,"count":30}],"isBlockCoverage":true},{"functionName":"shouldEmitWarning","ranges":[{"startOffset":2795,"endOffset":2805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2842,"endOffset":3342,"count":0}],"isBlockCoverage":false},{"functionName":"isPendingDeprecation","ranges":[{"startOffset":3347,"endOffset":3475,"count":0}],"isBlockCoverage":false},{"functionName":"pendingDeprecate","ranges":[{"startOffset":3642,"endOffset":3939,"count":3}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":3811,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"deprecate","ranges":[{"startOffset":4094,"endOffset":5092,"count":27},{"startOffset":4181,"endOffset":4201,"count":0},{"startOffset":4290,"endOffset":4344,"count":1},{"startOffset":4376,"endOffset":4405,"count":26},{"startOffset":4846,"endOffset":5068,"count":26}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":4518,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"decorateErrorStack","ranges":[{"startOffset":5094,"endOffset":5360,"count":0}],"isBlockCoverage":false},{"functionName":"assertCrypto","ranges":[{"startOffset":5362,"endOffset":5436,"count":1},{"startOffset":5408,"endOffset":5434,"count":0}],"isBlockCoverage":true},{"functionName":"normalizeEncoding","ranges":[{"startOffset":5615,"endOffset":5746,"count":397},{"startOffset":5685,"endOffset":5703,"count":0},{"startOffset":5719,"endOffset":5745,"count":0}],"isBlockCoverage":true},{"functionName":"slowCases","ranges":[{"startOffset":5748,"endOffset":7499,"count":0}],"isBlockCoverage":false},{"functionName":"emitExperimentalWarning","ranges":[{"startOffset":7501,"endOffset":7767,"count":0}],"isBlockCoverage":false},{"functionName":"filterDuplicateStrings","ranges":[{"startOffset":7769,"endOffset":8108,"count":0}],"isBlockCoverage":false},{"functionName":"cachedResult","ranges":[{"startOffset":8110,"endOffset":8266,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8161,"endOffset":8263,"count":0}],"isBlockCoverage":false},{"functionName":"createClassWrapper","ranges":[{"startOffset":8531,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"getSignalsToNamesMapping","ranges":[{"startOffset":8960,"endOffset":9239,"count":0}],"isBlockCoverage":false},{"functionName":"convertToValidSignal","ranges":[{"startOffset":9241,"endOffset":9562,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorOf","ranges":[{"startOffset":9564,"endOffset":9910,"count":0}],"isBlockCoverage":false},{"functionName":"getCWDURL","ranges":[{"startOffset":10233,"endOffset":10743,"count":1},{"startOffset":10561,"endOffset":10610,"count":0}],"isBlockCoverage":true},{"functionName":"getSystemErrorName","ranges":[{"startOffset":10745,"endOffset":10874,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorMap","ranges":[{"startOffset":10876,"endOffset":10941,"count":0}],"isBlockCoverage":false},{"functionName":"promisify","ranges":[{"startOffset":11109,"endOffset":12970,"count":6},{"startOffset":11229,"endOffset":11285,"count":1},{"startOffset":11372,"endOffset":11649,"count":1},{"startOffset":11649,"endOffset":12756,"count":5},{"startOffset":12756,"endOffset":12918,"count":14},{"startOffset":12918,"endOffset":12969,"count":5}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":11849,"endOffset":12368,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13065,"endOffset":13387,"count":0}],"isBlockCoverage":false},{"functionName":"spliceOne","ranges":[{"startOffset":13528,"endOffset":13655,"count":0}],"isBlockCoverage":false},{"functionName":"isInsideNodeModules","ranges":[{"startOffset":13737,"endOffset":14975,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":14977,"endOffset":15150,"count":0}],"isBlockCoverage":false},{"functionName":"sleep","ranges":[{"startOffset":15173,"endOffset":15388,"count":0}],"isBlockCoverage":false},{"functionName":"createDeferredPromise","ranges":[{"startOffset":15390,"endOffset":15584,"count":0}],"isBlockCoverage":false},{"functionName":"defineOperation","ranges":[{"startOffset":15644,"endOffset":15845,"count":8}],"isBlockCoverage":true},{"functionName":"exposeInterface","ranges":[{"startOffset":15897,"endOffset":16117,"count":5}],"isBlockCoverage":true},{"functionName":"exposeNamespace","ranges":[{"startOffset":16169,"endOffset":16389,"count":1}],"isBlockCoverage":true},{"functionName":"exposeGetterAndSetter","ranges":[{"startOffset":16391,"endOffset":16614,"count":1}],"isBlockCoverage":true},{"functionName":"defineLazyProperties","ranges":[{"startOffset":16616,"endOffset":17549,"count":22},{"startOffset":16779,"endOffset":17548,"count":51}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":16835,"endOffset":16978,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17081,"endOffset":17277,"count":12}],"isBlockCoverage":true},{"functionName":"defineReplaceableLazyAttribute","ranges":[{"startOffset":17551,"endOffset":18451,"count":2},{"startOffset":18419,"endOffset":18424,"count":1},{"startOffset":18425,"endOffset":18436,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17763,"endOffset":17999,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":18104,"endOffset":18175,"count":0}],"isBlockCoverage":false},{"functionName":"exposeLazyInterfaces","ranges":[{"startOffset":18453,"endOffset":18553,"count":14}],"isBlockCoverage":true},{"functionName":"lazyDOMExceptionClass","ranges":[{"startOffset":18604,"endOffset":18700,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18744,"endOffset":18872,"count":0}],"isBlockCoverage":false},{"functionName":"filterOwnProperties","ranges":[{"startOffset":19057,"endOffset":19329,"count":0}],"isBlockCoverage":false},{"functionName":"setOwnProperty","ranges":[{"startOffset":19497,"endOffset":19687,"count":774}],"isBlockCoverage":true},{"functionName":"getInternalGlobal","ranges":[{"startOffset":19709,"endOffset":19984,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeExec","ranges":[{"startOffset":19986,"endOffset":20199,"count":0}],"isBlockCoverage":false},{"functionName":"getCrossRelmRegex","ranges":[{"startOffset":20245,"endOffset":21036,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolReplace","ranges":[{"startOffset":21038,"endOffset":21192,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolSplit","ranges":[{"startOffset":21194,"endOffset":21344,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayBufferDetached","ranges":[{"startOffset":21347,"endOffset":21507,"count":0}],"isBlockCoverage":false},{"functionName":"getLazy","ranges":[{"startOffset":21708,"endOffset":21920,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21789,"endOffset":21917,"count":2394},{"startOffset":21833,"endOffset":21895,"count":4}],"isBlockCoverage":true},{"functionName":"setupCoverageHooks","ranges":[{"startOffset":22045,"endOffset":22722,"count":1},{"startOffset":22515,"endOffset":22692,"count":0}],"isBlockCoverage":true},{"functionName":"guessHandleType","ranges":[{"startOffset":22795,"endOffset":22892,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22894,"endOffset":23438,"count":5}],"isBlockCoverage":false},{"functionName":"WeakReference","ranges":[{"startOffset":22969,"endOffset":23036,"count":5}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":23040,"endOffset":23258,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":23262,"endOffset":23390,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23394,"endOffset":23436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"88","url":"node:internal/options","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1922,"count":1}],"isBlockCoverage":false},{"functionName":"getCLIOptionsFromBinding","ranges":[{"startOffset":464,"endOffset":598,"count":892},{"startOffset":521,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"getAliasesFromBinding","ranges":[{"startOffset":600,"endOffset":731,"count":1}],"isBlockCoverage":true},{"functionName":"getEmbedderOptions","ranges":[{"startOffset":733,"endOffset":877,"count":4},{"startOffset":789,"endOffset":849,"count":1}],"isBlockCoverage":true},{"functionName":"refreshOptions","ranges":[{"startOffset":879,"endOffset":960,"count":1}],"isBlockCoverage":true},{"functionName":"getOptionValue","ranges":[{"startOffset":962,"endOffset":1228,"count":891},{"startOffset":1084,"endOffset":1185,"count":8},{"startOffset":1185,"endOffset":1225,"count":883}],"isBlockCoverage":true},{"functionName":"getAllowUnauthorized","ranges":[{"startOffset":1230,"endOffset":1695,"count":0}],"isBlockCoverage":false},{"functionName":"get options","ranges":[{"startOffset":1718,"endOffset":1776,"count":1}],"isBlockCoverage":true},{"functionName":"get aliases","ranges":[{"startOffset":1780,"endOffset":1835,"count":1}],"isBlockCoverage":true}]},{"scriptId":"89","url":"node:internal/util/types","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2469,"count":1}],"isBlockCoverage":false},{"functionName":"isTypedArray","ranges":[{"startOffset":131,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"isUint8Array","ranges":[{"startOffset":236,"endOffset":342,"count":1020}],"isBlockCoverage":true},{"functionName":"isUint8ClampedArray","ranges":[{"startOffset":344,"endOffset":464,"count":0}],"isBlockCoverage":false},{"functionName":"isUint16Array","ranges":[{"startOffset":466,"endOffset":574,"count":0}],"isBlockCoverage":false},{"functionName":"isUint32Array","ranges":[{"startOffset":576,"endOffset":684,"count":0}],"isBlockCoverage":false},{"functionName":"isInt8Array","ranges":[{"startOffset":686,"endOffset":790,"count":0}],"isBlockCoverage":false},{"functionName":"isInt16Array","ranges":[{"startOffset":792,"endOffset":898,"count":0}],"isBlockCoverage":false},{"functionName":"isInt32Array","ranges":[{"startOffset":900,"endOffset":1006,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat32Array","ranges":[{"startOffset":1008,"endOffset":1118,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat64Array","ranges":[{"startOffset":1120,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"isBigInt64Array","ranges":[{"startOffset":1232,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"isBigUint64Array","ranges":[{"startOffset":1346,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":1932,"endOffset":2147,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":2243,"endOffset":2458,"count":0}],"isBlockCoverage":false}]},{"scriptId":"90","url":"node:internal/linkedlist","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1128,"count":1}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":15,"endOffset":103,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":133,"endOffset":225,"count":0}],"isBlockCoverage":false},{"functionName":"remove","ranges":[{"startOffset":260,"endOffset":487,"count":3}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":543,"endOffset":995,"count":3},{"startOffset":594,"endOffset":611,"count":0}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":997,"endOffset":1057,"count":0}],"isBlockCoverage":false}]},{"scriptId":"91","url":"node:internal/priority_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2573,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":395,"endOffset":2571,"count":1}],"isBlockCoverage":false},{"functionName":"#compare","ranges":[{"startOffset":430,"endOffset":445,"count":0}],"isBlockCoverage":false},{"functionName":"PriorityQueue","ranges":[{"startOffset":504,"endOffset":688,"count":1}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":692,"endOffset":875,"count":1},{"startOffset":826,"endOffset":843,"count":0}],"isBlockCoverage":true},{"functionName":"peek","ranges":[{"startOffset":879,"endOffset":917,"count":0}],"isBlockCoverage":false},{"functionName":"percolateDown","ranges":[{"startOffset":921,"endOffset":1585,"count":0}],"isBlockCoverage":false},{"functionName":"percolateUp","ranges":[{"startOffset":1589,"endOffset":2077,"count":1},{"startOffset":1764,"endOffset":1986,"count":0}],"isBlockCoverage":true},{"functionName":"removeAt","ranges":[{"startOffset":2081,"endOffset":2411,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":2415,"endOffset":2569,"count":0}],"isBlockCoverage":false}]},{"scriptId":"92","url":"node:internal/util/inspect","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":81525,"count":1}],"isBlockCoverage":false},{"functionName":"pathToFileUrlHref","ranges":[{"startOffset":3211,"endOffset":3345,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3454,"endOffset":3515,"count":62}],"isBlockCoverage":true},{"functionName":"isUndetectableObject","ranges":[{"startOffset":3611,"endOffset":3661,"count":0}],"isBlockCoverage":false},{"functionName":"getUserOptions","ranges":[{"startOffset":7144,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":8980,"endOffset":11006,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11117,"endOffset":11162,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":11166,"endOffset":11281,"count":0}],"isBlockCoverage":false},{"functionName":"defineColorAlias","ranges":[{"startOffset":13005,"endOffset":13269,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13121,"endOffset":13161,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":13167,"endOffset":13213,"count":0}],"isBlockCoverage":false},{"functionName":"addQuotes","ranges":[{"startOffset":14281,"endOffset":14439,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":14441,"endOffset":14616,"count":0}],"isBlockCoverage":false},{"functionName":"strEscape","ranges":[{"startOffset":14728,"endOffset":16882,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeWithColor","ranges":[{"startOffset":16884,"endOffset":17150,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeNoColor","ranges":[{"startOffset":17152,"endOffset":17198,"count":0}],"isBlockCoverage":false},{"functionName":"getEmptyFormatArray","ranges":[{"startOffset":17277,"endOffset":17324,"count":0}],"isBlockCoverage":false},{"functionName":"isInstanceof","ranges":[{"startOffset":17326,"endOffset":17444,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorName","ranges":[{"startOffset":17446,"endOffset":18715,"count":0}],"isBlockCoverage":false},{"functionName":"addPrototypeProperties","ranges":[{"startOffset":18902,"endOffset":20735,"count":0}],"isBlockCoverage":false},{"functionName":"getPrefix","ranges":[{"startOffset":20737,"endOffset":21124,"count":0}],"isBlockCoverage":false},{"functionName":"getKeys","ranges":[{"startOffset":21161,"endOffset":22152,"count":0}],"isBlockCoverage":false},{"functionName":"getCtxStyle","ranges":[{"startOffset":22154,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"formatProxy","ranges":[{"startOffset":22419,"endOffset":22869,"count":0}],"isBlockCoverage":false},{"functionName":"formatValue","ranges":[{"startOffset":23051,"endOffset":25808,"count":0}],"isBlockCoverage":false},{"functionName":"formatRaw","ranges":[{"startOffset":25810,"endOffset":36655,"count":0}],"isBlockCoverage":false},{"functionName":"getIteratorBraces","ranges":[{"startOffset":36657,"endOffset":36839,"count":0}],"isBlockCoverage":false},{"functionName":"getBoxedBase","ranges":[{"startOffset":36841,"endOffset":38029,"count":0}],"isBlockCoverage":false},{"functionName":"getClassBase","ranges":[{"startOffset":38031,"endOffset":38631,"count":0}],"isBlockCoverage":false},{"functionName":"getFunctionBase","ranges":[{"startOffset":38633,"endOffset":39866,"count":0}],"isBlockCoverage":false},{"functionName":"identicalSequenceRange","ranges":[{"startOffset":39868,"endOffset":40484,"count":0}],"isBlockCoverage":false},{"functionName":"getStackString","ranges":[{"startOffset":40486,"endOffset":40596,"count":0}],"isBlockCoverage":false},{"functionName":"getStackFrames","ranges":[{"startOffset":40598,"endOffset":41489,"count":0}],"isBlockCoverage":false},{"functionName":"improveStack","ranges":[{"startOffset":41491,"endOffset":42696,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateErrorKeys","ranges":[{"startOffset":42698,"endOffset":43121,"count":0}],"isBlockCoverage":false},{"functionName":"markNodeModules","ranges":[{"startOffset":43123,"endOffset":43593,"count":0}],"isBlockCoverage":false},{"functionName":"markCwd","ranges":[{"startOffset":43595,"endOffset":44572,"count":0}],"isBlockCoverage":false},{"functionName":"safeGetCWD","ranges":[{"startOffset":44574,"endOffset":44724,"count":0}],"isBlockCoverage":false},{"functionName":"formatError","ranges":[{"startOffset":44726,"endOffset":47121,"count":0}],"isBlockCoverage":false},{"functionName":"groupArrayElements","ranges":[{"startOffset":47123,"endOffset":51462,"count":0}],"isBlockCoverage":false},{"functionName":"handleMaxCallStackSize","ranges":[{"startOffset":51464,"endOffset":51853,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparator","ranges":[{"startOffset":51855,"endOffset":52257,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparatorEnd","ranges":[{"startOffset":52259,"endOffset":52558,"count":0}],"isBlockCoverage":false},{"functionName":"remainingText","ranges":[{"startOffset":52582,"endOffset":52652,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumber","ranges":[{"startOffset":52655,"endOffset":53443,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigInt","ranges":[{"startOffset":53445,"endOffset":53661,"count":0}],"isBlockCoverage":false},{"functionName":"formatPrimitive","ranges":[{"startOffset":53663,"endOffset":55068,"count":0}],"isBlockCoverage":false},{"functionName":"formatNamespaceObject","ranges":[{"startOffset":55070,"endOffset":56222,"count":0}],"isBlockCoverage":false},{"functionName":"formatSpecialArray","ranges":[{"startOffset":56269,"endOffset":57529,"count":0}],"isBlockCoverage":false},{"functionName":"formatArrayBuffer","ranges":[{"startOffset":57531,"endOffset":58179,"count":0}],"isBlockCoverage":false},{"functionName":"formatArray","ranges":[{"startOffset":58181,"endOffset":58780,"count":0}],"isBlockCoverage":false},{"functionName":"formatTypedArray","ranges":[{"startOffset":58782,"endOffset":59811,"count":0}],"isBlockCoverage":false},{"functionName":"formatSet","ranges":[{"startOffset":59813,"endOffset":60336,"count":0}],"isBlockCoverage":false},{"functionName":"formatMap","ranges":[{"startOffset":60338,"endOffset":60938,"count":0}],"isBlockCoverage":false},{"functionName":"formatSetIterInner","ranges":[{"startOffset":60940,"endOffset":61743,"count":0}],"isBlockCoverage":false},{"functionName":"formatMapIterInner","ranges":[{"startOffset":61745,"endOffset":63053,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakCollection","ranges":[{"startOffset":63055,"endOffset":63147,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakSet","ranges":[{"startOffset":63149,"endOffset":63306,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakMap","ranges":[{"startOffset":63308,"endOffset":63465,"count":0}],"isBlockCoverage":false},{"functionName":"formatIterator","ranges":[{"startOffset":63467,"endOffset":63888,"count":0}],"isBlockCoverage":false},{"functionName":"formatPromise","ranges":[{"startOffset":63890,"endOffset":64364,"count":0}],"isBlockCoverage":false},{"functionName":"formatProperty","ranges":[{"startOffset":64366,"endOffset":66939,"count":0}],"isBlockCoverage":false},{"functionName":"isBelowBreakLength","ranges":[{"startOffset":66941,"endOffset":67899,"count":0}],"isBlockCoverage":false},{"functionName":"reduceToSingleString","ranges":[{"startOffset":67901,"endOffset":70802,"count":0}],"isBlockCoverage":false},{"functionName":"hasBuiltInToString","ranges":[{"startOffset":70804,"endOffset":71880,"count":0}],"isBlockCoverage":false},{"functionName":"firstErrorLine","ranges":[{"startOffset":71905,"endOffset":71963,"count":0}],"isBlockCoverage":false},{"functionName":"tryStringify","ranges":[{"startOffset":71993,"endOffset":72498,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":72500,"endOffset":72581,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptions","ranges":[{"startOffset":72583,"endOffset":72770,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumberNoColor","ranges":[{"startOffset":72772,"endOffset":72954,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigIntNoColor","ranges":[{"startOffset":72956,"endOffset":73138,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptionsInternal","ranges":[{"startOffset":73140,"endOffset":77164,"count":0}],"isBlockCoverage":false},{"functionName":"isZeroWidthCodePoint","ranges":[{"startOffset":77166,"endOffset":77740,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78169,"endOffset":78760,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78875,"endOffset":79343,"count":0}],"isBlockCoverage":false},{"functionName":"isFullWidthCodePoint","ranges":[{"startOffset":79511,"endOffset":81120,"count":0}],"isBlockCoverage":false},{"functionName":"stripVTControlCharacters","ranges":[{"startOffset":81211,"endOffset":81338,"count":0}],"isBlockCoverage":false}]},{"scriptId":"93","url":"node:internal/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":474,"count":1}],"isBlockCoverage":false},{"functionName":"lazyError","ranges":[{"startOffset":26,"endOffset":155,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":157,"endOffset":307,"count":726},{"startOffset":205,"endOffset":305,"count":0}],"isBlockCoverage":true},{"functionName":"fail","ranges":[{"startOffset":309,"endOffset":426,"count":0}],"isBlockCoverage":false}]},{"scriptId":"94","url":"node:internal/util/debuglog","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3395,"count":1}],"isBlockCoverage":false},{"functionName":"initializeDebugEnv","ranges":[{"startOffset":503,"endOffset":976,"count":1},{"startOffset":595,"endOffset":932,"count":0}],"isBlockCoverage":true},{"functionName":"testEnabled","ranges":[{"startOffset":870,"endOffset":927,"count":0}],"isBlockCoverage":false},{"functionName":"testEnabled","ranges":[{"startOffset":958,"endOffset":969,"count":9}],"isBlockCoverage":true},{"functionName":"emitWarningIfNeeded","ranges":[{"startOffset":1050,"endOffset":1389,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":1404,"endOffset":1412,"count":2593}],"isBlockCoverage":true},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1431,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"debuglogImpl","ranges":[{"startOffset":1533,"endOffset":2091,"count":8},{"startOffset":1608,"endOffset":2063,"count":5},{"startOffset":1627,"endOffset":2016,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":1716,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"debuglog","ranges":[{"startOffset":2311,"endOffset":3337,"count":15}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":2342,"endOffset":2438,"count":9}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":2453,"endOffset":2847,"count":8},{"startOffset":2700,"endOffset":2730,"count":5},{"startOffset":2737,"endOffset":2776,"count":2},{"startOffset":2783,"endOffset":2837,"count":1}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2877,"endOffset":2946,"count":1}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2908,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"logger","ranges":[{"startOffset":2965,"endOffset":3160,"count":8},{"startOffset":3013,"endOffset":3043,"count":5},{"startOffset":3050,"endOffset":3089,"count":2},{"startOffset":3096,"endOffset":3150,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3231,"endOffset":3265,"count":1}],"isBlockCoverage":true}]},{"scriptId":"95","url":"node:events","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36377,"count":1}],"isBlockCoverage":false},{"functionName":"lazyEventEmitterAsyncResource","ranges":[{"startOffset":3020,"endOffset":6331,"count":5},{"startOffset":3110,"endOffset":6293,"count":1}],"isBlockCoverage":true},{"functionName":"EventEmitterReferencingAsyncResource","ranges":[{"startOffset":3565,"endOffset":3669,"count":0}],"isBlockCoverage":false},{"functionName":"get eventEmitter","ranges":[{"startOffset":3727,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterAsyncResource","ranges":[{"startOffset":4205,"endOffset":4729,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":4866,"endOffset":5236,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":5297,"endOffset":5485,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncId","ranges":[{"startOffset":5545,"endOffset":5736,"count":0}],"isBlockCoverage":false},{"functionName":"get triggerAsyncId","ranges":[{"startOffset":5796,"endOffset":6001,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncResource","ranges":[{"startOffset":6091,"endOffset":6280,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter","ranges":[{"startOffset":6465,"endOffset":6534,"count":64}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":7019,"endOffset":7075,"count":5}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":7079,"endOffset":7204,"count":0}],"isBlockCoverage":false},{"functionName":"checkListener","ranges":[{"startOffset":7985,"endOffset":8063,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8171,"endOffset":8219,"count":7}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8228,"endOffset":8329,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.setMaxListeners","ranges":[{"startOffset":8882,"endOffset":9694,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.init","ranges":[{"startOffset":9861,"endOffset":10459,"count":64},{"startOffset":9912,"endOffset":9972,"count":0},{"startOffset":10116,"endOffset":10135,"count":2},{"startOffset":10137,"endOffset":10270,"count":0}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":10462,"endOffset":11021,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionOrErr","ranges":[{"startOffset":11023,"endOffset":11680,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":11832,"endOffset":11947,"count":1}],"isBlockCoverage":true},{"functionName":"_getMaxListeners","ranges":[{"startOffset":11950,"endOffset":12099,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":12236,"endOffset":12299,"count":0}],"isBlockCoverage":false},{"functionName":"enhanceStackTrace","ranges":[{"startOffset":12302,"endOffset":13061,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":13256,"endOffset":15559,"count":59},{"startOffset":13401,"endOffset":13439,"count":0},{"startOffset":13447,"endOffset":13481,"count":0},{"startOffset":13505,"endOffset":13534,"count":0},{"startOffset":13540,"endOffset":13577,"count":0},{"startOffset":13649,"endOffset":14617,"count":0},{"startOffset":14698,"endOffset":15558,"count":0}],"isBlockCoverage":true},{"functionName":"_addListener","ranges":[{"startOffset":15562,"endOffset":17456,"count":7},{"startOffset":15742,"endOffset":15827,"count":0},{"startOffset":16012,"endOffset":16273,"count":0},{"startOffset":16476,"endOffset":17436,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":17634,"endOffset":17726,"count":7}],"isBlockCoverage":true},{"functionName":"prependListener","ranges":[{"startOffset":18013,"endOffset":18116,"count":0}],"isBlockCoverage":false},{"functionName":"onceWrapper","ranges":[{"startOffset":18119,"endOffset":18383,"count":0}],"isBlockCoverage":false},{"functionName":"_onceWrap","ranges":[{"startOffset":18385,"endOffset":18626,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":18817,"endOffset":18943,"count":0}],"isBlockCoverage":false},{"functionName":"prependOnceListener","ranges":[{"startOffset":19176,"endOffset":19346,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":19553,"endOffset":20848,"count":5},{"startOffset":19702,"endOffset":19714,"count":0},{"startOffset":19787,"endOffset":19799,"count":3},{"startOffset":19799,"endOffset":19829,"count":2},{"startOffset":19829,"endOffset":19858,"count":0},{"startOffset":19860,"endOffset":20121,"count":2},{"startOffset":19911,"endOffset":19946,"count":0},{"startOffset":20042,"endOffset":20103,"count":0},{"startOffset":20121,"endOffset":20822,"count":0},{"startOffset":20822,"endOffset":20847,"count":2}],"isBlockCoverage":true},{"functionName":"removeAllListeners","ranges":[{"startOffset":21168,"endOffset":22497,"count":0}],"isBlockCoverage":false},{"functionName":"_listeners","ranges":[{"startOffset":22500,"endOffset":22895,"count":0}],"isBlockCoverage":false},{"functionName":"listeners","ranges":[{"startOffset":23085,"endOffset":23152,"count":0}],"isBlockCoverage":false},{"functionName":"rawListeners","ranges":[{"startOffset":23359,"endOffset":23430,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.listenerCount","ranges":[{"startOffset":23672,"endOffset":23858,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":24091,"endOffset":24796,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":24952,"endOffset":25045,"count":0}],"isBlockCoverage":false},{"functionName":"arrayClone","ranges":[{"startOffset":25048,"endOffset":25521,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapListeners","ranges":[{"startOffset":25523,"endOffset":25737,"count":0}],"isBlockCoverage":false},{"functionName":"getEventListeners","ranges":[{"startOffset":25947,"endOffset":26821,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":26941,"endOffset":27376,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":27596,"endOffset":29314,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29392,"endOffset":29413,"count":0}],"isBlockCoverage":false},{"functionName":"createIterResult","ranges":[{"startOffset":29428,"endOffset":29496,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticRemoveListener","ranges":[{"startOffset":29498,"endOffset":29883,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticAddListener","ranges":[{"startOffset":29885,"endOffset":30317,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":30622,"endOffset":35023,"count":0}],"isBlockCoverage":false},{"functionName":"listenersController","ranges":[{"startOffset":35025,"endOffset":35471,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortListener","ranges":[{"startOffset":35494,"endOffset":36376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"96","url":"node:buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":41224,"count":1}],"isBlockCoverage":false},{"functionName":"validateOffset","ranges":[{"startOffset":3255,"endOffset":3339,"count":0}],"isBlockCoverage":false},{"functionName":"createPool","ranges":[{"startOffset":4069,"endOffset":4228,"count":1}],"isBlockCoverage":true},{"functionName":"alignPool","ranges":[{"startOffset":4244,"endOffset":4366,"count":12},{"startOffset":4318,"endOffset":4364,"count":11}],"isBlockCoverage":true},{"functionName":"showFlaggedDeprecation","ranges":[{"startOffset":4670,"endOffset":5350,"count":0}],"isBlockCoverage":false},{"functionName":"toInteger","ranges":[{"startOffset":5352,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"_copy","ranges":[{"startOffset":5572,"endOffset":6704,"count":0}],"isBlockCoverage":false},{"functionName":"_copyActual","ranges":[{"startOffset":6706,"endOffset":7237,"count":0}],"isBlockCoverage":false},{"functionName":"Buffer","ranges":[{"startOffset":7813,"endOffset":8146,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8258,"endOffset":8286,"count":0}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":8544,"endOffset":9509,"count":18},{"startOffset":8630,"endOffset":8673,"count":11},{"startOffset":8673,"endOffset":8724,"count":7},{"startOffset":8726,"endOffset":9363,"count":7},{"startOffset":8767,"endOffset":8823,"count":6},{"startOffset":8823,"endOffset":8877,"count":1},{"startOffset":8903,"endOffset":8931,"count":1},{"startOffset":8932,"endOffset":9003,"count":0},{"startOffset":9005,"endOffset":9066,"count":0},{"startOffset":9066,"endOffset":9127,"count":1},{"startOffset":9127,"endOffset":9359,"count":0},{"startOffset":9363,"endOffset":9508,"count":0}],"isBlockCoverage":true},{"functionName":"copyBytesFrom","ranges":[{"startOffset":9763,"endOffset":10644,"count":0}],"isBlockCoverage":false},{"functionName":"of","ranges":[{"startOffset":11015,"endOffset":11167,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11456,"endOffset":11516,"count":60}],"isBlockCoverage":true},{"functionName":"alloc","ranges":[{"startOffset":11619,"endOffset":11864,"count":1},{"startOffset":11703,"endOffset":11716,"count":0},{"startOffset":11717,"endOffset":11728,"count":0},{"startOffset":11730,"endOffset":11831,"count":0}],"isBlockCoverage":true},{"functionName":"allocUnsafe","ranges":[{"startOffset":12043,"endOffset":12118,"count":1}],"isBlockCoverage":true},{"functionName":"allocUnsafeSlow","ranges":[{"startOffset":12359,"endOffset":12448,"count":58}],"isBlockCoverage":true},{"functionName":"SlowBuffer","ranges":[{"startOffset":12544,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"allocate","ranges":[{"startOffset":12748,"endOffset":13080,"count":1},{"startOffset":12791,"endOffset":12825,"count":0},{"startOffset":12912,"endOffset":12925,"count":0},{"startOffset":13043,"endOffset":13079,"count":0}],"isBlockCoverage":true},{"functionName":"fromStringFast","ranges":[{"startOffset":13082,"endOffset":13628,"count":11},{"startOffset":13208,"endOffset":13257,"count":1},{"startOffset":13257,"endOffset":13303,"count":10},{"startOffset":13303,"endOffset":13316,"count":0},{"startOffset":13316,"endOffset":13449,"count":10},{"startOffset":13449,"endOffset":13575,"count":0},{"startOffset":13575,"endOffset":13627,"count":10}],"isBlockCoverage":true},{"functionName":"fromString","ranges":[{"startOffset":13630,"endOffset":14083,"count":11},{"startOffset":13716,"endOffset":13740,"count":8},{"startOffset":13742,"endOffset":13861,"count":3},{"startOffset":13779,"endOffset":13803,"count":0},{"startOffset":13861,"endOffset":14043,"count":8},{"startOffset":13938,"endOffset":13979,"count":0},{"startOffset":14015,"endOffset":14039,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayBuffer","ranges":[{"startOffset":14085,"endOffset":14782,"count":6},{"startOffset":14229,"endOffset":14325,"count":0},{"startOffset":14402,"endOffset":14447,"count":0},{"startOffset":14506,"endOffset":14729,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayLike","ranges":[{"startOffset":14784,"endOffset":15178,"count":1},{"startOffset":14841,"endOffset":14865,"count":0},{"startOffset":14964,"endOffset":14977,"count":0},{"startOffset":15146,"endOffset":15177,"count":0}],"isBlockCoverage":true},{"functionName":"fromObject","ranges":[{"startOffset":15180,"endOffset":15486,"count":1},{"startOffset":15238,"endOffset":15269,"count":0},{"startOffset":15313,"endOffset":15351,"count":0},{"startOffset":15386,"endOffset":15441,"count":0},{"startOffset":15443,"endOffset":15484,"count":0}],"isBlockCoverage":true},{"functionName":"isBuffer","ranges":[{"startOffset":15525,"endOffset":15579,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":15599,"endOffset":15924,"count":0}],"isBlockCoverage":false},{"functionName":"isEncoding","ranges":[{"startOffset":15947,"endOffset":16098,"count":397}],"isBlockCoverage":true},{"functionName":"concat","ranges":[{"startOffset":16164,"endOffset":17311,"count":0}],"isBlockCoverage":false},{"functionName":"base64ByteLength","ranges":[{"startOffset":17314,"endOffset":17582,"count":1},{"startOffset":17520,"endOffset":17528,"count":0}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":17717,"endOffset":17781,"count":3}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":17794,"endOffset":17840,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":17855,"endOffset":17951,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18045,"endOffset":18074,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18087,"endOffset":18151,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18164,"endOffset":18210,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18225,"endOffset":18324,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18424,"endOffset":18453,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18466,"endOffset":18530,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18543,"endOffset":18589,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18604,"endOffset":18703,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18800,"endOffset":18825,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18838,"endOffset":18904,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18917,"endOffset":18965,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18980,"endOffset":19078,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19172,"endOffset":19197,"count":3}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19210,"endOffset":19275,"count":3}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":19288,"endOffset":19335,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19350,"endOffset":19562,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19659,"endOffset":19710,"count":1}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19723,"endOffset":19789,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":19802,"endOffset":19850,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19865,"endOffset":20079,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20185,"endOffset":20236,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20249,"endOffset":20324,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":20337,"endOffset":20388,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20403,"endOffset":20623,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20711,"endOffset":20742,"count":4}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":20755,"endOffset":20818,"count":4}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":20831,"endOffset":20876,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20891,"endOffset":21099,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingOps","ranges":[{"startOffset":21109,"endOffset":22933,"count":8},{"startOffset":21196,"endOffset":21495,"count":0},{"startOffset":21500,"endOffset":21919,"count":3},{"startOffset":21540,"endOffset":21564,"count":0},{"startOffset":21622,"endOffset":21919,"count":0},{"startOffset":21924,"endOffset":22078,"count":0},{"startOffset":22083,"endOffset":22239,"count":0},{"startOffset":22244,"endOffset":22625,"count":1},{"startOffset":22318,"endOffset":22344,"count":0},{"startOffset":22404,"endOffset":22516,"count":0},{"startOffset":22526,"endOffset":22625,"count":0},{"startOffset":22630,"endOffset":22762,"count":4},{"startOffset":22667,"endOffset":22716,"count":0},{"startOffset":22749,"endOffset":22762,"count":0},{"startOffset":22767,"endOffset":22927,"count":0}],"isBlockCoverage":true},{"functionName":"byteLength","ranges":[{"startOffset":22935,"endOffset":23441,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23600,"endOffset":23694,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23792,"endOffset":23890,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":23923,"endOffset":24056,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":24337,"endOffset":24916,"count":1},{"startOffset":24457,"endOffset":24620,"count":0},{"startOffset":24626,"endOffset":24915,"count":0}],"isBlockCoverage":true},{"functionName":"equals","ranges":[{"startOffset":24945,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":25427,"endOffset":26570,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":26666,"endOffset":27815,"count":0}],"isBlockCoverage":false},{"functionName":"bidirectionalIndexOf","ranges":[{"startOffset":28243,"endOffset":29551,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":29580,"endOffset":29697,"count":0}],"isBlockCoverage":false},{"functionName":"lastIndexOf","ranges":[{"startOffset":29731,"endOffset":29853,"count":0}],"isBlockCoverage":false},{"functionName":"includes","ranges":[{"startOffset":29884,"endOffset":29989,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":30167,"endOffset":30266,"count":0}],"isBlockCoverage":false},{"functionName":"_fill","ranges":[{"startOffset":30269,"endOffset":32215,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":32242,"endOffset":33257,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":33286,"endOffset":33520,"count":0}],"isBlockCoverage":false},{"functionName":"adjustOffset","ranges":[{"startOffset":33523,"endOffset":33957,"count":0}],"isBlockCoverage":false},{"functionName":"subarray","ranges":[{"startOffset":33987,"endOffset":34290,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":34318,"endOffset":34384,"count":0}],"isBlockCoverage":false},{"functionName":"swap","ranges":[{"startOffset":34387,"endOffset":34458,"count":0}],"isBlockCoverage":false},{"functionName":"swap16","ranges":[{"startOffset":34486,"endOffset":34890,"count":0}],"isBlockCoverage":false},{"functionName":"swap32","ranges":[{"startOffset":34919,"endOffset":35363,"count":0}],"isBlockCoverage":false},{"functionName":"swap64","ranges":[{"startOffset":35392,"endOffset":35900,"count":0}],"isBlockCoverage":false},{"functionName":"transcode","ranges":[{"startOffset":36214,"endOffset":36913,"count":0}],"isBlockCoverage":false},{"functionName":"btoa","ranges":[{"startOffset":36918,"endOffset":37455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":37728,"endOffset":37772,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37830,"endOffset":37874,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37929,"endOffset":37973,"count":10}],"isBlockCoverage":true},{"functionName":"atob","ranges":[{"startOffset":38149,"endOffset":40101,"count":0}],"isBlockCoverage":false},{"functionName":"isUtf8","ranges":[{"startOffset":40103,"endOffset":40299,"count":0}],"isBlockCoverage":false},{"functionName":"isAscii","ranges":[{"startOffset":40301,"endOffset":40514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40905,"endOffset":40940,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":40946,"endOffset":41044,"count":0}],"isBlockCoverage":false}]},{"scriptId":"97","url":"node:internal/buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30926,"count":1}],"isBlockCoverage":false},{"functionName":"checkBounds","ranges":[{"startOffset":1176,"endOffset":1392,"count":1},{"startOffset":1339,"endOffset":1390,"count":0}],"isBlockCoverage":true},{"functionName":"checkInt","ranges":[{"startOffset":1394,"endOffset":2016,"count":1},{"startOffset":1490,"endOffset":1974,"count":0}],"isBlockCoverage":true},{"functionName":"boundsError","ranges":[{"startOffset":2018,"endOffset":2421,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":2441,"endOffset":2940,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":2942,"endOffset":3441,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":3443,"endOffset":3944,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":3946,"endOffset":4441,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntLE","ranges":[{"startOffset":4443,"endOffset":4995,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48LE","ranges":[{"startOffset":4997,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40LE","ranges":[{"startOffset":5382,"endOffset":5738,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":5740,"endOffset":6066,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24LE","ranges":[{"startOffset":6068,"endOffset":6356,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":6358,"endOffset":6618,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":6620,"endOffset":6800,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntBE","ranges":[{"startOffset":6802,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48BE","ranges":[{"startOffset":7356,"endOffset":7739,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40BE","ranges":[{"startOffset":7741,"endOffset":8097,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":8099,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24BE","ranges":[{"startOffset":8427,"endOffset":8715,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":8717,"endOffset":8977,"count":0}],"isBlockCoverage":false},{"functionName":"readIntLE","ranges":[{"startOffset":8979,"endOffset":9524,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48LE","ranges":[{"startOffset":9526,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40LE","ranges":[{"startOffset":9959,"endOffset":10346,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":10348,"endOffset":10683,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24LE","ranges":[{"startOffset":10685,"endOffset":11017,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":11019,"endOffset":11325,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":11327,"endOffset":11535,"count":0}],"isBlockCoverage":false},{"functionName":"readIntBE","ranges":[{"startOffset":11537,"endOffset":12082,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48BE","ranges":[{"startOffset":12084,"endOffset":12513,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40BE","ranges":[{"startOffset":12515,"endOffset":12903,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":12905,"endOffset":13240,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24BE","ranges":[{"startOffset":13242,"endOffset":13574,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":13576,"endOffset":13882,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBackwards","ranges":[{"startOffset":13899,"endOffset":14304,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatForwards","ranges":[{"startOffset":14306,"endOffset":14710,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBackwards","ranges":[{"startOffset":14712,"endOffset":15282,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleForwards","ranges":[{"startOffset":15284,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64LE","ranges":[{"startOffset":15874,"endOffset":16356,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":16358,"endOffset":16480,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64BE","ranges":[{"startOffset":16482,"endOffset":16980,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":16982,"endOffset":17104,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":17106,"endOffset":17250,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":17252,"endOffset":17396,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntLE","ranges":[{"startOffset":17398,"endOffset":18007,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48LE","ranges":[{"startOffset":18009,"endOffset":18422,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40LE","ranges":[{"startOffset":18424,"endOffset":18803,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32LE","ranges":[{"startOffset":18805,"endOffset":19112,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19114,"endOffset":19220,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24LE","ranges":[{"startOffset":19222,"endOffset":19481,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16LE","ranges":[{"startOffset":19483,"endOffset":19679,"count":1}],"isBlockCoverage":true},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19681,"endOffset":19783,"count":1}],"isBlockCoverage":true},{"functionName":"writeU_Int8","ranges":[{"startOffset":19785,"endOffset":20197,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":20199,"endOffset":20293,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntBE","ranges":[{"startOffset":20295,"endOffset":20904,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48BE","ranges":[{"startOffset":20906,"endOffset":21327,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40BE","ranges":[{"startOffset":21329,"endOffset":21691,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32BE","ranges":[{"startOffset":21693,"endOffset":22008,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":22010,"endOffset":22116,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24BE","ranges":[{"startOffset":22118,"endOffset":22383,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16BE","ranges":[{"startOffset":22385,"endOffset":22581,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":22583,"endOffset":22685,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntLE","ranges":[{"startOffset":22687,"endOffset":23349,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":23351,"endOffset":23466,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":23468,"endOffset":23575,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":23577,"endOffset":23674,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntBE","ranges":[{"startOffset":23676,"endOffset":24338,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":24340,"endOffset":24455,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":24457,"endOffset":24564,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleForwards","ranges":[{"startOffset":24583,"endOffset":25049,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBackwards","ranges":[{"startOffset":25051,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatForwards","ranges":[{"startOffset":25520,"endOffset":25821,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBackwards","ranges":[{"startOffset":25823,"endOffset":26125,"count":0}],"isBlockCoverage":false},{"functionName":"FastBuffer","ranges":[{"startOffset":26365,"endOffset":26465,"count":79}],"isBlockCoverage":true},{"functionName":"addBufferPrototypeMethods","ranges":[{"startOffset":26469,"endOffset":29608,"count":1},{"startOffset":28552,"endOffset":28572,"count":0},{"startOffset":28626,"endOffset":28645,"count":0},{"startOffset":28701,"endOffset":28722,"count":0},{"startOffset":28778,"endOffset":28798,"count":0},{"startOffset":28855,"endOffset":28876,"count":0},{"startOffset":28932,"endOffset":28952,"count":0},{"startOffset":29010,"endOffset":29032,"count":0},{"startOffset":29090,"endOffset":29111,"count":0}],"isBlockCoverage":true},{"functionName":"markAsUntransferable","ranges":[{"startOffset":29764,"endOffset":30013,"count":1},{"startOffset":29832,"endOffset":29860,"count":0},{"startOffset":29883,"endOffset":29890,"count":0}],"isBlockCoverage":true},{"functionName":"createUnsafeBuffer","ranges":[{"startOffset":30291,"endOffset":30427,"count":59}],"isBlockCoverage":true},{"functionName":"reconnectZeroFillToggle","ranges":[{"startOffset":30682,"endOffset":30754,"count":1}],"isBlockCoverage":true}]},{"scriptId":"98","url":"node:internal/worker/js_transferable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2208,"count":1}],"isBlockCoverage":false},{"functionName":"setup","ranges":[{"startOffset":478,"endOffset":1311,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":759,"endOffset":1307,"count":0}],"isBlockCoverage":false},{"functionName":"makeTransferable","ranges":[{"startOffset":1313,"endOffset":1968,"count":0}],"isBlockCoverage":false}]},{"scriptId":"99","url":"node:internal/process/per_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12464,"count":1}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":1145,"endOffset":1233,"count":0}],"isBlockCoverage":false},{"functionName":"refreshHrtimeBuffer","ranges":[{"startOffset":1388,"endOffset":1856,"count":2}],"isBlockCoverage":true},{"functionName":"hrtime","ranges":[{"startOffset":1905,"endOffset":2407,"count":0}],"isBlockCoverage":false},{"functionName":"hrtimeBigInt","ranges":[{"startOffset":2409,"endOffset":2490,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2492,"endOffset":2509,"count":0}],"isBlockCoverage":false},{"functionName":"wrapProcessMethods","ranges":[{"startOffset":2587,"endOffset":7477,"count":1}],"isBlockCoverage":true},{"functionName":"_rawDebug","ranges":[{"startOffset":2754,"endOffset":2844,"count":0}],"isBlockCoverage":false},{"functionName":"cpuUsage","ranges":[{"startOffset":3055,"endOffset":4207,"count":0}],"isBlockCoverage":false},{"functionName":"previousValueIsValid","ranges":[{"startOffset":4360,"endOffset":4497,"count":0}],"isBlockCoverage":false},{"functionName":"memoryUsage","ranges":[{"startOffset":4542,"endOffset":4769,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":4799,"endOffset":5938,"count":1}],"isBlockCoverage":true},{"functionName":"kill","ranges":[{"startOffset":5942,"endOffset":6587,"count":0}],"isBlockCoverage":false},{"functionName":"resourceUsage","ranges":[{"startOffset":6638,"endOffset":7372,"count":0}],"isBlockCoverage":false},{"functionName":"buildAllowedFlags","ranges":[{"startOffset":7688,"endOffset":11790,"count":1},{"startOffset":7976,"endOffset":8267,"count":159},{"startOffset":8028,"endOffset":8263,"count":124},{"startOffset":8125,"endOffset":8257,"count":62},{"startOffset":8735,"endOffset":9157,"count":23},{"startOffset":8789,"endOffset":9153,"count":11},{"startOffset":8878,"endOffset":8947,"count":2},{"startOffset":9012,"endOffset":9081,"count":0}],"isBlockCoverage":true},{"functionName":"isAccepted","ranges":[{"startOffset":8271,"endOffset":8683,"count":29},{"startOffset":8341,"endOffset":8355,"count":28},{"startOffset":8357,"endOffset":8369,"count":2},{"startOffset":8369,"endOffset":8446,"count":27},{"startOffset":8446,"endOffset":8615,"count":2},{"startOffset":8496,"endOffset":8543,"count":1},{"startOffset":8615,"endOffset":8682,"count":25}],"isBlockCoverage":true},{"functionName":"trimLeadingDashes","ranges":[{"startOffset":9191,"endOffset":9253,"count":197}],"isBlockCoverage":true},{"functionName":"NodeEnvironmentFlagsSet","ranges":[{"startOffset":9563,"endOffset":9639,"count":1}],"isBlockCoverage":true},{"functionName":"add","ranges":[{"startOffset":9645,"endOffset":9714,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":9720,"endOffset":9793,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":9799,"endOffset":9851,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":9857,"endOffset":10672,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":10678,"endOffset":10843,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":10849,"endOffset":11026,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":11032,"endOffset":11093,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":11099,"endOffset":11262,"count":0}],"isBlockCoverage":false},{"functionName":"toggleTraceCategoryState","ranges":[{"startOffset":11980,"endOffset":12310,"count":1},{"startOffset":12060,"endOffset":12235,"count":0},{"startOffset":12267,"endOffset":12308,"count":0}],"isBlockCoverage":true}]},{"scriptId":"100","url":"node:internal/process/task_queues","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4285,"count":1}],"isBlockCoverage":false},{"functionName":"hasTickScheduled","ranges":[{"startOffset":982,"endOffset":1057,"count":0}],"isBlockCoverage":false},{"functionName":"setHasTickScheduled","ranges":[{"startOffset":1059,"endOffset":1145,"count":2},{"startOffset":1135,"endOffset":1138,"count":1},{"startOffset":1139,"endOffset":1142,"count":1}],"isBlockCoverage":true},{"functionName":"runNextTicks","ranges":[{"startOffset":1247,"endOffset":1443,"count":0}],"isBlockCoverage":false},{"functionName":"processTicksAndRejections","ranges":[{"startOffset":1445,"endOffset":2424,"count":1},{"startOffset":1547,"endOffset":2279,"count":2},{"startOffset":1781,"endOffset":2155,"count":0},{"startOffset":2217,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"nextTick","ranges":[{"startOffset":2568,"endOffset":3442,"count":2},{"startOffset":2669,"endOffset":2676,"count":0},{"startOffset":2743,"endOffset":2780,"count":0},{"startOffset":2785,"endOffset":2836,"count":0},{"startOffset":2841,"endOffset":2906,"count":0},{"startOffset":2911,"endOffset":3054,"count":0},{"startOffset":3083,"endOffset":3109,"count":1},{"startOffset":3354,"endOffset":3414,"count":0}],"isBlockCoverage":true},{"functionName":"runMicrotask","ranges":[{"startOffset":3444,"endOffset":3620,"count":0}],"isBlockCoverage":false},{"functionName":"queueMicrotask","ranges":[{"startOffset":3692,"endOffset":3981,"count":0}],"isBlockCoverage":false},{"functionName":"setupTaskQueue","ranges":[{"startOffset":4004,"endOffset":4262,"count":1}],"isBlockCoverage":true}]},{"scriptId":"101","url":"node:internal/process/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11045,"count":1}],"isBlockCoverage":false},{"functionName":"setHasRejectionToWarn","ranges":[{"startOffset":2155,"endOffset":2245,"count":1},{"startOffset":2235,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"hasRejectionToWarn","ranges":[{"startOffset":2247,"endOffset":2326,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorLike","ranges":[{"startOffset":2328,"endOffset":2464,"count":0}],"isBlockCoverage":false},{"functionName":"getUnhandledRejectionsMode","ranges":[{"startOffset":2466,"endOffset":2999,"count":0}],"isBlockCoverage":false},{"functionName":"promiseRejectHandler","ranges":[{"startOffset":3001,"endOffset":3570,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3619,"endOffset":3627,"count":0}],"isBlockCoverage":false},{"functionName":"resolveError","ranges":[{"startOffset":3698,"endOffset":3995,"count":0}],"isBlockCoverage":false},{"functionName":"unhandledRejection","ranges":[{"startOffset":3997,"endOffset":4557,"count":0}],"isBlockCoverage":false},{"functionName":"handledRejection","ranges":[{"startOffset":4559,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionWarning","ranges":[{"startOffset":5462,"endOffset":6499,"count":0}],"isBlockCoverage":false},{"functionName":"processPromiseRejections","ranges":[{"startOffset":6672,"endOffset":9849,"count":1},{"startOffset":6830,"endOffset":7009,"count":0},{"startOffset":7074,"endOffset":9753,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithoutStack","ranges":[{"startOffset":9851,"endOffset":10366,"count":0}],"isBlockCoverage":false},{"functionName":"generateUnhandledRejectionError","ranges":[{"startOffset":10368,"endOffset":10838,"count":0}],"isBlockCoverage":false},{"functionName":"listenForRejections","ranges":[{"startOffset":10840,"endOffset":10924,"count":1}],"isBlockCoverage":true}]},{"scriptId":"102","url":"node:internal/fixed_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4208,"count":1}],"isBlockCoverage":false},{"functionName":"FixedCircularBuffer","ranges":[{"startOffset":2959,"endOffset":3073,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3077,"endOffset":3129,"count":6}],"isBlockCoverage":true},{"functionName":"isFull","ranges":[{"startOffset":3133,"endOffset":3200,"count":2}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3204,"endOffset":3291,"count":2}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3295,"endOffset":3510,"count":3},{"startOffset":3388,"endOffset":3400,"count":1},{"startOffset":3400,"endOffset":3509,"count":2}],"isBlockCoverage":true},{"functionName":"FixedQueue","ranges":[{"startOffset":3552,"endOffset":3626,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3630,"endOffset":3677,"count":3}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3681,"endOffset":3945,"count":2},{"startOffset":3722,"endOffset":3915,"count":0}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3949,"endOffset":4204,"count":3},{"startOffset":4041,"endOffset":4062,"count":2},{"startOffset":4064,"endOffset":4183,"count":0}],"isBlockCoverage":true}]},{"scriptId":"103","url":"node:async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10295,"count":1}],"isBlockCoverage":false},{"functionName":"AsyncHook","ranges":[{"startOffset":1538,"endOffset":2372,"count":1},{"startOffset":1666,"endOffset":1708,"count":0},{"startOffset":1738,"endOffset":1769,"count":0},{"startOffset":1777,"endOffset":1821,"count":0},{"startOffset":1850,"endOffset":1880,"count":0},{"startOffset":1888,"endOffset":1931,"count":0},{"startOffset":1962,"endOffset":1994,"count":0},{"startOffset":2002,"endOffset":2047,"count":0},{"startOffset":2085,"endOffset":2124,"count":0},{"startOffset":2132,"endOffset":2184,"count":0}],"isBlockCoverage":true},{"functionName":"enable","ranges":[{"startOffset":2376,"endOffset":3621,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":3625,"endOffset":4409,"count":0}],"isBlockCoverage":false},{"functionName":"createHook","ranges":[{"startOffset":4414,"endOffset":4471,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncResource","ranges":[{"startOffset":4564,"endOffset":5761,"count":0}],"isBlockCoverage":false},{"functionName":"runInAsyncScope","ranges":[{"startOffset":5765,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":6085,"endOffset":6260,"count":0}],"isBlockCoverage":false},{"functionName":"asyncId","ranges":[{"startOffset":6264,"endOffset":6313,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":6317,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":6385,"endOffset":7421,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":7432,"endOffset":7569,"count":0}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":7632,"endOffset":7920,"count":0}],"isBlockCoverage":false},{"functionName":"AsyncLocalStorage","ranges":[{"startOffset":7955,"endOffset":8052,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":8063,"endOffset":8112,"count":0}],"isBlockCoverage":false},{"functionName":"snapshot","ranges":[{"startOffset":8123,"endOffset":8204,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":8208,"endOffset":8533,"count":0}],"isBlockCoverage":false},{"functionName":"_enable","ranges":[{"startOffset":8537,"endOffset":8683,"count":0}],"isBlockCoverage":false},{"functionName":"_propagate","ranges":[{"startOffset":8752,"endOffset":8932,"count":0}],"isBlockCoverage":false},{"functionName":"enterWith","ranges":[{"startOffset":8936,"endOffset":9068,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":9072,"endOffset":9570,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":9574,"endOffset":9806,"count":0}],"isBlockCoverage":false},{"functionName":"getStore","ranges":[{"startOffset":9810,"endOffset":9949,"count":0}],"isBlockCoverage":false}]},{"scriptId":"104","url":"node:timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9640,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1819,"endOffset":1844,"count":0}],"isBlockCoverage":false},{"functionName":"unenroll","ranges":[{"startOffset":2343,"endOffset":3527,"count":0}],"isBlockCoverage":false},{"functionName":"enroll","ranges":[{"startOffset":3734,"endOffset":3987,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":4229,"endOffset":4886,"count":1},{"startOffset":4396,"endOffset":4403,"count":0},{"startOffset":4433,"endOffset":4474,"count":0},{"startOffset":4479,"endOffset":4526,"count":0},{"startOffset":4531,"endOffset":4752,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4981,"endOffset":5106,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimeout","ranges":[{"startOffset":5206,"endOffset":5572,"count":5},{"startOffset":5249,"endOffset":5268,"count":0},{"startOffset":5270,"endOffset":5337,"count":0},{"startOffset":5400,"endOffset":5570,"count":0}],"isBlockCoverage":true},{"functionName":"setInterval","ranges":[{"startOffset":5809,"endOffset":6468,"count":0}],"isBlockCoverage":false},{"functionName":"clearInterval","ranges":[{"startOffset":6565,"endOffset":6863,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.close","ranges":[{"startOffset":6891,"endOffset":6942,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":6980,"endOffset":7016,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":7126,"endOffset":7287,"count":0}],"isBlockCoverage":false},{"functionName":"setImmediate","ranges":[{"startOffset":7504,"endOffset":8057,"count":1},{"startOffset":7691,"endOffset":7732,"count":0},{"startOffset":7737,"endOffset":7784,"count":0},{"startOffset":7789,"endOffset":8010,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8154,"endOffset":8281,"count":0}],"isBlockCoverage":false},{"functionName":"clearImmediate","ranges":[{"startOffset":8372,"endOffset":8922,"count":0}],"isBlockCoverage":false},{"functionName":"Immediate.","ranges":[{"startOffset":8961,"endOffset":8999,"count":0}],"isBlockCoverage":false}]},{"scriptId":"105","url":"node:internal/process/execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6918,"count":1}],"isBlockCoverage":false},{"functionName":"tryGetCwd","ranges":[{"startOffset":681,"endOffset":1011,"count":1},{"startOffset":742,"endOffset":1009,"count":0}],"isBlockCoverage":true},{"functionName":"evalModule","ranges":[{"startOffset":1013,"endOffset":1407,"count":0}],"isBlockCoverage":false},{"functionName":"evalScript","ranges":[{"startOffset":1409,"endOffset":3230,"count":0}],"isBlockCoverage":false},{"functionName":"setUncaughtExceptionCaptureCallback","ranges":[{"startOffset":3308,"endOffset":4002,"count":0}],"isBlockCoverage":false},{"functionName":"hasUncaughtExceptionCaptureCallback","ranges":[{"startOffset":4004,"endOffset":4105,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4107,"endOffset":4125,"count":0}],"isBlockCoverage":false},{"functionName":"createOnGlobalUncaughtException","ranges":[{"startOffset":4668,"endOffset":6491,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4937,"endOffset":6488,"count":0}],"isBlockCoverage":false},{"functionName":"readStdin","ranges":[{"startOffset":6493,"endOffset":6698,"count":0}],"isBlockCoverage":false}]},{"scriptId":"106","url":"node:path","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":46851,"count":1}],"isBlockCoverage":false},{"functionName":"isPathSeparator","ranges":[{"startOffset":1719,"endOffset":1823,"count":0}],"isBlockCoverage":false},{"functionName":"isPosixPathSeparator","ranges":[{"startOffset":1825,"endOffset":1902,"count":274695}],"isBlockCoverage":true},{"functionName":"isWindowsDeviceRoot","ranges":[{"startOffset":1904,"endOffset":2074,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeString","ranges":[{"startOffset":2137,"endOffset":4085,"count":3930},{"startOffset":2354,"endOffset":4069,"count":274313},{"startOffset":2387,"endOffset":2429,"count":270383},{"startOffset":2429,"endOffset":2520,"count":3930},{"startOffset":2472,"endOffset":2478,"count":3548},{"startOffset":2478,"endOffset":2520,"count":382},{"startOffset":2520,"endOffset":2553,"count":270765},{"startOffset":2553,"endOffset":3970,"count":33340},{"startOffset":2585,"endOffset":2598,"count":28125},{"startOffset":2600,"endOffset":2625,"count":5856},{"startOffset":2625,"endOffset":3927,"count":27484},{"startOffset":2647,"endOffset":3682,"count":128},{"startOffset":2676,"endOffset":2702,"count":69},{"startOffset":2703,"endOffset":2777,"count":4},{"startOffset":2778,"endOffset":2852,"count":4},{"startOffset":2854,"endOffset":3542,"count":124},{"startOffset":2886,"endOffset":3363,"count":65},{"startOffset":3006,"endOffset":3082,"count":0},{"startOffset":3363,"endOffset":3532,"count":59},{"startOffset":3391,"endOffset":3532,"count":0},{"startOffset":3542,"endOffset":3674,"count":63},{"startOffset":3605,"endOffset":3623,"count":4},{"startOffset":3624,"endOffset":3630,"count":59},{"startOffset":3682,"endOffset":3927,"count":27356},{"startOffset":3728,"endOffset":3797,"count":23485},{"startOffset":3797,"endOffset":3872,"count":3871},{"startOffset":3927,"endOffset":3970,"count":33275},{"startOffset":3970,"endOffset":4065,"count":237425},{"startOffset":3998,"endOffset":4012,"count":3767},{"startOffset":4014,"endOffset":4035,"count":901},{"startOffset":4035,"endOffset":4065,"count":236524}],"isBlockCoverage":true},{"functionName":"formatExt","ranges":[{"startOffset":4087,"endOffset":4172,"count":0}],"isBlockCoverage":false},{"functionName":"_format","ranges":[{"startOffset":4350,"endOffset":4685,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":4803,"endOffset":9588,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":9654,"endOffset":12725,"count":0}],"isBlockCoverage":false},{"functionName":"isAbsolute","ranges":[{"startOffset":12792,"endOffset":13208,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13277,"endOffset":15423,"count":0}],"isBlockCoverage":false},{"functionName":"relative","ranges":[{"startOffset":15719,"endOffset":19486,"count":0}],"isBlockCoverage":false},{"functionName":"toNamespacedPath","ranges":[{"startOffset":19552,"endOffset":20654,"count":0}],"isBlockCoverage":false},{"functionName":"dirname","ranges":[{"startOffset":20720,"endOffset":23266,"count":0}],"isBlockCoverage":false},{"functionName":"basename","ranges":[{"startOffset":23362,"endOffset":26136,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":26202,"endOffset":28275,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":28497,"endOffset":33253,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33339,"endOffset":33782,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33526,"endOffset":33683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33760,"endOffset":33779,"count":2}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":33904,"endOffset":34827,"count":3549},{"startOffset":34027,"endOffset":34047,"count":9451},{"startOffset":34054,"endOffset":34381,"count":5905},{"startOffset":34082,"endOffset":34091,"count":5903},{"startOffset":34092,"endOffset":34104,"count":2},{"startOffset":34207,"endOffset":34234,"count":0},{"startOffset":34234,"endOffset":34381,"count":5904},{"startOffset":34381,"endOffset":34766,"count":3548},{"startOffset":34766,"endOffset":34816,"count":0},{"startOffset":34817,"endOffset":34822,"count":0}],"isBlockCoverage":true},{"functionName":"normalize","ranges":[{"startOffset":34893,"endOffset":35506,"count":382},{"startOffset":34979,"endOffset":34990,"count":0},{"startOffset":35318,"endOffset":35412,"count":0},{"startOffset":35446,"endOffset":35458,"count":0},{"startOffset":35482,"endOffset":35494,"count":3},{"startOffset":35495,"endOffset":35501,"count":379}],"isBlockCoverage":true},{"functionName":"isAbsolute","ranges":[{"startOffset":35573,"endOffset":35729,"count":634}],"isBlockCoverage":true},{"functionName":"join","ranges":[{"startOffset":35798,"endOffset":36212,"count":3},{"startOffset":35847,"endOffset":35858,"count":0},{"startOffset":35917,"endOffset":36124,"count":6},{"startOffset":36053,"endOffset":36110,"count":3},{"startOffset":36161,"endOffset":36172,"count":0}],"isBlockCoverage":true},{"functionName":"relative","ranges":[{"startOffset":36302,"endOffset":38662,"count":2},{"startOffset":36415,"endOffset":36425,"count":0},{"startOffset":36552,"endOffset":36562,"count":0},{"startOffset":36835,"endOffset":36842,"count":0},{"startOffset":36916,"endOffset":37151,"count":70},{"startOffset":37064,"endOffset":37070,"count":0},{"startOffset":37127,"endOffset":37145,"count":6},{"startOffset":37483,"endOffset":37665,"count":0},{"startOffset":37673,"endOffset":38130,"count":0},{"startOffset":38136,"endOffset":38661,"count":0}],"isBlockCoverage":true},{"functionName":"toNamespacedPath","ranges":[{"startOffset":38728,"endOffset":38804,"count":3123}],"isBlockCoverage":true},{"functionName":"dirname","ranges":[{"startOffset":38870,"endOffset":39546,"count":1628},{"startOffset":38953,"endOffset":38964,"count":0},{"startOffset":39138,"endOffset":39391,"count":19304},{"startOffset":39209,"endOffset":39293,"count":1628},{"startOffset":39293,"endOffset":39385,"count":17676},{"startOffset":39419,"endOffset":39446,"count":0},{"startOffset":39483,"endOffset":39495,"count":0}],"isBlockCoverage":true},{"functionName":"basename","ranges":[{"startOffset":39642,"endOffset":42069,"count":384},{"startOffset":39703,"endOffset":39733,"count":0},{"startOffset":39865,"endOffset":39885,"count":0},{"startOffset":39886,"endOffset":39917,"count":0},{"startOffset":39919,"endOffset":41443,"count":0},{"startOffset":41491,"endOffset":41976,"count":4620},{"startOffset":41562,"endOffset":41786,"count":384},{"startOffset":41786,"endOffset":41970,"count":4236},{"startOffset":41808,"endOffset":41970,"count":384},{"startOffset":42004,"endOffset":42014,"count":0}],"isBlockCoverage":true},{"functionName":"extname","ranges":[{"startOffset":42135,"endOffset":43825,"count":1},{"startOffset":42468,"endOffset":43430,"count":13},{"startOffset":42564,"endOffset":42810,"count":1},{"startOffset":42784,"endOffset":42810,"count":0},{"startOffset":42810,"endOffset":42833,"count":12},{"startOffset":42833,"endOffset":42990,"count":1},{"startOffset":42990,"endOffset":43020,"count":12},{"startOffset":43020,"endOffset":43220,"count":1},{"startOffset":43149,"endOffset":43212,"count":0},{"startOffset":43220,"endOffset":43424,"count":11},{"startOffset":43247,"endOffset":43424,"count":7},{"startOffset":43669,"endOffset":43701,"count":0},{"startOffset":43702,"endOffset":43740,"count":0},{"startOffset":43743,"endOffset":43767,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":44052,"endOffset":46524,"count":0}],"isBlockCoverage":false}]},{"scriptId":"107","url":"node:internal/constants","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1583,"count":1}],"isBlockCoverage":false}]},{"scriptId":"108","url":"node:internal/process/warning","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5379,"count":1}],"isBlockCoverage":false},{"functionName":"resetForSerialization","ranges":[{"startOffset":448,"endOffset":645,"count":0}],"isBlockCoverage":false},{"functionName":"lazyOption","ranges":[{"startOffset":647,"endOffset":1201,"count":0}],"isBlockCoverage":false},{"functionName":"writeOut","ranges":[{"startOffset":1302,"endOffset":1424,"count":0}],"isBlockCoverage":false},{"functionName":"closeFdOnExit","ranges":[{"startOffset":1426,"endOffset":1537,"count":0}],"isBlockCoverage":false},{"functionName":"writeToFile","ranges":[{"startOffset":1539,"endOffset":1868,"count":0}],"isBlockCoverage":false},{"functionName":"doEmitWarning","ranges":[{"startOffset":1870,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"onWarning","ranges":[{"startOffset":1943,"endOffset":3092,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarning","ranges":[{"startOffset":3215,"endOffset":4406,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarningSync","ranges":[{"startOffset":4408,"endOffset":4538,"count":0}],"isBlockCoverage":false},{"functionName":"createWarningObject","ranges":[{"startOffset":4540,"endOffset":5283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"109","url":"node:internal/source_map/source_map_cache","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10127,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":357,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":824,"endOffset":939,"count":1}],"isBlockCoverage":true},{"functionName":"getSourceMapsEnabled","ranges":[{"startOffset":1596,"endOffset":1659,"count":80}],"isBlockCoverage":true},{"functionName":"setSourceMapsEnabled","ranges":[{"startOffset":1661,"endOffset":2203,"count":1},{"startOffset":1924,"endOffset":2173,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceURLMagicComment","ranges":[{"startOffset":2205,"endOffset":2805,"count":16},{"startOffset":2507,"endOffset":2540,"count":0},{"startOffset":2593,"endOffset":2729,"count":0},{"startOffset":2731,"endOffset":2804,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceMapURLMagicComment","ranges":[{"startOffset":2807,"endOffset":3250,"count":58},{"startOffset":3128,"endOffset":3156,"count":0},{"startOffset":3204,"endOffset":3249,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheSourceMap","ranges":[{"startOffset":3252,"endOffset":5023,"count":72},{"startOffset":3454,"endOffset":3474,"count":0},{"startOffset":3477,"endOffset":3484,"count":0},{"startOffset":3618,"endOffset":3742,"count":0},{"startOffset":3778,"endOffset":3844,"count":58},{"startOffset":3933,"endOffset":3950,"count":58},{"startOffset":3950,"endOffset":4122,"count":14},{"startOffset":4123,"endOffset":4137,"count":0},{"startOffset":4164,"endOffset":4349,"count":0},{"startOffset":4349,"endOffset":5021,"count":14},{"startOffset":4378,"endOffset":4644,"count":0},{"startOffset":4963,"endOffset":5017,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheGeneratedSourceMap","ranges":[{"startOffset":5025,"endOffset":5553,"count":2},{"startOffset":5163,"endOffset":5183,"count":0},{"startOffset":5186,"endOffset":5193,"count":0},{"startOffset":5297,"endOffset":5551,"count":0}],"isBlockCoverage":true},{"functionName":"dataFromUrl","ranges":[{"startOffset":5555,"endOffset":6075,"count":14},{"startOffset":5692,"endOffset":5767,"count":0},{"startOffset":5774,"endOffset":5854,"count":0}],"isBlockCoverage":true},{"functionName":"lineLengths","ranges":[{"startOffset":6265,"endOffset":6610,"count":14}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6567,"endOffset":6606,"count":1173}],"isBlockCoverage":true},{"functionName":"sourceMapFromFile","ranges":[{"startOffset":6612,"endOffset":6892,"count":14},{"startOffset":6840,"endOffset":6890,"count":0}],"isBlockCoverage":true},{"functionName":"sourceMapFromDataUrl","ranges":[{"startOffset":6986,"endOffset":7657,"count":0}],"isBlockCoverage":false},{"functionName":"sourcesToAbsolute","ranges":[{"startOffset":7842,"endOffset":8169,"count":14}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7920,"endOffset":8026,"count":14}],"isBlockCoverage":true},{"functionName":"sourceMapCacheToObject","ranges":[{"startOffset":8607,"endOffset":8855,"count":0}],"isBlockCoverage":false},{"functionName":"appendCJSCache","ranges":[{"startOffset":8857,"endOffset":9083,"count":0}],"isBlockCoverage":false},{"functionName":"findSourceMap","ranges":[{"startOffset":9085,"endOffset":9957,"count":16},{"startOffset":9186,"endOffset":9238,"count":10},{"startOffset":9238,"endOffset":9257,"count":15},{"startOffset":9257,"endOffset":9331,"count":1},{"startOffset":9331,"endOffset":9379,"count":15},{"startOffset":9379,"endOffset":9420,"count":9},{"startOffset":9449,"endOffset":9696,"count":9},{"startOffset":9499,"endOffset":9692,"count":0},{"startOffset":9696,"endOffset":9724,"count":15},{"startOffset":9724,"endOffset":9751,"count":9},{"startOffset":9751,"endOffset":9818,"count":6},{"startOffset":9818,"endOffset":9935,"count":2},{"startOffset":9935,"endOffset":9956,"count":6}],"isBlockCoverage":true}]},{"scriptId":"110","url":"node:internal/url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43440,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBlob","ranges":[{"startOffset":2768,"endOffset":2843,"count":0}],"isBlockCoverage":false},{"functionName":"lazyCryptoRandom","ranges":[{"startOffset":2845,"endOffset":3079,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3462,"endOffset":4251,"count":1365}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3589,"endOffset":3617,"count":1}],"isBlockCoverage":false},{"functionName":"get hasPort","ranges":[{"startOffset":4030,"endOffset":4095,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSearch","ranges":[{"startOffset":4099,"endOffset":4174,"count":1611}],"isBlockCoverage":true},{"functionName":"get hasHash","ranges":[{"startOffset":4178,"endOffset":4249,"count":1611}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4337,"endOffset":6674,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7067,"endOffset":19940,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7158,"endOffset":7494,"count":1}],"isBlockCoverage":false},{"functionName":"setURLSearchParamsContext","ranges":[{"startOffset":7199,"endOffset":7246,"count":0}],"isBlockCoverage":false},{"functionName":"getURLSearchParamsList","ranges":[{"startOffset":7277,"endOffset":7303,"count":0}],"isBlockCoverage":false},{"functionName":"setURLSearchParams","ranges":[{"startOffset":7330,"endOffset":7489,"count":0}],"isBlockCoverage":false},{"functionName":"isURL","ranges":[{"startOffset":21271,"endOffset":21396,"count":1705},{"startOffset":21322,"endOffset":21338,"count":745},{"startOffset":21339,"endOffset":21365,"count":745},{"startOffset":21366,"endOffset":21392,"count":745}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21398,"endOffset":29200,"count":1446}],"isBlockCoverage":false},{"functionName":"URL","ranges":[{"startOffset":21461,"endOffset":21761,"count":1446},{"startOffset":21532,"endOffset":21580,"count":0},{"startOffset":21669,"endOffset":21700,"count":691}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21765,"endOffset":22485,"count":0}],"isBlockCoverage":false},{"functionName":"#updateContext","ranges":[{"startOffset":22489,"endOffset":23396,"count":1540},{"startOffset":23205,"endOffset":23392,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":23400,"endOffset":23447,"count":533}],"isBlockCoverage":true},{"functionName":"get href","ranges":[{"startOffset":23451,"endOffset":23498,"count":1045}],"isBlockCoverage":true},{"functionName":"set href","ranges":[{"startOffset":23502,"endOffset":23711,"count":0}],"isBlockCoverage":false},{"functionName":"get origin","ranges":[{"startOffset":23729,"endOffset":24598,"count":0}],"isBlockCoverage":false},{"functionName":"get protocol","ranges":[{"startOffset":24602,"endOffset":24706,"count":2233}],"isBlockCoverage":true},{"functionName":"set protocol","ranges":[{"startOffset":24710,"endOffset":24883,"count":0}],"isBlockCoverage":false},{"functionName":"get username","ranges":[{"startOffset":24887,"endOffset":25114,"count":0}],"isBlockCoverage":false},{"functionName":"set username","ranges":[{"startOffset":25118,"endOffset":25291,"count":0}],"isBlockCoverage":false},{"functionName":"get password","ranges":[{"startOffset":25295,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"set password","ranges":[{"startOffset":25522,"endOffset":25695,"count":0}],"isBlockCoverage":false},{"functionName":"get host","ranges":[{"startOffset":25699,"endOffset":26130,"count":0}],"isBlockCoverage":false},{"functionName":"set host","ranges":[{"startOffset":26134,"endOffset":26299,"count":0}],"isBlockCoverage":false},{"functionName":"get hostname","ranges":[{"startOffset":26303,"endOffset":26585,"count":709},{"startOffset":26469,"endOffset":26494,"count":0}],"isBlockCoverage":true},{"functionName":"set hostname","ranges":[{"startOffset":26589,"endOffset":26762,"count":0}],"isBlockCoverage":false},{"functionName":"get port","ranges":[{"startOffset":26766,"endOffset":26874,"count":0}],"isBlockCoverage":false},{"functionName":"set port","ranges":[{"startOffset":26878,"endOffset":27043,"count":0}],"isBlockCoverage":false},{"functionName":"get pathname","ranges":[{"startOffset":27047,"endOffset":27339,"count":1504},{"startOffset":27113,"endOffset":27163,"count":0},{"startOffset":27196,"endOffset":27244,"count":0}],"isBlockCoverage":true},{"functionName":"set pathname","ranges":[{"startOffset":27343,"endOffset":27516,"count":0}],"isBlockCoverage":false},{"functionName":"get search","ranges":[{"startOffset":27520,"endOffset":27855,"count":107},{"startOffset":27583,"endOffset":27854,"count":0}],"isBlockCoverage":true},{"functionName":"set search","ranges":[{"startOffset":27859,"endOffset":28036,"count":107}],"isBlockCoverage":true},{"functionName":"get searchParams","ranges":[{"startOffset":28054,"endOffset":28353,"count":0}],"isBlockCoverage":false},{"functionName":"get hash","ranges":[{"startOffset":28357,"endOffset":28572,"count":107},{"startOffset":28401,"endOffset":28463,"count":0},{"startOffset":28489,"endOffset":28571,"count":0}],"isBlockCoverage":true},{"functionName":"set hash","ranges":[{"startOffset":28576,"endOffset":28741,"count":107}],"isBlockCoverage":true},{"functionName":"toJSON","ranges":[{"startOffset":28745,"endOffset":28790,"count":0}],"isBlockCoverage":false},{"functionName":"canParse","ranges":[{"startOffset":28801,"endOffset":29198,"count":0}],"isBlockCoverage":false},{"functionName":"installObjectURLMethods","ranges":[{"startOffset":29910,"endOffset":30849,"count":1}],"isBlockCoverage":true},{"functionName":"createObjectURL","ranges":[{"startOffset":29997,"endOffset":30416,"count":0}],"isBlockCoverage":false},{"functionName":"revokeObjectURL","ranges":[{"startOffset":30420,"endOffset":30498,"count":0}],"isBlockCoverage":false},{"functionName":"parseParams","ranges":[{"startOffset":30958,"endOffset":33306,"count":0}],"isBlockCoverage":false},{"functionName":"serializeParams","ranges":[{"startOffset":34286,"endOffset":34846,"count":0}],"isBlockCoverage":false},{"functionName":"merge","ranges":[{"startOffset":34866,"endOffset":35496,"count":0}],"isBlockCoverage":false},{"functionName":"domainToASCII","ranges":[{"startOffset":35498,"endOffset":35683,"count":0}],"isBlockCoverage":false},{"functionName":"domainToUnicode","ranges":[{"startOffset":35685,"endOffset":35874,"count":0}],"isBlockCoverage":false},{"functionName":"urlToHttpOptions","ranges":[{"startOffset":36084,"endOffset":36785,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLWin32","ranges":[{"startOffset":36787,"endOffset":38284,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLPosix","ranges":[{"startOffset":38286,"endOffset":38807,"count":709},{"startOffset":38349,"endOffset":38405,"count":0},{"startOffset":38483,"endOffset":38766,"count":53914},{"startOffset":38514,"endOffset":38762,"count":0}],"isBlockCoverage":true},{"functionName":"fileURLToPath","ranges":[{"startOffset":38809,"endOffset":39148,"count":709},{"startOffset":38876,"endOffset":38897,"count":48},{"startOffset":38897,"endOffset":38991,"count":661},{"startOffset":38927,"endOffset":38991,"count":0},{"startOffset":39029,"endOffset":39070,"count":0},{"startOffset":39090,"endOffset":39117,"count":0}],"isBlockCoverage":true},{"functionName":"encodePathChars","ranges":[{"startOffset":39961,"endOffset":40737,"count":191},{"startOffset":40054,"endOffset":40125,"count":0},{"startOffset":40253,"endOffset":40326,"count":0},{"startOffset":40384,"endOffset":40455,"count":0},{"startOffset":40513,"endOffset":40591,"count":0},{"startOffset":40649,"endOffset":40716,"count":0}],"isBlockCoverage":true},{"functionName":"pathToFileURL","ranges":[{"startOffset":40739,"endOffset":42716,"count":192},{"startOffset":40790,"endOffset":40836,"count":0},{"startOffset":40838,"endOffset":41603,"count":0},{"startOffset":41885,"endOffset":41946,"count":190},{"startOffset":41906,"endOffset":41945,"count":0},{"startOffset":41948,"endOffset":41999,"count":1},{"startOffset":42005,"endOffset":42021,"count":1},{"startOffset":42021,"endOffset":42477,"count":191},{"startOffset":42477,"endOffset":42549,"count":0},{"startOffset":42549,"endOffset":42606,"count":191},{"startOffset":42606,"endOffset":42674,"count":0},{"startOffset":42674,"endOffset":42715,"count":191}],"isBlockCoverage":true},{"functionName":"toPathIfFileURL","ranges":[{"startOffset":42718,"endOffset":42855,"count":1020},{"startOffset":42793,"endOffset":42814,"count":936},{"startOffset":42814,"endOffset":42854,"count":84}],"isBlockCoverage":true},{"functionName":"getURLOrigin","ranges":[{"startOffset":43042,"endOffset":43108,"count":0}],"isBlockCoverage":false}]},{"scriptId":"111","url":"node:internal/querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3316,"count":1}],"isBlockCoverage":false},{"functionName":"encodeStr","ranges":[{"startOffset":1534,"endOffset":3253,"count":0}],"isBlockCoverage":false}]},{"scriptId":"112","url":"node:querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14583,"count":1}],"isBlockCoverage":false},{"functionName":"unescapeBuffer","ranges":[{"startOffset":3146,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"qsUnescape","ranges":[{"startOffset":4400,"endOffset":4565,"count":0}],"isBlockCoverage":false},{"functionName":"qsEscape","ranges":[{"startOffset":5418,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"stringifyPrimitive","ranges":[{"startOffset":5719,"endOffset":5989,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringified","ranges":[{"startOffset":6110,"endOffset":6599,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringifiedCustom","ranges":[{"startOffset":6718,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":7065,"endOffset":8131,"count":0}],"isBlockCoverage":false},{"functionName":"charCodes","ranges":[{"startOffset":8187,"endOffset":8455,"count":0}],"isBlockCoverage":false},{"functionName":"addKeyVal","ranges":[{"startOffset":8518,"endOffset":9141,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":9392,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"decodeStr","ranges":[{"startOffset":14459,"endOffset":14582,"count":0}],"isBlockCoverage":false}]},{"scriptId":"113","url":"node:internal/bootstrap/web/exposed-wildcard","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3439,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":900,"endOffset":1129,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1153,"endOffset":1265,"count":0}],"isBlockCoverage":false},{"functionName":"createGlobalConsole","ranges":[{"startOffset":1898,"endOffset":2437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"114","url":"node:internal/console/global","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1814,"count":1}],"isBlockCoverage":false}]},{"scriptId":"115","url":"node:internal/console/constructor","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21601,"count":1}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1875,"endOffset":1975,"count":0}],"isBlockCoverage":false},{"functionName":"Console","ranges":[{"startOffset":2721,"endOffset":4813,"count":1},{"startOffset":2999,"endOffset":3053,"count":0},{"startOffset":3110,"endOffset":3223,"count":0},{"startOffset":3428,"endOffset":3486,"count":0},{"startOffset":3540,"endOffset":3598,"count":0},{"startOffset":3637,"endOffset":3660,"count":0},{"startOffset":3666,"endOffset":3722,"count":0},{"startOffset":3762,"endOffset":3871,"count":0},{"startOffset":3909,"endOffset":4215,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4331,"endOffset":4697,"count":19}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5042,"endOffset":5096,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5366,"endOffset":5607,"count":1}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5832,"endOffset":6477,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6041,"endOffset":6136,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6148,"endOffset":6178,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6308,"endOffset":6407,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6419,"endOffset":6449,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":6569,"endOffset":7977,"count":2}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":8069,"endOffset":9521,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":9616,"endOffset":10026,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10119,"endOffset":10299,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10392,"endOffset":10572,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteErrorHandler","ranges":[{"startOffset":10662,"endOffset":11551,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10730,"endOffset":11548,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":11580,"endOffset":11667,"count":0}],"isBlockCoverage":false},{"functionName":"warn","ranges":[{"startOffset":11673,"endOffset":11761,"count":0}],"isBlockCoverage":false},{"functionName":"dir","ranges":[{"startOffset":11767,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"time","ranges":[{"startOffset":11958,"endOffset":12316,"count":0}],"isBlockCoverage":false},{"functionName":"timeEnd","ranges":[{"startOffset":12321,"endOffset":12610,"count":0}],"isBlockCoverage":false},{"functionName":"timeLog","ranges":[{"startOffset":12615,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"trace","ranges":[{"startOffset":12865,"endOffset":13052,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":13057,"endOffset":13297,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":13358,"endOffset":13830,"count":0}],"isBlockCoverage":false},{"functionName":"count","ranges":[{"startOffset":13891,"endOffset":14347,"count":0}],"isBlockCoverage":false},{"functionName":"countReset","ranges":[{"startOffset":14413,"endOffset":14701,"count":0}],"isBlockCoverage":false},{"functionName":"group","ranges":[{"startOffset":14706,"endOffset":14891,"count":0}],"isBlockCoverage":false},{"functionName":"groupEnd","ranges":[{"startOffset":14896,"endOffset":15065,"count":0}],"isBlockCoverage":false},{"functionName":"table","ranges":[{"startOffset":15114,"endOffset":18432,"count":0}],"isBlockCoverage":false},{"functionName":"timeLogImpl","ranges":[{"startOffset":18473,"endOffset":18992,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":18994,"endOffset":19071,"count":0}],"isBlockCoverage":false},{"functionName":"formatTime","ranges":[{"startOffset":19073,"endOffset":19846,"count":0}],"isBlockCoverage":false},{"functionName":"isArray","ranges":[{"startOffset":19980,"endOffset":20036,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":20039,"endOffset":20057,"count":0}],"isBlockCoverage":false},{"functionName":"initializeGlobalConsole","ranges":[{"startOffset":20425,"endOffset":21464,"count":1},{"startOffset":20793,"endOffset":21463,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21359,"endOffset":21460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"116","url":"node:internal/util/inspector","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3929,"count":1}],"isBlockCoverage":false},{"functionName":"isUsingInspector","ranges":[{"startOffset":698,"endOffset":1081,"count":0}],"isBlockCoverage":false},{"functionName":"getInspectPort","ranges":[{"startOffset":1108,"endOffset":1485,"count":0}],"isBlockCoverage":false},{"functionName":"sendInspectorCommand","ranges":[{"startOffset":1500,"endOffset":2046,"count":0}],"isBlockCoverage":false},{"functionName":"isInspectorMessage","ranges":[{"startOffset":2048,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"installConsoleExtensions","ranges":[{"startOffset":2248,"endOffset":2891,"count":0}],"isBlockCoverage":false},{"functionName":"wrapConsole","ranges":[{"startOffset":2970,"endOffset":3778,"count":1},{"startOffset":3137,"endOffset":3776,"count":24},{"startOffset":3368,"endOffset":3654,"count":19},{"startOffset":3654,"endOffset":3772,"count":5}],"isBlockCoverage":true}]},{"scriptId":"117","url":"node:internal/process/permission","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":919,"count":1}],"isBlockCoverage":false},{"functionName":"isEnabled","ranges":[{"startOffset":315,"endOffset":559,"count":1840},{"startOffset":375,"endOffset":520,"count":1}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":563,"endOffset":913,"count":0}],"isBlockCoverage":false}]},{"scriptId":"118","url":"node:internal/event_target","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31545,"count":1}],"isBlockCoverage":false},{"functionName":"get isTrusted","ranges":[{"startOffset":2074,"endOffset":2130,"count":0}],"isBlockCoverage":false},{"functionName":"isEvent","ranges":[{"startOffset":2268,"endOffset":2340,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2342,"endOffset":7042,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":7039,"count":1}],"isBlockCoverage":false},{"functionName":"isCustomEvent","ranges":[{"startOffset":8173,"endOffset":8267,"count":0}],"isBlockCoverage":false},{"functionName":"CustomEvent","ranges":[{"startOffset":8497,"endOffset":8689,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":8722,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"NodeCustomEvent","ranges":[{"startOffset":9118,"endOffset":9245,"count":0}],"isBlockCoverage":false},{"functionName":"weakListeners","ranges":[{"startOffset":9495,"endOffset":9822,"count":0}],"isBlockCoverage":false},{"functionName":"Listener","ranges":[{"startOffset":10502,"endOffset":11966,"count":13},{"startOffset":10837,"endOffset":10856,"count":0},{"startOffset":10880,"endOffset":10902,"count":0},{"startOffset":10926,"endOffset":10948,"count":0},{"startOffset":11029,"endOffset":11048,"count":0},{"startOffset":11086,"endOffset":11122,"count":0},{"startOffset":11194,"endOffset":11650,"count":0},{"startOffset":11763,"endOffset":11962,"count":0}],"isBlockCoverage":true},{"functionName":"Listener.callback","ranges":[{"startOffset":11793,"endOffset":11923,"count":0}],"isBlockCoverage":false},{"functionName":"get once","ranges":[{"startOffset":11970,"endOffset":12030,"count":6}],"isBlockCoverage":true},{"functionName":"get capture","ranges":[{"startOffset":12033,"endOffset":12099,"count":4}],"isBlockCoverage":true},{"functionName":"get passive","ranges":[{"startOffset":12102,"endOffset":12168,"count":6}],"isBlockCoverage":true},{"functionName":"get isNodeStyleListener","ranges":[{"startOffset":12171,"endOffset":12251,"count":12}],"isBlockCoverage":true},{"functionName":"get weak","ranges":[{"startOffset":12254,"endOffset":12314,"count":39}],"isBlockCoverage":true},{"functionName":"get resistStopPropagation","ranges":[{"startOffset":12317,"endOffset":12411,"count":0}],"isBlockCoverage":false},{"functionName":"get removed","ranges":[{"startOffset":12414,"endOffset":12480,"count":6}],"isBlockCoverage":true},{"functionName":"set removed","ranges":[{"startOffset":12483,"endOffset":12600,"count":17},{"startOffset":12525,"endOffset":12552,"count":4},{"startOffset":12552,"endOffset":12596,"count":13}],"isBlockCoverage":true},{"functionName":"same","ranges":[{"startOffset":12604,"endOffset":12771,"count":16},{"startOffset":12663,"endOffset":12686,"count":0},{"startOffset":12739,"endOffset":12766,"count":4}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":12775,"endOffset":13032,"count":4},{"startOffset":12900,"endOffset":12935,"count":2},{"startOffset":12986,"endOffset":13028,"count":0}],"isBlockCoverage":true},{"functionName":"initEventTarget","ranges":[{"startOffset":13036,"endOffset":13255,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13463,"endOffset":13493,"count":1}],"isBlockCoverage":false},{"functionName":"EventTarget","ranges":[{"startOffset":13498,"endOffset":13544,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13548,"endOffset":14353,"count":13},{"startOffset":13709,"endOffset":13757,"count":0},{"startOffset":13759,"endOffset":14349,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14356,"endOffset":14407,"count":4}],"isBlockCoverage":true},{"functionName":"addEventListener","ranges":[{"startOffset":14796,"endOffset":17514,"count":13},{"startOffset":14891,"endOffset":14933,"count":0},{"startOffset":14970,"endOffset":15017,"count":0},{"startOffset":15409,"endOffset":15862,"count":0},{"startOffset":15926,"endOffset":16310,"count":0},{"startOffset":16381,"endOffset":16873,"count":7},{"startOffset":16873,"endOffset":17028,"count":6},{"startOffset":17028,"endOffset":17063,"count":8},{"startOffset":17065,"endOffset":17128,"count":8},{"startOffset":17128,"endOffset":17161,"count":6},{"startOffset":17161,"endOffset":17203,"count":0},{"startOffset":17203,"endOffset":17513,"count":6}],"isBlockCoverage":true},{"functionName":"signal.addEventListener.__proto__","ranges":[{"startOffset":16141,"endOffset":16215,"count":0}],"isBlockCoverage":false},{"functionName":"removeEventListener","ranges":[{"startOffset":17672,"endOffset":18513,"count":4},{"startOffset":17770,"endOffset":17812,"count":0},{"startOffset":17849,"endOffset":17896,"count":0},{"startOffset":17945,"endOffset":17952,"count":0},{"startOffset":18151,"endOffset":18158,"count":0},{"startOffset":18223,"endOffset":18509,"count":8},{"startOffset":18268,"endOffset":18473,"count":4},{"startOffset":18356,"endOffset":18383,"count":0},{"startOffset":18473,"endOffset":18509,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18517,"endOffset":19138,"count":0}],"isBlockCoverage":false},{"functionName":"dispatchEvent","ranges":[{"startOffset":19180,"endOffset":19641,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19645,"endOffset":21941,"count":4},{"startOffset":19944,"endOffset":20020,"count":0},{"startOffset":20119,"endOffset":20219,"count":0},{"startOffset":20496,"endOffset":21866,"count":6},{"startOffset":20637,"endOffset":20646,"count":0},{"startOffset":20656,"endOffset":20689,"count":0},{"startOffset":20692,"endOffset":21022,"count":0},{"startOffset":21047,"endOffset":21217,"count":0},{"startOffset":21327,"endOffset":21375,"count":0},{"startOffset":21414,"endOffset":21450,"count":0},{"startOffset":21622,"endOffset":21680,"count":0},{"startOffset":21724,"endOffset":21742,"count":0},{"startOffset":21754,"endOffset":21771,"count":0},{"startOffset":21780,"endOffset":21837,"count":0},{"startOffset":21903,"endOffset":21937,"count":0}],"isBlockCoverage":true},{"functionName":"createEvent","ranges":[{"startOffset":19713,"endOffset":19913,"count":0}],"isBlockCoverage":false},{"functionName":"iterationCondition","ranges":[{"startOffset":20296,"endOffset":20461,"count":10},{"startOffset":20337,"endOffset":20368,"count":4},{"startOffset":20368,"endOffset":20427,"count":6},{"startOffset":20428,"endOffset":20454,"count":6},{"startOffset":20436,"endOffset":20445,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21945,"endOffset":22043,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22046,"endOffset":22425,"count":0}],"isBlockCoverage":false},{"functionName":"initNodeEventTarget","ranges":[{"startOffset":22750,"endOffset":22813,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":22899,"endOffset":22930,"count":1}],"isBlockCoverage":false},{"functionName":"NodeEventTarget","ranges":[{"startOffset":22935,"endOffset":22998,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":23037,"endOffset":23191,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":23230,"endOffset":23383,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":23424,"endOffset":23573,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":23638,"endOffset":23847,"count":0}],"isBlockCoverage":false},{"functionName":"off","ranges":[{"startOffset":24037,"endOffset":24230,"count":4},{"startOffset":24108,"endOffset":24154,"count":0}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":24420,"endOffset":24624,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":24755,"endOffset":24960,"count":13},{"startOffset":24816,"endOffset":24862,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":25091,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":25393,"endOffset":25653,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":25784,"endOffset":26029,"count":0}],"isBlockCoverage":false},{"functionName":"removeAllListeners","ranges":[{"startOffset":26105,"endOffset":26360,"count":0}],"isBlockCoverage":false},{"functionName":"validateEventListener","ranges":[{"startOffset":26825,"endOffset":27197,"count":17},{"startOffset":26905,"endOffset":26957,"count":0},{"startOffset":26981,"endOffset":27196,"count":0}],"isBlockCoverage":true},{"functionName":"validateEventListenerOptions","ranges":[{"startOffset":27199,"endOffset":27778,"count":13},{"startOffset":27288,"endOffset":27316,"count":0},{"startOffset":27346,"endOffset":27366,"count":0}],"isBlockCoverage":true},{"functionName":"isEventTarget","ranges":[{"startOffset":28083,"endOffset":28159,"count":17}],"isBlockCoverage":true},{"functionName":"isNodeEventTarget","ranges":[{"startOffset":28161,"endOffset":28245,"count":17}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":28247,"endOffset":28561,"count":0}],"isBlockCoverage":false},{"functionName":"emitUncaughtException","ranges":[{"startOffset":28563,"endOffset":28644,"count":0}],"isBlockCoverage":false},{"functionName":"makeEventHandler","ranges":[{"startOffset":28646,"endOffset":29055,"count":0}],"isBlockCoverage":false},{"functionName":"defineEventHandler","ranges":[{"startOffset":29057,"endOffset":30523,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":29217,"endOffset":29353,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":29452,"endOffset":30290,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterMixin","ranges":[{"startOffset":30551,"endOffset":31241,"count":1},{"startOffset":30982,"endOffset":31144,"count":18}],"isBlockCoverage":true},{"functionName":"MixedEventEmitter","ranges":[{"startOffset":30620,"endOffset":30761,"count":58}],"isBlockCoverage":true}]},{"scriptId":"119","url":"node:util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10913,"count":1}],"isBlockCoverage":false},{"functionName":"lazyAbortController","ranges":[{"startOffset":2369,"endOffset":2489,"count":24}],"isBlockCoverage":true},{"functionName":"isBoolean","ranges":[{"startOffset":2600,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"isNull","ranges":[{"startOffset":2746,"endOffset":2793,"count":0}],"isBlockCoverage":false},{"functionName":"isNullOrUndefined","ranges":[{"startOffset":2891,"endOffset":2970,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":3056,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":3174,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbol","ranges":[{"startOffset":3320,"endOffset":3380,"count":0}],"isBlockCoverage":false},{"functionName":"isUndefined","ranges":[{"startOffset":3469,"endOffset":3526,"count":0}],"isBlockCoverage":false},{"functionName":"isObject","ranges":[{"startOffset":3623,"endOffset":3699,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":3782,"endOffset":3885,"count":0}],"isBlockCoverage":false},{"functionName":"isFunction","ranges":[{"startOffset":3973,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"isPrimitive","ranges":[{"startOffset":4172,"endOffset":4291,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":4343,"endOffset":4418,"count":0}],"isBlockCoverage":false},{"functionName":"timestamp","ranges":[{"startOffset":4584,"endOffset":4865,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":5023,"endOffset":5176,"count":0}],"isBlockCoverage":false},{"functionName":"inherits","ranges":[{"startOffset":5909,"endOffset":6547,"count":0}],"isBlockCoverage":false},{"functionName":"_extend","ranges":[{"startOffset":6700,"endOffset":6988,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7036,"endOffset":7461,"count":0}],"isBlockCoverage":false},{"functionName":"callbackify","ranges":[{"startOffset":7714,"endOffset":9211,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorName","ranges":[{"startOffset":9265,"endOffset":9481,"count":0}],"isBlockCoverage":false},{"functionName":"isDeepStrictEqual","ranges":[{"startOffset":9882,"endOffset":10087,"count":0}],"isBlockCoverage":false},{"functionName":"get transferableAbortSignal","ranges":[{"startOffset":10340,"endOffset":10433,"count":8}],"isBlockCoverage":true},{"functionName":"get transferableAbortController","ranges":[{"startOffset":10437,"endOffset":10538,"count":8}],"isBlockCoverage":true},{"functionName":"get aborted","ranges":[{"startOffset":10542,"endOffset":10603,"count":8}],"isBlockCoverage":true}]},{"scriptId":"120","url":"node:internal/webidl","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4636,"count":1}],"isBlockCoverage":false},{"functionName":"evenRound","ranges":[{"startOffset":825,"endOffset":1150,"count":0}],"isBlockCoverage":false},{"functionName":"pow2","ranges":[{"startOffset":1152,"endOffset":1415,"count":0}],"isBlockCoverage":false},{"functionName":"modulo","ranges":[{"startOffset":1527,"endOffset":1641,"count":0}],"isBlockCoverage":false},{"functionName":"convertToInt","ranges":[{"startOffset":1706,"endOffset":4313,"count":0}],"isBlockCoverage":false},{"functionName":"DOMString","ranges":[{"startOffset":4438,"endOffset":4568,"count":17},{"startOffset":4491,"endOffset":4545,"count":0}],"isBlockCoverage":true}]},{"scriptId":"121","url":"node:internal/perf/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":787,"count":1}],"isBlockCoverage":false},{"functionName":"getTimeOrigin","ranges":[{"startOffset":138,"endOffset":316,"count":0}],"isBlockCoverage":false},{"functionName":"now","ranges":[{"startOffset":390,"endOffset":496,"count":0}],"isBlockCoverage":false},{"functionName":"getMilestoneTimestamp","ranges":[{"startOffset":575,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"122","url":"node:internal/bootstrap/web/exposed-window-or-worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2185,"count":1}],"isBlockCoverage":false}]},{"scriptId":"123","url":"node:internal/bootstrap/switches/is_not_main_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1185,"count":1}],"isBlockCoverage":false},{"functionName":"defineStream","ranges":[{"startOffset":119,"endOffset":288,"count":3}],"isBlockCoverage":true},{"functionName":"lazyWorkerStdio","ranges":[{"startOffset":902,"endOffset":1009,"count":23},{"startOffset":951,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"getStdout","ranges":[{"startOffset":1011,"endOffset":1068,"count":8}],"isBlockCoverage":true},{"functionName":"getStderr","ranges":[{"startOffset":1070,"endOffset":1127,"count":9}],"isBlockCoverage":true},{"functionName":"getStdin","ranges":[{"startOffset":1129,"endOffset":1184,"count":6}],"isBlockCoverage":true}]},{"scriptId":"124","url":"node:internal/process/signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":false},{"functionName":"isSignal","ranges":[{"startOffset":238,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"startListeningIfSignal","ranges":[{"startOffset":398,"endOffset":904,"count":0}],"isBlockCoverage":false},{"functionName":"stopListeningIfSignal","ranges":[{"startOffset":906,"endOffset":1101,"count":0}],"isBlockCoverage":false}]},{"scriptId":"125","url":"node:internal/worker/io","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15479,"count":1}],"isBlockCoverage":false},{"functionName":"MessagePort.hasRef","ranges":[{"startOffset":3683,"endOffset":3766,"count":0}],"isBlockCoverage":false},{"functionName":"validateMessagePort","ranges":[{"startOffset":3769,"endOffset":3907,"count":0}],"isBlockCoverage":false},{"functionName":"isMessageEvent","ranges":[{"startOffset":3909,"endOffset":3985,"count":0}],"isBlockCoverage":false},{"functionName":"MessageEvent","ranges":[{"startOffset":4024,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4628,"endOffset":4752,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4862,"endOffset":4988,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5103,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5344,"endOffset":5470,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5579,"endOffset":5704,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5946,"endOffset":6264,"count":0}],"isBlockCoverage":false},{"functionName":"oninit","ranges":[{"startOffset":6403,"endOffset":6546,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortCloseEvent","ranges":[{"startOffset":6848,"endOffset":6887,"count":0}],"isBlockCoverage":false},{"functionName":"onclose","ranges":[{"startOffset":6960,"endOffset":7033,"count":0}],"isBlockCoverage":false},{"functionName":"MessagePort.close","ranges":[{"startOffset":7214,"endOffset":7349,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":7482,"endOffset":8110,"count":0}],"isBlockCoverage":false},{"functionName":"setupPortReferencing","ranges":[{"startOffset":8117,"endOffset":9480,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8478,"endOffset":8573,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8612,"endOffset":8710,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8812,"endOffset":8957,"count":9},{"startOffset":8872,"endOffset":8894,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9068,"endOffset":9215,"count":4},{"startOffset":9128,"endOffset":9149,"count":3}],"isBlockCoverage":true},{"functionName":"newListener","ranges":[{"startOffset":9221,"endOffset":9362,"count":6},{"startOffset":9270,"endOffset":9358,"count":2}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":9366,"endOffset":9478,"count":3},{"startOffset":9418,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"ReadableWorkerStdio","ranges":[{"startOffset":9530,"endOffset":9879,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9708,"endOffset":9873,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":9883,"endOffset":10189,"count":0}],"isBlockCoverage":false},{"functionName":"WritableWorkerStdio","ranges":[{"startOffset":10240,"endOffset":10389,"count":2}],"isBlockCoverage":true},{"functionName":"_writev","ranges":[{"startOffset":10393,"endOffset":10769,"count":0}],"isBlockCoverage":false},{"functionName":"_final","ranges":[{"startOffset":10773,"endOffset":10953,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10957,"endOffset":11204,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11099,"endOffset":11111,"count":0}],"isBlockCoverage":false},{"functionName":"createWorkerStdio","ranges":[{"startOffset":11208,"endOffset":11478,"count":1}],"isBlockCoverage":true},{"functionName":"receiveMessageOnPort","ranges":[{"startOffset":11480,"endOffset":11660,"count":0}],"isBlockCoverage":false},{"functionName":"onMessageEvent","ranges":[{"startOffset":11662,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"isBroadcastChannel","ranges":[{"startOffset":11759,"endOffset":11845,"count":0}],"isBlockCoverage":false},{"functionName":"BroadcastChannel","ranges":[{"startOffset":11932,"endOffset":12446,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12450,"endOffset":12863,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":12899,"endOffset":13028,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13065,"endOffset":13463,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":13531,"endOffset":13941,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":14224,"endOffset":14391,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":14676,"endOffset":14847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"126","url":"node:stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4784,"count":1}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2402,"endOffset":2558,"count":0}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2983,"endOffset":3117,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4105,"endOffset":4137,"count":19}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4235,"endOffset":4276,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4369,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"_uint8ArrayToBuffer","ranges":[{"startOffset":4575,"endOffset":4782,"count":0}],"isBlockCoverage":false}]},{"scriptId":"127","url":"node:internal/streams/operators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10772,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":1019,"endOffset":1599,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":1601,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"asIndexedPairs","ranges":[{"startOffset":4706,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"some","ranges":[{"startOffset":5181,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"every","ranges":[{"startOffset":5331,"endOffset":5659,"count":0}],"isBlockCoverage":false},{"functionName":"find","ranges":[{"startOffset":5661,"endOffset":5803,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":5805,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":6177,"endOffset":6504,"count":0}],"isBlockCoverage":false},{"functionName":"ReduceAwareErrMissingArgs","ranges":[{"startOffset":6720,"endOffset":6834,"count":0}],"isBlockCoverage":false},{"functionName":"reduce","ranges":[{"startOffset":6838,"endOffset":8280,"count":0}],"isBlockCoverage":false},{"functionName":"toArray","ranges":[{"startOffset":8282,"endOffset":8711,"count":0}],"isBlockCoverage":false},{"functionName":"flatMap","ranges":[{"startOffset":8713,"endOffset":8907,"count":0}],"isBlockCoverage":false},{"functionName":"toIntegerOrInfinity","ranges":[{"startOffset":8909,"endOffset":9231,"count":0}],"isBlockCoverage":false},{"functionName":"drop","ranges":[{"startOffset":9233,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"take","ranges":[{"startOffset":9783,"endOffset":10453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"128","url":"node:internal/abort_controller","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12413,"count":1}],"isBlockCoverage":false},{"functionName":"lazyMessageChannel","ranges":[{"startOffset":1574,"endOffset":1707,"count":0}],"isBlockCoverage":false},{"functionName":"lazyMakeTransferable","ranges":[{"startOffset":1709,"endOffset":1867,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":2337,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"validateThisAbortSignal","ranges":[{"startOffset":2598,"endOffset":2723,"count":0}],"isBlockCoverage":false},{"functionName":"setWeakAbortSignalTimeout","ranges":[{"startOffset":3305,"endOffset":3705,"count":0}],"isBlockCoverage":false},{"functionName":"AbortSignal","ranges":[{"startOffset":3749,"endOffset":3809,"count":0}],"isBlockCoverage":false},{"functionName":"get aborted","ranges":[{"startOffset":3846,"endOffset":3929,"count":0}],"isBlockCoverage":false},{"functionName":"get reason","ranges":[{"startOffset":3962,"endOffset":4041,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfAborted","ranges":[{"startOffset":4045,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4165,"endOffset":4294,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":4372,"endOffset":4516,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":4594,"endOffset":4856,"count":0}],"isBlockCoverage":false},{"functionName":"any","ranges":[{"startOffset":4943,"endOffset":6278,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6282,"endOffset":7050,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7408,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7412,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8023,"endOffset":8275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8279,"endOffset":8727,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal","ranges":[{"startOffset":8731,"endOffset":8815,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal.","ranges":[{"startOffset":8860,"endOffset":8868,"count":0}],"isBlockCoverage":false},{"functionName":"createAbortSignal","ranges":[{"startOffset":9346,"endOffset":9759,"count":0}],"isBlockCoverage":false},{"functionName":"abortSignal","ranges":[{"startOffset":9761,"endOffset":10123,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10125,"endOffset":10781,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortSignal","ranges":[{"startOffset":10929,"endOffset":11121,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortController","ranges":[{"startOffset":11193,"endOffset":11282,"count":0}],"isBlockCoverage":false},{"functionName":"aborted","ranges":[{"startOffset":11376,"endOffset":11964,"count":0}],"isBlockCoverage":false}]},{"scriptId":"129","url":"node:internal/streams/end-of-stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8360,"count":1}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":891,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":1000,"endOffset":1008,"count":0}],"isBlockCoverage":false},{"functionName":"eos","ranges":[{"startOffset":1011,"endOffset":6953,"count":0}],"isBlockCoverage":false},{"functionName":"eosWeb","ranges":[{"startOffset":6955,"endOffset":7840,"count":0}],"isBlockCoverage":false},{"functionName":"finished","ranges":[{"startOffset":7842,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"130","url":"node:internal/streams/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8416,"count":1}],"isBlockCoverage":false},{"functionName":"isReadableNodeStream","ranges":[{"startOffset":774,"endOffset":1191,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableNodeStream","ranges":[{"startOffset":1193,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexNodeStream","ranges":[{"startOffset":1415,"endOffset":1614,"count":0}],"isBlockCoverage":false},{"functionName":"isNodeStream","ranges":[{"startOffset":1616,"endOffset":1887,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":1889,"endOffset":2103,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":2105,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":2275,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"isWebStream","ranges":[{"startOffset":2444,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"isIterable","ranges":[{"startOffset":2558,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"isDestroyed","ranges":[{"startOffset":2890,"endOffset":3153,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableEnded","ranges":[{"startOffset":3177,"endOffset":3468,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableFinished","ranges":[{"startOffset":3496,"endOffset":3893,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableEnded","ranges":[{"startOffset":3922,"endOffset":4223,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableFinished","ranges":[{"startOffset":4248,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":4598,"endOffset":4898,"count":0}],"isBlockCoverage":false},{"functionName":"isWritable","ranges":[{"startOffset":4900,"endOffset":5197,"count":0}],"isBlockCoverage":false},{"functionName":"isFinished","ranges":[{"startOffset":5199,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableErrored","ranges":[{"startOffset":5515,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableErrored","ranges":[{"startOffset":5729,"endOffset":5941,"count":0}],"isBlockCoverage":false},{"functionName":"isClosed","ranges":[{"startOffset":5943,"endOffset":6448,"count":0}],"isBlockCoverage":false},{"functionName":"isOutgoingMessage","ranges":[{"startOffset":6450,"endOffset":6702,"count":0}],"isBlockCoverage":false},{"functionName":"isServerResponse","ranges":[{"startOffset":6704,"endOffset":6831,"count":0}],"isBlockCoverage":false},{"functionName":"isServerRequest","ranges":[{"startOffset":6833,"endOffset":7021,"count":0}],"isBlockCoverage":false},{"functionName":"willEmitClose","ranges":[{"startOffset":7023,"endOffset":7361,"count":0}],"isBlockCoverage":false},{"functionName":"isDisturbed","ranges":[{"startOffset":7363,"endOffset":7508,"count":0}],"isBlockCoverage":false},{"functionName":"isErrored","ranges":[{"startOffset":7510,"endOffset":7815,"count":0}],"isBlockCoverage":false}]},{"scriptId":"131","url":"node:internal/streams/compose","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5451,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":543,"endOffset":5449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"132","url":"node:internal/streams/pipeline","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12326,"count":1}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":1058,"endOffset":1487,"count":0}],"isBlockCoverage":false},{"functionName":"popCallback","ranges":[{"startOffset":1489,"endOffset":1817,"count":0}],"isBlockCoverage":false},{"functionName":"makeAsyncIterable","ranges":[{"startOffset":1819,"endOffset":2105,"count":0}],"isBlockCoverage":false},{"functionName":"fromReadable","ranges":[{"startOffset":2107,"endOffset":2281,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToNode","ranges":[{"startOffset":2283,"endOffset":3327,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToWeb","ranges":[{"startOffset":3329,"endOffset":3927,"count":0}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":3929,"endOffset":4022,"count":0}],"isBlockCoverage":false},{"functionName":"pipelineImpl","ranges":[{"startOffset":4024,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"pipe","ranges":[{"startOffset":10478,"endOffset":12279,"count":0}],"isBlockCoverage":false}]},{"scriptId":"133","url":"node:internal/streams/destroy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6826,"count":1}],"isBlockCoverage":false},{"functionName":"checkError","ranges":[{"startOffset":360,"endOffset":671,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":781,"endOffset":1568,"count":0}],"isBlockCoverage":false},{"functionName":"_destroy","ranges":[{"startOffset":1570,"endOffset":2184,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseNT","ranges":[{"startOffset":2186,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":2275,"endOffset":2523,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":2525,"endOffset":2800,"count":0}],"isBlockCoverage":false},{"functionName":"undestroy","ranges":[{"startOffset":2802,"endOffset":3492,"count":0}],"isBlockCoverage":false},{"functionName":"errorOrDestroy","ranges":[{"startOffset":3494,"endOffset":4413,"count":0}],"isBlockCoverage":false},{"functionName":"construct","ranges":[{"startOffset":4415,"endOffset":4821,"count":4},{"startOffset":4512,"endOffset":4820,"count":0}],"isBlockCoverage":true},{"functionName":"constructNT","ranges":[{"startOffset":4823,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"emitConstructNT","ranges":[{"startOffset":5572,"endOffset":5635,"count":0}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":5637,"endOffset":5733,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseLegacy","ranges":[{"startOffset":5735,"endOffset":5795,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseLegacy","ranges":[{"startOffset":5797,"endOffset":5917,"count":0}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":5952,"endOffset":6734,"count":0}],"isBlockCoverage":false}]},{"scriptId":"134","url":"node:internal/streams/duplex","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4938,"count":1}],"isBlockCoverage":false},{"functionName":"Duplex","ranges":[{"startOffset":1996,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3811,"endOffset":4023,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4029,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":4364,"endOffset":4528,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.fromWeb","ranges":[{"startOffset":4547,"endOffset":4665,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.toWeb","ranges":[{"startOffset":4683,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.from","ranges":[{"startOffset":4805,"endOffset":4936,"count":0}],"isBlockCoverage":false}]},{"scriptId":"135","url":"node:internal/streams/readable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43849,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1799,"endOffset":1824,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2617,"endOffset":2625,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3306,"endOffset":3522,"count":19}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3381,"endOffset":3423,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":3429,"endOffset":3514,"count":0}],"isBlockCoverage":false},{"functionName":"ReadableState","ranges":[{"startOffset":5398,"endOffset":8222,"count":2},{"startOffset":5797,"endOffset":5840,"count":0},{"startOffset":6159,"endOffset":6180,"count":0},{"startOffset":6182,"endOffset":6208,"count":0},{"startOffset":6225,"endOffset":6235,"count":0},{"startOffset":6236,"endOffset":6265,"count":0},{"startOffset":6271,"endOffset":6297,"count":0},{"startOffset":6472,"endOffset":6544,"count":0},{"startOffset":6946,"endOffset":6976,"count":0},{"startOffset":6978,"endOffset":7004,"count":0},{"startOffset":7093,"endOffset":7125,"count":0},{"startOffset":7127,"endOffset":7155,"count":0},{"startOffset":7652,"endOffset":7669,"count":0},{"startOffset":7742,"endOffset":7901,"count":0},{"startOffset":8100,"endOffset":8119,"count":0},{"startOffset":8121,"endOffset":8220,"count":0}],"isBlockCoverage":true},{"functionName":"Readable","ranges":[{"startOffset":8225,"endOffset":9113,"count":2},{"startOffset":8293,"endOffset":8322,"count":0},{"startOffset":8593,"endOffset":8937,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9000,"endOffset":9109,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._destroy","ranges":[{"startOffset":9250,"endOffset":9282,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9333,"endOffset":9371,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9415,"endOffset":9671,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.push","ranges":[{"startOffset":9900,"endOffset":9986,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unshift","ranges":[{"startOffset":10082,"endOffset":10167,"count":0}],"isBlockCoverage":false},{"functionName":"readableAddChunk","ranges":[{"startOffset":10170,"endOffset":12572,"count":0}],"isBlockCoverage":false},{"functionName":"addChunk","ranges":[{"startOffset":12574,"endOffset":13339,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.isPaused","ranges":[{"startOffset":13371,"endOffset":13483,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.setEncoding","ranges":[{"startOffset":13547,"endOffset":14108,"count":0}],"isBlockCoverage":false},{"functionName":"computeNewHighWaterMark","ranges":[{"startOffset":14169,"endOffset":14520,"count":0}],"isBlockCoverage":false},{"functionName":"howMuchToRead","ranges":[{"startOffset":14633,"endOffset":15044,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.read","ranges":[{"startOffset":15141,"endOffset":19643,"count":0}],"isBlockCoverage":false},{"functionName":"onEofChunk","ranges":[{"startOffset":19646,"endOffset":20466,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable","ranges":[{"startOffset":20667,"endOffset":20994,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable_","ranges":[{"startOffset":20996,"endOffset":21650,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore","ranges":[{"startOffset":22000,"endOffset":22177,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore_","ranges":[{"startOffset":22179,"endOffset":23971,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._read","ranges":[{"startOffset":24242,"endOffset":24308,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pipe","ranges":[{"startOffset":24337,"endOffset":28782,"count":0}],"isBlockCoverage":false},{"functionName":"pipeOnDrain","ranges":[{"startOffset":28785,"endOffset":29430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unpipe","ranges":[{"startOffset":29461,"endOffset":30162,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.on","ranges":[{"startOffset":30288,"endOffset":31195,"count":1},{"startOffset":30420,"endOffset":30752,"count":0},{"startOffset":30781,"endOffset":31178,"count":0}],"isBlockCoverage":true},{"functionName":"Readable.removeListener","ranges":[{"startOffset":31290,"endOffset":31855,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.removeAllListeners","ranges":[{"startOffset":31958,"endOffset":32552,"count":0}],"isBlockCoverage":false},{"functionName":"updateReadableListening","ranges":[{"startOffset":32555,"endOffset":33065,"count":0}],"isBlockCoverage":false},{"functionName":"nReadingNextTick","ranges":[{"startOffset":33067,"endOffset":33155,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.resume","ranges":[{"startOffset":33309,"endOffset":33634,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":33637,"endOffset":33787,"count":0}],"isBlockCoverage":false},{"functionName":"resume_","ranges":[{"startOffset":33789,"endOffset":34040,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pause","ranges":[{"startOffset":34069,"endOffset":34336,"count":0}],"isBlockCoverage":false},{"functionName":"flow","ranges":[{"startOffset":34339,"endOffset":34486,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":34670,"endOffset":35691,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":35736,"endOffset":35788,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.iterator","ranges":[{"startOffset":35821,"endOffset":35964,"count":0}],"isBlockCoverage":false},{"functionName":"streamToAsyncIterator","ranges":[{"startOffset":35967,"endOffset":36216,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncIterator","ranges":[{"startOffset":36218,"endOffset":37294,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":37513,"endOffset":37902,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":37908,"endOffset":38038,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38120,"endOffset":38184,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38266,"endOffset":38474,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38562,"endOffset":38628,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38709,"endOffset":38791,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38873,"endOffset":38933,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":38944,"endOffset":39053,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39129,"endOffset":39183,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39263,"endOffset":39351,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39429,"endOffset":39514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39583,"endOffset":39667,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39712,"endOffset":39796,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39867,"endOffset":39954,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":39960,"endOffset":40249,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40324,"endOffset":40412,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40553,"endOffset":40598,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40678,"endOffset":40729,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":40735,"endOffset":40784,"count":0}],"isBlockCoverage":false},{"functionName":"fromList","ranges":[{"startOffset":41090,"endOffset":41652,"count":0}],"isBlockCoverage":false},{"functionName":"endReadable","ranges":[{"startOffset":41654,"endOffset":41875,"count":0}],"isBlockCoverage":false},{"functionName":"endReadableNT","ranges":[{"startOffset":41877,"endOffset":42797,"count":0}],"isBlockCoverage":false},{"functionName":"endWritableNT","ranges":[{"startOffset":42799,"endOffset":42959,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.from","ranges":[{"startOffset":42977,"endOffset":43046,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":43111,"endOffset":43275,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.fromWeb","ranges":[{"startOffset":43296,"endOffset":43430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.toWeb","ranges":[{"startOffset":43450,"endOffset":43584,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":43603,"endOffset":43847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"136","url":"node:internal/streams/legacy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2934,"count":1}],"isBlockCoverage":false},{"functionName":"Stream","ranges":[{"startOffset":112,"endOffset":160,"count":4}],"isBlockCoverage":true},{"functionName":"Stream.pipe","ranges":[{"startOffset":274,"endOffset":2076,"count":0}],"isBlockCoverage":false},{"functionName":"prependListener","ranges":[{"startOffset":2079,"endOffset":2886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"137","url":"node:internal/streams/add-abort-signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1704,"count":1}],"isBlockCoverage":false},{"functionName":"validateAbortSignal","ranges":[{"startOffset":557,"endOffset":716,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortSignal","ranges":[{"startOffset":751,"endOffset":1062,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.addAbortSignalNoValidate","ranges":[{"startOffset":1107,"endOffset":1702,"count":0}],"isBlockCoverage":false}]},{"scriptId":"138","url":"node:internal/streams/buffer_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4060,"count":1}],"isBlockCoverage":false},{"functionName":"BufferList","ranges":[{"startOffset":254,"endOffset":338,"count":2}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":342,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":533,"endOffset":691,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":695,"endOffset":922,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":926,"endOffset":994,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":998,"endOffset":1180,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":1184,"endOffset":1467,"count":0}],"isBlockCoverage":false},{"functionName":"consume","ranges":[{"startOffset":1551,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":2009,"endOffset":2049,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":2053,"endOffset":2149,"count":0}],"isBlockCoverage":false},{"functionName":"_getString","ranges":[{"startOffset":2224,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"_getBuffer","ranges":[{"startOffset":2932,"endOffset":3779,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":3860,"endOffset":4056,"count":0}],"isBlockCoverage":false}]},{"scriptId":"139","url":"node:internal/streams/state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1332,"count":1}],"isBlockCoverage":false},{"functionName":"highWaterMarkFrom","ranges":[{"startOffset":287,"endOffset":454,"count":2},{"startOffset":385,"endOffset":408,"count":0},{"startOffset":424,"endOffset":444,"count":0}],"isBlockCoverage":true},{"functionName":"getDefaultHighWaterMark","ranges":[{"startOffset":456,"endOffset":586,"count":4},{"startOffset":523,"endOffset":555,"count":0}],"isBlockCoverage":true},{"functionName":"setDefaultHighWaterMark","ranges":[{"startOffset":588,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"getHighWaterMark","ranges":[{"startOffset":801,"endOffset":1234,"count":2},{"startOffset":948,"endOffset":1160,"count":0}],"isBlockCoverage":true}]},{"scriptId":"140","url":"node:string_decoder","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5213,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeEncoding","ranges":[{"startOffset":2129,"endOffset":2391,"count":0}],"isBlockCoverage":false},{"functionName":"StringDecoder","ranges":[{"startOffset":2705,"endOffset":2904,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3227,"endOffset":3612,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":3889,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":4291,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4586,"endOffset":4799,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4891,"endOffset":4954,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5047,"endOffset":5162,"count":0}],"isBlockCoverage":false}]},{"scriptId":"141","url":"node:internal/streams/from","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2614,"count":1}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":241,"endOffset":2589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"142","url":"node:internal/streams/writable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29040,"count":1}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2389,"endOffset":2406,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3093,"endOffset":3309,"count":20}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3168,"endOffset":3210,"count":2}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3216,"endOffset":3301,"count":0}],"isBlockCoverage":false},{"functionName":"WritableState","ranges":[{"startOffset":5971,"endOffset":9003,"count":2},{"startOffset":6366,"endOffset":6409,"count":0},{"startOffset":6630,"endOffset":6656,"count":0},{"startOffset":6672,"endOffset":6682,"count":0},{"startOffset":6683,"endOffset":6712,"count":0},{"startOffset":6714,"endOffset":6740,"count":0},{"startOffset":7031,"endOffset":7067,"count":0},{"startOffset":7121,"endOffset":7150,"count":0},{"startOffset":7257,"endOffset":7283,"count":0},{"startOffset":7406,"endOffset":7434,"count":0},{"startOffset":7754,"endOffset":7913,"count":0}],"isBlockCoverage":true},{"functionName":"resetBuffer","ranges":[{"startOffset":9005,"endOffset":9127,"count":2}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":9165,"endOffset":9254,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9350,"endOffset":9415,"count":0}],"isBlockCoverage":false},{"functionName":"Writable","ranges":[{"startOffset":9422,"endOffset":10950,"count":2},{"startOffset":10123,"endOffset":10152,"count":0},{"startOffset":10291,"endOffset":10319,"count":0},{"startOffset":10373,"endOffset":10403,"count":0},{"startOffset":10458,"endOffset":10490,"count":0},{"startOffset":10543,"endOffset":10571,"count":0},{"startOffset":10628,"endOffset":10664,"count":0},{"startOffset":10696,"endOffset":10733,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10800,"endOffset":10946,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":11032,"endOffset":11236,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.pipe","ranges":[{"startOffset":11337,"endOffset":11405,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":11408,"endOffset":12809,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.write","ranges":[{"startOffset":12838,"endOffset":12924,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.cork","ranges":[{"startOffset":12953,"endOffset":12999,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.uncork","ranges":[{"startOffset":13030,"endOffset":13201,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultEncoding","ranges":[{"startOffset":13244,"endOffset":13569,"count":0}],"isBlockCoverage":false},{"functionName":"writeOrBuffer","ranges":[{"startOffset":13759,"endOffset":14872,"count":0}],"isBlockCoverage":false},{"functionName":"doWrite","ranges":[{"startOffset":14874,"endOffset":15262,"count":0}],"isBlockCoverage":false},{"functionName":"onwriteError","ranges":[{"startOffset":15264,"endOffset":15649,"count":0}],"isBlockCoverage":false},{"functionName":"onwrite","ranges":[{"startOffset":15651,"endOffset":17310,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteTick","ranges":[{"startOffset":17312,"endOffset":17451,"count":0}],"isBlockCoverage":false},{"functionName":"afterWrite","ranges":[{"startOffset":17453,"endOffset":17869,"count":0}],"isBlockCoverage":false},{"functionName":"errorBuffer","ranges":[{"startOffset":17941,"endOffset":18532,"count":0}],"isBlockCoverage":false},{"functionName":"clearBuffer","ranges":[{"startOffset":18598,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._write","ranges":[{"startOffset":20262,"endOffset":20431,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.end","ranges":[{"startOffset":20495,"endOffset":21953,"count":0}],"isBlockCoverage":false},{"functionName":"needFinish","ranges":[{"startOffset":21956,"endOffset":22419,"count":0}],"isBlockCoverage":false},{"functionName":"callFinal","ranges":[{"startOffset":22421,"endOffset":23393,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":23395,"endOffset":23733,"count":0}],"isBlockCoverage":false},{"functionName":"finishMaybe","ranges":[{"startOffset":23735,"endOffset":24234,"count":0}],"isBlockCoverage":false},{"functionName":"finish","ranges":[{"startOffset":24236,"endOffset":24986,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25071,"endOffset":25172,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25220,"endOffset":25324,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":25330,"endOffset":25576,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25623,"endOffset":26027,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":26033,"endOffset":26167,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26222,"endOffset":26325,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26382,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26540,"endOffset":26622,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26674,"endOffset":26775,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26831,"endOffset":27046,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27106,"endOffset":27190,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27243,"endOffset":27323,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27376,"endOffset":27453,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27522,"endOffset":27606,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27688,"endOffset":27927,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.destroy","ranges":[{"startOffset":28005,"endOffset":28318,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._destroy","ranges":[{"startOffset":28406,"endOffset":28438,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.","ranges":[{"startOffset":28489,"endOffset":28527,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":28592,"endOffset":28756,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.fromWeb","ranges":[{"startOffset":28777,"endOffset":28911,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.toWeb","ranges":[{"startOffset":28931,"endOffset":29038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"143","url":"node:stream/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":917,"count":1}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":318,"endOffset":869,"count":0}],"isBlockCoverage":false}]},{"scriptId":"144","url":"node:internal/streams/transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7176,"count":1}],"isBlockCoverage":false},{"functionName":"Transform","ranges":[{"startOffset":3920,"endOffset":5747,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5749,"endOffset":6193,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":6195,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._transform","ranges":[{"startOffset":6348,"endOffset":6443,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._write","ranges":[{"startOffset":6475,"endOffset":7018,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._read","ranges":[{"startOffset":7049,"endOffset":7174,"count":0}],"isBlockCoverage":false}]},{"scriptId":"145","url":"node:internal/streams/passthrough","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1762,"count":1}],"isBlockCoverage":false},{"functionName":"PassThrough","ranges":[{"startOffset":1529,"endOffset":1671,"count":0}],"isBlockCoverage":false},{"functionName":"PassThrough._transform","ranges":[{"startOffset":1708,"endOffset":1760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"146","url":"node:internal/bootstrap/switches/does_not_own_process_state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1278,"count":1}],"isBlockCoverage":false},{"functionName":"wrappedUmask","ranges":[{"startOffset":1047,"endOffset":1277,"count":0}],"isBlockCoverage":false}]},{"scriptId":"147","url":"node:internal/process/worker_thread_only","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":426,"count":1}],"isBlockCoverage":false},{"functionName":"unavailable","ranges":[{"startOffset":194,"endOffset":387,"count":8}],"isBlockCoverage":true},{"functionName":"unavailableInWorker","ranges":[{"startOffset":225,"endOffset":315,"count":0}],"isBlockCoverage":false}]},{"scriptId":"148","url":"node:internal/main/worker_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7311,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1096,"endOffset":1121,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2200,"endOffset":5806,"count":3},{"startOffset":2251,"endOffset":5390,"count":1},{"startOffset":2537,"endOffset":2599,"count":0},{"startOffset":3460,"endOffset":3541,"count":0},{"startOffset":3597,"endOffset":3671,"count":0},{"startOffset":3737,"endOffset":3762,"count":0},{"startOffset":3961,"endOffset":4206,"count":0},{"startOffset":4214,"endOffset":4743,"count":0},{"startOffset":4751,"endOffset":4995,"count":0},{"startOffset":5390,"endOffset":5804,"count":2},{"startOffset":5432,"endOffset":5591,"count":0}],"isBlockCoverage":true},{"functionName":"process.cwd","ranges":[{"startOffset":3133,"endOffset":3384,"count":5},{"startOffset":3260,"endOffset":3277,"count":4},{"startOffset":3277,"endOffset":3383,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4900,"endOffset":4970,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5508,"endOffset":5585,"count":0}],"isBlockCoverage":false},{"functionName":"workerOnGlobalUncaughtException","ranges":[{"startOffset":5810,"endOffset":7002,"count":0}],"isBlockCoverage":false}]},{"scriptId":"149","url":"node:internal/process/pre_execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":22973,"count":1}],"isBlockCoverage":false},{"functionName":"prepareMainThreadExecution","ranges":[{"startOffset":1091,"endOffset":1268,"count":0}],"isBlockCoverage":false},{"functionName":"prepareWorkerThreadExecution","ranges":[{"startOffset":1270,"endOffset":1469,"count":1}],"isBlockCoverage":true},{"functionName":"prepareExecution","ranges":[{"startOffset":1471,"endOffset":3628,"count":1},{"startOffset":2237,"endOffset":3408,"count":0},{"startOffset":3597,"endOffset":3626,"count":0}],"isBlockCoverage":true},{"functionName":"setupSymbolDisposePolyfill","ranges":[{"startOffset":3630,"endOffset":4365,"count":1}],"isBlockCoverage":true},{"functionName":"setupUserModules","ranges":[{"startOffset":4367,"endOffset":4795,"count":1},{"startOffset":4676,"endOffset":4693,"count":0}],"isBlockCoverage":true},{"functionName":"refreshRuntimeOptions","ranges":[{"startOffset":4797,"endOffset":4853,"count":1}],"isBlockCoverage":true},{"functionName":"patchProcessObject","ranges":[{"startOffset":4855,"endOffset":6952,"count":1},{"startOffset":5388,"endOffset":5406,"count":0},{"startOffset":5407,"endOffset":5464,"count":0},{"startOffset":5466,"endOffset":5677,"count":0}],"isBlockCoverage":true},{"functionName":"addReadOnlyProcessAlias","ranges":[{"startOffset":6954,"endOffset":7235,"count":13},{"startOffset":7075,"endOffset":7233,"count":1}],"isBlockCoverage":true},{"functionName":"setupWarningHandler","ranges":[{"startOffset":7237,"endOffset":7757,"count":1},{"startOffset":7612,"endOffset":7751,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7641,"endOffset":7743,"count":0}],"isBlockCoverage":false},{"functionName":"setupFetch","ranges":[{"startOffset":7793,"endOffset":8933,"count":1},{"startOffset":7913,"endOffset":7930,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUndici","ranges":[{"startOffset":7948,"endOffset":8093,"count":0}],"isBlockCoverage":false},{"functionName":"fetch","ranges":[{"startOffset":8097,"endOffset":8192,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInterface","ranges":[{"startOffset":8244,"endOffset":8485,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8345,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8403,"endOffset":8473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8818,"endOffset":8929,"count":0}],"isBlockCoverage":false},{"functionName":"setupWebCrypto","ranges":[{"startOffset":9037,"endOffset":9989,"count":1},{"startOffset":9172,"endOffset":9189,"count":0},{"startOffset":9678,"endOffset":9987,"count":0}],"isBlockCoverage":true},{"functionName":"cryptoThisCheck","ranges":[{"startOffset":9363,"endOffset":9539,"count":0}],"isBlockCoverage":false},{"functionName":"get crypto","ranges":[{"startOffset":9840,"endOffset":9939,"count":0}],"isBlockCoverage":false},{"functionName":"setupCodeCoverage","ranges":[{"startOffset":9991,"endOffset":10512,"count":1}],"isBlockCoverage":true},{"functionName":"setupCustomEvent","ranges":[{"startOffset":10618,"endOffset":10895,"count":1},{"startOffset":10757,"endOffset":10774,"count":0}],"isBlockCoverage":true},{"functionName":"setupStacktracePrinterOnSigint","ranges":[{"startOffset":10897,"endOffset":11122,"count":0}],"isBlockCoverage":false},{"functionName":"initializeReport","ranges":[{"startOffset":11124,"endOffset":11373,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":11269,"endOffset":11364,"count":6}],"isBlockCoverage":true},{"functionName":"setupDebugEnv","ranges":[{"startOffset":11375,"endOffset":11606,"count":1},{"startOffset":11526,"endOffset":11604,"count":0}],"isBlockCoverage":true},{"functionName":"initializeReportSignalHandlers","ranges":[{"startOffset":11668,"endOffset":11856,"count":0}],"isBlockCoverage":false},{"functionName":"initializeHeapSnapshotSignalHandlers","ranges":[{"startOffset":11858,"endOffset":12592,"count":0}],"isBlockCoverage":false},{"functionName":"setupTraceCategoryState","ranges":[{"startOffset":12594,"endOffset":12853,"count":1}],"isBlockCoverage":true},{"functionName":"setupInspectorHooks","ranges":[{"startOffset":12855,"endOffset":13437,"count":1}],"isBlockCoverage":true},{"functionName":"initializeDeprecations","ranges":[{"startOffset":13632,"endOffset":15584,"count":1},{"startOffset":14344,"endOffset":14646,"count":16},{"startOffset":14389,"endOffset":14621,"count":0},{"startOffset":14963,"endOffset":15160,"count":0},{"startOffset":15188,"endOffset":15582,"count":0}],"isBlockCoverage":true},{"functionName":"setupChildProcessIpcChannel","ranges":[{"startOffset":15586,"endOffset":16151,"count":0}],"isBlockCoverage":false},{"functionName":"initializeClusterIPC","ranges":[{"startOffset":16153,"endOffset":16423,"count":0}],"isBlockCoverage":false},{"functionName":"initializePermission","ranges":[{"startOffset":16425,"endOffset":18308,"count":1},{"startOffset":16567,"endOffset":17928,"count":0}],"isBlockCoverage":true},{"functionName":"binding","ranges":[{"startOffset":16591,"endOffset":16678,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18140,"endOffset":18300,"count":4},{"startOffset":18218,"endOffset":18294,"count":0}],"isBlockCoverage":true},{"functionName":"readPolicyFromDisk","ranges":[{"startOffset":18310,"endOffset":20129,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCJSLoader","ranges":[{"startOffset":20131,"endOffset":20252,"count":1}],"isBlockCoverage":true},{"functionName":"initializeESMLoader","ranges":[{"startOffset":20254,"endOffset":20829,"count":1},{"startOffset":20582,"endOffset":20827,"count":0}],"isBlockCoverage":true},{"functionName":"initializeSourceMapsHandlers","ranges":[{"startOffset":20831,"endOffset":21029,"count":1}],"isBlockCoverage":true},{"functionName":"initializeFrozenIntrinsics","ranges":[{"startOffset":21031,"endOffset":21288,"count":1},{"startOffset":21116,"endOffset":21286,"count":0}],"isBlockCoverage":true},{"functionName":"loadPreloadModules","ranges":[{"startOffset":21290,"endOffset":21638,"count":1},{"startOffset":21484,"endOffset":21636,"count":0}],"isBlockCoverage":true},{"functionName":"markBootstrapComplete","ranges":[{"startOffset":21640,"endOffset":21734,"count":1}],"isBlockCoverage":true},{"functionName":"getHeapSnapshotFilename","ranges":[{"startOffset":21889,"endOffset":22790,"count":0}],"isBlockCoverage":false}]},{"scriptId":"150","url":"node:internal/v8/startup_snapshot","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3382,"count":1}],"isBlockCoverage":false},{"functionName":"isBuildingSnapshot","ranges":[{"startOffset":433,"endOffset":504,"count":7}],"isBlockCoverage":true},{"functionName":"throwIfNotBuildingSnapshot","ranges":[{"startOffset":506,"endOffset":625,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfBuildingSnapshot","ranges":[{"startOffset":627,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"runDeserializeCallbacks","ranges":[{"startOffset":831,"endOffset":1004,"count":0}],"isBlockCoverage":false},{"functionName":"addDeserializeCallback","ranges":[{"startOffset":1006,"endOffset":1541,"count":0}],"isBlockCoverage":false},{"functionName":"runSerializeCallbacks","ranges":[{"startOffset":1574,"endOffset":1741,"count":0}],"isBlockCoverage":false},{"functionName":"addSerializeCallback","ranges":[{"startOffset":1743,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCallbacks","ranges":[{"startOffset":1913,"endOffset":2122,"count":0}],"isBlockCoverage":false},{"functionName":"setDeserializeMainFunction","ranges":[{"startOffset":2158,"endOffset":3105,"count":0}],"isBlockCoverage":false}]},{"scriptId":"151","url":"node:internal/inspector_async_hook","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1973,"count":1}],"isBlockCoverage":false},{"functionName":"lazyHookCreation","ranges":[{"startOffset":75,"endOffset":1257,"count":0}],"isBlockCoverage":false},{"functionName":"enable","ranges":[{"startOffset":1259,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":1842,"endOffset":1928,"count":0}],"isBlockCoverage":false}]},{"scriptId":"152","url":"node:internal/source_map/prepare_stack_trace","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7404,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":334,"endOffset":359,"count":1}],"isBlockCoverage":true},{"functionName":"prepareStackTrace","ranges":[{"startOffset":895,"endOffset":3880,"count":2},{"startOffset":1126,"endOffset":1242,"count":0},{"startOffset":1369,"endOffset":1391,"count":0},{"startOffset":1441,"endOffset":1515,"count":0},{"startOffset":1603,"endOffset":1632,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1743,"endOffset":3819,"count":20},{"startOffset":1779,"endOffset":1792,"count":18},{"startOffset":1793,"endOffset":1797,"count":2},{"startOffset":2030,"endOffset":2077,"count":0},{"startOffset":2121,"endOffset":2144,"count":5},{"startOffset":2145,"endOffset":2178,"count":15},{"startOffset":2251,"endOffset":3746,"count":7},{"startOffset":2803,"endOffset":2823,"count":2},{"startOffset":2916,"endOffset":2940,"count":1},{"startOffset":2941,"endOffset":2957,"count":1},{"startOffset":2958,"endOffset":2962,"count":6},{"startOffset":3018,"endOffset":3034,"count":2},{"startOffset":3179,"endOffset":3203,"count":0},{"startOffset":3205,"endOffset":3228,"count":0},{"startOffset":3466,"endOffset":3482,"count":0},{"startOffset":3599,"endOffset":3603,"count":0},{"startOffset":3721,"endOffset":3725,"count":0},{"startOffset":3753,"endOffset":3790,"count":1},{"startOffset":3790,"endOffset":3818,"count":13}],"isBlockCoverage":true},{"functionName":"getOriginalSymbolName","ranges":[{"startOffset":4031,"endOffset":4774,"count":7},{"startOffset":4347,"endOffset":4374,"count":0},{"startOffset":4619,"endOffset":4772,"count":1}],"isBlockCoverage":true},{"functionName":"getErrorSource","ranges":[{"startOffset":4942,"endOffset":6024,"count":0}],"isBlockCoverage":false},{"functionName":"getOriginalSource","ranges":[{"startOffset":6026,"endOffset":6923,"count":0}],"isBlockCoverage":false},{"functionName":"getSourceMapErrorSource","ranges":[{"startOffset":6925,"endOffset":7305,"count":0}],"isBlockCoverage":false}]},{"scriptId":"153","url":"node:fs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":85023,"count":1}],"isBlockCoverage":false},{"functionName":"showTruncateDeprecation","ranges":[{"startOffset":4028,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"maybeCallback","ranges":[{"startOffset":4317,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"makeCallback","ranges":[{"startOffset":4594,"endOffset":4706,"count":0}],"isBlockCoverage":false},{"functionName":"makeStatsCallback","ranges":[{"startOffset":4887,"endOffset":5054,"count":0}],"isBlockCoverage":false},{"functionName":"isFileType","ranges":[{"startOffset":5079,"endOffset":5339,"count":6643},{"startOffset":5278,"endOffset":5298,"count":646}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":5555,"endOffset":5913,"count":0}],"isBlockCoverage":false},{"functionName":"accessSync","ranges":[{"startOffset":6101,"endOffset":6165,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6327,"endOffset":6565,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6652,"endOffset":6784,"count":0}],"isBlockCoverage":false},{"functionName":"existsSync","ranges":[{"startOffset":7332,"endOffset":7391,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterOpen","ranges":[{"startOffset":7393,"endOffset":7673,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterStat","ranges":[{"startOffset":7675,"endOffset":8553,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":8555,"endOffset":8728,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":9061,"endOffset":10013,"count":0}],"isBlockCoverage":false},{"functionName":"tryStatSync","ranges":[{"startOffset":10015,"endOffset":10245,"count":1},{"startOffset":10158,"endOffset":10170,"count":0},{"startOffset":10172,"endOffset":10227,"count":0}],"isBlockCoverage":true},{"functionName":"tryCreateBuffer","ranges":[{"startOffset":10247,"endOffset":10558,"count":1},{"startOffset":10365,"endOffset":10417,"count":0},{"startOffset":10504,"endOffset":10516,"count":0},{"startOffset":10518,"endOffset":10535,"count":0}],"isBlockCoverage":true},{"functionName":"tryReadSync","ranges":[{"startOffset":10560,"endOffset":10815,"count":1},{"startOffset":10758,"endOffset":10770,"count":0},{"startOffset":10772,"endOffset":10789,"count":0}],"isBlockCoverage":true},{"functionName":"readFileSync","ranges":[{"startOffset":11039,"endOffset":12564,"count":399},{"startOffset":11161,"endOffset":11192,"count":2},{"startOffset":11194,"endOffset":11251,"count":397},{"startOffset":11251,"endOffset":11335,"count":2},{"startOffset":11335,"endOffset":11341,"count":0},{"startOffset":11342,"endOffset":11382,"count":2},{"startOffset":11470,"endOffset":11480,"count":1},{"startOffset":11481,"endOffset":11484,"count":0},{"startOffset":11614,"endOffset":11637,"count":0},{"startOffset":11637,"endOffset":11889,"count":1},{"startOffset":11889,"endOffset":12258,"count":0},{"startOffset":12258,"endOffset":12318,"count":1},{"startOffset":12318,"endOffset":12414,"count":0},{"startOffset":12414,"endOffset":12476,"count":1},{"startOffset":12436,"endOffset":12476,"count":0},{"startOffset":12476,"endOffset":12502,"count":1},{"startOffset":12502,"endOffset":12545,"count":0},{"startOffset":12545,"endOffset":12563,"count":1}],"isBlockCoverage":true},{"functionName":"defaultCloseCallback","ranges":[{"startOffset":12566,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12760,"endOffset":13013,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":13109,"endOffset":13162,"count":1}],"isBlockCoverage":true},{"functionName":"open","ranges":[{"startOffset":13405,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"openSync","ranges":[{"startOffset":14154,"endOffset":14235,"count":2}],"isBlockCoverage":true},{"functionName":"openAsBlob","ranges":[{"startOffset":14364,"endOffset":14846,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":15210,"endOffset":17170,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":17624,"endOffset":18761,"count":1},{"startOffset":17846,"endOffset":18102,"count":0},{"startOffset":18132,"endOffset":18153,"count":0},{"startOffset":18244,"endOffset":18263,"count":0},{"startOffset":18296,"endOffset":18426,"count":0}],"isBlockCoverage":true},{"functionName":"readv","ranges":[{"startOffset":19106,"endOffset":19523,"count":0}],"isBlockCoverage":false},{"functionName":"readvSync","ranges":[{"startOffset":19925,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20641,"endOffset":22188,"count":0}],"isBlockCoverage":false},{"functionName":"writeSync","ranges":[{"startOffset":22645,"endOffset":23778,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":24105,"endOffset":24627,"count":0}],"isBlockCoverage":false},{"functionName":"writevSync","ranges":[{"startOffset":24995,"endOffset":25354,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":25595,"endOffset":25976,"count":0}],"isBlockCoverage":false},{"functionName":"renameSync","ranges":[{"startOffset":26175,"endOffset":26522,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":26680,"endOffset":27341,"count":0}],"isBlockCoverage":false},{"functionName":"truncateSync","ranges":[{"startOffset":27471,"endOffset":27874,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":28026,"endOffset":28363,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncateSync","ranges":[{"startOffset":28487,"endOffset":28704,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadCp","ranges":[{"startOffset":28706,"endOffset":28912,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadRimraf","ranges":[{"startOffset":28914,"endOffset":29033,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":29291,"endOffset":30153,"count":0}],"isBlockCoverage":false},{"functionName":"rmdirSync","ranges":[{"startOffset":30368,"endOffset":30888,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":31226,"endOffset":31604,"count":0}],"isBlockCoverage":false},{"functionName":"rmSync","ranges":[{"startOffset":31899,"endOffset":32109,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":32340,"endOffset":32511,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasyncSync","ranges":[{"startOffset":32714,"endOffset":32861,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":33048,"endOffset":33211,"count":0}],"isBlockCoverage":false},{"functionName":"fsyncSync","ranges":[{"startOffset":33370,"endOffset":33509,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":33753,"endOffset":34468,"count":0}],"isBlockCoverage":false},{"functionName":"mkdirSync","ranges":[{"startOffset":34678,"endOffset":35384,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSyncRecursive","ranges":[{"startOffset":35717,"endOffset":37463,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":37763,"endOffset":38541,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSync","ranges":[{"startOffset":38805,"endOffset":39408,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":39649,"endOffset":39995,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":40261,"endOffset":40646,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":40876,"endOffset":41259,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":41261,"endOffset":41754,"count":0}],"isBlockCoverage":false},{"functionName":"hasNoEntryError","ranges":[{"startOffset":41756,"endOffset":41971,"count":0}],"isBlockCoverage":false},{"functionName":"fstatSync","ranges":[{"startOffset":42147,"endOffset":42386,"count":0}],"isBlockCoverage":false},{"functionName":"lstatSync","ranges":[{"startOffset":42634,"endOffset":43058,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":43273,"endOffset":43346,"count":0}],"isBlockCoverage":false},{"functionName":"statfsSync","ranges":[{"startOffset":43348,"endOffset":43425,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":43703,"endOffset":44047,"count":0}],"isBlockCoverage":false},{"functionName":"readlinkSync","ranges":[{"startOffset":44261,"endOffset":44588,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":44830,"endOffset":46483,"count":0}],"isBlockCoverage":false},{"functionName":"symlinkSync","ranges":[{"startOffset":46698,"endOffset":47359,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":47586,"endOffset":47987,"count":0}],"isBlockCoverage":false},{"functionName":"linkSync","ranges":[{"startOffset":48186,"endOffset":48635,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":48796,"endOffset":49023,"count":0}],"isBlockCoverage":false},{"functionName":"unlinkSync","ranges":[{"startOffset":49141,"endOffset":49200,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":49363,"endOffset":49602,"count":0}],"isBlockCoverage":false},{"functionName":"fchmodSync","ranges":[{"startOffset":49737,"endOffset":49928,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":50109,"endOffset":50602,"count":0}],"isBlockCoverage":false},{"functionName":"lchmodSync","ranges":[{"startOffset":50755,"endOffset":51077,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":51273,"endOffset":51549,"count":0}],"isBlockCoverage":false},{"functionName":"chmodSync","ranges":[{"startOffset":51702,"endOffset":51937,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":52133,"endOffset":52474,"count":0}],"isBlockCoverage":false},{"functionName":"lchownSync","ranges":[{"startOffset":52642,"endOffset":52942,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":53112,"endOffset":53415,"count":0}],"isBlockCoverage":false},{"functionName":"fchownSync","ranges":[{"startOffset":53557,"endOffset":53813,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":54029,"endOffset":54369,"count":0}],"isBlockCoverage":false},{"functionName":"chownSync","ranges":[{"startOffset":54542,"endOffset":54840,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":55109,"endOffset":55450,"count":0}],"isBlockCoverage":false},{"functionName":"utimesSync","ranges":[{"startOffset":55691,"endOffset":55973,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":56254,"endOffset":56559,"count":0}],"isBlockCoverage":false},{"functionName":"futimesSync","ranges":[{"startOffset":56815,"endOffset":57072,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":57356,"endOffset":57702,"count":0}],"isBlockCoverage":false},{"functionName":"lutimesSync","ranges":[{"startOffset":57962,"endOffset":58266,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":58268,"endOffset":59231,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":59588,"endOffset":60454,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":60741,"endOffset":61443,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":61748,"endOffset":62188,"count":0}],"isBlockCoverage":false},{"functionName":"appendFileSync","ranges":[{"startOffset":62450,"endOffset":62829,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":63197,"endOffset":64950,"count":0}],"isBlockCoverage":false},{"functionName":"watchFile","ranges":[{"startOffset":65300,"endOffset":66324,"count":0}],"isBlockCoverage":false},{"functionName":"unwatchFile","ranges":[{"startOffset":66474,"endOffset":67213,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67429,"endOffset":67525,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67550,"endOffset":67760,"count":467},{"startOffset":67617,"endOffset":67740,"count":934},{"startOffset":67695,"endOffset":67734,"count":467},{"startOffset":67740,"endOffset":67759,"count":0}],"isBlockCoverage":true},{"functionName":"encodeRealpathResult","ranges":[{"startOffset":67765,"endOffset":68052,"count":467},{"startOffset":67850,"endOffset":67880,"count":0},{"startOffset":67900,"endOffset":68051,"count":0}],"isBlockCoverage":true},{"functionName":"nextPart","ranges":[{"startOffset":68175,"endOffset":68434,"count":0}],"isBlockCoverage":false},{"functionName":"nextPart","ranges":[{"startOffset":68458,"endOffset":68533,"count":3644}],"isBlockCoverage":true},{"functionName":"realpathSync","ranges":[{"startOffset":68707,"endOffset":72603,"count":563},{"startOffset":68831,"endOffset":68849,"count":0},{"startOffset":69010,"endOffset":69045,"count":96},{"startOffset":69045,"endOffset":69607,"count":467},{"startOffset":69607,"endOffset":69779,"count":0},{"startOffset":69779,"endOffset":69916,"count":467},{"startOffset":69916,"endOffset":72530,"count":3644},{"startOffset":70028,"endOffset":70159,"count":467},{"startOffset":70159,"endOffset":70317,"count":3177},{"startOffset":70434,"endOffset":70571,"count":2998},{"startOffset":70525,"endOffset":70549,"count":0},{"startOffset":70571,"endOffset":70637,"count":646},{"startOffset":70674,"endOffset":70723,"count":0},{"startOffset":70723,"endOffset":72027,"count":646},{"startOffset":71163,"endOffset":71947,"count":0},{"startOffset":71991,"endOffset":72021,"count":0},{"startOffset":72027,"endOffset":72342,"count":0},{"startOffset":72344,"endOffset":72526,"count":0},{"startOffset":72530,"endOffset":72544,"count":467}],"isBlockCoverage":true},{"functionName":"realpathSync.native","ranges":[{"startOffset":72792,"endOffset":73056,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":73363,"endOffset":76894,"count":0}],"isBlockCoverage":false},{"functionName":"realpath.native","ranges":[{"startOffset":77221,"endOffset":77516,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":77761,"endOffset":78271,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtempSync","ranges":[{"startOffset":78452,"endOffset":78944,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":79208,"endOffset":79669,"count":0}],"isBlockCoverage":false},{"functionName":"copyFileSync","ranges":[{"startOffset":79901,"endOffset":79979,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":80272,"endOffset":80677,"count":0}],"isBlockCoverage":false},{"functionName":"cpSync","ranges":[{"startOffset":80938,"endOffset":81202,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadStreams","ranges":[{"startOffset":81204,"endOffset":81395,"count":40},{"startOffset":81252,"endOffset":81393,"count":1}],"isBlockCoverage":true},{"functionName":"createReadStream","ranges":[{"startOffset":81824,"endOffset":81929,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":82264,"endOffset":82371,"count":0}],"isBlockCoverage":false},{"functionName":"get ReadStream","ranges":[{"startOffset":83615,"endOffset":83683,"count":10}],"isBlockCoverage":true},{"functionName":"set ReadStream","ranges":[{"startOffset":83688,"endOffset":83735,"count":0}],"isBlockCoverage":false},{"functionName":"get WriteStream","ranges":[{"startOffset":83740,"endOffset":83810,"count":10}],"isBlockCoverage":true},{"functionName":"set WriteStream","ranges":[{"startOffset":83815,"endOffset":83864,"count":0}],"isBlockCoverage":false},{"functionName":"get FileReadStream","ranges":[{"startOffset":84002,"endOffset":84078,"count":10}],"isBlockCoverage":true},{"functionName":"set FileReadStream","ranges":[{"startOffset":84083,"endOffset":84138,"count":0}],"isBlockCoverage":false},{"functionName":"get FileWriteStream","ranges":[{"startOffset":84143,"endOffset":84221,"count":10}],"isBlockCoverage":true},{"functionName":"set FileWriteStream","ranges":[{"startOffset":84226,"endOffset":84283,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":84916,"endOffset":85012,"count":10}],"isBlockCoverage":true}]},{"scriptId":"154","url":"node:internal/blob","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12628,"count":1}],"isBlockCoverage":false},{"functionName":"lazyReadableStream","ranges":[{"startOffset":1851,"endOffset":2063,"count":0}],"isBlockCoverage":false},{"functionName":"isBlob","ranges":[{"startOffset":2113,"endOffset":2182,"count":0}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":2184,"endOffset":2863,"count":0}],"isBlockCoverage":false},{"functionName":"Blob","ranges":[{"startOffset":3115,"endOffset":4227,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4231,"endOffset":4501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4505,"endOffset":4957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4961,"endOffset":5087,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":5138,"endOffset":5243,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":5294,"endOffset":5401,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":5529,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBuffer","ranges":[{"startOffset":6364,"endOffset":7373,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":7421,"endOffset":7586,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":7633,"endOffset":10704,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob","ranges":[{"startOffset":10708,"endOffset":10803,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob.","ranges":[{"startOffset":10841,"endOffset":10849,"count":0}],"isBlockCoverage":false},{"functionName":"createBlob","ranges":[{"startOffset":10852,"endOffset":11055,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObjectURL","ranges":[{"startOffset":11408,"endOffset":12019,"count":0}],"isBlockCoverage":false},{"functionName":"createBlobFromFilePath","ranges":[{"startOffset":12142,"endOffset":12501,"count":0}],"isBlockCoverage":false}]},{"scriptId":"155","url":"node:internal/encoding","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17340,"count":1}],"isBlockCoverage":false},{"functionName":"validateEncoder","ranges":[{"startOffset":1250,"endOffset":1375,"count":0}],"isBlockCoverage":false},{"functionName":"validateDecoder","ranges":[{"startOffset":1377,"endOffset":1502,"count":58},{"startOffset":1458,"endOffset":1500,"count":0}],"isBlockCoverage":true},{"functionName":"trimAsciiWhitespace","ranges":[{"startOffset":8799,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingFromLabel","ranges":[{"startOffset":9299,"endOffset":9478,"count":3},{"startOffset":9410,"endOffset":9477,"count":0}],"isBlockCoverage":true},{"functionName":"TextEncoder","ranges":[{"startOffset":9502,"endOffset":9548,"count":1}],"isBlockCoverage":true},{"functionName":"get encoding","ranges":[{"startOffset":9552,"endOffset":9619,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":9623,"endOffset":9715,"count":0}],"isBlockCoverage":false},{"functionName":"encodeInto","ranges":[{"startOffset":9719,"endOffset":10125,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10129,"endOffset":10526,"count":0}],"isBlockCoverage":false},{"functionName":"makeTextDecoderICU","ranges":[{"startOffset":10898,"endOffset":12864,"count":1}],"isBlockCoverage":true},{"functionName":"TextDecoder","ranges":[{"startOffset":11036,"endOffset":11973,"count":3},{"startOffset":11346,"endOffset":11393,"count":0},{"startOffset":11477,"endOffset":11500,"count":2},{"startOffset":11501,"endOffset":11504,"count":1},{"startOffset":11541,"endOffset":11569,"count":2},{"startOffset":11570,"endOffset":11573,"count":1},{"startOffset":11924,"endOffset":11967,"count":0}],"isBlockCoverage":true},{"functionName":"#prepareConverter","ranges":[{"startOffset":11979,"endOffset":12244,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":12250,"endOffset":12835,"count":58},{"startOffset":12485,"endOffset":12834,"count":0}],"isBlockCoverage":true},{"functionName":"makeTextDecoderJS","ranges":[{"startOffset":12866,"endOffset":15701,"count":0}],"isBlockCoverage":false},{"functionName":"get encoding","ranges":[{"startOffset":15798,"endOffset":15873,"count":0}],"isBlockCoverage":false},{"functionName":"get fatal","ranges":[{"startOffset":15878,"endOffset":15999,"count":0}],"isBlockCoverage":false},{"functionName":"get ignoreBOM","ranges":[{"startOffset":16004,"endOffset":16153,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectGetOwnPropertyDescriptors","ranges":[{"startOffset":16158,"endOffset":16741,"count":0}],"isBlockCoverage":false}]},{"scriptId":"156","url":"node:internal/webstreams/queuingstrategies","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3851,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":931,"endOffset":958,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1038,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"getNonWritablePropertyDescriptor","ranges":[{"startOffset":1114,"endOffset":1200,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1238,"endOffset":2284,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2544,"endOffset":3561,"count":0}],"isBlockCoverage":false}]},{"scriptId":"157","url":"node:internal/webstreams/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7549,"count":1}],"isBlockCoverage":false},{"functionName":"extractHighWaterMark","ranges":[{"startOffset":1074,"endOffset":1367,"count":0}],"isBlockCoverage":false},{"functionName":"extractSizeAlgorithm","ranges":[{"startOffset":1369,"endOffset":1508,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":1510,"endOffset":1742,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetBuffer","ranges":[{"startOffset":1926,"endOffset":2034,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteLength","ranges":[{"startOffset":2036,"endOffset":2152,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteOffset","ranges":[{"startOffset":2154,"endOffset":2270,"count":0}],"isBlockCoverage":false},{"functionName":"cloneAsUint8Array","ranges":[{"startOffset":2272,"endOffset":2577,"count":0}],"isBlockCoverage":false},{"functionName":"isBrandCheck","ranges":[{"startOffset":2579,"endOffset":2743,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2619,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"transferArrayBuffer","ranges":[{"startOffset":2745,"endOffset":2968,"count":0}],"isBlockCoverage":false},{"functionName":"isViewedArrayBufferDetached","ranges":[{"startOffset":2970,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"dequeueValue","ranges":[{"startOffset":3140,"endOffset":3525,"count":0}],"isBlockCoverage":false},{"functionName":"resetQueue","ranges":[{"startOffset":3527,"endOffset":3745,"count":0}],"isBlockCoverage":false},{"functionName":"peekQueueValue","ranges":[{"startOffset":3747,"endOffset":3982,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueValueWithSize","ranges":[{"startOffset":3984,"endOffset":4449,"count":0}],"isBlockCoverage":false},{"functionName":"ensureIsPromise","ranges":[{"startOffset":4451,"endOffset":4690,"count":0}],"isBlockCoverage":false},{"functionName":"isPromisePending","ranges":[{"startOffset":4692,"endOffset":4855,"count":0}],"isBlockCoverage":false},{"functionName":"setPromiseHandled","ranges":[{"startOffset":4857,"endOffset":5136,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpFlush","ranges":[{"startOffset":5138,"endOffset":5168,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpStart","ranges":[{"startOffset":5170,"endOffset":5194,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpPull","ranges":[{"startOffset":5196,"endOffset":5225,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpCancel","ranges":[{"startOffset":5227,"endOffset":5258,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpWrite","ranges":[{"startOffset":5260,"endOffset":5290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyTransfer","ranges":[{"startOffset":5306,"endOffset":5438,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncFromSyncIterator","ranges":[{"startOffset":5440,"endOffset":5779,"count":0}],"isBlockCoverage":false},{"functionName":"getIterator","ranges":[{"startOffset":5781,"endOffset":6509,"count":0}],"isBlockCoverage":false},{"functionName":"iteratorNext","ranges":[{"startOffset":6511,"endOffset":6973,"count":0}],"isBlockCoverage":false}]},{"scriptId":"158","url":"node:internal/fs/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":26847,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFs","ranges":[{"startOffset":3551,"endOffset":3630,"count":0}],"isBlockCoverage":false},{"functionName":"assertEncoding","ranges":[{"startOffset":3632,"endOffset":3832,"count":960},{"startOffset":3683,"endOffset":3714,"count":397},{"startOffset":3716,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"Dirent","ranges":[{"startOffset":3851,"endOffset":3954,"count":0}],"isBlockCoverage":false},{"functionName":"isDirectory","ranges":[{"startOffset":3958,"endOffset":4019,"count":0}],"isBlockCoverage":false},{"functionName":"isFile","ranges":[{"startOffset":4023,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"isBlockDevice","ranges":[{"startOffset":4084,"endOffset":4149,"count":0}],"isBlockCoverage":false},{"functionName":"isCharacterDevice","ranges":[{"startOffset":4153,"endOffset":4221,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbolicLink","ranges":[{"startOffset":4225,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"isFIFO","ranges":[{"startOffset":4294,"endOffset":4351,"count":0}],"isBlockCoverage":false},{"functionName":"isSocket","ranges":[{"startOffset":4355,"endOffset":4416,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats","ranges":[{"startOffset":4461,"endOffset":4552,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats.","ranges":[{"startOffset":4697,"endOffset":4746,"count":0}],"isBlockCoverage":false},{"functionName":"copyObject","ranges":[{"startOffset":4751,"endOffset":4879,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":4929,"endOffset":5536,"count":0}],"isBlockCoverage":false},{"functionName":"getDirents","ranges":[{"startOffset":5538,"endOffset":6653,"count":0}],"isBlockCoverage":false},{"functionName":"getDirent","ranges":[{"startOffset":6655,"endOffset":7436,"count":0}],"isBlockCoverage":false},{"functionName":"getOptions","ranges":[{"startOffset":7438,"endOffset":8064,"count":1020},{"startOffset":7522,"endOffset":7554,"count":960},{"startOffset":7556,"endOffset":7588,"count":60},{"startOffset":7588,"endOffset":7625,"count":960},{"startOffset":7625,"endOffset":7743,"count":397},{"startOffset":7743,"endOffset":7865,"count":563},{"startOffset":7782,"endOffset":7865,"count":0},{"startOffset":7865,"endOffset":7979,"count":960},{"startOffset":7979,"endOffset":8043,"count":0},{"startOffset":8043,"endOffset":8063,"count":960}],"isBlockCoverage":true},{"functionName":"handleErrorFromBinding","ranges":[{"startOffset":8122,"endOffset":8651,"count":647},{"startOffset":8192,"endOffset":8327,"count":0},{"startOffset":8359,"endOffset":8649,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8792,"endOffset":9388,"count":1020},{"startOffset":9022,"endOffset":9042,"count":0},{"startOffset":9112,"endOffset":9180,"count":0},{"startOffset":9199,"endOffset":9387,"count":0}],"isBlockCoverage":true},{"functionName":"preprocessSymlinkDestination","ranges":[{"startOffset":9392,"endOffset":10098,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase","ranges":[{"startOffset":10131,"endOffset":10438,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isDirectory","ranges":[{"startOffset":10474,"endOffset":10531,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFile","ranges":[{"startOffset":10563,"endOffset":10620,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isBlockDevice","ranges":[{"startOffset":10659,"endOffset":10716,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isCharacterDevice","ranges":[{"startOffset":10759,"endOffset":10816,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSymbolicLink","ranges":[{"startOffset":10856,"endOffset":10913,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFIFO","ranges":[{"startOffset":10945,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSocket","ranges":[{"startOffset":11036,"endOffset":11094,"count":0}],"isBlockCoverage":false},{"functionName":"msFromTimeSpec","ranges":[{"startOffset":11219,"endOffset":11301,"count":0}],"isBlockCoverage":false},{"functionName":"nsFromTimeSpecBigInt","ranges":[{"startOffset":11303,"endOffset":11386,"count":0}],"isBlockCoverage":false},{"functionName":"dateFromMs","ranges":[{"startOffset":11788,"endOffset":11899,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats","ranges":[{"startOffset":11901,"endOffset":12664,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats._checkModeProperty","ranges":[{"startOffset":12822,"endOffset":13068,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":13071,"endOffset":13613,"count":0}],"isBlockCoverage":false},{"functionName":"Stats._checkModeProperty","ranges":[{"startOffset":13954,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"getStatsFromBinding","ranges":[{"startOffset":14302,"endOffset":15381,"count":0}],"isBlockCoverage":false},{"functionName":"StatFs","ranges":[{"startOffset":15400,"endOffset":15637,"count":0}],"isBlockCoverage":false},{"functionName":"getStatFsFromBinding","ranges":[{"startOffset":15641,"endOffset":15781,"count":0}],"isBlockCoverage":false},{"functionName":"stringToFlags","ranges":[{"startOffset":15783,"endOffset":17039,"count":457},{"startOffset":15864,"endOffset":15919,"count":0},{"startOffset":15942,"endOffset":15968,"count":0},{"startOffset":16025,"endOffset":16036,"count":0},{"startOffset":16058,"endOffset":16095,"count":0},{"startOffset":16100,"endOffset":16126,"count":0},{"startOffset":16131,"endOffset":16143,"count":0},{"startOffset":16165,"endOffset":16201,"count":0},{"startOffset":16207,"endOffset":16254,"count":0},{"startOffset":16259,"endOffset":16270,"count":0},{"startOffset":16292,"endOffset":16349,"count":0},{"startOffset":16355,"endOffset":16401,"count":0},{"startOffset":16406,"endOffset":16417,"count":0},{"startOffset":16439,"endOffset":16494,"count":0},{"startOffset":16500,"endOffset":16548,"count":0},{"startOffset":16553,"endOffset":16564,"count":0},{"startOffset":16586,"endOffset":16644,"count":0},{"startOffset":16649,"endOffset":16660,"count":0},{"startOffset":16682,"endOffset":16740,"count":0},{"startOffset":16746,"endOffset":16793,"count":0},{"startOffset":16798,"endOffset":16809,"count":0},{"startOffset":16831,"endOffset":16887,"count":0},{"startOffset":16892,"endOffset":16903,"count":0},{"startOffset":16925,"endOffset":16981,"count":0},{"startOffset":16985,"endOffset":17038,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":17085,"endOffset":17445,"count":0}],"isBlockCoverage":false},{"functionName":"toUnixTimestamp","ranges":[{"startOffset":17507,"endOffset":17962,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18016,"endOffset":18395,"count":1},{"startOffset":18072,"endOffset":18139,"count":0},{"startOffset":18160,"endOffset":18227,"count":0},{"startOffset":18268,"endOffset":18391,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18454,"endOffset":18858,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18901,"endOffset":19171,"count":1020},{"startOffset":18963,"endOffset":18985,"count":0},{"startOffset":18987,"endOffset":19073,"count":0},{"startOffset":19149,"endOffset":19169,"count":0}],"isBlockCoverage":true},{"functionName":"possiblyTransformPath","ranges":[{"startOffset":19542,"endOffset":19853,"count":457},{"startOffset":19611,"endOffset":19836,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":19896,"endOffset":20054,"count":457}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20097,"endOffset":20218,"count":2},{"startOffset":20148,"endOffset":20167,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20266,"endOffset":20597,"count":0}],"isBlockCoverage":false},{"functionName":"warnOnNonPortableTemplate","ranges":[{"startOffset":20638,"endOffset":21238,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21663,"endOffset":22550,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22596,"endOffset":23275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23325,"endOffset":23942,"count":0}],"isBlockCoverage":false},{"functionName":"emitRecursiveRmdirWarning","ranges":[{"startOffset":23996,"endOffset":24330,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24380,"endOffset":24777,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24818,"endOffset":25186,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25249,"endOffset":25433,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25478,"endOffset":25948,"count":1},{"startOffset":25578,"endOffset":25946,"count":0}],"isBlockCoverage":true}]},{"scriptId":"159","url":"node:internal/fs/sync","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2257,"count":1}],"isBlockCoverage":false},{"functionName":"readFileUtf8","ranges":[{"startOffset":395,"endOffset":582,"count":397}],"isBlockCoverage":true},{"functionName":"exists","ranges":[{"startOffset":584,"endOffset":751,"count":0}],"isBlockCoverage":false},{"functionName":"access","ranges":[{"startOffset":753,"endOffset":920,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":922,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":1184,"endOffset":1509,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":1511,"endOffset":1723,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":1725,"endOffset":1932,"count":2}],"isBlockCoverage":true},{"functionName":"close","ranges":[{"startOffset":1934,"endOffset":2016,"count":1}],"isBlockCoverage":true},{"functionName":"unlink","ranges":[{"startOffset":2018,"endOffset":2140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"160","url":"node:internal/dns/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9584,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBinding","ranges":[{"startOffset":506,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":957,"endOffset":1104,"count":0}],"isBlockCoverage":false},{"functionName":"validateTries","ranges":[{"startOffset":1106,"endOffset":1241,"count":0}],"isBlockCoverage":false},{"functionName":"ResolverBase","ranges":[{"startOffset":1635,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1988,"endOffset":2124,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":2128,"endOffset":2169,"count":0}],"isBlockCoverage":false},{"functionName":"getServers","ranges":[{"startOffset":2173,"endOffset":2441,"count":0}],"isBlockCoverage":false},{"functionName":"setServers","ranges":[{"startOffset":2445,"endOffset":3846,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3850,"endOffset":4405,"count":0}],"isBlockCoverage":false},{"functionName":"setLocalAddress","ranges":[{"startOffset":4410,"endOffset":4695,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4815,"endOffset":5035,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5039,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"initializeDns","ranges":[{"startOffset":5427,"endOffset":5813,"count":1},{"startOffset":5570,"endOffset":5680,"count":0},{"startOffset":5728,"endOffset":5812,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5753,"endOffset":5809,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResolver","ranges":[{"startOffset":6074,"endOffset":6355,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResolver","ranges":[{"startOffset":6357,"endOffset":6428,"count":0}],"isBlockCoverage":false},{"functionName":"bindDefaultResolver","ranges":[{"startOffset":6430,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"validateHints","ranges":[{"startOffset":6654,"endOffset":6873,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidHostnameWarning","ranges":[{"startOffset":6918,"endOffset":7272,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultVerbatim","ranges":[{"startOffset":7274,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResultOrder","ranges":[{"startOffset":7344,"endOffset":7468,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResultOrder","ranges":[{"startOffset":7470,"endOffset":7525,"count":0}],"isBlockCoverage":false},{"functionName":"createResolverClass","ranges":[{"startOffset":7527,"endOffset":8635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"161","url":"node:internal/net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2248,"count":1}],"isBlockCoverage":false},{"functionName":"isIPv4","ranges":[{"startOffset":1023,"endOffset":1296,"count":0}],"isBlockCoverage":false},{"functionName":"isIPv6","ranges":[{"startOffset":1298,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"isIP","ranges":[{"startOffset":1573,"endOffset":1659,"count":0}],"isBlockCoverage":false},{"functionName":"makeSyncWrite","ranges":[{"startOffset":1661,"endOffset":2075,"count":0}],"isBlockCoverage":false}]},{"scriptId":"162","url":"node:worker_threads","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":687,"count":1}],"isBlockCoverage":false}]},{"scriptId":"163","url":"node:internal/worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16395,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2471,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"process.chdir","ranges":[{"startOffset":2984,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"setEnvironmentData","ranges":[{"startOffset":3069,"endOffset":3216,"count":0}],"isBlockCoverage":false},{"functionName":"getEnvironmentData","ranges":[{"startOffset":3218,"endOffset":3289,"count":0}],"isBlockCoverage":false},{"functionName":"assignEnvironmentData","ranges":[{"startOffset":3291,"endOffset":3441,"count":1},{"startOffset":3356,"endOffset":3363,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3379,"endOffset":3437,"count":0}],"isBlockCoverage":false},{"functionName":"Worker","ranges":[{"startOffset":3481,"endOffset":9221,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9225,"endOffset":9857,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9861,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9961,"endOffset":10130,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10134,"endOffset":11027,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11031,"endOffset":11499,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":11503,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"terminate","ranges":[{"startOffset":11652,"endOffset":12486,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":12490,"endOffset":12596,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":12600,"endOffset":12712,"count":0}],"isBlockCoverage":false},{"functionName":"get threadId","ranges":[{"startOffset":12716,"endOffset":12815,"count":0}],"isBlockCoverage":false},{"functionName":"get stdin","ranges":[{"startOffset":12819,"endOffset":12877,"count":0}],"isBlockCoverage":false},{"functionName":"get stdout","ranges":[{"startOffset":12881,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"get stderr","ranges":[{"startOffset":12945,"endOffset":13005,"count":0}],"isBlockCoverage":false},{"functionName":"get resourceLimits","ranges":[{"startOffset":13009,"endOffset":13145,"count":0}],"isBlockCoverage":false},{"functionName":"getHeapSnapshot","ranges":[{"startOffset":13149,"endOffset":13656,"count":0}],"isBlockCoverage":false},{"functionName":"InternalWorker","ranges":[{"startOffset":13849,"endOffset":13928,"count":0}],"isBlockCoverage":false},{"functionName":"receiveMessageSync","ranges":[{"startOffset":13932,"endOffset":14010,"count":0}],"isBlockCoverage":false},{"functionName":"pipeWithoutWarning","ranges":[{"startOffset":14014,"endOffset":14336,"count":0}],"isBlockCoverage":false},{"functionName":"parseResourceLimits","ranges":[{"startOffset":14410,"endOffset":15024,"count":0}],"isBlockCoverage":false},{"functionName":"makeResourceLimits","ranges":[{"startOffset":15026,"endOffset":15313,"count":1}],"isBlockCoverage":true},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":15315,"endOffset":16118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"164","url":"node:internal/perf/event_loop_utilization","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":false},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":153,"endOffset":446,"count":0}],"isBlockCoverage":false},{"functionName":"internalEventLoopUtilization","ranges":[{"startOffset":448,"endOffset":1447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"165","url":"node:internal/error_serdes","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5723,"count":1}],"isBlockCoverage":false},{"functionName":"TryGetAllProperties","ranges":[{"startOffset":1039,"endOffset":2143,"count":0}],"isBlockCoverage":false},{"functionName":"GetConstructors","ranges":[{"startOffset":2145,"endOffset":2588,"count":0}],"isBlockCoverage":false},{"functionName":"GetName","ranges":[{"startOffset":2590,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":2737,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":2924,"endOffset":4219,"count":0}],"isBlockCoverage":false},{"functionName":"fromBuffer","ranges":[{"startOffset":4221,"endOffset":4442,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeError","ranges":[{"startOffset":4461,"endOffset":5666,"count":0}],"isBlockCoverage":false}]},{"scriptId":"166","url":"node:diagnostics_channel","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9791,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":734,"endOffset":1143,"count":1}],"isBlockCoverage":false},{"functionName":"#finalizers","ranges":[{"startOffset":814,"endOffset":850,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":856,"endOffset":973,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":977,"endOffset":1025,"count":5},{"startOffset":1013,"endOffset":1018,"count":0}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":1029,"endOffset":1083,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":1087,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"markActive","ranges":[{"startOffset":1145,"endOffset":1350,"count":0}],"isBlockCoverage":false},{"functionName":"maybeMarkInactive","ranges":[{"startOffset":1352,"endOffset":1720,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTransform","ranges":[{"startOffset":1722,"endOffset":1772,"count":0}],"isBlockCoverage":false},{"functionName":"wrapStoreRun","ranges":[{"startOffset":1774,"endOffset":2102,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":2184,"endOffset":2354,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":2358,"endOffset":2635,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":2639,"endOffset":2807,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":2811,"endOffset":3010,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":3014,"endOffset":3057,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":3061,"endOffset":3370,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":3374,"endOffset":3713,"count":0}],"isBlockCoverage":false},{"functionName":"Channel","ranges":[{"startOffset":3735,"endOffset":3876,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3887,"endOffset":4072,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":4076,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4165,"endOffset":4202,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":4206,"endOffset":4299,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":4303,"endOffset":4340,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":4344,"endOffset":4388,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":4392,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":4408,"endOffset":4495,"count":0}],"isBlockCoverage":false},{"functionName":"channel","ranges":[{"startOffset":4535,"endOffset":4801,"count":5},{"startOffset":4613,"endOffset":4628,"count":0},{"startOffset":4661,"endOffset":4688,"count":0},{"startOffset":4690,"endOffset":4770,"count":0}],"isBlockCoverage":true},{"functionName":"subscribe","ranges":[{"startOffset":4803,"endOffset":4893,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4895,"endOffset":4989,"count":0}],"isBlockCoverage":false},{"functionName":"hasSubscribers","ranges":[{"startOffset":4991,"endOffset":5126,"count":0}],"isBlockCoverage":false},{"functionName":"assertChannel","ranges":[{"startOffset":5215,"endOffset":5357,"count":0}],"isBlockCoverage":false},{"functionName":"TracingChannel","ranges":[{"startOffset":5384,"endOffset":6531,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":6535,"endOffset":6687,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":6691,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"traceSync","ranges":[{"startOffset":6928,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"tracePromise","ranges":[{"startOffset":7358,"endOffset":8459,"count":0}],"isBlockCoverage":false},{"functionName":"traceCallback","ranges":[{"startOffset":8463,"endOffset":9589,"count":0}],"isBlockCoverage":false},{"functionName":"tracingChannel","ranges":[{"startOffset":9593,"endOffset":9681,"count":0}],"isBlockCoverage":false}]},{"scriptId":"167","url":"node:internal/modules/cjs/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":45478,"count":1}],"isBlockCoverage":false},{"functionName":"get hasLoadedAnyUserCJSModule","ranges":[{"startOffset":2238,"endOffset":2307,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3478,"endOffset":3569,"count":1},{"startOffset":3525,"endOffset":3561,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3618,"endOffset":3661,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3702,"endOffset":3756,"count":1}],"isBlockCoverage":true},{"functionName":"internalRequire","ranges":[{"startOffset":4610,"endOffset":4935,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4937,"endOffset":5347,"count":1569},{"startOffset":5035,"endOffset":5129,"count":1499},{"startOffset":5111,"endOffset":5125,"count":406},{"startOffset":5129,"endOffset":5202,"count":1163},{"startOffset":5202,"endOffset":5216,"count":1093},{"startOffset":5218,"endOffset":5328,"count":434},{"startOffset":5328,"endOffset":5346,"count":1163}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":5428,"endOffset":5451,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":5455,"endOffset":5550,"count":0}],"isBlockCoverage":false},{"functionName":"updateChildren","ranges":[{"startOffset":5579,"endOffset":5775,"count":804},{"startOffset":5651,"endOffset":5661,"count":754},{"startOffset":5678,"endOffset":5731,"count":754},{"startOffset":5688,"endOffset":5730,"count":396},{"startOffset":5737,"endOffset":5773,"count":754}],"isBlockCoverage":true},{"functionName":"reportModuleToWatchMode","ranges":[{"startOffset":5777,"endOffset":5933,"count":1215},{"startOffset":5858,"endOffset":5873,"count":0},{"startOffset":5875,"endOffset":5931,"count":0}],"isBlockCoverage":true},{"functionName":"reportModuleNotFoundToWatchMode","ranges":[{"startOffset":5935,"endOffset":6174,"count":17},{"startOffset":6036,"endOffset":6051,"count":0},{"startOffset":6053,"endOffset":6172,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6121,"endOffset":6163,"count":0}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":6221,"endOffset":6978,"count":385},{"startOffset":6534,"endOffset":6544,"count":0},{"startOffset":6562,"endOffset":6926,"count":0}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":7220,"endOffset":7297,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7463,"endOffset":7585,"count":0}],"isBlockCoverage":false},{"functionName":"defineProperty","ranges":[{"startOffset":7590,"endOffset":7723,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7790,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7823,"endOffset":7877,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7947,"endOffset":7983,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7988,"endOffset":8050,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8084,"endOffset":8114,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleParent","ranges":[{"startOffset":8274,"endOffset":8342,"count":0}],"isBlockCoverage":false},{"functionName":"setModuleParent","ranges":[{"startOffset":8344,"endOffset":8417,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8484,"endOffset":8509,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCJS","ranges":[{"startOffset":9188,"endOffset":9688,"count":1}],"isBlockCoverage":true},{"functionName":"readPackage","ranges":[{"startOffset":9982,"endOffset":10095,"count":1783}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":10197,"endOffset":10227,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10231,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"readPackageScope","ranges":[{"startOffset":10383,"endOffset":11176,"count":903},{"startOffset":10570,"endOffset":11113,"count":1663},{"startOffset":10819,"endOffset":10865,"count":0},{"startOffset":10867,"endOffset":10894,"count":0},{"startOffset":10967,"endOffset":10980,"count":0},{"startOffset":11052,"endOffset":11109,"count":903},{"startOffset":11113,"endOffset":11175,"count":0}],"isBlockCoverage":true},{"functionName":"tryPackage","ranges":[{"startOffset":11178,"endOffset":12457,"count":52},{"startOffset":11300,"endOffset":11381,"count":18},{"startOffset":11381,"endOffset":11475,"count":34},{"startOffset":11475,"endOffset":11519,"count":0},{"startOffset":11520,"endOffset":11587,"count":0},{"startOffset":11613,"endOffset":12438,"count":0},{"startOffset":12438,"endOffset":12456,"count":34}],"isBlockCoverage":true},{"functionName":"tryFile","ranges":[{"startOffset":12802,"endOffset":13034,"count":619},{"startOffset":12891,"endOffset":12898,"count":207},{"startOffset":12898,"endOffset":12943,"count":412},{"startOffset":12943,"endOffset":12953,"count":0},{"startOffset":12955,"endOffset":12998,"count":0},{"startOffset":12998,"endOffset":13033,"count":412}],"isBlockCoverage":true},{"functionName":"toRealPath","ranges":[{"startOffset":13036,"endOffset":13168,"count":456}],"isBlockCoverage":true},{"functionName":"tryExtensions","ranges":[{"startOffset":13243,"endOffset":13449,"count":445},{"startOffset":13325,"endOffset":13431,"count":583},{"startOffset":13397,"endOffset":13427,"count":376},{"startOffset":13431,"endOffset":13448,"count":69}],"isBlockCoverage":true},{"functionName":"findLongestRegisteredExtension","ranges":[{"startOffset":13538,"endOffset":14006,"count":383},{"startOffset":13813,"endOffset":13822,"count":0},{"startOffset":13960,"endOffset":13984,"count":372},{"startOffset":13988,"endOffset":14005,"count":11}],"isBlockCoverage":true},{"functionName":"trySelfParentPath","ranges":[{"startOffset":14008,"endOffset":14297,"count":556},{"startOffset":14060,"endOffset":14073,"count":23},{"startOffset":14073,"endOffset":14131,"count":533},{"startOffset":14131,"endOffset":14295,"count":0}],"isBlockCoverage":true},{"functionName":"trySelf","ranges":[{"startOffset":14299,"endOffset":15197,"count":556},{"startOffset":14358,"endOffset":14371,"count":23},{"startOffset":14371,"endOffset":14475,"count":533},{"startOffset":14476,"endOffset":14501,"count":11},{"startOffset":14503,"endOffset":14526,"count":522},{"startOffset":14526,"endOffset":14573,"count":11},{"startOffset":14573,"endOffset":14599,"count":0},{"startOffset":14599,"endOffset":14765,"count":11},{"startOffset":14661,"endOffset":14736,"count":0},{"startOffset":14765,"endOffset":15195,"count":0}],"isBlockCoverage":true},{"functionName":"resolveExports","ranges":[{"startOffset":15358,"endOffset":16166,"count":447},{"startOffset":15565,"endOffset":15580,"count":379},{"startOffset":15599,"endOffset":15606,"count":379},{"startOffset":15606,"endOffset":15707,"count":68},{"startOffset":15707,"endOffset":15729,"count":51},{"startOffset":15731,"endOffset":16164,"count":2},{"startOffset":16011,"endOffset":16160,"count":0}],"isBlockCoverage":true},{"functionName":"Module._findPath","ranges":[{"startOffset":16434,"endOffset":20492,"count":557},{"startOffset":16544,"endOffset":16567,"count":25},{"startOffset":16567,"endOffset":16630,"count":532},{"startOffset":16607,"endOffset":16630,"count":0},{"startOffset":16767,"endOffset":16780,"count":102},{"startOffset":16780,"endOffset":17363,"count":455},{"startOffset":17002,"endOffset":17356,"count":0},{"startOffset":17438,"endOffset":17894,"count":379},{"startOffset":17544,"endOffset":17629,"count":59},{"startOffset":17564,"endOffset":17628,"count":0},{"startOffset":17630,"endOffset":17888,"count":59},{"startOffset":17799,"endOffset":17886,"count":0},{"startOffset":17939,"endOffset":18093,"count":379},{"startOffset":18056,"endOffset":18089,"count":59},{"startOffset":18093,"endOffset":18155,"count":455},{"startOffset":18155,"endOffset":20473,"count":564},{"startOffset":18296,"endOffset":18306,"count":505},{"startOffset":18307,"endOffset":18403,"count":480},{"startOffset":18341,"endOffset":18379,"count":0},{"startOffset":18410,"endOffset":18433,"count":92},{"startOffset":18433,"endOffset":18461,"count":472},{"startOffset":18461,"endOffset":18591,"count":447},{"startOffset":18562,"endOffset":18585,"count":2},{"startOffset":18591,"endOffset":19950,"count":470},{"startOffset":18743,"endOffset":19727,"count":43},{"startOffset":18776,"endOffset":18965,"count":42},{"startOffset":18831,"endOffset":18891,"count":0},{"startOffset":18965,"endOffset":19719,"count":1},{"startOffset":19019,"endOffset":19659,"count":0},{"startOffset":19750,"endOffset":19944,"count":427},{"startOffset":19840,"endOffset":19878,"count":410},{"startOffset":19950,"endOffset":19970,"count":470},{"startOffset":19970,"endOffset":19981,"count":69},{"startOffset":19983,"endOffset":20199,"count":52},{"startOffset":20093,"endOffset":20131,"count":0},{"startOffset":20199,"endOffset":20219,"count":470},{"startOffset":20219,"endOffset":20295,"count":453},{"startOffset":20295,"endOffset":20473,"count":17},{"startOffset":20473,"endOffset":20491,"count":0}],"isBlockCoverage":true},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":20736,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":22345,"endOffset":23485,"count":411},{"startOffset":22623,"endOffset":22648,"count":0},{"startOffset":22941,"endOffset":23363,"count":25874},{"startOffset":23037,"endOffset":23233,"count":2793},{"startOffset":23074,"endOffset":23192,"count":2391},{"startOffset":23233,"endOffset":23357,"count":23081},{"startOffset":23253,"endOffset":23357,"count":7807},{"startOffset":23288,"endOffset":23314,"count":5416},{"startOffset":23314,"endOffset":23349,"count":2391}],"isBlockCoverage":true},{"functionName":"Module._resolveLookupPaths","ranges":[{"startOffset":23519,"endOffset":24778,"count":556},{"startOffset":23599,"endOffset":23665,"count":0},{"startOffset":23750,"endOffset":23949,"count":479},{"startOffset":23830,"endOffset":23880,"count":348},{"startOffset":23881,"endOffset":23948,"count":0},{"startOffset":23951,"endOffset":24250,"count":77},{"startOffset":23983,"endOffset":23998,"count":54},{"startOffset":24000,"endOffset":24110,"count":54},{"startOffset":24110,"endOffset":24150,"count":23},{"startOffset":24239,"endOffset":24245,"count":0},{"startOffset":24250,"endOffset":24318,"count":479},{"startOffset":24319,"endOffset":24338,"count":479},{"startOffset":24340,"endOffset":24589,"count":0},{"startOffset":24589,"endOffset":24777,"count":479}],"isBlockCoverage":true},{"functionName":"emitCircularRequireWarning","ranges":[{"startOffset":24781,"endOffset":24965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25178,"endOffset":25550,"count":0}],"isBlockCoverage":false},{"functionName":"getOwnPropertyDescriptor","ranges":[{"startOffset":25555,"endOffset":25796,"count":0}],"isBlockCoverage":false},{"functionName":"getExportsForCircularRequire","ranges":[{"startOffset":25803,"endOffset":26447,"count":2},{"startOffset":25972,"endOffset":26265,"count":1},{"startOffset":26267,"endOffset":26419,"count":1}],"isBlockCoverage":true},{"functionName":"Module._load","ranges":[{"startOffset":26860,"endOffset":29991,"count":855},{"startOffset":26943,"endOffset":27759,"count":832},{"startOffset":27402,"endOffset":27755,"count":222},{"startOffset":27592,"endOffset":27642,"count":0},{"startOffset":27687,"endOffset":27755,"count":0},{"startOffset":27759,"endOffset":27812,"count":633},{"startOffset":27812,"endOffset":28084,"count":17},{"startOffset":27941,"endOffset":28001,"count":0},{"startOffset":28084,"endOffset":28237,"count":616},{"startOffset":28237,"endOffset":28597,"count":197},{"startOffset":28317,"endOffset":28545,"count":27},{"startOffset":28413,"endOffset":28440,"count":25},{"startOffset":28450,"endOffset":28500,"count":2},{"startOffset":28500,"endOffset":28545,"count":25},{"startOffset":28545,"endOffset":28593,"count":170},{"startOffset":28597,"endOffset":28657,"count":444},{"startOffset":28657,"endOffset":28740,"count":61},{"startOffset":28740,"endOffset":28839,"count":383},{"startOffset":28839,"endOffset":28870,"count":358},{"startOffset":28887,"endOffset":29028,"count":0},{"startOffset":29028,"endOffset":29132,"count":383},{"startOffset":29132,"endOffset":29201,"count":360},{"startOffset":29201,"endOffset":29963,"count":383},{"startOffset":29306,"endOffset":29709,"count":0},{"startOffset":29734,"endOffset":29776,"count":382},{"startOffset":29777,"endOffset":29889,"count":382},{"startOffset":29891,"endOffset":29959,"count":1},{"startOffset":29963,"endOffset":29990,"count":383}],"isBlockCoverage":true},{"functionName":"Module._resolveFilename","ranges":[{"startOffset":30020,"endOffset":33106,"count":617},{"startOffset":30117,"endOffset":30142,"count":61},{"startOffset":30142,"endOffset":30192,"count":556},{"startOffset":30192,"endOffset":30211,"count":0},{"startOffset":30213,"endOffset":31290,"count":0},{"startOffset":31290,"endOffset":31385,"count":556},{"startOffset":31385,"endOffset":31433,"count":0},{"startOffset":31435,"endOffset":32047,"count":0},{"startOffset":32047,"endOffset":32208,"count":556},{"startOffset":32208,"endOffset":32404,"count":0},{"startOffset":32404,"endOffset":32560,"count":556},{"startOffset":32560,"endOffset":33105,"count":0}],"isBlockCoverage":true},{"functionName":"finalizeEsmResolution","ranges":[{"startOffset":33109,"endOffset":33678,"count":2},{"startOffset":33311,"endOffset":33430,"count":0},{"startOffset":33543,"endOffset":33677,"count":0}],"isBlockCoverage":true},{"functionName":"createEsmNotFoundErr","ranges":[{"startOffset":33680,"endOffset":33970,"count":0}],"isBlockCoverage":false},{"functionName":"Module.load","ranges":[{"startOffset":34059,"endOffset":34896,"count":383},{"startOffset":34394,"endOffset":34424,"count":0},{"startOffset":34430,"endOffset":34472,"count":0},{"startOffset":34752,"endOffset":34800,"count":0}],"isBlockCoverage":true},{"functionName":"Module.require","ranges":[{"startOffset":35095,"endOffset":35394,"count":832},{"startOffset":35155,"endOffset":35273,"count":0}],"isBlockCoverage":true},{"functionName":"wrapSafe","ranges":[{"startOffset":35584,"endOffset":37521,"count":380},{"startOffset":35668,"endOffset":36404,"count":0},{"startOffset":36944,"endOffset":36990,"count":0},{"startOffset":36991,"endOffset":37032,"count":0},{"startOffset":37034,"endOffset":37097,"count":0},{"startOffset":37183,"endOffset":37281,"count":14},{"startOffset":37315,"endOffset":37519,"count":0}],"isBlockCoverage":true},{"functionName":"importModuleDynamically","ranges":[{"startOffset":35895,"endOffset":36134,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":36617,"endOffset":36870,"count":2}],"isBlockCoverage":true},{"functionName":"Module._compile","ranges":[{"startOffset":37721,"endOffset":39539,"count":380},{"startOffset":37812,"endOffset":37822,"count":0},{"startOffset":37840,"endOffset":37993,"count":0},{"startOffset":38126,"endOffset":38150,"count":0},{"startOffset":38152,"endOffset":38888,"count":0},{"startOffset":39111,"endOffset":39137,"count":23},{"startOffset":39162,"endOffset":39301,"count":0},{"startOffset":39503,"endOffset":39520,"count":23}],"isBlockCoverage":true},{"functionName":"Module._extensions..js","ranges":[{"startOffset":39598,"endOffset":41380,"count":380},{"startOffset":39759,"endOffset":39767,"count":25},{"startOffset":39769,"endOffset":39834,"count":25},{"startOffset":39834,"endOffset":39894,"count":355},{"startOffset":39943,"endOffset":41340,"count":369},{"startOffset":39988,"endOffset":40010,"count":0},{"startOffset":40106,"endOffset":41336,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..json","ranges":[{"startOffset":41444,"endOffset":41850,"count":3},{"startOffset":41554,"endOffset":41564,"count":0},{"startOffset":41582,"endOffset":41684,"count":0},{"startOffset":41767,"endOffset":41848,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..node","ranges":[{"startOffset":41914,"endOffset":42256,"count":0}],"isBlockCoverage":false},{"functionName":"createRequireFromPath","ranges":[{"startOffset":42259,"endOffset":42720,"count":2},{"startOffset":42439,"endOffset":42481,"count":0},{"startOffset":42519,"endOffset":42555,"count":0}],"isBlockCoverage":true},{"functionName":"createRequire","ranges":[{"startOffset":42828,"endOffset":43373,"count":2},{"startOffset":43033,"endOffset":43165,"count":0},{"startOffset":43169,"endOffset":43329,"count":0}],"isBlockCoverage":true},{"functionName":"Module._initPaths","ranges":[{"startOffset":43434,"endOffset":44399,"count":1},{"startOffset":43475,"endOffset":43500,"count":0},{"startOffset":43552,"endOffset":43575,"count":0},{"startOffset":43783,"endOffset":43825,"count":0},{"startOffset":44124,"endOffset":44266,"count":0}],"isBlockCoverage":true},{"functionName":"Module._preloadModules","ranges":[{"startOffset":44427,"endOffset":45018,"count":0}],"isBlockCoverage":false},{"functionName":"syncBuiltinESMExports","ranges":[{"startOffset":45052,"endOffset":45233,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":45318,"endOffset":45376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"168","url":"node:internal/vm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2921,"count":1}],"isBlockCoverage":false},{"functionName":"isContext","ranges":[{"startOffset":419,"endOffset":554,"count":0}],"isBlockCoverage":false},{"functionName":"internalCompileFunction","ranges":[{"startOffset":556,"endOffset":2857,"count":380},{"startOffset":1151,"endOffset":1200,"count":0},{"startOffset":1304,"endOffset":1566,"count":0},{"startOffset":2045,"endOffset":2118,"count":0},{"startOffset":2145,"endOffset":2202,"count":0},{"startOffset":2258,"endOffset":2331,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1675,"endOffset":1824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"169","url":"node:internal/modules/helpers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7741,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":923,"endOffset":948,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCjsConditions","ranges":[{"startOffset":971,"endOffset":1363,"count":1},{"startOffset":1150,"endOffset":1154,"count":0}],"isBlockCoverage":true},{"functionName":"getCjsConditions","ranges":[{"startOffset":1365,"endOffset":1492,"count":2},{"startOffset":1430,"endOffset":1466,"count":0}],"isBlockCoverage":true},{"functionName":"loadBuiltinModule","ranges":[{"startOffset":1494,"endOffset":1823,"count":92},{"startOffset":1595,"endOffset":1612,"count":0}],"isBlockCoverage":true},{"functionName":"lazyModule","ranges":[{"startOffset":1845,"endOffset":1958,"count":382},{"startOffset":1889,"endOffset":1937,"count":1}],"isBlockCoverage":true},{"functionName":"makeRequireFunction","ranges":[{"startOffset":2207,"endOffset":4418,"count":382},{"startOffset":2346,"endOffset":2409,"count":0},{"startOffset":2443,"endOffset":3714,"count":0}],"isBlockCoverage":true},{"functionName":"require","ranges":[{"startOffset":2586,"endOffset":3709,"count":0}],"isBlockCoverage":false},{"functionName":"require","ranges":[{"startOffset":3736,"endOffset":3876,"count":831}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":3885,"endOffset":4031,"count":0}],"isBlockCoverage":false},{"functionName":"paths","ranges":[{"startOffset":4065,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"stripBOM","ranges":[{"startOffset":4603,"endOffset":4758,"count":3},{"startOffset":4685,"endOffset":4738,"count":0}],"isBlockCoverage":true},{"functionName":"addBuiltinLibsToObject","ranges":[{"startOffset":4760,"endOffset":6720,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeReferrerURL","ranges":[{"startOffset":6788,"endOffset":6976,"count":74},{"startOffset":6895,"endOffset":6941,"count":16},{"startOffset":6941,"endOffset":6975,"count":58}],"isBlockCoverage":true},{"functionName":"hasEsmSyntax","ranges":[{"startOffset":7046,"endOffset":7548,"count":0}],"isBlockCoverage":false}]},{"scriptId":"170","url":"node:internal/modules/package_json_reader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3711,"count":1}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":932,"endOffset":3682,"count":2112},{"startOffset":1028,"endOffset":1065,"count":1959},{"startOffset":1065,"endOffset":1742,"count":153},{"startOffset":1742,"endOffset":1751,"count":0},{"startOffset":1752,"endOffset":1766,"count":0},{"startOffset":1767,"endOffset":1789,"count":153},{"startOffset":1813,"endOffset":3632,"count":85},{"startOffset":1881,"endOffset":2477,"count":0},{"startOffset":2635,"endOffset":2669,"count":84},{"startOffset":2671,"endOffset":2711,"count":84},{"startOffset":2767,"endOffset":2801,"count":43},{"startOffset":2803,"endOffset":2843,"count":43},{"startOffset":2903,"endOffset":2949,"count":27},{"startOffset":3009,"endOffset":3055,"count":1},{"startOffset":3166,"endOffset":3225,"count":26},{"startOffset":3197,"endOffset":3224,"count":25},{"startOffset":3227,"endOffset":3267,"count":26},{"startOffset":3301,"endOffset":3497,"count":1},{"startOffset":3422,"endOffset":3475,"count":0},{"startOffset":3525,"endOffset":3628,"count":0},{"startOffset":3632,"endOffset":3681,"count":153}],"isBlockCoverage":true}]},{"scriptId":"171","url":"node:internal/modules/run_main","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2850,"count":1}],"isBlockCoverage":false},{"functionName":"resolveMainPath","ranges":[{"startOffset":155,"endOffset":666,"count":1},{"startOffset":495,"endOffset":502,"count":0}],"isBlockCoverage":true},{"functionName":"shouldUseESMLoader","ranges":[{"startOffset":668,"endOffset":1558,"count":1},{"startOffset":1184,"endOffset":1196,"count":0},{"startOffset":1378,"endOffset":1390,"count":0},{"startOffset":1457,"endOffset":1470,"count":0}],"isBlockCoverage":true},{"functionName":"runMainESM","ranges":[{"startOffset":1560,"endOffset":1920,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1736,"endOffset":1915,"count":1},{"startOffset":1833,"endOffset":1843,"count":0}],"isBlockCoverage":true},{"functionName":"handleMainPromise","ranges":[{"startOffset":1922,"endOffset":2196,"count":1}],"isBlockCoverage":true},{"functionName":"executeUserEntryPoint","ranges":[{"startOffset":2382,"endOffset":2780,"count":1},{"startOffset":2592,"endOffset":2599,"count":0},{"startOffset":2605,"endOffset":2778,"count":0}],"isBlockCoverage":true}]},{"scriptId":"172","url":"node:internal/modules/esm/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6457,"count":1}],"isBlockCoverage":false},{"functionName":"getDefaultConditions","ranges":[{"startOffset":707,"endOffset":813,"count":108}],"isBlockCoverage":true},{"functionName":"getDefaultConditionsSet","ranges":[{"startOffset":841,"endOffset":956,"count":107}],"isBlockCoverage":true},{"functionName":"initializeDefaultConditions","ranges":[{"startOffset":1036,"endOffset":1418,"count":1},{"startOffset":1219,"endOffset":1223,"count":0}],"isBlockCoverage":true},{"functionName":"getConditionsSet","ranges":[{"startOffset":1488,"endOffset":1847,"count":107},{"startOffset":1601,"endOffset":1809,"count":0}],"isBlockCoverage":true},{"functionName":"registerModule","ranges":[{"startOffset":3590,"endOffset":3817,"count":438}],"isBlockCoverage":true},{"functionName":"initializeImportMetaObject","ranges":[{"startOffset":3842,"endOffset":4133,"count":3}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyCallback","ranges":[{"startOffset":4158,"endOffset":4557,"count":3},{"startOffset":4501,"endOffset":4556,"count":0}],"isBlockCoverage":true},{"functionName":"initializeESM","ranges":[{"startOffset":4722,"endOffset":5098,"count":1}],"isBlockCoverage":true},{"functionName":"isLoaderWorker","ranges":[{"startOffset":5100,"endOffset":5155,"count":1}],"isBlockCoverage":true},{"functionName":"initializeHooks","ranges":[{"startOffset":5157,"endOffset":6268,"count":0}],"isBlockCoverage":false}]},{"scriptId":"173","url":"node:internal/process/esm_loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1190,"count":1}],"isBlockCoverage":false},{"functionName":"get esmLoader","ranges":[{"startOffset":386,"endOffset":458,"count":77}],"isBlockCoverage":true},{"functionName":"loadESM","ranges":[{"startOffset":462,"endOffset":1185,"count":1},{"startOffset":630,"endOffset":846,"count":0},{"startOffset":937,"endOffset":1181,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":728,"endOffset":836,"count":0}],"isBlockCoverage":false}]},{"scriptId":"174","url":"node:internal/modules/esm/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21570,"count":1}],"isBlockCoverage":false},{"functionName":"newResolveCache","ranges":[{"startOffset":783,"endOffset":913,"count":1}],"isBlockCoverage":true},{"functionName":"newLoadCache","ranges":[{"startOffset":915,"endOffset":1036,"count":1}],"isBlockCoverage":true},{"functionName":"getTranslators","ranges":[{"startOffset":1038,"endOffset":1160,"count":98}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1847,"endOffset":14781,"count":1}],"isBlockCoverage":false},{"functionName":"ModuleLoader","ranges":[{"startOffset":3114,"endOffset":3307,"count":1},{"startOffset":3202,"endOffset":3259,"count":0}],"isBlockCoverage":true},{"functionName":"setCustomizations","ranges":[{"startOffset":4847,"endOffset":5091,"count":1},{"startOffset":4950,"endOffset":5032,"count":0}],"isBlockCoverage":true},{"functionName":"eval","ranges":[{"startOffset":5095,"endOffset":6098,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleJob","ranges":[{"startOffset":6833,"endOffset":7068,"count":162}],"isBlockCoverage":true},{"functionName":"getModuleJobSync","ranges":[{"startOffset":7072,"endOffset":7309,"count":0}],"isBlockCoverage":false},{"functionName":"getJobFromResolveResult","ranges":[{"startOffset":7313,"endOffset":7897,"count":162},{"startOffset":7687,"endOffset":7749,"count":0},{"startOffset":7778,"endOffset":7876,"count":97}],"isBlockCoverage":true},{"functionName":"#createModuleJob","ranges":[{"startOffset":8535,"endOffset":9726,"count":97},{"startOffset":9027,"endOffset":9103,"count":0},{"startOffset":9246,"endOffset":9286,"count":1},{"startOffset":9341,"endOffset":9356,"count":0},{"startOffset":9358,"endOffset":9412,"count":0}],"isBlockCoverage":true},{"functionName":"callTranslator","ranges":[{"startOffset":8629,"endOffset":8943,"count":97},{"startOffset":8773,"endOffset":8853,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9035,"endOffset":9103,"count":0}],"isBlockCoverage":false},{"functionName":"moduleProvider","ranges":[{"startOffset":9112,"endOffset":9188,"count":97}],"isBlockCoverage":true},{"functionName":"import","ranges":[{"startOffset":10188,"endOffset":10413,"count":4}],"isBlockCoverage":true},{"functionName":"register","ranges":[{"startOffset":10479,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":11461,"endOffset":12047,"count":162},{"startOffset":11549,"endOffset":11647,"count":0},{"startOffset":11843,"endOffset":11877,"count":1},{"startOffset":11877,"endOffset":12046,"count":161}],"isBlockCoverage":true},{"functionName":"resolveSync","ranges":[{"startOffset":12205,"endOffset":12483,"count":0}],"isBlockCoverage":false},{"functionName":"defaultResolve","ranges":[{"startOffset":12695,"endOffset":13035,"count":161}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":13319,"endOffset":13623,"count":97},{"startOffset":13456,"endOffset":13510,"count":0}],"isBlockCoverage":true},{"functionName":"loadSync","ranges":[{"startOffset":13627,"endOffset":14158,"count":0}],"isBlockCoverage":false},{"functionName":"validateLoadResult","ranges":[{"startOffset":14162,"endOffset":14313,"count":97},{"startOffset":14220,"endOffset":14309,"count":0}],"isBlockCoverage":true},{"functionName":"importMetaInitialize","ranges":[{"startOffset":14317,"endOffset":14652,"count":3},{"startOffset":14385,"endOffset":14469,"count":0}],"isBlockCoverage":true},{"functionName":"forceLoadHooks","ranges":[{"startOffset":14713,"endOffset":14779,"count":1},{"startOffset":14756,"endOffset":14772,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14835,"endOffset":17345,"count":0}],"isBlockCoverage":false},{"functionName":"createModuleLoader","ranges":[{"startOffset":17841,"endOffset":19523,"count":1},{"startOffset":18306,"endOffset":19473,"count":0}],"isBlockCoverage":true},{"functionName":"readableURIEncode","ranges":[{"startOffset":18381,"endOffset":18876,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19196,"endOffset":19284,"count":0}],"isBlockCoverage":false},{"functionName":"getHooksProxy","ranges":[{"startOffset":19636,"endOffset":19812,"count":0}],"isBlockCoverage":false},{"functionName":"register","ranges":[{"startOffset":21096,"endOffset":21495,"count":0}],"isBlockCoverage":false}]},{"scriptId":"175","url":"node:internal/modules/esm/module_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3877,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":281,"endOffset":306,"count":1}],"isBlockCoverage":true},{"functionName":"ResolveCache","ranges":[{"startOffset":850,"endOffset":878,"count":1}],"isBlockCoverage":true},{"functionName":"serializeKey","ranges":[{"startOffset":1224,"endOffset":1836,"count":162},{"startOffset":1633,"endOffset":1835,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1752,"endOffset":1818,"count":0}],"isBlockCoverage":false},{"functionName":"#getModuleCachedImports","ranges":[{"startOffset":1840,"endOffset":2056,"count":323},{"startOffset":1954,"endOffset":2026,"count":37}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2231,"endOffset":2333,"count":162}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":2473,"endOffset":2602,"count":161}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":2606,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"LoadCache","ranges":[{"startOffset":2844,"endOffset":2872,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2921,"endOffset":3064,"count":162},{"startOffset":3051,"endOffset":3059,"count":65}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3067,"endOffset":3662,"count":97},{"startOffset":3286,"endOffset":3322,"count":0},{"startOffset":3324,"endOffset":3394,"count":0},{"startOffset":3478,"endOffset":3484,"count":0}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":3665,"endOffset":3822,"count":0}],"isBlockCoverage":false}]},{"scriptId":"176","url":"node:internal/modules/esm/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4026,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1321,"endOffset":1359,"count":5}],"isBlockCoverage":true},{"functionName":"validateAssertions","ranges":[{"startOffset":1780,"endOffset":3310,"count":97},{"startOffset":2002,"endOffset":2301,"count":0},{"startOffset":2330,"endOffset":2475,"count":0},{"startOffset":2740,"endOffset":2800,"count":0},{"startOffset":2806,"endOffset":2914,"count":0},{"startOffset":2920,"endOffset":3304,"count":0}],"isBlockCoverage":true},{"functionName":"handleInvalidType","ranges":[{"startOffset":3542,"endOffset":3956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"177","url":"node:internal/modules/esm/translators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15691,"count":1}],"isBlockCoverage":false},{"functionName":"lazyTypes","ranges":[{"startOffset":372,"endOffset":484,"count":116},{"startOffset":418,"endOffset":432,"count":115},{"startOffset":432,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":948,"endOffset":973,"count":1}],"isBlockCoverage":true},{"functionName":"initCJSParse","ranges":[{"startOffset":1545,"endOffset":1943,"count":6},{"startOffset":1619,"endOffset":1694,"count":0},{"startOffset":1852,"endOffset":1937,"count":0}],"isBlockCoverage":true},{"functionName":"assertBufferSource","ranges":[{"startOffset":2077,"endOffset":2498,"count":116},{"startOffset":2154,"endOffset":2181,"count":58},{"startOffset":2183,"endOffset":2200,"count":0},{"startOffset":2294,"endOffset":2319,"count":0},{"startOffset":2338,"endOffset":2417,"count":0},{"startOffset":2418,"endOffset":2422,"count":0}],"isBlockCoverage":true},{"functionName":"stringify","ranges":[{"startOffset":2500,"endOffset":2774,"count":83},{"startOffset":2559,"endOffset":2571,"count":25},{"startOffset":2571,"endOffset":2711,"count":58},{"startOffset":2711,"endOffset":2730,"count":1},{"startOffset":2731,"endOffset":2740,"count":57}],"isBlockCoverage":true},{"functionName":"errPath","ranges":[{"startOffset":2776,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":2923,"endOffset":3061,"count":1}],"isBlockCoverage":true},{"functionName":"moduleStrategy","ranges":[{"startOffset":3143,"endOffset":3668,"count":58}],"isBlockCoverage":true},{"functionName":"initializeImportMeta","ranges":[{"startOffset":3557,"endOffset":3613,"count":3}],"isBlockCoverage":true},{"functionName":"enrichCJSError","ranges":[{"startOffset":3835,"endOffset":4374,"count":0}],"isBlockCoverage":false},{"functionName":"loadCJSModule","ranges":[{"startOffset":4715,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"createCJSModuleWrap","ranges":[{"startOffset":6909,"endOffset":8288,"count":25},{"startOffset":7110,"endOffset":7115,"count":0},{"startOffset":7309,"endOffset":7331,"count":1},{"startOffset":7332,"endOffset":7361,"count":24},{"startOffset":7378,"endOffset":7434,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7494,"endOffset":8283,"count":25},{"startOffset":7571,"endOffset":7624,"count":23},{"startOffset":7806,"endOffset":7849,"count":0},{"startOffset":7892,"endOffset":8239,"count":70},{"startOffset":7956,"endOffset":7993,"count":69},{"startOffset":8003,"endOffset":8012,"count":2},{"startOffset":8012,"endOffset":8136,"count":68},{"startOffset":8136,"endOffset":8192,"count":0},{"startOffset":8192,"endOffset":8239,"count":68}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8448,"endOffset":8540,"count":0}],"isBlockCoverage":false},{"functionName":"commonjsStrategy","ranges":[{"startOffset":8728,"endOffset":9611,"count":25},{"startOffset":8860,"endOffset":8891,"count":6},{"startOffset":9358,"endOffset":9373,"count":0},{"startOffset":9498,"endOffset":9546,"count":0}],"isBlockCoverage":true},{"functionName":"cjsLoader","ranges":[{"startOffset":9138,"endOffset":9357,"count":23},{"startOffset":9277,"endOffset":9353,"count":0}],"isBlockCoverage":true},{"functionName":"cjsPreparseModuleExports","ranges":[{"startOffset":9615,"endOffset":12093,"count":25},{"startOffset":9798,"endOffset":9923,"count":0},{"startOffset":10231,"endOffset":10236,"count":0},{"startOffset":10244,"endOffset":10293,"count":0},{"startOffset":10469,"endOffset":12056,"count":1},{"startOffset":11330,"endOffset":11363,"count":0},{"startOffset":11629,"endOffset":11658,"count":0},{"startOffset":11660,"endOffset":12046,"count":0}],"isBlockCoverage":true},{"functionName":"builtinStrategy","ranges":[{"startOffset":12217,"endOffset":12623,"count":14},{"startOffset":12496,"endOffset":12548,"count":0}],"isBlockCoverage":true},{"functionName":"jsonStrategy","ranges":[{"startOffset":12735,"endOffset":14686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14752,"endOffset":15688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"178","url":"node:internal/modules/esm/resolve","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36606,"count":1}],"isBlockCoverage":false},{"functionName":"emitTrailingSlashPatternDeprecation","ranges":[{"startOffset":2334,"endOffset":2920,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidSegmentDeprecation","ranges":[{"startOffset":2962,"endOffset":3657,"count":0}],"isBlockCoverage":false},{"functionName":"emitLegacyIndexDeprecation","ranges":[{"startOffset":3805,"endOffset":4938,"count":22},{"startOffset":3967,"endOffset":4936,"count":0}],"isBlockCoverage":true},{"functionName":"legacyMainResolve","ranges":[{"startOffset":6029,"endOffset":6789,"count":22},{"startOffset":6196,"endOffset":6280,"count":0},{"startOffset":6320,"endOffset":6331,"count":0},{"startOffset":6543,"endOffset":6570,"count":14},{"startOffset":6571,"endOffset":6575,"count":8}],"isBlockCoverage":true},{"functionName":"finalizeResolution","ranges":[{"startOffset":6969,"endOffset":8433,"count":107},{"startOffset":7109,"endOffset":7252,"count":0},{"startOffset":7314,"endOffset":7498,"count":0},{"startOffset":7587,"endOffset":7623,"count":0},{"startOffset":7689,"endOffset":7781,"count":0},{"startOffset":7804,"endOffset":8092,"count":0},{"startOffset":8338,"endOffset":8343,"count":0}],"isBlockCoverage":true},{"functionName":"importNotDefined","ranges":[{"startOffset":8545,"endOffset":8756,"count":0}],"isBlockCoverage":false},{"functionName":"exportsNotFound","ranges":[{"startOffset":8866,"endOffset":9061,"count":0}],"isBlockCoverage":false},{"functionName":"throwInvalidSubpath","ranges":[{"startOffset":9228,"endOffset":9611,"count":0}],"isBlockCoverage":false},{"functionName":"invalidPackageTarget","ranges":[{"startOffset":9613,"endOffset":9991,"count":0}],"isBlockCoverage":false},{"functionName":"resolvePackageTargetString","ranges":[{"startOffset":10714,"endOffset":13451,"count":34},{"startOffset":10883,"endOffset":10894,"count":0},{"startOffset":10895,"endOffset":10931,"count":0},{"startOffset":10937,"endOffset":11011,"count":0},{"startOffset":11061,"endOffset":11618,"count":0},{"startOffset":11710,"endOffset":12320,"count":0},{"startOffset":12543,"endOffset":12617,"count":0},{"startOffset":12657,"endOffset":13450,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11393,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11919,"endOffset":11932,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12065,"endOffset":12078,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12792,"endOffset":12805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13032,"endOffset":13045,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13385,"endOffset":13398,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayIndex","ranges":[{"startOffset":13506,"endOffset":13646,"count":18},{"startOffset":13598,"endOffset":13643,"count":0}],"isBlockCoverage":true},{"functionName":"resolvePackageTarget","ranges":[{"startOffset":13910,"endOffset":16158,"count":44},{"startOffset":14103,"endOffset":14257,"count":34},{"startOffset":14257,"endOffset":16041,"count":10},{"startOffset":14289,"endOffset":15127,"count":2},{"startOffset":14320,"endOffset":14346,"count":0},{"startOffset":14666,"endOffset":14814,"count":0},{"startOffset":14854,"endOffset":14881,"count":0},{"startOffset":14916,"endOffset":14973,"count":0},{"startOffset":15007,"endOffset":15069,"count":0},{"startOffset":15077,"endOffset":15127,"count":0},{"startOffset":15127,"endOffset":16041,"count":8},{"startOffset":15280,"endOffset":15508,"count":18},{"startOffset":15338,"endOffset":15502,"count":0},{"startOffset":15551,"endOffset":15966,"count":13},{"startOffset":15608,"endOffset":15630,"count":10},{"startOffset":15632,"endOffset":15960,"count":8},{"startOffset":15913,"endOffset":15922,"count":0},{"startOffset":15966,"endOffset":16041,"count":0},{"startOffset":16041,"endOffset":16157,"count":0}],"isBlockCoverage":true},{"functionName":"isConditionalExportsMainSugar","ranges":[{"startOffset":16343,"endOffset":17278,"count":32},{"startOffset":16449,"endOffset":16473,"count":6},{"startOffset":16475,"endOffset":16487,"count":26},{"startOffset":16487,"endOffset":16541,"count":6},{"startOffset":16543,"endOffset":16556,"count":0},{"startOffset":16556,"endOffset":16696,"count":6},{"startOffset":16696,"endOffset":17247,"count":11},{"startOffset":16806,"endOffset":16863,"count":6},{"startOffset":16863,"endOffset":17243,"count":5},{"startOffset":16919,"endOffset":17243,"count":0},{"startOffset":17247,"endOffset":17277,"count":6}],"isBlockCoverage":true},{"functionName":"packageExportsResolve","ranges":[{"startOffset":17488,"endOffset":20047,"count":32},{"startOffset":17700,"endOffset":17727,"count":27},{"startOffset":18129,"endOffset":18203,"count":0},{"startOffset":18234,"endOffset":20046,"count":0}],"isBlockCoverage":true},{"functionName":"patternKeyCompare","ranges":[{"startOffset":20049,"endOffset":20580,"count":0}],"isBlockCoverage":false},{"functionName":"packageImportsResolve","ranges":[{"startOffset":20709,"endOffset":23166,"count":2},{"startOffset":20871,"endOffset":21024,"count":0},{"startOffset":21608,"endOffset":23100,"count":0},{"startOffset":23110,"endOffset":23165,"count":0}],"isBlockCoverage":true},{"functionName":"getPackageType","ranges":[{"startOffset":23271,"endOffset":23384,"count":116}],"isBlockCoverage":true},{"functionName":"parsePackageName","ranges":[{"startOffset":23546,"endOffset":24598,"count":52},{"startOffset":23737,"endOffset":23965,"count":1},{"startOffset":23817,"endOffset":23856,"count":0},{"startOffset":24027,"endOffset":24079,"count":0},{"startOffset":24256,"endOffset":24281,"count":0},{"startOffset":24308,"endOffset":24427,"count":0},{"startOffset":24488,"endOffset":24541,"count":0}],"isBlockCoverage":true},{"functionName":"packageResolve","ranges":[{"startOffset":24760,"endOffset":26832,"count":52},{"startOffset":24874,"endOffset":24920,"count":0},{"startOffset":25258,"endOffset":25375,"count":0},{"startOffset":25550,"endOffset":26617,"count":191},{"startOffset":25809,"endOffset":26086,"count":139},{"startOffset":25886,"endOffset":25923,"count":3},{"startOffset":25924,"endOffset":25950,"count":136},{"startOffset":26086,"endOffset":26267,"count":52},{"startOffset":26267,"endOffset":26384,"count":30},{"startOffset":26384,"endOffset":26526,"count":22},{"startOffset":26526,"endOffset":26617,"count":0},{"startOffset":26617,"endOffset":26831,"count":0}],"isBlockCoverage":true},{"functionName":"isBareSpecifier","ranges":[{"startOffset":26893,"endOffset":27003,"count":0}],"isBlockCoverage":false},{"functionName":"isRelativeSpecifier","ranges":[{"startOffset":27005,"endOffset":27276,"count":268},{"startOffset":27075,"endOffset":27258,"count":104},{"startOffset":27133,"endOffset":27145,"count":94},{"startOffset":27145,"endOffset":27254,"count":10},{"startOffset":27258,"endOffset":27275,"count":164}],"isBlockCoverage":true},{"functionName":"shouldBeTreatedAsRelativeOrAbsolutePath","ranges":[{"startOffset":27278,"endOffset":27461,"count":268},{"startOffset":27364,"endOffset":27377,"count":0},{"startOffset":27406,"endOffset":27418,"count":0}],"isBlockCoverage":true},{"functionName":"moduleResolve","ranges":[{"startOffset":27654,"endOffset":28445,"count":107},{"startOffset":27980,"endOffset":28026,"count":52},{"startOffset":28026,"endOffset":28316,"count":55},{"startOffset":28071,"endOffset":28143,"count":2},{"startOffset":28143,"endOffset":28316,"count":53},{"startOffset":28204,"endOffset":28312,"count":52},{"startOffset":28354,"endOffset":28380,"count":0}],"isBlockCoverage":true},{"functionName":"resolveAsCommonJS","ranges":[{"startOffset":28591,"endOffset":30048,"count":0}],"isBlockCoverage":false},{"functionName":"checkIfDisallowedImport","ranges":[{"startOffset":30110,"endOffset":31482,"count":161},{"startOffset":30204,"endOffset":31480,"count":160},{"startOffset":30416,"endOffset":31476,"count":0}],"isBlockCoverage":true},{"functionName":"throwIfInvalidParentURL","ranges":[{"startOffset":31557,"endOffset":31830,"count":161},{"startOffset":31634,"endOffset":31685,"count":1},{"startOffset":31685,"endOffset":31722,"count":160},{"startOffset":31722,"endOffset":31742,"count":0},{"startOffset":31744,"endOffset":31828,"count":0}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":31833,"endOffset":35819,"count":161},{"startOffset":31981,"endOffset":32000,"count":160},{"startOffset":31990,"endOffset":32000,"count":0},{"startOffset":32002,"endOffset":32811,"count":0},{"startOffset":32853,"endOffset":32958,"count":160},{"startOffset":32915,"endOffset":32954,"count":0},{"startOffset":33042,"endOffset":33101,"count":52},{"startOffset":33101,"endOffset":33149,"count":109},{"startOffset":33149,"endOffset":33423,"count":107},{"startOffset":33327,"endOffset":33415,"count":0},{"startOffset":33430,"endOffset":33489,"count":0},{"startOffset":33494,"endOffset":33529,"count":54},{"startOffset":33863,"endOffset":33882,"count":0},{"startOffset":33947,"endOffset":33977,"count":107},{"startOffset":33979,"endOffset":34022,"count":54},{"startOffset":34022,"endOffset":34081,"count":107},{"startOffset":34081,"endOffset":34579,"count":1},{"startOffset":34536,"endOffset":34575,"count":0},{"startOffset":34579,"endOffset":34735,"count":107},{"startOffset":34735,"endOffset":34757,"count":1},{"startOffset":34758,"endOffset":34776,"count":106},{"startOffset":34789,"endOffset":35593,"count":0},{"startOffset":35593,"endOffset":35818,"count":107}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":36211,"endOffset":36602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"179","url":"node:internal/modules/esm/package_config","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1412,"count":1}],"isBlockCoverage":false},{"functionName":"getPackageScopeConfig","ranges":[{"startOffset":269,"endOffset":1362,"count":170},{"startOffset":387,"endOffset":1107,"count":277},{"startOffset":521,"endOffset":541,"count":0},{"startOffset":731,"endOffset":766,"count":170},{"startOffset":766,"endOffset":1083,"count":107},{"startOffset":1083,"endOffset":1103,"count":0},{"startOffset":1107,"endOffset":1361,"count":0}],"isBlockCoverage":true}]},{"scriptId":"180","url":"node:internal/modules/esm/get_format","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4514,"count":1}],"isBlockCoverage":false},{"functionName":"node:","ranges":[{"startOffset":900,"endOffset":931,"count":14}],"isBlockCoverage":true},{"functionName":"getDataProtocolModuleFormat","ranges":[{"startOffset":996,"endOffset":1212,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":1487,"endOffset":1846,"count":129},{"startOffset":1587,"endOffset":1831,"count":400},{"startOffset":1649,"endOffset":1684,"count":0},{"startOffset":1692,"endOffset":1821,"count":129},{"startOffset":1780,"endOffset":1784,"count":0},{"startOffset":1831,"endOffset":1845,"count":0}],"isBlockCoverage":true},{"functionName":"getFileProtocolModuleFormat","ranges":[{"startOffset":1970,"endOffset":3175,"count":129},{"startOffset":2086,"endOffset":2160,"count":116},{"startOffset":2132,"endOffset":2142,"count":72},{"startOffset":2143,"endOffset":2155,"count":44},{"startOffset":2160,"endOffset":2232,"count":13},{"startOffset":2232,"endOffset":2467,"count":0},{"startOffset":2469,"endOffset":3174,"count":0}],"isBlockCoverage":true},{"functionName":"getHttpProtocolModuleFormat","ranges":[{"startOffset":3311,"endOffset":3656,"count":0}],"isBlockCoverage":false},{"functionName":"defaultGetFormatWithoutErrors","ranges":[{"startOffset":3801,"endOffset":4036,"count":129},{"startOffset":3955,"endOffset":3977,"count":0}],"isBlockCoverage":true},{"functionName":"defaultGetFormat","ranges":[{"startOffset":4181,"endOffset":4404,"count":14},{"startOffset":4322,"endOffset":4344,"count":0}],"isBlockCoverage":true}]},{"scriptId":"181","url":"node:internal/modules/esm/formats","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":856,"count":1}],"isBlockCoverage":false},{"functionName":"mimeToFormat","ranges":[{"startOffset":468,"endOffset":794,"count":0}],"isBlockCoverage":false}]},{"scriptId":"182","url":"node:internal/modules/esm/handle_process_exit","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":424,"count":1}],"isBlockCoverage":false},{"functionName":"handleProcessExit","ranges":[{"startOffset":298,"endOffset":379,"count":0}],"isBlockCoverage":false}]},{"scriptId":"183","url":"node:internal/modules/esm/module_job","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8786,"count":1}],"isBlockCoverage":false},{"functionName":"isCommonJSGlobalLikeNotDefinedError","ranges":[{"startOffset":917,"endOffset":1048,"count":0}],"isBlockCoverage":false},{"functionName":"ModuleJob","ranges":[{"startOffset":1286,"endOffset":3283,"count":97},{"startOffset":1811,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"link","ranges":[{"startOffset":2085,"endOffset":2900,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2541,"endOffset":2746,"count":158}],"isBlockCoverage":true},{"functionName":"instantiate","ranges":[{"startOffset":3287,"endOffset":3432,"count":4},{"startOffset":3344,"endOffset":3398,"count":3}],"isBlockCoverage":true},{"functionName":"_instantiate","ranges":[{"startOffset":3436,"endOffset":7090,"count":3},{"startOffset":3896,"endOffset":4073,"count":0},{"startOffset":4130,"endOffset":6843,"count":0},{"startOffset":6890,"endOffset":7086,"count":106}],"isBlockCoverage":true},{"functionName":"addJobsToDependencyGraph","ranges":[{"startOffset":3535,"endOffset":3795,"count":161},{"startOffset":3596,"endOffset":3621,"count":55},{"startOffset":3621,"endOffset":3794,"count":106}],"isBlockCoverage":true},{"functionName":"runSync","ranges":[{"startOffset":7094,"endOffset":7494,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":7498,"endOffset":8706,"count":4},{"startOffset":7673,"endOffset":8649,"count":0}],"isBlockCoverage":true}]},{"scriptId":"184","url":"node:internal/modules/esm/load","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6703,"count":1}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":1130,"endOffset":2357,"count":58},{"startOffset":1398,"endOffset":2223,"count":0},{"startOffset":2236,"endOffset":2246,"count":0},{"startOffset":2248,"endOffset":2304,"count":0}],"isBlockCoverage":true},{"functionName":"getSourceSync","ranges":[{"startOffset":2540,"endOffset":3279,"count":0}],"isBlockCoverage":false},{"functionName":"defaultLoad","ranges":[{"startOffset":3400,"endOffset":4067,"count":97},{"startOffset":3739,"endOffset":3827,"count":14},{"startOffset":3827,"endOffset":3855,"count":83},{"startOffset":3860,"endOffset":3884,"count":39},{"startOffset":3884,"endOffset":3986,"count":58}],"isBlockCoverage":true},{"functionName":"defaultLoadSync","ranges":[{"startOffset":4580,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfUnsupportedURLScheme","ranges":[{"startOffset":5367,"endOffset":5999,"count":97},{"startOffset":5597,"endOffset":5624,"count":14},{"startOffset":5625,"endOffset":5652,"count":14},{"startOffset":5653,"endOffset":5782,"count":0},{"startOffset":5787,"endOffset":5997,"count":0}],"isBlockCoverage":true},{"functionName":"throwUnknownModuleFormat","ranges":[{"startOffset":6378,"endOffset":6616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"185","url":"node:internal/fs/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29943,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCpPromises","ranges":[{"startOffset":2997,"endOffset":3089,"count":0}],"isBlockCoverage":false},{"functionName":"lazyFsStreams","ranges":[{"startOffset":3151,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3236,"endOffset":9299,"count":58}],"isBlockCoverage":false},{"functionName":"FileHandle","ranges":[{"startOffset":3377,"endOffset":3554,"count":58},{"startOffset":3491,"endOffset":3495,"count":0}],"isBlockCoverage":true},{"functionName":"getAsyncId","ranges":[{"startOffset":3558,"endOffset":3615,"count":0}],"isBlockCoverage":false},{"functionName":"get fd","ranges":[{"startOffset":3619,"endOffset":3655,"count":116}],"isBlockCoverage":true},{"functionName":"appendFile","ranges":[{"startOffset":3659,"endOffset":3741,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":3745,"endOffset":3801,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":3805,"endOffset":3869,"count":0}],"isBlockCoverage":false},{"functionName":"datasync","ranges":[{"startOffset":3873,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":3929,"endOffset":3973,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":3977,"endOffset":4086,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":4090,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":4175,"endOffset":4242,"count":0}],"isBlockCoverage":false},{"functionName":"readLines","ranges":[{"startOffset":4246,"endOffset":4389,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4393,"endOffset":4453,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":4457,"endOffset":4521,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":4525,"endOffset":4599,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":4603,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":4718,"endOffset":4801,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4805,"endOffset":4886,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":4898,"endOffset":5690,"count":58},{"startOffset":4932,"endOffset":4970,"count":0},{"startOffset":5001,"endOffset":5042,"count":0},{"startOffset":5268,"endOffset":5629,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5210,"endOffset":5252,"count":58}],"isBlockCoverage":true},{"functionName":".SafePromisePrototypeFinally.","ranges":[{"startOffset":5353,"endOffset":5465,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5468,"endOffset":5613,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5695,"endOffset":5754,"count":0}],"isBlockCoverage":false},{"functionName":"readableWebStream","ranges":[{"startOffset":5949,"endOffset":7635,"count":0}],"isBlockCoverage":false},{"functionName":"createReadStream","ranges":[{"startOffset":7933,"endOffset":8084,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":8333,"endOffset":8487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8491,"endOffset":8891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8895,"endOffset":8948,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8952,"endOffset":9039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9043,"endOffset":9076,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9080,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"handleFdClose","ranges":[{"startOffset":9301,"endOffset":9672,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9412,"endOffset":9471,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9458,"endOffset":9470,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9477,"endOffset":9664,"count":0}],"isBlockCoverage":false},{"functionName":"fsCall","ranges":[{"startOffset":9674,"endOffset":10134,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":10136,"endOffset":10256,"count":232},{"startOffset":10180,"endOffset":10189,"count":0},{"startOffset":10195,"endOffset":10254,"count":0}],"isBlockCoverage":true},{"functionName":"writeFileHandle","ranges":[{"startOffset":10258,"endOffset":11400,"count":0}],"isBlockCoverage":false},{"functionName":"readFileHandle","ranges":[{"startOffset":11402,"endOffset":13541,"count":58},{"startOffset":11554,"endOffset":11584,"count":0},{"startOffset":11864,"endOffset":11902,"count":0},{"startOffset":11935,"endOffset":11983,"count":0},{"startOffset":12016,"endOffset":12054,"count":0},{"startOffset":12296,"endOffset":12368,"count":0},{"startOffset":12512,"endOffset":12516,"count":0},{"startOffset":12601,"endOffset":12657,"count":0},{"startOffset":12751,"endOffset":12762,"count":0},{"startOffset":12819,"endOffset":12879,"count":0},{"startOffset":12927,"endOffset":12941,"count":0},{"startOffset":12943,"endOffset":13053,"count":0},{"startOffset":13084,"endOffset":13535,"count":0}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":13694,"endOffset":13915,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":13917,"endOffset":14186,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":14188,"endOffset":14546,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":14666,"endOffset":14991,"count":58}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":14993,"endOffset":16364,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":16366,"endOffset":16703,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":16705,"endOffset":17954,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":17956,"endOffset":18398,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":18400,"endOffset":18706,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":18708,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":18843,"endOffset":19002,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":19004,"endOffset":19208,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":19210,"endOffset":19581,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":19583,"endOffset":19672,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":19674,"endOffset":19755,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":19757,"endOffset":20234,"count":0}],"isBlockCoverage":false},{"functionName":"readdirRecursive","ranges":[{"startOffset":20236,"endOffset":21910,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":21912,"endOffset":22339,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":22341,"endOffset":22580,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":22582,"endOffset":23306,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":23308,"endOffset":23486,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":23488,"endOffset":23758,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":23760,"endOffset":24027,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":24029,"endOffset":24303,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":24305,"endOffset":24628,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":24630,"endOffset":24768,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":24770,"endOffset":24903,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":24905,"endOffset":25091,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":25093,"endOffset":25321,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":25323,"endOffset":25599,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":25601,"endOffset":25798,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":25800,"endOffset":26073,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":26075,"endOffset":26347,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":26349,"endOffset":26548,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":26550,"endOffset":26827,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":26829,"endOffset":27002,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":27004,"endOffset":27383,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":27385,"endOffset":28060,"count":0}],"isBlockCoverage":false},{"functionName":"isCustomIterable","ranges":[{"startOffset":28062,"endOffset":28176,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":28178,"endOffset":28419,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":28421,"endOffset":28765,"count":58},{"startOffset":28538,"endOffset":28544,"count":0},{"startOffset":28585,"endOffset":28622,"count":0}],"isBlockCoverage":true},{"functionName":"_watch","ranges":[{"startOffset":28767,"endOffset":29432,"count":0}],"isBlockCoverage":false}]},{"scriptId":"186","url":"node:internal/fs/rimraf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7454,"count":1}],"isBlockCoverage":false},{"functionName":"rimraf","ranges":[{"startOffset":1175,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_rimraf","ranges":[{"startOffset":1638,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERM","ranges":[{"startOffset":2499,"endOffset":2934,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdir","ranges":[{"startOffset":2937,"endOffset":3235,"count":0}],"isBlockCoverage":false},{"functionName":"_rmchildren","ranges":[{"startOffset":3238,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafPromises","ranges":[{"startOffset":3928,"endOffset":4126,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafSync","ranges":[{"startOffset":4129,"endOffset":4812,"count":0}],"isBlockCoverage":false},{"functionName":"_unlinkSync","ranges":[{"startOffset":4815,"endOffset":5444,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdirSync","ranges":[{"startOffset":5447,"endOffset":6944,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERMSync","ranges":[{"startOffset":6947,"endOffset":7394,"count":0}],"isBlockCoverage":false}]},{"scriptId":"187","url":"node:internal/fs/dir","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8071,"count":1}],"isBlockCoverage":false},{"functionName":"Dir","ranges":[{"startOffset":1177,"endOffset":1993,"count":0}],"isBlockCoverage":false},{"functionName":"get path","ranges":[{"startOffset":1997,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":2044,"endOffset":2111,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2115,"endOffset":3841,"count":0}],"isBlockCoverage":false},{"functionName":"processReadResult","ranges":[{"startOffset":3845,"endOffset":4099,"count":0}],"isBlockCoverage":false},{"functionName":"readSyncRecursive","ranges":[{"startOffset":4103,"endOffset":4676,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":4680,"endOffset":5656,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":5660,"endOffset":6349,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":6353,"endOffset":6730,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":6734,"endOffset":6997,"count":0}],"isBlockCoverage":false},{"functionName":"opendir","ranges":[{"startOffset":7177,"endOffset":7757,"count":0}],"isBlockCoverage":false},{"functionName":"opendirSync","ranges":[{"startOffset":7759,"endOffset":8014,"count":0}],"isBlockCoverage":false}]},{"scriptId":"188","url":"node:internal/fs/watchers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11242,"count":1}],"isBlockCoverage":false},{"functionName":"emitStop","ranges":[{"startOffset":1420,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher","ranges":[{"startOffset":1470,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"onchange","ranges":[{"startOffset":1820,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":2565,"endOffset":3399,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.start","ranges":[{"startOffset":3620,"endOffset":3628,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.stop","ranges":[{"startOffset":3874,"endOffset":4155,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":4244,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.ref","ranges":[{"startOffset":4702,"endOffset":4984,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.unref","ranges":[{"startOffset":5017,"endOffset":5267,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher","ranges":[{"startOffset":5271,"endOffset":6239,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.","ranges":[{"startOffset":6776,"endOffset":7686,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.start","ranges":[{"startOffset":7903,"endOffset":7911,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.close","ranges":[{"startOffset":8034,"endOffset":8371,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.ref","ranges":[{"startOffset":8400,"endOffset":8469,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.unref","ranges":[{"startOffset":8500,"endOffset":8571,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":8574,"endOffset":8626,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8850,"endOffset":8886,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8890,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":8967,"endOffset":11110,"count":0}],"isBlockCoverage":false}]},{"scriptId":"189","url":"node:internal/fs/recursive_watch","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7634,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFsPromises","ranges":[{"startOffset":812,"endOffset":919,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadFsSync","ranges":[{"startOffset":921,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"traverse","ranges":[{"startOffset":1037,"endOffset":1618,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1620,"endOffset":7580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"190","url":"node:internal/readline/interface","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":39029,"count":1}],"isBlockCoverage":false},{"functionName":"InterfaceConstructor","ranges":[{"startOffset":3781,"endOffset":9286,"count":0}],"isBlockCoverage":false},{"functionName":"Interface","ranges":[{"startOffset":9527,"endOffset":9627,"count":0}],"isBlockCoverage":false},{"functionName":"get columns","ranges":[{"startOffset":9630,"endOffset":9742,"count":0}],"isBlockCoverage":false},{"functionName":"setPrompt","ranges":[{"startOffset":9851,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"getPrompt","ranges":[{"startOffset":9996,"endOffset":10039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10043,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"prompt","ranges":[{"startOffset":10373,"endOffset":10627,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10631,"endOffset":10938,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10942,"endOffset":11184,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11188,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11279,"endOffset":11447,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11451,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11652,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12834,"endOffset":13839,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13923,"endOffset":14094,"count":0}],"isBlockCoverage":false},{"functionName":"pause","ranges":[{"startOffset":14175,"endOffset":14306,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":14398,"endOffset":14534,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":14805,"endOffset":14964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14968,"endOffset":16702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16706,"endOffset":17375,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17379,"endOffset":17778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17782,"endOffset":19990,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19994,"endOffset":20455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20459,"endOffset":20717,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20721,"endOffset":21203,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21207,"endOffset":21688,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21692,"endOffset":22452,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22456,"endOffset":22883,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22887,"endOffset":23165,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23169,"endOffset":23427,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23431,"endOffset":23691,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23695,"endOffset":23850,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23854,"endOffset":24529,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":24533,"endOffset":24682,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24686,"endOffset":24840,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24844,"endOffset":25031,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25035,"endOffset":25343,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25347,"endOffset":25655,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26090,"endOffset":26724,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26728,"endOffset":27436,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27511,"endOffset":28451,"count":0}],"isBlockCoverage":false},{"functionName":"getCursorPos","ranges":[{"startOffset":28628,"endOffset":28797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":28916,"endOffset":29473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29510,"endOffset":37760,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38068,"endOffset":38448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"191","url":"node:internal/readline/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12396,"count":1}],"isBlockCoverage":false},{"functionName":"CSI","ranges":[{"startOffset":385,"endOffset":579,"count":4},{"startOffset":544,"endOffset":559,"count":0}],"isBlockCoverage":true},{"functionName":"charLengthLeft","ranges":[{"startOffset":958,"endOffset":1220,"count":0}],"isBlockCoverage":false},{"functionName":"charLengthAt","ranges":[{"startOffset":1222,"endOffset":1484,"count":0}],"isBlockCoverage":false},{"functionName":"emitKeys","ranges":[{"startOffset":2213,"endOffset":11840,"count":0}],"isBlockCoverage":false},{"functionName":"commonPrefix","ranges":[{"startOffset":11870,"endOffset":12283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"192","url":"node:internal/readline/callbacks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2754,"count":1}],"isBlockCoverage":false},{"functionName":"cursorTo","ranges":[{"startOffset":460,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"moveCursor","ranges":[{"startOffset":1210,"endOffset":1722,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":1869,"endOffset":2272,"count":0}],"isBlockCoverage":false},{"functionName":"clearScreenDown","ranges":[{"startOffset":2349,"endOffset":2672,"count":0}],"isBlockCoverage":false}]},{"scriptId":"193","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/base.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7557,"count":1},{"startOffset":7375,"endOffset":7491,"count":0},{"startOffset":7522,"endOffset":7556,"count":0}],"isBlockCoverage":true},{"functionName":"exit","ranges":[{"startOffset":1052,"endOffset":1240,"count":1}],"isBlockCoverage":true},{"functionName":"handleProcessExit","ranges":[{"startOffset":1268,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":1946,"endOffset":6902,"count":1},{"startOffset":2368,"endOffset":2565,"count":0},{"startOffset":5638,"endOffset":5643,"count":0},{"startOffset":5646,"endOffset":5671,"count":0},{"startOffset":5908,"endOffset":5943,"count":0},{"startOffset":5944,"endOffset":5979,"count":0},{"startOffset":5981,"endOffset":6410,"count":0},{"startOffset":6682,"endOffset":6752,"count":0},{"startOffset":6756,"endOffset":6900,"count":0}],"isBlockCoverage":true},{"functionName":"checkSelectedByLineNumbers","ranges":[{"startOffset":2550,"endOffset":2561,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3090,"endOffset":3122,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3204,"endOffset":3232,"count":20}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3256,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3420,"endOffset":4245,"count":1},{"startOffset":3523,"endOffset":3593,"count":0},{"startOffset":3598,"endOffset":3756,"count":0},{"startOffset":3831,"endOffset":4000,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3813,"endOffset":3823,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4030,"endOffset":4240,"count":1},{"startOffset":4087,"endOffset":4223,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4282,"endOffset":4421,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4602,"endOffset":4633,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4642,"endOffset":4668,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4927,"endOffset":5129,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":5197,"endOffset":5585,"count":1},{"startOffset":5343,"endOffset":5584,"count":0}],"isBlockCoverage":true},{"functionName":"onError","ranges":[{"startOffset":6921,"endOffset":7139,"count":0}],"isBlockCoverage":false}]},{"scriptId":"194","url":"node:internal/deps/cjs-module-lexer/dist/lexer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":33616,"count":1}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":116,"endOffset":813,"count":25},{"startOffset":146,"endOffset":181,"count":0},{"startOffset":222,"endOffset":237,"count":0},{"startOffset":273,"endOffset":308,"count":1},{"startOffset":332,"endOffset":334,"count":0},{"startOffset":406,"endOffset":553,"count":0},{"startOffset":601,"endOffset":650,"count":1},{"startOffset":663,"endOffset":696,"count":0},{"startOffset":709,"endOffset":773,"count":71}],"isBlockCoverage":true},{"functionName":"B","ranges":[{"startOffset":813,"endOffset":1040,"count":72},{"startOffset":840,"endOffset":852,"count":71},{"startOffset":853,"endOffset":862,"count":70},{"startOffset":862,"endOffset":913,"count":2},{"startOffset":913,"endOffset":1023,"count":25},{"startOffset":958,"endOffset":1022,"count":0},{"startOffset":1023,"endOffset":1032,"count":2},{"startOffset":1032,"endOffset":1039,"count":0}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":1040,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"C","ranges":[{"startOffset":1141,"endOffset":1215,"count":25},{"startOffset":1192,"endOffset":1214,"count":73749}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":1221,"endOffset":33616,"count":6},{"startOffset":1245,"endOffset":33615,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1251,"endOffset":33611,"count":1},{"startOffset":33455,"endOffset":33524,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":33505,"endOffset":33523,"count":0}],"isBlockCoverage":false}]},{"scriptId":"195","url":"node:module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":397,"count":1}],"isBlockCoverage":false}]},{"scriptId":"196","url":"node:internal/source_map/source_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12067,"count":1}],"isBlockCoverage":false},{"functionName":"StringCharIterator","ranges":[{"startOffset":4000,"endOffset":4076,"count":2}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":4114,"endOffset":4192,"count":3752}],"isBlockCoverage":true},{"functionName":"peek","ranges":[{"startOffset":4230,"endOffset":4306,"count":2372}],"isBlockCoverage":true},{"functionName":"hasNext","ranges":[{"startOffset":4345,"endOffset":4409,"count":109}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4550,"endOffset":10030,"count":2}],"isBlockCoverage":false},{"functionName":"SourceMap","ranges":[{"startOffset":4738,"endOffset":5237,"count":2},{"startOffset":4820,"endOffset":5049,"count":1},{"startOffset":5012,"endOffset":5043,"count":64}],"isBlockCoverage":true},{"functionName":"get payload","ranges":[{"startOffset":5302,"endOffset":5365,"count":0}],"isBlockCoverage":false},{"functionName":"get lineLengths","ranges":[{"startOffset":5455,"endOffset":5588,"count":0}],"isBlockCoverage":false},{"functionName":"#parseMappingPayload","ranges":[{"startOffset":5615,"endOffset":5836,"count":2},{"startOffset":5655,"endOffset":5713,"count":0}],"isBlockCoverage":true},{"functionName":"#parseSections","ranges":[{"startOffset":5921,"endOffset":6108,"count":0}],"isBlockCoverage":false},{"functionName":"findEntry","ranges":[{"startOffset":6355,"endOffset":7219,"count":15},{"startOffset":6473,"endOffset":6791,"count":126},{"startOffset":6621,"endOffset":6690,"count":96},{"startOffset":6661,"endOffset":6689,"count":59},{"startOffset":6692,"endOffset":6723,"count":61},{"startOffset":6723,"endOffset":6785,"count":65},{"startOffset":6848,"endOffset":6856,"count":0},{"startOffset":6857,"endOffset":6947,"count":0},{"startOffset":6949,"endOffset":6973,"count":0},{"startOffset":6991,"endOffset":7015,"count":0}],"isBlockCoverage":true},{"functionName":"findOrigin","ranges":[{"startOffset":7487,"endOffset":8162,"count":0}],"isBlockCoverage":false},{"functionName":"#parseMap","ranges":[{"startOffset":8193,"endOffset":10028,"count":2},{"startOffset":8645,"endOffset":8669,"count":0},{"startOffset":8679,"endOffset":8733,"count":0},{"startOffset":8869,"endOffset":10024,"count":718},{"startOffset":8924,"endOffset":8950,"count":609},{"startOffset":8950,"endOffset":9185,"count":109},{"startOffset":9014,"endOffset":9117,"count":113},{"startOffset":9171,"endOffset":9177,"count":2},{"startOffset":9185,"endOffset":9290,"count":716},{"startOffset":9290,"endOffset":9389,"count":0},{"startOffset":9389,"endOffset":9481,"count":716},{"startOffset":9481,"endOffset":9573,"count":0},{"startOffset":9573,"endOffset":9758,"count":716},{"startOffset":9758,"endOffset":9858,"count":2},{"startOffset":9858,"endOffset":10024,"count":716}],"isBlockCoverage":true},{"functionName":"isSeparator","ranges":[{"startOffset":10085,"endOffset":10154,"count":1432},{"startOffset":10136,"endOffset":10151,"count":823}],"isBlockCoverage":true},{"functionName":"decodeVLQ","ranges":[{"startOffset":10244,"endOffset":11177,"count":2866},{"startOffset":10364,"endOffset":10496,"count":3030},{"startOffset":10739,"endOffset":10763,"count":2748},{"startOffset":10763,"endOffset":11176,"count":118}],"isBlockCoverage":true},{"functionName":"cloneSourceMapV3","ranges":[{"startOffset":11244,"endOffset":11556,"count":2},{"startOffset":11376,"endOffset":11536,"count":12},{"startOffset":11469,"endOffset":11532,"count":4}],"isBlockCoverage":true},{"functionName":"compareSourceMapEntry","ranges":[{"startOffset":11751,"endOffset":12030,"count":714},{"startOffset":11945,"endOffset":11988,"count":105},{"startOffset":11988,"endOffset":12029,"count":609}],"isBlockCoverage":true}]},{"scriptId":"197","url":"node:process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":83,"count":1}],"isBlockCoverage":false}]},{"scriptId":"198","url":"node:internal/process/report","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2644,"count":1}],"isBlockCoverage":false},{"functionName":"writeReport","ranges":[{"startOffset":352,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getReport","ranges":[{"startOffset":775,"endOffset":940,"count":0}],"isBlockCoverage":false},{"functionName":"get directory","ranges":[{"startOffset":944,"endOffset":995,"count":0}],"isBlockCoverage":false},{"functionName":"set directory","ranges":[{"startOffset":999,"endOffset":1087,"count":0}],"isBlockCoverage":false},{"functionName":"get filename","ranges":[{"startOffset":1091,"endOffset":1140,"count":0}],"isBlockCoverage":false},{"functionName":"set filename","ranges":[{"startOffset":1144,"endOffset":1232,"count":0}],"isBlockCoverage":false},{"functionName":"get compact","ranges":[{"startOffset":1236,"endOffset":1283,"count":0}],"isBlockCoverage":false},{"functionName":"set compact","ranges":[{"startOffset":1287,"endOffset":1364,"count":0}],"isBlockCoverage":false},{"functionName":"get signal","ranges":[{"startOffset":1368,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"set signal","ranges":[{"startOffset":1417,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnFatalError","ranges":[{"startOffset":1558,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnFatalError","ranges":[{"startOffset":1634,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnSignal","ranges":[{"startOffset":1756,"endOffset":1820,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnSignal","ranges":[{"startOffset":1824,"endOffset":1985,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnUncaughtException","ranges":[{"startOffset":1989,"endOffset":2075,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnUncaughtException","ranges":[{"startOffset":2079,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"addSignalHandler","ranges":[{"startOffset":2217,"endOffset":2388,"count":0}],"isBlockCoverage":false},{"functionName":"removeSignalHandler","ranges":[{"startOffset":2390,"endOffset":2514,"count":0}],"isBlockCoverage":false},{"functionName":"signalHandler","ranges":[{"startOffset":2516,"endOffset":2590,"count":0}],"isBlockCoverage":false}]},{"scriptId":"199","url":"node:url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":32640,"count":1}],"isBlockCoverage":false},{"functionName":"Url","ranges":[{"startOffset":2149,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"urlParse","ranges":[{"startOffset":3430,"endOffset":4035,"count":0}],"isBlockCoverage":false},{"functionName":"isIpv6Hostname","ranges":[{"startOffset":4037,"endOffset":4260,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":5081,"endOffset":15159,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname","ranges":[{"startOffset":15190,"endOffset":16135,"count":0}],"isBlockCoverage":false},{"functionName":"autoEscapeStr","ranges":[{"startOffset":17192,"endOffset":17898,"count":0}],"isBlockCoverage":false},{"functionName":"urlFormat","ranges":[{"startOffset":17944,"endOffset":19115,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":19822,"endOffset":22199,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolve","ranges":[{"startOffset":22202,"endOffset":22301,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":22327,"endOffset":22428,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolveObject","ranges":[{"startOffset":22431,"endOffset":22574,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObject","ranges":[{"startOffset":22606,"endOffset":31725,"count":0}],"isBlockCoverage":false},{"functionName":"parseHost","ranges":[{"startOffset":31754,"endOffset":32027,"count":0}],"isBlockCoverage":false},{"functionName":"pathToFileURL","ranges":[{"startOffset":32248,"endOffset":32344,"count":1}],"isBlockCoverage":true}]},{"scriptId":"200","url":"node:internal/idna","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":124,"count":1}],"isBlockCoverage":false}]},{"scriptId":"202","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/chalk.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":351,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":197,"endOffset":350,"count":1},{"startOffset":238,"endOffset":298,"count":0}],"isBlockCoverage":true}]},{"scriptId":"203","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/provider-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":455,"endOffset":1345,"count":1},{"startOffset":1293,"endOffset":1312,"count":0}],"isBlockCoverage":true},{"functionName":"negotiateProtocol","ranges":[{"startOffset":665,"endOffset":1273,"count":1},{"startOffset":840,"endOffset":978,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":748,"endOffset":803,"count":2}],"isBlockCoverage":true},{"functionName":"findFiles","ranges":[{"startOffset":1047,"endOffset":1178,"count":0}],"isBlockCoverage":false},{"functionName":"typescript","ranges":[{"startOffset":1383,"endOffset":1462,"count":1}],"isBlockCoverage":true}]},{"scriptId":"204","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17,"count":1}],"isBlockCoverage":true}]},{"scriptId":"205","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/runner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15654,"count":1}],"isBlockCoverage":true},{"functionName":"makeFileURL","ranges":[{"startOffset":520,"endOffset":594,"count":1},{"startOffset":555,"endOffset":561,"count":0}],"isBlockCoverage":true},{"functionName":"Runner","ranges":[{"startOffset":644,"endOffset":5705,"count":1},{"startOffset":725,"endOffset":730,"count":0},{"startOffset":978,"endOffset":983,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.registerUniqueTitle","ranges":[{"startOffset":1787,"endOffset":1911,"count":5},{"startOffset":1834,"endOffset":1858,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.notifyTimeoutUpdate","ranges":[{"startOffset":1943,"endOffset":2058,"count":0}],"isBlockCoverage":false},{"functionName":"get snapshotDirectory","ranges":[{"startOffset":2187,"endOffset":2366,"count":0}],"isBlockCoverage":false},{"functionName":"Runner.chain.createChain.serial","ranges":[{"startOffset":2401,"endOffset":5489,"count":5},{"startOffset":2480,"endOffset":2630,"count":0},{"startOffset":2656,"endOffset":2769,"count":1},{"startOffset":2925,"endOffset":2990,"count":0},{"startOffset":3014,"endOffset":3813,"count":0},{"startOffset":3846,"endOffset":3965,"count":0},{"startOffset":4006,"endOffset":4093,"count":0},{"startOffset":4134,"endOffset":4205,"count":0},{"startOffset":4267,"endOffset":4522,"count":0},{"startOffset":4600,"endOffset":4669,"count":0},{"startOffset":4714,"endOffset":4730,"count":0},{"startOffset":4870,"endOffset":4992,"count":0},{"startOffset":5028,"endOffset":5072,"count":0},{"startOffset":5106,"endOffset":5116,"count":0},{"startOffset":5365,"endOffset":5480,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2706,"endOffset":2762,"count":1}],"isBlockCoverage":true},{"functionName":"get snapshots","ranges":[{"startOffset":5708,"endOffset":6318,"count":6},{"startOffset":5749,"endOffset":5781,"count":5},{"startOffset":5781,"endOffset":6317,"count":1}],"isBlockCoverage":true},{"functionName":"compareTestSnapshot","ranges":[{"startOffset":6321,"endOffset":6396,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":6399,"endOffset":6472,"count":0}],"isBlockCoverage":false},{"functionName":"saveSnapshotState","ranges":[{"startOffset":6475,"endOffset":6559,"count":1}],"isBlockCoverage":true},{"functionName":"onRun","ranges":[{"startOffset":6562,"endOffset":6620,"count":5}],"isBlockCoverage":true},{"functionName":"onRunComplete","ranges":[{"startOffset":6623,"endOffset":6692,"count":5}],"isBlockCoverage":true},{"functionName":"beforeExitHandler","ranges":[{"startOffset":6695,"endOffset":6809,"count":0}],"isBlockCoverage":false},{"functionName":"runMultiple","ranges":[{"startOffset":6812,"endOffset":8056,"count":18}],"isBlockCoverage":true},{"functionName":"runAndStoreResult","ranges":[{"startOffset":6923,"endOffset":7081,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7150,"endOffset":7998,"count":0}],"isBlockCoverage":false},{"functionName":"runSingle","ranges":[{"startOffset":8059,"endOffset":8330,"count":5}],"isBlockCoverage":true},{"functionName":"runHooks","ranges":[{"startOffset":8333,"endOffset":9506,"count":18},{"startOffset":9070,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8427,"endOffset":8959,"count":0}],"isBlockCoverage":false},{"functionName":"runTest","ranges":[{"startOffset":9509,"endOffset":11470,"count":5},{"startOffset":10007,"endOffset":10073,"count":0},{"startOffset":10940,"endOffset":11271,"count":0}],"isBlockCoverage":true},{"functionName":"Runnable.fn","ranges":[{"startOffset":10009,"endOffset":10073,"count":0}],"isBlockCoverage":false},{"functionName":"start","ranges":[{"startOffset":11473,"endOffset":15605,"count":1},{"startOffset":11619,"endOffset":12250,"count":0},{"startOffset":12296,"endOffset":12988,"count":5},{"startOffset":12327,"endOffset":12354,"count":0},{"startOffset":12356,"endOffset":12443,"count":0},{"startOffset":12484,"endOffset":12510,"count":0},{"startOffset":12512,"endOffset":12599,"count":0},{"startOffset":12810,"endOffset":12883,"count":0},{"startOffset":12906,"endOffset":12940,"count":0},{"startOffset":13028,"endOffset":13347,"count":0},{"startOffset":13425,"endOffset":13452,"count":0},{"startOffset":13454,"endOffset":13550,"count":0},{"startOffset":15547,"endOffset":15602,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13777,"endOffset":14380,"count":1},{"startOffset":13868,"endOffset":13892,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13923,"endOffset":14368,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14460,"endOffset":15058,"count":1},{"startOffset":14653,"endOffset":14669,"count":0},{"startOffset":14672,"endOffset":14696,"count":0},{"startOffset":14767,"endOffset":14790,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14971,"endOffset":15016,"count":5}],"isBlockCoverage":true},{"functionName":"interrupt","ranges":[{"startOffset":15608,"endOffset":15651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"206","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/serialize-error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4398,"count":1}],"isBlockCoverage":true},{"functionName":"isAvaAssertionError","ranges":[{"startOffset":385,"endOffset":467,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":469,"endOffset":614,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFile","ranges":[{"startOffset":616,"endOffset":756,"count":0}],"isBlockCoverage":false},{"functionName":"extractSource","ranges":[{"startOffset":795,"endOffset":1211,"count":0}],"isBlockCoverage":false},{"functionName":"buildSource","ranges":[{"startOffset":1213,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"trySerializeError","ranges":[{"startOffset":1957,"endOffset":3743,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":3760,"endOffset":4397,"count":0}],"isBlockCoverage":false}]},{"scriptId":"207","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/dependency-tracker.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":866,"count":1}],"isBlockCoverage":true},{"functionName":"flush","ranges":[{"startOffset":138,"endOffset":302,"count":2},{"startOffset":192,"endOffset":301,"count":1}],"isBlockCoverage":true},{"functionName":"track","ranges":[{"startOffset":304,"endOffset":519,"count":16},{"startOffset":368,"endOffset":382,"count":0},{"startOffset":419,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"install","ranges":[{"startOffset":556,"endOffset":836,"count":1},{"startOffset":633,"endOffset":833,"count":3}],"isBlockCoverage":true},{"functionName":"extensions.","ranges":[{"startOffset":700,"endOffset":828,"count":15}],"isBlockCoverage":true}]},{"scriptId":"208","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/line-numbers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3832,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":215,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"findTest","ranges":[{"startOffset":878,"endOffset":1452,"count":0}],"isBlockCoverage":false},{"functionName":"range","ranges":[{"startOffset":1468,"endOffset":1574,"count":0}],"isBlockCoverage":false},{"functionName":"translate","ranges":[{"startOffset":1595,"endOffset":2066,"count":0}],"isBlockCoverage":false},{"functionName":"lineNumberSelection","ranges":[{"startOffset":2084,"endOffset":3831,"count":1},{"startOffset":2196,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2334,"endOffset":3828,"count":0}],"isBlockCoverage":false}]},{"scriptId":"209","url":"node:internal/fs/streams","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14758,"count":1}],"isBlockCoverage":false},{"functionName":"_construct","ranges":[{"startOffset":1063,"endOffset":1966,"count":0}],"isBlockCoverage":false},{"functionName":"FileHandleOperations","ranges":[{"startOffset":2059,"endOffset":3058,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":3061,"endOffset":3238,"count":0}],"isBlockCoverage":false},{"functionName":"importFd","ranges":[{"startOffset":3240,"endOffset":4237,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream","ranges":[{"startOffset":4239,"endOffset":5982,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6171,"endOffset":6226,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6230,"endOffset":6287,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6323,"endOffset":6348,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._read","ranges":[{"startOffset":6524,"endOffset":7655,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._destroy","ranges":[{"startOffset":7690,"endOffset":8251,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.close","ranges":[{"startOffset":8283,"endOffset":8369,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8449,"endOffset":8483,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":8512,"endOffset":10303,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":10495,"endOffset":10550,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10554,"endOffset":10611,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10648,"endOffset":10673,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":10824,"endOffset":11617,"count":0}],"isBlockCoverage":false},{"functionName":"writevAll","ranges":[{"startOffset":11619,"endOffset":12436,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._write","ranges":[{"startOffset":12469,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._writev","ranges":[{"startOffset":12888,"endOffset":13450,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._destroy","ranges":[{"startOffset":13486,"endOffset":14047,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.close","ranges":[{"startOffset":14080,"endOffset":14462,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":14644,"endOffset":14678,"count":0}],"isBlockCoverage":false}]},{"scriptId":"210","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5900,"count":1},{"startOffset":1472,"endOffset":1706,"count":45},{"startOffset":2476,"endOffset":3149,"count":3},{"startOffset":5468,"endOffset":5471,"count":0}],"isBlockCoverage":true},{"functionName":"applyOptions","ranges":[{"startOffset":571,"endOffset":950,"count":5},{"startOffset":618,"endOffset":699,"count":3},{"startOffset":701,"endOffset":779,"count":0},{"startOffset":870,"endOffset":873,"count":0},{"startOffset":919,"endOffset":931,"count":2},{"startOffset":932,"endOffset":947,"count":3}],"isBlockCoverage":true},{"functionName":"Chalk","ranges":[{"startOffset":975,"endOffset":1084,"count":3}],"isBlockCoverage":true},{"functionName":"chalkFactory","ranges":[{"startOffset":1109,"endOffset":1275,"count":5}],"isBlockCoverage":true},{"functionName":"chalk","ranges":[{"startOffset":1137,"endOffset":1170,"count":0}],"isBlockCoverage":false},{"functionName":"createChalk","ranges":[{"startOffset":1278,"endOffset":1342,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1499,"endOffset":1699,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1728,"endOffset":1875,"count":0}],"isBlockCoverage":false},{"functionName":"getModelAnsi","ranges":[{"startOffset":1902,"endOffset":2394,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2499,"endOffset":2771,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2866,"endOffset":3142,"count":0}],"isBlockCoverage":false},{"functionName":"Object.defineProperties","ranges":[{"startOffset":3189,"endOffset":3197,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3245,"endOffset":3289,"count":20}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3293,"endOffset":3343,"count":0}],"isBlockCoverage":false},{"functionName":"createStyler","ranges":[{"startOffset":3375,"endOffset":3650,"count":4},{"startOffset":3500,"endOffset":3583,"count":0}],"isBlockCoverage":true},{"functionName":"createBuilder","ranges":[{"startOffset":3675,"endOffset":4243,"count":4}],"isBlockCoverage":true},{"functionName":"builder","ranges":[{"startOffset":3848,"endOffset":3959,"count":20},{"startOffset":3936,"endOffset":3958,"count":0}],"isBlockCoverage":true},{"functionName":"applyStyle","ranges":[{"startOffset":4265,"endOffset":5300,"count":20},{"startOffset":4318,"endOffset":4361,"count":0},{"startOffset":4419,"endOffset":4440,"count":0},{"startOffset":4511,"endOffset":4840,"count":0},{"startOffset":5177,"endOffset":5260,"count":0}],"isBlockCoverage":true}]},{"scriptId":"211","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/globs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6300,"count":1}],"isBlockCoverage":true},{"functionName":"buildExtensionPattern","ranges":[{"startOffset":755,"endOffset":838,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeGlobs","ranges":[{"startOffset":848,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"globFiles","ranges":[{"startOffset":3027,"endOffset":3288,"count":0}],"isBlockCoverage":false},{"functionName":"globDirectoriesSync","ranges":[{"startOffset":3319,"endOffset":3578,"count":0}],"isBlockCoverage":false},{"functionName":"findFiles","ranges":[{"startOffset":3588,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"findTests","ranges":[{"startOffset":3771,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getChokidarIgnorePatterns","ranges":[{"startOffset":3974,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"applyTestFileFilter","ranges":[{"startOffset":4200,"endOffset":6299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"212","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13357,"count":1}],"isBlockCoverage":true},{"functionName":"assertEventName","ranges":[{"startOffset":349,"endOffset":569,"count":30},{"startOffset":422,"endOffset":454,"count":4},{"startOffset":455,"endOffset":487,"count":0},{"startOffset":489,"endOffset":567,"count":0}],"isBlockCoverage":true},{"functionName":"assertListener","ranges":[{"startOffset":571,"endOffset":704,"count":4},{"startOffset":644,"endOffset":702,"count":0}],"isBlockCoverage":true},{"functionName":"getListeners","ranges":[{"startOffset":706,"endOffset":869,"count":30},{"startOffset":821,"endOffset":835,"count":8},{"startOffset":835,"endOffset":868,"count":22}],"isBlockCoverage":true},{"functionName":"getEventProducers","ranges":[{"startOffset":871,"endOffset":1175,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueProducers","ranges":[{"startOffset":1177,"endOffset":1587,"count":26},{"startOffset":1315,"endOffset":1408,"count":0},{"startOffset":1550,"endOffset":1582,"count":0}],"isBlockCoverage":true},{"functionName":"iterator","ranges":[{"startOffset":1589,"endOffset":2972,"count":0}],"isBlockCoverage":false},{"functionName":"defaultMethodNamesOrAssert","ranges":[{"startOffset":2974,"endOffset":3495,"count":0}],"isBlockCoverage":false},{"functionName":"isMetaEvent","ranges":[{"startOffset":3517,"endOffset":3590,"count":60},{"startOffset":3558,"endOffset":3590,"count":48}],"isBlockCoverage":true},{"functionName":"emitMetaEvent","ranges":[{"startOffset":3593,"endOffset":3808,"count":4}],"isBlockCoverage":true},{"functionName":"mixin","ranges":[{"startOffset":3850,"endOffset":4933,"count":0}],"isBlockCoverage":false},{"functionName":"get isDebugEnabled","ranges":[{"startOffset":4943,"endOffset":5528,"count":30},{"startOffset":5304,"endOffset":5341,"count":0},{"startOffset":5432,"endOffset":5444,"count":0}],"isBlockCoverage":true},{"functionName":"set isDebugEnabled","ranges":[{"startOffset":5538,"endOffset":5606,"count":0}],"isBlockCoverage":false},{"functionName":"Emittery","ranges":[{"startOffset":5609,"endOffset":6731,"count":1}],"isBlockCoverage":true},{"functionName":"Emittery.debug.logger","ranges":[{"startOffset":5961,"endOffset":6723,"count":0}],"isBlockCoverage":false},{"functionName":"logIfDebugEnabled","ranges":[{"startOffset":6734,"endOffset":6910,"count":30},{"startOffset":6835,"endOffset":6907,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":6913,"endOffset":7515,"count":4},{"startOffset":7010,"endOffset":7022,"count":0}],"isBlockCoverage":true},{"functionName":"off","ranges":[{"startOffset":7518,"endOffset":8087,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":8090,"endOffset":8292,"count":0}],"isBlockCoverage":false},{"functionName":"events","ranges":[{"startOffset":8295,"endOffset":8501,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":8504,"endOffset":9384,"count":26},{"startOffset":8599,"endOffset":8620,"count":4},{"startOffset":8622,"endOffset":8724,"count":0},{"startOffset":8882,"endOffset":8894,"count":4},{"startOffset":9031,"endOffset":9035,"count":4},{"startOffset":9036,"endOffset":9055,"count":22}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9131,"endOffset":9229,"count":22}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9261,"endOffset":9373,"count":0}],"isBlockCoverage":false},{"functionName":"emitSerial","ranges":[{"startOffset":9387,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"onAny","ranges":[{"startOffset":10237,"endOffset":10478,"count":0}],"isBlockCoverage":false},{"functionName":"anyEvent","ranges":[{"startOffset":10481,"endOffset":10521,"count":0}],"isBlockCoverage":false},{"functionName":"offAny","ranges":[{"startOffset":10524,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"clearListeners","ranges":[{"startOffset":10733,"endOffset":11739,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":11742,"endOffset":12458,"count":0}],"isBlockCoverage":false},{"functionName":"bindMethods","ranges":[{"startOffset":12461,"endOffset":12966,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13051,"endOffset":13075,"count":14}],"isBlockCoverage":true}]},{"scriptId":"213","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/matcher/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2646,"count":1}],"isBlockCoverage":true},{"functionName":"sanitizeArray","ranges":[{"startOffset":110,"endOffset":713,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegexp","ranges":[{"startOffset":735,"endOffset":1261,"count":0}],"isBlockCoverage":false},{"functionName":"baseMatcher","ranges":[{"startOffset":1284,"endOffset":2412,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2422,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"isMatch","ranges":[{"startOffset":2533,"endOffset":2645,"count":0}],"isBlockCoverage":false}]},{"scriptId":"214","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/context-ref.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":555,"count":1}],"isBlockCoverage":true},{"functionName":"ContextRef","ranges":[{"startOffset":35,"endOffset":72,"count":6}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":75,"endOffset":106,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":109,"endOffset":152,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":155,"endOffset":198,"count":5}],"isBlockCoverage":true},{"functionName":"LateBinding","ranges":[{"startOffset":242,"endOffset":314,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":317,"endOffset":487,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":490,"endOffset":552,"count":0}],"isBlockCoverage":false}]},{"scriptId":"215","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/create-chain.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4371,"count":1}],"isBlockCoverage":true},{"functionName":"startChain","ranges":[{"startOffset":38,"endOffset":265,"count":11}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":94,"endOffset":140,"count":5}],"isBlockCoverage":true},{"functionName":"extendChain","ranges":[{"startOffset":267,"endOffset":633,"count":27},{"startOffset":324,"endOffset":343,"count":7}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":357,"endOffset":412,"count":0}],"isBlockCoverage":false},{"functionName":"callWithFlag","ranges":[{"startOffset":635,"endOffset":965,"count":0}],"isBlockCoverage":false},{"functionName":"createHookChain","ranges":[{"startOffset":967,"endOffset":1316,"count":8},{"startOffset":1217,"endOffset":1299,"count":4}],"isBlockCoverage":true},{"functionName":"createChain","ranges":[{"startOffset":1333,"endOffset":4370,"count":1}],"isBlockCoverage":true},{"functionName":"root.macro","ranges":[{"startOffset":3411,"endOffset":3580,"count":0}],"isBlockCoverage":false},{"functionName":"apply","ranges":[{"startOffset":4105,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4196,"endOffset":4341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"216","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/parse-test-args.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":701,"count":1}],"isBlockCoverage":true},{"functionName":"buildTitle","ranges":[{"startOffset":19,"endOffset":366,"count":5},{"startOffset":104,"endOffset":140,"count":0}],"isBlockCoverage":true},{"functionName":"parseTestArgs","ranges":[{"startOffset":384,"endOffset":700,"count":5},{"startOffset":476,"endOffset":487,"count":0},{"startOffset":602,"endOffset":623,"count":0}],"isBlockCoverage":true}]},{"scriptId":"217","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/snapshot-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13174,"count":1}],"isBlockCoverage":true},{"functionName":"SnapshotError","ranges":[{"startOffset":1259,"endOffset":1371,"count":0}],"isBlockCoverage":false},{"functionName":"ChecksumError","ranges":[{"startOffset":1427,"endOffset":1524,"count":0}],"isBlockCoverage":false},{"functionName":"VersionMismatchError","ranges":[{"startOffset":1587,"endOffset":1774,"count":0}],"isBlockCoverage":false},{"functionName":"InvalidSnapshotError","ranges":[{"startOffset":1837,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"isLegacySnapshot","ranges":[{"startOffset":2016,"endOffset":2144,"count":0}],"isBlockCoverage":false},{"functionName":"LegacyError","ranges":[{"startOffset":2196,"endOffset":2294,"count":0}],"isBlockCoverage":false},{"functionName":"tryRead","ranges":[{"startOffset":2298,"endOffset":2454,"count":1},{"startOffset":2433,"endOffset":2452,"count":0}],"isBlockCoverage":true},{"functionName":"formatEntry","ranges":[{"startOffset":2456,"endOffset":2875,"count":0}],"isBlockCoverage":false},{"functionName":"combineEntries","ranges":[{"startOffset":2877,"endOffset":3292,"count":0}],"isBlockCoverage":false},{"functionName":"generateReport","ranges":[{"startOffset":3294,"endOffset":3611,"count":0}],"isBlockCoverage":false},{"functionName":"BufferBuilder","ranges":[{"startOffset":3636,"endOffset":3698,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":3701,"endOffset":3818,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3821,"endOffset":4011,"count":0}],"isBlockCoverage":false},{"functionName":"toBuffer","ranges":[{"startOffset":4014,"endOffset":4084,"count":0}],"isBlockCoverage":false},{"functionName":"sortBlocks","ranges":[{"startOffset":4088,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"encodeSnapshots","ranges":[{"startOffset":4450,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"decodeSnapshots","ranges":[{"startOffset":5016,"endOffset":5987,"count":0}],"isBlockCoverage":false},{"functionName":"Manager","ranges":[{"startOffset":6006,"endOffset":6530,"count":1}],"isBlockCoverage":true},{"functionName":"touch","ranges":[{"startOffset":6533,"endOffset":6604,"count":5}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":6607,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"recordSerialized","ranges":[{"startOffset":7345,"endOffset":8027,"count":0}],"isBlockCoverage":false},{"functionName":"deferRecord","ranges":[{"startOffset":8030,"endOffset":8370,"count":0}],"isBlockCoverage":false},{"functionName":"record","ranges":[{"startOffset":8373,"endOffset":8449,"count":0}],"isBlockCoverage":false},{"functionName":"skipBlock","ranges":[{"startOffset":8452,"endOffset":8587,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":8590,"endOffset":9164,"count":0}],"isBlockCoverage":false},{"functionName":"save","ranges":[{"startOffset":9167,"endOffset":10106,"count":1},{"startOffset":9266,"endOffset":9301,"count":0},{"startOffset":9303,"endOffset":9421,"count":0},{"startOffset":9468,"endOffset":10105,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9565,"endOffset":9604,"count":0}],"isBlockCoverage":false},{"functionName":"tmpfileCreated","ranges":[{"startOffset":9845,"endOffset":9878,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10140,"endOffset":10658,"count":1},{"startOffset":10399,"endOffset":10420,"count":0},{"startOffset":10441,"endOffset":10632,"count":0},{"startOffset":10635,"endOffset":10655,"count":0}],"isBlockCoverage":true},{"functionName":"mem.cacheKey.file.file","ranges":[{"startOffset":10702,"endOffset":11285,"count":1},{"startOffset":10819,"endOffset":10947,"count":0},{"startOffset":11054,"endOffset":11104,"count":0},{"startOffset":11265,"endOffset":11284,"count":0}],"isBlockCoverage":true},{"functionName":"cacheKey","ranges":[{"startOffset":11298,"endOffset":11316,"count":1}],"isBlockCoverage":true},{"functionName":"determineSnapshotPaths","ranges":[{"startOffset":11321,"endOffset":11775,"count":1}],"isBlockCoverage":true},{"functionName":"cleanFile","ranges":[{"startOffset":11777,"endOffset":11941,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":11950,"endOffset":13173,"count":1},{"startOffset":12141,"endOffset":12274,"count":0},{"startOffset":12552,"endOffset":13125,"count":0},{"startOffset":13126,"endOffset":13141,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12700,"endOffset":12737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"218","url":"node:internal/file","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1801,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":424,"endOffset":1563,"count":0}],"isBlockCoverage":false}]},{"scriptId":"219","url":"node:crypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8825,"count":1}],"isBlockCoverage":false},{"functionName":"lazyWebCrypto","ranges":[{"startOffset":3084,"endOffset":3186,"count":6}],"isBlockCoverage":true},{"functionName":"lazyOwnsProcessState","ranges":[{"startOffset":3210,"endOffset":3340,"count":0}],"isBlockCoverage":false},{"functionName":"createHash","ranges":[{"startOffset":3482,"endOffset":3564,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3566,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"createCipheriv","ranges":[{"startOffset":3668,"endOffset":3770,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipher","ranges":[{"startOffset":3772,"endOffset":3876,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipheriv","ranges":[{"startOffset":3878,"endOffset":3984,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellman","ranges":[{"startOffset":3986,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellmanGroup","ranges":[{"startOffset":4144,"endOffset":4226,"count":0}],"isBlockCoverage":false},{"functionName":"createECDH","ranges":[{"startOffset":4228,"endOffset":4284,"count":0}],"isBlockCoverage":false},{"functionName":"createHmac","ranges":[{"startOffset":4286,"endOffset":4368,"count":0}],"isBlockCoverage":false},{"functionName":"createSign","ranges":[{"startOffset":4370,"endOffset":4452,"count":0}],"isBlockCoverage":false},{"functionName":"createVerify","ranges":[{"startOffset":4454,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"getFips","ranges":[{"startOffset":5583,"endOffset":5668,"count":0}],"isBlockCoverage":false},{"functionName":"setFips","ranges":[{"startOffset":5670,"endOffset":5954,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":5956,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6125,"endOffset":6379,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6383,"endOffset":6572,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomBytesAlias","ranges":[{"startOffset":6621,"endOffset":7454,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6719,"endOffset":7209,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7215,"endOffset":7446,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8198,"endOffset":8238,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8350,"endOffset":8397,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8523,"endOffset":8544,"count":3}],"isBlockCoverage":true}]},{"scriptId":"220","url":"node:internal/crypto/random","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16246,"count":1}],"isBlockCoverage":false},{"functionName":"assertOffset","ranges":[{"startOffset":1260,"endOffset":1626,"count":0}],"isBlockCoverage":false},{"functionName":"assertSize","ranges":[{"startOffset":1628,"endOffset":2089,"count":0}],"isBlockCoverage":false},{"functionName":"randomBytes","ranges":[{"startOffset":2091,"endOffset":2634,"count":0}],"isBlockCoverage":false},{"functionName":"randomFillSync","ranges":[{"startOffset":2636,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"randomFill","ranges":[{"startOffset":3306,"endOffset":4352,"count":0}],"isBlockCoverage":false},{"functionName":"randomInt","ranges":[{"startOffset":4902,"endOffset":7142,"count":0}],"isBlockCoverage":false},{"functionName":"asyncRefillRandomIntCache","ranges":[{"startOffset":7144,"endOffset":8020,"count":0}],"isBlockCoverage":false},{"functionName":"onJobDone","ranges":[{"startOffset":8023,"endOffset":8185,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":8417,"endOffset":9033,"count":0}],"isBlockCoverage":false},{"functionName":"getHexBytes","ranges":[{"startOffset":9398,"endOffset":9697,"count":0}],"isBlockCoverage":false},{"functionName":"serializeUUID","ranges":[{"startOffset":9699,"endOffset":10425,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedUUID","ranges":[{"startOffset":10427,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"getUnbufferedUUID","ranges":[{"startOffset":10732,"endOffset":10970,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":10972,"endOffset":11292,"count":0}],"isBlockCoverage":false},{"functionName":"createRandomPrimeJob","ranges":[{"startOffset":11294,"endOffset":12527,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrime","ranges":[{"startOffset":12529,"endOffset":12985,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrimeSync","ranges":[{"startOffset":12987,"endOffset":13245,"count":0}],"isBlockCoverage":false},{"functionName":"numberToHexCharCode","ranges":[{"startOffset":13519,"endOffset":13563,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBufferToUnsignedBigInt","ranges":[{"startOffset":13638,"endOffset":14065,"count":0}],"isBlockCoverage":false},{"functionName":"unsignedBigIntToBuffer","ranges":[{"startOffset":14067,"endOffset":14364,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrime","ranges":[{"startOffset":14366,"endOffset":15259,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrimeSync","ranges":[{"startOffset":15261,"endOffset":16059,"count":0}],"isBlockCoverage":false}]},{"scriptId":"221","url":"node:internal/crypto/pbkdf2","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3018,"count":1}],"isBlockCoverage":false},{"functionName":"pbkdf2","ranges":[{"startOffset":472,"endOffset":1136,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2Sync","ranges":[{"startOffset":1138,"endOffset":1543,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1545,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2DeriveBits","ranges":[{"startOffset":2059,"endOffset":2950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"222","url":"node:internal/crypto/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14973,"count":1}],"isBlockCoverage":false},{"functionName":"toBuf","ranges":[{"startOffset":1730,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1943,"endOffset":1986,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2020,"endOffset":2062,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2096,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"setEngine","ranges":[{"startOffset":2142,"endOffset":2549,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2596,"endOffset":3060,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBufferLength","ranges":[{"startOffset":6504,"endOffset":6717,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeAlgorithm","ranges":[{"startOffset":6943,"endOffset":9378,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayBuffer","ranges":[{"startOffset":9380,"endOffset":9519,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteOffset","ranges":[{"startOffset":9521,"endOffset":9672,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteLength","ranges":[{"startOffset":9674,"endOffset":9825,"count":0}],"isBlockCoverage":false},{"functionName":"hasAnyNotIn","ranges":[{"startOffset":9827,"endOffset":9966,"count":0}],"isBlockCoverage":false},{"functionName":"validateBitLength","ranges":[{"startOffset":9968,"endOffset":10310,"count":0}],"isBlockCoverage":false},{"functionName":"validateByteLength","ranges":[{"startOffset":10312,"endOffset":10508,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10553,"endOffset":10822,"count":0}],"isBlockCoverage":false},{"functionName":"onDone","ranges":[{"startOffset":10826,"endOffset":11058,"count":0}],"isBlockCoverage":false},{"functionName":"jobPromise","ranges":[{"startOffset":11060,"endOffset":11330,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedInt","ranges":[{"startOffset":11866,"endOffset":12146,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedBigInt","ranges":[{"startOffset":12148,"endOffset":12384,"count":0}],"isBlockCoverage":false},{"functionName":"getStringOption","ranges":[{"startOffset":12386,"endOffset":12551,"count":0}],"isBlockCoverage":false},{"functionName":"getUsagesUnion","ranges":[{"startOffset":12553,"endOffset":12765,"count":0}],"isBlockCoverage":false},{"functionName":"getBlockSize","ranges":[{"startOffset":12767,"endOffset":12948,"count":0}],"isBlockCoverage":false},{"functionName":"validateKeyOps","ranges":[{"startOffset":13087,"endOffset":14053,"count":0}],"isBlockCoverage":false},{"functionName":"secureHeapUsed","ranges":[{"startOffset":14055,"endOffset":14438,"count":0}],"isBlockCoverage":false}]},{"scriptId":"223","url":"node:internal/crypto/hashnames","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2520,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeHashName","ranges":[{"startOffset":1890,"endOffset":2133,"count":0}],"isBlockCoverage":false}]},{"scriptId":"224","url":"node:internal/crypto/scrypt","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3331,"count":1}],"isBlockCoverage":false},{"functionName":"scrypt","ranges":[{"startOffset":626,"endOffset":1292,"count":0}],"isBlockCoverage":false},{"functionName":"scryptSync","ranges":[{"startOffset":1294,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1702,"endOffset":3283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"225","url":"node:internal/crypto/hkdf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3304,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":816,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"prepareKey","ranges":[{"startOffset":1274,"endOffset":1702,"count":0}],"isBlockCoverage":false},{"functionName":"hkdf","ranges":[{"startOffset":1704,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfSync","ranges":[{"startOffset":2172,"endOffset":2510,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfDeriveBits","ranges":[{"startOffset":2549,"endOffset":3242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"226","url":"node:internal/crypto/keys","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21401,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2331,"endOffset":6452,"count":1}],"isBlockCoverage":true},{"functionName":"KeyObject","ranges":[{"startOffset":2441,"endOffset":2983,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":2989,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":3049,"endOffset":3190,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":3196,"endOffset":3480,"count":0}],"isBlockCoverage":false},{"functionName":"SecretKeyObject","ranges":[{"startOffset":3698,"endOffset":3756,"count":0}],"isBlockCoverage":false},{"functionName":"get symmetricKeySize","ranges":[{"startOffset":3762,"endOffset":3842,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":3848,"endOffset":4196,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeKeyDetails","ranges":[{"startOffset":4329,"endOffset":4598,"count":0}],"isBlockCoverage":false},{"functionName":"AsymmetricKeyObject","ranges":[{"startOffset":4707,"endOffset":4767,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyType","ranges":[{"startOffset":4773,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyDetails","ranges":[{"startOffset":4931,"endOffset":5308,"count":0}],"isBlockCoverage":false},{"functionName":"PublicKeyObject","ranges":[{"startOffset":5372,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5436,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"PrivateKeyObject","ranges":[{"startOffset":5792,"endOffset":5851,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5857,"endOffset":6371,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormat","ranges":[{"startOffset":6456,"endOffset":6841,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyType","ranges":[{"startOffset":6843,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"option","ranges":[{"startOffset":7697,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormatAndType","ranges":[{"startOffset":7820,"endOffset":8520,"count":0}],"isBlockCoverage":false},{"functionName":"isStringOrBuffer","ranges":[{"startOffset":8522,"endOffset":8659,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":8661,"endOffset":10019,"count":0}],"isBlockCoverage":false},{"functionName":"parsePublicKeyEncoding","ranges":[{"startOffset":10218,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"parsePrivateKeyEncoding","ranges":[{"startOffset":10554,"endOffset":10670,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandle","ranges":[{"startOffset":10672,"endOffset":11250,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyTypes","ranges":[{"startOffset":11252,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandleFromJwk","ranges":[{"startOffset":11759,"endOffset":14308,"count":0}],"isBlockCoverage":false},{"functionName":"prepareAsymmetricKey","ranges":[{"startOffset":14310,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"preparePrivateKey","ranges":[{"startOffset":15855,"endOffset":15943,"count":0}],"isBlockCoverage":false},{"functionName":"preparePublicOrPrivateKey","ranges":[{"startOffset":15945,"endOffset":16040,"count":0}],"isBlockCoverage":false},{"functionName":"prepareSecretKey","ranges":[{"startOffset":16042,"endOffset":16740,"count":0}],"isBlockCoverage":false},{"functionName":"createSecretKey","ranges":[{"startOffset":16742,"endOffset":16946,"count":0}],"isBlockCoverage":false},{"functionName":"createPublicKey","ranges":[{"startOffset":16948,"endOffset":17285,"count":0}],"isBlockCoverage":false},{"functionName":"createPrivateKey","ranges":[{"startOffset":17287,"endOffset":17628,"count":0}],"isBlockCoverage":false},{"functionName":"isKeyObject","ranges":[{"startOffset":17630,"endOffset":17712,"count":0}],"isBlockCoverage":false},{"functionName":"CryptoKey","ranges":[{"startOffset":18135,"endOffset":18195,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18199,"endOffset":18548,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":18552,"endOffset":18687,"count":0}],"isBlockCoverage":false},{"functionName":"get extractable","ranges":[{"startOffset":18691,"endOffset":18830,"count":0}],"isBlockCoverage":false},{"functionName":"get algorithm","ranges":[{"startOffset":18834,"endOffset":18969,"count":0}],"isBlockCoverage":false},{"functionName":"get usages","ranges":[{"startOffset":18973,"endOffset":19116,"count":0}],"isBlockCoverage":false},{"functionName":"InternalCryptoKey","ranges":[{"startOffset":19694,"endOffset":20173,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20177,"endOffset":20529,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20533,"endOffset":20737,"count":0}],"isBlockCoverage":false},{"functionName":"isCryptoKey","ranges":[{"startOffset":20866,"endOffset":20950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"227","url":"node:internal/crypto/keygen","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10712,"count":1}],"isBlockCoverage":false},{"functionName":"isJwk","ranges":[{"startOffset":1183,"endOffset":1253,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":1255,"endOffset":1409,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPair","ranges":[{"startOffset":1411,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPairSync","ranges":[{"startOffset":2193,"endOffset":2310,"count":0}],"isBlockCoverage":false},{"functionName":"handleError","ranges":[{"startOffset":2312,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":2692,"endOffset":3942,"count":0}],"isBlockCoverage":false},{"functionName":"createJob","ranges":[{"startOffset":3944,"endOffset":9232,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyJob","ranges":[{"startOffset":9263,"endOffset":9800,"count":0}],"isBlockCoverage":false},{"functionName":"handleGenerateKeyError","ranges":[{"startOffset":9802,"endOffset":10004,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":10006,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeySync","ranges":[{"startOffset":10478,"endOffset":10612,"count":0}],"isBlockCoverage":false}]},{"scriptId":"228","url":"node:internal/crypto/diffiehellman","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9910,"count":1}],"isBlockCoverage":false},{"functionName":"DiffieHellman","ranges":[{"startOffset":1232,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"DiffieHellmanGroup","ranges":[{"startOffset":3039,"endOffset":3365,"count":0}],"isBlockCoverage":false},{"functionName":"dhGenerateKeys","ranges":[{"startOffset":3476,"endOffset":3591,"count":0}],"isBlockCoverage":false},{"functionName":"dhComputeSecret","ranges":[{"startOffset":3705,"endOffset":3963,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrime","ranges":[{"startOffset":4062,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetGenerator","ranges":[{"startOffset":4282,"endOffset":4407,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPublicKey","ranges":[{"startOffset":4518,"endOffset":4631,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrivateKey","ranges":[{"startOffset":4745,"endOffset":4860,"count":0}],"isBlockCoverage":false},{"functionName":"setPublicKey","ranges":[{"startOffset":4902,"endOffset":5044,"count":0}],"isBlockCoverage":false},{"functionName":"setPrivateKey","ranges":[{"startOffset":5088,"endOffset":5232,"count":0}],"isBlockCoverage":false},{"functionName":"ECDH","ranges":[{"startOffset":5236,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeys","ranges":[{"startOffset":5701,"endOffset":5823,"count":0}],"isBlockCoverage":false},{"functionName":"getPublicKey","ranges":[{"startOffset":5856,"endOffset":6007,"count":0}],"isBlockCoverage":false},{"functionName":"convertKey","ranges":[{"startOffset":6028,"endOffset":6294,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6297,"endOffset":6432,"count":0}],"isBlockCoverage":false},{"functionName":"getFormat","ranges":[{"startOffset":6434,"endOffset":6757,"count":0}],"isBlockCoverage":false},{"functionName":"diffieHellman","ranges":[{"startOffset":6831,"endOffset":7899,"count":0}],"isBlockCoverage":false},{"functionName":"ecdhDeriveBits","ranges":[{"startOffset":8018,"endOffset":9804,"count":0}],"isBlockCoverage":false}]},{"scriptId":"229","url":"node:internal/crypto/cipher","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10199,"count":1}],"isBlockCoverage":false},{"functionName":"rsaFunctionFor","ranges":[{"startOffset":1233,"endOffset":1981,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1301,"endOffset":1978,"count":0}],"isBlockCoverage":false},{"functionName":"getDecoder","ranges":[{"startOffset":2482,"endOffset":2848,"count":0}],"isBlockCoverage":false},{"functionName":"getUIntOption","ranges":[{"startOffset":2850,"endOffset":3084,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherBase","ranges":[{"startOffset":3086,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3507,"endOffset":3742,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherWithIV","ranges":[{"startOffset":3744,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"Cipher","ranges":[{"startOffset":4326,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":4670,"endOffset":4786,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":4815,"endOffset":4953,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":4982,"endOffset":5498,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5527,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"setAutoPadding","ranges":[{"startOffset":5809,"endOffset":5956,"count":0}],"isBlockCoverage":false},{"functionName":"getAuthTag","ranges":[{"startOffset":5989,"endOffset":6149,"count":0}],"isBlockCoverage":false},{"functionName":"setAuthTag","ranges":[{"startOffset":6153,"endOffset":6365,"count":0}],"isBlockCoverage":false},{"functionName":"setAAD","ranges":[{"startOffset":6393,"endOffset":6735,"count":0}],"isBlockCoverage":false},{"functionName":"Cipheriv","ranges":[{"startOffset":6983,"endOffset":7193,"count":0}],"isBlockCoverage":false},{"functionName":"addCipherPrototypeFunctions","ranges":[{"startOffset":7195,"endOffset":7786,"count":3},{"startOffset":7591,"endOffset":7664,"count":1},{"startOffset":7664,"endOffset":7726,"count":2}],"isBlockCoverage":true},{"functionName":"Decipher","ranges":[{"startOffset":8187,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"Decipheriv","ranges":[{"startOffset":8800,"endOffset":9017,"count":0}],"isBlockCoverage":false},{"functionName":"getCipherInfo","ranges":[{"startOffset":9179,"endOffset":10040,"count":0}],"isBlockCoverage":false}]},{"scriptId":"230","url":"node:internal/streams/lazy_transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1535,"count":1}],"isBlockCoverage":false},{"functionName":"LazyTransform","ranges":[{"startOffset":401,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"makeGetter","ranges":[{"startOffset":595,"endOffset":918,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":632,"endOffset":915,"count":0}],"isBlockCoverage":false},{"functionName":"makeSetter","ranges":[{"startOffset":920,"endOffset":1139,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":957,"endOffset":1136,"count":0}],"isBlockCoverage":false}]},{"scriptId":"231","url":"node:internal/crypto/sig","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6942,"count":1}],"isBlockCoverage":false},{"functionName":"Sign","ranges":[{"startOffset":870,"endOffset":1129,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":1252,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":1371,"endOffset":1684,"count":0}],"isBlockCoverage":false},{"functionName":"getPadding","ranges":[{"startOffset":1687,"endOffset":1762,"count":0}],"isBlockCoverage":false},{"functionName":"getSaltLength","ranges":[{"startOffset":1764,"endOffset":1845,"count":0}],"isBlockCoverage":false},{"functionName":"getDSASignatureEncoding","ranges":[{"startOffset":1847,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"getIntOption","ranges":[{"startOffset":2201,"endOffset":2446,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":2470,"endOffset":3086,"count":0}],"isBlockCoverage":false},{"functionName":"signOneShot","ranges":[{"startOffset":3089,"endOffset":4307,"count":0}],"isBlockCoverage":false},{"functionName":"Verify","ranges":[{"startOffset":4309,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":4804,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"verifyOneShot","ranges":[{"startOffset":5390,"endOffset":6868,"count":0}],"isBlockCoverage":false}]},{"scriptId":"232","url":"node:internal/crypto/hash","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4553,"count":1}],"isBlockCoverage":false},{"functionName":"Hash","ranges":[{"startOffset":954,"endOffset":1474,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":1605,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1804,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":1936,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":2043,"endOffset":2507,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":2535,"endOffset":2856,"count":0}],"isBlockCoverage":false},{"functionName":"Hmac","ranges":[{"startOffset":2859,"endOffset":3259,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":3440,"endOffset":3872,"count":0}],"isBlockCoverage":false},{"functionName":"asyncDigest","ranges":[{"startOffset":4027,"endOffset":4498,"count":0}],"isBlockCoverage":false}]},{"scriptId":"233","url":"node:internal/crypto/x509","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9909,"count":1}],"isBlockCoverage":false},{"functionName":"isX509Certificate","ranges":[{"startOffset":1155,"endOffset":1238,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":1240,"endOffset":2485,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2487,"endOffset":2649,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2651,"endOffset":9663,"count":0}],"isBlockCoverage":false}]},{"scriptId":"234","url":"node:internal/crypto/certificate","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1546,"count":1}],"isBlockCoverage":false},{"functionName":"verifySpkac","ranges":[{"startOffset":385,"endOffset":505,"count":0}],"isBlockCoverage":false},{"functionName":"exportPublicKey","ranges":[{"startOffset":507,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"exportChallenge","ranges":[{"startOffset":637,"endOffset":765,"count":0}],"isBlockCoverage":false},{"functionName":"Certificate","ranges":[{"startOffset":1122,"endOffset":1216,"count":0}],"isBlockCoverage":false}]},{"scriptId":"235","url":"node:internal/crypto/webcrypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30940,"count":1}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":1190,"endOffset":1799,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":1801,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":1913,"endOffset":4408,"count":0}],"isBlockCoverage":false},{"functionName":"deriveBits","ranges":[{"startOffset":4410,"endOffset":5970,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyLength","ranges":[{"startOffset":5972,"endOffset":6592,"count":0}],"isBlockCoverage":false},{"functionName":"deriveKey","ranges":[{"startOffset":6594,"endOffset":8774,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeySpki","ranges":[{"startOffset":8776,"endOffset":9754,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyPkcs8","ranges":[{"startOffset":9756,"endOffset":10743,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyRaw","ranges":[{"startOffset":10745,"endOffset":11678,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyJWK","ranges":[{"startOffset":11680,"endOffset":13210,"count":0}],"isBlockCoverage":false},{"functionName":"exportKey","ranges":[{"startOffset":13212,"endOffset":14072,"count":0}],"isBlockCoverage":false},{"functionName":"importGenericSecretKey","ranges":[{"startOffset":14074,"endOffset":15424,"count":0}],"isBlockCoverage":false},{"functionName":"importKey","ranges":[{"startOffset":15426,"endOffset":18168,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":18261,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapKey","ranges":[{"startOffset":19891,"endOffset":21854,"count":0}],"isBlockCoverage":false},{"functionName":"signVerify","ranges":[{"startOffset":21856,"endOffset":22959,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":22961,"endOffset":23587,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":23589,"endOffset":24346,"count":0}],"isBlockCoverage":false},{"functionName":"cipherOrWrap","ranges":[{"startOffset":24348,"endOffset":25759,"count":0}],"isBlockCoverage":false},{"functionName":"encrypt","ranges":[{"startOffset":25761,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"decrypt","ranges":[{"startOffset":26489,"endOffset":27215,"count":0}],"isBlockCoverage":false},{"functionName":"SubtleCrypto","ranges":[{"startOffset":27371,"endOffset":27431,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27466,"endOffset":27479,"count":1}],"isBlockCoverage":true},{"functionName":"Crypto","ranges":[{"startOffset":27518,"endOffset":27578,"count":0}],"isBlockCoverage":true},{"functionName":"get subtle","ranges":[{"startOffset":27582,"endOffset":27682,"count":3},{"startOffset":27622,"endOffset":27659,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27717,"endOffset":27730,"count":1}],"isBlockCoverage":true},{"functionName":"getRandomValues","ranges":[{"startOffset":27746,"endOffset":28079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"236","url":"node:zlib","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29534,"count":1}],"isBlockCoverage":false},{"functionName":"zlibBuffer","ranges":[{"startOffset":3530,"endOffset":4157,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnData","ranges":[{"startOffset":4159,"endOffset":4490,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnError","ranges":[{"startOffset":4492,"endOffset":4577,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnEnd","ranges":[{"startOffset":4579,"endOffset":4909,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferSync","ranges":[{"startOffset":4911,"endOffset":5452,"count":0}],"isBlockCoverage":false},{"functionName":"zlibOnError","ranges":[{"startOffset":5454,"endOffset":5768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5993,"endOffset":6329,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6633,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase","ranges":[{"startOffset":7161,"endOffset":9213,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9438,"endOffset":9475,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9918,"endOffset":9964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10111,"endOffset":10163,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.reset","ranges":[{"startOffset":10304,"endOffset":10412,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._flush","ranges":[{"startOffset":10558,"endOffset":10630,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._final","ranges":[{"startOffset":10697,"endOffset":10733,"count":0}],"isBlockCoverage":false},{"functionName":"maxFlush","ranges":[{"startOffset":11331,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.flush","ranges":[{"startOffset":11847,"endOffset":12249,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.close","ranges":[{"startOffset":12279,"endOffset":12361,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._destroy","ranges":[{"startOffset":12394,"endOffset":12454,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._transform","ranges":[{"startOffset":12489,"endOffset":13023,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._processChunk","ranges":[{"startOffset":13061,"endOffset":13290,"count":0}],"isBlockCoverage":false},{"functionName":"processChunkSync","ranges":[{"startOffset":13293,"endOffset":15578,"count":0}],"isBlockCoverage":false},{"functionName":"processChunk","ranges":[{"startOffset":15580,"endOffset":16170,"count":0}],"isBlockCoverage":false},{"functionName":"processCallback","ranges":[{"startOffset":16172,"endOffset":18474,"count":0}],"isBlockCoverage":false},{"functionName":"_close","ranges":[{"startOffset":18476,"endOffset":18666,"count":0}],"isBlockCoverage":false},{"functionName":"Zlib","ranges":[{"startOffset":18863,"endOffset":21181,"count":0}],"isBlockCoverage":false},{"functionName":"paramsAfterFlushCallback","ranges":[{"startOffset":21531,"endOffset":21797,"count":0}],"isBlockCoverage":false},{"functionName":"params","ranges":[{"startOffset":21823,"endOffset":22290,"count":0}],"isBlockCoverage":false},{"functionName":"Deflate","ranges":[{"startOffset":22334,"endOffset":22469,"count":0}],"isBlockCoverage":false},{"functionName":"Inflate","ranges":[{"startOffset":22565,"endOffset":22700,"count":0}],"isBlockCoverage":false},{"functionName":"Gzip","ranges":[{"startOffset":22796,"endOffset":22919,"count":0}],"isBlockCoverage":false},{"functionName":"Gunzip","ranges":[{"startOffset":23009,"endOffset":23140,"count":0}],"isBlockCoverage":false},{"functionName":"DeflateRaw","ranges":[{"startOffset":23234,"endOffset":23439,"count":0}],"isBlockCoverage":false},{"functionName":"InflateRaw","ranges":[{"startOffset":23541,"endOffset":23688,"count":0}],"isBlockCoverage":false},{"functionName":"Unzip","ranges":[{"startOffset":23790,"endOffset":23917,"count":0}],"isBlockCoverage":false},{"functionName":"createConvenienceMethod","ranges":[{"startOffset":24009,"endOffset":24398,"count":18},{"startOffset":24068,"endOffset":24397,"count":9}],"isBlockCoverage":true},{"functionName":"syncBufferWrapper","ranges":[{"startOffset":24081,"endOffset":24182,"count":0}],"isBlockCoverage":false},{"functionName":"asyncBufferWrapper","ranges":[{"startOffset":24197,"endOffset":24395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24483,"endOffset":24570,"count":107},{"startOffset":24541,"endOffset":24561,"count":9},{"startOffset":24562,"endOffset":24569,"count":98}],"isBlockCoverage":true},{"functionName":"Brotli","ranges":[{"startOffset":24789,"endOffset":26126,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliCompress","ranges":[{"startOffset":26220,"endOffset":26384,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliDecompress","ranges":[{"startOffset":26498,"endOffset":26668,"count":0}],"isBlockCoverage":false},{"functionName":"createProperty","ranges":[{"startOffset":26787,"endOffset":26973,"count":9}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":26908,"endOffset":26965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27202,"endOffset":27238,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":27242,"endOffset":27283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"237","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16298,"count":1}],"isBlockCoverage":true},{"functionName":"hasOwnProperty","ranges":[{"startOffset":362,"endOffset":430,"count":0}],"isBlockCoverage":false},{"functionName":"isExternalAssertError","ranges":[{"startOffset":433,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"formatErrorValue","ranges":[{"startOffset":865,"endOffset":1002,"count":0}],"isBlockCoverage":false},{"functionName":"captureSavedError","ranges":[{"startOffset":1030,"endOffset":1237,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext","ranges":[{"startOffset":1316,"endOffset":4497,"count":5}],"isBlockCoverage":true},{"functionName":"pass","ranges":[{"startOffset":1349,"endOffset":1395,"count":5}],"isBlockCoverage":true},{"functionName":"pending","ranges":[{"startOffset":1400,"endOffset":1462,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":1467,"endOffset":1521,"count":0}],"isBlockCoverage":false},{"functionName":"skip","ranges":[{"startOffset":1526,"endOffset":1572,"count":0}],"isBlockCoverage":false},{"functionName":"compareWithSnapshot","ranges":[{"startOffset":1598,"endOffset":1642,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.snapshot.skip","ranges":[{"startOffset":1778,"endOffset":1813,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.log","ranges":[{"startOffset":1829,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan","ranges":[{"startOffset":2064,"endOffset":2120,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan.skip","ranges":[{"startOffset":2142,"endOffset":2150,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.timeout","ranges":[{"startOffset":2170,"endOffset":2222,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.teardown","ranges":[{"startOffset":2243,"endOffset":2291,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.try","ranges":[{"startOffset":2307,"endOffset":4493,"count":0}],"isBlockCoverage":false},{"functionName":"get title","ranges":[{"startOffset":4500,"endOffset":4550,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4553,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"set context","ranges":[{"startOffset":4619,"endOffset":4689,"count":0}],"isBlockCoverage":false},{"functionName":"get passed","ranges":[{"startOffset":4692,"endOffset":4803,"count":0}],"isBlockCoverage":false},{"functionName":"Test","ranges":[{"startOffset":4836,"endOffset":7739,"count":5},{"startOffset":4940,"endOffset":4945,"count":0}],"isBlockCoverage":true},{"functionName":"Test.compareWithSnapshot","ranges":[{"startOffset":5648,"endOffset":6084,"count":0}],"isBlockCoverage":false},{"functionName":"Test.skipSnapshot","ranges":[{"startOffset":6109,"endOffset":6523,"count":0}],"isBlockCoverage":false},{"functionName":"Test.runAttempt","ranges":[{"startOffset":6546,"endOffset":7343,"count":0}],"isBlockCoverage":false},{"functionName":"createExecutionContext","ranges":[{"startOffset":7742,"endOffset":7808,"count":5}],"isBlockCoverage":true},{"functionName":"countPassedAssertion","ranges":[{"startOffset":7811,"endOffset":8163,"count":5},{"startOffset":7858,"endOffset":7949,"count":0},{"startOffset":7987,"endOffset":8112,"count":0}],"isBlockCoverage":true},{"functionName":"addLog","ranges":[{"startOffset":8166,"endOffset":8207,"count":0}],"isBlockCoverage":false},{"functionName":"addPendingAssertion","ranges":[{"startOffset":8210,"endOffset":8745,"count":0}],"isBlockCoverage":false},{"functionName":"addFailedAssertion","ranges":[{"startOffset":8748,"endOffset":9133,"count":0}],"isBlockCoverage":false},{"functionName":"finishAttempt","ranges":[{"startOffset":9136,"endOffset":10154,"count":0}],"isBlockCoverage":false},{"functionName":"saveFirstError","ranges":[{"startOffset":10157,"endOffset":10243,"count":0}],"isBlockCoverage":false},{"functionName":"plan","ranges":[{"startOffset":10246,"endOffset":10542,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":10545,"endOffset":11120,"count":0}],"isBlockCoverage":false},{"functionName":"refreshTimeout","ranges":[{"startOffset":11123,"endOffset":11303,"count":5},{"startOffset":11184,"endOffset":11300,"count":0}],"isBlockCoverage":true},{"functionName":"clearTimeout","ranges":[{"startOffset":11306,"endOffset":11401,"count":5}],"isBlockCoverage":true},{"functionName":"addTeardown","ranges":[{"startOffset":11404,"endOffset":11793,"count":0}],"isBlockCoverage":false},{"functionName":"runTeardowns","ranges":[{"startOffset":11796,"endOffset":12044,"count":5},{"startOffset":11907,"endOffset":12041,"count":0}],"isBlockCoverage":true},{"functionName":"verifyPlan","ranges":[{"startOffset":12047,"endOffset":12402,"count":5},{"startOffset":12113,"endOffset":12151,"count":0},{"startOffset":12153,"endOffset":12399,"count":0}],"isBlockCoverage":true},{"functionName":"verifyAssertions","ranges":[{"startOffset":12405,"endOffset":13050,"count":5},{"startOffset":12450,"endOffset":12466,"count":0},{"startOffset":12504,"endOffset":12622,"count":0},{"startOffset":12662,"endOffset":12765,"count":0},{"startOffset":12835,"endOffset":12901,"count":0},{"startOffset":12933,"endOffset":12951,"count":0},{"startOffset":12953,"endOffset":13043,"count":0}],"isBlockCoverage":true},{"functionName":"callFn","ranges":[{"startOffset":13053,"endOffset":13237,"count":5},{"startOffset":13171,"endOffset":13234,"count":0}],"isBlockCoverage":true},{"functionName":"run","ranges":[{"startOffset":13240,"endOffset":15578,"count":5},{"startOffset":13338,"endOffset":13891,"count":0},{"startOffset":13982,"endOffset":14030,"count":0},{"startOffset":14126,"endOffset":14276,"count":0},{"startOffset":14303,"endOffset":14421,"count":0},{"startOffset":14438,"endOffset":15550,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14153,"endOffset":14270,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14462,"endOffset":15544,"count":0}],"isBlockCoverage":false},{"functionName":"finish","ranges":[{"startOffset":15581,"endOffset":16295,"count":5},{"startOffset":15866,"endOffset":16020,"count":0}],"isBlockCoverage":true}]},{"scriptId":"238","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/assert.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":25039,"count":1}],"isBlockCoverage":true},{"functionName":"formatDescriptorDiff","ranges":[{"startOffset":331,"endOffset":822,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptorWithLabel","ranges":[{"startOffset":824,"endOffset":979,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithLabel","ranges":[{"startOffset":981,"endOffset":1114,"count":0}],"isBlockCoverage":false},{"functionName":"hasOwnProperty","ranges":[{"startOffset":1139,"endOffset":1207,"count":10}],"isBlockCoverage":true},{"functionName":"noop","ranges":[{"startOffset":1222,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"notImplemented","ranges":[{"startOffset":1255,"endOffset":1301,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":1349,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"checkAssertionMessage","ranges":[{"startOffset":1981,"endOffset":2292,"count":5},{"startOffset":2061,"endOffset":2091,"count":0},{"startOffset":2112,"endOffset":2291,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithLongStackTrace","ranges":[{"startOffset":2294,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"validateExpectations","ranges":[{"startOffset":2558,"endOffset":5405,"count":2},{"startOffset":2739,"endOffset":3020,"count":0},{"startOffset":3260,"endOffset":3489,"count":0},{"startOffset":3546,"endOffset":3594,"count":0},{"startOffset":3596,"endOffset":3824,"count":0},{"startOffset":3926,"endOffset":3970,"count":0},{"startOffset":3974,"endOffset":4022,"count":0},{"startOffset":4027,"endOffset":4284,"count":0},{"startOffset":4329,"endOffset":4369,"count":0},{"startOffset":4371,"endOffset":4591,"count":0},{"startOffset":4636,"endOffset":4676,"count":0},{"startOffset":4677,"endOffset":4717,"count":0},{"startOffset":4719,"endOffset":4949,"count":0},{"startOffset":5022,"endOffset":5040,"count":0},{"startOffset":5045,"endOffset":5055,"count":0},{"startOffset":5138,"endOffset":5368,"count":0}],"isBlockCoverage":true},{"functionName":"assertExpectations","ranges":[{"startOffset":5524,"endOffset":8199,"count":2},{"startOffset":5641,"endOffset":5804,"count":0},{"startOffset":5882,"endOffset":5911,"count":0},{"startOffset":5913,"endOffset":6167,"count":0},{"startOffset":6198,"endOffset":6245,"count":0},{"startOffset":6247,"endOffset":6497,"count":0},{"startOffset":6542,"endOffset":6578,"count":0},{"startOffset":6580,"endOffset":6826,"count":0},{"startOffset":6918,"endOffset":7170,"count":0},{"startOffset":7216,"endOffset":7261,"count":0},{"startOffset":7263,"endOffset":7515,"count":0},{"startOffset":7565,"endOffset":7614,"count":0},{"startOffset":7616,"endOffset":7874,"count":0},{"startOffset":7913,"endOffset":7949,"count":0},{"startOffset":7951,"endOffset":8197,"count":0}],"isBlockCoverage":true},{"functionName":"Assertions","ranges":[{"startOffset":8228,"endOffset":25036,"count":5}],"isBlockCoverage":true},{"functionName":"withSkip","ranges":[{"startOffset":8463,"endOffset":8534,"count":95}],"isBlockCoverage":true},{"functionName":"checkMessage","ranges":[{"startOffset":8560,"endOffset":8733,"count":5},{"startOffset":8694,"endOffset":8732,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8759,"endOffset":8797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8824,"endOffset":9037,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9062,"endOffset":9979,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10005,"endOffset":10365,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10397,"endOffset":11031,"count":3},{"startOffset":10474,"endOffset":10498,"count":0},{"startOffset":10632,"endOffset":10727,"count":0},{"startOffset":10775,"endOffset":10828,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11066,"endOffset":11622,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11649,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12970,"endOffset":14552,"count":2},{"startOffset":13240,"endOffset":13258,"count":0},{"startOffset":13293,"endOffset":13515,"count":0},{"startOffset":13622,"endOffset":13671,"count":0},{"startOffset":13765,"endOffset":14105,"count":0},{"startOffset":14169,"endOffset":14328,"count":0},{"startOffset":14511,"endOffset":14548,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14586,"endOffset":16839,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16871,"endOffset":17460,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17497,"endOffset":19358,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19389,"endOffset":21353,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21382,"endOffset":21702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21730,"endOffset":22051,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22078,"endOffset":22383,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22411,"endOffset":22720,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22748,"endOffset":23686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23717,"endOffset":24676,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24705,"endOffset":25031,"count":0}],"isBlockCoverage":false}]},{"scriptId":"239","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/concordance-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2980,"count":1},{"startOffset":2696,"endOffset":2708,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2579,"endOffset":2649,"count":110},{"startOffset":2623,"endOffset":2641,"count":69},{"startOffset":2642,"endOffset":2649,"count":41}],"isBlockCoverage":true},{"functionName":"get maxDepth","ranges":[{"startOffset":2807,"endOffset":2878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"240","url":"node:internal/util/parse_args/parse_args","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12919,"count":1}],"isBlockCoverage":false},{"functionName":"getMainArgs","ranges":[{"startOffset":1135,"endOffset":1729,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionLikeValue","ranges":[{"startOffset":1874,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionUsage","ranges":[{"startOffset":2658,"endOffset":3449,"count":0}],"isBlockCoverage":false},{"functionName":"storeOption","ranges":[{"startOffset":3772,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"storeDefaultOption","ranges":[{"startOffset":4921,"endOffset":5090,"count":0}],"isBlockCoverage":false},{"functionName":"argsToTokens","ranges":[{"startOffset":5365,"endOffset":9345,"count":0}],"isBlockCoverage":false},{"functionName":"parseArgs","ranges":[{"startOffset":9365,"endOffset":12881,"count":0}],"isBlockCoverage":false}]},{"scriptId":"241","url":"node:internal/util/parse_args/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6225,"count":1}],"isBlockCoverage":false},{"functionName":"objectGetOwn","ranges":[{"startOffset":693,"endOffset":782,"count":0}],"isBlockCoverage":false},{"functionName":"optionsGetOwn","ranges":[{"startOffset":865,"endOffset":1011,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionValue","ranges":[{"startOffset":1277,"endOffset":1502,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionLikeValue","ranges":[{"startOffset":1719,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneShortOption","ranges":[{"startOffset":1936,"endOffset":2088,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneLongOption","ranges":[{"startOffset":2336,"endOffset":2484,"count":0}],"isBlockCoverage":false},{"functionName":"isLongOptionAndValue","ranges":[{"startOffset":2681,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionGroup","ranges":[{"startOffset":3724,"endOffset":4109,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionAndValue","ranges":[{"startOffset":4418,"endOffset":4847,"count":0}],"isBlockCoverage":false},{"functionName":"findLongOptionForShort","ranges":[{"startOffset":5170,"endOffset":5472,"count":0}],"isBlockCoverage":false},{"functionName":"useDefaultValueOption","ranges":[{"startOffset":5797,"endOffset":5967,"count":0}],"isBlockCoverage":false}]},{"scriptId":"242","url":"node:internal/mime","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10569,"count":1}],"isBlockCoverage":false},{"functionName":"toASCIILower","ranges":[{"startOffset":587,"endOffset":820,"count":0}],"isBlockCoverage":false},{"functionName":"parseTypeAndSubtype","ranges":[{"startOffset":866,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"removeBackslashes","ranges":[{"startOffset":2641,"endOffset":3056,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuoteOrSolidus","ranges":[{"startOffset":3059,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":3288,"endOffset":3527,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3530,"endOffset":8526,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8986,"endOffset":10365,"count":0}],"isBlockCoverage":false}]},{"scriptId":"243","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/callsites/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"callsites","ranges":[{"startOffset":15,"endOffset":469,"count":0}],"isBlockCoverage":false}]},{"scriptId":"244","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5256,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5189,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2906,"endOffset":3404,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3450,"endOffset":3975,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4032,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4134,"endOffset":4895,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4949,"endOffset":5030,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5084,"endOffset":5137,"count":0}],"isBlockCoverage":false}]},{"scriptId":"245","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/supports-color/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3855,"count":1},{"startOffset":738,"endOffset":762,"count":0},{"startOffset":869,"endOffset":893,"count":0}],"isBlockCoverage":true},{"functionName":"hasFlag","ranges":[{"startOffset":235,"endOffset":585,"count":16},{"startOffset":281,"endOffset":303,"count":0},{"startOffset":359,"endOffset":363,"count":0},{"startOffset":385,"endOffset":390,"count":0},{"startOffset":519,"endOffset":582,"count":0}],"isBlockCoverage":true},{"functionName":"envForceColor","ranges":[{"startOffset":895,"endOffset":1159,"count":2},{"startOffset":949,"endOffset":1157,"count":0}],"isBlockCoverage":true},{"functionName":"translateLevel","ranges":[{"startOffset":1161,"endOffset":1320,"count":2},{"startOffset":1212,"endOffset":1232,"count":0}],"isBlockCoverage":true},{"functionName":"_supportsColor","ranges":[{"startOffset":1322,"endOffset":3494,"count":2},{"startOffset":1479,"endOffset":1520,"count":0},{"startOffset":1570,"endOffset":1588,"count":0},{"startOffset":1614,"endOffset":1630,"count":0},{"startOffset":1740,"endOffset":1758,"count":0},{"startOffset":1788,"endOffset":1806,"count":0},{"startOffset":1918,"endOffset":1940,"count":0},{"startOffset":1942,"endOffset":1958,"count":0},{"startOffset":1992,"endOffset":2019,"count":0},{"startOffset":2021,"endOffset":2037,"count":0},{"startOffset":2096,"endOffset":2114,"count":0},{"startOffset":2151,"endOffset":2508,"count":0},{"startOffset":2528,"endOffset":2776,"count":0},{"startOffset":2810,"endOffset":2891,"count":0},{"startOffset":2945,"endOffset":3493,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2688,"endOffset":2707,"count":0}],"isBlockCoverage":false},{"functionName":"createSupportsColor","ranges":[{"startOffset":3503,"endOffset":3687,"count":2}],"isBlockCoverage":true}]},{"scriptId":"246","url":"node:os","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9769,"count":1}],"isBlockCoverage":false},{"functionName":"getCheckedFunction","ranges":[{"startOffset":2026,"endOffset":2267,"count":4}],"isBlockCoverage":true},{"functionName":"checkError","ranges":[{"startOffset":2085,"endOffset":2263,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease","ranges":[{"startOffset":2649,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType","ranges":[{"startOffset":2711,"endOffset":2721,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion","ranges":[{"startOffset":2773,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine","ranges":[{"startOffset":2836,"endOffset":2849,"count":0}],"isBlockCoverage":false},{"functionName":"getAvailableParallelism.","ranges":[{"startOffset":2897,"endOffset":2928,"count":0}],"isBlockCoverage":false},{"functionName":"getFreeMem.","ranges":[{"startOffset":2962,"endOffset":2980,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname.","ranges":[{"startOffset":3015,"endOffset":3034,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion.","ranges":[{"startOffset":3070,"endOffset":3090,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType.","ranges":[{"startOffset":3123,"endOffset":3140,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease.","ranges":[{"startOffset":3176,"endOffset":3196,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine.","ranges":[{"startOffset":3230,"endOffset":3248,"count":0}],"isBlockCoverage":false},{"functionName":"getHomeDirectory.","ranges":[{"startOffset":3288,"endOffset":3312,"count":0}],"isBlockCoverage":false},{"functionName":"getTotalMem.","ranges":[{"startOffset":3347,"endOffset":3366,"count":0}],"isBlockCoverage":false},{"functionName":"getUptime.","ranges":[{"startOffset":3399,"endOffset":3416,"count":0}],"isBlockCoverage":false},{"functionName":"loadavg","ranges":[{"startOffset":3554,"endOffset":3654,"count":0}],"isBlockCoverage":false},{"functionName":"cpus","ranges":[{"startOffset":3934,"endOffset":4363,"count":1},{"startOffset":4036,"endOffset":4041,"count":0},{"startOffset":4103,"endOffset":4344,"count":12}],"isBlockCoverage":true},{"functionName":"arch","ranges":[{"startOffset":4394,"endOffset":4436,"count":0}],"isBlockCoverage":false},{"functionName":"arch.","ranges":[{"startOffset":4463,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"platform","ranges":[{"startOffset":4513,"endOffset":4563,"count":3}],"isBlockCoverage":true},{"functionName":"platform.","ranges":[{"startOffset":4594,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir","ranges":[{"startOffset":4648,"endOffset":5253,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir.","ranges":[{"startOffset":5282,"endOffset":5296,"count":0}],"isBlockCoverage":false},{"functionName":"endianness","ranges":[{"startOffset":5333,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"endianness.","ranges":[{"startOffset":5413,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"countBinaryOnes","ranges":[{"startOffset":5518,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"getCIDR","ranges":[{"startOffset":5773,"endOffset":6718,"count":0}],"isBlockCoverage":false},{"functionName":"networkInterfaces","ranges":[{"startOffset":6929,"endOffset":7622,"count":0}],"isBlockCoverage":false},{"functionName":"setPriority","ranges":[{"startOffset":7706,"endOffset":7995,"count":0}],"isBlockCoverage":false},{"functionName":"getPriority","ranges":[{"startOffset":8053,"endOffset":8308,"count":0}],"isBlockCoverage":false},{"functionName":"userInfo","ranges":[{"startOffset":8612,"endOffset":8900,"count":0}],"isBlockCoverage":false}]},{"scriptId":"247","url":"node:tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5058,"count":1}],"isBlockCoverage":false},{"functionName":"isatty","ranges":[{"startOffset":1535,"endOffset":1641,"count":2}],"isBlockCoverage":true},{"functionName":"ReadStream","ranges":[{"startOffset":1643,"endOffset":2112,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.setRawMode","ranges":[{"startOffset":2261,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":2481,"endOffset":3453,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._refreshSize","ranges":[{"startOffset":3744,"endOffset":4180,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.cursorTo","ranges":[{"startOffset":4236,"endOffset":4376,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.moveCursor","ranges":[{"startOffset":4413,"endOffset":4559,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearLine","ranges":[{"startOffset":4595,"endOffset":4734,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearScreenDown","ranges":[{"startOffset":4776,"endOffset":4911,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.getWindowSize","ranges":[{"startOffset":4951,"endOffset":5001,"count":0}],"isBlockCoverage":false}]},{"scriptId":"248","url":"node:net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":65921,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1612,"endOffset":1637,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4029,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":4446,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"createHandle","ranges":[{"startOffset":4542,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"getNewAsyncId","ranges":[{"startOffset":4928,"endOffset":5066,"count":0}],"isBlockCoverage":false},{"functionName":"isPipeName","ranges":[{"startOffset":5069,"endOffset":5152,"count":0}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":5353,"endOffset":5457,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":5680,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamily","ranges":[{"startOffset":6083,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamily","ranges":[{"startOffset":6160,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6278,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6383,"endOffset":6570,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgs","ranges":[{"startOffset":7064,"endOffset":7790,"count":0}],"isBlockCoverage":false},{"functionName":"initSocketHandle","ranges":[{"startOffset":7862,"endOffset":8465,"count":0}],"isBlockCoverage":false},{"functionName":"closeSocketHandle","ranges":[{"startOffset":8467,"endOffset":8807,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":9059,"endOffset":13678,"count":0}],"isBlockCoverage":false},{"functionName":"_unrefTimer","ranges":[{"startOffset":13851,"endOffset":13981,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._final","ranges":[{"startOffset":14101,"endOffset":14717,"count":0}],"isBlockCoverage":false},{"functionName":"afterShutdown","ranges":[{"startOffset":14720,"endOffset":14866,"count":0}],"isBlockCoverage":false},{"functionName":"writeAfterFIN","ranges":[{"startOffset":15073,"endOffset":15581,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._onTimeout","ranges":[{"startOffset":15663,"endOffset":16167,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setNoDelay","ranges":[{"startOffset":16201,"endOffset":16578,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setKeepAlive","ranges":[{"startOffset":16614,"endOffset":17220,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":17251,"endOffset":17295,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17381,"endOffset":17425,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17505,"endOffset":17561,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17672,"endOffset":17987,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18076,"endOffset":18156,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18244,"endOffset":18289,"count":0}],"isBlockCoverage":false},{"functionName":"tryReadStart","ranges":[{"startOffset":18297,"endOffset":18543,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._read","ranges":[{"startOffset":18635,"endOffset":18954,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.end","ranges":[{"startOffset":18981,"endOffset":19137,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resetAndDestroy","ranges":[{"startOffset":19175,"endOffset":19525,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.pause","ranges":[{"startOffset":19553,"endOffset":19887,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resume","ranges":[{"startOffset":19917,"endOffset":20101,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.read","ranges":[{"startOffset":20129,"endOffset":20315,"count":0}],"isBlockCoverage":false},{"functionName":"onReadableStreamEnd","ranges":[{"startOffset":20362,"endOffset":20461,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.destroySoon","ranges":[{"startOffset":20495,"endOffset":20642,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._destroy","ranges":[{"startOffset":20674,"endOffset":22184,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._reset","ranges":[{"startOffset":22213,"endOffset":22312,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getpeername","ranges":[{"startOffset":22347,"endOffset":22644,"count":0}],"isBlockCoverage":false},{"functionName":"protoGetter","ranges":[{"startOffset":22647,"endOffset":22829,"count":9}],"isBlockCoverage":true},{"functionName":"bytesRead","ranges":[{"startOffset":22856,"endOffset":22947,"count":0}],"isBlockCoverage":false},{"functionName":"remoteAddress","ranges":[{"startOffset":22980,"endOffset":23046,"count":0}],"isBlockCoverage":false},{"functionName":"remoteFamily","ranges":[{"startOffset":23078,"endOffset":23142,"count":0}],"isBlockCoverage":false},{"functionName":"remotePort","ranges":[{"startOffset":23172,"endOffset":23232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getsockname","ranges":[{"startOffset":23269,"endOffset":23545,"count":0}],"isBlockCoverage":false},{"functionName":"localAddress","ranges":[{"startOffset":23577,"endOffset":23642,"count":0}],"isBlockCoverage":false},{"functionName":"localPort","ranges":[{"startOffset":23672,"endOffset":23731,"count":0}],"isBlockCoverage":false},{"functionName":"localFamily","ranges":[{"startOffset":23762,"endOffset":23825,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":23866,"endOffset":23913,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writeGeneric","ranges":[{"startOffset":23949,"endOffset":24861,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writev","ranges":[{"startOffset":24892,"endOffset":24960,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._write","ranges":[{"startOffset":24990,"endOffset":25071,"count":0}],"isBlockCoverage":false},{"functionName":"_bytesDispatched","ranges":[{"startOffset":25264,"endOffset":25368,"count":0}],"isBlockCoverage":false},{"functionName":"bytesWritten","ranges":[{"startOffset":25400,"endOffset":26329,"count":0}],"isBlockCoverage":false},{"functionName":"checkBindError","ranges":[{"startOffset":26334,"endOffset":27133,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnect","ranges":[{"startOffset":27136,"endOffset":29131,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultiple","ranges":[{"startOffset":29134,"endOffset":31870,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":31899,"endOffset":33495,"count":0}],"isBlockCoverage":false},{"functionName":"reinitializeHandle","ranges":[{"startOffset":33538,"endOffset":33692,"count":0}],"isBlockCoverage":false},{"functionName":"socketToDnsFamily","ranges":[{"startOffset":33695,"endOffset":33841,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnect","ranges":[{"startOffset":33843,"endOffset":37774,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnectMultiple","ranges":[{"startOffset":37776,"endOffset":41750,"count":0}],"isBlockCoverage":false},{"functionName":"connectErrorNT","ranges":[{"startOffset":41752,"endOffset":41811,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":41837,"endOffset":42024,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":42053,"endOffset":42246,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnect","ranges":[{"startOffset":42250,"endOffset":43831,"count":0}],"isBlockCoverage":false},{"functionName":"addClientAbortSignalOption","ranges":[{"startOffset":43833,"endOffset":44256,"count":0}],"isBlockCoverage":false},{"functionName":"createConnectionError","ranges":[{"startOffset":44258,"endOffset":44759,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnectMultiple","ranges":[{"startOffset":44761,"endOffset":45903,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultipleTimeout","ranges":[{"startOffset":45905,"endOffset":46217,"count":0}],"isBlockCoverage":false},{"functionName":"addServerAbortSignalOption","ranges":[{"startOffset":46219,"endOffset":46662,"count":0}],"isBlockCoverage":false},{"functionName":"Server","ranges":[{"startOffset":46664,"endOffset":48251,"count":0}],"isBlockCoverage":false},{"functionName":"toNumber","ranges":[{"startOffset":48362,"endOffset":48427,"count":0}],"isBlockCoverage":false},{"functionName":"createServerHandle","ranges":[{"startOffset":48495,"endOffset":49947,"count":0}],"isBlockCoverage":false},{"functionName":"setupListenHandle","ranges":[{"startOffset":49949,"endOffset":52300,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":52367,"endOffset":52429,"count":0}],"isBlockCoverage":false},{"functionName":"emitListeningNT","ranges":[{"startOffset":52432,"endOffset":52547,"count":0}],"isBlockCoverage":false},{"functionName":"listenInCluster","ranges":[{"startOffset":52550,"endOffset":53810,"count":0}],"isBlockCoverage":false},{"functionName":"Server.listen","ranges":[{"startOffset":53839,"endOffset":57671,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndListen","ranges":[{"startOffset":57674,"endOffset":58086,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":58168,"endOffset":58211,"count":0}],"isBlockCoverage":false},{"functionName":"Server.address","ranges":[{"startOffset":58287,"endOffset":58576,"count":0}],"isBlockCoverage":false},{"functionName":"onconnection","ranges":[{"startOffset":58579,"endOffset":60478,"count":0}],"isBlockCoverage":false},{"functionName":"Server.getConnections","ranges":[{"startOffset":60627,"endOffset":61380,"count":0}],"isBlockCoverage":false},{"functionName":"Server.close","ranges":[{"startOffset":61409,"endOffset":62276,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":62318,"endOffset":62438,"count":0}],"isBlockCoverage":false},{"functionName":"Server._emitCloseIfDrained","ranges":[{"startOffset":62480,"endOffset":62866,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":62870,"endOffset":62953,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":63012,"endOffset":63174,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63396,"endOffset":63432,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63436,"endOffset":63477,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63557,"endOffset":63588,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63592,"endOffset":63628,"count":0}],"isBlockCoverage":false},{"functionName":"Server._setupWorker","ranges":[{"startOffset":63667,"endOffset":63908,"count":0}],"isBlockCoverage":false},{"functionName":"Server.ref","ranges":[{"startOffset":63934,"endOffset":64032,"count":0}],"isBlockCoverage":false},{"functionName":"Server.unref","ranges":[{"startOffset":64060,"endOffset":64159,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":64301,"endOffset":64970,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":65009,"endOffset":65250,"count":0}],"isBlockCoverage":false},{"functionName":"get BlockList","ranges":[{"startOffset":65379,"endOffset":65481,"count":0}],"isBlockCoverage":false},{"functionName":"get SocketAddress","ranges":[{"startOffset":65485,"endOffset":65607,"count":0}],"isBlockCoverage":false}]},{"scriptId":"249","url":"node:internal/stream_base_commons","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7041,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1010,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"handleWriteReq","ranges":[{"startOffset":1154,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"onWriteComplete","ranges":[{"startOffset":2011,"endOffset":2696,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteWrap","ranges":[{"startOffset":2698,"endOffset":2936,"count":0}],"isBlockCoverage":false},{"functionName":"writevGeneric","ranges":[{"startOffset":2938,"endOffset":3577,"count":0}],"isBlockCoverage":false},{"functionName":"writeGeneric","ranges":[{"startOffset":3579,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteDispatched","ranges":[{"startOffset":3786,"endOffset":4089,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamRead","ranges":[{"startOffset":4091,"endOffset":6022,"count":0}],"isBlockCoverage":false},{"functionName":"setStreamTimeout","ranges":[{"startOffset":6024,"endOffset":6834,"count":0}],"isBlockCoverage":false}]},{"scriptId":"250","url":"node:internal/perf/observe","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16742,"count":1}],"isBlockCoverage":false},{"functionName":"queuePending","ranges":[{"startOffset":2620,"endOffset":2881,"count":0}],"isBlockCoverage":false},{"functionName":"getObserverType","ranges":[{"startOffset":2883,"endOffset":3223,"count":0}],"isBlockCoverage":false},{"functionName":"maybeDecrementObserverCounts","ranges":[{"startOffset":3225,"endOffset":3646,"count":0}],"isBlockCoverage":false},{"functionName":"maybeIncrementObserverCount","ranges":[{"startOffset":3648,"endOffset":3990,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceObserverEntryList","ranges":[{"startOffset":4031,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"getEntries","ranges":[{"startOffset":4095,"endOffset":4234,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByType","ranges":[{"startOffset":4238,"endOffset":4542,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByName","ranges":[{"startOffset":4546,"endOffset":5039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5043,"endOffset":5291,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceObserverEntryList","ranges":[{"startOffset":5643,"endOffset":5933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5935,"endOffset":9507,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":9989,"endOffset":10191,"count":0}],"isBlockCoverage":false},{"functionName":"bufferUserTiming","ranges":[{"startOffset":10252,"endOffset":11278,"count":0}],"isBlockCoverage":false},{"functionName":"bufferResourceTiming","ranges":[{"startOffset":11566,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"setResourceTimingBufferSize","ranges":[{"startOffset":12918,"endOffset":13190,"count":0}],"isBlockCoverage":false},{"functionName":"setDispatchBufferFull","ranges":[{"startOffset":13192,"endOffset":13257,"count":0}],"isBlockCoverage":false},{"functionName":"clearEntriesFromBuffer","ranges":[{"startOffset":13259,"endOffset":13859,"count":0}],"isBlockCoverage":false},{"functionName":"filterBufferMapByNameAndType","ranges":[{"startOffset":13861,"endOffset":14749,"count":0}],"isBlockCoverage":false},{"functionName":"observerCallback","ranges":[{"startOffset":14751,"endOffset":15867,"count":0}],"isBlockCoverage":false},{"functionName":"hasObserver","ranges":[{"startOffset":15904,"endOffset":16023,"count":0}],"isBlockCoverage":false},{"functionName":"startPerf","ranges":[{"startOffset":16026,"endOffset":16136,"count":0}],"isBlockCoverage":false},{"functionName":"stopPerf","ranges":[{"startOffset":16138,"endOffset":16453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"251","url":"node:internal/perf/performance_entry","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3333,"count":1}],"isBlockCoverage":false},{"functionName":"isPerformanceEntry","ranges":[{"startOffset":675,"endOffset":748,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceEntry","ranges":[{"startOffset":777,"endOffset":914,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":918,"endOffset":1018,"count":0}],"isBlockCoverage":false},{"functionName":"get entryType","ranges":[{"startOffset":1022,"endOffset":1137,"count":0}],"isBlockCoverage":false},{"functionName":"get startTime","ranges":[{"startOffset":1141,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"get duration","ranges":[{"startOffset":1260,"endOffset":1372,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1376,"endOffset":1620,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":1624,"endOffset":1846,"count":0}],"isBlockCoverage":false},{"functionName":"initPerformanceEntry","ranges":[{"startOffset":2068,"endOffset":2248,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceEntry","ranges":[{"startOffset":2250,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":2559,"endOffset":2669,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":2673,"endOffset":2924,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceNodeEntry","ranges":[{"startOffset":2928,"endOffset":3163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"252","url":"node:internal/tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6485,"count":1}],"isBlockCoverage":false},{"functionName":"warnOnDeactivatedColors","ranges":[{"startOffset":2549,"endOffset":3002,"count":0}],"isBlockCoverage":false},{"functionName":"getColorDepth","ranges":[{"startOffset":3160,"endOffset":6156,"count":0}],"isBlockCoverage":false},{"functionName":"hasColors","ranges":[{"startOffset":6158,"endOffset":6431,"count":0}],"isBlockCoverage":false}]},{"scriptId":"253","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":997,"count":1}],"isBlockCoverage":true},{"functionName":"stringReplaceAll","ranges":[{"startOffset":78,"endOffset":552,"count":0}],"isBlockCoverage":false},{"functionName":"stringEncaseCRLFWithFirstIndex","ranges":[{"startOffset":561,"endOffset":996,"count":0}],"isBlockCoverage":false}]},{"scriptId":"254","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6025,"count":1}],"isBlockCoverage":true},{"functionName":"assertPatternsInput","ranges":[{"startOffset":367,"endOffset":522,"count":0}],"isBlockCoverage":false},{"functionName":"toPatternsArray","ranges":[{"startOffset":549,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"checkCwdOption","ranges":[{"startOffset":685,"endOffset":912,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":940,"endOffset":1200,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArguments","ranges":[{"startOffset":1230,"endOffset":1321,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1236,"endOffset":1321,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgumentsSync","ranges":[{"startOffset":1354,"endOffset":1439,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1360,"endOffset":1439,"count":0}],"isBlockCoverage":false},{"functionName":"getIgnoreFilesPatterns","ranges":[{"startOffset":1473,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":1701,"endOffset":1913,"count":0}],"isBlockCoverage":false},{"functionName":"getFilterSync","ranges":[{"startOffset":1938,"endOffset":2142,"count":0}],"isBlockCoverage":false},{"functionName":"createFilterFunction","ranges":[{"startOffset":2174,"endOffset":2469,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobResults","ranges":[{"startOffset":2501,"endOffset":2585,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobStreams","ranges":[{"startOffset":2616,"endOffset":2717,"count":0}],"isBlockCoverage":false},{"functionName":"convertNegativePatterns","ranges":[{"startOffset":2752,"endOffset":3364,"count":0}],"isBlockCoverage":false},{"functionName":"getDirGlobOptions","ranges":[{"startOffset":3393,"endOffset":3499,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":3524,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasksSync","ranges":[{"startOffset":4171,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4758,"endOffset":5048,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5101,"endOffset":5348,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5403,"endOffset":5652,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5713,"endOffset":5805,"count":0}],"isBlockCoverage":false}]},{"scriptId":"255","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/maps.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"256","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":465,"count":1}],"isBlockCoverage":true},{"functionName":"escapeStringRegexp","ranges":[{"startOffset":15,"endOffset":464,"count":3},{"startOffset":86,"endOffset":134,"count":0}],"isBlockCoverage":true}]},{"scriptId":"257","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/indent-string/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":820,"count":1}],"isBlockCoverage":true},{"functionName":"indentString","ranges":[{"startOffset":15,"endOffset":819,"count":0}],"isBlockCoverage":false}]},{"scriptId":"258","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mem/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3063,"count":1}],"isBlockCoverage":true},{"functionName":"mem","ranges":[{"startOffset":651,"endOffset":1491,"count":2},{"startOffset":753,"endOffset":790,"count":0}],"isBlockCoverage":true},{"functionName":"memoized","ranges":[{"startOffset":812,"endOffset":1357,"count":3},{"startOffset":868,"endOffset":890,"count":1},{"startOffset":891,"endOffset":906,"count":2},{"startOffset":973,"endOffset":1078,"count":1},{"startOffset":1078,"endOffset":1208,"count":2},{"startOffset":1208,"endOffset":1229,"count":0},{"startOffset":1230,"endOffset":1256,"count":2}],"isBlockCoverage":true},{"functionName":"memDecorator","ranges":[{"startOffset":1911,"endOffset":2668,"count":0}],"isBlockCoverage":false},{"functionName":"memClear","ranges":[{"startOffset":2761,"endOffset":3062,"count":0}],"isBlockCoverage":false}]},{"scriptId":"259","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12,"count":1}],"isBlockCoverage":true}]},{"scriptId":"260","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-promise/index.mjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":151,"count":1}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":15,"endOffset":150,"count":5},{"startOffset":56,"endOffset":113,"count":0},{"startOffset":114,"endOffset":147,"count":0}],"isBlockCoverage":true}]},{"scriptId":"261","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/plur/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":963,"count":1}],"isBlockCoverage":true},{"functionName":"plur","ranges":[{"startOffset":66,"endOffset":962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"262","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/like-selector.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1333,"count":1}],"isBlockCoverage":true},{"functionName":"isPrimitive","ranges":[{"startOffset":20,"endOffset":72,"count":0}],"isBlockCoverage":false},{"functionName":"isLikeSelector","ranges":[{"startOffset":82,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"selectComparable","ranges":[{"startOffset":609,"endOffset":1332,"count":0}],"isBlockCoverage":false}]},{"scriptId":"263","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5267,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5200,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2913,"endOffset":3409,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3462,"endOffset":3983,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4040,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4149,"endOffset":4906,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4960,"endOffset":5041,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5095,"endOffset":5148,"count":0}],"isBlockCoverage":false}]},{"scriptId":"264","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/strip-ansi/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":468,"count":1}],"isBlockCoverage":true},{"functionName":"stripAnsi","ranges":[{"startOffset":80,"endOffset":467,"count":69},{"startOffset":142,"endOffset":220,"count":0}],"isBlockCoverage":true}]},{"scriptId":"265","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/ignore.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2797,"count":1}],"isBlockCoverage":true},{"functionName":"applyBaseToPattern","ranges":[{"startOffset":479,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"parseIgnoreFile","ranges":[{"startOffset":634,"endOffset":865,"count":0}],"isBlockCoverage":false},{"functionName":"toRelativePath","ranges":[{"startOffset":891,"endOffset":1176,"count":0}],"isBlockCoverage":false},{"functionName":"getIsIgnoredPredicate","ranges":[{"startOffset":1209,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1582,"endOffset":1782,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFiles","ranges":[{"startOffset":1823,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFilesSync","ranges":[{"startOffset":2256,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnored","ranges":[{"startOffset":2623,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnoredSync","ranges":[{"startOffset":2724,"endOffset":2795,"count":0}],"isBlockCoverage":false}]},{"scriptId":"266","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":462,"count":1}],"isBlockCoverage":true},{"functionName":"toPath","ranges":[{"startOffset":102,"endOffset":178,"count":0}],"isBlockCoverage":false},{"functionName":"FilterStream","ranges":[{"startOffset":228,"endOffset":394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":431,"endOffset":460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"267","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mimic-fn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2903,"count":1}],"isBlockCoverage":true},{"functionName":"copyProperty","ranges":[{"startOffset":21,"endOffset":887,"count":4},{"startOffset":280,"endOffset":307,"count":2},{"startOffset":309,"endOffset":577,"count":2},{"startOffset":579,"endOffset":593,"count":0},{"startOffset":593,"endOffset":790,"count":2},{"startOffset":790,"endOffset":814,"count":0},{"startOffset":816,"endOffset":830,"count":0},{"startOffset":830,"endOffset":886,"count":2}],"isBlockCoverage":true},{"functionName":"canCopyProperty","ranges":[{"startOffset":1091,"endOffset":1457,"count":2},{"startOffset":1197,"endOffset":1454,"count":0}],"isBlockCoverage":true},{"functionName":"changePrototype","ranges":[{"startOffset":1484,"endOffset":1662,"count":2},{"startOffset":1616,"endOffset":1661,"count":0}],"isBlockCoverage":true},{"functionName":"wrappedToString","ranges":[{"startOffset":1689,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"changeToString","ranges":[{"startOffset":2221,"endOffset":2603,"count":2},{"startOffset":2273,"endOffset":2277,"count":0}],"isBlockCoverage":true},{"functionName":"mimicFunction","ranges":[{"startOffset":2621,"endOffset":2902,"count":2},{"startOffset":2762,"endOffset":2825,"count":4}],"isBlockCoverage":true}]},{"scriptId":"268","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/ansi-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":350,"count":1}],"isBlockCoverage":true},{"functionName":"ansiRegex","ranges":[{"startOffset":15,"endOffset":349,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true}]},{"scriptId":"269","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/slash/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":285,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":15,"endOffset":284,"count":0}],"isBlockCoverage":false}]},{"scriptId":"270","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":250,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":62,"endOffset":248,"count":1}],"isBlockCoverage":true}]},{"scriptId":"271","url":"node:internal/vm/module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12200,"count":1}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":1662,"endOffset":4017,"count":0}],"isBlockCoverage":false},{"functionName":"get identifier","ranges":[{"startOffset":4021,"endOffset":4158,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4162,"endOffset":4295,"count":0}],"isBlockCoverage":false},{"functionName":"get namespace","ranges":[{"startOffset":4299,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"get status","ranges":[{"startOffset":4580,"endOffset":4733,"count":0}],"isBlockCoverage":false},{"functionName":"get error","ranges":[{"startOffset":4737,"endOffset":4987,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":4991,"endOffset":5396,"count":0}],"isBlockCoverage":false},{"functionName":"evaluate","ranges":[{"startOffset":5400,"endOffset":6153,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6157,"endOffset":6909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":10171,"count":0}],"isBlockCoverage":false},{"functionName":"SyntheticModule","ranges":[{"startOffset":10214,"endOffset":11307,"count":0}],"isBlockCoverage":false},{"functionName":"setExport","ranges":[{"startOffset":11311,"endOffset":11613,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamicallyWrap","ranges":[{"startOffset":11617,"endOffset":12096,"count":380}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyWrapper","ranges":[{"startOffset":11722,"endOffset":12052,"count":2},{"startOffset":11873,"endOffset":11910,"count":0},{"startOffset":11912,"endOffset":12051,"count":0}],"isBlockCoverage":true}]},{"scriptId":"272","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":82,"endOffset":745,"count":1}],"isBlockCoverage":true},{"functionName":"onUnhandledRejection","ranges":[{"startOffset":129,"endOffset":244,"count":0}],"isBlockCoverage":false},{"functionName":"onRejectionHandled","ranges":[{"startOffset":247,"endOffset":433,"count":0}],"isBlockCoverage":false},{"functionName":"currentlyUnhandled","ranges":[{"startOffset":436,"endOffset":599,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":501,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"273","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/array-find-index/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":462,"count":0}],"isBlockCoverage":false}]},{"scriptId":"274","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/now-and-timers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":501,"count":1}],"isBlockCoverage":true},{"functionName":"setCappedTimeout","ranges":[{"startOffset":313,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"275","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge2/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3241,"count":1}],"isBlockCoverage":true},{"functionName":"merge2","ranges":[{"startOffset":280,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"pauseStreams","ranges":[{"startOffset":2702,"endOffset":3240,"count":0}],"isBlockCoverage":false}]},{"scriptId":"276","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4091,"count":1},{"startOffset":3434,"endOffset":3452,"count":0}],"isBlockCoverage":true},{"functionName":"FastGlob","ranges":[{"startOffset":277,"endOffset":501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":612,"endOffset":3423,"count":1}],"isBlockCoverage":true},{"functionName":"sync","ranges":[{"startOffset":763,"endOffset":946,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":977,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":1503,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1795,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"escapePath","ranges":[{"startOffset":2060,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2217,"endOffset":2355,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2434,"endOffset":2864,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2461,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2644,"endOffset":2799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2936,"endOffset":3370,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2963,"endOffset":3100,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":3148,"endOffset":3305,"count":0}],"isBlockCoverage":false},{"functionName":"getWorks","ranges":[{"startOffset":3455,"endOffset":3751,"count":0}],"isBlockCoverage":false},{"functionName":"assertPatternsInput","ranges":[{"startOffset":3752,"endOffset":4063,"count":0}],"isBlockCoverage":false}]},{"scriptId":"277","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/managers/tasks.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5531,"count":1}],"isBlockCoverage":true},{"functionName":"generate","ranges":[{"startOffset":355,"endOffset":1133,"count":0}],"isBlockCoverage":false},{"functionName":"processPatterns","ranges":[{"startOffset":1163,"endOffset":2553,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToTasks","ranges":[{"startOffset":2825,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":4023,"endOffset":4121,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatternsAsPositive","ranges":[{"startOffset":4173,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"groupPatternsByBaseDirectory","ranges":[{"startOffset":4482,"endOffset":4868,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupsToTasks","ranges":[{"startOffset":4938,"endOffset":5147,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupToTask","ranges":[{"startOffset":5215,"endOffset":5467,"count":0}],"isBlockCoverage":false}]},{"scriptId":"278","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":596,"count":1}],"isBlockCoverage":true}]},{"scriptId":"279","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1}],"isBlockCoverage":true},{"functionName":"flatten","ranges":[{"startOffset":123,"endOffset":230,"count":0}],"isBlockCoverage":false},{"functionName":"splitWhen","ranges":[{"startOffset":258,"endOffset":576,"count":0}],"isBlockCoverage":false}]},{"scriptId":"280","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/errno.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":234,"count":1}],"isBlockCoverage":true},{"functionName":"isEnoentCodeError","ranges":[{"startOffset":113,"endOffset":186,"count":0}],"isBlockCoverage":false}]},{"scriptId":"281","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"282","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/path.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3010,"count":1},{"startOffset":2154,"endOffset":2173,"count":0},{"startOffset":2552,"endOffset":2581,"count":0}],"isBlockCoverage":true},{"functionName":"unixify","ranges":[{"startOffset":1352,"endOffset":1423,"count":0}],"isBlockCoverage":false},{"functionName":"makeAbsolute","ranges":[{"startOffset":1451,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"removeLeadingDotSegment","ranges":[{"startOffset":1569,"endOffset":2057,"count":0}],"isBlockCoverage":false},{"functionName":"escapeWindowsPath","ranges":[{"startOffset":2193,"endOffset":2303,"count":0}],"isBlockCoverage":false},{"functionName":"escapePosixPath","ranges":[{"startOffset":2351,"endOffset":2457,"count":0}],"isBlockCoverage":false},{"functionName":"convertWindowsPathToPattern","ranges":[{"startOffset":2611,"endOffset":2792,"count":0}],"isBlockCoverage":false},{"functionName":"convertPosixPathToPattern","ranges":[{"startOffset":2860,"endOffset":2946,"count":0}],"isBlockCoverage":false}]},{"scriptId":"283","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/pattern.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7965,"count":1}],"isBlockCoverage":true},{"functionName":"isStaticPattern","ranges":[{"startOffset":1465,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1608,"endOffset":2666,"count":0}],"isBlockCoverage":false},{"functionName":"hasBraceExpansion","ranges":[{"startOffset":2712,"endOffset":3145,"count":0}],"isBlockCoverage":false},{"functionName":"convertToPositivePattern","ranges":[{"startOffset":3146,"endOffset":3260,"count":0}],"isBlockCoverage":false},{"functionName":"convertToNegativePattern","ranges":[{"startOffset":3322,"endOffset":3394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":3456,"endOffset":3553,"count":0}],"isBlockCoverage":false},{"functionName":"isPositivePattern","ranges":[{"startOffset":3601,"endOffset":3680,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatterns","ranges":[{"startOffset":3728,"endOffset":3817,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":3869,"endOffset":3958,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsInsideCurrentDirectory","ranges":[{"startOffset":4205,"endOffset":4347,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsOutsideCurrentDirectory","ranges":[{"startOffset":4631,"endOffset":4751,"count":0}],"isBlockCoverage":false},{"functionName":"isPatternRelatedToParentDirectory","ranges":[{"startOffset":4833,"endOffset":4955,"count":0}],"isBlockCoverage":false},{"functionName":"getBaseDirectory","ranges":[{"startOffset":5035,"endOffset":5133,"count":0}],"isBlockCoverage":false},{"functionName":"hasGlobStar","ranges":[{"startOffset":5179,"endOffset":5251,"count":0}],"isBlockCoverage":false},{"functionName":"endsWithSlashGlobStar","ranges":[{"startOffset":5287,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"isAffectDepthOfReadingPattern","ranges":[{"startOffset":5431,"endOffset":5599,"count":0}],"isBlockCoverage":false},{"functionName":"expandPatternsWithBraceExpansion","ranges":[{"startOffset":5671,"endOffset":5857,"count":0}],"isBlockCoverage":false},{"functionName":"expandBraceExpansion","ranges":[{"startOffset":5935,"endOffset":6463,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternParts","ranges":[{"startOffset":6517,"endOffset":7150,"count":0}],"isBlockCoverage":false},{"functionName":"makeRe","ranges":[{"startOffset":7194,"endOffset":7279,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToRe","ranges":[{"startOffset":7305,"endOffset":7420,"count":0}],"isBlockCoverage":false},{"functionName":"matchAny","ranges":[{"startOffset":7472,"endOffset":7578,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateSlashes","ranges":[{"startOffset":7813,"endOffset":7907,"count":0}],"isBlockCoverage":false}]},{"scriptId":"284","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/glob-parent/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1120,"count":1}],"isBlockCoverage":true},{"functionName":"globParent","ranges":[{"startOffset":461,"endOffset":1118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"285","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3628,"count":1}],"isBlockCoverage":true},{"functionName":"strictCheck","ranges":[{"startOffset":247,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"relaxedCheck","ranges":[{"startOffset":2767,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"isGlob","ranges":[{"startOffset":3324,"endOffset":3626,"count":0}],"isBlockCoverage":false}]},{"scriptId":"286","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-extglob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"isExtglob","ranges":[{"startOffset":168,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"287","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/micromatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13741,"count":1}],"isBlockCoverage":true},{"functionName":"isEmptyString","ranges":[{"startOffset":187,"endOffset":220,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch","ranges":[{"startOffset":784,"endOffset":2129,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matcher","ranges":[{"startOffset":2781,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.isMatch","ranges":[{"startOffset":3440,"endOffset":3501,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.not","ranges":[{"startOffset":4203,"endOffset":4640,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.contains","ranges":[{"startOffset":5367,"endOffset":5928,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matchKeys","ranges":[{"startOffset":6706,"endOffset":6980,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.some","ranges":[{"startOffset":7765,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.every","ranges":[{"startOffset":8890,"endOffset":9146,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.all","ranges":[{"startOffset":9947,"endOffset":10155,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.capture","ranges":[{"startOffset":10869,"endOffset":11165,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.makeRe","ranges":[{"startOffset":11617,"endOffset":11655,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.scan","ranges":[{"startOffset":12004,"endOffset":12040,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.parse","ranges":[{"startOffset":12432,"endOffset":12652,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braces","ranges":[{"startOffset":13219,"endOffset":13456,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braceExpand","ranges":[{"startOffset":13510,"endOffset":13679,"count":0}],"isBlockCoverage":false}]},{"scriptId":"288","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4375,"count":1}],"isBlockCoverage":true},{"functionName":"braces","ranges":[{"startOffset":543,"endOffset":1030,"count":0}],"isBlockCoverage":false},{"functionName":"braces.parse","ranges":[{"startOffset":1359,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"braces.stringify","ranges":[{"startOffset":1795,"endOffset":1959,"count":0}],"isBlockCoverage":false},{"functionName":"braces.compile","ranges":[{"startOffset":2407,"endOffset":2550,"count":0}],"isBlockCoverage":false},{"functionName":"braces.expand","ranges":[{"startOffset":3141,"endOffset":3541,"count":0}],"isBlockCoverage":false},{"functionName":"braces.create","ranges":[{"startOffset":4118,"endOffset":4319,"count":0}],"isBlockCoverage":false}]},{"scriptId":"289","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/stringify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":700,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":67,"endOffset":697,"count":0}],"isBlockCoverage":false}]},{"scriptId":"290","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2451,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isInteger","ranges":[{"startOffset":35,"endOffset":232,"count":0}],"isBlockCoverage":false},{"functionName":"exports.find","ranges":[{"startOffset":292,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"exports.exceedsLimit","ranges":[{"startOffset":419,"endOffset":626,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeNode","ranges":[{"startOffset":712,"endOffset":985,"count":0}],"isBlockCoverage":false},{"functionName":"exports.encloseBrace","ranges":[{"startOffset":1097,"endOffset":1266,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isInvalidBrace","ranges":[{"startOffset":1347,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isOpenOrClose","ranges":[{"startOffset":1767,"endOffset":1906,"count":0}],"isBlockCoverage":false},{"functionName":"exports.reduce","ranges":[{"startOffset":1969,"endOffset":2127,"count":0}],"isBlockCoverage":false},{"functionName":"exports.flatten","ranges":[{"startOffset":2177,"endOffset":2449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"291","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/compile.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1415,"count":1}],"isBlockCoverage":true},{"functionName":"compile","ranges":[{"startOffset":102,"endOffset":1386,"count":0}],"isBlockCoverage":false}]},{"scriptId":"292","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fill-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6315,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":265,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"transform","ranges":[{"startOffset":355,"endOffset":439,"count":0}],"isBlockCoverage":false},{"functionName":"isValidValue","ranges":[{"startOffset":463,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":578,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"zeros","ranges":[{"startOffset":624,"endOffset":817,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":838,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":1001,"endOffset":1295,"count":0}],"isBlockCoverage":false},{"functionName":"toMaxLen","ranges":[{"startOffset":1315,"endOffset":1552,"count":0}],"isBlockCoverage":false},{"functionName":"toSequence","ranges":[{"startOffset":1574,"endOffset":2208,"count":0}],"isBlockCoverage":false},{"functionName":"toRange","ranges":[{"startOffset":2227,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"toRegex","ranges":[{"startOffset":2499,"endOffset":2758,"count":0}],"isBlockCoverage":false},{"functionName":"rangeError","ranges":[{"startOffset":2780,"endOffset":2874,"count":0}],"isBlockCoverage":false},{"functionName":"invalidRange","ranges":[{"startOffset":2898,"endOffset":3008,"count":0}],"isBlockCoverage":false},{"functionName":"invalidStep","ranges":[{"startOffset":3031,"endOffset":3176,"count":0}],"isBlockCoverage":false},{"functionName":"fillNumbers","ranges":[{"startOffset":3199,"endOffset":4682,"count":0}],"isBlockCoverage":false},{"functionName":"fillLetters","ranges":[{"startOffset":4705,"endOffset":5486,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":5502,"endOffset":6289,"count":0}],"isBlockCoverage":false}]},{"scriptId":"293","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/to-regex-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6481,"count":1}],"isBlockCoverage":true},{"functionName":"toRegexRange","ranges":[{"startOffset":235,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"collatePatterns","ranges":[{"startOffset":2180,"endOffset":2554,"count":0}],"isBlockCoverage":false},{"functionName":"splitToRanges","ranges":[{"startOffset":2556,"endOffset":3037,"count":0}],"isBlockCoverage":false},{"functionName":"rangeToPattern","ranges":[{"startOffset":3159,"endOffset":3832,"count":0}],"isBlockCoverage":false},{"functionName":"splitToPatterns","ranges":[{"startOffset":3834,"endOffset":4632,"count":0}],"isBlockCoverage":false},{"functionName":"filterPatterns","ranges":[{"startOffset":4634,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"zip","ranges":[{"startOffset":5120,"endOffset":5233,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":5235,"endOffset":5298,"count":0}],"isBlockCoverage":false},{"functionName":"contains","ranges":[{"startOffset":5300,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"countNines","ranges":[{"startOffset":5382,"endOffset":5478,"count":0}],"isBlockCoverage":false},{"functionName":"countZeros","ranges":[{"startOffset":5480,"endOffset":5571,"count":0}],"isBlockCoverage":false},{"functionName":"toQuantifier","ranges":[{"startOffset":5573,"endOffset":5741,"count":0}],"isBlockCoverage":false},{"functionName":"toCharacterClass","ranges":[{"startOffset":5743,"endOffset":5837,"count":0}],"isBlockCoverage":false},{"functionName":"hasPadding","ranges":[{"startOffset":5839,"endOffset":5899,"count":0}],"isBlockCoverage":false},{"functionName":"padZeros","ranges":[{"startOffset":5901,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"toRegexRange.clearCache","ranges":[{"startOffset":6382,"endOffset":6413,"count":0}],"isBlockCoverage":false}]},{"scriptId":"294","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-number/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":411,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":184,"endOffset":409,"count":0}],"isBlockCoverage":false}]},{"scriptId":"295","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/expand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2780,"count":1}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":143,"endOffset":810,"count":0}],"isBlockCoverage":false},{"functionName":"expand","ranges":[{"startOffset":828,"endOffset":2752,"count":0}],"isBlockCoverage":false}]},{"scriptId":"296","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6913,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":576,"endOffset":6886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"297","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"298","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":60,"count":1}],"isBlockCoverage":true}]},{"scriptId":"299","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/picomatch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9956,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":204,"endOffset":264,"count":18},{"startOffset":242,"endOffset":264,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch","ranges":[{"startOffset":1018,"endOffset":2836,"count":19},{"startOffset":1087,"endOffset":1365,"count":1},{"startOffset":1365,"endOffset":1400,"count":18},{"startOffset":1400,"endOffset":1414,"count":0},{"startOffset":1415,"endOffset":1428,"count":0},{"startOffset":1449,"endOffset":1490,"count":18},{"startOffset":1478,"endOffset":1489,"count":0},{"startOffset":1492,"endOffset":1567,"count":0},{"startOffset":1567,"endOffset":1597,"count":18},{"startOffset":1669,"endOffset":1705,"count":0},{"startOffset":1710,"endOffset":1756,"count":18},{"startOffset":1861,"endOffset":2015,"count":0},{"startOffset":2015,"endOffset":2783,"count":18},{"startOffset":2783,"endOffset":2815,"count":0},{"startOffset":2815,"endOffset":2835,"count":18}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1114,"endOffset":1161,"count":18}],"isBlockCoverage":true},{"functionName":"arrayMatcher","ranges":[{"startOffset":1189,"endOffset":1335,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnored","ranges":[{"startOffset":1829,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2035,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.test","ranges":[{"startOffset":3384,"endOffset":4185,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.matchBase","ranges":[{"startOffset":4600,"endOffset":4787,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.isMatch","ranges":[{"startOffset":5423,"endOffset":5484,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.parse","ranges":[{"startOffset":5894,"endOffset":6062,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.scan","ranges":[{"startOffset":6697,"endOffset":6737,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.compileRe","ranges":[{"startOffset":7228,"endOffset":7738,"count":18},{"startOffset":7322,"endOffset":7352,"count":0},{"startOffset":7377,"endOffset":7382,"count":0},{"startOffset":7416,"endOffset":7420,"count":0},{"startOffset":7459,"endOffset":7463,"count":0},{"startOffset":7568,"endOffset":7607,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch.makeRe","ranges":[{"startOffset":8611,"endOffset":9117,"count":18},{"startOffset":8724,"endOffset":8785,"count":0},{"startOffset":8895,"endOffset":8914,"count":8},{"startOffset":8917,"endOffset":8975,"count":12}],"isBlockCoverage":true},{"functionName":"picomatch.toRegex","ranges":[{"startOffset":9579,"endOffset":9807,"count":18},{"startOffset":9635,"endOffset":9640,"count":0},{"startOffset":9699,"endOffset":9704,"count":0},{"startOffset":9717,"endOffset":9805,"count":0}],"isBlockCoverage":true}]},{"scriptId":"300","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/scan.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9189,"count":1}],"isBlockCoverage":true},{"functionName":"isPathSeparator","ranges":[{"startOffset":665,"endOffset":746,"count":0}],"isBlockCoverage":false},{"functionName":"depth","ranges":[{"startOffset":763,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"scan","ranges":[{"startOffset":1512,"endOffset":9163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"301","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1885,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isObject","ranges":[{"startOffset":242,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"exports.hasRegexChars","ranges":[{"startOffset":337,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isRegexChar","ranges":[{"startOffset":397,"endOffset":450,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeRegex","ranges":[{"startOffset":474,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"exports.toPosixSlashes","ranges":[{"startOffset":555,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removeBackslashes","ranges":[{"startOffset":626,"endOffset":738,"count":0}],"isBlockCoverage":false},{"functionName":"exports.supportsLookbehinds","ranges":[{"startOffset":771,"endOffset":960,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isWindows","ranges":[{"startOffset":983,"endOffset":1132,"count":48},{"startOffset":1010,"endOffset":1049,"count":30},{"startOffset":1051,"endOffset":1084,"count":0}],"isBlockCoverage":true},{"functionName":"exports.escapeLast","ranges":[{"startOffset":1156,"endOffset":1401,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removePrefix","ranges":[{"startOffset":1427,"endOffset":1584,"count":30},{"startOffset":1505,"endOffset":1565,"count":0}],"isBlockCoverage":true},{"functionName":"exports.wrapOutput","ranges":[{"startOffset":1608,"endOffset":1883,"count":8},{"startOffset":1682,"endOffset":1686,"count":0},{"startOffset":1728,"endOffset":1732,"count":0},{"startOffset":1821,"endOffset":1864,"count":0}],"isBlockCoverage":true}]},{"scriptId":"302","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4448,"count":1}],"isBlockCoverage":true},{"functionName":"extglobChars","ranges":[{"startOffset":3985,"endOffset":4324,"count":18}],"isBlockCoverage":true},{"functionName":"globChars","ranges":[{"startOffset":4365,"endOffset":4444,"count":30},{"startOffset":4410,"endOffset":4425,"count":0}],"isBlockCoverage":true}]},{"scriptId":"303","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27763,"count":1}],"isBlockCoverage":true},{"functionName":"expandRange","ranges":[{"startOffset":287,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"syntaxError","ranges":[{"startOffset":713,"endOffset":819,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":950,"endOffset":25216,"count":18},{"startOffset":1005,"endOffset":1056,"count":0},{"startOffset":1179,"endOffset":1217,"count":0},{"startOffset":1276,"endOffset":1372,"count":0},{"startOffset":1500,"endOffset":1504,"count":0},{"startOffset":2109,"endOffset":2113,"count":0},{"startOffset":2154,"endOffset":2161,"count":0},{"startOffset":2210,"endOffset":2226,"count":0},{"startOffset":2256,"endOffset":2285,"count":0},{"startOffset":2357,"endOffset":2395,"count":0},{"startOffset":6907,"endOffset":8130,"count":8},{"startOffset":7704,"endOffset":7937,"count":0},{"startOffset":7964,"endOffset":7989,"count":3},{"startOffset":7991,"endOffset":8046,"count":0},{"startOffset":8130,"endOffset":8211,"count":10},{"startOffset":8211,"endOffset":24093,"count":55},{"startOffset":8265,"endOffset":8288,"count":0},{"startOffset":8357,"endOffset":9173,"count":0},{"startOffset":9319,"endOffset":9382,"count":0},{"startOffset":9384,"endOffset":10516,"count":0},{"startOffset":10659,"endOffset":10675,"count":0},{"startOffset":10677,"endOffset":10792,"count":0},{"startOffset":10855,"endOffset":11012,"count":0},{"startOffset":11073,"endOffset":11161,"count":0},{"startOffset":11186,"endOffset":11621,"count":0},{"startOffset":11686,"endOffset":12045,"count":0},{"startOffset":12070,"endOffset":13525,"count":0},{"startOffset":13580,"endOffset":13604,"count":0},{"startOffset":13606,"endOffset":13873,"count":0},{"startOffset":13898,"endOffset":15028,"count":0},{"startOffset":15083,"endOffset":15236,"count":0},{"startOffset":15292,"endOffset":15553,"count":0},{"startOffset":15610,"endOffset":16220,"count":9},{"startOffset":15901,"endOffset":15935,"count":0},{"startOffset":15937,"endOffset":16136,"count":0},{"startOffset":16220,"endOffset":16274,"count":46},{"startOffset":16274,"endOffset":16840,"count":5},{"startOffset":16303,"endOffset":16325,"count":0},{"startOffset":16327,"endOffset":16576,"count":0},{"startOffset":16647,"endOffset":16671,"count":0},{"startOffset":16673,"endOffset":16760,"count":0},{"startOffset":16840,"endOffset":16904,"count":41},{"startOffset":16904,"endOffset":17841,"count":0},{"startOffset":17841,"endOffset":17902,"count":41},{"startOffset":17902,"endOffset":18202,"count":0},{"startOffset":18202,"endOffset":18256,"count":41},{"startOffset":18256,"endOffset":18806,"count":0},{"startOffset":18806,"endOffset":18866,"count":41},{"startOffset":18866,"endOffset":19091,"count":0},{"startOffset":19091,"endOffset":19151,"count":41},{"startOffset":19151,"endOffset":19452,"count":10},{"startOffset":19195,"endOffset":19234,"count":0},{"startOffset":19452,"endOffset":19548,"count":31},{"startOffset":19550,"endOffset":19757,"count":0},{"startOffset":19757,"endOffset":19842,"count":31},{"startOffset":19844,"endOffset":19901,"count":0},{"startOffset":19901,"endOffset":19933,"count":31},{"startOffset":19933,"endOffset":23132,"count":11},{"startOffset":19971,"endOffset":20022,"count":0},{"startOffset":20133,"endOffset":20156,"count":2},{"startOffset":20189,"endOffset":20246,"count":9},{"startOffset":20278,"endOffset":20323,"count":0},{"startOffset":20325,"endOffset":20403,"count":0},{"startOffset":20444,"endOffset":20497,"count":0},{"startOffset":20539,"endOffset":20591,"count":0},{"startOffset":20612,"endOffset":20637,"count":0},{"startOffset":20638,"endOffset":20649,"count":0},{"startOffset":20650,"endOffset":20663,"count":0},{"startOffset":20665,"endOffset":20743,"count":0},{"startOffset":20820,"endOffset":20997,"count":0},{"startOffset":21030,"endOffset":21038,"count":2},{"startOffset":21040,"endOffset":21257,"count":0},{"startOffset":21292,"endOffset":21320,"count":9},{"startOffset":21321,"endOffset":21334,"count":9},{"startOffset":21335,"endOffset":21343,"count":9},{"startOffset":21345,"endOffset":21745,"count":0},{"startOffset":21780,"endOffset":21808,"count":9},{"startOffset":21809,"endOffset":21827,"count":9},{"startOffset":21829,"endOffset":22362,"count":9},{"startOffset":21877,"endOffset":21881,"count":0},{"startOffset":22362,"endOffset":22413,"count":2},{"startOffset":22415,"endOffset":22745,"count":2},{"startOffset":22745,"endOffset":23132,"count":0},{"startOffset":23132,"endOffset":23220,"count":20},{"startOffset":23220,"endOffset":23401,"count":0},{"startOffset":23401,"endOffset":23469,"count":20},{"startOffset":23470,"endOffset":23492,"count":0},{"startOffset":23494,"endOffset":23564,"count":0},{"startOffset":23564,"endOffset":23602,"count":20},{"startOffset":23602,"endOffset":23626,"count":18},{"startOffset":23627,"endOffset":23649,"count":0},{"startOffset":23651,"endOffset":24071,"count":20},{"startOffset":23684,"endOffset":23769,"count":0},{"startOffset":23798,"endOffset":23885,"count":0},{"startOffset":23989,"endOffset":24065,"count":9},{"startOffset":24071,"endOffset":24093,"count":20},{"startOffset":24093,"endOffset":24124,"count":10},{"startOffset":24124,"endOffset":24302,"count":0},{"startOffset":24302,"endOffset":24331,"count":10},{"startOffset":24331,"endOffset":24507,"count":0},{"startOffset":24507,"endOffset":24536,"count":10},{"startOffset":24536,"endOffset":24712,"count":0},{"startOffset":24712,"endOffset":24800,"count":10},{"startOffset":24773,"endOffset":24799,"count":1},{"startOffset":24802,"endOffset":24882,"count":9},{"startOffset":24882,"endOffset":24976,"count":10},{"startOffset":24976,"endOffset":25197,"count":0},{"startOffset":25197,"endOffset":25215,"count":10}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":1977,"endOffset":2081,"count":11},{"startOffset":2042,"endOffset":2054,"count":0}],"isBlockCoverage":true},{"functionName":"eos","ranges":[{"startOffset":2889,"endOffset":2918,"count":76}],"isBlockCoverage":true},{"functionName":"state.peek","ranges":[{"startOffset":2948,"endOffset":2981,"count":20}],"isBlockCoverage":true},{"functionName":"state.advance","ranges":[{"startOffset":3017,"endOffset":3049,"count":66},{"startOffset":3044,"endOffset":3049,"count":0}],"isBlockCoverage":true},{"functionName":"remaining","ranges":[{"startOffset":3071,"endOffset":3105,"count":41}],"isBlockCoverage":true},{"functionName":"consume","ranges":[{"startOffset":3125,"endOffset":3208,"count":75}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":3228,"endOffset":3339,"count":64},{"startOffset":3280,"endOffset":3294,"count":54},{"startOffset":3295,"endOffset":3308,"count":10}],"isBlockCoverage":true},{"functionName":"negate","ranges":[{"startOffset":3359,"endOffset":3635,"count":0}],"isBlockCoverage":false},{"functionName":"increment","ranges":[{"startOffset":3658,"endOffset":3712,"count":0}],"isBlockCoverage":false},{"functionName":"decrement","ranges":[{"startOffset":3735,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":4109,"endOffset":5036,"count":64},{"startOffset":4152,"endOffset":4644,"count":11},{"startOffset":4193,"endOffset":4242,"count":0},{"startOffset":4309,"endOffset":4357,"count":0},{"startOffset":4392,"endOffset":4415,"count":0},{"startOffset":4416,"endOffset":4427,"count":0},{"startOffset":4428,"endOffset":4441,"count":0},{"startOffset":4443,"endOffset":4638,"count":0},{"startOffset":4670,"endOffset":4693,"count":0},{"startOffset":4695,"endOffset":4758,"count":0},{"startOffset":4778,"endOffset":4791,"count":9},{"startOffset":4843,"endOffset":4865,"count":9},{"startOffset":4867,"endOffset":4972,"count":0}],"isBlockCoverage":true},{"functionName":"extglobOpen","ranges":[{"startOffset":5061,"endOffset":5492,"count":0}],"isBlockCoverage":false},{"functionName":"extglobClose","ranges":[{"startOffset":5518,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6999,"endOffset":7670,"count":6},{"startOffset":7066,"endOffset":7121,"count":0},{"startOffset":7148,"endOffset":7409,"count":0},{"startOffset":7436,"endOffset":7494,"count":5},{"startOffset":7494,"endOffset":7521,"count":1},{"startOffset":7521,"endOffset":7631,"count":0},{"startOffset":7631,"endOffset":7649,"count":1},{"startOffset":7649,"endOffset":7652,"count":0},{"startOffset":7653,"endOffset":7663,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7841,"endOffset":7921,"count":0}],"isBlockCoverage":false},{"functionName":"parse.fastpaths","ranges":[{"startOffset":25439,"endOffset":27736,"count":12},{"startOffset":25541,"endOffset":25579,"count":0},{"startOffset":25639,"endOffset":25735,"count":0},{"startOffset":26089,"endOffset":26098,"count":0},{"startOffset":26137,"endOffset":26152,"count":0},{"startOffset":26194,"endOffset":26198,"count":0},{"startOffset":26287,"endOffset":26294,"count":0},{"startOffset":26324,"endOffset":26353,"count":0},{"startOffset":27644,"endOffset":27674,"count":0},{"startOffset":27676,"endOffset":27716,"count":0}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":26374,"endOffset":26525,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":26545,"endOffset":27545,"count":16},{"startOffset":26579,"endOffset":26633,"count":0},{"startOffset":26641,"endOffset":26702,"count":0},{"startOffset":26710,"endOffset":26787,"count":0},{"startOffset":26795,"endOffset":26885,"count":0},{"startOffset":26893,"endOffset":26942,"count":0},{"startOffset":26950,"endOffset":27056,"count":0},{"startOffset":27064,"endOffset":27193,"count":0},{"startOffset":27201,"endOffset":27311,"count":0},{"startOffset":27400,"endOffset":27407,"count":12},{"startOffset":27407,"endOffset":27478,"count":4},{"startOffset":27478,"endOffset":27535,"count":0}],"isBlockCoverage":true}]},{"scriptId":"304","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":629,"count":1}],"isBlockCoverage":true},{"functionName":"merge","ranges":[{"startOffset":135,"endOffset":499,"count":0}],"isBlockCoverage":false},{"functionName":"propagateCloseEventToSources","ranges":[{"startOffset":523,"endOffset":628,"count":0}],"isBlockCoverage":false}]},{"scriptId":"305","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":298,"count":1}],"isBlockCoverage":true},{"functionName":"isString","ranges":[{"startOffset":122,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"isEmpty","ranges":[{"startOffset":218,"endOffset":270,"count":0}],"isBlockCoverage":false}]},{"scriptId":"306","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":814,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderAsync","ranges":[{"startOffset":217,"endOffset":327,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":332,"endOffset":587,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":592,"endOffset":778,"count":0}],"isBlockCoverage":false}]},{"scriptId":"307","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1213,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderAsync","ranges":[{"startOffset":246,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":407,"endOffset":750,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":755,"endOffset":1179,"count":0}],"isBlockCoverage":false}]},{"scriptId":"308","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"walk","ranges":[{"startOffset":378,"endOffset":710,"count":0}],"isBlockCoverage":false},{"functionName":"walkSync","ranges":[{"startOffset":732,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"walkStream","ranges":[{"startOffset":956,"endOffset":1154,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":1188,"endOffset":1389,"count":0}],"isBlockCoverage":false}]},{"scriptId":"309","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":895,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncProvider","ranges":[{"startOffset":148,"endOffset":349,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":354,"endOffset":707,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":743,"endOffset":813,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":814,"endOffset":894,"count":0}],"isBlockCoverage":false}]},{"scriptId":"310","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3157,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncReader","ranges":[{"startOffset":318,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":821,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"get isDestroyed","ranges":[{"startOffset":1050,"endOffset":1109,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":1114,"endOffset":1308,"count":0}],"isBlockCoverage":false},{"functionName":"onEntry","ranges":[{"startOffset":1313,"endOffset":1383,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":1388,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"onEnd","ranges":[{"startOffset":1465,"endOffset":1533,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":1538,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_worker","ranges":[{"startOffset":1778,"endOffset":2168,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":2173,"endOffset":2423,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":2428,"endOffset":3049,"count":0}],"isBlockCoverage":false},{"functionName":"_emitEntry","ranges":[{"startOffset":3054,"endOffset":3123,"count":0}],"isBlockCoverage":false}]},{"scriptId":"311","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1009,"count":1}],"isBlockCoverage":true},{"functionName":"scandir","ranges":[{"startOffset":311,"endOffset":603,"count":0}],"isBlockCoverage":false},{"functionName":"scandirSync","ranges":[{"startOffset":631,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":807,"endOffset":1008,"count":0}],"isBlockCoverage":false}]},{"scriptId":"312","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3686,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":346,"endOffset":598,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":620,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"makeRplTaskEntry","ranges":[{"startOffset":1625,"endOffset":2247,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":2248,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":3536,"endOffset":3606,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":3607,"endOffset":3685,"count":0}],"isBlockCoverage":false}]},{"scriptId":"313","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"stat","ranges":[{"startOffset":305,"endOffset":594,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":616,"endOffset":753,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":783,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"314","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":1000,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":1022,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":1093,"endOffset":1171,"count":0}],"isBlockCoverage":false}]},{"scriptId":"315","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":619,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"316","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":696,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":135,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":563,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"317","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":305,"endOffset":522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"318","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/run-parallel/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1034,"count":1}],"isBlockCoverage":true},{"functionName":"runParallel","ranges":[{"startOffset":167,"endOffset":1033,"count":0}],"isBlockCoverage":false}]},{"scriptId":"319","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/queue-microtask/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":402,"count":1},{"startOffset":210,"endOffset":218,"count":0},{"startOffset":283,"endOffset":401,"count":0}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":285,"endOffset":401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"320","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":990,"count":1},{"startOffset":295,"endOffset":424,"count":0},{"startOffset":794,"endOffset":837,"count":0},{"startOffset":956,"endOffset":988,"count":0}],"isBlockCoverage":true}]},{"scriptId":"321","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":143,"count":1}],"isBlockCoverage":true}]},{"scriptId":"322","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"323","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":419,"count":1}],"isBlockCoverage":true},{"functionName":"joinPathSegments","ranges":[{"startOffset":112,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"324","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1990,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":309,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":551,"endOffset":1357,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":1411,"endOffset":1962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"325","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1076,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":209,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":943,"endOffset":1045,"count":0}],"isBlockCoverage":false}]},{"scriptId":"326","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":640,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":363,"endOffset":580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"327","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fastq/queue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5617,"count":1}],"isBlockCoverage":true},{"functionName":"fastqueue","ranges":[{"startOffset":77,"endOffset":3391,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":3393,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"Task","ranges":[{"startOffset":3414,"endOffset":3917,"count":0}],"isBlockCoverage":false},{"functionName":"queueAsPromised","ranges":[{"startOffset":3919,"endOffset":5547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"328","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/reusify/reusify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"reusify","ranges":[{"startOffset":14,"endOffset":427,"count":0}],"isBlockCoverage":false}]},{"scriptId":"329","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1052,"count":1}],"isBlockCoverage":true},{"functionName":"isFatalError","ranges":[{"startOffset":199,"endOffset":350,"count":0}],"isBlockCoverage":false},{"functionName":"isAppliedFilter","ranges":[{"startOffset":388,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"replacePathSegmentSeparator","ranges":[{"startOffset":520,"endOffset":633,"count":0}],"isBlockCoverage":false},{"functionName":"joinPathSegments","ranges":[{"startOffset":701,"endOffset":1006,"count":0}],"isBlockCoverage":false}]},{"scriptId":"330","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":358,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":132,"endOffset":329,"count":0}],"isBlockCoverage":false}]},{"scriptId":"331","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1021,"count":1}],"isBlockCoverage":true},{"functionName":"StreamProvider","ranges":[{"startOffset":185,"endOffset":630,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":635,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"332","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":407,"count":1}],"isBlockCoverage":true},{"functionName":"SyncProvider","ranges":[{"startOffset":145,"endOffset":317,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":322,"endOffset":372,"count":0}],"isBlockCoverage":false}]},{"scriptId":"333","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1911,"count":1}],"isBlockCoverage":true},{"functionName":"SyncReader","ranges":[{"startOffset":249,"endOffset":407,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":412,"endOffset":549,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":554,"endOffset":637,"count":0}],"isBlockCoverage":false},{"functionName":"_handleQueue","ranges":[{"startOffset":642,"endOffset":787,"count":0}],"isBlockCoverage":false},{"functionName":"_handleDirectory","ranges":[{"startOffset":792,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":1127,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":1269,"endOffset":1809,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToStorage","ranges":[{"startOffset":1814,"endOffset":1878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"334","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1250,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":178,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":1117,"endOffset":1219,"count":0}],"isBlockCoverage":false}]},{"scriptId":"335","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1063,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":205,"endOffset":518,"count":0}],"isBlockCoverage":false},{"functionName":"_getFullEntryPath","ranges":[{"startOffset":523,"endOffset":617,"count":0}],"isBlockCoverage":false},{"functionName":"_makeEntry","ranges":[{"startOffset":622,"endOffset":913,"count":0}],"isBlockCoverage":false},{"functionName":"_isFatalError","ranges":[{"startOffset":918,"endOffset":1034,"count":0}],"isBlockCoverage":false}]},{"scriptId":"336","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1870,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderStream","ranges":[{"startOffset":289,"endOffset":419,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":424,"endOffset":502,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":513,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":1275,"endOffset":1579,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1584,"endOffset":1835,"count":0}],"isBlockCoverage":false}]},{"scriptId":"337","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/provider.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2000,"count":1}],"isBlockCoverage":true},{"functionName":"Provider","ranges":[{"startOffset":307,"endOffset":692,"count":0}],"isBlockCoverage":false},{"functionName":"_getRootDirectory","ranges":[{"startOffset":697,"endOffset":788,"count":0}],"isBlockCoverage":false},{"functionName":"_getReaderOptions","ranges":[{"startOffset":793,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"_getMicromatchOptions","ranges":[{"startOffset":1559,"endOffset":1969,"count":0}],"isBlockCoverage":false}]},{"scriptId":"338","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/deep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2466,"count":1}],"isBlockCoverage":true},{"functionName":"DeepFilter","ranges":[{"startOffset":188,"endOffset":328,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":333,"endOffset":576,"count":0}],"isBlockCoverage":false},{"functionName":"_getMatcher","ranges":[{"startOffset":581,"endOffset":699,"count":0}],"isBlockCoverage":false},{"functionName":"_getNegativePatternsRe","ranges":[{"startOffset":704,"endOffset":956,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":961,"endOffset":1444,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByDeep","ranges":[{"startOffset":1449,"endOffset":1754,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntryLevel","ranges":[{"startOffset":1759,"endOffset":2043,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedSymbolicLink","ranges":[{"startOffset":2048,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByPositivePatterns","ranges":[{"startOffset":2175,"endOffset":2306,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByNegativePatterns","ranges":[{"startOffset":2311,"endOffset":2433,"count":0}],"isBlockCoverage":false}]},{"scriptId":"339","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/partial.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1421,"count":1}],"isBlockCoverage":true},{"functionName":"match","ranges":[{"startOffset":170,"endOffset":1384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"340","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1568,"count":1}],"isBlockCoverage":true},{"functionName":"Matcher","ranges":[{"startOffset":135,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"_fillStorage","ranges":[{"startOffset":384,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"_getPatternSegments","ranges":[{"startOffset":778,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"_splitSegmentsIntoSections","ranges":[{"startOffset":1370,"endOffset":1538,"count":0}],"isBlockCoverage":false}]},{"scriptId":"341","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2686,"count":1}],"isBlockCoverage":true},{"functionName":"EntryFilter","ranges":[{"startOffset":139,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":316,"endOffset":667,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":672,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"_isDuplicateEntry","ranges":[{"startOffset":1473,"endOffset":1549,"count":0}],"isBlockCoverage":false},{"functionName":"_createIndexRecord","ranges":[{"startOffset":1554,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyFileFilter","ranges":[{"startOffset":1640,"endOffset":1737,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyDirectoryFilter","ranges":[{"startOffset":1742,"endOffset":1855,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByAbsoluteNegativePatterns","ranges":[{"startOffset":1860,"endOffset":2145,"count":0}],"isBlockCoverage":false},{"functionName":"_isMatchToPatterns","ranges":[{"startOffset":2150,"endOffset":2652,"count":0}],"isBlockCoverage":false}]},{"scriptId":"342","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"ErrorFilter","ranges":[{"startOffset":139,"endOffset":205,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":210,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"_isNonFatalError","ranges":[{"startOffset":290,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"343","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/transformers/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":845,"count":1}],"isBlockCoverage":true},{"functionName":"EntryTransformer","ranges":[{"startOffset":144,"endOffset":210,"count":0}],"isBlockCoverage":false},{"functionName":"getTransformer","ranges":[{"startOffset":215,"endOffset":289,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":294,"endOffset":806,"count":0}],"isBlockCoverage":false}]},{"scriptId":"344","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1198,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderStream","ranges":[{"startOffset":256,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":372,"endOffset":970,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":975,"endOffset":1161,"count":0}],"isBlockCoverage":false}]},{"scriptId":"345","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":779,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderSync","ranges":[{"startOffset":214,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":328,"endOffset":553,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":558,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"346","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1330,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderSync","ranges":[{"startOffset":251,"endOffset":385,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":390,"endOffset":466,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":477,"endOffset":878,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":883,"endOffset":1203,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1208,"endOffset":1297,"count":0}],"isBlockCoverage":false}]},{"scriptId":"347","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2849,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":645,"endOffset":2584,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":2589,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"_getFileSystemMethods","ranges":[{"startOffset":2680,"endOffset":2818,"count":0}],"isBlockCoverage":false}]},{"scriptId":"348","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/dir-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2304,"count":1}],"isBlockCoverage":true},{"functionName":"getExtensions","ranges":[{"startOffset":106,"endOffset":187,"count":0}],"isBlockCoverage":false},{"functionName":"getPath","ranges":[{"startOffset":206,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"addExtensions","ranges":[{"startOffset":376,"endOffset":506,"count":0}],"isBlockCoverage":false},{"functionName":"getGlob","ranges":[{"startOffset":525,"endOffset":1324,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1344,"endOffset":1852,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.sync","ranges":[{"startOffset":1877,"endOffset":2302,"count":0}],"isBlockCoverage":false}]},{"scriptId":"349","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-type/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":true},{"functionName":"isType","ranges":[{"startOffset":78,"endOffset":444,"count":0}],"isBlockCoverage":false},{"functionName":"isTypeSync","ranges":[{"startOffset":446,"endOffset":770,"count":0}],"isBlockCoverage":false}]},{"scriptId":"350","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16073,"count":1},{"startOffset":15630,"endOffset":16072,"count":0}],"isBlockCoverage":true},{"functionName":"makeArray","ranges":[{"startOffset":41,"endOffset":135,"count":0}],"isBlockCoverage":false},{"functionName":"define","ranges":[{"startOffset":813,"endOffset":882,"count":0}],"isBlockCoverage":false},{"functionName":"RETURN_FALSE","ranges":[{"startOffset":952,"endOffset":963,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeRange","ranges":[{"startOffset":1090,"endOffset":1362,"count":0}],"isBlockCoverage":false},{"functionName":"cleanRangeBackSlash","ranges":[{"startOffset":1412,"endOffset":1500,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2321,"endOffset":2383,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2438,"endOffset":2449,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3104,"endOffset":3125,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3213,"endOffset":3225,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3477,"endOffset":3486,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3577,"endOffset":3588,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4009,"endOffset":4028,"count":0}],"isBlockCoverage":false},{"functionName":"startingReplacer","ranges":[{"startOffset":4250,"endOffset":5144,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5442,"endOffset":5912,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":6273,"endOffset":6593,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6787,"endOffset":6799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6849,"endOffset":6861,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7539,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":8102,"endOffset":8250,"count":0}],"isBlockCoverage":false},{"functionName":"REPLACERS","ranges":[{"startOffset":8311,"endOffset":8645,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegex","ranges":[{"startOffset":8808,"endOffset":9130,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":9149,"endOffset":9187,"count":0}],"isBlockCoverage":false},{"functionName":"checkPattern","ranges":[{"startOffset":9294,"endOffset":9514,"count":0}],"isBlockCoverage":false},{"functionName":"splitPattern","ranges":[{"startOffset":9537,"endOffset":9582,"count":0}],"isBlockCoverage":false},{"functionName":"IgnoreRule","ranges":[{"startOffset":9605,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"createRule","ranges":[{"startOffset":9804,"endOffset":10534,"count":0}],"isBlockCoverage":false},{"functionName":"throwError","ranges":[{"startOffset":10555,"endOffset":10603,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath","ranges":[{"startOffset":10623,"endOffset":11159,"count":0}],"isBlockCoverage":false},{"functionName":"isNotRelative","ranges":[{"startOffset":11183,"endOffset":11225,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.convert","ranges":[{"startOffset":11287,"endOffset":11293,"count":0}],"isBlockCoverage":false},{"functionName":"Ignore","ranges":[{"startOffset":11312,"endOffset":11588,"count":0}],"isBlockCoverage":false},{"functionName":"_initCache","ranges":[{"startOffset":11592,"endOffset":11697,"count":0}],"isBlockCoverage":false},{"functionName":"_addPattern","ranges":[{"startOffset":11701,"endOffset":12031,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":12089,"endOffset":12416,"count":0}],"isBlockCoverage":false},{"functionName":"addPattern","ranges":[{"startOffset":12432,"endOffset":12487,"count":0}],"isBlockCoverage":false},{"functionName":"_testOne","ranges":[{"startOffset":13081,"endOffset":13588,"count":0}],"isBlockCoverage":false},{"functionName":"_test","ranges":[{"startOffset":13619,"endOffset":13965,"count":0}],"isBlockCoverage":false},{"functionName":"_t","ranges":[{"startOffset":13969,"endOffset":14755,"count":0}],"isBlockCoverage":false},{"functionName":"ignores","ranges":[{"startOffset":14759,"endOffset":14841,"count":0}],"isBlockCoverage":false},{"functionName":"createFilter","ranges":[{"startOffset":14845,"endOffset":14905,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":14909,"endOffset":14985,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":15016,"endOffset":15084,"count":0}],"isBlockCoverage":false},{"functionName":"factory","ranges":[{"startOffset":15104,"endOffset":15134,"count":0}],"isBlockCoverage":false},{"functionName":"isPathValid","ranges":[{"startOffset":15156,"endOffset":15228,"count":0}],"isBlockCoverage":false},{"functionName":"makePosix","ranges":[{"startOffset":15691,"endOffset":15798,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.isNotRelative","ranges":[{"startOffset":15990,"endOffset":16070,"count":0}],"isBlockCoverage":false}]},{"scriptId":"351","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/glob-helpers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4053,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":547,"endOffset":575,"count":9}],"isBlockCoverage":true},{"functionName":"processMatchingPatterns","ranges":[{"startOffset":724,"endOffset":1373,"count":0}],"isBlockCoverage":false},{"functionName":"matchesIgnorePatterns","ranges":[{"startOffset":1466,"endOffset":1608,"count":0}],"isBlockCoverage":false},{"functionName":"classify","ranges":[{"startOffset":1611,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"hasExtension","ranges":[{"startOffset":2008,"endOffset":2078,"count":0}],"isBlockCoverage":false},{"functionName":"isHelperish","ranges":[{"startOffset":2119,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"matches","ranges":[{"startOffset":2778,"endOffset":2887,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFileForMatching","ranges":[{"startOffset":2917,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePattern","ranges":[{"startOffset":3459,"endOffset":3856,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePatterns","ranges":[{"startOffset":3904,"endOffset":4004,"count":0}],"isBlockCoverage":false}]},{"scriptId":"352","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore-by-default/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":816,"count":1}],"isBlockCoverage":true},{"functionName":"exports.directories","ranges":[{"startOffset":36,"endOffset":815,"count":1}],"isBlockCoverage":true}]},{"scriptId":"353","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/slash.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":1199,"endOffset":1364,"count":0}],"isBlockCoverage":false}]},{"scriptId":"354","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/pkg.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":59,"count":1}],"isBlockCoverage":true}]},{"scriptId":"355","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/clean-yaml-object/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2176,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":129,"count":0}],"isBlockCoverage":false},{"functionName":"cleanYamlObj","ranges":[{"startOffset":132,"endOffset":1901,"count":0}],"isBlockCoverage":false},{"functionName":"setProp","ranges":[{"startOffset":1903,"endOffset":2131,"count":0}],"isBlockCoverage":false},{"functionName":"defaultFilter","ranges":[{"startOffset":2133,"endOffset":2175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"356","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":578,"count":1}],"isBlockCoverage":true}]},{"scriptId":"357","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3379,"count":1}],"isBlockCoverage":true},{"functionName":"shortcircuitPrimitive","ranges":[{"startOffset":408,"endOffset":728,"count":6},{"startOffset":531,"endOffset":542,"count":0},{"startOffset":618,"endOffset":629,"count":0},{"startOffset":690,"endOffset":710,"count":0}],"isBlockCoverage":true},{"functionName":"compareDescriptors","ranges":[{"startOffset":730,"endOffset":2814,"count":3},{"startOffset":916,"endOffset":2775,"count":16},{"startOffset":963,"endOffset":1070,"count":0},{"startOffset":1102,"endOffset":1132,"count":0},{"startOffset":1207,"endOffset":1219,"count":0},{"startOffset":1251,"endOffset":2308,"count":3},{"startOffset":1301,"endOffset":1313,"count":0},{"startOffset":1346,"endOffset":1372,"count":0},{"startOffset":1374,"endOffset":2089,"count":0},{"startOffset":2445,"endOffset":2460,"count":13},{"startOffset":2462,"endOffset":2485,"count":13},{"startOffset":2485,"endOffset":2525,"count":3},{"startOffset":2527,"endOffset":2729,"count":3},{"startOffset":2729,"endOffset":2765,"count":0}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":2864,"endOffset":3352,"count":3},{"startOffset":2946,"endOffset":2967,"count":0},{"startOffset":3161,"endOffset":3183,"count":0}],"isBlockCoverage":true}]},{"scriptId":"358","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Circular.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":785,"count":1}],"isBlockCoverage":true},{"functionName":"Circular","ranges":[{"startOffset":33,"endOffset":80,"count":6}],"isBlockCoverage":true},{"functionName":"add","ranges":[{"startOffset":84,"endOffset":361,"count":6},{"startOffset":139,"endOffset":174,"count":0}],"isBlockCoverage":true},{"functionName":"delete","ranges":[{"startOffset":365,"endOffset":583,"count":6},{"startOffset":483,"endOffset":521,"count":0}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":587,"endOffset":647,"count":32}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":651,"endOffset":756,"count":0}],"isBlockCoverage":false}]},{"scriptId":"359","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":249,"count":1}],"isBlockCoverage":true}]},{"scriptId":"360","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/describe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5965,"count":1}],"isBlockCoverage":true},{"functionName":"describePrimitive","ranges":[{"startOffset":2448,"endOffset":2957,"count":26},{"startOffset":2507,"endOffset":2534,"count":0},{"startOffset":2562,"endOffset":2594,"count":0},{"startOffset":2636,"endOffset":2671,"count":0},{"startOffset":2726,"endOffset":2760,"count":0},{"startOffset":2786,"endOffset":2820,"count":0},{"startOffset":2846,"endOffset":2880,"count":20},{"startOffset":2880,"endOffset":2906,"count":6},{"startOffset":2906,"endOffset":2940,"count":0},{"startOffset":2940,"endOffset":2956,"count":6}],"isBlockCoverage":true},{"functionName":"unboxComplex","ranges":[{"startOffset":2959,"endOffset":3324,"count":6},{"startOffset":3272,"endOffset":3303,"count":0}],"isBlockCoverage":true},{"functionName":"registerPlugins","ranges":[{"startOffset":3326,"endOffset":3726,"count":6},{"startOffset":3393,"endOffset":3416,"count":0},{"startOffset":3435,"endOffset":3725,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3425,"endOffset":3435,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3508,"endOffset":3724,"count":0}],"isBlockCoverage":false},{"functionName":"describeComplex","ranges":[{"startOffset":3728,"endOffset":4699,"count":6},{"startOffset":3875,"endOffset":3901,"count":0},{"startOffset":4173,"endOffset":4238,"count":0},{"startOffset":4321,"endOffset":4374,"count":0}],"isBlockCoverage":true},{"functionName":"describeItem","ranges":[{"startOffset":4722,"endOffset":4923,"count":20},{"startOffset":4865,"endOffset":4921,"count":0}],"isBlockCoverage":true},{"functionName":"describeMapEntry","ranges":[{"startOffset":4950,"endOffset":5058,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":5060,"endOffset":5938,"count":6},{"startOffset":5168,"endOffset":5184,"count":0}],"isBlockCoverage":true},{"functionName":"curriedComplex","ranges":[{"startOffset":5310,"endOffset":5435,"count":6}],"isBlockCoverage":true},{"functionName":"describeAny","ranges":[{"startOffset":5459,"endOffset":5595,"count":20},{"startOffset":5570,"endOffset":5591,"count":0}],"isBlockCoverage":true},{"functionName":"describeProperty","ranges":[{"startOffset":5624,"endOffset":5904,"count":0}],"isBlockCoverage":false}]},{"scriptId":"361","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Registry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"Registry","ranges":[{"startOffset":33,"endOffset":103,"count":6}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":107,"endOffset":155,"count":6}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":159,"endOffset":218,"count":0}],"isBlockCoverage":false},{"functionName":"alloc","ranges":[{"startOffset":222,"endOffset":374,"count":6}],"isBlockCoverage":true}]},{"scriptId":"362","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":409,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":652,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1160,"endOffset":1382,"count":0}],"isBlockCoverage":false}]},{"scriptId":"363","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7185,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":436,"endOffset":713,"count":6},{"startOffset":677,"endOffset":697,"count":0}],"isBlockCoverage":true},{"functionName":"deserialize","ranges":[{"startOffset":743,"endOffset":839,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectValue","ranges":[{"startOffset":950,"endOffset":1203,"count":6}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":1207,"endOffset":1399,"count":3},{"startOffset":1263,"endOffset":1277,"count":0},{"startOffset":1356,"endOffset":1370,"count":0}],"isBlockCoverage":true},{"functionName":"hasSameCtor","ranges":[{"startOffset":1403,"endOffset":1470,"count":3}],"isBlockCoverage":true},{"functionName":"formatShallow","ranges":[{"startOffset":1474,"endOffset":1561,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1565,"endOffset":1699,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":2001,"endOffset":6371,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2068,"endOffset":2433,"count":6}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":2439,"endOffset":2563,"count":3},{"startOffset":2511,"endOffset":2523,"count":0}],"isBlockCoverage":true},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2569,"endOffset":3030,"count":6},{"startOffset":2680,"endOffset":2683,"count":0},{"startOffset":2776,"endOffset":3029,"count":0}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":2817,"endOffset":2995,"count":0}],"isBlockCoverage":false},{"functionName":"createListRecursor","ranges":[{"startOffset":3036,"endOffset":3472,"count":6},{"startOffset":3084,"endOffset":3118,"count":0},{"startOffset":3179,"endOffset":3213,"count":0}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":3254,"endOffset":3437,"count":26},{"startOffset":3290,"endOffset":3301,"count":6},{"startOffset":3301,"endOffset":3436,"count":20}],"isBlockCoverage":true},{"functionName":"createIterableRecursor","ranges":[{"startOffset":3478,"endOffset":4494,"count":6},{"startOffset":3529,"endOffset":3548,"count":0},{"startOffset":3584,"endOffset":4493,"count":0}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":3917,"endOffset":4459,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":4500,"endOffset":6365,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4661,"endOffset":6359,"count":32},{"startOffset":4706,"endOffset":6283,"count":44},{"startOffset":4741,"endOffset":4870,"count":38},{"startOffset":4813,"endOffset":4858,"count":18},{"startOffset":4907,"endOffset":4967,"count":24},{"startOffset":4925,"endOffset":4945,"count":18},{"startOffset":4946,"endOffset":4966,"count":12},{"startOffset":4969,"endOffset":6273,"count":18},{"startOffset":5044,"endOffset":5417,"count":6},{"startOffset":5417,"endOffset":6261,"count":12},{"startOffset":5446,"endOffset":5839,"count":6},{"startOffset":5742,"endOffset":5825,"count":0},{"startOffset":5839,"endOffset":6261,"count":6},{"startOffset":6164,"endOffset":6247,"count":0},{"startOffset":6309,"endOffset":6327,"count":38}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5112,"endOffset":5143,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5518,"endOffset":5553,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5940,"endOffset":5975,"count":6}],"isBlockCoverage":true},{"functionName":"DeserializedMixin","ranges":[{"startOffset":6413,"endOffset":7138,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6483,"endOffset":6780,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":6786,"endOffset":7055,"count":0}],"isBlockCoverage":false},{"functionName":"hasSameCtor","ranges":[{"startOffset":7061,"endOffset":7132,"count":0}],"isBlockCoverage":false}]},{"scriptId":"364","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/formatUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3260,"count":1}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":60,"endOffset":146,"count":0}],"isBlockCoverage":false},{"functionName":"formatCtorAndStringTag","ranges":[{"startOffset":168,"endOffset":537,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectFormatter","ranges":[{"startOffset":621,"endOffset":840,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":844,"endOffset":1189,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":1193,"endOffset":1873,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":1877,"endOffset":2161,"count":0}],"isBlockCoverage":false},{"functionName":"shouldFormat","ranges":[{"startOffset":2165,"endOffset":2202,"count":0}],"isBlockCoverage":false},{"functionName":"customize","ranges":[{"startOffset":2206,"endOffset":2502,"count":0}],"isBlockCoverage":false},{"functionName":"SingleValueFormatter","ranges":[{"startOffset":2579,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2790,"endOffset":2961,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":2965,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":3120,"endOffset":3205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"365","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/lineBuilder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7155,"count":1}],"isBlockCoverage":true},{"functionName":"translateGutter","ranges":[{"startOffset":123,"endOffset":485,"count":0}],"isBlockCoverage":false},{"functionName":"Line","ranges":[{"startOffset":502,"endOffset":670,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":674,"endOffset":717,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":721,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":762,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":820,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":884,"endOffset":934,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":938,"endOffset":1027,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":1031,"endOffset":1202,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":1206,"endOffset":1479,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":1483,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":1634,"endOffset":1783,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":1787,"endOffset":1871,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":1875,"endOffset":1960,"count":0}],"isBlockCoverage":false},{"functionName":"Collection","ranges":[{"startOffset":2050,"endOffset":2091,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2095,"endOffset":2217,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":2221,"endOffset":2277,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":2281,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":2399,"endOffset":2526,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2530,"endOffset":2632,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":2636,"endOffset":2725,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2729,"endOffset":3536,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":3540,"endOffset":4287,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":4291,"endOffset":4423,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":4427,"endOffset":4561,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":4565,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":4675,"endOffset":5381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":5462,"endOffset":5708,"count":0}],"isBlockCoverage":false},{"functionName":"buffer","ranges":[{"startOffset":5731,"endOffset":5774,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":5779,"endOffset":5856,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":5861,"endOffset":5937,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":5942,"endOffset":6019,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6024,"endOffset":6101,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6106,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6194,"endOffset":6277,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6284,"endOffset":6366,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6373,"endOffset":6456,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6463,"endOffset":6546,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6553,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6678,"endOffset":6763,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6770,"endOffset":6854,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6861,"endOffset":6946,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6953,"endOffset":7038,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":7045,"endOffset":7146,"count":0}],"isBlockCoverage":false}]},{"scriptId":"366","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getObjectKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":964,"count":1}],"isBlockCoverage":true},{"functionName":"getObjectKeys","ranges":[{"startOffset":14,"endOffset":932,"count":6},{"startOffset":430,"endOffset":756,"count":26},{"startOffset":578,"endOffset":590,"count":20},{"startOffset":591,"endOffset":638,"count":20},{"startOffset":661,"endOffset":717,"count":6},{"startOffset":719,"endOffset":752,"count":0},{"startOffset":799,"endOffset":905,"count":0}],"isBlockCoverage":true}]},{"scriptId":"367","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/hasLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":303,"count":1}],"isBlockCoverage":true},{"functionName":"hasLength","ranges":[{"startOffset":104,"endOffset":275,"count":0}],"isBlockCoverage":false}]},{"scriptId":"368","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":802,"count":1}],"isBlockCoverage":true},{"functionName":"isLength","ranges":[{"startOffset":645,"endOffset":773,"count":0}],"isBlockCoverage":false}]},{"scriptId":"369","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/stats.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3836,"count":1}],"isBlockCoverage":true},{"functionName":"describeIterableRecursor","ranges":[{"startOffset":228,"endOffset":318,"count":0}],"isBlockCoverage":false},{"functionName":"describeListRecursor","ranges":[{"startOffset":380,"endOffset":462,"count":6}],"isBlockCoverage":true},{"functionName":"describePropertyRecursor","ranges":[{"startOffset":516,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeIterableStats","ranges":[{"startOffset":668,"endOffset":745,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeListStats","ranges":[{"startOffset":807,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePropertyStats","ranges":[{"startOffset":930,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":1306,"endOffset":1351,"count":6}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":1355,"endOffset":1432,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1436,"endOffset":2989,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2993,"endOffset":3032,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3141,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3387,"endOffset":3513,"count":3},{"startOffset":3500,"endOffset":3509,"count":0}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":3625,"endOffset":3755,"count":0}],"isBlockCoverage":false}]},{"scriptId":"370","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/recursorUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2251,"count":1}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":51,"endOffset":74,"count":12}],"isBlockCoverage":true},{"functionName":"fork","ranges":[{"startOffset":117,"endOffset":396,"count":0}],"isBlockCoverage":false},{"functionName":"consumeDeep","ranges":[{"startOffset":418,"endOffset":732,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":768,"endOffset":910,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":930,"endOffset":1606,"count":18},{"startOffset":1046,"endOffset":1076,"count":12},{"startOffset":1076,"endOffset":1179,"count":6},{"startOffset":1216,"endOffset":1249,"count":12},{"startOffset":1249,"endOffset":1605,"count":6}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":1301,"endOffset":1546,"count":26},{"startOffset":1323,"endOffset":1334,"count":0},{"startOffset":1499,"endOffset":1524,"count":6}],"isBlockCoverage":true},{"functionName":"sequence","ranges":[{"startOffset":1632,"endOffset":1850,"count":0}],"isBlockCoverage":false},{"functionName":"singleValue","ranges":[{"startOffset":1880,"endOffset":2012,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":2048,"endOffset":2224,"count":0}],"isBlockCoverage":false}]},{"scriptId":"371","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":970,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":313,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":343,"endOffset":444,"count":0}],"isBlockCoverage":false}]},{"scriptId":"372","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/typedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4439,"count":1}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":382,"endOffset":596,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":628,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":910,"endOffset":1010,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeBytes","ranges":[{"startOffset":1046,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"Bytes","ranges":[{"startOffset":1292,"endOffset":1343,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1347,"endOffset":1482,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1486,"endOffset":2297,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2301,"endOffset":2342,"count":0}],"isBlockCoverage":false},{"functionName":"TypedArrayValue","ranges":[{"startOffset":2466,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":2543,"endOffset":2931,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":3049,"endOffset":3869,"count":3}],"isBlockCoverage":true},{"functionName":"createListRecursor","ranges":[{"startOffset":3237,"endOffset":3307,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":3313,"endOffset":3749,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":3755,"endOffset":3863,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMixin","ranges":[{"startOffset":3977,"endOffset":4320,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4073,"endOffset":4314,"count":0}],"isBlockCoverage":false}]},{"scriptId":"373","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/boxed.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1292,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":264,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedBoxedValue","ranges":[{"startOffset":634,"endOffset":709,"count":0}],"isBlockCoverage":false},{"functionName":"createListRecursor","ranges":[{"startOffset":713,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":783,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1126,"endOffset":1220,"count":0}],"isBlockCoverage":false}]},{"scriptId":"374","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11430,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":306,"endOffset":367,"count":20}],"isBlockCoverage":true},{"functionName":"basicEscape","ranges":[{"startOffset":707,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"escapeLinebreak","ranges":[{"startOffset":1015,"endOffset":1219,"count":0}],"isBlockCoverage":false},{"functionName":"themeControlPictures","ranges":[{"startOffset":1221,"endOffset":1442,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuotes","ranges":[{"startOffset":1537,"endOffset":1834,"count":0}],"isBlockCoverage":false},{"functionName":"includesLinebreaks","ranges":[{"startOffset":1836,"endOffset":1932,"count":0}],"isBlockCoverage":false},{"functionName":"diffLine","ranges":[{"startOffset":1934,"endOffset":3826,"count":0}],"isBlockCoverage":false},{"functionName":"gatherLines","ranges":[{"startOffset":3862,"endOffset":4170,"count":0}],"isBlockCoverage":false},{"functionName":"StringValue","ranges":[{"startOffset":4194,"endOffset":4242,"count":20}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":4246,"endOffset":4370,"count":10},{"startOffset":4357,"endOffset":4366,"count":0}],"isBlockCoverage":true},{"functionName":"get includesLinebreaks","ranges":[{"startOffset":4374,"endOffset":4447,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4451,"endOffset":5422,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":5426,"endOffset":5800,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5804,"endOffset":11238,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":11242,"endOffset":11282,"count":0}],"isBlockCoverage":false}]},{"scriptId":"375","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1334,"endOffset":1486,"count":1}],"isBlockCoverage":true}]},{"scriptId":"376","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/ast.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4728,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":4687,"count":1}],"isBlockCoverage":true},{"functionName":"isExpression","ranges":[{"startOffset":1370,"endOffset":2121,"count":0}],"isBlockCoverage":false},{"functionName":"isIterationStatement","ranges":[{"startOffset":2127,"endOffset":2444,"count":0}],"isBlockCoverage":false},{"functionName":"isStatement","ranges":[{"startOffset":2450,"endOffset":3262,"count":0}],"isBlockCoverage":false},{"functionName":"isSourceElement","ranges":[{"startOffset":3268,"endOffset":3393,"count":0}],"isBlockCoverage":false},{"functionName":"trailingStatement","ranges":[{"startOffset":3399,"endOffset":3843,"count":0}],"isBlockCoverage":false},{"functionName":"isProblematicIfStatement","ranges":[{"startOffset":3849,"endOffset":4384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"377","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/code.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29610,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1391,"endOffset":29569,"count":1},{"startOffset":27989,"endOffset":28199,"count":128},{"startOffset":28045,"endOffset":28058,"count":31},{"startOffset":28059,"endOffset":28107,"count":102},{"startOffset":28094,"endOffset":28107,"count":37},{"startOffset":28108,"endOffset":28143,"count":76},{"startOffset":28144,"endOffset":28158,"count":75},{"startOffset":28273,"endOffset":28531,"count":128},{"startOffset":28328,"endOffset":28341,"count":31},{"startOffset":28342,"endOffset":28390,"count":102},{"startOffset":28377,"endOffset":28390,"count":37},{"startOffset":28391,"endOffset":28439,"count":76},{"startOffset":28426,"endOffset":28439,"count":28},{"startOffset":28440,"endOffset":28475,"count":66},{"startOffset":28476,"endOffset":28490,"count":65}],"isBlockCoverage":true},{"functionName":"isDecimalDigit","ranges":[{"startOffset":26641,"endOffset":26726,"count":0}],"isBlockCoverage":false},{"functionName":"isHexDigit","ranges":[{"startOffset":26732,"endOffset":26919,"count":0}],"isBlockCoverage":false},{"functionName":"isOctalDigit","ranges":[{"startOffset":26925,"endOffset":27008,"count":0}],"isBlockCoverage":false},{"functionName":"isWhiteSpace","ranges":[{"startOffset":27243,"endOffset":27434,"count":0}],"isBlockCoverage":false},{"functionName":"isLineTerminator","ranges":[{"startOffset":27469,"endOffset":27583,"count":0}],"isBlockCoverage":false},{"functionName":"fromCodePoint","ranges":[{"startOffset":27634,"endOffset":27914,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES5","ranges":[{"startOffset":28537,"endOffset":28686,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES5","ranges":[{"startOffset":28692,"endOffset":28838,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES6","ranges":[{"startOffset":28844,"endOffset":28993,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES6","ranges":[{"startOffset":28999,"endOffset":29145,"count":0}],"isBlockCoverage":false}]},{"scriptId":"378","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/keyword.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5616,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":5575,"count":1}],"isBlockCoverage":true},{"functionName":"isStrictModeReservedWordES6","ranges":[{"startOffset":1405,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES5","ranges":[{"startOffset":1752,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES6","ranges":[{"startOffset":1990,"endOffset":3218,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES5","ranges":[{"startOffset":3224,"endOffset":3363,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES6","ranges":[{"startOffset":3369,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"isRestrictedWord","ranges":[{"startOffset":3514,"endOffset":3603,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES5","ranges":[{"startOffset":3609,"endOffset":4045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeUtf16","ranges":[{"startOffset":4051,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES6","ranges":[{"startOffset":4167,"endOffset":4903,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES5","ranges":[{"startOffset":4909,"endOffset":5027,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES6","ranges":[{"startOffset":5033,"endOffset":5151,"count":0}],"isBlockCoverage":false}]},{"scriptId":"379","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-diff/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":38838,"count":1}],"isBlockCoverage":true},{"functionName":"diff_main","ranges":[{"startOffset":1622,"endOffset":2855,"count":0}],"isBlockCoverage":false},{"functionName":"diff_compute_","ranges":[{"startOffset":3117,"endOffset":4721,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisect_","ranges":[{"startOffset":5070,"endOffset":8602,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisectSplit_","ranges":[{"startOffset":8946,"endOffset":9292,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonPrefix","ranges":[{"startOffset":9516,"endOffset":10360,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonOverlap_","ranges":[{"startOffset":10654,"endOffset":11835,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonSuffix","ranges":[{"startOffset":12050,"endOffset":12955,"count":0}],"isBlockCoverage":false},{"functionName":"diff_halfMatch_","ranges":[{"startOffset":13397,"endOffset":16552,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemantic","ranges":[{"startOffset":16712,"endOffset":21136,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemanticLossless","ranges":[{"startOffset":21599,"endOffset":25878,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupMerge","ranges":[{"startOffset":26143,"endOffset":33884,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_start","ranges":[{"startOffset":33886,"endOffset":33983,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_end","ranges":[{"startOffset":33985,"endOffset":34080,"count":0}],"isBlockCoverage":false},{"functionName":"starts_with_pair_end","ranges":[{"startOffset":34082,"endOffset":34171,"count":0}],"isBlockCoverage":false},{"functionName":"ends_with_pair_start","ranges":[{"startOffset":34173,"endOffset":34277,"count":0}],"isBlockCoverage":false},{"functionName":"remove_empty_tuples","ranges":[{"startOffset":34279,"endOffset":34465,"count":0}],"isBlockCoverage":false},{"functionName":"make_edit_splice","ranges":[{"startOffset":34467,"endOffset":34771,"count":0}],"isBlockCoverage":false},{"functionName":"find_cursor_edit_diff","ranges":[{"startOffset":34773,"endOffset":38521,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":38523,"endOffset":38733,"count":0}],"isBlockCoverage":false}]},{"scriptId":"380","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/dataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":949,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":319,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":349,"endOffset":447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"381","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/date.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2613,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":304,"endOffset":471,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":501,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"formatDate","ranges":[{"startOffset":682,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"DateValue","ranges":[{"startOffset":993,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1072,"endOffset":1333,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1337,"endOffset":2118,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2122,"endOffset":2253,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedDateValue","ranges":[{"startOffset":2460,"endOffset":2610,"count":0}],"isBlockCoverage":false}]},{"scriptId":"382","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/date-time/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":831,"count":1}],"isBlockCoverage":true},{"functionName":"dateTime","ranges":[{"startOffset":71,"endOffset":718,"count":0}],"isBlockCoverage":false}]},{"scriptId":"383","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/time-zone/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":343,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"384","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3605,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":331,"endOffset":608,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":638,"endOffset":733,"count":0}],"isBlockCoverage":false},{"functionName":"ErrorValue","ranges":[{"startOffset":869,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":942,"endOffset":1082,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1086,"endOffset":2193,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2197,"endOffset":2257,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedErrorValue","ranges":[{"startOffset":2400,"endOffset":2583,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2587,"endOffset":3430,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedErrorValue","ranges":[{"startOffset":3512,"endOffset":3602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"385","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/isEnumerable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":171,"count":1}],"isBlockCoverage":true},{"functionName":"isEnumerable","ranges":[{"startOffset":14,"endOffset":140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"386","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3272,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":377,"endOffset":600,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":630,"endOffset":728,"count":0}],"isBlockCoverage":false},{"functionName":"FunctionValue","ranges":[{"startOffset":870,"endOffset":939,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":943,"endOffset":1706,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedFunctionValue","ranges":[{"startOffset":1858,"endOffset":1951,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1955,"endOffset":2203,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2207,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2749,"endOffset":2809,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedFunctionValue","ranges":[{"startOffset":2897,"endOffset":2987,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2991,"endOffset":3205,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3209,"endOffset":3269,"count":0}],"isBlockCoverage":false}]},{"scriptId":"387","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":822,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":275,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":412,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":512,"endOffset":676,"count":0}],"isBlockCoverage":false}]},{"scriptId":"388","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1845,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"MapValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1028,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1032,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1229,"endOffset":1674,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMapValue","ranges":[{"startOffset":1752,"endOffset":1842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"389","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1054,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":167,"endOffset":238,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":268,"endOffset":345,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":630,"endOffset":830,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":916,"endOffset":1051,"count":0}],"isBlockCoverage":false}]},{"scriptId":"390","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2733,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":219,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":432,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"getSortedFlags","ranges":[{"startOffset":617,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"RegexpValue","ranges":[{"startOffset":824,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":930,"endOffset":1107,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1111,"endOffset":2317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2321,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedRegexpValue","ranges":[{"startOffset":2612,"endOffset":2730,"count":0}],"isBlockCoverage":false}]},{"scriptId":"391","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1815,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"SetValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1030,"endOffset":1090,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1227,"endOffset":1644,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSetValue","ranges":[{"startOffset":1722,"endOffset":1812,"count":0}],"isBlockCoverage":false}]},{"scriptId":"392","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getCtor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1275,"count":1}],"isBlockCoverage":true},{"functionName":"getCtor","ranges":[{"startOffset":59,"endOffset":1249,"count":6},{"startOffset":234,"endOffset":240,"count":0},{"startOffset":244,"endOffset":1248,"count":0}],"isBlockCoverage":true}]},{"scriptId":"393","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getStringTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":721,"count":1},{"startOffset":467,"endOffset":720,"count":0}],"isBlockCoverage":true},{"functionName":"getStringTag","ranges":[{"startOffset":51,"endOffset":121,"count":7}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":225,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"getStringTagWithPromiseWorkaround","ranges":[{"startOffset":519,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"394","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/item.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7816,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":228,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeComplex","ranges":[{"startOffset":354,"endOffset":469,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":519,"endOffset":605,"count":20}],"isBlockCoverage":true},{"functionName":"deserializePrimitive","ranges":[{"startOffset":653,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexItem","ranges":[{"startOffset":1017,"endOffset":1095,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1099,"endOffset":1171,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1175,"endOffset":1330,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1334,"endOffset":1719,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1723,"endOffset":4317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":4321,"endOffset":4361,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveItem","ranges":[{"startOffset":4536,"endOffset":4614,"count":20}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":4618,"endOffset":4775,"count":10},{"startOffset":4762,"endOffset":4771,"count":0}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":4779,"endOffset":5334,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":5338,"endOffset":6853,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":6857,"endOffset":7602,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7606,"endOffset":7660,"count":0}],"isBlockCoverage":false}]},{"scriptId":"395","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/mapEntry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7305,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":318,"endOffset":585,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":615,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithKey","ranges":[{"startOffset":974,"endOffset":1422,"count":0}],"isBlockCoverage":false},{"functionName":"MapEntry","ranges":[{"startOffset":1443,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1639,"endOffset":1916,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1920,"endOffset":2399,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":2403,"endOffset":3004,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3008,"endOffset":3349,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":3353,"endOffset":4200,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":4204,"endOffset":7086,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7090,"endOffset":7164,"count":0}],"isBlockCoverage":false}]},{"scriptId":"396","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/themeUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5251,"count":1}],"isBlockCoverage":true},{"functionName":"freezeTheme","ranges":[{"startOffset":151,"endOffset":490,"count":1},{"startOffset":233,"endOffset":472,"count":42},{"startOffset":338,"endOffset":468,"count":120},{"startOffset":397,"endOffset":425,"count":118},{"startOffset":427,"endOffset":462,"count":41}],"isBlockCoverage":true},{"functionName":"normalizePlugins","ranges":[{"startOffset":2413,"endOffset":3165,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":3205,"endOffset":4082,"count":0}],"isBlockCoverage":false},{"functionName":"addModifier","ranges":[{"startOffset":4146,"endOffset":4338,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiers","ranges":[{"startOffset":4446,"endOffset":5020,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiersToOriginal","ranges":[{"startOffset":5062,"endOffset":5190,"count":0}],"isBlockCoverage":false}]},{"scriptId":"397","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/cloneDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":679,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDeep","ranges":[{"startOffset":555,"endOffset":649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"398","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseClone.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5609,"count":1}],"isBlockCoverage":true},{"functionName":"baseClone","ranges":[{"startOffset":3399,"endOffset":5579,"count":0}],"isBlockCoverage":false}]},{"scriptId":"399","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Stack.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":734,"count":1}],"isBlockCoverage":true},{"functionName":"Stack","ranges":[{"startOffset":402,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"400","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_ListCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"ListCache","ranges":[{"startOffset":376,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"401","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":218,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheClear","ranges":[{"startOffset":115,"endOffset":183,"count":0}],"isBlockCoverage":false}]},{"scriptId":"402","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":775,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheDelete","ranges":[{"startOffset":440,"endOffset":739,"count":0}],"isBlockCoverage":false}]},{"scriptId":"403","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assocIndexOf.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":487,"count":1}],"isBlockCoverage":true},{"functionName":"assocIndexOf","ranges":[{"startOffset":286,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"404","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":799,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":681,"endOffset":776,"count":0}],"isBlockCoverage":false}]},{"scriptId":"405","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":420,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheGet","ranges":[{"startOffset":240,"endOffset":387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"406","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheHas","ranges":[{"startOffset":292,"endOffset":370,"count":0}],"isBlockCoverage":false}]},{"scriptId":"407","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":553,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheSet","ranges":[{"startOffset":292,"endOffset":520,"count":0}],"isBlockCoverage":false}]},{"scriptId":"408","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":254,"count":1}],"isBlockCoverage":true},{"functionName":"stackClear","ranges":[{"startOffset":148,"endOffset":223,"count":0}],"isBlockCoverage":false}]},{"scriptId":"409","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":405,"count":1}],"isBlockCoverage":true},{"functionName":"stackDelete","ranges":[{"startOffset":237,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"410","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":271,"count":1}],"isBlockCoverage":true},{"functionName":"stackGet","ranges":[{"startOffset":183,"endOffset":242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"411","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":323,"count":1}],"isBlockCoverage":true},{"functionName":"stackHas","ranges":[{"startOffset":235,"endOffset":294,"count":0}],"isBlockCoverage":false}]},{"scriptId":"412","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":853,"count":1}],"isBlockCoverage":true},{"functionName":"stackSet","ranges":[{"startOffset":436,"endOffset":824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"413","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"414","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"getNative","ranges":[{"startOffset":331,"endOffset":453,"count":7},{"startOffset":439,"endOffset":450,"count":0}],"isBlockCoverage":true}]},{"scriptId":"415","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1417,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsNative","ranges":[{"startOffset":1182,"endOffset":1384,"count":7},{"startOffset":1256,"endOffset":1279,"count":0},{"startOffset":1327,"endOffset":1341,"count":0}],"isBlockCoverage":true}]},{"scriptId":"416","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isFunction.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":993,"count":1}],"isBlockCoverage":true},{"functionName":"isFunction","ranges":[{"startOffset":617,"endOffset":962,"count":7},{"startOffset":670,"endOffset":693,"count":0},{"startOffset":905,"endOffset":921,"count":0},{"startOffset":922,"endOffset":940,"count":0},{"startOffset":941,"endOffset":959,"count":0}],"isBlockCoverage":true}]},{"scriptId":"417","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":792,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true},{"functionName":"baseGetTag","ranges":[{"startOffset":534,"endOffset":761,"count":13},{"startOffset":584,"endOffset":646,"count":0},{"startOffset":712,"endOffset":730,"count":5},{"startOffset":735,"endOffset":758,"count":8}],"isBlockCoverage":true}]},{"scriptId":"418","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true}]},{"scriptId":"419","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_root.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":300,"count":1},{"startOffset":119,"endOffset":126,"count":0},{"startOffset":127,"endOffset":152,"count":0},{"startOffset":153,"endOffset":160,"count":0},{"startOffset":234,"endOffset":245,"count":0},{"startOffset":246,"endOffset":274,"count":0}],"isBlockCoverage":true}]},{"scriptId":"420","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_freeGlobal.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":173,"count":1}],"isBlockCoverage":true}]},{"scriptId":"421","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getRawTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1139,"count":1},{"startOffset":488,"endOffset":499,"count":0}],"isBlockCoverage":true},{"functionName":"getRawTag","ranges":[{"startOffset":701,"endOffset":1109,"count":5},{"startOffset":899,"endOffset":911,"count":0},{"startOffset":995,"endOffset":1037,"count":0}],"isBlockCoverage":true}]},{"scriptId":"422","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_objectToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":565,"count":1}],"isBlockCoverage":true},{"functionName":"objectToString","ranges":[{"startOffset":453,"endOffset":530,"count":8}],"isBlockCoverage":true}]},{"scriptId":"423","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":733,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":581,"endOffset":704,"count":14}],"isBlockCoverage":true}]},{"scriptId":"424","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isMasked.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":564,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":116,"endOffset":268,"count":1},{"startOffset":166,"endOffset":184,"count":0},{"startOffset":185,"endOffset":212,"count":0},{"startOffset":234,"endOffset":260,"count":0}],"isBlockCoverage":true},{"functionName":"isMasked","ranges":[{"startOffset":461,"endOffset":535,"count":7},{"startOffset":509,"endOffset":532,"count":0}],"isBlockCoverage":true}]},{"scriptId":"425","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_coreJsData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":157,"count":1}],"isBlockCoverage":true}]},{"scriptId":"426","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_toSource.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":556,"count":1}],"isBlockCoverage":true},{"functionName":"toSource","ranges":[{"startOffset":339,"endOffset":527,"count":12},{"startOffset":441,"endOffset":508,"count":0},{"startOffset":512,"endOffset":526,"count":0}],"isBlockCoverage":true}]},{"scriptId":"427","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":325,"count":1}],"isBlockCoverage":true},{"functionName":"getValue","ranges":[{"startOffset":211,"endOffset":296,"count":7},{"startOffset":268,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"428","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_MapCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"MapCache","ranges":[{"startOffset":389,"endOffset":606,"count":0}],"isBlockCoverage":false}]},{"scriptId":"429","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":393,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheClear","ranges":[{"startOffset":209,"endOffset":359,"count":0}],"isBlockCoverage":false}]},{"scriptId":"430","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Hash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"Hash","ranges":[{"startOffset":319,"endOffset":532,"count":0}],"isBlockCoverage":false}]},{"scriptId":"431","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":281,"count":1}],"isBlockCoverage":true},{"functionName":"hashClear","ranges":[{"startOffset":152,"endOffset":251,"count":0}],"isBlockCoverage":false}]},{"scriptId":"432","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":187,"count":1}],"isBlockCoverage":true}]},{"scriptId":"433","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":445,"count":1}],"isBlockCoverage":true},{"functionName":"hashDelete","ranges":[{"startOffset":279,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"434","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"hashGet","ranges":[{"startOffset":513,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"435","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":626,"count":1}],"isBlockCoverage":true},{"functionName":"hashHas","ranges":[{"startOffset":461,"endOffset":598,"count":0}],"isBlockCoverage":false}]},{"scriptId":"436","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"hashSet","ranges":[{"startOffset":379,"endOffset":570,"count":0}],"isBlockCoverage":false}]},{"scriptId":"437","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheDelete","ranges":[{"startOffset":282,"endOffset":415,"count":0}],"isBlockCoverage":false}]},{"scriptId":"438","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getMapData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":400,"count":1}],"isBlockCoverage":true},{"functionName":"getMapData","ranges":[{"startOffset":214,"endOffset":369,"count":0}],"isBlockCoverage":false}]},{"scriptId":"439","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isKeyable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":430,"count":1}],"isBlockCoverage":true},{"functionName":"isKeyable","ranges":[{"startOffset":201,"endOffset":400,"count":0}],"isBlockCoverage":false}]},{"scriptId":"440","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":330,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheGet","ranges":[{"startOffset":228,"endOffset":298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"441","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheHas","ranges":[{"startOffset":280,"endOffset":350,"count":0}],"isBlockCoverage":false}]},{"scriptId":"442","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":489,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheSet","ranges":[{"startOffset":279,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"443","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayEach.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":537,"count":1}],"isBlockCoverage":true},{"functionName":"arrayEach","ranges":[{"startOffset":274,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"444","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":899,"count":1}],"isBlockCoverage":true},{"functionName":"assignValue","ranges":[{"startOffset":629,"endOffset":867,"count":0}],"isBlockCoverage":false}]},{"scriptId":"445","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":625,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignValue","ranges":[{"startOffset":314,"endOffset":589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"446","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_defineProperty.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":64,"endOffset":194,"count":1},{"startOffset":180,"endOffset":192,"count":0}],"isBlockCoverage":true}]},{"scriptId":"447","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssign.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssign","ranges":[{"startOffset":339,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"448","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1044,"count":1}],"isBlockCoverage":true},{"functionName":"copyObject","ranges":[{"startOffset":467,"endOffset":1013,"count":0}],"isBlockCoverage":false}]},{"scriptId":"449","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":884,"count":1}],"isBlockCoverage":true},{"functionName":"keys","ranges":[{"startOffset":761,"endOffset":859,"count":0}],"isBlockCoverage":false}]},{"scriptId":"450","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayLikeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1778,"count":1}],"isBlockCoverage":true},{"functionName":"arrayLikeKeys","ranges":[{"startOffset":697,"endOffset":1744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"451","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseTimes.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":504,"count":1}],"isBlockCoverage":true},{"functionName":"baseTimes","ranges":[{"startOffset":313,"endOffset":474,"count":0}],"isBlockCoverage":false}]},{"scriptId":"452","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1026,"count":1},{"startOffset":851,"endOffset":993,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":797,"endOffset":829,"count":1}],"isBlockCoverage":true},{"functionName":"isArguments","ranges":[{"startOffset":853,"endOffset":993,"count":0}],"isBlockCoverage":false}]},{"scriptId":"453","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsArguments","ranges":[{"startOffset":355,"endOffset":452,"count":1}],"isBlockCoverage":true}]},{"scriptId":"454","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObjectLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"isObjectLike","ranges":[{"startOffset":497,"endOffset":581,"count":1}],"isBlockCoverage":true}]},{"scriptId":"455","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true}]},{"scriptId":"456","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1114,"count":1},{"startOffset":548,"endOffset":559,"count":0},{"startOffset":697,"endOffset":708,"count":0},{"startOffset":1072,"endOffset":1084,"count":0}],"isBlockCoverage":true}]},{"scriptId":"457","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubFalse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":280,"count":1}],"isBlockCoverage":true},{"functionName":"stubFalse","ranges":[{"startOffset":210,"endOffset":250,"count":0}],"isBlockCoverage":false}]},{"scriptId":"458","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIndex.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":759,"count":1}],"isBlockCoverage":true},{"functionName":"isIndex","ranges":[{"startOffset":456,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"459","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":695,"count":1},{"startOffset":643,"endOffset":661,"count":0}],"isBlockCoverage":true}]},{"scriptId":"460","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2222,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsTypedArray","ranges":[{"startOffset":2050,"endOffset":2185,"count":0}],"isBlockCoverage":false}]},{"scriptId":"461","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseUnary.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":332,"count":1}],"isBlockCoverage":true},{"functionName":"baseUnary","ranges":[{"startOffset":218,"endOffset":302,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":254,"endOffset":299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"462","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nodeUtil.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":995,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":615,"endOffset":962,"count":1},{"startOffset":806,"endOffset":911,"count":0},{"startOffset":912,"endOffset":942,"count":0},{"startOffset":948,"endOffset":960,"count":0}],"isBlockCoverage":true}]},{"scriptId":"463","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":776,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeys","ranges":[{"startOffset":479,"endOffset":747,"count":0}],"isBlockCoverage":false}]},{"scriptId":"464","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":480,"count":1}],"isBlockCoverage":true},{"functionName":"isPrototype","ranges":[{"startOffset":273,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"465","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":204,"count":1}],"isBlockCoverage":true}]},{"scriptId":"466","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overArg.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"overArg","ranges":[{"startOffset":254,"endOffset":354,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":299,"endOffset":351,"count":0}],"isBlockCoverage":false}]},{"scriptId":"467","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":830,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLike","ranges":[{"startOffset":695,"endOffset":798,"count":0}],"isBlockCoverage":false}]},{"scriptId":"468","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":482,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignIn","ranges":[{"startOffset":345,"endOffset":449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"469","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":778,"count":1}],"isBlockCoverage":true},{"functionName":"keysIn","ranges":[{"startOffset":643,"endOffset":751,"count":0}],"isBlockCoverage":false}]},{"scriptId":"470","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":870,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeysIn","ranges":[{"startOffset":523,"endOffset":839,"count":0}],"isBlockCoverage":false}]},{"scriptId":"471","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":490,"count":1}],"isBlockCoverage":true},{"functionName":"nativeKeysIn","ranges":[{"startOffset":292,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"472","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1056,"count":1},{"startOffset":508,"endOffset":519,"count":0},{"startOffset":567,"endOffset":578,"count":0}],"isBlockCoverage":true},{"functionName":"cloneBuffer","ranges":[{"startOffset":783,"endOffset":1024,"count":0}],"isBlockCoverage":false}]},{"scriptId":"473","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"copyArray","ranges":[{"startOffset":219,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"474","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":446,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbols","ranges":[{"startOffset":317,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"475","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":886,"count":1},{"startOffset":624,"endOffset":635,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbols","ranges":[{"startOffset":638,"endOffset":854,"count":0}],"isBlockCoverage":false}]},{"scriptId":"476","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayFilter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":632,"count":1}],"isBlockCoverage":true},{"functionName":"arrayFilter","ranges":[{"startOffset":289,"endOffset":600,"count":0}],"isBlockCoverage":false}]},{"scriptId":"477","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":390,"count":1}],"isBlockCoverage":true},{"functionName":"stubArray","ranges":[{"startOffset":323,"endOffset":360,"count":0}],"isBlockCoverage":false}]},{"scriptId":"478","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbolsIn","ranges":[{"startOffset":335,"endOffset":436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"479","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":754,"count":1},{"startOffset":549,"endOffset":560,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbolsIn","ranges":[{"startOffset":563,"endOffset":720,"count":0}],"isBlockCoverage":false}]},{"scriptId":"480","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayPush.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":437,"count":1}],"isBlockCoverage":true},{"functionName":"arrayPush","ranges":[{"startOffset":200,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"481","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":163,"count":1}],"isBlockCoverage":true}]},{"scriptId":"482","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":455,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeys","ranges":[{"startOffset":342,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"483","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":739,"count":1}],"isBlockCoverage":true},{"functionName":"baseGetAllKeys","ranges":[{"startOffset":537,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"484","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeysIn","ranges":[{"startOffset":367,"endOffset":455,"count":0}],"isBlockCoverage":false}]},{"scriptId":"485","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1838,"count":1},{"startOffset":1296,"endOffset":1811,"count":0}],"isBlockCoverage":true},{"functionName":"getTag","ranges":[{"startOffset":1309,"endOffset":1808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"486","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_DataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true}]},{"scriptId":"487","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"488","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"489","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_WeakMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"490","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":692,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneArray","ranges":[{"startOffset":329,"endOffset":657,"count":0}],"isBlockCoverage":false}]},{"scriptId":"491","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneByTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2261,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneByTag","ranges":[{"startOffset":1454,"endOffset":2226,"count":0}],"isBlockCoverage":false}]},{"scriptId":"492","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneArrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":449,"count":1}],"isBlockCoverage":true},{"functionName":"cloneArrayBuffer","ranges":[{"startOffset":226,"endOffset":412,"count":0}],"isBlockCoverage":false}]},{"scriptId":"493","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Uint8Array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":130,"count":1}],"isBlockCoverage":true}]},{"scriptId":"494","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneDataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":507,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDataView","ranges":[{"startOffset":267,"endOffset":473,"count":0}],"isBlockCoverage":false}]},{"scriptId":"495","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneRegExp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":439,"count":1}],"isBlockCoverage":true},{"functionName":"cloneRegExp","ranges":[{"startOffset":243,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"496","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneSymbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":524,"count":1},{"startOffset":138,"endOffset":149,"count":0},{"startOffset":205,"endOffset":216,"count":0}],"isBlockCoverage":true},{"functionName":"cloneSymbol","ranges":[{"startOffset":394,"endOffset":492,"count":0}],"isBlockCoverage":false}]},{"scriptId":"497","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":527,"count":1}],"isBlockCoverage":true},{"functionName":"cloneTypedArray","ranges":[{"startOffset":275,"endOffset":491,"count":0}],"isBlockCoverage":false}]},{"scriptId":"498","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":486,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneObject","ranges":[{"startOffset":290,"endOffset":450,"count":0}],"isBlockCoverage":false}]},{"scriptId":"499","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":686,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":355,"endOffset":651,"count":1}],"isBlockCoverage":true},{"functionName":"object","ranges":[{"startOffset":370,"endOffset":390,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":400,"endOffset":648,"count":0}],"isBlockCoverage":false}]},{"scriptId":"500","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"501","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsMap","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"502","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"503","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsSet","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"504","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/merge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1220,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1115,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"505","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMerge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1328,"count":1}],"isBlockCoverage":true},{"functionName":"baseMerge","ranges":[{"startOffset":699,"endOffset":1298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"506","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignMergeValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"assignMergeValue","ranges":[{"startOffset":342,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"507","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"508","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createBaseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":648,"count":1}],"isBlockCoverage":true},{"functionName":"createBaseFor","ranges":[{"startOffset":217,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":262,"endOffset":611,"count":0}],"isBlockCoverage":false}]},{"scriptId":"509","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMergeDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3069,"count":1}],"isBlockCoverage":true},{"functionName":"baseMergeDeep","ranges":[{"startOffset":1316,"endOffset":3035,"count":0}],"isBlockCoverage":false}]},{"scriptId":"510","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLikeObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":742,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLikeObject","ranges":[{"startOffset":615,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"511","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1650,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":1229,"endOffset":1616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"512","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_safeGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":456,"count":1}],"isBlockCoverage":true},{"functionName":"safeGet","ranges":[{"startOffset":243,"endOffset":428,"count":0}],"isBlockCoverage":false}]},{"scriptId":"513","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/toPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":744,"count":1}],"isBlockCoverage":true},{"functionName":"toPlainObject","ranges":[{"startOffset":634,"endOffset":710,"count":0}],"isBlockCoverage":false}]},{"scriptId":"514","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createAssigner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1042,"count":1}],"isBlockCoverage":true},{"functionName":"createAssigner","ranges":[{"startOffset":272,"endOffset":1007,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":326,"endOffset":1003,"count":0}],"isBlockCoverage":false}]},{"scriptId":"515","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":559,"count":1}],"isBlockCoverage":true},{"functionName":"baseRest","ranges":[{"startOffset":430,"endOffset":530,"count":1}],"isBlockCoverage":true}]},{"scriptId":"516","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/identity.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"identity","ranges":[{"startOffset":297,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"517","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1096,"count":1}],"isBlockCoverage":true},{"functionName":"overRest","ranges":[{"startOffset":503,"endOffset":1067,"count":1},{"startOffset":607,"endOffset":614,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":629,"endOffset":1064,"count":0}],"isBlockCoverage":false}]},{"scriptId":"518","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_apply.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":714,"count":1}],"isBlockCoverage":true},{"functionName":"apply","ranges":[{"startOffset":374,"endOffset":688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"519","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_setToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":392,"count":1}],"isBlockCoverage":true}]},{"scriptId":"520","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseSetToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":641,"count":1},{"startOffset":412,"endOffset":422,"count":0}],"isBlockCoverage":true},{"functionName":"baseSetToString","ranges":[{"startOffset":425,"endOffset":604,"count":1}],"isBlockCoverage":true}]},{"scriptId":"521","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/constant.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":528,"count":1}],"isBlockCoverage":true},{"functionName":"constant","ranges":[{"startOffset":426,"endOffset":499,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":462,"endOffset":496,"count":0}],"isBlockCoverage":false}]},{"scriptId":"522","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_shortOut.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":941,"count":1}],"isBlockCoverage":true},{"functionName":"shortOut","ranges":[{"startOffset":534,"endOffset":912,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":609,"endOffset":909,"count":1},{"startOffset":752,"endOffset":830,"count":0}],"isBlockCoverage":true}]},{"scriptId":"523","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIterateeCall.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":877,"count":1}],"isBlockCoverage":true},{"functionName":"isIterateeCall","ranges":[{"startOffset":514,"endOffset":842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"524","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/pluginRegistry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6139,"count":1}],"isBlockCoverage":true},{"functionName":"PluginError","ranges":[{"startOffset":707,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"PluginTypeError","ranges":[{"startOffset":864,"endOffset":977,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedApiError","ranges":[{"startOffset":1031,"endOffset":1159,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedError","ranges":[{"startOffset":1210,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorTagError","ranges":[{"startOffset":1406,"endOffset":1596,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorIdError","ranges":[{"startOffset":1657,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":1949,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"modifyTheme","ranges":[{"startOffset":3525,"endOffset":3639,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":3641,"endOffset":5084,"count":0}],"isBlockCoverage":false},{"functionName":"getDeserializers","ranges":[{"startOffset":5104,"endOffset":5368,"count":0}],"isBlockCoverage":false},{"functionName":"getThemes","ranges":[{"startOffset":5414,"endOffset":5598,"count":0}],"isBlockCoverage":false},{"functionName":"getTryDescribeValues","ranges":[{"startOffset":5630,"endOffset":5734,"count":0}],"isBlockCoverage":false},{"functionName":"resolveDescriptorRef","ranges":[{"startOffset":5788,"endOffset":6086,"count":0}],"isBlockCoverage":false}]},{"scriptId":"525","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2616,"count":1}],"isBlockCoverage":true}]},{"scriptId":"526","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/re.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7690,"count":1}],"isBlockCoverage":true},{"functionName":"makeSafeRegex","ranges":[{"startOffset":950,"endOffset":1161,"count":40},{"startOffset":1015,"endOffset":1144,"count":120}],"isBlockCoverage":true},{"functionName":"createToken","ranges":[{"startOffset":1183,"endOffset":1459,"count":40},{"startOffset":1376,"endOffset":1381,"count":4},{"startOffset":1382,"endOffset":1393,"count":36},{"startOffset":1439,"endOffset":1444,"count":4},{"startOffset":1445,"endOffset":1456,"count":36}],"isBlockCoverage":true}]},{"scriptId":"527","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":859,"count":1},{"startOffset":233,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"528","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/debug.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":226,"count":1},{"startOffset":91,"endOffset":138,"count":0},{"startOffset":141,"endOffset":188,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":143,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"debug","ranges":[{"startOffset":193,"endOffset":201,"count":46}],"isBlockCoverage":true}]},{"scriptId":"529","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/semver.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8756,"count":1}],"isBlockCoverage":true},{"functionName":"SemVer","ranges":[{"startOffset":311,"endOffset":2238,"count":2},{"startOffset":416,"endOffset":621,"count":0},{"startOffset":660,"endOffset":761,"count":0},{"startOffset":800,"endOffset":900,"count":0},{"startOffset":1239,"endOffset":1252,"count":0},{"startOffset":1280,"endOffset":1344,"count":0},{"startOffset":1531,"endOffset":1589,"count":0},{"startOffset":1648,"endOffset":1706,"count":0},{"startOffset":1765,"endOffset":1823,"count":0},{"startOffset":1884,"endOffset":2170,"count":1},{"startOffset":2194,"endOffset":2211,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1970,"endOffset":2163,"count":1},{"startOffset":2137,"endOffset":2162,"count":0}],"isBlockCoverage":true},{"functionName":"format","ranges":[{"startOffset":2242,"endOffset":2438,"count":2},{"startOffset":2349,"endOffset":2410,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":2442,"endOffset":2483,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2487,"endOffset":2877,"count":0}],"isBlockCoverage":false},{"functionName":"compareMain","ranges":[{"startOffset":2881,"endOffset":3172,"count":0}],"isBlockCoverage":false},{"functionName":"comparePre","ranges":[{"startOffset":3176,"endOffset":4027,"count":0}],"isBlockCoverage":false},{"functionName":"compareBuild","ranges":[{"startOffset":4031,"endOffset":4573,"count":0}],"isBlockCoverage":false},{"functionName":"inc","ranges":[{"startOffset":4726,"endOffset":8728,"count":0}],"isBlockCoverage":false}]},{"scriptId":"530","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/parse-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":324,"count":1}],"isBlockCoverage":true},{"functionName":"parseOptions","ranges":[{"startOffset":153,"endOffset":293,"count":4},{"startOffset":208,"endOffset":292,"count":0}],"isBlockCoverage":true}]},{"scriptId":"531","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/identifiers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":410,"count":1}],"isBlockCoverage":true},{"functionName":"compareIdentifiers","ranges":[{"startOffset":54,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"rcompareIdentifiers","ranges":[{"startOffset":308,"endOffset":342,"count":0}],"isBlockCoverage":false}]},{"scriptId":"532","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":317,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":58,"endOffset":292,"count":0}],"isBlockCoverage":false}]},{"scriptId":"533","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":162,"count":1}],"isBlockCoverage":true},{"functionName":"valid","ranges":[{"startOffset":47,"endOffset":138,"count":0}],"isBlockCoverage":false}]},{"scriptId":"534","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/clean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":191,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":47,"endOffset":167,"count":0}],"isBlockCoverage":false}]},{"scriptId":"535","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/inc.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"inc","ranges":[{"startOffset":57,"endOffset":442,"count":0}],"isBlockCoverage":false}]},{"scriptId":"536","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1612,"count":1}],"isBlockCoverage":true},{"functionName":"diff","ranges":[{"startOffset":50,"endOffset":1588,"count":0}],"isBlockCoverage":false}]},{"scriptId":"537","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/major.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"major","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"538","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/minor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"minor","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"539","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/patch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"patch","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"540","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/prerelease.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":220,"count":1}],"isBlockCoverage":true},{"functionName":"prerelease","ranges":[{"startOffset":52,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"541","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":156,"count":1}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":60,"endOffset":129,"count":0}],"isBlockCoverage":false}]},{"scriptId":"542","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rcompare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"rcompare","ranges":[{"startOffset":54,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"543","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-loose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"compareLoose","ranges":[{"startOffset":58,"endOffset":87,"count":0}],"isBlockCoverage":false}]},{"scriptId":"544","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-build.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":267,"count":1}],"isBlockCoverage":true},{"functionName":"compareBuild","ranges":[{"startOffset":65,"endOffset":236,"count":0}],"isBlockCoverage":false}]},{"scriptId":"545","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/sort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":147,"count":1}],"isBlockCoverage":true},{"functionName":"sort","ranges":[{"startOffset":61,"endOffset":124,"count":0}],"isBlockCoverage":false}]},{"scriptId":"546","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rsort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":149,"count":1}],"isBlockCoverage":true},{"functionName":"rsort","ranges":[{"startOffset":62,"endOffset":125,"count":0}],"isBlockCoverage":false}]},{"scriptId":"547","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"gt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"548","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"lt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"549","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":112,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":48,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"550","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/neq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":114,"count":1}],"isBlockCoverage":true},{"functionName":"neq","ranges":[{"startOffset":49,"endOffset":92,"count":0}],"isBlockCoverage":false}]},{"scriptId":"551","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"gte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"552","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"lte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"553","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/cmp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":947,"count":1}],"isBlockCoverage":true},{"functionName":"cmp","ranges":[{"startOffset":181,"endOffset":925,"count":0}],"isBlockCoverage":false}]},{"scriptId":"554","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/coerce.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1513,"count":1}],"isBlockCoverage":true},{"functionName":"coerce","ranges":[{"startOffset":145,"endOffset":1488,"count":0}],"isBlockCoverage":false}]},{"scriptId":"555","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/comparator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3617,"count":1}],"isBlockCoverage":true},{"functionName":"get ANY","ranges":[{"startOffset":100,"endOffset":131,"count":2}],"isBlockCoverage":true},{"functionName":"Comparator","ranges":[{"startOffset":135,"endOffset":682,"count":2},{"startOffset":238,"endOffset":358,"count":0},{"startOffset":556,"endOffset":585,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":686,"endOffset":1182,"count":2},{"startOffset":734,"endOffset":757,"count":0},{"startOffset":818,"endOffset":882,"count":0},{"startOffset":930,"endOffset":934,"count":0},{"startOffset":966,"endOffset":998,"count":0},{"startOffset":1077,"endOffset":1108,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":1186,"endOffset":1225,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":1229,"endOffset":1609,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":1613,"endOffset":3323,"count":0}],"isBlockCoverage":false}]},{"scriptId":"556","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/range.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14514,"count":1}],"isBlockCoverage":true},{"functionName":"Range","ranges":[{"startOffset":55,"endOffset":2052,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2056,"endOffset":2197,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2201,"endOffset":2240,"count":0}],"isBlockCoverage":false},{"functionName":"parseRange","ranges":[{"startOffset":2244,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":4531,"endOffset":5161,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":5229,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"isNullSet","ranges":[{"startOffset":6111,"endOffset":6138,"count":0}],"isBlockCoverage":false},{"functionName":"isAny","ranges":[{"startOffset":6153,"endOffset":6172,"count":0}],"isBlockCoverage":false},{"functionName":"isSatisfiable","ranges":[{"startOffset":6294,"endOffset":6700,"count":0}],"isBlockCoverage":false},{"functionName":"parseComparator","ranges":[{"startOffset":6870,"endOffset":7183,"count":0}],"isBlockCoverage":false},{"functionName":"isX","ranges":[{"startOffset":7197,"endOffset":7248,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTildes","ranges":[{"startOffset":7584,"endOffset":7707,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTilde","ranges":[{"startOffset":7730,"endOffset":8404,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCarets","ranges":[{"startOffset":8697,"endOffset":8820,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCaret","ranges":[{"startOffset":8843,"endOffset":10145,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRanges","ranges":[{"startOffset":10170,"endOffset":10323,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRange","ranges":[{"startOffset":10347,"endOffset":12047,"count":0}],"isBlockCoverage":false},{"functionName":"replaceStars","ranges":[{"startOffset":12193,"endOffset":12378,"count":0}],"isBlockCoverage":false},{"functionName":"replaceGTE0","ranges":[{"startOffset":12400,"endOffset":12555,"count":0}],"isBlockCoverage":false},{"functionName":"hyphenReplace","ranges":[{"startOffset":12797,"endOffset":13471,"count":0}],"isBlockCoverage":false},{"functionName":"testSet","ranges":[{"startOffset":13489,"endOffset":14513,"count":0}],"isBlockCoverage":false}]},{"scriptId":"557","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lru-cache/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8186,"count":1}],"isBlockCoverage":true},{"functionName":"naiveLength","ranges":[{"startOffset":510,"endOffset":517,"count":0}],"isBlockCoverage":false},{"functionName":"LRUCache","ranges":[{"startOffset":853,"endOffset":1751,"count":1},{"startOffset":920,"endOffset":946,"count":0},{"startOffset":972,"endOffset":984,"count":0},{"startOffset":1069,"endOffset":1125,"count":0},{"startOffset":1235,"endOffset":1246,"count":0},{"startOffset":1350,"endOffset":1363,"count":0},{"startOffset":1439,"endOffset":1476,"count":0},{"startOffset":1484,"endOffset":1530,"count":0}],"isBlockCoverage":true},{"functionName":"set max","ranges":[{"startOffset":1799,"endOffset":1969,"count":0}],"isBlockCoverage":false},{"functionName":"get max","ranges":[{"startOffset":1972,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"set allowStale","ranges":[{"startOffset":2013,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"get allowStale","ranges":[{"startOffset":2086,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"set maxAge","ranges":[{"startOffset":2142,"endOffset":2300,"count":0}],"isBlockCoverage":false},{"functionName":"get maxAge","ranges":[{"startOffset":2303,"endOffset":2347,"count":0}],"isBlockCoverage":false},{"functionName":"set lengthCalculator","ranges":[{"startOffset":2408,"endOffset":2765,"count":0}],"isBlockCoverage":false},{"functionName":"get lengthCalculator","ranges":[{"startOffset":2768,"endOffset":2826,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":2830,"endOffset":2867,"count":0}],"isBlockCoverage":false},{"functionName":"get itemCount","ranges":[{"startOffset":2870,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"rforEach","ranges":[{"startOffset":2923,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":3142,"endOffset":3356,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":3360,"endOffset":3425,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":3429,"endOffset":3498,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":3502,"endOffset":3858,"count":1},{"startOffset":3535,"endOffset":3560,"count":0},{"startOffset":3561,"endOffset":3593,"count":0},{"startOffset":3595,"endOffset":3673,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3626,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"dump","ranges":[{"startOffset":3862,"endOffset":4064,"count":0}],"isBlockCoverage":false},{"functionName":"dumpLru","ranges":[{"startOffset":4068,"endOffset":4110,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4114,"endOffset":5376,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":5380,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5517,"endOffset":5564,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":5568,"endOffset":5617,"count":0}],"isBlockCoverage":false},{"functionName":"pop","ranges":[{"startOffset":5621,"endOffset":5746,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":5750,"endOffset":5801,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5805,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"prune","ranges":[{"startOffset":6382,"endOffset":6459,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6475,"endOffset":6871,"count":0}],"isBlockCoverage":false},{"functionName":"isStale","ranges":[{"startOffset":6889,"endOffset":7094,"count":0}],"isBlockCoverage":false},{"functionName":"trim","ranges":[{"startOffset":7109,"endOffset":7497,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":7511,"endOffset":7738,"count":0}],"isBlockCoverage":false},{"functionName":"Entry","ranges":[{"startOffset":7756,"endOffset":7923,"count":0}],"isBlockCoverage":false},{"functionName":"forEachStep","ranges":[{"startOffset":7947,"endOffset":8158,"count":0}],"isBlockCoverage":false}]},{"scriptId":"558","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/yallist.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8411,"count":1},{"startOffset":8397,"endOffset":8410,"count":0}],"isBlockCoverage":true},{"functionName":"Yallist","ranges":[{"startOffset":85,"endOffset":517,"count":1},{"startOffset":163,"endOffset":193,"count":0},{"startOffset":263,"endOffset":300,"count":0},{"startOffset":302,"endOffset":371,"count":0},{"startOffset":403,"endOffset":500,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":321,"endOffset":366,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.removeNode","ranges":[{"startOffset":550,"endOffset":1001,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshiftNode","ranges":[{"startOffset":1035,"endOffset":1334,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pushNode","ranges":[{"startOffset":1365,"endOffset":1664,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.push","ranges":[{"startOffset":1691,"endOffset":1814,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshift","ranges":[{"startOffset":1844,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pop","ranges":[{"startOffset":1996,"endOffset":2224,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.shift","ranges":[{"startOffset":2252,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEach","ranges":[{"startOffset":2510,"endOffset":2691,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEachReverse","ranges":[{"startOffset":2728,"endOffset":2923,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.get","ranges":[{"startOffset":2949,"endOffset":3182,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.getReverse","ranges":[{"startOffset":3215,"endOffset":3448,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.map","ranges":[{"startOffset":3474,"endOffset":3690,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.mapReverse","ranges":[{"startOffset":3723,"endOffset":3939,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduce","ranges":[{"startOffset":3968,"endOffset":4363,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduceReverse","ranges":[{"startOffset":4399,"endOffset":4808,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArray","ranges":[{"startOffset":4838,"endOffset":5018,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArrayReverse","ranges":[{"startOffset":5055,"endOffset":5235,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.slice","ranges":[{"startOffset":5263,"endOffset":5790,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.sliceReverse","ranges":[{"startOffset":5825,"endOffset":6362,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.splice","ranges":[{"startOffset":6391,"endOffset":7034,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reverse","ranges":[{"startOffset":7064,"endOffset":7322,"count":0}],"isBlockCoverage":false},{"functionName":"insert","ranges":[{"startOffset":7324,"endOffset":7643,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":7645,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":7795,"endOffset":7946,"count":0}],"isBlockCoverage":false},{"functionName":"Node","ranges":[{"startOffset":7948,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"559","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/iterator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":30,"endOffset":206,"count":1}],"isBlockCoverage":true},{"functionName":"Yallist.","ranges":[{"startOffset":90,"endOffset":204,"count":0}],"isBlockCoverage":false}]},{"scriptId":"560","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/satisfies.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"satisfies","ranges":[{"startOffset":60,"endOffset":205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"561","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/to-comparators.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":268,"count":1}],"isBlockCoverage":true},{"functionName":"toComparators","ranges":[{"startOffset":115,"endOffset":235,"count":0}],"isBlockCoverage":false}]},{"scriptId":"562","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/max-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":579,"count":1}],"isBlockCoverage":true},{"functionName":"maxSatisfying","ranges":[{"startOffset":109,"endOffset":547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"563","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"minSatisfying","ranges":[{"startOffset":108,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"564","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-version.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"minVersion","ranges":[{"startOffset":144,"endOffset":1471,"count":0}],"isBlockCoverage":false}]},{"scriptId":"565","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":312,"count":1}],"isBlockCoverage":true},{"functionName":"validRange","ranges":[{"startOffset":61,"endOffset":283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"566","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/outside.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2190,"count":1}],"isBlockCoverage":true},{"functionName":"outside","ranges":[{"startOffset":390,"endOffset":2163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"567","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/gtr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":217,"count":1}],"isBlockCoverage":true},{"functionName":"gtr","ranges":[{"startOffset":129,"endOffset":195,"count":0}],"isBlockCoverage":false}]},{"scriptId":"568","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/ltr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":213,"count":1}],"isBlockCoverage":true},{"functionName":"ltr","ranges":[{"startOffset":125,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"569","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/intersects.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true},{"functionName":"intersects","ranges":[{"startOffset":61,"endOffset":181,"count":0}],"isBlockCoverage":false}]},{"scriptId":"570","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/simplify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1341,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":329,"endOffset":1340,"count":0}],"isBlockCoverage":false}]},{"scriptId":"571","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/subset.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7510,"count":1}],"isBlockCoverage":true},{"functionName":"subset","ranges":[{"startOffset":1996,"endOffset":2727,"count":0}],"isBlockCoverage":false},{"functionName":"simpleSubset","ranges":[{"startOffset":2869,"endOffset":6974,"count":0}],"isBlockCoverage":false},{"functionName":"higherGT","ranges":[{"startOffset":7025,"endOffset":7229,"count":0}],"isBlockCoverage":false},{"functionName":"lowerLT","ranges":[{"startOffset":7280,"endOffset":7484,"count":0}],"isBlockCoverage":false}]},{"scriptId":"572","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/property.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6165,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":331,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeComplex","ranges":[{"startOffset":457,"endOffset":572,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":622,"endOffset":708,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePrimitive","ranges":[{"startOffset":756,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"Property","ranges":[{"startOffset":1125,"endOffset":1167,"count":0}],"isBlockCoverage":false},{"functionName":"compareKeys","ranges":[{"startOffset":1171,"endOffset":1692,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1696,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexProperty","ranges":[{"startOffset":2881,"endOffset":2949,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2953,"endOffset":3025,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3029,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3308,"endOffset":3811,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3815,"endOffset":3853,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveProperty","ranges":[{"startOffset":3981,"endOffset":4049,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":4053,"endOffset":4328,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4332,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5018,"endOffset":6023,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6027,"endOffset":6079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"573","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2777,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":329,"endOffset":675,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":705,"endOffset":901,"count":0}],"isBlockCoverage":false},{"functionName":"SymbolValue","ranges":[{"startOffset":1012,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1115,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":1409,"endOffset":1540,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1544,"endOffset":1651,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":1655,"endOffset":1788,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1792,"endOffset":1956,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSymbolValue","ranges":[{"startOffset":2159,"endOffset":2232,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2236,"endOffset":2726,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":2730,"endOffset":2774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"574","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-string-escape/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":644,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":17,"endOffset":643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"575","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/well-known-symbols/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":800,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":672,"endOffset":689,"count":12}],"isBlockCoverage":true},{"functionName":"exports.isWellKnown","ranges":[{"startOffset":715,"endOffset":747,"count":0}],"isBlockCoverage":false},{"functionName":"exports.getLabel","ranges":[{"startOffset":767,"endOffset":799,"count":0}],"isBlockCoverage":false}]},{"scriptId":"576","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/bigInt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":906,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":714,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":718,"endOffset":758,"count":0}],"isBlockCoverage":false}]},{"scriptId":"577","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/boolean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":931,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":286,"count":0}],"isBlockCoverage":false},{"functionName":"BooleanValue","ranges":[{"startOffset":425,"endOffset":473,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":477,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":737,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":741,"endOffset":781,"count":0}],"isBlockCoverage":false}]},{"scriptId":"578","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/null.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":737,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":273,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":406,"endOffset":497,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":501,"endOffset":593,"count":0}],"isBlockCoverage":false}]},{"scriptId":"579","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/number.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":969,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"NumberValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":777,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":781,"endOffset":821,"count":0}],"isBlockCoverage":false}]},{"scriptId":"580","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/undefined.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":421,"endOffset":512,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":516,"endOffset":618,"count":0}],"isBlockCoverage":false}]},{"scriptId":"581","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/shouldCompareDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":573,"count":1}],"isBlockCoverage":true},{"functionName":"shouldCompareDeep","ranges":[{"startOffset":206,"endOffset":537,"count":3},{"startOffset":297,"endOffset":535,"count":0}],"isBlockCoverage":true}]},{"scriptId":"582","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/symbolProperties.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2759,"count":1}],"isBlockCoverage":true},{"functionName":"Comparable","ranges":[{"startOffset":247,"endOffset":348,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":352,"endOffset":533,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":537,"endOffset":1293,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1297,"endOffset":2003,"count":0}],"isBlockCoverage":false},{"functionName":"Collector","ranges":[{"startOffset":2152,"endOffset":2288,"count":0}],"isBlockCoverage":false},{"functionName":"collectAll","ranges":[{"startOffset":2292,"endOffset":2538,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2542,"endOffset":2635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"583","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13805,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":630,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"compareComplexShape","ranges":[{"startOffset":642,"endOffset":1886,"count":0}],"isBlockCoverage":false},{"functionName":"diffDescriptors","ranges":[{"startOffset":1888,"endOffset":13605,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":13649,"endOffset":13784,"count":0}],"isBlockCoverage":false}]},{"scriptId":"584","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Indenter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":360,"count":1}],"isBlockCoverage":true},{"functionName":"Indenter","ranges":[{"startOffset":33,"endOffset":144,"count":1}],"isBlockCoverage":true},{"functionName":"increase","ranges":[{"startOffset":148,"endOffset":216,"count":0}],"isBlockCoverage":false},{"functionName":"decrease","ranges":[{"startOffset":220,"endOffset":288,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":292,"endOffset":331,"count":0}],"isBlockCoverage":false}]},{"scriptId":"585","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/format.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3075,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":241,"endOffset":251,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptor","ranges":[{"startOffset":295,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2953,"endOffset":3050,"count":0}],"isBlockCoverage":false}]},{"scriptId":"586","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/serialize.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12422,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4159,"endOffset":4194,"count":31}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4241,"endOffset":4276,"count":31}],"isBlockCoverage":true},{"functionName":"DescriptorSerializationError","ranges":[{"startOffset":4333,"endOffset":4487,"count":0}],"isBlockCoverage":false},{"functionName":"MissingPluginError","ranges":[{"startOffset":4534,"endOffset":4722,"count":0}],"isBlockCoverage":false},{"functionName":"PointerLookupError","ranges":[{"startOffset":4769,"endOffset":4936,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedPluginError","ranges":[{"startOffset":4987,"endOffset":5271,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedVersion","ranges":[{"startOffset":5373,"endOffset":5576,"count":0}],"isBlockCoverage":false},{"functionName":"shallowSerializeDescriptor","ranges":[{"startOffset":5580,"endOffset":5763,"count":0}],"isBlockCoverage":false},{"functionName":"serializeState","ranges":[{"startOffset":5765,"endOffset":6401,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6403,"endOffset":8213,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeState","ranges":[{"startOffset":8245,"endOffset":8564,"count":0}],"isBlockCoverage":false},{"functionName":"shallowDeserializeDescriptor","ranges":[{"startOffset":8566,"endOffset":8761,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeRecord","ranges":[{"startOffset":8763,"endOffset":9449,"count":0}],"isBlockCoverage":false},{"functionName":"buildPluginMap","ranges":[{"startOffset":9451,"endOffset":10790,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":10792,"endOffset":12387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"587","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/md5-hex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":406,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":66,"endOffset":404,"count":0}],"isBlockCoverage":false}]},{"scriptId":"588","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9570,"count":1}],"isBlockCoverage":true},{"functionName":"encodeInteger","ranges":[{"startOffset":689,"endOffset":828,"count":0}],"isBlockCoverage":false},{"functionName":"encodeValue","ranges":[{"startOffset":830,"endOffset":3045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeValue","ranges":[{"startOffset":3047,"endOffset":5534,"count":0}],"isBlockCoverage":false},{"functionName":"buildBuffer","ranges":[{"startOffset":5536,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6160,"endOffset":7889,"count":0}],"isBlockCoverage":false},{"functionName":"decodePlugins","ranges":[{"startOffset":7915,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"decodeRecord","ranges":[{"startOffset":8465,"endOffset":9182,"count":0}],"isBlockCoverage":false},{"functionName":"extractVersion","ranges":[{"startOffset":9220,"endOffset":9288,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":9330,"endOffset":9545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"589","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/flattenDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"flattenDeep","ranges":[{"startOffset":412,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"590","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFlatten.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1201,"count":1}],"isBlockCoverage":true},{"functionName":"baseFlatten","ranges":[{"startOffset":568,"endOffset":1169,"count":0}],"isBlockCoverage":false}]},{"scriptId":"591","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isFlattenable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1},{"startOffset":208,"endOffset":219,"count":0}],"isBlockCoverage":true},{"functionName":"isFlattenable","ranges":[{"startOffset":430,"endOffset":574,"count":0}],"isBlockCoverage":false}]},{"scriptId":"592","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/pointer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":617,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":63,"endOffset":120,"count":0}],"isBlockCoverage":false},{"functionName":"Pointer","ranges":[{"startOffset":249,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":392,"endOffset":435,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":439,"endOffset":479,"count":0}],"isBlockCoverage":false}]},{"scriptId":"593","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-error/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"isError","ranges":[{"startOffset":160,"endOffset":596,"count":2},{"startOffset":217,"endOffset":246,"count":0},{"startOffset":427,"endOffset":595,"count":0}],"isBlockCoverage":true}]},{"scriptId":"594","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7961,"count":1},{"startOffset":184,"endOffset":189,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":290,"endOffset":398,"count":70}],"isBlockCoverage":true},{"functionName":"StackUtils","ranges":[{"startOffset":581,"endOffset":1041,"count":1}],"isBlockCoverage":true},{"functionName":"nodeInternals","ranges":[{"startOffset":1052,"endOffset":1099,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":1103,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"captureString","ranges":[{"startOffset":2203,"endOffset":2601,"count":0}],"isBlockCoverage":false},{"functionName":"capture","ranges":[{"startOffset":2605,"endOffset":3178,"count":0}],"isBlockCoverage":false},{"functionName":"at","ranges":[{"startOffset":3182,"endOffset":4236,"count":0}],"isBlockCoverage":false},{"functionName":"parseLine","ranges":[{"startOffset":4240,"endOffset":6388,"count":0}],"isBlockCoverage":false},{"functionName":"setFile","ranges":[{"startOffset":6392,"endOffset":6629,"count":0}],"isBlockCoverage":false},{"functionName":"ignoredPackagesRegExp","ranges":[{"startOffset":6631,"endOffset":6913,"count":1},{"startOffset":6737,"endOffset":6912,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6778,"endOffset":6808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"595","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":236,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":85,"endOffset":234,"count":0}],"isBlockCoverage":false}]},{"scriptId":"596","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/cbor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2598,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":2526,"endOffset":2597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"597","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/commented.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8911,"count":1}],"isBlockCoverage":true},{"functionName":"plural","ranges":[{"startOffset":242,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1621,"endOffset":2061,"count":0}],"isBlockCoverage":false},{"functionName":"Commented","ranges":[{"startOffset":2313,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"_tag_24","ranges":[{"startOffset":3493,"endOffset":3678,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3682,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3766,"endOffset":3890,"count":0}],"isBlockCoverage":false},{"functionName":"comment","ranges":[{"startOffset":4466,"endOffset":5155,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":5184,"endOffset":5277,"count":0}],"isBlockCoverage":false},{"functionName":"_on_read","ranges":[{"startOffset":5306,"endOffset":5625,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":5654,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start_string","ranges":[{"startOffset":6407,"endOffset":6713,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":6742,"endOffset":7824,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":7853,"endOffset":7888,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":7918,"endOffset":8748,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":8777,"endOffset":8880,"count":0}],"isBlockCoverage":false}]},{"scriptId":"598","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8215,"count":1}],"isBlockCoverage":true},{"functionName":"exports.utf8","ranges":[{"startOffset":492,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":546,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"isBufferish","ranges":[{"startOffset":823,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"bufferishToBuffer","ranges":[{"startOffset":1098,"endOffset":1356,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORint","ranges":[{"startOffset":1381,"endOffset":1905,"count":0}],"isBlockCoverage":false},{"functionName":"writeHalf","ranges":[{"startOffset":1927,"endOffset":4036,"count":0}],"isBlockCoverage":false},{"functionName":"parseHalf","ranges":[{"startOffset":4058,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORfloat","ranges":[{"startOffset":4418,"endOffset":4687,"count":0}],"isBlockCoverage":false},{"functionName":"hex","ranges":[{"startOffset":4703,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"bin","ranges":[{"startOffset":4788,"endOffset":5042,"count":0}],"isBlockCoverage":false},{"functionName":"arrayEqual","ranges":[{"startOffset":5065,"endOffset":5279,"count":0}],"isBlockCoverage":false},{"functionName":"bufferToBigInt","ranges":[{"startOffset":5306,"endOffset":5382,"count":0}],"isBlockCoverage":false},{"functionName":"cborValueToString","ranges":[{"startOffset":5412,"endOffset":7059,"count":0}],"isBlockCoverage":false},{"functionName":"guessEncoding","ranges":[{"startOffset":7085,"endOffset":7418,"count":0}],"isBlockCoverage":false},{"functionName":"base64url","ranges":[{"startOffset":7657,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"base64","ranges":[{"startOffset":7965,"endOffset":8048,"count":0}],"isBlockCoverage":false},{"functionName":"isBigEndian","ranges":[{"startOffset":8072,"endOffset":8214,"count":0}],"isBlockCoverage":false}]},{"scriptId":"599","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nofilter/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28585,"count":1}],"isBlockCoverage":true},{"functionName":"NoFilter","ranges":[{"startOffset":3473,"endOffset":5501,"count":0}],"isBlockCoverage":false},{"functionName":"isNoFilter","ranges":[{"startOffset":5664,"endOffset":5716,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":6159,"endOffset":6351,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":7149,"endOffset":8408,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":8437,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"_bufArray","ranges":[{"startOffset":8811,"endOffset":9199,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":9982,"endOffset":10504,"count":0}],"isBlockCoverage":false},{"functionName":"readFull","ranges":[{"startOffset":10957,"endOffset":12088,"count":0}],"isBlockCoverage":false},{"functionName":"promise","ranges":[{"startOffset":12421,"endOffset":12847,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":13163,"endOffset":13614,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":13827,"endOffset":13883,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":14414,"endOffset":14924,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":15137,"endOffset":15184,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":15588,"endOffset":15702,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16207,"endOffset":16468,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16497,"endOffset":16823,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":16931,"endOffset":17040,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt","ranges":[{"startOffset":17265,"endOffset":17670,"count":0}],"isBlockCoverage":false},{"functionName":"readUBigInt","ranges":[{"startOffset":17884,"endOffset":18034,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt","ranges":[{"startOffset":18276,"endOffset":18596,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":18759,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19026,"endOffset":19133,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":19315,"endOffset":19422,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19609,"endOffset":19716,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":19900,"endOffset":20007,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":20172,"endOffset":20253,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":20438,"endOffset":20544,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":20726,"endOffset":20832,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":21021,"endOffset":21127,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":21313,"endOffset":21419,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatLE","ranges":[{"startOffset":21592,"endOffset":21697,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBE","ranges":[{"startOffset":21867,"endOffset":21972,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleLE","ranges":[{"startOffset":22146,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBE","ranges":[{"startOffset":22423,"endOffset":22530,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":22705,"endOffset":22816,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":22988,"endOffset":23099,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":23290,"endOffset":23403,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":23591,"endOffset":23704,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":23831,"endOffset":23955,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":24101,"endOffset":24231,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":24377,"endOffset":24507,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":24653,"endOffset":24783,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":24929,"endOffset":25059,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":25183,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":25449,"endOffset":25577,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":25721,"endOffset":25849,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":25993,"endOffset":26121,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":26265,"endOffset":26393,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatLE","ranges":[{"startOffset":26528,"endOffset":26656,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBE","ranges":[{"startOffset":26788,"endOffset":26916,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleLE","ranges":[{"startOffset":27051,"endOffset":27181,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBE","ranges":[{"startOffset":27313,"endOffset":27443,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":27586,"endOffset":27720,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":27860,"endOffset":27994,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":28140,"endOffset":28276,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":28419,"endOffset":28555,"count":0}],"isBlockCoverage":false}]},{"scriptId":"600","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1352,"count":1}],"isBlockCoverage":true}]},{"scriptId":"601","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/decoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20596,"count":1}],"isBlockCoverage":true},{"functionName":"parentArray","ranges":[{"startOffset":508,"endOffset":641,"count":0}],"isBlockCoverage":false},{"functionName":"parentBufferStream","ranges":[{"startOffset":643,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"UnexpectedDataError","ranges":[{"startOffset":831,"endOffset":996,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":3420,"endOffset":3794,"count":0}],"isBlockCoverage":false},{"functionName":"Decoder","ranges":[{"startOffset":4237,"endOffset":4930,"count":0}],"isBlockCoverage":false},{"functionName":"nullcheck","ranges":[{"startOffset":5301,"endOffset":5710,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirstSync","ranges":[{"startOffset":6389,"endOffset":7548,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAllSync","ranges":[{"startOffset":8073,"endOffset":8838,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirst","ranges":[{"startOffset":9562,"endOffset":11046,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAll","ranges":[{"startOffset":11770,"endOffset":12395,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12433,"endOffset":12495,"count":0}],"isBlockCoverage":false},{"functionName":"_onRead","ranges":[{"startOffset":12574,"endOffset":12625,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":12867,"endOffset":20537,"count":0}],"isBlockCoverage":false}]},{"scriptId":"602","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/vendor/binary-parse-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2692,"count":1}],"isBlockCoverage":true},{"functionName":"BinaryParseStream","ranges":[{"startOffset":1100,"endOffset":1513,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1517,"endOffset":2086,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":2331,"endOffset":2462,"count":0}],"isBlockCoverage":false},{"functionName":"__restart","ranges":[{"startOffset":2466,"endOffset":2566,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":2570,"endOffset":2653,"count":0}],"isBlockCoverage":false}]},{"scriptId":"603","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/tagged.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10762,"count":1},{"startOffset":7721,"endOffset":7750,"count":19}],"isBlockCoverage":true},{"functionName":"setBuffersToJSON","ranges":[{"startOffset":135,"endOffset":954,"count":0}],"isBlockCoverage":false},{"functionName":"b64this","ranges":[{"startOffset":956,"endOffset":1052,"count":0}],"isBlockCoverage":false},{"functionName":"b64urlThis","ranges":[{"startOffset":1054,"endOffset":1156,"count":0}],"isBlockCoverage":false},{"functionName":"hexThis","ranges":[{"startOffset":1158,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"swapEndian","ranges":[{"startOffset":1258,"endOffset":1667,"count":0}],"isBlockCoverage":false},{"functionName":"0","ranges":[{"startOffset":2409,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"1","ranges":[{"startOffset":2478,"endOffset":2501,"count":0}],"isBlockCoverage":false},{"functionName":"2","ranges":[{"startOffset":2548,"endOffset":2576,"count":0}],"isBlockCoverage":false},{"functionName":"3","ranges":[{"startOffset":2623,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"21","ranges":[{"startOffset":2752,"endOffset":2911,"count":0}],"isBlockCoverage":false},{"functionName":"22","ranges":[{"startOffset":2984,"endOffset":3137,"count":0}],"isBlockCoverage":false},{"functionName":"23","ranges":[{"startOffset":3218,"endOffset":3371,"count":0}],"isBlockCoverage":false},{"functionName":"32","ranges":[{"startOffset":3409,"endOffset":3424,"count":0}],"isBlockCoverage":false},{"functionName":"33","ranges":[{"startOffset":3468,"endOffset":4627,"count":0}],"isBlockCoverage":false},{"functionName":"34","ranges":[{"startOffset":4668,"endOffset":5867,"count":0}],"isBlockCoverage":false},{"functionName":"35","ranges":[{"startOffset":5920,"endOffset":5938,"count":0}],"isBlockCoverage":false},{"functionName":"258","ranges":[{"startOffset":6027,"endOffset":6042,"count":0}],"isBlockCoverage":false},{"functionName":"_toTypedArray","ranges":[{"startOffset":7009,"endOffset":7672,"count":0}],"isBlockCoverage":false},{"functionName":"Tagged","ranges":[{"startOffset":8277,"endOffset":8615,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":8619,"endOffset":8856,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":8953,"endOffset":9025,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":9189,"endOffset":9272,"count":0}],"isBlockCoverage":false},{"functionName":"convert","ranges":[{"startOffset":9824,"endOffset":10302,"count":0}],"isBlockCoverage":false},{"functionName":"get TAGS","ranges":[{"startOffset":10432,"endOffset":10472,"count":0}],"isBlockCoverage":false},{"functionName":"set TAGS","ranges":[{"startOffset":10483,"endOffset":10525,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":10642,"endOffset":10683,"count":1}],"isBlockCoverage":true}]},{"scriptId":"604","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/simple.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2695,"count":1}],"isBlockCoverage":true},{"functionName":"Simple","ranges":[{"startOffset":268,"endOffset":567,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":683,"endOffset":734,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":930,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":1190,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"isSimple","ranges":[{"startOffset":1403,"endOffset":1455,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":2071,"endOffset":2667,"count":0}],"isBlockCoverage":false}]},{"scriptId":"605","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/diagnose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6617,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeOptions","ranges":[{"startOffset":1886,"endOffset":2262,"count":0}],"isBlockCoverage":false},{"functionName":"Diagnose","ranges":[{"startOffset":2529,"endOffset":3414,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3418,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3509,"endOffset":3707,"count":0}],"isBlockCoverage":false},{"functionName":"diagnose","ranges":[{"startOffset":4122,"endOffset":4775,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":4804,"endOffset":4932,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":4954,"endOffset":5115,"count":0}],"isBlockCoverage":false},{"functionName":"_fore","ranges":[{"startOffset":5137,"endOffset":5507,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":5529,"endOffset":5751,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":5773,"endOffset":6194,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":6216,"endOffset":6519,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":6541,"endOffset":6587,"count":0}],"isBlockCoverage":false}]},{"scriptId":"606","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31613,"count":1}],"isBlockCoverage":true},{"functionName":"parseDateType","ranges":[{"startOffset":1747,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"Encoder","ranges":[{"startOffset":4631,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":6051,"endOffset":6261,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":6318,"endOffset":6350,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt8","ranges":[{"startOffset":6470,"endOffset":6576,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt16BE","ranges":[{"startOffset":6698,"endOffset":6810,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt32BE","ranges":[{"startOffset":6935,"endOffset":7047,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloatBE","ranges":[{"startOffset":7176,"endOffset":7286,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDoubleBE","ranges":[{"startOffset":7416,"endOffset":7528,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNaN","ranges":[{"startOffset":7598,"endOffset":7644,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInfinity","ranges":[{"startOffset":7770,"endOffset":7876,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloat","ranges":[{"startOffset":8142,"endOffset":9321,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInt","ranges":[{"startOffset":10074,"endOffset":10925,"count":0}],"isBlockCoverage":false},{"functionName":"_pushIntNum","ranges":[{"startOffset":11192,"endOffset":11409,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNumber","ranges":[{"startOffset":11531,"endOffset":11787,"count":0}],"isBlockCoverage":false},{"functionName":"_pushString","ranges":[{"startOffset":11900,"endOffset":12041,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoolean","ranges":[{"startOffset":12153,"endOffset":12223,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUndefined","ranges":[{"startOffset":12330,"endOffset":12752,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNull","ranges":[{"startOffset":12854,"endOffset":12907,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTag","ranges":[{"startOffset":13024,"endOffset":13081,"count":0}],"isBlockCoverage":false},{"functionName":"_pushJSBigint","ranges":[{"startOffset":13194,"endOffset":13960,"count":0}],"isBlockCoverage":false},{"functionName":"_pushObject","ranges":[{"startOffset":14109,"endOffset":16394,"count":0}],"isBlockCoverage":false},{"functionName":"_encodeAll","ranges":[{"startOffset":16551,"endOffset":16756,"count":0}],"isBlockCoverage":false},{"functionName":"addSemanticType","ranges":[{"startOffset":17172,"endOffset":17565,"count":0}],"isBlockCoverage":false},{"functionName":"pushAny","ranges":[{"startOffset":17771,"endOffset":18684,"count":0}],"isBlockCoverage":false},{"functionName":"pushArray","ranges":[{"startOffset":18990,"endOffset":19516,"count":0}],"isBlockCoverage":false},{"functionName":"removeLoopDetectors","ranges":[{"startOffset":19662,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDate","ranges":[{"startOffset":19947,"endOffset":20619,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBuffer","ranges":[{"startOffset":20774,"endOffset":20870,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNoFilter","ranges":[{"startOffset":21027,"endOffset":21129,"count":0}],"isBlockCoverage":false},{"functionName":"_pushRegexp","ranges":[{"startOffset":21284,"endOffset":21374,"count":0}],"isBlockCoverage":false},{"functionName":"_pushSet","ranges":[{"startOffset":21523,"endOffset":21783,"count":0}],"isBlockCoverage":false},{"functionName":"_pushURL","ranges":[{"startOffset":21932,"endOffset":22020,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoxed","ranges":[{"startOffset":22208,"endOffset":22272,"count":0}],"isBlockCoverage":false},{"functionName":"_pushMap","ranges":[{"startOffset":22469,"endOffset":24462,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTypedArray","ranges":[{"startOffset":24627,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"_pushArrayBuffer","ranges":[{"startOffset":25460,"endOffset":25546,"count":0}],"isBlockCoverage":false},{"functionName":"encodeIndefinite","ranges":[{"startOffset":26458,"endOffset":28127,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":28344,"endOffset":28407,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCanonical","ranges":[{"startOffset":28646,"endOffset":28748,"count":0}],"isBlockCoverage":false},{"functionName":"encodeOne","ranges":[{"startOffset":29014,"endOffset":29093,"count":0}],"isBlockCoverage":false},{"functionName":"encodeAsync","ranges":[{"startOffset":29664,"endOffset":29981,"count":0}],"isBlockCoverage":false},{"functionName":"get SEMANTIC_TYPES","ranges":[{"startOffset":30115,"endOffset":30175,"count":0}],"isBlockCoverage":false},{"functionName":"set SEMANTIC_TYPES","ranges":[{"startOffset":30186,"endOffset":30248,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":30375,"endOffset":30437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"607","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5186,"count":1}],"isBlockCoverage":true},{"functionName":"CborMap","ranges":[{"startOffset":952,"endOffset":999,"count":0}],"isBlockCoverage":false},{"functionName":"_encode","ranges":[{"startOffset":1035,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_decode","ranges":[{"startOffset":1148,"endOffset":1216,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1501,"endOffset":1558,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":1874,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":2283,"endOffset":2346,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":2687,"endOffset":2744,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":2978,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":3366,"endOffset":3472,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3725,"endOffset":3776,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":4173,"endOffset":4393,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":4557,"endOffset":5157,"count":0}],"isBlockCoverage":false}]},{"scriptId":"608","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/map-age-cleaner/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3903,"count":1}],"isBlockCoverage":true},{"functionName":"__awaiter","ranges":[{"startOffset":58,"endOffset":613,"count":0}],"isBlockCoverage":false},{"functionName":"__importDefault","ranges":[{"startOffset":671,"endOffset":752,"count":1},{"startOffset":723,"endOffset":728,"count":0}],"isBlockCoverage":true},{"functionName":"mapAgeCleaner","ranges":[{"startOffset":872,"endOffset":3774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"609","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-defer/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":177,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"610","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6750,"count":1}],"isBlockCoverage":true},{"functionName":"getId","ranges":[{"startOffset":492,"endOffset":749,"count":1},{"startOffset":664,"endOffset":747,"count":0}],"isBlockCoverage":true},{"functionName":"getTmpname","ranges":[{"startOffset":774,"endOffset":976,"count":0}],"isBlockCoverage":false},{"functionName":"cleanupOnExit","ranges":[{"startOffset":978,"endOffset":1161,"count":0}],"isBlockCoverage":false},{"functionName":"serializeActiveFile","ranges":[{"startOffset":1163,"endOffset":1550,"count":0}],"isBlockCoverage":false},{"functionName":"isChownErrOk","ranges":[{"startOffset":1633,"endOffset":1894,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileAsync","ranges":[{"startOffset":1896,"endOffset":4304,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4306,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":4680,"endOffset":6749,"count":0}],"isBlockCoverage":false}]},{"scriptId":"611","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/imurmurhash/imurmurhash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4412,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":443,"endOffset":4407,"count":1},{"startOffset":4352,"endOffset":4405,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3","ranges":[{"startOffset":811,"endOffset":1083,"count":1},{"startOffset":896,"endOffset":903,"count":0},{"startOffset":963,"endOffset":980,"count":0},{"startOffset":982,"endOffset":1018,"count":0},{"startOffset":1044,"endOffset":1077,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3.hash","ranges":[{"startOffset":1254,"endOffset":3073,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.result","ranges":[{"startOffset":3193,"endOffset":3797,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.reset","ranges":[{"startOffset":3937,"endOffset":4078,"count":1},{"startOffset":3997,"endOffset":4003,"count":0}],"isBlockCoverage":true}]},{"scriptId":"612","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9435,"count":1},{"startOffset":8597,"endOffset":8623,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":518,"endOffset":562,"count":0}],"isBlockCoverage":false},{"functionName":"processOk","ranges":[{"startOffset":585,"endOffset":952,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1130,"endOffset":2434,"count":1}],"isBlockCoverage":true},{"functionName":"Emitter","ranges":[{"startOffset":1325,"endOffset":1616,"count":1},{"startOffset":1375,"endOffset":1427,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":1621,"endOffset":1676,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":1681,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2045,"endOffset":2432,"count":0}],"isBlockCoverage":false},{"functionName":"signalExitWrap","ranges":[{"startOffset":2483,"endOffset":2732,"count":1}],"isBlockCoverage":true},{"functionName":"onExit","ranges":[{"startOffset":2519,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2602,"endOffset":2655,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2665,"endOffset":2722,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":2788,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2835,"endOffset":2845,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2850,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2865,"endOffset":8403,"count":1},{"startOffset":3070,"endOffset":3080,"count":0}],"isBlockCoverage":true},{"functionName":"SignalExit","ranges":[{"startOffset":3269,"endOffset":5206,"count":1},{"startOffset":3467,"endOffset":5088,"count":17}],"isBlockCoverage":true},{"functionName":"SignalExit.#sigListeners.","ranges":[{"startOffset":3507,"endOffset":5077,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":5211,"endOffset":5804,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5809,"endOffset":6637,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":6642,"endOffset":7393,"count":0}],"isBlockCoverage":false},{"functionName":"#processReallyExit","ranges":[{"startOffset":7398,"endOffset":7764,"count":0}],"isBlockCoverage":false},{"functionName":"#processEmit","ranges":[{"startOffset":7769,"endOffset":8401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"613","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1560,"count":1}],"isBlockCoverage":true}]},{"scriptId":"614","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/irregular-plurals/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":137,"count":1}],"isBlockCoverage":true}]},{"scriptId":"615","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/state.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":150,"count":1}],"isBlockCoverage":true}]},{"scriptId":"616","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/channel.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7151,"count":1},{"startOffset":2661,"endOffset":2770,"count":0}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":303,"endOffset":1131,"count":2},{"startOffset":747,"endOffset":1129,"count":0}],"isBlockCoverage":true},{"functionName":"addToBuffer","ranges":[{"startOffset":510,"endOffset":540,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":975,"endOffset":1022,"count":0}],"isBlockCoverage":false},{"functionName":"selectAvaMessage","ranges":[{"startOffset":1159,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1167,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"RefCounter","ranges":[{"startOffset":1241,"endOffset":1277,"count":1}],"isBlockCoverage":true},{"functionName":"refAndTest","ranges":[{"startOffset":1280,"endOffset":1326,"count":2}],"isBlockCoverage":true},{"functionName":"testAndUnref","ranges":[{"startOffset":1329,"endOffset":1395,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortHandle","ranges":[{"startOffset":1426,"endOffset":1746,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1719,"endOffset":1727,"count":0}],"isBlockCoverage":false},{"functionName":"forceUnref","ranges":[{"startOffset":1749,"endOffset":1899,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":1902,"endOffset":2040,"count":2}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":2043,"endOffset":2179,"count":2}],"isBlockCoverage":true},{"functionName":"send","ranges":[{"startOffset":2182,"endOffset":2264,"count":23}],"isBlockCoverage":true},{"functionName":"IpcHandle","ranges":[{"startOffset":2287,"endOffset":2409,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":2412,"endOffset":2487,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":2490,"endOffset":2571,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2574,"endOffset":2616,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3157,"endOffset":3187,"count":0}],"isBlockCoverage":false},{"functionName":"flush","ranges":[{"startOffset":3456,"endOffset":3749,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3531,"endOffset":3704,"count":1}],"isBlockCoverage":true},{"functionName":"createChannelEmitter","ranges":[{"startOffset":3859,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"registerSharedWorker","ranges":[{"startOffset":4406,"endOffset":7096,"count":0}],"isBlockCoverage":false}]},{"scriptId":"617","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/utils.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true}]},{"scriptId":"618","url":"node:internal/modules/esm/initialize_import_meta","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1960,"count":1}],"isBlockCoverage":false},{"functionName":"createImportMetaResolve","ranges":[{"startOffset":617,"endOffset":1368,"count":3}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":880,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"initializeImportMeta","ranges":[{"startOffset":1633,"endOffset":1912,"count":3}],"isBlockCoverage":true}]},{"scriptId":"619","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/options.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":278,"count":1}],"isBlockCoverage":true},{"functionName":"exports.get","ranges":[{"startOffset":48,"endOffset":147,"count":0}],"isBlockCoverage":false},{"functionName":"exports.set","ranges":[{"startOffset":164,"endOffset":276,"count":1},{"startOffset":194,"endOffset":250,"count":0}],"isBlockCoverage":true}]},{"scriptId":"620","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-event/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6062,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeEmitter","ranges":[{"startOffset":60,"endOffset":453,"count":3},{"startOffset":105,"endOffset":127,"count":0},{"startOffset":128,"endOffset":155,"count":0},{"startOffset":193,"endOffset":218,"count":0},{"startOffset":219,"endOffset":249,"count":0},{"startOffset":290,"endOffset":346,"count":0}],"isBlockCoverage":true},{"functionName":"pEventMultiple","ranges":[{"startOffset":463,"endOffset":2125,"count":3},{"startOffset":1994,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":560,"endOffset":1917,"count":3},{"startOffset":812,"endOffset":892,"count":0},{"startOffset":1890,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"onItem","ranges":[{"startOffset":1060,"endOffset":1389,"count":3},{"startOffset":1116,"endOffset":1128,"count":0},{"startOffset":1263,"endOffset":1281,"count":2},{"startOffset":1281,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"rejectHandler","ranges":[{"startOffset":1416,"endOffset":1461,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":1475,"endOffset":1675,"count":1}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":2134,"endOffset":2551,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2421,"endOffset":2438,"count":1}],"isBlockCoverage":true},{"functionName":"pEventIterator","ranges":[{"startOffset":2560,"endOffset":6020,"count":0}],"isBlockCoverage":false}]},{"scriptId":"621","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@ava/typescript/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8330,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":352,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"validate","ranges":[{"startOffset":478,"endOffset":1131,"count":0}],"isBlockCoverage":false},{"functionName":"compileTypeScript","ranges":[{"startOffset":1133,"endOffset":1260,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1321,"endOffset":1393,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1436,"endOffset":1654,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1696,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"typescriptProvider","ranges":[{"startOffset":2093,"endOffset":8329,"count":1},{"startOffset":2251,"endOffset":2265,"count":0}],"isBlockCoverage":true},{"functionName":"main","ranges":[{"startOffset":2279,"endOffset":7324,"count":0}],"isBlockCoverage":false},{"functionName":"worker","ranges":[{"startOffset":7329,"endOffset":8322,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7526,"endOffset":7556,"count":3}],"isBlockCoverage":true},{"functionName":"canLoad","ranges":[{"startOffset":7591,"endOffset":7707,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7667,"endOffset":7699,"count":2}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":7714,"endOffset":8311,"count":1},{"startOffset":7935,"endOffset":8023,"count":0},{"startOffset":8055,"endOffset":8118,"count":0},{"startOffset":8247,"endOffset":8281,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7787,"endOffset":7819,"count":2}],"isBlockCoverage":true}]},{"scriptId":"622","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-timeout/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2513,"count":1}],"isBlockCoverage":true},{"functionName":"TimeoutError","ranges":[{"startOffset":43,"endOffset":116,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":315,"endOffset":405,"count":0}],"isBlockCoverage":false},{"functionName":"getDOMException","ranges":[{"startOffset":516,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"getAbortedReason","ranges":[{"startOffset":755,"endOffset":951,"count":0}],"isBlockCoverage":false},{"functionName":"pTimeout","ranges":[{"startOffset":969,"endOffset":2512,"count":0}],"isBlockCoverage":false}]},{"scriptId":"623","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7897,"count":1}],"isBlockCoverage":true},{"functionName":"getEnv","ranges":[{"startOffset":955,"endOffset":1187,"count":0}],"isBlockCoverage":false},{"functionName":"handleArguments","ranges":[{"startOffset":1214,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"handleOutput","ranges":[{"startOffset":1965,"endOffset":2268,"count":0}],"isBlockCoverage":false},{"functionName":"execa","ranges":[{"startOffset":2278,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"execaSync","ranges":[{"startOffset":4687,"endOffset":6032,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptStdin","ranges":[{"startOffset":6063,"endOffset":6191,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptOptions","ranges":[{"startOffset":6225,"endOffset":6316,"count":0}],"isBlockCoverage":false},{"functionName":"create$","ranges":[{"startOffset":6319,"endOffset":6973,"count":1}],"isBlockCoverage":true},{"functionName":"$","ranges":[{"startOffset":6348,"endOffset":6640,"count":0}],"isBlockCoverage":false},{"functionName":"$.sync","ranges":[{"startOffset":6652,"endOffset":6958,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommand","ranges":[{"startOffset":7011,"endOffset":7138,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommandSync","ranges":[{"startOffset":7147,"endOffset":7282,"count":0}],"isBlockCoverage":false},{"functionName":"execaNode","ranges":[{"startOffset":7291,"endOffset":7896,"count":0}],"isBlockCoverage":false}]},{"scriptId":"624","url":"node:child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27198,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1936,"endOffset":1965,"count":0}],"isBlockCoverage":false},{"functionName":"fork","ranges":[{"startOffset":3430,"endOffset":5105,"count":0}],"isBlockCoverage":false},{"functionName":"_forkChild","ranges":[{"startOffset":5107,"endOffset":5596,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecArgs","ranges":[{"startOffset":5598,"endOffset":6112,"count":0}],"isBlockCoverage":false},{"functionName":"exec","ranges":[{"startOffset":6649,"endOffset":6896,"count":0}],"isBlockCoverage":false},{"functionName":"customPromiseExecFunction","ranges":[{"startOffset":6932,"endOffset":7296,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6953,"endOffset":7293,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecFileArgs","ranges":[{"startOffset":7433,"endOffset":8331,"count":0}],"isBlockCoverage":false},{"functionName":"execFile","ranges":[{"startOffset":8944,"endOffset":13708,"count":0}],"isBlockCoverage":false},{"functionName":"copyProcessEnvToEnv","ranges":[{"startOffset":13852,"endOffset":14052,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeSpawnArguments","ranges":[{"startOffset":14054,"endOffset":19321,"count":0}],"isBlockCoverage":false},{"functionName":"abortChildProcess","ranges":[{"startOffset":19323,"endOffset":19579,"count":0}],"isBlockCoverage":false},{"functionName":"spawn","ranges":[{"startOffset":20134,"endOffset":21334,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":22094,"endOffset":23602,"count":0}],"isBlockCoverage":false},{"functionName":"checkExecSyncError","ranges":[{"startOffset":23605,"endOffset":23991,"count":0}],"isBlockCoverage":false},{"functionName":"execFileSync","ranges":[{"startOffset":24504,"endOffset":24968,"count":0}],"isBlockCoverage":false},{"functionName":"execSync","ranges":[{"startOffset":25466,"endOffset":25842,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentNullCheck","ranges":[{"startOffset":25845,"endOffset":26068,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentsNullCheck","ranges":[{"startOffset":26071,"endOffset":26233,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":26236,"endOffset":26424,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBuffer","ranges":[{"startOffset":26427,"endOffset":26700,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeKillSignal","ranges":[{"startOffset":26703,"endOffset":27066,"count":0}],"isBlockCoverage":false}]},{"scriptId":"625","url":"node:internal/child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31777,"count":1}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2500,"endOffset":2559,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2566,"endOffset":2620,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2682,"endOffset":2749,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2756,"endOffset":2897,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2927,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"postSend","ranges":[{"startOffset":4488,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5241,"endOffset":5698,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5763,"endOffset":5822,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5829,"endOffset":5883,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5948,"endOffset":6068,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":6075,"endOffset":6234,"count":0}],"isBlockCoverage":false},{"functionName":"stdioStringToArray","ranges":[{"startOffset":6245,"endOffset":6660,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess","ranges":[{"startOffset":6662,"endOffset":8151,"count":0}],"isBlockCoverage":false},{"functionName":"flushStdio","ranges":[{"startOffset":8274,"endOffset":8752,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":8755,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"getHandleWrapType","ranges":[{"startOffset":8848,"endOffset":9077,"count":0}],"isBlockCoverage":false},{"functionName":"closePendingHandle","ranges":[{"startOffset":9079,"endOffset":9192,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.spawn","ranges":[{"startOffset":9226,"endOffset":12793,"count":0}],"isBlockCoverage":false},{"functionName":"onErrorNT","ranges":[{"startOffset":12797,"endOffset":12858,"count":0}],"isBlockCoverage":false},{"functionName":"onSpawnNT","ranges":[{"startOffset":12861,"endOffset":12911,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.kill","ranges":[{"startOffset":12944,"endOffset":13609,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.","ranges":[{"startOffset":13652,"endOffset":13709,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.ref","ranges":[{"startOffset":13742,"endOffset":13796,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.unref","ranges":[{"startOffset":13831,"endOffset":13887,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13890,"endOffset":14887,"count":0}],"isBlockCoverage":false},{"functionName":"setupChannel","ranges":[{"startOffset":15035,"endOffset":27155,"count":0}],"isBlockCoverage":false},{"functionName":"isInternal","ranges":[{"startOffset":27190,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"getValidStdio","ranges":[{"startOffset":27534,"endOffset":30459,"count":0}],"isBlockCoverage":false},{"functionName":"getSocketList","ranges":[{"startOffset":30462,"endOffset":30778,"count":0}],"isBlockCoverage":false},{"functionName":"maybeClose","ranges":[{"startOffset":30781,"endOffset":30982,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":30984,"endOffset":31651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"626","url":"node:dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28253,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCluster","ranges":[{"startOffset":2824,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":3031,"endOffset":4459,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":4570,"endOffset":4648,"count":0}],"isBlockCoverage":false},{"functionName":"startListening","ranges":[{"startOffset":4651,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"replaceHandle","ranges":[{"startOffset":5096,"endOffset":5661,"count":0}],"isBlockCoverage":false},{"functionName":"bufferSize","ranges":[{"startOffset":5663,"endOffset":5955,"count":0}],"isBlockCoverage":false},{"functionName":"bindServerHandle","ranges":[{"startOffset":6023,"endOffset":6433,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.bind","ranges":[{"startOffset":6459,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":9932,"endOffset":10728,"count":0}],"isBlockCoverage":false},{"functionName":"_connect","ranges":[{"startOffset":10732,"endOffset":11078,"count":0}],"isBlockCoverage":false},{"functionName":"doConnect","ranges":[{"startOffset":11081,"endOffset":11723,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.disconnect","ranges":[{"startOffset":11756,"endOffset":12063,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.sendto","ranges":[{"startOffset":12168,"endOffset":12609,"count":0}],"isBlockCoverage":false},{"functionName":"sliceBuffer","ranges":[{"startOffset":12613,"endOffset":13373,"count":0}],"isBlockCoverage":false},{"functionName":"fixBufferList","ranges":[{"startOffset":13376,"endOffset":13760,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":13763,"endOffset":14190,"count":0}],"isBlockCoverage":false},{"functionName":"onListenSuccess","ranges":[{"startOffset":14193,"endOffset":14331,"count":0}],"isBlockCoverage":false},{"functionName":"onListenError","ranges":[{"startOffset":14334,"endOffset":14458,"count":0}],"isBlockCoverage":false},{"functionName":"clearQueue","ranges":[{"startOffset":14461,"endOffset":14658,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.send","ranges":[{"startOffset":15229,"endOffset":18122,"count":0}],"isBlockCoverage":false},{"functionName":"doSend","ranges":[{"startOffset":18125,"endOffset":19264,"count":0}],"isBlockCoverage":false},{"functionName":"afterSend","ranges":[{"startOffset":19266,"endOffset":19443,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.close","ranges":[{"startOffset":19470,"endOffset":20038,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":20080,"endOffset":20213,"count":0}],"isBlockCoverage":false},{"functionName":"socketCloseNT","ranges":[{"startOffset":20217,"endOffset":20271,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":20301,"endOffset":20491,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.remoteAddress","ranges":[{"startOffset":20527,"endOffset":20837,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setBroadcast","ranges":[{"startOffset":20873,"endOffset":21021,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setTTL","ranges":[{"startOffset":21051,"endOffset":21225,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastTTL","ranges":[{"startOffset":21264,"endOffset":21456,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastLoopback","ranges":[{"startOffset":21500,"endOffset":21700,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastInterface","ranges":[{"startOffset":21745,"endOffset":22007,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addMembership","ranges":[{"startOffset":22043,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropMembership","ranges":[{"startOffset":22455,"endOffset":22832,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addSourceSpecificMembership","ranges":[{"startOffset":22882,"endOffset":23489,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropSourceSpecificMembership","ranges":[{"startOffset":23541,"endOffset":24154,"count":0}],"isBlockCoverage":false},{"functionName":"healthCheck","ranges":[{"startOffset":24158,"endOffset":24321,"count":0}],"isBlockCoverage":false},{"functionName":"stopReceiving","ranges":[{"startOffset":24324,"endOffset":24488,"count":0}],"isBlockCoverage":false},{"functionName":"onMessage","ranges":[{"startOffset":24491,"endOffset":24745,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":24748,"endOffset":24863,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":24889,"endOffset":24996,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":25025,"endOffset":25134,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setRecvBufferSize","ranges":[{"startOffset":25175,"endOffset":25232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setSendBufferSize","ranges":[{"startOffset":25273,"endOffset":25330,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getRecvBufferSize","ranges":[{"startOffset":25371,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendBufferSize","ranges":[{"startOffset":25469,"endOffset":25526,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueSize","ranges":[{"startOffset":25565,"endOffset":25634,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueCount","ranges":[{"startOffset":25674,"endOffset":25744,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25863,"endOffset":25917,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25990,"endOffset":26046,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26199,"endOffset":26256,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26332,"endOffset":26391,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26547,"endOffset":26604,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26680,"endOffset":26739,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26891,"endOffset":26944,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27016,"endOffset":27071,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27223,"endOffset":27280,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27356,"endOffset":27415,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27522,"endOffset":27557,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27666,"endOffset":27703,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27988,"endOffset":28024,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":28028,"endOffset":28069,"count":0}],"isBlockCoverage":false}]},{"scriptId":"627","url":"node:internal/dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1851,"count":1}],"isBlockCoverage":false},{"functionName":"lookup4","ranges":[{"startOffset":478,"endOffset":579,"count":0}],"isBlockCoverage":false},{"functionName":"lookup6","ranges":[{"startOffset":582,"endOffset":677,"count":0}],"isBlockCoverage":false},{"functionName":"newHandle","ranges":[{"startOffset":679,"endOffset":1323,"count":0}],"isBlockCoverage":false},{"functionName":"_createSocketHandle","ranges":[{"startOffset":1326,"endOffset":1774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"628","url":"node:internal/socket_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2709,"count":1}],"isBlockCoverage":false},{"functionName":"SocketListSend","ranges":[{"startOffset":235,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"_request","ranges":[{"startOffset":380,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":1039,"endOffset":1190,"count":0}],"isBlockCoverage":false},{"functionName":"getConnections","ranges":[{"startOffset":1194,"endOffset":1430,"count":0}],"isBlockCoverage":false},{"functionName":"SocketListReceive","ranges":[{"startOffset":1544,"endOffset":2404,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":2408,"endOffset":2649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"629","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/strip-final-newline/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":347,"count":1}],"isBlockCoverage":true},{"functionName":"stripFinalNewline","ranges":[{"startOffset":15,"endOffset":346,"count":0}],"isBlockCoverage":false}]},{"scriptId":"630","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":938,"count":1}],"isBlockCoverage":true},{"functionName":"npmRunPath","ranges":[{"startOffset":134,"endOffset":741,"count":0}],"isBlockCoverage":false},{"functionName":"npmRunPathEnv","ranges":[{"startOffset":750,"endOffset":937,"count":0}],"isBlockCoverage":false}]},{"scriptId":"631","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/onetime/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1022,"count":1}],"isBlockCoverage":true},{"functionName":"onetime","ranges":[{"startOffset":95,"endOffset":767,"count":0}],"isBlockCoverage":false},{"functionName":"onetime.callCount","ranges":[{"startOffset":790,"endOffset":995,"count":0}],"isBlockCoverage":false}]},{"scriptId":"632","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2204,"count":1}],"isBlockCoverage":true},{"functionName":"getErrorPrefix","ranges":[{"startOffset":105,"endOffset":580,"count":0}],"isBlockCoverage":false},{"functionName":"makeError","ranges":[{"startOffset":608,"endOffset":2202,"count":0}],"isBlockCoverage":false}]},{"scriptId":"633","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stdio.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1157,"count":1}],"isBlockCoverage":true},{"functionName":"hasAlias","ranges":[{"startOffset":65,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdio","ranges":[{"startOffset":160,"endOffset":794,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdioNode","ranges":[{"startOffset":879,"endOffset":1155,"count":0}],"isBlockCoverage":false}]},{"scriptId":"634","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/kill.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2983,"count":1}],"isBlockCoverage":true},{"functionName":"spawnedKill","ranges":[{"startOffset":214,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"setKillTimeout","ranges":[{"startOffset":393,"endOffset":844,"count":0}],"isBlockCoverage":false},{"functionName":"shouldForceKill","ranges":[{"startOffset":871,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"isSigterm","ranges":[{"startOffset":1007,"endOffset":1128,"count":0}],"isBlockCoverage":false},{"functionName":"getForceKillAfterTimeout","ranges":[{"startOffset":1164,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"spawnedCancel","ranges":[{"startOffset":1623,"endOffset":1736,"count":0}],"isBlockCoverage":false},{"functionName":"timeoutKill","ranges":[{"startOffset":1759,"endOffset":1888,"count":0}],"isBlockCoverage":false},{"functionName":"setupTimeout","ranges":[{"startOffset":1948,"endOffset":2417,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":2451,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"setExitHandler","ranges":[{"startOffset":2737,"endOffset":2981,"count":0}],"isBlockCoverage":false}]},{"scriptId":"635","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/pipe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1194,"count":1}],"isBlockCoverage":true},{"functionName":"isExecaChildProcess","ranges":[{"startOffset":165,"endOffset":242,"count":0}],"isBlockCoverage":false},{"functionName":"pipeToTarget","ranges":[{"startOffset":266,"endOffset":826,"count":0}],"isBlockCoverage":false},{"functionName":"addPipeMethods","ranges":[{"startOffset":859,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"636","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2958,"count":1}],"isBlockCoverage":true},{"functionName":"validateInputOptions","ranges":[{"startOffset":198,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"getInputSync","ranges":[{"startOffset":347,"endOffset":495,"count":0}],"isBlockCoverage":false},{"functionName":"handleInputSync","ranges":[{"startOffset":576,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getInput","ranges":[{"startOffset":769,"endOffset":921,"count":0}],"isBlockCoverage":false},{"functionName":"handleInput","ranges":[{"startOffset":999,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"makeAllStream","ranges":[{"startOffset":1270,"endOffset":1518,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedData","ranges":[{"startOffset":1632,"endOffset":1940,"count":0}],"isBlockCoverage":false},{"functionName":"getStreamPromise","ranges":[{"startOffset":1968,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedResult","ranges":[{"startOffset":2300,"endOffset":2956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"637","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1109,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":91,"endOffset":105,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":186,"endOffset":281,"count":3}],"isBlockCoverage":true},{"functionName":"mergePromise","ranges":[{"startOffset":376,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedPromise","ranges":[{"startOffset":835,"endOffset":1107,"count":0}],"isBlockCoverage":false}]},{"scriptId":"638","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/command.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3071,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeArgs","ranges":[{"startOffset":108,"endOffset":207,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArg","ranges":[{"startOffset":302,"endOffset":449,"count":0}],"isBlockCoverage":false},{"functionName":"joinCommand","ranges":[{"startOffset":479,"endOffset":530,"count":0}],"isBlockCoverage":false},{"functionName":"getEscapedCommand","ranges":[{"startOffset":566,"endOffset":644,"count":0}],"isBlockCoverage":false},{"functionName":"parseCommand","ranges":[{"startOffset":732,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"parseExpression","ranges":[{"startOffset":1209,"endOffset":1923,"count":0}],"isBlockCoverage":false},{"functionName":"concatTokens","ranges":[{"startOffset":1947,"endOffset":2173,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplate","ranges":[{"startOffset":2198,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplates","ranges":[{"startOffset":2865,"endOffset":3068,"count":0}],"isBlockCoverage":false}]},{"scriptId":"639","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/verbose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"padField","ranges":[{"startOffset":148,"endOffset":204,"count":0}],"isBlockCoverage":false},{"functionName":"getTimestamp","ranges":[{"startOffset":228,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"logCommand","ranges":[{"startOffset":442,"endOffset":573,"count":0}],"isBlockCoverage":false}]},{"scriptId":"640","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":263,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":15,"endOffset":262,"count":0}],"isBlockCoverage":false}]},{"scriptId":"641","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/main.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1214,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalsByName","ranges":[{"startOffset":134,"endOffset":226,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalByName","ranges":[{"startOffset":251,"endOffset":386,"count":69}],"isBlockCoverage":true},{"functionName":"getSignalsByNumber","ranges":[{"startOffset":465,"endOffset":652,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":559,"endOffset":609,"count":65}],"isBlockCoverage":true},{"functionName":"getSignalByNumber","ranges":[{"startOffset":679,"endOffset":939,"count":65},{"startOffset":771,"endOffset":784,"count":3},{"startOffset":784,"endOffset":938,"count":62}],"isBlockCoverage":true},{"functionName":"findSignalByNumber","ranges":[{"startOffset":969,"endOffset":1161,"count":65},{"startOffset":1083,"endOffset":1101,"count":31},{"startOffset":1101,"endOffset":1160,"count":34}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1015,"endOffset":1057,"count":2919}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1123,"endOffset":1157,"count":1881}],"isBlockCoverage":true}]},{"scriptId":"642","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":746,"count":1}],"isBlockCoverage":true},{"functionName":"isStream","ranges":[{"startOffset":7,"endOffset":132,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":141,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":332,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexStream","ranges":[{"startOffset":522,"endOffset":621,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":630,"endOffset":745,"count":0}],"isBlockCoverage":false}]},{"scriptId":"643","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/realtime.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":353,"count":1}],"isBlockCoverage":true},{"functionName":"getRealtimeSignals","ranges":[{"startOffset":33,"endOffset":121,"count":2}],"isBlockCoverage":true},{"functionName":"getRealtimeSignal","ranges":[{"startOffset":148,"endOffset":306,"count":62}],"isBlockCoverage":true}]},{"scriptId":"644","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1}],"isBlockCoverage":true},{"functionName":"getSignals","ranges":[{"startOffset":139,"endOffset":274,"count":2}],"isBlockCoverage":true},{"functionName":"normalizeSignal","ranges":[{"startOffset":305,"endOffset":602,"count":138},{"startOffset":504,"endOffset":519,"count":66},{"startOffset":519,"endOffset":533,"count":72}],"isBlockCoverage":true}]},{"scriptId":"645","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4126,"count":1}],"isBlockCoverage":true}]},{"scriptId":"646","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1}],"isBlockCoverage":true},{"functionName":"spawn","ranges":[{"startOffset":131,"endOffset":589,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":591,"endOffset":1038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"647","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3065,"count":1}],"isBlockCoverage":true},{"functionName":"detectShebang","ranges":[{"startOffset":354,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"parseNonShell","ranges":[{"startOffset":661,"endOffset":2367,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":2369,"endOffset":3039,"count":0}],"isBlockCoverage":false}]},{"scriptId":"648","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/resolveCommand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1557,"count":1}],"isBlockCoverage":true},{"functionName":"resolveCommandAttempt","ranges":[{"startOffset":118,"endOffset":1404,"count":0}],"isBlockCoverage":false},{"functionName":"resolveCommand","ranges":[{"startOffset":1406,"endOffset":1522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"649","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/which/which.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3163,"count":1},{"startOffset":177,"endOffset":182,"count":0}],"isBlockCoverage":true},{"functionName":"getNotFoundError","ranges":[{"startOffset":246,"endOffset":322,"count":0}],"isBlockCoverage":false},{"functionName":"getPathInfo","ranges":[{"startOffset":344,"endOffset":1152,"count":0}],"isBlockCoverage":false},{"functionName":"which","ranges":[{"startOffset":1168,"endOffset":2279,"count":0}],"isBlockCoverage":false},{"functionName":"whichSync","ranges":[{"startOffset":2299,"endOffset":3115,"count":0}],"isBlockCoverage":false}]},{"scriptId":"650","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1},{"startOffset":92,"endOffset":128,"count":0}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":211,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":930,"endOffset":1191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"651","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/mode.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":909,"count":1}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":66,"endOffset":197,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":199,"endOffset":279,"count":0}],"isBlockCoverage":false},{"functionName":"checkStat","ranges":[{"startOffset":281,"endOffset":370,"count":0}],"isBlockCoverage":false},{"functionName":"checkMode","ranges":[{"startOffset":372,"endOffset":908,"count":0}],"isBlockCoverage":false}]},{"scriptId":"652","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":415,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":31,"endOffset":304,"count":0}],"isBlockCoverage":false}]},{"scriptId":"653","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/escape.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"escapeCommand","ranges":[{"startOffset":121,"endOffset":241,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArgument","ranges":[{"startOffset":243,"endOffset":1088,"count":0}],"isBlockCoverage":false}]},{"scriptId":"654","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/readShebang.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":549,"count":1}],"isBlockCoverage":true},{"functionName":"readShebang","ranges":[{"startOffset":93,"endOffset":517,"count":0}],"isBlockCoverage":false}]},{"scriptId":"655","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-command/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":387,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":79,"endOffset":385,"count":0}],"isBlockCoverage":false}]},{"scriptId":"656","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":42,"count":1}],"isBlockCoverage":true}]},{"scriptId":"657","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/enoent.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1480,"count":1}],"isBlockCoverage":true},{"functionName":"notFoundError","ranges":[{"startOffset":60,"endOffset":358,"count":0}],"isBlockCoverage":false},{"functionName":"hookChildProcess","ranges":[{"startOffset":360,"endOffset":1023,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENT","ranges":[{"startOffset":1025,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENTSync","ranges":[{"startOffset":1197,"endOffset":1375,"count":0}],"isBlockCoverage":false}]},{"scriptId":"658","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5708,"count":1},{"startOffset":778,"endOffset":844,"count":0},{"startOffset":1059,"endOffset":1089,"count":0},{"startOffset":1144,"endOffset":1195,"count":0}],"isBlockCoverage":true},{"functionName":"processOk","ranges":[{"startOffset":293,"endOffset":677,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":799,"endOffset":842,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1703,"endOffset":2301,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2318,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2724,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3001,"endOffset":3890,"count":18}],"isBlockCoverage":true},{"functionName":"listener","ranges":[{"startOffset":3042,"endOffset":3886,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.signals","ranges":[{"startOffset":3920,"endOffset":3956,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":3993,"endOffset":4602,"count":0}],"isBlockCoverage":false},{"functionName":"processReallyExit","ranges":[{"startOffset":4712,"endOffset":5108,"count":0}],"isBlockCoverage":false},{"functionName":"processEmit","ranges":[{"startOffset":5171,"endOffset":5705,"count":0}],"isBlockCoverage":false}]},{"scriptId":"659","url":"node:assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31879,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadComparison","ranges":[{"startOffset":2704,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":3469,"endOffset":3517,"count":0}],"isBlockCoverage":false},{"functionName":"innerFail","ranges":[{"startOffset":4071,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":4348,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"findColumn","ranges":[{"startOffset":5445,"endOffset":6385,"count":0}],"isBlockCoverage":false},{"functionName":"getCode","ranges":[{"startOffset":6387,"endOffset":8032,"count":0}],"isBlockCoverage":false},{"functionName":"parseCode","ranges":[{"startOffset":8034,"endOffset":9451,"count":0}],"isBlockCoverage":false},{"functionName":"getErrMessage","ranges":[{"startOffset":9453,"endOffset":12547,"count":0}],"isBlockCoverage":false},{"functionName":"innerOk","ranges":[{"startOffset":12549,"endOffset":13157,"count":1},{"startOffset":12610,"endOffset":13155,"count":0}],"isBlockCoverage":true},{"functionName":"ok","ranges":[{"startOffset":13290,"endOffset":13351,"count":1}],"isBlockCoverage":true},{"functionName":"equal","ranges":[{"startOffset":13610,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"notEqual","ranges":[{"startOffset":14201,"endOffset":14577,"count":0}],"isBlockCoverage":false},{"functionName":"deepEqual","ranges":[{"startOffset":14777,"endOffset":15142,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepEqual","ranges":[{"startOffset":15348,"endOffset":15721,"count":0}],"isBlockCoverage":false},{"functionName":"deepStrictEqual","ranges":[{"startOffset":15964,"endOffset":16353,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepStrictEqual","ranges":[{"startOffset":16602,"endOffset":16999,"count":0}],"isBlockCoverage":false},{"functionName":"strictEqual","ranges":[{"startOffset":17204,"endOffset":17517,"count":0}],"isBlockCoverage":false},{"functionName":"notStrictEqual","ranges":[{"startOffset":17729,"endOffset":18050,"count":0}],"isBlockCoverage":false},{"functionName":"Comparison","ranges":[{"startOffset":18074,"endOffset":18456,"count":0}],"isBlockCoverage":false},{"functionName":"compareExceptionKey","ranges":[{"startOffset":18460,"endOffset":19179,"count":0}],"isBlockCoverage":false},{"functionName":"expectedException","ranges":[{"startOffset":19181,"endOffset":22585,"count":0}],"isBlockCoverage":false},{"functionName":"getActual","ranges":[{"startOffset":22587,"endOffset":22727,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsPromise","ranges":[{"startOffset":22729,"endOffset":23093,"count":0}],"isBlockCoverage":false},{"functionName":"waitForActual","ranges":[{"startOffset":23095,"endOffset":23809,"count":0}],"isBlockCoverage":false},{"functionName":"expectsError","ranges":[{"startOffset":23811,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"hasMatchingError","ranges":[{"startOffset":25430,"endOffset":26048,"count":0}],"isBlockCoverage":false},{"functionName":"expectsNoError","ranges":[{"startOffset":26050,"endOffset":26701,"count":0}],"isBlockCoverage":false},{"functionName":"throws","ranges":[{"startOffset":26859,"endOffset":26953,"count":0}],"isBlockCoverage":false},{"functionName":"rejects","ranges":[{"startOffset":27132,"endOffset":27244,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotThrow","ranges":[{"startOffset":27406,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotReject","ranges":[{"startOffset":27666,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"ifError","ranges":[{"startOffset":27906,"endOffset":29695,"count":0}],"isBlockCoverage":false},{"functionName":"internalMatch","ranges":[{"startOffset":29698,"endOffset":30781,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":30977,"endOffset":31069,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotMatch","ranges":[{"startOffset":31277,"endOffset":31383,"count":0}],"isBlockCoverage":false},{"functionName":"strict","ranges":[{"startOffset":31574,"endOffset":31643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"660","url":"node:internal/assert/assertion_error","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17104,"count":1}],"isBlockCoverage":false},{"functionName":"copyError","ranges":[{"startOffset":1449,"endOffset":1743,"count":0}],"isBlockCoverage":false},{"functionName":"inspectValue","ranges":[{"startOffset":1745,"endOffset":2353,"count":0}],"isBlockCoverage":false},{"functionName":"createErrDiff","ranges":[{"startOffset":2355,"endOffset":11091,"count":0}],"isBlockCoverage":false},{"functionName":"addEllipsis","ranges":[{"startOffset":11093,"endOffset":11396,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":11437,"endOffset":16133,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16137,"endOffset":16212,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16216,"endOffset":17067,"count":0}],"isBlockCoverage":false}]},{"scriptId":"661","url":"node:internal/util/colors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1122,"count":1}],"isBlockCoverage":false},{"functionName":"lazyInternalTTY","ranges":[{"startOffset":32,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"shouldColorize","ranges":[{"startOffset":244,"endOffset":504,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":508,"endOffset":1090,"count":1},{"startOffset":550,"endOffset":1086,"count":0}],"isBlockCoverage":true}]},{"scriptId":"662","url":"node:internal/assert/calltracker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3452,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":462,"endOffset":1495,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1497,"endOffset":3420,"count":0}],"isBlockCoverage":false}]},{"scriptId":"663","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1295,"count":1}],"isBlockCoverage":true}]},{"scriptId":"664","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1489,"count":1}],"isBlockCoverage":true},{"functionName":"MaxBufferError","ranges":[{"startOffset":292,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"getStream","ranges":[{"startOffset":377,"endOffset":1223,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.buffer","ranges":[{"startOffset":1277,"endOffset":1349,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.array","ranges":[{"startOffset":1374,"endOffset":1439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"665","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/buffer-stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":894,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":92,"endOffset":892,"count":0}],"isBlockCoverage":false}]},{"scriptId":"666","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":885,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":76,"endOffset":884,"count":0}],"isBlockCoverage":false}]},{"scriptId":"667","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/integration/command-test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1711,"count":1}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":70,"endOffset":151,"count":1},{"startOffset":122,"endOffset":127,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":466,"endOffset":623,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":680,"endOffset":822,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":882,"endOffset":1177,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1244,"endOffset":1438,"count":1}],"isBlockCoverage":true},{"functionName":"t.throws.message","ranges":[{"startOffset":1266,"endOffset":1377,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1511,"endOffset":1668,"count":1}],"isBlockCoverage":true},{"functionName":"t.throws.message","ranges":[{"startOffset":1533,"endOffset":1610,"count":1}],"isBlockCoverage":true}]},{"scriptId":"668","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/entrypoints/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":66,"count":1}],"isBlockCoverage":true}]},{"scriptId":"669","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":277,"count":1}],"isBlockCoverage":true}]},{"scriptId":"670","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/guard-environment.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1},{"startOffset":271,"endOffset":602,"count":0}],"isBlockCoverage":true}]},{"scriptId":"671","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/command.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2675,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":269,"endOffset":2600,"count":5}],"isBlockCoverage":true},{"functionName":"FfmpegCommand","ranges":[{"startOffset":356,"endOffset":1164,"count":5},{"startOffset":406,"endOffset":588,"count":3},{"startOffset":440,"endOffset":532,"count":1},{"startOffset":532,"endOffset":588,"count":2},{"startOffset":588,"endOffset":617,"count":4},{"startOffset":617,"endOffset":804,"count":0},{"startOffset":804,"endOffset":843,"count":4},{"startOffset":843,"endOffset":848,"count":0},{"startOffset":952,"endOffset":957,"count":4},{"startOffset":1124,"endOffset":1129,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":854,"endOffset":909,"count":7}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":963,"endOffset":1022,"count":0}],"isBlockCoverage":false},{"functionName":"#validateIO","ranges":[{"startOffset":1169,"endOffset":1480,"count":4},{"startOffset":1247,"endOffset":1328,"count":1},{"startOffset":1328,"endOffset":1392,"count":3},{"startOffset":1392,"endOffset":1474,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1216,"endOffset":1233,"count":7}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1361,"endOffset":1378,"count":0}],"isBlockCoverage":false},{"functionName":"getFfmpegArguments","ranges":[{"startOffset":1485,"endOffset":2086,"count":3},{"startOffset":1570,"endOffset":1635,"count":5},{"startOffset":1708,"endOffset":1818,"count":0},{"startOffset":1872,"endOffset":1951,"count":0},{"startOffset":1993,"endOffset":2059,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1849,"endOffset":1869,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":2091,"endOffset":2598,"count":0}],"isBlockCoverage":false}]},{"scriptId":"672","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/input.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2004,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":197,"endOffset":1935,"count":7}],"isBlockCoverage":true},{"functionName":"FfmpegInput","ranges":[{"startOffset":290,"endOffset":687,"count":7},{"startOffset":353,"endOffset":397,"count":4}],"isBlockCoverage":true},{"functionName":"get isStream","ranges":[{"startOffset":692,"endOffset":776,"count":7}],"isBlockCoverage":true},{"functionName":"get isLocalFile","ranges":[{"startOffset":781,"endOffset":1082,"count":0}],"isBlockCoverage":false},{"functionName":"#getSourceString","ranges":[{"startOffset":1087,"endOffset":1256,"count":5},{"startOffset":1153,"endOffset":1196,"count":3},{"startOffset":1196,"endOffset":1250,"count":2}],"isBlockCoverage":true},{"functionName":"#getOptions","ranges":[{"startOffset":1261,"endOffset":1751,"count":5},{"startOffset":1328,"endOffset":1384,"count":0},{"startOffset":1420,"endOffset":1464,"count":0},{"startOffset":1492,"endOffset":1556,"count":0},{"startOffset":1580,"endOffset":1646,"count":0},{"startOffset":1670,"endOffset":1721,"count":0}],"isBlockCoverage":true},{"functionName":"getFfmpegArguments","ranges":[{"startOffset":1756,"endOffset":1933,"count":5}],"isBlockCoverage":true}]},{"scriptId":"673","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1322,"count":1}],"isBlockCoverage":true}]},{"scriptId":"674","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/output.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4221,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":296,"endOffset":4149,"count":0}],"isBlockCoverage":true}]},{"scriptId":"675","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/formatting.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":482,"count":1}],"isBlockCoverage":true},{"functionName":"formatBitrate","ranges":[{"startOffset":109,"endOffset":404,"count":0}],"isBlockCoverage":false}]},{"scriptId":"676","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/filters.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1753,"count":1}],"isBlockCoverage":true},{"functionName":"escapeOption","ranges":[{"startOffset":170,"endOffset":314,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFilter","ranges":[{"startOffset":315,"endOffset":467,"count":0}],"isBlockCoverage":false},{"functionName":"generateFilter","ranges":[{"startOffset":468,"endOffset":1353,"count":0}],"isBlockCoverage":false},{"functionName":"generateFilterChain","ranges":[{"startOffset":1395,"endOffset":1504,"count":0}],"isBlockCoverage":false},{"functionName":"generateFilterGraph","ranges":[{"startOffset":1556,"endOffset":1666,"count":0}],"isBlockCoverage":false}]},{"scriptId":"677","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/process.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4862,"count":1}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":70,"endOffset":151,"count":1},{"startOffset":128,"endOffset":148,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":473,"endOffset":4787,"count":0}],"isBlockCoverage":true}]},{"scriptId":"678","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/platform.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":219,"count":1}],"isBlockCoverage":true}]},{"scriptId":"679","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/parsing.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7594,"count":1}],"isBlockCoverage":true},{"functionName":"extractErrorMessage","ranges":[{"startOffset":461,"endOffset":881,"count":0}],"isBlockCoverage":false},{"functionName":"extractProgress","ranges":[{"startOffset":1075,"endOffset":1940,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1984,"endOffset":3697,"count":0}],"isBlockCoverage":true},{"functionName":"parseCodecType","ranges":[{"startOffset":3747,"endOffset":3991,"count":0}],"isBlockCoverage":false},{"functionName":"extractCodecs","ranges":[{"startOffset":3992,"endOffset":5460,"count":0}],"isBlockCoverage":false},{"functionName":"extractFormats","ranges":[{"startOffset":5500,"endOffset":5911,"count":0}],"isBlockCoverage":false},{"functionName":"parseFilterStreams","ranges":[{"startOffset":5953,"endOffset":6199,"count":0}],"isBlockCoverage":false},{"functionName":"extractFilters","ranges":[{"startOffset":6200,"endOffset":6670,"count":0}],"isBlockCoverage":false},{"functionName":"parseEncoderType","ranges":[{"startOffset":6712,"endOffset":6862,"count":0}],"isBlockCoverage":false},{"functionName":"extractEncoders","ranges":[{"startOffset":6863,"endOffset":7515,"count":0}],"isBlockCoverage":false}]},{"scriptId":"680","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/line-buffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1846,"count":1}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":70,"endOffset":151,"count":1},{"startOffset":122,"endOffset":127,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":317,"endOffset":1776,"count":0}],"isBlockCoverage":true}]},{"scriptId":"681","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/helpers/streams.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":475,"count":1}],"isBlockCoverage":true},{"functionName":"_read","ranges":[{"startOffset":251,"endOffset":262,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":376,"endOffset":388,"count":0}],"isBlockCoverage":false}]},{"scriptId":"682","url":"node:internal/util/iterable_weak_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1959,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":373,"endOffset":1819,"count":1}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":521,"endOffset":1033,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1037,"endOffset":1093,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":1097,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":1150,"endOffset":1388,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1392,"endOffset":1817,"count":9}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":1484,"endOffset":1736,"count":9},{"startOffset":1567,"endOffset":1735,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1758,"endOffset":1793,"count":0}],"isBlockCoverage":false},{"functionName":"cleanup","ranges":[{"startOffset":1821,"endOffset":1874,"count":0}],"isBlockCoverage":false}]}],"timestamp":85118.346948,"source-map-cache":{"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js":{"lineLengths":[13,7,62,74,65,63,53,60,45,115,43,34,51,41,47,46,41,38,37,55,26,64,27,15,15,25,20,6,17,22,17,6,14,23,19,35,40,9,52,24,28,30,32,11,5,16,36,5,28,40,35,29,23,19,9,28,43,28,9,14,30,9,5,28,31,25,9,32,24,46,51,9,28,62,9,19,5,1,22,1,37,12,26,44,10,16,34,10,18,36,10,6,2,49,14,25,5,14,16,1,41,52,40,25,65,24,29,13,25,31,23,20,26,16,32,43,32,49,45,70,71,69,35,63,46,83,84,82,82,81,27,37,34,68,74,61,17,36,49,34,70,41,68,29,53,40,17,14,9,61,49,5,22,29,40,29,9,28,37,24,9,59,33,22,49,63,68,30,13,10,5,12,27,19,9,28,65,68,68,35,33,49,17,51,23,46,13,25,9,44,47,10,46,49,10,5,14,28,19,9,29,45,53,33,28,75,13,32,17,60,37,13,25,32,11,55,67,33,5,30,29,40,21,9,43,28,65,91,5,31,45,56,46,49,37,13,33,60,33,69,32,23,9,14,55,9,5,1,35,65,25,94,3,67,39,2,68,29,2,61,3,28,3,66,66,45,2,12,3,24,3,68,66,45,2,12,3,27,33],"data":{"version":3,"file":"index.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/index.ts"],"names":[],"mappings":";;;;AAAA,iEAAiE;AACjE,+DAA+D;AAC/D,qDAAqD;AACrD,4DAA4D;AAC5D,6CAAsC;AAC7B,wFADA,oBAAO,OACA;AAQhB,MAAM,SAAS,GAAG,CAAC,OAAY,EAAwB,EAAE,CACvD,CAAC,CAAC,OAAO;IACT,OAAO,OAAO,KAAK,QAAQ;IAC3B,OAAO,OAAO,CAAC,cAAc,KAAK,UAAU;IAC5C,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,UAAU,KAAK,UAAU;IACxC,OAAO,OAAO,CAAC,SAAS,KAAK,UAAU;IACvC,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,GAAG,KAAK,QAAQ;IAC/B,OAAO,OAAO,CAAC,EAAE,KAAK,UAAU,CAAA;AAElC,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;AACtD,MAAM,MAAM,GAAqD,UAAU,CAAA;AAC3E,MAAM,oBAAoB,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;AAwB/D,2BAA2B;AAC3B,MAAM,OAAO;IACX,OAAO,GAAY;QACjB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,KAAK;KACZ,CAAA;IAED,SAAS,GAAc;QACrB,SAAS,EAAE,EAAE;QACb,IAAI,EAAE,EAAE;KACT,CAAA;IAED,KAAK,GAAW,CAAC,CAAA;IACjB,EAAE,GAAW,IAAI,CAAC,MAAM,EAAE,CAAA;IAE1B;QACE,IAAI,MAAM,CAAC,YAAY,CAAC,EAAE;YACxB,OAAO,MAAM,CAAC,YAAY,CAAC,CAAA;SAC5B;QACD,oBAAoB,CAAC,MAAM,EAAE,YAAY,EAAE;YACzC,KAAK,EAAE,IAAI;YACX,QAAQ,EAAE,KAAK;YACf,UAAU,EAAE,KAAK;YACjB,YAAY,EAAE,KAAK;SACpB,CAAC,CAAA;IACJ,CAAC;IAED,EAAE,CAAC,EAAa,EAAE,EAAW;QAC3B,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC7B,CAAC;IAED,cAAc,CAAC,EAAa,EAAE,EAAW;QACvC,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;QAC/B,MAAM,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;QAC1B,qBAAqB;QACrB,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE;YACZ,OAAM;SACP;QACD,oBAAoB;QACpB,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;YAChC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAA;SAChB;aAAM;YACL,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;SAClB;IACH,CAAC;IAED,IAAI,CACF,EAAa,EACb,IAA+B,EAC/B,MAA6B;QAE7B,IAAI,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;YACpB,OAAO,KAAK,CAAA;SACb;QACD,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,IAAI,CAAA;QACvB,IAAI,GAAG,GAAY,KAAK,CAAA;QACxB,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE;YACnC,GAAG,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,IAAI,IAAI,GAAG,CAAA;SACvC;QACD,IAAI,EAAE,KAAK,MAAM,EAAE;YACjB,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,GAAG,CAAA;SAClD;QACD,OAAO,GAAG,CAAA;IACZ,CAAC;CACF;AAED,MAAe,cAAc;CAI5B;AAED,MAAM,cAAc,GAAG,CAA2B,OAAU,EAAE,EAAE;IAC9D,OAAO;QACL,MAAM,CAAC,EAAW,EAAE,IAA+B;YACjD,OAAO,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;QACjC,CAAC;QACD,IAAI;YACF,OAAO,OAAO,CAAC,IAAI,EAAE,CAAA;QACvB,CAAC;QACD,MAAM;YACJ,OAAO,OAAO,CAAC,MAAM,EAAE,CAAA;QACzB,CAAC;KACF,CAAA;AACH,CAAC,CAAA;AAED,MAAM,kBAAmB,SAAQ,cAAc;IAC7C,MAAM;QACJ,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;IACjB,CAAC;IACD,IAAI,KAAI,CAAC;IACT,MAAM,KAAI,CAAC;CACZ;AAED,MAAM,UAAW,SAAQ,cAAc;IACrC,gDAAgD;IAChD,oCAAoC;IACpC,qBAAqB;IACrB,OAAO,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC5D,oBAAoB;IACpB,QAAQ,GAAG,IAAI,OAAO,EAAE,CAAA;IACxB,QAAQ,CAAW;IACnB,oBAAoB,CAAmB;IACvC,0BAA0B,CAAyB;IAEnD,aAAa,GAA2C,EAAE,CAAA;IAC1D,OAAO,GAAY,KAAK,CAAA;IAExB,YAAY,OAAkB;QAC5B,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAA;QACvB,mCAAmC;QACnC,IAAI,CAAC,aAAa,GAAG,EAAE,CAAA;QACvB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,GAAG,EAAE;gBAC7B,sDAAsD;gBACtD,uDAAuD;gBACvD,qDAAqD;gBACrD,mBAAmB;gBACnB,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;gBAC9C,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAA;gBAC7B,mEAAmE;gBACnE,oEAAoE;gBACpE,kEAAkE;gBAClE,kEAAkE;gBAClE,iEAAiE;gBACjE,WAAW;gBACX,qBAAqB;gBACrB,MAAM,CAAC,GAAG,OAET,CAAA;gBACD,IACE,OAAO,CAAC,CAAC,uBAAuB,KAAK,QAAQ;oBAC7C,OAAO,CAAC,CAAC,uBAAuB,CAAC,KAAK,KAAK,QAAQ,EACnD;oBACA,KAAK,IAAI,CAAC,CAAC,uBAAuB,CAAC,KAAK,CAAA;iBACzC;gBACD,oBAAoB;gBACpB,IAAI,SAAS,CAAC,MAAM,KAAK,KAAK,EAAE;oBAC9B,IAAI,CAAC,MAAM,EAAE,CAAA;oBACb,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,CAAA;oBACjD,qBAAqB;oBACrB,MAAM,CAAC,GAAG,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAA;oBAC/C,IAAI,CAAC,GAAG;wBAAE,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;oBACtC,oBAAoB;iBACrB;YACH,CAAC,CAAA;SACF;QAED,IAAI,CAAC,0BAA0B,GAAG,OAAO,CAAC,UAAU,CAAA;QACpD,IAAI,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAA;IAC1C,CAAC;IAED,MAAM,CAAC,EAAW,EAAE,IAA+B;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;SAChB;QACD,oBAAoB;QAEpB,IAAI,IAAI,CAAC,OAAO,KAAK,KAAK,EAAE;YAC1B,IAAI,CAAC,IAAI,EAAE,CAAA;SACZ;QAED,MAAM,EAAE,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAA;QAClD,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;QACxB,OAAO,GAAG,EAAE;YACV,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;YACpC,IACE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC;gBAC5C,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,MAAM,KAAK,CAAC,EACjD;gBACA,IAAI,CAAC,MAAM,EAAE,CAAA;aACd;QACH,CAAC,CAAA;IACH,CAAC;IAED,IAAI;QACF,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;QAEnB,yDAAyD;QACzD,4DAA4D;QAC5D,4DAA4D;QAC5D,2BAA2B;QAC3B,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;QAExB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI;gBACF,MAAM,EAAE,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;gBAClC,IAAI,EAAE;oBAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;aAClC;YAAC,OAAO,CAAC,EAAE,GAAE;SACf;QAED,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,EAAU,EAAE,GAAG,CAAQ,EAAE,EAAE;YAC/C,OAAO,IAAI,CAAC,YAAY,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,CAAA;QACpC,CAAC,CAAA;QACD,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,CAAC,IAAgC,EAAE,EAAE;YAC9D,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAA;QACtC,CAAC,CAAA;IACH,CAAC;IAED,MAAM;QACJ,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACjB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QAEpB,oBAAO,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACpB,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;YACxC,qBAAqB;YACrB,IAAI,CAAC,QAAQ,EAAE;gBACb,MAAM,IAAI,KAAK,CAAC,mCAAmC,GAAG,GAAG,CAAC,CAAA;aAC3D;YACD,oBAAoB;YACpB,IAAI;gBACF,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;gBAC3C,qBAAqB;aACtB;YAAC,OAAO,CAAC,EAAE,GAAE;YACd,oBAAoB;QACtB,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC,oBAAoB,CAAA;QAC9C,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,IAAI,CAAC,0BAA0B,CAAA;QAC1D,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;IAC1B,CAAC;IAED,kBAAkB,CAAC,IAAgC;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,CAAC,CAAA;SACT;QACD,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,IAAI,CAAC,CAAA;QAClC,oBAAoB;QAEpB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;QACxD,OAAO,IAAI,CAAC,0BAA0B,CAAC,IAAI,CACzC,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,QAAQ,CAAC,QAAQ,CACvB,CAAA;IACH,CAAC;IAED,YAAY,CAAC,EAAU,EAAE,GAAG,IAAW;QACrC,MAAM,EAAE,GAAG,IAAI,CAAC,oBAAoB,CAAA;QACpC,IAAI,EAAE,KAAK,MAAM,IAAI,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7C,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE;gBAC/B,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;gBAChC,qBAAqB;aACtB;YACD,qBAAqB;YACrB,MAAM,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;YAC/C,qBAAqB;YACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;YACxD,oBAAoB;YACpB,OAAO,GAAG,CAAA;SACX;aAAM;YACL,OAAO,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;SAC3C;IACH,CAAC;CACF;AAED,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAA;AAClC,iEAAiE;AACjE,yBAAyB;AACZ,KA6BT,cAAc,CAChB,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,kBAAkB,EAAE,CACxE;AA9BC;;;;;;;;GAQG;AACH,cAAM;AAEN;;;;;;GAMG;AACH,YAAI;AAEJ;;;;;;GAMG;AACH,cAAM,aAGP","sourcesContent":["// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nimport { signals } from './signals.js'\nexport { signals }\n\n// just a loosened process type so we can do some evil things\ntype ProcessRE = NodeJS.Process & {\n reallyExit: (code?: number | undefined | null) => any\n emit: (ev: string, ...a: any[]) => any\n}\n\nconst processOk = (process: any): process is ProcessRE =>\n !!process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n\nconst kExitEmitter = Symbol.for('signal-exit emitter')\nconst global: typeof globalThis & { [kExitEmitter]?: Emitter } = globalThis\nconst ObjectDefineProperty = Object.defineProperty.bind(Object)\n\n/**\n * A function that takes an exit code and signal as arguments\n *\n * In the case of signal exits *only*, a return value of true\n * will indicate that the signal is being handled, and we should\n * not synthetically exit with the signal we received. Regardless\n * of the handler return value, the handler is unloaded when an\n * otherwise fatal signal is received, so you get exactly 1 shot\n * at it, unless you add another onExit handler at that point.\n *\n * In the case of numeric code exits, we may already have committed\n * to exiting the process, for example via a fatal exception or\n * unhandled promise rejection, so it is impossible to stop safely.\n */\nexport type Handler = (\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n) => true | void\ntype ExitEvent = 'afterExit' | 'exit'\ntype Emitted = { [k in ExitEvent]: boolean }\ntype Listeners = { [k in ExitEvent]: Handler[] }\n\n// teeny special purpose ee\nclass Emitter {\n emitted: Emitted = {\n afterExit: false,\n exit: false,\n }\n\n listeners: Listeners = {\n afterExit: [],\n exit: [],\n }\n\n count: number = 0\n id: number = Math.random()\n\n constructor() {\n if (global[kExitEmitter]) {\n return global[kExitEmitter]\n }\n ObjectDefineProperty(global, kExitEmitter, {\n value: this,\n writable: false,\n enumerable: false,\n configurable: false,\n })\n }\n\n on(ev: ExitEvent, fn: Handler) {\n this.listeners[ev].push(fn)\n }\n\n removeListener(ev: ExitEvent, fn: Handler) {\n const list = this.listeners[ev]\n const i = list.indexOf(fn)\n /* c8 ignore start */\n if (i === -1) {\n return\n }\n /* c8 ignore stop */\n if (i === 0 && list.length === 1) {\n list.length = 0\n } else {\n list.splice(i, 1)\n }\n }\n\n emit(\n ev: ExitEvent,\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n ): boolean {\n if (this.emitted[ev]) {\n return false\n }\n this.emitted[ev] = true\n let ret: boolean = false\n for (const fn of this.listeners[ev]) {\n ret = fn(code, signal) === true || ret\n }\n if (ev === 'exit') {\n ret = this.emit('afterExit', code, signal) || ret\n }\n return ret\n }\n}\n\nabstract class SignalExitBase {\n abstract onExit(cb: Handler, opts?: { alwaysLast?: boolean }): () => void\n abstract load(): void\n abstract unload(): void\n}\n\nconst signalExitWrap = (handler: T) => {\n return {\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n return handler.onExit(cb, opts)\n },\n load() {\n return handler.load()\n },\n unload() {\n return handler.unload()\n },\n }\n}\n\nclass SignalExitFallback extends SignalExitBase {\n onExit() {\n return () => {}\n }\n load() {}\n unload() {}\n}\n\nclass SignalExit extends SignalExitBase {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n /* c8 ignore start */\n #hupSig = process.platform === 'win32' ? 'SIGINT' : 'SIGHUP'\n /* c8 ignore stop */\n #emitter = new Emitter()\n #process: ProcessRE\n #originalProcessEmit: ProcessRE['emit']\n #originalProcessReallyExit: ProcessRE['reallyExit']\n\n #sigListeners: { [k in NodeJS.Signals]?: () => void } = {}\n #loaded: boolean = false\n\n constructor(process: ProcessRE) {\n super()\n this.#process = process\n // { : , ... }\n this.#sigListeners = {}\n for (const sig of signals) {\n this.#sigListeners[sig] = () => {\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n const listeners = this.#process.listeners(sig)\n let { count } = this.#emitter\n // This is a workaround for the fact that signal-exit v3 and signal\n // exit v4 are not aware of each other, and each will attempt to let\n // the other handle it, so neither of them do. To correct this, we\n // detect if we're the only handler *except* for previous versions\n // of signal-exit, and increment by the count of listeners it has\n // created.\n /* c8 ignore start */\n const p = process as unknown as {\n __signal_exit_emitter__?: { count: number }\n }\n if (\n typeof p.__signal_exit_emitter__ === 'object' &&\n typeof p.__signal_exit_emitter__.count === 'number'\n ) {\n count += p.__signal_exit_emitter__.count\n }\n /* c8 ignore stop */\n if (listeners.length === count) {\n this.unload()\n const ret = this.#emitter.emit('exit', null, sig)\n /* c8 ignore start */\n const s = sig === 'SIGHUP' ? this.#hupSig : sig\n if (!ret) process.kill(process.pid, s)\n /* c8 ignore stop */\n }\n }\n }\n\n this.#originalProcessReallyExit = process.reallyExit\n this.#originalProcessEmit = process.emit\n }\n\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return () => {}\n }\n /* c8 ignore stop */\n\n if (this.#loaded === false) {\n this.load()\n }\n\n const ev = opts?.alwaysLast ? 'afterExit' : 'exit'\n this.#emitter.on(ev, cb)\n return () => {\n this.#emitter.removeListener(ev, cb)\n if (\n this.#emitter.listeners['exit'].length === 0 &&\n this.#emitter.listeners['afterExit'].length === 0\n ) {\n this.unload()\n }\n }\n }\n\n load() {\n if (this.#loaded) {\n return\n }\n this.#loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n this.#emitter.count += 1\n\n for (const sig of signals) {\n try {\n const fn = this.#sigListeners[sig]\n if (fn) this.#process.on(sig, fn)\n } catch (_) {}\n }\n\n this.#process.emit = (ev: string, ...a: any[]) => {\n return this.#processEmit(ev, ...a)\n }\n this.#process.reallyExit = (code?: number | null | undefined) => {\n return this.#processReallyExit(code)\n }\n }\n\n unload() {\n if (!this.#loaded) {\n return\n }\n this.#loaded = false\n\n signals.forEach(sig => {\n const listener = this.#sigListeners[sig]\n /* c8 ignore start */\n if (!listener) {\n throw new Error('Listener not defined for signal: ' + sig)\n }\n /* c8 ignore stop */\n try {\n this.#process.removeListener(sig, listener)\n /* c8 ignore start */\n } catch (_) {}\n /* c8 ignore stop */\n })\n this.#process.emit = this.#originalProcessEmit\n this.#process.reallyExit = this.#originalProcessReallyExit\n this.#emitter.count -= 1\n }\n\n #processReallyExit(code?: number | null | undefined) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return 0\n }\n this.#process.exitCode = code || 0\n /* c8 ignore stop */\n\n this.#emitter.emit('exit', this.#process.exitCode, null)\n return this.#originalProcessReallyExit.call(\n this.#process,\n this.#process.exitCode\n )\n }\n\n #processEmit(ev: string, ...args: any[]): any {\n const og = this.#originalProcessEmit\n if (ev === 'exit' && processOk(this.#process)) {\n if (typeof args[0] === 'number') {\n this.#process.exitCode = args[0]\n /* c8 ignore start */\n }\n /* c8 ignore start */\n const ret = og.call(this.#process, ev, ...args)\n /* c8 ignore start */\n this.#emitter.emit('exit', this.#process.exitCode, null)\n /* c8 ignore stop */\n return ret\n } else {\n return og.call(this.#process, ev, ...args)\n }\n }\n}\n\nconst process = globalThis.process\n// wrap so that we call the method on the actual handler, without\n// exporting it directly.\nexport const {\n /**\n * Called when the process is exiting, whether via signal, explicit\n * exit, or running out of stuff to do.\n *\n * If the global process object is not suitable for instrumentation,\n * then this will be a no-op.\n *\n * Returns a function that may be used to unload signal-exit.\n */\n onExit,\n\n /**\n * Load the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n load,\n\n /**\n * Unload the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n unload,\n} = signalExitWrap(\n processOk(process) ? new SignalExit(process) : new SignalExitFallback()\n)\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js":{"lineLengths":[13,62,25,3,47,2,54,54,53,55,28,2,55,54,52,2,54,49,2,56,52,55,36,2,54,50,54,13,3,21,52,35,133,61,14,16,6,1,35,68,1,35],"data":{"version":3,"file":"signals.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/signals.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACU,QAAA,OAAO,GAAqB,EAAE,CAAA;AAC3C,eAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAA;AAE3C,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CACV,SAAS,EACT,SAAS,EACT,WAAW,EACX,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,EACR,SAAS,EACT,QAAQ;IACR,yDAAyD;IACzD,UAAU;IACV,YAAY;KACb,CAAA;CACF;AAED,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAA;CACxD","sourcesContent":["/**\n * This is not the set of all possible signals.\n *\n * It IS, however, the set of all signals that trigger\n * an exit on either Linux or BSD systems. Linux is a\n * superset of the signal names supported on BSD, and\n * the unknown signals just fail to register, so we can\n * catch that easily enough.\n *\n * Windows signals are a different set, since there are\n * signals that terminate Windows processes, but don't\n * terminate (or don't even exist) on Posix systems.\n *\n * Don't bother with SIGKILL. It's uncatchable, which\n * means that we can't fire any callbacks anyway.\n *\n * If a user does happen to register a handler on a non-\n * fatal signal like SIGWINCH or something, and then\n * exit, it'll end up firing `process.emit('exit')`, so\n * the handler will be fired anyway.\n *\n * SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n * artificially, inherently leave the process in a\n * state from which it is not safe to try and enter JS\n * listeners.\n */\nexport const signals: NodeJS.Signals[] = []\nsignals.push('SIGHUP', 'SIGINT', 'SIGTERM')\n\nif (process.platform !== 'win32') {\n signals.push(\n 'SIGALRM',\n 'SIGABRT',\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n signals.push('SIGIO', 'SIGPOLL', 'SIGPWR', 'SIGSTKFLT')\n}\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/integration/command-test.js":{"lineLengths":[13,72,62,2,62,46,47,48,51,62,74,71,3,62,66,64,3,65,47,61,7,47,13,25,13,25,13,16,7,3,72,48,32,35,65,3,78,48,34,62,3,40],"data":{"version":3,"file":"command-test.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/tests/integration/command-test.ts"],"names":[],"mappings":";;;;;AAAA,8CAAsB;AAEtB,+CAAiD;AACjD,gDAAuD;AAEvD,MAAM,OAAO,GAAG,IAAI,4BAAkB,EAAE,CAAA;AAExC,IAAA,aAAI,EAAC,iCAAiC,EAAE,CAAC,CAAC,EAAE,EAAE;IAC5C,IAAI,OAAO,GAAG,IAAI,uBAAa,CAAC,EAAE,KAAK,EAAE,eAAe,EAAE,CAAC,CAAA;IAE3D,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAA;AACpE,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,iCAAiC,EAAE,CAAC,CAAC,EAAE,EAAE;IAC5C,IAAI,OAAO,GAAG,IAAI,uBAAa,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAA;IAEnD,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAA;AAC7D,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,oCAAoC,EAAE,CAAC,CAAC,EAAE,EAAE;IAC/C,IAAI,OAAO,GAAG,IAAI,uBAAa,CAAC;QAC9B,MAAM,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,OAAO,CAAC;KACtD,CAAC,CAAA;IAEF,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,kBAAkB,EAAE,EAAE;QACxC,IAAI;QACJ,gBAAgB;QAChB,IAAI;QACJ,gBAAgB;QAChB,IAAI;QACJ,QAAQ;KACT,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,2CAA2C,EAAE,CAAC,CAAC,EAAE,EAAE;IACtD,CAAC,CAAC,MAAM,CACN,GAAG,EAAE,CACH,IAAI,uBAAa,CAAC;QAChB,KAAK,EAAE,gBAAgB;QACvB,MAAM,EAAE,CAAC,iBAAiB,CAAC;KAC5B,CAAC,EACJ,EAAE,OAAO,EAAE,0CAA0C,EAAE,CACxD,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,iDAAiD,EAAE,CAAC,CAAC,EAAE,EAAE;IAC5D,CAAC,CAAC,MAAM,CACN,GAAG,EAAE,CACH,IAAI,uBAAa,CAAC;QAChB,MAAM,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC;KAC3B,CAAC,EACJ,EAAE,OAAO,EAAE,uCAAuC,EAAE,CACrD,CAAA;AACH,CAAC,CAAC,CAAA"},"url":null,"sourceURL":null,"sourceMap":{}},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/command.js":{"lineLengths":[13,62,31,35,37,39,45,21,11,12,19,15,26,28,33,76,13,45,9,29,34,78,13,47,9,106,112,53,51,27,5,19,63,69,9,64,70,9,5,26,22,40,53,9,38,34,98,9,54,38,28,9,42,54,9,20,5,18,26,44,22,10,62,26,56,9,64,27,58,9,61,5,1,38,35],"data":{"version":3,"file":"command.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/command.ts"],"names":[],"mappings":";;;AACA,mCAAsD;AACtD,qCAAyD;AACzD,uCAAgF;AAChF,6CAAkE;AAWlE,MAAa,aAAa;IACxB,MAAM,CAAe;IACrB,OAAO,CAAgB;IACvB,cAAc,CAAc;IAC5B,UAAU,CAAU;IAEpB,YAAY,OAAuB;QACjC,IAAI,OAAO,CAAC,KAAK,EAAE;YACjB,IAAI,OAAO,CAAC,MAAM,EAAE;gBAClB,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAA;aAC5D;YAED,OAAO,CAAC,MAAM,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;SACjC;QAED,IAAI,OAAO,CAAC,MAAM,EAAE;YAClB,IAAI,OAAO,CAAC,OAAO,EAAE;gBACnB,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAA;aAC9D;YAED,OAAO,CAAC,OAAO,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;SACnC;QAED,IAAI,CAAC,MAAM,GAAG,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,GAAG,CACtC,CAAC,YAAY,EAAE,EAAE,CAAC,IAAI,mBAAW,CAAC,YAAY,CAAC,CAChD,CAAA;QAED,IAAI,CAAC,OAAO,GAAG,CAAC,OAAO,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,GAAG,CACxC,CAAC,aAAa,EAAE,EAAE,CAAC,IAAI,qBAAY,CAAC,aAAa,CAAC,CACnD,CAAA;QAED,IAAI,CAAC,cAAc,GAAG,OAAO,CAAC,cAAc,CAAA;QAC5C,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,EAAE,CAAA;QAE1C,IAAI,CAAC,WAAW,EAAE,CAAA;IACpB,CAAC;IAED,WAAW;QACT,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;YACpD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAA;SACzD;QAED,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;YACrD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAA;SAC1D;IACH,CAAC;IAED,kBAAkB;QAChB,IAAI,IAAI,GAAa,EAAE,CAAA;QAEvB,KAAK,IAAI,KAAK,IAAI,IAAI,CAAC,MAAM,EAAE;YAC7B,IAAI,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,kBAAkB,EAAE,CAAC,CAAA;SACzC;QAED,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC,CAAA;QAE7B,IAAI,IAAI,CAAC,cAAc,EAAE;YACvB,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,IAAA,6BAAmB,EAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAA;SACvE;QAED,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,EAAE;YAC3C,0BAA0B;YAC1B,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;SAChB;QAED,KAAK,IAAI,MAAM,IAAI,IAAI,CAAC,OAAO,EAAE;YAC/B,IAAI,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,kBAAkB,EAAE,CAAC,CAAA;SAC1C;QAED,OAAO,IAAI,CAAA;IACb,CAAC;IAED,GAAG,CAAC,OAAmB;QACrB,IAAI,UAAU,GAAmB;YAC/B,IAAI,EAAE,IAAI,CAAC,kBAAkB,EAAE;YAC/B,GAAG,OAAO;SACX,CAAA;QAED,IAAI,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAA;QACrD,IAAI,WAAW,EAAE;YACf,UAAU,CAAC,WAAW,GAAG,WAAW,CAAC,MAAkB,CAAA;SACxD;QAED,IAAI,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAA;QACvD,IAAI,YAAY,EAAE;YAChB,UAAU,CAAC,YAAY,GAAG,YAAY,CAAC,MAAkB,CAAA;SAC1D;QAED,OAAO,IAAI,uBAAa,CAAC,UAAU,CAAC,CAAC,GAAG,EAAE,CAAA;IAC5C,CAAC;CACF;AA1FD,sCA0FC"},"url":null,"sourceURL":null,"sourceMap":{}},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/input.js":{"lineLengths":[13,62,29,45,43,19,11,11,8,9,9,15,26,87,42,9,37,37,31,33,33,51,5,20,61,5,23,87,25,9,14,70,55,9,5,24,46,31,9,14,28,9,5,19,25,26,44,9,36,32,9,28,52,9,24,54,9,24,39,9,23,5,26,16,34,31,17,35,10,5,1,34,33],"data":{"version":3,"file":"input.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/input.ts"],"names":[],"mappings":";;;AAAA,6CAAsC;AAEtC,2CAA+C;AAe/C,MAAa,WAAW;IACtB,MAAM,CAAa;IACnB,MAAM,CAAS;IACf,GAAG,CAAoB;IACvB,IAAI,CAAkB;IACtB,IAAI,CAAU;IACd,UAAU,CAAU;IAEpB,YAAY,OAAwB;QAClC,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,YAAY,sBAAQ,EAAE;YAC9D,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,CAAA;SAC9B;QAED,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAA;QAC5B,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAA;QAC5B,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAA;QACtB,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;QACxB,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;QACxB,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,EAAE,CAAA;IAC5C,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,MAAM,YAAY,sBAAQ,CAAA;IACxC,CAAC;IAED,IAAI,WAAW;QACb,IAAI,IAAI,CAAC,MAAM,YAAY,sBAAQ,IAAI,IAAI,CAAC,MAAM,KAAK,OAAO,EAAE;YAC9D,OAAO,KAAK,CAAA;SACb;aAAM;YACL,IAAI,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,uBAAc,CAAC,CAAA;YAChD,OAAO,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,CAAC,KAAK,MAAM,CAAA;SAC3C;IACH,CAAC;IAED,gBAAgB;QACd,IAAI,OAAO,IAAI,CAAC,MAAM,KAAK,QAAQ,EAAE;YACnC,OAAO,IAAI,CAAC,MAAM,CAAA;SACnB;aAAM;YACL,OAAO,QAAQ,CAAA;SAChB;IACH,CAAC;IAED,WAAW;QACT,IAAI,OAAO,GAAa,EAAE,CAAA;QAE1B,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAA;SAChC;QAED,IAAI,IAAI,CAAC,GAAG,KAAK,QAAQ,EAAE;YACzB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;SACpB;aAAM,IAAI,IAAI,CAAC,GAAG,EAAE;YACnB,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAA;SACxC;QAED,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAA;SAC1C;QAED,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,CAAC,CAAA;SAC3B;QAED,OAAO,OAAO,CAAA;IAChB,CAAC;IAED,kBAAkB;QAChB,OAAO;YACL,GAAG,IAAI,CAAC,WAAW,EAAE;YACrB,GAAG,IAAI,CAAC,UAAU;YAClB,IAAI;YACJ,IAAI,CAAC,gBAAgB,EAAE;SACxB,CAAA;IACH,CAAC;CACF;AA1ED,kCA0EC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/regexp.js":{"lineLengths":[13,62,380,42,33,53,46,42,42,42,72,60,91,57,57,89,90,34],"data":{"version":3,"file":"regexp.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/regexp.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG,gBAAgB,CAAA;AAEjC,QAAA,QAAQ,GAAG,aAAa,CAAA;AAExB,QAAA,gBAAgB,GAAG,yBAAyB,CAAA;AAC5C,QAAA,cAAc,GAAG,oBAAoB,CAAA;AACrC,QAAA,gBAAgB,GAAG,cAAc,CAAA;AACjC,QAAA,gBAAgB,GAAG,cAAc,CAAA;AACjC,QAAA,iBAAiB,GAAG,aAAa,CAAA;AACjC,QAAA,cAAc,GAAG,8CAA8C,CAAA;AAE/D,QAAA,eAAe,GAAG,iCAAiC,CAAA;AACnD,QAAA,cAAc,GACzB,iEAAiE,CAAA;AACtD,QAAA,sBAAsB,GAAG,uBAAuB,CAAA;AAChD,QAAA,sBAAsB,GAAG,uBAAuB,CAAA;AAChD,QAAA,eAAe,GAC1B,8DAA8D,CAAA;AACnD,QAAA,gBAAgB,GAC3B,8DAA8D,CAAA"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/output.js":{"lineLengths":[13,62,30,45,43,51,45,20,11,9,13,11,8,15,10,10,26,87,42,9,37,33,41,37,31,51,35,35,5,20,61,5,23,60,25,9,14,70,55,9,5,24,25,35,32,9,30,35,58,13,37,90,13,38,68,13,39,69,13,37,67,13,37,98,13,9,23,5,24,25,35,32,9,30,35,58,13,37,82,46,49,96,17,13,33,62,13,36,71,13,37,98,13,32,9,23,5,19,25,24,54,9,28,57,9,26,44,9,23,43,9,23,5,24,46,31,9,14,28,9,5,26,16,39,39,34,31,35,10,5,1,36,34],"data":{"version":3,"file":"output.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/output.ts"],"names":[],"mappings":";;;AAAA,6CAAsC;AAEtC,2CAA+C;AAC/C,mDAAkD;AAClD,6CAAkE;AAoClE,MAAa,YAAY;IACvB,MAAM,CAAc;IACpB,IAAI,CAAkB;IACtB,QAAQ,CAAkB;IAC1B,MAAM,CAAS;IACf,GAAG,CAAS;IACZ,UAAU,CAAU;IAEpB,KAAK,CAA6B;IAClC,KAAK,CAA6B;IAElC,YAAY,OAAyB;QACnC,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,YAAY,sBAAQ,EAAE;YAC9D,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,CAAA;SAC9B;QAED,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAA;QAC5B,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;QACxB,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAA;QAChC,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAA;QAC5B,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAA;QACtB,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,EAAE,CAAA;QAE1C,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAA;QAC1B,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAA;IAC5B,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,MAAM,YAAY,sBAAQ,CAAA;IACxC,CAAC;IAED,IAAI,WAAW;QACb,IAAI,IAAI,CAAC,MAAM,YAAY,sBAAQ,EAAE;YACnC,OAAO,KAAK,CAAA;SACb;aAAM;YACL,IAAI,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,uBAAc,CAAC,CAAA;YAChD,OAAO,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,CAAC,KAAK,MAAM,CAAA;SAC3C;IACH,CAAC;IAED,gBAAgB;QACd,IAAI,OAAO,GAAa,EAAE,CAAA;QAE1B,IAAI,IAAI,CAAC,KAAK,KAAK,KAAK,EAAE;YACxB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;SACpB;aAAM,IAAI,IAAI,CAAC,KAAK,EAAE;YACrB,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE;gBACpB,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;aAC1C;YAED,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE;gBACtB,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,IAAA,0BAAa,EAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAA;aACxD;YAED,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;gBACvB,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAA;aACpD;YAED,IAAI,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE;gBACxB,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAA;aACrD;YAED,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE;gBACtB,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAA;aACnD;YAED,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE;gBACtB,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,IAAA,6BAAmB,EAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAA;aACnE;SACF;QAED,OAAO,OAAO,CAAA;IAChB,CAAC;IAED,gBAAgB;QACd,IAAI,OAAO,GAAa,EAAE,CAAA;QAE1B,IAAI,IAAI,CAAC,KAAK,KAAK,KAAK,EAAE;YACxB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;SACpB;aAAM,IAAI,IAAI,CAAC,KAAK,EAAE;YACrB,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE;gBACpB,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;aAC1C;YAED,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE;gBACtB,IAAI,OAAO,GAAG,IAAA,0BAAa,EAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;gBAC/C,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;gBAE7B,IAAI,IAAI,CAAC,KAAK,CAAC,eAAe,EAAE;oBAC9B,OAAO,CAAC,IAAI,CACV,UAAU,EACV,OAAO,EACP,UAAU,EACV,OAAO,EACP,UAAU,EACV,OAAO,CACR,CAAA;iBACF;aACF;YAED,IAAI,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE;gBAClB,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAA;aAC9C;YAED,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE;gBACrB,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAA;aACvD;YAED,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE;gBACtB,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,IAAA,6BAAmB,EAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAA;aACnE;YAED,oBAAoB;SACrB;QAED,OAAO,OAAO,CAAA;IAChB,CAAC;IAED,WAAW;QACT,IAAI,OAAO,GAAa,EAAE,CAAA;QAE1B,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAA;SAC1C;QAED,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAA;SAC7C;QAED,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAA;SAChC;QAED,IAAI,IAAI,CAAC,GAAG,EAAE;YACZ,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;SAC/B;QAED,OAAO,OAAO,CAAA;IAChB,CAAC;IAED,gBAAgB;QACd,IAAI,OAAO,IAAI,CAAC,MAAM,KAAK,QAAQ,EAAE;YACnC,OAAO,IAAI,CAAC,MAAM,CAAA;SACnB;aAAM;YACL,OAAO,QAAQ,CAAA;SAChB;IACH,CAAC;IAED,kBAAkB;QAChB,OAAO;YACL,GAAG,IAAI,CAAC,gBAAgB,EAAE;YAC1B,GAAG,IAAI,CAAC,gBAAgB,EAAE;YAC1B,GAAG,IAAI,CAAC,WAAW,EAAE;YACrB,GAAG,IAAI,CAAC,UAAU;YAClB,IAAI,CAAC,gBAAgB,EAAE;SACxB,CAAA;IACH,CAAC;CACF;AA7JD,oCA6JC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/formatting.js":{"lineLengths":[13,62,31,33,38,29,41,33,9,14,32,9,5,10,23,5,1,38,38],"data":{"version":3,"file":"formatting.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/formatting.ts"],"names":[],"mappings":";;;AAAA,SAAgB,aAAa,CAAC,OAAwB;IACpD,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QAC/B,IAAI,OAAO,GAAG,IAAI,EAAE;YAClB,6BAA6B;YAC7B,OAAO,GAAG,OAAO,GAAG,CAAA;SACrB;aAAM;YACL,OAAO,GAAG,OAAO,EAAE,CAAA;SACpB;KACF;SAAM;QACL,OAAO,OAAO,CAAA;KACf;AACH,CAAC;AAXD,sCAWC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/filters.js":{"lineLengths":[13,62,92,31,33,51,5,18,1,31,37,55,5,18,1,47,35,18,52,5,23,35,38,101,9,14,58,9,62,5,17,50,5,22,85,5,23,53,33,24,5,24,1,40,37,69,1,50,37,70,1,50,35],"data":{"version":3,"file":"filters.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/filters.ts"],"names":[],"mappings":";;;AAiBA,SAAS,YAAY,CAAC,MAAc;IAClC,IAAI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE;QAC1B,OAAO,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,MAAM,CAAC,CAAA;KAC3C;IAED,OAAO,MAAM,CAAA;AACf,CAAC;AAED,SAAS,YAAY,CAAC,MAAc;IAClC,IAAI,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC,EAAE;QAC9B,OAAO,MAAM,CAAC,OAAO,CAAC,eAAe,EAAE,MAAM,CAAC,CAAA;KAC/C;IAED,OAAO,MAAM,CAAA;AACf,CAAC;AAED,SAAgB,cAAc,CAC5B,IAAgB,EAChB,SAAkB,KAAK;IAEvB,IAAI,YAAY,GAAG,IAAI,CAAC,MAAM,CAAA;IAE9B,IAAI,IAAI,CAAC,EAAE,EAAE;QACX,YAAY,GAAG,GAAG,YAAY,IAAI,IAAI,CAAC,EAAE,EAAE,CAAA;KAC5C;IAED,IAAI,IAAI,CAAC,OAAO,EAAE;QAChB,IAAI,OAAO,GAAG,IAAI,CAAC,OAAO,CAAA;QAE1B,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE;YAC3B,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,GAAG,CACnC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,GAAG,GAAG,IAAI,YAAY,CAAC,KAAK,CAAC,EAAE,CAClD,CAAA;SACF;aAAM;YACL,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAA;SAC9C;QAED,YAAY,GAAG,GAAG,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAA;KACtD;IAED,IAAI,MAAM,EAAE;QACV,YAAY,GAAG,YAAY,CAAC,YAAY,CAAC,CAAA;KAC1C;IAED,IAAI,IAAI,CAAC,MAAM,EAAE;QACf,YAAY,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,YAAY,EAAE,CAAA;KAC7E;IAED,IAAI,IAAI,CAAC,OAAO,EAAE;QAChB,YAAY,GAAG,GAAG,YAAY,GAAG,IAAI,CAAC,OAAO;aAC1C,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC;aACpB,IAAI,CAAC,EAAE,CAAC,EAAE,CAAA;KACd;IAED,OAAO,YAAY,CAAA;AACrB,CAAC;AAvCD,wCAuCC;AAED,SAAgB,mBAAmB,CAAC,KAAkB;IACpD,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AAClE,CAAC;AAFD,kDAEC;AAED,SAAgB,mBAAmB,CAAC,KAAkB;IACpD,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACnE,CAAC;AAFD,kDAEC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/process.js":{"lineLengths":[13,72,62,2,62,31,59,47,45,70,21,9,9,8,12,18,16,17,15,16,13,26,33,33,31,39,51,47,49,45,47,41,32,5,24,54,90,9,5,97,19,54,34,57,68,62,25,9,56,68,30,38,33,15,53,53,27,44,13,29,45,72,35,47,21,19,13,30,78,45,42,52,21,19,13,52,49,31,31,29,81,17,32,68,81,32,58,21,47,17,22,29,50,49,23,17,15,35,51,55,54,32,33,19,82,51,13,78,36,53,56,54,32,33,19,13,42,82,13,11,23,89,9,23,5,1,38,35],"data":{"version":3,"file":"process.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/process.ts"],"names":[],"mappings":";;;;;;AAAA,2DAA0C;AAE1C,+CAA4C;AAC5C,6CAIwB;AACxB,sEAA4C;AAyB5C,MAAa,aAAa;IACxB,IAAI,CAAU;IACd,IAAI,CAAS;IACb,GAAG,CAAS;IACZ,OAAO,CAAS;IAChB,aAAa,CAAU;IACvB,WAAW,CAAW;IACtB,YAAY,CAAW;IACvB,UAAU,CAA0C;IACpD,WAAW,CAAwC;IACnD,QAAQ,CAAyB;IAEjC,YAAY,OAAuB;QACjC,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;QACxB,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;QACxB,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAA;QACtB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAA;QAC9B,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAA;QAC1C,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAA;QACtC,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAA;QACxC,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAA;QACpC,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAA;QACtC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAA;QAEhC,IAAI,CAAC,gBAAgB,EAAE,CAAA;IACzB,CAAC;IAED,gBAAgB;QACd,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,aAAa,EAAE;YAC3C,MAAM,IAAI,KAAK,CACb,4DAA4D,CAC7D,CAAA;SACF;IACH,CAAC;IAED,6FAA6F;IAC7F,GAAG,CAAC,QAA0C;QAC5C,IAAI,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,QAAQ,CAAA;QAC7C,IAAI,IAAI,GAAa,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAA;QAEnC,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAA;QAEhD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,oBAAS,EAAE;YAC9C,IAAI,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAA;YACjD,GAAG,GAAG,MAAM,CAAA;SACb;QAED,IAAI,OAAO,GAAuB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAChE,IAAI,KAAK,GAAG,IAAA,0BAAK,EAAC,GAAG,EAAE,IAAI,EAAE;gBAC3B,GAAG,EAAE,IAAI,CAAC,GAAG;gBACb,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,WAAW,EAAE,IAAI;aAClB,CAAC,CAAA;YAEF,IAAI,MAAM,GAAG,IAAI,qBAAU,EAAE,CAAA;YAC7B,IAAI,MAAM,GAAG,IAAI,qBAAU,EAAE,CAAA;YAE7B,IAAI,QAAQ,EAAE;gBACZ,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;aAC5B;YAED,IAAI,UAAU,EAAE;gBACd,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE;oBACjC,IAAI,QAAQ,GAAG,IAAA,yBAAe,EAAC,IAAI,CAAC,CAAA;oBACpC,IAAI,QAAQ,EAAE;wBACZ,UAAU,EAAE,CAAC,QAAQ,CAAC,CAAA;qBACvB;gBACH,CAAC,CAAC,CAAA;aACH;YAED,IAAI,WAAW,EAAE;gBACf,IAAI,SAAS,GAAG,IAAI,4BAAkB,CAAC,WAAW,CAAC,CAAA;gBACnD,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE;oBACjC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE;wBACnB,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;qBAC5B;gBACH,CAAC,CAAC,CAAA;aACH;YAED,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAA;YAEvC,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE;gBACjC,MAAM,CAAC,KAAK,EAAE,CAAA;gBACd,MAAM,CAAC,KAAK,EAAE,CAAA;gBAEd,IAAI,MAAM,EAAE;oBACV,MAAM,CAAC,IAAI,KAAK,CAAC,iCAAiC,MAAM,EAAE,CAAC,CAAC,CAAA;iBAC7D;qBAAM,IAAI,IAAI,EAAE;oBACf,IAAI,OAAO,GAAG,2BAA2B,IAAI,EAAE,CAAA;oBAC/C,IAAI,KAAK,GAAG,IAAA,6BAAmB,EAAC,MAAM,CAAC,KAAK,CAAC,CAAA;oBAE7C,IAAI,KAAK,EAAE;wBACT,OAAO,GAAG,GAAG,OAAO,MAAM,KAAK,EAAE,CAAA;qBAClC;oBAED,MAAM,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAA;iBAC3B;qBAAM;oBACL,OAAO,CAAC;wBACN,MAAM,EAAE,MAAM,CAAC,QAAQ,EAAE;wBACzB,MAAM,EAAE,MAAM,CAAC,QAAQ,EAAE;qBAC1B,CAAC,CAAA;iBACH;YACH,CAAC,CAAC,CAAA;YAEF,IAAI,IAAI,CAAC,WAAW,EAAE;gBACpB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;gBAClC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE;oBACnC,kCAAkC;oBAClC,MAAM,CAAC,GAAG,CAAC,CAAA;oBAEX,KAAK,CAAC,IAAI,EAAE,CAAA;gBACd,CAAC,CAAC,CAAA;gBAEF,kEAAkE;gBAClE,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,CAAC,CAAA;aAClC;YAED,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAA;YAEjE,IAAI,IAAI,CAAC,YAAY,EAAE;gBACrB,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA;gBAEpC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE;oBACpC,kCAAkC;oBAClC,MAAM,CAAC,GAAG,CAAC,CAAA;oBAEX,KAAK,CAAC,IAAI,EAAE,CAAA;gBACd,CAAC,CAAC,CAAA;aACH;iBAAM,IAAI,IAAI,CAAC,aAAa,EAAE;gBAC7B,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAA;aAClE;QACH,CAAC,CAAC,CAAA;QAEF,IAAI,QAAQ,EAAE;YACZ,OAAO,CAAC,IAAI,CACV,CAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC,EAChC,CAAC,MAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAC7B,CAAA;SACF;QAED,OAAO,OAAO,CAAA;IAChB,CAAC;CACF;AA9ID,sCA8IC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/platform.js":{"lineLengths":[13,62,27,35,15,25,36],"data":{"version":3,"file":"platform.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/platform.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAY,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;KAC9C,QAAQ,EAAE;KACV,KAAK,CAAC,YAAY,CAAC,CAAA"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/parsing.js":{"lineLengths":[13,62,192,37,3,46,2,68,25,3,43,85,22,40,69,22,9,14,35,28,9,10,20,1,50,3,50,2,46,32,3,38,67,22,29,46,34,34,19,9,47,42,9,37,68,9,53,60,9,34,34,9,35,60,9,5,20,1,42,26,11,10,12,9,13,27,25,24,29,26,33,5,69,23,64,26,32,25,39,38,14,19,9,27,68,32,68,23,13,67,29,77,69,23,13,67,29,77,69,23,13,9,52,33,9,49,29,36,34,9,5,1,48,31,21,23,21,23,21,26,21,22,24,1,31,20,29,56,20,92,25,28,43,42,42,42,37,42,14,33,82,31,67,57,69,32,17,13,33,82,31,67,57,69,32,17,13,33,9,5,18,1,38,32,21,29,57,20,58,29,28,36,39,14,9,5,19,1,40,38,26,18,5,31,25,5,10,72,5,1,32,21,29,57,20,89,29,28,51,52,14,9,5,19,1,40,33,21,23,21,23,22,1,33,22,29,58,20,85,30,28,45,51,51,42,44,47,14,9,5,20,1,42,35],"data":{"version":3,"file":"parsing.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/parsing.ts"],"names":[],"mappings":";;;AAcA,qCAaiB;AAEjB;;;;;GAKG;AACH,SAAgB,mBAAmB,CAAC,WAAqB;IACvD,iFAAiF;IACjF,OAAO,WAAW;SACf,MAAM,CAAC,CAAC,QAAkB,EAAE,OAAe,EAAY,EAAE;QACxD,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE;YAC1D,OAAO,EAAE,CAAA;SACV;aAAM;YACL,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;YACtB,OAAO,QAAQ,CAAA;SAChB;IACH,CAAC,EAAE,EAAE,CAAC;SACL,IAAI,CAAC,IAAI,CAAC,CAAA;AACf,CAAC;AAZD,kDAYC;AAED;;;;;GAKG;AACH,SAAgB,eAAe,CAC7B,UAAkB;IAElB,IAAI,KAAK,GAAG,UAAU,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IAC9D,IAAI,QAAQ,GAAwB,EAAE,CAAA;IAEtC,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;QAErC,IAAI,KAAK,KAAK,SAAS,EAAE;YACvB,sBAAsB;YACtB,OAAM;SACP;QAED,IAAI,GAAG,KAAK,OAAO,IAAI,GAAG,KAAK,KAAK,EAAE;YACpC,QAAQ,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;SAC9B;aAAM,IAAI,GAAG,KAAK,SAAS,EAAE;YAC5B,QAAQ,CAAC,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,CAAA;SACxD;aAAM,IAAI,GAAG,KAAK,MAAM,IAAI,GAAG,KAAK,OAAO,EAAE;YAC5C,QAAQ,CAAC,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAA;SAChD;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,QAAQ,CAAC,IAAI,GAAG,KAAK,CAAA;SACtB;aAAM,IAAI,GAAG,KAAK,OAAO,EAAE;YAC1B,QAAQ,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAA;SAChD;KACF;IAED,OAAO,QAAQ,CAAA;AACjB,CAAC;AA5BD,0CA4BC;AAED,MAAa,kBAAkB;IAC7B,MAAM,CAA+B;IACrC,KAAK,CAAQ;IACb,OAAO,CAAS;IAChB,IAAI,CAAS;IACb,QAAQ,CAAsC;IAE9C,YAAY,QAA8C;QACxD,IAAI,CAAC,MAAM,GAAG,EAAE,CAAA;QAChB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAA;QACf,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QACpB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAA;QACjB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;IAC1B,CAAC;IAED,iEAAiE;IACjE,WAAW,CAAC,IAAY;QACtB,IAAI,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,yBAAgB,CAAC,CAAA;QAC9C,IAAI,WAAW,EAAE;YACf,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;YACnB,IAAI,CAAC,KAAK,EAAE,CAAA;YACZ,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG;gBACxB,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC;aACvB,CAAA;YAED,OAAM;SACP;QAED,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,uBAAc,CAAC,CAAA;YAC9C,IAAI,aAAa,EAAE;gBACjB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,QAAQ,GAAG,aAAa,CAAC,CAAC,CAAC,CAAA;gBACnD,OAAM;aACP;YAED,IAAI,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,yBAAgB,CAAC,CAAA;YAC7C,IAAI,UAAU,EAAE;gBACd,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;gBAC5D,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,YAAY,GAAG,UAAU,CAAC,CAAC,CAAC,CAAA;gBACpD,OAAM;aACP;YAED,IAAI,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,yBAAgB,CAAC,CAAA;YAC7C,IAAI,UAAU,EAAE;gBACd,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;gBAC5D,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,YAAY,GAAG,UAAU,CAAC,CAAC,CAAC,CAAA;gBACpD,OAAM;aACP;SACF;QAED,IAAI,0BAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YAChC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;SACrB;QAED,IAAI,uBAAc,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YAC7B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;YAChB,IAAI,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAA;YAEvB,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;SACtB;IACH,CAAC;CACF;AA7DD,gDA6DC;AAED,SAAS,cAAc,CAAC,IAAY;IAClC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,OAAO,CAAA;IAChC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,OAAO,CAAA;IAChC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,UAAU,CAAA;IACnC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,MAAM,CAAA;IAC/B,OAAO,YAAY,CAAA;AACrB,CAAC;AAED,SAAgB,aAAa,CAAC,KAAe;IAC3C,IAAI,MAAM,GAAiB,EAAE,CAAA;IAE7B,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,uBAAc,CAAC,CAAA;QACtC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,CAAC,GACrE,KAAK,CAAA;YAEP,IAAI,KAAK,GAAgB;gBACvB,WAAW;gBACX,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC;gBAC1B,SAAS,EAAE,MAAM,KAAK,GAAG;gBACzB,SAAS,EAAE,MAAM,KAAK,GAAG;gBACzB,UAAU,EAAE,KAAK,KAAK,GAAG;gBACzB,KAAK,EAAE,KAAK,KAAK,GAAG;gBACpB,QAAQ,EAAE,QAAQ,KAAK,GAAG;aAC3B,CAAA;YAED,IAAI,MAAM,KAAK,GAAG,EAAE;gBAClB,IAAI,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,+BAAsB,CAAC,CAAA;gBACxD,IAAI,QAAQ,EAAE;oBACZ,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;oBAC9C,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW;yBAClC,OAAO,CAAC,+BAAsB,EAAE,EAAE,CAAC;yBACnC,IAAI,EAAE,CAAA;iBACV;aACF;YAED,IAAI,MAAM,KAAK,GAAG,EAAE;gBAClB,IAAI,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,+BAAsB,CAAC,CAAA;gBACxD,IAAI,QAAQ,EAAE;oBACZ,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;oBAC9C,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW;yBAClC,OAAO,CAAC,+BAAsB,EAAE,EAAE,CAAC;yBACnC,IAAI,EAAE,CAAA;iBACV;aACF;YAED,MAAM,CAAC,IAAI,CAAC,GAAG,KAAK,CAAA;SACrB;KACF;IAED,OAAO,MAAM,CAAA;AACf,CAAC;AA5CD,sCA4CC;AAED,SAAgB,cAAc,CAAC,KAAe;IAC5C,IAAI,OAAO,GAAkB,EAAE,CAAA;IAE/B,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,wBAAe,CAAC,CAAA;QACvC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,CAAC,GAAG,KAAK,CAAA;YAC7C,OAAO,CAAC,IAAI,CAAC,GAAG;gBACd,WAAW;gBACX,MAAM,EAAE,GAAG,KAAK,GAAG;gBACnB,QAAQ,EAAE,KAAK,KAAK,GAAG;aACxB,CAAA;SACF;KACF;IAED,OAAO,OAAO,CAAA;AAChB,CAAC;AAhBD,wCAgBC;AAED,SAAS,kBAAkB,CACzB,OAAe;IAEf,IAAI,OAAO,KAAK,GAAG,EAAE;QACnB,OAAO,EAAE,CAAA;KACV;SAAM,IAAI,OAAO,KAAK,GAAG,EAAE;QAC1B,OAAO,SAAS,CAAA;KACjB;SAAM;QACL,OAAO,CAAC,GAAG,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAA;KAChE;AACH,CAAC;AAED,SAAgB,cAAc,CAAC,KAAe;IAC5C,IAAI,OAAO,GAAkB,EAAE,CAAA;IAE/B,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,wBAAe,CAAC,CAAA;QACvC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,CAAC,GAClE,KAAK,CAAA;YAEP,OAAO,CAAC,IAAI,CAAC,GAAG;gBACd,WAAW;gBACX,MAAM,EAAE,kBAAkB,CAAC,MAAM,CAAC;gBAClC,OAAO,EAAE,kBAAkB,CAAC,OAAO,CAAC;aACrC,CAAA;SACF;KACF;IAED,OAAO,OAAO,CAAA;AAChB,CAAC;AAlBD,wCAkBC;AAED,SAAS,gBAAgB,CAAC,IAAY;IACpC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,OAAO,CAAA;IAChC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,OAAO,CAAA;IAChC,OAAO,UAAU,CAAA;AACnB,CAAC;AAED,SAAgB,eAAe,CAAC,KAAe;IAC7C,IAAI,QAAQ,GAAmB,EAAE,CAAA;IAEjC,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,yBAAgB,CAAC,CAAA;QACxC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,CAAC,GAAG,KAAK,CAAA;YAExE,QAAQ,CAAC,IAAI,CAAC,GAAG;gBACf,WAAW;gBACX,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC;gBAC5B,mBAAmB,EAAE,KAAK,KAAK,GAAG;gBAClC,mBAAmB,EAAE,KAAK,KAAK,GAAG;gBAClC,YAAY,EAAE,GAAG,KAAK,GAAG;gBACzB,aAAa,EAAE,IAAI,KAAK,GAAG;gBAC3B,eAAe,EAAE,MAAM,KAAK,GAAG;aAChC,CAAA;SACF;KACF;IAED,OAAO,QAAQ,CAAA;AACjB,CAAC;AArBD,0CAqBC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/line-buffer.js":{"lineLengths":[13,72,62,2,62,62,37,48,10,12,17,19,16,24,29,31,5,18,27,52,9,26,60,43,47,72,13,18,40,82,50,48,17,54,53,50,48,17,13,9,5,13,27,52,9,32,49,47,9,28,5,16,37,5,1,29,39],"data":{"version":3,"file":"line-buffer.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/line-buffer.ts"],"names":[],"mappings":";;;;;AAAA,8DAAsC;AAEtC,qCAAmC;AAEnC,MAAqB,UAAW,SAAQ,qBAAY;IAClD,KAAK,CAAU;IACf,OAAO,CAAS;IAChB,YAAY,CAAQ;IAEpB;QACE,KAAK,EAAE,CAAA;QAEP,IAAI,CAAC,KAAK,GAAG,EAAE,CAAA;QACf,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QACpB,IAAI,CAAC,YAAY,GAAG,EAAE,CAAA;IACxB,CAAC;IAED,MAAM,CAAC,IAAY;QACjB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAA;SACxC;QAED,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,iBAAQ,CAAC,CAAA;YAEtC,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;gBAC5B,IAAI,CAAC,UAAU,CAAC,GAAG,WAAW,CAAA;gBAC9B,IAAI,CAAC,YAAY,GAAG,GAAG,IAAI,CAAC,YAAY,GAAG,UAAU,EAAE,CAAA;aACxD;iBAAM;gBACL,IAAI,IAAI,CAAC,YAAY,EAAE;oBACrB,IAAI,UAAU,GAAG,GAAG,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC,KAAK,EAAE,EAAE,CAAA;oBAC7D,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;oBAC7B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;iBAC5B;gBAED,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC,GAAG,EAAY,CAAA;gBAC/C,KAAK,IAAI,UAAU,IAAI,WAAW,EAAE;oBAClC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;oBAC7B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;iBAC5B;aACF;SACF;IACH,CAAC;IAED,KAAK;QACH,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAA;SACxC;QAED,IAAI,IAAI,CAAC,YAAY,EAAE;YACrB,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,CAAA;YACpC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA;SACnC;QAED,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;IACrB,CAAC;IAED,QAAQ;QACN,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC9B,CAAC;CACF;AAxDD,6BAwDC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/helpers/streams.js":{"lineLengths":[13,62,65,45,57,15,1,48,57,16,1,48,35],"data":{"version":3,"file":"streams.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/tests/helpers/streams.ts"],"names":[],"mappings":";;;AAAA,6CAAgD;AAEhD,MAAa,kBAAmB,SAAQ,sBAAQ;IAC9C,KAAK,KAAI,CAAC;CACX;AAFD,gDAEC;AAED,MAAa,kBAAmB,SAAQ,sBAAQ;IAC9C,MAAM,KAAI,CAAC;CACZ;AAFD,gDAEC"},"url":null,"sourceURL":null}}} \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761265-5.json b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761265-5.json new file mode 100644 index 0000000..7045cfb --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761265-5.json @@ -0,0 +1 @@ +{"result":[{"scriptId":"78","url":"node:internal/per_context/primordials","functions":[{"functionName":"SafeIterator","ranges":[{"startOffset":9499,"endOffset":9570,"count":142}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":9575,"endOffset":9624,"count":714}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9629,"endOffset":9674,"count":85}],"isBlockCoverage":true},{"functionName":"desc.value","ranges":[{"startOffset":11239,"endOffset":11306,"count":57}],"isBlockCoverage":true},{"functionName":"SafeMap","ranges":[{"startOffset":11964,"endOffset":11992,"count":509}],"isBlockCoverage":false},{"functionName":"SafeWeakMap","ranges":[{"startOffset":12136,"endOffset":12164,"count":10}],"isBlockCoverage":false},{"functionName":"SafeSet","ranges":[{"startOffset":12293,"endOffset":12321,"count":511}],"isBlockCoverage":false},{"functionName":"SafeWeakSet","ranges":[{"startOffset":12465,"endOffset":12493,"count":1}],"isBlockCoverage":true},{"functionName":"SafeFinalizationRegistry","ranges":[{"startOffset":12745,"endOffset":12801,"count":3}],"isBlockCoverage":true},{"functionName":"SafeWeakRef","ranges":[{"startOffset":12954,"endOffset":12992,"count":5}],"isBlockCoverage":true},{"functionName":"SafePromise","ranges":[{"startOffset":13140,"endOffset":13182,"count":348}],"isBlockCoverage":true},{"functionName":"primordials.SafePromisePrototypeFinally","ranges":[{"startOffset":13686,"endOffset":13960,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13831,"endOffset":13955,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13861,"endOffset":13910,"count":58}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnArrayLike","ranges":[{"startOffset":15280,"endOffset":15836,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15315,"endOffset":15835,"count":97},{"startOffset":15485,"endOffset":15504,"count":62},{"startOffset":15577,"endOffset":15831,"count":158},{"startOffset":15615,"endOffset":15638,"count":0},{"startOffset":15831,"endOffset":15834,"count":158}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15706,"endOffset":15815,"count":158},{"startOffset":15788,"endOffset":15807,"count":35}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnVoid","ranges":[{"startOffset":16178,"endOffset":16580,"count":203}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16213,"endOffset":16579,"count":203},{"startOffset":16310,"endOffset":16320,"count":133},{"startOffset":16367,"endOffset":16575,"count":316},{"startOffset":16405,"endOffset":16428,"count":158},{"startOffset":16429,"endOffset":16442,"count":158},{"startOffset":16575,"endOffset":16578,"count":316}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16496,"endOffset":16559,"count":316},{"startOffset":16541,"endOffset":16551,"count":70}],"isBlockCoverage":true}]},{"scriptId":"80","url":"node:internal/per_context/messageport","functions":[{"functionName":"exports.emitMessage","ranges":[{"startOffset":407,"endOffset":993,"count":4},{"startOffset":683,"endOffset":991,"count":0}],"isBlockCoverage":true}]},{"scriptId":"81","url":"node:internal/bootstrap/realm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14749,"count":1}],"isBlockCoverage":false},{"functionName":"binding","ranges":[{"startOffset":4702,"endOffset":5475,"count":0}],"isBlockCoverage":false},{"functionName":"_linkedBinding","ranges":[{"startOffset":5505,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"internalBinding","ranges":[{"startOffset":5955,"endOffset":6217,"count":186},{"startOffset":6057,"endOffset":6197,"count":45}],"isBlockCoverage":true},{"functionName":"getOwn","ranges":[{"startOffset":6377,"endOffset":6531,"count":3349},{"startOffset":6513,"endOffset":6528,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6580,"endOffset":6676,"count":331},{"startOffset":6636,"endOffset":6676,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6803,"endOffset":6870,"count":331},{"startOffset":6854,"endOffset":6870,"count":261}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7100,"endOffset":7136,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7508,"endOffset":7609,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7568,"endOffset":7603,"count":331}],"isBlockCoverage":true},{"functionName":"BuiltinModule","ranges":[{"startOffset":7614,"endOffset":8291,"count":331}],"isBlockCoverage":true},{"functionName":"allowRequireByUsers","ranges":[{"startOffset":8302,"endOffset":8663,"count":0}],"isBlockCoverage":false},{"functionName":"exposeInternals","ranges":[{"startOffset":8813,"endOffset":8964,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":8975,"endOffset":9029,"count":0}],"isBlockCoverage":false},{"functionName":"canBeRequiredByUsers","ranges":[{"startOffset":9040,"endOffset":9115,"count":190}],"isBlockCoverage":true},{"functionName":"canBeRequiredWithoutScheme","ranges":[{"startOffset":9126,"endOffset":9220,"count":1639}],"isBlockCoverage":true},{"functionName":"normalizeRequirableId","ranges":[{"startOffset":9231,"endOffset":9576,"count":1152},{"startOffset":9307,"endOffset":9469,"count":0},{"startOffset":9525,"endOffset":9549,"count":60},{"startOffset":9549,"endOffset":9575,"count":1092}],"isBlockCoverage":true},{"functionName":"isBuiltin","ranges":[{"startOffset":9587,"endOffset":9828,"count":0}],"isBlockCoverage":false},{"functionName":"getCanBeRequiredByUsersWithoutSchemeList","ranges":[{"startOffset":9839,"endOffset":9948,"count":1}],"isBlockCoverage":true},{"functionName":"getSchemeOnlyModuleNames","ranges":[{"startOffset":9959,"endOffset":10034,"count":0}],"isBlockCoverage":false},{"functionName":"compileForPublicLoader","ranges":[{"startOffset":10106,"endOffset":10818,"count":88},{"startOffset":10187,"endOffset":10379,"count":0},{"startOffset":10443,"endOffset":10740,"count":17},{"startOffset":10702,"endOffset":10706,"count":0}],"isBlockCoverage":true},{"functionName":"getESMFacade","ranges":[{"startOffset":10822,"endOffset":11584,"count":102},{"startOffset":10860,"endOffset":10879,"count":85},{"startOffset":10879,"endOffset":11583,"count":17}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11321,"endOffset":11424,"count":17}],"isBlockCoverage":true},{"functionName":"syncExports","ranges":[{"startOffset":11880,"endOffset":12224,"count":105},{"startOffset":11999,"endOffset":12214,"count":3349},{"startOffset":12076,"endOffset":12085,"count":0}],"isBlockCoverage":true},{"functionName":"compileForInternalLoader","ranges":[{"startOffset":12228,"endOffset":13050,"count":2186},{"startOffset":12277,"endOffset":12292,"count":156},{"startOffset":12294,"endOffset":12328,"count":2032},{"startOffset":12328,"endOffset":12467,"count":154},{"startOffset":12467,"endOffset":12502,"count":1},{"startOffset":12503,"endOffset":12519,"count":153},{"startOffset":12775,"endOffset":13049,"count":154}],"isBlockCoverage":true},{"functionName":"requireBuiltin","ranges":[{"startOffset":13245,"endOffset":13610,"count":2103},{"startOffset":13296,"endOffset":13327,"count":5},{"startOffset":13327,"endOffset":13512,"count":2098},{"startOffset":13512,"endOffset":13567,"count":0},{"startOffset":13567,"endOffset":13609,"count":2098}],"isBlockCoverage":true},{"functionName":"requireWithFallbackInDeps","ranges":[{"startOffset":13726,"endOffset":14002,"count":0}],"isBlockCoverage":false},{"functionName":"setupPrepareStackTrace","ranges":[{"startOffset":14004,"endOffset":14600,"count":1}],"isBlockCoverage":true}]},{"scriptId":"82","url":"node:internal/errors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":64999,"count":1}],"isBlockCoverage":false},{"functionName":"prepareStackTrace","ranges":[{"startOffset":2135,"endOffset":3623,"count":0}],"isBlockCoverage":false},{"functionName":"maybeOverridePrepareStackTrace","ranges":[{"startOffset":3665,"endOffset":4372,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4418,"endOffset":4964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5008,"endOffset":5207,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtil","ranges":[{"startOffset":5276,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtilInspect","ranges":[{"startOffset":5409,"endOffset":5537,"count":0}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":5555,"endOffset":5655,"count":0}],"isBlockCoverage":false},{"functionName":"lazyBuffer","ranges":[{"startOffset":5669,"endOffset":5750,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorStackTraceLimitWritable","ranges":[{"startOffset":5752,"endOffset":6259,"count":0}],"isBlockCoverage":false},{"functionName":"inspectWithNoCustomRetry","ranges":[{"startOffset":6261,"endOffset":6507,"count":0}],"isBlockCoverage":false},{"functionName":"SystemError","ranges":[{"startOffset":7009,"endOffset":9985,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":9989,"endOffset":10064,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10068,"endOffset":10258,"count":0}],"isBlockCoverage":false},{"functionName":"makeSystemErrorWithCode","ranges":[{"startOffset":10262,"endOffset":10407,"count":12}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10353,"endOffset":10400,"count":0}],"isBlockCoverage":false},{"functionName":"makeNodeErrorWithCode","ranges":[{"startOffset":10409,"endOffset":11467,"count":267}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10462,"endOffset":11464,"count":0}],"isBlockCoverage":false},{"functionName":"hideStackFrames","ranges":[{"startOffset":11629,"endOffset":11894,"count":49}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":12006,"endOffset":12514,"count":273},{"startOffset":12248,"endOffset":12293,"count":12},{"startOffset":12293,"endOffset":12347,"count":261},{"startOffset":12382,"endOffset":12492,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12409,"endOffset":12486,"count":6}],"isBlockCoverage":true},{"functionName":"getMessage","ranges":[{"startOffset":12516,"endOffset":13389,"count":0}],"isBlockCoverage":false},{"functionName":"lazyUv","ranges":[{"startOffset":13407,"endOffset":13487,"count":0}],"isBlockCoverage":false},{"functionName":"uvErrmapGet","ranges":[{"startOffset":13544,"endOffset":13696,"count":0}],"isBlockCoverage":false},{"functionName":"captureLargerStackTrace","ranges":[{"startOffset":13749,"endOffset":14151,"count":0}],"isBlockCoverage":false},{"functionName":"uvException","ranges":[{"startOffset":14478,"endOffset":15719,"count":0}],"isBlockCoverage":false},{"functionName":"uvExceptionWithHostPort","ranges":[{"startOffset":16082,"endOffset":17071,"count":0}],"isBlockCoverage":false},{"functionName":"errnoException","ranges":[{"startOffset":17291,"endOffset":18155,"count":0}],"isBlockCoverage":false},{"functionName":"exceptionWithHostPort","ranges":[{"startOffset":18559,"endOffset":19847,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20050,"endOffset":21591,"count":0}],"isBlockCoverage":false},{"functionName":"connResetException","ranges":[{"startOffset":21595,"endOffset":21750,"count":0}],"isBlockCoverage":false},{"functionName":"isStackOverflowError","ranges":[{"startOffset":22037,"endOffset":22415,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericalSeparator","ranges":[{"startOffset":22496,"endOffset":22764,"count":0}],"isBlockCoverage":false},{"functionName":"beforeInspector","ranges":[{"startOffset":23043,"endOffset":23434,"count":0}],"isBlockCoverage":false},{"functionName":"afterInspector","ranges":[{"startOffset":23438,"endOffset":24721,"count":0}],"isBlockCoverage":false},{"functionName":"setArrowMessage","ranges":[{"startOffset":24876,"endOffset":24975,"count":0}],"isBlockCoverage":false},{"functionName":"hideInternalStackFrames","ranges":[{"startOffset":25030,"endOffset":25508,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":25741,"endOffset":26050,"count":0}],"isBlockCoverage":false},{"functionName":"genericNodeError","ranges":[{"startOffset":26305,"endOffset":26497,"count":0}],"isBlockCoverage":false},{"functionName":"determineSpecificType","ranges":[{"startOffset":26618,"endOffset":27237,"count":0}],"isBlockCoverage":false},{"functionName":"formatList","ranges":[{"startOffset":27559,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29857,"endOffset":30021,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33056,"endOffset":33171,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33460,"endOffset":33554,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":36457,"endOffset":36685,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38465,"endOffset":38683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41350,"endOffset":41650,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41692,"endOffset":41836,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41879,"endOffset":44000,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44041,"endOffset":44389,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44697,"endOffset":44860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45517,"endOffset":45696,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45744,"endOffset":45879,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45925,"endOffset":46073,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":46117,"endOffset":46891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47179,"endOffset":47366,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47419,"endOffset":47598,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47642,"endOffset":47819,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48276,"endOffset":48492,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48536,"endOffset":48824,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":49387,"endOffset":49860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":50646,"endOffset":51087,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":51181,"endOffset":51400,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":52546,"endOffset":53244,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53295,"endOffset":53487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53536,"endOffset":53852,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54094,"endOffset":54393,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54577,"endOffset":56023,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":56475,"endOffset":56757,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58280,"endOffset":58354,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58390,"endOffset":58713,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58759,"endOffset":58833,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58865,"endOffset":59269,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59321,"endOffset":59499,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59770,"endOffset":59939,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61637,"endOffset":61768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62015,"endOffset":62172,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62362,"endOffset":62564,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62610,"endOffset":62933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63572,"endOffset":63640,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64043,"endOffset":64156,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64350,"endOffset":64737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"83","url":"node:internal/bootstrap/node","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13817,"count":1}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3830,"endOffset":3880,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3886,"endOffset":3944,"count":3},{"startOffset":3930,"endOffset":3933,"count":1},{"startOffset":3934,"endOffset":3937,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4086,"endOffset":4122,"count":8}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":4128,"endOffset":4547,"count":2},{"startOffset":4187,"endOffset":4469,"count":1},{"startOffset":4252,"endOffset":4266,"count":0},{"startOffset":4267,"endOffset":4315,"count":0},{"startOffset":4317,"endOffset":4352,"count":0},{"startOffset":4469,"endOffset":4518,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4769,"endOffset":5033,"count":409}],"isBlockCoverage":true},{"functionName":"process.openStdin","ranges":[{"startOffset":6409,"endOffset":6479,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7965,"endOffset":8127,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8229,"endOffset":8425,"count":1}],"isBlockCoverage":true},{"functionName":"get cached_builtins","ranges":[{"startOffset":9173,"endOffset":9240,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11734,"endOffset":11784,"count":6}],"isBlockCoverage":true},{"functionName":"setupProcessObject","ranges":[{"startOffset":12107,"endOffset":12912,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":12772,"endOffset":12808,"count":159}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":12814,"endOffset":12856,"count":0}],"isBlockCoverage":false},{"functionName":"setupGlobalProxy","ranges":[{"startOffset":12914,"endOffset":13151,"count":1}],"isBlockCoverage":true},{"functionName":"setupBuffer","ranges":[{"startOffset":13153,"endOffset":13816,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13678,"endOffset":13713,"count":3}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":13719,"endOffset":13760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"84","url":"node:internal/timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":19560,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4385,"endOffset":4410,"count":1}],"isBlockCoverage":true},{"functionName":"initAsyncResource","ranges":[{"startOffset":5548,"endOffset":5826,"count":2},{"startOffset":5774,"endOffset":5824,"count":0}],"isBlockCoverage":true},{"functionName":"Timeout","ranges":[{"startOffset":5932,"endOffset":6978,"count":1},{"startOffset":6080,"endOffset":6432,"count":0},{"startOffset":6789,"endOffset":6796,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7059,"endOffset":7255,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":7259,"endOffset":7368,"count":2},{"startOffset":7299,"endOffset":7312,"count":0}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":7372,"endOffset":7511,"count":3}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":7515,"endOffset":7652,"count":2}],"isBlockCoverage":true},{"functionName":"hasRef","ranges":[{"startOffset":7656,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"TimersList","ranges":[{"startOffset":7720,"endOffset":8026,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8107,"endOffset":8303,"count":0}],"isBlockCoverage":false},{"functionName":"ImmediateList","ranges":[{"startOffset":8386,"endOffset":8449,"count":2}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":8601,"endOffset":8782,"count":1},{"startOffset":8644,"endOffset":8719,"count":0}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":8932,"endOffset":9293,"count":0}],"isBlockCoverage":false},{"functionName":"incRefCount","ranges":[{"startOffset":9403,"endOffset":9569,"count":3}],"isBlockCoverage":true},{"functionName":"decRefCount","ranges":[{"startOffset":9571,"endOffset":9738,"count":3}],"isBlockCoverage":true},{"functionName":"active","ranges":[{"startOffset":9821,"endOffset":9875,"count":0}],"isBlockCoverage":false},{"functionName":"unrefActive","ranges":[{"startOffset":10022,"endOffset":10082,"count":2}],"isBlockCoverage":true},{"functionName":"insertGuarded","ranges":[{"startOffset":10303,"endOffset":10819,"count":2},{"startOffset":10427,"endOffset":10434,"count":0},{"startOffset":10551,"endOffset":10625,"count":0},{"startOffset":10646,"endOffset":10687,"count":0},{"startOffset":10722,"endOffset":10793,"count":0}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":10887,"endOffset":11626,"count":3},{"startOffset":11218,"endOffset":11599,"count":1}],"isBlockCoverage":true},{"functionName":"setUnrefTimeout","ranges":[{"startOffset":11628,"endOffset":11886,"count":0}],"isBlockCoverage":false},{"functionName":"getTimerDuration","ranges":[{"startOffset":11953,"endOffset":12481,"count":0}],"isBlockCoverage":false},{"functionName":"compareTimersLists","ranges":[{"startOffset":12483,"endOffset":12688,"count":0}],"isBlockCoverage":false},{"functionName":"setPosition","ranges":[{"startOffset":12690,"endOffset":12761,"count":1}],"isBlockCoverage":true},{"functionName":"getTimerCallbacks","ranges":[{"startOffset":12763,"endOffset":18141,"count":1}],"isBlockCoverage":true},{"functionName":"processImmediate","ranges":[{"startOffset":13075,"endOffset":15008,"count":1},{"startOffset":13154,"endOffset":13178,"count":0},{"startOffset":13615,"endOffset":13630,"count":0},{"startOffset":13947,"endOffset":14043,"count":0},{"startOffset":14605,"endOffset":14661,"count":0},{"startOffset":14763,"endOffset":14784,"count":0},{"startOffset":14935,"endOffset":14964,"count":0}],"isBlockCoverage":true},{"functionName":"processTimers","ranges":[{"startOffset":15013,"endOffset":15503,"count":0}],"isBlockCoverage":false},{"functionName":"listOnTimeout","ranges":[{"startOffset":15507,"endOffset":18081,"count":0}],"isBlockCoverage":false},{"functionName":"Immediate","ranges":[{"startOffset":18163,"endOffset":18485,"count":1}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":18489,"endOffset":18755,"count":1}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":18759,"endOffset":19027,"count":0}],"isBlockCoverage":false},{"functionName":"hasRef","ranges":[{"startOffset":19031,"endOffset":19072,"count":0}],"isBlockCoverage":false}]},{"scriptId":"85","url":"node:internal/async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20082,"count":1}],"isBlockCoverage":false},{"functionName":"useDomainTrampoline","ranges":[{"startOffset":5108,"endOffset":5162,"count":0}],"isBlockCoverage":false},{"functionName":"callbackTrampoline","ranges":[{"startOffset":5164,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"executionAsyncResource","ranges":[{"startOffset":5745,"endOffset":6243,"count":0}],"isBlockCoverage":false},{"functionName":"inspectExceptionValue","ranges":[{"startOffset":6245,"endOffset":6372,"count":0}],"isBlockCoverage":false},{"functionName":"fatalError","ranges":[{"startOffset":6433,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"lookupPublicResource","ranges":[{"startOffset":6837,"endOffset":7186,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitNative","ranges":[{"startOffset":7377,"endOffset":8510,"count":0}],"isBlockCoverage":false},{"functionName":"emitHook","ranges":[{"startOffset":8611,"endOffset":9600,"count":0}],"isBlockCoverage":false},{"functionName":"emitHookFactory","ranges":[{"startOffset":9602,"endOffset":9866,"count":4}],"isBlockCoverage":true},{"functionName":"getHookArrays","ranges":[{"startOffset":9895,"endOffset":10385,"count":0}],"isBlockCoverage":false},{"functionName":"storeActiveHooks","ranges":[{"startOffset":10388,"endOffset":10688,"count":0}],"isBlockCoverage":false},{"functionName":"copyHooks","ranges":[{"startOffset":10690,"endOffset":10955,"count":0}],"isBlockCoverage":false},{"functionName":"restoreActiveHooks","ranges":[{"startOffset":11070,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"trackPromise","ranges":[{"startOffset":11277,"endOffset":11707,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHook","ranges":[{"startOffset":11709,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHookWithDestroyTracking","ranges":[{"startOffset":11955,"endOffset":12091,"count":0}],"isBlockCoverage":false},{"functionName":"destroyTracking","ranges":[{"startOffset":12093,"endOffset":12256,"count":0}],"isBlockCoverage":false},{"functionName":"promiseBeforeHook","ranges":[{"startOffset":12258,"endOffset":12469,"count":0}],"isBlockCoverage":false},{"functionName":"promiseAfterHook","ranges":[{"startOffset":12471,"endOffset":13038,"count":0}],"isBlockCoverage":false},{"functionName":"promiseResolveHook","ranges":[{"startOffset":13040,"endOffset":13186,"count":0}],"isBlockCoverage":false},{"functionName":"enableHooks","ranges":[{"startOffset":13217,"endOffset":13323,"count":0}],"isBlockCoverage":false},{"functionName":"updatePromiseHookMode","ranges":[{"startOffset":13346,"endOffset":13925,"count":0}],"isBlockCoverage":false},{"functionName":"disableHooks","ranges":[{"startOffset":13927,"endOffset":14230,"count":0}],"isBlockCoverage":false},{"functionName":"disablePromiseHookIfNecessary","ranges":[{"startOffset":14232,"endOffset":14348,"count":0}],"isBlockCoverage":false},{"functionName":"newAsyncId","ranges":[{"startOffset":14549,"endOffset":14619,"count":4}],"isBlockCoverage":true},{"functionName":"getOrSetAsyncId","ranges":[{"startOffset":14621,"endOffset":14811,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultTriggerAsyncId","ranges":[{"startOffset":14994,"endOffset":15284,"count":4},{"startOffset":15250,"endOffset":15283,"count":0}],"isBlockCoverage":true},{"functionName":"clearDefaultTriggerAsyncId","ranges":[{"startOffset":15287,"endOffset":15376,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTriggerAsyncIdScope","ranges":[{"startOffset":15601,"endOffset":16094,"count":0}],"isBlockCoverage":false},{"functionName":"hasHooks","ranges":[{"startOffset":16096,"endOffset":16159,"count":16}],"isBlockCoverage":true},{"functionName":"enabledHooksExist","ranges":[{"startOffset":16161,"endOffset":16220,"count":3}],"isBlockCoverage":true},{"functionName":"initHooksExist","ranges":[{"startOffset":16222,"endOffset":16277,"count":4}],"isBlockCoverage":true},{"functionName":"afterHooksExist","ranges":[{"startOffset":16279,"endOffset":16336,"count":0}],"isBlockCoverage":false},{"functionName":"destroyHooksExist","ranges":[{"startOffset":16338,"endOffset":16399,"count":3}],"isBlockCoverage":true},{"functionName":"promiseResolveHooksExist","ranges":[{"startOffset":16401,"endOffset":16476,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitScript","ranges":[{"startOffset":16479,"endOffset":16887,"count":0}],"isBlockCoverage":false},{"functionName":"emitBeforeScript","ranges":[{"startOffset":16890,"endOffset":17066,"count":3},{"startOffset":17038,"endOffset":17064,"count":0}],"isBlockCoverage":true},{"functionName":"emitAfterScript","ranges":[{"startOffset":17069,"endOffset":17189,"count":3},{"startOffset":17133,"endOffset":17158,"count":0}],"isBlockCoverage":true},{"functionName":"emitDestroyScript","ranges":[{"startOffset":17192,"endOffset":17402,"count":0}],"isBlockCoverage":false},{"functionName":"hasAsyncIdStack","ranges":[{"startOffset":17405,"endOffset":17468,"count":0}],"isBlockCoverage":false},{"functionName":"pushAsyncContext","ranges":[{"startOffset":17534,"endOffset":18104,"count":3},{"startOffset":17754,"endOffset":17804,"count":0}],"isBlockCoverage":true},{"functionName":"popAsyncContext","ranges":[{"startOffset":18169,"endOffset":18780,"count":3},{"startOffset":18285,"endOffset":18298,"count":0},{"startOffset":18377,"endOffset":18483,"count":0}],"isBlockCoverage":true},{"functionName":"executionAsyncId","ranges":[{"startOffset":18783,"endOffset":18859,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":18861,"endOffset":18933,"count":0}],"isBlockCoverage":false}]},{"scriptId":"86","url":"node:internal/validators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15153,"count":1}],"isBlockCoverage":false},{"functionName":"isInt32","ranges":[{"startOffset":835,"endOffset":894,"count":383}],"isBlockCoverage":true},{"functionName":"isUint32","ranges":[{"startOffset":946,"endOffset":1008,"count":0}],"isBlockCoverage":false},{"functionName":"parseFileMode","ranges":[{"startOffset":1629,"endOffset":1940,"count":60},{"startOffset":1722,"endOffset":1890,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2186,"endOffset":2567,"count":3},{"startOffset":2306,"endOffset":2360,"count":0},{"startOffset":2400,"endOffset":2454,"count":0},{"startOffset":2497,"endOffset":2563,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2811,"endOffset":3274,"count":2},{"startOffset":2983,"endOffset":3051,"count":0},{"startOffset":3085,"endOffset":3153,"count":0},{"startOffset":3190,"endOffset":3270,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3512,"endOffset":3944,"count":804},{"startOffset":3582,"endOffset":3646,"count":0},{"startOffset":3678,"endOffset":3742,"count":0},{"startOffset":3766,"endOffset":3769,"count":0},{"startOffset":3866,"endOffset":3942,"count":0}],"isBlockCoverage":true},{"functionName":"validateString","ranges":[{"startOffset":4097,"endOffset":4229,"count":12664},{"startOffset":4173,"endOffset":4227,"count":0}],"isBlockCoverage":true},{"functionName":"validateNumber","ranges":[{"startOffset":4430,"endOffset":4898,"count":62},{"startOffset":4528,"endOffset":4582,"count":0},{"startOffset":4603,"endOffset":4617,"count":61},{"startOffset":4635,"endOffset":4649,"count":60},{"startOffset":4674,"endOffset":4688,"count":1},{"startOffset":4690,"endOffset":4711,"count":61},{"startOffset":4714,"endOffset":4896,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5084,"endOffset":5417,"count":0}],"isBlockCoverage":false},{"functionName":"validateBoolean","ranges":[{"startOffset":5573,"endOffset":5708,"count":373},{"startOffset":5651,"endOffset":5706,"count":0}],"isBlockCoverage":true},{"functionName":"getOwnPropertyValueOrDefault","ranges":[{"startOffset":5820,"endOffset":6001,"count":48},{"startOffset":5961,"endOffset":5979,"count":13},{"startOffset":5980,"endOffset":5998,"count":35}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6266,"endOffset":6821,"count":16},{"startOffset":6571,"endOffset":6588,"count":13},{"startOffset":6614,"endOffset":6636,"count":0},{"startOffset":6676,"endOffset":6746,"count":0},{"startOffset":6749,"endOffset":6817,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7376,"endOffset":7556,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7775,"endOffset":8053,"count":744},{"startOffset":7837,"endOffset":7900,"count":0},{"startOffset":7933,"endOffset":8051,"count":0}],"isBlockCoverage":true},{"functionName":"validateStringArray","ranges":[{"startOffset":8218,"endOffset":8387,"count":372},{"startOffset":8333,"endOffset":8385,"count":1860}],"isBlockCoverage":true},{"functionName":"validateBooleanArray","ranges":[{"startOffset":8553,"endOffset":8724,"count":0}],"isBlockCoverage":false},{"functionName":"validateAbortSignalArray","ranges":[{"startOffset":8902,"endOffset":9251,"count":0}],"isBlockCoverage":false},{"functionName":"validateSignalName","ranges":[{"startOffset":9363,"endOffset":9736,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9948,"endOffset":10178,"count":1},{"startOffset":10013,"endOffset":10176,"count":0}],"isBlockCoverage":true},{"functionName":"validateEncoding","ranges":[{"startOffset":10242,"endOffset":10576,"count":0}],"isBlockCoverage":false},{"functionName":"validatePort","ranges":[{"startOffset":10838,"endOffset":11217,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11385,"endOffset":11602,"count":13},{"startOffset":11432,"endOffset":11528,"count":0},{"startOffset":11530,"endOffset":11600,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11802,"endOffset":11918,"count":395},{"startOffset":11860,"endOffset":11916,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12133,"endOffset":12275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12479,"endOffset":12588,"count":0}],"isBlockCoverage":false},{"functionName":"validateUnion","ranges":[{"startOffset":12681,"endOffset":12868,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderFormat","ranges":[{"startOffset":13296,"endOffset":13602,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13650,"endOffset":13860,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderValue","ranges":[{"startOffset":13914,"endOffset":14597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"87","url":"node:internal/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":24956,"count":1}],"isBlockCoverage":false},{"functionName":"toUSVString","ranges":[{"startOffset":1790,"endOffset":2102,"count":107},{"startOffset":2059,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUv","ranges":[{"startOffset":2120,"endOffset":2200,"count":0}],"isBlockCoverage":false},{"functionName":"removeColors","ranges":[{"startOffset":2202,"endOffset":2287,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":2289,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"getDeprecationWarningEmitter","ranges":[{"startOffset":2696,"endOffset":3345,"count":30}],"isBlockCoverage":true},{"functionName":"shouldEmitWarning","ranges":[{"startOffset":2795,"endOffset":2805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2842,"endOffset":3342,"count":0}],"isBlockCoverage":false},{"functionName":"isPendingDeprecation","ranges":[{"startOffset":3347,"endOffset":3475,"count":0}],"isBlockCoverage":false},{"functionName":"pendingDeprecate","ranges":[{"startOffset":3642,"endOffset":3939,"count":3}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":3811,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"deprecate","ranges":[{"startOffset":4094,"endOffset":5092,"count":27},{"startOffset":4181,"endOffset":4201,"count":0},{"startOffset":4290,"endOffset":4344,"count":1},{"startOffset":4376,"endOffset":4405,"count":26},{"startOffset":4846,"endOffset":5068,"count":26}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":4518,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"decorateErrorStack","ranges":[{"startOffset":5094,"endOffset":5360,"count":0}],"isBlockCoverage":false},{"functionName":"assertCrypto","ranges":[{"startOffset":5362,"endOffset":5436,"count":1},{"startOffset":5408,"endOffset":5434,"count":0}],"isBlockCoverage":true},{"functionName":"normalizeEncoding","ranges":[{"startOffset":5615,"endOffset":5746,"count":381},{"startOffset":5685,"endOffset":5703,"count":0},{"startOffset":5719,"endOffset":5745,"count":0}],"isBlockCoverage":true},{"functionName":"slowCases","ranges":[{"startOffset":5748,"endOffset":7499,"count":0}],"isBlockCoverage":false},{"functionName":"emitExperimentalWarning","ranges":[{"startOffset":7501,"endOffset":7767,"count":0}],"isBlockCoverage":false},{"functionName":"filterDuplicateStrings","ranges":[{"startOffset":7769,"endOffset":8108,"count":0}],"isBlockCoverage":false},{"functionName":"cachedResult","ranges":[{"startOffset":8110,"endOffset":8266,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8161,"endOffset":8263,"count":0}],"isBlockCoverage":false},{"functionName":"createClassWrapper","ranges":[{"startOffset":8531,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"getSignalsToNamesMapping","ranges":[{"startOffset":8960,"endOffset":9239,"count":0}],"isBlockCoverage":false},{"functionName":"convertToValidSignal","ranges":[{"startOffset":9241,"endOffset":9562,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorOf","ranges":[{"startOffset":9564,"endOffset":9910,"count":0}],"isBlockCoverage":false},{"functionName":"getCWDURL","ranges":[{"startOffset":10233,"endOffset":10743,"count":1},{"startOffset":10561,"endOffset":10610,"count":0}],"isBlockCoverage":true},{"functionName":"getSystemErrorName","ranges":[{"startOffset":10745,"endOffset":10874,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorMap","ranges":[{"startOffset":10876,"endOffset":10941,"count":0}],"isBlockCoverage":false},{"functionName":"promisify","ranges":[{"startOffset":11109,"endOffset":12970,"count":6},{"startOffset":11229,"endOffset":11285,"count":1},{"startOffset":11372,"endOffset":11649,"count":1},{"startOffset":11649,"endOffset":12756,"count":5},{"startOffset":12756,"endOffset":12918,"count":14},{"startOffset":12918,"endOffset":12969,"count":5}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":11849,"endOffset":12368,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13065,"endOffset":13387,"count":0}],"isBlockCoverage":false},{"functionName":"spliceOne","ranges":[{"startOffset":13528,"endOffset":13655,"count":0}],"isBlockCoverage":false},{"functionName":"isInsideNodeModules","ranges":[{"startOffset":13737,"endOffset":14975,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":14977,"endOffset":15150,"count":0}],"isBlockCoverage":false},{"functionName":"sleep","ranges":[{"startOffset":15173,"endOffset":15388,"count":0}],"isBlockCoverage":false},{"functionName":"createDeferredPromise","ranges":[{"startOffset":15390,"endOffset":15584,"count":0}],"isBlockCoverage":false},{"functionName":"defineOperation","ranges":[{"startOffset":15644,"endOffset":15845,"count":8}],"isBlockCoverage":true},{"functionName":"exposeInterface","ranges":[{"startOffset":15897,"endOffset":16117,"count":5}],"isBlockCoverage":true},{"functionName":"exposeNamespace","ranges":[{"startOffset":16169,"endOffset":16389,"count":1}],"isBlockCoverage":true},{"functionName":"exposeGetterAndSetter","ranges":[{"startOffset":16391,"endOffset":16614,"count":1}],"isBlockCoverage":true},{"functionName":"defineLazyProperties","ranges":[{"startOffset":16616,"endOffset":17549,"count":22},{"startOffset":16779,"endOffset":17548,"count":51}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":16835,"endOffset":16978,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17081,"endOffset":17277,"count":12}],"isBlockCoverage":true},{"functionName":"defineReplaceableLazyAttribute","ranges":[{"startOffset":17551,"endOffset":18451,"count":2},{"startOffset":18419,"endOffset":18424,"count":1},{"startOffset":18425,"endOffset":18436,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17763,"endOffset":17999,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":18104,"endOffset":18175,"count":0}],"isBlockCoverage":false},{"functionName":"exposeLazyInterfaces","ranges":[{"startOffset":18453,"endOffset":18553,"count":14}],"isBlockCoverage":true},{"functionName":"lazyDOMExceptionClass","ranges":[{"startOffset":18604,"endOffset":18700,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18744,"endOffset":18872,"count":0}],"isBlockCoverage":false},{"functionName":"filterOwnProperties","ranges":[{"startOffset":19057,"endOffset":19329,"count":0}],"isBlockCoverage":false},{"functionName":"setOwnProperty","ranges":[{"startOffset":19497,"endOffset":19687,"count":758}],"isBlockCoverage":true},{"functionName":"getInternalGlobal","ranges":[{"startOffset":19709,"endOffset":19984,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeExec","ranges":[{"startOffset":19986,"endOffset":20199,"count":0}],"isBlockCoverage":false},{"functionName":"getCrossRelmRegex","ranges":[{"startOffset":20245,"endOffset":21036,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolReplace","ranges":[{"startOffset":21038,"endOffset":21192,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolSplit","ranges":[{"startOffset":21194,"endOffset":21344,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayBufferDetached","ranges":[{"startOffset":21347,"endOffset":21507,"count":0}],"isBlockCoverage":false},{"functionName":"getLazy","ranges":[{"startOffset":21708,"endOffset":21920,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21789,"endOffset":21917,"count":2338},{"startOffset":21833,"endOffset":21895,"count":4}],"isBlockCoverage":true},{"functionName":"setupCoverageHooks","ranges":[{"startOffset":22045,"endOffset":22722,"count":1},{"startOffset":22515,"endOffset":22692,"count":0}],"isBlockCoverage":true},{"functionName":"guessHandleType","ranges":[{"startOffset":22795,"endOffset":22892,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22894,"endOffset":23438,"count":5}],"isBlockCoverage":false},{"functionName":"WeakReference","ranges":[{"startOffset":22969,"endOffset":23036,"count":5}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":23040,"endOffset":23258,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":23262,"endOffset":23390,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23394,"endOffset":23436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"88","url":"node:internal/options","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1922,"count":1}],"isBlockCoverage":false},{"functionName":"getCLIOptionsFromBinding","ranges":[{"startOffset":464,"endOffset":598,"count":875},{"startOffset":521,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"getAliasesFromBinding","ranges":[{"startOffset":600,"endOffset":731,"count":1}],"isBlockCoverage":true},{"functionName":"getEmbedderOptions","ranges":[{"startOffset":733,"endOffset":877,"count":4},{"startOffset":789,"endOffset":849,"count":1}],"isBlockCoverage":true},{"functionName":"refreshOptions","ranges":[{"startOffset":879,"endOffset":960,"count":1}],"isBlockCoverage":true},{"functionName":"getOptionValue","ranges":[{"startOffset":962,"endOffset":1228,"count":874},{"startOffset":1084,"endOffset":1185,"count":8},{"startOffset":1185,"endOffset":1225,"count":866}],"isBlockCoverage":true},{"functionName":"getAllowUnauthorized","ranges":[{"startOffset":1230,"endOffset":1695,"count":0}],"isBlockCoverage":false},{"functionName":"get options","ranges":[{"startOffset":1718,"endOffset":1776,"count":1}],"isBlockCoverage":true},{"functionName":"get aliases","ranges":[{"startOffset":1780,"endOffset":1835,"count":1}],"isBlockCoverage":true}]},{"scriptId":"89","url":"node:internal/util/types","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2469,"count":1}],"isBlockCoverage":false},{"functionName":"isTypedArray","ranges":[{"startOffset":131,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"isUint8Array","ranges":[{"startOffset":236,"endOffset":342,"count":995}],"isBlockCoverage":true},{"functionName":"isUint8ClampedArray","ranges":[{"startOffset":344,"endOffset":464,"count":0}],"isBlockCoverage":false},{"functionName":"isUint16Array","ranges":[{"startOffset":466,"endOffset":574,"count":0}],"isBlockCoverage":false},{"functionName":"isUint32Array","ranges":[{"startOffset":576,"endOffset":684,"count":0}],"isBlockCoverage":false},{"functionName":"isInt8Array","ranges":[{"startOffset":686,"endOffset":790,"count":0}],"isBlockCoverage":false},{"functionName":"isInt16Array","ranges":[{"startOffset":792,"endOffset":898,"count":0}],"isBlockCoverage":false},{"functionName":"isInt32Array","ranges":[{"startOffset":900,"endOffset":1006,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat32Array","ranges":[{"startOffset":1008,"endOffset":1118,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat64Array","ranges":[{"startOffset":1120,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"isBigInt64Array","ranges":[{"startOffset":1232,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"isBigUint64Array","ranges":[{"startOffset":1346,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":1932,"endOffset":2147,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":2243,"endOffset":2458,"count":0}],"isBlockCoverage":false}]},{"scriptId":"90","url":"node:internal/linkedlist","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1128,"count":1}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":15,"endOffset":103,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":133,"endOffset":225,"count":0}],"isBlockCoverage":false},{"functionName":"remove","ranges":[{"startOffset":260,"endOffset":487,"count":3}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":543,"endOffset":995,"count":3},{"startOffset":594,"endOffset":611,"count":0}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":997,"endOffset":1057,"count":0}],"isBlockCoverage":false}]},{"scriptId":"91","url":"node:internal/priority_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2573,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":395,"endOffset":2571,"count":1}],"isBlockCoverage":false},{"functionName":"#compare","ranges":[{"startOffset":430,"endOffset":445,"count":0}],"isBlockCoverage":false},{"functionName":"PriorityQueue","ranges":[{"startOffset":504,"endOffset":688,"count":1}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":692,"endOffset":875,"count":1},{"startOffset":826,"endOffset":843,"count":0}],"isBlockCoverage":true},{"functionName":"peek","ranges":[{"startOffset":879,"endOffset":917,"count":0}],"isBlockCoverage":false},{"functionName":"percolateDown","ranges":[{"startOffset":921,"endOffset":1585,"count":0}],"isBlockCoverage":false},{"functionName":"percolateUp","ranges":[{"startOffset":1589,"endOffset":2077,"count":1},{"startOffset":1764,"endOffset":1986,"count":0}],"isBlockCoverage":true},{"functionName":"removeAt","ranges":[{"startOffset":2081,"endOffset":2411,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":2415,"endOffset":2569,"count":0}],"isBlockCoverage":false}]},{"scriptId":"92","url":"node:internal/util/inspect","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":81525,"count":1}],"isBlockCoverage":false},{"functionName":"pathToFileUrlHref","ranges":[{"startOffset":3211,"endOffset":3345,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3454,"endOffset":3515,"count":62}],"isBlockCoverage":true},{"functionName":"isUndetectableObject","ranges":[{"startOffset":3611,"endOffset":3661,"count":0}],"isBlockCoverage":false},{"functionName":"getUserOptions","ranges":[{"startOffset":7144,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":8980,"endOffset":11006,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11117,"endOffset":11162,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":11166,"endOffset":11281,"count":0}],"isBlockCoverage":false},{"functionName":"defineColorAlias","ranges":[{"startOffset":13005,"endOffset":13269,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13121,"endOffset":13161,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":13167,"endOffset":13213,"count":0}],"isBlockCoverage":false},{"functionName":"addQuotes","ranges":[{"startOffset":14281,"endOffset":14439,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":14441,"endOffset":14616,"count":0}],"isBlockCoverage":false},{"functionName":"strEscape","ranges":[{"startOffset":14728,"endOffset":16882,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeWithColor","ranges":[{"startOffset":16884,"endOffset":17150,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeNoColor","ranges":[{"startOffset":17152,"endOffset":17198,"count":0}],"isBlockCoverage":false},{"functionName":"getEmptyFormatArray","ranges":[{"startOffset":17277,"endOffset":17324,"count":0}],"isBlockCoverage":false},{"functionName":"isInstanceof","ranges":[{"startOffset":17326,"endOffset":17444,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorName","ranges":[{"startOffset":17446,"endOffset":18715,"count":0}],"isBlockCoverage":false},{"functionName":"addPrototypeProperties","ranges":[{"startOffset":18902,"endOffset":20735,"count":0}],"isBlockCoverage":false},{"functionName":"getPrefix","ranges":[{"startOffset":20737,"endOffset":21124,"count":0}],"isBlockCoverage":false},{"functionName":"getKeys","ranges":[{"startOffset":21161,"endOffset":22152,"count":0}],"isBlockCoverage":false},{"functionName":"getCtxStyle","ranges":[{"startOffset":22154,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"formatProxy","ranges":[{"startOffset":22419,"endOffset":22869,"count":0}],"isBlockCoverage":false},{"functionName":"formatValue","ranges":[{"startOffset":23051,"endOffset":25808,"count":0}],"isBlockCoverage":false},{"functionName":"formatRaw","ranges":[{"startOffset":25810,"endOffset":36655,"count":0}],"isBlockCoverage":false},{"functionName":"getIteratorBraces","ranges":[{"startOffset":36657,"endOffset":36839,"count":0}],"isBlockCoverage":false},{"functionName":"getBoxedBase","ranges":[{"startOffset":36841,"endOffset":38029,"count":0}],"isBlockCoverage":false},{"functionName":"getClassBase","ranges":[{"startOffset":38031,"endOffset":38631,"count":0}],"isBlockCoverage":false},{"functionName":"getFunctionBase","ranges":[{"startOffset":38633,"endOffset":39866,"count":0}],"isBlockCoverage":false},{"functionName":"identicalSequenceRange","ranges":[{"startOffset":39868,"endOffset":40484,"count":0}],"isBlockCoverage":false},{"functionName":"getStackString","ranges":[{"startOffset":40486,"endOffset":40596,"count":0}],"isBlockCoverage":false},{"functionName":"getStackFrames","ranges":[{"startOffset":40598,"endOffset":41489,"count":0}],"isBlockCoverage":false},{"functionName":"improveStack","ranges":[{"startOffset":41491,"endOffset":42696,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateErrorKeys","ranges":[{"startOffset":42698,"endOffset":43121,"count":0}],"isBlockCoverage":false},{"functionName":"markNodeModules","ranges":[{"startOffset":43123,"endOffset":43593,"count":0}],"isBlockCoverage":false},{"functionName":"markCwd","ranges":[{"startOffset":43595,"endOffset":44572,"count":0}],"isBlockCoverage":false},{"functionName":"safeGetCWD","ranges":[{"startOffset":44574,"endOffset":44724,"count":0}],"isBlockCoverage":false},{"functionName":"formatError","ranges":[{"startOffset":44726,"endOffset":47121,"count":0}],"isBlockCoverage":false},{"functionName":"groupArrayElements","ranges":[{"startOffset":47123,"endOffset":51462,"count":0}],"isBlockCoverage":false},{"functionName":"handleMaxCallStackSize","ranges":[{"startOffset":51464,"endOffset":51853,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparator","ranges":[{"startOffset":51855,"endOffset":52257,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparatorEnd","ranges":[{"startOffset":52259,"endOffset":52558,"count":0}],"isBlockCoverage":false},{"functionName":"remainingText","ranges":[{"startOffset":52582,"endOffset":52652,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumber","ranges":[{"startOffset":52655,"endOffset":53443,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigInt","ranges":[{"startOffset":53445,"endOffset":53661,"count":0}],"isBlockCoverage":false},{"functionName":"formatPrimitive","ranges":[{"startOffset":53663,"endOffset":55068,"count":0}],"isBlockCoverage":false},{"functionName":"formatNamespaceObject","ranges":[{"startOffset":55070,"endOffset":56222,"count":0}],"isBlockCoverage":false},{"functionName":"formatSpecialArray","ranges":[{"startOffset":56269,"endOffset":57529,"count":0}],"isBlockCoverage":false},{"functionName":"formatArrayBuffer","ranges":[{"startOffset":57531,"endOffset":58179,"count":0}],"isBlockCoverage":false},{"functionName":"formatArray","ranges":[{"startOffset":58181,"endOffset":58780,"count":0}],"isBlockCoverage":false},{"functionName":"formatTypedArray","ranges":[{"startOffset":58782,"endOffset":59811,"count":0}],"isBlockCoverage":false},{"functionName":"formatSet","ranges":[{"startOffset":59813,"endOffset":60336,"count":0}],"isBlockCoverage":false},{"functionName":"formatMap","ranges":[{"startOffset":60338,"endOffset":60938,"count":0}],"isBlockCoverage":false},{"functionName":"formatSetIterInner","ranges":[{"startOffset":60940,"endOffset":61743,"count":0}],"isBlockCoverage":false},{"functionName":"formatMapIterInner","ranges":[{"startOffset":61745,"endOffset":63053,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakCollection","ranges":[{"startOffset":63055,"endOffset":63147,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakSet","ranges":[{"startOffset":63149,"endOffset":63306,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakMap","ranges":[{"startOffset":63308,"endOffset":63465,"count":0}],"isBlockCoverage":false},{"functionName":"formatIterator","ranges":[{"startOffset":63467,"endOffset":63888,"count":0}],"isBlockCoverage":false},{"functionName":"formatPromise","ranges":[{"startOffset":63890,"endOffset":64364,"count":0}],"isBlockCoverage":false},{"functionName":"formatProperty","ranges":[{"startOffset":64366,"endOffset":66939,"count":0}],"isBlockCoverage":false},{"functionName":"isBelowBreakLength","ranges":[{"startOffset":66941,"endOffset":67899,"count":0}],"isBlockCoverage":false},{"functionName":"reduceToSingleString","ranges":[{"startOffset":67901,"endOffset":70802,"count":0}],"isBlockCoverage":false},{"functionName":"hasBuiltInToString","ranges":[{"startOffset":70804,"endOffset":71880,"count":0}],"isBlockCoverage":false},{"functionName":"firstErrorLine","ranges":[{"startOffset":71905,"endOffset":71963,"count":0}],"isBlockCoverage":false},{"functionName":"tryStringify","ranges":[{"startOffset":71993,"endOffset":72498,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":72500,"endOffset":72581,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptions","ranges":[{"startOffset":72583,"endOffset":72770,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumberNoColor","ranges":[{"startOffset":72772,"endOffset":72954,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigIntNoColor","ranges":[{"startOffset":72956,"endOffset":73138,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptionsInternal","ranges":[{"startOffset":73140,"endOffset":77164,"count":0}],"isBlockCoverage":false},{"functionName":"isZeroWidthCodePoint","ranges":[{"startOffset":77166,"endOffset":77740,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78169,"endOffset":78760,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78875,"endOffset":79343,"count":0}],"isBlockCoverage":false},{"functionName":"isFullWidthCodePoint","ranges":[{"startOffset":79511,"endOffset":81120,"count":0}],"isBlockCoverage":false},{"functionName":"stripVTControlCharacters","ranges":[{"startOffset":81211,"endOffset":81338,"count":0}],"isBlockCoverage":false}]},{"scriptId":"93","url":"node:internal/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":474,"count":1}],"isBlockCoverage":false},{"functionName":"lazyError","ranges":[{"startOffset":26,"endOffset":155,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":157,"endOffset":307,"count":715},{"startOffset":205,"endOffset":305,"count":0}],"isBlockCoverage":true},{"functionName":"fail","ranges":[{"startOffset":309,"endOffset":426,"count":0}],"isBlockCoverage":false}]},{"scriptId":"94","url":"node:internal/util/debuglog","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3395,"count":1}],"isBlockCoverage":false},{"functionName":"initializeDebugEnv","ranges":[{"startOffset":503,"endOffset":976,"count":1},{"startOffset":595,"endOffset":932,"count":0}],"isBlockCoverage":true},{"functionName":"testEnabled","ranges":[{"startOffset":870,"endOffset":927,"count":0}],"isBlockCoverage":false},{"functionName":"testEnabled","ranges":[{"startOffset":958,"endOffset":969,"count":8}],"isBlockCoverage":true},{"functionName":"emitWarningIfNeeded","ranges":[{"startOffset":1050,"endOffset":1389,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":1404,"endOffset":1412,"count":2536}],"isBlockCoverage":true},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1431,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"debuglogImpl","ranges":[{"startOffset":1533,"endOffset":2091,"count":7},{"startOffset":1608,"endOffset":2063,"count":5},{"startOffset":1627,"endOffset":2016,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":1716,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"debuglog","ranges":[{"startOffset":2311,"endOffset":3337,"count":15}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":2342,"endOffset":2438,"count":8}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":2453,"endOffset":2847,"count":7},{"startOffset":2700,"endOffset":2730,"count":4},{"startOffset":2737,"endOffset":2776,"count":2},{"startOffset":2783,"endOffset":2837,"count":1}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2877,"endOffset":2946,"count":1}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2908,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"logger","ranges":[{"startOffset":2965,"endOffset":3160,"count":7},{"startOffset":3013,"endOffset":3043,"count":4},{"startOffset":3050,"endOffset":3089,"count":2},{"startOffset":3096,"endOffset":3150,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3231,"endOffset":3265,"count":1}],"isBlockCoverage":true}]},{"scriptId":"95","url":"node:events","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36377,"count":1}],"isBlockCoverage":false},{"functionName":"lazyEventEmitterAsyncResource","ranges":[{"startOffset":3020,"endOffset":6331,"count":4},{"startOffset":3110,"endOffset":6293,"count":1}],"isBlockCoverage":true},{"functionName":"EventEmitterReferencingAsyncResource","ranges":[{"startOffset":3565,"endOffset":3669,"count":0}],"isBlockCoverage":false},{"functionName":"get eventEmitter","ranges":[{"startOffset":3727,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterAsyncResource","ranges":[{"startOffset":4205,"endOffset":4729,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":4866,"endOffset":5236,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":5297,"endOffset":5485,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncId","ranges":[{"startOffset":5545,"endOffset":5736,"count":0}],"isBlockCoverage":false},{"functionName":"get triggerAsyncId","ranges":[{"startOffset":5796,"endOffset":6001,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncResource","ranges":[{"startOffset":6091,"endOffset":6280,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter","ranges":[{"startOffset":6465,"endOffset":6534,"count":64}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":7019,"endOffset":7075,"count":4}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":7079,"endOffset":7204,"count":0}],"isBlockCoverage":false},{"functionName":"checkListener","ranges":[{"startOffset":7985,"endOffset":8063,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8171,"endOffset":8219,"count":6}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8228,"endOffset":8329,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.setMaxListeners","ranges":[{"startOffset":8882,"endOffset":9694,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.init","ranges":[{"startOffset":9861,"endOffset":10459,"count":64},{"startOffset":9912,"endOffset":9972,"count":0},{"startOffset":10116,"endOffset":10135,"count":2},{"startOffset":10137,"endOffset":10270,"count":0}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":10462,"endOffset":11021,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionOrErr","ranges":[{"startOffset":11023,"endOffset":11680,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":11832,"endOffset":11947,"count":1}],"isBlockCoverage":true},{"functionName":"_getMaxListeners","ranges":[{"startOffset":11950,"endOffset":12099,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":12236,"endOffset":12299,"count":0}],"isBlockCoverage":false},{"functionName":"enhanceStackTrace","ranges":[{"startOffset":12302,"endOffset":13061,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":13256,"endOffset":15559,"count":59},{"startOffset":13401,"endOffset":13439,"count":0},{"startOffset":13447,"endOffset":13481,"count":0},{"startOffset":13505,"endOffset":13534,"count":0},{"startOffset":13540,"endOffset":13577,"count":0},{"startOffset":13649,"endOffset":14617,"count":0},{"startOffset":14698,"endOffset":15558,"count":0}],"isBlockCoverage":true},{"functionName":"_addListener","ranges":[{"startOffset":15562,"endOffset":17456,"count":7},{"startOffset":15742,"endOffset":15827,"count":0},{"startOffset":16012,"endOffset":16273,"count":0},{"startOffset":16476,"endOffset":17436,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":17634,"endOffset":17726,"count":7}],"isBlockCoverage":true},{"functionName":"prependListener","ranges":[{"startOffset":18013,"endOffset":18116,"count":0}],"isBlockCoverage":false},{"functionName":"onceWrapper","ranges":[{"startOffset":18119,"endOffset":18383,"count":0}],"isBlockCoverage":false},{"functionName":"_onceWrap","ranges":[{"startOffset":18385,"endOffset":18626,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":18817,"endOffset":18943,"count":0}],"isBlockCoverage":false},{"functionName":"prependOnceListener","ranges":[{"startOffset":19176,"endOffset":19346,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":19553,"endOffset":20848,"count":5},{"startOffset":19702,"endOffset":19714,"count":0},{"startOffset":19787,"endOffset":19799,"count":3},{"startOffset":19799,"endOffset":19829,"count":2},{"startOffset":19829,"endOffset":19858,"count":0},{"startOffset":19860,"endOffset":20121,"count":2},{"startOffset":19911,"endOffset":19946,"count":0},{"startOffset":20042,"endOffset":20103,"count":0},{"startOffset":20121,"endOffset":20822,"count":0},{"startOffset":20822,"endOffset":20847,"count":2}],"isBlockCoverage":true},{"functionName":"removeAllListeners","ranges":[{"startOffset":21168,"endOffset":22497,"count":0}],"isBlockCoverage":false},{"functionName":"_listeners","ranges":[{"startOffset":22500,"endOffset":22895,"count":0}],"isBlockCoverage":false},{"functionName":"listeners","ranges":[{"startOffset":23085,"endOffset":23152,"count":0}],"isBlockCoverage":false},{"functionName":"rawListeners","ranges":[{"startOffset":23359,"endOffset":23430,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.listenerCount","ranges":[{"startOffset":23672,"endOffset":23858,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":24091,"endOffset":24796,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":24952,"endOffset":25045,"count":0}],"isBlockCoverage":false},{"functionName":"arrayClone","ranges":[{"startOffset":25048,"endOffset":25521,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapListeners","ranges":[{"startOffset":25523,"endOffset":25737,"count":0}],"isBlockCoverage":false},{"functionName":"getEventListeners","ranges":[{"startOffset":25947,"endOffset":26821,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":26941,"endOffset":27376,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":27596,"endOffset":29314,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29392,"endOffset":29413,"count":0}],"isBlockCoverage":false},{"functionName":"createIterResult","ranges":[{"startOffset":29428,"endOffset":29496,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticRemoveListener","ranges":[{"startOffset":29498,"endOffset":29883,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticAddListener","ranges":[{"startOffset":29885,"endOffset":30317,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":30622,"endOffset":35023,"count":0}],"isBlockCoverage":false},{"functionName":"listenersController","ranges":[{"startOffset":35025,"endOffset":35471,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortListener","ranges":[{"startOffset":35494,"endOffset":36376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"96","url":"node:buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":41224,"count":1}],"isBlockCoverage":false},{"functionName":"validateOffset","ranges":[{"startOffset":3255,"endOffset":3339,"count":0}],"isBlockCoverage":false},{"functionName":"createPool","ranges":[{"startOffset":4069,"endOffset":4228,"count":1}],"isBlockCoverage":true},{"functionName":"alignPool","ranges":[{"startOffset":4244,"endOffset":4366,"count":12},{"startOffset":4318,"endOffset":4364,"count":11}],"isBlockCoverage":true},{"functionName":"showFlaggedDeprecation","ranges":[{"startOffset":4670,"endOffset":5350,"count":0}],"isBlockCoverage":false},{"functionName":"toInteger","ranges":[{"startOffset":5352,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"_copy","ranges":[{"startOffset":5572,"endOffset":6704,"count":0}],"isBlockCoverage":false},{"functionName":"_copyActual","ranges":[{"startOffset":6706,"endOffset":7237,"count":0}],"isBlockCoverage":false},{"functionName":"Buffer","ranges":[{"startOffset":7813,"endOffset":8146,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8258,"endOffset":8286,"count":0}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":8544,"endOffset":9509,"count":18},{"startOffset":8630,"endOffset":8673,"count":11},{"startOffset":8673,"endOffset":8724,"count":7},{"startOffset":8726,"endOffset":9363,"count":7},{"startOffset":8767,"endOffset":8823,"count":6},{"startOffset":8823,"endOffset":8877,"count":1},{"startOffset":8903,"endOffset":8931,"count":1},{"startOffset":8932,"endOffset":9003,"count":0},{"startOffset":9005,"endOffset":9066,"count":0},{"startOffset":9066,"endOffset":9127,"count":1},{"startOffset":9127,"endOffset":9359,"count":0},{"startOffset":9363,"endOffset":9508,"count":0}],"isBlockCoverage":true},{"functionName":"copyBytesFrom","ranges":[{"startOffset":9763,"endOffset":10644,"count":0}],"isBlockCoverage":false},{"functionName":"of","ranges":[{"startOffset":11015,"endOffset":11167,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11456,"endOffset":11516,"count":60}],"isBlockCoverage":true},{"functionName":"alloc","ranges":[{"startOffset":11619,"endOffset":11864,"count":1},{"startOffset":11703,"endOffset":11716,"count":0},{"startOffset":11717,"endOffset":11728,"count":0},{"startOffset":11730,"endOffset":11831,"count":0}],"isBlockCoverage":true},{"functionName":"allocUnsafe","ranges":[{"startOffset":12043,"endOffset":12118,"count":1}],"isBlockCoverage":true},{"functionName":"allocUnsafeSlow","ranges":[{"startOffset":12359,"endOffset":12448,"count":58}],"isBlockCoverage":true},{"functionName":"SlowBuffer","ranges":[{"startOffset":12544,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"allocate","ranges":[{"startOffset":12748,"endOffset":13080,"count":1},{"startOffset":12791,"endOffset":12825,"count":0},{"startOffset":12912,"endOffset":12925,"count":0},{"startOffset":13043,"endOffset":13079,"count":0}],"isBlockCoverage":true},{"functionName":"fromStringFast","ranges":[{"startOffset":13082,"endOffset":13628,"count":11},{"startOffset":13208,"endOffset":13257,"count":1},{"startOffset":13257,"endOffset":13303,"count":10},{"startOffset":13303,"endOffset":13316,"count":0},{"startOffset":13316,"endOffset":13449,"count":10},{"startOffset":13449,"endOffset":13575,"count":0},{"startOffset":13575,"endOffset":13627,"count":10}],"isBlockCoverage":true},{"functionName":"fromString","ranges":[{"startOffset":13630,"endOffset":14083,"count":11},{"startOffset":13716,"endOffset":13740,"count":8},{"startOffset":13742,"endOffset":13861,"count":3},{"startOffset":13779,"endOffset":13803,"count":0},{"startOffset":13861,"endOffset":14043,"count":8},{"startOffset":13938,"endOffset":13979,"count":0},{"startOffset":14015,"endOffset":14039,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayBuffer","ranges":[{"startOffset":14085,"endOffset":14782,"count":6},{"startOffset":14229,"endOffset":14325,"count":0},{"startOffset":14402,"endOffset":14447,"count":0},{"startOffset":14506,"endOffset":14729,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayLike","ranges":[{"startOffset":14784,"endOffset":15178,"count":1},{"startOffset":14841,"endOffset":14865,"count":0},{"startOffset":14964,"endOffset":14977,"count":0},{"startOffset":15146,"endOffset":15177,"count":0}],"isBlockCoverage":true},{"functionName":"fromObject","ranges":[{"startOffset":15180,"endOffset":15486,"count":1},{"startOffset":15238,"endOffset":15269,"count":0},{"startOffset":15313,"endOffset":15351,"count":0},{"startOffset":15386,"endOffset":15441,"count":0},{"startOffset":15443,"endOffset":15484,"count":0}],"isBlockCoverage":true},{"functionName":"isBuffer","ranges":[{"startOffset":15525,"endOffset":15579,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":15599,"endOffset":15924,"count":0}],"isBlockCoverage":false},{"functionName":"isEncoding","ranges":[{"startOffset":15947,"endOffset":16098,"count":381}],"isBlockCoverage":true},{"functionName":"concat","ranges":[{"startOffset":16164,"endOffset":17311,"count":0}],"isBlockCoverage":false},{"functionName":"base64ByteLength","ranges":[{"startOffset":17314,"endOffset":17582,"count":1},{"startOffset":17520,"endOffset":17528,"count":0}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":17717,"endOffset":17781,"count":3}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":17794,"endOffset":17840,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":17855,"endOffset":17951,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18045,"endOffset":18074,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18087,"endOffset":18151,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18164,"endOffset":18210,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18225,"endOffset":18324,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18424,"endOffset":18453,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18466,"endOffset":18530,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18543,"endOffset":18589,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18604,"endOffset":18703,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18800,"endOffset":18825,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18838,"endOffset":18904,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18917,"endOffset":18965,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18980,"endOffset":19078,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19172,"endOffset":19197,"count":3}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19210,"endOffset":19275,"count":3}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":19288,"endOffset":19335,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19350,"endOffset":19562,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19659,"endOffset":19710,"count":1}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19723,"endOffset":19789,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":19802,"endOffset":19850,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19865,"endOffset":20079,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20185,"endOffset":20236,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20249,"endOffset":20324,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":20337,"endOffset":20388,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20403,"endOffset":20623,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20711,"endOffset":20742,"count":4}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":20755,"endOffset":20818,"count":4}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":20831,"endOffset":20876,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20891,"endOffset":21099,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingOps","ranges":[{"startOffset":21109,"endOffset":22933,"count":8},{"startOffset":21196,"endOffset":21495,"count":0},{"startOffset":21500,"endOffset":21919,"count":3},{"startOffset":21540,"endOffset":21564,"count":0},{"startOffset":21622,"endOffset":21919,"count":0},{"startOffset":21924,"endOffset":22078,"count":0},{"startOffset":22083,"endOffset":22239,"count":0},{"startOffset":22244,"endOffset":22625,"count":1},{"startOffset":22318,"endOffset":22344,"count":0},{"startOffset":22404,"endOffset":22516,"count":0},{"startOffset":22526,"endOffset":22625,"count":0},{"startOffset":22630,"endOffset":22762,"count":4},{"startOffset":22667,"endOffset":22716,"count":0},{"startOffset":22749,"endOffset":22762,"count":0},{"startOffset":22767,"endOffset":22927,"count":0}],"isBlockCoverage":true},{"functionName":"byteLength","ranges":[{"startOffset":22935,"endOffset":23441,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23600,"endOffset":23694,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23792,"endOffset":23890,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":23923,"endOffset":24056,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":24337,"endOffset":24916,"count":1},{"startOffset":24457,"endOffset":24620,"count":0},{"startOffset":24626,"endOffset":24915,"count":0}],"isBlockCoverage":true},{"functionName":"equals","ranges":[{"startOffset":24945,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":25427,"endOffset":26570,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":26666,"endOffset":27815,"count":0}],"isBlockCoverage":false},{"functionName":"bidirectionalIndexOf","ranges":[{"startOffset":28243,"endOffset":29551,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":29580,"endOffset":29697,"count":0}],"isBlockCoverage":false},{"functionName":"lastIndexOf","ranges":[{"startOffset":29731,"endOffset":29853,"count":0}],"isBlockCoverage":false},{"functionName":"includes","ranges":[{"startOffset":29884,"endOffset":29989,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":30167,"endOffset":30266,"count":0}],"isBlockCoverage":false},{"functionName":"_fill","ranges":[{"startOffset":30269,"endOffset":32215,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":32242,"endOffset":33257,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":33286,"endOffset":33520,"count":0}],"isBlockCoverage":false},{"functionName":"adjustOffset","ranges":[{"startOffset":33523,"endOffset":33957,"count":0}],"isBlockCoverage":false},{"functionName":"subarray","ranges":[{"startOffset":33987,"endOffset":34290,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":34318,"endOffset":34384,"count":0}],"isBlockCoverage":false},{"functionName":"swap","ranges":[{"startOffset":34387,"endOffset":34458,"count":0}],"isBlockCoverage":false},{"functionName":"swap16","ranges":[{"startOffset":34486,"endOffset":34890,"count":0}],"isBlockCoverage":false},{"functionName":"swap32","ranges":[{"startOffset":34919,"endOffset":35363,"count":0}],"isBlockCoverage":false},{"functionName":"swap64","ranges":[{"startOffset":35392,"endOffset":35900,"count":0}],"isBlockCoverage":false},{"functionName":"transcode","ranges":[{"startOffset":36214,"endOffset":36913,"count":0}],"isBlockCoverage":false},{"functionName":"btoa","ranges":[{"startOffset":36918,"endOffset":37455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":37728,"endOffset":37772,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37830,"endOffset":37874,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37929,"endOffset":37973,"count":10}],"isBlockCoverage":true},{"functionName":"atob","ranges":[{"startOffset":38149,"endOffset":40101,"count":0}],"isBlockCoverage":false},{"functionName":"isUtf8","ranges":[{"startOffset":40103,"endOffset":40299,"count":0}],"isBlockCoverage":false},{"functionName":"isAscii","ranges":[{"startOffset":40301,"endOffset":40514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40905,"endOffset":40940,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":40946,"endOffset":41044,"count":0}],"isBlockCoverage":false}]},{"scriptId":"97","url":"node:internal/buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30926,"count":1}],"isBlockCoverage":false},{"functionName":"checkBounds","ranges":[{"startOffset":1176,"endOffset":1392,"count":1},{"startOffset":1339,"endOffset":1390,"count":0}],"isBlockCoverage":true},{"functionName":"checkInt","ranges":[{"startOffset":1394,"endOffset":2016,"count":1},{"startOffset":1490,"endOffset":1974,"count":0}],"isBlockCoverage":true},{"functionName":"boundsError","ranges":[{"startOffset":2018,"endOffset":2421,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":2441,"endOffset":2940,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":2942,"endOffset":3441,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":3443,"endOffset":3944,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":3946,"endOffset":4441,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntLE","ranges":[{"startOffset":4443,"endOffset":4995,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48LE","ranges":[{"startOffset":4997,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40LE","ranges":[{"startOffset":5382,"endOffset":5738,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":5740,"endOffset":6066,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24LE","ranges":[{"startOffset":6068,"endOffset":6356,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":6358,"endOffset":6618,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":6620,"endOffset":6800,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntBE","ranges":[{"startOffset":6802,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48BE","ranges":[{"startOffset":7356,"endOffset":7739,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40BE","ranges":[{"startOffset":7741,"endOffset":8097,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":8099,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24BE","ranges":[{"startOffset":8427,"endOffset":8715,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":8717,"endOffset":8977,"count":0}],"isBlockCoverage":false},{"functionName":"readIntLE","ranges":[{"startOffset":8979,"endOffset":9524,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48LE","ranges":[{"startOffset":9526,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40LE","ranges":[{"startOffset":9959,"endOffset":10346,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":10348,"endOffset":10683,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24LE","ranges":[{"startOffset":10685,"endOffset":11017,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":11019,"endOffset":11325,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":11327,"endOffset":11535,"count":0}],"isBlockCoverage":false},{"functionName":"readIntBE","ranges":[{"startOffset":11537,"endOffset":12082,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48BE","ranges":[{"startOffset":12084,"endOffset":12513,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40BE","ranges":[{"startOffset":12515,"endOffset":12903,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":12905,"endOffset":13240,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24BE","ranges":[{"startOffset":13242,"endOffset":13574,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":13576,"endOffset":13882,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBackwards","ranges":[{"startOffset":13899,"endOffset":14304,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatForwards","ranges":[{"startOffset":14306,"endOffset":14710,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBackwards","ranges":[{"startOffset":14712,"endOffset":15282,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleForwards","ranges":[{"startOffset":15284,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64LE","ranges":[{"startOffset":15874,"endOffset":16356,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":16358,"endOffset":16480,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64BE","ranges":[{"startOffset":16482,"endOffset":16980,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":16982,"endOffset":17104,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":17106,"endOffset":17250,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":17252,"endOffset":17396,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntLE","ranges":[{"startOffset":17398,"endOffset":18007,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48LE","ranges":[{"startOffset":18009,"endOffset":18422,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40LE","ranges":[{"startOffset":18424,"endOffset":18803,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32LE","ranges":[{"startOffset":18805,"endOffset":19112,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19114,"endOffset":19220,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24LE","ranges":[{"startOffset":19222,"endOffset":19481,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16LE","ranges":[{"startOffset":19483,"endOffset":19679,"count":1}],"isBlockCoverage":true},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19681,"endOffset":19783,"count":1}],"isBlockCoverage":true},{"functionName":"writeU_Int8","ranges":[{"startOffset":19785,"endOffset":20197,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":20199,"endOffset":20293,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntBE","ranges":[{"startOffset":20295,"endOffset":20904,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48BE","ranges":[{"startOffset":20906,"endOffset":21327,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40BE","ranges":[{"startOffset":21329,"endOffset":21691,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32BE","ranges":[{"startOffset":21693,"endOffset":22008,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":22010,"endOffset":22116,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24BE","ranges":[{"startOffset":22118,"endOffset":22383,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16BE","ranges":[{"startOffset":22385,"endOffset":22581,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":22583,"endOffset":22685,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntLE","ranges":[{"startOffset":22687,"endOffset":23349,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":23351,"endOffset":23466,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":23468,"endOffset":23575,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":23577,"endOffset":23674,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntBE","ranges":[{"startOffset":23676,"endOffset":24338,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":24340,"endOffset":24455,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":24457,"endOffset":24564,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleForwards","ranges":[{"startOffset":24583,"endOffset":25049,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBackwards","ranges":[{"startOffset":25051,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatForwards","ranges":[{"startOffset":25520,"endOffset":25821,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBackwards","ranges":[{"startOffset":25823,"endOffset":26125,"count":0}],"isBlockCoverage":false},{"functionName":"FastBuffer","ranges":[{"startOffset":26365,"endOffset":26465,"count":79}],"isBlockCoverage":true},{"functionName":"addBufferPrototypeMethods","ranges":[{"startOffset":26469,"endOffset":29608,"count":1},{"startOffset":28552,"endOffset":28572,"count":0},{"startOffset":28626,"endOffset":28645,"count":0},{"startOffset":28701,"endOffset":28722,"count":0},{"startOffset":28778,"endOffset":28798,"count":0},{"startOffset":28855,"endOffset":28876,"count":0},{"startOffset":28932,"endOffset":28952,"count":0},{"startOffset":29010,"endOffset":29032,"count":0},{"startOffset":29090,"endOffset":29111,"count":0}],"isBlockCoverage":true},{"functionName":"markAsUntransferable","ranges":[{"startOffset":29764,"endOffset":30013,"count":1},{"startOffset":29832,"endOffset":29860,"count":0},{"startOffset":29883,"endOffset":29890,"count":0}],"isBlockCoverage":true},{"functionName":"createUnsafeBuffer","ranges":[{"startOffset":30291,"endOffset":30427,"count":59}],"isBlockCoverage":true},{"functionName":"reconnectZeroFillToggle","ranges":[{"startOffset":30682,"endOffset":30754,"count":1}],"isBlockCoverage":true}]},{"scriptId":"98","url":"node:internal/worker/js_transferable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2208,"count":1}],"isBlockCoverage":false},{"functionName":"setup","ranges":[{"startOffset":478,"endOffset":1311,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":759,"endOffset":1307,"count":0}],"isBlockCoverage":false},{"functionName":"makeTransferable","ranges":[{"startOffset":1313,"endOffset":1968,"count":0}],"isBlockCoverage":false}]},{"scriptId":"99","url":"node:internal/process/per_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12464,"count":1}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":1145,"endOffset":1233,"count":0}],"isBlockCoverage":false},{"functionName":"refreshHrtimeBuffer","ranges":[{"startOffset":1388,"endOffset":1856,"count":2}],"isBlockCoverage":true},{"functionName":"hrtime","ranges":[{"startOffset":1905,"endOffset":2407,"count":0}],"isBlockCoverage":false},{"functionName":"hrtimeBigInt","ranges":[{"startOffset":2409,"endOffset":2490,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2492,"endOffset":2509,"count":0}],"isBlockCoverage":false},{"functionName":"wrapProcessMethods","ranges":[{"startOffset":2587,"endOffset":7477,"count":1}],"isBlockCoverage":true},{"functionName":"_rawDebug","ranges":[{"startOffset":2754,"endOffset":2844,"count":0}],"isBlockCoverage":false},{"functionName":"cpuUsage","ranges":[{"startOffset":3055,"endOffset":4207,"count":0}],"isBlockCoverage":false},{"functionName":"previousValueIsValid","ranges":[{"startOffset":4360,"endOffset":4497,"count":0}],"isBlockCoverage":false},{"functionName":"memoryUsage","ranges":[{"startOffset":4542,"endOffset":4769,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":4799,"endOffset":5938,"count":1}],"isBlockCoverage":true},{"functionName":"kill","ranges":[{"startOffset":5942,"endOffset":6587,"count":0}],"isBlockCoverage":false},{"functionName":"resourceUsage","ranges":[{"startOffset":6638,"endOffset":7372,"count":0}],"isBlockCoverage":false},{"functionName":"buildAllowedFlags","ranges":[{"startOffset":7688,"endOffset":11790,"count":1},{"startOffset":7976,"endOffset":8267,"count":159},{"startOffset":8028,"endOffset":8263,"count":124},{"startOffset":8125,"endOffset":8257,"count":62},{"startOffset":8735,"endOffset":9157,"count":23},{"startOffset":8789,"endOffset":9153,"count":11},{"startOffset":8878,"endOffset":8947,"count":2},{"startOffset":9012,"endOffset":9081,"count":0}],"isBlockCoverage":true},{"functionName":"isAccepted","ranges":[{"startOffset":8271,"endOffset":8683,"count":29},{"startOffset":8341,"endOffset":8355,"count":28},{"startOffset":8357,"endOffset":8369,"count":2},{"startOffset":8369,"endOffset":8446,"count":27},{"startOffset":8446,"endOffset":8615,"count":2},{"startOffset":8496,"endOffset":8543,"count":1},{"startOffset":8615,"endOffset":8682,"count":25}],"isBlockCoverage":true},{"functionName":"trimLeadingDashes","ranges":[{"startOffset":9191,"endOffset":9253,"count":197}],"isBlockCoverage":true},{"functionName":"NodeEnvironmentFlagsSet","ranges":[{"startOffset":9563,"endOffset":9639,"count":1}],"isBlockCoverage":true},{"functionName":"add","ranges":[{"startOffset":9645,"endOffset":9714,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":9720,"endOffset":9793,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":9799,"endOffset":9851,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":9857,"endOffset":10672,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":10678,"endOffset":10843,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":10849,"endOffset":11026,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":11032,"endOffset":11093,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":11099,"endOffset":11262,"count":0}],"isBlockCoverage":false},{"functionName":"toggleTraceCategoryState","ranges":[{"startOffset":11980,"endOffset":12310,"count":1},{"startOffset":12060,"endOffset":12235,"count":0},{"startOffset":12267,"endOffset":12308,"count":0}],"isBlockCoverage":true}]},{"scriptId":"100","url":"node:internal/process/task_queues","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4285,"count":1}],"isBlockCoverage":false},{"functionName":"hasTickScheduled","ranges":[{"startOffset":982,"endOffset":1057,"count":0}],"isBlockCoverage":false},{"functionName":"setHasTickScheduled","ranges":[{"startOffset":1059,"endOffset":1145,"count":2},{"startOffset":1135,"endOffset":1138,"count":1},{"startOffset":1139,"endOffset":1142,"count":1}],"isBlockCoverage":true},{"functionName":"runNextTicks","ranges":[{"startOffset":1247,"endOffset":1443,"count":0}],"isBlockCoverage":false},{"functionName":"processTicksAndRejections","ranges":[{"startOffset":1445,"endOffset":2424,"count":1},{"startOffset":1547,"endOffset":2279,"count":2},{"startOffset":1781,"endOffset":2155,"count":0},{"startOffset":2217,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"nextTick","ranges":[{"startOffset":2568,"endOffset":3442,"count":2},{"startOffset":2669,"endOffset":2676,"count":0},{"startOffset":2743,"endOffset":2780,"count":0},{"startOffset":2785,"endOffset":2836,"count":0},{"startOffset":2841,"endOffset":2906,"count":0},{"startOffset":2911,"endOffset":3054,"count":0},{"startOffset":3083,"endOffset":3109,"count":1},{"startOffset":3354,"endOffset":3414,"count":0}],"isBlockCoverage":true},{"functionName":"runMicrotask","ranges":[{"startOffset":3444,"endOffset":3620,"count":0}],"isBlockCoverage":false},{"functionName":"queueMicrotask","ranges":[{"startOffset":3692,"endOffset":3981,"count":0}],"isBlockCoverage":false},{"functionName":"setupTaskQueue","ranges":[{"startOffset":4004,"endOffset":4262,"count":1}],"isBlockCoverage":true}]},{"scriptId":"101","url":"node:internal/process/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11045,"count":1}],"isBlockCoverage":false},{"functionName":"setHasRejectionToWarn","ranges":[{"startOffset":2155,"endOffset":2245,"count":1},{"startOffset":2235,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"hasRejectionToWarn","ranges":[{"startOffset":2247,"endOffset":2326,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorLike","ranges":[{"startOffset":2328,"endOffset":2464,"count":0}],"isBlockCoverage":false},{"functionName":"getUnhandledRejectionsMode","ranges":[{"startOffset":2466,"endOffset":2999,"count":0}],"isBlockCoverage":false},{"functionName":"promiseRejectHandler","ranges":[{"startOffset":3001,"endOffset":3570,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3619,"endOffset":3627,"count":0}],"isBlockCoverage":false},{"functionName":"resolveError","ranges":[{"startOffset":3698,"endOffset":3995,"count":0}],"isBlockCoverage":false},{"functionName":"unhandledRejection","ranges":[{"startOffset":3997,"endOffset":4557,"count":0}],"isBlockCoverage":false},{"functionName":"handledRejection","ranges":[{"startOffset":4559,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionWarning","ranges":[{"startOffset":5462,"endOffset":6499,"count":0}],"isBlockCoverage":false},{"functionName":"processPromiseRejections","ranges":[{"startOffset":6672,"endOffset":9849,"count":1},{"startOffset":6830,"endOffset":7009,"count":0},{"startOffset":7074,"endOffset":9753,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithoutStack","ranges":[{"startOffset":9851,"endOffset":10366,"count":0}],"isBlockCoverage":false},{"functionName":"generateUnhandledRejectionError","ranges":[{"startOffset":10368,"endOffset":10838,"count":0}],"isBlockCoverage":false},{"functionName":"listenForRejections","ranges":[{"startOffset":10840,"endOffset":10924,"count":1}],"isBlockCoverage":true}]},{"scriptId":"102","url":"node:internal/fixed_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4208,"count":1}],"isBlockCoverage":false},{"functionName":"FixedCircularBuffer","ranges":[{"startOffset":2959,"endOffset":3073,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3077,"endOffset":3129,"count":6}],"isBlockCoverage":true},{"functionName":"isFull","ranges":[{"startOffset":3133,"endOffset":3200,"count":2}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3204,"endOffset":3291,"count":2}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3295,"endOffset":3510,"count":3},{"startOffset":3388,"endOffset":3400,"count":1},{"startOffset":3400,"endOffset":3509,"count":2}],"isBlockCoverage":true},{"functionName":"FixedQueue","ranges":[{"startOffset":3552,"endOffset":3626,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3630,"endOffset":3677,"count":3}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3681,"endOffset":3945,"count":2},{"startOffset":3722,"endOffset":3915,"count":0}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3949,"endOffset":4204,"count":3},{"startOffset":4041,"endOffset":4062,"count":2},{"startOffset":4064,"endOffset":4183,"count":0}],"isBlockCoverage":true}]},{"scriptId":"103","url":"node:async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10295,"count":1}],"isBlockCoverage":false},{"functionName":"AsyncHook","ranges":[{"startOffset":1538,"endOffset":2372,"count":1},{"startOffset":1666,"endOffset":1708,"count":0},{"startOffset":1738,"endOffset":1769,"count":0},{"startOffset":1777,"endOffset":1821,"count":0},{"startOffset":1850,"endOffset":1880,"count":0},{"startOffset":1888,"endOffset":1931,"count":0},{"startOffset":1962,"endOffset":1994,"count":0},{"startOffset":2002,"endOffset":2047,"count":0},{"startOffset":2085,"endOffset":2124,"count":0},{"startOffset":2132,"endOffset":2184,"count":0}],"isBlockCoverage":true},{"functionName":"enable","ranges":[{"startOffset":2376,"endOffset":3621,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":3625,"endOffset":4409,"count":0}],"isBlockCoverage":false},{"functionName":"createHook","ranges":[{"startOffset":4414,"endOffset":4471,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncResource","ranges":[{"startOffset":4564,"endOffset":5761,"count":0}],"isBlockCoverage":false},{"functionName":"runInAsyncScope","ranges":[{"startOffset":5765,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":6085,"endOffset":6260,"count":0}],"isBlockCoverage":false},{"functionName":"asyncId","ranges":[{"startOffset":6264,"endOffset":6313,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":6317,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":6385,"endOffset":7421,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":7432,"endOffset":7569,"count":0}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":7632,"endOffset":7920,"count":0}],"isBlockCoverage":false},{"functionName":"AsyncLocalStorage","ranges":[{"startOffset":7955,"endOffset":8052,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":8063,"endOffset":8112,"count":0}],"isBlockCoverage":false},{"functionName":"snapshot","ranges":[{"startOffset":8123,"endOffset":8204,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":8208,"endOffset":8533,"count":0}],"isBlockCoverage":false},{"functionName":"_enable","ranges":[{"startOffset":8537,"endOffset":8683,"count":0}],"isBlockCoverage":false},{"functionName":"_propagate","ranges":[{"startOffset":8752,"endOffset":8932,"count":0}],"isBlockCoverage":false},{"functionName":"enterWith","ranges":[{"startOffset":8936,"endOffset":9068,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":9072,"endOffset":9570,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":9574,"endOffset":9806,"count":0}],"isBlockCoverage":false},{"functionName":"getStore","ranges":[{"startOffset":9810,"endOffset":9949,"count":0}],"isBlockCoverage":false}]},{"scriptId":"104","url":"node:timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9640,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1819,"endOffset":1844,"count":0}],"isBlockCoverage":false},{"functionName":"unenroll","ranges":[{"startOffset":2343,"endOffset":3527,"count":0}],"isBlockCoverage":false},{"functionName":"enroll","ranges":[{"startOffset":3734,"endOffset":3987,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":4229,"endOffset":4886,"count":1},{"startOffset":4396,"endOffset":4403,"count":0},{"startOffset":4433,"endOffset":4474,"count":0},{"startOffset":4479,"endOffset":4526,"count":0},{"startOffset":4531,"endOffset":4752,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4981,"endOffset":5106,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimeout","ranges":[{"startOffset":5206,"endOffset":5572,"count":14},{"startOffset":5249,"endOffset":5268,"count":0},{"startOffset":5270,"endOffset":5337,"count":0},{"startOffset":5400,"endOffset":5570,"count":0}],"isBlockCoverage":true},{"functionName":"setInterval","ranges":[{"startOffset":5809,"endOffset":6468,"count":0}],"isBlockCoverage":false},{"functionName":"clearInterval","ranges":[{"startOffset":6565,"endOffset":6863,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.close","ranges":[{"startOffset":6891,"endOffset":6942,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":6980,"endOffset":7016,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":7126,"endOffset":7287,"count":0}],"isBlockCoverage":false},{"functionName":"setImmediate","ranges":[{"startOffset":7504,"endOffset":8057,"count":1},{"startOffset":7691,"endOffset":7732,"count":0},{"startOffset":7737,"endOffset":7784,"count":0},{"startOffset":7789,"endOffset":8010,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8154,"endOffset":8281,"count":0}],"isBlockCoverage":false},{"functionName":"clearImmediate","ranges":[{"startOffset":8372,"endOffset":8922,"count":0}],"isBlockCoverage":false},{"functionName":"Immediate.","ranges":[{"startOffset":8961,"endOffset":8999,"count":0}],"isBlockCoverage":false}]},{"scriptId":"105","url":"node:internal/process/execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6918,"count":1}],"isBlockCoverage":false},{"functionName":"tryGetCwd","ranges":[{"startOffset":681,"endOffset":1011,"count":1},{"startOffset":742,"endOffset":1009,"count":0}],"isBlockCoverage":true},{"functionName":"evalModule","ranges":[{"startOffset":1013,"endOffset":1407,"count":0}],"isBlockCoverage":false},{"functionName":"evalScript","ranges":[{"startOffset":1409,"endOffset":3230,"count":0}],"isBlockCoverage":false},{"functionName":"setUncaughtExceptionCaptureCallback","ranges":[{"startOffset":3308,"endOffset":4002,"count":0}],"isBlockCoverage":false},{"functionName":"hasUncaughtExceptionCaptureCallback","ranges":[{"startOffset":4004,"endOffset":4105,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4107,"endOffset":4125,"count":0}],"isBlockCoverage":false},{"functionName":"createOnGlobalUncaughtException","ranges":[{"startOffset":4668,"endOffset":6491,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4937,"endOffset":6488,"count":0}],"isBlockCoverage":false},{"functionName":"readStdin","ranges":[{"startOffset":6493,"endOffset":6698,"count":0}],"isBlockCoverage":false}]},{"scriptId":"106","url":"node:path","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":46851,"count":1}],"isBlockCoverage":false},{"functionName":"isPathSeparator","ranges":[{"startOffset":1719,"endOffset":1823,"count":0}],"isBlockCoverage":false},{"functionName":"isPosixPathSeparator","ranges":[{"startOffset":1825,"endOffset":1902,"count":268219}],"isBlockCoverage":true},{"functionName":"isWindowsDeviceRoot","ranges":[{"startOffset":1904,"endOffset":2074,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeString","ranges":[{"startOffset":2137,"endOffset":4085,"count":3818},{"startOffset":2354,"endOffset":4069,"count":267846},{"startOffset":2387,"endOffset":2429,"count":264028},{"startOffset":2429,"endOffset":2520,"count":3818},{"startOffset":2472,"endOffset":2478,"count":3445},{"startOffset":2478,"endOffset":2520,"count":373},{"startOffset":2520,"endOffset":2553,"count":264401},{"startOffset":2553,"endOffset":3970,"count":32452},{"startOffset":2585,"endOffset":2598,"count":27401},{"startOffset":2600,"endOffset":2625,"count":5674},{"startOffset":2625,"endOffset":3927,"count":26778},{"startOffset":2647,"endOffset":3682,"count":128},{"startOffset":2676,"endOffset":2702,"count":69},{"startOffset":2703,"endOffset":2777,"count":4},{"startOffset":2778,"endOffset":2852,"count":4},{"startOffset":2854,"endOffset":3542,"count":124},{"startOffset":2886,"endOffset":3363,"count":65},{"startOffset":3006,"endOffset":3082,"count":0},{"startOffset":3363,"endOffset":3532,"count":59},{"startOffset":3391,"endOffset":3532,"count":0},{"startOffset":3542,"endOffset":3674,"count":63},{"startOffset":3605,"endOffset":3623,"count":4},{"startOffset":3624,"endOffset":3630,"count":59},{"startOffset":3682,"endOffset":3927,"count":26650},{"startOffset":3728,"endOffset":3797,"count":22891},{"startOffset":3797,"endOffset":3872,"count":3759},{"startOffset":3927,"endOffset":3970,"count":32387},{"startOffset":3970,"endOffset":4065,"count":231949},{"startOffset":3998,"endOffset":4012,"count":3665},{"startOffset":4014,"endOffset":4035,"count":883},{"startOffset":4035,"endOffset":4065,"count":231066}],"isBlockCoverage":true},{"functionName":"formatExt","ranges":[{"startOffset":4087,"endOffset":4172,"count":0}],"isBlockCoverage":false},{"functionName":"_format","ranges":[{"startOffset":4350,"endOffset":4685,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":4803,"endOffset":9588,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":9654,"endOffset":12725,"count":0}],"isBlockCoverage":false},{"functionName":"isAbsolute","ranges":[{"startOffset":12792,"endOffset":13208,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13277,"endOffset":15423,"count":0}],"isBlockCoverage":false},{"functionName":"relative","ranges":[{"startOffset":15719,"endOffset":19486,"count":0}],"isBlockCoverage":false},{"functionName":"toNamespacedPath","ranges":[{"startOffset":19552,"endOffset":20654,"count":0}],"isBlockCoverage":false},{"functionName":"dirname","ranges":[{"startOffset":20720,"endOffset":23266,"count":0}],"isBlockCoverage":false},{"functionName":"basename","ranges":[{"startOffset":23362,"endOffset":26136,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":26202,"endOffset":28275,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":28497,"endOffset":33253,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33339,"endOffset":33782,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33526,"endOffset":33683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33760,"endOffset":33779,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":33904,"endOffset":34827,"count":3445},{"startOffset":34027,"endOffset":34047,"count":9174},{"startOffset":34054,"endOffset":34381,"count":5729},{"startOffset":34092,"endOffset":34104,"count":0},{"startOffset":34207,"endOffset":34234,"count":0},{"startOffset":34766,"endOffset":34816,"count":0},{"startOffset":34817,"endOffset":34822,"count":0}],"isBlockCoverage":true},{"functionName":"normalize","ranges":[{"startOffset":34893,"endOffset":35506,"count":373},{"startOffset":34979,"endOffset":34990,"count":0},{"startOffset":35318,"endOffset":35412,"count":0},{"startOffset":35446,"endOffset":35458,"count":0},{"startOffset":35482,"endOffset":35494,"count":3},{"startOffset":35495,"endOffset":35501,"count":370}],"isBlockCoverage":true},{"functionName":"isAbsolute","ranges":[{"startOffset":35573,"endOffset":35729,"count":616}],"isBlockCoverage":true},{"functionName":"join","ranges":[{"startOffset":35798,"endOffset":36212,"count":3},{"startOffset":35847,"endOffset":35858,"count":0},{"startOffset":35917,"endOffset":36124,"count":6},{"startOffset":36053,"endOffset":36110,"count":3},{"startOffset":36161,"endOffset":36172,"count":0}],"isBlockCoverage":true},{"functionName":"relative","ranges":[{"startOffset":36302,"endOffset":38662,"count":2},{"startOffset":36415,"endOffset":36425,"count":0},{"startOffset":36552,"endOffset":36562,"count":0},{"startOffset":36835,"endOffset":36842,"count":0},{"startOffset":36916,"endOffset":37151,"count":70},{"startOffset":37064,"endOffset":37070,"count":0},{"startOffset":37127,"endOffset":37145,"count":6},{"startOffset":37483,"endOffset":37665,"count":0},{"startOffset":37673,"endOffset":38130,"count":0},{"startOffset":38136,"endOffset":38661,"count":0}],"isBlockCoverage":true},{"functionName":"toNamespacedPath","ranges":[{"startOffset":38728,"endOffset":38804,"count":3072}],"isBlockCoverage":true},{"functionName":"dirname","ranges":[{"startOffset":38870,"endOffset":39546,"count":1594},{"startOffset":38953,"endOffset":38964,"count":0},{"startOffset":39138,"endOffset":39391,"count":18895},{"startOffset":39209,"endOffset":39293,"count":1594},{"startOffset":39293,"endOffset":39385,"count":17301},{"startOffset":39419,"endOffset":39446,"count":0},{"startOffset":39483,"endOffset":39495,"count":0}],"isBlockCoverage":true},{"functionName":"basename","ranges":[{"startOffset":39642,"endOffset":42069,"count":376},{"startOffset":39703,"endOffset":39733,"count":0},{"startOffset":39865,"endOffset":39885,"count":0},{"startOffset":39886,"endOffset":39917,"count":0},{"startOffset":39919,"endOffset":41443,"count":0},{"startOffset":41491,"endOffset":41976,"count":4521},{"startOffset":41562,"endOffset":41786,"count":376},{"startOffset":41786,"endOffset":41970,"count":4145},{"startOffset":41808,"endOffset":41970,"count":376},{"startOffset":42004,"endOffset":42014,"count":0}],"isBlockCoverage":true},{"functionName":"extname","ranges":[{"startOffset":42135,"endOffset":43825,"count":1},{"startOffset":42468,"endOffset":43430,"count":13},{"startOffset":42564,"endOffset":42810,"count":1},{"startOffset":42784,"endOffset":42810,"count":0},{"startOffset":42810,"endOffset":42833,"count":12},{"startOffset":42833,"endOffset":42990,"count":1},{"startOffset":42990,"endOffset":43020,"count":12},{"startOffset":43020,"endOffset":43220,"count":1},{"startOffset":43149,"endOffset":43212,"count":0},{"startOffset":43220,"endOffset":43424,"count":11},{"startOffset":43247,"endOffset":43424,"count":7},{"startOffset":43669,"endOffset":43701,"count":0},{"startOffset":43702,"endOffset":43740,"count":0},{"startOffset":43743,"endOffset":43767,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":44052,"endOffset":46524,"count":0}],"isBlockCoverage":false}]},{"scriptId":"107","url":"node:internal/constants","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1583,"count":1}],"isBlockCoverage":false}]},{"scriptId":"108","url":"node:internal/process/warning","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5379,"count":1}],"isBlockCoverage":false},{"functionName":"resetForSerialization","ranges":[{"startOffset":448,"endOffset":645,"count":0}],"isBlockCoverage":false},{"functionName":"lazyOption","ranges":[{"startOffset":647,"endOffset":1201,"count":0}],"isBlockCoverage":false},{"functionName":"writeOut","ranges":[{"startOffset":1302,"endOffset":1424,"count":0}],"isBlockCoverage":false},{"functionName":"closeFdOnExit","ranges":[{"startOffset":1426,"endOffset":1537,"count":0}],"isBlockCoverage":false},{"functionName":"writeToFile","ranges":[{"startOffset":1539,"endOffset":1868,"count":0}],"isBlockCoverage":false},{"functionName":"doEmitWarning","ranges":[{"startOffset":1870,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"onWarning","ranges":[{"startOffset":1943,"endOffset":3092,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarning","ranges":[{"startOffset":3215,"endOffset":4406,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarningSync","ranges":[{"startOffset":4408,"endOffset":4538,"count":0}],"isBlockCoverage":false},{"functionName":"createWarningObject","ranges":[{"startOffset":4540,"endOffset":5283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"109","url":"node:internal/source_map/source_map_cache","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10127,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":357,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":824,"endOffset":939,"count":1}],"isBlockCoverage":true},{"functionName":"getSourceMapsEnabled","ranges":[{"startOffset":1596,"endOffset":1659,"count":72}],"isBlockCoverage":true},{"functionName":"setSourceMapsEnabled","ranges":[{"startOffset":1661,"endOffset":2203,"count":1},{"startOffset":1924,"endOffset":2173,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceURLMagicComment","ranges":[{"startOffset":2205,"endOffset":2805,"count":8},{"startOffset":2507,"endOffset":2540,"count":0},{"startOffset":2593,"endOffset":2729,"count":0},{"startOffset":2731,"endOffset":2804,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceMapURLMagicComment","ranges":[{"startOffset":2807,"endOffset":3250,"count":58},{"startOffset":3128,"endOffset":3156,"count":0},{"startOffset":3204,"endOffset":3249,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheSourceMap","ranges":[{"startOffset":3252,"endOffset":5023,"count":64},{"startOffset":3454,"endOffset":3474,"count":0},{"startOffset":3477,"endOffset":3484,"count":0},{"startOffset":3618,"endOffset":3742,"count":0},{"startOffset":3778,"endOffset":3844,"count":58},{"startOffset":3933,"endOffset":3950,"count":58},{"startOffset":3950,"endOffset":4122,"count":6},{"startOffset":4123,"endOffset":4137,"count":0},{"startOffset":4164,"endOffset":4349,"count":0},{"startOffset":4349,"endOffset":5021,"count":6},{"startOffset":4378,"endOffset":4644,"count":0},{"startOffset":4963,"endOffset":5017,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheGeneratedSourceMap","ranges":[{"startOffset":5025,"endOffset":5553,"count":2},{"startOffset":5163,"endOffset":5183,"count":0},{"startOffset":5186,"endOffset":5193,"count":0},{"startOffset":5297,"endOffset":5551,"count":0}],"isBlockCoverage":true},{"functionName":"dataFromUrl","ranges":[{"startOffset":5555,"endOffset":6075,"count":6},{"startOffset":5692,"endOffset":5767,"count":0},{"startOffset":5774,"endOffset":5854,"count":0}],"isBlockCoverage":true},{"functionName":"lineLengths","ranges":[{"startOffset":6265,"endOffset":6610,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6567,"endOffset":6606,"count":527}],"isBlockCoverage":true},{"functionName":"sourceMapFromFile","ranges":[{"startOffset":6612,"endOffset":6892,"count":6},{"startOffset":6840,"endOffset":6890,"count":0}],"isBlockCoverage":true},{"functionName":"sourceMapFromDataUrl","ranges":[{"startOffset":6986,"endOffset":7657,"count":0}],"isBlockCoverage":false},{"functionName":"sourcesToAbsolute","ranges":[{"startOffset":7842,"endOffset":8169,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7920,"endOffset":8026,"count":6}],"isBlockCoverage":true},{"functionName":"sourceMapCacheToObject","ranges":[{"startOffset":8607,"endOffset":8855,"count":0}],"isBlockCoverage":false},{"functionName":"appendCJSCache","ranges":[{"startOffset":8857,"endOffset":9083,"count":0}],"isBlockCoverage":false},{"functionName":"findSourceMap","ranges":[{"startOffset":9085,"endOffset":9957,"count":1},{"startOffset":9499,"endOffset":9692,"count":0},{"startOffset":9751,"endOffset":9956,"count":0}],"isBlockCoverage":true}]},{"scriptId":"110","url":"node:internal/url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43440,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBlob","ranges":[{"startOffset":2768,"endOffset":2843,"count":0}],"isBlockCoverage":false},{"functionName":"lazyCryptoRandom","ranges":[{"startOffset":2845,"endOffset":3079,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3462,"endOffset":4251,"count":1324}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3589,"endOffset":3617,"count":1}],"isBlockCoverage":false},{"functionName":"get hasPort","ranges":[{"startOffset":4030,"endOffset":4095,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSearch","ranges":[{"startOffset":4099,"endOffset":4174,"count":1596}],"isBlockCoverage":true},{"functionName":"get hasHash","ranges":[{"startOffset":4178,"endOffset":4249,"count":1596}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4337,"endOffset":6674,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7067,"endOffset":19940,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7158,"endOffset":7494,"count":1}],"isBlockCoverage":false},{"functionName":"setURLSearchParamsContext","ranges":[{"startOffset":7199,"endOffset":7246,"count":0}],"isBlockCoverage":false},{"functionName":"getURLSearchParamsList","ranges":[{"startOffset":7277,"endOffset":7303,"count":0}],"isBlockCoverage":false},{"functionName":"setURLSearchParams","ranges":[{"startOffset":7330,"endOffset":7489,"count":0}],"isBlockCoverage":false},{"functionName":"isURL","ranges":[{"startOffset":21271,"endOffset":21396,"count":1680},{"startOffset":21322,"endOffset":21338,"count":745},{"startOffset":21339,"endOffset":21365,"count":745},{"startOffset":21366,"endOffset":21392,"count":745}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21398,"endOffset":29200,"count":1391}],"isBlockCoverage":false},{"functionName":"URL","ranges":[{"startOffset":21461,"endOffset":21761,"count":1391},{"startOffset":21532,"endOffset":21580,"count":0},{"startOffset":21669,"endOffset":21700,"count":675}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21765,"endOffset":22485,"count":0}],"isBlockCoverage":false},{"functionName":"#updateContext","ranges":[{"startOffset":22489,"endOffset":23396,"count":1493},{"startOffset":23205,"endOffset":23392,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":23400,"endOffset":23447,"count":533}],"isBlockCoverage":true},{"functionName":"get href","ranges":[{"startOffset":23451,"endOffset":23498,"count":1013}],"isBlockCoverage":true},{"functionName":"set href","ranges":[{"startOffset":23502,"endOffset":23711,"count":0}],"isBlockCoverage":false},{"functionName":"get origin","ranges":[{"startOffset":23729,"endOffset":24598,"count":0}],"isBlockCoverage":false},{"functionName":"get protocol","ranges":[{"startOffset":24602,"endOffset":24706,"count":2218}],"isBlockCoverage":true},{"functionName":"set protocol","ranges":[{"startOffset":24710,"endOffset":24883,"count":0}],"isBlockCoverage":false},{"functionName":"get username","ranges":[{"startOffset":24887,"endOffset":25114,"count":0}],"isBlockCoverage":false},{"functionName":"set username","ranges":[{"startOffset":25118,"endOffset":25291,"count":0}],"isBlockCoverage":false},{"functionName":"get password","ranges":[{"startOffset":25295,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"set password","ranges":[{"startOffset":25522,"endOffset":25695,"count":0}],"isBlockCoverage":false},{"functionName":"get host","ranges":[{"startOffset":25699,"endOffset":26130,"count":0}],"isBlockCoverage":false},{"functionName":"set host","ranges":[{"startOffset":26134,"endOffset":26299,"count":0}],"isBlockCoverage":false},{"functionName":"get hostname","ranges":[{"startOffset":26303,"endOffset":26585,"count":694},{"startOffset":26469,"endOffset":26494,"count":0}],"isBlockCoverage":true},{"functionName":"set hostname","ranges":[{"startOffset":26589,"endOffset":26762,"count":0}],"isBlockCoverage":false},{"functionName":"get port","ranges":[{"startOffset":26766,"endOffset":26874,"count":0}],"isBlockCoverage":false},{"functionName":"set port","ranges":[{"startOffset":26878,"endOffset":27043,"count":0}],"isBlockCoverage":false},{"functionName":"get pathname","ranges":[{"startOffset":27047,"endOffset":27339,"count":1489},{"startOffset":27113,"endOffset":27163,"count":0},{"startOffset":27196,"endOffset":27244,"count":0}],"isBlockCoverage":true},{"functionName":"set pathname","ranges":[{"startOffset":27343,"endOffset":27516,"count":0}],"isBlockCoverage":false},{"functionName":"get search","ranges":[{"startOffset":27520,"endOffset":27855,"count":107},{"startOffset":27583,"endOffset":27854,"count":0}],"isBlockCoverage":true},{"functionName":"set search","ranges":[{"startOffset":27859,"endOffset":28036,"count":107}],"isBlockCoverage":true},{"functionName":"get searchParams","ranges":[{"startOffset":28054,"endOffset":28353,"count":0}],"isBlockCoverage":false},{"functionName":"get hash","ranges":[{"startOffset":28357,"endOffset":28572,"count":107},{"startOffset":28401,"endOffset":28463,"count":0},{"startOffset":28489,"endOffset":28571,"count":0}],"isBlockCoverage":true},{"functionName":"set hash","ranges":[{"startOffset":28576,"endOffset":28741,"count":107}],"isBlockCoverage":true},{"functionName":"toJSON","ranges":[{"startOffset":28745,"endOffset":28790,"count":0}],"isBlockCoverage":false},{"functionName":"canParse","ranges":[{"startOffset":28801,"endOffset":29198,"count":0}],"isBlockCoverage":false},{"functionName":"installObjectURLMethods","ranges":[{"startOffset":29910,"endOffset":30849,"count":1}],"isBlockCoverage":true},{"functionName":"createObjectURL","ranges":[{"startOffset":29997,"endOffset":30416,"count":0}],"isBlockCoverage":false},{"functionName":"revokeObjectURL","ranges":[{"startOffset":30420,"endOffset":30498,"count":0}],"isBlockCoverage":false},{"functionName":"parseParams","ranges":[{"startOffset":30958,"endOffset":33306,"count":0}],"isBlockCoverage":false},{"functionName":"serializeParams","ranges":[{"startOffset":34286,"endOffset":34846,"count":0}],"isBlockCoverage":false},{"functionName":"merge","ranges":[{"startOffset":34866,"endOffset":35496,"count":0}],"isBlockCoverage":false},{"functionName":"domainToASCII","ranges":[{"startOffset":35498,"endOffset":35683,"count":0}],"isBlockCoverage":false},{"functionName":"domainToUnicode","ranges":[{"startOffset":35685,"endOffset":35874,"count":0}],"isBlockCoverage":false},{"functionName":"urlToHttpOptions","ranges":[{"startOffset":36084,"endOffset":36785,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLWin32","ranges":[{"startOffset":36787,"endOffset":38284,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLPosix","ranges":[{"startOffset":38286,"endOffset":38807,"count":694},{"startOffset":38349,"endOffset":38405,"count":0},{"startOffset":38483,"endOffset":38766,"count":52947},{"startOffset":38514,"endOffset":38762,"count":0}],"isBlockCoverage":true},{"functionName":"fileURLToPath","ranges":[{"startOffset":38809,"endOffset":39148,"count":694},{"startOffset":38876,"endOffset":38897,"count":33},{"startOffset":38897,"endOffset":38991,"count":661},{"startOffset":38927,"endOffset":38991,"count":0},{"startOffset":39029,"endOffset":39070,"count":0},{"startOffset":39090,"endOffset":39117,"count":0}],"isBlockCoverage":true},{"functionName":"encodePathChars","ranges":[{"startOffset":39961,"endOffset":40737,"count":175},{"startOffset":40054,"endOffset":40125,"count":0},{"startOffset":40253,"endOffset":40326,"count":0},{"startOffset":40384,"endOffset":40455,"count":0},{"startOffset":40513,"endOffset":40591,"count":0},{"startOffset":40649,"endOffset":40716,"count":0}],"isBlockCoverage":true},{"functionName":"pathToFileURL","ranges":[{"startOffset":40739,"endOffset":42716,"count":175},{"startOffset":40790,"endOffset":40836,"count":0},{"startOffset":40838,"endOffset":41603,"count":0},{"startOffset":41885,"endOffset":41946,"count":174},{"startOffset":41906,"endOffset":41945,"count":0},{"startOffset":41948,"endOffset":41999,"count":1},{"startOffset":42005,"endOffset":42021,"count":1},{"startOffset":42477,"endOffset":42549,"count":0},{"startOffset":42606,"endOffset":42674,"count":0}],"isBlockCoverage":true},{"functionName":"toPathIfFileURL","ranges":[{"startOffset":42718,"endOffset":42855,"count":995},{"startOffset":42793,"endOffset":42814,"count":911},{"startOffset":42814,"endOffset":42854,"count":84}],"isBlockCoverage":true},{"functionName":"getURLOrigin","ranges":[{"startOffset":43042,"endOffset":43108,"count":0}],"isBlockCoverage":false}]},{"scriptId":"111","url":"node:internal/querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3316,"count":1}],"isBlockCoverage":false},{"functionName":"encodeStr","ranges":[{"startOffset":1534,"endOffset":3253,"count":0}],"isBlockCoverage":false}]},{"scriptId":"112","url":"node:querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14583,"count":1}],"isBlockCoverage":false},{"functionName":"unescapeBuffer","ranges":[{"startOffset":3146,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"qsUnescape","ranges":[{"startOffset":4400,"endOffset":4565,"count":0}],"isBlockCoverage":false},{"functionName":"qsEscape","ranges":[{"startOffset":5418,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"stringifyPrimitive","ranges":[{"startOffset":5719,"endOffset":5989,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringified","ranges":[{"startOffset":6110,"endOffset":6599,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringifiedCustom","ranges":[{"startOffset":6718,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":7065,"endOffset":8131,"count":0}],"isBlockCoverage":false},{"functionName":"charCodes","ranges":[{"startOffset":8187,"endOffset":8455,"count":0}],"isBlockCoverage":false},{"functionName":"addKeyVal","ranges":[{"startOffset":8518,"endOffset":9141,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":9392,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"decodeStr","ranges":[{"startOffset":14459,"endOffset":14582,"count":0}],"isBlockCoverage":false}]},{"scriptId":"113","url":"node:internal/bootstrap/web/exposed-wildcard","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3439,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":900,"endOffset":1129,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1153,"endOffset":1265,"count":0}],"isBlockCoverage":false},{"functionName":"createGlobalConsole","ranges":[{"startOffset":1898,"endOffset":2437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"114","url":"node:internal/console/global","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1814,"count":1}],"isBlockCoverage":false}]},{"scriptId":"115","url":"node:internal/console/constructor","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21601,"count":1}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1875,"endOffset":1975,"count":0}],"isBlockCoverage":false},{"functionName":"Console","ranges":[{"startOffset":2721,"endOffset":4813,"count":1},{"startOffset":2999,"endOffset":3053,"count":0},{"startOffset":3110,"endOffset":3223,"count":0},{"startOffset":3428,"endOffset":3486,"count":0},{"startOffset":3540,"endOffset":3598,"count":0},{"startOffset":3637,"endOffset":3660,"count":0},{"startOffset":3666,"endOffset":3722,"count":0},{"startOffset":3762,"endOffset":3871,"count":0},{"startOffset":3909,"endOffset":4215,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4331,"endOffset":4697,"count":19}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5042,"endOffset":5096,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5366,"endOffset":5607,"count":1}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5832,"endOffset":6477,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6041,"endOffset":6136,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6148,"endOffset":6178,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6308,"endOffset":6407,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6419,"endOffset":6449,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":6569,"endOffset":7977,"count":2}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":8069,"endOffset":9521,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":9616,"endOffset":10026,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10119,"endOffset":10299,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10392,"endOffset":10572,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteErrorHandler","ranges":[{"startOffset":10662,"endOffset":11551,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10730,"endOffset":11548,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":11580,"endOffset":11667,"count":0}],"isBlockCoverage":false},{"functionName":"warn","ranges":[{"startOffset":11673,"endOffset":11761,"count":0}],"isBlockCoverage":false},{"functionName":"dir","ranges":[{"startOffset":11767,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"time","ranges":[{"startOffset":11958,"endOffset":12316,"count":0}],"isBlockCoverage":false},{"functionName":"timeEnd","ranges":[{"startOffset":12321,"endOffset":12610,"count":0}],"isBlockCoverage":false},{"functionName":"timeLog","ranges":[{"startOffset":12615,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"trace","ranges":[{"startOffset":12865,"endOffset":13052,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":13057,"endOffset":13297,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":13358,"endOffset":13830,"count":0}],"isBlockCoverage":false},{"functionName":"count","ranges":[{"startOffset":13891,"endOffset":14347,"count":0}],"isBlockCoverage":false},{"functionName":"countReset","ranges":[{"startOffset":14413,"endOffset":14701,"count":0}],"isBlockCoverage":false},{"functionName":"group","ranges":[{"startOffset":14706,"endOffset":14891,"count":0}],"isBlockCoverage":false},{"functionName":"groupEnd","ranges":[{"startOffset":14896,"endOffset":15065,"count":0}],"isBlockCoverage":false},{"functionName":"table","ranges":[{"startOffset":15114,"endOffset":18432,"count":0}],"isBlockCoverage":false},{"functionName":"timeLogImpl","ranges":[{"startOffset":18473,"endOffset":18992,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":18994,"endOffset":19071,"count":0}],"isBlockCoverage":false},{"functionName":"formatTime","ranges":[{"startOffset":19073,"endOffset":19846,"count":0}],"isBlockCoverage":false},{"functionName":"isArray","ranges":[{"startOffset":19980,"endOffset":20036,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":20039,"endOffset":20057,"count":0}],"isBlockCoverage":false},{"functionName":"initializeGlobalConsole","ranges":[{"startOffset":20425,"endOffset":21464,"count":1},{"startOffset":20793,"endOffset":21463,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21359,"endOffset":21460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"116","url":"node:internal/util/inspector","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3929,"count":1}],"isBlockCoverage":false},{"functionName":"isUsingInspector","ranges":[{"startOffset":698,"endOffset":1081,"count":0}],"isBlockCoverage":false},{"functionName":"getInspectPort","ranges":[{"startOffset":1108,"endOffset":1485,"count":0}],"isBlockCoverage":false},{"functionName":"sendInspectorCommand","ranges":[{"startOffset":1500,"endOffset":2046,"count":0}],"isBlockCoverage":false},{"functionName":"isInspectorMessage","ranges":[{"startOffset":2048,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"installConsoleExtensions","ranges":[{"startOffset":2248,"endOffset":2891,"count":0}],"isBlockCoverage":false},{"functionName":"wrapConsole","ranges":[{"startOffset":2970,"endOffset":3778,"count":1},{"startOffset":3137,"endOffset":3776,"count":24},{"startOffset":3368,"endOffset":3654,"count":19},{"startOffset":3654,"endOffset":3772,"count":5}],"isBlockCoverage":true}]},{"scriptId":"117","url":"node:internal/process/permission","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":919,"count":1}],"isBlockCoverage":false},{"functionName":"isEnabled","ranges":[{"startOffset":315,"endOffset":559,"count":1797},{"startOffset":375,"endOffset":520,"count":1}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":563,"endOffset":913,"count":0}],"isBlockCoverage":false}]},{"scriptId":"118","url":"node:internal/event_target","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31545,"count":1}],"isBlockCoverage":false},{"functionName":"get isTrusted","ranges":[{"startOffset":2074,"endOffset":2130,"count":0}],"isBlockCoverage":false},{"functionName":"isEvent","ranges":[{"startOffset":2268,"endOffset":2340,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2342,"endOffset":7042,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":7039,"count":1}],"isBlockCoverage":false},{"functionName":"isCustomEvent","ranges":[{"startOffset":8173,"endOffset":8267,"count":0}],"isBlockCoverage":false},{"functionName":"CustomEvent","ranges":[{"startOffset":8497,"endOffset":8689,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":8722,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"NodeCustomEvent","ranges":[{"startOffset":9118,"endOffset":9245,"count":0}],"isBlockCoverage":false},{"functionName":"weakListeners","ranges":[{"startOffset":9495,"endOffset":9822,"count":0}],"isBlockCoverage":false},{"functionName":"Listener","ranges":[{"startOffset":10502,"endOffset":11966,"count":13},{"startOffset":10837,"endOffset":10856,"count":0},{"startOffset":10880,"endOffset":10902,"count":0},{"startOffset":10926,"endOffset":10948,"count":0},{"startOffset":11029,"endOffset":11048,"count":0},{"startOffset":11086,"endOffset":11122,"count":0},{"startOffset":11194,"endOffset":11650,"count":0},{"startOffset":11763,"endOffset":11962,"count":0}],"isBlockCoverage":true},{"functionName":"Listener.callback","ranges":[{"startOffset":11793,"endOffset":11923,"count":0}],"isBlockCoverage":false},{"functionName":"get once","ranges":[{"startOffset":11970,"endOffset":12030,"count":6}],"isBlockCoverage":true},{"functionName":"get capture","ranges":[{"startOffset":12033,"endOffset":12099,"count":4}],"isBlockCoverage":true},{"functionName":"get passive","ranges":[{"startOffset":12102,"endOffset":12168,"count":6}],"isBlockCoverage":true},{"functionName":"get isNodeStyleListener","ranges":[{"startOffset":12171,"endOffset":12251,"count":12}],"isBlockCoverage":true},{"functionName":"get weak","ranges":[{"startOffset":12254,"endOffset":12314,"count":39}],"isBlockCoverage":true},{"functionName":"get resistStopPropagation","ranges":[{"startOffset":12317,"endOffset":12411,"count":0}],"isBlockCoverage":false},{"functionName":"get removed","ranges":[{"startOffset":12414,"endOffset":12480,"count":6}],"isBlockCoverage":true},{"functionName":"set removed","ranges":[{"startOffset":12483,"endOffset":12600,"count":17},{"startOffset":12525,"endOffset":12552,"count":4},{"startOffset":12552,"endOffset":12596,"count":13}],"isBlockCoverage":true},{"functionName":"same","ranges":[{"startOffset":12604,"endOffset":12771,"count":16},{"startOffset":12663,"endOffset":12686,"count":0},{"startOffset":12739,"endOffset":12766,"count":4}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":12775,"endOffset":13032,"count":4},{"startOffset":12900,"endOffset":12935,"count":2},{"startOffset":12986,"endOffset":13028,"count":0}],"isBlockCoverage":true},{"functionName":"initEventTarget","ranges":[{"startOffset":13036,"endOffset":13255,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13463,"endOffset":13493,"count":1}],"isBlockCoverage":false},{"functionName":"EventTarget","ranges":[{"startOffset":13498,"endOffset":13544,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13548,"endOffset":14353,"count":13},{"startOffset":13709,"endOffset":13757,"count":0},{"startOffset":13759,"endOffset":14349,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14356,"endOffset":14407,"count":4}],"isBlockCoverage":true},{"functionName":"addEventListener","ranges":[{"startOffset":14796,"endOffset":17514,"count":13},{"startOffset":14891,"endOffset":14933,"count":0},{"startOffset":14970,"endOffset":15017,"count":0},{"startOffset":15409,"endOffset":15862,"count":0},{"startOffset":15926,"endOffset":16310,"count":0},{"startOffset":16381,"endOffset":16873,"count":7},{"startOffset":16873,"endOffset":17028,"count":6},{"startOffset":17028,"endOffset":17063,"count":8},{"startOffset":17065,"endOffset":17128,"count":8},{"startOffset":17128,"endOffset":17161,"count":6},{"startOffset":17161,"endOffset":17203,"count":0},{"startOffset":17203,"endOffset":17513,"count":6}],"isBlockCoverage":true},{"functionName":"signal.addEventListener.__proto__","ranges":[{"startOffset":16141,"endOffset":16215,"count":0}],"isBlockCoverage":false},{"functionName":"removeEventListener","ranges":[{"startOffset":17672,"endOffset":18513,"count":4},{"startOffset":17770,"endOffset":17812,"count":0},{"startOffset":17849,"endOffset":17896,"count":0},{"startOffset":17945,"endOffset":17952,"count":0},{"startOffset":18151,"endOffset":18158,"count":0},{"startOffset":18223,"endOffset":18509,"count":8},{"startOffset":18268,"endOffset":18473,"count":4},{"startOffset":18356,"endOffset":18383,"count":0},{"startOffset":18473,"endOffset":18509,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18517,"endOffset":19138,"count":0}],"isBlockCoverage":false},{"functionName":"dispatchEvent","ranges":[{"startOffset":19180,"endOffset":19641,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19645,"endOffset":21941,"count":4},{"startOffset":19944,"endOffset":20020,"count":0},{"startOffset":20119,"endOffset":20219,"count":0},{"startOffset":20496,"endOffset":21866,"count":6},{"startOffset":20637,"endOffset":20646,"count":0},{"startOffset":20656,"endOffset":20689,"count":0},{"startOffset":20692,"endOffset":21022,"count":0},{"startOffset":21047,"endOffset":21217,"count":0},{"startOffset":21327,"endOffset":21375,"count":0},{"startOffset":21414,"endOffset":21450,"count":0},{"startOffset":21622,"endOffset":21680,"count":0},{"startOffset":21724,"endOffset":21742,"count":0},{"startOffset":21754,"endOffset":21771,"count":0},{"startOffset":21780,"endOffset":21837,"count":0},{"startOffset":21903,"endOffset":21937,"count":0}],"isBlockCoverage":true},{"functionName":"createEvent","ranges":[{"startOffset":19713,"endOffset":19913,"count":0}],"isBlockCoverage":false},{"functionName":"iterationCondition","ranges":[{"startOffset":20296,"endOffset":20461,"count":10},{"startOffset":20337,"endOffset":20368,"count":4},{"startOffset":20368,"endOffset":20427,"count":6},{"startOffset":20428,"endOffset":20454,"count":6},{"startOffset":20436,"endOffset":20445,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21945,"endOffset":22043,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22046,"endOffset":22425,"count":0}],"isBlockCoverage":false},{"functionName":"initNodeEventTarget","ranges":[{"startOffset":22750,"endOffset":22813,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":22899,"endOffset":22930,"count":1}],"isBlockCoverage":false},{"functionName":"NodeEventTarget","ranges":[{"startOffset":22935,"endOffset":22998,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":23037,"endOffset":23191,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":23230,"endOffset":23383,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":23424,"endOffset":23573,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":23638,"endOffset":23847,"count":0}],"isBlockCoverage":false},{"functionName":"off","ranges":[{"startOffset":24037,"endOffset":24230,"count":4},{"startOffset":24108,"endOffset":24154,"count":0}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":24420,"endOffset":24624,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":24755,"endOffset":24960,"count":13},{"startOffset":24816,"endOffset":24862,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":25091,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":25393,"endOffset":25653,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":25784,"endOffset":26029,"count":0}],"isBlockCoverage":false},{"functionName":"removeAllListeners","ranges":[{"startOffset":26105,"endOffset":26360,"count":0}],"isBlockCoverage":false},{"functionName":"validateEventListener","ranges":[{"startOffset":26825,"endOffset":27197,"count":17},{"startOffset":26905,"endOffset":26957,"count":0},{"startOffset":26981,"endOffset":27196,"count":0}],"isBlockCoverage":true},{"functionName":"validateEventListenerOptions","ranges":[{"startOffset":27199,"endOffset":27778,"count":13},{"startOffset":27288,"endOffset":27316,"count":0},{"startOffset":27346,"endOffset":27366,"count":0}],"isBlockCoverage":true},{"functionName":"isEventTarget","ranges":[{"startOffset":28083,"endOffset":28159,"count":17}],"isBlockCoverage":true},{"functionName":"isNodeEventTarget","ranges":[{"startOffset":28161,"endOffset":28245,"count":17}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":28247,"endOffset":28561,"count":0}],"isBlockCoverage":false},{"functionName":"emitUncaughtException","ranges":[{"startOffset":28563,"endOffset":28644,"count":0}],"isBlockCoverage":false},{"functionName":"makeEventHandler","ranges":[{"startOffset":28646,"endOffset":29055,"count":0}],"isBlockCoverage":false},{"functionName":"defineEventHandler","ranges":[{"startOffset":29057,"endOffset":30523,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":29217,"endOffset":29353,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":29452,"endOffset":30290,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterMixin","ranges":[{"startOffset":30551,"endOffset":31241,"count":1},{"startOffset":30982,"endOffset":31144,"count":18}],"isBlockCoverage":true},{"functionName":"MixedEventEmitter","ranges":[{"startOffset":30620,"endOffset":30761,"count":58}],"isBlockCoverage":true}]},{"scriptId":"119","url":"node:util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10913,"count":1}],"isBlockCoverage":false},{"functionName":"lazyAbortController","ranges":[{"startOffset":2369,"endOffset":2489,"count":24}],"isBlockCoverage":true},{"functionName":"isBoolean","ranges":[{"startOffset":2600,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"isNull","ranges":[{"startOffset":2746,"endOffset":2793,"count":0}],"isBlockCoverage":false},{"functionName":"isNullOrUndefined","ranges":[{"startOffset":2891,"endOffset":2970,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":3056,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":3174,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbol","ranges":[{"startOffset":3320,"endOffset":3380,"count":0}],"isBlockCoverage":false},{"functionName":"isUndefined","ranges":[{"startOffset":3469,"endOffset":3526,"count":0}],"isBlockCoverage":false},{"functionName":"isObject","ranges":[{"startOffset":3623,"endOffset":3699,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":3782,"endOffset":3885,"count":0}],"isBlockCoverage":false},{"functionName":"isFunction","ranges":[{"startOffset":3973,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"isPrimitive","ranges":[{"startOffset":4172,"endOffset":4291,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":4343,"endOffset":4418,"count":0}],"isBlockCoverage":false},{"functionName":"timestamp","ranges":[{"startOffset":4584,"endOffset":4865,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":5023,"endOffset":5176,"count":0}],"isBlockCoverage":false},{"functionName":"inherits","ranges":[{"startOffset":5909,"endOffset":6547,"count":0}],"isBlockCoverage":false},{"functionName":"_extend","ranges":[{"startOffset":6700,"endOffset":6988,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7036,"endOffset":7461,"count":0}],"isBlockCoverage":false},{"functionName":"callbackify","ranges":[{"startOffset":7714,"endOffset":9211,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorName","ranges":[{"startOffset":9265,"endOffset":9481,"count":0}],"isBlockCoverage":false},{"functionName":"isDeepStrictEqual","ranges":[{"startOffset":9882,"endOffset":10087,"count":0}],"isBlockCoverage":false},{"functionName":"get transferableAbortSignal","ranges":[{"startOffset":10340,"endOffset":10433,"count":8}],"isBlockCoverage":true},{"functionName":"get transferableAbortController","ranges":[{"startOffset":10437,"endOffset":10538,"count":8}],"isBlockCoverage":true},{"functionName":"get aborted","ranges":[{"startOffset":10542,"endOffset":10603,"count":8}],"isBlockCoverage":true}]},{"scriptId":"120","url":"node:internal/webidl","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4636,"count":1}],"isBlockCoverage":false},{"functionName":"evenRound","ranges":[{"startOffset":825,"endOffset":1150,"count":0}],"isBlockCoverage":false},{"functionName":"pow2","ranges":[{"startOffset":1152,"endOffset":1415,"count":0}],"isBlockCoverage":false},{"functionName":"modulo","ranges":[{"startOffset":1527,"endOffset":1641,"count":0}],"isBlockCoverage":false},{"functionName":"convertToInt","ranges":[{"startOffset":1706,"endOffset":4313,"count":0}],"isBlockCoverage":false},{"functionName":"DOMString","ranges":[{"startOffset":4438,"endOffset":4568,"count":17},{"startOffset":4491,"endOffset":4545,"count":0}],"isBlockCoverage":true}]},{"scriptId":"121","url":"node:internal/perf/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":787,"count":1}],"isBlockCoverage":false},{"functionName":"getTimeOrigin","ranges":[{"startOffset":138,"endOffset":316,"count":0}],"isBlockCoverage":false},{"functionName":"now","ranges":[{"startOffset":390,"endOffset":496,"count":0}],"isBlockCoverage":false},{"functionName":"getMilestoneTimestamp","ranges":[{"startOffset":575,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"122","url":"node:internal/bootstrap/web/exposed-window-or-worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2185,"count":1}],"isBlockCoverage":false}]},{"scriptId":"123","url":"node:internal/bootstrap/switches/is_not_main_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1185,"count":1}],"isBlockCoverage":false},{"functionName":"defineStream","ranges":[{"startOffset":119,"endOffset":288,"count":3}],"isBlockCoverage":true},{"functionName":"lazyWorkerStdio","ranges":[{"startOffset":902,"endOffset":1009,"count":23},{"startOffset":951,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"getStdout","ranges":[{"startOffset":1011,"endOffset":1068,"count":8}],"isBlockCoverage":true},{"functionName":"getStderr","ranges":[{"startOffset":1070,"endOffset":1127,"count":9}],"isBlockCoverage":true},{"functionName":"getStdin","ranges":[{"startOffset":1129,"endOffset":1184,"count":6}],"isBlockCoverage":true}]},{"scriptId":"124","url":"node:internal/process/signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":false},{"functionName":"isSignal","ranges":[{"startOffset":238,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"startListeningIfSignal","ranges":[{"startOffset":398,"endOffset":904,"count":0}],"isBlockCoverage":false},{"functionName":"stopListeningIfSignal","ranges":[{"startOffset":906,"endOffset":1101,"count":0}],"isBlockCoverage":false}]},{"scriptId":"125","url":"node:internal/worker/io","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15479,"count":1}],"isBlockCoverage":false},{"functionName":"MessagePort.hasRef","ranges":[{"startOffset":3683,"endOffset":3766,"count":0}],"isBlockCoverage":false},{"functionName":"validateMessagePort","ranges":[{"startOffset":3769,"endOffset":3907,"count":0}],"isBlockCoverage":false},{"functionName":"isMessageEvent","ranges":[{"startOffset":3909,"endOffset":3985,"count":0}],"isBlockCoverage":false},{"functionName":"MessageEvent","ranges":[{"startOffset":4024,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4628,"endOffset":4752,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4862,"endOffset":4988,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5103,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5344,"endOffset":5470,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5579,"endOffset":5704,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5946,"endOffset":6264,"count":0}],"isBlockCoverage":false},{"functionName":"oninit","ranges":[{"startOffset":6403,"endOffset":6546,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortCloseEvent","ranges":[{"startOffset":6848,"endOffset":6887,"count":0}],"isBlockCoverage":false},{"functionName":"onclose","ranges":[{"startOffset":6960,"endOffset":7033,"count":0}],"isBlockCoverage":false},{"functionName":"MessagePort.close","ranges":[{"startOffset":7214,"endOffset":7349,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":7482,"endOffset":8110,"count":0}],"isBlockCoverage":false},{"functionName":"setupPortReferencing","ranges":[{"startOffset":8117,"endOffset":9480,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8478,"endOffset":8573,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8612,"endOffset":8710,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8812,"endOffset":8957,"count":9},{"startOffset":8872,"endOffset":8894,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9068,"endOffset":9215,"count":4},{"startOffset":9128,"endOffset":9149,"count":3}],"isBlockCoverage":true},{"functionName":"newListener","ranges":[{"startOffset":9221,"endOffset":9362,"count":6},{"startOffset":9270,"endOffset":9358,"count":2}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":9366,"endOffset":9478,"count":3},{"startOffset":9418,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"ReadableWorkerStdio","ranges":[{"startOffset":9530,"endOffset":9879,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9708,"endOffset":9873,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":9883,"endOffset":10189,"count":0}],"isBlockCoverage":false},{"functionName":"WritableWorkerStdio","ranges":[{"startOffset":10240,"endOffset":10389,"count":2}],"isBlockCoverage":true},{"functionName":"_writev","ranges":[{"startOffset":10393,"endOffset":10769,"count":0}],"isBlockCoverage":false},{"functionName":"_final","ranges":[{"startOffset":10773,"endOffset":10953,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10957,"endOffset":11204,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11099,"endOffset":11111,"count":0}],"isBlockCoverage":false},{"functionName":"createWorkerStdio","ranges":[{"startOffset":11208,"endOffset":11478,"count":1}],"isBlockCoverage":true},{"functionName":"receiveMessageOnPort","ranges":[{"startOffset":11480,"endOffset":11660,"count":0}],"isBlockCoverage":false},{"functionName":"onMessageEvent","ranges":[{"startOffset":11662,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"isBroadcastChannel","ranges":[{"startOffset":11759,"endOffset":11845,"count":0}],"isBlockCoverage":false},{"functionName":"BroadcastChannel","ranges":[{"startOffset":11932,"endOffset":12446,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12450,"endOffset":12863,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":12899,"endOffset":13028,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13065,"endOffset":13463,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":13531,"endOffset":13941,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":14224,"endOffset":14391,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":14676,"endOffset":14847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"126","url":"node:stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4784,"count":1}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2402,"endOffset":2558,"count":0}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2983,"endOffset":3117,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4105,"endOffset":4137,"count":18}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4235,"endOffset":4276,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4369,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"_uint8ArrayToBuffer","ranges":[{"startOffset":4575,"endOffset":4782,"count":0}],"isBlockCoverage":false}]},{"scriptId":"127","url":"node:internal/streams/operators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10772,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":1019,"endOffset":1599,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":1601,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"asIndexedPairs","ranges":[{"startOffset":4706,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"some","ranges":[{"startOffset":5181,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"every","ranges":[{"startOffset":5331,"endOffset":5659,"count":0}],"isBlockCoverage":false},{"functionName":"find","ranges":[{"startOffset":5661,"endOffset":5803,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":5805,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":6177,"endOffset":6504,"count":0}],"isBlockCoverage":false},{"functionName":"ReduceAwareErrMissingArgs","ranges":[{"startOffset":6720,"endOffset":6834,"count":0}],"isBlockCoverage":false},{"functionName":"reduce","ranges":[{"startOffset":6838,"endOffset":8280,"count":0}],"isBlockCoverage":false},{"functionName":"toArray","ranges":[{"startOffset":8282,"endOffset":8711,"count":0}],"isBlockCoverage":false},{"functionName":"flatMap","ranges":[{"startOffset":8713,"endOffset":8907,"count":0}],"isBlockCoverage":false},{"functionName":"toIntegerOrInfinity","ranges":[{"startOffset":8909,"endOffset":9231,"count":0}],"isBlockCoverage":false},{"functionName":"drop","ranges":[{"startOffset":9233,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"take","ranges":[{"startOffset":9783,"endOffset":10453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"128","url":"node:internal/abort_controller","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12413,"count":1}],"isBlockCoverage":false},{"functionName":"lazyMessageChannel","ranges":[{"startOffset":1574,"endOffset":1707,"count":0}],"isBlockCoverage":false},{"functionName":"lazyMakeTransferable","ranges":[{"startOffset":1709,"endOffset":1867,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":2337,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"validateThisAbortSignal","ranges":[{"startOffset":2598,"endOffset":2723,"count":0}],"isBlockCoverage":false},{"functionName":"setWeakAbortSignalTimeout","ranges":[{"startOffset":3305,"endOffset":3705,"count":0}],"isBlockCoverage":false},{"functionName":"AbortSignal","ranges":[{"startOffset":3749,"endOffset":3809,"count":0}],"isBlockCoverage":false},{"functionName":"get aborted","ranges":[{"startOffset":3846,"endOffset":3929,"count":0}],"isBlockCoverage":false},{"functionName":"get reason","ranges":[{"startOffset":3962,"endOffset":4041,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfAborted","ranges":[{"startOffset":4045,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4165,"endOffset":4294,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":4372,"endOffset":4516,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":4594,"endOffset":4856,"count":0}],"isBlockCoverage":false},{"functionName":"any","ranges":[{"startOffset":4943,"endOffset":6278,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6282,"endOffset":7050,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7408,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7412,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8023,"endOffset":8275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8279,"endOffset":8727,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal","ranges":[{"startOffset":8731,"endOffset":8815,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal.","ranges":[{"startOffset":8860,"endOffset":8868,"count":0}],"isBlockCoverage":false},{"functionName":"createAbortSignal","ranges":[{"startOffset":9346,"endOffset":9759,"count":0}],"isBlockCoverage":false},{"functionName":"abortSignal","ranges":[{"startOffset":9761,"endOffset":10123,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10125,"endOffset":10781,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortSignal","ranges":[{"startOffset":10929,"endOffset":11121,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortController","ranges":[{"startOffset":11193,"endOffset":11282,"count":0}],"isBlockCoverage":false},{"functionName":"aborted","ranges":[{"startOffset":11376,"endOffset":11964,"count":0}],"isBlockCoverage":false}]},{"scriptId":"129","url":"node:internal/streams/end-of-stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8360,"count":1}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":891,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":1000,"endOffset":1008,"count":0}],"isBlockCoverage":false},{"functionName":"eos","ranges":[{"startOffset":1011,"endOffset":6953,"count":0}],"isBlockCoverage":false},{"functionName":"eosWeb","ranges":[{"startOffset":6955,"endOffset":7840,"count":0}],"isBlockCoverage":false},{"functionName":"finished","ranges":[{"startOffset":7842,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"130","url":"node:internal/streams/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8416,"count":1}],"isBlockCoverage":false},{"functionName":"isReadableNodeStream","ranges":[{"startOffset":774,"endOffset":1191,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableNodeStream","ranges":[{"startOffset":1193,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexNodeStream","ranges":[{"startOffset":1415,"endOffset":1614,"count":0}],"isBlockCoverage":false},{"functionName":"isNodeStream","ranges":[{"startOffset":1616,"endOffset":1887,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":1889,"endOffset":2103,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":2105,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":2275,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"isWebStream","ranges":[{"startOffset":2444,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"isIterable","ranges":[{"startOffset":2558,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"isDestroyed","ranges":[{"startOffset":2890,"endOffset":3153,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableEnded","ranges":[{"startOffset":3177,"endOffset":3468,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableFinished","ranges":[{"startOffset":3496,"endOffset":3893,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableEnded","ranges":[{"startOffset":3922,"endOffset":4223,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableFinished","ranges":[{"startOffset":4248,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":4598,"endOffset":4898,"count":0}],"isBlockCoverage":false},{"functionName":"isWritable","ranges":[{"startOffset":4900,"endOffset":5197,"count":0}],"isBlockCoverage":false},{"functionName":"isFinished","ranges":[{"startOffset":5199,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableErrored","ranges":[{"startOffset":5515,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableErrored","ranges":[{"startOffset":5729,"endOffset":5941,"count":0}],"isBlockCoverage":false},{"functionName":"isClosed","ranges":[{"startOffset":5943,"endOffset":6448,"count":0}],"isBlockCoverage":false},{"functionName":"isOutgoingMessage","ranges":[{"startOffset":6450,"endOffset":6702,"count":0}],"isBlockCoverage":false},{"functionName":"isServerResponse","ranges":[{"startOffset":6704,"endOffset":6831,"count":0}],"isBlockCoverage":false},{"functionName":"isServerRequest","ranges":[{"startOffset":6833,"endOffset":7021,"count":0}],"isBlockCoverage":false},{"functionName":"willEmitClose","ranges":[{"startOffset":7023,"endOffset":7361,"count":0}],"isBlockCoverage":false},{"functionName":"isDisturbed","ranges":[{"startOffset":7363,"endOffset":7508,"count":0}],"isBlockCoverage":false},{"functionName":"isErrored","ranges":[{"startOffset":7510,"endOffset":7815,"count":0}],"isBlockCoverage":false}]},{"scriptId":"131","url":"node:internal/streams/compose","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5451,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":543,"endOffset":5449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"132","url":"node:internal/streams/pipeline","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12326,"count":1}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":1058,"endOffset":1487,"count":0}],"isBlockCoverage":false},{"functionName":"popCallback","ranges":[{"startOffset":1489,"endOffset":1817,"count":0}],"isBlockCoverage":false},{"functionName":"makeAsyncIterable","ranges":[{"startOffset":1819,"endOffset":2105,"count":0}],"isBlockCoverage":false},{"functionName":"fromReadable","ranges":[{"startOffset":2107,"endOffset":2281,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToNode","ranges":[{"startOffset":2283,"endOffset":3327,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToWeb","ranges":[{"startOffset":3329,"endOffset":3927,"count":0}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":3929,"endOffset":4022,"count":0}],"isBlockCoverage":false},{"functionName":"pipelineImpl","ranges":[{"startOffset":4024,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"pipe","ranges":[{"startOffset":10478,"endOffset":12279,"count":0}],"isBlockCoverage":false}]},{"scriptId":"133","url":"node:internal/streams/destroy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6826,"count":1}],"isBlockCoverage":false},{"functionName":"checkError","ranges":[{"startOffset":360,"endOffset":671,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":781,"endOffset":1568,"count":0}],"isBlockCoverage":false},{"functionName":"_destroy","ranges":[{"startOffset":1570,"endOffset":2184,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseNT","ranges":[{"startOffset":2186,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":2275,"endOffset":2523,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":2525,"endOffset":2800,"count":0}],"isBlockCoverage":false},{"functionName":"undestroy","ranges":[{"startOffset":2802,"endOffset":3492,"count":0}],"isBlockCoverage":false},{"functionName":"errorOrDestroy","ranges":[{"startOffset":3494,"endOffset":4413,"count":0}],"isBlockCoverage":false},{"functionName":"construct","ranges":[{"startOffset":4415,"endOffset":4821,"count":4},{"startOffset":4512,"endOffset":4820,"count":0}],"isBlockCoverage":true},{"functionName":"constructNT","ranges":[{"startOffset":4823,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"emitConstructNT","ranges":[{"startOffset":5572,"endOffset":5635,"count":0}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":5637,"endOffset":5733,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseLegacy","ranges":[{"startOffset":5735,"endOffset":5795,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseLegacy","ranges":[{"startOffset":5797,"endOffset":5917,"count":0}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":5952,"endOffset":6734,"count":0}],"isBlockCoverage":false}]},{"scriptId":"134","url":"node:internal/streams/duplex","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4938,"count":1}],"isBlockCoverage":false},{"functionName":"Duplex","ranges":[{"startOffset":1996,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3811,"endOffset":4023,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4029,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":4364,"endOffset":4528,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.fromWeb","ranges":[{"startOffset":4547,"endOffset":4665,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.toWeb","ranges":[{"startOffset":4683,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.from","ranges":[{"startOffset":4805,"endOffset":4936,"count":0}],"isBlockCoverage":false}]},{"scriptId":"135","url":"node:internal/streams/readable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43849,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1799,"endOffset":1824,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2617,"endOffset":2625,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3306,"endOffset":3522,"count":19}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3381,"endOffset":3423,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":3429,"endOffset":3514,"count":0}],"isBlockCoverage":false},{"functionName":"ReadableState","ranges":[{"startOffset":5398,"endOffset":8222,"count":2},{"startOffset":5797,"endOffset":5840,"count":0},{"startOffset":6159,"endOffset":6180,"count":0},{"startOffset":6182,"endOffset":6208,"count":0},{"startOffset":6225,"endOffset":6235,"count":0},{"startOffset":6236,"endOffset":6265,"count":0},{"startOffset":6271,"endOffset":6297,"count":0},{"startOffset":6472,"endOffset":6544,"count":0},{"startOffset":6946,"endOffset":6976,"count":0},{"startOffset":6978,"endOffset":7004,"count":0},{"startOffset":7093,"endOffset":7125,"count":0},{"startOffset":7127,"endOffset":7155,"count":0},{"startOffset":7652,"endOffset":7669,"count":0},{"startOffset":7742,"endOffset":7901,"count":0},{"startOffset":8100,"endOffset":8119,"count":0},{"startOffset":8121,"endOffset":8220,"count":0}],"isBlockCoverage":true},{"functionName":"Readable","ranges":[{"startOffset":8225,"endOffset":9113,"count":2},{"startOffset":8293,"endOffset":8322,"count":0},{"startOffset":8593,"endOffset":8937,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9000,"endOffset":9109,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._destroy","ranges":[{"startOffset":9250,"endOffset":9282,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9333,"endOffset":9371,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9415,"endOffset":9671,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.push","ranges":[{"startOffset":9900,"endOffset":9986,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unshift","ranges":[{"startOffset":10082,"endOffset":10167,"count":0}],"isBlockCoverage":false},{"functionName":"readableAddChunk","ranges":[{"startOffset":10170,"endOffset":12572,"count":0}],"isBlockCoverage":false},{"functionName":"addChunk","ranges":[{"startOffset":12574,"endOffset":13339,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.isPaused","ranges":[{"startOffset":13371,"endOffset":13483,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.setEncoding","ranges":[{"startOffset":13547,"endOffset":14108,"count":0}],"isBlockCoverage":false},{"functionName":"computeNewHighWaterMark","ranges":[{"startOffset":14169,"endOffset":14520,"count":0}],"isBlockCoverage":false},{"functionName":"howMuchToRead","ranges":[{"startOffset":14633,"endOffset":15044,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.read","ranges":[{"startOffset":15141,"endOffset":19643,"count":0}],"isBlockCoverage":false},{"functionName":"onEofChunk","ranges":[{"startOffset":19646,"endOffset":20466,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable","ranges":[{"startOffset":20667,"endOffset":20994,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable_","ranges":[{"startOffset":20996,"endOffset":21650,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore","ranges":[{"startOffset":22000,"endOffset":22177,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore_","ranges":[{"startOffset":22179,"endOffset":23971,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._read","ranges":[{"startOffset":24242,"endOffset":24308,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pipe","ranges":[{"startOffset":24337,"endOffset":28782,"count":0}],"isBlockCoverage":false},{"functionName":"pipeOnDrain","ranges":[{"startOffset":28785,"endOffset":29430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unpipe","ranges":[{"startOffset":29461,"endOffset":30162,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.on","ranges":[{"startOffset":30288,"endOffset":31195,"count":1},{"startOffset":30420,"endOffset":30752,"count":0},{"startOffset":30781,"endOffset":31178,"count":0}],"isBlockCoverage":true},{"functionName":"Readable.removeListener","ranges":[{"startOffset":31290,"endOffset":31855,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.removeAllListeners","ranges":[{"startOffset":31958,"endOffset":32552,"count":0}],"isBlockCoverage":false},{"functionName":"updateReadableListening","ranges":[{"startOffset":32555,"endOffset":33065,"count":0}],"isBlockCoverage":false},{"functionName":"nReadingNextTick","ranges":[{"startOffset":33067,"endOffset":33155,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.resume","ranges":[{"startOffset":33309,"endOffset":33634,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":33637,"endOffset":33787,"count":0}],"isBlockCoverage":false},{"functionName":"resume_","ranges":[{"startOffset":33789,"endOffset":34040,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pause","ranges":[{"startOffset":34069,"endOffset":34336,"count":0}],"isBlockCoverage":false},{"functionName":"flow","ranges":[{"startOffset":34339,"endOffset":34486,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":34670,"endOffset":35691,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":35736,"endOffset":35788,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.iterator","ranges":[{"startOffset":35821,"endOffset":35964,"count":0}],"isBlockCoverage":false},{"functionName":"streamToAsyncIterator","ranges":[{"startOffset":35967,"endOffset":36216,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncIterator","ranges":[{"startOffset":36218,"endOffset":37294,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":37513,"endOffset":37902,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":37908,"endOffset":38038,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38120,"endOffset":38184,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38266,"endOffset":38474,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38562,"endOffset":38628,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38709,"endOffset":38791,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38873,"endOffset":38933,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":38944,"endOffset":39053,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39129,"endOffset":39183,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39263,"endOffset":39351,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39429,"endOffset":39514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39583,"endOffset":39667,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39712,"endOffset":39796,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39867,"endOffset":39954,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":39960,"endOffset":40249,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40324,"endOffset":40412,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40553,"endOffset":40598,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40678,"endOffset":40729,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":40735,"endOffset":40784,"count":0}],"isBlockCoverage":false},{"functionName":"fromList","ranges":[{"startOffset":41090,"endOffset":41652,"count":0}],"isBlockCoverage":false},{"functionName":"endReadable","ranges":[{"startOffset":41654,"endOffset":41875,"count":0}],"isBlockCoverage":false},{"functionName":"endReadableNT","ranges":[{"startOffset":41877,"endOffset":42797,"count":0}],"isBlockCoverage":false},{"functionName":"endWritableNT","ranges":[{"startOffset":42799,"endOffset":42959,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.from","ranges":[{"startOffset":42977,"endOffset":43046,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":43111,"endOffset":43275,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.fromWeb","ranges":[{"startOffset":43296,"endOffset":43430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.toWeb","ranges":[{"startOffset":43450,"endOffset":43584,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":43603,"endOffset":43847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"136","url":"node:internal/streams/legacy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2934,"count":1}],"isBlockCoverage":false},{"functionName":"Stream","ranges":[{"startOffset":112,"endOffset":160,"count":4}],"isBlockCoverage":true},{"functionName":"Stream.pipe","ranges":[{"startOffset":274,"endOffset":2076,"count":0}],"isBlockCoverage":false},{"functionName":"prependListener","ranges":[{"startOffset":2079,"endOffset":2886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"137","url":"node:internal/streams/add-abort-signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1704,"count":1}],"isBlockCoverage":false},{"functionName":"validateAbortSignal","ranges":[{"startOffset":557,"endOffset":716,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortSignal","ranges":[{"startOffset":751,"endOffset":1062,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.addAbortSignalNoValidate","ranges":[{"startOffset":1107,"endOffset":1702,"count":0}],"isBlockCoverage":false}]},{"scriptId":"138","url":"node:internal/streams/buffer_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4060,"count":1}],"isBlockCoverage":false},{"functionName":"BufferList","ranges":[{"startOffset":254,"endOffset":338,"count":2}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":342,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":533,"endOffset":691,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":695,"endOffset":922,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":926,"endOffset":994,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":998,"endOffset":1180,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":1184,"endOffset":1467,"count":0}],"isBlockCoverage":false},{"functionName":"consume","ranges":[{"startOffset":1551,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":2009,"endOffset":2049,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":2053,"endOffset":2149,"count":0}],"isBlockCoverage":false},{"functionName":"_getString","ranges":[{"startOffset":2224,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"_getBuffer","ranges":[{"startOffset":2932,"endOffset":3779,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":3860,"endOffset":4056,"count":0}],"isBlockCoverage":false}]},{"scriptId":"139","url":"node:internal/streams/state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1332,"count":1}],"isBlockCoverage":false},{"functionName":"highWaterMarkFrom","ranges":[{"startOffset":287,"endOffset":454,"count":2},{"startOffset":385,"endOffset":408,"count":0},{"startOffset":424,"endOffset":444,"count":0}],"isBlockCoverage":true},{"functionName":"getDefaultHighWaterMark","ranges":[{"startOffset":456,"endOffset":586,"count":4},{"startOffset":523,"endOffset":555,"count":0}],"isBlockCoverage":true},{"functionName":"setDefaultHighWaterMark","ranges":[{"startOffset":588,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"getHighWaterMark","ranges":[{"startOffset":801,"endOffset":1234,"count":2},{"startOffset":948,"endOffset":1160,"count":0}],"isBlockCoverage":true}]},{"scriptId":"140","url":"node:string_decoder","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5213,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeEncoding","ranges":[{"startOffset":2129,"endOffset":2391,"count":0}],"isBlockCoverage":false},{"functionName":"StringDecoder","ranges":[{"startOffset":2705,"endOffset":2904,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3227,"endOffset":3612,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":3889,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":4291,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4586,"endOffset":4799,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4891,"endOffset":4954,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5047,"endOffset":5162,"count":0}],"isBlockCoverage":false}]},{"scriptId":"141","url":"node:internal/streams/from","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2614,"count":1}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":241,"endOffset":2589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"142","url":"node:internal/streams/writable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29040,"count":1}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2389,"endOffset":2406,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3093,"endOffset":3309,"count":20}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3168,"endOffset":3210,"count":2}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3216,"endOffset":3301,"count":0}],"isBlockCoverage":false},{"functionName":"WritableState","ranges":[{"startOffset":5971,"endOffset":9003,"count":2},{"startOffset":6366,"endOffset":6409,"count":0},{"startOffset":6630,"endOffset":6656,"count":0},{"startOffset":6672,"endOffset":6682,"count":0},{"startOffset":6683,"endOffset":6712,"count":0},{"startOffset":6714,"endOffset":6740,"count":0},{"startOffset":7031,"endOffset":7067,"count":0},{"startOffset":7121,"endOffset":7150,"count":0},{"startOffset":7257,"endOffset":7283,"count":0},{"startOffset":7406,"endOffset":7434,"count":0},{"startOffset":7754,"endOffset":7913,"count":0}],"isBlockCoverage":true},{"functionName":"resetBuffer","ranges":[{"startOffset":9005,"endOffset":9127,"count":2}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":9165,"endOffset":9254,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9350,"endOffset":9415,"count":0}],"isBlockCoverage":false},{"functionName":"Writable","ranges":[{"startOffset":9422,"endOffset":10950,"count":2},{"startOffset":10123,"endOffset":10152,"count":0},{"startOffset":10291,"endOffset":10319,"count":0},{"startOffset":10373,"endOffset":10403,"count":0},{"startOffset":10458,"endOffset":10490,"count":0},{"startOffset":10543,"endOffset":10571,"count":0},{"startOffset":10628,"endOffset":10664,"count":0},{"startOffset":10696,"endOffset":10733,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10800,"endOffset":10946,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":11032,"endOffset":11236,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.pipe","ranges":[{"startOffset":11337,"endOffset":11405,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":11408,"endOffset":12809,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.write","ranges":[{"startOffset":12838,"endOffset":12924,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.cork","ranges":[{"startOffset":12953,"endOffset":12999,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.uncork","ranges":[{"startOffset":13030,"endOffset":13201,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultEncoding","ranges":[{"startOffset":13244,"endOffset":13569,"count":0}],"isBlockCoverage":false},{"functionName":"writeOrBuffer","ranges":[{"startOffset":13759,"endOffset":14872,"count":0}],"isBlockCoverage":false},{"functionName":"doWrite","ranges":[{"startOffset":14874,"endOffset":15262,"count":0}],"isBlockCoverage":false},{"functionName":"onwriteError","ranges":[{"startOffset":15264,"endOffset":15649,"count":0}],"isBlockCoverage":false},{"functionName":"onwrite","ranges":[{"startOffset":15651,"endOffset":17310,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteTick","ranges":[{"startOffset":17312,"endOffset":17451,"count":0}],"isBlockCoverage":false},{"functionName":"afterWrite","ranges":[{"startOffset":17453,"endOffset":17869,"count":0}],"isBlockCoverage":false},{"functionName":"errorBuffer","ranges":[{"startOffset":17941,"endOffset":18532,"count":0}],"isBlockCoverage":false},{"functionName":"clearBuffer","ranges":[{"startOffset":18598,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._write","ranges":[{"startOffset":20262,"endOffset":20431,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.end","ranges":[{"startOffset":20495,"endOffset":21953,"count":0}],"isBlockCoverage":false},{"functionName":"needFinish","ranges":[{"startOffset":21956,"endOffset":22419,"count":0}],"isBlockCoverage":false},{"functionName":"callFinal","ranges":[{"startOffset":22421,"endOffset":23393,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":23395,"endOffset":23733,"count":0}],"isBlockCoverage":false},{"functionName":"finishMaybe","ranges":[{"startOffset":23735,"endOffset":24234,"count":0}],"isBlockCoverage":false},{"functionName":"finish","ranges":[{"startOffset":24236,"endOffset":24986,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25071,"endOffset":25172,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25220,"endOffset":25324,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":25330,"endOffset":25576,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25623,"endOffset":26027,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":26033,"endOffset":26167,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26222,"endOffset":26325,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26382,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26540,"endOffset":26622,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26674,"endOffset":26775,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26831,"endOffset":27046,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27106,"endOffset":27190,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27243,"endOffset":27323,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27376,"endOffset":27453,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27522,"endOffset":27606,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27688,"endOffset":27927,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.destroy","ranges":[{"startOffset":28005,"endOffset":28318,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._destroy","ranges":[{"startOffset":28406,"endOffset":28438,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.","ranges":[{"startOffset":28489,"endOffset":28527,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":28592,"endOffset":28756,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.fromWeb","ranges":[{"startOffset":28777,"endOffset":28911,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.toWeb","ranges":[{"startOffset":28931,"endOffset":29038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"143","url":"node:stream/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":917,"count":1}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":318,"endOffset":869,"count":0}],"isBlockCoverage":false}]},{"scriptId":"144","url":"node:internal/streams/transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7176,"count":1}],"isBlockCoverage":false},{"functionName":"Transform","ranges":[{"startOffset":3920,"endOffset":5747,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5749,"endOffset":6193,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":6195,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._transform","ranges":[{"startOffset":6348,"endOffset":6443,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._write","ranges":[{"startOffset":6475,"endOffset":7018,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._read","ranges":[{"startOffset":7049,"endOffset":7174,"count":0}],"isBlockCoverage":false}]},{"scriptId":"145","url":"node:internal/streams/passthrough","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1762,"count":1}],"isBlockCoverage":false},{"functionName":"PassThrough","ranges":[{"startOffset":1529,"endOffset":1671,"count":0}],"isBlockCoverage":false},{"functionName":"PassThrough._transform","ranges":[{"startOffset":1708,"endOffset":1760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"146","url":"node:internal/bootstrap/switches/does_not_own_process_state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1278,"count":1}],"isBlockCoverage":false},{"functionName":"wrappedUmask","ranges":[{"startOffset":1047,"endOffset":1277,"count":0}],"isBlockCoverage":false}]},{"scriptId":"147","url":"node:internal/process/worker_thread_only","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":426,"count":1}],"isBlockCoverage":false},{"functionName":"unavailable","ranges":[{"startOffset":194,"endOffset":387,"count":8}],"isBlockCoverage":true},{"functionName":"unavailableInWorker","ranges":[{"startOffset":225,"endOffset":315,"count":0}],"isBlockCoverage":false}]},{"scriptId":"148","url":"node:internal/main/worker_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7311,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1096,"endOffset":1121,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2200,"endOffset":5806,"count":3},{"startOffset":2251,"endOffset":5390,"count":1},{"startOffset":2537,"endOffset":2599,"count":0},{"startOffset":3460,"endOffset":3541,"count":0},{"startOffset":3597,"endOffset":3671,"count":0},{"startOffset":3737,"endOffset":3762,"count":0},{"startOffset":3961,"endOffset":4206,"count":0},{"startOffset":4214,"endOffset":4743,"count":0},{"startOffset":4751,"endOffset":4995,"count":0},{"startOffset":5390,"endOffset":5804,"count":2},{"startOffset":5432,"endOffset":5591,"count":0}],"isBlockCoverage":true},{"functionName":"process.cwd","ranges":[{"startOffset":3133,"endOffset":3384,"count":3},{"startOffset":3260,"endOffset":3277,"count":2},{"startOffset":3277,"endOffset":3383,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4900,"endOffset":4970,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5508,"endOffset":5585,"count":0}],"isBlockCoverage":false},{"functionName":"workerOnGlobalUncaughtException","ranges":[{"startOffset":5810,"endOffset":7002,"count":0}],"isBlockCoverage":false}]},{"scriptId":"149","url":"node:internal/process/pre_execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":22973,"count":1}],"isBlockCoverage":false},{"functionName":"prepareMainThreadExecution","ranges":[{"startOffset":1091,"endOffset":1268,"count":0}],"isBlockCoverage":false},{"functionName":"prepareWorkerThreadExecution","ranges":[{"startOffset":1270,"endOffset":1469,"count":1}],"isBlockCoverage":true},{"functionName":"prepareExecution","ranges":[{"startOffset":1471,"endOffset":3628,"count":1},{"startOffset":2237,"endOffset":3408,"count":0},{"startOffset":3597,"endOffset":3626,"count":0}],"isBlockCoverage":true},{"functionName":"setupSymbolDisposePolyfill","ranges":[{"startOffset":3630,"endOffset":4365,"count":1}],"isBlockCoverage":true},{"functionName":"setupUserModules","ranges":[{"startOffset":4367,"endOffset":4795,"count":1},{"startOffset":4676,"endOffset":4693,"count":0}],"isBlockCoverage":true},{"functionName":"refreshRuntimeOptions","ranges":[{"startOffset":4797,"endOffset":4853,"count":1}],"isBlockCoverage":true},{"functionName":"patchProcessObject","ranges":[{"startOffset":4855,"endOffset":6952,"count":1},{"startOffset":5388,"endOffset":5406,"count":0},{"startOffset":5407,"endOffset":5464,"count":0},{"startOffset":5466,"endOffset":5677,"count":0}],"isBlockCoverage":true},{"functionName":"addReadOnlyProcessAlias","ranges":[{"startOffset":6954,"endOffset":7235,"count":13},{"startOffset":7075,"endOffset":7233,"count":1}],"isBlockCoverage":true},{"functionName":"setupWarningHandler","ranges":[{"startOffset":7237,"endOffset":7757,"count":1},{"startOffset":7612,"endOffset":7751,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7641,"endOffset":7743,"count":0}],"isBlockCoverage":false},{"functionName":"setupFetch","ranges":[{"startOffset":7793,"endOffset":8933,"count":1},{"startOffset":7913,"endOffset":7930,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUndici","ranges":[{"startOffset":7948,"endOffset":8093,"count":0}],"isBlockCoverage":false},{"functionName":"fetch","ranges":[{"startOffset":8097,"endOffset":8192,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInterface","ranges":[{"startOffset":8244,"endOffset":8485,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8345,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8403,"endOffset":8473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8818,"endOffset":8929,"count":0}],"isBlockCoverage":false},{"functionName":"setupWebCrypto","ranges":[{"startOffset":9037,"endOffset":9989,"count":1},{"startOffset":9172,"endOffset":9189,"count":0},{"startOffset":9678,"endOffset":9987,"count":0}],"isBlockCoverage":true},{"functionName":"cryptoThisCheck","ranges":[{"startOffset":9363,"endOffset":9539,"count":0}],"isBlockCoverage":false},{"functionName":"get crypto","ranges":[{"startOffset":9840,"endOffset":9939,"count":0}],"isBlockCoverage":false},{"functionName":"setupCodeCoverage","ranges":[{"startOffset":9991,"endOffset":10512,"count":1}],"isBlockCoverage":true},{"functionName":"setupCustomEvent","ranges":[{"startOffset":10618,"endOffset":10895,"count":1},{"startOffset":10757,"endOffset":10774,"count":0}],"isBlockCoverage":true},{"functionName":"setupStacktracePrinterOnSigint","ranges":[{"startOffset":10897,"endOffset":11122,"count":0}],"isBlockCoverage":false},{"functionName":"initializeReport","ranges":[{"startOffset":11124,"endOffset":11373,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":11269,"endOffset":11364,"count":6}],"isBlockCoverage":true},{"functionName":"setupDebugEnv","ranges":[{"startOffset":11375,"endOffset":11606,"count":1},{"startOffset":11526,"endOffset":11604,"count":0}],"isBlockCoverage":true},{"functionName":"initializeReportSignalHandlers","ranges":[{"startOffset":11668,"endOffset":11856,"count":0}],"isBlockCoverage":false},{"functionName":"initializeHeapSnapshotSignalHandlers","ranges":[{"startOffset":11858,"endOffset":12592,"count":0}],"isBlockCoverage":false},{"functionName":"setupTraceCategoryState","ranges":[{"startOffset":12594,"endOffset":12853,"count":1}],"isBlockCoverage":true},{"functionName":"setupInspectorHooks","ranges":[{"startOffset":12855,"endOffset":13437,"count":1}],"isBlockCoverage":true},{"functionName":"initializeDeprecations","ranges":[{"startOffset":13632,"endOffset":15584,"count":1},{"startOffset":14344,"endOffset":14646,"count":16},{"startOffset":14389,"endOffset":14621,"count":0},{"startOffset":14963,"endOffset":15160,"count":0},{"startOffset":15188,"endOffset":15582,"count":0}],"isBlockCoverage":true},{"functionName":"setupChildProcessIpcChannel","ranges":[{"startOffset":15586,"endOffset":16151,"count":0}],"isBlockCoverage":false},{"functionName":"initializeClusterIPC","ranges":[{"startOffset":16153,"endOffset":16423,"count":0}],"isBlockCoverage":false},{"functionName":"initializePermission","ranges":[{"startOffset":16425,"endOffset":18308,"count":1},{"startOffset":16567,"endOffset":17928,"count":0}],"isBlockCoverage":true},{"functionName":"binding","ranges":[{"startOffset":16591,"endOffset":16678,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18140,"endOffset":18300,"count":4},{"startOffset":18218,"endOffset":18294,"count":0}],"isBlockCoverage":true},{"functionName":"readPolicyFromDisk","ranges":[{"startOffset":18310,"endOffset":20129,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCJSLoader","ranges":[{"startOffset":20131,"endOffset":20252,"count":1}],"isBlockCoverage":true},{"functionName":"initializeESMLoader","ranges":[{"startOffset":20254,"endOffset":20829,"count":1},{"startOffset":20582,"endOffset":20827,"count":0}],"isBlockCoverage":true},{"functionName":"initializeSourceMapsHandlers","ranges":[{"startOffset":20831,"endOffset":21029,"count":1}],"isBlockCoverage":true},{"functionName":"initializeFrozenIntrinsics","ranges":[{"startOffset":21031,"endOffset":21288,"count":1},{"startOffset":21116,"endOffset":21286,"count":0}],"isBlockCoverage":true},{"functionName":"loadPreloadModules","ranges":[{"startOffset":21290,"endOffset":21638,"count":1},{"startOffset":21484,"endOffset":21636,"count":0}],"isBlockCoverage":true},{"functionName":"markBootstrapComplete","ranges":[{"startOffset":21640,"endOffset":21734,"count":1}],"isBlockCoverage":true},{"functionName":"getHeapSnapshotFilename","ranges":[{"startOffset":21889,"endOffset":22790,"count":0}],"isBlockCoverage":false}]},{"scriptId":"150","url":"node:internal/v8/startup_snapshot","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3382,"count":1}],"isBlockCoverage":false},{"functionName":"isBuildingSnapshot","ranges":[{"startOffset":433,"endOffset":504,"count":4}],"isBlockCoverage":true},{"functionName":"throwIfNotBuildingSnapshot","ranges":[{"startOffset":506,"endOffset":625,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfBuildingSnapshot","ranges":[{"startOffset":627,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"runDeserializeCallbacks","ranges":[{"startOffset":831,"endOffset":1004,"count":0}],"isBlockCoverage":false},{"functionName":"addDeserializeCallback","ranges":[{"startOffset":1006,"endOffset":1541,"count":0}],"isBlockCoverage":false},{"functionName":"runSerializeCallbacks","ranges":[{"startOffset":1574,"endOffset":1741,"count":0}],"isBlockCoverage":false},{"functionName":"addSerializeCallback","ranges":[{"startOffset":1743,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCallbacks","ranges":[{"startOffset":1913,"endOffset":2122,"count":0}],"isBlockCoverage":false},{"functionName":"setDeserializeMainFunction","ranges":[{"startOffset":2158,"endOffset":3105,"count":0}],"isBlockCoverage":false}]},{"scriptId":"151","url":"node:internal/inspector_async_hook","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1973,"count":1}],"isBlockCoverage":false},{"functionName":"lazyHookCreation","ranges":[{"startOffset":75,"endOffset":1257,"count":0}],"isBlockCoverage":false},{"functionName":"enable","ranges":[{"startOffset":1259,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":1842,"endOffset":1928,"count":0}],"isBlockCoverage":false}]},{"scriptId":"152","url":"node:internal/source_map/prepare_stack_trace","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7404,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":334,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"prepareStackTrace","ranges":[{"startOffset":895,"endOffset":3880,"count":0}],"isBlockCoverage":false},{"functionName":"getOriginalSymbolName","ranges":[{"startOffset":4031,"endOffset":4774,"count":0}],"isBlockCoverage":false},{"functionName":"getErrorSource","ranges":[{"startOffset":4942,"endOffset":6024,"count":0}],"isBlockCoverage":false},{"functionName":"getOriginalSource","ranges":[{"startOffset":6026,"endOffset":6923,"count":0}],"isBlockCoverage":false},{"functionName":"getSourceMapErrorSource","ranges":[{"startOffset":6925,"endOffset":7305,"count":0}],"isBlockCoverage":false}]},{"scriptId":"153","url":"node:fs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":85023,"count":1}],"isBlockCoverage":false},{"functionName":"showTruncateDeprecation","ranges":[{"startOffset":4028,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"maybeCallback","ranges":[{"startOffset":4317,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"makeCallback","ranges":[{"startOffset":4594,"endOffset":4706,"count":0}],"isBlockCoverage":false},{"functionName":"makeStatsCallback","ranges":[{"startOffset":4887,"endOffset":5054,"count":0}],"isBlockCoverage":false},{"functionName":"isFileType","ranges":[{"startOffset":5079,"endOffset":5339,"count":6529},{"startOffset":5278,"endOffset":5298,"count":638}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":5555,"endOffset":5913,"count":0}],"isBlockCoverage":false},{"functionName":"accessSync","ranges":[{"startOffset":6101,"endOffset":6165,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6327,"endOffset":6565,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6652,"endOffset":6784,"count":0}],"isBlockCoverage":false},{"functionName":"existsSync","ranges":[{"startOffset":7332,"endOffset":7391,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterOpen","ranges":[{"startOffset":7393,"endOffset":7673,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterStat","ranges":[{"startOffset":7675,"endOffset":8553,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":8555,"endOffset":8728,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":9061,"endOffset":10013,"count":0}],"isBlockCoverage":false},{"functionName":"tryStatSync","ranges":[{"startOffset":10015,"endOffset":10245,"count":1},{"startOffset":10158,"endOffset":10170,"count":0},{"startOffset":10172,"endOffset":10227,"count":0}],"isBlockCoverage":true},{"functionName":"tryCreateBuffer","ranges":[{"startOffset":10247,"endOffset":10558,"count":1},{"startOffset":10365,"endOffset":10417,"count":0},{"startOffset":10504,"endOffset":10516,"count":0},{"startOffset":10518,"endOffset":10535,"count":0}],"isBlockCoverage":true},{"functionName":"tryReadSync","ranges":[{"startOffset":10560,"endOffset":10815,"count":1},{"startOffset":10758,"endOffset":10770,"count":0},{"startOffset":10772,"endOffset":10789,"count":0}],"isBlockCoverage":true},{"functionName":"readFileSync","ranges":[{"startOffset":11039,"endOffset":12564,"count":383},{"startOffset":11161,"endOffset":11192,"count":2},{"startOffset":11194,"endOffset":11251,"count":381},{"startOffset":11251,"endOffset":11335,"count":2},{"startOffset":11335,"endOffset":11341,"count":0},{"startOffset":11342,"endOffset":11382,"count":2},{"startOffset":11470,"endOffset":11480,"count":1},{"startOffset":11481,"endOffset":11484,"count":0},{"startOffset":11614,"endOffset":11637,"count":0},{"startOffset":11637,"endOffset":11889,"count":1},{"startOffset":11889,"endOffset":12258,"count":0},{"startOffset":12258,"endOffset":12318,"count":1},{"startOffset":12318,"endOffset":12414,"count":0},{"startOffset":12414,"endOffset":12476,"count":1},{"startOffset":12436,"endOffset":12476,"count":0},{"startOffset":12476,"endOffset":12502,"count":1},{"startOffset":12502,"endOffset":12545,"count":0},{"startOffset":12545,"endOffset":12563,"count":1}],"isBlockCoverage":true},{"functionName":"defaultCloseCallback","ranges":[{"startOffset":12566,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12760,"endOffset":13013,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":13109,"endOffset":13162,"count":1}],"isBlockCoverage":true},{"functionName":"open","ranges":[{"startOffset":13405,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"openSync","ranges":[{"startOffset":14154,"endOffset":14235,"count":2}],"isBlockCoverage":true},{"functionName":"openAsBlob","ranges":[{"startOffset":14364,"endOffset":14846,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":15210,"endOffset":17170,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":17624,"endOffset":18761,"count":1},{"startOffset":17846,"endOffset":18102,"count":0},{"startOffset":18132,"endOffset":18153,"count":0},{"startOffset":18244,"endOffset":18263,"count":0},{"startOffset":18296,"endOffset":18426,"count":0}],"isBlockCoverage":true},{"functionName":"readv","ranges":[{"startOffset":19106,"endOffset":19523,"count":0}],"isBlockCoverage":false},{"functionName":"readvSync","ranges":[{"startOffset":19925,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20641,"endOffset":22188,"count":0}],"isBlockCoverage":false},{"functionName":"writeSync","ranges":[{"startOffset":22645,"endOffset":23778,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":24105,"endOffset":24627,"count":0}],"isBlockCoverage":false},{"functionName":"writevSync","ranges":[{"startOffset":24995,"endOffset":25354,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":25595,"endOffset":25976,"count":0}],"isBlockCoverage":false},{"functionName":"renameSync","ranges":[{"startOffset":26175,"endOffset":26522,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":26680,"endOffset":27341,"count":0}],"isBlockCoverage":false},{"functionName":"truncateSync","ranges":[{"startOffset":27471,"endOffset":27874,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":28026,"endOffset":28363,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncateSync","ranges":[{"startOffset":28487,"endOffset":28704,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadCp","ranges":[{"startOffset":28706,"endOffset":28912,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadRimraf","ranges":[{"startOffset":28914,"endOffset":29033,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":29291,"endOffset":30153,"count":0}],"isBlockCoverage":false},{"functionName":"rmdirSync","ranges":[{"startOffset":30368,"endOffset":30888,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":31226,"endOffset":31604,"count":0}],"isBlockCoverage":false},{"functionName":"rmSync","ranges":[{"startOffset":31899,"endOffset":32109,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":32340,"endOffset":32511,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasyncSync","ranges":[{"startOffset":32714,"endOffset":32861,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":33048,"endOffset":33211,"count":0}],"isBlockCoverage":false},{"functionName":"fsyncSync","ranges":[{"startOffset":33370,"endOffset":33509,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":33753,"endOffset":34468,"count":0}],"isBlockCoverage":false},{"functionName":"mkdirSync","ranges":[{"startOffset":34678,"endOffset":35384,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSyncRecursive","ranges":[{"startOffset":35717,"endOffset":37463,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":37763,"endOffset":38541,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSync","ranges":[{"startOffset":38805,"endOffset":39408,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":39649,"endOffset":39995,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":40261,"endOffset":40646,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":40876,"endOffset":41259,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":41261,"endOffset":41754,"count":0}],"isBlockCoverage":false},{"functionName":"hasNoEntryError","ranges":[{"startOffset":41756,"endOffset":41971,"count":0}],"isBlockCoverage":false},{"functionName":"fstatSync","ranges":[{"startOffset":42147,"endOffset":42386,"count":0}],"isBlockCoverage":false},{"functionName":"lstatSync","ranges":[{"startOffset":42634,"endOffset":43058,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":43273,"endOffset":43346,"count":0}],"isBlockCoverage":false},{"functionName":"statfsSync","ranges":[{"startOffset":43348,"endOffset":43425,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":43703,"endOffset":44047,"count":0}],"isBlockCoverage":false},{"functionName":"readlinkSync","ranges":[{"startOffset":44261,"endOffset":44588,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":44830,"endOffset":46483,"count":0}],"isBlockCoverage":false},{"functionName":"symlinkSync","ranges":[{"startOffset":46698,"endOffset":47359,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":47586,"endOffset":47987,"count":0}],"isBlockCoverage":false},{"functionName":"linkSync","ranges":[{"startOffset":48186,"endOffset":48635,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":48796,"endOffset":49023,"count":0}],"isBlockCoverage":false},{"functionName":"unlinkSync","ranges":[{"startOffset":49141,"endOffset":49200,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":49363,"endOffset":49602,"count":0}],"isBlockCoverage":false},{"functionName":"fchmodSync","ranges":[{"startOffset":49737,"endOffset":49928,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":50109,"endOffset":50602,"count":0}],"isBlockCoverage":false},{"functionName":"lchmodSync","ranges":[{"startOffset":50755,"endOffset":51077,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":51273,"endOffset":51549,"count":0}],"isBlockCoverage":false},{"functionName":"chmodSync","ranges":[{"startOffset":51702,"endOffset":51937,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":52133,"endOffset":52474,"count":0}],"isBlockCoverage":false},{"functionName":"lchownSync","ranges":[{"startOffset":52642,"endOffset":52942,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":53112,"endOffset":53415,"count":0}],"isBlockCoverage":false},{"functionName":"fchownSync","ranges":[{"startOffset":53557,"endOffset":53813,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":54029,"endOffset":54369,"count":0}],"isBlockCoverage":false},{"functionName":"chownSync","ranges":[{"startOffset":54542,"endOffset":54840,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":55109,"endOffset":55450,"count":0}],"isBlockCoverage":false},{"functionName":"utimesSync","ranges":[{"startOffset":55691,"endOffset":55973,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":56254,"endOffset":56559,"count":0}],"isBlockCoverage":false},{"functionName":"futimesSync","ranges":[{"startOffset":56815,"endOffset":57072,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":57356,"endOffset":57702,"count":0}],"isBlockCoverage":false},{"functionName":"lutimesSync","ranges":[{"startOffset":57962,"endOffset":58266,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":58268,"endOffset":59231,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":59588,"endOffset":60454,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":60741,"endOffset":61443,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":61748,"endOffset":62188,"count":0}],"isBlockCoverage":false},{"functionName":"appendFileSync","ranges":[{"startOffset":62450,"endOffset":62829,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":63197,"endOffset":64950,"count":0}],"isBlockCoverage":false},{"functionName":"watchFile","ranges":[{"startOffset":65300,"endOffset":66324,"count":0}],"isBlockCoverage":false},{"functionName":"unwatchFile","ranges":[{"startOffset":66474,"endOffset":67213,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67429,"endOffset":67525,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67550,"endOffset":67760,"count":459},{"startOffset":67617,"endOffset":67740,"count":918},{"startOffset":67695,"endOffset":67734,"count":459},{"startOffset":67740,"endOffset":67759,"count":0}],"isBlockCoverage":true},{"functionName":"encodeRealpathResult","ranges":[{"startOffset":67765,"endOffset":68052,"count":459},{"startOffset":67850,"endOffset":67880,"count":0},{"startOffset":67900,"endOffset":68051,"count":0}],"isBlockCoverage":true},{"functionName":"nextPart","ranges":[{"startOffset":68175,"endOffset":68434,"count":0}],"isBlockCoverage":false},{"functionName":"nextPart","ranges":[{"startOffset":68458,"endOffset":68533,"count":3583}],"isBlockCoverage":true},{"functionName":"realpathSync","ranges":[{"startOffset":68707,"endOffset":72603,"count":554},{"startOffset":68831,"endOffset":68849,"count":0},{"startOffset":69010,"endOffset":69045,"count":95},{"startOffset":69045,"endOffset":69607,"count":459},{"startOffset":69607,"endOffset":69779,"count":0},{"startOffset":69779,"endOffset":69916,"count":459},{"startOffset":69916,"endOffset":72530,"count":3583},{"startOffset":70028,"endOffset":70159,"count":459},{"startOffset":70159,"endOffset":70317,"count":3124},{"startOffset":70434,"endOffset":70571,"count":2945},{"startOffset":70525,"endOffset":70549,"count":0},{"startOffset":70571,"endOffset":70637,"count":638},{"startOffset":70674,"endOffset":70723,"count":0},{"startOffset":70723,"endOffset":72027,"count":638},{"startOffset":71163,"endOffset":71947,"count":0},{"startOffset":71991,"endOffset":72021,"count":0},{"startOffset":72027,"endOffset":72342,"count":0},{"startOffset":72344,"endOffset":72526,"count":0},{"startOffset":72530,"endOffset":72544,"count":459}],"isBlockCoverage":true},{"functionName":"realpathSync.native","ranges":[{"startOffset":72792,"endOffset":73056,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":73363,"endOffset":76894,"count":0}],"isBlockCoverage":false},{"functionName":"realpath.native","ranges":[{"startOffset":77221,"endOffset":77516,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":77761,"endOffset":78271,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtempSync","ranges":[{"startOffset":78452,"endOffset":78944,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":79208,"endOffset":79669,"count":0}],"isBlockCoverage":false},{"functionName":"copyFileSync","ranges":[{"startOffset":79901,"endOffset":79979,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":80272,"endOffset":80677,"count":0}],"isBlockCoverage":false},{"functionName":"cpSync","ranges":[{"startOffset":80938,"endOffset":81202,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadStreams","ranges":[{"startOffset":81204,"endOffset":81395,"count":40},{"startOffset":81252,"endOffset":81393,"count":1}],"isBlockCoverage":true},{"functionName":"createReadStream","ranges":[{"startOffset":81824,"endOffset":81929,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":82264,"endOffset":82371,"count":0}],"isBlockCoverage":false},{"functionName":"get ReadStream","ranges":[{"startOffset":83615,"endOffset":83683,"count":10}],"isBlockCoverage":true},{"functionName":"set ReadStream","ranges":[{"startOffset":83688,"endOffset":83735,"count":0}],"isBlockCoverage":false},{"functionName":"get WriteStream","ranges":[{"startOffset":83740,"endOffset":83810,"count":10}],"isBlockCoverage":true},{"functionName":"set WriteStream","ranges":[{"startOffset":83815,"endOffset":83864,"count":0}],"isBlockCoverage":false},{"functionName":"get FileReadStream","ranges":[{"startOffset":84002,"endOffset":84078,"count":10}],"isBlockCoverage":true},{"functionName":"set FileReadStream","ranges":[{"startOffset":84083,"endOffset":84138,"count":0}],"isBlockCoverage":false},{"functionName":"get FileWriteStream","ranges":[{"startOffset":84143,"endOffset":84221,"count":10}],"isBlockCoverage":true},{"functionName":"set FileWriteStream","ranges":[{"startOffset":84226,"endOffset":84283,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":84916,"endOffset":85012,"count":10}],"isBlockCoverage":true}]},{"scriptId":"154","url":"node:internal/blob","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12628,"count":1}],"isBlockCoverage":false},{"functionName":"lazyReadableStream","ranges":[{"startOffset":1851,"endOffset":2063,"count":0}],"isBlockCoverage":false},{"functionName":"isBlob","ranges":[{"startOffset":2113,"endOffset":2182,"count":0}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":2184,"endOffset":2863,"count":0}],"isBlockCoverage":false},{"functionName":"Blob","ranges":[{"startOffset":3115,"endOffset":4227,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4231,"endOffset":4501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4505,"endOffset":4957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4961,"endOffset":5087,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":5138,"endOffset":5243,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":5294,"endOffset":5401,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":5529,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBuffer","ranges":[{"startOffset":6364,"endOffset":7373,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":7421,"endOffset":7586,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":7633,"endOffset":10704,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob","ranges":[{"startOffset":10708,"endOffset":10803,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob.","ranges":[{"startOffset":10841,"endOffset":10849,"count":0}],"isBlockCoverage":false},{"functionName":"createBlob","ranges":[{"startOffset":10852,"endOffset":11055,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObjectURL","ranges":[{"startOffset":11408,"endOffset":12019,"count":0}],"isBlockCoverage":false},{"functionName":"createBlobFromFilePath","ranges":[{"startOffset":12142,"endOffset":12501,"count":0}],"isBlockCoverage":false}]},{"scriptId":"155","url":"node:internal/encoding","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17340,"count":1}],"isBlockCoverage":false},{"functionName":"validateEncoder","ranges":[{"startOffset":1250,"endOffset":1375,"count":0}],"isBlockCoverage":false},{"functionName":"validateDecoder","ranges":[{"startOffset":1377,"endOffset":1502,"count":58},{"startOffset":1458,"endOffset":1500,"count":0}],"isBlockCoverage":true},{"functionName":"trimAsciiWhitespace","ranges":[{"startOffset":8799,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingFromLabel","ranges":[{"startOffset":9299,"endOffset":9478,"count":3},{"startOffset":9410,"endOffset":9477,"count":0}],"isBlockCoverage":true},{"functionName":"TextEncoder","ranges":[{"startOffset":9502,"endOffset":9548,"count":1}],"isBlockCoverage":true},{"functionName":"get encoding","ranges":[{"startOffset":9552,"endOffset":9619,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":9623,"endOffset":9715,"count":0}],"isBlockCoverage":false},{"functionName":"encodeInto","ranges":[{"startOffset":9719,"endOffset":10125,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10129,"endOffset":10526,"count":0}],"isBlockCoverage":false},{"functionName":"makeTextDecoderICU","ranges":[{"startOffset":10898,"endOffset":12864,"count":1}],"isBlockCoverage":true},{"functionName":"TextDecoder","ranges":[{"startOffset":11036,"endOffset":11973,"count":3},{"startOffset":11346,"endOffset":11393,"count":0},{"startOffset":11477,"endOffset":11500,"count":2},{"startOffset":11501,"endOffset":11504,"count":1},{"startOffset":11541,"endOffset":11569,"count":2},{"startOffset":11570,"endOffset":11573,"count":1},{"startOffset":11924,"endOffset":11967,"count":0}],"isBlockCoverage":true},{"functionName":"#prepareConverter","ranges":[{"startOffset":11979,"endOffset":12244,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":12250,"endOffset":12835,"count":58},{"startOffset":12485,"endOffset":12834,"count":0}],"isBlockCoverage":true},{"functionName":"makeTextDecoderJS","ranges":[{"startOffset":12866,"endOffset":15701,"count":0}],"isBlockCoverage":false},{"functionName":"get encoding","ranges":[{"startOffset":15798,"endOffset":15873,"count":0}],"isBlockCoverage":false},{"functionName":"get fatal","ranges":[{"startOffset":15878,"endOffset":15999,"count":0}],"isBlockCoverage":false},{"functionName":"get ignoreBOM","ranges":[{"startOffset":16004,"endOffset":16153,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectGetOwnPropertyDescriptors","ranges":[{"startOffset":16158,"endOffset":16741,"count":0}],"isBlockCoverage":false}]},{"scriptId":"156","url":"node:internal/webstreams/queuingstrategies","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3851,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":931,"endOffset":958,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1038,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"getNonWritablePropertyDescriptor","ranges":[{"startOffset":1114,"endOffset":1200,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1238,"endOffset":2284,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2544,"endOffset":3561,"count":0}],"isBlockCoverage":false}]},{"scriptId":"157","url":"node:internal/webstreams/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7549,"count":1}],"isBlockCoverage":false},{"functionName":"extractHighWaterMark","ranges":[{"startOffset":1074,"endOffset":1367,"count":0}],"isBlockCoverage":false},{"functionName":"extractSizeAlgorithm","ranges":[{"startOffset":1369,"endOffset":1508,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":1510,"endOffset":1742,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetBuffer","ranges":[{"startOffset":1926,"endOffset":2034,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteLength","ranges":[{"startOffset":2036,"endOffset":2152,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteOffset","ranges":[{"startOffset":2154,"endOffset":2270,"count":0}],"isBlockCoverage":false},{"functionName":"cloneAsUint8Array","ranges":[{"startOffset":2272,"endOffset":2577,"count":0}],"isBlockCoverage":false},{"functionName":"isBrandCheck","ranges":[{"startOffset":2579,"endOffset":2743,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2619,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"transferArrayBuffer","ranges":[{"startOffset":2745,"endOffset":2968,"count":0}],"isBlockCoverage":false},{"functionName":"isViewedArrayBufferDetached","ranges":[{"startOffset":2970,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"dequeueValue","ranges":[{"startOffset":3140,"endOffset":3525,"count":0}],"isBlockCoverage":false},{"functionName":"resetQueue","ranges":[{"startOffset":3527,"endOffset":3745,"count":0}],"isBlockCoverage":false},{"functionName":"peekQueueValue","ranges":[{"startOffset":3747,"endOffset":3982,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueValueWithSize","ranges":[{"startOffset":3984,"endOffset":4449,"count":0}],"isBlockCoverage":false},{"functionName":"ensureIsPromise","ranges":[{"startOffset":4451,"endOffset":4690,"count":0}],"isBlockCoverage":false},{"functionName":"isPromisePending","ranges":[{"startOffset":4692,"endOffset":4855,"count":0}],"isBlockCoverage":false},{"functionName":"setPromiseHandled","ranges":[{"startOffset":4857,"endOffset":5136,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpFlush","ranges":[{"startOffset":5138,"endOffset":5168,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpStart","ranges":[{"startOffset":5170,"endOffset":5194,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpPull","ranges":[{"startOffset":5196,"endOffset":5225,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpCancel","ranges":[{"startOffset":5227,"endOffset":5258,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpWrite","ranges":[{"startOffset":5260,"endOffset":5290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyTransfer","ranges":[{"startOffset":5306,"endOffset":5438,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncFromSyncIterator","ranges":[{"startOffset":5440,"endOffset":5779,"count":0}],"isBlockCoverage":false},{"functionName":"getIterator","ranges":[{"startOffset":5781,"endOffset":6509,"count":0}],"isBlockCoverage":false},{"functionName":"iteratorNext","ranges":[{"startOffset":6511,"endOffset":6973,"count":0}],"isBlockCoverage":false}]},{"scriptId":"158","url":"node:internal/fs/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":26847,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFs","ranges":[{"startOffset":3551,"endOffset":3630,"count":0}],"isBlockCoverage":false},{"functionName":"assertEncoding","ranges":[{"startOffset":3632,"endOffset":3832,"count":935},{"startOffset":3683,"endOffset":3714,"count":381},{"startOffset":3716,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"Dirent","ranges":[{"startOffset":3851,"endOffset":3954,"count":0}],"isBlockCoverage":false},{"functionName":"isDirectory","ranges":[{"startOffset":3958,"endOffset":4019,"count":0}],"isBlockCoverage":false},{"functionName":"isFile","ranges":[{"startOffset":4023,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"isBlockDevice","ranges":[{"startOffset":4084,"endOffset":4149,"count":0}],"isBlockCoverage":false},{"functionName":"isCharacterDevice","ranges":[{"startOffset":4153,"endOffset":4221,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbolicLink","ranges":[{"startOffset":4225,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"isFIFO","ranges":[{"startOffset":4294,"endOffset":4351,"count":0}],"isBlockCoverage":false},{"functionName":"isSocket","ranges":[{"startOffset":4355,"endOffset":4416,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats","ranges":[{"startOffset":4461,"endOffset":4552,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats.","ranges":[{"startOffset":4697,"endOffset":4746,"count":0}],"isBlockCoverage":false},{"functionName":"copyObject","ranges":[{"startOffset":4751,"endOffset":4879,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":4929,"endOffset":5536,"count":0}],"isBlockCoverage":false},{"functionName":"getDirents","ranges":[{"startOffset":5538,"endOffset":6653,"count":0}],"isBlockCoverage":false},{"functionName":"getDirent","ranges":[{"startOffset":6655,"endOffset":7436,"count":0}],"isBlockCoverage":false},{"functionName":"getOptions","ranges":[{"startOffset":7438,"endOffset":8064,"count":995},{"startOffset":7522,"endOffset":7554,"count":935},{"startOffset":7556,"endOffset":7588,"count":60},{"startOffset":7588,"endOffset":7625,"count":935},{"startOffset":7625,"endOffset":7743,"count":381},{"startOffset":7743,"endOffset":7865,"count":554},{"startOffset":7782,"endOffset":7865,"count":0},{"startOffset":7865,"endOffset":7979,"count":935},{"startOffset":7979,"endOffset":8043,"count":0},{"startOffset":8043,"endOffset":8063,"count":935}],"isBlockCoverage":true},{"functionName":"handleErrorFromBinding","ranges":[{"startOffset":8122,"endOffset":8651,"count":639},{"startOffset":8192,"endOffset":8327,"count":0},{"startOffset":8359,"endOffset":8649,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8792,"endOffset":9388,"count":995},{"startOffset":9022,"endOffset":9042,"count":0},{"startOffset":9112,"endOffset":9180,"count":0},{"startOffset":9199,"endOffset":9387,"count":0}],"isBlockCoverage":true},{"functionName":"preprocessSymlinkDestination","ranges":[{"startOffset":9392,"endOffset":10098,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase","ranges":[{"startOffset":10131,"endOffset":10438,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isDirectory","ranges":[{"startOffset":10474,"endOffset":10531,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFile","ranges":[{"startOffset":10563,"endOffset":10620,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isBlockDevice","ranges":[{"startOffset":10659,"endOffset":10716,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isCharacterDevice","ranges":[{"startOffset":10759,"endOffset":10816,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSymbolicLink","ranges":[{"startOffset":10856,"endOffset":10913,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFIFO","ranges":[{"startOffset":10945,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSocket","ranges":[{"startOffset":11036,"endOffset":11094,"count":0}],"isBlockCoverage":false},{"functionName":"msFromTimeSpec","ranges":[{"startOffset":11219,"endOffset":11301,"count":0}],"isBlockCoverage":false},{"functionName":"nsFromTimeSpecBigInt","ranges":[{"startOffset":11303,"endOffset":11386,"count":0}],"isBlockCoverage":false},{"functionName":"dateFromMs","ranges":[{"startOffset":11788,"endOffset":11899,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats","ranges":[{"startOffset":11901,"endOffset":12664,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats._checkModeProperty","ranges":[{"startOffset":12822,"endOffset":13068,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":13071,"endOffset":13613,"count":0}],"isBlockCoverage":false},{"functionName":"Stats._checkModeProperty","ranges":[{"startOffset":13954,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"getStatsFromBinding","ranges":[{"startOffset":14302,"endOffset":15381,"count":0}],"isBlockCoverage":false},{"functionName":"StatFs","ranges":[{"startOffset":15400,"endOffset":15637,"count":0}],"isBlockCoverage":false},{"functionName":"getStatFsFromBinding","ranges":[{"startOffset":15641,"endOffset":15781,"count":0}],"isBlockCoverage":false},{"functionName":"stringToFlags","ranges":[{"startOffset":15783,"endOffset":17039,"count":441},{"startOffset":15864,"endOffset":15919,"count":0},{"startOffset":15942,"endOffset":15968,"count":0},{"startOffset":16025,"endOffset":16036,"count":0},{"startOffset":16058,"endOffset":16095,"count":0},{"startOffset":16100,"endOffset":16126,"count":0},{"startOffset":16131,"endOffset":16143,"count":0},{"startOffset":16165,"endOffset":16201,"count":0},{"startOffset":16207,"endOffset":16254,"count":0},{"startOffset":16259,"endOffset":16270,"count":0},{"startOffset":16292,"endOffset":16349,"count":0},{"startOffset":16355,"endOffset":16401,"count":0},{"startOffset":16406,"endOffset":16417,"count":0},{"startOffset":16439,"endOffset":16494,"count":0},{"startOffset":16500,"endOffset":16548,"count":0},{"startOffset":16553,"endOffset":16564,"count":0},{"startOffset":16586,"endOffset":16644,"count":0},{"startOffset":16649,"endOffset":16660,"count":0},{"startOffset":16682,"endOffset":16740,"count":0},{"startOffset":16746,"endOffset":16793,"count":0},{"startOffset":16798,"endOffset":16809,"count":0},{"startOffset":16831,"endOffset":16887,"count":0},{"startOffset":16892,"endOffset":16903,"count":0},{"startOffset":16925,"endOffset":16981,"count":0},{"startOffset":16985,"endOffset":17038,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":17085,"endOffset":17445,"count":0}],"isBlockCoverage":false},{"functionName":"toUnixTimestamp","ranges":[{"startOffset":17507,"endOffset":17962,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18016,"endOffset":18395,"count":1},{"startOffset":18072,"endOffset":18139,"count":0},{"startOffset":18160,"endOffset":18227,"count":0},{"startOffset":18268,"endOffset":18391,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18454,"endOffset":18858,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18901,"endOffset":19171,"count":995},{"startOffset":18963,"endOffset":18985,"count":0},{"startOffset":18987,"endOffset":19073,"count":0},{"startOffset":19149,"endOffset":19169,"count":0}],"isBlockCoverage":true},{"functionName":"possiblyTransformPath","ranges":[{"startOffset":19542,"endOffset":19853,"count":441},{"startOffset":19611,"endOffset":19836,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":19896,"endOffset":20054,"count":441}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20097,"endOffset":20218,"count":2},{"startOffset":20148,"endOffset":20167,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20266,"endOffset":20597,"count":0}],"isBlockCoverage":false},{"functionName":"warnOnNonPortableTemplate","ranges":[{"startOffset":20638,"endOffset":21238,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21663,"endOffset":22550,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22596,"endOffset":23275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23325,"endOffset":23942,"count":0}],"isBlockCoverage":false},{"functionName":"emitRecursiveRmdirWarning","ranges":[{"startOffset":23996,"endOffset":24330,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24380,"endOffset":24777,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24818,"endOffset":25186,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25249,"endOffset":25433,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25478,"endOffset":25948,"count":1},{"startOffset":25578,"endOffset":25946,"count":0}],"isBlockCoverage":true}]},{"scriptId":"159","url":"node:internal/fs/sync","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2257,"count":1}],"isBlockCoverage":false},{"functionName":"readFileUtf8","ranges":[{"startOffset":395,"endOffset":582,"count":381}],"isBlockCoverage":true},{"functionName":"exists","ranges":[{"startOffset":584,"endOffset":751,"count":0}],"isBlockCoverage":false},{"functionName":"access","ranges":[{"startOffset":753,"endOffset":920,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":922,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":1184,"endOffset":1509,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":1511,"endOffset":1723,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":1725,"endOffset":1932,"count":2}],"isBlockCoverage":true},{"functionName":"close","ranges":[{"startOffset":1934,"endOffset":2016,"count":1}],"isBlockCoverage":true},{"functionName":"unlink","ranges":[{"startOffset":2018,"endOffset":2140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"160","url":"node:internal/dns/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9584,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBinding","ranges":[{"startOffset":506,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":957,"endOffset":1104,"count":0}],"isBlockCoverage":false},{"functionName":"validateTries","ranges":[{"startOffset":1106,"endOffset":1241,"count":0}],"isBlockCoverage":false},{"functionName":"ResolverBase","ranges":[{"startOffset":1635,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1988,"endOffset":2124,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":2128,"endOffset":2169,"count":0}],"isBlockCoverage":false},{"functionName":"getServers","ranges":[{"startOffset":2173,"endOffset":2441,"count":0}],"isBlockCoverage":false},{"functionName":"setServers","ranges":[{"startOffset":2445,"endOffset":3846,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3850,"endOffset":4405,"count":0}],"isBlockCoverage":false},{"functionName":"setLocalAddress","ranges":[{"startOffset":4410,"endOffset":4695,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4815,"endOffset":5035,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5039,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"initializeDns","ranges":[{"startOffset":5427,"endOffset":5813,"count":1},{"startOffset":5570,"endOffset":5680,"count":0},{"startOffset":5728,"endOffset":5812,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5753,"endOffset":5809,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResolver","ranges":[{"startOffset":6074,"endOffset":6355,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResolver","ranges":[{"startOffset":6357,"endOffset":6428,"count":0}],"isBlockCoverage":false},{"functionName":"bindDefaultResolver","ranges":[{"startOffset":6430,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"validateHints","ranges":[{"startOffset":6654,"endOffset":6873,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidHostnameWarning","ranges":[{"startOffset":6918,"endOffset":7272,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultVerbatim","ranges":[{"startOffset":7274,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResultOrder","ranges":[{"startOffset":7344,"endOffset":7468,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResultOrder","ranges":[{"startOffset":7470,"endOffset":7525,"count":0}],"isBlockCoverage":false},{"functionName":"createResolverClass","ranges":[{"startOffset":7527,"endOffset":8635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"161","url":"node:internal/net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2248,"count":1}],"isBlockCoverage":false},{"functionName":"isIPv4","ranges":[{"startOffset":1023,"endOffset":1296,"count":0}],"isBlockCoverage":false},{"functionName":"isIPv6","ranges":[{"startOffset":1298,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"isIP","ranges":[{"startOffset":1573,"endOffset":1659,"count":0}],"isBlockCoverage":false},{"functionName":"makeSyncWrite","ranges":[{"startOffset":1661,"endOffset":2075,"count":0}],"isBlockCoverage":false}]},{"scriptId":"162","url":"node:worker_threads","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":687,"count":1}],"isBlockCoverage":false}]},{"scriptId":"163","url":"node:internal/worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16395,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2471,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"process.chdir","ranges":[{"startOffset":2984,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"setEnvironmentData","ranges":[{"startOffset":3069,"endOffset":3216,"count":0}],"isBlockCoverage":false},{"functionName":"getEnvironmentData","ranges":[{"startOffset":3218,"endOffset":3289,"count":0}],"isBlockCoverage":false},{"functionName":"assignEnvironmentData","ranges":[{"startOffset":3291,"endOffset":3441,"count":1},{"startOffset":3356,"endOffset":3363,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3379,"endOffset":3437,"count":0}],"isBlockCoverage":false},{"functionName":"Worker","ranges":[{"startOffset":3481,"endOffset":9221,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9225,"endOffset":9857,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9861,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9961,"endOffset":10130,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10134,"endOffset":11027,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11031,"endOffset":11499,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":11503,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"terminate","ranges":[{"startOffset":11652,"endOffset":12486,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":12490,"endOffset":12596,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":12600,"endOffset":12712,"count":0}],"isBlockCoverage":false},{"functionName":"get threadId","ranges":[{"startOffset":12716,"endOffset":12815,"count":0}],"isBlockCoverage":false},{"functionName":"get stdin","ranges":[{"startOffset":12819,"endOffset":12877,"count":0}],"isBlockCoverage":false},{"functionName":"get stdout","ranges":[{"startOffset":12881,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"get stderr","ranges":[{"startOffset":12945,"endOffset":13005,"count":0}],"isBlockCoverage":false},{"functionName":"get resourceLimits","ranges":[{"startOffset":13009,"endOffset":13145,"count":0}],"isBlockCoverage":false},{"functionName":"getHeapSnapshot","ranges":[{"startOffset":13149,"endOffset":13656,"count":0}],"isBlockCoverage":false},{"functionName":"InternalWorker","ranges":[{"startOffset":13849,"endOffset":13928,"count":0}],"isBlockCoverage":false},{"functionName":"receiveMessageSync","ranges":[{"startOffset":13932,"endOffset":14010,"count":0}],"isBlockCoverage":false},{"functionName":"pipeWithoutWarning","ranges":[{"startOffset":14014,"endOffset":14336,"count":0}],"isBlockCoverage":false},{"functionName":"parseResourceLimits","ranges":[{"startOffset":14410,"endOffset":15024,"count":0}],"isBlockCoverage":false},{"functionName":"makeResourceLimits","ranges":[{"startOffset":15026,"endOffset":15313,"count":1}],"isBlockCoverage":true},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":15315,"endOffset":16118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"164","url":"node:internal/perf/event_loop_utilization","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":false},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":153,"endOffset":446,"count":0}],"isBlockCoverage":false},{"functionName":"internalEventLoopUtilization","ranges":[{"startOffset":448,"endOffset":1447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"165","url":"node:internal/error_serdes","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5723,"count":1}],"isBlockCoverage":false},{"functionName":"TryGetAllProperties","ranges":[{"startOffset":1039,"endOffset":2143,"count":0}],"isBlockCoverage":false},{"functionName":"GetConstructors","ranges":[{"startOffset":2145,"endOffset":2588,"count":0}],"isBlockCoverage":false},{"functionName":"GetName","ranges":[{"startOffset":2590,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":2737,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":2924,"endOffset":4219,"count":0}],"isBlockCoverage":false},{"functionName":"fromBuffer","ranges":[{"startOffset":4221,"endOffset":4442,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeError","ranges":[{"startOffset":4461,"endOffset":5666,"count":0}],"isBlockCoverage":false}]},{"scriptId":"166","url":"node:diagnostics_channel","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9791,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":734,"endOffset":1143,"count":1}],"isBlockCoverage":false},{"functionName":"#finalizers","ranges":[{"startOffset":814,"endOffset":850,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":856,"endOffset":973,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":977,"endOffset":1025,"count":5},{"startOffset":1013,"endOffset":1018,"count":0}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":1029,"endOffset":1083,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":1087,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"markActive","ranges":[{"startOffset":1145,"endOffset":1350,"count":0}],"isBlockCoverage":false},{"functionName":"maybeMarkInactive","ranges":[{"startOffset":1352,"endOffset":1720,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTransform","ranges":[{"startOffset":1722,"endOffset":1772,"count":0}],"isBlockCoverage":false},{"functionName":"wrapStoreRun","ranges":[{"startOffset":1774,"endOffset":2102,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":2184,"endOffset":2354,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":2358,"endOffset":2635,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":2639,"endOffset":2807,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":2811,"endOffset":3010,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":3014,"endOffset":3057,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":3061,"endOffset":3370,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":3374,"endOffset":3713,"count":0}],"isBlockCoverage":false},{"functionName":"Channel","ranges":[{"startOffset":3735,"endOffset":3876,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3887,"endOffset":4072,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":4076,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4165,"endOffset":4202,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":4206,"endOffset":4299,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":4303,"endOffset":4340,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":4344,"endOffset":4388,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":4392,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":4408,"endOffset":4495,"count":0}],"isBlockCoverage":false},{"functionName":"channel","ranges":[{"startOffset":4535,"endOffset":4801,"count":5},{"startOffset":4613,"endOffset":4628,"count":0},{"startOffset":4661,"endOffset":4688,"count":0},{"startOffset":4690,"endOffset":4770,"count":0}],"isBlockCoverage":true},{"functionName":"subscribe","ranges":[{"startOffset":4803,"endOffset":4893,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4895,"endOffset":4989,"count":0}],"isBlockCoverage":false},{"functionName":"hasSubscribers","ranges":[{"startOffset":4991,"endOffset":5126,"count":0}],"isBlockCoverage":false},{"functionName":"assertChannel","ranges":[{"startOffset":5215,"endOffset":5357,"count":0}],"isBlockCoverage":false},{"functionName":"TracingChannel","ranges":[{"startOffset":5384,"endOffset":6531,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":6535,"endOffset":6687,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":6691,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"traceSync","ranges":[{"startOffset":6928,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"tracePromise","ranges":[{"startOffset":7358,"endOffset":8459,"count":0}],"isBlockCoverage":false},{"functionName":"traceCallback","ranges":[{"startOffset":8463,"endOffset":9589,"count":0}],"isBlockCoverage":false},{"functionName":"tracingChannel","ranges":[{"startOffset":9593,"endOffset":9681,"count":0}],"isBlockCoverage":false}]},{"scriptId":"167","url":"node:internal/modules/cjs/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":45478,"count":1}],"isBlockCoverage":false},{"functionName":"get hasLoadedAnyUserCJSModule","ranges":[{"startOffset":2238,"endOffset":2307,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3478,"endOffset":3569,"count":1},{"startOffset":3525,"endOffset":3561,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3618,"endOffset":3661,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3702,"endOffset":3756,"count":1}],"isBlockCoverage":true},{"functionName":"internalRequire","ranges":[{"startOffset":4610,"endOffset":4935,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4937,"endOffset":5347,"count":1542},{"startOffset":5035,"endOffset":5129,"count":1499},{"startOffset":5111,"endOffset":5125,"count":406},{"startOffset":5129,"endOffset":5202,"count":1136},{"startOffset":5202,"endOffset":5216,"count":1093},{"startOffset":5218,"endOffset":5328,"count":434},{"startOffset":5328,"endOffset":5346,"count":1136}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":5428,"endOffset":5451,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":5455,"endOffset":5550,"count":0}],"isBlockCoverage":false},{"functionName":"updateChildren","ranges":[{"startOffset":5579,"endOffset":5775,"count":792},{"startOffset":5651,"endOffset":5661,"count":742},{"startOffset":5678,"endOffset":5731,"count":742},{"startOffset":5688,"endOffset":5730,"count":392},{"startOffset":5737,"endOffset":5773,"count":742}],"isBlockCoverage":true},{"functionName":"reportModuleToWatchMode","ranges":[{"startOffset":5777,"endOffset":5933,"count":1191},{"startOffset":5858,"endOffset":5873,"count":0},{"startOffset":5875,"endOffset":5931,"count":0}],"isBlockCoverage":true},{"functionName":"reportModuleNotFoundToWatchMode","ranges":[{"startOffset":5935,"endOffset":6174,"count":17},{"startOffset":6036,"endOffset":6051,"count":0},{"startOffset":6053,"endOffset":6172,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6121,"endOffset":6163,"count":0}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":6221,"endOffset":6978,"count":377},{"startOffset":6534,"endOffset":6544,"count":0},{"startOffset":6562,"endOffset":6926,"count":0}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":7220,"endOffset":7297,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7463,"endOffset":7585,"count":0}],"isBlockCoverage":false},{"functionName":"defineProperty","ranges":[{"startOffset":7590,"endOffset":7723,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7790,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7823,"endOffset":7877,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7947,"endOffset":7983,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7988,"endOffset":8050,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8084,"endOffset":8114,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleParent","ranges":[{"startOffset":8274,"endOffset":8342,"count":0}],"isBlockCoverage":false},{"functionName":"setModuleParent","ranges":[{"startOffset":8344,"endOffset":8417,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8484,"endOffset":8509,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCJS","ranges":[{"startOffset":9188,"endOffset":9688,"count":1}],"isBlockCoverage":true},{"functionName":"readPackage","ranges":[{"startOffset":9982,"endOffset":10095,"count":1722}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":10197,"endOffset":10227,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10231,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"readPackageScope","ranges":[{"startOffset":10383,"endOffset":11176,"count":885},{"startOffset":10570,"endOffset":11113,"count":1602},{"startOffset":10819,"endOffset":10865,"count":0},{"startOffset":10867,"endOffset":10894,"count":0},{"startOffset":10967,"endOffset":10980,"count":0},{"startOffset":11052,"endOffset":11109,"count":885},{"startOffset":11113,"endOffset":11175,"count":0}],"isBlockCoverage":true},{"functionName":"tryPackage","ranges":[{"startOffset":11178,"endOffset":12457,"count":52},{"startOffset":11300,"endOffset":11381,"count":18},{"startOffset":11381,"endOffset":11475,"count":34},{"startOffset":11475,"endOffset":11519,"count":0},{"startOffset":11520,"endOffset":11587,"count":0},{"startOffset":11613,"endOffset":12438,"count":0},{"startOffset":12438,"endOffset":12456,"count":34}],"isBlockCoverage":true},{"functionName":"tryFile","ranges":[{"startOffset":12802,"endOffset":13034,"count":610},{"startOffset":12891,"endOffset":12898,"count":207},{"startOffset":12898,"endOffset":12943,"count":403},{"startOffset":12943,"endOffset":12953,"count":0},{"startOffset":12955,"endOffset":12998,"count":0},{"startOffset":12998,"endOffset":13033,"count":403}],"isBlockCoverage":true},{"functionName":"toRealPath","ranges":[{"startOffset":13036,"endOffset":13168,"count":447}],"isBlockCoverage":true},{"functionName":"tryExtensions","ranges":[{"startOffset":13243,"endOffset":13449,"count":436},{"startOffset":13325,"endOffset":13431,"count":574},{"startOffset":13397,"endOffset":13427,"count":367},{"startOffset":13431,"endOffset":13448,"count":69}],"isBlockCoverage":true},{"functionName":"findLongestRegisteredExtension","ranges":[{"startOffset":13538,"endOffset":14006,"count":375},{"startOffset":13813,"endOffset":13822,"count":0},{"startOffset":13960,"endOffset":13984,"count":364},{"startOffset":13988,"endOffset":14005,"count":11}],"isBlockCoverage":true},{"functionName":"trySelfParentPath","ranges":[{"startOffset":14008,"endOffset":14297,"count":546},{"startOffset":14060,"endOffset":14073,"count":23},{"startOffset":14073,"endOffset":14131,"count":523},{"startOffset":14131,"endOffset":14295,"count":0}],"isBlockCoverage":true},{"functionName":"trySelf","ranges":[{"startOffset":14299,"endOffset":15197,"count":546},{"startOffset":14358,"endOffset":14371,"count":23},{"startOffset":14371,"endOffset":14475,"count":523},{"startOffset":14476,"endOffset":14501,"count":11},{"startOffset":14503,"endOffset":14526,"count":512},{"startOffset":14526,"endOffset":14573,"count":11},{"startOffset":14573,"endOffset":14599,"count":0},{"startOffset":14599,"endOffset":14765,"count":11},{"startOffset":14661,"endOffset":14736,"count":0},{"startOffset":14765,"endOffset":15195,"count":0}],"isBlockCoverage":true},{"functionName":"resolveExports","ranges":[{"startOffset":15358,"endOffset":16166,"count":438},{"startOffset":15565,"endOffset":15580,"count":370},{"startOffset":15599,"endOffset":15606,"count":370},{"startOffset":15606,"endOffset":15707,"count":68},{"startOffset":15707,"endOffset":15729,"count":51},{"startOffset":15731,"endOffset":16164,"count":2},{"startOffset":16011,"endOffset":16160,"count":0}],"isBlockCoverage":true},{"functionName":"Module._findPath","ranges":[{"startOffset":16434,"endOffset":20492,"count":547},{"startOffset":16544,"endOffset":16567,"count":25},{"startOffset":16567,"endOffset":16630,"count":522},{"startOffset":16607,"endOffset":16630,"count":0},{"startOffset":16767,"endOffset":16780,"count":101},{"startOffset":16780,"endOffset":17363,"count":446},{"startOffset":17002,"endOffset":17356,"count":0},{"startOffset":17438,"endOffset":17894,"count":370},{"startOffset":17544,"endOffset":17629,"count":59},{"startOffset":17564,"endOffset":17628,"count":0},{"startOffset":17630,"endOffset":17888,"count":59},{"startOffset":17799,"endOffset":17886,"count":0},{"startOffset":17939,"endOffset":18093,"count":370},{"startOffset":18056,"endOffset":18089,"count":59},{"startOffset":18093,"endOffset":18155,"count":446},{"startOffset":18155,"endOffset":20473,"count":555},{"startOffset":18296,"endOffset":18306,"count":496},{"startOffset":18307,"endOffset":18403,"count":471},{"startOffset":18341,"endOffset":18379,"count":0},{"startOffset":18410,"endOffset":18433,"count":92},{"startOffset":18433,"endOffset":18461,"count":463},{"startOffset":18461,"endOffset":18591,"count":438},{"startOffset":18562,"endOffset":18585,"count":2},{"startOffset":18591,"endOffset":19950,"count":461},{"startOffset":18743,"endOffset":19727,"count":43},{"startOffset":18776,"endOffset":18965,"count":42},{"startOffset":18831,"endOffset":18891,"count":0},{"startOffset":18965,"endOffset":19719,"count":1},{"startOffset":19019,"endOffset":19659,"count":0},{"startOffset":19750,"endOffset":19944,"count":418},{"startOffset":19840,"endOffset":19878,"count":401},{"startOffset":19950,"endOffset":19970,"count":461},{"startOffset":19970,"endOffset":19981,"count":69},{"startOffset":19983,"endOffset":20199,"count":52},{"startOffset":20093,"endOffset":20131,"count":0},{"startOffset":20199,"endOffset":20219,"count":461},{"startOffset":20219,"endOffset":20295,"count":444},{"startOffset":20295,"endOffset":20473,"count":17},{"startOffset":20473,"endOffset":20491,"count":0}],"isBlockCoverage":true},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":20736,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":22345,"endOffset":23485,"count":403},{"startOffset":22623,"endOffset":22648,"count":0},{"startOffset":22941,"endOffset":23363,"count":25469},{"startOffset":23037,"endOffset":23233,"count":2740},{"startOffset":23074,"endOffset":23192,"count":2338},{"startOffset":23233,"endOffset":23357,"count":22729},{"startOffset":23253,"endOffset":23357,"count":7741},{"startOffset":23288,"endOffset":23314,"count":5403},{"startOffset":23314,"endOffset":23349,"count":2338}],"isBlockCoverage":true},{"functionName":"Module._resolveLookupPaths","ranges":[{"startOffset":23519,"endOffset":24778,"count":546},{"startOffset":23599,"endOffset":23665,"count":0},{"startOffset":23750,"endOffset":23949,"count":469},{"startOffset":23830,"endOffset":23880,"count":338},{"startOffset":23881,"endOffset":23948,"count":0},{"startOffset":23951,"endOffset":24250,"count":77},{"startOffset":23983,"endOffset":23998,"count":54},{"startOffset":24000,"endOffset":24110,"count":54},{"startOffset":24110,"endOffset":24150,"count":23},{"startOffset":24239,"endOffset":24245,"count":0},{"startOffset":24250,"endOffset":24318,"count":469},{"startOffset":24319,"endOffset":24338,"count":469},{"startOffset":24340,"endOffset":24589,"count":0},{"startOffset":24589,"endOffset":24777,"count":469}],"isBlockCoverage":true},{"functionName":"emitCircularRequireWarning","ranges":[{"startOffset":24781,"endOffset":24965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25178,"endOffset":25550,"count":0}],"isBlockCoverage":false},{"functionName":"getOwnPropertyDescriptor","ranges":[{"startOffset":25555,"endOffset":25796,"count":0}],"isBlockCoverage":false},{"functionName":"getExportsForCircularRequire","ranges":[{"startOffset":25803,"endOffset":26447,"count":2},{"startOffset":25972,"endOffset":26265,"count":1},{"startOffset":26267,"endOffset":26419,"count":1}],"isBlockCoverage":true},{"functionName":"Module._load","ranges":[{"startOffset":26860,"endOffset":29991,"count":839},{"startOffset":26943,"endOffset":27759,"count":816},{"startOffset":27402,"endOffset":27755,"count":220},{"startOffset":27592,"endOffset":27642,"count":0},{"startOffset":27687,"endOffset":27755,"count":0},{"startOffset":27759,"endOffset":27812,"count":619},{"startOffset":27812,"endOffset":28084,"count":14},{"startOffset":27941,"endOffset":28001,"count":0},{"startOffset":28084,"endOffset":28237,"count":605},{"startOffset":28237,"endOffset":28597,"count":195},{"startOffset":28317,"endOffset":28545,"count":27},{"startOffset":28413,"endOffset":28440,"count":25},{"startOffset":28450,"endOffset":28500,"count":2},{"startOffset":28500,"endOffset":28545,"count":25},{"startOffset":28545,"endOffset":28593,"count":168},{"startOffset":28597,"endOffset":28657,"count":435},{"startOffset":28657,"endOffset":28740,"count":60},{"startOffset":28740,"endOffset":28839,"count":375},{"startOffset":28839,"endOffset":28870,"count":350},{"startOffset":28887,"endOffset":29028,"count":0},{"startOffset":29028,"endOffset":29132,"count":375},{"startOffset":29132,"endOffset":29201,"count":352},{"startOffset":29201,"endOffset":29963,"count":375},{"startOffset":29306,"endOffset":29709,"count":0},{"startOffset":29734,"endOffset":29776,"count":374},{"startOffset":29777,"endOffset":29889,"count":374},{"startOffset":29891,"endOffset":29959,"count":1},{"startOffset":29963,"endOffset":29990,"count":375}],"isBlockCoverage":true},{"functionName":"Module._resolveFilename","ranges":[{"startOffset":30020,"endOffset":33106,"count":606},{"startOffset":30117,"endOffset":30142,"count":60},{"startOffset":30142,"endOffset":30192,"count":546},{"startOffset":30192,"endOffset":30211,"count":0},{"startOffset":30213,"endOffset":31290,"count":0},{"startOffset":31290,"endOffset":31385,"count":546},{"startOffset":31385,"endOffset":31433,"count":0},{"startOffset":31435,"endOffset":32047,"count":0},{"startOffset":32047,"endOffset":32208,"count":546},{"startOffset":32208,"endOffset":32404,"count":0},{"startOffset":32404,"endOffset":32560,"count":546},{"startOffset":32560,"endOffset":33105,"count":0}],"isBlockCoverage":true},{"functionName":"finalizeEsmResolution","ranges":[{"startOffset":33109,"endOffset":33678,"count":2},{"startOffset":33311,"endOffset":33430,"count":0},{"startOffset":33543,"endOffset":33677,"count":0}],"isBlockCoverage":true},{"functionName":"createEsmNotFoundErr","ranges":[{"startOffset":33680,"endOffset":33970,"count":0}],"isBlockCoverage":false},{"functionName":"Module.load","ranges":[{"startOffset":34059,"endOffset":34896,"count":375},{"startOffset":34394,"endOffset":34424,"count":0},{"startOffset":34430,"endOffset":34472,"count":0},{"startOffset":34752,"endOffset":34800,"count":0}],"isBlockCoverage":true},{"functionName":"Module.require","ranges":[{"startOffset":35095,"endOffset":35394,"count":816},{"startOffset":35155,"endOffset":35273,"count":0}],"isBlockCoverage":true},{"functionName":"wrapSafe","ranges":[{"startOffset":35584,"endOffset":37521,"count":372},{"startOffset":35668,"endOffset":36404,"count":0},{"startOffset":36944,"endOffset":36990,"count":0},{"startOffset":36991,"endOffset":37032,"count":0},{"startOffset":37034,"endOffset":37097,"count":0},{"startOffset":37183,"endOffset":37281,"count":6},{"startOffset":37315,"endOffset":37519,"count":0}],"isBlockCoverage":true},{"functionName":"importModuleDynamically","ranges":[{"startOffset":35895,"endOffset":36134,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":36617,"endOffset":36870,"count":2}],"isBlockCoverage":true},{"functionName":"Module._compile","ranges":[{"startOffset":37721,"endOffset":39539,"count":372},{"startOffset":37812,"endOffset":37822,"count":0},{"startOffset":37840,"endOffset":37993,"count":0},{"startOffset":38126,"endOffset":38150,"count":0},{"startOffset":38152,"endOffset":38888,"count":0},{"startOffset":39111,"endOffset":39137,"count":23},{"startOffset":39162,"endOffset":39301,"count":0},{"startOffset":39503,"endOffset":39520,"count":23}],"isBlockCoverage":true},{"functionName":"Module._extensions..js","ranges":[{"startOffset":39598,"endOffset":41380,"count":372},{"startOffset":39759,"endOffset":39767,"count":25},{"startOffset":39769,"endOffset":39834,"count":25},{"startOffset":39834,"endOffset":39894,"count":347},{"startOffset":39943,"endOffset":41340,"count":361},{"startOffset":39988,"endOffset":40010,"count":0},{"startOffset":40106,"endOffset":41336,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..json","ranges":[{"startOffset":41444,"endOffset":41850,"count":3},{"startOffset":41554,"endOffset":41564,"count":0},{"startOffset":41582,"endOffset":41684,"count":0},{"startOffset":41767,"endOffset":41848,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..node","ranges":[{"startOffset":41914,"endOffset":42256,"count":0}],"isBlockCoverage":false},{"functionName":"createRequireFromPath","ranges":[{"startOffset":42259,"endOffset":42720,"count":2},{"startOffset":42439,"endOffset":42481,"count":0},{"startOffset":42519,"endOffset":42555,"count":0}],"isBlockCoverage":true},{"functionName":"createRequire","ranges":[{"startOffset":42828,"endOffset":43373,"count":2},{"startOffset":43033,"endOffset":43165,"count":0},{"startOffset":43169,"endOffset":43329,"count":0}],"isBlockCoverage":true},{"functionName":"Module._initPaths","ranges":[{"startOffset":43434,"endOffset":44399,"count":1},{"startOffset":43475,"endOffset":43500,"count":0},{"startOffset":43552,"endOffset":43575,"count":0},{"startOffset":43783,"endOffset":43825,"count":0},{"startOffset":44124,"endOffset":44266,"count":0}],"isBlockCoverage":true},{"functionName":"Module._preloadModules","ranges":[{"startOffset":44427,"endOffset":45018,"count":0}],"isBlockCoverage":false},{"functionName":"syncBuiltinESMExports","ranges":[{"startOffset":45052,"endOffset":45233,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":45318,"endOffset":45376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"168","url":"node:internal/vm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2921,"count":1}],"isBlockCoverage":false},{"functionName":"isContext","ranges":[{"startOffset":419,"endOffset":554,"count":0}],"isBlockCoverage":false},{"functionName":"internalCompileFunction","ranges":[{"startOffset":556,"endOffset":2857,"count":372},{"startOffset":1151,"endOffset":1200,"count":0},{"startOffset":1304,"endOffset":1566,"count":0},{"startOffset":2045,"endOffset":2118,"count":0},{"startOffset":2145,"endOffset":2202,"count":0},{"startOffset":2258,"endOffset":2331,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1675,"endOffset":1824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"169","url":"node:internal/modules/helpers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7741,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":923,"endOffset":948,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCjsConditions","ranges":[{"startOffset":971,"endOffset":1363,"count":1},{"startOffset":1150,"endOffset":1154,"count":0}],"isBlockCoverage":true},{"functionName":"getCjsConditions","ranges":[{"startOffset":1365,"endOffset":1492,"count":2},{"startOffset":1430,"endOffset":1466,"count":0}],"isBlockCoverage":true},{"functionName":"loadBuiltinModule","ranges":[{"startOffset":1494,"endOffset":1823,"count":88},{"startOffset":1595,"endOffset":1612,"count":0}],"isBlockCoverage":true},{"functionName":"lazyModule","ranges":[{"startOffset":1845,"endOffset":1958,"count":374},{"startOffset":1889,"endOffset":1937,"count":1}],"isBlockCoverage":true},{"functionName":"makeRequireFunction","ranges":[{"startOffset":2207,"endOffset":4418,"count":374},{"startOffset":2346,"endOffset":2409,"count":0},{"startOffset":2443,"endOffset":3714,"count":0}],"isBlockCoverage":true},{"functionName":"require","ranges":[{"startOffset":2586,"endOffset":3709,"count":0}],"isBlockCoverage":false},{"functionName":"require","ranges":[{"startOffset":3736,"endOffset":3876,"count":815}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":3885,"endOffset":4031,"count":0}],"isBlockCoverage":false},{"functionName":"paths","ranges":[{"startOffset":4065,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"stripBOM","ranges":[{"startOffset":4603,"endOffset":4758,"count":3},{"startOffset":4685,"endOffset":4738,"count":0}],"isBlockCoverage":true},{"functionName":"addBuiltinLibsToObject","ranges":[{"startOffset":4760,"endOffset":6720,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeReferrerURL","ranges":[{"startOffset":6788,"endOffset":6976,"count":66},{"startOffset":6895,"endOffset":6941,"count":8},{"startOffset":6941,"endOffset":6975,"count":58}],"isBlockCoverage":true},{"functionName":"hasEsmSyntax","ranges":[{"startOffset":7046,"endOffset":7548,"count":0}],"isBlockCoverage":false}]},{"scriptId":"170","url":"node:internal/modules/package_json_reader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3711,"count":1}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":932,"endOffset":3682,"count":2051},{"startOffset":1028,"endOffset":1065,"count":1898},{"startOffset":1065,"endOffset":1742,"count":153},{"startOffset":1742,"endOffset":1751,"count":0},{"startOffset":1752,"endOffset":1766,"count":0},{"startOffset":1767,"endOffset":1789,"count":153},{"startOffset":1813,"endOffset":3632,"count":85},{"startOffset":1881,"endOffset":2477,"count":0},{"startOffset":2635,"endOffset":2669,"count":84},{"startOffset":2671,"endOffset":2711,"count":84},{"startOffset":2767,"endOffset":2801,"count":43},{"startOffset":2803,"endOffset":2843,"count":43},{"startOffset":2903,"endOffset":2949,"count":27},{"startOffset":3009,"endOffset":3055,"count":1},{"startOffset":3166,"endOffset":3225,"count":26},{"startOffset":3197,"endOffset":3224,"count":25},{"startOffset":3227,"endOffset":3267,"count":26},{"startOffset":3301,"endOffset":3497,"count":1},{"startOffset":3422,"endOffset":3475,"count":0},{"startOffset":3525,"endOffset":3628,"count":0},{"startOffset":3632,"endOffset":3681,"count":153}],"isBlockCoverage":true}]},{"scriptId":"171","url":"node:internal/modules/run_main","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2850,"count":1}],"isBlockCoverage":false},{"functionName":"resolveMainPath","ranges":[{"startOffset":155,"endOffset":666,"count":1},{"startOffset":495,"endOffset":502,"count":0}],"isBlockCoverage":true},{"functionName":"shouldUseESMLoader","ranges":[{"startOffset":668,"endOffset":1558,"count":1},{"startOffset":1184,"endOffset":1196,"count":0},{"startOffset":1378,"endOffset":1390,"count":0},{"startOffset":1457,"endOffset":1470,"count":0}],"isBlockCoverage":true},{"functionName":"runMainESM","ranges":[{"startOffset":1560,"endOffset":1920,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1736,"endOffset":1915,"count":1},{"startOffset":1833,"endOffset":1843,"count":0}],"isBlockCoverage":true},{"functionName":"handleMainPromise","ranges":[{"startOffset":1922,"endOffset":2196,"count":1}],"isBlockCoverage":true},{"functionName":"executeUserEntryPoint","ranges":[{"startOffset":2382,"endOffset":2780,"count":1},{"startOffset":2592,"endOffset":2599,"count":0},{"startOffset":2605,"endOffset":2778,"count":0}],"isBlockCoverage":true}]},{"scriptId":"172","url":"node:internal/modules/esm/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6457,"count":1}],"isBlockCoverage":false},{"functionName":"getDefaultConditions","ranges":[{"startOffset":707,"endOffset":813,"count":108}],"isBlockCoverage":true},{"functionName":"getDefaultConditionsSet","ranges":[{"startOffset":841,"endOffset":956,"count":107}],"isBlockCoverage":true},{"functionName":"initializeDefaultConditions","ranges":[{"startOffset":1036,"endOffset":1418,"count":1},{"startOffset":1219,"endOffset":1223,"count":0}],"isBlockCoverage":true},{"functionName":"getConditionsSet","ranges":[{"startOffset":1488,"endOffset":1847,"count":107},{"startOffset":1601,"endOffset":1809,"count":0}],"isBlockCoverage":true},{"functionName":"registerModule","ranges":[{"startOffset":3590,"endOffset":3817,"count":430}],"isBlockCoverage":true},{"functionName":"initializeImportMetaObject","ranges":[{"startOffset":3842,"endOffset":4133,"count":3}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyCallback","ranges":[{"startOffset":4158,"endOffset":4557,"count":3},{"startOffset":4501,"endOffset":4556,"count":0}],"isBlockCoverage":true},{"functionName":"initializeESM","ranges":[{"startOffset":4722,"endOffset":5098,"count":1}],"isBlockCoverage":true},{"functionName":"isLoaderWorker","ranges":[{"startOffset":5100,"endOffset":5155,"count":1}],"isBlockCoverage":true},{"functionName":"initializeHooks","ranges":[{"startOffset":5157,"endOffset":6268,"count":0}],"isBlockCoverage":false}]},{"scriptId":"173","url":"node:internal/process/esm_loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1190,"count":1}],"isBlockCoverage":false},{"functionName":"get esmLoader","ranges":[{"startOffset":386,"endOffset":458,"count":77}],"isBlockCoverage":true},{"functionName":"loadESM","ranges":[{"startOffset":462,"endOffset":1185,"count":1},{"startOffset":630,"endOffset":846,"count":0},{"startOffset":937,"endOffset":1181,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":728,"endOffset":836,"count":0}],"isBlockCoverage":false}]},{"scriptId":"174","url":"node:internal/modules/esm/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21570,"count":1}],"isBlockCoverage":false},{"functionName":"newResolveCache","ranges":[{"startOffset":783,"endOffset":913,"count":1}],"isBlockCoverage":true},{"functionName":"newLoadCache","ranges":[{"startOffset":915,"endOffset":1036,"count":1}],"isBlockCoverage":true},{"functionName":"getTranslators","ranges":[{"startOffset":1038,"endOffset":1160,"count":98}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1847,"endOffset":14781,"count":1}],"isBlockCoverage":false},{"functionName":"ModuleLoader","ranges":[{"startOffset":3114,"endOffset":3307,"count":1},{"startOffset":3202,"endOffset":3259,"count":0}],"isBlockCoverage":true},{"functionName":"setCustomizations","ranges":[{"startOffset":4847,"endOffset":5091,"count":1},{"startOffset":4950,"endOffset":5032,"count":0}],"isBlockCoverage":true},{"functionName":"eval","ranges":[{"startOffset":5095,"endOffset":6098,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleJob","ranges":[{"startOffset":6833,"endOffset":7068,"count":162}],"isBlockCoverage":true},{"functionName":"getModuleJobSync","ranges":[{"startOffset":7072,"endOffset":7309,"count":0}],"isBlockCoverage":false},{"functionName":"getJobFromResolveResult","ranges":[{"startOffset":7313,"endOffset":7897,"count":162},{"startOffset":7687,"endOffset":7749,"count":0},{"startOffset":7778,"endOffset":7876,"count":97}],"isBlockCoverage":true},{"functionName":"#createModuleJob","ranges":[{"startOffset":8535,"endOffset":9726,"count":97},{"startOffset":9027,"endOffset":9103,"count":0},{"startOffset":9246,"endOffset":9286,"count":1},{"startOffset":9341,"endOffset":9356,"count":0},{"startOffset":9358,"endOffset":9412,"count":0}],"isBlockCoverage":true},{"functionName":"callTranslator","ranges":[{"startOffset":8629,"endOffset":8943,"count":97},{"startOffset":8773,"endOffset":8853,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9035,"endOffset":9103,"count":0}],"isBlockCoverage":false},{"functionName":"moduleProvider","ranges":[{"startOffset":9112,"endOffset":9188,"count":97}],"isBlockCoverage":true},{"functionName":"import","ranges":[{"startOffset":10188,"endOffset":10413,"count":4}],"isBlockCoverage":true},{"functionName":"register","ranges":[{"startOffset":10479,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":11461,"endOffset":12047,"count":162},{"startOffset":11549,"endOffset":11647,"count":0},{"startOffset":11843,"endOffset":11877,"count":1},{"startOffset":11877,"endOffset":12046,"count":161}],"isBlockCoverage":true},{"functionName":"resolveSync","ranges":[{"startOffset":12205,"endOffset":12483,"count":0}],"isBlockCoverage":false},{"functionName":"defaultResolve","ranges":[{"startOffset":12695,"endOffset":13035,"count":161}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":13319,"endOffset":13623,"count":97},{"startOffset":13456,"endOffset":13510,"count":0}],"isBlockCoverage":true},{"functionName":"loadSync","ranges":[{"startOffset":13627,"endOffset":14158,"count":0}],"isBlockCoverage":false},{"functionName":"validateLoadResult","ranges":[{"startOffset":14162,"endOffset":14313,"count":97},{"startOffset":14220,"endOffset":14309,"count":0}],"isBlockCoverage":true},{"functionName":"importMetaInitialize","ranges":[{"startOffset":14317,"endOffset":14652,"count":3},{"startOffset":14385,"endOffset":14469,"count":0}],"isBlockCoverage":true},{"functionName":"forceLoadHooks","ranges":[{"startOffset":14713,"endOffset":14779,"count":1},{"startOffset":14756,"endOffset":14772,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14835,"endOffset":17345,"count":0}],"isBlockCoverage":false},{"functionName":"createModuleLoader","ranges":[{"startOffset":17841,"endOffset":19523,"count":1},{"startOffset":18306,"endOffset":19473,"count":0}],"isBlockCoverage":true},{"functionName":"readableURIEncode","ranges":[{"startOffset":18381,"endOffset":18876,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19196,"endOffset":19284,"count":0}],"isBlockCoverage":false},{"functionName":"getHooksProxy","ranges":[{"startOffset":19636,"endOffset":19812,"count":0}],"isBlockCoverage":false},{"functionName":"register","ranges":[{"startOffset":21096,"endOffset":21495,"count":0}],"isBlockCoverage":false}]},{"scriptId":"175","url":"node:internal/modules/esm/module_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3877,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":281,"endOffset":306,"count":1}],"isBlockCoverage":true},{"functionName":"ResolveCache","ranges":[{"startOffset":850,"endOffset":878,"count":1}],"isBlockCoverage":true},{"functionName":"serializeKey","ranges":[{"startOffset":1224,"endOffset":1836,"count":162},{"startOffset":1633,"endOffset":1835,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1752,"endOffset":1818,"count":0}],"isBlockCoverage":false},{"functionName":"#getModuleCachedImports","ranges":[{"startOffset":1840,"endOffset":2056,"count":323},{"startOffset":1954,"endOffset":2026,"count":37}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2231,"endOffset":2333,"count":162}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":2473,"endOffset":2602,"count":161}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":2606,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"LoadCache","ranges":[{"startOffset":2844,"endOffset":2872,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2921,"endOffset":3064,"count":162},{"startOffset":3051,"endOffset":3059,"count":65}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3067,"endOffset":3662,"count":97},{"startOffset":3286,"endOffset":3322,"count":0},{"startOffset":3324,"endOffset":3394,"count":0},{"startOffset":3478,"endOffset":3484,"count":0}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":3665,"endOffset":3822,"count":0}],"isBlockCoverage":false}]},{"scriptId":"176","url":"node:internal/modules/esm/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4026,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1321,"endOffset":1359,"count":5}],"isBlockCoverage":true},{"functionName":"validateAssertions","ranges":[{"startOffset":1780,"endOffset":3310,"count":97},{"startOffset":2002,"endOffset":2301,"count":0},{"startOffset":2330,"endOffset":2475,"count":0},{"startOffset":2740,"endOffset":2800,"count":0},{"startOffset":2806,"endOffset":2914,"count":0},{"startOffset":2920,"endOffset":3304,"count":0}],"isBlockCoverage":true},{"functionName":"handleInvalidType","ranges":[{"startOffset":3542,"endOffset":3956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"177","url":"node:internal/modules/esm/translators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15691,"count":1}],"isBlockCoverage":false},{"functionName":"lazyTypes","ranges":[{"startOffset":372,"endOffset":484,"count":116},{"startOffset":418,"endOffset":432,"count":115},{"startOffset":432,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":948,"endOffset":973,"count":1}],"isBlockCoverage":true},{"functionName":"initCJSParse","ranges":[{"startOffset":1545,"endOffset":1943,"count":6},{"startOffset":1619,"endOffset":1694,"count":0},{"startOffset":1852,"endOffset":1937,"count":0}],"isBlockCoverage":true},{"functionName":"assertBufferSource","ranges":[{"startOffset":2077,"endOffset":2498,"count":116},{"startOffset":2154,"endOffset":2181,"count":58},{"startOffset":2183,"endOffset":2200,"count":0},{"startOffset":2294,"endOffset":2319,"count":0},{"startOffset":2338,"endOffset":2417,"count":0},{"startOffset":2418,"endOffset":2422,"count":0}],"isBlockCoverage":true},{"functionName":"stringify","ranges":[{"startOffset":2500,"endOffset":2774,"count":83},{"startOffset":2559,"endOffset":2571,"count":25},{"startOffset":2571,"endOffset":2711,"count":58},{"startOffset":2711,"endOffset":2730,"count":1},{"startOffset":2731,"endOffset":2740,"count":57}],"isBlockCoverage":true},{"functionName":"errPath","ranges":[{"startOffset":2776,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":2923,"endOffset":3061,"count":1}],"isBlockCoverage":true},{"functionName":"moduleStrategy","ranges":[{"startOffset":3143,"endOffset":3668,"count":58}],"isBlockCoverage":true},{"functionName":"initializeImportMeta","ranges":[{"startOffset":3557,"endOffset":3613,"count":3}],"isBlockCoverage":true},{"functionName":"enrichCJSError","ranges":[{"startOffset":3835,"endOffset":4374,"count":0}],"isBlockCoverage":false},{"functionName":"loadCJSModule","ranges":[{"startOffset":4715,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"createCJSModuleWrap","ranges":[{"startOffset":6909,"endOffset":8288,"count":25},{"startOffset":7110,"endOffset":7115,"count":0},{"startOffset":7309,"endOffset":7331,"count":1},{"startOffset":7332,"endOffset":7361,"count":24},{"startOffset":7378,"endOffset":7434,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7494,"endOffset":8283,"count":25},{"startOffset":7571,"endOffset":7624,"count":23},{"startOffset":7806,"endOffset":7849,"count":0},{"startOffset":7892,"endOffset":8239,"count":70},{"startOffset":7956,"endOffset":7993,"count":69},{"startOffset":8003,"endOffset":8012,"count":2},{"startOffset":8012,"endOffset":8136,"count":68},{"startOffset":8136,"endOffset":8192,"count":0},{"startOffset":8192,"endOffset":8239,"count":68}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8448,"endOffset":8540,"count":0}],"isBlockCoverage":false},{"functionName":"commonjsStrategy","ranges":[{"startOffset":8728,"endOffset":9611,"count":25},{"startOffset":8860,"endOffset":8891,"count":6},{"startOffset":9358,"endOffset":9373,"count":0},{"startOffset":9498,"endOffset":9546,"count":0}],"isBlockCoverage":true},{"functionName":"cjsLoader","ranges":[{"startOffset":9138,"endOffset":9357,"count":23},{"startOffset":9277,"endOffset":9353,"count":0}],"isBlockCoverage":true},{"functionName":"cjsPreparseModuleExports","ranges":[{"startOffset":9615,"endOffset":12093,"count":25},{"startOffset":9798,"endOffset":9923,"count":0},{"startOffset":10231,"endOffset":10236,"count":0},{"startOffset":10244,"endOffset":10293,"count":0},{"startOffset":10469,"endOffset":12056,"count":1},{"startOffset":11330,"endOffset":11363,"count":0},{"startOffset":11629,"endOffset":11658,"count":0},{"startOffset":11660,"endOffset":12046,"count":0}],"isBlockCoverage":true},{"functionName":"builtinStrategy","ranges":[{"startOffset":12217,"endOffset":12623,"count":14},{"startOffset":12496,"endOffset":12548,"count":0}],"isBlockCoverage":true},{"functionName":"jsonStrategy","ranges":[{"startOffset":12735,"endOffset":14686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14752,"endOffset":15688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"178","url":"node:internal/modules/esm/resolve","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36606,"count":1}],"isBlockCoverage":false},{"functionName":"emitTrailingSlashPatternDeprecation","ranges":[{"startOffset":2334,"endOffset":2920,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidSegmentDeprecation","ranges":[{"startOffset":2962,"endOffset":3657,"count":0}],"isBlockCoverage":false},{"functionName":"emitLegacyIndexDeprecation","ranges":[{"startOffset":3805,"endOffset":4938,"count":22},{"startOffset":3967,"endOffset":4936,"count":0}],"isBlockCoverage":true},{"functionName":"legacyMainResolve","ranges":[{"startOffset":6029,"endOffset":6789,"count":22},{"startOffset":6196,"endOffset":6280,"count":0},{"startOffset":6320,"endOffset":6331,"count":0},{"startOffset":6543,"endOffset":6570,"count":14},{"startOffset":6571,"endOffset":6575,"count":8}],"isBlockCoverage":true},{"functionName":"finalizeResolution","ranges":[{"startOffset":6969,"endOffset":8433,"count":107},{"startOffset":7109,"endOffset":7252,"count":0},{"startOffset":7314,"endOffset":7498,"count":0},{"startOffset":7587,"endOffset":7623,"count":0},{"startOffset":7689,"endOffset":7781,"count":0},{"startOffset":7804,"endOffset":8092,"count":0},{"startOffset":8338,"endOffset":8343,"count":0}],"isBlockCoverage":true},{"functionName":"importNotDefined","ranges":[{"startOffset":8545,"endOffset":8756,"count":0}],"isBlockCoverage":false},{"functionName":"exportsNotFound","ranges":[{"startOffset":8866,"endOffset":9061,"count":0}],"isBlockCoverage":false},{"functionName":"throwInvalidSubpath","ranges":[{"startOffset":9228,"endOffset":9611,"count":0}],"isBlockCoverage":false},{"functionName":"invalidPackageTarget","ranges":[{"startOffset":9613,"endOffset":9991,"count":0}],"isBlockCoverage":false},{"functionName":"resolvePackageTargetString","ranges":[{"startOffset":10714,"endOffset":13451,"count":34},{"startOffset":10883,"endOffset":10894,"count":0},{"startOffset":10895,"endOffset":10931,"count":0},{"startOffset":10937,"endOffset":11011,"count":0},{"startOffset":11061,"endOffset":11618,"count":0},{"startOffset":11710,"endOffset":12320,"count":0},{"startOffset":12543,"endOffset":12617,"count":0},{"startOffset":12657,"endOffset":13450,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11393,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11919,"endOffset":11932,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12065,"endOffset":12078,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12792,"endOffset":12805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13032,"endOffset":13045,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13385,"endOffset":13398,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayIndex","ranges":[{"startOffset":13506,"endOffset":13646,"count":18},{"startOffset":13598,"endOffset":13643,"count":0}],"isBlockCoverage":true},{"functionName":"resolvePackageTarget","ranges":[{"startOffset":13910,"endOffset":16158,"count":44},{"startOffset":14103,"endOffset":14257,"count":34},{"startOffset":14257,"endOffset":16041,"count":10},{"startOffset":14289,"endOffset":15127,"count":2},{"startOffset":14320,"endOffset":14346,"count":0},{"startOffset":14666,"endOffset":14814,"count":0},{"startOffset":14854,"endOffset":14881,"count":0},{"startOffset":14916,"endOffset":14973,"count":0},{"startOffset":15007,"endOffset":15069,"count":0},{"startOffset":15077,"endOffset":15127,"count":0},{"startOffset":15127,"endOffset":16041,"count":8},{"startOffset":15280,"endOffset":15508,"count":18},{"startOffset":15338,"endOffset":15502,"count":0},{"startOffset":15551,"endOffset":15966,"count":13},{"startOffset":15608,"endOffset":15630,"count":10},{"startOffset":15632,"endOffset":15960,"count":8},{"startOffset":15913,"endOffset":15922,"count":0},{"startOffset":15966,"endOffset":16041,"count":0},{"startOffset":16041,"endOffset":16157,"count":0}],"isBlockCoverage":true},{"functionName":"isConditionalExportsMainSugar","ranges":[{"startOffset":16343,"endOffset":17278,"count":32},{"startOffset":16449,"endOffset":16473,"count":6},{"startOffset":16475,"endOffset":16487,"count":26},{"startOffset":16487,"endOffset":16541,"count":6},{"startOffset":16543,"endOffset":16556,"count":0},{"startOffset":16556,"endOffset":16696,"count":6},{"startOffset":16696,"endOffset":17247,"count":11},{"startOffset":16806,"endOffset":16863,"count":6},{"startOffset":16863,"endOffset":17243,"count":5},{"startOffset":16919,"endOffset":17243,"count":0},{"startOffset":17247,"endOffset":17277,"count":6}],"isBlockCoverage":true},{"functionName":"packageExportsResolve","ranges":[{"startOffset":17488,"endOffset":20047,"count":32},{"startOffset":17700,"endOffset":17727,"count":27},{"startOffset":18129,"endOffset":18203,"count":0},{"startOffset":18234,"endOffset":20046,"count":0}],"isBlockCoverage":true},{"functionName":"patternKeyCompare","ranges":[{"startOffset":20049,"endOffset":20580,"count":0}],"isBlockCoverage":false},{"functionName":"packageImportsResolve","ranges":[{"startOffset":20709,"endOffset":23166,"count":2},{"startOffset":20871,"endOffset":21024,"count":0},{"startOffset":21608,"endOffset":23100,"count":0},{"startOffset":23110,"endOffset":23165,"count":0}],"isBlockCoverage":true},{"functionName":"getPackageType","ranges":[{"startOffset":23271,"endOffset":23384,"count":116}],"isBlockCoverage":true},{"functionName":"parsePackageName","ranges":[{"startOffset":23546,"endOffset":24598,"count":52},{"startOffset":23737,"endOffset":23965,"count":1},{"startOffset":23817,"endOffset":23856,"count":0},{"startOffset":24027,"endOffset":24079,"count":0},{"startOffset":24256,"endOffset":24281,"count":0},{"startOffset":24308,"endOffset":24427,"count":0},{"startOffset":24488,"endOffset":24541,"count":0}],"isBlockCoverage":true},{"functionName":"packageResolve","ranges":[{"startOffset":24760,"endOffset":26832,"count":52},{"startOffset":24874,"endOffset":24920,"count":0},{"startOffset":25258,"endOffset":25375,"count":0},{"startOffset":25550,"endOffset":26617,"count":191},{"startOffset":25809,"endOffset":26086,"count":139},{"startOffset":25886,"endOffset":25923,"count":3},{"startOffset":25924,"endOffset":25950,"count":136},{"startOffset":26086,"endOffset":26267,"count":52},{"startOffset":26267,"endOffset":26384,"count":30},{"startOffset":26384,"endOffset":26526,"count":22},{"startOffset":26526,"endOffset":26617,"count":0},{"startOffset":26617,"endOffset":26831,"count":0}],"isBlockCoverage":true},{"functionName":"isBareSpecifier","ranges":[{"startOffset":26893,"endOffset":27003,"count":0}],"isBlockCoverage":false},{"functionName":"isRelativeSpecifier","ranges":[{"startOffset":27005,"endOffset":27276,"count":268},{"startOffset":27075,"endOffset":27258,"count":104},{"startOffset":27133,"endOffset":27145,"count":94},{"startOffset":27145,"endOffset":27254,"count":10},{"startOffset":27258,"endOffset":27275,"count":164}],"isBlockCoverage":true},{"functionName":"shouldBeTreatedAsRelativeOrAbsolutePath","ranges":[{"startOffset":27278,"endOffset":27461,"count":268},{"startOffset":27364,"endOffset":27377,"count":0},{"startOffset":27406,"endOffset":27418,"count":0}],"isBlockCoverage":true},{"functionName":"moduleResolve","ranges":[{"startOffset":27654,"endOffset":28445,"count":107},{"startOffset":27980,"endOffset":28026,"count":52},{"startOffset":28026,"endOffset":28316,"count":55},{"startOffset":28071,"endOffset":28143,"count":2},{"startOffset":28143,"endOffset":28316,"count":53},{"startOffset":28204,"endOffset":28312,"count":52},{"startOffset":28354,"endOffset":28380,"count":0}],"isBlockCoverage":true},{"functionName":"resolveAsCommonJS","ranges":[{"startOffset":28591,"endOffset":30048,"count":0}],"isBlockCoverage":false},{"functionName":"checkIfDisallowedImport","ranges":[{"startOffset":30110,"endOffset":31482,"count":161},{"startOffset":30204,"endOffset":31480,"count":160},{"startOffset":30416,"endOffset":31476,"count":0}],"isBlockCoverage":true},{"functionName":"throwIfInvalidParentURL","ranges":[{"startOffset":31557,"endOffset":31830,"count":161},{"startOffset":31634,"endOffset":31685,"count":1},{"startOffset":31685,"endOffset":31722,"count":160},{"startOffset":31722,"endOffset":31742,"count":0},{"startOffset":31744,"endOffset":31828,"count":0}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":31833,"endOffset":35819,"count":161},{"startOffset":31981,"endOffset":32000,"count":160},{"startOffset":31990,"endOffset":32000,"count":0},{"startOffset":32002,"endOffset":32811,"count":0},{"startOffset":32853,"endOffset":32958,"count":160},{"startOffset":32915,"endOffset":32954,"count":0},{"startOffset":33042,"endOffset":33101,"count":52},{"startOffset":33101,"endOffset":33149,"count":109},{"startOffset":33149,"endOffset":33423,"count":107},{"startOffset":33327,"endOffset":33415,"count":0},{"startOffset":33430,"endOffset":33489,"count":0},{"startOffset":33494,"endOffset":33529,"count":54},{"startOffset":33863,"endOffset":33882,"count":0},{"startOffset":33947,"endOffset":33977,"count":107},{"startOffset":33979,"endOffset":34022,"count":54},{"startOffset":34022,"endOffset":34081,"count":107},{"startOffset":34081,"endOffset":34579,"count":1},{"startOffset":34536,"endOffset":34575,"count":0},{"startOffset":34579,"endOffset":34735,"count":107},{"startOffset":34735,"endOffset":34757,"count":1},{"startOffset":34758,"endOffset":34776,"count":106},{"startOffset":34789,"endOffset":35593,"count":0},{"startOffset":35593,"endOffset":35818,"count":107}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":36211,"endOffset":36602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"179","url":"node:internal/modules/esm/package_config","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1412,"count":1}],"isBlockCoverage":false},{"functionName":"getPackageScopeConfig","ranges":[{"startOffset":269,"endOffset":1362,"count":170},{"startOffset":387,"endOffset":1107,"count":277},{"startOffset":521,"endOffset":541,"count":0},{"startOffset":731,"endOffset":766,"count":170},{"startOffset":766,"endOffset":1083,"count":107},{"startOffset":1083,"endOffset":1103,"count":0},{"startOffset":1107,"endOffset":1361,"count":0}],"isBlockCoverage":true}]},{"scriptId":"180","url":"node:internal/modules/esm/get_format","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4514,"count":1}],"isBlockCoverage":false},{"functionName":"node:","ranges":[{"startOffset":900,"endOffset":931,"count":14}],"isBlockCoverage":true},{"functionName":"getDataProtocolModuleFormat","ranges":[{"startOffset":996,"endOffset":1212,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":1487,"endOffset":1846,"count":129},{"startOffset":1587,"endOffset":1831,"count":400},{"startOffset":1649,"endOffset":1684,"count":0},{"startOffset":1692,"endOffset":1821,"count":129},{"startOffset":1780,"endOffset":1784,"count":0},{"startOffset":1831,"endOffset":1845,"count":0}],"isBlockCoverage":true},{"functionName":"getFileProtocolModuleFormat","ranges":[{"startOffset":1970,"endOffset":3175,"count":129},{"startOffset":2086,"endOffset":2160,"count":116},{"startOffset":2132,"endOffset":2142,"count":72},{"startOffset":2143,"endOffset":2155,"count":44},{"startOffset":2160,"endOffset":2232,"count":13},{"startOffset":2232,"endOffset":2467,"count":0},{"startOffset":2469,"endOffset":3174,"count":0}],"isBlockCoverage":true},{"functionName":"getHttpProtocolModuleFormat","ranges":[{"startOffset":3311,"endOffset":3656,"count":0}],"isBlockCoverage":false},{"functionName":"defaultGetFormatWithoutErrors","ranges":[{"startOffset":3801,"endOffset":4036,"count":129},{"startOffset":3955,"endOffset":3977,"count":0}],"isBlockCoverage":true},{"functionName":"defaultGetFormat","ranges":[{"startOffset":4181,"endOffset":4404,"count":14},{"startOffset":4322,"endOffset":4344,"count":0}],"isBlockCoverage":true}]},{"scriptId":"181","url":"node:internal/modules/esm/formats","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":856,"count":1}],"isBlockCoverage":false},{"functionName":"mimeToFormat","ranges":[{"startOffset":468,"endOffset":794,"count":0}],"isBlockCoverage":false}]},{"scriptId":"182","url":"node:internal/modules/esm/handle_process_exit","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":424,"count":1}],"isBlockCoverage":false},{"functionName":"handleProcessExit","ranges":[{"startOffset":298,"endOffset":379,"count":0}],"isBlockCoverage":false}]},{"scriptId":"183","url":"node:internal/modules/esm/module_job","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8786,"count":1}],"isBlockCoverage":false},{"functionName":"isCommonJSGlobalLikeNotDefinedError","ranges":[{"startOffset":917,"endOffset":1048,"count":0}],"isBlockCoverage":false},{"functionName":"ModuleJob","ranges":[{"startOffset":1286,"endOffset":3283,"count":97},{"startOffset":1811,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"link","ranges":[{"startOffset":2085,"endOffset":2900,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2541,"endOffset":2746,"count":158}],"isBlockCoverage":true},{"functionName":"instantiate","ranges":[{"startOffset":3287,"endOffset":3432,"count":4},{"startOffset":3344,"endOffset":3398,"count":3}],"isBlockCoverage":true},{"functionName":"_instantiate","ranges":[{"startOffset":3436,"endOffset":7090,"count":3},{"startOffset":3896,"endOffset":4073,"count":0},{"startOffset":4130,"endOffset":6843,"count":0},{"startOffset":6890,"endOffset":7086,"count":106}],"isBlockCoverage":true},{"functionName":"addJobsToDependencyGraph","ranges":[{"startOffset":3535,"endOffset":3795,"count":161},{"startOffset":3596,"endOffset":3621,"count":55},{"startOffset":3621,"endOffset":3794,"count":106}],"isBlockCoverage":true},{"functionName":"runSync","ranges":[{"startOffset":7094,"endOffset":7494,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":7498,"endOffset":8706,"count":4},{"startOffset":7673,"endOffset":8649,"count":0}],"isBlockCoverage":true}]},{"scriptId":"184","url":"node:internal/modules/esm/load","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6703,"count":1}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":1130,"endOffset":2357,"count":58},{"startOffset":1398,"endOffset":2223,"count":0},{"startOffset":2236,"endOffset":2246,"count":0},{"startOffset":2248,"endOffset":2304,"count":0}],"isBlockCoverage":true},{"functionName":"getSourceSync","ranges":[{"startOffset":2540,"endOffset":3279,"count":0}],"isBlockCoverage":false},{"functionName":"defaultLoad","ranges":[{"startOffset":3400,"endOffset":4067,"count":97},{"startOffset":3739,"endOffset":3827,"count":14},{"startOffset":3827,"endOffset":3855,"count":83},{"startOffset":3860,"endOffset":3884,"count":39},{"startOffset":3884,"endOffset":3986,"count":58}],"isBlockCoverage":true},{"functionName":"defaultLoadSync","ranges":[{"startOffset":4580,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfUnsupportedURLScheme","ranges":[{"startOffset":5367,"endOffset":5999,"count":97},{"startOffset":5597,"endOffset":5624,"count":14},{"startOffset":5625,"endOffset":5652,"count":14},{"startOffset":5653,"endOffset":5782,"count":0},{"startOffset":5787,"endOffset":5997,"count":0}],"isBlockCoverage":true},{"functionName":"throwUnknownModuleFormat","ranges":[{"startOffset":6378,"endOffset":6616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"185","url":"node:internal/fs/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29943,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCpPromises","ranges":[{"startOffset":2997,"endOffset":3089,"count":0}],"isBlockCoverage":false},{"functionName":"lazyFsStreams","ranges":[{"startOffset":3151,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3236,"endOffset":9299,"count":58}],"isBlockCoverage":false},{"functionName":"FileHandle","ranges":[{"startOffset":3377,"endOffset":3554,"count":58},{"startOffset":3491,"endOffset":3495,"count":0}],"isBlockCoverage":true},{"functionName":"getAsyncId","ranges":[{"startOffset":3558,"endOffset":3615,"count":0}],"isBlockCoverage":false},{"functionName":"get fd","ranges":[{"startOffset":3619,"endOffset":3655,"count":116}],"isBlockCoverage":true},{"functionName":"appendFile","ranges":[{"startOffset":3659,"endOffset":3741,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":3745,"endOffset":3801,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":3805,"endOffset":3869,"count":0}],"isBlockCoverage":false},{"functionName":"datasync","ranges":[{"startOffset":3873,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":3929,"endOffset":3973,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":3977,"endOffset":4086,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":4090,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":4175,"endOffset":4242,"count":0}],"isBlockCoverage":false},{"functionName":"readLines","ranges":[{"startOffset":4246,"endOffset":4389,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4393,"endOffset":4453,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":4457,"endOffset":4521,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":4525,"endOffset":4599,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":4603,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":4718,"endOffset":4801,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4805,"endOffset":4886,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":4898,"endOffset":5690,"count":58},{"startOffset":4932,"endOffset":4970,"count":0},{"startOffset":5001,"endOffset":5042,"count":0},{"startOffset":5268,"endOffset":5629,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5210,"endOffset":5252,"count":58}],"isBlockCoverage":true},{"functionName":".SafePromisePrototypeFinally.","ranges":[{"startOffset":5353,"endOffset":5465,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5468,"endOffset":5613,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5695,"endOffset":5754,"count":0}],"isBlockCoverage":false},{"functionName":"readableWebStream","ranges":[{"startOffset":5949,"endOffset":7635,"count":0}],"isBlockCoverage":false},{"functionName":"createReadStream","ranges":[{"startOffset":7933,"endOffset":8084,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":8333,"endOffset":8487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8491,"endOffset":8891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8895,"endOffset":8948,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8952,"endOffset":9039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9043,"endOffset":9076,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9080,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"handleFdClose","ranges":[{"startOffset":9301,"endOffset":9672,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9412,"endOffset":9471,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9458,"endOffset":9470,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9477,"endOffset":9664,"count":0}],"isBlockCoverage":false},{"functionName":"fsCall","ranges":[{"startOffset":9674,"endOffset":10134,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":10136,"endOffset":10256,"count":232},{"startOffset":10180,"endOffset":10189,"count":0},{"startOffset":10195,"endOffset":10254,"count":0}],"isBlockCoverage":true},{"functionName":"writeFileHandle","ranges":[{"startOffset":10258,"endOffset":11400,"count":0}],"isBlockCoverage":false},{"functionName":"readFileHandle","ranges":[{"startOffset":11402,"endOffset":13541,"count":58},{"startOffset":11554,"endOffset":11584,"count":0},{"startOffset":11864,"endOffset":11902,"count":0},{"startOffset":11935,"endOffset":11983,"count":0},{"startOffset":12016,"endOffset":12054,"count":0},{"startOffset":12296,"endOffset":12368,"count":0},{"startOffset":12512,"endOffset":12516,"count":0},{"startOffset":12601,"endOffset":12657,"count":0},{"startOffset":12751,"endOffset":12762,"count":0},{"startOffset":12819,"endOffset":12879,"count":0},{"startOffset":12927,"endOffset":12941,"count":0},{"startOffset":12943,"endOffset":13053,"count":0},{"startOffset":13084,"endOffset":13535,"count":0}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":13694,"endOffset":13915,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":13917,"endOffset":14186,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":14188,"endOffset":14546,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":14666,"endOffset":14991,"count":58}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":14993,"endOffset":16364,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":16366,"endOffset":16703,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":16705,"endOffset":17954,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":17956,"endOffset":18398,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":18400,"endOffset":18706,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":18708,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":18843,"endOffset":19002,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":19004,"endOffset":19208,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":19210,"endOffset":19581,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":19583,"endOffset":19672,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":19674,"endOffset":19755,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":19757,"endOffset":20234,"count":0}],"isBlockCoverage":false},{"functionName":"readdirRecursive","ranges":[{"startOffset":20236,"endOffset":21910,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":21912,"endOffset":22339,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":22341,"endOffset":22580,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":22582,"endOffset":23306,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":23308,"endOffset":23486,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":23488,"endOffset":23758,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":23760,"endOffset":24027,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":24029,"endOffset":24303,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":24305,"endOffset":24628,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":24630,"endOffset":24768,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":24770,"endOffset":24903,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":24905,"endOffset":25091,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":25093,"endOffset":25321,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":25323,"endOffset":25599,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":25601,"endOffset":25798,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":25800,"endOffset":26073,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":26075,"endOffset":26347,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":26349,"endOffset":26548,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":26550,"endOffset":26827,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":26829,"endOffset":27002,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":27004,"endOffset":27383,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":27385,"endOffset":28060,"count":0}],"isBlockCoverage":false},{"functionName":"isCustomIterable","ranges":[{"startOffset":28062,"endOffset":28176,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":28178,"endOffset":28419,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":28421,"endOffset":28765,"count":58},{"startOffset":28538,"endOffset":28544,"count":0},{"startOffset":28585,"endOffset":28622,"count":0}],"isBlockCoverage":true},{"functionName":"_watch","ranges":[{"startOffset":28767,"endOffset":29432,"count":0}],"isBlockCoverage":false}]},{"scriptId":"186","url":"node:internal/fs/rimraf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7454,"count":1}],"isBlockCoverage":false},{"functionName":"rimraf","ranges":[{"startOffset":1175,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_rimraf","ranges":[{"startOffset":1638,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERM","ranges":[{"startOffset":2499,"endOffset":2934,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdir","ranges":[{"startOffset":2937,"endOffset":3235,"count":0}],"isBlockCoverage":false},{"functionName":"_rmchildren","ranges":[{"startOffset":3238,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafPromises","ranges":[{"startOffset":3928,"endOffset":4126,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafSync","ranges":[{"startOffset":4129,"endOffset":4812,"count":0}],"isBlockCoverage":false},{"functionName":"_unlinkSync","ranges":[{"startOffset":4815,"endOffset":5444,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdirSync","ranges":[{"startOffset":5447,"endOffset":6944,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERMSync","ranges":[{"startOffset":6947,"endOffset":7394,"count":0}],"isBlockCoverage":false}]},{"scriptId":"187","url":"node:internal/fs/dir","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8071,"count":1}],"isBlockCoverage":false},{"functionName":"Dir","ranges":[{"startOffset":1177,"endOffset":1993,"count":0}],"isBlockCoverage":false},{"functionName":"get path","ranges":[{"startOffset":1997,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":2044,"endOffset":2111,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2115,"endOffset":3841,"count":0}],"isBlockCoverage":false},{"functionName":"processReadResult","ranges":[{"startOffset":3845,"endOffset":4099,"count":0}],"isBlockCoverage":false},{"functionName":"readSyncRecursive","ranges":[{"startOffset":4103,"endOffset":4676,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":4680,"endOffset":5656,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":5660,"endOffset":6349,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":6353,"endOffset":6730,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":6734,"endOffset":6997,"count":0}],"isBlockCoverage":false},{"functionName":"opendir","ranges":[{"startOffset":7177,"endOffset":7757,"count":0}],"isBlockCoverage":false},{"functionName":"opendirSync","ranges":[{"startOffset":7759,"endOffset":8014,"count":0}],"isBlockCoverage":false}]},{"scriptId":"188","url":"node:internal/fs/watchers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11242,"count":1}],"isBlockCoverage":false},{"functionName":"emitStop","ranges":[{"startOffset":1420,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher","ranges":[{"startOffset":1470,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"onchange","ranges":[{"startOffset":1820,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":2565,"endOffset":3399,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.start","ranges":[{"startOffset":3620,"endOffset":3628,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.stop","ranges":[{"startOffset":3874,"endOffset":4155,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":4244,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.ref","ranges":[{"startOffset":4702,"endOffset":4984,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.unref","ranges":[{"startOffset":5017,"endOffset":5267,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher","ranges":[{"startOffset":5271,"endOffset":6239,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.","ranges":[{"startOffset":6776,"endOffset":7686,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.start","ranges":[{"startOffset":7903,"endOffset":7911,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.close","ranges":[{"startOffset":8034,"endOffset":8371,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.ref","ranges":[{"startOffset":8400,"endOffset":8469,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.unref","ranges":[{"startOffset":8500,"endOffset":8571,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":8574,"endOffset":8626,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8850,"endOffset":8886,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8890,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":8967,"endOffset":11110,"count":0}],"isBlockCoverage":false}]},{"scriptId":"189","url":"node:internal/fs/recursive_watch","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7634,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFsPromises","ranges":[{"startOffset":812,"endOffset":919,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadFsSync","ranges":[{"startOffset":921,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"traverse","ranges":[{"startOffset":1037,"endOffset":1618,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1620,"endOffset":7580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"190","url":"node:internal/readline/interface","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":39029,"count":1}],"isBlockCoverage":false},{"functionName":"InterfaceConstructor","ranges":[{"startOffset":3781,"endOffset":9286,"count":0}],"isBlockCoverage":false},{"functionName":"Interface","ranges":[{"startOffset":9527,"endOffset":9627,"count":0}],"isBlockCoverage":false},{"functionName":"get columns","ranges":[{"startOffset":9630,"endOffset":9742,"count":0}],"isBlockCoverage":false},{"functionName":"setPrompt","ranges":[{"startOffset":9851,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"getPrompt","ranges":[{"startOffset":9996,"endOffset":10039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10043,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"prompt","ranges":[{"startOffset":10373,"endOffset":10627,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10631,"endOffset":10938,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10942,"endOffset":11184,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11188,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11279,"endOffset":11447,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11451,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11652,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12834,"endOffset":13839,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13923,"endOffset":14094,"count":0}],"isBlockCoverage":false},{"functionName":"pause","ranges":[{"startOffset":14175,"endOffset":14306,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":14398,"endOffset":14534,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":14805,"endOffset":14964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14968,"endOffset":16702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16706,"endOffset":17375,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17379,"endOffset":17778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17782,"endOffset":19990,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19994,"endOffset":20455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20459,"endOffset":20717,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20721,"endOffset":21203,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21207,"endOffset":21688,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21692,"endOffset":22452,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22456,"endOffset":22883,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22887,"endOffset":23165,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23169,"endOffset":23427,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23431,"endOffset":23691,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23695,"endOffset":23850,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23854,"endOffset":24529,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":24533,"endOffset":24682,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24686,"endOffset":24840,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24844,"endOffset":25031,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25035,"endOffset":25343,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25347,"endOffset":25655,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26090,"endOffset":26724,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26728,"endOffset":27436,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27511,"endOffset":28451,"count":0}],"isBlockCoverage":false},{"functionName":"getCursorPos","ranges":[{"startOffset":28628,"endOffset":28797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":28916,"endOffset":29473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29510,"endOffset":37760,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38068,"endOffset":38448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"191","url":"node:internal/readline/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12396,"count":1}],"isBlockCoverage":false},{"functionName":"CSI","ranges":[{"startOffset":385,"endOffset":579,"count":4},{"startOffset":544,"endOffset":559,"count":0}],"isBlockCoverage":true},{"functionName":"charLengthLeft","ranges":[{"startOffset":958,"endOffset":1220,"count":0}],"isBlockCoverage":false},{"functionName":"charLengthAt","ranges":[{"startOffset":1222,"endOffset":1484,"count":0}],"isBlockCoverage":false},{"functionName":"emitKeys","ranges":[{"startOffset":2213,"endOffset":11840,"count":0}],"isBlockCoverage":false},{"functionName":"commonPrefix","ranges":[{"startOffset":11870,"endOffset":12283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"192","url":"node:internal/readline/callbacks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2754,"count":1}],"isBlockCoverage":false},{"functionName":"cursorTo","ranges":[{"startOffset":460,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"moveCursor","ranges":[{"startOffset":1210,"endOffset":1722,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":1869,"endOffset":2272,"count":0}],"isBlockCoverage":false},{"functionName":"clearScreenDown","ranges":[{"startOffset":2349,"endOffset":2672,"count":0}],"isBlockCoverage":false}]},{"scriptId":"193","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/base.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7557,"count":1},{"startOffset":7375,"endOffset":7491,"count":0},{"startOffset":7522,"endOffset":7556,"count":0}],"isBlockCoverage":true},{"functionName":"exit","ranges":[{"startOffset":1052,"endOffset":1240,"count":1}],"isBlockCoverage":true},{"functionName":"handleProcessExit","ranges":[{"startOffset":1268,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":1946,"endOffset":6902,"count":1},{"startOffset":2368,"endOffset":2565,"count":0},{"startOffset":5638,"endOffset":5643,"count":0},{"startOffset":5646,"endOffset":5671,"count":0},{"startOffset":5908,"endOffset":5943,"count":0},{"startOffset":5944,"endOffset":5979,"count":0},{"startOffset":5981,"endOffset":6410,"count":0},{"startOffset":6682,"endOffset":6752,"count":0},{"startOffset":6756,"endOffset":6900,"count":0}],"isBlockCoverage":true},{"functionName":"checkSelectedByLineNumbers","ranges":[{"startOffset":2550,"endOffset":2561,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3090,"endOffset":3122,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3204,"endOffset":3232,"count":56}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3256,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3420,"endOffset":4245,"count":1},{"startOffset":3523,"endOffset":3593,"count":0},{"startOffset":3598,"endOffset":3756,"count":0},{"startOffset":3831,"endOffset":4000,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3813,"endOffset":3823,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4030,"endOffset":4240,"count":1},{"startOffset":4087,"endOffset":4223,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4282,"endOffset":4421,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4602,"endOffset":4633,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4642,"endOffset":4668,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4927,"endOffset":5129,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":5197,"endOffset":5585,"count":1},{"startOffset":5343,"endOffset":5584,"count":0}],"isBlockCoverage":true},{"functionName":"onError","ranges":[{"startOffset":6921,"endOffset":7139,"count":0}],"isBlockCoverage":false}]},{"scriptId":"194","url":"node:internal/deps/cjs-module-lexer/dist/lexer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":33616,"count":1}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":116,"endOffset":813,"count":25},{"startOffset":146,"endOffset":181,"count":0},{"startOffset":222,"endOffset":237,"count":0},{"startOffset":273,"endOffset":308,"count":1},{"startOffset":332,"endOffset":334,"count":0},{"startOffset":406,"endOffset":553,"count":0},{"startOffset":601,"endOffset":650,"count":1},{"startOffset":663,"endOffset":696,"count":0},{"startOffset":709,"endOffset":773,"count":71}],"isBlockCoverage":true},{"functionName":"B","ranges":[{"startOffset":813,"endOffset":1040,"count":72},{"startOffset":840,"endOffset":852,"count":71},{"startOffset":853,"endOffset":862,"count":70},{"startOffset":862,"endOffset":913,"count":2},{"startOffset":913,"endOffset":1023,"count":25},{"startOffset":958,"endOffset":1022,"count":0},{"startOffset":1023,"endOffset":1032,"count":2},{"startOffset":1032,"endOffset":1039,"count":0}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":1040,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"C","ranges":[{"startOffset":1141,"endOffset":1215,"count":25},{"startOffset":1192,"endOffset":1214,"count":73749}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":1221,"endOffset":33616,"count":6},{"startOffset":1245,"endOffset":33615,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1251,"endOffset":33611,"count":1},{"startOffset":33455,"endOffset":33524,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":33505,"endOffset":33523,"count":0}],"isBlockCoverage":false}]},{"scriptId":"195","url":"node:module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":397,"count":1}],"isBlockCoverage":false}]},{"scriptId":"196","url":"node:internal/source_map/source_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12067,"count":1}],"isBlockCoverage":false},{"functionName":"StringCharIterator","ranges":[{"startOffset":4000,"endOffset":4076,"count":0}],"isBlockCoverage":false},{"functionName":"next","ranges":[{"startOffset":4114,"endOffset":4192,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":4230,"endOffset":4306,"count":0}],"isBlockCoverage":false},{"functionName":"hasNext","ranges":[{"startOffset":4345,"endOffset":4409,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4550,"endOffset":10030,"count":0}],"isBlockCoverage":false},{"functionName":"isSeparator","ranges":[{"startOffset":10085,"endOffset":10154,"count":0}],"isBlockCoverage":false},{"functionName":"decodeVLQ","ranges":[{"startOffset":10244,"endOffset":11177,"count":0}],"isBlockCoverage":false},{"functionName":"cloneSourceMapV3","ranges":[{"startOffset":11244,"endOffset":11556,"count":0}],"isBlockCoverage":false},{"functionName":"compareSourceMapEntry","ranges":[{"startOffset":11751,"endOffset":12030,"count":0}],"isBlockCoverage":false}]},{"scriptId":"197","url":"node:process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":83,"count":1}],"isBlockCoverage":false}]},{"scriptId":"198","url":"node:internal/process/report","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2644,"count":1}],"isBlockCoverage":false},{"functionName":"writeReport","ranges":[{"startOffset":352,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getReport","ranges":[{"startOffset":775,"endOffset":940,"count":0}],"isBlockCoverage":false},{"functionName":"get directory","ranges":[{"startOffset":944,"endOffset":995,"count":0}],"isBlockCoverage":false},{"functionName":"set directory","ranges":[{"startOffset":999,"endOffset":1087,"count":0}],"isBlockCoverage":false},{"functionName":"get filename","ranges":[{"startOffset":1091,"endOffset":1140,"count":0}],"isBlockCoverage":false},{"functionName":"set filename","ranges":[{"startOffset":1144,"endOffset":1232,"count":0}],"isBlockCoverage":false},{"functionName":"get compact","ranges":[{"startOffset":1236,"endOffset":1283,"count":0}],"isBlockCoverage":false},{"functionName":"set compact","ranges":[{"startOffset":1287,"endOffset":1364,"count":0}],"isBlockCoverage":false},{"functionName":"get signal","ranges":[{"startOffset":1368,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"set signal","ranges":[{"startOffset":1417,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnFatalError","ranges":[{"startOffset":1558,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnFatalError","ranges":[{"startOffset":1634,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnSignal","ranges":[{"startOffset":1756,"endOffset":1820,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnSignal","ranges":[{"startOffset":1824,"endOffset":1985,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnUncaughtException","ranges":[{"startOffset":1989,"endOffset":2075,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnUncaughtException","ranges":[{"startOffset":2079,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"addSignalHandler","ranges":[{"startOffset":2217,"endOffset":2388,"count":0}],"isBlockCoverage":false},{"functionName":"removeSignalHandler","ranges":[{"startOffset":2390,"endOffset":2514,"count":0}],"isBlockCoverage":false},{"functionName":"signalHandler","ranges":[{"startOffset":2516,"endOffset":2590,"count":0}],"isBlockCoverage":false}]},{"scriptId":"199","url":"node:url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":32640,"count":1}],"isBlockCoverage":false},{"functionName":"Url","ranges":[{"startOffset":2149,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"urlParse","ranges":[{"startOffset":3430,"endOffset":4035,"count":0}],"isBlockCoverage":false},{"functionName":"isIpv6Hostname","ranges":[{"startOffset":4037,"endOffset":4260,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":5081,"endOffset":15159,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname","ranges":[{"startOffset":15190,"endOffset":16135,"count":0}],"isBlockCoverage":false},{"functionName":"autoEscapeStr","ranges":[{"startOffset":17192,"endOffset":17898,"count":0}],"isBlockCoverage":false},{"functionName":"urlFormat","ranges":[{"startOffset":17944,"endOffset":19115,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":19822,"endOffset":22199,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolve","ranges":[{"startOffset":22202,"endOffset":22301,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":22327,"endOffset":22428,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolveObject","ranges":[{"startOffset":22431,"endOffset":22574,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObject","ranges":[{"startOffset":22606,"endOffset":31725,"count":0}],"isBlockCoverage":false},{"functionName":"parseHost","ranges":[{"startOffset":31754,"endOffset":32027,"count":0}],"isBlockCoverage":false},{"functionName":"pathToFileURL","ranges":[{"startOffset":32248,"endOffset":32344,"count":1}],"isBlockCoverage":true}]},{"scriptId":"200","url":"node:internal/idna","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":124,"count":1}],"isBlockCoverage":false}]},{"scriptId":"202","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/chalk.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":351,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":197,"endOffset":350,"count":1},{"startOffset":238,"endOffset":298,"count":0}],"isBlockCoverage":true}]},{"scriptId":"203","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/provider-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":455,"endOffset":1345,"count":1},{"startOffset":1293,"endOffset":1312,"count":0}],"isBlockCoverage":true},{"functionName":"negotiateProtocol","ranges":[{"startOffset":665,"endOffset":1273,"count":1},{"startOffset":840,"endOffset":978,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":748,"endOffset":803,"count":2}],"isBlockCoverage":true},{"functionName":"findFiles","ranges":[{"startOffset":1047,"endOffset":1178,"count":0}],"isBlockCoverage":false},{"functionName":"typescript","ranges":[{"startOffset":1383,"endOffset":1462,"count":1}],"isBlockCoverage":true}]},{"scriptId":"204","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17,"count":1}],"isBlockCoverage":true}]},{"scriptId":"205","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/runner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15654,"count":1}],"isBlockCoverage":true},{"functionName":"makeFileURL","ranges":[{"startOffset":520,"endOffset":594,"count":1},{"startOffset":555,"endOffset":561,"count":0}],"isBlockCoverage":true},{"functionName":"Runner","ranges":[{"startOffset":644,"endOffset":5705,"count":1},{"startOffset":725,"endOffset":730,"count":0},{"startOffset":978,"endOffset":983,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.registerUniqueTitle","ranges":[{"startOffset":1787,"endOffset":1911,"count":14},{"startOffset":1834,"endOffset":1858,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.notifyTimeoutUpdate","ranges":[{"startOffset":1943,"endOffset":2058,"count":0}],"isBlockCoverage":false},{"functionName":"get snapshotDirectory","ranges":[{"startOffset":2187,"endOffset":2366,"count":0}],"isBlockCoverage":false},{"functionName":"Runner.chain.createChain.serial","ranges":[{"startOffset":2401,"endOffset":5489,"count":14},{"startOffset":2480,"endOffset":2630,"count":0},{"startOffset":2656,"endOffset":2769,"count":1},{"startOffset":2925,"endOffset":2990,"count":0},{"startOffset":3014,"endOffset":3813,"count":0},{"startOffset":3846,"endOffset":3965,"count":0},{"startOffset":4006,"endOffset":4093,"count":0},{"startOffset":4134,"endOffset":4205,"count":0},{"startOffset":4267,"endOffset":4522,"count":0},{"startOffset":4600,"endOffset":4669,"count":0},{"startOffset":4714,"endOffset":4730,"count":0},{"startOffset":4870,"endOffset":4992,"count":0},{"startOffset":5028,"endOffset":5072,"count":0},{"startOffset":5106,"endOffset":5116,"count":0},{"startOffset":5365,"endOffset":5480,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2706,"endOffset":2762,"count":1}],"isBlockCoverage":true},{"functionName":"get snapshots","ranges":[{"startOffset":5708,"endOffset":6318,"count":15},{"startOffset":5749,"endOffset":5781,"count":14},{"startOffset":5781,"endOffset":6317,"count":1}],"isBlockCoverage":true},{"functionName":"compareTestSnapshot","ranges":[{"startOffset":6321,"endOffset":6396,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":6399,"endOffset":6472,"count":0}],"isBlockCoverage":false},{"functionName":"saveSnapshotState","ranges":[{"startOffset":6475,"endOffset":6559,"count":1}],"isBlockCoverage":true},{"functionName":"onRun","ranges":[{"startOffset":6562,"endOffset":6620,"count":14}],"isBlockCoverage":true},{"functionName":"onRunComplete","ranges":[{"startOffset":6623,"endOffset":6692,"count":14}],"isBlockCoverage":true},{"functionName":"beforeExitHandler","ranges":[{"startOffset":6695,"endOffset":6809,"count":0}],"isBlockCoverage":false},{"functionName":"runMultiple","ranges":[{"startOffset":6812,"endOffset":8056,"count":45}],"isBlockCoverage":true},{"functionName":"runAndStoreResult","ranges":[{"startOffset":6923,"endOffset":7081,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7150,"endOffset":7998,"count":0}],"isBlockCoverage":false},{"functionName":"runSingle","ranges":[{"startOffset":8059,"endOffset":8330,"count":14}],"isBlockCoverage":true},{"functionName":"runHooks","ranges":[{"startOffset":8333,"endOffset":9506,"count":45},{"startOffset":9070,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8427,"endOffset":8959,"count":0}],"isBlockCoverage":false},{"functionName":"runTest","ranges":[{"startOffset":9509,"endOffset":11470,"count":14},{"startOffset":10007,"endOffset":10073,"count":0},{"startOffset":10940,"endOffset":11271,"count":0}],"isBlockCoverage":true},{"functionName":"Runnable.fn","ranges":[{"startOffset":10009,"endOffset":10073,"count":0}],"isBlockCoverage":false},{"functionName":"start","ranges":[{"startOffset":11473,"endOffset":15605,"count":1},{"startOffset":11619,"endOffset":12250,"count":0},{"startOffset":12296,"endOffset":12988,"count":14},{"startOffset":12327,"endOffset":12354,"count":0},{"startOffset":12356,"endOffset":12443,"count":0},{"startOffset":12484,"endOffset":12510,"count":0},{"startOffset":12512,"endOffset":12599,"count":0},{"startOffset":12810,"endOffset":12883,"count":0},{"startOffset":12906,"endOffset":12940,"count":0},{"startOffset":13028,"endOffset":13347,"count":0},{"startOffset":13425,"endOffset":13452,"count":0},{"startOffset":13454,"endOffset":13550,"count":0},{"startOffset":15547,"endOffset":15602,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13777,"endOffset":14380,"count":1},{"startOffset":13868,"endOffset":13892,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13923,"endOffset":14368,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14460,"endOffset":15058,"count":1},{"startOffset":14653,"endOffset":14669,"count":0},{"startOffset":14672,"endOffset":14696,"count":0},{"startOffset":14767,"endOffset":14790,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14971,"endOffset":15016,"count":14}],"isBlockCoverage":true},{"functionName":"interrupt","ranges":[{"startOffset":15608,"endOffset":15651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"206","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/serialize-error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4398,"count":1}],"isBlockCoverage":true},{"functionName":"isAvaAssertionError","ranges":[{"startOffset":385,"endOffset":467,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":469,"endOffset":614,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFile","ranges":[{"startOffset":616,"endOffset":756,"count":0}],"isBlockCoverage":false},{"functionName":"extractSource","ranges":[{"startOffset":795,"endOffset":1211,"count":0}],"isBlockCoverage":false},{"functionName":"buildSource","ranges":[{"startOffset":1213,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"trySerializeError","ranges":[{"startOffset":1957,"endOffset":3743,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":3760,"endOffset":4397,"count":0}],"isBlockCoverage":false}]},{"scriptId":"207","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/dependency-tracker.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":866,"count":1}],"isBlockCoverage":true},{"functionName":"flush","ranges":[{"startOffset":138,"endOffset":302,"count":2},{"startOffset":192,"endOffset":301,"count":1}],"isBlockCoverage":true},{"functionName":"track","ranges":[{"startOffset":304,"endOffset":519,"count":8},{"startOffset":368,"endOffset":382,"count":0},{"startOffset":419,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"install","ranges":[{"startOffset":556,"endOffset":836,"count":1},{"startOffset":633,"endOffset":833,"count":3}],"isBlockCoverage":true},{"functionName":"extensions.","ranges":[{"startOffset":700,"endOffset":828,"count":7}],"isBlockCoverage":true}]},{"scriptId":"208","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/line-numbers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3832,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":215,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"findTest","ranges":[{"startOffset":878,"endOffset":1452,"count":0}],"isBlockCoverage":false},{"functionName":"range","ranges":[{"startOffset":1468,"endOffset":1574,"count":0}],"isBlockCoverage":false},{"functionName":"translate","ranges":[{"startOffset":1595,"endOffset":2066,"count":0}],"isBlockCoverage":false},{"functionName":"lineNumberSelection","ranges":[{"startOffset":2084,"endOffset":3831,"count":1},{"startOffset":2196,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2334,"endOffset":3828,"count":0}],"isBlockCoverage":false}]},{"scriptId":"209","url":"node:internal/fs/streams","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14758,"count":1}],"isBlockCoverage":false},{"functionName":"_construct","ranges":[{"startOffset":1063,"endOffset":1966,"count":0}],"isBlockCoverage":false},{"functionName":"FileHandleOperations","ranges":[{"startOffset":2059,"endOffset":3058,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":3061,"endOffset":3238,"count":0}],"isBlockCoverage":false},{"functionName":"importFd","ranges":[{"startOffset":3240,"endOffset":4237,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream","ranges":[{"startOffset":4239,"endOffset":5982,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6171,"endOffset":6226,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6230,"endOffset":6287,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6323,"endOffset":6348,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._read","ranges":[{"startOffset":6524,"endOffset":7655,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._destroy","ranges":[{"startOffset":7690,"endOffset":8251,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.close","ranges":[{"startOffset":8283,"endOffset":8369,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8449,"endOffset":8483,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":8512,"endOffset":10303,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":10495,"endOffset":10550,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10554,"endOffset":10611,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10648,"endOffset":10673,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":10824,"endOffset":11617,"count":0}],"isBlockCoverage":false},{"functionName":"writevAll","ranges":[{"startOffset":11619,"endOffset":12436,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._write","ranges":[{"startOffset":12469,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._writev","ranges":[{"startOffset":12888,"endOffset":13450,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._destroy","ranges":[{"startOffset":13486,"endOffset":14047,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.close","ranges":[{"startOffset":14080,"endOffset":14462,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":14644,"endOffset":14678,"count":0}],"isBlockCoverage":false}]},{"scriptId":"210","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5900,"count":1},{"startOffset":1472,"endOffset":1706,"count":45},{"startOffset":2476,"endOffset":3149,"count":3},{"startOffset":5468,"endOffset":5471,"count":0}],"isBlockCoverage":true},{"functionName":"applyOptions","ranges":[{"startOffset":571,"endOffset":950,"count":5},{"startOffset":618,"endOffset":699,"count":3},{"startOffset":701,"endOffset":779,"count":0},{"startOffset":870,"endOffset":873,"count":0},{"startOffset":919,"endOffset":931,"count":2},{"startOffset":932,"endOffset":947,"count":3}],"isBlockCoverage":true},{"functionName":"Chalk","ranges":[{"startOffset":975,"endOffset":1084,"count":3}],"isBlockCoverage":true},{"functionName":"chalkFactory","ranges":[{"startOffset":1109,"endOffset":1275,"count":5}],"isBlockCoverage":true},{"functionName":"chalk","ranges":[{"startOffset":1137,"endOffset":1170,"count":0}],"isBlockCoverage":false},{"functionName":"createChalk","ranges":[{"startOffset":1278,"endOffset":1342,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1499,"endOffset":1699,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1728,"endOffset":1875,"count":0}],"isBlockCoverage":false},{"functionName":"getModelAnsi","ranges":[{"startOffset":1902,"endOffset":2394,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2499,"endOffset":2771,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2866,"endOffset":3142,"count":0}],"isBlockCoverage":false},{"functionName":"Object.defineProperties","ranges":[{"startOffset":3189,"endOffset":3197,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3245,"endOffset":3289,"count":20}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3293,"endOffset":3343,"count":0}],"isBlockCoverage":false},{"functionName":"createStyler","ranges":[{"startOffset":3375,"endOffset":3650,"count":4},{"startOffset":3500,"endOffset":3583,"count":0}],"isBlockCoverage":true},{"functionName":"createBuilder","ranges":[{"startOffset":3675,"endOffset":4243,"count":4}],"isBlockCoverage":true},{"functionName":"builder","ranges":[{"startOffset":3848,"endOffset":3959,"count":20},{"startOffset":3936,"endOffset":3958,"count":0}],"isBlockCoverage":true},{"functionName":"applyStyle","ranges":[{"startOffset":4265,"endOffset":5300,"count":20},{"startOffset":4318,"endOffset":4361,"count":0},{"startOffset":4419,"endOffset":4440,"count":0},{"startOffset":4511,"endOffset":4840,"count":0},{"startOffset":5177,"endOffset":5260,"count":0}],"isBlockCoverage":true}]},{"scriptId":"211","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/globs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6300,"count":1}],"isBlockCoverage":true},{"functionName":"buildExtensionPattern","ranges":[{"startOffset":755,"endOffset":838,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeGlobs","ranges":[{"startOffset":848,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"globFiles","ranges":[{"startOffset":3027,"endOffset":3288,"count":0}],"isBlockCoverage":false},{"functionName":"globDirectoriesSync","ranges":[{"startOffset":3319,"endOffset":3578,"count":0}],"isBlockCoverage":false},{"functionName":"findFiles","ranges":[{"startOffset":3588,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"findTests","ranges":[{"startOffset":3771,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getChokidarIgnorePatterns","ranges":[{"startOffset":3974,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"applyTestFileFilter","ranges":[{"startOffset":4200,"endOffset":6299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"212","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13357,"count":1}],"isBlockCoverage":true},{"functionName":"assertEventName","ranges":[{"startOffset":349,"endOffset":569,"count":66},{"startOffset":422,"endOffset":454,"count":4},{"startOffset":455,"endOffset":487,"count":0},{"startOffset":489,"endOffset":567,"count":0}],"isBlockCoverage":true},{"functionName":"assertListener","ranges":[{"startOffset":571,"endOffset":704,"count":4},{"startOffset":644,"endOffset":702,"count":0}],"isBlockCoverage":true},{"functionName":"getListeners","ranges":[{"startOffset":706,"endOffset":869,"count":66},{"startOffset":821,"endOffset":835,"count":8},{"startOffset":835,"endOffset":868,"count":58}],"isBlockCoverage":true},{"functionName":"getEventProducers","ranges":[{"startOffset":871,"endOffset":1175,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueProducers","ranges":[{"startOffset":1177,"endOffset":1587,"count":62},{"startOffset":1315,"endOffset":1408,"count":0},{"startOffset":1550,"endOffset":1582,"count":0}],"isBlockCoverage":true},{"functionName":"iterator","ranges":[{"startOffset":1589,"endOffset":2972,"count":0}],"isBlockCoverage":false},{"functionName":"defaultMethodNamesOrAssert","ranges":[{"startOffset":2974,"endOffset":3495,"count":0}],"isBlockCoverage":false},{"functionName":"isMetaEvent","ranges":[{"startOffset":3517,"endOffset":3590,"count":132},{"startOffset":3558,"endOffset":3590,"count":120}],"isBlockCoverage":true},{"functionName":"emitMetaEvent","ranges":[{"startOffset":3593,"endOffset":3808,"count":4}],"isBlockCoverage":true},{"functionName":"mixin","ranges":[{"startOffset":3850,"endOffset":4933,"count":0}],"isBlockCoverage":false},{"functionName":"get isDebugEnabled","ranges":[{"startOffset":4943,"endOffset":5528,"count":66},{"startOffset":5304,"endOffset":5341,"count":0},{"startOffset":5432,"endOffset":5444,"count":0}],"isBlockCoverage":true},{"functionName":"set isDebugEnabled","ranges":[{"startOffset":5538,"endOffset":5606,"count":0}],"isBlockCoverage":false},{"functionName":"Emittery","ranges":[{"startOffset":5609,"endOffset":6731,"count":1}],"isBlockCoverage":true},{"functionName":"Emittery.debug.logger","ranges":[{"startOffset":5961,"endOffset":6723,"count":0}],"isBlockCoverage":false},{"functionName":"logIfDebugEnabled","ranges":[{"startOffset":6734,"endOffset":6910,"count":66},{"startOffset":6835,"endOffset":6907,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":6913,"endOffset":7515,"count":4},{"startOffset":7010,"endOffset":7022,"count":0}],"isBlockCoverage":true},{"functionName":"off","ranges":[{"startOffset":7518,"endOffset":8087,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":8090,"endOffset":8292,"count":0}],"isBlockCoverage":false},{"functionName":"events","ranges":[{"startOffset":8295,"endOffset":8501,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":8504,"endOffset":9384,"count":62},{"startOffset":8599,"endOffset":8620,"count":4},{"startOffset":8622,"endOffset":8724,"count":0},{"startOffset":8882,"endOffset":8894,"count":4},{"startOffset":9031,"endOffset":9035,"count":4},{"startOffset":9036,"endOffset":9055,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9131,"endOffset":9229,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9261,"endOffset":9373,"count":0}],"isBlockCoverage":false},{"functionName":"emitSerial","ranges":[{"startOffset":9387,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"onAny","ranges":[{"startOffset":10237,"endOffset":10478,"count":0}],"isBlockCoverage":false},{"functionName":"anyEvent","ranges":[{"startOffset":10481,"endOffset":10521,"count":0}],"isBlockCoverage":false},{"functionName":"offAny","ranges":[{"startOffset":10524,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"clearListeners","ranges":[{"startOffset":10733,"endOffset":11739,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":11742,"endOffset":12458,"count":0}],"isBlockCoverage":false},{"functionName":"bindMethods","ranges":[{"startOffset":12461,"endOffset":12966,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13051,"endOffset":13075,"count":14}],"isBlockCoverage":true}]},{"scriptId":"213","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/matcher/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2646,"count":1}],"isBlockCoverage":true},{"functionName":"sanitizeArray","ranges":[{"startOffset":110,"endOffset":713,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegexp","ranges":[{"startOffset":735,"endOffset":1261,"count":0}],"isBlockCoverage":false},{"functionName":"baseMatcher","ranges":[{"startOffset":1284,"endOffset":2412,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2422,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"isMatch","ranges":[{"startOffset":2533,"endOffset":2645,"count":0}],"isBlockCoverage":false}]},{"scriptId":"214","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/context-ref.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":555,"count":1}],"isBlockCoverage":true},{"functionName":"ContextRef","ranges":[{"startOffset":35,"endOffset":72,"count":15}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":75,"endOffset":106,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":109,"endOffset":152,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":155,"endOffset":198,"count":14}],"isBlockCoverage":true},{"functionName":"LateBinding","ranges":[{"startOffset":242,"endOffset":314,"count":14}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":317,"endOffset":487,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":490,"endOffset":552,"count":0}],"isBlockCoverage":false}]},{"scriptId":"215","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/create-chain.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4371,"count":1}],"isBlockCoverage":true},{"functionName":"startChain","ranges":[{"startOffset":38,"endOffset":265,"count":11}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":94,"endOffset":140,"count":14}],"isBlockCoverage":true},{"functionName":"extendChain","ranges":[{"startOffset":267,"endOffset":633,"count":27},{"startOffset":324,"endOffset":343,"count":7}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":357,"endOffset":412,"count":0}],"isBlockCoverage":false},{"functionName":"callWithFlag","ranges":[{"startOffset":635,"endOffset":965,"count":0}],"isBlockCoverage":false},{"functionName":"createHookChain","ranges":[{"startOffset":967,"endOffset":1316,"count":8},{"startOffset":1217,"endOffset":1299,"count":4}],"isBlockCoverage":true},{"functionName":"createChain","ranges":[{"startOffset":1333,"endOffset":4370,"count":1}],"isBlockCoverage":true},{"functionName":"root.macro","ranges":[{"startOffset":3411,"endOffset":3580,"count":0}],"isBlockCoverage":false},{"functionName":"apply","ranges":[{"startOffset":4105,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4196,"endOffset":4341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"216","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/parse-test-args.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":701,"count":1}],"isBlockCoverage":true},{"functionName":"buildTitle","ranges":[{"startOffset":19,"endOffset":366,"count":14},{"startOffset":104,"endOffset":140,"count":0}],"isBlockCoverage":true},{"functionName":"parseTestArgs","ranges":[{"startOffset":384,"endOffset":700,"count":14},{"startOffset":476,"endOffset":487,"count":0},{"startOffset":602,"endOffset":623,"count":0}],"isBlockCoverage":true}]},{"scriptId":"217","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/snapshot-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13174,"count":1}],"isBlockCoverage":true},{"functionName":"SnapshotError","ranges":[{"startOffset":1259,"endOffset":1371,"count":0}],"isBlockCoverage":false},{"functionName":"ChecksumError","ranges":[{"startOffset":1427,"endOffset":1524,"count":0}],"isBlockCoverage":false},{"functionName":"VersionMismatchError","ranges":[{"startOffset":1587,"endOffset":1774,"count":0}],"isBlockCoverage":false},{"functionName":"InvalidSnapshotError","ranges":[{"startOffset":1837,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"isLegacySnapshot","ranges":[{"startOffset":2016,"endOffset":2144,"count":0}],"isBlockCoverage":false},{"functionName":"LegacyError","ranges":[{"startOffset":2196,"endOffset":2294,"count":0}],"isBlockCoverage":false},{"functionName":"tryRead","ranges":[{"startOffset":2298,"endOffset":2454,"count":1},{"startOffset":2433,"endOffset":2452,"count":0}],"isBlockCoverage":true},{"functionName":"formatEntry","ranges":[{"startOffset":2456,"endOffset":2875,"count":0}],"isBlockCoverage":false},{"functionName":"combineEntries","ranges":[{"startOffset":2877,"endOffset":3292,"count":0}],"isBlockCoverage":false},{"functionName":"generateReport","ranges":[{"startOffset":3294,"endOffset":3611,"count":0}],"isBlockCoverage":false},{"functionName":"BufferBuilder","ranges":[{"startOffset":3636,"endOffset":3698,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":3701,"endOffset":3818,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3821,"endOffset":4011,"count":0}],"isBlockCoverage":false},{"functionName":"toBuffer","ranges":[{"startOffset":4014,"endOffset":4084,"count":0}],"isBlockCoverage":false},{"functionName":"sortBlocks","ranges":[{"startOffset":4088,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"encodeSnapshots","ranges":[{"startOffset":4450,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"decodeSnapshots","ranges":[{"startOffset":5016,"endOffset":5987,"count":0}],"isBlockCoverage":false},{"functionName":"Manager","ranges":[{"startOffset":6006,"endOffset":6530,"count":1}],"isBlockCoverage":true},{"functionName":"touch","ranges":[{"startOffset":6533,"endOffset":6604,"count":14}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":6607,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"recordSerialized","ranges":[{"startOffset":7345,"endOffset":8027,"count":0}],"isBlockCoverage":false},{"functionName":"deferRecord","ranges":[{"startOffset":8030,"endOffset":8370,"count":0}],"isBlockCoverage":false},{"functionName":"record","ranges":[{"startOffset":8373,"endOffset":8449,"count":0}],"isBlockCoverage":false},{"functionName":"skipBlock","ranges":[{"startOffset":8452,"endOffset":8587,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":8590,"endOffset":9164,"count":0}],"isBlockCoverage":false},{"functionName":"save","ranges":[{"startOffset":9167,"endOffset":10106,"count":1},{"startOffset":9266,"endOffset":9301,"count":0},{"startOffset":9303,"endOffset":9421,"count":0},{"startOffset":9468,"endOffset":10105,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9565,"endOffset":9604,"count":0}],"isBlockCoverage":false},{"functionName":"tmpfileCreated","ranges":[{"startOffset":9845,"endOffset":9878,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10140,"endOffset":10658,"count":1},{"startOffset":10399,"endOffset":10420,"count":0},{"startOffset":10441,"endOffset":10632,"count":0},{"startOffset":10635,"endOffset":10655,"count":0}],"isBlockCoverage":true},{"functionName":"mem.cacheKey.file.file","ranges":[{"startOffset":10702,"endOffset":11285,"count":1},{"startOffset":10819,"endOffset":10947,"count":0},{"startOffset":11054,"endOffset":11104,"count":0},{"startOffset":11265,"endOffset":11284,"count":0}],"isBlockCoverage":true},{"functionName":"cacheKey","ranges":[{"startOffset":11298,"endOffset":11316,"count":1}],"isBlockCoverage":true},{"functionName":"determineSnapshotPaths","ranges":[{"startOffset":11321,"endOffset":11775,"count":1}],"isBlockCoverage":true},{"functionName":"cleanFile","ranges":[{"startOffset":11777,"endOffset":11941,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":11950,"endOffset":13173,"count":1},{"startOffset":12141,"endOffset":12274,"count":0},{"startOffset":12552,"endOffset":13125,"count":0},{"startOffset":13126,"endOffset":13141,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12700,"endOffset":12737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"218","url":"node:internal/file","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1801,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":424,"endOffset":1563,"count":0}],"isBlockCoverage":false}]},{"scriptId":"219","url":"node:crypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8825,"count":1}],"isBlockCoverage":false},{"functionName":"lazyWebCrypto","ranges":[{"startOffset":3084,"endOffset":3186,"count":6}],"isBlockCoverage":true},{"functionName":"lazyOwnsProcessState","ranges":[{"startOffset":3210,"endOffset":3340,"count":0}],"isBlockCoverage":false},{"functionName":"createHash","ranges":[{"startOffset":3482,"endOffset":3564,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3566,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"createCipheriv","ranges":[{"startOffset":3668,"endOffset":3770,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipher","ranges":[{"startOffset":3772,"endOffset":3876,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipheriv","ranges":[{"startOffset":3878,"endOffset":3984,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellman","ranges":[{"startOffset":3986,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellmanGroup","ranges":[{"startOffset":4144,"endOffset":4226,"count":0}],"isBlockCoverage":false},{"functionName":"createECDH","ranges":[{"startOffset":4228,"endOffset":4284,"count":0}],"isBlockCoverage":false},{"functionName":"createHmac","ranges":[{"startOffset":4286,"endOffset":4368,"count":0}],"isBlockCoverage":false},{"functionName":"createSign","ranges":[{"startOffset":4370,"endOffset":4452,"count":0}],"isBlockCoverage":false},{"functionName":"createVerify","ranges":[{"startOffset":4454,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"getFips","ranges":[{"startOffset":5583,"endOffset":5668,"count":0}],"isBlockCoverage":false},{"functionName":"setFips","ranges":[{"startOffset":5670,"endOffset":5954,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":5956,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6125,"endOffset":6379,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6383,"endOffset":6572,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomBytesAlias","ranges":[{"startOffset":6621,"endOffset":7454,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6719,"endOffset":7209,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7215,"endOffset":7446,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8198,"endOffset":8238,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8350,"endOffset":8397,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8523,"endOffset":8544,"count":3}],"isBlockCoverage":true}]},{"scriptId":"220","url":"node:internal/crypto/random","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16246,"count":1}],"isBlockCoverage":false},{"functionName":"assertOffset","ranges":[{"startOffset":1260,"endOffset":1626,"count":0}],"isBlockCoverage":false},{"functionName":"assertSize","ranges":[{"startOffset":1628,"endOffset":2089,"count":0}],"isBlockCoverage":false},{"functionName":"randomBytes","ranges":[{"startOffset":2091,"endOffset":2634,"count":0}],"isBlockCoverage":false},{"functionName":"randomFillSync","ranges":[{"startOffset":2636,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"randomFill","ranges":[{"startOffset":3306,"endOffset":4352,"count":0}],"isBlockCoverage":false},{"functionName":"randomInt","ranges":[{"startOffset":4902,"endOffset":7142,"count":0}],"isBlockCoverage":false},{"functionName":"asyncRefillRandomIntCache","ranges":[{"startOffset":7144,"endOffset":8020,"count":0}],"isBlockCoverage":false},{"functionName":"onJobDone","ranges":[{"startOffset":8023,"endOffset":8185,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":8417,"endOffset":9033,"count":0}],"isBlockCoverage":false},{"functionName":"getHexBytes","ranges":[{"startOffset":9398,"endOffset":9697,"count":0}],"isBlockCoverage":false},{"functionName":"serializeUUID","ranges":[{"startOffset":9699,"endOffset":10425,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedUUID","ranges":[{"startOffset":10427,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"getUnbufferedUUID","ranges":[{"startOffset":10732,"endOffset":10970,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":10972,"endOffset":11292,"count":0}],"isBlockCoverage":false},{"functionName":"createRandomPrimeJob","ranges":[{"startOffset":11294,"endOffset":12527,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrime","ranges":[{"startOffset":12529,"endOffset":12985,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrimeSync","ranges":[{"startOffset":12987,"endOffset":13245,"count":0}],"isBlockCoverage":false},{"functionName":"numberToHexCharCode","ranges":[{"startOffset":13519,"endOffset":13563,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBufferToUnsignedBigInt","ranges":[{"startOffset":13638,"endOffset":14065,"count":0}],"isBlockCoverage":false},{"functionName":"unsignedBigIntToBuffer","ranges":[{"startOffset":14067,"endOffset":14364,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrime","ranges":[{"startOffset":14366,"endOffset":15259,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrimeSync","ranges":[{"startOffset":15261,"endOffset":16059,"count":0}],"isBlockCoverage":false}]},{"scriptId":"221","url":"node:internal/crypto/pbkdf2","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3018,"count":1}],"isBlockCoverage":false},{"functionName":"pbkdf2","ranges":[{"startOffset":472,"endOffset":1136,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2Sync","ranges":[{"startOffset":1138,"endOffset":1543,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1545,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2DeriveBits","ranges":[{"startOffset":2059,"endOffset":2950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"222","url":"node:internal/crypto/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14973,"count":1}],"isBlockCoverage":false},{"functionName":"toBuf","ranges":[{"startOffset":1730,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1943,"endOffset":1986,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2020,"endOffset":2062,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2096,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"setEngine","ranges":[{"startOffset":2142,"endOffset":2549,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2596,"endOffset":3060,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBufferLength","ranges":[{"startOffset":6504,"endOffset":6717,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeAlgorithm","ranges":[{"startOffset":6943,"endOffset":9378,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayBuffer","ranges":[{"startOffset":9380,"endOffset":9519,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteOffset","ranges":[{"startOffset":9521,"endOffset":9672,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteLength","ranges":[{"startOffset":9674,"endOffset":9825,"count":0}],"isBlockCoverage":false},{"functionName":"hasAnyNotIn","ranges":[{"startOffset":9827,"endOffset":9966,"count":0}],"isBlockCoverage":false},{"functionName":"validateBitLength","ranges":[{"startOffset":9968,"endOffset":10310,"count":0}],"isBlockCoverage":false},{"functionName":"validateByteLength","ranges":[{"startOffset":10312,"endOffset":10508,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10553,"endOffset":10822,"count":0}],"isBlockCoverage":false},{"functionName":"onDone","ranges":[{"startOffset":10826,"endOffset":11058,"count":0}],"isBlockCoverage":false},{"functionName":"jobPromise","ranges":[{"startOffset":11060,"endOffset":11330,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedInt","ranges":[{"startOffset":11866,"endOffset":12146,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedBigInt","ranges":[{"startOffset":12148,"endOffset":12384,"count":0}],"isBlockCoverage":false},{"functionName":"getStringOption","ranges":[{"startOffset":12386,"endOffset":12551,"count":0}],"isBlockCoverage":false},{"functionName":"getUsagesUnion","ranges":[{"startOffset":12553,"endOffset":12765,"count":0}],"isBlockCoverage":false},{"functionName":"getBlockSize","ranges":[{"startOffset":12767,"endOffset":12948,"count":0}],"isBlockCoverage":false},{"functionName":"validateKeyOps","ranges":[{"startOffset":13087,"endOffset":14053,"count":0}],"isBlockCoverage":false},{"functionName":"secureHeapUsed","ranges":[{"startOffset":14055,"endOffset":14438,"count":0}],"isBlockCoverage":false}]},{"scriptId":"223","url":"node:internal/crypto/hashnames","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2520,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeHashName","ranges":[{"startOffset":1890,"endOffset":2133,"count":0}],"isBlockCoverage":false}]},{"scriptId":"224","url":"node:internal/crypto/scrypt","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3331,"count":1}],"isBlockCoverage":false},{"functionName":"scrypt","ranges":[{"startOffset":626,"endOffset":1292,"count":0}],"isBlockCoverage":false},{"functionName":"scryptSync","ranges":[{"startOffset":1294,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1702,"endOffset":3283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"225","url":"node:internal/crypto/hkdf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3304,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":816,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"prepareKey","ranges":[{"startOffset":1274,"endOffset":1702,"count":0}],"isBlockCoverage":false},{"functionName":"hkdf","ranges":[{"startOffset":1704,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfSync","ranges":[{"startOffset":2172,"endOffset":2510,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfDeriveBits","ranges":[{"startOffset":2549,"endOffset":3242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"226","url":"node:internal/crypto/keys","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21401,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2331,"endOffset":6452,"count":1}],"isBlockCoverage":true},{"functionName":"KeyObject","ranges":[{"startOffset":2441,"endOffset":2983,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":2989,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":3049,"endOffset":3190,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":3196,"endOffset":3480,"count":0}],"isBlockCoverage":false},{"functionName":"SecretKeyObject","ranges":[{"startOffset":3698,"endOffset":3756,"count":0}],"isBlockCoverage":false},{"functionName":"get symmetricKeySize","ranges":[{"startOffset":3762,"endOffset":3842,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":3848,"endOffset":4196,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeKeyDetails","ranges":[{"startOffset":4329,"endOffset":4598,"count":0}],"isBlockCoverage":false},{"functionName":"AsymmetricKeyObject","ranges":[{"startOffset":4707,"endOffset":4767,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyType","ranges":[{"startOffset":4773,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyDetails","ranges":[{"startOffset":4931,"endOffset":5308,"count":0}],"isBlockCoverage":false},{"functionName":"PublicKeyObject","ranges":[{"startOffset":5372,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5436,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"PrivateKeyObject","ranges":[{"startOffset":5792,"endOffset":5851,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5857,"endOffset":6371,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormat","ranges":[{"startOffset":6456,"endOffset":6841,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyType","ranges":[{"startOffset":6843,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"option","ranges":[{"startOffset":7697,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormatAndType","ranges":[{"startOffset":7820,"endOffset":8520,"count":0}],"isBlockCoverage":false},{"functionName":"isStringOrBuffer","ranges":[{"startOffset":8522,"endOffset":8659,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":8661,"endOffset":10019,"count":0}],"isBlockCoverage":false},{"functionName":"parsePublicKeyEncoding","ranges":[{"startOffset":10218,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"parsePrivateKeyEncoding","ranges":[{"startOffset":10554,"endOffset":10670,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandle","ranges":[{"startOffset":10672,"endOffset":11250,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyTypes","ranges":[{"startOffset":11252,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandleFromJwk","ranges":[{"startOffset":11759,"endOffset":14308,"count":0}],"isBlockCoverage":false},{"functionName":"prepareAsymmetricKey","ranges":[{"startOffset":14310,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"preparePrivateKey","ranges":[{"startOffset":15855,"endOffset":15943,"count":0}],"isBlockCoverage":false},{"functionName":"preparePublicOrPrivateKey","ranges":[{"startOffset":15945,"endOffset":16040,"count":0}],"isBlockCoverage":false},{"functionName":"prepareSecretKey","ranges":[{"startOffset":16042,"endOffset":16740,"count":0}],"isBlockCoverage":false},{"functionName":"createSecretKey","ranges":[{"startOffset":16742,"endOffset":16946,"count":0}],"isBlockCoverage":false},{"functionName":"createPublicKey","ranges":[{"startOffset":16948,"endOffset":17285,"count":0}],"isBlockCoverage":false},{"functionName":"createPrivateKey","ranges":[{"startOffset":17287,"endOffset":17628,"count":0}],"isBlockCoverage":false},{"functionName":"isKeyObject","ranges":[{"startOffset":17630,"endOffset":17712,"count":0}],"isBlockCoverage":false},{"functionName":"CryptoKey","ranges":[{"startOffset":18135,"endOffset":18195,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18199,"endOffset":18548,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":18552,"endOffset":18687,"count":0}],"isBlockCoverage":false},{"functionName":"get extractable","ranges":[{"startOffset":18691,"endOffset":18830,"count":0}],"isBlockCoverage":false},{"functionName":"get algorithm","ranges":[{"startOffset":18834,"endOffset":18969,"count":0}],"isBlockCoverage":false},{"functionName":"get usages","ranges":[{"startOffset":18973,"endOffset":19116,"count":0}],"isBlockCoverage":false},{"functionName":"InternalCryptoKey","ranges":[{"startOffset":19694,"endOffset":20173,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20177,"endOffset":20529,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20533,"endOffset":20737,"count":0}],"isBlockCoverage":false},{"functionName":"isCryptoKey","ranges":[{"startOffset":20866,"endOffset":20950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"227","url":"node:internal/crypto/keygen","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10712,"count":1}],"isBlockCoverage":false},{"functionName":"isJwk","ranges":[{"startOffset":1183,"endOffset":1253,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":1255,"endOffset":1409,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPair","ranges":[{"startOffset":1411,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPairSync","ranges":[{"startOffset":2193,"endOffset":2310,"count":0}],"isBlockCoverage":false},{"functionName":"handleError","ranges":[{"startOffset":2312,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":2692,"endOffset":3942,"count":0}],"isBlockCoverage":false},{"functionName":"createJob","ranges":[{"startOffset":3944,"endOffset":9232,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyJob","ranges":[{"startOffset":9263,"endOffset":9800,"count":0}],"isBlockCoverage":false},{"functionName":"handleGenerateKeyError","ranges":[{"startOffset":9802,"endOffset":10004,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":10006,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeySync","ranges":[{"startOffset":10478,"endOffset":10612,"count":0}],"isBlockCoverage":false}]},{"scriptId":"228","url":"node:internal/crypto/diffiehellman","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9910,"count":1}],"isBlockCoverage":false},{"functionName":"DiffieHellman","ranges":[{"startOffset":1232,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"DiffieHellmanGroup","ranges":[{"startOffset":3039,"endOffset":3365,"count":0}],"isBlockCoverage":false},{"functionName":"dhGenerateKeys","ranges":[{"startOffset":3476,"endOffset":3591,"count":0}],"isBlockCoverage":false},{"functionName":"dhComputeSecret","ranges":[{"startOffset":3705,"endOffset":3963,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrime","ranges":[{"startOffset":4062,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetGenerator","ranges":[{"startOffset":4282,"endOffset":4407,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPublicKey","ranges":[{"startOffset":4518,"endOffset":4631,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrivateKey","ranges":[{"startOffset":4745,"endOffset":4860,"count":0}],"isBlockCoverage":false},{"functionName":"setPublicKey","ranges":[{"startOffset":4902,"endOffset":5044,"count":0}],"isBlockCoverage":false},{"functionName":"setPrivateKey","ranges":[{"startOffset":5088,"endOffset":5232,"count":0}],"isBlockCoverage":false},{"functionName":"ECDH","ranges":[{"startOffset":5236,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeys","ranges":[{"startOffset":5701,"endOffset":5823,"count":0}],"isBlockCoverage":false},{"functionName":"getPublicKey","ranges":[{"startOffset":5856,"endOffset":6007,"count":0}],"isBlockCoverage":false},{"functionName":"convertKey","ranges":[{"startOffset":6028,"endOffset":6294,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6297,"endOffset":6432,"count":0}],"isBlockCoverage":false},{"functionName":"getFormat","ranges":[{"startOffset":6434,"endOffset":6757,"count":0}],"isBlockCoverage":false},{"functionName":"diffieHellman","ranges":[{"startOffset":6831,"endOffset":7899,"count":0}],"isBlockCoverage":false},{"functionName":"ecdhDeriveBits","ranges":[{"startOffset":8018,"endOffset":9804,"count":0}],"isBlockCoverage":false}]},{"scriptId":"229","url":"node:internal/crypto/cipher","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10199,"count":1}],"isBlockCoverage":false},{"functionName":"rsaFunctionFor","ranges":[{"startOffset":1233,"endOffset":1981,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1301,"endOffset":1978,"count":0}],"isBlockCoverage":false},{"functionName":"getDecoder","ranges":[{"startOffset":2482,"endOffset":2848,"count":0}],"isBlockCoverage":false},{"functionName":"getUIntOption","ranges":[{"startOffset":2850,"endOffset":3084,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherBase","ranges":[{"startOffset":3086,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3507,"endOffset":3742,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherWithIV","ranges":[{"startOffset":3744,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"Cipher","ranges":[{"startOffset":4326,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":4670,"endOffset":4786,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":4815,"endOffset":4953,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":4982,"endOffset":5498,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5527,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"setAutoPadding","ranges":[{"startOffset":5809,"endOffset":5956,"count":0}],"isBlockCoverage":false},{"functionName":"getAuthTag","ranges":[{"startOffset":5989,"endOffset":6149,"count":0}],"isBlockCoverage":false},{"functionName":"setAuthTag","ranges":[{"startOffset":6153,"endOffset":6365,"count":0}],"isBlockCoverage":false},{"functionName":"setAAD","ranges":[{"startOffset":6393,"endOffset":6735,"count":0}],"isBlockCoverage":false},{"functionName":"Cipheriv","ranges":[{"startOffset":6983,"endOffset":7193,"count":0}],"isBlockCoverage":false},{"functionName":"addCipherPrototypeFunctions","ranges":[{"startOffset":7195,"endOffset":7786,"count":3},{"startOffset":7591,"endOffset":7664,"count":1},{"startOffset":7664,"endOffset":7726,"count":2}],"isBlockCoverage":true},{"functionName":"Decipher","ranges":[{"startOffset":8187,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"Decipheriv","ranges":[{"startOffset":8800,"endOffset":9017,"count":0}],"isBlockCoverage":false},{"functionName":"getCipherInfo","ranges":[{"startOffset":9179,"endOffset":10040,"count":0}],"isBlockCoverage":false}]},{"scriptId":"230","url":"node:internal/streams/lazy_transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1535,"count":1}],"isBlockCoverage":false},{"functionName":"LazyTransform","ranges":[{"startOffset":401,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"makeGetter","ranges":[{"startOffset":595,"endOffset":918,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":632,"endOffset":915,"count":0}],"isBlockCoverage":false},{"functionName":"makeSetter","ranges":[{"startOffset":920,"endOffset":1139,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":957,"endOffset":1136,"count":0}],"isBlockCoverage":false}]},{"scriptId":"231","url":"node:internal/crypto/sig","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6942,"count":1}],"isBlockCoverage":false},{"functionName":"Sign","ranges":[{"startOffset":870,"endOffset":1129,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":1252,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":1371,"endOffset":1684,"count":0}],"isBlockCoverage":false},{"functionName":"getPadding","ranges":[{"startOffset":1687,"endOffset":1762,"count":0}],"isBlockCoverage":false},{"functionName":"getSaltLength","ranges":[{"startOffset":1764,"endOffset":1845,"count":0}],"isBlockCoverage":false},{"functionName":"getDSASignatureEncoding","ranges":[{"startOffset":1847,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"getIntOption","ranges":[{"startOffset":2201,"endOffset":2446,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":2470,"endOffset":3086,"count":0}],"isBlockCoverage":false},{"functionName":"signOneShot","ranges":[{"startOffset":3089,"endOffset":4307,"count":0}],"isBlockCoverage":false},{"functionName":"Verify","ranges":[{"startOffset":4309,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":4804,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"verifyOneShot","ranges":[{"startOffset":5390,"endOffset":6868,"count":0}],"isBlockCoverage":false}]},{"scriptId":"232","url":"node:internal/crypto/hash","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4553,"count":1}],"isBlockCoverage":false},{"functionName":"Hash","ranges":[{"startOffset":954,"endOffset":1474,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":1605,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1804,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":1936,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":2043,"endOffset":2507,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":2535,"endOffset":2856,"count":0}],"isBlockCoverage":false},{"functionName":"Hmac","ranges":[{"startOffset":2859,"endOffset":3259,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":3440,"endOffset":3872,"count":0}],"isBlockCoverage":false},{"functionName":"asyncDigest","ranges":[{"startOffset":4027,"endOffset":4498,"count":0}],"isBlockCoverage":false}]},{"scriptId":"233","url":"node:internal/crypto/x509","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9909,"count":1}],"isBlockCoverage":false},{"functionName":"isX509Certificate","ranges":[{"startOffset":1155,"endOffset":1238,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":1240,"endOffset":2485,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2487,"endOffset":2649,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2651,"endOffset":9663,"count":0}],"isBlockCoverage":false}]},{"scriptId":"234","url":"node:internal/crypto/certificate","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1546,"count":1}],"isBlockCoverage":false},{"functionName":"verifySpkac","ranges":[{"startOffset":385,"endOffset":505,"count":0}],"isBlockCoverage":false},{"functionName":"exportPublicKey","ranges":[{"startOffset":507,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"exportChallenge","ranges":[{"startOffset":637,"endOffset":765,"count":0}],"isBlockCoverage":false},{"functionName":"Certificate","ranges":[{"startOffset":1122,"endOffset":1216,"count":0}],"isBlockCoverage":false}]},{"scriptId":"235","url":"node:internal/crypto/webcrypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30940,"count":1}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":1190,"endOffset":1799,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":1801,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":1913,"endOffset":4408,"count":0}],"isBlockCoverage":false},{"functionName":"deriveBits","ranges":[{"startOffset":4410,"endOffset":5970,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyLength","ranges":[{"startOffset":5972,"endOffset":6592,"count":0}],"isBlockCoverage":false},{"functionName":"deriveKey","ranges":[{"startOffset":6594,"endOffset":8774,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeySpki","ranges":[{"startOffset":8776,"endOffset":9754,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyPkcs8","ranges":[{"startOffset":9756,"endOffset":10743,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyRaw","ranges":[{"startOffset":10745,"endOffset":11678,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyJWK","ranges":[{"startOffset":11680,"endOffset":13210,"count":0}],"isBlockCoverage":false},{"functionName":"exportKey","ranges":[{"startOffset":13212,"endOffset":14072,"count":0}],"isBlockCoverage":false},{"functionName":"importGenericSecretKey","ranges":[{"startOffset":14074,"endOffset":15424,"count":0}],"isBlockCoverage":false},{"functionName":"importKey","ranges":[{"startOffset":15426,"endOffset":18168,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":18261,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapKey","ranges":[{"startOffset":19891,"endOffset":21854,"count":0}],"isBlockCoverage":false},{"functionName":"signVerify","ranges":[{"startOffset":21856,"endOffset":22959,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":22961,"endOffset":23587,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":23589,"endOffset":24346,"count":0}],"isBlockCoverage":false},{"functionName":"cipherOrWrap","ranges":[{"startOffset":24348,"endOffset":25759,"count":0}],"isBlockCoverage":false},{"functionName":"encrypt","ranges":[{"startOffset":25761,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"decrypt","ranges":[{"startOffset":26489,"endOffset":27215,"count":0}],"isBlockCoverage":false},{"functionName":"SubtleCrypto","ranges":[{"startOffset":27371,"endOffset":27431,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27466,"endOffset":27479,"count":1}],"isBlockCoverage":true},{"functionName":"Crypto","ranges":[{"startOffset":27518,"endOffset":27578,"count":0}],"isBlockCoverage":true},{"functionName":"get subtle","ranges":[{"startOffset":27582,"endOffset":27682,"count":3},{"startOffset":27622,"endOffset":27659,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27717,"endOffset":27730,"count":1}],"isBlockCoverage":true},{"functionName":"getRandomValues","ranges":[{"startOffset":27746,"endOffset":28079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"236","url":"node:zlib","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29534,"count":1}],"isBlockCoverage":false},{"functionName":"zlibBuffer","ranges":[{"startOffset":3530,"endOffset":4157,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnData","ranges":[{"startOffset":4159,"endOffset":4490,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnError","ranges":[{"startOffset":4492,"endOffset":4577,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnEnd","ranges":[{"startOffset":4579,"endOffset":4909,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferSync","ranges":[{"startOffset":4911,"endOffset":5452,"count":0}],"isBlockCoverage":false},{"functionName":"zlibOnError","ranges":[{"startOffset":5454,"endOffset":5768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5993,"endOffset":6329,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6633,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase","ranges":[{"startOffset":7161,"endOffset":9213,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9438,"endOffset":9475,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9918,"endOffset":9964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10111,"endOffset":10163,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.reset","ranges":[{"startOffset":10304,"endOffset":10412,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._flush","ranges":[{"startOffset":10558,"endOffset":10630,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._final","ranges":[{"startOffset":10697,"endOffset":10733,"count":0}],"isBlockCoverage":false},{"functionName":"maxFlush","ranges":[{"startOffset":11331,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.flush","ranges":[{"startOffset":11847,"endOffset":12249,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.close","ranges":[{"startOffset":12279,"endOffset":12361,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._destroy","ranges":[{"startOffset":12394,"endOffset":12454,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._transform","ranges":[{"startOffset":12489,"endOffset":13023,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._processChunk","ranges":[{"startOffset":13061,"endOffset":13290,"count":0}],"isBlockCoverage":false},{"functionName":"processChunkSync","ranges":[{"startOffset":13293,"endOffset":15578,"count":0}],"isBlockCoverage":false},{"functionName":"processChunk","ranges":[{"startOffset":15580,"endOffset":16170,"count":0}],"isBlockCoverage":false},{"functionName":"processCallback","ranges":[{"startOffset":16172,"endOffset":18474,"count":0}],"isBlockCoverage":false},{"functionName":"_close","ranges":[{"startOffset":18476,"endOffset":18666,"count":0}],"isBlockCoverage":false},{"functionName":"Zlib","ranges":[{"startOffset":18863,"endOffset":21181,"count":0}],"isBlockCoverage":false},{"functionName":"paramsAfterFlushCallback","ranges":[{"startOffset":21531,"endOffset":21797,"count":0}],"isBlockCoverage":false},{"functionName":"params","ranges":[{"startOffset":21823,"endOffset":22290,"count":0}],"isBlockCoverage":false},{"functionName":"Deflate","ranges":[{"startOffset":22334,"endOffset":22469,"count":0}],"isBlockCoverage":false},{"functionName":"Inflate","ranges":[{"startOffset":22565,"endOffset":22700,"count":0}],"isBlockCoverage":false},{"functionName":"Gzip","ranges":[{"startOffset":22796,"endOffset":22919,"count":0}],"isBlockCoverage":false},{"functionName":"Gunzip","ranges":[{"startOffset":23009,"endOffset":23140,"count":0}],"isBlockCoverage":false},{"functionName":"DeflateRaw","ranges":[{"startOffset":23234,"endOffset":23439,"count":0}],"isBlockCoverage":false},{"functionName":"InflateRaw","ranges":[{"startOffset":23541,"endOffset":23688,"count":0}],"isBlockCoverage":false},{"functionName":"Unzip","ranges":[{"startOffset":23790,"endOffset":23917,"count":0}],"isBlockCoverage":false},{"functionName":"createConvenienceMethod","ranges":[{"startOffset":24009,"endOffset":24398,"count":18},{"startOffset":24068,"endOffset":24397,"count":9}],"isBlockCoverage":true},{"functionName":"syncBufferWrapper","ranges":[{"startOffset":24081,"endOffset":24182,"count":0}],"isBlockCoverage":false},{"functionName":"asyncBufferWrapper","ranges":[{"startOffset":24197,"endOffset":24395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24483,"endOffset":24570,"count":107},{"startOffset":24541,"endOffset":24561,"count":9},{"startOffset":24562,"endOffset":24569,"count":98}],"isBlockCoverage":true},{"functionName":"Brotli","ranges":[{"startOffset":24789,"endOffset":26126,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliCompress","ranges":[{"startOffset":26220,"endOffset":26384,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliDecompress","ranges":[{"startOffset":26498,"endOffset":26668,"count":0}],"isBlockCoverage":false},{"functionName":"createProperty","ranges":[{"startOffset":26787,"endOffset":26973,"count":9}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":26908,"endOffset":26965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27202,"endOffset":27238,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":27242,"endOffset":27283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"237","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16298,"count":1}],"isBlockCoverage":true},{"functionName":"hasOwnProperty","ranges":[{"startOffset":362,"endOffset":430,"count":0}],"isBlockCoverage":false},{"functionName":"isExternalAssertError","ranges":[{"startOffset":433,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"formatErrorValue","ranges":[{"startOffset":865,"endOffset":1002,"count":0}],"isBlockCoverage":false},{"functionName":"captureSavedError","ranges":[{"startOffset":1030,"endOffset":1237,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext","ranges":[{"startOffset":1316,"endOffset":4497,"count":14}],"isBlockCoverage":true},{"functionName":"pass","ranges":[{"startOffset":1349,"endOffset":1395,"count":22}],"isBlockCoverage":true},{"functionName":"pending","ranges":[{"startOffset":1400,"endOffset":1462,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":1467,"endOffset":1521,"count":0}],"isBlockCoverage":false},{"functionName":"skip","ranges":[{"startOffset":1526,"endOffset":1572,"count":0}],"isBlockCoverage":false},{"functionName":"compareWithSnapshot","ranges":[{"startOffset":1598,"endOffset":1642,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.snapshot.skip","ranges":[{"startOffset":1778,"endOffset":1813,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.log","ranges":[{"startOffset":1829,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan","ranges":[{"startOffset":2064,"endOffset":2120,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan.skip","ranges":[{"startOffset":2142,"endOffset":2150,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.timeout","ranges":[{"startOffset":2170,"endOffset":2222,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.teardown","ranges":[{"startOffset":2243,"endOffset":2291,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.try","ranges":[{"startOffset":2307,"endOffset":4493,"count":0}],"isBlockCoverage":false},{"functionName":"get title","ranges":[{"startOffset":4500,"endOffset":4550,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4553,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"set context","ranges":[{"startOffset":4619,"endOffset":4689,"count":0}],"isBlockCoverage":false},{"functionName":"get passed","ranges":[{"startOffset":4692,"endOffset":4803,"count":0}],"isBlockCoverage":false},{"functionName":"Test","ranges":[{"startOffset":4836,"endOffset":7739,"count":14},{"startOffset":4940,"endOffset":4945,"count":0}],"isBlockCoverage":true},{"functionName":"Test.compareWithSnapshot","ranges":[{"startOffset":5648,"endOffset":6084,"count":0}],"isBlockCoverage":false},{"functionName":"Test.skipSnapshot","ranges":[{"startOffset":6109,"endOffset":6523,"count":0}],"isBlockCoverage":false},{"functionName":"Test.runAttempt","ranges":[{"startOffset":6546,"endOffset":7343,"count":0}],"isBlockCoverage":false},{"functionName":"createExecutionContext","ranges":[{"startOffset":7742,"endOffset":7808,"count":14}],"isBlockCoverage":true},{"functionName":"countPassedAssertion","ranges":[{"startOffset":7811,"endOffset":8163,"count":22},{"startOffset":7858,"endOffset":7949,"count":0},{"startOffset":7987,"endOffset":8112,"count":0}],"isBlockCoverage":true},{"functionName":"addLog","ranges":[{"startOffset":8166,"endOffset":8207,"count":0}],"isBlockCoverage":false},{"functionName":"addPendingAssertion","ranges":[{"startOffset":8210,"endOffset":8745,"count":0}],"isBlockCoverage":false},{"functionName":"addFailedAssertion","ranges":[{"startOffset":8748,"endOffset":9133,"count":0}],"isBlockCoverage":false},{"functionName":"finishAttempt","ranges":[{"startOffset":9136,"endOffset":10154,"count":0}],"isBlockCoverage":false},{"functionName":"saveFirstError","ranges":[{"startOffset":10157,"endOffset":10243,"count":0}],"isBlockCoverage":false},{"functionName":"plan","ranges":[{"startOffset":10246,"endOffset":10542,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":10545,"endOffset":11120,"count":0}],"isBlockCoverage":false},{"functionName":"refreshTimeout","ranges":[{"startOffset":11123,"endOffset":11303,"count":22},{"startOffset":11184,"endOffset":11300,"count":0}],"isBlockCoverage":true},{"functionName":"clearTimeout","ranges":[{"startOffset":11306,"endOffset":11401,"count":14}],"isBlockCoverage":true},{"functionName":"addTeardown","ranges":[{"startOffset":11404,"endOffset":11793,"count":0}],"isBlockCoverage":false},{"functionName":"runTeardowns","ranges":[{"startOffset":11796,"endOffset":12044,"count":14},{"startOffset":11907,"endOffset":12041,"count":0}],"isBlockCoverage":true},{"functionName":"verifyPlan","ranges":[{"startOffset":12047,"endOffset":12402,"count":14},{"startOffset":12113,"endOffset":12151,"count":0},{"startOffset":12153,"endOffset":12399,"count":0}],"isBlockCoverage":true},{"functionName":"verifyAssertions","ranges":[{"startOffset":12405,"endOffset":13050,"count":14},{"startOffset":12450,"endOffset":12466,"count":0},{"startOffset":12504,"endOffset":12622,"count":0},{"startOffset":12662,"endOffset":12765,"count":0},{"startOffset":12835,"endOffset":12901,"count":0},{"startOffset":12933,"endOffset":12951,"count":0},{"startOffset":12953,"endOffset":13043,"count":0}],"isBlockCoverage":true},{"functionName":"callFn","ranges":[{"startOffset":13053,"endOffset":13237,"count":14},{"startOffset":13171,"endOffset":13234,"count":0}],"isBlockCoverage":true},{"functionName":"run","ranges":[{"startOffset":13240,"endOffset":15578,"count":14},{"startOffset":13338,"endOffset":13891,"count":0},{"startOffset":13982,"endOffset":14030,"count":0},{"startOffset":14126,"endOffset":14276,"count":0},{"startOffset":14303,"endOffset":14421,"count":0},{"startOffset":14438,"endOffset":15550,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14153,"endOffset":14270,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14462,"endOffset":15544,"count":0}],"isBlockCoverage":false},{"functionName":"finish","ranges":[{"startOffset":15581,"endOffset":16295,"count":14},{"startOffset":15866,"endOffset":16020,"count":0}],"isBlockCoverage":true}]},{"scriptId":"238","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/assert.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":25039,"count":1}],"isBlockCoverage":true},{"functionName":"formatDescriptorDiff","ranges":[{"startOffset":331,"endOffset":822,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptorWithLabel","ranges":[{"startOffset":824,"endOffset":979,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithLabel","ranges":[{"startOffset":981,"endOffset":1114,"count":0}],"isBlockCoverage":false},{"functionName":"hasOwnProperty","ranges":[{"startOffset":1139,"endOffset":1207,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":1222,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"notImplemented","ranges":[{"startOffset":1255,"endOffset":1301,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":1349,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"checkAssertionMessage","ranges":[{"startOffset":1981,"endOffset":2292,"count":22},{"startOffset":2061,"endOffset":2091,"count":4},{"startOffset":2112,"endOffset":2291,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithLongStackTrace","ranges":[{"startOffset":2294,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"validateExpectations","ranges":[{"startOffset":2558,"endOffset":5405,"count":0}],"isBlockCoverage":false},{"functionName":"assertExpectations","ranges":[{"startOffset":5524,"endOffset":8199,"count":0}],"isBlockCoverage":false},{"functionName":"Assertions","ranges":[{"startOffset":8228,"endOffset":25036,"count":14}],"isBlockCoverage":true},{"functionName":"withSkip","ranges":[{"startOffset":8463,"endOffset":8534,"count":266}],"isBlockCoverage":true},{"functionName":"checkMessage","ranges":[{"startOffset":8560,"endOffset":8733,"count":22},{"startOffset":8694,"endOffset":8732,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8759,"endOffset":8797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8824,"endOffset":9037,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9062,"endOffset":9979,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10005,"endOffset":10365,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10397,"endOffset":11031,"count":6},{"startOffset":10474,"endOffset":10498,"count":0},{"startOffset":10632,"endOffset":10727,"count":0},{"startOffset":10775,"endOffset":10828,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11066,"endOffset":11622,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11649,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12970,"endOffset":14552,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14586,"endOffset":16839,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16871,"endOffset":17460,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17497,"endOffset":19358,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19389,"endOffset":21353,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21382,"endOffset":21702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21730,"endOffset":22051,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22078,"endOffset":22383,"count":6},{"startOffset":22140,"endOffset":22164,"count":0},{"startOffset":22225,"endOffset":22382,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":22411,"endOffset":22720,"count":10},{"startOffset":22474,"endOffset":22498,"count":0},{"startOffset":22560,"endOffset":22719,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":22748,"endOffset":23686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23717,"endOffset":24676,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24705,"endOffset":25031,"count":0}],"isBlockCoverage":false}]},{"scriptId":"239","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/concordance-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2980,"count":1},{"startOffset":2696,"endOffset":2708,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2579,"endOffset":2649,"count":110},{"startOffset":2623,"endOffset":2641,"count":69},{"startOffset":2642,"endOffset":2649,"count":41}],"isBlockCoverage":true},{"functionName":"get maxDepth","ranges":[{"startOffset":2807,"endOffset":2878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"240","url":"node:internal/util/parse_args/parse_args","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12919,"count":1}],"isBlockCoverage":false},{"functionName":"getMainArgs","ranges":[{"startOffset":1135,"endOffset":1729,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionLikeValue","ranges":[{"startOffset":1874,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionUsage","ranges":[{"startOffset":2658,"endOffset":3449,"count":0}],"isBlockCoverage":false},{"functionName":"storeOption","ranges":[{"startOffset":3772,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"storeDefaultOption","ranges":[{"startOffset":4921,"endOffset":5090,"count":0}],"isBlockCoverage":false},{"functionName":"argsToTokens","ranges":[{"startOffset":5365,"endOffset":9345,"count":0}],"isBlockCoverage":false},{"functionName":"parseArgs","ranges":[{"startOffset":9365,"endOffset":12881,"count":0}],"isBlockCoverage":false}]},{"scriptId":"241","url":"node:internal/util/parse_args/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6225,"count":1}],"isBlockCoverage":false},{"functionName":"objectGetOwn","ranges":[{"startOffset":693,"endOffset":782,"count":0}],"isBlockCoverage":false},{"functionName":"optionsGetOwn","ranges":[{"startOffset":865,"endOffset":1011,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionValue","ranges":[{"startOffset":1277,"endOffset":1502,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionLikeValue","ranges":[{"startOffset":1719,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneShortOption","ranges":[{"startOffset":1936,"endOffset":2088,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneLongOption","ranges":[{"startOffset":2336,"endOffset":2484,"count":0}],"isBlockCoverage":false},{"functionName":"isLongOptionAndValue","ranges":[{"startOffset":2681,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionGroup","ranges":[{"startOffset":3724,"endOffset":4109,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionAndValue","ranges":[{"startOffset":4418,"endOffset":4847,"count":0}],"isBlockCoverage":false},{"functionName":"findLongOptionForShort","ranges":[{"startOffset":5170,"endOffset":5472,"count":0}],"isBlockCoverage":false},{"functionName":"useDefaultValueOption","ranges":[{"startOffset":5797,"endOffset":5967,"count":0}],"isBlockCoverage":false}]},{"scriptId":"242","url":"node:internal/mime","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10569,"count":1}],"isBlockCoverage":false},{"functionName":"toASCIILower","ranges":[{"startOffset":587,"endOffset":820,"count":0}],"isBlockCoverage":false},{"functionName":"parseTypeAndSubtype","ranges":[{"startOffset":866,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"removeBackslashes","ranges":[{"startOffset":2641,"endOffset":3056,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuoteOrSolidus","ranges":[{"startOffset":3059,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":3288,"endOffset":3527,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3530,"endOffset":8526,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8986,"endOffset":10365,"count":0}],"isBlockCoverage":false}]},{"scriptId":"243","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/callsites/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"callsites","ranges":[{"startOffset":15,"endOffset":469,"count":0}],"isBlockCoverage":false}]},{"scriptId":"244","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5256,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5189,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2906,"endOffset":3404,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3450,"endOffset":3975,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4032,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4134,"endOffset":4895,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4949,"endOffset":5030,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5084,"endOffset":5137,"count":0}],"isBlockCoverage":false}]},{"scriptId":"245","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/supports-color/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3855,"count":1},{"startOffset":738,"endOffset":762,"count":0},{"startOffset":869,"endOffset":893,"count":0}],"isBlockCoverage":true},{"functionName":"hasFlag","ranges":[{"startOffset":235,"endOffset":585,"count":16},{"startOffset":281,"endOffset":303,"count":0},{"startOffset":359,"endOffset":363,"count":0},{"startOffset":385,"endOffset":390,"count":0},{"startOffset":519,"endOffset":582,"count":0}],"isBlockCoverage":true},{"functionName":"envForceColor","ranges":[{"startOffset":895,"endOffset":1159,"count":2},{"startOffset":949,"endOffset":1157,"count":0}],"isBlockCoverage":true},{"functionName":"translateLevel","ranges":[{"startOffset":1161,"endOffset":1320,"count":2},{"startOffset":1212,"endOffset":1232,"count":0}],"isBlockCoverage":true},{"functionName":"_supportsColor","ranges":[{"startOffset":1322,"endOffset":3494,"count":2},{"startOffset":1479,"endOffset":1520,"count":0},{"startOffset":1570,"endOffset":1588,"count":0},{"startOffset":1614,"endOffset":1630,"count":0},{"startOffset":1740,"endOffset":1758,"count":0},{"startOffset":1788,"endOffset":1806,"count":0},{"startOffset":1918,"endOffset":1940,"count":0},{"startOffset":1942,"endOffset":1958,"count":0},{"startOffset":1992,"endOffset":2019,"count":0},{"startOffset":2021,"endOffset":2037,"count":0},{"startOffset":2096,"endOffset":2114,"count":0},{"startOffset":2151,"endOffset":2508,"count":0},{"startOffset":2528,"endOffset":2776,"count":0},{"startOffset":2810,"endOffset":2891,"count":0},{"startOffset":2945,"endOffset":3493,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2688,"endOffset":2707,"count":0}],"isBlockCoverage":false},{"functionName":"createSupportsColor","ranges":[{"startOffset":3503,"endOffset":3687,"count":2}],"isBlockCoverage":true}]},{"scriptId":"246","url":"node:os","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9769,"count":1}],"isBlockCoverage":false},{"functionName":"getCheckedFunction","ranges":[{"startOffset":2026,"endOffset":2267,"count":4}],"isBlockCoverage":true},{"functionName":"checkError","ranges":[{"startOffset":2085,"endOffset":2263,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease","ranges":[{"startOffset":2649,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType","ranges":[{"startOffset":2711,"endOffset":2721,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion","ranges":[{"startOffset":2773,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine","ranges":[{"startOffset":2836,"endOffset":2849,"count":0}],"isBlockCoverage":false},{"functionName":"getAvailableParallelism.","ranges":[{"startOffset":2897,"endOffset":2928,"count":0}],"isBlockCoverage":false},{"functionName":"getFreeMem.","ranges":[{"startOffset":2962,"endOffset":2980,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname.","ranges":[{"startOffset":3015,"endOffset":3034,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion.","ranges":[{"startOffset":3070,"endOffset":3090,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType.","ranges":[{"startOffset":3123,"endOffset":3140,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease.","ranges":[{"startOffset":3176,"endOffset":3196,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine.","ranges":[{"startOffset":3230,"endOffset":3248,"count":0}],"isBlockCoverage":false},{"functionName":"getHomeDirectory.","ranges":[{"startOffset":3288,"endOffset":3312,"count":0}],"isBlockCoverage":false},{"functionName":"getTotalMem.","ranges":[{"startOffset":3347,"endOffset":3366,"count":0}],"isBlockCoverage":false},{"functionName":"getUptime.","ranges":[{"startOffset":3399,"endOffset":3416,"count":0}],"isBlockCoverage":false},{"functionName":"loadavg","ranges":[{"startOffset":3554,"endOffset":3654,"count":0}],"isBlockCoverage":false},{"functionName":"cpus","ranges":[{"startOffset":3934,"endOffset":4363,"count":1},{"startOffset":4036,"endOffset":4041,"count":0},{"startOffset":4103,"endOffset":4344,"count":12}],"isBlockCoverage":true},{"functionName":"arch","ranges":[{"startOffset":4394,"endOffset":4436,"count":0}],"isBlockCoverage":false},{"functionName":"arch.","ranges":[{"startOffset":4463,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"platform","ranges":[{"startOffset":4513,"endOffset":4563,"count":2}],"isBlockCoverage":true},{"functionName":"platform.","ranges":[{"startOffset":4594,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir","ranges":[{"startOffset":4648,"endOffset":5253,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir.","ranges":[{"startOffset":5282,"endOffset":5296,"count":0}],"isBlockCoverage":false},{"functionName":"endianness","ranges":[{"startOffset":5333,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"endianness.","ranges":[{"startOffset":5413,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"countBinaryOnes","ranges":[{"startOffset":5518,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"getCIDR","ranges":[{"startOffset":5773,"endOffset":6718,"count":0}],"isBlockCoverage":false},{"functionName":"networkInterfaces","ranges":[{"startOffset":6929,"endOffset":7622,"count":0}],"isBlockCoverage":false},{"functionName":"setPriority","ranges":[{"startOffset":7706,"endOffset":7995,"count":0}],"isBlockCoverage":false},{"functionName":"getPriority","ranges":[{"startOffset":8053,"endOffset":8308,"count":0}],"isBlockCoverage":false},{"functionName":"userInfo","ranges":[{"startOffset":8612,"endOffset":8900,"count":0}],"isBlockCoverage":false}]},{"scriptId":"247","url":"node:tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5058,"count":1}],"isBlockCoverage":false},{"functionName":"isatty","ranges":[{"startOffset":1535,"endOffset":1641,"count":2}],"isBlockCoverage":true},{"functionName":"ReadStream","ranges":[{"startOffset":1643,"endOffset":2112,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.setRawMode","ranges":[{"startOffset":2261,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":2481,"endOffset":3453,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._refreshSize","ranges":[{"startOffset":3744,"endOffset":4180,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.cursorTo","ranges":[{"startOffset":4236,"endOffset":4376,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.moveCursor","ranges":[{"startOffset":4413,"endOffset":4559,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearLine","ranges":[{"startOffset":4595,"endOffset":4734,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearScreenDown","ranges":[{"startOffset":4776,"endOffset":4911,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.getWindowSize","ranges":[{"startOffset":4951,"endOffset":5001,"count":0}],"isBlockCoverage":false}]},{"scriptId":"248","url":"node:net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":65921,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1612,"endOffset":1637,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4029,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":4446,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"createHandle","ranges":[{"startOffset":4542,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"getNewAsyncId","ranges":[{"startOffset":4928,"endOffset":5066,"count":0}],"isBlockCoverage":false},{"functionName":"isPipeName","ranges":[{"startOffset":5069,"endOffset":5152,"count":0}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":5353,"endOffset":5457,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":5680,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamily","ranges":[{"startOffset":6083,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamily","ranges":[{"startOffset":6160,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6278,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6383,"endOffset":6570,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgs","ranges":[{"startOffset":7064,"endOffset":7790,"count":0}],"isBlockCoverage":false},{"functionName":"initSocketHandle","ranges":[{"startOffset":7862,"endOffset":8465,"count":0}],"isBlockCoverage":false},{"functionName":"closeSocketHandle","ranges":[{"startOffset":8467,"endOffset":8807,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":9059,"endOffset":13678,"count":0}],"isBlockCoverage":false},{"functionName":"_unrefTimer","ranges":[{"startOffset":13851,"endOffset":13981,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._final","ranges":[{"startOffset":14101,"endOffset":14717,"count":0}],"isBlockCoverage":false},{"functionName":"afterShutdown","ranges":[{"startOffset":14720,"endOffset":14866,"count":0}],"isBlockCoverage":false},{"functionName":"writeAfterFIN","ranges":[{"startOffset":15073,"endOffset":15581,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._onTimeout","ranges":[{"startOffset":15663,"endOffset":16167,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setNoDelay","ranges":[{"startOffset":16201,"endOffset":16578,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setKeepAlive","ranges":[{"startOffset":16614,"endOffset":17220,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":17251,"endOffset":17295,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17381,"endOffset":17425,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17505,"endOffset":17561,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17672,"endOffset":17987,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18076,"endOffset":18156,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18244,"endOffset":18289,"count":0}],"isBlockCoverage":false},{"functionName":"tryReadStart","ranges":[{"startOffset":18297,"endOffset":18543,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._read","ranges":[{"startOffset":18635,"endOffset":18954,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.end","ranges":[{"startOffset":18981,"endOffset":19137,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resetAndDestroy","ranges":[{"startOffset":19175,"endOffset":19525,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.pause","ranges":[{"startOffset":19553,"endOffset":19887,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resume","ranges":[{"startOffset":19917,"endOffset":20101,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.read","ranges":[{"startOffset":20129,"endOffset":20315,"count":0}],"isBlockCoverage":false},{"functionName":"onReadableStreamEnd","ranges":[{"startOffset":20362,"endOffset":20461,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.destroySoon","ranges":[{"startOffset":20495,"endOffset":20642,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._destroy","ranges":[{"startOffset":20674,"endOffset":22184,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._reset","ranges":[{"startOffset":22213,"endOffset":22312,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getpeername","ranges":[{"startOffset":22347,"endOffset":22644,"count":0}],"isBlockCoverage":false},{"functionName":"protoGetter","ranges":[{"startOffset":22647,"endOffset":22829,"count":9}],"isBlockCoverage":true},{"functionName":"bytesRead","ranges":[{"startOffset":22856,"endOffset":22947,"count":0}],"isBlockCoverage":false},{"functionName":"remoteAddress","ranges":[{"startOffset":22980,"endOffset":23046,"count":0}],"isBlockCoverage":false},{"functionName":"remoteFamily","ranges":[{"startOffset":23078,"endOffset":23142,"count":0}],"isBlockCoverage":false},{"functionName":"remotePort","ranges":[{"startOffset":23172,"endOffset":23232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getsockname","ranges":[{"startOffset":23269,"endOffset":23545,"count":0}],"isBlockCoverage":false},{"functionName":"localAddress","ranges":[{"startOffset":23577,"endOffset":23642,"count":0}],"isBlockCoverage":false},{"functionName":"localPort","ranges":[{"startOffset":23672,"endOffset":23731,"count":0}],"isBlockCoverage":false},{"functionName":"localFamily","ranges":[{"startOffset":23762,"endOffset":23825,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":23866,"endOffset":23913,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writeGeneric","ranges":[{"startOffset":23949,"endOffset":24861,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writev","ranges":[{"startOffset":24892,"endOffset":24960,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._write","ranges":[{"startOffset":24990,"endOffset":25071,"count":0}],"isBlockCoverage":false},{"functionName":"_bytesDispatched","ranges":[{"startOffset":25264,"endOffset":25368,"count":0}],"isBlockCoverage":false},{"functionName":"bytesWritten","ranges":[{"startOffset":25400,"endOffset":26329,"count":0}],"isBlockCoverage":false},{"functionName":"checkBindError","ranges":[{"startOffset":26334,"endOffset":27133,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnect","ranges":[{"startOffset":27136,"endOffset":29131,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultiple","ranges":[{"startOffset":29134,"endOffset":31870,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":31899,"endOffset":33495,"count":0}],"isBlockCoverage":false},{"functionName":"reinitializeHandle","ranges":[{"startOffset":33538,"endOffset":33692,"count":0}],"isBlockCoverage":false},{"functionName":"socketToDnsFamily","ranges":[{"startOffset":33695,"endOffset":33841,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnect","ranges":[{"startOffset":33843,"endOffset":37774,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnectMultiple","ranges":[{"startOffset":37776,"endOffset":41750,"count":0}],"isBlockCoverage":false},{"functionName":"connectErrorNT","ranges":[{"startOffset":41752,"endOffset":41811,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":41837,"endOffset":42024,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":42053,"endOffset":42246,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnect","ranges":[{"startOffset":42250,"endOffset":43831,"count":0}],"isBlockCoverage":false},{"functionName":"addClientAbortSignalOption","ranges":[{"startOffset":43833,"endOffset":44256,"count":0}],"isBlockCoverage":false},{"functionName":"createConnectionError","ranges":[{"startOffset":44258,"endOffset":44759,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnectMultiple","ranges":[{"startOffset":44761,"endOffset":45903,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultipleTimeout","ranges":[{"startOffset":45905,"endOffset":46217,"count":0}],"isBlockCoverage":false},{"functionName":"addServerAbortSignalOption","ranges":[{"startOffset":46219,"endOffset":46662,"count":0}],"isBlockCoverage":false},{"functionName":"Server","ranges":[{"startOffset":46664,"endOffset":48251,"count":0}],"isBlockCoverage":false},{"functionName":"toNumber","ranges":[{"startOffset":48362,"endOffset":48427,"count":0}],"isBlockCoverage":false},{"functionName":"createServerHandle","ranges":[{"startOffset":48495,"endOffset":49947,"count":0}],"isBlockCoverage":false},{"functionName":"setupListenHandle","ranges":[{"startOffset":49949,"endOffset":52300,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":52367,"endOffset":52429,"count":0}],"isBlockCoverage":false},{"functionName":"emitListeningNT","ranges":[{"startOffset":52432,"endOffset":52547,"count":0}],"isBlockCoverage":false},{"functionName":"listenInCluster","ranges":[{"startOffset":52550,"endOffset":53810,"count":0}],"isBlockCoverage":false},{"functionName":"Server.listen","ranges":[{"startOffset":53839,"endOffset":57671,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndListen","ranges":[{"startOffset":57674,"endOffset":58086,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":58168,"endOffset":58211,"count":0}],"isBlockCoverage":false},{"functionName":"Server.address","ranges":[{"startOffset":58287,"endOffset":58576,"count":0}],"isBlockCoverage":false},{"functionName":"onconnection","ranges":[{"startOffset":58579,"endOffset":60478,"count":0}],"isBlockCoverage":false},{"functionName":"Server.getConnections","ranges":[{"startOffset":60627,"endOffset":61380,"count":0}],"isBlockCoverage":false},{"functionName":"Server.close","ranges":[{"startOffset":61409,"endOffset":62276,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":62318,"endOffset":62438,"count":0}],"isBlockCoverage":false},{"functionName":"Server._emitCloseIfDrained","ranges":[{"startOffset":62480,"endOffset":62866,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":62870,"endOffset":62953,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":63012,"endOffset":63174,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63396,"endOffset":63432,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63436,"endOffset":63477,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63557,"endOffset":63588,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63592,"endOffset":63628,"count":0}],"isBlockCoverage":false},{"functionName":"Server._setupWorker","ranges":[{"startOffset":63667,"endOffset":63908,"count":0}],"isBlockCoverage":false},{"functionName":"Server.ref","ranges":[{"startOffset":63934,"endOffset":64032,"count":0}],"isBlockCoverage":false},{"functionName":"Server.unref","ranges":[{"startOffset":64060,"endOffset":64159,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":64301,"endOffset":64970,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":65009,"endOffset":65250,"count":0}],"isBlockCoverage":false},{"functionName":"get BlockList","ranges":[{"startOffset":65379,"endOffset":65481,"count":0}],"isBlockCoverage":false},{"functionName":"get SocketAddress","ranges":[{"startOffset":65485,"endOffset":65607,"count":0}],"isBlockCoverage":false}]},{"scriptId":"249","url":"node:internal/stream_base_commons","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7041,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1010,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"handleWriteReq","ranges":[{"startOffset":1154,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"onWriteComplete","ranges":[{"startOffset":2011,"endOffset":2696,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteWrap","ranges":[{"startOffset":2698,"endOffset":2936,"count":0}],"isBlockCoverage":false},{"functionName":"writevGeneric","ranges":[{"startOffset":2938,"endOffset":3577,"count":0}],"isBlockCoverage":false},{"functionName":"writeGeneric","ranges":[{"startOffset":3579,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteDispatched","ranges":[{"startOffset":3786,"endOffset":4089,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamRead","ranges":[{"startOffset":4091,"endOffset":6022,"count":0}],"isBlockCoverage":false},{"functionName":"setStreamTimeout","ranges":[{"startOffset":6024,"endOffset":6834,"count":0}],"isBlockCoverage":false}]},{"scriptId":"250","url":"node:internal/perf/observe","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16742,"count":1}],"isBlockCoverage":false},{"functionName":"queuePending","ranges":[{"startOffset":2620,"endOffset":2881,"count":0}],"isBlockCoverage":false},{"functionName":"getObserverType","ranges":[{"startOffset":2883,"endOffset":3223,"count":0}],"isBlockCoverage":false},{"functionName":"maybeDecrementObserverCounts","ranges":[{"startOffset":3225,"endOffset":3646,"count":0}],"isBlockCoverage":false},{"functionName":"maybeIncrementObserverCount","ranges":[{"startOffset":3648,"endOffset":3990,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceObserverEntryList","ranges":[{"startOffset":4031,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"getEntries","ranges":[{"startOffset":4095,"endOffset":4234,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByType","ranges":[{"startOffset":4238,"endOffset":4542,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByName","ranges":[{"startOffset":4546,"endOffset":5039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5043,"endOffset":5291,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceObserverEntryList","ranges":[{"startOffset":5643,"endOffset":5933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5935,"endOffset":9507,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":9989,"endOffset":10191,"count":0}],"isBlockCoverage":false},{"functionName":"bufferUserTiming","ranges":[{"startOffset":10252,"endOffset":11278,"count":0}],"isBlockCoverage":false},{"functionName":"bufferResourceTiming","ranges":[{"startOffset":11566,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"setResourceTimingBufferSize","ranges":[{"startOffset":12918,"endOffset":13190,"count":0}],"isBlockCoverage":false},{"functionName":"setDispatchBufferFull","ranges":[{"startOffset":13192,"endOffset":13257,"count":0}],"isBlockCoverage":false},{"functionName":"clearEntriesFromBuffer","ranges":[{"startOffset":13259,"endOffset":13859,"count":0}],"isBlockCoverage":false},{"functionName":"filterBufferMapByNameAndType","ranges":[{"startOffset":13861,"endOffset":14749,"count":0}],"isBlockCoverage":false},{"functionName":"observerCallback","ranges":[{"startOffset":14751,"endOffset":15867,"count":0}],"isBlockCoverage":false},{"functionName":"hasObserver","ranges":[{"startOffset":15904,"endOffset":16023,"count":0}],"isBlockCoverage":false},{"functionName":"startPerf","ranges":[{"startOffset":16026,"endOffset":16136,"count":0}],"isBlockCoverage":false},{"functionName":"stopPerf","ranges":[{"startOffset":16138,"endOffset":16453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"251","url":"node:internal/perf/performance_entry","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3333,"count":1}],"isBlockCoverage":false},{"functionName":"isPerformanceEntry","ranges":[{"startOffset":675,"endOffset":748,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceEntry","ranges":[{"startOffset":777,"endOffset":914,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":918,"endOffset":1018,"count":0}],"isBlockCoverage":false},{"functionName":"get entryType","ranges":[{"startOffset":1022,"endOffset":1137,"count":0}],"isBlockCoverage":false},{"functionName":"get startTime","ranges":[{"startOffset":1141,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"get duration","ranges":[{"startOffset":1260,"endOffset":1372,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1376,"endOffset":1620,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":1624,"endOffset":1846,"count":0}],"isBlockCoverage":false},{"functionName":"initPerformanceEntry","ranges":[{"startOffset":2068,"endOffset":2248,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceEntry","ranges":[{"startOffset":2250,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":2559,"endOffset":2669,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":2673,"endOffset":2924,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceNodeEntry","ranges":[{"startOffset":2928,"endOffset":3163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"252","url":"node:internal/tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6485,"count":1}],"isBlockCoverage":false},{"functionName":"warnOnDeactivatedColors","ranges":[{"startOffset":2549,"endOffset":3002,"count":0}],"isBlockCoverage":false},{"functionName":"getColorDepth","ranges":[{"startOffset":3160,"endOffset":6156,"count":0}],"isBlockCoverage":false},{"functionName":"hasColors","ranges":[{"startOffset":6158,"endOffset":6431,"count":0}],"isBlockCoverage":false}]},{"scriptId":"253","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":997,"count":1}],"isBlockCoverage":true},{"functionName":"stringReplaceAll","ranges":[{"startOffset":78,"endOffset":552,"count":0}],"isBlockCoverage":false},{"functionName":"stringEncaseCRLFWithFirstIndex","ranges":[{"startOffset":561,"endOffset":996,"count":0}],"isBlockCoverage":false}]},{"scriptId":"254","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6025,"count":1}],"isBlockCoverage":true},{"functionName":"assertPatternsInput","ranges":[{"startOffset":367,"endOffset":522,"count":0}],"isBlockCoverage":false},{"functionName":"toPatternsArray","ranges":[{"startOffset":549,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"checkCwdOption","ranges":[{"startOffset":685,"endOffset":912,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":940,"endOffset":1200,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArguments","ranges":[{"startOffset":1230,"endOffset":1321,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1236,"endOffset":1321,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgumentsSync","ranges":[{"startOffset":1354,"endOffset":1439,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1360,"endOffset":1439,"count":0}],"isBlockCoverage":false},{"functionName":"getIgnoreFilesPatterns","ranges":[{"startOffset":1473,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":1701,"endOffset":1913,"count":0}],"isBlockCoverage":false},{"functionName":"getFilterSync","ranges":[{"startOffset":1938,"endOffset":2142,"count":0}],"isBlockCoverage":false},{"functionName":"createFilterFunction","ranges":[{"startOffset":2174,"endOffset":2469,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobResults","ranges":[{"startOffset":2501,"endOffset":2585,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobStreams","ranges":[{"startOffset":2616,"endOffset":2717,"count":0}],"isBlockCoverage":false},{"functionName":"convertNegativePatterns","ranges":[{"startOffset":2752,"endOffset":3364,"count":0}],"isBlockCoverage":false},{"functionName":"getDirGlobOptions","ranges":[{"startOffset":3393,"endOffset":3499,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":3524,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasksSync","ranges":[{"startOffset":4171,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4758,"endOffset":5048,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5101,"endOffset":5348,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5403,"endOffset":5652,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5713,"endOffset":5805,"count":0}],"isBlockCoverage":false}]},{"scriptId":"255","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/maps.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"256","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":465,"count":1}],"isBlockCoverage":true},{"functionName":"escapeStringRegexp","ranges":[{"startOffset":15,"endOffset":464,"count":3},{"startOffset":86,"endOffset":134,"count":0}],"isBlockCoverage":true}]},{"scriptId":"257","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/indent-string/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":820,"count":1}],"isBlockCoverage":true},{"functionName":"indentString","ranges":[{"startOffset":15,"endOffset":819,"count":0}],"isBlockCoverage":false}]},{"scriptId":"258","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mem/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3063,"count":1}],"isBlockCoverage":true},{"functionName":"mem","ranges":[{"startOffset":651,"endOffset":1491,"count":2},{"startOffset":753,"endOffset":790,"count":0}],"isBlockCoverage":true},{"functionName":"memoized","ranges":[{"startOffset":812,"endOffset":1357,"count":3},{"startOffset":868,"endOffset":890,"count":1},{"startOffset":891,"endOffset":906,"count":2},{"startOffset":973,"endOffset":1078,"count":1},{"startOffset":1078,"endOffset":1208,"count":2},{"startOffset":1208,"endOffset":1229,"count":0},{"startOffset":1230,"endOffset":1256,"count":2}],"isBlockCoverage":true},{"functionName":"memDecorator","ranges":[{"startOffset":1911,"endOffset":2668,"count":0}],"isBlockCoverage":false},{"functionName":"memClear","ranges":[{"startOffset":2761,"endOffset":3062,"count":0}],"isBlockCoverage":false}]},{"scriptId":"259","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12,"count":1}],"isBlockCoverage":true}]},{"scriptId":"260","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-promise/index.mjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":151,"count":1}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":15,"endOffset":150,"count":14},{"startOffset":56,"endOffset":113,"count":0},{"startOffset":114,"endOffset":147,"count":0}],"isBlockCoverage":true}]},{"scriptId":"261","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/plur/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":963,"count":1}],"isBlockCoverage":true},{"functionName":"plur","ranges":[{"startOffset":66,"endOffset":962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"262","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/like-selector.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1333,"count":1}],"isBlockCoverage":true},{"functionName":"isPrimitive","ranges":[{"startOffset":20,"endOffset":72,"count":0}],"isBlockCoverage":false},{"functionName":"isLikeSelector","ranges":[{"startOffset":82,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"selectComparable","ranges":[{"startOffset":609,"endOffset":1332,"count":0}],"isBlockCoverage":false}]},{"scriptId":"263","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5267,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5200,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2913,"endOffset":3409,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3462,"endOffset":3983,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4040,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4149,"endOffset":4906,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4960,"endOffset":5041,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5095,"endOffset":5148,"count":0}],"isBlockCoverage":false}]},{"scriptId":"264","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/strip-ansi/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":468,"count":1}],"isBlockCoverage":true},{"functionName":"stripAnsi","ranges":[{"startOffset":80,"endOffset":467,"count":69},{"startOffset":142,"endOffset":220,"count":0}],"isBlockCoverage":true}]},{"scriptId":"265","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/ignore.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2797,"count":1}],"isBlockCoverage":true},{"functionName":"applyBaseToPattern","ranges":[{"startOffset":479,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"parseIgnoreFile","ranges":[{"startOffset":634,"endOffset":865,"count":0}],"isBlockCoverage":false},{"functionName":"toRelativePath","ranges":[{"startOffset":891,"endOffset":1176,"count":0}],"isBlockCoverage":false},{"functionName":"getIsIgnoredPredicate","ranges":[{"startOffset":1209,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1582,"endOffset":1782,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFiles","ranges":[{"startOffset":1823,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFilesSync","ranges":[{"startOffset":2256,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnored","ranges":[{"startOffset":2623,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnoredSync","ranges":[{"startOffset":2724,"endOffset":2795,"count":0}],"isBlockCoverage":false}]},{"scriptId":"266","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":462,"count":1}],"isBlockCoverage":true},{"functionName":"toPath","ranges":[{"startOffset":102,"endOffset":178,"count":0}],"isBlockCoverage":false},{"functionName":"FilterStream","ranges":[{"startOffset":228,"endOffset":394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":431,"endOffset":460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"267","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mimic-fn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2903,"count":1}],"isBlockCoverage":true},{"functionName":"copyProperty","ranges":[{"startOffset":21,"endOffset":887,"count":4},{"startOffset":280,"endOffset":307,"count":2},{"startOffset":309,"endOffset":577,"count":2},{"startOffset":579,"endOffset":593,"count":0},{"startOffset":593,"endOffset":790,"count":2},{"startOffset":790,"endOffset":814,"count":0},{"startOffset":816,"endOffset":830,"count":0},{"startOffset":830,"endOffset":886,"count":2}],"isBlockCoverage":true},{"functionName":"canCopyProperty","ranges":[{"startOffset":1091,"endOffset":1457,"count":2},{"startOffset":1197,"endOffset":1454,"count":0}],"isBlockCoverage":true},{"functionName":"changePrototype","ranges":[{"startOffset":1484,"endOffset":1662,"count":2},{"startOffset":1616,"endOffset":1661,"count":0}],"isBlockCoverage":true},{"functionName":"wrappedToString","ranges":[{"startOffset":1689,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"changeToString","ranges":[{"startOffset":2221,"endOffset":2603,"count":2},{"startOffset":2273,"endOffset":2277,"count":0}],"isBlockCoverage":true},{"functionName":"mimicFunction","ranges":[{"startOffset":2621,"endOffset":2902,"count":2},{"startOffset":2762,"endOffset":2825,"count":4}],"isBlockCoverage":true}]},{"scriptId":"268","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/ansi-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":350,"count":1}],"isBlockCoverage":true},{"functionName":"ansiRegex","ranges":[{"startOffset":15,"endOffset":349,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true}]},{"scriptId":"269","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/slash/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":285,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":15,"endOffset":284,"count":0}],"isBlockCoverage":false}]},{"scriptId":"270","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":250,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":62,"endOffset":248,"count":1}],"isBlockCoverage":true}]},{"scriptId":"271","url":"node:internal/vm/module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12200,"count":1}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":1662,"endOffset":4017,"count":0}],"isBlockCoverage":false},{"functionName":"get identifier","ranges":[{"startOffset":4021,"endOffset":4158,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4162,"endOffset":4295,"count":0}],"isBlockCoverage":false},{"functionName":"get namespace","ranges":[{"startOffset":4299,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"get status","ranges":[{"startOffset":4580,"endOffset":4733,"count":0}],"isBlockCoverage":false},{"functionName":"get error","ranges":[{"startOffset":4737,"endOffset":4987,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":4991,"endOffset":5396,"count":0}],"isBlockCoverage":false},{"functionName":"evaluate","ranges":[{"startOffset":5400,"endOffset":6153,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6157,"endOffset":6909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":10171,"count":0}],"isBlockCoverage":false},{"functionName":"SyntheticModule","ranges":[{"startOffset":10214,"endOffset":11307,"count":0}],"isBlockCoverage":false},{"functionName":"setExport","ranges":[{"startOffset":11311,"endOffset":11613,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamicallyWrap","ranges":[{"startOffset":11617,"endOffset":12096,"count":372}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyWrapper","ranges":[{"startOffset":11722,"endOffset":12052,"count":2},{"startOffset":11873,"endOffset":11910,"count":0},{"startOffset":11912,"endOffset":12051,"count":0}],"isBlockCoverage":true}]},{"scriptId":"272","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":82,"endOffset":745,"count":1}],"isBlockCoverage":true},{"functionName":"onUnhandledRejection","ranges":[{"startOffset":129,"endOffset":244,"count":0}],"isBlockCoverage":false},{"functionName":"onRejectionHandled","ranges":[{"startOffset":247,"endOffset":433,"count":0}],"isBlockCoverage":false},{"functionName":"currentlyUnhandled","ranges":[{"startOffset":436,"endOffset":599,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":501,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"273","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/array-find-index/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":462,"count":0}],"isBlockCoverage":false}]},{"scriptId":"274","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/now-and-timers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":501,"count":1}],"isBlockCoverage":true},{"functionName":"setCappedTimeout","ranges":[{"startOffset":313,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"275","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge2/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3241,"count":1}],"isBlockCoverage":true},{"functionName":"merge2","ranges":[{"startOffset":280,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"pauseStreams","ranges":[{"startOffset":2702,"endOffset":3240,"count":0}],"isBlockCoverage":false}]},{"scriptId":"276","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4091,"count":1},{"startOffset":3434,"endOffset":3452,"count":0}],"isBlockCoverage":true},{"functionName":"FastGlob","ranges":[{"startOffset":277,"endOffset":501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":612,"endOffset":3423,"count":1}],"isBlockCoverage":true},{"functionName":"sync","ranges":[{"startOffset":763,"endOffset":946,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":977,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":1503,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1795,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"escapePath","ranges":[{"startOffset":2060,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2217,"endOffset":2355,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2434,"endOffset":2864,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2461,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2644,"endOffset":2799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2936,"endOffset":3370,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2963,"endOffset":3100,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":3148,"endOffset":3305,"count":0}],"isBlockCoverage":false},{"functionName":"getWorks","ranges":[{"startOffset":3455,"endOffset":3751,"count":0}],"isBlockCoverage":false},{"functionName":"assertPatternsInput","ranges":[{"startOffset":3752,"endOffset":4063,"count":0}],"isBlockCoverage":false}]},{"scriptId":"277","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/managers/tasks.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5531,"count":1}],"isBlockCoverage":true},{"functionName":"generate","ranges":[{"startOffset":355,"endOffset":1133,"count":0}],"isBlockCoverage":false},{"functionName":"processPatterns","ranges":[{"startOffset":1163,"endOffset":2553,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToTasks","ranges":[{"startOffset":2825,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":4023,"endOffset":4121,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatternsAsPositive","ranges":[{"startOffset":4173,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"groupPatternsByBaseDirectory","ranges":[{"startOffset":4482,"endOffset":4868,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupsToTasks","ranges":[{"startOffset":4938,"endOffset":5147,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupToTask","ranges":[{"startOffset":5215,"endOffset":5467,"count":0}],"isBlockCoverage":false}]},{"scriptId":"278","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":596,"count":1}],"isBlockCoverage":true}]},{"scriptId":"279","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1}],"isBlockCoverage":true},{"functionName":"flatten","ranges":[{"startOffset":123,"endOffset":230,"count":0}],"isBlockCoverage":false},{"functionName":"splitWhen","ranges":[{"startOffset":258,"endOffset":576,"count":0}],"isBlockCoverage":false}]},{"scriptId":"280","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/errno.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":234,"count":1}],"isBlockCoverage":true},{"functionName":"isEnoentCodeError","ranges":[{"startOffset":113,"endOffset":186,"count":0}],"isBlockCoverage":false}]},{"scriptId":"281","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"282","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/path.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3010,"count":1},{"startOffset":2154,"endOffset":2173,"count":0},{"startOffset":2552,"endOffset":2581,"count":0}],"isBlockCoverage":true},{"functionName":"unixify","ranges":[{"startOffset":1352,"endOffset":1423,"count":0}],"isBlockCoverage":false},{"functionName":"makeAbsolute","ranges":[{"startOffset":1451,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"removeLeadingDotSegment","ranges":[{"startOffset":1569,"endOffset":2057,"count":0}],"isBlockCoverage":false},{"functionName":"escapeWindowsPath","ranges":[{"startOffset":2193,"endOffset":2303,"count":0}],"isBlockCoverage":false},{"functionName":"escapePosixPath","ranges":[{"startOffset":2351,"endOffset":2457,"count":0}],"isBlockCoverage":false},{"functionName":"convertWindowsPathToPattern","ranges":[{"startOffset":2611,"endOffset":2792,"count":0}],"isBlockCoverage":false},{"functionName":"convertPosixPathToPattern","ranges":[{"startOffset":2860,"endOffset":2946,"count":0}],"isBlockCoverage":false}]},{"scriptId":"283","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/pattern.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7965,"count":1}],"isBlockCoverage":true},{"functionName":"isStaticPattern","ranges":[{"startOffset":1465,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1608,"endOffset":2666,"count":0}],"isBlockCoverage":false},{"functionName":"hasBraceExpansion","ranges":[{"startOffset":2712,"endOffset":3145,"count":0}],"isBlockCoverage":false},{"functionName":"convertToPositivePattern","ranges":[{"startOffset":3146,"endOffset":3260,"count":0}],"isBlockCoverage":false},{"functionName":"convertToNegativePattern","ranges":[{"startOffset":3322,"endOffset":3394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":3456,"endOffset":3553,"count":0}],"isBlockCoverage":false},{"functionName":"isPositivePattern","ranges":[{"startOffset":3601,"endOffset":3680,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatterns","ranges":[{"startOffset":3728,"endOffset":3817,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":3869,"endOffset":3958,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsInsideCurrentDirectory","ranges":[{"startOffset":4205,"endOffset":4347,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsOutsideCurrentDirectory","ranges":[{"startOffset":4631,"endOffset":4751,"count":0}],"isBlockCoverage":false},{"functionName":"isPatternRelatedToParentDirectory","ranges":[{"startOffset":4833,"endOffset":4955,"count":0}],"isBlockCoverage":false},{"functionName":"getBaseDirectory","ranges":[{"startOffset":5035,"endOffset":5133,"count":0}],"isBlockCoverage":false},{"functionName":"hasGlobStar","ranges":[{"startOffset":5179,"endOffset":5251,"count":0}],"isBlockCoverage":false},{"functionName":"endsWithSlashGlobStar","ranges":[{"startOffset":5287,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"isAffectDepthOfReadingPattern","ranges":[{"startOffset":5431,"endOffset":5599,"count":0}],"isBlockCoverage":false},{"functionName":"expandPatternsWithBraceExpansion","ranges":[{"startOffset":5671,"endOffset":5857,"count":0}],"isBlockCoverage":false},{"functionName":"expandBraceExpansion","ranges":[{"startOffset":5935,"endOffset":6463,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternParts","ranges":[{"startOffset":6517,"endOffset":7150,"count":0}],"isBlockCoverage":false},{"functionName":"makeRe","ranges":[{"startOffset":7194,"endOffset":7279,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToRe","ranges":[{"startOffset":7305,"endOffset":7420,"count":0}],"isBlockCoverage":false},{"functionName":"matchAny","ranges":[{"startOffset":7472,"endOffset":7578,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateSlashes","ranges":[{"startOffset":7813,"endOffset":7907,"count":0}],"isBlockCoverage":false}]},{"scriptId":"284","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/glob-parent/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1120,"count":1}],"isBlockCoverage":true},{"functionName":"globParent","ranges":[{"startOffset":461,"endOffset":1118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"285","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3628,"count":1}],"isBlockCoverage":true},{"functionName":"strictCheck","ranges":[{"startOffset":247,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"relaxedCheck","ranges":[{"startOffset":2767,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"isGlob","ranges":[{"startOffset":3324,"endOffset":3626,"count":0}],"isBlockCoverage":false}]},{"scriptId":"286","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-extglob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"isExtglob","ranges":[{"startOffset":168,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"287","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/micromatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13741,"count":1}],"isBlockCoverage":true},{"functionName":"isEmptyString","ranges":[{"startOffset":187,"endOffset":220,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch","ranges":[{"startOffset":784,"endOffset":2129,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matcher","ranges":[{"startOffset":2781,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.isMatch","ranges":[{"startOffset":3440,"endOffset":3501,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.not","ranges":[{"startOffset":4203,"endOffset":4640,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.contains","ranges":[{"startOffset":5367,"endOffset":5928,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matchKeys","ranges":[{"startOffset":6706,"endOffset":6980,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.some","ranges":[{"startOffset":7765,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.every","ranges":[{"startOffset":8890,"endOffset":9146,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.all","ranges":[{"startOffset":9947,"endOffset":10155,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.capture","ranges":[{"startOffset":10869,"endOffset":11165,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.makeRe","ranges":[{"startOffset":11617,"endOffset":11655,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.scan","ranges":[{"startOffset":12004,"endOffset":12040,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.parse","ranges":[{"startOffset":12432,"endOffset":12652,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braces","ranges":[{"startOffset":13219,"endOffset":13456,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braceExpand","ranges":[{"startOffset":13510,"endOffset":13679,"count":0}],"isBlockCoverage":false}]},{"scriptId":"288","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4375,"count":1}],"isBlockCoverage":true},{"functionName":"braces","ranges":[{"startOffset":543,"endOffset":1030,"count":0}],"isBlockCoverage":false},{"functionName":"braces.parse","ranges":[{"startOffset":1359,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"braces.stringify","ranges":[{"startOffset":1795,"endOffset":1959,"count":0}],"isBlockCoverage":false},{"functionName":"braces.compile","ranges":[{"startOffset":2407,"endOffset":2550,"count":0}],"isBlockCoverage":false},{"functionName":"braces.expand","ranges":[{"startOffset":3141,"endOffset":3541,"count":0}],"isBlockCoverage":false},{"functionName":"braces.create","ranges":[{"startOffset":4118,"endOffset":4319,"count":0}],"isBlockCoverage":false}]},{"scriptId":"289","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/stringify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":700,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":67,"endOffset":697,"count":0}],"isBlockCoverage":false}]},{"scriptId":"290","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2451,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isInteger","ranges":[{"startOffset":35,"endOffset":232,"count":0}],"isBlockCoverage":false},{"functionName":"exports.find","ranges":[{"startOffset":292,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"exports.exceedsLimit","ranges":[{"startOffset":419,"endOffset":626,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeNode","ranges":[{"startOffset":712,"endOffset":985,"count":0}],"isBlockCoverage":false},{"functionName":"exports.encloseBrace","ranges":[{"startOffset":1097,"endOffset":1266,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isInvalidBrace","ranges":[{"startOffset":1347,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isOpenOrClose","ranges":[{"startOffset":1767,"endOffset":1906,"count":0}],"isBlockCoverage":false},{"functionName":"exports.reduce","ranges":[{"startOffset":1969,"endOffset":2127,"count":0}],"isBlockCoverage":false},{"functionName":"exports.flatten","ranges":[{"startOffset":2177,"endOffset":2449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"291","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/compile.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1415,"count":1}],"isBlockCoverage":true},{"functionName":"compile","ranges":[{"startOffset":102,"endOffset":1386,"count":0}],"isBlockCoverage":false}]},{"scriptId":"292","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fill-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6315,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":265,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"transform","ranges":[{"startOffset":355,"endOffset":439,"count":0}],"isBlockCoverage":false},{"functionName":"isValidValue","ranges":[{"startOffset":463,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":578,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"zeros","ranges":[{"startOffset":624,"endOffset":817,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":838,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":1001,"endOffset":1295,"count":0}],"isBlockCoverage":false},{"functionName":"toMaxLen","ranges":[{"startOffset":1315,"endOffset":1552,"count":0}],"isBlockCoverage":false},{"functionName":"toSequence","ranges":[{"startOffset":1574,"endOffset":2208,"count":0}],"isBlockCoverage":false},{"functionName":"toRange","ranges":[{"startOffset":2227,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"toRegex","ranges":[{"startOffset":2499,"endOffset":2758,"count":0}],"isBlockCoverage":false},{"functionName":"rangeError","ranges":[{"startOffset":2780,"endOffset":2874,"count":0}],"isBlockCoverage":false},{"functionName":"invalidRange","ranges":[{"startOffset":2898,"endOffset":3008,"count":0}],"isBlockCoverage":false},{"functionName":"invalidStep","ranges":[{"startOffset":3031,"endOffset":3176,"count":0}],"isBlockCoverage":false},{"functionName":"fillNumbers","ranges":[{"startOffset":3199,"endOffset":4682,"count":0}],"isBlockCoverage":false},{"functionName":"fillLetters","ranges":[{"startOffset":4705,"endOffset":5486,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":5502,"endOffset":6289,"count":0}],"isBlockCoverage":false}]},{"scriptId":"293","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/to-regex-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6481,"count":1}],"isBlockCoverage":true},{"functionName":"toRegexRange","ranges":[{"startOffset":235,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"collatePatterns","ranges":[{"startOffset":2180,"endOffset":2554,"count":0}],"isBlockCoverage":false},{"functionName":"splitToRanges","ranges":[{"startOffset":2556,"endOffset":3037,"count":0}],"isBlockCoverage":false},{"functionName":"rangeToPattern","ranges":[{"startOffset":3159,"endOffset":3832,"count":0}],"isBlockCoverage":false},{"functionName":"splitToPatterns","ranges":[{"startOffset":3834,"endOffset":4632,"count":0}],"isBlockCoverage":false},{"functionName":"filterPatterns","ranges":[{"startOffset":4634,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"zip","ranges":[{"startOffset":5120,"endOffset":5233,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":5235,"endOffset":5298,"count":0}],"isBlockCoverage":false},{"functionName":"contains","ranges":[{"startOffset":5300,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"countNines","ranges":[{"startOffset":5382,"endOffset":5478,"count":0}],"isBlockCoverage":false},{"functionName":"countZeros","ranges":[{"startOffset":5480,"endOffset":5571,"count":0}],"isBlockCoverage":false},{"functionName":"toQuantifier","ranges":[{"startOffset":5573,"endOffset":5741,"count":0}],"isBlockCoverage":false},{"functionName":"toCharacterClass","ranges":[{"startOffset":5743,"endOffset":5837,"count":0}],"isBlockCoverage":false},{"functionName":"hasPadding","ranges":[{"startOffset":5839,"endOffset":5899,"count":0}],"isBlockCoverage":false},{"functionName":"padZeros","ranges":[{"startOffset":5901,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"toRegexRange.clearCache","ranges":[{"startOffset":6382,"endOffset":6413,"count":0}],"isBlockCoverage":false}]},{"scriptId":"294","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-number/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":411,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":184,"endOffset":409,"count":0}],"isBlockCoverage":false}]},{"scriptId":"295","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/expand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2780,"count":1}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":143,"endOffset":810,"count":0}],"isBlockCoverage":false},{"functionName":"expand","ranges":[{"startOffset":828,"endOffset":2752,"count":0}],"isBlockCoverage":false}]},{"scriptId":"296","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6913,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":576,"endOffset":6886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"297","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"298","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":60,"count":1}],"isBlockCoverage":true}]},{"scriptId":"299","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/picomatch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9956,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":204,"endOffset":264,"count":18},{"startOffset":242,"endOffset":264,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch","ranges":[{"startOffset":1018,"endOffset":2836,"count":19},{"startOffset":1087,"endOffset":1365,"count":1},{"startOffset":1365,"endOffset":1400,"count":18},{"startOffset":1400,"endOffset":1414,"count":0},{"startOffset":1415,"endOffset":1428,"count":0},{"startOffset":1449,"endOffset":1490,"count":18},{"startOffset":1478,"endOffset":1489,"count":0},{"startOffset":1492,"endOffset":1567,"count":0},{"startOffset":1567,"endOffset":1597,"count":18},{"startOffset":1669,"endOffset":1705,"count":0},{"startOffset":1710,"endOffset":1756,"count":18},{"startOffset":1861,"endOffset":2015,"count":0},{"startOffset":2015,"endOffset":2783,"count":18},{"startOffset":2783,"endOffset":2815,"count":0},{"startOffset":2815,"endOffset":2835,"count":18}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1114,"endOffset":1161,"count":18}],"isBlockCoverage":true},{"functionName":"arrayMatcher","ranges":[{"startOffset":1189,"endOffset":1335,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnored","ranges":[{"startOffset":1829,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2035,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.test","ranges":[{"startOffset":3384,"endOffset":4185,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.matchBase","ranges":[{"startOffset":4600,"endOffset":4787,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.isMatch","ranges":[{"startOffset":5423,"endOffset":5484,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.parse","ranges":[{"startOffset":5894,"endOffset":6062,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.scan","ranges":[{"startOffset":6697,"endOffset":6737,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.compileRe","ranges":[{"startOffset":7228,"endOffset":7738,"count":18},{"startOffset":7322,"endOffset":7352,"count":0},{"startOffset":7377,"endOffset":7382,"count":0},{"startOffset":7416,"endOffset":7420,"count":0},{"startOffset":7459,"endOffset":7463,"count":0},{"startOffset":7568,"endOffset":7607,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch.makeRe","ranges":[{"startOffset":8611,"endOffset":9117,"count":18},{"startOffset":8724,"endOffset":8785,"count":0},{"startOffset":8895,"endOffset":8914,"count":8},{"startOffset":8917,"endOffset":8975,"count":12}],"isBlockCoverage":true},{"functionName":"picomatch.toRegex","ranges":[{"startOffset":9579,"endOffset":9807,"count":18},{"startOffset":9635,"endOffset":9640,"count":0},{"startOffset":9699,"endOffset":9704,"count":0},{"startOffset":9717,"endOffset":9805,"count":0}],"isBlockCoverage":true}]},{"scriptId":"300","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/scan.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9189,"count":1}],"isBlockCoverage":true},{"functionName":"isPathSeparator","ranges":[{"startOffset":665,"endOffset":746,"count":0}],"isBlockCoverage":false},{"functionName":"depth","ranges":[{"startOffset":763,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"scan","ranges":[{"startOffset":1512,"endOffset":9163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"301","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1885,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isObject","ranges":[{"startOffset":242,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"exports.hasRegexChars","ranges":[{"startOffset":337,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isRegexChar","ranges":[{"startOffset":397,"endOffset":450,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeRegex","ranges":[{"startOffset":474,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"exports.toPosixSlashes","ranges":[{"startOffset":555,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removeBackslashes","ranges":[{"startOffset":626,"endOffset":738,"count":0}],"isBlockCoverage":false},{"functionName":"exports.supportsLookbehinds","ranges":[{"startOffset":771,"endOffset":960,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isWindows","ranges":[{"startOffset":983,"endOffset":1132,"count":48},{"startOffset":1010,"endOffset":1049,"count":30},{"startOffset":1051,"endOffset":1084,"count":0}],"isBlockCoverage":true},{"functionName":"exports.escapeLast","ranges":[{"startOffset":1156,"endOffset":1401,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removePrefix","ranges":[{"startOffset":1427,"endOffset":1584,"count":30},{"startOffset":1505,"endOffset":1565,"count":0}],"isBlockCoverage":true},{"functionName":"exports.wrapOutput","ranges":[{"startOffset":1608,"endOffset":1883,"count":8},{"startOffset":1682,"endOffset":1686,"count":0},{"startOffset":1728,"endOffset":1732,"count":0},{"startOffset":1821,"endOffset":1864,"count":0}],"isBlockCoverage":true}]},{"scriptId":"302","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4448,"count":1}],"isBlockCoverage":true},{"functionName":"extglobChars","ranges":[{"startOffset":3985,"endOffset":4324,"count":18}],"isBlockCoverage":true},{"functionName":"globChars","ranges":[{"startOffset":4365,"endOffset":4444,"count":30},{"startOffset":4410,"endOffset":4425,"count":0}],"isBlockCoverage":true}]},{"scriptId":"303","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27763,"count":1}],"isBlockCoverage":true},{"functionName":"expandRange","ranges":[{"startOffset":287,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"syntaxError","ranges":[{"startOffset":713,"endOffset":819,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":950,"endOffset":25216,"count":18},{"startOffset":1005,"endOffset":1056,"count":0},{"startOffset":1179,"endOffset":1217,"count":0},{"startOffset":1276,"endOffset":1372,"count":0},{"startOffset":1500,"endOffset":1504,"count":0},{"startOffset":2109,"endOffset":2113,"count":0},{"startOffset":2154,"endOffset":2161,"count":0},{"startOffset":2210,"endOffset":2226,"count":0},{"startOffset":2256,"endOffset":2285,"count":0},{"startOffset":2357,"endOffset":2395,"count":0},{"startOffset":6907,"endOffset":8130,"count":8},{"startOffset":7704,"endOffset":7937,"count":0},{"startOffset":7964,"endOffset":7989,"count":3},{"startOffset":7991,"endOffset":8046,"count":0},{"startOffset":8130,"endOffset":8211,"count":10},{"startOffset":8211,"endOffset":24093,"count":55},{"startOffset":8265,"endOffset":8288,"count":0},{"startOffset":8357,"endOffset":9173,"count":0},{"startOffset":9319,"endOffset":9382,"count":0},{"startOffset":9384,"endOffset":10516,"count":0},{"startOffset":10659,"endOffset":10675,"count":0},{"startOffset":10677,"endOffset":10792,"count":0},{"startOffset":10855,"endOffset":11012,"count":0},{"startOffset":11073,"endOffset":11161,"count":0},{"startOffset":11186,"endOffset":11621,"count":0},{"startOffset":11686,"endOffset":12045,"count":0},{"startOffset":12070,"endOffset":13525,"count":0},{"startOffset":13580,"endOffset":13604,"count":0},{"startOffset":13606,"endOffset":13873,"count":0},{"startOffset":13898,"endOffset":15028,"count":0},{"startOffset":15083,"endOffset":15236,"count":0},{"startOffset":15292,"endOffset":15553,"count":0},{"startOffset":15610,"endOffset":16220,"count":9},{"startOffset":15901,"endOffset":15935,"count":0},{"startOffset":15937,"endOffset":16136,"count":0},{"startOffset":16220,"endOffset":16274,"count":46},{"startOffset":16274,"endOffset":16840,"count":5},{"startOffset":16303,"endOffset":16325,"count":0},{"startOffset":16327,"endOffset":16576,"count":0},{"startOffset":16647,"endOffset":16671,"count":0},{"startOffset":16673,"endOffset":16760,"count":0},{"startOffset":16840,"endOffset":16904,"count":41},{"startOffset":16904,"endOffset":17841,"count":0},{"startOffset":17841,"endOffset":17902,"count":41},{"startOffset":17902,"endOffset":18202,"count":0},{"startOffset":18202,"endOffset":18256,"count":41},{"startOffset":18256,"endOffset":18806,"count":0},{"startOffset":18806,"endOffset":18866,"count":41},{"startOffset":18866,"endOffset":19091,"count":0},{"startOffset":19091,"endOffset":19151,"count":41},{"startOffset":19151,"endOffset":19452,"count":10},{"startOffset":19195,"endOffset":19234,"count":0},{"startOffset":19452,"endOffset":19548,"count":31},{"startOffset":19550,"endOffset":19757,"count":0},{"startOffset":19757,"endOffset":19842,"count":31},{"startOffset":19844,"endOffset":19901,"count":0},{"startOffset":19901,"endOffset":19933,"count":31},{"startOffset":19933,"endOffset":23132,"count":11},{"startOffset":19971,"endOffset":20022,"count":0},{"startOffset":20133,"endOffset":20156,"count":2},{"startOffset":20189,"endOffset":20246,"count":9},{"startOffset":20278,"endOffset":20323,"count":0},{"startOffset":20325,"endOffset":20403,"count":0},{"startOffset":20444,"endOffset":20497,"count":0},{"startOffset":20539,"endOffset":20591,"count":0},{"startOffset":20612,"endOffset":20637,"count":0},{"startOffset":20638,"endOffset":20649,"count":0},{"startOffset":20650,"endOffset":20663,"count":0},{"startOffset":20665,"endOffset":20743,"count":0},{"startOffset":20820,"endOffset":20997,"count":0},{"startOffset":21030,"endOffset":21038,"count":2},{"startOffset":21040,"endOffset":21257,"count":0},{"startOffset":21292,"endOffset":21320,"count":9},{"startOffset":21321,"endOffset":21334,"count":9},{"startOffset":21335,"endOffset":21343,"count":9},{"startOffset":21345,"endOffset":21745,"count":0},{"startOffset":21780,"endOffset":21808,"count":9},{"startOffset":21809,"endOffset":21827,"count":9},{"startOffset":21829,"endOffset":22362,"count":9},{"startOffset":21877,"endOffset":21881,"count":0},{"startOffset":22362,"endOffset":22413,"count":2},{"startOffset":22415,"endOffset":22745,"count":2},{"startOffset":22745,"endOffset":23132,"count":0},{"startOffset":23132,"endOffset":23220,"count":20},{"startOffset":23220,"endOffset":23401,"count":0},{"startOffset":23401,"endOffset":23469,"count":20},{"startOffset":23470,"endOffset":23492,"count":0},{"startOffset":23494,"endOffset":23564,"count":0},{"startOffset":23564,"endOffset":23602,"count":20},{"startOffset":23602,"endOffset":23626,"count":18},{"startOffset":23627,"endOffset":23649,"count":0},{"startOffset":23651,"endOffset":24071,"count":20},{"startOffset":23684,"endOffset":23769,"count":0},{"startOffset":23798,"endOffset":23885,"count":0},{"startOffset":23989,"endOffset":24065,"count":9},{"startOffset":24071,"endOffset":24093,"count":20},{"startOffset":24093,"endOffset":24124,"count":10},{"startOffset":24124,"endOffset":24302,"count":0},{"startOffset":24302,"endOffset":24331,"count":10},{"startOffset":24331,"endOffset":24507,"count":0},{"startOffset":24507,"endOffset":24536,"count":10},{"startOffset":24536,"endOffset":24712,"count":0},{"startOffset":24712,"endOffset":24800,"count":10},{"startOffset":24773,"endOffset":24799,"count":1},{"startOffset":24802,"endOffset":24882,"count":9},{"startOffset":24882,"endOffset":24976,"count":10},{"startOffset":24976,"endOffset":25197,"count":0},{"startOffset":25197,"endOffset":25215,"count":10}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":1977,"endOffset":2081,"count":11},{"startOffset":2042,"endOffset":2054,"count":0}],"isBlockCoverage":true},{"functionName":"eos","ranges":[{"startOffset":2889,"endOffset":2918,"count":76}],"isBlockCoverage":true},{"functionName":"state.peek","ranges":[{"startOffset":2948,"endOffset":2981,"count":20}],"isBlockCoverage":true},{"functionName":"state.advance","ranges":[{"startOffset":3017,"endOffset":3049,"count":66},{"startOffset":3044,"endOffset":3049,"count":0}],"isBlockCoverage":true},{"functionName":"remaining","ranges":[{"startOffset":3071,"endOffset":3105,"count":41}],"isBlockCoverage":true},{"functionName":"consume","ranges":[{"startOffset":3125,"endOffset":3208,"count":75}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":3228,"endOffset":3339,"count":64},{"startOffset":3280,"endOffset":3294,"count":54},{"startOffset":3295,"endOffset":3308,"count":10}],"isBlockCoverage":true},{"functionName":"negate","ranges":[{"startOffset":3359,"endOffset":3635,"count":0}],"isBlockCoverage":false},{"functionName":"increment","ranges":[{"startOffset":3658,"endOffset":3712,"count":0}],"isBlockCoverage":false},{"functionName":"decrement","ranges":[{"startOffset":3735,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":4109,"endOffset":5036,"count":64},{"startOffset":4152,"endOffset":4644,"count":11},{"startOffset":4193,"endOffset":4242,"count":0},{"startOffset":4309,"endOffset":4357,"count":0},{"startOffset":4392,"endOffset":4415,"count":0},{"startOffset":4416,"endOffset":4427,"count":0},{"startOffset":4428,"endOffset":4441,"count":0},{"startOffset":4443,"endOffset":4638,"count":0},{"startOffset":4670,"endOffset":4693,"count":0},{"startOffset":4695,"endOffset":4758,"count":0},{"startOffset":4778,"endOffset":4791,"count":9},{"startOffset":4843,"endOffset":4865,"count":9},{"startOffset":4867,"endOffset":4972,"count":0}],"isBlockCoverage":true},{"functionName":"extglobOpen","ranges":[{"startOffset":5061,"endOffset":5492,"count":0}],"isBlockCoverage":false},{"functionName":"extglobClose","ranges":[{"startOffset":5518,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6999,"endOffset":7670,"count":6},{"startOffset":7066,"endOffset":7121,"count":0},{"startOffset":7148,"endOffset":7409,"count":0},{"startOffset":7436,"endOffset":7494,"count":5},{"startOffset":7494,"endOffset":7521,"count":1},{"startOffset":7521,"endOffset":7631,"count":0},{"startOffset":7631,"endOffset":7649,"count":1},{"startOffset":7649,"endOffset":7652,"count":0},{"startOffset":7653,"endOffset":7663,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7841,"endOffset":7921,"count":0}],"isBlockCoverage":false},{"functionName":"parse.fastpaths","ranges":[{"startOffset":25439,"endOffset":27736,"count":12},{"startOffset":25541,"endOffset":25579,"count":0},{"startOffset":25639,"endOffset":25735,"count":0},{"startOffset":26089,"endOffset":26098,"count":0},{"startOffset":26137,"endOffset":26152,"count":0},{"startOffset":26194,"endOffset":26198,"count":0},{"startOffset":26287,"endOffset":26294,"count":0},{"startOffset":26324,"endOffset":26353,"count":0},{"startOffset":27644,"endOffset":27674,"count":0},{"startOffset":27676,"endOffset":27716,"count":0}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":26374,"endOffset":26525,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":26545,"endOffset":27545,"count":16},{"startOffset":26579,"endOffset":26633,"count":0},{"startOffset":26641,"endOffset":26702,"count":0},{"startOffset":26710,"endOffset":26787,"count":0},{"startOffset":26795,"endOffset":26885,"count":0},{"startOffset":26893,"endOffset":26942,"count":0},{"startOffset":26950,"endOffset":27056,"count":0},{"startOffset":27064,"endOffset":27193,"count":0},{"startOffset":27201,"endOffset":27311,"count":0},{"startOffset":27400,"endOffset":27407,"count":12},{"startOffset":27407,"endOffset":27478,"count":4},{"startOffset":27478,"endOffset":27535,"count":0}],"isBlockCoverage":true}]},{"scriptId":"304","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":629,"count":1}],"isBlockCoverage":true},{"functionName":"merge","ranges":[{"startOffset":135,"endOffset":499,"count":0}],"isBlockCoverage":false},{"functionName":"propagateCloseEventToSources","ranges":[{"startOffset":523,"endOffset":628,"count":0}],"isBlockCoverage":false}]},{"scriptId":"305","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":298,"count":1}],"isBlockCoverage":true},{"functionName":"isString","ranges":[{"startOffset":122,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"isEmpty","ranges":[{"startOffset":218,"endOffset":270,"count":0}],"isBlockCoverage":false}]},{"scriptId":"306","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":814,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderAsync","ranges":[{"startOffset":217,"endOffset":327,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":332,"endOffset":587,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":592,"endOffset":778,"count":0}],"isBlockCoverage":false}]},{"scriptId":"307","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1213,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderAsync","ranges":[{"startOffset":246,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":407,"endOffset":750,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":755,"endOffset":1179,"count":0}],"isBlockCoverage":false}]},{"scriptId":"308","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"walk","ranges":[{"startOffset":378,"endOffset":710,"count":0}],"isBlockCoverage":false},{"functionName":"walkSync","ranges":[{"startOffset":732,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"walkStream","ranges":[{"startOffset":956,"endOffset":1154,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":1188,"endOffset":1389,"count":0}],"isBlockCoverage":false}]},{"scriptId":"309","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":895,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncProvider","ranges":[{"startOffset":148,"endOffset":349,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":354,"endOffset":707,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":743,"endOffset":813,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":814,"endOffset":894,"count":0}],"isBlockCoverage":false}]},{"scriptId":"310","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3157,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncReader","ranges":[{"startOffset":318,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":821,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"get isDestroyed","ranges":[{"startOffset":1050,"endOffset":1109,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":1114,"endOffset":1308,"count":0}],"isBlockCoverage":false},{"functionName":"onEntry","ranges":[{"startOffset":1313,"endOffset":1383,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":1388,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"onEnd","ranges":[{"startOffset":1465,"endOffset":1533,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":1538,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_worker","ranges":[{"startOffset":1778,"endOffset":2168,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":2173,"endOffset":2423,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":2428,"endOffset":3049,"count":0}],"isBlockCoverage":false},{"functionName":"_emitEntry","ranges":[{"startOffset":3054,"endOffset":3123,"count":0}],"isBlockCoverage":false}]},{"scriptId":"311","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1009,"count":1}],"isBlockCoverage":true},{"functionName":"scandir","ranges":[{"startOffset":311,"endOffset":603,"count":0}],"isBlockCoverage":false},{"functionName":"scandirSync","ranges":[{"startOffset":631,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":807,"endOffset":1008,"count":0}],"isBlockCoverage":false}]},{"scriptId":"312","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3686,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":346,"endOffset":598,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":620,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"makeRplTaskEntry","ranges":[{"startOffset":1625,"endOffset":2247,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":2248,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":3536,"endOffset":3606,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":3607,"endOffset":3685,"count":0}],"isBlockCoverage":false}]},{"scriptId":"313","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"stat","ranges":[{"startOffset":305,"endOffset":594,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":616,"endOffset":753,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":783,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"314","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":1000,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":1022,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":1093,"endOffset":1171,"count":0}],"isBlockCoverage":false}]},{"scriptId":"315","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":619,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"316","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":696,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":135,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":563,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"317","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":305,"endOffset":522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"318","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/run-parallel/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1034,"count":1}],"isBlockCoverage":true},{"functionName":"runParallel","ranges":[{"startOffset":167,"endOffset":1033,"count":0}],"isBlockCoverage":false}]},{"scriptId":"319","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/queue-microtask/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":402,"count":1},{"startOffset":210,"endOffset":218,"count":0},{"startOffset":283,"endOffset":401,"count":0}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":285,"endOffset":401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"320","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":990,"count":1},{"startOffset":295,"endOffset":424,"count":0},{"startOffset":794,"endOffset":837,"count":0},{"startOffset":956,"endOffset":988,"count":0}],"isBlockCoverage":true}]},{"scriptId":"321","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":143,"count":1}],"isBlockCoverage":true}]},{"scriptId":"322","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"323","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":419,"count":1}],"isBlockCoverage":true},{"functionName":"joinPathSegments","ranges":[{"startOffset":112,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"324","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1990,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":309,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":551,"endOffset":1357,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":1411,"endOffset":1962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"325","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1076,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":209,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":943,"endOffset":1045,"count":0}],"isBlockCoverage":false}]},{"scriptId":"326","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":640,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":363,"endOffset":580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"327","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fastq/queue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5617,"count":1}],"isBlockCoverage":true},{"functionName":"fastqueue","ranges":[{"startOffset":77,"endOffset":3391,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":3393,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"Task","ranges":[{"startOffset":3414,"endOffset":3917,"count":0}],"isBlockCoverage":false},{"functionName":"queueAsPromised","ranges":[{"startOffset":3919,"endOffset":5547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"328","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/reusify/reusify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"reusify","ranges":[{"startOffset":14,"endOffset":427,"count":0}],"isBlockCoverage":false}]},{"scriptId":"329","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1052,"count":1}],"isBlockCoverage":true},{"functionName":"isFatalError","ranges":[{"startOffset":199,"endOffset":350,"count":0}],"isBlockCoverage":false},{"functionName":"isAppliedFilter","ranges":[{"startOffset":388,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"replacePathSegmentSeparator","ranges":[{"startOffset":520,"endOffset":633,"count":0}],"isBlockCoverage":false},{"functionName":"joinPathSegments","ranges":[{"startOffset":701,"endOffset":1006,"count":0}],"isBlockCoverage":false}]},{"scriptId":"330","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":358,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":132,"endOffset":329,"count":0}],"isBlockCoverage":false}]},{"scriptId":"331","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1021,"count":1}],"isBlockCoverage":true},{"functionName":"StreamProvider","ranges":[{"startOffset":185,"endOffset":630,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":635,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"332","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":407,"count":1}],"isBlockCoverage":true},{"functionName":"SyncProvider","ranges":[{"startOffset":145,"endOffset":317,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":322,"endOffset":372,"count":0}],"isBlockCoverage":false}]},{"scriptId":"333","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1911,"count":1}],"isBlockCoverage":true},{"functionName":"SyncReader","ranges":[{"startOffset":249,"endOffset":407,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":412,"endOffset":549,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":554,"endOffset":637,"count":0}],"isBlockCoverage":false},{"functionName":"_handleQueue","ranges":[{"startOffset":642,"endOffset":787,"count":0}],"isBlockCoverage":false},{"functionName":"_handleDirectory","ranges":[{"startOffset":792,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":1127,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":1269,"endOffset":1809,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToStorage","ranges":[{"startOffset":1814,"endOffset":1878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"334","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1250,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":178,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":1117,"endOffset":1219,"count":0}],"isBlockCoverage":false}]},{"scriptId":"335","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1063,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":205,"endOffset":518,"count":0}],"isBlockCoverage":false},{"functionName":"_getFullEntryPath","ranges":[{"startOffset":523,"endOffset":617,"count":0}],"isBlockCoverage":false},{"functionName":"_makeEntry","ranges":[{"startOffset":622,"endOffset":913,"count":0}],"isBlockCoverage":false},{"functionName":"_isFatalError","ranges":[{"startOffset":918,"endOffset":1034,"count":0}],"isBlockCoverage":false}]},{"scriptId":"336","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1870,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderStream","ranges":[{"startOffset":289,"endOffset":419,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":424,"endOffset":502,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":513,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":1275,"endOffset":1579,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1584,"endOffset":1835,"count":0}],"isBlockCoverage":false}]},{"scriptId":"337","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/provider.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2000,"count":1}],"isBlockCoverage":true},{"functionName":"Provider","ranges":[{"startOffset":307,"endOffset":692,"count":0}],"isBlockCoverage":false},{"functionName":"_getRootDirectory","ranges":[{"startOffset":697,"endOffset":788,"count":0}],"isBlockCoverage":false},{"functionName":"_getReaderOptions","ranges":[{"startOffset":793,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"_getMicromatchOptions","ranges":[{"startOffset":1559,"endOffset":1969,"count":0}],"isBlockCoverage":false}]},{"scriptId":"338","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/deep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2466,"count":1}],"isBlockCoverage":true},{"functionName":"DeepFilter","ranges":[{"startOffset":188,"endOffset":328,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":333,"endOffset":576,"count":0}],"isBlockCoverage":false},{"functionName":"_getMatcher","ranges":[{"startOffset":581,"endOffset":699,"count":0}],"isBlockCoverage":false},{"functionName":"_getNegativePatternsRe","ranges":[{"startOffset":704,"endOffset":956,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":961,"endOffset":1444,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByDeep","ranges":[{"startOffset":1449,"endOffset":1754,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntryLevel","ranges":[{"startOffset":1759,"endOffset":2043,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedSymbolicLink","ranges":[{"startOffset":2048,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByPositivePatterns","ranges":[{"startOffset":2175,"endOffset":2306,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByNegativePatterns","ranges":[{"startOffset":2311,"endOffset":2433,"count":0}],"isBlockCoverage":false}]},{"scriptId":"339","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/partial.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1421,"count":1}],"isBlockCoverage":true},{"functionName":"match","ranges":[{"startOffset":170,"endOffset":1384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"340","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1568,"count":1}],"isBlockCoverage":true},{"functionName":"Matcher","ranges":[{"startOffset":135,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"_fillStorage","ranges":[{"startOffset":384,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"_getPatternSegments","ranges":[{"startOffset":778,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"_splitSegmentsIntoSections","ranges":[{"startOffset":1370,"endOffset":1538,"count":0}],"isBlockCoverage":false}]},{"scriptId":"341","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2686,"count":1}],"isBlockCoverage":true},{"functionName":"EntryFilter","ranges":[{"startOffset":139,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":316,"endOffset":667,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":672,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"_isDuplicateEntry","ranges":[{"startOffset":1473,"endOffset":1549,"count":0}],"isBlockCoverage":false},{"functionName":"_createIndexRecord","ranges":[{"startOffset":1554,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyFileFilter","ranges":[{"startOffset":1640,"endOffset":1737,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyDirectoryFilter","ranges":[{"startOffset":1742,"endOffset":1855,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByAbsoluteNegativePatterns","ranges":[{"startOffset":1860,"endOffset":2145,"count":0}],"isBlockCoverage":false},{"functionName":"_isMatchToPatterns","ranges":[{"startOffset":2150,"endOffset":2652,"count":0}],"isBlockCoverage":false}]},{"scriptId":"342","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"ErrorFilter","ranges":[{"startOffset":139,"endOffset":205,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":210,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"_isNonFatalError","ranges":[{"startOffset":290,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"343","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/transformers/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":845,"count":1}],"isBlockCoverage":true},{"functionName":"EntryTransformer","ranges":[{"startOffset":144,"endOffset":210,"count":0}],"isBlockCoverage":false},{"functionName":"getTransformer","ranges":[{"startOffset":215,"endOffset":289,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":294,"endOffset":806,"count":0}],"isBlockCoverage":false}]},{"scriptId":"344","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1198,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderStream","ranges":[{"startOffset":256,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":372,"endOffset":970,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":975,"endOffset":1161,"count":0}],"isBlockCoverage":false}]},{"scriptId":"345","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":779,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderSync","ranges":[{"startOffset":214,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":328,"endOffset":553,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":558,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"346","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1330,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderSync","ranges":[{"startOffset":251,"endOffset":385,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":390,"endOffset":466,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":477,"endOffset":878,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":883,"endOffset":1203,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1208,"endOffset":1297,"count":0}],"isBlockCoverage":false}]},{"scriptId":"347","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2849,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":645,"endOffset":2584,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":2589,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"_getFileSystemMethods","ranges":[{"startOffset":2680,"endOffset":2818,"count":0}],"isBlockCoverage":false}]},{"scriptId":"348","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/dir-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2304,"count":1}],"isBlockCoverage":true},{"functionName":"getExtensions","ranges":[{"startOffset":106,"endOffset":187,"count":0}],"isBlockCoverage":false},{"functionName":"getPath","ranges":[{"startOffset":206,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"addExtensions","ranges":[{"startOffset":376,"endOffset":506,"count":0}],"isBlockCoverage":false},{"functionName":"getGlob","ranges":[{"startOffset":525,"endOffset":1324,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1344,"endOffset":1852,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.sync","ranges":[{"startOffset":1877,"endOffset":2302,"count":0}],"isBlockCoverage":false}]},{"scriptId":"349","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-type/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":true},{"functionName":"isType","ranges":[{"startOffset":78,"endOffset":444,"count":0}],"isBlockCoverage":false},{"functionName":"isTypeSync","ranges":[{"startOffset":446,"endOffset":770,"count":0}],"isBlockCoverage":false}]},{"scriptId":"350","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16073,"count":1},{"startOffset":15630,"endOffset":16072,"count":0}],"isBlockCoverage":true},{"functionName":"makeArray","ranges":[{"startOffset":41,"endOffset":135,"count":0}],"isBlockCoverage":false},{"functionName":"define","ranges":[{"startOffset":813,"endOffset":882,"count":0}],"isBlockCoverage":false},{"functionName":"RETURN_FALSE","ranges":[{"startOffset":952,"endOffset":963,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeRange","ranges":[{"startOffset":1090,"endOffset":1362,"count":0}],"isBlockCoverage":false},{"functionName":"cleanRangeBackSlash","ranges":[{"startOffset":1412,"endOffset":1500,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2321,"endOffset":2383,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2438,"endOffset":2449,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3104,"endOffset":3125,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3213,"endOffset":3225,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3477,"endOffset":3486,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3577,"endOffset":3588,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4009,"endOffset":4028,"count":0}],"isBlockCoverage":false},{"functionName":"startingReplacer","ranges":[{"startOffset":4250,"endOffset":5144,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5442,"endOffset":5912,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":6273,"endOffset":6593,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6787,"endOffset":6799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6849,"endOffset":6861,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7539,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":8102,"endOffset":8250,"count":0}],"isBlockCoverage":false},{"functionName":"REPLACERS","ranges":[{"startOffset":8311,"endOffset":8645,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegex","ranges":[{"startOffset":8808,"endOffset":9130,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":9149,"endOffset":9187,"count":0}],"isBlockCoverage":false},{"functionName":"checkPattern","ranges":[{"startOffset":9294,"endOffset":9514,"count":0}],"isBlockCoverage":false},{"functionName":"splitPattern","ranges":[{"startOffset":9537,"endOffset":9582,"count":0}],"isBlockCoverage":false},{"functionName":"IgnoreRule","ranges":[{"startOffset":9605,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"createRule","ranges":[{"startOffset":9804,"endOffset":10534,"count":0}],"isBlockCoverage":false},{"functionName":"throwError","ranges":[{"startOffset":10555,"endOffset":10603,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath","ranges":[{"startOffset":10623,"endOffset":11159,"count":0}],"isBlockCoverage":false},{"functionName":"isNotRelative","ranges":[{"startOffset":11183,"endOffset":11225,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.convert","ranges":[{"startOffset":11287,"endOffset":11293,"count":0}],"isBlockCoverage":false},{"functionName":"Ignore","ranges":[{"startOffset":11312,"endOffset":11588,"count":0}],"isBlockCoverage":false},{"functionName":"_initCache","ranges":[{"startOffset":11592,"endOffset":11697,"count":0}],"isBlockCoverage":false},{"functionName":"_addPattern","ranges":[{"startOffset":11701,"endOffset":12031,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":12089,"endOffset":12416,"count":0}],"isBlockCoverage":false},{"functionName":"addPattern","ranges":[{"startOffset":12432,"endOffset":12487,"count":0}],"isBlockCoverage":false},{"functionName":"_testOne","ranges":[{"startOffset":13081,"endOffset":13588,"count":0}],"isBlockCoverage":false},{"functionName":"_test","ranges":[{"startOffset":13619,"endOffset":13965,"count":0}],"isBlockCoverage":false},{"functionName":"_t","ranges":[{"startOffset":13969,"endOffset":14755,"count":0}],"isBlockCoverage":false},{"functionName":"ignores","ranges":[{"startOffset":14759,"endOffset":14841,"count":0}],"isBlockCoverage":false},{"functionName":"createFilter","ranges":[{"startOffset":14845,"endOffset":14905,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":14909,"endOffset":14985,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":15016,"endOffset":15084,"count":0}],"isBlockCoverage":false},{"functionName":"factory","ranges":[{"startOffset":15104,"endOffset":15134,"count":0}],"isBlockCoverage":false},{"functionName":"isPathValid","ranges":[{"startOffset":15156,"endOffset":15228,"count":0}],"isBlockCoverage":false},{"functionName":"makePosix","ranges":[{"startOffset":15691,"endOffset":15798,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.isNotRelative","ranges":[{"startOffset":15990,"endOffset":16070,"count":0}],"isBlockCoverage":false}]},{"scriptId":"351","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/glob-helpers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4053,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":547,"endOffset":575,"count":9}],"isBlockCoverage":true},{"functionName":"processMatchingPatterns","ranges":[{"startOffset":724,"endOffset":1373,"count":0}],"isBlockCoverage":false},{"functionName":"matchesIgnorePatterns","ranges":[{"startOffset":1466,"endOffset":1608,"count":0}],"isBlockCoverage":false},{"functionName":"classify","ranges":[{"startOffset":1611,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"hasExtension","ranges":[{"startOffset":2008,"endOffset":2078,"count":0}],"isBlockCoverage":false},{"functionName":"isHelperish","ranges":[{"startOffset":2119,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"matches","ranges":[{"startOffset":2778,"endOffset":2887,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFileForMatching","ranges":[{"startOffset":2917,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePattern","ranges":[{"startOffset":3459,"endOffset":3856,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePatterns","ranges":[{"startOffset":3904,"endOffset":4004,"count":0}],"isBlockCoverage":false}]},{"scriptId":"352","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore-by-default/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":816,"count":1}],"isBlockCoverage":true},{"functionName":"exports.directories","ranges":[{"startOffset":36,"endOffset":815,"count":1}],"isBlockCoverage":true}]},{"scriptId":"353","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/slash.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":1199,"endOffset":1364,"count":0}],"isBlockCoverage":false}]},{"scriptId":"354","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/pkg.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":59,"count":1}],"isBlockCoverage":true}]},{"scriptId":"355","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/clean-yaml-object/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2176,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":129,"count":0}],"isBlockCoverage":false},{"functionName":"cleanYamlObj","ranges":[{"startOffset":132,"endOffset":1901,"count":0}],"isBlockCoverage":false},{"functionName":"setProp","ranges":[{"startOffset":1903,"endOffset":2131,"count":0}],"isBlockCoverage":false},{"functionName":"defaultFilter","ranges":[{"startOffset":2133,"endOffset":2175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"356","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":578,"count":1}],"isBlockCoverage":true}]},{"scriptId":"357","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3379,"count":1}],"isBlockCoverage":true},{"functionName":"shortcircuitPrimitive","ranges":[{"startOffset":408,"endOffset":728,"count":12},{"startOffset":531,"endOffset":542,"count":0},{"startOffset":618,"endOffset":629,"count":0},{"startOffset":690,"endOffset":710,"count":0}],"isBlockCoverage":true},{"functionName":"compareDescriptors","ranges":[{"startOffset":730,"endOffset":2814,"count":6},{"startOffset":916,"endOffset":2775,"count":37},{"startOffset":963,"endOffset":1070,"count":0},{"startOffset":1102,"endOffset":1132,"count":0},{"startOffset":1207,"endOffset":1219,"count":0},{"startOffset":1251,"endOffset":2308,"count":6},{"startOffset":1301,"endOffset":1313,"count":0},{"startOffset":1346,"endOffset":1372,"count":0},{"startOffset":1374,"endOffset":2089,"count":0},{"startOffset":2445,"endOffset":2460,"count":31},{"startOffset":2462,"endOffset":2485,"count":31},{"startOffset":2485,"endOffset":2525,"count":6},{"startOffset":2527,"endOffset":2729,"count":6},{"startOffset":2729,"endOffset":2765,"count":0}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":2864,"endOffset":3352,"count":6},{"startOffset":2946,"endOffset":2967,"count":0},{"startOffset":3161,"endOffset":3183,"count":0}],"isBlockCoverage":true}]},{"scriptId":"358","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Circular.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":785,"count":1}],"isBlockCoverage":true},{"functionName":"Circular","ranges":[{"startOffset":33,"endOffset":80,"count":12}],"isBlockCoverage":true},{"functionName":"add","ranges":[{"startOffset":84,"endOffset":361,"count":12},{"startOffset":139,"endOffset":174,"count":0}],"isBlockCoverage":true},{"functionName":"delete","ranges":[{"startOffset":365,"endOffset":583,"count":12},{"startOffset":483,"endOffset":521,"count":0}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":587,"endOffset":647,"count":74}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":651,"endOffset":756,"count":0}],"isBlockCoverage":false}]},{"scriptId":"359","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":249,"count":1}],"isBlockCoverage":true}]},{"scriptId":"360","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/describe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5965,"count":1}],"isBlockCoverage":true},{"functionName":"describePrimitive","ranges":[{"startOffset":2448,"endOffset":2957,"count":62},{"startOffset":2507,"endOffset":2534,"count":0},{"startOffset":2562,"endOffset":2594,"count":0},{"startOffset":2636,"endOffset":2671,"count":0},{"startOffset":2726,"endOffset":2760,"count":0},{"startOffset":2786,"endOffset":2820,"count":0},{"startOffset":2846,"endOffset":2880,"count":50},{"startOffset":2880,"endOffset":2906,"count":12},{"startOffset":2906,"endOffset":2940,"count":0},{"startOffset":2940,"endOffset":2956,"count":12}],"isBlockCoverage":true},{"functionName":"unboxComplex","ranges":[{"startOffset":2959,"endOffset":3324,"count":12},{"startOffset":3272,"endOffset":3303,"count":0}],"isBlockCoverage":true},{"functionName":"registerPlugins","ranges":[{"startOffset":3326,"endOffset":3726,"count":12},{"startOffset":3393,"endOffset":3416,"count":0},{"startOffset":3435,"endOffset":3725,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3425,"endOffset":3435,"count":12}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3508,"endOffset":3724,"count":0}],"isBlockCoverage":false},{"functionName":"describeComplex","ranges":[{"startOffset":3728,"endOffset":4699,"count":12},{"startOffset":3875,"endOffset":3901,"count":0},{"startOffset":4173,"endOffset":4238,"count":0},{"startOffset":4321,"endOffset":4374,"count":0}],"isBlockCoverage":true},{"functionName":"describeItem","ranges":[{"startOffset":4722,"endOffset":4923,"count":50},{"startOffset":4865,"endOffset":4921,"count":0}],"isBlockCoverage":true},{"functionName":"describeMapEntry","ranges":[{"startOffset":4950,"endOffset":5058,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":5060,"endOffset":5938,"count":12},{"startOffset":5168,"endOffset":5184,"count":0}],"isBlockCoverage":true},{"functionName":"curriedComplex","ranges":[{"startOffset":5310,"endOffset":5435,"count":12}],"isBlockCoverage":true},{"functionName":"describeAny","ranges":[{"startOffset":5459,"endOffset":5595,"count":50},{"startOffset":5570,"endOffset":5591,"count":0}],"isBlockCoverage":true},{"functionName":"describeProperty","ranges":[{"startOffset":5624,"endOffset":5904,"count":0}],"isBlockCoverage":false}]},{"scriptId":"361","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Registry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"Registry","ranges":[{"startOffset":33,"endOffset":103,"count":12}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":107,"endOffset":155,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":159,"endOffset":218,"count":0}],"isBlockCoverage":false},{"functionName":"alloc","ranges":[{"startOffset":222,"endOffset":374,"count":12}],"isBlockCoverage":true}]},{"scriptId":"362","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":409,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":652,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1160,"endOffset":1382,"count":0}],"isBlockCoverage":false}]},{"scriptId":"363","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7185,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":436,"endOffset":713,"count":12},{"startOffset":677,"endOffset":697,"count":0}],"isBlockCoverage":true},{"functionName":"deserialize","ranges":[{"startOffset":743,"endOffset":839,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectValue","ranges":[{"startOffset":950,"endOffset":1203,"count":12}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":1207,"endOffset":1399,"count":6},{"startOffset":1263,"endOffset":1277,"count":0},{"startOffset":1356,"endOffset":1370,"count":0}],"isBlockCoverage":true},{"functionName":"hasSameCtor","ranges":[{"startOffset":1403,"endOffset":1470,"count":6}],"isBlockCoverage":true},{"functionName":"formatShallow","ranges":[{"startOffset":1474,"endOffset":1561,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1565,"endOffset":1699,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":2001,"endOffset":6371,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2068,"endOffset":2433,"count":12}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":2439,"endOffset":2563,"count":6},{"startOffset":2511,"endOffset":2523,"count":0}],"isBlockCoverage":true},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2569,"endOffset":3030,"count":12},{"startOffset":2680,"endOffset":2683,"count":0},{"startOffset":2776,"endOffset":3029,"count":0}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":2817,"endOffset":2995,"count":0}],"isBlockCoverage":false},{"functionName":"createListRecursor","ranges":[{"startOffset":3036,"endOffset":3472,"count":12},{"startOffset":3084,"endOffset":3118,"count":0},{"startOffset":3179,"endOffset":3213,"count":0}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":3254,"endOffset":3437,"count":62},{"startOffset":3290,"endOffset":3301,"count":12},{"startOffset":3301,"endOffset":3436,"count":50}],"isBlockCoverage":true},{"functionName":"createIterableRecursor","ranges":[{"startOffset":3478,"endOffset":4494,"count":12},{"startOffset":3529,"endOffset":3548,"count":0},{"startOffset":3584,"endOffset":4493,"count":0}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":3917,"endOffset":4459,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":4500,"endOffset":6365,"count":12}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4661,"endOffset":6359,"count":74},{"startOffset":4706,"endOffset":6283,"count":98},{"startOffset":4741,"endOffset":4870,"count":86},{"startOffset":4813,"endOffset":4858,"count":36},{"startOffset":4907,"endOffset":4967,"count":48},{"startOffset":4925,"endOffset":4945,"count":36},{"startOffset":4946,"endOffset":4966,"count":24},{"startOffset":4969,"endOffset":6273,"count":36},{"startOffset":5044,"endOffset":5417,"count":12},{"startOffset":5417,"endOffset":6261,"count":24},{"startOffset":5446,"endOffset":5839,"count":12},{"startOffset":5742,"endOffset":5825,"count":0},{"startOffset":5839,"endOffset":6261,"count":12},{"startOffset":6164,"endOffset":6247,"count":0},{"startOffset":6309,"endOffset":6327,"count":86}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5112,"endOffset":5143,"count":12}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5518,"endOffset":5553,"count":12}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5940,"endOffset":5975,"count":12}],"isBlockCoverage":true},{"functionName":"DeserializedMixin","ranges":[{"startOffset":6413,"endOffset":7138,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6483,"endOffset":6780,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":6786,"endOffset":7055,"count":0}],"isBlockCoverage":false},{"functionName":"hasSameCtor","ranges":[{"startOffset":7061,"endOffset":7132,"count":0}],"isBlockCoverage":false}]},{"scriptId":"364","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/formatUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3260,"count":1}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":60,"endOffset":146,"count":0}],"isBlockCoverage":false},{"functionName":"formatCtorAndStringTag","ranges":[{"startOffset":168,"endOffset":537,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectFormatter","ranges":[{"startOffset":621,"endOffset":840,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":844,"endOffset":1189,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":1193,"endOffset":1873,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":1877,"endOffset":2161,"count":0}],"isBlockCoverage":false},{"functionName":"shouldFormat","ranges":[{"startOffset":2165,"endOffset":2202,"count":0}],"isBlockCoverage":false},{"functionName":"customize","ranges":[{"startOffset":2206,"endOffset":2502,"count":0}],"isBlockCoverage":false},{"functionName":"SingleValueFormatter","ranges":[{"startOffset":2579,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2790,"endOffset":2961,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":2965,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":3120,"endOffset":3205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"365","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/lineBuilder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7155,"count":1}],"isBlockCoverage":true},{"functionName":"translateGutter","ranges":[{"startOffset":123,"endOffset":485,"count":0}],"isBlockCoverage":false},{"functionName":"Line","ranges":[{"startOffset":502,"endOffset":670,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":674,"endOffset":717,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":721,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":762,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":820,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":884,"endOffset":934,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":938,"endOffset":1027,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":1031,"endOffset":1202,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":1206,"endOffset":1479,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":1483,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":1634,"endOffset":1783,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":1787,"endOffset":1871,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":1875,"endOffset":1960,"count":0}],"isBlockCoverage":false},{"functionName":"Collection","ranges":[{"startOffset":2050,"endOffset":2091,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2095,"endOffset":2217,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":2221,"endOffset":2277,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":2281,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":2399,"endOffset":2526,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2530,"endOffset":2632,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":2636,"endOffset":2725,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2729,"endOffset":3536,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":3540,"endOffset":4287,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":4291,"endOffset":4423,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":4427,"endOffset":4561,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":4565,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":4675,"endOffset":5381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":5462,"endOffset":5708,"count":0}],"isBlockCoverage":false},{"functionName":"buffer","ranges":[{"startOffset":5731,"endOffset":5774,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":5779,"endOffset":5856,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":5861,"endOffset":5937,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":5942,"endOffset":6019,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6024,"endOffset":6101,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6106,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6194,"endOffset":6277,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6284,"endOffset":6366,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6373,"endOffset":6456,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6463,"endOffset":6546,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6553,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6678,"endOffset":6763,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6770,"endOffset":6854,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6861,"endOffset":6946,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6953,"endOffset":7038,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":7045,"endOffset":7146,"count":0}],"isBlockCoverage":false}]},{"scriptId":"366","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getObjectKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":964,"count":1}],"isBlockCoverage":true},{"functionName":"getObjectKeys","ranges":[{"startOffset":14,"endOffset":932,"count":12},{"startOffset":430,"endOffset":756,"count":62},{"startOffset":578,"endOffset":590,"count":50},{"startOffset":591,"endOffset":638,"count":50},{"startOffset":661,"endOffset":717,"count":12},{"startOffset":719,"endOffset":752,"count":0},{"startOffset":799,"endOffset":905,"count":0}],"isBlockCoverage":true}]},{"scriptId":"367","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/hasLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":303,"count":1}],"isBlockCoverage":true},{"functionName":"hasLength","ranges":[{"startOffset":104,"endOffset":275,"count":0}],"isBlockCoverage":false}]},{"scriptId":"368","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":802,"count":1}],"isBlockCoverage":true},{"functionName":"isLength","ranges":[{"startOffset":645,"endOffset":773,"count":0}],"isBlockCoverage":false}]},{"scriptId":"369","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/stats.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3836,"count":1}],"isBlockCoverage":true},{"functionName":"describeIterableRecursor","ranges":[{"startOffset":228,"endOffset":318,"count":0}],"isBlockCoverage":false},{"functionName":"describeListRecursor","ranges":[{"startOffset":380,"endOffset":462,"count":12}],"isBlockCoverage":true},{"functionName":"describePropertyRecursor","ranges":[{"startOffset":516,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeIterableStats","ranges":[{"startOffset":668,"endOffset":745,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeListStats","ranges":[{"startOffset":807,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePropertyStats","ranges":[{"startOffset":930,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":1306,"endOffset":1351,"count":12}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":1355,"endOffset":1432,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1436,"endOffset":2989,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2993,"endOffset":3032,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3141,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3387,"endOffset":3513,"count":6},{"startOffset":3500,"endOffset":3509,"count":0}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":3625,"endOffset":3755,"count":0}],"isBlockCoverage":false}]},{"scriptId":"370","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/recursorUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2251,"count":1}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":51,"endOffset":74,"count":24}],"isBlockCoverage":true},{"functionName":"fork","ranges":[{"startOffset":117,"endOffset":396,"count":0}],"isBlockCoverage":false},{"functionName":"consumeDeep","ranges":[{"startOffset":418,"endOffset":732,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":768,"endOffset":910,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":930,"endOffset":1606,"count":36},{"startOffset":1046,"endOffset":1076,"count":24},{"startOffset":1076,"endOffset":1179,"count":12},{"startOffset":1216,"endOffset":1249,"count":24},{"startOffset":1249,"endOffset":1605,"count":12}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":1301,"endOffset":1546,"count":62},{"startOffset":1323,"endOffset":1334,"count":0},{"startOffset":1499,"endOffset":1524,"count":12}],"isBlockCoverage":true},{"functionName":"sequence","ranges":[{"startOffset":1632,"endOffset":1850,"count":0}],"isBlockCoverage":false},{"functionName":"singleValue","ranges":[{"startOffset":1880,"endOffset":2012,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":2048,"endOffset":2224,"count":0}],"isBlockCoverage":false}]},{"scriptId":"371","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":970,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":313,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":343,"endOffset":444,"count":0}],"isBlockCoverage":false}]},{"scriptId":"372","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/typedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4439,"count":1}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":382,"endOffset":596,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":628,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":910,"endOffset":1010,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeBytes","ranges":[{"startOffset":1046,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"Bytes","ranges":[{"startOffset":1292,"endOffset":1343,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1347,"endOffset":1482,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1486,"endOffset":2297,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2301,"endOffset":2342,"count":0}],"isBlockCoverage":false},{"functionName":"TypedArrayValue","ranges":[{"startOffset":2466,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":2543,"endOffset":2931,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":3049,"endOffset":3869,"count":3}],"isBlockCoverage":true},{"functionName":"createListRecursor","ranges":[{"startOffset":3237,"endOffset":3307,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":3313,"endOffset":3749,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":3755,"endOffset":3863,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMixin","ranges":[{"startOffset":3977,"endOffset":4320,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4073,"endOffset":4314,"count":0}],"isBlockCoverage":false}]},{"scriptId":"373","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/boxed.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1292,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":264,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedBoxedValue","ranges":[{"startOffset":634,"endOffset":709,"count":0}],"isBlockCoverage":false},{"functionName":"createListRecursor","ranges":[{"startOffset":713,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":783,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1126,"endOffset":1220,"count":0}],"isBlockCoverage":false}]},{"scriptId":"374","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11430,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":306,"endOffset":367,"count":50}],"isBlockCoverage":true},{"functionName":"basicEscape","ranges":[{"startOffset":707,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"escapeLinebreak","ranges":[{"startOffset":1015,"endOffset":1219,"count":0}],"isBlockCoverage":false},{"functionName":"themeControlPictures","ranges":[{"startOffset":1221,"endOffset":1442,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuotes","ranges":[{"startOffset":1537,"endOffset":1834,"count":0}],"isBlockCoverage":false},{"functionName":"includesLinebreaks","ranges":[{"startOffset":1836,"endOffset":1932,"count":0}],"isBlockCoverage":false},{"functionName":"diffLine","ranges":[{"startOffset":1934,"endOffset":3826,"count":0}],"isBlockCoverage":false},{"functionName":"gatherLines","ranges":[{"startOffset":3862,"endOffset":4170,"count":0}],"isBlockCoverage":false},{"functionName":"StringValue","ranges":[{"startOffset":4194,"endOffset":4242,"count":50}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":4246,"endOffset":4370,"count":25},{"startOffset":4357,"endOffset":4366,"count":0}],"isBlockCoverage":true},{"functionName":"get includesLinebreaks","ranges":[{"startOffset":4374,"endOffset":4447,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4451,"endOffset":5422,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":5426,"endOffset":5800,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5804,"endOffset":11238,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":11242,"endOffset":11282,"count":0}],"isBlockCoverage":false}]},{"scriptId":"375","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1334,"endOffset":1486,"count":1}],"isBlockCoverage":true}]},{"scriptId":"376","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/ast.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4728,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":4687,"count":1}],"isBlockCoverage":true},{"functionName":"isExpression","ranges":[{"startOffset":1370,"endOffset":2121,"count":0}],"isBlockCoverage":false},{"functionName":"isIterationStatement","ranges":[{"startOffset":2127,"endOffset":2444,"count":0}],"isBlockCoverage":false},{"functionName":"isStatement","ranges":[{"startOffset":2450,"endOffset":3262,"count":0}],"isBlockCoverage":false},{"functionName":"isSourceElement","ranges":[{"startOffset":3268,"endOffset":3393,"count":0}],"isBlockCoverage":false},{"functionName":"trailingStatement","ranges":[{"startOffset":3399,"endOffset":3843,"count":0}],"isBlockCoverage":false},{"functionName":"isProblematicIfStatement","ranges":[{"startOffset":3849,"endOffset":4384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"377","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/code.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29610,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1391,"endOffset":29569,"count":1},{"startOffset":27989,"endOffset":28199,"count":128},{"startOffset":28045,"endOffset":28058,"count":31},{"startOffset":28059,"endOffset":28107,"count":102},{"startOffset":28094,"endOffset":28107,"count":37},{"startOffset":28108,"endOffset":28143,"count":76},{"startOffset":28144,"endOffset":28158,"count":75},{"startOffset":28273,"endOffset":28531,"count":128},{"startOffset":28328,"endOffset":28341,"count":31},{"startOffset":28342,"endOffset":28390,"count":102},{"startOffset":28377,"endOffset":28390,"count":37},{"startOffset":28391,"endOffset":28439,"count":76},{"startOffset":28426,"endOffset":28439,"count":28},{"startOffset":28440,"endOffset":28475,"count":66},{"startOffset":28476,"endOffset":28490,"count":65}],"isBlockCoverage":true},{"functionName":"isDecimalDigit","ranges":[{"startOffset":26641,"endOffset":26726,"count":0}],"isBlockCoverage":false},{"functionName":"isHexDigit","ranges":[{"startOffset":26732,"endOffset":26919,"count":0}],"isBlockCoverage":false},{"functionName":"isOctalDigit","ranges":[{"startOffset":26925,"endOffset":27008,"count":0}],"isBlockCoverage":false},{"functionName":"isWhiteSpace","ranges":[{"startOffset":27243,"endOffset":27434,"count":0}],"isBlockCoverage":false},{"functionName":"isLineTerminator","ranges":[{"startOffset":27469,"endOffset":27583,"count":0}],"isBlockCoverage":false},{"functionName":"fromCodePoint","ranges":[{"startOffset":27634,"endOffset":27914,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES5","ranges":[{"startOffset":28537,"endOffset":28686,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES5","ranges":[{"startOffset":28692,"endOffset":28838,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES6","ranges":[{"startOffset":28844,"endOffset":28993,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES6","ranges":[{"startOffset":28999,"endOffset":29145,"count":0}],"isBlockCoverage":false}]},{"scriptId":"378","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/keyword.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5616,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":5575,"count":1}],"isBlockCoverage":true},{"functionName":"isStrictModeReservedWordES6","ranges":[{"startOffset":1405,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES5","ranges":[{"startOffset":1752,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES6","ranges":[{"startOffset":1990,"endOffset":3218,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES5","ranges":[{"startOffset":3224,"endOffset":3363,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES6","ranges":[{"startOffset":3369,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"isRestrictedWord","ranges":[{"startOffset":3514,"endOffset":3603,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES5","ranges":[{"startOffset":3609,"endOffset":4045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeUtf16","ranges":[{"startOffset":4051,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES6","ranges":[{"startOffset":4167,"endOffset":4903,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES5","ranges":[{"startOffset":4909,"endOffset":5027,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES6","ranges":[{"startOffset":5033,"endOffset":5151,"count":0}],"isBlockCoverage":false}]},{"scriptId":"379","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-diff/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":38838,"count":1}],"isBlockCoverage":true},{"functionName":"diff_main","ranges":[{"startOffset":1622,"endOffset":2855,"count":0}],"isBlockCoverage":false},{"functionName":"diff_compute_","ranges":[{"startOffset":3117,"endOffset":4721,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisect_","ranges":[{"startOffset":5070,"endOffset":8602,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisectSplit_","ranges":[{"startOffset":8946,"endOffset":9292,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonPrefix","ranges":[{"startOffset":9516,"endOffset":10360,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonOverlap_","ranges":[{"startOffset":10654,"endOffset":11835,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonSuffix","ranges":[{"startOffset":12050,"endOffset":12955,"count":0}],"isBlockCoverage":false},{"functionName":"diff_halfMatch_","ranges":[{"startOffset":13397,"endOffset":16552,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemantic","ranges":[{"startOffset":16712,"endOffset":21136,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemanticLossless","ranges":[{"startOffset":21599,"endOffset":25878,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupMerge","ranges":[{"startOffset":26143,"endOffset":33884,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_start","ranges":[{"startOffset":33886,"endOffset":33983,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_end","ranges":[{"startOffset":33985,"endOffset":34080,"count":0}],"isBlockCoverage":false},{"functionName":"starts_with_pair_end","ranges":[{"startOffset":34082,"endOffset":34171,"count":0}],"isBlockCoverage":false},{"functionName":"ends_with_pair_start","ranges":[{"startOffset":34173,"endOffset":34277,"count":0}],"isBlockCoverage":false},{"functionName":"remove_empty_tuples","ranges":[{"startOffset":34279,"endOffset":34465,"count":0}],"isBlockCoverage":false},{"functionName":"make_edit_splice","ranges":[{"startOffset":34467,"endOffset":34771,"count":0}],"isBlockCoverage":false},{"functionName":"find_cursor_edit_diff","ranges":[{"startOffset":34773,"endOffset":38521,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":38523,"endOffset":38733,"count":0}],"isBlockCoverage":false}]},{"scriptId":"380","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/dataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":949,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":319,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":349,"endOffset":447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"381","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/date.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2613,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":304,"endOffset":471,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":501,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"formatDate","ranges":[{"startOffset":682,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"DateValue","ranges":[{"startOffset":993,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1072,"endOffset":1333,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1337,"endOffset":2118,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2122,"endOffset":2253,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedDateValue","ranges":[{"startOffset":2460,"endOffset":2610,"count":0}],"isBlockCoverage":false}]},{"scriptId":"382","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/date-time/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":831,"count":1}],"isBlockCoverage":true},{"functionName":"dateTime","ranges":[{"startOffset":71,"endOffset":718,"count":0}],"isBlockCoverage":false}]},{"scriptId":"383","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/time-zone/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":343,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"384","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3605,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":331,"endOffset":608,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":638,"endOffset":733,"count":0}],"isBlockCoverage":false},{"functionName":"ErrorValue","ranges":[{"startOffset":869,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":942,"endOffset":1082,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1086,"endOffset":2193,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2197,"endOffset":2257,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedErrorValue","ranges":[{"startOffset":2400,"endOffset":2583,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2587,"endOffset":3430,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedErrorValue","ranges":[{"startOffset":3512,"endOffset":3602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"385","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/isEnumerable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":171,"count":1}],"isBlockCoverage":true},{"functionName":"isEnumerable","ranges":[{"startOffset":14,"endOffset":140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"386","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3272,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":377,"endOffset":600,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":630,"endOffset":728,"count":0}],"isBlockCoverage":false},{"functionName":"FunctionValue","ranges":[{"startOffset":870,"endOffset":939,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":943,"endOffset":1706,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedFunctionValue","ranges":[{"startOffset":1858,"endOffset":1951,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1955,"endOffset":2203,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2207,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2749,"endOffset":2809,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedFunctionValue","ranges":[{"startOffset":2897,"endOffset":2987,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2991,"endOffset":3205,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3209,"endOffset":3269,"count":0}],"isBlockCoverage":false}]},{"scriptId":"387","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":822,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":275,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":412,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":512,"endOffset":676,"count":0}],"isBlockCoverage":false}]},{"scriptId":"388","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1845,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"MapValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1028,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1032,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1229,"endOffset":1674,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMapValue","ranges":[{"startOffset":1752,"endOffset":1842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"389","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1054,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":167,"endOffset":238,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":268,"endOffset":345,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":630,"endOffset":830,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":916,"endOffset":1051,"count":0}],"isBlockCoverage":false}]},{"scriptId":"390","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2733,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":219,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":432,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"getSortedFlags","ranges":[{"startOffset":617,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"RegexpValue","ranges":[{"startOffset":824,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":930,"endOffset":1107,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1111,"endOffset":2317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2321,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedRegexpValue","ranges":[{"startOffset":2612,"endOffset":2730,"count":0}],"isBlockCoverage":false}]},{"scriptId":"391","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1815,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"SetValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1030,"endOffset":1090,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1227,"endOffset":1644,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSetValue","ranges":[{"startOffset":1722,"endOffset":1812,"count":0}],"isBlockCoverage":false}]},{"scriptId":"392","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getCtor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1275,"count":1}],"isBlockCoverage":true},{"functionName":"getCtor","ranges":[{"startOffset":59,"endOffset":1249,"count":12},{"startOffset":234,"endOffset":240,"count":0},{"startOffset":244,"endOffset":1248,"count":0}],"isBlockCoverage":true}]},{"scriptId":"393","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getStringTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":721,"count":1},{"startOffset":467,"endOffset":720,"count":0}],"isBlockCoverage":true},{"functionName":"getStringTag","ranges":[{"startOffset":51,"endOffset":121,"count":13}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":225,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"getStringTagWithPromiseWorkaround","ranges":[{"startOffset":519,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"394","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/item.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7816,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":228,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeComplex","ranges":[{"startOffset":354,"endOffset":469,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":519,"endOffset":605,"count":50}],"isBlockCoverage":true},{"functionName":"deserializePrimitive","ranges":[{"startOffset":653,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexItem","ranges":[{"startOffset":1017,"endOffset":1095,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1099,"endOffset":1171,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1175,"endOffset":1330,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1334,"endOffset":1719,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1723,"endOffset":4317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":4321,"endOffset":4361,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveItem","ranges":[{"startOffset":4536,"endOffset":4614,"count":50}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":4618,"endOffset":4775,"count":25},{"startOffset":4762,"endOffset":4771,"count":0}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":4779,"endOffset":5334,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":5338,"endOffset":6853,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":6857,"endOffset":7602,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7606,"endOffset":7660,"count":0}],"isBlockCoverage":false}]},{"scriptId":"395","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/mapEntry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7305,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":318,"endOffset":585,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":615,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithKey","ranges":[{"startOffset":974,"endOffset":1422,"count":0}],"isBlockCoverage":false},{"functionName":"MapEntry","ranges":[{"startOffset":1443,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1639,"endOffset":1916,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1920,"endOffset":2399,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":2403,"endOffset":3004,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3008,"endOffset":3349,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":3353,"endOffset":4200,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":4204,"endOffset":7086,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7090,"endOffset":7164,"count":0}],"isBlockCoverage":false}]},{"scriptId":"396","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/themeUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5251,"count":1}],"isBlockCoverage":true},{"functionName":"freezeTheme","ranges":[{"startOffset":151,"endOffset":490,"count":1},{"startOffset":233,"endOffset":472,"count":42},{"startOffset":338,"endOffset":468,"count":120},{"startOffset":397,"endOffset":425,"count":118},{"startOffset":427,"endOffset":462,"count":41}],"isBlockCoverage":true},{"functionName":"normalizePlugins","ranges":[{"startOffset":2413,"endOffset":3165,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":3205,"endOffset":4082,"count":0}],"isBlockCoverage":false},{"functionName":"addModifier","ranges":[{"startOffset":4146,"endOffset":4338,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiers","ranges":[{"startOffset":4446,"endOffset":5020,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiersToOriginal","ranges":[{"startOffset":5062,"endOffset":5190,"count":0}],"isBlockCoverage":false}]},{"scriptId":"397","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/cloneDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":679,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDeep","ranges":[{"startOffset":555,"endOffset":649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"398","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseClone.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5609,"count":1}],"isBlockCoverage":true},{"functionName":"baseClone","ranges":[{"startOffset":3399,"endOffset":5579,"count":0}],"isBlockCoverage":false}]},{"scriptId":"399","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Stack.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":734,"count":1}],"isBlockCoverage":true},{"functionName":"Stack","ranges":[{"startOffset":402,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"400","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_ListCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"ListCache","ranges":[{"startOffset":376,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"401","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":218,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheClear","ranges":[{"startOffset":115,"endOffset":183,"count":0}],"isBlockCoverage":false}]},{"scriptId":"402","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":775,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheDelete","ranges":[{"startOffset":440,"endOffset":739,"count":0}],"isBlockCoverage":false}]},{"scriptId":"403","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assocIndexOf.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":487,"count":1}],"isBlockCoverage":true},{"functionName":"assocIndexOf","ranges":[{"startOffset":286,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"404","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":799,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":681,"endOffset":776,"count":0}],"isBlockCoverage":false}]},{"scriptId":"405","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":420,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheGet","ranges":[{"startOffset":240,"endOffset":387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"406","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheHas","ranges":[{"startOffset":292,"endOffset":370,"count":0}],"isBlockCoverage":false}]},{"scriptId":"407","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":553,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheSet","ranges":[{"startOffset":292,"endOffset":520,"count":0}],"isBlockCoverage":false}]},{"scriptId":"408","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":254,"count":1}],"isBlockCoverage":true},{"functionName":"stackClear","ranges":[{"startOffset":148,"endOffset":223,"count":0}],"isBlockCoverage":false}]},{"scriptId":"409","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":405,"count":1}],"isBlockCoverage":true},{"functionName":"stackDelete","ranges":[{"startOffset":237,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"410","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":271,"count":1}],"isBlockCoverage":true},{"functionName":"stackGet","ranges":[{"startOffset":183,"endOffset":242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"411","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":323,"count":1}],"isBlockCoverage":true},{"functionName":"stackHas","ranges":[{"startOffset":235,"endOffset":294,"count":0}],"isBlockCoverage":false}]},{"scriptId":"412","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":853,"count":1}],"isBlockCoverage":true},{"functionName":"stackSet","ranges":[{"startOffset":436,"endOffset":824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"413","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"414","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"getNative","ranges":[{"startOffset":331,"endOffset":453,"count":7},{"startOffset":439,"endOffset":450,"count":0}],"isBlockCoverage":true}]},{"scriptId":"415","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1417,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsNative","ranges":[{"startOffset":1182,"endOffset":1384,"count":7},{"startOffset":1256,"endOffset":1279,"count":0},{"startOffset":1327,"endOffset":1341,"count":0}],"isBlockCoverage":true}]},{"scriptId":"416","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isFunction.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":993,"count":1}],"isBlockCoverage":true},{"functionName":"isFunction","ranges":[{"startOffset":617,"endOffset":962,"count":7},{"startOffset":670,"endOffset":693,"count":0},{"startOffset":905,"endOffset":921,"count":0},{"startOffset":922,"endOffset":940,"count":0},{"startOffset":941,"endOffset":959,"count":0}],"isBlockCoverage":true}]},{"scriptId":"417","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":792,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true},{"functionName":"baseGetTag","ranges":[{"startOffset":534,"endOffset":761,"count":13},{"startOffset":584,"endOffset":646,"count":0},{"startOffset":712,"endOffset":730,"count":5},{"startOffset":735,"endOffset":758,"count":8}],"isBlockCoverage":true}]},{"scriptId":"418","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true}]},{"scriptId":"419","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_root.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":300,"count":1},{"startOffset":119,"endOffset":126,"count":0},{"startOffset":127,"endOffset":152,"count":0},{"startOffset":153,"endOffset":160,"count":0},{"startOffset":234,"endOffset":245,"count":0},{"startOffset":246,"endOffset":274,"count":0}],"isBlockCoverage":true}]},{"scriptId":"420","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_freeGlobal.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":173,"count":1}],"isBlockCoverage":true}]},{"scriptId":"421","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getRawTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1139,"count":1},{"startOffset":488,"endOffset":499,"count":0}],"isBlockCoverage":true},{"functionName":"getRawTag","ranges":[{"startOffset":701,"endOffset":1109,"count":5},{"startOffset":899,"endOffset":911,"count":0},{"startOffset":995,"endOffset":1037,"count":0}],"isBlockCoverage":true}]},{"scriptId":"422","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_objectToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":565,"count":1}],"isBlockCoverage":true},{"functionName":"objectToString","ranges":[{"startOffset":453,"endOffset":530,"count":8}],"isBlockCoverage":true}]},{"scriptId":"423","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":733,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":581,"endOffset":704,"count":14}],"isBlockCoverage":true}]},{"scriptId":"424","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isMasked.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":564,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":116,"endOffset":268,"count":1},{"startOffset":166,"endOffset":184,"count":0},{"startOffset":185,"endOffset":212,"count":0},{"startOffset":234,"endOffset":260,"count":0}],"isBlockCoverage":true},{"functionName":"isMasked","ranges":[{"startOffset":461,"endOffset":535,"count":7},{"startOffset":509,"endOffset":532,"count":0}],"isBlockCoverage":true}]},{"scriptId":"425","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_coreJsData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":157,"count":1}],"isBlockCoverage":true}]},{"scriptId":"426","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_toSource.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":556,"count":1}],"isBlockCoverage":true},{"functionName":"toSource","ranges":[{"startOffset":339,"endOffset":527,"count":12},{"startOffset":441,"endOffset":508,"count":0},{"startOffset":512,"endOffset":526,"count":0}],"isBlockCoverage":true}]},{"scriptId":"427","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":325,"count":1}],"isBlockCoverage":true},{"functionName":"getValue","ranges":[{"startOffset":211,"endOffset":296,"count":7},{"startOffset":268,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"428","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_MapCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"MapCache","ranges":[{"startOffset":389,"endOffset":606,"count":0}],"isBlockCoverage":false}]},{"scriptId":"429","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":393,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheClear","ranges":[{"startOffset":209,"endOffset":359,"count":0}],"isBlockCoverage":false}]},{"scriptId":"430","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Hash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"Hash","ranges":[{"startOffset":319,"endOffset":532,"count":0}],"isBlockCoverage":false}]},{"scriptId":"431","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":281,"count":1}],"isBlockCoverage":true},{"functionName":"hashClear","ranges":[{"startOffset":152,"endOffset":251,"count":0}],"isBlockCoverage":false}]},{"scriptId":"432","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":187,"count":1}],"isBlockCoverage":true}]},{"scriptId":"433","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":445,"count":1}],"isBlockCoverage":true},{"functionName":"hashDelete","ranges":[{"startOffset":279,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"434","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"hashGet","ranges":[{"startOffset":513,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"435","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":626,"count":1}],"isBlockCoverage":true},{"functionName":"hashHas","ranges":[{"startOffset":461,"endOffset":598,"count":0}],"isBlockCoverage":false}]},{"scriptId":"436","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"hashSet","ranges":[{"startOffset":379,"endOffset":570,"count":0}],"isBlockCoverage":false}]},{"scriptId":"437","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheDelete","ranges":[{"startOffset":282,"endOffset":415,"count":0}],"isBlockCoverage":false}]},{"scriptId":"438","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getMapData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":400,"count":1}],"isBlockCoverage":true},{"functionName":"getMapData","ranges":[{"startOffset":214,"endOffset":369,"count":0}],"isBlockCoverage":false}]},{"scriptId":"439","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isKeyable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":430,"count":1}],"isBlockCoverage":true},{"functionName":"isKeyable","ranges":[{"startOffset":201,"endOffset":400,"count":0}],"isBlockCoverage":false}]},{"scriptId":"440","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":330,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheGet","ranges":[{"startOffset":228,"endOffset":298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"441","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheHas","ranges":[{"startOffset":280,"endOffset":350,"count":0}],"isBlockCoverage":false}]},{"scriptId":"442","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":489,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheSet","ranges":[{"startOffset":279,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"443","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayEach.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":537,"count":1}],"isBlockCoverage":true},{"functionName":"arrayEach","ranges":[{"startOffset":274,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"444","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":899,"count":1}],"isBlockCoverage":true},{"functionName":"assignValue","ranges":[{"startOffset":629,"endOffset":867,"count":0}],"isBlockCoverage":false}]},{"scriptId":"445","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":625,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignValue","ranges":[{"startOffset":314,"endOffset":589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"446","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_defineProperty.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":64,"endOffset":194,"count":1},{"startOffset":180,"endOffset":192,"count":0}],"isBlockCoverage":true}]},{"scriptId":"447","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssign.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssign","ranges":[{"startOffset":339,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"448","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1044,"count":1}],"isBlockCoverage":true},{"functionName":"copyObject","ranges":[{"startOffset":467,"endOffset":1013,"count":0}],"isBlockCoverage":false}]},{"scriptId":"449","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":884,"count":1}],"isBlockCoverage":true},{"functionName":"keys","ranges":[{"startOffset":761,"endOffset":859,"count":0}],"isBlockCoverage":false}]},{"scriptId":"450","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayLikeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1778,"count":1}],"isBlockCoverage":true},{"functionName":"arrayLikeKeys","ranges":[{"startOffset":697,"endOffset":1744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"451","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseTimes.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":504,"count":1}],"isBlockCoverage":true},{"functionName":"baseTimes","ranges":[{"startOffset":313,"endOffset":474,"count":0}],"isBlockCoverage":false}]},{"scriptId":"452","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1026,"count":1},{"startOffset":851,"endOffset":993,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":797,"endOffset":829,"count":1}],"isBlockCoverage":true},{"functionName":"isArguments","ranges":[{"startOffset":853,"endOffset":993,"count":0}],"isBlockCoverage":false}]},{"scriptId":"453","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsArguments","ranges":[{"startOffset":355,"endOffset":452,"count":1}],"isBlockCoverage":true}]},{"scriptId":"454","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObjectLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"isObjectLike","ranges":[{"startOffset":497,"endOffset":581,"count":1}],"isBlockCoverage":true}]},{"scriptId":"455","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true}]},{"scriptId":"456","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1114,"count":1},{"startOffset":548,"endOffset":559,"count":0},{"startOffset":697,"endOffset":708,"count":0},{"startOffset":1072,"endOffset":1084,"count":0}],"isBlockCoverage":true}]},{"scriptId":"457","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubFalse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":280,"count":1}],"isBlockCoverage":true},{"functionName":"stubFalse","ranges":[{"startOffset":210,"endOffset":250,"count":0}],"isBlockCoverage":false}]},{"scriptId":"458","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIndex.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":759,"count":1}],"isBlockCoverage":true},{"functionName":"isIndex","ranges":[{"startOffset":456,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"459","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":695,"count":1},{"startOffset":643,"endOffset":661,"count":0}],"isBlockCoverage":true}]},{"scriptId":"460","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2222,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsTypedArray","ranges":[{"startOffset":2050,"endOffset":2185,"count":0}],"isBlockCoverage":false}]},{"scriptId":"461","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseUnary.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":332,"count":1}],"isBlockCoverage":true},{"functionName":"baseUnary","ranges":[{"startOffset":218,"endOffset":302,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":254,"endOffset":299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"462","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nodeUtil.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":995,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":615,"endOffset":962,"count":1},{"startOffset":806,"endOffset":911,"count":0},{"startOffset":912,"endOffset":942,"count":0},{"startOffset":948,"endOffset":960,"count":0}],"isBlockCoverage":true}]},{"scriptId":"463","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":776,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeys","ranges":[{"startOffset":479,"endOffset":747,"count":0}],"isBlockCoverage":false}]},{"scriptId":"464","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":480,"count":1}],"isBlockCoverage":true},{"functionName":"isPrototype","ranges":[{"startOffset":273,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"465","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":204,"count":1}],"isBlockCoverage":true}]},{"scriptId":"466","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overArg.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"overArg","ranges":[{"startOffset":254,"endOffset":354,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":299,"endOffset":351,"count":0}],"isBlockCoverage":false}]},{"scriptId":"467","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":830,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLike","ranges":[{"startOffset":695,"endOffset":798,"count":0}],"isBlockCoverage":false}]},{"scriptId":"468","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":482,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignIn","ranges":[{"startOffset":345,"endOffset":449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"469","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":778,"count":1}],"isBlockCoverage":true},{"functionName":"keysIn","ranges":[{"startOffset":643,"endOffset":751,"count":0}],"isBlockCoverage":false}]},{"scriptId":"470","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":870,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeysIn","ranges":[{"startOffset":523,"endOffset":839,"count":0}],"isBlockCoverage":false}]},{"scriptId":"471","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":490,"count":1}],"isBlockCoverage":true},{"functionName":"nativeKeysIn","ranges":[{"startOffset":292,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"472","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1056,"count":1},{"startOffset":508,"endOffset":519,"count":0},{"startOffset":567,"endOffset":578,"count":0}],"isBlockCoverage":true},{"functionName":"cloneBuffer","ranges":[{"startOffset":783,"endOffset":1024,"count":0}],"isBlockCoverage":false}]},{"scriptId":"473","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"copyArray","ranges":[{"startOffset":219,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"474","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":446,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbols","ranges":[{"startOffset":317,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"475","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":886,"count":1},{"startOffset":624,"endOffset":635,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbols","ranges":[{"startOffset":638,"endOffset":854,"count":0}],"isBlockCoverage":false}]},{"scriptId":"476","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayFilter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":632,"count":1}],"isBlockCoverage":true},{"functionName":"arrayFilter","ranges":[{"startOffset":289,"endOffset":600,"count":0}],"isBlockCoverage":false}]},{"scriptId":"477","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":390,"count":1}],"isBlockCoverage":true},{"functionName":"stubArray","ranges":[{"startOffset":323,"endOffset":360,"count":0}],"isBlockCoverage":false}]},{"scriptId":"478","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbolsIn","ranges":[{"startOffset":335,"endOffset":436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"479","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":754,"count":1},{"startOffset":549,"endOffset":560,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbolsIn","ranges":[{"startOffset":563,"endOffset":720,"count":0}],"isBlockCoverage":false}]},{"scriptId":"480","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayPush.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":437,"count":1}],"isBlockCoverage":true},{"functionName":"arrayPush","ranges":[{"startOffset":200,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"481","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":163,"count":1}],"isBlockCoverage":true}]},{"scriptId":"482","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":455,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeys","ranges":[{"startOffset":342,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"483","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":739,"count":1}],"isBlockCoverage":true},{"functionName":"baseGetAllKeys","ranges":[{"startOffset":537,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"484","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeysIn","ranges":[{"startOffset":367,"endOffset":455,"count":0}],"isBlockCoverage":false}]},{"scriptId":"485","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1838,"count":1},{"startOffset":1296,"endOffset":1811,"count":0}],"isBlockCoverage":true},{"functionName":"getTag","ranges":[{"startOffset":1309,"endOffset":1808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"486","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_DataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true}]},{"scriptId":"487","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"488","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"489","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_WeakMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"490","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":692,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneArray","ranges":[{"startOffset":329,"endOffset":657,"count":0}],"isBlockCoverage":false}]},{"scriptId":"491","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneByTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2261,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneByTag","ranges":[{"startOffset":1454,"endOffset":2226,"count":0}],"isBlockCoverage":false}]},{"scriptId":"492","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneArrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":449,"count":1}],"isBlockCoverage":true},{"functionName":"cloneArrayBuffer","ranges":[{"startOffset":226,"endOffset":412,"count":0}],"isBlockCoverage":false}]},{"scriptId":"493","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Uint8Array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":130,"count":1}],"isBlockCoverage":true}]},{"scriptId":"494","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneDataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":507,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDataView","ranges":[{"startOffset":267,"endOffset":473,"count":0}],"isBlockCoverage":false}]},{"scriptId":"495","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneRegExp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":439,"count":1}],"isBlockCoverage":true},{"functionName":"cloneRegExp","ranges":[{"startOffset":243,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"496","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneSymbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":524,"count":1},{"startOffset":138,"endOffset":149,"count":0},{"startOffset":205,"endOffset":216,"count":0}],"isBlockCoverage":true},{"functionName":"cloneSymbol","ranges":[{"startOffset":394,"endOffset":492,"count":0}],"isBlockCoverage":false}]},{"scriptId":"497","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":527,"count":1}],"isBlockCoverage":true},{"functionName":"cloneTypedArray","ranges":[{"startOffset":275,"endOffset":491,"count":0}],"isBlockCoverage":false}]},{"scriptId":"498","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":486,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneObject","ranges":[{"startOffset":290,"endOffset":450,"count":0}],"isBlockCoverage":false}]},{"scriptId":"499","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":686,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":355,"endOffset":651,"count":1}],"isBlockCoverage":true},{"functionName":"object","ranges":[{"startOffset":370,"endOffset":390,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":400,"endOffset":648,"count":0}],"isBlockCoverage":false}]},{"scriptId":"500","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"501","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsMap","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"502","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"503","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsSet","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"504","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/merge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1220,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1115,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"505","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMerge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1328,"count":1}],"isBlockCoverage":true},{"functionName":"baseMerge","ranges":[{"startOffset":699,"endOffset":1298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"506","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignMergeValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"assignMergeValue","ranges":[{"startOffset":342,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"507","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"508","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createBaseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":648,"count":1}],"isBlockCoverage":true},{"functionName":"createBaseFor","ranges":[{"startOffset":217,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":262,"endOffset":611,"count":0}],"isBlockCoverage":false}]},{"scriptId":"509","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMergeDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3069,"count":1}],"isBlockCoverage":true},{"functionName":"baseMergeDeep","ranges":[{"startOffset":1316,"endOffset":3035,"count":0}],"isBlockCoverage":false}]},{"scriptId":"510","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLikeObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":742,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLikeObject","ranges":[{"startOffset":615,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"511","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1650,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":1229,"endOffset":1616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"512","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_safeGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":456,"count":1}],"isBlockCoverage":true},{"functionName":"safeGet","ranges":[{"startOffset":243,"endOffset":428,"count":0}],"isBlockCoverage":false}]},{"scriptId":"513","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/toPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":744,"count":1}],"isBlockCoverage":true},{"functionName":"toPlainObject","ranges":[{"startOffset":634,"endOffset":710,"count":0}],"isBlockCoverage":false}]},{"scriptId":"514","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createAssigner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1042,"count":1}],"isBlockCoverage":true},{"functionName":"createAssigner","ranges":[{"startOffset":272,"endOffset":1007,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":326,"endOffset":1003,"count":0}],"isBlockCoverage":false}]},{"scriptId":"515","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":559,"count":1}],"isBlockCoverage":true},{"functionName":"baseRest","ranges":[{"startOffset":430,"endOffset":530,"count":1}],"isBlockCoverage":true}]},{"scriptId":"516","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/identity.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"identity","ranges":[{"startOffset":297,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"517","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1096,"count":1}],"isBlockCoverage":true},{"functionName":"overRest","ranges":[{"startOffset":503,"endOffset":1067,"count":1},{"startOffset":607,"endOffset":614,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":629,"endOffset":1064,"count":0}],"isBlockCoverage":false}]},{"scriptId":"518","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_apply.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":714,"count":1}],"isBlockCoverage":true},{"functionName":"apply","ranges":[{"startOffset":374,"endOffset":688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"519","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_setToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":392,"count":1}],"isBlockCoverage":true}]},{"scriptId":"520","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseSetToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":641,"count":1},{"startOffset":412,"endOffset":422,"count":0}],"isBlockCoverage":true},{"functionName":"baseSetToString","ranges":[{"startOffset":425,"endOffset":604,"count":1}],"isBlockCoverage":true}]},{"scriptId":"521","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/constant.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":528,"count":1}],"isBlockCoverage":true},{"functionName":"constant","ranges":[{"startOffset":426,"endOffset":499,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":462,"endOffset":496,"count":0}],"isBlockCoverage":false}]},{"scriptId":"522","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_shortOut.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":941,"count":1}],"isBlockCoverage":true},{"functionName":"shortOut","ranges":[{"startOffset":534,"endOffset":912,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":609,"endOffset":909,"count":1},{"startOffset":752,"endOffset":830,"count":0}],"isBlockCoverage":true}]},{"scriptId":"523","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIterateeCall.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":877,"count":1}],"isBlockCoverage":true},{"functionName":"isIterateeCall","ranges":[{"startOffset":514,"endOffset":842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"524","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/pluginRegistry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6139,"count":1}],"isBlockCoverage":true},{"functionName":"PluginError","ranges":[{"startOffset":707,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"PluginTypeError","ranges":[{"startOffset":864,"endOffset":977,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedApiError","ranges":[{"startOffset":1031,"endOffset":1159,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedError","ranges":[{"startOffset":1210,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorTagError","ranges":[{"startOffset":1406,"endOffset":1596,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorIdError","ranges":[{"startOffset":1657,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":1949,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"modifyTheme","ranges":[{"startOffset":3525,"endOffset":3639,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":3641,"endOffset":5084,"count":0}],"isBlockCoverage":false},{"functionName":"getDeserializers","ranges":[{"startOffset":5104,"endOffset":5368,"count":0}],"isBlockCoverage":false},{"functionName":"getThemes","ranges":[{"startOffset":5414,"endOffset":5598,"count":0}],"isBlockCoverage":false},{"functionName":"getTryDescribeValues","ranges":[{"startOffset":5630,"endOffset":5734,"count":0}],"isBlockCoverage":false},{"functionName":"resolveDescriptorRef","ranges":[{"startOffset":5788,"endOffset":6086,"count":0}],"isBlockCoverage":false}]},{"scriptId":"525","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2616,"count":1}],"isBlockCoverage":true}]},{"scriptId":"526","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/re.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7690,"count":1}],"isBlockCoverage":true},{"functionName":"makeSafeRegex","ranges":[{"startOffset":950,"endOffset":1161,"count":40},{"startOffset":1015,"endOffset":1144,"count":120}],"isBlockCoverage":true},{"functionName":"createToken","ranges":[{"startOffset":1183,"endOffset":1459,"count":40},{"startOffset":1376,"endOffset":1381,"count":4},{"startOffset":1382,"endOffset":1393,"count":36},{"startOffset":1439,"endOffset":1444,"count":4},{"startOffset":1445,"endOffset":1456,"count":36}],"isBlockCoverage":true}]},{"scriptId":"527","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":859,"count":1},{"startOffset":233,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"528","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/debug.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":226,"count":1},{"startOffset":91,"endOffset":138,"count":0},{"startOffset":141,"endOffset":188,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":143,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"debug","ranges":[{"startOffset":193,"endOffset":201,"count":46}],"isBlockCoverage":true}]},{"scriptId":"529","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/semver.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8756,"count":1}],"isBlockCoverage":true},{"functionName":"SemVer","ranges":[{"startOffset":311,"endOffset":2238,"count":2},{"startOffset":416,"endOffset":621,"count":0},{"startOffset":660,"endOffset":761,"count":0},{"startOffset":800,"endOffset":900,"count":0},{"startOffset":1239,"endOffset":1252,"count":0},{"startOffset":1280,"endOffset":1344,"count":0},{"startOffset":1531,"endOffset":1589,"count":0},{"startOffset":1648,"endOffset":1706,"count":0},{"startOffset":1765,"endOffset":1823,"count":0},{"startOffset":1884,"endOffset":2170,"count":1},{"startOffset":2194,"endOffset":2211,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1970,"endOffset":2163,"count":1},{"startOffset":2137,"endOffset":2162,"count":0}],"isBlockCoverage":true},{"functionName":"format","ranges":[{"startOffset":2242,"endOffset":2438,"count":2},{"startOffset":2349,"endOffset":2410,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":2442,"endOffset":2483,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2487,"endOffset":2877,"count":0}],"isBlockCoverage":false},{"functionName":"compareMain","ranges":[{"startOffset":2881,"endOffset":3172,"count":0}],"isBlockCoverage":false},{"functionName":"comparePre","ranges":[{"startOffset":3176,"endOffset":4027,"count":0}],"isBlockCoverage":false},{"functionName":"compareBuild","ranges":[{"startOffset":4031,"endOffset":4573,"count":0}],"isBlockCoverage":false},{"functionName":"inc","ranges":[{"startOffset":4726,"endOffset":8728,"count":0}],"isBlockCoverage":false}]},{"scriptId":"530","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/parse-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":324,"count":1}],"isBlockCoverage":true},{"functionName":"parseOptions","ranges":[{"startOffset":153,"endOffset":293,"count":4},{"startOffset":208,"endOffset":292,"count":0}],"isBlockCoverage":true}]},{"scriptId":"531","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/identifiers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":410,"count":1}],"isBlockCoverage":true},{"functionName":"compareIdentifiers","ranges":[{"startOffset":54,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"rcompareIdentifiers","ranges":[{"startOffset":308,"endOffset":342,"count":0}],"isBlockCoverage":false}]},{"scriptId":"532","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":317,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":58,"endOffset":292,"count":0}],"isBlockCoverage":false}]},{"scriptId":"533","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":162,"count":1}],"isBlockCoverage":true},{"functionName":"valid","ranges":[{"startOffset":47,"endOffset":138,"count":0}],"isBlockCoverage":false}]},{"scriptId":"534","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/clean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":191,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":47,"endOffset":167,"count":0}],"isBlockCoverage":false}]},{"scriptId":"535","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/inc.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"inc","ranges":[{"startOffset":57,"endOffset":442,"count":0}],"isBlockCoverage":false}]},{"scriptId":"536","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1612,"count":1}],"isBlockCoverage":true},{"functionName":"diff","ranges":[{"startOffset":50,"endOffset":1588,"count":0}],"isBlockCoverage":false}]},{"scriptId":"537","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/major.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"major","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"538","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/minor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"minor","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"539","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/patch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"patch","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"540","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/prerelease.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":220,"count":1}],"isBlockCoverage":true},{"functionName":"prerelease","ranges":[{"startOffset":52,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"541","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":156,"count":1}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":60,"endOffset":129,"count":0}],"isBlockCoverage":false}]},{"scriptId":"542","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rcompare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"rcompare","ranges":[{"startOffset":54,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"543","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-loose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"compareLoose","ranges":[{"startOffset":58,"endOffset":87,"count":0}],"isBlockCoverage":false}]},{"scriptId":"544","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-build.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":267,"count":1}],"isBlockCoverage":true},{"functionName":"compareBuild","ranges":[{"startOffset":65,"endOffset":236,"count":0}],"isBlockCoverage":false}]},{"scriptId":"545","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/sort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":147,"count":1}],"isBlockCoverage":true},{"functionName":"sort","ranges":[{"startOffset":61,"endOffset":124,"count":0}],"isBlockCoverage":false}]},{"scriptId":"546","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rsort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":149,"count":1}],"isBlockCoverage":true},{"functionName":"rsort","ranges":[{"startOffset":62,"endOffset":125,"count":0}],"isBlockCoverage":false}]},{"scriptId":"547","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"gt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"548","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"lt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"549","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":112,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":48,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"550","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/neq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":114,"count":1}],"isBlockCoverage":true},{"functionName":"neq","ranges":[{"startOffset":49,"endOffset":92,"count":0}],"isBlockCoverage":false}]},{"scriptId":"551","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"gte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"552","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"lte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"553","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/cmp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":947,"count":1}],"isBlockCoverage":true},{"functionName":"cmp","ranges":[{"startOffset":181,"endOffset":925,"count":0}],"isBlockCoverage":false}]},{"scriptId":"554","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/coerce.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1513,"count":1}],"isBlockCoverage":true},{"functionName":"coerce","ranges":[{"startOffset":145,"endOffset":1488,"count":0}],"isBlockCoverage":false}]},{"scriptId":"555","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/comparator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3617,"count":1}],"isBlockCoverage":true},{"functionName":"get ANY","ranges":[{"startOffset":100,"endOffset":131,"count":2}],"isBlockCoverage":true},{"functionName":"Comparator","ranges":[{"startOffset":135,"endOffset":682,"count":2},{"startOffset":238,"endOffset":358,"count":0},{"startOffset":556,"endOffset":585,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":686,"endOffset":1182,"count":2},{"startOffset":734,"endOffset":757,"count":0},{"startOffset":818,"endOffset":882,"count":0},{"startOffset":930,"endOffset":934,"count":0},{"startOffset":966,"endOffset":998,"count":0},{"startOffset":1077,"endOffset":1108,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":1186,"endOffset":1225,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":1229,"endOffset":1609,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":1613,"endOffset":3323,"count":0}],"isBlockCoverage":false}]},{"scriptId":"556","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/range.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14514,"count":1}],"isBlockCoverage":true},{"functionName":"Range","ranges":[{"startOffset":55,"endOffset":2052,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2056,"endOffset":2197,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2201,"endOffset":2240,"count":0}],"isBlockCoverage":false},{"functionName":"parseRange","ranges":[{"startOffset":2244,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":4531,"endOffset":5161,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":5229,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"isNullSet","ranges":[{"startOffset":6111,"endOffset":6138,"count":0}],"isBlockCoverage":false},{"functionName":"isAny","ranges":[{"startOffset":6153,"endOffset":6172,"count":0}],"isBlockCoverage":false},{"functionName":"isSatisfiable","ranges":[{"startOffset":6294,"endOffset":6700,"count":0}],"isBlockCoverage":false},{"functionName":"parseComparator","ranges":[{"startOffset":6870,"endOffset":7183,"count":0}],"isBlockCoverage":false},{"functionName":"isX","ranges":[{"startOffset":7197,"endOffset":7248,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTildes","ranges":[{"startOffset":7584,"endOffset":7707,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTilde","ranges":[{"startOffset":7730,"endOffset":8404,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCarets","ranges":[{"startOffset":8697,"endOffset":8820,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCaret","ranges":[{"startOffset":8843,"endOffset":10145,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRanges","ranges":[{"startOffset":10170,"endOffset":10323,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRange","ranges":[{"startOffset":10347,"endOffset":12047,"count":0}],"isBlockCoverage":false},{"functionName":"replaceStars","ranges":[{"startOffset":12193,"endOffset":12378,"count":0}],"isBlockCoverage":false},{"functionName":"replaceGTE0","ranges":[{"startOffset":12400,"endOffset":12555,"count":0}],"isBlockCoverage":false},{"functionName":"hyphenReplace","ranges":[{"startOffset":12797,"endOffset":13471,"count":0}],"isBlockCoverage":false},{"functionName":"testSet","ranges":[{"startOffset":13489,"endOffset":14513,"count":0}],"isBlockCoverage":false}]},{"scriptId":"557","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lru-cache/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8186,"count":1}],"isBlockCoverage":true},{"functionName":"naiveLength","ranges":[{"startOffset":510,"endOffset":517,"count":0}],"isBlockCoverage":false},{"functionName":"LRUCache","ranges":[{"startOffset":853,"endOffset":1751,"count":1},{"startOffset":920,"endOffset":946,"count":0},{"startOffset":972,"endOffset":984,"count":0},{"startOffset":1069,"endOffset":1125,"count":0},{"startOffset":1235,"endOffset":1246,"count":0},{"startOffset":1350,"endOffset":1363,"count":0},{"startOffset":1439,"endOffset":1476,"count":0},{"startOffset":1484,"endOffset":1530,"count":0}],"isBlockCoverage":true},{"functionName":"set max","ranges":[{"startOffset":1799,"endOffset":1969,"count":0}],"isBlockCoverage":false},{"functionName":"get max","ranges":[{"startOffset":1972,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"set allowStale","ranges":[{"startOffset":2013,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"get allowStale","ranges":[{"startOffset":2086,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"set maxAge","ranges":[{"startOffset":2142,"endOffset":2300,"count":0}],"isBlockCoverage":false},{"functionName":"get maxAge","ranges":[{"startOffset":2303,"endOffset":2347,"count":0}],"isBlockCoverage":false},{"functionName":"set lengthCalculator","ranges":[{"startOffset":2408,"endOffset":2765,"count":0}],"isBlockCoverage":false},{"functionName":"get lengthCalculator","ranges":[{"startOffset":2768,"endOffset":2826,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":2830,"endOffset":2867,"count":0}],"isBlockCoverage":false},{"functionName":"get itemCount","ranges":[{"startOffset":2870,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"rforEach","ranges":[{"startOffset":2923,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":3142,"endOffset":3356,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":3360,"endOffset":3425,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":3429,"endOffset":3498,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":3502,"endOffset":3858,"count":1},{"startOffset":3535,"endOffset":3560,"count":0},{"startOffset":3561,"endOffset":3593,"count":0},{"startOffset":3595,"endOffset":3673,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3626,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"dump","ranges":[{"startOffset":3862,"endOffset":4064,"count":0}],"isBlockCoverage":false},{"functionName":"dumpLru","ranges":[{"startOffset":4068,"endOffset":4110,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4114,"endOffset":5376,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":5380,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5517,"endOffset":5564,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":5568,"endOffset":5617,"count":0}],"isBlockCoverage":false},{"functionName":"pop","ranges":[{"startOffset":5621,"endOffset":5746,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":5750,"endOffset":5801,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5805,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"prune","ranges":[{"startOffset":6382,"endOffset":6459,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6475,"endOffset":6871,"count":0}],"isBlockCoverage":false},{"functionName":"isStale","ranges":[{"startOffset":6889,"endOffset":7094,"count":0}],"isBlockCoverage":false},{"functionName":"trim","ranges":[{"startOffset":7109,"endOffset":7497,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":7511,"endOffset":7738,"count":0}],"isBlockCoverage":false},{"functionName":"Entry","ranges":[{"startOffset":7756,"endOffset":7923,"count":0}],"isBlockCoverage":false},{"functionName":"forEachStep","ranges":[{"startOffset":7947,"endOffset":8158,"count":0}],"isBlockCoverage":false}]},{"scriptId":"558","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/yallist.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8411,"count":1},{"startOffset":8397,"endOffset":8410,"count":0}],"isBlockCoverage":true},{"functionName":"Yallist","ranges":[{"startOffset":85,"endOffset":517,"count":1},{"startOffset":163,"endOffset":193,"count":0},{"startOffset":263,"endOffset":300,"count":0},{"startOffset":302,"endOffset":371,"count":0},{"startOffset":403,"endOffset":500,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":321,"endOffset":366,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.removeNode","ranges":[{"startOffset":550,"endOffset":1001,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshiftNode","ranges":[{"startOffset":1035,"endOffset":1334,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pushNode","ranges":[{"startOffset":1365,"endOffset":1664,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.push","ranges":[{"startOffset":1691,"endOffset":1814,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshift","ranges":[{"startOffset":1844,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pop","ranges":[{"startOffset":1996,"endOffset":2224,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.shift","ranges":[{"startOffset":2252,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEach","ranges":[{"startOffset":2510,"endOffset":2691,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEachReverse","ranges":[{"startOffset":2728,"endOffset":2923,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.get","ranges":[{"startOffset":2949,"endOffset":3182,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.getReverse","ranges":[{"startOffset":3215,"endOffset":3448,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.map","ranges":[{"startOffset":3474,"endOffset":3690,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.mapReverse","ranges":[{"startOffset":3723,"endOffset":3939,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduce","ranges":[{"startOffset":3968,"endOffset":4363,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduceReverse","ranges":[{"startOffset":4399,"endOffset":4808,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArray","ranges":[{"startOffset":4838,"endOffset":5018,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArrayReverse","ranges":[{"startOffset":5055,"endOffset":5235,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.slice","ranges":[{"startOffset":5263,"endOffset":5790,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.sliceReverse","ranges":[{"startOffset":5825,"endOffset":6362,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.splice","ranges":[{"startOffset":6391,"endOffset":7034,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reverse","ranges":[{"startOffset":7064,"endOffset":7322,"count":0}],"isBlockCoverage":false},{"functionName":"insert","ranges":[{"startOffset":7324,"endOffset":7643,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":7645,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":7795,"endOffset":7946,"count":0}],"isBlockCoverage":false},{"functionName":"Node","ranges":[{"startOffset":7948,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"559","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/iterator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":30,"endOffset":206,"count":1}],"isBlockCoverage":true},{"functionName":"Yallist.","ranges":[{"startOffset":90,"endOffset":204,"count":0}],"isBlockCoverage":false}]},{"scriptId":"560","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/satisfies.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"satisfies","ranges":[{"startOffset":60,"endOffset":205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"561","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/to-comparators.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":268,"count":1}],"isBlockCoverage":true},{"functionName":"toComparators","ranges":[{"startOffset":115,"endOffset":235,"count":0}],"isBlockCoverage":false}]},{"scriptId":"562","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/max-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":579,"count":1}],"isBlockCoverage":true},{"functionName":"maxSatisfying","ranges":[{"startOffset":109,"endOffset":547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"563","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"minSatisfying","ranges":[{"startOffset":108,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"564","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-version.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"minVersion","ranges":[{"startOffset":144,"endOffset":1471,"count":0}],"isBlockCoverage":false}]},{"scriptId":"565","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":312,"count":1}],"isBlockCoverage":true},{"functionName":"validRange","ranges":[{"startOffset":61,"endOffset":283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"566","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/outside.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2190,"count":1}],"isBlockCoverage":true},{"functionName":"outside","ranges":[{"startOffset":390,"endOffset":2163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"567","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/gtr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":217,"count":1}],"isBlockCoverage":true},{"functionName":"gtr","ranges":[{"startOffset":129,"endOffset":195,"count":0}],"isBlockCoverage":false}]},{"scriptId":"568","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/ltr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":213,"count":1}],"isBlockCoverage":true},{"functionName":"ltr","ranges":[{"startOffset":125,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"569","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/intersects.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true},{"functionName":"intersects","ranges":[{"startOffset":61,"endOffset":181,"count":0}],"isBlockCoverage":false}]},{"scriptId":"570","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/simplify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1341,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":329,"endOffset":1340,"count":0}],"isBlockCoverage":false}]},{"scriptId":"571","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/subset.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7510,"count":1}],"isBlockCoverage":true},{"functionName":"subset","ranges":[{"startOffset":1996,"endOffset":2727,"count":0}],"isBlockCoverage":false},{"functionName":"simpleSubset","ranges":[{"startOffset":2869,"endOffset":6974,"count":0}],"isBlockCoverage":false},{"functionName":"higherGT","ranges":[{"startOffset":7025,"endOffset":7229,"count":0}],"isBlockCoverage":false},{"functionName":"lowerLT","ranges":[{"startOffset":7280,"endOffset":7484,"count":0}],"isBlockCoverage":false}]},{"scriptId":"572","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/property.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6165,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":331,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeComplex","ranges":[{"startOffset":457,"endOffset":572,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":622,"endOffset":708,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePrimitive","ranges":[{"startOffset":756,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"Property","ranges":[{"startOffset":1125,"endOffset":1167,"count":0}],"isBlockCoverage":false},{"functionName":"compareKeys","ranges":[{"startOffset":1171,"endOffset":1692,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1696,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexProperty","ranges":[{"startOffset":2881,"endOffset":2949,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2953,"endOffset":3025,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3029,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3308,"endOffset":3811,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3815,"endOffset":3853,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveProperty","ranges":[{"startOffset":3981,"endOffset":4049,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":4053,"endOffset":4328,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4332,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5018,"endOffset":6023,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6027,"endOffset":6079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"573","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2777,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":329,"endOffset":675,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":705,"endOffset":901,"count":0}],"isBlockCoverage":false},{"functionName":"SymbolValue","ranges":[{"startOffset":1012,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1115,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":1409,"endOffset":1540,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1544,"endOffset":1651,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":1655,"endOffset":1788,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1792,"endOffset":1956,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSymbolValue","ranges":[{"startOffset":2159,"endOffset":2232,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2236,"endOffset":2726,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":2730,"endOffset":2774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"574","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-string-escape/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":644,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":17,"endOffset":643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"575","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/well-known-symbols/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":800,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":672,"endOffset":689,"count":12}],"isBlockCoverage":true},{"functionName":"exports.isWellKnown","ranges":[{"startOffset":715,"endOffset":747,"count":0}],"isBlockCoverage":false},{"functionName":"exports.getLabel","ranges":[{"startOffset":767,"endOffset":799,"count":0}],"isBlockCoverage":false}]},{"scriptId":"576","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/bigInt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":906,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":714,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":718,"endOffset":758,"count":0}],"isBlockCoverage":false}]},{"scriptId":"577","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/boolean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":931,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":286,"count":0}],"isBlockCoverage":false},{"functionName":"BooleanValue","ranges":[{"startOffset":425,"endOffset":473,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":477,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":737,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":741,"endOffset":781,"count":0}],"isBlockCoverage":false}]},{"scriptId":"578","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/null.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":737,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":273,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":406,"endOffset":497,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":501,"endOffset":593,"count":0}],"isBlockCoverage":false}]},{"scriptId":"579","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/number.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":969,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"NumberValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":777,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":781,"endOffset":821,"count":0}],"isBlockCoverage":false}]},{"scriptId":"580","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/undefined.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":421,"endOffset":512,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":516,"endOffset":618,"count":0}],"isBlockCoverage":false}]},{"scriptId":"581","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/shouldCompareDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":573,"count":1}],"isBlockCoverage":true},{"functionName":"shouldCompareDeep","ranges":[{"startOffset":206,"endOffset":537,"count":6},{"startOffset":297,"endOffset":535,"count":0}],"isBlockCoverage":true}]},{"scriptId":"582","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/symbolProperties.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2759,"count":1}],"isBlockCoverage":true},{"functionName":"Comparable","ranges":[{"startOffset":247,"endOffset":348,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":352,"endOffset":533,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":537,"endOffset":1293,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1297,"endOffset":2003,"count":0}],"isBlockCoverage":false},{"functionName":"Collector","ranges":[{"startOffset":2152,"endOffset":2288,"count":0}],"isBlockCoverage":false},{"functionName":"collectAll","ranges":[{"startOffset":2292,"endOffset":2538,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2542,"endOffset":2635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"583","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13805,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":630,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"compareComplexShape","ranges":[{"startOffset":642,"endOffset":1886,"count":0}],"isBlockCoverage":false},{"functionName":"diffDescriptors","ranges":[{"startOffset":1888,"endOffset":13605,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":13649,"endOffset":13784,"count":0}],"isBlockCoverage":false}]},{"scriptId":"584","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Indenter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":360,"count":1}],"isBlockCoverage":true},{"functionName":"Indenter","ranges":[{"startOffset":33,"endOffset":144,"count":1}],"isBlockCoverage":true},{"functionName":"increase","ranges":[{"startOffset":148,"endOffset":216,"count":0}],"isBlockCoverage":false},{"functionName":"decrease","ranges":[{"startOffset":220,"endOffset":288,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":292,"endOffset":331,"count":0}],"isBlockCoverage":false}]},{"scriptId":"585","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/format.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3075,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":241,"endOffset":251,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptor","ranges":[{"startOffset":295,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2953,"endOffset":3050,"count":0}],"isBlockCoverage":false}]},{"scriptId":"586","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/serialize.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12422,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4159,"endOffset":4194,"count":31}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4241,"endOffset":4276,"count":31}],"isBlockCoverage":true},{"functionName":"DescriptorSerializationError","ranges":[{"startOffset":4333,"endOffset":4487,"count":0}],"isBlockCoverage":false},{"functionName":"MissingPluginError","ranges":[{"startOffset":4534,"endOffset":4722,"count":0}],"isBlockCoverage":false},{"functionName":"PointerLookupError","ranges":[{"startOffset":4769,"endOffset":4936,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedPluginError","ranges":[{"startOffset":4987,"endOffset":5271,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedVersion","ranges":[{"startOffset":5373,"endOffset":5576,"count":0}],"isBlockCoverage":false},{"functionName":"shallowSerializeDescriptor","ranges":[{"startOffset":5580,"endOffset":5763,"count":0}],"isBlockCoverage":false},{"functionName":"serializeState","ranges":[{"startOffset":5765,"endOffset":6401,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6403,"endOffset":8213,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeState","ranges":[{"startOffset":8245,"endOffset":8564,"count":0}],"isBlockCoverage":false},{"functionName":"shallowDeserializeDescriptor","ranges":[{"startOffset":8566,"endOffset":8761,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeRecord","ranges":[{"startOffset":8763,"endOffset":9449,"count":0}],"isBlockCoverage":false},{"functionName":"buildPluginMap","ranges":[{"startOffset":9451,"endOffset":10790,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":10792,"endOffset":12387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"587","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/md5-hex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":406,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":66,"endOffset":404,"count":0}],"isBlockCoverage":false}]},{"scriptId":"588","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9570,"count":1}],"isBlockCoverage":true},{"functionName":"encodeInteger","ranges":[{"startOffset":689,"endOffset":828,"count":0}],"isBlockCoverage":false},{"functionName":"encodeValue","ranges":[{"startOffset":830,"endOffset":3045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeValue","ranges":[{"startOffset":3047,"endOffset":5534,"count":0}],"isBlockCoverage":false},{"functionName":"buildBuffer","ranges":[{"startOffset":5536,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6160,"endOffset":7889,"count":0}],"isBlockCoverage":false},{"functionName":"decodePlugins","ranges":[{"startOffset":7915,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"decodeRecord","ranges":[{"startOffset":8465,"endOffset":9182,"count":0}],"isBlockCoverage":false},{"functionName":"extractVersion","ranges":[{"startOffset":9220,"endOffset":9288,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":9330,"endOffset":9545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"589","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/flattenDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"flattenDeep","ranges":[{"startOffset":412,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"590","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFlatten.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1201,"count":1}],"isBlockCoverage":true},{"functionName":"baseFlatten","ranges":[{"startOffset":568,"endOffset":1169,"count":0}],"isBlockCoverage":false}]},{"scriptId":"591","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isFlattenable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1},{"startOffset":208,"endOffset":219,"count":0}],"isBlockCoverage":true},{"functionName":"isFlattenable","ranges":[{"startOffset":430,"endOffset":574,"count":0}],"isBlockCoverage":false}]},{"scriptId":"592","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/pointer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":617,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":63,"endOffset":120,"count":0}],"isBlockCoverage":false},{"functionName":"Pointer","ranges":[{"startOffset":249,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":392,"endOffset":435,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":439,"endOffset":479,"count":0}],"isBlockCoverage":false}]},{"scriptId":"593","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-error/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"isError","ranges":[{"startOffset":160,"endOffset":596,"count":0}],"isBlockCoverage":false}]},{"scriptId":"594","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7961,"count":1},{"startOffset":184,"endOffset":189,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":290,"endOffset":398,"count":70}],"isBlockCoverage":true},{"functionName":"StackUtils","ranges":[{"startOffset":581,"endOffset":1041,"count":1}],"isBlockCoverage":true},{"functionName":"nodeInternals","ranges":[{"startOffset":1052,"endOffset":1099,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":1103,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"captureString","ranges":[{"startOffset":2203,"endOffset":2601,"count":0}],"isBlockCoverage":false},{"functionName":"capture","ranges":[{"startOffset":2605,"endOffset":3178,"count":0}],"isBlockCoverage":false},{"functionName":"at","ranges":[{"startOffset":3182,"endOffset":4236,"count":0}],"isBlockCoverage":false},{"functionName":"parseLine","ranges":[{"startOffset":4240,"endOffset":6388,"count":0}],"isBlockCoverage":false},{"functionName":"setFile","ranges":[{"startOffset":6392,"endOffset":6629,"count":0}],"isBlockCoverage":false},{"functionName":"ignoredPackagesRegExp","ranges":[{"startOffset":6631,"endOffset":6913,"count":1},{"startOffset":6737,"endOffset":6912,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6778,"endOffset":6808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"595","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":236,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":85,"endOffset":234,"count":0}],"isBlockCoverage":false}]},{"scriptId":"596","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/cbor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2598,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":2526,"endOffset":2597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"597","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/commented.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8911,"count":1}],"isBlockCoverage":true},{"functionName":"plural","ranges":[{"startOffset":242,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1621,"endOffset":2061,"count":0}],"isBlockCoverage":false},{"functionName":"Commented","ranges":[{"startOffset":2313,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"_tag_24","ranges":[{"startOffset":3493,"endOffset":3678,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3682,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3766,"endOffset":3890,"count":0}],"isBlockCoverage":false},{"functionName":"comment","ranges":[{"startOffset":4466,"endOffset":5155,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":5184,"endOffset":5277,"count":0}],"isBlockCoverage":false},{"functionName":"_on_read","ranges":[{"startOffset":5306,"endOffset":5625,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":5654,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start_string","ranges":[{"startOffset":6407,"endOffset":6713,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":6742,"endOffset":7824,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":7853,"endOffset":7888,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":7918,"endOffset":8748,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":8777,"endOffset":8880,"count":0}],"isBlockCoverage":false}]},{"scriptId":"598","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8215,"count":1}],"isBlockCoverage":true},{"functionName":"exports.utf8","ranges":[{"startOffset":492,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":546,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"isBufferish","ranges":[{"startOffset":823,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"bufferishToBuffer","ranges":[{"startOffset":1098,"endOffset":1356,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORint","ranges":[{"startOffset":1381,"endOffset":1905,"count":0}],"isBlockCoverage":false},{"functionName":"writeHalf","ranges":[{"startOffset":1927,"endOffset":4036,"count":0}],"isBlockCoverage":false},{"functionName":"parseHalf","ranges":[{"startOffset":4058,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORfloat","ranges":[{"startOffset":4418,"endOffset":4687,"count":0}],"isBlockCoverage":false},{"functionName":"hex","ranges":[{"startOffset":4703,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"bin","ranges":[{"startOffset":4788,"endOffset":5042,"count":0}],"isBlockCoverage":false},{"functionName":"arrayEqual","ranges":[{"startOffset":5065,"endOffset":5279,"count":0}],"isBlockCoverage":false},{"functionName":"bufferToBigInt","ranges":[{"startOffset":5306,"endOffset":5382,"count":0}],"isBlockCoverage":false},{"functionName":"cborValueToString","ranges":[{"startOffset":5412,"endOffset":7059,"count":0}],"isBlockCoverage":false},{"functionName":"guessEncoding","ranges":[{"startOffset":7085,"endOffset":7418,"count":0}],"isBlockCoverage":false},{"functionName":"base64url","ranges":[{"startOffset":7657,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"base64","ranges":[{"startOffset":7965,"endOffset":8048,"count":0}],"isBlockCoverage":false},{"functionName":"isBigEndian","ranges":[{"startOffset":8072,"endOffset":8214,"count":0}],"isBlockCoverage":false}]},{"scriptId":"599","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nofilter/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28585,"count":1}],"isBlockCoverage":true},{"functionName":"NoFilter","ranges":[{"startOffset":3473,"endOffset":5501,"count":0}],"isBlockCoverage":false},{"functionName":"isNoFilter","ranges":[{"startOffset":5664,"endOffset":5716,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":6159,"endOffset":6351,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":7149,"endOffset":8408,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":8437,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"_bufArray","ranges":[{"startOffset":8811,"endOffset":9199,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":9982,"endOffset":10504,"count":0}],"isBlockCoverage":false},{"functionName":"readFull","ranges":[{"startOffset":10957,"endOffset":12088,"count":0}],"isBlockCoverage":false},{"functionName":"promise","ranges":[{"startOffset":12421,"endOffset":12847,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":13163,"endOffset":13614,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":13827,"endOffset":13883,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":14414,"endOffset":14924,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":15137,"endOffset":15184,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":15588,"endOffset":15702,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16207,"endOffset":16468,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16497,"endOffset":16823,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":16931,"endOffset":17040,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt","ranges":[{"startOffset":17265,"endOffset":17670,"count":0}],"isBlockCoverage":false},{"functionName":"readUBigInt","ranges":[{"startOffset":17884,"endOffset":18034,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt","ranges":[{"startOffset":18276,"endOffset":18596,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":18759,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19026,"endOffset":19133,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":19315,"endOffset":19422,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19609,"endOffset":19716,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":19900,"endOffset":20007,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":20172,"endOffset":20253,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":20438,"endOffset":20544,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":20726,"endOffset":20832,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":21021,"endOffset":21127,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":21313,"endOffset":21419,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatLE","ranges":[{"startOffset":21592,"endOffset":21697,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBE","ranges":[{"startOffset":21867,"endOffset":21972,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleLE","ranges":[{"startOffset":22146,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBE","ranges":[{"startOffset":22423,"endOffset":22530,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":22705,"endOffset":22816,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":22988,"endOffset":23099,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":23290,"endOffset":23403,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":23591,"endOffset":23704,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":23831,"endOffset":23955,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":24101,"endOffset":24231,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":24377,"endOffset":24507,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":24653,"endOffset":24783,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":24929,"endOffset":25059,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":25183,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":25449,"endOffset":25577,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":25721,"endOffset":25849,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":25993,"endOffset":26121,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":26265,"endOffset":26393,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatLE","ranges":[{"startOffset":26528,"endOffset":26656,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBE","ranges":[{"startOffset":26788,"endOffset":26916,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleLE","ranges":[{"startOffset":27051,"endOffset":27181,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBE","ranges":[{"startOffset":27313,"endOffset":27443,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":27586,"endOffset":27720,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":27860,"endOffset":27994,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":28140,"endOffset":28276,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":28419,"endOffset":28555,"count":0}],"isBlockCoverage":false}]},{"scriptId":"600","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1352,"count":1}],"isBlockCoverage":true}]},{"scriptId":"601","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/decoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20596,"count":1}],"isBlockCoverage":true},{"functionName":"parentArray","ranges":[{"startOffset":508,"endOffset":641,"count":0}],"isBlockCoverage":false},{"functionName":"parentBufferStream","ranges":[{"startOffset":643,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"UnexpectedDataError","ranges":[{"startOffset":831,"endOffset":996,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":3420,"endOffset":3794,"count":0}],"isBlockCoverage":false},{"functionName":"Decoder","ranges":[{"startOffset":4237,"endOffset":4930,"count":0}],"isBlockCoverage":false},{"functionName":"nullcheck","ranges":[{"startOffset":5301,"endOffset":5710,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirstSync","ranges":[{"startOffset":6389,"endOffset":7548,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAllSync","ranges":[{"startOffset":8073,"endOffset":8838,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirst","ranges":[{"startOffset":9562,"endOffset":11046,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAll","ranges":[{"startOffset":11770,"endOffset":12395,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12433,"endOffset":12495,"count":0}],"isBlockCoverage":false},{"functionName":"_onRead","ranges":[{"startOffset":12574,"endOffset":12625,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":12867,"endOffset":20537,"count":0}],"isBlockCoverage":false}]},{"scriptId":"602","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/vendor/binary-parse-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2692,"count":1}],"isBlockCoverage":true},{"functionName":"BinaryParseStream","ranges":[{"startOffset":1100,"endOffset":1513,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1517,"endOffset":2086,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":2331,"endOffset":2462,"count":0}],"isBlockCoverage":false},{"functionName":"__restart","ranges":[{"startOffset":2466,"endOffset":2566,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":2570,"endOffset":2653,"count":0}],"isBlockCoverage":false}]},{"scriptId":"603","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/tagged.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10762,"count":1},{"startOffset":7721,"endOffset":7750,"count":19}],"isBlockCoverage":true},{"functionName":"setBuffersToJSON","ranges":[{"startOffset":135,"endOffset":954,"count":0}],"isBlockCoverage":false},{"functionName":"b64this","ranges":[{"startOffset":956,"endOffset":1052,"count":0}],"isBlockCoverage":false},{"functionName":"b64urlThis","ranges":[{"startOffset":1054,"endOffset":1156,"count":0}],"isBlockCoverage":false},{"functionName":"hexThis","ranges":[{"startOffset":1158,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"swapEndian","ranges":[{"startOffset":1258,"endOffset":1667,"count":0}],"isBlockCoverage":false},{"functionName":"0","ranges":[{"startOffset":2409,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"1","ranges":[{"startOffset":2478,"endOffset":2501,"count":0}],"isBlockCoverage":false},{"functionName":"2","ranges":[{"startOffset":2548,"endOffset":2576,"count":0}],"isBlockCoverage":false},{"functionName":"3","ranges":[{"startOffset":2623,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"21","ranges":[{"startOffset":2752,"endOffset":2911,"count":0}],"isBlockCoverage":false},{"functionName":"22","ranges":[{"startOffset":2984,"endOffset":3137,"count":0}],"isBlockCoverage":false},{"functionName":"23","ranges":[{"startOffset":3218,"endOffset":3371,"count":0}],"isBlockCoverage":false},{"functionName":"32","ranges":[{"startOffset":3409,"endOffset":3424,"count":0}],"isBlockCoverage":false},{"functionName":"33","ranges":[{"startOffset":3468,"endOffset":4627,"count":0}],"isBlockCoverage":false},{"functionName":"34","ranges":[{"startOffset":4668,"endOffset":5867,"count":0}],"isBlockCoverage":false},{"functionName":"35","ranges":[{"startOffset":5920,"endOffset":5938,"count":0}],"isBlockCoverage":false},{"functionName":"258","ranges":[{"startOffset":6027,"endOffset":6042,"count":0}],"isBlockCoverage":false},{"functionName":"_toTypedArray","ranges":[{"startOffset":7009,"endOffset":7672,"count":0}],"isBlockCoverage":false},{"functionName":"Tagged","ranges":[{"startOffset":8277,"endOffset":8615,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":8619,"endOffset":8856,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":8953,"endOffset":9025,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":9189,"endOffset":9272,"count":0}],"isBlockCoverage":false},{"functionName":"convert","ranges":[{"startOffset":9824,"endOffset":10302,"count":0}],"isBlockCoverage":false},{"functionName":"get TAGS","ranges":[{"startOffset":10432,"endOffset":10472,"count":0}],"isBlockCoverage":false},{"functionName":"set TAGS","ranges":[{"startOffset":10483,"endOffset":10525,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":10642,"endOffset":10683,"count":1}],"isBlockCoverage":true}]},{"scriptId":"604","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/simple.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2695,"count":1}],"isBlockCoverage":true},{"functionName":"Simple","ranges":[{"startOffset":268,"endOffset":567,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":683,"endOffset":734,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":930,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":1190,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"isSimple","ranges":[{"startOffset":1403,"endOffset":1455,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":2071,"endOffset":2667,"count":0}],"isBlockCoverage":false}]},{"scriptId":"605","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/diagnose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6617,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeOptions","ranges":[{"startOffset":1886,"endOffset":2262,"count":0}],"isBlockCoverage":false},{"functionName":"Diagnose","ranges":[{"startOffset":2529,"endOffset":3414,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3418,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3509,"endOffset":3707,"count":0}],"isBlockCoverage":false},{"functionName":"diagnose","ranges":[{"startOffset":4122,"endOffset":4775,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":4804,"endOffset":4932,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":4954,"endOffset":5115,"count":0}],"isBlockCoverage":false},{"functionName":"_fore","ranges":[{"startOffset":5137,"endOffset":5507,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":5529,"endOffset":5751,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":5773,"endOffset":6194,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":6216,"endOffset":6519,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":6541,"endOffset":6587,"count":0}],"isBlockCoverage":false}]},{"scriptId":"606","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31613,"count":1}],"isBlockCoverage":true},{"functionName":"parseDateType","ranges":[{"startOffset":1747,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"Encoder","ranges":[{"startOffset":4631,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":6051,"endOffset":6261,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":6318,"endOffset":6350,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt8","ranges":[{"startOffset":6470,"endOffset":6576,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt16BE","ranges":[{"startOffset":6698,"endOffset":6810,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt32BE","ranges":[{"startOffset":6935,"endOffset":7047,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloatBE","ranges":[{"startOffset":7176,"endOffset":7286,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDoubleBE","ranges":[{"startOffset":7416,"endOffset":7528,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNaN","ranges":[{"startOffset":7598,"endOffset":7644,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInfinity","ranges":[{"startOffset":7770,"endOffset":7876,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloat","ranges":[{"startOffset":8142,"endOffset":9321,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInt","ranges":[{"startOffset":10074,"endOffset":10925,"count":0}],"isBlockCoverage":false},{"functionName":"_pushIntNum","ranges":[{"startOffset":11192,"endOffset":11409,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNumber","ranges":[{"startOffset":11531,"endOffset":11787,"count":0}],"isBlockCoverage":false},{"functionName":"_pushString","ranges":[{"startOffset":11900,"endOffset":12041,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoolean","ranges":[{"startOffset":12153,"endOffset":12223,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUndefined","ranges":[{"startOffset":12330,"endOffset":12752,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNull","ranges":[{"startOffset":12854,"endOffset":12907,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTag","ranges":[{"startOffset":13024,"endOffset":13081,"count":0}],"isBlockCoverage":false},{"functionName":"_pushJSBigint","ranges":[{"startOffset":13194,"endOffset":13960,"count":0}],"isBlockCoverage":false},{"functionName":"_pushObject","ranges":[{"startOffset":14109,"endOffset":16394,"count":0}],"isBlockCoverage":false},{"functionName":"_encodeAll","ranges":[{"startOffset":16551,"endOffset":16756,"count":0}],"isBlockCoverage":false},{"functionName":"addSemanticType","ranges":[{"startOffset":17172,"endOffset":17565,"count":0}],"isBlockCoverage":false},{"functionName":"pushAny","ranges":[{"startOffset":17771,"endOffset":18684,"count":0}],"isBlockCoverage":false},{"functionName":"pushArray","ranges":[{"startOffset":18990,"endOffset":19516,"count":0}],"isBlockCoverage":false},{"functionName":"removeLoopDetectors","ranges":[{"startOffset":19662,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDate","ranges":[{"startOffset":19947,"endOffset":20619,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBuffer","ranges":[{"startOffset":20774,"endOffset":20870,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNoFilter","ranges":[{"startOffset":21027,"endOffset":21129,"count":0}],"isBlockCoverage":false},{"functionName":"_pushRegexp","ranges":[{"startOffset":21284,"endOffset":21374,"count":0}],"isBlockCoverage":false},{"functionName":"_pushSet","ranges":[{"startOffset":21523,"endOffset":21783,"count":0}],"isBlockCoverage":false},{"functionName":"_pushURL","ranges":[{"startOffset":21932,"endOffset":22020,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoxed","ranges":[{"startOffset":22208,"endOffset":22272,"count":0}],"isBlockCoverage":false},{"functionName":"_pushMap","ranges":[{"startOffset":22469,"endOffset":24462,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTypedArray","ranges":[{"startOffset":24627,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"_pushArrayBuffer","ranges":[{"startOffset":25460,"endOffset":25546,"count":0}],"isBlockCoverage":false},{"functionName":"encodeIndefinite","ranges":[{"startOffset":26458,"endOffset":28127,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":28344,"endOffset":28407,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCanonical","ranges":[{"startOffset":28646,"endOffset":28748,"count":0}],"isBlockCoverage":false},{"functionName":"encodeOne","ranges":[{"startOffset":29014,"endOffset":29093,"count":0}],"isBlockCoverage":false},{"functionName":"encodeAsync","ranges":[{"startOffset":29664,"endOffset":29981,"count":0}],"isBlockCoverage":false},{"functionName":"get SEMANTIC_TYPES","ranges":[{"startOffset":30115,"endOffset":30175,"count":0}],"isBlockCoverage":false},{"functionName":"set SEMANTIC_TYPES","ranges":[{"startOffset":30186,"endOffset":30248,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":30375,"endOffset":30437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"607","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5186,"count":1}],"isBlockCoverage":true},{"functionName":"CborMap","ranges":[{"startOffset":952,"endOffset":999,"count":0}],"isBlockCoverage":false},{"functionName":"_encode","ranges":[{"startOffset":1035,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_decode","ranges":[{"startOffset":1148,"endOffset":1216,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1501,"endOffset":1558,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":1874,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":2283,"endOffset":2346,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":2687,"endOffset":2744,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":2978,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":3366,"endOffset":3472,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3725,"endOffset":3776,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":4173,"endOffset":4393,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":4557,"endOffset":5157,"count":0}],"isBlockCoverage":false}]},{"scriptId":"608","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/map-age-cleaner/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3903,"count":1}],"isBlockCoverage":true},{"functionName":"__awaiter","ranges":[{"startOffset":58,"endOffset":613,"count":0}],"isBlockCoverage":false},{"functionName":"__importDefault","ranges":[{"startOffset":671,"endOffset":752,"count":1},{"startOffset":723,"endOffset":728,"count":0}],"isBlockCoverage":true},{"functionName":"mapAgeCleaner","ranges":[{"startOffset":872,"endOffset":3774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"609","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-defer/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":177,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"610","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6750,"count":1}],"isBlockCoverage":true},{"functionName":"getId","ranges":[{"startOffset":492,"endOffset":749,"count":1},{"startOffset":664,"endOffset":747,"count":0}],"isBlockCoverage":true},{"functionName":"getTmpname","ranges":[{"startOffset":774,"endOffset":976,"count":0}],"isBlockCoverage":false},{"functionName":"cleanupOnExit","ranges":[{"startOffset":978,"endOffset":1161,"count":0}],"isBlockCoverage":false},{"functionName":"serializeActiveFile","ranges":[{"startOffset":1163,"endOffset":1550,"count":0}],"isBlockCoverage":false},{"functionName":"isChownErrOk","ranges":[{"startOffset":1633,"endOffset":1894,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileAsync","ranges":[{"startOffset":1896,"endOffset":4304,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4306,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":4680,"endOffset":6749,"count":0}],"isBlockCoverage":false}]},{"scriptId":"611","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/imurmurhash/imurmurhash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4412,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":443,"endOffset":4407,"count":1},{"startOffset":4352,"endOffset":4405,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3","ranges":[{"startOffset":811,"endOffset":1083,"count":1},{"startOffset":896,"endOffset":903,"count":0},{"startOffset":963,"endOffset":980,"count":0},{"startOffset":982,"endOffset":1018,"count":0},{"startOffset":1044,"endOffset":1077,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3.hash","ranges":[{"startOffset":1254,"endOffset":3073,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.result","ranges":[{"startOffset":3193,"endOffset":3797,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.reset","ranges":[{"startOffset":3937,"endOffset":4078,"count":1},{"startOffset":3997,"endOffset":4003,"count":0}],"isBlockCoverage":true}]},{"scriptId":"612","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9435,"count":1},{"startOffset":8597,"endOffset":8623,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":518,"endOffset":562,"count":0}],"isBlockCoverage":false},{"functionName":"processOk","ranges":[{"startOffset":585,"endOffset":952,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1130,"endOffset":2434,"count":1}],"isBlockCoverage":true},{"functionName":"Emitter","ranges":[{"startOffset":1325,"endOffset":1616,"count":1},{"startOffset":1375,"endOffset":1427,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":1621,"endOffset":1676,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":1681,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2045,"endOffset":2432,"count":0}],"isBlockCoverage":false},{"functionName":"signalExitWrap","ranges":[{"startOffset":2483,"endOffset":2732,"count":1}],"isBlockCoverage":true},{"functionName":"onExit","ranges":[{"startOffset":2519,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2602,"endOffset":2655,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2665,"endOffset":2722,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":2788,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2835,"endOffset":2845,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2850,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2865,"endOffset":8403,"count":1},{"startOffset":3070,"endOffset":3080,"count":0}],"isBlockCoverage":true},{"functionName":"SignalExit","ranges":[{"startOffset":3269,"endOffset":5206,"count":1},{"startOffset":3467,"endOffset":5088,"count":17}],"isBlockCoverage":true},{"functionName":"SignalExit.#sigListeners.","ranges":[{"startOffset":3507,"endOffset":5077,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":5211,"endOffset":5804,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5809,"endOffset":6637,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":6642,"endOffset":7393,"count":0}],"isBlockCoverage":false},{"functionName":"#processReallyExit","ranges":[{"startOffset":7398,"endOffset":7764,"count":0}],"isBlockCoverage":false},{"functionName":"#processEmit","ranges":[{"startOffset":7769,"endOffset":8401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"613","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1560,"count":1}],"isBlockCoverage":true}]},{"scriptId":"614","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/irregular-plurals/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":137,"count":1}],"isBlockCoverage":true}]},{"scriptId":"615","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/state.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":150,"count":1}],"isBlockCoverage":true}]},{"scriptId":"616","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/channel.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7151,"count":1},{"startOffset":2661,"endOffset":2770,"count":0}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":303,"endOffset":1131,"count":2},{"startOffset":747,"endOffset":1129,"count":0}],"isBlockCoverage":true},{"functionName":"addToBuffer","ranges":[{"startOffset":510,"endOffset":540,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":975,"endOffset":1022,"count":0}],"isBlockCoverage":false},{"functionName":"selectAvaMessage","ranges":[{"startOffset":1159,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1167,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"RefCounter","ranges":[{"startOffset":1241,"endOffset":1277,"count":1}],"isBlockCoverage":true},{"functionName":"refAndTest","ranges":[{"startOffset":1280,"endOffset":1326,"count":2}],"isBlockCoverage":true},{"functionName":"testAndUnref","ranges":[{"startOffset":1329,"endOffset":1395,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortHandle","ranges":[{"startOffset":1426,"endOffset":1746,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1719,"endOffset":1727,"count":0}],"isBlockCoverage":false},{"functionName":"forceUnref","ranges":[{"startOffset":1749,"endOffset":1899,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":1902,"endOffset":2040,"count":2}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":2043,"endOffset":2179,"count":2}],"isBlockCoverage":true},{"functionName":"send","ranges":[{"startOffset":2182,"endOffset":2264,"count":59}],"isBlockCoverage":true},{"functionName":"IpcHandle","ranges":[{"startOffset":2287,"endOffset":2409,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":2412,"endOffset":2487,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":2490,"endOffset":2571,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2574,"endOffset":2616,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3157,"endOffset":3187,"count":0}],"isBlockCoverage":false},{"functionName":"flush","ranges":[{"startOffset":3456,"endOffset":3749,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3531,"endOffset":3704,"count":1}],"isBlockCoverage":true},{"functionName":"createChannelEmitter","ranges":[{"startOffset":3859,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"registerSharedWorker","ranges":[{"startOffset":4406,"endOffset":7096,"count":0}],"isBlockCoverage":false}]},{"scriptId":"617","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/utils.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true}]},{"scriptId":"618","url":"node:internal/modules/esm/initialize_import_meta","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1960,"count":1}],"isBlockCoverage":false},{"functionName":"createImportMetaResolve","ranges":[{"startOffset":617,"endOffset":1368,"count":3}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":880,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"initializeImportMeta","ranges":[{"startOffset":1633,"endOffset":1912,"count":3}],"isBlockCoverage":true}]},{"scriptId":"619","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/options.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":278,"count":1}],"isBlockCoverage":true},{"functionName":"exports.get","ranges":[{"startOffset":48,"endOffset":147,"count":0}],"isBlockCoverage":false},{"functionName":"exports.set","ranges":[{"startOffset":164,"endOffset":276,"count":1},{"startOffset":194,"endOffset":250,"count":0}],"isBlockCoverage":true}]},{"scriptId":"620","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-event/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6062,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeEmitter","ranges":[{"startOffset":60,"endOffset":453,"count":3},{"startOffset":105,"endOffset":127,"count":0},{"startOffset":128,"endOffset":155,"count":0},{"startOffset":193,"endOffset":218,"count":0},{"startOffset":219,"endOffset":249,"count":0},{"startOffset":290,"endOffset":346,"count":0}],"isBlockCoverage":true},{"functionName":"pEventMultiple","ranges":[{"startOffset":463,"endOffset":2125,"count":3},{"startOffset":1994,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":560,"endOffset":1917,"count":3},{"startOffset":812,"endOffset":892,"count":0},{"startOffset":1890,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"onItem","ranges":[{"startOffset":1060,"endOffset":1389,"count":3},{"startOffset":1116,"endOffset":1128,"count":0},{"startOffset":1263,"endOffset":1281,"count":2},{"startOffset":1281,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"rejectHandler","ranges":[{"startOffset":1416,"endOffset":1461,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":1475,"endOffset":1675,"count":1}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":2134,"endOffset":2551,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2421,"endOffset":2438,"count":1}],"isBlockCoverage":true},{"functionName":"pEventIterator","ranges":[{"startOffset":2560,"endOffset":6020,"count":0}],"isBlockCoverage":false}]},{"scriptId":"621","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@ava/typescript/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8330,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":352,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"validate","ranges":[{"startOffset":478,"endOffset":1131,"count":0}],"isBlockCoverage":false},{"functionName":"compileTypeScript","ranges":[{"startOffset":1133,"endOffset":1260,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1321,"endOffset":1393,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1436,"endOffset":1654,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1696,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"typescriptProvider","ranges":[{"startOffset":2093,"endOffset":8329,"count":1},{"startOffset":2251,"endOffset":2265,"count":0}],"isBlockCoverage":true},{"functionName":"main","ranges":[{"startOffset":2279,"endOffset":7324,"count":0}],"isBlockCoverage":false},{"functionName":"worker","ranges":[{"startOffset":7329,"endOffset":8322,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7526,"endOffset":7556,"count":3}],"isBlockCoverage":true},{"functionName":"canLoad","ranges":[{"startOffset":7591,"endOffset":7707,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7667,"endOffset":7699,"count":2}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":7714,"endOffset":8311,"count":1},{"startOffset":7935,"endOffset":8023,"count":0},{"startOffset":8055,"endOffset":8118,"count":0},{"startOffset":8247,"endOffset":8281,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7787,"endOffset":7819,"count":2}],"isBlockCoverage":true}]},{"scriptId":"622","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-timeout/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2513,"count":1}],"isBlockCoverage":true},{"functionName":"TimeoutError","ranges":[{"startOffset":43,"endOffset":116,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":315,"endOffset":405,"count":0}],"isBlockCoverage":false},{"functionName":"getDOMException","ranges":[{"startOffset":516,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"getAbortedReason","ranges":[{"startOffset":755,"endOffset":951,"count":0}],"isBlockCoverage":false},{"functionName":"pTimeout","ranges":[{"startOffset":969,"endOffset":2512,"count":0}],"isBlockCoverage":false}]},{"scriptId":"623","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7897,"count":1}],"isBlockCoverage":true},{"functionName":"getEnv","ranges":[{"startOffset":955,"endOffset":1187,"count":0}],"isBlockCoverage":false},{"functionName":"handleArguments","ranges":[{"startOffset":1214,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"handleOutput","ranges":[{"startOffset":1965,"endOffset":2268,"count":0}],"isBlockCoverage":false},{"functionName":"execa","ranges":[{"startOffset":2278,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"execaSync","ranges":[{"startOffset":4687,"endOffset":6032,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptStdin","ranges":[{"startOffset":6063,"endOffset":6191,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptOptions","ranges":[{"startOffset":6225,"endOffset":6316,"count":0}],"isBlockCoverage":false},{"functionName":"create$","ranges":[{"startOffset":6319,"endOffset":6973,"count":1}],"isBlockCoverage":true},{"functionName":"$","ranges":[{"startOffset":6348,"endOffset":6640,"count":0}],"isBlockCoverage":false},{"functionName":"$.sync","ranges":[{"startOffset":6652,"endOffset":6958,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommand","ranges":[{"startOffset":7011,"endOffset":7138,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommandSync","ranges":[{"startOffset":7147,"endOffset":7282,"count":0}],"isBlockCoverage":false},{"functionName":"execaNode","ranges":[{"startOffset":7291,"endOffset":7896,"count":0}],"isBlockCoverage":false}]},{"scriptId":"624","url":"node:child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27198,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1936,"endOffset":1965,"count":0}],"isBlockCoverage":false},{"functionName":"fork","ranges":[{"startOffset":3430,"endOffset":5105,"count":0}],"isBlockCoverage":false},{"functionName":"_forkChild","ranges":[{"startOffset":5107,"endOffset":5596,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecArgs","ranges":[{"startOffset":5598,"endOffset":6112,"count":0}],"isBlockCoverage":false},{"functionName":"exec","ranges":[{"startOffset":6649,"endOffset":6896,"count":0}],"isBlockCoverage":false},{"functionName":"customPromiseExecFunction","ranges":[{"startOffset":6932,"endOffset":7296,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6953,"endOffset":7293,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecFileArgs","ranges":[{"startOffset":7433,"endOffset":8331,"count":0}],"isBlockCoverage":false},{"functionName":"execFile","ranges":[{"startOffset":8944,"endOffset":13708,"count":0}],"isBlockCoverage":false},{"functionName":"copyProcessEnvToEnv","ranges":[{"startOffset":13852,"endOffset":14052,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeSpawnArguments","ranges":[{"startOffset":14054,"endOffset":19321,"count":0}],"isBlockCoverage":false},{"functionName":"abortChildProcess","ranges":[{"startOffset":19323,"endOffset":19579,"count":0}],"isBlockCoverage":false},{"functionName":"spawn","ranges":[{"startOffset":20134,"endOffset":21334,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":22094,"endOffset":23602,"count":0}],"isBlockCoverage":false},{"functionName":"checkExecSyncError","ranges":[{"startOffset":23605,"endOffset":23991,"count":0}],"isBlockCoverage":false},{"functionName":"execFileSync","ranges":[{"startOffset":24504,"endOffset":24968,"count":0}],"isBlockCoverage":false},{"functionName":"execSync","ranges":[{"startOffset":25466,"endOffset":25842,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentNullCheck","ranges":[{"startOffset":25845,"endOffset":26068,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentsNullCheck","ranges":[{"startOffset":26071,"endOffset":26233,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":26236,"endOffset":26424,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBuffer","ranges":[{"startOffset":26427,"endOffset":26700,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeKillSignal","ranges":[{"startOffset":26703,"endOffset":27066,"count":0}],"isBlockCoverage":false}]},{"scriptId":"625","url":"node:internal/child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31777,"count":1}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2500,"endOffset":2559,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2566,"endOffset":2620,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2682,"endOffset":2749,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2756,"endOffset":2897,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2927,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"postSend","ranges":[{"startOffset":4488,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5241,"endOffset":5698,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5763,"endOffset":5822,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5829,"endOffset":5883,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5948,"endOffset":6068,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":6075,"endOffset":6234,"count":0}],"isBlockCoverage":false},{"functionName":"stdioStringToArray","ranges":[{"startOffset":6245,"endOffset":6660,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess","ranges":[{"startOffset":6662,"endOffset":8151,"count":0}],"isBlockCoverage":false},{"functionName":"flushStdio","ranges":[{"startOffset":8274,"endOffset":8752,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":8755,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"getHandleWrapType","ranges":[{"startOffset":8848,"endOffset":9077,"count":0}],"isBlockCoverage":false},{"functionName":"closePendingHandle","ranges":[{"startOffset":9079,"endOffset":9192,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.spawn","ranges":[{"startOffset":9226,"endOffset":12793,"count":0}],"isBlockCoverage":false},{"functionName":"onErrorNT","ranges":[{"startOffset":12797,"endOffset":12858,"count":0}],"isBlockCoverage":false},{"functionName":"onSpawnNT","ranges":[{"startOffset":12861,"endOffset":12911,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.kill","ranges":[{"startOffset":12944,"endOffset":13609,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.","ranges":[{"startOffset":13652,"endOffset":13709,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.ref","ranges":[{"startOffset":13742,"endOffset":13796,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.unref","ranges":[{"startOffset":13831,"endOffset":13887,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13890,"endOffset":14887,"count":0}],"isBlockCoverage":false},{"functionName":"setupChannel","ranges":[{"startOffset":15035,"endOffset":27155,"count":0}],"isBlockCoverage":false},{"functionName":"isInternal","ranges":[{"startOffset":27190,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"getValidStdio","ranges":[{"startOffset":27534,"endOffset":30459,"count":0}],"isBlockCoverage":false},{"functionName":"getSocketList","ranges":[{"startOffset":30462,"endOffset":30778,"count":0}],"isBlockCoverage":false},{"functionName":"maybeClose","ranges":[{"startOffset":30781,"endOffset":30982,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":30984,"endOffset":31651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"626","url":"node:dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28253,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCluster","ranges":[{"startOffset":2824,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":3031,"endOffset":4459,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":4570,"endOffset":4648,"count":0}],"isBlockCoverage":false},{"functionName":"startListening","ranges":[{"startOffset":4651,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"replaceHandle","ranges":[{"startOffset":5096,"endOffset":5661,"count":0}],"isBlockCoverage":false},{"functionName":"bufferSize","ranges":[{"startOffset":5663,"endOffset":5955,"count":0}],"isBlockCoverage":false},{"functionName":"bindServerHandle","ranges":[{"startOffset":6023,"endOffset":6433,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.bind","ranges":[{"startOffset":6459,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":9932,"endOffset":10728,"count":0}],"isBlockCoverage":false},{"functionName":"_connect","ranges":[{"startOffset":10732,"endOffset":11078,"count":0}],"isBlockCoverage":false},{"functionName":"doConnect","ranges":[{"startOffset":11081,"endOffset":11723,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.disconnect","ranges":[{"startOffset":11756,"endOffset":12063,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.sendto","ranges":[{"startOffset":12168,"endOffset":12609,"count":0}],"isBlockCoverage":false},{"functionName":"sliceBuffer","ranges":[{"startOffset":12613,"endOffset":13373,"count":0}],"isBlockCoverage":false},{"functionName":"fixBufferList","ranges":[{"startOffset":13376,"endOffset":13760,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":13763,"endOffset":14190,"count":0}],"isBlockCoverage":false},{"functionName":"onListenSuccess","ranges":[{"startOffset":14193,"endOffset":14331,"count":0}],"isBlockCoverage":false},{"functionName":"onListenError","ranges":[{"startOffset":14334,"endOffset":14458,"count":0}],"isBlockCoverage":false},{"functionName":"clearQueue","ranges":[{"startOffset":14461,"endOffset":14658,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.send","ranges":[{"startOffset":15229,"endOffset":18122,"count":0}],"isBlockCoverage":false},{"functionName":"doSend","ranges":[{"startOffset":18125,"endOffset":19264,"count":0}],"isBlockCoverage":false},{"functionName":"afterSend","ranges":[{"startOffset":19266,"endOffset":19443,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.close","ranges":[{"startOffset":19470,"endOffset":20038,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":20080,"endOffset":20213,"count":0}],"isBlockCoverage":false},{"functionName":"socketCloseNT","ranges":[{"startOffset":20217,"endOffset":20271,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":20301,"endOffset":20491,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.remoteAddress","ranges":[{"startOffset":20527,"endOffset":20837,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setBroadcast","ranges":[{"startOffset":20873,"endOffset":21021,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setTTL","ranges":[{"startOffset":21051,"endOffset":21225,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastTTL","ranges":[{"startOffset":21264,"endOffset":21456,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastLoopback","ranges":[{"startOffset":21500,"endOffset":21700,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastInterface","ranges":[{"startOffset":21745,"endOffset":22007,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addMembership","ranges":[{"startOffset":22043,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropMembership","ranges":[{"startOffset":22455,"endOffset":22832,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addSourceSpecificMembership","ranges":[{"startOffset":22882,"endOffset":23489,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropSourceSpecificMembership","ranges":[{"startOffset":23541,"endOffset":24154,"count":0}],"isBlockCoverage":false},{"functionName":"healthCheck","ranges":[{"startOffset":24158,"endOffset":24321,"count":0}],"isBlockCoverage":false},{"functionName":"stopReceiving","ranges":[{"startOffset":24324,"endOffset":24488,"count":0}],"isBlockCoverage":false},{"functionName":"onMessage","ranges":[{"startOffset":24491,"endOffset":24745,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":24748,"endOffset":24863,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":24889,"endOffset":24996,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":25025,"endOffset":25134,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setRecvBufferSize","ranges":[{"startOffset":25175,"endOffset":25232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setSendBufferSize","ranges":[{"startOffset":25273,"endOffset":25330,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getRecvBufferSize","ranges":[{"startOffset":25371,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendBufferSize","ranges":[{"startOffset":25469,"endOffset":25526,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueSize","ranges":[{"startOffset":25565,"endOffset":25634,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueCount","ranges":[{"startOffset":25674,"endOffset":25744,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25863,"endOffset":25917,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25990,"endOffset":26046,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26199,"endOffset":26256,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26332,"endOffset":26391,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26547,"endOffset":26604,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26680,"endOffset":26739,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26891,"endOffset":26944,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27016,"endOffset":27071,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27223,"endOffset":27280,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27356,"endOffset":27415,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27522,"endOffset":27557,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27666,"endOffset":27703,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27988,"endOffset":28024,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":28028,"endOffset":28069,"count":0}],"isBlockCoverage":false}]},{"scriptId":"627","url":"node:internal/dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1851,"count":1}],"isBlockCoverage":false},{"functionName":"lookup4","ranges":[{"startOffset":478,"endOffset":579,"count":0}],"isBlockCoverage":false},{"functionName":"lookup6","ranges":[{"startOffset":582,"endOffset":677,"count":0}],"isBlockCoverage":false},{"functionName":"newHandle","ranges":[{"startOffset":679,"endOffset":1323,"count":0}],"isBlockCoverage":false},{"functionName":"_createSocketHandle","ranges":[{"startOffset":1326,"endOffset":1774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"628","url":"node:internal/socket_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2709,"count":1}],"isBlockCoverage":false},{"functionName":"SocketListSend","ranges":[{"startOffset":235,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"_request","ranges":[{"startOffset":380,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":1039,"endOffset":1190,"count":0}],"isBlockCoverage":false},{"functionName":"getConnections","ranges":[{"startOffset":1194,"endOffset":1430,"count":0}],"isBlockCoverage":false},{"functionName":"SocketListReceive","ranges":[{"startOffset":1544,"endOffset":2404,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":2408,"endOffset":2649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"629","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/strip-final-newline/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":347,"count":1}],"isBlockCoverage":true},{"functionName":"stripFinalNewline","ranges":[{"startOffset":15,"endOffset":346,"count":0}],"isBlockCoverage":false}]},{"scriptId":"630","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":938,"count":1}],"isBlockCoverage":true},{"functionName":"npmRunPath","ranges":[{"startOffset":134,"endOffset":741,"count":0}],"isBlockCoverage":false},{"functionName":"npmRunPathEnv","ranges":[{"startOffset":750,"endOffset":937,"count":0}],"isBlockCoverage":false}]},{"scriptId":"631","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/onetime/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1022,"count":1}],"isBlockCoverage":true},{"functionName":"onetime","ranges":[{"startOffset":95,"endOffset":767,"count":0}],"isBlockCoverage":false},{"functionName":"onetime.callCount","ranges":[{"startOffset":790,"endOffset":995,"count":0}],"isBlockCoverage":false}]},{"scriptId":"632","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2204,"count":1}],"isBlockCoverage":true},{"functionName":"getErrorPrefix","ranges":[{"startOffset":105,"endOffset":580,"count":0}],"isBlockCoverage":false},{"functionName":"makeError","ranges":[{"startOffset":608,"endOffset":2202,"count":0}],"isBlockCoverage":false}]},{"scriptId":"633","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stdio.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1157,"count":1}],"isBlockCoverage":true},{"functionName":"hasAlias","ranges":[{"startOffset":65,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdio","ranges":[{"startOffset":160,"endOffset":794,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdioNode","ranges":[{"startOffset":879,"endOffset":1155,"count":0}],"isBlockCoverage":false}]},{"scriptId":"634","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/kill.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2983,"count":1}],"isBlockCoverage":true},{"functionName":"spawnedKill","ranges":[{"startOffset":214,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"setKillTimeout","ranges":[{"startOffset":393,"endOffset":844,"count":0}],"isBlockCoverage":false},{"functionName":"shouldForceKill","ranges":[{"startOffset":871,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"isSigterm","ranges":[{"startOffset":1007,"endOffset":1128,"count":0}],"isBlockCoverage":false},{"functionName":"getForceKillAfterTimeout","ranges":[{"startOffset":1164,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"spawnedCancel","ranges":[{"startOffset":1623,"endOffset":1736,"count":0}],"isBlockCoverage":false},{"functionName":"timeoutKill","ranges":[{"startOffset":1759,"endOffset":1888,"count":0}],"isBlockCoverage":false},{"functionName":"setupTimeout","ranges":[{"startOffset":1948,"endOffset":2417,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":2451,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"setExitHandler","ranges":[{"startOffset":2737,"endOffset":2981,"count":0}],"isBlockCoverage":false}]},{"scriptId":"635","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/pipe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1194,"count":1}],"isBlockCoverage":true},{"functionName":"isExecaChildProcess","ranges":[{"startOffset":165,"endOffset":242,"count":0}],"isBlockCoverage":false},{"functionName":"pipeToTarget","ranges":[{"startOffset":266,"endOffset":826,"count":0}],"isBlockCoverage":false},{"functionName":"addPipeMethods","ranges":[{"startOffset":859,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"636","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2958,"count":1}],"isBlockCoverage":true},{"functionName":"validateInputOptions","ranges":[{"startOffset":198,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"getInputSync","ranges":[{"startOffset":347,"endOffset":495,"count":0}],"isBlockCoverage":false},{"functionName":"handleInputSync","ranges":[{"startOffset":576,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getInput","ranges":[{"startOffset":769,"endOffset":921,"count":0}],"isBlockCoverage":false},{"functionName":"handleInput","ranges":[{"startOffset":999,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"makeAllStream","ranges":[{"startOffset":1270,"endOffset":1518,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedData","ranges":[{"startOffset":1632,"endOffset":1940,"count":0}],"isBlockCoverage":false},{"functionName":"getStreamPromise","ranges":[{"startOffset":1968,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedResult","ranges":[{"startOffset":2300,"endOffset":2956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"637","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1109,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":91,"endOffset":105,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":186,"endOffset":281,"count":3}],"isBlockCoverage":true},{"functionName":"mergePromise","ranges":[{"startOffset":376,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedPromise","ranges":[{"startOffset":835,"endOffset":1107,"count":0}],"isBlockCoverage":false}]},{"scriptId":"638","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/command.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3071,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeArgs","ranges":[{"startOffset":108,"endOffset":207,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArg","ranges":[{"startOffset":302,"endOffset":449,"count":0}],"isBlockCoverage":false},{"functionName":"joinCommand","ranges":[{"startOffset":479,"endOffset":530,"count":0}],"isBlockCoverage":false},{"functionName":"getEscapedCommand","ranges":[{"startOffset":566,"endOffset":644,"count":0}],"isBlockCoverage":false},{"functionName":"parseCommand","ranges":[{"startOffset":732,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"parseExpression","ranges":[{"startOffset":1209,"endOffset":1923,"count":0}],"isBlockCoverage":false},{"functionName":"concatTokens","ranges":[{"startOffset":1947,"endOffset":2173,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplate","ranges":[{"startOffset":2198,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplates","ranges":[{"startOffset":2865,"endOffset":3068,"count":0}],"isBlockCoverage":false}]},{"scriptId":"639","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/verbose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"padField","ranges":[{"startOffset":148,"endOffset":204,"count":0}],"isBlockCoverage":false},{"functionName":"getTimestamp","ranges":[{"startOffset":228,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"logCommand","ranges":[{"startOffset":442,"endOffset":573,"count":0}],"isBlockCoverage":false}]},{"scriptId":"640","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":263,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":15,"endOffset":262,"count":0}],"isBlockCoverage":false}]},{"scriptId":"641","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/main.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1214,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalsByName","ranges":[{"startOffset":134,"endOffset":226,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalByName","ranges":[{"startOffset":251,"endOffset":386,"count":69}],"isBlockCoverage":true},{"functionName":"getSignalsByNumber","ranges":[{"startOffset":465,"endOffset":652,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":559,"endOffset":609,"count":65}],"isBlockCoverage":true},{"functionName":"getSignalByNumber","ranges":[{"startOffset":679,"endOffset":939,"count":65},{"startOffset":771,"endOffset":784,"count":3},{"startOffset":784,"endOffset":938,"count":62}],"isBlockCoverage":true},{"functionName":"findSignalByNumber","ranges":[{"startOffset":969,"endOffset":1161,"count":65},{"startOffset":1083,"endOffset":1101,"count":31},{"startOffset":1101,"endOffset":1160,"count":34}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1015,"endOffset":1057,"count":2919}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1123,"endOffset":1157,"count":1881}],"isBlockCoverage":true}]},{"scriptId":"642","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":746,"count":1}],"isBlockCoverage":true},{"functionName":"isStream","ranges":[{"startOffset":7,"endOffset":132,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":141,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":332,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexStream","ranges":[{"startOffset":522,"endOffset":621,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":630,"endOffset":745,"count":0}],"isBlockCoverage":false}]},{"scriptId":"643","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/realtime.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":353,"count":1}],"isBlockCoverage":true},{"functionName":"getRealtimeSignals","ranges":[{"startOffset":33,"endOffset":121,"count":2}],"isBlockCoverage":true},{"functionName":"getRealtimeSignal","ranges":[{"startOffset":148,"endOffset":306,"count":62}],"isBlockCoverage":true}]},{"scriptId":"644","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1}],"isBlockCoverage":true},{"functionName":"getSignals","ranges":[{"startOffset":139,"endOffset":274,"count":2}],"isBlockCoverage":true},{"functionName":"normalizeSignal","ranges":[{"startOffset":305,"endOffset":602,"count":138},{"startOffset":504,"endOffset":519,"count":66},{"startOffset":519,"endOffset":533,"count":72}],"isBlockCoverage":true}]},{"scriptId":"645","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4126,"count":1}],"isBlockCoverage":true}]},{"scriptId":"646","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1}],"isBlockCoverage":true},{"functionName":"spawn","ranges":[{"startOffset":131,"endOffset":589,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":591,"endOffset":1038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"647","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3065,"count":1}],"isBlockCoverage":true},{"functionName":"detectShebang","ranges":[{"startOffset":354,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"parseNonShell","ranges":[{"startOffset":661,"endOffset":2367,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":2369,"endOffset":3039,"count":0}],"isBlockCoverage":false}]},{"scriptId":"648","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/resolveCommand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1557,"count":1}],"isBlockCoverage":true},{"functionName":"resolveCommandAttempt","ranges":[{"startOffset":118,"endOffset":1404,"count":0}],"isBlockCoverage":false},{"functionName":"resolveCommand","ranges":[{"startOffset":1406,"endOffset":1522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"649","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/which/which.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3163,"count":1},{"startOffset":177,"endOffset":182,"count":0}],"isBlockCoverage":true},{"functionName":"getNotFoundError","ranges":[{"startOffset":246,"endOffset":322,"count":0}],"isBlockCoverage":false},{"functionName":"getPathInfo","ranges":[{"startOffset":344,"endOffset":1152,"count":0}],"isBlockCoverage":false},{"functionName":"which","ranges":[{"startOffset":1168,"endOffset":2279,"count":0}],"isBlockCoverage":false},{"functionName":"whichSync","ranges":[{"startOffset":2299,"endOffset":3115,"count":0}],"isBlockCoverage":false}]},{"scriptId":"650","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1},{"startOffset":92,"endOffset":128,"count":0}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":211,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":930,"endOffset":1191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"651","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/mode.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":909,"count":1}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":66,"endOffset":197,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":199,"endOffset":279,"count":0}],"isBlockCoverage":false},{"functionName":"checkStat","ranges":[{"startOffset":281,"endOffset":370,"count":0}],"isBlockCoverage":false},{"functionName":"checkMode","ranges":[{"startOffset":372,"endOffset":908,"count":0}],"isBlockCoverage":false}]},{"scriptId":"652","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":415,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":31,"endOffset":304,"count":0}],"isBlockCoverage":false}]},{"scriptId":"653","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/escape.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"escapeCommand","ranges":[{"startOffset":121,"endOffset":241,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArgument","ranges":[{"startOffset":243,"endOffset":1088,"count":0}],"isBlockCoverage":false}]},{"scriptId":"654","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/readShebang.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":549,"count":1}],"isBlockCoverage":true},{"functionName":"readShebang","ranges":[{"startOffset":93,"endOffset":517,"count":0}],"isBlockCoverage":false}]},{"scriptId":"655","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-command/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":387,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":79,"endOffset":385,"count":0}],"isBlockCoverage":false}]},{"scriptId":"656","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":42,"count":1}],"isBlockCoverage":true}]},{"scriptId":"657","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/enoent.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1480,"count":1}],"isBlockCoverage":true},{"functionName":"notFoundError","ranges":[{"startOffset":60,"endOffset":358,"count":0}],"isBlockCoverage":false},{"functionName":"hookChildProcess","ranges":[{"startOffset":360,"endOffset":1023,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENT","ranges":[{"startOffset":1025,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENTSync","ranges":[{"startOffset":1197,"endOffset":1375,"count":0}],"isBlockCoverage":false}]},{"scriptId":"658","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5708,"count":1},{"startOffset":778,"endOffset":844,"count":0},{"startOffset":1059,"endOffset":1089,"count":0},{"startOffset":1144,"endOffset":1195,"count":0}],"isBlockCoverage":true},{"functionName":"processOk","ranges":[{"startOffset":293,"endOffset":677,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":799,"endOffset":842,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1703,"endOffset":2301,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2318,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2724,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3001,"endOffset":3890,"count":18}],"isBlockCoverage":true},{"functionName":"listener","ranges":[{"startOffset":3042,"endOffset":3886,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.signals","ranges":[{"startOffset":3920,"endOffset":3956,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":3993,"endOffset":4602,"count":0}],"isBlockCoverage":false},{"functionName":"processReallyExit","ranges":[{"startOffset":4712,"endOffset":5108,"count":0}],"isBlockCoverage":false},{"functionName":"processEmit","ranges":[{"startOffset":5171,"endOffset":5705,"count":0}],"isBlockCoverage":false}]},{"scriptId":"659","url":"node:assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31879,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadComparison","ranges":[{"startOffset":2704,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":3469,"endOffset":3517,"count":0}],"isBlockCoverage":false},{"functionName":"innerFail","ranges":[{"startOffset":4071,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":4348,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"findColumn","ranges":[{"startOffset":5445,"endOffset":6385,"count":0}],"isBlockCoverage":false},{"functionName":"getCode","ranges":[{"startOffset":6387,"endOffset":8032,"count":0}],"isBlockCoverage":false},{"functionName":"parseCode","ranges":[{"startOffset":8034,"endOffset":9451,"count":0}],"isBlockCoverage":false},{"functionName":"getErrMessage","ranges":[{"startOffset":9453,"endOffset":12547,"count":0}],"isBlockCoverage":false},{"functionName":"innerOk","ranges":[{"startOffset":12549,"endOffset":13157,"count":1},{"startOffset":12610,"endOffset":13155,"count":0}],"isBlockCoverage":true},{"functionName":"ok","ranges":[{"startOffset":13290,"endOffset":13351,"count":1}],"isBlockCoverage":true},{"functionName":"equal","ranges":[{"startOffset":13610,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"notEqual","ranges":[{"startOffset":14201,"endOffset":14577,"count":0}],"isBlockCoverage":false},{"functionName":"deepEqual","ranges":[{"startOffset":14777,"endOffset":15142,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepEqual","ranges":[{"startOffset":15348,"endOffset":15721,"count":0}],"isBlockCoverage":false},{"functionName":"deepStrictEqual","ranges":[{"startOffset":15964,"endOffset":16353,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepStrictEqual","ranges":[{"startOffset":16602,"endOffset":16999,"count":0}],"isBlockCoverage":false},{"functionName":"strictEqual","ranges":[{"startOffset":17204,"endOffset":17517,"count":0}],"isBlockCoverage":false},{"functionName":"notStrictEqual","ranges":[{"startOffset":17729,"endOffset":18050,"count":0}],"isBlockCoverage":false},{"functionName":"Comparison","ranges":[{"startOffset":18074,"endOffset":18456,"count":0}],"isBlockCoverage":false},{"functionName":"compareExceptionKey","ranges":[{"startOffset":18460,"endOffset":19179,"count":0}],"isBlockCoverage":false},{"functionName":"expectedException","ranges":[{"startOffset":19181,"endOffset":22585,"count":0}],"isBlockCoverage":false},{"functionName":"getActual","ranges":[{"startOffset":22587,"endOffset":22727,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsPromise","ranges":[{"startOffset":22729,"endOffset":23093,"count":0}],"isBlockCoverage":false},{"functionName":"waitForActual","ranges":[{"startOffset":23095,"endOffset":23809,"count":0}],"isBlockCoverage":false},{"functionName":"expectsError","ranges":[{"startOffset":23811,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"hasMatchingError","ranges":[{"startOffset":25430,"endOffset":26048,"count":0}],"isBlockCoverage":false},{"functionName":"expectsNoError","ranges":[{"startOffset":26050,"endOffset":26701,"count":0}],"isBlockCoverage":false},{"functionName":"throws","ranges":[{"startOffset":26859,"endOffset":26953,"count":0}],"isBlockCoverage":false},{"functionName":"rejects","ranges":[{"startOffset":27132,"endOffset":27244,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotThrow","ranges":[{"startOffset":27406,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotReject","ranges":[{"startOffset":27666,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"ifError","ranges":[{"startOffset":27906,"endOffset":29695,"count":0}],"isBlockCoverage":false},{"functionName":"internalMatch","ranges":[{"startOffset":29698,"endOffset":30781,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":30977,"endOffset":31069,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotMatch","ranges":[{"startOffset":31277,"endOffset":31383,"count":0}],"isBlockCoverage":false},{"functionName":"strict","ranges":[{"startOffset":31574,"endOffset":31643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"660","url":"node:internal/assert/assertion_error","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17104,"count":1}],"isBlockCoverage":false},{"functionName":"copyError","ranges":[{"startOffset":1449,"endOffset":1743,"count":0}],"isBlockCoverage":false},{"functionName":"inspectValue","ranges":[{"startOffset":1745,"endOffset":2353,"count":0}],"isBlockCoverage":false},{"functionName":"createErrDiff","ranges":[{"startOffset":2355,"endOffset":11091,"count":0}],"isBlockCoverage":false},{"functionName":"addEllipsis","ranges":[{"startOffset":11093,"endOffset":11396,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":11437,"endOffset":16133,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16137,"endOffset":16212,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16216,"endOffset":17067,"count":0}],"isBlockCoverage":false}]},{"scriptId":"661","url":"node:internal/util/colors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1122,"count":1}],"isBlockCoverage":false},{"functionName":"lazyInternalTTY","ranges":[{"startOffset":32,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"shouldColorize","ranges":[{"startOffset":244,"endOffset":504,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":508,"endOffset":1090,"count":1},{"startOffset":550,"endOffset":1086,"count":0}],"isBlockCoverage":true}]},{"scriptId":"662","url":"node:internal/assert/calltracker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3452,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":462,"endOffset":1495,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1497,"endOffset":3420,"count":0}],"isBlockCoverage":false}]},{"scriptId":"663","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1295,"count":1}],"isBlockCoverage":true}]},{"scriptId":"664","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1489,"count":1}],"isBlockCoverage":true},{"functionName":"MaxBufferError","ranges":[{"startOffset":292,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"getStream","ranges":[{"startOffset":377,"endOffset":1223,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.buffer","ranges":[{"startOffset":1277,"endOffset":1349,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.array","ranges":[{"startOffset":1374,"endOffset":1439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"665","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/buffer-stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":894,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":92,"endOffset":892,"count":0}],"isBlockCoverage":false}]},{"scriptId":"666","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":885,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":76,"endOffset":884,"count":0}],"isBlockCoverage":false}]},{"scriptId":"667","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/unit/input-test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3854,"count":1}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":70,"endOffset":151,"count":1},{"startOffset":122,"endOffset":127,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":476,"endOffset":659,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":730,"endOffset":922,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":994,"endOffset":1188,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1262,"endOffset":1454,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1526,"endOffset":1947,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2001,"endOffset":2145,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2205,"endOffset":2336,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2412,"endOffset":2555,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2619,"endOffset":2758,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2838,"endOffset":2989,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3048,"endOffset":3192,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3267,"endOffset":3423,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3485,"endOffset":3604,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3682,"endOffset":3813,"count":1}],"isBlockCoverage":true}]},{"scriptId":"668","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/entrypoints/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":66,"count":1}],"isBlockCoverage":true}]},{"scriptId":"669","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":277,"count":1}],"isBlockCoverage":true}]},{"scriptId":"670","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/guard-environment.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1},{"startOffset":271,"endOffset":602,"count":0}],"isBlockCoverage":true}]},{"scriptId":"671","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/input.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2004,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":197,"endOffset":1935,"count":14}],"isBlockCoverage":true},{"functionName":"FfmpegInput","ranges":[{"startOffset":290,"endOffset":687,"count":14},{"startOffset":353,"endOffset":397,"count":10},{"startOffset":399,"endOffset":453,"count":5}],"isBlockCoverage":true},{"functionName":"get isStream","ranges":[{"startOffset":692,"endOffset":776,"count":8}],"isBlockCoverage":true},{"functionName":"get isLocalFile","ranges":[{"startOffset":781,"endOffset":1082,"count":8},{"startOffset":859,"endOffset":885,"count":6},{"startOffset":887,"endOffset":924,"count":2},{"startOffset":924,"endOffset":1076,"count":6},{"startOffset":1040,"endOffset":1065,"count":4}],"isBlockCoverage":true},{"functionName":"#getSourceString","ranges":[{"startOffset":1087,"endOffset":1256,"count":6},{"startOffset":1153,"endOffset":1196,"count":5},{"startOffset":1196,"endOffset":1250,"count":1}],"isBlockCoverage":true},{"functionName":"#getOptions","ranges":[{"startOffset":1261,"endOffset":1751,"count":6},{"startOffset":1328,"endOffset":1384,"count":2},{"startOffset":1420,"endOffset":1464,"count":1},{"startOffset":1464,"endOffset":1556,"count":5},{"startOffset":1492,"endOffset":1556,"count":2},{"startOffset":1580,"endOffset":1646,"count":1},{"startOffset":1670,"endOffset":1721,"count":1}],"isBlockCoverage":true},{"functionName":"getFfmpegArguments","ranges":[{"startOffset":1756,"endOffset":1933,"count":6}],"isBlockCoverage":true}]},{"scriptId":"672","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1322,"count":1}],"isBlockCoverage":true}]},{"scriptId":"673","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/helpers/streams.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":475,"count":1}],"isBlockCoverage":true},{"functionName":"_read","ranges":[{"startOffset":251,"endOffset":262,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":376,"endOffset":388,"count":0}],"isBlockCoverage":false}]},{"scriptId":"674","url":"node:internal/util/iterable_weak_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1959,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":373,"endOffset":1819,"count":1}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":521,"endOffset":1033,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1037,"endOffset":1093,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":1097,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":1150,"endOffset":1388,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1392,"endOffset":1817,"count":1}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":1484,"endOffset":1736,"count":1},{"startOffset":1567,"endOffset":1735,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1758,"endOffset":1793,"count":0}],"isBlockCoverage":false},{"functionName":"cleanup","ranges":[{"startOffset":1821,"endOffset":1874,"count":0}],"isBlockCoverage":false}]}],"timestamp":85118.375566,"source-map-cache":{"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js":{"lineLengths":[13,7,62,74,65,63,53,60,45,115,43,34,51,41,47,46,41,38,37,55,26,64,27,15,15,25,20,6,17,22,17,6,14,23,19,35,40,9,52,24,28,30,32,11,5,16,36,5,28,40,35,29,23,19,9,28,43,28,9,14,30,9,5,28,31,25,9,32,24,46,51,9,28,62,9,19,5,1,22,1,37,12,26,44,10,16,34,10,18,36,10,6,2,49,14,25,5,14,16,1,41,52,40,25,65,24,29,13,25,31,23,20,26,16,32,43,32,49,45,70,71,69,35,63,46,83,84,82,82,81,27,37,34,68,74,61,17,36,49,34,70,41,68,29,53,40,17,14,9,61,49,5,22,29,40,29,9,28,37,24,9,59,33,22,49,63,68,30,13,10,5,12,27,19,9,28,65,68,68,35,33,49,17,51,23,46,13,25,9,44,47,10,46,49,10,5,14,28,19,9,29,45,53,33,28,75,13,32,17,60,37,13,25,32,11,55,67,33,5,30,29,40,21,9,43,28,65,91,5,31,45,56,46,49,37,13,33,60,33,69,32,23,9,14,55,9,5,1,35,65,25,94,3,67,39,2,68,29,2,61,3,28,3,66,66,45,2,12,3,24,3,68,66,45,2,12,3,27,33],"data":{"version":3,"file":"index.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/index.ts"],"names":[],"mappings":";;;;AAAA,iEAAiE;AACjE,+DAA+D;AAC/D,qDAAqD;AACrD,4DAA4D;AAC5D,6CAAsC;AAC7B,wFADA,oBAAO,OACA;AAQhB,MAAM,SAAS,GAAG,CAAC,OAAY,EAAwB,EAAE,CACvD,CAAC,CAAC,OAAO;IACT,OAAO,OAAO,KAAK,QAAQ;IAC3B,OAAO,OAAO,CAAC,cAAc,KAAK,UAAU;IAC5C,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,UAAU,KAAK,UAAU;IACxC,OAAO,OAAO,CAAC,SAAS,KAAK,UAAU;IACvC,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,GAAG,KAAK,QAAQ;IAC/B,OAAO,OAAO,CAAC,EAAE,KAAK,UAAU,CAAA;AAElC,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;AACtD,MAAM,MAAM,GAAqD,UAAU,CAAA;AAC3E,MAAM,oBAAoB,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;AAwB/D,2BAA2B;AAC3B,MAAM,OAAO;IACX,OAAO,GAAY;QACjB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,KAAK;KACZ,CAAA;IAED,SAAS,GAAc;QACrB,SAAS,EAAE,EAAE;QACb,IAAI,EAAE,EAAE;KACT,CAAA;IAED,KAAK,GAAW,CAAC,CAAA;IACjB,EAAE,GAAW,IAAI,CAAC,MAAM,EAAE,CAAA;IAE1B;QACE,IAAI,MAAM,CAAC,YAAY,CAAC,EAAE;YACxB,OAAO,MAAM,CAAC,YAAY,CAAC,CAAA;SAC5B;QACD,oBAAoB,CAAC,MAAM,EAAE,YAAY,EAAE;YACzC,KAAK,EAAE,IAAI;YACX,QAAQ,EAAE,KAAK;YACf,UAAU,EAAE,KAAK;YACjB,YAAY,EAAE,KAAK;SACpB,CAAC,CAAA;IACJ,CAAC;IAED,EAAE,CAAC,EAAa,EAAE,EAAW;QAC3B,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC7B,CAAC;IAED,cAAc,CAAC,EAAa,EAAE,EAAW;QACvC,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;QAC/B,MAAM,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;QAC1B,qBAAqB;QACrB,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE;YACZ,OAAM;SACP;QACD,oBAAoB;QACpB,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;YAChC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAA;SAChB;aAAM;YACL,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;SAClB;IACH,CAAC;IAED,IAAI,CACF,EAAa,EACb,IAA+B,EAC/B,MAA6B;QAE7B,IAAI,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;YACpB,OAAO,KAAK,CAAA;SACb;QACD,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,IAAI,CAAA;QACvB,IAAI,GAAG,GAAY,KAAK,CAAA;QACxB,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE;YACnC,GAAG,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,IAAI,IAAI,GAAG,CAAA;SACvC;QACD,IAAI,EAAE,KAAK,MAAM,EAAE;YACjB,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,GAAG,CAAA;SAClD;QACD,OAAO,GAAG,CAAA;IACZ,CAAC;CACF;AAED,MAAe,cAAc;CAI5B;AAED,MAAM,cAAc,GAAG,CAA2B,OAAU,EAAE,EAAE;IAC9D,OAAO;QACL,MAAM,CAAC,EAAW,EAAE,IAA+B;YACjD,OAAO,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;QACjC,CAAC;QACD,IAAI;YACF,OAAO,OAAO,CAAC,IAAI,EAAE,CAAA;QACvB,CAAC;QACD,MAAM;YACJ,OAAO,OAAO,CAAC,MAAM,EAAE,CAAA;QACzB,CAAC;KACF,CAAA;AACH,CAAC,CAAA;AAED,MAAM,kBAAmB,SAAQ,cAAc;IAC7C,MAAM;QACJ,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;IACjB,CAAC;IACD,IAAI,KAAI,CAAC;IACT,MAAM,KAAI,CAAC;CACZ;AAED,MAAM,UAAW,SAAQ,cAAc;IACrC,gDAAgD;IAChD,oCAAoC;IACpC,qBAAqB;IACrB,OAAO,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC5D,oBAAoB;IACpB,QAAQ,GAAG,IAAI,OAAO,EAAE,CAAA;IACxB,QAAQ,CAAW;IACnB,oBAAoB,CAAmB;IACvC,0BAA0B,CAAyB;IAEnD,aAAa,GAA2C,EAAE,CAAA;IAC1D,OAAO,GAAY,KAAK,CAAA;IAExB,YAAY,OAAkB;QAC5B,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAA;QACvB,mCAAmC;QACnC,IAAI,CAAC,aAAa,GAAG,EAAE,CAAA;QACvB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,GAAG,EAAE;gBAC7B,sDAAsD;gBACtD,uDAAuD;gBACvD,qDAAqD;gBACrD,mBAAmB;gBACnB,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;gBAC9C,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAA;gBAC7B,mEAAmE;gBACnE,oEAAoE;gBACpE,kEAAkE;gBAClE,kEAAkE;gBAClE,iEAAiE;gBACjE,WAAW;gBACX,qBAAqB;gBACrB,MAAM,CAAC,GAAG,OAET,CAAA;gBACD,IACE,OAAO,CAAC,CAAC,uBAAuB,KAAK,QAAQ;oBAC7C,OAAO,CAAC,CAAC,uBAAuB,CAAC,KAAK,KAAK,QAAQ,EACnD;oBACA,KAAK,IAAI,CAAC,CAAC,uBAAuB,CAAC,KAAK,CAAA;iBACzC;gBACD,oBAAoB;gBACpB,IAAI,SAAS,CAAC,MAAM,KAAK,KAAK,EAAE;oBAC9B,IAAI,CAAC,MAAM,EAAE,CAAA;oBACb,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,CAAA;oBACjD,qBAAqB;oBACrB,MAAM,CAAC,GAAG,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAA;oBAC/C,IAAI,CAAC,GAAG;wBAAE,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;oBACtC,oBAAoB;iBACrB;YACH,CAAC,CAAA;SACF;QAED,IAAI,CAAC,0BAA0B,GAAG,OAAO,CAAC,UAAU,CAAA;QACpD,IAAI,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAA;IAC1C,CAAC;IAED,MAAM,CAAC,EAAW,EAAE,IAA+B;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;SAChB;QACD,oBAAoB;QAEpB,IAAI,IAAI,CAAC,OAAO,KAAK,KAAK,EAAE;YAC1B,IAAI,CAAC,IAAI,EAAE,CAAA;SACZ;QAED,MAAM,EAAE,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAA;QAClD,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;QACxB,OAAO,GAAG,EAAE;YACV,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;YACpC,IACE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC;gBAC5C,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,MAAM,KAAK,CAAC,EACjD;gBACA,IAAI,CAAC,MAAM,EAAE,CAAA;aACd;QACH,CAAC,CAAA;IACH,CAAC;IAED,IAAI;QACF,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;QAEnB,yDAAyD;QACzD,4DAA4D;QAC5D,4DAA4D;QAC5D,2BAA2B;QAC3B,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;QAExB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI;gBACF,MAAM,EAAE,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;gBAClC,IAAI,EAAE;oBAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;aAClC;YAAC,OAAO,CAAC,EAAE,GAAE;SACf;QAED,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,EAAU,EAAE,GAAG,CAAQ,EAAE,EAAE;YAC/C,OAAO,IAAI,CAAC,YAAY,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,CAAA;QACpC,CAAC,CAAA;QACD,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,CAAC,IAAgC,EAAE,EAAE;YAC9D,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAA;QACtC,CAAC,CAAA;IACH,CAAC;IAED,MAAM;QACJ,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACjB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QAEpB,oBAAO,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACpB,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;YACxC,qBAAqB;YACrB,IAAI,CAAC,QAAQ,EAAE;gBACb,MAAM,IAAI,KAAK,CAAC,mCAAmC,GAAG,GAAG,CAAC,CAAA;aAC3D;YACD,oBAAoB;YACpB,IAAI;gBACF,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;gBAC3C,qBAAqB;aACtB;YAAC,OAAO,CAAC,EAAE,GAAE;YACd,oBAAoB;QACtB,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC,oBAAoB,CAAA;QAC9C,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,IAAI,CAAC,0BAA0B,CAAA;QAC1D,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;IAC1B,CAAC;IAED,kBAAkB,CAAC,IAAgC;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,CAAC,CAAA;SACT;QACD,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,IAAI,CAAC,CAAA;QAClC,oBAAoB;QAEpB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;QACxD,OAAO,IAAI,CAAC,0BAA0B,CAAC,IAAI,CACzC,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,QAAQ,CAAC,QAAQ,CACvB,CAAA;IACH,CAAC;IAED,YAAY,CAAC,EAAU,EAAE,GAAG,IAAW;QACrC,MAAM,EAAE,GAAG,IAAI,CAAC,oBAAoB,CAAA;QACpC,IAAI,EAAE,KAAK,MAAM,IAAI,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7C,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE;gBAC/B,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;gBAChC,qBAAqB;aACtB;YACD,qBAAqB;YACrB,MAAM,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;YAC/C,qBAAqB;YACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;YACxD,oBAAoB;YACpB,OAAO,GAAG,CAAA;SACX;aAAM;YACL,OAAO,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;SAC3C;IACH,CAAC;CACF;AAED,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAA;AAClC,iEAAiE;AACjE,yBAAyB;AACZ,KA6BT,cAAc,CAChB,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,kBAAkB,EAAE,CACxE;AA9BC;;;;;;;;GAQG;AACH,cAAM;AAEN;;;;;;GAMG;AACH,YAAI;AAEJ;;;;;;GAMG;AACH,cAAM,aAGP","sourcesContent":["// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nimport { signals } from './signals.js'\nexport { signals }\n\n// just a loosened process type so we can do some evil things\ntype ProcessRE = NodeJS.Process & {\n reallyExit: (code?: number | undefined | null) => any\n emit: (ev: string, ...a: any[]) => any\n}\n\nconst processOk = (process: any): process is ProcessRE =>\n !!process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n\nconst kExitEmitter = Symbol.for('signal-exit emitter')\nconst global: typeof globalThis & { [kExitEmitter]?: Emitter } = globalThis\nconst ObjectDefineProperty = Object.defineProperty.bind(Object)\n\n/**\n * A function that takes an exit code and signal as arguments\n *\n * In the case of signal exits *only*, a return value of true\n * will indicate that the signal is being handled, and we should\n * not synthetically exit with the signal we received. Regardless\n * of the handler return value, the handler is unloaded when an\n * otherwise fatal signal is received, so you get exactly 1 shot\n * at it, unless you add another onExit handler at that point.\n *\n * In the case of numeric code exits, we may already have committed\n * to exiting the process, for example via a fatal exception or\n * unhandled promise rejection, so it is impossible to stop safely.\n */\nexport type Handler = (\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n) => true | void\ntype ExitEvent = 'afterExit' | 'exit'\ntype Emitted = { [k in ExitEvent]: boolean }\ntype Listeners = { [k in ExitEvent]: Handler[] }\n\n// teeny special purpose ee\nclass Emitter {\n emitted: Emitted = {\n afterExit: false,\n exit: false,\n }\n\n listeners: Listeners = {\n afterExit: [],\n exit: [],\n }\n\n count: number = 0\n id: number = Math.random()\n\n constructor() {\n if (global[kExitEmitter]) {\n return global[kExitEmitter]\n }\n ObjectDefineProperty(global, kExitEmitter, {\n value: this,\n writable: false,\n enumerable: false,\n configurable: false,\n })\n }\n\n on(ev: ExitEvent, fn: Handler) {\n this.listeners[ev].push(fn)\n }\n\n removeListener(ev: ExitEvent, fn: Handler) {\n const list = this.listeners[ev]\n const i = list.indexOf(fn)\n /* c8 ignore start */\n if (i === -1) {\n return\n }\n /* c8 ignore stop */\n if (i === 0 && list.length === 1) {\n list.length = 0\n } else {\n list.splice(i, 1)\n }\n }\n\n emit(\n ev: ExitEvent,\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n ): boolean {\n if (this.emitted[ev]) {\n return false\n }\n this.emitted[ev] = true\n let ret: boolean = false\n for (const fn of this.listeners[ev]) {\n ret = fn(code, signal) === true || ret\n }\n if (ev === 'exit') {\n ret = this.emit('afterExit', code, signal) || ret\n }\n return ret\n }\n}\n\nabstract class SignalExitBase {\n abstract onExit(cb: Handler, opts?: { alwaysLast?: boolean }): () => void\n abstract load(): void\n abstract unload(): void\n}\n\nconst signalExitWrap = (handler: T) => {\n return {\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n return handler.onExit(cb, opts)\n },\n load() {\n return handler.load()\n },\n unload() {\n return handler.unload()\n },\n }\n}\n\nclass SignalExitFallback extends SignalExitBase {\n onExit() {\n return () => {}\n }\n load() {}\n unload() {}\n}\n\nclass SignalExit extends SignalExitBase {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n /* c8 ignore start */\n #hupSig = process.platform === 'win32' ? 'SIGINT' : 'SIGHUP'\n /* c8 ignore stop */\n #emitter = new Emitter()\n #process: ProcessRE\n #originalProcessEmit: ProcessRE['emit']\n #originalProcessReallyExit: ProcessRE['reallyExit']\n\n #sigListeners: { [k in NodeJS.Signals]?: () => void } = {}\n #loaded: boolean = false\n\n constructor(process: ProcessRE) {\n super()\n this.#process = process\n // { : , ... }\n this.#sigListeners = {}\n for (const sig of signals) {\n this.#sigListeners[sig] = () => {\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n const listeners = this.#process.listeners(sig)\n let { count } = this.#emitter\n // This is a workaround for the fact that signal-exit v3 and signal\n // exit v4 are not aware of each other, and each will attempt to let\n // the other handle it, so neither of them do. To correct this, we\n // detect if we're the only handler *except* for previous versions\n // of signal-exit, and increment by the count of listeners it has\n // created.\n /* c8 ignore start */\n const p = process as unknown as {\n __signal_exit_emitter__?: { count: number }\n }\n if (\n typeof p.__signal_exit_emitter__ === 'object' &&\n typeof p.__signal_exit_emitter__.count === 'number'\n ) {\n count += p.__signal_exit_emitter__.count\n }\n /* c8 ignore stop */\n if (listeners.length === count) {\n this.unload()\n const ret = this.#emitter.emit('exit', null, sig)\n /* c8 ignore start */\n const s = sig === 'SIGHUP' ? this.#hupSig : sig\n if (!ret) process.kill(process.pid, s)\n /* c8 ignore stop */\n }\n }\n }\n\n this.#originalProcessReallyExit = process.reallyExit\n this.#originalProcessEmit = process.emit\n }\n\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return () => {}\n }\n /* c8 ignore stop */\n\n if (this.#loaded === false) {\n this.load()\n }\n\n const ev = opts?.alwaysLast ? 'afterExit' : 'exit'\n this.#emitter.on(ev, cb)\n return () => {\n this.#emitter.removeListener(ev, cb)\n if (\n this.#emitter.listeners['exit'].length === 0 &&\n this.#emitter.listeners['afterExit'].length === 0\n ) {\n this.unload()\n }\n }\n }\n\n load() {\n if (this.#loaded) {\n return\n }\n this.#loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n this.#emitter.count += 1\n\n for (const sig of signals) {\n try {\n const fn = this.#sigListeners[sig]\n if (fn) this.#process.on(sig, fn)\n } catch (_) {}\n }\n\n this.#process.emit = (ev: string, ...a: any[]) => {\n return this.#processEmit(ev, ...a)\n }\n this.#process.reallyExit = (code?: number | null | undefined) => {\n return this.#processReallyExit(code)\n }\n }\n\n unload() {\n if (!this.#loaded) {\n return\n }\n this.#loaded = false\n\n signals.forEach(sig => {\n const listener = this.#sigListeners[sig]\n /* c8 ignore start */\n if (!listener) {\n throw new Error('Listener not defined for signal: ' + sig)\n }\n /* c8 ignore stop */\n try {\n this.#process.removeListener(sig, listener)\n /* c8 ignore start */\n } catch (_) {}\n /* c8 ignore stop */\n })\n this.#process.emit = this.#originalProcessEmit\n this.#process.reallyExit = this.#originalProcessReallyExit\n this.#emitter.count -= 1\n }\n\n #processReallyExit(code?: number | null | undefined) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return 0\n }\n this.#process.exitCode = code || 0\n /* c8 ignore stop */\n\n this.#emitter.emit('exit', this.#process.exitCode, null)\n return this.#originalProcessReallyExit.call(\n this.#process,\n this.#process.exitCode\n )\n }\n\n #processEmit(ev: string, ...args: any[]): any {\n const og = this.#originalProcessEmit\n if (ev === 'exit' && processOk(this.#process)) {\n if (typeof args[0] === 'number') {\n this.#process.exitCode = args[0]\n /* c8 ignore start */\n }\n /* c8 ignore start */\n const ret = og.call(this.#process, ev, ...args)\n /* c8 ignore start */\n this.#emitter.emit('exit', this.#process.exitCode, null)\n /* c8 ignore stop */\n return ret\n } else {\n return og.call(this.#process, ev, ...args)\n }\n }\n}\n\nconst process = globalThis.process\n// wrap so that we call the method on the actual handler, without\n// exporting it directly.\nexport const {\n /**\n * Called when the process is exiting, whether via signal, explicit\n * exit, or running out of stuff to do.\n *\n * If the global process object is not suitable for instrumentation,\n * then this will be a no-op.\n *\n * Returns a function that may be used to unload signal-exit.\n */\n onExit,\n\n /**\n * Load the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n load,\n\n /**\n * Unload the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n unload,\n} = signalExitWrap(\n processOk(process) ? new SignalExit(process) : new SignalExitFallback()\n)\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js":{"lineLengths":[13,62,25,3,47,2,54,54,53,55,28,2,55,54,52,2,54,49,2,56,52,55,36,2,54,50,54,13,3,21,52,35,133,61,14,16,6,1,35,68,1,35],"data":{"version":3,"file":"signals.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/signals.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACU,QAAA,OAAO,GAAqB,EAAE,CAAA;AAC3C,eAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAA;AAE3C,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CACV,SAAS,EACT,SAAS,EACT,WAAW,EACX,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,EACR,SAAS,EACT,QAAQ;IACR,yDAAyD;IACzD,UAAU;IACV,YAAY;KACb,CAAA;CACF;AAED,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAA;CACxD","sourcesContent":["/**\n * This is not the set of all possible signals.\n *\n * It IS, however, the set of all signals that trigger\n * an exit on either Linux or BSD systems. Linux is a\n * superset of the signal names supported on BSD, and\n * the unknown signals just fail to register, so we can\n * catch that easily enough.\n *\n * Windows signals are a different set, since there are\n * signals that terminate Windows processes, but don't\n * terminate (or don't even exist) on Posix systems.\n *\n * Don't bother with SIGKILL. It's uncatchable, which\n * means that we can't fire any callbacks anyway.\n *\n * If a user does happen to register a handler on a non-\n * fatal signal like SIGWINCH or something, and then\n * exit, it'll end up firing `process.emit('exit')`, so\n * the handler will be fired anyway.\n *\n * SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n * artificially, inherently leave the process in a\n * state from which it is not safe to try and enter JS\n * listeners.\n */\nexport const signals: NodeJS.Signals[] = []\nsignals.push('SIGHUP', 'SIGINT', 'SIGTERM')\n\nif (process.platform !== 'win32') {\n signals.push(\n 'SIGALRM',\n 'SIGABRT',\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n signals.push('SIGIO', 'SIGPOLL', 'SIGPWR', 'SIGSTKFLT')\n}\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/unit/input-test.js":{"lineLengths":[13,72,62,2,62,46,43,48,50,77,41,34,7,87,3,76,41,25,21,7,83,3,77,41,25,16,7,90,3,79,41,23,26,7,80,3,77,41,35,30,17,18,18,7,45,13,22,13,14,14,14,16,12,13,26,24,3,59,60,72,3,65,60,30,28,3,81,72,30,28,3,69,68,30,28,3,85,80,30,28,3,64,72,31,28,3,80,84,31,28,3,67,48,31,27,3,83,60,31,27,3,38],"data":{"version":3,"file":"input-test.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/tests/unit/input-test.ts"],"names":[],"mappings":";;;;;AAAA,8CAAsB;AAEtB,2CAA6C;AAC7C,gDAAuD;AAEvD,MAAM,MAAM,GAAG,IAAI,4BAAkB,EAAE,CAAA;AAEvC,IAAA,aAAI,EAAC,gDAAgD,EAAE,CAAC,CAAC,EAAE,EAAE;IAC3D,IAAI,KAAK,GAAG,IAAI,mBAAW,CAAC;QAC1B,MAAM,EAAE,kBAAkB;KAC3B,CAAC,CAAA;IAEF,CAAC,CAAC,SAAS,CACT,KAAK,CAAC,kBAAkB,EAAE,EAC1B,CAAC,IAAI,EAAE,kBAAkB,CAAC,EAC1B,aAAa,CACd,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,+CAA+C,EAAE,CAAC,CAAC,EAAE,EAAE;IAC1D,IAAI,KAAK,GAAG,IAAI,mBAAW,CAAC;QAC1B,MAAM,EAAE,QAAQ;QAChB,GAAG,EAAE,QAAQ;KACd,CAAC,CAAA;IAEF,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,kBAAkB,EAAE,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,QAAQ,CAAC,EAAE,YAAY,CAAC,CAAA;AAChF,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,gDAAgD,EAAE,CAAC,CAAC,EAAE,EAAE;IAC3D,IAAI,KAAK,GAAG,IAAI,mBAAW,CAAC;QAC1B,MAAM,EAAE,QAAQ;QAChB,GAAG,EAAE,GAAG;KACT,CAAC,CAAA;IAEF,CAAC,CAAC,SAAS,CACT,KAAK,CAAC,kBAAkB,EAAE,EAC1B,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,CAAC,EAC7B,aAAa,CACd,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,kDAAkD,EAAE,CAAC,CAAC,EAAE,EAAE;IAC7D,IAAI,KAAK,GAAG,IAAI,mBAAW,CAAC;QAC1B,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,UAAU;KACnB,CAAC,CAAA;IAEF,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,kBAAkB,EAAE,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAA;AAC7E,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,gDAAgD,EAAE,CAAC,CAAC,EAAE,EAAE;IAC3D,IAAI,KAAK,GAAG,IAAI,mBAAW,CAAC;QAC1B,MAAM,EAAE,kBAAkB;QAC1B,MAAM,EAAE,aAAa;QACrB,GAAG,EAAE,GAAG;QACR,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,IAAI;KACX,CAAC,CAAA;IAEF,CAAC,CAAC,SAAS,CACT,KAAK,CAAC,kBAAkB,EAAE,EAC1B;QACE,IAAI;QACJ,aAAa;QACb,IAAI;QACJ,KAAK;QACL,KAAK;QACL,KAAK;QACL,OAAO;QACP,GAAG;QACH,IAAI;QACJ,kBAAkB;KACnB,EACD,eAAe,CAChB,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,8BAA8B,EAAE,CAAC,CAAC,EAAE,EAAE;IACzC,IAAI,KAAK,GAAG,IAAI,mBAAW,CAAC,kBAAkB,CAAC,CAAA;IAE/C,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,kBAAkB,EAAE,EAAE,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC,CAAA;AACrE,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,oCAAoC,EAAE,CAAC,CAAC,EAAE,EAAE;IAC/C,IAAI,KAAK,GAAG,IAAI,mBAAW,CAAC,kBAAkB,CAAC,CAAA;IAE/C,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAA;IACzB,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;AACzB,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,oDAAoD,EAAE,CAAC,CAAC,EAAE,EAAE;IAC/D,IAAI,KAAK,GAAG,IAAI,mBAAW,CAAC,EAAE,MAAM,EAAE,kBAAkB,EAAE,CAAC,CAAA;IAE3D,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAA;IACzB,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;AACzB,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,wCAAwC,EAAE,CAAC,CAAC,EAAE,EAAE;IACnD,IAAI,KAAK,GAAG,IAAI,mBAAW,CAAC,0BAA0B,CAAC,CAAA;IAEvD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAA;IACzB,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;AACzB,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,wDAAwD,EAAE,CAAC,CAAC,EAAE,EAAE;IACnE,IAAI,KAAK,GAAG,IAAI,mBAAW,CAAC,EAAE,MAAM,EAAE,0BAA0B,EAAE,CAAC,CAAA;IAEnE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAA;IACzB,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;AACzB,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,mCAAmC,EAAE,CAAC,CAAC,EAAE,EAAE;IAC9C,IAAI,KAAK,GAAG,IAAI,mBAAW,CAAC,8BAA8B,CAAC,CAAA;IAE3D,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,CAAA;IAC1B,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;AACzB,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,mDAAmD,EAAE,CAAC,CAAC,EAAE,EAAE;IAC9D,IAAI,KAAK,GAAG,IAAI,mBAAW,CAAC,EAAE,MAAM,EAAE,8BAA8B,EAAE,CAAC,CAAA;IAEvE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,CAAA;IAC1B,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;AACzB,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,sCAAsC,EAAE,CAAC,CAAC,EAAE,EAAE;IACjD,IAAI,KAAK,GAAG,IAAI,mBAAW,CAAC,MAAM,CAAC,CAAA;IAEnC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,CAAA;IAC1B,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;AACxB,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,sDAAsD,EAAE,CAAC,CAAC,EAAE,EAAE;IACjE,IAAI,KAAK,GAAG,IAAI,mBAAW,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;IAE/C,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,CAAA;IAC1B,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;AACxB,CAAC,CAAC,CAAA"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/input.js":{"lineLengths":[13,62,29,45,43,19,11,11,8,9,9,15,26,87,42,9,37,37,31,33,33,51,5,20,61,5,23,87,25,9,14,70,55,9,5,24,46,31,9,14,28,9,5,19,25,26,44,9,36,32,9,28,52,9,24,54,9,24,39,9,23,5,26,16,34,31,17,35,10,5,1,34,33],"data":{"version":3,"file":"input.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/input.ts"],"names":[],"mappings":";;;AAAA,6CAAsC;AAEtC,2CAA+C;AAe/C,MAAa,WAAW;IACtB,MAAM,CAAa;IACnB,MAAM,CAAS;IACf,GAAG,CAAoB;IACvB,IAAI,CAAkB;IACtB,IAAI,CAAU;IACd,UAAU,CAAU;IAEpB,YAAY,OAAwB;QAClC,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,YAAY,sBAAQ,EAAE;YAC9D,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,CAAA;SAC9B;QAED,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAA;QAC5B,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAA;QAC5B,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAA;QACtB,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;QACxB,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;QACxB,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,EAAE,CAAA;IAC5C,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,MAAM,YAAY,sBAAQ,CAAA;IACxC,CAAC;IAED,IAAI,WAAW;QACb,IAAI,IAAI,CAAC,MAAM,YAAY,sBAAQ,IAAI,IAAI,CAAC,MAAM,KAAK,OAAO,EAAE;YAC9D,OAAO,KAAK,CAAA;SACb;aAAM;YACL,IAAI,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,uBAAc,CAAC,CAAA;YAChD,OAAO,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,CAAC,KAAK,MAAM,CAAA;SAC3C;IACH,CAAC;IAED,gBAAgB;QACd,IAAI,OAAO,IAAI,CAAC,MAAM,KAAK,QAAQ,EAAE;YACnC,OAAO,IAAI,CAAC,MAAM,CAAA;SACnB;aAAM;YACL,OAAO,QAAQ,CAAA;SAChB;IACH,CAAC;IAED,WAAW;QACT,IAAI,OAAO,GAAa,EAAE,CAAA;QAE1B,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAA;SAChC;QAED,IAAI,IAAI,CAAC,GAAG,KAAK,QAAQ,EAAE;YACzB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;SACpB;aAAM,IAAI,IAAI,CAAC,GAAG,EAAE;YACnB,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAA;SACxC;QAED,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAA;SAC1C;QAED,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,CAAC,CAAA;SAC3B;QAED,OAAO,OAAO,CAAA;IAChB,CAAC;IAED,kBAAkB;QAChB,OAAO;YACL,GAAG,IAAI,CAAC,WAAW,EAAE;YACrB,GAAG,IAAI,CAAC,UAAU;YAClB,IAAI;YACJ,IAAI,CAAC,gBAAgB,EAAE;SACxB,CAAA;IACH,CAAC;CACF;AA1ED,kCA0EC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/regexp.js":{"lineLengths":[13,62,380,42,33,53,46,42,42,42,72,60,91,57,57,89,90,34],"data":{"version":3,"file":"regexp.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/regexp.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG,gBAAgB,CAAA;AAEjC,QAAA,QAAQ,GAAG,aAAa,CAAA;AAExB,QAAA,gBAAgB,GAAG,yBAAyB,CAAA;AAC5C,QAAA,cAAc,GAAG,oBAAoB,CAAA;AACrC,QAAA,gBAAgB,GAAG,cAAc,CAAA;AACjC,QAAA,gBAAgB,GAAG,cAAc,CAAA;AACjC,QAAA,iBAAiB,GAAG,aAAa,CAAA;AACjC,QAAA,cAAc,GAAG,8CAA8C,CAAA;AAE/D,QAAA,eAAe,GAAG,iCAAiC,CAAA;AACnD,QAAA,cAAc,GACzB,iEAAiE,CAAA;AACtD,QAAA,sBAAsB,GAAG,uBAAuB,CAAA;AAChD,QAAA,sBAAsB,GAAG,uBAAuB,CAAA;AAChD,QAAA,eAAe,GAC1B,8DAA8D,CAAA;AACnD,QAAA,gBAAgB,GAC3B,8DAA8D,CAAA"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/helpers/streams.js":{"lineLengths":[13,62,65,45,57,15,1,48,57,16,1,48,35],"data":{"version":3,"file":"streams.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/tests/helpers/streams.ts"],"names":[],"mappings":";;;AAAA,6CAAgD;AAEhD,MAAa,kBAAmB,SAAQ,sBAAQ;IAC9C,KAAK,KAAI,CAAC;CACX;AAFD,gDAEC;AAED,MAAa,kBAAmB,SAAQ,sBAAQ;IAC9C,MAAM,KAAI,CAAC;CACZ;AAFD,gDAEC"},"url":null,"sourceURL":null}}} \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761265-6.json b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761265-6.json new file mode 100644 index 0000000..1e134a9 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761265-6.json @@ -0,0 +1 @@ +{"result":[{"scriptId":"78","url":"node:internal/per_context/primordials","functions":[{"functionName":"SafeIterator","ranges":[{"startOffset":9499,"endOffset":9570,"count":142}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":9575,"endOffset":9624,"count":714}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9629,"endOffset":9674,"count":85}],"isBlockCoverage":true},{"functionName":"desc.value","ranges":[{"startOffset":11239,"endOffset":11306,"count":57}],"isBlockCoverage":true},{"functionName":"SafeMap","ranges":[{"startOffset":11964,"endOffset":11992,"count":511}],"isBlockCoverage":false},{"functionName":"SafeWeakMap","ranges":[{"startOffset":12136,"endOffset":12164,"count":10}],"isBlockCoverage":false},{"functionName":"SafeSet","ranges":[{"startOffset":12293,"endOffset":12321,"count":513}],"isBlockCoverage":false},{"functionName":"SafeWeakSet","ranges":[{"startOffset":12465,"endOffset":12493,"count":1}],"isBlockCoverage":true},{"functionName":"SafeFinalizationRegistry","ranges":[{"startOffset":12745,"endOffset":12801,"count":3}],"isBlockCoverage":true},{"functionName":"SafeWeakRef","ranges":[{"startOffset":12954,"endOffset":12992,"count":5}],"isBlockCoverage":true},{"functionName":"SafePromise","ranges":[{"startOffset":13140,"endOffset":13182,"count":348}],"isBlockCoverage":true},{"functionName":"primordials.SafePromisePrototypeFinally","ranges":[{"startOffset":13686,"endOffset":13960,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13831,"endOffset":13955,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13861,"endOffset":13910,"count":58}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnArrayLike","ranges":[{"startOffset":15280,"endOffset":15836,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15315,"endOffset":15835,"count":97},{"startOffset":15485,"endOffset":15504,"count":62},{"startOffset":15577,"endOffset":15831,"count":158},{"startOffset":15615,"endOffset":15638,"count":0},{"startOffset":15831,"endOffset":15834,"count":158}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15706,"endOffset":15815,"count":158},{"startOffset":15788,"endOffset":15807,"count":35}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnVoid","ranges":[{"startOffset":16178,"endOffset":16580,"count":203}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16213,"endOffset":16579,"count":203},{"startOffset":16310,"endOffset":16320,"count":133},{"startOffset":16367,"endOffset":16575,"count":316},{"startOffset":16405,"endOffset":16428,"count":158},{"startOffset":16429,"endOffset":16442,"count":158},{"startOffset":16575,"endOffset":16578,"count":316}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16496,"endOffset":16559,"count":316},{"startOffset":16541,"endOffset":16551,"count":70}],"isBlockCoverage":true}]},{"scriptId":"80","url":"node:internal/per_context/messageport","functions":[{"functionName":"exports.emitMessage","ranges":[{"startOffset":407,"endOffset":993,"count":4},{"startOffset":683,"endOffset":991,"count":0}],"isBlockCoverage":true}]},{"scriptId":"81","url":"node:internal/bootstrap/realm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14749,"count":1}],"isBlockCoverage":false},{"functionName":"binding","ranges":[{"startOffset":4702,"endOffset":5475,"count":0}],"isBlockCoverage":false},{"functionName":"_linkedBinding","ranges":[{"startOffset":5505,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"internalBinding","ranges":[{"startOffset":5955,"endOffset":6217,"count":186},{"startOffset":6057,"endOffset":6197,"count":45}],"isBlockCoverage":true},{"functionName":"getOwn","ranges":[{"startOffset":6377,"endOffset":6531,"count":3349},{"startOffset":6513,"endOffset":6528,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6580,"endOffset":6676,"count":331},{"startOffset":6636,"endOffset":6676,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6803,"endOffset":6870,"count":331},{"startOffset":6854,"endOffset":6870,"count":261}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7100,"endOffset":7136,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7508,"endOffset":7609,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7568,"endOffset":7603,"count":331}],"isBlockCoverage":true},{"functionName":"BuiltinModule","ranges":[{"startOffset":7614,"endOffset":8291,"count":331}],"isBlockCoverage":true},{"functionName":"allowRequireByUsers","ranges":[{"startOffset":8302,"endOffset":8663,"count":0}],"isBlockCoverage":false},{"functionName":"exposeInternals","ranges":[{"startOffset":8813,"endOffset":8964,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":8975,"endOffset":9029,"count":0}],"isBlockCoverage":false},{"functionName":"canBeRequiredByUsers","ranges":[{"startOffset":9040,"endOffset":9115,"count":190}],"isBlockCoverage":true},{"functionName":"canBeRequiredWithoutScheme","ranges":[{"startOffset":9126,"endOffset":9220,"count":1645}],"isBlockCoverage":true},{"functionName":"normalizeRequirableId","ranges":[{"startOffset":9231,"endOffset":9576,"count":1156},{"startOffset":9307,"endOffset":9469,"count":0},{"startOffset":9525,"endOffset":9549,"count":60},{"startOffset":9549,"endOffset":9575,"count":1096}],"isBlockCoverage":true},{"functionName":"isBuiltin","ranges":[{"startOffset":9587,"endOffset":9828,"count":0}],"isBlockCoverage":false},{"functionName":"getCanBeRequiredByUsersWithoutSchemeList","ranges":[{"startOffset":9839,"endOffset":9948,"count":1}],"isBlockCoverage":true},{"functionName":"getSchemeOnlyModuleNames","ranges":[{"startOffset":9959,"endOffset":10034,"count":0}],"isBlockCoverage":false},{"functionName":"compileForPublicLoader","ranges":[{"startOffset":10106,"endOffset":10818,"count":88},{"startOffset":10187,"endOffset":10379,"count":0},{"startOffset":10443,"endOffset":10740,"count":17},{"startOffset":10702,"endOffset":10706,"count":0}],"isBlockCoverage":true},{"functionName":"getESMFacade","ranges":[{"startOffset":10822,"endOffset":11584,"count":102},{"startOffset":10860,"endOffset":10879,"count":85},{"startOffset":10879,"endOffset":11583,"count":17}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11321,"endOffset":11424,"count":17}],"isBlockCoverage":true},{"functionName":"syncExports","ranges":[{"startOffset":11880,"endOffset":12224,"count":105},{"startOffset":11999,"endOffset":12214,"count":3349},{"startOffset":12076,"endOffset":12085,"count":0}],"isBlockCoverage":true},{"functionName":"compileForInternalLoader","ranges":[{"startOffset":12228,"endOffset":13050,"count":2194},{"startOffset":12277,"endOffset":12292,"count":156},{"startOffset":12294,"endOffset":12328,"count":2040},{"startOffset":12328,"endOffset":12467,"count":154},{"startOffset":12467,"endOffset":12502,"count":1},{"startOffset":12503,"endOffset":12519,"count":153},{"startOffset":12775,"endOffset":13049,"count":154}],"isBlockCoverage":true},{"functionName":"requireBuiltin","ranges":[{"startOffset":13245,"endOffset":13610,"count":2111},{"startOffset":13296,"endOffset":13327,"count":5},{"startOffset":13327,"endOffset":13512,"count":2106},{"startOffset":13512,"endOffset":13567,"count":0},{"startOffset":13567,"endOffset":13609,"count":2106}],"isBlockCoverage":true},{"functionName":"requireWithFallbackInDeps","ranges":[{"startOffset":13726,"endOffset":14002,"count":0}],"isBlockCoverage":false},{"functionName":"setupPrepareStackTrace","ranges":[{"startOffset":14004,"endOffset":14600,"count":1}],"isBlockCoverage":true}]},{"scriptId":"82","url":"node:internal/errors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":64999,"count":1}],"isBlockCoverage":false},{"functionName":"prepareStackTrace","ranges":[{"startOffset":2135,"endOffset":3623,"count":0}],"isBlockCoverage":false},{"functionName":"maybeOverridePrepareStackTrace","ranges":[{"startOffset":3665,"endOffset":4372,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4418,"endOffset":4964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5008,"endOffset":5207,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtil","ranges":[{"startOffset":5276,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtilInspect","ranges":[{"startOffset":5409,"endOffset":5537,"count":0}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":5555,"endOffset":5655,"count":0}],"isBlockCoverage":false},{"functionName":"lazyBuffer","ranges":[{"startOffset":5669,"endOffset":5750,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorStackTraceLimitWritable","ranges":[{"startOffset":5752,"endOffset":6259,"count":0}],"isBlockCoverage":false},{"functionName":"inspectWithNoCustomRetry","ranges":[{"startOffset":6261,"endOffset":6507,"count":0}],"isBlockCoverage":false},{"functionName":"SystemError","ranges":[{"startOffset":7009,"endOffset":9985,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":9989,"endOffset":10064,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10068,"endOffset":10258,"count":0}],"isBlockCoverage":false},{"functionName":"makeSystemErrorWithCode","ranges":[{"startOffset":10262,"endOffset":10407,"count":12}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10353,"endOffset":10400,"count":0}],"isBlockCoverage":false},{"functionName":"makeNodeErrorWithCode","ranges":[{"startOffset":10409,"endOffset":11467,"count":267}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10462,"endOffset":11464,"count":0}],"isBlockCoverage":false},{"functionName":"hideStackFrames","ranges":[{"startOffset":11629,"endOffset":11894,"count":49}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":12006,"endOffset":12514,"count":273},{"startOffset":12248,"endOffset":12293,"count":12},{"startOffset":12293,"endOffset":12347,"count":261},{"startOffset":12382,"endOffset":12492,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12409,"endOffset":12486,"count":6}],"isBlockCoverage":true},{"functionName":"getMessage","ranges":[{"startOffset":12516,"endOffset":13389,"count":0}],"isBlockCoverage":false},{"functionName":"lazyUv","ranges":[{"startOffset":13407,"endOffset":13487,"count":0}],"isBlockCoverage":false},{"functionName":"uvErrmapGet","ranges":[{"startOffset":13544,"endOffset":13696,"count":0}],"isBlockCoverage":false},{"functionName":"captureLargerStackTrace","ranges":[{"startOffset":13749,"endOffset":14151,"count":0}],"isBlockCoverage":false},{"functionName":"uvException","ranges":[{"startOffset":14478,"endOffset":15719,"count":0}],"isBlockCoverage":false},{"functionName":"uvExceptionWithHostPort","ranges":[{"startOffset":16082,"endOffset":17071,"count":0}],"isBlockCoverage":false},{"functionName":"errnoException","ranges":[{"startOffset":17291,"endOffset":18155,"count":0}],"isBlockCoverage":false},{"functionName":"exceptionWithHostPort","ranges":[{"startOffset":18559,"endOffset":19847,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20050,"endOffset":21591,"count":0}],"isBlockCoverage":false},{"functionName":"connResetException","ranges":[{"startOffset":21595,"endOffset":21750,"count":0}],"isBlockCoverage":false},{"functionName":"isStackOverflowError","ranges":[{"startOffset":22037,"endOffset":22415,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericalSeparator","ranges":[{"startOffset":22496,"endOffset":22764,"count":0}],"isBlockCoverage":false},{"functionName":"beforeInspector","ranges":[{"startOffset":23043,"endOffset":23434,"count":0}],"isBlockCoverage":false},{"functionName":"afterInspector","ranges":[{"startOffset":23438,"endOffset":24721,"count":0}],"isBlockCoverage":false},{"functionName":"setArrowMessage","ranges":[{"startOffset":24876,"endOffset":24975,"count":0}],"isBlockCoverage":false},{"functionName":"hideInternalStackFrames","ranges":[{"startOffset":25030,"endOffset":25508,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":25741,"endOffset":26050,"count":0}],"isBlockCoverage":false},{"functionName":"genericNodeError","ranges":[{"startOffset":26305,"endOffset":26497,"count":0}],"isBlockCoverage":false},{"functionName":"determineSpecificType","ranges":[{"startOffset":26618,"endOffset":27237,"count":0}],"isBlockCoverage":false},{"functionName":"formatList","ranges":[{"startOffset":27559,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29857,"endOffset":30021,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33056,"endOffset":33171,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33460,"endOffset":33554,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":36457,"endOffset":36685,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38465,"endOffset":38683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41350,"endOffset":41650,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41692,"endOffset":41836,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41879,"endOffset":44000,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44041,"endOffset":44389,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44697,"endOffset":44860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45517,"endOffset":45696,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45744,"endOffset":45879,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45925,"endOffset":46073,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":46117,"endOffset":46891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47179,"endOffset":47366,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47419,"endOffset":47598,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47642,"endOffset":47819,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48276,"endOffset":48492,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48536,"endOffset":48824,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":49387,"endOffset":49860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":50646,"endOffset":51087,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":51181,"endOffset":51400,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":52546,"endOffset":53244,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53295,"endOffset":53487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53536,"endOffset":53852,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54094,"endOffset":54393,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54577,"endOffset":56023,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":56475,"endOffset":56757,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58280,"endOffset":58354,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58390,"endOffset":58713,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58759,"endOffset":58833,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58865,"endOffset":59269,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59321,"endOffset":59499,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59770,"endOffset":59939,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61637,"endOffset":61768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62015,"endOffset":62172,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62362,"endOffset":62564,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62610,"endOffset":62933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63572,"endOffset":63640,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64043,"endOffset":64156,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64350,"endOffset":64737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"83","url":"node:internal/bootstrap/node","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13817,"count":1}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3830,"endOffset":3880,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3886,"endOffset":3944,"count":3},{"startOffset":3930,"endOffset":3933,"count":1},{"startOffset":3934,"endOffset":3937,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4086,"endOffset":4122,"count":8}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":4128,"endOffset":4547,"count":2},{"startOffset":4187,"endOffset":4469,"count":1},{"startOffset":4252,"endOffset":4266,"count":0},{"startOffset":4267,"endOffset":4315,"count":0},{"startOffset":4317,"endOffset":4352,"count":0},{"startOffset":4469,"endOffset":4518,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4769,"endOffset":5033,"count":409}],"isBlockCoverage":true},{"functionName":"process.openStdin","ranges":[{"startOffset":6409,"endOffset":6479,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7965,"endOffset":8127,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8229,"endOffset":8425,"count":1}],"isBlockCoverage":true},{"functionName":"get cached_builtins","ranges":[{"startOffset":9173,"endOffset":9240,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11734,"endOffset":11784,"count":6}],"isBlockCoverage":true},{"functionName":"setupProcessObject","ranges":[{"startOffset":12107,"endOffset":12912,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":12772,"endOffset":12808,"count":143}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":12814,"endOffset":12856,"count":0}],"isBlockCoverage":false},{"functionName":"setupGlobalProxy","ranges":[{"startOffset":12914,"endOffset":13151,"count":1}],"isBlockCoverage":true},{"functionName":"setupBuffer","ranges":[{"startOffset":13153,"endOffset":13816,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13678,"endOffset":13713,"count":3}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":13719,"endOffset":13760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"84","url":"node:internal/timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":19560,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4385,"endOffset":4410,"count":1}],"isBlockCoverage":true},{"functionName":"initAsyncResource","ranges":[{"startOffset":5548,"endOffset":5826,"count":2},{"startOffset":5774,"endOffset":5824,"count":0}],"isBlockCoverage":true},{"functionName":"Timeout","ranges":[{"startOffset":5932,"endOffset":6978,"count":1},{"startOffset":6080,"endOffset":6432,"count":0},{"startOffset":6789,"endOffset":6796,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7059,"endOffset":7255,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":7259,"endOffset":7368,"count":2},{"startOffset":7299,"endOffset":7312,"count":0}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":7372,"endOffset":7511,"count":3}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":7515,"endOffset":7652,"count":2}],"isBlockCoverage":true},{"functionName":"hasRef","ranges":[{"startOffset":7656,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"TimersList","ranges":[{"startOffset":7720,"endOffset":8026,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8107,"endOffset":8303,"count":0}],"isBlockCoverage":false},{"functionName":"ImmediateList","ranges":[{"startOffset":8386,"endOffset":8449,"count":2}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":8601,"endOffset":8782,"count":1},{"startOffset":8644,"endOffset":8719,"count":0}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":8932,"endOffset":9293,"count":0}],"isBlockCoverage":false},{"functionName":"incRefCount","ranges":[{"startOffset":9403,"endOffset":9569,"count":3}],"isBlockCoverage":true},{"functionName":"decRefCount","ranges":[{"startOffset":9571,"endOffset":9738,"count":3}],"isBlockCoverage":true},{"functionName":"active","ranges":[{"startOffset":9821,"endOffset":9875,"count":0}],"isBlockCoverage":false},{"functionName":"unrefActive","ranges":[{"startOffset":10022,"endOffset":10082,"count":2}],"isBlockCoverage":true},{"functionName":"insertGuarded","ranges":[{"startOffset":10303,"endOffset":10819,"count":2},{"startOffset":10427,"endOffset":10434,"count":0},{"startOffset":10551,"endOffset":10625,"count":0},{"startOffset":10646,"endOffset":10687,"count":0},{"startOffset":10722,"endOffset":10793,"count":0}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":10887,"endOffset":11626,"count":3},{"startOffset":11218,"endOffset":11599,"count":1}],"isBlockCoverage":true},{"functionName":"setUnrefTimeout","ranges":[{"startOffset":11628,"endOffset":11886,"count":0}],"isBlockCoverage":false},{"functionName":"getTimerDuration","ranges":[{"startOffset":11953,"endOffset":12481,"count":0}],"isBlockCoverage":false},{"functionName":"compareTimersLists","ranges":[{"startOffset":12483,"endOffset":12688,"count":0}],"isBlockCoverage":false},{"functionName":"setPosition","ranges":[{"startOffset":12690,"endOffset":12761,"count":1}],"isBlockCoverage":true},{"functionName":"getTimerCallbacks","ranges":[{"startOffset":12763,"endOffset":18141,"count":1}],"isBlockCoverage":true},{"functionName":"processImmediate","ranges":[{"startOffset":13075,"endOffset":15008,"count":1},{"startOffset":13154,"endOffset":13178,"count":0},{"startOffset":13615,"endOffset":13630,"count":0},{"startOffset":13947,"endOffset":14043,"count":0},{"startOffset":14605,"endOffset":14661,"count":0},{"startOffset":14763,"endOffset":14784,"count":0},{"startOffset":14935,"endOffset":14964,"count":0}],"isBlockCoverage":true},{"functionName":"processTimers","ranges":[{"startOffset":15013,"endOffset":15503,"count":0}],"isBlockCoverage":false},{"functionName":"listOnTimeout","ranges":[{"startOffset":15507,"endOffset":18081,"count":0}],"isBlockCoverage":false},{"functionName":"Immediate","ranges":[{"startOffset":18163,"endOffset":18485,"count":1}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":18489,"endOffset":18755,"count":1}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":18759,"endOffset":19027,"count":0}],"isBlockCoverage":false},{"functionName":"hasRef","ranges":[{"startOffset":19031,"endOffset":19072,"count":0}],"isBlockCoverage":false}]},{"scriptId":"85","url":"node:internal/async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20082,"count":1}],"isBlockCoverage":false},{"functionName":"useDomainTrampoline","ranges":[{"startOffset":5108,"endOffset":5162,"count":0}],"isBlockCoverage":false},{"functionName":"callbackTrampoline","ranges":[{"startOffset":5164,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"executionAsyncResource","ranges":[{"startOffset":5745,"endOffset":6243,"count":0}],"isBlockCoverage":false},{"functionName":"inspectExceptionValue","ranges":[{"startOffset":6245,"endOffset":6372,"count":0}],"isBlockCoverage":false},{"functionName":"fatalError","ranges":[{"startOffset":6433,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"lookupPublicResource","ranges":[{"startOffset":6837,"endOffset":7186,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitNative","ranges":[{"startOffset":7377,"endOffset":8510,"count":0}],"isBlockCoverage":false},{"functionName":"emitHook","ranges":[{"startOffset":8611,"endOffset":9600,"count":0}],"isBlockCoverage":false},{"functionName":"emitHookFactory","ranges":[{"startOffset":9602,"endOffset":9866,"count":4}],"isBlockCoverage":true},{"functionName":"getHookArrays","ranges":[{"startOffset":9895,"endOffset":10385,"count":0}],"isBlockCoverage":false},{"functionName":"storeActiveHooks","ranges":[{"startOffset":10388,"endOffset":10688,"count":0}],"isBlockCoverage":false},{"functionName":"copyHooks","ranges":[{"startOffset":10690,"endOffset":10955,"count":0}],"isBlockCoverage":false},{"functionName":"restoreActiveHooks","ranges":[{"startOffset":11070,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"trackPromise","ranges":[{"startOffset":11277,"endOffset":11707,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHook","ranges":[{"startOffset":11709,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHookWithDestroyTracking","ranges":[{"startOffset":11955,"endOffset":12091,"count":0}],"isBlockCoverage":false},{"functionName":"destroyTracking","ranges":[{"startOffset":12093,"endOffset":12256,"count":0}],"isBlockCoverage":false},{"functionName":"promiseBeforeHook","ranges":[{"startOffset":12258,"endOffset":12469,"count":0}],"isBlockCoverage":false},{"functionName":"promiseAfterHook","ranges":[{"startOffset":12471,"endOffset":13038,"count":0}],"isBlockCoverage":false},{"functionName":"promiseResolveHook","ranges":[{"startOffset":13040,"endOffset":13186,"count":0}],"isBlockCoverage":false},{"functionName":"enableHooks","ranges":[{"startOffset":13217,"endOffset":13323,"count":0}],"isBlockCoverage":false},{"functionName":"updatePromiseHookMode","ranges":[{"startOffset":13346,"endOffset":13925,"count":0}],"isBlockCoverage":false},{"functionName":"disableHooks","ranges":[{"startOffset":13927,"endOffset":14230,"count":0}],"isBlockCoverage":false},{"functionName":"disablePromiseHookIfNecessary","ranges":[{"startOffset":14232,"endOffset":14348,"count":0}],"isBlockCoverage":false},{"functionName":"newAsyncId","ranges":[{"startOffset":14549,"endOffset":14619,"count":4}],"isBlockCoverage":true},{"functionName":"getOrSetAsyncId","ranges":[{"startOffset":14621,"endOffset":14811,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultTriggerAsyncId","ranges":[{"startOffset":14994,"endOffset":15284,"count":4},{"startOffset":15250,"endOffset":15283,"count":0}],"isBlockCoverage":true},{"functionName":"clearDefaultTriggerAsyncId","ranges":[{"startOffset":15287,"endOffset":15376,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTriggerAsyncIdScope","ranges":[{"startOffset":15601,"endOffset":16094,"count":0}],"isBlockCoverage":false},{"functionName":"hasHooks","ranges":[{"startOffset":16096,"endOffset":16159,"count":16}],"isBlockCoverage":true},{"functionName":"enabledHooksExist","ranges":[{"startOffset":16161,"endOffset":16220,"count":3}],"isBlockCoverage":true},{"functionName":"initHooksExist","ranges":[{"startOffset":16222,"endOffset":16277,"count":4}],"isBlockCoverage":true},{"functionName":"afterHooksExist","ranges":[{"startOffset":16279,"endOffset":16336,"count":0}],"isBlockCoverage":false},{"functionName":"destroyHooksExist","ranges":[{"startOffset":16338,"endOffset":16399,"count":3}],"isBlockCoverage":true},{"functionName":"promiseResolveHooksExist","ranges":[{"startOffset":16401,"endOffset":16476,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitScript","ranges":[{"startOffset":16479,"endOffset":16887,"count":0}],"isBlockCoverage":false},{"functionName":"emitBeforeScript","ranges":[{"startOffset":16890,"endOffset":17066,"count":3},{"startOffset":17038,"endOffset":17064,"count":0}],"isBlockCoverage":true},{"functionName":"emitAfterScript","ranges":[{"startOffset":17069,"endOffset":17189,"count":3},{"startOffset":17133,"endOffset":17158,"count":0}],"isBlockCoverage":true},{"functionName":"emitDestroyScript","ranges":[{"startOffset":17192,"endOffset":17402,"count":0}],"isBlockCoverage":false},{"functionName":"hasAsyncIdStack","ranges":[{"startOffset":17405,"endOffset":17468,"count":0}],"isBlockCoverage":false},{"functionName":"pushAsyncContext","ranges":[{"startOffset":17534,"endOffset":18104,"count":3},{"startOffset":17754,"endOffset":17804,"count":0}],"isBlockCoverage":true},{"functionName":"popAsyncContext","ranges":[{"startOffset":18169,"endOffset":18780,"count":3},{"startOffset":18285,"endOffset":18298,"count":0},{"startOffset":18377,"endOffset":18483,"count":0}],"isBlockCoverage":true},{"functionName":"executionAsyncId","ranges":[{"startOffset":18783,"endOffset":18859,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":18861,"endOffset":18933,"count":0}],"isBlockCoverage":false}]},{"scriptId":"86","url":"node:internal/validators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15153,"count":1}],"isBlockCoverage":false},{"functionName":"isInt32","ranges":[{"startOffset":835,"endOffset":894,"count":387}],"isBlockCoverage":true},{"functionName":"isUint32","ranges":[{"startOffset":946,"endOffset":1008,"count":0}],"isBlockCoverage":false},{"functionName":"parseFileMode","ranges":[{"startOffset":1629,"endOffset":1940,"count":60},{"startOffset":1722,"endOffset":1890,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2186,"endOffset":2567,"count":3},{"startOffset":2306,"endOffset":2360,"count":0},{"startOffset":2400,"endOffset":2454,"count":0},{"startOffset":2497,"endOffset":2563,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2811,"endOffset":3274,"count":2},{"startOffset":2983,"endOffset":3051,"count":0},{"startOffset":3085,"endOffset":3153,"count":0},{"startOffset":3190,"endOffset":3270,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3512,"endOffset":3944,"count":808},{"startOffset":3582,"endOffset":3646,"count":0},{"startOffset":3678,"endOffset":3742,"count":0},{"startOffset":3766,"endOffset":3769,"count":0},{"startOffset":3866,"endOffset":3942,"count":0}],"isBlockCoverage":true},{"functionName":"validateString","ranges":[{"startOffset":4097,"endOffset":4229,"count":12734},{"startOffset":4173,"endOffset":4227,"count":0}],"isBlockCoverage":true},{"functionName":"validateNumber","ranges":[{"startOffset":4430,"endOffset":4898,"count":62},{"startOffset":4528,"endOffset":4582,"count":0},{"startOffset":4603,"endOffset":4617,"count":61},{"startOffset":4635,"endOffset":4649,"count":60},{"startOffset":4674,"endOffset":4688,"count":1},{"startOffset":4690,"endOffset":4711,"count":61},{"startOffset":4714,"endOffset":4896,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5084,"endOffset":5417,"count":0}],"isBlockCoverage":false},{"functionName":"validateBoolean","ranges":[{"startOffset":5573,"endOffset":5708,"count":375},{"startOffset":5651,"endOffset":5706,"count":0}],"isBlockCoverage":true},{"functionName":"getOwnPropertyValueOrDefault","ranges":[{"startOffset":5820,"endOffset":6001,"count":48},{"startOffset":5961,"endOffset":5979,"count":13},{"startOffset":5980,"endOffset":5998,"count":35}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6266,"endOffset":6821,"count":16},{"startOffset":6571,"endOffset":6588,"count":13},{"startOffset":6614,"endOffset":6636,"count":0},{"startOffset":6676,"endOffset":6746,"count":0},{"startOffset":6749,"endOffset":6817,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7376,"endOffset":7556,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7775,"endOffset":8053,"count":748},{"startOffset":7837,"endOffset":7900,"count":0},{"startOffset":7933,"endOffset":8051,"count":0}],"isBlockCoverage":true},{"functionName":"validateStringArray","ranges":[{"startOffset":8218,"endOffset":8387,"count":374},{"startOffset":8333,"endOffset":8385,"count":1870}],"isBlockCoverage":true},{"functionName":"validateBooleanArray","ranges":[{"startOffset":8553,"endOffset":8724,"count":0}],"isBlockCoverage":false},{"functionName":"validateAbortSignalArray","ranges":[{"startOffset":8902,"endOffset":9251,"count":0}],"isBlockCoverage":false},{"functionName":"validateSignalName","ranges":[{"startOffset":9363,"endOffset":9736,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9948,"endOffset":10178,"count":1},{"startOffset":10013,"endOffset":10176,"count":0}],"isBlockCoverage":true},{"functionName":"validateEncoding","ranges":[{"startOffset":10242,"endOffset":10576,"count":0}],"isBlockCoverage":false},{"functionName":"validatePort","ranges":[{"startOffset":10838,"endOffset":11217,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11385,"endOffset":11602,"count":13},{"startOffset":11432,"endOffset":11528,"count":0},{"startOffset":11530,"endOffset":11600,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11802,"endOffset":11918,"count":397},{"startOffset":11860,"endOffset":11916,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12133,"endOffset":12275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12479,"endOffset":12588,"count":0}],"isBlockCoverage":false},{"functionName":"validateUnion","ranges":[{"startOffset":12681,"endOffset":12868,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderFormat","ranges":[{"startOffset":13296,"endOffset":13602,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13650,"endOffset":13860,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderValue","ranges":[{"startOffset":13914,"endOffset":14597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"87","url":"node:internal/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":24956,"count":1}],"isBlockCoverage":false},{"functionName":"toUSVString","ranges":[{"startOffset":1790,"endOffset":2102,"count":107},{"startOffset":2059,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUv","ranges":[{"startOffset":2120,"endOffset":2200,"count":0}],"isBlockCoverage":false},{"functionName":"removeColors","ranges":[{"startOffset":2202,"endOffset":2287,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":2289,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"getDeprecationWarningEmitter","ranges":[{"startOffset":2696,"endOffset":3345,"count":30}],"isBlockCoverage":true},{"functionName":"shouldEmitWarning","ranges":[{"startOffset":2795,"endOffset":2805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2842,"endOffset":3342,"count":0}],"isBlockCoverage":false},{"functionName":"isPendingDeprecation","ranges":[{"startOffset":3347,"endOffset":3475,"count":0}],"isBlockCoverage":false},{"functionName":"pendingDeprecate","ranges":[{"startOffset":3642,"endOffset":3939,"count":3}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":3811,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"deprecate","ranges":[{"startOffset":4094,"endOffset":5092,"count":27},{"startOffset":4181,"endOffset":4201,"count":0},{"startOffset":4290,"endOffset":4344,"count":1},{"startOffset":4376,"endOffset":4405,"count":26},{"startOffset":4846,"endOffset":5068,"count":26}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":4518,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"decorateErrorStack","ranges":[{"startOffset":5094,"endOffset":5360,"count":0}],"isBlockCoverage":false},{"functionName":"assertCrypto","ranges":[{"startOffset":5362,"endOffset":5436,"count":1},{"startOffset":5408,"endOffset":5434,"count":0}],"isBlockCoverage":true},{"functionName":"normalizeEncoding","ranges":[{"startOffset":5615,"endOffset":5746,"count":385},{"startOffset":5685,"endOffset":5703,"count":0},{"startOffset":5719,"endOffset":5745,"count":0}],"isBlockCoverage":true},{"functionName":"slowCases","ranges":[{"startOffset":5748,"endOffset":7499,"count":0}],"isBlockCoverage":false},{"functionName":"emitExperimentalWarning","ranges":[{"startOffset":7501,"endOffset":7767,"count":0}],"isBlockCoverage":false},{"functionName":"filterDuplicateStrings","ranges":[{"startOffset":7769,"endOffset":8108,"count":0}],"isBlockCoverage":false},{"functionName":"cachedResult","ranges":[{"startOffset":8110,"endOffset":8266,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8161,"endOffset":8263,"count":0}],"isBlockCoverage":false},{"functionName":"createClassWrapper","ranges":[{"startOffset":8531,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"getSignalsToNamesMapping","ranges":[{"startOffset":8960,"endOffset":9239,"count":0}],"isBlockCoverage":false},{"functionName":"convertToValidSignal","ranges":[{"startOffset":9241,"endOffset":9562,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorOf","ranges":[{"startOffset":9564,"endOffset":9910,"count":0}],"isBlockCoverage":false},{"functionName":"getCWDURL","ranges":[{"startOffset":10233,"endOffset":10743,"count":1},{"startOffset":10561,"endOffset":10610,"count":0}],"isBlockCoverage":true},{"functionName":"getSystemErrorName","ranges":[{"startOffset":10745,"endOffset":10874,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorMap","ranges":[{"startOffset":10876,"endOffset":10941,"count":0}],"isBlockCoverage":false},{"functionName":"promisify","ranges":[{"startOffset":11109,"endOffset":12970,"count":6},{"startOffset":11229,"endOffset":11285,"count":1},{"startOffset":11372,"endOffset":11649,"count":1},{"startOffset":11649,"endOffset":12756,"count":5},{"startOffset":12756,"endOffset":12918,"count":14},{"startOffset":12918,"endOffset":12969,"count":5}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":11849,"endOffset":12368,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13065,"endOffset":13387,"count":0}],"isBlockCoverage":false},{"functionName":"spliceOne","ranges":[{"startOffset":13528,"endOffset":13655,"count":0}],"isBlockCoverage":false},{"functionName":"isInsideNodeModules","ranges":[{"startOffset":13737,"endOffset":14975,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":14977,"endOffset":15150,"count":0}],"isBlockCoverage":false},{"functionName":"sleep","ranges":[{"startOffset":15173,"endOffset":15388,"count":0}],"isBlockCoverage":false},{"functionName":"createDeferredPromise","ranges":[{"startOffset":15390,"endOffset":15584,"count":0}],"isBlockCoverage":false},{"functionName":"defineOperation","ranges":[{"startOffset":15644,"endOffset":15845,"count":8}],"isBlockCoverage":true},{"functionName":"exposeInterface","ranges":[{"startOffset":15897,"endOffset":16117,"count":5}],"isBlockCoverage":true},{"functionName":"exposeNamespace","ranges":[{"startOffset":16169,"endOffset":16389,"count":1}],"isBlockCoverage":true},{"functionName":"exposeGetterAndSetter","ranges":[{"startOffset":16391,"endOffset":16614,"count":1}],"isBlockCoverage":true},{"functionName":"defineLazyProperties","ranges":[{"startOffset":16616,"endOffset":17549,"count":22},{"startOffset":16779,"endOffset":17548,"count":51}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":16835,"endOffset":16978,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17081,"endOffset":17277,"count":12}],"isBlockCoverage":true},{"functionName":"defineReplaceableLazyAttribute","ranges":[{"startOffset":17551,"endOffset":18451,"count":2},{"startOffset":18419,"endOffset":18424,"count":1},{"startOffset":18425,"endOffset":18436,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17763,"endOffset":17999,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":18104,"endOffset":18175,"count":0}],"isBlockCoverage":false},{"functionName":"exposeLazyInterfaces","ranges":[{"startOffset":18453,"endOffset":18553,"count":14}],"isBlockCoverage":true},{"functionName":"lazyDOMExceptionClass","ranges":[{"startOffset":18604,"endOffset":18700,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18744,"endOffset":18872,"count":0}],"isBlockCoverage":false},{"functionName":"filterOwnProperties","ranges":[{"startOffset":19057,"endOffset":19329,"count":0}],"isBlockCoverage":false},{"functionName":"setOwnProperty","ranges":[{"startOffset":19497,"endOffset":19687,"count":762}],"isBlockCoverage":true},{"functionName":"getInternalGlobal","ranges":[{"startOffset":19709,"endOffset":19984,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeExec","ranges":[{"startOffset":19986,"endOffset":20199,"count":0}],"isBlockCoverage":false},{"functionName":"getCrossRelmRegex","ranges":[{"startOffset":20245,"endOffset":21036,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolReplace","ranges":[{"startOffset":21038,"endOffset":21192,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolSplit","ranges":[{"startOffset":21194,"endOffset":21344,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayBufferDetached","ranges":[{"startOffset":21347,"endOffset":21507,"count":0}],"isBlockCoverage":false},{"functionName":"getLazy","ranges":[{"startOffset":21708,"endOffset":21920,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21789,"endOffset":21917,"count":2348},{"startOffset":21833,"endOffset":21895,"count":4}],"isBlockCoverage":true},{"functionName":"setupCoverageHooks","ranges":[{"startOffset":22045,"endOffset":22722,"count":1},{"startOffset":22515,"endOffset":22692,"count":0}],"isBlockCoverage":true},{"functionName":"guessHandleType","ranges":[{"startOffset":22795,"endOffset":22892,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22894,"endOffset":23438,"count":5}],"isBlockCoverage":false},{"functionName":"WeakReference","ranges":[{"startOffset":22969,"endOffset":23036,"count":5}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":23040,"endOffset":23258,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":23262,"endOffset":23390,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23394,"endOffset":23436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"88","url":"node:internal/options","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1922,"count":1}],"isBlockCoverage":false},{"functionName":"getCLIOptionsFromBinding","ranges":[{"startOffset":464,"endOffset":598,"count":879},{"startOffset":521,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"getAliasesFromBinding","ranges":[{"startOffset":600,"endOffset":731,"count":1}],"isBlockCoverage":true},{"functionName":"getEmbedderOptions","ranges":[{"startOffset":733,"endOffset":877,"count":4},{"startOffset":789,"endOffset":849,"count":1}],"isBlockCoverage":true},{"functionName":"refreshOptions","ranges":[{"startOffset":879,"endOffset":960,"count":1}],"isBlockCoverage":true},{"functionName":"getOptionValue","ranges":[{"startOffset":962,"endOffset":1228,"count":878},{"startOffset":1084,"endOffset":1185,"count":8},{"startOffset":1185,"endOffset":1225,"count":870}],"isBlockCoverage":true},{"functionName":"getAllowUnauthorized","ranges":[{"startOffset":1230,"endOffset":1695,"count":0}],"isBlockCoverage":false},{"functionName":"get options","ranges":[{"startOffset":1718,"endOffset":1776,"count":1}],"isBlockCoverage":true},{"functionName":"get aliases","ranges":[{"startOffset":1780,"endOffset":1835,"count":1}],"isBlockCoverage":true}]},{"scriptId":"89","url":"node:internal/util/types","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2469,"count":1}],"isBlockCoverage":false},{"functionName":"isTypedArray","ranges":[{"startOffset":131,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"isUint8Array","ranges":[{"startOffset":236,"endOffset":342,"count":1001}],"isBlockCoverage":true},{"functionName":"isUint8ClampedArray","ranges":[{"startOffset":344,"endOffset":464,"count":0}],"isBlockCoverage":false},{"functionName":"isUint16Array","ranges":[{"startOffset":466,"endOffset":574,"count":0}],"isBlockCoverage":false},{"functionName":"isUint32Array","ranges":[{"startOffset":576,"endOffset":684,"count":0}],"isBlockCoverage":false},{"functionName":"isInt8Array","ranges":[{"startOffset":686,"endOffset":790,"count":0}],"isBlockCoverage":false},{"functionName":"isInt16Array","ranges":[{"startOffset":792,"endOffset":898,"count":0}],"isBlockCoverage":false},{"functionName":"isInt32Array","ranges":[{"startOffset":900,"endOffset":1006,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat32Array","ranges":[{"startOffset":1008,"endOffset":1118,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat64Array","ranges":[{"startOffset":1120,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"isBigInt64Array","ranges":[{"startOffset":1232,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"isBigUint64Array","ranges":[{"startOffset":1346,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":1932,"endOffset":2147,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":2243,"endOffset":2458,"count":0}],"isBlockCoverage":false}]},{"scriptId":"90","url":"node:internal/linkedlist","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1128,"count":1}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":15,"endOffset":103,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":133,"endOffset":225,"count":0}],"isBlockCoverage":false},{"functionName":"remove","ranges":[{"startOffset":260,"endOffset":487,"count":3}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":543,"endOffset":995,"count":3},{"startOffset":594,"endOffset":611,"count":0}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":997,"endOffset":1057,"count":0}],"isBlockCoverage":false}]},{"scriptId":"91","url":"node:internal/priority_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2573,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":395,"endOffset":2571,"count":1}],"isBlockCoverage":false},{"functionName":"#compare","ranges":[{"startOffset":430,"endOffset":445,"count":0}],"isBlockCoverage":false},{"functionName":"PriorityQueue","ranges":[{"startOffset":504,"endOffset":688,"count":1}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":692,"endOffset":875,"count":1},{"startOffset":826,"endOffset":843,"count":0}],"isBlockCoverage":true},{"functionName":"peek","ranges":[{"startOffset":879,"endOffset":917,"count":0}],"isBlockCoverage":false},{"functionName":"percolateDown","ranges":[{"startOffset":921,"endOffset":1585,"count":0}],"isBlockCoverage":false},{"functionName":"percolateUp","ranges":[{"startOffset":1589,"endOffset":2077,"count":1},{"startOffset":1764,"endOffset":1986,"count":0}],"isBlockCoverage":true},{"functionName":"removeAt","ranges":[{"startOffset":2081,"endOffset":2411,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":2415,"endOffset":2569,"count":0}],"isBlockCoverage":false}]},{"scriptId":"92","url":"node:internal/util/inspect","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":81525,"count":1}],"isBlockCoverage":false},{"functionName":"pathToFileUrlHref","ranges":[{"startOffset":3211,"endOffset":3345,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3454,"endOffset":3515,"count":62}],"isBlockCoverage":true},{"functionName":"isUndetectableObject","ranges":[{"startOffset":3611,"endOffset":3661,"count":0}],"isBlockCoverage":false},{"functionName":"getUserOptions","ranges":[{"startOffset":7144,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":8980,"endOffset":11006,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11117,"endOffset":11162,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":11166,"endOffset":11281,"count":0}],"isBlockCoverage":false},{"functionName":"defineColorAlias","ranges":[{"startOffset":13005,"endOffset":13269,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13121,"endOffset":13161,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":13167,"endOffset":13213,"count":0}],"isBlockCoverage":false},{"functionName":"addQuotes","ranges":[{"startOffset":14281,"endOffset":14439,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":14441,"endOffset":14616,"count":0}],"isBlockCoverage":false},{"functionName":"strEscape","ranges":[{"startOffset":14728,"endOffset":16882,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeWithColor","ranges":[{"startOffset":16884,"endOffset":17150,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeNoColor","ranges":[{"startOffset":17152,"endOffset":17198,"count":0}],"isBlockCoverage":false},{"functionName":"getEmptyFormatArray","ranges":[{"startOffset":17277,"endOffset":17324,"count":0}],"isBlockCoverage":false},{"functionName":"isInstanceof","ranges":[{"startOffset":17326,"endOffset":17444,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorName","ranges":[{"startOffset":17446,"endOffset":18715,"count":0}],"isBlockCoverage":false},{"functionName":"addPrototypeProperties","ranges":[{"startOffset":18902,"endOffset":20735,"count":0}],"isBlockCoverage":false},{"functionName":"getPrefix","ranges":[{"startOffset":20737,"endOffset":21124,"count":0}],"isBlockCoverage":false},{"functionName":"getKeys","ranges":[{"startOffset":21161,"endOffset":22152,"count":0}],"isBlockCoverage":false},{"functionName":"getCtxStyle","ranges":[{"startOffset":22154,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"formatProxy","ranges":[{"startOffset":22419,"endOffset":22869,"count":0}],"isBlockCoverage":false},{"functionName":"formatValue","ranges":[{"startOffset":23051,"endOffset":25808,"count":0}],"isBlockCoverage":false},{"functionName":"formatRaw","ranges":[{"startOffset":25810,"endOffset":36655,"count":0}],"isBlockCoverage":false},{"functionName":"getIteratorBraces","ranges":[{"startOffset":36657,"endOffset":36839,"count":0}],"isBlockCoverage":false},{"functionName":"getBoxedBase","ranges":[{"startOffset":36841,"endOffset":38029,"count":0}],"isBlockCoverage":false},{"functionName":"getClassBase","ranges":[{"startOffset":38031,"endOffset":38631,"count":0}],"isBlockCoverage":false},{"functionName":"getFunctionBase","ranges":[{"startOffset":38633,"endOffset":39866,"count":0}],"isBlockCoverage":false},{"functionName":"identicalSequenceRange","ranges":[{"startOffset":39868,"endOffset":40484,"count":0}],"isBlockCoverage":false},{"functionName":"getStackString","ranges":[{"startOffset":40486,"endOffset":40596,"count":0}],"isBlockCoverage":false},{"functionName":"getStackFrames","ranges":[{"startOffset":40598,"endOffset":41489,"count":0}],"isBlockCoverage":false},{"functionName":"improveStack","ranges":[{"startOffset":41491,"endOffset":42696,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateErrorKeys","ranges":[{"startOffset":42698,"endOffset":43121,"count":0}],"isBlockCoverage":false},{"functionName":"markNodeModules","ranges":[{"startOffset":43123,"endOffset":43593,"count":0}],"isBlockCoverage":false},{"functionName":"markCwd","ranges":[{"startOffset":43595,"endOffset":44572,"count":0}],"isBlockCoverage":false},{"functionName":"safeGetCWD","ranges":[{"startOffset":44574,"endOffset":44724,"count":0}],"isBlockCoverage":false},{"functionName":"formatError","ranges":[{"startOffset":44726,"endOffset":47121,"count":0}],"isBlockCoverage":false},{"functionName":"groupArrayElements","ranges":[{"startOffset":47123,"endOffset":51462,"count":0}],"isBlockCoverage":false},{"functionName":"handleMaxCallStackSize","ranges":[{"startOffset":51464,"endOffset":51853,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparator","ranges":[{"startOffset":51855,"endOffset":52257,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparatorEnd","ranges":[{"startOffset":52259,"endOffset":52558,"count":0}],"isBlockCoverage":false},{"functionName":"remainingText","ranges":[{"startOffset":52582,"endOffset":52652,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumber","ranges":[{"startOffset":52655,"endOffset":53443,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigInt","ranges":[{"startOffset":53445,"endOffset":53661,"count":0}],"isBlockCoverage":false},{"functionName":"formatPrimitive","ranges":[{"startOffset":53663,"endOffset":55068,"count":0}],"isBlockCoverage":false},{"functionName":"formatNamespaceObject","ranges":[{"startOffset":55070,"endOffset":56222,"count":0}],"isBlockCoverage":false},{"functionName":"formatSpecialArray","ranges":[{"startOffset":56269,"endOffset":57529,"count":0}],"isBlockCoverage":false},{"functionName":"formatArrayBuffer","ranges":[{"startOffset":57531,"endOffset":58179,"count":0}],"isBlockCoverage":false},{"functionName":"formatArray","ranges":[{"startOffset":58181,"endOffset":58780,"count":0}],"isBlockCoverage":false},{"functionName":"formatTypedArray","ranges":[{"startOffset":58782,"endOffset":59811,"count":0}],"isBlockCoverage":false},{"functionName":"formatSet","ranges":[{"startOffset":59813,"endOffset":60336,"count":0}],"isBlockCoverage":false},{"functionName":"formatMap","ranges":[{"startOffset":60338,"endOffset":60938,"count":0}],"isBlockCoverage":false},{"functionName":"formatSetIterInner","ranges":[{"startOffset":60940,"endOffset":61743,"count":0}],"isBlockCoverage":false},{"functionName":"formatMapIterInner","ranges":[{"startOffset":61745,"endOffset":63053,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakCollection","ranges":[{"startOffset":63055,"endOffset":63147,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakSet","ranges":[{"startOffset":63149,"endOffset":63306,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakMap","ranges":[{"startOffset":63308,"endOffset":63465,"count":0}],"isBlockCoverage":false},{"functionName":"formatIterator","ranges":[{"startOffset":63467,"endOffset":63888,"count":0}],"isBlockCoverage":false},{"functionName":"formatPromise","ranges":[{"startOffset":63890,"endOffset":64364,"count":0}],"isBlockCoverage":false},{"functionName":"formatProperty","ranges":[{"startOffset":64366,"endOffset":66939,"count":0}],"isBlockCoverage":false},{"functionName":"isBelowBreakLength","ranges":[{"startOffset":66941,"endOffset":67899,"count":0}],"isBlockCoverage":false},{"functionName":"reduceToSingleString","ranges":[{"startOffset":67901,"endOffset":70802,"count":0}],"isBlockCoverage":false},{"functionName":"hasBuiltInToString","ranges":[{"startOffset":70804,"endOffset":71880,"count":0}],"isBlockCoverage":false},{"functionName":"firstErrorLine","ranges":[{"startOffset":71905,"endOffset":71963,"count":0}],"isBlockCoverage":false},{"functionName":"tryStringify","ranges":[{"startOffset":71993,"endOffset":72498,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":72500,"endOffset":72581,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptions","ranges":[{"startOffset":72583,"endOffset":72770,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumberNoColor","ranges":[{"startOffset":72772,"endOffset":72954,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigIntNoColor","ranges":[{"startOffset":72956,"endOffset":73138,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptionsInternal","ranges":[{"startOffset":73140,"endOffset":77164,"count":0}],"isBlockCoverage":false},{"functionName":"isZeroWidthCodePoint","ranges":[{"startOffset":77166,"endOffset":77740,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78169,"endOffset":78760,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78875,"endOffset":79343,"count":0}],"isBlockCoverage":false},{"functionName":"isFullWidthCodePoint","ranges":[{"startOffset":79511,"endOffset":81120,"count":0}],"isBlockCoverage":false},{"functionName":"stripVTControlCharacters","ranges":[{"startOffset":81211,"endOffset":81338,"count":0}],"isBlockCoverage":false}]},{"scriptId":"93","url":"node:internal/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":474,"count":1}],"isBlockCoverage":false},{"functionName":"lazyError","ranges":[{"startOffset":26,"endOffset":155,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":157,"endOffset":307,"count":717},{"startOffset":205,"endOffset":305,"count":0}],"isBlockCoverage":true},{"functionName":"fail","ranges":[{"startOffset":309,"endOffset":426,"count":0}],"isBlockCoverage":false}]},{"scriptId":"94","url":"node:internal/util/debuglog","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3395,"count":1}],"isBlockCoverage":false},{"functionName":"initializeDebugEnv","ranges":[{"startOffset":503,"endOffset":976,"count":1},{"startOffset":595,"endOffset":932,"count":0}],"isBlockCoverage":true},{"functionName":"testEnabled","ranges":[{"startOffset":870,"endOffset":927,"count":0}],"isBlockCoverage":false},{"functionName":"testEnabled","ranges":[{"startOffset":958,"endOffset":969,"count":8}],"isBlockCoverage":true},{"functionName":"emitWarningIfNeeded","ranges":[{"startOffset":1050,"endOffset":1389,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":1404,"endOffset":1412,"count":2546}],"isBlockCoverage":true},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1431,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"debuglogImpl","ranges":[{"startOffset":1533,"endOffset":2091,"count":7},{"startOffset":1608,"endOffset":2063,"count":5},{"startOffset":1627,"endOffset":2016,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":1716,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"debuglog","ranges":[{"startOffset":2311,"endOffset":3337,"count":15}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":2342,"endOffset":2438,"count":8}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":2453,"endOffset":2847,"count":7},{"startOffset":2700,"endOffset":2730,"count":4},{"startOffset":2737,"endOffset":2776,"count":2},{"startOffset":2783,"endOffset":2837,"count":1}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2877,"endOffset":2946,"count":1}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2908,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"logger","ranges":[{"startOffset":2965,"endOffset":3160,"count":7},{"startOffset":3013,"endOffset":3043,"count":4},{"startOffset":3050,"endOffset":3089,"count":2},{"startOffset":3096,"endOffset":3150,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3231,"endOffset":3265,"count":1}],"isBlockCoverage":true}]},{"scriptId":"95","url":"node:events","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36377,"count":1}],"isBlockCoverage":false},{"functionName":"lazyEventEmitterAsyncResource","ranges":[{"startOffset":3020,"endOffset":6331,"count":4},{"startOffset":3110,"endOffset":6293,"count":1}],"isBlockCoverage":true},{"functionName":"EventEmitterReferencingAsyncResource","ranges":[{"startOffset":3565,"endOffset":3669,"count":0}],"isBlockCoverage":false},{"functionName":"get eventEmitter","ranges":[{"startOffset":3727,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterAsyncResource","ranges":[{"startOffset":4205,"endOffset":4729,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":4866,"endOffset":5236,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":5297,"endOffset":5485,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncId","ranges":[{"startOffset":5545,"endOffset":5736,"count":0}],"isBlockCoverage":false},{"functionName":"get triggerAsyncId","ranges":[{"startOffset":5796,"endOffset":6001,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncResource","ranges":[{"startOffset":6091,"endOffset":6280,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter","ranges":[{"startOffset":6465,"endOffset":6534,"count":64}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":7019,"endOffset":7075,"count":4}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":7079,"endOffset":7204,"count":0}],"isBlockCoverage":false},{"functionName":"checkListener","ranges":[{"startOffset":7985,"endOffset":8063,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8171,"endOffset":8219,"count":6}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8228,"endOffset":8329,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.setMaxListeners","ranges":[{"startOffset":8882,"endOffset":9694,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.init","ranges":[{"startOffset":9861,"endOffset":10459,"count":64},{"startOffset":9912,"endOffset":9972,"count":0},{"startOffset":10116,"endOffset":10135,"count":2},{"startOffset":10137,"endOffset":10270,"count":0}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":10462,"endOffset":11021,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionOrErr","ranges":[{"startOffset":11023,"endOffset":11680,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":11832,"endOffset":11947,"count":1}],"isBlockCoverage":true},{"functionName":"_getMaxListeners","ranges":[{"startOffset":11950,"endOffset":12099,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":12236,"endOffset":12299,"count":0}],"isBlockCoverage":false},{"functionName":"enhanceStackTrace","ranges":[{"startOffset":12302,"endOffset":13061,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":13256,"endOffset":15559,"count":59},{"startOffset":13401,"endOffset":13439,"count":0},{"startOffset":13447,"endOffset":13481,"count":0},{"startOffset":13505,"endOffset":13534,"count":0},{"startOffset":13540,"endOffset":13577,"count":0},{"startOffset":13649,"endOffset":14617,"count":0},{"startOffset":14698,"endOffset":15558,"count":0}],"isBlockCoverage":true},{"functionName":"_addListener","ranges":[{"startOffset":15562,"endOffset":17456,"count":7},{"startOffset":15742,"endOffset":15827,"count":0},{"startOffset":16012,"endOffset":16273,"count":0},{"startOffset":16476,"endOffset":17436,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":17634,"endOffset":17726,"count":7}],"isBlockCoverage":true},{"functionName":"prependListener","ranges":[{"startOffset":18013,"endOffset":18116,"count":0}],"isBlockCoverage":false},{"functionName":"onceWrapper","ranges":[{"startOffset":18119,"endOffset":18383,"count":0}],"isBlockCoverage":false},{"functionName":"_onceWrap","ranges":[{"startOffset":18385,"endOffset":18626,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":18817,"endOffset":18943,"count":0}],"isBlockCoverage":false},{"functionName":"prependOnceListener","ranges":[{"startOffset":19176,"endOffset":19346,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":19553,"endOffset":20848,"count":5},{"startOffset":19702,"endOffset":19714,"count":0},{"startOffset":19787,"endOffset":19799,"count":3},{"startOffset":19799,"endOffset":19829,"count":2},{"startOffset":19829,"endOffset":19858,"count":0},{"startOffset":19860,"endOffset":20121,"count":2},{"startOffset":19911,"endOffset":19946,"count":0},{"startOffset":20042,"endOffset":20103,"count":0},{"startOffset":20121,"endOffset":20822,"count":0},{"startOffset":20822,"endOffset":20847,"count":2}],"isBlockCoverage":true},{"functionName":"removeAllListeners","ranges":[{"startOffset":21168,"endOffset":22497,"count":0}],"isBlockCoverage":false},{"functionName":"_listeners","ranges":[{"startOffset":22500,"endOffset":22895,"count":0}],"isBlockCoverage":false},{"functionName":"listeners","ranges":[{"startOffset":23085,"endOffset":23152,"count":0}],"isBlockCoverage":false},{"functionName":"rawListeners","ranges":[{"startOffset":23359,"endOffset":23430,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.listenerCount","ranges":[{"startOffset":23672,"endOffset":23858,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":24091,"endOffset":24796,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":24952,"endOffset":25045,"count":0}],"isBlockCoverage":false},{"functionName":"arrayClone","ranges":[{"startOffset":25048,"endOffset":25521,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapListeners","ranges":[{"startOffset":25523,"endOffset":25737,"count":0}],"isBlockCoverage":false},{"functionName":"getEventListeners","ranges":[{"startOffset":25947,"endOffset":26821,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":26941,"endOffset":27376,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":27596,"endOffset":29314,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29392,"endOffset":29413,"count":0}],"isBlockCoverage":false},{"functionName":"createIterResult","ranges":[{"startOffset":29428,"endOffset":29496,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticRemoveListener","ranges":[{"startOffset":29498,"endOffset":29883,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticAddListener","ranges":[{"startOffset":29885,"endOffset":30317,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":30622,"endOffset":35023,"count":0}],"isBlockCoverage":false},{"functionName":"listenersController","ranges":[{"startOffset":35025,"endOffset":35471,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortListener","ranges":[{"startOffset":35494,"endOffset":36376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"96","url":"node:buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":41224,"count":1}],"isBlockCoverage":false},{"functionName":"validateOffset","ranges":[{"startOffset":3255,"endOffset":3339,"count":0}],"isBlockCoverage":false},{"functionName":"createPool","ranges":[{"startOffset":4069,"endOffset":4228,"count":1}],"isBlockCoverage":true},{"functionName":"alignPool","ranges":[{"startOffset":4244,"endOffset":4366,"count":12},{"startOffset":4318,"endOffset":4364,"count":11}],"isBlockCoverage":true},{"functionName":"showFlaggedDeprecation","ranges":[{"startOffset":4670,"endOffset":5350,"count":0}],"isBlockCoverage":false},{"functionName":"toInteger","ranges":[{"startOffset":5352,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"_copy","ranges":[{"startOffset":5572,"endOffset":6704,"count":0}],"isBlockCoverage":false},{"functionName":"_copyActual","ranges":[{"startOffset":6706,"endOffset":7237,"count":0}],"isBlockCoverage":false},{"functionName":"Buffer","ranges":[{"startOffset":7813,"endOffset":8146,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8258,"endOffset":8286,"count":0}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":8544,"endOffset":9509,"count":18},{"startOffset":8630,"endOffset":8673,"count":11},{"startOffset":8673,"endOffset":8724,"count":7},{"startOffset":8726,"endOffset":9363,"count":7},{"startOffset":8767,"endOffset":8823,"count":6},{"startOffset":8823,"endOffset":8877,"count":1},{"startOffset":8903,"endOffset":8931,"count":1},{"startOffset":8932,"endOffset":9003,"count":0},{"startOffset":9005,"endOffset":9066,"count":0},{"startOffset":9066,"endOffset":9127,"count":1},{"startOffset":9127,"endOffset":9359,"count":0},{"startOffset":9363,"endOffset":9508,"count":0}],"isBlockCoverage":true},{"functionName":"copyBytesFrom","ranges":[{"startOffset":9763,"endOffset":10644,"count":0}],"isBlockCoverage":false},{"functionName":"of","ranges":[{"startOffset":11015,"endOffset":11167,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11456,"endOffset":11516,"count":60}],"isBlockCoverage":true},{"functionName":"alloc","ranges":[{"startOffset":11619,"endOffset":11864,"count":1},{"startOffset":11703,"endOffset":11716,"count":0},{"startOffset":11717,"endOffset":11728,"count":0},{"startOffset":11730,"endOffset":11831,"count":0}],"isBlockCoverage":true},{"functionName":"allocUnsafe","ranges":[{"startOffset":12043,"endOffset":12118,"count":1}],"isBlockCoverage":true},{"functionName":"allocUnsafeSlow","ranges":[{"startOffset":12359,"endOffset":12448,"count":58}],"isBlockCoverage":true},{"functionName":"SlowBuffer","ranges":[{"startOffset":12544,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"allocate","ranges":[{"startOffset":12748,"endOffset":13080,"count":1},{"startOffset":12791,"endOffset":12825,"count":0},{"startOffset":12912,"endOffset":12925,"count":0},{"startOffset":13043,"endOffset":13079,"count":0}],"isBlockCoverage":true},{"functionName":"fromStringFast","ranges":[{"startOffset":13082,"endOffset":13628,"count":11},{"startOffset":13208,"endOffset":13257,"count":1},{"startOffset":13257,"endOffset":13303,"count":10},{"startOffset":13303,"endOffset":13316,"count":0},{"startOffset":13316,"endOffset":13449,"count":10},{"startOffset":13449,"endOffset":13575,"count":0},{"startOffset":13575,"endOffset":13627,"count":10}],"isBlockCoverage":true},{"functionName":"fromString","ranges":[{"startOffset":13630,"endOffset":14083,"count":11},{"startOffset":13716,"endOffset":13740,"count":8},{"startOffset":13742,"endOffset":13861,"count":3},{"startOffset":13779,"endOffset":13803,"count":0},{"startOffset":13861,"endOffset":14043,"count":8},{"startOffset":13938,"endOffset":13979,"count":0},{"startOffset":14015,"endOffset":14039,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayBuffer","ranges":[{"startOffset":14085,"endOffset":14782,"count":6},{"startOffset":14229,"endOffset":14325,"count":0},{"startOffset":14402,"endOffset":14447,"count":0},{"startOffset":14506,"endOffset":14729,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayLike","ranges":[{"startOffset":14784,"endOffset":15178,"count":1},{"startOffset":14841,"endOffset":14865,"count":0},{"startOffset":14964,"endOffset":14977,"count":0},{"startOffset":15146,"endOffset":15177,"count":0}],"isBlockCoverage":true},{"functionName":"fromObject","ranges":[{"startOffset":15180,"endOffset":15486,"count":1},{"startOffset":15238,"endOffset":15269,"count":0},{"startOffset":15313,"endOffset":15351,"count":0},{"startOffset":15386,"endOffset":15441,"count":0},{"startOffset":15443,"endOffset":15484,"count":0}],"isBlockCoverage":true},{"functionName":"isBuffer","ranges":[{"startOffset":15525,"endOffset":15579,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":15599,"endOffset":15924,"count":0}],"isBlockCoverage":false},{"functionName":"isEncoding","ranges":[{"startOffset":15947,"endOffset":16098,"count":385}],"isBlockCoverage":true},{"functionName":"concat","ranges":[{"startOffset":16164,"endOffset":17311,"count":0}],"isBlockCoverage":false},{"functionName":"base64ByteLength","ranges":[{"startOffset":17314,"endOffset":17582,"count":1},{"startOffset":17520,"endOffset":17528,"count":0}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":17717,"endOffset":17781,"count":3}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":17794,"endOffset":17840,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":17855,"endOffset":17951,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18045,"endOffset":18074,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18087,"endOffset":18151,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18164,"endOffset":18210,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18225,"endOffset":18324,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18424,"endOffset":18453,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18466,"endOffset":18530,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18543,"endOffset":18589,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18604,"endOffset":18703,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18800,"endOffset":18825,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18838,"endOffset":18904,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18917,"endOffset":18965,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18980,"endOffset":19078,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19172,"endOffset":19197,"count":3}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19210,"endOffset":19275,"count":3}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":19288,"endOffset":19335,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19350,"endOffset":19562,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19659,"endOffset":19710,"count":1}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19723,"endOffset":19789,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":19802,"endOffset":19850,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19865,"endOffset":20079,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20185,"endOffset":20236,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20249,"endOffset":20324,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":20337,"endOffset":20388,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20403,"endOffset":20623,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20711,"endOffset":20742,"count":4}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":20755,"endOffset":20818,"count":4}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":20831,"endOffset":20876,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20891,"endOffset":21099,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingOps","ranges":[{"startOffset":21109,"endOffset":22933,"count":8},{"startOffset":21196,"endOffset":21495,"count":0},{"startOffset":21500,"endOffset":21919,"count":3},{"startOffset":21540,"endOffset":21564,"count":0},{"startOffset":21622,"endOffset":21919,"count":0},{"startOffset":21924,"endOffset":22078,"count":0},{"startOffset":22083,"endOffset":22239,"count":0},{"startOffset":22244,"endOffset":22625,"count":1},{"startOffset":22318,"endOffset":22344,"count":0},{"startOffset":22404,"endOffset":22516,"count":0},{"startOffset":22526,"endOffset":22625,"count":0},{"startOffset":22630,"endOffset":22762,"count":4},{"startOffset":22667,"endOffset":22716,"count":0},{"startOffset":22749,"endOffset":22762,"count":0},{"startOffset":22767,"endOffset":22927,"count":0}],"isBlockCoverage":true},{"functionName":"byteLength","ranges":[{"startOffset":22935,"endOffset":23441,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23600,"endOffset":23694,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23792,"endOffset":23890,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":23923,"endOffset":24056,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":24337,"endOffset":24916,"count":1},{"startOffset":24457,"endOffset":24620,"count":0},{"startOffset":24626,"endOffset":24915,"count":0}],"isBlockCoverage":true},{"functionName":"equals","ranges":[{"startOffset":24945,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":25427,"endOffset":26570,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":26666,"endOffset":27815,"count":0}],"isBlockCoverage":false},{"functionName":"bidirectionalIndexOf","ranges":[{"startOffset":28243,"endOffset":29551,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":29580,"endOffset":29697,"count":0}],"isBlockCoverage":false},{"functionName":"lastIndexOf","ranges":[{"startOffset":29731,"endOffset":29853,"count":0}],"isBlockCoverage":false},{"functionName":"includes","ranges":[{"startOffset":29884,"endOffset":29989,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":30167,"endOffset":30266,"count":0}],"isBlockCoverage":false},{"functionName":"_fill","ranges":[{"startOffset":30269,"endOffset":32215,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":32242,"endOffset":33257,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":33286,"endOffset":33520,"count":0}],"isBlockCoverage":false},{"functionName":"adjustOffset","ranges":[{"startOffset":33523,"endOffset":33957,"count":0}],"isBlockCoverage":false},{"functionName":"subarray","ranges":[{"startOffset":33987,"endOffset":34290,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":34318,"endOffset":34384,"count":0}],"isBlockCoverage":false},{"functionName":"swap","ranges":[{"startOffset":34387,"endOffset":34458,"count":0}],"isBlockCoverage":false},{"functionName":"swap16","ranges":[{"startOffset":34486,"endOffset":34890,"count":0}],"isBlockCoverage":false},{"functionName":"swap32","ranges":[{"startOffset":34919,"endOffset":35363,"count":0}],"isBlockCoverage":false},{"functionName":"swap64","ranges":[{"startOffset":35392,"endOffset":35900,"count":0}],"isBlockCoverage":false},{"functionName":"transcode","ranges":[{"startOffset":36214,"endOffset":36913,"count":0}],"isBlockCoverage":false},{"functionName":"btoa","ranges":[{"startOffset":36918,"endOffset":37455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":37728,"endOffset":37772,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37830,"endOffset":37874,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37929,"endOffset":37973,"count":10}],"isBlockCoverage":true},{"functionName":"atob","ranges":[{"startOffset":38149,"endOffset":40101,"count":0}],"isBlockCoverage":false},{"functionName":"isUtf8","ranges":[{"startOffset":40103,"endOffset":40299,"count":0}],"isBlockCoverage":false},{"functionName":"isAscii","ranges":[{"startOffset":40301,"endOffset":40514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40905,"endOffset":40940,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":40946,"endOffset":41044,"count":0}],"isBlockCoverage":false}]},{"scriptId":"97","url":"node:internal/buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30926,"count":1}],"isBlockCoverage":false},{"functionName":"checkBounds","ranges":[{"startOffset":1176,"endOffset":1392,"count":1},{"startOffset":1339,"endOffset":1390,"count":0}],"isBlockCoverage":true},{"functionName":"checkInt","ranges":[{"startOffset":1394,"endOffset":2016,"count":1},{"startOffset":1490,"endOffset":1974,"count":0}],"isBlockCoverage":true},{"functionName":"boundsError","ranges":[{"startOffset":2018,"endOffset":2421,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":2441,"endOffset":2940,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":2942,"endOffset":3441,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":3443,"endOffset":3944,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":3946,"endOffset":4441,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntLE","ranges":[{"startOffset":4443,"endOffset":4995,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48LE","ranges":[{"startOffset":4997,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40LE","ranges":[{"startOffset":5382,"endOffset":5738,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":5740,"endOffset":6066,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24LE","ranges":[{"startOffset":6068,"endOffset":6356,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":6358,"endOffset":6618,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":6620,"endOffset":6800,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntBE","ranges":[{"startOffset":6802,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48BE","ranges":[{"startOffset":7356,"endOffset":7739,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40BE","ranges":[{"startOffset":7741,"endOffset":8097,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":8099,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24BE","ranges":[{"startOffset":8427,"endOffset":8715,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":8717,"endOffset":8977,"count":0}],"isBlockCoverage":false},{"functionName":"readIntLE","ranges":[{"startOffset":8979,"endOffset":9524,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48LE","ranges":[{"startOffset":9526,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40LE","ranges":[{"startOffset":9959,"endOffset":10346,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":10348,"endOffset":10683,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24LE","ranges":[{"startOffset":10685,"endOffset":11017,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":11019,"endOffset":11325,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":11327,"endOffset":11535,"count":0}],"isBlockCoverage":false},{"functionName":"readIntBE","ranges":[{"startOffset":11537,"endOffset":12082,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48BE","ranges":[{"startOffset":12084,"endOffset":12513,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40BE","ranges":[{"startOffset":12515,"endOffset":12903,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":12905,"endOffset":13240,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24BE","ranges":[{"startOffset":13242,"endOffset":13574,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":13576,"endOffset":13882,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBackwards","ranges":[{"startOffset":13899,"endOffset":14304,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatForwards","ranges":[{"startOffset":14306,"endOffset":14710,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBackwards","ranges":[{"startOffset":14712,"endOffset":15282,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleForwards","ranges":[{"startOffset":15284,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64LE","ranges":[{"startOffset":15874,"endOffset":16356,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":16358,"endOffset":16480,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64BE","ranges":[{"startOffset":16482,"endOffset":16980,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":16982,"endOffset":17104,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":17106,"endOffset":17250,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":17252,"endOffset":17396,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntLE","ranges":[{"startOffset":17398,"endOffset":18007,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48LE","ranges":[{"startOffset":18009,"endOffset":18422,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40LE","ranges":[{"startOffset":18424,"endOffset":18803,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32LE","ranges":[{"startOffset":18805,"endOffset":19112,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19114,"endOffset":19220,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24LE","ranges":[{"startOffset":19222,"endOffset":19481,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16LE","ranges":[{"startOffset":19483,"endOffset":19679,"count":1}],"isBlockCoverage":true},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19681,"endOffset":19783,"count":1}],"isBlockCoverage":true},{"functionName":"writeU_Int8","ranges":[{"startOffset":19785,"endOffset":20197,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":20199,"endOffset":20293,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntBE","ranges":[{"startOffset":20295,"endOffset":20904,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48BE","ranges":[{"startOffset":20906,"endOffset":21327,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40BE","ranges":[{"startOffset":21329,"endOffset":21691,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32BE","ranges":[{"startOffset":21693,"endOffset":22008,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":22010,"endOffset":22116,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24BE","ranges":[{"startOffset":22118,"endOffset":22383,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16BE","ranges":[{"startOffset":22385,"endOffset":22581,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":22583,"endOffset":22685,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntLE","ranges":[{"startOffset":22687,"endOffset":23349,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":23351,"endOffset":23466,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":23468,"endOffset":23575,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":23577,"endOffset":23674,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntBE","ranges":[{"startOffset":23676,"endOffset":24338,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":24340,"endOffset":24455,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":24457,"endOffset":24564,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleForwards","ranges":[{"startOffset":24583,"endOffset":25049,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBackwards","ranges":[{"startOffset":25051,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatForwards","ranges":[{"startOffset":25520,"endOffset":25821,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBackwards","ranges":[{"startOffset":25823,"endOffset":26125,"count":0}],"isBlockCoverage":false},{"functionName":"FastBuffer","ranges":[{"startOffset":26365,"endOffset":26465,"count":79}],"isBlockCoverage":true},{"functionName":"addBufferPrototypeMethods","ranges":[{"startOffset":26469,"endOffset":29608,"count":1},{"startOffset":28552,"endOffset":28572,"count":0},{"startOffset":28626,"endOffset":28645,"count":0},{"startOffset":28701,"endOffset":28722,"count":0},{"startOffset":28778,"endOffset":28798,"count":0},{"startOffset":28855,"endOffset":28876,"count":0},{"startOffset":28932,"endOffset":28952,"count":0},{"startOffset":29010,"endOffset":29032,"count":0},{"startOffset":29090,"endOffset":29111,"count":0}],"isBlockCoverage":true},{"functionName":"markAsUntransferable","ranges":[{"startOffset":29764,"endOffset":30013,"count":1},{"startOffset":29832,"endOffset":29860,"count":0},{"startOffset":29883,"endOffset":29890,"count":0}],"isBlockCoverage":true},{"functionName":"createUnsafeBuffer","ranges":[{"startOffset":30291,"endOffset":30427,"count":59}],"isBlockCoverage":true},{"functionName":"reconnectZeroFillToggle","ranges":[{"startOffset":30682,"endOffset":30754,"count":1}],"isBlockCoverage":true}]},{"scriptId":"98","url":"node:internal/worker/js_transferable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2208,"count":1}],"isBlockCoverage":false},{"functionName":"setup","ranges":[{"startOffset":478,"endOffset":1311,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":759,"endOffset":1307,"count":0}],"isBlockCoverage":false},{"functionName":"makeTransferable","ranges":[{"startOffset":1313,"endOffset":1968,"count":0}],"isBlockCoverage":false}]},{"scriptId":"99","url":"node:internal/process/per_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12464,"count":1}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":1145,"endOffset":1233,"count":0}],"isBlockCoverage":false},{"functionName":"refreshHrtimeBuffer","ranges":[{"startOffset":1388,"endOffset":1856,"count":2}],"isBlockCoverage":true},{"functionName":"hrtime","ranges":[{"startOffset":1905,"endOffset":2407,"count":0}],"isBlockCoverage":false},{"functionName":"hrtimeBigInt","ranges":[{"startOffset":2409,"endOffset":2490,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2492,"endOffset":2509,"count":0}],"isBlockCoverage":false},{"functionName":"wrapProcessMethods","ranges":[{"startOffset":2587,"endOffset":7477,"count":1}],"isBlockCoverage":true},{"functionName":"_rawDebug","ranges":[{"startOffset":2754,"endOffset":2844,"count":0}],"isBlockCoverage":false},{"functionName":"cpuUsage","ranges":[{"startOffset":3055,"endOffset":4207,"count":0}],"isBlockCoverage":false},{"functionName":"previousValueIsValid","ranges":[{"startOffset":4360,"endOffset":4497,"count":0}],"isBlockCoverage":false},{"functionName":"memoryUsage","ranges":[{"startOffset":4542,"endOffset":4769,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":4799,"endOffset":5938,"count":1}],"isBlockCoverage":true},{"functionName":"kill","ranges":[{"startOffset":5942,"endOffset":6587,"count":0}],"isBlockCoverage":false},{"functionName":"resourceUsage","ranges":[{"startOffset":6638,"endOffset":7372,"count":0}],"isBlockCoverage":false},{"functionName":"buildAllowedFlags","ranges":[{"startOffset":7688,"endOffset":11790,"count":1},{"startOffset":7976,"endOffset":8267,"count":159},{"startOffset":8028,"endOffset":8263,"count":124},{"startOffset":8125,"endOffset":8257,"count":62},{"startOffset":8735,"endOffset":9157,"count":23},{"startOffset":8789,"endOffset":9153,"count":11},{"startOffset":8878,"endOffset":8947,"count":2},{"startOffset":9012,"endOffset":9081,"count":0}],"isBlockCoverage":true},{"functionName":"isAccepted","ranges":[{"startOffset":8271,"endOffset":8683,"count":29},{"startOffset":8341,"endOffset":8355,"count":28},{"startOffset":8357,"endOffset":8369,"count":2},{"startOffset":8369,"endOffset":8446,"count":27},{"startOffset":8446,"endOffset":8615,"count":2},{"startOffset":8496,"endOffset":8543,"count":1},{"startOffset":8615,"endOffset":8682,"count":25}],"isBlockCoverage":true},{"functionName":"trimLeadingDashes","ranges":[{"startOffset":9191,"endOffset":9253,"count":197}],"isBlockCoverage":true},{"functionName":"NodeEnvironmentFlagsSet","ranges":[{"startOffset":9563,"endOffset":9639,"count":1}],"isBlockCoverage":true},{"functionName":"add","ranges":[{"startOffset":9645,"endOffset":9714,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":9720,"endOffset":9793,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":9799,"endOffset":9851,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":9857,"endOffset":10672,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":10678,"endOffset":10843,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":10849,"endOffset":11026,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":11032,"endOffset":11093,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":11099,"endOffset":11262,"count":0}],"isBlockCoverage":false},{"functionName":"toggleTraceCategoryState","ranges":[{"startOffset":11980,"endOffset":12310,"count":1},{"startOffset":12060,"endOffset":12235,"count":0},{"startOffset":12267,"endOffset":12308,"count":0}],"isBlockCoverage":true}]},{"scriptId":"100","url":"node:internal/process/task_queues","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4285,"count":1}],"isBlockCoverage":false},{"functionName":"hasTickScheduled","ranges":[{"startOffset":982,"endOffset":1057,"count":0}],"isBlockCoverage":false},{"functionName":"setHasTickScheduled","ranges":[{"startOffset":1059,"endOffset":1145,"count":2},{"startOffset":1135,"endOffset":1138,"count":1},{"startOffset":1139,"endOffset":1142,"count":1}],"isBlockCoverage":true},{"functionName":"runNextTicks","ranges":[{"startOffset":1247,"endOffset":1443,"count":0}],"isBlockCoverage":false},{"functionName":"processTicksAndRejections","ranges":[{"startOffset":1445,"endOffset":2424,"count":1},{"startOffset":1547,"endOffset":2279,"count":2},{"startOffset":1781,"endOffset":2155,"count":0},{"startOffset":2217,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"nextTick","ranges":[{"startOffset":2568,"endOffset":3442,"count":2},{"startOffset":2669,"endOffset":2676,"count":0},{"startOffset":2743,"endOffset":2780,"count":0},{"startOffset":2785,"endOffset":2836,"count":0},{"startOffset":2841,"endOffset":2906,"count":0},{"startOffset":2911,"endOffset":3054,"count":0},{"startOffset":3083,"endOffset":3109,"count":1},{"startOffset":3354,"endOffset":3414,"count":0}],"isBlockCoverage":true},{"functionName":"runMicrotask","ranges":[{"startOffset":3444,"endOffset":3620,"count":0}],"isBlockCoverage":false},{"functionName":"queueMicrotask","ranges":[{"startOffset":3692,"endOffset":3981,"count":0}],"isBlockCoverage":false},{"functionName":"setupTaskQueue","ranges":[{"startOffset":4004,"endOffset":4262,"count":1}],"isBlockCoverage":true}]},{"scriptId":"101","url":"node:internal/process/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11045,"count":1}],"isBlockCoverage":false},{"functionName":"setHasRejectionToWarn","ranges":[{"startOffset":2155,"endOffset":2245,"count":1},{"startOffset":2235,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"hasRejectionToWarn","ranges":[{"startOffset":2247,"endOffset":2326,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorLike","ranges":[{"startOffset":2328,"endOffset":2464,"count":0}],"isBlockCoverage":false},{"functionName":"getUnhandledRejectionsMode","ranges":[{"startOffset":2466,"endOffset":2999,"count":0}],"isBlockCoverage":false},{"functionName":"promiseRejectHandler","ranges":[{"startOffset":3001,"endOffset":3570,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3619,"endOffset":3627,"count":0}],"isBlockCoverage":false},{"functionName":"resolveError","ranges":[{"startOffset":3698,"endOffset":3995,"count":0}],"isBlockCoverage":false},{"functionName":"unhandledRejection","ranges":[{"startOffset":3997,"endOffset":4557,"count":0}],"isBlockCoverage":false},{"functionName":"handledRejection","ranges":[{"startOffset":4559,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionWarning","ranges":[{"startOffset":5462,"endOffset":6499,"count":0}],"isBlockCoverage":false},{"functionName":"processPromiseRejections","ranges":[{"startOffset":6672,"endOffset":9849,"count":1},{"startOffset":6830,"endOffset":7009,"count":0},{"startOffset":7074,"endOffset":9753,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithoutStack","ranges":[{"startOffset":9851,"endOffset":10366,"count":0}],"isBlockCoverage":false},{"functionName":"generateUnhandledRejectionError","ranges":[{"startOffset":10368,"endOffset":10838,"count":0}],"isBlockCoverage":false},{"functionName":"listenForRejections","ranges":[{"startOffset":10840,"endOffset":10924,"count":1}],"isBlockCoverage":true}]},{"scriptId":"102","url":"node:internal/fixed_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4208,"count":1}],"isBlockCoverage":false},{"functionName":"FixedCircularBuffer","ranges":[{"startOffset":2959,"endOffset":3073,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3077,"endOffset":3129,"count":6}],"isBlockCoverage":true},{"functionName":"isFull","ranges":[{"startOffset":3133,"endOffset":3200,"count":2}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3204,"endOffset":3291,"count":2}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3295,"endOffset":3510,"count":3},{"startOffset":3388,"endOffset":3400,"count":1},{"startOffset":3400,"endOffset":3509,"count":2}],"isBlockCoverage":true},{"functionName":"FixedQueue","ranges":[{"startOffset":3552,"endOffset":3626,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3630,"endOffset":3677,"count":3}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3681,"endOffset":3945,"count":2},{"startOffset":3722,"endOffset":3915,"count":0}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3949,"endOffset":4204,"count":3},{"startOffset":4041,"endOffset":4062,"count":2},{"startOffset":4064,"endOffset":4183,"count":0}],"isBlockCoverage":true}]},{"scriptId":"103","url":"node:async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10295,"count":1}],"isBlockCoverage":false},{"functionName":"AsyncHook","ranges":[{"startOffset":1538,"endOffset":2372,"count":1},{"startOffset":1666,"endOffset":1708,"count":0},{"startOffset":1738,"endOffset":1769,"count":0},{"startOffset":1777,"endOffset":1821,"count":0},{"startOffset":1850,"endOffset":1880,"count":0},{"startOffset":1888,"endOffset":1931,"count":0},{"startOffset":1962,"endOffset":1994,"count":0},{"startOffset":2002,"endOffset":2047,"count":0},{"startOffset":2085,"endOffset":2124,"count":0},{"startOffset":2132,"endOffset":2184,"count":0}],"isBlockCoverage":true},{"functionName":"enable","ranges":[{"startOffset":2376,"endOffset":3621,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":3625,"endOffset":4409,"count":0}],"isBlockCoverage":false},{"functionName":"createHook","ranges":[{"startOffset":4414,"endOffset":4471,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncResource","ranges":[{"startOffset":4564,"endOffset":5761,"count":0}],"isBlockCoverage":false},{"functionName":"runInAsyncScope","ranges":[{"startOffset":5765,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":6085,"endOffset":6260,"count":0}],"isBlockCoverage":false},{"functionName":"asyncId","ranges":[{"startOffset":6264,"endOffset":6313,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":6317,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":6385,"endOffset":7421,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":7432,"endOffset":7569,"count":0}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":7632,"endOffset":7920,"count":0}],"isBlockCoverage":false},{"functionName":"AsyncLocalStorage","ranges":[{"startOffset":7955,"endOffset":8052,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":8063,"endOffset":8112,"count":0}],"isBlockCoverage":false},{"functionName":"snapshot","ranges":[{"startOffset":8123,"endOffset":8204,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":8208,"endOffset":8533,"count":0}],"isBlockCoverage":false},{"functionName":"_enable","ranges":[{"startOffset":8537,"endOffset":8683,"count":0}],"isBlockCoverage":false},{"functionName":"_propagate","ranges":[{"startOffset":8752,"endOffset":8932,"count":0}],"isBlockCoverage":false},{"functionName":"enterWith","ranges":[{"startOffset":8936,"endOffset":9068,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":9072,"endOffset":9570,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":9574,"endOffset":9806,"count":0}],"isBlockCoverage":false},{"functionName":"getStore","ranges":[{"startOffset":9810,"endOffset":9949,"count":0}],"isBlockCoverage":false}]},{"scriptId":"104","url":"node:timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9640,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1819,"endOffset":1844,"count":0}],"isBlockCoverage":false},{"functionName":"unenroll","ranges":[{"startOffset":2343,"endOffset":3527,"count":0}],"isBlockCoverage":false},{"functionName":"enroll","ranges":[{"startOffset":3734,"endOffset":3987,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":4229,"endOffset":4886,"count":1},{"startOffset":4396,"endOffset":4403,"count":0},{"startOffset":4433,"endOffset":4474,"count":0},{"startOffset":4479,"endOffset":4526,"count":0},{"startOffset":4531,"endOffset":4752,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4981,"endOffset":5106,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimeout","ranges":[{"startOffset":5206,"endOffset":5572,"count":12},{"startOffset":5249,"endOffset":5268,"count":0},{"startOffset":5270,"endOffset":5337,"count":0},{"startOffset":5400,"endOffset":5570,"count":0}],"isBlockCoverage":true},{"functionName":"setInterval","ranges":[{"startOffset":5809,"endOffset":6468,"count":0}],"isBlockCoverage":false},{"functionName":"clearInterval","ranges":[{"startOffset":6565,"endOffset":6863,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.close","ranges":[{"startOffset":6891,"endOffset":6942,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":6980,"endOffset":7016,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":7126,"endOffset":7287,"count":0}],"isBlockCoverage":false},{"functionName":"setImmediate","ranges":[{"startOffset":7504,"endOffset":8057,"count":1},{"startOffset":7691,"endOffset":7732,"count":0},{"startOffset":7737,"endOffset":7784,"count":0},{"startOffset":7789,"endOffset":8010,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8154,"endOffset":8281,"count":0}],"isBlockCoverage":false},{"functionName":"clearImmediate","ranges":[{"startOffset":8372,"endOffset":8922,"count":0}],"isBlockCoverage":false},{"functionName":"Immediate.","ranges":[{"startOffset":8961,"endOffset":8999,"count":0}],"isBlockCoverage":false}]},{"scriptId":"105","url":"node:internal/process/execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6918,"count":1}],"isBlockCoverage":false},{"functionName":"tryGetCwd","ranges":[{"startOffset":681,"endOffset":1011,"count":1},{"startOffset":742,"endOffset":1009,"count":0}],"isBlockCoverage":true},{"functionName":"evalModule","ranges":[{"startOffset":1013,"endOffset":1407,"count":0}],"isBlockCoverage":false},{"functionName":"evalScript","ranges":[{"startOffset":1409,"endOffset":3230,"count":0}],"isBlockCoverage":false},{"functionName":"setUncaughtExceptionCaptureCallback","ranges":[{"startOffset":3308,"endOffset":4002,"count":0}],"isBlockCoverage":false},{"functionName":"hasUncaughtExceptionCaptureCallback","ranges":[{"startOffset":4004,"endOffset":4105,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4107,"endOffset":4125,"count":0}],"isBlockCoverage":false},{"functionName":"createOnGlobalUncaughtException","ranges":[{"startOffset":4668,"endOffset":6491,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4937,"endOffset":6488,"count":0}],"isBlockCoverage":false},{"functionName":"readStdin","ranges":[{"startOffset":6493,"endOffset":6698,"count":0}],"isBlockCoverage":false}]},{"scriptId":"106","url":"node:path","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":46851,"count":1}],"isBlockCoverage":false},{"functionName":"isPathSeparator","ranges":[{"startOffset":1719,"endOffset":1823,"count":0}],"isBlockCoverage":false},{"functionName":"isPosixPathSeparator","ranges":[{"startOffset":1825,"endOffset":1902,"count":269597}],"isBlockCoverage":true},{"functionName":"isWindowsDeviceRoot","ranges":[{"startOffset":1904,"endOffset":2074,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeString","ranges":[{"startOffset":2137,"endOffset":4085,"count":3842},{"startOffset":2354,"endOffset":4069,"count":269222},{"startOffset":2387,"endOffset":2429,"count":265380},{"startOffset":2429,"endOffset":2520,"count":3842},{"startOffset":2472,"endOffset":2478,"count":3467},{"startOffset":2478,"endOffset":2520,"count":375},{"startOffset":2520,"endOffset":2553,"count":265755},{"startOffset":2553,"endOffset":3970,"count":32646},{"startOffset":2585,"endOffset":2598,"count":27559},{"startOffset":2600,"endOffset":2625,"count":5714},{"startOffset":2625,"endOffset":3927,"count":26932},{"startOffset":2647,"endOffset":3682,"count":128},{"startOffset":2676,"endOffset":2702,"count":69},{"startOffset":2703,"endOffset":2777,"count":4},{"startOffset":2778,"endOffset":2852,"count":4},{"startOffset":2854,"endOffset":3542,"count":124},{"startOffset":2886,"endOffset":3363,"count":65},{"startOffset":3006,"endOffset":3082,"count":0},{"startOffset":3363,"endOffset":3532,"count":59},{"startOffset":3391,"endOffset":3532,"count":0},{"startOffset":3542,"endOffset":3674,"count":63},{"startOffset":3605,"endOffset":3623,"count":4},{"startOffset":3624,"endOffset":3630,"count":59},{"startOffset":3682,"endOffset":3927,"count":26804},{"startOffset":3728,"endOffset":3797,"count":23021},{"startOffset":3797,"endOffset":3872,"count":3783},{"startOffset":3927,"endOffset":3970,"count":32581},{"startOffset":3970,"endOffset":4065,"count":233109},{"startOffset":3998,"endOffset":4012,"count":3687},{"startOffset":4014,"endOffset":4035,"count":887},{"startOffset":4035,"endOffset":4065,"count":232222}],"isBlockCoverage":true},{"functionName":"formatExt","ranges":[{"startOffset":4087,"endOffset":4172,"count":0}],"isBlockCoverage":false},{"functionName":"_format","ranges":[{"startOffset":4350,"endOffset":4685,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":4803,"endOffset":9588,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":9654,"endOffset":12725,"count":0}],"isBlockCoverage":false},{"functionName":"isAbsolute","ranges":[{"startOffset":12792,"endOffset":13208,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13277,"endOffset":15423,"count":0}],"isBlockCoverage":false},{"functionName":"relative","ranges":[{"startOffset":15719,"endOffset":19486,"count":0}],"isBlockCoverage":false},{"functionName":"toNamespacedPath","ranges":[{"startOffset":19552,"endOffset":20654,"count":0}],"isBlockCoverage":false},{"functionName":"dirname","ranges":[{"startOffset":20720,"endOffset":23266,"count":0}],"isBlockCoverage":false},{"functionName":"basename","ranges":[{"startOffset":23362,"endOffset":26136,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":26202,"endOffset":28275,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":28497,"endOffset":33253,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33339,"endOffset":33782,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33526,"endOffset":33683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33760,"endOffset":33779,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":33904,"endOffset":34827,"count":3467},{"startOffset":34027,"endOffset":34047,"count":9234},{"startOffset":34054,"endOffset":34381,"count":5767},{"startOffset":34092,"endOffset":34104,"count":0},{"startOffset":34207,"endOffset":34234,"count":0},{"startOffset":34766,"endOffset":34816,"count":0},{"startOffset":34817,"endOffset":34822,"count":0}],"isBlockCoverage":true},{"functionName":"normalize","ranges":[{"startOffset":34893,"endOffset":35506,"count":375},{"startOffset":34979,"endOffset":34990,"count":0},{"startOffset":35318,"endOffset":35412,"count":0},{"startOffset":35446,"endOffset":35458,"count":0},{"startOffset":35482,"endOffset":35494,"count":3},{"startOffset":35495,"endOffset":35501,"count":372}],"isBlockCoverage":true},{"functionName":"isAbsolute","ranges":[{"startOffset":35573,"endOffset":35729,"count":620}],"isBlockCoverage":true},{"functionName":"join","ranges":[{"startOffset":35798,"endOffset":36212,"count":3},{"startOffset":35847,"endOffset":35858,"count":0},{"startOffset":35917,"endOffset":36124,"count":6},{"startOffset":36053,"endOffset":36110,"count":3},{"startOffset":36161,"endOffset":36172,"count":0}],"isBlockCoverage":true},{"functionName":"relative","ranges":[{"startOffset":36302,"endOffset":38662,"count":2},{"startOffset":36415,"endOffset":36425,"count":0},{"startOffset":36552,"endOffset":36562,"count":0},{"startOffset":36835,"endOffset":36842,"count":0},{"startOffset":36916,"endOffset":37151,"count":70},{"startOffset":37064,"endOffset":37070,"count":0},{"startOffset":37127,"endOffset":37145,"count":6},{"startOffset":37483,"endOffset":37665,"count":0},{"startOffset":37673,"endOffset":38130,"count":0},{"startOffset":38136,"endOffset":38661,"count":0}],"isBlockCoverage":true},{"functionName":"toNamespacedPath","ranges":[{"startOffset":38728,"endOffset":38804,"count":3084}],"isBlockCoverage":true},{"functionName":"dirname","ranges":[{"startOffset":38870,"endOffset":39546,"count":1602},{"startOffset":38953,"endOffset":38964,"count":0},{"startOffset":39138,"endOffset":39391,"count":19000},{"startOffset":39209,"endOffset":39293,"count":1602},{"startOffset":39293,"endOffset":39385,"count":17398},{"startOffset":39419,"endOffset":39446,"count":0},{"startOffset":39483,"endOffset":39495,"count":0}],"isBlockCoverage":true},{"functionName":"basename","ranges":[{"startOffset":39642,"endOffset":42069,"count":378},{"startOffset":39703,"endOffset":39733,"count":0},{"startOffset":39865,"endOffset":39885,"count":0},{"startOffset":39886,"endOffset":39917,"count":0},{"startOffset":39919,"endOffset":41443,"count":0},{"startOffset":41491,"endOffset":41976,"count":4549},{"startOffset":41562,"endOffset":41786,"count":378},{"startOffset":41786,"endOffset":41970,"count":4171},{"startOffset":41808,"endOffset":41970,"count":378},{"startOffset":42004,"endOffset":42014,"count":0}],"isBlockCoverage":true},{"functionName":"extname","ranges":[{"startOffset":42135,"endOffset":43825,"count":1},{"startOffset":42468,"endOffset":43430,"count":13},{"startOffset":42564,"endOffset":42810,"count":1},{"startOffset":42784,"endOffset":42810,"count":0},{"startOffset":42810,"endOffset":42833,"count":12},{"startOffset":42833,"endOffset":42990,"count":1},{"startOffset":42990,"endOffset":43020,"count":12},{"startOffset":43020,"endOffset":43220,"count":1},{"startOffset":43149,"endOffset":43212,"count":0},{"startOffset":43220,"endOffset":43424,"count":11},{"startOffset":43247,"endOffset":43424,"count":7},{"startOffset":43669,"endOffset":43701,"count":0},{"startOffset":43702,"endOffset":43740,"count":0},{"startOffset":43743,"endOffset":43767,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":44052,"endOffset":46524,"count":0}],"isBlockCoverage":false}]},{"scriptId":"107","url":"node:internal/constants","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1583,"count":1}],"isBlockCoverage":false}]},{"scriptId":"108","url":"node:internal/process/warning","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5379,"count":1}],"isBlockCoverage":false},{"functionName":"resetForSerialization","ranges":[{"startOffset":448,"endOffset":645,"count":0}],"isBlockCoverage":false},{"functionName":"lazyOption","ranges":[{"startOffset":647,"endOffset":1201,"count":0}],"isBlockCoverage":false},{"functionName":"writeOut","ranges":[{"startOffset":1302,"endOffset":1424,"count":0}],"isBlockCoverage":false},{"functionName":"closeFdOnExit","ranges":[{"startOffset":1426,"endOffset":1537,"count":0}],"isBlockCoverage":false},{"functionName":"writeToFile","ranges":[{"startOffset":1539,"endOffset":1868,"count":0}],"isBlockCoverage":false},{"functionName":"doEmitWarning","ranges":[{"startOffset":1870,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"onWarning","ranges":[{"startOffset":1943,"endOffset":3092,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarning","ranges":[{"startOffset":3215,"endOffset":4406,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarningSync","ranges":[{"startOffset":4408,"endOffset":4538,"count":0}],"isBlockCoverage":false},{"functionName":"createWarningObject","ranges":[{"startOffset":4540,"endOffset":5283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"109","url":"node:internal/source_map/source_map_cache","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10127,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":357,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":824,"endOffset":939,"count":1}],"isBlockCoverage":true},{"functionName":"getSourceMapsEnabled","ranges":[{"startOffset":1596,"endOffset":1659,"count":74}],"isBlockCoverage":true},{"functionName":"setSourceMapsEnabled","ranges":[{"startOffset":1661,"endOffset":2203,"count":1},{"startOffset":1924,"endOffset":2173,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceURLMagicComment","ranges":[{"startOffset":2205,"endOffset":2805,"count":10},{"startOffset":2507,"endOffset":2540,"count":0},{"startOffset":2593,"endOffset":2729,"count":0},{"startOffset":2731,"endOffset":2804,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceMapURLMagicComment","ranges":[{"startOffset":2807,"endOffset":3250,"count":58},{"startOffset":3128,"endOffset":3156,"count":0},{"startOffset":3204,"endOffset":3249,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheSourceMap","ranges":[{"startOffset":3252,"endOffset":5023,"count":66},{"startOffset":3454,"endOffset":3474,"count":0},{"startOffset":3477,"endOffset":3484,"count":0},{"startOffset":3618,"endOffset":3742,"count":0},{"startOffset":3778,"endOffset":3844,"count":58},{"startOffset":3933,"endOffset":3950,"count":58},{"startOffset":3950,"endOffset":4122,"count":8},{"startOffset":4123,"endOffset":4137,"count":0},{"startOffset":4164,"endOffset":4349,"count":0},{"startOffset":4349,"endOffset":5021,"count":8},{"startOffset":4378,"endOffset":4644,"count":0},{"startOffset":4963,"endOffset":5017,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheGeneratedSourceMap","ranges":[{"startOffset":5025,"endOffset":5553,"count":2},{"startOffset":5163,"endOffset":5183,"count":0},{"startOffset":5186,"endOffset":5193,"count":0},{"startOffset":5297,"endOffset":5551,"count":0}],"isBlockCoverage":true},{"functionName":"dataFromUrl","ranges":[{"startOffset":5555,"endOffset":6075,"count":8},{"startOffset":5692,"endOffset":5767,"count":0},{"startOffset":5774,"endOffset":5854,"count":0}],"isBlockCoverage":true},{"functionName":"lineLengths","ranges":[{"startOffset":6265,"endOffset":6610,"count":8}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6567,"endOffset":6606,"count":712}],"isBlockCoverage":true},{"functionName":"sourceMapFromFile","ranges":[{"startOffset":6612,"endOffset":6892,"count":8},{"startOffset":6840,"endOffset":6890,"count":0}],"isBlockCoverage":true},{"functionName":"sourceMapFromDataUrl","ranges":[{"startOffset":6986,"endOffset":7657,"count":0}],"isBlockCoverage":false},{"functionName":"sourcesToAbsolute","ranges":[{"startOffset":7842,"endOffset":8169,"count":8}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7920,"endOffset":8026,"count":8}],"isBlockCoverage":true},{"functionName":"sourceMapCacheToObject","ranges":[{"startOffset":8607,"endOffset":8855,"count":0}],"isBlockCoverage":false},{"functionName":"appendCJSCache","ranges":[{"startOffset":8857,"endOffset":9083,"count":0}],"isBlockCoverage":false},{"functionName":"findSourceMap","ranges":[{"startOffset":9085,"endOffset":9957,"count":1},{"startOffset":9499,"endOffset":9692,"count":0},{"startOffset":9751,"endOffset":9956,"count":0}],"isBlockCoverage":true}]},{"scriptId":"110","url":"node:internal/url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43440,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBlob","ranges":[{"startOffset":2768,"endOffset":2843,"count":0}],"isBlockCoverage":false},{"functionName":"lazyCryptoRandom","ranges":[{"startOffset":2845,"endOffset":3079,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3462,"endOffset":4251,"count":1326}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3589,"endOffset":3617,"count":1}],"isBlockCoverage":false},{"functionName":"get hasPort","ranges":[{"startOffset":4030,"endOffset":4095,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSearch","ranges":[{"startOffset":4099,"endOffset":4174,"count":1598}],"isBlockCoverage":true},{"functionName":"get hasHash","ranges":[{"startOffset":4178,"endOffset":4249,"count":1598}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4337,"endOffset":6674,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7067,"endOffset":19940,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7158,"endOffset":7494,"count":1}],"isBlockCoverage":false},{"functionName":"setURLSearchParamsContext","ranges":[{"startOffset":7199,"endOffset":7246,"count":0}],"isBlockCoverage":false},{"functionName":"getURLSearchParamsList","ranges":[{"startOffset":7277,"endOffset":7303,"count":0}],"isBlockCoverage":false},{"functionName":"setURLSearchParams","ranges":[{"startOffset":7330,"endOffset":7489,"count":0}],"isBlockCoverage":false},{"functionName":"isURL","ranges":[{"startOffset":21271,"endOffset":21396,"count":1686},{"startOffset":21322,"endOffset":21338,"count":745},{"startOffset":21339,"endOffset":21365,"count":745},{"startOffset":21366,"endOffset":21392,"count":745}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21398,"endOffset":29200,"count":1401}],"isBlockCoverage":false},{"functionName":"URL","ranges":[{"startOffset":21461,"endOffset":21761,"count":1401},{"startOffset":21532,"endOffset":21580,"count":0},{"startOffset":21669,"endOffset":21700,"count":679}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21765,"endOffset":22485,"count":0}],"isBlockCoverage":false},{"functionName":"#updateContext","ranges":[{"startOffset":22489,"endOffset":23396,"count":1501},{"startOffset":23205,"endOffset":23392,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":23400,"endOffset":23447,"count":533}],"isBlockCoverage":true},{"functionName":"get href","ranges":[{"startOffset":23451,"endOffset":23498,"count":1019}],"isBlockCoverage":true},{"functionName":"set href","ranges":[{"startOffset":23502,"endOffset":23711,"count":0}],"isBlockCoverage":false},{"functionName":"get origin","ranges":[{"startOffset":23729,"endOffset":24598,"count":0}],"isBlockCoverage":false},{"functionName":"get protocol","ranges":[{"startOffset":24602,"endOffset":24706,"count":2220}],"isBlockCoverage":true},{"functionName":"set protocol","ranges":[{"startOffset":24710,"endOffset":24883,"count":0}],"isBlockCoverage":false},{"functionName":"get username","ranges":[{"startOffset":24887,"endOffset":25114,"count":0}],"isBlockCoverage":false},{"functionName":"set username","ranges":[{"startOffset":25118,"endOffset":25291,"count":0}],"isBlockCoverage":false},{"functionName":"get password","ranges":[{"startOffset":25295,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"set password","ranges":[{"startOffset":25522,"endOffset":25695,"count":0}],"isBlockCoverage":false},{"functionName":"get host","ranges":[{"startOffset":25699,"endOffset":26130,"count":0}],"isBlockCoverage":false},{"functionName":"set host","ranges":[{"startOffset":26134,"endOffset":26299,"count":0}],"isBlockCoverage":false},{"functionName":"get hostname","ranges":[{"startOffset":26303,"endOffset":26585,"count":696},{"startOffset":26469,"endOffset":26494,"count":0}],"isBlockCoverage":true},{"functionName":"set hostname","ranges":[{"startOffset":26589,"endOffset":26762,"count":0}],"isBlockCoverage":false},{"functionName":"get port","ranges":[{"startOffset":26766,"endOffset":26874,"count":0}],"isBlockCoverage":false},{"functionName":"set port","ranges":[{"startOffset":26878,"endOffset":27043,"count":0}],"isBlockCoverage":false},{"functionName":"get pathname","ranges":[{"startOffset":27047,"endOffset":27339,"count":1491},{"startOffset":27113,"endOffset":27163,"count":0},{"startOffset":27196,"endOffset":27244,"count":0}],"isBlockCoverage":true},{"functionName":"set pathname","ranges":[{"startOffset":27343,"endOffset":27516,"count":0}],"isBlockCoverage":false},{"functionName":"get search","ranges":[{"startOffset":27520,"endOffset":27855,"count":107},{"startOffset":27583,"endOffset":27854,"count":0}],"isBlockCoverage":true},{"functionName":"set search","ranges":[{"startOffset":27859,"endOffset":28036,"count":107}],"isBlockCoverage":true},{"functionName":"get searchParams","ranges":[{"startOffset":28054,"endOffset":28353,"count":0}],"isBlockCoverage":false},{"functionName":"get hash","ranges":[{"startOffset":28357,"endOffset":28572,"count":107},{"startOffset":28401,"endOffset":28463,"count":0},{"startOffset":28489,"endOffset":28571,"count":0}],"isBlockCoverage":true},{"functionName":"set hash","ranges":[{"startOffset":28576,"endOffset":28741,"count":107}],"isBlockCoverage":true},{"functionName":"toJSON","ranges":[{"startOffset":28745,"endOffset":28790,"count":0}],"isBlockCoverage":false},{"functionName":"canParse","ranges":[{"startOffset":28801,"endOffset":29198,"count":0}],"isBlockCoverage":false},{"functionName":"installObjectURLMethods","ranges":[{"startOffset":29910,"endOffset":30849,"count":1}],"isBlockCoverage":true},{"functionName":"createObjectURL","ranges":[{"startOffset":29997,"endOffset":30416,"count":0}],"isBlockCoverage":false},{"functionName":"revokeObjectURL","ranges":[{"startOffset":30420,"endOffset":30498,"count":0}],"isBlockCoverage":false},{"functionName":"parseParams","ranges":[{"startOffset":30958,"endOffset":33306,"count":0}],"isBlockCoverage":false},{"functionName":"serializeParams","ranges":[{"startOffset":34286,"endOffset":34846,"count":0}],"isBlockCoverage":false},{"functionName":"merge","ranges":[{"startOffset":34866,"endOffset":35496,"count":0}],"isBlockCoverage":false},{"functionName":"domainToASCII","ranges":[{"startOffset":35498,"endOffset":35683,"count":0}],"isBlockCoverage":false},{"functionName":"domainToUnicode","ranges":[{"startOffset":35685,"endOffset":35874,"count":0}],"isBlockCoverage":false},{"functionName":"urlToHttpOptions","ranges":[{"startOffset":36084,"endOffset":36785,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLWin32","ranges":[{"startOffset":36787,"endOffset":38284,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLPosix","ranges":[{"startOffset":38286,"endOffset":38807,"count":696},{"startOffset":38349,"endOffset":38405,"count":0},{"startOffset":38483,"endOffset":38766,"count":53086},{"startOffset":38514,"endOffset":38762,"count":0}],"isBlockCoverage":true},{"functionName":"fileURLToPath","ranges":[{"startOffset":38809,"endOffset":39148,"count":696},{"startOffset":38876,"endOffset":38897,"count":35},{"startOffset":38897,"endOffset":38991,"count":661},{"startOffset":38927,"endOffset":38991,"count":0},{"startOffset":39029,"endOffset":39070,"count":0},{"startOffset":39090,"endOffset":39117,"count":0}],"isBlockCoverage":true},{"functionName":"encodePathChars","ranges":[{"startOffset":39961,"endOffset":40737,"count":177},{"startOffset":40054,"endOffset":40125,"count":0},{"startOffset":40253,"endOffset":40326,"count":0},{"startOffset":40384,"endOffset":40455,"count":0},{"startOffset":40513,"endOffset":40591,"count":0},{"startOffset":40649,"endOffset":40716,"count":0}],"isBlockCoverage":true},{"functionName":"pathToFileURL","ranges":[{"startOffset":40739,"endOffset":42716,"count":177},{"startOffset":40790,"endOffset":40836,"count":0},{"startOffset":40838,"endOffset":41603,"count":0},{"startOffset":41885,"endOffset":41946,"count":176},{"startOffset":41906,"endOffset":41945,"count":0},{"startOffset":41948,"endOffset":41999,"count":1},{"startOffset":42005,"endOffset":42021,"count":1},{"startOffset":42477,"endOffset":42549,"count":0},{"startOffset":42606,"endOffset":42674,"count":0}],"isBlockCoverage":true},{"functionName":"toPathIfFileURL","ranges":[{"startOffset":42718,"endOffset":42855,"count":1001},{"startOffset":42793,"endOffset":42814,"count":917},{"startOffset":42814,"endOffset":42854,"count":84}],"isBlockCoverage":true},{"functionName":"getURLOrigin","ranges":[{"startOffset":43042,"endOffset":43108,"count":0}],"isBlockCoverage":false}]},{"scriptId":"111","url":"node:internal/querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3316,"count":1}],"isBlockCoverage":false},{"functionName":"encodeStr","ranges":[{"startOffset":1534,"endOffset":3253,"count":0}],"isBlockCoverage":false}]},{"scriptId":"112","url":"node:querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14583,"count":1}],"isBlockCoverage":false},{"functionName":"unescapeBuffer","ranges":[{"startOffset":3146,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"qsUnescape","ranges":[{"startOffset":4400,"endOffset":4565,"count":0}],"isBlockCoverage":false},{"functionName":"qsEscape","ranges":[{"startOffset":5418,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"stringifyPrimitive","ranges":[{"startOffset":5719,"endOffset":5989,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringified","ranges":[{"startOffset":6110,"endOffset":6599,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringifiedCustom","ranges":[{"startOffset":6718,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":7065,"endOffset":8131,"count":0}],"isBlockCoverage":false},{"functionName":"charCodes","ranges":[{"startOffset":8187,"endOffset":8455,"count":0}],"isBlockCoverage":false},{"functionName":"addKeyVal","ranges":[{"startOffset":8518,"endOffset":9141,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":9392,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"decodeStr","ranges":[{"startOffset":14459,"endOffset":14582,"count":0}],"isBlockCoverage":false}]},{"scriptId":"113","url":"node:internal/bootstrap/web/exposed-wildcard","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3439,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":900,"endOffset":1129,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1153,"endOffset":1265,"count":0}],"isBlockCoverage":false},{"functionName":"createGlobalConsole","ranges":[{"startOffset":1898,"endOffset":2437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"114","url":"node:internal/console/global","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1814,"count":1}],"isBlockCoverage":false}]},{"scriptId":"115","url":"node:internal/console/constructor","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21601,"count":1}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1875,"endOffset":1975,"count":0}],"isBlockCoverage":false},{"functionName":"Console","ranges":[{"startOffset":2721,"endOffset":4813,"count":1},{"startOffset":2999,"endOffset":3053,"count":0},{"startOffset":3110,"endOffset":3223,"count":0},{"startOffset":3428,"endOffset":3486,"count":0},{"startOffset":3540,"endOffset":3598,"count":0},{"startOffset":3637,"endOffset":3660,"count":0},{"startOffset":3666,"endOffset":3722,"count":0},{"startOffset":3762,"endOffset":3871,"count":0},{"startOffset":3909,"endOffset":4215,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4331,"endOffset":4697,"count":19}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5042,"endOffset":5096,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5366,"endOffset":5607,"count":1}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5832,"endOffset":6477,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6041,"endOffset":6136,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6148,"endOffset":6178,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6308,"endOffset":6407,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6419,"endOffset":6449,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":6569,"endOffset":7977,"count":2}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":8069,"endOffset":9521,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":9616,"endOffset":10026,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10119,"endOffset":10299,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10392,"endOffset":10572,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteErrorHandler","ranges":[{"startOffset":10662,"endOffset":11551,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10730,"endOffset":11548,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":11580,"endOffset":11667,"count":0}],"isBlockCoverage":false},{"functionName":"warn","ranges":[{"startOffset":11673,"endOffset":11761,"count":0}],"isBlockCoverage":false},{"functionName":"dir","ranges":[{"startOffset":11767,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"time","ranges":[{"startOffset":11958,"endOffset":12316,"count":0}],"isBlockCoverage":false},{"functionName":"timeEnd","ranges":[{"startOffset":12321,"endOffset":12610,"count":0}],"isBlockCoverage":false},{"functionName":"timeLog","ranges":[{"startOffset":12615,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"trace","ranges":[{"startOffset":12865,"endOffset":13052,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":13057,"endOffset":13297,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":13358,"endOffset":13830,"count":0}],"isBlockCoverage":false},{"functionName":"count","ranges":[{"startOffset":13891,"endOffset":14347,"count":0}],"isBlockCoverage":false},{"functionName":"countReset","ranges":[{"startOffset":14413,"endOffset":14701,"count":0}],"isBlockCoverage":false},{"functionName":"group","ranges":[{"startOffset":14706,"endOffset":14891,"count":0}],"isBlockCoverage":false},{"functionName":"groupEnd","ranges":[{"startOffset":14896,"endOffset":15065,"count":0}],"isBlockCoverage":false},{"functionName":"table","ranges":[{"startOffset":15114,"endOffset":18432,"count":0}],"isBlockCoverage":false},{"functionName":"timeLogImpl","ranges":[{"startOffset":18473,"endOffset":18992,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":18994,"endOffset":19071,"count":0}],"isBlockCoverage":false},{"functionName":"formatTime","ranges":[{"startOffset":19073,"endOffset":19846,"count":0}],"isBlockCoverage":false},{"functionName":"isArray","ranges":[{"startOffset":19980,"endOffset":20036,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":20039,"endOffset":20057,"count":0}],"isBlockCoverage":false},{"functionName":"initializeGlobalConsole","ranges":[{"startOffset":20425,"endOffset":21464,"count":1},{"startOffset":20793,"endOffset":21463,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21359,"endOffset":21460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"116","url":"node:internal/util/inspector","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3929,"count":1}],"isBlockCoverage":false},{"functionName":"isUsingInspector","ranges":[{"startOffset":698,"endOffset":1081,"count":0}],"isBlockCoverage":false},{"functionName":"getInspectPort","ranges":[{"startOffset":1108,"endOffset":1485,"count":0}],"isBlockCoverage":false},{"functionName":"sendInspectorCommand","ranges":[{"startOffset":1500,"endOffset":2046,"count":0}],"isBlockCoverage":false},{"functionName":"isInspectorMessage","ranges":[{"startOffset":2048,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"installConsoleExtensions","ranges":[{"startOffset":2248,"endOffset":2891,"count":0}],"isBlockCoverage":false},{"functionName":"wrapConsole","ranges":[{"startOffset":2970,"endOffset":3778,"count":1},{"startOffset":3137,"endOffset":3776,"count":24},{"startOffset":3368,"endOffset":3654,"count":19},{"startOffset":3654,"endOffset":3772,"count":5}],"isBlockCoverage":true}]},{"scriptId":"117","url":"node:internal/process/permission","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":919,"count":1}],"isBlockCoverage":false},{"functionName":"isEnabled","ranges":[{"startOffset":315,"endOffset":559,"count":1807},{"startOffset":375,"endOffset":520,"count":1}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":563,"endOffset":913,"count":0}],"isBlockCoverage":false}]},{"scriptId":"118","url":"node:internal/event_target","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31545,"count":1}],"isBlockCoverage":false},{"functionName":"get isTrusted","ranges":[{"startOffset":2074,"endOffset":2130,"count":0}],"isBlockCoverage":false},{"functionName":"isEvent","ranges":[{"startOffset":2268,"endOffset":2340,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2342,"endOffset":7042,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":7039,"count":1}],"isBlockCoverage":false},{"functionName":"isCustomEvent","ranges":[{"startOffset":8173,"endOffset":8267,"count":0}],"isBlockCoverage":false},{"functionName":"CustomEvent","ranges":[{"startOffset":8497,"endOffset":8689,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":8722,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"NodeCustomEvent","ranges":[{"startOffset":9118,"endOffset":9245,"count":0}],"isBlockCoverage":false},{"functionName":"weakListeners","ranges":[{"startOffset":9495,"endOffset":9822,"count":0}],"isBlockCoverage":false},{"functionName":"Listener","ranges":[{"startOffset":10502,"endOffset":11966,"count":13},{"startOffset":10837,"endOffset":10856,"count":0},{"startOffset":10880,"endOffset":10902,"count":0},{"startOffset":10926,"endOffset":10948,"count":0},{"startOffset":11029,"endOffset":11048,"count":0},{"startOffset":11086,"endOffset":11122,"count":0},{"startOffset":11194,"endOffset":11650,"count":0},{"startOffset":11763,"endOffset":11962,"count":0}],"isBlockCoverage":true},{"functionName":"Listener.callback","ranges":[{"startOffset":11793,"endOffset":11923,"count":0}],"isBlockCoverage":false},{"functionName":"get once","ranges":[{"startOffset":11970,"endOffset":12030,"count":6}],"isBlockCoverage":true},{"functionName":"get capture","ranges":[{"startOffset":12033,"endOffset":12099,"count":4}],"isBlockCoverage":true},{"functionName":"get passive","ranges":[{"startOffset":12102,"endOffset":12168,"count":6}],"isBlockCoverage":true},{"functionName":"get isNodeStyleListener","ranges":[{"startOffset":12171,"endOffset":12251,"count":12}],"isBlockCoverage":true},{"functionName":"get weak","ranges":[{"startOffset":12254,"endOffset":12314,"count":39}],"isBlockCoverage":true},{"functionName":"get resistStopPropagation","ranges":[{"startOffset":12317,"endOffset":12411,"count":0}],"isBlockCoverage":false},{"functionName":"get removed","ranges":[{"startOffset":12414,"endOffset":12480,"count":6}],"isBlockCoverage":true},{"functionName":"set removed","ranges":[{"startOffset":12483,"endOffset":12600,"count":17},{"startOffset":12525,"endOffset":12552,"count":4},{"startOffset":12552,"endOffset":12596,"count":13}],"isBlockCoverage":true},{"functionName":"same","ranges":[{"startOffset":12604,"endOffset":12771,"count":16},{"startOffset":12663,"endOffset":12686,"count":0},{"startOffset":12739,"endOffset":12766,"count":4}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":12775,"endOffset":13032,"count":4},{"startOffset":12900,"endOffset":12935,"count":2},{"startOffset":12986,"endOffset":13028,"count":0}],"isBlockCoverage":true},{"functionName":"initEventTarget","ranges":[{"startOffset":13036,"endOffset":13255,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13463,"endOffset":13493,"count":1}],"isBlockCoverage":false},{"functionName":"EventTarget","ranges":[{"startOffset":13498,"endOffset":13544,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13548,"endOffset":14353,"count":13},{"startOffset":13709,"endOffset":13757,"count":0},{"startOffset":13759,"endOffset":14349,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14356,"endOffset":14407,"count":4}],"isBlockCoverage":true},{"functionName":"addEventListener","ranges":[{"startOffset":14796,"endOffset":17514,"count":13},{"startOffset":14891,"endOffset":14933,"count":0},{"startOffset":14970,"endOffset":15017,"count":0},{"startOffset":15409,"endOffset":15862,"count":0},{"startOffset":15926,"endOffset":16310,"count":0},{"startOffset":16381,"endOffset":16873,"count":7},{"startOffset":16873,"endOffset":17028,"count":6},{"startOffset":17028,"endOffset":17063,"count":8},{"startOffset":17065,"endOffset":17128,"count":8},{"startOffset":17128,"endOffset":17161,"count":6},{"startOffset":17161,"endOffset":17203,"count":0},{"startOffset":17203,"endOffset":17513,"count":6}],"isBlockCoverage":true},{"functionName":"signal.addEventListener.__proto__","ranges":[{"startOffset":16141,"endOffset":16215,"count":0}],"isBlockCoverage":false},{"functionName":"removeEventListener","ranges":[{"startOffset":17672,"endOffset":18513,"count":4},{"startOffset":17770,"endOffset":17812,"count":0},{"startOffset":17849,"endOffset":17896,"count":0},{"startOffset":17945,"endOffset":17952,"count":0},{"startOffset":18151,"endOffset":18158,"count":0},{"startOffset":18223,"endOffset":18509,"count":8},{"startOffset":18268,"endOffset":18473,"count":4},{"startOffset":18356,"endOffset":18383,"count":0},{"startOffset":18473,"endOffset":18509,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18517,"endOffset":19138,"count":0}],"isBlockCoverage":false},{"functionName":"dispatchEvent","ranges":[{"startOffset":19180,"endOffset":19641,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19645,"endOffset":21941,"count":4},{"startOffset":19944,"endOffset":20020,"count":0},{"startOffset":20119,"endOffset":20219,"count":0},{"startOffset":20496,"endOffset":21866,"count":6},{"startOffset":20637,"endOffset":20646,"count":0},{"startOffset":20656,"endOffset":20689,"count":0},{"startOffset":20692,"endOffset":21022,"count":0},{"startOffset":21047,"endOffset":21217,"count":0},{"startOffset":21327,"endOffset":21375,"count":0},{"startOffset":21414,"endOffset":21450,"count":0},{"startOffset":21622,"endOffset":21680,"count":0},{"startOffset":21724,"endOffset":21742,"count":0},{"startOffset":21754,"endOffset":21771,"count":0},{"startOffset":21780,"endOffset":21837,"count":0},{"startOffset":21903,"endOffset":21937,"count":0}],"isBlockCoverage":true},{"functionName":"createEvent","ranges":[{"startOffset":19713,"endOffset":19913,"count":0}],"isBlockCoverage":false},{"functionName":"iterationCondition","ranges":[{"startOffset":20296,"endOffset":20461,"count":10},{"startOffset":20337,"endOffset":20368,"count":4},{"startOffset":20368,"endOffset":20427,"count":6},{"startOffset":20428,"endOffset":20454,"count":6},{"startOffset":20436,"endOffset":20445,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21945,"endOffset":22043,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22046,"endOffset":22425,"count":0}],"isBlockCoverage":false},{"functionName":"initNodeEventTarget","ranges":[{"startOffset":22750,"endOffset":22813,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":22899,"endOffset":22930,"count":1}],"isBlockCoverage":false},{"functionName":"NodeEventTarget","ranges":[{"startOffset":22935,"endOffset":22998,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":23037,"endOffset":23191,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":23230,"endOffset":23383,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":23424,"endOffset":23573,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":23638,"endOffset":23847,"count":0}],"isBlockCoverage":false},{"functionName":"off","ranges":[{"startOffset":24037,"endOffset":24230,"count":4},{"startOffset":24108,"endOffset":24154,"count":0}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":24420,"endOffset":24624,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":24755,"endOffset":24960,"count":13},{"startOffset":24816,"endOffset":24862,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":25091,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":25393,"endOffset":25653,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":25784,"endOffset":26029,"count":0}],"isBlockCoverage":false},{"functionName":"removeAllListeners","ranges":[{"startOffset":26105,"endOffset":26360,"count":0}],"isBlockCoverage":false},{"functionName":"validateEventListener","ranges":[{"startOffset":26825,"endOffset":27197,"count":17},{"startOffset":26905,"endOffset":26957,"count":0},{"startOffset":26981,"endOffset":27196,"count":0}],"isBlockCoverage":true},{"functionName":"validateEventListenerOptions","ranges":[{"startOffset":27199,"endOffset":27778,"count":13},{"startOffset":27288,"endOffset":27316,"count":0},{"startOffset":27346,"endOffset":27366,"count":0}],"isBlockCoverage":true},{"functionName":"isEventTarget","ranges":[{"startOffset":28083,"endOffset":28159,"count":17}],"isBlockCoverage":true},{"functionName":"isNodeEventTarget","ranges":[{"startOffset":28161,"endOffset":28245,"count":17}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":28247,"endOffset":28561,"count":0}],"isBlockCoverage":false},{"functionName":"emitUncaughtException","ranges":[{"startOffset":28563,"endOffset":28644,"count":0}],"isBlockCoverage":false},{"functionName":"makeEventHandler","ranges":[{"startOffset":28646,"endOffset":29055,"count":0}],"isBlockCoverage":false},{"functionName":"defineEventHandler","ranges":[{"startOffset":29057,"endOffset":30523,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":29217,"endOffset":29353,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":29452,"endOffset":30290,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterMixin","ranges":[{"startOffset":30551,"endOffset":31241,"count":1},{"startOffset":30982,"endOffset":31144,"count":18}],"isBlockCoverage":true},{"functionName":"MixedEventEmitter","ranges":[{"startOffset":30620,"endOffset":30761,"count":58}],"isBlockCoverage":true}]},{"scriptId":"119","url":"node:util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10913,"count":1}],"isBlockCoverage":false},{"functionName":"lazyAbortController","ranges":[{"startOffset":2369,"endOffset":2489,"count":24}],"isBlockCoverage":true},{"functionName":"isBoolean","ranges":[{"startOffset":2600,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"isNull","ranges":[{"startOffset":2746,"endOffset":2793,"count":0}],"isBlockCoverage":false},{"functionName":"isNullOrUndefined","ranges":[{"startOffset":2891,"endOffset":2970,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":3056,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":3174,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbol","ranges":[{"startOffset":3320,"endOffset":3380,"count":0}],"isBlockCoverage":false},{"functionName":"isUndefined","ranges":[{"startOffset":3469,"endOffset":3526,"count":0}],"isBlockCoverage":false},{"functionName":"isObject","ranges":[{"startOffset":3623,"endOffset":3699,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":3782,"endOffset":3885,"count":0}],"isBlockCoverage":false},{"functionName":"isFunction","ranges":[{"startOffset":3973,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"isPrimitive","ranges":[{"startOffset":4172,"endOffset":4291,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":4343,"endOffset":4418,"count":0}],"isBlockCoverage":false},{"functionName":"timestamp","ranges":[{"startOffset":4584,"endOffset":4865,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":5023,"endOffset":5176,"count":0}],"isBlockCoverage":false},{"functionName":"inherits","ranges":[{"startOffset":5909,"endOffset":6547,"count":0}],"isBlockCoverage":false},{"functionName":"_extend","ranges":[{"startOffset":6700,"endOffset":6988,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7036,"endOffset":7461,"count":0}],"isBlockCoverage":false},{"functionName":"callbackify","ranges":[{"startOffset":7714,"endOffset":9211,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorName","ranges":[{"startOffset":9265,"endOffset":9481,"count":0}],"isBlockCoverage":false},{"functionName":"isDeepStrictEqual","ranges":[{"startOffset":9882,"endOffset":10087,"count":0}],"isBlockCoverage":false},{"functionName":"get transferableAbortSignal","ranges":[{"startOffset":10340,"endOffset":10433,"count":8}],"isBlockCoverage":true},{"functionName":"get transferableAbortController","ranges":[{"startOffset":10437,"endOffset":10538,"count":8}],"isBlockCoverage":true},{"functionName":"get aborted","ranges":[{"startOffset":10542,"endOffset":10603,"count":8}],"isBlockCoverage":true}]},{"scriptId":"120","url":"node:internal/webidl","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4636,"count":1}],"isBlockCoverage":false},{"functionName":"evenRound","ranges":[{"startOffset":825,"endOffset":1150,"count":0}],"isBlockCoverage":false},{"functionName":"pow2","ranges":[{"startOffset":1152,"endOffset":1415,"count":0}],"isBlockCoverage":false},{"functionName":"modulo","ranges":[{"startOffset":1527,"endOffset":1641,"count":0}],"isBlockCoverage":false},{"functionName":"convertToInt","ranges":[{"startOffset":1706,"endOffset":4313,"count":0}],"isBlockCoverage":false},{"functionName":"DOMString","ranges":[{"startOffset":4438,"endOffset":4568,"count":17},{"startOffset":4491,"endOffset":4545,"count":0}],"isBlockCoverage":true}]},{"scriptId":"121","url":"node:internal/perf/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":787,"count":1}],"isBlockCoverage":false},{"functionName":"getTimeOrigin","ranges":[{"startOffset":138,"endOffset":316,"count":0}],"isBlockCoverage":false},{"functionName":"now","ranges":[{"startOffset":390,"endOffset":496,"count":0}],"isBlockCoverage":false},{"functionName":"getMilestoneTimestamp","ranges":[{"startOffset":575,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"122","url":"node:internal/bootstrap/web/exposed-window-or-worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2185,"count":1}],"isBlockCoverage":false}]},{"scriptId":"123","url":"node:internal/bootstrap/switches/is_not_main_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1185,"count":1}],"isBlockCoverage":false},{"functionName":"defineStream","ranges":[{"startOffset":119,"endOffset":288,"count":3}],"isBlockCoverage":true},{"functionName":"lazyWorkerStdio","ranges":[{"startOffset":902,"endOffset":1009,"count":23},{"startOffset":951,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"getStdout","ranges":[{"startOffset":1011,"endOffset":1068,"count":8}],"isBlockCoverage":true},{"functionName":"getStderr","ranges":[{"startOffset":1070,"endOffset":1127,"count":9}],"isBlockCoverage":true},{"functionName":"getStdin","ranges":[{"startOffset":1129,"endOffset":1184,"count":6}],"isBlockCoverage":true}]},{"scriptId":"124","url":"node:internal/process/signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":false},{"functionName":"isSignal","ranges":[{"startOffset":238,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"startListeningIfSignal","ranges":[{"startOffset":398,"endOffset":904,"count":0}],"isBlockCoverage":false},{"functionName":"stopListeningIfSignal","ranges":[{"startOffset":906,"endOffset":1101,"count":0}],"isBlockCoverage":false}]},{"scriptId":"125","url":"node:internal/worker/io","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15479,"count":1}],"isBlockCoverage":false},{"functionName":"MessagePort.hasRef","ranges":[{"startOffset":3683,"endOffset":3766,"count":0}],"isBlockCoverage":false},{"functionName":"validateMessagePort","ranges":[{"startOffset":3769,"endOffset":3907,"count":0}],"isBlockCoverage":false},{"functionName":"isMessageEvent","ranges":[{"startOffset":3909,"endOffset":3985,"count":0}],"isBlockCoverage":false},{"functionName":"MessageEvent","ranges":[{"startOffset":4024,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4628,"endOffset":4752,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4862,"endOffset":4988,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5103,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5344,"endOffset":5470,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5579,"endOffset":5704,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5946,"endOffset":6264,"count":0}],"isBlockCoverage":false},{"functionName":"oninit","ranges":[{"startOffset":6403,"endOffset":6546,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortCloseEvent","ranges":[{"startOffset":6848,"endOffset":6887,"count":0}],"isBlockCoverage":false},{"functionName":"onclose","ranges":[{"startOffset":6960,"endOffset":7033,"count":0}],"isBlockCoverage":false},{"functionName":"MessagePort.close","ranges":[{"startOffset":7214,"endOffset":7349,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":7482,"endOffset":8110,"count":0}],"isBlockCoverage":false},{"functionName":"setupPortReferencing","ranges":[{"startOffset":8117,"endOffset":9480,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8478,"endOffset":8573,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8612,"endOffset":8710,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8812,"endOffset":8957,"count":9},{"startOffset":8872,"endOffset":8894,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9068,"endOffset":9215,"count":4},{"startOffset":9128,"endOffset":9149,"count":3}],"isBlockCoverage":true},{"functionName":"newListener","ranges":[{"startOffset":9221,"endOffset":9362,"count":6},{"startOffset":9270,"endOffset":9358,"count":2}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":9366,"endOffset":9478,"count":3},{"startOffset":9418,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"ReadableWorkerStdio","ranges":[{"startOffset":9530,"endOffset":9879,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9708,"endOffset":9873,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":9883,"endOffset":10189,"count":0}],"isBlockCoverage":false},{"functionName":"WritableWorkerStdio","ranges":[{"startOffset":10240,"endOffset":10389,"count":2}],"isBlockCoverage":true},{"functionName":"_writev","ranges":[{"startOffset":10393,"endOffset":10769,"count":0}],"isBlockCoverage":false},{"functionName":"_final","ranges":[{"startOffset":10773,"endOffset":10953,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10957,"endOffset":11204,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11099,"endOffset":11111,"count":0}],"isBlockCoverage":false},{"functionName":"createWorkerStdio","ranges":[{"startOffset":11208,"endOffset":11478,"count":1}],"isBlockCoverage":true},{"functionName":"receiveMessageOnPort","ranges":[{"startOffset":11480,"endOffset":11660,"count":0}],"isBlockCoverage":false},{"functionName":"onMessageEvent","ranges":[{"startOffset":11662,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"isBroadcastChannel","ranges":[{"startOffset":11759,"endOffset":11845,"count":0}],"isBlockCoverage":false},{"functionName":"BroadcastChannel","ranges":[{"startOffset":11932,"endOffset":12446,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12450,"endOffset":12863,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":12899,"endOffset":13028,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13065,"endOffset":13463,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":13531,"endOffset":13941,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":14224,"endOffset":14391,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":14676,"endOffset":14847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"126","url":"node:stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4784,"count":1}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2402,"endOffset":2558,"count":0}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2983,"endOffset":3117,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4105,"endOffset":4137,"count":18}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4235,"endOffset":4276,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4369,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"_uint8ArrayToBuffer","ranges":[{"startOffset":4575,"endOffset":4782,"count":0}],"isBlockCoverage":false}]},{"scriptId":"127","url":"node:internal/streams/operators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10772,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":1019,"endOffset":1599,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":1601,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"asIndexedPairs","ranges":[{"startOffset":4706,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"some","ranges":[{"startOffset":5181,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"every","ranges":[{"startOffset":5331,"endOffset":5659,"count":0}],"isBlockCoverage":false},{"functionName":"find","ranges":[{"startOffset":5661,"endOffset":5803,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":5805,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":6177,"endOffset":6504,"count":0}],"isBlockCoverage":false},{"functionName":"ReduceAwareErrMissingArgs","ranges":[{"startOffset":6720,"endOffset":6834,"count":0}],"isBlockCoverage":false},{"functionName":"reduce","ranges":[{"startOffset":6838,"endOffset":8280,"count":0}],"isBlockCoverage":false},{"functionName":"toArray","ranges":[{"startOffset":8282,"endOffset":8711,"count":0}],"isBlockCoverage":false},{"functionName":"flatMap","ranges":[{"startOffset":8713,"endOffset":8907,"count":0}],"isBlockCoverage":false},{"functionName":"toIntegerOrInfinity","ranges":[{"startOffset":8909,"endOffset":9231,"count":0}],"isBlockCoverage":false},{"functionName":"drop","ranges":[{"startOffset":9233,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"take","ranges":[{"startOffset":9783,"endOffset":10453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"128","url":"node:internal/abort_controller","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12413,"count":1}],"isBlockCoverage":false},{"functionName":"lazyMessageChannel","ranges":[{"startOffset":1574,"endOffset":1707,"count":0}],"isBlockCoverage":false},{"functionName":"lazyMakeTransferable","ranges":[{"startOffset":1709,"endOffset":1867,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":2337,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"validateThisAbortSignal","ranges":[{"startOffset":2598,"endOffset":2723,"count":0}],"isBlockCoverage":false},{"functionName":"setWeakAbortSignalTimeout","ranges":[{"startOffset":3305,"endOffset":3705,"count":0}],"isBlockCoverage":false},{"functionName":"AbortSignal","ranges":[{"startOffset":3749,"endOffset":3809,"count":0}],"isBlockCoverage":false},{"functionName":"get aborted","ranges":[{"startOffset":3846,"endOffset":3929,"count":0}],"isBlockCoverage":false},{"functionName":"get reason","ranges":[{"startOffset":3962,"endOffset":4041,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfAborted","ranges":[{"startOffset":4045,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4165,"endOffset":4294,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":4372,"endOffset":4516,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":4594,"endOffset":4856,"count":0}],"isBlockCoverage":false},{"functionName":"any","ranges":[{"startOffset":4943,"endOffset":6278,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6282,"endOffset":7050,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7408,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7412,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8023,"endOffset":8275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8279,"endOffset":8727,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal","ranges":[{"startOffset":8731,"endOffset":8815,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal.","ranges":[{"startOffset":8860,"endOffset":8868,"count":0}],"isBlockCoverage":false},{"functionName":"createAbortSignal","ranges":[{"startOffset":9346,"endOffset":9759,"count":0}],"isBlockCoverage":false},{"functionName":"abortSignal","ranges":[{"startOffset":9761,"endOffset":10123,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10125,"endOffset":10781,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortSignal","ranges":[{"startOffset":10929,"endOffset":11121,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortController","ranges":[{"startOffset":11193,"endOffset":11282,"count":0}],"isBlockCoverage":false},{"functionName":"aborted","ranges":[{"startOffset":11376,"endOffset":11964,"count":0}],"isBlockCoverage":false}]},{"scriptId":"129","url":"node:internal/streams/end-of-stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8360,"count":1}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":891,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":1000,"endOffset":1008,"count":0}],"isBlockCoverage":false},{"functionName":"eos","ranges":[{"startOffset":1011,"endOffset":6953,"count":0}],"isBlockCoverage":false},{"functionName":"eosWeb","ranges":[{"startOffset":6955,"endOffset":7840,"count":0}],"isBlockCoverage":false},{"functionName":"finished","ranges":[{"startOffset":7842,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"130","url":"node:internal/streams/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8416,"count":1}],"isBlockCoverage":false},{"functionName":"isReadableNodeStream","ranges":[{"startOffset":774,"endOffset":1191,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableNodeStream","ranges":[{"startOffset":1193,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexNodeStream","ranges":[{"startOffset":1415,"endOffset":1614,"count":0}],"isBlockCoverage":false},{"functionName":"isNodeStream","ranges":[{"startOffset":1616,"endOffset":1887,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":1889,"endOffset":2103,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":2105,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":2275,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"isWebStream","ranges":[{"startOffset":2444,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"isIterable","ranges":[{"startOffset":2558,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"isDestroyed","ranges":[{"startOffset":2890,"endOffset":3153,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableEnded","ranges":[{"startOffset":3177,"endOffset":3468,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableFinished","ranges":[{"startOffset":3496,"endOffset":3893,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableEnded","ranges":[{"startOffset":3922,"endOffset":4223,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableFinished","ranges":[{"startOffset":4248,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":4598,"endOffset":4898,"count":0}],"isBlockCoverage":false},{"functionName":"isWritable","ranges":[{"startOffset":4900,"endOffset":5197,"count":0}],"isBlockCoverage":false},{"functionName":"isFinished","ranges":[{"startOffset":5199,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableErrored","ranges":[{"startOffset":5515,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableErrored","ranges":[{"startOffset":5729,"endOffset":5941,"count":0}],"isBlockCoverage":false},{"functionName":"isClosed","ranges":[{"startOffset":5943,"endOffset":6448,"count":0}],"isBlockCoverage":false},{"functionName":"isOutgoingMessage","ranges":[{"startOffset":6450,"endOffset":6702,"count":0}],"isBlockCoverage":false},{"functionName":"isServerResponse","ranges":[{"startOffset":6704,"endOffset":6831,"count":0}],"isBlockCoverage":false},{"functionName":"isServerRequest","ranges":[{"startOffset":6833,"endOffset":7021,"count":0}],"isBlockCoverage":false},{"functionName":"willEmitClose","ranges":[{"startOffset":7023,"endOffset":7361,"count":0}],"isBlockCoverage":false},{"functionName":"isDisturbed","ranges":[{"startOffset":7363,"endOffset":7508,"count":0}],"isBlockCoverage":false},{"functionName":"isErrored","ranges":[{"startOffset":7510,"endOffset":7815,"count":0}],"isBlockCoverage":false}]},{"scriptId":"131","url":"node:internal/streams/compose","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5451,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":543,"endOffset":5449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"132","url":"node:internal/streams/pipeline","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12326,"count":1}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":1058,"endOffset":1487,"count":0}],"isBlockCoverage":false},{"functionName":"popCallback","ranges":[{"startOffset":1489,"endOffset":1817,"count":0}],"isBlockCoverage":false},{"functionName":"makeAsyncIterable","ranges":[{"startOffset":1819,"endOffset":2105,"count":0}],"isBlockCoverage":false},{"functionName":"fromReadable","ranges":[{"startOffset":2107,"endOffset":2281,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToNode","ranges":[{"startOffset":2283,"endOffset":3327,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToWeb","ranges":[{"startOffset":3329,"endOffset":3927,"count":0}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":3929,"endOffset":4022,"count":0}],"isBlockCoverage":false},{"functionName":"pipelineImpl","ranges":[{"startOffset":4024,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"pipe","ranges":[{"startOffset":10478,"endOffset":12279,"count":0}],"isBlockCoverage":false}]},{"scriptId":"133","url":"node:internal/streams/destroy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6826,"count":1}],"isBlockCoverage":false},{"functionName":"checkError","ranges":[{"startOffset":360,"endOffset":671,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":781,"endOffset":1568,"count":0}],"isBlockCoverage":false},{"functionName":"_destroy","ranges":[{"startOffset":1570,"endOffset":2184,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseNT","ranges":[{"startOffset":2186,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":2275,"endOffset":2523,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":2525,"endOffset":2800,"count":0}],"isBlockCoverage":false},{"functionName":"undestroy","ranges":[{"startOffset":2802,"endOffset":3492,"count":0}],"isBlockCoverage":false},{"functionName":"errorOrDestroy","ranges":[{"startOffset":3494,"endOffset":4413,"count":0}],"isBlockCoverage":false},{"functionName":"construct","ranges":[{"startOffset":4415,"endOffset":4821,"count":4},{"startOffset":4512,"endOffset":4820,"count":0}],"isBlockCoverage":true},{"functionName":"constructNT","ranges":[{"startOffset":4823,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"emitConstructNT","ranges":[{"startOffset":5572,"endOffset":5635,"count":0}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":5637,"endOffset":5733,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseLegacy","ranges":[{"startOffset":5735,"endOffset":5795,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseLegacy","ranges":[{"startOffset":5797,"endOffset":5917,"count":0}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":5952,"endOffset":6734,"count":0}],"isBlockCoverage":false}]},{"scriptId":"134","url":"node:internal/streams/duplex","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4938,"count":1}],"isBlockCoverage":false},{"functionName":"Duplex","ranges":[{"startOffset":1996,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3811,"endOffset":4023,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4029,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":4364,"endOffset":4528,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.fromWeb","ranges":[{"startOffset":4547,"endOffset":4665,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.toWeb","ranges":[{"startOffset":4683,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.from","ranges":[{"startOffset":4805,"endOffset":4936,"count":0}],"isBlockCoverage":false}]},{"scriptId":"135","url":"node:internal/streams/readable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43849,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1799,"endOffset":1824,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2617,"endOffset":2625,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3306,"endOffset":3522,"count":19}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3381,"endOffset":3423,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":3429,"endOffset":3514,"count":0}],"isBlockCoverage":false},{"functionName":"ReadableState","ranges":[{"startOffset":5398,"endOffset":8222,"count":1},{"startOffset":5797,"endOffset":5840,"count":0},{"startOffset":6159,"endOffset":6180,"count":0},{"startOffset":6182,"endOffset":6208,"count":0},{"startOffset":6225,"endOffset":6235,"count":0},{"startOffset":6236,"endOffset":6265,"count":0},{"startOffset":6271,"endOffset":6297,"count":0},{"startOffset":6472,"endOffset":6544,"count":0},{"startOffset":6946,"endOffset":6976,"count":0},{"startOffset":6978,"endOffset":7004,"count":0},{"startOffset":7093,"endOffset":7125,"count":0},{"startOffset":7127,"endOffset":7155,"count":0},{"startOffset":7652,"endOffset":7669,"count":0},{"startOffset":7742,"endOffset":7901,"count":0},{"startOffset":8100,"endOffset":8119,"count":0},{"startOffset":8121,"endOffset":8220,"count":0}],"isBlockCoverage":true},{"functionName":"Readable","ranges":[{"startOffset":8225,"endOffset":9113,"count":1},{"startOffset":8293,"endOffset":8322,"count":0},{"startOffset":8593,"endOffset":8937,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9000,"endOffset":9109,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._destroy","ranges":[{"startOffset":9250,"endOffset":9282,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9333,"endOffset":9371,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9415,"endOffset":9671,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.push","ranges":[{"startOffset":9900,"endOffset":9986,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unshift","ranges":[{"startOffset":10082,"endOffset":10167,"count":0}],"isBlockCoverage":false},{"functionName":"readableAddChunk","ranges":[{"startOffset":10170,"endOffset":12572,"count":0}],"isBlockCoverage":false},{"functionName":"addChunk","ranges":[{"startOffset":12574,"endOffset":13339,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.isPaused","ranges":[{"startOffset":13371,"endOffset":13483,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.setEncoding","ranges":[{"startOffset":13547,"endOffset":14108,"count":0}],"isBlockCoverage":false},{"functionName":"computeNewHighWaterMark","ranges":[{"startOffset":14169,"endOffset":14520,"count":0}],"isBlockCoverage":false},{"functionName":"howMuchToRead","ranges":[{"startOffset":14633,"endOffset":15044,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.read","ranges":[{"startOffset":15141,"endOffset":19643,"count":0}],"isBlockCoverage":false},{"functionName":"onEofChunk","ranges":[{"startOffset":19646,"endOffset":20466,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable","ranges":[{"startOffset":20667,"endOffset":20994,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable_","ranges":[{"startOffset":20996,"endOffset":21650,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore","ranges":[{"startOffset":22000,"endOffset":22177,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore_","ranges":[{"startOffset":22179,"endOffset":23971,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._read","ranges":[{"startOffset":24242,"endOffset":24308,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pipe","ranges":[{"startOffset":24337,"endOffset":28782,"count":0}],"isBlockCoverage":false},{"functionName":"pipeOnDrain","ranges":[{"startOffset":28785,"endOffset":29430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unpipe","ranges":[{"startOffset":29461,"endOffset":30162,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.on","ranges":[{"startOffset":30288,"endOffset":31195,"count":1},{"startOffset":30420,"endOffset":30752,"count":0},{"startOffset":30781,"endOffset":31178,"count":0}],"isBlockCoverage":true},{"functionName":"Readable.removeListener","ranges":[{"startOffset":31290,"endOffset":31855,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.removeAllListeners","ranges":[{"startOffset":31958,"endOffset":32552,"count":0}],"isBlockCoverage":false},{"functionName":"updateReadableListening","ranges":[{"startOffset":32555,"endOffset":33065,"count":0}],"isBlockCoverage":false},{"functionName":"nReadingNextTick","ranges":[{"startOffset":33067,"endOffset":33155,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.resume","ranges":[{"startOffset":33309,"endOffset":33634,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":33637,"endOffset":33787,"count":0}],"isBlockCoverage":false},{"functionName":"resume_","ranges":[{"startOffset":33789,"endOffset":34040,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pause","ranges":[{"startOffset":34069,"endOffset":34336,"count":0}],"isBlockCoverage":false},{"functionName":"flow","ranges":[{"startOffset":34339,"endOffset":34486,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":34670,"endOffset":35691,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":35736,"endOffset":35788,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.iterator","ranges":[{"startOffset":35821,"endOffset":35964,"count":0}],"isBlockCoverage":false},{"functionName":"streamToAsyncIterator","ranges":[{"startOffset":35967,"endOffset":36216,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncIterator","ranges":[{"startOffset":36218,"endOffset":37294,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":37513,"endOffset":37902,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":37908,"endOffset":38038,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38120,"endOffset":38184,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38266,"endOffset":38474,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38562,"endOffset":38628,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38709,"endOffset":38791,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38873,"endOffset":38933,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":38944,"endOffset":39053,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39129,"endOffset":39183,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39263,"endOffset":39351,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39429,"endOffset":39514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39583,"endOffset":39667,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39712,"endOffset":39796,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39867,"endOffset":39954,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":39960,"endOffset":40249,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40324,"endOffset":40412,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40553,"endOffset":40598,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40678,"endOffset":40729,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":40735,"endOffset":40784,"count":0}],"isBlockCoverage":false},{"functionName":"fromList","ranges":[{"startOffset":41090,"endOffset":41652,"count":0}],"isBlockCoverage":false},{"functionName":"endReadable","ranges":[{"startOffset":41654,"endOffset":41875,"count":0}],"isBlockCoverage":false},{"functionName":"endReadableNT","ranges":[{"startOffset":41877,"endOffset":42797,"count":0}],"isBlockCoverage":false},{"functionName":"endWritableNT","ranges":[{"startOffset":42799,"endOffset":42959,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.from","ranges":[{"startOffset":42977,"endOffset":43046,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":43111,"endOffset":43275,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.fromWeb","ranges":[{"startOffset":43296,"endOffset":43430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.toWeb","ranges":[{"startOffset":43450,"endOffset":43584,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":43603,"endOffset":43847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"136","url":"node:internal/streams/legacy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2934,"count":1}],"isBlockCoverage":false},{"functionName":"Stream","ranges":[{"startOffset":112,"endOffset":160,"count":4}],"isBlockCoverage":true},{"functionName":"Stream.pipe","ranges":[{"startOffset":274,"endOffset":2076,"count":0}],"isBlockCoverage":false},{"functionName":"prependListener","ranges":[{"startOffset":2079,"endOffset":2886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"137","url":"node:internal/streams/add-abort-signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1704,"count":1}],"isBlockCoverage":false},{"functionName":"validateAbortSignal","ranges":[{"startOffset":557,"endOffset":716,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortSignal","ranges":[{"startOffset":751,"endOffset":1062,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.addAbortSignalNoValidate","ranges":[{"startOffset":1107,"endOffset":1702,"count":0}],"isBlockCoverage":false}]},{"scriptId":"138","url":"node:internal/streams/buffer_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4060,"count":1}],"isBlockCoverage":false},{"functionName":"BufferList","ranges":[{"startOffset":254,"endOffset":338,"count":1}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":342,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":533,"endOffset":691,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":695,"endOffset":922,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":926,"endOffset":994,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":998,"endOffset":1180,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":1184,"endOffset":1467,"count":0}],"isBlockCoverage":false},{"functionName":"consume","ranges":[{"startOffset":1551,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":2009,"endOffset":2049,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":2053,"endOffset":2149,"count":0}],"isBlockCoverage":false},{"functionName":"_getString","ranges":[{"startOffset":2224,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"_getBuffer","ranges":[{"startOffset":2932,"endOffset":3779,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":3860,"endOffset":4056,"count":0}],"isBlockCoverage":false}]},{"scriptId":"139","url":"node:internal/streams/state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1332,"count":1}],"isBlockCoverage":false},{"functionName":"highWaterMarkFrom","ranges":[{"startOffset":287,"endOffset":454,"count":2},{"startOffset":385,"endOffset":408,"count":0},{"startOffset":424,"endOffset":444,"count":0}],"isBlockCoverage":true},{"functionName":"getDefaultHighWaterMark","ranges":[{"startOffset":456,"endOffset":586,"count":4},{"startOffset":523,"endOffset":555,"count":0}],"isBlockCoverage":true},{"functionName":"setDefaultHighWaterMark","ranges":[{"startOffset":588,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"getHighWaterMark","ranges":[{"startOffset":801,"endOffset":1234,"count":2},{"startOffset":948,"endOffset":1160,"count":0}],"isBlockCoverage":true}]},{"scriptId":"140","url":"node:string_decoder","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5213,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeEncoding","ranges":[{"startOffset":2129,"endOffset":2391,"count":0}],"isBlockCoverage":false},{"functionName":"StringDecoder","ranges":[{"startOffset":2705,"endOffset":2904,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3227,"endOffset":3612,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":3889,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":4291,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4586,"endOffset":4799,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4891,"endOffset":4954,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5047,"endOffset":5162,"count":0}],"isBlockCoverage":false}]},{"scriptId":"141","url":"node:internal/streams/from","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2614,"count":1}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":241,"endOffset":2589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"142","url":"node:internal/streams/writable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29040,"count":1}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2389,"endOffset":2406,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3093,"endOffset":3309,"count":20}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3168,"endOffset":3210,"count":2}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3216,"endOffset":3301,"count":0}],"isBlockCoverage":false},{"functionName":"WritableState","ranges":[{"startOffset":5971,"endOffset":9003,"count":3},{"startOffset":6366,"endOffset":6409,"count":0},{"startOffset":6607,"endOffset":6628,"count":2},{"startOffset":6630,"endOffset":6656,"count":0},{"startOffset":6672,"endOffset":6682,"count":0},{"startOffset":6683,"endOffset":6712,"count":0},{"startOffset":6714,"endOffset":6740,"count":0},{"startOffset":6958,"endOffset":7030,"count":2},{"startOffset":7031,"endOffset":7067,"count":1},{"startOffset":7085,"endOffset":7119,"count":2},{"startOffset":7121,"endOffset":7150,"count":1},{"startOffset":7225,"endOffset":7255,"count":2},{"startOffset":7257,"endOffset":7283,"count":0},{"startOffset":7372,"endOffset":7404,"count":2},{"startOffset":7406,"endOffset":7434,"count":0},{"startOffset":7664,"endOffset":7681,"count":2},{"startOffset":7754,"endOffset":7913,"count":0}],"isBlockCoverage":true},{"functionName":"resetBuffer","ranges":[{"startOffset":9005,"endOffset":9127,"count":3}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":9165,"endOffset":9254,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9350,"endOffset":9415,"count":0}],"isBlockCoverage":false},{"functionName":"Writable","ranges":[{"startOffset":9422,"endOffset":10950,"count":3},{"startOffset":10123,"endOffset":10152,"count":0},{"startOffset":10238,"endOffset":10737,"count":2},{"startOffset":10291,"endOffset":10319,"count":0},{"startOffset":10373,"endOffset":10403,"count":0},{"startOffset":10458,"endOffset":10490,"count":0},{"startOffset":10543,"endOffset":10571,"count":0},{"startOffset":10628,"endOffset":10664,"count":0},{"startOffset":10696,"endOffset":10733,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10800,"endOffset":10946,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":11032,"endOffset":11236,"count":30},{"startOffset":11109,"endOffset":11121,"count":5},{"startOffset":11121,"endOffset":11149,"count":25},{"startOffset":11149,"endOffset":11162,"count":0},{"startOffset":11162,"endOffset":11231,"count":25}],"isBlockCoverage":true},{"functionName":"Writable.pipe","ranges":[{"startOffset":11337,"endOffset":11405,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":11408,"endOffset":12809,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.write","ranges":[{"startOffset":12838,"endOffset":12924,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.cork","ranges":[{"startOffset":12953,"endOffset":12999,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.uncork","ranges":[{"startOffset":13030,"endOffset":13201,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultEncoding","ranges":[{"startOffset":13244,"endOffset":13569,"count":0}],"isBlockCoverage":false},{"functionName":"writeOrBuffer","ranges":[{"startOffset":13759,"endOffset":14872,"count":0}],"isBlockCoverage":false},{"functionName":"doWrite","ranges":[{"startOffset":14874,"endOffset":15262,"count":0}],"isBlockCoverage":false},{"functionName":"onwriteError","ranges":[{"startOffset":15264,"endOffset":15649,"count":0}],"isBlockCoverage":false},{"functionName":"onwrite","ranges":[{"startOffset":15651,"endOffset":17310,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteTick","ranges":[{"startOffset":17312,"endOffset":17451,"count":0}],"isBlockCoverage":false},{"functionName":"afterWrite","ranges":[{"startOffset":17453,"endOffset":17869,"count":0}],"isBlockCoverage":false},{"functionName":"errorBuffer","ranges":[{"startOffset":17941,"endOffset":18532,"count":0}],"isBlockCoverage":false},{"functionName":"clearBuffer","ranges":[{"startOffset":18598,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._write","ranges":[{"startOffset":20262,"endOffset":20431,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.end","ranges":[{"startOffset":20495,"endOffset":21953,"count":0}],"isBlockCoverage":false},{"functionName":"needFinish","ranges":[{"startOffset":21956,"endOffset":22419,"count":0}],"isBlockCoverage":false},{"functionName":"callFinal","ranges":[{"startOffset":22421,"endOffset":23393,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":23395,"endOffset":23733,"count":0}],"isBlockCoverage":false},{"functionName":"finishMaybe","ranges":[{"startOffset":23735,"endOffset":24234,"count":0}],"isBlockCoverage":false},{"functionName":"finish","ranges":[{"startOffset":24236,"endOffset":24986,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25071,"endOffset":25172,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25220,"endOffset":25324,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":25330,"endOffset":25576,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25623,"endOffset":26027,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":26033,"endOffset":26167,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26222,"endOffset":26325,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26382,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26540,"endOffset":26622,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26674,"endOffset":26775,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26831,"endOffset":27046,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27106,"endOffset":27190,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27243,"endOffset":27323,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27376,"endOffset":27453,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27522,"endOffset":27606,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27688,"endOffset":27927,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.destroy","ranges":[{"startOffset":28005,"endOffset":28318,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._destroy","ranges":[{"startOffset":28406,"endOffset":28438,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.","ranges":[{"startOffset":28489,"endOffset":28527,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":28592,"endOffset":28756,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.fromWeb","ranges":[{"startOffset":28777,"endOffset":28911,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.toWeb","ranges":[{"startOffset":28931,"endOffset":29038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"143","url":"node:stream/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":917,"count":1}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":318,"endOffset":869,"count":0}],"isBlockCoverage":false}]},{"scriptId":"144","url":"node:internal/streams/transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7176,"count":1}],"isBlockCoverage":false},{"functionName":"Transform","ranges":[{"startOffset":3920,"endOffset":5747,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5749,"endOffset":6193,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":6195,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._transform","ranges":[{"startOffset":6348,"endOffset":6443,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._write","ranges":[{"startOffset":6475,"endOffset":7018,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._read","ranges":[{"startOffset":7049,"endOffset":7174,"count":0}],"isBlockCoverage":false}]},{"scriptId":"145","url":"node:internal/streams/passthrough","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1762,"count":1}],"isBlockCoverage":false},{"functionName":"PassThrough","ranges":[{"startOffset":1529,"endOffset":1671,"count":0}],"isBlockCoverage":false},{"functionName":"PassThrough._transform","ranges":[{"startOffset":1708,"endOffset":1760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"146","url":"node:internal/bootstrap/switches/does_not_own_process_state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1278,"count":1}],"isBlockCoverage":false},{"functionName":"wrappedUmask","ranges":[{"startOffset":1047,"endOffset":1277,"count":0}],"isBlockCoverage":false}]},{"scriptId":"147","url":"node:internal/process/worker_thread_only","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":426,"count":1}],"isBlockCoverage":false},{"functionName":"unavailable","ranges":[{"startOffset":194,"endOffset":387,"count":8}],"isBlockCoverage":true},{"functionName":"unavailableInWorker","ranges":[{"startOffset":225,"endOffset":315,"count":0}],"isBlockCoverage":false}]},{"scriptId":"148","url":"node:internal/main/worker_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7311,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1096,"endOffset":1121,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2200,"endOffset":5806,"count":3},{"startOffset":2251,"endOffset":5390,"count":1},{"startOffset":2537,"endOffset":2599,"count":0},{"startOffset":3460,"endOffset":3541,"count":0},{"startOffset":3597,"endOffset":3671,"count":0},{"startOffset":3737,"endOffset":3762,"count":0},{"startOffset":3961,"endOffset":4206,"count":0},{"startOffset":4214,"endOffset":4743,"count":0},{"startOffset":4751,"endOffset":4995,"count":0},{"startOffset":5390,"endOffset":5804,"count":2},{"startOffset":5432,"endOffset":5591,"count":0}],"isBlockCoverage":true},{"functionName":"process.cwd","ranges":[{"startOffset":3133,"endOffset":3384,"count":3},{"startOffset":3260,"endOffset":3277,"count":2},{"startOffset":3277,"endOffset":3383,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4900,"endOffset":4970,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5508,"endOffset":5585,"count":0}],"isBlockCoverage":false},{"functionName":"workerOnGlobalUncaughtException","ranges":[{"startOffset":5810,"endOffset":7002,"count":0}],"isBlockCoverage":false}]},{"scriptId":"149","url":"node:internal/process/pre_execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":22973,"count":1}],"isBlockCoverage":false},{"functionName":"prepareMainThreadExecution","ranges":[{"startOffset":1091,"endOffset":1268,"count":0}],"isBlockCoverage":false},{"functionName":"prepareWorkerThreadExecution","ranges":[{"startOffset":1270,"endOffset":1469,"count":1}],"isBlockCoverage":true},{"functionName":"prepareExecution","ranges":[{"startOffset":1471,"endOffset":3628,"count":1},{"startOffset":2237,"endOffset":3408,"count":0},{"startOffset":3597,"endOffset":3626,"count":0}],"isBlockCoverage":true},{"functionName":"setupSymbolDisposePolyfill","ranges":[{"startOffset":3630,"endOffset":4365,"count":1}],"isBlockCoverage":true},{"functionName":"setupUserModules","ranges":[{"startOffset":4367,"endOffset":4795,"count":1},{"startOffset":4676,"endOffset":4693,"count":0}],"isBlockCoverage":true},{"functionName":"refreshRuntimeOptions","ranges":[{"startOffset":4797,"endOffset":4853,"count":1}],"isBlockCoverage":true},{"functionName":"patchProcessObject","ranges":[{"startOffset":4855,"endOffset":6952,"count":1},{"startOffset":5388,"endOffset":5406,"count":0},{"startOffset":5407,"endOffset":5464,"count":0},{"startOffset":5466,"endOffset":5677,"count":0}],"isBlockCoverage":true},{"functionName":"addReadOnlyProcessAlias","ranges":[{"startOffset":6954,"endOffset":7235,"count":13},{"startOffset":7075,"endOffset":7233,"count":1}],"isBlockCoverage":true},{"functionName":"setupWarningHandler","ranges":[{"startOffset":7237,"endOffset":7757,"count":1},{"startOffset":7612,"endOffset":7751,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7641,"endOffset":7743,"count":0}],"isBlockCoverage":false},{"functionName":"setupFetch","ranges":[{"startOffset":7793,"endOffset":8933,"count":1},{"startOffset":7913,"endOffset":7930,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUndici","ranges":[{"startOffset":7948,"endOffset":8093,"count":0}],"isBlockCoverage":false},{"functionName":"fetch","ranges":[{"startOffset":8097,"endOffset":8192,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInterface","ranges":[{"startOffset":8244,"endOffset":8485,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8345,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8403,"endOffset":8473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8818,"endOffset":8929,"count":0}],"isBlockCoverage":false},{"functionName":"setupWebCrypto","ranges":[{"startOffset":9037,"endOffset":9989,"count":1},{"startOffset":9172,"endOffset":9189,"count":0},{"startOffset":9678,"endOffset":9987,"count":0}],"isBlockCoverage":true},{"functionName":"cryptoThisCheck","ranges":[{"startOffset":9363,"endOffset":9539,"count":0}],"isBlockCoverage":false},{"functionName":"get crypto","ranges":[{"startOffset":9840,"endOffset":9939,"count":0}],"isBlockCoverage":false},{"functionName":"setupCodeCoverage","ranges":[{"startOffset":9991,"endOffset":10512,"count":1}],"isBlockCoverage":true},{"functionName":"setupCustomEvent","ranges":[{"startOffset":10618,"endOffset":10895,"count":1},{"startOffset":10757,"endOffset":10774,"count":0}],"isBlockCoverage":true},{"functionName":"setupStacktracePrinterOnSigint","ranges":[{"startOffset":10897,"endOffset":11122,"count":0}],"isBlockCoverage":false},{"functionName":"initializeReport","ranges":[{"startOffset":11124,"endOffset":11373,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":11269,"endOffset":11364,"count":6}],"isBlockCoverage":true},{"functionName":"setupDebugEnv","ranges":[{"startOffset":11375,"endOffset":11606,"count":1},{"startOffset":11526,"endOffset":11604,"count":0}],"isBlockCoverage":true},{"functionName":"initializeReportSignalHandlers","ranges":[{"startOffset":11668,"endOffset":11856,"count":0}],"isBlockCoverage":false},{"functionName":"initializeHeapSnapshotSignalHandlers","ranges":[{"startOffset":11858,"endOffset":12592,"count":0}],"isBlockCoverage":false},{"functionName":"setupTraceCategoryState","ranges":[{"startOffset":12594,"endOffset":12853,"count":1}],"isBlockCoverage":true},{"functionName":"setupInspectorHooks","ranges":[{"startOffset":12855,"endOffset":13437,"count":1}],"isBlockCoverage":true},{"functionName":"initializeDeprecations","ranges":[{"startOffset":13632,"endOffset":15584,"count":1},{"startOffset":14344,"endOffset":14646,"count":16},{"startOffset":14389,"endOffset":14621,"count":0},{"startOffset":14963,"endOffset":15160,"count":0},{"startOffset":15188,"endOffset":15582,"count":0}],"isBlockCoverage":true},{"functionName":"setupChildProcessIpcChannel","ranges":[{"startOffset":15586,"endOffset":16151,"count":0}],"isBlockCoverage":false},{"functionName":"initializeClusterIPC","ranges":[{"startOffset":16153,"endOffset":16423,"count":0}],"isBlockCoverage":false},{"functionName":"initializePermission","ranges":[{"startOffset":16425,"endOffset":18308,"count":1},{"startOffset":16567,"endOffset":17928,"count":0}],"isBlockCoverage":true},{"functionName":"binding","ranges":[{"startOffset":16591,"endOffset":16678,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18140,"endOffset":18300,"count":4},{"startOffset":18218,"endOffset":18294,"count":0}],"isBlockCoverage":true},{"functionName":"readPolicyFromDisk","ranges":[{"startOffset":18310,"endOffset":20129,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCJSLoader","ranges":[{"startOffset":20131,"endOffset":20252,"count":1}],"isBlockCoverage":true},{"functionName":"initializeESMLoader","ranges":[{"startOffset":20254,"endOffset":20829,"count":1},{"startOffset":20582,"endOffset":20827,"count":0}],"isBlockCoverage":true},{"functionName":"initializeSourceMapsHandlers","ranges":[{"startOffset":20831,"endOffset":21029,"count":1}],"isBlockCoverage":true},{"functionName":"initializeFrozenIntrinsics","ranges":[{"startOffset":21031,"endOffset":21288,"count":1},{"startOffset":21116,"endOffset":21286,"count":0}],"isBlockCoverage":true},{"functionName":"loadPreloadModules","ranges":[{"startOffset":21290,"endOffset":21638,"count":1},{"startOffset":21484,"endOffset":21636,"count":0}],"isBlockCoverage":true},{"functionName":"markBootstrapComplete","ranges":[{"startOffset":21640,"endOffset":21734,"count":1}],"isBlockCoverage":true},{"functionName":"getHeapSnapshotFilename","ranges":[{"startOffset":21889,"endOffset":22790,"count":0}],"isBlockCoverage":false}]},{"scriptId":"150","url":"node:internal/v8/startup_snapshot","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3382,"count":1}],"isBlockCoverage":false},{"functionName":"isBuildingSnapshot","ranges":[{"startOffset":433,"endOffset":504,"count":4}],"isBlockCoverage":true},{"functionName":"throwIfNotBuildingSnapshot","ranges":[{"startOffset":506,"endOffset":625,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfBuildingSnapshot","ranges":[{"startOffset":627,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"runDeserializeCallbacks","ranges":[{"startOffset":831,"endOffset":1004,"count":0}],"isBlockCoverage":false},{"functionName":"addDeserializeCallback","ranges":[{"startOffset":1006,"endOffset":1541,"count":0}],"isBlockCoverage":false},{"functionName":"runSerializeCallbacks","ranges":[{"startOffset":1574,"endOffset":1741,"count":0}],"isBlockCoverage":false},{"functionName":"addSerializeCallback","ranges":[{"startOffset":1743,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCallbacks","ranges":[{"startOffset":1913,"endOffset":2122,"count":0}],"isBlockCoverage":false},{"functionName":"setDeserializeMainFunction","ranges":[{"startOffset":2158,"endOffset":3105,"count":0}],"isBlockCoverage":false}]},{"scriptId":"151","url":"node:internal/inspector_async_hook","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1973,"count":1}],"isBlockCoverage":false},{"functionName":"lazyHookCreation","ranges":[{"startOffset":75,"endOffset":1257,"count":0}],"isBlockCoverage":false},{"functionName":"enable","ranges":[{"startOffset":1259,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":1842,"endOffset":1928,"count":0}],"isBlockCoverage":false}]},{"scriptId":"152","url":"node:internal/source_map/prepare_stack_trace","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7404,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":334,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"prepareStackTrace","ranges":[{"startOffset":895,"endOffset":3880,"count":0}],"isBlockCoverage":false},{"functionName":"getOriginalSymbolName","ranges":[{"startOffset":4031,"endOffset":4774,"count":0}],"isBlockCoverage":false},{"functionName":"getErrorSource","ranges":[{"startOffset":4942,"endOffset":6024,"count":0}],"isBlockCoverage":false},{"functionName":"getOriginalSource","ranges":[{"startOffset":6026,"endOffset":6923,"count":0}],"isBlockCoverage":false},{"functionName":"getSourceMapErrorSource","ranges":[{"startOffset":6925,"endOffset":7305,"count":0}],"isBlockCoverage":false}]},{"scriptId":"153","url":"node:fs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":85023,"count":1}],"isBlockCoverage":false},{"functionName":"showTruncateDeprecation","ranges":[{"startOffset":4028,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"maybeCallback","ranges":[{"startOffset":4317,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"makeCallback","ranges":[{"startOffset":4594,"endOffset":4706,"count":0}],"isBlockCoverage":false},{"functionName":"makeStatsCallback","ranges":[{"startOffset":4887,"endOffset":5054,"count":0}],"isBlockCoverage":false},{"functionName":"isFileType","ranges":[{"startOffset":5079,"endOffset":5339,"count":6559},{"startOffset":5278,"endOffset":5298,"count":640}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":5555,"endOffset":5913,"count":0}],"isBlockCoverage":false},{"functionName":"accessSync","ranges":[{"startOffset":6101,"endOffset":6165,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6327,"endOffset":6565,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6652,"endOffset":6784,"count":0}],"isBlockCoverage":false},{"functionName":"existsSync","ranges":[{"startOffset":7332,"endOffset":7391,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterOpen","ranges":[{"startOffset":7393,"endOffset":7673,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterStat","ranges":[{"startOffset":7675,"endOffset":8553,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":8555,"endOffset":8728,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":9061,"endOffset":10013,"count":0}],"isBlockCoverage":false},{"functionName":"tryStatSync","ranges":[{"startOffset":10015,"endOffset":10245,"count":1},{"startOffset":10158,"endOffset":10170,"count":0},{"startOffset":10172,"endOffset":10227,"count":0}],"isBlockCoverage":true},{"functionName":"tryCreateBuffer","ranges":[{"startOffset":10247,"endOffset":10558,"count":1},{"startOffset":10365,"endOffset":10417,"count":0},{"startOffset":10504,"endOffset":10516,"count":0},{"startOffset":10518,"endOffset":10535,"count":0}],"isBlockCoverage":true},{"functionName":"tryReadSync","ranges":[{"startOffset":10560,"endOffset":10815,"count":1},{"startOffset":10758,"endOffset":10770,"count":0},{"startOffset":10772,"endOffset":10789,"count":0}],"isBlockCoverage":true},{"functionName":"readFileSync","ranges":[{"startOffset":11039,"endOffset":12564,"count":387},{"startOffset":11161,"endOffset":11192,"count":2},{"startOffset":11194,"endOffset":11251,"count":385},{"startOffset":11251,"endOffset":11335,"count":2},{"startOffset":11335,"endOffset":11341,"count":0},{"startOffset":11342,"endOffset":11382,"count":2},{"startOffset":11470,"endOffset":11480,"count":1},{"startOffset":11481,"endOffset":11484,"count":0},{"startOffset":11614,"endOffset":11637,"count":0},{"startOffset":11637,"endOffset":11889,"count":1},{"startOffset":11889,"endOffset":12258,"count":0},{"startOffset":12258,"endOffset":12318,"count":1},{"startOffset":12318,"endOffset":12414,"count":0},{"startOffset":12414,"endOffset":12476,"count":1},{"startOffset":12436,"endOffset":12476,"count":0},{"startOffset":12476,"endOffset":12502,"count":1},{"startOffset":12502,"endOffset":12545,"count":0},{"startOffset":12545,"endOffset":12563,"count":1}],"isBlockCoverage":true},{"functionName":"defaultCloseCallback","ranges":[{"startOffset":12566,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12760,"endOffset":13013,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":13109,"endOffset":13162,"count":1}],"isBlockCoverage":true},{"functionName":"open","ranges":[{"startOffset":13405,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"openSync","ranges":[{"startOffset":14154,"endOffset":14235,"count":2}],"isBlockCoverage":true},{"functionName":"openAsBlob","ranges":[{"startOffset":14364,"endOffset":14846,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":15210,"endOffset":17170,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":17624,"endOffset":18761,"count":1},{"startOffset":17846,"endOffset":18102,"count":0},{"startOffset":18132,"endOffset":18153,"count":0},{"startOffset":18244,"endOffset":18263,"count":0},{"startOffset":18296,"endOffset":18426,"count":0}],"isBlockCoverage":true},{"functionName":"readv","ranges":[{"startOffset":19106,"endOffset":19523,"count":0}],"isBlockCoverage":false},{"functionName":"readvSync","ranges":[{"startOffset":19925,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20641,"endOffset":22188,"count":0}],"isBlockCoverage":false},{"functionName":"writeSync","ranges":[{"startOffset":22645,"endOffset":23778,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":24105,"endOffset":24627,"count":0}],"isBlockCoverage":false},{"functionName":"writevSync","ranges":[{"startOffset":24995,"endOffset":25354,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":25595,"endOffset":25976,"count":0}],"isBlockCoverage":false},{"functionName":"renameSync","ranges":[{"startOffset":26175,"endOffset":26522,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":26680,"endOffset":27341,"count":0}],"isBlockCoverage":false},{"functionName":"truncateSync","ranges":[{"startOffset":27471,"endOffset":27874,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":28026,"endOffset":28363,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncateSync","ranges":[{"startOffset":28487,"endOffset":28704,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadCp","ranges":[{"startOffset":28706,"endOffset":28912,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadRimraf","ranges":[{"startOffset":28914,"endOffset":29033,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":29291,"endOffset":30153,"count":0}],"isBlockCoverage":false},{"functionName":"rmdirSync","ranges":[{"startOffset":30368,"endOffset":30888,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":31226,"endOffset":31604,"count":0}],"isBlockCoverage":false},{"functionName":"rmSync","ranges":[{"startOffset":31899,"endOffset":32109,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":32340,"endOffset":32511,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasyncSync","ranges":[{"startOffset":32714,"endOffset":32861,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":33048,"endOffset":33211,"count":0}],"isBlockCoverage":false},{"functionName":"fsyncSync","ranges":[{"startOffset":33370,"endOffset":33509,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":33753,"endOffset":34468,"count":0}],"isBlockCoverage":false},{"functionName":"mkdirSync","ranges":[{"startOffset":34678,"endOffset":35384,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSyncRecursive","ranges":[{"startOffset":35717,"endOffset":37463,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":37763,"endOffset":38541,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSync","ranges":[{"startOffset":38805,"endOffset":39408,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":39649,"endOffset":39995,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":40261,"endOffset":40646,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":40876,"endOffset":41259,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":41261,"endOffset":41754,"count":0}],"isBlockCoverage":false},{"functionName":"hasNoEntryError","ranges":[{"startOffset":41756,"endOffset":41971,"count":0}],"isBlockCoverage":false},{"functionName":"fstatSync","ranges":[{"startOffset":42147,"endOffset":42386,"count":0}],"isBlockCoverage":false},{"functionName":"lstatSync","ranges":[{"startOffset":42634,"endOffset":43058,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":43273,"endOffset":43346,"count":0}],"isBlockCoverage":false},{"functionName":"statfsSync","ranges":[{"startOffset":43348,"endOffset":43425,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":43703,"endOffset":44047,"count":0}],"isBlockCoverage":false},{"functionName":"readlinkSync","ranges":[{"startOffset":44261,"endOffset":44588,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":44830,"endOffset":46483,"count":0}],"isBlockCoverage":false},{"functionName":"symlinkSync","ranges":[{"startOffset":46698,"endOffset":47359,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":47586,"endOffset":47987,"count":0}],"isBlockCoverage":false},{"functionName":"linkSync","ranges":[{"startOffset":48186,"endOffset":48635,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":48796,"endOffset":49023,"count":0}],"isBlockCoverage":false},{"functionName":"unlinkSync","ranges":[{"startOffset":49141,"endOffset":49200,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":49363,"endOffset":49602,"count":0}],"isBlockCoverage":false},{"functionName":"fchmodSync","ranges":[{"startOffset":49737,"endOffset":49928,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":50109,"endOffset":50602,"count":0}],"isBlockCoverage":false},{"functionName":"lchmodSync","ranges":[{"startOffset":50755,"endOffset":51077,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":51273,"endOffset":51549,"count":0}],"isBlockCoverage":false},{"functionName":"chmodSync","ranges":[{"startOffset":51702,"endOffset":51937,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":52133,"endOffset":52474,"count":0}],"isBlockCoverage":false},{"functionName":"lchownSync","ranges":[{"startOffset":52642,"endOffset":52942,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":53112,"endOffset":53415,"count":0}],"isBlockCoverage":false},{"functionName":"fchownSync","ranges":[{"startOffset":53557,"endOffset":53813,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":54029,"endOffset":54369,"count":0}],"isBlockCoverage":false},{"functionName":"chownSync","ranges":[{"startOffset":54542,"endOffset":54840,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":55109,"endOffset":55450,"count":0}],"isBlockCoverage":false},{"functionName":"utimesSync","ranges":[{"startOffset":55691,"endOffset":55973,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":56254,"endOffset":56559,"count":0}],"isBlockCoverage":false},{"functionName":"futimesSync","ranges":[{"startOffset":56815,"endOffset":57072,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":57356,"endOffset":57702,"count":0}],"isBlockCoverage":false},{"functionName":"lutimesSync","ranges":[{"startOffset":57962,"endOffset":58266,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":58268,"endOffset":59231,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":59588,"endOffset":60454,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":60741,"endOffset":61443,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":61748,"endOffset":62188,"count":0}],"isBlockCoverage":false},{"functionName":"appendFileSync","ranges":[{"startOffset":62450,"endOffset":62829,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":63197,"endOffset":64950,"count":0}],"isBlockCoverage":false},{"functionName":"watchFile","ranges":[{"startOffset":65300,"endOffset":66324,"count":0}],"isBlockCoverage":false},{"functionName":"unwatchFile","ranges":[{"startOffset":66474,"endOffset":67213,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67429,"endOffset":67525,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67550,"endOffset":67760,"count":461},{"startOffset":67617,"endOffset":67740,"count":922},{"startOffset":67695,"endOffset":67734,"count":461},{"startOffset":67740,"endOffset":67759,"count":0}],"isBlockCoverage":true},{"functionName":"encodeRealpathResult","ranges":[{"startOffset":67765,"endOffset":68052,"count":461},{"startOffset":67850,"endOffset":67880,"count":0},{"startOffset":67900,"endOffset":68051,"count":0}],"isBlockCoverage":true},{"functionName":"nextPart","ranges":[{"startOffset":68175,"endOffset":68434,"count":0}],"isBlockCoverage":false},{"functionName":"nextPart","ranges":[{"startOffset":68458,"endOffset":68533,"count":3599}],"isBlockCoverage":true},{"functionName":"realpathSync","ranges":[{"startOffset":68707,"endOffset":72603,"count":556},{"startOffset":68831,"endOffset":68849,"count":0},{"startOffset":69010,"endOffset":69045,"count":95},{"startOffset":69045,"endOffset":69607,"count":461},{"startOffset":69607,"endOffset":69779,"count":0},{"startOffset":69779,"endOffset":69916,"count":461},{"startOffset":69916,"endOffset":72530,"count":3599},{"startOffset":70028,"endOffset":70159,"count":461},{"startOffset":70159,"endOffset":70317,"count":3138},{"startOffset":70434,"endOffset":70571,"count":2959},{"startOffset":70525,"endOffset":70549,"count":0},{"startOffset":70571,"endOffset":70637,"count":640},{"startOffset":70674,"endOffset":70723,"count":0},{"startOffset":70723,"endOffset":72027,"count":640},{"startOffset":71163,"endOffset":71947,"count":0},{"startOffset":71991,"endOffset":72021,"count":0},{"startOffset":72027,"endOffset":72342,"count":0},{"startOffset":72344,"endOffset":72526,"count":0},{"startOffset":72530,"endOffset":72544,"count":461}],"isBlockCoverage":true},{"functionName":"realpathSync.native","ranges":[{"startOffset":72792,"endOffset":73056,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":73363,"endOffset":76894,"count":0}],"isBlockCoverage":false},{"functionName":"realpath.native","ranges":[{"startOffset":77221,"endOffset":77516,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":77761,"endOffset":78271,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtempSync","ranges":[{"startOffset":78452,"endOffset":78944,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":79208,"endOffset":79669,"count":0}],"isBlockCoverage":false},{"functionName":"copyFileSync","ranges":[{"startOffset":79901,"endOffset":79979,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":80272,"endOffset":80677,"count":0}],"isBlockCoverage":false},{"functionName":"cpSync","ranges":[{"startOffset":80938,"endOffset":81202,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadStreams","ranges":[{"startOffset":81204,"endOffset":81395,"count":40},{"startOffset":81252,"endOffset":81393,"count":1}],"isBlockCoverage":true},{"functionName":"createReadStream","ranges":[{"startOffset":81824,"endOffset":81929,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":82264,"endOffset":82371,"count":0}],"isBlockCoverage":false},{"functionName":"get ReadStream","ranges":[{"startOffset":83615,"endOffset":83683,"count":10}],"isBlockCoverage":true},{"functionName":"set ReadStream","ranges":[{"startOffset":83688,"endOffset":83735,"count":0}],"isBlockCoverage":false},{"functionName":"get WriteStream","ranges":[{"startOffset":83740,"endOffset":83810,"count":10}],"isBlockCoverage":true},{"functionName":"set WriteStream","ranges":[{"startOffset":83815,"endOffset":83864,"count":0}],"isBlockCoverage":false},{"functionName":"get FileReadStream","ranges":[{"startOffset":84002,"endOffset":84078,"count":10}],"isBlockCoverage":true},{"functionName":"set FileReadStream","ranges":[{"startOffset":84083,"endOffset":84138,"count":0}],"isBlockCoverage":false},{"functionName":"get FileWriteStream","ranges":[{"startOffset":84143,"endOffset":84221,"count":10}],"isBlockCoverage":true},{"functionName":"set FileWriteStream","ranges":[{"startOffset":84226,"endOffset":84283,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":84916,"endOffset":85012,"count":10}],"isBlockCoverage":true}]},{"scriptId":"154","url":"node:internal/blob","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12628,"count":1}],"isBlockCoverage":false},{"functionName":"lazyReadableStream","ranges":[{"startOffset":1851,"endOffset":2063,"count":0}],"isBlockCoverage":false},{"functionName":"isBlob","ranges":[{"startOffset":2113,"endOffset":2182,"count":0}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":2184,"endOffset":2863,"count":0}],"isBlockCoverage":false},{"functionName":"Blob","ranges":[{"startOffset":3115,"endOffset":4227,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4231,"endOffset":4501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4505,"endOffset":4957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4961,"endOffset":5087,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":5138,"endOffset":5243,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":5294,"endOffset":5401,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":5529,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBuffer","ranges":[{"startOffset":6364,"endOffset":7373,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":7421,"endOffset":7586,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":7633,"endOffset":10704,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob","ranges":[{"startOffset":10708,"endOffset":10803,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob.","ranges":[{"startOffset":10841,"endOffset":10849,"count":0}],"isBlockCoverage":false},{"functionName":"createBlob","ranges":[{"startOffset":10852,"endOffset":11055,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObjectURL","ranges":[{"startOffset":11408,"endOffset":12019,"count":0}],"isBlockCoverage":false},{"functionName":"createBlobFromFilePath","ranges":[{"startOffset":12142,"endOffset":12501,"count":0}],"isBlockCoverage":false}]},{"scriptId":"155","url":"node:internal/encoding","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17340,"count":1}],"isBlockCoverage":false},{"functionName":"validateEncoder","ranges":[{"startOffset":1250,"endOffset":1375,"count":0}],"isBlockCoverage":false},{"functionName":"validateDecoder","ranges":[{"startOffset":1377,"endOffset":1502,"count":58},{"startOffset":1458,"endOffset":1500,"count":0}],"isBlockCoverage":true},{"functionName":"trimAsciiWhitespace","ranges":[{"startOffset":8799,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingFromLabel","ranges":[{"startOffset":9299,"endOffset":9478,"count":3},{"startOffset":9410,"endOffset":9477,"count":0}],"isBlockCoverage":true},{"functionName":"TextEncoder","ranges":[{"startOffset":9502,"endOffset":9548,"count":1}],"isBlockCoverage":true},{"functionName":"get encoding","ranges":[{"startOffset":9552,"endOffset":9619,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":9623,"endOffset":9715,"count":0}],"isBlockCoverage":false},{"functionName":"encodeInto","ranges":[{"startOffset":9719,"endOffset":10125,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10129,"endOffset":10526,"count":0}],"isBlockCoverage":false},{"functionName":"makeTextDecoderICU","ranges":[{"startOffset":10898,"endOffset":12864,"count":1}],"isBlockCoverage":true},{"functionName":"TextDecoder","ranges":[{"startOffset":11036,"endOffset":11973,"count":3},{"startOffset":11346,"endOffset":11393,"count":0},{"startOffset":11477,"endOffset":11500,"count":2},{"startOffset":11501,"endOffset":11504,"count":1},{"startOffset":11541,"endOffset":11569,"count":2},{"startOffset":11570,"endOffset":11573,"count":1},{"startOffset":11924,"endOffset":11967,"count":0}],"isBlockCoverage":true},{"functionName":"#prepareConverter","ranges":[{"startOffset":11979,"endOffset":12244,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":12250,"endOffset":12835,"count":58},{"startOffset":12485,"endOffset":12834,"count":0}],"isBlockCoverage":true},{"functionName":"makeTextDecoderJS","ranges":[{"startOffset":12866,"endOffset":15701,"count":0}],"isBlockCoverage":false},{"functionName":"get encoding","ranges":[{"startOffset":15798,"endOffset":15873,"count":0}],"isBlockCoverage":false},{"functionName":"get fatal","ranges":[{"startOffset":15878,"endOffset":15999,"count":0}],"isBlockCoverage":false},{"functionName":"get ignoreBOM","ranges":[{"startOffset":16004,"endOffset":16153,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectGetOwnPropertyDescriptors","ranges":[{"startOffset":16158,"endOffset":16741,"count":0}],"isBlockCoverage":false}]},{"scriptId":"156","url":"node:internal/webstreams/queuingstrategies","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3851,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":931,"endOffset":958,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1038,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"getNonWritablePropertyDescriptor","ranges":[{"startOffset":1114,"endOffset":1200,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1238,"endOffset":2284,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2544,"endOffset":3561,"count":0}],"isBlockCoverage":false}]},{"scriptId":"157","url":"node:internal/webstreams/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7549,"count":1}],"isBlockCoverage":false},{"functionName":"extractHighWaterMark","ranges":[{"startOffset":1074,"endOffset":1367,"count":0}],"isBlockCoverage":false},{"functionName":"extractSizeAlgorithm","ranges":[{"startOffset":1369,"endOffset":1508,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":1510,"endOffset":1742,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetBuffer","ranges":[{"startOffset":1926,"endOffset":2034,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteLength","ranges":[{"startOffset":2036,"endOffset":2152,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteOffset","ranges":[{"startOffset":2154,"endOffset":2270,"count":0}],"isBlockCoverage":false},{"functionName":"cloneAsUint8Array","ranges":[{"startOffset":2272,"endOffset":2577,"count":0}],"isBlockCoverage":false},{"functionName":"isBrandCheck","ranges":[{"startOffset":2579,"endOffset":2743,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2619,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"transferArrayBuffer","ranges":[{"startOffset":2745,"endOffset":2968,"count":0}],"isBlockCoverage":false},{"functionName":"isViewedArrayBufferDetached","ranges":[{"startOffset":2970,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"dequeueValue","ranges":[{"startOffset":3140,"endOffset":3525,"count":0}],"isBlockCoverage":false},{"functionName":"resetQueue","ranges":[{"startOffset":3527,"endOffset":3745,"count":0}],"isBlockCoverage":false},{"functionName":"peekQueueValue","ranges":[{"startOffset":3747,"endOffset":3982,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueValueWithSize","ranges":[{"startOffset":3984,"endOffset":4449,"count":0}],"isBlockCoverage":false},{"functionName":"ensureIsPromise","ranges":[{"startOffset":4451,"endOffset":4690,"count":0}],"isBlockCoverage":false},{"functionName":"isPromisePending","ranges":[{"startOffset":4692,"endOffset":4855,"count":0}],"isBlockCoverage":false},{"functionName":"setPromiseHandled","ranges":[{"startOffset":4857,"endOffset":5136,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpFlush","ranges":[{"startOffset":5138,"endOffset":5168,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpStart","ranges":[{"startOffset":5170,"endOffset":5194,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpPull","ranges":[{"startOffset":5196,"endOffset":5225,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpCancel","ranges":[{"startOffset":5227,"endOffset":5258,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpWrite","ranges":[{"startOffset":5260,"endOffset":5290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyTransfer","ranges":[{"startOffset":5306,"endOffset":5438,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncFromSyncIterator","ranges":[{"startOffset":5440,"endOffset":5779,"count":0}],"isBlockCoverage":false},{"functionName":"getIterator","ranges":[{"startOffset":5781,"endOffset":6509,"count":0}],"isBlockCoverage":false},{"functionName":"iteratorNext","ranges":[{"startOffset":6511,"endOffset":6973,"count":0}],"isBlockCoverage":false}]},{"scriptId":"158","url":"node:internal/fs/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":26847,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFs","ranges":[{"startOffset":3551,"endOffset":3630,"count":0}],"isBlockCoverage":false},{"functionName":"assertEncoding","ranges":[{"startOffset":3632,"endOffset":3832,"count":941},{"startOffset":3683,"endOffset":3714,"count":385},{"startOffset":3716,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"Dirent","ranges":[{"startOffset":3851,"endOffset":3954,"count":0}],"isBlockCoverage":false},{"functionName":"isDirectory","ranges":[{"startOffset":3958,"endOffset":4019,"count":0}],"isBlockCoverage":false},{"functionName":"isFile","ranges":[{"startOffset":4023,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"isBlockDevice","ranges":[{"startOffset":4084,"endOffset":4149,"count":0}],"isBlockCoverage":false},{"functionName":"isCharacterDevice","ranges":[{"startOffset":4153,"endOffset":4221,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbolicLink","ranges":[{"startOffset":4225,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"isFIFO","ranges":[{"startOffset":4294,"endOffset":4351,"count":0}],"isBlockCoverage":false},{"functionName":"isSocket","ranges":[{"startOffset":4355,"endOffset":4416,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats","ranges":[{"startOffset":4461,"endOffset":4552,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats.","ranges":[{"startOffset":4697,"endOffset":4746,"count":0}],"isBlockCoverage":false},{"functionName":"copyObject","ranges":[{"startOffset":4751,"endOffset":4879,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":4929,"endOffset":5536,"count":0}],"isBlockCoverage":false},{"functionName":"getDirents","ranges":[{"startOffset":5538,"endOffset":6653,"count":0}],"isBlockCoverage":false},{"functionName":"getDirent","ranges":[{"startOffset":6655,"endOffset":7436,"count":0}],"isBlockCoverage":false},{"functionName":"getOptions","ranges":[{"startOffset":7438,"endOffset":8064,"count":1001},{"startOffset":7522,"endOffset":7554,"count":941},{"startOffset":7556,"endOffset":7588,"count":60},{"startOffset":7588,"endOffset":7625,"count":941},{"startOffset":7625,"endOffset":7743,"count":385},{"startOffset":7743,"endOffset":7865,"count":556},{"startOffset":7782,"endOffset":7865,"count":0},{"startOffset":7865,"endOffset":7979,"count":941},{"startOffset":7979,"endOffset":8043,"count":0},{"startOffset":8043,"endOffset":8063,"count":941}],"isBlockCoverage":true},{"functionName":"handleErrorFromBinding","ranges":[{"startOffset":8122,"endOffset":8651,"count":641},{"startOffset":8192,"endOffset":8327,"count":0},{"startOffset":8359,"endOffset":8649,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8792,"endOffset":9388,"count":1001},{"startOffset":9022,"endOffset":9042,"count":0},{"startOffset":9112,"endOffset":9180,"count":0},{"startOffset":9199,"endOffset":9387,"count":0}],"isBlockCoverage":true},{"functionName":"preprocessSymlinkDestination","ranges":[{"startOffset":9392,"endOffset":10098,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase","ranges":[{"startOffset":10131,"endOffset":10438,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isDirectory","ranges":[{"startOffset":10474,"endOffset":10531,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFile","ranges":[{"startOffset":10563,"endOffset":10620,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isBlockDevice","ranges":[{"startOffset":10659,"endOffset":10716,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isCharacterDevice","ranges":[{"startOffset":10759,"endOffset":10816,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSymbolicLink","ranges":[{"startOffset":10856,"endOffset":10913,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFIFO","ranges":[{"startOffset":10945,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSocket","ranges":[{"startOffset":11036,"endOffset":11094,"count":0}],"isBlockCoverage":false},{"functionName":"msFromTimeSpec","ranges":[{"startOffset":11219,"endOffset":11301,"count":0}],"isBlockCoverage":false},{"functionName":"nsFromTimeSpecBigInt","ranges":[{"startOffset":11303,"endOffset":11386,"count":0}],"isBlockCoverage":false},{"functionName":"dateFromMs","ranges":[{"startOffset":11788,"endOffset":11899,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats","ranges":[{"startOffset":11901,"endOffset":12664,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats._checkModeProperty","ranges":[{"startOffset":12822,"endOffset":13068,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":13071,"endOffset":13613,"count":0}],"isBlockCoverage":false},{"functionName":"Stats._checkModeProperty","ranges":[{"startOffset":13954,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"getStatsFromBinding","ranges":[{"startOffset":14302,"endOffset":15381,"count":0}],"isBlockCoverage":false},{"functionName":"StatFs","ranges":[{"startOffset":15400,"endOffset":15637,"count":0}],"isBlockCoverage":false},{"functionName":"getStatFsFromBinding","ranges":[{"startOffset":15641,"endOffset":15781,"count":0}],"isBlockCoverage":false},{"functionName":"stringToFlags","ranges":[{"startOffset":15783,"endOffset":17039,"count":445},{"startOffset":15864,"endOffset":15919,"count":0},{"startOffset":15942,"endOffset":15968,"count":0},{"startOffset":16025,"endOffset":16036,"count":0},{"startOffset":16058,"endOffset":16095,"count":0},{"startOffset":16100,"endOffset":16126,"count":0},{"startOffset":16131,"endOffset":16143,"count":0},{"startOffset":16165,"endOffset":16201,"count":0},{"startOffset":16207,"endOffset":16254,"count":0},{"startOffset":16259,"endOffset":16270,"count":0},{"startOffset":16292,"endOffset":16349,"count":0},{"startOffset":16355,"endOffset":16401,"count":0},{"startOffset":16406,"endOffset":16417,"count":0},{"startOffset":16439,"endOffset":16494,"count":0},{"startOffset":16500,"endOffset":16548,"count":0},{"startOffset":16553,"endOffset":16564,"count":0},{"startOffset":16586,"endOffset":16644,"count":0},{"startOffset":16649,"endOffset":16660,"count":0},{"startOffset":16682,"endOffset":16740,"count":0},{"startOffset":16746,"endOffset":16793,"count":0},{"startOffset":16798,"endOffset":16809,"count":0},{"startOffset":16831,"endOffset":16887,"count":0},{"startOffset":16892,"endOffset":16903,"count":0},{"startOffset":16925,"endOffset":16981,"count":0},{"startOffset":16985,"endOffset":17038,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":17085,"endOffset":17445,"count":0}],"isBlockCoverage":false},{"functionName":"toUnixTimestamp","ranges":[{"startOffset":17507,"endOffset":17962,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18016,"endOffset":18395,"count":1},{"startOffset":18072,"endOffset":18139,"count":0},{"startOffset":18160,"endOffset":18227,"count":0},{"startOffset":18268,"endOffset":18391,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18454,"endOffset":18858,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18901,"endOffset":19171,"count":1001},{"startOffset":18963,"endOffset":18985,"count":0},{"startOffset":18987,"endOffset":19073,"count":0},{"startOffset":19149,"endOffset":19169,"count":0}],"isBlockCoverage":true},{"functionName":"possiblyTransformPath","ranges":[{"startOffset":19542,"endOffset":19853,"count":445},{"startOffset":19611,"endOffset":19836,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":19896,"endOffset":20054,"count":445}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20097,"endOffset":20218,"count":2},{"startOffset":20148,"endOffset":20167,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20266,"endOffset":20597,"count":0}],"isBlockCoverage":false},{"functionName":"warnOnNonPortableTemplate","ranges":[{"startOffset":20638,"endOffset":21238,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21663,"endOffset":22550,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22596,"endOffset":23275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23325,"endOffset":23942,"count":0}],"isBlockCoverage":false},{"functionName":"emitRecursiveRmdirWarning","ranges":[{"startOffset":23996,"endOffset":24330,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24380,"endOffset":24777,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24818,"endOffset":25186,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25249,"endOffset":25433,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25478,"endOffset":25948,"count":1},{"startOffset":25578,"endOffset":25946,"count":0}],"isBlockCoverage":true}]},{"scriptId":"159","url":"node:internal/fs/sync","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2257,"count":1}],"isBlockCoverage":false},{"functionName":"readFileUtf8","ranges":[{"startOffset":395,"endOffset":582,"count":385}],"isBlockCoverage":true},{"functionName":"exists","ranges":[{"startOffset":584,"endOffset":751,"count":0}],"isBlockCoverage":false},{"functionName":"access","ranges":[{"startOffset":753,"endOffset":920,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":922,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":1184,"endOffset":1509,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":1511,"endOffset":1723,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":1725,"endOffset":1932,"count":2}],"isBlockCoverage":true},{"functionName":"close","ranges":[{"startOffset":1934,"endOffset":2016,"count":1}],"isBlockCoverage":true},{"functionName":"unlink","ranges":[{"startOffset":2018,"endOffset":2140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"160","url":"node:internal/dns/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9584,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBinding","ranges":[{"startOffset":506,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":957,"endOffset":1104,"count":0}],"isBlockCoverage":false},{"functionName":"validateTries","ranges":[{"startOffset":1106,"endOffset":1241,"count":0}],"isBlockCoverage":false},{"functionName":"ResolverBase","ranges":[{"startOffset":1635,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1988,"endOffset":2124,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":2128,"endOffset":2169,"count":0}],"isBlockCoverage":false},{"functionName":"getServers","ranges":[{"startOffset":2173,"endOffset":2441,"count":0}],"isBlockCoverage":false},{"functionName":"setServers","ranges":[{"startOffset":2445,"endOffset":3846,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3850,"endOffset":4405,"count":0}],"isBlockCoverage":false},{"functionName":"setLocalAddress","ranges":[{"startOffset":4410,"endOffset":4695,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4815,"endOffset":5035,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5039,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"initializeDns","ranges":[{"startOffset":5427,"endOffset":5813,"count":1},{"startOffset":5570,"endOffset":5680,"count":0},{"startOffset":5728,"endOffset":5812,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5753,"endOffset":5809,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResolver","ranges":[{"startOffset":6074,"endOffset":6355,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResolver","ranges":[{"startOffset":6357,"endOffset":6428,"count":0}],"isBlockCoverage":false},{"functionName":"bindDefaultResolver","ranges":[{"startOffset":6430,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"validateHints","ranges":[{"startOffset":6654,"endOffset":6873,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidHostnameWarning","ranges":[{"startOffset":6918,"endOffset":7272,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultVerbatim","ranges":[{"startOffset":7274,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResultOrder","ranges":[{"startOffset":7344,"endOffset":7468,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResultOrder","ranges":[{"startOffset":7470,"endOffset":7525,"count":0}],"isBlockCoverage":false},{"functionName":"createResolverClass","ranges":[{"startOffset":7527,"endOffset":8635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"161","url":"node:internal/net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2248,"count":1}],"isBlockCoverage":false},{"functionName":"isIPv4","ranges":[{"startOffset":1023,"endOffset":1296,"count":0}],"isBlockCoverage":false},{"functionName":"isIPv6","ranges":[{"startOffset":1298,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"isIP","ranges":[{"startOffset":1573,"endOffset":1659,"count":0}],"isBlockCoverage":false},{"functionName":"makeSyncWrite","ranges":[{"startOffset":1661,"endOffset":2075,"count":0}],"isBlockCoverage":false}]},{"scriptId":"162","url":"node:worker_threads","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":687,"count":1}],"isBlockCoverage":false}]},{"scriptId":"163","url":"node:internal/worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16395,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2471,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"process.chdir","ranges":[{"startOffset":2984,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"setEnvironmentData","ranges":[{"startOffset":3069,"endOffset":3216,"count":0}],"isBlockCoverage":false},{"functionName":"getEnvironmentData","ranges":[{"startOffset":3218,"endOffset":3289,"count":0}],"isBlockCoverage":false},{"functionName":"assignEnvironmentData","ranges":[{"startOffset":3291,"endOffset":3441,"count":1},{"startOffset":3356,"endOffset":3363,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3379,"endOffset":3437,"count":0}],"isBlockCoverage":false},{"functionName":"Worker","ranges":[{"startOffset":3481,"endOffset":9221,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9225,"endOffset":9857,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9861,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9961,"endOffset":10130,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10134,"endOffset":11027,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11031,"endOffset":11499,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":11503,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"terminate","ranges":[{"startOffset":11652,"endOffset":12486,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":12490,"endOffset":12596,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":12600,"endOffset":12712,"count":0}],"isBlockCoverage":false},{"functionName":"get threadId","ranges":[{"startOffset":12716,"endOffset":12815,"count":0}],"isBlockCoverage":false},{"functionName":"get stdin","ranges":[{"startOffset":12819,"endOffset":12877,"count":0}],"isBlockCoverage":false},{"functionName":"get stdout","ranges":[{"startOffset":12881,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"get stderr","ranges":[{"startOffset":12945,"endOffset":13005,"count":0}],"isBlockCoverage":false},{"functionName":"get resourceLimits","ranges":[{"startOffset":13009,"endOffset":13145,"count":0}],"isBlockCoverage":false},{"functionName":"getHeapSnapshot","ranges":[{"startOffset":13149,"endOffset":13656,"count":0}],"isBlockCoverage":false},{"functionName":"InternalWorker","ranges":[{"startOffset":13849,"endOffset":13928,"count":0}],"isBlockCoverage":false},{"functionName":"receiveMessageSync","ranges":[{"startOffset":13932,"endOffset":14010,"count":0}],"isBlockCoverage":false},{"functionName":"pipeWithoutWarning","ranges":[{"startOffset":14014,"endOffset":14336,"count":0}],"isBlockCoverage":false},{"functionName":"parseResourceLimits","ranges":[{"startOffset":14410,"endOffset":15024,"count":0}],"isBlockCoverage":false},{"functionName":"makeResourceLimits","ranges":[{"startOffset":15026,"endOffset":15313,"count":1}],"isBlockCoverage":true},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":15315,"endOffset":16118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"164","url":"node:internal/perf/event_loop_utilization","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":false},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":153,"endOffset":446,"count":0}],"isBlockCoverage":false},{"functionName":"internalEventLoopUtilization","ranges":[{"startOffset":448,"endOffset":1447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"165","url":"node:internal/error_serdes","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5723,"count":1}],"isBlockCoverage":false},{"functionName":"TryGetAllProperties","ranges":[{"startOffset":1039,"endOffset":2143,"count":0}],"isBlockCoverage":false},{"functionName":"GetConstructors","ranges":[{"startOffset":2145,"endOffset":2588,"count":0}],"isBlockCoverage":false},{"functionName":"GetName","ranges":[{"startOffset":2590,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":2737,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":2924,"endOffset":4219,"count":0}],"isBlockCoverage":false},{"functionName":"fromBuffer","ranges":[{"startOffset":4221,"endOffset":4442,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeError","ranges":[{"startOffset":4461,"endOffset":5666,"count":0}],"isBlockCoverage":false}]},{"scriptId":"166","url":"node:diagnostics_channel","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9791,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":734,"endOffset":1143,"count":1}],"isBlockCoverage":false},{"functionName":"#finalizers","ranges":[{"startOffset":814,"endOffset":850,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":856,"endOffset":973,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":977,"endOffset":1025,"count":5},{"startOffset":1013,"endOffset":1018,"count":0}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":1029,"endOffset":1083,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":1087,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"markActive","ranges":[{"startOffset":1145,"endOffset":1350,"count":0}],"isBlockCoverage":false},{"functionName":"maybeMarkInactive","ranges":[{"startOffset":1352,"endOffset":1720,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTransform","ranges":[{"startOffset":1722,"endOffset":1772,"count":0}],"isBlockCoverage":false},{"functionName":"wrapStoreRun","ranges":[{"startOffset":1774,"endOffset":2102,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":2184,"endOffset":2354,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":2358,"endOffset":2635,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":2639,"endOffset":2807,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":2811,"endOffset":3010,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":3014,"endOffset":3057,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":3061,"endOffset":3370,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":3374,"endOffset":3713,"count":0}],"isBlockCoverage":false},{"functionName":"Channel","ranges":[{"startOffset":3735,"endOffset":3876,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3887,"endOffset":4072,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":4076,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4165,"endOffset":4202,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":4206,"endOffset":4299,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":4303,"endOffset":4340,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":4344,"endOffset":4388,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":4392,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":4408,"endOffset":4495,"count":0}],"isBlockCoverage":false},{"functionName":"channel","ranges":[{"startOffset":4535,"endOffset":4801,"count":5},{"startOffset":4613,"endOffset":4628,"count":0},{"startOffset":4661,"endOffset":4688,"count":0},{"startOffset":4690,"endOffset":4770,"count":0}],"isBlockCoverage":true},{"functionName":"subscribe","ranges":[{"startOffset":4803,"endOffset":4893,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4895,"endOffset":4989,"count":0}],"isBlockCoverage":false},{"functionName":"hasSubscribers","ranges":[{"startOffset":4991,"endOffset":5126,"count":0}],"isBlockCoverage":false},{"functionName":"assertChannel","ranges":[{"startOffset":5215,"endOffset":5357,"count":0}],"isBlockCoverage":false},{"functionName":"TracingChannel","ranges":[{"startOffset":5384,"endOffset":6531,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":6535,"endOffset":6687,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":6691,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"traceSync","ranges":[{"startOffset":6928,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"tracePromise","ranges":[{"startOffset":7358,"endOffset":8459,"count":0}],"isBlockCoverage":false},{"functionName":"traceCallback","ranges":[{"startOffset":8463,"endOffset":9589,"count":0}],"isBlockCoverage":false},{"functionName":"tracingChannel","ranges":[{"startOffset":9593,"endOffset":9681,"count":0}],"isBlockCoverage":false}]},{"scriptId":"167","url":"node:internal/modules/cjs/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":45478,"count":1}],"isBlockCoverage":false},{"functionName":"get hasLoadedAnyUserCJSModule","ranges":[{"startOffset":2238,"endOffset":2307,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3478,"endOffset":3569,"count":1},{"startOffset":3525,"endOffset":3561,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3618,"endOffset":3661,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3702,"endOffset":3756,"count":1}],"isBlockCoverage":true},{"functionName":"internalRequire","ranges":[{"startOffset":4610,"endOffset":4935,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4937,"endOffset":5347,"count":1548},{"startOffset":5035,"endOffset":5129,"count":1499},{"startOffset":5111,"endOffset":5125,"count":406},{"startOffset":5129,"endOffset":5202,"count":1142},{"startOffset":5202,"endOffset":5216,"count":1093},{"startOffset":5218,"endOffset":5328,"count":434},{"startOffset":5328,"endOffset":5346,"count":1142}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":5428,"endOffset":5451,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":5455,"endOffset":5550,"count":0}],"isBlockCoverage":false},{"functionName":"updateChildren","ranges":[{"startOffset":5579,"endOffset":5775,"count":794},{"startOffset":5651,"endOffset":5661,"count":744},{"startOffset":5678,"endOffset":5731,"count":744},{"startOffset":5688,"endOffset":5730,"count":392},{"startOffset":5737,"endOffset":5773,"count":744}],"isBlockCoverage":true},{"functionName":"reportModuleToWatchMode","ranges":[{"startOffset":5777,"endOffset":5933,"count":1195},{"startOffset":5858,"endOffset":5873,"count":0},{"startOffset":5875,"endOffset":5931,"count":0}],"isBlockCoverage":true},{"functionName":"reportModuleNotFoundToWatchMode","ranges":[{"startOffset":5935,"endOffset":6174,"count":17},{"startOffset":6036,"endOffset":6051,"count":0},{"startOffset":6053,"endOffset":6172,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6121,"endOffset":6163,"count":0}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":6221,"endOffset":6978,"count":379},{"startOffset":6534,"endOffset":6544,"count":0},{"startOffset":6562,"endOffset":6926,"count":0}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":7220,"endOffset":7297,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7463,"endOffset":7585,"count":0}],"isBlockCoverage":false},{"functionName":"defineProperty","ranges":[{"startOffset":7590,"endOffset":7723,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7790,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7823,"endOffset":7877,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7947,"endOffset":7983,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7988,"endOffset":8050,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8084,"endOffset":8114,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleParent","ranges":[{"startOffset":8274,"endOffset":8342,"count":0}],"isBlockCoverage":false},{"functionName":"setModuleParent","ranges":[{"startOffset":8344,"endOffset":8417,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8484,"endOffset":8509,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCJS","ranges":[{"startOffset":9188,"endOffset":9688,"count":1}],"isBlockCoverage":true},{"functionName":"readPackage","ranges":[{"startOffset":9982,"endOffset":10095,"count":1736}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":10197,"endOffset":10227,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10231,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"readPackageScope","ranges":[{"startOffset":10383,"endOffset":11176,"count":889},{"startOffset":10570,"endOffset":11113,"count":1616},{"startOffset":10819,"endOffset":10865,"count":0},{"startOffset":10867,"endOffset":10894,"count":0},{"startOffset":10967,"endOffset":10980,"count":0},{"startOffset":11052,"endOffset":11109,"count":889},{"startOffset":11113,"endOffset":11175,"count":0}],"isBlockCoverage":true},{"functionName":"tryPackage","ranges":[{"startOffset":11178,"endOffset":12457,"count":52},{"startOffset":11300,"endOffset":11381,"count":18},{"startOffset":11381,"endOffset":11475,"count":34},{"startOffset":11475,"endOffset":11519,"count":0},{"startOffset":11520,"endOffset":11587,"count":0},{"startOffset":11613,"endOffset":12438,"count":0},{"startOffset":12438,"endOffset":12456,"count":34}],"isBlockCoverage":true},{"functionName":"tryFile","ranges":[{"startOffset":12802,"endOffset":13034,"count":612},{"startOffset":12891,"endOffset":12898,"count":207},{"startOffset":12898,"endOffset":12943,"count":405},{"startOffset":12943,"endOffset":12953,"count":0},{"startOffset":12955,"endOffset":12998,"count":0},{"startOffset":12998,"endOffset":13033,"count":405}],"isBlockCoverage":true},{"functionName":"toRealPath","ranges":[{"startOffset":13036,"endOffset":13168,"count":449}],"isBlockCoverage":true},{"functionName":"tryExtensions","ranges":[{"startOffset":13243,"endOffset":13449,"count":438},{"startOffset":13325,"endOffset":13431,"count":576},{"startOffset":13397,"endOffset":13427,"count":369},{"startOffset":13431,"endOffset":13448,"count":69}],"isBlockCoverage":true},{"functionName":"findLongestRegisteredExtension","ranges":[{"startOffset":13538,"endOffset":14006,"count":377},{"startOffset":13813,"endOffset":13822,"count":0},{"startOffset":13960,"endOffset":13984,"count":366},{"startOffset":13988,"endOffset":14005,"count":11}],"isBlockCoverage":true},{"functionName":"trySelfParentPath","ranges":[{"startOffset":14008,"endOffset":14297,"count":548},{"startOffset":14060,"endOffset":14073,"count":23},{"startOffset":14073,"endOffset":14131,"count":525},{"startOffset":14131,"endOffset":14295,"count":0}],"isBlockCoverage":true},{"functionName":"trySelf","ranges":[{"startOffset":14299,"endOffset":15197,"count":548},{"startOffset":14358,"endOffset":14371,"count":23},{"startOffset":14371,"endOffset":14475,"count":525},{"startOffset":14476,"endOffset":14501,"count":11},{"startOffset":14503,"endOffset":14526,"count":514},{"startOffset":14526,"endOffset":14573,"count":11},{"startOffset":14573,"endOffset":14599,"count":0},{"startOffset":14599,"endOffset":14765,"count":11},{"startOffset":14661,"endOffset":14736,"count":0},{"startOffset":14765,"endOffset":15195,"count":0}],"isBlockCoverage":true},{"functionName":"resolveExports","ranges":[{"startOffset":15358,"endOffset":16166,"count":440},{"startOffset":15565,"endOffset":15580,"count":372},{"startOffset":15599,"endOffset":15606,"count":372},{"startOffset":15606,"endOffset":15707,"count":68},{"startOffset":15707,"endOffset":15729,"count":51},{"startOffset":15731,"endOffset":16164,"count":2},{"startOffset":16011,"endOffset":16160,"count":0}],"isBlockCoverage":true},{"functionName":"Module._findPath","ranges":[{"startOffset":16434,"endOffset":20492,"count":549},{"startOffset":16544,"endOffset":16567,"count":25},{"startOffset":16567,"endOffset":16630,"count":524},{"startOffset":16607,"endOffset":16630,"count":0},{"startOffset":16767,"endOffset":16780,"count":101},{"startOffset":16780,"endOffset":17363,"count":448},{"startOffset":17002,"endOffset":17356,"count":0},{"startOffset":17438,"endOffset":17894,"count":372},{"startOffset":17544,"endOffset":17629,"count":59},{"startOffset":17564,"endOffset":17628,"count":0},{"startOffset":17630,"endOffset":17888,"count":59},{"startOffset":17799,"endOffset":17886,"count":0},{"startOffset":17939,"endOffset":18093,"count":372},{"startOffset":18056,"endOffset":18089,"count":59},{"startOffset":18093,"endOffset":18155,"count":448},{"startOffset":18155,"endOffset":20473,"count":557},{"startOffset":18296,"endOffset":18306,"count":498},{"startOffset":18307,"endOffset":18403,"count":473},{"startOffset":18341,"endOffset":18379,"count":0},{"startOffset":18410,"endOffset":18433,"count":92},{"startOffset":18433,"endOffset":18461,"count":465},{"startOffset":18461,"endOffset":18591,"count":440},{"startOffset":18562,"endOffset":18585,"count":2},{"startOffset":18591,"endOffset":19950,"count":463},{"startOffset":18743,"endOffset":19727,"count":43},{"startOffset":18776,"endOffset":18965,"count":42},{"startOffset":18831,"endOffset":18891,"count":0},{"startOffset":18965,"endOffset":19719,"count":1},{"startOffset":19019,"endOffset":19659,"count":0},{"startOffset":19750,"endOffset":19944,"count":420},{"startOffset":19840,"endOffset":19878,"count":403},{"startOffset":19950,"endOffset":19970,"count":463},{"startOffset":19970,"endOffset":19981,"count":69},{"startOffset":19983,"endOffset":20199,"count":52},{"startOffset":20093,"endOffset":20131,"count":0},{"startOffset":20199,"endOffset":20219,"count":463},{"startOffset":20219,"endOffset":20295,"count":446},{"startOffset":20295,"endOffset":20473,"count":17},{"startOffset":20473,"endOffset":20491,"count":0}],"isBlockCoverage":true},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":20736,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":22345,"endOffset":23485,"count":405},{"startOffset":22623,"endOffset":22648,"count":0},{"startOffset":22941,"endOffset":23363,"count":25573},{"startOffset":23037,"endOffset":23233,"count":2754},{"startOffset":23074,"endOffset":23192,"count":2352},{"startOffset":23233,"endOffset":23357,"count":22819},{"startOffset":23253,"endOffset":23357,"count":7759},{"startOffset":23288,"endOffset":23314,"count":5407},{"startOffset":23314,"endOffset":23349,"count":2352}],"isBlockCoverage":true},{"functionName":"Module._resolveLookupPaths","ranges":[{"startOffset":23519,"endOffset":24778,"count":548},{"startOffset":23599,"endOffset":23665,"count":0},{"startOffset":23750,"endOffset":23949,"count":471},{"startOffset":23830,"endOffset":23880,"count":340},{"startOffset":23881,"endOffset":23948,"count":0},{"startOffset":23951,"endOffset":24250,"count":77},{"startOffset":23983,"endOffset":23998,"count":54},{"startOffset":24000,"endOffset":24110,"count":54},{"startOffset":24110,"endOffset":24150,"count":23},{"startOffset":24239,"endOffset":24245,"count":0},{"startOffset":24250,"endOffset":24318,"count":471},{"startOffset":24319,"endOffset":24338,"count":471},{"startOffset":24340,"endOffset":24589,"count":0},{"startOffset":24589,"endOffset":24777,"count":471}],"isBlockCoverage":true},{"functionName":"emitCircularRequireWarning","ranges":[{"startOffset":24781,"endOffset":24965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25178,"endOffset":25550,"count":0}],"isBlockCoverage":false},{"functionName":"getOwnPropertyDescriptor","ranges":[{"startOffset":25555,"endOffset":25796,"count":0}],"isBlockCoverage":false},{"functionName":"getExportsForCircularRequire","ranges":[{"startOffset":25803,"endOffset":26447,"count":2},{"startOffset":25972,"endOffset":26265,"count":1},{"startOffset":26267,"endOffset":26419,"count":1}],"isBlockCoverage":true},{"functionName":"Module._load","ranges":[{"startOffset":26860,"endOffset":29991,"count":841},{"startOffset":26943,"endOffset":27759,"count":818},{"startOffset":27402,"endOffset":27755,"count":220},{"startOffset":27592,"endOffset":27642,"count":0},{"startOffset":27687,"endOffset":27755,"count":0},{"startOffset":27759,"endOffset":27812,"count":621},{"startOffset":27812,"endOffset":28084,"count":14},{"startOffset":27941,"endOffset":28001,"count":0},{"startOffset":28084,"endOffset":28237,"count":607},{"startOffset":28237,"endOffset":28597,"count":195},{"startOffset":28317,"endOffset":28545,"count":27},{"startOffset":28413,"endOffset":28440,"count":25},{"startOffset":28450,"endOffset":28500,"count":2},{"startOffset":28500,"endOffset":28545,"count":25},{"startOffset":28545,"endOffset":28593,"count":168},{"startOffset":28597,"endOffset":28657,"count":437},{"startOffset":28657,"endOffset":28740,"count":60},{"startOffset":28740,"endOffset":28839,"count":377},{"startOffset":28839,"endOffset":28870,"count":352},{"startOffset":28887,"endOffset":29028,"count":0},{"startOffset":29028,"endOffset":29132,"count":377},{"startOffset":29132,"endOffset":29201,"count":354},{"startOffset":29201,"endOffset":29963,"count":377},{"startOffset":29306,"endOffset":29709,"count":0},{"startOffset":29734,"endOffset":29776,"count":376},{"startOffset":29777,"endOffset":29889,"count":376},{"startOffset":29891,"endOffset":29959,"count":1},{"startOffset":29963,"endOffset":29990,"count":377}],"isBlockCoverage":true},{"functionName":"Module._resolveFilename","ranges":[{"startOffset":30020,"endOffset":33106,"count":608},{"startOffset":30117,"endOffset":30142,"count":60},{"startOffset":30142,"endOffset":30192,"count":548},{"startOffset":30192,"endOffset":30211,"count":0},{"startOffset":30213,"endOffset":31290,"count":0},{"startOffset":31290,"endOffset":31385,"count":548},{"startOffset":31385,"endOffset":31433,"count":0},{"startOffset":31435,"endOffset":32047,"count":0},{"startOffset":32047,"endOffset":32208,"count":548},{"startOffset":32208,"endOffset":32404,"count":0},{"startOffset":32404,"endOffset":32560,"count":548},{"startOffset":32560,"endOffset":33105,"count":0}],"isBlockCoverage":true},{"functionName":"finalizeEsmResolution","ranges":[{"startOffset":33109,"endOffset":33678,"count":2},{"startOffset":33311,"endOffset":33430,"count":0},{"startOffset":33543,"endOffset":33677,"count":0}],"isBlockCoverage":true},{"functionName":"createEsmNotFoundErr","ranges":[{"startOffset":33680,"endOffset":33970,"count":0}],"isBlockCoverage":false},{"functionName":"Module.load","ranges":[{"startOffset":34059,"endOffset":34896,"count":377},{"startOffset":34394,"endOffset":34424,"count":0},{"startOffset":34430,"endOffset":34472,"count":0},{"startOffset":34752,"endOffset":34800,"count":0}],"isBlockCoverage":true},{"functionName":"Module.require","ranges":[{"startOffset":35095,"endOffset":35394,"count":818},{"startOffset":35155,"endOffset":35273,"count":0}],"isBlockCoverage":true},{"functionName":"wrapSafe","ranges":[{"startOffset":35584,"endOffset":37521,"count":374},{"startOffset":35668,"endOffset":36404,"count":0},{"startOffset":36944,"endOffset":36990,"count":0},{"startOffset":36991,"endOffset":37032,"count":0},{"startOffset":37034,"endOffset":37097,"count":0},{"startOffset":37183,"endOffset":37281,"count":8},{"startOffset":37315,"endOffset":37519,"count":0}],"isBlockCoverage":true},{"functionName":"importModuleDynamically","ranges":[{"startOffset":35895,"endOffset":36134,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":36617,"endOffset":36870,"count":2}],"isBlockCoverage":true},{"functionName":"Module._compile","ranges":[{"startOffset":37721,"endOffset":39539,"count":374},{"startOffset":37812,"endOffset":37822,"count":0},{"startOffset":37840,"endOffset":37993,"count":0},{"startOffset":38126,"endOffset":38150,"count":0},{"startOffset":38152,"endOffset":38888,"count":0},{"startOffset":39111,"endOffset":39137,"count":23},{"startOffset":39162,"endOffset":39301,"count":0},{"startOffset":39503,"endOffset":39520,"count":23}],"isBlockCoverage":true},{"functionName":"Module._extensions..js","ranges":[{"startOffset":39598,"endOffset":41380,"count":374},{"startOffset":39759,"endOffset":39767,"count":25},{"startOffset":39769,"endOffset":39834,"count":25},{"startOffset":39834,"endOffset":39894,"count":349},{"startOffset":39943,"endOffset":41340,"count":363},{"startOffset":39988,"endOffset":40010,"count":0},{"startOffset":40106,"endOffset":41336,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..json","ranges":[{"startOffset":41444,"endOffset":41850,"count":3},{"startOffset":41554,"endOffset":41564,"count":0},{"startOffset":41582,"endOffset":41684,"count":0},{"startOffset":41767,"endOffset":41848,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..node","ranges":[{"startOffset":41914,"endOffset":42256,"count":0}],"isBlockCoverage":false},{"functionName":"createRequireFromPath","ranges":[{"startOffset":42259,"endOffset":42720,"count":2},{"startOffset":42439,"endOffset":42481,"count":0},{"startOffset":42519,"endOffset":42555,"count":0}],"isBlockCoverage":true},{"functionName":"createRequire","ranges":[{"startOffset":42828,"endOffset":43373,"count":2},{"startOffset":43033,"endOffset":43165,"count":0},{"startOffset":43169,"endOffset":43329,"count":0}],"isBlockCoverage":true},{"functionName":"Module._initPaths","ranges":[{"startOffset":43434,"endOffset":44399,"count":1},{"startOffset":43475,"endOffset":43500,"count":0},{"startOffset":43552,"endOffset":43575,"count":0},{"startOffset":43783,"endOffset":43825,"count":0},{"startOffset":44124,"endOffset":44266,"count":0}],"isBlockCoverage":true},{"functionName":"Module._preloadModules","ranges":[{"startOffset":44427,"endOffset":45018,"count":0}],"isBlockCoverage":false},{"functionName":"syncBuiltinESMExports","ranges":[{"startOffset":45052,"endOffset":45233,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":45318,"endOffset":45376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"168","url":"node:internal/vm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2921,"count":1}],"isBlockCoverage":false},{"functionName":"isContext","ranges":[{"startOffset":419,"endOffset":554,"count":0}],"isBlockCoverage":false},{"functionName":"internalCompileFunction","ranges":[{"startOffset":556,"endOffset":2857,"count":374},{"startOffset":1151,"endOffset":1200,"count":0},{"startOffset":1304,"endOffset":1566,"count":0},{"startOffset":2045,"endOffset":2118,"count":0},{"startOffset":2145,"endOffset":2202,"count":0},{"startOffset":2258,"endOffset":2331,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1675,"endOffset":1824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"169","url":"node:internal/modules/helpers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7741,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":923,"endOffset":948,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCjsConditions","ranges":[{"startOffset":971,"endOffset":1363,"count":1},{"startOffset":1150,"endOffset":1154,"count":0}],"isBlockCoverage":true},{"functionName":"getCjsConditions","ranges":[{"startOffset":1365,"endOffset":1492,"count":2},{"startOffset":1430,"endOffset":1466,"count":0}],"isBlockCoverage":true},{"functionName":"loadBuiltinModule","ranges":[{"startOffset":1494,"endOffset":1823,"count":88},{"startOffset":1595,"endOffset":1612,"count":0}],"isBlockCoverage":true},{"functionName":"lazyModule","ranges":[{"startOffset":1845,"endOffset":1958,"count":376},{"startOffset":1889,"endOffset":1937,"count":1}],"isBlockCoverage":true},{"functionName":"makeRequireFunction","ranges":[{"startOffset":2207,"endOffset":4418,"count":376},{"startOffset":2346,"endOffset":2409,"count":0},{"startOffset":2443,"endOffset":3714,"count":0}],"isBlockCoverage":true},{"functionName":"require","ranges":[{"startOffset":2586,"endOffset":3709,"count":0}],"isBlockCoverage":false},{"functionName":"require","ranges":[{"startOffset":3736,"endOffset":3876,"count":817}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":3885,"endOffset":4031,"count":0}],"isBlockCoverage":false},{"functionName":"paths","ranges":[{"startOffset":4065,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"stripBOM","ranges":[{"startOffset":4603,"endOffset":4758,"count":3},{"startOffset":4685,"endOffset":4738,"count":0}],"isBlockCoverage":true},{"functionName":"addBuiltinLibsToObject","ranges":[{"startOffset":4760,"endOffset":6720,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeReferrerURL","ranges":[{"startOffset":6788,"endOffset":6976,"count":68},{"startOffset":6895,"endOffset":6941,"count":10},{"startOffset":6941,"endOffset":6975,"count":58}],"isBlockCoverage":true},{"functionName":"hasEsmSyntax","ranges":[{"startOffset":7046,"endOffset":7548,"count":0}],"isBlockCoverage":false}]},{"scriptId":"170","url":"node:internal/modules/package_json_reader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3711,"count":1}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":932,"endOffset":3682,"count":2065},{"startOffset":1028,"endOffset":1065,"count":1912},{"startOffset":1065,"endOffset":1742,"count":153},{"startOffset":1742,"endOffset":1751,"count":0},{"startOffset":1752,"endOffset":1766,"count":0},{"startOffset":1767,"endOffset":1789,"count":153},{"startOffset":1813,"endOffset":3632,"count":85},{"startOffset":1881,"endOffset":2477,"count":0},{"startOffset":2635,"endOffset":2669,"count":84},{"startOffset":2671,"endOffset":2711,"count":84},{"startOffset":2767,"endOffset":2801,"count":43},{"startOffset":2803,"endOffset":2843,"count":43},{"startOffset":2903,"endOffset":2949,"count":27},{"startOffset":3009,"endOffset":3055,"count":1},{"startOffset":3166,"endOffset":3225,"count":26},{"startOffset":3197,"endOffset":3224,"count":25},{"startOffset":3227,"endOffset":3267,"count":26},{"startOffset":3301,"endOffset":3497,"count":1},{"startOffset":3422,"endOffset":3475,"count":0},{"startOffset":3525,"endOffset":3628,"count":0},{"startOffset":3632,"endOffset":3681,"count":153}],"isBlockCoverage":true}]},{"scriptId":"171","url":"node:internal/modules/run_main","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2850,"count":1}],"isBlockCoverage":false},{"functionName":"resolveMainPath","ranges":[{"startOffset":155,"endOffset":666,"count":1},{"startOffset":495,"endOffset":502,"count":0}],"isBlockCoverage":true},{"functionName":"shouldUseESMLoader","ranges":[{"startOffset":668,"endOffset":1558,"count":1},{"startOffset":1184,"endOffset":1196,"count":0},{"startOffset":1378,"endOffset":1390,"count":0},{"startOffset":1457,"endOffset":1470,"count":0}],"isBlockCoverage":true},{"functionName":"runMainESM","ranges":[{"startOffset":1560,"endOffset":1920,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1736,"endOffset":1915,"count":1},{"startOffset":1833,"endOffset":1843,"count":0}],"isBlockCoverage":true},{"functionName":"handleMainPromise","ranges":[{"startOffset":1922,"endOffset":2196,"count":1}],"isBlockCoverage":true},{"functionName":"executeUserEntryPoint","ranges":[{"startOffset":2382,"endOffset":2780,"count":1},{"startOffset":2592,"endOffset":2599,"count":0},{"startOffset":2605,"endOffset":2778,"count":0}],"isBlockCoverage":true}]},{"scriptId":"172","url":"node:internal/modules/esm/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6457,"count":1}],"isBlockCoverage":false},{"functionName":"getDefaultConditions","ranges":[{"startOffset":707,"endOffset":813,"count":108}],"isBlockCoverage":true},{"functionName":"getDefaultConditionsSet","ranges":[{"startOffset":841,"endOffset":956,"count":107}],"isBlockCoverage":true},{"functionName":"initializeDefaultConditions","ranges":[{"startOffset":1036,"endOffset":1418,"count":1},{"startOffset":1219,"endOffset":1223,"count":0}],"isBlockCoverage":true},{"functionName":"getConditionsSet","ranges":[{"startOffset":1488,"endOffset":1847,"count":107},{"startOffset":1601,"endOffset":1809,"count":0}],"isBlockCoverage":true},{"functionName":"registerModule","ranges":[{"startOffset":3590,"endOffset":3817,"count":432}],"isBlockCoverage":true},{"functionName":"initializeImportMetaObject","ranges":[{"startOffset":3842,"endOffset":4133,"count":3}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyCallback","ranges":[{"startOffset":4158,"endOffset":4557,"count":3},{"startOffset":4501,"endOffset":4556,"count":0}],"isBlockCoverage":true},{"functionName":"initializeESM","ranges":[{"startOffset":4722,"endOffset":5098,"count":1}],"isBlockCoverage":true},{"functionName":"isLoaderWorker","ranges":[{"startOffset":5100,"endOffset":5155,"count":1}],"isBlockCoverage":true},{"functionName":"initializeHooks","ranges":[{"startOffset":5157,"endOffset":6268,"count":0}],"isBlockCoverage":false}]},{"scriptId":"173","url":"node:internal/process/esm_loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1190,"count":1}],"isBlockCoverage":false},{"functionName":"get esmLoader","ranges":[{"startOffset":386,"endOffset":458,"count":77}],"isBlockCoverage":true},{"functionName":"loadESM","ranges":[{"startOffset":462,"endOffset":1185,"count":1},{"startOffset":630,"endOffset":846,"count":0},{"startOffset":937,"endOffset":1181,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":728,"endOffset":836,"count":0}],"isBlockCoverage":false}]},{"scriptId":"174","url":"node:internal/modules/esm/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21570,"count":1}],"isBlockCoverage":false},{"functionName":"newResolveCache","ranges":[{"startOffset":783,"endOffset":913,"count":1}],"isBlockCoverage":true},{"functionName":"newLoadCache","ranges":[{"startOffset":915,"endOffset":1036,"count":1}],"isBlockCoverage":true},{"functionName":"getTranslators","ranges":[{"startOffset":1038,"endOffset":1160,"count":98}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1847,"endOffset":14781,"count":1}],"isBlockCoverage":false},{"functionName":"ModuleLoader","ranges":[{"startOffset":3114,"endOffset":3307,"count":1},{"startOffset":3202,"endOffset":3259,"count":0}],"isBlockCoverage":true},{"functionName":"setCustomizations","ranges":[{"startOffset":4847,"endOffset":5091,"count":1},{"startOffset":4950,"endOffset":5032,"count":0}],"isBlockCoverage":true},{"functionName":"eval","ranges":[{"startOffset":5095,"endOffset":6098,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleJob","ranges":[{"startOffset":6833,"endOffset":7068,"count":162}],"isBlockCoverage":true},{"functionName":"getModuleJobSync","ranges":[{"startOffset":7072,"endOffset":7309,"count":0}],"isBlockCoverage":false},{"functionName":"getJobFromResolveResult","ranges":[{"startOffset":7313,"endOffset":7897,"count":162},{"startOffset":7687,"endOffset":7749,"count":0},{"startOffset":7778,"endOffset":7876,"count":97}],"isBlockCoverage":true},{"functionName":"#createModuleJob","ranges":[{"startOffset":8535,"endOffset":9726,"count":97},{"startOffset":9027,"endOffset":9103,"count":0},{"startOffset":9246,"endOffset":9286,"count":1},{"startOffset":9341,"endOffset":9356,"count":0},{"startOffset":9358,"endOffset":9412,"count":0}],"isBlockCoverage":true},{"functionName":"callTranslator","ranges":[{"startOffset":8629,"endOffset":8943,"count":97},{"startOffset":8773,"endOffset":8853,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9035,"endOffset":9103,"count":0}],"isBlockCoverage":false},{"functionName":"moduleProvider","ranges":[{"startOffset":9112,"endOffset":9188,"count":97}],"isBlockCoverage":true},{"functionName":"import","ranges":[{"startOffset":10188,"endOffset":10413,"count":4}],"isBlockCoverage":true},{"functionName":"register","ranges":[{"startOffset":10479,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":11461,"endOffset":12047,"count":162},{"startOffset":11549,"endOffset":11647,"count":0},{"startOffset":11843,"endOffset":11877,"count":1},{"startOffset":11877,"endOffset":12046,"count":161}],"isBlockCoverage":true},{"functionName":"resolveSync","ranges":[{"startOffset":12205,"endOffset":12483,"count":0}],"isBlockCoverage":false},{"functionName":"defaultResolve","ranges":[{"startOffset":12695,"endOffset":13035,"count":161}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":13319,"endOffset":13623,"count":97},{"startOffset":13456,"endOffset":13510,"count":0}],"isBlockCoverage":true},{"functionName":"loadSync","ranges":[{"startOffset":13627,"endOffset":14158,"count":0}],"isBlockCoverage":false},{"functionName":"validateLoadResult","ranges":[{"startOffset":14162,"endOffset":14313,"count":97},{"startOffset":14220,"endOffset":14309,"count":0}],"isBlockCoverage":true},{"functionName":"importMetaInitialize","ranges":[{"startOffset":14317,"endOffset":14652,"count":3},{"startOffset":14385,"endOffset":14469,"count":0}],"isBlockCoverage":true},{"functionName":"forceLoadHooks","ranges":[{"startOffset":14713,"endOffset":14779,"count":1},{"startOffset":14756,"endOffset":14772,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14835,"endOffset":17345,"count":0}],"isBlockCoverage":false},{"functionName":"createModuleLoader","ranges":[{"startOffset":17841,"endOffset":19523,"count":1},{"startOffset":18306,"endOffset":19473,"count":0}],"isBlockCoverage":true},{"functionName":"readableURIEncode","ranges":[{"startOffset":18381,"endOffset":18876,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19196,"endOffset":19284,"count":0}],"isBlockCoverage":false},{"functionName":"getHooksProxy","ranges":[{"startOffset":19636,"endOffset":19812,"count":0}],"isBlockCoverage":false},{"functionName":"register","ranges":[{"startOffset":21096,"endOffset":21495,"count":0}],"isBlockCoverage":false}]},{"scriptId":"175","url":"node:internal/modules/esm/module_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3877,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":281,"endOffset":306,"count":1}],"isBlockCoverage":true},{"functionName":"ResolveCache","ranges":[{"startOffset":850,"endOffset":878,"count":1}],"isBlockCoverage":true},{"functionName":"serializeKey","ranges":[{"startOffset":1224,"endOffset":1836,"count":162},{"startOffset":1633,"endOffset":1835,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1752,"endOffset":1818,"count":0}],"isBlockCoverage":false},{"functionName":"#getModuleCachedImports","ranges":[{"startOffset":1840,"endOffset":2056,"count":323},{"startOffset":1954,"endOffset":2026,"count":37}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2231,"endOffset":2333,"count":162}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":2473,"endOffset":2602,"count":161}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":2606,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"LoadCache","ranges":[{"startOffset":2844,"endOffset":2872,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2921,"endOffset":3064,"count":162},{"startOffset":3051,"endOffset":3059,"count":65}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3067,"endOffset":3662,"count":97},{"startOffset":3286,"endOffset":3322,"count":0},{"startOffset":3324,"endOffset":3394,"count":0},{"startOffset":3478,"endOffset":3484,"count":0}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":3665,"endOffset":3822,"count":0}],"isBlockCoverage":false}]},{"scriptId":"176","url":"node:internal/modules/esm/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4026,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1321,"endOffset":1359,"count":5}],"isBlockCoverage":true},{"functionName":"validateAssertions","ranges":[{"startOffset":1780,"endOffset":3310,"count":97},{"startOffset":2002,"endOffset":2301,"count":0},{"startOffset":2330,"endOffset":2475,"count":0},{"startOffset":2740,"endOffset":2800,"count":0},{"startOffset":2806,"endOffset":2914,"count":0},{"startOffset":2920,"endOffset":3304,"count":0}],"isBlockCoverage":true},{"functionName":"handleInvalidType","ranges":[{"startOffset":3542,"endOffset":3956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"177","url":"node:internal/modules/esm/translators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15691,"count":1}],"isBlockCoverage":false},{"functionName":"lazyTypes","ranges":[{"startOffset":372,"endOffset":484,"count":116},{"startOffset":418,"endOffset":432,"count":115},{"startOffset":432,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":948,"endOffset":973,"count":1}],"isBlockCoverage":true},{"functionName":"initCJSParse","ranges":[{"startOffset":1545,"endOffset":1943,"count":6},{"startOffset":1619,"endOffset":1694,"count":0},{"startOffset":1852,"endOffset":1937,"count":0}],"isBlockCoverage":true},{"functionName":"assertBufferSource","ranges":[{"startOffset":2077,"endOffset":2498,"count":116},{"startOffset":2154,"endOffset":2181,"count":58},{"startOffset":2183,"endOffset":2200,"count":0},{"startOffset":2294,"endOffset":2319,"count":0},{"startOffset":2338,"endOffset":2417,"count":0},{"startOffset":2418,"endOffset":2422,"count":0}],"isBlockCoverage":true},{"functionName":"stringify","ranges":[{"startOffset":2500,"endOffset":2774,"count":83},{"startOffset":2559,"endOffset":2571,"count":25},{"startOffset":2571,"endOffset":2711,"count":58},{"startOffset":2711,"endOffset":2730,"count":1},{"startOffset":2731,"endOffset":2740,"count":57}],"isBlockCoverage":true},{"functionName":"errPath","ranges":[{"startOffset":2776,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":2923,"endOffset":3061,"count":1}],"isBlockCoverage":true},{"functionName":"moduleStrategy","ranges":[{"startOffset":3143,"endOffset":3668,"count":58}],"isBlockCoverage":true},{"functionName":"initializeImportMeta","ranges":[{"startOffset":3557,"endOffset":3613,"count":3}],"isBlockCoverage":true},{"functionName":"enrichCJSError","ranges":[{"startOffset":3835,"endOffset":4374,"count":0}],"isBlockCoverage":false},{"functionName":"loadCJSModule","ranges":[{"startOffset":4715,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"createCJSModuleWrap","ranges":[{"startOffset":6909,"endOffset":8288,"count":25},{"startOffset":7110,"endOffset":7115,"count":0},{"startOffset":7309,"endOffset":7331,"count":1},{"startOffset":7332,"endOffset":7361,"count":24},{"startOffset":7378,"endOffset":7434,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7494,"endOffset":8283,"count":25},{"startOffset":7571,"endOffset":7624,"count":23},{"startOffset":7806,"endOffset":7849,"count":0},{"startOffset":7892,"endOffset":8239,"count":70},{"startOffset":7956,"endOffset":7993,"count":69},{"startOffset":8003,"endOffset":8012,"count":2},{"startOffset":8012,"endOffset":8136,"count":68},{"startOffset":8136,"endOffset":8192,"count":0},{"startOffset":8192,"endOffset":8239,"count":68}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8448,"endOffset":8540,"count":0}],"isBlockCoverage":false},{"functionName":"commonjsStrategy","ranges":[{"startOffset":8728,"endOffset":9611,"count":25},{"startOffset":8860,"endOffset":8891,"count":6},{"startOffset":9358,"endOffset":9373,"count":0},{"startOffset":9498,"endOffset":9546,"count":0}],"isBlockCoverage":true},{"functionName":"cjsLoader","ranges":[{"startOffset":9138,"endOffset":9357,"count":23},{"startOffset":9277,"endOffset":9353,"count":0}],"isBlockCoverage":true},{"functionName":"cjsPreparseModuleExports","ranges":[{"startOffset":9615,"endOffset":12093,"count":25},{"startOffset":9798,"endOffset":9923,"count":0},{"startOffset":10231,"endOffset":10236,"count":0},{"startOffset":10244,"endOffset":10293,"count":0},{"startOffset":10469,"endOffset":12056,"count":1},{"startOffset":11330,"endOffset":11363,"count":0},{"startOffset":11629,"endOffset":11658,"count":0},{"startOffset":11660,"endOffset":12046,"count":0}],"isBlockCoverage":true},{"functionName":"builtinStrategy","ranges":[{"startOffset":12217,"endOffset":12623,"count":14},{"startOffset":12496,"endOffset":12548,"count":0}],"isBlockCoverage":true},{"functionName":"jsonStrategy","ranges":[{"startOffset":12735,"endOffset":14686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14752,"endOffset":15688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"178","url":"node:internal/modules/esm/resolve","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36606,"count":1}],"isBlockCoverage":false},{"functionName":"emitTrailingSlashPatternDeprecation","ranges":[{"startOffset":2334,"endOffset":2920,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidSegmentDeprecation","ranges":[{"startOffset":2962,"endOffset":3657,"count":0}],"isBlockCoverage":false},{"functionName":"emitLegacyIndexDeprecation","ranges":[{"startOffset":3805,"endOffset":4938,"count":22},{"startOffset":3967,"endOffset":4936,"count":0}],"isBlockCoverage":true},{"functionName":"legacyMainResolve","ranges":[{"startOffset":6029,"endOffset":6789,"count":22},{"startOffset":6196,"endOffset":6280,"count":0},{"startOffset":6320,"endOffset":6331,"count":0},{"startOffset":6543,"endOffset":6570,"count":14},{"startOffset":6571,"endOffset":6575,"count":8}],"isBlockCoverage":true},{"functionName":"finalizeResolution","ranges":[{"startOffset":6969,"endOffset":8433,"count":107},{"startOffset":7109,"endOffset":7252,"count":0},{"startOffset":7314,"endOffset":7498,"count":0},{"startOffset":7587,"endOffset":7623,"count":0},{"startOffset":7689,"endOffset":7781,"count":0},{"startOffset":7804,"endOffset":8092,"count":0},{"startOffset":8338,"endOffset":8343,"count":0}],"isBlockCoverage":true},{"functionName":"importNotDefined","ranges":[{"startOffset":8545,"endOffset":8756,"count":0}],"isBlockCoverage":false},{"functionName":"exportsNotFound","ranges":[{"startOffset":8866,"endOffset":9061,"count":0}],"isBlockCoverage":false},{"functionName":"throwInvalidSubpath","ranges":[{"startOffset":9228,"endOffset":9611,"count":0}],"isBlockCoverage":false},{"functionName":"invalidPackageTarget","ranges":[{"startOffset":9613,"endOffset":9991,"count":0}],"isBlockCoverage":false},{"functionName":"resolvePackageTargetString","ranges":[{"startOffset":10714,"endOffset":13451,"count":34},{"startOffset":10883,"endOffset":10894,"count":0},{"startOffset":10895,"endOffset":10931,"count":0},{"startOffset":10937,"endOffset":11011,"count":0},{"startOffset":11061,"endOffset":11618,"count":0},{"startOffset":11710,"endOffset":12320,"count":0},{"startOffset":12543,"endOffset":12617,"count":0},{"startOffset":12657,"endOffset":13450,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11393,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11919,"endOffset":11932,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12065,"endOffset":12078,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12792,"endOffset":12805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13032,"endOffset":13045,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13385,"endOffset":13398,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayIndex","ranges":[{"startOffset":13506,"endOffset":13646,"count":18},{"startOffset":13598,"endOffset":13643,"count":0}],"isBlockCoverage":true},{"functionName":"resolvePackageTarget","ranges":[{"startOffset":13910,"endOffset":16158,"count":44},{"startOffset":14103,"endOffset":14257,"count":34},{"startOffset":14257,"endOffset":16041,"count":10},{"startOffset":14289,"endOffset":15127,"count":2},{"startOffset":14320,"endOffset":14346,"count":0},{"startOffset":14666,"endOffset":14814,"count":0},{"startOffset":14854,"endOffset":14881,"count":0},{"startOffset":14916,"endOffset":14973,"count":0},{"startOffset":15007,"endOffset":15069,"count":0},{"startOffset":15077,"endOffset":15127,"count":0},{"startOffset":15127,"endOffset":16041,"count":8},{"startOffset":15280,"endOffset":15508,"count":18},{"startOffset":15338,"endOffset":15502,"count":0},{"startOffset":15551,"endOffset":15966,"count":13},{"startOffset":15608,"endOffset":15630,"count":10},{"startOffset":15632,"endOffset":15960,"count":8},{"startOffset":15913,"endOffset":15922,"count":0},{"startOffset":15966,"endOffset":16041,"count":0},{"startOffset":16041,"endOffset":16157,"count":0}],"isBlockCoverage":true},{"functionName":"isConditionalExportsMainSugar","ranges":[{"startOffset":16343,"endOffset":17278,"count":32},{"startOffset":16449,"endOffset":16473,"count":6},{"startOffset":16475,"endOffset":16487,"count":26},{"startOffset":16487,"endOffset":16541,"count":6},{"startOffset":16543,"endOffset":16556,"count":0},{"startOffset":16556,"endOffset":16696,"count":6},{"startOffset":16696,"endOffset":17247,"count":11},{"startOffset":16806,"endOffset":16863,"count":6},{"startOffset":16863,"endOffset":17243,"count":5},{"startOffset":16919,"endOffset":17243,"count":0},{"startOffset":17247,"endOffset":17277,"count":6}],"isBlockCoverage":true},{"functionName":"packageExportsResolve","ranges":[{"startOffset":17488,"endOffset":20047,"count":32},{"startOffset":17700,"endOffset":17727,"count":27},{"startOffset":18129,"endOffset":18203,"count":0},{"startOffset":18234,"endOffset":20046,"count":0}],"isBlockCoverage":true},{"functionName":"patternKeyCompare","ranges":[{"startOffset":20049,"endOffset":20580,"count":0}],"isBlockCoverage":false},{"functionName":"packageImportsResolve","ranges":[{"startOffset":20709,"endOffset":23166,"count":2},{"startOffset":20871,"endOffset":21024,"count":0},{"startOffset":21608,"endOffset":23100,"count":0},{"startOffset":23110,"endOffset":23165,"count":0}],"isBlockCoverage":true},{"functionName":"getPackageType","ranges":[{"startOffset":23271,"endOffset":23384,"count":116}],"isBlockCoverage":true},{"functionName":"parsePackageName","ranges":[{"startOffset":23546,"endOffset":24598,"count":52},{"startOffset":23737,"endOffset":23965,"count":1},{"startOffset":23817,"endOffset":23856,"count":0},{"startOffset":24027,"endOffset":24079,"count":0},{"startOffset":24256,"endOffset":24281,"count":0},{"startOffset":24308,"endOffset":24427,"count":0},{"startOffset":24488,"endOffset":24541,"count":0}],"isBlockCoverage":true},{"functionName":"packageResolve","ranges":[{"startOffset":24760,"endOffset":26832,"count":52},{"startOffset":24874,"endOffset":24920,"count":0},{"startOffset":25258,"endOffset":25375,"count":0},{"startOffset":25550,"endOffset":26617,"count":191},{"startOffset":25809,"endOffset":26086,"count":139},{"startOffset":25886,"endOffset":25923,"count":3},{"startOffset":25924,"endOffset":25950,"count":136},{"startOffset":26086,"endOffset":26267,"count":52},{"startOffset":26267,"endOffset":26384,"count":30},{"startOffset":26384,"endOffset":26526,"count":22},{"startOffset":26526,"endOffset":26617,"count":0},{"startOffset":26617,"endOffset":26831,"count":0}],"isBlockCoverage":true},{"functionName":"isBareSpecifier","ranges":[{"startOffset":26893,"endOffset":27003,"count":0}],"isBlockCoverage":false},{"functionName":"isRelativeSpecifier","ranges":[{"startOffset":27005,"endOffset":27276,"count":268},{"startOffset":27075,"endOffset":27258,"count":104},{"startOffset":27133,"endOffset":27145,"count":94},{"startOffset":27145,"endOffset":27254,"count":10},{"startOffset":27258,"endOffset":27275,"count":164}],"isBlockCoverage":true},{"functionName":"shouldBeTreatedAsRelativeOrAbsolutePath","ranges":[{"startOffset":27278,"endOffset":27461,"count":268},{"startOffset":27364,"endOffset":27377,"count":0},{"startOffset":27406,"endOffset":27418,"count":0}],"isBlockCoverage":true},{"functionName":"moduleResolve","ranges":[{"startOffset":27654,"endOffset":28445,"count":107},{"startOffset":27980,"endOffset":28026,"count":52},{"startOffset":28026,"endOffset":28316,"count":55},{"startOffset":28071,"endOffset":28143,"count":2},{"startOffset":28143,"endOffset":28316,"count":53},{"startOffset":28204,"endOffset":28312,"count":52},{"startOffset":28354,"endOffset":28380,"count":0}],"isBlockCoverage":true},{"functionName":"resolveAsCommonJS","ranges":[{"startOffset":28591,"endOffset":30048,"count":0}],"isBlockCoverage":false},{"functionName":"checkIfDisallowedImport","ranges":[{"startOffset":30110,"endOffset":31482,"count":161},{"startOffset":30204,"endOffset":31480,"count":160},{"startOffset":30416,"endOffset":31476,"count":0}],"isBlockCoverage":true},{"functionName":"throwIfInvalidParentURL","ranges":[{"startOffset":31557,"endOffset":31830,"count":161},{"startOffset":31634,"endOffset":31685,"count":1},{"startOffset":31685,"endOffset":31722,"count":160},{"startOffset":31722,"endOffset":31742,"count":0},{"startOffset":31744,"endOffset":31828,"count":0}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":31833,"endOffset":35819,"count":161},{"startOffset":31981,"endOffset":32000,"count":160},{"startOffset":31990,"endOffset":32000,"count":0},{"startOffset":32002,"endOffset":32811,"count":0},{"startOffset":32853,"endOffset":32958,"count":160},{"startOffset":32915,"endOffset":32954,"count":0},{"startOffset":33042,"endOffset":33101,"count":52},{"startOffset":33101,"endOffset":33149,"count":109},{"startOffset":33149,"endOffset":33423,"count":107},{"startOffset":33327,"endOffset":33415,"count":0},{"startOffset":33430,"endOffset":33489,"count":0},{"startOffset":33494,"endOffset":33529,"count":54},{"startOffset":33863,"endOffset":33882,"count":0},{"startOffset":33947,"endOffset":33977,"count":107},{"startOffset":33979,"endOffset":34022,"count":54},{"startOffset":34022,"endOffset":34081,"count":107},{"startOffset":34081,"endOffset":34579,"count":1},{"startOffset":34536,"endOffset":34575,"count":0},{"startOffset":34579,"endOffset":34735,"count":107},{"startOffset":34735,"endOffset":34757,"count":1},{"startOffset":34758,"endOffset":34776,"count":106},{"startOffset":34789,"endOffset":35593,"count":0},{"startOffset":35593,"endOffset":35818,"count":107}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":36211,"endOffset":36602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"179","url":"node:internal/modules/esm/package_config","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1412,"count":1}],"isBlockCoverage":false},{"functionName":"getPackageScopeConfig","ranges":[{"startOffset":269,"endOffset":1362,"count":170},{"startOffset":387,"endOffset":1107,"count":277},{"startOffset":521,"endOffset":541,"count":0},{"startOffset":731,"endOffset":766,"count":170},{"startOffset":766,"endOffset":1083,"count":107},{"startOffset":1083,"endOffset":1103,"count":0},{"startOffset":1107,"endOffset":1361,"count":0}],"isBlockCoverage":true}]},{"scriptId":"180","url":"node:internal/modules/esm/get_format","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4514,"count":1}],"isBlockCoverage":false},{"functionName":"node:","ranges":[{"startOffset":900,"endOffset":931,"count":14}],"isBlockCoverage":true},{"functionName":"getDataProtocolModuleFormat","ranges":[{"startOffset":996,"endOffset":1212,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":1487,"endOffset":1846,"count":129},{"startOffset":1587,"endOffset":1831,"count":400},{"startOffset":1649,"endOffset":1684,"count":0},{"startOffset":1692,"endOffset":1821,"count":129},{"startOffset":1780,"endOffset":1784,"count":0},{"startOffset":1831,"endOffset":1845,"count":0}],"isBlockCoverage":true},{"functionName":"getFileProtocolModuleFormat","ranges":[{"startOffset":1970,"endOffset":3175,"count":129},{"startOffset":2086,"endOffset":2160,"count":116},{"startOffset":2132,"endOffset":2142,"count":72},{"startOffset":2143,"endOffset":2155,"count":44},{"startOffset":2160,"endOffset":2232,"count":13},{"startOffset":2232,"endOffset":2467,"count":0},{"startOffset":2469,"endOffset":3174,"count":0}],"isBlockCoverage":true},{"functionName":"getHttpProtocolModuleFormat","ranges":[{"startOffset":3311,"endOffset":3656,"count":0}],"isBlockCoverage":false},{"functionName":"defaultGetFormatWithoutErrors","ranges":[{"startOffset":3801,"endOffset":4036,"count":129},{"startOffset":3955,"endOffset":3977,"count":0}],"isBlockCoverage":true},{"functionName":"defaultGetFormat","ranges":[{"startOffset":4181,"endOffset":4404,"count":14},{"startOffset":4322,"endOffset":4344,"count":0}],"isBlockCoverage":true}]},{"scriptId":"181","url":"node:internal/modules/esm/formats","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":856,"count":1}],"isBlockCoverage":false},{"functionName":"mimeToFormat","ranges":[{"startOffset":468,"endOffset":794,"count":0}],"isBlockCoverage":false}]},{"scriptId":"182","url":"node:internal/modules/esm/handle_process_exit","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":424,"count":1}],"isBlockCoverage":false},{"functionName":"handleProcessExit","ranges":[{"startOffset":298,"endOffset":379,"count":0}],"isBlockCoverage":false}]},{"scriptId":"183","url":"node:internal/modules/esm/module_job","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8786,"count":1}],"isBlockCoverage":false},{"functionName":"isCommonJSGlobalLikeNotDefinedError","ranges":[{"startOffset":917,"endOffset":1048,"count":0}],"isBlockCoverage":false},{"functionName":"ModuleJob","ranges":[{"startOffset":1286,"endOffset":3283,"count":97},{"startOffset":1811,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"link","ranges":[{"startOffset":2085,"endOffset":2900,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2541,"endOffset":2746,"count":158}],"isBlockCoverage":true},{"functionName":"instantiate","ranges":[{"startOffset":3287,"endOffset":3432,"count":4},{"startOffset":3344,"endOffset":3398,"count":3}],"isBlockCoverage":true},{"functionName":"_instantiate","ranges":[{"startOffset":3436,"endOffset":7090,"count":3},{"startOffset":3896,"endOffset":4073,"count":0},{"startOffset":4130,"endOffset":6843,"count":0},{"startOffset":6890,"endOffset":7086,"count":106}],"isBlockCoverage":true},{"functionName":"addJobsToDependencyGraph","ranges":[{"startOffset":3535,"endOffset":3795,"count":161},{"startOffset":3596,"endOffset":3621,"count":55},{"startOffset":3621,"endOffset":3794,"count":106}],"isBlockCoverage":true},{"functionName":"runSync","ranges":[{"startOffset":7094,"endOffset":7494,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":7498,"endOffset":8706,"count":4},{"startOffset":7673,"endOffset":8649,"count":0}],"isBlockCoverage":true}]},{"scriptId":"184","url":"node:internal/modules/esm/load","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6703,"count":1}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":1130,"endOffset":2357,"count":58},{"startOffset":1398,"endOffset":2223,"count":0},{"startOffset":2236,"endOffset":2246,"count":0},{"startOffset":2248,"endOffset":2304,"count":0}],"isBlockCoverage":true},{"functionName":"getSourceSync","ranges":[{"startOffset":2540,"endOffset":3279,"count":0}],"isBlockCoverage":false},{"functionName":"defaultLoad","ranges":[{"startOffset":3400,"endOffset":4067,"count":97},{"startOffset":3739,"endOffset":3827,"count":14},{"startOffset":3827,"endOffset":3855,"count":83},{"startOffset":3860,"endOffset":3884,"count":39},{"startOffset":3884,"endOffset":3986,"count":58}],"isBlockCoverage":true},{"functionName":"defaultLoadSync","ranges":[{"startOffset":4580,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfUnsupportedURLScheme","ranges":[{"startOffset":5367,"endOffset":5999,"count":97},{"startOffset":5597,"endOffset":5624,"count":14},{"startOffset":5625,"endOffset":5652,"count":14},{"startOffset":5653,"endOffset":5782,"count":0},{"startOffset":5787,"endOffset":5997,"count":0}],"isBlockCoverage":true},{"functionName":"throwUnknownModuleFormat","ranges":[{"startOffset":6378,"endOffset":6616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"185","url":"node:internal/fs/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29943,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCpPromises","ranges":[{"startOffset":2997,"endOffset":3089,"count":0}],"isBlockCoverage":false},{"functionName":"lazyFsStreams","ranges":[{"startOffset":3151,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3236,"endOffset":9299,"count":58}],"isBlockCoverage":false},{"functionName":"FileHandle","ranges":[{"startOffset":3377,"endOffset":3554,"count":58},{"startOffset":3491,"endOffset":3495,"count":0}],"isBlockCoverage":true},{"functionName":"getAsyncId","ranges":[{"startOffset":3558,"endOffset":3615,"count":0}],"isBlockCoverage":false},{"functionName":"get fd","ranges":[{"startOffset":3619,"endOffset":3655,"count":116}],"isBlockCoverage":true},{"functionName":"appendFile","ranges":[{"startOffset":3659,"endOffset":3741,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":3745,"endOffset":3801,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":3805,"endOffset":3869,"count":0}],"isBlockCoverage":false},{"functionName":"datasync","ranges":[{"startOffset":3873,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":3929,"endOffset":3973,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":3977,"endOffset":4086,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":4090,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":4175,"endOffset":4242,"count":0}],"isBlockCoverage":false},{"functionName":"readLines","ranges":[{"startOffset":4246,"endOffset":4389,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4393,"endOffset":4453,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":4457,"endOffset":4521,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":4525,"endOffset":4599,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":4603,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":4718,"endOffset":4801,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4805,"endOffset":4886,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":4898,"endOffset":5690,"count":58},{"startOffset":4932,"endOffset":4970,"count":0},{"startOffset":5001,"endOffset":5042,"count":0},{"startOffset":5268,"endOffset":5629,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5210,"endOffset":5252,"count":58}],"isBlockCoverage":true},{"functionName":".SafePromisePrototypeFinally.","ranges":[{"startOffset":5353,"endOffset":5465,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5468,"endOffset":5613,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5695,"endOffset":5754,"count":0}],"isBlockCoverage":false},{"functionName":"readableWebStream","ranges":[{"startOffset":5949,"endOffset":7635,"count":0}],"isBlockCoverage":false},{"functionName":"createReadStream","ranges":[{"startOffset":7933,"endOffset":8084,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":8333,"endOffset":8487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8491,"endOffset":8891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8895,"endOffset":8948,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8952,"endOffset":9039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9043,"endOffset":9076,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9080,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"handleFdClose","ranges":[{"startOffset":9301,"endOffset":9672,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9412,"endOffset":9471,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9458,"endOffset":9470,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9477,"endOffset":9664,"count":0}],"isBlockCoverage":false},{"functionName":"fsCall","ranges":[{"startOffset":9674,"endOffset":10134,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":10136,"endOffset":10256,"count":232},{"startOffset":10180,"endOffset":10189,"count":0},{"startOffset":10195,"endOffset":10254,"count":0}],"isBlockCoverage":true},{"functionName":"writeFileHandle","ranges":[{"startOffset":10258,"endOffset":11400,"count":0}],"isBlockCoverage":false},{"functionName":"readFileHandle","ranges":[{"startOffset":11402,"endOffset":13541,"count":58},{"startOffset":11554,"endOffset":11584,"count":0},{"startOffset":11864,"endOffset":11902,"count":0},{"startOffset":11935,"endOffset":11983,"count":0},{"startOffset":12016,"endOffset":12054,"count":0},{"startOffset":12296,"endOffset":12368,"count":0},{"startOffset":12512,"endOffset":12516,"count":0},{"startOffset":12601,"endOffset":12657,"count":0},{"startOffset":12751,"endOffset":12762,"count":0},{"startOffset":12819,"endOffset":12879,"count":0},{"startOffset":12927,"endOffset":12941,"count":0},{"startOffset":12943,"endOffset":13053,"count":0},{"startOffset":13084,"endOffset":13535,"count":0}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":13694,"endOffset":13915,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":13917,"endOffset":14186,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":14188,"endOffset":14546,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":14666,"endOffset":14991,"count":58}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":14993,"endOffset":16364,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":16366,"endOffset":16703,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":16705,"endOffset":17954,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":17956,"endOffset":18398,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":18400,"endOffset":18706,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":18708,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":18843,"endOffset":19002,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":19004,"endOffset":19208,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":19210,"endOffset":19581,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":19583,"endOffset":19672,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":19674,"endOffset":19755,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":19757,"endOffset":20234,"count":0}],"isBlockCoverage":false},{"functionName":"readdirRecursive","ranges":[{"startOffset":20236,"endOffset":21910,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":21912,"endOffset":22339,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":22341,"endOffset":22580,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":22582,"endOffset":23306,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":23308,"endOffset":23486,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":23488,"endOffset":23758,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":23760,"endOffset":24027,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":24029,"endOffset":24303,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":24305,"endOffset":24628,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":24630,"endOffset":24768,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":24770,"endOffset":24903,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":24905,"endOffset":25091,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":25093,"endOffset":25321,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":25323,"endOffset":25599,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":25601,"endOffset":25798,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":25800,"endOffset":26073,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":26075,"endOffset":26347,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":26349,"endOffset":26548,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":26550,"endOffset":26827,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":26829,"endOffset":27002,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":27004,"endOffset":27383,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":27385,"endOffset":28060,"count":0}],"isBlockCoverage":false},{"functionName":"isCustomIterable","ranges":[{"startOffset":28062,"endOffset":28176,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":28178,"endOffset":28419,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":28421,"endOffset":28765,"count":58},{"startOffset":28538,"endOffset":28544,"count":0},{"startOffset":28585,"endOffset":28622,"count":0}],"isBlockCoverage":true},{"functionName":"_watch","ranges":[{"startOffset":28767,"endOffset":29432,"count":0}],"isBlockCoverage":false}]},{"scriptId":"186","url":"node:internal/fs/rimraf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7454,"count":1}],"isBlockCoverage":false},{"functionName":"rimraf","ranges":[{"startOffset":1175,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_rimraf","ranges":[{"startOffset":1638,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERM","ranges":[{"startOffset":2499,"endOffset":2934,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdir","ranges":[{"startOffset":2937,"endOffset":3235,"count":0}],"isBlockCoverage":false},{"functionName":"_rmchildren","ranges":[{"startOffset":3238,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafPromises","ranges":[{"startOffset":3928,"endOffset":4126,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafSync","ranges":[{"startOffset":4129,"endOffset":4812,"count":0}],"isBlockCoverage":false},{"functionName":"_unlinkSync","ranges":[{"startOffset":4815,"endOffset":5444,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdirSync","ranges":[{"startOffset":5447,"endOffset":6944,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERMSync","ranges":[{"startOffset":6947,"endOffset":7394,"count":0}],"isBlockCoverage":false}]},{"scriptId":"187","url":"node:internal/fs/dir","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8071,"count":1}],"isBlockCoverage":false},{"functionName":"Dir","ranges":[{"startOffset":1177,"endOffset":1993,"count":0}],"isBlockCoverage":false},{"functionName":"get path","ranges":[{"startOffset":1997,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":2044,"endOffset":2111,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2115,"endOffset":3841,"count":0}],"isBlockCoverage":false},{"functionName":"processReadResult","ranges":[{"startOffset":3845,"endOffset":4099,"count":0}],"isBlockCoverage":false},{"functionName":"readSyncRecursive","ranges":[{"startOffset":4103,"endOffset":4676,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":4680,"endOffset":5656,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":5660,"endOffset":6349,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":6353,"endOffset":6730,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":6734,"endOffset":6997,"count":0}],"isBlockCoverage":false},{"functionName":"opendir","ranges":[{"startOffset":7177,"endOffset":7757,"count":0}],"isBlockCoverage":false},{"functionName":"opendirSync","ranges":[{"startOffset":7759,"endOffset":8014,"count":0}],"isBlockCoverage":false}]},{"scriptId":"188","url":"node:internal/fs/watchers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11242,"count":1}],"isBlockCoverage":false},{"functionName":"emitStop","ranges":[{"startOffset":1420,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher","ranges":[{"startOffset":1470,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"onchange","ranges":[{"startOffset":1820,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":2565,"endOffset":3399,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.start","ranges":[{"startOffset":3620,"endOffset":3628,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.stop","ranges":[{"startOffset":3874,"endOffset":4155,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":4244,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.ref","ranges":[{"startOffset":4702,"endOffset":4984,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.unref","ranges":[{"startOffset":5017,"endOffset":5267,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher","ranges":[{"startOffset":5271,"endOffset":6239,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.","ranges":[{"startOffset":6776,"endOffset":7686,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.start","ranges":[{"startOffset":7903,"endOffset":7911,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.close","ranges":[{"startOffset":8034,"endOffset":8371,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.ref","ranges":[{"startOffset":8400,"endOffset":8469,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.unref","ranges":[{"startOffset":8500,"endOffset":8571,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":8574,"endOffset":8626,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8850,"endOffset":8886,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8890,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":8967,"endOffset":11110,"count":0}],"isBlockCoverage":false}]},{"scriptId":"189","url":"node:internal/fs/recursive_watch","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7634,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFsPromises","ranges":[{"startOffset":812,"endOffset":919,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadFsSync","ranges":[{"startOffset":921,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"traverse","ranges":[{"startOffset":1037,"endOffset":1618,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1620,"endOffset":7580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"190","url":"node:internal/readline/interface","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":39029,"count":1}],"isBlockCoverage":false},{"functionName":"InterfaceConstructor","ranges":[{"startOffset":3781,"endOffset":9286,"count":0}],"isBlockCoverage":false},{"functionName":"Interface","ranges":[{"startOffset":9527,"endOffset":9627,"count":0}],"isBlockCoverage":false},{"functionName":"get columns","ranges":[{"startOffset":9630,"endOffset":9742,"count":0}],"isBlockCoverage":false},{"functionName":"setPrompt","ranges":[{"startOffset":9851,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"getPrompt","ranges":[{"startOffset":9996,"endOffset":10039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10043,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"prompt","ranges":[{"startOffset":10373,"endOffset":10627,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10631,"endOffset":10938,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10942,"endOffset":11184,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11188,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11279,"endOffset":11447,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11451,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11652,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12834,"endOffset":13839,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13923,"endOffset":14094,"count":0}],"isBlockCoverage":false},{"functionName":"pause","ranges":[{"startOffset":14175,"endOffset":14306,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":14398,"endOffset":14534,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":14805,"endOffset":14964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14968,"endOffset":16702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16706,"endOffset":17375,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17379,"endOffset":17778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17782,"endOffset":19990,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19994,"endOffset":20455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20459,"endOffset":20717,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20721,"endOffset":21203,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21207,"endOffset":21688,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21692,"endOffset":22452,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22456,"endOffset":22883,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22887,"endOffset":23165,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23169,"endOffset":23427,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23431,"endOffset":23691,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23695,"endOffset":23850,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23854,"endOffset":24529,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":24533,"endOffset":24682,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24686,"endOffset":24840,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24844,"endOffset":25031,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25035,"endOffset":25343,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25347,"endOffset":25655,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26090,"endOffset":26724,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26728,"endOffset":27436,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27511,"endOffset":28451,"count":0}],"isBlockCoverage":false},{"functionName":"getCursorPos","ranges":[{"startOffset":28628,"endOffset":28797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":28916,"endOffset":29473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29510,"endOffset":37760,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38068,"endOffset":38448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"191","url":"node:internal/readline/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12396,"count":1}],"isBlockCoverage":false},{"functionName":"CSI","ranges":[{"startOffset":385,"endOffset":579,"count":4},{"startOffset":544,"endOffset":559,"count":0}],"isBlockCoverage":true},{"functionName":"charLengthLeft","ranges":[{"startOffset":958,"endOffset":1220,"count":0}],"isBlockCoverage":false},{"functionName":"charLengthAt","ranges":[{"startOffset":1222,"endOffset":1484,"count":0}],"isBlockCoverage":false},{"functionName":"emitKeys","ranges":[{"startOffset":2213,"endOffset":11840,"count":0}],"isBlockCoverage":false},{"functionName":"commonPrefix","ranges":[{"startOffset":11870,"endOffset":12283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"192","url":"node:internal/readline/callbacks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2754,"count":1}],"isBlockCoverage":false},{"functionName":"cursorTo","ranges":[{"startOffset":460,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"moveCursor","ranges":[{"startOffset":1210,"endOffset":1722,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":1869,"endOffset":2272,"count":0}],"isBlockCoverage":false},{"functionName":"clearScreenDown","ranges":[{"startOffset":2349,"endOffset":2672,"count":0}],"isBlockCoverage":false}]},{"scriptId":"193","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/base.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7557,"count":1},{"startOffset":7375,"endOffset":7491,"count":0},{"startOffset":7522,"endOffset":7556,"count":0}],"isBlockCoverage":true},{"functionName":"exit","ranges":[{"startOffset":1052,"endOffset":1240,"count":1}],"isBlockCoverage":true},{"functionName":"handleProcessExit","ranges":[{"startOffset":1268,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":1946,"endOffset":6902,"count":1},{"startOffset":2368,"endOffset":2565,"count":0},{"startOffset":5638,"endOffset":5643,"count":0},{"startOffset":5646,"endOffset":5671,"count":0},{"startOffset":5908,"endOffset":5943,"count":0},{"startOffset":5944,"endOffset":5979,"count":0},{"startOffset":5981,"endOffset":6410,"count":0},{"startOffset":6682,"endOffset":6752,"count":0},{"startOffset":6756,"endOffset":6900,"count":0}],"isBlockCoverage":true},{"functionName":"checkSelectedByLineNumbers","ranges":[{"startOffset":2550,"endOffset":2561,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3090,"endOffset":3122,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3204,"endOffset":3232,"count":48}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3256,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3420,"endOffset":4245,"count":1},{"startOffset":3523,"endOffset":3593,"count":0},{"startOffset":3598,"endOffset":3756,"count":0},{"startOffset":3831,"endOffset":4000,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3813,"endOffset":3823,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4030,"endOffset":4240,"count":1},{"startOffset":4087,"endOffset":4223,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4282,"endOffset":4421,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4602,"endOffset":4633,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4642,"endOffset":4668,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4927,"endOffset":5129,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":5197,"endOffset":5585,"count":1},{"startOffset":5343,"endOffset":5584,"count":0}],"isBlockCoverage":true},{"functionName":"onError","ranges":[{"startOffset":6921,"endOffset":7139,"count":0}],"isBlockCoverage":false}]},{"scriptId":"194","url":"node:internal/deps/cjs-module-lexer/dist/lexer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":33616,"count":1}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":116,"endOffset":813,"count":25},{"startOffset":146,"endOffset":181,"count":0},{"startOffset":222,"endOffset":237,"count":0},{"startOffset":273,"endOffset":308,"count":1},{"startOffset":332,"endOffset":334,"count":0},{"startOffset":406,"endOffset":553,"count":0},{"startOffset":601,"endOffset":650,"count":1},{"startOffset":663,"endOffset":696,"count":0},{"startOffset":709,"endOffset":773,"count":71}],"isBlockCoverage":true},{"functionName":"B","ranges":[{"startOffset":813,"endOffset":1040,"count":72},{"startOffset":840,"endOffset":852,"count":71},{"startOffset":853,"endOffset":862,"count":70},{"startOffset":862,"endOffset":913,"count":2},{"startOffset":913,"endOffset":1023,"count":25},{"startOffset":958,"endOffset":1022,"count":0},{"startOffset":1023,"endOffset":1032,"count":2},{"startOffset":1032,"endOffset":1039,"count":0}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":1040,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"C","ranges":[{"startOffset":1141,"endOffset":1215,"count":25},{"startOffset":1192,"endOffset":1214,"count":73749}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":1221,"endOffset":33616,"count":6},{"startOffset":1245,"endOffset":33615,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1251,"endOffset":33611,"count":1},{"startOffset":33455,"endOffset":33524,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":33505,"endOffset":33523,"count":0}],"isBlockCoverage":false}]},{"scriptId":"195","url":"node:module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":397,"count":1}],"isBlockCoverage":false}]},{"scriptId":"196","url":"node:internal/source_map/source_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12067,"count":1}],"isBlockCoverage":false},{"functionName":"StringCharIterator","ranges":[{"startOffset":4000,"endOffset":4076,"count":0}],"isBlockCoverage":false},{"functionName":"next","ranges":[{"startOffset":4114,"endOffset":4192,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":4230,"endOffset":4306,"count":0}],"isBlockCoverage":false},{"functionName":"hasNext","ranges":[{"startOffset":4345,"endOffset":4409,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4550,"endOffset":10030,"count":0}],"isBlockCoverage":false},{"functionName":"isSeparator","ranges":[{"startOffset":10085,"endOffset":10154,"count":0}],"isBlockCoverage":false},{"functionName":"decodeVLQ","ranges":[{"startOffset":10244,"endOffset":11177,"count":0}],"isBlockCoverage":false},{"functionName":"cloneSourceMapV3","ranges":[{"startOffset":11244,"endOffset":11556,"count":0}],"isBlockCoverage":false},{"functionName":"compareSourceMapEntry","ranges":[{"startOffset":11751,"endOffset":12030,"count":0}],"isBlockCoverage":false}]},{"scriptId":"197","url":"node:process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":83,"count":1}],"isBlockCoverage":false}]},{"scriptId":"198","url":"node:internal/process/report","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2644,"count":1}],"isBlockCoverage":false},{"functionName":"writeReport","ranges":[{"startOffset":352,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getReport","ranges":[{"startOffset":775,"endOffset":940,"count":0}],"isBlockCoverage":false},{"functionName":"get directory","ranges":[{"startOffset":944,"endOffset":995,"count":0}],"isBlockCoverage":false},{"functionName":"set directory","ranges":[{"startOffset":999,"endOffset":1087,"count":0}],"isBlockCoverage":false},{"functionName":"get filename","ranges":[{"startOffset":1091,"endOffset":1140,"count":0}],"isBlockCoverage":false},{"functionName":"set filename","ranges":[{"startOffset":1144,"endOffset":1232,"count":0}],"isBlockCoverage":false},{"functionName":"get compact","ranges":[{"startOffset":1236,"endOffset":1283,"count":0}],"isBlockCoverage":false},{"functionName":"set compact","ranges":[{"startOffset":1287,"endOffset":1364,"count":0}],"isBlockCoverage":false},{"functionName":"get signal","ranges":[{"startOffset":1368,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"set signal","ranges":[{"startOffset":1417,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnFatalError","ranges":[{"startOffset":1558,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnFatalError","ranges":[{"startOffset":1634,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnSignal","ranges":[{"startOffset":1756,"endOffset":1820,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnSignal","ranges":[{"startOffset":1824,"endOffset":1985,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnUncaughtException","ranges":[{"startOffset":1989,"endOffset":2075,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnUncaughtException","ranges":[{"startOffset":2079,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"addSignalHandler","ranges":[{"startOffset":2217,"endOffset":2388,"count":0}],"isBlockCoverage":false},{"functionName":"removeSignalHandler","ranges":[{"startOffset":2390,"endOffset":2514,"count":0}],"isBlockCoverage":false},{"functionName":"signalHandler","ranges":[{"startOffset":2516,"endOffset":2590,"count":0}],"isBlockCoverage":false}]},{"scriptId":"199","url":"node:url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":32640,"count":1}],"isBlockCoverage":false},{"functionName":"Url","ranges":[{"startOffset":2149,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"urlParse","ranges":[{"startOffset":3430,"endOffset":4035,"count":0}],"isBlockCoverage":false},{"functionName":"isIpv6Hostname","ranges":[{"startOffset":4037,"endOffset":4260,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":5081,"endOffset":15159,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname","ranges":[{"startOffset":15190,"endOffset":16135,"count":0}],"isBlockCoverage":false},{"functionName":"autoEscapeStr","ranges":[{"startOffset":17192,"endOffset":17898,"count":0}],"isBlockCoverage":false},{"functionName":"urlFormat","ranges":[{"startOffset":17944,"endOffset":19115,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":19822,"endOffset":22199,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolve","ranges":[{"startOffset":22202,"endOffset":22301,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":22327,"endOffset":22428,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolveObject","ranges":[{"startOffset":22431,"endOffset":22574,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObject","ranges":[{"startOffset":22606,"endOffset":31725,"count":0}],"isBlockCoverage":false},{"functionName":"parseHost","ranges":[{"startOffset":31754,"endOffset":32027,"count":0}],"isBlockCoverage":false},{"functionName":"pathToFileURL","ranges":[{"startOffset":32248,"endOffset":32344,"count":1}],"isBlockCoverage":true}]},{"scriptId":"200","url":"node:internal/idna","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":124,"count":1}],"isBlockCoverage":false}]},{"scriptId":"202","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/chalk.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":351,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":197,"endOffset":350,"count":1},{"startOffset":238,"endOffset":298,"count":0}],"isBlockCoverage":true}]},{"scriptId":"203","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/provider-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":455,"endOffset":1345,"count":1},{"startOffset":1293,"endOffset":1312,"count":0}],"isBlockCoverage":true},{"functionName":"negotiateProtocol","ranges":[{"startOffset":665,"endOffset":1273,"count":1},{"startOffset":840,"endOffset":978,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":748,"endOffset":803,"count":2}],"isBlockCoverage":true},{"functionName":"findFiles","ranges":[{"startOffset":1047,"endOffset":1178,"count":0}],"isBlockCoverage":false},{"functionName":"typescript","ranges":[{"startOffset":1383,"endOffset":1462,"count":1}],"isBlockCoverage":true}]},{"scriptId":"204","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17,"count":1}],"isBlockCoverage":true}]},{"scriptId":"205","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/runner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15654,"count":1}],"isBlockCoverage":true},{"functionName":"makeFileURL","ranges":[{"startOffset":520,"endOffset":594,"count":1},{"startOffset":555,"endOffset":561,"count":0}],"isBlockCoverage":true},{"functionName":"Runner","ranges":[{"startOffset":644,"endOffset":5705,"count":1},{"startOffset":725,"endOffset":730,"count":0},{"startOffset":978,"endOffset":983,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.registerUniqueTitle","ranges":[{"startOffset":1787,"endOffset":1911,"count":12},{"startOffset":1834,"endOffset":1858,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.notifyTimeoutUpdate","ranges":[{"startOffset":1943,"endOffset":2058,"count":0}],"isBlockCoverage":false},{"functionName":"get snapshotDirectory","ranges":[{"startOffset":2187,"endOffset":2366,"count":0}],"isBlockCoverage":false},{"functionName":"Runner.chain.createChain.serial","ranges":[{"startOffset":2401,"endOffset":5489,"count":12},{"startOffset":2480,"endOffset":2630,"count":0},{"startOffset":2656,"endOffset":2769,"count":1},{"startOffset":2925,"endOffset":2990,"count":0},{"startOffset":3014,"endOffset":3813,"count":0},{"startOffset":3846,"endOffset":3965,"count":0},{"startOffset":4006,"endOffset":4093,"count":0},{"startOffset":4134,"endOffset":4205,"count":0},{"startOffset":4267,"endOffset":4522,"count":0},{"startOffset":4600,"endOffset":4669,"count":0},{"startOffset":4714,"endOffset":4730,"count":0},{"startOffset":4870,"endOffset":4992,"count":0},{"startOffset":5028,"endOffset":5072,"count":0},{"startOffset":5106,"endOffset":5116,"count":0},{"startOffset":5365,"endOffset":5480,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2706,"endOffset":2762,"count":1}],"isBlockCoverage":true},{"functionName":"get snapshots","ranges":[{"startOffset":5708,"endOffset":6318,"count":13},{"startOffset":5749,"endOffset":5781,"count":12},{"startOffset":5781,"endOffset":6317,"count":1}],"isBlockCoverage":true},{"functionName":"compareTestSnapshot","ranges":[{"startOffset":6321,"endOffset":6396,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":6399,"endOffset":6472,"count":0}],"isBlockCoverage":false},{"functionName":"saveSnapshotState","ranges":[{"startOffset":6475,"endOffset":6559,"count":1}],"isBlockCoverage":true},{"functionName":"onRun","ranges":[{"startOffset":6562,"endOffset":6620,"count":12}],"isBlockCoverage":true},{"functionName":"onRunComplete","ranges":[{"startOffset":6623,"endOffset":6692,"count":12}],"isBlockCoverage":true},{"functionName":"beforeExitHandler","ranges":[{"startOffset":6695,"endOffset":6809,"count":0}],"isBlockCoverage":false},{"functionName":"runMultiple","ranges":[{"startOffset":6812,"endOffset":8056,"count":39}],"isBlockCoverage":true},{"functionName":"runAndStoreResult","ranges":[{"startOffset":6923,"endOffset":7081,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7150,"endOffset":7998,"count":0}],"isBlockCoverage":false},{"functionName":"runSingle","ranges":[{"startOffset":8059,"endOffset":8330,"count":12}],"isBlockCoverage":true},{"functionName":"runHooks","ranges":[{"startOffset":8333,"endOffset":9506,"count":39},{"startOffset":9070,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8427,"endOffset":8959,"count":0}],"isBlockCoverage":false},{"functionName":"runTest","ranges":[{"startOffset":9509,"endOffset":11470,"count":12},{"startOffset":10007,"endOffset":10073,"count":0},{"startOffset":10940,"endOffset":11271,"count":0}],"isBlockCoverage":true},{"functionName":"Runnable.fn","ranges":[{"startOffset":10009,"endOffset":10073,"count":0}],"isBlockCoverage":false},{"functionName":"start","ranges":[{"startOffset":11473,"endOffset":15605,"count":1},{"startOffset":11619,"endOffset":12250,"count":0},{"startOffset":12296,"endOffset":12988,"count":12},{"startOffset":12327,"endOffset":12354,"count":0},{"startOffset":12356,"endOffset":12443,"count":0},{"startOffset":12484,"endOffset":12510,"count":0},{"startOffset":12512,"endOffset":12599,"count":0},{"startOffset":12810,"endOffset":12883,"count":0},{"startOffset":12906,"endOffset":12940,"count":0},{"startOffset":13028,"endOffset":13347,"count":0},{"startOffset":13425,"endOffset":13452,"count":0},{"startOffset":13454,"endOffset":13550,"count":0},{"startOffset":15547,"endOffset":15602,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13777,"endOffset":14380,"count":1},{"startOffset":13868,"endOffset":13892,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13923,"endOffset":14368,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14460,"endOffset":15058,"count":1},{"startOffset":14653,"endOffset":14669,"count":0},{"startOffset":14672,"endOffset":14696,"count":0},{"startOffset":14767,"endOffset":14790,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14971,"endOffset":15016,"count":12}],"isBlockCoverage":true},{"functionName":"interrupt","ranges":[{"startOffset":15608,"endOffset":15651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"206","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/serialize-error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4398,"count":1}],"isBlockCoverage":true},{"functionName":"isAvaAssertionError","ranges":[{"startOffset":385,"endOffset":467,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":469,"endOffset":614,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFile","ranges":[{"startOffset":616,"endOffset":756,"count":0}],"isBlockCoverage":false},{"functionName":"extractSource","ranges":[{"startOffset":795,"endOffset":1211,"count":0}],"isBlockCoverage":false},{"functionName":"buildSource","ranges":[{"startOffset":1213,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"trySerializeError","ranges":[{"startOffset":1957,"endOffset":3743,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":3760,"endOffset":4397,"count":0}],"isBlockCoverage":false}]},{"scriptId":"207","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/dependency-tracker.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":866,"count":1}],"isBlockCoverage":true},{"functionName":"flush","ranges":[{"startOffset":138,"endOffset":302,"count":2},{"startOffset":192,"endOffset":301,"count":1}],"isBlockCoverage":true},{"functionName":"track","ranges":[{"startOffset":304,"endOffset":519,"count":10},{"startOffset":368,"endOffset":382,"count":0},{"startOffset":419,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"install","ranges":[{"startOffset":556,"endOffset":836,"count":1},{"startOffset":633,"endOffset":833,"count":3}],"isBlockCoverage":true},{"functionName":"extensions.","ranges":[{"startOffset":700,"endOffset":828,"count":9}],"isBlockCoverage":true}]},{"scriptId":"208","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/line-numbers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3832,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":215,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"findTest","ranges":[{"startOffset":878,"endOffset":1452,"count":0}],"isBlockCoverage":false},{"functionName":"range","ranges":[{"startOffset":1468,"endOffset":1574,"count":0}],"isBlockCoverage":false},{"functionName":"translate","ranges":[{"startOffset":1595,"endOffset":2066,"count":0}],"isBlockCoverage":false},{"functionName":"lineNumberSelection","ranges":[{"startOffset":2084,"endOffset":3831,"count":1},{"startOffset":2196,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2334,"endOffset":3828,"count":0}],"isBlockCoverage":false}]},{"scriptId":"209","url":"node:internal/fs/streams","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14758,"count":1}],"isBlockCoverage":false},{"functionName":"_construct","ranges":[{"startOffset":1063,"endOffset":1966,"count":0}],"isBlockCoverage":false},{"functionName":"FileHandleOperations","ranges":[{"startOffset":2059,"endOffset":3058,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":3061,"endOffset":3238,"count":0}],"isBlockCoverage":false},{"functionName":"importFd","ranges":[{"startOffset":3240,"endOffset":4237,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream","ranges":[{"startOffset":4239,"endOffset":5982,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6171,"endOffset":6226,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6230,"endOffset":6287,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6323,"endOffset":6348,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._read","ranges":[{"startOffset":6524,"endOffset":7655,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._destroy","ranges":[{"startOffset":7690,"endOffset":8251,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.close","ranges":[{"startOffset":8283,"endOffset":8369,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8449,"endOffset":8483,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":8512,"endOffset":10303,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":10495,"endOffset":10550,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10554,"endOffset":10611,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10648,"endOffset":10673,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":10824,"endOffset":11617,"count":0}],"isBlockCoverage":false},{"functionName":"writevAll","ranges":[{"startOffset":11619,"endOffset":12436,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._write","ranges":[{"startOffset":12469,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._writev","ranges":[{"startOffset":12888,"endOffset":13450,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._destroy","ranges":[{"startOffset":13486,"endOffset":14047,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.close","ranges":[{"startOffset":14080,"endOffset":14462,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":14644,"endOffset":14678,"count":0}],"isBlockCoverage":false}]},{"scriptId":"210","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5900,"count":1},{"startOffset":1472,"endOffset":1706,"count":45},{"startOffset":2476,"endOffset":3149,"count":3},{"startOffset":5468,"endOffset":5471,"count":0}],"isBlockCoverage":true},{"functionName":"applyOptions","ranges":[{"startOffset":571,"endOffset":950,"count":5},{"startOffset":618,"endOffset":699,"count":3},{"startOffset":701,"endOffset":779,"count":0},{"startOffset":870,"endOffset":873,"count":0},{"startOffset":919,"endOffset":931,"count":2},{"startOffset":932,"endOffset":947,"count":3}],"isBlockCoverage":true},{"functionName":"Chalk","ranges":[{"startOffset":975,"endOffset":1084,"count":3}],"isBlockCoverage":true},{"functionName":"chalkFactory","ranges":[{"startOffset":1109,"endOffset":1275,"count":5}],"isBlockCoverage":true},{"functionName":"chalk","ranges":[{"startOffset":1137,"endOffset":1170,"count":0}],"isBlockCoverage":false},{"functionName":"createChalk","ranges":[{"startOffset":1278,"endOffset":1342,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1499,"endOffset":1699,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1728,"endOffset":1875,"count":0}],"isBlockCoverage":false},{"functionName":"getModelAnsi","ranges":[{"startOffset":1902,"endOffset":2394,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2499,"endOffset":2771,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2866,"endOffset":3142,"count":0}],"isBlockCoverage":false},{"functionName":"Object.defineProperties","ranges":[{"startOffset":3189,"endOffset":3197,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3245,"endOffset":3289,"count":20}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3293,"endOffset":3343,"count":0}],"isBlockCoverage":false},{"functionName":"createStyler","ranges":[{"startOffset":3375,"endOffset":3650,"count":4},{"startOffset":3500,"endOffset":3583,"count":0}],"isBlockCoverage":true},{"functionName":"createBuilder","ranges":[{"startOffset":3675,"endOffset":4243,"count":4}],"isBlockCoverage":true},{"functionName":"builder","ranges":[{"startOffset":3848,"endOffset":3959,"count":20},{"startOffset":3936,"endOffset":3958,"count":0}],"isBlockCoverage":true},{"functionName":"applyStyle","ranges":[{"startOffset":4265,"endOffset":5300,"count":20},{"startOffset":4318,"endOffset":4361,"count":0},{"startOffset":4419,"endOffset":4440,"count":0},{"startOffset":4511,"endOffset":4840,"count":0},{"startOffset":5177,"endOffset":5260,"count":0}],"isBlockCoverage":true}]},{"scriptId":"211","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/globs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6300,"count":1}],"isBlockCoverage":true},{"functionName":"buildExtensionPattern","ranges":[{"startOffset":755,"endOffset":838,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeGlobs","ranges":[{"startOffset":848,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"globFiles","ranges":[{"startOffset":3027,"endOffset":3288,"count":0}],"isBlockCoverage":false},{"functionName":"globDirectoriesSync","ranges":[{"startOffset":3319,"endOffset":3578,"count":0}],"isBlockCoverage":false},{"functionName":"findFiles","ranges":[{"startOffset":3588,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"findTests","ranges":[{"startOffset":3771,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getChokidarIgnorePatterns","ranges":[{"startOffset":3974,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"applyTestFileFilter","ranges":[{"startOffset":4200,"endOffset":6299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"212","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13357,"count":1}],"isBlockCoverage":true},{"functionName":"assertEventName","ranges":[{"startOffset":349,"endOffset":569,"count":58},{"startOffset":422,"endOffset":454,"count":4},{"startOffset":455,"endOffset":487,"count":0},{"startOffset":489,"endOffset":567,"count":0}],"isBlockCoverage":true},{"functionName":"assertListener","ranges":[{"startOffset":571,"endOffset":704,"count":4},{"startOffset":644,"endOffset":702,"count":0}],"isBlockCoverage":true},{"functionName":"getListeners","ranges":[{"startOffset":706,"endOffset":869,"count":58},{"startOffset":821,"endOffset":835,"count":8},{"startOffset":835,"endOffset":868,"count":50}],"isBlockCoverage":true},{"functionName":"getEventProducers","ranges":[{"startOffset":871,"endOffset":1175,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueProducers","ranges":[{"startOffset":1177,"endOffset":1587,"count":54},{"startOffset":1315,"endOffset":1408,"count":0},{"startOffset":1550,"endOffset":1582,"count":0}],"isBlockCoverage":true},{"functionName":"iterator","ranges":[{"startOffset":1589,"endOffset":2972,"count":0}],"isBlockCoverage":false},{"functionName":"defaultMethodNamesOrAssert","ranges":[{"startOffset":2974,"endOffset":3495,"count":0}],"isBlockCoverage":false},{"functionName":"isMetaEvent","ranges":[{"startOffset":3517,"endOffset":3590,"count":116},{"startOffset":3558,"endOffset":3590,"count":104}],"isBlockCoverage":true},{"functionName":"emitMetaEvent","ranges":[{"startOffset":3593,"endOffset":3808,"count":4}],"isBlockCoverage":true},{"functionName":"mixin","ranges":[{"startOffset":3850,"endOffset":4933,"count":0}],"isBlockCoverage":false},{"functionName":"get isDebugEnabled","ranges":[{"startOffset":4943,"endOffset":5528,"count":58},{"startOffset":5304,"endOffset":5341,"count":0},{"startOffset":5432,"endOffset":5444,"count":0}],"isBlockCoverage":true},{"functionName":"set isDebugEnabled","ranges":[{"startOffset":5538,"endOffset":5606,"count":0}],"isBlockCoverage":false},{"functionName":"Emittery","ranges":[{"startOffset":5609,"endOffset":6731,"count":1}],"isBlockCoverage":true},{"functionName":"Emittery.debug.logger","ranges":[{"startOffset":5961,"endOffset":6723,"count":0}],"isBlockCoverage":false},{"functionName":"logIfDebugEnabled","ranges":[{"startOffset":6734,"endOffset":6910,"count":58},{"startOffset":6835,"endOffset":6907,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":6913,"endOffset":7515,"count":4},{"startOffset":7010,"endOffset":7022,"count":0}],"isBlockCoverage":true},{"functionName":"off","ranges":[{"startOffset":7518,"endOffset":8087,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":8090,"endOffset":8292,"count":0}],"isBlockCoverage":false},{"functionName":"events","ranges":[{"startOffset":8295,"endOffset":8501,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":8504,"endOffset":9384,"count":54},{"startOffset":8599,"endOffset":8620,"count":4},{"startOffset":8622,"endOffset":8724,"count":0},{"startOffset":8882,"endOffset":8894,"count":4},{"startOffset":9031,"endOffset":9035,"count":4},{"startOffset":9036,"endOffset":9055,"count":50}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9131,"endOffset":9229,"count":50}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9261,"endOffset":9373,"count":0}],"isBlockCoverage":false},{"functionName":"emitSerial","ranges":[{"startOffset":9387,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"onAny","ranges":[{"startOffset":10237,"endOffset":10478,"count":0}],"isBlockCoverage":false},{"functionName":"anyEvent","ranges":[{"startOffset":10481,"endOffset":10521,"count":0}],"isBlockCoverage":false},{"functionName":"offAny","ranges":[{"startOffset":10524,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"clearListeners","ranges":[{"startOffset":10733,"endOffset":11739,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":11742,"endOffset":12458,"count":0}],"isBlockCoverage":false},{"functionName":"bindMethods","ranges":[{"startOffset":12461,"endOffset":12966,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13051,"endOffset":13075,"count":14}],"isBlockCoverage":true}]},{"scriptId":"213","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/matcher/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2646,"count":1}],"isBlockCoverage":true},{"functionName":"sanitizeArray","ranges":[{"startOffset":110,"endOffset":713,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegexp","ranges":[{"startOffset":735,"endOffset":1261,"count":0}],"isBlockCoverage":false},{"functionName":"baseMatcher","ranges":[{"startOffset":1284,"endOffset":2412,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2422,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"isMatch","ranges":[{"startOffset":2533,"endOffset":2645,"count":0}],"isBlockCoverage":false}]},{"scriptId":"214","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/context-ref.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":555,"count":1}],"isBlockCoverage":true},{"functionName":"ContextRef","ranges":[{"startOffset":35,"endOffset":72,"count":13}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":75,"endOffset":106,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":109,"endOffset":152,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":155,"endOffset":198,"count":12}],"isBlockCoverage":true},{"functionName":"LateBinding","ranges":[{"startOffset":242,"endOffset":314,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":317,"endOffset":487,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":490,"endOffset":552,"count":0}],"isBlockCoverage":false}]},{"scriptId":"215","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/create-chain.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4371,"count":1}],"isBlockCoverage":true},{"functionName":"startChain","ranges":[{"startOffset":38,"endOffset":265,"count":11}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":94,"endOffset":140,"count":12}],"isBlockCoverage":true},{"functionName":"extendChain","ranges":[{"startOffset":267,"endOffset":633,"count":27},{"startOffset":324,"endOffset":343,"count":7}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":357,"endOffset":412,"count":0}],"isBlockCoverage":false},{"functionName":"callWithFlag","ranges":[{"startOffset":635,"endOffset":965,"count":0}],"isBlockCoverage":false},{"functionName":"createHookChain","ranges":[{"startOffset":967,"endOffset":1316,"count":8},{"startOffset":1217,"endOffset":1299,"count":4}],"isBlockCoverage":true},{"functionName":"createChain","ranges":[{"startOffset":1333,"endOffset":4370,"count":1}],"isBlockCoverage":true},{"functionName":"root.macro","ranges":[{"startOffset":3411,"endOffset":3580,"count":0}],"isBlockCoverage":false},{"functionName":"apply","ranges":[{"startOffset":4105,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4196,"endOffset":4341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"216","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/parse-test-args.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":701,"count":1}],"isBlockCoverage":true},{"functionName":"buildTitle","ranges":[{"startOffset":19,"endOffset":366,"count":12},{"startOffset":104,"endOffset":140,"count":0}],"isBlockCoverage":true},{"functionName":"parseTestArgs","ranges":[{"startOffset":384,"endOffset":700,"count":12},{"startOffset":476,"endOffset":487,"count":0},{"startOffset":602,"endOffset":623,"count":0}],"isBlockCoverage":true}]},{"scriptId":"217","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/snapshot-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13174,"count":1}],"isBlockCoverage":true},{"functionName":"SnapshotError","ranges":[{"startOffset":1259,"endOffset":1371,"count":0}],"isBlockCoverage":false},{"functionName":"ChecksumError","ranges":[{"startOffset":1427,"endOffset":1524,"count":0}],"isBlockCoverage":false},{"functionName":"VersionMismatchError","ranges":[{"startOffset":1587,"endOffset":1774,"count":0}],"isBlockCoverage":false},{"functionName":"InvalidSnapshotError","ranges":[{"startOffset":1837,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"isLegacySnapshot","ranges":[{"startOffset":2016,"endOffset":2144,"count":0}],"isBlockCoverage":false},{"functionName":"LegacyError","ranges":[{"startOffset":2196,"endOffset":2294,"count":0}],"isBlockCoverage":false},{"functionName":"tryRead","ranges":[{"startOffset":2298,"endOffset":2454,"count":1},{"startOffset":2433,"endOffset":2452,"count":0}],"isBlockCoverage":true},{"functionName":"formatEntry","ranges":[{"startOffset":2456,"endOffset":2875,"count":0}],"isBlockCoverage":false},{"functionName":"combineEntries","ranges":[{"startOffset":2877,"endOffset":3292,"count":0}],"isBlockCoverage":false},{"functionName":"generateReport","ranges":[{"startOffset":3294,"endOffset":3611,"count":0}],"isBlockCoverage":false},{"functionName":"BufferBuilder","ranges":[{"startOffset":3636,"endOffset":3698,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":3701,"endOffset":3818,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3821,"endOffset":4011,"count":0}],"isBlockCoverage":false},{"functionName":"toBuffer","ranges":[{"startOffset":4014,"endOffset":4084,"count":0}],"isBlockCoverage":false},{"functionName":"sortBlocks","ranges":[{"startOffset":4088,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"encodeSnapshots","ranges":[{"startOffset":4450,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"decodeSnapshots","ranges":[{"startOffset":5016,"endOffset":5987,"count":0}],"isBlockCoverage":false},{"functionName":"Manager","ranges":[{"startOffset":6006,"endOffset":6530,"count":1}],"isBlockCoverage":true},{"functionName":"touch","ranges":[{"startOffset":6533,"endOffset":6604,"count":12}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":6607,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"recordSerialized","ranges":[{"startOffset":7345,"endOffset":8027,"count":0}],"isBlockCoverage":false},{"functionName":"deferRecord","ranges":[{"startOffset":8030,"endOffset":8370,"count":0}],"isBlockCoverage":false},{"functionName":"record","ranges":[{"startOffset":8373,"endOffset":8449,"count":0}],"isBlockCoverage":false},{"functionName":"skipBlock","ranges":[{"startOffset":8452,"endOffset":8587,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":8590,"endOffset":9164,"count":0}],"isBlockCoverage":false},{"functionName":"save","ranges":[{"startOffset":9167,"endOffset":10106,"count":1},{"startOffset":9266,"endOffset":9301,"count":0},{"startOffset":9303,"endOffset":9421,"count":0},{"startOffset":9468,"endOffset":10105,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9565,"endOffset":9604,"count":0}],"isBlockCoverage":false},{"functionName":"tmpfileCreated","ranges":[{"startOffset":9845,"endOffset":9878,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10140,"endOffset":10658,"count":1},{"startOffset":10399,"endOffset":10420,"count":0},{"startOffset":10441,"endOffset":10632,"count":0},{"startOffset":10635,"endOffset":10655,"count":0}],"isBlockCoverage":true},{"functionName":"mem.cacheKey.file.file","ranges":[{"startOffset":10702,"endOffset":11285,"count":1},{"startOffset":10819,"endOffset":10947,"count":0},{"startOffset":11054,"endOffset":11104,"count":0},{"startOffset":11265,"endOffset":11284,"count":0}],"isBlockCoverage":true},{"functionName":"cacheKey","ranges":[{"startOffset":11298,"endOffset":11316,"count":1}],"isBlockCoverage":true},{"functionName":"determineSnapshotPaths","ranges":[{"startOffset":11321,"endOffset":11775,"count":1}],"isBlockCoverage":true},{"functionName":"cleanFile","ranges":[{"startOffset":11777,"endOffset":11941,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":11950,"endOffset":13173,"count":1},{"startOffset":12141,"endOffset":12274,"count":0},{"startOffset":12552,"endOffset":13125,"count":0},{"startOffset":13126,"endOffset":13141,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12700,"endOffset":12737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"218","url":"node:internal/file","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1801,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":424,"endOffset":1563,"count":0}],"isBlockCoverage":false}]},{"scriptId":"219","url":"node:crypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8825,"count":1}],"isBlockCoverage":false},{"functionName":"lazyWebCrypto","ranges":[{"startOffset":3084,"endOffset":3186,"count":6}],"isBlockCoverage":true},{"functionName":"lazyOwnsProcessState","ranges":[{"startOffset":3210,"endOffset":3340,"count":0}],"isBlockCoverage":false},{"functionName":"createHash","ranges":[{"startOffset":3482,"endOffset":3564,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3566,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"createCipheriv","ranges":[{"startOffset":3668,"endOffset":3770,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipher","ranges":[{"startOffset":3772,"endOffset":3876,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipheriv","ranges":[{"startOffset":3878,"endOffset":3984,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellman","ranges":[{"startOffset":3986,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellmanGroup","ranges":[{"startOffset":4144,"endOffset":4226,"count":0}],"isBlockCoverage":false},{"functionName":"createECDH","ranges":[{"startOffset":4228,"endOffset":4284,"count":0}],"isBlockCoverage":false},{"functionName":"createHmac","ranges":[{"startOffset":4286,"endOffset":4368,"count":0}],"isBlockCoverage":false},{"functionName":"createSign","ranges":[{"startOffset":4370,"endOffset":4452,"count":0}],"isBlockCoverage":false},{"functionName":"createVerify","ranges":[{"startOffset":4454,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"getFips","ranges":[{"startOffset":5583,"endOffset":5668,"count":0}],"isBlockCoverage":false},{"functionName":"setFips","ranges":[{"startOffset":5670,"endOffset":5954,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":5956,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6125,"endOffset":6379,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6383,"endOffset":6572,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomBytesAlias","ranges":[{"startOffset":6621,"endOffset":7454,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6719,"endOffset":7209,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7215,"endOffset":7446,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8198,"endOffset":8238,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8350,"endOffset":8397,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8523,"endOffset":8544,"count":3}],"isBlockCoverage":true}]},{"scriptId":"220","url":"node:internal/crypto/random","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16246,"count":1}],"isBlockCoverage":false},{"functionName":"assertOffset","ranges":[{"startOffset":1260,"endOffset":1626,"count":0}],"isBlockCoverage":false},{"functionName":"assertSize","ranges":[{"startOffset":1628,"endOffset":2089,"count":0}],"isBlockCoverage":false},{"functionName":"randomBytes","ranges":[{"startOffset":2091,"endOffset":2634,"count":0}],"isBlockCoverage":false},{"functionName":"randomFillSync","ranges":[{"startOffset":2636,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"randomFill","ranges":[{"startOffset":3306,"endOffset":4352,"count":0}],"isBlockCoverage":false},{"functionName":"randomInt","ranges":[{"startOffset":4902,"endOffset":7142,"count":0}],"isBlockCoverage":false},{"functionName":"asyncRefillRandomIntCache","ranges":[{"startOffset":7144,"endOffset":8020,"count":0}],"isBlockCoverage":false},{"functionName":"onJobDone","ranges":[{"startOffset":8023,"endOffset":8185,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":8417,"endOffset":9033,"count":0}],"isBlockCoverage":false},{"functionName":"getHexBytes","ranges":[{"startOffset":9398,"endOffset":9697,"count":0}],"isBlockCoverage":false},{"functionName":"serializeUUID","ranges":[{"startOffset":9699,"endOffset":10425,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedUUID","ranges":[{"startOffset":10427,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"getUnbufferedUUID","ranges":[{"startOffset":10732,"endOffset":10970,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":10972,"endOffset":11292,"count":0}],"isBlockCoverage":false},{"functionName":"createRandomPrimeJob","ranges":[{"startOffset":11294,"endOffset":12527,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrime","ranges":[{"startOffset":12529,"endOffset":12985,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrimeSync","ranges":[{"startOffset":12987,"endOffset":13245,"count":0}],"isBlockCoverage":false},{"functionName":"numberToHexCharCode","ranges":[{"startOffset":13519,"endOffset":13563,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBufferToUnsignedBigInt","ranges":[{"startOffset":13638,"endOffset":14065,"count":0}],"isBlockCoverage":false},{"functionName":"unsignedBigIntToBuffer","ranges":[{"startOffset":14067,"endOffset":14364,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrime","ranges":[{"startOffset":14366,"endOffset":15259,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrimeSync","ranges":[{"startOffset":15261,"endOffset":16059,"count":0}],"isBlockCoverage":false}]},{"scriptId":"221","url":"node:internal/crypto/pbkdf2","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3018,"count":1}],"isBlockCoverage":false},{"functionName":"pbkdf2","ranges":[{"startOffset":472,"endOffset":1136,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2Sync","ranges":[{"startOffset":1138,"endOffset":1543,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1545,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2DeriveBits","ranges":[{"startOffset":2059,"endOffset":2950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"222","url":"node:internal/crypto/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14973,"count":1}],"isBlockCoverage":false},{"functionName":"toBuf","ranges":[{"startOffset":1730,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1943,"endOffset":1986,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2020,"endOffset":2062,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2096,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"setEngine","ranges":[{"startOffset":2142,"endOffset":2549,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2596,"endOffset":3060,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBufferLength","ranges":[{"startOffset":6504,"endOffset":6717,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeAlgorithm","ranges":[{"startOffset":6943,"endOffset":9378,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayBuffer","ranges":[{"startOffset":9380,"endOffset":9519,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteOffset","ranges":[{"startOffset":9521,"endOffset":9672,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteLength","ranges":[{"startOffset":9674,"endOffset":9825,"count":0}],"isBlockCoverage":false},{"functionName":"hasAnyNotIn","ranges":[{"startOffset":9827,"endOffset":9966,"count":0}],"isBlockCoverage":false},{"functionName":"validateBitLength","ranges":[{"startOffset":9968,"endOffset":10310,"count":0}],"isBlockCoverage":false},{"functionName":"validateByteLength","ranges":[{"startOffset":10312,"endOffset":10508,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10553,"endOffset":10822,"count":0}],"isBlockCoverage":false},{"functionName":"onDone","ranges":[{"startOffset":10826,"endOffset":11058,"count":0}],"isBlockCoverage":false},{"functionName":"jobPromise","ranges":[{"startOffset":11060,"endOffset":11330,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedInt","ranges":[{"startOffset":11866,"endOffset":12146,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedBigInt","ranges":[{"startOffset":12148,"endOffset":12384,"count":0}],"isBlockCoverage":false},{"functionName":"getStringOption","ranges":[{"startOffset":12386,"endOffset":12551,"count":0}],"isBlockCoverage":false},{"functionName":"getUsagesUnion","ranges":[{"startOffset":12553,"endOffset":12765,"count":0}],"isBlockCoverage":false},{"functionName":"getBlockSize","ranges":[{"startOffset":12767,"endOffset":12948,"count":0}],"isBlockCoverage":false},{"functionName":"validateKeyOps","ranges":[{"startOffset":13087,"endOffset":14053,"count":0}],"isBlockCoverage":false},{"functionName":"secureHeapUsed","ranges":[{"startOffset":14055,"endOffset":14438,"count":0}],"isBlockCoverage":false}]},{"scriptId":"223","url":"node:internal/crypto/hashnames","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2520,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeHashName","ranges":[{"startOffset":1890,"endOffset":2133,"count":0}],"isBlockCoverage":false}]},{"scriptId":"224","url":"node:internal/crypto/scrypt","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3331,"count":1}],"isBlockCoverage":false},{"functionName":"scrypt","ranges":[{"startOffset":626,"endOffset":1292,"count":0}],"isBlockCoverage":false},{"functionName":"scryptSync","ranges":[{"startOffset":1294,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1702,"endOffset":3283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"225","url":"node:internal/crypto/hkdf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3304,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":816,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"prepareKey","ranges":[{"startOffset":1274,"endOffset":1702,"count":0}],"isBlockCoverage":false},{"functionName":"hkdf","ranges":[{"startOffset":1704,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfSync","ranges":[{"startOffset":2172,"endOffset":2510,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfDeriveBits","ranges":[{"startOffset":2549,"endOffset":3242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"226","url":"node:internal/crypto/keys","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21401,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2331,"endOffset":6452,"count":1}],"isBlockCoverage":true},{"functionName":"KeyObject","ranges":[{"startOffset":2441,"endOffset":2983,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":2989,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":3049,"endOffset":3190,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":3196,"endOffset":3480,"count":0}],"isBlockCoverage":false},{"functionName":"SecretKeyObject","ranges":[{"startOffset":3698,"endOffset":3756,"count":0}],"isBlockCoverage":false},{"functionName":"get symmetricKeySize","ranges":[{"startOffset":3762,"endOffset":3842,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":3848,"endOffset":4196,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeKeyDetails","ranges":[{"startOffset":4329,"endOffset":4598,"count":0}],"isBlockCoverage":false},{"functionName":"AsymmetricKeyObject","ranges":[{"startOffset":4707,"endOffset":4767,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyType","ranges":[{"startOffset":4773,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyDetails","ranges":[{"startOffset":4931,"endOffset":5308,"count":0}],"isBlockCoverage":false},{"functionName":"PublicKeyObject","ranges":[{"startOffset":5372,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5436,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"PrivateKeyObject","ranges":[{"startOffset":5792,"endOffset":5851,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5857,"endOffset":6371,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormat","ranges":[{"startOffset":6456,"endOffset":6841,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyType","ranges":[{"startOffset":6843,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"option","ranges":[{"startOffset":7697,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormatAndType","ranges":[{"startOffset":7820,"endOffset":8520,"count":0}],"isBlockCoverage":false},{"functionName":"isStringOrBuffer","ranges":[{"startOffset":8522,"endOffset":8659,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":8661,"endOffset":10019,"count":0}],"isBlockCoverage":false},{"functionName":"parsePublicKeyEncoding","ranges":[{"startOffset":10218,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"parsePrivateKeyEncoding","ranges":[{"startOffset":10554,"endOffset":10670,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandle","ranges":[{"startOffset":10672,"endOffset":11250,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyTypes","ranges":[{"startOffset":11252,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandleFromJwk","ranges":[{"startOffset":11759,"endOffset":14308,"count":0}],"isBlockCoverage":false},{"functionName":"prepareAsymmetricKey","ranges":[{"startOffset":14310,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"preparePrivateKey","ranges":[{"startOffset":15855,"endOffset":15943,"count":0}],"isBlockCoverage":false},{"functionName":"preparePublicOrPrivateKey","ranges":[{"startOffset":15945,"endOffset":16040,"count":0}],"isBlockCoverage":false},{"functionName":"prepareSecretKey","ranges":[{"startOffset":16042,"endOffset":16740,"count":0}],"isBlockCoverage":false},{"functionName":"createSecretKey","ranges":[{"startOffset":16742,"endOffset":16946,"count":0}],"isBlockCoverage":false},{"functionName":"createPublicKey","ranges":[{"startOffset":16948,"endOffset":17285,"count":0}],"isBlockCoverage":false},{"functionName":"createPrivateKey","ranges":[{"startOffset":17287,"endOffset":17628,"count":0}],"isBlockCoverage":false},{"functionName":"isKeyObject","ranges":[{"startOffset":17630,"endOffset":17712,"count":0}],"isBlockCoverage":false},{"functionName":"CryptoKey","ranges":[{"startOffset":18135,"endOffset":18195,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18199,"endOffset":18548,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":18552,"endOffset":18687,"count":0}],"isBlockCoverage":false},{"functionName":"get extractable","ranges":[{"startOffset":18691,"endOffset":18830,"count":0}],"isBlockCoverage":false},{"functionName":"get algorithm","ranges":[{"startOffset":18834,"endOffset":18969,"count":0}],"isBlockCoverage":false},{"functionName":"get usages","ranges":[{"startOffset":18973,"endOffset":19116,"count":0}],"isBlockCoverage":false},{"functionName":"InternalCryptoKey","ranges":[{"startOffset":19694,"endOffset":20173,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20177,"endOffset":20529,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20533,"endOffset":20737,"count":0}],"isBlockCoverage":false},{"functionName":"isCryptoKey","ranges":[{"startOffset":20866,"endOffset":20950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"227","url":"node:internal/crypto/keygen","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10712,"count":1}],"isBlockCoverage":false},{"functionName":"isJwk","ranges":[{"startOffset":1183,"endOffset":1253,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":1255,"endOffset":1409,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPair","ranges":[{"startOffset":1411,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPairSync","ranges":[{"startOffset":2193,"endOffset":2310,"count":0}],"isBlockCoverage":false},{"functionName":"handleError","ranges":[{"startOffset":2312,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":2692,"endOffset":3942,"count":0}],"isBlockCoverage":false},{"functionName":"createJob","ranges":[{"startOffset":3944,"endOffset":9232,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyJob","ranges":[{"startOffset":9263,"endOffset":9800,"count":0}],"isBlockCoverage":false},{"functionName":"handleGenerateKeyError","ranges":[{"startOffset":9802,"endOffset":10004,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":10006,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeySync","ranges":[{"startOffset":10478,"endOffset":10612,"count":0}],"isBlockCoverage":false}]},{"scriptId":"228","url":"node:internal/crypto/diffiehellman","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9910,"count":1}],"isBlockCoverage":false},{"functionName":"DiffieHellman","ranges":[{"startOffset":1232,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"DiffieHellmanGroup","ranges":[{"startOffset":3039,"endOffset":3365,"count":0}],"isBlockCoverage":false},{"functionName":"dhGenerateKeys","ranges":[{"startOffset":3476,"endOffset":3591,"count":0}],"isBlockCoverage":false},{"functionName":"dhComputeSecret","ranges":[{"startOffset":3705,"endOffset":3963,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrime","ranges":[{"startOffset":4062,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetGenerator","ranges":[{"startOffset":4282,"endOffset":4407,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPublicKey","ranges":[{"startOffset":4518,"endOffset":4631,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrivateKey","ranges":[{"startOffset":4745,"endOffset":4860,"count":0}],"isBlockCoverage":false},{"functionName":"setPublicKey","ranges":[{"startOffset":4902,"endOffset":5044,"count":0}],"isBlockCoverage":false},{"functionName":"setPrivateKey","ranges":[{"startOffset":5088,"endOffset":5232,"count":0}],"isBlockCoverage":false},{"functionName":"ECDH","ranges":[{"startOffset":5236,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeys","ranges":[{"startOffset":5701,"endOffset":5823,"count":0}],"isBlockCoverage":false},{"functionName":"getPublicKey","ranges":[{"startOffset":5856,"endOffset":6007,"count":0}],"isBlockCoverage":false},{"functionName":"convertKey","ranges":[{"startOffset":6028,"endOffset":6294,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6297,"endOffset":6432,"count":0}],"isBlockCoverage":false},{"functionName":"getFormat","ranges":[{"startOffset":6434,"endOffset":6757,"count":0}],"isBlockCoverage":false},{"functionName":"diffieHellman","ranges":[{"startOffset":6831,"endOffset":7899,"count":0}],"isBlockCoverage":false},{"functionName":"ecdhDeriveBits","ranges":[{"startOffset":8018,"endOffset":9804,"count":0}],"isBlockCoverage":false}]},{"scriptId":"229","url":"node:internal/crypto/cipher","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10199,"count":1}],"isBlockCoverage":false},{"functionName":"rsaFunctionFor","ranges":[{"startOffset":1233,"endOffset":1981,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1301,"endOffset":1978,"count":0}],"isBlockCoverage":false},{"functionName":"getDecoder","ranges":[{"startOffset":2482,"endOffset":2848,"count":0}],"isBlockCoverage":false},{"functionName":"getUIntOption","ranges":[{"startOffset":2850,"endOffset":3084,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherBase","ranges":[{"startOffset":3086,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3507,"endOffset":3742,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherWithIV","ranges":[{"startOffset":3744,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"Cipher","ranges":[{"startOffset":4326,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":4670,"endOffset":4786,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":4815,"endOffset":4953,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":4982,"endOffset":5498,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5527,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"setAutoPadding","ranges":[{"startOffset":5809,"endOffset":5956,"count":0}],"isBlockCoverage":false},{"functionName":"getAuthTag","ranges":[{"startOffset":5989,"endOffset":6149,"count":0}],"isBlockCoverage":false},{"functionName":"setAuthTag","ranges":[{"startOffset":6153,"endOffset":6365,"count":0}],"isBlockCoverage":false},{"functionName":"setAAD","ranges":[{"startOffset":6393,"endOffset":6735,"count":0}],"isBlockCoverage":false},{"functionName":"Cipheriv","ranges":[{"startOffset":6983,"endOffset":7193,"count":0}],"isBlockCoverage":false},{"functionName":"addCipherPrototypeFunctions","ranges":[{"startOffset":7195,"endOffset":7786,"count":3},{"startOffset":7591,"endOffset":7664,"count":1},{"startOffset":7664,"endOffset":7726,"count":2}],"isBlockCoverage":true},{"functionName":"Decipher","ranges":[{"startOffset":8187,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"Decipheriv","ranges":[{"startOffset":8800,"endOffset":9017,"count":0}],"isBlockCoverage":false},{"functionName":"getCipherInfo","ranges":[{"startOffset":9179,"endOffset":10040,"count":0}],"isBlockCoverage":false}]},{"scriptId":"230","url":"node:internal/streams/lazy_transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1535,"count":1}],"isBlockCoverage":false},{"functionName":"LazyTransform","ranges":[{"startOffset":401,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"makeGetter","ranges":[{"startOffset":595,"endOffset":918,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":632,"endOffset":915,"count":0}],"isBlockCoverage":false},{"functionName":"makeSetter","ranges":[{"startOffset":920,"endOffset":1139,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":957,"endOffset":1136,"count":0}],"isBlockCoverage":false}]},{"scriptId":"231","url":"node:internal/crypto/sig","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6942,"count":1}],"isBlockCoverage":false},{"functionName":"Sign","ranges":[{"startOffset":870,"endOffset":1129,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":1252,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":1371,"endOffset":1684,"count":0}],"isBlockCoverage":false},{"functionName":"getPadding","ranges":[{"startOffset":1687,"endOffset":1762,"count":0}],"isBlockCoverage":false},{"functionName":"getSaltLength","ranges":[{"startOffset":1764,"endOffset":1845,"count":0}],"isBlockCoverage":false},{"functionName":"getDSASignatureEncoding","ranges":[{"startOffset":1847,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"getIntOption","ranges":[{"startOffset":2201,"endOffset":2446,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":2470,"endOffset":3086,"count":0}],"isBlockCoverage":false},{"functionName":"signOneShot","ranges":[{"startOffset":3089,"endOffset":4307,"count":0}],"isBlockCoverage":false},{"functionName":"Verify","ranges":[{"startOffset":4309,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":4804,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"verifyOneShot","ranges":[{"startOffset":5390,"endOffset":6868,"count":0}],"isBlockCoverage":false}]},{"scriptId":"232","url":"node:internal/crypto/hash","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4553,"count":1}],"isBlockCoverage":false},{"functionName":"Hash","ranges":[{"startOffset":954,"endOffset":1474,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":1605,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1804,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":1936,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":2043,"endOffset":2507,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":2535,"endOffset":2856,"count":0}],"isBlockCoverage":false},{"functionName":"Hmac","ranges":[{"startOffset":2859,"endOffset":3259,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":3440,"endOffset":3872,"count":0}],"isBlockCoverage":false},{"functionName":"asyncDigest","ranges":[{"startOffset":4027,"endOffset":4498,"count":0}],"isBlockCoverage":false}]},{"scriptId":"233","url":"node:internal/crypto/x509","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9909,"count":1}],"isBlockCoverage":false},{"functionName":"isX509Certificate","ranges":[{"startOffset":1155,"endOffset":1238,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":1240,"endOffset":2485,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2487,"endOffset":2649,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2651,"endOffset":9663,"count":0}],"isBlockCoverage":false}]},{"scriptId":"234","url":"node:internal/crypto/certificate","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1546,"count":1}],"isBlockCoverage":false},{"functionName":"verifySpkac","ranges":[{"startOffset":385,"endOffset":505,"count":0}],"isBlockCoverage":false},{"functionName":"exportPublicKey","ranges":[{"startOffset":507,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"exportChallenge","ranges":[{"startOffset":637,"endOffset":765,"count":0}],"isBlockCoverage":false},{"functionName":"Certificate","ranges":[{"startOffset":1122,"endOffset":1216,"count":0}],"isBlockCoverage":false}]},{"scriptId":"235","url":"node:internal/crypto/webcrypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30940,"count":1}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":1190,"endOffset":1799,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":1801,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":1913,"endOffset":4408,"count":0}],"isBlockCoverage":false},{"functionName":"deriveBits","ranges":[{"startOffset":4410,"endOffset":5970,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyLength","ranges":[{"startOffset":5972,"endOffset":6592,"count":0}],"isBlockCoverage":false},{"functionName":"deriveKey","ranges":[{"startOffset":6594,"endOffset":8774,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeySpki","ranges":[{"startOffset":8776,"endOffset":9754,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyPkcs8","ranges":[{"startOffset":9756,"endOffset":10743,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyRaw","ranges":[{"startOffset":10745,"endOffset":11678,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyJWK","ranges":[{"startOffset":11680,"endOffset":13210,"count":0}],"isBlockCoverage":false},{"functionName":"exportKey","ranges":[{"startOffset":13212,"endOffset":14072,"count":0}],"isBlockCoverage":false},{"functionName":"importGenericSecretKey","ranges":[{"startOffset":14074,"endOffset":15424,"count":0}],"isBlockCoverage":false},{"functionName":"importKey","ranges":[{"startOffset":15426,"endOffset":18168,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":18261,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapKey","ranges":[{"startOffset":19891,"endOffset":21854,"count":0}],"isBlockCoverage":false},{"functionName":"signVerify","ranges":[{"startOffset":21856,"endOffset":22959,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":22961,"endOffset":23587,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":23589,"endOffset":24346,"count":0}],"isBlockCoverage":false},{"functionName":"cipherOrWrap","ranges":[{"startOffset":24348,"endOffset":25759,"count":0}],"isBlockCoverage":false},{"functionName":"encrypt","ranges":[{"startOffset":25761,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"decrypt","ranges":[{"startOffset":26489,"endOffset":27215,"count":0}],"isBlockCoverage":false},{"functionName":"SubtleCrypto","ranges":[{"startOffset":27371,"endOffset":27431,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27466,"endOffset":27479,"count":1}],"isBlockCoverage":true},{"functionName":"Crypto","ranges":[{"startOffset":27518,"endOffset":27578,"count":0}],"isBlockCoverage":true},{"functionName":"get subtle","ranges":[{"startOffset":27582,"endOffset":27682,"count":3},{"startOffset":27622,"endOffset":27659,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27717,"endOffset":27730,"count":1}],"isBlockCoverage":true},{"functionName":"getRandomValues","ranges":[{"startOffset":27746,"endOffset":28079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"236","url":"node:zlib","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29534,"count":1}],"isBlockCoverage":false},{"functionName":"zlibBuffer","ranges":[{"startOffset":3530,"endOffset":4157,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnData","ranges":[{"startOffset":4159,"endOffset":4490,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnError","ranges":[{"startOffset":4492,"endOffset":4577,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnEnd","ranges":[{"startOffset":4579,"endOffset":4909,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferSync","ranges":[{"startOffset":4911,"endOffset":5452,"count":0}],"isBlockCoverage":false},{"functionName":"zlibOnError","ranges":[{"startOffset":5454,"endOffset":5768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5993,"endOffset":6329,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6633,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase","ranges":[{"startOffset":7161,"endOffset":9213,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9438,"endOffset":9475,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9918,"endOffset":9964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10111,"endOffset":10163,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.reset","ranges":[{"startOffset":10304,"endOffset":10412,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._flush","ranges":[{"startOffset":10558,"endOffset":10630,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._final","ranges":[{"startOffset":10697,"endOffset":10733,"count":0}],"isBlockCoverage":false},{"functionName":"maxFlush","ranges":[{"startOffset":11331,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.flush","ranges":[{"startOffset":11847,"endOffset":12249,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.close","ranges":[{"startOffset":12279,"endOffset":12361,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._destroy","ranges":[{"startOffset":12394,"endOffset":12454,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._transform","ranges":[{"startOffset":12489,"endOffset":13023,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._processChunk","ranges":[{"startOffset":13061,"endOffset":13290,"count":0}],"isBlockCoverage":false},{"functionName":"processChunkSync","ranges":[{"startOffset":13293,"endOffset":15578,"count":0}],"isBlockCoverage":false},{"functionName":"processChunk","ranges":[{"startOffset":15580,"endOffset":16170,"count":0}],"isBlockCoverage":false},{"functionName":"processCallback","ranges":[{"startOffset":16172,"endOffset":18474,"count":0}],"isBlockCoverage":false},{"functionName":"_close","ranges":[{"startOffset":18476,"endOffset":18666,"count":0}],"isBlockCoverage":false},{"functionName":"Zlib","ranges":[{"startOffset":18863,"endOffset":21181,"count":0}],"isBlockCoverage":false},{"functionName":"paramsAfterFlushCallback","ranges":[{"startOffset":21531,"endOffset":21797,"count":0}],"isBlockCoverage":false},{"functionName":"params","ranges":[{"startOffset":21823,"endOffset":22290,"count":0}],"isBlockCoverage":false},{"functionName":"Deflate","ranges":[{"startOffset":22334,"endOffset":22469,"count":0}],"isBlockCoverage":false},{"functionName":"Inflate","ranges":[{"startOffset":22565,"endOffset":22700,"count":0}],"isBlockCoverage":false},{"functionName":"Gzip","ranges":[{"startOffset":22796,"endOffset":22919,"count":0}],"isBlockCoverage":false},{"functionName":"Gunzip","ranges":[{"startOffset":23009,"endOffset":23140,"count":0}],"isBlockCoverage":false},{"functionName":"DeflateRaw","ranges":[{"startOffset":23234,"endOffset":23439,"count":0}],"isBlockCoverage":false},{"functionName":"InflateRaw","ranges":[{"startOffset":23541,"endOffset":23688,"count":0}],"isBlockCoverage":false},{"functionName":"Unzip","ranges":[{"startOffset":23790,"endOffset":23917,"count":0}],"isBlockCoverage":false},{"functionName":"createConvenienceMethod","ranges":[{"startOffset":24009,"endOffset":24398,"count":18},{"startOffset":24068,"endOffset":24397,"count":9}],"isBlockCoverage":true},{"functionName":"syncBufferWrapper","ranges":[{"startOffset":24081,"endOffset":24182,"count":0}],"isBlockCoverage":false},{"functionName":"asyncBufferWrapper","ranges":[{"startOffset":24197,"endOffset":24395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24483,"endOffset":24570,"count":107},{"startOffset":24541,"endOffset":24561,"count":9},{"startOffset":24562,"endOffset":24569,"count":98}],"isBlockCoverage":true},{"functionName":"Brotli","ranges":[{"startOffset":24789,"endOffset":26126,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliCompress","ranges":[{"startOffset":26220,"endOffset":26384,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliDecompress","ranges":[{"startOffset":26498,"endOffset":26668,"count":0}],"isBlockCoverage":false},{"functionName":"createProperty","ranges":[{"startOffset":26787,"endOffset":26973,"count":9}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":26908,"endOffset":26965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27202,"endOffset":27238,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":27242,"endOffset":27283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"237","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16298,"count":1}],"isBlockCoverage":true},{"functionName":"hasOwnProperty","ranges":[{"startOffset":362,"endOffset":430,"count":0}],"isBlockCoverage":false},{"functionName":"isExternalAssertError","ranges":[{"startOffset":433,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"formatErrorValue","ranges":[{"startOffset":865,"endOffset":1002,"count":0}],"isBlockCoverage":false},{"functionName":"captureSavedError","ranges":[{"startOffset":1030,"endOffset":1237,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext","ranges":[{"startOffset":1316,"endOffset":4497,"count":12}],"isBlockCoverage":true},{"functionName":"pass","ranges":[{"startOffset":1349,"endOffset":1395,"count":26}],"isBlockCoverage":true},{"functionName":"pending","ranges":[{"startOffset":1400,"endOffset":1462,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":1467,"endOffset":1521,"count":0}],"isBlockCoverage":false},{"functionName":"skip","ranges":[{"startOffset":1526,"endOffset":1572,"count":0}],"isBlockCoverage":false},{"functionName":"compareWithSnapshot","ranges":[{"startOffset":1598,"endOffset":1642,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.snapshot.skip","ranges":[{"startOffset":1778,"endOffset":1813,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.log","ranges":[{"startOffset":1829,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan","ranges":[{"startOffset":2064,"endOffset":2120,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan.skip","ranges":[{"startOffset":2142,"endOffset":2150,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.timeout","ranges":[{"startOffset":2170,"endOffset":2222,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.teardown","ranges":[{"startOffset":2243,"endOffset":2291,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.try","ranges":[{"startOffset":2307,"endOffset":4493,"count":0}],"isBlockCoverage":false},{"functionName":"get title","ranges":[{"startOffset":4500,"endOffset":4550,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4553,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"set context","ranges":[{"startOffset":4619,"endOffset":4689,"count":0}],"isBlockCoverage":false},{"functionName":"get passed","ranges":[{"startOffset":4692,"endOffset":4803,"count":0}],"isBlockCoverage":false},{"functionName":"Test","ranges":[{"startOffset":4836,"endOffset":7739,"count":12},{"startOffset":4940,"endOffset":4945,"count":0}],"isBlockCoverage":true},{"functionName":"Test.compareWithSnapshot","ranges":[{"startOffset":5648,"endOffset":6084,"count":0}],"isBlockCoverage":false},{"functionName":"Test.skipSnapshot","ranges":[{"startOffset":6109,"endOffset":6523,"count":0}],"isBlockCoverage":false},{"functionName":"Test.runAttempt","ranges":[{"startOffset":6546,"endOffset":7343,"count":0}],"isBlockCoverage":false},{"functionName":"createExecutionContext","ranges":[{"startOffset":7742,"endOffset":7808,"count":12}],"isBlockCoverage":true},{"functionName":"countPassedAssertion","ranges":[{"startOffset":7811,"endOffset":8163,"count":26},{"startOffset":7858,"endOffset":7949,"count":0},{"startOffset":7987,"endOffset":8112,"count":0}],"isBlockCoverage":true},{"functionName":"addLog","ranges":[{"startOffset":8166,"endOffset":8207,"count":0}],"isBlockCoverage":false},{"functionName":"addPendingAssertion","ranges":[{"startOffset":8210,"endOffset":8745,"count":0}],"isBlockCoverage":false},{"functionName":"addFailedAssertion","ranges":[{"startOffset":8748,"endOffset":9133,"count":0}],"isBlockCoverage":false},{"functionName":"finishAttempt","ranges":[{"startOffset":9136,"endOffset":10154,"count":0}],"isBlockCoverage":false},{"functionName":"saveFirstError","ranges":[{"startOffset":10157,"endOffset":10243,"count":0}],"isBlockCoverage":false},{"functionName":"plan","ranges":[{"startOffset":10246,"endOffset":10542,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":10545,"endOffset":11120,"count":0}],"isBlockCoverage":false},{"functionName":"refreshTimeout","ranges":[{"startOffset":11123,"endOffset":11303,"count":26},{"startOffset":11184,"endOffset":11300,"count":0}],"isBlockCoverage":true},{"functionName":"clearTimeout","ranges":[{"startOffset":11306,"endOffset":11401,"count":12}],"isBlockCoverage":true},{"functionName":"addTeardown","ranges":[{"startOffset":11404,"endOffset":11793,"count":0}],"isBlockCoverage":false},{"functionName":"runTeardowns","ranges":[{"startOffset":11796,"endOffset":12044,"count":12},{"startOffset":11907,"endOffset":12041,"count":0}],"isBlockCoverage":true},{"functionName":"verifyPlan","ranges":[{"startOffset":12047,"endOffset":12402,"count":12},{"startOffset":12113,"endOffset":12151,"count":0},{"startOffset":12153,"endOffset":12399,"count":0}],"isBlockCoverage":true},{"functionName":"verifyAssertions","ranges":[{"startOffset":12405,"endOffset":13050,"count":12},{"startOffset":12450,"endOffset":12466,"count":0},{"startOffset":12504,"endOffset":12622,"count":0},{"startOffset":12662,"endOffset":12765,"count":0},{"startOffset":12835,"endOffset":12901,"count":0},{"startOffset":12933,"endOffset":12951,"count":0},{"startOffset":12953,"endOffset":13043,"count":0}],"isBlockCoverage":true},{"functionName":"callFn","ranges":[{"startOffset":13053,"endOffset":13237,"count":12},{"startOffset":13171,"endOffset":13234,"count":0}],"isBlockCoverage":true},{"functionName":"run","ranges":[{"startOffset":13240,"endOffset":15578,"count":12},{"startOffset":13338,"endOffset":13891,"count":0},{"startOffset":13982,"endOffset":14030,"count":0},{"startOffset":14126,"endOffset":14276,"count":0},{"startOffset":14303,"endOffset":14421,"count":0},{"startOffset":14438,"endOffset":15550,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14153,"endOffset":14270,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14462,"endOffset":15544,"count":0}],"isBlockCoverage":false},{"functionName":"finish","ranges":[{"startOffset":15581,"endOffset":16295,"count":12},{"startOffset":15866,"endOffset":16020,"count":0}],"isBlockCoverage":true}]},{"scriptId":"238","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/assert.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":25039,"count":1}],"isBlockCoverage":true},{"functionName":"formatDescriptorDiff","ranges":[{"startOffset":331,"endOffset":822,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptorWithLabel","ranges":[{"startOffset":824,"endOffset":979,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithLabel","ranges":[{"startOffset":981,"endOffset":1114,"count":0}],"isBlockCoverage":false},{"functionName":"hasOwnProperty","ranges":[{"startOffset":1139,"endOffset":1207,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":1222,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"notImplemented","ranges":[{"startOffset":1255,"endOffset":1301,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":1349,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"checkAssertionMessage","ranges":[{"startOffset":1981,"endOffset":2292,"count":26},{"startOffset":2061,"endOffset":2091,"count":9},{"startOffset":2112,"endOffset":2291,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithLongStackTrace","ranges":[{"startOffset":2294,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"validateExpectations","ranges":[{"startOffset":2558,"endOffset":5405,"count":0}],"isBlockCoverage":false},{"functionName":"assertExpectations","ranges":[{"startOffset":5524,"endOffset":8199,"count":0}],"isBlockCoverage":false},{"functionName":"Assertions","ranges":[{"startOffset":8228,"endOffset":25036,"count":12}],"isBlockCoverage":true},{"functionName":"withSkip","ranges":[{"startOffset":8463,"endOffset":8534,"count":228}],"isBlockCoverage":true},{"functionName":"checkMessage","ranges":[{"startOffset":8560,"endOffset":8733,"count":26},{"startOffset":8694,"endOffset":8732,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8759,"endOffset":8797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8824,"endOffset":9037,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9062,"endOffset":9979,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10005,"endOffset":10365,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10397,"endOffset":11031,"count":10},{"startOffset":10474,"endOffset":10498,"count":0},{"startOffset":10632,"endOffset":10727,"count":0},{"startOffset":10775,"endOffset":10828,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11066,"endOffset":11622,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11649,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12970,"endOffset":14552,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14586,"endOffset":16839,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16871,"endOffset":17460,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17497,"endOffset":19358,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19389,"endOffset":21353,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21382,"endOffset":21702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21730,"endOffset":22051,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22078,"endOffset":22383,"count":6},{"startOffset":22140,"endOffset":22164,"count":0},{"startOffset":22225,"endOffset":22382,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":22411,"endOffset":22720,"count":10},{"startOffset":22474,"endOffset":22498,"count":0},{"startOffset":22560,"endOffset":22719,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":22748,"endOffset":23686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23717,"endOffset":24676,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24705,"endOffset":25031,"count":0}],"isBlockCoverage":false}]},{"scriptId":"239","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/concordance-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2980,"count":1},{"startOffset":2696,"endOffset":2708,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2579,"endOffset":2649,"count":110},{"startOffset":2623,"endOffset":2641,"count":69},{"startOffset":2642,"endOffset":2649,"count":41}],"isBlockCoverage":true},{"functionName":"get maxDepth","ranges":[{"startOffset":2807,"endOffset":2878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"240","url":"node:internal/util/parse_args/parse_args","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12919,"count":1}],"isBlockCoverage":false},{"functionName":"getMainArgs","ranges":[{"startOffset":1135,"endOffset":1729,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionLikeValue","ranges":[{"startOffset":1874,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionUsage","ranges":[{"startOffset":2658,"endOffset":3449,"count":0}],"isBlockCoverage":false},{"functionName":"storeOption","ranges":[{"startOffset":3772,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"storeDefaultOption","ranges":[{"startOffset":4921,"endOffset":5090,"count":0}],"isBlockCoverage":false},{"functionName":"argsToTokens","ranges":[{"startOffset":5365,"endOffset":9345,"count":0}],"isBlockCoverage":false},{"functionName":"parseArgs","ranges":[{"startOffset":9365,"endOffset":12881,"count":0}],"isBlockCoverage":false}]},{"scriptId":"241","url":"node:internal/util/parse_args/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6225,"count":1}],"isBlockCoverage":false},{"functionName":"objectGetOwn","ranges":[{"startOffset":693,"endOffset":782,"count":0}],"isBlockCoverage":false},{"functionName":"optionsGetOwn","ranges":[{"startOffset":865,"endOffset":1011,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionValue","ranges":[{"startOffset":1277,"endOffset":1502,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionLikeValue","ranges":[{"startOffset":1719,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneShortOption","ranges":[{"startOffset":1936,"endOffset":2088,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneLongOption","ranges":[{"startOffset":2336,"endOffset":2484,"count":0}],"isBlockCoverage":false},{"functionName":"isLongOptionAndValue","ranges":[{"startOffset":2681,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionGroup","ranges":[{"startOffset":3724,"endOffset":4109,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionAndValue","ranges":[{"startOffset":4418,"endOffset":4847,"count":0}],"isBlockCoverage":false},{"functionName":"findLongOptionForShort","ranges":[{"startOffset":5170,"endOffset":5472,"count":0}],"isBlockCoverage":false},{"functionName":"useDefaultValueOption","ranges":[{"startOffset":5797,"endOffset":5967,"count":0}],"isBlockCoverage":false}]},{"scriptId":"242","url":"node:internal/mime","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10569,"count":1}],"isBlockCoverage":false},{"functionName":"toASCIILower","ranges":[{"startOffset":587,"endOffset":820,"count":0}],"isBlockCoverage":false},{"functionName":"parseTypeAndSubtype","ranges":[{"startOffset":866,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"removeBackslashes","ranges":[{"startOffset":2641,"endOffset":3056,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuoteOrSolidus","ranges":[{"startOffset":3059,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":3288,"endOffset":3527,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3530,"endOffset":8526,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8986,"endOffset":10365,"count":0}],"isBlockCoverage":false}]},{"scriptId":"243","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/callsites/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"callsites","ranges":[{"startOffset":15,"endOffset":469,"count":0}],"isBlockCoverage":false}]},{"scriptId":"244","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5256,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5189,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2906,"endOffset":3404,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3450,"endOffset":3975,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4032,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4134,"endOffset":4895,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4949,"endOffset":5030,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5084,"endOffset":5137,"count":0}],"isBlockCoverage":false}]},{"scriptId":"245","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/supports-color/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3855,"count":1},{"startOffset":738,"endOffset":762,"count":0},{"startOffset":869,"endOffset":893,"count":0}],"isBlockCoverage":true},{"functionName":"hasFlag","ranges":[{"startOffset":235,"endOffset":585,"count":16},{"startOffset":281,"endOffset":303,"count":0},{"startOffset":359,"endOffset":363,"count":0},{"startOffset":385,"endOffset":390,"count":0},{"startOffset":519,"endOffset":582,"count":0}],"isBlockCoverage":true},{"functionName":"envForceColor","ranges":[{"startOffset":895,"endOffset":1159,"count":2},{"startOffset":949,"endOffset":1157,"count":0}],"isBlockCoverage":true},{"functionName":"translateLevel","ranges":[{"startOffset":1161,"endOffset":1320,"count":2},{"startOffset":1212,"endOffset":1232,"count":0}],"isBlockCoverage":true},{"functionName":"_supportsColor","ranges":[{"startOffset":1322,"endOffset":3494,"count":2},{"startOffset":1479,"endOffset":1520,"count":0},{"startOffset":1570,"endOffset":1588,"count":0},{"startOffset":1614,"endOffset":1630,"count":0},{"startOffset":1740,"endOffset":1758,"count":0},{"startOffset":1788,"endOffset":1806,"count":0},{"startOffset":1918,"endOffset":1940,"count":0},{"startOffset":1942,"endOffset":1958,"count":0},{"startOffset":1992,"endOffset":2019,"count":0},{"startOffset":2021,"endOffset":2037,"count":0},{"startOffset":2096,"endOffset":2114,"count":0},{"startOffset":2151,"endOffset":2508,"count":0},{"startOffset":2528,"endOffset":2776,"count":0},{"startOffset":2810,"endOffset":2891,"count":0},{"startOffset":2945,"endOffset":3493,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2688,"endOffset":2707,"count":0}],"isBlockCoverage":false},{"functionName":"createSupportsColor","ranges":[{"startOffset":3503,"endOffset":3687,"count":2}],"isBlockCoverage":true}]},{"scriptId":"246","url":"node:os","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9769,"count":1}],"isBlockCoverage":false},{"functionName":"getCheckedFunction","ranges":[{"startOffset":2026,"endOffset":2267,"count":4}],"isBlockCoverage":true},{"functionName":"checkError","ranges":[{"startOffset":2085,"endOffset":2263,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease","ranges":[{"startOffset":2649,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType","ranges":[{"startOffset":2711,"endOffset":2721,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion","ranges":[{"startOffset":2773,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine","ranges":[{"startOffset":2836,"endOffset":2849,"count":0}],"isBlockCoverage":false},{"functionName":"getAvailableParallelism.","ranges":[{"startOffset":2897,"endOffset":2928,"count":0}],"isBlockCoverage":false},{"functionName":"getFreeMem.","ranges":[{"startOffset":2962,"endOffset":2980,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname.","ranges":[{"startOffset":3015,"endOffset":3034,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion.","ranges":[{"startOffset":3070,"endOffset":3090,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType.","ranges":[{"startOffset":3123,"endOffset":3140,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease.","ranges":[{"startOffset":3176,"endOffset":3196,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine.","ranges":[{"startOffset":3230,"endOffset":3248,"count":0}],"isBlockCoverage":false},{"functionName":"getHomeDirectory.","ranges":[{"startOffset":3288,"endOffset":3312,"count":0}],"isBlockCoverage":false},{"functionName":"getTotalMem.","ranges":[{"startOffset":3347,"endOffset":3366,"count":0}],"isBlockCoverage":false},{"functionName":"getUptime.","ranges":[{"startOffset":3399,"endOffset":3416,"count":0}],"isBlockCoverage":false},{"functionName":"loadavg","ranges":[{"startOffset":3554,"endOffset":3654,"count":0}],"isBlockCoverage":false},{"functionName":"cpus","ranges":[{"startOffset":3934,"endOffset":4363,"count":1},{"startOffset":4036,"endOffset":4041,"count":0},{"startOffset":4103,"endOffset":4344,"count":12}],"isBlockCoverage":true},{"functionName":"arch","ranges":[{"startOffset":4394,"endOffset":4436,"count":0}],"isBlockCoverage":false},{"functionName":"arch.","ranges":[{"startOffset":4463,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"platform","ranges":[{"startOffset":4513,"endOffset":4563,"count":2}],"isBlockCoverage":true},{"functionName":"platform.","ranges":[{"startOffset":4594,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir","ranges":[{"startOffset":4648,"endOffset":5253,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir.","ranges":[{"startOffset":5282,"endOffset":5296,"count":0}],"isBlockCoverage":false},{"functionName":"endianness","ranges":[{"startOffset":5333,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"endianness.","ranges":[{"startOffset":5413,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"countBinaryOnes","ranges":[{"startOffset":5518,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"getCIDR","ranges":[{"startOffset":5773,"endOffset":6718,"count":0}],"isBlockCoverage":false},{"functionName":"networkInterfaces","ranges":[{"startOffset":6929,"endOffset":7622,"count":0}],"isBlockCoverage":false},{"functionName":"setPriority","ranges":[{"startOffset":7706,"endOffset":7995,"count":0}],"isBlockCoverage":false},{"functionName":"getPriority","ranges":[{"startOffset":8053,"endOffset":8308,"count":0}],"isBlockCoverage":false},{"functionName":"userInfo","ranges":[{"startOffset":8612,"endOffset":8900,"count":0}],"isBlockCoverage":false}]},{"scriptId":"247","url":"node:tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5058,"count":1}],"isBlockCoverage":false},{"functionName":"isatty","ranges":[{"startOffset":1535,"endOffset":1641,"count":2}],"isBlockCoverage":true},{"functionName":"ReadStream","ranges":[{"startOffset":1643,"endOffset":2112,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.setRawMode","ranges":[{"startOffset":2261,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":2481,"endOffset":3453,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._refreshSize","ranges":[{"startOffset":3744,"endOffset":4180,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.cursorTo","ranges":[{"startOffset":4236,"endOffset":4376,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.moveCursor","ranges":[{"startOffset":4413,"endOffset":4559,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearLine","ranges":[{"startOffset":4595,"endOffset":4734,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearScreenDown","ranges":[{"startOffset":4776,"endOffset":4911,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.getWindowSize","ranges":[{"startOffset":4951,"endOffset":5001,"count":0}],"isBlockCoverage":false}]},{"scriptId":"248","url":"node:net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":65921,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1612,"endOffset":1637,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4029,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":4446,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"createHandle","ranges":[{"startOffset":4542,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"getNewAsyncId","ranges":[{"startOffset":4928,"endOffset":5066,"count":0}],"isBlockCoverage":false},{"functionName":"isPipeName","ranges":[{"startOffset":5069,"endOffset":5152,"count":0}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":5353,"endOffset":5457,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":5680,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamily","ranges":[{"startOffset":6083,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamily","ranges":[{"startOffset":6160,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6278,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6383,"endOffset":6570,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgs","ranges":[{"startOffset":7064,"endOffset":7790,"count":0}],"isBlockCoverage":false},{"functionName":"initSocketHandle","ranges":[{"startOffset":7862,"endOffset":8465,"count":0}],"isBlockCoverage":false},{"functionName":"closeSocketHandle","ranges":[{"startOffset":8467,"endOffset":8807,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":9059,"endOffset":13678,"count":0}],"isBlockCoverage":false},{"functionName":"_unrefTimer","ranges":[{"startOffset":13851,"endOffset":13981,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._final","ranges":[{"startOffset":14101,"endOffset":14717,"count":0}],"isBlockCoverage":false},{"functionName":"afterShutdown","ranges":[{"startOffset":14720,"endOffset":14866,"count":0}],"isBlockCoverage":false},{"functionName":"writeAfterFIN","ranges":[{"startOffset":15073,"endOffset":15581,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._onTimeout","ranges":[{"startOffset":15663,"endOffset":16167,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setNoDelay","ranges":[{"startOffset":16201,"endOffset":16578,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setKeepAlive","ranges":[{"startOffset":16614,"endOffset":17220,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":17251,"endOffset":17295,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17381,"endOffset":17425,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17505,"endOffset":17561,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17672,"endOffset":17987,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18076,"endOffset":18156,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18244,"endOffset":18289,"count":0}],"isBlockCoverage":false},{"functionName":"tryReadStart","ranges":[{"startOffset":18297,"endOffset":18543,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._read","ranges":[{"startOffset":18635,"endOffset":18954,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.end","ranges":[{"startOffset":18981,"endOffset":19137,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resetAndDestroy","ranges":[{"startOffset":19175,"endOffset":19525,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.pause","ranges":[{"startOffset":19553,"endOffset":19887,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resume","ranges":[{"startOffset":19917,"endOffset":20101,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.read","ranges":[{"startOffset":20129,"endOffset":20315,"count":0}],"isBlockCoverage":false},{"functionName":"onReadableStreamEnd","ranges":[{"startOffset":20362,"endOffset":20461,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.destroySoon","ranges":[{"startOffset":20495,"endOffset":20642,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._destroy","ranges":[{"startOffset":20674,"endOffset":22184,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._reset","ranges":[{"startOffset":22213,"endOffset":22312,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getpeername","ranges":[{"startOffset":22347,"endOffset":22644,"count":0}],"isBlockCoverage":false},{"functionName":"protoGetter","ranges":[{"startOffset":22647,"endOffset":22829,"count":9}],"isBlockCoverage":true},{"functionName":"bytesRead","ranges":[{"startOffset":22856,"endOffset":22947,"count":0}],"isBlockCoverage":false},{"functionName":"remoteAddress","ranges":[{"startOffset":22980,"endOffset":23046,"count":0}],"isBlockCoverage":false},{"functionName":"remoteFamily","ranges":[{"startOffset":23078,"endOffset":23142,"count":0}],"isBlockCoverage":false},{"functionName":"remotePort","ranges":[{"startOffset":23172,"endOffset":23232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getsockname","ranges":[{"startOffset":23269,"endOffset":23545,"count":0}],"isBlockCoverage":false},{"functionName":"localAddress","ranges":[{"startOffset":23577,"endOffset":23642,"count":0}],"isBlockCoverage":false},{"functionName":"localPort","ranges":[{"startOffset":23672,"endOffset":23731,"count":0}],"isBlockCoverage":false},{"functionName":"localFamily","ranges":[{"startOffset":23762,"endOffset":23825,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":23866,"endOffset":23913,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writeGeneric","ranges":[{"startOffset":23949,"endOffset":24861,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writev","ranges":[{"startOffset":24892,"endOffset":24960,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._write","ranges":[{"startOffset":24990,"endOffset":25071,"count":0}],"isBlockCoverage":false},{"functionName":"_bytesDispatched","ranges":[{"startOffset":25264,"endOffset":25368,"count":0}],"isBlockCoverage":false},{"functionName":"bytesWritten","ranges":[{"startOffset":25400,"endOffset":26329,"count":0}],"isBlockCoverage":false},{"functionName":"checkBindError","ranges":[{"startOffset":26334,"endOffset":27133,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnect","ranges":[{"startOffset":27136,"endOffset":29131,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultiple","ranges":[{"startOffset":29134,"endOffset":31870,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":31899,"endOffset":33495,"count":0}],"isBlockCoverage":false},{"functionName":"reinitializeHandle","ranges":[{"startOffset":33538,"endOffset":33692,"count":0}],"isBlockCoverage":false},{"functionName":"socketToDnsFamily","ranges":[{"startOffset":33695,"endOffset":33841,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnect","ranges":[{"startOffset":33843,"endOffset":37774,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnectMultiple","ranges":[{"startOffset":37776,"endOffset":41750,"count":0}],"isBlockCoverage":false},{"functionName":"connectErrorNT","ranges":[{"startOffset":41752,"endOffset":41811,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":41837,"endOffset":42024,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":42053,"endOffset":42246,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnect","ranges":[{"startOffset":42250,"endOffset":43831,"count":0}],"isBlockCoverage":false},{"functionName":"addClientAbortSignalOption","ranges":[{"startOffset":43833,"endOffset":44256,"count":0}],"isBlockCoverage":false},{"functionName":"createConnectionError","ranges":[{"startOffset":44258,"endOffset":44759,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnectMultiple","ranges":[{"startOffset":44761,"endOffset":45903,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultipleTimeout","ranges":[{"startOffset":45905,"endOffset":46217,"count":0}],"isBlockCoverage":false},{"functionName":"addServerAbortSignalOption","ranges":[{"startOffset":46219,"endOffset":46662,"count":0}],"isBlockCoverage":false},{"functionName":"Server","ranges":[{"startOffset":46664,"endOffset":48251,"count":0}],"isBlockCoverage":false},{"functionName":"toNumber","ranges":[{"startOffset":48362,"endOffset":48427,"count":0}],"isBlockCoverage":false},{"functionName":"createServerHandle","ranges":[{"startOffset":48495,"endOffset":49947,"count":0}],"isBlockCoverage":false},{"functionName":"setupListenHandle","ranges":[{"startOffset":49949,"endOffset":52300,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":52367,"endOffset":52429,"count":0}],"isBlockCoverage":false},{"functionName":"emitListeningNT","ranges":[{"startOffset":52432,"endOffset":52547,"count":0}],"isBlockCoverage":false},{"functionName":"listenInCluster","ranges":[{"startOffset":52550,"endOffset":53810,"count":0}],"isBlockCoverage":false},{"functionName":"Server.listen","ranges":[{"startOffset":53839,"endOffset":57671,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndListen","ranges":[{"startOffset":57674,"endOffset":58086,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":58168,"endOffset":58211,"count":0}],"isBlockCoverage":false},{"functionName":"Server.address","ranges":[{"startOffset":58287,"endOffset":58576,"count":0}],"isBlockCoverage":false},{"functionName":"onconnection","ranges":[{"startOffset":58579,"endOffset":60478,"count":0}],"isBlockCoverage":false},{"functionName":"Server.getConnections","ranges":[{"startOffset":60627,"endOffset":61380,"count":0}],"isBlockCoverage":false},{"functionName":"Server.close","ranges":[{"startOffset":61409,"endOffset":62276,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":62318,"endOffset":62438,"count":0}],"isBlockCoverage":false},{"functionName":"Server._emitCloseIfDrained","ranges":[{"startOffset":62480,"endOffset":62866,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":62870,"endOffset":62953,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":63012,"endOffset":63174,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63396,"endOffset":63432,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63436,"endOffset":63477,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63557,"endOffset":63588,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63592,"endOffset":63628,"count":0}],"isBlockCoverage":false},{"functionName":"Server._setupWorker","ranges":[{"startOffset":63667,"endOffset":63908,"count":0}],"isBlockCoverage":false},{"functionName":"Server.ref","ranges":[{"startOffset":63934,"endOffset":64032,"count":0}],"isBlockCoverage":false},{"functionName":"Server.unref","ranges":[{"startOffset":64060,"endOffset":64159,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":64301,"endOffset":64970,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":65009,"endOffset":65250,"count":0}],"isBlockCoverage":false},{"functionName":"get BlockList","ranges":[{"startOffset":65379,"endOffset":65481,"count":0}],"isBlockCoverage":false},{"functionName":"get SocketAddress","ranges":[{"startOffset":65485,"endOffset":65607,"count":0}],"isBlockCoverage":false}]},{"scriptId":"249","url":"node:internal/stream_base_commons","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7041,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1010,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"handleWriteReq","ranges":[{"startOffset":1154,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"onWriteComplete","ranges":[{"startOffset":2011,"endOffset":2696,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteWrap","ranges":[{"startOffset":2698,"endOffset":2936,"count":0}],"isBlockCoverage":false},{"functionName":"writevGeneric","ranges":[{"startOffset":2938,"endOffset":3577,"count":0}],"isBlockCoverage":false},{"functionName":"writeGeneric","ranges":[{"startOffset":3579,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteDispatched","ranges":[{"startOffset":3786,"endOffset":4089,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamRead","ranges":[{"startOffset":4091,"endOffset":6022,"count":0}],"isBlockCoverage":false},{"functionName":"setStreamTimeout","ranges":[{"startOffset":6024,"endOffset":6834,"count":0}],"isBlockCoverage":false}]},{"scriptId":"250","url":"node:internal/perf/observe","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16742,"count":1}],"isBlockCoverage":false},{"functionName":"queuePending","ranges":[{"startOffset":2620,"endOffset":2881,"count":0}],"isBlockCoverage":false},{"functionName":"getObserverType","ranges":[{"startOffset":2883,"endOffset":3223,"count":0}],"isBlockCoverage":false},{"functionName":"maybeDecrementObserverCounts","ranges":[{"startOffset":3225,"endOffset":3646,"count":0}],"isBlockCoverage":false},{"functionName":"maybeIncrementObserverCount","ranges":[{"startOffset":3648,"endOffset":3990,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceObserverEntryList","ranges":[{"startOffset":4031,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"getEntries","ranges":[{"startOffset":4095,"endOffset":4234,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByType","ranges":[{"startOffset":4238,"endOffset":4542,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByName","ranges":[{"startOffset":4546,"endOffset":5039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5043,"endOffset":5291,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceObserverEntryList","ranges":[{"startOffset":5643,"endOffset":5933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5935,"endOffset":9507,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":9989,"endOffset":10191,"count":0}],"isBlockCoverage":false},{"functionName":"bufferUserTiming","ranges":[{"startOffset":10252,"endOffset":11278,"count":0}],"isBlockCoverage":false},{"functionName":"bufferResourceTiming","ranges":[{"startOffset":11566,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"setResourceTimingBufferSize","ranges":[{"startOffset":12918,"endOffset":13190,"count":0}],"isBlockCoverage":false},{"functionName":"setDispatchBufferFull","ranges":[{"startOffset":13192,"endOffset":13257,"count":0}],"isBlockCoverage":false},{"functionName":"clearEntriesFromBuffer","ranges":[{"startOffset":13259,"endOffset":13859,"count":0}],"isBlockCoverage":false},{"functionName":"filterBufferMapByNameAndType","ranges":[{"startOffset":13861,"endOffset":14749,"count":0}],"isBlockCoverage":false},{"functionName":"observerCallback","ranges":[{"startOffset":14751,"endOffset":15867,"count":0}],"isBlockCoverage":false},{"functionName":"hasObserver","ranges":[{"startOffset":15904,"endOffset":16023,"count":0}],"isBlockCoverage":false},{"functionName":"startPerf","ranges":[{"startOffset":16026,"endOffset":16136,"count":0}],"isBlockCoverage":false},{"functionName":"stopPerf","ranges":[{"startOffset":16138,"endOffset":16453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"251","url":"node:internal/perf/performance_entry","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3333,"count":1}],"isBlockCoverage":false},{"functionName":"isPerformanceEntry","ranges":[{"startOffset":675,"endOffset":748,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceEntry","ranges":[{"startOffset":777,"endOffset":914,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":918,"endOffset":1018,"count":0}],"isBlockCoverage":false},{"functionName":"get entryType","ranges":[{"startOffset":1022,"endOffset":1137,"count":0}],"isBlockCoverage":false},{"functionName":"get startTime","ranges":[{"startOffset":1141,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"get duration","ranges":[{"startOffset":1260,"endOffset":1372,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1376,"endOffset":1620,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":1624,"endOffset":1846,"count":0}],"isBlockCoverage":false},{"functionName":"initPerformanceEntry","ranges":[{"startOffset":2068,"endOffset":2248,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceEntry","ranges":[{"startOffset":2250,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":2559,"endOffset":2669,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":2673,"endOffset":2924,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceNodeEntry","ranges":[{"startOffset":2928,"endOffset":3163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"252","url":"node:internal/tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6485,"count":1}],"isBlockCoverage":false},{"functionName":"warnOnDeactivatedColors","ranges":[{"startOffset":2549,"endOffset":3002,"count":0}],"isBlockCoverage":false},{"functionName":"getColorDepth","ranges":[{"startOffset":3160,"endOffset":6156,"count":0}],"isBlockCoverage":false},{"functionName":"hasColors","ranges":[{"startOffset":6158,"endOffset":6431,"count":0}],"isBlockCoverage":false}]},{"scriptId":"253","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":997,"count":1}],"isBlockCoverage":true},{"functionName":"stringReplaceAll","ranges":[{"startOffset":78,"endOffset":552,"count":0}],"isBlockCoverage":false},{"functionName":"stringEncaseCRLFWithFirstIndex","ranges":[{"startOffset":561,"endOffset":996,"count":0}],"isBlockCoverage":false}]},{"scriptId":"254","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6025,"count":1}],"isBlockCoverage":true},{"functionName":"assertPatternsInput","ranges":[{"startOffset":367,"endOffset":522,"count":0}],"isBlockCoverage":false},{"functionName":"toPatternsArray","ranges":[{"startOffset":549,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"checkCwdOption","ranges":[{"startOffset":685,"endOffset":912,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":940,"endOffset":1200,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArguments","ranges":[{"startOffset":1230,"endOffset":1321,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1236,"endOffset":1321,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgumentsSync","ranges":[{"startOffset":1354,"endOffset":1439,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1360,"endOffset":1439,"count":0}],"isBlockCoverage":false},{"functionName":"getIgnoreFilesPatterns","ranges":[{"startOffset":1473,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":1701,"endOffset":1913,"count":0}],"isBlockCoverage":false},{"functionName":"getFilterSync","ranges":[{"startOffset":1938,"endOffset":2142,"count":0}],"isBlockCoverage":false},{"functionName":"createFilterFunction","ranges":[{"startOffset":2174,"endOffset":2469,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobResults","ranges":[{"startOffset":2501,"endOffset":2585,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobStreams","ranges":[{"startOffset":2616,"endOffset":2717,"count":0}],"isBlockCoverage":false},{"functionName":"convertNegativePatterns","ranges":[{"startOffset":2752,"endOffset":3364,"count":0}],"isBlockCoverage":false},{"functionName":"getDirGlobOptions","ranges":[{"startOffset":3393,"endOffset":3499,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":3524,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasksSync","ranges":[{"startOffset":4171,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4758,"endOffset":5048,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5101,"endOffset":5348,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5403,"endOffset":5652,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5713,"endOffset":5805,"count":0}],"isBlockCoverage":false}]},{"scriptId":"255","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/maps.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"256","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":465,"count":1}],"isBlockCoverage":true},{"functionName":"escapeStringRegexp","ranges":[{"startOffset":15,"endOffset":464,"count":3},{"startOffset":86,"endOffset":134,"count":0}],"isBlockCoverage":true}]},{"scriptId":"257","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/indent-string/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":820,"count":1}],"isBlockCoverage":true},{"functionName":"indentString","ranges":[{"startOffset":15,"endOffset":819,"count":0}],"isBlockCoverage":false}]},{"scriptId":"258","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mem/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3063,"count":1}],"isBlockCoverage":true},{"functionName":"mem","ranges":[{"startOffset":651,"endOffset":1491,"count":2},{"startOffset":753,"endOffset":790,"count":0}],"isBlockCoverage":true},{"functionName":"memoized","ranges":[{"startOffset":812,"endOffset":1357,"count":3},{"startOffset":868,"endOffset":890,"count":1},{"startOffset":891,"endOffset":906,"count":2},{"startOffset":973,"endOffset":1078,"count":1},{"startOffset":1078,"endOffset":1208,"count":2},{"startOffset":1208,"endOffset":1229,"count":0},{"startOffset":1230,"endOffset":1256,"count":2}],"isBlockCoverage":true},{"functionName":"memDecorator","ranges":[{"startOffset":1911,"endOffset":2668,"count":0}],"isBlockCoverage":false},{"functionName":"memClear","ranges":[{"startOffset":2761,"endOffset":3062,"count":0}],"isBlockCoverage":false}]},{"scriptId":"259","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12,"count":1}],"isBlockCoverage":true}]},{"scriptId":"260","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-promise/index.mjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":151,"count":1}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":15,"endOffset":150,"count":12},{"startOffset":56,"endOffset":113,"count":0},{"startOffset":114,"endOffset":147,"count":0}],"isBlockCoverage":true}]},{"scriptId":"261","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/plur/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":963,"count":1}],"isBlockCoverage":true},{"functionName":"plur","ranges":[{"startOffset":66,"endOffset":962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"262","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/like-selector.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1333,"count":1}],"isBlockCoverage":true},{"functionName":"isPrimitive","ranges":[{"startOffset":20,"endOffset":72,"count":0}],"isBlockCoverage":false},{"functionName":"isLikeSelector","ranges":[{"startOffset":82,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"selectComparable","ranges":[{"startOffset":609,"endOffset":1332,"count":0}],"isBlockCoverage":false}]},{"scriptId":"263","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5267,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5200,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2913,"endOffset":3409,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3462,"endOffset":3983,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4040,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4149,"endOffset":4906,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4960,"endOffset":5041,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5095,"endOffset":5148,"count":0}],"isBlockCoverage":false}]},{"scriptId":"264","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/strip-ansi/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":468,"count":1}],"isBlockCoverage":true},{"functionName":"stripAnsi","ranges":[{"startOffset":80,"endOffset":467,"count":69},{"startOffset":142,"endOffset":220,"count":0}],"isBlockCoverage":true}]},{"scriptId":"265","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/ignore.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2797,"count":1}],"isBlockCoverage":true},{"functionName":"applyBaseToPattern","ranges":[{"startOffset":479,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"parseIgnoreFile","ranges":[{"startOffset":634,"endOffset":865,"count":0}],"isBlockCoverage":false},{"functionName":"toRelativePath","ranges":[{"startOffset":891,"endOffset":1176,"count":0}],"isBlockCoverage":false},{"functionName":"getIsIgnoredPredicate","ranges":[{"startOffset":1209,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1582,"endOffset":1782,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFiles","ranges":[{"startOffset":1823,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFilesSync","ranges":[{"startOffset":2256,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnored","ranges":[{"startOffset":2623,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnoredSync","ranges":[{"startOffset":2724,"endOffset":2795,"count":0}],"isBlockCoverage":false}]},{"scriptId":"266","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":462,"count":1}],"isBlockCoverage":true},{"functionName":"toPath","ranges":[{"startOffset":102,"endOffset":178,"count":0}],"isBlockCoverage":false},{"functionName":"FilterStream","ranges":[{"startOffset":228,"endOffset":394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":431,"endOffset":460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"267","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mimic-fn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2903,"count":1}],"isBlockCoverage":true},{"functionName":"copyProperty","ranges":[{"startOffset":21,"endOffset":887,"count":4},{"startOffset":280,"endOffset":307,"count":2},{"startOffset":309,"endOffset":577,"count":2},{"startOffset":579,"endOffset":593,"count":0},{"startOffset":593,"endOffset":790,"count":2},{"startOffset":790,"endOffset":814,"count":0},{"startOffset":816,"endOffset":830,"count":0},{"startOffset":830,"endOffset":886,"count":2}],"isBlockCoverage":true},{"functionName":"canCopyProperty","ranges":[{"startOffset":1091,"endOffset":1457,"count":2},{"startOffset":1197,"endOffset":1454,"count":0}],"isBlockCoverage":true},{"functionName":"changePrototype","ranges":[{"startOffset":1484,"endOffset":1662,"count":2},{"startOffset":1616,"endOffset":1661,"count":0}],"isBlockCoverage":true},{"functionName":"wrappedToString","ranges":[{"startOffset":1689,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"changeToString","ranges":[{"startOffset":2221,"endOffset":2603,"count":2},{"startOffset":2273,"endOffset":2277,"count":0}],"isBlockCoverage":true},{"functionName":"mimicFunction","ranges":[{"startOffset":2621,"endOffset":2902,"count":2},{"startOffset":2762,"endOffset":2825,"count":4}],"isBlockCoverage":true}]},{"scriptId":"268","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/ansi-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":350,"count":1}],"isBlockCoverage":true},{"functionName":"ansiRegex","ranges":[{"startOffset":15,"endOffset":349,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true}]},{"scriptId":"269","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/slash/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":285,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":15,"endOffset":284,"count":0}],"isBlockCoverage":false}]},{"scriptId":"270","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":250,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":62,"endOffset":248,"count":1}],"isBlockCoverage":true}]},{"scriptId":"271","url":"node:internal/vm/module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12200,"count":1}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":1662,"endOffset":4017,"count":0}],"isBlockCoverage":false},{"functionName":"get identifier","ranges":[{"startOffset":4021,"endOffset":4158,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4162,"endOffset":4295,"count":0}],"isBlockCoverage":false},{"functionName":"get namespace","ranges":[{"startOffset":4299,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"get status","ranges":[{"startOffset":4580,"endOffset":4733,"count":0}],"isBlockCoverage":false},{"functionName":"get error","ranges":[{"startOffset":4737,"endOffset":4987,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":4991,"endOffset":5396,"count":0}],"isBlockCoverage":false},{"functionName":"evaluate","ranges":[{"startOffset":5400,"endOffset":6153,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6157,"endOffset":6909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":10171,"count":0}],"isBlockCoverage":false},{"functionName":"SyntheticModule","ranges":[{"startOffset":10214,"endOffset":11307,"count":0}],"isBlockCoverage":false},{"functionName":"setExport","ranges":[{"startOffset":11311,"endOffset":11613,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamicallyWrap","ranges":[{"startOffset":11617,"endOffset":12096,"count":374}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyWrapper","ranges":[{"startOffset":11722,"endOffset":12052,"count":2},{"startOffset":11873,"endOffset":11910,"count":0},{"startOffset":11912,"endOffset":12051,"count":0}],"isBlockCoverage":true}]},{"scriptId":"272","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":82,"endOffset":745,"count":1}],"isBlockCoverage":true},{"functionName":"onUnhandledRejection","ranges":[{"startOffset":129,"endOffset":244,"count":0}],"isBlockCoverage":false},{"functionName":"onRejectionHandled","ranges":[{"startOffset":247,"endOffset":433,"count":0}],"isBlockCoverage":false},{"functionName":"currentlyUnhandled","ranges":[{"startOffset":436,"endOffset":599,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":501,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"273","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/array-find-index/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":462,"count":0}],"isBlockCoverage":false}]},{"scriptId":"274","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/now-and-timers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":501,"count":1}],"isBlockCoverage":true},{"functionName":"setCappedTimeout","ranges":[{"startOffset":313,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"275","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge2/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3241,"count":1}],"isBlockCoverage":true},{"functionName":"merge2","ranges":[{"startOffset":280,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"pauseStreams","ranges":[{"startOffset":2702,"endOffset":3240,"count":0}],"isBlockCoverage":false}]},{"scriptId":"276","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4091,"count":1},{"startOffset":3434,"endOffset":3452,"count":0}],"isBlockCoverage":true},{"functionName":"FastGlob","ranges":[{"startOffset":277,"endOffset":501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":612,"endOffset":3423,"count":1}],"isBlockCoverage":true},{"functionName":"sync","ranges":[{"startOffset":763,"endOffset":946,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":977,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":1503,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1795,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"escapePath","ranges":[{"startOffset":2060,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2217,"endOffset":2355,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2434,"endOffset":2864,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2461,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2644,"endOffset":2799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2936,"endOffset":3370,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2963,"endOffset":3100,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":3148,"endOffset":3305,"count":0}],"isBlockCoverage":false},{"functionName":"getWorks","ranges":[{"startOffset":3455,"endOffset":3751,"count":0}],"isBlockCoverage":false},{"functionName":"assertPatternsInput","ranges":[{"startOffset":3752,"endOffset":4063,"count":0}],"isBlockCoverage":false}]},{"scriptId":"277","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/managers/tasks.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5531,"count":1}],"isBlockCoverage":true},{"functionName":"generate","ranges":[{"startOffset":355,"endOffset":1133,"count":0}],"isBlockCoverage":false},{"functionName":"processPatterns","ranges":[{"startOffset":1163,"endOffset":2553,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToTasks","ranges":[{"startOffset":2825,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":4023,"endOffset":4121,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatternsAsPositive","ranges":[{"startOffset":4173,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"groupPatternsByBaseDirectory","ranges":[{"startOffset":4482,"endOffset":4868,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupsToTasks","ranges":[{"startOffset":4938,"endOffset":5147,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupToTask","ranges":[{"startOffset":5215,"endOffset":5467,"count":0}],"isBlockCoverage":false}]},{"scriptId":"278","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":596,"count":1}],"isBlockCoverage":true}]},{"scriptId":"279","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1}],"isBlockCoverage":true},{"functionName":"flatten","ranges":[{"startOffset":123,"endOffset":230,"count":0}],"isBlockCoverage":false},{"functionName":"splitWhen","ranges":[{"startOffset":258,"endOffset":576,"count":0}],"isBlockCoverage":false}]},{"scriptId":"280","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/errno.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":234,"count":1}],"isBlockCoverage":true},{"functionName":"isEnoentCodeError","ranges":[{"startOffset":113,"endOffset":186,"count":0}],"isBlockCoverage":false}]},{"scriptId":"281","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"282","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/path.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3010,"count":1},{"startOffset":2154,"endOffset":2173,"count":0},{"startOffset":2552,"endOffset":2581,"count":0}],"isBlockCoverage":true},{"functionName":"unixify","ranges":[{"startOffset":1352,"endOffset":1423,"count":0}],"isBlockCoverage":false},{"functionName":"makeAbsolute","ranges":[{"startOffset":1451,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"removeLeadingDotSegment","ranges":[{"startOffset":1569,"endOffset":2057,"count":0}],"isBlockCoverage":false},{"functionName":"escapeWindowsPath","ranges":[{"startOffset":2193,"endOffset":2303,"count":0}],"isBlockCoverage":false},{"functionName":"escapePosixPath","ranges":[{"startOffset":2351,"endOffset":2457,"count":0}],"isBlockCoverage":false},{"functionName":"convertWindowsPathToPattern","ranges":[{"startOffset":2611,"endOffset":2792,"count":0}],"isBlockCoverage":false},{"functionName":"convertPosixPathToPattern","ranges":[{"startOffset":2860,"endOffset":2946,"count":0}],"isBlockCoverage":false}]},{"scriptId":"283","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/pattern.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7965,"count":1}],"isBlockCoverage":true},{"functionName":"isStaticPattern","ranges":[{"startOffset":1465,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1608,"endOffset":2666,"count":0}],"isBlockCoverage":false},{"functionName":"hasBraceExpansion","ranges":[{"startOffset":2712,"endOffset":3145,"count":0}],"isBlockCoverage":false},{"functionName":"convertToPositivePattern","ranges":[{"startOffset":3146,"endOffset":3260,"count":0}],"isBlockCoverage":false},{"functionName":"convertToNegativePattern","ranges":[{"startOffset":3322,"endOffset":3394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":3456,"endOffset":3553,"count":0}],"isBlockCoverage":false},{"functionName":"isPositivePattern","ranges":[{"startOffset":3601,"endOffset":3680,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatterns","ranges":[{"startOffset":3728,"endOffset":3817,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":3869,"endOffset":3958,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsInsideCurrentDirectory","ranges":[{"startOffset":4205,"endOffset":4347,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsOutsideCurrentDirectory","ranges":[{"startOffset":4631,"endOffset":4751,"count":0}],"isBlockCoverage":false},{"functionName":"isPatternRelatedToParentDirectory","ranges":[{"startOffset":4833,"endOffset":4955,"count":0}],"isBlockCoverage":false},{"functionName":"getBaseDirectory","ranges":[{"startOffset":5035,"endOffset":5133,"count":0}],"isBlockCoverage":false},{"functionName":"hasGlobStar","ranges":[{"startOffset":5179,"endOffset":5251,"count":0}],"isBlockCoverage":false},{"functionName":"endsWithSlashGlobStar","ranges":[{"startOffset":5287,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"isAffectDepthOfReadingPattern","ranges":[{"startOffset":5431,"endOffset":5599,"count":0}],"isBlockCoverage":false},{"functionName":"expandPatternsWithBraceExpansion","ranges":[{"startOffset":5671,"endOffset":5857,"count":0}],"isBlockCoverage":false},{"functionName":"expandBraceExpansion","ranges":[{"startOffset":5935,"endOffset":6463,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternParts","ranges":[{"startOffset":6517,"endOffset":7150,"count":0}],"isBlockCoverage":false},{"functionName":"makeRe","ranges":[{"startOffset":7194,"endOffset":7279,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToRe","ranges":[{"startOffset":7305,"endOffset":7420,"count":0}],"isBlockCoverage":false},{"functionName":"matchAny","ranges":[{"startOffset":7472,"endOffset":7578,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateSlashes","ranges":[{"startOffset":7813,"endOffset":7907,"count":0}],"isBlockCoverage":false}]},{"scriptId":"284","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/glob-parent/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1120,"count":1}],"isBlockCoverage":true},{"functionName":"globParent","ranges":[{"startOffset":461,"endOffset":1118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"285","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3628,"count":1}],"isBlockCoverage":true},{"functionName":"strictCheck","ranges":[{"startOffset":247,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"relaxedCheck","ranges":[{"startOffset":2767,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"isGlob","ranges":[{"startOffset":3324,"endOffset":3626,"count":0}],"isBlockCoverage":false}]},{"scriptId":"286","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-extglob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"isExtglob","ranges":[{"startOffset":168,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"287","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/micromatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13741,"count":1}],"isBlockCoverage":true},{"functionName":"isEmptyString","ranges":[{"startOffset":187,"endOffset":220,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch","ranges":[{"startOffset":784,"endOffset":2129,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matcher","ranges":[{"startOffset":2781,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.isMatch","ranges":[{"startOffset":3440,"endOffset":3501,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.not","ranges":[{"startOffset":4203,"endOffset":4640,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.contains","ranges":[{"startOffset":5367,"endOffset":5928,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matchKeys","ranges":[{"startOffset":6706,"endOffset":6980,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.some","ranges":[{"startOffset":7765,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.every","ranges":[{"startOffset":8890,"endOffset":9146,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.all","ranges":[{"startOffset":9947,"endOffset":10155,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.capture","ranges":[{"startOffset":10869,"endOffset":11165,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.makeRe","ranges":[{"startOffset":11617,"endOffset":11655,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.scan","ranges":[{"startOffset":12004,"endOffset":12040,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.parse","ranges":[{"startOffset":12432,"endOffset":12652,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braces","ranges":[{"startOffset":13219,"endOffset":13456,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braceExpand","ranges":[{"startOffset":13510,"endOffset":13679,"count":0}],"isBlockCoverage":false}]},{"scriptId":"288","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4375,"count":1}],"isBlockCoverage":true},{"functionName":"braces","ranges":[{"startOffset":543,"endOffset":1030,"count":0}],"isBlockCoverage":false},{"functionName":"braces.parse","ranges":[{"startOffset":1359,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"braces.stringify","ranges":[{"startOffset":1795,"endOffset":1959,"count":0}],"isBlockCoverage":false},{"functionName":"braces.compile","ranges":[{"startOffset":2407,"endOffset":2550,"count":0}],"isBlockCoverage":false},{"functionName":"braces.expand","ranges":[{"startOffset":3141,"endOffset":3541,"count":0}],"isBlockCoverage":false},{"functionName":"braces.create","ranges":[{"startOffset":4118,"endOffset":4319,"count":0}],"isBlockCoverage":false}]},{"scriptId":"289","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/stringify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":700,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":67,"endOffset":697,"count":0}],"isBlockCoverage":false}]},{"scriptId":"290","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2451,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isInteger","ranges":[{"startOffset":35,"endOffset":232,"count":0}],"isBlockCoverage":false},{"functionName":"exports.find","ranges":[{"startOffset":292,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"exports.exceedsLimit","ranges":[{"startOffset":419,"endOffset":626,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeNode","ranges":[{"startOffset":712,"endOffset":985,"count":0}],"isBlockCoverage":false},{"functionName":"exports.encloseBrace","ranges":[{"startOffset":1097,"endOffset":1266,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isInvalidBrace","ranges":[{"startOffset":1347,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isOpenOrClose","ranges":[{"startOffset":1767,"endOffset":1906,"count":0}],"isBlockCoverage":false},{"functionName":"exports.reduce","ranges":[{"startOffset":1969,"endOffset":2127,"count":0}],"isBlockCoverage":false},{"functionName":"exports.flatten","ranges":[{"startOffset":2177,"endOffset":2449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"291","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/compile.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1415,"count":1}],"isBlockCoverage":true},{"functionName":"compile","ranges":[{"startOffset":102,"endOffset":1386,"count":0}],"isBlockCoverage":false}]},{"scriptId":"292","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fill-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6315,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":265,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"transform","ranges":[{"startOffset":355,"endOffset":439,"count":0}],"isBlockCoverage":false},{"functionName":"isValidValue","ranges":[{"startOffset":463,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":578,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"zeros","ranges":[{"startOffset":624,"endOffset":817,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":838,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":1001,"endOffset":1295,"count":0}],"isBlockCoverage":false},{"functionName":"toMaxLen","ranges":[{"startOffset":1315,"endOffset":1552,"count":0}],"isBlockCoverage":false},{"functionName":"toSequence","ranges":[{"startOffset":1574,"endOffset":2208,"count":0}],"isBlockCoverage":false},{"functionName":"toRange","ranges":[{"startOffset":2227,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"toRegex","ranges":[{"startOffset":2499,"endOffset":2758,"count":0}],"isBlockCoverage":false},{"functionName":"rangeError","ranges":[{"startOffset":2780,"endOffset":2874,"count":0}],"isBlockCoverage":false},{"functionName":"invalidRange","ranges":[{"startOffset":2898,"endOffset":3008,"count":0}],"isBlockCoverage":false},{"functionName":"invalidStep","ranges":[{"startOffset":3031,"endOffset":3176,"count":0}],"isBlockCoverage":false},{"functionName":"fillNumbers","ranges":[{"startOffset":3199,"endOffset":4682,"count":0}],"isBlockCoverage":false},{"functionName":"fillLetters","ranges":[{"startOffset":4705,"endOffset":5486,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":5502,"endOffset":6289,"count":0}],"isBlockCoverage":false}]},{"scriptId":"293","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/to-regex-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6481,"count":1}],"isBlockCoverage":true},{"functionName":"toRegexRange","ranges":[{"startOffset":235,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"collatePatterns","ranges":[{"startOffset":2180,"endOffset":2554,"count":0}],"isBlockCoverage":false},{"functionName":"splitToRanges","ranges":[{"startOffset":2556,"endOffset":3037,"count":0}],"isBlockCoverage":false},{"functionName":"rangeToPattern","ranges":[{"startOffset":3159,"endOffset":3832,"count":0}],"isBlockCoverage":false},{"functionName":"splitToPatterns","ranges":[{"startOffset":3834,"endOffset":4632,"count":0}],"isBlockCoverage":false},{"functionName":"filterPatterns","ranges":[{"startOffset":4634,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"zip","ranges":[{"startOffset":5120,"endOffset":5233,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":5235,"endOffset":5298,"count":0}],"isBlockCoverage":false},{"functionName":"contains","ranges":[{"startOffset":5300,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"countNines","ranges":[{"startOffset":5382,"endOffset":5478,"count":0}],"isBlockCoverage":false},{"functionName":"countZeros","ranges":[{"startOffset":5480,"endOffset":5571,"count":0}],"isBlockCoverage":false},{"functionName":"toQuantifier","ranges":[{"startOffset":5573,"endOffset":5741,"count":0}],"isBlockCoverage":false},{"functionName":"toCharacterClass","ranges":[{"startOffset":5743,"endOffset":5837,"count":0}],"isBlockCoverage":false},{"functionName":"hasPadding","ranges":[{"startOffset":5839,"endOffset":5899,"count":0}],"isBlockCoverage":false},{"functionName":"padZeros","ranges":[{"startOffset":5901,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"toRegexRange.clearCache","ranges":[{"startOffset":6382,"endOffset":6413,"count":0}],"isBlockCoverage":false}]},{"scriptId":"294","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-number/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":411,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":184,"endOffset":409,"count":0}],"isBlockCoverage":false}]},{"scriptId":"295","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/expand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2780,"count":1}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":143,"endOffset":810,"count":0}],"isBlockCoverage":false},{"functionName":"expand","ranges":[{"startOffset":828,"endOffset":2752,"count":0}],"isBlockCoverage":false}]},{"scriptId":"296","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6913,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":576,"endOffset":6886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"297","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"298","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":60,"count":1}],"isBlockCoverage":true}]},{"scriptId":"299","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/picomatch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9956,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":204,"endOffset":264,"count":18},{"startOffset":242,"endOffset":264,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch","ranges":[{"startOffset":1018,"endOffset":2836,"count":19},{"startOffset":1087,"endOffset":1365,"count":1},{"startOffset":1365,"endOffset":1400,"count":18},{"startOffset":1400,"endOffset":1414,"count":0},{"startOffset":1415,"endOffset":1428,"count":0},{"startOffset":1449,"endOffset":1490,"count":18},{"startOffset":1478,"endOffset":1489,"count":0},{"startOffset":1492,"endOffset":1567,"count":0},{"startOffset":1567,"endOffset":1597,"count":18},{"startOffset":1669,"endOffset":1705,"count":0},{"startOffset":1710,"endOffset":1756,"count":18},{"startOffset":1861,"endOffset":2015,"count":0},{"startOffset":2015,"endOffset":2783,"count":18},{"startOffset":2783,"endOffset":2815,"count":0},{"startOffset":2815,"endOffset":2835,"count":18}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1114,"endOffset":1161,"count":18}],"isBlockCoverage":true},{"functionName":"arrayMatcher","ranges":[{"startOffset":1189,"endOffset":1335,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnored","ranges":[{"startOffset":1829,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2035,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.test","ranges":[{"startOffset":3384,"endOffset":4185,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.matchBase","ranges":[{"startOffset":4600,"endOffset":4787,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.isMatch","ranges":[{"startOffset":5423,"endOffset":5484,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.parse","ranges":[{"startOffset":5894,"endOffset":6062,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.scan","ranges":[{"startOffset":6697,"endOffset":6737,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.compileRe","ranges":[{"startOffset":7228,"endOffset":7738,"count":18},{"startOffset":7322,"endOffset":7352,"count":0},{"startOffset":7377,"endOffset":7382,"count":0},{"startOffset":7416,"endOffset":7420,"count":0},{"startOffset":7459,"endOffset":7463,"count":0},{"startOffset":7568,"endOffset":7607,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch.makeRe","ranges":[{"startOffset":8611,"endOffset":9117,"count":18},{"startOffset":8724,"endOffset":8785,"count":0},{"startOffset":8895,"endOffset":8914,"count":8},{"startOffset":8917,"endOffset":8975,"count":12}],"isBlockCoverage":true},{"functionName":"picomatch.toRegex","ranges":[{"startOffset":9579,"endOffset":9807,"count":18},{"startOffset":9635,"endOffset":9640,"count":0},{"startOffset":9699,"endOffset":9704,"count":0},{"startOffset":9717,"endOffset":9805,"count":0}],"isBlockCoverage":true}]},{"scriptId":"300","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/scan.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9189,"count":1}],"isBlockCoverage":true},{"functionName":"isPathSeparator","ranges":[{"startOffset":665,"endOffset":746,"count":0}],"isBlockCoverage":false},{"functionName":"depth","ranges":[{"startOffset":763,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"scan","ranges":[{"startOffset":1512,"endOffset":9163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"301","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1885,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isObject","ranges":[{"startOffset":242,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"exports.hasRegexChars","ranges":[{"startOffset":337,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isRegexChar","ranges":[{"startOffset":397,"endOffset":450,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeRegex","ranges":[{"startOffset":474,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"exports.toPosixSlashes","ranges":[{"startOffset":555,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removeBackslashes","ranges":[{"startOffset":626,"endOffset":738,"count":0}],"isBlockCoverage":false},{"functionName":"exports.supportsLookbehinds","ranges":[{"startOffset":771,"endOffset":960,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isWindows","ranges":[{"startOffset":983,"endOffset":1132,"count":48},{"startOffset":1010,"endOffset":1049,"count":30},{"startOffset":1051,"endOffset":1084,"count":0}],"isBlockCoverage":true},{"functionName":"exports.escapeLast","ranges":[{"startOffset":1156,"endOffset":1401,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removePrefix","ranges":[{"startOffset":1427,"endOffset":1584,"count":30},{"startOffset":1505,"endOffset":1565,"count":0}],"isBlockCoverage":true},{"functionName":"exports.wrapOutput","ranges":[{"startOffset":1608,"endOffset":1883,"count":8},{"startOffset":1682,"endOffset":1686,"count":0},{"startOffset":1728,"endOffset":1732,"count":0},{"startOffset":1821,"endOffset":1864,"count":0}],"isBlockCoverage":true}]},{"scriptId":"302","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4448,"count":1}],"isBlockCoverage":true},{"functionName":"extglobChars","ranges":[{"startOffset":3985,"endOffset":4324,"count":18}],"isBlockCoverage":true},{"functionName":"globChars","ranges":[{"startOffset":4365,"endOffset":4444,"count":30},{"startOffset":4410,"endOffset":4425,"count":0}],"isBlockCoverage":true}]},{"scriptId":"303","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27763,"count":1}],"isBlockCoverage":true},{"functionName":"expandRange","ranges":[{"startOffset":287,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"syntaxError","ranges":[{"startOffset":713,"endOffset":819,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":950,"endOffset":25216,"count":18},{"startOffset":1005,"endOffset":1056,"count":0},{"startOffset":1179,"endOffset":1217,"count":0},{"startOffset":1276,"endOffset":1372,"count":0},{"startOffset":1500,"endOffset":1504,"count":0},{"startOffset":2109,"endOffset":2113,"count":0},{"startOffset":2154,"endOffset":2161,"count":0},{"startOffset":2210,"endOffset":2226,"count":0},{"startOffset":2256,"endOffset":2285,"count":0},{"startOffset":2357,"endOffset":2395,"count":0},{"startOffset":6907,"endOffset":8130,"count":8},{"startOffset":7704,"endOffset":7937,"count":0},{"startOffset":7964,"endOffset":7989,"count":3},{"startOffset":7991,"endOffset":8046,"count":0},{"startOffset":8130,"endOffset":8211,"count":10},{"startOffset":8211,"endOffset":24093,"count":55},{"startOffset":8265,"endOffset":8288,"count":0},{"startOffset":8357,"endOffset":9173,"count":0},{"startOffset":9319,"endOffset":9382,"count":0},{"startOffset":9384,"endOffset":10516,"count":0},{"startOffset":10659,"endOffset":10675,"count":0},{"startOffset":10677,"endOffset":10792,"count":0},{"startOffset":10855,"endOffset":11012,"count":0},{"startOffset":11073,"endOffset":11161,"count":0},{"startOffset":11186,"endOffset":11621,"count":0},{"startOffset":11686,"endOffset":12045,"count":0},{"startOffset":12070,"endOffset":13525,"count":0},{"startOffset":13580,"endOffset":13604,"count":0},{"startOffset":13606,"endOffset":13873,"count":0},{"startOffset":13898,"endOffset":15028,"count":0},{"startOffset":15083,"endOffset":15236,"count":0},{"startOffset":15292,"endOffset":15553,"count":0},{"startOffset":15610,"endOffset":16220,"count":9},{"startOffset":15901,"endOffset":15935,"count":0},{"startOffset":15937,"endOffset":16136,"count":0},{"startOffset":16220,"endOffset":16274,"count":46},{"startOffset":16274,"endOffset":16840,"count":5},{"startOffset":16303,"endOffset":16325,"count":0},{"startOffset":16327,"endOffset":16576,"count":0},{"startOffset":16647,"endOffset":16671,"count":0},{"startOffset":16673,"endOffset":16760,"count":0},{"startOffset":16840,"endOffset":16904,"count":41},{"startOffset":16904,"endOffset":17841,"count":0},{"startOffset":17841,"endOffset":17902,"count":41},{"startOffset":17902,"endOffset":18202,"count":0},{"startOffset":18202,"endOffset":18256,"count":41},{"startOffset":18256,"endOffset":18806,"count":0},{"startOffset":18806,"endOffset":18866,"count":41},{"startOffset":18866,"endOffset":19091,"count":0},{"startOffset":19091,"endOffset":19151,"count":41},{"startOffset":19151,"endOffset":19452,"count":10},{"startOffset":19195,"endOffset":19234,"count":0},{"startOffset":19452,"endOffset":19548,"count":31},{"startOffset":19550,"endOffset":19757,"count":0},{"startOffset":19757,"endOffset":19842,"count":31},{"startOffset":19844,"endOffset":19901,"count":0},{"startOffset":19901,"endOffset":19933,"count":31},{"startOffset":19933,"endOffset":23132,"count":11},{"startOffset":19971,"endOffset":20022,"count":0},{"startOffset":20133,"endOffset":20156,"count":2},{"startOffset":20189,"endOffset":20246,"count":9},{"startOffset":20278,"endOffset":20323,"count":0},{"startOffset":20325,"endOffset":20403,"count":0},{"startOffset":20444,"endOffset":20497,"count":0},{"startOffset":20539,"endOffset":20591,"count":0},{"startOffset":20612,"endOffset":20637,"count":0},{"startOffset":20638,"endOffset":20649,"count":0},{"startOffset":20650,"endOffset":20663,"count":0},{"startOffset":20665,"endOffset":20743,"count":0},{"startOffset":20820,"endOffset":20997,"count":0},{"startOffset":21030,"endOffset":21038,"count":2},{"startOffset":21040,"endOffset":21257,"count":0},{"startOffset":21292,"endOffset":21320,"count":9},{"startOffset":21321,"endOffset":21334,"count":9},{"startOffset":21335,"endOffset":21343,"count":9},{"startOffset":21345,"endOffset":21745,"count":0},{"startOffset":21780,"endOffset":21808,"count":9},{"startOffset":21809,"endOffset":21827,"count":9},{"startOffset":21829,"endOffset":22362,"count":9},{"startOffset":21877,"endOffset":21881,"count":0},{"startOffset":22362,"endOffset":22413,"count":2},{"startOffset":22415,"endOffset":22745,"count":2},{"startOffset":22745,"endOffset":23132,"count":0},{"startOffset":23132,"endOffset":23220,"count":20},{"startOffset":23220,"endOffset":23401,"count":0},{"startOffset":23401,"endOffset":23469,"count":20},{"startOffset":23470,"endOffset":23492,"count":0},{"startOffset":23494,"endOffset":23564,"count":0},{"startOffset":23564,"endOffset":23602,"count":20},{"startOffset":23602,"endOffset":23626,"count":18},{"startOffset":23627,"endOffset":23649,"count":0},{"startOffset":23651,"endOffset":24071,"count":20},{"startOffset":23684,"endOffset":23769,"count":0},{"startOffset":23798,"endOffset":23885,"count":0},{"startOffset":23989,"endOffset":24065,"count":9},{"startOffset":24071,"endOffset":24093,"count":20},{"startOffset":24093,"endOffset":24124,"count":10},{"startOffset":24124,"endOffset":24302,"count":0},{"startOffset":24302,"endOffset":24331,"count":10},{"startOffset":24331,"endOffset":24507,"count":0},{"startOffset":24507,"endOffset":24536,"count":10},{"startOffset":24536,"endOffset":24712,"count":0},{"startOffset":24712,"endOffset":24800,"count":10},{"startOffset":24773,"endOffset":24799,"count":1},{"startOffset":24802,"endOffset":24882,"count":9},{"startOffset":24882,"endOffset":24976,"count":10},{"startOffset":24976,"endOffset":25197,"count":0},{"startOffset":25197,"endOffset":25215,"count":10}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":1977,"endOffset":2081,"count":11},{"startOffset":2042,"endOffset":2054,"count":0}],"isBlockCoverage":true},{"functionName":"eos","ranges":[{"startOffset":2889,"endOffset":2918,"count":76}],"isBlockCoverage":true},{"functionName":"state.peek","ranges":[{"startOffset":2948,"endOffset":2981,"count":20}],"isBlockCoverage":true},{"functionName":"state.advance","ranges":[{"startOffset":3017,"endOffset":3049,"count":66},{"startOffset":3044,"endOffset":3049,"count":0}],"isBlockCoverage":true},{"functionName":"remaining","ranges":[{"startOffset":3071,"endOffset":3105,"count":41}],"isBlockCoverage":true},{"functionName":"consume","ranges":[{"startOffset":3125,"endOffset":3208,"count":75}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":3228,"endOffset":3339,"count":64},{"startOffset":3280,"endOffset":3294,"count":54},{"startOffset":3295,"endOffset":3308,"count":10}],"isBlockCoverage":true},{"functionName":"negate","ranges":[{"startOffset":3359,"endOffset":3635,"count":0}],"isBlockCoverage":false},{"functionName":"increment","ranges":[{"startOffset":3658,"endOffset":3712,"count":0}],"isBlockCoverage":false},{"functionName":"decrement","ranges":[{"startOffset":3735,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":4109,"endOffset":5036,"count":64},{"startOffset":4152,"endOffset":4644,"count":11},{"startOffset":4193,"endOffset":4242,"count":0},{"startOffset":4309,"endOffset":4357,"count":0},{"startOffset":4392,"endOffset":4415,"count":0},{"startOffset":4416,"endOffset":4427,"count":0},{"startOffset":4428,"endOffset":4441,"count":0},{"startOffset":4443,"endOffset":4638,"count":0},{"startOffset":4670,"endOffset":4693,"count":0},{"startOffset":4695,"endOffset":4758,"count":0},{"startOffset":4778,"endOffset":4791,"count":9},{"startOffset":4843,"endOffset":4865,"count":9},{"startOffset":4867,"endOffset":4972,"count":0}],"isBlockCoverage":true},{"functionName":"extglobOpen","ranges":[{"startOffset":5061,"endOffset":5492,"count":0}],"isBlockCoverage":false},{"functionName":"extglobClose","ranges":[{"startOffset":5518,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6999,"endOffset":7670,"count":6},{"startOffset":7066,"endOffset":7121,"count":0},{"startOffset":7148,"endOffset":7409,"count":0},{"startOffset":7436,"endOffset":7494,"count":5},{"startOffset":7494,"endOffset":7521,"count":1},{"startOffset":7521,"endOffset":7631,"count":0},{"startOffset":7631,"endOffset":7649,"count":1},{"startOffset":7649,"endOffset":7652,"count":0},{"startOffset":7653,"endOffset":7663,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7841,"endOffset":7921,"count":0}],"isBlockCoverage":false},{"functionName":"parse.fastpaths","ranges":[{"startOffset":25439,"endOffset":27736,"count":12},{"startOffset":25541,"endOffset":25579,"count":0},{"startOffset":25639,"endOffset":25735,"count":0},{"startOffset":26089,"endOffset":26098,"count":0},{"startOffset":26137,"endOffset":26152,"count":0},{"startOffset":26194,"endOffset":26198,"count":0},{"startOffset":26287,"endOffset":26294,"count":0},{"startOffset":26324,"endOffset":26353,"count":0},{"startOffset":27644,"endOffset":27674,"count":0},{"startOffset":27676,"endOffset":27716,"count":0}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":26374,"endOffset":26525,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":26545,"endOffset":27545,"count":16},{"startOffset":26579,"endOffset":26633,"count":0},{"startOffset":26641,"endOffset":26702,"count":0},{"startOffset":26710,"endOffset":26787,"count":0},{"startOffset":26795,"endOffset":26885,"count":0},{"startOffset":26893,"endOffset":26942,"count":0},{"startOffset":26950,"endOffset":27056,"count":0},{"startOffset":27064,"endOffset":27193,"count":0},{"startOffset":27201,"endOffset":27311,"count":0},{"startOffset":27400,"endOffset":27407,"count":12},{"startOffset":27407,"endOffset":27478,"count":4},{"startOffset":27478,"endOffset":27535,"count":0}],"isBlockCoverage":true}]},{"scriptId":"304","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":629,"count":1}],"isBlockCoverage":true},{"functionName":"merge","ranges":[{"startOffset":135,"endOffset":499,"count":0}],"isBlockCoverage":false},{"functionName":"propagateCloseEventToSources","ranges":[{"startOffset":523,"endOffset":628,"count":0}],"isBlockCoverage":false}]},{"scriptId":"305","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":298,"count":1}],"isBlockCoverage":true},{"functionName":"isString","ranges":[{"startOffset":122,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"isEmpty","ranges":[{"startOffset":218,"endOffset":270,"count":0}],"isBlockCoverage":false}]},{"scriptId":"306","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":814,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderAsync","ranges":[{"startOffset":217,"endOffset":327,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":332,"endOffset":587,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":592,"endOffset":778,"count":0}],"isBlockCoverage":false}]},{"scriptId":"307","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1213,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderAsync","ranges":[{"startOffset":246,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":407,"endOffset":750,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":755,"endOffset":1179,"count":0}],"isBlockCoverage":false}]},{"scriptId":"308","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"walk","ranges":[{"startOffset":378,"endOffset":710,"count":0}],"isBlockCoverage":false},{"functionName":"walkSync","ranges":[{"startOffset":732,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"walkStream","ranges":[{"startOffset":956,"endOffset":1154,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":1188,"endOffset":1389,"count":0}],"isBlockCoverage":false}]},{"scriptId":"309","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":895,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncProvider","ranges":[{"startOffset":148,"endOffset":349,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":354,"endOffset":707,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":743,"endOffset":813,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":814,"endOffset":894,"count":0}],"isBlockCoverage":false}]},{"scriptId":"310","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3157,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncReader","ranges":[{"startOffset":318,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":821,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"get isDestroyed","ranges":[{"startOffset":1050,"endOffset":1109,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":1114,"endOffset":1308,"count":0}],"isBlockCoverage":false},{"functionName":"onEntry","ranges":[{"startOffset":1313,"endOffset":1383,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":1388,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"onEnd","ranges":[{"startOffset":1465,"endOffset":1533,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":1538,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_worker","ranges":[{"startOffset":1778,"endOffset":2168,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":2173,"endOffset":2423,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":2428,"endOffset":3049,"count":0}],"isBlockCoverage":false},{"functionName":"_emitEntry","ranges":[{"startOffset":3054,"endOffset":3123,"count":0}],"isBlockCoverage":false}]},{"scriptId":"311","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1009,"count":1}],"isBlockCoverage":true},{"functionName":"scandir","ranges":[{"startOffset":311,"endOffset":603,"count":0}],"isBlockCoverage":false},{"functionName":"scandirSync","ranges":[{"startOffset":631,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":807,"endOffset":1008,"count":0}],"isBlockCoverage":false}]},{"scriptId":"312","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3686,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":346,"endOffset":598,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":620,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"makeRplTaskEntry","ranges":[{"startOffset":1625,"endOffset":2247,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":2248,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":3536,"endOffset":3606,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":3607,"endOffset":3685,"count":0}],"isBlockCoverage":false}]},{"scriptId":"313","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"stat","ranges":[{"startOffset":305,"endOffset":594,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":616,"endOffset":753,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":783,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"314","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":1000,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":1022,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":1093,"endOffset":1171,"count":0}],"isBlockCoverage":false}]},{"scriptId":"315","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":619,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"316","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":696,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":135,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":563,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"317","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":305,"endOffset":522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"318","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/run-parallel/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1034,"count":1}],"isBlockCoverage":true},{"functionName":"runParallel","ranges":[{"startOffset":167,"endOffset":1033,"count":0}],"isBlockCoverage":false}]},{"scriptId":"319","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/queue-microtask/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":402,"count":1},{"startOffset":210,"endOffset":218,"count":0},{"startOffset":283,"endOffset":401,"count":0}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":285,"endOffset":401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"320","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":990,"count":1},{"startOffset":295,"endOffset":424,"count":0},{"startOffset":794,"endOffset":837,"count":0},{"startOffset":956,"endOffset":988,"count":0}],"isBlockCoverage":true}]},{"scriptId":"321","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":143,"count":1}],"isBlockCoverage":true}]},{"scriptId":"322","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"323","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":419,"count":1}],"isBlockCoverage":true},{"functionName":"joinPathSegments","ranges":[{"startOffset":112,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"324","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1990,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":309,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":551,"endOffset":1357,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":1411,"endOffset":1962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"325","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1076,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":209,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":943,"endOffset":1045,"count":0}],"isBlockCoverage":false}]},{"scriptId":"326","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":640,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":363,"endOffset":580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"327","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fastq/queue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5617,"count":1}],"isBlockCoverage":true},{"functionName":"fastqueue","ranges":[{"startOffset":77,"endOffset":3391,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":3393,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"Task","ranges":[{"startOffset":3414,"endOffset":3917,"count":0}],"isBlockCoverage":false},{"functionName":"queueAsPromised","ranges":[{"startOffset":3919,"endOffset":5547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"328","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/reusify/reusify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"reusify","ranges":[{"startOffset":14,"endOffset":427,"count":0}],"isBlockCoverage":false}]},{"scriptId":"329","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1052,"count":1}],"isBlockCoverage":true},{"functionName":"isFatalError","ranges":[{"startOffset":199,"endOffset":350,"count":0}],"isBlockCoverage":false},{"functionName":"isAppliedFilter","ranges":[{"startOffset":388,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"replacePathSegmentSeparator","ranges":[{"startOffset":520,"endOffset":633,"count":0}],"isBlockCoverage":false},{"functionName":"joinPathSegments","ranges":[{"startOffset":701,"endOffset":1006,"count":0}],"isBlockCoverage":false}]},{"scriptId":"330","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":358,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":132,"endOffset":329,"count":0}],"isBlockCoverage":false}]},{"scriptId":"331","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1021,"count":1}],"isBlockCoverage":true},{"functionName":"StreamProvider","ranges":[{"startOffset":185,"endOffset":630,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":635,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"332","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":407,"count":1}],"isBlockCoverage":true},{"functionName":"SyncProvider","ranges":[{"startOffset":145,"endOffset":317,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":322,"endOffset":372,"count":0}],"isBlockCoverage":false}]},{"scriptId":"333","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1911,"count":1}],"isBlockCoverage":true},{"functionName":"SyncReader","ranges":[{"startOffset":249,"endOffset":407,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":412,"endOffset":549,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":554,"endOffset":637,"count":0}],"isBlockCoverage":false},{"functionName":"_handleQueue","ranges":[{"startOffset":642,"endOffset":787,"count":0}],"isBlockCoverage":false},{"functionName":"_handleDirectory","ranges":[{"startOffset":792,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":1127,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":1269,"endOffset":1809,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToStorage","ranges":[{"startOffset":1814,"endOffset":1878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"334","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1250,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":178,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":1117,"endOffset":1219,"count":0}],"isBlockCoverage":false}]},{"scriptId":"335","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1063,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":205,"endOffset":518,"count":0}],"isBlockCoverage":false},{"functionName":"_getFullEntryPath","ranges":[{"startOffset":523,"endOffset":617,"count":0}],"isBlockCoverage":false},{"functionName":"_makeEntry","ranges":[{"startOffset":622,"endOffset":913,"count":0}],"isBlockCoverage":false},{"functionName":"_isFatalError","ranges":[{"startOffset":918,"endOffset":1034,"count":0}],"isBlockCoverage":false}]},{"scriptId":"336","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1870,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderStream","ranges":[{"startOffset":289,"endOffset":419,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":424,"endOffset":502,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":513,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":1275,"endOffset":1579,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1584,"endOffset":1835,"count":0}],"isBlockCoverage":false}]},{"scriptId":"337","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/provider.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2000,"count":1}],"isBlockCoverage":true},{"functionName":"Provider","ranges":[{"startOffset":307,"endOffset":692,"count":0}],"isBlockCoverage":false},{"functionName":"_getRootDirectory","ranges":[{"startOffset":697,"endOffset":788,"count":0}],"isBlockCoverage":false},{"functionName":"_getReaderOptions","ranges":[{"startOffset":793,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"_getMicromatchOptions","ranges":[{"startOffset":1559,"endOffset":1969,"count":0}],"isBlockCoverage":false}]},{"scriptId":"338","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/deep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2466,"count":1}],"isBlockCoverage":true},{"functionName":"DeepFilter","ranges":[{"startOffset":188,"endOffset":328,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":333,"endOffset":576,"count":0}],"isBlockCoverage":false},{"functionName":"_getMatcher","ranges":[{"startOffset":581,"endOffset":699,"count":0}],"isBlockCoverage":false},{"functionName":"_getNegativePatternsRe","ranges":[{"startOffset":704,"endOffset":956,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":961,"endOffset":1444,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByDeep","ranges":[{"startOffset":1449,"endOffset":1754,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntryLevel","ranges":[{"startOffset":1759,"endOffset":2043,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedSymbolicLink","ranges":[{"startOffset":2048,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByPositivePatterns","ranges":[{"startOffset":2175,"endOffset":2306,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByNegativePatterns","ranges":[{"startOffset":2311,"endOffset":2433,"count":0}],"isBlockCoverage":false}]},{"scriptId":"339","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/partial.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1421,"count":1}],"isBlockCoverage":true},{"functionName":"match","ranges":[{"startOffset":170,"endOffset":1384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"340","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1568,"count":1}],"isBlockCoverage":true},{"functionName":"Matcher","ranges":[{"startOffset":135,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"_fillStorage","ranges":[{"startOffset":384,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"_getPatternSegments","ranges":[{"startOffset":778,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"_splitSegmentsIntoSections","ranges":[{"startOffset":1370,"endOffset":1538,"count":0}],"isBlockCoverage":false}]},{"scriptId":"341","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2686,"count":1}],"isBlockCoverage":true},{"functionName":"EntryFilter","ranges":[{"startOffset":139,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":316,"endOffset":667,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":672,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"_isDuplicateEntry","ranges":[{"startOffset":1473,"endOffset":1549,"count":0}],"isBlockCoverage":false},{"functionName":"_createIndexRecord","ranges":[{"startOffset":1554,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyFileFilter","ranges":[{"startOffset":1640,"endOffset":1737,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyDirectoryFilter","ranges":[{"startOffset":1742,"endOffset":1855,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByAbsoluteNegativePatterns","ranges":[{"startOffset":1860,"endOffset":2145,"count":0}],"isBlockCoverage":false},{"functionName":"_isMatchToPatterns","ranges":[{"startOffset":2150,"endOffset":2652,"count":0}],"isBlockCoverage":false}]},{"scriptId":"342","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"ErrorFilter","ranges":[{"startOffset":139,"endOffset":205,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":210,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"_isNonFatalError","ranges":[{"startOffset":290,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"343","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/transformers/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":845,"count":1}],"isBlockCoverage":true},{"functionName":"EntryTransformer","ranges":[{"startOffset":144,"endOffset":210,"count":0}],"isBlockCoverage":false},{"functionName":"getTransformer","ranges":[{"startOffset":215,"endOffset":289,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":294,"endOffset":806,"count":0}],"isBlockCoverage":false}]},{"scriptId":"344","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1198,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderStream","ranges":[{"startOffset":256,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":372,"endOffset":970,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":975,"endOffset":1161,"count":0}],"isBlockCoverage":false}]},{"scriptId":"345","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":779,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderSync","ranges":[{"startOffset":214,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":328,"endOffset":553,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":558,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"346","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1330,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderSync","ranges":[{"startOffset":251,"endOffset":385,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":390,"endOffset":466,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":477,"endOffset":878,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":883,"endOffset":1203,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1208,"endOffset":1297,"count":0}],"isBlockCoverage":false}]},{"scriptId":"347","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2849,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":645,"endOffset":2584,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":2589,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"_getFileSystemMethods","ranges":[{"startOffset":2680,"endOffset":2818,"count":0}],"isBlockCoverage":false}]},{"scriptId":"348","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/dir-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2304,"count":1}],"isBlockCoverage":true},{"functionName":"getExtensions","ranges":[{"startOffset":106,"endOffset":187,"count":0}],"isBlockCoverage":false},{"functionName":"getPath","ranges":[{"startOffset":206,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"addExtensions","ranges":[{"startOffset":376,"endOffset":506,"count":0}],"isBlockCoverage":false},{"functionName":"getGlob","ranges":[{"startOffset":525,"endOffset":1324,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1344,"endOffset":1852,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.sync","ranges":[{"startOffset":1877,"endOffset":2302,"count":0}],"isBlockCoverage":false}]},{"scriptId":"349","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-type/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":true},{"functionName":"isType","ranges":[{"startOffset":78,"endOffset":444,"count":0}],"isBlockCoverage":false},{"functionName":"isTypeSync","ranges":[{"startOffset":446,"endOffset":770,"count":0}],"isBlockCoverage":false}]},{"scriptId":"350","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16073,"count":1},{"startOffset":15630,"endOffset":16072,"count":0}],"isBlockCoverage":true},{"functionName":"makeArray","ranges":[{"startOffset":41,"endOffset":135,"count":0}],"isBlockCoverage":false},{"functionName":"define","ranges":[{"startOffset":813,"endOffset":882,"count":0}],"isBlockCoverage":false},{"functionName":"RETURN_FALSE","ranges":[{"startOffset":952,"endOffset":963,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeRange","ranges":[{"startOffset":1090,"endOffset":1362,"count":0}],"isBlockCoverage":false},{"functionName":"cleanRangeBackSlash","ranges":[{"startOffset":1412,"endOffset":1500,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2321,"endOffset":2383,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2438,"endOffset":2449,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3104,"endOffset":3125,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3213,"endOffset":3225,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3477,"endOffset":3486,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3577,"endOffset":3588,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4009,"endOffset":4028,"count":0}],"isBlockCoverage":false},{"functionName":"startingReplacer","ranges":[{"startOffset":4250,"endOffset":5144,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5442,"endOffset":5912,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":6273,"endOffset":6593,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6787,"endOffset":6799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6849,"endOffset":6861,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7539,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":8102,"endOffset":8250,"count":0}],"isBlockCoverage":false},{"functionName":"REPLACERS","ranges":[{"startOffset":8311,"endOffset":8645,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegex","ranges":[{"startOffset":8808,"endOffset":9130,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":9149,"endOffset":9187,"count":0}],"isBlockCoverage":false},{"functionName":"checkPattern","ranges":[{"startOffset":9294,"endOffset":9514,"count":0}],"isBlockCoverage":false},{"functionName":"splitPattern","ranges":[{"startOffset":9537,"endOffset":9582,"count":0}],"isBlockCoverage":false},{"functionName":"IgnoreRule","ranges":[{"startOffset":9605,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"createRule","ranges":[{"startOffset":9804,"endOffset":10534,"count":0}],"isBlockCoverage":false},{"functionName":"throwError","ranges":[{"startOffset":10555,"endOffset":10603,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath","ranges":[{"startOffset":10623,"endOffset":11159,"count":0}],"isBlockCoverage":false},{"functionName":"isNotRelative","ranges":[{"startOffset":11183,"endOffset":11225,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.convert","ranges":[{"startOffset":11287,"endOffset":11293,"count":0}],"isBlockCoverage":false},{"functionName":"Ignore","ranges":[{"startOffset":11312,"endOffset":11588,"count":0}],"isBlockCoverage":false},{"functionName":"_initCache","ranges":[{"startOffset":11592,"endOffset":11697,"count":0}],"isBlockCoverage":false},{"functionName":"_addPattern","ranges":[{"startOffset":11701,"endOffset":12031,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":12089,"endOffset":12416,"count":0}],"isBlockCoverage":false},{"functionName":"addPattern","ranges":[{"startOffset":12432,"endOffset":12487,"count":0}],"isBlockCoverage":false},{"functionName":"_testOne","ranges":[{"startOffset":13081,"endOffset":13588,"count":0}],"isBlockCoverage":false},{"functionName":"_test","ranges":[{"startOffset":13619,"endOffset":13965,"count":0}],"isBlockCoverage":false},{"functionName":"_t","ranges":[{"startOffset":13969,"endOffset":14755,"count":0}],"isBlockCoverage":false},{"functionName":"ignores","ranges":[{"startOffset":14759,"endOffset":14841,"count":0}],"isBlockCoverage":false},{"functionName":"createFilter","ranges":[{"startOffset":14845,"endOffset":14905,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":14909,"endOffset":14985,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":15016,"endOffset":15084,"count":0}],"isBlockCoverage":false},{"functionName":"factory","ranges":[{"startOffset":15104,"endOffset":15134,"count":0}],"isBlockCoverage":false},{"functionName":"isPathValid","ranges":[{"startOffset":15156,"endOffset":15228,"count":0}],"isBlockCoverage":false},{"functionName":"makePosix","ranges":[{"startOffset":15691,"endOffset":15798,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.isNotRelative","ranges":[{"startOffset":15990,"endOffset":16070,"count":0}],"isBlockCoverage":false}]},{"scriptId":"351","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/glob-helpers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4053,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":547,"endOffset":575,"count":9}],"isBlockCoverage":true},{"functionName":"processMatchingPatterns","ranges":[{"startOffset":724,"endOffset":1373,"count":0}],"isBlockCoverage":false},{"functionName":"matchesIgnorePatterns","ranges":[{"startOffset":1466,"endOffset":1608,"count":0}],"isBlockCoverage":false},{"functionName":"classify","ranges":[{"startOffset":1611,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"hasExtension","ranges":[{"startOffset":2008,"endOffset":2078,"count":0}],"isBlockCoverage":false},{"functionName":"isHelperish","ranges":[{"startOffset":2119,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"matches","ranges":[{"startOffset":2778,"endOffset":2887,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFileForMatching","ranges":[{"startOffset":2917,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePattern","ranges":[{"startOffset":3459,"endOffset":3856,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePatterns","ranges":[{"startOffset":3904,"endOffset":4004,"count":0}],"isBlockCoverage":false}]},{"scriptId":"352","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore-by-default/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":816,"count":1}],"isBlockCoverage":true},{"functionName":"exports.directories","ranges":[{"startOffset":36,"endOffset":815,"count":1}],"isBlockCoverage":true}]},{"scriptId":"353","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/slash.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":1199,"endOffset":1364,"count":0}],"isBlockCoverage":false}]},{"scriptId":"354","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/pkg.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":59,"count":1}],"isBlockCoverage":true}]},{"scriptId":"355","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/clean-yaml-object/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2176,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":129,"count":0}],"isBlockCoverage":false},{"functionName":"cleanYamlObj","ranges":[{"startOffset":132,"endOffset":1901,"count":0}],"isBlockCoverage":false},{"functionName":"setProp","ranges":[{"startOffset":1903,"endOffset":2131,"count":0}],"isBlockCoverage":false},{"functionName":"defaultFilter","ranges":[{"startOffset":2133,"endOffset":2175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"356","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":578,"count":1}],"isBlockCoverage":true}]},{"scriptId":"357","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3379,"count":1}],"isBlockCoverage":true},{"functionName":"shortcircuitPrimitive","ranges":[{"startOffset":408,"endOffset":728,"count":20},{"startOffset":531,"endOffset":542,"count":0},{"startOffset":618,"endOffset":629,"count":0},{"startOffset":690,"endOffset":710,"count":0}],"isBlockCoverage":true},{"functionName":"compareDescriptors","ranges":[{"startOffset":730,"endOffset":2814,"count":10},{"startOffset":916,"endOffset":2775,"count":68},{"startOffset":963,"endOffset":1070,"count":0},{"startOffset":1102,"endOffset":1132,"count":0},{"startOffset":1207,"endOffset":1219,"count":0},{"startOffset":1251,"endOffset":2308,"count":10},{"startOffset":1301,"endOffset":1313,"count":0},{"startOffset":1346,"endOffset":1372,"count":0},{"startOffset":1374,"endOffset":2089,"count":0},{"startOffset":2445,"endOffset":2460,"count":58},{"startOffset":2462,"endOffset":2485,"count":58},{"startOffset":2485,"endOffset":2525,"count":10},{"startOffset":2527,"endOffset":2729,"count":10},{"startOffset":2729,"endOffset":2765,"count":0}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":2864,"endOffset":3352,"count":10},{"startOffset":2946,"endOffset":2967,"count":0},{"startOffset":3161,"endOffset":3183,"count":0}],"isBlockCoverage":true}]},{"scriptId":"358","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Circular.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":785,"count":1}],"isBlockCoverage":true},{"functionName":"Circular","ranges":[{"startOffset":33,"endOffset":80,"count":20}],"isBlockCoverage":true},{"functionName":"add","ranges":[{"startOffset":84,"endOffset":361,"count":20},{"startOffset":139,"endOffset":174,"count":0}],"isBlockCoverage":true},{"functionName":"delete","ranges":[{"startOffset":365,"endOffset":583,"count":20},{"startOffset":483,"endOffset":521,"count":0}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":587,"endOffset":647,"count":136}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":651,"endOffset":756,"count":0}],"isBlockCoverage":false}]},{"scriptId":"359","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":249,"count":1}],"isBlockCoverage":true}]},{"scriptId":"360","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/describe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5965,"count":1}],"isBlockCoverage":true},{"functionName":"describePrimitive","ranges":[{"startOffset":2448,"endOffset":2957,"count":116},{"startOffset":2507,"endOffset":2534,"count":0},{"startOffset":2562,"endOffset":2594,"count":0},{"startOffset":2636,"endOffset":2671,"count":0},{"startOffset":2726,"endOffset":2760,"count":0},{"startOffset":2786,"endOffset":2820,"count":0},{"startOffset":2846,"endOffset":2880,"count":96},{"startOffset":2880,"endOffset":2906,"count":20},{"startOffset":2906,"endOffset":2940,"count":0},{"startOffset":2940,"endOffset":2956,"count":20}],"isBlockCoverage":true},{"functionName":"unboxComplex","ranges":[{"startOffset":2959,"endOffset":3324,"count":20},{"startOffset":3272,"endOffset":3303,"count":0}],"isBlockCoverage":true},{"functionName":"registerPlugins","ranges":[{"startOffset":3326,"endOffset":3726,"count":20},{"startOffset":3393,"endOffset":3416,"count":0},{"startOffset":3435,"endOffset":3725,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3425,"endOffset":3435,"count":20}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3508,"endOffset":3724,"count":0}],"isBlockCoverage":false},{"functionName":"describeComplex","ranges":[{"startOffset":3728,"endOffset":4699,"count":20},{"startOffset":3875,"endOffset":3901,"count":0},{"startOffset":4173,"endOffset":4238,"count":0},{"startOffset":4321,"endOffset":4374,"count":0}],"isBlockCoverage":true},{"functionName":"describeItem","ranges":[{"startOffset":4722,"endOffset":4923,"count":96},{"startOffset":4865,"endOffset":4921,"count":0}],"isBlockCoverage":true},{"functionName":"describeMapEntry","ranges":[{"startOffset":4950,"endOffset":5058,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":5060,"endOffset":5938,"count":20},{"startOffset":5168,"endOffset":5184,"count":0}],"isBlockCoverage":true},{"functionName":"curriedComplex","ranges":[{"startOffset":5310,"endOffset":5435,"count":20}],"isBlockCoverage":true},{"functionName":"describeAny","ranges":[{"startOffset":5459,"endOffset":5595,"count":96},{"startOffset":5570,"endOffset":5591,"count":0}],"isBlockCoverage":true},{"functionName":"describeProperty","ranges":[{"startOffset":5624,"endOffset":5904,"count":0}],"isBlockCoverage":false}]},{"scriptId":"361","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Registry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"Registry","ranges":[{"startOffset":33,"endOffset":103,"count":20}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":107,"endOffset":155,"count":20}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":159,"endOffset":218,"count":0}],"isBlockCoverage":false},{"functionName":"alloc","ranges":[{"startOffset":222,"endOffset":374,"count":20}],"isBlockCoverage":true}]},{"scriptId":"362","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":409,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":652,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1160,"endOffset":1382,"count":0}],"isBlockCoverage":false}]},{"scriptId":"363","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7185,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":436,"endOffset":713,"count":20},{"startOffset":677,"endOffset":697,"count":0}],"isBlockCoverage":true},{"functionName":"deserialize","ranges":[{"startOffset":743,"endOffset":839,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectValue","ranges":[{"startOffset":950,"endOffset":1203,"count":20}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":1207,"endOffset":1399,"count":10},{"startOffset":1263,"endOffset":1277,"count":0},{"startOffset":1356,"endOffset":1370,"count":0}],"isBlockCoverage":true},{"functionName":"hasSameCtor","ranges":[{"startOffset":1403,"endOffset":1470,"count":10}],"isBlockCoverage":true},{"functionName":"formatShallow","ranges":[{"startOffset":1474,"endOffset":1561,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1565,"endOffset":1699,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":2001,"endOffset":6371,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2068,"endOffset":2433,"count":20}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":2439,"endOffset":2563,"count":10},{"startOffset":2511,"endOffset":2523,"count":0}],"isBlockCoverage":true},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2569,"endOffset":3030,"count":20},{"startOffset":2680,"endOffset":2683,"count":0},{"startOffset":2776,"endOffset":3029,"count":0}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":2817,"endOffset":2995,"count":0}],"isBlockCoverage":false},{"functionName":"createListRecursor","ranges":[{"startOffset":3036,"endOffset":3472,"count":20},{"startOffset":3084,"endOffset":3118,"count":0},{"startOffset":3179,"endOffset":3213,"count":0}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":3254,"endOffset":3437,"count":116},{"startOffset":3290,"endOffset":3301,"count":20},{"startOffset":3301,"endOffset":3436,"count":96}],"isBlockCoverage":true},{"functionName":"createIterableRecursor","ranges":[{"startOffset":3478,"endOffset":4494,"count":20},{"startOffset":3529,"endOffset":3548,"count":0},{"startOffset":3584,"endOffset":4493,"count":0}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":3917,"endOffset":4459,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":4500,"endOffset":6365,"count":20}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4661,"endOffset":6359,"count":136},{"startOffset":4706,"endOffset":6283,"count":176},{"startOffset":4741,"endOffset":4870,"count":156},{"startOffset":4813,"endOffset":4858,"count":60},{"startOffset":4907,"endOffset":4967,"count":80},{"startOffset":4925,"endOffset":4945,"count":60},{"startOffset":4946,"endOffset":4966,"count":40},{"startOffset":4969,"endOffset":6273,"count":60},{"startOffset":5044,"endOffset":5417,"count":20},{"startOffset":5417,"endOffset":6261,"count":40},{"startOffset":5446,"endOffset":5839,"count":20},{"startOffset":5742,"endOffset":5825,"count":0},{"startOffset":5839,"endOffset":6261,"count":20},{"startOffset":6164,"endOffset":6247,"count":0},{"startOffset":6309,"endOffset":6327,"count":156}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5112,"endOffset":5143,"count":20}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5518,"endOffset":5553,"count":20}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5940,"endOffset":5975,"count":20}],"isBlockCoverage":true},{"functionName":"DeserializedMixin","ranges":[{"startOffset":6413,"endOffset":7138,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6483,"endOffset":6780,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":6786,"endOffset":7055,"count":0}],"isBlockCoverage":false},{"functionName":"hasSameCtor","ranges":[{"startOffset":7061,"endOffset":7132,"count":0}],"isBlockCoverage":false}]},{"scriptId":"364","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/formatUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3260,"count":1}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":60,"endOffset":146,"count":0}],"isBlockCoverage":false},{"functionName":"formatCtorAndStringTag","ranges":[{"startOffset":168,"endOffset":537,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectFormatter","ranges":[{"startOffset":621,"endOffset":840,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":844,"endOffset":1189,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":1193,"endOffset":1873,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":1877,"endOffset":2161,"count":0}],"isBlockCoverage":false},{"functionName":"shouldFormat","ranges":[{"startOffset":2165,"endOffset":2202,"count":0}],"isBlockCoverage":false},{"functionName":"customize","ranges":[{"startOffset":2206,"endOffset":2502,"count":0}],"isBlockCoverage":false},{"functionName":"SingleValueFormatter","ranges":[{"startOffset":2579,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2790,"endOffset":2961,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":2965,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":3120,"endOffset":3205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"365","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/lineBuilder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7155,"count":1}],"isBlockCoverage":true},{"functionName":"translateGutter","ranges":[{"startOffset":123,"endOffset":485,"count":0}],"isBlockCoverage":false},{"functionName":"Line","ranges":[{"startOffset":502,"endOffset":670,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":674,"endOffset":717,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":721,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":762,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":820,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":884,"endOffset":934,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":938,"endOffset":1027,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":1031,"endOffset":1202,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":1206,"endOffset":1479,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":1483,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":1634,"endOffset":1783,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":1787,"endOffset":1871,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":1875,"endOffset":1960,"count":0}],"isBlockCoverage":false},{"functionName":"Collection","ranges":[{"startOffset":2050,"endOffset":2091,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2095,"endOffset":2217,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":2221,"endOffset":2277,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":2281,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":2399,"endOffset":2526,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2530,"endOffset":2632,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":2636,"endOffset":2725,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2729,"endOffset":3536,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":3540,"endOffset":4287,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":4291,"endOffset":4423,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":4427,"endOffset":4561,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":4565,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":4675,"endOffset":5381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":5462,"endOffset":5708,"count":0}],"isBlockCoverage":false},{"functionName":"buffer","ranges":[{"startOffset":5731,"endOffset":5774,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":5779,"endOffset":5856,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":5861,"endOffset":5937,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":5942,"endOffset":6019,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6024,"endOffset":6101,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6106,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6194,"endOffset":6277,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6284,"endOffset":6366,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6373,"endOffset":6456,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6463,"endOffset":6546,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6553,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6678,"endOffset":6763,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6770,"endOffset":6854,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6861,"endOffset":6946,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6953,"endOffset":7038,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":7045,"endOffset":7146,"count":0}],"isBlockCoverage":false}]},{"scriptId":"366","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getObjectKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":964,"count":1}],"isBlockCoverage":true},{"functionName":"getObjectKeys","ranges":[{"startOffset":14,"endOffset":932,"count":20},{"startOffset":430,"endOffset":756,"count":116},{"startOffset":578,"endOffset":590,"count":96},{"startOffset":591,"endOffset":638,"count":96},{"startOffset":661,"endOffset":717,"count":20},{"startOffset":719,"endOffset":752,"count":0},{"startOffset":799,"endOffset":905,"count":0}],"isBlockCoverage":true}]},{"scriptId":"367","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/hasLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":303,"count":1}],"isBlockCoverage":true},{"functionName":"hasLength","ranges":[{"startOffset":104,"endOffset":275,"count":0}],"isBlockCoverage":false}]},{"scriptId":"368","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":802,"count":1}],"isBlockCoverage":true},{"functionName":"isLength","ranges":[{"startOffset":645,"endOffset":773,"count":0}],"isBlockCoverage":false}]},{"scriptId":"369","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/stats.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3836,"count":1}],"isBlockCoverage":true},{"functionName":"describeIterableRecursor","ranges":[{"startOffset":228,"endOffset":318,"count":0}],"isBlockCoverage":false},{"functionName":"describeListRecursor","ranges":[{"startOffset":380,"endOffset":462,"count":20}],"isBlockCoverage":true},{"functionName":"describePropertyRecursor","ranges":[{"startOffset":516,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeIterableStats","ranges":[{"startOffset":668,"endOffset":745,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeListStats","ranges":[{"startOffset":807,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePropertyStats","ranges":[{"startOffset":930,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":1306,"endOffset":1351,"count":20}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":1355,"endOffset":1432,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1436,"endOffset":2989,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2993,"endOffset":3032,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3141,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3387,"endOffset":3513,"count":10},{"startOffset":3500,"endOffset":3509,"count":0}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":3625,"endOffset":3755,"count":0}],"isBlockCoverage":false}]},{"scriptId":"370","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/recursorUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2251,"count":1}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":51,"endOffset":74,"count":40}],"isBlockCoverage":true},{"functionName":"fork","ranges":[{"startOffset":117,"endOffset":396,"count":0}],"isBlockCoverage":false},{"functionName":"consumeDeep","ranges":[{"startOffset":418,"endOffset":732,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":768,"endOffset":910,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":930,"endOffset":1606,"count":60},{"startOffset":1046,"endOffset":1076,"count":40},{"startOffset":1076,"endOffset":1179,"count":20},{"startOffset":1216,"endOffset":1249,"count":40},{"startOffset":1249,"endOffset":1605,"count":20}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":1301,"endOffset":1546,"count":116},{"startOffset":1323,"endOffset":1334,"count":0},{"startOffset":1499,"endOffset":1524,"count":20}],"isBlockCoverage":true},{"functionName":"sequence","ranges":[{"startOffset":1632,"endOffset":1850,"count":0}],"isBlockCoverage":false},{"functionName":"singleValue","ranges":[{"startOffset":1880,"endOffset":2012,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":2048,"endOffset":2224,"count":0}],"isBlockCoverage":false}]},{"scriptId":"371","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":970,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":313,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":343,"endOffset":444,"count":0}],"isBlockCoverage":false}]},{"scriptId":"372","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/typedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4439,"count":1}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":382,"endOffset":596,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":628,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":910,"endOffset":1010,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeBytes","ranges":[{"startOffset":1046,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"Bytes","ranges":[{"startOffset":1292,"endOffset":1343,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1347,"endOffset":1482,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1486,"endOffset":2297,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2301,"endOffset":2342,"count":0}],"isBlockCoverage":false},{"functionName":"TypedArrayValue","ranges":[{"startOffset":2466,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":2543,"endOffset":2931,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":3049,"endOffset":3869,"count":3}],"isBlockCoverage":true},{"functionName":"createListRecursor","ranges":[{"startOffset":3237,"endOffset":3307,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":3313,"endOffset":3749,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":3755,"endOffset":3863,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMixin","ranges":[{"startOffset":3977,"endOffset":4320,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4073,"endOffset":4314,"count":0}],"isBlockCoverage":false}]},{"scriptId":"373","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/boxed.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1292,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":264,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedBoxedValue","ranges":[{"startOffset":634,"endOffset":709,"count":0}],"isBlockCoverage":false},{"functionName":"createListRecursor","ranges":[{"startOffset":713,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":783,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1126,"endOffset":1220,"count":0}],"isBlockCoverage":false}]},{"scriptId":"374","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11430,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":306,"endOffset":367,"count":96}],"isBlockCoverage":true},{"functionName":"basicEscape","ranges":[{"startOffset":707,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"escapeLinebreak","ranges":[{"startOffset":1015,"endOffset":1219,"count":0}],"isBlockCoverage":false},{"functionName":"themeControlPictures","ranges":[{"startOffset":1221,"endOffset":1442,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuotes","ranges":[{"startOffset":1537,"endOffset":1834,"count":0}],"isBlockCoverage":false},{"functionName":"includesLinebreaks","ranges":[{"startOffset":1836,"endOffset":1932,"count":0}],"isBlockCoverage":false},{"functionName":"diffLine","ranges":[{"startOffset":1934,"endOffset":3826,"count":0}],"isBlockCoverage":false},{"functionName":"gatherLines","ranges":[{"startOffset":3862,"endOffset":4170,"count":0}],"isBlockCoverage":false},{"functionName":"StringValue","ranges":[{"startOffset":4194,"endOffset":4242,"count":96}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":4246,"endOffset":4370,"count":48},{"startOffset":4357,"endOffset":4366,"count":0}],"isBlockCoverage":true},{"functionName":"get includesLinebreaks","ranges":[{"startOffset":4374,"endOffset":4447,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4451,"endOffset":5422,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":5426,"endOffset":5800,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5804,"endOffset":11238,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":11242,"endOffset":11282,"count":0}],"isBlockCoverage":false}]},{"scriptId":"375","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1334,"endOffset":1486,"count":1}],"isBlockCoverage":true}]},{"scriptId":"376","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/ast.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4728,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":4687,"count":1}],"isBlockCoverage":true},{"functionName":"isExpression","ranges":[{"startOffset":1370,"endOffset":2121,"count":0}],"isBlockCoverage":false},{"functionName":"isIterationStatement","ranges":[{"startOffset":2127,"endOffset":2444,"count":0}],"isBlockCoverage":false},{"functionName":"isStatement","ranges":[{"startOffset":2450,"endOffset":3262,"count":0}],"isBlockCoverage":false},{"functionName":"isSourceElement","ranges":[{"startOffset":3268,"endOffset":3393,"count":0}],"isBlockCoverage":false},{"functionName":"trailingStatement","ranges":[{"startOffset":3399,"endOffset":3843,"count":0}],"isBlockCoverage":false},{"functionName":"isProblematicIfStatement","ranges":[{"startOffset":3849,"endOffset":4384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"377","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/code.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29610,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1391,"endOffset":29569,"count":1},{"startOffset":27989,"endOffset":28199,"count":128},{"startOffset":28045,"endOffset":28058,"count":31},{"startOffset":28059,"endOffset":28107,"count":102},{"startOffset":28094,"endOffset":28107,"count":37},{"startOffset":28108,"endOffset":28143,"count":76},{"startOffset":28144,"endOffset":28158,"count":75},{"startOffset":28273,"endOffset":28531,"count":128},{"startOffset":28328,"endOffset":28341,"count":31},{"startOffset":28342,"endOffset":28390,"count":102},{"startOffset":28377,"endOffset":28390,"count":37},{"startOffset":28391,"endOffset":28439,"count":76},{"startOffset":28426,"endOffset":28439,"count":28},{"startOffset":28440,"endOffset":28475,"count":66},{"startOffset":28476,"endOffset":28490,"count":65}],"isBlockCoverage":true},{"functionName":"isDecimalDigit","ranges":[{"startOffset":26641,"endOffset":26726,"count":0}],"isBlockCoverage":false},{"functionName":"isHexDigit","ranges":[{"startOffset":26732,"endOffset":26919,"count":0}],"isBlockCoverage":false},{"functionName":"isOctalDigit","ranges":[{"startOffset":26925,"endOffset":27008,"count":0}],"isBlockCoverage":false},{"functionName":"isWhiteSpace","ranges":[{"startOffset":27243,"endOffset":27434,"count":0}],"isBlockCoverage":false},{"functionName":"isLineTerminator","ranges":[{"startOffset":27469,"endOffset":27583,"count":0}],"isBlockCoverage":false},{"functionName":"fromCodePoint","ranges":[{"startOffset":27634,"endOffset":27914,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES5","ranges":[{"startOffset":28537,"endOffset":28686,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES5","ranges":[{"startOffset":28692,"endOffset":28838,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES6","ranges":[{"startOffset":28844,"endOffset":28993,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES6","ranges":[{"startOffset":28999,"endOffset":29145,"count":0}],"isBlockCoverage":false}]},{"scriptId":"378","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/keyword.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5616,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":5575,"count":1}],"isBlockCoverage":true},{"functionName":"isStrictModeReservedWordES6","ranges":[{"startOffset":1405,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES5","ranges":[{"startOffset":1752,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES6","ranges":[{"startOffset":1990,"endOffset":3218,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES5","ranges":[{"startOffset":3224,"endOffset":3363,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES6","ranges":[{"startOffset":3369,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"isRestrictedWord","ranges":[{"startOffset":3514,"endOffset":3603,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES5","ranges":[{"startOffset":3609,"endOffset":4045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeUtf16","ranges":[{"startOffset":4051,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES6","ranges":[{"startOffset":4167,"endOffset":4903,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES5","ranges":[{"startOffset":4909,"endOffset":5027,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES6","ranges":[{"startOffset":5033,"endOffset":5151,"count":0}],"isBlockCoverage":false}]},{"scriptId":"379","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-diff/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":38838,"count":1}],"isBlockCoverage":true},{"functionName":"diff_main","ranges":[{"startOffset":1622,"endOffset":2855,"count":0}],"isBlockCoverage":false},{"functionName":"diff_compute_","ranges":[{"startOffset":3117,"endOffset":4721,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisect_","ranges":[{"startOffset":5070,"endOffset":8602,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisectSplit_","ranges":[{"startOffset":8946,"endOffset":9292,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonPrefix","ranges":[{"startOffset":9516,"endOffset":10360,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonOverlap_","ranges":[{"startOffset":10654,"endOffset":11835,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonSuffix","ranges":[{"startOffset":12050,"endOffset":12955,"count":0}],"isBlockCoverage":false},{"functionName":"diff_halfMatch_","ranges":[{"startOffset":13397,"endOffset":16552,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemantic","ranges":[{"startOffset":16712,"endOffset":21136,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemanticLossless","ranges":[{"startOffset":21599,"endOffset":25878,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupMerge","ranges":[{"startOffset":26143,"endOffset":33884,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_start","ranges":[{"startOffset":33886,"endOffset":33983,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_end","ranges":[{"startOffset":33985,"endOffset":34080,"count":0}],"isBlockCoverage":false},{"functionName":"starts_with_pair_end","ranges":[{"startOffset":34082,"endOffset":34171,"count":0}],"isBlockCoverage":false},{"functionName":"ends_with_pair_start","ranges":[{"startOffset":34173,"endOffset":34277,"count":0}],"isBlockCoverage":false},{"functionName":"remove_empty_tuples","ranges":[{"startOffset":34279,"endOffset":34465,"count":0}],"isBlockCoverage":false},{"functionName":"make_edit_splice","ranges":[{"startOffset":34467,"endOffset":34771,"count":0}],"isBlockCoverage":false},{"functionName":"find_cursor_edit_diff","ranges":[{"startOffset":34773,"endOffset":38521,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":38523,"endOffset":38733,"count":0}],"isBlockCoverage":false}]},{"scriptId":"380","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/dataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":949,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":319,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":349,"endOffset":447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"381","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/date.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2613,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":304,"endOffset":471,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":501,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"formatDate","ranges":[{"startOffset":682,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"DateValue","ranges":[{"startOffset":993,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1072,"endOffset":1333,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1337,"endOffset":2118,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2122,"endOffset":2253,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedDateValue","ranges":[{"startOffset":2460,"endOffset":2610,"count":0}],"isBlockCoverage":false}]},{"scriptId":"382","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/date-time/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":831,"count":1}],"isBlockCoverage":true},{"functionName":"dateTime","ranges":[{"startOffset":71,"endOffset":718,"count":0}],"isBlockCoverage":false}]},{"scriptId":"383","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/time-zone/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":343,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"384","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3605,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":331,"endOffset":608,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":638,"endOffset":733,"count":0}],"isBlockCoverage":false},{"functionName":"ErrorValue","ranges":[{"startOffset":869,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":942,"endOffset":1082,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1086,"endOffset":2193,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2197,"endOffset":2257,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedErrorValue","ranges":[{"startOffset":2400,"endOffset":2583,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2587,"endOffset":3430,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedErrorValue","ranges":[{"startOffset":3512,"endOffset":3602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"385","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/isEnumerable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":171,"count":1}],"isBlockCoverage":true},{"functionName":"isEnumerable","ranges":[{"startOffset":14,"endOffset":140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"386","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3272,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":377,"endOffset":600,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":630,"endOffset":728,"count":0}],"isBlockCoverage":false},{"functionName":"FunctionValue","ranges":[{"startOffset":870,"endOffset":939,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":943,"endOffset":1706,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedFunctionValue","ranges":[{"startOffset":1858,"endOffset":1951,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1955,"endOffset":2203,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2207,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2749,"endOffset":2809,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedFunctionValue","ranges":[{"startOffset":2897,"endOffset":2987,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2991,"endOffset":3205,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3209,"endOffset":3269,"count":0}],"isBlockCoverage":false}]},{"scriptId":"387","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":822,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":275,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":412,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":512,"endOffset":676,"count":0}],"isBlockCoverage":false}]},{"scriptId":"388","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1845,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"MapValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1028,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1032,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1229,"endOffset":1674,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMapValue","ranges":[{"startOffset":1752,"endOffset":1842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"389","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1054,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":167,"endOffset":238,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":268,"endOffset":345,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":630,"endOffset":830,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":916,"endOffset":1051,"count":0}],"isBlockCoverage":false}]},{"scriptId":"390","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2733,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":219,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":432,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"getSortedFlags","ranges":[{"startOffset":617,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"RegexpValue","ranges":[{"startOffset":824,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":930,"endOffset":1107,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1111,"endOffset":2317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2321,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedRegexpValue","ranges":[{"startOffset":2612,"endOffset":2730,"count":0}],"isBlockCoverage":false}]},{"scriptId":"391","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1815,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"SetValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1030,"endOffset":1090,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1227,"endOffset":1644,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSetValue","ranges":[{"startOffset":1722,"endOffset":1812,"count":0}],"isBlockCoverage":false}]},{"scriptId":"392","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getCtor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1275,"count":1}],"isBlockCoverage":true},{"functionName":"getCtor","ranges":[{"startOffset":59,"endOffset":1249,"count":20},{"startOffset":234,"endOffset":240,"count":0},{"startOffset":244,"endOffset":1248,"count":0}],"isBlockCoverage":true}]},{"scriptId":"393","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getStringTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":721,"count":1},{"startOffset":467,"endOffset":720,"count":0}],"isBlockCoverage":true},{"functionName":"getStringTag","ranges":[{"startOffset":51,"endOffset":121,"count":21}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":225,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"getStringTagWithPromiseWorkaround","ranges":[{"startOffset":519,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"394","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/item.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7816,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":228,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeComplex","ranges":[{"startOffset":354,"endOffset":469,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":519,"endOffset":605,"count":96}],"isBlockCoverage":true},{"functionName":"deserializePrimitive","ranges":[{"startOffset":653,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexItem","ranges":[{"startOffset":1017,"endOffset":1095,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1099,"endOffset":1171,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1175,"endOffset":1330,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1334,"endOffset":1719,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1723,"endOffset":4317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":4321,"endOffset":4361,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveItem","ranges":[{"startOffset":4536,"endOffset":4614,"count":96}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":4618,"endOffset":4775,"count":48},{"startOffset":4762,"endOffset":4771,"count":0}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":4779,"endOffset":5334,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":5338,"endOffset":6853,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":6857,"endOffset":7602,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7606,"endOffset":7660,"count":0}],"isBlockCoverage":false}]},{"scriptId":"395","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/mapEntry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7305,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":318,"endOffset":585,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":615,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithKey","ranges":[{"startOffset":974,"endOffset":1422,"count":0}],"isBlockCoverage":false},{"functionName":"MapEntry","ranges":[{"startOffset":1443,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1639,"endOffset":1916,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1920,"endOffset":2399,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":2403,"endOffset":3004,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3008,"endOffset":3349,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":3353,"endOffset":4200,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":4204,"endOffset":7086,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7090,"endOffset":7164,"count":0}],"isBlockCoverage":false}]},{"scriptId":"396","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/themeUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5251,"count":1}],"isBlockCoverage":true},{"functionName":"freezeTheme","ranges":[{"startOffset":151,"endOffset":490,"count":1},{"startOffset":233,"endOffset":472,"count":42},{"startOffset":338,"endOffset":468,"count":120},{"startOffset":397,"endOffset":425,"count":118},{"startOffset":427,"endOffset":462,"count":41}],"isBlockCoverage":true},{"functionName":"normalizePlugins","ranges":[{"startOffset":2413,"endOffset":3165,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":3205,"endOffset":4082,"count":0}],"isBlockCoverage":false},{"functionName":"addModifier","ranges":[{"startOffset":4146,"endOffset":4338,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiers","ranges":[{"startOffset":4446,"endOffset":5020,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiersToOriginal","ranges":[{"startOffset":5062,"endOffset":5190,"count":0}],"isBlockCoverage":false}]},{"scriptId":"397","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/cloneDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":679,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDeep","ranges":[{"startOffset":555,"endOffset":649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"398","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseClone.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5609,"count":1}],"isBlockCoverage":true},{"functionName":"baseClone","ranges":[{"startOffset":3399,"endOffset":5579,"count":0}],"isBlockCoverage":false}]},{"scriptId":"399","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Stack.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":734,"count":1}],"isBlockCoverage":true},{"functionName":"Stack","ranges":[{"startOffset":402,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"400","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_ListCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"ListCache","ranges":[{"startOffset":376,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"401","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":218,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheClear","ranges":[{"startOffset":115,"endOffset":183,"count":0}],"isBlockCoverage":false}]},{"scriptId":"402","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":775,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheDelete","ranges":[{"startOffset":440,"endOffset":739,"count":0}],"isBlockCoverage":false}]},{"scriptId":"403","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assocIndexOf.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":487,"count":1}],"isBlockCoverage":true},{"functionName":"assocIndexOf","ranges":[{"startOffset":286,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"404","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":799,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":681,"endOffset":776,"count":0}],"isBlockCoverage":false}]},{"scriptId":"405","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":420,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheGet","ranges":[{"startOffset":240,"endOffset":387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"406","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheHas","ranges":[{"startOffset":292,"endOffset":370,"count":0}],"isBlockCoverage":false}]},{"scriptId":"407","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":553,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheSet","ranges":[{"startOffset":292,"endOffset":520,"count":0}],"isBlockCoverage":false}]},{"scriptId":"408","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":254,"count":1}],"isBlockCoverage":true},{"functionName":"stackClear","ranges":[{"startOffset":148,"endOffset":223,"count":0}],"isBlockCoverage":false}]},{"scriptId":"409","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":405,"count":1}],"isBlockCoverage":true},{"functionName":"stackDelete","ranges":[{"startOffset":237,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"410","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":271,"count":1}],"isBlockCoverage":true},{"functionName":"stackGet","ranges":[{"startOffset":183,"endOffset":242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"411","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":323,"count":1}],"isBlockCoverage":true},{"functionName":"stackHas","ranges":[{"startOffset":235,"endOffset":294,"count":0}],"isBlockCoverage":false}]},{"scriptId":"412","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":853,"count":1}],"isBlockCoverage":true},{"functionName":"stackSet","ranges":[{"startOffset":436,"endOffset":824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"413","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"414","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"getNative","ranges":[{"startOffset":331,"endOffset":453,"count":7},{"startOffset":439,"endOffset":450,"count":0}],"isBlockCoverage":true}]},{"scriptId":"415","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1417,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsNative","ranges":[{"startOffset":1182,"endOffset":1384,"count":7},{"startOffset":1256,"endOffset":1279,"count":0},{"startOffset":1327,"endOffset":1341,"count":0}],"isBlockCoverage":true}]},{"scriptId":"416","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isFunction.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":993,"count":1}],"isBlockCoverage":true},{"functionName":"isFunction","ranges":[{"startOffset":617,"endOffset":962,"count":7},{"startOffset":670,"endOffset":693,"count":0},{"startOffset":905,"endOffset":921,"count":0},{"startOffset":922,"endOffset":940,"count":0},{"startOffset":941,"endOffset":959,"count":0}],"isBlockCoverage":true}]},{"scriptId":"417","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":792,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true},{"functionName":"baseGetTag","ranges":[{"startOffset":534,"endOffset":761,"count":13},{"startOffset":584,"endOffset":646,"count":0},{"startOffset":712,"endOffset":730,"count":5},{"startOffset":735,"endOffset":758,"count":8}],"isBlockCoverage":true}]},{"scriptId":"418","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true}]},{"scriptId":"419","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_root.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":300,"count":1},{"startOffset":119,"endOffset":126,"count":0},{"startOffset":127,"endOffset":152,"count":0},{"startOffset":153,"endOffset":160,"count":0},{"startOffset":234,"endOffset":245,"count":0},{"startOffset":246,"endOffset":274,"count":0}],"isBlockCoverage":true}]},{"scriptId":"420","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_freeGlobal.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":173,"count":1}],"isBlockCoverage":true}]},{"scriptId":"421","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getRawTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1139,"count":1},{"startOffset":488,"endOffset":499,"count":0}],"isBlockCoverage":true},{"functionName":"getRawTag","ranges":[{"startOffset":701,"endOffset":1109,"count":5},{"startOffset":899,"endOffset":911,"count":0},{"startOffset":995,"endOffset":1037,"count":0}],"isBlockCoverage":true}]},{"scriptId":"422","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_objectToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":565,"count":1}],"isBlockCoverage":true},{"functionName":"objectToString","ranges":[{"startOffset":453,"endOffset":530,"count":8}],"isBlockCoverage":true}]},{"scriptId":"423","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":733,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":581,"endOffset":704,"count":14}],"isBlockCoverage":true}]},{"scriptId":"424","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isMasked.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":564,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":116,"endOffset":268,"count":1},{"startOffset":166,"endOffset":184,"count":0},{"startOffset":185,"endOffset":212,"count":0},{"startOffset":234,"endOffset":260,"count":0}],"isBlockCoverage":true},{"functionName":"isMasked","ranges":[{"startOffset":461,"endOffset":535,"count":7},{"startOffset":509,"endOffset":532,"count":0}],"isBlockCoverage":true}]},{"scriptId":"425","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_coreJsData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":157,"count":1}],"isBlockCoverage":true}]},{"scriptId":"426","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_toSource.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":556,"count":1}],"isBlockCoverage":true},{"functionName":"toSource","ranges":[{"startOffset":339,"endOffset":527,"count":12},{"startOffset":441,"endOffset":508,"count":0},{"startOffset":512,"endOffset":526,"count":0}],"isBlockCoverage":true}]},{"scriptId":"427","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":325,"count":1}],"isBlockCoverage":true},{"functionName":"getValue","ranges":[{"startOffset":211,"endOffset":296,"count":7},{"startOffset":268,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"428","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_MapCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"MapCache","ranges":[{"startOffset":389,"endOffset":606,"count":0}],"isBlockCoverage":false}]},{"scriptId":"429","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":393,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheClear","ranges":[{"startOffset":209,"endOffset":359,"count":0}],"isBlockCoverage":false}]},{"scriptId":"430","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Hash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"Hash","ranges":[{"startOffset":319,"endOffset":532,"count":0}],"isBlockCoverage":false}]},{"scriptId":"431","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":281,"count":1}],"isBlockCoverage":true},{"functionName":"hashClear","ranges":[{"startOffset":152,"endOffset":251,"count":0}],"isBlockCoverage":false}]},{"scriptId":"432","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":187,"count":1}],"isBlockCoverage":true}]},{"scriptId":"433","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":445,"count":1}],"isBlockCoverage":true},{"functionName":"hashDelete","ranges":[{"startOffset":279,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"434","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"hashGet","ranges":[{"startOffset":513,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"435","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":626,"count":1}],"isBlockCoverage":true},{"functionName":"hashHas","ranges":[{"startOffset":461,"endOffset":598,"count":0}],"isBlockCoverage":false}]},{"scriptId":"436","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"hashSet","ranges":[{"startOffset":379,"endOffset":570,"count":0}],"isBlockCoverage":false}]},{"scriptId":"437","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheDelete","ranges":[{"startOffset":282,"endOffset":415,"count":0}],"isBlockCoverage":false}]},{"scriptId":"438","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getMapData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":400,"count":1}],"isBlockCoverage":true},{"functionName":"getMapData","ranges":[{"startOffset":214,"endOffset":369,"count":0}],"isBlockCoverage":false}]},{"scriptId":"439","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isKeyable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":430,"count":1}],"isBlockCoverage":true},{"functionName":"isKeyable","ranges":[{"startOffset":201,"endOffset":400,"count":0}],"isBlockCoverage":false}]},{"scriptId":"440","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":330,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheGet","ranges":[{"startOffset":228,"endOffset":298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"441","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheHas","ranges":[{"startOffset":280,"endOffset":350,"count":0}],"isBlockCoverage":false}]},{"scriptId":"442","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":489,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheSet","ranges":[{"startOffset":279,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"443","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayEach.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":537,"count":1}],"isBlockCoverage":true},{"functionName":"arrayEach","ranges":[{"startOffset":274,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"444","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":899,"count":1}],"isBlockCoverage":true},{"functionName":"assignValue","ranges":[{"startOffset":629,"endOffset":867,"count":0}],"isBlockCoverage":false}]},{"scriptId":"445","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":625,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignValue","ranges":[{"startOffset":314,"endOffset":589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"446","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_defineProperty.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":64,"endOffset":194,"count":1},{"startOffset":180,"endOffset":192,"count":0}],"isBlockCoverage":true}]},{"scriptId":"447","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssign.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssign","ranges":[{"startOffset":339,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"448","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1044,"count":1}],"isBlockCoverage":true},{"functionName":"copyObject","ranges":[{"startOffset":467,"endOffset":1013,"count":0}],"isBlockCoverage":false}]},{"scriptId":"449","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":884,"count":1}],"isBlockCoverage":true},{"functionName":"keys","ranges":[{"startOffset":761,"endOffset":859,"count":0}],"isBlockCoverage":false}]},{"scriptId":"450","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayLikeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1778,"count":1}],"isBlockCoverage":true},{"functionName":"arrayLikeKeys","ranges":[{"startOffset":697,"endOffset":1744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"451","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseTimes.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":504,"count":1}],"isBlockCoverage":true},{"functionName":"baseTimes","ranges":[{"startOffset":313,"endOffset":474,"count":0}],"isBlockCoverage":false}]},{"scriptId":"452","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1026,"count":1},{"startOffset":851,"endOffset":993,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":797,"endOffset":829,"count":1}],"isBlockCoverage":true},{"functionName":"isArguments","ranges":[{"startOffset":853,"endOffset":993,"count":0}],"isBlockCoverage":false}]},{"scriptId":"453","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsArguments","ranges":[{"startOffset":355,"endOffset":452,"count":1}],"isBlockCoverage":true}]},{"scriptId":"454","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObjectLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"isObjectLike","ranges":[{"startOffset":497,"endOffset":581,"count":1}],"isBlockCoverage":true}]},{"scriptId":"455","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true}]},{"scriptId":"456","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1114,"count":1},{"startOffset":548,"endOffset":559,"count":0},{"startOffset":697,"endOffset":708,"count":0},{"startOffset":1072,"endOffset":1084,"count":0}],"isBlockCoverage":true}]},{"scriptId":"457","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubFalse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":280,"count":1}],"isBlockCoverage":true},{"functionName":"stubFalse","ranges":[{"startOffset":210,"endOffset":250,"count":0}],"isBlockCoverage":false}]},{"scriptId":"458","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIndex.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":759,"count":1}],"isBlockCoverage":true},{"functionName":"isIndex","ranges":[{"startOffset":456,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"459","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":695,"count":1},{"startOffset":643,"endOffset":661,"count":0}],"isBlockCoverage":true}]},{"scriptId":"460","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2222,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsTypedArray","ranges":[{"startOffset":2050,"endOffset":2185,"count":0}],"isBlockCoverage":false}]},{"scriptId":"461","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseUnary.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":332,"count":1}],"isBlockCoverage":true},{"functionName":"baseUnary","ranges":[{"startOffset":218,"endOffset":302,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":254,"endOffset":299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"462","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nodeUtil.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":995,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":615,"endOffset":962,"count":1},{"startOffset":806,"endOffset":911,"count":0},{"startOffset":912,"endOffset":942,"count":0},{"startOffset":948,"endOffset":960,"count":0}],"isBlockCoverage":true}]},{"scriptId":"463","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":776,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeys","ranges":[{"startOffset":479,"endOffset":747,"count":0}],"isBlockCoverage":false}]},{"scriptId":"464","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":480,"count":1}],"isBlockCoverage":true},{"functionName":"isPrototype","ranges":[{"startOffset":273,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"465","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":204,"count":1}],"isBlockCoverage":true}]},{"scriptId":"466","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overArg.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"overArg","ranges":[{"startOffset":254,"endOffset":354,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":299,"endOffset":351,"count":0}],"isBlockCoverage":false}]},{"scriptId":"467","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":830,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLike","ranges":[{"startOffset":695,"endOffset":798,"count":0}],"isBlockCoverage":false}]},{"scriptId":"468","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":482,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignIn","ranges":[{"startOffset":345,"endOffset":449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"469","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":778,"count":1}],"isBlockCoverage":true},{"functionName":"keysIn","ranges":[{"startOffset":643,"endOffset":751,"count":0}],"isBlockCoverage":false}]},{"scriptId":"470","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":870,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeysIn","ranges":[{"startOffset":523,"endOffset":839,"count":0}],"isBlockCoverage":false}]},{"scriptId":"471","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":490,"count":1}],"isBlockCoverage":true},{"functionName":"nativeKeysIn","ranges":[{"startOffset":292,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"472","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1056,"count":1},{"startOffset":508,"endOffset":519,"count":0},{"startOffset":567,"endOffset":578,"count":0}],"isBlockCoverage":true},{"functionName":"cloneBuffer","ranges":[{"startOffset":783,"endOffset":1024,"count":0}],"isBlockCoverage":false}]},{"scriptId":"473","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"copyArray","ranges":[{"startOffset":219,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"474","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":446,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbols","ranges":[{"startOffset":317,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"475","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":886,"count":1},{"startOffset":624,"endOffset":635,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbols","ranges":[{"startOffset":638,"endOffset":854,"count":0}],"isBlockCoverage":false}]},{"scriptId":"476","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayFilter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":632,"count":1}],"isBlockCoverage":true},{"functionName":"arrayFilter","ranges":[{"startOffset":289,"endOffset":600,"count":0}],"isBlockCoverage":false}]},{"scriptId":"477","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":390,"count":1}],"isBlockCoverage":true},{"functionName":"stubArray","ranges":[{"startOffset":323,"endOffset":360,"count":0}],"isBlockCoverage":false}]},{"scriptId":"478","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbolsIn","ranges":[{"startOffset":335,"endOffset":436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"479","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":754,"count":1},{"startOffset":549,"endOffset":560,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbolsIn","ranges":[{"startOffset":563,"endOffset":720,"count":0}],"isBlockCoverage":false}]},{"scriptId":"480","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayPush.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":437,"count":1}],"isBlockCoverage":true},{"functionName":"arrayPush","ranges":[{"startOffset":200,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"481","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":163,"count":1}],"isBlockCoverage":true}]},{"scriptId":"482","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":455,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeys","ranges":[{"startOffset":342,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"483","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":739,"count":1}],"isBlockCoverage":true},{"functionName":"baseGetAllKeys","ranges":[{"startOffset":537,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"484","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeysIn","ranges":[{"startOffset":367,"endOffset":455,"count":0}],"isBlockCoverage":false}]},{"scriptId":"485","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1838,"count":1},{"startOffset":1296,"endOffset":1811,"count":0}],"isBlockCoverage":true},{"functionName":"getTag","ranges":[{"startOffset":1309,"endOffset":1808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"486","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_DataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true}]},{"scriptId":"487","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"488","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"489","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_WeakMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"490","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":692,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneArray","ranges":[{"startOffset":329,"endOffset":657,"count":0}],"isBlockCoverage":false}]},{"scriptId":"491","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneByTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2261,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneByTag","ranges":[{"startOffset":1454,"endOffset":2226,"count":0}],"isBlockCoverage":false}]},{"scriptId":"492","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneArrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":449,"count":1}],"isBlockCoverage":true},{"functionName":"cloneArrayBuffer","ranges":[{"startOffset":226,"endOffset":412,"count":0}],"isBlockCoverage":false}]},{"scriptId":"493","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Uint8Array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":130,"count":1}],"isBlockCoverage":true}]},{"scriptId":"494","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneDataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":507,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDataView","ranges":[{"startOffset":267,"endOffset":473,"count":0}],"isBlockCoverage":false}]},{"scriptId":"495","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneRegExp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":439,"count":1}],"isBlockCoverage":true},{"functionName":"cloneRegExp","ranges":[{"startOffset":243,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"496","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneSymbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":524,"count":1},{"startOffset":138,"endOffset":149,"count":0},{"startOffset":205,"endOffset":216,"count":0}],"isBlockCoverage":true},{"functionName":"cloneSymbol","ranges":[{"startOffset":394,"endOffset":492,"count":0}],"isBlockCoverage":false}]},{"scriptId":"497","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":527,"count":1}],"isBlockCoverage":true},{"functionName":"cloneTypedArray","ranges":[{"startOffset":275,"endOffset":491,"count":0}],"isBlockCoverage":false}]},{"scriptId":"498","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":486,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneObject","ranges":[{"startOffset":290,"endOffset":450,"count":0}],"isBlockCoverage":false}]},{"scriptId":"499","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":686,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":355,"endOffset":651,"count":1}],"isBlockCoverage":true},{"functionName":"object","ranges":[{"startOffset":370,"endOffset":390,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":400,"endOffset":648,"count":0}],"isBlockCoverage":false}]},{"scriptId":"500","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"501","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsMap","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"502","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"503","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsSet","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"504","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/merge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1220,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1115,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"505","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMerge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1328,"count":1}],"isBlockCoverage":true},{"functionName":"baseMerge","ranges":[{"startOffset":699,"endOffset":1298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"506","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignMergeValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"assignMergeValue","ranges":[{"startOffset":342,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"507","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"508","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createBaseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":648,"count":1}],"isBlockCoverage":true},{"functionName":"createBaseFor","ranges":[{"startOffset":217,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":262,"endOffset":611,"count":0}],"isBlockCoverage":false}]},{"scriptId":"509","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMergeDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3069,"count":1}],"isBlockCoverage":true},{"functionName":"baseMergeDeep","ranges":[{"startOffset":1316,"endOffset":3035,"count":0}],"isBlockCoverage":false}]},{"scriptId":"510","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLikeObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":742,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLikeObject","ranges":[{"startOffset":615,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"511","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1650,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":1229,"endOffset":1616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"512","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_safeGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":456,"count":1}],"isBlockCoverage":true},{"functionName":"safeGet","ranges":[{"startOffset":243,"endOffset":428,"count":0}],"isBlockCoverage":false}]},{"scriptId":"513","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/toPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":744,"count":1}],"isBlockCoverage":true},{"functionName":"toPlainObject","ranges":[{"startOffset":634,"endOffset":710,"count":0}],"isBlockCoverage":false}]},{"scriptId":"514","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createAssigner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1042,"count":1}],"isBlockCoverage":true},{"functionName":"createAssigner","ranges":[{"startOffset":272,"endOffset":1007,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":326,"endOffset":1003,"count":0}],"isBlockCoverage":false}]},{"scriptId":"515","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":559,"count":1}],"isBlockCoverage":true},{"functionName":"baseRest","ranges":[{"startOffset":430,"endOffset":530,"count":1}],"isBlockCoverage":true}]},{"scriptId":"516","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/identity.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"identity","ranges":[{"startOffset":297,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"517","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1096,"count":1}],"isBlockCoverage":true},{"functionName":"overRest","ranges":[{"startOffset":503,"endOffset":1067,"count":1},{"startOffset":607,"endOffset":614,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":629,"endOffset":1064,"count":0}],"isBlockCoverage":false}]},{"scriptId":"518","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_apply.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":714,"count":1}],"isBlockCoverage":true},{"functionName":"apply","ranges":[{"startOffset":374,"endOffset":688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"519","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_setToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":392,"count":1}],"isBlockCoverage":true}]},{"scriptId":"520","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseSetToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":641,"count":1},{"startOffset":412,"endOffset":422,"count":0}],"isBlockCoverage":true},{"functionName":"baseSetToString","ranges":[{"startOffset":425,"endOffset":604,"count":1}],"isBlockCoverage":true}]},{"scriptId":"521","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/constant.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":528,"count":1}],"isBlockCoverage":true},{"functionName":"constant","ranges":[{"startOffset":426,"endOffset":499,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":462,"endOffset":496,"count":0}],"isBlockCoverage":false}]},{"scriptId":"522","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_shortOut.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":941,"count":1}],"isBlockCoverage":true},{"functionName":"shortOut","ranges":[{"startOffset":534,"endOffset":912,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":609,"endOffset":909,"count":1},{"startOffset":752,"endOffset":830,"count":0}],"isBlockCoverage":true}]},{"scriptId":"523","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIterateeCall.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":877,"count":1}],"isBlockCoverage":true},{"functionName":"isIterateeCall","ranges":[{"startOffset":514,"endOffset":842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"524","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/pluginRegistry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6139,"count":1}],"isBlockCoverage":true},{"functionName":"PluginError","ranges":[{"startOffset":707,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"PluginTypeError","ranges":[{"startOffset":864,"endOffset":977,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedApiError","ranges":[{"startOffset":1031,"endOffset":1159,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedError","ranges":[{"startOffset":1210,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorTagError","ranges":[{"startOffset":1406,"endOffset":1596,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorIdError","ranges":[{"startOffset":1657,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":1949,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"modifyTheme","ranges":[{"startOffset":3525,"endOffset":3639,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":3641,"endOffset":5084,"count":0}],"isBlockCoverage":false},{"functionName":"getDeserializers","ranges":[{"startOffset":5104,"endOffset":5368,"count":0}],"isBlockCoverage":false},{"functionName":"getThemes","ranges":[{"startOffset":5414,"endOffset":5598,"count":0}],"isBlockCoverage":false},{"functionName":"getTryDescribeValues","ranges":[{"startOffset":5630,"endOffset":5734,"count":0}],"isBlockCoverage":false},{"functionName":"resolveDescriptorRef","ranges":[{"startOffset":5788,"endOffset":6086,"count":0}],"isBlockCoverage":false}]},{"scriptId":"525","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2616,"count":1}],"isBlockCoverage":true}]},{"scriptId":"526","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/re.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7690,"count":1}],"isBlockCoverage":true},{"functionName":"makeSafeRegex","ranges":[{"startOffset":950,"endOffset":1161,"count":40},{"startOffset":1015,"endOffset":1144,"count":120}],"isBlockCoverage":true},{"functionName":"createToken","ranges":[{"startOffset":1183,"endOffset":1459,"count":40},{"startOffset":1376,"endOffset":1381,"count":4},{"startOffset":1382,"endOffset":1393,"count":36},{"startOffset":1439,"endOffset":1444,"count":4},{"startOffset":1445,"endOffset":1456,"count":36}],"isBlockCoverage":true}]},{"scriptId":"527","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":859,"count":1},{"startOffset":233,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"528","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/debug.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":226,"count":1},{"startOffset":91,"endOffset":138,"count":0},{"startOffset":141,"endOffset":188,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":143,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"debug","ranges":[{"startOffset":193,"endOffset":201,"count":46}],"isBlockCoverage":true}]},{"scriptId":"529","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/semver.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8756,"count":1}],"isBlockCoverage":true},{"functionName":"SemVer","ranges":[{"startOffset":311,"endOffset":2238,"count":2},{"startOffset":416,"endOffset":621,"count":0},{"startOffset":660,"endOffset":761,"count":0},{"startOffset":800,"endOffset":900,"count":0},{"startOffset":1239,"endOffset":1252,"count":0},{"startOffset":1280,"endOffset":1344,"count":0},{"startOffset":1531,"endOffset":1589,"count":0},{"startOffset":1648,"endOffset":1706,"count":0},{"startOffset":1765,"endOffset":1823,"count":0},{"startOffset":1884,"endOffset":2170,"count":1},{"startOffset":2194,"endOffset":2211,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1970,"endOffset":2163,"count":1},{"startOffset":2137,"endOffset":2162,"count":0}],"isBlockCoverage":true},{"functionName":"format","ranges":[{"startOffset":2242,"endOffset":2438,"count":2},{"startOffset":2349,"endOffset":2410,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":2442,"endOffset":2483,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2487,"endOffset":2877,"count":0}],"isBlockCoverage":false},{"functionName":"compareMain","ranges":[{"startOffset":2881,"endOffset":3172,"count":0}],"isBlockCoverage":false},{"functionName":"comparePre","ranges":[{"startOffset":3176,"endOffset":4027,"count":0}],"isBlockCoverage":false},{"functionName":"compareBuild","ranges":[{"startOffset":4031,"endOffset":4573,"count":0}],"isBlockCoverage":false},{"functionName":"inc","ranges":[{"startOffset":4726,"endOffset":8728,"count":0}],"isBlockCoverage":false}]},{"scriptId":"530","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/parse-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":324,"count":1}],"isBlockCoverage":true},{"functionName":"parseOptions","ranges":[{"startOffset":153,"endOffset":293,"count":4},{"startOffset":208,"endOffset":292,"count":0}],"isBlockCoverage":true}]},{"scriptId":"531","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/identifiers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":410,"count":1}],"isBlockCoverage":true},{"functionName":"compareIdentifiers","ranges":[{"startOffset":54,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"rcompareIdentifiers","ranges":[{"startOffset":308,"endOffset":342,"count":0}],"isBlockCoverage":false}]},{"scriptId":"532","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":317,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":58,"endOffset":292,"count":0}],"isBlockCoverage":false}]},{"scriptId":"533","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":162,"count":1}],"isBlockCoverage":true},{"functionName":"valid","ranges":[{"startOffset":47,"endOffset":138,"count":0}],"isBlockCoverage":false}]},{"scriptId":"534","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/clean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":191,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":47,"endOffset":167,"count":0}],"isBlockCoverage":false}]},{"scriptId":"535","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/inc.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"inc","ranges":[{"startOffset":57,"endOffset":442,"count":0}],"isBlockCoverage":false}]},{"scriptId":"536","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1612,"count":1}],"isBlockCoverage":true},{"functionName":"diff","ranges":[{"startOffset":50,"endOffset":1588,"count":0}],"isBlockCoverage":false}]},{"scriptId":"537","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/major.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"major","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"538","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/minor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"minor","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"539","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/patch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"patch","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"540","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/prerelease.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":220,"count":1}],"isBlockCoverage":true},{"functionName":"prerelease","ranges":[{"startOffset":52,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"541","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":156,"count":1}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":60,"endOffset":129,"count":0}],"isBlockCoverage":false}]},{"scriptId":"542","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rcompare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"rcompare","ranges":[{"startOffset":54,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"543","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-loose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"compareLoose","ranges":[{"startOffset":58,"endOffset":87,"count":0}],"isBlockCoverage":false}]},{"scriptId":"544","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-build.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":267,"count":1}],"isBlockCoverage":true},{"functionName":"compareBuild","ranges":[{"startOffset":65,"endOffset":236,"count":0}],"isBlockCoverage":false}]},{"scriptId":"545","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/sort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":147,"count":1}],"isBlockCoverage":true},{"functionName":"sort","ranges":[{"startOffset":61,"endOffset":124,"count":0}],"isBlockCoverage":false}]},{"scriptId":"546","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rsort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":149,"count":1}],"isBlockCoverage":true},{"functionName":"rsort","ranges":[{"startOffset":62,"endOffset":125,"count":0}],"isBlockCoverage":false}]},{"scriptId":"547","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"gt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"548","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"lt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"549","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":112,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":48,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"550","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/neq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":114,"count":1}],"isBlockCoverage":true},{"functionName":"neq","ranges":[{"startOffset":49,"endOffset":92,"count":0}],"isBlockCoverage":false}]},{"scriptId":"551","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"gte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"552","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"lte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"553","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/cmp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":947,"count":1}],"isBlockCoverage":true},{"functionName":"cmp","ranges":[{"startOffset":181,"endOffset":925,"count":0}],"isBlockCoverage":false}]},{"scriptId":"554","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/coerce.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1513,"count":1}],"isBlockCoverage":true},{"functionName":"coerce","ranges":[{"startOffset":145,"endOffset":1488,"count":0}],"isBlockCoverage":false}]},{"scriptId":"555","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/comparator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3617,"count":1}],"isBlockCoverage":true},{"functionName":"get ANY","ranges":[{"startOffset":100,"endOffset":131,"count":2}],"isBlockCoverage":true},{"functionName":"Comparator","ranges":[{"startOffset":135,"endOffset":682,"count":2},{"startOffset":238,"endOffset":358,"count":0},{"startOffset":556,"endOffset":585,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":686,"endOffset":1182,"count":2},{"startOffset":734,"endOffset":757,"count":0},{"startOffset":818,"endOffset":882,"count":0},{"startOffset":930,"endOffset":934,"count":0},{"startOffset":966,"endOffset":998,"count":0},{"startOffset":1077,"endOffset":1108,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":1186,"endOffset":1225,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":1229,"endOffset":1609,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":1613,"endOffset":3323,"count":0}],"isBlockCoverage":false}]},{"scriptId":"556","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/range.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14514,"count":1}],"isBlockCoverage":true},{"functionName":"Range","ranges":[{"startOffset":55,"endOffset":2052,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2056,"endOffset":2197,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2201,"endOffset":2240,"count":0}],"isBlockCoverage":false},{"functionName":"parseRange","ranges":[{"startOffset":2244,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":4531,"endOffset":5161,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":5229,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"isNullSet","ranges":[{"startOffset":6111,"endOffset":6138,"count":0}],"isBlockCoverage":false},{"functionName":"isAny","ranges":[{"startOffset":6153,"endOffset":6172,"count":0}],"isBlockCoverage":false},{"functionName":"isSatisfiable","ranges":[{"startOffset":6294,"endOffset":6700,"count":0}],"isBlockCoverage":false},{"functionName":"parseComparator","ranges":[{"startOffset":6870,"endOffset":7183,"count":0}],"isBlockCoverage":false},{"functionName":"isX","ranges":[{"startOffset":7197,"endOffset":7248,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTildes","ranges":[{"startOffset":7584,"endOffset":7707,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTilde","ranges":[{"startOffset":7730,"endOffset":8404,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCarets","ranges":[{"startOffset":8697,"endOffset":8820,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCaret","ranges":[{"startOffset":8843,"endOffset":10145,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRanges","ranges":[{"startOffset":10170,"endOffset":10323,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRange","ranges":[{"startOffset":10347,"endOffset":12047,"count":0}],"isBlockCoverage":false},{"functionName":"replaceStars","ranges":[{"startOffset":12193,"endOffset":12378,"count":0}],"isBlockCoverage":false},{"functionName":"replaceGTE0","ranges":[{"startOffset":12400,"endOffset":12555,"count":0}],"isBlockCoverage":false},{"functionName":"hyphenReplace","ranges":[{"startOffset":12797,"endOffset":13471,"count":0}],"isBlockCoverage":false},{"functionName":"testSet","ranges":[{"startOffset":13489,"endOffset":14513,"count":0}],"isBlockCoverage":false}]},{"scriptId":"557","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lru-cache/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8186,"count":1}],"isBlockCoverage":true},{"functionName":"naiveLength","ranges":[{"startOffset":510,"endOffset":517,"count":0}],"isBlockCoverage":false},{"functionName":"LRUCache","ranges":[{"startOffset":853,"endOffset":1751,"count":1},{"startOffset":920,"endOffset":946,"count":0},{"startOffset":972,"endOffset":984,"count":0},{"startOffset":1069,"endOffset":1125,"count":0},{"startOffset":1235,"endOffset":1246,"count":0},{"startOffset":1350,"endOffset":1363,"count":0},{"startOffset":1439,"endOffset":1476,"count":0},{"startOffset":1484,"endOffset":1530,"count":0}],"isBlockCoverage":true},{"functionName":"set max","ranges":[{"startOffset":1799,"endOffset":1969,"count":0}],"isBlockCoverage":false},{"functionName":"get max","ranges":[{"startOffset":1972,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"set allowStale","ranges":[{"startOffset":2013,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"get allowStale","ranges":[{"startOffset":2086,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"set maxAge","ranges":[{"startOffset":2142,"endOffset":2300,"count":0}],"isBlockCoverage":false},{"functionName":"get maxAge","ranges":[{"startOffset":2303,"endOffset":2347,"count":0}],"isBlockCoverage":false},{"functionName":"set lengthCalculator","ranges":[{"startOffset":2408,"endOffset":2765,"count":0}],"isBlockCoverage":false},{"functionName":"get lengthCalculator","ranges":[{"startOffset":2768,"endOffset":2826,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":2830,"endOffset":2867,"count":0}],"isBlockCoverage":false},{"functionName":"get itemCount","ranges":[{"startOffset":2870,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"rforEach","ranges":[{"startOffset":2923,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":3142,"endOffset":3356,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":3360,"endOffset":3425,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":3429,"endOffset":3498,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":3502,"endOffset":3858,"count":1},{"startOffset":3535,"endOffset":3560,"count":0},{"startOffset":3561,"endOffset":3593,"count":0},{"startOffset":3595,"endOffset":3673,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3626,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"dump","ranges":[{"startOffset":3862,"endOffset":4064,"count":0}],"isBlockCoverage":false},{"functionName":"dumpLru","ranges":[{"startOffset":4068,"endOffset":4110,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4114,"endOffset":5376,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":5380,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5517,"endOffset":5564,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":5568,"endOffset":5617,"count":0}],"isBlockCoverage":false},{"functionName":"pop","ranges":[{"startOffset":5621,"endOffset":5746,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":5750,"endOffset":5801,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5805,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"prune","ranges":[{"startOffset":6382,"endOffset":6459,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6475,"endOffset":6871,"count":0}],"isBlockCoverage":false},{"functionName":"isStale","ranges":[{"startOffset":6889,"endOffset":7094,"count":0}],"isBlockCoverage":false},{"functionName":"trim","ranges":[{"startOffset":7109,"endOffset":7497,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":7511,"endOffset":7738,"count":0}],"isBlockCoverage":false},{"functionName":"Entry","ranges":[{"startOffset":7756,"endOffset":7923,"count":0}],"isBlockCoverage":false},{"functionName":"forEachStep","ranges":[{"startOffset":7947,"endOffset":8158,"count":0}],"isBlockCoverage":false}]},{"scriptId":"558","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/yallist.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8411,"count":1},{"startOffset":8397,"endOffset":8410,"count":0}],"isBlockCoverage":true},{"functionName":"Yallist","ranges":[{"startOffset":85,"endOffset":517,"count":1},{"startOffset":163,"endOffset":193,"count":0},{"startOffset":263,"endOffset":300,"count":0},{"startOffset":302,"endOffset":371,"count":0},{"startOffset":403,"endOffset":500,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":321,"endOffset":366,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.removeNode","ranges":[{"startOffset":550,"endOffset":1001,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshiftNode","ranges":[{"startOffset":1035,"endOffset":1334,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pushNode","ranges":[{"startOffset":1365,"endOffset":1664,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.push","ranges":[{"startOffset":1691,"endOffset":1814,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshift","ranges":[{"startOffset":1844,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pop","ranges":[{"startOffset":1996,"endOffset":2224,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.shift","ranges":[{"startOffset":2252,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEach","ranges":[{"startOffset":2510,"endOffset":2691,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEachReverse","ranges":[{"startOffset":2728,"endOffset":2923,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.get","ranges":[{"startOffset":2949,"endOffset":3182,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.getReverse","ranges":[{"startOffset":3215,"endOffset":3448,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.map","ranges":[{"startOffset":3474,"endOffset":3690,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.mapReverse","ranges":[{"startOffset":3723,"endOffset":3939,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduce","ranges":[{"startOffset":3968,"endOffset":4363,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduceReverse","ranges":[{"startOffset":4399,"endOffset":4808,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArray","ranges":[{"startOffset":4838,"endOffset":5018,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArrayReverse","ranges":[{"startOffset":5055,"endOffset":5235,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.slice","ranges":[{"startOffset":5263,"endOffset":5790,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.sliceReverse","ranges":[{"startOffset":5825,"endOffset":6362,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.splice","ranges":[{"startOffset":6391,"endOffset":7034,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reverse","ranges":[{"startOffset":7064,"endOffset":7322,"count":0}],"isBlockCoverage":false},{"functionName":"insert","ranges":[{"startOffset":7324,"endOffset":7643,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":7645,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":7795,"endOffset":7946,"count":0}],"isBlockCoverage":false},{"functionName":"Node","ranges":[{"startOffset":7948,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"559","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/iterator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":30,"endOffset":206,"count":1}],"isBlockCoverage":true},{"functionName":"Yallist.","ranges":[{"startOffset":90,"endOffset":204,"count":0}],"isBlockCoverage":false}]},{"scriptId":"560","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/satisfies.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"satisfies","ranges":[{"startOffset":60,"endOffset":205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"561","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/to-comparators.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":268,"count":1}],"isBlockCoverage":true},{"functionName":"toComparators","ranges":[{"startOffset":115,"endOffset":235,"count":0}],"isBlockCoverage":false}]},{"scriptId":"562","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/max-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":579,"count":1}],"isBlockCoverage":true},{"functionName":"maxSatisfying","ranges":[{"startOffset":109,"endOffset":547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"563","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"minSatisfying","ranges":[{"startOffset":108,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"564","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-version.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"minVersion","ranges":[{"startOffset":144,"endOffset":1471,"count":0}],"isBlockCoverage":false}]},{"scriptId":"565","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":312,"count":1}],"isBlockCoverage":true},{"functionName":"validRange","ranges":[{"startOffset":61,"endOffset":283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"566","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/outside.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2190,"count":1}],"isBlockCoverage":true},{"functionName":"outside","ranges":[{"startOffset":390,"endOffset":2163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"567","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/gtr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":217,"count":1}],"isBlockCoverage":true},{"functionName":"gtr","ranges":[{"startOffset":129,"endOffset":195,"count":0}],"isBlockCoverage":false}]},{"scriptId":"568","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/ltr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":213,"count":1}],"isBlockCoverage":true},{"functionName":"ltr","ranges":[{"startOffset":125,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"569","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/intersects.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true},{"functionName":"intersects","ranges":[{"startOffset":61,"endOffset":181,"count":0}],"isBlockCoverage":false}]},{"scriptId":"570","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/simplify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1341,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":329,"endOffset":1340,"count":0}],"isBlockCoverage":false}]},{"scriptId":"571","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/subset.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7510,"count":1}],"isBlockCoverage":true},{"functionName":"subset","ranges":[{"startOffset":1996,"endOffset":2727,"count":0}],"isBlockCoverage":false},{"functionName":"simpleSubset","ranges":[{"startOffset":2869,"endOffset":6974,"count":0}],"isBlockCoverage":false},{"functionName":"higherGT","ranges":[{"startOffset":7025,"endOffset":7229,"count":0}],"isBlockCoverage":false},{"functionName":"lowerLT","ranges":[{"startOffset":7280,"endOffset":7484,"count":0}],"isBlockCoverage":false}]},{"scriptId":"572","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/property.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6165,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":331,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeComplex","ranges":[{"startOffset":457,"endOffset":572,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":622,"endOffset":708,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePrimitive","ranges":[{"startOffset":756,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"Property","ranges":[{"startOffset":1125,"endOffset":1167,"count":0}],"isBlockCoverage":false},{"functionName":"compareKeys","ranges":[{"startOffset":1171,"endOffset":1692,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1696,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexProperty","ranges":[{"startOffset":2881,"endOffset":2949,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2953,"endOffset":3025,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3029,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3308,"endOffset":3811,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3815,"endOffset":3853,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveProperty","ranges":[{"startOffset":3981,"endOffset":4049,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":4053,"endOffset":4328,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4332,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5018,"endOffset":6023,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6027,"endOffset":6079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"573","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2777,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":329,"endOffset":675,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":705,"endOffset":901,"count":0}],"isBlockCoverage":false},{"functionName":"SymbolValue","ranges":[{"startOffset":1012,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1115,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":1409,"endOffset":1540,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1544,"endOffset":1651,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":1655,"endOffset":1788,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1792,"endOffset":1956,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSymbolValue","ranges":[{"startOffset":2159,"endOffset":2232,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2236,"endOffset":2726,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":2730,"endOffset":2774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"574","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-string-escape/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":644,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":17,"endOffset":643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"575","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/well-known-symbols/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":800,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":672,"endOffset":689,"count":12}],"isBlockCoverage":true},{"functionName":"exports.isWellKnown","ranges":[{"startOffset":715,"endOffset":747,"count":0}],"isBlockCoverage":false},{"functionName":"exports.getLabel","ranges":[{"startOffset":767,"endOffset":799,"count":0}],"isBlockCoverage":false}]},{"scriptId":"576","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/bigInt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":906,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":714,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":718,"endOffset":758,"count":0}],"isBlockCoverage":false}]},{"scriptId":"577","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/boolean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":931,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":286,"count":0}],"isBlockCoverage":false},{"functionName":"BooleanValue","ranges":[{"startOffset":425,"endOffset":473,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":477,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":737,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":741,"endOffset":781,"count":0}],"isBlockCoverage":false}]},{"scriptId":"578","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/null.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":737,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":273,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":406,"endOffset":497,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":501,"endOffset":593,"count":0}],"isBlockCoverage":false}]},{"scriptId":"579","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/number.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":969,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"NumberValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":777,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":781,"endOffset":821,"count":0}],"isBlockCoverage":false}]},{"scriptId":"580","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/undefined.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":421,"endOffset":512,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":516,"endOffset":618,"count":0}],"isBlockCoverage":false}]},{"scriptId":"581","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/shouldCompareDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":573,"count":1}],"isBlockCoverage":true},{"functionName":"shouldCompareDeep","ranges":[{"startOffset":206,"endOffset":537,"count":10},{"startOffset":297,"endOffset":535,"count":0}],"isBlockCoverage":true}]},{"scriptId":"582","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/symbolProperties.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2759,"count":1}],"isBlockCoverage":true},{"functionName":"Comparable","ranges":[{"startOffset":247,"endOffset":348,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":352,"endOffset":533,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":537,"endOffset":1293,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1297,"endOffset":2003,"count":0}],"isBlockCoverage":false},{"functionName":"Collector","ranges":[{"startOffset":2152,"endOffset":2288,"count":0}],"isBlockCoverage":false},{"functionName":"collectAll","ranges":[{"startOffset":2292,"endOffset":2538,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2542,"endOffset":2635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"583","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13805,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":630,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"compareComplexShape","ranges":[{"startOffset":642,"endOffset":1886,"count":0}],"isBlockCoverage":false},{"functionName":"diffDescriptors","ranges":[{"startOffset":1888,"endOffset":13605,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":13649,"endOffset":13784,"count":0}],"isBlockCoverage":false}]},{"scriptId":"584","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Indenter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":360,"count":1}],"isBlockCoverage":true},{"functionName":"Indenter","ranges":[{"startOffset":33,"endOffset":144,"count":1}],"isBlockCoverage":true},{"functionName":"increase","ranges":[{"startOffset":148,"endOffset":216,"count":0}],"isBlockCoverage":false},{"functionName":"decrease","ranges":[{"startOffset":220,"endOffset":288,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":292,"endOffset":331,"count":0}],"isBlockCoverage":false}]},{"scriptId":"585","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/format.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3075,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":241,"endOffset":251,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptor","ranges":[{"startOffset":295,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2953,"endOffset":3050,"count":0}],"isBlockCoverage":false}]},{"scriptId":"586","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/serialize.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12422,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4159,"endOffset":4194,"count":31}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4241,"endOffset":4276,"count":31}],"isBlockCoverage":true},{"functionName":"DescriptorSerializationError","ranges":[{"startOffset":4333,"endOffset":4487,"count":0}],"isBlockCoverage":false},{"functionName":"MissingPluginError","ranges":[{"startOffset":4534,"endOffset":4722,"count":0}],"isBlockCoverage":false},{"functionName":"PointerLookupError","ranges":[{"startOffset":4769,"endOffset":4936,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedPluginError","ranges":[{"startOffset":4987,"endOffset":5271,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedVersion","ranges":[{"startOffset":5373,"endOffset":5576,"count":0}],"isBlockCoverage":false},{"functionName":"shallowSerializeDescriptor","ranges":[{"startOffset":5580,"endOffset":5763,"count":0}],"isBlockCoverage":false},{"functionName":"serializeState","ranges":[{"startOffset":5765,"endOffset":6401,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6403,"endOffset":8213,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeState","ranges":[{"startOffset":8245,"endOffset":8564,"count":0}],"isBlockCoverage":false},{"functionName":"shallowDeserializeDescriptor","ranges":[{"startOffset":8566,"endOffset":8761,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeRecord","ranges":[{"startOffset":8763,"endOffset":9449,"count":0}],"isBlockCoverage":false},{"functionName":"buildPluginMap","ranges":[{"startOffset":9451,"endOffset":10790,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":10792,"endOffset":12387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"587","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/md5-hex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":406,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":66,"endOffset":404,"count":0}],"isBlockCoverage":false}]},{"scriptId":"588","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9570,"count":1}],"isBlockCoverage":true},{"functionName":"encodeInteger","ranges":[{"startOffset":689,"endOffset":828,"count":0}],"isBlockCoverage":false},{"functionName":"encodeValue","ranges":[{"startOffset":830,"endOffset":3045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeValue","ranges":[{"startOffset":3047,"endOffset":5534,"count":0}],"isBlockCoverage":false},{"functionName":"buildBuffer","ranges":[{"startOffset":5536,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6160,"endOffset":7889,"count":0}],"isBlockCoverage":false},{"functionName":"decodePlugins","ranges":[{"startOffset":7915,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"decodeRecord","ranges":[{"startOffset":8465,"endOffset":9182,"count":0}],"isBlockCoverage":false},{"functionName":"extractVersion","ranges":[{"startOffset":9220,"endOffset":9288,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":9330,"endOffset":9545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"589","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/flattenDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"flattenDeep","ranges":[{"startOffset":412,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"590","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFlatten.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1201,"count":1}],"isBlockCoverage":true},{"functionName":"baseFlatten","ranges":[{"startOffset":568,"endOffset":1169,"count":0}],"isBlockCoverage":false}]},{"scriptId":"591","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isFlattenable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1},{"startOffset":208,"endOffset":219,"count":0}],"isBlockCoverage":true},{"functionName":"isFlattenable","ranges":[{"startOffset":430,"endOffset":574,"count":0}],"isBlockCoverage":false}]},{"scriptId":"592","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/pointer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":617,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":63,"endOffset":120,"count":0}],"isBlockCoverage":false},{"functionName":"Pointer","ranges":[{"startOffset":249,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":392,"endOffset":435,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":439,"endOffset":479,"count":0}],"isBlockCoverage":false}]},{"scriptId":"593","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-error/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"isError","ranges":[{"startOffset":160,"endOffset":596,"count":0}],"isBlockCoverage":false}]},{"scriptId":"594","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7961,"count":1},{"startOffset":184,"endOffset":189,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":290,"endOffset":398,"count":70}],"isBlockCoverage":true},{"functionName":"StackUtils","ranges":[{"startOffset":581,"endOffset":1041,"count":1}],"isBlockCoverage":true},{"functionName":"nodeInternals","ranges":[{"startOffset":1052,"endOffset":1099,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":1103,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"captureString","ranges":[{"startOffset":2203,"endOffset":2601,"count":0}],"isBlockCoverage":false},{"functionName":"capture","ranges":[{"startOffset":2605,"endOffset":3178,"count":0}],"isBlockCoverage":false},{"functionName":"at","ranges":[{"startOffset":3182,"endOffset":4236,"count":0}],"isBlockCoverage":false},{"functionName":"parseLine","ranges":[{"startOffset":4240,"endOffset":6388,"count":0}],"isBlockCoverage":false},{"functionName":"setFile","ranges":[{"startOffset":6392,"endOffset":6629,"count":0}],"isBlockCoverage":false},{"functionName":"ignoredPackagesRegExp","ranges":[{"startOffset":6631,"endOffset":6913,"count":1},{"startOffset":6737,"endOffset":6912,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6778,"endOffset":6808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"595","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":236,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":85,"endOffset":234,"count":0}],"isBlockCoverage":false}]},{"scriptId":"596","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/cbor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2598,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":2526,"endOffset":2597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"597","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/commented.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8911,"count":1}],"isBlockCoverage":true},{"functionName":"plural","ranges":[{"startOffset":242,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1621,"endOffset":2061,"count":0}],"isBlockCoverage":false},{"functionName":"Commented","ranges":[{"startOffset":2313,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"_tag_24","ranges":[{"startOffset":3493,"endOffset":3678,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3682,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3766,"endOffset":3890,"count":0}],"isBlockCoverage":false},{"functionName":"comment","ranges":[{"startOffset":4466,"endOffset":5155,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":5184,"endOffset":5277,"count":0}],"isBlockCoverage":false},{"functionName":"_on_read","ranges":[{"startOffset":5306,"endOffset":5625,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":5654,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start_string","ranges":[{"startOffset":6407,"endOffset":6713,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":6742,"endOffset":7824,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":7853,"endOffset":7888,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":7918,"endOffset":8748,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":8777,"endOffset":8880,"count":0}],"isBlockCoverage":false}]},{"scriptId":"598","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8215,"count":1}],"isBlockCoverage":true},{"functionName":"exports.utf8","ranges":[{"startOffset":492,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":546,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"isBufferish","ranges":[{"startOffset":823,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"bufferishToBuffer","ranges":[{"startOffset":1098,"endOffset":1356,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORint","ranges":[{"startOffset":1381,"endOffset":1905,"count":0}],"isBlockCoverage":false},{"functionName":"writeHalf","ranges":[{"startOffset":1927,"endOffset":4036,"count":0}],"isBlockCoverage":false},{"functionName":"parseHalf","ranges":[{"startOffset":4058,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORfloat","ranges":[{"startOffset":4418,"endOffset":4687,"count":0}],"isBlockCoverage":false},{"functionName":"hex","ranges":[{"startOffset":4703,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"bin","ranges":[{"startOffset":4788,"endOffset":5042,"count":0}],"isBlockCoverage":false},{"functionName":"arrayEqual","ranges":[{"startOffset":5065,"endOffset":5279,"count":0}],"isBlockCoverage":false},{"functionName":"bufferToBigInt","ranges":[{"startOffset":5306,"endOffset":5382,"count":0}],"isBlockCoverage":false},{"functionName":"cborValueToString","ranges":[{"startOffset":5412,"endOffset":7059,"count":0}],"isBlockCoverage":false},{"functionName":"guessEncoding","ranges":[{"startOffset":7085,"endOffset":7418,"count":0}],"isBlockCoverage":false},{"functionName":"base64url","ranges":[{"startOffset":7657,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"base64","ranges":[{"startOffset":7965,"endOffset":8048,"count":0}],"isBlockCoverage":false},{"functionName":"isBigEndian","ranges":[{"startOffset":8072,"endOffset":8214,"count":0}],"isBlockCoverage":false}]},{"scriptId":"599","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nofilter/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28585,"count":1}],"isBlockCoverage":true},{"functionName":"NoFilter","ranges":[{"startOffset":3473,"endOffset":5501,"count":0}],"isBlockCoverage":false},{"functionName":"isNoFilter","ranges":[{"startOffset":5664,"endOffset":5716,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":6159,"endOffset":6351,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":7149,"endOffset":8408,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":8437,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"_bufArray","ranges":[{"startOffset":8811,"endOffset":9199,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":9982,"endOffset":10504,"count":0}],"isBlockCoverage":false},{"functionName":"readFull","ranges":[{"startOffset":10957,"endOffset":12088,"count":0}],"isBlockCoverage":false},{"functionName":"promise","ranges":[{"startOffset":12421,"endOffset":12847,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":13163,"endOffset":13614,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":13827,"endOffset":13883,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":14414,"endOffset":14924,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":15137,"endOffset":15184,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":15588,"endOffset":15702,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16207,"endOffset":16468,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16497,"endOffset":16823,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":16931,"endOffset":17040,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt","ranges":[{"startOffset":17265,"endOffset":17670,"count":0}],"isBlockCoverage":false},{"functionName":"readUBigInt","ranges":[{"startOffset":17884,"endOffset":18034,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt","ranges":[{"startOffset":18276,"endOffset":18596,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":18759,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19026,"endOffset":19133,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":19315,"endOffset":19422,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19609,"endOffset":19716,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":19900,"endOffset":20007,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":20172,"endOffset":20253,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":20438,"endOffset":20544,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":20726,"endOffset":20832,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":21021,"endOffset":21127,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":21313,"endOffset":21419,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatLE","ranges":[{"startOffset":21592,"endOffset":21697,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBE","ranges":[{"startOffset":21867,"endOffset":21972,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleLE","ranges":[{"startOffset":22146,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBE","ranges":[{"startOffset":22423,"endOffset":22530,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":22705,"endOffset":22816,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":22988,"endOffset":23099,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":23290,"endOffset":23403,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":23591,"endOffset":23704,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":23831,"endOffset":23955,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":24101,"endOffset":24231,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":24377,"endOffset":24507,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":24653,"endOffset":24783,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":24929,"endOffset":25059,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":25183,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":25449,"endOffset":25577,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":25721,"endOffset":25849,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":25993,"endOffset":26121,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":26265,"endOffset":26393,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatLE","ranges":[{"startOffset":26528,"endOffset":26656,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBE","ranges":[{"startOffset":26788,"endOffset":26916,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleLE","ranges":[{"startOffset":27051,"endOffset":27181,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBE","ranges":[{"startOffset":27313,"endOffset":27443,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":27586,"endOffset":27720,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":27860,"endOffset":27994,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":28140,"endOffset":28276,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":28419,"endOffset":28555,"count":0}],"isBlockCoverage":false}]},{"scriptId":"600","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1352,"count":1}],"isBlockCoverage":true}]},{"scriptId":"601","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/decoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20596,"count":1}],"isBlockCoverage":true},{"functionName":"parentArray","ranges":[{"startOffset":508,"endOffset":641,"count":0}],"isBlockCoverage":false},{"functionName":"parentBufferStream","ranges":[{"startOffset":643,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"UnexpectedDataError","ranges":[{"startOffset":831,"endOffset":996,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":3420,"endOffset":3794,"count":0}],"isBlockCoverage":false},{"functionName":"Decoder","ranges":[{"startOffset":4237,"endOffset":4930,"count":0}],"isBlockCoverage":false},{"functionName":"nullcheck","ranges":[{"startOffset":5301,"endOffset":5710,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirstSync","ranges":[{"startOffset":6389,"endOffset":7548,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAllSync","ranges":[{"startOffset":8073,"endOffset":8838,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirst","ranges":[{"startOffset":9562,"endOffset":11046,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAll","ranges":[{"startOffset":11770,"endOffset":12395,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12433,"endOffset":12495,"count":0}],"isBlockCoverage":false},{"functionName":"_onRead","ranges":[{"startOffset":12574,"endOffset":12625,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":12867,"endOffset":20537,"count":0}],"isBlockCoverage":false}]},{"scriptId":"602","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/vendor/binary-parse-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2692,"count":1}],"isBlockCoverage":true},{"functionName":"BinaryParseStream","ranges":[{"startOffset":1100,"endOffset":1513,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1517,"endOffset":2086,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":2331,"endOffset":2462,"count":0}],"isBlockCoverage":false},{"functionName":"__restart","ranges":[{"startOffset":2466,"endOffset":2566,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":2570,"endOffset":2653,"count":0}],"isBlockCoverage":false}]},{"scriptId":"603","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/tagged.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10762,"count":1},{"startOffset":7721,"endOffset":7750,"count":19}],"isBlockCoverage":true},{"functionName":"setBuffersToJSON","ranges":[{"startOffset":135,"endOffset":954,"count":0}],"isBlockCoverage":false},{"functionName":"b64this","ranges":[{"startOffset":956,"endOffset":1052,"count":0}],"isBlockCoverage":false},{"functionName":"b64urlThis","ranges":[{"startOffset":1054,"endOffset":1156,"count":0}],"isBlockCoverage":false},{"functionName":"hexThis","ranges":[{"startOffset":1158,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"swapEndian","ranges":[{"startOffset":1258,"endOffset":1667,"count":0}],"isBlockCoverage":false},{"functionName":"0","ranges":[{"startOffset":2409,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"1","ranges":[{"startOffset":2478,"endOffset":2501,"count":0}],"isBlockCoverage":false},{"functionName":"2","ranges":[{"startOffset":2548,"endOffset":2576,"count":0}],"isBlockCoverage":false},{"functionName":"3","ranges":[{"startOffset":2623,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"21","ranges":[{"startOffset":2752,"endOffset":2911,"count":0}],"isBlockCoverage":false},{"functionName":"22","ranges":[{"startOffset":2984,"endOffset":3137,"count":0}],"isBlockCoverage":false},{"functionName":"23","ranges":[{"startOffset":3218,"endOffset":3371,"count":0}],"isBlockCoverage":false},{"functionName":"32","ranges":[{"startOffset":3409,"endOffset":3424,"count":0}],"isBlockCoverage":false},{"functionName":"33","ranges":[{"startOffset":3468,"endOffset":4627,"count":0}],"isBlockCoverage":false},{"functionName":"34","ranges":[{"startOffset":4668,"endOffset":5867,"count":0}],"isBlockCoverage":false},{"functionName":"35","ranges":[{"startOffset":5920,"endOffset":5938,"count":0}],"isBlockCoverage":false},{"functionName":"258","ranges":[{"startOffset":6027,"endOffset":6042,"count":0}],"isBlockCoverage":false},{"functionName":"_toTypedArray","ranges":[{"startOffset":7009,"endOffset":7672,"count":0}],"isBlockCoverage":false},{"functionName":"Tagged","ranges":[{"startOffset":8277,"endOffset":8615,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":8619,"endOffset":8856,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":8953,"endOffset":9025,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":9189,"endOffset":9272,"count":0}],"isBlockCoverage":false},{"functionName":"convert","ranges":[{"startOffset":9824,"endOffset":10302,"count":0}],"isBlockCoverage":false},{"functionName":"get TAGS","ranges":[{"startOffset":10432,"endOffset":10472,"count":0}],"isBlockCoverage":false},{"functionName":"set TAGS","ranges":[{"startOffset":10483,"endOffset":10525,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":10642,"endOffset":10683,"count":1}],"isBlockCoverage":true}]},{"scriptId":"604","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/simple.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2695,"count":1}],"isBlockCoverage":true},{"functionName":"Simple","ranges":[{"startOffset":268,"endOffset":567,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":683,"endOffset":734,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":930,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":1190,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"isSimple","ranges":[{"startOffset":1403,"endOffset":1455,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":2071,"endOffset":2667,"count":0}],"isBlockCoverage":false}]},{"scriptId":"605","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/diagnose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6617,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeOptions","ranges":[{"startOffset":1886,"endOffset":2262,"count":0}],"isBlockCoverage":false},{"functionName":"Diagnose","ranges":[{"startOffset":2529,"endOffset":3414,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3418,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3509,"endOffset":3707,"count":0}],"isBlockCoverage":false},{"functionName":"diagnose","ranges":[{"startOffset":4122,"endOffset":4775,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":4804,"endOffset":4932,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":4954,"endOffset":5115,"count":0}],"isBlockCoverage":false},{"functionName":"_fore","ranges":[{"startOffset":5137,"endOffset":5507,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":5529,"endOffset":5751,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":5773,"endOffset":6194,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":6216,"endOffset":6519,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":6541,"endOffset":6587,"count":0}],"isBlockCoverage":false}]},{"scriptId":"606","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31613,"count":1}],"isBlockCoverage":true},{"functionName":"parseDateType","ranges":[{"startOffset":1747,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"Encoder","ranges":[{"startOffset":4631,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":6051,"endOffset":6261,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":6318,"endOffset":6350,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt8","ranges":[{"startOffset":6470,"endOffset":6576,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt16BE","ranges":[{"startOffset":6698,"endOffset":6810,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt32BE","ranges":[{"startOffset":6935,"endOffset":7047,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloatBE","ranges":[{"startOffset":7176,"endOffset":7286,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDoubleBE","ranges":[{"startOffset":7416,"endOffset":7528,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNaN","ranges":[{"startOffset":7598,"endOffset":7644,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInfinity","ranges":[{"startOffset":7770,"endOffset":7876,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloat","ranges":[{"startOffset":8142,"endOffset":9321,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInt","ranges":[{"startOffset":10074,"endOffset":10925,"count":0}],"isBlockCoverage":false},{"functionName":"_pushIntNum","ranges":[{"startOffset":11192,"endOffset":11409,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNumber","ranges":[{"startOffset":11531,"endOffset":11787,"count":0}],"isBlockCoverage":false},{"functionName":"_pushString","ranges":[{"startOffset":11900,"endOffset":12041,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoolean","ranges":[{"startOffset":12153,"endOffset":12223,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUndefined","ranges":[{"startOffset":12330,"endOffset":12752,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNull","ranges":[{"startOffset":12854,"endOffset":12907,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTag","ranges":[{"startOffset":13024,"endOffset":13081,"count":0}],"isBlockCoverage":false},{"functionName":"_pushJSBigint","ranges":[{"startOffset":13194,"endOffset":13960,"count":0}],"isBlockCoverage":false},{"functionName":"_pushObject","ranges":[{"startOffset":14109,"endOffset":16394,"count":0}],"isBlockCoverage":false},{"functionName":"_encodeAll","ranges":[{"startOffset":16551,"endOffset":16756,"count":0}],"isBlockCoverage":false},{"functionName":"addSemanticType","ranges":[{"startOffset":17172,"endOffset":17565,"count":0}],"isBlockCoverage":false},{"functionName":"pushAny","ranges":[{"startOffset":17771,"endOffset":18684,"count":0}],"isBlockCoverage":false},{"functionName":"pushArray","ranges":[{"startOffset":18990,"endOffset":19516,"count":0}],"isBlockCoverage":false},{"functionName":"removeLoopDetectors","ranges":[{"startOffset":19662,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDate","ranges":[{"startOffset":19947,"endOffset":20619,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBuffer","ranges":[{"startOffset":20774,"endOffset":20870,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNoFilter","ranges":[{"startOffset":21027,"endOffset":21129,"count":0}],"isBlockCoverage":false},{"functionName":"_pushRegexp","ranges":[{"startOffset":21284,"endOffset":21374,"count":0}],"isBlockCoverage":false},{"functionName":"_pushSet","ranges":[{"startOffset":21523,"endOffset":21783,"count":0}],"isBlockCoverage":false},{"functionName":"_pushURL","ranges":[{"startOffset":21932,"endOffset":22020,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoxed","ranges":[{"startOffset":22208,"endOffset":22272,"count":0}],"isBlockCoverage":false},{"functionName":"_pushMap","ranges":[{"startOffset":22469,"endOffset":24462,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTypedArray","ranges":[{"startOffset":24627,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"_pushArrayBuffer","ranges":[{"startOffset":25460,"endOffset":25546,"count":0}],"isBlockCoverage":false},{"functionName":"encodeIndefinite","ranges":[{"startOffset":26458,"endOffset":28127,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":28344,"endOffset":28407,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCanonical","ranges":[{"startOffset":28646,"endOffset":28748,"count":0}],"isBlockCoverage":false},{"functionName":"encodeOne","ranges":[{"startOffset":29014,"endOffset":29093,"count":0}],"isBlockCoverage":false},{"functionName":"encodeAsync","ranges":[{"startOffset":29664,"endOffset":29981,"count":0}],"isBlockCoverage":false},{"functionName":"get SEMANTIC_TYPES","ranges":[{"startOffset":30115,"endOffset":30175,"count":0}],"isBlockCoverage":false},{"functionName":"set SEMANTIC_TYPES","ranges":[{"startOffset":30186,"endOffset":30248,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":30375,"endOffset":30437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"607","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5186,"count":1}],"isBlockCoverage":true},{"functionName":"CborMap","ranges":[{"startOffset":952,"endOffset":999,"count":0}],"isBlockCoverage":false},{"functionName":"_encode","ranges":[{"startOffset":1035,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_decode","ranges":[{"startOffset":1148,"endOffset":1216,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1501,"endOffset":1558,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":1874,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":2283,"endOffset":2346,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":2687,"endOffset":2744,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":2978,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":3366,"endOffset":3472,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3725,"endOffset":3776,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":4173,"endOffset":4393,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":4557,"endOffset":5157,"count":0}],"isBlockCoverage":false}]},{"scriptId":"608","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/map-age-cleaner/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3903,"count":1}],"isBlockCoverage":true},{"functionName":"__awaiter","ranges":[{"startOffset":58,"endOffset":613,"count":0}],"isBlockCoverage":false},{"functionName":"__importDefault","ranges":[{"startOffset":671,"endOffset":752,"count":1},{"startOffset":723,"endOffset":728,"count":0}],"isBlockCoverage":true},{"functionName":"mapAgeCleaner","ranges":[{"startOffset":872,"endOffset":3774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"609","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-defer/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":177,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"610","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6750,"count":1}],"isBlockCoverage":true},{"functionName":"getId","ranges":[{"startOffset":492,"endOffset":749,"count":1},{"startOffset":664,"endOffset":747,"count":0}],"isBlockCoverage":true},{"functionName":"getTmpname","ranges":[{"startOffset":774,"endOffset":976,"count":0}],"isBlockCoverage":false},{"functionName":"cleanupOnExit","ranges":[{"startOffset":978,"endOffset":1161,"count":0}],"isBlockCoverage":false},{"functionName":"serializeActiveFile","ranges":[{"startOffset":1163,"endOffset":1550,"count":0}],"isBlockCoverage":false},{"functionName":"isChownErrOk","ranges":[{"startOffset":1633,"endOffset":1894,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileAsync","ranges":[{"startOffset":1896,"endOffset":4304,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4306,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":4680,"endOffset":6749,"count":0}],"isBlockCoverage":false}]},{"scriptId":"611","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/imurmurhash/imurmurhash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4412,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":443,"endOffset":4407,"count":1},{"startOffset":4352,"endOffset":4405,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3","ranges":[{"startOffset":811,"endOffset":1083,"count":1},{"startOffset":896,"endOffset":903,"count":0},{"startOffset":963,"endOffset":980,"count":0},{"startOffset":982,"endOffset":1018,"count":0},{"startOffset":1044,"endOffset":1077,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3.hash","ranges":[{"startOffset":1254,"endOffset":3073,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.result","ranges":[{"startOffset":3193,"endOffset":3797,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.reset","ranges":[{"startOffset":3937,"endOffset":4078,"count":1},{"startOffset":3997,"endOffset":4003,"count":0}],"isBlockCoverage":true}]},{"scriptId":"612","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9435,"count":1},{"startOffset":8597,"endOffset":8623,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":518,"endOffset":562,"count":0}],"isBlockCoverage":false},{"functionName":"processOk","ranges":[{"startOffset":585,"endOffset":952,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1130,"endOffset":2434,"count":1}],"isBlockCoverage":true},{"functionName":"Emitter","ranges":[{"startOffset":1325,"endOffset":1616,"count":1},{"startOffset":1375,"endOffset":1427,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":1621,"endOffset":1676,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":1681,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2045,"endOffset":2432,"count":0}],"isBlockCoverage":false},{"functionName":"signalExitWrap","ranges":[{"startOffset":2483,"endOffset":2732,"count":1}],"isBlockCoverage":true},{"functionName":"onExit","ranges":[{"startOffset":2519,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2602,"endOffset":2655,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2665,"endOffset":2722,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":2788,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2835,"endOffset":2845,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2850,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2865,"endOffset":8403,"count":1},{"startOffset":3070,"endOffset":3080,"count":0}],"isBlockCoverage":true},{"functionName":"SignalExit","ranges":[{"startOffset":3269,"endOffset":5206,"count":1},{"startOffset":3467,"endOffset":5088,"count":17}],"isBlockCoverage":true},{"functionName":"SignalExit.#sigListeners.","ranges":[{"startOffset":3507,"endOffset":5077,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":5211,"endOffset":5804,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5809,"endOffset":6637,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":6642,"endOffset":7393,"count":0}],"isBlockCoverage":false},{"functionName":"#processReallyExit","ranges":[{"startOffset":7398,"endOffset":7764,"count":0}],"isBlockCoverage":false},{"functionName":"#processEmit","ranges":[{"startOffset":7769,"endOffset":8401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"613","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1560,"count":1}],"isBlockCoverage":true}]},{"scriptId":"614","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/irregular-plurals/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":137,"count":1}],"isBlockCoverage":true}]},{"scriptId":"615","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/state.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":150,"count":1}],"isBlockCoverage":true}]},{"scriptId":"616","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/channel.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7151,"count":1},{"startOffset":2661,"endOffset":2770,"count":0}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":303,"endOffset":1131,"count":2},{"startOffset":747,"endOffset":1129,"count":0}],"isBlockCoverage":true},{"functionName":"addToBuffer","ranges":[{"startOffset":510,"endOffset":540,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":975,"endOffset":1022,"count":0}],"isBlockCoverage":false},{"functionName":"selectAvaMessage","ranges":[{"startOffset":1159,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1167,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"RefCounter","ranges":[{"startOffset":1241,"endOffset":1277,"count":1}],"isBlockCoverage":true},{"functionName":"refAndTest","ranges":[{"startOffset":1280,"endOffset":1326,"count":2}],"isBlockCoverage":true},{"functionName":"testAndUnref","ranges":[{"startOffset":1329,"endOffset":1395,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortHandle","ranges":[{"startOffset":1426,"endOffset":1746,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1719,"endOffset":1727,"count":0}],"isBlockCoverage":false},{"functionName":"forceUnref","ranges":[{"startOffset":1749,"endOffset":1899,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":1902,"endOffset":2040,"count":2}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":2043,"endOffset":2179,"count":2}],"isBlockCoverage":true},{"functionName":"send","ranges":[{"startOffset":2182,"endOffset":2264,"count":51}],"isBlockCoverage":true},{"functionName":"IpcHandle","ranges":[{"startOffset":2287,"endOffset":2409,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":2412,"endOffset":2487,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":2490,"endOffset":2571,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2574,"endOffset":2616,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3157,"endOffset":3187,"count":0}],"isBlockCoverage":false},{"functionName":"flush","ranges":[{"startOffset":3456,"endOffset":3749,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3531,"endOffset":3704,"count":1}],"isBlockCoverage":true},{"functionName":"createChannelEmitter","ranges":[{"startOffset":3859,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"registerSharedWorker","ranges":[{"startOffset":4406,"endOffset":7096,"count":0}],"isBlockCoverage":false}]},{"scriptId":"617","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/utils.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true}]},{"scriptId":"618","url":"node:internal/modules/esm/initialize_import_meta","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1960,"count":1}],"isBlockCoverage":false},{"functionName":"createImportMetaResolve","ranges":[{"startOffset":617,"endOffset":1368,"count":3}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":880,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"initializeImportMeta","ranges":[{"startOffset":1633,"endOffset":1912,"count":3}],"isBlockCoverage":true}]},{"scriptId":"619","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/options.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":278,"count":1}],"isBlockCoverage":true},{"functionName":"exports.get","ranges":[{"startOffset":48,"endOffset":147,"count":0}],"isBlockCoverage":false},{"functionName":"exports.set","ranges":[{"startOffset":164,"endOffset":276,"count":1},{"startOffset":194,"endOffset":250,"count":0}],"isBlockCoverage":true}]},{"scriptId":"620","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-event/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6062,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeEmitter","ranges":[{"startOffset":60,"endOffset":453,"count":3},{"startOffset":105,"endOffset":127,"count":0},{"startOffset":128,"endOffset":155,"count":0},{"startOffset":193,"endOffset":218,"count":0},{"startOffset":219,"endOffset":249,"count":0},{"startOffset":290,"endOffset":346,"count":0}],"isBlockCoverage":true},{"functionName":"pEventMultiple","ranges":[{"startOffset":463,"endOffset":2125,"count":3},{"startOffset":1994,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":560,"endOffset":1917,"count":3},{"startOffset":812,"endOffset":892,"count":0},{"startOffset":1890,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"onItem","ranges":[{"startOffset":1060,"endOffset":1389,"count":3},{"startOffset":1116,"endOffset":1128,"count":0},{"startOffset":1263,"endOffset":1281,"count":2},{"startOffset":1281,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"rejectHandler","ranges":[{"startOffset":1416,"endOffset":1461,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":1475,"endOffset":1675,"count":1}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":2134,"endOffset":2551,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2421,"endOffset":2438,"count":1}],"isBlockCoverage":true},{"functionName":"pEventIterator","ranges":[{"startOffset":2560,"endOffset":6020,"count":0}],"isBlockCoverage":false}]},{"scriptId":"621","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@ava/typescript/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8330,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":352,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"validate","ranges":[{"startOffset":478,"endOffset":1131,"count":0}],"isBlockCoverage":false},{"functionName":"compileTypeScript","ranges":[{"startOffset":1133,"endOffset":1260,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1321,"endOffset":1393,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1436,"endOffset":1654,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1696,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"typescriptProvider","ranges":[{"startOffset":2093,"endOffset":8329,"count":1},{"startOffset":2251,"endOffset":2265,"count":0}],"isBlockCoverage":true},{"functionName":"main","ranges":[{"startOffset":2279,"endOffset":7324,"count":0}],"isBlockCoverage":false},{"functionName":"worker","ranges":[{"startOffset":7329,"endOffset":8322,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7526,"endOffset":7556,"count":3}],"isBlockCoverage":true},{"functionName":"canLoad","ranges":[{"startOffset":7591,"endOffset":7707,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7667,"endOffset":7699,"count":2}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":7714,"endOffset":8311,"count":1},{"startOffset":7935,"endOffset":8023,"count":0},{"startOffset":8055,"endOffset":8118,"count":0},{"startOffset":8247,"endOffset":8281,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7787,"endOffset":7819,"count":2}],"isBlockCoverage":true}]},{"scriptId":"622","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-timeout/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2513,"count":1}],"isBlockCoverage":true},{"functionName":"TimeoutError","ranges":[{"startOffset":43,"endOffset":116,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":315,"endOffset":405,"count":0}],"isBlockCoverage":false},{"functionName":"getDOMException","ranges":[{"startOffset":516,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"getAbortedReason","ranges":[{"startOffset":755,"endOffset":951,"count":0}],"isBlockCoverage":false},{"functionName":"pTimeout","ranges":[{"startOffset":969,"endOffset":2512,"count":0}],"isBlockCoverage":false}]},{"scriptId":"623","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7897,"count":1}],"isBlockCoverage":true},{"functionName":"getEnv","ranges":[{"startOffset":955,"endOffset":1187,"count":0}],"isBlockCoverage":false},{"functionName":"handleArguments","ranges":[{"startOffset":1214,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"handleOutput","ranges":[{"startOffset":1965,"endOffset":2268,"count":0}],"isBlockCoverage":false},{"functionName":"execa","ranges":[{"startOffset":2278,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"execaSync","ranges":[{"startOffset":4687,"endOffset":6032,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptStdin","ranges":[{"startOffset":6063,"endOffset":6191,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptOptions","ranges":[{"startOffset":6225,"endOffset":6316,"count":0}],"isBlockCoverage":false},{"functionName":"create$","ranges":[{"startOffset":6319,"endOffset":6973,"count":1}],"isBlockCoverage":true},{"functionName":"$","ranges":[{"startOffset":6348,"endOffset":6640,"count":0}],"isBlockCoverage":false},{"functionName":"$.sync","ranges":[{"startOffset":6652,"endOffset":6958,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommand","ranges":[{"startOffset":7011,"endOffset":7138,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommandSync","ranges":[{"startOffset":7147,"endOffset":7282,"count":0}],"isBlockCoverage":false},{"functionName":"execaNode","ranges":[{"startOffset":7291,"endOffset":7896,"count":0}],"isBlockCoverage":false}]},{"scriptId":"624","url":"node:child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27198,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1936,"endOffset":1965,"count":0}],"isBlockCoverage":false},{"functionName":"fork","ranges":[{"startOffset":3430,"endOffset":5105,"count":0}],"isBlockCoverage":false},{"functionName":"_forkChild","ranges":[{"startOffset":5107,"endOffset":5596,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecArgs","ranges":[{"startOffset":5598,"endOffset":6112,"count":0}],"isBlockCoverage":false},{"functionName":"exec","ranges":[{"startOffset":6649,"endOffset":6896,"count":0}],"isBlockCoverage":false},{"functionName":"customPromiseExecFunction","ranges":[{"startOffset":6932,"endOffset":7296,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6953,"endOffset":7293,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecFileArgs","ranges":[{"startOffset":7433,"endOffset":8331,"count":0}],"isBlockCoverage":false},{"functionName":"execFile","ranges":[{"startOffset":8944,"endOffset":13708,"count":0}],"isBlockCoverage":false},{"functionName":"copyProcessEnvToEnv","ranges":[{"startOffset":13852,"endOffset":14052,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeSpawnArguments","ranges":[{"startOffset":14054,"endOffset":19321,"count":0}],"isBlockCoverage":false},{"functionName":"abortChildProcess","ranges":[{"startOffset":19323,"endOffset":19579,"count":0}],"isBlockCoverage":false},{"functionName":"spawn","ranges":[{"startOffset":20134,"endOffset":21334,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":22094,"endOffset":23602,"count":0}],"isBlockCoverage":false},{"functionName":"checkExecSyncError","ranges":[{"startOffset":23605,"endOffset":23991,"count":0}],"isBlockCoverage":false},{"functionName":"execFileSync","ranges":[{"startOffset":24504,"endOffset":24968,"count":0}],"isBlockCoverage":false},{"functionName":"execSync","ranges":[{"startOffset":25466,"endOffset":25842,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentNullCheck","ranges":[{"startOffset":25845,"endOffset":26068,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentsNullCheck","ranges":[{"startOffset":26071,"endOffset":26233,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":26236,"endOffset":26424,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBuffer","ranges":[{"startOffset":26427,"endOffset":26700,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeKillSignal","ranges":[{"startOffset":26703,"endOffset":27066,"count":0}],"isBlockCoverage":false}]},{"scriptId":"625","url":"node:internal/child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31777,"count":1}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2500,"endOffset":2559,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2566,"endOffset":2620,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2682,"endOffset":2749,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2756,"endOffset":2897,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2927,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"postSend","ranges":[{"startOffset":4488,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5241,"endOffset":5698,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5763,"endOffset":5822,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5829,"endOffset":5883,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5948,"endOffset":6068,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":6075,"endOffset":6234,"count":0}],"isBlockCoverage":false},{"functionName":"stdioStringToArray","ranges":[{"startOffset":6245,"endOffset":6660,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess","ranges":[{"startOffset":6662,"endOffset":8151,"count":0}],"isBlockCoverage":false},{"functionName":"flushStdio","ranges":[{"startOffset":8274,"endOffset":8752,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":8755,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"getHandleWrapType","ranges":[{"startOffset":8848,"endOffset":9077,"count":0}],"isBlockCoverage":false},{"functionName":"closePendingHandle","ranges":[{"startOffset":9079,"endOffset":9192,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.spawn","ranges":[{"startOffset":9226,"endOffset":12793,"count":0}],"isBlockCoverage":false},{"functionName":"onErrorNT","ranges":[{"startOffset":12797,"endOffset":12858,"count":0}],"isBlockCoverage":false},{"functionName":"onSpawnNT","ranges":[{"startOffset":12861,"endOffset":12911,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.kill","ranges":[{"startOffset":12944,"endOffset":13609,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.","ranges":[{"startOffset":13652,"endOffset":13709,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.ref","ranges":[{"startOffset":13742,"endOffset":13796,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.unref","ranges":[{"startOffset":13831,"endOffset":13887,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13890,"endOffset":14887,"count":0}],"isBlockCoverage":false},{"functionName":"setupChannel","ranges":[{"startOffset":15035,"endOffset":27155,"count":0}],"isBlockCoverage":false},{"functionName":"isInternal","ranges":[{"startOffset":27190,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"getValidStdio","ranges":[{"startOffset":27534,"endOffset":30459,"count":0}],"isBlockCoverage":false},{"functionName":"getSocketList","ranges":[{"startOffset":30462,"endOffset":30778,"count":0}],"isBlockCoverage":false},{"functionName":"maybeClose","ranges":[{"startOffset":30781,"endOffset":30982,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":30984,"endOffset":31651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"626","url":"node:dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28253,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCluster","ranges":[{"startOffset":2824,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":3031,"endOffset":4459,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":4570,"endOffset":4648,"count":0}],"isBlockCoverage":false},{"functionName":"startListening","ranges":[{"startOffset":4651,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"replaceHandle","ranges":[{"startOffset":5096,"endOffset":5661,"count":0}],"isBlockCoverage":false},{"functionName":"bufferSize","ranges":[{"startOffset":5663,"endOffset":5955,"count":0}],"isBlockCoverage":false},{"functionName":"bindServerHandle","ranges":[{"startOffset":6023,"endOffset":6433,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.bind","ranges":[{"startOffset":6459,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":9932,"endOffset":10728,"count":0}],"isBlockCoverage":false},{"functionName":"_connect","ranges":[{"startOffset":10732,"endOffset":11078,"count":0}],"isBlockCoverage":false},{"functionName":"doConnect","ranges":[{"startOffset":11081,"endOffset":11723,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.disconnect","ranges":[{"startOffset":11756,"endOffset":12063,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.sendto","ranges":[{"startOffset":12168,"endOffset":12609,"count":0}],"isBlockCoverage":false},{"functionName":"sliceBuffer","ranges":[{"startOffset":12613,"endOffset":13373,"count":0}],"isBlockCoverage":false},{"functionName":"fixBufferList","ranges":[{"startOffset":13376,"endOffset":13760,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":13763,"endOffset":14190,"count":0}],"isBlockCoverage":false},{"functionName":"onListenSuccess","ranges":[{"startOffset":14193,"endOffset":14331,"count":0}],"isBlockCoverage":false},{"functionName":"onListenError","ranges":[{"startOffset":14334,"endOffset":14458,"count":0}],"isBlockCoverage":false},{"functionName":"clearQueue","ranges":[{"startOffset":14461,"endOffset":14658,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.send","ranges":[{"startOffset":15229,"endOffset":18122,"count":0}],"isBlockCoverage":false},{"functionName":"doSend","ranges":[{"startOffset":18125,"endOffset":19264,"count":0}],"isBlockCoverage":false},{"functionName":"afterSend","ranges":[{"startOffset":19266,"endOffset":19443,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.close","ranges":[{"startOffset":19470,"endOffset":20038,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":20080,"endOffset":20213,"count":0}],"isBlockCoverage":false},{"functionName":"socketCloseNT","ranges":[{"startOffset":20217,"endOffset":20271,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":20301,"endOffset":20491,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.remoteAddress","ranges":[{"startOffset":20527,"endOffset":20837,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setBroadcast","ranges":[{"startOffset":20873,"endOffset":21021,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setTTL","ranges":[{"startOffset":21051,"endOffset":21225,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastTTL","ranges":[{"startOffset":21264,"endOffset":21456,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastLoopback","ranges":[{"startOffset":21500,"endOffset":21700,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastInterface","ranges":[{"startOffset":21745,"endOffset":22007,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addMembership","ranges":[{"startOffset":22043,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropMembership","ranges":[{"startOffset":22455,"endOffset":22832,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addSourceSpecificMembership","ranges":[{"startOffset":22882,"endOffset":23489,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropSourceSpecificMembership","ranges":[{"startOffset":23541,"endOffset":24154,"count":0}],"isBlockCoverage":false},{"functionName":"healthCheck","ranges":[{"startOffset":24158,"endOffset":24321,"count":0}],"isBlockCoverage":false},{"functionName":"stopReceiving","ranges":[{"startOffset":24324,"endOffset":24488,"count":0}],"isBlockCoverage":false},{"functionName":"onMessage","ranges":[{"startOffset":24491,"endOffset":24745,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":24748,"endOffset":24863,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":24889,"endOffset":24996,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":25025,"endOffset":25134,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setRecvBufferSize","ranges":[{"startOffset":25175,"endOffset":25232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setSendBufferSize","ranges":[{"startOffset":25273,"endOffset":25330,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getRecvBufferSize","ranges":[{"startOffset":25371,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendBufferSize","ranges":[{"startOffset":25469,"endOffset":25526,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueSize","ranges":[{"startOffset":25565,"endOffset":25634,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueCount","ranges":[{"startOffset":25674,"endOffset":25744,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25863,"endOffset":25917,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25990,"endOffset":26046,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26199,"endOffset":26256,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26332,"endOffset":26391,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26547,"endOffset":26604,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26680,"endOffset":26739,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26891,"endOffset":26944,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27016,"endOffset":27071,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27223,"endOffset":27280,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27356,"endOffset":27415,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27522,"endOffset":27557,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27666,"endOffset":27703,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27988,"endOffset":28024,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":28028,"endOffset":28069,"count":0}],"isBlockCoverage":false}]},{"scriptId":"627","url":"node:internal/dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1851,"count":1}],"isBlockCoverage":false},{"functionName":"lookup4","ranges":[{"startOffset":478,"endOffset":579,"count":0}],"isBlockCoverage":false},{"functionName":"lookup6","ranges":[{"startOffset":582,"endOffset":677,"count":0}],"isBlockCoverage":false},{"functionName":"newHandle","ranges":[{"startOffset":679,"endOffset":1323,"count":0}],"isBlockCoverage":false},{"functionName":"_createSocketHandle","ranges":[{"startOffset":1326,"endOffset":1774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"628","url":"node:internal/socket_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2709,"count":1}],"isBlockCoverage":false},{"functionName":"SocketListSend","ranges":[{"startOffset":235,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"_request","ranges":[{"startOffset":380,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":1039,"endOffset":1190,"count":0}],"isBlockCoverage":false},{"functionName":"getConnections","ranges":[{"startOffset":1194,"endOffset":1430,"count":0}],"isBlockCoverage":false},{"functionName":"SocketListReceive","ranges":[{"startOffset":1544,"endOffset":2404,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":2408,"endOffset":2649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"629","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/strip-final-newline/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":347,"count":1}],"isBlockCoverage":true},{"functionName":"stripFinalNewline","ranges":[{"startOffset":15,"endOffset":346,"count":0}],"isBlockCoverage":false}]},{"scriptId":"630","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":938,"count":1}],"isBlockCoverage":true},{"functionName":"npmRunPath","ranges":[{"startOffset":134,"endOffset":741,"count":0}],"isBlockCoverage":false},{"functionName":"npmRunPathEnv","ranges":[{"startOffset":750,"endOffset":937,"count":0}],"isBlockCoverage":false}]},{"scriptId":"631","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/onetime/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1022,"count":1}],"isBlockCoverage":true},{"functionName":"onetime","ranges":[{"startOffset":95,"endOffset":767,"count":0}],"isBlockCoverage":false},{"functionName":"onetime.callCount","ranges":[{"startOffset":790,"endOffset":995,"count":0}],"isBlockCoverage":false}]},{"scriptId":"632","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2204,"count":1}],"isBlockCoverage":true},{"functionName":"getErrorPrefix","ranges":[{"startOffset":105,"endOffset":580,"count":0}],"isBlockCoverage":false},{"functionName":"makeError","ranges":[{"startOffset":608,"endOffset":2202,"count":0}],"isBlockCoverage":false}]},{"scriptId":"633","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stdio.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1157,"count":1}],"isBlockCoverage":true},{"functionName":"hasAlias","ranges":[{"startOffset":65,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdio","ranges":[{"startOffset":160,"endOffset":794,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdioNode","ranges":[{"startOffset":879,"endOffset":1155,"count":0}],"isBlockCoverage":false}]},{"scriptId":"634","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/kill.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2983,"count":1}],"isBlockCoverage":true},{"functionName":"spawnedKill","ranges":[{"startOffset":214,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"setKillTimeout","ranges":[{"startOffset":393,"endOffset":844,"count":0}],"isBlockCoverage":false},{"functionName":"shouldForceKill","ranges":[{"startOffset":871,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"isSigterm","ranges":[{"startOffset":1007,"endOffset":1128,"count":0}],"isBlockCoverage":false},{"functionName":"getForceKillAfterTimeout","ranges":[{"startOffset":1164,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"spawnedCancel","ranges":[{"startOffset":1623,"endOffset":1736,"count":0}],"isBlockCoverage":false},{"functionName":"timeoutKill","ranges":[{"startOffset":1759,"endOffset":1888,"count":0}],"isBlockCoverage":false},{"functionName":"setupTimeout","ranges":[{"startOffset":1948,"endOffset":2417,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":2451,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"setExitHandler","ranges":[{"startOffset":2737,"endOffset":2981,"count":0}],"isBlockCoverage":false}]},{"scriptId":"635","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/pipe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1194,"count":1}],"isBlockCoverage":true},{"functionName":"isExecaChildProcess","ranges":[{"startOffset":165,"endOffset":242,"count":0}],"isBlockCoverage":false},{"functionName":"pipeToTarget","ranges":[{"startOffset":266,"endOffset":826,"count":0}],"isBlockCoverage":false},{"functionName":"addPipeMethods","ranges":[{"startOffset":859,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"636","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2958,"count":1}],"isBlockCoverage":true},{"functionName":"validateInputOptions","ranges":[{"startOffset":198,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"getInputSync","ranges":[{"startOffset":347,"endOffset":495,"count":0}],"isBlockCoverage":false},{"functionName":"handleInputSync","ranges":[{"startOffset":576,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getInput","ranges":[{"startOffset":769,"endOffset":921,"count":0}],"isBlockCoverage":false},{"functionName":"handleInput","ranges":[{"startOffset":999,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"makeAllStream","ranges":[{"startOffset":1270,"endOffset":1518,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedData","ranges":[{"startOffset":1632,"endOffset":1940,"count":0}],"isBlockCoverage":false},{"functionName":"getStreamPromise","ranges":[{"startOffset":1968,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedResult","ranges":[{"startOffset":2300,"endOffset":2956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"637","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1109,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":91,"endOffset":105,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":186,"endOffset":281,"count":3}],"isBlockCoverage":true},{"functionName":"mergePromise","ranges":[{"startOffset":376,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedPromise","ranges":[{"startOffset":835,"endOffset":1107,"count":0}],"isBlockCoverage":false}]},{"scriptId":"638","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/command.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3071,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeArgs","ranges":[{"startOffset":108,"endOffset":207,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArg","ranges":[{"startOffset":302,"endOffset":449,"count":0}],"isBlockCoverage":false},{"functionName":"joinCommand","ranges":[{"startOffset":479,"endOffset":530,"count":0}],"isBlockCoverage":false},{"functionName":"getEscapedCommand","ranges":[{"startOffset":566,"endOffset":644,"count":0}],"isBlockCoverage":false},{"functionName":"parseCommand","ranges":[{"startOffset":732,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"parseExpression","ranges":[{"startOffset":1209,"endOffset":1923,"count":0}],"isBlockCoverage":false},{"functionName":"concatTokens","ranges":[{"startOffset":1947,"endOffset":2173,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplate","ranges":[{"startOffset":2198,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplates","ranges":[{"startOffset":2865,"endOffset":3068,"count":0}],"isBlockCoverage":false}]},{"scriptId":"639","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/verbose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"padField","ranges":[{"startOffset":148,"endOffset":204,"count":0}],"isBlockCoverage":false},{"functionName":"getTimestamp","ranges":[{"startOffset":228,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"logCommand","ranges":[{"startOffset":442,"endOffset":573,"count":0}],"isBlockCoverage":false}]},{"scriptId":"640","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":263,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":15,"endOffset":262,"count":0}],"isBlockCoverage":false}]},{"scriptId":"641","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/main.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1214,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalsByName","ranges":[{"startOffset":134,"endOffset":226,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalByName","ranges":[{"startOffset":251,"endOffset":386,"count":69}],"isBlockCoverage":true},{"functionName":"getSignalsByNumber","ranges":[{"startOffset":465,"endOffset":652,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":559,"endOffset":609,"count":65}],"isBlockCoverage":true},{"functionName":"getSignalByNumber","ranges":[{"startOffset":679,"endOffset":939,"count":65},{"startOffset":771,"endOffset":784,"count":3},{"startOffset":784,"endOffset":938,"count":62}],"isBlockCoverage":true},{"functionName":"findSignalByNumber","ranges":[{"startOffset":969,"endOffset":1161,"count":65},{"startOffset":1083,"endOffset":1101,"count":31},{"startOffset":1101,"endOffset":1160,"count":34}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1015,"endOffset":1057,"count":2919}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1123,"endOffset":1157,"count":1881}],"isBlockCoverage":true}]},{"scriptId":"642","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":746,"count":1}],"isBlockCoverage":true},{"functionName":"isStream","ranges":[{"startOffset":7,"endOffset":132,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":141,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":332,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexStream","ranges":[{"startOffset":522,"endOffset":621,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":630,"endOffset":745,"count":0}],"isBlockCoverage":false}]},{"scriptId":"643","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/realtime.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":353,"count":1}],"isBlockCoverage":true},{"functionName":"getRealtimeSignals","ranges":[{"startOffset":33,"endOffset":121,"count":2}],"isBlockCoverage":true},{"functionName":"getRealtimeSignal","ranges":[{"startOffset":148,"endOffset":306,"count":62}],"isBlockCoverage":true}]},{"scriptId":"644","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1}],"isBlockCoverage":true},{"functionName":"getSignals","ranges":[{"startOffset":139,"endOffset":274,"count":2}],"isBlockCoverage":true},{"functionName":"normalizeSignal","ranges":[{"startOffset":305,"endOffset":602,"count":138},{"startOffset":504,"endOffset":519,"count":66},{"startOffset":519,"endOffset":533,"count":72}],"isBlockCoverage":true}]},{"scriptId":"645","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4126,"count":1}],"isBlockCoverage":true}]},{"scriptId":"646","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1}],"isBlockCoverage":true},{"functionName":"spawn","ranges":[{"startOffset":131,"endOffset":589,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":591,"endOffset":1038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"647","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3065,"count":1}],"isBlockCoverage":true},{"functionName":"detectShebang","ranges":[{"startOffset":354,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"parseNonShell","ranges":[{"startOffset":661,"endOffset":2367,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":2369,"endOffset":3039,"count":0}],"isBlockCoverage":false}]},{"scriptId":"648","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/resolveCommand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1557,"count":1}],"isBlockCoverage":true},{"functionName":"resolveCommandAttempt","ranges":[{"startOffset":118,"endOffset":1404,"count":0}],"isBlockCoverage":false},{"functionName":"resolveCommand","ranges":[{"startOffset":1406,"endOffset":1522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"649","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/which/which.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3163,"count":1},{"startOffset":177,"endOffset":182,"count":0}],"isBlockCoverage":true},{"functionName":"getNotFoundError","ranges":[{"startOffset":246,"endOffset":322,"count":0}],"isBlockCoverage":false},{"functionName":"getPathInfo","ranges":[{"startOffset":344,"endOffset":1152,"count":0}],"isBlockCoverage":false},{"functionName":"which","ranges":[{"startOffset":1168,"endOffset":2279,"count":0}],"isBlockCoverage":false},{"functionName":"whichSync","ranges":[{"startOffset":2299,"endOffset":3115,"count":0}],"isBlockCoverage":false}]},{"scriptId":"650","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1},{"startOffset":92,"endOffset":128,"count":0}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":211,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":930,"endOffset":1191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"651","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/mode.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":909,"count":1}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":66,"endOffset":197,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":199,"endOffset":279,"count":0}],"isBlockCoverage":false},{"functionName":"checkStat","ranges":[{"startOffset":281,"endOffset":370,"count":0}],"isBlockCoverage":false},{"functionName":"checkMode","ranges":[{"startOffset":372,"endOffset":908,"count":0}],"isBlockCoverage":false}]},{"scriptId":"652","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":415,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":31,"endOffset":304,"count":0}],"isBlockCoverage":false}]},{"scriptId":"653","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/escape.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"escapeCommand","ranges":[{"startOffset":121,"endOffset":241,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArgument","ranges":[{"startOffset":243,"endOffset":1088,"count":0}],"isBlockCoverage":false}]},{"scriptId":"654","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/readShebang.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":549,"count":1}],"isBlockCoverage":true},{"functionName":"readShebang","ranges":[{"startOffset":93,"endOffset":517,"count":0}],"isBlockCoverage":false}]},{"scriptId":"655","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-command/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":387,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":79,"endOffset":385,"count":0}],"isBlockCoverage":false}]},{"scriptId":"656","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":42,"count":1}],"isBlockCoverage":true}]},{"scriptId":"657","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/enoent.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1480,"count":1}],"isBlockCoverage":true},{"functionName":"notFoundError","ranges":[{"startOffset":60,"endOffset":358,"count":0}],"isBlockCoverage":false},{"functionName":"hookChildProcess","ranges":[{"startOffset":360,"endOffset":1023,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENT","ranges":[{"startOffset":1025,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENTSync","ranges":[{"startOffset":1197,"endOffset":1375,"count":0}],"isBlockCoverage":false}]},{"scriptId":"658","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5708,"count":1},{"startOffset":778,"endOffset":844,"count":0},{"startOffset":1059,"endOffset":1089,"count":0},{"startOffset":1144,"endOffset":1195,"count":0}],"isBlockCoverage":true},{"functionName":"processOk","ranges":[{"startOffset":293,"endOffset":677,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":799,"endOffset":842,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1703,"endOffset":2301,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2318,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2724,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3001,"endOffset":3890,"count":18}],"isBlockCoverage":true},{"functionName":"listener","ranges":[{"startOffset":3042,"endOffset":3886,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.signals","ranges":[{"startOffset":3920,"endOffset":3956,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":3993,"endOffset":4602,"count":0}],"isBlockCoverage":false},{"functionName":"processReallyExit","ranges":[{"startOffset":4712,"endOffset":5108,"count":0}],"isBlockCoverage":false},{"functionName":"processEmit","ranges":[{"startOffset":5171,"endOffset":5705,"count":0}],"isBlockCoverage":false}]},{"scriptId":"659","url":"node:assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31879,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadComparison","ranges":[{"startOffset":2704,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":3469,"endOffset":3517,"count":0}],"isBlockCoverage":false},{"functionName":"innerFail","ranges":[{"startOffset":4071,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":4348,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"findColumn","ranges":[{"startOffset":5445,"endOffset":6385,"count":0}],"isBlockCoverage":false},{"functionName":"getCode","ranges":[{"startOffset":6387,"endOffset":8032,"count":0}],"isBlockCoverage":false},{"functionName":"parseCode","ranges":[{"startOffset":8034,"endOffset":9451,"count":0}],"isBlockCoverage":false},{"functionName":"getErrMessage","ranges":[{"startOffset":9453,"endOffset":12547,"count":0}],"isBlockCoverage":false},{"functionName":"innerOk","ranges":[{"startOffset":12549,"endOffset":13157,"count":1},{"startOffset":12610,"endOffset":13155,"count":0}],"isBlockCoverage":true},{"functionName":"ok","ranges":[{"startOffset":13290,"endOffset":13351,"count":1}],"isBlockCoverage":true},{"functionName":"equal","ranges":[{"startOffset":13610,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"notEqual","ranges":[{"startOffset":14201,"endOffset":14577,"count":0}],"isBlockCoverage":false},{"functionName":"deepEqual","ranges":[{"startOffset":14777,"endOffset":15142,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepEqual","ranges":[{"startOffset":15348,"endOffset":15721,"count":0}],"isBlockCoverage":false},{"functionName":"deepStrictEqual","ranges":[{"startOffset":15964,"endOffset":16353,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepStrictEqual","ranges":[{"startOffset":16602,"endOffset":16999,"count":0}],"isBlockCoverage":false},{"functionName":"strictEqual","ranges":[{"startOffset":17204,"endOffset":17517,"count":0}],"isBlockCoverage":false},{"functionName":"notStrictEqual","ranges":[{"startOffset":17729,"endOffset":18050,"count":0}],"isBlockCoverage":false},{"functionName":"Comparison","ranges":[{"startOffset":18074,"endOffset":18456,"count":0}],"isBlockCoverage":false},{"functionName":"compareExceptionKey","ranges":[{"startOffset":18460,"endOffset":19179,"count":0}],"isBlockCoverage":false},{"functionName":"expectedException","ranges":[{"startOffset":19181,"endOffset":22585,"count":0}],"isBlockCoverage":false},{"functionName":"getActual","ranges":[{"startOffset":22587,"endOffset":22727,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsPromise","ranges":[{"startOffset":22729,"endOffset":23093,"count":0}],"isBlockCoverage":false},{"functionName":"waitForActual","ranges":[{"startOffset":23095,"endOffset":23809,"count":0}],"isBlockCoverage":false},{"functionName":"expectsError","ranges":[{"startOffset":23811,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"hasMatchingError","ranges":[{"startOffset":25430,"endOffset":26048,"count":0}],"isBlockCoverage":false},{"functionName":"expectsNoError","ranges":[{"startOffset":26050,"endOffset":26701,"count":0}],"isBlockCoverage":false},{"functionName":"throws","ranges":[{"startOffset":26859,"endOffset":26953,"count":0}],"isBlockCoverage":false},{"functionName":"rejects","ranges":[{"startOffset":27132,"endOffset":27244,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotThrow","ranges":[{"startOffset":27406,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotReject","ranges":[{"startOffset":27666,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"ifError","ranges":[{"startOffset":27906,"endOffset":29695,"count":0}],"isBlockCoverage":false},{"functionName":"internalMatch","ranges":[{"startOffset":29698,"endOffset":30781,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":30977,"endOffset":31069,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotMatch","ranges":[{"startOffset":31277,"endOffset":31383,"count":0}],"isBlockCoverage":false},{"functionName":"strict","ranges":[{"startOffset":31574,"endOffset":31643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"660","url":"node:internal/assert/assertion_error","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17104,"count":1}],"isBlockCoverage":false},{"functionName":"copyError","ranges":[{"startOffset":1449,"endOffset":1743,"count":0}],"isBlockCoverage":false},{"functionName":"inspectValue","ranges":[{"startOffset":1745,"endOffset":2353,"count":0}],"isBlockCoverage":false},{"functionName":"createErrDiff","ranges":[{"startOffset":2355,"endOffset":11091,"count":0}],"isBlockCoverage":false},{"functionName":"addEllipsis","ranges":[{"startOffset":11093,"endOffset":11396,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":11437,"endOffset":16133,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16137,"endOffset":16212,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16216,"endOffset":17067,"count":0}],"isBlockCoverage":false}]},{"scriptId":"661","url":"node:internal/util/colors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1122,"count":1}],"isBlockCoverage":false},{"functionName":"lazyInternalTTY","ranges":[{"startOffset":32,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"shouldColorize","ranges":[{"startOffset":244,"endOffset":504,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":508,"endOffset":1090,"count":1},{"startOffset":550,"endOffset":1086,"count":0}],"isBlockCoverage":true}]},{"scriptId":"662","url":"node:internal/assert/calltracker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3452,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":462,"endOffset":1495,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1497,"endOffset":3420,"count":0}],"isBlockCoverage":false}]},{"scriptId":"663","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1295,"count":1}],"isBlockCoverage":true}]},{"scriptId":"664","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1489,"count":1}],"isBlockCoverage":true},{"functionName":"MaxBufferError","ranges":[{"startOffset":292,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"getStream","ranges":[{"startOffset":377,"endOffset":1223,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.buffer","ranges":[{"startOffset":1277,"endOffset":1349,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.array","ranges":[{"startOffset":1374,"endOffset":1439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"665","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/buffer-stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":894,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":92,"endOffset":892,"count":0}],"isBlockCoverage":false}]},{"scriptId":"666","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":885,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":76,"endOffset":884,"count":0}],"isBlockCoverage":false}]},{"scriptId":"667","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/unit/output-test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5168,"count":1}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":70,"endOffset":151,"count":1},{"startOffset":122,"endOffset":127,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":463,"endOffset":1319,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1371,"endOffset":2091,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2143,"endOffset":3214,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3264,"endOffset":3406,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3467,"endOffset":3603,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3681,"endOffset":3829,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3894,"endOffset":4038,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4120,"endOffset":4276,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4336,"endOffset":4485,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4562,"endOffset":4723,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4786,"endOffset":4910,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4990,"endOffset":5126,"count":1}],"isBlockCoverage":true}]},{"scriptId":"668","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/entrypoints/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":66,"count":1}],"isBlockCoverage":true}]},{"scriptId":"669","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":277,"count":1}],"isBlockCoverage":true}]},{"scriptId":"670","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/guard-environment.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1},{"startOffset":271,"endOffset":602,"count":0}],"isBlockCoverage":true}]},{"scriptId":"671","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/output.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4221,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":296,"endOffset":4149,"count":18}],"isBlockCoverage":true},{"functionName":"FfmpegOutput","ranges":[{"startOffset":416,"endOffset":893,"count":18},{"startOffset":479,"endOffset":523,"count":14},{"startOffset":525,"endOffset":579,"count":5}],"isBlockCoverage":true},{"functionName":"get isStream","ranges":[{"startOffset":898,"endOffset":982,"count":8}],"isBlockCoverage":true},{"functionName":"get isLocalFile","ranges":[{"startOffset":987,"endOffset":1261,"count":8},{"startOffset":1066,"endOffset":1103,"count":2},{"startOffset":1103,"endOffset":1255,"count":6},{"startOffset":1219,"endOffset":1244,"count":4}],"isBlockCoverage":true},{"functionName":"#getAudioOptions","ranges":[{"startOffset":1266,"endOffset":2231,"count":10},{"startOffset":1347,"endOffset":1391,"count":1},{"startOffset":1391,"endOffset":2201,"count":9},{"startOffset":1421,"endOffset":2201,"count":1},{"startOffset":2077,"endOffset":2191,"count":0}],"isBlockCoverage":true},{"functionName":"#getVideoOptions","ranges":[{"startOffset":2236,"endOffset":3306,"count":10},{"startOffset":2317,"endOffset":2361,"count":1},{"startOffset":2361,"endOffset":3276,"count":9},{"startOffset":2391,"endOffset":3276,"count":2},{"startOffset":2427,"endOffset":2501,"count":1},{"startOffset":2718,"endOffset":2834,"count":1},{"startOffset":2881,"endOffset":2959,"count":1},{"startOffset":2995,"endOffset":3082,"count":1},{"startOffset":3119,"endOffset":3233,"count":0}],"isBlockCoverage":true},{"functionName":"#getOptions","ranges":[{"startOffset":3311,"endOffset":3729,"count":10},{"startOffset":3376,"endOffset":3442,"count":1},{"startOffset":3470,"endOffset":3539,"count":1},{"startOffset":3565,"endOffset":3621,"count":2},{"startOffset":3644,"endOffset":3699,"count":1}],"isBlockCoverage":true},{"functionName":"#getOutputString","ranges":[{"startOffset":3734,"endOffset":3903,"count":10},{"startOffset":3800,"endOffset":3843,"count":9},{"startOffset":3843,"endOffset":3897,"count":1}],"isBlockCoverage":true},{"functionName":"getFfmpegArguments","ranges":[{"startOffset":3908,"endOffset":4147,"count":10}],"isBlockCoverage":true}]},{"scriptId":"672","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1322,"count":1}],"isBlockCoverage":true}]},{"scriptId":"673","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/formatting.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":482,"count":1}],"isBlockCoverage":true},{"functionName":"formatBitrate","ranges":[{"startOffset":109,"endOffset":404,"count":3},{"startOffset":180,"endOffset":361,"count":0}],"isBlockCoverage":true}]},{"scriptId":"674","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/filters.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1753,"count":1}],"isBlockCoverage":true},{"functionName":"escapeOption","ranges":[{"startOffset":170,"endOffset":314,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFilter","ranges":[{"startOffset":315,"endOffset":467,"count":0}],"isBlockCoverage":false},{"functionName":"generateFilter","ranges":[{"startOffset":468,"endOffset":1353,"count":0}],"isBlockCoverage":false},{"functionName":"generateFilterChain","ranges":[{"startOffset":1395,"endOffset":1504,"count":0}],"isBlockCoverage":false},{"functionName":"generateFilterGraph","ranges":[{"startOffset":1556,"endOffset":1666,"count":0}],"isBlockCoverage":false}]},{"scriptId":"675","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/helpers/streams.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":475,"count":1}],"isBlockCoverage":true},{"functionName":"_read","ranges":[{"startOffset":251,"endOffset":262,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":376,"endOffset":388,"count":0}],"isBlockCoverage":false}]},{"scriptId":"676","url":"node:internal/util/iterable_weak_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1959,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":373,"endOffset":1819,"count":1}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":521,"endOffset":1033,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1037,"endOffset":1093,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":1097,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":1150,"endOffset":1388,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1392,"endOffset":1817,"count":1}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":1484,"endOffset":1736,"count":1},{"startOffset":1567,"endOffset":1735,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1758,"endOffset":1793,"count":0}],"isBlockCoverage":false},{"functionName":"cleanup","ranges":[{"startOffset":1821,"endOffset":1874,"count":0}],"isBlockCoverage":false}]}],"timestamp":85118.372576,"source-map-cache":{"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js":{"lineLengths":[13,7,62,74,65,63,53,60,45,115,43,34,51,41,47,46,41,38,37,55,26,64,27,15,15,25,20,6,17,22,17,6,14,23,19,35,40,9,52,24,28,30,32,11,5,16,36,5,28,40,35,29,23,19,9,28,43,28,9,14,30,9,5,28,31,25,9,32,24,46,51,9,28,62,9,19,5,1,22,1,37,12,26,44,10,16,34,10,18,36,10,6,2,49,14,25,5,14,16,1,41,52,40,25,65,24,29,13,25,31,23,20,26,16,32,43,32,49,45,70,71,69,35,63,46,83,84,82,82,81,27,37,34,68,74,61,17,36,49,34,70,41,68,29,53,40,17,14,9,61,49,5,22,29,40,29,9,28,37,24,9,59,33,22,49,63,68,30,13,10,5,12,27,19,9,28,65,68,68,35,33,49,17,51,23,46,13,25,9,44,47,10,46,49,10,5,14,28,19,9,29,45,53,33,28,75,13,32,17,60,37,13,25,32,11,55,67,33,5,30,29,40,21,9,43,28,65,91,5,31,45,56,46,49,37,13,33,60,33,69,32,23,9,14,55,9,5,1,35,65,25,94,3,67,39,2,68,29,2,61,3,28,3,66,66,45,2,12,3,24,3,68,66,45,2,12,3,27,33],"data":{"version":3,"file":"index.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/index.ts"],"names":[],"mappings":";;;;AAAA,iEAAiE;AACjE,+DAA+D;AAC/D,qDAAqD;AACrD,4DAA4D;AAC5D,6CAAsC;AAC7B,wFADA,oBAAO,OACA;AAQhB,MAAM,SAAS,GAAG,CAAC,OAAY,EAAwB,EAAE,CACvD,CAAC,CAAC,OAAO;IACT,OAAO,OAAO,KAAK,QAAQ;IAC3B,OAAO,OAAO,CAAC,cAAc,KAAK,UAAU;IAC5C,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,UAAU,KAAK,UAAU;IACxC,OAAO,OAAO,CAAC,SAAS,KAAK,UAAU;IACvC,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,GAAG,KAAK,QAAQ;IAC/B,OAAO,OAAO,CAAC,EAAE,KAAK,UAAU,CAAA;AAElC,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;AACtD,MAAM,MAAM,GAAqD,UAAU,CAAA;AAC3E,MAAM,oBAAoB,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;AAwB/D,2BAA2B;AAC3B,MAAM,OAAO;IACX,OAAO,GAAY;QACjB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,KAAK;KACZ,CAAA;IAED,SAAS,GAAc;QACrB,SAAS,EAAE,EAAE;QACb,IAAI,EAAE,EAAE;KACT,CAAA;IAED,KAAK,GAAW,CAAC,CAAA;IACjB,EAAE,GAAW,IAAI,CAAC,MAAM,EAAE,CAAA;IAE1B;QACE,IAAI,MAAM,CAAC,YAAY,CAAC,EAAE;YACxB,OAAO,MAAM,CAAC,YAAY,CAAC,CAAA;SAC5B;QACD,oBAAoB,CAAC,MAAM,EAAE,YAAY,EAAE;YACzC,KAAK,EAAE,IAAI;YACX,QAAQ,EAAE,KAAK;YACf,UAAU,EAAE,KAAK;YACjB,YAAY,EAAE,KAAK;SACpB,CAAC,CAAA;IACJ,CAAC;IAED,EAAE,CAAC,EAAa,EAAE,EAAW;QAC3B,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC7B,CAAC;IAED,cAAc,CAAC,EAAa,EAAE,EAAW;QACvC,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;QAC/B,MAAM,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;QAC1B,qBAAqB;QACrB,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE;YACZ,OAAM;SACP;QACD,oBAAoB;QACpB,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;YAChC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAA;SAChB;aAAM;YACL,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;SAClB;IACH,CAAC;IAED,IAAI,CACF,EAAa,EACb,IAA+B,EAC/B,MAA6B;QAE7B,IAAI,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;YACpB,OAAO,KAAK,CAAA;SACb;QACD,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,IAAI,CAAA;QACvB,IAAI,GAAG,GAAY,KAAK,CAAA;QACxB,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE;YACnC,GAAG,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,IAAI,IAAI,GAAG,CAAA;SACvC;QACD,IAAI,EAAE,KAAK,MAAM,EAAE;YACjB,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,GAAG,CAAA;SAClD;QACD,OAAO,GAAG,CAAA;IACZ,CAAC;CACF;AAED,MAAe,cAAc;CAI5B;AAED,MAAM,cAAc,GAAG,CAA2B,OAAU,EAAE,EAAE;IAC9D,OAAO;QACL,MAAM,CAAC,EAAW,EAAE,IAA+B;YACjD,OAAO,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;QACjC,CAAC;QACD,IAAI;YACF,OAAO,OAAO,CAAC,IAAI,EAAE,CAAA;QACvB,CAAC;QACD,MAAM;YACJ,OAAO,OAAO,CAAC,MAAM,EAAE,CAAA;QACzB,CAAC;KACF,CAAA;AACH,CAAC,CAAA;AAED,MAAM,kBAAmB,SAAQ,cAAc;IAC7C,MAAM;QACJ,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;IACjB,CAAC;IACD,IAAI,KAAI,CAAC;IACT,MAAM,KAAI,CAAC;CACZ;AAED,MAAM,UAAW,SAAQ,cAAc;IACrC,gDAAgD;IAChD,oCAAoC;IACpC,qBAAqB;IACrB,OAAO,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC5D,oBAAoB;IACpB,QAAQ,GAAG,IAAI,OAAO,EAAE,CAAA;IACxB,QAAQ,CAAW;IACnB,oBAAoB,CAAmB;IACvC,0BAA0B,CAAyB;IAEnD,aAAa,GAA2C,EAAE,CAAA;IAC1D,OAAO,GAAY,KAAK,CAAA;IAExB,YAAY,OAAkB;QAC5B,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAA;QACvB,mCAAmC;QACnC,IAAI,CAAC,aAAa,GAAG,EAAE,CAAA;QACvB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,GAAG,EAAE;gBAC7B,sDAAsD;gBACtD,uDAAuD;gBACvD,qDAAqD;gBACrD,mBAAmB;gBACnB,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;gBAC9C,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAA;gBAC7B,mEAAmE;gBACnE,oEAAoE;gBACpE,kEAAkE;gBAClE,kEAAkE;gBAClE,iEAAiE;gBACjE,WAAW;gBACX,qBAAqB;gBACrB,MAAM,CAAC,GAAG,OAET,CAAA;gBACD,IACE,OAAO,CAAC,CAAC,uBAAuB,KAAK,QAAQ;oBAC7C,OAAO,CAAC,CAAC,uBAAuB,CAAC,KAAK,KAAK,QAAQ,EACnD;oBACA,KAAK,IAAI,CAAC,CAAC,uBAAuB,CAAC,KAAK,CAAA;iBACzC;gBACD,oBAAoB;gBACpB,IAAI,SAAS,CAAC,MAAM,KAAK,KAAK,EAAE;oBAC9B,IAAI,CAAC,MAAM,EAAE,CAAA;oBACb,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,CAAA;oBACjD,qBAAqB;oBACrB,MAAM,CAAC,GAAG,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAA;oBAC/C,IAAI,CAAC,GAAG;wBAAE,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;oBACtC,oBAAoB;iBACrB;YACH,CAAC,CAAA;SACF;QAED,IAAI,CAAC,0BAA0B,GAAG,OAAO,CAAC,UAAU,CAAA;QACpD,IAAI,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAA;IAC1C,CAAC;IAED,MAAM,CAAC,EAAW,EAAE,IAA+B;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;SAChB;QACD,oBAAoB;QAEpB,IAAI,IAAI,CAAC,OAAO,KAAK,KAAK,EAAE;YAC1B,IAAI,CAAC,IAAI,EAAE,CAAA;SACZ;QAED,MAAM,EAAE,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAA;QAClD,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;QACxB,OAAO,GAAG,EAAE;YACV,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;YACpC,IACE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC;gBAC5C,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,MAAM,KAAK,CAAC,EACjD;gBACA,IAAI,CAAC,MAAM,EAAE,CAAA;aACd;QACH,CAAC,CAAA;IACH,CAAC;IAED,IAAI;QACF,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;QAEnB,yDAAyD;QACzD,4DAA4D;QAC5D,4DAA4D;QAC5D,2BAA2B;QAC3B,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;QAExB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI;gBACF,MAAM,EAAE,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;gBAClC,IAAI,EAAE;oBAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;aAClC;YAAC,OAAO,CAAC,EAAE,GAAE;SACf;QAED,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,EAAU,EAAE,GAAG,CAAQ,EAAE,EAAE;YAC/C,OAAO,IAAI,CAAC,YAAY,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,CAAA;QACpC,CAAC,CAAA;QACD,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,CAAC,IAAgC,EAAE,EAAE;YAC9D,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAA;QACtC,CAAC,CAAA;IACH,CAAC;IAED,MAAM;QACJ,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACjB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QAEpB,oBAAO,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACpB,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;YACxC,qBAAqB;YACrB,IAAI,CAAC,QAAQ,EAAE;gBACb,MAAM,IAAI,KAAK,CAAC,mCAAmC,GAAG,GAAG,CAAC,CAAA;aAC3D;YACD,oBAAoB;YACpB,IAAI;gBACF,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;gBAC3C,qBAAqB;aACtB;YAAC,OAAO,CAAC,EAAE,GAAE;YACd,oBAAoB;QACtB,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC,oBAAoB,CAAA;QAC9C,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,IAAI,CAAC,0BAA0B,CAAA;QAC1D,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;IAC1B,CAAC;IAED,kBAAkB,CAAC,IAAgC;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,CAAC,CAAA;SACT;QACD,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,IAAI,CAAC,CAAA;QAClC,oBAAoB;QAEpB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;QACxD,OAAO,IAAI,CAAC,0BAA0B,CAAC,IAAI,CACzC,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,QAAQ,CAAC,QAAQ,CACvB,CAAA;IACH,CAAC;IAED,YAAY,CAAC,EAAU,EAAE,GAAG,IAAW;QACrC,MAAM,EAAE,GAAG,IAAI,CAAC,oBAAoB,CAAA;QACpC,IAAI,EAAE,KAAK,MAAM,IAAI,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7C,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE;gBAC/B,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;gBAChC,qBAAqB;aACtB;YACD,qBAAqB;YACrB,MAAM,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;YAC/C,qBAAqB;YACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;YACxD,oBAAoB;YACpB,OAAO,GAAG,CAAA;SACX;aAAM;YACL,OAAO,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;SAC3C;IACH,CAAC;CACF;AAED,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAA;AAClC,iEAAiE;AACjE,yBAAyB;AACZ,KA6BT,cAAc,CAChB,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,kBAAkB,EAAE,CACxE;AA9BC;;;;;;;;GAQG;AACH,cAAM;AAEN;;;;;;GAMG;AACH,YAAI;AAEJ;;;;;;GAMG;AACH,cAAM,aAGP","sourcesContent":["// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nimport { signals } from './signals.js'\nexport { signals }\n\n// just a loosened process type so we can do some evil things\ntype ProcessRE = NodeJS.Process & {\n reallyExit: (code?: number | undefined | null) => any\n emit: (ev: string, ...a: any[]) => any\n}\n\nconst processOk = (process: any): process is ProcessRE =>\n !!process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n\nconst kExitEmitter = Symbol.for('signal-exit emitter')\nconst global: typeof globalThis & { [kExitEmitter]?: Emitter } = globalThis\nconst ObjectDefineProperty = Object.defineProperty.bind(Object)\n\n/**\n * A function that takes an exit code and signal as arguments\n *\n * In the case of signal exits *only*, a return value of true\n * will indicate that the signal is being handled, and we should\n * not synthetically exit with the signal we received. Regardless\n * of the handler return value, the handler is unloaded when an\n * otherwise fatal signal is received, so you get exactly 1 shot\n * at it, unless you add another onExit handler at that point.\n *\n * In the case of numeric code exits, we may already have committed\n * to exiting the process, for example via a fatal exception or\n * unhandled promise rejection, so it is impossible to stop safely.\n */\nexport type Handler = (\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n) => true | void\ntype ExitEvent = 'afterExit' | 'exit'\ntype Emitted = { [k in ExitEvent]: boolean }\ntype Listeners = { [k in ExitEvent]: Handler[] }\n\n// teeny special purpose ee\nclass Emitter {\n emitted: Emitted = {\n afterExit: false,\n exit: false,\n }\n\n listeners: Listeners = {\n afterExit: [],\n exit: [],\n }\n\n count: number = 0\n id: number = Math.random()\n\n constructor() {\n if (global[kExitEmitter]) {\n return global[kExitEmitter]\n }\n ObjectDefineProperty(global, kExitEmitter, {\n value: this,\n writable: false,\n enumerable: false,\n configurable: false,\n })\n }\n\n on(ev: ExitEvent, fn: Handler) {\n this.listeners[ev].push(fn)\n }\n\n removeListener(ev: ExitEvent, fn: Handler) {\n const list = this.listeners[ev]\n const i = list.indexOf(fn)\n /* c8 ignore start */\n if (i === -1) {\n return\n }\n /* c8 ignore stop */\n if (i === 0 && list.length === 1) {\n list.length = 0\n } else {\n list.splice(i, 1)\n }\n }\n\n emit(\n ev: ExitEvent,\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n ): boolean {\n if (this.emitted[ev]) {\n return false\n }\n this.emitted[ev] = true\n let ret: boolean = false\n for (const fn of this.listeners[ev]) {\n ret = fn(code, signal) === true || ret\n }\n if (ev === 'exit') {\n ret = this.emit('afterExit', code, signal) || ret\n }\n return ret\n }\n}\n\nabstract class SignalExitBase {\n abstract onExit(cb: Handler, opts?: { alwaysLast?: boolean }): () => void\n abstract load(): void\n abstract unload(): void\n}\n\nconst signalExitWrap = (handler: T) => {\n return {\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n return handler.onExit(cb, opts)\n },\n load() {\n return handler.load()\n },\n unload() {\n return handler.unload()\n },\n }\n}\n\nclass SignalExitFallback extends SignalExitBase {\n onExit() {\n return () => {}\n }\n load() {}\n unload() {}\n}\n\nclass SignalExit extends SignalExitBase {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n /* c8 ignore start */\n #hupSig = process.platform === 'win32' ? 'SIGINT' : 'SIGHUP'\n /* c8 ignore stop */\n #emitter = new Emitter()\n #process: ProcessRE\n #originalProcessEmit: ProcessRE['emit']\n #originalProcessReallyExit: ProcessRE['reallyExit']\n\n #sigListeners: { [k in NodeJS.Signals]?: () => void } = {}\n #loaded: boolean = false\n\n constructor(process: ProcessRE) {\n super()\n this.#process = process\n // { : , ... }\n this.#sigListeners = {}\n for (const sig of signals) {\n this.#sigListeners[sig] = () => {\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n const listeners = this.#process.listeners(sig)\n let { count } = this.#emitter\n // This is a workaround for the fact that signal-exit v3 and signal\n // exit v4 are not aware of each other, and each will attempt to let\n // the other handle it, so neither of them do. To correct this, we\n // detect if we're the only handler *except* for previous versions\n // of signal-exit, and increment by the count of listeners it has\n // created.\n /* c8 ignore start */\n const p = process as unknown as {\n __signal_exit_emitter__?: { count: number }\n }\n if (\n typeof p.__signal_exit_emitter__ === 'object' &&\n typeof p.__signal_exit_emitter__.count === 'number'\n ) {\n count += p.__signal_exit_emitter__.count\n }\n /* c8 ignore stop */\n if (listeners.length === count) {\n this.unload()\n const ret = this.#emitter.emit('exit', null, sig)\n /* c8 ignore start */\n const s = sig === 'SIGHUP' ? this.#hupSig : sig\n if (!ret) process.kill(process.pid, s)\n /* c8 ignore stop */\n }\n }\n }\n\n this.#originalProcessReallyExit = process.reallyExit\n this.#originalProcessEmit = process.emit\n }\n\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return () => {}\n }\n /* c8 ignore stop */\n\n if (this.#loaded === false) {\n this.load()\n }\n\n const ev = opts?.alwaysLast ? 'afterExit' : 'exit'\n this.#emitter.on(ev, cb)\n return () => {\n this.#emitter.removeListener(ev, cb)\n if (\n this.#emitter.listeners['exit'].length === 0 &&\n this.#emitter.listeners['afterExit'].length === 0\n ) {\n this.unload()\n }\n }\n }\n\n load() {\n if (this.#loaded) {\n return\n }\n this.#loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n this.#emitter.count += 1\n\n for (const sig of signals) {\n try {\n const fn = this.#sigListeners[sig]\n if (fn) this.#process.on(sig, fn)\n } catch (_) {}\n }\n\n this.#process.emit = (ev: string, ...a: any[]) => {\n return this.#processEmit(ev, ...a)\n }\n this.#process.reallyExit = (code?: number | null | undefined) => {\n return this.#processReallyExit(code)\n }\n }\n\n unload() {\n if (!this.#loaded) {\n return\n }\n this.#loaded = false\n\n signals.forEach(sig => {\n const listener = this.#sigListeners[sig]\n /* c8 ignore start */\n if (!listener) {\n throw new Error('Listener not defined for signal: ' + sig)\n }\n /* c8 ignore stop */\n try {\n this.#process.removeListener(sig, listener)\n /* c8 ignore start */\n } catch (_) {}\n /* c8 ignore stop */\n })\n this.#process.emit = this.#originalProcessEmit\n this.#process.reallyExit = this.#originalProcessReallyExit\n this.#emitter.count -= 1\n }\n\n #processReallyExit(code?: number | null | undefined) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return 0\n }\n this.#process.exitCode = code || 0\n /* c8 ignore stop */\n\n this.#emitter.emit('exit', this.#process.exitCode, null)\n return this.#originalProcessReallyExit.call(\n this.#process,\n this.#process.exitCode\n )\n }\n\n #processEmit(ev: string, ...args: any[]): any {\n const og = this.#originalProcessEmit\n if (ev === 'exit' && processOk(this.#process)) {\n if (typeof args[0] === 'number') {\n this.#process.exitCode = args[0]\n /* c8 ignore start */\n }\n /* c8 ignore start */\n const ret = og.call(this.#process, ev, ...args)\n /* c8 ignore start */\n this.#emitter.emit('exit', this.#process.exitCode, null)\n /* c8 ignore stop */\n return ret\n } else {\n return og.call(this.#process, ev, ...args)\n }\n }\n}\n\nconst process = globalThis.process\n// wrap so that we call the method on the actual handler, without\n// exporting it directly.\nexport const {\n /**\n * Called when the process is exiting, whether via signal, explicit\n * exit, or running out of stuff to do.\n *\n * If the global process object is not suitable for instrumentation,\n * then this will be a no-op.\n *\n * Returns a function that may be used to unload signal-exit.\n */\n onExit,\n\n /**\n * Load the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n load,\n\n /**\n * Unload the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n unload,\n} = signalExitWrap(\n processOk(process) ? new SignalExit(process) : new SignalExitFallback()\n)\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js":{"lineLengths":[13,62,25,3,47,2,54,54,53,55,28,2,55,54,52,2,54,49,2,56,52,55,36,2,54,50,54,13,3,21,52,35,133,61,14,16,6,1,35,68,1,35],"data":{"version":3,"file":"signals.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/signals.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACU,QAAA,OAAO,GAAqB,EAAE,CAAA;AAC3C,eAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAA;AAE3C,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CACV,SAAS,EACT,SAAS,EACT,WAAW,EACX,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,EACR,SAAS,EACT,QAAQ;IACR,yDAAyD;IACzD,UAAU;IACV,YAAY;KACb,CAAA;CACF;AAED,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAA;CACxD","sourcesContent":["/**\n * This is not the set of all possible signals.\n *\n * It IS, however, the set of all signals that trigger\n * an exit on either Linux or BSD systems. Linux is a\n * superset of the signal names supported on BSD, and\n * the unknown signals just fail to register, so we can\n * catch that easily enough.\n *\n * Windows signals are a different set, since there are\n * signals that terminate Windows processes, but don't\n * terminate (or don't even exist) on Posix systems.\n *\n * Don't bother with SIGKILL. It's uncatchable, which\n * means that we can't fire any callbacks anyway.\n *\n * If a user does happen to register a handler on a non-\n * fatal signal like SIGWINCH or something, and then\n * exit, it'll end up firing `process.emit('exit')`, so\n * the handler will be fired anyway.\n *\n * SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n * artificially, inherently leave the process in a\n * state from which it is not safe to try and enter JS\n * listeners.\n */\nexport const signals: NodeJS.Signals[] = []\nsignals.push('SIGHUP', 'SIGINT', 'SIGTERM')\n\nif (process.platform !== 'win32') {\n signals.push(\n 'SIGALRM',\n 'SIGABRT',\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n signals.push('SIGIO', 'SIGPOLL', 'SIGPWR', 'SIGSTKFLT')\n}\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/unit/output-test.js":{"lineLengths":[13,72,62,2,62,46,45,48,50,62,22,44,34,7,82,40,25,20,7,82,40,23,21,7,87,40,35,30,22,17,7,132,3,57,22,44,33,20,7,84,40,33,16,25,28,24,29,22,9,7,46,18,14,15,15,14,12,14,16,14,12,24,24,3,57,22,44,33,20,7,84,40,33,16,26,33,9,7,46,15,13,19,13,19,13,19,13,24,27,40,33,16,26,29,20,24,9,7,46,18,15,15,16,13,13,19,15,24,24,3,55,63,67,3,66,63,31,29,3,83,75,31,29,3,70,71,31,29,3,87,83,31,29,3,65,75,32,29,3,82,87,32,29,3,68,51,32,28,3,85,63,32,28,3,39],"data":{"version":3,"file":"output-test.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/tests/unit/output-test.ts"],"names":[],"mappings":";;;;;AAAA,8CAAsB;AAGtB,6CAA+C;AAE/C,gDAAuD;AAEvD,MAAM,MAAM,GAAG,IAAI,4BAAkB,EAAE,CAAA;AAEvC,IAAA,aAAI,EAAC,iCAAiC,EAAE,CAAC,CAAC,EAAE,EAAE;IAC5C,kBAAkB;IAElB,IAAI,MAAM,GAAG,IAAI,qBAAY,CAAC;QAC5B,MAAM,EAAE,kBAAkB;KAC3B,CAAC,CAAA;IAEF,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,kBAAkB,EAAE,EAAE,CAAC,kBAAkB,CAAC,EAAE,aAAa,CAAC,CAAA;IAE7E,MAAM,GAAG,IAAI,qBAAY,CAAC;QACxB,MAAM,EAAE,QAAQ;QAChB,GAAG,EAAE,OAAO;KACb,CAAC,CAAA;IAEF,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,kBAAkB,EAAE,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAA;IAE7E,MAAM,GAAG,IAAI,qBAAY,CAAC;QACxB,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,KAAK;KACd,CAAC,CAAA;IAEF,CAAC,CAAC,SAAS,CACT,MAAM,CAAC,kBAAkB,EAAE,EAC3B,CAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,CAAC,EACvB,eAAe,CAChB,CAAA;IAED,MAAM,GAAG,IAAI,qBAAY,CAAC;QACxB,MAAM,EAAE,kBAAkB;QAC1B,MAAM,EAAE,aAAa;QACrB,QAAQ,EAAE,GAAG;QACb,IAAI,EAAE,GAAG;KACV,CAAC,CAAA;IAEF,CAAC,CAAC,SAAS,CACT,MAAM,CAAC,kBAAkB,EAAE,EAC3B,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,kBAAkB,CAAC,EACpE,eAAe,CAChB,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,4BAA4B,EAAE,CAAC,CAAC,EAAE,EAAE;IACvC,kBAAkB;IAElB,IAAI,MAAM,GAAG,IAAI,qBAAY,CAAC;QAC5B,MAAM,EAAE,gBAAgB;QACxB,KAAK,EAAE,KAAK;KACb,CAAC,CAAA;IAEF,CAAC,CAAC,SAAS,CACT,MAAM,CAAC,kBAAkB,EAAE,EAC3B,CAAC,KAAK,EAAE,gBAAgB,CAAC,EACzB,UAAU,CACX,CAAA;IAED,MAAM,GAAG,IAAI,qBAAY,CAAC;QACxB,MAAM,EAAE,gBAAgB;QACxB,KAAK,EAAE;YACL,KAAK,EAAE,KAAK;YACZ,OAAO,EAAE,MAAM;YACf,QAAQ,EAAE,CAAC;YACX,SAAS,EAAE,KAAK;YAChB,OAAO,EAAE,CAAC;SACX;KACF,CAAC,CAAA;IAEF,CAAC,CAAC,SAAS,CACT,MAAM,CAAC,kBAAkB,EAAE,EAC3B;QACE,SAAS;QACT,KAAK;QACL,MAAM;QACN,MAAM;QACN,KAAK;QACL,GAAG;QACH,KAAK;QACL,OAAO;QACP,KAAK;QACL,GAAG;QACH,gBAAgB;KACjB,EACD,eAAe,CAChB,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,4BAA4B,EAAE,CAAC,CAAC,EAAE,EAAE;IACvC,kBAAkB;IAElB,IAAI,MAAM,GAAG,IAAI,qBAAY,CAAC;QAC5B,MAAM,EAAE,gBAAgB;QACxB,KAAK,EAAE,KAAK;KACb,CAAC,CAAA;IAEF,CAAC,CAAC,SAAS,CACT,MAAM,CAAC,kBAAkB,EAAE,EAC3B,CAAC,KAAK,EAAE,gBAAgB,CAAC,EACzB,UAAU,CACX,CAAA;IAED,MAAM,GAAG,IAAI,qBAAY,CAAC;QACxB,MAAM,EAAE,gBAAgB;QACxB,KAAK,EAAE;YACL,OAAO,EAAE,IAAI;YACb,eAAe,EAAE,IAAI;SACtB;KACF,CAAC,CAAA;IAEF,CAAC,CAAC,SAAS,CACT,MAAM,CAAC,kBAAkB,EAAE,EAC3B;QACE,MAAM;QACN,IAAI;QACJ,UAAU;QACV,IAAI;QACJ,UAAU;QACV,IAAI;QACJ,UAAU;QACV,IAAI;QACJ,gBAAgB;KACjB,EACD,kBAAkB,CACnB,CAAA;IAED,MAAM,GAAG,IAAI,qBAAY,CAAC;QACxB,MAAM,EAAE,gBAAgB;QACxB,KAAK,EAAE;YACL,KAAK,EAAE,MAAM;YACb,OAAO,EAAE,OAAO;YAChB,GAAG,EAAE,EAAE;YACP,MAAM,EAAE,IAAI;SACb;KACF,CAAC,CAAA;IAEF,CAAC,CAAC,SAAS,CACT,MAAM,CAAC,kBAAkB,EAAE,EAC3B;QACE,SAAS;QACT,MAAM;QACN,MAAM;QACN,OAAO;QACP,IAAI;QACJ,IAAI;QACJ,UAAU;QACV,MAAM;QACN,gBAAgB;KACjB,EACD,eAAe,CAChB,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,0BAA0B,EAAE,CAAC,CAAC,EAAE,EAAE;IACrC,IAAI,MAAM,GAAG,IAAI,qBAAY,CAAC,kBAAkB,CAAC,CAAA;IAEjD,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,kBAAkB,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAA;AAChE,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,qCAAqC,EAAE,CAAC,CAAC,EAAE,EAAE;IAChD,IAAI,MAAM,GAAG,IAAI,qBAAY,CAAC,kBAAkB,CAAC,CAAA;IAEjD,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,CAAA;IAC1B,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;AAC1B,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,sDAAsD,EAAE,CAAC,CAAC,EAAE,EAAE;IACjE,IAAI,MAAM,GAAG,IAAI,qBAAY,CAAC,EAAE,MAAM,EAAE,kBAAkB,EAAE,CAAC,CAAA;IAE7D,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,CAAA;IAC1B,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;AAC1B,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,yCAAyC,EAAE,CAAC,CAAC,EAAE,EAAE;IACpD,IAAI,MAAM,GAAG,IAAI,qBAAY,CAAC,0BAA0B,CAAC,CAAA;IAEzD,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,CAAA;IAC1B,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;AAC1B,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,0DAA0D,EAAE,CAAC,CAAC,EAAE,EAAE;IACrE,IAAI,MAAM,GAAG,IAAI,qBAAY,CAAC,EAAE,MAAM,EAAE,0BAA0B,EAAE,CAAC,CAAA;IAErE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,CAAA;IAC1B,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;AAC1B,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,oCAAoC,EAAE,CAAC,CAAC,EAAE,EAAE;IAC/C,IAAI,MAAM,GAAG,IAAI,qBAAY,CAAC,8BAA8B,CAAC,CAAA;IAE7D,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,CAAA;IAC3B,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;AAC1B,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,qDAAqD,EAAE,CAAC,CAAC,EAAE,EAAE;IAChE,IAAI,MAAM,GAAG,IAAI,qBAAY,CAAC,EAAE,MAAM,EAAE,8BAA8B,EAAE,CAAC,CAAA;IAEzE,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,CAAA;IAC3B,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;AAC1B,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,uCAAuC,EAAE,CAAC,CAAC,EAAE,EAAE;IAClD,IAAI,MAAM,GAAG,IAAI,qBAAY,CAAC,MAAM,CAAC,CAAA;IAErC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,CAAA;IAC3B,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;AACzB,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,wDAAwD,EAAE,CAAC,CAAC,EAAE,EAAE;IACnE,IAAI,MAAM,GAAG,IAAI,qBAAY,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;IAEjD,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,CAAA;IAC3B,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;AACzB,CAAC,CAAC,CAAA"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/output.js":{"lineLengths":[13,62,30,45,43,51,45,20,11,9,13,11,8,15,10,10,26,87,42,9,37,33,41,37,31,51,35,35,5,20,61,5,23,60,25,9,14,70,55,9,5,24,25,35,32,9,30,35,58,13,37,90,13,38,68,13,39,69,13,37,67,13,37,98,13,9,23,5,24,25,35,32,9,30,35,58,13,37,82,46,49,96,17,13,33,62,13,36,71,13,37,98,13,32,9,23,5,19,25,24,54,9,28,57,9,26,44,9,23,43,9,23,5,24,46,31,9,14,28,9,5,26,16,39,39,34,31,35,10,5,1,36,34],"data":{"version":3,"file":"output.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/output.ts"],"names":[],"mappings":";;;AAAA,6CAAsC;AAEtC,2CAA+C;AAC/C,mDAAkD;AAClD,6CAAkE;AAoClE,MAAa,YAAY;IACvB,MAAM,CAAc;IACpB,IAAI,CAAkB;IACtB,QAAQ,CAAkB;IAC1B,MAAM,CAAS;IACf,GAAG,CAAS;IACZ,UAAU,CAAU;IAEpB,KAAK,CAA6B;IAClC,KAAK,CAA6B;IAElC,YAAY,OAAyB;QACnC,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,YAAY,sBAAQ,EAAE;YAC9D,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,CAAA;SAC9B;QAED,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAA;QAC5B,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;QACxB,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAA;QAChC,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAA;QAC5B,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAA;QACtB,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,EAAE,CAAA;QAE1C,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAA;QAC1B,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAA;IAC5B,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,MAAM,YAAY,sBAAQ,CAAA;IACxC,CAAC;IAED,IAAI,WAAW;QACb,IAAI,IAAI,CAAC,MAAM,YAAY,sBAAQ,EAAE;YACnC,OAAO,KAAK,CAAA;SACb;aAAM;YACL,IAAI,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,uBAAc,CAAC,CAAA;YAChD,OAAO,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,CAAC,KAAK,MAAM,CAAA;SAC3C;IACH,CAAC;IAED,gBAAgB;QACd,IAAI,OAAO,GAAa,EAAE,CAAA;QAE1B,IAAI,IAAI,CAAC,KAAK,KAAK,KAAK,EAAE;YACxB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;SACpB;aAAM,IAAI,IAAI,CAAC,KAAK,EAAE;YACrB,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE;gBACpB,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;aAC1C;YAED,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE;gBACtB,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,IAAA,0BAAa,EAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAA;aACxD;YAED,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;gBACvB,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAA;aACpD;YAED,IAAI,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE;gBACxB,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAA;aACrD;YAED,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE;gBACtB,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAA;aACnD;YAED,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE;gBACtB,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,IAAA,6BAAmB,EAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAA;aACnE;SACF;QAED,OAAO,OAAO,CAAA;IAChB,CAAC;IAED,gBAAgB;QACd,IAAI,OAAO,GAAa,EAAE,CAAA;QAE1B,IAAI,IAAI,CAAC,KAAK,KAAK,KAAK,EAAE;YACxB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;SACpB;aAAM,IAAI,IAAI,CAAC,KAAK,EAAE;YACrB,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE;gBACpB,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;aAC1C;YAED,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE;gBACtB,IAAI,OAAO,GAAG,IAAA,0BAAa,EAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;gBAC/C,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;gBAE7B,IAAI,IAAI,CAAC,KAAK,CAAC,eAAe,EAAE;oBAC9B,OAAO,CAAC,IAAI,CACV,UAAU,EACV,OAAO,EACP,UAAU,EACV,OAAO,EACP,UAAU,EACV,OAAO,CACR,CAAA;iBACF;aACF;YAED,IAAI,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE;gBAClB,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAA;aAC9C;YAED,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE;gBACrB,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAA;aACvD;YAED,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE;gBACtB,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,IAAA,6BAAmB,EAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAA;aACnE;YAED,oBAAoB;SACrB;QAED,OAAO,OAAO,CAAA;IAChB,CAAC;IAED,WAAW;QACT,IAAI,OAAO,GAAa,EAAE,CAAA;QAE1B,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAA;SAC1C;QAED,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAA;SAC7C;QAED,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAA;SAChC;QAED,IAAI,IAAI,CAAC,GAAG,EAAE;YACZ,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;SAC/B;QAED,OAAO,OAAO,CAAA;IAChB,CAAC;IAED,gBAAgB;QACd,IAAI,OAAO,IAAI,CAAC,MAAM,KAAK,QAAQ,EAAE;YACnC,OAAO,IAAI,CAAC,MAAM,CAAA;SACnB;aAAM;YACL,OAAO,QAAQ,CAAA;SAChB;IACH,CAAC;IAED,kBAAkB;QAChB,OAAO;YACL,GAAG,IAAI,CAAC,gBAAgB,EAAE;YAC1B,GAAG,IAAI,CAAC,gBAAgB,EAAE;YAC1B,GAAG,IAAI,CAAC,WAAW,EAAE;YACrB,GAAG,IAAI,CAAC,UAAU;YAClB,IAAI,CAAC,gBAAgB,EAAE;SACxB,CAAA;IACH,CAAC;CACF;AA7JD,oCA6JC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/regexp.js":{"lineLengths":[13,62,380,42,33,53,46,42,42,42,72,60,91,57,57,89,90,34],"data":{"version":3,"file":"regexp.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/regexp.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG,gBAAgB,CAAA;AAEjC,QAAA,QAAQ,GAAG,aAAa,CAAA;AAExB,QAAA,gBAAgB,GAAG,yBAAyB,CAAA;AAC5C,QAAA,cAAc,GAAG,oBAAoB,CAAA;AACrC,QAAA,gBAAgB,GAAG,cAAc,CAAA;AACjC,QAAA,gBAAgB,GAAG,cAAc,CAAA;AACjC,QAAA,iBAAiB,GAAG,aAAa,CAAA;AACjC,QAAA,cAAc,GAAG,8CAA8C,CAAA;AAE/D,QAAA,eAAe,GAAG,iCAAiC,CAAA;AACnD,QAAA,cAAc,GACzB,iEAAiE,CAAA;AACtD,QAAA,sBAAsB,GAAG,uBAAuB,CAAA;AAChD,QAAA,sBAAsB,GAAG,uBAAuB,CAAA;AAChD,QAAA,eAAe,GAC1B,8DAA8D,CAAA;AACnD,QAAA,gBAAgB,GAC3B,8DAA8D,CAAA"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/formatting.js":{"lineLengths":[13,62,31,33,38,29,41,33,9,14,32,9,5,10,23,5,1,38,38],"data":{"version":3,"file":"formatting.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/formatting.ts"],"names":[],"mappings":";;;AAAA,SAAgB,aAAa,CAAC,OAAwB;IACpD,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QAC/B,IAAI,OAAO,GAAG,IAAI,EAAE;YAClB,6BAA6B;YAC7B,OAAO,GAAG,OAAO,GAAG,CAAA;SACrB;aAAM;YACL,OAAO,GAAG,OAAO,EAAE,CAAA;SACpB;KACF;SAAM;QACL,OAAO,OAAO,CAAA;KACf;AACH,CAAC;AAXD,sCAWC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/filters.js":{"lineLengths":[13,62,92,31,33,51,5,18,1,31,37,55,5,18,1,47,35,18,52,5,23,35,38,101,9,14,58,9,62,5,17,50,5,22,85,5,23,53,33,24,5,24,1,40,37,69,1,50,37,70,1,50,35],"data":{"version":3,"file":"filters.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/filters.ts"],"names":[],"mappings":";;;AAiBA,SAAS,YAAY,CAAC,MAAc;IAClC,IAAI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE;QAC1B,OAAO,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,MAAM,CAAC,CAAA;KAC3C;IAED,OAAO,MAAM,CAAA;AACf,CAAC;AAED,SAAS,YAAY,CAAC,MAAc;IAClC,IAAI,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC,EAAE;QAC9B,OAAO,MAAM,CAAC,OAAO,CAAC,eAAe,EAAE,MAAM,CAAC,CAAA;KAC/C;IAED,OAAO,MAAM,CAAA;AACf,CAAC;AAED,SAAgB,cAAc,CAC5B,IAAgB,EAChB,SAAkB,KAAK;IAEvB,IAAI,YAAY,GAAG,IAAI,CAAC,MAAM,CAAA;IAE9B,IAAI,IAAI,CAAC,EAAE,EAAE;QACX,YAAY,GAAG,GAAG,YAAY,IAAI,IAAI,CAAC,EAAE,EAAE,CAAA;KAC5C;IAED,IAAI,IAAI,CAAC,OAAO,EAAE;QAChB,IAAI,OAAO,GAAG,IAAI,CAAC,OAAO,CAAA;QAE1B,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE;YAC3B,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,GAAG,CACnC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,GAAG,GAAG,IAAI,YAAY,CAAC,KAAK,CAAC,EAAE,CAClD,CAAA;SACF;aAAM;YACL,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAA;SAC9C;QAED,YAAY,GAAG,GAAG,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAA;KACtD;IAED,IAAI,MAAM,EAAE;QACV,YAAY,GAAG,YAAY,CAAC,YAAY,CAAC,CAAA;KAC1C;IAED,IAAI,IAAI,CAAC,MAAM,EAAE;QACf,YAAY,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,YAAY,EAAE,CAAA;KAC7E;IAED,IAAI,IAAI,CAAC,OAAO,EAAE;QAChB,YAAY,GAAG,GAAG,YAAY,GAAG,IAAI,CAAC,OAAO;aAC1C,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC;aACpB,IAAI,CAAC,EAAE,CAAC,EAAE,CAAA;KACd;IAED,OAAO,YAAY,CAAA;AACrB,CAAC;AAvCD,wCAuCC;AAED,SAAgB,mBAAmB,CAAC,KAAkB;IACpD,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AAClE,CAAC;AAFD,kDAEC;AAED,SAAgB,mBAAmB,CAAC,KAAkB;IACpD,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACnE,CAAC;AAFD,kDAEC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/helpers/streams.js":{"lineLengths":[13,62,65,45,57,15,1,48,57,16,1,48,35],"data":{"version":3,"file":"streams.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/tests/helpers/streams.ts"],"names":[],"mappings":";;;AAAA,6CAAgD;AAEhD,MAAa,kBAAmB,SAAQ,sBAAQ;IAC9C,KAAK,KAAI,CAAC;CACX;AAFD,gDAEC;AAED,MAAa,kBAAmB,SAAQ,sBAAQ;IAC9C,MAAM,KAAI,CAAC;CACZ;AAFD,gDAEC"},"url":null,"sourceURL":null}}} \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761288-9.json b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761288-9.json new file mode 100644 index 0000000..73510f0 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761288-9.json @@ -0,0 +1 @@ +{"result":[{"scriptId":"78","url":"node:internal/per_context/primordials","functions":[{"functionName":"SafeIterator","ranges":[{"startOffset":9499,"endOffset":9570,"count":142}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":9575,"endOffset":9624,"count":714}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9629,"endOffset":9674,"count":85}],"isBlockCoverage":true},{"functionName":"desc.value","ranges":[{"startOffset":11239,"endOffset":11306,"count":57}],"isBlockCoverage":true},{"functionName":"SafeMap","ranges":[{"startOffset":11964,"endOffset":11992,"count":507}],"isBlockCoverage":false},{"functionName":"SafeWeakMap","ranges":[{"startOffset":12136,"endOffset":12164,"count":10}],"isBlockCoverage":false},{"functionName":"SafeSet","ranges":[{"startOffset":12293,"endOffset":12321,"count":443}],"isBlockCoverage":false},{"functionName":"SafeWeakSet","ranges":[{"startOffset":12465,"endOffset":12493,"count":1}],"isBlockCoverage":true},{"functionName":"SafeFinalizationRegistry","ranges":[{"startOffset":12745,"endOffset":12801,"count":3}],"isBlockCoverage":true},{"functionName":"SafeWeakRef","ranges":[{"startOffset":12954,"endOffset":12992,"count":5}],"isBlockCoverage":true},{"functionName":"SafePromise","ranges":[{"startOffset":13140,"endOffset":13182,"count":348}],"isBlockCoverage":true},{"functionName":"primordials.SafePromisePrototypeFinally","ranges":[{"startOffset":13686,"endOffset":13960,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13831,"endOffset":13955,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13861,"endOffset":13910,"count":58}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnArrayLike","ranges":[{"startOffset":15280,"endOffset":15836,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15315,"endOffset":15835,"count":97},{"startOffset":15485,"endOffset":15504,"count":62},{"startOffset":15577,"endOffset":15831,"count":158},{"startOffset":15615,"endOffset":15638,"count":0},{"startOffset":15831,"endOffset":15834,"count":158}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15706,"endOffset":15815,"count":158},{"startOffset":15788,"endOffset":15807,"count":35}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnVoid","ranges":[{"startOffset":16178,"endOffset":16580,"count":203}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16213,"endOffset":16579,"count":203},{"startOffset":16310,"endOffset":16320,"count":133},{"startOffset":16367,"endOffset":16575,"count":316},{"startOffset":16405,"endOffset":16428,"count":158},{"startOffset":16429,"endOffset":16442,"count":158},{"startOffset":16575,"endOffset":16578,"count":316}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16496,"endOffset":16559,"count":316},{"startOffset":16541,"endOffset":16551,"count":70}],"isBlockCoverage":true}]},{"scriptId":"80","url":"node:internal/per_context/messageport","functions":[{"functionName":"exports.emitMessage","ranges":[{"startOffset":407,"endOffset":993,"count":4},{"startOffset":683,"endOffset":991,"count":0}],"isBlockCoverage":true}]},{"scriptId":"81","url":"node:internal/bootstrap/realm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14749,"count":1}],"isBlockCoverage":false},{"functionName":"binding","ranges":[{"startOffset":4702,"endOffset":5475,"count":0}],"isBlockCoverage":false},{"functionName":"_linkedBinding","ranges":[{"startOffset":5505,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"internalBinding","ranges":[{"startOffset":5955,"endOffset":6217,"count":186},{"startOffset":6057,"endOffset":6197,"count":45}],"isBlockCoverage":true},{"functionName":"getOwn","ranges":[{"startOffset":6377,"endOffset":6531,"count":3307},{"startOffset":6513,"endOffset":6528,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6580,"endOffset":6676,"count":331},{"startOffset":6636,"endOffset":6676,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6803,"endOffset":6870,"count":331},{"startOffset":6854,"endOffset":6870,"count":261}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7100,"endOffset":7136,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7508,"endOffset":7609,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7568,"endOffset":7603,"count":331}],"isBlockCoverage":true},{"functionName":"BuiltinModule","ranges":[{"startOffset":7614,"endOffset":8291,"count":331}],"isBlockCoverage":true},{"functionName":"allowRequireByUsers","ranges":[{"startOffset":8302,"endOffset":8663,"count":0}],"isBlockCoverage":false},{"functionName":"exposeInternals","ranges":[{"startOffset":8813,"endOffset":8964,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":8975,"endOffset":9029,"count":0}],"isBlockCoverage":false},{"functionName":"canBeRequiredByUsers","ranges":[{"startOffset":9040,"endOffset":9115,"count":184}],"isBlockCoverage":true},{"functionName":"canBeRequiredWithoutScheme","ranges":[{"startOffset":9126,"endOffset":9220,"count":1633}],"isBlockCoverage":true},{"functionName":"normalizeRequirableId","ranges":[{"startOffset":9231,"endOffset":9576,"count":1148},{"startOffset":9307,"endOffset":9469,"count":0},{"startOffset":9525,"endOffset":9549,"count":60},{"startOffset":9549,"endOffset":9575,"count":1088}],"isBlockCoverage":true},{"functionName":"isBuiltin","ranges":[{"startOffset":9587,"endOffset":9828,"count":0}],"isBlockCoverage":false},{"functionName":"getCanBeRequiredByUsersWithoutSchemeList","ranges":[{"startOffset":9839,"endOffset":9948,"count":1}],"isBlockCoverage":true},{"functionName":"getSchemeOnlyModuleNames","ranges":[{"startOffset":9959,"endOffset":10034,"count":0}],"isBlockCoverage":false},{"functionName":"compileForPublicLoader","ranges":[{"startOffset":10106,"endOffset":10818,"count":86},{"startOffset":10187,"endOffset":10379,"count":0},{"startOffset":10443,"endOffset":10740,"count":17},{"startOffset":10702,"endOffset":10706,"count":0}],"isBlockCoverage":true},{"functionName":"getESMFacade","ranges":[{"startOffset":10822,"endOffset":11584,"count":100},{"startOffset":10860,"endOffset":10879,"count":83},{"startOffset":10879,"endOffset":11583,"count":17}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11321,"endOffset":11424,"count":17}],"isBlockCoverage":true},{"functionName":"syncExports","ranges":[{"startOffset":11880,"endOffset":12224,"count":103},{"startOffset":11999,"endOffset":12214,"count":3307},{"startOffset":12076,"endOffset":12085,"count":0}],"isBlockCoverage":true},{"functionName":"compileForInternalLoader","ranges":[{"startOffset":12228,"endOffset":13050,"count":2176},{"startOffset":12277,"endOffset":12292,"count":156},{"startOffset":12294,"endOffset":12328,"count":2022},{"startOffset":12328,"endOffset":12467,"count":154},{"startOffset":12467,"endOffset":12502,"count":1},{"startOffset":12503,"endOffset":12519,"count":153},{"startOffset":12775,"endOffset":13049,"count":154}],"isBlockCoverage":true},{"functionName":"requireBuiltin","ranges":[{"startOffset":13245,"endOffset":13610,"count":2095},{"startOffset":13296,"endOffset":13327,"count":5},{"startOffset":13327,"endOffset":13512,"count":2090},{"startOffset":13512,"endOffset":13567,"count":0},{"startOffset":13567,"endOffset":13609,"count":2090}],"isBlockCoverage":true},{"functionName":"requireWithFallbackInDeps","ranges":[{"startOffset":13726,"endOffset":14002,"count":0}],"isBlockCoverage":false},{"functionName":"setupPrepareStackTrace","ranges":[{"startOffset":14004,"endOffset":14600,"count":1}],"isBlockCoverage":true}]},{"scriptId":"82","url":"node:internal/errors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":64999,"count":1}],"isBlockCoverage":false},{"functionName":"prepareStackTrace","ranges":[{"startOffset":2135,"endOffset":3623,"count":0}],"isBlockCoverage":false},{"functionName":"maybeOverridePrepareStackTrace","ranges":[{"startOffset":3665,"endOffset":4372,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4418,"endOffset":4964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5008,"endOffset":5207,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtil","ranges":[{"startOffset":5276,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtilInspect","ranges":[{"startOffset":5409,"endOffset":5537,"count":0}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":5555,"endOffset":5655,"count":0}],"isBlockCoverage":false},{"functionName":"lazyBuffer","ranges":[{"startOffset":5669,"endOffset":5750,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorStackTraceLimitWritable","ranges":[{"startOffset":5752,"endOffset":6259,"count":0}],"isBlockCoverage":false},{"functionName":"inspectWithNoCustomRetry","ranges":[{"startOffset":6261,"endOffset":6507,"count":0}],"isBlockCoverage":false},{"functionName":"SystemError","ranges":[{"startOffset":7009,"endOffset":9985,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":9989,"endOffset":10064,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10068,"endOffset":10258,"count":0}],"isBlockCoverage":false},{"functionName":"makeSystemErrorWithCode","ranges":[{"startOffset":10262,"endOffset":10407,"count":12}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10353,"endOffset":10400,"count":0}],"isBlockCoverage":false},{"functionName":"makeNodeErrorWithCode","ranges":[{"startOffset":10409,"endOffset":11467,"count":267}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10462,"endOffset":11464,"count":0}],"isBlockCoverage":false},{"functionName":"hideStackFrames","ranges":[{"startOffset":11629,"endOffset":11894,"count":49}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":12006,"endOffset":12514,"count":273},{"startOffset":12248,"endOffset":12293,"count":12},{"startOffset":12293,"endOffset":12347,"count":261},{"startOffset":12382,"endOffset":12492,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12409,"endOffset":12486,"count":6}],"isBlockCoverage":true},{"functionName":"getMessage","ranges":[{"startOffset":12516,"endOffset":13389,"count":0}],"isBlockCoverage":false},{"functionName":"lazyUv","ranges":[{"startOffset":13407,"endOffset":13487,"count":0}],"isBlockCoverage":false},{"functionName":"uvErrmapGet","ranges":[{"startOffset":13544,"endOffset":13696,"count":0}],"isBlockCoverage":false},{"functionName":"captureLargerStackTrace","ranges":[{"startOffset":13749,"endOffset":14151,"count":0}],"isBlockCoverage":false},{"functionName":"uvException","ranges":[{"startOffset":14478,"endOffset":15719,"count":0}],"isBlockCoverage":false},{"functionName":"uvExceptionWithHostPort","ranges":[{"startOffset":16082,"endOffset":17071,"count":0}],"isBlockCoverage":false},{"functionName":"errnoException","ranges":[{"startOffset":17291,"endOffset":18155,"count":0}],"isBlockCoverage":false},{"functionName":"exceptionWithHostPort","ranges":[{"startOffset":18559,"endOffset":19847,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20050,"endOffset":21591,"count":0}],"isBlockCoverage":false},{"functionName":"connResetException","ranges":[{"startOffset":21595,"endOffset":21750,"count":0}],"isBlockCoverage":false},{"functionName":"isStackOverflowError","ranges":[{"startOffset":22037,"endOffset":22415,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericalSeparator","ranges":[{"startOffset":22496,"endOffset":22764,"count":0}],"isBlockCoverage":false},{"functionName":"beforeInspector","ranges":[{"startOffset":23043,"endOffset":23434,"count":0}],"isBlockCoverage":false},{"functionName":"afterInspector","ranges":[{"startOffset":23438,"endOffset":24721,"count":0}],"isBlockCoverage":false},{"functionName":"setArrowMessage","ranges":[{"startOffset":24876,"endOffset":24975,"count":0}],"isBlockCoverage":false},{"functionName":"hideInternalStackFrames","ranges":[{"startOffset":25030,"endOffset":25508,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":25741,"endOffset":26050,"count":0}],"isBlockCoverage":false},{"functionName":"genericNodeError","ranges":[{"startOffset":26305,"endOffset":26497,"count":0}],"isBlockCoverage":false},{"functionName":"determineSpecificType","ranges":[{"startOffset":26618,"endOffset":27237,"count":0}],"isBlockCoverage":false},{"functionName":"formatList","ranges":[{"startOffset":27559,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29857,"endOffset":30021,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33056,"endOffset":33171,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33460,"endOffset":33554,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":36457,"endOffset":36685,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38465,"endOffset":38683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41350,"endOffset":41650,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41692,"endOffset":41836,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41879,"endOffset":44000,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44041,"endOffset":44389,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44697,"endOffset":44860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45517,"endOffset":45696,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45744,"endOffset":45879,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45925,"endOffset":46073,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":46117,"endOffset":46891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47179,"endOffset":47366,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47419,"endOffset":47598,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47642,"endOffset":47819,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48276,"endOffset":48492,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48536,"endOffset":48824,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":49387,"endOffset":49860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":50646,"endOffset":51087,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":51181,"endOffset":51400,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":52546,"endOffset":53244,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53295,"endOffset":53487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53536,"endOffset":53852,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54094,"endOffset":54393,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54577,"endOffset":56023,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":56475,"endOffset":56757,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58280,"endOffset":58354,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58390,"endOffset":58713,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58759,"endOffset":58833,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58865,"endOffset":59269,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59321,"endOffset":59499,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59770,"endOffset":59939,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61637,"endOffset":61768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62015,"endOffset":62172,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62362,"endOffset":62564,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62610,"endOffset":62933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63572,"endOffset":63640,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64043,"endOffset":64156,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64350,"endOffset":64737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"83","url":"node:internal/bootstrap/node","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13817,"count":1}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3830,"endOffset":3880,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3886,"endOffset":3944,"count":3},{"startOffset":3930,"endOffset":3933,"count":1},{"startOffset":3934,"endOffset":3937,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4086,"endOffset":4122,"count":8}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":4128,"endOffset":4547,"count":2},{"startOffset":4187,"endOffset":4469,"count":1},{"startOffset":4252,"endOffset":4266,"count":0},{"startOffset":4267,"endOffset":4315,"count":0},{"startOffset":4317,"endOffset":4352,"count":0},{"startOffset":4469,"endOffset":4518,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4769,"endOffset":5033,"count":409}],"isBlockCoverage":true},{"functionName":"process.openStdin","ranges":[{"startOffset":6409,"endOffset":6479,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7965,"endOffset":8127,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8229,"endOffset":8425,"count":1}],"isBlockCoverage":true},{"functionName":"get cached_builtins","ranges":[{"startOffset":9173,"endOffset":9240,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11734,"endOffset":11784,"count":6}],"isBlockCoverage":true},{"functionName":"setupProcessObject","ranges":[{"startOffset":12107,"endOffset":12912,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":12772,"endOffset":12808,"count":55}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":12814,"endOffset":12856,"count":0}],"isBlockCoverage":false},{"functionName":"setupGlobalProxy","ranges":[{"startOffset":12914,"endOffset":13151,"count":1}],"isBlockCoverage":true},{"functionName":"setupBuffer","ranges":[{"startOffset":13153,"endOffset":13816,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13678,"endOffset":13713,"count":3}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":13719,"endOffset":13760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"84","url":"node:internal/timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":19560,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4385,"endOffset":4410,"count":1}],"isBlockCoverage":true},{"functionName":"initAsyncResource","ranges":[{"startOffset":5548,"endOffset":5826,"count":2},{"startOffset":5774,"endOffset":5824,"count":0}],"isBlockCoverage":true},{"functionName":"Timeout","ranges":[{"startOffset":5932,"endOffset":6978,"count":1},{"startOffset":6080,"endOffset":6432,"count":0},{"startOffset":6789,"endOffset":6796,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7059,"endOffset":7255,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":7259,"endOffset":7368,"count":2},{"startOffset":7299,"endOffset":7312,"count":0}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":7372,"endOffset":7511,"count":3}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":7515,"endOffset":7652,"count":2}],"isBlockCoverage":true},{"functionName":"hasRef","ranges":[{"startOffset":7656,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"TimersList","ranges":[{"startOffset":7720,"endOffset":8026,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8107,"endOffset":8303,"count":0}],"isBlockCoverage":false},{"functionName":"ImmediateList","ranges":[{"startOffset":8386,"endOffset":8449,"count":2}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":8601,"endOffset":8782,"count":1},{"startOffset":8644,"endOffset":8719,"count":0}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":8932,"endOffset":9293,"count":0}],"isBlockCoverage":false},{"functionName":"incRefCount","ranges":[{"startOffset":9403,"endOffset":9569,"count":3}],"isBlockCoverage":true},{"functionName":"decRefCount","ranges":[{"startOffset":9571,"endOffset":9738,"count":3}],"isBlockCoverage":true},{"functionName":"active","ranges":[{"startOffset":9821,"endOffset":9875,"count":0}],"isBlockCoverage":false},{"functionName":"unrefActive","ranges":[{"startOffset":10022,"endOffset":10082,"count":2}],"isBlockCoverage":true},{"functionName":"insertGuarded","ranges":[{"startOffset":10303,"endOffset":10819,"count":2},{"startOffset":10427,"endOffset":10434,"count":0},{"startOffset":10551,"endOffset":10625,"count":0},{"startOffset":10646,"endOffset":10687,"count":0},{"startOffset":10722,"endOffset":10793,"count":0}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":10887,"endOffset":11626,"count":3},{"startOffset":11218,"endOffset":11599,"count":1}],"isBlockCoverage":true},{"functionName":"setUnrefTimeout","ranges":[{"startOffset":11628,"endOffset":11886,"count":0}],"isBlockCoverage":false},{"functionName":"getTimerDuration","ranges":[{"startOffset":11953,"endOffset":12481,"count":0}],"isBlockCoverage":false},{"functionName":"compareTimersLists","ranges":[{"startOffset":12483,"endOffset":12688,"count":0}],"isBlockCoverage":false},{"functionName":"setPosition","ranges":[{"startOffset":12690,"endOffset":12761,"count":1}],"isBlockCoverage":true},{"functionName":"getTimerCallbacks","ranges":[{"startOffset":12763,"endOffset":18141,"count":1}],"isBlockCoverage":true},{"functionName":"processImmediate","ranges":[{"startOffset":13075,"endOffset":15008,"count":1},{"startOffset":13154,"endOffset":13178,"count":0},{"startOffset":13615,"endOffset":13630,"count":0},{"startOffset":13947,"endOffset":14043,"count":0},{"startOffset":14605,"endOffset":14661,"count":0},{"startOffset":14763,"endOffset":14784,"count":0},{"startOffset":14935,"endOffset":14964,"count":0}],"isBlockCoverage":true},{"functionName":"processTimers","ranges":[{"startOffset":15013,"endOffset":15503,"count":0}],"isBlockCoverage":false},{"functionName":"listOnTimeout","ranges":[{"startOffset":15507,"endOffset":18081,"count":0}],"isBlockCoverage":false},{"functionName":"Immediate","ranges":[{"startOffset":18163,"endOffset":18485,"count":1}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":18489,"endOffset":18755,"count":1}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":18759,"endOffset":19027,"count":0}],"isBlockCoverage":false},{"functionName":"hasRef","ranges":[{"startOffset":19031,"endOffset":19072,"count":0}],"isBlockCoverage":false}]},{"scriptId":"85","url":"node:internal/async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20082,"count":1}],"isBlockCoverage":false},{"functionName":"useDomainTrampoline","ranges":[{"startOffset":5108,"endOffset":5162,"count":0}],"isBlockCoverage":false},{"functionName":"callbackTrampoline","ranges":[{"startOffset":5164,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"executionAsyncResource","ranges":[{"startOffset":5745,"endOffset":6243,"count":0}],"isBlockCoverage":false},{"functionName":"inspectExceptionValue","ranges":[{"startOffset":6245,"endOffset":6372,"count":0}],"isBlockCoverage":false},{"functionName":"fatalError","ranges":[{"startOffset":6433,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"lookupPublicResource","ranges":[{"startOffset":6837,"endOffset":7186,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitNative","ranges":[{"startOffset":7377,"endOffset":8510,"count":0}],"isBlockCoverage":false},{"functionName":"emitHook","ranges":[{"startOffset":8611,"endOffset":9600,"count":0}],"isBlockCoverage":false},{"functionName":"emitHookFactory","ranges":[{"startOffset":9602,"endOffset":9866,"count":4}],"isBlockCoverage":true},{"functionName":"getHookArrays","ranges":[{"startOffset":9895,"endOffset":10385,"count":0}],"isBlockCoverage":false},{"functionName":"storeActiveHooks","ranges":[{"startOffset":10388,"endOffset":10688,"count":0}],"isBlockCoverage":false},{"functionName":"copyHooks","ranges":[{"startOffset":10690,"endOffset":10955,"count":0}],"isBlockCoverage":false},{"functionName":"restoreActiveHooks","ranges":[{"startOffset":11070,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"trackPromise","ranges":[{"startOffset":11277,"endOffset":11707,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHook","ranges":[{"startOffset":11709,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHookWithDestroyTracking","ranges":[{"startOffset":11955,"endOffset":12091,"count":0}],"isBlockCoverage":false},{"functionName":"destroyTracking","ranges":[{"startOffset":12093,"endOffset":12256,"count":0}],"isBlockCoverage":false},{"functionName":"promiseBeforeHook","ranges":[{"startOffset":12258,"endOffset":12469,"count":0}],"isBlockCoverage":false},{"functionName":"promiseAfterHook","ranges":[{"startOffset":12471,"endOffset":13038,"count":0}],"isBlockCoverage":false},{"functionName":"promiseResolveHook","ranges":[{"startOffset":13040,"endOffset":13186,"count":0}],"isBlockCoverage":false},{"functionName":"enableHooks","ranges":[{"startOffset":13217,"endOffset":13323,"count":0}],"isBlockCoverage":false},{"functionName":"updatePromiseHookMode","ranges":[{"startOffset":13346,"endOffset":13925,"count":0}],"isBlockCoverage":false},{"functionName":"disableHooks","ranges":[{"startOffset":13927,"endOffset":14230,"count":0}],"isBlockCoverage":false},{"functionName":"disablePromiseHookIfNecessary","ranges":[{"startOffset":14232,"endOffset":14348,"count":0}],"isBlockCoverage":false},{"functionName":"newAsyncId","ranges":[{"startOffset":14549,"endOffset":14619,"count":4}],"isBlockCoverage":true},{"functionName":"getOrSetAsyncId","ranges":[{"startOffset":14621,"endOffset":14811,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultTriggerAsyncId","ranges":[{"startOffset":14994,"endOffset":15284,"count":4},{"startOffset":15250,"endOffset":15283,"count":0}],"isBlockCoverage":true},{"functionName":"clearDefaultTriggerAsyncId","ranges":[{"startOffset":15287,"endOffset":15376,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTriggerAsyncIdScope","ranges":[{"startOffset":15601,"endOffset":16094,"count":0}],"isBlockCoverage":false},{"functionName":"hasHooks","ranges":[{"startOffset":16096,"endOffset":16159,"count":16}],"isBlockCoverage":true},{"functionName":"enabledHooksExist","ranges":[{"startOffset":16161,"endOffset":16220,"count":3}],"isBlockCoverage":true},{"functionName":"initHooksExist","ranges":[{"startOffset":16222,"endOffset":16277,"count":4}],"isBlockCoverage":true},{"functionName":"afterHooksExist","ranges":[{"startOffset":16279,"endOffset":16336,"count":0}],"isBlockCoverage":false},{"functionName":"destroyHooksExist","ranges":[{"startOffset":16338,"endOffset":16399,"count":3}],"isBlockCoverage":true},{"functionName":"promiseResolveHooksExist","ranges":[{"startOffset":16401,"endOffset":16476,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitScript","ranges":[{"startOffset":16479,"endOffset":16887,"count":0}],"isBlockCoverage":false},{"functionName":"emitBeforeScript","ranges":[{"startOffset":16890,"endOffset":17066,"count":3},{"startOffset":17038,"endOffset":17064,"count":0}],"isBlockCoverage":true},{"functionName":"emitAfterScript","ranges":[{"startOffset":17069,"endOffset":17189,"count":3},{"startOffset":17133,"endOffset":17158,"count":0}],"isBlockCoverage":true},{"functionName":"emitDestroyScript","ranges":[{"startOffset":17192,"endOffset":17402,"count":0}],"isBlockCoverage":false},{"functionName":"hasAsyncIdStack","ranges":[{"startOffset":17405,"endOffset":17468,"count":0}],"isBlockCoverage":false},{"functionName":"pushAsyncContext","ranges":[{"startOffset":17534,"endOffset":18104,"count":3},{"startOffset":17754,"endOffset":17804,"count":0}],"isBlockCoverage":true},{"functionName":"popAsyncContext","ranges":[{"startOffset":18169,"endOffset":18780,"count":3},{"startOffset":18285,"endOffset":18298,"count":0},{"startOffset":18377,"endOffset":18483,"count":0}],"isBlockCoverage":true},{"functionName":"executionAsyncId","ranges":[{"startOffset":18783,"endOffset":18859,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":18861,"endOffset":18933,"count":0}],"isBlockCoverage":false}]},{"scriptId":"86","url":"node:internal/validators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15153,"count":1}],"isBlockCoverage":false},{"functionName":"isInt32","ranges":[{"startOffset":835,"endOffset":894,"count":379}],"isBlockCoverage":true},{"functionName":"isUint32","ranges":[{"startOffset":946,"endOffset":1008,"count":0}],"isBlockCoverage":false},{"functionName":"parseFileMode","ranges":[{"startOffset":1629,"endOffset":1940,"count":60},{"startOffset":1722,"endOffset":1890,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2186,"endOffset":2567,"count":3},{"startOffset":2306,"endOffset":2360,"count":0},{"startOffset":2400,"endOffset":2454,"count":0},{"startOffset":2497,"endOffset":2563,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2811,"endOffset":3274,"count":2},{"startOffset":2983,"endOffset":3051,"count":0},{"startOffset":3085,"endOffset":3153,"count":0},{"startOffset":3190,"endOffset":3270,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3512,"endOffset":3944,"count":800},{"startOffset":3582,"endOffset":3646,"count":0},{"startOffset":3678,"endOffset":3742,"count":0},{"startOffset":3766,"endOffset":3769,"count":0},{"startOffset":3866,"endOffset":3942,"count":0}],"isBlockCoverage":true},{"functionName":"validateString","ranges":[{"startOffset":4097,"endOffset":4229,"count":12598},{"startOffset":4173,"endOffset":4227,"count":0}],"isBlockCoverage":true},{"functionName":"validateNumber","ranges":[{"startOffset":4430,"endOffset":4898,"count":62},{"startOffset":4528,"endOffset":4582,"count":0},{"startOffset":4603,"endOffset":4617,"count":61},{"startOffset":4635,"endOffset":4649,"count":60},{"startOffset":4674,"endOffset":4688,"count":1},{"startOffset":4690,"endOffset":4711,"count":61},{"startOffset":4714,"endOffset":4896,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5084,"endOffset":5417,"count":0}],"isBlockCoverage":false},{"functionName":"validateBoolean","ranges":[{"startOffset":5573,"endOffset":5708,"count":371},{"startOffset":5651,"endOffset":5706,"count":0}],"isBlockCoverage":true},{"functionName":"getOwnPropertyValueOrDefault","ranges":[{"startOffset":5820,"endOffset":6001,"count":48},{"startOffset":5961,"endOffset":5979,"count":13},{"startOffset":5980,"endOffset":5998,"count":35}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6266,"endOffset":6821,"count":16},{"startOffset":6571,"endOffset":6588,"count":13},{"startOffset":6614,"endOffset":6636,"count":0},{"startOffset":6676,"endOffset":6746,"count":0},{"startOffset":6749,"endOffset":6817,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7376,"endOffset":7556,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7775,"endOffset":8053,"count":740},{"startOffset":7837,"endOffset":7900,"count":0},{"startOffset":7933,"endOffset":8051,"count":0}],"isBlockCoverage":true},{"functionName":"validateStringArray","ranges":[{"startOffset":8218,"endOffset":8387,"count":370},{"startOffset":8333,"endOffset":8385,"count":1850}],"isBlockCoverage":true},{"functionName":"validateBooleanArray","ranges":[{"startOffset":8553,"endOffset":8724,"count":0}],"isBlockCoverage":false},{"functionName":"validateAbortSignalArray","ranges":[{"startOffset":8902,"endOffset":9251,"count":0}],"isBlockCoverage":false},{"functionName":"validateSignalName","ranges":[{"startOffset":9363,"endOffset":9736,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9948,"endOffset":10178,"count":1},{"startOffset":10013,"endOffset":10176,"count":0}],"isBlockCoverage":true},{"functionName":"validateEncoding","ranges":[{"startOffset":10242,"endOffset":10576,"count":0}],"isBlockCoverage":false},{"functionName":"validatePort","ranges":[{"startOffset":10838,"endOffset":11217,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11385,"endOffset":11602,"count":13},{"startOffset":11432,"endOffset":11528,"count":0},{"startOffset":11530,"endOffset":11600,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11802,"endOffset":11918,"count":393},{"startOffset":11860,"endOffset":11916,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12133,"endOffset":12275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12479,"endOffset":12588,"count":0}],"isBlockCoverage":false},{"functionName":"validateUnion","ranges":[{"startOffset":12681,"endOffset":12868,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderFormat","ranges":[{"startOffset":13296,"endOffset":13602,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13650,"endOffset":13860,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderValue","ranges":[{"startOffset":13914,"endOffset":14597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"87","url":"node:internal/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":24956,"count":1}],"isBlockCoverage":false},{"functionName":"toUSVString","ranges":[{"startOffset":1790,"endOffset":2102,"count":107},{"startOffset":2059,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUv","ranges":[{"startOffset":2120,"endOffset":2200,"count":0}],"isBlockCoverage":false},{"functionName":"removeColors","ranges":[{"startOffset":2202,"endOffset":2287,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":2289,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"getDeprecationWarningEmitter","ranges":[{"startOffset":2696,"endOffset":3345,"count":30}],"isBlockCoverage":true},{"functionName":"shouldEmitWarning","ranges":[{"startOffset":2795,"endOffset":2805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2842,"endOffset":3342,"count":0}],"isBlockCoverage":false},{"functionName":"isPendingDeprecation","ranges":[{"startOffset":3347,"endOffset":3475,"count":0}],"isBlockCoverage":false},{"functionName":"pendingDeprecate","ranges":[{"startOffset":3642,"endOffset":3939,"count":3}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":3811,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"deprecate","ranges":[{"startOffset":4094,"endOffset":5092,"count":27},{"startOffset":4181,"endOffset":4201,"count":0},{"startOffset":4290,"endOffset":4344,"count":1},{"startOffset":4376,"endOffset":4405,"count":26},{"startOffset":4846,"endOffset":5068,"count":26}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":4518,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"decorateErrorStack","ranges":[{"startOffset":5094,"endOffset":5360,"count":0}],"isBlockCoverage":false},{"functionName":"assertCrypto","ranges":[{"startOffset":5362,"endOffset":5436,"count":1},{"startOffset":5408,"endOffset":5434,"count":0}],"isBlockCoverage":true},{"functionName":"normalizeEncoding","ranges":[{"startOffset":5615,"endOffset":5746,"count":377},{"startOffset":5685,"endOffset":5703,"count":0},{"startOffset":5719,"endOffset":5745,"count":0}],"isBlockCoverage":true},{"functionName":"slowCases","ranges":[{"startOffset":5748,"endOffset":7499,"count":0}],"isBlockCoverage":false},{"functionName":"emitExperimentalWarning","ranges":[{"startOffset":7501,"endOffset":7767,"count":0}],"isBlockCoverage":false},{"functionName":"filterDuplicateStrings","ranges":[{"startOffset":7769,"endOffset":8108,"count":0}],"isBlockCoverage":false},{"functionName":"cachedResult","ranges":[{"startOffset":8110,"endOffset":8266,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8161,"endOffset":8263,"count":0}],"isBlockCoverage":false},{"functionName":"createClassWrapper","ranges":[{"startOffset":8531,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"getSignalsToNamesMapping","ranges":[{"startOffset":8960,"endOffset":9239,"count":0}],"isBlockCoverage":false},{"functionName":"convertToValidSignal","ranges":[{"startOffset":9241,"endOffset":9562,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorOf","ranges":[{"startOffset":9564,"endOffset":9910,"count":0}],"isBlockCoverage":false},{"functionName":"getCWDURL","ranges":[{"startOffset":10233,"endOffset":10743,"count":1},{"startOffset":10561,"endOffset":10610,"count":0}],"isBlockCoverage":true},{"functionName":"getSystemErrorName","ranges":[{"startOffset":10745,"endOffset":10874,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorMap","ranges":[{"startOffset":10876,"endOffset":10941,"count":0}],"isBlockCoverage":false},{"functionName":"promisify","ranges":[{"startOffset":11109,"endOffset":12970,"count":6},{"startOffset":11229,"endOffset":11285,"count":1},{"startOffset":11372,"endOffset":11649,"count":1},{"startOffset":11649,"endOffset":12756,"count":5},{"startOffset":12756,"endOffset":12918,"count":14},{"startOffset":12918,"endOffset":12969,"count":5}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":11849,"endOffset":12368,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13065,"endOffset":13387,"count":0}],"isBlockCoverage":false},{"functionName":"spliceOne","ranges":[{"startOffset":13528,"endOffset":13655,"count":0}],"isBlockCoverage":false},{"functionName":"isInsideNodeModules","ranges":[{"startOffset":13737,"endOffset":14975,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":14977,"endOffset":15150,"count":0}],"isBlockCoverage":false},{"functionName":"sleep","ranges":[{"startOffset":15173,"endOffset":15388,"count":0}],"isBlockCoverage":false},{"functionName":"createDeferredPromise","ranges":[{"startOffset":15390,"endOffset":15584,"count":0}],"isBlockCoverage":false},{"functionName":"defineOperation","ranges":[{"startOffset":15644,"endOffset":15845,"count":8}],"isBlockCoverage":true},{"functionName":"exposeInterface","ranges":[{"startOffset":15897,"endOffset":16117,"count":5}],"isBlockCoverage":true},{"functionName":"exposeNamespace","ranges":[{"startOffset":16169,"endOffset":16389,"count":1}],"isBlockCoverage":true},{"functionName":"exposeGetterAndSetter","ranges":[{"startOffset":16391,"endOffset":16614,"count":1}],"isBlockCoverage":true},{"functionName":"defineLazyProperties","ranges":[{"startOffset":16616,"endOffset":17549,"count":22},{"startOffset":16779,"endOffset":17548,"count":51}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":16835,"endOffset":16978,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17081,"endOffset":17277,"count":12}],"isBlockCoverage":true},{"functionName":"defineReplaceableLazyAttribute","ranges":[{"startOffset":17551,"endOffset":18451,"count":2},{"startOffset":18419,"endOffset":18424,"count":1},{"startOffset":18425,"endOffset":18436,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17763,"endOffset":17999,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":18104,"endOffset":18175,"count":0}],"isBlockCoverage":false},{"functionName":"exposeLazyInterfaces","ranges":[{"startOffset":18453,"endOffset":18553,"count":14}],"isBlockCoverage":true},{"functionName":"lazyDOMExceptionClass","ranges":[{"startOffset":18604,"endOffset":18700,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18744,"endOffset":18872,"count":0}],"isBlockCoverage":false},{"functionName":"filterOwnProperties","ranges":[{"startOffset":19057,"endOffset":19329,"count":0}],"isBlockCoverage":false},{"functionName":"setOwnProperty","ranges":[{"startOffset":19497,"endOffset":19687,"count":754}],"isBlockCoverage":true},{"functionName":"getInternalGlobal","ranges":[{"startOffset":19709,"endOffset":19984,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeExec","ranges":[{"startOffset":19986,"endOffset":20199,"count":0}],"isBlockCoverage":false},{"functionName":"getCrossRelmRegex","ranges":[{"startOffset":20245,"endOffset":21036,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolReplace","ranges":[{"startOffset":21038,"endOffset":21192,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolSplit","ranges":[{"startOffset":21194,"endOffset":21344,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayBufferDetached","ranges":[{"startOffset":21347,"endOffset":21507,"count":0}],"isBlockCoverage":false},{"functionName":"getLazy","ranges":[{"startOffset":21708,"endOffset":21920,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21789,"endOffset":21917,"count":2326},{"startOffset":21833,"endOffset":21895,"count":4}],"isBlockCoverage":true},{"functionName":"setupCoverageHooks","ranges":[{"startOffset":22045,"endOffset":22722,"count":1},{"startOffset":22515,"endOffset":22692,"count":0}],"isBlockCoverage":true},{"functionName":"guessHandleType","ranges":[{"startOffset":22795,"endOffset":22892,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22894,"endOffset":23438,"count":5}],"isBlockCoverage":false},{"functionName":"WeakReference","ranges":[{"startOffset":22969,"endOffset":23036,"count":5}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":23040,"endOffset":23258,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":23262,"endOffset":23390,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23394,"endOffset":23436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"88","url":"node:internal/options","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1922,"count":1}],"isBlockCoverage":false},{"functionName":"getCLIOptionsFromBinding","ranges":[{"startOffset":464,"endOffset":598,"count":871},{"startOffset":521,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"getAliasesFromBinding","ranges":[{"startOffset":600,"endOffset":731,"count":1}],"isBlockCoverage":true},{"functionName":"getEmbedderOptions","ranges":[{"startOffset":733,"endOffset":877,"count":4},{"startOffset":789,"endOffset":849,"count":1}],"isBlockCoverage":true},{"functionName":"refreshOptions","ranges":[{"startOffset":879,"endOffset":960,"count":1}],"isBlockCoverage":true},{"functionName":"getOptionValue","ranges":[{"startOffset":962,"endOffset":1228,"count":870},{"startOffset":1084,"endOffset":1185,"count":8},{"startOffset":1185,"endOffset":1225,"count":862}],"isBlockCoverage":true},{"functionName":"getAllowUnauthorized","ranges":[{"startOffset":1230,"endOffset":1695,"count":0}],"isBlockCoverage":false},{"functionName":"get options","ranges":[{"startOffset":1718,"endOffset":1776,"count":1}],"isBlockCoverage":true},{"functionName":"get aliases","ranges":[{"startOffset":1780,"endOffset":1835,"count":1}],"isBlockCoverage":true}]},{"scriptId":"89","url":"node:internal/util/types","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2469,"count":1}],"isBlockCoverage":false},{"functionName":"isTypedArray","ranges":[{"startOffset":131,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"isUint8Array","ranges":[{"startOffset":236,"endOffset":342,"count":989}],"isBlockCoverage":true},{"functionName":"isUint8ClampedArray","ranges":[{"startOffset":344,"endOffset":464,"count":0}],"isBlockCoverage":false},{"functionName":"isUint16Array","ranges":[{"startOffset":466,"endOffset":574,"count":0}],"isBlockCoverage":false},{"functionName":"isUint32Array","ranges":[{"startOffset":576,"endOffset":684,"count":0}],"isBlockCoverage":false},{"functionName":"isInt8Array","ranges":[{"startOffset":686,"endOffset":790,"count":0}],"isBlockCoverage":false},{"functionName":"isInt16Array","ranges":[{"startOffset":792,"endOffset":898,"count":0}],"isBlockCoverage":false},{"functionName":"isInt32Array","ranges":[{"startOffset":900,"endOffset":1006,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat32Array","ranges":[{"startOffset":1008,"endOffset":1118,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat64Array","ranges":[{"startOffset":1120,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"isBigInt64Array","ranges":[{"startOffset":1232,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"isBigUint64Array","ranges":[{"startOffset":1346,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":1932,"endOffset":2147,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":2243,"endOffset":2458,"count":0}],"isBlockCoverage":false}]},{"scriptId":"90","url":"node:internal/linkedlist","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1128,"count":1}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":15,"endOffset":103,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":133,"endOffset":225,"count":0}],"isBlockCoverage":false},{"functionName":"remove","ranges":[{"startOffset":260,"endOffset":487,"count":3}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":543,"endOffset":995,"count":3},{"startOffset":594,"endOffset":611,"count":0}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":997,"endOffset":1057,"count":0}],"isBlockCoverage":false}]},{"scriptId":"91","url":"node:internal/priority_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2573,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":395,"endOffset":2571,"count":1}],"isBlockCoverage":false},{"functionName":"#compare","ranges":[{"startOffset":430,"endOffset":445,"count":0}],"isBlockCoverage":false},{"functionName":"PriorityQueue","ranges":[{"startOffset":504,"endOffset":688,"count":1}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":692,"endOffset":875,"count":1},{"startOffset":826,"endOffset":843,"count":0}],"isBlockCoverage":true},{"functionName":"peek","ranges":[{"startOffset":879,"endOffset":917,"count":0}],"isBlockCoverage":false},{"functionName":"percolateDown","ranges":[{"startOffset":921,"endOffset":1585,"count":0}],"isBlockCoverage":false},{"functionName":"percolateUp","ranges":[{"startOffset":1589,"endOffset":2077,"count":1},{"startOffset":1764,"endOffset":1986,"count":0}],"isBlockCoverage":true},{"functionName":"removeAt","ranges":[{"startOffset":2081,"endOffset":2411,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":2415,"endOffset":2569,"count":0}],"isBlockCoverage":false}]},{"scriptId":"92","url":"node:internal/util/inspect","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":81525,"count":1}],"isBlockCoverage":false},{"functionName":"pathToFileUrlHref","ranges":[{"startOffset":3211,"endOffset":3345,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3454,"endOffset":3515,"count":62}],"isBlockCoverage":true},{"functionName":"isUndetectableObject","ranges":[{"startOffset":3611,"endOffset":3661,"count":0}],"isBlockCoverage":false},{"functionName":"getUserOptions","ranges":[{"startOffset":7144,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":8980,"endOffset":11006,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11117,"endOffset":11162,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":11166,"endOffset":11281,"count":0}],"isBlockCoverage":false},{"functionName":"defineColorAlias","ranges":[{"startOffset":13005,"endOffset":13269,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13121,"endOffset":13161,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":13167,"endOffset":13213,"count":0}],"isBlockCoverage":false},{"functionName":"addQuotes","ranges":[{"startOffset":14281,"endOffset":14439,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":14441,"endOffset":14616,"count":0}],"isBlockCoverage":false},{"functionName":"strEscape","ranges":[{"startOffset":14728,"endOffset":16882,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeWithColor","ranges":[{"startOffset":16884,"endOffset":17150,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeNoColor","ranges":[{"startOffset":17152,"endOffset":17198,"count":0}],"isBlockCoverage":false},{"functionName":"getEmptyFormatArray","ranges":[{"startOffset":17277,"endOffset":17324,"count":0}],"isBlockCoverage":false},{"functionName":"isInstanceof","ranges":[{"startOffset":17326,"endOffset":17444,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorName","ranges":[{"startOffset":17446,"endOffset":18715,"count":0}],"isBlockCoverage":false},{"functionName":"addPrototypeProperties","ranges":[{"startOffset":18902,"endOffset":20735,"count":0}],"isBlockCoverage":false},{"functionName":"getPrefix","ranges":[{"startOffset":20737,"endOffset":21124,"count":0}],"isBlockCoverage":false},{"functionName":"getKeys","ranges":[{"startOffset":21161,"endOffset":22152,"count":0}],"isBlockCoverage":false},{"functionName":"getCtxStyle","ranges":[{"startOffset":22154,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"formatProxy","ranges":[{"startOffset":22419,"endOffset":22869,"count":0}],"isBlockCoverage":false},{"functionName":"formatValue","ranges":[{"startOffset":23051,"endOffset":25808,"count":0}],"isBlockCoverage":false},{"functionName":"formatRaw","ranges":[{"startOffset":25810,"endOffset":36655,"count":0}],"isBlockCoverage":false},{"functionName":"getIteratorBraces","ranges":[{"startOffset":36657,"endOffset":36839,"count":0}],"isBlockCoverage":false},{"functionName":"getBoxedBase","ranges":[{"startOffset":36841,"endOffset":38029,"count":0}],"isBlockCoverage":false},{"functionName":"getClassBase","ranges":[{"startOffset":38031,"endOffset":38631,"count":0}],"isBlockCoverage":false},{"functionName":"getFunctionBase","ranges":[{"startOffset":38633,"endOffset":39866,"count":0}],"isBlockCoverage":false},{"functionName":"identicalSequenceRange","ranges":[{"startOffset":39868,"endOffset":40484,"count":0}],"isBlockCoverage":false},{"functionName":"getStackString","ranges":[{"startOffset":40486,"endOffset":40596,"count":0}],"isBlockCoverage":false},{"functionName":"getStackFrames","ranges":[{"startOffset":40598,"endOffset":41489,"count":0}],"isBlockCoverage":false},{"functionName":"improveStack","ranges":[{"startOffset":41491,"endOffset":42696,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateErrorKeys","ranges":[{"startOffset":42698,"endOffset":43121,"count":0}],"isBlockCoverage":false},{"functionName":"markNodeModules","ranges":[{"startOffset":43123,"endOffset":43593,"count":0}],"isBlockCoverage":false},{"functionName":"markCwd","ranges":[{"startOffset":43595,"endOffset":44572,"count":0}],"isBlockCoverage":false},{"functionName":"safeGetCWD","ranges":[{"startOffset":44574,"endOffset":44724,"count":0}],"isBlockCoverage":false},{"functionName":"formatError","ranges":[{"startOffset":44726,"endOffset":47121,"count":0}],"isBlockCoverage":false},{"functionName":"groupArrayElements","ranges":[{"startOffset":47123,"endOffset":51462,"count":0}],"isBlockCoverage":false},{"functionName":"handleMaxCallStackSize","ranges":[{"startOffset":51464,"endOffset":51853,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparator","ranges":[{"startOffset":51855,"endOffset":52257,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparatorEnd","ranges":[{"startOffset":52259,"endOffset":52558,"count":0}],"isBlockCoverage":false},{"functionName":"remainingText","ranges":[{"startOffset":52582,"endOffset":52652,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumber","ranges":[{"startOffset":52655,"endOffset":53443,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigInt","ranges":[{"startOffset":53445,"endOffset":53661,"count":0}],"isBlockCoverage":false},{"functionName":"formatPrimitive","ranges":[{"startOffset":53663,"endOffset":55068,"count":0}],"isBlockCoverage":false},{"functionName":"formatNamespaceObject","ranges":[{"startOffset":55070,"endOffset":56222,"count":0}],"isBlockCoverage":false},{"functionName":"formatSpecialArray","ranges":[{"startOffset":56269,"endOffset":57529,"count":0}],"isBlockCoverage":false},{"functionName":"formatArrayBuffer","ranges":[{"startOffset":57531,"endOffset":58179,"count":0}],"isBlockCoverage":false},{"functionName":"formatArray","ranges":[{"startOffset":58181,"endOffset":58780,"count":0}],"isBlockCoverage":false},{"functionName":"formatTypedArray","ranges":[{"startOffset":58782,"endOffset":59811,"count":0}],"isBlockCoverage":false},{"functionName":"formatSet","ranges":[{"startOffset":59813,"endOffset":60336,"count":0}],"isBlockCoverage":false},{"functionName":"formatMap","ranges":[{"startOffset":60338,"endOffset":60938,"count":0}],"isBlockCoverage":false},{"functionName":"formatSetIterInner","ranges":[{"startOffset":60940,"endOffset":61743,"count":0}],"isBlockCoverage":false},{"functionName":"formatMapIterInner","ranges":[{"startOffset":61745,"endOffset":63053,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakCollection","ranges":[{"startOffset":63055,"endOffset":63147,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakSet","ranges":[{"startOffset":63149,"endOffset":63306,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakMap","ranges":[{"startOffset":63308,"endOffset":63465,"count":0}],"isBlockCoverage":false},{"functionName":"formatIterator","ranges":[{"startOffset":63467,"endOffset":63888,"count":0}],"isBlockCoverage":false},{"functionName":"formatPromise","ranges":[{"startOffset":63890,"endOffset":64364,"count":0}],"isBlockCoverage":false},{"functionName":"formatProperty","ranges":[{"startOffset":64366,"endOffset":66939,"count":0}],"isBlockCoverage":false},{"functionName":"isBelowBreakLength","ranges":[{"startOffset":66941,"endOffset":67899,"count":0}],"isBlockCoverage":false},{"functionName":"reduceToSingleString","ranges":[{"startOffset":67901,"endOffset":70802,"count":0}],"isBlockCoverage":false},{"functionName":"hasBuiltInToString","ranges":[{"startOffset":70804,"endOffset":71880,"count":0}],"isBlockCoverage":false},{"functionName":"firstErrorLine","ranges":[{"startOffset":71905,"endOffset":71963,"count":0}],"isBlockCoverage":false},{"functionName":"tryStringify","ranges":[{"startOffset":71993,"endOffset":72498,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":72500,"endOffset":72581,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptions","ranges":[{"startOffset":72583,"endOffset":72770,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumberNoColor","ranges":[{"startOffset":72772,"endOffset":72954,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigIntNoColor","ranges":[{"startOffset":72956,"endOffset":73138,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptionsInternal","ranges":[{"startOffset":73140,"endOffset":77164,"count":0}],"isBlockCoverage":false},{"functionName":"isZeroWidthCodePoint","ranges":[{"startOffset":77166,"endOffset":77740,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78169,"endOffset":78760,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78875,"endOffset":79343,"count":0}],"isBlockCoverage":false},{"functionName":"isFullWidthCodePoint","ranges":[{"startOffset":79511,"endOffset":81120,"count":0}],"isBlockCoverage":false},{"functionName":"stripVTControlCharacters","ranges":[{"startOffset":81211,"endOffset":81338,"count":0}],"isBlockCoverage":false}]},{"scriptId":"93","url":"node:internal/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":474,"count":1}],"isBlockCoverage":false},{"functionName":"lazyError","ranges":[{"startOffset":26,"endOffset":155,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":157,"endOffset":307,"count":713},{"startOffset":205,"endOffset":305,"count":0}],"isBlockCoverage":true},{"functionName":"fail","ranges":[{"startOffset":309,"endOffset":426,"count":0}],"isBlockCoverage":false}]},{"scriptId":"94","url":"node:internal/util/debuglog","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3395,"count":1}],"isBlockCoverage":false},{"functionName":"initializeDebugEnv","ranges":[{"startOffset":503,"endOffset":976,"count":1},{"startOffset":595,"endOffset":932,"count":0}],"isBlockCoverage":true},{"functionName":"testEnabled","ranges":[{"startOffset":870,"endOffset":927,"count":0}],"isBlockCoverage":false},{"functionName":"testEnabled","ranges":[{"startOffset":958,"endOffset":969,"count":8}],"isBlockCoverage":true},{"functionName":"emitWarningIfNeeded","ranges":[{"startOffset":1050,"endOffset":1389,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":1404,"endOffset":1412,"count":2522}],"isBlockCoverage":true},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1431,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"debuglogImpl","ranges":[{"startOffset":1533,"endOffset":2091,"count":7},{"startOffset":1608,"endOffset":2063,"count":5},{"startOffset":1627,"endOffset":2016,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":1716,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"debuglog","ranges":[{"startOffset":2311,"endOffset":3337,"count":15}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":2342,"endOffset":2438,"count":8}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":2453,"endOffset":2847,"count":7},{"startOffset":2700,"endOffset":2730,"count":4},{"startOffset":2737,"endOffset":2776,"count":2},{"startOffset":2783,"endOffset":2837,"count":1}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2877,"endOffset":2946,"count":1}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2908,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"logger","ranges":[{"startOffset":2965,"endOffset":3160,"count":7},{"startOffset":3013,"endOffset":3043,"count":4},{"startOffset":3050,"endOffset":3089,"count":2},{"startOffset":3096,"endOffset":3150,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3231,"endOffset":3265,"count":1}],"isBlockCoverage":true}]},{"scriptId":"95","url":"node:events","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36377,"count":1}],"isBlockCoverage":false},{"functionName":"lazyEventEmitterAsyncResource","ranges":[{"startOffset":3020,"endOffset":6331,"count":4},{"startOffset":3110,"endOffset":6293,"count":1}],"isBlockCoverage":true},{"functionName":"EventEmitterReferencingAsyncResource","ranges":[{"startOffset":3565,"endOffset":3669,"count":0}],"isBlockCoverage":false},{"functionName":"get eventEmitter","ranges":[{"startOffset":3727,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterAsyncResource","ranges":[{"startOffset":4205,"endOffset":4729,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":4866,"endOffset":5236,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":5297,"endOffset":5485,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncId","ranges":[{"startOffset":5545,"endOffset":5736,"count":0}],"isBlockCoverage":false},{"functionName":"get triggerAsyncId","ranges":[{"startOffset":5796,"endOffset":6001,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncResource","ranges":[{"startOffset":6091,"endOffset":6280,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter","ranges":[{"startOffset":6465,"endOffset":6534,"count":63}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":7019,"endOffset":7075,"count":4}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":7079,"endOffset":7204,"count":0}],"isBlockCoverage":false},{"functionName":"checkListener","ranges":[{"startOffset":7985,"endOffset":8063,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8171,"endOffset":8219,"count":6}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8228,"endOffset":8329,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.setMaxListeners","ranges":[{"startOffset":8882,"endOffset":9694,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.init","ranges":[{"startOffset":9861,"endOffset":10459,"count":63},{"startOffset":9912,"endOffset":9972,"count":0},{"startOffset":10116,"endOffset":10135,"count":2},{"startOffset":10137,"endOffset":10270,"count":0}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":10462,"endOffset":11021,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionOrErr","ranges":[{"startOffset":11023,"endOffset":11680,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":11832,"endOffset":11947,"count":1}],"isBlockCoverage":true},{"functionName":"_getMaxListeners","ranges":[{"startOffset":11950,"endOffset":12099,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":12236,"endOffset":12299,"count":0}],"isBlockCoverage":false},{"functionName":"enhanceStackTrace","ranges":[{"startOffset":12302,"endOffset":13061,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":13256,"endOffset":15559,"count":59},{"startOffset":13401,"endOffset":13439,"count":0},{"startOffset":13447,"endOffset":13481,"count":0},{"startOffset":13505,"endOffset":13534,"count":0},{"startOffset":13540,"endOffset":13577,"count":0},{"startOffset":13649,"endOffset":14617,"count":0},{"startOffset":14698,"endOffset":15558,"count":0}],"isBlockCoverage":true},{"functionName":"_addListener","ranges":[{"startOffset":15562,"endOffset":17456,"count":7},{"startOffset":15742,"endOffset":15827,"count":0},{"startOffset":16012,"endOffset":16273,"count":0},{"startOffset":16476,"endOffset":17436,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":17634,"endOffset":17726,"count":7}],"isBlockCoverage":true},{"functionName":"prependListener","ranges":[{"startOffset":18013,"endOffset":18116,"count":0}],"isBlockCoverage":false},{"functionName":"onceWrapper","ranges":[{"startOffset":18119,"endOffset":18383,"count":0}],"isBlockCoverage":false},{"functionName":"_onceWrap","ranges":[{"startOffset":18385,"endOffset":18626,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":18817,"endOffset":18943,"count":0}],"isBlockCoverage":false},{"functionName":"prependOnceListener","ranges":[{"startOffset":19176,"endOffset":19346,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":19553,"endOffset":20848,"count":5},{"startOffset":19702,"endOffset":19714,"count":0},{"startOffset":19787,"endOffset":19799,"count":3},{"startOffset":19799,"endOffset":19829,"count":2},{"startOffset":19829,"endOffset":19858,"count":0},{"startOffset":19860,"endOffset":20121,"count":2},{"startOffset":19911,"endOffset":19946,"count":0},{"startOffset":20042,"endOffset":20103,"count":0},{"startOffset":20121,"endOffset":20822,"count":0},{"startOffset":20822,"endOffset":20847,"count":2}],"isBlockCoverage":true},{"functionName":"removeAllListeners","ranges":[{"startOffset":21168,"endOffset":22497,"count":0}],"isBlockCoverage":false},{"functionName":"_listeners","ranges":[{"startOffset":22500,"endOffset":22895,"count":0}],"isBlockCoverage":false},{"functionName":"listeners","ranges":[{"startOffset":23085,"endOffset":23152,"count":0}],"isBlockCoverage":false},{"functionName":"rawListeners","ranges":[{"startOffset":23359,"endOffset":23430,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.listenerCount","ranges":[{"startOffset":23672,"endOffset":23858,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":24091,"endOffset":24796,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":24952,"endOffset":25045,"count":0}],"isBlockCoverage":false},{"functionName":"arrayClone","ranges":[{"startOffset":25048,"endOffset":25521,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapListeners","ranges":[{"startOffset":25523,"endOffset":25737,"count":0}],"isBlockCoverage":false},{"functionName":"getEventListeners","ranges":[{"startOffset":25947,"endOffset":26821,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":26941,"endOffset":27376,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":27596,"endOffset":29314,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29392,"endOffset":29413,"count":0}],"isBlockCoverage":false},{"functionName":"createIterResult","ranges":[{"startOffset":29428,"endOffset":29496,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticRemoveListener","ranges":[{"startOffset":29498,"endOffset":29883,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticAddListener","ranges":[{"startOffset":29885,"endOffset":30317,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":30622,"endOffset":35023,"count":0}],"isBlockCoverage":false},{"functionName":"listenersController","ranges":[{"startOffset":35025,"endOffset":35471,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortListener","ranges":[{"startOffset":35494,"endOffset":36376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"96","url":"node:buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":41224,"count":1}],"isBlockCoverage":false},{"functionName":"validateOffset","ranges":[{"startOffset":3255,"endOffset":3339,"count":0}],"isBlockCoverage":false},{"functionName":"createPool","ranges":[{"startOffset":4069,"endOffset":4228,"count":1}],"isBlockCoverage":true},{"functionName":"alignPool","ranges":[{"startOffset":4244,"endOffset":4366,"count":12},{"startOffset":4318,"endOffset":4364,"count":11}],"isBlockCoverage":true},{"functionName":"showFlaggedDeprecation","ranges":[{"startOffset":4670,"endOffset":5350,"count":0}],"isBlockCoverage":false},{"functionName":"toInteger","ranges":[{"startOffset":5352,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"_copy","ranges":[{"startOffset":5572,"endOffset":6704,"count":0}],"isBlockCoverage":false},{"functionName":"_copyActual","ranges":[{"startOffset":6706,"endOffset":7237,"count":0}],"isBlockCoverage":false},{"functionName":"Buffer","ranges":[{"startOffset":7813,"endOffset":8146,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8258,"endOffset":8286,"count":0}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":8544,"endOffset":9509,"count":18},{"startOffset":8630,"endOffset":8673,"count":11},{"startOffset":8673,"endOffset":8724,"count":7},{"startOffset":8726,"endOffset":9363,"count":7},{"startOffset":8767,"endOffset":8823,"count":6},{"startOffset":8823,"endOffset":8877,"count":1},{"startOffset":8903,"endOffset":8931,"count":1},{"startOffset":8932,"endOffset":9003,"count":0},{"startOffset":9005,"endOffset":9066,"count":0},{"startOffset":9066,"endOffset":9127,"count":1},{"startOffset":9127,"endOffset":9359,"count":0},{"startOffset":9363,"endOffset":9508,"count":0}],"isBlockCoverage":true},{"functionName":"copyBytesFrom","ranges":[{"startOffset":9763,"endOffset":10644,"count":0}],"isBlockCoverage":false},{"functionName":"of","ranges":[{"startOffset":11015,"endOffset":11167,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11456,"endOffset":11516,"count":60}],"isBlockCoverage":true},{"functionName":"alloc","ranges":[{"startOffset":11619,"endOffset":11864,"count":1},{"startOffset":11703,"endOffset":11716,"count":0},{"startOffset":11717,"endOffset":11728,"count":0},{"startOffset":11730,"endOffset":11831,"count":0}],"isBlockCoverage":true},{"functionName":"allocUnsafe","ranges":[{"startOffset":12043,"endOffset":12118,"count":1}],"isBlockCoverage":true},{"functionName":"allocUnsafeSlow","ranges":[{"startOffset":12359,"endOffset":12448,"count":58}],"isBlockCoverage":true},{"functionName":"SlowBuffer","ranges":[{"startOffset":12544,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"allocate","ranges":[{"startOffset":12748,"endOffset":13080,"count":1},{"startOffset":12791,"endOffset":12825,"count":0},{"startOffset":12912,"endOffset":12925,"count":0},{"startOffset":13043,"endOffset":13079,"count":0}],"isBlockCoverage":true},{"functionName":"fromStringFast","ranges":[{"startOffset":13082,"endOffset":13628,"count":11},{"startOffset":13208,"endOffset":13257,"count":1},{"startOffset":13257,"endOffset":13303,"count":10},{"startOffset":13303,"endOffset":13316,"count":0},{"startOffset":13316,"endOffset":13449,"count":10},{"startOffset":13449,"endOffset":13575,"count":0},{"startOffset":13575,"endOffset":13627,"count":10}],"isBlockCoverage":true},{"functionName":"fromString","ranges":[{"startOffset":13630,"endOffset":14083,"count":11},{"startOffset":13716,"endOffset":13740,"count":8},{"startOffset":13742,"endOffset":13861,"count":3},{"startOffset":13779,"endOffset":13803,"count":0},{"startOffset":13861,"endOffset":14043,"count":8},{"startOffset":13938,"endOffset":13979,"count":0},{"startOffset":14015,"endOffset":14039,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayBuffer","ranges":[{"startOffset":14085,"endOffset":14782,"count":6},{"startOffset":14229,"endOffset":14325,"count":0},{"startOffset":14402,"endOffset":14447,"count":0},{"startOffset":14506,"endOffset":14729,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayLike","ranges":[{"startOffset":14784,"endOffset":15178,"count":1},{"startOffset":14841,"endOffset":14865,"count":0},{"startOffset":14964,"endOffset":14977,"count":0},{"startOffset":15146,"endOffset":15177,"count":0}],"isBlockCoverage":true},{"functionName":"fromObject","ranges":[{"startOffset":15180,"endOffset":15486,"count":1},{"startOffset":15238,"endOffset":15269,"count":0},{"startOffset":15313,"endOffset":15351,"count":0},{"startOffset":15386,"endOffset":15441,"count":0},{"startOffset":15443,"endOffset":15484,"count":0}],"isBlockCoverage":true},{"functionName":"isBuffer","ranges":[{"startOffset":15525,"endOffset":15579,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":15599,"endOffset":15924,"count":0}],"isBlockCoverage":false},{"functionName":"isEncoding","ranges":[{"startOffset":15947,"endOffset":16098,"count":377}],"isBlockCoverage":true},{"functionName":"concat","ranges":[{"startOffset":16164,"endOffset":17311,"count":0}],"isBlockCoverage":false},{"functionName":"base64ByteLength","ranges":[{"startOffset":17314,"endOffset":17582,"count":1},{"startOffset":17520,"endOffset":17528,"count":0}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":17717,"endOffset":17781,"count":3}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":17794,"endOffset":17840,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":17855,"endOffset":17951,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18045,"endOffset":18074,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18087,"endOffset":18151,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18164,"endOffset":18210,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18225,"endOffset":18324,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18424,"endOffset":18453,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18466,"endOffset":18530,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18543,"endOffset":18589,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18604,"endOffset":18703,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18800,"endOffset":18825,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18838,"endOffset":18904,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18917,"endOffset":18965,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18980,"endOffset":19078,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19172,"endOffset":19197,"count":3}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19210,"endOffset":19275,"count":3}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":19288,"endOffset":19335,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19350,"endOffset":19562,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19659,"endOffset":19710,"count":1}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19723,"endOffset":19789,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":19802,"endOffset":19850,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19865,"endOffset":20079,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20185,"endOffset":20236,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20249,"endOffset":20324,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":20337,"endOffset":20388,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20403,"endOffset":20623,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20711,"endOffset":20742,"count":4}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":20755,"endOffset":20818,"count":4}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":20831,"endOffset":20876,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20891,"endOffset":21099,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingOps","ranges":[{"startOffset":21109,"endOffset":22933,"count":8},{"startOffset":21196,"endOffset":21495,"count":0},{"startOffset":21500,"endOffset":21919,"count":3},{"startOffset":21540,"endOffset":21564,"count":0},{"startOffset":21622,"endOffset":21919,"count":0},{"startOffset":21924,"endOffset":22078,"count":0},{"startOffset":22083,"endOffset":22239,"count":0},{"startOffset":22244,"endOffset":22625,"count":1},{"startOffset":22318,"endOffset":22344,"count":0},{"startOffset":22404,"endOffset":22516,"count":0},{"startOffset":22526,"endOffset":22625,"count":0},{"startOffset":22630,"endOffset":22762,"count":4},{"startOffset":22667,"endOffset":22716,"count":0},{"startOffset":22749,"endOffset":22762,"count":0},{"startOffset":22767,"endOffset":22927,"count":0}],"isBlockCoverage":true},{"functionName":"byteLength","ranges":[{"startOffset":22935,"endOffset":23441,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23600,"endOffset":23694,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23792,"endOffset":23890,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":23923,"endOffset":24056,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":24337,"endOffset":24916,"count":1},{"startOffset":24457,"endOffset":24620,"count":0},{"startOffset":24626,"endOffset":24915,"count":0}],"isBlockCoverage":true},{"functionName":"equals","ranges":[{"startOffset":24945,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":25427,"endOffset":26570,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":26666,"endOffset":27815,"count":0}],"isBlockCoverage":false},{"functionName":"bidirectionalIndexOf","ranges":[{"startOffset":28243,"endOffset":29551,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":29580,"endOffset":29697,"count":0}],"isBlockCoverage":false},{"functionName":"lastIndexOf","ranges":[{"startOffset":29731,"endOffset":29853,"count":0}],"isBlockCoverage":false},{"functionName":"includes","ranges":[{"startOffset":29884,"endOffset":29989,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":30167,"endOffset":30266,"count":0}],"isBlockCoverage":false},{"functionName":"_fill","ranges":[{"startOffset":30269,"endOffset":32215,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":32242,"endOffset":33257,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":33286,"endOffset":33520,"count":0}],"isBlockCoverage":false},{"functionName":"adjustOffset","ranges":[{"startOffset":33523,"endOffset":33957,"count":0}],"isBlockCoverage":false},{"functionName":"subarray","ranges":[{"startOffset":33987,"endOffset":34290,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":34318,"endOffset":34384,"count":0}],"isBlockCoverage":false},{"functionName":"swap","ranges":[{"startOffset":34387,"endOffset":34458,"count":0}],"isBlockCoverage":false},{"functionName":"swap16","ranges":[{"startOffset":34486,"endOffset":34890,"count":0}],"isBlockCoverage":false},{"functionName":"swap32","ranges":[{"startOffset":34919,"endOffset":35363,"count":0}],"isBlockCoverage":false},{"functionName":"swap64","ranges":[{"startOffset":35392,"endOffset":35900,"count":0}],"isBlockCoverage":false},{"functionName":"transcode","ranges":[{"startOffset":36214,"endOffset":36913,"count":0}],"isBlockCoverage":false},{"functionName":"btoa","ranges":[{"startOffset":36918,"endOffset":37455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":37728,"endOffset":37772,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37830,"endOffset":37874,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37929,"endOffset":37973,"count":10}],"isBlockCoverage":true},{"functionName":"atob","ranges":[{"startOffset":38149,"endOffset":40101,"count":0}],"isBlockCoverage":false},{"functionName":"isUtf8","ranges":[{"startOffset":40103,"endOffset":40299,"count":0}],"isBlockCoverage":false},{"functionName":"isAscii","ranges":[{"startOffset":40301,"endOffset":40514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40905,"endOffset":40940,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":40946,"endOffset":41044,"count":0}],"isBlockCoverage":false}]},{"scriptId":"97","url":"node:internal/buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30926,"count":1}],"isBlockCoverage":false},{"functionName":"checkBounds","ranges":[{"startOffset":1176,"endOffset":1392,"count":1},{"startOffset":1339,"endOffset":1390,"count":0}],"isBlockCoverage":true},{"functionName":"checkInt","ranges":[{"startOffset":1394,"endOffset":2016,"count":1},{"startOffset":1490,"endOffset":1974,"count":0}],"isBlockCoverage":true},{"functionName":"boundsError","ranges":[{"startOffset":2018,"endOffset":2421,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":2441,"endOffset":2940,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":2942,"endOffset":3441,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":3443,"endOffset":3944,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":3946,"endOffset":4441,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntLE","ranges":[{"startOffset":4443,"endOffset":4995,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48LE","ranges":[{"startOffset":4997,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40LE","ranges":[{"startOffset":5382,"endOffset":5738,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":5740,"endOffset":6066,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24LE","ranges":[{"startOffset":6068,"endOffset":6356,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":6358,"endOffset":6618,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":6620,"endOffset":6800,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntBE","ranges":[{"startOffset":6802,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48BE","ranges":[{"startOffset":7356,"endOffset":7739,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40BE","ranges":[{"startOffset":7741,"endOffset":8097,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":8099,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24BE","ranges":[{"startOffset":8427,"endOffset":8715,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":8717,"endOffset":8977,"count":0}],"isBlockCoverage":false},{"functionName":"readIntLE","ranges":[{"startOffset":8979,"endOffset":9524,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48LE","ranges":[{"startOffset":9526,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40LE","ranges":[{"startOffset":9959,"endOffset":10346,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":10348,"endOffset":10683,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24LE","ranges":[{"startOffset":10685,"endOffset":11017,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":11019,"endOffset":11325,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":11327,"endOffset":11535,"count":0}],"isBlockCoverage":false},{"functionName":"readIntBE","ranges":[{"startOffset":11537,"endOffset":12082,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48BE","ranges":[{"startOffset":12084,"endOffset":12513,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40BE","ranges":[{"startOffset":12515,"endOffset":12903,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":12905,"endOffset":13240,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24BE","ranges":[{"startOffset":13242,"endOffset":13574,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":13576,"endOffset":13882,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBackwards","ranges":[{"startOffset":13899,"endOffset":14304,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatForwards","ranges":[{"startOffset":14306,"endOffset":14710,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBackwards","ranges":[{"startOffset":14712,"endOffset":15282,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleForwards","ranges":[{"startOffset":15284,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64LE","ranges":[{"startOffset":15874,"endOffset":16356,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":16358,"endOffset":16480,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64BE","ranges":[{"startOffset":16482,"endOffset":16980,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":16982,"endOffset":17104,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":17106,"endOffset":17250,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":17252,"endOffset":17396,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntLE","ranges":[{"startOffset":17398,"endOffset":18007,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48LE","ranges":[{"startOffset":18009,"endOffset":18422,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40LE","ranges":[{"startOffset":18424,"endOffset":18803,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32LE","ranges":[{"startOffset":18805,"endOffset":19112,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19114,"endOffset":19220,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24LE","ranges":[{"startOffset":19222,"endOffset":19481,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16LE","ranges":[{"startOffset":19483,"endOffset":19679,"count":1}],"isBlockCoverage":true},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19681,"endOffset":19783,"count":1}],"isBlockCoverage":true},{"functionName":"writeU_Int8","ranges":[{"startOffset":19785,"endOffset":20197,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":20199,"endOffset":20293,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntBE","ranges":[{"startOffset":20295,"endOffset":20904,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48BE","ranges":[{"startOffset":20906,"endOffset":21327,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40BE","ranges":[{"startOffset":21329,"endOffset":21691,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32BE","ranges":[{"startOffset":21693,"endOffset":22008,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":22010,"endOffset":22116,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24BE","ranges":[{"startOffset":22118,"endOffset":22383,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16BE","ranges":[{"startOffset":22385,"endOffset":22581,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":22583,"endOffset":22685,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntLE","ranges":[{"startOffset":22687,"endOffset":23349,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":23351,"endOffset":23466,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":23468,"endOffset":23575,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":23577,"endOffset":23674,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntBE","ranges":[{"startOffset":23676,"endOffset":24338,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":24340,"endOffset":24455,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":24457,"endOffset":24564,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleForwards","ranges":[{"startOffset":24583,"endOffset":25049,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBackwards","ranges":[{"startOffset":25051,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatForwards","ranges":[{"startOffset":25520,"endOffset":25821,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBackwards","ranges":[{"startOffset":25823,"endOffset":26125,"count":0}],"isBlockCoverage":false},{"functionName":"FastBuffer","ranges":[{"startOffset":26365,"endOffset":26465,"count":79}],"isBlockCoverage":true},{"functionName":"addBufferPrototypeMethods","ranges":[{"startOffset":26469,"endOffset":29608,"count":1},{"startOffset":28552,"endOffset":28572,"count":0},{"startOffset":28626,"endOffset":28645,"count":0},{"startOffset":28701,"endOffset":28722,"count":0},{"startOffset":28778,"endOffset":28798,"count":0},{"startOffset":28855,"endOffset":28876,"count":0},{"startOffset":28932,"endOffset":28952,"count":0},{"startOffset":29010,"endOffset":29032,"count":0},{"startOffset":29090,"endOffset":29111,"count":0}],"isBlockCoverage":true},{"functionName":"markAsUntransferable","ranges":[{"startOffset":29764,"endOffset":30013,"count":1},{"startOffset":29832,"endOffset":29860,"count":0},{"startOffset":29883,"endOffset":29890,"count":0}],"isBlockCoverage":true},{"functionName":"createUnsafeBuffer","ranges":[{"startOffset":30291,"endOffset":30427,"count":59}],"isBlockCoverage":true},{"functionName":"reconnectZeroFillToggle","ranges":[{"startOffset":30682,"endOffset":30754,"count":1}],"isBlockCoverage":true}]},{"scriptId":"98","url":"node:internal/worker/js_transferable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2208,"count":1}],"isBlockCoverage":false},{"functionName":"setup","ranges":[{"startOffset":478,"endOffset":1311,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":759,"endOffset":1307,"count":0}],"isBlockCoverage":false},{"functionName":"makeTransferable","ranges":[{"startOffset":1313,"endOffset":1968,"count":0}],"isBlockCoverage":false}]},{"scriptId":"99","url":"node:internal/process/per_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12464,"count":1}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":1145,"endOffset":1233,"count":0}],"isBlockCoverage":false},{"functionName":"refreshHrtimeBuffer","ranges":[{"startOffset":1388,"endOffset":1856,"count":2}],"isBlockCoverage":true},{"functionName":"hrtime","ranges":[{"startOffset":1905,"endOffset":2407,"count":0}],"isBlockCoverage":false},{"functionName":"hrtimeBigInt","ranges":[{"startOffset":2409,"endOffset":2490,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2492,"endOffset":2509,"count":0}],"isBlockCoverage":false},{"functionName":"wrapProcessMethods","ranges":[{"startOffset":2587,"endOffset":7477,"count":1}],"isBlockCoverage":true},{"functionName":"_rawDebug","ranges":[{"startOffset":2754,"endOffset":2844,"count":0}],"isBlockCoverage":false},{"functionName":"cpuUsage","ranges":[{"startOffset":3055,"endOffset":4207,"count":0}],"isBlockCoverage":false},{"functionName":"previousValueIsValid","ranges":[{"startOffset":4360,"endOffset":4497,"count":0}],"isBlockCoverage":false},{"functionName":"memoryUsage","ranges":[{"startOffset":4542,"endOffset":4769,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":4799,"endOffset":5938,"count":1}],"isBlockCoverage":true},{"functionName":"kill","ranges":[{"startOffset":5942,"endOffset":6587,"count":0}],"isBlockCoverage":false},{"functionName":"resourceUsage","ranges":[{"startOffset":6638,"endOffset":7372,"count":0}],"isBlockCoverage":false},{"functionName":"buildAllowedFlags","ranges":[{"startOffset":7688,"endOffset":11790,"count":1},{"startOffset":7976,"endOffset":8267,"count":159},{"startOffset":8028,"endOffset":8263,"count":124},{"startOffset":8125,"endOffset":8257,"count":62},{"startOffset":8735,"endOffset":9157,"count":23},{"startOffset":8789,"endOffset":9153,"count":11},{"startOffset":8878,"endOffset":8947,"count":2},{"startOffset":9012,"endOffset":9081,"count":0}],"isBlockCoverage":true},{"functionName":"isAccepted","ranges":[{"startOffset":8271,"endOffset":8683,"count":29},{"startOffset":8341,"endOffset":8355,"count":28},{"startOffset":8357,"endOffset":8369,"count":2},{"startOffset":8369,"endOffset":8446,"count":27},{"startOffset":8446,"endOffset":8615,"count":2},{"startOffset":8496,"endOffset":8543,"count":1},{"startOffset":8615,"endOffset":8682,"count":25}],"isBlockCoverage":true},{"functionName":"trimLeadingDashes","ranges":[{"startOffset":9191,"endOffset":9253,"count":197}],"isBlockCoverage":true},{"functionName":"NodeEnvironmentFlagsSet","ranges":[{"startOffset":9563,"endOffset":9639,"count":1}],"isBlockCoverage":true},{"functionName":"add","ranges":[{"startOffset":9645,"endOffset":9714,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":9720,"endOffset":9793,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":9799,"endOffset":9851,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":9857,"endOffset":10672,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":10678,"endOffset":10843,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":10849,"endOffset":11026,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":11032,"endOffset":11093,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":11099,"endOffset":11262,"count":0}],"isBlockCoverage":false},{"functionName":"toggleTraceCategoryState","ranges":[{"startOffset":11980,"endOffset":12310,"count":1},{"startOffset":12060,"endOffset":12235,"count":0},{"startOffset":12267,"endOffset":12308,"count":0}],"isBlockCoverage":true}]},{"scriptId":"100","url":"node:internal/process/task_queues","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4285,"count":1}],"isBlockCoverage":false},{"functionName":"hasTickScheduled","ranges":[{"startOffset":982,"endOffset":1057,"count":0}],"isBlockCoverage":false},{"functionName":"setHasTickScheduled","ranges":[{"startOffset":1059,"endOffset":1145,"count":2},{"startOffset":1135,"endOffset":1138,"count":1},{"startOffset":1139,"endOffset":1142,"count":1}],"isBlockCoverage":true},{"functionName":"runNextTicks","ranges":[{"startOffset":1247,"endOffset":1443,"count":0}],"isBlockCoverage":false},{"functionName":"processTicksAndRejections","ranges":[{"startOffset":1445,"endOffset":2424,"count":1},{"startOffset":1547,"endOffset":2279,"count":2},{"startOffset":1781,"endOffset":2155,"count":0},{"startOffset":2217,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"nextTick","ranges":[{"startOffset":2568,"endOffset":3442,"count":2},{"startOffset":2669,"endOffset":2676,"count":0},{"startOffset":2743,"endOffset":2780,"count":0},{"startOffset":2785,"endOffset":2836,"count":0},{"startOffset":2841,"endOffset":2906,"count":0},{"startOffset":2911,"endOffset":3054,"count":0},{"startOffset":3083,"endOffset":3109,"count":1},{"startOffset":3354,"endOffset":3414,"count":0}],"isBlockCoverage":true},{"functionName":"runMicrotask","ranges":[{"startOffset":3444,"endOffset":3620,"count":0}],"isBlockCoverage":false},{"functionName":"queueMicrotask","ranges":[{"startOffset":3692,"endOffset":3981,"count":0}],"isBlockCoverage":false},{"functionName":"setupTaskQueue","ranges":[{"startOffset":4004,"endOffset":4262,"count":1}],"isBlockCoverage":true}]},{"scriptId":"101","url":"node:internal/process/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11045,"count":1}],"isBlockCoverage":false},{"functionName":"setHasRejectionToWarn","ranges":[{"startOffset":2155,"endOffset":2245,"count":1},{"startOffset":2235,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"hasRejectionToWarn","ranges":[{"startOffset":2247,"endOffset":2326,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorLike","ranges":[{"startOffset":2328,"endOffset":2464,"count":0}],"isBlockCoverage":false},{"functionName":"getUnhandledRejectionsMode","ranges":[{"startOffset":2466,"endOffset":2999,"count":0}],"isBlockCoverage":false},{"functionName":"promiseRejectHandler","ranges":[{"startOffset":3001,"endOffset":3570,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3619,"endOffset":3627,"count":0}],"isBlockCoverage":false},{"functionName":"resolveError","ranges":[{"startOffset":3698,"endOffset":3995,"count":0}],"isBlockCoverage":false},{"functionName":"unhandledRejection","ranges":[{"startOffset":3997,"endOffset":4557,"count":0}],"isBlockCoverage":false},{"functionName":"handledRejection","ranges":[{"startOffset":4559,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionWarning","ranges":[{"startOffset":5462,"endOffset":6499,"count":0}],"isBlockCoverage":false},{"functionName":"processPromiseRejections","ranges":[{"startOffset":6672,"endOffset":9849,"count":1},{"startOffset":6830,"endOffset":7009,"count":0},{"startOffset":7074,"endOffset":9753,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithoutStack","ranges":[{"startOffset":9851,"endOffset":10366,"count":0}],"isBlockCoverage":false},{"functionName":"generateUnhandledRejectionError","ranges":[{"startOffset":10368,"endOffset":10838,"count":0}],"isBlockCoverage":false},{"functionName":"listenForRejections","ranges":[{"startOffset":10840,"endOffset":10924,"count":1}],"isBlockCoverage":true}]},{"scriptId":"102","url":"node:internal/fixed_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4208,"count":1}],"isBlockCoverage":false},{"functionName":"FixedCircularBuffer","ranges":[{"startOffset":2959,"endOffset":3073,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3077,"endOffset":3129,"count":6}],"isBlockCoverage":true},{"functionName":"isFull","ranges":[{"startOffset":3133,"endOffset":3200,"count":2}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3204,"endOffset":3291,"count":2}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3295,"endOffset":3510,"count":3},{"startOffset":3388,"endOffset":3400,"count":1},{"startOffset":3400,"endOffset":3509,"count":2}],"isBlockCoverage":true},{"functionName":"FixedQueue","ranges":[{"startOffset":3552,"endOffset":3626,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3630,"endOffset":3677,"count":3}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3681,"endOffset":3945,"count":2},{"startOffset":3722,"endOffset":3915,"count":0}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3949,"endOffset":4204,"count":3},{"startOffset":4041,"endOffset":4062,"count":2},{"startOffset":4064,"endOffset":4183,"count":0}],"isBlockCoverage":true}]},{"scriptId":"103","url":"node:async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10295,"count":1}],"isBlockCoverage":false},{"functionName":"AsyncHook","ranges":[{"startOffset":1538,"endOffset":2372,"count":1},{"startOffset":1666,"endOffset":1708,"count":0},{"startOffset":1738,"endOffset":1769,"count":0},{"startOffset":1777,"endOffset":1821,"count":0},{"startOffset":1850,"endOffset":1880,"count":0},{"startOffset":1888,"endOffset":1931,"count":0},{"startOffset":1962,"endOffset":1994,"count":0},{"startOffset":2002,"endOffset":2047,"count":0},{"startOffset":2085,"endOffset":2124,"count":0},{"startOffset":2132,"endOffset":2184,"count":0}],"isBlockCoverage":true},{"functionName":"enable","ranges":[{"startOffset":2376,"endOffset":3621,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":3625,"endOffset":4409,"count":0}],"isBlockCoverage":false},{"functionName":"createHook","ranges":[{"startOffset":4414,"endOffset":4471,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncResource","ranges":[{"startOffset":4564,"endOffset":5761,"count":0}],"isBlockCoverage":false},{"functionName":"runInAsyncScope","ranges":[{"startOffset":5765,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":6085,"endOffset":6260,"count":0}],"isBlockCoverage":false},{"functionName":"asyncId","ranges":[{"startOffset":6264,"endOffset":6313,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":6317,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":6385,"endOffset":7421,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":7432,"endOffset":7569,"count":0}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":7632,"endOffset":7920,"count":0}],"isBlockCoverage":false},{"functionName":"AsyncLocalStorage","ranges":[{"startOffset":7955,"endOffset":8052,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":8063,"endOffset":8112,"count":0}],"isBlockCoverage":false},{"functionName":"snapshot","ranges":[{"startOffset":8123,"endOffset":8204,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":8208,"endOffset":8533,"count":0}],"isBlockCoverage":false},{"functionName":"_enable","ranges":[{"startOffset":8537,"endOffset":8683,"count":0}],"isBlockCoverage":false},{"functionName":"_propagate","ranges":[{"startOffset":8752,"endOffset":8932,"count":0}],"isBlockCoverage":false},{"functionName":"enterWith","ranges":[{"startOffset":8936,"endOffset":9068,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":9072,"endOffset":9570,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":9574,"endOffset":9806,"count":0}],"isBlockCoverage":false},{"functionName":"getStore","ranges":[{"startOffset":9810,"endOffset":9949,"count":0}],"isBlockCoverage":false}]},{"scriptId":"104","url":"node:timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9640,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1819,"endOffset":1844,"count":0}],"isBlockCoverage":false},{"functionName":"unenroll","ranges":[{"startOffset":2343,"endOffset":3527,"count":0}],"isBlockCoverage":false},{"functionName":"enroll","ranges":[{"startOffset":3734,"endOffset":3987,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":4229,"endOffset":4886,"count":1},{"startOffset":4396,"endOffset":4403,"count":0},{"startOffset":4433,"endOffset":4474,"count":0},{"startOffset":4479,"endOffset":4526,"count":0},{"startOffset":4531,"endOffset":4752,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4981,"endOffset":5106,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimeout","ranges":[{"startOffset":5206,"endOffset":5572,"count":1},{"startOffset":5249,"endOffset":5268,"count":0},{"startOffset":5270,"endOffset":5337,"count":0},{"startOffset":5400,"endOffset":5570,"count":0}],"isBlockCoverage":true},{"functionName":"setInterval","ranges":[{"startOffset":5809,"endOffset":6468,"count":0}],"isBlockCoverage":false},{"functionName":"clearInterval","ranges":[{"startOffset":6565,"endOffset":6863,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.close","ranges":[{"startOffset":6891,"endOffset":6942,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":6980,"endOffset":7016,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":7126,"endOffset":7287,"count":0}],"isBlockCoverage":false},{"functionName":"setImmediate","ranges":[{"startOffset":7504,"endOffset":8057,"count":1},{"startOffset":7691,"endOffset":7732,"count":0},{"startOffset":7737,"endOffset":7784,"count":0},{"startOffset":7789,"endOffset":8010,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8154,"endOffset":8281,"count":0}],"isBlockCoverage":false},{"functionName":"clearImmediate","ranges":[{"startOffset":8372,"endOffset":8922,"count":0}],"isBlockCoverage":false},{"functionName":"Immediate.","ranges":[{"startOffset":8961,"endOffset":8999,"count":0}],"isBlockCoverage":false}]},{"scriptId":"105","url":"node:internal/process/execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6918,"count":1}],"isBlockCoverage":false},{"functionName":"tryGetCwd","ranges":[{"startOffset":681,"endOffset":1011,"count":1},{"startOffset":742,"endOffset":1009,"count":0}],"isBlockCoverage":true},{"functionName":"evalModule","ranges":[{"startOffset":1013,"endOffset":1407,"count":0}],"isBlockCoverage":false},{"functionName":"evalScript","ranges":[{"startOffset":1409,"endOffset":3230,"count":0}],"isBlockCoverage":false},{"functionName":"setUncaughtExceptionCaptureCallback","ranges":[{"startOffset":3308,"endOffset":4002,"count":0}],"isBlockCoverage":false},{"functionName":"hasUncaughtExceptionCaptureCallback","ranges":[{"startOffset":4004,"endOffset":4105,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4107,"endOffset":4125,"count":0}],"isBlockCoverage":false},{"functionName":"createOnGlobalUncaughtException","ranges":[{"startOffset":4668,"endOffset":6491,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4937,"endOffset":6488,"count":0}],"isBlockCoverage":false},{"functionName":"readStdin","ranges":[{"startOffset":6493,"endOffset":6698,"count":0}],"isBlockCoverage":false}]},{"scriptId":"106","url":"node:path","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":46851,"count":1}],"isBlockCoverage":false},{"functionName":"isPathSeparator","ranges":[{"startOffset":1719,"endOffset":1823,"count":0}],"isBlockCoverage":false},{"functionName":"isPosixPathSeparator","ranges":[{"startOffset":1825,"endOffset":1902,"count":267228}],"isBlockCoverage":true},{"functionName":"isWindowsDeviceRoot","ranges":[{"startOffset":1904,"endOffset":2074,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeString","ranges":[{"startOffset":2137,"endOffset":4085,"count":3797},{"startOffset":2354,"endOffset":4069,"count":266857},{"startOffset":2387,"endOffset":2429,"count":263060},{"startOffset":2429,"endOffset":2520,"count":3797},{"startOffset":2472,"endOffset":2478,"count":3426},{"startOffset":2478,"endOffset":2520,"count":371},{"startOffset":2520,"endOffset":2553,"count":263431},{"startOffset":2553,"endOffset":3970,"count":32309},{"startOffset":2585,"endOffset":2598,"count":27288},{"startOffset":2600,"endOffset":2625,"count":5642},{"startOffset":2625,"endOffset":3927,"count":26667},{"startOffset":2647,"endOffset":3682,"count":128},{"startOffset":2676,"endOffset":2702,"count":70},{"startOffset":2703,"endOffset":2777,"count":5},{"startOffset":2778,"endOffset":2852,"count":5},{"startOffset":2854,"endOffset":3542,"count":123},{"startOffset":2886,"endOffset":3363,"count":65},{"startOffset":3006,"endOffset":3082,"count":0},{"startOffset":3363,"endOffset":3532,"count":58},{"startOffset":3391,"endOffset":3532,"count":0},{"startOffset":3542,"endOffset":3674,"count":63},{"startOffset":3605,"endOffset":3623,"count":5},{"startOffset":3624,"endOffset":3630,"count":58},{"startOffset":3682,"endOffset":3927,"count":26539},{"startOffset":3728,"endOffset":3797,"count":22800},{"startOffset":3797,"endOffset":3872,"count":3739},{"startOffset":3927,"endOffset":3970,"count":32244},{"startOffset":3970,"endOffset":4065,"count":231122},{"startOffset":3998,"endOffset":4012,"count":3648},{"startOffset":4014,"endOffset":4035,"count":881},{"startOffset":4035,"endOffset":4065,"count":230241}],"isBlockCoverage":true},{"functionName":"formatExt","ranges":[{"startOffset":4087,"endOffset":4172,"count":0}],"isBlockCoverage":false},{"functionName":"_format","ranges":[{"startOffset":4350,"endOffset":4685,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":4803,"endOffset":9588,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":9654,"endOffset":12725,"count":0}],"isBlockCoverage":false},{"functionName":"isAbsolute","ranges":[{"startOffset":12792,"endOffset":13208,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13277,"endOffset":15423,"count":0}],"isBlockCoverage":false},{"functionName":"relative","ranges":[{"startOffset":15719,"endOffset":19486,"count":0}],"isBlockCoverage":false},{"functionName":"toNamespacedPath","ranges":[{"startOffset":19552,"endOffset":20654,"count":0}],"isBlockCoverage":false},{"functionName":"dirname","ranges":[{"startOffset":20720,"endOffset":23266,"count":0}],"isBlockCoverage":false},{"functionName":"basename","ranges":[{"startOffset":23362,"endOffset":26136,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":26202,"endOffset":28275,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":28497,"endOffset":33253,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33339,"endOffset":33782,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33526,"endOffset":33683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33760,"endOffset":33779,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":33904,"endOffset":34827,"count":3426},{"startOffset":34027,"endOffset":34047,"count":9123},{"startOffset":34054,"endOffset":34381,"count":5697},{"startOffset":34092,"endOffset":34104,"count":0},{"startOffset":34207,"endOffset":34234,"count":0},{"startOffset":34766,"endOffset":34816,"count":0},{"startOffset":34817,"endOffset":34822,"count":0}],"isBlockCoverage":true},{"functionName":"normalize","ranges":[{"startOffset":34893,"endOffset":35506,"count":371},{"startOffset":34979,"endOffset":34990,"count":0},{"startOffset":35318,"endOffset":35412,"count":0},{"startOffset":35446,"endOffset":35458,"count":0},{"startOffset":35482,"endOffset":35494,"count":3},{"startOffset":35495,"endOffset":35501,"count":368}],"isBlockCoverage":true},{"functionName":"isAbsolute","ranges":[{"startOffset":35573,"endOffset":35729,"count":612}],"isBlockCoverage":true},{"functionName":"join","ranges":[{"startOffset":35798,"endOffset":36212,"count":3},{"startOffset":35847,"endOffset":35858,"count":0},{"startOffset":35917,"endOffset":36124,"count":6},{"startOffset":36053,"endOffset":36110,"count":3},{"startOffset":36161,"endOffset":36172,"count":0}],"isBlockCoverage":true},{"functionName":"relative","ranges":[{"startOffset":36302,"endOffset":38662,"count":2},{"startOffset":36415,"endOffset":36425,"count":0},{"startOffset":36552,"endOffset":36562,"count":0},{"startOffset":36835,"endOffset":36842,"count":0},{"startOffset":36916,"endOffset":37151,"count":70},{"startOffset":37064,"endOffset":37070,"count":0},{"startOffset":37127,"endOffset":37145,"count":6},{"startOffset":37483,"endOffset":37665,"count":0},{"startOffset":37673,"endOffset":38130,"count":0},{"startOffset":38136,"endOffset":38661,"count":0}],"isBlockCoverage":true},{"functionName":"toNamespacedPath","ranges":[{"startOffset":38728,"endOffset":38804,"count":3062}],"isBlockCoverage":true},{"functionName":"dirname","ranges":[{"startOffset":38870,"endOffset":39546,"count":1586},{"startOffset":38953,"endOffset":38964,"count":0},{"startOffset":39138,"endOffset":39391,"count":18849},{"startOffset":39209,"endOffset":39293,"count":1586},{"startOffset":39293,"endOffset":39385,"count":17263},{"startOffset":39419,"endOffset":39446,"count":0},{"startOffset":39483,"endOffset":39495,"count":0}],"isBlockCoverage":true},{"functionName":"basename","ranges":[{"startOffset":39642,"endOffset":42069,"count":374},{"startOffset":39703,"endOffset":39733,"count":0},{"startOffset":39865,"endOffset":39885,"count":0},{"startOffset":39886,"endOffset":39917,"count":0},{"startOffset":39919,"endOffset":41443,"count":0},{"startOffset":41491,"endOffset":41976,"count":4515},{"startOffset":41562,"endOffset":41786,"count":374},{"startOffset":41786,"endOffset":41970,"count":4141},{"startOffset":41808,"endOffset":41970,"count":374},{"startOffset":42004,"endOffset":42014,"count":0}],"isBlockCoverage":true},{"functionName":"extname","ranges":[{"startOffset":42135,"endOffset":43825,"count":1},{"startOffset":42468,"endOffset":43430,"count":13},{"startOffset":42564,"endOffset":42810,"count":1},{"startOffset":42784,"endOffset":42810,"count":0},{"startOffset":42810,"endOffset":42833,"count":12},{"startOffset":42833,"endOffset":42990,"count":1},{"startOffset":42990,"endOffset":43020,"count":12},{"startOffset":43020,"endOffset":43220,"count":1},{"startOffset":43149,"endOffset":43212,"count":0},{"startOffset":43220,"endOffset":43424,"count":11},{"startOffset":43247,"endOffset":43424,"count":7},{"startOffset":43669,"endOffset":43701,"count":0},{"startOffset":43702,"endOffset":43740,"count":0},{"startOffset":43743,"endOffset":43767,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":44052,"endOffset":46524,"count":0}],"isBlockCoverage":false}]},{"scriptId":"107","url":"node:internal/constants","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1583,"count":1}],"isBlockCoverage":false}]},{"scriptId":"108","url":"node:internal/process/warning","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5379,"count":1}],"isBlockCoverage":false},{"functionName":"resetForSerialization","ranges":[{"startOffset":448,"endOffset":645,"count":0}],"isBlockCoverage":false},{"functionName":"lazyOption","ranges":[{"startOffset":647,"endOffset":1201,"count":0}],"isBlockCoverage":false},{"functionName":"writeOut","ranges":[{"startOffset":1302,"endOffset":1424,"count":0}],"isBlockCoverage":false},{"functionName":"closeFdOnExit","ranges":[{"startOffset":1426,"endOffset":1537,"count":0}],"isBlockCoverage":false},{"functionName":"writeToFile","ranges":[{"startOffset":1539,"endOffset":1868,"count":0}],"isBlockCoverage":false},{"functionName":"doEmitWarning","ranges":[{"startOffset":1870,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"onWarning","ranges":[{"startOffset":1943,"endOffset":3092,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarning","ranges":[{"startOffset":3215,"endOffset":4406,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarningSync","ranges":[{"startOffset":4408,"endOffset":4538,"count":0}],"isBlockCoverage":false},{"functionName":"createWarningObject","ranges":[{"startOffset":4540,"endOffset":5283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"109","url":"node:internal/source_map/source_map_cache","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10127,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":357,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":824,"endOffset":939,"count":1}],"isBlockCoverage":true},{"functionName":"getSourceMapsEnabled","ranges":[{"startOffset":1596,"endOffset":1659,"count":70}],"isBlockCoverage":true},{"functionName":"setSourceMapsEnabled","ranges":[{"startOffset":1661,"endOffset":2203,"count":1},{"startOffset":1924,"endOffset":2173,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceURLMagicComment","ranges":[{"startOffset":2205,"endOffset":2805,"count":6},{"startOffset":2507,"endOffset":2540,"count":0},{"startOffset":2593,"endOffset":2729,"count":0},{"startOffset":2731,"endOffset":2804,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceMapURLMagicComment","ranges":[{"startOffset":2807,"endOffset":3250,"count":58},{"startOffset":3128,"endOffset":3156,"count":0},{"startOffset":3204,"endOffset":3249,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheSourceMap","ranges":[{"startOffset":3252,"endOffset":5023,"count":62},{"startOffset":3454,"endOffset":3474,"count":0},{"startOffset":3477,"endOffset":3484,"count":0},{"startOffset":3618,"endOffset":3742,"count":0},{"startOffset":3778,"endOffset":3844,"count":58},{"startOffset":3933,"endOffset":3950,"count":58},{"startOffset":3950,"endOffset":4122,"count":4},{"startOffset":4123,"endOffset":4137,"count":0},{"startOffset":4164,"endOffset":4349,"count":0},{"startOffset":4349,"endOffset":5021,"count":4},{"startOffset":4378,"endOffset":4644,"count":0},{"startOffset":4963,"endOffset":5017,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheGeneratedSourceMap","ranges":[{"startOffset":5025,"endOffset":5553,"count":2},{"startOffset":5163,"endOffset":5183,"count":0},{"startOffset":5186,"endOffset":5193,"count":0},{"startOffset":5297,"endOffset":5551,"count":0}],"isBlockCoverage":true},{"functionName":"dataFromUrl","ranges":[{"startOffset":5555,"endOffset":6075,"count":4},{"startOffset":5692,"endOffset":5767,"count":0},{"startOffset":5774,"endOffset":5854,"count":0}],"isBlockCoverage":true},{"functionName":"lineLengths","ranges":[{"startOffset":6265,"endOffset":6610,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6567,"endOffset":6606,"count":353}],"isBlockCoverage":true},{"functionName":"sourceMapFromFile","ranges":[{"startOffset":6612,"endOffset":6892,"count":4},{"startOffset":6840,"endOffset":6890,"count":0}],"isBlockCoverage":true},{"functionName":"sourceMapFromDataUrl","ranges":[{"startOffset":6986,"endOffset":7657,"count":0}],"isBlockCoverage":false},{"functionName":"sourcesToAbsolute","ranges":[{"startOffset":7842,"endOffset":8169,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7920,"endOffset":8026,"count":4}],"isBlockCoverage":true},{"functionName":"sourceMapCacheToObject","ranges":[{"startOffset":8607,"endOffset":8855,"count":0}],"isBlockCoverage":false},{"functionName":"appendCJSCache","ranges":[{"startOffset":8857,"endOffset":9083,"count":0}],"isBlockCoverage":false},{"functionName":"findSourceMap","ranges":[{"startOffset":9085,"endOffset":9957,"count":1},{"startOffset":9499,"endOffset":9692,"count":0},{"startOffset":9751,"endOffset":9956,"count":0}],"isBlockCoverage":true}]},{"scriptId":"110","url":"node:internal/url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43440,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBlob","ranges":[{"startOffset":2768,"endOffset":2843,"count":0}],"isBlockCoverage":false},{"functionName":"lazyCryptoRandom","ranges":[{"startOffset":2845,"endOffset":3079,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3462,"endOffset":4251,"count":1375}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3589,"endOffset":3617,"count":1}],"isBlockCoverage":false},{"functionName":"get hasPort","ranges":[{"startOffset":4030,"endOffset":4095,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSearch","ranges":[{"startOffset":4099,"endOffset":4174,"count":1594}],"isBlockCoverage":true},{"functionName":"get hasHash","ranges":[{"startOffset":4178,"endOffset":4249,"count":1594}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4337,"endOffset":6674,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7067,"endOffset":19940,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7158,"endOffset":7494,"count":1}],"isBlockCoverage":false},{"functionName":"setURLSearchParamsContext","ranges":[{"startOffset":7199,"endOffset":7246,"count":0}],"isBlockCoverage":false},{"functionName":"getURLSearchParamsList","ranges":[{"startOffset":7277,"endOffset":7303,"count":0}],"isBlockCoverage":false},{"functionName":"setURLSearchParams","ranges":[{"startOffset":7330,"endOffset":7489,"count":0}],"isBlockCoverage":false},{"functionName":"isURL","ranges":[{"startOffset":21271,"endOffset":21396,"count":1674},{"startOffset":21322,"endOffset":21338,"count":745},{"startOffset":21339,"endOffset":21365,"count":745},{"startOffset":21366,"endOffset":21392,"count":745}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21398,"endOffset":29200,"count":1381}],"isBlockCoverage":false},{"functionName":"URL","ranges":[{"startOffset":21461,"endOffset":21761,"count":1381},{"startOffset":21532,"endOffset":21580,"count":0},{"startOffset":21669,"endOffset":21700,"count":671}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21765,"endOffset":22485,"count":0}],"isBlockCoverage":false},{"functionName":"#updateContext","ranges":[{"startOffset":22489,"endOffset":23396,"count":1485},{"startOffset":23205,"endOffset":23392,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":23400,"endOffset":23447,"count":533}],"isBlockCoverage":true},{"functionName":"get href","ranges":[{"startOffset":23451,"endOffset":23498,"count":1007}],"isBlockCoverage":true},{"functionName":"set href","ranges":[{"startOffset":23502,"endOffset":23711,"count":0}],"isBlockCoverage":false},{"functionName":"get origin","ranges":[{"startOffset":23729,"endOffset":24598,"count":0}],"isBlockCoverage":false},{"functionName":"get protocol","ranges":[{"startOffset":24602,"endOffset":24706,"count":2216}],"isBlockCoverage":true},{"functionName":"set protocol","ranges":[{"startOffset":24710,"endOffset":24883,"count":0}],"isBlockCoverage":false},{"functionName":"get username","ranges":[{"startOffset":24887,"endOffset":25114,"count":0}],"isBlockCoverage":false},{"functionName":"set username","ranges":[{"startOffset":25118,"endOffset":25291,"count":0}],"isBlockCoverage":false},{"functionName":"get password","ranges":[{"startOffset":25295,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"set password","ranges":[{"startOffset":25522,"endOffset":25695,"count":0}],"isBlockCoverage":false},{"functionName":"get host","ranges":[{"startOffset":25699,"endOffset":26130,"count":0}],"isBlockCoverage":false},{"functionName":"set host","ranges":[{"startOffset":26134,"endOffset":26299,"count":0}],"isBlockCoverage":false},{"functionName":"get hostname","ranges":[{"startOffset":26303,"endOffset":26585,"count":692},{"startOffset":26469,"endOffset":26494,"count":0}],"isBlockCoverage":true},{"functionName":"set hostname","ranges":[{"startOffset":26589,"endOffset":26762,"count":0}],"isBlockCoverage":false},{"functionName":"get port","ranges":[{"startOffset":26766,"endOffset":26874,"count":0}],"isBlockCoverage":false},{"functionName":"set port","ranges":[{"startOffset":26878,"endOffset":27043,"count":0}],"isBlockCoverage":false},{"functionName":"get pathname","ranges":[{"startOffset":27047,"endOffset":27339,"count":1487},{"startOffset":27113,"endOffset":27163,"count":0},{"startOffset":27196,"endOffset":27244,"count":0}],"isBlockCoverage":true},{"functionName":"set pathname","ranges":[{"startOffset":27343,"endOffset":27516,"count":0}],"isBlockCoverage":false},{"functionName":"get search","ranges":[{"startOffset":27520,"endOffset":27855,"count":107},{"startOffset":27583,"endOffset":27854,"count":0}],"isBlockCoverage":true},{"functionName":"set search","ranges":[{"startOffset":27859,"endOffset":28036,"count":107}],"isBlockCoverage":true},{"functionName":"get searchParams","ranges":[{"startOffset":28054,"endOffset":28353,"count":0}],"isBlockCoverage":false},{"functionName":"get hash","ranges":[{"startOffset":28357,"endOffset":28572,"count":107},{"startOffset":28401,"endOffset":28463,"count":0},{"startOffset":28489,"endOffset":28571,"count":0}],"isBlockCoverage":true},{"functionName":"set hash","ranges":[{"startOffset":28576,"endOffset":28741,"count":107}],"isBlockCoverage":true},{"functionName":"toJSON","ranges":[{"startOffset":28745,"endOffset":28790,"count":0}],"isBlockCoverage":false},{"functionName":"canParse","ranges":[{"startOffset":28801,"endOffset":29198,"count":0}],"isBlockCoverage":false},{"functionName":"installObjectURLMethods","ranges":[{"startOffset":29910,"endOffset":30849,"count":1}],"isBlockCoverage":true},{"functionName":"createObjectURL","ranges":[{"startOffset":29997,"endOffset":30416,"count":0}],"isBlockCoverage":false},{"functionName":"revokeObjectURL","ranges":[{"startOffset":30420,"endOffset":30498,"count":0}],"isBlockCoverage":false},{"functionName":"parseParams","ranges":[{"startOffset":30958,"endOffset":33306,"count":0}],"isBlockCoverage":false},{"functionName":"serializeParams","ranges":[{"startOffset":34286,"endOffset":34846,"count":0}],"isBlockCoverage":false},{"functionName":"merge","ranges":[{"startOffset":34866,"endOffset":35496,"count":0}],"isBlockCoverage":false},{"functionName":"domainToASCII","ranges":[{"startOffset":35498,"endOffset":35683,"count":0}],"isBlockCoverage":false},{"functionName":"domainToUnicode","ranges":[{"startOffset":35685,"endOffset":35874,"count":0}],"isBlockCoverage":false},{"functionName":"urlToHttpOptions","ranges":[{"startOffset":36084,"endOffset":36785,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLWin32","ranges":[{"startOffset":36787,"endOffset":38284,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLPosix","ranges":[{"startOffset":38286,"endOffset":38807,"count":692},{"startOffset":38349,"endOffset":38405,"count":0},{"startOffset":38483,"endOffset":38766,"count":52832},{"startOffset":38514,"endOffset":38762,"count":0}],"isBlockCoverage":true},{"functionName":"fileURLToPath","ranges":[{"startOffset":38809,"endOffset":39148,"count":692},{"startOffset":38876,"endOffset":38897,"count":31},{"startOffset":38897,"endOffset":38991,"count":661},{"startOffset":38927,"endOffset":38991,"count":0},{"startOffset":39029,"endOffset":39070,"count":0},{"startOffset":39090,"endOffset":39117,"count":0}],"isBlockCoverage":true},{"functionName":"encodePathChars","ranges":[{"startOffset":39961,"endOffset":40737,"count":173},{"startOffset":40054,"endOffset":40125,"count":0},{"startOffset":40253,"endOffset":40326,"count":0},{"startOffset":40384,"endOffset":40455,"count":0},{"startOffset":40513,"endOffset":40591,"count":0},{"startOffset":40649,"endOffset":40716,"count":0}],"isBlockCoverage":true},{"functionName":"pathToFileURL","ranges":[{"startOffset":40739,"endOffset":42716,"count":173},{"startOffset":40790,"endOffset":40836,"count":0},{"startOffset":40838,"endOffset":41603,"count":0},{"startOffset":41885,"endOffset":41946,"count":172},{"startOffset":41906,"endOffset":41945,"count":0},{"startOffset":41948,"endOffset":41999,"count":1},{"startOffset":42005,"endOffset":42021,"count":1},{"startOffset":42477,"endOffset":42549,"count":0},{"startOffset":42606,"endOffset":42674,"count":0}],"isBlockCoverage":true},{"functionName":"toPathIfFileURL","ranges":[{"startOffset":42718,"endOffset":42855,"count":989},{"startOffset":42793,"endOffset":42814,"count":905},{"startOffset":42814,"endOffset":42854,"count":84}],"isBlockCoverage":true},{"functionName":"getURLOrigin","ranges":[{"startOffset":43042,"endOffset":43108,"count":0}],"isBlockCoverage":false}]},{"scriptId":"111","url":"node:internal/querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3316,"count":1}],"isBlockCoverage":false},{"functionName":"encodeStr","ranges":[{"startOffset":1534,"endOffset":3253,"count":0}],"isBlockCoverage":false}]},{"scriptId":"112","url":"node:querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14583,"count":1}],"isBlockCoverage":false},{"functionName":"unescapeBuffer","ranges":[{"startOffset":3146,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"qsUnescape","ranges":[{"startOffset":4400,"endOffset":4565,"count":0}],"isBlockCoverage":false},{"functionName":"qsEscape","ranges":[{"startOffset":5418,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"stringifyPrimitive","ranges":[{"startOffset":5719,"endOffset":5989,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringified","ranges":[{"startOffset":6110,"endOffset":6599,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringifiedCustom","ranges":[{"startOffset":6718,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":7065,"endOffset":8131,"count":0}],"isBlockCoverage":false},{"functionName":"charCodes","ranges":[{"startOffset":8187,"endOffset":8455,"count":0}],"isBlockCoverage":false},{"functionName":"addKeyVal","ranges":[{"startOffset":8518,"endOffset":9141,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":9392,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"decodeStr","ranges":[{"startOffset":14459,"endOffset":14582,"count":0}],"isBlockCoverage":false}]},{"scriptId":"113","url":"node:internal/bootstrap/web/exposed-wildcard","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3439,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":900,"endOffset":1129,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1153,"endOffset":1265,"count":0}],"isBlockCoverage":false},{"functionName":"createGlobalConsole","ranges":[{"startOffset":1898,"endOffset":2437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"114","url":"node:internal/console/global","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1814,"count":1}],"isBlockCoverage":false}]},{"scriptId":"115","url":"node:internal/console/constructor","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21601,"count":1}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1875,"endOffset":1975,"count":0}],"isBlockCoverage":false},{"functionName":"Console","ranges":[{"startOffset":2721,"endOffset":4813,"count":1},{"startOffset":2999,"endOffset":3053,"count":0},{"startOffset":3110,"endOffset":3223,"count":0},{"startOffset":3428,"endOffset":3486,"count":0},{"startOffset":3540,"endOffset":3598,"count":0},{"startOffset":3637,"endOffset":3660,"count":0},{"startOffset":3666,"endOffset":3722,"count":0},{"startOffset":3762,"endOffset":3871,"count":0},{"startOffset":3909,"endOffset":4215,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4331,"endOffset":4697,"count":19}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5042,"endOffset":5096,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5366,"endOffset":5607,"count":1}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5832,"endOffset":6477,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6041,"endOffset":6136,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6148,"endOffset":6178,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6308,"endOffset":6407,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6419,"endOffset":6449,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":6569,"endOffset":7977,"count":2}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":8069,"endOffset":9521,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":9616,"endOffset":10026,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10119,"endOffset":10299,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10392,"endOffset":10572,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteErrorHandler","ranges":[{"startOffset":10662,"endOffset":11551,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10730,"endOffset":11548,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":11580,"endOffset":11667,"count":0}],"isBlockCoverage":false},{"functionName":"warn","ranges":[{"startOffset":11673,"endOffset":11761,"count":0}],"isBlockCoverage":false},{"functionName":"dir","ranges":[{"startOffset":11767,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"time","ranges":[{"startOffset":11958,"endOffset":12316,"count":0}],"isBlockCoverage":false},{"functionName":"timeEnd","ranges":[{"startOffset":12321,"endOffset":12610,"count":0}],"isBlockCoverage":false},{"functionName":"timeLog","ranges":[{"startOffset":12615,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"trace","ranges":[{"startOffset":12865,"endOffset":13052,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":13057,"endOffset":13297,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":13358,"endOffset":13830,"count":0}],"isBlockCoverage":false},{"functionName":"count","ranges":[{"startOffset":13891,"endOffset":14347,"count":0}],"isBlockCoverage":false},{"functionName":"countReset","ranges":[{"startOffset":14413,"endOffset":14701,"count":0}],"isBlockCoverage":false},{"functionName":"group","ranges":[{"startOffset":14706,"endOffset":14891,"count":0}],"isBlockCoverage":false},{"functionName":"groupEnd","ranges":[{"startOffset":14896,"endOffset":15065,"count":0}],"isBlockCoverage":false},{"functionName":"table","ranges":[{"startOffset":15114,"endOffset":18432,"count":0}],"isBlockCoverage":false},{"functionName":"timeLogImpl","ranges":[{"startOffset":18473,"endOffset":18992,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":18994,"endOffset":19071,"count":0}],"isBlockCoverage":false},{"functionName":"formatTime","ranges":[{"startOffset":19073,"endOffset":19846,"count":0}],"isBlockCoverage":false},{"functionName":"isArray","ranges":[{"startOffset":19980,"endOffset":20036,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":20039,"endOffset":20057,"count":0}],"isBlockCoverage":false},{"functionName":"initializeGlobalConsole","ranges":[{"startOffset":20425,"endOffset":21464,"count":1},{"startOffset":20793,"endOffset":21463,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21359,"endOffset":21460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"116","url":"node:internal/util/inspector","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3929,"count":1}],"isBlockCoverage":false},{"functionName":"isUsingInspector","ranges":[{"startOffset":698,"endOffset":1081,"count":0}],"isBlockCoverage":false},{"functionName":"getInspectPort","ranges":[{"startOffset":1108,"endOffset":1485,"count":0}],"isBlockCoverage":false},{"functionName":"sendInspectorCommand","ranges":[{"startOffset":1500,"endOffset":2046,"count":0}],"isBlockCoverage":false},{"functionName":"isInspectorMessage","ranges":[{"startOffset":2048,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"installConsoleExtensions","ranges":[{"startOffset":2248,"endOffset":2891,"count":0}],"isBlockCoverage":false},{"functionName":"wrapConsole","ranges":[{"startOffset":2970,"endOffset":3778,"count":1},{"startOffset":3137,"endOffset":3776,"count":24},{"startOffset":3368,"endOffset":3654,"count":19},{"startOffset":3654,"endOffset":3772,"count":5}],"isBlockCoverage":true}]},{"scriptId":"117","url":"node:internal/process/permission","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":919,"count":1}],"isBlockCoverage":false},{"functionName":"isEnabled","ranges":[{"startOffset":315,"endOffset":559,"count":1789},{"startOffset":375,"endOffset":520,"count":1}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":563,"endOffset":913,"count":0}],"isBlockCoverage":false}]},{"scriptId":"118","url":"node:internal/event_target","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31545,"count":1}],"isBlockCoverage":false},{"functionName":"get isTrusted","ranges":[{"startOffset":2074,"endOffset":2130,"count":0}],"isBlockCoverage":false},{"functionName":"isEvent","ranges":[{"startOffset":2268,"endOffset":2340,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2342,"endOffset":7042,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":7039,"count":1}],"isBlockCoverage":false},{"functionName":"isCustomEvent","ranges":[{"startOffset":8173,"endOffset":8267,"count":0}],"isBlockCoverage":false},{"functionName":"CustomEvent","ranges":[{"startOffset":8497,"endOffset":8689,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":8722,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"NodeCustomEvent","ranges":[{"startOffset":9118,"endOffset":9245,"count":0}],"isBlockCoverage":false},{"functionName":"weakListeners","ranges":[{"startOffset":9495,"endOffset":9822,"count":0}],"isBlockCoverage":false},{"functionName":"Listener","ranges":[{"startOffset":10502,"endOffset":11966,"count":13},{"startOffset":10837,"endOffset":10856,"count":0},{"startOffset":10880,"endOffset":10902,"count":0},{"startOffset":10926,"endOffset":10948,"count":0},{"startOffset":11029,"endOffset":11048,"count":0},{"startOffset":11086,"endOffset":11122,"count":0},{"startOffset":11194,"endOffset":11650,"count":0},{"startOffset":11763,"endOffset":11962,"count":0}],"isBlockCoverage":true},{"functionName":"Listener.callback","ranges":[{"startOffset":11793,"endOffset":11923,"count":0}],"isBlockCoverage":false},{"functionName":"get once","ranges":[{"startOffset":11970,"endOffset":12030,"count":6}],"isBlockCoverage":true},{"functionName":"get capture","ranges":[{"startOffset":12033,"endOffset":12099,"count":4}],"isBlockCoverage":true},{"functionName":"get passive","ranges":[{"startOffset":12102,"endOffset":12168,"count":6}],"isBlockCoverage":true},{"functionName":"get isNodeStyleListener","ranges":[{"startOffset":12171,"endOffset":12251,"count":12}],"isBlockCoverage":true},{"functionName":"get weak","ranges":[{"startOffset":12254,"endOffset":12314,"count":39}],"isBlockCoverage":true},{"functionName":"get resistStopPropagation","ranges":[{"startOffset":12317,"endOffset":12411,"count":0}],"isBlockCoverage":false},{"functionName":"get removed","ranges":[{"startOffset":12414,"endOffset":12480,"count":6}],"isBlockCoverage":true},{"functionName":"set removed","ranges":[{"startOffset":12483,"endOffset":12600,"count":17},{"startOffset":12525,"endOffset":12552,"count":4},{"startOffset":12552,"endOffset":12596,"count":13}],"isBlockCoverage":true},{"functionName":"same","ranges":[{"startOffset":12604,"endOffset":12771,"count":16},{"startOffset":12663,"endOffset":12686,"count":0},{"startOffset":12739,"endOffset":12766,"count":4}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":12775,"endOffset":13032,"count":4},{"startOffset":12900,"endOffset":12935,"count":2},{"startOffset":12986,"endOffset":13028,"count":0}],"isBlockCoverage":true},{"functionName":"initEventTarget","ranges":[{"startOffset":13036,"endOffset":13255,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13463,"endOffset":13493,"count":1}],"isBlockCoverage":false},{"functionName":"EventTarget","ranges":[{"startOffset":13498,"endOffset":13544,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13548,"endOffset":14353,"count":13},{"startOffset":13709,"endOffset":13757,"count":0},{"startOffset":13759,"endOffset":14349,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14356,"endOffset":14407,"count":4}],"isBlockCoverage":true},{"functionName":"addEventListener","ranges":[{"startOffset":14796,"endOffset":17514,"count":13},{"startOffset":14891,"endOffset":14933,"count":0},{"startOffset":14970,"endOffset":15017,"count":0},{"startOffset":15409,"endOffset":15862,"count":0},{"startOffset":15926,"endOffset":16310,"count":0},{"startOffset":16381,"endOffset":16873,"count":7},{"startOffset":16873,"endOffset":17028,"count":6},{"startOffset":17028,"endOffset":17063,"count":8},{"startOffset":17065,"endOffset":17128,"count":8},{"startOffset":17128,"endOffset":17161,"count":6},{"startOffset":17161,"endOffset":17203,"count":0},{"startOffset":17203,"endOffset":17513,"count":6}],"isBlockCoverage":true},{"functionName":"signal.addEventListener.__proto__","ranges":[{"startOffset":16141,"endOffset":16215,"count":0}],"isBlockCoverage":false},{"functionName":"removeEventListener","ranges":[{"startOffset":17672,"endOffset":18513,"count":4},{"startOffset":17770,"endOffset":17812,"count":0},{"startOffset":17849,"endOffset":17896,"count":0},{"startOffset":17945,"endOffset":17952,"count":0},{"startOffset":18151,"endOffset":18158,"count":0},{"startOffset":18223,"endOffset":18509,"count":8},{"startOffset":18268,"endOffset":18473,"count":4},{"startOffset":18356,"endOffset":18383,"count":0},{"startOffset":18473,"endOffset":18509,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18517,"endOffset":19138,"count":0}],"isBlockCoverage":false},{"functionName":"dispatchEvent","ranges":[{"startOffset":19180,"endOffset":19641,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19645,"endOffset":21941,"count":4},{"startOffset":19944,"endOffset":20020,"count":0},{"startOffset":20119,"endOffset":20219,"count":0},{"startOffset":20496,"endOffset":21866,"count":6},{"startOffset":20637,"endOffset":20646,"count":0},{"startOffset":20656,"endOffset":20689,"count":0},{"startOffset":20692,"endOffset":21022,"count":0},{"startOffset":21047,"endOffset":21217,"count":0},{"startOffset":21327,"endOffset":21375,"count":0},{"startOffset":21414,"endOffset":21450,"count":0},{"startOffset":21622,"endOffset":21680,"count":0},{"startOffset":21724,"endOffset":21742,"count":0},{"startOffset":21754,"endOffset":21771,"count":0},{"startOffset":21780,"endOffset":21837,"count":0},{"startOffset":21903,"endOffset":21937,"count":0}],"isBlockCoverage":true},{"functionName":"createEvent","ranges":[{"startOffset":19713,"endOffset":19913,"count":0}],"isBlockCoverage":false},{"functionName":"iterationCondition","ranges":[{"startOffset":20296,"endOffset":20461,"count":10},{"startOffset":20337,"endOffset":20368,"count":4},{"startOffset":20368,"endOffset":20427,"count":6},{"startOffset":20428,"endOffset":20454,"count":6},{"startOffset":20436,"endOffset":20445,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21945,"endOffset":22043,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22046,"endOffset":22425,"count":0}],"isBlockCoverage":false},{"functionName":"initNodeEventTarget","ranges":[{"startOffset":22750,"endOffset":22813,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":22899,"endOffset":22930,"count":1}],"isBlockCoverage":false},{"functionName":"NodeEventTarget","ranges":[{"startOffset":22935,"endOffset":22998,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":23037,"endOffset":23191,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":23230,"endOffset":23383,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":23424,"endOffset":23573,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":23638,"endOffset":23847,"count":0}],"isBlockCoverage":false},{"functionName":"off","ranges":[{"startOffset":24037,"endOffset":24230,"count":4},{"startOffset":24108,"endOffset":24154,"count":0}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":24420,"endOffset":24624,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":24755,"endOffset":24960,"count":13},{"startOffset":24816,"endOffset":24862,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":25091,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":25393,"endOffset":25653,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":25784,"endOffset":26029,"count":0}],"isBlockCoverage":false},{"functionName":"removeAllListeners","ranges":[{"startOffset":26105,"endOffset":26360,"count":0}],"isBlockCoverage":false},{"functionName":"validateEventListener","ranges":[{"startOffset":26825,"endOffset":27197,"count":17},{"startOffset":26905,"endOffset":26957,"count":0},{"startOffset":26981,"endOffset":27196,"count":0}],"isBlockCoverage":true},{"functionName":"validateEventListenerOptions","ranges":[{"startOffset":27199,"endOffset":27778,"count":13},{"startOffset":27288,"endOffset":27316,"count":0},{"startOffset":27346,"endOffset":27366,"count":0}],"isBlockCoverage":true},{"functionName":"isEventTarget","ranges":[{"startOffset":28083,"endOffset":28159,"count":17}],"isBlockCoverage":true},{"functionName":"isNodeEventTarget","ranges":[{"startOffset":28161,"endOffset":28245,"count":17}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":28247,"endOffset":28561,"count":0}],"isBlockCoverage":false},{"functionName":"emitUncaughtException","ranges":[{"startOffset":28563,"endOffset":28644,"count":0}],"isBlockCoverage":false},{"functionName":"makeEventHandler","ranges":[{"startOffset":28646,"endOffset":29055,"count":0}],"isBlockCoverage":false},{"functionName":"defineEventHandler","ranges":[{"startOffset":29057,"endOffset":30523,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":29217,"endOffset":29353,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":29452,"endOffset":30290,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterMixin","ranges":[{"startOffset":30551,"endOffset":31241,"count":1},{"startOffset":30982,"endOffset":31144,"count":18}],"isBlockCoverage":true},{"functionName":"MixedEventEmitter","ranges":[{"startOffset":30620,"endOffset":30761,"count":58}],"isBlockCoverage":true}]},{"scriptId":"119","url":"node:util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10913,"count":1}],"isBlockCoverage":false},{"functionName":"lazyAbortController","ranges":[{"startOffset":2369,"endOffset":2489,"count":24}],"isBlockCoverage":true},{"functionName":"isBoolean","ranges":[{"startOffset":2600,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"isNull","ranges":[{"startOffset":2746,"endOffset":2793,"count":0}],"isBlockCoverage":false},{"functionName":"isNullOrUndefined","ranges":[{"startOffset":2891,"endOffset":2970,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":3056,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":3174,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbol","ranges":[{"startOffset":3320,"endOffset":3380,"count":0}],"isBlockCoverage":false},{"functionName":"isUndefined","ranges":[{"startOffset":3469,"endOffset":3526,"count":0}],"isBlockCoverage":false},{"functionName":"isObject","ranges":[{"startOffset":3623,"endOffset":3699,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":3782,"endOffset":3885,"count":0}],"isBlockCoverage":false},{"functionName":"isFunction","ranges":[{"startOffset":3973,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"isPrimitive","ranges":[{"startOffset":4172,"endOffset":4291,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":4343,"endOffset":4418,"count":0}],"isBlockCoverage":false},{"functionName":"timestamp","ranges":[{"startOffset":4584,"endOffset":4865,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":5023,"endOffset":5176,"count":0}],"isBlockCoverage":false},{"functionName":"inherits","ranges":[{"startOffset":5909,"endOffset":6547,"count":0}],"isBlockCoverage":false},{"functionName":"_extend","ranges":[{"startOffset":6700,"endOffset":6988,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7036,"endOffset":7461,"count":0}],"isBlockCoverage":false},{"functionName":"callbackify","ranges":[{"startOffset":7714,"endOffset":9211,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorName","ranges":[{"startOffset":9265,"endOffset":9481,"count":0}],"isBlockCoverage":false},{"functionName":"isDeepStrictEqual","ranges":[{"startOffset":9882,"endOffset":10087,"count":0}],"isBlockCoverage":false},{"functionName":"get transferableAbortSignal","ranges":[{"startOffset":10340,"endOffset":10433,"count":8}],"isBlockCoverage":true},{"functionName":"get transferableAbortController","ranges":[{"startOffset":10437,"endOffset":10538,"count":8}],"isBlockCoverage":true},{"functionName":"get aborted","ranges":[{"startOffset":10542,"endOffset":10603,"count":8}],"isBlockCoverage":true}]},{"scriptId":"120","url":"node:internal/webidl","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4636,"count":1}],"isBlockCoverage":false},{"functionName":"evenRound","ranges":[{"startOffset":825,"endOffset":1150,"count":0}],"isBlockCoverage":false},{"functionName":"pow2","ranges":[{"startOffset":1152,"endOffset":1415,"count":0}],"isBlockCoverage":false},{"functionName":"modulo","ranges":[{"startOffset":1527,"endOffset":1641,"count":0}],"isBlockCoverage":false},{"functionName":"convertToInt","ranges":[{"startOffset":1706,"endOffset":4313,"count":0}],"isBlockCoverage":false},{"functionName":"DOMString","ranges":[{"startOffset":4438,"endOffset":4568,"count":17},{"startOffset":4491,"endOffset":4545,"count":0}],"isBlockCoverage":true}]},{"scriptId":"121","url":"node:internal/perf/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":787,"count":1}],"isBlockCoverage":false},{"functionName":"getTimeOrigin","ranges":[{"startOffset":138,"endOffset":316,"count":0}],"isBlockCoverage":false},{"functionName":"now","ranges":[{"startOffset":390,"endOffset":496,"count":0}],"isBlockCoverage":false},{"functionName":"getMilestoneTimestamp","ranges":[{"startOffset":575,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"122","url":"node:internal/bootstrap/web/exposed-window-or-worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2185,"count":1}],"isBlockCoverage":false}]},{"scriptId":"123","url":"node:internal/bootstrap/switches/is_not_main_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1185,"count":1}],"isBlockCoverage":false},{"functionName":"defineStream","ranges":[{"startOffset":119,"endOffset":288,"count":3}],"isBlockCoverage":true},{"functionName":"lazyWorkerStdio","ranges":[{"startOffset":902,"endOffset":1009,"count":23},{"startOffset":951,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"getStdout","ranges":[{"startOffset":1011,"endOffset":1068,"count":8}],"isBlockCoverage":true},{"functionName":"getStderr","ranges":[{"startOffset":1070,"endOffset":1127,"count":9}],"isBlockCoverage":true},{"functionName":"getStdin","ranges":[{"startOffset":1129,"endOffset":1184,"count":6}],"isBlockCoverage":true}]},{"scriptId":"124","url":"node:internal/process/signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":false},{"functionName":"isSignal","ranges":[{"startOffset":238,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"startListeningIfSignal","ranges":[{"startOffset":398,"endOffset":904,"count":0}],"isBlockCoverage":false},{"functionName":"stopListeningIfSignal","ranges":[{"startOffset":906,"endOffset":1101,"count":0}],"isBlockCoverage":false}]},{"scriptId":"125","url":"node:internal/worker/io","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15479,"count":1}],"isBlockCoverage":false},{"functionName":"MessagePort.hasRef","ranges":[{"startOffset":3683,"endOffset":3766,"count":0}],"isBlockCoverage":false},{"functionName":"validateMessagePort","ranges":[{"startOffset":3769,"endOffset":3907,"count":0}],"isBlockCoverage":false},{"functionName":"isMessageEvent","ranges":[{"startOffset":3909,"endOffset":3985,"count":0}],"isBlockCoverage":false},{"functionName":"MessageEvent","ranges":[{"startOffset":4024,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4628,"endOffset":4752,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4862,"endOffset":4988,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5103,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5344,"endOffset":5470,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5579,"endOffset":5704,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5946,"endOffset":6264,"count":0}],"isBlockCoverage":false},{"functionName":"oninit","ranges":[{"startOffset":6403,"endOffset":6546,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortCloseEvent","ranges":[{"startOffset":6848,"endOffset":6887,"count":0}],"isBlockCoverage":false},{"functionName":"onclose","ranges":[{"startOffset":6960,"endOffset":7033,"count":0}],"isBlockCoverage":false},{"functionName":"MessagePort.close","ranges":[{"startOffset":7214,"endOffset":7349,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":7482,"endOffset":8110,"count":0}],"isBlockCoverage":false},{"functionName":"setupPortReferencing","ranges":[{"startOffset":8117,"endOffset":9480,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8478,"endOffset":8573,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8612,"endOffset":8710,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8812,"endOffset":8957,"count":9},{"startOffset":8872,"endOffset":8894,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9068,"endOffset":9215,"count":4},{"startOffset":9128,"endOffset":9149,"count":3}],"isBlockCoverage":true},{"functionName":"newListener","ranges":[{"startOffset":9221,"endOffset":9362,"count":6},{"startOffset":9270,"endOffset":9358,"count":2}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":9366,"endOffset":9478,"count":3},{"startOffset":9418,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"ReadableWorkerStdio","ranges":[{"startOffset":9530,"endOffset":9879,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9708,"endOffset":9873,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":9883,"endOffset":10189,"count":0}],"isBlockCoverage":false},{"functionName":"WritableWorkerStdio","ranges":[{"startOffset":10240,"endOffset":10389,"count":2}],"isBlockCoverage":true},{"functionName":"_writev","ranges":[{"startOffset":10393,"endOffset":10769,"count":0}],"isBlockCoverage":false},{"functionName":"_final","ranges":[{"startOffset":10773,"endOffset":10953,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10957,"endOffset":11204,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11099,"endOffset":11111,"count":0}],"isBlockCoverage":false},{"functionName":"createWorkerStdio","ranges":[{"startOffset":11208,"endOffset":11478,"count":1}],"isBlockCoverage":true},{"functionName":"receiveMessageOnPort","ranges":[{"startOffset":11480,"endOffset":11660,"count":0}],"isBlockCoverage":false},{"functionName":"onMessageEvent","ranges":[{"startOffset":11662,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"isBroadcastChannel","ranges":[{"startOffset":11759,"endOffset":11845,"count":0}],"isBlockCoverage":false},{"functionName":"BroadcastChannel","ranges":[{"startOffset":11932,"endOffset":12446,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12450,"endOffset":12863,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":12899,"endOffset":13028,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13065,"endOffset":13463,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":13531,"endOffset":13941,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":14224,"endOffset":14391,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":14676,"endOffset":14847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"126","url":"node:stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4784,"count":1}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2402,"endOffset":2558,"count":0}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2983,"endOffset":3117,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4105,"endOffset":4137,"count":16}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4235,"endOffset":4276,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4369,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"_uint8ArrayToBuffer","ranges":[{"startOffset":4575,"endOffset":4782,"count":0}],"isBlockCoverage":false}]},{"scriptId":"127","url":"node:internal/streams/operators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10772,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":1019,"endOffset":1599,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":1601,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"asIndexedPairs","ranges":[{"startOffset":4706,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"some","ranges":[{"startOffset":5181,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"every","ranges":[{"startOffset":5331,"endOffset":5659,"count":0}],"isBlockCoverage":false},{"functionName":"find","ranges":[{"startOffset":5661,"endOffset":5803,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":5805,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":6177,"endOffset":6504,"count":0}],"isBlockCoverage":false},{"functionName":"ReduceAwareErrMissingArgs","ranges":[{"startOffset":6720,"endOffset":6834,"count":0}],"isBlockCoverage":false},{"functionName":"reduce","ranges":[{"startOffset":6838,"endOffset":8280,"count":0}],"isBlockCoverage":false},{"functionName":"toArray","ranges":[{"startOffset":8282,"endOffset":8711,"count":0}],"isBlockCoverage":false},{"functionName":"flatMap","ranges":[{"startOffset":8713,"endOffset":8907,"count":0}],"isBlockCoverage":false},{"functionName":"toIntegerOrInfinity","ranges":[{"startOffset":8909,"endOffset":9231,"count":0}],"isBlockCoverage":false},{"functionName":"drop","ranges":[{"startOffset":9233,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"take","ranges":[{"startOffset":9783,"endOffset":10453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"128","url":"node:internal/abort_controller","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12413,"count":1}],"isBlockCoverage":false},{"functionName":"lazyMessageChannel","ranges":[{"startOffset":1574,"endOffset":1707,"count":0}],"isBlockCoverage":false},{"functionName":"lazyMakeTransferable","ranges":[{"startOffset":1709,"endOffset":1867,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":2337,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"validateThisAbortSignal","ranges":[{"startOffset":2598,"endOffset":2723,"count":0}],"isBlockCoverage":false},{"functionName":"setWeakAbortSignalTimeout","ranges":[{"startOffset":3305,"endOffset":3705,"count":0}],"isBlockCoverage":false},{"functionName":"AbortSignal","ranges":[{"startOffset":3749,"endOffset":3809,"count":0}],"isBlockCoverage":false},{"functionName":"get aborted","ranges":[{"startOffset":3846,"endOffset":3929,"count":0}],"isBlockCoverage":false},{"functionName":"get reason","ranges":[{"startOffset":3962,"endOffset":4041,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfAborted","ranges":[{"startOffset":4045,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4165,"endOffset":4294,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":4372,"endOffset":4516,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":4594,"endOffset":4856,"count":0}],"isBlockCoverage":false},{"functionName":"any","ranges":[{"startOffset":4943,"endOffset":6278,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6282,"endOffset":7050,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7408,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7412,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8023,"endOffset":8275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8279,"endOffset":8727,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal","ranges":[{"startOffset":8731,"endOffset":8815,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal.","ranges":[{"startOffset":8860,"endOffset":8868,"count":0}],"isBlockCoverage":false},{"functionName":"createAbortSignal","ranges":[{"startOffset":9346,"endOffset":9759,"count":0}],"isBlockCoverage":false},{"functionName":"abortSignal","ranges":[{"startOffset":9761,"endOffset":10123,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10125,"endOffset":10781,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortSignal","ranges":[{"startOffset":10929,"endOffset":11121,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortController","ranges":[{"startOffset":11193,"endOffset":11282,"count":0}],"isBlockCoverage":false},{"functionName":"aborted","ranges":[{"startOffset":11376,"endOffset":11964,"count":0}],"isBlockCoverage":false}]},{"scriptId":"129","url":"node:internal/streams/end-of-stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8360,"count":1}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":891,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":1000,"endOffset":1008,"count":0}],"isBlockCoverage":false},{"functionName":"eos","ranges":[{"startOffset":1011,"endOffset":6953,"count":0}],"isBlockCoverage":false},{"functionName":"eosWeb","ranges":[{"startOffset":6955,"endOffset":7840,"count":0}],"isBlockCoverage":false},{"functionName":"finished","ranges":[{"startOffset":7842,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"130","url":"node:internal/streams/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8416,"count":1}],"isBlockCoverage":false},{"functionName":"isReadableNodeStream","ranges":[{"startOffset":774,"endOffset":1191,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableNodeStream","ranges":[{"startOffset":1193,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexNodeStream","ranges":[{"startOffset":1415,"endOffset":1614,"count":0}],"isBlockCoverage":false},{"functionName":"isNodeStream","ranges":[{"startOffset":1616,"endOffset":1887,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":1889,"endOffset":2103,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":2105,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":2275,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"isWebStream","ranges":[{"startOffset":2444,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"isIterable","ranges":[{"startOffset":2558,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"isDestroyed","ranges":[{"startOffset":2890,"endOffset":3153,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableEnded","ranges":[{"startOffset":3177,"endOffset":3468,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableFinished","ranges":[{"startOffset":3496,"endOffset":3893,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableEnded","ranges":[{"startOffset":3922,"endOffset":4223,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableFinished","ranges":[{"startOffset":4248,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":4598,"endOffset":4898,"count":0}],"isBlockCoverage":false},{"functionName":"isWritable","ranges":[{"startOffset":4900,"endOffset":5197,"count":0}],"isBlockCoverage":false},{"functionName":"isFinished","ranges":[{"startOffset":5199,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableErrored","ranges":[{"startOffset":5515,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableErrored","ranges":[{"startOffset":5729,"endOffset":5941,"count":0}],"isBlockCoverage":false},{"functionName":"isClosed","ranges":[{"startOffset":5943,"endOffset":6448,"count":0}],"isBlockCoverage":false},{"functionName":"isOutgoingMessage","ranges":[{"startOffset":6450,"endOffset":6702,"count":0}],"isBlockCoverage":false},{"functionName":"isServerResponse","ranges":[{"startOffset":6704,"endOffset":6831,"count":0}],"isBlockCoverage":false},{"functionName":"isServerRequest","ranges":[{"startOffset":6833,"endOffset":7021,"count":0}],"isBlockCoverage":false},{"functionName":"willEmitClose","ranges":[{"startOffset":7023,"endOffset":7361,"count":0}],"isBlockCoverage":false},{"functionName":"isDisturbed","ranges":[{"startOffset":7363,"endOffset":7508,"count":0}],"isBlockCoverage":false},{"functionName":"isErrored","ranges":[{"startOffset":7510,"endOffset":7815,"count":0}],"isBlockCoverage":false}]},{"scriptId":"131","url":"node:internal/streams/compose","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5451,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":543,"endOffset":5449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"132","url":"node:internal/streams/pipeline","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12326,"count":1}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":1058,"endOffset":1487,"count":0}],"isBlockCoverage":false},{"functionName":"popCallback","ranges":[{"startOffset":1489,"endOffset":1817,"count":0}],"isBlockCoverage":false},{"functionName":"makeAsyncIterable","ranges":[{"startOffset":1819,"endOffset":2105,"count":0}],"isBlockCoverage":false},{"functionName":"fromReadable","ranges":[{"startOffset":2107,"endOffset":2281,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToNode","ranges":[{"startOffset":2283,"endOffset":3327,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToWeb","ranges":[{"startOffset":3329,"endOffset":3927,"count":0}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":3929,"endOffset":4022,"count":0}],"isBlockCoverage":false},{"functionName":"pipelineImpl","ranges":[{"startOffset":4024,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"pipe","ranges":[{"startOffset":10478,"endOffset":12279,"count":0}],"isBlockCoverage":false}]},{"scriptId":"133","url":"node:internal/streams/destroy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6826,"count":1}],"isBlockCoverage":false},{"functionName":"checkError","ranges":[{"startOffset":360,"endOffset":671,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":781,"endOffset":1568,"count":0}],"isBlockCoverage":false},{"functionName":"_destroy","ranges":[{"startOffset":1570,"endOffset":2184,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseNT","ranges":[{"startOffset":2186,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":2275,"endOffset":2523,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":2525,"endOffset":2800,"count":0}],"isBlockCoverage":false},{"functionName":"undestroy","ranges":[{"startOffset":2802,"endOffset":3492,"count":0}],"isBlockCoverage":false},{"functionName":"errorOrDestroy","ranges":[{"startOffset":3494,"endOffset":4413,"count":0}],"isBlockCoverage":false},{"functionName":"construct","ranges":[{"startOffset":4415,"endOffset":4821,"count":3},{"startOffset":4512,"endOffset":4820,"count":0}],"isBlockCoverage":true},{"functionName":"constructNT","ranges":[{"startOffset":4823,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"emitConstructNT","ranges":[{"startOffset":5572,"endOffset":5635,"count":0}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":5637,"endOffset":5733,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseLegacy","ranges":[{"startOffset":5735,"endOffset":5795,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseLegacy","ranges":[{"startOffset":5797,"endOffset":5917,"count":0}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":5952,"endOffset":6734,"count":0}],"isBlockCoverage":false}]},{"scriptId":"134","url":"node:internal/streams/duplex","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4938,"count":1}],"isBlockCoverage":false},{"functionName":"Duplex","ranges":[{"startOffset":1996,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3811,"endOffset":4023,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4029,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":4364,"endOffset":4528,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.fromWeb","ranges":[{"startOffset":4547,"endOffset":4665,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.toWeb","ranges":[{"startOffset":4683,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.from","ranges":[{"startOffset":4805,"endOffset":4936,"count":0}],"isBlockCoverage":false}]},{"scriptId":"135","url":"node:internal/streams/readable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43849,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1799,"endOffset":1824,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2617,"endOffset":2625,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3306,"endOffset":3522,"count":19}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3381,"endOffset":3423,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":3429,"endOffset":3514,"count":0}],"isBlockCoverage":false},{"functionName":"ReadableState","ranges":[{"startOffset":5398,"endOffset":8222,"count":1},{"startOffset":5797,"endOffset":5840,"count":0},{"startOffset":6159,"endOffset":6180,"count":0},{"startOffset":6182,"endOffset":6208,"count":0},{"startOffset":6225,"endOffset":6235,"count":0},{"startOffset":6236,"endOffset":6265,"count":0},{"startOffset":6271,"endOffset":6297,"count":0},{"startOffset":6472,"endOffset":6544,"count":0},{"startOffset":6946,"endOffset":6976,"count":0},{"startOffset":6978,"endOffset":7004,"count":0},{"startOffset":7093,"endOffset":7125,"count":0},{"startOffset":7127,"endOffset":7155,"count":0},{"startOffset":7652,"endOffset":7669,"count":0},{"startOffset":7742,"endOffset":7901,"count":0},{"startOffset":8100,"endOffset":8119,"count":0},{"startOffset":8121,"endOffset":8220,"count":0}],"isBlockCoverage":true},{"functionName":"Readable","ranges":[{"startOffset":8225,"endOffset":9113,"count":1},{"startOffset":8293,"endOffset":8322,"count":0},{"startOffset":8593,"endOffset":8937,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9000,"endOffset":9109,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._destroy","ranges":[{"startOffset":9250,"endOffset":9282,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9333,"endOffset":9371,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9415,"endOffset":9671,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.push","ranges":[{"startOffset":9900,"endOffset":9986,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unshift","ranges":[{"startOffset":10082,"endOffset":10167,"count":0}],"isBlockCoverage":false},{"functionName":"readableAddChunk","ranges":[{"startOffset":10170,"endOffset":12572,"count":0}],"isBlockCoverage":false},{"functionName":"addChunk","ranges":[{"startOffset":12574,"endOffset":13339,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.isPaused","ranges":[{"startOffset":13371,"endOffset":13483,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.setEncoding","ranges":[{"startOffset":13547,"endOffset":14108,"count":0}],"isBlockCoverage":false},{"functionName":"computeNewHighWaterMark","ranges":[{"startOffset":14169,"endOffset":14520,"count":0}],"isBlockCoverage":false},{"functionName":"howMuchToRead","ranges":[{"startOffset":14633,"endOffset":15044,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.read","ranges":[{"startOffset":15141,"endOffset":19643,"count":0}],"isBlockCoverage":false},{"functionName":"onEofChunk","ranges":[{"startOffset":19646,"endOffset":20466,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable","ranges":[{"startOffset":20667,"endOffset":20994,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable_","ranges":[{"startOffset":20996,"endOffset":21650,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore","ranges":[{"startOffset":22000,"endOffset":22177,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore_","ranges":[{"startOffset":22179,"endOffset":23971,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._read","ranges":[{"startOffset":24242,"endOffset":24308,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pipe","ranges":[{"startOffset":24337,"endOffset":28782,"count":0}],"isBlockCoverage":false},{"functionName":"pipeOnDrain","ranges":[{"startOffset":28785,"endOffset":29430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unpipe","ranges":[{"startOffset":29461,"endOffset":30162,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.on","ranges":[{"startOffset":30288,"endOffset":31195,"count":1},{"startOffset":30420,"endOffset":30752,"count":0},{"startOffset":30781,"endOffset":31178,"count":0}],"isBlockCoverage":true},{"functionName":"Readable.removeListener","ranges":[{"startOffset":31290,"endOffset":31855,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.removeAllListeners","ranges":[{"startOffset":31958,"endOffset":32552,"count":0}],"isBlockCoverage":false},{"functionName":"updateReadableListening","ranges":[{"startOffset":32555,"endOffset":33065,"count":0}],"isBlockCoverage":false},{"functionName":"nReadingNextTick","ranges":[{"startOffset":33067,"endOffset":33155,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.resume","ranges":[{"startOffset":33309,"endOffset":33634,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":33637,"endOffset":33787,"count":0}],"isBlockCoverage":false},{"functionName":"resume_","ranges":[{"startOffset":33789,"endOffset":34040,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pause","ranges":[{"startOffset":34069,"endOffset":34336,"count":0}],"isBlockCoverage":false},{"functionName":"flow","ranges":[{"startOffset":34339,"endOffset":34486,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":34670,"endOffset":35691,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":35736,"endOffset":35788,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.iterator","ranges":[{"startOffset":35821,"endOffset":35964,"count":0}],"isBlockCoverage":false},{"functionName":"streamToAsyncIterator","ranges":[{"startOffset":35967,"endOffset":36216,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncIterator","ranges":[{"startOffset":36218,"endOffset":37294,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":37513,"endOffset":37902,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":37908,"endOffset":38038,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38120,"endOffset":38184,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38266,"endOffset":38474,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38562,"endOffset":38628,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38709,"endOffset":38791,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38873,"endOffset":38933,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":38944,"endOffset":39053,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39129,"endOffset":39183,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39263,"endOffset":39351,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39429,"endOffset":39514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39583,"endOffset":39667,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39712,"endOffset":39796,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39867,"endOffset":39954,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":39960,"endOffset":40249,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40324,"endOffset":40412,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40553,"endOffset":40598,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40678,"endOffset":40729,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":40735,"endOffset":40784,"count":0}],"isBlockCoverage":false},{"functionName":"fromList","ranges":[{"startOffset":41090,"endOffset":41652,"count":0}],"isBlockCoverage":false},{"functionName":"endReadable","ranges":[{"startOffset":41654,"endOffset":41875,"count":0}],"isBlockCoverage":false},{"functionName":"endReadableNT","ranges":[{"startOffset":41877,"endOffset":42797,"count":0}],"isBlockCoverage":false},{"functionName":"endWritableNT","ranges":[{"startOffset":42799,"endOffset":42959,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.from","ranges":[{"startOffset":42977,"endOffset":43046,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":43111,"endOffset":43275,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.fromWeb","ranges":[{"startOffset":43296,"endOffset":43430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.toWeb","ranges":[{"startOffset":43450,"endOffset":43584,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":43603,"endOffset":43847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"136","url":"node:internal/streams/legacy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2934,"count":1}],"isBlockCoverage":false},{"functionName":"Stream","ranges":[{"startOffset":112,"endOffset":160,"count":3}],"isBlockCoverage":true},{"functionName":"Stream.pipe","ranges":[{"startOffset":274,"endOffset":2076,"count":0}],"isBlockCoverage":false},{"functionName":"prependListener","ranges":[{"startOffset":2079,"endOffset":2886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"137","url":"node:internal/streams/add-abort-signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1704,"count":1}],"isBlockCoverage":false},{"functionName":"validateAbortSignal","ranges":[{"startOffset":557,"endOffset":716,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortSignal","ranges":[{"startOffset":751,"endOffset":1062,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.addAbortSignalNoValidate","ranges":[{"startOffset":1107,"endOffset":1702,"count":0}],"isBlockCoverage":false}]},{"scriptId":"138","url":"node:internal/streams/buffer_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4060,"count":1}],"isBlockCoverage":false},{"functionName":"BufferList","ranges":[{"startOffset":254,"endOffset":338,"count":1}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":342,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":533,"endOffset":691,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":695,"endOffset":922,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":926,"endOffset":994,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":998,"endOffset":1180,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":1184,"endOffset":1467,"count":0}],"isBlockCoverage":false},{"functionName":"consume","ranges":[{"startOffset":1551,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":2009,"endOffset":2049,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":2053,"endOffset":2149,"count":0}],"isBlockCoverage":false},{"functionName":"_getString","ranges":[{"startOffset":2224,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"_getBuffer","ranges":[{"startOffset":2932,"endOffset":3779,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":3860,"endOffset":4056,"count":0}],"isBlockCoverage":false}]},{"scriptId":"139","url":"node:internal/streams/state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1332,"count":1}],"isBlockCoverage":false},{"functionName":"highWaterMarkFrom","ranges":[{"startOffset":287,"endOffset":454,"count":2},{"startOffset":385,"endOffset":408,"count":0},{"startOffset":424,"endOffset":444,"count":0}],"isBlockCoverage":true},{"functionName":"getDefaultHighWaterMark","ranges":[{"startOffset":456,"endOffset":586,"count":3},{"startOffset":523,"endOffset":555,"count":0}],"isBlockCoverage":true},{"functionName":"setDefaultHighWaterMark","ranges":[{"startOffset":588,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"getHighWaterMark","ranges":[{"startOffset":801,"endOffset":1234,"count":2},{"startOffset":948,"endOffset":1160,"count":0}],"isBlockCoverage":true}]},{"scriptId":"140","url":"node:string_decoder","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5213,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeEncoding","ranges":[{"startOffset":2129,"endOffset":2391,"count":0}],"isBlockCoverage":false},{"functionName":"StringDecoder","ranges":[{"startOffset":2705,"endOffset":2904,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3227,"endOffset":3612,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":3889,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":4291,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4586,"endOffset":4799,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4891,"endOffset":4954,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5047,"endOffset":5162,"count":0}],"isBlockCoverage":false}]},{"scriptId":"141","url":"node:internal/streams/from","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2614,"count":1}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":241,"endOffset":2589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"142","url":"node:internal/streams/writable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29040,"count":1}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2389,"endOffset":2406,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3093,"endOffset":3309,"count":20}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3168,"endOffset":3210,"count":2}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3216,"endOffset":3301,"count":0}],"isBlockCoverage":false},{"functionName":"WritableState","ranges":[{"startOffset":5971,"endOffset":9003,"count":2},{"startOffset":6366,"endOffset":6409,"count":0},{"startOffset":6630,"endOffset":6656,"count":0},{"startOffset":6672,"endOffset":6682,"count":0},{"startOffset":6683,"endOffset":6712,"count":0},{"startOffset":6714,"endOffset":6740,"count":0},{"startOffset":7031,"endOffset":7067,"count":0},{"startOffset":7121,"endOffset":7150,"count":0},{"startOffset":7257,"endOffset":7283,"count":0},{"startOffset":7406,"endOffset":7434,"count":0},{"startOffset":7754,"endOffset":7913,"count":0}],"isBlockCoverage":true},{"functionName":"resetBuffer","ranges":[{"startOffset":9005,"endOffset":9127,"count":2}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":9165,"endOffset":9254,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9350,"endOffset":9415,"count":0}],"isBlockCoverage":false},{"functionName":"Writable","ranges":[{"startOffset":9422,"endOffset":10950,"count":2},{"startOffset":10123,"endOffset":10152,"count":0},{"startOffset":10291,"endOffset":10319,"count":0},{"startOffset":10373,"endOffset":10403,"count":0},{"startOffset":10458,"endOffset":10490,"count":0},{"startOffset":10543,"endOffset":10571,"count":0},{"startOffset":10628,"endOffset":10664,"count":0},{"startOffset":10696,"endOffset":10733,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10800,"endOffset":10946,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":11032,"endOffset":11236,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.pipe","ranges":[{"startOffset":11337,"endOffset":11405,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":11408,"endOffset":12809,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.write","ranges":[{"startOffset":12838,"endOffset":12924,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.cork","ranges":[{"startOffset":12953,"endOffset":12999,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.uncork","ranges":[{"startOffset":13030,"endOffset":13201,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultEncoding","ranges":[{"startOffset":13244,"endOffset":13569,"count":0}],"isBlockCoverage":false},{"functionName":"writeOrBuffer","ranges":[{"startOffset":13759,"endOffset":14872,"count":0}],"isBlockCoverage":false},{"functionName":"doWrite","ranges":[{"startOffset":14874,"endOffset":15262,"count":0}],"isBlockCoverage":false},{"functionName":"onwriteError","ranges":[{"startOffset":15264,"endOffset":15649,"count":0}],"isBlockCoverage":false},{"functionName":"onwrite","ranges":[{"startOffset":15651,"endOffset":17310,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteTick","ranges":[{"startOffset":17312,"endOffset":17451,"count":0}],"isBlockCoverage":false},{"functionName":"afterWrite","ranges":[{"startOffset":17453,"endOffset":17869,"count":0}],"isBlockCoverage":false},{"functionName":"errorBuffer","ranges":[{"startOffset":17941,"endOffset":18532,"count":0}],"isBlockCoverage":false},{"functionName":"clearBuffer","ranges":[{"startOffset":18598,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._write","ranges":[{"startOffset":20262,"endOffset":20431,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.end","ranges":[{"startOffset":20495,"endOffset":21953,"count":0}],"isBlockCoverage":false},{"functionName":"needFinish","ranges":[{"startOffset":21956,"endOffset":22419,"count":0}],"isBlockCoverage":false},{"functionName":"callFinal","ranges":[{"startOffset":22421,"endOffset":23393,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":23395,"endOffset":23733,"count":0}],"isBlockCoverage":false},{"functionName":"finishMaybe","ranges":[{"startOffset":23735,"endOffset":24234,"count":0}],"isBlockCoverage":false},{"functionName":"finish","ranges":[{"startOffset":24236,"endOffset":24986,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25071,"endOffset":25172,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25220,"endOffset":25324,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":25330,"endOffset":25576,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25623,"endOffset":26027,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":26033,"endOffset":26167,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26222,"endOffset":26325,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26382,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26540,"endOffset":26622,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26674,"endOffset":26775,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26831,"endOffset":27046,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27106,"endOffset":27190,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27243,"endOffset":27323,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27376,"endOffset":27453,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27522,"endOffset":27606,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27688,"endOffset":27927,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.destroy","ranges":[{"startOffset":28005,"endOffset":28318,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._destroy","ranges":[{"startOffset":28406,"endOffset":28438,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.","ranges":[{"startOffset":28489,"endOffset":28527,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":28592,"endOffset":28756,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.fromWeb","ranges":[{"startOffset":28777,"endOffset":28911,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.toWeb","ranges":[{"startOffset":28931,"endOffset":29038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"143","url":"node:stream/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":917,"count":1}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":318,"endOffset":869,"count":0}],"isBlockCoverage":false}]},{"scriptId":"144","url":"node:internal/streams/transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7176,"count":1}],"isBlockCoverage":false},{"functionName":"Transform","ranges":[{"startOffset":3920,"endOffset":5747,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5749,"endOffset":6193,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":6195,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._transform","ranges":[{"startOffset":6348,"endOffset":6443,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._write","ranges":[{"startOffset":6475,"endOffset":7018,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._read","ranges":[{"startOffset":7049,"endOffset":7174,"count":0}],"isBlockCoverage":false}]},{"scriptId":"145","url":"node:internal/streams/passthrough","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1762,"count":1}],"isBlockCoverage":false},{"functionName":"PassThrough","ranges":[{"startOffset":1529,"endOffset":1671,"count":0}],"isBlockCoverage":false},{"functionName":"PassThrough._transform","ranges":[{"startOffset":1708,"endOffset":1760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"146","url":"node:internal/bootstrap/switches/does_not_own_process_state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1278,"count":1}],"isBlockCoverage":false},{"functionName":"wrappedUmask","ranges":[{"startOffset":1047,"endOffset":1277,"count":0}],"isBlockCoverage":false}]},{"scriptId":"147","url":"node:internal/process/worker_thread_only","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":426,"count":1}],"isBlockCoverage":false},{"functionName":"unavailable","ranges":[{"startOffset":194,"endOffset":387,"count":8}],"isBlockCoverage":true},{"functionName":"unavailableInWorker","ranges":[{"startOffset":225,"endOffset":315,"count":0}],"isBlockCoverage":false}]},{"scriptId":"148","url":"node:internal/main/worker_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7311,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1096,"endOffset":1121,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2200,"endOffset":5806,"count":3},{"startOffset":2251,"endOffset":5390,"count":1},{"startOffset":2537,"endOffset":2599,"count":0},{"startOffset":3460,"endOffset":3541,"count":0},{"startOffset":3597,"endOffset":3671,"count":0},{"startOffset":3737,"endOffset":3762,"count":0},{"startOffset":3961,"endOffset":4206,"count":0},{"startOffset":4214,"endOffset":4743,"count":0},{"startOffset":4751,"endOffset":4995,"count":0},{"startOffset":5390,"endOffset":5804,"count":2},{"startOffset":5432,"endOffset":5591,"count":0}],"isBlockCoverage":true},{"functionName":"process.cwd","ranges":[{"startOffset":3133,"endOffset":3384,"count":3},{"startOffset":3260,"endOffset":3277,"count":2},{"startOffset":3277,"endOffset":3383,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4900,"endOffset":4970,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5508,"endOffset":5585,"count":0}],"isBlockCoverage":false},{"functionName":"workerOnGlobalUncaughtException","ranges":[{"startOffset":5810,"endOffset":7002,"count":0}],"isBlockCoverage":false}]},{"scriptId":"149","url":"node:internal/process/pre_execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":22973,"count":1}],"isBlockCoverage":false},{"functionName":"prepareMainThreadExecution","ranges":[{"startOffset":1091,"endOffset":1268,"count":0}],"isBlockCoverage":false},{"functionName":"prepareWorkerThreadExecution","ranges":[{"startOffset":1270,"endOffset":1469,"count":1}],"isBlockCoverage":true},{"functionName":"prepareExecution","ranges":[{"startOffset":1471,"endOffset":3628,"count":1},{"startOffset":2237,"endOffset":3408,"count":0},{"startOffset":3597,"endOffset":3626,"count":0}],"isBlockCoverage":true},{"functionName":"setupSymbolDisposePolyfill","ranges":[{"startOffset":3630,"endOffset":4365,"count":1}],"isBlockCoverage":true},{"functionName":"setupUserModules","ranges":[{"startOffset":4367,"endOffset":4795,"count":1},{"startOffset":4676,"endOffset":4693,"count":0}],"isBlockCoverage":true},{"functionName":"refreshRuntimeOptions","ranges":[{"startOffset":4797,"endOffset":4853,"count":1}],"isBlockCoverage":true},{"functionName":"patchProcessObject","ranges":[{"startOffset":4855,"endOffset":6952,"count":1},{"startOffset":5388,"endOffset":5406,"count":0},{"startOffset":5407,"endOffset":5464,"count":0},{"startOffset":5466,"endOffset":5677,"count":0}],"isBlockCoverage":true},{"functionName":"addReadOnlyProcessAlias","ranges":[{"startOffset":6954,"endOffset":7235,"count":13},{"startOffset":7075,"endOffset":7233,"count":1}],"isBlockCoverage":true},{"functionName":"setupWarningHandler","ranges":[{"startOffset":7237,"endOffset":7757,"count":1},{"startOffset":7612,"endOffset":7751,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7641,"endOffset":7743,"count":0}],"isBlockCoverage":false},{"functionName":"setupFetch","ranges":[{"startOffset":7793,"endOffset":8933,"count":1},{"startOffset":7913,"endOffset":7930,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUndici","ranges":[{"startOffset":7948,"endOffset":8093,"count":0}],"isBlockCoverage":false},{"functionName":"fetch","ranges":[{"startOffset":8097,"endOffset":8192,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInterface","ranges":[{"startOffset":8244,"endOffset":8485,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8345,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8403,"endOffset":8473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8818,"endOffset":8929,"count":0}],"isBlockCoverage":false},{"functionName":"setupWebCrypto","ranges":[{"startOffset":9037,"endOffset":9989,"count":1},{"startOffset":9172,"endOffset":9189,"count":0},{"startOffset":9678,"endOffset":9987,"count":0}],"isBlockCoverage":true},{"functionName":"cryptoThisCheck","ranges":[{"startOffset":9363,"endOffset":9539,"count":0}],"isBlockCoverage":false},{"functionName":"get crypto","ranges":[{"startOffset":9840,"endOffset":9939,"count":0}],"isBlockCoverage":false},{"functionName":"setupCodeCoverage","ranges":[{"startOffset":9991,"endOffset":10512,"count":1}],"isBlockCoverage":true},{"functionName":"setupCustomEvent","ranges":[{"startOffset":10618,"endOffset":10895,"count":1},{"startOffset":10757,"endOffset":10774,"count":0}],"isBlockCoverage":true},{"functionName":"setupStacktracePrinterOnSigint","ranges":[{"startOffset":10897,"endOffset":11122,"count":0}],"isBlockCoverage":false},{"functionName":"initializeReport","ranges":[{"startOffset":11124,"endOffset":11373,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":11269,"endOffset":11364,"count":6}],"isBlockCoverage":true},{"functionName":"setupDebugEnv","ranges":[{"startOffset":11375,"endOffset":11606,"count":1},{"startOffset":11526,"endOffset":11604,"count":0}],"isBlockCoverage":true},{"functionName":"initializeReportSignalHandlers","ranges":[{"startOffset":11668,"endOffset":11856,"count":0}],"isBlockCoverage":false},{"functionName":"initializeHeapSnapshotSignalHandlers","ranges":[{"startOffset":11858,"endOffset":12592,"count":0}],"isBlockCoverage":false},{"functionName":"setupTraceCategoryState","ranges":[{"startOffset":12594,"endOffset":12853,"count":1}],"isBlockCoverage":true},{"functionName":"setupInspectorHooks","ranges":[{"startOffset":12855,"endOffset":13437,"count":1}],"isBlockCoverage":true},{"functionName":"initializeDeprecations","ranges":[{"startOffset":13632,"endOffset":15584,"count":1},{"startOffset":14344,"endOffset":14646,"count":16},{"startOffset":14389,"endOffset":14621,"count":0},{"startOffset":14963,"endOffset":15160,"count":0},{"startOffset":15188,"endOffset":15582,"count":0}],"isBlockCoverage":true},{"functionName":"setupChildProcessIpcChannel","ranges":[{"startOffset":15586,"endOffset":16151,"count":0}],"isBlockCoverage":false},{"functionName":"initializeClusterIPC","ranges":[{"startOffset":16153,"endOffset":16423,"count":0}],"isBlockCoverage":false},{"functionName":"initializePermission","ranges":[{"startOffset":16425,"endOffset":18308,"count":1},{"startOffset":16567,"endOffset":17928,"count":0}],"isBlockCoverage":true},{"functionName":"binding","ranges":[{"startOffset":16591,"endOffset":16678,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18140,"endOffset":18300,"count":4},{"startOffset":18218,"endOffset":18294,"count":0}],"isBlockCoverage":true},{"functionName":"readPolicyFromDisk","ranges":[{"startOffset":18310,"endOffset":20129,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCJSLoader","ranges":[{"startOffset":20131,"endOffset":20252,"count":1}],"isBlockCoverage":true},{"functionName":"initializeESMLoader","ranges":[{"startOffset":20254,"endOffset":20829,"count":1},{"startOffset":20582,"endOffset":20827,"count":0}],"isBlockCoverage":true},{"functionName":"initializeSourceMapsHandlers","ranges":[{"startOffset":20831,"endOffset":21029,"count":1}],"isBlockCoverage":true},{"functionName":"initializeFrozenIntrinsics","ranges":[{"startOffset":21031,"endOffset":21288,"count":1},{"startOffset":21116,"endOffset":21286,"count":0}],"isBlockCoverage":true},{"functionName":"loadPreloadModules","ranges":[{"startOffset":21290,"endOffset":21638,"count":1},{"startOffset":21484,"endOffset":21636,"count":0}],"isBlockCoverage":true},{"functionName":"markBootstrapComplete","ranges":[{"startOffset":21640,"endOffset":21734,"count":1}],"isBlockCoverage":true},{"functionName":"getHeapSnapshotFilename","ranges":[{"startOffset":21889,"endOffset":22790,"count":0}],"isBlockCoverage":false}]},{"scriptId":"150","url":"node:internal/v8/startup_snapshot","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3382,"count":1}],"isBlockCoverage":false},{"functionName":"isBuildingSnapshot","ranges":[{"startOffset":433,"endOffset":504,"count":4}],"isBlockCoverage":true},{"functionName":"throwIfNotBuildingSnapshot","ranges":[{"startOffset":506,"endOffset":625,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfBuildingSnapshot","ranges":[{"startOffset":627,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"runDeserializeCallbacks","ranges":[{"startOffset":831,"endOffset":1004,"count":0}],"isBlockCoverage":false},{"functionName":"addDeserializeCallback","ranges":[{"startOffset":1006,"endOffset":1541,"count":0}],"isBlockCoverage":false},{"functionName":"runSerializeCallbacks","ranges":[{"startOffset":1574,"endOffset":1741,"count":0}],"isBlockCoverage":false},{"functionName":"addSerializeCallback","ranges":[{"startOffset":1743,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCallbacks","ranges":[{"startOffset":1913,"endOffset":2122,"count":0}],"isBlockCoverage":false},{"functionName":"setDeserializeMainFunction","ranges":[{"startOffset":2158,"endOffset":3105,"count":0}],"isBlockCoverage":false}]},{"scriptId":"151","url":"node:internal/inspector_async_hook","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1973,"count":1}],"isBlockCoverage":false},{"functionName":"lazyHookCreation","ranges":[{"startOffset":75,"endOffset":1257,"count":0}],"isBlockCoverage":false},{"functionName":"enable","ranges":[{"startOffset":1259,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":1842,"endOffset":1928,"count":0}],"isBlockCoverage":false}]},{"scriptId":"152","url":"node:internal/source_map/prepare_stack_trace","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7404,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":334,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"prepareStackTrace","ranges":[{"startOffset":895,"endOffset":3880,"count":0}],"isBlockCoverage":false},{"functionName":"getOriginalSymbolName","ranges":[{"startOffset":4031,"endOffset":4774,"count":0}],"isBlockCoverage":false},{"functionName":"getErrorSource","ranges":[{"startOffset":4942,"endOffset":6024,"count":0}],"isBlockCoverage":false},{"functionName":"getOriginalSource","ranges":[{"startOffset":6026,"endOffset":6923,"count":0}],"isBlockCoverage":false},{"functionName":"getSourceMapErrorSource","ranges":[{"startOffset":6925,"endOffset":7305,"count":0}],"isBlockCoverage":false}]},{"scriptId":"153","url":"node:fs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":85023,"count":1}],"isBlockCoverage":false},{"functionName":"showTruncateDeprecation","ranges":[{"startOffset":4028,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"maybeCallback","ranges":[{"startOffset":4317,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"makeCallback","ranges":[{"startOffset":4594,"endOffset":4706,"count":0}],"isBlockCoverage":false},{"functionName":"makeStatsCallback","ranges":[{"startOffset":4887,"endOffset":5054,"count":0}],"isBlockCoverage":false},{"functionName":"isFileType","ranges":[{"startOffset":5079,"endOffset":5339,"count":6503},{"startOffset":5278,"endOffset":5298,"count":636}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":5555,"endOffset":5913,"count":0}],"isBlockCoverage":false},{"functionName":"accessSync","ranges":[{"startOffset":6101,"endOffset":6165,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6327,"endOffset":6565,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6652,"endOffset":6784,"count":0}],"isBlockCoverage":false},{"functionName":"existsSync","ranges":[{"startOffset":7332,"endOffset":7391,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterOpen","ranges":[{"startOffset":7393,"endOffset":7673,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterStat","ranges":[{"startOffset":7675,"endOffset":8553,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":8555,"endOffset":8728,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":9061,"endOffset":10013,"count":0}],"isBlockCoverage":false},{"functionName":"tryStatSync","ranges":[{"startOffset":10015,"endOffset":10245,"count":1},{"startOffset":10158,"endOffset":10170,"count":0},{"startOffset":10172,"endOffset":10227,"count":0}],"isBlockCoverage":true},{"functionName":"tryCreateBuffer","ranges":[{"startOffset":10247,"endOffset":10558,"count":1},{"startOffset":10365,"endOffset":10417,"count":0},{"startOffset":10504,"endOffset":10516,"count":0},{"startOffset":10518,"endOffset":10535,"count":0}],"isBlockCoverage":true},{"functionName":"tryReadSync","ranges":[{"startOffset":10560,"endOffset":10815,"count":1},{"startOffset":10758,"endOffset":10770,"count":0},{"startOffset":10772,"endOffset":10789,"count":0}],"isBlockCoverage":true},{"functionName":"readFileSync","ranges":[{"startOffset":11039,"endOffset":12564,"count":379},{"startOffset":11161,"endOffset":11192,"count":2},{"startOffset":11194,"endOffset":11251,"count":377},{"startOffset":11251,"endOffset":11335,"count":2},{"startOffset":11335,"endOffset":11341,"count":0},{"startOffset":11342,"endOffset":11382,"count":2},{"startOffset":11470,"endOffset":11480,"count":1},{"startOffset":11481,"endOffset":11484,"count":0},{"startOffset":11614,"endOffset":11637,"count":0},{"startOffset":11637,"endOffset":11889,"count":1},{"startOffset":11889,"endOffset":12258,"count":0},{"startOffset":12258,"endOffset":12318,"count":1},{"startOffset":12318,"endOffset":12414,"count":0},{"startOffset":12414,"endOffset":12476,"count":1},{"startOffset":12436,"endOffset":12476,"count":0},{"startOffset":12476,"endOffset":12502,"count":1},{"startOffset":12502,"endOffset":12545,"count":0},{"startOffset":12545,"endOffset":12563,"count":1}],"isBlockCoverage":true},{"functionName":"defaultCloseCallback","ranges":[{"startOffset":12566,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12760,"endOffset":13013,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":13109,"endOffset":13162,"count":1}],"isBlockCoverage":true},{"functionName":"open","ranges":[{"startOffset":13405,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"openSync","ranges":[{"startOffset":14154,"endOffset":14235,"count":2}],"isBlockCoverage":true},{"functionName":"openAsBlob","ranges":[{"startOffset":14364,"endOffset":14846,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":15210,"endOffset":17170,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":17624,"endOffset":18761,"count":1},{"startOffset":17846,"endOffset":18102,"count":0},{"startOffset":18132,"endOffset":18153,"count":0},{"startOffset":18244,"endOffset":18263,"count":0},{"startOffset":18296,"endOffset":18426,"count":0}],"isBlockCoverage":true},{"functionName":"readv","ranges":[{"startOffset":19106,"endOffset":19523,"count":0}],"isBlockCoverage":false},{"functionName":"readvSync","ranges":[{"startOffset":19925,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20641,"endOffset":22188,"count":0}],"isBlockCoverage":false},{"functionName":"writeSync","ranges":[{"startOffset":22645,"endOffset":23778,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":24105,"endOffset":24627,"count":0}],"isBlockCoverage":false},{"functionName":"writevSync","ranges":[{"startOffset":24995,"endOffset":25354,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":25595,"endOffset":25976,"count":0}],"isBlockCoverage":false},{"functionName":"renameSync","ranges":[{"startOffset":26175,"endOffset":26522,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":26680,"endOffset":27341,"count":0}],"isBlockCoverage":false},{"functionName":"truncateSync","ranges":[{"startOffset":27471,"endOffset":27874,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":28026,"endOffset":28363,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncateSync","ranges":[{"startOffset":28487,"endOffset":28704,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadCp","ranges":[{"startOffset":28706,"endOffset":28912,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadRimraf","ranges":[{"startOffset":28914,"endOffset":29033,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":29291,"endOffset":30153,"count":0}],"isBlockCoverage":false},{"functionName":"rmdirSync","ranges":[{"startOffset":30368,"endOffset":30888,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":31226,"endOffset":31604,"count":0}],"isBlockCoverage":false},{"functionName":"rmSync","ranges":[{"startOffset":31899,"endOffset":32109,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":32340,"endOffset":32511,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasyncSync","ranges":[{"startOffset":32714,"endOffset":32861,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":33048,"endOffset":33211,"count":0}],"isBlockCoverage":false},{"functionName":"fsyncSync","ranges":[{"startOffset":33370,"endOffset":33509,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":33753,"endOffset":34468,"count":0}],"isBlockCoverage":false},{"functionName":"mkdirSync","ranges":[{"startOffset":34678,"endOffset":35384,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSyncRecursive","ranges":[{"startOffset":35717,"endOffset":37463,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":37763,"endOffset":38541,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSync","ranges":[{"startOffset":38805,"endOffset":39408,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":39649,"endOffset":39995,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":40261,"endOffset":40646,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":40876,"endOffset":41259,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":41261,"endOffset":41754,"count":0}],"isBlockCoverage":false},{"functionName":"hasNoEntryError","ranges":[{"startOffset":41756,"endOffset":41971,"count":0}],"isBlockCoverage":false},{"functionName":"fstatSync","ranges":[{"startOffset":42147,"endOffset":42386,"count":0}],"isBlockCoverage":false},{"functionName":"lstatSync","ranges":[{"startOffset":42634,"endOffset":43058,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":43273,"endOffset":43346,"count":0}],"isBlockCoverage":false},{"functionName":"statfsSync","ranges":[{"startOffset":43348,"endOffset":43425,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":43703,"endOffset":44047,"count":0}],"isBlockCoverage":false},{"functionName":"readlinkSync","ranges":[{"startOffset":44261,"endOffset":44588,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":44830,"endOffset":46483,"count":0}],"isBlockCoverage":false},{"functionName":"symlinkSync","ranges":[{"startOffset":46698,"endOffset":47359,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":47586,"endOffset":47987,"count":0}],"isBlockCoverage":false},{"functionName":"linkSync","ranges":[{"startOffset":48186,"endOffset":48635,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":48796,"endOffset":49023,"count":0}],"isBlockCoverage":false},{"functionName":"unlinkSync","ranges":[{"startOffset":49141,"endOffset":49200,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":49363,"endOffset":49602,"count":0}],"isBlockCoverage":false},{"functionName":"fchmodSync","ranges":[{"startOffset":49737,"endOffset":49928,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":50109,"endOffset":50602,"count":0}],"isBlockCoverage":false},{"functionName":"lchmodSync","ranges":[{"startOffset":50755,"endOffset":51077,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":51273,"endOffset":51549,"count":0}],"isBlockCoverage":false},{"functionName":"chmodSync","ranges":[{"startOffset":51702,"endOffset":51937,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":52133,"endOffset":52474,"count":0}],"isBlockCoverage":false},{"functionName":"lchownSync","ranges":[{"startOffset":52642,"endOffset":52942,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":53112,"endOffset":53415,"count":0}],"isBlockCoverage":false},{"functionName":"fchownSync","ranges":[{"startOffset":53557,"endOffset":53813,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":54029,"endOffset":54369,"count":0}],"isBlockCoverage":false},{"functionName":"chownSync","ranges":[{"startOffset":54542,"endOffset":54840,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":55109,"endOffset":55450,"count":0}],"isBlockCoverage":false},{"functionName":"utimesSync","ranges":[{"startOffset":55691,"endOffset":55973,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":56254,"endOffset":56559,"count":0}],"isBlockCoverage":false},{"functionName":"futimesSync","ranges":[{"startOffset":56815,"endOffset":57072,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":57356,"endOffset":57702,"count":0}],"isBlockCoverage":false},{"functionName":"lutimesSync","ranges":[{"startOffset":57962,"endOffset":58266,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":58268,"endOffset":59231,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":59588,"endOffset":60454,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":60741,"endOffset":61443,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":61748,"endOffset":62188,"count":0}],"isBlockCoverage":false},{"functionName":"appendFileSync","ranges":[{"startOffset":62450,"endOffset":62829,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":63197,"endOffset":64950,"count":0}],"isBlockCoverage":false},{"functionName":"watchFile","ranges":[{"startOffset":65300,"endOffset":66324,"count":0}],"isBlockCoverage":false},{"functionName":"unwatchFile","ranges":[{"startOffset":66474,"endOffset":67213,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67429,"endOffset":67525,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67550,"endOffset":67760,"count":457},{"startOffset":67617,"endOffset":67740,"count":914},{"startOffset":67695,"endOffset":67734,"count":457},{"startOffset":67740,"endOffset":67759,"count":0}],"isBlockCoverage":true},{"functionName":"encodeRealpathResult","ranges":[{"startOffset":67765,"endOffset":68052,"count":457},{"startOffset":67850,"endOffset":67880,"count":0},{"startOffset":67900,"endOffset":68051,"count":0}],"isBlockCoverage":true},{"functionName":"nextPart","ranges":[{"startOffset":68175,"endOffset":68434,"count":0}],"isBlockCoverage":false},{"functionName":"nextPart","ranges":[{"startOffset":68458,"endOffset":68533,"count":3569}],"isBlockCoverage":true},{"functionName":"realpathSync","ranges":[{"startOffset":68707,"endOffset":72603,"count":552},{"startOffset":68831,"endOffset":68849,"count":0},{"startOffset":69010,"endOffset":69045,"count":95},{"startOffset":69045,"endOffset":69607,"count":457},{"startOffset":69607,"endOffset":69779,"count":0},{"startOffset":69779,"endOffset":69916,"count":457},{"startOffset":69916,"endOffset":72530,"count":3569},{"startOffset":70028,"endOffset":70159,"count":457},{"startOffset":70159,"endOffset":70317,"count":3112},{"startOffset":70434,"endOffset":70571,"count":2933},{"startOffset":70525,"endOffset":70549,"count":0},{"startOffset":70571,"endOffset":70637,"count":636},{"startOffset":70674,"endOffset":70723,"count":0},{"startOffset":70723,"endOffset":72027,"count":636},{"startOffset":71163,"endOffset":71947,"count":0},{"startOffset":71991,"endOffset":72021,"count":0},{"startOffset":72027,"endOffset":72342,"count":0},{"startOffset":72344,"endOffset":72526,"count":0},{"startOffset":72530,"endOffset":72544,"count":457}],"isBlockCoverage":true},{"functionName":"realpathSync.native","ranges":[{"startOffset":72792,"endOffset":73056,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":73363,"endOffset":76894,"count":0}],"isBlockCoverage":false},{"functionName":"realpath.native","ranges":[{"startOffset":77221,"endOffset":77516,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":77761,"endOffset":78271,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtempSync","ranges":[{"startOffset":78452,"endOffset":78944,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":79208,"endOffset":79669,"count":0}],"isBlockCoverage":false},{"functionName":"copyFileSync","ranges":[{"startOffset":79901,"endOffset":79979,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":80272,"endOffset":80677,"count":0}],"isBlockCoverage":false},{"functionName":"cpSync","ranges":[{"startOffset":80938,"endOffset":81202,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadStreams","ranges":[{"startOffset":81204,"endOffset":81395,"count":40},{"startOffset":81252,"endOffset":81393,"count":1}],"isBlockCoverage":true},{"functionName":"createReadStream","ranges":[{"startOffset":81824,"endOffset":81929,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":82264,"endOffset":82371,"count":0}],"isBlockCoverage":false},{"functionName":"get ReadStream","ranges":[{"startOffset":83615,"endOffset":83683,"count":10}],"isBlockCoverage":true},{"functionName":"set ReadStream","ranges":[{"startOffset":83688,"endOffset":83735,"count":0}],"isBlockCoverage":false},{"functionName":"get WriteStream","ranges":[{"startOffset":83740,"endOffset":83810,"count":10}],"isBlockCoverage":true},{"functionName":"set WriteStream","ranges":[{"startOffset":83815,"endOffset":83864,"count":0}],"isBlockCoverage":false},{"functionName":"get FileReadStream","ranges":[{"startOffset":84002,"endOffset":84078,"count":10}],"isBlockCoverage":true},{"functionName":"set FileReadStream","ranges":[{"startOffset":84083,"endOffset":84138,"count":0}],"isBlockCoverage":false},{"functionName":"get FileWriteStream","ranges":[{"startOffset":84143,"endOffset":84221,"count":10}],"isBlockCoverage":true},{"functionName":"set FileWriteStream","ranges":[{"startOffset":84226,"endOffset":84283,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":84916,"endOffset":85012,"count":10}],"isBlockCoverage":true}]},{"scriptId":"154","url":"node:internal/blob","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12628,"count":1}],"isBlockCoverage":false},{"functionName":"lazyReadableStream","ranges":[{"startOffset":1851,"endOffset":2063,"count":0}],"isBlockCoverage":false},{"functionName":"isBlob","ranges":[{"startOffset":2113,"endOffset":2182,"count":0}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":2184,"endOffset":2863,"count":0}],"isBlockCoverage":false},{"functionName":"Blob","ranges":[{"startOffset":3115,"endOffset":4227,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4231,"endOffset":4501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4505,"endOffset":4957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4961,"endOffset":5087,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":5138,"endOffset":5243,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":5294,"endOffset":5401,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":5529,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBuffer","ranges":[{"startOffset":6364,"endOffset":7373,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":7421,"endOffset":7586,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":7633,"endOffset":10704,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob","ranges":[{"startOffset":10708,"endOffset":10803,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob.","ranges":[{"startOffset":10841,"endOffset":10849,"count":0}],"isBlockCoverage":false},{"functionName":"createBlob","ranges":[{"startOffset":10852,"endOffset":11055,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObjectURL","ranges":[{"startOffset":11408,"endOffset":12019,"count":0}],"isBlockCoverage":false},{"functionName":"createBlobFromFilePath","ranges":[{"startOffset":12142,"endOffset":12501,"count":0}],"isBlockCoverage":false}]},{"scriptId":"155","url":"node:internal/encoding","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17340,"count":1}],"isBlockCoverage":false},{"functionName":"validateEncoder","ranges":[{"startOffset":1250,"endOffset":1375,"count":0}],"isBlockCoverage":false},{"functionName":"validateDecoder","ranges":[{"startOffset":1377,"endOffset":1502,"count":58},{"startOffset":1458,"endOffset":1500,"count":0}],"isBlockCoverage":true},{"functionName":"trimAsciiWhitespace","ranges":[{"startOffset":8799,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingFromLabel","ranges":[{"startOffset":9299,"endOffset":9478,"count":3},{"startOffset":9410,"endOffset":9477,"count":0}],"isBlockCoverage":true},{"functionName":"TextEncoder","ranges":[{"startOffset":9502,"endOffset":9548,"count":1}],"isBlockCoverage":true},{"functionName":"get encoding","ranges":[{"startOffset":9552,"endOffset":9619,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":9623,"endOffset":9715,"count":0}],"isBlockCoverage":false},{"functionName":"encodeInto","ranges":[{"startOffset":9719,"endOffset":10125,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10129,"endOffset":10526,"count":0}],"isBlockCoverage":false},{"functionName":"makeTextDecoderICU","ranges":[{"startOffset":10898,"endOffset":12864,"count":1}],"isBlockCoverage":true},{"functionName":"TextDecoder","ranges":[{"startOffset":11036,"endOffset":11973,"count":3},{"startOffset":11346,"endOffset":11393,"count":0},{"startOffset":11477,"endOffset":11500,"count":2},{"startOffset":11501,"endOffset":11504,"count":1},{"startOffset":11541,"endOffset":11569,"count":2},{"startOffset":11570,"endOffset":11573,"count":1},{"startOffset":11924,"endOffset":11967,"count":0}],"isBlockCoverage":true},{"functionName":"#prepareConverter","ranges":[{"startOffset":11979,"endOffset":12244,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":12250,"endOffset":12835,"count":58},{"startOffset":12485,"endOffset":12834,"count":0}],"isBlockCoverage":true},{"functionName":"makeTextDecoderJS","ranges":[{"startOffset":12866,"endOffset":15701,"count":0}],"isBlockCoverage":false},{"functionName":"get encoding","ranges":[{"startOffset":15798,"endOffset":15873,"count":0}],"isBlockCoverage":false},{"functionName":"get fatal","ranges":[{"startOffset":15878,"endOffset":15999,"count":0}],"isBlockCoverage":false},{"functionName":"get ignoreBOM","ranges":[{"startOffset":16004,"endOffset":16153,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectGetOwnPropertyDescriptors","ranges":[{"startOffset":16158,"endOffset":16741,"count":0}],"isBlockCoverage":false}]},{"scriptId":"156","url":"node:internal/webstreams/queuingstrategies","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3851,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":931,"endOffset":958,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1038,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"getNonWritablePropertyDescriptor","ranges":[{"startOffset":1114,"endOffset":1200,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1238,"endOffset":2284,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2544,"endOffset":3561,"count":0}],"isBlockCoverage":false}]},{"scriptId":"157","url":"node:internal/webstreams/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7549,"count":1}],"isBlockCoverage":false},{"functionName":"extractHighWaterMark","ranges":[{"startOffset":1074,"endOffset":1367,"count":0}],"isBlockCoverage":false},{"functionName":"extractSizeAlgorithm","ranges":[{"startOffset":1369,"endOffset":1508,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":1510,"endOffset":1742,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetBuffer","ranges":[{"startOffset":1926,"endOffset":2034,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteLength","ranges":[{"startOffset":2036,"endOffset":2152,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteOffset","ranges":[{"startOffset":2154,"endOffset":2270,"count":0}],"isBlockCoverage":false},{"functionName":"cloneAsUint8Array","ranges":[{"startOffset":2272,"endOffset":2577,"count":0}],"isBlockCoverage":false},{"functionName":"isBrandCheck","ranges":[{"startOffset":2579,"endOffset":2743,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2619,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"transferArrayBuffer","ranges":[{"startOffset":2745,"endOffset":2968,"count":0}],"isBlockCoverage":false},{"functionName":"isViewedArrayBufferDetached","ranges":[{"startOffset":2970,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"dequeueValue","ranges":[{"startOffset":3140,"endOffset":3525,"count":0}],"isBlockCoverage":false},{"functionName":"resetQueue","ranges":[{"startOffset":3527,"endOffset":3745,"count":0}],"isBlockCoverage":false},{"functionName":"peekQueueValue","ranges":[{"startOffset":3747,"endOffset":3982,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueValueWithSize","ranges":[{"startOffset":3984,"endOffset":4449,"count":0}],"isBlockCoverage":false},{"functionName":"ensureIsPromise","ranges":[{"startOffset":4451,"endOffset":4690,"count":0}],"isBlockCoverage":false},{"functionName":"isPromisePending","ranges":[{"startOffset":4692,"endOffset":4855,"count":0}],"isBlockCoverage":false},{"functionName":"setPromiseHandled","ranges":[{"startOffset":4857,"endOffset":5136,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpFlush","ranges":[{"startOffset":5138,"endOffset":5168,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpStart","ranges":[{"startOffset":5170,"endOffset":5194,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpPull","ranges":[{"startOffset":5196,"endOffset":5225,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpCancel","ranges":[{"startOffset":5227,"endOffset":5258,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpWrite","ranges":[{"startOffset":5260,"endOffset":5290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyTransfer","ranges":[{"startOffset":5306,"endOffset":5438,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncFromSyncIterator","ranges":[{"startOffset":5440,"endOffset":5779,"count":0}],"isBlockCoverage":false},{"functionName":"getIterator","ranges":[{"startOffset":5781,"endOffset":6509,"count":0}],"isBlockCoverage":false},{"functionName":"iteratorNext","ranges":[{"startOffset":6511,"endOffset":6973,"count":0}],"isBlockCoverage":false}]},{"scriptId":"158","url":"node:internal/fs/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":26847,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFs","ranges":[{"startOffset":3551,"endOffset":3630,"count":0}],"isBlockCoverage":false},{"functionName":"assertEncoding","ranges":[{"startOffset":3632,"endOffset":3832,"count":929},{"startOffset":3683,"endOffset":3714,"count":377},{"startOffset":3716,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"Dirent","ranges":[{"startOffset":3851,"endOffset":3954,"count":0}],"isBlockCoverage":false},{"functionName":"isDirectory","ranges":[{"startOffset":3958,"endOffset":4019,"count":0}],"isBlockCoverage":false},{"functionName":"isFile","ranges":[{"startOffset":4023,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"isBlockDevice","ranges":[{"startOffset":4084,"endOffset":4149,"count":0}],"isBlockCoverage":false},{"functionName":"isCharacterDevice","ranges":[{"startOffset":4153,"endOffset":4221,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbolicLink","ranges":[{"startOffset":4225,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"isFIFO","ranges":[{"startOffset":4294,"endOffset":4351,"count":0}],"isBlockCoverage":false},{"functionName":"isSocket","ranges":[{"startOffset":4355,"endOffset":4416,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats","ranges":[{"startOffset":4461,"endOffset":4552,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats.","ranges":[{"startOffset":4697,"endOffset":4746,"count":0}],"isBlockCoverage":false},{"functionName":"copyObject","ranges":[{"startOffset":4751,"endOffset":4879,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":4929,"endOffset":5536,"count":0}],"isBlockCoverage":false},{"functionName":"getDirents","ranges":[{"startOffset":5538,"endOffset":6653,"count":0}],"isBlockCoverage":false},{"functionName":"getDirent","ranges":[{"startOffset":6655,"endOffset":7436,"count":0}],"isBlockCoverage":false},{"functionName":"getOptions","ranges":[{"startOffset":7438,"endOffset":8064,"count":989},{"startOffset":7522,"endOffset":7554,"count":929},{"startOffset":7556,"endOffset":7588,"count":60},{"startOffset":7588,"endOffset":7625,"count":929},{"startOffset":7625,"endOffset":7743,"count":377},{"startOffset":7743,"endOffset":7865,"count":552},{"startOffset":7782,"endOffset":7865,"count":0},{"startOffset":7865,"endOffset":7979,"count":929},{"startOffset":7979,"endOffset":8043,"count":0},{"startOffset":8043,"endOffset":8063,"count":929}],"isBlockCoverage":true},{"functionName":"handleErrorFromBinding","ranges":[{"startOffset":8122,"endOffset":8651,"count":637},{"startOffset":8192,"endOffset":8327,"count":0},{"startOffset":8359,"endOffset":8649,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8792,"endOffset":9388,"count":989},{"startOffset":9022,"endOffset":9042,"count":0},{"startOffset":9112,"endOffset":9180,"count":0},{"startOffset":9199,"endOffset":9387,"count":0}],"isBlockCoverage":true},{"functionName":"preprocessSymlinkDestination","ranges":[{"startOffset":9392,"endOffset":10098,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase","ranges":[{"startOffset":10131,"endOffset":10438,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isDirectory","ranges":[{"startOffset":10474,"endOffset":10531,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFile","ranges":[{"startOffset":10563,"endOffset":10620,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isBlockDevice","ranges":[{"startOffset":10659,"endOffset":10716,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isCharacterDevice","ranges":[{"startOffset":10759,"endOffset":10816,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSymbolicLink","ranges":[{"startOffset":10856,"endOffset":10913,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFIFO","ranges":[{"startOffset":10945,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSocket","ranges":[{"startOffset":11036,"endOffset":11094,"count":0}],"isBlockCoverage":false},{"functionName":"msFromTimeSpec","ranges":[{"startOffset":11219,"endOffset":11301,"count":0}],"isBlockCoverage":false},{"functionName":"nsFromTimeSpecBigInt","ranges":[{"startOffset":11303,"endOffset":11386,"count":0}],"isBlockCoverage":false},{"functionName":"dateFromMs","ranges":[{"startOffset":11788,"endOffset":11899,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats","ranges":[{"startOffset":11901,"endOffset":12664,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats._checkModeProperty","ranges":[{"startOffset":12822,"endOffset":13068,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":13071,"endOffset":13613,"count":0}],"isBlockCoverage":false},{"functionName":"Stats._checkModeProperty","ranges":[{"startOffset":13954,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"getStatsFromBinding","ranges":[{"startOffset":14302,"endOffset":15381,"count":0}],"isBlockCoverage":false},{"functionName":"StatFs","ranges":[{"startOffset":15400,"endOffset":15637,"count":0}],"isBlockCoverage":false},{"functionName":"getStatFsFromBinding","ranges":[{"startOffset":15641,"endOffset":15781,"count":0}],"isBlockCoverage":false},{"functionName":"stringToFlags","ranges":[{"startOffset":15783,"endOffset":17039,"count":437},{"startOffset":15864,"endOffset":15919,"count":0},{"startOffset":15942,"endOffset":15968,"count":0},{"startOffset":16025,"endOffset":16036,"count":0},{"startOffset":16058,"endOffset":16095,"count":0},{"startOffset":16100,"endOffset":16126,"count":0},{"startOffset":16131,"endOffset":16143,"count":0},{"startOffset":16165,"endOffset":16201,"count":0},{"startOffset":16207,"endOffset":16254,"count":0},{"startOffset":16259,"endOffset":16270,"count":0},{"startOffset":16292,"endOffset":16349,"count":0},{"startOffset":16355,"endOffset":16401,"count":0},{"startOffset":16406,"endOffset":16417,"count":0},{"startOffset":16439,"endOffset":16494,"count":0},{"startOffset":16500,"endOffset":16548,"count":0},{"startOffset":16553,"endOffset":16564,"count":0},{"startOffset":16586,"endOffset":16644,"count":0},{"startOffset":16649,"endOffset":16660,"count":0},{"startOffset":16682,"endOffset":16740,"count":0},{"startOffset":16746,"endOffset":16793,"count":0},{"startOffset":16798,"endOffset":16809,"count":0},{"startOffset":16831,"endOffset":16887,"count":0},{"startOffset":16892,"endOffset":16903,"count":0},{"startOffset":16925,"endOffset":16981,"count":0},{"startOffset":16985,"endOffset":17038,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":17085,"endOffset":17445,"count":0}],"isBlockCoverage":false},{"functionName":"toUnixTimestamp","ranges":[{"startOffset":17507,"endOffset":17962,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18016,"endOffset":18395,"count":1},{"startOffset":18072,"endOffset":18139,"count":0},{"startOffset":18160,"endOffset":18227,"count":0},{"startOffset":18268,"endOffset":18391,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18454,"endOffset":18858,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18901,"endOffset":19171,"count":989},{"startOffset":18963,"endOffset":18985,"count":0},{"startOffset":18987,"endOffset":19073,"count":0},{"startOffset":19149,"endOffset":19169,"count":0}],"isBlockCoverage":true},{"functionName":"possiblyTransformPath","ranges":[{"startOffset":19542,"endOffset":19853,"count":437},{"startOffset":19611,"endOffset":19836,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":19896,"endOffset":20054,"count":437}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20097,"endOffset":20218,"count":2},{"startOffset":20148,"endOffset":20167,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20266,"endOffset":20597,"count":0}],"isBlockCoverage":false},{"functionName":"warnOnNonPortableTemplate","ranges":[{"startOffset":20638,"endOffset":21238,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21663,"endOffset":22550,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22596,"endOffset":23275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23325,"endOffset":23942,"count":0}],"isBlockCoverage":false},{"functionName":"emitRecursiveRmdirWarning","ranges":[{"startOffset":23996,"endOffset":24330,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24380,"endOffset":24777,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24818,"endOffset":25186,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25249,"endOffset":25433,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25478,"endOffset":25948,"count":1},{"startOffset":25578,"endOffset":25946,"count":0}],"isBlockCoverage":true}]},{"scriptId":"159","url":"node:internal/fs/sync","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2257,"count":1}],"isBlockCoverage":false},{"functionName":"readFileUtf8","ranges":[{"startOffset":395,"endOffset":582,"count":377}],"isBlockCoverage":true},{"functionName":"exists","ranges":[{"startOffset":584,"endOffset":751,"count":0}],"isBlockCoverage":false},{"functionName":"access","ranges":[{"startOffset":753,"endOffset":920,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":922,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":1184,"endOffset":1509,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":1511,"endOffset":1723,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":1725,"endOffset":1932,"count":2}],"isBlockCoverage":true},{"functionName":"close","ranges":[{"startOffset":1934,"endOffset":2016,"count":1}],"isBlockCoverage":true},{"functionName":"unlink","ranges":[{"startOffset":2018,"endOffset":2140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"160","url":"node:internal/dns/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9584,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBinding","ranges":[{"startOffset":506,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":957,"endOffset":1104,"count":0}],"isBlockCoverage":false},{"functionName":"validateTries","ranges":[{"startOffset":1106,"endOffset":1241,"count":0}],"isBlockCoverage":false},{"functionName":"ResolverBase","ranges":[{"startOffset":1635,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1988,"endOffset":2124,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":2128,"endOffset":2169,"count":0}],"isBlockCoverage":false},{"functionName":"getServers","ranges":[{"startOffset":2173,"endOffset":2441,"count":0}],"isBlockCoverage":false},{"functionName":"setServers","ranges":[{"startOffset":2445,"endOffset":3846,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3850,"endOffset":4405,"count":0}],"isBlockCoverage":false},{"functionName":"setLocalAddress","ranges":[{"startOffset":4410,"endOffset":4695,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4815,"endOffset":5035,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5039,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"initializeDns","ranges":[{"startOffset":5427,"endOffset":5813,"count":1},{"startOffset":5570,"endOffset":5680,"count":0},{"startOffset":5728,"endOffset":5812,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5753,"endOffset":5809,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResolver","ranges":[{"startOffset":6074,"endOffset":6355,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResolver","ranges":[{"startOffset":6357,"endOffset":6428,"count":0}],"isBlockCoverage":false},{"functionName":"bindDefaultResolver","ranges":[{"startOffset":6430,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"validateHints","ranges":[{"startOffset":6654,"endOffset":6873,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidHostnameWarning","ranges":[{"startOffset":6918,"endOffset":7272,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultVerbatim","ranges":[{"startOffset":7274,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResultOrder","ranges":[{"startOffset":7344,"endOffset":7468,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResultOrder","ranges":[{"startOffset":7470,"endOffset":7525,"count":0}],"isBlockCoverage":false},{"functionName":"createResolverClass","ranges":[{"startOffset":7527,"endOffset":8635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"161","url":"node:internal/net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2248,"count":1}],"isBlockCoverage":false},{"functionName":"isIPv4","ranges":[{"startOffset":1023,"endOffset":1296,"count":0}],"isBlockCoverage":false},{"functionName":"isIPv6","ranges":[{"startOffset":1298,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"isIP","ranges":[{"startOffset":1573,"endOffset":1659,"count":0}],"isBlockCoverage":false},{"functionName":"makeSyncWrite","ranges":[{"startOffset":1661,"endOffset":2075,"count":0}],"isBlockCoverage":false}]},{"scriptId":"162","url":"node:worker_threads","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":687,"count":1}],"isBlockCoverage":false}]},{"scriptId":"163","url":"node:internal/worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16395,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2471,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"process.chdir","ranges":[{"startOffset":2984,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"setEnvironmentData","ranges":[{"startOffset":3069,"endOffset":3216,"count":0}],"isBlockCoverage":false},{"functionName":"getEnvironmentData","ranges":[{"startOffset":3218,"endOffset":3289,"count":0}],"isBlockCoverage":false},{"functionName":"assignEnvironmentData","ranges":[{"startOffset":3291,"endOffset":3441,"count":1},{"startOffset":3356,"endOffset":3363,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3379,"endOffset":3437,"count":0}],"isBlockCoverage":false},{"functionName":"Worker","ranges":[{"startOffset":3481,"endOffset":9221,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9225,"endOffset":9857,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9861,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9961,"endOffset":10130,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10134,"endOffset":11027,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11031,"endOffset":11499,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":11503,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"terminate","ranges":[{"startOffset":11652,"endOffset":12486,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":12490,"endOffset":12596,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":12600,"endOffset":12712,"count":0}],"isBlockCoverage":false},{"functionName":"get threadId","ranges":[{"startOffset":12716,"endOffset":12815,"count":0}],"isBlockCoverage":false},{"functionName":"get stdin","ranges":[{"startOffset":12819,"endOffset":12877,"count":0}],"isBlockCoverage":false},{"functionName":"get stdout","ranges":[{"startOffset":12881,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"get stderr","ranges":[{"startOffset":12945,"endOffset":13005,"count":0}],"isBlockCoverage":false},{"functionName":"get resourceLimits","ranges":[{"startOffset":13009,"endOffset":13145,"count":0}],"isBlockCoverage":false},{"functionName":"getHeapSnapshot","ranges":[{"startOffset":13149,"endOffset":13656,"count":0}],"isBlockCoverage":false},{"functionName":"InternalWorker","ranges":[{"startOffset":13849,"endOffset":13928,"count":0}],"isBlockCoverage":false},{"functionName":"receiveMessageSync","ranges":[{"startOffset":13932,"endOffset":14010,"count":0}],"isBlockCoverage":false},{"functionName":"pipeWithoutWarning","ranges":[{"startOffset":14014,"endOffset":14336,"count":0}],"isBlockCoverage":false},{"functionName":"parseResourceLimits","ranges":[{"startOffset":14410,"endOffset":15024,"count":0}],"isBlockCoverage":false},{"functionName":"makeResourceLimits","ranges":[{"startOffset":15026,"endOffset":15313,"count":1}],"isBlockCoverage":true},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":15315,"endOffset":16118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"164","url":"node:internal/perf/event_loop_utilization","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":false},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":153,"endOffset":446,"count":0}],"isBlockCoverage":false},{"functionName":"internalEventLoopUtilization","ranges":[{"startOffset":448,"endOffset":1447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"165","url":"node:internal/error_serdes","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5723,"count":1}],"isBlockCoverage":false},{"functionName":"TryGetAllProperties","ranges":[{"startOffset":1039,"endOffset":2143,"count":0}],"isBlockCoverage":false},{"functionName":"GetConstructors","ranges":[{"startOffset":2145,"endOffset":2588,"count":0}],"isBlockCoverage":false},{"functionName":"GetName","ranges":[{"startOffset":2590,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":2737,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":2924,"endOffset":4219,"count":0}],"isBlockCoverage":false},{"functionName":"fromBuffer","ranges":[{"startOffset":4221,"endOffset":4442,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeError","ranges":[{"startOffset":4461,"endOffset":5666,"count":0}],"isBlockCoverage":false}]},{"scriptId":"166","url":"node:diagnostics_channel","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9791,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":734,"endOffset":1143,"count":1}],"isBlockCoverage":false},{"functionName":"#finalizers","ranges":[{"startOffset":814,"endOffset":850,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":856,"endOffset":973,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":977,"endOffset":1025,"count":5},{"startOffset":1013,"endOffset":1018,"count":0}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":1029,"endOffset":1083,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":1087,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"markActive","ranges":[{"startOffset":1145,"endOffset":1350,"count":0}],"isBlockCoverage":false},{"functionName":"maybeMarkInactive","ranges":[{"startOffset":1352,"endOffset":1720,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTransform","ranges":[{"startOffset":1722,"endOffset":1772,"count":0}],"isBlockCoverage":false},{"functionName":"wrapStoreRun","ranges":[{"startOffset":1774,"endOffset":2102,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":2184,"endOffset":2354,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":2358,"endOffset":2635,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":2639,"endOffset":2807,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":2811,"endOffset":3010,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":3014,"endOffset":3057,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":3061,"endOffset":3370,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":3374,"endOffset":3713,"count":0}],"isBlockCoverage":false},{"functionName":"Channel","ranges":[{"startOffset":3735,"endOffset":3876,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3887,"endOffset":4072,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":4076,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4165,"endOffset":4202,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":4206,"endOffset":4299,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":4303,"endOffset":4340,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":4344,"endOffset":4388,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":4392,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":4408,"endOffset":4495,"count":0}],"isBlockCoverage":false},{"functionName":"channel","ranges":[{"startOffset":4535,"endOffset":4801,"count":5},{"startOffset":4613,"endOffset":4628,"count":0},{"startOffset":4661,"endOffset":4688,"count":0},{"startOffset":4690,"endOffset":4770,"count":0}],"isBlockCoverage":true},{"functionName":"subscribe","ranges":[{"startOffset":4803,"endOffset":4893,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4895,"endOffset":4989,"count":0}],"isBlockCoverage":false},{"functionName":"hasSubscribers","ranges":[{"startOffset":4991,"endOffset":5126,"count":0}],"isBlockCoverage":false},{"functionName":"assertChannel","ranges":[{"startOffset":5215,"endOffset":5357,"count":0}],"isBlockCoverage":false},{"functionName":"TracingChannel","ranges":[{"startOffset":5384,"endOffset":6531,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":6535,"endOffset":6687,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":6691,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"traceSync","ranges":[{"startOffset":6928,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"tracePromise","ranges":[{"startOffset":7358,"endOffset":8459,"count":0}],"isBlockCoverage":false},{"functionName":"traceCallback","ranges":[{"startOffset":8463,"endOffset":9589,"count":0}],"isBlockCoverage":false},{"functionName":"tracingChannel","ranges":[{"startOffset":9593,"endOffset":9681,"count":0}],"isBlockCoverage":false}]},{"scriptId":"167","url":"node:internal/modules/cjs/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":45478,"count":1}],"isBlockCoverage":false},{"functionName":"get hasLoadedAnyUserCJSModule","ranges":[{"startOffset":2238,"endOffset":2307,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3478,"endOffset":3569,"count":1},{"startOffset":3525,"endOffset":3561,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3618,"endOffset":3661,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3702,"endOffset":3756,"count":1}],"isBlockCoverage":true},{"functionName":"internalRequire","ranges":[{"startOffset":4610,"endOffset":4935,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4937,"endOffset":5347,"count":1538},{"startOffset":5035,"endOffset":5129,"count":1499},{"startOffset":5111,"endOffset":5125,"count":406},{"startOffset":5129,"endOffset":5202,"count":1132},{"startOffset":5202,"endOffset":5216,"count":1093},{"startOffset":5218,"endOffset":5328,"count":434},{"startOffset":5328,"endOffset":5346,"count":1132}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":5428,"endOffset":5451,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":5455,"endOffset":5550,"count":0}],"isBlockCoverage":false},{"functionName":"updateChildren","ranges":[{"startOffset":5579,"endOffset":5775,"count":790},{"startOffset":5651,"endOffset":5661,"count":740},{"startOffset":5678,"endOffset":5731,"count":740},{"startOffset":5688,"endOffset":5730,"count":392},{"startOffset":5737,"endOffset":5773,"count":740}],"isBlockCoverage":true},{"functionName":"reportModuleToWatchMode","ranges":[{"startOffset":5777,"endOffset":5933,"count":1185},{"startOffset":5858,"endOffset":5873,"count":0},{"startOffset":5875,"endOffset":5931,"count":0}],"isBlockCoverage":true},{"functionName":"reportModuleNotFoundToWatchMode","ranges":[{"startOffset":5935,"endOffset":6174,"count":17},{"startOffset":6036,"endOffset":6051,"count":0},{"startOffset":6053,"endOffset":6172,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6121,"endOffset":6163,"count":0}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":6221,"endOffset":6978,"count":375},{"startOffset":6534,"endOffset":6544,"count":0},{"startOffset":6562,"endOffset":6926,"count":0}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":7220,"endOffset":7297,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7463,"endOffset":7585,"count":0}],"isBlockCoverage":false},{"functionName":"defineProperty","ranges":[{"startOffset":7590,"endOffset":7723,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7790,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7823,"endOffset":7877,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7947,"endOffset":7983,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7988,"endOffset":8050,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8084,"endOffset":8114,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleParent","ranges":[{"startOffset":8274,"endOffset":8342,"count":0}],"isBlockCoverage":false},{"functionName":"setModuleParent","ranges":[{"startOffset":8344,"endOffset":8417,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8484,"endOffset":8509,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCJS","ranges":[{"startOffset":9188,"endOffset":9688,"count":1}],"isBlockCoverage":true},{"functionName":"readPackage","ranges":[{"startOffset":9982,"endOffset":10095,"count":1711}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":10197,"endOffset":10227,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10231,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"readPackageScope","ranges":[{"startOffset":10383,"endOffset":11176,"count":881},{"startOffset":10570,"endOffset":11113,"count":1591},{"startOffset":10819,"endOffset":10865,"count":0},{"startOffset":10867,"endOffset":10894,"count":0},{"startOffset":10967,"endOffset":10980,"count":0},{"startOffset":11052,"endOffset":11109,"count":881},{"startOffset":11113,"endOffset":11175,"count":0}],"isBlockCoverage":true},{"functionName":"tryPackage","ranges":[{"startOffset":11178,"endOffset":12457,"count":52},{"startOffset":11300,"endOffset":11381,"count":18},{"startOffset":11381,"endOffset":11475,"count":34},{"startOffset":11475,"endOffset":11519,"count":0},{"startOffset":11520,"endOffset":11587,"count":0},{"startOffset":11613,"endOffset":12438,"count":0},{"startOffset":12438,"endOffset":12456,"count":34}],"isBlockCoverage":true},{"functionName":"tryFile","ranges":[{"startOffset":12802,"endOffset":13034,"count":608},{"startOffset":12891,"endOffset":12898,"count":207},{"startOffset":12898,"endOffset":12943,"count":401},{"startOffset":12943,"endOffset":12953,"count":0},{"startOffset":12955,"endOffset":12998,"count":0},{"startOffset":12998,"endOffset":13033,"count":401}],"isBlockCoverage":true},{"functionName":"toRealPath","ranges":[{"startOffset":13036,"endOffset":13168,"count":445}],"isBlockCoverage":true},{"functionName":"tryExtensions","ranges":[{"startOffset":13243,"endOffset":13449,"count":434},{"startOffset":13325,"endOffset":13431,"count":572},{"startOffset":13397,"endOffset":13427,"count":365},{"startOffset":13431,"endOffset":13448,"count":69}],"isBlockCoverage":true},{"functionName":"findLongestRegisteredExtension","ranges":[{"startOffset":13538,"endOffset":14006,"count":373},{"startOffset":13813,"endOffset":13822,"count":0},{"startOffset":13960,"endOffset":13984,"count":362},{"startOffset":13988,"endOffset":14005,"count":11}],"isBlockCoverage":true},{"functionName":"trySelfParentPath","ranges":[{"startOffset":14008,"endOffset":14297,"count":544},{"startOffset":14060,"endOffset":14073,"count":23},{"startOffset":14073,"endOffset":14131,"count":521},{"startOffset":14131,"endOffset":14295,"count":0}],"isBlockCoverage":true},{"functionName":"trySelf","ranges":[{"startOffset":14299,"endOffset":15197,"count":544},{"startOffset":14358,"endOffset":14371,"count":23},{"startOffset":14371,"endOffset":14475,"count":521},{"startOffset":14476,"endOffset":14501,"count":11},{"startOffset":14503,"endOffset":14526,"count":510},{"startOffset":14526,"endOffset":14573,"count":11},{"startOffset":14573,"endOffset":14599,"count":0},{"startOffset":14599,"endOffset":14765,"count":11},{"startOffset":14661,"endOffset":14736,"count":0},{"startOffset":14765,"endOffset":15195,"count":0}],"isBlockCoverage":true},{"functionName":"resolveExports","ranges":[{"startOffset":15358,"endOffset":16166,"count":436},{"startOffset":15565,"endOffset":15580,"count":368},{"startOffset":15599,"endOffset":15606,"count":368},{"startOffset":15606,"endOffset":15707,"count":68},{"startOffset":15707,"endOffset":15729,"count":51},{"startOffset":15731,"endOffset":16164,"count":2},{"startOffset":16011,"endOffset":16160,"count":0}],"isBlockCoverage":true},{"functionName":"Module._findPath","ranges":[{"startOffset":16434,"endOffset":20492,"count":545},{"startOffset":16544,"endOffset":16567,"count":25},{"startOffset":16567,"endOffset":16630,"count":520},{"startOffset":16607,"endOffset":16630,"count":0},{"startOffset":16767,"endOffset":16780,"count":101},{"startOffset":16780,"endOffset":17363,"count":444},{"startOffset":17002,"endOffset":17356,"count":0},{"startOffset":17438,"endOffset":17894,"count":368},{"startOffset":17544,"endOffset":17629,"count":58},{"startOffset":17564,"endOffset":17628,"count":0},{"startOffset":17630,"endOffset":17888,"count":58},{"startOffset":17799,"endOffset":17886,"count":0},{"startOffset":17939,"endOffset":18093,"count":368},{"startOffset":18056,"endOffset":18089,"count":58},{"startOffset":18093,"endOffset":18155,"count":444},{"startOffset":18155,"endOffset":20473,"count":554},{"startOffset":18296,"endOffset":18306,"count":496},{"startOffset":18307,"endOffset":18403,"count":471},{"startOffset":18341,"endOffset":18379,"count":0},{"startOffset":18410,"endOffset":18433,"count":93},{"startOffset":18433,"endOffset":18461,"count":461},{"startOffset":18461,"endOffset":18591,"count":436},{"startOffset":18562,"endOffset":18585,"count":2},{"startOffset":18591,"endOffset":19950,"count":459},{"startOffset":18743,"endOffset":19727,"count":43},{"startOffset":18776,"endOffset":18965,"count":42},{"startOffset":18831,"endOffset":18891,"count":0},{"startOffset":18965,"endOffset":19719,"count":1},{"startOffset":19019,"endOffset":19659,"count":0},{"startOffset":19750,"endOffset":19944,"count":416},{"startOffset":19840,"endOffset":19878,"count":399},{"startOffset":19950,"endOffset":19970,"count":459},{"startOffset":19970,"endOffset":19981,"count":69},{"startOffset":19983,"endOffset":20199,"count":52},{"startOffset":20093,"endOffset":20131,"count":0},{"startOffset":20199,"endOffset":20219,"count":459},{"startOffset":20219,"endOffset":20295,"count":442},{"startOffset":20295,"endOffset":20473,"count":17},{"startOffset":20473,"endOffset":20491,"count":0}],"isBlockCoverage":true},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":20736,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":22345,"endOffset":23485,"count":401},{"startOffset":22623,"endOffset":22648,"count":0},{"startOffset":22941,"endOffset":23363,"count":25373},{"startOffset":23037,"endOffset":23233,"count":2728},{"startOffset":23074,"endOffset":23192,"count":2326},{"startOffset":23233,"endOffset":23357,"count":22645},{"startOffset":23253,"endOffset":23357,"count":7726},{"startOffset":23288,"endOffset":23314,"count":5400},{"startOffset":23314,"endOffset":23349,"count":2326}],"isBlockCoverage":true},{"functionName":"Module._resolveLookupPaths","ranges":[{"startOffset":23519,"endOffset":24778,"count":544},{"startOffset":23599,"endOffset":23665,"count":0},{"startOffset":23750,"endOffset":23949,"count":467},{"startOffset":23830,"endOffset":23880,"count":337},{"startOffset":23881,"endOffset":23948,"count":0},{"startOffset":23951,"endOffset":24250,"count":77},{"startOffset":23983,"endOffset":23998,"count":54},{"startOffset":24000,"endOffset":24110,"count":54},{"startOffset":24110,"endOffset":24150,"count":23},{"startOffset":24239,"endOffset":24245,"count":0},{"startOffset":24250,"endOffset":24318,"count":467},{"startOffset":24319,"endOffset":24338,"count":467},{"startOffset":24340,"endOffset":24589,"count":0},{"startOffset":24589,"endOffset":24777,"count":467}],"isBlockCoverage":true},{"functionName":"emitCircularRequireWarning","ranges":[{"startOffset":24781,"endOffset":24965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25178,"endOffset":25550,"count":0}],"isBlockCoverage":false},{"functionName":"getOwnPropertyDescriptor","ranges":[{"startOffset":25555,"endOffset":25796,"count":0}],"isBlockCoverage":false},{"functionName":"getExportsForCircularRequire","ranges":[{"startOffset":25803,"endOffset":26447,"count":2},{"startOffset":25972,"endOffset":26265,"count":1},{"startOffset":26267,"endOffset":26419,"count":1}],"isBlockCoverage":true},{"functionName":"Module._load","ranges":[{"startOffset":26860,"endOffset":29991,"count":835},{"startOffset":26943,"endOffset":27759,"count":812},{"startOffset":27402,"endOffset":27755,"count":220},{"startOffset":27592,"endOffset":27642,"count":0},{"startOffset":27687,"endOffset":27755,"count":0},{"startOffset":27759,"endOffset":27812,"count":615},{"startOffset":27812,"endOffset":28084,"count":12},{"startOffset":27941,"endOffset":28001,"count":0},{"startOffset":28084,"endOffset":28237,"count":603},{"startOffset":28237,"endOffset":28597,"count":195},{"startOffset":28317,"endOffset":28545,"count":27},{"startOffset":28413,"endOffset":28440,"count":25},{"startOffset":28450,"endOffset":28500,"count":2},{"startOffset":28500,"endOffset":28545,"count":25},{"startOffset":28545,"endOffset":28593,"count":168},{"startOffset":28597,"endOffset":28657,"count":433},{"startOffset":28657,"endOffset":28740,"count":60},{"startOffset":28740,"endOffset":28839,"count":373},{"startOffset":28839,"endOffset":28870,"count":348},{"startOffset":28887,"endOffset":29028,"count":0},{"startOffset":29028,"endOffset":29132,"count":373},{"startOffset":29132,"endOffset":29201,"count":350},{"startOffset":29201,"endOffset":29963,"count":373},{"startOffset":29306,"endOffset":29709,"count":0},{"startOffset":29734,"endOffset":29776,"count":372},{"startOffset":29777,"endOffset":29889,"count":372},{"startOffset":29891,"endOffset":29959,"count":1},{"startOffset":29963,"endOffset":29990,"count":373}],"isBlockCoverage":true},{"functionName":"Module._resolveFilename","ranges":[{"startOffset":30020,"endOffset":33106,"count":604},{"startOffset":30117,"endOffset":30142,"count":60},{"startOffset":30142,"endOffset":30192,"count":544},{"startOffset":30192,"endOffset":30211,"count":0},{"startOffset":30213,"endOffset":31290,"count":0},{"startOffset":31290,"endOffset":31385,"count":544},{"startOffset":31385,"endOffset":31433,"count":0},{"startOffset":31435,"endOffset":32047,"count":0},{"startOffset":32047,"endOffset":32208,"count":544},{"startOffset":32208,"endOffset":32404,"count":0},{"startOffset":32404,"endOffset":32560,"count":544},{"startOffset":32560,"endOffset":33105,"count":0}],"isBlockCoverage":true},{"functionName":"finalizeEsmResolution","ranges":[{"startOffset":33109,"endOffset":33678,"count":2},{"startOffset":33311,"endOffset":33430,"count":0},{"startOffset":33543,"endOffset":33677,"count":0}],"isBlockCoverage":true},{"functionName":"createEsmNotFoundErr","ranges":[{"startOffset":33680,"endOffset":33970,"count":0}],"isBlockCoverage":false},{"functionName":"Module.load","ranges":[{"startOffset":34059,"endOffset":34896,"count":373},{"startOffset":34394,"endOffset":34424,"count":0},{"startOffset":34430,"endOffset":34472,"count":0},{"startOffset":34752,"endOffset":34800,"count":0}],"isBlockCoverage":true},{"functionName":"Module.require","ranges":[{"startOffset":35095,"endOffset":35394,"count":812},{"startOffset":35155,"endOffset":35273,"count":0}],"isBlockCoverage":true},{"functionName":"wrapSafe","ranges":[{"startOffset":35584,"endOffset":37521,"count":370},{"startOffset":35668,"endOffset":36404,"count":0},{"startOffset":36944,"endOffset":36990,"count":0},{"startOffset":36991,"endOffset":37032,"count":0},{"startOffset":37034,"endOffset":37097,"count":0},{"startOffset":37183,"endOffset":37281,"count":4},{"startOffset":37315,"endOffset":37519,"count":0}],"isBlockCoverage":true},{"functionName":"importModuleDynamically","ranges":[{"startOffset":35895,"endOffset":36134,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":36617,"endOffset":36870,"count":2}],"isBlockCoverage":true},{"functionName":"Module._compile","ranges":[{"startOffset":37721,"endOffset":39539,"count":370},{"startOffset":37812,"endOffset":37822,"count":0},{"startOffset":37840,"endOffset":37993,"count":0},{"startOffset":38126,"endOffset":38150,"count":0},{"startOffset":38152,"endOffset":38888,"count":0},{"startOffset":39111,"endOffset":39137,"count":23},{"startOffset":39162,"endOffset":39301,"count":0},{"startOffset":39503,"endOffset":39520,"count":23}],"isBlockCoverage":true},{"functionName":"Module._extensions..js","ranges":[{"startOffset":39598,"endOffset":41380,"count":370},{"startOffset":39759,"endOffset":39767,"count":25},{"startOffset":39769,"endOffset":39834,"count":25},{"startOffset":39834,"endOffset":39894,"count":345},{"startOffset":39943,"endOffset":41340,"count":359},{"startOffset":39988,"endOffset":40010,"count":0},{"startOffset":40106,"endOffset":41336,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..json","ranges":[{"startOffset":41444,"endOffset":41850,"count":3},{"startOffset":41554,"endOffset":41564,"count":0},{"startOffset":41582,"endOffset":41684,"count":0},{"startOffset":41767,"endOffset":41848,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..node","ranges":[{"startOffset":41914,"endOffset":42256,"count":0}],"isBlockCoverage":false},{"functionName":"createRequireFromPath","ranges":[{"startOffset":42259,"endOffset":42720,"count":2},{"startOffset":42439,"endOffset":42481,"count":0},{"startOffset":42519,"endOffset":42555,"count":0}],"isBlockCoverage":true},{"functionName":"createRequire","ranges":[{"startOffset":42828,"endOffset":43373,"count":2},{"startOffset":43033,"endOffset":43165,"count":0},{"startOffset":43169,"endOffset":43329,"count":0}],"isBlockCoverage":true},{"functionName":"Module._initPaths","ranges":[{"startOffset":43434,"endOffset":44399,"count":1},{"startOffset":43475,"endOffset":43500,"count":0},{"startOffset":43552,"endOffset":43575,"count":0},{"startOffset":43783,"endOffset":43825,"count":0},{"startOffset":44124,"endOffset":44266,"count":0}],"isBlockCoverage":true},{"functionName":"Module._preloadModules","ranges":[{"startOffset":44427,"endOffset":45018,"count":0}],"isBlockCoverage":false},{"functionName":"syncBuiltinESMExports","ranges":[{"startOffset":45052,"endOffset":45233,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":45318,"endOffset":45376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"168","url":"node:internal/vm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2921,"count":1}],"isBlockCoverage":false},{"functionName":"isContext","ranges":[{"startOffset":419,"endOffset":554,"count":0}],"isBlockCoverage":false},{"functionName":"internalCompileFunction","ranges":[{"startOffset":556,"endOffset":2857,"count":370},{"startOffset":1151,"endOffset":1200,"count":0},{"startOffset":1304,"endOffset":1566,"count":0},{"startOffset":2045,"endOffset":2118,"count":0},{"startOffset":2145,"endOffset":2202,"count":0},{"startOffset":2258,"endOffset":2331,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1675,"endOffset":1824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"169","url":"node:internal/modules/helpers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7741,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":923,"endOffset":948,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCjsConditions","ranges":[{"startOffset":971,"endOffset":1363,"count":1},{"startOffset":1150,"endOffset":1154,"count":0}],"isBlockCoverage":true},{"functionName":"getCjsConditions","ranges":[{"startOffset":1365,"endOffset":1492,"count":2},{"startOffset":1430,"endOffset":1466,"count":0}],"isBlockCoverage":true},{"functionName":"loadBuiltinModule","ranges":[{"startOffset":1494,"endOffset":1823,"count":86},{"startOffset":1595,"endOffset":1612,"count":0}],"isBlockCoverage":true},{"functionName":"lazyModule","ranges":[{"startOffset":1845,"endOffset":1958,"count":372},{"startOffset":1889,"endOffset":1937,"count":1}],"isBlockCoverage":true},{"functionName":"makeRequireFunction","ranges":[{"startOffset":2207,"endOffset":4418,"count":372},{"startOffset":2346,"endOffset":2409,"count":0},{"startOffset":2443,"endOffset":3714,"count":0}],"isBlockCoverage":true},{"functionName":"require","ranges":[{"startOffset":2586,"endOffset":3709,"count":0}],"isBlockCoverage":false},{"functionName":"require","ranges":[{"startOffset":3736,"endOffset":3876,"count":811}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":3885,"endOffset":4031,"count":0}],"isBlockCoverage":false},{"functionName":"paths","ranges":[{"startOffset":4065,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"stripBOM","ranges":[{"startOffset":4603,"endOffset":4758,"count":3},{"startOffset":4685,"endOffset":4738,"count":0}],"isBlockCoverage":true},{"functionName":"addBuiltinLibsToObject","ranges":[{"startOffset":4760,"endOffset":6720,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeReferrerURL","ranges":[{"startOffset":6788,"endOffset":6976,"count":64},{"startOffset":6895,"endOffset":6941,"count":6},{"startOffset":6941,"endOffset":6975,"count":58}],"isBlockCoverage":true},{"functionName":"hasEsmSyntax","ranges":[{"startOffset":7046,"endOffset":7548,"count":0}],"isBlockCoverage":false}]},{"scriptId":"170","url":"node:internal/modules/package_json_reader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3711,"count":1}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":932,"endOffset":3682,"count":2040},{"startOffset":1028,"endOffset":1065,"count":1887},{"startOffset":1065,"endOffset":1742,"count":153},{"startOffset":1742,"endOffset":1751,"count":0},{"startOffset":1752,"endOffset":1766,"count":0},{"startOffset":1767,"endOffset":1789,"count":153},{"startOffset":1813,"endOffset":3632,"count":85},{"startOffset":1881,"endOffset":2477,"count":0},{"startOffset":2635,"endOffset":2669,"count":84},{"startOffset":2671,"endOffset":2711,"count":84},{"startOffset":2767,"endOffset":2801,"count":43},{"startOffset":2803,"endOffset":2843,"count":43},{"startOffset":2903,"endOffset":2949,"count":27},{"startOffset":3009,"endOffset":3055,"count":1},{"startOffset":3166,"endOffset":3225,"count":26},{"startOffset":3197,"endOffset":3224,"count":25},{"startOffset":3227,"endOffset":3267,"count":26},{"startOffset":3301,"endOffset":3497,"count":1},{"startOffset":3422,"endOffset":3475,"count":0},{"startOffset":3525,"endOffset":3628,"count":0},{"startOffset":3632,"endOffset":3681,"count":153}],"isBlockCoverage":true}]},{"scriptId":"171","url":"node:internal/modules/run_main","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2850,"count":1}],"isBlockCoverage":false},{"functionName":"resolveMainPath","ranges":[{"startOffset":155,"endOffset":666,"count":1},{"startOffset":495,"endOffset":502,"count":0}],"isBlockCoverage":true},{"functionName":"shouldUseESMLoader","ranges":[{"startOffset":668,"endOffset":1558,"count":1},{"startOffset":1184,"endOffset":1196,"count":0},{"startOffset":1378,"endOffset":1390,"count":0},{"startOffset":1457,"endOffset":1470,"count":0}],"isBlockCoverage":true},{"functionName":"runMainESM","ranges":[{"startOffset":1560,"endOffset":1920,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1736,"endOffset":1915,"count":1},{"startOffset":1833,"endOffset":1843,"count":0}],"isBlockCoverage":true},{"functionName":"handleMainPromise","ranges":[{"startOffset":1922,"endOffset":2196,"count":1}],"isBlockCoverage":true},{"functionName":"executeUserEntryPoint","ranges":[{"startOffset":2382,"endOffset":2780,"count":1},{"startOffset":2592,"endOffset":2599,"count":0},{"startOffset":2605,"endOffset":2778,"count":0}],"isBlockCoverage":true}]},{"scriptId":"172","url":"node:internal/modules/esm/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6457,"count":1}],"isBlockCoverage":false},{"functionName":"getDefaultConditions","ranges":[{"startOffset":707,"endOffset":813,"count":108}],"isBlockCoverage":true},{"functionName":"getDefaultConditionsSet","ranges":[{"startOffset":841,"endOffset":956,"count":107}],"isBlockCoverage":true},{"functionName":"initializeDefaultConditions","ranges":[{"startOffset":1036,"endOffset":1418,"count":1},{"startOffset":1219,"endOffset":1223,"count":0}],"isBlockCoverage":true},{"functionName":"getConditionsSet","ranges":[{"startOffset":1488,"endOffset":1847,"count":107},{"startOffset":1601,"endOffset":1809,"count":0}],"isBlockCoverage":true},{"functionName":"registerModule","ranges":[{"startOffset":3590,"endOffset":3817,"count":428}],"isBlockCoverage":true},{"functionName":"initializeImportMetaObject","ranges":[{"startOffset":3842,"endOffset":4133,"count":3}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyCallback","ranges":[{"startOffset":4158,"endOffset":4557,"count":3},{"startOffset":4501,"endOffset":4556,"count":0}],"isBlockCoverage":true},{"functionName":"initializeESM","ranges":[{"startOffset":4722,"endOffset":5098,"count":1}],"isBlockCoverage":true},{"functionName":"isLoaderWorker","ranges":[{"startOffset":5100,"endOffset":5155,"count":1}],"isBlockCoverage":true},{"functionName":"initializeHooks","ranges":[{"startOffset":5157,"endOffset":6268,"count":0}],"isBlockCoverage":false}]},{"scriptId":"173","url":"node:internal/process/esm_loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1190,"count":1}],"isBlockCoverage":false},{"functionName":"get esmLoader","ranges":[{"startOffset":386,"endOffset":458,"count":77}],"isBlockCoverage":true},{"functionName":"loadESM","ranges":[{"startOffset":462,"endOffset":1185,"count":1},{"startOffset":630,"endOffset":846,"count":0},{"startOffset":937,"endOffset":1181,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":728,"endOffset":836,"count":0}],"isBlockCoverage":false}]},{"scriptId":"174","url":"node:internal/modules/esm/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21570,"count":1}],"isBlockCoverage":false},{"functionName":"newResolveCache","ranges":[{"startOffset":783,"endOffset":913,"count":1}],"isBlockCoverage":true},{"functionName":"newLoadCache","ranges":[{"startOffset":915,"endOffset":1036,"count":1}],"isBlockCoverage":true},{"functionName":"getTranslators","ranges":[{"startOffset":1038,"endOffset":1160,"count":98}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1847,"endOffset":14781,"count":1}],"isBlockCoverage":false},{"functionName":"ModuleLoader","ranges":[{"startOffset":3114,"endOffset":3307,"count":1},{"startOffset":3202,"endOffset":3259,"count":0}],"isBlockCoverage":true},{"functionName":"setCustomizations","ranges":[{"startOffset":4847,"endOffset":5091,"count":1},{"startOffset":4950,"endOffset":5032,"count":0}],"isBlockCoverage":true},{"functionName":"eval","ranges":[{"startOffset":5095,"endOffset":6098,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleJob","ranges":[{"startOffset":6833,"endOffset":7068,"count":162}],"isBlockCoverage":true},{"functionName":"getModuleJobSync","ranges":[{"startOffset":7072,"endOffset":7309,"count":0}],"isBlockCoverage":false},{"functionName":"getJobFromResolveResult","ranges":[{"startOffset":7313,"endOffset":7897,"count":162},{"startOffset":7687,"endOffset":7749,"count":0},{"startOffset":7778,"endOffset":7876,"count":97}],"isBlockCoverage":true},{"functionName":"#createModuleJob","ranges":[{"startOffset":8535,"endOffset":9726,"count":97},{"startOffset":9027,"endOffset":9103,"count":0},{"startOffset":9246,"endOffset":9286,"count":1},{"startOffset":9341,"endOffset":9356,"count":0},{"startOffset":9358,"endOffset":9412,"count":0}],"isBlockCoverage":true},{"functionName":"callTranslator","ranges":[{"startOffset":8629,"endOffset":8943,"count":97},{"startOffset":8773,"endOffset":8853,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9035,"endOffset":9103,"count":0}],"isBlockCoverage":false},{"functionName":"moduleProvider","ranges":[{"startOffset":9112,"endOffset":9188,"count":97}],"isBlockCoverage":true},{"functionName":"import","ranges":[{"startOffset":10188,"endOffset":10413,"count":4}],"isBlockCoverage":true},{"functionName":"register","ranges":[{"startOffset":10479,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":11461,"endOffset":12047,"count":162},{"startOffset":11549,"endOffset":11647,"count":0},{"startOffset":11843,"endOffset":11877,"count":1},{"startOffset":11877,"endOffset":12046,"count":161}],"isBlockCoverage":true},{"functionName":"resolveSync","ranges":[{"startOffset":12205,"endOffset":12483,"count":0}],"isBlockCoverage":false},{"functionName":"defaultResolve","ranges":[{"startOffset":12695,"endOffset":13035,"count":161}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":13319,"endOffset":13623,"count":97},{"startOffset":13456,"endOffset":13510,"count":0}],"isBlockCoverage":true},{"functionName":"loadSync","ranges":[{"startOffset":13627,"endOffset":14158,"count":0}],"isBlockCoverage":false},{"functionName":"validateLoadResult","ranges":[{"startOffset":14162,"endOffset":14313,"count":97},{"startOffset":14220,"endOffset":14309,"count":0}],"isBlockCoverage":true},{"functionName":"importMetaInitialize","ranges":[{"startOffset":14317,"endOffset":14652,"count":3},{"startOffset":14385,"endOffset":14469,"count":0}],"isBlockCoverage":true},{"functionName":"forceLoadHooks","ranges":[{"startOffset":14713,"endOffset":14779,"count":1},{"startOffset":14756,"endOffset":14772,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14835,"endOffset":17345,"count":0}],"isBlockCoverage":false},{"functionName":"createModuleLoader","ranges":[{"startOffset":17841,"endOffset":19523,"count":1},{"startOffset":18306,"endOffset":19473,"count":0}],"isBlockCoverage":true},{"functionName":"readableURIEncode","ranges":[{"startOffset":18381,"endOffset":18876,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19196,"endOffset":19284,"count":0}],"isBlockCoverage":false},{"functionName":"getHooksProxy","ranges":[{"startOffset":19636,"endOffset":19812,"count":0}],"isBlockCoverage":false},{"functionName":"register","ranges":[{"startOffset":21096,"endOffset":21495,"count":0}],"isBlockCoverage":false}]},{"scriptId":"175","url":"node:internal/modules/esm/module_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3877,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":281,"endOffset":306,"count":1}],"isBlockCoverage":true},{"functionName":"ResolveCache","ranges":[{"startOffset":850,"endOffset":878,"count":1}],"isBlockCoverage":true},{"functionName":"serializeKey","ranges":[{"startOffset":1224,"endOffset":1836,"count":162},{"startOffset":1633,"endOffset":1835,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1752,"endOffset":1818,"count":0}],"isBlockCoverage":false},{"functionName":"#getModuleCachedImports","ranges":[{"startOffset":1840,"endOffset":2056,"count":323},{"startOffset":1954,"endOffset":2026,"count":37}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2231,"endOffset":2333,"count":162}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":2473,"endOffset":2602,"count":161}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":2606,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"LoadCache","ranges":[{"startOffset":2844,"endOffset":2872,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2921,"endOffset":3064,"count":162},{"startOffset":3051,"endOffset":3059,"count":65}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3067,"endOffset":3662,"count":97},{"startOffset":3286,"endOffset":3322,"count":0},{"startOffset":3324,"endOffset":3394,"count":0},{"startOffset":3478,"endOffset":3484,"count":0}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":3665,"endOffset":3822,"count":0}],"isBlockCoverage":false}]},{"scriptId":"176","url":"node:internal/modules/esm/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4026,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1321,"endOffset":1359,"count":5}],"isBlockCoverage":true},{"functionName":"validateAssertions","ranges":[{"startOffset":1780,"endOffset":3310,"count":97},{"startOffset":2002,"endOffset":2301,"count":0},{"startOffset":2330,"endOffset":2475,"count":0},{"startOffset":2740,"endOffset":2800,"count":0},{"startOffset":2806,"endOffset":2914,"count":0},{"startOffset":2920,"endOffset":3304,"count":0}],"isBlockCoverage":true},{"functionName":"handleInvalidType","ranges":[{"startOffset":3542,"endOffset":3956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"177","url":"node:internal/modules/esm/translators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15691,"count":1}],"isBlockCoverage":false},{"functionName":"lazyTypes","ranges":[{"startOffset":372,"endOffset":484,"count":116},{"startOffset":418,"endOffset":432,"count":115},{"startOffset":432,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":948,"endOffset":973,"count":1}],"isBlockCoverage":true},{"functionName":"initCJSParse","ranges":[{"startOffset":1545,"endOffset":1943,"count":6},{"startOffset":1619,"endOffset":1694,"count":0},{"startOffset":1852,"endOffset":1937,"count":0}],"isBlockCoverage":true},{"functionName":"assertBufferSource","ranges":[{"startOffset":2077,"endOffset":2498,"count":116},{"startOffset":2154,"endOffset":2181,"count":58},{"startOffset":2183,"endOffset":2200,"count":0},{"startOffset":2294,"endOffset":2319,"count":0},{"startOffset":2338,"endOffset":2417,"count":0},{"startOffset":2418,"endOffset":2422,"count":0}],"isBlockCoverage":true},{"functionName":"stringify","ranges":[{"startOffset":2500,"endOffset":2774,"count":83},{"startOffset":2559,"endOffset":2571,"count":25},{"startOffset":2571,"endOffset":2711,"count":58},{"startOffset":2711,"endOffset":2730,"count":1},{"startOffset":2731,"endOffset":2740,"count":57}],"isBlockCoverage":true},{"functionName":"errPath","ranges":[{"startOffset":2776,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":2923,"endOffset":3061,"count":1}],"isBlockCoverage":true},{"functionName":"moduleStrategy","ranges":[{"startOffset":3143,"endOffset":3668,"count":58}],"isBlockCoverage":true},{"functionName":"initializeImportMeta","ranges":[{"startOffset":3557,"endOffset":3613,"count":3}],"isBlockCoverage":true},{"functionName":"enrichCJSError","ranges":[{"startOffset":3835,"endOffset":4374,"count":0}],"isBlockCoverage":false},{"functionName":"loadCJSModule","ranges":[{"startOffset":4715,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"createCJSModuleWrap","ranges":[{"startOffset":6909,"endOffset":8288,"count":25},{"startOffset":7110,"endOffset":7115,"count":0},{"startOffset":7309,"endOffset":7331,"count":1},{"startOffset":7332,"endOffset":7361,"count":24},{"startOffset":7378,"endOffset":7434,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7494,"endOffset":8283,"count":25},{"startOffset":7571,"endOffset":7624,"count":23},{"startOffset":7806,"endOffset":7849,"count":0},{"startOffset":7892,"endOffset":8239,"count":70},{"startOffset":7956,"endOffset":7993,"count":69},{"startOffset":8003,"endOffset":8012,"count":2},{"startOffset":8012,"endOffset":8136,"count":68},{"startOffset":8136,"endOffset":8192,"count":0},{"startOffset":8192,"endOffset":8239,"count":68}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8448,"endOffset":8540,"count":0}],"isBlockCoverage":false},{"functionName":"commonjsStrategy","ranges":[{"startOffset":8728,"endOffset":9611,"count":25},{"startOffset":8860,"endOffset":8891,"count":6},{"startOffset":9358,"endOffset":9373,"count":0},{"startOffset":9498,"endOffset":9546,"count":0}],"isBlockCoverage":true},{"functionName":"cjsLoader","ranges":[{"startOffset":9138,"endOffset":9357,"count":23},{"startOffset":9277,"endOffset":9353,"count":0}],"isBlockCoverage":true},{"functionName":"cjsPreparseModuleExports","ranges":[{"startOffset":9615,"endOffset":12093,"count":25},{"startOffset":9798,"endOffset":9923,"count":0},{"startOffset":10231,"endOffset":10236,"count":0},{"startOffset":10244,"endOffset":10293,"count":0},{"startOffset":10469,"endOffset":12056,"count":1},{"startOffset":11330,"endOffset":11363,"count":0},{"startOffset":11629,"endOffset":11658,"count":0},{"startOffset":11660,"endOffset":12046,"count":0}],"isBlockCoverage":true},{"functionName":"builtinStrategy","ranges":[{"startOffset":12217,"endOffset":12623,"count":14},{"startOffset":12496,"endOffset":12548,"count":0}],"isBlockCoverage":true},{"functionName":"jsonStrategy","ranges":[{"startOffset":12735,"endOffset":14686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14752,"endOffset":15688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"178","url":"node:internal/modules/esm/resolve","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36606,"count":1}],"isBlockCoverage":false},{"functionName":"emitTrailingSlashPatternDeprecation","ranges":[{"startOffset":2334,"endOffset":2920,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidSegmentDeprecation","ranges":[{"startOffset":2962,"endOffset":3657,"count":0}],"isBlockCoverage":false},{"functionName":"emitLegacyIndexDeprecation","ranges":[{"startOffset":3805,"endOffset":4938,"count":22},{"startOffset":3967,"endOffset":4936,"count":0}],"isBlockCoverage":true},{"functionName":"legacyMainResolve","ranges":[{"startOffset":6029,"endOffset":6789,"count":22},{"startOffset":6196,"endOffset":6280,"count":0},{"startOffset":6320,"endOffset":6331,"count":0},{"startOffset":6543,"endOffset":6570,"count":14},{"startOffset":6571,"endOffset":6575,"count":8}],"isBlockCoverage":true},{"functionName":"finalizeResolution","ranges":[{"startOffset":6969,"endOffset":8433,"count":107},{"startOffset":7109,"endOffset":7252,"count":0},{"startOffset":7314,"endOffset":7498,"count":0},{"startOffset":7587,"endOffset":7623,"count":0},{"startOffset":7689,"endOffset":7781,"count":0},{"startOffset":7804,"endOffset":8092,"count":0},{"startOffset":8338,"endOffset":8343,"count":0}],"isBlockCoverage":true},{"functionName":"importNotDefined","ranges":[{"startOffset":8545,"endOffset":8756,"count":0}],"isBlockCoverage":false},{"functionName":"exportsNotFound","ranges":[{"startOffset":8866,"endOffset":9061,"count":0}],"isBlockCoverage":false},{"functionName":"throwInvalidSubpath","ranges":[{"startOffset":9228,"endOffset":9611,"count":0}],"isBlockCoverage":false},{"functionName":"invalidPackageTarget","ranges":[{"startOffset":9613,"endOffset":9991,"count":0}],"isBlockCoverage":false},{"functionName":"resolvePackageTargetString","ranges":[{"startOffset":10714,"endOffset":13451,"count":34},{"startOffset":10883,"endOffset":10894,"count":0},{"startOffset":10895,"endOffset":10931,"count":0},{"startOffset":10937,"endOffset":11011,"count":0},{"startOffset":11061,"endOffset":11618,"count":0},{"startOffset":11710,"endOffset":12320,"count":0},{"startOffset":12543,"endOffset":12617,"count":0},{"startOffset":12657,"endOffset":13450,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11393,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11919,"endOffset":11932,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12065,"endOffset":12078,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12792,"endOffset":12805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13032,"endOffset":13045,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13385,"endOffset":13398,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayIndex","ranges":[{"startOffset":13506,"endOffset":13646,"count":18},{"startOffset":13598,"endOffset":13643,"count":0}],"isBlockCoverage":true},{"functionName":"resolvePackageTarget","ranges":[{"startOffset":13910,"endOffset":16158,"count":44},{"startOffset":14103,"endOffset":14257,"count":34},{"startOffset":14257,"endOffset":16041,"count":10},{"startOffset":14289,"endOffset":15127,"count":2},{"startOffset":14320,"endOffset":14346,"count":0},{"startOffset":14666,"endOffset":14814,"count":0},{"startOffset":14854,"endOffset":14881,"count":0},{"startOffset":14916,"endOffset":14973,"count":0},{"startOffset":15007,"endOffset":15069,"count":0},{"startOffset":15077,"endOffset":15127,"count":0},{"startOffset":15127,"endOffset":16041,"count":8},{"startOffset":15280,"endOffset":15508,"count":18},{"startOffset":15338,"endOffset":15502,"count":0},{"startOffset":15551,"endOffset":15966,"count":13},{"startOffset":15608,"endOffset":15630,"count":10},{"startOffset":15632,"endOffset":15960,"count":8},{"startOffset":15913,"endOffset":15922,"count":0},{"startOffset":15966,"endOffset":16041,"count":0},{"startOffset":16041,"endOffset":16157,"count":0}],"isBlockCoverage":true},{"functionName":"isConditionalExportsMainSugar","ranges":[{"startOffset":16343,"endOffset":17278,"count":32},{"startOffset":16449,"endOffset":16473,"count":6},{"startOffset":16475,"endOffset":16487,"count":26},{"startOffset":16487,"endOffset":16541,"count":6},{"startOffset":16543,"endOffset":16556,"count":0},{"startOffset":16556,"endOffset":16696,"count":6},{"startOffset":16696,"endOffset":17247,"count":11},{"startOffset":16806,"endOffset":16863,"count":6},{"startOffset":16863,"endOffset":17243,"count":5},{"startOffset":16919,"endOffset":17243,"count":0},{"startOffset":17247,"endOffset":17277,"count":6}],"isBlockCoverage":true},{"functionName":"packageExportsResolve","ranges":[{"startOffset":17488,"endOffset":20047,"count":32},{"startOffset":17700,"endOffset":17727,"count":27},{"startOffset":18129,"endOffset":18203,"count":0},{"startOffset":18234,"endOffset":20046,"count":0}],"isBlockCoverage":true},{"functionName":"patternKeyCompare","ranges":[{"startOffset":20049,"endOffset":20580,"count":0}],"isBlockCoverage":false},{"functionName":"packageImportsResolve","ranges":[{"startOffset":20709,"endOffset":23166,"count":2},{"startOffset":20871,"endOffset":21024,"count":0},{"startOffset":21608,"endOffset":23100,"count":0},{"startOffset":23110,"endOffset":23165,"count":0}],"isBlockCoverage":true},{"functionName":"getPackageType","ranges":[{"startOffset":23271,"endOffset":23384,"count":116}],"isBlockCoverage":true},{"functionName":"parsePackageName","ranges":[{"startOffset":23546,"endOffset":24598,"count":52},{"startOffset":23737,"endOffset":23965,"count":1},{"startOffset":23817,"endOffset":23856,"count":0},{"startOffset":24027,"endOffset":24079,"count":0},{"startOffset":24256,"endOffset":24281,"count":0},{"startOffset":24308,"endOffset":24427,"count":0},{"startOffset":24488,"endOffset":24541,"count":0}],"isBlockCoverage":true},{"functionName":"packageResolve","ranges":[{"startOffset":24760,"endOffset":26832,"count":52},{"startOffset":24874,"endOffset":24920,"count":0},{"startOffset":25258,"endOffset":25375,"count":0},{"startOffset":25550,"endOffset":26617,"count":191},{"startOffset":25809,"endOffset":26086,"count":139},{"startOffset":25886,"endOffset":25923,"count":3},{"startOffset":25924,"endOffset":25950,"count":136},{"startOffset":26086,"endOffset":26267,"count":52},{"startOffset":26267,"endOffset":26384,"count":30},{"startOffset":26384,"endOffset":26526,"count":22},{"startOffset":26526,"endOffset":26617,"count":0},{"startOffset":26617,"endOffset":26831,"count":0}],"isBlockCoverage":true},{"functionName":"isBareSpecifier","ranges":[{"startOffset":26893,"endOffset":27003,"count":0}],"isBlockCoverage":false},{"functionName":"isRelativeSpecifier","ranges":[{"startOffset":27005,"endOffset":27276,"count":268},{"startOffset":27075,"endOffset":27258,"count":104},{"startOffset":27133,"endOffset":27145,"count":94},{"startOffset":27145,"endOffset":27254,"count":10},{"startOffset":27258,"endOffset":27275,"count":164}],"isBlockCoverage":true},{"functionName":"shouldBeTreatedAsRelativeOrAbsolutePath","ranges":[{"startOffset":27278,"endOffset":27461,"count":268},{"startOffset":27364,"endOffset":27377,"count":0},{"startOffset":27406,"endOffset":27418,"count":0}],"isBlockCoverage":true},{"functionName":"moduleResolve","ranges":[{"startOffset":27654,"endOffset":28445,"count":107},{"startOffset":27980,"endOffset":28026,"count":52},{"startOffset":28026,"endOffset":28316,"count":55},{"startOffset":28071,"endOffset":28143,"count":2},{"startOffset":28143,"endOffset":28316,"count":53},{"startOffset":28204,"endOffset":28312,"count":52},{"startOffset":28354,"endOffset":28380,"count":0}],"isBlockCoverage":true},{"functionName":"resolveAsCommonJS","ranges":[{"startOffset":28591,"endOffset":30048,"count":0}],"isBlockCoverage":false},{"functionName":"checkIfDisallowedImport","ranges":[{"startOffset":30110,"endOffset":31482,"count":161},{"startOffset":30204,"endOffset":31480,"count":160},{"startOffset":30416,"endOffset":31476,"count":0}],"isBlockCoverage":true},{"functionName":"throwIfInvalidParentURL","ranges":[{"startOffset":31557,"endOffset":31830,"count":161},{"startOffset":31634,"endOffset":31685,"count":1},{"startOffset":31685,"endOffset":31722,"count":160},{"startOffset":31722,"endOffset":31742,"count":0},{"startOffset":31744,"endOffset":31828,"count":0}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":31833,"endOffset":35819,"count":161},{"startOffset":31981,"endOffset":32000,"count":160},{"startOffset":31990,"endOffset":32000,"count":0},{"startOffset":32002,"endOffset":32811,"count":0},{"startOffset":32853,"endOffset":32958,"count":160},{"startOffset":32915,"endOffset":32954,"count":0},{"startOffset":33042,"endOffset":33101,"count":52},{"startOffset":33101,"endOffset":33149,"count":109},{"startOffset":33149,"endOffset":33423,"count":107},{"startOffset":33327,"endOffset":33415,"count":0},{"startOffset":33430,"endOffset":33489,"count":0},{"startOffset":33494,"endOffset":33529,"count":54},{"startOffset":33863,"endOffset":33882,"count":0},{"startOffset":33947,"endOffset":33977,"count":107},{"startOffset":33979,"endOffset":34022,"count":54},{"startOffset":34022,"endOffset":34081,"count":107},{"startOffset":34081,"endOffset":34579,"count":1},{"startOffset":34536,"endOffset":34575,"count":0},{"startOffset":34579,"endOffset":34735,"count":107},{"startOffset":34735,"endOffset":34757,"count":1},{"startOffset":34758,"endOffset":34776,"count":106},{"startOffset":34789,"endOffset":35593,"count":0},{"startOffset":35593,"endOffset":35818,"count":107}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":36211,"endOffset":36602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"179","url":"node:internal/modules/esm/package_config","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1412,"count":1}],"isBlockCoverage":false},{"functionName":"getPackageScopeConfig","ranges":[{"startOffset":269,"endOffset":1362,"count":170},{"startOffset":387,"endOffset":1107,"count":277},{"startOffset":521,"endOffset":541,"count":0},{"startOffset":731,"endOffset":766,"count":170},{"startOffset":766,"endOffset":1083,"count":107},{"startOffset":1083,"endOffset":1103,"count":0},{"startOffset":1107,"endOffset":1361,"count":0}],"isBlockCoverage":true}]},{"scriptId":"180","url":"node:internal/modules/esm/get_format","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4514,"count":1}],"isBlockCoverage":false},{"functionName":"node:","ranges":[{"startOffset":900,"endOffset":931,"count":14}],"isBlockCoverage":true},{"functionName":"getDataProtocolModuleFormat","ranges":[{"startOffset":996,"endOffset":1212,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":1487,"endOffset":1846,"count":129},{"startOffset":1587,"endOffset":1831,"count":400},{"startOffset":1649,"endOffset":1684,"count":0},{"startOffset":1692,"endOffset":1821,"count":129},{"startOffset":1780,"endOffset":1784,"count":0},{"startOffset":1831,"endOffset":1845,"count":0}],"isBlockCoverage":true},{"functionName":"getFileProtocolModuleFormat","ranges":[{"startOffset":1970,"endOffset":3175,"count":129},{"startOffset":2086,"endOffset":2160,"count":116},{"startOffset":2132,"endOffset":2142,"count":72},{"startOffset":2143,"endOffset":2155,"count":44},{"startOffset":2160,"endOffset":2232,"count":13},{"startOffset":2232,"endOffset":2467,"count":0},{"startOffset":2469,"endOffset":3174,"count":0}],"isBlockCoverage":true},{"functionName":"getHttpProtocolModuleFormat","ranges":[{"startOffset":3311,"endOffset":3656,"count":0}],"isBlockCoverage":false},{"functionName":"defaultGetFormatWithoutErrors","ranges":[{"startOffset":3801,"endOffset":4036,"count":129},{"startOffset":3955,"endOffset":3977,"count":0}],"isBlockCoverage":true},{"functionName":"defaultGetFormat","ranges":[{"startOffset":4181,"endOffset":4404,"count":14},{"startOffset":4322,"endOffset":4344,"count":0}],"isBlockCoverage":true}]},{"scriptId":"181","url":"node:internal/modules/esm/formats","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":856,"count":1}],"isBlockCoverage":false},{"functionName":"mimeToFormat","ranges":[{"startOffset":468,"endOffset":794,"count":0}],"isBlockCoverage":false}]},{"scriptId":"182","url":"node:internal/modules/esm/handle_process_exit","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":424,"count":1}],"isBlockCoverage":false},{"functionName":"handleProcessExit","ranges":[{"startOffset":298,"endOffset":379,"count":0}],"isBlockCoverage":false}]},{"scriptId":"183","url":"node:internal/modules/esm/module_job","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8786,"count":1}],"isBlockCoverage":false},{"functionName":"isCommonJSGlobalLikeNotDefinedError","ranges":[{"startOffset":917,"endOffset":1048,"count":0}],"isBlockCoverage":false},{"functionName":"ModuleJob","ranges":[{"startOffset":1286,"endOffset":3283,"count":97},{"startOffset":1811,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"link","ranges":[{"startOffset":2085,"endOffset":2900,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2541,"endOffset":2746,"count":158}],"isBlockCoverage":true},{"functionName":"instantiate","ranges":[{"startOffset":3287,"endOffset":3432,"count":4},{"startOffset":3344,"endOffset":3398,"count":3}],"isBlockCoverage":true},{"functionName":"_instantiate","ranges":[{"startOffset":3436,"endOffset":7090,"count":3},{"startOffset":3896,"endOffset":4073,"count":0},{"startOffset":4130,"endOffset":6843,"count":0},{"startOffset":6890,"endOffset":7086,"count":106}],"isBlockCoverage":true},{"functionName":"addJobsToDependencyGraph","ranges":[{"startOffset":3535,"endOffset":3795,"count":161},{"startOffset":3596,"endOffset":3621,"count":55},{"startOffset":3621,"endOffset":3794,"count":106}],"isBlockCoverage":true},{"functionName":"runSync","ranges":[{"startOffset":7094,"endOffset":7494,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":7498,"endOffset":8706,"count":4},{"startOffset":7673,"endOffset":8649,"count":0}],"isBlockCoverage":true}]},{"scriptId":"184","url":"node:internal/modules/esm/load","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6703,"count":1}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":1130,"endOffset":2357,"count":58},{"startOffset":1398,"endOffset":2223,"count":0},{"startOffset":2236,"endOffset":2246,"count":0},{"startOffset":2248,"endOffset":2304,"count":0}],"isBlockCoverage":true},{"functionName":"getSourceSync","ranges":[{"startOffset":2540,"endOffset":3279,"count":0}],"isBlockCoverage":false},{"functionName":"defaultLoad","ranges":[{"startOffset":3400,"endOffset":4067,"count":97},{"startOffset":3739,"endOffset":3827,"count":14},{"startOffset":3827,"endOffset":3855,"count":83},{"startOffset":3860,"endOffset":3884,"count":39},{"startOffset":3884,"endOffset":3986,"count":58}],"isBlockCoverage":true},{"functionName":"defaultLoadSync","ranges":[{"startOffset":4580,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfUnsupportedURLScheme","ranges":[{"startOffset":5367,"endOffset":5999,"count":97},{"startOffset":5597,"endOffset":5624,"count":14},{"startOffset":5625,"endOffset":5652,"count":14},{"startOffset":5653,"endOffset":5782,"count":0},{"startOffset":5787,"endOffset":5997,"count":0}],"isBlockCoverage":true},{"functionName":"throwUnknownModuleFormat","ranges":[{"startOffset":6378,"endOffset":6616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"185","url":"node:internal/fs/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29943,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCpPromises","ranges":[{"startOffset":2997,"endOffset":3089,"count":0}],"isBlockCoverage":false},{"functionName":"lazyFsStreams","ranges":[{"startOffset":3151,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3236,"endOffset":9299,"count":58}],"isBlockCoverage":false},{"functionName":"FileHandle","ranges":[{"startOffset":3377,"endOffset":3554,"count":58},{"startOffset":3491,"endOffset":3495,"count":0}],"isBlockCoverage":true},{"functionName":"getAsyncId","ranges":[{"startOffset":3558,"endOffset":3615,"count":0}],"isBlockCoverage":false},{"functionName":"get fd","ranges":[{"startOffset":3619,"endOffset":3655,"count":116}],"isBlockCoverage":true},{"functionName":"appendFile","ranges":[{"startOffset":3659,"endOffset":3741,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":3745,"endOffset":3801,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":3805,"endOffset":3869,"count":0}],"isBlockCoverage":false},{"functionName":"datasync","ranges":[{"startOffset":3873,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":3929,"endOffset":3973,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":3977,"endOffset":4086,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":4090,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":4175,"endOffset":4242,"count":0}],"isBlockCoverage":false},{"functionName":"readLines","ranges":[{"startOffset":4246,"endOffset":4389,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4393,"endOffset":4453,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":4457,"endOffset":4521,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":4525,"endOffset":4599,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":4603,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":4718,"endOffset":4801,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4805,"endOffset":4886,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":4898,"endOffset":5690,"count":58},{"startOffset":4932,"endOffset":4970,"count":0},{"startOffset":5001,"endOffset":5042,"count":0},{"startOffset":5268,"endOffset":5629,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5210,"endOffset":5252,"count":58}],"isBlockCoverage":true},{"functionName":".SafePromisePrototypeFinally.","ranges":[{"startOffset":5353,"endOffset":5465,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5468,"endOffset":5613,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5695,"endOffset":5754,"count":0}],"isBlockCoverage":false},{"functionName":"readableWebStream","ranges":[{"startOffset":5949,"endOffset":7635,"count":0}],"isBlockCoverage":false},{"functionName":"createReadStream","ranges":[{"startOffset":7933,"endOffset":8084,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":8333,"endOffset":8487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8491,"endOffset":8891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8895,"endOffset":8948,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8952,"endOffset":9039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9043,"endOffset":9076,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9080,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"handleFdClose","ranges":[{"startOffset":9301,"endOffset":9672,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9412,"endOffset":9471,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9458,"endOffset":9470,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9477,"endOffset":9664,"count":0}],"isBlockCoverage":false},{"functionName":"fsCall","ranges":[{"startOffset":9674,"endOffset":10134,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":10136,"endOffset":10256,"count":232},{"startOffset":10180,"endOffset":10189,"count":0},{"startOffset":10195,"endOffset":10254,"count":0}],"isBlockCoverage":true},{"functionName":"writeFileHandle","ranges":[{"startOffset":10258,"endOffset":11400,"count":0}],"isBlockCoverage":false},{"functionName":"readFileHandle","ranges":[{"startOffset":11402,"endOffset":13541,"count":58},{"startOffset":11554,"endOffset":11584,"count":0},{"startOffset":11864,"endOffset":11902,"count":0},{"startOffset":11935,"endOffset":11983,"count":0},{"startOffset":12016,"endOffset":12054,"count":0},{"startOffset":12296,"endOffset":12368,"count":0},{"startOffset":12512,"endOffset":12516,"count":0},{"startOffset":12601,"endOffset":12657,"count":0},{"startOffset":12751,"endOffset":12762,"count":0},{"startOffset":12819,"endOffset":12879,"count":0},{"startOffset":12927,"endOffset":12941,"count":0},{"startOffset":12943,"endOffset":13053,"count":0},{"startOffset":13084,"endOffset":13535,"count":0}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":13694,"endOffset":13915,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":13917,"endOffset":14186,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":14188,"endOffset":14546,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":14666,"endOffset":14991,"count":58}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":14993,"endOffset":16364,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":16366,"endOffset":16703,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":16705,"endOffset":17954,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":17956,"endOffset":18398,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":18400,"endOffset":18706,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":18708,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":18843,"endOffset":19002,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":19004,"endOffset":19208,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":19210,"endOffset":19581,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":19583,"endOffset":19672,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":19674,"endOffset":19755,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":19757,"endOffset":20234,"count":0}],"isBlockCoverage":false},{"functionName":"readdirRecursive","ranges":[{"startOffset":20236,"endOffset":21910,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":21912,"endOffset":22339,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":22341,"endOffset":22580,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":22582,"endOffset":23306,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":23308,"endOffset":23486,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":23488,"endOffset":23758,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":23760,"endOffset":24027,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":24029,"endOffset":24303,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":24305,"endOffset":24628,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":24630,"endOffset":24768,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":24770,"endOffset":24903,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":24905,"endOffset":25091,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":25093,"endOffset":25321,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":25323,"endOffset":25599,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":25601,"endOffset":25798,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":25800,"endOffset":26073,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":26075,"endOffset":26347,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":26349,"endOffset":26548,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":26550,"endOffset":26827,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":26829,"endOffset":27002,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":27004,"endOffset":27383,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":27385,"endOffset":28060,"count":0}],"isBlockCoverage":false},{"functionName":"isCustomIterable","ranges":[{"startOffset":28062,"endOffset":28176,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":28178,"endOffset":28419,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":28421,"endOffset":28765,"count":58},{"startOffset":28538,"endOffset":28544,"count":0},{"startOffset":28585,"endOffset":28622,"count":0}],"isBlockCoverage":true},{"functionName":"_watch","ranges":[{"startOffset":28767,"endOffset":29432,"count":0}],"isBlockCoverage":false}]},{"scriptId":"186","url":"node:internal/fs/rimraf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7454,"count":1}],"isBlockCoverage":false},{"functionName":"rimraf","ranges":[{"startOffset":1175,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_rimraf","ranges":[{"startOffset":1638,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERM","ranges":[{"startOffset":2499,"endOffset":2934,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdir","ranges":[{"startOffset":2937,"endOffset":3235,"count":0}],"isBlockCoverage":false},{"functionName":"_rmchildren","ranges":[{"startOffset":3238,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafPromises","ranges":[{"startOffset":3928,"endOffset":4126,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafSync","ranges":[{"startOffset":4129,"endOffset":4812,"count":0}],"isBlockCoverage":false},{"functionName":"_unlinkSync","ranges":[{"startOffset":4815,"endOffset":5444,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdirSync","ranges":[{"startOffset":5447,"endOffset":6944,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERMSync","ranges":[{"startOffset":6947,"endOffset":7394,"count":0}],"isBlockCoverage":false}]},{"scriptId":"187","url":"node:internal/fs/dir","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8071,"count":1}],"isBlockCoverage":false},{"functionName":"Dir","ranges":[{"startOffset":1177,"endOffset":1993,"count":0}],"isBlockCoverage":false},{"functionName":"get path","ranges":[{"startOffset":1997,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":2044,"endOffset":2111,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2115,"endOffset":3841,"count":0}],"isBlockCoverage":false},{"functionName":"processReadResult","ranges":[{"startOffset":3845,"endOffset":4099,"count":0}],"isBlockCoverage":false},{"functionName":"readSyncRecursive","ranges":[{"startOffset":4103,"endOffset":4676,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":4680,"endOffset":5656,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":5660,"endOffset":6349,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":6353,"endOffset":6730,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":6734,"endOffset":6997,"count":0}],"isBlockCoverage":false},{"functionName":"opendir","ranges":[{"startOffset":7177,"endOffset":7757,"count":0}],"isBlockCoverage":false},{"functionName":"opendirSync","ranges":[{"startOffset":7759,"endOffset":8014,"count":0}],"isBlockCoverage":false}]},{"scriptId":"188","url":"node:internal/fs/watchers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11242,"count":1}],"isBlockCoverage":false},{"functionName":"emitStop","ranges":[{"startOffset":1420,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher","ranges":[{"startOffset":1470,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"onchange","ranges":[{"startOffset":1820,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":2565,"endOffset":3399,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.start","ranges":[{"startOffset":3620,"endOffset":3628,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.stop","ranges":[{"startOffset":3874,"endOffset":4155,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":4244,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.ref","ranges":[{"startOffset":4702,"endOffset":4984,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.unref","ranges":[{"startOffset":5017,"endOffset":5267,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher","ranges":[{"startOffset":5271,"endOffset":6239,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.","ranges":[{"startOffset":6776,"endOffset":7686,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.start","ranges":[{"startOffset":7903,"endOffset":7911,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.close","ranges":[{"startOffset":8034,"endOffset":8371,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.ref","ranges":[{"startOffset":8400,"endOffset":8469,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.unref","ranges":[{"startOffset":8500,"endOffset":8571,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":8574,"endOffset":8626,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8850,"endOffset":8886,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8890,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":8967,"endOffset":11110,"count":0}],"isBlockCoverage":false}]},{"scriptId":"189","url":"node:internal/fs/recursive_watch","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7634,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFsPromises","ranges":[{"startOffset":812,"endOffset":919,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadFsSync","ranges":[{"startOffset":921,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"traverse","ranges":[{"startOffset":1037,"endOffset":1618,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1620,"endOffset":7580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"190","url":"node:internal/readline/interface","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":39029,"count":1}],"isBlockCoverage":false},{"functionName":"InterfaceConstructor","ranges":[{"startOffset":3781,"endOffset":9286,"count":0}],"isBlockCoverage":false},{"functionName":"Interface","ranges":[{"startOffset":9527,"endOffset":9627,"count":0}],"isBlockCoverage":false},{"functionName":"get columns","ranges":[{"startOffset":9630,"endOffset":9742,"count":0}],"isBlockCoverage":false},{"functionName":"setPrompt","ranges":[{"startOffset":9851,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"getPrompt","ranges":[{"startOffset":9996,"endOffset":10039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10043,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"prompt","ranges":[{"startOffset":10373,"endOffset":10627,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10631,"endOffset":10938,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10942,"endOffset":11184,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11188,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11279,"endOffset":11447,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11451,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11652,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12834,"endOffset":13839,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13923,"endOffset":14094,"count":0}],"isBlockCoverage":false},{"functionName":"pause","ranges":[{"startOffset":14175,"endOffset":14306,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":14398,"endOffset":14534,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":14805,"endOffset":14964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14968,"endOffset":16702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16706,"endOffset":17375,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17379,"endOffset":17778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17782,"endOffset":19990,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19994,"endOffset":20455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20459,"endOffset":20717,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20721,"endOffset":21203,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21207,"endOffset":21688,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21692,"endOffset":22452,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22456,"endOffset":22883,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22887,"endOffset":23165,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23169,"endOffset":23427,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23431,"endOffset":23691,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23695,"endOffset":23850,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23854,"endOffset":24529,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":24533,"endOffset":24682,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24686,"endOffset":24840,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24844,"endOffset":25031,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25035,"endOffset":25343,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25347,"endOffset":25655,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26090,"endOffset":26724,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26728,"endOffset":27436,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27511,"endOffset":28451,"count":0}],"isBlockCoverage":false},{"functionName":"getCursorPos","ranges":[{"startOffset":28628,"endOffset":28797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":28916,"endOffset":29473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29510,"endOffset":37760,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38068,"endOffset":38448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"191","url":"node:internal/readline/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12396,"count":1}],"isBlockCoverage":false},{"functionName":"CSI","ranges":[{"startOffset":385,"endOffset":579,"count":4},{"startOffset":544,"endOffset":559,"count":0}],"isBlockCoverage":true},{"functionName":"charLengthLeft","ranges":[{"startOffset":958,"endOffset":1220,"count":0}],"isBlockCoverage":false},{"functionName":"charLengthAt","ranges":[{"startOffset":1222,"endOffset":1484,"count":0}],"isBlockCoverage":false},{"functionName":"emitKeys","ranges":[{"startOffset":2213,"endOffset":11840,"count":0}],"isBlockCoverage":false},{"functionName":"commonPrefix","ranges":[{"startOffset":11870,"endOffset":12283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"192","url":"node:internal/readline/callbacks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2754,"count":1}],"isBlockCoverage":false},{"functionName":"cursorTo","ranges":[{"startOffset":460,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"moveCursor","ranges":[{"startOffset":1210,"endOffset":1722,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":1869,"endOffset":2272,"count":0}],"isBlockCoverage":false},{"functionName":"clearScreenDown","ranges":[{"startOffset":2349,"endOffset":2672,"count":0}],"isBlockCoverage":false}]},{"scriptId":"193","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/base.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7557,"count":1},{"startOffset":7375,"endOffset":7491,"count":0},{"startOffset":7522,"endOffset":7556,"count":0}],"isBlockCoverage":true},{"functionName":"exit","ranges":[{"startOffset":1052,"endOffset":1240,"count":1}],"isBlockCoverage":true},{"functionName":"handleProcessExit","ranges":[{"startOffset":1268,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":1946,"endOffset":6902,"count":1},{"startOffset":2368,"endOffset":2565,"count":0},{"startOffset":5638,"endOffset":5643,"count":0},{"startOffset":5646,"endOffset":5671,"count":0},{"startOffset":5908,"endOffset":5943,"count":0},{"startOffset":5944,"endOffset":5979,"count":0},{"startOffset":5981,"endOffset":6410,"count":0},{"startOffset":6682,"endOffset":6752,"count":0},{"startOffset":6756,"endOffset":6900,"count":0}],"isBlockCoverage":true},{"functionName":"checkSelectedByLineNumbers","ranges":[{"startOffset":2550,"endOffset":2561,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3090,"endOffset":3122,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3204,"endOffset":3232,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3256,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3420,"endOffset":4245,"count":1},{"startOffset":3523,"endOffset":3593,"count":0},{"startOffset":3598,"endOffset":3756,"count":0},{"startOffset":3831,"endOffset":4000,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3813,"endOffset":3823,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4030,"endOffset":4240,"count":1},{"startOffset":4087,"endOffset":4223,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4282,"endOffset":4421,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4602,"endOffset":4633,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4642,"endOffset":4668,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4927,"endOffset":5129,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":5197,"endOffset":5585,"count":1},{"startOffset":5343,"endOffset":5584,"count":0}],"isBlockCoverage":true},{"functionName":"onError","ranges":[{"startOffset":6921,"endOffset":7139,"count":0}],"isBlockCoverage":false}]},{"scriptId":"194","url":"node:internal/deps/cjs-module-lexer/dist/lexer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":33616,"count":1}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":116,"endOffset":813,"count":25},{"startOffset":146,"endOffset":181,"count":0},{"startOffset":222,"endOffset":237,"count":0},{"startOffset":273,"endOffset":308,"count":1},{"startOffset":332,"endOffset":334,"count":0},{"startOffset":406,"endOffset":553,"count":0},{"startOffset":601,"endOffset":650,"count":1},{"startOffset":663,"endOffset":696,"count":0},{"startOffset":709,"endOffset":773,"count":71}],"isBlockCoverage":true},{"functionName":"B","ranges":[{"startOffset":813,"endOffset":1040,"count":72},{"startOffset":840,"endOffset":852,"count":71},{"startOffset":853,"endOffset":862,"count":70},{"startOffset":862,"endOffset":913,"count":2},{"startOffset":913,"endOffset":1023,"count":25},{"startOffset":958,"endOffset":1022,"count":0},{"startOffset":1023,"endOffset":1032,"count":2},{"startOffset":1032,"endOffset":1039,"count":0}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":1040,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"C","ranges":[{"startOffset":1141,"endOffset":1215,"count":25},{"startOffset":1192,"endOffset":1214,"count":73749}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":1221,"endOffset":33616,"count":6},{"startOffset":1245,"endOffset":33615,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1251,"endOffset":33611,"count":1},{"startOffset":33455,"endOffset":33524,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":33505,"endOffset":33523,"count":0}],"isBlockCoverage":false}]},{"scriptId":"195","url":"node:module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":397,"count":1}],"isBlockCoverage":false}]},{"scriptId":"196","url":"node:internal/source_map/source_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12067,"count":1}],"isBlockCoverage":false},{"functionName":"StringCharIterator","ranges":[{"startOffset":4000,"endOffset":4076,"count":0}],"isBlockCoverage":false},{"functionName":"next","ranges":[{"startOffset":4114,"endOffset":4192,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":4230,"endOffset":4306,"count":0}],"isBlockCoverage":false},{"functionName":"hasNext","ranges":[{"startOffset":4345,"endOffset":4409,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4550,"endOffset":10030,"count":0}],"isBlockCoverage":false},{"functionName":"isSeparator","ranges":[{"startOffset":10085,"endOffset":10154,"count":0}],"isBlockCoverage":false},{"functionName":"decodeVLQ","ranges":[{"startOffset":10244,"endOffset":11177,"count":0}],"isBlockCoverage":false},{"functionName":"cloneSourceMapV3","ranges":[{"startOffset":11244,"endOffset":11556,"count":0}],"isBlockCoverage":false},{"functionName":"compareSourceMapEntry","ranges":[{"startOffset":11751,"endOffset":12030,"count":0}],"isBlockCoverage":false}]},{"scriptId":"197","url":"node:process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":83,"count":1}],"isBlockCoverage":false}]},{"scriptId":"198","url":"node:internal/process/report","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2644,"count":1}],"isBlockCoverage":false},{"functionName":"writeReport","ranges":[{"startOffset":352,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getReport","ranges":[{"startOffset":775,"endOffset":940,"count":0}],"isBlockCoverage":false},{"functionName":"get directory","ranges":[{"startOffset":944,"endOffset":995,"count":0}],"isBlockCoverage":false},{"functionName":"set directory","ranges":[{"startOffset":999,"endOffset":1087,"count":0}],"isBlockCoverage":false},{"functionName":"get filename","ranges":[{"startOffset":1091,"endOffset":1140,"count":0}],"isBlockCoverage":false},{"functionName":"set filename","ranges":[{"startOffset":1144,"endOffset":1232,"count":0}],"isBlockCoverage":false},{"functionName":"get compact","ranges":[{"startOffset":1236,"endOffset":1283,"count":0}],"isBlockCoverage":false},{"functionName":"set compact","ranges":[{"startOffset":1287,"endOffset":1364,"count":0}],"isBlockCoverage":false},{"functionName":"get signal","ranges":[{"startOffset":1368,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"set signal","ranges":[{"startOffset":1417,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnFatalError","ranges":[{"startOffset":1558,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnFatalError","ranges":[{"startOffset":1634,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnSignal","ranges":[{"startOffset":1756,"endOffset":1820,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnSignal","ranges":[{"startOffset":1824,"endOffset":1985,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnUncaughtException","ranges":[{"startOffset":1989,"endOffset":2075,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnUncaughtException","ranges":[{"startOffset":2079,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"addSignalHandler","ranges":[{"startOffset":2217,"endOffset":2388,"count":0}],"isBlockCoverage":false},{"functionName":"removeSignalHandler","ranges":[{"startOffset":2390,"endOffset":2514,"count":0}],"isBlockCoverage":false},{"functionName":"signalHandler","ranges":[{"startOffset":2516,"endOffset":2590,"count":0}],"isBlockCoverage":false}]},{"scriptId":"199","url":"node:url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":32640,"count":1}],"isBlockCoverage":false},{"functionName":"Url","ranges":[{"startOffset":2149,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"urlParse","ranges":[{"startOffset":3430,"endOffset":4035,"count":0}],"isBlockCoverage":false},{"functionName":"isIpv6Hostname","ranges":[{"startOffset":4037,"endOffset":4260,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":5081,"endOffset":15159,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname","ranges":[{"startOffset":15190,"endOffset":16135,"count":0}],"isBlockCoverage":false},{"functionName":"autoEscapeStr","ranges":[{"startOffset":17192,"endOffset":17898,"count":0}],"isBlockCoverage":false},{"functionName":"urlFormat","ranges":[{"startOffset":17944,"endOffset":19115,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":19822,"endOffset":22199,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolve","ranges":[{"startOffset":22202,"endOffset":22301,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":22327,"endOffset":22428,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolveObject","ranges":[{"startOffset":22431,"endOffset":22574,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObject","ranges":[{"startOffset":22606,"endOffset":31725,"count":0}],"isBlockCoverage":false},{"functionName":"parseHost","ranges":[{"startOffset":31754,"endOffset":32027,"count":0}],"isBlockCoverage":false},{"functionName":"pathToFileURL","ranges":[{"startOffset":32248,"endOffset":32344,"count":1}],"isBlockCoverage":true}]},{"scriptId":"200","url":"node:internal/idna","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":124,"count":1}],"isBlockCoverage":false}]},{"scriptId":"202","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/chalk.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":351,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":197,"endOffset":350,"count":1},{"startOffset":238,"endOffset":298,"count":0}],"isBlockCoverage":true}]},{"scriptId":"203","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/provider-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":455,"endOffset":1345,"count":1},{"startOffset":1293,"endOffset":1312,"count":0}],"isBlockCoverage":true},{"functionName":"negotiateProtocol","ranges":[{"startOffset":665,"endOffset":1273,"count":1},{"startOffset":840,"endOffset":978,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":748,"endOffset":803,"count":2}],"isBlockCoverage":true},{"functionName":"findFiles","ranges":[{"startOffset":1047,"endOffset":1178,"count":0}],"isBlockCoverage":false},{"functionName":"typescript","ranges":[{"startOffset":1383,"endOffset":1462,"count":1}],"isBlockCoverage":true}]},{"scriptId":"204","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17,"count":1}],"isBlockCoverage":true}]},{"scriptId":"205","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/runner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15654,"count":1}],"isBlockCoverage":true},{"functionName":"makeFileURL","ranges":[{"startOffset":520,"endOffset":594,"count":1},{"startOffset":555,"endOffset":561,"count":0}],"isBlockCoverage":true},{"functionName":"Runner","ranges":[{"startOffset":644,"endOffset":5705,"count":1},{"startOffset":725,"endOffset":730,"count":0},{"startOffset":978,"endOffset":983,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.registerUniqueTitle","ranges":[{"startOffset":1787,"endOffset":1911,"count":1},{"startOffset":1834,"endOffset":1858,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.notifyTimeoutUpdate","ranges":[{"startOffset":1943,"endOffset":2058,"count":0}],"isBlockCoverage":false},{"functionName":"get snapshotDirectory","ranges":[{"startOffset":2187,"endOffset":2366,"count":0}],"isBlockCoverage":false},{"functionName":"Runner.chain.createChain.serial","ranges":[{"startOffset":2401,"endOffset":5489,"count":1},{"startOffset":2480,"endOffset":2630,"count":0},{"startOffset":2925,"endOffset":2990,"count":0},{"startOffset":3014,"endOffset":3813,"count":0},{"startOffset":3846,"endOffset":3965,"count":0},{"startOffset":4006,"endOffset":4093,"count":0},{"startOffset":4134,"endOffset":4205,"count":0},{"startOffset":4267,"endOffset":4522,"count":0},{"startOffset":4600,"endOffset":4669,"count":0},{"startOffset":4714,"endOffset":4730,"count":0},{"startOffset":4870,"endOffset":4992,"count":0},{"startOffset":5028,"endOffset":5072,"count":0},{"startOffset":5106,"endOffset":5116,"count":0},{"startOffset":5365,"endOffset":5480,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2706,"endOffset":2762,"count":1}],"isBlockCoverage":true},{"functionName":"get snapshots","ranges":[{"startOffset":5708,"endOffset":6318,"count":2},{"startOffset":5749,"endOffset":6317,"count":1}],"isBlockCoverage":true},{"functionName":"compareTestSnapshot","ranges":[{"startOffset":6321,"endOffset":6396,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":6399,"endOffset":6472,"count":0}],"isBlockCoverage":false},{"functionName":"saveSnapshotState","ranges":[{"startOffset":6475,"endOffset":6559,"count":1}],"isBlockCoverage":true},{"functionName":"onRun","ranges":[{"startOffset":6562,"endOffset":6620,"count":1}],"isBlockCoverage":true},{"functionName":"onRunComplete","ranges":[{"startOffset":6623,"endOffset":6692,"count":1}],"isBlockCoverage":true},{"functionName":"beforeExitHandler","ranges":[{"startOffset":6695,"endOffset":6809,"count":0}],"isBlockCoverage":false},{"functionName":"runMultiple","ranges":[{"startOffset":6812,"endOffset":8056,"count":6}],"isBlockCoverage":true},{"functionName":"runAndStoreResult","ranges":[{"startOffset":6923,"endOffset":7081,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7150,"endOffset":7998,"count":0}],"isBlockCoverage":false},{"functionName":"runSingle","ranges":[{"startOffset":8059,"endOffset":8330,"count":1}],"isBlockCoverage":true},{"functionName":"runHooks","ranges":[{"startOffset":8333,"endOffset":9506,"count":6},{"startOffset":9070,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8427,"endOffset":8959,"count":0}],"isBlockCoverage":false},{"functionName":"runTest","ranges":[{"startOffset":9509,"endOffset":11470,"count":1},{"startOffset":10007,"endOffset":10073,"count":0},{"startOffset":10940,"endOffset":11271,"count":0}],"isBlockCoverage":true},{"functionName":"Runnable.fn","ranges":[{"startOffset":10009,"endOffset":10073,"count":0}],"isBlockCoverage":false},{"functionName":"start","ranges":[{"startOffset":11473,"endOffset":15605,"count":1},{"startOffset":11619,"endOffset":12250,"count":0},{"startOffset":12327,"endOffset":12354,"count":0},{"startOffset":12356,"endOffset":12443,"count":0},{"startOffset":12484,"endOffset":12510,"count":0},{"startOffset":12512,"endOffset":12599,"count":0},{"startOffset":12810,"endOffset":12883,"count":0},{"startOffset":12906,"endOffset":12940,"count":0},{"startOffset":13028,"endOffset":13347,"count":0},{"startOffset":13425,"endOffset":13452,"count":0},{"startOffset":13454,"endOffset":13550,"count":0},{"startOffset":15547,"endOffset":15602,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13777,"endOffset":14380,"count":1},{"startOffset":13868,"endOffset":13892,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13923,"endOffset":14368,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14460,"endOffset":15058,"count":1},{"startOffset":14653,"endOffset":14669,"count":0},{"startOffset":14672,"endOffset":14696,"count":0},{"startOffset":14767,"endOffset":14790,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14971,"endOffset":15016,"count":1}],"isBlockCoverage":true},{"functionName":"interrupt","ranges":[{"startOffset":15608,"endOffset":15651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"206","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/serialize-error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4398,"count":1}],"isBlockCoverage":true},{"functionName":"isAvaAssertionError","ranges":[{"startOffset":385,"endOffset":467,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":469,"endOffset":614,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFile","ranges":[{"startOffset":616,"endOffset":756,"count":0}],"isBlockCoverage":false},{"functionName":"extractSource","ranges":[{"startOffset":795,"endOffset":1211,"count":0}],"isBlockCoverage":false},{"functionName":"buildSource","ranges":[{"startOffset":1213,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"trySerializeError","ranges":[{"startOffset":1957,"endOffset":3743,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":3760,"endOffset":4397,"count":0}],"isBlockCoverage":false}]},{"scriptId":"207","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/dependency-tracker.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":866,"count":1}],"isBlockCoverage":true},{"functionName":"flush","ranges":[{"startOffset":138,"endOffset":302,"count":2},{"startOffset":192,"endOffset":301,"count":1}],"isBlockCoverage":true},{"functionName":"track","ranges":[{"startOffset":304,"endOffset":519,"count":6},{"startOffset":368,"endOffset":382,"count":0},{"startOffset":419,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"install","ranges":[{"startOffset":556,"endOffset":836,"count":1},{"startOffset":633,"endOffset":833,"count":3}],"isBlockCoverage":true},{"functionName":"extensions.","ranges":[{"startOffset":700,"endOffset":828,"count":5}],"isBlockCoverage":true}]},{"scriptId":"208","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/line-numbers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3832,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":215,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"findTest","ranges":[{"startOffset":878,"endOffset":1452,"count":0}],"isBlockCoverage":false},{"functionName":"range","ranges":[{"startOffset":1468,"endOffset":1574,"count":0}],"isBlockCoverage":false},{"functionName":"translate","ranges":[{"startOffset":1595,"endOffset":2066,"count":0}],"isBlockCoverage":false},{"functionName":"lineNumberSelection","ranges":[{"startOffset":2084,"endOffset":3831,"count":1},{"startOffset":2196,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2334,"endOffset":3828,"count":0}],"isBlockCoverage":false}]},{"scriptId":"209","url":"node:internal/fs/streams","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14758,"count":1}],"isBlockCoverage":false},{"functionName":"_construct","ranges":[{"startOffset":1063,"endOffset":1966,"count":0}],"isBlockCoverage":false},{"functionName":"FileHandleOperations","ranges":[{"startOffset":2059,"endOffset":3058,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":3061,"endOffset":3238,"count":0}],"isBlockCoverage":false},{"functionName":"importFd","ranges":[{"startOffset":3240,"endOffset":4237,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream","ranges":[{"startOffset":4239,"endOffset":5982,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6171,"endOffset":6226,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6230,"endOffset":6287,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6323,"endOffset":6348,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._read","ranges":[{"startOffset":6524,"endOffset":7655,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._destroy","ranges":[{"startOffset":7690,"endOffset":8251,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.close","ranges":[{"startOffset":8283,"endOffset":8369,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8449,"endOffset":8483,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":8512,"endOffset":10303,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":10495,"endOffset":10550,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10554,"endOffset":10611,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10648,"endOffset":10673,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":10824,"endOffset":11617,"count":0}],"isBlockCoverage":false},{"functionName":"writevAll","ranges":[{"startOffset":11619,"endOffset":12436,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._write","ranges":[{"startOffset":12469,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._writev","ranges":[{"startOffset":12888,"endOffset":13450,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._destroy","ranges":[{"startOffset":13486,"endOffset":14047,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.close","ranges":[{"startOffset":14080,"endOffset":14462,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":14644,"endOffset":14678,"count":0}],"isBlockCoverage":false}]},{"scriptId":"210","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5900,"count":1},{"startOffset":1472,"endOffset":1706,"count":45},{"startOffset":2476,"endOffset":3149,"count":3},{"startOffset":5468,"endOffset":5471,"count":0}],"isBlockCoverage":true},{"functionName":"applyOptions","ranges":[{"startOffset":571,"endOffset":950,"count":5},{"startOffset":618,"endOffset":699,"count":3},{"startOffset":701,"endOffset":779,"count":0},{"startOffset":870,"endOffset":873,"count":0},{"startOffset":919,"endOffset":931,"count":2},{"startOffset":932,"endOffset":947,"count":3}],"isBlockCoverage":true},{"functionName":"Chalk","ranges":[{"startOffset":975,"endOffset":1084,"count":3}],"isBlockCoverage":true},{"functionName":"chalkFactory","ranges":[{"startOffset":1109,"endOffset":1275,"count":5}],"isBlockCoverage":true},{"functionName":"chalk","ranges":[{"startOffset":1137,"endOffset":1170,"count":0}],"isBlockCoverage":false},{"functionName":"createChalk","ranges":[{"startOffset":1278,"endOffset":1342,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1499,"endOffset":1699,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1728,"endOffset":1875,"count":0}],"isBlockCoverage":false},{"functionName":"getModelAnsi","ranges":[{"startOffset":1902,"endOffset":2394,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2499,"endOffset":2771,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2866,"endOffset":3142,"count":0}],"isBlockCoverage":false},{"functionName":"Object.defineProperties","ranges":[{"startOffset":3189,"endOffset":3197,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3245,"endOffset":3289,"count":20}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3293,"endOffset":3343,"count":0}],"isBlockCoverage":false},{"functionName":"createStyler","ranges":[{"startOffset":3375,"endOffset":3650,"count":4},{"startOffset":3500,"endOffset":3583,"count":0}],"isBlockCoverage":true},{"functionName":"createBuilder","ranges":[{"startOffset":3675,"endOffset":4243,"count":4}],"isBlockCoverage":true},{"functionName":"builder","ranges":[{"startOffset":3848,"endOffset":3959,"count":20},{"startOffset":3936,"endOffset":3958,"count":0}],"isBlockCoverage":true},{"functionName":"applyStyle","ranges":[{"startOffset":4265,"endOffset":5300,"count":20},{"startOffset":4318,"endOffset":4361,"count":0},{"startOffset":4419,"endOffset":4440,"count":0},{"startOffset":4511,"endOffset":4840,"count":0},{"startOffset":5177,"endOffset":5260,"count":0}],"isBlockCoverage":true}]},{"scriptId":"211","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/globs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6300,"count":1}],"isBlockCoverage":true},{"functionName":"buildExtensionPattern","ranges":[{"startOffset":755,"endOffset":838,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeGlobs","ranges":[{"startOffset":848,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"globFiles","ranges":[{"startOffset":3027,"endOffset":3288,"count":0}],"isBlockCoverage":false},{"functionName":"globDirectoriesSync","ranges":[{"startOffset":3319,"endOffset":3578,"count":0}],"isBlockCoverage":false},{"functionName":"findFiles","ranges":[{"startOffset":3588,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"findTests","ranges":[{"startOffset":3771,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getChokidarIgnorePatterns","ranges":[{"startOffset":3974,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"applyTestFileFilter","ranges":[{"startOffset":4200,"endOffset":6299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"212","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13357,"count":1}],"isBlockCoverage":true},{"functionName":"assertEventName","ranges":[{"startOffset":349,"endOffset":569,"count":14},{"startOffset":422,"endOffset":454,"count":4},{"startOffset":455,"endOffset":487,"count":0},{"startOffset":489,"endOffset":567,"count":0}],"isBlockCoverage":true},{"functionName":"assertListener","ranges":[{"startOffset":571,"endOffset":704,"count":4},{"startOffset":644,"endOffset":702,"count":0}],"isBlockCoverage":true},{"functionName":"getListeners","ranges":[{"startOffset":706,"endOffset":869,"count":14},{"startOffset":821,"endOffset":835,"count":8},{"startOffset":835,"endOffset":868,"count":6}],"isBlockCoverage":true},{"functionName":"getEventProducers","ranges":[{"startOffset":871,"endOffset":1175,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueProducers","ranges":[{"startOffset":1177,"endOffset":1587,"count":10},{"startOffset":1315,"endOffset":1408,"count":0},{"startOffset":1550,"endOffset":1582,"count":0}],"isBlockCoverage":true},{"functionName":"iterator","ranges":[{"startOffset":1589,"endOffset":2972,"count":0}],"isBlockCoverage":false},{"functionName":"defaultMethodNamesOrAssert","ranges":[{"startOffset":2974,"endOffset":3495,"count":0}],"isBlockCoverage":false},{"functionName":"isMetaEvent","ranges":[{"startOffset":3517,"endOffset":3590,"count":28},{"startOffset":3558,"endOffset":3590,"count":16}],"isBlockCoverage":true},{"functionName":"emitMetaEvent","ranges":[{"startOffset":3593,"endOffset":3808,"count":4}],"isBlockCoverage":true},{"functionName":"mixin","ranges":[{"startOffset":3850,"endOffset":4933,"count":0}],"isBlockCoverage":false},{"functionName":"get isDebugEnabled","ranges":[{"startOffset":4943,"endOffset":5528,"count":14},{"startOffset":5304,"endOffset":5341,"count":0},{"startOffset":5432,"endOffset":5444,"count":0}],"isBlockCoverage":true},{"functionName":"set isDebugEnabled","ranges":[{"startOffset":5538,"endOffset":5606,"count":0}],"isBlockCoverage":false},{"functionName":"Emittery","ranges":[{"startOffset":5609,"endOffset":6731,"count":1}],"isBlockCoverage":true},{"functionName":"Emittery.debug.logger","ranges":[{"startOffset":5961,"endOffset":6723,"count":0}],"isBlockCoverage":false},{"functionName":"logIfDebugEnabled","ranges":[{"startOffset":6734,"endOffset":6910,"count":14},{"startOffset":6835,"endOffset":6907,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":6913,"endOffset":7515,"count":4},{"startOffset":7010,"endOffset":7022,"count":0}],"isBlockCoverage":true},{"functionName":"off","ranges":[{"startOffset":7518,"endOffset":8087,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":8090,"endOffset":8292,"count":0}],"isBlockCoverage":false},{"functionName":"events","ranges":[{"startOffset":8295,"endOffset":8501,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":8504,"endOffset":9384,"count":10},{"startOffset":8599,"endOffset":8620,"count":4},{"startOffset":8622,"endOffset":8724,"count":0},{"startOffset":8882,"endOffset":8894,"count":4},{"startOffset":9031,"endOffset":9035,"count":4},{"startOffset":9036,"endOffset":9055,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9131,"endOffset":9229,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9261,"endOffset":9373,"count":0}],"isBlockCoverage":false},{"functionName":"emitSerial","ranges":[{"startOffset":9387,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"onAny","ranges":[{"startOffset":10237,"endOffset":10478,"count":0}],"isBlockCoverage":false},{"functionName":"anyEvent","ranges":[{"startOffset":10481,"endOffset":10521,"count":0}],"isBlockCoverage":false},{"functionName":"offAny","ranges":[{"startOffset":10524,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"clearListeners","ranges":[{"startOffset":10733,"endOffset":11739,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":11742,"endOffset":12458,"count":0}],"isBlockCoverage":false},{"functionName":"bindMethods","ranges":[{"startOffset":12461,"endOffset":12966,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13051,"endOffset":13075,"count":14}],"isBlockCoverage":true}]},{"scriptId":"213","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/matcher/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2646,"count":1}],"isBlockCoverage":true},{"functionName":"sanitizeArray","ranges":[{"startOffset":110,"endOffset":713,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegexp","ranges":[{"startOffset":735,"endOffset":1261,"count":0}],"isBlockCoverage":false},{"functionName":"baseMatcher","ranges":[{"startOffset":1284,"endOffset":2412,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2422,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"isMatch","ranges":[{"startOffset":2533,"endOffset":2645,"count":0}],"isBlockCoverage":false}]},{"scriptId":"214","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/context-ref.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":555,"count":1}],"isBlockCoverage":true},{"functionName":"ContextRef","ranges":[{"startOffset":35,"endOffset":72,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":75,"endOffset":106,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":109,"endOffset":152,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":155,"endOffset":198,"count":1}],"isBlockCoverage":true},{"functionName":"LateBinding","ranges":[{"startOffset":242,"endOffset":314,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":317,"endOffset":487,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":490,"endOffset":552,"count":0}],"isBlockCoverage":false}]},{"scriptId":"215","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/create-chain.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4371,"count":1}],"isBlockCoverage":true},{"functionName":"startChain","ranges":[{"startOffset":38,"endOffset":265,"count":11}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":94,"endOffset":140,"count":1}],"isBlockCoverage":true},{"functionName":"extendChain","ranges":[{"startOffset":267,"endOffset":633,"count":27},{"startOffset":324,"endOffset":343,"count":7}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":357,"endOffset":412,"count":0}],"isBlockCoverage":false},{"functionName":"callWithFlag","ranges":[{"startOffset":635,"endOffset":965,"count":0}],"isBlockCoverage":false},{"functionName":"createHookChain","ranges":[{"startOffset":967,"endOffset":1316,"count":8},{"startOffset":1217,"endOffset":1299,"count":4}],"isBlockCoverage":true},{"functionName":"createChain","ranges":[{"startOffset":1333,"endOffset":4370,"count":1}],"isBlockCoverage":true},{"functionName":"root.macro","ranges":[{"startOffset":3411,"endOffset":3580,"count":0}],"isBlockCoverage":false},{"functionName":"apply","ranges":[{"startOffset":4105,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4196,"endOffset":4341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"216","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/parse-test-args.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":701,"count":1}],"isBlockCoverage":true},{"functionName":"buildTitle","ranges":[{"startOffset":19,"endOffset":366,"count":1},{"startOffset":104,"endOffset":140,"count":0}],"isBlockCoverage":true},{"functionName":"parseTestArgs","ranges":[{"startOffset":384,"endOffset":700,"count":1},{"startOffset":476,"endOffset":487,"count":0},{"startOffset":602,"endOffset":623,"count":0}],"isBlockCoverage":true}]},{"scriptId":"217","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/snapshot-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13174,"count":1}],"isBlockCoverage":true},{"functionName":"SnapshotError","ranges":[{"startOffset":1259,"endOffset":1371,"count":0}],"isBlockCoverage":false},{"functionName":"ChecksumError","ranges":[{"startOffset":1427,"endOffset":1524,"count":0}],"isBlockCoverage":false},{"functionName":"VersionMismatchError","ranges":[{"startOffset":1587,"endOffset":1774,"count":0}],"isBlockCoverage":false},{"functionName":"InvalidSnapshotError","ranges":[{"startOffset":1837,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"isLegacySnapshot","ranges":[{"startOffset":2016,"endOffset":2144,"count":0}],"isBlockCoverage":false},{"functionName":"LegacyError","ranges":[{"startOffset":2196,"endOffset":2294,"count":0}],"isBlockCoverage":false},{"functionName":"tryRead","ranges":[{"startOffset":2298,"endOffset":2454,"count":1},{"startOffset":2433,"endOffset":2452,"count":0}],"isBlockCoverage":true},{"functionName":"formatEntry","ranges":[{"startOffset":2456,"endOffset":2875,"count":0}],"isBlockCoverage":false},{"functionName":"combineEntries","ranges":[{"startOffset":2877,"endOffset":3292,"count":0}],"isBlockCoverage":false},{"functionName":"generateReport","ranges":[{"startOffset":3294,"endOffset":3611,"count":0}],"isBlockCoverage":false},{"functionName":"BufferBuilder","ranges":[{"startOffset":3636,"endOffset":3698,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":3701,"endOffset":3818,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3821,"endOffset":4011,"count":0}],"isBlockCoverage":false},{"functionName":"toBuffer","ranges":[{"startOffset":4014,"endOffset":4084,"count":0}],"isBlockCoverage":false},{"functionName":"sortBlocks","ranges":[{"startOffset":4088,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"encodeSnapshots","ranges":[{"startOffset":4450,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"decodeSnapshots","ranges":[{"startOffset":5016,"endOffset":5987,"count":0}],"isBlockCoverage":false},{"functionName":"Manager","ranges":[{"startOffset":6006,"endOffset":6530,"count":1}],"isBlockCoverage":true},{"functionName":"touch","ranges":[{"startOffset":6533,"endOffset":6604,"count":1}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":6607,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"recordSerialized","ranges":[{"startOffset":7345,"endOffset":8027,"count":0}],"isBlockCoverage":false},{"functionName":"deferRecord","ranges":[{"startOffset":8030,"endOffset":8370,"count":0}],"isBlockCoverage":false},{"functionName":"record","ranges":[{"startOffset":8373,"endOffset":8449,"count":0}],"isBlockCoverage":false},{"functionName":"skipBlock","ranges":[{"startOffset":8452,"endOffset":8587,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":8590,"endOffset":9164,"count":0}],"isBlockCoverage":false},{"functionName":"save","ranges":[{"startOffset":9167,"endOffset":10106,"count":1},{"startOffset":9266,"endOffset":9301,"count":0},{"startOffset":9303,"endOffset":9421,"count":0},{"startOffset":9468,"endOffset":10105,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9565,"endOffset":9604,"count":0}],"isBlockCoverage":false},{"functionName":"tmpfileCreated","ranges":[{"startOffset":9845,"endOffset":9878,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10140,"endOffset":10658,"count":1},{"startOffset":10399,"endOffset":10420,"count":0},{"startOffset":10441,"endOffset":10632,"count":0},{"startOffset":10635,"endOffset":10655,"count":0}],"isBlockCoverage":true},{"functionName":"mem.cacheKey.file.file","ranges":[{"startOffset":10702,"endOffset":11285,"count":1},{"startOffset":10819,"endOffset":10947,"count":0},{"startOffset":11054,"endOffset":11104,"count":0},{"startOffset":11265,"endOffset":11284,"count":0}],"isBlockCoverage":true},{"functionName":"cacheKey","ranges":[{"startOffset":11298,"endOffset":11316,"count":1}],"isBlockCoverage":true},{"functionName":"determineSnapshotPaths","ranges":[{"startOffset":11321,"endOffset":11775,"count":1}],"isBlockCoverage":true},{"functionName":"cleanFile","ranges":[{"startOffset":11777,"endOffset":11941,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":11950,"endOffset":13173,"count":1},{"startOffset":12141,"endOffset":12274,"count":0},{"startOffset":12552,"endOffset":13125,"count":0},{"startOffset":13126,"endOffset":13141,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12700,"endOffset":12737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"218","url":"node:internal/file","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1801,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":424,"endOffset":1563,"count":0}],"isBlockCoverage":false}]},{"scriptId":"219","url":"node:crypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8825,"count":1}],"isBlockCoverage":false},{"functionName":"lazyWebCrypto","ranges":[{"startOffset":3084,"endOffset":3186,"count":6}],"isBlockCoverage":true},{"functionName":"lazyOwnsProcessState","ranges":[{"startOffset":3210,"endOffset":3340,"count":0}],"isBlockCoverage":false},{"functionName":"createHash","ranges":[{"startOffset":3482,"endOffset":3564,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3566,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"createCipheriv","ranges":[{"startOffset":3668,"endOffset":3770,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipher","ranges":[{"startOffset":3772,"endOffset":3876,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipheriv","ranges":[{"startOffset":3878,"endOffset":3984,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellman","ranges":[{"startOffset":3986,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellmanGroup","ranges":[{"startOffset":4144,"endOffset":4226,"count":0}],"isBlockCoverage":false},{"functionName":"createECDH","ranges":[{"startOffset":4228,"endOffset":4284,"count":0}],"isBlockCoverage":false},{"functionName":"createHmac","ranges":[{"startOffset":4286,"endOffset":4368,"count":0}],"isBlockCoverage":false},{"functionName":"createSign","ranges":[{"startOffset":4370,"endOffset":4452,"count":0}],"isBlockCoverage":false},{"functionName":"createVerify","ranges":[{"startOffset":4454,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"getFips","ranges":[{"startOffset":5583,"endOffset":5668,"count":0}],"isBlockCoverage":false},{"functionName":"setFips","ranges":[{"startOffset":5670,"endOffset":5954,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":5956,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6125,"endOffset":6379,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6383,"endOffset":6572,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomBytesAlias","ranges":[{"startOffset":6621,"endOffset":7454,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6719,"endOffset":7209,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7215,"endOffset":7446,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8198,"endOffset":8238,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8350,"endOffset":8397,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8523,"endOffset":8544,"count":3}],"isBlockCoverage":true}]},{"scriptId":"220","url":"node:internal/crypto/random","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16246,"count":1}],"isBlockCoverage":false},{"functionName":"assertOffset","ranges":[{"startOffset":1260,"endOffset":1626,"count":0}],"isBlockCoverage":false},{"functionName":"assertSize","ranges":[{"startOffset":1628,"endOffset":2089,"count":0}],"isBlockCoverage":false},{"functionName":"randomBytes","ranges":[{"startOffset":2091,"endOffset":2634,"count":0}],"isBlockCoverage":false},{"functionName":"randomFillSync","ranges":[{"startOffset":2636,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"randomFill","ranges":[{"startOffset":3306,"endOffset":4352,"count":0}],"isBlockCoverage":false},{"functionName":"randomInt","ranges":[{"startOffset":4902,"endOffset":7142,"count":0}],"isBlockCoverage":false},{"functionName":"asyncRefillRandomIntCache","ranges":[{"startOffset":7144,"endOffset":8020,"count":0}],"isBlockCoverage":false},{"functionName":"onJobDone","ranges":[{"startOffset":8023,"endOffset":8185,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":8417,"endOffset":9033,"count":0}],"isBlockCoverage":false},{"functionName":"getHexBytes","ranges":[{"startOffset":9398,"endOffset":9697,"count":0}],"isBlockCoverage":false},{"functionName":"serializeUUID","ranges":[{"startOffset":9699,"endOffset":10425,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedUUID","ranges":[{"startOffset":10427,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"getUnbufferedUUID","ranges":[{"startOffset":10732,"endOffset":10970,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":10972,"endOffset":11292,"count":0}],"isBlockCoverage":false},{"functionName":"createRandomPrimeJob","ranges":[{"startOffset":11294,"endOffset":12527,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrime","ranges":[{"startOffset":12529,"endOffset":12985,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrimeSync","ranges":[{"startOffset":12987,"endOffset":13245,"count":0}],"isBlockCoverage":false},{"functionName":"numberToHexCharCode","ranges":[{"startOffset":13519,"endOffset":13563,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBufferToUnsignedBigInt","ranges":[{"startOffset":13638,"endOffset":14065,"count":0}],"isBlockCoverage":false},{"functionName":"unsignedBigIntToBuffer","ranges":[{"startOffset":14067,"endOffset":14364,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrime","ranges":[{"startOffset":14366,"endOffset":15259,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrimeSync","ranges":[{"startOffset":15261,"endOffset":16059,"count":0}],"isBlockCoverage":false}]},{"scriptId":"221","url":"node:internal/crypto/pbkdf2","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3018,"count":1}],"isBlockCoverage":false},{"functionName":"pbkdf2","ranges":[{"startOffset":472,"endOffset":1136,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2Sync","ranges":[{"startOffset":1138,"endOffset":1543,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1545,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2DeriveBits","ranges":[{"startOffset":2059,"endOffset":2950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"222","url":"node:internal/crypto/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14973,"count":1}],"isBlockCoverage":false},{"functionName":"toBuf","ranges":[{"startOffset":1730,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1943,"endOffset":1986,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2020,"endOffset":2062,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2096,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"setEngine","ranges":[{"startOffset":2142,"endOffset":2549,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2596,"endOffset":3060,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBufferLength","ranges":[{"startOffset":6504,"endOffset":6717,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeAlgorithm","ranges":[{"startOffset":6943,"endOffset":9378,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayBuffer","ranges":[{"startOffset":9380,"endOffset":9519,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteOffset","ranges":[{"startOffset":9521,"endOffset":9672,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteLength","ranges":[{"startOffset":9674,"endOffset":9825,"count":0}],"isBlockCoverage":false},{"functionName":"hasAnyNotIn","ranges":[{"startOffset":9827,"endOffset":9966,"count":0}],"isBlockCoverage":false},{"functionName":"validateBitLength","ranges":[{"startOffset":9968,"endOffset":10310,"count":0}],"isBlockCoverage":false},{"functionName":"validateByteLength","ranges":[{"startOffset":10312,"endOffset":10508,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10553,"endOffset":10822,"count":0}],"isBlockCoverage":false},{"functionName":"onDone","ranges":[{"startOffset":10826,"endOffset":11058,"count":0}],"isBlockCoverage":false},{"functionName":"jobPromise","ranges":[{"startOffset":11060,"endOffset":11330,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedInt","ranges":[{"startOffset":11866,"endOffset":12146,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedBigInt","ranges":[{"startOffset":12148,"endOffset":12384,"count":0}],"isBlockCoverage":false},{"functionName":"getStringOption","ranges":[{"startOffset":12386,"endOffset":12551,"count":0}],"isBlockCoverage":false},{"functionName":"getUsagesUnion","ranges":[{"startOffset":12553,"endOffset":12765,"count":0}],"isBlockCoverage":false},{"functionName":"getBlockSize","ranges":[{"startOffset":12767,"endOffset":12948,"count":0}],"isBlockCoverage":false},{"functionName":"validateKeyOps","ranges":[{"startOffset":13087,"endOffset":14053,"count":0}],"isBlockCoverage":false},{"functionName":"secureHeapUsed","ranges":[{"startOffset":14055,"endOffset":14438,"count":0}],"isBlockCoverage":false}]},{"scriptId":"223","url":"node:internal/crypto/hashnames","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2520,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeHashName","ranges":[{"startOffset":1890,"endOffset":2133,"count":0}],"isBlockCoverage":false}]},{"scriptId":"224","url":"node:internal/crypto/scrypt","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3331,"count":1}],"isBlockCoverage":false},{"functionName":"scrypt","ranges":[{"startOffset":626,"endOffset":1292,"count":0}],"isBlockCoverage":false},{"functionName":"scryptSync","ranges":[{"startOffset":1294,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1702,"endOffset":3283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"225","url":"node:internal/crypto/hkdf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3304,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":816,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"prepareKey","ranges":[{"startOffset":1274,"endOffset":1702,"count":0}],"isBlockCoverage":false},{"functionName":"hkdf","ranges":[{"startOffset":1704,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfSync","ranges":[{"startOffset":2172,"endOffset":2510,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfDeriveBits","ranges":[{"startOffset":2549,"endOffset":3242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"226","url":"node:internal/crypto/keys","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21401,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2331,"endOffset":6452,"count":1}],"isBlockCoverage":true},{"functionName":"KeyObject","ranges":[{"startOffset":2441,"endOffset":2983,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":2989,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":3049,"endOffset":3190,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":3196,"endOffset":3480,"count":0}],"isBlockCoverage":false},{"functionName":"SecretKeyObject","ranges":[{"startOffset":3698,"endOffset":3756,"count":0}],"isBlockCoverage":false},{"functionName":"get symmetricKeySize","ranges":[{"startOffset":3762,"endOffset":3842,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":3848,"endOffset":4196,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeKeyDetails","ranges":[{"startOffset":4329,"endOffset":4598,"count":0}],"isBlockCoverage":false},{"functionName":"AsymmetricKeyObject","ranges":[{"startOffset":4707,"endOffset":4767,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyType","ranges":[{"startOffset":4773,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyDetails","ranges":[{"startOffset":4931,"endOffset":5308,"count":0}],"isBlockCoverage":false},{"functionName":"PublicKeyObject","ranges":[{"startOffset":5372,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5436,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"PrivateKeyObject","ranges":[{"startOffset":5792,"endOffset":5851,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5857,"endOffset":6371,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormat","ranges":[{"startOffset":6456,"endOffset":6841,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyType","ranges":[{"startOffset":6843,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"option","ranges":[{"startOffset":7697,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormatAndType","ranges":[{"startOffset":7820,"endOffset":8520,"count":0}],"isBlockCoverage":false},{"functionName":"isStringOrBuffer","ranges":[{"startOffset":8522,"endOffset":8659,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":8661,"endOffset":10019,"count":0}],"isBlockCoverage":false},{"functionName":"parsePublicKeyEncoding","ranges":[{"startOffset":10218,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"parsePrivateKeyEncoding","ranges":[{"startOffset":10554,"endOffset":10670,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandle","ranges":[{"startOffset":10672,"endOffset":11250,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyTypes","ranges":[{"startOffset":11252,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandleFromJwk","ranges":[{"startOffset":11759,"endOffset":14308,"count":0}],"isBlockCoverage":false},{"functionName":"prepareAsymmetricKey","ranges":[{"startOffset":14310,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"preparePrivateKey","ranges":[{"startOffset":15855,"endOffset":15943,"count":0}],"isBlockCoverage":false},{"functionName":"preparePublicOrPrivateKey","ranges":[{"startOffset":15945,"endOffset":16040,"count":0}],"isBlockCoverage":false},{"functionName":"prepareSecretKey","ranges":[{"startOffset":16042,"endOffset":16740,"count":0}],"isBlockCoverage":false},{"functionName":"createSecretKey","ranges":[{"startOffset":16742,"endOffset":16946,"count":0}],"isBlockCoverage":false},{"functionName":"createPublicKey","ranges":[{"startOffset":16948,"endOffset":17285,"count":0}],"isBlockCoverage":false},{"functionName":"createPrivateKey","ranges":[{"startOffset":17287,"endOffset":17628,"count":0}],"isBlockCoverage":false},{"functionName":"isKeyObject","ranges":[{"startOffset":17630,"endOffset":17712,"count":0}],"isBlockCoverage":false},{"functionName":"CryptoKey","ranges":[{"startOffset":18135,"endOffset":18195,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18199,"endOffset":18548,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":18552,"endOffset":18687,"count":0}],"isBlockCoverage":false},{"functionName":"get extractable","ranges":[{"startOffset":18691,"endOffset":18830,"count":0}],"isBlockCoverage":false},{"functionName":"get algorithm","ranges":[{"startOffset":18834,"endOffset":18969,"count":0}],"isBlockCoverage":false},{"functionName":"get usages","ranges":[{"startOffset":18973,"endOffset":19116,"count":0}],"isBlockCoverage":false},{"functionName":"InternalCryptoKey","ranges":[{"startOffset":19694,"endOffset":20173,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20177,"endOffset":20529,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20533,"endOffset":20737,"count":0}],"isBlockCoverage":false},{"functionName":"isCryptoKey","ranges":[{"startOffset":20866,"endOffset":20950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"227","url":"node:internal/crypto/keygen","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10712,"count":1}],"isBlockCoverage":false},{"functionName":"isJwk","ranges":[{"startOffset":1183,"endOffset":1253,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":1255,"endOffset":1409,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPair","ranges":[{"startOffset":1411,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPairSync","ranges":[{"startOffset":2193,"endOffset":2310,"count":0}],"isBlockCoverage":false},{"functionName":"handleError","ranges":[{"startOffset":2312,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":2692,"endOffset":3942,"count":0}],"isBlockCoverage":false},{"functionName":"createJob","ranges":[{"startOffset":3944,"endOffset":9232,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyJob","ranges":[{"startOffset":9263,"endOffset":9800,"count":0}],"isBlockCoverage":false},{"functionName":"handleGenerateKeyError","ranges":[{"startOffset":9802,"endOffset":10004,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":10006,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeySync","ranges":[{"startOffset":10478,"endOffset":10612,"count":0}],"isBlockCoverage":false}]},{"scriptId":"228","url":"node:internal/crypto/diffiehellman","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9910,"count":1}],"isBlockCoverage":false},{"functionName":"DiffieHellman","ranges":[{"startOffset":1232,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"DiffieHellmanGroup","ranges":[{"startOffset":3039,"endOffset":3365,"count":0}],"isBlockCoverage":false},{"functionName":"dhGenerateKeys","ranges":[{"startOffset":3476,"endOffset":3591,"count":0}],"isBlockCoverage":false},{"functionName":"dhComputeSecret","ranges":[{"startOffset":3705,"endOffset":3963,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrime","ranges":[{"startOffset":4062,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetGenerator","ranges":[{"startOffset":4282,"endOffset":4407,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPublicKey","ranges":[{"startOffset":4518,"endOffset":4631,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrivateKey","ranges":[{"startOffset":4745,"endOffset":4860,"count":0}],"isBlockCoverage":false},{"functionName":"setPublicKey","ranges":[{"startOffset":4902,"endOffset":5044,"count":0}],"isBlockCoverage":false},{"functionName":"setPrivateKey","ranges":[{"startOffset":5088,"endOffset":5232,"count":0}],"isBlockCoverage":false},{"functionName":"ECDH","ranges":[{"startOffset":5236,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeys","ranges":[{"startOffset":5701,"endOffset":5823,"count":0}],"isBlockCoverage":false},{"functionName":"getPublicKey","ranges":[{"startOffset":5856,"endOffset":6007,"count":0}],"isBlockCoverage":false},{"functionName":"convertKey","ranges":[{"startOffset":6028,"endOffset":6294,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6297,"endOffset":6432,"count":0}],"isBlockCoverage":false},{"functionName":"getFormat","ranges":[{"startOffset":6434,"endOffset":6757,"count":0}],"isBlockCoverage":false},{"functionName":"diffieHellman","ranges":[{"startOffset":6831,"endOffset":7899,"count":0}],"isBlockCoverage":false},{"functionName":"ecdhDeriveBits","ranges":[{"startOffset":8018,"endOffset":9804,"count":0}],"isBlockCoverage":false}]},{"scriptId":"229","url":"node:internal/crypto/cipher","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10199,"count":1}],"isBlockCoverage":false},{"functionName":"rsaFunctionFor","ranges":[{"startOffset":1233,"endOffset":1981,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1301,"endOffset":1978,"count":0}],"isBlockCoverage":false},{"functionName":"getDecoder","ranges":[{"startOffset":2482,"endOffset":2848,"count":0}],"isBlockCoverage":false},{"functionName":"getUIntOption","ranges":[{"startOffset":2850,"endOffset":3084,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherBase","ranges":[{"startOffset":3086,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3507,"endOffset":3742,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherWithIV","ranges":[{"startOffset":3744,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"Cipher","ranges":[{"startOffset":4326,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":4670,"endOffset":4786,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":4815,"endOffset":4953,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":4982,"endOffset":5498,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5527,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"setAutoPadding","ranges":[{"startOffset":5809,"endOffset":5956,"count":0}],"isBlockCoverage":false},{"functionName":"getAuthTag","ranges":[{"startOffset":5989,"endOffset":6149,"count":0}],"isBlockCoverage":false},{"functionName":"setAuthTag","ranges":[{"startOffset":6153,"endOffset":6365,"count":0}],"isBlockCoverage":false},{"functionName":"setAAD","ranges":[{"startOffset":6393,"endOffset":6735,"count":0}],"isBlockCoverage":false},{"functionName":"Cipheriv","ranges":[{"startOffset":6983,"endOffset":7193,"count":0}],"isBlockCoverage":false},{"functionName":"addCipherPrototypeFunctions","ranges":[{"startOffset":7195,"endOffset":7786,"count":3},{"startOffset":7591,"endOffset":7664,"count":1},{"startOffset":7664,"endOffset":7726,"count":2}],"isBlockCoverage":true},{"functionName":"Decipher","ranges":[{"startOffset":8187,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"Decipheriv","ranges":[{"startOffset":8800,"endOffset":9017,"count":0}],"isBlockCoverage":false},{"functionName":"getCipherInfo","ranges":[{"startOffset":9179,"endOffset":10040,"count":0}],"isBlockCoverage":false}]},{"scriptId":"230","url":"node:internal/streams/lazy_transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1535,"count":1}],"isBlockCoverage":false},{"functionName":"LazyTransform","ranges":[{"startOffset":401,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"makeGetter","ranges":[{"startOffset":595,"endOffset":918,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":632,"endOffset":915,"count":0}],"isBlockCoverage":false},{"functionName":"makeSetter","ranges":[{"startOffset":920,"endOffset":1139,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":957,"endOffset":1136,"count":0}],"isBlockCoverage":false}]},{"scriptId":"231","url":"node:internal/crypto/sig","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6942,"count":1}],"isBlockCoverage":false},{"functionName":"Sign","ranges":[{"startOffset":870,"endOffset":1129,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":1252,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":1371,"endOffset":1684,"count":0}],"isBlockCoverage":false},{"functionName":"getPadding","ranges":[{"startOffset":1687,"endOffset":1762,"count":0}],"isBlockCoverage":false},{"functionName":"getSaltLength","ranges":[{"startOffset":1764,"endOffset":1845,"count":0}],"isBlockCoverage":false},{"functionName":"getDSASignatureEncoding","ranges":[{"startOffset":1847,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"getIntOption","ranges":[{"startOffset":2201,"endOffset":2446,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":2470,"endOffset":3086,"count":0}],"isBlockCoverage":false},{"functionName":"signOneShot","ranges":[{"startOffset":3089,"endOffset":4307,"count":0}],"isBlockCoverage":false},{"functionName":"Verify","ranges":[{"startOffset":4309,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":4804,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"verifyOneShot","ranges":[{"startOffset":5390,"endOffset":6868,"count":0}],"isBlockCoverage":false}]},{"scriptId":"232","url":"node:internal/crypto/hash","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4553,"count":1}],"isBlockCoverage":false},{"functionName":"Hash","ranges":[{"startOffset":954,"endOffset":1474,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":1605,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1804,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":1936,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":2043,"endOffset":2507,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":2535,"endOffset":2856,"count":0}],"isBlockCoverage":false},{"functionName":"Hmac","ranges":[{"startOffset":2859,"endOffset":3259,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":3440,"endOffset":3872,"count":0}],"isBlockCoverage":false},{"functionName":"asyncDigest","ranges":[{"startOffset":4027,"endOffset":4498,"count":0}],"isBlockCoverage":false}]},{"scriptId":"233","url":"node:internal/crypto/x509","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9909,"count":1}],"isBlockCoverage":false},{"functionName":"isX509Certificate","ranges":[{"startOffset":1155,"endOffset":1238,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":1240,"endOffset":2485,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2487,"endOffset":2649,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2651,"endOffset":9663,"count":0}],"isBlockCoverage":false}]},{"scriptId":"234","url":"node:internal/crypto/certificate","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1546,"count":1}],"isBlockCoverage":false},{"functionName":"verifySpkac","ranges":[{"startOffset":385,"endOffset":505,"count":0}],"isBlockCoverage":false},{"functionName":"exportPublicKey","ranges":[{"startOffset":507,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"exportChallenge","ranges":[{"startOffset":637,"endOffset":765,"count":0}],"isBlockCoverage":false},{"functionName":"Certificate","ranges":[{"startOffset":1122,"endOffset":1216,"count":0}],"isBlockCoverage":false}]},{"scriptId":"235","url":"node:internal/crypto/webcrypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30940,"count":1}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":1190,"endOffset":1799,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":1801,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":1913,"endOffset":4408,"count":0}],"isBlockCoverage":false},{"functionName":"deriveBits","ranges":[{"startOffset":4410,"endOffset":5970,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyLength","ranges":[{"startOffset":5972,"endOffset":6592,"count":0}],"isBlockCoverage":false},{"functionName":"deriveKey","ranges":[{"startOffset":6594,"endOffset":8774,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeySpki","ranges":[{"startOffset":8776,"endOffset":9754,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyPkcs8","ranges":[{"startOffset":9756,"endOffset":10743,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyRaw","ranges":[{"startOffset":10745,"endOffset":11678,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyJWK","ranges":[{"startOffset":11680,"endOffset":13210,"count":0}],"isBlockCoverage":false},{"functionName":"exportKey","ranges":[{"startOffset":13212,"endOffset":14072,"count":0}],"isBlockCoverage":false},{"functionName":"importGenericSecretKey","ranges":[{"startOffset":14074,"endOffset":15424,"count":0}],"isBlockCoverage":false},{"functionName":"importKey","ranges":[{"startOffset":15426,"endOffset":18168,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":18261,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapKey","ranges":[{"startOffset":19891,"endOffset":21854,"count":0}],"isBlockCoverage":false},{"functionName":"signVerify","ranges":[{"startOffset":21856,"endOffset":22959,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":22961,"endOffset":23587,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":23589,"endOffset":24346,"count":0}],"isBlockCoverage":false},{"functionName":"cipherOrWrap","ranges":[{"startOffset":24348,"endOffset":25759,"count":0}],"isBlockCoverage":false},{"functionName":"encrypt","ranges":[{"startOffset":25761,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"decrypt","ranges":[{"startOffset":26489,"endOffset":27215,"count":0}],"isBlockCoverage":false},{"functionName":"SubtleCrypto","ranges":[{"startOffset":27371,"endOffset":27431,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27466,"endOffset":27479,"count":1}],"isBlockCoverage":true},{"functionName":"Crypto","ranges":[{"startOffset":27518,"endOffset":27578,"count":0}],"isBlockCoverage":true},{"functionName":"get subtle","ranges":[{"startOffset":27582,"endOffset":27682,"count":3},{"startOffset":27622,"endOffset":27659,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27717,"endOffset":27730,"count":1}],"isBlockCoverage":true},{"functionName":"getRandomValues","ranges":[{"startOffset":27746,"endOffset":28079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"236","url":"node:zlib","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29534,"count":1}],"isBlockCoverage":false},{"functionName":"zlibBuffer","ranges":[{"startOffset":3530,"endOffset":4157,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnData","ranges":[{"startOffset":4159,"endOffset":4490,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnError","ranges":[{"startOffset":4492,"endOffset":4577,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnEnd","ranges":[{"startOffset":4579,"endOffset":4909,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferSync","ranges":[{"startOffset":4911,"endOffset":5452,"count":0}],"isBlockCoverage":false},{"functionName":"zlibOnError","ranges":[{"startOffset":5454,"endOffset":5768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5993,"endOffset":6329,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6633,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase","ranges":[{"startOffset":7161,"endOffset":9213,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9438,"endOffset":9475,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9918,"endOffset":9964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10111,"endOffset":10163,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.reset","ranges":[{"startOffset":10304,"endOffset":10412,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._flush","ranges":[{"startOffset":10558,"endOffset":10630,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._final","ranges":[{"startOffset":10697,"endOffset":10733,"count":0}],"isBlockCoverage":false},{"functionName":"maxFlush","ranges":[{"startOffset":11331,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.flush","ranges":[{"startOffset":11847,"endOffset":12249,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.close","ranges":[{"startOffset":12279,"endOffset":12361,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._destroy","ranges":[{"startOffset":12394,"endOffset":12454,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._transform","ranges":[{"startOffset":12489,"endOffset":13023,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._processChunk","ranges":[{"startOffset":13061,"endOffset":13290,"count":0}],"isBlockCoverage":false},{"functionName":"processChunkSync","ranges":[{"startOffset":13293,"endOffset":15578,"count":0}],"isBlockCoverage":false},{"functionName":"processChunk","ranges":[{"startOffset":15580,"endOffset":16170,"count":0}],"isBlockCoverage":false},{"functionName":"processCallback","ranges":[{"startOffset":16172,"endOffset":18474,"count":0}],"isBlockCoverage":false},{"functionName":"_close","ranges":[{"startOffset":18476,"endOffset":18666,"count":0}],"isBlockCoverage":false},{"functionName":"Zlib","ranges":[{"startOffset":18863,"endOffset":21181,"count":0}],"isBlockCoverage":false},{"functionName":"paramsAfterFlushCallback","ranges":[{"startOffset":21531,"endOffset":21797,"count":0}],"isBlockCoverage":false},{"functionName":"params","ranges":[{"startOffset":21823,"endOffset":22290,"count":0}],"isBlockCoverage":false},{"functionName":"Deflate","ranges":[{"startOffset":22334,"endOffset":22469,"count":0}],"isBlockCoverage":false},{"functionName":"Inflate","ranges":[{"startOffset":22565,"endOffset":22700,"count":0}],"isBlockCoverage":false},{"functionName":"Gzip","ranges":[{"startOffset":22796,"endOffset":22919,"count":0}],"isBlockCoverage":false},{"functionName":"Gunzip","ranges":[{"startOffset":23009,"endOffset":23140,"count":0}],"isBlockCoverage":false},{"functionName":"DeflateRaw","ranges":[{"startOffset":23234,"endOffset":23439,"count":0}],"isBlockCoverage":false},{"functionName":"InflateRaw","ranges":[{"startOffset":23541,"endOffset":23688,"count":0}],"isBlockCoverage":false},{"functionName":"Unzip","ranges":[{"startOffset":23790,"endOffset":23917,"count":0}],"isBlockCoverage":false},{"functionName":"createConvenienceMethod","ranges":[{"startOffset":24009,"endOffset":24398,"count":18},{"startOffset":24068,"endOffset":24397,"count":9}],"isBlockCoverage":true},{"functionName":"syncBufferWrapper","ranges":[{"startOffset":24081,"endOffset":24182,"count":0}],"isBlockCoverage":false},{"functionName":"asyncBufferWrapper","ranges":[{"startOffset":24197,"endOffset":24395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24483,"endOffset":24570,"count":107},{"startOffset":24541,"endOffset":24561,"count":9},{"startOffset":24562,"endOffset":24569,"count":98}],"isBlockCoverage":true},{"functionName":"Brotli","ranges":[{"startOffset":24789,"endOffset":26126,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliCompress","ranges":[{"startOffset":26220,"endOffset":26384,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliDecompress","ranges":[{"startOffset":26498,"endOffset":26668,"count":0}],"isBlockCoverage":false},{"functionName":"createProperty","ranges":[{"startOffset":26787,"endOffset":26973,"count":9}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":26908,"endOffset":26965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27202,"endOffset":27238,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":27242,"endOffset":27283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"237","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/assert.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":25039,"count":1}],"isBlockCoverage":true},{"functionName":"formatDescriptorDiff","ranges":[{"startOffset":331,"endOffset":822,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptorWithLabel","ranges":[{"startOffset":824,"endOffset":979,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithLabel","ranges":[{"startOffset":981,"endOffset":1114,"count":0}],"isBlockCoverage":false},{"functionName":"hasOwnProperty","ranges":[{"startOffset":1139,"endOffset":1207,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":1222,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"notImplemented","ranges":[{"startOffset":1255,"endOffset":1301,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":1349,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"checkAssertionMessage","ranges":[{"startOffset":1981,"endOffset":2292,"count":3},{"startOffset":2112,"endOffset":2291,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithLongStackTrace","ranges":[{"startOffset":2294,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"validateExpectations","ranges":[{"startOffset":2558,"endOffset":5405,"count":0}],"isBlockCoverage":false},{"functionName":"assertExpectations","ranges":[{"startOffset":5524,"endOffset":8199,"count":0}],"isBlockCoverage":false},{"functionName":"Assertions","ranges":[{"startOffset":8228,"endOffset":25036,"count":1}],"isBlockCoverage":true},{"functionName":"withSkip","ranges":[{"startOffset":8463,"endOffset":8534,"count":19}],"isBlockCoverage":true},{"functionName":"checkMessage","ranges":[{"startOffset":8560,"endOffset":8733,"count":3},{"startOffset":8694,"endOffset":8732,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8759,"endOffset":8797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8824,"endOffset":9037,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9062,"endOffset":9979,"count":3},{"startOffset":9132,"endOffset":9156,"count":0},{"startOffset":9229,"endOffset":9401,"count":0},{"startOffset":9449,"endOffset":9502,"count":0},{"startOffset":9525,"endOffset":9978,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10005,"endOffset":10365,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10397,"endOffset":11031,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11066,"endOffset":11622,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11649,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12970,"endOffset":14552,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14586,"endOffset":16839,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16871,"endOffset":17460,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17497,"endOffset":19358,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19389,"endOffset":21353,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21382,"endOffset":21702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21730,"endOffset":22051,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22078,"endOffset":22383,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22411,"endOffset":22720,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22748,"endOffset":23686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23717,"endOffset":24676,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24705,"endOffset":25031,"count":0}],"isBlockCoverage":false}]},{"scriptId":"238","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16298,"count":1}],"isBlockCoverage":true},{"functionName":"hasOwnProperty","ranges":[{"startOffset":362,"endOffset":430,"count":0}],"isBlockCoverage":false},{"functionName":"isExternalAssertError","ranges":[{"startOffset":433,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"formatErrorValue","ranges":[{"startOffset":865,"endOffset":1002,"count":0}],"isBlockCoverage":false},{"functionName":"captureSavedError","ranges":[{"startOffset":1030,"endOffset":1237,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext","ranges":[{"startOffset":1316,"endOffset":4497,"count":1}],"isBlockCoverage":true},{"functionName":"pass","ranges":[{"startOffset":1349,"endOffset":1395,"count":3}],"isBlockCoverage":true},{"functionName":"pending","ranges":[{"startOffset":1400,"endOffset":1462,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":1467,"endOffset":1521,"count":0}],"isBlockCoverage":false},{"functionName":"skip","ranges":[{"startOffset":1526,"endOffset":1572,"count":0}],"isBlockCoverage":false},{"functionName":"compareWithSnapshot","ranges":[{"startOffset":1598,"endOffset":1642,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.snapshot.skip","ranges":[{"startOffset":1778,"endOffset":1813,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.log","ranges":[{"startOffset":1829,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan","ranges":[{"startOffset":2064,"endOffset":2120,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan.skip","ranges":[{"startOffset":2142,"endOffset":2150,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.timeout","ranges":[{"startOffset":2170,"endOffset":2222,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.teardown","ranges":[{"startOffset":2243,"endOffset":2291,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.try","ranges":[{"startOffset":2307,"endOffset":4493,"count":0}],"isBlockCoverage":false},{"functionName":"get title","ranges":[{"startOffset":4500,"endOffset":4550,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4553,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"set context","ranges":[{"startOffset":4619,"endOffset":4689,"count":0}],"isBlockCoverage":false},{"functionName":"get passed","ranges":[{"startOffset":4692,"endOffset":4803,"count":0}],"isBlockCoverage":false},{"functionName":"Test","ranges":[{"startOffset":4836,"endOffset":7739,"count":1},{"startOffset":4940,"endOffset":4945,"count":0}],"isBlockCoverage":true},{"functionName":"Test.compareWithSnapshot","ranges":[{"startOffset":5648,"endOffset":6084,"count":0}],"isBlockCoverage":false},{"functionName":"Test.skipSnapshot","ranges":[{"startOffset":6109,"endOffset":6523,"count":0}],"isBlockCoverage":false},{"functionName":"Test.runAttempt","ranges":[{"startOffset":6546,"endOffset":7343,"count":0}],"isBlockCoverage":false},{"functionName":"createExecutionContext","ranges":[{"startOffset":7742,"endOffset":7808,"count":1}],"isBlockCoverage":true},{"functionName":"countPassedAssertion","ranges":[{"startOffset":7811,"endOffset":8163,"count":3},{"startOffset":7858,"endOffset":7949,"count":0},{"startOffset":7987,"endOffset":8112,"count":0}],"isBlockCoverage":true},{"functionName":"addLog","ranges":[{"startOffset":8166,"endOffset":8207,"count":0}],"isBlockCoverage":false},{"functionName":"addPendingAssertion","ranges":[{"startOffset":8210,"endOffset":8745,"count":0}],"isBlockCoverage":false},{"functionName":"addFailedAssertion","ranges":[{"startOffset":8748,"endOffset":9133,"count":0}],"isBlockCoverage":false},{"functionName":"finishAttempt","ranges":[{"startOffset":9136,"endOffset":10154,"count":0}],"isBlockCoverage":false},{"functionName":"saveFirstError","ranges":[{"startOffset":10157,"endOffset":10243,"count":0}],"isBlockCoverage":false},{"functionName":"plan","ranges":[{"startOffset":10246,"endOffset":10542,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":10545,"endOffset":11120,"count":0}],"isBlockCoverage":false},{"functionName":"refreshTimeout","ranges":[{"startOffset":11123,"endOffset":11303,"count":3},{"startOffset":11184,"endOffset":11300,"count":0}],"isBlockCoverage":true},{"functionName":"clearTimeout","ranges":[{"startOffset":11306,"endOffset":11401,"count":1}],"isBlockCoverage":true},{"functionName":"addTeardown","ranges":[{"startOffset":11404,"endOffset":11793,"count":0}],"isBlockCoverage":false},{"functionName":"runTeardowns","ranges":[{"startOffset":11796,"endOffset":12044,"count":1},{"startOffset":11907,"endOffset":12041,"count":0}],"isBlockCoverage":true},{"functionName":"verifyPlan","ranges":[{"startOffset":12047,"endOffset":12402,"count":1},{"startOffset":12113,"endOffset":12151,"count":0},{"startOffset":12153,"endOffset":12399,"count":0}],"isBlockCoverage":true},{"functionName":"verifyAssertions","ranges":[{"startOffset":12405,"endOffset":13050,"count":1},{"startOffset":12450,"endOffset":12466,"count":0},{"startOffset":12504,"endOffset":12622,"count":0},{"startOffset":12662,"endOffset":12765,"count":0},{"startOffset":12835,"endOffset":12901,"count":0},{"startOffset":12933,"endOffset":12951,"count":0},{"startOffset":12953,"endOffset":13043,"count":0}],"isBlockCoverage":true},{"functionName":"callFn","ranges":[{"startOffset":13053,"endOffset":13237,"count":1},{"startOffset":13171,"endOffset":13234,"count":0}],"isBlockCoverage":true},{"functionName":"run","ranges":[{"startOffset":13240,"endOffset":15578,"count":1},{"startOffset":13338,"endOffset":13891,"count":0},{"startOffset":13982,"endOffset":14030,"count":0},{"startOffset":14126,"endOffset":14276,"count":0},{"startOffset":14303,"endOffset":14421,"count":0},{"startOffset":14438,"endOffset":15550,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14153,"endOffset":14270,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14462,"endOffset":15544,"count":0}],"isBlockCoverage":false},{"functionName":"finish","ranges":[{"startOffset":15581,"endOffset":16295,"count":1},{"startOffset":15866,"endOffset":16020,"count":0}],"isBlockCoverage":true}]},{"scriptId":"239","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/concordance-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2980,"count":1},{"startOffset":2696,"endOffset":2708,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2579,"endOffset":2649,"count":110},{"startOffset":2623,"endOffset":2641,"count":69},{"startOffset":2642,"endOffset":2649,"count":41}],"isBlockCoverage":true},{"functionName":"get maxDepth","ranges":[{"startOffset":2807,"endOffset":2878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"240","url":"node:internal/util/parse_args/parse_args","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12919,"count":1}],"isBlockCoverage":false},{"functionName":"getMainArgs","ranges":[{"startOffset":1135,"endOffset":1729,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionLikeValue","ranges":[{"startOffset":1874,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionUsage","ranges":[{"startOffset":2658,"endOffset":3449,"count":0}],"isBlockCoverage":false},{"functionName":"storeOption","ranges":[{"startOffset":3772,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"storeDefaultOption","ranges":[{"startOffset":4921,"endOffset":5090,"count":0}],"isBlockCoverage":false},{"functionName":"argsToTokens","ranges":[{"startOffset":5365,"endOffset":9345,"count":0}],"isBlockCoverage":false},{"functionName":"parseArgs","ranges":[{"startOffset":9365,"endOffset":12881,"count":0}],"isBlockCoverage":false}]},{"scriptId":"241","url":"node:internal/util/parse_args/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6225,"count":1}],"isBlockCoverage":false},{"functionName":"objectGetOwn","ranges":[{"startOffset":693,"endOffset":782,"count":0}],"isBlockCoverage":false},{"functionName":"optionsGetOwn","ranges":[{"startOffset":865,"endOffset":1011,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionValue","ranges":[{"startOffset":1277,"endOffset":1502,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionLikeValue","ranges":[{"startOffset":1719,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneShortOption","ranges":[{"startOffset":1936,"endOffset":2088,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneLongOption","ranges":[{"startOffset":2336,"endOffset":2484,"count":0}],"isBlockCoverage":false},{"functionName":"isLongOptionAndValue","ranges":[{"startOffset":2681,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionGroup","ranges":[{"startOffset":3724,"endOffset":4109,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionAndValue","ranges":[{"startOffset":4418,"endOffset":4847,"count":0}],"isBlockCoverage":false},{"functionName":"findLongOptionForShort","ranges":[{"startOffset":5170,"endOffset":5472,"count":0}],"isBlockCoverage":false},{"functionName":"useDefaultValueOption","ranges":[{"startOffset":5797,"endOffset":5967,"count":0}],"isBlockCoverage":false}]},{"scriptId":"242","url":"node:internal/mime","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10569,"count":1}],"isBlockCoverage":false},{"functionName":"toASCIILower","ranges":[{"startOffset":587,"endOffset":820,"count":0}],"isBlockCoverage":false},{"functionName":"parseTypeAndSubtype","ranges":[{"startOffset":866,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"removeBackslashes","ranges":[{"startOffset":2641,"endOffset":3056,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuoteOrSolidus","ranges":[{"startOffset":3059,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":3288,"endOffset":3527,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3530,"endOffset":8526,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8986,"endOffset":10365,"count":0}],"isBlockCoverage":false}]},{"scriptId":"243","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/callsites/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"callsites","ranges":[{"startOffset":15,"endOffset":469,"count":0}],"isBlockCoverage":false}]},{"scriptId":"244","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5256,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5189,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2906,"endOffset":3404,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3450,"endOffset":3975,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4032,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4134,"endOffset":4895,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4949,"endOffset":5030,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5084,"endOffset":5137,"count":0}],"isBlockCoverage":false}]},{"scriptId":"245","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/supports-color/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3855,"count":1},{"startOffset":738,"endOffset":762,"count":0},{"startOffset":869,"endOffset":893,"count":0}],"isBlockCoverage":true},{"functionName":"hasFlag","ranges":[{"startOffset":235,"endOffset":585,"count":16},{"startOffset":281,"endOffset":303,"count":0},{"startOffset":359,"endOffset":363,"count":0},{"startOffset":385,"endOffset":390,"count":0},{"startOffset":519,"endOffset":582,"count":0}],"isBlockCoverage":true},{"functionName":"envForceColor","ranges":[{"startOffset":895,"endOffset":1159,"count":2},{"startOffset":949,"endOffset":1157,"count":0}],"isBlockCoverage":true},{"functionName":"translateLevel","ranges":[{"startOffset":1161,"endOffset":1320,"count":2},{"startOffset":1212,"endOffset":1232,"count":0}],"isBlockCoverage":true},{"functionName":"_supportsColor","ranges":[{"startOffset":1322,"endOffset":3494,"count":2},{"startOffset":1479,"endOffset":1520,"count":0},{"startOffset":1570,"endOffset":1588,"count":0},{"startOffset":1614,"endOffset":1630,"count":0},{"startOffset":1740,"endOffset":1758,"count":0},{"startOffset":1788,"endOffset":1806,"count":0},{"startOffset":1918,"endOffset":1940,"count":0},{"startOffset":1942,"endOffset":1958,"count":0},{"startOffset":1992,"endOffset":2019,"count":0},{"startOffset":2021,"endOffset":2037,"count":0},{"startOffset":2096,"endOffset":2114,"count":0},{"startOffset":2151,"endOffset":2508,"count":0},{"startOffset":2528,"endOffset":2776,"count":0},{"startOffset":2810,"endOffset":2891,"count":0},{"startOffset":2945,"endOffset":3493,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2688,"endOffset":2707,"count":0}],"isBlockCoverage":false},{"functionName":"createSupportsColor","ranges":[{"startOffset":3503,"endOffset":3687,"count":2}],"isBlockCoverage":true}]},{"scriptId":"246","url":"node:os","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9769,"count":1}],"isBlockCoverage":false},{"functionName":"getCheckedFunction","ranges":[{"startOffset":2026,"endOffset":2267,"count":4}],"isBlockCoverage":true},{"functionName":"checkError","ranges":[{"startOffset":2085,"endOffset":2263,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease","ranges":[{"startOffset":2649,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType","ranges":[{"startOffset":2711,"endOffset":2721,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion","ranges":[{"startOffset":2773,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine","ranges":[{"startOffset":2836,"endOffset":2849,"count":0}],"isBlockCoverage":false},{"functionName":"getAvailableParallelism.","ranges":[{"startOffset":2897,"endOffset":2928,"count":0}],"isBlockCoverage":false},{"functionName":"getFreeMem.","ranges":[{"startOffset":2962,"endOffset":2980,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname.","ranges":[{"startOffset":3015,"endOffset":3034,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion.","ranges":[{"startOffset":3070,"endOffset":3090,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType.","ranges":[{"startOffset":3123,"endOffset":3140,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease.","ranges":[{"startOffset":3176,"endOffset":3196,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine.","ranges":[{"startOffset":3230,"endOffset":3248,"count":0}],"isBlockCoverage":false},{"functionName":"getHomeDirectory.","ranges":[{"startOffset":3288,"endOffset":3312,"count":0}],"isBlockCoverage":false},{"functionName":"getTotalMem.","ranges":[{"startOffset":3347,"endOffset":3366,"count":0}],"isBlockCoverage":false},{"functionName":"getUptime.","ranges":[{"startOffset":3399,"endOffset":3416,"count":0}],"isBlockCoverage":false},{"functionName":"loadavg","ranges":[{"startOffset":3554,"endOffset":3654,"count":0}],"isBlockCoverage":false},{"functionName":"cpus","ranges":[{"startOffset":3934,"endOffset":4363,"count":1},{"startOffset":4036,"endOffset":4041,"count":0},{"startOffset":4103,"endOffset":4344,"count":12}],"isBlockCoverage":true},{"functionName":"arch","ranges":[{"startOffset":4394,"endOffset":4436,"count":0}],"isBlockCoverage":false},{"functionName":"arch.","ranges":[{"startOffset":4463,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"platform","ranges":[{"startOffset":4513,"endOffset":4563,"count":2}],"isBlockCoverage":true},{"functionName":"platform.","ranges":[{"startOffset":4594,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir","ranges":[{"startOffset":4648,"endOffset":5253,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir.","ranges":[{"startOffset":5282,"endOffset":5296,"count":0}],"isBlockCoverage":false},{"functionName":"endianness","ranges":[{"startOffset":5333,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"endianness.","ranges":[{"startOffset":5413,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"countBinaryOnes","ranges":[{"startOffset":5518,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"getCIDR","ranges":[{"startOffset":5773,"endOffset":6718,"count":0}],"isBlockCoverage":false},{"functionName":"networkInterfaces","ranges":[{"startOffset":6929,"endOffset":7622,"count":0}],"isBlockCoverage":false},{"functionName":"setPriority","ranges":[{"startOffset":7706,"endOffset":7995,"count":0}],"isBlockCoverage":false},{"functionName":"getPriority","ranges":[{"startOffset":8053,"endOffset":8308,"count":0}],"isBlockCoverage":false},{"functionName":"userInfo","ranges":[{"startOffset":8612,"endOffset":8900,"count":0}],"isBlockCoverage":false}]},{"scriptId":"247","url":"node:tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5058,"count":1}],"isBlockCoverage":false},{"functionName":"isatty","ranges":[{"startOffset":1535,"endOffset":1641,"count":2}],"isBlockCoverage":true},{"functionName":"ReadStream","ranges":[{"startOffset":1643,"endOffset":2112,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.setRawMode","ranges":[{"startOffset":2261,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":2481,"endOffset":3453,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._refreshSize","ranges":[{"startOffset":3744,"endOffset":4180,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.cursorTo","ranges":[{"startOffset":4236,"endOffset":4376,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.moveCursor","ranges":[{"startOffset":4413,"endOffset":4559,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearLine","ranges":[{"startOffset":4595,"endOffset":4734,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearScreenDown","ranges":[{"startOffset":4776,"endOffset":4911,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.getWindowSize","ranges":[{"startOffset":4951,"endOffset":5001,"count":0}],"isBlockCoverage":false}]},{"scriptId":"248","url":"node:net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":65921,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1612,"endOffset":1637,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4029,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":4446,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"createHandle","ranges":[{"startOffset":4542,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"getNewAsyncId","ranges":[{"startOffset":4928,"endOffset":5066,"count":0}],"isBlockCoverage":false},{"functionName":"isPipeName","ranges":[{"startOffset":5069,"endOffset":5152,"count":0}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":5353,"endOffset":5457,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":5680,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamily","ranges":[{"startOffset":6083,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamily","ranges":[{"startOffset":6160,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6278,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6383,"endOffset":6570,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgs","ranges":[{"startOffset":7064,"endOffset":7790,"count":0}],"isBlockCoverage":false},{"functionName":"initSocketHandle","ranges":[{"startOffset":7862,"endOffset":8465,"count":0}],"isBlockCoverage":false},{"functionName":"closeSocketHandle","ranges":[{"startOffset":8467,"endOffset":8807,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":9059,"endOffset":13678,"count":0}],"isBlockCoverage":false},{"functionName":"_unrefTimer","ranges":[{"startOffset":13851,"endOffset":13981,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._final","ranges":[{"startOffset":14101,"endOffset":14717,"count":0}],"isBlockCoverage":false},{"functionName":"afterShutdown","ranges":[{"startOffset":14720,"endOffset":14866,"count":0}],"isBlockCoverage":false},{"functionName":"writeAfterFIN","ranges":[{"startOffset":15073,"endOffset":15581,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._onTimeout","ranges":[{"startOffset":15663,"endOffset":16167,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setNoDelay","ranges":[{"startOffset":16201,"endOffset":16578,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setKeepAlive","ranges":[{"startOffset":16614,"endOffset":17220,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":17251,"endOffset":17295,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17381,"endOffset":17425,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17505,"endOffset":17561,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17672,"endOffset":17987,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18076,"endOffset":18156,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18244,"endOffset":18289,"count":0}],"isBlockCoverage":false},{"functionName":"tryReadStart","ranges":[{"startOffset":18297,"endOffset":18543,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._read","ranges":[{"startOffset":18635,"endOffset":18954,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.end","ranges":[{"startOffset":18981,"endOffset":19137,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resetAndDestroy","ranges":[{"startOffset":19175,"endOffset":19525,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.pause","ranges":[{"startOffset":19553,"endOffset":19887,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resume","ranges":[{"startOffset":19917,"endOffset":20101,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.read","ranges":[{"startOffset":20129,"endOffset":20315,"count":0}],"isBlockCoverage":false},{"functionName":"onReadableStreamEnd","ranges":[{"startOffset":20362,"endOffset":20461,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.destroySoon","ranges":[{"startOffset":20495,"endOffset":20642,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._destroy","ranges":[{"startOffset":20674,"endOffset":22184,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._reset","ranges":[{"startOffset":22213,"endOffset":22312,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getpeername","ranges":[{"startOffset":22347,"endOffset":22644,"count":0}],"isBlockCoverage":false},{"functionName":"protoGetter","ranges":[{"startOffset":22647,"endOffset":22829,"count":9}],"isBlockCoverage":true},{"functionName":"bytesRead","ranges":[{"startOffset":22856,"endOffset":22947,"count":0}],"isBlockCoverage":false},{"functionName":"remoteAddress","ranges":[{"startOffset":22980,"endOffset":23046,"count":0}],"isBlockCoverage":false},{"functionName":"remoteFamily","ranges":[{"startOffset":23078,"endOffset":23142,"count":0}],"isBlockCoverage":false},{"functionName":"remotePort","ranges":[{"startOffset":23172,"endOffset":23232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getsockname","ranges":[{"startOffset":23269,"endOffset":23545,"count":0}],"isBlockCoverage":false},{"functionName":"localAddress","ranges":[{"startOffset":23577,"endOffset":23642,"count":0}],"isBlockCoverage":false},{"functionName":"localPort","ranges":[{"startOffset":23672,"endOffset":23731,"count":0}],"isBlockCoverage":false},{"functionName":"localFamily","ranges":[{"startOffset":23762,"endOffset":23825,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":23866,"endOffset":23913,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writeGeneric","ranges":[{"startOffset":23949,"endOffset":24861,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writev","ranges":[{"startOffset":24892,"endOffset":24960,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._write","ranges":[{"startOffset":24990,"endOffset":25071,"count":0}],"isBlockCoverage":false},{"functionName":"_bytesDispatched","ranges":[{"startOffset":25264,"endOffset":25368,"count":0}],"isBlockCoverage":false},{"functionName":"bytesWritten","ranges":[{"startOffset":25400,"endOffset":26329,"count":0}],"isBlockCoverage":false},{"functionName":"checkBindError","ranges":[{"startOffset":26334,"endOffset":27133,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnect","ranges":[{"startOffset":27136,"endOffset":29131,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultiple","ranges":[{"startOffset":29134,"endOffset":31870,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":31899,"endOffset":33495,"count":0}],"isBlockCoverage":false},{"functionName":"reinitializeHandle","ranges":[{"startOffset":33538,"endOffset":33692,"count":0}],"isBlockCoverage":false},{"functionName":"socketToDnsFamily","ranges":[{"startOffset":33695,"endOffset":33841,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnect","ranges":[{"startOffset":33843,"endOffset":37774,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnectMultiple","ranges":[{"startOffset":37776,"endOffset":41750,"count":0}],"isBlockCoverage":false},{"functionName":"connectErrorNT","ranges":[{"startOffset":41752,"endOffset":41811,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":41837,"endOffset":42024,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":42053,"endOffset":42246,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnect","ranges":[{"startOffset":42250,"endOffset":43831,"count":0}],"isBlockCoverage":false},{"functionName":"addClientAbortSignalOption","ranges":[{"startOffset":43833,"endOffset":44256,"count":0}],"isBlockCoverage":false},{"functionName":"createConnectionError","ranges":[{"startOffset":44258,"endOffset":44759,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnectMultiple","ranges":[{"startOffset":44761,"endOffset":45903,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultipleTimeout","ranges":[{"startOffset":45905,"endOffset":46217,"count":0}],"isBlockCoverage":false},{"functionName":"addServerAbortSignalOption","ranges":[{"startOffset":46219,"endOffset":46662,"count":0}],"isBlockCoverage":false},{"functionName":"Server","ranges":[{"startOffset":46664,"endOffset":48251,"count":0}],"isBlockCoverage":false},{"functionName":"toNumber","ranges":[{"startOffset":48362,"endOffset":48427,"count":0}],"isBlockCoverage":false},{"functionName":"createServerHandle","ranges":[{"startOffset":48495,"endOffset":49947,"count":0}],"isBlockCoverage":false},{"functionName":"setupListenHandle","ranges":[{"startOffset":49949,"endOffset":52300,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":52367,"endOffset":52429,"count":0}],"isBlockCoverage":false},{"functionName":"emitListeningNT","ranges":[{"startOffset":52432,"endOffset":52547,"count":0}],"isBlockCoverage":false},{"functionName":"listenInCluster","ranges":[{"startOffset":52550,"endOffset":53810,"count":0}],"isBlockCoverage":false},{"functionName":"Server.listen","ranges":[{"startOffset":53839,"endOffset":57671,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndListen","ranges":[{"startOffset":57674,"endOffset":58086,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":58168,"endOffset":58211,"count":0}],"isBlockCoverage":false},{"functionName":"Server.address","ranges":[{"startOffset":58287,"endOffset":58576,"count":0}],"isBlockCoverage":false},{"functionName":"onconnection","ranges":[{"startOffset":58579,"endOffset":60478,"count":0}],"isBlockCoverage":false},{"functionName":"Server.getConnections","ranges":[{"startOffset":60627,"endOffset":61380,"count":0}],"isBlockCoverage":false},{"functionName":"Server.close","ranges":[{"startOffset":61409,"endOffset":62276,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":62318,"endOffset":62438,"count":0}],"isBlockCoverage":false},{"functionName":"Server._emitCloseIfDrained","ranges":[{"startOffset":62480,"endOffset":62866,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":62870,"endOffset":62953,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":63012,"endOffset":63174,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63396,"endOffset":63432,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63436,"endOffset":63477,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63557,"endOffset":63588,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63592,"endOffset":63628,"count":0}],"isBlockCoverage":false},{"functionName":"Server._setupWorker","ranges":[{"startOffset":63667,"endOffset":63908,"count":0}],"isBlockCoverage":false},{"functionName":"Server.ref","ranges":[{"startOffset":63934,"endOffset":64032,"count":0}],"isBlockCoverage":false},{"functionName":"Server.unref","ranges":[{"startOffset":64060,"endOffset":64159,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":64301,"endOffset":64970,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":65009,"endOffset":65250,"count":0}],"isBlockCoverage":false},{"functionName":"get BlockList","ranges":[{"startOffset":65379,"endOffset":65481,"count":0}],"isBlockCoverage":false},{"functionName":"get SocketAddress","ranges":[{"startOffset":65485,"endOffset":65607,"count":0}],"isBlockCoverage":false}]},{"scriptId":"249","url":"node:internal/stream_base_commons","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7041,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1010,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"handleWriteReq","ranges":[{"startOffset":1154,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"onWriteComplete","ranges":[{"startOffset":2011,"endOffset":2696,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteWrap","ranges":[{"startOffset":2698,"endOffset":2936,"count":0}],"isBlockCoverage":false},{"functionName":"writevGeneric","ranges":[{"startOffset":2938,"endOffset":3577,"count":0}],"isBlockCoverage":false},{"functionName":"writeGeneric","ranges":[{"startOffset":3579,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteDispatched","ranges":[{"startOffset":3786,"endOffset":4089,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamRead","ranges":[{"startOffset":4091,"endOffset":6022,"count":0}],"isBlockCoverage":false},{"functionName":"setStreamTimeout","ranges":[{"startOffset":6024,"endOffset":6834,"count":0}],"isBlockCoverage":false}]},{"scriptId":"250","url":"node:internal/perf/observe","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16742,"count":1}],"isBlockCoverage":false},{"functionName":"queuePending","ranges":[{"startOffset":2620,"endOffset":2881,"count":0}],"isBlockCoverage":false},{"functionName":"getObserverType","ranges":[{"startOffset":2883,"endOffset":3223,"count":0}],"isBlockCoverage":false},{"functionName":"maybeDecrementObserverCounts","ranges":[{"startOffset":3225,"endOffset":3646,"count":0}],"isBlockCoverage":false},{"functionName":"maybeIncrementObserverCount","ranges":[{"startOffset":3648,"endOffset":3990,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceObserverEntryList","ranges":[{"startOffset":4031,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"getEntries","ranges":[{"startOffset":4095,"endOffset":4234,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByType","ranges":[{"startOffset":4238,"endOffset":4542,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByName","ranges":[{"startOffset":4546,"endOffset":5039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5043,"endOffset":5291,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceObserverEntryList","ranges":[{"startOffset":5643,"endOffset":5933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5935,"endOffset":9507,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":9989,"endOffset":10191,"count":0}],"isBlockCoverage":false},{"functionName":"bufferUserTiming","ranges":[{"startOffset":10252,"endOffset":11278,"count":0}],"isBlockCoverage":false},{"functionName":"bufferResourceTiming","ranges":[{"startOffset":11566,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"setResourceTimingBufferSize","ranges":[{"startOffset":12918,"endOffset":13190,"count":0}],"isBlockCoverage":false},{"functionName":"setDispatchBufferFull","ranges":[{"startOffset":13192,"endOffset":13257,"count":0}],"isBlockCoverage":false},{"functionName":"clearEntriesFromBuffer","ranges":[{"startOffset":13259,"endOffset":13859,"count":0}],"isBlockCoverage":false},{"functionName":"filterBufferMapByNameAndType","ranges":[{"startOffset":13861,"endOffset":14749,"count":0}],"isBlockCoverage":false},{"functionName":"observerCallback","ranges":[{"startOffset":14751,"endOffset":15867,"count":0}],"isBlockCoverage":false},{"functionName":"hasObserver","ranges":[{"startOffset":15904,"endOffset":16023,"count":0}],"isBlockCoverage":false},{"functionName":"startPerf","ranges":[{"startOffset":16026,"endOffset":16136,"count":0}],"isBlockCoverage":false},{"functionName":"stopPerf","ranges":[{"startOffset":16138,"endOffset":16453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"251","url":"node:internal/perf/performance_entry","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3333,"count":1}],"isBlockCoverage":false},{"functionName":"isPerformanceEntry","ranges":[{"startOffset":675,"endOffset":748,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceEntry","ranges":[{"startOffset":777,"endOffset":914,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":918,"endOffset":1018,"count":0}],"isBlockCoverage":false},{"functionName":"get entryType","ranges":[{"startOffset":1022,"endOffset":1137,"count":0}],"isBlockCoverage":false},{"functionName":"get startTime","ranges":[{"startOffset":1141,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"get duration","ranges":[{"startOffset":1260,"endOffset":1372,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1376,"endOffset":1620,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":1624,"endOffset":1846,"count":0}],"isBlockCoverage":false},{"functionName":"initPerformanceEntry","ranges":[{"startOffset":2068,"endOffset":2248,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceEntry","ranges":[{"startOffset":2250,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":2559,"endOffset":2669,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":2673,"endOffset":2924,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceNodeEntry","ranges":[{"startOffset":2928,"endOffset":3163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"252","url":"node:internal/tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6485,"count":1}],"isBlockCoverage":false},{"functionName":"warnOnDeactivatedColors","ranges":[{"startOffset":2549,"endOffset":3002,"count":0}],"isBlockCoverage":false},{"functionName":"getColorDepth","ranges":[{"startOffset":3160,"endOffset":6156,"count":0}],"isBlockCoverage":false},{"functionName":"hasColors","ranges":[{"startOffset":6158,"endOffset":6431,"count":0}],"isBlockCoverage":false}]},{"scriptId":"253","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":997,"count":1}],"isBlockCoverage":true},{"functionName":"stringReplaceAll","ranges":[{"startOffset":78,"endOffset":552,"count":0}],"isBlockCoverage":false},{"functionName":"stringEncaseCRLFWithFirstIndex","ranges":[{"startOffset":561,"endOffset":996,"count":0}],"isBlockCoverage":false}]},{"scriptId":"254","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6025,"count":1}],"isBlockCoverage":true},{"functionName":"assertPatternsInput","ranges":[{"startOffset":367,"endOffset":522,"count":0}],"isBlockCoverage":false},{"functionName":"toPatternsArray","ranges":[{"startOffset":549,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"checkCwdOption","ranges":[{"startOffset":685,"endOffset":912,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":940,"endOffset":1200,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArguments","ranges":[{"startOffset":1230,"endOffset":1321,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1236,"endOffset":1321,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgumentsSync","ranges":[{"startOffset":1354,"endOffset":1439,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1360,"endOffset":1439,"count":0}],"isBlockCoverage":false},{"functionName":"getIgnoreFilesPatterns","ranges":[{"startOffset":1473,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":1701,"endOffset":1913,"count":0}],"isBlockCoverage":false},{"functionName":"getFilterSync","ranges":[{"startOffset":1938,"endOffset":2142,"count":0}],"isBlockCoverage":false},{"functionName":"createFilterFunction","ranges":[{"startOffset":2174,"endOffset":2469,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobResults","ranges":[{"startOffset":2501,"endOffset":2585,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobStreams","ranges":[{"startOffset":2616,"endOffset":2717,"count":0}],"isBlockCoverage":false},{"functionName":"convertNegativePatterns","ranges":[{"startOffset":2752,"endOffset":3364,"count":0}],"isBlockCoverage":false},{"functionName":"getDirGlobOptions","ranges":[{"startOffset":3393,"endOffset":3499,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":3524,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasksSync","ranges":[{"startOffset":4171,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4758,"endOffset":5048,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5101,"endOffset":5348,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5403,"endOffset":5652,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5713,"endOffset":5805,"count":0}],"isBlockCoverage":false}]},{"scriptId":"255","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/maps.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"256","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":465,"count":1}],"isBlockCoverage":true},{"functionName":"escapeStringRegexp","ranges":[{"startOffset":15,"endOffset":464,"count":3},{"startOffset":86,"endOffset":134,"count":0}],"isBlockCoverage":true}]},{"scriptId":"257","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/indent-string/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":820,"count":1}],"isBlockCoverage":true},{"functionName":"indentString","ranges":[{"startOffset":15,"endOffset":819,"count":0}],"isBlockCoverage":false}]},{"scriptId":"258","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mem/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3063,"count":1}],"isBlockCoverage":true},{"functionName":"mem","ranges":[{"startOffset":651,"endOffset":1491,"count":2},{"startOffset":753,"endOffset":790,"count":0}],"isBlockCoverage":true},{"functionName":"memoized","ranges":[{"startOffset":812,"endOffset":1357,"count":3},{"startOffset":868,"endOffset":890,"count":1},{"startOffset":891,"endOffset":906,"count":2},{"startOffset":973,"endOffset":1078,"count":1},{"startOffset":1078,"endOffset":1208,"count":2},{"startOffset":1208,"endOffset":1229,"count":0},{"startOffset":1230,"endOffset":1256,"count":2}],"isBlockCoverage":true},{"functionName":"memDecorator","ranges":[{"startOffset":1911,"endOffset":2668,"count":0}],"isBlockCoverage":false},{"functionName":"memClear","ranges":[{"startOffset":2761,"endOffset":3062,"count":0}],"isBlockCoverage":false}]},{"scriptId":"259","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12,"count":1}],"isBlockCoverage":true}]},{"scriptId":"260","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-promise/index.mjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":151,"count":1}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":15,"endOffset":150,"count":1},{"startOffset":56,"endOffset":113,"count":0},{"startOffset":114,"endOffset":147,"count":0}],"isBlockCoverage":true}]},{"scriptId":"261","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/like-selector.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1333,"count":1}],"isBlockCoverage":true},{"functionName":"isPrimitive","ranges":[{"startOffset":20,"endOffset":72,"count":0}],"isBlockCoverage":false},{"functionName":"isLikeSelector","ranges":[{"startOffset":82,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"selectComparable","ranges":[{"startOffset":609,"endOffset":1332,"count":0}],"isBlockCoverage":false}]},{"scriptId":"262","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/plur/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":963,"count":1}],"isBlockCoverage":true},{"functionName":"plur","ranges":[{"startOffset":66,"endOffset":962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"263","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5267,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5200,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2913,"endOffset":3409,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3462,"endOffset":3983,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4040,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4149,"endOffset":4906,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4960,"endOffset":5041,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5095,"endOffset":5148,"count":0}],"isBlockCoverage":false}]},{"scriptId":"264","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/strip-ansi/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":468,"count":1}],"isBlockCoverage":true},{"functionName":"stripAnsi","ranges":[{"startOffset":80,"endOffset":467,"count":69},{"startOffset":142,"endOffset":220,"count":0}],"isBlockCoverage":true}]},{"scriptId":"265","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/ignore.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2797,"count":1}],"isBlockCoverage":true},{"functionName":"applyBaseToPattern","ranges":[{"startOffset":479,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"parseIgnoreFile","ranges":[{"startOffset":634,"endOffset":865,"count":0}],"isBlockCoverage":false},{"functionName":"toRelativePath","ranges":[{"startOffset":891,"endOffset":1176,"count":0}],"isBlockCoverage":false},{"functionName":"getIsIgnoredPredicate","ranges":[{"startOffset":1209,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1582,"endOffset":1782,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFiles","ranges":[{"startOffset":1823,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFilesSync","ranges":[{"startOffset":2256,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnored","ranges":[{"startOffset":2623,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnoredSync","ranges":[{"startOffset":2724,"endOffset":2795,"count":0}],"isBlockCoverage":false}]},{"scriptId":"266","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":462,"count":1}],"isBlockCoverage":true},{"functionName":"toPath","ranges":[{"startOffset":102,"endOffset":178,"count":0}],"isBlockCoverage":false},{"functionName":"FilterStream","ranges":[{"startOffset":228,"endOffset":394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":431,"endOffset":460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"267","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mimic-fn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2903,"count":1}],"isBlockCoverage":true},{"functionName":"copyProperty","ranges":[{"startOffset":21,"endOffset":887,"count":4},{"startOffset":280,"endOffset":307,"count":2},{"startOffset":309,"endOffset":577,"count":2},{"startOffset":579,"endOffset":593,"count":0},{"startOffset":593,"endOffset":790,"count":2},{"startOffset":790,"endOffset":814,"count":0},{"startOffset":816,"endOffset":830,"count":0},{"startOffset":830,"endOffset":886,"count":2}],"isBlockCoverage":true},{"functionName":"canCopyProperty","ranges":[{"startOffset":1091,"endOffset":1457,"count":2},{"startOffset":1197,"endOffset":1454,"count":0}],"isBlockCoverage":true},{"functionName":"changePrototype","ranges":[{"startOffset":1484,"endOffset":1662,"count":2},{"startOffset":1616,"endOffset":1661,"count":0}],"isBlockCoverage":true},{"functionName":"wrappedToString","ranges":[{"startOffset":1689,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"changeToString","ranges":[{"startOffset":2221,"endOffset":2603,"count":2},{"startOffset":2273,"endOffset":2277,"count":0}],"isBlockCoverage":true},{"functionName":"mimicFunction","ranges":[{"startOffset":2621,"endOffset":2902,"count":2},{"startOffset":2762,"endOffset":2825,"count":4}],"isBlockCoverage":true}]},{"scriptId":"268","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/ansi-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":350,"count":1}],"isBlockCoverage":true},{"functionName":"ansiRegex","ranges":[{"startOffset":15,"endOffset":349,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true}]},{"scriptId":"269","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/slash/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":285,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":15,"endOffset":284,"count":0}],"isBlockCoverage":false}]},{"scriptId":"270","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":250,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":62,"endOffset":248,"count":1}],"isBlockCoverage":true}]},{"scriptId":"271","url":"node:internal/vm/module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12200,"count":1}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":1662,"endOffset":4017,"count":0}],"isBlockCoverage":false},{"functionName":"get identifier","ranges":[{"startOffset":4021,"endOffset":4158,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4162,"endOffset":4295,"count":0}],"isBlockCoverage":false},{"functionName":"get namespace","ranges":[{"startOffset":4299,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"get status","ranges":[{"startOffset":4580,"endOffset":4733,"count":0}],"isBlockCoverage":false},{"functionName":"get error","ranges":[{"startOffset":4737,"endOffset":4987,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":4991,"endOffset":5396,"count":0}],"isBlockCoverage":false},{"functionName":"evaluate","ranges":[{"startOffset":5400,"endOffset":6153,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6157,"endOffset":6909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":10171,"count":0}],"isBlockCoverage":false},{"functionName":"SyntheticModule","ranges":[{"startOffset":10214,"endOffset":11307,"count":0}],"isBlockCoverage":false},{"functionName":"setExport","ranges":[{"startOffset":11311,"endOffset":11613,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamicallyWrap","ranges":[{"startOffset":11617,"endOffset":12096,"count":370}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyWrapper","ranges":[{"startOffset":11722,"endOffset":12052,"count":2},{"startOffset":11873,"endOffset":11910,"count":0},{"startOffset":11912,"endOffset":12051,"count":0}],"isBlockCoverage":true}]},{"scriptId":"272","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":82,"endOffset":745,"count":1}],"isBlockCoverage":true},{"functionName":"onUnhandledRejection","ranges":[{"startOffset":129,"endOffset":244,"count":0}],"isBlockCoverage":false},{"functionName":"onRejectionHandled","ranges":[{"startOffset":247,"endOffset":433,"count":0}],"isBlockCoverage":false},{"functionName":"currentlyUnhandled","ranges":[{"startOffset":436,"endOffset":599,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":501,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"273","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/array-find-index/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":462,"count":0}],"isBlockCoverage":false}]},{"scriptId":"274","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/now-and-timers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":501,"count":1}],"isBlockCoverage":true},{"functionName":"setCappedTimeout","ranges":[{"startOffset":313,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"275","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge2/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3241,"count":1}],"isBlockCoverage":true},{"functionName":"merge2","ranges":[{"startOffset":280,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"pauseStreams","ranges":[{"startOffset":2702,"endOffset":3240,"count":0}],"isBlockCoverage":false}]},{"scriptId":"276","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4091,"count":1},{"startOffset":3434,"endOffset":3452,"count":0}],"isBlockCoverage":true},{"functionName":"FastGlob","ranges":[{"startOffset":277,"endOffset":501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":612,"endOffset":3423,"count":1}],"isBlockCoverage":true},{"functionName":"sync","ranges":[{"startOffset":763,"endOffset":946,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":977,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":1503,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1795,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"escapePath","ranges":[{"startOffset":2060,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2217,"endOffset":2355,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2434,"endOffset":2864,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2461,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2644,"endOffset":2799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2936,"endOffset":3370,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2963,"endOffset":3100,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":3148,"endOffset":3305,"count":0}],"isBlockCoverage":false},{"functionName":"getWorks","ranges":[{"startOffset":3455,"endOffset":3751,"count":0}],"isBlockCoverage":false},{"functionName":"assertPatternsInput","ranges":[{"startOffset":3752,"endOffset":4063,"count":0}],"isBlockCoverage":false}]},{"scriptId":"277","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/managers/tasks.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5531,"count":1}],"isBlockCoverage":true},{"functionName":"generate","ranges":[{"startOffset":355,"endOffset":1133,"count":0}],"isBlockCoverage":false},{"functionName":"processPatterns","ranges":[{"startOffset":1163,"endOffset":2553,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToTasks","ranges":[{"startOffset":2825,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":4023,"endOffset":4121,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatternsAsPositive","ranges":[{"startOffset":4173,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"groupPatternsByBaseDirectory","ranges":[{"startOffset":4482,"endOffset":4868,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupsToTasks","ranges":[{"startOffset":4938,"endOffset":5147,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupToTask","ranges":[{"startOffset":5215,"endOffset":5467,"count":0}],"isBlockCoverage":false}]},{"scriptId":"278","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":596,"count":1}],"isBlockCoverage":true}]},{"scriptId":"279","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1}],"isBlockCoverage":true},{"functionName":"flatten","ranges":[{"startOffset":123,"endOffset":230,"count":0}],"isBlockCoverage":false},{"functionName":"splitWhen","ranges":[{"startOffset":258,"endOffset":576,"count":0}],"isBlockCoverage":false}]},{"scriptId":"280","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/errno.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":234,"count":1}],"isBlockCoverage":true},{"functionName":"isEnoentCodeError","ranges":[{"startOffset":113,"endOffset":186,"count":0}],"isBlockCoverage":false}]},{"scriptId":"281","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"282","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/path.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3010,"count":1},{"startOffset":2154,"endOffset":2173,"count":0},{"startOffset":2552,"endOffset":2581,"count":0}],"isBlockCoverage":true},{"functionName":"unixify","ranges":[{"startOffset":1352,"endOffset":1423,"count":0}],"isBlockCoverage":false},{"functionName":"makeAbsolute","ranges":[{"startOffset":1451,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"removeLeadingDotSegment","ranges":[{"startOffset":1569,"endOffset":2057,"count":0}],"isBlockCoverage":false},{"functionName":"escapeWindowsPath","ranges":[{"startOffset":2193,"endOffset":2303,"count":0}],"isBlockCoverage":false},{"functionName":"escapePosixPath","ranges":[{"startOffset":2351,"endOffset":2457,"count":0}],"isBlockCoverage":false},{"functionName":"convertWindowsPathToPattern","ranges":[{"startOffset":2611,"endOffset":2792,"count":0}],"isBlockCoverage":false},{"functionName":"convertPosixPathToPattern","ranges":[{"startOffset":2860,"endOffset":2946,"count":0}],"isBlockCoverage":false}]},{"scriptId":"283","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/pattern.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7965,"count":1}],"isBlockCoverage":true},{"functionName":"isStaticPattern","ranges":[{"startOffset":1465,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1608,"endOffset":2666,"count":0}],"isBlockCoverage":false},{"functionName":"hasBraceExpansion","ranges":[{"startOffset":2712,"endOffset":3145,"count":0}],"isBlockCoverage":false},{"functionName":"convertToPositivePattern","ranges":[{"startOffset":3146,"endOffset":3260,"count":0}],"isBlockCoverage":false},{"functionName":"convertToNegativePattern","ranges":[{"startOffset":3322,"endOffset":3394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":3456,"endOffset":3553,"count":0}],"isBlockCoverage":false},{"functionName":"isPositivePattern","ranges":[{"startOffset":3601,"endOffset":3680,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatterns","ranges":[{"startOffset":3728,"endOffset":3817,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":3869,"endOffset":3958,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsInsideCurrentDirectory","ranges":[{"startOffset":4205,"endOffset":4347,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsOutsideCurrentDirectory","ranges":[{"startOffset":4631,"endOffset":4751,"count":0}],"isBlockCoverage":false},{"functionName":"isPatternRelatedToParentDirectory","ranges":[{"startOffset":4833,"endOffset":4955,"count":0}],"isBlockCoverage":false},{"functionName":"getBaseDirectory","ranges":[{"startOffset":5035,"endOffset":5133,"count":0}],"isBlockCoverage":false},{"functionName":"hasGlobStar","ranges":[{"startOffset":5179,"endOffset":5251,"count":0}],"isBlockCoverage":false},{"functionName":"endsWithSlashGlobStar","ranges":[{"startOffset":5287,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"isAffectDepthOfReadingPattern","ranges":[{"startOffset":5431,"endOffset":5599,"count":0}],"isBlockCoverage":false},{"functionName":"expandPatternsWithBraceExpansion","ranges":[{"startOffset":5671,"endOffset":5857,"count":0}],"isBlockCoverage":false},{"functionName":"expandBraceExpansion","ranges":[{"startOffset":5935,"endOffset":6463,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternParts","ranges":[{"startOffset":6517,"endOffset":7150,"count":0}],"isBlockCoverage":false},{"functionName":"makeRe","ranges":[{"startOffset":7194,"endOffset":7279,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToRe","ranges":[{"startOffset":7305,"endOffset":7420,"count":0}],"isBlockCoverage":false},{"functionName":"matchAny","ranges":[{"startOffset":7472,"endOffset":7578,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateSlashes","ranges":[{"startOffset":7813,"endOffset":7907,"count":0}],"isBlockCoverage":false}]},{"scriptId":"284","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/glob-parent/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1120,"count":1}],"isBlockCoverage":true},{"functionName":"globParent","ranges":[{"startOffset":461,"endOffset":1118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"285","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3628,"count":1}],"isBlockCoverage":true},{"functionName":"strictCheck","ranges":[{"startOffset":247,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"relaxedCheck","ranges":[{"startOffset":2767,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"isGlob","ranges":[{"startOffset":3324,"endOffset":3626,"count":0}],"isBlockCoverage":false}]},{"scriptId":"286","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-extglob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"isExtglob","ranges":[{"startOffset":168,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"287","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/micromatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13741,"count":1}],"isBlockCoverage":true},{"functionName":"isEmptyString","ranges":[{"startOffset":187,"endOffset":220,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch","ranges":[{"startOffset":784,"endOffset":2129,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matcher","ranges":[{"startOffset":2781,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.isMatch","ranges":[{"startOffset":3440,"endOffset":3501,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.not","ranges":[{"startOffset":4203,"endOffset":4640,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.contains","ranges":[{"startOffset":5367,"endOffset":5928,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matchKeys","ranges":[{"startOffset":6706,"endOffset":6980,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.some","ranges":[{"startOffset":7765,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.every","ranges":[{"startOffset":8890,"endOffset":9146,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.all","ranges":[{"startOffset":9947,"endOffset":10155,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.capture","ranges":[{"startOffset":10869,"endOffset":11165,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.makeRe","ranges":[{"startOffset":11617,"endOffset":11655,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.scan","ranges":[{"startOffset":12004,"endOffset":12040,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.parse","ranges":[{"startOffset":12432,"endOffset":12652,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braces","ranges":[{"startOffset":13219,"endOffset":13456,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braceExpand","ranges":[{"startOffset":13510,"endOffset":13679,"count":0}],"isBlockCoverage":false}]},{"scriptId":"288","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4375,"count":1}],"isBlockCoverage":true},{"functionName":"braces","ranges":[{"startOffset":543,"endOffset":1030,"count":0}],"isBlockCoverage":false},{"functionName":"braces.parse","ranges":[{"startOffset":1359,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"braces.stringify","ranges":[{"startOffset":1795,"endOffset":1959,"count":0}],"isBlockCoverage":false},{"functionName":"braces.compile","ranges":[{"startOffset":2407,"endOffset":2550,"count":0}],"isBlockCoverage":false},{"functionName":"braces.expand","ranges":[{"startOffset":3141,"endOffset":3541,"count":0}],"isBlockCoverage":false},{"functionName":"braces.create","ranges":[{"startOffset":4118,"endOffset":4319,"count":0}],"isBlockCoverage":false}]},{"scriptId":"289","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/stringify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":700,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":67,"endOffset":697,"count":0}],"isBlockCoverage":false}]},{"scriptId":"290","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2451,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isInteger","ranges":[{"startOffset":35,"endOffset":232,"count":0}],"isBlockCoverage":false},{"functionName":"exports.find","ranges":[{"startOffset":292,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"exports.exceedsLimit","ranges":[{"startOffset":419,"endOffset":626,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeNode","ranges":[{"startOffset":712,"endOffset":985,"count":0}],"isBlockCoverage":false},{"functionName":"exports.encloseBrace","ranges":[{"startOffset":1097,"endOffset":1266,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isInvalidBrace","ranges":[{"startOffset":1347,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isOpenOrClose","ranges":[{"startOffset":1767,"endOffset":1906,"count":0}],"isBlockCoverage":false},{"functionName":"exports.reduce","ranges":[{"startOffset":1969,"endOffset":2127,"count":0}],"isBlockCoverage":false},{"functionName":"exports.flatten","ranges":[{"startOffset":2177,"endOffset":2449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"291","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/compile.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1415,"count":1}],"isBlockCoverage":true},{"functionName":"compile","ranges":[{"startOffset":102,"endOffset":1386,"count":0}],"isBlockCoverage":false}]},{"scriptId":"292","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fill-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6315,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":265,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"transform","ranges":[{"startOffset":355,"endOffset":439,"count":0}],"isBlockCoverage":false},{"functionName":"isValidValue","ranges":[{"startOffset":463,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":578,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"zeros","ranges":[{"startOffset":624,"endOffset":817,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":838,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":1001,"endOffset":1295,"count":0}],"isBlockCoverage":false},{"functionName":"toMaxLen","ranges":[{"startOffset":1315,"endOffset":1552,"count":0}],"isBlockCoverage":false},{"functionName":"toSequence","ranges":[{"startOffset":1574,"endOffset":2208,"count":0}],"isBlockCoverage":false},{"functionName":"toRange","ranges":[{"startOffset":2227,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"toRegex","ranges":[{"startOffset":2499,"endOffset":2758,"count":0}],"isBlockCoverage":false},{"functionName":"rangeError","ranges":[{"startOffset":2780,"endOffset":2874,"count":0}],"isBlockCoverage":false},{"functionName":"invalidRange","ranges":[{"startOffset":2898,"endOffset":3008,"count":0}],"isBlockCoverage":false},{"functionName":"invalidStep","ranges":[{"startOffset":3031,"endOffset":3176,"count":0}],"isBlockCoverage":false},{"functionName":"fillNumbers","ranges":[{"startOffset":3199,"endOffset":4682,"count":0}],"isBlockCoverage":false},{"functionName":"fillLetters","ranges":[{"startOffset":4705,"endOffset":5486,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":5502,"endOffset":6289,"count":0}],"isBlockCoverage":false}]},{"scriptId":"293","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/to-regex-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6481,"count":1}],"isBlockCoverage":true},{"functionName":"toRegexRange","ranges":[{"startOffset":235,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"collatePatterns","ranges":[{"startOffset":2180,"endOffset":2554,"count":0}],"isBlockCoverage":false},{"functionName":"splitToRanges","ranges":[{"startOffset":2556,"endOffset":3037,"count":0}],"isBlockCoverage":false},{"functionName":"rangeToPattern","ranges":[{"startOffset":3159,"endOffset":3832,"count":0}],"isBlockCoverage":false},{"functionName":"splitToPatterns","ranges":[{"startOffset":3834,"endOffset":4632,"count":0}],"isBlockCoverage":false},{"functionName":"filterPatterns","ranges":[{"startOffset":4634,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"zip","ranges":[{"startOffset":5120,"endOffset":5233,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":5235,"endOffset":5298,"count":0}],"isBlockCoverage":false},{"functionName":"contains","ranges":[{"startOffset":5300,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"countNines","ranges":[{"startOffset":5382,"endOffset":5478,"count":0}],"isBlockCoverage":false},{"functionName":"countZeros","ranges":[{"startOffset":5480,"endOffset":5571,"count":0}],"isBlockCoverage":false},{"functionName":"toQuantifier","ranges":[{"startOffset":5573,"endOffset":5741,"count":0}],"isBlockCoverage":false},{"functionName":"toCharacterClass","ranges":[{"startOffset":5743,"endOffset":5837,"count":0}],"isBlockCoverage":false},{"functionName":"hasPadding","ranges":[{"startOffset":5839,"endOffset":5899,"count":0}],"isBlockCoverage":false},{"functionName":"padZeros","ranges":[{"startOffset":5901,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"toRegexRange.clearCache","ranges":[{"startOffset":6382,"endOffset":6413,"count":0}],"isBlockCoverage":false}]},{"scriptId":"294","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-number/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":411,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":184,"endOffset":409,"count":0}],"isBlockCoverage":false}]},{"scriptId":"295","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/expand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2780,"count":1}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":143,"endOffset":810,"count":0}],"isBlockCoverage":false},{"functionName":"expand","ranges":[{"startOffset":828,"endOffset":2752,"count":0}],"isBlockCoverage":false}]},{"scriptId":"296","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6913,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":576,"endOffset":6886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"297","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"298","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":60,"count":1}],"isBlockCoverage":true}]},{"scriptId":"299","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/picomatch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9956,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":204,"endOffset":264,"count":18},{"startOffset":242,"endOffset":264,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch","ranges":[{"startOffset":1018,"endOffset":2836,"count":19},{"startOffset":1087,"endOffset":1365,"count":1},{"startOffset":1365,"endOffset":1400,"count":18},{"startOffset":1400,"endOffset":1414,"count":0},{"startOffset":1415,"endOffset":1428,"count":0},{"startOffset":1449,"endOffset":1490,"count":18},{"startOffset":1478,"endOffset":1489,"count":0},{"startOffset":1492,"endOffset":1567,"count":0},{"startOffset":1567,"endOffset":1597,"count":18},{"startOffset":1669,"endOffset":1705,"count":0},{"startOffset":1710,"endOffset":1756,"count":18},{"startOffset":1861,"endOffset":2015,"count":0},{"startOffset":2015,"endOffset":2783,"count":18},{"startOffset":2783,"endOffset":2815,"count":0},{"startOffset":2815,"endOffset":2835,"count":18}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1114,"endOffset":1161,"count":18}],"isBlockCoverage":true},{"functionName":"arrayMatcher","ranges":[{"startOffset":1189,"endOffset":1335,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnored","ranges":[{"startOffset":1829,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2035,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.test","ranges":[{"startOffset":3384,"endOffset":4185,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.matchBase","ranges":[{"startOffset":4600,"endOffset":4787,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.isMatch","ranges":[{"startOffset":5423,"endOffset":5484,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.parse","ranges":[{"startOffset":5894,"endOffset":6062,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.scan","ranges":[{"startOffset":6697,"endOffset":6737,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.compileRe","ranges":[{"startOffset":7228,"endOffset":7738,"count":18},{"startOffset":7322,"endOffset":7352,"count":0},{"startOffset":7377,"endOffset":7382,"count":0},{"startOffset":7416,"endOffset":7420,"count":0},{"startOffset":7459,"endOffset":7463,"count":0},{"startOffset":7568,"endOffset":7607,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch.makeRe","ranges":[{"startOffset":8611,"endOffset":9117,"count":18},{"startOffset":8724,"endOffset":8785,"count":0},{"startOffset":8895,"endOffset":8914,"count":8},{"startOffset":8917,"endOffset":8975,"count":12}],"isBlockCoverage":true},{"functionName":"picomatch.toRegex","ranges":[{"startOffset":9579,"endOffset":9807,"count":18},{"startOffset":9635,"endOffset":9640,"count":0},{"startOffset":9699,"endOffset":9704,"count":0},{"startOffset":9717,"endOffset":9805,"count":0}],"isBlockCoverage":true}]},{"scriptId":"300","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/scan.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9189,"count":1}],"isBlockCoverage":true},{"functionName":"isPathSeparator","ranges":[{"startOffset":665,"endOffset":746,"count":0}],"isBlockCoverage":false},{"functionName":"depth","ranges":[{"startOffset":763,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"scan","ranges":[{"startOffset":1512,"endOffset":9163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"301","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1885,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isObject","ranges":[{"startOffset":242,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"exports.hasRegexChars","ranges":[{"startOffset":337,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isRegexChar","ranges":[{"startOffset":397,"endOffset":450,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeRegex","ranges":[{"startOffset":474,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"exports.toPosixSlashes","ranges":[{"startOffset":555,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removeBackslashes","ranges":[{"startOffset":626,"endOffset":738,"count":0}],"isBlockCoverage":false},{"functionName":"exports.supportsLookbehinds","ranges":[{"startOffset":771,"endOffset":960,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isWindows","ranges":[{"startOffset":983,"endOffset":1132,"count":48},{"startOffset":1010,"endOffset":1049,"count":30},{"startOffset":1051,"endOffset":1084,"count":0}],"isBlockCoverage":true},{"functionName":"exports.escapeLast","ranges":[{"startOffset":1156,"endOffset":1401,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removePrefix","ranges":[{"startOffset":1427,"endOffset":1584,"count":30},{"startOffset":1505,"endOffset":1565,"count":0}],"isBlockCoverage":true},{"functionName":"exports.wrapOutput","ranges":[{"startOffset":1608,"endOffset":1883,"count":8},{"startOffset":1682,"endOffset":1686,"count":0},{"startOffset":1728,"endOffset":1732,"count":0},{"startOffset":1821,"endOffset":1864,"count":0}],"isBlockCoverage":true}]},{"scriptId":"302","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4448,"count":1}],"isBlockCoverage":true},{"functionName":"extglobChars","ranges":[{"startOffset":3985,"endOffset":4324,"count":18}],"isBlockCoverage":true},{"functionName":"globChars","ranges":[{"startOffset":4365,"endOffset":4444,"count":30},{"startOffset":4410,"endOffset":4425,"count":0}],"isBlockCoverage":true}]},{"scriptId":"303","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27763,"count":1}],"isBlockCoverage":true},{"functionName":"expandRange","ranges":[{"startOffset":287,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"syntaxError","ranges":[{"startOffset":713,"endOffset":819,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":950,"endOffset":25216,"count":18},{"startOffset":1005,"endOffset":1056,"count":0},{"startOffset":1179,"endOffset":1217,"count":0},{"startOffset":1276,"endOffset":1372,"count":0},{"startOffset":1500,"endOffset":1504,"count":0},{"startOffset":2109,"endOffset":2113,"count":0},{"startOffset":2154,"endOffset":2161,"count":0},{"startOffset":2210,"endOffset":2226,"count":0},{"startOffset":2256,"endOffset":2285,"count":0},{"startOffset":2357,"endOffset":2395,"count":0},{"startOffset":6907,"endOffset":8130,"count":8},{"startOffset":7704,"endOffset":7937,"count":0},{"startOffset":7964,"endOffset":7989,"count":3},{"startOffset":7991,"endOffset":8046,"count":0},{"startOffset":8130,"endOffset":8211,"count":10},{"startOffset":8211,"endOffset":24093,"count":55},{"startOffset":8265,"endOffset":8288,"count":0},{"startOffset":8357,"endOffset":9173,"count":0},{"startOffset":9319,"endOffset":9382,"count":0},{"startOffset":9384,"endOffset":10516,"count":0},{"startOffset":10659,"endOffset":10675,"count":0},{"startOffset":10677,"endOffset":10792,"count":0},{"startOffset":10855,"endOffset":11012,"count":0},{"startOffset":11073,"endOffset":11161,"count":0},{"startOffset":11186,"endOffset":11621,"count":0},{"startOffset":11686,"endOffset":12045,"count":0},{"startOffset":12070,"endOffset":13525,"count":0},{"startOffset":13580,"endOffset":13604,"count":0},{"startOffset":13606,"endOffset":13873,"count":0},{"startOffset":13898,"endOffset":15028,"count":0},{"startOffset":15083,"endOffset":15236,"count":0},{"startOffset":15292,"endOffset":15553,"count":0},{"startOffset":15610,"endOffset":16220,"count":9},{"startOffset":15901,"endOffset":15935,"count":0},{"startOffset":15937,"endOffset":16136,"count":0},{"startOffset":16220,"endOffset":16274,"count":46},{"startOffset":16274,"endOffset":16840,"count":5},{"startOffset":16303,"endOffset":16325,"count":0},{"startOffset":16327,"endOffset":16576,"count":0},{"startOffset":16647,"endOffset":16671,"count":0},{"startOffset":16673,"endOffset":16760,"count":0},{"startOffset":16840,"endOffset":16904,"count":41},{"startOffset":16904,"endOffset":17841,"count":0},{"startOffset":17841,"endOffset":17902,"count":41},{"startOffset":17902,"endOffset":18202,"count":0},{"startOffset":18202,"endOffset":18256,"count":41},{"startOffset":18256,"endOffset":18806,"count":0},{"startOffset":18806,"endOffset":18866,"count":41},{"startOffset":18866,"endOffset":19091,"count":0},{"startOffset":19091,"endOffset":19151,"count":41},{"startOffset":19151,"endOffset":19452,"count":10},{"startOffset":19195,"endOffset":19234,"count":0},{"startOffset":19452,"endOffset":19548,"count":31},{"startOffset":19550,"endOffset":19757,"count":0},{"startOffset":19757,"endOffset":19842,"count":31},{"startOffset":19844,"endOffset":19901,"count":0},{"startOffset":19901,"endOffset":19933,"count":31},{"startOffset":19933,"endOffset":23132,"count":11},{"startOffset":19971,"endOffset":20022,"count":0},{"startOffset":20133,"endOffset":20156,"count":2},{"startOffset":20189,"endOffset":20246,"count":9},{"startOffset":20278,"endOffset":20323,"count":0},{"startOffset":20325,"endOffset":20403,"count":0},{"startOffset":20444,"endOffset":20497,"count":0},{"startOffset":20539,"endOffset":20591,"count":0},{"startOffset":20612,"endOffset":20637,"count":0},{"startOffset":20638,"endOffset":20649,"count":0},{"startOffset":20650,"endOffset":20663,"count":0},{"startOffset":20665,"endOffset":20743,"count":0},{"startOffset":20820,"endOffset":20997,"count":0},{"startOffset":21030,"endOffset":21038,"count":2},{"startOffset":21040,"endOffset":21257,"count":0},{"startOffset":21292,"endOffset":21320,"count":9},{"startOffset":21321,"endOffset":21334,"count":9},{"startOffset":21335,"endOffset":21343,"count":9},{"startOffset":21345,"endOffset":21745,"count":0},{"startOffset":21780,"endOffset":21808,"count":9},{"startOffset":21809,"endOffset":21827,"count":9},{"startOffset":21829,"endOffset":22362,"count":9},{"startOffset":21877,"endOffset":21881,"count":0},{"startOffset":22362,"endOffset":22413,"count":2},{"startOffset":22415,"endOffset":22745,"count":2},{"startOffset":22745,"endOffset":23132,"count":0},{"startOffset":23132,"endOffset":23220,"count":20},{"startOffset":23220,"endOffset":23401,"count":0},{"startOffset":23401,"endOffset":23469,"count":20},{"startOffset":23470,"endOffset":23492,"count":0},{"startOffset":23494,"endOffset":23564,"count":0},{"startOffset":23564,"endOffset":23602,"count":20},{"startOffset":23602,"endOffset":23626,"count":18},{"startOffset":23627,"endOffset":23649,"count":0},{"startOffset":23651,"endOffset":24071,"count":20},{"startOffset":23684,"endOffset":23769,"count":0},{"startOffset":23798,"endOffset":23885,"count":0},{"startOffset":23989,"endOffset":24065,"count":9},{"startOffset":24071,"endOffset":24093,"count":20},{"startOffset":24093,"endOffset":24124,"count":10},{"startOffset":24124,"endOffset":24302,"count":0},{"startOffset":24302,"endOffset":24331,"count":10},{"startOffset":24331,"endOffset":24507,"count":0},{"startOffset":24507,"endOffset":24536,"count":10},{"startOffset":24536,"endOffset":24712,"count":0},{"startOffset":24712,"endOffset":24800,"count":10},{"startOffset":24773,"endOffset":24799,"count":1},{"startOffset":24802,"endOffset":24882,"count":9},{"startOffset":24882,"endOffset":24976,"count":10},{"startOffset":24976,"endOffset":25197,"count":0},{"startOffset":25197,"endOffset":25215,"count":10}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":1977,"endOffset":2081,"count":11},{"startOffset":2042,"endOffset":2054,"count":0}],"isBlockCoverage":true},{"functionName":"eos","ranges":[{"startOffset":2889,"endOffset":2918,"count":76}],"isBlockCoverage":true},{"functionName":"state.peek","ranges":[{"startOffset":2948,"endOffset":2981,"count":20}],"isBlockCoverage":true},{"functionName":"state.advance","ranges":[{"startOffset":3017,"endOffset":3049,"count":66},{"startOffset":3044,"endOffset":3049,"count":0}],"isBlockCoverage":true},{"functionName":"remaining","ranges":[{"startOffset":3071,"endOffset":3105,"count":41}],"isBlockCoverage":true},{"functionName":"consume","ranges":[{"startOffset":3125,"endOffset":3208,"count":75}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":3228,"endOffset":3339,"count":64},{"startOffset":3280,"endOffset":3294,"count":54},{"startOffset":3295,"endOffset":3308,"count":10}],"isBlockCoverage":true},{"functionName":"negate","ranges":[{"startOffset":3359,"endOffset":3635,"count":0}],"isBlockCoverage":false},{"functionName":"increment","ranges":[{"startOffset":3658,"endOffset":3712,"count":0}],"isBlockCoverage":false},{"functionName":"decrement","ranges":[{"startOffset":3735,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":4109,"endOffset":5036,"count":64},{"startOffset":4152,"endOffset":4644,"count":11},{"startOffset":4193,"endOffset":4242,"count":0},{"startOffset":4309,"endOffset":4357,"count":0},{"startOffset":4392,"endOffset":4415,"count":0},{"startOffset":4416,"endOffset":4427,"count":0},{"startOffset":4428,"endOffset":4441,"count":0},{"startOffset":4443,"endOffset":4638,"count":0},{"startOffset":4670,"endOffset":4693,"count":0},{"startOffset":4695,"endOffset":4758,"count":0},{"startOffset":4778,"endOffset":4791,"count":9},{"startOffset":4843,"endOffset":4865,"count":9},{"startOffset":4867,"endOffset":4972,"count":0}],"isBlockCoverage":true},{"functionName":"extglobOpen","ranges":[{"startOffset":5061,"endOffset":5492,"count":0}],"isBlockCoverage":false},{"functionName":"extglobClose","ranges":[{"startOffset":5518,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6999,"endOffset":7670,"count":6},{"startOffset":7066,"endOffset":7121,"count":0},{"startOffset":7148,"endOffset":7409,"count":0},{"startOffset":7436,"endOffset":7494,"count":5},{"startOffset":7494,"endOffset":7521,"count":1},{"startOffset":7521,"endOffset":7631,"count":0},{"startOffset":7631,"endOffset":7649,"count":1},{"startOffset":7649,"endOffset":7652,"count":0},{"startOffset":7653,"endOffset":7663,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7841,"endOffset":7921,"count":0}],"isBlockCoverage":false},{"functionName":"parse.fastpaths","ranges":[{"startOffset":25439,"endOffset":27736,"count":12},{"startOffset":25541,"endOffset":25579,"count":0},{"startOffset":25639,"endOffset":25735,"count":0},{"startOffset":26089,"endOffset":26098,"count":0},{"startOffset":26137,"endOffset":26152,"count":0},{"startOffset":26194,"endOffset":26198,"count":0},{"startOffset":26287,"endOffset":26294,"count":0},{"startOffset":26324,"endOffset":26353,"count":0},{"startOffset":27644,"endOffset":27674,"count":0},{"startOffset":27676,"endOffset":27716,"count":0}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":26374,"endOffset":26525,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":26545,"endOffset":27545,"count":16},{"startOffset":26579,"endOffset":26633,"count":0},{"startOffset":26641,"endOffset":26702,"count":0},{"startOffset":26710,"endOffset":26787,"count":0},{"startOffset":26795,"endOffset":26885,"count":0},{"startOffset":26893,"endOffset":26942,"count":0},{"startOffset":26950,"endOffset":27056,"count":0},{"startOffset":27064,"endOffset":27193,"count":0},{"startOffset":27201,"endOffset":27311,"count":0},{"startOffset":27400,"endOffset":27407,"count":12},{"startOffset":27407,"endOffset":27478,"count":4},{"startOffset":27478,"endOffset":27535,"count":0}],"isBlockCoverage":true}]},{"scriptId":"304","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":629,"count":1}],"isBlockCoverage":true},{"functionName":"merge","ranges":[{"startOffset":135,"endOffset":499,"count":0}],"isBlockCoverage":false},{"functionName":"propagateCloseEventToSources","ranges":[{"startOffset":523,"endOffset":628,"count":0}],"isBlockCoverage":false}]},{"scriptId":"305","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":298,"count":1}],"isBlockCoverage":true},{"functionName":"isString","ranges":[{"startOffset":122,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"isEmpty","ranges":[{"startOffset":218,"endOffset":270,"count":0}],"isBlockCoverage":false}]},{"scriptId":"306","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":814,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderAsync","ranges":[{"startOffset":217,"endOffset":327,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":332,"endOffset":587,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":592,"endOffset":778,"count":0}],"isBlockCoverage":false}]},{"scriptId":"307","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1213,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderAsync","ranges":[{"startOffset":246,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":407,"endOffset":750,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":755,"endOffset":1179,"count":0}],"isBlockCoverage":false}]},{"scriptId":"308","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"walk","ranges":[{"startOffset":378,"endOffset":710,"count":0}],"isBlockCoverage":false},{"functionName":"walkSync","ranges":[{"startOffset":732,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"walkStream","ranges":[{"startOffset":956,"endOffset":1154,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":1188,"endOffset":1389,"count":0}],"isBlockCoverage":false}]},{"scriptId":"309","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":895,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncProvider","ranges":[{"startOffset":148,"endOffset":349,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":354,"endOffset":707,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":743,"endOffset":813,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":814,"endOffset":894,"count":0}],"isBlockCoverage":false}]},{"scriptId":"310","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3157,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncReader","ranges":[{"startOffset":318,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":821,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"get isDestroyed","ranges":[{"startOffset":1050,"endOffset":1109,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":1114,"endOffset":1308,"count":0}],"isBlockCoverage":false},{"functionName":"onEntry","ranges":[{"startOffset":1313,"endOffset":1383,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":1388,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"onEnd","ranges":[{"startOffset":1465,"endOffset":1533,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":1538,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_worker","ranges":[{"startOffset":1778,"endOffset":2168,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":2173,"endOffset":2423,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":2428,"endOffset":3049,"count":0}],"isBlockCoverage":false},{"functionName":"_emitEntry","ranges":[{"startOffset":3054,"endOffset":3123,"count":0}],"isBlockCoverage":false}]},{"scriptId":"311","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1009,"count":1}],"isBlockCoverage":true},{"functionName":"scandir","ranges":[{"startOffset":311,"endOffset":603,"count":0}],"isBlockCoverage":false},{"functionName":"scandirSync","ranges":[{"startOffset":631,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":807,"endOffset":1008,"count":0}],"isBlockCoverage":false}]},{"scriptId":"312","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3686,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":346,"endOffset":598,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":620,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"makeRplTaskEntry","ranges":[{"startOffset":1625,"endOffset":2247,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":2248,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":3536,"endOffset":3606,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":3607,"endOffset":3685,"count":0}],"isBlockCoverage":false}]},{"scriptId":"313","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"stat","ranges":[{"startOffset":305,"endOffset":594,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":616,"endOffset":753,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":783,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"314","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":1000,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":1022,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":1093,"endOffset":1171,"count":0}],"isBlockCoverage":false}]},{"scriptId":"315","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":619,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"316","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":696,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":135,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":563,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"317","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":305,"endOffset":522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"318","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/run-parallel/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1034,"count":1}],"isBlockCoverage":true},{"functionName":"runParallel","ranges":[{"startOffset":167,"endOffset":1033,"count":0}],"isBlockCoverage":false}]},{"scriptId":"319","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/queue-microtask/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":402,"count":1},{"startOffset":210,"endOffset":218,"count":0},{"startOffset":283,"endOffset":401,"count":0}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":285,"endOffset":401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"320","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":990,"count":1},{"startOffset":295,"endOffset":424,"count":0},{"startOffset":794,"endOffset":837,"count":0},{"startOffset":956,"endOffset":988,"count":0}],"isBlockCoverage":true}]},{"scriptId":"321","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":143,"count":1}],"isBlockCoverage":true}]},{"scriptId":"322","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"323","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":419,"count":1}],"isBlockCoverage":true},{"functionName":"joinPathSegments","ranges":[{"startOffset":112,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"324","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1990,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":309,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":551,"endOffset":1357,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":1411,"endOffset":1962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"325","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1076,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":209,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":943,"endOffset":1045,"count":0}],"isBlockCoverage":false}]},{"scriptId":"326","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":640,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":363,"endOffset":580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"327","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fastq/queue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5617,"count":1}],"isBlockCoverage":true},{"functionName":"fastqueue","ranges":[{"startOffset":77,"endOffset":3391,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":3393,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"Task","ranges":[{"startOffset":3414,"endOffset":3917,"count":0}],"isBlockCoverage":false},{"functionName":"queueAsPromised","ranges":[{"startOffset":3919,"endOffset":5547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"328","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/reusify/reusify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"reusify","ranges":[{"startOffset":14,"endOffset":427,"count":0}],"isBlockCoverage":false}]},{"scriptId":"329","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1052,"count":1}],"isBlockCoverage":true},{"functionName":"isFatalError","ranges":[{"startOffset":199,"endOffset":350,"count":0}],"isBlockCoverage":false},{"functionName":"isAppliedFilter","ranges":[{"startOffset":388,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"replacePathSegmentSeparator","ranges":[{"startOffset":520,"endOffset":633,"count":0}],"isBlockCoverage":false},{"functionName":"joinPathSegments","ranges":[{"startOffset":701,"endOffset":1006,"count":0}],"isBlockCoverage":false}]},{"scriptId":"330","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":358,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":132,"endOffset":329,"count":0}],"isBlockCoverage":false}]},{"scriptId":"331","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1021,"count":1}],"isBlockCoverage":true},{"functionName":"StreamProvider","ranges":[{"startOffset":185,"endOffset":630,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":635,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"332","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":407,"count":1}],"isBlockCoverage":true},{"functionName":"SyncProvider","ranges":[{"startOffset":145,"endOffset":317,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":322,"endOffset":372,"count":0}],"isBlockCoverage":false}]},{"scriptId":"333","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1911,"count":1}],"isBlockCoverage":true},{"functionName":"SyncReader","ranges":[{"startOffset":249,"endOffset":407,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":412,"endOffset":549,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":554,"endOffset":637,"count":0}],"isBlockCoverage":false},{"functionName":"_handleQueue","ranges":[{"startOffset":642,"endOffset":787,"count":0}],"isBlockCoverage":false},{"functionName":"_handleDirectory","ranges":[{"startOffset":792,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":1127,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":1269,"endOffset":1809,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToStorage","ranges":[{"startOffset":1814,"endOffset":1878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"334","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1250,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":178,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":1117,"endOffset":1219,"count":0}],"isBlockCoverage":false}]},{"scriptId":"335","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1063,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":205,"endOffset":518,"count":0}],"isBlockCoverage":false},{"functionName":"_getFullEntryPath","ranges":[{"startOffset":523,"endOffset":617,"count":0}],"isBlockCoverage":false},{"functionName":"_makeEntry","ranges":[{"startOffset":622,"endOffset":913,"count":0}],"isBlockCoverage":false},{"functionName":"_isFatalError","ranges":[{"startOffset":918,"endOffset":1034,"count":0}],"isBlockCoverage":false}]},{"scriptId":"336","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1870,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderStream","ranges":[{"startOffset":289,"endOffset":419,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":424,"endOffset":502,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":513,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":1275,"endOffset":1579,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1584,"endOffset":1835,"count":0}],"isBlockCoverage":false}]},{"scriptId":"337","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/provider.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2000,"count":1}],"isBlockCoverage":true},{"functionName":"Provider","ranges":[{"startOffset":307,"endOffset":692,"count":0}],"isBlockCoverage":false},{"functionName":"_getRootDirectory","ranges":[{"startOffset":697,"endOffset":788,"count":0}],"isBlockCoverage":false},{"functionName":"_getReaderOptions","ranges":[{"startOffset":793,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"_getMicromatchOptions","ranges":[{"startOffset":1559,"endOffset":1969,"count":0}],"isBlockCoverage":false}]},{"scriptId":"338","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/deep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2466,"count":1}],"isBlockCoverage":true},{"functionName":"DeepFilter","ranges":[{"startOffset":188,"endOffset":328,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":333,"endOffset":576,"count":0}],"isBlockCoverage":false},{"functionName":"_getMatcher","ranges":[{"startOffset":581,"endOffset":699,"count":0}],"isBlockCoverage":false},{"functionName":"_getNegativePatternsRe","ranges":[{"startOffset":704,"endOffset":956,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":961,"endOffset":1444,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByDeep","ranges":[{"startOffset":1449,"endOffset":1754,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntryLevel","ranges":[{"startOffset":1759,"endOffset":2043,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedSymbolicLink","ranges":[{"startOffset":2048,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByPositivePatterns","ranges":[{"startOffset":2175,"endOffset":2306,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByNegativePatterns","ranges":[{"startOffset":2311,"endOffset":2433,"count":0}],"isBlockCoverage":false}]},{"scriptId":"339","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/partial.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1421,"count":1}],"isBlockCoverage":true},{"functionName":"match","ranges":[{"startOffset":170,"endOffset":1384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"340","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1568,"count":1}],"isBlockCoverage":true},{"functionName":"Matcher","ranges":[{"startOffset":135,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"_fillStorage","ranges":[{"startOffset":384,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"_getPatternSegments","ranges":[{"startOffset":778,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"_splitSegmentsIntoSections","ranges":[{"startOffset":1370,"endOffset":1538,"count":0}],"isBlockCoverage":false}]},{"scriptId":"341","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2686,"count":1}],"isBlockCoverage":true},{"functionName":"EntryFilter","ranges":[{"startOffset":139,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":316,"endOffset":667,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":672,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"_isDuplicateEntry","ranges":[{"startOffset":1473,"endOffset":1549,"count":0}],"isBlockCoverage":false},{"functionName":"_createIndexRecord","ranges":[{"startOffset":1554,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyFileFilter","ranges":[{"startOffset":1640,"endOffset":1737,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyDirectoryFilter","ranges":[{"startOffset":1742,"endOffset":1855,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByAbsoluteNegativePatterns","ranges":[{"startOffset":1860,"endOffset":2145,"count":0}],"isBlockCoverage":false},{"functionName":"_isMatchToPatterns","ranges":[{"startOffset":2150,"endOffset":2652,"count":0}],"isBlockCoverage":false}]},{"scriptId":"342","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"ErrorFilter","ranges":[{"startOffset":139,"endOffset":205,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":210,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"_isNonFatalError","ranges":[{"startOffset":290,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"343","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/transformers/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":845,"count":1}],"isBlockCoverage":true},{"functionName":"EntryTransformer","ranges":[{"startOffset":144,"endOffset":210,"count":0}],"isBlockCoverage":false},{"functionName":"getTransformer","ranges":[{"startOffset":215,"endOffset":289,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":294,"endOffset":806,"count":0}],"isBlockCoverage":false}]},{"scriptId":"344","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1198,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderStream","ranges":[{"startOffset":256,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":372,"endOffset":970,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":975,"endOffset":1161,"count":0}],"isBlockCoverage":false}]},{"scriptId":"345","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":779,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderSync","ranges":[{"startOffset":214,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":328,"endOffset":553,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":558,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"346","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1330,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderSync","ranges":[{"startOffset":251,"endOffset":385,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":390,"endOffset":466,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":477,"endOffset":878,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":883,"endOffset":1203,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1208,"endOffset":1297,"count":0}],"isBlockCoverage":false}]},{"scriptId":"347","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2849,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":645,"endOffset":2584,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":2589,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"_getFileSystemMethods","ranges":[{"startOffset":2680,"endOffset":2818,"count":0}],"isBlockCoverage":false}]},{"scriptId":"348","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/dir-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2304,"count":1}],"isBlockCoverage":true},{"functionName":"getExtensions","ranges":[{"startOffset":106,"endOffset":187,"count":0}],"isBlockCoverage":false},{"functionName":"getPath","ranges":[{"startOffset":206,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"addExtensions","ranges":[{"startOffset":376,"endOffset":506,"count":0}],"isBlockCoverage":false},{"functionName":"getGlob","ranges":[{"startOffset":525,"endOffset":1324,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1344,"endOffset":1852,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.sync","ranges":[{"startOffset":1877,"endOffset":2302,"count":0}],"isBlockCoverage":false}]},{"scriptId":"349","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-type/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":true},{"functionName":"isType","ranges":[{"startOffset":78,"endOffset":444,"count":0}],"isBlockCoverage":false},{"functionName":"isTypeSync","ranges":[{"startOffset":446,"endOffset":770,"count":0}],"isBlockCoverage":false}]},{"scriptId":"350","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16073,"count":1},{"startOffset":15630,"endOffset":16072,"count":0}],"isBlockCoverage":true},{"functionName":"makeArray","ranges":[{"startOffset":41,"endOffset":135,"count":0}],"isBlockCoverage":false},{"functionName":"define","ranges":[{"startOffset":813,"endOffset":882,"count":0}],"isBlockCoverage":false},{"functionName":"RETURN_FALSE","ranges":[{"startOffset":952,"endOffset":963,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeRange","ranges":[{"startOffset":1090,"endOffset":1362,"count":0}],"isBlockCoverage":false},{"functionName":"cleanRangeBackSlash","ranges":[{"startOffset":1412,"endOffset":1500,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2321,"endOffset":2383,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2438,"endOffset":2449,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3104,"endOffset":3125,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3213,"endOffset":3225,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3477,"endOffset":3486,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3577,"endOffset":3588,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4009,"endOffset":4028,"count":0}],"isBlockCoverage":false},{"functionName":"startingReplacer","ranges":[{"startOffset":4250,"endOffset":5144,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5442,"endOffset":5912,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":6273,"endOffset":6593,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6787,"endOffset":6799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6849,"endOffset":6861,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7539,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":8102,"endOffset":8250,"count":0}],"isBlockCoverage":false},{"functionName":"REPLACERS","ranges":[{"startOffset":8311,"endOffset":8645,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegex","ranges":[{"startOffset":8808,"endOffset":9130,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":9149,"endOffset":9187,"count":0}],"isBlockCoverage":false},{"functionName":"checkPattern","ranges":[{"startOffset":9294,"endOffset":9514,"count":0}],"isBlockCoverage":false},{"functionName":"splitPattern","ranges":[{"startOffset":9537,"endOffset":9582,"count":0}],"isBlockCoverage":false},{"functionName":"IgnoreRule","ranges":[{"startOffset":9605,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"createRule","ranges":[{"startOffset":9804,"endOffset":10534,"count":0}],"isBlockCoverage":false},{"functionName":"throwError","ranges":[{"startOffset":10555,"endOffset":10603,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath","ranges":[{"startOffset":10623,"endOffset":11159,"count":0}],"isBlockCoverage":false},{"functionName":"isNotRelative","ranges":[{"startOffset":11183,"endOffset":11225,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.convert","ranges":[{"startOffset":11287,"endOffset":11293,"count":0}],"isBlockCoverage":false},{"functionName":"Ignore","ranges":[{"startOffset":11312,"endOffset":11588,"count":0}],"isBlockCoverage":false},{"functionName":"_initCache","ranges":[{"startOffset":11592,"endOffset":11697,"count":0}],"isBlockCoverage":false},{"functionName":"_addPattern","ranges":[{"startOffset":11701,"endOffset":12031,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":12089,"endOffset":12416,"count":0}],"isBlockCoverage":false},{"functionName":"addPattern","ranges":[{"startOffset":12432,"endOffset":12487,"count":0}],"isBlockCoverage":false},{"functionName":"_testOne","ranges":[{"startOffset":13081,"endOffset":13588,"count":0}],"isBlockCoverage":false},{"functionName":"_test","ranges":[{"startOffset":13619,"endOffset":13965,"count":0}],"isBlockCoverage":false},{"functionName":"_t","ranges":[{"startOffset":13969,"endOffset":14755,"count":0}],"isBlockCoverage":false},{"functionName":"ignores","ranges":[{"startOffset":14759,"endOffset":14841,"count":0}],"isBlockCoverage":false},{"functionName":"createFilter","ranges":[{"startOffset":14845,"endOffset":14905,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":14909,"endOffset":14985,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":15016,"endOffset":15084,"count":0}],"isBlockCoverage":false},{"functionName":"factory","ranges":[{"startOffset":15104,"endOffset":15134,"count":0}],"isBlockCoverage":false},{"functionName":"isPathValid","ranges":[{"startOffset":15156,"endOffset":15228,"count":0}],"isBlockCoverage":false},{"functionName":"makePosix","ranges":[{"startOffset":15691,"endOffset":15798,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.isNotRelative","ranges":[{"startOffset":15990,"endOffset":16070,"count":0}],"isBlockCoverage":false}]},{"scriptId":"351","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/glob-helpers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4053,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":547,"endOffset":575,"count":9}],"isBlockCoverage":true},{"functionName":"processMatchingPatterns","ranges":[{"startOffset":724,"endOffset":1373,"count":0}],"isBlockCoverage":false},{"functionName":"matchesIgnorePatterns","ranges":[{"startOffset":1466,"endOffset":1608,"count":0}],"isBlockCoverage":false},{"functionName":"classify","ranges":[{"startOffset":1611,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"hasExtension","ranges":[{"startOffset":2008,"endOffset":2078,"count":0}],"isBlockCoverage":false},{"functionName":"isHelperish","ranges":[{"startOffset":2119,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"matches","ranges":[{"startOffset":2778,"endOffset":2887,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFileForMatching","ranges":[{"startOffset":2917,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePattern","ranges":[{"startOffset":3459,"endOffset":3856,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePatterns","ranges":[{"startOffset":3904,"endOffset":4004,"count":0}],"isBlockCoverage":false}]},{"scriptId":"352","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore-by-default/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":816,"count":1}],"isBlockCoverage":true},{"functionName":"exports.directories","ranges":[{"startOffset":36,"endOffset":815,"count":1}],"isBlockCoverage":true}]},{"scriptId":"353","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/slash.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":1199,"endOffset":1364,"count":0}],"isBlockCoverage":false}]},{"scriptId":"354","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/pkg.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":59,"count":1}],"isBlockCoverage":true}]},{"scriptId":"355","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/clean-yaml-object/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2176,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":129,"count":0}],"isBlockCoverage":false},{"functionName":"cleanYamlObj","ranges":[{"startOffset":132,"endOffset":1901,"count":0}],"isBlockCoverage":false},{"functionName":"setProp","ranges":[{"startOffset":1903,"endOffset":2131,"count":0}],"isBlockCoverage":false},{"functionName":"defaultFilter","ranges":[{"startOffset":2133,"endOffset":2175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"356","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":578,"count":1}],"isBlockCoverage":true}]},{"scriptId":"357","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3379,"count":1}],"isBlockCoverage":true},{"functionName":"shortcircuitPrimitive","ranges":[{"startOffset":408,"endOffset":728,"count":0}],"isBlockCoverage":false},{"functionName":"compareDescriptors","ranges":[{"startOffset":730,"endOffset":2814,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2864,"endOffset":3352,"count":0}],"isBlockCoverage":false}]},{"scriptId":"358","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Circular.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":785,"count":1}],"isBlockCoverage":true},{"functionName":"Circular","ranges":[{"startOffset":33,"endOffset":80,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":84,"endOffset":361,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":365,"endOffset":583,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":587,"endOffset":647,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":651,"endOffset":756,"count":0}],"isBlockCoverage":false}]},{"scriptId":"359","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":249,"count":1}],"isBlockCoverage":true}]},{"scriptId":"360","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/describe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5965,"count":1}],"isBlockCoverage":true},{"functionName":"describePrimitive","ranges":[{"startOffset":2448,"endOffset":2957,"count":0}],"isBlockCoverage":false},{"functionName":"unboxComplex","ranges":[{"startOffset":2959,"endOffset":3324,"count":0}],"isBlockCoverage":false},{"functionName":"registerPlugins","ranges":[{"startOffset":3326,"endOffset":3726,"count":0}],"isBlockCoverage":false},{"functionName":"describeComplex","ranges":[{"startOffset":3728,"endOffset":4699,"count":0}],"isBlockCoverage":false},{"functionName":"describeItem","ranges":[{"startOffset":4722,"endOffset":4923,"count":0}],"isBlockCoverage":false},{"functionName":"describeMapEntry","ranges":[{"startOffset":4950,"endOffset":5058,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":5060,"endOffset":5938,"count":0}],"isBlockCoverage":false}]},{"scriptId":"361","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Registry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"Registry","ranges":[{"startOffset":33,"endOffset":103,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":107,"endOffset":155,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":159,"endOffset":218,"count":0}],"isBlockCoverage":false},{"functionName":"alloc","ranges":[{"startOffset":222,"endOffset":374,"count":0}],"isBlockCoverage":false}]},{"scriptId":"362","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":409,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":652,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1160,"endOffset":1382,"count":0}],"isBlockCoverage":false}]},{"scriptId":"363","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7185,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":436,"endOffset":713,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":743,"endOffset":839,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectValue","ranges":[{"startOffset":950,"endOffset":1203,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1207,"endOffset":1399,"count":0}],"isBlockCoverage":false},{"functionName":"hasSameCtor","ranges":[{"startOffset":1403,"endOffset":1470,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1474,"endOffset":1561,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1565,"endOffset":1699,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":2001,"endOffset":6371,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2068,"endOffset":2433,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2439,"endOffset":2563,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2569,"endOffset":3030,"count":0}],"isBlockCoverage":false},{"functionName":"createListRecursor","ranges":[{"startOffset":3036,"endOffset":3472,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":3478,"endOffset":4494,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":4500,"endOffset":6365,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMixin","ranges":[{"startOffset":6413,"endOffset":7138,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6483,"endOffset":6780,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":6786,"endOffset":7055,"count":0}],"isBlockCoverage":false},{"functionName":"hasSameCtor","ranges":[{"startOffset":7061,"endOffset":7132,"count":0}],"isBlockCoverage":false}]},{"scriptId":"364","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/formatUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3260,"count":1}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":60,"endOffset":146,"count":0}],"isBlockCoverage":false},{"functionName":"formatCtorAndStringTag","ranges":[{"startOffset":168,"endOffset":537,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectFormatter","ranges":[{"startOffset":621,"endOffset":840,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":844,"endOffset":1189,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":1193,"endOffset":1873,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":1877,"endOffset":2161,"count":0}],"isBlockCoverage":false},{"functionName":"shouldFormat","ranges":[{"startOffset":2165,"endOffset":2202,"count":0}],"isBlockCoverage":false},{"functionName":"customize","ranges":[{"startOffset":2206,"endOffset":2502,"count":0}],"isBlockCoverage":false},{"functionName":"SingleValueFormatter","ranges":[{"startOffset":2579,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2790,"endOffset":2961,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":2965,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":3120,"endOffset":3205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"365","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/lineBuilder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7155,"count":1}],"isBlockCoverage":true},{"functionName":"translateGutter","ranges":[{"startOffset":123,"endOffset":485,"count":0}],"isBlockCoverage":false},{"functionName":"Line","ranges":[{"startOffset":502,"endOffset":670,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":674,"endOffset":717,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":721,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":762,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":820,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":884,"endOffset":934,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":938,"endOffset":1027,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":1031,"endOffset":1202,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":1206,"endOffset":1479,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":1483,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":1634,"endOffset":1783,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":1787,"endOffset":1871,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":1875,"endOffset":1960,"count":0}],"isBlockCoverage":false},{"functionName":"Collection","ranges":[{"startOffset":2050,"endOffset":2091,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2095,"endOffset":2217,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":2221,"endOffset":2277,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":2281,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":2399,"endOffset":2526,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2530,"endOffset":2632,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":2636,"endOffset":2725,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2729,"endOffset":3536,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":3540,"endOffset":4287,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":4291,"endOffset":4423,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":4427,"endOffset":4561,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":4565,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":4675,"endOffset":5381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":5462,"endOffset":5708,"count":0}],"isBlockCoverage":false},{"functionName":"buffer","ranges":[{"startOffset":5731,"endOffset":5774,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":5779,"endOffset":5856,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":5861,"endOffset":5937,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":5942,"endOffset":6019,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6024,"endOffset":6101,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6106,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6194,"endOffset":6277,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6284,"endOffset":6366,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6373,"endOffset":6456,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6463,"endOffset":6546,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6553,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6678,"endOffset":6763,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6770,"endOffset":6854,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6861,"endOffset":6946,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6953,"endOffset":7038,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":7045,"endOffset":7146,"count":0}],"isBlockCoverage":false}]},{"scriptId":"366","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getObjectKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":964,"count":1}],"isBlockCoverage":true},{"functionName":"getObjectKeys","ranges":[{"startOffset":14,"endOffset":932,"count":0}],"isBlockCoverage":false}]},{"scriptId":"367","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/hasLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":303,"count":1}],"isBlockCoverage":true},{"functionName":"hasLength","ranges":[{"startOffset":104,"endOffset":275,"count":0}],"isBlockCoverage":false}]},{"scriptId":"368","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":802,"count":1}],"isBlockCoverage":true},{"functionName":"isLength","ranges":[{"startOffset":645,"endOffset":773,"count":0}],"isBlockCoverage":false}]},{"scriptId":"369","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/stats.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3836,"count":1}],"isBlockCoverage":true},{"functionName":"describeIterableRecursor","ranges":[{"startOffset":228,"endOffset":318,"count":0}],"isBlockCoverage":false},{"functionName":"describeListRecursor","ranges":[{"startOffset":380,"endOffset":462,"count":0}],"isBlockCoverage":false},{"functionName":"describePropertyRecursor","ranges":[{"startOffset":516,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeIterableStats","ranges":[{"startOffset":668,"endOffset":745,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeListStats","ranges":[{"startOffset":807,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePropertyStats","ranges":[{"startOffset":930,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":1306,"endOffset":1351,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1355,"endOffset":1432,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1436,"endOffset":2989,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2993,"endOffset":3032,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3141,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3387,"endOffset":3513,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3625,"endOffset":3755,"count":0}],"isBlockCoverage":false}]},{"scriptId":"370","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/recursorUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2251,"count":1}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":51,"endOffset":74,"count":0}],"isBlockCoverage":false},{"functionName":"fork","ranges":[{"startOffset":117,"endOffset":396,"count":0}],"isBlockCoverage":false},{"functionName":"consumeDeep","ranges":[{"startOffset":418,"endOffset":732,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":768,"endOffset":910,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":930,"endOffset":1606,"count":0}],"isBlockCoverage":false},{"functionName":"sequence","ranges":[{"startOffset":1632,"endOffset":1850,"count":0}],"isBlockCoverage":false},{"functionName":"singleValue","ranges":[{"startOffset":1880,"endOffset":2012,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":2048,"endOffset":2224,"count":0}],"isBlockCoverage":false}]},{"scriptId":"371","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":970,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":313,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":343,"endOffset":444,"count":0}],"isBlockCoverage":false}]},{"scriptId":"372","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/typedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4439,"count":1}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":382,"endOffset":596,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":628,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":910,"endOffset":1010,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeBytes","ranges":[{"startOffset":1046,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"Bytes","ranges":[{"startOffset":1292,"endOffset":1343,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1347,"endOffset":1482,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1486,"endOffset":2297,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2301,"endOffset":2342,"count":0}],"isBlockCoverage":false},{"functionName":"TypedArrayValue","ranges":[{"startOffset":2466,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":2543,"endOffset":2931,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":3049,"endOffset":3869,"count":3}],"isBlockCoverage":true},{"functionName":"createListRecursor","ranges":[{"startOffset":3237,"endOffset":3307,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":3313,"endOffset":3749,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":3755,"endOffset":3863,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMixin","ranges":[{"startOffset":3977,"endOffset":4320,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4073,"endOffset":4314,"count":0}],"isBlockCoverage":false}]},{"scriptId":"373","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/boxed.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1292,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":264,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedBoxedValue","ranges":[{"startOffset":634,"endOffset":709,"count":0}],"isBlockCoverage":false},{"functionName":"createListRecursor","ranges":[{"startOffset":713,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":783,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1126,"endOffset":1220,"count":0}],"isBlockCoverage":false}]},{"scriptId":"374","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11430,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":306,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"basicEscape","ranges":[{"startOffset":707,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"escapeLinebreak","ranges":[{"startOffset":1015,"endOffset":1219,"count":0}],"isBlockCoverage":false},{"functionName":"themeControlPictures","ranges":[{"startOffset":1221,"endOffset":1442,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuotes","ranges":[{"startOffset":1537,"endOffset":1834,"count":0}],"isBlockCoverage":false},{"functionName":"includesLinebreaks","ranges":[{"startOffset":1836,"endOffset":1932,"count":0}],"isBlockCoverage":false},{"functionName":"diffLine","ranges":[{"startOffset":1934,"endOffset":3826,"count":0}],"isBlockCoverage":false},{"functionName":"gatherLines","ranges":[{"startOffset":3862,"endOffset":4170,"count":0}],"isBlockCoverage":false},{"functionName":"StringValue","ranges":[{"startOffset":4194,"endOffset":4242,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":4246,"endOffset":4370,"count":0}],"isBlockCoverage":false},{"functionName":"get includesLinebreaks","ranges":[{"startOffset":4374,"endOffset":4447,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4451,"endOffset":5422,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":5426,"endOffset":5800,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5804,"endOffset":11238,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":11242,"endOffset":11282,"count":0}],"isBlockCoverage":false}]},{"scriptId":"375","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1334,"endOffset":1486,"count":1}],"isBlockCoverage":true}]},{"scriptId":"376","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/ast.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4728,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":4687,"count":1}],"isBlockCoverage":true},{"functionName":"isExpression","ranges":[{"startOffset":1370,"endOffset":2121,"count":0}],"isBlockCoverage":false},{"functionName":"isIterationStatement","ranges":[{"startOffset":2127,"endOffset":2444,"count":0}],"isBlockCoverage":false},{"functionName":"isStatement","ranges":[{"startOffset":2450,"endOffset":3262,"count":0}],"isBlockCoverage":false},{"functionName":"isSourceElement","ranges":[{"startOffset":3268,"endOffset":3393,"count":0}],"isBlockCoverage":false},{"functionName":"trailingStatement","ranges":[{"startOffset":3399,"endOffset":3843,"count":0}],"isBlockCoverage":false},{"functionName":"isProblematicIfStatement","ranges":[{"startOffset":3849,"endOffset":4384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"377","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/code.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29610,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1391,"endOffset":29569,"count":1},{"startOffset":27989,"endOffset":28199,"count":128},{"startOffset":28045,"endOffset":28058,"count":31},{"startOffset":28059,"endOffset":28107,"count":102},{"startOffset":28094,"endOffset":28107,"count":37},{"startOffset":28108,"endOffset":28143,"count":76},{"startOffset":28144,"endOffset":28158,"count":75},{"startOffset":28273,"endOffset":28531,"count":128},{"startOffset":28328,"endOffset":28341,"count":31},{"startOffset":28342,"endOffset":28390,"count":102},{"startOffset":28377,"endOffset":28390,"count":37},{"startOffset":28391,"endOffset":28439,"count":76},{"startOffset":28426,"endOffset":28439,"count":28},{"startOffset":28440,"endOffset":28475,"count":66},{"startOffset":28476,"endOffset":28490,"count":65}],"isBlockCoverage":true},{"functionName":"isDecimalDigit","ranges":[{"startOffset":26641,"endOffset":26726,"count":0}],"isBlockCoverage":false},{"functionName":"isHexDigit","ranges":[{"startOffset":26732,"endOffset":26919,"count":0}],"isBlockCoverage":false},{"functionName":"isOctalDigit","ranges":[{"startOffset":26925,"endOffset":27008,"count":0}],"isBlockCoverage":false},{"functionName":"isWhiteSpace","ranges":[{"startOffset":27243,"endOffset":27434,"count":0}],"isBlockCoverage":false},{"functionName":"isLineTerminator","ranges":[{"startOffset":27469,"endOffset":27583,"count":0}],"isBlockCoverage":false},{"functionName":"fromCodePoint","ranges":[{"startOffset":27634,"endOffset":27914,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES5","ranges":[{"startOffset":28537,"endOffset":28686,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES5","ranges":[{"startOffset":28692,"endOffset":28838,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES6","ranges":[{"startOffset":28844,"endOffset":28993,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES6","ranges":[{"startOffset":28999,"endOffset":29145,"count":0}],"isBlockCoverage":false}]},{"scriptId":"378","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/keyword.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5616,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":5575,"count":1}],"isBlockCoverage":true},{"functionName":"isStrictModeReservedWordES6","ranges":[{"startOffset":1405,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES5","ranges":[{"startOffset":1752,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES6","ranges":[{"startOffset":1990,"endOffset":3218,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES5","ranges":[{"startOffset":3224,"endOffset":3363,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES6","ranges":[{"startOffset":3369,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"isRestrictedWord","ranges":[{"startOffset":3514,"endOffset":3603,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES5","ranges":[{"startOffset":3609,"endOffset":4045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeUtf16","ranges":[{"startOffset":4051,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES6","ranges":[{"startOffset":4167,"endOffset":4903,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES5","ranges":[{"startOffset":4909,"endOffset":5027,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES6","ranges":[{"startOffset":5033,"endOffset":5151,"count":0}],"isBlockCoverage":false}]},{"scriptId":"379","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-diff/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":38838,"count":1}],"isBlockCoverage":true},{"functionName":"diff_main","ranges":[{"startOffset":1622,"endOffset":2855,"count":0}],"isBlockCoverage":false},{"functionName":"diff_compute_","ranges":[{"startOffset":3117,"endOffset":4721,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisect_","ranges":[{"startOffset":5070,"endOffset":8602,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisectSplit_","ranges":[{"startOffset":8946,"endOffset":9292,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonPrefix","ranges":[{"startOffset":9516,"endOffset":10360,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonOverlap_","ranges":[{"startOffset":10654,"endOffset":11835,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonSuffix","ranges":[{"startOffset":12050,"endOffset":12955,"count":0}],"isBlockCoverage":false},{"functionName":"diff_halfMatch_","ranges":[{"startOffset":13397,"endOffset":16552,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemantic","ranges":[{"startOffset":16712,"endOffset":21136,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemanticLossless","ranges":[{"startOffset":21599,"endOffset":25878,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupMerge","ranges":[{"startOffset":26143,"endOffset":33884,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_start","ranges":[{"startOffset":33886,"endOffset":33983,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_end","ranges":[{"startOffset":33985,"endOffset":34080,"count":0}],"isBlockCoverage":false},{"functionName":"starts_with_pair_end","ranges":[{"startOffset":34082,"endOffset":34171,"count":0}],"isBlockCoverage":false},{"functionName":"ends_with_pair_start","ranges":[{"startOffset":34173,"endOffset":34277,"count":0}],"isBlockCoverage":false},{"functionName":"remove_empty_tuples","ranges":[{"startOffset":34279,"endOffset":34465,"count":0}],"isBlockCoverage":false},{"functionName":"make_edit_splice","ranges":[{"startOffset":34467,"endOffset":34771,"count":0}],"isBlockCoverage":false},{"functionName":"find_cursor_edit_diff","ranges":[{"startOffset":34773,"endOffset":38521,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":38523,"endOffset":38733,"count":0}],"isBlockCoverage":false}]},{"scriptId":"380","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/dataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":949,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":319,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":349,"endOffset":447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"381","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/date.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2613,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":304,"endOffset":471,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":501,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"formatDate","ranges":[{"startOffset":682,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"DateValue","ranges":[{"startOffset":993,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1072,"endOffset":1333,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1337,"endOffset":2118,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2122,"endOffset":2253,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedDateValue","ranges":[{"startOffset":2460,"endOffset":2610,"count":0}],"isBlockCoverage":false}]},{"scriptId":"382","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/date-time/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":831,"count":1}],"isBlockCoverage":true},{"functionName":"dateTime","ranges":[{"startOffset":71,"endOffset":718,"count":0}],"isBlockCoverage":false}]},{"scriptId":"383","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/time-zone/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":343,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"384","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3605,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":331,"endOffset":608,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":638,"endOffset":733,"count":0}],"isBlockCoverage":false},{"functionName":"ErrorValue","ranges":[{"startOffset":869,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":942,"endOffset":1082,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1086,"endOffset":2193,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2197,"endOffset":2257,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedErrorValue","ranges":[{"startOffset":2400,"endOffset":2583,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2587,"endOffset":3430,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedErrorValue","ranges":[{"startOffset":3512,"endOffset":3602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"385","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/isEnumerable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":171,"count":1}],"isBlockCoverage":true},{"functionName":"isEnumerable","ranges":[{"startOffset":14,"endOffset":140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"386","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3272,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":377,"endOffset":600,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":630,"endOffset":728,"count":0}],"isBlockCoverage":false},{"functionName":"FunctionValue","ranges":[{"startOffset":870,"endOffset":939,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":943,"endOffset":1706,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedFunctionValue","ranges":[{"startOffset":1858,"endOffset":1951,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1955,"endOffset":2203,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2207,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2749,"endOffset":2809,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedFunctionValue","ranges":[{"startOffset":2897,"endOffset":2987,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2991,"endOffset":3205,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3209,"endOffset":3269,"count":0}],"isBlockCoverage":false}]},{"scriptId":"387","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":822,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":275,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":412,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":512,"endOffset":676,"count":0}],"isBlockCoverage":false}]},{"scriptId":"388","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1845,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"MapValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1028,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1032,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1229,"endOffset":1674,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMapValue","ranges":[{"startOffset":1752,"endOffset":1842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"389","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1054,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":167,"endOffset":238,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":268,"endOffset":345,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":630,"endOffset":830,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":916,"endOffset":1051,"count":0}],"isBlockCoverage":false}]},{"scriptId":"390","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2733,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":219,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":432,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"getSortedFlags","ranges":[{"startOffset":617,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"RegexpValue","ranges":[{"startOffset":824,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":930,"endOffset":1107,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1111,"endOffset":2317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2321,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedRegexpValue","ranges":[{"startOffset":2612,"endOffset":2730,"count":0}],"isBlockCoverage":false}]},{"scriptId":"391","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1815,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"SetValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1030,"endOffset":1090,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1227,"endOffset":1644,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSetValue","ranges":[{"startOffset":1722,"endOffset":1812,"count":0}],"isBlockCoverage":false}]},{"scriptId":"392","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getCtor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1275,"count":1}],"isBlockCoverage":true},{"functionName":"getCtor","ranges":[{"startOffset":59,"endOffset":1249,"count":0}],"isBlockCoverage":false}]},{"scriptId":"393","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getStringTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":721,"count":1},{"startOffset":467,"endOffset":720,"count":0}],"isBlockCoverage":true},{"functionName":"getStringTag","ranges":[{"startOffset":51,"endOffset":121,"count":1}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":225,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"getStringTagWithPromiseWorkaround","ranges":[{"startOffset":519,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"394","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/item.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7816,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":228,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeComplex","ranges":[{"startOffset":354,"endOffset":469,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":519,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePrimitive","ranges":[{"startOffset":653,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexItem","ranges":[{"startOffset":1017,"endOffset":1095,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1099,"endOffset":1171,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1175,"endOffset":1330,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1334,"endOffset":1719,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1723,"endOffset":4317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":4321,"endOffset":4361,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveItem","ranges":[{"startOffset":4536,"endOffset":4614,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":4618,"endOffset":4775,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4779,"endOffset":5334,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":5338,"endOffset":6853,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":6857,"endOffset":7602,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7606,"endOffset":7660,"count":0}],"isBlockCoverage":false}]},{"scriptId":"395","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/mapEntry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7305,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":318,"endOffset":585,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":615,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithKey","ranges":[{"startOffset":974,"endOffset":1422,"count":0}],"isBlockCoverage":false},{"functionName":"MapEntry","ranges":[{"startOffset":1443,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1639,"endOffset":1916,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1920,"endOffset":2399,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":2403,"endOffset":3004,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3008,"endOffset":3349,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":3353,"endOffset":4200,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":4204,"endOffset":7086,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7090,"endOffset":7164,"count":0}],"isBlockCoverage":false}]},{"scriptId":"396","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/themeUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5251,"count":1}],"isBlockCoverage":true},{"functionName":"freezeTheme","ranges":[{"startOffset":151,"endOffset":490,"count":1},{"startOffset":233,"endOffset":472,"count":42},{"startOffset":338,"endOffset":468,"count":120},{"startOffset":397,"endOffset":425,"count":118},{"startOffset":427,"endOffset":462,"count":41}],"isBlockCoverage":true},{"functionName":"normalizePlugins","ranges":[{"startOffset":2413,"endOffset":3165,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":3205,"endOffset":4082,"count":0}],"isBlockCoverage":false},{"functionName":"addModifier","ranges":[{"startOffset":4146,"endOffset":4338,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiers","ranges":[{"startOffset":4446,"endOffset":5020,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiersToOriginal","ranges":[{"startOffset":5062,"endOffset":5190,"count":0}],"isBlockCoverage":false}]},{"scriptId":"397","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/cloneDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":679,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDeep","ranges":[{"startOffset":555,"endOffset":649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"398","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseClone.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5609,"count":1}],"isBlockCoverage":true},{"functionName":"baseClone","ranges":[{"startOffset":3399,"endOffset":5579,"count":0}],"isBlockCoverage":false}]},{"scriptId":"399","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Stack.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":734,"count":1}],"isBlockCoverage":true},{"functionName":"Stack","ranges":[{"startOffset":402,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"400","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_ListCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"ListCache","ranges":[{"startOffset":376,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"401","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":218,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheClear","ranges":[{"startOffset":115,"endOffset":183,"count":0}],"isBlockCoverage":false}]},{"scriptId":"402","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":775,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheDelete","ranges":[{"startOffset":440,"endOffset":739,"count":0}],"isBlockCoverage":false}]},{"scriptId":"403","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assocIndexOf.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":487,"count":1}],"isBlockCoverage":true},{"functionName":"assocIndexOf","ranges":[{"startOffset":286,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"404","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":799,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":681,"endOffset":776,"count":0}],"isBlockCoverage":false}]},{"scriptId":"405","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":420,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheGet","ranges":[{"startOffset":240,"endOffset":387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"406","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheHas","ranges":[{"startOffset":292,"endOffset":370,"count":0}],"isBlockCoverage":false}]},{"scriptId":"407","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":553,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheSet","ranges":[{"startOffset":292,"endOffset":520,"count":0}],"isBlockCoverage":false}]},{"scriptId":"408","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":254,"count":1}],"isBlockCoverage":true},{"functionName":"stackClear","ranges":[{"startOffset":148,"endOffset":223,"count":0}],"isBlockCoverage":false}]},{"scriptId":"409","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":405,"count":1}],"isBlockCoverage":true},{"functionName":"stackDelete","ranges":[{"startOffset":237,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"410","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":271,"count":1}],"isBlockCoverage":true},{"functionName":"stackGet","ranges":[{"startOffset":183,"endOffset":242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"411","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":323,"count":1}],"isBlockCoverage":true},{"functionName":"stackHas","ranges":[{"startOffset":235,"endOffset":294,"count":0}],"isBlockCoverage":false}]},{"scriptId":"412","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":853,"count":1}],"isBlockCoverage":true},{"functionName":"stackSet","ranges":[{"startOffset":436,"endOffset":824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"413","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"414","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"getNative","ranges":[{"startOffset":331,"endOffset":453,"count":7},{"startOffset":439,"endOffset":450,"count":0}],"isBlockCoverage":true}]},{"scriptId":"415","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1417,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsNative","ranges":[{"startOffset":1182,"endOffset":1384,"count":7},{"startOffset":1256,"endOffset":1279,"count":0},{"startOffset":1327,"endOffset":1341,"count":0}],"isBlockCoverage":true}]},{"scriptId":"416","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isFunction.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":993,"count":1}],"isBlockCoverage":true},{"functionName":"isFunction","ranges":[{"startOffset":617,"endOffset":962,"count":7},{"startOffset":670,"endOffset":693,"count":0},{"startOffset":905,"endOffset":921,"count":0},{"startOffset":922,"endOffset":940,"count":0},{"startOffset":941,"endOffset":959,"count":0}],"isBlockCoverage":true}]},{"scriptId":"417","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":792,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true},{"functionName":"baseGetTag","ranges":[{"startOffset":534,"endOffset":761,"count":13},{"startOffset":584,"endOffset":646,"count":0},{"startOffset":712,"endOffset":730,"count":5},{"startOffset":735,"endOffset":758,"count":8}],"isBlockCoverage":true}]},{"scriptId":"418","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true}]},{"scriptId":"419","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_root.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":300,"count":1},{"startOffset":119,"endOffset":126,"count":0},{"startOffset":127,"endOffset":152,"count":0},{"startOffset":153,"endOffset":160,"count":0},{"startOffset":234,"endOffset":245,"count":0},{"startOffset":246,"endOffset":274,"count":0}],"isBlockCoverage":true}]},{"scriptId":"420","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_freeGlobal.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":173,"count":1}],"isBlockCoverage":true}]},{"scriptId":"421","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getRawTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1139,"count":1},{"startOffset":488,"endOffset":499,"count":0}],"isBlockCoverage":true},{"functionName":"getRawTag","ranges":[{"startOffset":701,"endOffset":1109,"count":5},{"startOffset":899,"endOffset":911,"count":0},{"startOffset":995,"endOffset":1037,"count":0}],"isBlockCoverage":true}]},{"scriptId":"422","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_objectToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":565,"count":1}],"isBlockCoverage":true},{"functionName":"objectToString","ranges":[{"startOffset":453,"endOffset":530,"count":8}],"isBlockCoverage":true}]},{"scriptId":"423","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":733,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":581,"endOffset":704,"count":14}],"isBlockCoverage":true}]},{"scriptId":"424","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isMasked.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":564,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":116,"endOffset":268,"count":1},{"startOffset":166,"endOffset":184,"count":0},{"startOffset":185,"endOffset":212,"count":0},{"startOffset":234,"endOffset":260,"count":0}],"isBlockCoverage":true},{"functionName":"isMasked","ranges":[{"startOffset":461,"endOffset":535,"count":7},{"startOffset":509,"endOffset":532,"count":0}],"isBlockCoverage":true}]},{"scriptId":"425","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_coreJsData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":157,"count":1}],"isBlockCoverage":true}]},{"scriptId":"426","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_toSource.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":556,"count":1}],"isBlockCoverage":true},{"functionName":"toSource","ranges":[{"startOffset":339,"endOffset":527,"count":12},{"startOffset":441,"endOffset":508,"count":0},{"startOffset":512,"endOffset":526,"count":0}],"isBlockCoverage":true}]},{"scriptId":"427","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":325,"count":1}],"isBlockCoverage":true},{"functionName":"getValue","ranges":[{"startOffset":211,"endOffset":296,"count":7},{"startOffset":268,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"428","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_MapCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"MapCache","ranges":[{"startOffset":389,"endOffset":606,"count":0}],"isBlockCoverage":false}]},{"scriptId":"429","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":393,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheClear","ranges":[{"startOffset":209,"endOffset":359,"count":0}],"isBlockCoverage":false}]},{"scriptId":"430","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Hash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"Hash","ranges":[{"startOffset":319,"endOffset":532,"count":0}],"isBlockCoverage":false}]},{"scriptId":"431","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":281,"count":1}],"isBlockCoverage":true},{"functionName":"hashClear","ranges":[{"startOffset":152,"endOffset":251,"count":0}],"isBlockCoverage":false}]},{"scriptId":"432","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":187,"count":1}],"isBlockCoverage":true}]},{"scriptId":"433","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":445,"count":1}],"isBlockCoverage":true},{"functionName":"hashDelete","ranges":[{"startOffset":279,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"434","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"hashGet","ranges":[{"startOffset":513,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"435","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":626,"count":1}],"isBlockCoverage":true},{"functionName":"hashHas","ranges":[{"startOffset":461,"endOffset":598,"count":0}],"isBlockCoverage":false}]},{"scriptId":"436","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"hashSet","ranges":[{"startOffset":379,"endOffset":570,"count":0}],"isBlockCoverage":false}]},{"scriptId":"437","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheDelete","ranges":[{"startOffset":282,"endOffset":415,"count":0}],"isBlockCoverage":false}]},{"scriptId":"438","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getMapData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":400,"count":1}],"isBlockCoverage":true},{"functionName":"getMapData","ranges":[{"startOffset":214,"endOffset":369,"count":0}],"isBlockCoverage":false}]},{"scriptId":"439","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isKeyable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":430,"count":1}],"isBlockCoverage":true},{"functionName":"isKeyable","ranges":[{"startOffset":201,"endOffset":400,"count":0}],"isBlockCoverage":false}]},{"scriptId":"440","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":330,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheGet","ranges":[{"startOffset":228,"endOffset":298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"441","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheHas","ranges":[{"startOffset":280,"endOffset":350,"count":0}],"isBlockCoverage":false}]},{"scriptId":"442","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":489,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheSet","ranges":[{"startOffset":279,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"443","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayEach.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":537,"count":1}],"isBlockCoverage":true},{"functionName":"arrayEach","ranges":[{"startOffset":274,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"444","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":899,"count":1}],"isBlockCoverage":true},{"functionName":"assignValue","ranges":[{"startOffset":629,"endOffset":867,"count":0}],"isBlockCoverage":false}]},{"scriptId":"445","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":625,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignValue","ranges":[{"startOffset":314,"endOffset":589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"446","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_defineProperty.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":64,"endOffset":194,"count":1},{"startOffset":180,"endOffset":192,"count":0}],"isBlockCoverage":true}]},{"scriptId":"447","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssign.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssign","ranges":[{"startOffset":339,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"448","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1044,"count":1}],"isBlockCoverage":true},{"functionName":"copyObject","ranges":[{"startOffset":467,"endOffset":1013,"count":0}],"isBlockCoverage":false}]},{"scriptId":"449","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":884,"count":1}],"isBlockCoverage":true},{"functionName":"keys","ranges":[{"startOffset":761,"endOffset":859,"count":0}],"isBlockCoverage":false}]},{"scriptId":"450","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayLikeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1778,"count":1}],"isBlockCoverage":true},{"functionName":"arrayLikeKeys","ranges":[{"startOffset":697,"endOffset":1744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"451","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseTimes.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":504,"count":1}],"isBlockCoverage":true},{"functionName":"baseTimes","ranges":[{"startOffset":313,"endOffset":474,"count":0}],"isBlockCoverage":false}]},{"scriptId":"452","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1026,"count":1},{"startOffset":851,"endOffset":993,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":797,"endOffset":829,"count":1}],"isBlockCoverage":true},{"functionName":"isArguments","ranges":[{"startOffset":853,"endOffset":993,"count":0}],"isBlockCoverage":false}]},{"scriptId":"453","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsArguments","ranges":[{"startOffset":355,"endOffset":452,"count":1}],"isBlockCoverage":true}]},{"scriptId":"454","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObjectLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"isObjectLike","ranges":[{"startOffset":497,"endOffset":581,"count":1}],"isBlockCoverage":true}]},{"scriptId":"455","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true}]},{"scriptId":"456","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1114,"count":1},{"startOffset":548,"endOffset":559,"count":0},{"startOffset":697,"endOffset":708,"count":0},{"startOffset":1072,"endOffset":1084,"count":0}],"isBlockCoverage":true}]},{"scriptId":"457","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubFalse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":280,"count":1}],"isBlockCoverage":true},{"functionName":"stubFalse","ranges":[{"startOffset":210,"endOffset":250,"count":0}],"isBlockCoverage":false}]},{"scriptId":"458","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIndex.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":759,"count":1}],"isBlockCoverage":true},{"functionName":"isIndex","ranges":[{"startOffset":456,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"459","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":695,"count":1},{"startOffset":643,"endOffset":661,"count":0}],"isBlockCoverage":true}]},{"scriptId":"460","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2222,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsTypedArray","ranges":[{"startOffset":2050,"endOffset":2185,"count":0}],"isBlockCoverage":false}]},{"scriptId":"461","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseUnary.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":332,"count":1}],"isBlockCoverage":true},{"functionName":"baseUnary","ranges":[{"startOffset":218,"endOffset":302,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":254,"endOffset":299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"462","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nodeUtil.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":995,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":615,"endOffset":962,"count":1},{"startOffset":806,"endOffset":911,"count":0},{"startOffset":912,"endOffset":942,"count":0},{"startOffset":948,"endOffset":960,"count":0}],"isBlockCoverage":true}]},{"scriptId":"463","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":776,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeys","ranges":[{"startOffset":479,"endOffset":747,"count":0}],"isBlockCoverage":false}]},{"scriptId":"464","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":480,"count":1}],"isBlockCoverage":true},{"functionName":"isPrototype","ranges":[{"startOffset":273,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"465","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":204,"count":1}],"isBlockCoverage":true}]},{"scriptId":"466","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overArg.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"overArg","ranges":[{"startOffset":254,"endOffset":354,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":299,"endOffset":351,"count":0}],"isBlockCoverage":false}]},{"scriptId":"467","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":830,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLike","ranges":[{"startOffset":695,"endOffset":798,"count":0}],"isBlockCoverage":false}]},{"scriptId":"468","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":482,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignIn","ranges":[{"startOffset":345,"endOffset":449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"469","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":778,"count":1}],"isBlockCoverage":true},{"functionName":"keysIn","ranges":[{"startOffset":643,"endOffset":751,"count":0}],"isBlockCoverage":false}]},{"scriptId":"470","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":870,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeysIn","ranges":[{"startOffset":523,"endOffset":839,"count":0}],"isBlockCoverage":false}]},{"scriptId":"471","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":490,"count":1}],"isBlockCoverage":true},{"functionName":"nativeKeysIn","ranges":[{"startOffset":292,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"472","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1056,"count":1},{"startOffset":508,"endOffset":519,"count":0},{"startOffset":567,"endOffset":578,"count":0}],"isBlockCoverage":true},{"functionName":"cloneBuffer","ranges":[{"startOffset":783,"endOffset":1024,"count":0}],"isBlockCoverage":false}]},{"scriptId":"473","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"copyArray","ranges":[{"startOffset":219,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"474","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":446,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbols","ranges":[{"startOffset":317,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"475","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":886,"count":1},{"startOffset":624,"endOffset":635,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbols","ranges":[{"startOffset":638,"endOffset":854,"count":0}],"isBlockCoverage":false}]},{"scriptId":"476","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayFilter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":632,"count":1}],"isBlockCoverage":true},{"functionName":"arrayFilter","ranges":[{"startOffset":289,"endOffset":600,"count":0}],"isBlockCoverage":false}]},{"scriptId":"477","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":390,"count":1}],"isBlockCoverage":true},{"functionName":"stubArray","ranges":[{"startOffset":323,"endOffset":360,"count":0}],"isBlockCoverage":false}]},{"scriptId":"478","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbolsIn","ranges":[{"startOffset":335,"endOffset":436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"479","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":754,"count":1},{"startOffset":549,"endOffset":560,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbolsIn","ranges":[{"startOffset":563,"endOffset":720,"count":0}],"isBlockCoverage":false}]},{"scriptId":"480","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayPush.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":437,"count":1}],"isBlockCoverage":true},{"functionName":"arrayPush","ranges":[{"startOffset":200,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"481","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":163,"count":1}],"isBlockCoverage":true}]},{"scriptId":"482","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":455,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeys","ranges":[{"startOffset":342,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"483","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":739,"count":1}],"isBlockCoverage":true},{"functionName":"baseGetAllKeys","ranges":[{"startOffset":537,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"484","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeysIn","ranges":[{"startOffset":367,"endOffset":455,"count":0}],"isBlockCoverage":false}]},{"scriptId":"485","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1838,"count":1},{"startOffset":1296,"endOffset":1811,"count":0}],"isBlockCoverage":true},{"functionName":"getTag","ranges":[{"startOffset":1309,"endOffset":1808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"486","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_DataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true}]},{"scriptId":"487","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"488","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"489","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_WeakMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"490","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":692,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneArray","ranges":[{"startOffset":329,"endOffset":657,"count":0}],"isBlockCoverage":false}]},{"scriptId":"491","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneByTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2261,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneByTag","ranges":[{"startOffset":1454,"endOffset":2226,"count":0}],"isBlockCoverage":false}]},{"scriptId":"492","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneArrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":449,"count":1}],"isBlockCoverage":true},{"functionName":"cloneArrayBuffer","ranges":[{"startOffset":226,"endOffset":412,"count":0}],"isBlockCoverage":false}]},{"scriptId":"493","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Uint8Array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":130,"count":1}],"isBlockCoverage":true}]},{"scriptId":"494","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneDataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":507,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDataView","ranges":[{"startOffset":267,"endOffset":473,"count":0}],"isBlockCoverage":false}]},{"scriptId":"495","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneRegExp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":439,"count":1}],"isBlockCoverage":true},{"functionName":"cloneRegExp","ranges":[{"startOffset":243,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"496","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneSymbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":524,"count":1},{"startOffset":138,"endOffset":149,"count":0},{"startOffset":205,"endOffset":216,"count":0}],"isBlockCoverage":true},{"functionName":"cloneSymbol","ranges":[{"startOffset":394,"endOffset":492,"count":0}],"isBlockCoverage":false}]},{"scriptId":"497","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":527,"count":1}],"isBlockCoverage":true},{"functionName":"cloneTypedArray","ranges":[{"startOffset":275,"endOffset":491,"count":0}],"isBlockCoverage":false}]},{"scriptId":"498","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":486,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneObject","ranges":[{"startOffset":290,"endOffset":450,"count":0}],"isBlockCoverage":false}]},{"scriptId":"499","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":686,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":355,"endOffset":651,"count":1}],"isBlockCoverage":true},{"functionName":"object","ranges":[{"startOffset":370,"endOffset":390,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":400,"endOffset":648,"count":0}],"isBlockCoverage":false}]},{"scriptId":"500","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"501","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsMap","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"502","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"503","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsSet","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"504","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/merge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1220,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1115,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"505","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMerge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1328,"count":1}],"isBlockCoverage":true},{"functionName":"baseMerge","ranges":[{"startOffset":699,"endOffset":1298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"506","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignMergeValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"assignMergeValue","ranges":[{"startOffset":342,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"507","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"508","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createBaseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":648,"count":1}],"isBlockCoverage":true},{"functionName":"createBaseFor","ranges":[{"startOffset":217,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":262,"endOffset":611,"count":0}],"isBlockCoverage":false}]},{"scriptId":"509","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMergeDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3069,"count":1}],"isBlockCoverage":true},{"functionName":"baseMergeDeep","ranges":[{"startOffset":1316,"endOffset":3035,"count":0}],"isBlockCoverage":false}]},{"scriptId":"510","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLikeObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":742,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLikeObject","ranges":[{"startOffset":615,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"511","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1650,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":1229,"endOffset":1616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"512","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_safeGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":456,"count":1}],"isBlockCoverage":true},{"functionName":"safeGet","ranges":[{"startOffset":243,"endOffset":428,"count":0}],"isBlockCoverage":false}]},{"scriptId":"513","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/toPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":744,"count":1}],"isBlockCoverage":true},{"functionName":"toPlainObject","ranges":[{"startOffset":634,"endOffset":710,"count":0}],"isBlockCoverage":false}]},{"scriptId":"514","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createAssigner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1042,"count":1}],"isBlockCoverage":true},{"functionName":"createAssigner","ranges":[{"startOffset":272,"endOffset":1007,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":326,"endOffset":1003,"count":0}],"isBlockCoverage":false}]},{"scriptId":"515","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":559,"count":1}],"isBlockCoverage":true},{"functionName":"baseRest","ranges":[{"startOffset":430,"endOffset":530,"count":1}],"isBlockCoverage":true}]},{"scriptId":"516","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/identity.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"identity","ranges":[{"startOffset":297,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"517","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1096,"count":1}],"isBlockCoverage":true},{"functionName":"overRest","ranges":[{"startOffset":503,"endOffset":1067,"count":1},{"startOffset":607,"endOffset":614,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":629,"endOffset":1064,"count":0}],"isBlockCoverage":false}]},{"scriptId":"518","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_apply.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":714,"count":1}],"isBlockCoverage":true},{"functionName":"apply","ranges":[{"startOffset":374,"endOffset":688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"519","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_setToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":392,"count":1}],"isBlockCoverage":true}]},{"scriptId":"520","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseSetToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":641,"count":1},{"startOffset":412,"endOffset":422,"count":0}],"isBlockCoverage":true},{"functionName":"baseSetToString","ranges":[{"startOffset":425,"endOffset":604,"count":1}],"isBlockCoverage":true}]},{"scriptId":"521","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/constant.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":528,"count":1}],"isBlockCoverage":true},{"functionName":"constant","ranges":[{"startOffset":426,"endOffset":499,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":462,"endOffset":496,"count":0}],"isBlockCoverage":false}]},{"scriptId":"522","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_shortOut.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":941,"count":1}],"isBlockCoverage":true},{"functionName":"shortOut","ranges":[{"startOffset":534,"endOffset":912,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":609,"endOffset":909,"count":1},{"startOffset":752,"endOffset":830,"count":0}],"isBlockCoverage":true}]},{"scriptId":"523","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIterateeCall.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":877,"count":1}],"isBlockCoverage":true},{"functionName":"isIterateeCall","ranges":[{"startOffset":514,"endOffset":842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"524","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/pluginRegistry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6139,"count":1}],"isBlockCoverage":true},{"functionName":"PluginError","ranges":[{"startOffset":707,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"PluginTypeError","ranges":[{"startOffset":864,"endOffset":977,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedApiError","ranges":[{"startOffset":1031,"endOffset":1159,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedError","ranges":[{"startOffset":1210,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorTagError","ranges":[{"startOffset":1406,"endOffset":1596,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorIdError","ranges":[{"startOffset":1657,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":1949,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"modifyTheme","ranges":[{"startOffset":3525,"endOffset":3639,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":3641,"endOffset":5084,"count":0}],"isBlockCoverage":false},{"functionName":"getDeserializers","ranges":[{"startOffset":5104,"endOffset":5368,"count":0}],"isBlockCoverage":false},{"functionName":"getThemes","ranges":[{"startOffset":5414,"endOffset":5598,"count":0}],"isBlockCoverage":false},{"functionName":"getTryDescribeValues","ranges":[{"startOffset":5630,"endOffset":5734,"count":0}],"isBlockCoverage":false},{"functionName":"resolveDescriptorRef","ranges":[{"startOffset":5788,"endOffset":6086,"count":0}],"isBlockCoverage":false}]},{"scriptId":"525","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2616,"count":1}],"isBlockCoverage":true}]},{"scriptId":"526","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/re.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7690,"count":1}],"isBlockCoverage":true},{"functionName":"makeSafeRegex","ranges":[{"startOffset":950,"endOffset":1161,"count":40},{"startOffset":1015,"endOffset":1144,"count":120}],"isBlockCoverage":true},{"functionName":"createToken","ranges":[{"startOffset":1183,"endOffset":1459,"count":40},{"startOffset":1376,"endOffset":1381,"count":4},{"startOffset":1382,"endOffset":1393,"count":36},{"startOffset":1439,"endOffset":1444,"count":4},{"startOffset":1445,"endOffset":1456,"count":36}],"isBlockCoverage":true}]},{"scriptId":"527","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":859,"count":1},{"startOffset":233,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"528","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/debug.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":226,"count":1},{"startOffset":91,"endOffset":138,"count":0},{"startOffset":141,"endOffset":188,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":143,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"debug","ranges":[{"startOffset":193,"endOffset":201,"count":46}],"isBlockCoverage":true}]},{"scriptId":"529","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/semver.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8756,"count":1}],"isBlockCoverage":true},{"functionName":"SemVer","ranges":[{"startOffset":311,"endOffset":2238,"count":2},{"startOffset":416,"endOffset":621,"count":0},{"startOffset":660,"endOffset":761,"count":0},{"startOffset":800,"endOffset":900,"count":0},{"startOffset":1239,"endOffset":1252,"count":0},{"startOffset":1280,"endOffset":1344,"count":0},{"startOffset":1531,"endOffset":1589,"count":0},{"startOffset":1648,"endOffset":1706,"count":0},{"startOffset":1765,"endOffset":1823,"count":0},{"startOffset":1884,"endOffset":2170,"count":1},{"startOffset":2194,"endOffset":2211,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1970,"endOffset":2163,"count":1},{"startOffset":2137,"endOffset":2162,"count":0}],"isBlockCoverage":true},{"functionName":"format","ranges":[{"startOffset":2242,"endOffset":2438,"count":2},{"startOffset":2349,"endOffset":2410,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":2442,"endOffset":2483,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2487,"endOffset":2877,"count":0}],"isBlockCoverage":false},{"functionName":"compareMain","ranges":[{"startOffset":2881,"endOffset":3172,"count":0}],"isBlockCoverage":false},{"functionName":"comparePre","ranges":[{"startOffset":3176,"endOffset":4027,"count":0}],"isBlockCoverage":false},{"functionName":"compareBuild","ranges":[{"startOffset":4031,"endOffset":4573,"count":0}],"isBlockCoverage":false},{"functionName":"inc","ranges":[{"startOffset":4726,"endOffset":8728,"count":0}],"isBlockCoverage":false}]},{"scriptId":"530","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/parse-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":324,"count":1}],"isBlockCoverage":true},{"functionName":"parseOptions","ranges":[{"startOffset":153,"endOffset":293,"count":4},{"startOffset":208,"endOffset":292,"count":0}],"isBlockCoverage":true}]},{"scriptId":"531","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/identifiers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":410,"count":1}],"isBlockCoverage":true},{"functionName":"compareIdentifiers","ranges":[{"startOffset":54,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"rcompareIdentifiers","ranges":[{"startOffset":308,"endOffset":342,"count":0}],"isBlockCoverage":false}]},{"scriptId":"532","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":317,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":58,"endOffset":292,"count":0}],"isBlockCoverage":false}]},{"scriptId":"533","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":162,"count":1}],"isBlockCoverage":true},{"functionName":"valid","ranges":[{"startOffset":47,"endOffset":138,"count":0}],"isBlockCoverage":false}]},{"scriptId":"534","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/clean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":191,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":47,"endOffset":167,"count":0}],"isBlockCoverage":false}]},{"scriptId":"535","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/inc.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"inc","ranges":[{"startOffset":57,"endOffset":442,"count":0}],"isBlockCoverage":false}]},{"scriptId":"536","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1612,"count":1}],"isBlockCoverage":true},{"functionName":"diff","ranges":[{"startOffset":50,"endOffset":1588,"count":0}],"isBlockCoverage":false}]},{"scriptId":"537","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/major.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"major","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"538","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/minor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"minor","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"539","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/patch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"patch","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"540","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/prerelease.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":220,"count":1}],"isBlockCoverage":true},{"functionName":"prerelease","ranges":[{"startOffset":52,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"541","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":156,"count":1}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":60,"endOffset":129,"count":0}],"isBlockCoverage":false}]},{"scriptId":"542","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rcompare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"rcompare","ranges":[{"startOffset":54,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"543","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-loose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"compareLoose","ranges":[{"startOffset":58,"endOffset":87,"count":0}],"isBlockCoverage":false}]},{"scriptId":"544","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-build.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":267,"count":1}],"isBlockCoverage":true},{"functionName":"compareBuild","ranges":[{"startOffset":65,"endOffset":236,"count":0}],"isBlockCoverage":false}]},{"scriptId":"545","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/sort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":147,"count":1}],"isBlockCoverage":true},{"functionName":"sort","ranges":[{"startOffset":61,"endOffset":124,"count":0}],"isBlockCoverage":false}]},{"scriptId":"546","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rsort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":149,"count":1}],"isBlockCoverage":true},{"functionName":"rsort","ranges":[{"startOffset":62,"endOffset":125,"count":0}],"isBlockCoverage":false}]},{"scriptId":"547","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"gt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"548","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"lt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"549","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":112,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":48,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"550","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/neq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":114,"count":1}],"isBlockCoverage":true},{"functionName":"neq","ranges":[{"startOffset":49,"endOffset":92,"count":0}],"isBlockCoverage":false}]},{"scriptId":"551","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"gte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"552","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"lte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"553","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/cmp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":947,"count":1}],"isBlockCoverage":true},{"functionName":"cmp","ranges":[{"startOffset":181,"endOffset":925,"count":0}],"isBlockCoverage":false}]},{"scriptId":"554","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/coerce.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1513,"count":1}],"isBlockCoverage":true},{"functionName":"coerce","ranges":[{"startOffset":145,"endOffset":1488,"count":0}],"isBlockCoverage":false}]},{"scriptId":"555","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/comparator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3617,"count":1}],"isBlockCoverage":true},{"functionName":"get ANY","ranges":[{"startOffset":100,"endOffset":131,"count":2}],"isBlockCoverage":true},{"functionName":"Comparator","ranges":[{"startOffset":135,"endOffset":682,"count":2},{"startOffset":238,"endOffset":358,"count":0},{"startOffset":556,"endOffset":585,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":686,"endOffset":1182,"count":2},{"startOffset":734,"endOffset":757,"count":0},{"startOffset":818,"endOffset":882,"count":0},{"startOffset":930,"endOffset":934,"count":0},{"startOffset":966,"endOffset":998,"count":0},{"startOffset":1077,"endOffset":1108,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":1186,"endOffset":1225,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":1229,"endOffset":1609,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":1613,"endOffset":3323,"count":0}],"isBlockCoverage":false}]},{"scriptId":"556","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/range.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14514,"count":1}],"isBlockCoverage":true},{"functionName":"Range","ranges":[{"startOffset":55,"endOffset":2052,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2056,"endOffset":2197,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2201,"endOffset":2240,"count":0}],"isBlockCoverage":false},{"functionName":"parseRange","ranges":[{"startOffset":2244,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":4531,"endOffset":5161,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":5229,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"isNullSet","ranges":[{"startOffset":6111,"endOffset":6138,"count":0}],"isBlockCoverage":false},{"functionName":"isAny","ranges":[{"startOffset":6153,"endOffset":6172,"count":0}],"isBlockCoverage":false},{"functionName":"isSatisfiable","ranges":[{"startOffset":6294,"endOffset":6700,"count":0}],"isBlockCoverage":false},{"functionName":"parseComparator","ranges":[{"startOffset":6870,"endOffset":7183,"count":0}],"isBlockCoverage":false},{"functionName":"isX","ranges":[{"startOffset":7197,"endOffset":7248,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTildes","ranges":[{"startOffset":7584,"endOffset":7707,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTilde","ranges":[{"startOffset":7730,"endOffset":8404,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCarets","ranges":[{"startOffset":8697,"endOffset":8820,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCaret","ranges":[{"startOffset":8843,"endOffset":10145,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRanges","ranges":[{"startOffset":10170,"endOffset":10323,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRange","ranges":[{"startOffset":10347,"endOffset":12047,"count":0}],"isBlockCoverage":false},{"functionName":"replaceStars","ranges":[{"startOffset":12193,"endOffset":12378,"count":0}],"isBlockCoverage":false},{"functionName":"replaceGTE0","ranges":[{"startOffset":12400,"endOffset":12555,"count":0}],"isBlockCoverage":false},{"functionName":"hyphenReplace","ranges":[{"startOffset":12797,"endOffset":13471,"count":0}],"isBlockCoverage":false},{"functionName":"testSet","ranges":[{"startOffset":13489,"endOffset":14513,"count":0}],"isBlockCoverage":false}]},{"scriptId":"557","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lru-cache/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8186,"count":1}],"isBlockCoverage":true},{"functionName":"naiveLength","ranges":[{"startOffset":510,"endOffset":517,"count":0}],"isBlockCoverage":false},{"functionName":"LRUCache","ranges":[{"startOffset":853,"endOffset":1751,"count":1},{"startOffset":920,"endOffset":946,"count":0},{"startOffset":972,"endOffset":984,"count":0},{"startOffset":1069,"endOffset":1125,"count":0},{"startOffset":1235,"endOffset":1246,"count":0},{"startOffset":1350,"endOffset":1363,"count":0},{"startOffset":1439,"endOffset":1476,"count":0},{"startOffset":1484,"endOffset":1530,"count":0}],"isBlockCoverage":true},{"functionName":"set max","ranges":[{"startOffset":1799,"endOffset":1969,"count":0}],"isBlockCoverage":false},{"functionName":"get max","ranges":[{"startOffset":1972,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"set allowStale","ranges":[{"startOffset":2013,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"get allowStale","ranges":[{"startOffset":2086,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"set maxAge","ranges":[{"startOffset":2142,"endOffset":2300,"count":0}],"isBlockCoverage":false},{"functionName":"get maxAge","ranges":[{"startOffset":2303,"endOffset":2347,"count":0}],"isBlockCoverage":false},{"functionName":"set lengthCalculator","ranges":[{"startOffset":2408,"endOffset":2765,"count":0}],"isBlockCoverage":false},{"functionName":"get lengthCalculator","ranges":[{"startOffset":2768,"endOffset":2826,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":2830,"endOffset":2867,"count":0}],"isBlockCoverage":false},{"functionName":"get itemCount","ranges":[{"startOffset":2870,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"rforEach","ranges":[{"startOffset":2923,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":3142,"endOffset":3356,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":3360,"endOffset":3425,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":3429,"endOffset":3498,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":3502,"endOffset":3858,"count":1},{"startOffset":3535,"endOffset":3560,"count":0},{"startOffset":3561,"endOffset":3593,"count":0},{"startOffset":3595,"endOffset":3673,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3626,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"dump","ranges":[{"startOffset":3862,"endOffset":4064,"count":0}],"isBlockCoverage":false},{"functionName":"dumpLru","ranges":[{"startOffset":4068,"endOffset":4110,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4114,"endOffset":5376,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":5380,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5517,"endOffset":5564,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":5568,"endOffset":5617,"count":0}],"isBlockCoverage":false},{"functionName":"pop","ranges":[{"startOffset":5621,"endOffset":5746,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":5750,"endOffset":5801,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5805,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"prune","ranges":[{"startOffset":6382,"endOffset":6459,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6475,"endOffset":6871,"count":0}],"isBlockCoverage":false},{"functionName":"isStale","ranges":[{"startOffset":6889,"endOffset":7094,"count":0}],"isBlockCoverage":false},{"functionName":"trim","ranges":[{"startOffset":7109,"endOffset":7497,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":7511,"endOffset":7738,"count":0}],"isBlockCoverage":false},{"functionName":"Entry","ranges":[{"startOffset":7756,"endOffset":7923,"count":0}],"isBlockCoverage":false},{"functionName":"forEachStep","ranges":[{"startOffset":7947,"endOffset":8158,"count":0}],"isBlockCoverage":false}]},{"scriptId":"558","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/yallist.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8411,"count":1},{"startOffset":8397,"endOffset":8410,"count":0}],"isBlockCoverage":true},{"functionName":"Yallist","ranges":[{"startOffset":85,"endOffset":517,"count":1},{"startOffset":163,"endOffset":193,"count":0},{"startOffset":263,"endOffset":300,"count":0},{"startOffset":302,"endOffset":371,"count":0},{"startOffset":403,"endOffset":500,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":321,"endOffset":366,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.removeNode","ranges":[{"startOffset":550,"endOffset":1001,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshiftNode","ranges":[{"startOffset":1035,"endOffset":1334,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pushNode","ranges":[{"startOffset":1365,"endOffset":1664,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.push","ranges":[{"startOffset":1691,"endOffset":1814,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshift","ranges":[{"startOffset":1844,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pop","ranges":[{"startOffset":1996,"endOffset":2224,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.shift","ranges":[{"startOffset":2252,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEach","ranges":[{"startOffset":2510,"endOffset":2691,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEachReverse","ranges":[{"startOffset":2728,"endOffset":2923,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.get","ranges":[{"startOffset":2949,"endOffset":3182,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.getReverse","ranges":[{"startOffset":3215,"endOffset":3448,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.map","ranges":[{"startOffset":3474,"endOffset":3690,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.mapReverse","ranges":[{"startOffset":3723,"endOffset":3939,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduce","ranges":[{"startOffset":3968,"endOffset":4363,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduceReverse","ranges":[{"startOffset":4399,"endOffset":4808,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArray","ranges":[{"startOffset":4838,"endOffset":5018,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArrayReverse","ranges":[{"startOffset":5055,"endOffset":5235,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.slice","ranges":[{"startOffset":5263,"endOffset":5790,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.sliceReverse","ranges":[{"startOffset":5825,"endOffset":6362,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.splice","ranges":[{"startOffset":6391,"endOffset":7034,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reverse","ranges":[{"startOffset":7064,"endOffset":7322,"count":0}],"isBlockCoverage":false},{"functionName":"insert","ranges":[{"startOffset":7324,"endOffset":7643,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":7645,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":7795,"endOffset":7946,"count":0}],"isBlockCoverage":false},{"functionName":"Node","ranges":[{"startOffset":7948,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"559","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/iterator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":30,"endOffset":206,"count":1}],"isBlockCoverage":true},{"functionName":"Yallist.","ranges":[{"startOffset":90,"endOffset":204,"count":0}],"isBlockCoverage":false}]},{"scriptId":"560","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/satisfies.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"satisfies","ranges":[{"startOffset":60,"endOffset":205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"561","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/to-comparators.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":268,"count":1}],"isBlockCoverage":true},{"functionName":"toComparators","ranges":[{"startOffset":115,"endOffset":235,"count":0}],"isBlockCoverage":false}]},{"scriptId":"562","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/max-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":579,"count":1}],"isBlockCoverage":true},{"functionName":"maxSatisfying","ranges":[{"startOffset":109,"endOffset":547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"563","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"minSatisfying","ranges":[{"startOffset":108,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"564","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-version.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"minVersion","ranges":[{"startOffset":144,"endOffset":1471,"count":0}],"isBlockCoverage":false}]},{"scriptId":"565","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":312,"count":1}],"isBlockCoverage":true},{"functionName":"validRange","ranges":[{"startOffset":61,"endOffset":283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"566","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/outside.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2190,"count":1}],"isBlockCoverage":true},{"functionName":"outside","ranges":[{"startOffset":390,"endOffset":2163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"567","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/gtr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":217,"count":1}],"isBlockCoverage":true},{"functionName":"gtr","ranges":[{"startOffset":129,"endOffset":195,"count":0}],"isBlockCoverage":false}]},{"scriptId":"568","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/ltr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":213,"count":1}],"isBlockCoverage":true},{"functionName":"ltr","ranges":[{"startOffset":125,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"569","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/intersects.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true},{"functionName":"intersects","ranges":[{"startOffset":61,"endOffset":181,"count":0}],"isBlockCoverage":false}]},{"scriptId":"570","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/simplify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1341,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":329,"endOffset":1340,"count":0}],"isBlockCoverage":false}]},{"scriptId":"571","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/subset.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7510,"count":1}],"isBlockCoverage":true},{"functionName":"subset","ranges":[{"startOffset":1996,"endOffset":2727,"count":0}],"isBlockCoverage":false},{"functionName":"simpleSubset","ranges":[{"startOffset":2869,"endOffset":6974,"count":0}],"isBlockCoverage":false},{"functionName":"higherGT","ranges":[{"startOffset":7025,"endOffset":7229,"count":0}],"isBlockCoverage":false},{"functionName":"lowerLT","ranges":[{"startOffset":7280,"endOffset":7484,"count":0}],"isBlockCoverage":false}]},{"scriptId":"572","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/property.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6165,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":331,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeComplex","ranges":[{"startOffset":457,"endOffset":572,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":622,"endOffset":708,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePrimitive","ranges":[{"startOffset":756,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"Property","ranges":[{"startOffset":1125,"endOffset":1167,"count":0}],"isBlockCoverage":false},{"functionName":"compareKeys","ranges":[{"startOffset":1171,"endOffset":1692,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1696,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexProperty","ranges":[{"startOffset":2881,"endOffset":2949,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2953,"endOffset":3025,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3029,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3308,"endOffset":3811,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3815,"endOffset":3853,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveProperty","ranges":[{"startOffset":3981,"endOffset":4049,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":4053,"endOffset":4328,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4332,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5018,"endOffset":6023,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6027,"endOffset":6079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"573","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2777,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":329,"endOffset":675,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":705,"endOffset":901,"count":0}],"isBlockCoverage":false},{"functionName":"SymbolValue","ranges":[{"startOffset":1012,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1115,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":1409,"endOffset":1540,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1544,"endOffset":1651,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":1655,"endOffset":1788,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1792,"endOffset":1956,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSymbolValue","ranges":[{"startOffset":2159,"endOffset":2232,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2236,"endOffset":2726,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":2730,"endOffset":2774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"574","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-string-escape/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":644,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":17,"endOffset":643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"575","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/well-known-symbols/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":800,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":672,"endOffset":689,"count":12}],"isBlockCoverage":true},{"functionName":"exports.isWellKnown","ranges":[{"startOffset":715,"endOffset":747,"count":0}],"isBlockCoverage":false},{"functionName":"exports.getLabel","ranges":[{"startOffset":767,"endOffset":799,"count":0}],"isBlockCoverage":false}]},{"scriptId":"576","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/bigInt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":906,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":714,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":718,"endOffset":758,"count":0}],"isBlockCoverage":false}]},{"scriptId":"577","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/boolean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":931,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":286,"count":0}],"isBlockCoverage":false},{"functionName":"BooleanValue","ranges":[{"startOffset":425,"endOffset":473,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":477,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":737,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":741,"endOffset":781,"count":0}],"isBlockCoverage":false}]},{"scriptId":"578","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/null.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":737,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":273,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":406,"endOffset":497,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":501,"endOffset":593,"count":0}],"isBlockCoverage":false}]},{"scriptId":"579","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/number.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":969,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"NumberValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":777,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":781,"endOffset":821,"count":0}],"isBlockCoverage":false}]},{"scriptId":"580","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/undefined.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":421,"endOffset":512,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":516,"endOffset":618,"count":0}],"isBlockCoverage":false}]},{"scriptId":"581","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/shouldCompareDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":573,"count":1}],"isBlockCoverage":true},{"functionName":"shouldCompareDeep","ranges":[{"startOffset":206,"endOffset":537,"count":0}],"isBlockCoverage":false}]},{"scriptId":"582","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/symbolProperties.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2759,"count":1}],"isBlockCoverage":true},{"functionName":"Comparable","ranges":[{"startOffset":247,"endOffset":348,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":352,"endOffset":533,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":537,"endOffset":1293,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1297,"endOffset":2003,"count":0}],"isBlockCoverage":false},{"functionName":"Collector","ranges":[{"startOffset":2152,"endOffset":2288,"count":0}],"isBlockCoverage":false},{"functionName":"collectAll","ranges":[{"startOffset":2292,"endOffset":2538,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2542,"endOffset":2635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"583","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13805,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":630,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"compareComplexShape","ranges":[{"startOffset":642,"endOffset":1886,"count":0}],"isBlockCoverage":false},{"functionName":"diffDescriptors","ranges":[{"startOffset":1888,"endOffset":13605,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":13649,"endOffset":13784,"count":0}],"isBlockCoverage":false}]},{"scriptId":"584","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Indenter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":360,"count":1}],"isBlockCoverage":true},{"functionName":"Indenter","ranges":[{"startOffset":33,"endOffset":144,"count":1}],"isBlockCoverage":true},{"functionName":"increase","ranges":[{"startOffset":148,"endOffset":216,"count":0}],"isBlockCoverage":false},{"functionName":"decrease","ranges":[{"startOffset":220,"endOffset":288,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":292,"endOffset":331,"count":0}],"isBlockCoverage":false}]},{"scriptId":"585","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/format.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3075,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":241,"endOffset":251,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptor","ranges":[{"startOffset":295,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2953,"endOffset":3050,"count":0}],"isBlockCoverage":false}]},{"scriptId":"586","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/serialize.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12422,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4159,"endOffset":4194,"count":31}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4241,"endOffset":4276,"count":31}],"isBlockCoverage":true},{"functionName":"DescriptorSerializationError","ranges":[{"startOffset":4333,"endOffset":4487,"count":0}],"isBlockCoverage":false},{"functionName":"MissingPluginError","ranges":[{"startOffset":4534,"endOffset":4722,"count":0}],"isBlockCoverage":false},{"functionName":"PointerLookupError","ranges":[{"startOffset":4769,"endOffset":4936,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedPluginError","ranges":[{"startOffset":4987,"endOffset":5271,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedVersion","ranges":[{"startOffset":5373,"endOffset":5576,"count":0}],"isBlockCoverage":false},{"functionName":"shallowSerializeDescriptor","ranges":[{"startOffset":5580,"endOffset":5763,"count":0}],"isBlockCoverage":false},{"functionName":"serializeState","ranges":[{"startOffset":5765,"endOffset":6401,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6403,"endOffset":8213,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeState","ranges":[{"startOffset":8245,"endOffset":8564,"count":0}],"isBlockCoverage":false},{"functionName":"shallowDeserializeDescriptor","ranges":[{"startOffset":8566,"endOffset":8761,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeRecord","ranges":[{"startOffset":8763,"endOffset":9449,"count":0}],"isBlockCoverage":false},{"functionName":"buildPluginMap","ranges":[{"startOffset":9451,"endOffset":10790,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":10792,"endOffset":12387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"587","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/md5-hex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":406,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":66,"endOffset":404,"count":0}],"isBlockCoverage":false}]},{"scriptId":"588","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9570,"count":1}],"isBlockCoverage":true},{"functionName":"encodeInteger","ranges":[{"startOffset":689,"endOffset":828,"count":0}],"isBlockCoverage":false},{"functionName":"encodeValue","ranges":[{"startOffset":830,"endOffset":3045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeValue","ranges":[{"startOffset":3047,"endOffset":5534,"count":0}],"isBlockCoverage":false},{"functionName":"buildBuffer","ranges":[{"startOffset":5536,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6160,"endOffset":7889,"count":0}],"isBlockCoverage":false},{"functionName":"decodePlugins","ranges":[{"startOffset":7915,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"decodeRecord","ranges":[{"startOffset":8465,"endOffset":9182,"count":0}],"isBlockCoverage":false},{"functionName":"extractVersion","ranges":[{"startOffset":9220,"endOffset":9288,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":9330,"endOffset":9545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"589","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/flattenDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"flattenDeep","ranges":[{"startOffset":412,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"590","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFlatten.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1201,"count":1}],"isBlockCoverage":true},{"functionName":"baseFlatten","ranges":[{"startOffset":568,"endOffset":1169,"count":0}],"isBlockCoverage":false}]},{"scriptId":"591","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isFlattenable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1},{"startOffset":208,"endOffset":219,"count":0}],"isBlockCoverage":true},{"functionName":"isFlattenable","ranges":[{"startOffset":430,"endOffset":574,"count":0}],"isBlockCoverage":false}]},{"scriptId":"592","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/pointer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":617,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":63,"endOffset":120,"count":0}],"isBlockCoverage":false},{"functionName":"Pointer","ranges":[{"startOffset":249,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":392,"endOffset":435,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":439,"endOffset":479,"count":0}],"isBlockCoverage":false}]},{"scriptId":"593","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-error/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"isError","ranges":[{"startOffset":160,"endOffset":596,"count":0}],"isBlockCoverage":false}]},{"scriptId":"594","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7961,"count":1},{"startOffset":184,"endOffset":189,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":290,"endOffset":398,"count":70}],"isBlockCoverage":true},{"functionName":"StackUtils","ranges":[{"startOffset":581,"endOffset":1041,"count":1}],"isBlockCoverage":true},{"functionName":"nodeInternals","ranges":[{"startOffset":1052,"endOffset":1099,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":1103,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"captureString","ranges":[{"startOffset":2203,"endOffset":2601,"count":0}],"isBlockCoverage":false},{"functionName":"capture","ranges":[{"startOffset":2605,"endOffset":3178,"count":0}],"isBlockCoverage":false},{"functionName":"at","ranges":[{"startOffset":3182,"endOffset":4236,"count":0}],"isBlockCoverage":false},{"functionName":"parseLine","ranges":[{"startOffset":4240,"endOffset":6388,"count":0}],"isBlockCoverage":false},{"functionName":"setFile","ranges":[{"startOffset":6392,"endOffset":6629,"count":0}],"isBlockCoverage":false},{"functionName":"ignoredPackagesRegExp","ranges":[{"startOffset":6631,"endOffset":6913,"count":1},{"startOffset":6737,"endOffset":6912,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6778,"endOffset":6808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"595","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":236,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":85,"endOffset":234,"count":0}],"isBlockCoverage":false}]},{"scriptId":"596","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/cbor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2598,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":2526,"endOffset":2597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"597","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/commented.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8911,"count":1}],"isBlockCoverage":true},{"functionName":"plural","ranges":[{"startOffset":242,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1621,"endOffset":2061,"count":0}],"isBlockCoverage":false},{"functionName":"Commented","ranges":[{"startOffset":2313,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"_tag_24","ranges":[{"startOffset":3493,"endOffset":3678,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3682,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3766,"endOffset":3890,"count":0}],"isBlockCoverage":false},{"functionName":"comment","ranges":[{"startOffset":4466,"endOffset":5155,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":5184,"endOffset":5277,"count":0}],"isBlockCoverage":false},{"functionName":"_on_read","ranges":[{"startOffset":5306,"endOffset":5625,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":5654,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start_string","ranges":[{"startOffset":6407,"endOffset":6713,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":6742,"endOffset":7824,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":7853,"endOffset":7888,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":7918,"endOffset":8748,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":8777,"endOffset":8880,"count":0}],"isBlockCoverage":false}]},{"scriptId":"598","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8215,"count":1}],"isBlockCoverage":true},{"functionName":"exports.utf8","ranges":[{"startOffset":492,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":546,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"isBufferish","ranges":[{"startOffset":823,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"bufferishToBuffer","ranges":[{"startOffset":1098,"endOffset":1356,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORint","ranges":[{"startOffset":1381,"endOffset":1905,"count":0}],"isBlockCoverage":false},{"functionName":"writeHalf","ranges":[{"startOffset":1927,"endOffset":4036,"count":0}],"isBlockCoverage":false},{"functionName":"parseHalf","ranges":[{"startOffset":4058,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORfloat","ranges":[{"startOffset":4418,"endOffset":4687,"count":0}],"isBlockCoverage":false},{"functionName":"hex","ranges":[{"startOffset":4703,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"bin","ranges":[{"startOffset":4788,"endOffset":5042,"count":0}],"isBlockCoverage":false},{"functionName":"arrayEqual","ranges":[{"startOffset":5065,"endOffset":5279,"count":0}],"isBlockCoverage":false},{"functionName":"bufferToBigInt","ranges":[{"startOffset":5306,"endOffset":5382,"count":0}],"isBlockCoverage":false},{"functionName":"cborValueToString","ranges":[{"startOffset":5412,"endOffset":7059,"count":0}],"isBlockCoverage":false},{"functionName":"guessEncoding","ranges":[{"startOffset":7085,"endOffset":7418,"count":0}],"isBlockCoverage":false},{"functionName":"base64url","ranges":[{"startOffset":7657,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"base64","ranges":[{"startOffset":7965,"endOffset":8048,"count":0}],"isBlockCoverage":false},{"functionName":"isBigEndian","ranges":[{"startOffset":8072,"endOffset":8214,"count":0}],"isBlockCoverage":false}]},{"scriptId":"599","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nofilter/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28585,"count":1}],"isBlockCoverage":true},{"functionName":"NoFilter","ranges":[{"startOffset":3473,"endOffset":5501,"count":0}],"isBlockCoverage":false},{"functionName":"isNoFilter","ranges":[{"startOffset":5664,"endOffset":5716,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":6159,"endOffset":6351,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":7149,"endOffset":8408,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":8437,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"_bufArray","ranges":[{"startOffset":8811,"endOffset":9199,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":9982,"endOffset":10504,"count":0}],"isBlockCoverage":false},{"functionName":"readFull","ranges":[{"startOffset":10957,"endOffset":12088,"count":0}],"isBlockCoverage":false},{"functionName":"promise","ranges":[{"startOffset":12421,"endOffset":12847,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":13163,"endOffset":13614,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":13827,"endOffset":13883,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":14414,"endOffset":14924,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":15137,"endOffset":15184,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":15588,"endOffset":15702,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16207,"endOffset":16468,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16497,"endOffset":16823,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":16931,"endOffset":17040,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt","ranges":[{"startOffset":17265,"endOffset":17670,"count":0}],"isBlockCoverage":false},{"functionName":"readUBigInt","ranges":[{"startOffset":17884,"endOffset":18034,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt","ranges":[{"startOffset":18276,"endOffset":18596,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":18759,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19026,"endOffset":19133,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":19315,"endOffset":19422,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19609,"endOffset":19716,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":19900,"endOffset":20007,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":20172,"endOffset":20253,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":20438,"endOffset":20544,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":20726,"endOffset":20832,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":21021,"endOffset":21127,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":21313,"endOffset":21419,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatLE","ranges":[{"startOffset":21592,"endOffset":21697,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBE","ranges":[{"startOffset":21867,"endOffset":21972,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleLE","ranges":[{"startOffset":22146,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBE","ranges":[{"startOffset":22423,"endOffset":22530,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":22705,"endOffset":22816,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":22988,"endOffset":23099,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":23290,"endOffset":23403,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":23591,"endOffset":23704,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":23831,"endOffset":23955,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":24101,"endOffset":24231,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":24377,"endOffset":24507,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":24653,"endOffset":24783,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":24929,"endOffset":25059,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":25183,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":25449,"endOffset":25577,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":25721,"endOffset":25849,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":25993,"endOffset":26121,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":26265,"endOffset":26393,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatLE","ranges":[{"startOffset":26528,"endOffset":26656,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBE","ranges":[{"startOffset":26788,"endOffset":26916,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleLE","ranges":[{"startOffset":27051,"endOffset":27181,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBE","ranges":[{"startOffset":27313,"endOffset":27443,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":27586,"endOffset":27720,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":27860,"endOffset":27994,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":28140,"endOffset":28276,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":28419,"endOffset":28555,"count":0}],"isBlockCoverage":false}]},{"scriptId":"600","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1352,"count":1}],"isBlockCoverage":true}]},{"scriptId":"601","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/decoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20596,"count":1}],"isBlockCoverage":true},{"functionName":"parentArray","ranges":[{"startOffset":508,"endOffset":641,"count":0}],"isBlockCoverage":false},{"functionName":"parentBufferStream","ranges":[{"startOffset":643,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"UnexpectedDataError","ranges":[{"startOffset":831,"endOffset":996,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":3420,"endOffset":3794,"count":0}],"isBlockCoverage":false},{"functionName":"Decoder","ranges":[{"startOffset":4237,"endOffset":4930,"count":0}],"isBlockCoverage":false},{"functionName":"nullcheck","ranges":[{"startOffset":5301,"endOffset":5710,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirstSync","ranges":[{"startOffset":6389,"endOffset":7548,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAllSync","ranges":[{"startOffset":8073,"endOffset":8838,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirst","ranges":[{"startOffset":9562,"endOffset":11046,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAll","ranges":[{"startOffset":11770,"endOffset":12395,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12433,"endOffset":12495,"count":0}],"isBlockCoverage":false},{"functionName":"_onRead","ranges":[{"startOffset":12574,"endOffset":12625,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":12867,"endOffset":20537,"count":0}],"isBlockCoverage":false}]},{"scriptId":"602","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/vendor/binary-parse-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2692,"count":1}],"isBlockCoverage":true},{"functionName":"BinaryParseStream","ranges":[{"startOffset":1100,"endOffset":1513,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1517,"endOffset":2086,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":2331,"endOffset":2462,"count":0}],"isBlockCoverage":false},{"functionName":"__restart","ranges":[{"startOffset":2466,"endOffset":2566,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":2570,"endOffset":2653,"count":0}],"isBlockCoverage":false}]},{"scriptId":"603","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/tagged.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10762,"count":1},{"startOffset":7721,"endOffset":7750,"count":19}],"isBlockCoverage":true},{"functionName":"setBuffersToJSON","ranges":[{"startOffset":135,"endOffset":954,"count":0}],"isBlockCoverage":false},{"functionName":"b64this","ranges":[{"startOffset":956,"endOffset":1052,"count":0}],"isBlockCoverage":false},{"functionName":"b64urlThis","ranges":[{"startOffset":1054,"endOffset":1156,"count":0}],"isBlockCoverage":false},{"functionName":"hexThis","ranges":[{"startOffset":1158,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"swapEndian","ranges":[{"startOffset":1258,"endOffset":1667,"count":0}],"isBlockCoverage":false},{"functionName":"0","ranges":[{"startOffset":2409,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"1","ranges":[{"startOffset":2478,"endOffset":2501,"count":0}],"isBlockCoverage":false},{"functionName":"2","ranges":[{"startOffset":2548,"endOffset":2576,"count":0}],"isBlockCoverage":false},{"functionName":"3","ranges":[{"startOffset":2623,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"21","ranges":[{"startOffset":2752,"endOffset":2911,"count":0}],"isBlockCoverage":false},{"functionName":"22","ranges":[{"startOffset":2984,"endOffset":3137,"count":0}],"isBlockCoverage":false},{"functionName":"23","ranges":[{"startOffset":3218,"endOffset":3371,"count":0}],"isBlockCoverage":false},{"functionName":"32","ranges":[{"startOffset":3409,"endOffset":3424,"count":0}],"isBlockCoverage":false},{"functionName":"33","ranges":[{"startOffset":3468,"endOffset":4627,"count":0}],"isBlockCoverage":false},{"functionName":"34","ranges":[{"startOffset":4668,"endOffset":5867,"count":0}],"isBlockCoverage":false},{"functionName":"35","ranges":[{"startOffset":5920,"endOffset":5938,"count":0}],"isBlockCoverage":false},{"functionName":"258","ranges":[{"startOffset":6027,"endOffset":6042,"count":0}],"isBlockCoverage":false},{"functionName":"_toTypedArray","ranges":[{"startOffset":7009,"endOffset":7672,"count":0}],"isBlockCoverage":false},{"functionName":"Tagged","ranges":[{"startOffset":8277,"endOffset":8615,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":8619,"endOffset":8856,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":8953,"endOffset":9025,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":9189,"endOffset":9272,"count":0}],"isBlockCoverage":false},{"functionName":"convert","ranges":[{"startOffset":9824,"endOffset":10302,"count":0}],"isBlockCoverage":false},{"functionName":"get TAGS","ranges":[{"startOffset":10432,"endOffset":10472,"count":0}],"isBlockCoverage":false},{"functionName":"set TAGS","ranges":[{"startOffset":10483,"endOffset":10525,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":10642,"endOffset":10683,"count":1}],"isBlockCoverage":true}]},{"scriptId":"604","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/simple.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2695,"count":1}],"isBlockCoverage":true},{"functionName":"Simple","ranges":[{"startOffset":268,"endOffset":567,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":683,"endOffset":734,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":930,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":1190,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"isSimple","ranges":[{"startOffset":1403,"endOffset":1455,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":2071,"endOffset":2667,"count":0}],"isBlockCoverage":false}]},{"scriptId":"605","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/diagnose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6617,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeOptions","ranges":[{"startOffset":1886,"endOffset":2262,"count":0}],"isBlockCoverage":false},{"functionName":"Diagnose","ranges":[{"startOffset":2529,"endOffset":3414,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3418,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3509,"endOffset":3707,"count":0}],"isBlockCoverage":false},{"functionName":"diagnose","ranges":[{"startOffset":4122,"endOffset":4775,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":4804,"endOffset":4932,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":4954,"endOffset":5115,"count":0}],"isBlockCoverage":false},{"functionName":"_fore","ranges":[{"startOffset":5137,"endOffset":5507,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":5529,"endOffset":5751,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":5773,"endOffset":6194,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":6216,"endOffset":6519,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":6541,"endOffset":6587,"count":0}],"isBlockCoverage":false}]},{"scriptId":"606","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31613,"count":1}],"isBlockCoverage":true},{"functionName":"parseDateType","ranges":[{"startOffset":1747,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"Encoder","ranges":[{"startOffset":4631,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":6051,"endOffset":6261,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":6318,"endOffset":6350,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt8","ranges":[{"startOffset":6470,"endOffset":6576,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt16BE","ranges":[{"startOffset":6698,"endOffset":6810,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt32BE","ranges":[{"startOffset":6935,"endOffset":7047,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloatBE","ranges":[{"startOffset":7176,"endOffset":7286,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDoubleBE","ranges":[{"startOffset":7416,"endOffset":7528,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNaN","ranges":[{"startOffset":7598,"endOffset":7644,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInfinity","ranges":[{"startOffset":7770,"endOffset":7876,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloat","ranges":[{"startOffset":8142,"endOffset":9321,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInt","ranges":[{"startOffset":10074,"endOffset":10925,"count":0}],"isBlockCoverage":false},{"functionName":"_pushIntNum","ranges":[{"startOffset":11192,"endOffset":11409,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNumber","ranges":[{"startOffset":11531,"endOffset":11787,"count":0}],"isBlockCoverage":false},{"functionName":"_pushString","ranges":[{"startOffset":11900,"endOffset":12041,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoolean","ranges":[{"startOffset":12153,"endOffset":12223,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUndefined","ranges":[{"startOffset":12330,"endOffset":12752,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNull","ranges":[{"startOffset":12854,"endOffset":12907,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTag","ranges":[{"startOffset":13024,"endOffset":13081,"count":0}],"isBlockCoverage":false},{"functionName":"_pushJSBigint","ranges":[{"startOffset":13194,"endOffset":13960,"count":0}],"isBlockCoverage":false},{"functionName":"_pushObject","ranges":[{"startOffset":14109,"endOffset":16394,"count":0}],"isBlockCoverage":false},{"functionName":"_encodeAll","ranges":[{"startOffset":16551,"endOffset":16756,"count":0}],"isBlockCoverage":false},{"functionName":"addSemanticType","ranges":[{"startOffset":17172,"endOffset":17565,"count":0}],"isBlockCoverage":false},{"functionName":"pushAny","ranges":[{"startOffset":17771,"endOffset":18684,"count":0}],"isBlockCoverage":false},{"functionName":"pushArray","ranges":[{"startOffset":18990,"endOffset":19516,"count":0}],"isBlockCoverage":false},{"functionName":"removeLoopDetectors","ranges":[{"startOffset":19662,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDate","ranges":[{"startOffset":19947,"endOffset":20619,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBuffer","ranges":[{"startOffset":20774,"endOffset":20870,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNoFilter","ranges":[{"startOffset":21027,"endOffset":21129,"count":0}],"isBlockCoverage":false},{"functionName":"_pushRegexp","ranges":[{"startOffset":21284,"endOffset":21374,"count":0}],"isBlockCoverage":false},{"functionName":"_pushSet","ranges":[{"startOffset":21523,"endOffset":21783,"count":0}],"isBlockCoverage":false},{"functionName":"_pushURL","ranges":[{"startOffset":21932,"endOffset":22020,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoxed","ranges":[{"startOffset":22208,"endOffset":22272,"count":0}],"isBlockCoverage":false},{"functionName":"_pushMap","ranges":[{"startOffset":22469,"endOffset":24462,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTypedArray","ranges":[{"startOffset":24627,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"_pushArrayBuffer","ranges":[{"startOffset":25460,"endOffset":25546,"count":0}],"isBlockCoverage":false},{"functionName":"encodeIndefinite","ranges":[{"startOffset":26458,"endOffset":28127,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":28344,"endOffset":28407,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCanonical","ranges":[{"startOffset":28646,"endOffset":28748,"count":0}],"isBlockCoverage":false},{"functionName":"encodeOne","ranges":[{"startOffset":29014,"endOffset":29093,"count":0}],"isBlockCoverage":false},{"functionName":"encodeAsync","ranges":[{"startOffset":29664,"endOffset":29981,"count":0}],"isBlockCoverage":false},{"functionName":"get SEMANTIC_TYPES","ranges":[{"startOffset":30115,"endOffset":30175,"count":0}],"isBlockCoverage":false},{"functionName":"set SEMANTIC_TYPES","ranges":[{"startOffset":30186,"endOffset":30248,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":30375,"endOffset":30437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"607","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5186,"count":1}],"isBlockCoverage":true},{"functionName":"CborMap","ranges":[{"startOffset":952,"endOffset":999,"count":0}],"isBlockCoverage":false},{"functionName":"_encode","ranges":[{"startOffset":1035,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_decode","ranges":[{"startOffset":1148,"endOffset":1216,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1501,"endOffset":1558,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":1874,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":2283,"endOffset":2346,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":2687,"endOffset":2744,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":2978,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":3366,"endOffset":3472,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3725,"endOffset":3776,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":4173,"endOffset":4393,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":4557,"endOffset":5157,"count":0}],"isBlockCoverage":false}]},{"scriptId":"608","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/map-age-cleaner/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3903,"count":1}],"isBlockCoverage":true},{"functionName":"__awaiter","ranges":[{"startOffset":58,"endOffset":613,"count":0}],"isBlockCoverage":false},{"functionName":"__importDefault","ranges":[{"startOffset":671,"endOffset":752,"count":1},{"startOffset":723,"endOffset":728,"count":0}],"isBlockCoverage":true},{"functionName":"mapAgeCleaner","ranges":[{"startOffset":872,"endOffset":3774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"609","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-defer/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":177,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"610","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6750,"count":1}],"isBlockCoverage":true},{"functionName":"getId","ranges":[{"startOffset":492,"endOffset":749,"count":1},{"startOffset":664,"endOffset":747,"count":0}],"isBlockCoverage":true},{"functionName":"getTmpname","ranges":[{"startOffset":774,"endOffset":976,"count":0}],"isBlockCoverage":false},{"functionName":"cleanupOnExit","ranges":[{"startOffset":978,"endOffset":1161,"count":0}],"isBlockCoverage":false},{"functionName":"serializeActiveFile","ranges":[{"startOffset":1163,"endOffset":1550,"count":0}],"isBlockCoverage":false},{"functionName":"isChownErrOk","ranges":[{"startOffset":1633,"endOffset":1894,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileAsync","ranges":[{"startOffset":1896,"endOffset":4304,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4306,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":4680,"endOffset":6749,"count":0}],"isBlockCoverage":false}]},{"scriptId":"611","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/imurmurhash/imurmurhash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4412,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":443,"endOffset":4407,"count":1},{"startOffset":4352,"endOffset":4405,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3","ranges":[{"startOffset":811,"endOffset":1083,"count":1},{"startOffset":896,"endOffset":903,"count":0},{"startOffset":963,"endOffset":980,"count":0},{"startOffset":982,"endOffset":1018,"count":0},{"startOffset":1044,"endOffset":1077,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3.hash","ranges":[{"startOffset":1254,"endOffset":3073,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.result","ranges":[{"startOffset":3193,"endOffset":3797,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.reset","ranges":[{"startOffset":3937,"endOffset":4078,"count":1},{"startOffset":3997,"endOffset":4003,"count":0}],"isBlockCoverage":true}]},{"scriptId":"612","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9435,"count":1},{"startOffset":8597,"endOffset":8623,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":518,"endOffset":562,"count":0}],"isBlockCoverage":false},{"functionName":"processOk","ranges":[{"startOffset":585,"endOffset":952,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1130,"endOffset":2434,"count":1}],"isBlockCoverage":true},{"functionName":"Emitter","ranges":[{"startOffset":1325,"endOffset":1616,"count":1},{"startOffset":1375,"endOffset":1427,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":1621,"endOffset":1676,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":1681,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2045,"endOffset":2432,"count":0}],"isBlockCoverage":false},{"functionName":"signalExitWrap","ranges":[{"startOffset":2483,"endOffset":2732,"count":1}],"isBlockCoverage":true},{"functionName":"onExit","ranges":[{"startOffset":2519,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2602,"endOffset":2655,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2665,"endOffset":2722,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":2788,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2835,"endOffset":2845,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2850,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2865,"endOffset":8403,"count":1},{"startOffset":3070,"endOffset":3080,"count":0}],"isBlockCoverage":true},{"functionName":"SignalExit","ranges":[{"startOffset":3269,"endOffset":5206,"count":1},{"startOffset":3467,"endOffset":5088,"count":17}],"isBlockCoverage":true},{"functionName":"SignalExit.#sigListeners.","ranges":[{"startOffset":3507,"endOffset":5077,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":5211,"endOffset":5804,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5809,"endOffset":6637,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":6642,"endOffset":7393,"count":0}],"isBlockCoverage":false},{"functionName":"#processReallyExit","ranges":[{"startOffset":7398,"endOffset":7764,"count":0}],"isBlockCoverage":false},{"functionName":"#processEmit","ranges":[{"startOffset":7769,"endOffset":8401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"613","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1560,"count":1}],"isBlockCoverage":true}]},{"scriptId":"614","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/irregular-plurals/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":137,"count":1}],"isBlockCoverage":true}]},{"scriptId":"615","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/state.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":150,"count":1}],"isBlockCoverage":true}]},{"scriptId":"616","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/channel.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7151,"count":1},{"startOffset":2661,"endOffset":2770,"count":0}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":303,"endOffset":1131,"count":2},{"startOffset":747,"endOffset":1129,"count":0}],"isBlockCoverage":true},{"functionName":"addToBuffer","ranges":[{"startOffset":510,"endOffset":540,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":975,"endOffset":1022,"count":0}],"isBlockCoverage":false},{"functionName":"selectAvaMessage","ranges":[{"startOffset":1159,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1167,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"RefCounter","ranges":[{"startOffset":1241,"endOffset":1277,"count":1}],"isBlockCoverage":true},{"functionName":"refAndTest","ranges":[{"startOffset":1280,"endOffset":1326,"count":2}],"isBlockCoverage":true},{"functionName":"testAndUnref","ranges":[{"startOffset":1329,"endOffset":1395,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortHandle","ranges":[{"startOffset":1426,"endOffset":1746,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1719,"endOffset":1727,"count":0}],"isBlockCoverage":false},{"functionName":"forceUnref","ranges":[{"startOffset":1749,"endOffset":1899,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":1902,"endOffset":2040,"count":2}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":2043,"endOffset":2179,"count":2}],"isBlockCoverage":true},{"functionName":"send","ranges":[{"startOffset":2182,"endOffset":2264,"count":7}],"isBlockCoverage":true},{"functionName":"IpcHandle","ranges":[{"startOffset":2287,"endOffset":2409,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":2412,"endOffset":2487,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":2490,"endOffset":2571,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2574,"endOffset":2616,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3157,"endOffset":3187,"count":0}],"isBlockCoverage":false},{"functionName":"flush","ranges":[{"startOffset":3456,"endOffset":3749,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3531,"endOffset":3704,"count":1}],"isBlockCoverage":true},{"functionName":"createChannelEmitter","ranges":[{"startOffset":3859,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"registerSharedWorker","ranges":[{"startOffset":4406,"endOffset":7096,"count":0}],"isBlockCoverage":false}]},{"scriptId":"617","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/utils.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true}]},{"scriptId":"618","url":"node:internal/modules/esm/initialize_import_meta","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1960,"count":1}],"isBlockCoverage":false},{"functionName":"createImportMetaResolve","ranges":[{"startOffset":617,"endOffset":1368,"count":3}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":880,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"initializeImportMeta","ranges":[{"startOffset":1633,"endOffset":1912,"count":3}],"isBlockCoverage":true}]},{"scriptId":"619","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/options.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":278,"count":1}],"isBlockCoverage":true},{"functionName":"exports.get","ranges":[{"startOffset":48,"endOffset":147,"count":0}],"isBlockCoverage":false},{"functionName":"exports.set","ranges":[{"startOffset":164,"endOffset":276,"count":1},{"startOffset":194,"endOffset":250,"count":0}],"isBlockCoverage":true}]},{"scriptId":"620","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-event/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6062,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeEmitter","ranges":[{"startOffset":60,"endOffset":453,"count":3},{"startOffset":105,"endOffset":127,"count":0},{"startOffset":128,"endOffset":155,"count":0},{"startOffset":193,"endOffset":218,"count":0},{"startOffset":219,"endOffset":249,"count":0},{"startOffset":290,"endOffset":346,"count":0}],"isBlockCoverage":true},{"functionName":"pEventMultiple","ranges":[{"startOffset":463,"endOffset":2125,"count":3},{"startOffset":1994,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":560,"endOffset":1917,"count":3},{"startOffset":812,"endOffset":892,"count":0},{"startOffset":1890,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"onItem","ranges":[{"startOffset":1060,"endOffset":1389,"count":3},{"startOffset":1116,"endOffset":1128,"count":0},{"startOffset":1263,"endOffset":1281,"count":2},{"startOffset":1281,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"rejectHandler","ranges":[{"startOffset":1416,"endOffset":1461,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":1475,"endOffset":1675,"count":1}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":2134,"endOffset":2551,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2421,"endOffset":2438,"count":1}],"isBlockCoverage":true},{"functionName":"pEventIterator","ranges":[{"startOffset":2560,"endOffset":6020,"count":0}],"isBlockCoverage":false}]},{"scriptId":"621","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@ava/typescript/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8330,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":352,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"validate","ranges":[{"startOffset":478,"endOffset":1131,"count":0}],"isBlockCoverage":false},{"functionName":"compileTypeScript","ranges":[{"startOffset":1133,"endOffset":1260,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1321,"endOffset":1393,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1436,"endOffset":1654,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1696,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"typescriptProvider","ranges":[{"startOffset":2093,"endOffset":8329,"count":1},{"startOffset":2251,"endOffset":2265,"count":0}],"isBlockCoverage":true},{"functionName":"main","ranges":[{"startOffset":2279,"endOffset":7324,"count":0}],"isBlockCoverage":false},{"functionName":"worker","ranges":[{"startOffset":7329,"endOffset":8322,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7526,"endOffset":7556,"count":3}],"isBlockCoverage":true},{"functionName":"canLoad","ranges":[{"startOffset":7591,"endOffset":7707,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7667,"endOffset":7699,"count":2}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":7714,"endOffset":8311,"count":1},{"startOffset":7935,"endOffset":8023,"count":0},{"startOffset":8055,"endOffset":8118,"count":0},{"startOffset":8247,"endOffset":8281,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7787,"endOffset":7819,"count":2}],"isBlockCoverage":true}]},{"scriptId":"622","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-timeout/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2513,"count":1}],"isBlockCoverage":true},{"functionName":"TimeoutError","ranges":[{"startOffset":43,"endOffset":116,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":315,"endOffset":405,"count":0}],"isBlockCoverage":false},{"functionName":"getDOMException","ranges":[{"startOffset":516,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"getAbortedReason","ranges":[{"startOffset":755,"endOffset":951,"count":0}],"isBlockCoverage":false},{"functionName":"pTimeout","ranges":[{"startOffset":969,"endOffset":2512,"count":0}],"isBlockCoverage":false}]},{"scriptId":"623","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7897,"count":1}],"isBlockCoverage":true},{"functionName":"getEnv","ranges":[{"startOffset":955,"endOffset":1187,"count":0}],"isBlockCoverage":false},{"functionName":"handleArguments","ranges":[{"startOffset":1214,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"handleOutput","ranges":[{"startOffset":1965,"endOffset":2268,"count":0}],"isBlockCoverage":false},{"functionName":"execa","ranges":[{"startOffset":2278,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"execaSync","ranges":[{"startOffset":4687,"endOffset":6032,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptStdin","ranges":[{"startOffset":6063,"endOffset":6191,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptOptions","ranges":[{"startOffset":6225,"endOffset":6316,"count":0}],"isBlockCoverage":false},{"functionName":"create$","ranges":[{"startOffset":6319,"endOffset":6973,"count":1}],"isBlockCoverage":true},{"functionName":"$","ranges":[{"startOffset":6348,"endOffset":6640,"count":0}],"isBlockCoverage":false},{"functionName":"$.sync","ranges":[{"startOffset":6652,"endOffset":6958,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommand","ranges":[{"startOffset":7011,"endOffset":7138,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommandSync","ranges":[{"startOffset":7147,"endOffset":7282,"count":0}],"isBlockCoverage":false},{"functionName":"execaNode","ranges":[{"startOffset":7291,"endOffset":7896,"count":0}],"isBlockCoverage":false}]},{"scriptId":"624","url":"node:child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27198,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1936,"endOffset":1965,"count":0}],"isBlockCoverage":false},{"functionName":"fork","ranges":[{"startOffset":3430,"endOffset":5105,"count":0}],"isBlockCoverage":false},{"functionName":"_forkChild","ranges":[{"startOffset":5107,"endOffset":5596,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecArgs","ranges":[{"startOffset":5598,"endOffset":6112,"count":0}],"isBlockCoverage":false},{"functionName":"exec","ranges":[{"startOffset":6649,"endOffset":6896,"count":0}],"isBlockCoverage":false},{"functionName":"customPromiseExecFunction","ranges":[{"startOffset":6932,"endOffset":7296,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6953,"endOffset":7293,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecFileArgs","ranges":[{"startOffset":7433,"endOffset":8331,"count":0}],"isBlockCoverage":false},{"functionName":"execFile","ranges":[{"startOffset":8944,"endOffset":13708,"count":0}],"isBlockCoverage":false},{"functionName":"copyProcessEnvToEnv","ranges":[{"startOffset":13852,"endOffset":14052,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeSpawnArguments","ranges":[{"startOffset":14054,"endOffset":19321,"count":0}],"isBlockCoverage":false},{"functionName":"abortChildProcess","ranges":[{"startOffset":19323,"endOffset":19579,"count":0}],"isBlockCoverage":false},{"functionName":"spawn","ranges":[{"startOffset":20134,"endOffset":21334,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":22094,"endOffset":23602,"count":0}],"isBlockCoverage":false},{"functionName":"checkExecSyncError","ranges":[{"startOffset":23605,"endOffset":23991,"count":0}],"isBlockCoverage":false},{"functionName":"execFileSync","ranges":[{"startOffset":24504,"endOffset":24968,"count":0}],"isBlockCoverage":false},{"functionName":"execSync","ranges":[{"startOffset":25466,"endOffset":25842,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentNullCheck","ranges":[{"startOffset":25845,"endOffset":26068,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentsNullCheck","ranges":[{"startOffset":26071,"endOffset":26233,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":26236,"endOffset":26424,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBuffer","ranges":[{"startOffset":26427,"endOffset":26700,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeKillSignal","ranges":[{"startOffset":26703,"endOffset":27066,"count":0}],"isBlockCoverage":false}]},{"scriptId":"625","url":"node:internal/child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31777,"count":1}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2500,"endOffset":2559,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2566,"endOffset":2620,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2682,"endOffset":2749,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2756,"endOffset":2897,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2927,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"postSend","ranges":[{"startOffset":4488,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5241,"endOffset":5698,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5763,"endOffset":5822,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5829,"endOffset":5883,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5948,"endOffset":6068,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":6075,"endOffset":6234,"count":0}],"isBlockCoverage":false},{"functionName":"stdioStringToArray","ranges":[{"startOffset":6245,"endOffset":6660,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess","ranges":[{"startOffset":6662,"endOffset":8151,"count":0}],"isBlockCoverage":false},{"functionName":"flushStdio","ranges":[{"startOffset":8274,"endOffset":8752,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":8755,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"getHandleWrapType","ranges":[{"startOffset":8848,"endOffset":9077,"count":0}],"isBlockCoverage":false},{"functionName":"closePendingHandle","ranges":[{"startOffset":9079,"endOffset":9192,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.spawn","ranges":[{"startOffset":9226,"endOffset":12793,"count":0}],"isBlockCoverage":false},{"functionName":"onErrorNT","ranges":[{"startOffset":12797,"endOffset":12858,"count":0}],"isBlockCoverage":false},{"functionName":"onSpawnNT","ranges":[{"startOffset":12861,"endOffset":12911,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.kill","ranges":[{"startOffset":12944,"endOffset":13609,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.","ranges":[{"startOffset":13652,"endOffset":13709,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.ref","ranges":[{"startOffset":13742,"endOffset":13796,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.unref","ranges":[{"startOffset":13831,"endOffset":13887,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13890,"endOffset":14887,"count":0}],"isBlockCoverage":false},{"functionName":"setupChannel","ranges":[{"startOffset":15035,"endOffset":27155,"count":0}],"isBlockCoverage":false},{"functionName":"isInternal","ranges":[{"startOffset":27190,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"getValidStdio","ranges":[{"startOffset":27534,"endOffset":30459,"count":0}],"isBlockCoverage":false},{"functionName":"getSocketList","ranges":[{"startOffset":30462,"endOffset":30778,"count":0}],"isBlockCoverage":false},{"functionName":"maybeClose","ranges":[{"startOffset":30781,"endOffset":30982,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":30984,"endOffset":31651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"626","url":"node:dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28253,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCluster","ranges":[{"startOffset":2824,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":3031,"endOffset":4459,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":4570,"endOffset":4648,"count":0}],"isBlockCoverage":false},{"functionName":"startListening","ranges":[{"startOffset":4651,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"replaceHandle","ranges":[{"startOffset":5096,"endOffset":5661,"count":0}],"isBlockCoverage":false},{"functionName":"bufferSize","ranges":[{"startOffset":5663,"endOffset":5955,"count":0}],"isBlockCoverage":false},{"functionName":"bindServerHandle","ranges":[{"startOffset":6023,"endOffset":6433,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.bind","ranges":[{"startOffset":6459,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":9932,"endOffset":10728,"count":0}],"isBlockCoverage":false},{"functionName":"_connect","ranges":[{"startOffset":10732,"endOffset":11078,"count":0}],"isBlockCoverage":false},{"functionName":"doConnect","ranges":[{"startOffset":11081,"endOffset":11723,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.disconnect","ranges":[{"startOffset":11756,"endOffset":12063,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.sendto","ranges":[{"startOffset":12168,"endOffset":12609,"count":0}],"isBlockCoverage":false},{"functionName":"sliceBuffer","ranges":[{"startOffset":12613,"endOffset":13373,"count":0}],"isBlockCoverage":false},{"functionName":"fixBufferList","ranges":[{"startOffset":13376,"endOffset":13760,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":13763,"endOffset":14190,"count":0}],"isBlockCoverage":false},{"functionName":"onListenSuccess","ranges":[{"startOffset":14193,"endOffset":14331,"count":0}],"isBlockCoverage":false},{"functionName":"onListenError","ranges":[{"startOffset":14334,"endOffset":14458,"count":0}],"isBlockCoverage":false},{"functionName":"clearQueue","ranges":[{"startOffset":14461,"endOffset":14658,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.send","ranges":[{"startOffset":15229,"endOffset":18122,"count":0}],"isBlockCoverage":false},{"functionName":"doSend","ranges":[{"startOffset":18125,"endOffset":19264,"count":0}],"isBlockCoverage":false},{"functionName":"afterSend","ranges":[{"startOffset":19266,"endOffset":19443,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.close","ranges":[{"startOffset":19470,"endOffset":20038,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":20080,"endOffset":20213,"count":0}],"isBlockCoverage":false},{"functionName":"socketCloseNT","ranges":[{"startOffset":20217,"endOffset":20271,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":20301,"endOffset":20491,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.remoteAddress","ranges":[{"startOffset":20527,"endOffset":20837,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setBroadcast","ranges":[{"startOffset":20873,"endOffset":21021,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setTTL","ranges":[{"startOffset":21051,"endOffset":21225,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastTTL","ranges":[{"startOffset":21264,"endOffset":21456,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastLoopback","ranges":[{"startOffset":21500,"endOffset":21700,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastInterface","ranges":[{"startOffset":21745,"endOffset":22007,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addMembership","ranges":[{"startOffset":22043,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropMembership","ranges":[{"startOffset":22455,"endOffset":22832,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addSourceSpecificMembership","ranges":[{"startOffset":22882,"endOffset":23489,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropSourceSpecificMembership","ranges":[{"startOffset":23541,"endOffset":24154,"count":0}],"isBlockCoverage":false},{"functionName":"healthCheck","ranges":[{"startOffset":24158,"endOffset":24321,"count":0}],"isBlockCoverage":false},{"functionName":"stopReceiving","ranges":[{"startOffset":24324,"endOffset":24488,"count":0}],"isBlockCoverage":false},{"functionName":"onMessage","ranges":[{"startOffset":24491,"endOffset":24745,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":24748,"endOffset":24863,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":24889,"endOffset":24996,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":25025,"endOffset":25134,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setRecvBufferSize","ranges":[{"startOffset":25175,"endOffset":25232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setSendBufferSize","ranges":[{"startOffset":25273,"endOffset":25330,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getRecvBufferSize","ranges":[{"startOffset":25371,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendBufferSize","ranges":[{"startOffset":25469,"endOffset":25526,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueSize","ranges":[{"startOffset":25565,"endOffset":25634,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueCount","ranges":[{"startOffset":25674,"endOffset":25744,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25863,"endOffset":25917,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25990,"endOffset":26046,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26199,"endOffset":26256,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26332,"endOffset":26391,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26547,"endOffset":26604,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26680,"endOffset":26739,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26891,"endOffset":26944,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27016,"endOffset":27071,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27223,"endOffset":27280,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27356,"endOffset":27415,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27522,"endOffset":27557,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27666,"endOffset":27703,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27988,"endOffset":28024,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":28028,"endOffset":28069,"count":0}],"isBlockCoverage":false}]},{"scriptId":"627","url":"node:internal/dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1851,"count":1}],"isBlockCoverage":false},{"functionName":"lookup4","ranges":[{"startOffset":478,"endOffset":579,"count":0}],"isBlockCoverage":false},{"functionName":"lookup6","ranges":[{"startOffset":582,"endOffset":677,"count":0}],"isBlockCoverage":false},{"functionName":"newHandle","ranges":[{"startOffset":679,"endOffset":1323,"count":0}],"isBlockCoverage":false},{"functionName":"_createSocketHandle","ranges":[{"startOffset":1326,"endOffset":1774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"628","url":"node:internal/socket_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2709,"count":1}],"isBlockCoverage":false},{"functionName":"SocketListSend","ranges":[{"startOffset":235,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"_request","ranges":[{"startOffset":380,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":1039,"endOffset":1190,"count":0}],"isBlockCoverage":false},{"functionName":"getConnections","ranges":[{"startOffset":1194,"endOffset":1430,"count":0}],"isBlockCoverage":false},{"functionName":"SocketListReceive","ranges":[{"startOffset":1544,"endOffset":2404,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":2408,"endOffset":2649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"629","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/strip-final-newline/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":347,"count":1}],"isBlockCoverage":true},{"functionName":"stripFinalNewline","ranges":[{"startOffset":15,"endOffset":346,"count":0}],"isBlockCoverage":false}]},{"scriptId":"630","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":938,"count":1}],"isBlockCoverage":true},{"functionName":"npmRunPath","ranges":[{"startOffset":134,"endOffset":741,"count":0}],"isBlockCoverage":false},{"functionName":"npmRunPathEnv","ranges":[{"startOffset":750,"endOffset":937,"count":0}],"isBlockCoverage":false}]},{"scriptId":"631","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/onetime/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1022,"count":1}],"isBlockCoverage":true},{"functionName":"onetime","ranges":[{"startOffset":95,"endOffset":767,"count":0}],"isBlockCoverage":false},{"functionName":"onetime.callCount","ranges":[{"startOffset":790,"endOffset":995,"count":0}],"isBlockCoverage":false}]},{"scriptId":"632","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2204,"count":1}],"isBlockCoverage":true},{"functionName":"getErrorPrefix","ranges":[{"startOffset":105,"endOffset":580,"count":0}],"isBlockCoverage":false},{"functionName":"makeError","ranges":[{"startOffset":608,"endOffset":2202,"count":0}],"isBlockCoverage":false}]},{"scriptId":"633","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stdio.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1157,"count":1}],"isBlockCoverage":true},{"functionName":"hasAlias","ranges":[{"startOffset":65,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdio","ranges":[{"startOffset":160,"endOffset":794,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdioNode","ranges":[{"startOffset":879,"endOffset":1155,"count":0}],"isBlockCoverage":false}]},{"scriptId":"634","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/kill.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2983,"count":1}],"isBlockCoverage":true},{"functionName":"spawnedKill","ranges":[{"startOffset":214,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"setKillTimeout","ranges":[{"startOffset":393,"endOffset":844,"count":0}],"isBlockCoverage":false},{"functionName":"shouldForceKill","ranges":[{"startOffset":871,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"isSigterm","ranges":[{"startOffset":1007,"endOffset":1128,"count":0}],"isBlockCoverage":false},{"functionName":"getForceKillAfterTimeout","ranges":[{"startOffset":1164,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"spawnedCancel","ranges":[{"startOffset":1623,"endOffset":1736,"count":0}],"isBlockCoverage":false},{"functionName":"timeoutKill","ranges":[{"startOffset":1759,"endOffset":1888,"count":0}],"isBlockCoverage":false},{"functionName":"setupTimeout","ranges":[{"startOffset":1948,"endOffset":2417,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":2451,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"setExitHandler","ranges":[{"startOffset":2737,"endOffset":2981,"count":0}],"isBlockCoverage":false}]},{"scriptId":"635","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/pipe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1194,"count":1}],"isBlockCoverage":true},{"functionName":"isExecaChildProcess","ranges":[{"startOffset":165,"endOffset":242,"count":0}],"isBlockCoverage":false},{"functionName":"pipeToTarget","ranges":[{"startOffset":266,"endOffset":826,"count":0}],"isBlockCoverage":false},{"functionName":"addPipeMethods","ranges":[{"startOffset":859,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"636","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2958,"count":1}],"isBlockCoverage":true},{"functionName":"validateInputOptions","ranges":[{"startOffset":198,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"getInputSync","ranges":[{"startOffset":347,"endOffset":495,"count":0}],"isBlockCoverage":false},{"functionName":"handleInputSync","ranges":[{"startOffset":576,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getInput","ranges":[{"startOffset":769,"endOffset":921,"count":0}],"isBlockCoverage":false},{"functionName":"handleInput","ranges":[{"startOffset":999,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"makeAllStream","ranges":[{"startOffset":1270,"endOffset":1518,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedData","ranges":[{"startOffset":1632,"endOffset":1940,"count":0}],"isBlockCoverage":false},{"functionName":"getStreamPromise","ranges":[{"startOffset":1968,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedResult","ranges":[{"startOffset":2300,"endOffset":2956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"637","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1109,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":91,"endOffset":105,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":186,"endOffset":281,"count":3}],"isBlockCoverage":true},{"functionName":"mergePromise","ranges":[{"startOffset":376,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedPromise","ranges":[{"startOffset":835,"endOffset":1107,"count":0}],"isBlockCoverage":false}]},{"scriptId":"638","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/command.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3071,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeArgs","ranges":[{"startOffset":108,"endOffset":207,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArg","ranges":[{"startOffset":302,"endOffset":449,"count":0}],"isBlockCoverage":false},{"functionName":"joinCommand","ranges":[{"startOffset":479,"endOffset":530,"count":0}],"isBlockCoverage":false},{"functionName":"getEscapedCommand","ranges":[{"startOffset":566,"endOffset":644,"count":0}],"isBlockCoverage":false},{"functionName":"parseCommand","ranges":[{"startOffset":732,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"parseExpression","ranges":[{"startOffset":1209,"endOffset":1923,"count":0}],"isBlockCoverage":false},{"functionName":"concatTokens","ranges":[{"startOffset":1947,"endOffset":2173,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplate","ranges":[{"startOffset":2198,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplates","ranges":[{"startOffset":2865,"endOffset":3068,"count":0}],"isBlockCoverage":false}]},{"scriptId":"639","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/verbose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"padField","ranges":[{"startOffset":148,"endOffset":204,"count":0}],"isBlockCoverage":false},{"functionName":"getTimestamp","ranges":[{"startOffset":228,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"logCommand","ranges":[{"startOffset":442,"endOffset":573,"count":0}],"isBlockCoverage":false}]},{"scriptId":"640","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":263,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":15,"endOffset":262,"count":0}],"isBlockCoverage":false}]},{"scriptId":"641","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/main.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1214,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalsByName","ranges":[{"startOffset":134,"endOffset":226,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalByName","ranges":[{"startOffset":251,"endOffset":386,"count":69}],"isBlockCoverage":true},{"functionName":"getSignalsByNumber","ranges":[{"startOffset":465,"endOffset":652,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":559,"endOffset":609,"count":65}],"isBlockCoverage":true},{"functionName":"getSignalByNumber","ranges":[{"startOffset":679,"endOffset":939,"count":65},{"startOffset":771,"endOffset":784,"count":3},{"startOffset":784,"endOffset":938,"count":62}],"isBlockCoverage":true},{"functionName":"findSignalByNumber","ranges":[{"startOffset":969,"endOffset":1161,"count":65},{"startOffset":1083,"endOffset":1101,"count":31},{"startOffset":1101,"endOffset":1160,"count":34}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1015,"endOffset":1057,"count":2919}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1123,"endOffset":1157,"count":1881}],"isBlockCoverage":true}]},{"scriptId":"642","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":746,"count":1}],"isBlockCoverage":true},{"functionName":"isStream","ranges":[{"startOffset":7,"endOffset":132,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":141,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":332,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexStream","ranges":[{"startOffset":522,"endOffset":621,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":630,"endOffset":745,"count":0}],"isBlockCoverage":false}]},{"scriptId":"643","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/realtime.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":353,"count":1}],"isBlockCoverage":true},{"functionName":"getRealtimeSignals","ranges":[{"startOffset":33,"endOffset":121,"count":2}],"isBlockCoverage":true},{"functionName":"getRealtimeSignal","ranges":[{"startOffset":148,"endOffset":306,"count":62}],"isBlockCoverage":true}]},{"scriptId":"644","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1}],"isBlockCoverage":true},{"functionName":"getSignals","ranges":[{"startOffset":139,"endOffset":274,"count":2}],"isBlockCoverage":true},{"functionName":"normalizeSignal","ranges":[{"startOffset":305,"endOffset":602,"count":138},{"startOffset":504,"endOffset":519,"count":66},{"startOffset":519,"endOffset":533,"count":72}],"isBlockCoverage":true}]},{"scriptId":"645","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4126,"count":1}],"isBlockCoverage":true}]},{"scriptId":"646","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1}],"isBlockCoverage":true},{"functionName":"spawn","ranges":[{"startOffset":131,"endOffset":589,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":591,"endOffset":1038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"647","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3065,"count":1}],"isBlockCoverage":true},{"functionName":"detectShebang","ranges":[{"startOffset":354,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"parseNonShell","ranges":[{"startOffset":661,"endOffset":2367,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":2369,"endOffset":3039,"count":0}],"isBlockCoverage":false}]},{"scriptId":"648","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/resolveCommand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1557,"count":1}],"isBlockCoverage":true},{"functionName":"resolveCommandAttempt","ranges":[{"startOffset":118,"endOffset":1404,"count":0}],"isBlockCoverage":false},{"functionName":"resolveCommand","ranges":[{"startOffset":1406,"endOffset":1522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"649","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/which/which.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3163,"count":1},{"startOffset":177,"endOffset":182,"count":0}],"isBlockCoverage":true},{"functionName":"getNotFoundError","ranges":[{"startOffset":246,"endOffset":322,"count":0}],"isBlockCoverage":false},{"functionName":"getPathInfo","ranges":[{"startOffset":344,"endOffset":1152,"count":0}],"isBlockCoverage":false},{"functionName":"which","ranges":[{"startOffset":1168,"endOffset":2279,"count":0}],"isBlockCoverage":false},{"functionName":"whichSync","ranges":[{"startOffset":2299,"endOffset":3115,"count":0}],"isBlockCoverage":false}]},{"scriptId":"650","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1},{"startOffset":92,"endOffset":128,"count":0}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":211,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":930,"endOffset":1191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"651","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/mode.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":909,"count":1}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":66,"endOffset":197,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":199,"endOffset":279,"count":0}],"isBlockCoverage":false},{"functionName":"checkStat","ranges":[{"startOffset":281,"endOffset":370,"count":0}],"isBlockCoverage":false},{"functionName":"checkMode","ranges":[{"startOffset":372,"endOffset":908,"count":0}],"isBlockCoverage":false}]},{"scriptId":"652","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":415,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":31,"endOffset":304,"count":0}],"isBlockCoverage":false}]},{"scriptId":"653","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/escape.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"escapeCommand","ranges":[{"startOffset":121,"endOffset":241,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArgument","ranges":[{"startOffset":243,"endOffset":1088,"count":0}],"isBlockCoverage":false}]},{"scriptId":"654","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/readShebang.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":549,"count":1}],"isBlockCoverage":true},{"functionName":"readShebang","ranges":[{"startOffset":93,"endOffset":517,"count":0}],"isBlockCoverage":false}]},{"scriptId":"655","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-command/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":387,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":79,"endOffset":385,"count":0}],"isBlockCoverage":false}]},{"scriptId":"656","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":42,"count":1}],"isBlockCoverage":true}]},{"scriptId":"657","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/enoent.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1480,"count":1}],"isBlockCoverage":true},{"functionName":"notFoundError","ranges":[{"startOffset":60,"endOffset":358,"count":0}],"isBlockCoverage":false},{"functionName":"hookChildProcess","ranges":[{"startOffset":360,"endOffset":1023,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENT","ranges":[{"startOffset":1025,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENTSync","ranges":[{"startOffset":1197,"endOffset":1375,"count":0}],"isBlockCoverage":false}]},{"scriptId":"658","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5708,"count":1},{"startOffset":778,"endOffset":844,"count":0},{"startOffset":1059,"endOffset":1089,"count":0},{"startOffset":1144,"endOffset":1195,"count":0}],"isBlockCoverage":true},{"functionName":"processOk","ranges":[{"startOffset":293,"endOffset":677,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":799,"endOffset":842,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1703,"endOffset":2301,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2318,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2724,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3001,"endOffset":3890,"count":18}],"isBlockCoverage":true},{"functionName":"listener","ranges":[{"startOffset":3042,"endOffset":3886,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.signals","ranges":[{"startOffset":3920,"endOffset":3956,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":3993,"endOffset":4602,"count":0}],"isBlockCoverage":false},{"functionName":"processReallyExit","ranges":[{"startOffset":4712,"endOffset":5108,"count":0}],"isBlockCoverage":false},{"functionName":"processEmit","ranges":[{"startOffset":5171,"endOffset":5705,"count":0}],"isBlockCoverage":false}]},{"scriptId":"659","url":"node:assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31879,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadComparison","ranges":[{"startOffset":2704,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":3469,"endOffset":3517,"count":0}],"isBlockCoverage":false},{"functionName":"innerFail","ranges":[{"startOffset":4071,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":4348,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"findColumn","ranges":[{"startOffset":5445,"endOffset":6385,"count":0}],"isBlockCoverage":false},{"functionName":"getCode","ranges":[{"startOffset":6387,"endOffset":8032,"count":0}],"isBlockCoverage":false},{"functionName":"parseCode","ranges":[{"startOffset":8034,"endOffset":9451,"count":0}],"isBlockCoverage":false},{"functionName":"getErrMessage","ranges":[{"startOffset":9453,"endOffset":12547,"count":0}],"isBlockCoverage":false},{"functionName":"innerOk","ranges":[{"startOffset":12549,"endOffset":13157,"count":1},{"startOffset":12610,"endOffset":13155,"count":0}],"isBlockCoverage":true},{"functionName":"ok","ranges":[{"startOffset":13290,"endOffset":13351,"count":1}],"isBlockCoverage":true},{"functionName":"equal","ranges":[{"startOffset":13610,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"notEqual","ranges":[{"startOffset":14201,"endOffset":14577,"count":0}],"isBlockCoverage":false},{"functionName":"deepEqual","ranges":[{"startOffset":14777,"endOffset":15142,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepEqual","ranges":[{"startOffset":15348,"endOffset":15721,"count":0}],"isBlockCoverage":false},{"functionName":"deepStrictEqual","ranges":[{"startOffset":15964,"endOffset":16353,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepStrictEqual","ranges":[{"startOffset":16602,"endOffset":16999,"count":0}],"isBlockCoverage":false},{"functionName":"strictEqual","ranges":[{"startOffset":17204,"endOffset":17517,"count":0}],"isBlockCoverage":false},{"functionName":"notStrictEqual","ranges":[{"startOffset":17729,"endOffset":18050,"count":0}],"isBlockCoverage":false},{"functionName":"Comparison","ranges":[{"startOffset":18074,"endOffset":18456,"count":0}],"isBlockCoverage":false},{"functionName":"compareExceptionKey","ranges":[{"startOffset":18460,"endOffset":19179,"count":0}],"isBlockCoverage":false},{"functionName":"expectedException","ranges":[{"startOffset":19181,"endOffset":22585,"count":0}],"isBlockCoverage":false},{"functionName":"getActual","ranges":[{"startOffset":22587,"endOffset":22727,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsPromise","ranges":[{"startOffset":22729,"endOffset":23093,"count":0}],"isBlockCoverage":false},{"functionName":"waitForActual","ranges":[{"startOffset":23095,"endOffset":23809,"count":0}],"isBlockCoverage":false},{"functionName":"expectsError","ranges":[{"startOffset":23811,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"hasMatchingError","ranges":[{"startOffset":25430,"endOffset":26048,"count":0}],"isBlockCoverage":false},{"functionName":"expectsNoError","ranges":[{"startOffset":26050,"endOffset":26701,"count":0}],"isBlockCoverage":false},{"functionName":"throws","ranges":[{"startOffset":26859,"endOffset":26953,"count":0}],"isBlockCoverage":false},{"functionName":"rejects","ranges":[{"startOffset":27132,"endOffset":27244,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotThrow","ranges":[{"startOffset":27406,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotReject","ranges":[{"startOffset":27666,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"ifError","ranges":[{"startOffset":27906,"endOffset":29695,"count":0}],"isBlockCoverage":false},{"functionName":"internalMatch","ranges":[{"startOffset":29698,"endOffset":30781,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":30977,"endOffset":31069,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotMatch","ranges":[{"startOffset":31277,"endOffset":31383,"count":0}],"isBlockCoverage":false},{"functionName":"strict","ranges":[{"startOffset":31574,"endOffset":31643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"660","url":"node:internal/assert/assertion_error","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17104,"count":1}],"isBlockCoverage":false},{"functionName":"copyError","ranges":[{"startOffset":1449,"endOffset":1743,"count":0}],"isBlockCoverage":false},{"functionName":"inspectValue","ranges":[{"startOffset":1745,"endOffset":2353,"count":0}],"isBlockCoverage":false},{"functionName":"createErrDiff","ranges":[{"startOffset":2355,"endOffset":11091,"count":0}],"isBlockCoverage":false},{"functionName":"addEllipsis","ranges":[{"startOffset":11093,"endOffset":11396,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":11437,"endOffset":16133,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16137,"endOffset":16212,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16216,"endOffset":17067,"count":0}],"isBlockCoverage":false}]},{"scriptId":"661","url":"node:internal/util/colors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1122,"count":1}],"isBlockCoverage":false},{"functionName":"lazyInternalTTY","ranges":[{"startOffset":32,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"shouldColorize","ranges":[{"startOffset":244,"endOffset":504,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":508,"endOffset":1090,"count":1},{"startOffset":550,"endOffset":1086,"count":0}],"isBlockCoverage":true}]},{"scriptId":"662","url":"node:internal/assert/calltracker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3452,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":462,"endOffset":1495,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1497,"endOffset":3420,"count":0}],"isBlockCoverage":false}]},{"scriptId":"663","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1295,"count":1}],"isBlockCoverage":true}]},{"scriptId":"664","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1489,"count":1}],"isBlockCoverage":true},{"functionName":"MaxBufferError","ranges":[{"startOffset":292,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"getStream","ranges":[{"startOffset":377,"endOffset":1223,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.buffer","ranges":[{"startOffset":1277,"endOffset":1349,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.array","ranges":[{"startOffset":1374,"endOffset":1439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"665","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/buffer-stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":894,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":92,"endOffset":892,"count":0}],"isBlockCoverage":false}]},{"scriptId":"666","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":885,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":76,"endOffset":884,"count":0}],"isBlockCoverage":false}]},{"scriptId":"667","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/unit/utils/formatting-test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":678,"count":1}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":70,"endOffset":151,"count":1},{"startOffset":122,"endOffset":127,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":362,"endOffset":632,"count":1}],"isBlockCoverage":true}]},{"scriptId":"668","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/entrypoints/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":66,"count":1}],"isBlockCoverage":true}]},{"scriptId":"669","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":277,"count":1}],"isBlockCoverage":true}]},{"scriptId":"670","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/guard-environment.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1},{"startOffset":271,"endOffset":602,"count":0}],"isBlockCoverage":true}]},{"scriptId":"671","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/formatting.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":482,"count":1}],"isBlockCoverage":true},{"functionName":"formatBitrate","ranges":[{"startOffset":109,"endOffset":404,"count":3},{"startOffset":180,"endOffset":361,"count":2},{"startOffset":210,"endOffset":355,"count":1},{"startOffset":361,"endOffset":402,"count":1}],"isBlockCoverage":true}]},{"scriptId":"672","url":"node:internal/util/iterable_weak_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1959,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":373,"endOffset":1819,"count":1}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":521,"endOffset":1033,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1037,"endOffset":1093,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":1097,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":1150,"endOffset":1388,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1392,"endOffset":1817,"count":1}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":1484,"endOffset":1736,"count":1},{"startOffset":1567,"endOffset":1735,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1758,"endOffset":1793,"count":0}],"isBlockCoverage":false},{"functionName":"cleanup","ranges":[{"startOffset":1821,"endOffset":1874,"count":0}],"isBlockCoverage":false}]}],"timestamp":85118.395004,"source-map-cache":{"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js":{"lineLengths":[13,7,62,74,65,63,53,60,45,115,43,34,51,41,47,46,41,38,37,55,26,64,27,15,15,25,20,6,17,22,17,6,14,23,19,35,40,9,52,24,28,30,32,11,5,16,36,5,28,40,35,29,23,19,9,28,43,28,9,14,30,9,5,28,31,25,9,32,24,46,51,9,28,62,9,19,5,1,22,1,37,12,26,44,10,16,34,10,18,36,10,6,2,49,14,25,5,14,16,1,41,52,40,25,65,24,29,13,25,31,23,20,26,16,32,43,32,49,45,70,71,69,35,63,46,83,84,82,82,81,27,37,34,68,74,61,17,36,49,34,70,41,68,29,53,40,17,14,9,61,49,5,22,29,40,29,9,28,37,24,9,59,33,22,49,63,68,30,13,10,5,12,27,19,9,28,65,68,68,35,33,49,17,51,23,46,13,25,9,44,47,10,46,49,10,5,14,28,19,9,29,45,53,33,28,75,13,32,17,60,37,13,25,32,11,55,67,33,5,30,29,40,21,9,43,28,65,91,5,31,45,56,46,49,37,13,33,60,33,69,32,23,9,14,55,9,5,1,35,65,25,94,3,67,39,2,68,29,2,61,3,28,3,66,66,45,2,12,3,24,3,68,66,45,2,12,3,27,33],"data":{"version":3,"file":"index.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/index.ts"],"names":[],"mappings":";;;;AAAA,iEAAiE;AACjE,+DAA+D;AAC/D,qDAAqD;AACrD,4DAA4D;AAC5D,6CAAsC;AAC7B,wFADA,oBAAO,OACA;AAQhB,MAAM,SAAS,GAAG,CAAC,OAAY,EAAwB,EAAE,CACvD,CAAC,CAAC,OAAO;IACT,OAAO,OAAO,KAAK,QAAQ;IAC3B,OAAO,OAAO,CAAC,cAAc,KAAK,UAAU;IAC5C,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,UAAU,KAAK,UAAU;IACxC,OAAO,OAAO,CAAC,SAAS,KAAK,UAAU;IACvC,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,GAAG,KAAK,QAAQ;IAC/B,OAAO,OAAO,CAAC,EAAE,KAAK,UAAU,CAAA;AAElC,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;AACtD,MAAM,MAAM,GAAqD,UAAU,CAAA;AAC3E,MAAM,oBAAoB,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;AAwB/D,2BAA2B;AAC3B,MAAM,OAAO;IACX,OAAO,GAAY;QACjB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,KAAK;KACZ,CAAA;IAED,SAAS,GAAc;QACrB,SAAS,EAAE,EAAE;QACb,IAAI,EAAE,EAAE;KACT,CAAA;IAED,KAAK,GAAW,CAAC,CAAA;IACjB,EAAE,GAAW,IAAI,CAAC,MAAM,EAAE,CAAA;IAE1B;QACE,IAAI,MAAM,CAAC,YAAY,CAAC,EAAE;YACxB,OAAO,MAAM,CAAC,YAAY,CAAC,CAAA;SAC5B;QACD,oBAAoB,CAAC,MAAM,EAAE,YAAY,EAAE;YACzC,KAAK,EAAE,IAAI;YACX,QAAQ,EAAE,KAAK;YACf,UAAU,EAAE,KAAK;YACjB,YAAY,EAAE,KAAK;SACpB,CAAC,CAAA;IACJ,CAAC;IAED,EAAE,CAAC,EAAa,EAAE,EAAW;QAC3B,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC7B,CAAC;IAED,cAAc,CAAC,EAAa,EAAE,EAAW;QACvC,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;QAC/B,MAAM,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;QAC1B,qBAAqB;QACrB,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE;YACZ,OAAM;SACP;QACD,oBAAoB;QACpB,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;YAChC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAA;SAChB;aAAM;YACL,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;SAClB;IACH,CAAC;IAED,IAAI,CACF,EAAa,EACb,IAA+B,EAC/B,MAA6B;QAE7B,IAAI,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;YACpB,OAAO,KAAK,CAAA;SACb;QACD,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,IAAI,CAAA;QACvB,IAAI,GAAG,GAAY,KAAK,CAAA;QACxB,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE;YACnC,GAAG,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,IAAI,IAAI,GAAG,CAAA;SACvC;QACD,IAAI,EAAE,KAAK,MAAM,EAAE;YACjB,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,GAAG,CAAA;SAClD;QACD,OAAO,GAAG,CAAA;IACZ,CAAC;CACF;AAED,MAAe,cAAc;CAI5B;AAED,MAAM,cAAc,GAAG,CAA2B,OAAU,EAAE,EAAE;IAC9D,OAAO;QACL,MAAM,CAAC,EAAW,EAAE,IAA+B;YACjD,OAAO,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;QACjC,CAAC;QACD,IAAI;YACF,OAAO,OAAO,CAAC,IAAI,EAAE,CAAA;QACvB,CAAC;QACD,MAAM;YACJ,OAAO,OAAO,CAAC,MAAM,EAAE,CAAA;QACzB,CAAC;KACF,CAAA;AACH,CAAC,CAAA;AAED,MAAM,kBAAmB,SAAQ,cAAc;IAC7C,MAAM;QACJ,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;IACjB,CAAC;IACD,IAAI,KAAI,CAAC;IACT,MAAM,KAAI,CAAC;CACZ;AAED,MAAM,UAAW,SAAQ,cAAc;IACrC,gDAAgD;IAChD,oCAAoC;IACpC,qBAAqB;IACrB,OAAO,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC5D,oBAAoB;IACpB,QAAQ,GAAG,IAAI,OAAO,EAAE,CAAA;IACxB,QAAQ,CAAW;IACnB,oBAAoB,CAAmB;IACvC,0BAA0B,CAAyB;IAEnD,aAAa,GAA2C,EAAE,CAAA;IAC1D,OAAO,GAAY,KAAK,CAAA;IAExB,YAAY,OAAkB;QAC5B,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAA;QACvB,mCAAmC;QACnC,IAAI,CAAC,aAAa,GAAG,EAAE,CAAA;QACvB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,GAAG,EAAE;gBAC7B,sDAAsD;gBACtD,uDAAuD;gBACvD,qDAAqD;gBACrD,mBAAmB;gBACnB,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;gBAC9C,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAA;gBAC7B,mEAAmE;gBACnE,oEAAoE;gBACpE,kEAAkE;gBAClE,kEAAkE;gBAClE,iEAAiE;gBACjE,WAAW;gBACX,qBAAqB;gBACrB,MAAM,CAAC,GAAG,OAET,CAAA;gBACD,IACE,OAAO,CAAC,CAAC,uBAAuB,KAAK,QAAQ;oBAC7C,OAAO,CAAC,CAAC,uBAAuB,CAAC,KAAK,KAAK,QAAQ,EACnD;oBACA,KAAK,IAAI,CAAC,CAAC,uBAAuB,CAAC,KAAK,CAAA;iBACzC;gBACD,oBAAoB;gBACpB,IAAI,SAAS,CAAC,MAAM,KAAK,KAAK,EAAE;oBAC9B,IAAI,CAAC,MAAM,EAAE,CAAA;oBACb,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,CAAA;oBACjD,qBAAqB;oBACrB,MAAM,CAAC,GAAG,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAA;oBAC/C,IAAI,CAAC,GAAG;wBAAE,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;oBACtC,oBAAoB;iBACrB;YACH,CAAC,CAAA;SACF;QAED,IAAI,CAAC,0BAA0B,GAAG,OAAO,CAAC,UAAU,CAAA;QACpD,IAAI,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAA;IAC1C,CAAC;IAED,MAAM,CAAC,EAAW,EAAE,IAA+B;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;SAChB;QACD,oBAAoB;QAEpB,IAAI,IAAI,CAAC,OAAO,KAAK,KAAK,EAAE;YAC1B,IAAI,CAAC,IAAI,EAAE,CAAA;SACZ;QAED,MAAM,EAAE,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAA;QAClD,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;QACxB,OAAO,GAAG,EAAE;YACV,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;YACpC,IACE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC;gBAC5C,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,MAAM,KAAK,CAAC,EACjD;gBACA,IAAI,CAAC,MAAM,EAAE,CAAA;aACd;QACH,CAAC,CAAA;IACH,CAAC;IAED,IAAI;QACF,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;QAEnB,yDAAyD;QACzD,4DAA4D;QAC5D,4DAA4D;QAC5D,2BAA2B;QAC3B,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;QAExB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI;gBACF,MAAM,EAAE,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;gBAClC,IAAI,EAAE;oBAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;aAClC;YAAC,OAAO,CAAC,EAAE,GAAE;SACf;QAED,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,EAAU,EAAE,GAAG,CAAQ,EAAE,EAAE;YAC/C,OAAO,IAAI,CAAC,YAAY,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,CAAA;QACpC,CAAC,CAAA;QACD,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,CAAC,IAAgC,EAAE,EAAE;YAC9D,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAA;QACtC,CAAC,CAAA;IACH,CAAC;IAED,MAAM;QACJ,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACjB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QAEpB,oBAAO,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACpB,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;YACxC,qBAAqB;YACrB,IAAI,CAAC,QAAQ,EAAE;gBACb,MAAM,IAAI,KAAK,CAAC,mCAAmC,GAAG,GAAG,CAAC,CAAA;aAC3D;YACD,oBAAoB;YACpB,IAAI;gBACF,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;gBAC3C,qBAAqB;aACtB;YAAC,OAAO,CAAC,EAAE,GAAE;YACd,oBAAoB;QACtB,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC,oBAAoB,CAAA;QAC9C,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,IAAI,CAAC,0BAA0B,CAAA;QAC1D,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;IAC1B,CAAC;IAED,kBAAkB,CAAC,IAAgC;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,CAAC,CAAA;SACT;QACD,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,IAAI,CAAC,CAAA;QAClC,oBAAoB;QAEpB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;QACxD,OAAO,IAAI,CAAC,0BAA0B,CAAC,IAAI,CACzC,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,QAAQ,CAAC,QAAQ,CACvB,CAAA;IACH,CAAC;IAED,YAAY,CAAC,EAAU,EAAE,GAAG,IAAW;QACrC,MAAM,EAAE,GAAG,IAAI,CAAC,oBAAoB,CAAA;QACpC,IAAI,EAAE,KAAK,MAAM,IAAI,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7C,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE;gBAC/B,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;gBAChC,qBAAqB;aACtB;YACD,qBAAqB;YACrB,MAAM,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;YAC/C,qBAAqB;YACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;YACxD,oBAAoB;YACpB,OAAO,GAAG,CAAA;SACX;aAAM;YACL,OAAO,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;SAC3C;IACH,CAAC;CACF;AAED,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAA;AAClC,iEAAiE;AACjE,yBAAyB;AACZ,KA6BT,cAAc,CAChB,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,kBAAkB,EAAE,CACxE;AA9BC;;;;;;;;GAQG;AACH,cAAM;AAEN;;;;;;GAMG;AACH,YAAI;AAEJ;;;;;;GAMG;AACH,cAAM,aAGP","sourcesContent":["// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nimport { signals } from './signals.js'\nexport { signals }\n\n// just a loosened process type so we can do some evil things\ntype ProcessRE = NodeJS.Process & {\n reallyExit: (code?: number | undefined | null) => any\n emit: (ev: string, ...a: any[]) => any\n}\n\nconst processOk = (process: any): process is ProcessRE =>\n !!process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n\nconst kExitEmitter = Symbol.for('signal-exit emitter')\nconst global: typeof globalThis & { [kExitEmitter]?: Emitter } = globalThis\nconst ObjectDefineProperty = Object.defineProperty.bind(Object)\n\n/**\n * A function that takes an exit code and signal as arguments\n *\n * In the case of signal exits *only*, a return value of true\n * will indicate that the signal is being handled, and we should\n * not synthetically exit with the signal we received. Regardless\n * of the handler return value, the handler is unloaded when an\n * otherwise fatal signal is received, so you get exactly 1 shot\n * at it, unless you add another onExit handler at that point.\n *\n * In the case of numeric code exits, we may already have committed\n * to exiting the process, for example via a fatal exception or\n * unhandled promise rejection, so it is impossible to stop safely.\n */\nexport type Handler = (\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n) => true | void\ntype ExitEvent = 'afterExit' | 'exit'\ntype Emitted = { [k in ExitEvent]: boolean }\ntype Listeners = { [k in ExitEvent]: Handler[] }\n\n// teeny special purpose ee\nclass Emitter {\n emitted: Emitted = {\n afterExit: false,\n exit: false,\n }\n\n listeners: Listeners = {\n afterExit: [],\n exit: [],\n }\n\n count: number = 0\n id: number = Math.random()\n\n constructor() {\n if (global[kExitEmitter]) {\n return global[kExitEmitter]\n }\n ObjectDefineProperty(global, kExitEmitter, {\n value: this,\n writable: false,\n enumerable: false,\n configurable: false,\n })\n }\n\n on(ev: ExitEvent, fn: Handler) {\n this.listeners[ev].push(fn)\n }\n\n removeListener(ev: ExitEvent, fn: Handler) {\n const list = this.listeners[ev]\n const i = list.indexOf(fn)\n /* c8 ignore start */\n if (i === -1) {\n return\n }\n /* c8 ignore stop */\n if (i === 0 && list.length === 1) {\n list.length = 0\n } else {\n list.splice(i, 1)\n }\n }\n\n emit(\n ev: ExitEvent,\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n ): boolean {\n if (this.emitted[ev]) {\n return false\n }\n this.emitted[ev] = true\n let ret: boolean = false\n for (const fn of this.listeners[ev]) {\n ret = fn(code, signal) === true || ret\n }\n if (ev === 'exit') {\n ret = this.emit('afterExit', code, signal) || ret\n }\n return ret\n }\n}\n\nabstract class SignalExitBase {\n abstract onExit(cb: Handler, opts?: { alwaysLast?: boolean }): () => void\n abstract load(): void\n abstract unload(): void\n}\n\nconst signalExitWrap = (handler: T) => {\n return {\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n return handler.onExit(cb, opts)\n },\n load() {\n return handler.load()\n },\n unload() {\n return handler.unload()\n },\n }\n}\n\nclass SignalExitFallback extends SignalExitBase {\n onExit() {\n return () => {}\n }\n load() {}\n unload() {}\n}\n\nclass SignalExit extends SignalExitBase {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n /* c8 ignore start */\n #hupSig = process.platform === 'win32' ? 'SIGINT' : 'SIGHUP'\n /* c8 ignore stop */\n #emitter = new Emitter()\n #process: ProcessRE\n #originalProcessEmit: ProcessRE['emit']\n #originalProcessReallyExit: ProcessRE['reallyExit']\n\n #sigListeners: { [k in NodeJS.Signals]?: () => void } = {}\n #loaded: boolean = false\n\n constructor(process: ProcessRE) {\n super()\n this.#process = process\n // { : , ... }\n this.#sigListeners = {}\n for (const sig of signals) {\n this.#sigListeners[sig] = () => {\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n const listeners = this.#process.listeners(sig)\n let { count } = this.#emitter\n // This is a workaround for the fact that signal-exit v3 and signal\n // exit v4 are not aware of each other, and each will attempt to let\n // the other handle it, so neither of them do. To correct this, we\n // detect if we're the only handler *except* for previous versions\n // of signal-exit, and increment by the count of listeners it has\n // created.\n /* c8 ignore start */\n const p = process as unknown as {\n __signal_exit_emitter__?: { count: number }\n }\n if (\n typeof p.__signal_exit_emitter__ === 'object' &&\n typeof p.__signal_exit_emitter__.count === 'number'\n ) {\n count += p.__signal_exit_emitter__.count\n }\n /* c8 ignore stop */\n if (listeners.length === count) {\n this.unload()\n const ret = this.#emitter.emit('exit', null, sig)\n /* c8 ignore start */\n const s = sig === 'SIGHUP' ? this.#hupSig : sig\n if (!ret) process.kill(process.pid, s)\n /* c8 ignore stop */\n }\n }\n }\n\n this.#originalProcessReallyExit = process.reallyExit\n this.#originalProcessEmit = process.emit\n }\n\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return () => {}\n }\n /* c8 ignore stop */\n\n if (this.#loaded === false) {\n this.load()\n }\n\n const ev = opts?.alwaysLast ? 'afterExit' : 'exit'\n this.#emitter.on(ev, cb)\n return () => {\n this.#emitter.removeListener(ev, cb)\n if (\n this.#emitter.listeners['exit'].length === 0 &&\n this.#emitter.listeners['afterExit'].length === 0\n ) {\n this.unload()\n }\n }\n }\n\n load() {\n if (this.#loaded) {\n return\n }\n this.#loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n this.#emitter.count += 1\n\n for (const sig of signals) {\n try {\n const fn = this.#sigListeners[sig]\n if (fn) this.#process.on(sig, fn)\n } catch (_) {}\n }\n\n this.#process.emit = (ev: string, ...a: any[]) => {\n return this.#processEmit(ev, ...a)\n }\n this.#process.reallyExit = (code?: number | null | undefined) => {\n return this.#processReallyExit(code)\n }\n }\n\n unload() {\n if (!this.#loaded) {\n return\n }\n this.#loaded = false\n\n signals.forEach(sig => {\n const listener = this.#sigListeners[sig]\n /* c8 ignore start */\n if (!listener) {\n throw new Error('Listener not defined for signal: ' + sig)\n }\n /* c8 ignore stop */\n try {\n this.#process.removeListener(sig, listener)\n /* c8 ignore start */\n } catch (_) {}\n /* c8 ignore stop */\n })\n this.#process.emit = this.#originalProcessEmit\n this.#process.reallyExit = this.#originalProcessReallyExit\n this.#emitter.count -= 1\n }\n\n #processReallyExit(code?: number | null | undefined) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return 0\n }\n this.#process.exitCode = code || 0\n /* c8 ignore stop */\n\n this.#emitter.emit('exit', this.#process.exitCode, null)\n return this.#originalProcessReallyExit.call(\n this.#process,\n this.#process.exitCode\n )\n }\n\n #processEmit(ev: string, ...args: any[]): any {\n const og = this.#originalProcessEmit\n if (ev === 'exit' && processOk(this.#process)) {\n if (typeof args[0] === 'number') {\n this.#process.exitCode = args[0]\n /* c8 ignore start */\n }\n /* c8 ignore start */\n const ret = og.call(this.#process, ev, ...args)\n /* c8 ignore start */\n this.#emitter.emit('exit', this.#process.exitCode, null)\n /* c8 ignore stop */\n return ret\n } else {\n return og.call(this.#process, ev, ...args)\n }\n }\n}\n\nconst process = globalThis.process\n// wrap so that we call the method on the actual handler, without\n// exporting it directly.\nexport const {\n /**\n * Called when the process is exiting, whether via signal, explicit\n * exit, or running out of stuff to do.\n *\n * If the global process object is not suitable for instrumentation,\n * then this will be a no-op.\n *\n * Returns a function that may be used to unload signal-exit.\n */\n onExit,\n\n /**\n * Load the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n load,\n\n /**\n * Unload the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n unload,\n} = signalExitWrap(\n processOk(process) ? new SignalExit(process) : new SignalExitFallback()\n)\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js":{"lineLengths":[13,62,25,3,47,2,54,54,53,55,28,2,55,54,52,2,54,49,2,56,52,55,36,2,54,50,54,13,3,21,52,35,133,61,14,16,6,1,35,68,1,35],"data":{"version":3,"file":"signals.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/signals.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACU,QAAA,OAAO,GAAqB,EAAE,CAAA;AAC3C,eAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAA;AAE3C,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CACV,SAAS,EACT,SAAS,EACT,WAAW,EACX,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,EACR,SAAS,EACT,QAAQ;IACR,yDAAyD;IACzD,UAAU;IACV,YAAY;KACb,CAAA;CACF;AAED,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAA;CACxD","sourcesContent":["/**\n * This is not the set of all possible signals.\n *\n * It IS, however, the set of all signals that trigger\n * an exit on either Linux or BSD systems. Linux is a\n * superset of the signal names supported on BSD, and\n * the unknown signals just fail to register, so we can\n * catch that easily enough.\n *\n * Windows signals are a different set, since there are\n * signals that terminate Windows processes, but don't\n * terminate (or don't even exist) on Posix systems.\n *\n * Don't bother with SIGKILL. It's uncatchable, which\n * means that we can't fire any callbacks anyway.\n *\n * If a user does happen to register a handler on a non-\n * fatal signal like SIGWINCH or something, and then\n * exit, it'll end up firing `process.emit('exit')`, so\n * the handler will be fired anyway.\n *\n * SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n * artificially, inherently leave the process in a\n * state from which it is not safe to try and enter JS\n * listeners.\n */\nexport const signals: NodeJS.Signals[] = []\nsignals.push('SIGHUP', 'SIGINT', 'SIGTERM')\n\nif (process.platform !== 'win32') {\n signals.push(\n 'SIGALRM',\n 'SIGABRT',\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n signals.push('SIGIO', 'SIGPOLL', 'SIGPWR', 'SIGSTKFLT')\n}\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/unit/utils/formatting-test.js":{"lineLengths":[13,72,62,2,62,46,62,44,88,90,79,3,43],"data":{"version":3,"file":"formatting-test.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/tests/unit/utils/formatting-test.ts"],"names":[],"mappings":";;;;;AAAA,8CAAsB;AAEtB,8DAA6D;AAE7D,IAAA,aAAI,EAAC,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE;IAC1B,CAAC,CAAC,EAAE,CAAC,IAAA,0BAAa,EAAC,GAAG,CAAC,EAAE,MAAM,EAAE,+BAA+B,CAAC,CAAA;IACjE,CAAC,CAAC,EAAE,CAAC,IAAA,0BAAa,EAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,4BAA4B,CAAC,CAAA;IACnE,CAAC,CAAC,EAAE,CAAC,IAAA,0BAAa,EAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,eAAe,CAAC,CAAA;AAC1D,CAAC,CAAC,CAAA"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/formatting.js":{"lineLengths":[13,62,31,33,38,29,41,33,9,14,32,9,5,10,23,5,1,38,38],"data":{"version":3,"file":"formatting.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/formatting.ts"],"names":[],"mappings":";;;AAAA,SAAgB,aAAa,CAAC,OAAwB;IACpD,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QAC/B,IAAI,OAAO,GAAG,IAAI,EAAE;YAClB,6BAA6B;YAC7B,OAAO,GAAG,OAAO,GAAG,CAAA;SACrB;aAAM;YACL,OAAO,GAAG,OAAO,EAAE,CAAA;SACpB;KACF;SAAM;QACL,OAAO,OAAO,CAAA;KACf;AACH,CAAC;AAXD,sCAWC"},"url":null,"sourceURL":null}}} \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761296-11.json b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761296-11.json new file mode 100644 index 0000000..f6bb1f6 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761296-11.json @@ -0,0 +1 @@ +{"result":[{"scriptId":"78","url":"node:internal/per_context/primordials","functions":[{"functionName":"SafeIterator","ranges":[{"startOffset":9499,"endOffset":9570,"count":142}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":9575,"endOffset":9624,"count":714}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9629,"endOffset":9674,"count":85}],"isBlockCoverage":true},{"functionName":"desc.value","ranges":[{"startOffset":11239,"endOffset":11306,"count":57}],"isBlockCoverage":true},{"functionName":"SafeMap","ranges":[{"startOffset":11964,"endOffset":11992,"count":508}],"isBlockCoverage":false},{"functionName":"SafeWeakMap","ranges":[{"startOffset":12136,"endOffset":12164,"count":10}],"isBlockCoverage":false},{"functionName":"SafeSet","ranges":[{"startOffset":12293,"endOffset":12321,"count":510}],"isBlockCoverage":false},{"functionName":"SafeWeakSet","ranges":[{"startOffset":12465,"endOffset":12493,"count":1}],"isBlockCoverage":true},{"functionName":"SafeFinalizationRegistry","ranges":[{"startOffset":12745,"endOffset":12801,"count":3}],"isBlockCoverage":true},{"functionName":"SafeWeakRef","ranges":[{"startOffset":12954,"endOffset":12992,"count":5}],"isBlockCoverage":true},{"functionName":"SafePromise","ranges":[{"startOffset":13140,"endOffset":13182,"count":348}],"isBlockCoverage":true},{"functionName":"primordials.SafePromisePrototypeFinally","ranges":[{"startOffset":13686,"endOffset":13960,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13831,"endOffset":13955,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13861,"endOffset":13910,"count":58}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnArrayLike","ranges":[{"startOffset":15280,"endOffset":15836,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15315,"endOffset":15835,"count":97},{"startOffset":15485,"endOffset":15504,"count":62},{"startOffset":15577,"endOffset":15831,"count":158},{"startOffset":15615,"endOffset":15638,"count":0},{"startOffset":15831,"endOffset":15834,"count":158}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15706,"endOffset":15815,"count":158},{"startOffset":15788,"endOffset":15807,"count":35}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnVoid","ranges":[{"startOffset":16178,"endOffset":16580,"count":203}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16213,"endOffset":16579,"count":203},{"startOffset":16310,"endOffset":16320,"count":133},{"startOffset":16367,"endOffset":16575,"count":316},{"startOffset":16405,"endOffset":16428,"count":158},{"startOffset":16429,"endOffset":16442,"count":158},{"startOffset":16575,"endOffset":16578,"count":316}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16496,"endOffset":16559,"count":316},{"startOffset":16541,"endOffset":16551,"count":70}],"isBlockCoverage":true}]},{"scriptId":"80","url":"node:internal/per_context/messageport","functions":[{"functionName":"exports.emitMessage","ranges":[{"startOffset":407,"endOffset":993,"count":4},{"startOffset":683,"endOffset":991,"count":0}],"isBlockCoverage":true}]},{"scriptId":"81","url":"node:internal/bootstrap/realm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14749,"count":1}],"isBlockCoverage":false},{"functionName":"binding","ranges":[{"startOffset":4702,"endOffset":5475,"count":0}],"isBlockCoverage":false},{"functionName":"_linkedBinding","ranges":[{"startOffset":5505,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"internalBinding","ranges":[{"startOffset":5955,"endOffset":6217,"count":186},{"startOffset":6057,"endOffset":6197,"count":45}],"isBlockCoverage":true},{"functionName":"getOwn","ranges":[{"startOffset":6377,"endOffset":6531,"count":3307},{"startOffset":6513,"endOffset":6528,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6580,"endOffset":6676,"count":331},{"startOffset":6636,"endOffset":6676,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6803,"endOffset":6870,"count":331},{"startOffset":6854,"endOffset":6870,"count":261}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7100,"endOffset":7136,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7508,"endOffset":7609,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7568,"endOffset":7603,"count":331}],"isBlockCoverage":true},{"functionName":"BuiltinModule","ranges":[{"startOffset":7614,"endOffset":8291,"count":331}],"isBlockCoverage":true},{"functionName":"allowRequireByUsers","ranges":[{"startOffset":8302,"endOffset":8663,"count":0}],"isBlockCoverage":false},{"functionName":"exposeInternals","ranges":[{"startOffset":8813,"endOffset":8964,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":8975,"endOffset":9029,"count":0}],"isBlockCoverage":false},{"functionName":"canBeRequiredByUsers","ranges":[{"startOffset":9040,"endOffset":9115,"count":184}],"isBlockCoverage":true},{"functionName":"canBeRequiredWithoutScheme","ranges":[{"startOffset":9126,"endOffset":9220,"count":1636}],"isBlockCoverage":true},{"functionName":"normalizeRequirableId","ranges":[{"startOffset":9231,"endOffset":9576,"count":1150},{"startOffset":9307,"endOffset":9469,"count":0},{"startOffset":9525,"endOffset":9549,"count":60},{"startOffset":9549,"endOffset":9575,"count":1090}],"isBlockCoverage":true},{"functionName":"isBuiltin","ranges":[{"startOffset":9587,"endOffset":9828,"count":0}],"isBlockCoverage":false},{"functionName":"getCanBeRequiredByUsersWithoutSchemeList","ranges":[{"startOffset":9839,"endOffset":9948,"count":1}],"isBlockCoverage":true},{"functionName":"getSchemeOnlyModuleNames","ranges":[{"startOffset":9959,"endOffset":10034,"count":0}],"isBlockCoverage":false},{"functionName":"compileForPublicLoader","ranges":[{"startOffset":10106,"endOffset":10818,"count":86},{"startOffset":10187,"endOffset":10379,"count":0},{"startOffset":10443,"endOffset":10740,"count":17},{"startOffset":10702,"endOffset":10706,"count":0}],"isBlockCoverage":true},{"functionName":"getESMFacade","ranges":[{"startOffset":10822,"endOffset":11584,"count":100},{"startOffset":10860,"endOffset":10879,"count":83},{"startOffset":10879,"endOffset":11583,"count":17}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11321,"endOffset":11424,"count":17}],"isBlockCoverage":true},{"functionName":"syncExports","ranges":[{"startOffset":11880,"endOffset":12224,"count":103},{"startOffset":11999,"endOffset":12214,"count":3307},{"startOffset":12076,"endOffset":12085,"count":0}],"isBlockCoverage":true},{"functionName":"compileForInternalLoader","ranges":[{"startOffset":12228,"endOffset":13050,"count":2181},{"startOffset":12277,"endOffset":12292,"count":156},{"startOffset":12294,"endOffset":12328,"count":2027},{"startOffset":12328,"endOffset":12467,"count":154},{"startOffset":12467,"endOffset":12502,"count":1},{"startOffset":12503,"endOffset":12519,"count":153},{"startOffset":12775,"endOffset":13049,"count":154}],"isBlockCoverage":true},{"functionName":"requireBuiltin","ranges":[{"startOffset":13245,"endOffset":13610,"count":2100},{"startOffset":13296,"endOffset":13327,"count":5},{"startOffset":13327,"endOffset":13512,"count":2095},{"startOffset":13512,"endOffset":13567,"count":0},{"startOffset":13567,"endOffset":13609,"count":2095}],"isBlockCoverage":true},{"functionName":"requireWithFallbackInDeps","ranges":[{"startOffset":13726,"endOffset":14002,"count":0}],"isBlockCoverage":false},{"functionName":"setupPrepareStackTrace","ranges":[{"startOffset":14004,"endOffset":14600,"count":1}],"isBlockCoverage":true}]},{"scriptId":"82","url":"node:internal/errors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":64999,"count":1}],"isBlockCoverage":false},{"functionName":"prepareStackTrace","ranges":[{"startOffset":2135,"endOffset":3623,"count":0}],"isBlockCoverage":false},{"functionName":"maybeOverridePrepareStackTrace","ranges":[{"startOffset":3665,"endOffset":4372,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4418,"endOffset":4964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5008,"endOffset":5207,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtil","ranges":[{"startOffset":5276,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtilInspect","ranges":[{"startOffset":5409,"endOffset":5537,"count":0}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":5555,"endOffset":5655,"count":0}],"isBlockCoverage":false},{"functionName":"lazyBuffer","ranges":[{"startOffset":5669,"endOffset":5750,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorStackTraceLimitWritable","ranges":[{"startOffset":5752,"endOffset":6259,"count":0}],"isBlockCoverage":false},{"functionName":"inspectWithNoCustomRetry","ranges":[{"startOffset":6261,"endOffset":6507,"count":0}],"isBlockCoverage":false},{"functionName":"SystemError","ranges":[{"startOffset":7009,"endOffset":9985,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":9989,"endOffset":10064,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10068,"endOffset":10258,"count":0}],"isBlockCoverage":false},{"functionName":"makeSystemErrorWithCode","ranges":[{"startOffset":10262,"endOffset":10407,"count":12}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10353,"endOffset":10400,"count":0}],"isBlockCoverage":false},{"functionName":"makeNodeErrorWithCode","ranges":[{"startOffset":10409,"endOffset":11467,"count":267}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10462,"endOffset":11464,"count":0}],"isBlockCoverage":false},{"functionName":"hideStackFrames","ranges":[{"startOffset":11629,"endOffset":11894,"count":49}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":12006,"endOffset":12514,"count":273},{"startOffset":12248,"endOffset":12293,"count":12},{"startOffset":12293,"endOffset":12347,"count":261},{"startOffset":12382,"endOffset":12492,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12409,"endOffset":12486,"count":6}],"isBlockCoverage":true},{"functionName":"getMessage","ranges":[{"startOffset":12516,"endOffset":13389,"count":0}],"isBlockCoverage":false},{"functionName":"lazyUv","ranges":[{"startOffset":13407,"endOffset":13487,"count":0}],"isBlockCoverage":false},{"functionName":"uvErrmapGet","ranges":[{"startOffset":13544,"endOffset":13696,"count":0}],"isBlockCoverage":false},{"functionName":"captureLargerStackTrace","ranges":[{"startOffset":13749,"endOffset":14151,"count":0}],"isBlockCoverage":false},{"functionName":"uvException","ranges":[{"startOffset":14478,"endOffset":15719,"count":0}],"isBlockCoverage":false},{"functionName":"uvExceptionWithHostPort","ranges":[{"startOffset":16082,"endOffset":17071,"count":0}],"isBlockCoverage":false},{"functionName":"errnoException","ranges":[{"startOffset":17291,"endOffset":18155,"count":0}],"isBlockCoverage":false},{"functionName":"exceptionWithHostPort","ranges":[{"startOffset":18559,"endOffset":19847,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20050,"endOffset":21591,"count":0}],"isBlockCoverage":false},{"functionName":"connResetException","ranges":[{"startOffset":21595,"endOffset":21750,"count":0}],"isBlockCoverage":false},{"functionName":"isStackOverflowError","ranges":[{"startOffset":22037,"endOffset":22415,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericalSeparator","ranges":[{"startOffset":22496,"endOffset":22764,"count":0}],"isBlockCoverage":false},{"functionName":"beforeInspector","ranges":[{"startOffset":23043,"endOffset":23434,"count":0}],"isBlockCoverage":false},{"functionName":"afterInspector","ranges":[{"startOffset":23438,"endOffset":24721,"count":0}],"isBlockCoverage":false},{"functionName":"setArrowMessage","ranges":[{"startOffset":24876,"endOffset":24975,"count":0}],"isBlockCoverage":false},{"functionName":"hideInternalStackFrames","ranges":[{"startOffset":25030,"endOffset":25508,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":25741,"endOffset":26050,"count":0}],"isBlockCoverage":false},{"functionName":"genericNodeError","ranges":[{"startOffset":26305,"endOffset":26497,"count":0}],"isBlockCoverage":false},{"functionName":"determineSpecificType","ranges":[{"startOffset":26618,"endOffset":27237,"count":0}],"isBlockCoverage":false},{"functionName":"formatList","ranges":[{"startOffset":27559,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29857,"endOffset":30021,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33056,"endOffset":33171,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33460,"endOffset":33554,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":36457,"endOffset":36685,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38465,"endOffset":38683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41350,"endOffset":41650,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41692,"endOffset":41836,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41879,"endOffset":44000,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44041,"endOffset":44389,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44697,"endOffset":44860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45517,"endOffset":45696,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45744,"endOffset":45879,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45925,"endOffset":46073,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":46117,"endOffset":46891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47179,"endOffset":47366,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47419,"endOffset":47598,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47642,"endOffset":47819,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48276,"endOffset":48492,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48536,"endOffset":48824,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":49387,"endOffset":49860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":50646,"endOffset":51087,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":51181,"endOffset":51400,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":52546,"endOffset":53244,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53295,"endOffset":53487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53536,"endOffset":53852,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54094,"endOffset":54393,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54577,"endOffset":56023,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":56475,"endOffset":56757,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58280,"endOffset":58354,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58390,"endOffset":58713,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58759,"endOffset":58833,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58865,"endOffset":59269,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59321,"endOffset":59499,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59770,"endOffset":59939,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61637,"endOffset":61768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62015,"endOffset":62172,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62362,"endOffset":62564,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62610,"endOffset":62933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63572,"endOffset":63640,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64043,"endOffset":64156,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64350,"endOffset":64737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"83","url":"node:internal/bootstrap/node","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13817,"count":1}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3830,"endOffset":3880,"count":10}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3886,"endOffset":3944,"count":3},{"startOffset":3930,"endOffset":3933,"count":1},{"startOffset":3934,"endOffset":3937,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4086,"endOffset":4122,"count":8}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":4128,"endOffset":4547,"count":2},{"startOffset":4187,"endOffset":4469,"count":1},{"startOffset":4252,"endOffset":4266,"count":0},{"startOffset":4267,"endOffset":4315,"count":0},{"startOffset":4317,"endOffset":4352,"count":0},{"startOffset":4469,"endOffset":4518,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4769,"endOffset":5033,"count":409}],"isBlockCoverage":true},{"functionName":"process.openStdin","ranges":[{"startOffset":6409,"endOffset":6479,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7965,"endOffset":8127,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8229,"endOffset":8425,"count":1}],"isBlockCoverage":true},{"functionName":"get cached_builtins","ranges":[{"startOffset":9173,"endOffset":9240,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11734,"endOffset":11784,"count":6}],"isBlockCoverage":true},{"functionName":"setupProcessObject","ranges":[{"startOffset":12107,"endOffset":12912,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":12772,"endOffset":12808,"count":87}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":12814,"endOffset":12856,"count":0}],"isBlockCoverage":false},{"functionName":"setupGlobalProxy","ranges":[{"startOffset":12914,"endOffset":13151,"count":1}],"isBlockCoverage":true},{"functionName":"setupBuffer","ranges":[{"startOffset":13153,"endOffset":13816,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13678,"endOffset":13713,"count":3}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":13719,"endOffset":13760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"84","url":"node:internal/timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":19560,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4385,"endOffset":4410,"count":1}],"isBlockCoverage":true},{"functionName":"initAsyncResource","ranges":[{"startOffset":5548,"endOffset":5826,"count":2},{"startOffset":5774,"endOffset":5824,"count":0}],"isBlockCoverage":true},{"functionName":"Timeout","ranges":[{"startOffset":5932,"endOffset":6978,"count":1},{"startOffset":6080,"endOffset":6432,"count":0},{"startOffset":6789,"endOffset":6796,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7059,"endOffset":7255,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":7259,"endOffset":7368,"count":2},{"startOffset":7299,"endOffset":7312,"count":0}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":7372,"endOffset":7511,"count":3}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":7515,"endOffset":7652,"count":2}],"isBlockCoverage":true},{"functionName":"hasRef","ranges":[{"startOffset":7656,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"TimersList","ranges":[{"startOffset":7720,"endOffset":8026,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8107,"endOffset":8303,"count":0}],"isBlockCoverage":false},{"functionName":"ImmediateList","ranges":[{"startOffset":8386,"endOffset":8449,"count":2}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":8601,"endOffset":8782,"count":1},{"startOffset":8644,"endOffset":8719,"count":0}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":8932,"endOffset":9293,"count":0}],"isBlockCoverage":false},{"functionName":"incRefCount","ranges":[{"startOffset":9403,"endOffset":9569,"count":3}],"isBlockCoverage":true},{"functionName":"decRefCount","ranges":[{"startOffset":9571,"endOffset":9738,"count":3}],"isBlockCoverage":true},{"functionName":"active","ranges":[{"startOffset":9821,"endOffset":9875,"count":0}],"isBlockCoverage":false},{"functionName":"unrefActive","ranges":[{"startOffset":10022,"endOffset":10082,"count":2}],"isBlockCoverage":true},{"functionName":"insertGuarded","ranges":[{"startOffset":10303,"endOffset":10819,"count":2},{"startOffset":10427,"endOffset":10434,"count":0},{"startOffset":10551,"endOffset":10625,"count":0},{"startOffset":10646,"endOffset":10687,"count":0},{"startOffset":10722,"endOffset":10793,"count":0}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":10887,"endOffset":11626,"count":3},{"startOffset":11218,"endOffset":11599,"count":1}],"isBlockCoverage":true},{"functionName":"setUnrefTimeout","ranges":[{"startOffset":11628,"endOffset":11886,"count":0}],"isBlockCoverage":false},{"functionName":"getTimerDuration","ranges":[{"startOffset":11953,"endOffset":12481,"count":0}],"isBlockCoverage":false},{"functionName":"compareTimersLists","ranges":[{"startOffset":12483,"endOffset":12688,"count":0}],"isBlockCoverage":false},{"functionName":"setPosition","ranges":[{"startOffset":12690,"endOffset":12761,"count":1}],"isBlockCoverage":true},{"functionName":"getTimerCallbacks","ranges":[{"startOffset":12763,"endOffset":18141,"count":1}],"isBlockCoverage":true},{"functionName":"processImmediate","ranges":[{"startOffset":13075,"endOffset":15008,"count":1},{"startOffset":13154,"endOffset":13178,"count":0},{"startOffset":13615,"endOffset":13630,"count":0},{"startOffset":13947,"endOffset":14043,"count":0},{"startOffset":14605,"endOffset":14661,"count":0},{"startOffset":14763,"endOffset":14784,"count":0},{"startOffset":14935,"endOffset":14964,"count":0}],"isBlockCoverage":true},{"functionName":"processTimers","ranges":[{"startOffset":15013,"endOffset":15503,"count":0}],"isBlockCoverage":false},{"functionName":"listOnTimeout","ranges":[{"startOffset":15507,"endOffset":18081,"count":0}],"isBlockCoverage":false},{"functionName":"Immediate","ranges":[{"startOffset":18163,"endOffset":18485,"count":1}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":18489,"endOffset":18755,"count":1}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":18759,"endOffset":19027,"count":0}],"isBlockCoverage":false},{"functionName":"hasRef","ranges":[{"startOffset":19031,"endOffset":19072,"count":0}],"isBlockCoverage":false}]},{"scriptId":"85","url":"node:internal/async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20082,"count":1}],"isBlockCoverage":false},{"functionName":"useDomainTrampoline","ranges":[{"startOffset":5108,"endOffset":5162,"count":0}],"isBlockCoverage":false},{"functionName":"callbackTrampoline","ranges":[{"startOffset":5164,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"executionAsyncResource","ranges":[{"startOffset":5745,"endOffset":6243,"count":0}],"isBlockCoverage":false},{"functionName":"inspectExceptionValue","ranges":[{"startOffset":6245,"endOffset":6372,"count":0}],"isBlockCoverage":false},{"functionName":"fatalError","ranges":[{"startOffset":6433,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"lookupPublicResource","ranges":[{"startOffset":6837,"endOffset":7186,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitNative","ranges":[{"startOffset":7377,"endOffset":8510,"count":0}],"isBlockCoverage":false},{"functionName":"emitHook","ranges":[{"startOffset":8611,"endOffset":9600,"count":0}],"isBlockCoverage":false},{"functionName":"emitHookFactory","ranges":[{"startOffset":9602,"endOffset":9866,"count":4}],"isBlockCoverage":true},{"functionName":"getHookArrays","ranges":[{"startOffset":9895,"endOffset":10385,"count":0}],"isBlockCoverage":false},{"functionName":"storeActiveHooks","ranges":[{"startOffset":10388,"endOffset":10688,"count":0}],"isBlockCoverage":false},{"functionName":"copyHooks","ranges":[{"startOffset":10690,"endOffset":10955,"count":0}],"isBlockCoverage":false},{"functionName":"restoreActiveHooks","ranges":[{"startOffset":11070,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"trackPromise","ranges":[{"startOffset":11277,"endOffset":11707,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHook","ranges":[{"startOffset":11709,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHookWithDestroyTracking","ranges":[{"startOffset":11955,"endOffset":12091,"count":0}],"isBlockCoverage":false},{"functionName":"destroyTracking","ranges":[{"startOffset":12093,"endOffset":12256,"count":0}],"isBlockCoverage":false},{"functionName":"promiseBeforeHook","ranges":[{"startOffset":12258,"endOffset":12469,"count":0}],"isBlockCoverage":false},{"functionName":"promiseAfterHook","ranges":[{"startOffset":12471,"endOffset":13038,"count":0}],"isBlockCoverage":false},{"functionName":"promiseResolveHook","ranges":[{"startOffset":13040,"endOffset":13186,"count":0}],"isBlockCoverage":false},{"functionName":"enableHooks","ranges":[{"startOffset":13217,"endOffset":13323,"count":0}],"isBlockCoverage":false},{"functionName":"updatePromiseHookMode","ranges":[{"startOffset":13346,"endOffset":13925,"count":0}],"isBlockCoverage":false},{"functionName":"disableHooks","ranges":[{"startOffset":13927,"endOffset":14230,"count":0}],"isBlockCoverage":false},{"functionName":"disablePromiseHookIfNecessary","ranges":[{"startOffset":14232,"endOffset":14348,"count":0}],"isBlockCoverage":false},{"functionName":"newAsyncId","ranges":[{"startOffset":14549,"endOffset":14619,"count":5}],"isBlockCoverage":true},{"functionName":"getOrSetAsyncId","ranges":[{"startOffset":14621,"endOffset":14811,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultTriggerAsyncId","ranges":[{"startOffset":14994,"endOffset":15284,"count":5},{"startOffset":15250,"endOffset":15283,"count":0}],"isBlockCoverage":true},{"functionName":"clearDefaultTriggerAsyncId","ranges":[{"startOffset":15287,"endOffset":15376,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTriggerAsyncIdScope","ranges":[{"startOffset":15601,"endOffset":16094,"count":0}],"isBlockCoverage":false},{"functionName":"hasHooks","ranges":[{"startOffset":16096,"endOffset":16159,"count":21}],"isBlockCoverage":true},{"functionName":"enabledHooksExist","ranges":[{"startOffset":16161,"endOffset":16220,"count":4}],"isBlockCoverage":true},{"functionName":"initHooksExist","ranges":[{"startOffset":16222,"endOffset":16277,"count":5}],"isBlockCoverage":true},{"functionName":"afterHooksExist","ranges":[{"startOffset":16279,"endOffset":16336,"count":0}],"isBlockCoverage":false},{"functionName":"destroyHooksExist","ranges":[{"startOffset":16338,"endOffset":16399,"count":4}],"isBlockCoverage":true},{"functionName":"promiseResolveHooksExist","ranges":[{"startOffset":16401,"endOffset":16476,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitScript","ranges":[{"startOffset":16479,"endOffset":16887,"count":0}],"isBlockCoverage":false},{"functionName":"emitBeforeScript","ranges":[{"startOffset":16890,"endOffset":17066,"count":4},{"startOffset":17038,"endOffset":17064,"count":0}],"isBlockCoverage":true},{"functionName":"emitAfterScript","ranges":[{"startOffset":17069,"endOffset":17189,"count":4},{"startOffset":17133,"endOffset":17158,"count":0}],"isBlockCoverage":true},{"functionName":"emitDestroyScript","ranges":[{"startOffset":17192,"endOffset":17402,"count":0}],"isBlockCoverage":false},{"functionName":"hasAsyncIdStack","ranges":[{"startOffset":17405,"endOffset":17468,"count":0}],"isBlockCoverage":false},{"functionName":"pushAsyncContext","ranges":[{"startOffset":17534,"endOffset":18104,"count":4},{"startOffset":17754,"endOffset":17804,"count":0}],"isBlockCoverage":true},{"functionName":"popAsyncContext","ranges":[{"startOffset":18169,"endOffset":18780,"count":4},{"startOffset":18285,"endOffset":18298,"count":0},{"startOffset":18377,"endOffset":18483,"count":0}],"isBlockCoverage":true},{"functionName":"executionAsyncId","ranges":[{"startOffset":18783,"endOffset":18859,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":18861,"endOffset":18933,"count":0}],"isBlockCoverage":false}]},{"scriptId":"86","url":"node:internal/validators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15153,"count":1}],"isBlockCoverage":false},{"functionName":"isInt32","ranges":[{"startOffset":835,"endOffset":894,"count":381}],"isBlockCoverage":true},{"functionName":"isUint32","ranges":[{"startOffset":946,"endOffset":1008,"count":0}],"isBlockCoverage":false},{"functionName":"parseFileMode","ranges":[{"startOffset":1629,"endOffset":1940,"count":60},{"startOffset":1722,"endOffset":1890,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2186,"endOffset":2567,"count":3},{"startOffset":2306,"endOffset":2360,"count":0},{"startOffset":2400,"endOffset":2454,"count":0},{"startOffset":2497,"endOffset":2563,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2811,"endOffset":3274,"count":2},{"startOffset":2983,"endOffset":3051,"count":0},{"startOffset":3085,"endOffset":3153,"count":0},{"startOffset":3190,"endOffset":3270,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3512,"endOffset":3944,"count":802},{"startOffset":3582,"endOffset":3646,"count":0},{"startOffset":3678,"endOffset":3742,"count":0},{"startOffset":3766,"endOffset":3769,"count":0},{"startOffset":3866,"endOffset":3942,"count":0}],"isBlockCoverage":true},{"functionName":"validateString","ranges":[{"startOffset":4097,"endOffset":4229,"count":12635},{"startOffset":4173,"endOffset":4227,"count":0}],"isBlockCoverage":true},{"functionName":"validateNumber","ranges":[{"startOffset":4430,"endOffset":4898,"count":62},{"startOffset":4528,"endOffset":4582,"count":0},{"startOffset":4603,"endOffset":4617,"count":61},{"startOffset":4635,"endOffset":4649,"count":60},{"startOffset":4674,"endOffset":4688,"count":1},{"startOffset":4690,"endOffset":4711,"count":61},{"startOffset":4714,"endOffset":4896,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5084,"endOffset":5417,"count":0}],"isBlockCoverage":false},{"functionName":"validateBoolean","ranges":[{"startOffset":5573,"endOffset":5708,"count":372},{"startOffset":5651,"endOffset":5706,"count":0}],"isBlockCoverage":true},{"functionName":"getOwnPropertyValueOrDefault","ranges":[{"startOffset":5820,"endOffset":6001,"count":48},{"startOffset":5961,"endOffset":5979,"count":13},{"startOffset":5980,"endOffset":5998,"count":35}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6266,"endOffset":6821,"count":16},{"startOffset":6571,"endOffset":6588,"count":13},{"startOffset":6614,"endOffset":6636,"count":0},{"startOffset":6676,"endOffset":6746,"count":0},{"startOffset":6749,"endOffset":6817,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7376,"endOffset":7556,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7775,"endOffset":8053,"count":742},{"startOffset":7837,"endOffset":7900,"count":0},{"startOffset":7933,"endOffset":8051,"count":0}],"isBlockCoverage":true},{"functionName":"validateStringArray","ranges":[{"startOffset":8218,"endOffset":8387,"count":371},{"startOffset":8333,"endOffset":8385,"count":1855}],"isBlockCoverage":true},{"functionName":"validateBooleanArray","ranges":[{"startOffset":8553,"endOffset":8724,"count":0}],"isBlockCoverage":false},{"functionName":"validateAbortSignalArray","ranges":[{"startOffset":8902,"endOffset":9251,"count":0}],"isBlockCoverage":false},{"functionName":"validateSignalName","ranges":[{"startOffset":9363,"endOffset":9736,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9948,"endOffset":10178,"count":1},{"startOffset":10013,"endOffset":10176,"count":0}],"isBlockCoverage":true},{"functionName":"validateEncoding","ranges":[{"startOffset":10242,"endOffset":10576,"count":0}],"isBlockCoverage":false},{"functionName":"validatePort","ranges":[{"startOffset":10838,"endOffset":11217,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11385,"endOffset":11602,"count":13},{"startOffset":11432,"endOffset":11528,"count":0},{"startOffset":11530,"endOffset":11600,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11802,"endOffset":11918,"count":395},{"startOffset":11860,"endOffset":11916,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12133,"endOffset":12275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12479,"endOffset":12588,"count":0}],"isBlockCoverage":false},{"functionName":"validateUnion","ranges":[{"startOffset":12681,"endOffset":12868,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderFormat","ranges":[{"startOffset":13296,"endOffset":13602,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13650,"endOffset":13860,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderValue","ranges":[{"startOffset":13914,"endOffset":14597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"87","url":"node:internal/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":24956,"count":1}],"isBlockCoverage":false},{"functionName":"toUSVString","ranges":[{"startOffset":1790,"endOffset":2102,"count":107},{"startOffset":2059,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUv","ranges":[{"startOffset":2120,"endOffset":2200,"count":0}],"isBlockCoverage":false},{"functionName":"removeColors","ranges":[{"startOffset":2202,"endOffset":2287,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":2289,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"getDeprecationWarningEmitter","ranges":[{"startOffset":2696,"endOffset":3345,"count":30}],"isBlockCoverage":true},{"functionName":"shouldEmitWarning","ranges":[{"startOffset":2795,"endOffset":2805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2842,"endOffset":3342,"count":0}],"isBlockCoverage":false},{"functionName":"isPendingDeprecation","ranges":[{"startOffset":3347,"endOffset":3475,"count":0}],"isBlockCoverage":false},{"functionName":"pendingDeprecate","ranges":[{"startOffset":3642,"endOffset":3939,"count":3}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":3811,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"deprecate","ranges":[{"startOffset":4094,"endOffset":5092,"count":27},{"startOffset":4181,"endOffset":4201,"count":0},{"startOffset":4290,"endOffset":4344,"count":1},{"startOffset":4376,"endOffset":4405,"count":26},{"startOffset":4846,"endOffset":5068,"count":26}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":4518,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"decorateErrorStack","ranges":[{"startOffset":5094,"endOffset":5360,"count":0}],"isBlockCoverage":false},{"functionName":"assertCrypto","ranges":[{"startOffset":5362,"endOffset":5436,"count":1},{"startOffset":5408,"endOffset":5434,"count":0}],"isBlockCoverage":true},{"functionName":"normalizeEncoding","ranges":[{"startOffset":5615,"endOffset":5746,"count":379},{"startOffset":5685,"endOffset":5703,"count":0},{"startOffset":5719,"endOffset":5745,"count":0}],"isBlockCoverage":true},{"functionName":"slowCases","ranges":[{"startOffset":5748,"endOffset":7499,"count":0}],"isBlockCoverage":false},{"functionName":"emitExperimentalWarning","ranges":[{"startOffset":7501,"endOffset":7767,"count":0}],"isBlockCoverage":false},{"functionName":"filterDuplicateStrings","ranges":[{"startOffset":7769,"endOffset":8108,"count":0}],"isBlockCoverage":false},{"functionName":"cachedResult","ranges":[{"startOffset":8110,"endOffset":8266,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8161,"endOffset":8263,"count":0}],"isBlockCoverage":false},{"functionName":"createClassWrapper","ranges":[{"startOffset":8531,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"getSignalsToNamesMapping","ranges":[{"startOffset":8960,"endOffset":9239,"count":0}],"isBlockCoverage":false},{"functionName":"convertToValidSignal","ranges":[{"startOffset":9241,"endOffset":9562,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorOf","ranges":[{"startOffset":9564,"endOffset":9910,"count":0}],"isBlockCoverage":false},{"functionName":"getCWDURL","ranges":[{"startOffset":10233,"endOffset":10743,"count":1},{"startOffset":10561,"endOffset":10610,"count":0}],"isBlockCoverage":true},{"functionName":"getSystemErrorName","ranges":[{"startOffset":10745,"endOffset":10874,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorMap","ranges":[{"startOffset":10876,"endOffset":10941,"count":0}],"isBlockCoverage":false},{"functionName":"promisify","ranges":[{"startOffset":11109,"endOffset":12970,"count":6},{"startOffset":11229,"endOffset":11285,"count":1},{"startOffset":11372,"endOffset":11649,"count":1},{"startOffset":11649,"endOffset":12756,"count":5},{"startOffset":12756,"endOffset":12918,"count":14},{"startOffset":12918,"endOffset":12969,"count":5}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":11849,"endOffset":12368,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13065,"endOffset":13387,"count":0}],"isBlockCoverage":false},{"functionName":"spliceOne","ranges":[{"startOffset":13528,"endOffset":13655,"count":0}],"isBlockCoverage":false},{"functionName":"isInsideNodeModules","ranges":[{"startOffset":13737,"endOffset":14975,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":14977,"endOffset":15150,"count":0}],"isBlockCoverage":false},{"functionName":"sleep","ranges":[{"startOffset":15173,"endOffset":15388,"count":0}],"isBlockCoverage":false},{"functionName":"createDeferredPromise","ranges":[{"startOffset":15390,"endOffset":15584,"count":0}],"isBlockCoverage":false},{"functionName":"defineOperation","ranges":[{"startOffset":15644,"endOffset":15845,"count":8}],"isBlockCoverage":true},{"functionName":"exposeInterface","ranges":[{"startOffset":15897,"endOffset":16117,"count":5}],"isBlockCoverage":true},{"functionName":"exposeNamespace","ranges":[{"startOffset":16169,"endOffset":16389,"count":1}],"isBlockCoverage":true},{"functionName":"exposeGetterAndSetter","ranges":[{"startOffset":16391,"endOffset":16614,"count":1}],"isBlockCoverage":true},{"functionName":"defineLazyProperties","ranges":[{"startOffset":16616,"endOffset":17549,"count":22},{"startOffset":16779,"endOffset":17548,"count":51}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":16835,"endOffset":16978,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17081,"endOffset":17277,"count":12}],"isBlockCoverage":true},{"functionName":"defineReplaceableLazyAttribute","ranges":[{"startOffset":17551,"endOffset":18451,"count":2},{"startOffset":18419,"endOffset":18424,"count":1},{"startOffset":18425,"endOffset":18436,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17763,"endOffset":17999,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":18104,"endOffset":18175,"count":0}],"isBlockCoverage":false},{"functionName":"exposeLazyInterfaces","ranges":[{"startOffset":18453,"endOffset":18553,"count":14}],"isBlockCoverage":true},{"functionName":"lazyDOMExceptionClass","ranges":[{"startOffset":18604,"endOffset":18700,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18744,"endOffset":18872,"count":0}],"isBlockCoverage":false},{"functionName":"filterOwnProperties","ranges":[{"startOffset":19057,"endOffset":19329,"count":0}],"isBlockCoverage":false},{"functionName":"setOwnProperty","ranges":[{"startOffset":19497,"endOffset":19687,"count":756}],"isBlockCoverage":true},{"functionName":"getInternalGlobal","ranges":[{"startOffset":19709,"endOffset":19984,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeExec","ranges":[{"startOffset":19986,"endOffset":20199,"count":0}],"isBlockCoverage":false},{"functionName":"getCrossRelmRegex","ranges":[{"startOffset":20245,"endOffset":21036,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolReplace","ranges":[{"startOffset":21038,"endOffset":21192,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolSplit","ranges":[{"startOffset":21194,"endOffset":21344,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayBufferDetached","ranges":[{"startOffset":21347,"endOffset":21507,"count":0}],"isBlockCoverage":false},{"functionName":"getLazy","ranges":[{"startOffset":21708,"endOffset":21920,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21789,"endOffset":21917,"count":2331},{"startOffset":21833,"endOffset":21895,"count":4}],"isBlockCoverage":true},{"functionName":"setupCoverageHooks","ranges":[{"startOffset":22045,"endOffset":22722,"count":1},{"startOffset":22515,"endOffset":22692,"count":0}],"isBlockCoverage":true},{"functionName":"guessHandleType","ranges":[{"startOffset":22795,"endOffset":22892,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22894,"endOffset":23438,"count":5}],"isBlockCoverage":false},{"functionName":"WeakReference","ranges":[{"startOffset":22969,"endOffset":23036,"count":5}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":23040,"endOffset":23258,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":23262,"endOffset":23390,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23394,"endOffset":23436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"88","url":"node:internal/options","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1922,"count":1}],"isBlockCoverage":false},{"functionName":"getCLIOptionsFromBinding","ranges":[{"startOffset":464,"endOffset":598,"count":874},{"startOffset":521,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"getAliasesFromBinding","ranges":[{"startOffset":600,"endOffset":731,"count":1}],"isBlockCoverage":true},{"functionName":"getEmbedderOptions","ranges":[{"startOffset":733,"endOffset":877,"count":4},{"startOffset":789,"endOffset":849,"count":1}],"isBlockCoverage":true},{"functionName":"refreshOptions","ranges":[{"startOffset":879,"endOffset":960,"count":1}],"isBlockCoverage":true},{"functionName":"getOptionValue","ranges":[{"startOffset":962,"endOffset":1228,"count":873},{"startOffset":1084,"endOffset":1185,"count":8},{"startOffset":1185,"endOffset":1225,"count":865}],"isBlockCoverage":true},{"functionName":"getAllowUnauthorized","ranges":[{"startOffset":1230,"endOffset":1695,"count":0}],"isBlockCoverage":false},{"functionName":"get options","ranges":[{"startOffset":1718,"endOffset":1776,"count":1}],"isBlockCoverage":true},{"functionName":"get aliases","ranges":[{"startOffset":1780,"endOffset":1835,"count":1}],"isBlockCoverage":true}]},{"scriptId":"89","url":"node:internal/util/types","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2469,"count":1}],"isBlockCoverage":false},{"functionName":"isTypedArray","ranges":[{"startOffset":131,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"isUint8Array","ranges":[{"startOffset":236,"endOffset":342,"count":992}],"isBlockCoverage":true},{"functionName":"isUint8ClampedArray","ranges":[{"startOffset":344,"endOffset":464,"count":0}],"isBlockCoverage":false},{"functionName":"isUint16Array","ranges":[{"startOffset":466,"endOffset":574,"count":0}],"isBlockCoverage":false},{"functionName":"isUint32Array","ranges":[{"startOffset":576,"endOffset":684,"count":0}],"isBlockCoverage":false},{"functionName":"isInt8Array","ranges":[{"startOffset":686,"endOffset":790,"count":0}],"isBlockCoverage":false},{"functionName":"isInt16Array","ranges":[{"startOffset":792,"endOffset":898,"count":0}],"isBlockCoverage":false},{"functionName":"isInt32Array","ranges":[{"startOffset":900,"endOffset":1006,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat32Array","ranges":[{"startOffset":1008,"endOffset":1118,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat64Array","ranges":[{"startOffset":1120,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"isBigInt64Array","ranges":[{"startOffset":1232,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"isBigUint64Array","ranges":[{"startOffset":1346,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":1932,"endOffset":2147,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":2243,"endOffset":2458,"count":0}],"isBlockCoverage":false}]},{"scriptId":"90","url":"node:internal/linkedlist","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1128,"count":1}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":15,"endOffset":103,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":133,"endOffset":225,"count":0}],"isBlockCoverage":false},{"functionName":"remove","ranges":[{"startOffset":260,"endOffset":487,"count":3}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":543,"endOffset":995,"count":3},{"startOffset":594,"endOffset":611,"count":0}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":997,"endOffset":1057,"count":0}],"isBlockCoverage":false}]},{"scriptId":"91","url":"node:internal/priority_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2573,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":395,"endOffset":2571,"count":1}],"isBlockCoverage":false},{"functionName":"#compare","ranges":[{"startOffset":430,"endOffset":445,"count":0}],"isBlockCoverage":false},{"functionName":"PriorityQueue","ranges":[{"startOffset":504,"endOffset":688,"count":1}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":692,"endOffset":875,"count":1},{"startOffset":826,"endOffset":843,"count":0}],"isBlockCoverage":true},{"functionName":"peek","ranges":[{"startOffset":879,"endOffset":917,"count":0}],"isBlockCoverage":false},{"functionName":"percolateDown","ranges":[{"startOffset":921,"endOffset":1585,"count":0}],"isBlockCoverage":false},{"functionName":"percolateUp","ranges":[{"startOffset":1589,"endOffset":2077,"count":1},{"startOffset":1764,"endOffset":1986,"count":0}],"isBlockCoverage":true},{"functionName":"removeAt","ranges":[{"startOffset":2081,"endOffset":2411,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":2415,"endOffset":2569,"count":0}],"isBlockCoverage":false}]},{"scriptId":"92","url":"node:internal/util/inspect","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":81525,"count":1}],"isBlockCoverage":false},{"functionName":"pathToFileUrlHref","ranges":[{"startOffset":3211,"endOffset":3345,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3454,"endOffset":3515,"count":62}],"isBlockCoverage":true},{"functionName":"isUndetectableObject","ranges":[{"startOffset":3611,"endOffset":3661,"count":0}],"isBlockCoverage":false},{"functionName":"getUserOptions","ranges":[{"startOffset":7144,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":8980,"endOffset":11006,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11117,"endOffset":11162,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":11166,"endOffset":11281,"count":0}],"isBlockCoverage":false},{"functionName":"defineColorAlias","ranges":[{"startOffset":13005,"endOffset":13269,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13121,"endOffset":13161,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":13167,"endOffset":13213,"count":0}],"isBlockCoverage":false},{"functionName":"addQuotes","ranges":[{"startOffset":14281,"endOffset":14439,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":14441,"endOffset":14616,"count":0}],"isBlockCoverage":false},{"functionName":"strEscape","ranges":[{"startOffset":14728,"endOffset":16882,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeWithColor","ranges":[{"startOffset":16884,"endOffset":17150,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeNoColor","ranges":[{"startOffset":17152,"endOffset":17198,"count":0}],"isBlockCoverage":false},{"functionName":"getEmptyFormatArray","ranges":[{"startOffset":17277,"endOffset":17324,"count":0}],"isBlockCoverage":false},{"functionName":"isInstanceof","ranges":[{"startOffset":17326,"endOffset":17444,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorName","ranges":[{"startOffset":17446,"endOffset":18715,"count":0}],"isBlockCoverage":false},{"functionName":"addPrototypeProperties","ranges":[{"startOffset":18902,"endOffset":20735,"count":0}],"isBlockCoverage":false},{"functionName":"getPrefix","ranges":[{"startOffset":20737,"endOffset":21124,"count":0}],"isBlockCoverage":false},{"functionName":"getKeys","ranges":[{"startOffset":21161,"endOffset":22152,"count":0}],"isBlockCoverage":false},{"functionName":"getCtxStyle","ranges":[{"startOffset":22154,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"formatProxy","ranges":[{"startOffset":22419,"endOffset":22869,"count":0}],"isBlockCoverage":false},{"functionName":"formatValue","ranges":[{"startOffset":23051,"endOffset":25808,"count":0}],"isBlockCoverage":false},{"functionName":"formatRaw","ranges":[{"startOffset":25810,"endOffset":36655,"count":0}],"isBlockCoverage":false},{"functionName":"getIteratorBraces","ranges":[{"startOffset":36657,"endOffset":36839,"count":0}],"isBlockCoverage":false},{"functionName":"getBoxedBase","ranges":[{"startOffset":36841,"endOffset":38029,"count":0}],"isBlockCoverage":false},{"functionName":"getClassBase","ranges":[{"startOffset":38031,"endOffset":38631,"count":0}],"isBlockCoverage":false},{"functionName":"getFunctionBase","ranges":[{"startOffset":38633,"endOffset":39866,"count":0}],"isBlockCoverage":false},{"functionName":"identicalSequenceRange","ranges":[{"startOffset":39868,"endOffset":40484,"count":0}],"isBlockCoverage":false},{"functionName":"getStackString","ranges":[{"startOffset":40486,"endOffset":40596,"count":0}],"isBlockCoverage":false},{"functionName":"getStackFrames","ranges":[{"startOffset":40598,"endOffset":41489,"count":0}],"isBlockCoverage":false},{"functionName":"improveStack","ranges":[{"startOffset":41491,"endOffset":42696,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateErrorKeys","ranges":[{"startOffset":42698,"endOffset":43121,"count":0}],"isBlockCoverage":false},{"functionName":"markNodeModules","ranges":[{"startOffset":43123,"endOffset":43593,"count":0}],"isBlockCoverage":false},{"functionName":"markCwd","ranges":[{"startOffset":43595,"endOffset":44572,"count":0}],"isBlockCoverage":false},{"functionName":"safeGetCWD","ranges":[{"startOffset":44574,"endOffset":44724,"count":0}],"isBlockCoverage":false},{"functionName":"formatError","ranges":[{"startOffset":44726,"endOffset":47121,"count":0}],"isBlockCoverage":false},{"functionName":"groupArrayElements","ranges":[{"startOffset":47123,"endOffset":51462,"count":0}],"isBlockCoverage":false},{"functionName":"handleMaxCallStackSize","ranges":[{"startOffset":51464,"endOffset":51853,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparator","ranges":[{"startOffset":51855,"endOffset":52257,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparatorEnd","ranges":[{"startOffset":52259,"endOffset":52558,"count":0}],"isBlockCoverage":false},{"functionName":"remainingText","ranges":[{"startOffset":52582,"endOffset":52652,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumber","ranges":[{"startOffset":52655,"endOffset":53443,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigInt","ranges":[{"startOffset":53445,"endOffset":53661,"count":0}],"isBlockCoverage":false},{"functionName":"formatPrimitive","ranges":[{"startOffset":53663,"endOffset":55068,"count":0}],"isBlockCoverage":false},{"functionName":"formatNamespaceObject","ranges":[{"startOffset":55070,"endOffset":56222,"count":0}],"isBlockCoverage":false},{"functionName":"formatSpecialArray","ranges":[{"startOffset":56269,"endOffset":57529,"count":0}],"isBlockCoverage":false},{"functionName":"formatArrayBuffer","ranges":[{"startOffset":57531,"endOffset":58179,"count":0}],"isBlockCoverage":false},{"functionName":"formatArray","ranges":[{"startOffset":58181,"endOffset":58780,"count":0}],"isBlockCoverage":false},{"functionName":"formatTypedArray","ranges":[{"startOffset":58782,"endOffset":59811,"count":0}],"isBlockCoverage":false},{"functionName":"formatSet","ranges":[{"startOffset":59813,"endOffset":60336,"count":0}],"isBlockCoverage":false},{"functionName":"formatMap","ranges":[{"startOffset":60338,"endOffset":60938,"count":0}],"isBlockCoverage":false},{"functionName":"formatSetIterInner","ranges":[{"startOffset":60940,"endOffset":61743,"count":0}],"isBlockCoverage":false},{"functionName":"formatMapIterInner","ranges":[{"startOffset":61745,"endOffset":63053,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakCollection","ranges":[{"startOffset":63055,"endOffset":63147,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakSet","ranges":[{"startOffset":63149,"endOffset":63306,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakMap","ranges":[{"startOffset":63308,"endOffset":63465,"count":0}],"isBlockCoverage":false},{"functionName":"formatIterator","ranges":[{"startOffset":63467,"endOffset":63888,"count":0}],"isBlockCoverage":false},{"functionName":"formatPromise","ranges":[{"startOffset":63890,"endOffset":64364,"count":0}],"isBlockCoverage":false},{"functionName":"formatProperty","ranges":[{"startOffset":64366,"endOffset":66939,"count":0}],"isBlockCoverage":false},{"functionName":"isBelowBreakLength","ranges":[{"startOffset":66941,"endOffset":67899,"count":0}],"isBlockCoverage":false},{"functionName":"reduceToSingleString","ranges":[{"startOffset":67901,"endOffset":70802,"count":0}],"isBlockCoverage":false},{"functionName":"hasBuiltInToString","ranges":[{"startOffset":70804,"endOffset":71880,"count":0}],"isBlockCoverage":false},{"functionName":"firstErrorLine","ranges":[{"startOffset":71905,"endOffset":71963,"count":0}],"isBlockCoverage":false},{"functionName":"tryStringify","ranges":[{"startOffset":71993,"endOffset":72498,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":72500,"endOffset":72581,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptions","ranges":[{"startOffset":72583,"endOffset":72770,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumberNoColor","ranges":[{"startOffset":72772,"endOffset":72954,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigIntNoColor","ranges":[{"startOffset":72956,"endOffset":73138,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptionsInternal","ranges":[{"startOffset":73140,"endOffset":77164,"count":0}],"isBlockCoverage":false},{"functionName":"isZeroWidthCodePoint","ranges":[{"startOffset":77166,"endOffset":77740,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78169,"endOffset":78760,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78875,"endOffset":79343,"count":0}],"isBlockCoverage":false},{"functionName":"isFullWidthCodePoint","ranges":[{"startOffset":79511,"endOffset":81120,"count":0}],"isBlockCoverage":false},{"functionName":"stripVTControlCharacters","ranges":[{"startOffset":81211,"endOffset":81338,"count":0}],"isBlockCoverage":false}]},{"scriptId":"93","url":"node:internal/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":474,"count":1}],"isBlockCoverage":false},{"functionName":"lazyError","ranges":[{"startOffset":26,"endOffset":155,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":157,"endOffset":307,"count":714},{"startOffset":205,"endOffset":305,"count":0}],"isBlockCoverage":true},{"functionName":"fail","ranges":[{"startOffset":309,"endOffset":426,"count":0}],"isBlockCoverage":false}]},{"scriptId":"94","url":"node:internal/util/debuglog","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3395,"count":1}],"isBlockCoverage":false},{"functionName":"initializeDebugEnv","ranges":[{"startOffset":503,"endOffset":976,"count":1},{"startOffset":595,"endOffset":932,"count":0}],"isBlockCoverage":true},{"functionName":"testEnabled","ranges":[{"startOffset":870,"endOffset":927,"count":0}],"isBlockCoverage":false},{"functionName":"testEnabled","ranges":[{"startOffset":958,"endOffset":969,"count":8}],"isBlockCoverage":true},{"functionName":"emitWarningIfNeeded","ranges":[{"startOffset":1050,"endOffset":1389,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":1404,"endOffset":1412,"count":2527}],"isBlockCoverage":true},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1431,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"debuglogImpl","ranges":[{"startOffset":1533,"endOffset":2091,"count":7},{"startOffset":1608,"endOffset":2063,"count":5},{"startOffset":1627,"endOffset":2016,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":1716,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"debuglog","ranges":[{"startOffset":2311,"endOffset":3337,"count":15}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":2342,"endOffset":2438,"count":8}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":2453,"endOffset":2847,"count":7},{"startOffset":2700,"endOffset":2730,"count":4},{"startOffset":2737,"endOffset":2776,"count":2},{"startOffset":2783,"endOffset":2837,"count":1}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2877,"endOffset":2946,"count":1}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2908,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"logger","ranges":[{"startOffset":2965,"endOffset":3160,"count":7},{"startOffset":3013,"endOffset":3043,"count":4},{"startOffset":3050,"endOffset":3089,"count":2},{"startOffset":3096,"endOffset":3150,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3231,"endOffset":3265,"count":1}],"isBlockCoverage":true}]},{"scriptId":"95","url":"node:events","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36377,"count":1}],"isBlockCoverage":false},{"functionName":"lazyEventEmitterAsyncResource","ranges":[{"startOffset":3020,"endOffset":6331,"count":4},{"startOffset":3110,"endOffset":6293,"count":1}],"isBlockCoverage":true},{"functionName":"EventEmitterReferencingAsyncResource","ranges":[{"startOffset":3565,"endOffset":3669,"count":0}],"isBlockCoverage":false},{"functionName":"get eventEmitter","ranges":[{"startOffset":3727,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterAsyncResource","ranges":[{"startOffset":4205,"endOffset":4729,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":4866,"endOffset":5236,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":5297,"endOffset":5485,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncId","ranges":[{"startOffset":5545,"endOffset":5736,"count":0}],"isBlockCoverage":false},{"functionName":"get triggerAsyncId","ranges":[{"startOffset":5796,"endOffset":6001,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncResource","ranges":[{"startOffset":6091,"endOffset":6280,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter","ranges":[{"startOffset":6465,"endOffset":6534,"count":63}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":7019,"endOffset":7075,"count":4}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":7079,"endOffset":7204,"count":0}],"isBlockCoverage":false},{"functionName":"checkListener","ranges":[{"startOffset":7985,"endOffset":8063,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8171,"endOffset":8219,"count":6}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8228,"endOffset":8329,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.setMaxListeners","ranges":[{"startOffset":8882,"endOffset":9694,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.init","ranges":[{"startOffset":9861,"endOffset":10459,"count":63},{"startOffset":9912,"endOffset":9972,"count":0},{"startOffset":10116,"endOffset":10135,"count":2},{"startOffset":10137,"endOffset":10270,"count":0}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":10462,"endOffset":11021,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionOrErr","ranges":[{"startOffset":11023,"endOffset":11680,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":11832,"endOffset":11947,"count":1}],"isBlockCoverage":true},{"functionName":"_getMaxListeners","ranges":[{"startOffset":11950,"endOffset":12099,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":12236,"endOffset":12299,"count":0}],"isBlockCoverage":false},{"functionName":"enhanceStackTrace","ranges":[{"startOffset":12302,"endOffset":13061,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":13256,"endOffset":15559,"count":60},{"startOffset":13401,"endOffset":13439,"count":0},{"startOffset":13447,"endOffset":13481,"count":0},{"startOffset":13505,"endOffset":13534,"count":0},{"startOffset":13540,"endOffset":13577,"count":0},{"startOffset":13649,"endOffset":14617,"count":0},{"startOffset":14698,"endOffset":15558,"count":0}],"isBlockCoverage":true},{"functionName":"_addListener","ranges":[{"startOffset":15562,"endOffset":17456,"count":7},{"startOffset":15742,"endOffset":15827,"count":0},{"startOffset":16012,"endOffset":16273,"count":0},{"startOffset":16476,"endOffset":17436,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":17634,"endOffset":17726,"count":7}],"isBlockCoverage":true},{"functionName":"prependListener","ranges":[{"startOffset":18013,"endOffset":18116,"count":0}],"isBlockCoverage":false},{"functionName":"onceWrapper","ranges":[{"startOffset":18119,"endOffset":18383,"count":0}],"isBlockCoverage":false},{"functionName":"_onceWrap","ranges":[{"startOffset":18385,"endOffset":18626,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":18817,"endOffset":18943,"count":0}],"isBlockCoverage":false},{"functionName":"prependOnceListener","ranges":[{"startOffset":19176,"endOffset":19346,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":19553,"endOffset":20848,"count":5},{"startOffset":19702,"endOffset":19714,"count":0},{"startOffset":19787,"endOffset":19799,"count":3},{"startOffset":19799,"endOffset":19829,"count":2},{"startOffset":19829,"endOffset":19858,"count":0},{"startOffset":19860,"endOffset":20121,"count":2},{"startOffset":19911,"endOffset":19946,"count":0},{"startOffset":20042,"endOffset":20103,"count":0},{"startOffset":20121,"endOffset":20822,"count":0},{"startOffset":20822,"endOffset":20847,"count":2}],"isBlockCoverage":true},{"functionName":"removeAllListeners","ranges":[{"startOffset":21168,"endOffset":22497,"count":0}],"isBlockCoverage":false},{"functionName":"_listeners","ranges":[{"startOffset":22500,"endOffset":22895,"count":0}],"isBlockCoverage":false},{"functionName":"listeners","ranges":[{"startOffset":23085,"endOffset":23152,"count":0}],"isBlockCoverage":false},{"functionName":"rawListeners","ranges":[{"startOffset":23359,"endOffset":23430,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.listenerCount","ranges":[{"startOffset":23672,"endOffset":23858,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":24091,"endOffset":24796,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":24952,"endOffset":25045,"count":0}],"isBlockCoverage":false},{"functionName":"arrayClone","ranges":[{"startOffset":25048,"endOffset":25521,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapListeners","ranges":[{"startOffset":25523,"endOffset":25737,"count":0}],"isBlockCoverage":false},{"functionName":"getEventListeners","ranges":[{"startOffset":25947,"endOffset":26821,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":26941,"endOffset":27376,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":27596,"endOffset":29314,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29392,"endOffset":29413,"count":0}],"isBlockCoverage":false},{"functionName":"createIterResult","ranges":[{"startOffset":29428,"endOffset":29496,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticRemoveListener","ranges":[{"startOffset":29498,"endOffset":29883,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticAddListener","ranges":[{"startOffset":29885,"endOffset":30317,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":30622,"endOffset":35023,"count":0}],"isBlockCoverage":false},{"functionName":"listenersController","ranges":[{"startOffset":35025,"endOffset":35471,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortListener","ranges":[{"startOffset":35494,"endOffset":36376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"96","url":"node:buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":41224,"count":1}],"isBlockCoverage":false},{"functionName":"validateOffset","ranges":[{"startOffset":3255,"endOffset":3339,"count":0}],"isBlockCoverage":false},{"functionName":"createPool","ranges":[{"startOffset":4069,"endOffset":4228,"count":1}],"isBlockCoverage":true},{"functionName":"alignPool","ranges":[{"startOffset":4244,"endOffset":4366,"count":12},{"startOffset":4318,"endOffset":4364,"count":11}],"isBlockCoverage":true},{"functionName":"showFlaggedDeprecation","ranges":[{"startOffset":4670,"endOffset":5350,"count":0}],"isBlockCoverage":false},{"functionName":"toInteger","ranges":[{"startOffset":5352,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"_copy","ranges":[{"startOffset":5572,"endOffset":6704,"count":0}],"isBlockCoverage":false},{"functionName":"_copyActual","ranges":[{"startOffset":6706,"endOffset":7237,"count":0}],"isBlockCoverage":false},{"functionName":"Buffer","ranges":[{"startOffset":7813,"endOffset":8146,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8258,"endOffset":8286,"count":0}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":8544,"endOffset":9509,"count":18},{"startOffset":8630,"endOffset":8673,"count":11},{"startOffset":8673,"endOffset":8724,"count":7},{"startOffset":8726,"endOffset":9363,"count":7},{"startOffset":8767,"endOffset":8823,"count":6},{"startOffset":8823,"endOffset":8877,"count":1},{"startOffset":8903,"endOffset":8931,"count":1},{"startOffset":8932,"endOffset":9003,"count":0},{"startOffset":9005,"endOffset":9066,"count":0},{"startOffset":9066,"endOffset":9127,"count":1},{"startOffset":9127,"endOffset":9359,"count":0},{"startOffset":9363,"endOffset":9508,"count":0}],"isBlockCoverage":true},{"functionName":"copyBytesFrom","ranges":[{"startOffset":9763,"endOffset":10644,"count":0}],"isBlockCoverage":false},{"functionName":"of","ranges":[{"startOffset":11015,"endOffset":11167,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11456,"endOffset":11516,"count":60}],"isBlockCoverage":true},{"functionName":"alloc","ranges":[{"startOffset":11619,"endOffset":11864,"count":1},{"startOffset":11703,"endOffset":11716,"count":0},{"startOffset":11717,"endOffset":11728,"count":0},{"startOffset":11730,"endOffset":11831,"count":0}],"isBlockCoverage":true},{"functionName":"allocUnsafe","ranges":[{"startOffset":12043,"endOffset":12118,"count":1}],"isBlockCoverage":true},{"functionName":"allocUnsafeSlow","ranges":[{"startOffset":12359,"endOffset":12448,"count":58}],"isBlockCoverage":true},{"functionName":"SlowBuffer","ranges":[{"startOffset":12544,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"allocate","ranges":[{"startOffset":12748,"endOffset":13080,"count":1},{"startOffset":12791,"endOffset":12825,"count":0},{"startOffset":12912,"endOffset":12925,"count":0},{"startOffset":13043,"endOffset":13079,"count":0}],"isBlockCoverage":true},{"functionName":"fromStringFast","ranges":[{"startOffset":13082,"endOffset":13628,"count":11},{"startOffset":13208,"endOffset":13257,"count":1},{"startOffset":13257,"endOffset":13303,"count":10},{"startOffset":13303,"endOffset":13316,"count":0},{"startOffset":13316,"endOffset":13449,"count":10},{"startOffset":13449,"endOffset":13575,"count":0},{"startOffset":13575,"endOffset":13627,"count":10}],"isBlockCoverage":true},{"functionName":"fromString","ranges":[{"startOffset":13630,"endOffset":14083,"count":11},{"startOffset":13716,"endOffset":13740,"count":8},{"startOffset":13742,"endOffset":13861,"count":3},{"startOffset":13779,"endOffset":13803,"count":0},{"startOffset":13861,"endOffset":14043,"count":8},{"startOffset":13938,"endOffset":13979,"count":0},{"startOffset":14015,"endOffset":14039,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayBuffer","ranges":[{"startOffset":14085,"endOffset":14782,"count":6},{"startOffset":14229,"endOffset":14325,"count":0},{"startOffset":14402,"endOffset":14447,"count":0},{"startOffset":14506,"endOffset":14729,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayLike","ranges":[{"startOffset":14784,"endOffset":15178,"count":1},{"startOffset":14841,"endOffset":14865,"count":0},{"startOffset":14964,"endOffset":14977,"count":0},{"startOffset":15146,"endOffset":15177,"count":0}],"isBlockCoverage":true},{"functionName":"fromObject","ranges":[{"startOffset":15180,"endOffset":15486,"count":1},{"startOffset":15238,"endOffset":15269,"count":0},{"startOffset":15313,"endOffset":15351,"count":0},{"startOffset":15386,"endOffset":15441,"count":0},{"startOffset":15443,"endOffset":15484,"count":0}],"isBlockCoverage":true},{"functionName":"isBuffer","ranges":[{"startOffset":15525,"endOffset":15579,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":15599,"endOffset":15924,"count":0}],"isBlockCoverage":false},{"functionName":"isEncoding","ranges":[{"startOffset":15947,"endOffset":16098,"count":379}],"isBlockCoverage":true},{"functionName":"concat","ranges":[{"startOffset":16164,"endOffset":17311,"count":0}],"isBlockCoverage":false},{"functionName":"base64ByteLength","ranges":[{"startOffset":17314,"endOffset":17582,"count":1},{"startOffset":17520,"endOffset":17528,"count":0}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":17717,"endOffset":17781,"count":3}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":17794,"endOffset":17840,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":17855,"endOffset":17951,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18045,"endOffset":18074,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18087,"endOffset":18151,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18164,"endOffset":18210,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18225,"endOffset":18324,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18424,"endOffset":18453,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18466,"endOffset":18530,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18543,"endOffset":18589,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18604,"endOffset":18703,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18800,"endOffset":18825,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18838,"endOffset":18904,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18917,"endOffset":18965,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18980,"endOffset":19078,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19172,"endOffset":19197,"count":3}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19210,"endOffset":19275,"count":3}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":19288,"endOffset":19335,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19350,"endOffset":19562,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19659,"endOffset":19710,"count":1}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19723,"endOffset":19789,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":19802,"endOffset":19850,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19865,"endOffset":20079,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20185,"endOffset":20236,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20249,"endOffset":20324,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":20337,"endOffset":20388,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20403,"endOffset":20623,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20711,"endOffset":20742,"count":4}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":20755,"endOffset":20818,"count":4}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":20831,"endOffset":20876,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20891,"endOffset":21099,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingOps","ranges":[{"startOffset":21109,"endOffset":22933,"count":8},{"startOffset":21196,"endOffset":21495,"count":0},{"startOffset":21500,"endOffset":21919,"count":3},{"startOffset":21540,"endOffset":21564,"count":0},{"startOffset":21622,"endOffset":21919,"count":0},{"startOffset":21924,"endOffset":22078,"count":0},{"startOffset":22083,"endOffset":22239,"count":0},{"startOffset":22244,"endOffset":22625,"count":1},{"startOffset":22318,"endOffset":22344,"count":0},{"startOffset":22404,"endOffset":22516,"count":0},{"startOffset":22526,"endOffset":22625,"count":0},{"startOffset":22630,"endOffset":22762,"count":4},{"startOffset":22667,"endOffset":22716,"count":0},{"startOffset":22749,"endOffset":22762,"count":0},{"startOffset":22767,"endOffset":22927,"count":0}],"isBlockCoverage":true},{"functionName":"byteLength","ranges":[{"startOffset":22935,"endOffset":23441,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23600,"endOffset":23694,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23792,"endOffset":23890,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":23923,"endOffset":24056,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":24337,"endOffset":24916,"count":1},{"startOffset":24457,"endOffset":24620,"count":0},{"startOffset":24626,"endOffset":24915,"count":0}],"isBlockCoverage":true},{"functionName":"equals","ranges":[{"startOffset":24945,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":25427,"endOffset":26570,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":26666,"endOffset":27815,"count":0}],"isBlockCoverage":false},{"functionName":"bidirectionalIndexOf","ranges":[{"startOffset":28243,"endOffset":29551,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":29580,"endOffset":29697,"count":0}],"isBlockCoverage":false},{"functionName":"lastIndexOf","ranges":[{"startOffset":29731,"endOffset":29853,"count":0}],"isBlockCoverage":false},{"functionName":"includes","ranges":[{"startOffset":29884,"endOffset":29989,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":30167,"endOffset":30266,"count":0}],"isBlockCoverage":false},{"functionName":"_fill","ranges":[{"startOffset":30269,"endOffset":32215,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":32242,"endOffset":33257,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":33286,"endOffset":33520,"count":0}],"isBlockCoverage":false},{"functionName":"adjustOffset","ranges":[{"startOffset":33523,"endOffset":33957,"count":0}],"isBlockCoverage":false},{"functionName":"subarray","ranges":[{"startOffset":33987,"endOffset":34290,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":34318,"endOffset":34384,"count":0}],"isBlockCoverage":false},{"functionName":"swap","ranges":[{"startOffset":34387,"endOffset":34458,"count":0}],"isBlockCoverage":false},{"functionName":"swap16","ranges":[{"startOffset":34486,"endOffset":34890,"count":0}],"isBlockCoverage":false},{"functionName":"swap32","ranges":[{"startOffset":34919,"endOffset":35363,"count":0}],"isBlockCoverage":false},{"functionName":"swap64","ranges":[{"startOffset":35392,"endOffset":35900,"count":0}],"isBlockCoverage":false},{"functionName":"transcode","ranges":[{"startOffset":36214,"endOffset":36913,"count":0}],"isBlockCoverage":false},{"functionName":"btoa","ranges":[{"startOffset":36918,"endOffset":37455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":37728,"endOffset":37772,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37830,"endOffset":37874,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37929,"endOffset":37973,"count":10}],"isBlockCoverage":true},{"functionName":"atob","ranges":[{"startOffset":38149,"endOffset":40101,"count":0}],"isBlockCoverage":false},{"functionName":"isUtf8","ranges":[{"startOffset":40103,"endOffset":40299,"count":0}],"isBlockCoverage":false},{"functionName":"isAscii","ranges":[{"startOffset":40301,"endOffset":40514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40905,"endOffset":40940,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":40946,"endOffset":41044,"count":0}],"isBlockCoverage":false}]},{"scriptId":"97","url":"node:internal/buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30926,"count":1}],"isBlockCoverage":false},{"functionName":"checkBounds","ranges":[{"startOffset":1176,"endOffset":1392,"count":1},{"startOffset":1339,"endOffset":1390,"count":0}],"isBlockCoverage":true},{"functionName":"checkInt","ranges":[{"startOffset":1394,"endOffset":2016,"count":1},{"startOffset":1490,"endOffset":1974,"count":0}],"isBlockCoverage":true},{"functionName":"boundsError","ranges":[{"startOffset":2018,"endOffset":2421,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":2441,"endOffset":2940,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":2942,"endOffset":3441,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":3443,"endOffset":3944,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":3946,"endOffset":4441,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntLE","ranges":[{"startOffset":4443,"endOffset":4995,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48LE","ranges":[{"startOffset":4997,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40LE","ranges":[{"startOffset":5382,"endOffset":5738,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":5740,"endOffset":6066,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24LE","ranges":[{"startOffset":6068,"endOffset":6356,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":6358,"endOffset":6618,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":6620,"endOffset":6800,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntBE","ranges":[{"startOffset":6802,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48BE","ranges":[{"startOffset":7356,"endOffset":7739,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40BE","ranges":[{"startOffset":7741,"endOffset":8097,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":8099,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24BE","ranges":[{"startOffset":8427,"endOffset":8715,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":8717,"endOffset":8977,"count":0}],"isBlockCoverage":false},{"functionName":"readIntLE","ranges":[{"startOffset":8979,"endOffset":9524,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48LE","ranges":[{"startOffset":9526,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40LE","ranges":[{"startOffset":9959,"endOffset":10346,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":10348,"endOffset":10683,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24LE","ranges":[{"startOffset":10685,"endOffset":11017,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":11019,"endOffset":11325,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":11327,"endOffset":11535,"count":0}],"isBlockCoverage":false},{"functionName":"readIntBE","ranges":[{"startOffset":11537,"endOffset":12082,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48BE","ranges":[{"startOffset":12084,"endOffset":12513,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40BE","ranges":[{"startOffset":12515,"endOffset":12903,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":12905,"endOffset":13240,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24BE","ranges":[{"startOffset":13242,"endOffset":13574,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":13576,"endOffset":13882,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBackwards","ranges":[{"startOffset":13899,"endOffset":14304,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatForwards","ranges":[{"startOffset":14306,"endOffset":14710,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBackwards","ranges":[{"startOffset":14712,"endOffset":15282,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleForwards","ranges":[{"startOffset":15284,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64LE","ranges":[{"startOffset":15874,"endOffset":16356,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":16358,"endOffset":16480,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64BE","ranges":[{"startOffset":16482,"endOffset":16980,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":16982,"endOffset":17104,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":17106,"endOffset":17250,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":17252,"endOffset":17396,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntLE","ranges":[{"startOffset":17398,"endOffset":18007,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48LE","ranges":[{"startOffset":18009,"endOffset":18422,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40LE","ranges":[{"startOffset":18424,"endOffset":18803,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32LE","ranges":[{"startOffset":18805,"endOffset":19112,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19114,"endOffset":19220,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24LE","ranges":[{"startOffset":19222,"endOffset":19481,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16LE","ranges":[{"startOffset":19483,"endOffset":19679,"count":1}],"isBlockCoverage":true},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19681,"endOffset":19783,"count":1}],"isBlockCoverage":true},{"functionName":"writeU_Int8","ranges":[{"startOffset":19785,"endOffset":20197,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":20199,"endOffset":20293,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntBE","ranges":[{"startOffset":20295,"endOffset":20904,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48BE","ranges":[{"startOffset":20906,"endOffset":21327,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40BE","ranges":[{"startOffset":21329,"endOffset":21691,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32BE","ranges":[{"startOffset":21693,"endOffset":22008,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":22010,"endOffset":22116,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24BE","ranges":[{"startOffset":22118,"endOffset":22383,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16BE","ranges":[{"startOffset":22385,"endOffset":22581,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":22583,"endOffset":22685,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntLE","ranges":[{"startOffset":22687,"endOffset":23349,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":23351,"endOffset":23466,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":23468,"endOffset":23575,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":23577,"endOffset":23674,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntBE","ranges":[{"startOffset":23676,"endOffset":24338,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":24340,"endOffset":24455,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":24457,"endOffset":24564,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleForwards","ranges":[{"startOffset":24583,"endOffset":25049,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBackwards","ranges":[{"startOffset":25051,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatForwards","ranges":[{"startOffset":25520,"endOffset":25821,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBackwards","ranges":[{"startOffset":25823,"endOffset":26125,"count":0}],"isBlockCoverage":false},{"functionName":"FastBuffer","ranges":[{"startOffset":26365,"endOffset":26465,"count":79}],"isBlockCoverage":true},{"functionName":"addBufferPrototypeMethods","ranges":[{"startOffset":26469,"endOffset":29608,"count":1},{"startOffset":28552,"endOffset":28572,"count":0},{"startOffset":28626,"endOffset":28645,"count":0},{"startOffset":28701,"endOffset":28722,"count":0},{"startOffset":28778,"endOffset":28798,"count":0},{"startOffset":28855,"endOffset":28876,"count":0},{"startOffset":28932,"endOffset":28952,"count":0},{"startOffset":29010,"endOffset":29032,"count":0},{"startOffset":29090,"endOffset":29111,"count":0}],"isBlockCoverage":true},{"functionName":"markAsUntransferable","ranges":[{"startOffset":29764,"endOffset":30013,"count":1},{"startOffset":29832,"endOffset":29860,"count":0},{"startOffset":29883,"endOffset":29890,"count":0}],"isBlockCoverage":true},{"functionName":"createUnsafeBuffer","ranges":[{"startOffset":30291,"endOffset":30427,"count":59}],"isBlockCoverage":true},{"functionName":"reconnectZeroFillToggle","ranges":[{"startOffset":30682,"endOffset":30754,"count":1}],"isBlockCoverage":true}]},{"scriptId":"98","url":"node:internal/worker/js_transferable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2208,"count":1}],"isBlockCoverage":false},{"functionName":"setup","ranges":[{"startOffset":478,"endOffset":1311,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":759,"endOffset":1307,"count":0}],"isBlockCoverage":false},{"functionName":"makeTransferable","ranges":[{"startOffset":1313,"endOffset":1968,"count":0}],"isBlockCoverage":false}]},{"scriptId":"99","url":"node:internal/process/per_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12464,"count":1}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":1145,"endOffset":1233,"count":0}],"isBlockCoverage":false},{"functionName":"refreshHrtimeBuffer","ranges":[{"startOffset":1388,"endOffset":1856,"count":2}],"isBlockCoverage":true},{"functionName":"hrtime","ranges":[{"startOffset":1905,"endOffset":2407,"count":0}],"isBlockCoverage":false},{"functionName":"hrtimeBigInt","ranges":[{"startOffset":2409,"endOffset":2490,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2492,"endOffset":2509,"count":0}],"isBlockCoverage":false},{"functionName":"wrapProcessMethods","ranges":[{"startOffset":2587,"endOffset":7477,"count":1}],"isBlockCoverage":true},{"functionName":"_rawDebug","ranges":[{"startOffset":2754,"endOffset":2844,"count":0}],"isBlockCoverage":false},{"functionName":"cpuUsage","ranges":[{"startOffset":3055,"endOffset":4207,"count":0}],"isBlockCoverage":false},{"functionName":"previousValueIsValid","ranges":[{"startOffset":4360,"endOffset":4497,"count":0}],"isBlockCoverage":false},{"functionName":"memoryUsage","ranges":[{"startOffset":4542,"endOffset":4769,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":4799,"endOffset":5938,"count":1}],"isBlockCoverage":true},{"functionName":"kill","ranges":[{"startOffset":5942,"endOffset":6587,"count":0}],"isBlockCoverage":false},{"functionName":"resourceUsage","ranges":[{"startOffset":6638,"endOffset":7372,"count":0}],"isBlockCoverage":false},{"functionName":"buildAllowedFlags","ranges":[{"startOffset":7688,"endOffset":11790,"count":1},{"startOffset":7976,"endOffset":8267,"count":159},{"startOffset":8028,"endOffset":8263,"count":124},{"startOffset":8125,"endOffset":8257,"count":62},{"startOffset":8735,"endOffset":9157,"count":23},{"startOffset":8789,"endOffset":9153,"count":11},{"startOffset":8878,"endOffset":8947,"count":2},{"startOffset":9012,"endOffset":9081,"count":0}],"isBlockCoverage":true},{"functionName":"isAccepted","ranges":[{"startOffset":8271,"endOffset":8683,"count":29},{"startOffset":8341,"endOffset":8355,"count":28},{"startOffset":8357,"endOffset":8369,"count":2},{"startOffset":8369,"endOffset":8446,"count":27},{"startOffset":8446,"endOffset":8615,"count":2},{"startOffset":8496,"endOffset":8543,"count":1},{"startOffset":8615,"endOffset":8682,"count":25}],"isBlockCoverage":true},{"functionName":"trimLeadingDashes","ranges":[{"startOffset":9191,"endOffset":9253,"count":197}],"isBlockCoverage":true},{"functionName":"NodeEnvironmentFlagsSet","ranges":[{"startOffset":9563,"endOffset":9639,"count":1}],"isBlockCoverage":true},{"functionName":"add","ranges":[{"startOffset":9645,"endOffset":9714,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":9720,"endOffset":9793,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":9799,"endOffset":9851,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":9857,"endOffset":10672,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":10678,"endOffset":10843,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":10849,"endOffset":11026,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":11032,"endOffset":11093,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":11099,"endOffset":11262,"count":0}],"isBlockCoverage":false},{"functionName":"toggleTraceCategoryState","ranges":[{"startOffset":11980,"endOffset":12310,"count":1},{"startOffset":12060,"endOffset":12235,"count":0},{"startOffset":12267,"endOffset":12308,"count":0}],"isBlockCoverage":true}]},{"scriptId":"100","url":"node:internal/process/task_queues","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4285,"count":1}],"isBlockCoverage":false},{"functionName":"hasTickScheduled","ranges":[{"startOffset":982,"endOffset":1057,"count":0}],"isBlockCoverage":false},{"functionName":"setHasTickScheduled","ranges":[{"startOffset":1059,"endOffset":1145,"count":3},{"startOffset":1135,"endOffset":1138,"count":2},{"startOffset":1139,"endOffset":1142,"count":1}],"isBlockCoverage":true},{"functionName":"runNextTicks","ranges":[{"startOffset":1247,"endOffset":1443,"count":0}],"isBlockCoverage":false},{"functionName":"processTicksAndRejections","ranges":[{"startOffset":1445,"endOffset":2424,"count":1},{"startOffset":1501,"endOffset":2304,"count":2},{"startOffset":1547,"endOffset":2279,"count":3},{"startOffset":1781,"endOffset":2155,"count":0},{"startOffset":2217,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"nextTick","ranges":[{"startOffset":2568,"endOffset":3442,"count":3},{"startOffset":2669,"endOffset":2676,"count":0},{"startOffset":2743,"endOffset":2780,"count":0},{"startOffset":2785,"endOffset":2836,"count":0},{"startOffset":2841,"endOffset":2906,"count":0},{"startOffset":2911,"endOffset":3054,"count":0},{"startOffset":3083,"endOffset":3109,"count":2},{"startOffset":3354,"endOffset":3414,"count":0}],"isBlockCoverage":true},{"functionName":"runMicrotask","ranges":[{"startOffset":3444,"endOffset":3620,"count":0}],"isBlockCoverage":false},{"functionName":"queueMicrotask","ranges":[{"startOffset":3692,"endOffset":3981,"count":0}],"isBlockCoverage":false},{"functionName":"setupTaskQueue","ranges":[{"startOffset":4004,"endOffset":4262,"count":1}],"isBlockCoverage":true}]},{"scriptId":"101","url":"node:internal/process/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11045,"count":1}],"isBlockCoverage":false},{"functionName":"setHasRejectionToWarn","ranges":[{"startOffset":2155,"endOffset":2245,"count":1},{"startOffset":2235,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"hasRejectionToWarn","ranges":[{"startOffset":2247,"endOffset":2326,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorLike","ranges":[{"startOffset":2328,"endOffset":2464,"count":0}],"isBlockCoverage":false},{"functionName":"getUnhandledRejectionsMode","ranges":[{"startOffset":2466,"endOffset":2999,"count":1},{"startOffset":2622,"endOffset":2675,"count":0},{"startOffset":2680,"endOffset":2737,"count":0},{"startOffset":2742,"endOffset":2797,"count":0},{"startOffset":2802,"endOffset":2855,"count":0},{"startOffset":2860,"endOffset":2940,"count":0}],"isBlockCoverage":true},{"functionName":"promiseRejectHandler","ranges":[{"startOffset":3001,"endOffset":3570,"count":1},{"startOffset":3189,"endOffset":3278,"count":0},{"startOffset":3283,"endOffset":3366,"count":0},{"startOffset":3471,"endOffset":3564,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3619,"endOffset":3627,"count":0}],"isBlockCoverage":false},{"functionName":"resolveError","ranges":[{"startOffset":3698,"endOffset":3995,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3872,"endOffset":3991,"count":1},{"startOffset":3945,"endOffset":3987,"count":0}],"isBlockCoverage":true},{"functionName":"unhandledRejection","ranges":[{"startOffset":3997,"endOffset":4557,"count":0}],"isBlockCoverage":false},{"functionName":"handledRejection","ranges":[{"startOffset":4559,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionWarning","ranges":[{"startOffset":5462,"endOffset":6499,"count":0}],"isBlockCoverage":false},{"functionName":"processPromiseRejections","ranges":[{"startOffset":6672,"endOffset":9849,"count":1},{"startOffset":6830,"endOffset":7009,"count":0},{"startOffset":7074,"endOffset":9753,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithoutStack","ranges":[{"startOffset":9851,"endOffset":10366,"count":0}],"isBlockCoverage":false},{"functionName":"generateUnhandledRejectionError","ranges":[{"startOffset":10368,"endOffset":10838,"count":0}],"isBlockCoverage":false},{"functionName":"listenForRejections","ranges":[{"startOffset":10840,"endOffset":10924,"count":1}],"isBlockCoverage":true}]},{"scriptId":"102","url":"node:internal/fixed_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4208,"count":1}],"isBlockCoverage":false},{"functionName":"FixedCircularBuffer","ranges":[{"startOffset":2959,"endOffset":3073,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3077,"endOffset":3129,"count":10}],"isBlockCoverage":true},{"functionName":"isFull","ranges":[{"startOffset":3133,"endOffset":3200,"count":3}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3204,"endOffset":3291,"count":3}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3295,"endOffset":3510,"count":5},{"startOffset":3388,"endOffset":3400,"count":2},{"startOffset":3400,"endOffset":3509,"count":3}],"isBlockCoverage":true},{"functionName":"FixedQueue","ranges":[{"startOffset":3552,"endOffset":3626,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3630,"endOffset":3677,"count":5}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3681,"endOffset":3945,"count":3},{"startOffset":3722,"endOffset":3915,"count":0}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3949,"endOffset":4204,"count":5},{"startOffset":4041,"endOffset":4062,"count":4},{"startOffset":4064,"endOffset":4183,"count":0}],"isBlockCoverage":true}]},{"scriptId":"103","url":"node:async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10295,"count":1}],"isBlockCoverage":false},{"functionName":"AsyncHook","ranges":[{"startOffset":1538,"endOffset":2372,"count":1},{"startOffset":1666,"endOffset":1708,"count":0},{"startOffset":1738,"endOffset":1769,"count":0},{"startOffset":1777,"endOffset":1821,"count":0},{"startOffset":1850,"endOffset":1880,"count":0},{"startOffset":1888,"endOffset":1931,"count":0},{"startOffset":1962,"endOffset":1994,"count":0},{"startOffset":2002,"endOffset":2047,"count":0},{"startOffset":2085,"endOffset":2124,"count":0},{"startOffset":2132,"endOffset":2184,"count":0}],"isBlockCoverage":true},{"functionName":"enable","ranges":[{"startOffset":2376,"endOffset":3621,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":3625,"endOffset":4409,"count":0}],"isBlockCoverage":false},{"functionName":"createHook","ranges":[{"startOffset":4414,"endOffset":4471,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncResource","ranges":[{"startOffset":4564,"endOffset":5761,"count":0}],"isBlockCoverage":false},{"functionName":"runInAsyncScope","ranges":[{"startOffset":5765,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":6085,"endOffset":6260,"count":0}],"isBlockCoverage":false},{"functionName":"asyncId","ranges":[{"startOffset":6264,"endOffset":6313,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":6317,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":6385,"endOffset":7421,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":7432,"endOffset":7569,"count":0}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":7632,"endOffset":7920,"count":0}],"isBlockCoverage":false},{"functionName":"AsyncLocalStorage","ranges":[{"startOffset":7955,"endOffset":8052,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":8063,"endOffset":8112,"count":0}],"isBlockCoverage":false},{"functionName":"snapshot","ranges":[{"startOffset":8123,"endOffset":8204,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":8208,"endOffset":8533,"count":0}],"isBlockCoverage":false},{"functionName":"_enable","ranges":[{"startOffset":8537,"endOffset":8683,"count":0}],"isBlockCoverage":false},{"functionName":"_propagate","ranges":[{"startOffset":8752,"endOffset":8932,"count":0}],"isBlockCoverage":false},{"functionName":"enterWith","ranges":[{"startOffset":8936,"endOffset":9068,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":9072,"endOffset":9570,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":9574,"endOffset":9806,"count":0}],"isBlockCoverage":false},{"functionName":"getStore","ranges":[{"startOffset":9810,"endOffset":9949,"count":0}],"isBlockCoverage":false}]},{"scriptId":"104","url":"node:timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9640,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1819,"endOffset":1844,"count":0}],"isBlockCoverage":false},{"functionName":"unenroll","ranges":[{"startOffset":2343,"endOffset":3527,"count":0}],"isBlockCoverage":false},{"functionName":"enroll","ranges":[{"startOffset":3734,"endOffset":3987,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":4229,"endOffset":4886,"count":1},{"startOffset":4396,"endOffset":4403,"count":0},{"startOffset":4433,"endOffset":4474,"count":0},{"startOffset":4479,"endOffset":4526,"count":0},{"startOffset":4531,"endOffset":4752,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4981,"endOffset":5106,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimeout","ranges":[{"startOffset":5206,"endOffset":5572,"count":3},{"startOffset":5249,"endOffset":5268,"count":0},{"startOffset":5270,"endOffset":5337,"count":0},{"startOffset":5400,"endOffset":5570,"count":0}],"isBlockCoverage":true},{"functionName":"setInterval","ranges":[{"startOffset":5809,"endOffset":6468,"count":0}],"isBlockCoverage":false},{"functionName":"clearInterval","ranges":[{"startOffset":6565,"endOffset":6863,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.close","ranges":[{"startOffset":6891,"endOffset":6942,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":6980,"endOffset":7016,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":7126,"endOffset":7287,"count":0}],"isBlockCoverage":false},{"functionName":"setImmediate","ranges":[{"startOffset":7504,"endOffset":8057,"count":1},{"startOffset":7691,"endOffset":7732,"count":0},{"startOffset":7737,"endOffset":7784,"count":0},{"startOffset":7789,"endOffset":8010,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8154,"endOffset":8281,"count":0}],"isBlockCoverage":false},{"functionName":"clearImmediate","ranges":[{"startOffset":8372,"endOffset":8922,"count":0}],"isBlockCoverage":false},{"functionName":"Immediate.","ranges":[{"startOffset":8961,"endOffset":8999,"count":0}],"isBlockCoverage":false}]},{"scriptId":"105","url":"node:internal/process/execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6918,"count":1}],"isBlockCoverage":false},{"functionName":"tryGetCwd","ranges":[{"startOffset":681,"endOffset":1011,"count":1},{"startOffset":742,"endOffset":1009,"count":0}],"isBlockCoverage":true},{"functionName":"evalModule","ranges":[{"startOffset":1013,"endOffset":1407,"count":0}],"isBlockCoverage":false},{"functionName":"evalScript","ranges":[{"startOffset":1409,"endOffset":3230,"count":0}],"isBlockCoverage":false},{"functionName":"setUncaughtExceptionCaptureCallback","ranges":[{"startOffset":3308,"endOffset":4002,"count":0}],"isBlockCoverage":false},{"functionName":"hasUncaughtExceptionCaptureCallback","ranges":[{"startOffset":4004,"endOffset":4105,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4107,"endOffset":4125,"count":0}],"isBlockCoverage":false},{"functionName":"createOnGlobalUncaughtException","ranges":[{"startOffset":4668,"endOffset":6491,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4937,"endOffset":6488,"count":0}],"isBlockCoverage":false},{"functionName":"readStdin","ranges":[{"startOffset":6493,"endOffset":6698,"count":0}],"isBlockCoverage":false}]},{"scriptId":"106","url":"node:path","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":46851,"count":1}],"isBlockCoverage":false},{"functionName":"isPathSeparator","ranges":[{"startOffset":1719,"endOffset":1823,"count":0}],"isBlockCoverage":false},{"functionName":"isPosixPathSeparator","ranges":[{"startOffset":1825,"endOffset":1902,"count":267927}],"isBlockCoverage":true},{"functionName":"isWindowsDeviceRoot","ranges":[{"startOffset":1904,"endOffset":2074,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeString","ranges":[{"startOffset":2137,"endOffset":4085,"count":3810},{"startOffset":2354,"endOffset":4069,"count":267555},{"startOffset":2387,"endOffset":2429,"count":263745},{"startOffset":2429,"endOffset":2520,"count":3810},{"startOffset":2472,"endOffset":2478,"count":3438},{"startOffset":2478,"endOffset":2520,"count":372},{"startOffset":2520,"endOffset":2553,"count":264117},{"startOffset":2553,"endOffset":3970,"count":32415},{"startOffset":2585,"endOffset":2598,"count":27374},{"startOffset":2600,"endOffset":2625,"count":5664},{"startOffset":2625,"endOffset":3927,"count":26751},{"startOffset":2647,"endOffset":3682,"count":128},{"startOffset":2676,"endOffset":2702,"count":70},{"startOffset":2703,"endOffset":2777,"count":5},{"startOffset":2778,"endOffset":2852,"count":5},{"startOffset":2854,"endOffset":3542,"count":123},{"startOffset":2886,"endOffset":3363,"count":65},{"startOffset":3006,"endOffset":3082,"count":0},{"startOffset":3363,"endOffset":3532,"count":58},{"startOffset":3391,"endOffset":3532,"count":0},{"startOffset":3542,"endOffset":3674,"count":63},{"startOffset":3605,"endOffset":3623,"count":5},{"startOffset":3624,"endOffset":3630,"count":58},{"startOffset":3682,"endOffset":3927,"count":26623},{"startOffset":3728,"endOffset":3797,"count":22871},{"startOffset":3797,"endOffset":3872,"count":3752},{"startOffset":3927,"endOffset":3970,"count":32350},{"startOffset":3970,"endOffset":4065,"count":231702},{"startOffset":3998,"endOffset":4012,"count":3660},{"startOffset":4014,"endOffset":4035,"count":883},{"startOffset":4035,"endOffset":4065,"count":230819}],"isBlockCoverage":true},{"functionName":"formatExt","ranges":[{"startOffset":4087,"endOffset":4172,"count":0}],"isBlockCoverage":false},{"functionName":"_format","ranges":[{"startOffset":4350,"endOffset":4685,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":4803,"endOffset":9588,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":9654,"endOffset":12725,"count":0}],"isBlockCoverage":false},{"functionName":"isAbsolute","ranges":[{"startOffset":12792,"endOffset":13208,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13277,"endOffset":15423,"count":0}],"isBlockCoverage":false},{"functionName":"relative","ranges":[{"startOffset":15719,"endOffset":19486,"count":0}],"isBlockCoverage":false},{"functionName":"toNamespacedPath","ranges":[{"startOffset":19552,"endOffset":20654,"count":0}],"isBlockCoverage":false},{"functionName":"dirname","ranges":[{"startOffset":20720,"endOffset":23266,"count":0}],"isBlockCoverage":false},{"functionName":"basename","ranges":[{"startOffset":23362,"endOffset":26136,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":26202,"endOffset":28275,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":28497,"endOffset":33253,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33339,"endOffset":33782,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33526,"endOffset":33683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33760,"endOffset":33779,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":33904,"endOffset":34827,"count":3438},{"startOffset":34027,"endOffset":34047,"count":9156},{"startOffset":34054,"endOffset":34381,"count":5718},{"startOffset":34092,"endOffset":34104,"count":0},{"startOffset":34207,"endOffset":34234,"count":0},{"startOffset":34766,"endOffset":34816,"count":0},{"startOffset":34817,"endOffset":34822,"count":0}],"isBlockCoverage":true},{"functionName":"normalize","ranges":[{"startOffset":34893,"endOffset":35506,"count":372},{"startOffset":34979,"endOffset":34990,"count":0},{"startOffset":35318,"endOffset":35412,"count":0},{"startOffset":35446,"endOffset":35458,"count":0},{"startOffset":35482,"endOffset":35494,"count":3},{"startOffset":35495,"endOffset":35501,"count":369}],"isBlockCoverage":true},{"functionName":"isAbsolute","ranges":[{"startOffset":35573,"endOffset":35729,"count":614}],"isBlockCoverage":true},{"functionName":"join","ranges":[{"startOffset":35798,"endOffset":36212,"count":3},{"startOffset":35847,"endOffset":35858,"count":0},{"startOffset":35917,"endOffset":36124,"count":6},{"startOffset":36053,"endOffset":36110,"count":3},{"startOffset":36161,"endOffset":36172,"count":0}],"isBlockCoverage":true},{"functionName":"relative","ranges":[{"startOffset":36302,"endOffset":38662,"count":2},{"startOffset":36415,"endOffset":36425,"count":0},{"startOffset":36552,"endOffset":36562,"count":0},{"startOffset":36835,"endOffset":36842,"count":0},{"startOffset":36916,"endOffset":37151,"count":70},{"startOffset":37064,"endOffset":37070,"count":0},{"startOffset":37127,"endOffset":37145,"count":6},{"startOffset":37483,"endOffset":37665,"count":0},{"startOffset":37673,"endOffset":38130,"count":0},{"startOffset":38136,"endOffset":38661,"count":0}],"isBlockCoverage":true},{"functionName":"toNamespacedPath","ranges":[{"startOffset":38728,"endOffset":38804,"count":3068}],"isBlockCoverage":true},{"functionName":"dirname","ranges":[{"startOffset":38870,"endOffset":39546,"count":1590},{"startOffset":38953,"endOffset":38964,"count":0},{"startOffset":39138,"endOffset":39391,"count":18866},{"startOffset":39209,"endOffset":39293,"count":1590},{"startOffset":39293,"endOffset":39385,"count":17276},{"startOffset":39419,"endOffset":39446,"count":0},{"startOffset":39483,"endOffset":39495,"count":0}],"isBlockCoverage":true},{"functionName":"basename","ranges":[{"startOffset":39642,"endOffset":42069,"count":375},{"startOffset":39703,"endOffset":39733,"count":0},{"startOffset":39865,"endOffset":39885,"count":0},{"startOffset":39886,"endOffset":39917,"count":0},{"startOffset":39919,"endOffset":41443,"count":0},{"startOffset":41491,"endOffset":41976,"count":4516},{"startOffset":41562,"endOffset":41786,"count":375},{"startOffset":41786,"endOffset":41970,"count":4141},{"startOffset":41808,"endOffset":41970,"count":375},{"startOffset":42004,"endOffset":42014,"count":0}],"isBlockCoverage":true},{"functionName":"extname","ranges":[{"startOffset":42135,"endOffset":43825,"count":1},{"startOffset":42468,"endOffset":43430,"count":13},{"startOffset":42564,"endOffset":42810,"count":1},{"startOffset":42784,"endOffset":42810,"count":0},{"startOffset":42810,"endOffset":42833,"count":12},{"startOffset":42833,"endOffset":42990,"count":1},{"startOffset":42990,"endOffset":43020,"count":12},{"startOffset":43020,"endOffset":43220,"count":1},{"startOffset":43149,"endOffset":43212,"count":0},{"startOffset":43220,"endOffset":43424,"count":11},{"startOffset":43247,"endOffset":43424,"count":7},{"startOffset":43669,"endOffset":43701,"count":0},{"startOffset":43702,"endOffset":43740,"count":0},{"startOffset":43743,"endOffset":43767,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":44052,"endOffset":46524,"count":0}],"isBlockCoverage":false}]},{"scriptId":"107","url":"node:internal/constants","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1583,"count":1}],"isBlockCoverage":false}]},{"scriptId":"108","url":"node:internal/process/warning","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5379,"count":1}],"isBlockCoverage":false},{"functionName":"resetForSerialization","ranges":[{"startOffset":448,"endOffset":645,"count":0}],"isBlockCoverage":false},{"functionName":"lazyOption","ranges":[{"startOffset":647,"endOffset":1201,"count":0}],"isBlockCoverage":false},{"functionName":"writeOut","ranges":[{"startOffset":1302,"endOffset":1424,"count":0}],"isBlockCoverage":false},{"functionName":"closeFdOnExit","ranges":[{"startOffset":1426,"endOffset":1537,"count":0}],"isBlockCoverage":false},{"functionName":"writeToFile","ranges":[{"startOffset":1539,"endOffset":1868,"count":0}],"isBlockCoverage":false},{"functionName":"doEmitWarning","ranges":[{"startOffset":1870,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"onWarning","ranges":[{"startOffset":1943,"endOffset":3092,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarning","ranges":[{"startOffset":3215,"endOffset":4406,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarningSync","ranges":[{"startOffset":4408,"endOffset":4538,"count":0}],"isBlockCoverage":false},{"functionName":"createWarningObject","ranges":[{"startOffset":4540,"endOffset":5283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"109","url":"node:internal/source_map/source_map_cache","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10127,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":357,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":824,"endOffset":939,"count":1}],"isBlockCoverage":true},{"functionName":"getSourceMapsEnabled","ranges":[{"startOffset":1596,"endOffset":1659,"count":71}],"isBlockCoverage":true},{"functionName":"setSourceMapsEnabled","ranges":[{"startOffset":1661,"endOffset":2203,"count":1},{"startOffset":1924,"endOffset":2173,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceURLMagicComment","ranges":[{"startOffset":2205,"endOffset":2805,"count":7},{"startOffset":2507,"endOffset":2540,"count":0},{"startOffset":2593,"endOffset":2729,"count":0},{"startOffset":2731,"endOffset":2804,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceMapURLMagicComment","ranges":[{"startOffset":2807,"endOffset":3250,"count":58},{"startOffset":3128,"endOffset":3156,"count":0},{"startOffset":3204,"endOffset":3249,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheSourceMap","ranges":[{"startOffset":3252,"endOffset":5023,"count":63},{"startOffset":3454,"endOffset":3474,"count":0},{"startOffset":3477,"endOffset":3484,"count":0},{"startOffset":3618,"endOffset":3742,"count":0},{"startOffset":3778,"endOffset":3844,"count":58},{"startOffset":3933,"endOffset":3950,"count":58},{"startOffset":3950,"endOffset":4122,"count":5},{"startOffset":4123,"endOffset":4137,"count":0},{"startOffset":4164,"endOffset":4349,"count":0},{"startOffset":4349,"endOffset":5021,"count":5},{"startOffset":4378,"endOffset":4644,"count":0},{"startOffset":4963,"endOffset":5017,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheGeneratedSourceMap","ranges":[{"startOffset":5025,"endOffset":5553,"count":2},{"startOffset":5163,"endOffset":5183,"count":0},{"startOffset":5186,"endOffset":5193,"count":0},{"startOffset":5297,"endOffset":5551,"count":0}],"isBlockCoverage":true},{"functionName":"dataFromUrl","ranges":[{"startOffset":5555,"endOffset":6075,"count":5},{"startOffset":5692,"endOffset":5767,"count":0},{"startOffset":5774,"endOffset":5854,"count":0}],"isBlockCoverage":true},{"functionName":"lineLengths","ranges":[{"startOffset":6265,"endOffset":6610,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6567,"endOffset":6606,"count":639}],"isBlockCoverage":true},{"functionName":"sourceMapFromFile","ranges":[{"startOffset":6612,"endOffset":6892,"count":5},{"startOffset":6840,"endOffset":6890,"count":0}],"isBlockCoverage":true},{"functionName":"sourceMapFromDataUrl","ranges":[{"startOffset":6986,"endOffset":7657,"count":0}],"isBlockCoverage":false},{"functionName":"sourcesToAbsolute","ranges":[{"startOffset":7842,"endOffset":8169,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7920,"endOffset":8026,"count":5}],"isBlockCoverage":true},{"functionName":"sourceMapCacheToObject","ranges":[{"startOffset":8607,"endOffset":8855,"count":0}],"isBlockCoverage":false},{"functionName":"appendCJSCache","ranges":[{"startOffset":8857,"endOffset":9083,"count":0}],"isBlockCoverage":false},{"functionName":"findSourceMap","ranges":[{"startOffset":9085,"endOffset":9957,"count":1},{"startOffset":9499,"endOffset":9692,"count":0},{"startOffset":9751,"endOffset":9956,"count":0}],"isBlockCoverage":true}]},{"scriptId":"110","url":"node:internal/url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43440,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBlob","ranges":[{"startOffset":2768,"endOffset":2843,"count":0}],"isBlockCoverage":false},{"functionName":"lazyCryptoRandom","ranges":[{"startOffset":2845,"endOffset":3079,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3462,"endOffset":4251,"count":1326}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3589,"endOffset":3617,"count":1}],"isBlockCoverage":false},{"functionName":"get hasPort","ranges":[{"startOffset":4030,"endOffset":4095,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSearch","ranges":[{"startOffset":4099,"endOffset":4174,"count":1595}],"isBlockCoverage":true},{"functionName":"get hasHash","ranges":[{"startOffset":4178,"endOffset":4249,"count":1595}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4337,"endOffset":6674,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7067,"endOffset":19940,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7158,"endOffset":7494,"count":1}],"isBlockCoverage":false},{"functionName":"setURLSearchParamsContext","ranges":[{"startOffset":7199,"endOffset":7246,"count":0}],"isBlockCoverage":false},{"functionName":"getURLSearchParamsList","ranges":[{"startOffset":7277,"endOffset":7303,"count":0}],"isBlockCoverage":false},{"functionName":"setURLSearchParams","ranges":[{"startOffset":7330,"endOffset":7489,"count":0}],"isBlockCoverage":false},{"functionName":"isURL","ranges":[{"startOffset":21271,"endOffset":21396,"count":1677},{"startOffset":21322,"endOffset":21338,"count":745},{"startOffset":21339,"endOffset":21365,"count":745},{"startOffset":21366,"endOffset":21392,"count":745}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21398,"endOffset":29200,"count":1386}],"isBlockCoverage":false},{"functionName":"URL","ranges":[{"startOffset":21461,"endOffset":21761,"count":1386},{"startOffset":21532,"endOffset":21580,"count":0},{"startOffset":21669,"endOffset":21700,"count":673}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21765,"endOffset":22485,"count":0}],"isBlockCoverage":false},{"functionName":"#updateContext","ranges":[{"startOffset":22489,"endOffset":23396,"count":1489},{"startOffset":23205,"endOffset":23392,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":23400,"endOffset":23447,"count":533}],"isBlockCoverage":true},{"functionName":"get href","ranges":[{"startOffset":23451,"endOffset":23498,"count":1010}],"isBlockCoverage":true},{"functionName":"set href","ranges":[{"startOffset":23502,"endOffset":23711,"count":0}],"isBlockCoverage":false},{"functionName":"get origin","ranges":[{"startOffset":23729,"endOffset":24598,"count":0}],"isBlockCoverage":false},{"functionName":"get protocol","ranges":[{"startOffset":24602,"endOffset":24706,"count":2217}],"isBlockCoverage":true},{"functionName":"set protocol","ranges":[{"startOffset":24710,"endOffset":24883,"count":0}],"isBlockCoverage":false},{"functionName":"get username","ranges":[{"startOffset":24887,"endOffset":25114,"count":0}],"isBlockCoverage":false},{"functionName":"set username","ranges":[{"startOffset":25118,"endOffset":25291,"count":0}],"isBlockCoverage":false},{"functionName":"get password","ranges":[{"startOffset":25295,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"set password","ranges":[{"startOffset":25522,"endOffset":25695,"count":0}],"isBlockCoverage":false},{"functionName":"get host","ranges":[{"startOffset":25699,"endOffset":26130,"count":0}],"isBlockCoverage":false},{"functionName":"set host","ranges":[{"startOffset":26134,"endOffset":26299,"count":0}],"isBlockCoverage":false},{"functionName":"get hostname","ranges":[{"startOffset":26303,"endOffset":26585,"count":693},{"startOffset":26469,"endOffset":26494,"count":0}],"isBlockCoverage":true},{"functionName":"set hostname","ranges":[{"startOffset":26589,"endOffset":26762,"count":0}],"isBlockCoverage":false},{"functionName":"get port","ranges":[{"startOffset":26766,"endOffset":26874,"count":0}],"isBlockCoverage":false},{"functionName":"set port","ranges":[{"startOffset":26878,"endOffset":27043,"count":0}],"isBlockCoverage":false},{"functionName":"get pathname","ranges":[{"startOffset":27047,"endOffset":27339,"count":1488},{"startOffset":27113,"endOffset":27163,"count":0},{"startOffset":27196,"endOffset":27244,"count":0}],"isBlockCoverage":true},{"functionName":"set pathname","ranges":[{"startOffset":27343,"endOffset":27516,"count":0}],"isBlockCoverage":false},{"functionName":"get search","ranges":[{"startOffset":27520,"endOffset":27855,"count":107},{"startOffset":27583,"endOffset":27854,"count":0}],"isBlockCoverage":true},{"functionName":"set search","ranges":[{"startOffset":27859,"endOffset":28036,"count":107}],"isBlockCoverage":true},{"functionName":"get searchParams","ranges":[{"startOffset":28054,"endOffset":28353,"count":0}],"isBlockCoverage":false},{"functionName":"get hash","ranges":[{"startOffset":28357,"endOffset":28572,"count":107},{"startOffset":28401,"endOffset":28463,"count":0},{"startOffset":28489,"endOffset":28571,"count":0}],"isBlockCoverage":true},{"functionName":"set hash","ranges":[{"startOffset":28576,"endOffset":28741,"count":107}],"isBlockCoverage":true},{"functionName":"toJSON","ranges":[{"startOffset":28745,"endOffset":28790,"count":0}],"isBlockCoverage":false},{"functionName":"canParse","ranges":[{"startOffset":28801,"endOffset":29198,"count":0}],"isBlockCoverage":false},{"functionName":"installObjectURLMethods","ranges":[{"startOffset":29910,"endOffset":30849,"count":1}],"isBlockCoverage":true},{"functionName":"createObjectURL","ranges":[{"startOffset":29997,"endOffset":30416,"count":0}],"isBlockCoverage":false},{"functionName":"revokeObjectURL","ranges":[{"startOffset":30420,"endOffset":30498,"count":0}],"isBlockCoverage":false},{"functionName":"parseParams","ranges":[{"startOffset":30958,"endOffset":33306,"count":0}],"isBlockCoverage":false},{"functionName":"serializeParams","ranges":[{"startOffset":34286,"endOffset":34846,"count":0}],"isBlockCoverage":false},{"functionName":"merge","ranges":[{"startOffset":34866,"endOffset":35496,"count":0}],"isBlockCoverage":false},{"functionName":"domainToASCII","ranges":[{"startOffset":35498,"endOffset":35683,"count":0}],"isBlockCoverage":false},{"functionName":"domainToUnicode","ranges":[{"startOffset":35685,"endOffset":35874,"count":0}],"isBlockCoverage":false},{"functionName":"urlToHttpOptions","ranges":[{"startOffset":36084,"endOffset":36785,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLWin32","ranges":[{"startOffset":36787,"endOffset":38284,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLPosix","ranges":[{"startOffset":38286,"endOffset":38807,"count":693},{"startOffset":38349,"endOffset":38405,"count":0},{"startOffset":38483,"endOffset":38766,"count":52892},{"startOffset":38514,"endOffset":38762,"count":0}],"isBlockCoverage":true},{"functionName":"fileURLToPath","ranges":[{"startOffset":38809,"endOffset":39148,"count":693},{"startOffset":38876,"endOffset":38897,"count":32},{"startOffset":38897,"endOffset":38991,"count":661},{"startOffset":38927,"endOffset":38991,"count":0},{"startOffset":39029,"endOffset":39070,"count":0},{"startOffset":39090,"endOffset":39117,"count":0}],"isBlockCoverage":true},{"functionName":"encodePathChars","ranges":[{"startOffset":39961,"endOffset":40737,"count":174},{"startOffset":40054,"endOffset":40125,"count":0},{"startOffset":40253,"endOffset":40326,"count":0},{"startOffset":40384,"endOffset":40455,"count":0},{"startOffset":40513,"endOffset":40591,"count":0},{"startOffset":40649,"endOffset":40716,"count":0}],"isBlockCoverage":true},{"functionName":"pathToFileURL","ranges":[{"startOffset":40739,"endOffset":42716,"count":174},{"startOffset":40790,"endOffset":40836,"count":0},{"startOffset":40838,"endOffset":41603,"count":0},{"startOffset":41885,"endOffset":41946,"count":173},{"startOffset":41906,"endOffset":41945,"count":0},{"startOffset":41948,"endOffset":41999,"count":1},{"startOffset":42005,"endOffset":42021,"count":1},{"startOffset":42477,"endOffset":42549,"count":0},{"startOffset":42606,"endOffset":42674,"count":0}],"isBlockCoverage":true},{"functionName":"toPathIfFileURL","ranges":[{"startOffset":42718,"endOffset":42855,"count":992},{"startOffset":42793,"endOffset":42814,"count":908},{"startOffset":42814,"endOffset":42854,"count":84}],"isBlockCoverage":true},{"functionName":"getURLOrigin","ranges":[{"startOffset":43042,"endOffset":43108,"count":0}],"isBlockCoverage":false}]},{"scriptId":"111","url":"node:internal/querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3316,"count":1}],"isBlockCoverage":false},{"functionName":"encodeStr","ranges":[{"startOffset":1534,"endOffset":3253,"count":0}],"isBlockCoverage":false}]},{"scriptId":"112","url":"node:querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14583,"count":1}],"isBlockCoverage":false},{"functionName":"unescapeBuffer","ranges":[{"startOffset":3146,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"qsUnescape","ranges":[{"startOffset":4400,"endOffset":4565,"count":0}],"isBlockCoverage":false},{"functionName":"qsEscape","ranges":[{"startOffset":5418,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"stringifyPrimitive","ranges":[{"startOffset":5719,"endOffset":5989,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringified","ranges":[{"startOffset":6110,"endOffset":6599,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringifiedCustom","ranges":[{"startOffset":6718,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":7065,"endOffset":8131,"count":0}],"isBlockCoverage":false},{"functionName":"charCodes","ranges":[{"startOffset":8187,"endOffset":8455,"count":0}],"isBlockCoverage":false},{"functionName":"addKeyVal","ranges":[{"startOffset":8518,"endOffset":9141,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":9392,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"decodeStr","ranges":[{"startOffset":14459,"endOffset":14582,"count":0}],"isBlockCoverage":false}]},{"scriptId":"113","url":"node:internal/bootstrap/web/exposed-wildcard","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3439,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":900,"endOffset":1129,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1153,"endOffset":1265,"count":0}],"isBlockCoverage":false},{"functionName":"createGlobalConsole","ranges":[{"startOffset":1898,"endOffset":2437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"114","url":"node:internal/console/global","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1814,"count":1}],"isBlockCoverage":false}]},{"scriptId":"115","url":"node:internal/console/constructor","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21601,"count":1}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1875,"endOffset":1975,"count":0}],"isBlockCoverage":false},{"functionName":"Console","ranges":[{"startOffset":2721,"endOffset":4813,"count":1},{"startOffset":2999,"endOffset":3053,"count":0},{"startOffset":3110,"endOffset":3223,"count":0},{"startOffset":3428,"endOffset":3486,"count":0},{"startOffset":3540,"endOffset":3598,"count":0},{"startOffset":3637,"endOffset":3660,"count":0},{"startOffset":3666,"endOffset":3722,"count":0},{"startOffset":3762,"endOffset":3871,"count":0},{"startOffset":3909,"endOffset":4215,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4331,"endOffset":4697,"count":19}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5042,"endOffset":5096,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5366,"endOffset":5607,"count":1}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5832,"endOffset":6477,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6041,"endOffset":6136,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6148,"endOffset":6178,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6308,"endOffset":6407,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6419,"endOffset":6449,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":6569,"endOffset":7977,"count":2}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":8069,"endOffset":9521,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":9616,"endOffset":10026,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10119,"endOffset":10299,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10392,"endOffset":10572,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteErrorHandler","ranges":[{"startOffset":10662,"endOffset":11551,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10730,"endOffset":11548,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":11580,"endOffset":11667,"count":0}],"isBlockCoverage":false},{"functionName":"warn","ranges":[{"startOffset":11673,"endOffset":11761,"count":0}],"isBlockCoverage":false},{"functionName":"dir","ranges":[{"startOffset":11767,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"time","ranges":[{"startOffset":11958,"endOffset":12316,"count":0}],"isBlockCoverage":false},{"functionName":"timeEnd","ranges":[{"startOffset":12321,"endOffset":12610,"count":0}],"isBlockCoverage":false},{"functionName":"timeLog","ranges":[{"startOffset":12615,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"trace","ranges":[{"startOffset":12865,"endOffset":13052,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":13057,"endOffset":13297,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":13358,"endOffset":13830,"count":0}],"isBlockCoverage":false},{"functionName":"count","ranges":[{"startOffset":13891,"endOffset":14347,"count":0}],"isBlockCoverage":false},{"functionName":"countReset","ranges":[{"startOffset":14413,"endOffset":14701,"count":0}],"isBlockCoverage":false},{"functionName":"group","ranges":[{"startOffset":14706,"endOffset":14891,"count":0}],"isBlockCoverage":false},{"functionName":"groupEnd","ranges":[{"startOffset":14896,"endOffset":15065,"count":0}],"isBlockCoverage":false},{"functionName":"table","ranges":[{"startOffset":15114,"endOffset":18432,"count":0}],"isBlockCoverage":false},{"functionName":"timeLogImpl","ranges":[{"startOffset":18473,"endOffset":18992,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":18994,"endOffset":19071,"count":0}],"isBlockCoverage":false},{"functionName":"formatTime","ranges":[{"startOffset":19073,"endOffset":19846,"count":0}],"isBlockCoverage":false},{"functionName":"isArray","ranges":[{"startOffset":19980,"endOffset":20036,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":20039,"endOffset":20057,"count":0}],"isBlockCoverage":false},{"functionName":"initializeGlobalConsole","ranges":[{"startOffset":20425,"endOffset":21464,"count":1},{"startOffset":20793,"endOffset":21463,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21359,"endOffset":21460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"116","url":"node:internal/util/inspector","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3929,"count":1}],"isBlockCoverage":false},{"functionName":"isUsingInspector","ranges":[{"startOffset":698,"endOffset":1081,"count":0}],"isBlockCoverage":false},{"functionName":"getInspectPort","ranges":[{"startOffset":1108,"endOffset":1485,"count":0}],"isBlockCoverage":false},{"functionName":"sendInspectorCommand","ranges":[{"startOffset":1500,"endOffset":2046,"count":0}],"isBlockCoverage":false},{"functionName":"isInspectorMessage","ranges":[{"startOffset":2048,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"installConsoleExtensions","ranges":[{"startOffset":2248,"endOffset":2891,"count":0}],"isBlockCoverage":false},{"functionName":"wrapConsole","ranges":[{"startOffset":2970,"endOffset":3778,"count":1},{"startOffset":3137,"endOffset":3776,"count":24},{"startOffset":3368,"endOffset":3654,"count":19},{"startOffset":3654,"endOffset":3772,"count":5}],"isBlockCoverage":true}]},{"scriptId":"117","url":"node:internal/process/permission","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":919,"count":1}],"isBlockCoverage":false},{"functionName":"isEnabled","ranges":[{"startOffset":315,"endOffset":559,"count":1794},{"startOffset":375,"endOffset":520,"count":1}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":563,"endOffset":913,"count":0}],"isBlockCoverage":false}]},{"scriptId":"118","url":"node:internal/event_target","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31545,"count":1}],"isBlockCoverage":false},{"functionName":"get isTrusted","ranges":[{"startOffset":2074,"endOffset":2130,"count":0}],"isBlockCoverage":false},{"functionName":"isEvent","ranges":[{"startOffset":2268,"endOffset":2340,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2342,"endOffset":7042,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":7039,"count":1}],"isBlockCoverage":false},{"functionName":"isCustomEvent","ranges":[{"startOffset":8173,"endOffset":8267,"count":0}],"isBlockCoverage":false},{"functionName":"CustomEvent","ranges":[{"startOffset":8497,"endOffset":8689,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":8722,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"NodeCustomEvent","ranges":[{"startOffset":9118,"endOffset":9245,"count":0}],"isBlockCoverage":false},{"functionName":"weakListeners","ranges":[{"startOffset":9495,"endOffset":9822,"count":0}],"isBlockCoverage":false},{"functionName":"Listener","ranges":[{"startOffset":10502,"endOffset":11966,"count":13},{"startOffset":10837,"endOffset":10856,"count":0},{"startOffset":10880,"endOffset":10902,"count":0},{"startOffset":10926,"endOffset":10948,"count":0},{"startOffset":11029,"endOffset":11048,"count":0},{"startOffset":11086,"endOffset":11122,"count":0},{"startOffset":11194,"endOffset":11650,"count":0},{"startOffset":11763,"endOffset":11962,"count":0}],"isBlockCoverage":true},{"functionName":"Listener.callback","ranges":[{"startOffset":11793,"endOffset":11923,"count":0}],"isBlockCoverage":false},{"functionName":"get once","ranges":[{"startOffset":11970,"endOffset":12030,"count":6}],"isBlockCoverage":true},{"functionName":"get capture","ranges":[{"startOffset":12033,"endOffset":12099,"count":4}],"isBlockCoverage":true},{"functionName":"get passive","ranges":[{"startOffset":12102,"endOffset":12168,"count":6}],"isBlockCoverage":true},{"functionName":"get isNodeStyleListener","ranges":[{"startOffset":12171,"endOffset":12251,"count":12}],"isBlockCoverage":true},{"functionName":"get weak","ranges":[{"startOffset":12254,"endOffset":12314,"count":39}],"isBlockCoverage":true},{"functionName":"get resistStopPropagation","ranges":[{"startOffset":12317,"endOffset":12411,"count":0}],"isBlockCoverage":false},{"functionName":"get removed","ranges":[{"startOffset":12414,"endOffset":12480,"count":6}],"isBlockCoverage":true},{"functionName":"set removed","ranges":[{"startOffset":12483,"endOffset":12600,"count":17},{"startOffset":12525,"endOffset":12552,"count":4},{"startOffset":12552,"endOffset":12596,"count":13}],"isBlockCoverage":true},{"functionName":"same","ranges":[{"startOffset":12604,"endOffset":12771,"count":16},{"startOffset":12663,"endOffset":12686,"count":0},{"startOffset":12739,"endOffset":12766,"count":4}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":12775,"endOffset":13032,"count":4},{"startOffset":12900,"endOffset":12935,"count":2},{"startOffset":12986,"endOffset":13028,"count":0}],"isBlockCoverage":true},{"functionName":"initEventTarget","ranges":[{"startOffset":13036,"endOffset":13255,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13463,"endOffset":13493,"count":1}],"isBlockCoverage":false},{"functionName":"EventTarget","ranges":[{"startOffset":13498,"endOffset":13544,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13548,"endOffset":14353,"count":13},{"startOffset":13709,"endOffset":13757,"count":0},{"startOffset":13759,"endOffset":14349,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14356,"endOffset":14407,"count":4}],"isBlockCoverage":true},{"functionName":"addEventListener","ranges":[{"startOffset":14796,"endOffset":17514,"count":13},{"startOffset":14891,"endOffset":14933,"count":0},{"startOffset":14970,"endOffset":15017,"count":0},{"startOffset":15409,"endOffset":15862,"count":0},{"startOffset":15926,"endOffset":16310,"count":0},{"startOffset":16381,"endOffset":16873,"count":7},{"startOffset":16873,"endOffset":17028,"count":6},{"startOffset":17028,"endOffset":17063,"count":8},{"startOffset":17065,"endOffset":17128,"count":8},{"startOffset":17128,"endOffset":17161,"count":6},{"startOffset":17161,"endOffset":17203,"count":0},{"startOffset":17203,"endOffset":17513,"count":6}],"isBlockCoverage":true},{"functionName":"signal.addEventListener.__proto__","ranges":[{"startOffset":16141,"endOffset":16215,"count":0}],"isBlockCoverage":false},{"functionName":"removeEventListener","ranges":[{"startOffset":17672,"endOffset":18513,"count":4},{"startOffset":17770,"endOffset":17812,"count":0},{"startOffset":17849,"endOffset":17896,"count":0},{"startOffset":17945,"endOffset":17952,"count":0},{"startOffset":18151,"endOffset":18158,"count":0},{"startOffset":18223,"endOffset":18509,"count":8},{"startOffset":18268,"endOffset":18473,"count":4},{"startOffset":18356,"endOffset":18383,"count":0},{"startOffset":18473,"endOffset":18509,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18517,"endOffset":19138,"count":0}],"isBlockCoverage":false},{"functionName":"dispatchEvent","ranges":[{"startOffset":19180,"endOffset":19641,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19645,"endOffset":21941,"count":4},{"startOffset":19944,"endOffset":20020,"count":0},{"startOffset":20119,"endOffset":20219,"count":0},{"startOffset":20496,"endOffset":21866,"count":6},{"startOffset":20637,"endOffset":20646,"count":0},{"startOffset":20656,"endOffset":20689,"count":0},{"startOffset":20692,"endOffset":21022,"count":0},{"startOffset":21047,"endOffset":21217,"count":0},{"startOffset":21327,"endOffset":21375,"count":0},{"startOffset":21414,"endOffset":21450,"count":0},{"startOffset":21622,"endOffset":21680,"count":0},{"startOffset":21724,"endOffset":21742,"count":0},{"startOffset":21754,"endOffset":21771,"count":0},{"startOffset":21780,"endOffset":21837,"count":0},{"startOffset":21903,"endOffset":21937,"count":0}],"isBlockCoverage":true},{"functionName":"createEvent","ranges":[{"startOffset":19713,"endOffset":19913,"count":0}],"isBlockCoverage":false},{"functionName":"iterationCondition","ranges":[{"startOffset":20296,"endOffset":20461,"count":10},{"startOffset":20337,"endOffset":20368,"count":4},{"startOffset":20368,"endOffset":20427,"count":6},{"startOffset":20428,"endOffset":20454,"count":6},{"startOffset":20436,"endOffset":20445,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21945,"endOffset":22043,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22046,"endOffset":22425,"count":0}],"isBlockCoverage":false},{"functionName":"initNodeEventTarget","ranges":[{"startOffset":22750,"endOffset":22813,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":22899,"endOffset":22930,"count":1}],"isBlockCoverage":false},{"functionName":"NodeEventTarget","ranges":[{"startOffset":22935,"endOffset":22998,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":23037,"endOffset":23191,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":23230,"endOffset":23383,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":23424,"endOffset":23573,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":23638,"endOffset":23847,"count":0}],"isBlockCoverage":false},{"functionName":"off","ranges":[{"startOffset":24037,"endOffset":24230,"count":4},{"startOffset":24108,"endOffset":24154,"count":0}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":24420,"endOffset":24624,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":24755,"endOffset":24960,"count":13},{"startOffset":24816,"endOffset":24862,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":25091,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":25393,"endOffset":25653,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":25784,"endOffset":26029,"count":0}],"isBlockCoverage":false},{"functionName":"removeAllListeners","ranges":[{"startOffset":26105,"endOffset":26360,"count":0}],"isBlockCoverage":false},{"functionName":"validateEventListener","ranges":[{"startOffset":26825,"endOffset":27197,"count":17},{"startOffset":26905,"endOffset":26957,"count":0},{"startOffset":26981,"endOffset":27196,"count":0}],"isBlockCoverage":true},{"functionName":"validateEventListenerOptions","ranges":[{"startOffset":27199,"endOffset":27778,"count":13},{"startOffset":27288,"endOffset":27316,"count":0},{"startOffset":27346,"endOffset":27366,"count":0}],"isBlockCoverage":true},{"functionName":"isEventTarget","ranges":[{"startOffset":28083,"endOffset":28159,"count":17}],"isBlockCoverage":true},{"functionName":"isNodeEventTarget","ranges":[{"startOffset":28161,"endOffset":28245,"count":17}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":28247,"endOffset":28561,"count":0}],"isBlockCoverage":false},{"functionName":"emitUncaughtException","ranges":[{"startOffset":28563,"endOffset":28644,"count":0}],"isBlockCoverage":false},{"functionName":"makeEventHandler","ranges":[{"startOffset":28646,"endOffset":29055,"count":0}],"isBlockCoverage":false},{"functionName":"defineEventHandler","ranges":[{"startOffset":29057,"endOffset":30523,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":29217,"endOffset":29353,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":29452,"endOffset":30290,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterMixin","ranges":[{"startOffset":30551,"endOffset":31241,"count":1},{"startOffset":30982,"endOffset":31144,"count":18}],"isBlockCoverage":true},{"functionName":"MixedEventEmitter","ranges":[{"startOffset":30620,"endOffset":30761,"count":58}],"isBlockCoverage":true}]},{"scriptId":"119","url":"node:util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10913,"count":1}],"isBlockCoverage":false},{"functionName":"lazyAbortController","ranges":[{"startOffset":2369,"endOffset":2489,"count":24}],"isBlockCoverage":true},{"functionName":"isBoolean","ranges":[{"startOffset":2600,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"isNull","ranges":[{"startOffset":2746,"endOffset":2793,"count":0}],"isBlockCoverage":false},{"functionName":"isNullOrUndefined","ranges":[{"startOffset":2891,"endOffset":2970,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":3056,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":3174,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbol","ranges":[{"startOffset":3320,"endOffset":3380,"count":0}],"isBlockCoverage":false},{"functionName":"isUndefined","ranges":[{"startOffset":3469,"endOffset":3526,"count":0}],"isBlockCoverage":false},{"functionName":"isObject","ranges":[{"startOffset":3623,"endOffset":3699,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":3782,"endOffset":3885,"count":0}],"isBlockCoverage":false},{"functionName":"isFunction","ranges":[{"startOffset":3973,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"isPrimitive","ranges":[{"startOffset":4172,"endOffset":4291,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":4343,"endOffset":4418,"count":0}],"isBlockCoverage":false},{"functionName":"timestamp","ranges":[{"startOffset":4584,"endOffset":4865,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":5023,"endOffset":5176,"count":0}],"isBlockCoverage":false},{"functionName":"inherits","ranges":[{"startOffset":5909,"endOffset":6547,"count":0}],"isBlockCoverage":false},{"functionName":"_extend","ranges":[{"startOffset":6700,"endOffset":6988,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7036,"endOffset":7461,"count":0}],"isBlockCoverage":false},{"functionName":"callbackify","ranges":[{"startOffset":7714,"endOffset":9211,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorName","ranges":[{"startOffset":9265,"endOffset":9481,"count":0}],"isBlockCoverage":false},{"functionName":"isDeepStrictEqual","ranges":[{"startOffset":9882,"endOffset":10087,"count":0}],"isBlockCoverage":false},{"functionName":"get transferableAbortSignal","ranges":[{"startOffset":10340,"endOffset":10433,"count":8}],"isBlockCoverage":true},{"functionName":"get transferableAbortController","ranges":[{"startOffset":10437,"endOffset":10538,"count":8}],"isBlockCoverage":true},{"functionName":"get aborted","ranges":[{"startOffset":10542,"endOffset":10603,"count":8}],"isBlockCoverage":true}]},{"scriptId":"120","url":"node:internal/webidl","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4636,"count":1}],"isBlockCoverage":false},{"functionName":"evenRound","ranges":[{"startOffset":825,"endOffset":1150,"count":0}],"isBlockCoverage":false},{"functionName":"pow2","ranges":[{"startOffset":1152,"endOffset":1415,"count":0}],"isBlockCoverage":false},{"functionName":"modulo","ranges":[{"startOffset":1527,"endOffset":1641,"count":0}],"isBlockCoverage":false},{"functionName":"convertToInt","ranges":[{"startOffset":1706,"endOffset":4313,"count":0}],"isBlockCoverage":false},{"functionName":"DOMString","ranges":[{"startOffset":4438,"endOffset":4568,"count":17},{"startOffset":4491,"endOffset":4545,"count":0}],"isBlockCoverage":true}]},{"scriptId":"121","url":"node:internal/perf/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":787,"count":1}],"isBlockCoverage":false},{"functionName":"getTimeOrigin","ranges":[{"startOffset":138,"endOffset":316,"count":0}],"isBlockCoverage":false},{"functionName":"now","ranges":[{"startOffset":390,"endOffset":496,"count":0}],"isBlockCoverage":false},{"functionName":"getMilestoneTimestamp","ranges":[{"startOffset":575,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"122","url":"node:internal/bootstrap/web/exposed-window-or-worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2185,"count":1}],"isBlockCoverage":false}]},{"scriptId":"123","url":"node:internal/bootstrap/switches/is_not_main_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1185,"count":1}],"isBlockCoverage":false},{"functionName":"defineStream","ranges":[{"startOffset":119,"endOffset":288,"count":3}],"isBlockCoverage":true},{"functionName":"lazyWorkerStdio","ranges":[{"startOffset":902,"endOffset":1009,"count":23},{"startOffset":951,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"getStdout","ranges":[{"startOffset":1011,"endOffset":1068,"count":8}],"isBlockCoverage":true},{"functionName":"getStderr","ranges":[{"startOffset":1070,"endOffset":1127,"count":9}],"isBlockCoverage":true},{"functionName":"getStdin","ranges":[{"startOffset":1129,"endOffset":1184,"count":6}],"isBlockCoverage":true}]},{"scriptId":"124","url":"node:internal/process/signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":false},{"functionName":"isSignal","ranges":[{"startOffset":238,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"startListeningIfSignal","ranges":[{"startOffset":398,"endOffset":904,"count":0}],"isBlockCoverage":false},{"functionName":"stopListeningIfSignal","ranges":[{"startOffset":906,"endOffset":1101,"count":0}],"isBlockCoverage":false}]},{"scriptId":"125","url":"node:internal/worker/io","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15479,"count":1}],"isBlockCoverage":false},{"functionName":"MessagePort.hasRef","ranges":[{"startOffset":3683,"endOffset":3766,"count":0}],"isBlockCoverage":false},{"functionName":"validateMessagePort","ranges":[{"startOffset":3769,"endOffset":3907,"count":0}],"isBlockCoverage":false},{"functionName":"isMessageEvent","ranges":[{"startOffset":3909,"endOffset":3985,"count":0}],"isBlockCoverage":false},{"functionName":"MessageEvent","ranges":[{"startOffset":4024,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4628,"endOffset":4752,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4862,"endOffset":4988,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5103,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5344,"endOffset":5470,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5579,"endOffset":5704,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5946,"endOffset":6264,"count":0}],"isBlockCoverage":false},{"functionName":"oninit","ranges":[{"startOffset":6403,"endOffset":6546,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortCloseEvent","ranges":[{"startOffset":6848,"endOffset":6887,"count":0}],"isBlockCoverage":false},{"functionName":"onclose","ranges":[{"startOffset":6960,"endOffset":7033,"count":0}],"isBlockCoverage":false},{"functionName":"MessagePort.close","ranges":[{"startOffset":7214,"endOffset":7349,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":7482,"endOffset":8110,"count":0}],"isBlockCoverage":false},{"functionName":"setupPortReferencing","ranges":[{"startOffset":8117,"endOffset":9480,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8478,"endOffset":8573,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8612,"endOffset":8710,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8812,"endOffset":8957,"count":9},{"startOffset":8872,"endOffset":8894,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9068,"endOffset":9215,"count":4},{"startOffset":9128,"endOffset":9149,"count":3}],"isBlockCoverage":true},{"functionName":"newListener","ranges":[{"startOffset":9221,"endOffset":9362,"count":6},{"startOffset":9270,"endOffset":9358,"count":2}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":9366,"endOffset":9478,"count":3},{"startOffset":9418,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"ReadableWorkerStdio","ranges":[{"startOffset":9530,"endOffset":9879,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9708,"endOffset":9873,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":9883,"endOffset":10189,"count":0}],"isBlockCoverage":false},{"functionName":"WritableWorkerStdio","ranges":[{"startOffset":10240,"endOffset":10389,"count":2}],"isBlockCoverage":true},{"functionName":"_writev","ranges":[{"startOffset":10393,"endOffset":10769,"count":0}],"isBlockCoverage":false},{"functionName":"_final","ranges":[{"startOffset":10773,"endOffset":10953,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10957,"endOffset":11204,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11099,"endOffset":11111,"count":0}],"isBlockCoverage":false},{"functionName":"createWorkerStdio","ranges":[{"startOffset":11208,"endOffset":11478,"count":1}],"isBlockCoverage":true},{"functionName":"receiveMessageOnPort","ranges":[{"startOffset":11480,"endOffset":11660,"count":0}],"isBlockCoverage":false},{"functionName":"onMessageEvent","ranges":[{"startOffset":11662,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"isBroadcastChannel","ranges":[{"startOffset":11759,"endOffset":11845,"count":0}],"isBlockCoverage":false},{"functionName":"BroadcastChannel","ranges":[{"startOffset":11932,"endOffset":12446,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12450,"endOffset":12863,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":12899,"endOffset":13028,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13065,"endOffset":13463,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":13531,"endOffset":13941,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":14224,"endOffset":14391,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":14676,"endOffset":14847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"126","url":"node:stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4784,"count":1}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2402,"endOffset":2558,"count":0}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2983,"endOffset":3117,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4105,"endOffset":4137,"count":16}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4235,"endOffset":4276,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4369,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"_uint8ArrayToBuffer","ranges":[{"startOffset":4575,"endOffset":4782,"count":0}],"isBlockCoverage":false}]},{"scriptId":"127","url":"node:internal/streams/operators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10772,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":1019,"endOffset":1599,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":1601,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"asIndexedPairs","ranges":[{"startOffset":4706,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"some","ranges":[{"startOffset":5181,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"every","ranges":[{"startOffset":5331,"endOffset":5659,"count":0}],"isBlockCoverage":false},{"functionName":"find","ranges":[{"startOffset":5661,"endOffset":5803,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":5805,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":6177,"endOffset":6504,"count":0}],"isBlockCoverage":false},{"functionName":"ReduceAwareErrMissingArgs","ranges":[{"startOffset":6720,"endOffset":6834,"count":0}],"isBlockCoverage":false},{"functionName":"reduce","ranges":[{"startOffset":6838,"endOffset":8280,"count":0}],"isBlockCoverage":false},{"functionName":"toArray","ranges":[{"startOffset":8282,"endOffset":8711,"count":0}],"isBlockCoverage":false},{"functionName":"flatMap","ranges":[{"startOffset":8713,"endOffset":8907,"count":0}],"isBlockCoverage":false},{"functionName":"toIntegerOrInfinity","ranges":[{"startOffset":8909,"endOffset":9231,"count":0}],"isBlockCoverage":false},{"functionName":"drop","ranges":[{"startOffset":9233,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"take","ranges":[{"startOffset":9783,"endOffset":10453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"128","url":"node:internal/abort_controller","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12413,"count":1}],"isBlockCoverage":false},{"functionName":"lazyMessageChannel","ranges":[{"startOffset":1574,"endOffset":1707,"count":0}],"isBlockCoverage":false},{"functionName":"lazyMakeTransferable","ranges":[{"startOffset":1709,"endOffset":1867,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":2337,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"validateThisAbortSignal","ranges":[{"startOffset":2598,"endOffset":2723,"count":0}],"isBlockCoverage":false},{"functionName":"setWeakAbortSignalTimeout","ranges":[{"startOffset":3305,"endOffset":3705,"count":0}],"isBlockCoverage":false},{"functionName":"AbortSignal","ranges":[{"startOffset":3749,"endOffset":3809,"count":0}],"isBlockCoverage":false},{"functionName":"get aborted","ranges":[{"startOffset":3846,"endOffset":3929,"count":0}],"isBlockCoverage":false},{"functionName":"get reason","ranges":[{"startOffset":3962,"endOffset":4041,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfAborted","ranges":[{"startOffset":4045,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4165,"endOffset":4294,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":4372,"endOffset":4516,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":4594,"endOffset":4856,"count":0}],"isBlockCoverage":false},{"functionName":"any","ranges":[{"startOffset":4943,"endOffset":6278,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6282,"endOffset":7050,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7408,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7412,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8023,"endOffset":8275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8279,"endOffset":8727,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal","ranges":[{"startOffset":8731,"endOffset":8815,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal.","ranges":[{"startOffset":8860,"endOffset":8868,"count":0}],"isBlockCoverage":false},{"functionName":"createAbortSignal","ranges":[{"startOffset":9346,"endOffset":9759,"count":0}],"isBlockCoverage":false},{"functionName":"abortSignal","ranges":[{"startOffset":9761,"endOffset":10123,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10125,"endOffset":10781,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortSignal","ranges":[{"startOffset":10929,"endOffset":11121,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortController","ranges":[{"startOffset":11193,"endOffset":11282,"count":0}],"isBlockCoverage":false},{"functionName":"aborted","ranges":[{"startOffset":11376,"endOffset":11964,"count":0}],"isBlockCoverage":false}]},{"scriptId":"129","url":"node:internal/streams/end-of-stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8360,"count":1}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":891,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":1000,"endOffset":1008,"count":0}],"isBlockCoverage":false},{"functionName":"eos","ranges":[{"startOffset":1011,"endOffset":6953,"count":0}],"isBlockCoverage":false},{"functionName":"eosWeb","ranges":[{"startOffset":6955,"endOffset":7840,"count":0}],"isBlockCoverage":false},{"functionName":"finished","ranges":[{"startOffset":7842,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"130","url":"node:internal/streams/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8416,"count":1}],"isBlockCoverage":false},{"functionName":"isReadableNodeStream","ranges":[{"startOffset":774,"endOffset":1191,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableNodeStream","ranges":[{"startOffset":1193,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexNodeStream","ranges":[{"startOffset":1415,"endOffset":1614,"count":0}],"isBlockCoverage":false},{"functionName":"isNodeStream","ranges":[{"startOffset":1616,"endOffset":1887,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":1889,"endOffset":2103,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":2105,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":2275,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"isWebStream","ranges":[{"startOffset":2444,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"isIterable","ranges":[{"startOffset":2558,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"isDestroyed","ranges":[{"startOffset":2890,"endOffset":3153,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableEnded","ranges":[{"startOffset":3177,"endOffset":3468,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableFinished","ranges":[{"startOffset":3496,"endOffset":3893,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableEnded","ranges":[{"startOffset":3922,"endOffset":4223,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableFinished","ranges":[{"startOffset":4248,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":4598,"endOffset":4898,"count":0}],"isBlockCoverage":false},{"functionName":"isWritable","ranges":[{"startOffset":4900,"endOffset":5197,"count":0}],"isBlockCoverage":false},{"functionName":"isFinished","ranges":[{"startOffset":5199,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableErrored","ranges":[{"startOffset":5515,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableErrored","ranges":[{"startOffset":5729,"endOffset":5941,"count":0}],"isBlockCoverage":false},{"functionName":"isClosed","ranges":[{"startOffset":5943,"endOffset":6448,"count":0}],"isBlockCoverage":false},{"functionName":"isOutgoingMessage","ranges":[{"startOffset":6450,"endOffset":6702,"count":0}],"isBlockCoverage":false},{"functionName":"isServerResponse","ranges":[{"startOffset":6704,"endOffset":6831,"count":0}],"isBlockCoverage":false},{"functionName":"isServerRequest","ranges":[{"startOffset":6833,"endOffset":7021,"count":0}],"isBlockCoverage":false},{"functionName":"willEmitClose","ranges":[{"startOffset":7023,"endOffset":7361,"count":0}],"isBlockCoverage":false},{"functionName":"isDisturbed","ranges":[{"startOffset":7363,"endOffset":7508,"count":0}],"isBlockCoverage":false},{"functionName":"isErrored","ranges":[{"startOffset":7510,"endOffset":7815,"count":0}],"isBlockCoverage":false}]},{"scriptId":"131","url":"node:internal/streams/compose","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5451,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":543,"endOffset":5449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"132","url":"node:internal/streams/pipeline","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12326,"count":1}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":1058,"endOffset":1487,"count":0}],"isBlockCoverage":false},{"functionName":"popCallback","ranges":[{"startOffset":1489,"endOffset":1817,"count":0}],"isBlockCoverage":false},{"functionName":"makeAsyncIterable","ranges":[{"startOffset":1819,"endOffset":2105,"count":0}],"isBlockCoverage":false},{"functionName":"fromReadable","ranges":[{"startOffset":2107,"endOffset":2281,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToNode","ranges":[{"startOffset":2283,"endOffset":3327,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToWeb","ranges":[{"startOffset":3329,"endOffset":3927,"count":0}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":3929,"endOffset":4022,"count":0}],"isBlockCoverage":false},{"functionName":"pipelineImpl","ranges":[{"startOffset":4024,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"pipe","ranges":[{"startOffset":10478,"endOffset":12279,"count":0}],"isBlockCoverage":false}]},{"scriptId":"133","url":"node:internal/streams/destroy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6826,"count":1}],"isBlockCoverage":false},{"functionName":"checkError","ranges":[{"startOffset":360,"endOffset":671,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":781,"endOffset":1568,"count":0}],"isBlockCoverage":false},{"functionName":"_destroy","ranges":[{"startOffset":1570,"endOffset":2184,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseNT","ranges":[{"startOffset":2186,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":2275,"endOffset":2523,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":2525,"endOffset":2800,"count":0}],"isBlockCoverage":false},{"functionName":"undestroy","ranges":[{"startOffset":2802,"endOffset":3492,"count":0}],"isBlockCoverage":false},{"functionName":"errorOrDestroy","ranges":[{"startOffset":3494,"endOffset":4413,"count":0}],"isBlockCoverage":false},{"functionName":"construct","ranges":[{"startOffset":4415,"endOffset":4821,"count":3},{"startOffset":4512,"endOffset":4820,"count":0}],"isBlockCoverage":true},{"functionName":"constructNT","ranges":[{"startOffset":4823,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"emitConstructNT","ranges":[{"startOffset":5572,"endOffset":5635,"count":0}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":5637,"endOffset":5733,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseLegacy","ranges":[{"startOffset":5735,"endOffset":5795,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseLegacy","ranges":[{"startOffset":5797,"endOffset":5917,"count":0}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":5952,"endOffset":6734,"count":0}],"isBlockCoverage":false}]},{"scriptId":"134","url":"node:internal/streams/duplex","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4938,"count":1}],"isBlockCoverage":false},{"functionName":"Duplex","ranges":[{"startOffset":1996,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3811,"endOffset":4023,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4029,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":4364,"endOffset":4528,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.fromWeb","ranges":[{"startOffset":4547,"endOffset":4665,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.toWeb","ranges":[{"startOffset":4683,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.from","ranges":[{"startOffset":4805,"endOffset":4936,"count":0}],"isBlockCoverage":false}]},{"scriptId":"135","url":"node:internal/streams/readable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43849,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1799,"endOffset":1824,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2617,"endOffset":2625,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3306,"endOffset":3522,"count":19}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3381,"endOffset":3423,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":3429,"endOffset":3514,"count":0}],"isBlockCoverage":false},{"functionName":"ReadableState","ranges":[{"startOffset":5398,"endOffset":8222,"count":1},{"startOffset":5797,"endOffset":5840,"count":0},{"startOffset":6159,"endOffset":6180,"count":0},{"startOffset":6182,"endOffset":6208,"count":0},{"startOffset":6225,"endOffset":6235,"count":0},{"startOffset":6236,"endOffset":6265,"count":0},{"startOffset":6271,"endOffset":6297,"count":0},{"startOffset":6472,"endOffset":6544,"count":0},{"startOffset":6946,"endOffset":6976,"count":0},{"startOffset":6978,"endOffset":7004,"count":0},{"startOffset":7093,"endOffset":7125,"count":0},{"startOffset":7127,"endOffset":7155,"count":0},{"startOffset":7652,"endOffset":7669,"count":0},{"startOffset":7742,"endOffset":7901,"count":0},{"startOffset":8100,"endOffset":8119,"count":0},{"startOffset":8121,"endOffset":8220,"count":0}],"isBlockCoverage":true},{"functionName":"Readable","ranges":[{"startOffset":8225,"endOffset":9113,"count":1},{"startOffset":8293,"endOffset":8322,"count":0},{"startOffset":8593,"endOffset":8937,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9000,"endOffset":9109,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._destroy","ranges":[{"startOffset":9250,"endOffset":9282,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9333,"endOffset":9371,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9415,"endOffset":9671,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.push","ranges":[{"startOffset":9900,"endOffset":9986,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unshift","ranges":[{"startOffset":10082,"endOffset":10167,"count":0}],"isBlockCoverage":false},{"functionName":"readableAddChunk","ranges":[{"startOffset":10170,"endOffset":12572,"count":0}],"isBlockCoverage":false},{"functionName":"addChunk","ranges":[{"startOffset":12574,"endOffset":13339,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.isPaused","ranges":[{"startOffset":13371,"endOffset":13483,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.setEncoding","ranges":[{"startOffset":13547,"endOffset":14108,"count":0}],"isBlockCoverage":false},{"functionName":"computeNewHighWaterMark","ranges":[{"startOffset":14169,"endOffset":14520,"count":0}],"isBlockCoverage":false},{"functionName":"howMuchToRead","ranges":[{"startOffset":14633,"endOffset":15044,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.read","ranges":[{"startOffset":15141,"endOffset":19643,"count":0}],"isBlockCoverage":false},{"functionName":"onEofChunk","ranges":[{"startOffset":19646,"endOffset":20466,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable","ranges":[{"startOffset":20667,"endOffset":20994,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable_","ranges":[{"startOffset":20996,"endOffset":21650,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore","ranges":[{"startOffset":22000,"endOffset":22177,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore_","ranges":[{"startOffset":22179,"endOffset":23971,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._read","ranges":[{"startOffset":24242,"endOffset":24308,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pipe","ranges":[{"startOffset":24337,"endOffset":28782,"count":0}],"isBlockCoverage":false},{"functionName":"pipeOnDrain","ranges":[{"startOffset":28785,"endOffset":29430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unpipe","ranges":[{"startOffset":29461,"endOffset":30162,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.on","ranges":[{"startOffset":30288,"endOffset":31195,"count":1},{"startOffset":30420,"endOffset":30752,"count":0},{"startOffset":30781,"endOffset":31178,"count":0}],"isBlockCoverage":true},{"functionName":"Readable.removeListener","ranges":[{"startOffset":31290,"endOffset":31855,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.removeAllListeners","ranges":[{"startOffset":31958,"endOffset":32552,"count":0}],"isBlockCoverage":false},{"functionName":"updateReadableListening","ranges":[{"startOffset":32555,"endOffset":33065,"count":0}],"isBlockCoverage":false},{"functionName":"nReadingNextTick","ranges":[{"startOffset":33067,"endOffset":33155,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.resume","ranges":[{"startOffset":33309,"endOffset":33634,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":33637,"endOffset":33787,"count":0}],"isBlockCoverage":false},{"functionName":"resume_","ranges":[{"startOffset":33789,"endOffset":34040,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pause","ranges":[{"startOffset":34069,"endOffset":34336,"count":0}],"isBlockCoverage":false},{"functionName":"flow","ranges":[{"startOffset":34339,"endOffset":34486,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":34670,"endOffset":35691,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":35736,"endOffset":35788,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.iterator","ranges":[{"startOffset":35821,"endOffset":35964,"count":0}],"isBlockCoverage":false},{"functionName":"streamToAsyncIterator","ranges":[{"startOffset":35967,"endOffset":36216,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncIterator","ranges":[{"startOffset":36218,"endOffset":37294,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":37513,"endOffset":37902,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":37908,"endOffset":38038,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38120,"endOffset":38184,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38266,"endOffset":38474,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38562,"endOffset":38628,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38709,"endOffset":38791,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38873,"endOffset":38933,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":38944,"endOffset":39053,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39129,"endOffset":39183,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39263,"endOffset":39351,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39429,"endOffset":39514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39583,"endOffset":39667,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39712,"endOffset":39796,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39867,"endOffset":39954,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":39960,"endOffset":40249,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40324,"endOffset":40412,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40553,"endOffset":40598,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40678,"endOffset":40729,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":40735,"endOffset":40784,"count":0}],"isBlockCoverage":false},{"functionName":"fromList","ranges":[{"startOffset":41090,"endOffset":41652,"count":0}],"isBlockCoverage":false},{"functionName":"endReadable","ranges":[{"startOffset":41654,"endOffset":41875,"count":0}],"isBlockCoverage":false},{"functionName":"endReadableNT","ranges":[{"startOffset":41877,"endOffset":42797,"count":0}],"isBlockCoverage":false},{"functionName":"endWritableNT","ranges":[{"startOffset":42799,"endOffset":42959,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.from","ranges":[{"startOffset":42977,"endOffset":43046,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":43111,"endOffset":43275,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.fromWeb","ranges":[{"startOffset":43296,"endOffset":43430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.toWeb","ranges":[{"startOffset":43450,"endOffset":43584,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":43603,"endOffset":43847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"136","url":"node:internal/streams/legacy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2934,"count":1}],"isBlockCoverage":false},{"functionName":"Stream","ranges":[{"startOffset":112,"endOffset":160,"count":3}],"isBlockCoverage":true},{"functionName":"Stream.pipe","ranges":[{"startOffset":274,"endOffset":2076,"count":0}],"isBlockCoverage":false},{"functionName":"prependListener","ranges":[{"startOffset":2079,"endOffset":2886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"137","url":"node:internal/streams/add-abort-signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1704,"count":1}],"isBlockCoverage":false},{"functionName":"validateAbortSignal","ranges":[{"startOffset":557,"endOffset":716,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortSignal","ranges":[{"startOffset":751,"endOffset":1062,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.addAbortSignalNoValidate","ranges":[{"startOffset":1107,"endOffset":1702,"count":0}],"isBlockCoverage":false}]},{"scriptId":"138","url":"node:internal/streams/buffer_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4060,"count":1}],"isBlockCoverage":false},{"functionName":"BufferList","ranges":[{"startOffset":254,"endOffset":338,"count":1}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":342,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":533,"endOffset":691,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":695,"endOffset":922,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":926,"endOffset":994,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":998,"endOffset":1180,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":1184,"endOffset":1467,"count":0}],"isBlockCoverage":false},{"functionName":"consume","ranges":[{"startOffset":1551,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":2009,"endOffset":2049,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":2053,"endOffset":2149,"count":0}],"isBlockCoverage":false},{"functionName":"_getString","ranges":[{"startOffset":2224,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"_getBuffer","ranges":[{"startOffset":2932,"endOffset":3779,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":3860,"endOffset":4056,"count":0}],"isBlockCoverage":false}]},{"scriptId":"139","url":"node:internal/streams/state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1332,"count":1}],"isBlockCoverage":false},{"functionName":"highWaterMarkFrom","ranges":[{"startOffset":287,"endOffset":454,"count":2},{"startOffset":385,"endOffset":408,"count":0},{"startOffset":424,"endOffset":444,"count":0}],"isBlockCoverage":true},{"functionName":"getDefaultHighWaterMark","ranges":[{"startOffset":456,"endOffset":586,"count":3},{"startOffset":523,"endOffset":555,"count":0}],"isBlockCoverage":true},{"functionName":"setDefaultHighWaterMark","ranges":[{"startOffset":588,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"getHighWaterMark","ranges":[{"startOffset":801,"endOffset":1234,"count":2},{"startOffset":948,"endOffset":1160,"count":0}],"isBlockCoverage":true}]},{"scriptId":"140","url":"node:string_decoder","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5213,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeEncoding","ranges":[{"startOffset":2129,"endOffset":2391,"count":0}],"isBlockCoverage":false},{"functionName":"StringDecoder","ranges":[{"startOffset":2705,"endOffset":2904,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3227,"endOffset":3612,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":3889,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":4291,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4586,"endOffset":4799,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4891,"endOffset":4954,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5047,"endOffset":5162,"count":0}],"isBlockCoverage":false}]},{"scriptId":"141","url":"node:internal/streams/from","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2614,"count":1}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":241,"endOffset":2589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"142","url":"node:internal/streams/writable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29040,"count":1}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2389,"endOffset":2406,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3093,"endOffset":3309,"count":20}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3168,"endOffset":3210,"count":2}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3216,"endOffset":3301,"count":0}],"isBlockCoverage":false},{"functionName":"WritableState","ranges":[{"startOffset":5971,"endOffset":9003,"count":2},{"startOffset":6366,"endOffset":6409,"count":0},{"startOffset":6630,"endOffset":6656,"count":0},{"startOffset":6672,"endOffset":6682,"count":0},{"startOffset":6683,"endOffset":6712,"count":0},{"startOffset":6714,"endOffset":6740,"count":0},{"startOffset":7031,"endOffset":7067,"count":0},{"startOffset":7121,"endOffset":7150,"count":0},{"startOffset":7257,"endOffset":7283,"count":0},{"startOffset":7406,"endOffset":7434,"count":0},{"startOffset":7754,"endOffset":7913,"count":0}],"isBlockCoverage":true},{"functionName":"resetBuffer","ranges":[{"startOffset":9005,"endOffset":9127,"count":2}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":9165,"endOffset":9254,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9350,"endOffset":9415,"count":0}],"isBlockCoverage":false},{"functionName":"Writable","ranges":[{"startOffset":9422,"endOffset":10950,"count":2},{"startOffset":10123,"endOffset":10152,"count":0},{"startOffset":10291,"endOffset":10319,"count":0},{"startOffset":10373,"endOffset":10403,"count":0},{"startOffset":10458,"endOffset":10490,"count":0},{"startOffset":10543,"endOffset":10571,"count":0},{"startOffset":10628,"endOffset":10664,"count":0},{"startOffset":10696,"endOffset":10733,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10800,"endOffset":10946,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":11032,"endOffset":11236,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.pipe","ranges":[{"startOffset":11337,"endOffset":11405,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":11408,"endOffset":12809,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.write","ranges":[{"startOffset":12838,"endOffset":12924,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.cork","ranges":[{"startOffset":12953,"endOffset":12999,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.uncork","ranges":[{"startOffset":13030,"endOffset":13201,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultEncoding","ranges":[{"startOffset":13244,"endOffset":13569,"count":0}],"isBlockCoverage":false},{"functionName":"writeOrBuffer","ranges":[{"startOffset":13759,"endOffset":14872,"count":0}],"isBlockCoverage":false},{"functionName":"doWrite","ranges":[{"startOffset":14874,"endOffset":15262,"count":0}],"isBlockCoverage":false},{"functionName":"onwriteError","ranges":[{"startOffset":15264,"endOffset":15649,"count":0}],"isBlockCoverage":false},{"functionName":"onwrite","ranges":[{"startOffset":15651,"endOffset":17310,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteTick","ranges":[{"startOffset":17312,"endOffset":17451,"count":0}],"isBlockCoverage":false},{"functionName":"afterWrite","ranges":[{"startOffset":17453,"endOffset":17869,"count":0}],"isBlockCoverage":false},{"functionName":"errorBuffer","ranges":[{"startOffset":17941,"endOffset":18532,"count":0}],"isBlockCoverage":false},{"functionName":"clearBuffer","ranges":[{"startOffset":18598,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._write","ranges":[{"startOffset":20262,"endOffset":20431,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.end","ranges":[{"startOffset":20495,"endOffset":21953,"count":0}],"isBlockCoverage":false},{"functionName":"needFinish","ranges":[{"startOffset":21956,"endOffset":22419,"count":0}],"isBlockCoverage":false},{"functionName":"callFinal","ranges":[{"startOffset":22421,"endOffset":23393,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":23395,"endOffset":23733,"count":0}],"isBlockCoverage":false},{"functionName":"finishMaybe","ranges":[{"startOffset":23735,"endOffset":24234,"count":0}],"isBlockCoverage":false},{"functionName":"finish","ranges":[{"startOffset":24236,"endOffset":24986,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25071,"endOffset":25172,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25220,"endOffset":25324,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":25330,"endOffset":25576,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25623,"endOffset":26027,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":26033,"endOffset":26167,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26222,"endOffset":26325,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26382,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26540,"endOffset":26622,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26674,"endOffset":26775,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26831,"endOffset":27046,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27106,"endOffset":27190,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27243,"endOffset":27323,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27376,"endOffset":27453,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27522,"endOffset":27606,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27688,"endOffset":27927,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.destroy","ranges":[{"startOffset":28005,"endOffset":28318,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._destroy","ranges":[{"startOffset":28406,"endOffset":28438,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.","ranges":[{"startOffset":28489,"endOffset":28527,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":28592,"endOffset":28756,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.fromWeb","ranges":[{"startOffset":28777,"endOffset":28911,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.toWeb","ranges":[{"startOffset":28931,"endOffset":29038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"143","url":"node:stream/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":917,"count":1}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":318,"endOffset":869,"count":0}],"isBlockCoverage":false}]},{"scriptId":"144","url":"node:internal/streams/transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7176,"count":1}],"isBlockCoverage":false},{"functionName":"Transform","ranges":[{"startOffset":3920,"endOffset":5747,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5749,"endOffset":6193,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":6195,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._transform","ranges":[{"startOffset":6348,"endOffset":6443,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._write","ranges":[{"startOffset":6475,"endOffset":7018,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._read","ranges":[{"startOffset":7049,"endOffset":7174,"count":0}],"isBlockCoverage":false}]},{"scriptId":"145","url":"node:internal/streams/passthrough","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1762,"count":1}],"isBlockCoverage":false},{"functionName":"PassThrough","ranges":[{"startOffset":1529,"endOffset":1671,"count":0}],"isBlockCoverage":false},{"functionName":"PassThrough._transform","ranges":[{"startOffset":1708,"endOffset":1760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"146","url":"node:internal/bootstrap/switches/does_not_own_process_state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1278,"count":1}],"isBlockCoverage":false},{"functionName":"wrappedUmask","ranges":[{"startOffset":1047,"endOffset":1277,"count":0}],"isBlockCoverage":false}]},{"scriptId":"147","url":"node:internal/process/worker_thread_only","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":426,"count":1}],"isBlockCoverage":false},{"functionName":"unavailable","ranges":[{"startOffset":194,"endOffset":387,"count":8}],"isBlockCoverage":true},{"functionName":"unavailableInWorker","ranges":[{"startOffset":225,"endOffset":315,"count":0}],"isBlockCoverage":false}]},{"scriptId":"148","url":"node:internal/main/worker_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7311,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1096,"endOffset":1121,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2200,"endOffset":5806,"count":3},{"startOffset":2251,"endOffset":5390,"count":1},{"startOffset":2537,"endOffset":2599,"count":0},{"startOffset":3460,"endOffset":3541,"count":0},{"startOffset":3597,"endOffset":3671,"count":0},{"startOffset":3737,"endOffset":3762,"count":0},{"startOffset":3961,"endOffset":4206,"count":0},{"startOffset":4214,"endOffset":4743,"count":0},{"startOffset":4751,"endOffset":4995,"count":0},{"startOffset":5390,"endOffset":5804,"count":2},{"startOffset":5432,"endOffset":5591,"count":0}],"isBlockCoverage":true},{"functionName":"process.cwd","ranges":[{"startOffset":3133,"endOffset":3384,"count":3},{"startOffset":3260,"endOffset":3277,"count":2},{"startOffset":3277,"endOffset":3383,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4900,"endOffset":4970,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5508,"endOffset":5585,"count":0}],"isBlockCoverage":false},{"functionName":"workerOnGlobalUncaughtException","ranges":[{"startOffset":5810,"endOffset":7002,"count":0}],"isBlockCoverage":false}]},{"scriptId":"149","url":"node:internal/process/pre_execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":22973,"count":1}],"isBlockCoverage":false},{"functionName":"prepareMainThreadExecution","ranges":[{"startOffset":1091,"endOffset":1268,"count":0}],"isBlockCoverage":false},{"functionName":"prepareWorkerThreadExecution","ranges":[{"startOffset":1270,"endOffset":1469,"count":1}],"isBlockCoverage":true},{"functionName":"prepareExecution","ranges":[{"startOffset":1471,"endOffset":3628,"count":1},{"startOffset":2237,"endOffset":3408,"count":0},{"startOffset":3597,"endOffset":3626,"count":0}],"isBlockCoverage":true},{"functionName":"setupSymbolDisposePolyfill","ranges":[{"startOffset":3630,"endOffset":4365,"count":1}],"isBlockCoverage":true},{"functionName":"setupUserModules","ranges":[{"startOffset":4367,"endOffset":4795,"count":1},{"startOffset":4676,"endOffset":4693,"count":0}],"isBlockCoverage":true},{"functionName":"refreshRuntimeOptions","ranges":[{"startOffset":4797,"endOffset":4853,"count":1}],"isBlockCoverage":true},{"functionName":"patchProcessObject","ranges":[{"startOffset":4855,"endOffset":6952,"count":1},{"startOffset":5388,"endOffset":5406,"count":0},{"startOffset":5407,"endOffset":5464,"count":0},{"startOffset":5466,"endOffset":5677,"count":0}],"isBlockCoverage":true},{"functionName":"addReadOnlyProcessAlias","ranges":[{"startOffset":6954,"endOffset":7235,"count":13},{"startOffset":7075,"endOffset":7233,"count":1}],"isBlockCoverage":true},{"functionName":"setupWarningHandler","ranges":[{"startOffset":7237,"endOffset":7757,"count":1},{"startOffset":7612,"endOffset":7751,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7641,"endOffset":7743,"count":0}],"isBlockCoverage":false},{"functionName":"setupFetch","ranges":[{"startOffset":7793,"endOffset":8933,"count":1},{"startOffset":7913,"endOffset":7930,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUndici","ranges":[{"startOffset":7948,"endOffset":8093,"count":0}],"isBlockCoverage":false},{"functionName":"fetch","ranges":[{"startOffset":8097,"endOffset":8192,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInterface","ranges":[{"startOffset":8244,"endOffset":8485,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8345,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8403,"endOffset":8473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8818,"endOffset":8929,"count":0}],"isBlockCoverage":false},{"functionName":"setupWebCrypto","ranges":[{"startOffset":9037,"endOffset":9989,"count":1},{"startOffset":9172,"endOffset":9189,"count":0},{"startOffset":9678,"endOffset":9987,"count":0}],"isBlockCoverage":true},{"functionName":"cryptoThisCheck","ranges":[{"startOffset":9363,"endOffset":9539,"count":0}],"isBlockCoverage":false},{"functionName":"get crypto","ranges":[{"startOffset":9840,"endOffset":9939,"count":0}],"isBlockCoverage":false},{"functionName":"setupCodeCoverage","ranges":[{"startOffset":9991,"endOffset":10512,"count":1}],"isBlockCoverage":true},{"functionName":"setupCustomEvent","ranges":[{"startOffset":10618,"endOffset":10895,"count":1},{"startOffset":10757,"endOffset":10774,"count":0}],"isBlockCoverage":true},{"functionName":"setupStacktracePrinterOnSigint","ranges":[{"startOffset":10897,"endOffset":11122,"count":0}],"isBlockCoverage":false},{"functionName":"initializeReport","ranges":[{"startOffset":11124,"endOffset":11373,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":11269,"endOffset":11364,"count":6}],"isBlockCoverage":true},{"functionName":"setupDebugEnv","ranges":[{"startOffset":11375,"endOffset":11606,"count":1},{"startOffset":11526,"endOffset":11604,"count":0}],"isBlockCoverage":true},{"functionName":"initializeReportSignalHandlers","ranges":[{"startOffset":11668,"endOffset":11856,"count":0}],"isBlockCoverage":false},{"functionName":"initializeHeapSnapshotSignalHandlers","ranges":[{"startOffset":11858,"endOffset":12592,"count":0}],"isBlockCoverage":false},{"functionName":"setupTraceCategoryState","ranges":[{"startOffset":12594,"endOffset":12853,"count":1}],"isBlockCoverage":true},{"functionName":"setupInspectorHooks","ranges":[{"startOffset":12855,"endOffset":13437,"count":1}],"isBlockCoverage":true},{"functionName":"initializeDeprecations","ranges":[{"startOffset":13632,"endOffset":15584,"count":1},{"startOffset":14344,"endOffset":14646,"count":16},{"startOffset":14389,"endOffset":14621,"count":0},{"startOffset":14963,"endOffset":15160,"count":0},{"startOffset":15188,"endOffset":15582,"count":0}],"isBlockCoverage":true},{"functionName":"setupChildProcessIpcChannel","ranges":[{"startOffset":15586,"endOffset":16151,"count":0}],"isBlockCoverage":false},{"functionName":"initializeClusterIPC","ranges":[{"startOffset":16153,"endOffset":16423,"count":0}],"isBlockCoverage":false},{"functionName":"initializePermission","ranges":[{"startOffset":16425,"endOffset":18308,"count":1},{"startOffset":16567,"endOffset":17928,"count":0}],"isBlockCoverage":true},{"functionName":"binding","ranges":[{"startOffset":16591,"endOffset":16678,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18140,"endOffset":18300,"count":4},{"startOffset":18218,"endOffset":18294,"count":0}],"isBlockCoverage":true},{"functionName":"readPolicyFromDisk","ranges":[{"startOffset":18310,"endOffset":20129,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCJSLoader","ranges":[{"startOffset":20131,"endOffset":20252,"count":1}],"isBlockCoverage":true},{"functionName":"initializeESMLoader","ranges":[{"startOffset":20254,"endOffset":20829,"count":1},{"startOffset":20582,"endOffset":20827,"count":0}],"isBlockCoverage":true},{"functionName":"initializeSourceMapsHandlers","ranges":[{"startOffset":20831,"endOffset":21029,"count":1}],"isBlockCoverage":true},{"functionName":"initializeFrozenIntrinsics","ranges":[{"startOffset":21031,"endOffset":21288,"count":1},{"startOffset":21116,"endOffset":21286,"count":0}],"isBlockCoverage":true},{"functionName":"loadPreloadModules","ranges":[{"startOffset":21290,"endOffset":21638,"count":1},{"startOffset":21484,"endOffset":21636,"count":0}],"isBlockCoverage":true},{"functionName":"markBootstrapComplete","ranges":[{"startOffset":21640,"endOffset":21734,"count":1}],"isBlockCoverage":true},{"functionName":"getHeapSnapshotFilename","ranges":[{"startOffset":21889,"endOffset":22790,"count":0}],"isBlockCoverage":false}]},{"scriptId":"150","url":"node:internal/v8/startup_snapshot","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3382,"count":1}],"isBlockCoverage":false},{"functionName":"isBuildingSnapshot","ranges":[{"startOffset":433,"endOffset":504,"count":4}],"isBlockCoverage":true},{"functionName":"throwIfNotBuildingSnapshot","ranges":[{"startOffset":506,"endOffset":625,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfBuildingSnapshot","ranges":[{"startOffset":627,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"runDeserializeCallbacks","ranges":[{"startOffset":831,"endOffset":1004,"count":0}],"isBlockCoverage":false},{"functionName":"addDeserializeCallback","ranges":[{"startOffset":1006,"endOffset":1541,"count":0}],"isBlockCoverage":false},{"functionName":"runSerializeCallbacks","ranges":[{"startOffset":1574,"endOffset":1741,"count":0}],"isBlockCoverage":false},{"functionName":"addSerializeCallback","ranges":[{"startOffset":1743,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCallbacks","ranges":[{"startOffset":1913,"endOffset":2122,"count":0}],"isBlockCoverage":false},{"functionName":"setDeserializeMainFunction","ranges":[{"startOffset":2158,"endOffset":3105,"count":0}],"isBlockCoverage":false}]},{"scriptId":"151","url":"node:internal/inspector_async_hook","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1973,"count":1}],"isBlockCoverage":false},{"functionName":"lazyHookCreation","ranges":[{"startOffset":75,"endOffset":1257,"count":0}],"isBlockCoverage":false},{"functionName":"enable","ranges":[{"startOffset":1259,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":1842,"endOffset":1928,"count":0}],"isBlockCoverage":false}]},{"scriptId":"152","url":"node:internal/source_map/prepare_stack_trace","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7404,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":334,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"prepareStackTrace","ranges":[{"startOffset":895,"endOffset":3880,"count":0}],"isBlockCoverage":false},{"functionName":"getOriginalSymbolName","ranges":[{"startOffset":4031,"endOffset":4774,"count":0}],"isBlockCoverage":false},{"functionName":"getErrorSource","ranges":[{"startOffset":4942,"endOffset":6024,"count":0}],"isBlockCoverage":false},{"functionName":"getOriginalSource","ranges":[{"startOffset":6026,"endOffset":6923,"count":0}],"isBlockCoverage":false},{"functionName":"getSourceMapErrorSource","ranges":[{"startOffset":6925,"endOffset":7305,"count":0}],"isBlockCoverage":false}]},{"scriptId":"153","url":"node:fs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":85023,"count":1}],"isBlockCoverage":false},{"functionName":"showTruncateDeprecation","ranges":[{"startOffset":4028,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"maybeCallback","ranges":[{"startOffset":4317,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"makeCallback","ranges":[{"startOffset":4594,"endOffset":4706,"count":0}],"isBlockCoverage":false},{"functionName":"makeStatsCallback","ranges":[{"startOffset":4887,"endOffset":5054,"count":0}],"isBlockCoverage":false},{"functionName":"isFileType","ranges":[{"startOffset":5079,"endOffset":5339,"count":6518},{"startOffset":5278,"endOffset":5298,"count":637}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":5555,"endOffset":5913,"count":0}],"isBlockCoverage":false},{"functionName":"accessSync","ranges":[{"startOffset":6101,"endOffset":6165,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6327,"endOffset":6565,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6652,"endOffset":6784,"count":0}],"isBlockCoverage":false},{"functionName":"existsSync","ranges":[{"startOffset":7332,"endOffset":7391,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterOpen","ranges":[{"startOffset":7393,"endOffset":7673,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterStat","ranges":[{"startOffset":7675,"endOffset":8553,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":8555,"endOffset":8728,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":9061,"endOffset":10013,"count":0}],"isBlockCoverage":false},{"functionName":"tryStatSync","ranges":[{"startOffset":10015,"endOffset":10245,"count":1},{"startOffset":10158,"endOffset":10170,"count":0},{"startOffset":10172,"endOffset":10227,"count":0}],"isBlockCoverage":true},{"functionName":"tryCreateBuffer","ranges":[{"startOffset":10247,"endOffset":10558,"count":1},{"startOffset":10365,"endOffset":10417,"count":0},{"startOffset":10504,"endOffset":10516,"count":0},{"startOffset":10518,"endOffset":10535,"count":0}],"isBlockCoverage":true},{"functionName":"tryReadSync","ranges":[{"startOffset":10560,"endOffset":10815,"count":1},{"startOffset":10758,"endOffset":10770,"count":0},{"startOffset":10772,"endOffset":10789,"count":0}],"isBlockCoverage":true},{"functionName":"readFileSync","ranges":[{"startOffset":11039,"endOffset":12564,"count":381},{"startOffset":11161,"endOffset":11192,"count":2},{"startOffset":11194,"endOffset":11251,"count":379},{"startOffset":11251,"endOffset":11335,"count":2},{"startOffset":11335,"endOffset":11341,"count":0},{"startOffset":11342,"endOffset":11382,"count":2},{"startOffset":11470,"endOffset":11480,"count":1},{"startOffset":11481,"endOffset":11484,"count":0},{"startOffset":11614,"endOffset":11637,"count":0},{"startOffset":11637,"endOffset":11889,"count":1},{"startOffset":11889,"endOffset":12258,"count":0},{"startOffset":12258,"endOffset":12318,"count":1},{"startOffset":12318,"endOffset":12414,"count":0},{"startOffset":12414,"endOffset":12476,"count":1},{"startOffset":12436,"endOffset":12476,"count":0},{"startOffset":12476,"endOffset":12502,"count":1},{"startOffset":12502,"endOffset":12545,"count":0},{"startOffset":12545,"endOffset":12563,"count":1}],"isBlockCoverage":true},{"functionName":"defaultCloseCallback","ranges":[{"startOffset":12566,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12760,"endOffset":13013,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":13109,"endOffset":13162,"count":1}],"isBlockCoverage":true},{"functionName":"open","ranges":[{"startOffset":13405,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"openSync","ranges":[{"startOffset":14154,"endOffset":14235,"count":2}],"isBlockCoverage":true},{"functionName":"openAsBlob","ranges":[{"startOffset":14364,"endOffset":14846,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":15210,"endOffset":17170,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":17624,"endOffset":18761,"count":1},{"startOffset":17846,"endOffset":18102,"count":0},{"startOffset":18132,"endOffset":18153,"count":0},{"startOffset":18244,"endOffset":18263,"count":0},{"startOffset":18296,"endOffset":18426,"count":0}],"isBlockCoverage":true},{"functionName":"readv","ranges":[{"startOffset":19106,"endOffset":19523,"count":0}],"isBlockCoverage":false},{"functionName":"readvSync","ranges":[{"startOffset":19925,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20641,"endOffset":22188,"count":0}],"isBlockCoverage":false},{"functionName":"writeSync","ranges":[{"startOffset":22645,"endOffset":23778,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":24105,"endOffset":24627,"count":0}],"isBlockCoverage":false},{"functionName":"writevSync","ranges":[{"startOffset":24995,"endOffset":25354,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":25595,"endOffset":25976,"count":0}],"isBlockCoverage":false},{"functionName":"renameSync","ranges":[{"startOffset":26175,"endOffset":26522,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":26680,"endOffset":27341,"count":0}],"isBlockCoverage":false},{"functionName":"truncateSync","ranges":[{"startOffset":27471,"endOffset":27874,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":28026,"endOffset":28363,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncateSync","ranges":[{"startOffset":28487,"endOffset":28704,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadCp","ranges":[{"startOffset":28706,"endOffset":28912,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadRimraf","ranges":[{"startOffset":28914,"endOffset":29033,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":29291,"endOffset":30153,"count":0}],"isBlockCoverage":false},{"functionName":"rmdirSync","ranges":[{"startOffset":30368,"endOffset":30888,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":31226,"endOffset":31604,"count":0}],"isBlockCoverage":false},{"functionName":"rmSync","ranges":[{"startOffset":31899,"endOffset":32109,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":32340,"endOffset":32511,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasyncSync","ranges":[{"startOffset":32714,"endOffset":32861,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":33048,"endOffset":33211,"count":0}],"isBlockCoverage":false},{"functionName":"fsyncSync","ranges":[{"startOffset":33370,"endOffset":33509,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":33753,"endOffset":34468,"count":0}],"isBlockCoverage":false},{"functionName":"mkdirSync","ranges":[{"startOffset":34678,"endOffset":35384,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSyncRecursive","ranges":[{"startOffset":35717,"endOffset":37463,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":37763,"endOffset":38541,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSync","ranges":[{"startOffset":38805,"endOffset":39408,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":39649,"endOffset":39995,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":40261,"endOffset":40646,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":40876,"endOffset":41259,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":41261,"endOffset":41754,"count":0}],"isBlockCoverage":false},{"functionName":"hasNoEntryError","ranges":[{"startOffset":41756,"endOffset":41971,"count":0}],"isBlockCoverage":false},{"functionName":"fstatSync","ranges":[{"startOffset":42147,"endOffset":42386,"count":0}],"isBlockCoverage":false},{"functionName":"lstatSync","ranges":[{"startOffset":42634,"endOffset":43058,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":43273,"endOffset":43346,"count":0}],"isBlockCoverage":false},{"functionName":"statfsSync","ranges":[{"startOffset":43348,"endOffset":43425,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":43703,"endOffset":44047,"count":0}],"isBlockCoverage":false},{"functionName":"readlinkSync","ranges":[{"startOffset":44261,"endOffset":44588,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":44830,"endOffset":46483,"count":0}],"isBlockCoverage":false},{"functionName":"symlinkSync","ranges":[{"startOffset":46698,"endOffset":47359,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":47586,"endOffset":47987,"count":0}],"isBlockCoverage":false},{"functionName":"linkSync","ranges":[{"startOffset":48186,"endOffset":48635,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":48796,"endOffset":49023,"count":0}],"isBlockCoverage":false},{"functionName":"unlinkSync","ranges":[{"startOffset":49141,"endOffset":49200,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":49363,"endOffset":49602,"count":0}],"isBlockCoverage":false},{"functionName":"fchmodSync","ranges":[{"startOffset":49737,"endOffset":49928,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":50109,"endOffset":50602,"count":0}],"isBlockCoverage":false},{"functionName":"lchmodSync","ranges":[{"startOffset":50755,"endOffset":51077,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":51273,"endOffset":51549,"count":0}],"isBlockCoverage":false},{"functionName":"chmodSync","ranges":[{"startOffset":51702,"endOffset":51937,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":52133,"endOffset":52474,"count":0}],"isBlockCoverage":false},{"functionName":"lchownSync","ranges":[{"startOffset":52642,"endOffset":52942,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":53112,"endOffset":53415,"count":0}],"isBlockCoverage":false},{"functionName":"fchownSync","ranges":[{"startOffset":53557,"endOffset":53813,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":54029,"endOffset":54369,"count":0}],"isBlockCoverage":false},{"functionName":"chownSync","ranges":[{"startOffset":54542,"endOffset":54840,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":55109,"endOffset":55450,"count":0}],"isBlockCoverage":false},{"functionName":"utimesSync","ranges":[{"startOffset":55691,"endOffset":55973,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":56254,"endOffset":56559,"count":0}],"isBlockCoverage":false},{"functionName":"futimesSync","ranges":[{"startOffset":56815,"endOffset":57072,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":57356,"endOffset":57702,"count":0}],"isBlockCoverage":false},{"functionName":"lutimesSync","ranges":[{"startOffset":57962,"endOffset":58266,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":58268,"endOffset":59231,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":59588,"endOffset":60454,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":60741,"endOffset":61443,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":61748,"endOffset":62188,"count":0}],"isBlockCoverage":false},{"functionName":"appendFileSync","ranges":[{"startOffset":62450,"endOffset":62829,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":63197,"endOffset":64950,"count":0}],"isBlockCoverage":false},{"functionName":"watchFile","ranges":[{"startOffset":65300,"endOffset":66324,"count":0}],"isBlockCoverage":false},{"functionName":"unwatchFile","ranges":[{"startOffset":66474,"endOffset":67213,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67429,"endOffset":67525,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67550,"endOffset":67760,"count":458},{"startOffset":67617,"endOffset":67740,"count":916},{"startOffset":67695,"endOffset":67734,"count":458},{"startOffset":67740,"endOffset":67759,"count":0}],"isBlockCoverage":true},{"functionName":"encodeRealpathResult","ranges":[{"startOffset":67765,"endOffset":68052,"count":458},{"startOffset":67850,"endOffset":67880,"count":0},{"startOffset":67900,"endOffset":68051,"count":0}],"isBlockCoverage":true},{"functionName":"nextPart","ranges":[{"startOffset":68175,"endOffset":68434,"count":0}],"isBlockCoverage":false},{"functionName":"nextPart","ranges":[{"startOffset":68458,"endOffset":68533,"count":3577}],"isBlockCoverage":true},{"functionName":"realpathSync","ranges":[{"startOffset":68707,"endOffset":72603,"count":553},{"startOffset":68831,"endOffset":68849,"count":0},{"startOffset":69010,"endOffset":69045,"count":95},{"startOffset":69045,"endOffset":69607,"count":458},{"startOffset":69607,"endOffset":69779,"count":0},{"startOffset":69779,"endOffset":69916,"count":458},{"startOffset":69916,"endOffset":72530,"count":3577},{"startOffset":70028,"endOffset":70159,"count":458},{"startOffset":70159,"endOffset":70317,"count":3119},{"startOffset":70434,"endOffset":70571,"count":2940},{"startOffset":70525,"endOffset":70549,"count":0},{"startOffset":70571,"endOffset":70637,"count":637},{"startOffset":70674,"endOffset":70723,"count":0},{"startOffset":70723,"endOffset":72027,"count":637},{"startOffset":71163,"endOffset":71947,"count":0},{"startOffset":71991,"endOffset":72021,"count":0},{"startOffset":72027,"endOffset":72342,"count":0},{"startOffset":72344,"endOffset":72526,"count":0},{"startOffset":72530,"endOffset":72544,"count":458}],"isBlockCoverage":true},{"functionName":"realpathSync.native","ranges":[{"startOffset":72792,"endOffset":73056,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":73363,"endOffset":76894,"count":0}],"isBlockCoverage":false},{"functionName":"realpath.native","ranges":[{"startOffset":77221,"endOffset":77516,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":77761,"endOffset":78271,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtempSync","ranges":[{"startOffset":78452,"endOffset":78944,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":79208,"endOffset":79669,"count":0}],"isBlockCoverage":false},{"functionName":"copyFileSync","ranges":[{"startOffset":79901,"endOffset":79979,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":80272,"endOffset":80677,"count":0}],"isBlockCoverage":false},{"functionName":"cpSync","ranges":[{"startOffset":80938,"endOffset":81202,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadStreams","ranges":[{"startOffset":81204,"endOffset":81395,"count":40},{"startOffset":81252,"endOffset":81393,"count":1}],"isBlockCoverage":true},{"functionName":"createReadStream","ranges":[{"startOffset":81824,"endOffset":81929,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":82264,"endOffset":82371,"count":0}],"isBlockCoverage":false},{"functionName":"get ReadStream","ranges":[{"startOffset":83615,"endOffset":83683,"count":10}],"isBlockCoverage":true},{"functionName":"set ReadStream","ranges":[{"startOffset":83688,"endOffset":83735,"count":0}],"isBlockCoverage":false},{"functionName":"get WriteStream","ranges":[{"startOffset":83740,"endOffset":83810,"count":10}],"isBlockCoverage":true},{"functionName":"set WriteStream","ranges":[{"startOffset":83815,"endOffset":83864,"count":0}],"isBlockCoverage":false},{"functionName":"get FileReadStream","ranges":[{"startOffset":84002,"endOffset":84078,"count":10}],"isBlockCoverage":true},{"functionName":"set FileReadStream","ranges":[{"startOffset":84083,"endOffset":84138,"count":0}],"isBlockCoverage":false},{"functionName":"get FileWriteStream","ranges":[{"startOffset":84143,"endOffset":84221,"count":10}],"isBlockCoverage":true},{"functionName":"set FileWriteStream","ranges":[{"startOffset":84226,"endOffset":84283,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":84916,"endOffset":85012,"count":10}],"isBlockCoverage":true}]},{"scriptId":"154","url":"node:internal/blob","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12628,"count":1}],"isBlockCoverage":false},{"functionName":"lazyReadableStream","ranges":[{"startOffset":1851,"endOffset":2063,"count":0}],"isBlockCoverage":false},{"functionName":"isBlob","ranges":[{"startOffset":2113,"endOffset":2182,"count":0}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":2184,"endOffset":2863,"count":0}],"isBlockCoverage":false},{"functionName":"Blob","ranges":[{"startOffset":3115,"endOffset":4227,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4231,"endOffset":4501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4505,"endOffset":4957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4961,"endOffset":5087,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":5138,"endOffset":5243,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":5294,"endOffset":5401,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":5529,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBuffer","ranges":[{"startOffset":6364,"endOffset":7373,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":7421,"endOffset":7586,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":7633,"endOffset":10704,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob","ranges":[{"startOffset":10708,"endOffset":10803,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob.","ranges":[{"startOffset":10841,"endOffset":10849,"count":0}],"isBlockCoverage":false},{"functionName":"createBlob","ranges":[{"startOffset":10852,"endOffset":11055,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObjectURL","ranges":[{"startOffset":11408,"endOffset":12019,"count":0}],"isBlockCoverage":false},{"functionName":"createBlobFromFilePath","ranges":[{"startOffset":12142,"endOffset":12501,"count":0}],"isBlockCoverage":false}]},{"scriptId":"155","url":"node:internal/encoding","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17340,"count":1}],"isBlockCoverage":false},{"functionName":"validateEncoder","ranges":[{"startOffset":1250,"endOffset":1375,"count":0}],"isBlockCoverage":false},{"functionName":"validateDecoder","ranges":[{"startOffset":1377,"endOffset":1502,"count":58},{"startOffset":1458,"endOffset":1500,"count":0}],"isBlockCoverage":true},{"functionName":"trimAsciiWhitespace","ranges":[{"startOffset":8799,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingFromLabel","ranges":[{"startOffset":9299,"endOffset":9478,"count":3},{"startOffset":9410,"endOffset":9477,"count":0}],"isBlockCoverage":true},{"functionName":"TextEncoder","ranges":[{"startOffset":9502,"endOffset":9548,"count":1}],"isBlockCoverage":true},{"functionName":"get encoding","ranges":[{"startOffset":9552,"endOffset":9619,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":9623,"endOffset":9715,"count":0}],"isBlockCoverage":false},{"functionName":"encodeInto","ranges":[{"startOffset":9719,"endOffset":10125,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10129,"endOffset":10526,"count":0}],"isBlockCoverage":false},{"functionName":"makeTextDecoderICU","ranges":[{"startOffset":10898,"endOffset":12864,"count":1}],"isBlockCoverage":true},{"functionName":"TextDecoder","ranges":[{"startOffset":11036,"endOffset":11973,"count":3},{"startOffset":11346,"endOffset":11393,"count":0},{"startOffset":11477,"endOffset":11500,"count":2},{"startOffset":11501,"endOffset":11504,"count":1},{"startOffset":11541,"endOffset":11569,"count":2},{"startOffset":11570,"endOffset":11573,"count":1},{"startOffset":11924,"endOffset":11967,"count":0}],"isBlockCoverage":true},{"functionName":"#prepareConverter","ranges":[{"startOffset":11979,"endOffset":12244,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":12250,"endOffset":12835,"count":58},{"startOffset":12485,"endOffset":12834,"count":0}],"isBlockCoverage":true},{"functionName":"makeTextDecoderJS","ranges":[{"startOffset":12866,"endOffset":15701,"count":0}],"isBlockCoverage":false},{"functionName":"get encoding","ranges":[{"startOffset":15798,"endOffset":15873,"count":0}],"isBlockCoverage":false},{"functionName":"get fatal","ranges":[{"startOffset":15878,"endOffset":15999,"count":0}],"isBlockCoverage":false},{"functionName":"get ignoreBOM","ranges":[{"startOffset":16004,"endOffset":16153,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectGetOwnPropertyDescriptors","ranges":[{"startOffset":16158,"endOffset":16741,"count":0}],"isBlockCoverage":false}]},{"scriptId":"156","url":"node:internal/webstreams/queuingstrategies","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3851,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":931,"endOffset":958,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1038,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"getNonWritablePropertyDescriptor","ranges":[{"startOffset":1114,"endOffset":1200,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1238,"endOffset":2284,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2544,"endOffset":3561,"count":0}],"isBlockCoverage":false}]},{"scriptId":"157","url":"node:internal/webstreams/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7549,"count":1}],"isBlockCoverage":false},{"functionName":"extractHighWaterMark","ranges":[{"startOffset":1074,"endOffset":1367,"count":0}],"isBlockCoverage":false},{"functionName":"extractSizeAlgorithm","ranges":[{"startOffset":1369,"endOffset":1508,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":1510,"endOffset":1742,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetBuffer","ranges":[{"startOffset":1926,"endOffset":2034,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteLength","ranges":[{"startOffset":2036,"endOffset":2152,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteOffset","ranges":[{"startOffset":2154,"endOffset":2270,"count":0}],"isBlockCoverage":false},{"functionName":"cloneAsUint8Array","ranges":[{"startOffset":2272,"endOffset":2577,"count":0}],"isBlockCoverage":false},{"functionName":"isBrandCheck","ranges":[{"startOffset":2579,"endOffset":2743,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2619,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"transferArrayBuffer","ranges":[{"startOffset":2745,"endOffset":2968,"count":0}],"isBlockCoverage":false},{"functionName":"isViewedArrayBufferDetached","ranges":[{"startOffset":2970,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"dequeueValue","ranges":[{"startOffset":3140,"endOffset":3525,"count":0}],"isBlockCoverage":false},{"functionName":"resetQueue","ranges":[{"startOffset":3527,"endOffset":3745,"count":0}],"isBlockCoverage":false},{"functionName":"peekQueueValue","ranges":[{"startOffset":3747,"endOffset":3982,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueValueWithSize","ranges":[{"startOffset":3984,"endOffset":4449,"count":0}],"isBlockCoverage":false},{"functionName":"ensureIsPromise","ranges":[{"startOffset":4451,"endOffset":4690,"count":0}],"isBlockCoverage":false},{"functionName":"isPromisePending","ranges":[{"startOffset":4692,"endOffset":4855,"count":0}],"isBlockCoverage":false},{"functionName":"setPromiseHandled","ranges":[{"startOffset":4857,"endOffset":5136,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpFlush","ranges":[{"startOffset":5138,"endOffset":5168,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpStart","ranges":[{"startOffset":5170,"endOffset":5194,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpPull","ranges":[{"startOffset":5196,"endOffset":5225,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpCancel","ranges":[{"startOffset":5227,"endOffset":5258,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpWrite","ranges":[{"startOffset":5260,"endOffset":5290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyTransfer","ranges":[{"startOffset":5306,"endOffset":5438,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncFromSyncIterator","ranges":[{"startOffset":5440,"endOffset":5779,"count":0}],"isBlockCoverage":false},{"functionName":"getIterator","ranges":[{"startOffset":5781,"endOffset":6509,"count":0}],"isBlockCoverage":false},{"functionName":"iteratorNext","ranges":[{"startOffset":6511,"endOffset":6973,"count":0}],"isBlockCoverage":false}]},{"scriptId":"158","url":"node:internal/fs/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":26847,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFs","ranges":[{"startOffset":3551,"endOffset":3630,"count":0}],"isBlockCoverage":false},{"functionName":"assertEncoding","ranges":[{"startOffset":3632,"endOffset":3832,"count":932},{"startOffset":3683,"endOffset":3714,"count":379},{"startOffset":3716,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"Dirent","ranges":[{"startOffset":3851,"endOffset":3954,"count":0}],"isBlockCoverage":false},{"functionName":"isDirectory","ranges":[{"startOffset":3958,"endOffset":4019,"count":0}],"isBlockCoverage":false},{"functionName":"isFile","ranges":[{"startOffset":4023,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"isBlockDevice","ranges":[{"startOffset":4084,"endOffset":4149,"count":0}],"isBlockCoverage":false},{"functionName":"isCharacterDevice","ranges":[{"startOffset":4153,"endOffset":4221,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbolicLink","ranges":[{"startOffset":4225,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"isFIFO","ranges":[{"startOffset":4294,"endOffset":4351,"count":0}],"isBlockCoverage":false},{"functionName":"isSocket","ranges":[{"startOffset":4355,"endOffset":4416,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats","ranges":[{"startOffset":4461,"endOffset":4552,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats.","ranges":[{"startOffset":4697,"endOffset":4746,"count":0}],"isBlockCoverage":false},{"functionName":"copyObject","ranges":[{"startOffset":4751,"endOffset":4879,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":4929,"endOffset":5536,"count":0}],"isBlockCoverage":false},{"functionName":"getDirents","ranges":[{"startOffset":5538,"endOffset":6653,"count":0}],"isBlockCoverage":false},{"functionName":"getDirent","ranges":[{"startOffset":6655,"endOffset":7436,"count":0}],"isBlockCoverage":false},{"functionName":"getOptions","ranges":[{"startOffset":7438,"endOffset":8064,"count":992},{"startOffset":7522,"endOffset":7554,"count":932},{"startOffset":7556,"endOffset":7588,"count":60},{"startOffset":7588,"endOffset":7625,"count":932},{"startOffset":7625,"endOffset":7743,"count":379},{"startOffset":7743,"endOffset":7865,"count":553},{"startOffset":7782,"endOffset":7865,"count":0},{"startOffset":7865,"endOffset":7979,"count":932},{"startOffset":7979,"endOffset":8043,"count":0},{"startOffset":8043,"endOffset":8063,"count":932}],"isBlockCoverage":true},{"functionName":"handleErrorFromBinding","ranges":[{"startOffset":8122,"endOffset":8651,"count":638},{"startOffset":8192,"endOffset":8327,"count":0},{"startOffset":8359,"endOffset":8649,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8792,"endOffset":9388,"count":992},{"startOffset":9022,"endOffset":9042,"count":0},{"startOffset":9112,"endOffset":9180,"count":0},{"startOffset":9199,"endOffset":9387,"count":0}],"isBlockCoverage":true},{"functionName":"preprocessSymlinkDestination","ranges":[{"startOffset":9392,"endOffset":10098,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase","ranges":[{"startOffset":10131,"endOffset":10438,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isDirectory","ranges":[{"startOffset":10474,"endOffset":10531,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFile","ranges":[{"startOffset":10563,"endOffset":10620,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isBlockDevice","ranges":[{"startOffset":10659,"endOffset":10716,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isCharacterDevice","ranges":[{"startOffset":10759,"endOffset":10816,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSymbolicLink","ranges":[{"startOffset":10856,"endOffset":10913,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFIFO","ranges":[{"startOffset":10945,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSocket","ranges":[{"startOffset":11036,"endOffset":11094,"count":0}],"isBlockCoverage":false},{"functionName":"msFromTimeSpec","ranges":[{"startOffset":11219,"endOffset":11301,"count":0}],"isBlockCoverage":false},{"functionName":"nsFromTimeSpecBigInt","ranges":[{"startOffset":11303,"endOffset":11386,"count":0}],"isBlockCoverage":false},{"functionName":"dateFromMs","ranges":[{"startOffset":11788,"endOffset":11899,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats","ranges":[{"startOffset":11901,"endOffset":12664,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats._checkModeProperty","ranges":[{"startOffset":12822,"endOffset":13068,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":13071,"endOffset":13613,"count":0}],"isBlockCoverage":false},{"functionName":"Stats._checkModeProperty","ranges":[{"startOffset":13954,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"getStatsFromBinding","ranges":[{"startOffset":14302,"endOffset":15381,"count":0}],"isBlockCoverage":false},{"functionName":"StatFs","ranges":[{"startOffset":15400,"endOffset":15637,"count":0}],"isBlockCoverage":false},{"functionName":"getStatFsFromBinding","ranges":[{"startOffset":15641,"endOffset":15781,"count":0}],"isBlockCoverage":false},{"functionName":"stringToFlags","ranges":[{"startOffset":15783,"endOffset":17039,"count":439},{"startOffset":15864,"endOffset":15919,"count":0},{"startOffset":15942,"endOffset":15968,"count":0},{"startOffset":16025,"endOffset":16036,"count":0},{"startOffset":16058,"endOffset":16095,"count":0},{"startOffset":16100,"endOffset":16126,"count":0},{"startOffset":16131,"endOffset":16143,"count":0},{"startOffset":16165,"endOffset":16201,"count":0},{"startOffset":16207,"endOffset":16254,"count":0},{"startOffset":16259,"endOffset":16270,"count":0},{"startOffset":16292,"endOffset":16349,"count":0},{"startOffset":16355,"endOffset":16401,"count":0},{"startOffset":16406,"endOffset":16417,"count":0},{"startOffset":16439,"endOffset":16494,"count":0},{"startOffset":16500,"endOffset":16548,"count":0},{"startOffset":16553,"endOffset":16564,"count":0},{"startOffset":16586,"endOffset":16644,"count":0},{"startOffset":16649,"endOffset":16660,"count":0},{"startOffset":16682,"endOffset":16740,"count":0},{"startOffset":16746,"endOffset":16793,"count":0},{"startOffset":16798,"endOffset":16809,"count":0},{"startOffset":16831,"endOffset":16887,"count":0},{"startOffset":16892,"endOffset":16903,"count":0},{"startOffset":16925,"endOffset":16981,"count":0},{"startOffset":16985,"endOffset":17038,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":17085,"endOffset":17445,"count":0}],"isBlockCoverage":false},{"functionName":"toUnixTimestamp","ranges":[{"startOffset":17507,"endOffset":17962,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18016,"endOffset":18395,"count":1},{"startOffset":18072,"endOffset":18139,"count":0},{"startOffset":18160,"endOffset":18227,"count":0},{"startOffset":18268,"endOffset":18391,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18454,"endOffset":18858,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18901,"endOffset":19171,"count":992},{"startOffset":18963,"endOffset":18985,"count":0},{"startOffset":18987,"endOffset":19073,"count":0},{"startOffset":19149,"endOffset":19169,"count":0}],"isBlockCoverage":true},{"functionName":"possiblyTransformPath","ranges":[{"startOffset":19542,"endOffset":19853,"count":439},{"startOffset":19611,"endOffset":19836,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":19896,"endOffset":20054,"count":439}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20097,"endOffset":20218,"count":2},{"startOffset":20148,"endOffset":20167,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20266,"endOffset":20597,"count":0}],"isBlockCoverage":false},{"functionName":"warnOnNonPortableTemplate","ranges":[{"startOffset":20638,"endOffset":21238,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21663,"endOffset":22550,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22596,"endOffset":23275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23325,"endOffset":23942,"count":0}],"isBlockCoverage":false},{"functionName":"emitRecursiveRmdirWarning","ranges":[{"startOffset":23996,"endOffset":24330,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24380,"endOffset":24777,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24818,"endOffset":25186,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25249,"endOffset":25433,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25478,"endOffset":25948,"count":1},{"startOffset":25578,"endOffset":25946,"count":0}],"isBlockCoverage":true}]},{"scriptId":"159","url":"node:internal/fs/sync","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2257,"count":1}],"isBlockCoverage":false},{"functionName":"readFileUtf8","ranges":[{"startOffset":395,"endOffset":582,"count":379}],"isBlockCoverage":true},{"functionName":"exists","ranges":[{"startOffset":584,"endOffset":751,"count":0}],"isBlockCoverage":false},{"functionName":"access","ranges":[{"startOffset":753,"endOffset":920,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":922,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":1184,"endOffset":1509,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":1511,"endOffset":1723,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":1725,"endOffset":1932,"count":2}],"isBlockCoverage":true},{"functionName":"close","ranges":[{"startOffset":1934,"endOffset":2016,"count":1}],"isBlockCoverage":true},{"functionName":"unlink","ranges":[{"startOffset":2018,"endOffset":2140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"160","url":"node:internal/dns/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9584,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBinding","ranges":[{"startOffset":506,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":957,"endOffset":1104,"count":0}],"isBlockCoverage":false},{"functionName":"validateTries","ranges":[{"startOffset":1106,"endOffset":1241,"count":0}],"isBlockCoverage":false},{"functionName":"ResolverBase","ranges":[{"startOffset":1635,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1988,"endOffset":2124,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":2128,"endOffset":2169,"count":0}],"isBlockCoverage":false},{"functionName":"getServers","ranges":[{"startOffset":2173,"endOffset":2441,"count":0}],"isBlockCoverage":false},{"functionName":"setServers","ranges":[{"startOffset":2445,"endOffset":3846,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3850,"endOffset":4405,"count":0}],"isBlockCoverage":false},{"functionName":"setLocalAddress","ranges":[{"startOffset":4410,"endOffset":4695,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4815,"endOffset":5035,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5039,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"initializeDns","ranges":[{"startOffset":5427,"endOffset":5813,"count":1},{"startOffset":5570,"endOffset":5680,"count":0},{"startOffset":5728,"endOffset":5812,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5753,"endOffset":5809,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResolver","ranges":[{"startOffset":6074,"endOffset":6355,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResolver","ranges":[{"startOffset":6357,"endOffset":6428,"count":0}],"isBlockCoverage":false},{"functionName":"bindDefaultResolver","ranges":[{"startOffset":6430,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"validateHints","ranges":[{"startOffset":6654,"endOffset":6873,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidHostnameWarning","ranges":[{"startOffset":6918,"endOffset":7272,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultVerbatim","ranges":[{"startOffset":7274,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResultOrder","ranges":[{"startOffset":7344,"endOffset":7468,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResultOrder","ranges":[{"startOffset":7470,"endOffset":7525,"count":0}],"isBlockCoverage":false},{"functionName":"createResolverClass","ranges":[{"startOffset":7527,"endOffset":8635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"161","url":"node:internal/net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2248,"count":1}],"isBlockCoverage":false},{"functionName":"isIPv4","ranges":[{"startOffset":1023,"endOffset":1296,"count":0}],"isBlockCoverage":false},{"functionName":"isIPv6","ranges":[{"startOffset":1298,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"isIP","ranges":[{"startOffset":1573,"endOffset":1659,"count":0}],"isBlockCoverage":false},{"functionName":"makeSyncWrite","ranges":[{"startOffset":1661,"endOffset":2075,"count":0}],"isBlockCoverage":false}]},{"scriptId":"162","url":"node:worker_threads","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":687,"count":1}],"isBlockCoverage":false}]},{"scriptId":"163","url":"node:internal/worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16395,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2471,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"process.chdir","ranges":[{"startOffset":2984,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"setEnvironmentData","ranges":[{"startOffset":3069,"endOffset":3216,"count":0}],"isBlockCoverage":false},{"functionName":"getEnvironmentData","ranges":[{"startOffset":3218,"endOffset":3289,"count":0}],"isBlockCoverage":false},{"functionName":"assignEnvironmentData","ranges":[{"startOffset":3291,"endOffset":3441,"count":1},{"startOffset":3356,"endOffset":3363,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3379,"endOffset":3437,"count":0}],"isBlockCoverage":false},{"functionName":"Worker","ranges":[{"startOffset":3481,"endOffset":9221,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9225,"endOffset":9857,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9861,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9961,"endOffset":10130,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10134,"endOffset":11027,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11031,"endOffset":11499,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":11503,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"terminate","ranges":[{"startOffset":11652,"endOffset":12486,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":12490,"endOffset":12596,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":12600,"endOffset":12712,"count":0}],"isBlockCoverage":false},{"functionName":"get threadId","ranges":[{"startOffset":12716,"endOffset":12815,"count":0}],"isBlockCoverage":false},{"functionName":"get stdin","ranges":[{"startOffset":12819,"endOffset":12877,"count":0}],"isBlockCoverage":false},{"functionName":"get stdout","ranges":[{"startOffset":12881,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"get stderr","ranges":[{"startOffset":12945,"endOffset":13005,"count":0}],"isBlockCoverage":false},{"functionName":"get resourceLimits","ranges":[{"startOffset":13009,"endOffset":13145,"count":0}],"isBlockCoverage":false},{"functionName":"getHeapSnapshot","ranges":[{"startOffset":13149,"endOffset":13656,"count":0}],"isBlockCoverage":false},{"functionName":"InternalWorker","ranges":[{"startOffset":13849,"endOffset":13928,"count":0}],"isBlockCoverage":false},{"functionName":"receiveMessageSync","ranges":[{"startOffset":13932,"endOffset":14010,"count":0}],"isBlockCoverage":false},{"functionName":"pipeWithoutWarning","ranges":[{"startOffset":14014,"endOffset":14336,"count":0}],"isBlockCoverage":false},{"functionName":"parseResourceLimits","ranges":[{"startOffset":14410,"endOffset":15024,"count":0}],"isBlockCoverage":false},{"functionName":"makeResourceLimits","ranges":[{"startOffset":15026,"endOffset":15313,"count":1}],"isBlockCoverage":true},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":15315,"endOffset":16118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"164","url":"node:internal/perf/event_loop_utilization","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":false},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":153,"endOffset":446,"count":0}],"isBlockCoverage":false},{"functionName":"internalEventLoopUtilization","ranges":[{"startOffset":448,"endOffset":1447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"165","url":"node:internal/error_serdes","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5723,"count":1}],"isBlockCoverage":false},{"functionName":"TryGetAllProperties","ranges":[{"startOffset":1039,"endOffset":2143,"count":0}],"isBlockCoverage":false},{"functionName":"GetConstructors","ranges":[{"startOffset":2145,"endOffset":2588,"count":0}],"isBlockCoverage":false},{"functionName":"GetName","ranges":[{"startOffset":2590,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":2737,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":2924,"endOffset":4219,"count":0}],"isBlockCoverage":false},{"functionName":"fromBuffer","ranges":[{"startOffset":4221,"endOffset":4442,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeError","ranges":[{"startOffset":4461,"endOffset":5666,"count":0}],"isBlockCoverage":false}]},{"scriptId":"166","url":"node:diagnostics_channel","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9791,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":734,"endOffset":1143,"count":1}],"isBlockCoverage":false},{"functionName":"#finalizers","ranges":[{"startOffset":814,"endOffset":850,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":856,"endOffset":973,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":977,"endOffset":1025,"count":5},{"startOffset":1013,"endOffset":1018,"count":0}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":1029,"endOffset":1083,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":1087,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"markActive","ranges":[{"startOffset":1145,"endOffset":1350,"count":0}],"isBlockCoverage":false},{"functionName":"maybeMarkInactive","ranges":[{"startOffset":1352,"endOffset":1720,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTransform","ranges":[{"startOffset":1722,"endOffset":1772,"count":0}],"isBlockCoverage":false},{"functionName":"wrapStoreRun","ranges":[{"startOffset":1774,"endOffset":2102,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":2184,"endOffset":2354,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":2358,"endOffset":2635,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":2639,"endOffset":2807,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":2811,"endOffset":3010,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":3014,"endOffset":3057,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":3061,"endOffset":3370,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":3374,"endOffset":3713,"count":0}],"isBlockCoverage":false},{"functionName":"Channel","ranges":[{"startOffset":3735,"endOffset":3876,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3887,"endOffset":4072,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":4076,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4165,"endOffset":4202,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":4206,"endOffset":4299,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":4303,"endOffset":4340,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":4344,"endOffset":4388,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":4392,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":4408,"endOffset":4495,"count":0}],"isBlockCoverage":false},{"functionName":"channel","ranges":[{"startOffset":4535,"endOffset":4801,"count":5},{"startOffset":4613,"endOffset":4628,"count":0},{"startOffset":4661,"endOffset":4688,"count":0},{"startOffset":4690,"endOffset":4770,"count":0}],"isBlockCoverage":true},{"functionName":"subscribe","ranges":[{"startOffset":4803,"endOffset":4893,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4895,"endOffset":4989,"count":0}],"isBlockCoverage":false},{"functionName":"hasSubscribers","ranges":[{"startOffset":4991,"endOffset":5126,"count":0}],"isBlockCoverage":false},{"functionName":"assertChannel","ranges":[{"startOffset":5215,"endOffset":5357,"count":0}],"isBlockCoverage":false},{"functionName":"TracingChannel","ranges":[{"startOffset":5384,"endOffset":6531,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":6535,"endOffset":6687,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":6691,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"traceSync","ranges":[{"startOffset":6928,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"tracePromise","ranges":[{"startOffset":7358,"endOffset":8459,"count":0}],"isBlockCoverage":false},{"functionName":"traceCallback","ranges":[{"startOffset":8463,"endOffset":9589,"count":0}],"isBlockCoverage":false},{"functionName":"tracingChannel","ranges":[{"startOffset":9593,"endOffset":9681,"count":0}],"isBlockCoverage":false}]},{"scriptId":"167","url":"node:internal/modules/cjs/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":45478,"count":1}],"isBlockCoverage":false},{"functionName":"get hasLoadedAnyUserCJSModule","ranges":[{"startOffset":2238,"endOffset":2307,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3478,"endOffset":3569,"count":1},{"startOffset":3525,"endOffset":3561,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3618,"endOffset":3661,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3702,"endOffset":3756,"count":1}],"isBlockCoverage":true},{"functionName":"internalRequire","ranges":[{"startOffset":4610,"endOffset":4935,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4937,"endOffset":5347,"count":1541},{"startOffset":5035,"endOffset":5129,"count":1499},{"startOffset":5111,"endOffset":5125,"count":406},{"startOffset":5129,"endOffset":5202,"count":1135},{"startOffset":5202,"endOffset":5216,"count":1093},{"startOffset":5218,"endOffset":5328,"count":434},{"startOffset":5328,"endOffset":5346,"count":1135}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":5428,"endOffset":5451,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":5455,"endOffset":5550,"count":0}],"isBlockCoverage":false},{"functionName":"updateChildren","ranges":[{"startOffset":5579,"endOffset":5775,"count":791},{"startOffset":5651,"endOffset":5661,"count":741},{"startOffset":5678,"endOffset":5731,"count":741},{"startOffset":5688,"endOffset":5730,"count":392},{"startOffset":5737,"endOffset":5773,"count":741}],"isBlockCoverage":true},{"functionName":"reportModuleToWatchMode","ranges":[{"startOffset":5777,"endOffset":5933,"count":1187},{"startOffset":5858,"endOffset":5873,"count":0},{"startOffset":5875,"endOffset":5931,"count":0}],"isBlockCoverage":true},{"functionName":"reportModuleNotFoundToWatchMode","ranges":[{"startOffset":5935,"endOffset":6174,"count":17},{"startOffset":6036,"endOffset":6051,"count":0},{"startOffset":6053,"endOffset":6172,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6121,"endOffset":6163,"count":0}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":6221,"endOffset":6978,"count":376},{"startOffset":6534,"endOffset":6544,"count":0},{"startOffset":6562,"endOffset":6926,"count":0}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":7220,"endOffset":7297,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7463,"endOffset":7585,"count":0}],"isBlockCoverage":false},{"functionName":"defineProperty","ranges":[{"startOffset":7590,"endOffset":7723,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7790,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7823,"endOffset":7877,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7947,"endOffset":7983,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7988,"endOffset":8050,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8084,"endOffset":8114,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleParent","ranges":[{"startOffset":8274,"endOffset":8342,"count":0}],"isBlockCoverage":false},{"functionName":"setModuleParent","ranges":[{"startOffset":8344,"endOffset":8417,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8484,"endOffset":8509,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCJS","ranges":[{"startOffset":9188,"endOffset":9688,"count":1}],"isBlockCoverage":true},{"functionName":"readPackage","ranges":[{"startOffset":9982,"endOffset":10095,"count":1719}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":10197,"endOffset":10227,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10231,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"readPackageScope","ranges":[{"startOffset":10383,"endOffset":11176,"count":883},{"startOffset":10570,"endOffset":11113,"count":1599},{"startOffset":10819,"endOffset":10865,"count":0},{"startOffset":10867,"endOffset":10894,"count":0},{"startOffset":10967,"endOffset":10980,"count":0},{"startOffset":11052,"endOffset":11109,"count":883},{"startOffset":11113,"endOffset":11175,"count":0}],"isBlockCoverage":true},{"functionName":"tryPackage","ranges":[{"startOffset":11178,"endOffset":12457,"count":52},{"startOffset":11300,"endOffset":11381,"count":18},{"startOffset":11381,"endOffset":11475,"count":34},{"startOffset":11475,"endOffset":11519,"count":0},{"startOffset":11520,"endOffset":11587,"count":0},{"startOffset":11613,"endOffset":12438,"count":0},{"startOffset":12438,"endOffset":12456,"count":34}],"isBlockCoverage":true},{"functionName":"tryFile","ranges":[{"startOffset":12802,"endOffset":13034,"count":609},{"startOffset":12891,"endOffset":12898,"count":207},{"startOffset":12898,"endOffset":12943,"count":402},{"startOffset":12943,"endOffset":12953,"count":0},{"startOffset":12955,"endOffset":12998,"count":0},{"startOffset":12998,"endOffset":13033,"count":402}],"isBlockCoverage":true},{"functionName":"toRealPath","ranges":[{"startOffset":13036,"endOffset":13168,"count":446}],"isBlockCoverage":true},{"functionName":"tryExtensions","ranges":[{"startOffset":13243,"endOffset":13449,"count":435},{"startOffset":13325,"endOffset":13431,"count":573},{"startOffset":13397,"endOffset":13427,"count":366},{"startOffset":13431,"endOffset":13448,"count":69}],"isBlockCoverage":true},{"functionName":"findLongestRegisteredExtension","ranges":[{"startOffset":13538,"endOffset":14006,"count":374},{"startOffset":13813,"endOffset":13822,"count":0},{"startOffset":13960,"endOffset":13984,"count":363},{"startOffset":13988,"endOffset":14005,"count":11}],"isBlockCoverage":true},{"functionName":"trySelfParentPath","ranges":[{"startOffset":14008,"endOffset":14297,"count":545},{"startOffset":14060,"endOffset":14073,"count":23},{"startOffset":14073,"endOffset":14131,"count":522},{"startOffset":14131,"endOffset":14295,"count":0}],"isBlockCoverage":true},{"functionName":"trySelf","ranges":[{"startOffset":14299,"endOffset":15197,"count":545},{"startOffset":14358,"endOffset":14371,"count":23},{"startOffset":14371,"endOffset":14475,"count":522},{"startOffset":14476,"endOffset":14501,"count":11},{"startOffset":14503,"endOffset":14526,"count":511},{"startOffset":14526,"endOffset":14573,"count":11},{"startOffset":14573,"endOffset":14599,"count":0},{"startOffset":14599,"endOffset":14765,"count":11},{"startOffset":14661,"endOffset":14736,"count":0},{"startOffset":14765,"endOffset":15195,"count":0}],"isBlockCoverage":true},{"functionName":"resolveExports","ranges":[{"startOffset":15358,"endOffset":16166,"count":437},{"startOffset":15565,"endOffset":15580,"count":369},{"startOffset":15599,"endOffset":15606,"count":369},{"startOffset":15606,"endOffset":15707,"count":68},{"startOffset":15707,"endOffset":15729,"count":51},{"startOffset":15731,"endOffset":16164,"count":2},{"startOffset":16011,"endOffset":16160,"count":0}],"isBlockCoverage":true},{"functionName":"Module._findPath","ranges":[{"startOffset":16434,"endOffset":20492,"count":546},{"startOffset":16544,"endOffset":16567,"count":25},{"startOffset":16567,"endOffset":16630,"count":521},{"startOffset":16607,"endOffset":16630,"count":0},{"startOffset":16767,"endOffset":16780,"count":101},{"startOffset":16780,"endOffset":17363,"count":445},{"startOffset":17002,"endOffset":17356,"count":0},{"startOffset":17438,"endOffset":17894,"count":369},{"startOffset":17544,"endOffset":17629,"count":58},{"startOffset":17564,"endOffset":17628,"count":0},{"startOffset":17630,"endOffset":17888,"count":58},{"startOffset":17799,"endOffset":17886,"count":0},{"startOffset":17939,"endOffset":18093,"count":369},{"startOffset":18056,"endOffset":18089,"count":58},{"startOffset":18093,"endOffset":18155,"count":445},{"startOffset":18155,"endOffset":20473,"count":555},{"startOffset":18296,"endOffset":18306,"count":497},{"startOffset":18307,"endOffset":18403,"count":472},{"startOffset":18341,"endOffset":18379,"count":0},{"startOffset":18410,"endOffset":18433,"count":93},{"startOffset":18433,"endOffset":18461,"count":462},{"startOffset":18461,"endOffset":18591,"count":437},{"startOffset":18562,"endOffset":18585,"count":2},{"startOffset":18591,"endOffset":19950,"count":460},{"startOffset":18743,"endOffset":19727,"count":43},{"startOffset":18776,"endOffset":18965,"count":42},{"startOffset":18831,"endOffset":18891,"count":0},{"startOffset":18965,"endOffset":19719,"count":1},{"startOffset":19019,"endOffset":19659,"count":0},{"startOffset":19750,"endOffset":19944,"count":417},{"startOffset":19840,"endOffset":19878,"count":400},{"startOffset":19950,"endOffset":19970,"count":460},{"startOffset":19970,"endOffset":19981,"count":69},{"startOffset":19983,"endOffset":20199,"count":52},{"startOffset":20093,"endOffset":20131,"count":0},{"startOffset":20199,"endOffset":20219,"count":460},{"startOffset":20219,"endOffset":20295,"count":443},{"startOffset":20295,"endOffset":20473,"count":17},{"startOffset":20473,"endOffset":20491,"count":0}],"isBlockCoverage":true},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":20736,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":22345,"endOffset":23485,"count":402},{"startOffset":22623,"endOffset":22648,"count":0},{"startOffset":22941,"endOffset":23363,"count":25425},{"startOffset":23037,"endOffset":23233,"count":2735},{"startOffset":23074,"endOffset":23192,"count":2333},{"startOffset":23233,"endOffset":23357,"count":22690},{"startOffset":23253,"endOffset":23357,"count":7735},{"startOffset":23288,"endOffset":23314,"count":5402},{"startOffset":23314,"endOffset":23349,"count":2333}],"isBlockCoverage":true},{"functionName":"Module._resolveLookupPaths","ranges":[{"startOffset":23519,"endOffset":24778,"count":545},{"startOffset":23599,"endOffset":23665,"count":0},{"startOffset":23750,"endOffset":23949,"count":468},{"startOffset":23830,"endOffset":23880,"count":338},{"startOffset":23881,"endOffset":23948,"count":0},{"startOffset":23951,"endOffset":24250,"count":77},{"startOffset":23983,"endOffset":23998,"count":54},{"startOffset":24000,"endOffset":24110,"count":54},{"startOffset":24110,"endOffset":24150,"count":23},{"startOffset":24239,"endOffset":24245,"count":0},{"startOffset":24250,"endOffset":24318,"count":468},{"startOffset":24319,"endOffset":24338,"count":468},{"startOffset":24340,"endOffset":24589,"count":0},{"startOffset":24589,"endOffset":24777,"count":468}],"isBlockCoverage":true},{"functionName":"emitCircularRequireWarning","ranges":[{"startOffset":24781,"endOffset":24965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25178,"endOffset":25550,"count":0}],"isBlockCoverage":false},{"functionName":"getOwnPropertyDescriptor","ranges":[{"startOffset":25555,"endOffset":25796,"count":0}],"isBlockCoverage":false},{"functionName":"getExportsForCircularRequire","ranges":[{"startOffset":25803,"endOffset":26447,"count":2},{"startOffset":25972,"endOffset":26265,"count":1},{"startOffset":26267,"endOffset":26419,"count":1}],"isBlockCoverage":true},{"functionName":"Module._load","ranges":[{"startOffset":26860,"endOffset":29991,"count":836},{"startOffset":26943,"endOffset":27759,"count":813},{"startOffset":27402,"endOffset":27755,"count":220},{"startOffset":27592,"endOffset":27642,"count":0},{"startOffset":27687,"endOffset":27755,"count":0},{"startOffset":27759,"endOffset":27812,"count":616},{"startOffset":27812,"endOffset":28084,"count":12},{"startOffset":27941,"endOffset":28001,"count":0},{"startOffset":28084,"endOffset":28237,"count":604},{"startOffset":28237,"endOffset":28597,"count":195},{"startOffset":28317,"endOffset":28545,"count":27},{"startOffset":28413,"endOffset":28440,"count":25},{"startOffset":28450,"endOffset":28500,"count":2},{"startOffset":28500,"endOffset":28545,"count":25},{"startOffset":28545,"endOffset":28593,"count":168},{"startOffset":28597,"endOffset":28657,"count":434},{"startOffset":28657,"endOffset":28740,"count":60},{"startOffset":28740,"endOffset":28839,"count":374},{"startOffset":28839,"endOffset":28870,"count":349},{"startOffset":28887,"endOffset":29028,"count":0},{"startOffset":29028,"endOffset":29132,"count":374},{"startOffset":29132,"endOffset":29201,"count":351},{"startOffset":29201,"endOffset":29963,"count":374},{"startOffset":29306,"endOffset":29709,"count":0},{"startOffset":29734,"endOffset":29776,"count":373},{"startOffset":29777,"endOffset":29889,"count":373},{"startOffset":29891,"endOffset":29959,"count":1},{"startOffset":29963,"endOffset":29990,"count":374}],"isBlockCoverage":true},{"functionName":"Module._resolveFilename","ranges":[{"startOffset":30020,"endOffset":33106,"count":605},{"startOffset":30117,"endOffset":30142,"count":60},{"startOffset":30142,"endOffset":30192,"count":545},{"startOffset":30192,"endOffset":30211,"count":0},{"startOffset":30213,"endOffset":31290,"count":0},{"startOffset":31290,"endOffset":31385,"count":545},{"startOffset":31385,"endOffset":31433,"count":0},{"startOffset":31435,"endOffset":32047,"count":0},{"startOffset":32047,"endOffset":32208,"count":545},{"startOffset":32208,"endOffset":32404,"count":0},{"startOffset":32404,"endOffset":32560,"count":545},{"startOffset":32560,"endOffset":33105,"count":0}],"isBlockCoverage":true},{"functionName":"finalizeEsmResolution","ranges":[{"startOffset":33109,"endOffset":33678,"count":2},{"startOffset":33311,"endOffset":33430,"count":0},{"startOffset":33543,"endOffset":33677,"count":0}],"isBlockCoverage":true},{"functionName":"createEsmNotFoundErr","ranges":[{"startOffset":33680,"endOffset":33970,"count":0}],"isBlockCoverage":false},{"functionName":"Module.load","ranges":[{"startOffset":34059,"endOffset":34896,"count":374},{"startOffset":34394,"endOffset":34424,"count":0},{"startOffset":34430,"endOffset":34472,"count":0},{"startOffset":34752,"endOffset":34800,"count":0}],"isBlockCoverage":true},{"functionName":"Module.require","ranges":[{"startOffset":35095,"endOffset":35394,"count":813},{"startOffset":35155,"endOffset":35273,"count":0}],"isBlockCoverage":true},{"functionName":"wrapSafe","ranges":[{"startOffset":35584,"endOffset":37521,"count":371},{"startOffset":35668,"endOffset":36404,"count":0},{"startOffset":36944,"endOffset":36990,"count":0},{"startOffset":36991,"endOffset":37032,"count":0},{"startOffset":37034,"endOffset":37097,"count":0},{"startOffset":37183,"endOffset":37281,"count":5},{"startOffset":37315,"endOffset":37519,"count":0}],"isBlockCoverage":true},{"functionName":"importModuleDynamically","ranges":[{"startOffset":35895,"endOffset":36134,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":36617,"endOffset":36870,"count":2}],"isBlockCoverage":true},{"functionName":"Module._compile","ranges":[{"startOffset":37721,"endOffset":39539,"count":371},{"startOffset":37812,"endOffset":37822,"count":0},{"startOffset":37840,"endOffset":37993,"count":0},{"startOffset":38126,"endOffset":38150,"count":0},{"startOffset":38152,"endOffset":38888,"count":0},{"startOffset":39111,"endOffset":39137,"count":23},{"startOffset":39162,"endOffset":39301,"count":0},{"startOffset":39503,"endOffset":39520,"count":23}],"isBlockCoverage":true},{"functionName":"Module._extensions..js","ranges":[{"startOffset":39598,"endOffset":41380,"count":371},{"startOffset":39759,"endOffset":39767,"count":25},{"startOffset":39769,"endOffset":39834,"count":25},{"startOffset":39834,"endOffset":39894,"count":346},{"startOffset":39943,"endOffset":41340,"count":360},{"startOffset":39988,"endOffset":40010,"count":0},{"startOffset":40106,"endOffset":41336,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..json","ranges":[{"startOffset":41444,"endOffset":41850,"count":3},{"startOffset":41554,"endOffset":41564,"count":0},{"startOffset":41582,"endOffset":41684,"count":0},{"startOffset":41767,"endOffset":41848,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..node","ranges":[{"startOffset":41914,"endOffset":42256,"count":0}],"isBlockCoverage":false},{"functionName":"createRequireFromPath","ranges":[{"startOffset":42259,"endOffset":42720,"count":2},{"startOffset":42439,"endOffset":42481,"count":0},{"startOffset":42519,"endOffset":42555,"count":0}],"isBlockCoverage":true},{"functionName":"createRequire","ranges":[{"startOffset":42828,"endOffset":43373,"count":2},{"startOffset":43033,"endOffset":43165,"count":0},{"startOffset":43169,"endOffset":43329,"count":0}],"isBlockCoverage":true},{"functionName":"Module._initPaths","ranges":[{"startOffset":43434,"endOffset":44399,"count":1},{"startOffset":43475,"endOffset":43500,"count":0},{"startOffset":43552,"endOffset":43575,"count":0},{"startOffset":43783,"endOffset":43825,"count":0},{"startOffset":44124,"endOffset":44266,"count":0}],"isBlockCoverage":true},{"functionName":"Module._preloadModules","ranges":[{"startOffset":44427,"endOffset":45018,"count":0}],"isBlockCoverage":false},{"functionName":"syncBuiltinESMExports","ranges":[{"startOffset":45052,"endOffset":45233,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":45318,"endOffset":45376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"168","url":"node:internal/vm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2921,"count":1}],"isBlockCoverage":false},{"functionName":"isContext","ranges":[{"startOffset":419,"endOffset":554,"count":0}],"isBlockCoverage":false},{"functionName":"internalCompileFunction","ranges":[{"startOffset":556,"endOffset":2857,"count":371},{"startOffset":1151,"endOffset":1200,"count":0},{"startOffset":1304,"endOffset":1566,"count":0},{"startOffset":2045,"endOffset":2118,"count":0},{"startOffset":2145,"endOffset":2202,"count":0},{"startOffset":2258,"endOffset":2331,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1675,"endOffset":1824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"169","url":"node:internal/modules/helpers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7741,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":923,"endOffset":948,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCjsConditions","ranges":[{"startOffset":971,"endOffset":1363,"count":1},{"startOffset":1150,"endOffset":1154,"count":0}],"isBlockCoverage":true},{"functionName":"getCjsConditions","ranges":[{"startOffset":1365,"endOffset":1492,"count":2},{"startOffset":1430,"endOffset":1466,"count":0}],"isBlockCoverage":true},{"functionName":"loadBuiltinModule","ranges":[{"startOffset":1494,"endOffset":1823,"count":86},{"startOffset":1595,"endOffset":1612,"count":0}],"isBlockCoverage":true},{"functionName":"lazyModule","ranges":[{"startOffset":1845,"endOffset":1958,"count":373},{"startOffset":1889,"endOffset":1937,"count":1}],"isBlockCoverage":true},{"functionName":"makeRequireFunction","ranges":[{"startOffset":2207,"endOffset":4418,"count":373},{"startOffset":2346,"endOffset":2409,"count":0},{"startOffset":2443,"endOffset":3714,"count":0}],"isBlockCoverage":true},{"functionName":"require","ranges":[{"startOffset":2586,"endOffset":3709,"count":0}],"isBlockCoverage":false},{"functionName":"require","ranges":[{"startOffset":3736,"endOffset":3876,"count":812}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":3885,"endOffset":4031,"count":0}],"isBlockCoverage":false},{"functionName":"paths","ranges":[{"startOffset":4065,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"stripBOM","ranges":[{"startOffset":4603,"endOffset":4758,"count":3},{"startOffset":4685,"endOffset":4738,"count":0}],"isBlockCoverage":true},{"functionName":"addBuiltinLibsToObject","ranges":[{"startOffset":4760,"endOffset":6720,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeReferrerURL","ranges":[{"startOffset":6788,"endOffset":6976,"count":65},{"startOffset":6895,"endOffset":6941,"count":7},{"startOffset":6941,"endOffset":6975,"count":58}],"isBlockCoverage":true},{"functionName":"hasEsmSyntax","ranges":[{"startOffset":7046,"endOffset":7548,"count":0}],"isBlockCoverage":false}]},{"scriptId":"170","url":"node:internal/modules/package_json_reader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3711,"count":1}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":932,"endOffset":3682,"count":2048},{"startOffset":1028,"endOffset":1065,"count":1895},{"startOffset":1065,"endOffset":1742,"count":153},{"startOffset":1742,"endOffset":1751,"count":0},{"startOffset":1752,"endOffset":1766,"count":0},{"startOffset":1767,"endOffset":1789,"count":153},{"startOffset":1813,"endOffset":3632,"count":85},{"startOffset":1881,"endOffset":2477,"count":0},{"startOffset":2635,"endOffset":2669,"count":84},{"startOffset":2671,"endOffset":2711,"count":84},{"startOffset":2767,"endOffset":2801,"count":43},{"startOffset":2803,"endOffset":2843,"count":43},{"startOffset":2903,"endOffset":2949,"count":27},{"startOffset":3009,"endOffset":3055,"count":1},{"startOffset":3166,"endOffset":3225,"count":26},{"startOffset":3197,"endOffset":3224,"count":25},{"startOffset":3227,"endOffset":3267,"count":26},{"startOffset":3301,"endOffset":3497,"count":1},{"startOffset":3422,"endOffset":3475,"count":0},{"startOffset":3525,"endOffset":3628,"count":0},{"startOffset":3632,"endOffset":3681,"count":153}],"isBlockCoverage":true}]},{"scriptId":"171","url":"node:internal/modules/run_main","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2850,"count":1}],"isBlockCoverage":false},{"functionName":"resolveMainPath","ranges":[{"startOffset":155,"endOffset":666,"count":1},{"startOffset":495,"endOffset":502,"count":0}],"isBlockCoverage":true},{"functionName":"shouldUseESMLoader","ranges":[{"startOffset":668,"endOffset":1558,"count":1},{"startOffset":1184,"endOffset":1196,"count":0},{"startOffset":1378,"endOffset":1390,"count":0},{"startOffset":1457,"endOffset":1470,"count":0}],"isBlockCoverage":true},{"functionName":"runMainESM","ranges":[{"startOffset":1560,"endOffset":1920,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1736,"endOffset":1915,"count":1},{"startOffset":1833,"endOffset":1843,"count":0}],"isBlockCoverage":true},{"functionName":"handleMainPromise","ranges":[{"startOffset":1922,"endOffset":2196,"count":1}],"isBlockCoverage":true},{"functionName":"executeUserEntryPoint","ranges":[{"startOffset":2382,"endOffset":2780,"count":1},{"startOffset":2592,"endOffset":2599,"count":0},{"startOffset":2605,"endOffset":2778,"count":0}],"isBlockCoverage":true}]},{"scriptId":"172","url":"node:internal/modules/esm/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6457,"count":1}],"isBlockCoverage":false},{"functionName":"getDefaultConditions","ranges":[{"startOffset":707,"endOffset":813,"count":108}],"isBlockCoverage":true},{"functionName":"getDefaultConditionsSet","ranges":[{"startOffset":841,"endOffset":956,"count":107}],"isBlockCoverage":true},{"functionName":"initializeDefaultConditions","ranges":[{"startOffset":1036,"endOffset":1418,"count":1},{"startOffset":1219,"endOffset":1223,"count":0}],"isBlockCoverage":true},{"functionName":"getConditionsSet","ranges":[{"startOffset":1488,"endOffset":1847,"count":107},{"startOffset":1601,"endOffset":1809,"count":0}],"isBlockCoverage":true},{"functionName":"registerModule","ranges":[{"startOffset":3590,"endOffset":3817,"count":429}],"isBlockCoverage":true},{"functionName":"initializeImportMetaObject","ranges":[{"startOffset":3842,"endOffset":4133,"count":3}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyCallback","ranges":[{"startOffset":4158,"endOffset":4557,"count":3},{"startOffset":4501,"endOffset":4556,"count":0}],"isBlockCoverage":true},{"functionName":"initializeESM","ranges":[{"startOffset":4722,"endOffset":5098,"count":1}],"isBlockCoverage":true},{"functionName":"isLoaderWorker","ranges":[{"startOffset":5100,"endOffset":5155,"count":1}],"isBlockCoverage":true},{"functionName":"initializeHooks","ranges":[{"startOffset":5157,"endOffset":6268,"count":0}],"isBlockCoverage":false}]},{"scriptId":"173","url":"node:internal/process/esm_loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1190,"count":1}],"isBlockCoverage":false},{"functionName":"get esmLoader","ranges":[{"startOffset":386,"endOffset":458,"count":77}],"isBlockCoverage":true},{"functionName":"loadESM","ranges":[{"startOffset":462,"endOffset":1185,"count":1},{"startOffset":630,"endOffset":846,"count":0},{"startOffset":937,"endOffset":1181,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":728,"endOffset":836,"count":0}],"isBlockCoverage":false}]},{"scriptId":"174","url":"node:internal/modules/esm/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21570,"count":1}],"isBlockCoverage":false},{"functionName":"newResolveCache","ranges":[{"startOffset":783,"endOffset":913,"count":1}],"isBlockCoverage":true},{"functionName":"newLoadCache","ranges":[{"startOffset":915,"endOffset":1036,"count":1}],"isBlockCoverage":true},{"functionName":"getTranslators","ranges":[{"startOffset":1038,"endOffset":1160,"count":98}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1847,"endOffset":14781,"count":1}],"isBlockCoverage":false},{"functionName":"ModuleLoader","ranges":[{"startOffset":3114,"endOffset":3307,"count":1},{"startOffset":3202,"endOffset":3259,"count":0}],"isBlockCoverage":true},{"functionName":"setCustomizations","ranges":[{"startOffset":4847,"endOffset":5091,"count":1},{"startOffset":4950,"endOffset":5032,"count":0}],"isBlockCoverage":true},{"functionName":"eval","ranges":[{"startOffset":5095,"endOffset":6098,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleJob","ranges":[{"startOffset":6833,"endOffset":7068,"count":162}],"isBlockCoverage":true},{"functionName":"getModuleJobSync","ranges":[{"startOffset":7072,"endOffset":7309,"count":0}],"isBlockCoverage":false},{"functionName":"getJobFromResolveResult","ranges":[{"startOffset":7313,"endOffset":7897,"count":162},{"startOffset":7687,"endOffset":7749,"count":0},{"startOffset":7778,"endOffset":7876,"count":97}],"isBlockCoverage":true},{"functionName":"#createModuleJob","ranges":[{"startOffset":8535,"endOffset":9726,"count":97},{"startOffset":9027,"endOffset":9103,"count":0},{"startOffset":9246,"endOffset":9286,"count":1},{"startOffset":9341,"endOffset":9356,"count":0},{"startOffset":9358,"endOffset":9412,"count":0}],"isBlockCoverage":true},{"functionName":"callTranslator","ranges":[{"startOffset":8629,"endOffset":8943,"count":97},{"startOffset":8773,"endOffset":8853,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9035,"endOffset":9103,"count":0}],"isBlockCoverage":false},{"functionName":"moduleProvider","ranges":[{"startOffset":9112,"endOffset":9188,"count":97}],"isBlockCoverage":true},{"functionName":"import","ranges":[{"startOffset":10188,"endOffset":10413,"count":4}],"isBlockCoverage":true},{"functionName":"register","ranges":[{"startOffset":10479,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":11461,"endOffset":12047,"count":162},{"startOffset":11549,"endOffset":11647,"count":0},{"startOffset":11843,"endOffset":11877,"count":1},{"startOffset":11877,"endOffset":12046,"count":161}],"isBlockCoverage":true},{"functionName":"resolveSync","ranges":[{"startOffset":12205,"endOffset":12483,"count":0}],"isBlockCoverage":false},{"functionName":"defaultResolve","ranges":[{"startOffset":12695,"endOffset":13035,"count":161}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":13319,"endOffset":13623,"count":97},{"startOffset":13456,"endOffset":13510,"count":0}],"isBlockCoverage":true},{"functionName":"loadSync","ranges":[{"startOffset":13627,"endOffset":14158,"count":0}],"isBlockCoverage":false},{"functionName":"validateLoadResult","ranges":[{"startOffset":14162,"endOffset":14313,"count":97},{"startOffset":14220,"endOffset":14309,"count":0}],"isBlockCoverage":true},{"functionName":"importMetaInitialize","ranges":[{"startOffset":14317,"endOffset":14652,"count":3},{"startOffset":14385,"endOffset":14469,"count":0}],"isBlockCoverage":true},{"functionName":"forceLoadHooks","ranges":[{"startOffset":14713,"endOffset":14779,"count":1},{"startOffset":14756,"endOffset":14772,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14835,"endOffset":17345,"count":0}],"isBlockCoverage":false},{"functionName":"createModuleLoader","ranges":[{"startOffset":17841,"endOffset":19523,"count":1},{"startOffset":18306,"endOffset":19473,"count":0}],"isBlockCoverage":true},{"functionName":"readableURIEncode","ranges":[{"startOffset":18381,"endOffset":18876,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19196,"endOffset":19284,"count":0}],"isBlockCoverage":false},{"functionName":"getHooksProxy","ranges":[{"startOffset":19636,"endOffset":19812,"count":0}],"isBlockCoverage":false},{"functionName":"register","ranges":[{"startOffset":21096,"endOffset":21495,"count":0}],"isBlockCoverage":false}]},{"scriptId":"175","url":"node:internal/modules/esm/module_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3877,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":281,"endOffset":306,"count":1}],"isBlockCoverage":true},{"functionName":"ResolveCache","ranges":[{"startOffset":850,"endOffset":878,"count":1}],"isBlockCoverage":true},{"functionName":"serializeKey","ranges":[{"startOffset":1224,"endOffset":1836,"count":162},{"startOffset":1633,"endOffset":1835,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1752,"endOffset":1818,"count":0}],"isBlockCoverage":false},{"functionName":"#getModuleCachedImports","ranges":[{"startOffset":1840,"endOffset":2056,"count":323},{"startOffset":1954,"endOffset":2026,"count":37}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2231,"endOffset":2333,"count":162}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":2473,"endOffset":2602,"count":161}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":2606,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"LoadCache","ranges":[{"startOffset":2844,"endOffset":2872,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2921,"endOffset":3064,"count":162},{"startOffset":3051,"endOffset":3059,"count":65}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3067,"endOffset":3662,"count":97},{"startOffset":3286,"endOffset":3322,"count":0},{"startOffset":3324,"endOffset":3394,"count":0},{"startOffset":3478,"endOffset":3484,"count":0}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":3665,"endOffset":3822,"count":0}],"isBlockCoverage":false}]},{"scriptId":"176","url":"node:internal/modules/esm/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4026,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1321,"endOffset":1359,"count":5}],"isBlockCoverage":true},{"functionName":"validateAssertions","ranges":[{"startOffset":1780,"endOffset":3310,"count":97},{"startOffset":2002,"endOffset":2301,"count":0},{"startOffset":2330,"endOffset":2475,"count":0},{"startOffset":2740,"endOffset":2800,"count":0},{"startOffset":2806,"endOffset":2914,"count":0},{"startOffset":2920,"endOffset":3304,"count":0}],"isBlockCoverage":true},{"functionName":"handleInvalidType","ranges":[{"startOffset":3542,"endOffset":3956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"177","url":"node:internal/modules/esm/translators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15691,"count":1}],"isBlockCoverage":false},{"functionName":"lazyTypes","ranges":[{"startOffset":372,"endOffset":484,"count":116},{"startOffset":418,"endOffset":432,"count":115},{"startOffset":432,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":948,"endOffset":973,"count":1}],"isBlockCoverage":true},{"functionName":"initCJSParse","ranges":[{"startOffset":1545,"endOffset":1943,"count":6},{"startOffset":1619,"endOffset":1694,"count":0},{"startOffset":1852,"endOffset":1937,"count":0}],"isBlockCoverage":true},{"functionName":"assertBufferSource","ranges":[{"startOffset":2077,"endOffset":2498,"count":116},{"startOffset":2154,"endOffset":2181,"count":58},{"startOffset":2183,"endOffset":2200,"count":0},{"startOffset":2294,"endOffset":2319,"count":0},{"startOffset":2338,"endOffset":2417,"count":0},{"startOffset":2418,"endOffset":2422,"count":0}],"isBlockCoverage":true},{"functionName":"stringify","ranges":[{"startOffset":2500,"endOffset":2774,"count":83},{"startOffset":2559,"endOffset":2571,"count":25},{"startOffset":2571,"endOffset":2711,"count":58},{"startOffset":2711,"endOffset":2730,"count":1},{"startOffset":2731,"endOffset":2740,"count":57}],"isBlockCoverage":true},{"functionName":"errPath","ranges":[{"startOffset":2776,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":2923,"endOffset":3061,"count":1}],"isBlockCoverage":true},{"functionName":"moduleStrategy","ranges":[{"startOffset":3143,"endOffset":3668,"count":58}],"isBlockCoverage":true},{"functionName":"initializeImportMeta","ranges":[{"startOffset":3557,"endOffset":3613,"count":3}],"isBlockCoverage":true},{"functionName":"enrichCJSError","ranges":[{"startOffset":3835,"endOffset":4374,"count":0}],"isBlockCoverage":false},{"functionName":"loadCJSModule","ranges":[{"startOffset":4715,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"createCJSModuleWrap","ranges":[{"startOffset":6909,"endOffset":8288,"count":25},{"startOffset":7110,"endOffset":7115,"count":0},{"startOffset":7309,"endOffset":7331,"count":1},{"startOffset":7332,"endOffset":7361,"count":24},{"startOffset":7378,"endOffset":7434,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7494,"endOffset":8283,"count":25},{"startOffset":7571,"endOffset":7624,"count":23},{"startOffset":7806,"endOffset":7849,"count":0},{"startOffset":7892,"endOffset":8239,"count":70},{"startOffset":7956,"endOffset":7993,"count":69},{"startOffset":8003,"endOffset":8012,"count":2},{"startOffset":8012,"endOffset":8136,"count":68},{"startOffset":8136,"endOffset":8192,"count":0},{"startOffset":8192,"endOffset":8239,"count":68}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8448,"endOffset":8540,"count":0}],"isBlockCoverage":false},{"functionName":"commonjsStrategy","ranges":[{"startOffset":8728,"endOffset":9611,"count":25},{"startOffset":8860,"endOffset":8891,"count":6},{"startOffset":9358,"endOffset":9373,"count":0},{"startOffset":9498,"endOffset":9546,"count":0}],"isBlockCoverage":true},{"functionName":"cjsLoader","ranges":[{"startOffset":9138,"endOffset":9357,"count":23},{"startOffset":9277,"endOffset":9353,"count":0}],"isBlockCoverage":true},{"functionName":"cjsPreparseModuleExports","ranges":[{"startOffset":9615,"endOffset":12093,"count":25},{"startOffset":9798,"endOffset":9923,"count":0},{"startOffset":10231,"endOffset":10236,"count":0},{"startOffset":10244,"endOffset":10293,"count":0},{"startOffset":10469,"endOffset":12056,"count":1},{"startOffset":11330,"endOffset":11363,"count":0},{"startOffset":11629,"endOffset":11658,"count":0},{"startOffset":11660,"endOffset":12046,"count":0}],"isBlockCoverage":true},{"functionName":"builtinStrategy","ranges":[{"startOffset":12217,"endOffset":12623,"count":14},{"startOffset":12496,"endOffset":12548,"count":0}],"isBlockCoverage":true},{"functionName":"jsonStrategy","ranges":[{"startOffset":12735,"endOffset":14686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14752,"endOffset":15688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"178","url":"node:internal/modules/esm/resolve","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36606,"count":1}],"isBlockCoverage":false},{"functionName":"emitTrailingSlashPatternDeprecation","ranges":[{"startOffset":2334,"endOffset":2920,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidSegmentDeprecation","ranges":[{"startOffset":2962,"endOffset":3657,"count":0}],"isBlockCoverage":false},{"functionName":"emitLegacyIndexDeprecation","ranges":[{"startOffset":3805,"endOffset":4938,"count":22},{"startOffset":3967,"endOffset":4936,"count":0}],"isBlockCoverage":true},{"functionName":"legacyMainResolve","ranges":[{"startOffset":6029,"endOffset":6789,"count":22},{"startOffset":6196,"endOffset":6280,"count":0},{"startOffset":6320,"endOffset":6331,"count":0},{"startOffset":6543,"endOffset":6570,"count":14},{"startOffset":6571,"endOffset":6575,"count":8}],"isBlockCoverage":true},{"functionName":"finalizeResolution","ranges":[{"startOffset":6969,"endOffset":8433,"count":107},{"startOffset":7109,"endOffset":7252,"count":0},{"startOffset":7314,"endOffset":7498,"count":0},{"startOffset":7587,"endOffset":7623,"count":0},{"startOffset":7689,"endOffset":7781,"count":0},{"startOffset":7804,"endOffset":8092,"count":0},{"startOffset":8338,"endOffset":8343,"count":0}],"isBlockCoverage":true},{"functionName":"importNotDefined","ranges":[{"startOffset":8545,"endOffset":8756,"count":0}],"isBlockCoverage":false},{"functionName":"exportsNotFound","ranges":[{"startOffset":8866,"endOffset":9061,"count":0}],"isBlockCoverage":false},{"functionName":"throwInvalidSubpath","ranges":[{"startOffset":9228,"endOffset":9611,"count":0}],"isBlockCoverage":false},{"functionName":"invalidPackageTarget","ranges":[{"startOffset":9613,"endOffset":9991,"count":0}],"isBlockCoverage":false},{"functionName":"resolvePackageTargetString","ranges":[{"startOffset":10714,"endOffset":13451,"count":34},{"startOffset":10883,"endOffset":10894,"count":0},{"startOffset":10895,"endOffset":10931,"count":0},{"startOffset":10937,"endOffset":11011,"count":0},{"startOffset":11061,"endOffset":11618,"count":0},{"startOffset":11710,"endOffset":12320,"count":0},{"startOffset":12543,"endOffset":12617,"count":0},{"startOffset":12657,"endOffset":13450,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11393,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11919,"endOffset":11932,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12065,"endOffset":12078,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12792,"endOffset":12805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13032,"endOffset":13045,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13385,"endOffset":13398,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayIndex","ranges":[{"startOffset":13506,"endOffset":13646,"count":18},{"startOffset":13598,"endOffset":13643,"count":0}],"isBlockCoverage":true},{"functionName":"resolvePackageTarget","ranges":[{"startOffset":13910,"endOffset":16158,"count":44},{"startOffset":14103,"endOffset":14257,"count":34},{"startOffset":14257,"endOffset":16041,"count":10},{"startOffset":14289,"endOffset":15127,"count":2},{"startOffset":14320,"endOffset":14346,"count":0},{"startOffset":14666,"endOffset":14814,"count":0},{"startOffset":14854,"endOffset":14881,"count":0},{"startOffset":14916,"endOffset":14973,"count":0},{"startOffset":15007,"endOffset":15069,"count":0},{"startOffset":15077,"endOffset":15127,"count":0},{"startOffset":15127,"endOffset":16041,"count":8},{"startOffset":15280,"endOffset":15508,"count":18},{"startOffset":15338,"endOffset":15502,"count":0},{"startOffset":15551,"endOffset":15966,"count":13},{"startOffset":15608,"endOffset":15630,"count":10},{"startOffset":15632,"endOffset":15960,"count":8},{"startOffset":15913,"endOffset":15922,"count":0},{"startOffset":15966,"endOffset":16041,"count":0},{"startOffset":16041,"endOffset":16157,"count":0}],"isBlockCoverage":true},{"functionName":"isConditionalExportsMainSugar","ranges":[{"startOffset":16343,"endOffset":17278,"count":32},{"startOffset":16449,"endOffset":16473,"count":6},{"startOffset":16475,"endOffset":16487,"count":26},{"startOffset":16487,"endOffset":16541,"count":6},{"startOffset":16543,"endOffset":16556,"count":0},{"startOffset":16556,"endOffset":16696,"count":6},{"startOffset":16696,"endOffset":17247,"count":11},{"startOffset":16806,"endOffset":16863,"count":6},{"startOffset":16863,"endOffset":17243,"count":5},{"startOffset":16919,"endOffset":17243,"count":0},{"startOffset":17247,"endOffset":17277,"count":6}],"isBlockCoverage":true},{"functionName":"packageExportsResolve","ranges":[{"startOffset":17488,"endOffset":20047,"count":32},{"startOffset":17700,"endOffset":17727,"count":27},{"startOffset":18129,"endOffset":18203,"count":0},{"startOffset":18234,"endOffset":20046,"count":0}],"isBlockCoverage":true},{"functionName":"patternKeyCompare","ranges":[{"startOffset":20049,"endOffset":20580,"count":0}],"isBlockCoverage":false},{"functionName":"packageImportsResolve","ranges":[{"startOffset":20709,"endOffset":23166,"count":2},{"startOffset":20871,"endOffset":21024,"count":0},{"startOffset":21608,"endOffset":23100,"count":0},{"startOffset":23110,"endOffset":23165,"count":0}],"isBlockCoverage":true},{"functionName":"getPackageType","ranges":[{"startOffset":23271,"endOffset":23384,"count":116}],"isBlockCoverage":true},{"functionName":"parsePackageName","ranges":[{"startOffset":23546,"endOffset":24598,"count":52},{"startOffset":23737,"endOffset":23965,"count":1},{"startOffset":23817,"endOffset":23856,"count":0},{"startOffset":24027,"endOffset":24079,"count":0},{"startOffset":24256,"endOffset":24281,"count":0},{"startOffset":24308,"endOffset":24427,"count":0},{"startOffset":24488,"endOffset":24541,"count":0}],"isBlockCoverage":true},{"functionName":"packageResolve","ranges":[{"startOffset":24760,"endOffset":26832,"count":52},{"startOffset":24874,"endOffset":24920,"count":0},{"startOffset":25258,"endOffset":25375,"count":0},{"startOffset":25550,"endOffset":26617,"count":191},{"startOffset":25809,"endOffset":26086,"count":139},{"startOffset":25886,"endOffset":25923,"count":3},{"startOffset":25924,"endOffset":25950,"count":136},{"startOffset":26086,"endOffset":26267,"count":52},{"startOffset":26267,"endOffset":26384,"count":30},{"startOffset":26384,"endOffset":26526,"count":22},{"startOffset":26526,"endOffset":26617,"count":0},{"startOffset":26617,"endOffset":26831,"count":0}],"isBlockCoverage":true},{"functionName":"isBareSpecifier","ranges":[{"startOffset":26893,"endOffset":27003,"count":0}],"isBlockCoverage":false},{"functionName":"isRelativeSpecifier","ranges":[{"startOffset":27005,"endOffset":27276,"count":268},{"startOffset":27075,"endOffset":27258,"count":104},{"startOffset":27133,"endOffset":27145,"count":94},{"startOffset":27145,"endOffset":27254,"count":10},{"startOffset":27258,"endOffset":27275,"count":164}],"isBlockCoverage":true},{"functionName":"shouldBeTreatedAsRelativeOrAbsolutePath","ranges":[{"startOffset":27278,"endOffset":27461,"count":268},{"startOffset":27364,"endOffset":27377,"count":0},{"startOffset":27406,"endOffset":27418,"count":0}],"isBlockCoverage":true},{"functionName":"moduleResolve","ranges":[{"startOffset":27654,"endOffset":28445,"count":107},{"startOffset":27980,"endOffset":28026,"count":52},{"startOffset":28026,"endOffset":28316,"count":55},{"startOffset":28071,"endOffset":28143,"count":2},{"startOffset":28143,"endOffset":28316,"count":53},{"startOffset":28204,"endOffset":28312,"count":52},{"startOffset":28354,"endOffset":28380,"count":0}],"isBlockCoverage":true},{"functionName":"resolveAsCommonJS","ranges":[{"startOffset":28591,"endOffset":30048,"count":0}],"isBlockCoverage":false},{"functionName":"checkIfDisallowedImport","ranges":[{"startOffset":30110,"endOffset":31482,"count":161},{"startOffset":30204,"endOffset":31480,"count":160},{"startOffset":30416,"endOffset":31476,"count":0}],"isBlockCoverage":true},{"functionName":"throwIfInvalidParentURL","ranges":[{"startOffset":31557,"endOffset":31830,"count":161},{"startOffset":31634,"endOffset":31685,"count":1},{"startOffset":31685,"endOffset":31722,"count":160},{"startOffset":31722,"endOffset":31742,"count":0},{"startOffset":31744,"endOffset":31828,"count":0}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":31833,"endOffset":35819,"count":161},{"startOffset":31981,"endOffset":32000,"count":160},{"startOffset":31990,"endOffset":32000,"count":0},{"startOffset":32002,"endOffset":32811,"count":0},{"startOffset":32853,"endOffset":32958,"count":160},{"startOffset":32915,"endOffset":32954,"count":0},{"startOffset":33042,"endOffset":33101,"count":52},{"startOffset":33101,"endOffset":33149,"count":109},{"startOffset":33149,"endOffset":33423,"count":107},{"startOffset":33327,"endOffset":33415,"count":0},{"startOffset":33430,"endOffset":33489,"count":0},{"startOffset":33494,"endOffset":33529,"count":54},{"startOffset":33863,"endOffset":33882,"count":0},{"startOffset":33947,"endOffset":33977,"count":107},{"startOffset":33979,"endOffset":34022,"count":54},{"startOffset":34022,"endOffset":34081,"count":107},{"startOffset":34081,"endOffset":34579,"count":1},{"startOffset":34536,"endOffset":34575,"count":0},{"startOffset":34579,"endOffset":34735,"count":107},{"startOffset":34735,"endOffset":34757,"count":1},{"startOffset":34758,"endOffset":34776,"count":106},{"startOffset":34789,"endOffset":35593,"count":0},{"startOffset":35593,"endOffset":35818,"count":107}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":36211,"endOffset":36602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"179","url":"node:internal/modules/esm/package_config","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1412,"count":1}],"isBlockCoverage":false},{"functionName":"getPackageScopeConfig","ranges":[{"startOffset":269,"endOffset":1362,"count":170},{"startOffset":387,"endOffset":1107,"count":277},{"startOffset":521,"endOffset":541,"count":0},{"startOffset":731,"endOffset":766,"count":170},{"startOffset":766,"endOffset":1083,"count":107},{"startOffset":1083,"endOffset":1103,"count":0},{"startOffset":1107,"endOffset":1361,"count":0}],"isBlockCoverage":true}]},{"scriptId":"180","url":"node:internal/modules/esm/get_format","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4514,"count":1}],"isBlockCoverage":false},{"functionName":"node:","ranges":[{"startOffset":900,"endOffset":931,"count":14}],"isBlockCoverage":true},{"functionName":"getDataProtocolModuleFormat","ranges":[{"startOffset":996,"endOffset":1212,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":1487,"endOffset":1846,"count":129},{"startOffset":1587,"endOffset":1831,"count":400},{"startOffset":1649,"endOffset":1684,"count":0},{"startOffset":1692,"endOffset":1821,"count":129},{"startOffset":1780,"endOffset":1784,"count":0},{"startOffset":1831,"endOffset":1845,"count":0}],"isBlockCoverage":true},{"functionName":"getFileProtocolModuleFormat","ranges":[{"startOffset":1970,"endOffset":3175,"count":129},{"startOffset":2086,"endOffset":2160,"count":116},{"startOffset":2132,"endOffset":2142,"count":72},{"startOffset":2143,"endOffset":2155,"count":44},{"startOffset":2160,"endOffset":2232,"count":13},{"startOffset":2232,"endOffset":2467,"count":0},{"startOffset":2469,"endOffset":3174,"count":0}],"isBlockCoverage":true},{"functionName":"getHttpProtocolModuleFormat","ranges":[{"startOffset":3311,"endOffset":3656,"count":0}],"isBlockCoverage":false},{"functionName":"defaultGetFormatWithoutErrors","ranges":[{"startOffset":3801,"endOffset":4036,"count":129},{"startOffset":3955,"endOffset":3977,"count":0}],"isBlockCoverage":true},{"functionName":"defaultGetFormat","ranges":[{"startOffset":4181,"endOffset":4404,"count":14},{"startOffset":4322,"endOffset":4344,"count":0}],"isBlockCoverage":true}]},{"scriptId":"181","url":"node:internal/modules/esm/formats","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":856,"count":1}],"isBlockCoverage":false},{"functionName":"mimeToFormat","ranges":[{"startOffset":468,"endOffset":794,"count":0}],"isBlockCoverage":false}]},{"scriptId":"182","url":"node:internal/modules/esm/handle_process_exit","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":424,"count":1}],"isBlockCoverage":false},{"functionName":"handleProcessExit","ranges":[{"startOffset":298,"endOffset":379,"count":0}],"isBlockCoverage":false}]},{"scriptId":"183","url":"node:internal/modules/esm/module_job","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8786,"count":1}],"isBlockCoverage":false},{"functionName":"isCommonJSGlobalLikeNotDefinedError","ranges":[{"startOffset":917,"endOffset":1048,"count":0}],"isBlockCoverage":false},{"functionName":"ModuleJob","ranges":[{"startOffset":1286,"endOffset":3283,"count":97},{"startOffset":1811,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"link","ranges":[{"startOffset":2085,"endOffset":2900,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2541,"endOffset":2746,"count":158}],"isBlockCoverage":true},{"functionName":"instantiate","ranges":[{"startOffset":3287,"endOffset":3432,"count":4},{"startOffset":3344,"endOffset":3398,"count":3}],"isBlockCoverage":true},{"functionName":"_instantiate","ranges":[{"startOffset":3436,"endOffset":7090,"count":3},{"startOffset":3896,"endOffset":4073,"count":0},{"startOffset":4130,"endOffset":6843,"count":0},{"startOffset":6890,"endOffset":7086,"count":106}],"isBlockCoverage":true},{"functionName":"addJobsToDependencyGraph","ranges":[{"startOffset":3535,"endOffset":3795,"count":161},{"startOffset":3596,"endOffset":3621,"count":55},{"startOffset":3621,"endOffset":3794,"count":106}],"isBlockCoverage":true},{"functionName":"runSync","ranges":[{"startOffset":7094,"endOffset":7494,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":7498,"endOffset":8706,"count":4},{"startOffset":7673,"endOffset":8649,"count":0}],"isBlockCoverage":true}]},{"scriptId":"184","url":"node:internal/modules/esm/load","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6703,"count":1}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":1130,"endOffset":2357,"count":58},{"startOffset":1398,"endOffset":2223,"count":0},{"startOffset":2236,"endOffset":2246,"count":0},{"startOffset":2248,"endOffset":2304,"count":0}],"isBlockCoverage":true},{"functionName":"getSourceSync","ranges":[{"startOffset":2540,"endOffset":3279,"count":0}],"isBlockCoverage":false},{"functionName":"defaultLoad","ranges":[{"startOffset":3400,"endOffset":4067,"count":97},{"startOffset":3739,"endOffset":3827,"count":14},{"startOffset":3827,"endOffset":3855,"count":83},{"startOffset":3860,"endOffset":3884,"count":39},{"startOffset":3884,"endOffset":3986,"count":58}],"isBlockCoverage":true},{"functionName":"defaultLoadSync","ranges":[{"startOffset":4580,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfUnsupportedURLScheme","ranges":[{"startOffset":5367,"endOffset":5999,"count":97},{"startOffset":5597,"endOffset":5624,"count":14},{"startOffset":5625,"endOffset":5652,"count":14},{"startOffset":5653,"endOffset":5782,"count":0},{"startOffset":5787,"endOffset":5997,"count":0}],"isBlockCoverage":true},{"functionName":"throwUnknownModuleFormat","ranges":[{"startOffset":6378,"endOffset":6616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"185","url":"node:internal/fs/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29943,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCpPromises","ranges":[{"startOffset":2997,"endOffset":3089,"count":0}],"isBlockCoverage":false},{"functionName":"lazyFsStreams","ranges":[{"startOffset":3151,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3236,"endOffset":9299,"count":58}],"isBlockCoverage":false},{"functionName":"FileHandle","ranges":[{"startOffset":3377,"endOffset":3554,"count":58},{"startOffset":3491,"endOffset":3495,"count":0}],"isBlockCoverage":true},{"functionName":"getAsyncId","ranges":[{"startOffset":3558,"endOffset":3615,"count":0}],"isBlockCoverage":false},{"functionName":"get fd","ranges":[{"startOffset":3619,"endOffset":3655,"count":116}],"isBlockCoverage":true},{"functionName":"appendFile","ranges":[{"startOffset":3659,"endOffset":3741,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":3745,"endOffset":3801,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":3805,"endOffset":3869,"count":0}],"isBlockCoverage":false},{"functionName":"datasync","ranges":[{"startOffset":3873,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":3929,"endOffset":3973,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":3977,"endOffset":4086,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":4090,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":4175,"endOffset":4242,"count":0}],"isBlockCoverage":false},{"functionName":"readLines","ranges":[{"startOffset":4246,"endOffset":4389,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4393,"endOffset":4453,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":4457,"endOffset":4521,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":4525,"endOffset":4599,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":4603,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":4718,"endOffset":4801,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4805,"endOffset":4886,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":4898,"endOffset":5690,"count":58},{"startOffset":4932,"endOffset":4970,"count":0},{"startOffset":5001,"endOffset":5042,"count":0},{"startOffset":5268,"endOffset":5629,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5210,"endOffset":5252,"count":58}],"isBlockCoverage":true},{"functionName":".SafePromisePrototypeFinally.","ranges":[{"startOffset":5353,"endOffset":5465,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5468,"endOffset":5613,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5695,"endOffset":5754,"count":0}],"isBlockCoverage":false},{"functionName":"readableWebStream","ranges":[{"startOffset":5949,"endOffset":7635,"count":0}],"isBlockCoverage":false},{"functionName":"createReadStream","ranges":[{"startOffset":7933,"endOffset":8084,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":8333,"endOffset":8487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8491,"endOffset":8891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8895,"endOffset":8948,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8952,"endOffset":9039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9043,"endOffset":9076,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9080,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"handleFdClose","ranges":[{"startOffset":9301,"endOffset":9672,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9412,"endOffset":9471,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9458,"endOffset":9470,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9477,"endOffset":9664,"count":0}],"isBlockCoverage":false},{"functionName":"fsCall","ranges":[{"startOffset":9674,"endOffset":10134,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":10136,"endOffset":10256,"count":232},{"startOffset":10180,"endOffset":10189,"count":0},{"startOffset":10195,"endOffset":10254,"count":0}],"isBlockCoverage":true},{"functionName":"writeFileHandle","ranges":[{"startOffset":10258,"endOffset":11400,"count":0}],"isBlockCoverage":false},{"functionName":"readFileHandle","ranges":[{"startOffset":11402,"endOffset":13541,"count":58},{"startOffset":11554,"endOffset":11584,"count":0},{"startOffset":11864,"endOffset":11902,"count":0},{"startOffset":11935,"endOffset":11983,"count":0},{"startOffset":12016,"endOffset":12054,"count":0},{"startOffset":12296,"endOffset":12368,"count":0},{"startOffset":12512,"endOffset":12516,"count":0},{"startOffset":12601,"endOffset":12657,"count":0},{"startOffset":12751,"endOffset":12762,"count":0},{"startOffset":12819,"endOffset":12879,"count":0},{"startOffset":12927,"endOffset":12941,"count":0},{"startOffset":12943,"endOffset":13053,"count":0},{"startOffset":13084,"endOffset":13535,"count":0}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":13694,"endOffset":13915,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":13917,"endOffset":14186,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":14188,"endOffset":14546,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":14666,"endOffset":14991,"count":58}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":14993,"endOffset":16364,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":16366,"endOffset":16703,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":16705,"endOffset":17954,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":17956,"endOffset":18398,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":18400,"endOffset":18706,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":18708,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":18843,"endOffset":19002,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":19004,"endOffset":19208,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":19210,"endOffset":19581,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":19583,"endOffset":19672,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":19674,"endOffset":19755,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":19757,"endOffset":20234,"count":0}],"isBlockCoverage":false},{"functionName":"readdirRecursive","ranges":[{"startOffset":20236,"endOffset":21910,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":21912,"endOffset":22339,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":22341,"endOffset":22580,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":22582,"endOffset":23306,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":23308,"endOffset":23486,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":23488,"endOffset":23758,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":23760,"endOffset":24027,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":24029,"endOffset":24303,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":24305,"endOffset":24628,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":24630,"endOffset":24768,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":24770,"endOffset":24903,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":24905,"endOffset":25091,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":25093,"endOffset":25321,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":25323,"endOffset":25599,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":25601,"endOffset":25798,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":25800,"endOffset":26073,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":26075,"endOffset":26347,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":26349,"endOffset":26548,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":26550,"endOffset":26827,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":26829,"endOffset":27002,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":27004,"endOffset":27383,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":27385,"endOffset":28060,"count":0}],"isBlockCoverage":false},{"functionName":"isCustomIterable","ranges":[{"startOffset":28062,"endOffset":28176,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":28178,"endOffset":28419,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":28421,"endOffset":28765,"count":58},{"startOffset":28538,"endOffset":28544,"count":0},{"startOffset":28585,"endOffset":28622,"count":0}],"isBlockCoverage":true},{"functionName":"_watch","ranges":[{"startOffset":28767,"endOffset":29432,"count":0}],"isBlockCoverage":false}]},{"scriptId":"186","url":"node:internal/fs/rimraf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7454,"count":1}],"isBlockCoverage":false},{"functionName":"rimraf","ranges":[{"startOffset":1175,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_rimraf","ranges":[{"startOffset":1638,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERM","ranges":[{"startOffset":2499,"endOffset":2934,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdir","ranges":[{"startOffset":2937,"endOffset":3235,"count":0}],"isBlockCoverage":false},{"functionName":"_rmchildren","ranges":[{"startOffset":3238,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafPromises","ranges":[{"startOffset":3928,"endOffset":4126,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafSync","ranges":[{"startOffset":4129,"endOffset":4812,"count":0}],"isBlockCoverage":false},{"functionName":"_unlinkSync","ranges":[{"startOffset":4815,"endOffset":5444,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdirSync","ranges":[{"startOffset":5447,"endOffset":6944,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERMSync","ranges":[{"startOffset":6947,"endOffset":7394,"count":0}],"isBlockCoverage":false}]},{"scriptId":"187","url":"node:internal/fs/dir","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8071,"count":1}],"isBlockCoverage":false},{"functionName":"Dir","ranges":[{"startOffset":1177,"endOffset":1993,"count":0}],"isBlockCoverage":false},{"functionName":"get path","ranges":[{"startOffset":1997,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":2044,"endOffset":2111,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2115,"endOffset":3841,"count":0}],"isBlockCoverage":false},{"functionName":"processReadResult","ranges":[{"startOffset":3845,"endOffset":4099,"count":0}],"isBlockCoverage":false},{"functionName":"readSyncRecursive","ranges":[{"startOffset":4103,"endOffset":4676,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":4680,"endOffset":5656,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":5660,"endOffset":6349,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":6353,"endOffset":6730,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":6734,"endOffset":6997,"count":0}],"isBlockCoverage":false},{"functionName":"opendir","ranges":[{"startOffset":7177,"endOffset":7757,"count":0}],"isBlockCoverage":false},{"functionName":"opendirSync","ranges":[{"startOffset":7759,"endOffset":8014,"count":0}],"isBlockCoverage":false}]},{"scriptId":"188","url":"node:internal/fs/watchers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11242,"count":1}],"isBlockCoverage":false},{"functionName":"emitStop","ranges":[{"startOffset":1420,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher","ranges":[{"startOffset":1470,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"onchange","ranges":[{"startOffset":1820,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":2565,"endOffset":3399,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.start","ranges":[{"startOffset":3620,"endOffset":3628,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.stop","ranges":[{"startOffset":3874,"endOffset":4155,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":4244,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.ref","ranges":[{"startOffset":4702,"endOffset":4984,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.unref","ranges":[{"startOffset":5017,"endOffset":5267,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher","ranges":[{"startOffset":5271,"endOffset":6239,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.","ranges":[{"startOffset":6776,"endOffset":7686,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.start","ranges":[{"startOffset":7903,"endOffset":7911,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.close","ranges":[{"startOffset":8034,"endOffset":8371,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.ref","ranges":[{"startOffset":8400,"endOffset":8469,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.unref","ranges":[{"startOffset":8500,"endOffset":8571,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":8574,"endOffset":8626,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8850,"endOffset":8886,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8890,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":8967,"endOffset":11110,"count":0}],"isBlockCoverage":false}]},{"scriptId":"189","url":"node:internal/fs/recursive_watch","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7634,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFsPromises","ranges":[{"startOffset":812,"endOffset":919,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadFsSync","ranges":[{"startOffset":921,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"traverse","ranges":[{"startOffset":1037,"endOffset":1618,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1620,"endOffset":7580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"190","url":"node:internal/readline/interface","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":39029,"count":1}],"isBlockCoverage":false},{"functionName":"InterfaceConstructor","ranges":[{"startOffset":3781,"endOffset":9286,"count":0}],"isBlockCoverage":false},{"functionName":"Interface","ranges":[{"startOffset":9527,"endOffset":9627,"count":0}],"isBlockCoverage":false},{"functionName":"get columns","ranges":[{"startOffset":9630,"endOffset":9742,"count":0}],"isBlockCoverage":false},{"functionName":"setPrompt","ranges":[{"startOffset":9851,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"getPrompt","ranges":[{"startOffset":9996,"endOffset":10039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10043,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"prompt","ranges":[{"startOffset":10373,"endOffset":10627,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10631,"endOffset":10938,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10942,"endOffset":11184,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11188,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11279,"endOffset":11447,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11451,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11652,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12834,"endOffset":13839,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13923,"endOffset":14094,"count":0}],"isBlockCoverage":false},{"functionName":"pause","ranges":[{"startOffset":14175,"endOffset":14306,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":14398,"endOffset":14534,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":14805,"endOffset":14964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14968,"endOffset":16702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16706,"endOffset":17375,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17379,"endOffset":17778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17782,"endOffset":19990,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19994,"endOffset":20455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20459,"endOffset":20717,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20721,"endOffset":21203,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21207,"endOffset":21688,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21692,"endOffset":22452,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22456,"endOffset":22883,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22887,"endOffset":23165,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23169,"endOffset":23427,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23431,"endOffset":23691,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23695,"endOffset":23850,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23854,"endOffset":24529,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":24533,"endOffset":24682,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24686,"endOffset":24840,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24844,"endOffset":25031,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25035,"endOffset":25343,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25347,"endOffset":25655,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26090,"endOffset":26724,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26728,"endOffset":27436,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27511,"endOffset":28451,"count":0}],"isBlockCoverage":false},{"functionName":"getCursorPos","ranges":[{"startOffset":28628,"endOffset":28797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":28916,"endOffset":29473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29510,"endOffset":37760,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38068,"endOffset":38448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"191","url":"node:internal/readline/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12396,"count":1}],"isBlockCoverage":false},{"functionName":"CSI","ranges":[{"startOffset":385,"endOffset":579,"count":4},{"startOffset":544,"endOffset":559,"count":0}],"isBlockCoverage":true},{"functionName":"charLengthLeft","ranges":[{"startOffset":958,"endOffset":1220,"count":0}],"isBlockCoverage":false},{"functionName":"charLengthAt","ranges":[{"startOffset":1222,"endOffset":1484,"count":0}],"isBlockCoverage":false},{"functionName":"emitKeys","ranges":[{"startOffset":2213,"endOffset":11840,"count":0}],"isBlockCoverage":false},{"functionName":"commonPrefix","ranges":[{"startOffset":11870,"endOffset":12283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"192","url":"node:internal/readline/callbacks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2754,"count":1}],"isBlockCoverage":false},{"functionName":"cursorTo","ranges":[{"startOffset":460,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"moveCursor","ranges":[{"startOffset":1210,"endOffset":1722,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":1869,"endOffset":2272,"count":0}],"isBlockCoverage":false},{"functionName":"clearScreenDown","ranges":[{"startOffset":2349,"endOffset":2672,"count":0}],"isBlockCoverage":false}]},{"scriptId":"193","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/base.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7557,"count":1},{"startOffset":7375,"endOffset":7491,"count":0},{"startOffset":7522,"endOffset":7556,"count":0}],"isBlockCoverage":true},{"functionName":"exit","ranges":[{"startOffset":1052,"endOffset":1240,"count":1}],"isBlockCoverage":true},{"functionName":"handleProcessExit","ranges":[{"startOffset":1268,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":1946,"endOffset":6902,"count":1},{"startOffset":2368,"endOffset":2565,"count":0},{"startOffset":5638,"endOffset":5643,"count":0},{"startOffset":5646,"endOffset":5671,"count":0},{"startOffset":5908,"endOffset":5943,"count":0},{"startOffset":5944,"endOffset":5979,"count":0},{"startOffset":5981,"endOffset":6410,"count":0},{"startOffset":6682,"endOffset":6752,"count":0},{"startOffset":6756,"endOffset":6900,"count":0}],"isBlockCoverage":true},{"functionName":"checkSelectedByLineNumbers","ranges":[{"startOffset":2550,"endOffset":2561,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3090,"endOffset":3122,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3204,"endOffset":3232,"count":20}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3256,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3420,"endOffset":4245,"count":1},{"startOffset":3523,"endOffset":3593,"count":0},{"startOffset":3598,"endOffset":3756,"count":0},{"startOffset":3831,"endOffset":4000,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3813,"endOffset":3823,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4030,"endOffset":4240,"count":1},{"startOffset":4087,"endOffset":4223,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4282,"endOffset":4421,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4602,"endOffset":4633,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4642,"endOffset":4668,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4927,"endOffset":5129,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":5197,"endOffset":5585,"count":1},{"startOffset":5343,"endOffset":5584,"count":0}],"isBlockCoverage":true},{"functionName":"onError","ranges":[{"startOffset":6921,"endOffset":7139,"count":0}],"isBlockCoverage":false}]},{"scriptId":"194","url":"node:internal/deps/cjs-module-lexer/dist/lexer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":33616,"count":1}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":116,"endOffset":813,"count":25},{"startOffset":146,"endOffset":181,"count":0},{"startOffset":222,"endOffset":237,"count":0},{"startOffset":273,"endOffset":308,"count":1},{"startOffset":332,"endOffset":334,"count":0},{"startOffset":406,"endOffset":553,"count":0},{"startOffset":601,"endOffset":650,"count":1},{"startOffset":663,"endOffset":696,"count":0},{"startOffset":709,"endOffset":773,"count":71}],"isBlockCoverage":true},{"functionName":"B","ranges":[{"startOffset":813,"endOffset":1040,"count":72},{"startOffset":840,"endOffset":852,"count":71},{"startOffset":853,"endOffset":862,"count":70},{"startOffset":862,"endOffset":913,"count":2},{"startOffset":913,"endOffset":1023,"count":25},{"startOffset":958,"endOffset":1022,"count":0},{"startOffset":1023,"endOffset":1032,"count":2},{"startOffset":1032,"endOffset":1039,"count":0}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":1040,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"C","ranges":[{"startOffset":1141,"endOffset":1215,"count":25},{"startOffset":1192,"endOffset":1214,"count":73749}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":1221,"endOffset":33616,"count":6},{"startOffset":1245,"endOffset":33615,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1251,"endOffset":33611,"count":1},{"startOffset":33455,"endOffset":33524,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":33505,"endOffset":33523,"count":0}],"isBlockCoverage":false}]},{"scriptId":"195","url":"node:module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":397,"count":1}],"isBlockCoverage":false}]},{"scriptId":"196","url":"node:internal/source_map/source_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12067,"count":1}],"isBlockCoverage":false},{"functionName":"StringCharIterator","ranges":[{"startOffset":4000,"endOffset":4076,"count":0}],"isBlockCoverage":false},{"functionName":"next","ranges":[{"startOffset":4114,"endOffset":4192,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":4230,"endOffset":4306,"count":0}],"isBlockCoverage":false},{"functionName":"hasNext","ranges":[{"startOffset":4345,"endOffset":4409,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4550,"endOffset":10030,"count":0}],"isBlockCoverage":false},{"functionName":"isSeparator","ranges":[{"startOffset":10085,"endOffset":10154,"count":0}],"isBlockCoverage":false},{"functionName":"decodeVLQ","ranges":[{"startOffset":10244,"endOffset":11177,"count":0}],"isBlockCoverage":false},{"functionName":"cloneSourceMapV3","ranges":[{"startOffset":11244,"endOffset":11556,"count":0}],"isBlockCoverage":false},{"functionName":"compareSourceMapEntry","ranges":[{"startOffset":11751,"endOffset":12030,"count":0}],"isBlockCoverage":false}]},{"scriptId":"197","url":"node:process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":83,"count":1}],"isBlockCoverage":false}]},{"scriptId":"198","url":"node:internal/process/report","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2644,"count":1}],"isBlockCoverage":false},{"functionName":"writeReport","ranges":[{"startOffset":352,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getReport","ranges":[{"startOffset":775,"endOffset":940,"count":0}],"isBlockCoverage":false},{"functionName":"get directory","ranges":[{"startOffset":944,"endOffset":995,"count":0}],"isBlockCoverage":false},{"functionName":"set directory","ranges":[{"startOffset":999,"endOffset":1087,"count":0}],"isBlockCoverage":false},{"functionName":"get filename","ranges":[{"startOffset":1091,"endOffset":1140,"count":0}],"isBlockCoverage":false},{"functionName":"set filename","ranges":[{"startOffset":1144,"endOffset":1232,"count":0}],"isBlockCoverage":false},{"functionName":"get compact","ranges":[{"startOffset":1236,"endOffset":1283,"count":0}],"isBlockCoverage":false},{"functionName":"set compact","ranges":[{"startOffset":1287,"endOffset":1364,"count":0}],"isBlockCoverage":false},{"functionName":"get signal","ranges":[{"startOffset":1368,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"set signal","ranges":[{"startOffset":1417,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnFatalError","ranges":[{"startOffset":1558,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnFatalError","ranges":[{"startOffset":1634,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnSignal","ranges":[{"startOffset":1756,"endOffset":1820,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnSignal","ranges":[{"startOffset":1824,"endOffset":1985,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnUncaughtException","ranges":[{"startOffset":1989,"endOffset":2075,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnUncaughtException","ranges":[{"startOffset":2079,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"addSignalHandler","ranges":[{"startOffset":2217,"endOffset":2388,"count":0}],"isBlockCoverage":false},{"functionName":"removeSignalHandler","ranges":[{"startOffset":2390,"endOffset":2514,"count":0}],"isBlockCoverage":false},{"functionName":"signalHandler","ranges":[{"startOffset":2516,"endOffset":2590,"count":0}],"isBlockCoverage":false}]},{"scriptId":"199","url":"node:url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":32640,"count":1}],"isBlockCoverage":false},{"functionName":"Url","ranges":[{"startOffset":2149,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"urlParse","ranges":[{"startOffset":3430,"endOffset":4035,"count":0}],"isBlockCoverage":false},{"functionName":"isIpv6Hostname","ranges":[{"startOffset":4037,"endOffset":4260,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":5081,"endOffset":15159,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname","ranges":[{"startOffset":15190,"endOffset":16135,"count":0}],"isBlockCoverage":false},{"functionName":"autoEscapeStr","ranges":[{"startOffset":17192,"endOffset":17898,"count":0}],"isBlockCoverage":false},{"functionName":"urlFormat","ranges":[{"startOffset":17944,"endOffset":19115,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":19822,"endOffset":22199,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolve","ranges":[{"startOffset":22202,"endOffset":22301,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":22327,"endOffset":22428,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolveObject","ranges":[{"startOffset":22431,"endOffset":22574,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObject","ranges":[{"startOffset":22606,"endOffset":31725,"count":0}],"isBlockCoverage":false},{"functionName":"parseHost","ranges":[{"startOffset":31754,"endOffset":32027,"count":0}],"isBlockCoverage":false},{"functionName":"pathToFileURL","ranges":[{"startOffset":32248,"endOffset":32344,"count":1}],"isBlockCoverage":true}]},{"scriptId":"200","url":"node:internal/idna","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":124,"count":1}],"isBlockCoverage":false}]},{"scriptId":"202","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/chalk.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":351,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":197,"endOffset":350,"count":1},{"startOffset":238,"endOffset":298,"count":0}],"isBlockCoverage":true}]},{"scriptId":"203","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/provider-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":455,"endOffset":1345,"count":1},{"startOffset":1293,"endOffset":1312,"count":0}],"isBlockCoverage":true},{"functionName":"negotiateProtocol","ranges":[{"startOffset":665,"endOffset":1273,"count":1},{"startOffset":840,"endOffset":978,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":748,"endOffset":803,"count":2}],"isBlockCoverage":true},{"functionName":"findFiles","ranges":[{"startOffset":1047,"endOffset":1178,"count":0}],"isBlockCoverage":false},{"functionName":"typescript","ranges":[{"startOffset":1383,"endOffset":1462,"count":1}],"isBlockCoverage":true}]},{"scriptId":"204","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17,"count":1}],"isBlockCoverage":true}]},{"scriptId":"205","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/runner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15654,"count":1}],"isBlockCoverage":true},{"functionName":"makeFileURL","ranges":[{"startOffset":520,"endOffset":594,"count":1},{"startOffset":555,"endOffset":561,"count":0}],"isBlockCoverage":true},{"functionName":"Runner","ranges":[{"startOffset":644,"endOffset":5705,"count":1},{"startOffset":725,"endOffset":730,"count":0},{"startOffset":978,"endOffset":983,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.registerUniqueTitle","ranges":[{"startOffset":1787,"endOffset":1911,"count":7},{"startOffset":1834,"endOffset":1858,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.notifyTimeoutUpdate","ranges":[{"startOffset":1943,"endOffset":2058,"count":0}],"isBlockCoverage":false},{"functionName":"get snapshotDirectory","ranges":[{"startOffset":2187,"endOffset":2366,"count":0}],"isBlockCoverage":false},{"functionName":"Runner.chain.createChain.serial","ranges":[{"startOffset":2401,"endOffset":5489,"count":7},{"startOffset":2480,"endOffset":2630,"count":0},{"startOffset":2656,"endOffset":2769,"count":1},{"startOffset":2925,"endOffset":2990,"count":0},{"startOffset":3014,"endOffset":3813,"count":4},{"startOffset":3040,"endOffset":3184,"count":0},{"startOffset":3206,"endOffset":3304,"count":0},{"startOffset":3354,"endOffset":3423,"count":0},{"startOffset":3490,"endOffset":3538,"count":0},{"startOffset":3540,"endOffset":3614,"count":0},{"startOffset":3813,"endOffset":5485,"count":3},{"startOffset":3846,"endOffset":3965,"count":0},{"startOffset":4006,"endOffset":4093,"count":0},{"startOffset":4134,"endOffset":4205,"count":0},{"startOffset":4267,"endOffset":4522,"count":0},{"startOffset":4600,"endOffset":4669,"count":0},{"startOffset":4714,"endOffset":4730,"count":0},{"startOffset":4870,"endOffset":4992,"count":0},{"startOffset":5028,"endOffset":5072,"count":0},{"startOffset":5106,"endOffset":5116,"count":0},{"startOffset":5365,"endOffset":5480,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2706,"endOffset":2762,"count":1}],"isBlockCoverage":true},{"functionName":"get snapshots","ranges":[{"startOffset":5708,"endOffset":6318,"count":4},{"startOffset":5749,"endOffset":5781,"count":3},{"startOffset":5781,"endOffset":6317,"count":1}],"isBlockCoverage":true},{"functionName":"compareTestSnapshot","ranges":[{"startOffset":6321,"endOffset":6396,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":6399,"endOffset":6472,"count":0}],"isBlockCoverage":false},{"functionName":"saveSnapshotState","ranges":[{"startOffset":6475,"endOffset":6559,"count":1}],"isBlockCoverage":true},{"functionName":"onRun","ranges":[{"startOffset":6562,"endOffset":6620,"count":3}],"isBlockCoverage":true},{"functionName":"onRunComplete","ranges":[{"startOffset":6623,"endOffset":6692,"count":3}],"isBlockCoverage":true},{"functionName":"beforeExitHandler","ranges":[{"startOffset":6695,"endOffset":6809,"count":0}],"isBlockCoverage":false},{"functionName":"runMultiple","ranges":[{"startOffset":6812,"endOffset":8056,"count":12}],"isBlockCoverage":true},{"functionName":"runAndStoreResult","ranges":[{"startOffset":6923,"endOffset":7081,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7150,"endOffset":7998,"count":0}],"isBlockCoverage":false},{"functionName":"runSingle","ranges":[{"startOffset":8059,"endOffset":8330,"count":3}],"isBlockCoverage":true},{"functionName":"runHooks","ranges":[{"startOffset":8333,"endOffset":9506,"count":12},{"startOffset":9070,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8427,"endOffset":8959,"count":0}],"isBlockCoverage":false},{"functionName":"runTest","ranges":[{"startOffset":9509,"endOffset":11470,"count":3},{"startOffset":10007,"endOffset":10073,"count":0},{"startOffset":10940,"endOffset":11271,"count":0}],"isBlockCoverage":true},{"functionName":"Runnable.fn","ranges":[{"startOffset":10009,"endOffset":10073,"count":0}],"isBlockCoverage":false},{"functionName":"start","ranges":[{"startOffset":11473,"endOffset":15605,"count":1},{"startOffset":11619,"endOffset":12250,"count":0},{"startOffset":12296,"endOffset":12988,"count":3},{"startOffset":12327,"endOffset":12354,"count":0},{"startOffset":12356,"endOffset":12443,"count":0},{"startOffset":12484,"endOffset":12510,"count":0},{"startOffset":12512,"endOffset":12599,"count":0},{"startOffset":12810,"endOffset":12883,"count":0},{"startOffset":12906,"endOffset":12940,"count":0},{"startOffset":13028,"endOffset":13347,"count":4},{"startOffset":13059,"endOffset":13086,"count":0},{"startOffset":13088,"endOffset":13108,"count":0},{"startOffset":13149,"endOffset":13175,"count":0},{"startOffset":13177,"endOffset":13197,"count":0},{"startOffset":13425,"endOffset":13452,"count":0},{"startOffset":13454,"endOffset":13550,"count":0},{"startOffset":15547,"endOffset":15602,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13777,"endOffset":14380,"count":1},{"startOffset":13868,"endOffset":13892,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13923,"endOffset":14368,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14460,"endOffset":15058,"count":1},{"startOffset":14653,"endOffset":14669,"count":0},{"startOffset":14672,"endOffset":14696,"count":0},{"startOffset":14767,"endOffset":14790,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14971,"endOffset":15016,"count":3}],"isBlockCoverage":true},{"functionName":"interrupt","ranges":[{"startOffset":15608,"endOffset":15651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"206","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/serialize-error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4398,"count":1}],"isBlockCoverage":true},{"functionName":"isAvaAssertionError","ranges":[{"startOffset":385,"endOffset":467,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":469,"endOffset":614,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFile","ranges":[{"startOffset":616,"endOffset":756,"count":0}],"isBlockCoverage":false},{"functionName":"extractSource","ranges":[{"startOffset":795,"endOffset":1211,"count":0}],"isBlockCoverage":false},{"functionName":"buildSource","ranges":[{"startOffset":1213,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"trySerializeError","ranges":[{"startOffset":1957,"endOffset":3743,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":3760,"endOffset":4397,"count":0}],"isBlockCoverage":false}]},{"scriptId":"207","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/dependency-tracker.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":866,"count":1}],"isBlockCoverage":true},{"functionName":"flush","ranges":[{"startOffset":138,"endOffset":302,"count":2},{"startOffset":192,"endOffset":301,"count":1}],"isBlockCoverage":true},{"functionName":"track","ranges":[{"startOffset":304,"endOffset":519,"count":7},{"startOffset":368,"endOffset":382,"count":0},{"startOffset":419,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"install","ranges":[{"startOffset":556,"endOffset":836,"count":1},{"startOffset":633,"endOffset":833,"count":3}],"isBlockCoverage":true},{"functionName":"extensions.","ranges":[{"startOffset":700,"endOffset":828,"count":6}],"isBlockCoverage":true}]},{"scriptId":"208","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/line-numbers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3832,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":215,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"findTest","ranges":[{"startOffset":878,"endOffset":1452,"count":0}],"isBlockCoverage":false},{"functionName":"range","ranges":[{"startOffset":1468,"endOffset":1574,"count":0}],"isBlockCoverage":false},{"functionName":"translate","ranges":[{"startOffset":1595,"endOffset":2066,"count":0}],"isBlockCoverage":false},{"functionName":"lineNumberSelection","ranges":[{"startOffset":2084,"endOffset":3831,"count":1},{"startOffset":2196,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2334,"endOffset":3828,"count":0}],"isBlockCoverage":false}]},{"scriptId":"209","url":"node:internal/fs/streams","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14758,"count":1}],"isBlockCoverage":false},{"functionName":"_construct","ranges":[{"startOffset":1063,"endOffset":1966,"count":0}],"isBlockCoverage":false},{"functionName":"FileHandleOperations","ranges":[{"startOffset":2059,"endOffset":3058,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":3061,"endOffset":3238,"count":0}],"isBlockCoverage":false},{"functionName":"importFd","ranges":[{"startOffset":3240,"endOffset":4237,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream","ranges":[{"startOffset":4239,"endOffset":5982,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6171,"endOffset":6226,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6230,"endOffset":6287,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6323,"endOffset":6348,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._read","ranges":[{"startOffset":6524,"endOffset":7655,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._destroy","ranges":[{"startOffset":7690,"endOffset":8251,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.close","ranges":[{"startOffset":8283,"endOffset":8369,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8449,"endOffset":8483,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":8512,"endOffset":10303,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":10495,"endOffset":10550,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10554,"endOffset":10611,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10648,"endOffset":10673,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":10824,"endOffset":11617,"count":0}],"isBlockCoverage":false},{"functionName":"writevAll","ranges":[{"startOffset":11619,"endOffset":12436,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._write","ranges":[{"startOffset":12469,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._writev","ranges":[{"startOffset":12888,"endOffset":13450,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._destroy","ranges":[{"startOffset":13486,"endOffset":14047,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.close","ranges":[{"startOffset":14080,"endOffset":14462,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":14644,"endOffset":14678,"count":0}],"isBlockCoverage":false}]},{"scriptId":"210","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5900,"count":1},{"startOffset":1472,"endOffset":1706,"count":45},{"startOffset":2476,"endOffset":3149,"count":3},{"startOffset":5468,"endOffset":5471,"count":0}],"isBlockCoverage":true},{"functionName":"applyOptions","ranges":[{"startOffset":571,"endOffset":950,"count":5},{"startOffset":618,"endOffset":699,"count":3},{"startOffset":701,"endOffset":779,"count":0},{"startOffset":870,"endOffset":873,"count":0},{"startOffset":919,"endOffset":931,"count":2},{"startOffset":932,"endOffset":947,"count":3}],"isBlockCoverage":true},{"functionName":"Chalk","ranges":[{"startOffset":975,"endOffset":1084,"count":3}],"isBlockCoverage":true},{"functionName":"chalkFactory","ranges":[{"startOffset":1109,"endOffset":1275,"count":5}],"isBlockCoverage":true},{"functionName":"chalk","ranges":[{"startOffset":1137,"endOffset":1170,"count":0}],"isBlockCoverage":false},{"functionName":"createChalk","ranges":[{"startOffset":1278,"endOffset":1342,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1499,"endOffset":1699,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1728,"endOffset":1875,"count":0}],"isBlockCoverage":false},{"functionName":"getModelAnsi","ranges":[{"startOffset":1902,"endOffset":2394,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2499,"endOffset":2771,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2866,"endOffset":3142,"count":0}],"isBlockCoverage":false},{"functionName":"Object.defineProperties","ranges":[{"startOffset":3189,"endOffset":3197,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3245,"endOffset":3289,"count":20}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3293,"endOffset":3343,"count":0}],"isBlockCoverage":false},{"functionName":"createStyler","ranges":[{"startOffset":3375,"endOffset":3650,"count":4},{"startOffset":3500,"endOffset":3583,"count":0}],"isBlockCoverage":true},{"functionName":"createBuilder","ranges":[{"startOffset":3675,"endOffset":4243,"count":4}],"isBlockCoverage":true},{"functionName":"builder","ranges":[{"startOffset":3848,"endOffset":3959,"count":20},{"startOffset":3936,"endOffset":3958,"count":0}],"isBlockCoverage":true},{"functionName":"applyStyle","ranges":[{"startOffset":4265,"endOffset":5300,"count":20},{"startOffset":4318,"endOffset":4361,"count":0},{"startOffset":4419,"endOffset":4440,"count":0},{"startOffset":4511,"endOffset":4840,"count":0},{"startOffset":5177,"endOffset":5260,"count":0}],"isBlockCoverage":true}]},{"scriptId":"211","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/globs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6300,"count":1}],"isBlockCoverage":true},{"functionName":"buildExtensionPattern","ranges":[{"startOffset":755,"endOffset":838,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeGlobs","ranges":[{"startOffset":848,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"globFiles","ranges":[{"startOffset":3027,"endOffset":3288,"count":0}],"isBlockCoverage":false},{"functionName":"globDirectoriesSync","ranges":[{"startOffset":3319,"endOffset":3578,"count":0}],"isBlockCoverage":false},{"functionName":"findFiles","ranges":[{"startOffset":3588,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"findTests","ranges":[{"startOffset":3771,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getChokidarIgnorePatterns","ranges":[{"startOffset":3974,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"applyTestFileFilter","ranges":[{"startOffset":4200,"endOffset":6299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"212","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13357,"count":1}],"isBlockCoverage":true},{"functionName":"assertEventName","ranges":[{"startOffset":349,"endOffset":569,"count":30},{"startOffset":422,"endOffset":454,"count":4},{"startOffset":455,"endOffset":487,"count":0},{"startOffset":489,"endOffset":567,"count":0}],"isBlockCoverage":true},{"functionName":"assertListener","ranges":[{"startOffset":571,"endOffset":704,"count":4},{"startOffset":644,"endOffset":702,"count":0}],"isBlockCoverage":true},{"functionName":"getListeners","ranges":[{"startOffset":706,"endOffset":869,"count":30},{"startOffset":821,"endOffset":835,"count":8},{"startOffset":835,"endOffset":868,"count":22}],"isBlockCoverage":true},{"functionName":"getEventProducers","ranges":[{"startOffset":871,"endOffset":1175,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueProducers","ranges":[{"startOffset":1177,"endOffset":1587,"count":26},{"startOffset":1315,"endOffset":1408,"count":0},{"startOffset":1550,"endOffset":1582,"count":0}],"isBlockCoverage":true},{"functionName":"iterator","ranges":[{"startOffset":1589,"endOffset":2972,"count":0}],"isBlockCoverage":false},{"functionName":"defaultMethodNamesOrAssert","ranges":[{"startOffset":2974,"endOffset":3495,"count":0}],"isBlockCoverage":false},{"functionName":"isMetaEvent","ranges":[{"startOffset":3517,"endOffset":3590,"count":60},{"startOffset":3558,"endOffset":3590,"count":48}],"isBlockCoverage":true},{"functionName":"emitMetaEvent","ranges":[{"startOffset":3593,"endOffset":3808,"count":4}],"isBlockCoverage":true},{"functionName":"mixin","ranges":[{"startOffset":3850,"endOffset":4933,"count":0}],"isBlockCoverage":false},{"functionName":"get isDebugEnabled","ranges":[{"startOffset":4943,"endOffset":5528,"count":30},{"startOffset":5304,"endOffset":5341,"count":0},{"startOffset":5432,"endOffset":5444,"count":0}],"isBlockCoverage":true},{"functionName":"set isDebugEnabled","ranges":[{"startOffset":5538,"endOffset":5606,"count":0}],"isBlockCoverage":false},{"functionName":"Emittery","ranges":[{"startOffset":5609,"endOffset":6731,"count":1}],"isBlockCoverage":true},{"functionName":"Emittery.debug.logger","ranges":[{"startOffset":5961,"endOffset":6723,"count":0}],"isBlockCoverage":false},{"functionName":"logIfDebugEnabled","ranges":[{"startOffset":6734,"endOffset":6910,"count":30},{"startOffset":6835,"endOffset":6907,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":6913,"endOffset":7515,"count":4},{"startOffset":7010,"endOffset":7022,"count":0}],"isBlockCoverage":true},{"functionName":"off","ranges":[{"startOffset":7518,"endOffset":8087,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":8090,"endOffset":8292,"count":0}],"isBlockCoverage":false},{"functionName":"events","ranges":[{"startOffset":8295,"endOffset":8501,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":8504,"endOffset":9384,"count":26},{"startOffset":8599,"endOffset":8620,"count":4},{"startOffset":8622,"endOffset":8724,"count":0},{"startOffset":8882,"endOffset":8894,"count":4},{"startOffset":9031,"endOffset":9035,"count":4},{"startOffset":9036,"endOffset":9055,"count":22}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9131,"endOffset":9229,"count":22}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9261,"endOffset":9373,"count":0}],"isBlockCoverage":false},{"functionName":"emitSerial","ranges":[{"startOffset":9387,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"onAny","ranges":[{"startOffset":10237,"endOffset":10478,"count":0}],"isBlockCoverage":false},{"functionName":"anyEvent","ranges":[{"startOffset":10481,"endOffset":10521,"count":0}],"isBlockCoverage":false},{"functionName":"offAny","ranges":[{"startOffset":10524,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"clearListeners","ranges":[{"startOffset":10733,"endOffset":11739,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":11742,"endOffset":12458,"count":0}],"isBlockCoverage":false},{"functionName":"bindMethods","ranges":[{"startOffset":12461,"endOffset":12966,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13051,"endOffset":13075,"count":14}],"isBlockCoverage":true}]},{"scriptId":"213","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/matcher/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2646,"count":1}],"isBlockCoverage":true},{"functionName":"sanitizeArray","ranges":[{"startOffset":110,"endOffset":713,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegexp","ranges":[{"startOffset":735,"endOffset":1261,"count":0}],"isBlockCoverage":false},{"functionName":"baseMatcher","ranges":[{"startOffset":1284,"endOffset":2412,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2422,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"isMatch","ranges":[{"startOffset":2533,"endOffset":2645,"count":0}],"isBlockCoverage":false}]},{"scriptId":"214","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/context-ref.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":555,"count":1}],"isBlockCoverage":true},{"functionName":"ContextRef","ranges":[{"startOffset":35,"endOffset":72,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":75,"endOffset":106,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":109,"endOffset":152,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":155,"endOffset":198,"count":3}],"isBlockCoverage":true},{"functionName":"LateBinding","ranges":[{"startOffset":242,"endOffset":314,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":317,"endOffset":487,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":490,"endOffset":552,"count":0}],"isBlockCoverage":false}]},{"scriptId":"215","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/create-chain.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4371,"count":1}],"isBlockCoverage":true},{"functionName":"startChain","ranges":[{"startOffset":38,"endOffset":265,"count":11}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":94,"endOffset":140,"count":7}],"isBlockCoverage":true},{"functionName":"extendChain","ranges":[{"startOffset":267,"endOffset":633,"count":27},{"startOffset":324,"endOffset":343,"count":7}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":357,"endOffset":412,"count":0}],"isBlockCoverage":false},{"functionName":"callWithFlag","ranges":[{"startOffset":635,"endOffset":965,"count":0}],"isBlockCoverage":false},{"functionName":"createHookChain","ranges":[{"startOffset":967,"endOffset":1316,"count":8},{"startOffset":1217,"endOffset":1299,"count":4}],"isBlockCoverage":true},{"functionName":"createChain","ranges":[{"startOffset":1333,"endOffset":4370,"count":1}],"isBlockCoverage":true},{"functionName":"root.macro","ranges":[{"startOffset":3411,"endOffset":3580,"count":0}],"isBlockCoverage":false},{"functionName":"apply","ranges":[{"startOffset":4105,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4196,"endOffset":4341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"216","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/parse-test-args.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":701,"count":1}],"isBlockCoverage":true},{"functionName":"buildTitle","ranges":[{"startOffset":19,"endOffset":366,"count":7},{"startOffset":80,"endOffset":103,"count":3},{"startOffset":104,"endOffset":140,"count":0}],"isBlockCoverage":true},{"functionName":"parseTestArgs","ranges":[{"startOffset":384,"endOffset":700,"count":7},{"startOffset":476,"endOffset":487,"count":0},{"startOffset":579,"endOffset":601,"count":3},{"startOffset":602,"endOffset":623,"count":0}],"isBlockCoverage":true}]},{"scriptId":"217","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/snapshot-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13174,"count":1}],"isBlockCoverage":true},{"functionName":"SnapshotError","ranges":[{"startOffset":1259,"endOffset":1371,"count":0}],"isBlockCoverage":false},{"functionName":"ChecksumError","ranges":[{"startOffset":1427,"endOffset":1524,"count":0}],"isBlockCoverage":false},{"functionName":"VersionMismatchError","ranges":[{"startOffset":1587,"endOffset":1774,"count":0}],"isBlockCoverage":false},{"functionName":"InvalidSnapshotError","ranges":[{"startOffset":1837,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"isLegacySnapshot","ranges":[{"startOffset":2016,"endOffset":2144,"count":0}],"isBlockCoverage":false},{"functionName":"LegacyError","ranges":[{"startOffset":2196,"endOffset":2294,"count":0}],"isBlockCoverage":false},{"functionName":"tryRead","ranges":[{"startOffset":2298,"endOffset":2454,"count":1},{"startOffset":2433,"endOffset":2452,"count":0}],"isBlockCoverage":true},{"functionName":"formatEntry","ranges":[{"startOffset":2456,"endOffset":2875,"count":0}],"isBlockCoverage":false},{"functionName":"combineEntries","ranges":[{"startOffset":2877,"endOffset":3292,"count":0}],"isBlockCoverage":false},{"functionName":"generateReport","ranges":[{"startOffset":3294,"endOffset":3611,"count":0}],"isBlockCoverage":false},{"functionName":"BufferBuilder","ranges":[{"startOffset":3636,"endOffset":3698,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":3701,"endOffset":3818,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3821,"endOffset":4011,"count":0}],"isBlockCoverage":false},{"functionName":"toBuffer","ranges":[{"startOffset":4014,"endOffset":4084,"count":0}],"isBlockCoverage":false},{"functionName":"sortBlocks","ranges":[{"startOffset":4088,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"encodeSnapshots","ranges":[{"startOffset":4450,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"decodeSnapshots","ranges":[{"startOffset":5016,"endOffset":5987,"count":0}],"isBlockCoverage":false},{"functionName":"Manager","ranges":[{"startOffset":6006,"endOffset":6530,"count":1}],"isBlockCoverage":true},{"functionName":"touch","ranges":[{"startOffset":6533,"endOffset":6604,"count":3}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":6607,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"recordSerialized","ranges":[{"startOffset":7345,"endOffset":8027,"count":0}],"isBlockCoverage":false},{"functionName":"deferRecord","ranges":[{"startOffset":8030,"endOffset":8370,"count":0}],"isBlockCoverage":false},{"functionName":"record","ranges":[{"startOffset":8373,"endOffset":8449,"count":0}],"isBlockCoverage":false},{"functionName":"skipBlock","ranges":[{"startOffset":8452,"endOffset":8587,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":8590,"endOffset":9164,"count":0}],"isBlockCoverage":false},{"functionName":"save","ranges":[{"startOffset":9167,"endOffset":10106,"count":1},{"startOffset":9266,"endOffset":9301,"count":0},{"startOffset":9303,"endOffset":9421,"count":0},{"startOffset":9468,"endOffset":10105,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9565,"endOffset":9604,"count":0}],"isBlockCoverage":false},{"functionName":"tmpfileCreated","ranges":[{"startOffset":9845,"endOffset":9878,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10140,"endOffset":10658,"count":1},{"startOffset":10399,"endOffset":10420,"count":0},{"startOffset":10441,"endOffset":10632,"count":0},{"startOffset":10635,"endOffset":10655,"count":0}],"isBlockCoverage":true},{"functionName":"mem.cacheKey.file.file","ranges":[{"startOffset":10702,"endOffset":11285,"count":1},{"startOffset":10819,"endOffset":10947,"count":0},{"startOffset":11054,"endOffset":11104,"count":0},{"startOffset":11265,"endOffset":11284,"count":0}],"isBlockCoverage":true},{"functionName":"cacheKey","ranges":[{"startOffset":11298,"endOffset":11316,"count":1}],"isBlockCoverage":true},{"functionName":"determineSnapshotPaths","ranges":[{"startOffset":11321,"endOffset":11775,"count":1}],"isBlockCoverage":true},{"functionName":"cleanFile","ranges":[{"startOffset":11777,"endOffset":11941,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":11950,"endOffset":13173,"count":1},{"startOffset":12141,"endOffset":12274,"count":0},{"startOffset":12552,"endOffset":13125,"count":0},{"startOffset":13126,"endOffset":13141,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12700,"endOffset":12737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"218","url":"node:internal/file","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1801,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":424,"endOffset":1563,"count":0}],"isBlockCoverage":false}]},{"scriptId":"219","url":"node:crypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8825,"count":1}],"isBlockCoverage":false},{"functionName":"lazyWebCrypto","ranges":[{"startOffset":3084,"endOffset":3186,"count":6}],"isBlockCoverage":true},{"functionName":"lazyOwnsProcessState","ranges":[{"startOffset":3210,"endOffset":3340,"count":0}],"isBlockCoverage":false},{"functionName":"createHash","ranges":[{"startOffset":3482,"endOffset":3564,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3566,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"createCipheriv","ranges":[{"startOffset":3668,"endOffset":3770,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipher","ranges":[{"startOffset":3772,"endOffset":3876,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipheriv","ranges":[{"startOffset":3878,"endOffset":3984,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellman","ranges":[{"startOffset":3986,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellmanGroup","ranges":[{"startOffset":4144,"endOffset":4226,"count":0}],"isBlockCoverage":false},{"functionName":"createECDH","ranges":[{"startOffset":4228,"endOffset":4284,"count":0}],"isBlockCoverage":false},{"functionName":"createHmac","ranges":[{"startOffset":4286,"endOffset":4368,"count":0}],"isBlockCoverage":false},{"functionName":"createSign","ranges":[{"startOffset":4370,"endOffset":4452,"count":0}],"isBlockCoverage":false},{"functionName":"createVerify","ranges":[{"startOffset":4454,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"getFips","ranges":[{"startOffset":5583,"endOffset":5668,"count":0}],"isBlockCoverage":false},{"functionName":"setFips","ranges":[{"startOffset":5670,"endOffset":5954,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":5956,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6125,"endOffset":6379,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6383,"endOffset":6572,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomBytesAlias","ranges":[{"startOffset":6621,"endOffset":7454,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6719,"endOffset":7209,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7215,"endOffset":7446,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8198,"endOffset":8238,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8350,"endOffset":8397,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8523,"endOffset":8544,"count":3}],"isBlockCoverage":true}]},{"scriptId":"220","url":"node:internal/crypto/random","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16246,"count":1}],"isBlockCoverage":false},{"functionName":"assertOffset","ranges":[{"startOffset":1260,"endOffset":1626,"count":0}],"isBlockCoverage":false},{"functionName":"assertSize","ranges":[{"startOffset":1628,"endOffset":2089,"count":0}],"isBlockCoverage":false},{"functionName":"randomBytes","ranges":[{"startOffset":2091,"endOffset":2634,"count":0}],"isBlockCoverage":false},{"functionName":"randomFillSync","ranges":[{"startOffset":2636,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"randomFill","ranges":[{"startOffset":3306,"endOffset":4352,"count":0}],"isBlockCoverage":false},{"functionName":"randomInt","ranges":[{"startOffset":4902,"endOffset":7142,"count":0}],"isBlockCoverage":false},{"functionName":"asyncRefillRandomIntCache","ranges":[{"startOffset":7144,"endOffset":8020,"count":0}],"isBlockCoverage":false},{"functionName":"onJobDone","ranges":[{"startOffset":8023,"endOffset":8185,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":8417,"endOffset":9033,"count":0}],"isBlockCoverage":false},{"functionName":"getHexBytes","ranges":[{"startOffset":9398,"endOffset":9697,"count":0}],"isBlockCoverage":false},{"functionName":"serializeUUID","ranges":[{"startOffset":9699,"endOffset":10425,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedUUID","ranges":[{"startOffset":10427,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"getUnbufferedUUID","ranges":[{"startOffset":10732,"endOffset":10970,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":10972,"endOffset":11292,"count":0}],"isBlockCoverage":false},{"functionName":"createRandomPrimeJob","ranges":[{"startOffset":11294,"endOffset":12527,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrime","ranges":[{"startOffset":12529,"endOffset":12985,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrimeSync","ranges":[{"startOffset":12987,"endOffset":13245,"count":0}],"isBlockCoverage":false},{"functionName":"numberToHexCharCode","ranges":[{"startOffset":13519,"endOffset":13563,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBufferToUnsignedBigInt","ranges":[{"startOffset":13638,"endOffset":14065,"count":0}],"isBlockCoverage":false},{"functionName":"unsignedBigIntToBuffer","ranges":[{"startOffset":14067,"endOffset":14364,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrime","ranges":[{"startOffset":14366,"endOffset":15259,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrimeSync","ranges":[{"startOffset":15261,"endOffset":16059,"count":0}],"isBlockCoverage":false}]},{"scriptId":"221","url":"node:internal/crypto/pbkdf2","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3018,"count":1}],"isBlockCoverage":false},{"functionName":"pbkdf2","ranges":[{"startOffset":472,"endOffset":1136,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2Sync","ranges":[{"startOffset":1138,"endOffset":1543,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1545,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2DeriveBits","ranges":[{"startOffset":2059,"endOffset":2950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"222","url":"node:internal/crypto/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14973,"count":1}],"isBlockCoverage":false},{"functionName":"toBuf","ranges":[{"startOffset":1730,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1943,"endOffset":1986,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2020,"endOffset":2062,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2096,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"setEngine","ranges":[{"startOffset":2142,"endOffset":2549,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2596,"endOffset":3060,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBufferLength","ranges":[{"startOffset":6504,"endOffset":6717,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeAlgorithm","ranges":[{"startOffset":6943,"endOffset":9378,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayBuffer","ranges":[{"startOffset":9380,"endOffset":9519,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteOffset","ranges":[{"startOffset":9521,"endOffset":9672,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteLength","ranges":[{"startOffset":9674,"endOffset":9825,"count":0}],"isBlockCoverage":false},{"functionName":"hasAnyNotIn","ranges":[{"startOffset":9827,"endOffset":9966,"count":0}],"isBlockCoverage":false},{"functionName":"validateBitLength","ranges":[{"startOffset":9968,"endOffset":10310,"count":0}],"isBlockCoverage":false},{"functionName":"validateByteLength","ranges":[{"startOffset":10312,"endOffset":10508,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10553,"endOffset":10822,"count":0}],"isBlockCoverage":false},{"functionName":"onDone","ranges":[{"startOffset":10826,"endOffset":11058,"count":0}],"isBlockCoverage":false},{"functionName":"jobPromise","ranges":[{"startOffset":11060,"endOffset":11330,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedInt","ranges":[{"startOffset":11866,"endOffset":12146,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedBigInt","ranges":[{"startOffset":12148,"endOffset":12384,"count":0}],"isBlockCoverage":false},{"functionName":"getStringOption","ranges":[{"startOffset":12386,"endOffset":12551,"count":0}],"isBlockCoverage":false},{"functionName":"getUsagesUnion","ranges":[{"startOffset":12553,"endOffset":12765,"count":0}],"isBlockCoverage":false},{"functionName":"getBlockSize","ranges":[{"startOffset":12767,"endOffset":12948,"count":0}],"isBlockCoverage":false},{"functionName":"validateKeyOps","ranges":[{"startOffset":13087,"endOffset":14053,"count":0}],"isBlockCoverage":false},{"functionName":"secureHeapUsed","ranges":[{"startOffset":14055,"endOffset":14438,"count":0}],"isBlockCoverage":false}]},{"scriptId":"223","url":"node:internal/crypto/hashnames","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2520,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeHashName","ranges":[{"startOffset":1890,"endOffset":2133,"count":0}],"isBlockCoverage":false}]},{"scriptId":"224","url":"node:internal/crypto/scrypt","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3331,"count":1}],"isBlockCoverage":false},{"functionName":"scrypt","ranges":[{"startOffset":626,"endOffset":1292,"count":0}],"isBlockCoverage":false},{"functionName":"scryptSync","ranges":[{"startOffset":1294,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1702,"endOffset":3283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"225","url":"node:internal/crypto/hkdf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3304,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":816,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"prepareKey","ranges":[{"startOffset":1274,"endOffset":1702,"count":0}],"isBlockCoverage":false},{"functionName":"hkdf","ranges":[{"startOffset":1704,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfSync","ranges":[{"startOffset":2172,"endOffset":2510,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfDeriveBits","ranges":[{"startOffset":2549,"endOffset":3242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"226","url":"node:internal/crypto/keys","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21401,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2331,"endOffset":6452,"count":1}],"isBlockCoverage":true},{"functionName":"KeyObject","ranges":[{"startOffset":2441,"endOffset":2983,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":2989,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":3049,"endOffset":3190,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":3196,"endOffset":3480,"count":0}],"isBlockCoverage":false},{"functionName":"SecretKeyObject","ranges":[{"startOffset":3698,"endOffset":3756,"count":0}],"isBlockCoverage":false},{"functionName":"get symmetricKeySize","ranges":[{"startOffset":3762,"endOffset":3842,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":3848,"endOffset":4196,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeKeyDetails","ranges":[{"startOffset":4329,"endOffset":4598,"count":0}],"isBlockCoverage":false},{"functionName":"AsymmetricKeyObject","ranges":[{"startOffset":4707,"endOffset":4767,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyType","ranges":[{"startOffset":4773,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyDetails","ranges":[{"startOffset":4931,"endOffset":5308,"count":0}],"isBlockCoverage":false},{"functionName":"PublicKeyObject","ranges":[{"startOffset":5372,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5436,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"PrivateKeyObject","ranges":[{"startOffset":5792,"endOffset":5851,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5857,"endOffset":6371,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormat","ranges":[{"startOffset":6456,"endOffset":6841,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyType","ranges":[{"startOffset":6843,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"option","ranges":[{"startOffset":7697,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormatAndType","ranges":[{"startOffset":7820,"endOffset":8520,"count":0}],"isBlockCoverage":false},{"functionName":"isStringOrBuffer","ranges":[{"startOffset":8522,"endOffset":8659,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":8661,"endOffset":10019,"count":0}],"isBlockCoverage":false},{"functionName":"parsePublicKeyEncoding","ranges":[{"startOffset":10218,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"parsePrivateKeyEncoding","ranges":[{"startOffset":10554,"endOffset":10670,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandle","ranges":[{"startOffset":10672,"endOffset":11250,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyTypes","ranges":[{"startOffset":11252,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandleFromJwk","ranges":[{"startOffset":11759,"endOffset":14308,"count":0}],"isBlockCoverage":false},{"functionName":"prepareAsymmetricKey","ranges":[{"startOffset":14310,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"preparePrivateKey","ranges":[{"startOffset":15855,"endOffset":15943,"count":0}],"isBlockCoverage":false},{"functionName":"preparePublicOrPrivateKey","ranges":[{"startOffset":15945,"endOffset":16040,"count":0}],"isBlockCoverage":false},{"functionName":"prepareSecretKey","ranges":[{"startOffset":16042,"endOffset":16740,"count":0}],"isBlockCoverage":false},{"functionName":"createSecretKey","ranges":[{"startOffset":16742,"endOffset":16946,"count":0}],"isBlockCoverage":false},{"functionName":"createPublicKey","ranges":[{"startOffset":16948,"endOffset":17285,"count":0}],"isBlockCoverage":false},{"functionName":"createPrivateKey","ranges":[{"startOffset":17287,"endOffset":17628,"count":0}],"isBlockCoverage":false},{"functionName":"isKeyObject","ranges":[{"startOffset":17630,"endOffset":17712,"count":0}],"isBlockCoverage":false},{"functionName":"CryptoKey","ranges":[{"startOffset":18135,"endOffset":18195,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18199,"endOffset":18548,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":18552,"endOffset":18687,"count":0}],"isBlockCoverage":false},{"functionName":"get extractable","ranges":[{"startOffset":18691,"endOffset":18830,"count":0}],"isBlockCoverage":false},{"functionName":"get algorithm","ranges":[{"startOffset":18834,"endOffset":18969,"count":0}],"isBlockCoverage":false},{"functionName":"get usages","ranges":[{"startOffset":18973,"endOffset":19116,"count":0}],"isBlockCoverage":false},{"functionName":"InternalCryptoKey","ranges":[{"startOffset":19694,"endOffset":20173,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20177,"endOffset":20529,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20533,"endOffset":20737,"count":0}],"isBlockCoverage":false},{"functionName":"isCryptoKey","ranges":[{"startOffset":20866,"endOffset":20950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"227","url":"node:internal/crypto/keygen","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10712,"count":1}],"isBlockCoverage":false},{"functionName":"isJwk","ranges":[{"startOffset":1183,"endOffset":1253,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":1255,"endOffset":1409,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPair","ranges":[{"startOffset":1411,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPairSync","ranges":[{"startOffset":2193,"endOffset":2310,"count":0}],"isBlockCoverage":false},{"functionName":"handleError","ranges":[{"startOffset":2312,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":2692,"endOffset":3942,"count":0}],"isBlockCoverage":false},{"functionName":"createJob","ranges":[{"startOffset":3944,"endOffset":9232,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyJob","ranges":[{"startOffset":9263,"endOffset":9800,"count":0}],"isBlockCoverage":false},{"functionName":"handleGenerateKeyError","ranges":[{"startOffset":9802,"endOffset":10004,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":10006,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeySync","ranges":[{"startOffset":10478,"endOffset":10612,"count":0}],"isBlockCoverage":false}]},{"scriptId":"228","url":"node:internal/crypto/diffiehellman","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9910,"count":1}],"isBlockCoverage":false},{"functionName":"DiffieHellman","ranges":[{"startOffset":1232,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"DiffieHellmanGroup","ranges":[{"startOffset":3039,"endOffset":3365,"count":0}],"isBlockCoverage":false},{"functionName":"dhGenerateKeys","ranges":[{"startOffset":3476,"endOffset":3591,"count":0}],"isBlockCoverage":false},{"functionName":"dhComputeSecret","ranges":[{"startOffset":3705,"endOffset":3963,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrime","ranges":[{"startOffset":4062,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetGenerator","ranges":[{"startOffset":4282,"endOffset":4407,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPublicKey","ranges":[{"startOffset":4518,"endOffset":4631,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrivateKey","ranges":[{"startOffset":4745,"endOffset":4860,"count":0}],"isBlockCoverage":false},{"functionName":"setPublicKey","ranges":[{"startOffset":4902,"endOffset":5044,"count":0}],"isBlockCoverage":false},{"functionName":"setPrivateKey","ranges":[{"startOffset":5088,"endOffset":5232,"count":0}],"isBlockCoverage":false},{"functionName":"ECDH","ranges":[{"startOffset":5236,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeys","ranges":[{"startOffset":5701,"endOffset":5823,"count":0}],"isBlockCoverage":false},{"functionName":"getPublicKey","ranges":[{"startOffset":5856,"endOffset":6007,"count":0}],"isBlockCoverage":false},{"functionName":"convertKey","ranges":[{"startOffset":6028,"endOffset":6294,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6297,"endOffset":6432,"count":0}],"isBlockCoverage":false},{"functionName":"getFormat","ranges":[{"startOffset":6434,"endOffset":6757,"count":0}],"isBlockCoverage":false},{"functionName":"diffieHellman","ranges":[{"startOffset":6831,"endOffset":7899,"count":0}],"isBlockCoverage":false},{"functionName":"ecdhDeriveBits","ranges":[{"startOffset":8018,"endOffset":9804,"count":0}],"isBlockCoverage":false}]},{"scriptId":"229","url":"node:internal/crypto/cipher","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10199,"count":1}],"isBlockCoverage":false},{"functionName":"rsaFunctionFor","ranges":[{"startOffset":1233,"endOffset":1981,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1301,"endOffset":1978,"count":0}],"isBlockCoverage":false},{"functionName":"getDecoder","ranges":[{"startOffset":2482,"endOffset":2848,"count":0}],"isBlockCoverage":false},{"functionName":"getUIntOption","ranges":[{"startOffset":2850,"endOffset":3084,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherBase","ranges":[{"startOffset":3086,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3507,"endOffset":3742,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherWithIV","ranges":[{"startOffset":3744,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"Cipher","ranges":[{"startOffset":4326,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":4670,"endOffset":4786,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":4815,"endOffset":4953,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":4982,"endOffset":5498,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5527,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"setAutoPadding","ranges":[{"startOffset":5809,"endOffset":5956,"count":0}],"isBlockCoverage":false},{"functionName":"getAuthTag","ranges":[{"startOffset":5989,"endOffset":6149,"count":0}],"isBlockCoverage":false},{"functionName":"setAuthTag","ranges":[{"startOffset":6153,"endOffset":6365,"count":0}],"isBlockCoverage":false},{"functionName":"setAAD","ranges":[{"startOffset":6393,"endOffset":6735,"count":0}],"isBlockCoverage":false},{"functionName":"Cipheriv","ranges":[{"startOffset":6983,"endOffset":7193,"count":0}],"isBlockCoverage":false},{"functionName":"addCipherPrototypeFunctions","ranges":[{"startOffset":7195,"endOffset":7786,"count":3},{"startOffset":7591,"endOffset":7664,"count":1},{"startOffset":7664,"endOffset":7726,"count":2}],"isBlockCoverage":true},{"functionName":"Decipher","ranges":[{"startOffset":8187,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"Decipheriv","ranges":[{"startOffset":8800,"endOffset":9017,"count":0}],"isBlockCoverage":false},{"functionName":"getCipherInfo","ranges":[{"startOffset":9179,"endOffset":10040,"count":0}],"isBlockCoverage":false}]},{"scriptId":"230","url":"node:internal/streams/lazy_transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1535,"count":1}],"isBlockCoverage":false},{"functionName":"LazyTransform","ranges":[{"startOffset":401,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"makeGetter","ranges":[{"startOffset":595,"endOffset":918,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":632,"endOffset":915,"count":0}],"isBlockCoverage":false},{"functionName":"makeSetter","ranges":[{"startOffset":920,"endOffset":1139,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":957,"endOffset":1136,"count":0}],"isBlockCoverage":false}]},{"scriptId":"231","url":"node:internal/crypto/sig","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6942,"count":1}],"isBlockCoverage":false},{"functionName":"Sign","ranges":[{"startOffset":870,"endOffset":1129,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":1252,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":1371,"endOffset":1684,"count":0}],"isBlockCoverage":false},{"functionName":"getPadding","ranges":[{"startOffset":1687,"endOffset":1762,"count":0}],"isBlockCoverage":false},{"functionName":"getSaltLength","ranges":[{"startOffset":1764,"endOffset":1845,"count":0}],"isBlockCoverage":false},{"functionName":"getDSASignatureEncoding","ranges":[{"startOffset":1847,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"getIntOption","ranges":[{"startOffset":2201,"endOffset":2446,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":2470,"endOffset":3086,"count":0}],"isBlockCoverage":false},{"functionName":"signOneShot","ranges":[{"startOffset":3089,"endOffset":4307,"count":0}],"isBlockCoverage":false},{"functionName":"Verify","ranges":[{"startOffset":4309,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":4804,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"verifyOneShot","ranges":[{"startOffset":5390,"endOffset":6868,"count":0}],"isBlockCoverage":false}]},{"scriptId":"232","url":"node:internal/crypto/hash","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4553,"count":1}],"isBlockCoverage":false},{"functionName":"Hash","ranges":[{"startOffset":954,"endOffset":1474,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":1605,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1804,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":1936,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":2043,"endOffset":2507,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":2535,"endOffset":2856,"count":0}],"isBlockCoverage":false},{"functionName":"Hmac","ranges":[{"startOffset":2859,"endOffset":3259,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":3440,"endOffset":3872,"count":0}],"isBlockCoverage":false},{"functionName":"asyncDigest","ranges":[{"startOffset":4027,"endOffset":4498,"count":0}],"isBlockCoverage":false}]},{"scriptId":"233","url":"node:internal/crypto/x509","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9909,"count":1}],"isBlockCoverage":false},{"functionName":"isX509Certificate","ranges":[{"startOffset":1155,"endOffset":1238,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":1240,"endOffset":2485,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2487,"endOffset":2649,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2651,"endOffset":9663,"count":0}],"isBlockCoverage":false}]},{"scriptId":"234","url":"node:internal/crypto/certificate","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1546,"count":1}],"isBlockCoverage":false},{"functionName":"verifySpkac","ranges":[{"startOffset":385,"endOffset":505,"count":0}],"isBlockCoverage":false},{"functionName":"exportPublicKey","ranges":[{"startOffset":507,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"exportChallenge","ranges":[{"startOffset":637,"endOffset":765,"count":0}],"isBlockCoverage":false},{"functionName":"Certificate","ranges":[{"startOffset":1122,"endOffset":1216,"count":0}],"isBlockCoverage":false}]},{"scriptId":"235","url":"node:internal/crypto/webcrypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30940,"count":1}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":1190,"endOffset":1799,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":1801,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":1913,"endOffset":4408,"count":0}],"isBlockCoverage":false},{"functionName":"deriveBits","ranges":[{"startOffset":4410,"endOffset":5970,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyLength","ranges":[{"startOffset":5972,"endOffset":6592,"count":0}],"isBlockCoverage":false},{"functionName":"deriveKey","ranges":[{"startOffset":6594,"endOffset":8774,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeySpki","ranges":[{"startOffset":8776,"endOffset":9754,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyPkcs8","ranges":[{"startOffset":9756,"endOffset":10743,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyRaw","ranges":[{"startOffset":10745,"endOffset":11678,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyJWK","ranges":[{"startOffset":11680,"endOffset":13210,"count":0}],"isBlockCoverage":false},{"functionName":"exportKey","ranges":[{"startOffset":13212,"endOffset":14072,"count":0}],"isBlockCoverage":false},{"functionName":"importGenericSecretKey","ranges":[{"startOffset":14074,"endOffset":15424,"count":0}],"isBlockCoverage":false},{"functionName":"importKey","ranges":[{"startOffset":15426,"endOffset":18168,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":18261,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapKey","ranges":[{"startOffset":19891,"endOffset":21854,"count":0}],"isBlockCoverage":false},{"functionName":"signVerify","ranges":[{"startOffset":21856,"endOffset":22959,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":22961,"endOffset":23587,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":23589,"endOffset":24346,"count":0}],"isBlockCoverage":false},{"functionName":"cipherOrWrap","ranges":[{"startOffset":24348,"endOffset":25759,"count":0}],"isBlockCoverage":false},{"functionName":"encrypt","ranges":[{"startOffset":25761,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"decrypt","ranges":[{"startOffset":26489,"endOffset":27215,"count":0}],"isBlockCoverage":false},{"functionName":"SubtleCrypto","ranges":[{"startOffset":27371,"endOffset":27431,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27466,"endOffset":27479,"count":1}],"isBlockCoverage":true},{"functionName":"Crypto","ranges":[{"startOffset":27518,"endOffset":27578,"count":0}],"isBlockCoverage":true},{"functionName":"get subtle","ranges":[{"startOffset":27582,"endOffset":27682,"count":3},{"startOffset":27622,"endOffset":27659,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27717,"endOffset":27730,"count":1}],"isBlockCoverage":true},{"functionName":"getRandomValues","ranges":[{"startOffset":27746,"endOffset":28079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"236","url":"node:zlib","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29534,"count":1}],"isBlockCoverage":false},{"functionName":"zlibBuffer","ranges":[{"startOffset":3530,"endOffset":4157,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnData","ranges":[{"startOffset":4159,"endOffset":4490,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnError","ranges":[{"startOffset":4492,"endOffset":4577,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnEnd","ranges":[{"startOffset":4579,"endOffset":4909,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferSync","ranges":[{"startOffset":4911,"endOffset":5452,"count":0}],"isBlockCoverage":false},{"functionName":"zlibOnError","ranges":[{"startOffset":5454,"endOffset":5768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5993,"endOffset":6329,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6633,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase","ranges":[{"startOffset":7161,"endOffset":9213,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9438,"endOffset":9475,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9918,"endOffset":9964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10111,"endOffset":10163,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.reset","ranges":[{"startOffset":10304,"endOffset":10412,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._flush","ranges":[{"startOffset":10558,"endOffset":10630,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._final","ranges":[{"startOffset":10697,"endOffset":10733,"count":0}],"isBlockCoverage":false},{"functionName":"maxFlush","ranges":[{"startOffset":11331,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.flush","ranges":[{"startOffset":11847,"endOffset":12249,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.close","ranges":[{"startOffset":12279,"endOffset":12361,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._destroy","ranges":[{"startOffset":12394,"endOffset":12454,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._transform","ranges":[{"startOffset":12489,"endOffset":13023,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._processChunk","ranges":[{"startOffset":13061,"endOffset":13290,"count":0}],"isBlockCoverage":false},{"functionName":"processChunkSync","ranges":[{"startOffset":13293,"endOffset":15578,"count":0}],"isBlockCoverage":false},{"functionName":"processChunk","ranges":[{"startOffset":15580,"endOffset":16170,"count":0}],"isBlockCoverage":false},{"functionName":"processCallback","ranges":[{"startOffset":16172,"endOffset":18474,"count":0}],"isBlockCoverage":false},{"functionName":"_close","ranges":[{"startOffset":18476,"endOffset":18666,"count":0}],"isBlockCoverage":false},{"functionName":"Zlib","ranges":[{"startOffset":18863,"endOffset":21181,"count":0}],"isBlockCoverage":false},{"functionName":"paramsAfterFlushCallback","ranges":[{"startOffset":21531,"endOffset":21797,"count":0}],"isBlockCoverage":false},{"functionName":"params","ranges":[{"startOffset":21823,"endOffset":22290,"count":0}],"isBlockCoverage":false},{"functionName":"Deflate","ranges":[{"startOffset":22334,"endOffset":22469,"count":0}],"isBlockCoverage":false},{"functionName":"Inflate","ranges":[{"startOffset":22565,"endOffset":22700,"count":0}],"isBlockCoverage":false},{"functionName":"Gzip","ranges":[{"startOffset":22796,"endOffset":22919,"count":0}],"isBlockCoverage":false},{"functionName":"Gunzip","ranges":[{"startOffset":23009,"endOffset":23140,"count":0}],"isBlockCoverage":false},{"functionName":"DeflateRaw","ranges":[{"startOffset":23234,"endOffset":23439,"count":0}],"isBlockCoverage":false},{"functionName":"InflateRaw","ranges":[{"startOffset":23541,"endOffset":23688,"count":0}],"isBlockCoverage":false},{"functionName":"Unzip","ranges":[{"startOffset":23790,"endOffset":23917,"count":0}],"isBlockCoverage":false},{"functionName":"createConvenienceMethod","ranges":[{"startOffset":24009,"endOffset":24398,"count":18},{"startOffset":24068,"endOffset":24397,"count":9}],"isBlockCoverage":true},{"functionName":"syncBufferWrapper","ranges":[{"startOffset":24081,"endOffset":24182,"count":0}],"isBlockCoverage":false},{"functionName":"asyncBufferWrapper","ranges":[{"startOffset":24197,"endOffset":24395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24483,"endOffset":24570,"count":107},{"startOffset":24541,"endOffset":24561,"count":9},{"startOffset":24562,"endOffset":24569,"count":98}],"isBlockCoverage":true},{"functionName":"Brotli","ranges":[{"startOffset":24789,"endOffset":26126,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliCompress","ranges":[{"startOffset":26220,"endOffset":26384,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliDecompress","ranges":[{"startOffset":26498,"endOffset":26668,"count":0}],"isBlockCoverage":false},{"functionName":"createProperty","ranges":[{"startOffset":26787,"endOffset":26973,"count":9}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":26908,"endOffset":26965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27202,"endOffset":27238,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":27242,"endOffset":27283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"237","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16298,"count":1}],"isBlockCoverage":true},{"functionName":"hasOwnProperty","ranges":[{"startOffset":362,"endOffset":430,"count":0}],"isBlockCoverage":false},{"functionName":"isExternalAssertError","ranges":[{"startOffset":433,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"formatErrorValue","ranges":[{"startOffset":865,"endOffset":1002,"count":0}],"isBlockCoverage":false},{"functionName":"captureSavedError","ranges":[{"startOffset":1030,"endOffset":1237,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext","ranges":[{"startOffset":1316,"endOffset":4497,"count":3}],"isBlockCoverage":true},{"functionName":"pass","ranges":[{"startOffset":1349,"endOffset":1395,"count":4}],"isBlockCoverage":true},{"functionName":"pending","ranges":[{"startOffset":1400,"endOffset":1462,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":1467,"endOffset":1521,"count":0}],"isBlockCoverage":false},{"functionName":"skip","ranges":[{"startOffset":1526,"endOffset":1572,"count":0}],"isBlockCoverage":false},{"functionName":"compareWithSnapshot","ranges":[{"startOffset":1598,"endOffset":1642,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.snapshot.skip","ranges":[{"startOffset":1778,"endOffset":1813,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.log","ranges":[{"startOffset":1829,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan","ranges":[{"startOffset":2064,"endOffset":2120,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan.skip","ranges":[{"startOffset":2142,"endOffset":2150,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.timeout","ranges":[{"startOffset":2170,"endOffset":2222,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.teardown","ranges":[{"startOffset":2243,"endOffset":2291,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.try","ranges":[{"startOffset":2307,"endOffset":4493,"count":0}],"isBlockCoverage":false},{"functionName":"get title","ranges":[{"startOffset":4500,"endOffset":4550,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4553,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"set context","ranges":[{"startOffset":4619,"endOffset":4689,"count":0}],"isBlockCoverage":false},{"functionName":"get passed","ranges":[{"startOffset":4692,"endOffset":4803,"count":0}],"isBlockCoverage":false},{"functionName":"Test","ranges":[{"startOffset":4836,"endOffset":7739,"count":3},{"startOffset":4940,"endOffset":4945,"count":0}],"isBlockCoverage":true},{"functionName":"Test.compareWithSnapshot","ranges":[{"startOffset":5648,"endOffset":6084,"count":0}],"isBlockCoverage":false},{"functionName":"Test.skipSnapshot","ranges":[{"startOffset":6109,"endOffset":6523,"count":0}],"isBlockCoverage":false},{"functionName":"Test.runAttempt","ranges":[{"startOffset":6546,"endOffset":7343,"count":0}],"isBlockCoverage":false},{"functionName":"createExecutionContext","ranges":[{"startOffset":7742,"endOffset":7808,"count":3}],"isBlockCoverage":true},{"functionName":"countPassedAssertion","ranges":[{"startOffset":7811,"endOffset":8163,"count":4},{"startOffset":7858,"endOffset":7949,"count":0},{"startOffset":7987,"endOffset":8112,"count":0}],"isBlockCoverage":true},{"functionName":"addLog","ranges":[{"startOffset":8166,"endOffset":8207,"count":0}],"isBlockCoverage":false},{"functionName":"addPendingAssertion","ranges":[{"startOffset":8210,"endOffset":8745,"count":0}],"isBlockCoverage":false},{"functionName":"addFailedAssertion","ranges":[{"startOffset":8748,"endOffset":9133,"count":0}],"isBlockCoverage":false},{"functionName":"finishAttempt","ranges":[{"startOffset":9136,"endOffset":10154,"count":0}],"isBlockCoverage":false},{"functionName":"saveFirstError","ranges":[{"startOffset":10157,"endOffset":10243,"count":0}],"isBlockCoverage":false},{"functionName":"plan","ranges":[{"startOffset":10246,"endOffset":10542,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":10545,"endOffset":11120,"count":0}],"isBlockCoverage":false},{"functionName":"refreshTimeout","ranges":[{"startOffset":11123,"endOffset":11303,"count":4},{"startOffset":11184,"endOffset":11300,"count":0}],"isBlockCoverage":true},{"functionName":"clearTimeout","ranges":[{"startOffset":11306,"endOffset":11401,"count":3}],"isBlockCoverage":true},{"functionName":"addTeardown","ranges":[{"startOffset":11404,"endOffset":11793,"count":0}],"isBlockCoverage":false},{"functionName":"runTeardowns","ranges":[{"startOffset":11796,"endOffset":12044,"count":3},{"startOffset":11907,"endOffset":12041,"count":0}],"isBlockCoverage":true},{"functionName":"verifyPlan","ranges":[{"startOffset":12047,"endOffset":12402,"count":3},{"startOffset":12113,"endOffset":12151,"count":0},{"startOffset":12153,"endOffset":12399,"count":0}],"isBlockCoverage":true},{"functionName":"verifyAssertions","ranges":[{"startOffset":12405,"endOffset":13050,"count":3},{"startOffset":12450,"endOffset":12466,"count":0},{"startOffset":12504,"endOffset":12622,"count":0},{"startOffset":12662,"endOffset":12765,"count":0},{"startOffset":12835,"endOffset":12901,"count":0},{"startOffset":12933,"endOffset":12951,"count":0},{"startOffset":12953,"endOffset":13043,"count":0}],"isBlockCoverage":true},{"functionName":"callFn","ranges":[{"startOffset":13053,"endOffset":13237,"count":3},{"startOffset":13171,"endOffset":13234,"count":0}],"isBlockCoverage":true},{"functionName":"run","ranges":[{"startOffset":13240,"endOffset":15578,"count":3},{"startOffset":13338,"endOffset":13891,"count":0},{"startOffset":13982,"endOffset":14030,"count":1},{"startOffset":14126,"endOffset":14276,"count":0},{"startOffset":14303,"endOffset":14421,"count":1},{"startOffset":14438,"endOffset":15550,"count":1},{"startOffset":15550,"endOffset":15577,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14153,"endOffset":14270,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14462,"endOffset":15544,"count":1}],"isBlockCoverage":true},{"functionName":"finishDueToAttributedError","ranges":[{"startOffset":14513,"endOffset":14555,"count":0}],"isBlockCoverage":false},{"functionName":"finishDueToTimeout","ranges":[{"startOffset":14588,"endOffset":14630,"count":0}],"isBlockCoverage":false},{"functionName":"finishDueToInactivity","ranges":[{"startOffset":14666,"endOffset":14906,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14933,"endOffset":15496,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":15509,"endOffset":15537,"count":1}],"isBlockCoverage":true},{"functionName":"finish","ranges":[{"startOffset":15581,"endOffset":16295,"count":3},{"startOffset":15866,"endOffset":16020,"count":0}],"isBlockCoverage":true}]},{"scriptId":"238","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/assert.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":25039,"count":1}],"isBlockCoverage":true},{"functionName":"formatDescriptorDiff","ranges":[{"startOffset":331,"endOffset":822,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptorWithLabel","ranges":[{"startOffset":824,"endOffset":979,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithLabel","ranges":[{"startOffset":981,"endOffset":1114,"count":0}],"isBlockCoverage":false},{"functionName":"hasOwnProperty","ranges":[{"startOffset":1139,"endOffset":1207,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":1222,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"notImplemented","ranges":[{"startOffset":1255,"endOffset":1301,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":1349,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"checkAssertionMessage","ranges":[{"startOffset":1981,"endOffset":2292,"count":4},{"startOffset":2061,"endOffset":2091,"count":0},{"startOffset":2112,"endOffset":2291,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithLongStackTrace","ranges":[{"startOffset":2294,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"validateExpectations","ranges":[{"startOffset":2558,"endOffset":5405,"count":0}],"isBlockCoverage":false},{"functionName":"assertExpectations","ranges":[{"startOffset":5524,"endOffset":8199,"count":0}],"isBlockCoverage":false},{"functionName":"Assertions","ranges":[{"startOffset":8228,"endOffset":25036,"count":3}],"isBlockCoverage":true},{"functionName":"withSkip","ranges":[{"startOffset":8463,"endOffset":8534,"count":57}],"isBlockCoverage":true},{"functionName":"checkMessage","ranges":[{"startOffset":8560,"endOffset":8733,"count":4},{"startOffset":8694,"endOffset":8732,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8759,"endOffset":8797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8824,"endOffset":9037,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9062,"endOffset":9979,"count":2},{"startOffset":9132,"endOffset":9156,"count":0},{"startOffset":9229,"endOffset":9401,"count":0},{"startOffset":9449,"endOffset":9502,"count":0},{"startOffset":9525,"endOffset":9978,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10005,"endOffset":10365,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10397,"endOffset":11031,"count":2},{"startOffset":10474,"endOffset":10498,"count":0},{"startOffset":10632,"endOffset":10727,"count":0},{"startOffset":10775,"endOffset":10828,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11066,"endOffset":11622,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11649,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12970,"endOffset":14552,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14586,"endOffset":16839,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16871,"endOffset":17460,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17497,"endOffset":19358,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19389,"endOffset":21353,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21382,"endOffset":21702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21730,"endOffset":22051,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22078,"endOffset":22383,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22411,"endOffset":22720,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22748,"endOffset":23686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23717,"endOffset":24676,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24705,"endOffset":25031,"count":0}],"isBlockCoverage":false}]},{"scriptId":"239","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/concordance-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2980,"count":1},{"startOffset":2696,"endOffset":2708,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2579,"endOffset":2649,"count":110},{"startOffset":2623,"endOffset":2641,"count":69},{"startOffset":2642,"endOffset":2649,"count":41}],"isBlockCoverage":true},{"functionName":"get maxDepth","ranges":[{"startOffset":2807,"endOffset":2878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"240","url":"node:internal/util/parse_args/parse_args","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12919,"count":1}],"isBlockCoverage":false},{"functionName":"getMainArgs","ranges":[{"startOffset":1135,"endOffset":1729,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionLikeValue","ranges":[{"startOffset":1874,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionUsage","ranges":[{"startOffset":2658,"endOffset":3449,"count":0}],"isBlockCoverage":false},{"functionName":"storeOption","ranges":[{"startOffset":3772,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"storeDefaultOption","ranges":[{"startOffset":4921,"endOffset":5090,"count":0}],"isBlockCoverage":false},{"functionName":"argsToTokens","ranges":[{"startOffset":5365,"endOffset":9345,"count":0}],"isBlockCoverage":false},{"functionName":"parseArgs","ranges":[{"startOffset":9365,"endOffset":12881,"count":0}],"isBlockCoverage":false}]},{"scriptId":"241","url":"node:internal/util/parse_args/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6225,"count":1}],"isBlockCoverage":false},{"functionName":"objectGetOwn","ranges":[{"startOffset":693,"endOffset":782,"count":0}],"isBlockCoverage":false},{"functionName":"optionsGetOwn","ranges":[{"startOffset":865,"endOffset":1011,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionValue","ranges":[{"startOffset":1277,"endOffset":1502,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionLikeValue","ranges":[{"startOffset":1719,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneShortOption","ranges":[{"startOffset":1936,"endOffset":2088,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneLongOption","ranges":[{"startOffset":2336,"endOffset":2484,"count":0}],"isBlockCoverage":false},{"functionName":"isLongOptionAndValue","ranges":[{"startOffset":2681,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionGroup","ranges":[{"startOffset":3724,"endOffset":4109,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionAndValue","ranges":[{"startOffset":4418,"endOffset":4847,"count":0}],"isBlockCoverage":false},{"functionName":"findLongOptionForShort","ranges":[{"startOffset":5170,"endOffset":5472,"count":0}],"isBlockCoverage":false},{"functionName":"useDefaultValueOption","ranges":[{"startOffset":5797,"endOffset":5967,"count":0}],"isBlockCoverage":false}]},{"scriptId":"242","url":"node:internal/mime","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10569,"count":1}],"isBlockCoverage":false},{"functionName":"toASCIILower","ranges":[{"startOffset":587,"endOffset":820,"count":0}],"isBlockCoverage":false},{"functionName":"parseTypeAndSubtype","ranges":[{"startOffset":866,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"removeBackslashes","ranges":[{"startOffset":2641,"endOffset":3056,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuoteOrSolidus","ranges":[{"startOffset":3059,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":3288,"endOffset":3527,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3530,"endOffset":8526,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8986,"endOffset":10365,"count":0}],"isBlockCoverage":false}]},{"scriptId":"243","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/callsites/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"callsites","ranges":[{"startOffset":15,"endOffset":469,"count":0}],"isBlockCoverage":false}]},{"scriptId":"244","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5256,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5189,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2906,"endOffset":3404,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3450,"endOffset":3975,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4032,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4134,"endOffset":4895,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4949,"endOffset":5030,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5084,"endOffset":5137,"count":0}],"isBlockCoverage":false}]},{"scriptId":"245","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/supports-color/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3855,"count":1},{"startOffset":738,"endOffset":762,"count":0},{"startOffset":869,"endOffset":893,"count":0}],"isBlockCoverage":true},{"functionName":"hasFlag","ranges":[{"startOffset":235,"endOffset":585,"count":16},{"startOffset":281,"endOffset":303,"count":0},{"startOffset":359,"endOffset":363,"count":0},{"startOffset":385,"endOffset":390,"count":0},{"startOffset":519,"endOffset":582,"count":0}],"isBlockCoverage":true},{"functionName":"envForceColor","ranges":[{"startOffset":895,"endOffset":1159,"count":2},{"startOffset":949,"endOffset":1157,"count":0}],"isBlockCoverage":true},{"functionName":"translateLevel","ranges":[{"startOffset":1161,"endOffset":1320,"count":2},{"startOffset":1212,"endOffset":1232,"count":0}],"isBlockCoverage":true},{"functionName":"_supportsColor","ranges":[{"startOffset":1322,"endOffset":3494,"count":2},{"startOffset":1479,"endOffset":1520,"count":0},{"startOffset":1570,"endOffset":1588,"count":0},{"startOffset":1614,"endOffset":1630,"count":0},{"startOffset":1740,"endOffset":1758,"count":0},{"startOffset":1788,"endOffset":1806,"count":0},{"startOffset":1918,"endOffset":1940,"count":0},{"startOffset":1942,"endOffset":1958,"count":0},{"startOffset":1992,"endOffset":2019,"count":0},{"startOffset":2021,"endOffset":2037,"count":0},{"startOffset":2096,"endOffset":2114,"count":0},{"startOffset":2151,"endOffset":2508,"count":0},{"startOffset":2528,"endOffset":2776,"count":0},{"startOffset":2810,"endOffset":2891,"count":0},{"startOffset":2945,"endOffset":3493,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2688,"endOffset":2707,"count":0}],"isBlockCoverage":false},{"functionName":"createSupportsColor","ranges":[{"startOffset":3503,"endOffset":3687,"count":2}],"isBlockCoverage":true}]},{"scriptId":"246","url":"node:os","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9769,"count":1}],"isBlockCoverage":false},{"functionName":"getCheckedFunction","ranges":[{"startOffset":2026,"endOffset":2267,"count":4}],"isBlockCoverage":true},{"functionName":"checkError","ranges":[{"startOffset":2085,"endOffset":2263,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease","ranges":[{"startOffset":2649,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType","ranges":[{"startOffset":2711,"endOffset":2721,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion","ranges":[{"startOffset":2773,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine","ranges":[{"startOffset":2836,"endOffset":2849,"count":0}],"isBlockCoverage":false},{"functionName":"getAvailableParallelism.","ranges":[{"startOffset":2897,"endOffset":2928,"count":0}],"isBlockCoverage":false},{"functionName":"getFreeMem.","ranges":[{"startOffset":2962,"endOffset":2980,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname.","ranges":[{"startOffset":3015,"endOffset":3034,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion.","ranges":[{"startOffset":3070,"endOffset":3090,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType.","ranges":[{"startOffset":3123,"endOffset":3140,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease.","ranges":[{"startOffset":3176,"endOffset":3196,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine.","ranges":[{"startOffset":3230,"endOffset":3248,"count":0}],"isBlockCoverage":false},{"functionName":"getHomeDirectory.","ranges":[{"startOffset":3288,"endOffset":3312,"count":0}],"isBlockCoverage":false},{"functionName":"getTotalMem.","ranges":[{"startOffset":3347,"endOffset":3366,"count":0}],"isBlockCoverage":false},{"functionName":"getUptime.","ranges":[{"startOffset":3399,"endOffset":3416,"count":0}],"isBlockCoverage":false},{"functionName":"loadavg","ranges":[{"startOffset":3554,"endOffset":3654,"count":0}],"isBlockCoverage":false},{"functionName":"cpus","ranges":[{"startOffset":3934,"endOffset":4363,"count":1},{"startOffset":4036,"endOffset":4041,"count":0},{"startOffset":4103,"endOffset":4344,"count":12}],"isBlockCoverage":true},{"functionName":"arch","ranges":[{"startOffset":4394,"endOffset":4436,"count":0}],"isBlockCoverage":false},{"functionName":"arch.","ranges":[{"startOffset":4463,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"platform","ranges":[{"startOffset":4513,"endOffset":4563,"count":2}],"isBlockCoverage":true},{"functionName":"platform.","ranges":[{"startOffset":4594,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir","ranges":[{"startOffset":4648,"endOffset":5253,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir.","ranges":[{"startOffset":5282,"endOffset":5296,"count":0}],"isBlockCoverage":false},{"functionName":"endianness","ranges":[{"startOffset":5333,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"endianness.","ranges":[{"startOffset":5413,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"countBinaryOnes","ranges":[{"startOffset":5518,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"getCIDR","ranges":[{"startOffset":5773,"endOffset":6718,"count":0}],"isBlockCoverage":false},{"functionName":"networkInterfaces","ranges":[{"startOffset":6929,"endOffset":7622,"count":0}],"isBlockCoverage":false},{"functionName":"setPriority","ranges":[{"startOffset":7706,"endOffset":7995,"count":0}],"isBlockCoverage":false},{"functionName":"getPriority","ranges":[{"startOffset":8053,"endOffset":8308,"count":0}],"isBlockCoverage":false},{"functionName":"userInfo","ranges":[{"startOffset":8612,"endOffset":8900,"count":0}],"isBlockCoverage":false}]},{"scriptId":"247","url":"node:tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5058,"count":1}],"isBlockCoverage":false},{"functionName":"isatty","ranges":[{"startOffset":1535,"endOffset":1641,"count":2}],"isBlockCoverage":true},{"functionName":"ReadStream","ranges":[{"startOffset":1643,"endOffset":2112,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.setRawMode","ranges":[{"startOffset":2261,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":2481,"endOffset":3453,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._refreshSize","ranges":[{"startOffset":3744,"endOffset":4180,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.cursorTo","ranges":[{"startOffset":4236,"endOffset":4376,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.moveCursor","ranges":[{"startOffset":4413,"endOffset":4559,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearLine","ranges":[{"startOffset":4595,"endOffset":4734,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearScreenDown","ranges":[{"startOffset":4776,"endOffset":4911,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.getWindowSize","ranges":[{"startOffset":4951,"endOffset":5001,"count":0}],"isBlockCoverage":false}]},{"scriptId":"248","url":"node:net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":65921,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1612,"endOffset":1637,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4029,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":4446,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"createHandle","ranges":[{"startOffset":4542,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"getNewAsyncId","ranges":[{"startOffset":4928,"endOffset":5066,"count":0}],"isBlockCoverage":false},{"functionName":"isPipeName","ranges":[{"startOffset":5069,"endOffset":5152,"count":0}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":5353,"endOffset":5457,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":5680,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamily","ranges":[{"startOffset":6083,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamily","ranges":[{"startOffset":6160,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6278,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6383,"endOffset":6570,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgs","ranges":[{"startOffset":7064,"endOffset":7790,"count":0}],"isBlockCoverage":false},{"functionName":"initSocketHandle","ranges":[{"startOffset":7862,"endOffset":8465,"count":0}],"isBlockCoverage":false},{"functionName":"closeSocketHandle","ranges":[{"startOffset":8467,"endOffset":8807,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":9059,"endOffset":13678,"count":0}],"isBlockCoverage":false},{"functionName":"_unrefTimer","ranges":[{"startOffset":13851,"endOffset":13981,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._final","ranges":[{"startOffset":14101,"endOffset":14717,"count":0}],"isBlockCoverage":false},{"functionName":"afterShutdown","ranges":[{"startOffset":14720,"endOffset":14866,"count":0}],"isBlockCoverage":false},{"functionName":"writeAfterFIN","ranges":[{"startOffset":15073,"endOffset":15581,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._onTimeout","ranges":[{"startOffset":15663,"endOffset":16167,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setNoDelay","ranges":[{"startOffset":16201,"endOffset":16578,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setKeepAlive","ranges":[{"startOffset":16614,"endOffset":17220,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":17251,"endOffset":17295,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17381,"endOffset":17425,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17505,"endOffset":17561,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17672,"endOffset":17987,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18076,"endOffset":18156,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18244,"endOffset":18289,"count":0}],"isBlockCoverage":false},{"functionName":"tryReadStart","ranges":[{"startOffset":18297,"endOffset":18543,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._read","ranges":[{"startOffset":18635,"endOffset":18954,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.end","ranges":[{"startOffset":18981,"endOffset":19137,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resetAndDestroy","ranges":[{"startOffset":19175,"endOffset":19525,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.pause","ranges":[{"startOffset":19553,"endOffset":19887,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resume","ranges":[{"startOffset":19917,"endOffset":20101,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.read","ranges":[{"startOffset":20129,"endOffset":20315,"count":0}],"isBlockCoverage":false},{"functionName":"onReadableStreamEnd","ranges":[{"startOffset":20362,"endOffset":20461,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.destroySoon","ranges":[{"startOffset":20495,"endOffset":20642,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._destroy","ranges":[{"startOffset":20674,"endOffset":22184,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._reset","ranges":[{"startOffset":22213,"endOffset":22312,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getpeername","ranges":[{"startOffset":22347,"endOffset":22644,"count":0}],"isBlockCoverage":false},{"functionName":"protoGetter","ranges":[{"startOffset":22647,"endOffset":22829,"count":9}],"isBlockCoverage":true},{"functionName":"bytesRead","ranges":[{"startOffset":22856,"endOffset":22947,"count":0}],"isBlockCoverage":false},{"functionName":"remoteAddress","ranges":[{"startOffset":22980,"endOffset":23046,"count":0}],"isBlockCoverage":false},{"functionName":"remoteFamily","ranges":[{"startOffset":23078,"endOffset":23142,"count":0}],"isBlockCoverage":false},{"functionName":"remotePort","ranges":[{"startOffset":23172,"endOffset":23232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getsockname","ranges":[{"startOffset":23269,"endOffset":23545,"count":0}],"isBlockCoverage":false},{"functionName":"localAddress","ranges":[{"startOffset":23577,"endOffset":23642,"count":0}],"isBlockCoverage":false},{"functionName":"localPort","ranges":[{"startOffset":23672,"endOffset":23731,"count":0}],"isBlockCoverage":false},{"functionName":"localFamily","ranges":[{"startOffset":23762,"endOffset":23825,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":23866,"endOffset":23913,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writeGeneric","ranges":[{"startOffset":23949,"endOffset":24861,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writev","ranges":[{"startOffset":24892,"endOffset":24960,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._write","ranges":[{"startOffset":24990,"endOffset":25071,"count":0}],"isBlockCoverage":false},{"functionName":"_bytesDispatched","ranges":[{"startOffset":25264,"endOffset":25368,"count":0}],"isBlockCoverage":false},{"functionName":"bytesWritten","ranges":[{"startOffset":25400,"endOffset":26329,"count":0}],"isBlockCoverage":false},{"functionName":"checkBindError","ranges":[{"startOffset":26334,"endOffset":27133,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnect","ranges":[{"startOffset":27136,"endOffset":29131,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultiple","ranges":[{"startOffset":29134,"endOffset":31870,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":31899,"endOffset":33495,"count":0}],"isBlockCoverage":false},{"functionName":"reinitializeHandle","ranges":[{"startOffset":33538,"endOffset":33692,"count":0}],"isBlockCoverage":false},{"functionName":"socketToDnsFamily","ranges":[{"startOffset":33695,"endOffset":33841,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnect","ranges":[{"startOffset":33843,"endOffset":37774,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnectMultiple","ranges":[{"startOffset":37776,"endOffset":41750,"count":0}],"isBlockCoverage":false},{"functionName":"connectErrorNT","ranges":[{"startOffset":41752,"endOffset":41811,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":41837,"endOffset":42024,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":42053,"endOffset":42246,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnect","ranges":[{"startOffset":42250,"endOffset":43831,"count":0}],"isBlockCoverage":false},{"functionName":"addClientAbortSignalOption","ranges":[{"startOffset":43833,"endOffset":44256,"count":0}],"isBlockCoverage":false},{"functionName":"createConnectionError","ranges":[{"startOffset":44258,"endOffset":44759,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnectMultiple","ranges":[{"startOffset":44761,"endOffset":45903,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultipleTimeout","ranges":[{"startOffset":45905,"endOffset":46217,"count":0}],"isBlockCoverage":false},{"functionName":"addServerAbortSignalOption","ranges":[{"startOffset":46219,"endOffset":46662,"count":0}],"isBlockCoverage":false},{"functionName":"Server","ranges":[{"startOffset":46664,"endOffset":48251,"count":0}],"isBlockCoverage":false},{"functionName":"toNumber","ranges":[{"startOffset":48362,"endOffset":48427,"count":0}],"isBlockCoverage":false},{"functionName":"createServerHandle","ranges":[{"startOffset":48495,"endOffset":49947,"count":0}],"isBlockCoverage":false},{"functionName":"setupListenHandle","ranges":[{"startOffset":49949,"endOffset":52300,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":52367,"endOffset":52429,"count":0}],"isBlockCoverage":false},{"functionName":"emitListeningNT","ranges":[{"startOffset":52432,"endOffset":52547,"count":0}],"isBlockCoverage":false},{"functionName":"listenInCluster","ranges":[{"startOffset":52550,"endOffset":53810,"count":0}],"isBlockCoverage":false},{"functionName":"Server.listen","ranges":[{"startOffset":53839,"endOffset":57671,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndListen","ranges":[{"startOffset":57674,"endOffset":58086,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":58168,"endOffset":58211,"count":0}],"isBlockCoverage":false},{"functionName":"Server.address","ranges":[{"startOffset":58287,"endOffset":58576,"count":0}],"isBlockCoverage":false},{"functionName":"onconnection","ranges":[{"startOffset":58579,"endOffset":60478,"count":0}],"isBlockCoverage":false},{"functionName":"Server.getConnections","ranges":[{"startOffset":60627,"endOffset":61380,"count":0}],"isBlockCoverage":false},{"functionName":"Server.close","ranges":[{"startOffset":61409,"endOffset":62276,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":62318,"endOffset":62438,"count":0}],"isBlockCoverage":false},{"functionName":"Server._emitCloseIfDrained","ranges":[{"startOffset":62480,"endOffset":62866,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":62870,"endOffset":62953,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":63012,"endOffset":63174,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63396,"endOffset":63432,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63436,"endOffset":63477,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63557,"endOffset":63588,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63592,"endOffset":63628,"count":0}],"isBlockCoverage":false},{"functionName":"Server._setupWorker","ranges":[{"startOffset":63667,"endOffset":63908,"count":0}],"isBlockCoverage":false},{"functionName":"Server.ref","ranges":[{"startOffset":63934,"endOffset":64032,"count":0}],"isBlockCoverage":false},{"functionName":"Server.unref","ranges":[{"startOffset":64060,"endOffset":64159,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":64301,"endOffset":64970,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":65009,"endOffset":65250,"count":0}],"isBlockCoverage":false},{"functionName":"get BlockList","ranges":[{"startOffset":65379,"endOffset":65481,"count":0}],"isBlockCoverage":false},{"functionName":"get SocketAddress","ranges":[{"startOffset":65485,"endOffset":65607,"count":0}],"isBlockCoverage":false}]},{"scriptId":"249","url":"node:internal/stream_base_commons","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7041,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1010,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"handleWriteReq","ranges":[{"startOffset":1154,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"onWriteComplete","ranges":[{"startOffset":2011,"endOffset":2696,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteWrap","ranges":[{"startOffset":2698,"endOffset":2936,"count":0}],"isBlockCoverage":false},{"functionName":"writevGeneric","ranges":[{"startOffset":2938,"endOffset":3577,"count":0}],"isBlockCoverage":false},{"functionName":"writeGeneric","ranges":[{"startOffset":3579,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteDispatched","ranges":[{"startOffset":3786,"endOffset":4089,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamRead","ranges":[{"startOffset":4091,"endOffset":6022,"count":0}],"isBlockCoverage":false},{"functionName":"setStreamTimeout","ranges":[{"startOffset":6024,"endOffset":6834,"count":0}],"isBlockCoverage":false}]},{"scriptId":"250","url":"node:internal/perf/observe","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16742,"count":1}],"isBlockCoverage":false},{"functionName":"queuePending","ranges":[{"startOffset":2620,"endOffset":2881,"count":0}],"isBlockCoverage":false},{"functionName":"getObserverType","ranges":[{"startOffset":2883,"endOffset":3223,"count":0}],"isBlockCoverage":false},{"functionName":"maybeDecrementObserverCounts","ranges":[{"startOffset":3225,"endOffset":3646,"count":0}],"isBlockCoverage":false},{"functionName":"maybeIncrementObserverCount","ranges":[{"startOffset":3648,"endOffset":3990,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceObserverEntryList","ranges":[{"startOffset":4031,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"getEntries","ranges":[{"startOffset":4095,"endOffset":4234,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByType","ranges":[{"startOffset":4238,"endOffset":4542,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByName","ranges":[{"startOffset":4546,"endOffset":5039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5043,"endOffset":5291,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceObserverEntryList","ranges":[{"startOffset":5643,"endOffset":5933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5935,"endOffset":9507,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":9989,"endOffset":10191,"count":0}],"isBlockCoverage":false},{"functionName":"bufferUserTiming","ranges":[{"startOffset":10252,"endOffset":11278,"count":0}],"isBlockCoverage":false},{"functionName":"bufferResourceTiming","ranges":[{"startOffset":11566,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"setResourceTimingBufferSize","ranges":[{"startOffset":12918,"endOffset":13190,"count":0}],"isBlockCoverage":false},{"functionName":"setDispatchBufferFull","ranges":[{"startOffset":13192,"endOffset":13257,"count":0}],"isBlockCoverage":false},{"functionName":"clearEntriesFromBuffer","ranges":[{"startOffset":13259,"endOffset":13859,"count":0}],"isBlockCoverage":false},{"functionName":"filterBufferMapByNameAndType","ranges":[{"startOffset":13861,"endOffset":14749,"count":0}],"isBlockCoverage":false},{"functionName":"observerCallback","ranges":[{"startOffset":14751,"endOffset":15867,"count":0}],"isBlockCoverage":false},{"functionName":"hasObserver","ranges":[{"startOffset":15904,"endOffset":16023,"count":0}],"isBlockCoverage":false},{"functionName":"startPerf","ranges":[{"startOffset":16026,"endOffset":16136,"count":0}],"isBlockCoverage":false},{"functionName":"stopPerf","ranges":[{"startOffset":16138,"endOffset":16453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"251","url":"node:internal/perf/performance_entry","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3333,"count":1}],"isBlockCoverage":false},{"functionName":"isPerformanceEntry","ranges":[{"startOffset":675,"endOffset":748,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceEntry","ranges":[{"startOffset":777,"endOffset":914,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":918,"endOffset":1018,"count":0}],"isBlockCoverage":false},{"functionName":"get entryType","ranges":[{"startOffset":1022,"endOffset":1137,"count":0}],"isBlockCoverage":false},{"functionName":"get startTime","ranges":[{"startOffset":1141,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"get duration","ranges":[{"startOffset":1260,"endOffset":1372,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1376,"endOffset":1620,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":1624,"endOffset":1846,"count":0}],"isBlockCoverage":false},{"functionName":"initPerformanceEntry","ranges":[{"startOffset":2068,"endOffset":2248,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceEntry","ranges":[{"startOffset":2250,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":2559,"endOffset":2669,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":2673,"endOffset":2924,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceNodeEntry","ranges":[{"startOffset":2928,"endOffset":3163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"252","url":"node:internal/tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6485,"count":1}],"isBlockCoverage":false},{"functionName":"warnOnDeactivatedColors","ranges":[{"startOffset":2549,"endOffset":3002,"count":0}],"isBlockCoverage":false},{"functionName":"getColorDepth","ranges":[{"startOffset":3160,"endOffset":6156,"count":0}],"isBlockCoverage":false},{"functionName":"hasColors","ranges":[{"startOffset":6158,"endOffset":6431,"count":0}],"isBlockCoverage":false}]},{"scriptId":"253","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":997,"count":1}],"isBlockCoverage":true},{"functionName":"stringReplaceAll","ranges":[{"startOffset":78,"endOffset":552,"count":0}],"isBlockCoverage":false},{"functionName":"stringEncaseCRLFWithFirstIndex","ranges":[{"startOffset":561,"endOffset":996,"count":0}],"isBlockCoverage":false}]},{"scriptId":"254","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6025,"count":1}],"isBlockCoverage":true},{"functionName":"assertPatternsInput","ranges":[{"startOffset":367,"endOffset":522,"count":0}],"isBlockCoverage":false},{"functionName":"toPatternsArray","ranges":[{"startOffset":549,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"checkCwdOption","ranges":[{"startOffset":685,"endOffset":912,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":940,"endOffset":1200,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArguments","ranges":[{"startOffset":1230,"endOffset":1321,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1236,"endOffset":1321,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgumentsSync","ranges":[{"startOffset":1354,"endOffset":1439,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1360,"endOffset":1439,"count":0}],"isBlockCoverage":false},{"functionName":"getIgnoreFilesPatterns","ranges":[{"startOffset":1473,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":1701,"endOffset":1913,"count":0}],"isBlockCoverage":false},{"functionName":"getFilterSync","ranges":[{"startOffset":1938,"endOffset":2142,"count":0}],"isBlockCoverage":false},{"functionName":"createFilterFunction","ranges":[{"startOffset":2174,"endOffset":2469,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobResults","ranges":[{"startOffset":2501,"endOffset":2585,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobStreams","ranges":[{"startOffset":2616,"endOffset":2717,"count":0}],"isBlockCoverage":false},{"functionName":"convertNegativePatterns","ranges":[{"startOffset":2752,"endOffset":3364,"count":0}],"isBlockCoverage":false},{"functionName":"getDirGlobOptions","ranges":[{"startOffset":3393,"endOffset":3499,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":3524,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasksSync","ranges":[{"startOffset":4171,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4758,"endOffset":5048,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5101,"endOffset":5348,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5403,"endOffset":5652,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5713,"endOffset":5805,"count":0}],"isBlockCoverage":false}]},{"scriptId":"255","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/maps.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"256","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":465,"count":1}],"isBlockCoverage":true},{"functionName":"escapeStringRegexp","ranges":[{"startOffset":15,"endOffset":464,"count":3},{"startOffset":86,"endOffset":134,"count":0}],"isBlockCoverage":true}]},{"scriptId":"257","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/indent-string/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":820,"count":1}],"isBlockCoverage":true},{"functionName":"indentString","ranges":[{"startOffset":15,"endOffset":819,"count":0}],"isBlockCoverage":false}]},{"scriptId":"258","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mem/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3063,"count":1}],"isBlockCoverage":true},{"functionName":"mem","ranges":[{"startOffset":651,"endOffset":1491,"count":2},{"startOffset":753,"endOffset":790,"count":0}],"isBlockCoverage":true},{"functionName":"memoized","ranges":[{"startOffset":812,"endOffset":1357,"count":3},{"startOffset":868,"endOffset":890,"count":1},{"startOffset":891,"endOffset":906,"count":2},{"startOffset":973,"endOffset":1078,"count":1},{"startOffset":1078,"endOffset":1208,"count":2},{"startOffset":1208,"endOffset":1229,"count":0},{"startOffset":1230,"endOffset":1256,"count":2}],"isBlockCoverage":true},{"functionName":"memDecorator","ranges":[{"startOffset":1911,"endOffset":2668,"count":0}],"isBlockCoverage":false},{"functionName":"memClear","ranges":[{"startOffset":2761,"endOffset":3062,"count":0}],"isBlockCoverage":false}]},{"scriptId":"259","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12,"count":1}],"isBlockCoverage":true}]},{"scriptId":"260","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-promise/index.mjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":151,"count":1}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":15,"endOffset":150,"count":3},{"startOffset":56,"endOffset":113,"count":1},{"startOffset":84,"endOffset":112,"count":0},{"startOffset":114,"endOffset":147,"count":1}],"isBlockCoverage":true}]},{"scriptId":"261","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/plur/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":963,"count":1}],"isBlockCoverage":true},{"functionName":"plur","ranges":[{"startOffset":66,"endOffset":962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"262","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/like-selector.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1333,"count":1}],"isBlockCoverage":true},{"functionName":"isPrimitive","ranges":[{"startOffset":20,"endOffset":72,"count":0}],"isBlockCoverage":false},{"functionName":"isLikeSelector","ranges":[{"startOffset":82,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"selectComparable","ranges":[{"startOffset":609,"endOffset":1332,"count":0}],"isBlockCoverage":false}]},{"scriptId":"263","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5267,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5200,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2913,"endOffset":3409,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3462,"endOffset":3983,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4040,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4149,"endOffset":4906,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4960,"endOffset":5041,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5095,"endOffset":5148,"count":0}],"isBlockCoverage":false}]},{"scriptId":"264","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/strip-ansi/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":468,"count":1}],"isBlockCoverage":true},{"functionName":"stripAnsi","ranges":[{"startOffset":80,"endOffset":467,"count":69},{"startOffset":142,"endOffset":220,"count":0}],"isBlockCoverage":true}]},{"scriptId":"265","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/ignore.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2797,"count":1}],"isBlockCoverage":true},{"functionName":"applyBaseToPattern","ranges":[{"startOffset":479,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"parseIgnoreFile","ranges":[{"startOffset":634,"endOffset":865,"count":0}],"isBlockCoverage":false},{"functionName":"toRelativePath","ranges":[{"startOffset":891,"endOffset":1176,"count":0}],"isBlockCoverage":false},{"functionName":"getIsIgnoredPredicate","ranges":[{"startOffset":1209,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1582,"endOffset":1782,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFiles","ranges":[{"startOffset":1823,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFilesSync","ranges":[{"startOffset":2256,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnored","ranges":[{"startOffset":2623,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnoredSync","ranges":[{"startOffset":2724,"endOffset":2795,"count":0}],"isBlockCoverage":false}]},{"scriptId":"266","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":462,"count":1}],"isBlockCoverage":true},{"functionName":"toPath","ranges":[{"startOffset":102,"endOffset":178,"count":0}],"isBlockCoverage":false},{"functionName":"FilterStream","ranges":[{"startOffset":228,"endOffset":394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":431,"endOffset":460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"267","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mimic-fn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2903,"count":1}],"isBlockCoverage":true},{"functionName":"copyProperty","ranges":[{"startOffset":21,"endOffset":887,"count":4},{"startOffset":280,"endOffset":307,"count":2},{"startOffset":309,"endOffset":577,"count":2},{"startOffset":579,"endOffset":593,"count":0},{"startOffset":593,"endOffset":790,"count":2},{"startOffset":790,"endOffset":814,"count":0},{"startOffset":816,"endOffset":830,"count":0},{"startOffset":830,"endOffset":886,"count":2}],"isBlockCoverage":true},{"functionName":"canCopyProperty","ranges":[{"startOffset":1091,"endOffset":1457,"count":2},{"startOffset":1197,"endOffset":1454,"count":0}],"isBlockCoverage":true},{"functionName":"changePrototype","ranges":[{"startOffset":1484,"endOffset":1662,"count":2},{"startOffset":1616,"endOffset":1661,"count":0}],"isBlockCoverage":true},{"functionName":"wrappedToString","ranges":[{"startOffset":1689,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"changeToString","ranges":[{"startOffset":2221,"endOffset":2603,"count":2},{"startOffset":2273,"endOffset":2277,"count":0}],"isBlockCoverage":true},{"functionName":"mimicFunction","ranges":[{"startOffset":2621,"endOffset":2902,"count":2},{"startOffset":2762,"endOffset":2825,"count":4}],"isBlockCoverage":true}]},{"scriptId":"268","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/ansi-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":350,"count":1}],"isBlockCoverage":true},{"functionName":"ansiRegex","ranges":[{"startOffset":15,"endOffset":349,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true}]},{"scriptId":"269","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/slash/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":285,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":15,"endOffset":284,"count":0}],"isBlockCoverage":false}]},{"scriptId":"270","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":250,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":62,"endOffset":248,"count":1}],"isBlockCoverage":true}]},{"scriptId":"271","url":"node:internal/vm/module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12200,"count":1}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":1662,"endOffset":4017,"count":0}],"isBlockCoverage":false},{"functionName":"get identifier","ranges":[{"startOffset":4021,"endOffset":4158,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4162,"endOffset":4295,"count":0}],"isBlockCoverage":false},{"functionName":"get namespace","ranges":[{"startOffset":4299,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"get status","ranges":[{"startOffset":4580,"endOffset":4733,"count":0}],"isBlockCoverage":false},{"functionName":"get error","ranges":[{"startOffset":4737,"endOffset":4987,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":4991,"endOffset":5396,"count":0}],"isBlockCoverage":false},{"functionName":"evaluate","ranges":[{"startOffset":5400,"endOffset":6153,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6157,"endOffset":6909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":10171,"count":0}],"isBlockCoverage":false},{"functionName":"SyntheticModule","ranges":[{"startOffset":10214,"endOffset":11307,"count":0}],"isBlockCoverage":false},{"functionName":"setExport","ranges":[{"startOffset":11311,"endOffset":11613,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamicallyWrap","ranges":[{"startOffset":11617,"endOffset":12096,"count":371}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyWrapper","ranges":[{"startOffset":11722,"endOffset":12052,"count":2},{"startOffset":11873,"endOffset":11910,"count":0},{"startOffset":11912,"endOffset":12051,"count":0}],"isBlockCoverage":true}]},{"scriptId":"272","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":82,"endOffset":745,"count":1}],"isBlockCoverage":true},{"functionName":"onUnhandledRejection","ranges":[{"startOffset":129,"endOffset":244,"count":0}],"isBlockCoverage":false},{"functionName":"onRejectionHandled","ranges":[{"startOffset":247,"endOffset":433,"count":0}],"isBlockCoverage":false},{"functionName":"currentlyUnhandled","ranges":[{"startOffset":436,"endOffset":599,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":501,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"273","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/array-find-index/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":462,"count":0}],"isBlockCoverage":false}]},{"scriptId":"274","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/now-and-timers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":501,"count":1}],"isBlockCoverage":true},{"functionName":"setCappedTimeout","ranges":[{"startOffset":313,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"275","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge2/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3241,"count":1}],"isBlockCoverage":true},{"functionName":"merge2","ranges":[{"startOffset":280,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"pauseStreams","ranges":[{"startOffset":2702,"endOffset":3240,"count":0}],"isBlockCoverage":false}]},{"scriptId":"276","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4091,"count":1},{"startOffset":3434,"endOffset":3452,"count":0}],"isBlockCoverage":true},{"functionName":"FastGlob","ranges":[{"startOffset":277,"endOffset":501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":612,"endOffset":3423,"count":1}],"isBlockCoverage":true},{"functionName":"sync","ranges":[{"startOffset":763,"endOffset":946,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":977,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":1503,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1795,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"escapePath","ranges":[{"startOffset":2060,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2217,"endOffset":2355,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2434,"endOffset":2864,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2461,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2644,"endOffset":2799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2936,"endOffset":3370,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2963,"endOffset":3100,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":3148,"endOffset":3305,"count":0}],"isBlockCoverage":false},{"functionName":"getWorks","ranges":[{"startOffset":3455,"endOffset":3751,"count":0}],"isBlockCoverage":false},{"functionName":"assertPatternsInput","ranges":[{"startOffset":3752,"endOffset":4063,"count":0}],"isBlockCoverage":false}]},{"scriptId":"277","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/managers/tasks.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5531,"count":1}],"isBlockCoverage":true},{"functionName":"generate","ranges":[{"startOffset":355,"endOffset":1133,"count":0}],"isBlockCoverage":false},{"functionName":"processPatterns","ranges":[{"startOffset":1163,"endOffset":2553,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToTasks","ranges":[{"startOffset":2825,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":4023,"endOffset":4121,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatternsAsPositive","ranges":[{"startOffset":4173,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"groupPatternsByBaseDirectory","ranges":[{"startOffset":4482,"endOffset":4868,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupsToTasks","ranges":[{"startOffset":4938,"endOffset":5147,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupToTask","ranges":[{"startOffset":5215,"endOffset":5467,"count":0}],"isBlockCoverage":false}]},{"scriptId":"278","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":596,"count":1}],"isBlockCoverage":true}]},{"scriptId":"279","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1}],"isBlockCoverage":true},{"functionName":"flatten","ranges":[{"startOffset":123,"endOffset":230,"count":0}],"isBlockCoverage":false},{"functionName":"splitWhen","ranges":[{"startOffset":258,"endOffset":576,"count":0}],"isBlockCoverage":false}]},{"scriptId":"280","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/errno.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":234,"count":1}],"isBlockCoverage":true},{"functionName":"isEnoentCodeError","ranges":[{"startOffset":113,"endOffset":186,"count":0}],"isBlockCoverage":false}]},{"scriptId":"281","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"282","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/path.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3010,"count":1},{"startOffset":2154,"endOffset":2173,"count":0},{"startOffset":2552,"endOffset":2581,"count":0}],"isBlockCoverage":true},{"functionName":"unixify","ranges":[{"startOffset":1352,"endOffset":1423,"count":0}],"isBlockCoverage":false},{"functionName":"makeAbsolute","ranges":[{"startOffset":1451,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"removeLeadingDotSegment","ranges":[{"startOffset":1569,"endOffset":2057,"count":0}],"isBlockCoverage":false},{"functionName":"escapeWindowsPath","ranges":[{"startOffset":2193,"endOffset":2303,"count":0}],"isBlockCoverage":false},{"functionName":"escapePosixPath","ranges":[{"startOffset":2351,"endOffset":2457,"count":0}],"isBlockCoverage":false},{"functionName":"convertWindowsPathToPattern","ranges":[{"startOffset":2611,"endOffset":2792,"count":0}],"isBlockCoverage":false},{"functionName":"convertPosixPathToPattern","ranges":[{"startOffset":2860,"endOffset":2946,"count":0}],"isBlockCoverage":false}]},{"scriptId":"283","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/pattern.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7965,"count":1}],"isBlockCoverage":true},{"functionName":"isStaticPattern","ranges":[{"startOffset":1465,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1608,"endOffset":2666,"count":0}],"isBlockCoverage":false},{"functionName":"hasBraceExpansion","ranges":[{"startOffset":2712,"endOffset":3145,"count":0}],"isBlockCoverage":false},{"functionName":"convertToPositivePattern","ranges":[{"startOffset":3146,"endOffset":3260,"count":0}],"isBlockCoverage":false},{"functionName":"convertToNegativePattern","ranges":[{"startOffset":3322,"endOffset":3394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":3456,"endOffset":3553,"count":0}],"isBlockCoverage":false},{"functionName":"isPositivePattern","ranges":[{"startOffset":3601,"endOffset":3680,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatterns","ranges":[{"startOffset":3728,"endOffset":3817,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":3869,"endOffset":3958,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsInsideCurrentDirectory","ranges":[{"startOffset":4205,"endOffset":4347,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsOutsideCurrentDirectory","ranges":[{"startOffset":4631,"endOffset":4751,"count":0}],"isBlockCoverage":false},{"functionName":"isPatternRelatedToParentDirectory","ranges":[{"startOffset":4833,"endOffset":4955,"count":0}],"isBlockCoverage":false},{"functionName":"getBaseDirectory","ranges":[{"startOffset":5035,"endOffset":5133,"count":0}],"isBlockCoverage":false},{"functionName":"hasGlobStar","ranges":[{"startOffset":5179,"endOffset":5251,"count":0}],"isBlockCoverage":false},{"functionName":"endsWithSlashGlobStar","ranges":[{"startOffset":5287,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"isAffectDepthOfReadingPattern","ranges":[{"startOffset":5431,"endOffset":5599,"count":0}],"isBlockCoverage":false},{"functionName":"expandPatternsWithBraceExpansion","ranges":[{"startOffset":5671,"endOffset":5857,"count":0}],"isBlockCoverage":false},{"functionName":"expandBraceExpansion","ranges":[{"startOffset":5935,"endOffset":6463,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternParts","ranges":[{"startOffset":6517,"endOffset":7150,"count":0}],"isBlockCoverage":false},{"functionName":"makeRe","ranges":[{"startOffset":7194,"endOffset":7279,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToRe","ranges":[{"startOffset":7305,"endOffset":7420,"count":0}],"isBlockCoverage":false},{"functionName":"matchAny","ranges":[{"startOffset":7472,"endOffset":7578,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateSlashes","ranges":[{"startOffset":7813,"endOffset":7907,"count":0}],"isBlockCoverage":false}]},{"scriptId":"284","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/glob-parent/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1120,"count":1}],"isBlockCoverage":true},{"functionName":"globParent","ranges":[{"startOffset":461,"endOffset":1118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"285","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3628,"count":1}],"isBlockCoverage":true},{"functionName":"strictCheck","ranges":[{"startOffset":247,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"relaxedCheck","ranges":[{"startOffset":2767,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"isGlob","ranges":[{"startOffset":3324,"endOffset":3626,"count":0}],"isBlockCoverage":false}]},{"scriptId":"286","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-extglob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"isExtglob","ranges":[{"startOffset":168,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"287","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/micromatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13741,"count":1}],"isBlockCoverage":true},{"functionName":"isEmptyString","ranges":[{"startOffset":187,"endOffset":220,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch","ranges":[{"startOffset":784,"endOffset":2129,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matcher","ranges":[{"startOffset":2781,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.isMatch","ranges":[{"startOffset":3440,"endOffset":3501,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.not","ranges":[{"startOffset":4203,"endOffset":4640,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.contains","ranges":[{"startOffset":5367,"endOffset":5928,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matchKeys","ranges":[{"startOffset":6706,"endOffset":6980,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.some","ranges":[{"startOffset":7765,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.every","ranges":[{"startOffset":8890,"endOffset":9146,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.all","ranges":[{"startOffset":9947,"endOffset":10155,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.capture","ranges":[{"startOffset":10869,"endOffset":11165,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.makeRe","ranges":[{"startOffset":11617,"endOffset":11655,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.scan","ranges":[{"startOffset":12004,"endOffset":12040,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.parse","ranges":[{"startOffset":12432,"endOffset":12652,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braces","ranges":[{"startOffset":13219,"endOffset":13456,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braceExpand","ranges":[{"startOffset":13510,"endOffset":13679,"count":0}],"isBlockCoverage":false}]},{"scriptId":"288","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4375,"count":1}],"isBlockCoverage":true},{"functionName":"braces","ranges":[{"startOffset":543,"endOffset":1030,"count":0}],"isBlockCoverage":false},{"functionName":"braces.parse","ranges":[{"startOffset":1359,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"braces.stringify","ranges":[{"startOffset":1795,"endOffset":1959,"count":0}],"isBlockCoverage":false},{"functionName":"braces.compile","ranges":[{"startOffset":2407,"endOffset":2550,"count":0}],"isBlockCoverage":false},{"functionName":"braces.expand","ranges":[{"startOffset":3141,"endOffset":3541,"count":0}],"isBlockCoverage":false},{"functionName":"braces.create","ranges":[{"startOffset":4118,"endOffset":4319,"count":0}],"isBlockCoverage":false}]},{"scriptId":"289","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/stringify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":700,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":67,"endOffset":697,"count":0}],"isBlockCoverage":false}]},{"scriptId":"290","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2451,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isInteger","ranges":[{"startOffset":35,"endOffset":232,"count":0}],"isBlockCoverage":false},{"functionName":"exports.find","ranges":[{"startOffset":292,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"exports.exceedsLimit","ranges":[{"startOffset":419,"endOffset":626,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeNode","ranges":[{"startOffset":712,"endOffset":985,"count":0}],"isBlockCoverage":false},{"functionName":"exports.encloseBrace","ranges":[{"startOffset":1097,"endOffset":1266,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isInvalidBrace","ranges":[{"startOffset":1347,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isOpenOrClose","ranges":[{"startOffset":1767,"endOffset":1906,"count":0}],"isBlockCoverage":false},{"functionName":"exports.reduce","ranges":[{"startOffset":1969,"endOffset":2127,"count":0}],"isBlockCoverage":false},{"functionName":"exports.flatten","ranges":[{"startOffset":2177,"endOffset":2449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"291","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/compile.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1415,"count":1}],"isBlockCoverage":true},{"functionName":"compile","ranges":[{"startOffset":102,"endOffset":1386,"count":0}],"isBlockCoverage":false}]},{"scriptId":"292","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fill-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6315,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":265,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"transform","ranges":[{"startOffset":355,"endOffset":439,"count":0}],"isBlockCoverage":false},{"functionName":"isValidValue","ranges":[{"startOffset":463,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":578,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"zeros","ranges":[{"startOffset":624,"endOffset":817,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":838,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":1001,"endOffset":1295,"count":0}],"isBlockCoverage":false},{"functionName":"toMaxLen","ranges":[{"startOffset":1315,"endOffset":1552,"count":0}],"isBlockCoverage":false},{"functionName":"toSequence","ranges":[{"startOffset":1574,"endOffset":2208,"count":0}],"isBlockCoverage":false},{"functionName":"toRange","ranges":[{"startOffset":2227,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"toRegex","ranges":[{"startOffset":2499,"endOffset":2758,"count":0}],"isBlockCoverage":false},{"functionName":"rangeError","ranges":[{"startOffset":2780,"endOffset":2874,"count":0}],"isBlockCoverage":false},{"functionName":"invalidRange","ranges":[{"startOffset":2898,"endOffset":3008,"count":0}],"isBlockCoverage":false},{"functionName":"invalidStep","ranges":[{"startOffset":3031,"endOffset":3176,"count":0}],"isBlockCoverage":false},{"functionName":"fillNumbers","ranges":[{"startOffset":3199,"endOffset":4682,"count":0}],"isBlockCoverage":false},{"functionName":"fillLetters","ranges":[{"startOffset":4705,"endOffset":5486,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":5502,"endOffset":6289,"count":0}],"isBlockCoverage":false}]},{"scriptId":"293","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/to-regex-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6481,"count":1}],"isBlockCoverage":true},{"functionName":"toRegexRange","ranges":[{"startOffset":235,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"collatePatterns","ranges":[{"startOffset":2180,"endOffset":2554,"count":0}],"isBlockCoverage":false},{"functionName":"splitToRanges","ranges":[{"startOffset":2556,"endOffset":3037,"count":0}],"isBlockCoverage":false},{"functionName":"rangeToPattern","ranges":[{"startOffset":3159,"endOffset":3832,"count":0}],"isBlockCoverage":false},{"functionName":"splitToPatterns","ranges":[{"startOffset":3834,"endOffset":4632,"count":0}],"isBlockCoverage":false},{"functionName":"filterPatterns","ranges":[{"startOffset":4634,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"zip","ranges":[{"startOffset":5120,"endOffset":5233,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":5235,"endOffset":5298,"count":0}],"isBlockCoverage":false},{"functionName":"contains","ranges":[{"startOffset":5300,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"countNines","ranges":[{"startOffset":5382,"endOffset":5478,"count":0}],"isBlockCoverage":false},{"functionName":"countZeros","ranges":[{"startOffset":5480,"endOffset":5571,"count":0}],"isBlockCoverage":false},{"functionName":"toQuantifier","ranges":[{"startOffset":5573,"endOffset":5741,"count":0}],"isBlockCoverage":false},{"functionName":"toCharacterClass","ranges":[{"startOffset":5743,"endOffset":5837,"count":0}],"isBlockCoverage":false},{"functionName":"hasPadding","ranges":[{"startOffset":5839,"endOffset":5899,"count":0}],"isBlockCoverage":false},{"functionName":"padZeros","ranges":[{"startOffset":5901,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"toRegexRange.clearCache","ranges":[{"startOffset":6382,"endOffset":6413,"count":0}],"isBlockCoverage":false}]},{"scriptId":"294","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-number/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":411,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":184,"endOffset":409,"count":0}],"isBlockCoverage":false}]},{"scriptId":"295","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/expand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2780,"count":1}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":143,"endOffset":810,"count":0}],"isBlockCoverage":false},{"functionName":"expand","ranges":[{"startOffset":828,"endOffset":2752,"count":0}],"isBlockCoverage":false}]},{"scriptId":"296","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6913,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":576,"endOffset":6886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"297","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"298","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":60,"count":1}],"isBlockCoverage":true}]},{"scriptId":"299","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/picomatch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9956,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":204,"endOffset":264,"count":18},{"startOffset":242,"endOffset":264,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch","ranges":[{"startOffset":1018,"endOffset":2836,"count":19},{"startOffset":1087,"endOffset":1365,"count":1},{"startOffset":1365,"endOffset":1400,"count":18},{"startOffset":1400,"endOffset":1414,"count":0},{"startOffset":1415,"endOffset":1428,"count":0},{"startOffset":1449,"endOffset":1490,"count":18},{"startOffset":1478,"endOffset":1489,"count":0},{"startOffset":1492,"endOffset":1567,"count":0},{"startOffset":1567,"endOffset":1597,"count":18},{"startOffset":1669,"endOffset":1705,"count":0},{"startOffset":1710,"endOffset":1756,"count":18},{"startOffset":1861,"endOffset":2015,"count":0},{"startOffset":2015,"endOffset":2783,"count":18},{"startOffset":2783,"endOffset":2815,"count":0},{"startOffset":2815,"endOffset":2835,"count":18}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1114,"endOffset":1161,"count":18}],"isBlockCoverage":true},{"functionName":"arrayMatcher","ranges":[{"startOffset":1189,"endOffset":1335,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnored","ranges":[{"startOffset":1829,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2035,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.test","ranges":[{"startOffset":3384,"endOffset":4185,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.matchBase","ranges":[{"startOffset":4600,"endOffset":4787,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.isMatch","ranges":[{"startOffset":5423,"endOffset":5484,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.parse","ranges":[{"startOffset":5894,"endOffset":6062,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.scan","ranges":[{"startOffset":6697,"endOffset":6737,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.compileRe","ranges":[{"startOffset":7228,"endOffset":7738,"count":18},{"startOffset":7322,"endOffset":7352,"count":0},{"startOffset":7377,"endOffset":7382,"count":0},{"startOffset":7416,"endOffset":7420,"count":0},{"startOffset":7459,"endOffset":7463,"count":0},{"startOffset":7568,"endOffset":7607,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch.makeRe","ranges":[{"startOffset":8611,"endOffset":9117,"count":18},{"startOffset":8724,"endOffset":8785,"count":0},{"startOffset":8895,"endOffset":8914,"count":8},{"startOffset":8917,"endOffset":8975,"count":12}],"isBlockCoverage":true},{"functionName":"picomatch.toRegex","ranges":[{"startOffset":9579,"endOffset":9807,"count":18},{"startOffset":9635,"endOffset":9640,"count":0},{"startOffset":9699,"endOffset":9704,"count":0},{"startOffset":9717,"endOffset":9805,"count":0}],"isBlockCoverage":true}]},{"scriptId":"300","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/scan.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9189,"count":1}],"isBlockCoverage":true},{"functionName":"isPathSeparator","ranges":[{"startOffset":665,"endOffset":746,"count":0}],"isBlockCoverage":false},{"functionName":"depth","ranges":[{"startOffset":763,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"scan","ranges":[{"startOffset":1512,"endOffset":9163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"301","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1885,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isObject","ranges":[{"startOffset":242,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"exports.hasRegexChars","ranges":[{"startOffset":337,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isRegexChar","ranges":[{"startOffset":397,"endOffset":450,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeRegex","ranges":[{"startOffset":474,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"exports.toPosixSlashes","ranges":[{"startOffset":555,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removeBackslashes","ranges":[{"startOffset":626,"endOffset":738,"count":0}],"isBlockCoverage":false},{"functionName":"exports.supportsLookbehinds","ranges":[{"startOffset":771,"endOffset":960,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isWindows","ranges":[{"startOffset":983,"endOffset":1132,"count":48},{"startOffset":1010,"endOffset":1049,"count":30},{"startOffset":1051,"endOffset":1084,"count":0}],"isBlockCoverage":true},{"functionName":"exports.escapeLast","ranges":[{"startOffset":1156,"endOffset":1401,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removePrefix","ranges":[{"startOffset":1427,"endOffset":1584,"count":30},{"startOffset":1505,"endOffset":1565,"count":0}],"isBlockCoverage":true},{"functionName":"exports.wrapOutput","ranges":[{"startOffset":1608,"endOffset":1883,"count":8},{"startOffset":1682,"endOffset":1686,"count":0},{"startOffset":1728,"endOffset":1732,"count":0},{"startOffset":1821,"endOffset":1864,"count":0}],"isBlockCoverage":true}]},{"scriptId":"302","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4448,"count":1}],"isBlockCoverage":true},{"functionName":"extglobChars","ranges":[{"startOffset":3985,"endOffset":4324,"count":18}],"isBlockCoverage":true},{"functionName":"globChars","ranges":[{"startOffset":4365,"endOffset":4444,"count":30},{"startOffset":4410,"endOffset":4425,"count":0}],"isBlockCoverage":true}]},{"scriptId":"303","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27763,"count":1}],"isBlockCoverage":true},{"functionName":"expandRange","ranges":[{"startOffset":287,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"syntaxError","ranges":[{"startOffset":713,"endOffset":819,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":950,"endOffset":25216,"count":18},{"startOffset":1005,"endOffset":1056,"count":0},{"startOffset":1179,"endOffset":1217,"count":0},{"startOffset":1276,"endOffset":1372,"count":0},{"startOffset":1500,"endOffset":1504,"count":0},{"startOffset":2109,"endOffset":2113,"count":0},{"startOffset":2154,"endOffset":2161,"count":0},{"startOffset":2210,"endOffset":2226,"count":0},{"startOffset":2256,"endOffset":2285,"count":0},{"startOffset":2357,"endOffset":2395,"count":0},{"startOffset":6907,"endOffset":8130,"count":8},{"startOffset":7704,"endOffset":7937,"count":0},{"startOffset":7964,"endOffset":7989,"count":3},{"startOffset":7991,"endOffset":8046,"count":0},{"startOffset":8130,"endOffset":8211,"count":10},{"startOffset":8211,"endOffset":24093,"count":55},{"startOffset":8265,"endOffset":8288,"count":0},{"startOffset":8357,"endOffset":9173,"count":0},{"startOffset":9319,"endOffset":9382,"count":0},{"startOffset":9384,"endOffset":10516,"count":0},{"startOffset":10659,"endOffset":10675,"count":0},{"startOffset":10677,"endOffset":10792,"count":0},{"startOffset":10855,"endOffset":11012,"count":0},{"startOffset":11073,"endOffset":11161,"count":0},{"startOffset":11186,"endOffset":11621,"count":0},{"startOffset":11686,"endOffset":12045,"count":0},{"startOffset":12070,"endOffset":13525,"count":0},{"startOffset":13580,"endOffset":13604,"count":0},{"startOffset":13606,"endOffset":13873,"count":0},{"startOffset":13898,"endOffset":15028,"count":0},{"startOffset":15083,"endOffset":15236,"count":0},{"startOffset":15292,"endOffset":15553,"count":0},{"startOffset":15610,"endOffset":16220,"count":9},{"startOffset":15901,"endOffset":15935,"count":0},{"startOffset":15937,"endOffset":16136,"count":0},{"startOffset":16220,"endOffset":16274,"count":46},{"startOffset":16274,"endOffset":16840,"count":5},{"startOffset":16303,"endOffset":16325,"count":0},{"startOffset":16327,"endOffset":16576,"count":0},{"startOffset":16647,"endOffset":16671,"count":0},{"startOffset":16673,"endOffset":16760,"count":0},{"startOffset":16840,"endOffset":16904,"count":41},{"startOffset":16904,"endOffset":17841,"count":0},{"startOffset":17841,"endOffset":17902,"count":41},{"startOffset":17902,"endOffset":18202,"count":0},{"startOffset":18202,"endOffset":18256,"count":41},{"startOffset":18256,"endOffset":18806,"count":0},{"startOffset":18806,"endOffset":18866,"count":41},{"startOffset":18866,"endOffset":19091,"count":0},{"startOffset":19091,"endOffset":19151,"count":41},{"startOffset":19151,"endOffset":19452,"count":10},{"startOffset":19195,"endOffset":19234,"count":0},{"startOffset":19452,"endOffset":19548,"count":31},{"startOffset":19550,"endOffset":19757,"count":0},{"startOffset":19757,"endOffset":19842,"count":31},{"startOffset":19844,"endOffset":19901,"count":0},{"startOffset":19901,"endOffset":19933,"count":31},{"startOffset":19933,"endOffset":23132,"count":11},{"startOffset":19971,"endOffset":20022,"count":0},{"startOffset":20133,"endOffset":20156,"count":2},{"startOffset":20189,"endOffset":20246,"count":9},{"startOffset":20278,"endOffset":20323,"count":0},{"startOffset":20325,"endOffset":20403,"count":0},{"startOffset":20444,"endOffset":20497,"count":0},{"startOffset":20539,"endOffset":20591,"count":0},{"startOffset":20612,"endOffset":20637,"count":0},{"startOffset":20638,"endOffset":20649,"count":0},{"startOffset":20650,"endOffset":20663,"count":0},{"startOffset":20665,"endOffset":20743,"count":0},{"startOffset":20820,"endOffset":20997,"count":0},{"startOffset":21030,"endOffset":21038,"count":2},{"startOffset":21040,"endOffset":21257,"count":0},{"startOffset":21292,"endOffset":21320,"count":9},{"startOffset":21321,"endOffset":21334,"count":9},{"startOffset":21335,"endOffset":21343,"count":9},{"startOffset":21345,"endOffset":21745,"count":0},{"startOffset":21780,"endOffset":21808,"count":9},{"startOffset":21809,"endOffset":21827,"count":9},{"startOffset":21829,"endOffset":22362,"count":9},{"startOffset":21877,"endOffset":21881,"count":0},{"startOffset":22362,"endOffset":22413,"count":2},{"startOffset":22415,"endOffset":22745,"count":2},{"startOffset":22745,"endOffset":23132,"count":0},{"startOffset":23132,"endOffset":23220,"count":20},{"startOffset":23220,"endOffset":23401,"count":0},{"startOffset":23401,"endOffset":23469,"count":20},{"startOffset":23470,"endOffset":23492,"count":0},{"startOffset":23494,"endOffset":23564,"count":0},{"startOffset":23564,"endOffset":23602,"count":20},{"startOffset":23602,"endOffset":23626,"count":18},{"startOffset":23627,"endOffset":23649,"count":0},{"startOffset":23651,"endOffset":24071,"count":20},{"startOffset":23684,"endOffset":23769,"count":0},{"startOffset":23798,"endOffset":23885,"count":0},{"startOffset":23989,"endOffset":24065,"count":9},{"startOffset":24071,"endOffset":24093,"count":20},{"startOffset":24093,"endOffset":24124,"count":10},{"startOffset":24124,"endOffset":24302,"count":0},{"startOffset":24302,"endOffset":24331,"count":10},{"startOffset":24331,"endOffset":24507,"count":0},{"startOffset":24507,"endOffset":24536,"count":10},{"startOffset":24536,"endOffset":24712,"count":0},{"startOffset":24712,"endOffset":24800,"count":10},{"startOffset":24773,"endOffset":24799,"count":1},{"startOffset":24802,"endOffset":24882,"count":9},{"startOffset":24882,"endOffset":24976,"count":10},{"startOffset":24976,"endOffset":25197,"count":0},{"startOffset":25197,"endOffset":25215,"count":10}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":1977,"endOffset":2081,"count":11},{"startOffset":2042,"endOffset":2054,"count":0}],"isBlockCoverage":true},{"functionName":"eos","ranges":[{"startOffset":2889,"endOffset":2918,"count":76}],"isBlockCoverage":true},{"functionName":"state.peek","ranges":[{"startOffset":2948,"endOffset":2981,"count":20}],"isBlockCoverage":true},{"functionName":"state.advance","ranges":[{"startOffset":3017,"endOffset":3049,"count":66},{"startOffset":3044,"endOffset":3049,"count":0}],"isBlockCoverage":true},{"functionName":"remaining","ranges":[{"startOffset":3071,"endOffset":3105,"count":41}],"isBlockCoverage":true},{"functionName":"consume","ranges":[{"startOffset":3125,"endOffset":3208,"count":75}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":3228,"endOffset":3339,"count":64},{"startOffset":3280,"endOffset":3294,"count":54},{"startOffset":3295,"endOffset":3308,"count":10}],"isBlockCoverage":true},{"functionName":"negate","ranges":[{"startOffset":3359,"endOffset":3635,"count":0}],"isBlockCoverage":false},{"functionName":"increment","ranges":[{"startOffset":3658,"endOffset":3712,"count":0}],"isBlockCoverage":false},{"functionName":"decrement","ranges":[{"startOffset":3735,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":4109,"endOffset":5036,"count":64},{"startOffset":4152,"endOffset":4644,"count":11},{"startOffset":4193,"endOffset":4242,"count":0},{"startOffset":4309,"endOffset":4357,"count":0},{"startOffset":4392,"endOffset":4415,"count":0},{"startOffset":4416,"endOffset":4427,"count":0},{"startOffset":4428,"endOffset":4441,"count":0},{"startOffset":4443,"endOffset":4638,"count":0},{"startOffset":4670,"endOffset":4693,"count":0},{"startOffset":4695,"endOffset":4758,"count":0},{"startOffset":4778,"endOffset":4791,"count":9},{"startOffset":4843,"endOffset":4865,"count":9},{"startOffset":4867,"endOffset":4972,"count":0}],"isBlockCoverage":true},{"functionName":"extglobOpen","ranges":[{"startOffset":5061,"endOffset":5492,"count":0}],"isBlockCoverage":false},{"functionName":"extglobClose","ranges":[{"startOffset":5518,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6999,"endOffset":7670,"count":6},{"startOffset":7066,"endOffset":7121,"count":0},{"startOffset":7148,"endOffset":7409,"count":0},{"startOffset":7436,"endOffset":7494,"count":5},{"startOffset":7494,"endOffset":7521,"count":1},{"startOffset":7521,"endOffset":7631,"count":0},{"startOffset":7631,"endOffset":7649,"count":1},{"startOffset":7649,"endOffset":7652,"count":0},{"startOffset":7653,"endOffset":7663,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7841,"endOffset":7921,"count":0}],"isBlockCoverage":false},{"functionName":"parse.fastpaths","ranges":[{"startOffset":25439,"endOffset":27736,"count":12},{"startOffset":25541,"endOffset":25579,"count":0},{"startOffset":25639,"endOffset":25735,"count":0},{"startOffset":26089,"endOffset":26098,"count":0},{"startOffset":26137,"endOffset":26152,"count":0},{"startOffset":26194,"endOffset":26198,"count":0},{"startOffset":26287,"endOffset":26294,"count":0},{"startOffset":26324,"endOffset":26353,"count":0},{"startOffset":27644,"endOffset":27674,"count":0},{"startOffset":27676,"endOffset":27716,"count":0}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":26374,"endOffset":26525,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":26545,"endOffset":27545,"count":16},{"startOffset":26579,"endOffset":26633,"count":0},{"startOffset":26641,"endOffset":26702,"count":0},{"startOffset":26710,"endOffset":26787,"count":0},{"startOffset":26795,"endOffset":26885,"count":0},{"startOffset":26893,"endOffset":26942,"count":0},{"startOffset":26950,"endOffset":27056,"count":0},{"startOffset":27064,"endOffset":27193,"count":0},{"startOffset":27201,"endOffset":27311,"count":0},{"startOffset":27400,"endOffset":27407,"count":12},{"startOffset":27407,"endOffset":27478,"count":4},{"startOffset":27478,"endOffset":27535,"count":0}],"isBlockCoverage":true}]},{"scriptId":"304","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":629,"count":1}],"isBlockCoverage":true},{"functionName":"merge","ranges":[{"startOffset":135,"endOffset":499,"count":0}],"isBlockCoverage":false},{"functionName":"propagateCloseEventToSources","ranges":[{"startOffset":523,"endOffset":628,"count":0}],"isBlockCoverage":false}]},{"scriptId":"305","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":298,"count":1}],"isBlockCoverage":true},{"functionName":"isString","ranges":[{"startOffset":122,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"isEmpty","ranges":[{"startOffset":218,"endOffset":270,"count":0}],"isBlockCoverage":false}]},{"scriptId":"306","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":814,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderAsync","ranges":[{"startOffset":217,"endOffset":327,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":332,"endOffset":587,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":592,"endOffset":778,"count":0}],"isBlockCoverage":false}]},{"scriptId":"307","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1213,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderAsync","ranges":[{"startOffset":246,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":407,"endOffset":750,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":755,"endOffset":1179,"count":0}],"isBlockCoverage":false}]},{"scriptId":"308","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"walk","ranges":[{"startOffset":378,"endOffset":710,"count":0}],"isBlockCoverage":false},{"functionName":"walkSync","ranges":[{"startOffset":732,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"walkStream","ranges":[{"startOffset":956,"endOffset":1154,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":1188,"endOffset":1389,"count":0}],"isBlockCoverage":false}]},{"scriptId":"309","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":895,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncProvider","ranges":[{"startOffset":148,"endOffset":349,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":354,"endOffset":707,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":743,"endOffset":813,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":814,"endOffset":894,"count":0}],"isBlockCoverage":false}]},{"scriptId":"310","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3157,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncReader","ranges":[{"startOffset":318,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":821,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"get isDestroyed","ranges":[{"startOffset":1050,"endOffset":1109,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":1114,"endOffset":1308,"count":0}],"isBlockCoverage":false},{"functionName":"onEntry","ranges":[{"startOffset":1313,"endOffset":1383,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":1388,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"onEnd","ranges":[{"startOffset":1465,"endOffset":1533,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":1538,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_worker","ranges":[{"startOffset":1778,"endOffset":2168,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":2173,"endOffset":2423,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":2428,"endOffset":3049,"count":0}],"isBlockCoverage":false},{"functionName":"_emitEntry","ranges":[{"startOffset":3054,"endOffset":3123,"count":0}],"isBlockCoverage":false}]},{"scriptId":"311","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1009,"count":1}],"isBlockCoverage":true},{"functionName":"scandir","ranges":[{"startOffset":311,"endOffset":603,"count":0}],"isBlockCoverage":false},{"functionName":"scandirSync","ranges":[{"startOffset":631,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":807,"endOffset":1008,"count":0}],"isBlockCoverage":false}]},{"scriptId":"312","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3686,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":346,"endOffset":598,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":620,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"makeRplTaskEntry","ranges":[{"startOffset":1625,"endOffset":2247,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":2248,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":3536,"endOffset":3606,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":3607,"endOffset":3685,"count":0}],"isBlockCoverage":false}]},{"scriptId":"313","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"stat","ranges":[{"startOffset":305,"endOffset":594,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":616,"endOffset":753,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":783,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"314","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":1000,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":1022,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":1093,"endOffset":1171,"count":0}],"isBlockCoverage":false}]},{"scriptId":"315","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":619,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"316","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":696,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":135,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":563,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"317","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":305,"endOffset":522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"318","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/run-parallel/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1034,"count":1}],"isBlockCoverage":true},{"functionName":"runParallel","ranges":[{"startOffset":167,"endOffset":1033,"count":0}],"isBlockCoverage":false}]},{"scriptId":"319","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/queue-microtask/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":402,"count":1},{"startOffset":210,"endOffset":218,"count":0},{"startOffset":283,"endOffset":401,"count":0}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":285,"endOffset":401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"320","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":990,"count":1},{"startOffset":295,"endOffset":424,"count":0},{"startOffset":794,"endOffset":837,"count":0},{"startOffset":956,"endOffset":988,"count":0}],"isBlockCoverage":true}]},{"scriptId":"321","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":143,"count":1}],"isBlockCoverage":true}]},{"scriptId":"322","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"323","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":419,"count":1}],"isBlockCoverage":true},{"functionName":"joinPathSegments","ranges":[{"startOffset":112,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"324","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1990,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":309,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":551,"endOffset":1357,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":1411,"endOffset":1962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"325","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1076,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":209,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":943,"endOffset":1045,"count":0}],"isBlockCoverage":false}]},{"scriptId":"326","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":640,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":363,"endOffset":580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"327","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fastq/queue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5617,"count":1}],"isBlockCoverage":true},{"functionName":"fastqueue","ranges":[{"startOffset":77,"endOffset":3391,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":3393,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"Task","ranges":[{"startOffset":3414,"endOffset":3917,"count":0}],"isBlockCoverage":false},{"functionName":"queueAsPromised","ranges":[{"startOffset":3919,"endOffset":5547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"328","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/reusify/reusify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"reusify","ranges":[{"startOffset":14,"endOffset":427,"count":0}],"isBlockCoverage":false}]},{"scriptId":"329","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1052,"count":1}],"isBlockCoverage":true},{"functionName":"isFatalError","ranges":[{"startOffset":199,"endOffset":350,"count":0}],"isBlockCoverage":false},{"functionName":"isAppliedFilter","ranges":[{"startOffset":388,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"replacePathSegmentSeparator","ranges":[{"startOffset":520,"endOffset":633,"count":0}],"isBlockCoverage":false},{"functionName":"joinPathSegments","ranges":[{"startOffset":701,"endOffset":1006,"count":0}],"isBlockCoverage":false}]},{"scriptId":"330","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":358,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":132,"endOffset":329,"count":0}],"isBlockCoverage":false}]},{"scriptId":"331","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1021,"count":1}],"isBlockCoverage":true},{"functionName":"StreamProvider","ranges":[{"startOffset":185,"endOffset":630,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":635,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"332","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":407,"count":1}],"isBlockCoverage":true},{"functionName":"SyncProvider","ranges":[{"startOffset":145,"endOffset":317,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":322,"endOffset":372,"count":0}],"isBlockCoverage":false}]},{"scriptId":"333","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1911,"count":1}],"isBlockCoverage":true},{"functionName":"SyncReader","ranges":[{"startOffset":249,"endOffset":407,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":412,"endOffset":549,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":554,"endOffset":637,"count":0}],"isBlockCoverage":false},{"functionName":"_handleQueue","ranges":[{"startOffset":642,"endOffset":787,"count":0}],"isBlockCoverage":false},{"functionName":"_handleDirectory","ranges":[{"startOffset":792,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":1127,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":1269,"endOffset":1809,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToStorage","ranges":[{"startOffset":1814,"endOffset":1878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"334","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1250,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":178,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":1117,"endOffset":1219,"count":0}],"isBlockCoverage":false}]},{"scriptId":"335","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1063,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":205,"endOffset":518,"count":0}],"isBlockCoverage":false},{"functionName":"_getFullEntryPath","ranges":[{"startOffset":523,"endOffset":617,"count":0}],"isBlockCoverage":false},{"functionName":"_makeEntry","ranges":[{"startOffset":622,"endOffset":913,"count":0}],"isBlockCoverage":false},{"functionName":"_isFatalError","ranges":[{"startOffset":918,"endOffset":1034,"count":0}],"isBlockCoverage":false}]},{"scriptId":"336","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1870,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderStream","ranges":[{"startOffset":289,"endOffset":419,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":424,"endOffset":502,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":513,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":1275,"endOffset":1579,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1584,"endOffset":1835,"count":0}],"isBlockCoverage":false}]},{"scriptId":"337","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/provider.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2000,"count":1}],"isBlockCoverage":true},{"functionName":"Provider","ranges":[{"startOffset":307,"endOffset":692,"count":0}],"isBlockCoverage":false},{"functionName":"_getRootDirectory","ranges":[{"startOffset":697,"endOffset":788,"count":0}],"isBlockCoverage":false},{"functionName":"_getReaderOptions","ranges":[{"startOffset":793,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"_getMicromatchOptions","ranges":[{"startOffset":1559,"endOffset":1969,"count":0}],"isBlockCoverage":false}]},{"scriptId":"338","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/deep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2466,"count":1}],"isBlockCoverage":true},{"functionName":"DeepFilter","ranges":[{"startOffset":188,"endOffset":328,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":333,"endOffset":576,"count":0}],"isBlockCoverage":false},{"functionName":"_getMatcher","ranges":[{"startOffset":581,"endOffset":699,"count":0}],"isBlockCoverage":false},{"functionName":"_getNegativePatternsRe","ranges":[{"startOffset":704,"endOffset":956,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":961,"endOffset":1444,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByDeep","ranges":[{"startOffset":1449,"endOffset":1754,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntryLevel","ranges":[{"startOffset":1759,"endOffset":2043,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedSymbolicLink","ranges":[{"startOffset":2048,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByPositivePatterns","ranges":[{"startOffset":2175,"endOffset":2306,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByNegativePatterns","ranges":[{"startOffset":2311,"endOffset":2433,"count":0}],"isBlockCoverage":false}]},{"scriptId":"339","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/partial.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1421,"count":1}],"isBlockCoverage":true},{"functionName":"match","ranges":[{"startOffset":170,"endOffset":1384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"340","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1568,"count":1}],"isBlockCoverage":true},{"functionName":"Matcher","ranges":[{"startOffset":135,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"_fillStorage","ranges":[{"startOffset":384,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"_getPatternSegments","ranges":[{"startOffset":778,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"_splitSegmentsIntoSections","ranges":[{"startOffset":1370,"endOffset":1538,"count":0}],"isBlockCoverage":false}]},{"scriptId":"341","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2686,"count":1}],"isBlockCoverage":true},{"functionName":"EntryFilter","ranges":[{"startOffset":139,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":316,"endOffset":667,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":672,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"_isDuplicateEntry","ranges":[{"startOffset":1473,"endOffset":1549,"count":0}],"isBlockCoverage":false},{"functionName":"_createIndexRecord","ranges":[{"startOffset":1554,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyFileFilter","ranges":[{"startOffset":1640,"endOffset":1737,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyDirectoryFilter","ranges":[{"startOffset":1742,"endOffset":1855,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByAbsoluteNegativePatterns","ranges":[{"startOffset":1860,"endOffset":2145,"count":0}],"isBlockCoverage":false},{"functionName":"_isMatchToPatterns","ranges":[{"startOffset":2150,"endOffset":2652,"count":0}],"isBlockCoverage":false}]},{"scriptId":"342","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"ErrorFilter","ranges":[{"startOffset":139,"endOffset":205,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":210,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"_isNonFatalError","ranges":[{"startOffset":290,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"343","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/transformers/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":845,"count":1}],"isBlockCoverage":true},{"functionName":"EntryTransformer","ranges":[{"startOffset":144,"endOffset":210,"count":0}],"isBlockCoverage":false},{"functionName":"getTransformer","ranges":[{"startOffset":215,"endOffset":289,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":294,"endOffset":806,"count":0}],"isBlockCoverage":false}]},{"scriptId":"344","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1198,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderStream","ranges":[{"startOffset":256,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":372,"endOffset":970,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":975,"endOffset":1161,"count":0}],"isBlockCoverage":false}]},{"scriptId":"345","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":779,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderSync","ranges":[{"startOffset":214,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":328,"endOffset":553,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":558,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"346","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1330,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderSync","ranges":[{"startOffset":251,"endOffset":385,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":390,"endOffset":466,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":477,"endOffset":878,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":883,"endOffset":1203,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1208,"endOffset":1297,"count":0}],"isBlockCoverage":false}]},{"scriptId":"347","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2849,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":645,"endOffset":2584,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":2589,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"_getFileSystemMethods","ranges":[{"startOffset":2680,"endOffset":2818,"count":0}],"isBlockCoverage":false}]},{"scriptId":"348","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/dir-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2304,"count":1}],"isBlockCoverage":true},{"functionName":"getExtensions","ranges":[{"startOffset":106,"endOffset":187,"count":0}],"isBlockCoverage":false},{"functionName":"getPath","ranges":[{"startOffset":206,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"addExtensions","ranges":[{"startOffset":376,"endOffset":506,"count":0}],"isBlockCoverage":false},{"functionName":"getGlob","ranges":[{"startOffset":525,"endOffset":1324,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1344,"endOffset":1852,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.sync","ranges":[{"startOffset":1877,"endOffset":2302,"count":0}],"isBlockCoverage":false}]},{"scriptId":"349","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-type/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":true},{"functionName":"isType","ranges":[{"startOffset":78,"endOffset":444,"count":0}],"isBlockCoverage":false},{"functionName":"isTypeSync","ranges":[{"startOffset":446,"endOffset":770,"count":0}],"isBlockCoverage":false}]},{"scriptId":"350","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16073,"count":1},{"startOffset":15630,"endOffset":16072,"count":0}],"isBlockCoverage":true},{"functionName":"makeArray","ranges":[{"startOffset":41,"endOffset":135,"count":0}],"isBlockCoverage":false},{"functionName":"define","ranges":[{"startOffset":813,"endOffset":882,"count":0}],"isBlockCoverage":false},{"functionName":"RETURN_FALSE","ranges":[{"startOffset":952,"endOffset":963,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeRange","ranges":[{"startOffset":1090,"endOffset":1362,"count":0}],"isBlockCoverage":false},{"functionName":"cleanRangeBackSlash","ranges":[{"startOffset":1412,"endOffset":1500,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2321,"endOffset":2383,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2438,"endOffset":2449,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3104,"endOffset":3125,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3213,"endOffset":3225,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3477,"endOffset":3486,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3577,"endOffset":3588,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4009,"endOffset":4028,"count":0}],"isBlockCoverage":false},{"functionName":"startingReplacer","ranges":[{"startOffset":4250,"endOffset":5144,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5442,"endOffset":5912,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":6273,"endOffset":6593,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6787,"endOffset":6799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6849,"endOffset":6861,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7539,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":8102,"endOffset":8250,"count":0}],"isBlockCoverage":false},{"functionName":"REPLACERS","ranges":[{"startOffset":8311,"endOffset":8645,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegex","ranges":[{"startOffset":8808,"endOffset":9130,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":9149,"endOffset":9187,"count":0}],"isBlockCoverage":false},{"functionName":"checkPattern","ranges":[{"startOffset":9294,"endOffset":9514,"count":0}],"isBlockCoverage":false},{"functionName":"splitPattern","ranges":[{"startOffset":9537,"endOffset":9582,"count":0}],"isBlockCoverage":false},{"functionName":"IgnoreRule","ranges":[{"startOffset":9605,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"createRule","ranges":[{"startOffset":9804,"endOffset":10534,"count":0}],"isBlockCoverage":false},{"functionName":"throwError","ranges":[{"startOffset":10555,"endOffset":10603,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath","ranges":[{"startOffset":10623,"endOffset":11159,"count":0}],"isBlockCoverage":false},{"functionName":"isNotRelative","ranges":[{"startOffset":11183,"endOffset":11225,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.convert","ranges":[{"startOffset":11287,"endOffset":11293,"count":0}],"isBlockCoverage":false},{"functionName":"Ignore","ranges":[{"startOffset":11312,"endOffset":11588,"count":0}],"isBlockCoverage":false},{"functionName":"_initCache","ranges":[{"startOffset":11592,"endOffset":11697,"count":0}],"isBlockCoverage":false},{"functionName":"_addPattern","ranges":[{"startOffset":11701,"endOffset":12031,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":12089,"endOffset":12416,"count":0}],"isBlockCoverage":false},{"functionName":"addPattern","ranges":[{"startOffset":12432,"endOffset":12487,"count":0}],"isBlockCoverage":false},{"functionName":"_testOne","ranges":[{"startOffset":13081,"endOffset":13588,"count":0}],"isBlockCoverage":false},{"functionName":"_test","ranges":[{"startOffset":13619,"endOffset":13965,"count":0}],"isBlockCoverage":false},{"functionName":"_t","ranges":[{"startOffset":13969,"endOffset":14755,"count":0}],"isBlockCoverage":false},{"functionName":"ignores","ranges":[{"startOffset":14759,"endOffset":14841,"count":0}],"isBlockCoverage":false},{"functionName":"createFilter","ranges":[{"startOffset":14845,"endOffset":14905,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":14909,"endOffset":14985,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":15016,"endOffset":15084,"count":0}],"isBlockCoverage":false},{"functionName":"factory","ranges":[{"startOffset":15104,"endOffset":15134,"count":0}],"isBlockCoverage":false},{"functionName":"isPathValid","ranges":[{"startOffset":15156,"endOffset":15228,"count":0}],"isBlockCoverage":false},{"functionName":"makePosix","ranges":[{"startOffset":15691,"endOffset":15798,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.isNotRelative","ranges":[{"startOffset":15990,"endOffset":16070,"count":0}],"isBlockCoverage":false}]},{"scriptId":"351","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/glob-helpers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4053,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":547,"endOffset":575,"count":9}],"isBlockCoverage":true},{"functionName":"processMatchingPatterns","ranges":[{"startOffset":724,"endOffset":1373,"count":0}],"isBlockCoverage":false},{"functionName":"matchesIgnorePatterns","ranges":[{"startOffset":1466,"endOffset":1608,"count":0}],"isBlockCoverage":false},{"functionName":"classify","ranges":[{"startOffset":1611,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"hasExtension","ranges":[{"startOffset":2008,"endOffset":2078,"count":0}],"isBlockCoverage":false},{"functionName":"isHelperish","ranges":[{"startOffset":2119,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"matches","ranges":[{"startOffset":2778,"endOffset":2887,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFileForMatching","ranges":[{"startOffset":2917,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePattern","ranges":[{"startOffset":3459,"endOffset":3856,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePatterns","ranges":[{"startOffset":3904,"endOffset":4004,"count":0}],"isBlockCoverage":false}]},{"scriptId":"352","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore-by-default/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":816,"count":1}],"isBlockCoverage":true},{"functionName":"exports.directories","ranges":[{"startOffset":36,"endOffset":815,"count":1}],"isBlockCoverage":true}]},{"scriptId":"353","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/slash.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":1199,"endOffset":1364,"count":0}],"isBlockCoverage":false}]},{"scriptId":"354","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/pkg.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":59,"count":1}],"isBlockCoverage":true}]},{"scriptId":"355","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/clean-yaml-object/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2176,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":129,"count":0}],"isBlockCoverage":false},{"functionName":"cleanYamlObj","ranges":[{"startOffset":132,"endOffset":1901,"count":0}],"isBlockCoverage":false},{"functionName":"setProp","ranges":[{"startOffset":1903,"endOffset":2131,"count":0}],"isBlockCoverage":false},{"functionName":"defaultFilter","ranges":[{"startOffset":2133,"endOffset":2175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"356","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":578,"count":1}],"isBlockCoverage":true}]},{"scriptId":"357","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3379,"count":1}],"isBlockCoverage":true},{"functionName":"shortcircuitPrimitive","ranges":[{"startOffset":408,"endOffset":728,"count":4},{"startOffset":531,"endOffset":542,"count":0},{"startOffset":618,"endOffset":629,"count":0},{"startOffset":690,"endOffset":710,"count":0}],"isBlockCoverage":true},{"functionName":"compareDescriptors","ranges":[{"startOffset":730,"endOffset":2814,"count":2},{"startOffset":916,"endOffset":2775,"count":19},{"startOffset":963,"endOffset":1070,"count":0},{"startOffset":1102,"endOffset":1132,"count":0},{"startOffset":1207,"endOffset":1219,"count":0},{"startOffset":1251,"endOffset":2308,"count":4},{"startOffset":1301,"endOffset":1313,"count":0},{"startOffset":1346,"endOffset":1372,"count":0},{"startOffset":1374,"endOffset":2089,"count":0},{"startOffset":2336,"endOffset":2771,"count":21},{"startOffset":2445,"endOffset":2460,"count":17},{"startOffset":2462,"endOffset":2485,"count":17},{"startOffset":2485,"endOffset":2525,"count":4},{"startOffset":2527,"endOffset":2729,"count":4},{"startOffset":2729,"endOffset":2765,"count":0}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":2864,"endOffset":3352,"count":2},{"startOffset":2946,"endOffset":2967,"count":0},{"startOffset":3161,"endOffset":3183,"count":0}],"isBlockCoverage":true}]},{"scriptId":"358","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Circular.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":785,"count":1}],"isBlockCoverage":true},{"functionName":"Circular","ranges":[{"startOffset":33,"endOffset":80,"count":4}],"isBlockCoverage":true},{"functionName":"add","ranges":[{"startOffset":84,"endOffset":361,"count":8},{"startOffset":139,"endOffset":174,"count":0},{"startOffset":211,"endOffset":244,"count":6},{"startOffset":245,"endOffset":278,"count":6},{"startOffset":280,"endOffset":341,"count":6}],"isBlockCoverage":true},{"functionName":"delete","ranges":[{"startOffset":365,"endOffset":583,"count":8},{"startOffset":423,"endOffset":563,"count":6},{"startOffset":483,"endOffset":521,"count":0}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":587,"endOffset":647,"count":38}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":651,"endOffset":756,"count":0}],"isBlockCoverage":false}]},{"scriptId":"359","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":249,"count":1}],"isBlockCoverage":true}]},{"scriptId":"360","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/describe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5965,"count":1}],"isBlockCoverage":true},{"functionName":"describePrimitive","ranges":[{"startOffset":2448,"endOffset":2957,"count":54},{"startOffset":2507,"endOffset":2534,"count":0},{"startOffset":2562,"endOffset":2594,"count":0},{"startOffset":2636,"endOffset":2671,"count":0},{"startOffset":2726,"endOffset":2760,"count":0},{"startOffset":2786,"endOffset":2820,"count":10},{"startOffset":2820,"endOffset":2846,"count":44},{"startOffset":2846,"endOffset":2880,"count":38},{"startOffset":2880,"endOffset":2906,"count":6},{"startOffset":2906,"endOffset":2940,"count":0},{"startOffset":2940,"endOffset":2956,"count":6}],"isBlockCoverage":true},{"functionName":"unboxComplex","ranges":[{"startOffset":2959,"endOffset":3324,"count":6},{"startOffset":3272,"endOffset":3303,"count":0}],"isBlockCoverage":true},{"functionName":"registerPlugins","ranges":[{"startOffset":3326,"endOffset":3726,"count":4},{"startOffset":3393,"endOffset":3416,"count":0},{"startOffset":3435,"endOffset":3725,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3425,"endOffset":3435,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3508,"endOffset":3724,"count":0}],"isBlockCoverage":false},{"functionName":"describeComplex","ranges":[{"startOffset":3728,"endOffset":4699,"count":6},{"startOffset":3875,"endOffset":3901,"count":0},{"startOffset":4173,"endOffset":4238,"count":0},{"startOffset":4321,"endOffset":4374,"count":0}],"isBlockCoverage":true},{"functionName":"describeItem","ranges":[{"startOffset":4722,"endOffset":4923,"count":2},{"startOffset":4802,"endOffset":4860,"count":0}],"isBlockCoverage":true},{"functionName":"describeMapEntry","ranges":[{"startOffset":4950,"endOffset":5058,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":5060,"endOffset":5938,"count":4},{"startOffset":5168,"endOffset":5184,"count":0}],"isBlockCoverage":true},{"functionName":"curriedComplex","ranges":[{"startOffset":5310,"endOffset":5435,"count":6}],"isBlockCoverage":true},{"functionName":"describeAny","ranges":[{"startOffset":5459,"endOffset":5595,"count":26},{"startOffset":5551,"endOffset":5563,"count":24},{"startOffset":5570,"endOffset":5591,"count":2}],"isBlockCoverage":true},{"functionName":"describeProperty","ranges":[{"startOffset":5624,"endOffset":5904,"count":24},{"startOffset":5832,"endOffset":5900,"count":0}],"isBlockCoverage":true}]},{"scriptId":"361","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Registry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"Registry","ranges":[{"startOffset":33,"endOffset":103,"count":4}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":107,"endOffset":155,"count":6}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":159,"endOffset":218,"count":0}],"isBlockCoverage":false},{"functionName":"alloc","ranges":[{"startOffset":222,"endOffset":374,"count":6}],"isBlockCoverage":true}]},{"scriptId":"362","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":409,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":652,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1160,"endOffset":1382,"count":0}],"isBlockCoverage":false}]},{"scriptId":"363","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7185,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":436,"endOffset":713,"count":6},{"startOffset":677,"endOffset":697,"count":4}],"isBlockCoverage":true},{"functionName":"deserialize","ranges":[{"startOffset":743,"endOffset":839,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectValue","ranges":[{"startOffset":950,"endOffset":1203,"count":6}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":1207,"endOffset":1399,"count":4},{"startOffset":1263,"endOffset":1277,"count":0},{"startOffset":1356,"endOffset":1370,"count":0}],"isBlockCoverage":true},{"functionName":"hasSameCtor","ranges":[{"startOffset":1403,"endOffset":1470,"count":4}],"isBlockCoverage":true},{"functionName":"formatShallow","ranges":[{"startOffset":1474,"endOffset":1561,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1565,"endOffset":1699,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":2001,"endOffset":6371,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2068,"endOffset":2433,"count":6}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":2439,"endOffset":2563,"count":4},{"startOffset":2511,"endOffset":2523,"count":0}],"isBlockCoverage":true},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2569,"endOffset":3030,"count":6},{"startOffset":2660,"endOffset":2679,"count":2},{"startOffset":2680,"endOffset":2683,"count":4},{"startOffset":2742,"endOffset":2776,"count":2},{"startOffset":2776,"endOffset":3029,"count":4}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":2817,"endOffset":2995,"count":28},{"startOffset":2853,"endOffset":2864,"count":4},{"startOffset":2864,"endOffset":2994,"count":24}],"isBlockCoverage":true},{"functionName":"createListRecursor","ranges":[{"startOffset":3036,"endOffset":3472,"count":6},{"startOffset":3084,"endOffset":3118,"count":4},{"startOffset":3118,"endOffset":3179,"count":2},{"startOffset":3179,"endOffset":3213,"count":0},{"startOffset":3213,"endOffset":3471,"count":2}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":3254,"endOffset":3437,"count":4},{"startOffset":3290,"endOffset":3436,"count":2}],"isBlockCoverage":true},{"functionName":"createIterableRecursor","ranges":[{"startOffset":3478,"endOffset":4494,"count":6},{"startOffset":3529,"endOffset":3548,"count":4},{"startOffset":3584,"endOffset":4493,"count":0}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":3917,"endOffset":4459,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":4500,"endOffset":6365,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4661,"endOffset":6359,"count":38},{"startOffset":4706,"endOffset":6283,"count":50},{"startOffset":4741,"endOffset":4870,"count":44},{"startOffset":4813,"endOffset":4858,"count":18},{"startOffset":4907,"endOffset":4967,"count":24},{"startOffset":4925,"endOffset":4945,"count":18},{"startOffset":4946,"endOffset":4966,"count":12},{"startOffset":4969,"endOffset":6273,"count":18},{"startOffset":5044,"endOffset":5417,"count":6},{"startOffset":5324,"endOffset":5403,"count":2},{"startOffset":5417,"endOffset":6261,"count":12},{"startOffset":5446,"endOffset":5839,"count":6},{"startOffset":5742,"endOffset":5825,"count":4},{"startOffset":5839,"endOffset":6261,"count":6},{"startOffset":6164,"endOffset":6247,"count":0},{"startOffset":6309,"endOffset":6327,"count":44}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5112,"endOffset":5143,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5518,"endOffset":5553,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5940,"endOffset":5975,"count":6}],"isBlockCoverage":true},{"functionName":"DeserializedMixin","ranges":[{"startOffset":6413,"endOffset":7138,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6483,"endOffset":6780,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":6786,"endOffset":7055,"count":0}],"isBlockCoverage":false},{"functionName":"hasSameCtor","ranges":[{"startOffset":7061,"endOffset":7132,"count":0}],"isBlockCoverage":false}]},{"scriptId":"364","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/formatUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3260,"count":1}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":60,"endOffset":146,"count":0}],"isBlockCoverage":false},{"functionName":"formatCtorAndStringTag","ranges":[{"startOffset":168,"endOffset":537,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectFormatter","ranges":[{"startOffset":621,"endOffset":840,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":844,"endOffset":1189,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":1193,"endOffset":1873,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":1877,"endOffset":2161,"count":0}],"isBlockCoverage":false},{"functionName":"shouldFormat","ranges":[{"startOffset":2165,"endOffset":2202,"count":0}],"isBlockCoverage":false},{"functionName":"customize","ranges":[{"startOffset":2206,"endOffset":2502,"count":0}],"isBlockCoverage":false},{"functionName":"SingleValueFormatter","ranges":[{"startOffset":2579,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2790,"endOffset":2961,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":2965,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":3120,"endOffset":3205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"365","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/lineBuilder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7155,"count":1}],"isBlockCoverage":true},{"functionName":"translateGutter","ranges":[{"startOffset":123,"endOffset":485,"count":0}],"isBlockCoverage":false},{"functionName":"Line","ranges":[{"startOffset":502,"endOffset":670,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":674,"endOffset":717,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":721,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":762,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":820,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":884,"endOffset":934,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":938,"endOffset":1027,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":1031,"endOffset":1202,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":1206,"endOffset":1479,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":1483,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":1634,"endOffset":1783,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":1787,"endOffset":1871,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":1875,"endOffset":1960,"count":0}],"isBlockCoverage":false},{"functionName":"Collection","ranges":[{"startOffset":2050,"endOffset":2091,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2095,"endOffset":2217,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":2221,"endOffset":2277,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":2281,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":2399,"endOffset":2526,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2530,"endOffset":2632,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":2636,"endOffset":2725,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2729,"endOffset":3536,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":3540,"endOffset":4287,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":4291,"endOffset":4423,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":4427,"endOffset":4561,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":4565,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":4675,"endOffset":5381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":5462,"endOffset":5708,"count":0}],"isBlockCoverage":false},{"functionName":"buffer","ranges":[{"startOffset":5731,"endOffset":5774,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":5779,"endOffset":5856,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":5861,"endOffset":5937,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":5942,"endOffset":6019,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6024,"endOffset":6101,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6106,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6194,"endOffset":6277,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6284,"endOffset":6366,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6373,"endOffset":6456,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6463,"endOffset":6546,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6553,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6678,"endOffset":6763,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6770,"endOffset":6854,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6861,"endOffset":6946,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6953,"endOffset":7038,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":7045,"endOffset":7146,"count":0}],"isBlockCoverage":false}]},{"scriptId":"366","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getObjectKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":964,"count":1}],"isBlockCoverage":true},{"functionName":"getObjectKeys","ranges":[{"startOffset":14,"endOffset":932,"count":6},{"startOffset":430,"endOffset":756,"count":28},{"startOffset":503,"endOffset":644,"count":4},{"startOffset":578,"endOffset":590,"count":2},{"startOffset":591,"endOffset":638,"count":2},{"startOffset":661,"endOffset":717,"count":26},{"startOffset":719,"endOffset":752,"count":24},{"startOffset":799,"endOffset":905,"count":0}],"isBlockCoverage":true}]},{"scriptId":"367","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/hasLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":303,"count":1}],"isBlockCoverage":true},{"functionName":"hasLength","ranges":[{"startOffset":104,"endOffset":275,"count":4},{"startOffset":197,"endOffset":226,"count":0},{"startOffset":227,"endOffset":268,"count":0}],"isBlockCoverage":true}]},{"scriptId":"368","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":802,"count":1}],"isBlockCoverage":true},{"functionName":"isLength","ranges":[{"startOffset":645,"endOffset":773,"count":0}],"isBlockCoverage":false}]},{"scriptId":"369","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/stats.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3836,"count":1}],"isBlockCoverage":true},{"functionName":"describeIterableRecursor","ranges":[{"startOffset":228,"endOffset":318,"count":0}],"isBlockCoverage":false},{"functionName":"describeListRecursor","ranges":[{"startOffset":380,"endOffset":462,"count":2}],"isBlockCoverage":true},{"functionName":"describePropertyRecursor","ranges":[{"startOffset":516,"endOffset":606,"count":4}],"isBlockCoverage":true},{"functionName":"deserializeIterableStats","ranges":[{"startOffset":668,"endOffset":745,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeListStats","ranges":[{"startOffset":807,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePropertyStats","ranges":[{"startOffset":930,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":1306,"endOffset":1351,"count":6}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":1355,"endOffset":1432,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1436,"endOffset":2989,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2993,"endOffset":3032,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3141,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3387,"endOffset":3513,"count":1},{"startOffset":3500,"endOffset":3509,"count":0}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":3625,"endOffset":3755,"count":2},{"startOffset":3742,"endOffset":3751,"count":0}],"isBlockCoverage":true}]},{"scriptId":"370","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/recursorUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2251,"count":1}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":51,"endOffset":74,"count":12}],"isBlockCoverage":true},{"functionName":"fork","ranges":[{"startOffset":117,"endOffset":396,"count":0}],"isBlockCoverage":false},{"functionName":"consumeDeep","ranges":[{"startOffset":418,"endOffset":732,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":768,"endOffset":910,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":930,"endOffset":1606,"count":18},{"startOffset":1046,"endOffset":1076,"count":12},{"startOffset":1076,"endOffset":1179,"count":6},{"startOffset":1216,"endOffset":1249,"count":12},{"startOffset":1249,"endOffset":1605,"count":6}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":1301,"endOffset":1546,"count":32},{"startOffset":1323,"endOffset":1334,"count":0},{"startOffset":1499,"endOffset":1524,"count":6}],"isBlockCoverage":true},{"functionName":"sequence","ranges":[{"startOffset":1632,"endOffset":1850,"count":0}],"isBlockCoverage":false},{"functionName":"singleValue","ranges":[{"startOffset":1880,"endOffset":2012,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1939,"endOffset":2010,"count":4},{"startOffset":1961,"endOffset":2009,"count":2}],"isBlockCoverage":true},{"functionName":"unshift","ranges":[{"startOffset":2048,"endOffset":2224,"count":0}],"isBlockCoverage":false}]},{"scriptId":"371","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":970,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":313,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":343,"endOffset":444,"count":0}],"isBlockCoverage":false}]},{"scriptId":"372","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/typedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4439,"count":1}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":382,"endOffset":596,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":628,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":910,"endOffset":1010,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeBytes","ranges":[{"startOffset":1046,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"Bytes","ranges":[{"startOffset":1292,"endOffset":1343,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1347,"endOffset":1482,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1486,"endOffset":2297,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2301,"endOffset":2342,"count":0}],"isBlockCoverage":false},{"functionName":"TypedArrayValue","ranges":[{"startOffset":2466,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":2543,"endOffset":2931,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":3049,"endOffset":3869,"count":3}],"isBlockCoverage":true},{"functionName":"createListRecursor","ranges":[{"startOffset":3237,"endOffset":3307,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":3313,"endOffset":3749,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":3755,"endOffset":3863,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMixin","ranges":[{"startOffset":3977,"endOffset":4320,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4073,"endOffset":4314,"count":0}],"isBlockCoverage":false}]},{"scriptId":"373","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/boxed.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1292,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":264,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedBoxedValue","ranges":[{"startOffset":634,"endOffset":709,"count":0}],"isBlockCoverage":false},{"functionName":"createListRecursor","ranges":[{"startOffset":713,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":783,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1126,"endOffset":1220,"count":0}],"isBlockCoverage":false}]},{"scriptId":"374","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11430,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":306,"endOffset":367,"count":38}],"isBlockCoverage":true},{"functionName":"basicEscape","ranges":[{"startOffset":707,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"escapeLinebreak","ranges":[{"startOffset":1015,"endOffset":1219,"count":0}],"isBlockCoverage":false},{"functionName":"themeControlPictures","ranges":[{"startOffset":1221,"endOffset":1442,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuotes","ranges":[{"startOffset":1537,"endOffset":1834,"count":0}],"isBlockCoverage":false},{"functionName":"includesLinebreaks","ranges":[{"startOffset":1836,"endOffset":1932,"count":0}],"isBlockCoverage":false},{"functionName":"diffLine","ranges":[{"startOffset":1934,"endOffset":3826,"count":0}],"isBlockCoverage":false},{"functionName":"gatherLines","ranges":[{"startOffset":3862,"endOffset":4170,"count":0}],"isBlockCoverage":false},{"functionName":"StringValue","ranges":[{"startOffset":4194,"endOffset":4242,"count":38}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":4246,"endOffset":4370,"count":19},{"startOffset":4357,"endOffset":4366,"count":0}],"isBlockCoverage":true},{"functionName":"get includesLinebreaks","ranges":[{"startOffset":4374,"endOffset":4447,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4451,"endOffset":5422,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":5426,"endOffset":5800,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5804,"endOffset":11238,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":11242,"endOffset":11282,"count":0}],"isBlockCoverage":false}]},{"scriptId":"375","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1334,"endOffset":1486,"count":1}],"isBlockCoverage":true}]},{"scriptId":"376","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/ast.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4728,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":4687,"count":1}],"isBlockCoverage":true},{"functionName":"isExpression","ranges":[{"startOffset":1370,"endOffset":2121,"count":0}],"isBlockCoverage":false},{"functionName":"isIterationStatement","ranges":[{"startOffset":2127,"endOffset":2444,"count":0}],"isBlockCoverage":false},{"functionName":"isStatement","ranges":[{"startOffset":2450,"endOffset":3262,"count":0}],"isBlockCoverage":false},{"functionName":"isSourceElement","ranges":[{"startOffset":3268,"endOffset":3393,"count":0}],"isBlockCoverage":false},{"functionName":"trailingStatement","ranges":[{"startOffset":3399,"endOffset":3843,"count":0}],"isBlockCoverage":false},{"functionName":"isProblematicIfStatement","ranges":[{"startOffset":3849,"endOffset":4384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"377","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/code.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29610,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1391,"endOffset":29569,"count":1},{"startOffset":27989,"endOffset":28199,"count":128},{"startOffset":28045,"endOffset":28058,"count":31},{"startOffset":28059,"endOffset":28107,"count":102},{"startOffset":28094,"endOffset":28107,"count":37},{"startOffset":28108,"endOffset":28143,"count":76},{"startOffset":28144,"endOffset":28158,"count":75},{"startOffset":28273,"endOffset":28531,"count":128},{"startOffset":28328,"endOffset":28341,"count":31},{"startOffset":28342,"endOffset":28390,"count":102},{"startOffset":28377,"endOffset":28390,"count":37},{"startOffset":28391,"endOffset":28439,"count":76},{"startOffset":28426,"endOffset":28439,"count":28},{"startOffset":28440,"endOffset":28475,"count":66},{"startOffset":28476,"endOffset":28490,"count":65}],"isBlockCoverage":true},{"functionName":"isDecimalDigit","ranges":[{"startOffset":26641,"endOffset":26726,"count":0}],"isBlockCoverage":false},{"functionName":"isHexDigit","ranges":[{"startOffset":26732,"endOffset":26919,"count":0}],"isBlockCoverage":false},{"functionName":"isOctalDigit","ranges":[{"startOffset":26925,"endOffset":27008,"count":0}],"isBlockCoverage":false},{"functionName":"isWhiteSpace","ranges":[{"startOffset":27243,"endOffset":27434,"count":0}],"isBlockCoverage":false},{"functionName":"isLineTerminator","ranges":[{"startOffset":27469,"endOffset":27583,"count":0}],"isBlockCoverage":false},{"functionName":"fromCodePoint","ranges":[{"startOffset":27634,"endOffset":27914,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES5","ranges":[{"startOffset":28537,"endOffset":28686,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES5","ranges":[{"startOffset":28692,"endOffset":28838,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES6","ranges":[{"startOffset":28844,"endOffset":28993,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES6","ranges":[{"startOffset":28999,"endOffset":29145,"count":0}],"isBlockCoverage":false}]},{"scriptId":"378","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/keyword.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5616,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":5575,"count":1}],"isBlockCoverage":true},{"functionName":"isStrictModeReservedWordES6","ranges":[{"startOffset":1405,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES5","ranges":[{"startOffset":1752,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES6","ranges":[{"startOffset":1990,"endOffset":3218,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES5","ranges":[{"startOffset":3224,"endOffset":3363,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES6","ranges":[{"startOffset":3369,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"isRestrictedWord","ranges":[{"startOffset":3514,"endOffset":3603,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES5","ranges":[{"startOffset":3609,"endOffset":4045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeUtf16","ranges":[{"startOffset":4051,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES6","ranges":[{"startOffset":4167,"endOffset":4903,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES5","ranges":[{"startOffset":4909,"endOffset":5027,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES6","ranges":[{"startOffset":5033,"endOffset":5151,"count":0}],"isBlockCoverage":false}]},{"scriptId":"379","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-diff/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":38838,"count":1}],"isBlockCoverage":true},{"functionName":"diff_main","ranges":[{"startOffset":1622,"endOffset":2855,"count":0}],"isBlockCoverage":false},{"functionName":"diff_compute_","ranges":[{"startOffset":3117,"endOffset":4721,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisect_","ranges":[{"startOffset":5070,"endOffset":8602,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisectSplit_","ranges":[{"startOffset":8946,"endOffset":9292,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonPrefix","ranges":[{"startOffset":9516,"endOffset":10360,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonOverlap_","ranges":[{"startOffset":10654,"endOffset":11835,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonSuffix","ranges":[{"startOffset":12050,"endOffset":12955,"count":0}],"isBlockCoverage":false},{"functionName":"diff_halfMatch_","ranges":[{"startOffset":13397,"endOffset":16552,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemantic","ranges":[{"startOffset":16712,"endOffset":21136,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemanticLossless","ranges":[{"startOffset":21599,"endOffset":25878,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupMerge","ranges":[{"startOffset":26143,"endOffset":33884,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_start","ranges":[{"startOffset":33886,"endOffset":33983,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_end","ranges":[{"startOffset":33985,"endOffset":34080,"count":0}],"isBlockCoverage":false},{"functionName":"starts_with_pair_end","ranges":[{"startOffset":34082,"endOffset":34171,"count":0}],"isBlockCoverage":false},{"functionName":"ends_with_pair_start","ranges":[{"startOffset":34173,"endOffset":34277,"count":0}],"isBlockCoverage":false},{"functionName":"remove_empty_tuples","ranges":[{"startOffset":34279,"endOffset":34465,"count":0}],"isBlockCoverage":false},{"functionName":"make_edit_splice","ranges":[{"startOffset":34467,"endOffset":34771,"count":0}],"isBlockCoverage":false},{"functionName":"find_cursor_edit_diff","ranges":[{"startOffset":34773,"endOffset":38521,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":38523,"endOffset":38733,"count":0}],"isBlockCoverage":false}]},{"scriptId":"380","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/dataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":949,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":319,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":349,"endOffset":447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"381","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/date.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2613,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":304,"endOffset":471,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":501,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"formatDate","ranges":[{"startOffset":682,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"DateValue","ranges":[{"startOffset":993,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1072,"endOffset":1333,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1337,"endOffset":2118,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2122,"endOffset":2253,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedDateValue","ranges":[{"startOffset":2460,"endOffset":2610,"count":0}],"isBlockCoverage":false}]},{"scriptId":"382","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/date-time/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":831,"count":1}],"isBlockCoverage":true},{"functionName":"dateTime","ranges":[{"startOffset":71,"endOffset":718,"count":0}],"isBlockCoverage":false}]},{"scriptId":"383","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/time-zone/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":343,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"384","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3605,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":331,"endOffset":608,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":638,"endOffset":733,"count":0}],"isBlockCoverage":false},{"functionName":"ErrorValue","ranges":[{"startOffset":869,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":942,"endOffset":1082,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1086,"endOffset":2193,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2197,"endOffset":2257,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedErrorValue","ranges":[{"startOffset":2400,"endOffset":2583,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2587,"endOffset":3430,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedErrorValue","ranges":[{"startOffset":3512,"endOffset":3602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"385","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/isEnumerable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":171,"count":1}],"isBlockCoverage":true},{"functionName":"isEnumerable","ranges":[{"startOffset":14,"endOffset":140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"386","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3272,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":377,"endOffset":600,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":630,"endOffset":728,"count":0}],"isBlockCoverage":false},{"functionName":"FunctionValue","ranges":[{"startOffset":870,"endOffset":939,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":943,"endOffset":1706,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedFunctionValue","ranges":[{"startOffset":1858,"endOffset":1951,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1955,"endOffset":2203,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2207,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2749,"endOffset":2809,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedFunctionValue","ranges":[{"startOffset":2897,"endOffset":2987,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2991,"endOffset":3205,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3209,"endOffset":3269,"count":0}],"isBlockCoverage":false}]},{"scriptId":"387","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":822,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":275,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":412,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":512,"endOffset":676,"count":0}],"isBlockCoverage":false}]},{"scriptId":"388","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1845,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"MapValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1028,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1032,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1229,"endOffset":1674,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMapValue","ranges":[{"startOffset":1752,"endOffset":1842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"389","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1054,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":167,"endOffset":238,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":268,"endOffset":345,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":630,"endOffset":830,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":916,"endOffset":1051,"count":0}],"isBlockCoverage":false}]},{"scriptId":"390","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2733,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":219,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":432,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"getSortedFlags","ranges":[{"startOffset":617,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"RegexpValue","ranges":[{"startOffset":824,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":930,"endOffset":1107,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1111,"endOffset":2317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2321,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedRegexpValue","ranges":[{"startOffset":2612,"endOffset":2730,"count":0}],"isBlockCoverage":false}]},{"scriptId":"391","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1815,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"SetValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1030,"endOffset":1090,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1227,"endOffset":1644,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSetValue","ranges":[{"startOffset":1722,"endOffset":1812,"count":0}],"isBlockCoverage":false}]},{"scriptId":"392","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getCtor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1275,"count":1}],"isBlockCoverage":true},{"functionName":"getCtor","ranges":[{"startOffset":59,"endOffset":1249,"count":6},{"startOffset":234,"endOffset":240,"count":0},{"startOffset":244,"endOffset":1248,"count":0}],"isBlockCoverage":true}]},{"scriptId":"393","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getStringTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":721,"count":1},{"startOffset":467,"endOffset":720,"count":0}],"isBlockCoverage":true},{"functionName":"getStringTag","ranges":[{"startOffset":51,"endOffset":121,"count":7}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":225,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"getStringTagWithPromiseWorkaround","ranges":[{"startOffset":519,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"394","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/item.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7816,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":228,"endOffset":310,"count":2}],"isBlockCoverage":true},{"functionName":"deserializeComplex","ranges":[{"startOffset":354,"endOffset":469,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":519,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePrimitive","ranges":[{"startOffset":653,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexItem","ranges":[{"startOffset":1017,"endOffset":1095,"count":2}],"isBlockCoverage":true},{"functionName":"createRecursor","ranges":[{"startOffset":1099,"endOffset":1171,"count":2}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":1175,"endOffset":1330,"count":1},{"startOffset":1317,"endOffset":1326,"count":0}],"isBlockCoverage":true},{"functionName":"formatShallow","ranges":[{"startOffset":1334,"endOffset":1719,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1723,"endOffset":4317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":4321,"endOffset":4361,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveItem","ranges":[{"startOffset":4536,"endOffset":4614,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":4618,"endOffset":4775,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4779,"endOffset":5334,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":5338,"endOffset":6853,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":6857,"endOffset":7602,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7606,"endOffset":7660,"count":0}],"isBlockCoverage":false}]},{"scriptId":"395","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/mapEntry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7305,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":318,"endOffset":585,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":615,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithKey","ranges":[{"startOffset":974,"endOffset":1422,"count":0}],"isBlockCoverage":false},{"functionName":"MapEntry","ranges":[{"startOffset":1443,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1639,"endOffset":1916,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1920,"endOffset":2399,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":2403,"endOffset":3004,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3008,"endOffset":3349,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":3353,"endOffset":4200,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":4204,"endOffset":7086,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7090,"endOffset":7164,"count":0}],"isBlockCoverage":false}]},{"scriptId":"396","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/themeUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5251,"count":1}],"isBlockCoverage":true},{"functionName":"freezeTheme","ranges":[{"startOffset":151,"endOffset":490,"count":1},{"startOffset":233,"endOffset":472,"count":42},{"startOffset":338,"endOffset":468,"count":120},{"startOffset":397,"endOffset":425,"count":118},{"startOffset":427,"endOffset":462,"count":41}],"isBlockCoverage":true},{"functionName":"normalizePlugins","ranges":[{"startOffset":2413,"endOffset":3165,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":3205,"endOffset":4082,"count":0}],"isBlockCoverage":false},{"functionName":"addModifier","ranges":[{"startOffset":4146,"endOffset":4338,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiers","ranges":[{"startOffset":4446,"endOffset":5020,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiersToOriginal","ranges":[{"startOffset":5062,"endOffset":5190,"count":0}],"isBlockCoverage":false}]},{"scriptId":"397","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/cloneDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":679,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDeep","ranges":[{"startOffset":555,"endOffset":649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"398","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseClone.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5609,"count":1}],"isBlockCoverage":true},{"functionName":"baseClone","ranges":[{"startOffset":3399,"endOffset":5579,"count":0}],"isBlockCoverage":false}]},{"scriptId":"399","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Stack.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":734,"count":1}],"isBlockCoverage":true},{"functionName":"Stack","ranges":[{"startOffset":402,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"400","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_ListCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"ListCache","ranges":[{"startOffset":376,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"401","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":218,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheClear","ranges":[{"startOffset":115,"endOffset":183,"count":0}],"isBlockCoverage":false}]},{"scriptId":"402","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":775,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheDelete","ranges":[{"startOffset":440,"endOffset":739,"count":0}],"isBlockCoverage":false}]},{"scriptId":"403","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assocIndexOf.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":487,"count":1}],"isBlockCoverage":true},{"functionName":"assocIndexOf","ranges":[{"startOffset":286,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"404","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":799,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":681,"endOffset":776,"count":0}],"isBlockCoverage":false}]},{"scriptId":"405","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":420,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheGet","ranges":[{"startOffset":240,"endOffset":387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"406","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheHas","ranges":[{"startOffset":292,"endOffset":370,"count":0}],"isBlockCoverage":false}]},{"scriptId":"407","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":553,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheSet","ranges":[{"startOffset":292,"endOffset":520,"count":0}],"isBlockCoverage":false}]},{"scriptId":"408","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":254,"count":1}],"isBlockCoverage":true},{"functionName":"stackClear","ranges":[{"startOffset":148,"endOffset":223,"count":0}],"isBlockCoverage":false}]},{"scriptId":"409","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":405,"count":1}],"isBlockCoverage":true},{"functionName":"stackDelete","ranges":[{"startOffset":237,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"410","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":271,"count":1}],"isBlockCoverage":true},{"functionName":"stackGet","ranges":[{"startOffset":183,"endOffset":242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"411","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":323,"count":1}],"isBlockCoverage":true},{"functionName":"stackHas","ranges":[{"startOffset":235,"endOffset":294,"count":0}],"isBlockCoverage":false}]},{"scriptId":"412","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":853,"count":1}],"isBlockCoverage":true},{"functionName":"stackSet","ranges":[{"startOffset":436,"endOffset":824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"413","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"414","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"getNative","ranges":[{"startOffset":331,"endOffset":453,"count":7},{"startOffset":439,"endOffset":450,"count":0}],"isBlockCoverage":true}]},{"scriptId":"415","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1417,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsNative","ranges":[{"startOffset":1182,"endOffset":1384,"count":7},{"startOffset":1256,"endOffset":1279,"count":0},{"startOffset":1327,"endOffset":1341,"count":0}],"isBlockCoverage":true}]},{"scriptId":"416","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isFunction.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":993,"count":1}],"isBlockCoverage":true},{"functionName":"isFunction","ranges":[{"startOffset":617,"endOffset":962,"count":7},{"startOffset":670,"endOffset":693,"count":0},{"startOffset":905,"endOffset":921,"count":0},{"startOffset":922,"endOffset":940,"count":0},{"startOffset":941,"endOffset":959,"count":0}],"isBlockCoverage":true}]},{"scriptId":"417","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":792,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true},{"functionName":"baseGetTag","ranges":[{"startOffset":534,"endOffset":761,"count":13},{"startOffset":584,"endOffset":646,"count":0},{"startOffset":712,"endOffset":730,"count":5},{"startOffset":735,"endOffset":758,"count":8}],"isBlockCoverage":true}]},{"scriptId":"418","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true}]},{"scriptId":"419","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_root.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":300,"count":1},{"startOffset":119,"endOffset":126,"count":0},{"startOffset":127,"endOffset":152,"count":0},{"startOffset":153,"endOffset":160,"count":0},{"startOffset":234,"endOffset":245,"count":0},{"startOffset":246,"endOffset":274,"count":0}],"isBlockCoverage":true}]},{"scriptId":"420","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_freeGlobal.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":173,"count":1}],"isBlockCoverage":true}]},{"scriptId":"421","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getRawTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1139,"count":1},{"startOffset":488,"endOffset":499,"count":0}],"isBlockCoverage":true},{"functionName":"getRawTag","ranges":[{"startOffset":701,"endOffset":1109,"count":5},{"startOffset":899,"endOffset":911,"count":0},{"startOffset":995,"endOffset":1037,"count":0}],"isBlockCoverage":true}]},{"scriptId":"422","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_objectToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":565,"count":1}],"isBlockCoverage":true},{"functionName":"objectToString","ranges":[{"startOffset":453,"endOffset":530,"count":8}],"isBlockCoverage":true}]},{"scriptId":"423","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":733,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":581,"endOffset":704,"count":14}],"isBlockCoverage":true}]},{"scriptId":"424","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isMasked.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":564,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":116,"endOffset":268,"count":1},{"startOffset":166,"endOffset":184,"count":0},{"startOffset":185,"endOffset":212,"count":0},{"startOffset":234,"endOffset":260,"count":0}],"isBlockCoverage":true},{"functionName":"isMasked","ranges":[{"startOffset":461,"endOffset":535,"count":7},{"startOffset":509,"endOffset":532,"count":0}],"isBlockCoverage":true}]},{"scriptId":"425","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_coreJsData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":157,"count":1}],"isBlockCoverage":true}]},{"scriptId":"426","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_toSource.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":556,"count":1}],"isBlockCoverage":true},{"functionName":"toSource","ranges":[{"startOffset":339,"endOffset":527,"count":12},{"startOffset":441,"endOffset":508,"count":0},{"startOffset":512,"endOffset":526,"count":0}],"isBlockCoverage":true}]},{"scriptId":"427","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":325,"count":1}],"isBlockCoverage":true},{"functionName":"getValue","ranges":[{"startOffset":211,"endOffset":296,"count":7},{"startOffset":268,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"428","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_MapCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"MapCache","ranges":[{"startOffset":389,"endOffset":606,"count":0}],"isBlockCoverage":false}]},{"scriptId":"429","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":393,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheClear","ranges":[{"startOffset":209,"endOffset":359,"count":0}],"isBlockCoverage":false}]},{"scriptId":"430","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Hash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"Hash","ranges":[{"startOffset":319,"endOffset":532,"count":0}],"isBlockCoverage":false}]},{"scriptId":"431","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":281,"count":1}],"isBlockCoverage":true},{"functionName":"hashClear","ranges":[{"startOffset":152,"endOffset":251,"count":0}],"isBlockCoverage":false}]},{"scriptId":"432","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":187,"count":1}],"isBlockCoverage":true}]},{"scriptId":"433","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":445,"count":1}],"isBlockCoverage":true},{"functionName":"hashDelete","ranges":[{"startOffset":279,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"434","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"hashGet","ranges":[{"startOffset":513,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"435","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":626,"count":1}],"isBlockCoverage":true},{"functionName":"hashHas","ranges":[{"startOffset":461,"endOffset":598,"count":0}],"isBlockCoverage":false}]},{"scriptId":"436","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"hashSet","ranges":[{"startOffset":379,"endOffset":570,"count":0}],"isBlockCoverage":false}]},{"scriptId":"437","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheDelete","ranges":[{"startOffset":282,"endOffset":415,"count":0}],"isBlockCoverage":false}]},{"scriptId":"438","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getMapData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":400,"count":1}],"isBlockCoverage":true},{"functionName":"getMapData","ranges":[{"startOffset":214,"endOffset":369,"count":0}],"isBlockCoverage":false}]},{"scriptId":"439","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isKeyable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":430,"count":1}],"isBlockCoverage":true},{"functionName":"isKeyable","ranges":[{"startOffset":201,"endOffset":400,"count":0}],"isBlockCoverage":false}]},{"scriptId":"440","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":330,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheGet","ranges":[{"startOffset":228,"endOffset":298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"441","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheHas","ranges":[{"startOffset":280,"endOffset":350,"count":0}],"isBlockCoverage":false}]},{"scriptId":"442","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":489,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheSet","ranges":[{"startOffset":279,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"443","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayEach.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":537,"count":1}],"isBlockCoverage":true},{"functionName":"arrayEach","ranges":[{"startOffset":274,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"444","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":899,"count":1}],"isBlockCoverage":true},{"functionName":"assignValue","ranges":[{"startOffset":629,"endOffset":867,"count":0}],"isBlockCoverage":false}]},{"scriptId":"445","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":625,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignValue","ranges":[{"startOffset":314,"endOffset":589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"446","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_defineProperty.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":64,"endOffset":194,"count":1},{"startOffset":180,"endOffset":192,"count":0}],"isBlockCoverage":true}]},{"scriptId":"447","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssign.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssign","ranges":[{"startOffset":339,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"448","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1044,"count":1}],"isBlockCoverage":true},{"functionName":"copyObject","ranges":[{"startOffset":467,"endOffset":1013,"count":0}],"isBlockCoverage":false}]},{"scriptId":"449","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":884,"count":1}],"isBlockCoverage":true},{"functionName":"keys","ranges":[{"startOffset":761,"endOffset":859,"count":0}],"isBlockCoverage":false}]},{"scriptId":"450","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayLikeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1778,"count":1}],"isBlockCoverage":true},{"functionName":"arrayLikeKeys","ranges":[{"startOffset":697,"endOffset":1744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"451","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseTimes.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":504,"count":1}],"isBlockCoverage":true},{"functionName":"baseTimes","ranges":[{"startOffset":313,"endOffset":474,"count":0}],"isBlockCoverage":false}]},{"scriptId":"452","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1026,"count":1},{"startOffset":851,"endOffset":993,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":797,"endOffset":829,"count":1}],"isBlockCoverage":true},{"functionName":"isArguments","ranges":[{"startOffset":853,"endOffset":993,"count":0}],"isBlockCoverage":false}]},{"scriptId":"453","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsArguments","ranges":[{"startOffset":355,"endOffset":452,"count":1}],"isBlockCoverage":true}]},{"scriptId":"454","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObjectLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"isObjectLike","ranges":[{"startOffset":497,"endOffset":581,"count":1}],"isBlockCoverage":true}]},{"scriptId":"455","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true}]},{"scriptId":"456","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1114,"count":1},{"startOffset":548,"endOffset":559,"count":0},{"startOffset":697,"endOffset":708,"count":0},{"startOffset":1072,"endOffset":1084,"count":0}],"isBlockCoverage":true}]},{"scriptId":"457","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubFalse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":280,"count":1}],"isBlockCoverage":true},{"functionName":"stubFalse","ranges":[{"startOffset":210,"endOffset":250,"count":0}],"isBlockCoverage":false}]},{"scriptId":"458","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIndex.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":759,"count":1}],"isBlockCoverage":true},{"functionName":"isIndex","ranges":[{"startOffset":456,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"459","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":695,"count":1},{"startOffset":643,"endOffset":661,"count":0}],"isBlockCoverage":true}]},{"scriptId":"460","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2222,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsTypedArray","ranges":[{"startOffset":2050,"endOffset":2185,"count":0}],"isBlockCoverage":false}]},{"scriptId":"461","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseUnary.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":332,"count":1}],"isBlockCoverage":true},{"functionName":"baseUnary","ranges":[{"startOffset":218,"endOffset":302,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":254,"endOffset":299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"462","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nodeUtil.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":995,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":615,"endOffset":962,"count":1},{"startOffset":806,"endOffset":911,"count":0},{"startOffset":912,"endOffset":942,"count":0},{"startOffset":948,"endOffset":960,"count":0}],"isBlockCoverage":true}]},{"scriptId":"463","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":776,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeys","ranges":[{"startOffset":479,"endOffset":747,"count":0}],"isBlockCoverage":false}]},{"scriptId":"464","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":480,"count":1}],"isBlockCoverage":true},{"functionName":"isPrototype","ranges":[{"startOffset":273,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"465","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":204,"count":1}],"isBlockCoverage":true}]},{"scriptId":"466","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overArg.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"overArg","ranges":[{"startOffset":254,"endOffset":354,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":299,"endOffset":351,"count":0}],"isBlockCoverage":false}]},{"scriptId":"467","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":830,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLike","ranges":[{"startOffset":695,"endOffset":798,"count":0}],"isBlockCoverage":false}]},{"scriptId":"468","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":482,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignIn","ranges":[{"startOffset":345,"endOffset":449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"469","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":778,"count":1}],"isBlockCoverage":true},{"functionName":"keysIn","ranges":[{"startOffset":643,"endOffset":751,"count":0}],"isBlockCoverage":false}]},{"scriptId":"470","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":870,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeysIn","ranges":[{"startOffset":523,"endOffset":839,"count":0}],"isBlockCoverage":false}]},{"scriptId":"471","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":490,"count":1}],"isBlockCoverage":true},{"functionName":"nativeKeysIn","ranges":[{"startOffset":292,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"472","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1056,"count":1},{"startOffset":508,"endOffset":519,"count":0},{"startOffset":567,"endOffset":578,"count":0}],"isBlockCoverage":true},{"functionName":"cloneBuffer","ranges":[{"startOffset":783,"endOffset":1024,"count":0}],"isBlockCoverage":false}]},{"scriptId":"473","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"copyArray","ranges":[{"startOffset":219,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"474","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":446,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbols","ranges":[{"startOffset":317,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"475","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":886,"count":1},{"startOffset":624,"endOffset":635,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbols","ranges":[{"startOffset":638,"endOffset":854,"count":0}],"isBlockCoverage":false}]},{"scriptId":"476","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayFilter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":632,"count":1}],"isBlockCoverage":true},{"functionName":"arrayFilter","ranges":[{"startOffset":289,"endOffset":600,"count":0}],"isBlockCoverage":false}]},{"scriptId":"477","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":390,"count":1}],"isBlockCoverage":true},{"functionName":"stubArray","ranges":[{"startOffset":323,"endOffset":360,"count":0}],"isBlockCoverage":false}]},{"scriptId":"478","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbolsIn","ranges":[{"startOffset":335,"endOffset":436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"479","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":754,"count":1},{"startOffset":549,"endOffset":560,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbolsIn","ranges":[{"startOffset":563,"endOffset":720,"count":0}],"isBlockCoverage":false}]},{"scriptId":"480","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayPush.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":437,"count":1}],"isBlockCoverage":true},{"functionName":"arrayPush","ranges":[{"startOffset":200,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"481","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":163,"count":1}],"isBlockCoverage":true}]},{"scriptId":"482","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":455,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeys","ranges":[{"startOffset":342,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"483","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":739,"count":1}],"isBlockCoverage":true},{"functionName":"baseGetAllKeys","ranges":[{"startOffset":537,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"484","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeysIn","ranges":[{"startOffset":367,"endOffset":455,"count":0}],"isBlockCoverage":false}]},{"scriptId":"485","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1838,"count":1},{"startOffset":1296,"endOffset":1811,"count":0}],"isBlockCoverage":true},{"functionName":"getTag","ranges":[{"startOffset":1309,"endOffset":1808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"486","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_DataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true}]},{"scriptId":"487","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"488","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"489","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_WeakMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"490","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":692,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneArray","ranges":[{"startOffset":329,"endOffset":657,"count":0}],"isBlockCoverage":false}]},{"scriptId":"491","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneByTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2261,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneByTag","ranges":[{"startOffset":1454,"endOffset":2226,"count":0}],"isBlockCoverage":false}]},{"scriptId":"492","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneArrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":449,"count":1}],"isBlockCoverage":true},{"functionName":"cloneArrayBuffer","ranges":[{"startOffset":226,"endOffset":412,"count":0}],"isBlockCoverage":false}]},{"scriptId":"493","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Uint8Array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":130,"count":1}],"isBlockCoverage":true}]},{"scriptId":"494","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneDataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":507,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDataView","ranges":[{"startOffset":267,"endOffset":473,"count":0}],"isBlockCoverage":false}]},{"scriptId":"495","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneRegExp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":439,"count":1}],"isBlockCoverage":true},{"functionName":"cloneRegExp","ranges":[{"startOffset":243,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"496","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneSymbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":524,"count":1},{"startOffset":138,"endOffset":149,"count":0},{"startOffset":205,"endOffset":216,"count":0}],"isBlockCoverage":true},{"functionName":"cloneSymbol","ranges":[{"startOffset":394,"endOffset":492,"count":0}],"isBlockCoverage":false}]},{"scriptId":"497","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":527,"count":1}],"isBlockCoverage":true},{"functionName":"cloneTypedArray","ranges":[{"startOffset":275,"endOffset":491,"count":0}],"isBlockCoverage":false}]},{"scriptId":"498","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":486,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneObject","ranges":[{"startOffset":290,"endOffset":450,"count":0}],"isBlockCoverage":false}]},{"scriptId":"499","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":686,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":355,"endOffset":651,"count":1}],"isBlockCoverage":true},{"functionName":"object","ranges":[{"startOffset":370,"endOffset":390,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":400,"endOffset":648,"count":0}],"isBlockCoverage":false}]},{"scriptId":"500","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"501","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsMap","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"502","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"503","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsSet","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"504","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/merge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1220,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1115,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"505","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMerge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1328,"count":1}],"isBlockCoverage":true},{"functionName":"baseMerge","ranges":[{"startOffset":699,"endOffset":1298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"506","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignMergeValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"assignMergeValue","ranges":[{"startOffset":342,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"507","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"508","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createBaseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":648,"count":1}],"isBlockCoverage":true},{"functionName":"createBaseFor","ranges":[{"startOffset":217,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":262,"endOffset":611,"count":0}],"isBlockCoverage":false}]},{"scriptId":"509","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMergeDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3069,"count":1}],"isBlockCoverage":true},{"functionName":"baseMergeDeep","ranges":[{"startOffset":1316,"endOffset":3035,"count":0}],"isBlockCoverage":false}]},{"scriptId":"510","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLikeObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":742,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLikeObject","ranges":[{"startOffset":615,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"511","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1650,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":1229,"endOffset":1616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"512","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_safeGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":456,"count":1}],"isBlockCoverage":true},{"functionName":"safeGet","ranges":[{"startOffset":243,"endOffset":428,"count":0}],"isBlockCoverage":false}]},{"scriptId":"513","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/toPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":744,"count":1}],"isBlockCoverage":true},{"functionName":"toPlainObject","ranges":[{"startOffset":634,"endOffset":710,"count":0}],"isBlockCoverage":false}]},{"scriptId":"514","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createAssigner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1042,"count":1}],"isBlockCoverage":true},{"functionName":"createAssigner","ranges":[{"startOffset":272,"endOffset":1007,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":326,"endOffset":1003,"count":0}],"isBlockCoverage":false}]},{"scriptId":"515","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":559,"count":1}],"isBlockCoverage":true},{"functionName":"baseRest","ranges":[{"startOffset":430,"endOffset":530,"count":1}],"isBlockCoverage":true}]},{"scriptId":"516","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/identity.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"identity","ranges":[{"startOffset":297,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"517","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1096,"count":1}],"isBlockCoverage":true},{"functionName":"overRest","ranges":[{"startOffset":503,"endOffset":1067,"count":1},{"startOffset":607,"endOffset":614,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":629,"endOffset":1064,"count":0}],"isBlockCoverage":false}]},{"scriptId":"518","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_apply.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":714,"count":1}],"isBlockCoverage":true},{"functionName":"apply","ranges":[{"startOffset":374,"endOffset":688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"519","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_setToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":392,"count":1}],"isBlockCoverage":true}]},{"scriptId":"520","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseSetToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":641,"count":1},{"startOffset":412,"endOffset":422,"count":0}],"isBlockCoverage":true},{"functionName":"baseSetToString","ranges":[{"startOffset":425,"endOffset":604,"count":1}],"isBlockCoverage":true}]},{"scriptId":"521","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/constant.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":528,"count":1}],"isBlockCoverage":true},{"functionName":"constant","ranges":[{"startOffset":426,"endOffset":499,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":462,"endOffset":496,"count":0}],"isBlockCoverage":false}]},{"scriptId":"522","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_shortOut.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":941,"count":1}],"isBlockCoverage":true},{"functionName":"shortOut","ranges":[{"startOffset":534,"endOffset":912,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":609,"endOffset":909,"count":1},{"startOffset":752,"endOffset":830,"count":0}],"isBlockCoverage":true}]},{"scriptId":"523","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIterateeCall.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":877,"count":1}],"isBlockCoverage":true},{"functionName":"isIterateeCall","ranges":[{"startOffset":514,"endOffset":842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"524","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/pluginRegistry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6139,"count":1}],"isBlockCoverage":true},{"functionName":"PluginError","ranges":[{"startOffset":707,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"PluginTypeError","ranges":[{"startOffset":864,"endOffset":977,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedApiError","ranges":[{"startOffset":1031,"endOffset":1159,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedError","ranges":[{"startOffset":1210,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorTagError","ranges":[{"startOffset":1406,"endOffset":1596,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorIdError","ranges":[{"startOffset":1657,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":1949,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"modifyTheme","ranges":[{"startOffset":3525,"endOffset":3639,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":3641,"endOffset":5084,"count":0}],"isBlockCoverage":false},{"functionName":"getDeserializers","ranges":[{"startOffset":5104,"endOffset":5368,"count":0}],"isBlockCoverage":false},{"functionName":"getThemes","ranges":[{"startOffset":5414,"endOffset":5598,"count":0}],"isBlockCoverage":false},{"functionName":"getTryDescribeValues","ranges":[{"startOffset":5630,"endOffset":5734,"count":0}],"isBlockCoverage":false},{"functionName":"resolveDescriptorRef","ranges":[{"startOffset":5788,"endOffset":6086,"count":0}],"isBlockCoverage":false}]},{"scriptId":"525","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2616,"count":1}],"isBlockCoverage":true}]},{"scriptId":"526","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/re.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7690,"count":1}],"isBlockCoverage":true},{"functionName":"makeSafeRegex","ranges":[{"startOffset":950,"endOffset":1161,"count":40},{"startOffset":1015,"endOffset":1144,"count":120}],"isBlockCoverage":true},{"functionName":"createToken","ranges":[{"startOffset":1183,"endOffset":1459,"count":40},{"startOffset":1376,"endOffset":1381,"count":4},{"startOffset":1382,"endOffset":1393,"count":36},{"startOffset":1439,"endOffset":1444,"count":4},{"startOffset":1445,"endOffset":1456,"count":36}],"isBlockCoverage":true}]},{"scriptId":"527","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":859,"count":1},{"startOffset":233,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"528","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/debug.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":226,"count":1},{"startOffset":91,"endOffset":138,"count":0},{"startOffset":141,"endOffset":188,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":143,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"debug","ranges":[{"startOffset":193,"endOffset":201,"count":46}],"isBlockCoverage":true}]},{"scriptId":"529","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/semver.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8756,"count":1}],"isBlockCoverage":true},{"functionName":"SemVer","ranges":[{"startOffset":311,"endOffset":2238,"count":2},{"startOffset":416,"endOffset":621,"count":0},{"startOffset":660,"endOffset":761,"count":0},{"startOffset":800,"endOffset":900,"count":0},{"startOffset":1239,"endOffset":1252,"count":0},{"startOffset":1280,"endOffset":1344,"count":0},{"startOffset":1531,"endOffset":1589,"count":0},{"startOffset":1648,"endOffset":1706,"count":0},{"startOffset":1765,"endOffset":1823,"count":0},{"startOffset":1884,"endOffset":2170,"count":1},{"startOffset":2194,"endOffset":2211,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1970,"endOffset":2163,"count":1},{"startOffset":2137,"endOffset":2162,"count":0}],"isBlockCoverage":true},{"functionName":"format","ranges":[{"startOffset":2242,"endOffset":2438,"count":2},{"startOffset":2349,"endOffset":2410,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":2442,"endOffset":2483,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2487,"endOffset":2877,"count":0}],"isBlockCoverage":false},{"functionName":"compareMain","ranges":[{"startOffset":2881,"endOffset":3172,"count":0}],"isBlockCoverage":false},{"functionName":"comparePre","ranges":[{"startOffset":3176,"endOffset":4027,"count":0}],"isBlockCoverage":false},{"functionName":"compareBuild","ranges":[{"startOffset":4031,"endOffset":4573,"count":0}],"isBlockCoverage":false},{"functionName":"inc","ranges":[{"startOffset":4726,"endOffset":8728,"count":0}],"isBlockCoverage":false}]},{"scriptId":"530","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/parse-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":324,"count":1}],"isBlockCoverage":true},{"functionName":"parseOptions","ranges":[{"startOffset":153,"endOffset":293,"count":4},{"startOffset":208,"endOffset":292,"count":0}],"isBlockCoverage":true}]},{"scriptId":"531","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/identifiers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":410,"count":1}],"isBlockCoverage":true},{"functionName":"compareIdentifiers","ranges":[{"startOffset":54,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"rcompareIdentifiers","ranges":[{"startOffset":308,"endOffset":342,"count":0}],"isBlockCoverage":false}]},{"scriptId":"532","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":317,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":58,"endOffset":292,"count":0}],"isBlockCoverage":false}]},{"scriptId":"533","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":162,"count":1}],"isBlockCoverage":true},{"functionName":"valid","ranges":[{"startOffset":47,"endOffset":138,"count":0}],"isBlockCoverage":false}]},{"scriptId":"534","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/clean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":191,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":47,"endOffset":167,"count":0}],"isBlockCoverage":false}]},{"scriptId":"535","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/inc.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"inc","ranges":[{"startOffset":57,"endOffset":442,"count":0}],"isBlockCoverage":false}]},{"scriptId":"536","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1612,"count":1}],"isBlockCoverage":true},{"functionName":"diff","ranges":[{"startOffset":50,"endOffset":1588,"count":0}],"isBlockCoverage":false}]},{"scriptId":"537","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/major.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"major","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"538","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/minor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"minor","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"539","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/patch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"patch","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"540","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/prerelease.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":220,"count":1}],"isBlockCoverage":true},{"functionName":"prerelease","ranges":[{"startOffset":52,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"541","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":156,"count":1}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":60,"endOffset":129,"count":0}],"isBlockCoverage":false}]},{"scriptId":"542","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rcompare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"rcompare","ranges":[{"startOffset":54,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"543","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-loose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"compareLoose","ranges":[{"startOffset":58,"endOffset":87,"count":0}],"isBlockCoverage":false}]},{"scriptId":"544","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-build.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":267,"count":1}],"isBlockCoverage":true},{"functionName":"compareBuild","ranges":[{"startOffset":65,"endOffset":236,"count":0}],"isBlockCoverage":false}]},{"scriptId":"545","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/sort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":147,"count":1}],"isBlockCoverage":true},{"functionName":"sort","ranges":[{"startOffset":61,"endOffset":124,"count":0}],"isBlockCoverage":false}]},{"scriptId":"546","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rsort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":149,"count":1}],"isBlockCoverage":true},{"functionName":"rsort","ranges":[{"startOffset":62,"endOffset":125,"count":0}],"isBlockCoverage":false}]},{"scriptId":"547","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"gt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"548","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"lt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"549","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":112,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":48,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"550","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/neq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":114,"count":1}],"isBlockCoverage":true},{"functionName":"neq","ranges":[{"startOffset":49,"endOffset":92,"count":0}],"isBlockCoverage":false}]},{"scriptId":"551","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"gte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"552","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"lte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"553","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/cmp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":947,"count":1}],"isBlockCoverage":true},{"functionName":"cmp","ranges":[{"startOffset":181,"endOffset":925,"count":0}],"isBlockCoverage":false}]},{"scriptId":"554","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/coerce.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1513,"count":1}],"isBlockCoverage":true},{"functionName":"coerce","ranges":[{"startOffset":145,"endOffset":1488,"count":0}],"isBlockCoverage":false}]},{"scriptId":"555","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/comparator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3617,"count":1}],"isBlockCoverage":true},{"functionName":"get ANY","ranges":[{"startOffset":100,"endOffset":131,"count":2}],"isBlockCoverage":true},{"functionName":"Comparator","ranges":[{"startOffset":135,"endOffset":682,"count":2},{"startOffset":238,"endOffset":358,"count":0},{"startOffset":556,"endOffset":585,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":686,"endOffset":1182,"count":2},{"startOffset":734,"endOffset":757,"count":0},{"startOffset":818,"endOffset":882,"count":0},{"startOffset":930,"endOffset":934,"count":0},{"startOffset":966,"endOffset":998,"count":0},{"startOffset":1077,"endOffset":1108,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":1186,"endOffset":1225,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":1229,"endOffset":1609,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":1613,"endOffset":3323,"count":0}],"isBlockCoverage":false}]},{"scriptId":"556","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/range.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14514,"count":1}],"isBlockCoverage":true},{"functionName":"Range","ranges":[{"startOffset":55,"endOffset":2052,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2056,"endOffset":2197,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2201,"endOffset":2240,"count":0}],"isBlockCoverage":false},{"functionName":"parseRange","ranges":[{"startOffset":2244,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":4531,"endOffset":5161,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":5229,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"isNullSet","ranges":[{"startOffset":6111,"endOffset":6138,"count":0}],"isBlockCoverage":false},{"functionName":"isAny","ranges":[{"startOffset":6153,"endOffset":6172,"count":0}],"isBlockCoverage":false},{"functionName":"isSatisfiable","ranges":[{"startOffset":6294,"endOffset":6700,"count":0}],"isBlockCoverage":false},{"functionName":"parseComparator","ranges":[{"startOffset":6870,"endOffset":7183,"count":0}],"isBlockCoverage":false},{"functionName":"isX","ranges":[{"startOffset":7197,"endOffset":7248,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTildes","ranges":[{"startOffset":7584,"endOffset":7707,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTilde","ranges":[{"startOffset":7730,"endOffset":8404,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCarets","ranges":[{"startOffset":8697,"endOffset":8820,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCaret","ranges":[{"startOffset":8843,"endOffset":10145,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRanges","ranges":[{"startOffset":10170,"endOffset":10323,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRange","ranges":[{"startOffset":10347,"endOffset":12047,"count":0}],"isBlockCoverage":false},{"functionName":"replaceStars","ranges":[{"startOffset":12193,"endOffset":12378,"count":0}],"isBlockCoverage":false},{"functionName":"replaceGTE0","ranges":[{"startOffset":12400,"endOffset":12555,"count":0}],"isBlockCoverage":false},{"functionName":"hyphenReplace","ranges":[{"startOffset":12797,"endOffset":13471,"count":0}],"isBlockCoverage":false},{"functionName":"testSet","ranges":[{"startOffset":13489,"endOffset":14513,"count":0}],"isBlockCoverage":false}]},{"scriptId":"557","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lru-cache/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8186,"count":1}],"isBlockCoverage":true},{"functionName":"naiveLength","ranges":[{"startOffset":510,"endOffset":517,"count":0}],"isBlockCoverage":false},{"functionName":"LRUCache","ranges":[{"startOffset":853,"endOffset":1751,"count":1},{"startOffset":920,"endOffset":946,"count":0},{"startOffset":972,"endOffset":984,"count":0},{"startOffset":1069,"endOffset":1125,"count":0},{"startOffset":1235,"endOffset":1246,"count":0},{"startOffset":1350,"endOffset":1363,"count":0},{"startOffset":1439,"endOffset":1476,"count":0},{"startOffset":1484,"endOffset":1530,"count":0}],"isBlockCoverage":true},{"functionName":"set max","ranges":[{"startOffset":1799,"endOffset":1969,"count":0}],"isBlockCoverage":false},{"functionName":"get max","ranges":[{"startOffset":1972,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"set allowStale","ranges":[{"startOffset":2013,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"get allowStale","ranges":[{"startOffset":2086,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"set maxAge","ranges":[{"startOffset":2142,"endOffset":2300,"count":0}],"isBlockCoverage":false},{"functionName":"get maxAge","ranges":[{"startOffset":2303,"endOffset":2347,"count":0}],"isBlockCoverage":false},{"functionName":"set lengthCalculator","ranges":[{"startOffset":2408,"endOffset":2765,"count":0}],"isBlockCoverage":false},{"functionName":"get lengthCalculator","ranges":[{"startOffset":2768,"endOffset":2826,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":2830,"endOffset":2867,"count":0}],"isBlockCoverage":false},{"functionName":"get itemCount","ranges":[{"startOffset":2870,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"rforEach","ranges":[{"startOffset":2923,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":3142,"endOffset":3356,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":3360,"endOffset":3425,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":3429,"endOffset":3498,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":3502,"endOffset":3858,"count":1},{"startOffset":3535,"endOffset":3560,"count":0},{"startOffset":3561,"endOffset":3593,"count":0},{"startOffset":3595,"endOffset":3673,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3626,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"dump","ranges":[{"startOffset":3862,"endOffset":4064,"count":0}],"isBlockCoverage":false},{"functionName":"dumpLru","ranges":[{"startOffset":4068,"endOffset":4110,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4114,"endOffset":5376,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":5380,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5517,"endOffset":5564,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":5568,"endOffset":5617,"count":0}],"isBlockCoverage":false},{"functionName":"pop","ranges":[{"startOffset":5621,"endOffset":5746,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":5750,"endOffset":5801,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5805,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"prune","ranges":[{"startOffset":6382,"endOffset":6459,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6475,"endOffset":6871,"count":0}],"isBlockCoverage":false},{"functionName":"isStale","ranges":[{"startOffset":6889,"endOffset":7094,"count":0}],"isBlockCoverage":false},{"functionName":"trim","ranges":[{"startOffset":7109,"endOffset":7497,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":7511,"endOffset":7738,"count":0}],"isBlockCoverage":false},{"functionName":"Entry","ranges":[{"startOffset":7756,"endOffset":7923,"count":0}],"isBlockCoverage":false},{"functionName":"forEachStep","ranges":[{"startOffset":7947,"endOffset":8158,"count":0}],"isBlockCoverage":false}]},{"scriptId":"558","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/yallist.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8411,"count":1},{"startOffset":8397,"endOffset":8410,"count":0}],"isBlockCoverage":true},{"functionName":"Yallist","ranges":[{"startOffset":85,"endOffset":517,"count":1},{"startOffset":163,"endOffset":193,"count":0},{"startOffset":263,"endOffset":300,"count":0},{"startOffset":302,"endOffset":371,"count":0},{"startOffset":403,"endOffset":500,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":321,"endOffset":366,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.removeNode","ranges":[{"startOffset":550,"endOffset":1001,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshiftNode","ranges":[{"startOffset":1035,"endOffset":1334,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pushNode","ranges":[{"startOffset":1365,"endOffset":1664,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.push","ranges":[{"startOffset":1691,"endOffset":1814,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshift","ranges":[{"startOffset":1844,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pop","ranges":[{"startOffset":1996,"endOffset":2224,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.shift","ranges":[{"startOffset":2252,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEach","ranges":[{"startOffset":2510,"endOffset":2691,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEachReverse","ranges":[{"startOffset":2728,"endOffset":2923,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.get","ranges":[{"startOffset":2949,"endOffset":3182,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.getReverse","ranges":[{"startOffset":3215,"endOffset":3448,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.map","ranges":[{"startOffset":3474,"endOffset":3690,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.mapReverse","ranges":[{"startOffset":3723,"endOffset":3939,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduce","ranges":[{"startOffset":3968,"endOffset":4363,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduceReverse","ranges":[{"startOffset":4399,"endOffset":4808,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArray","ranges":[{"startOffset":4838,"endOffset":5018,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArrayReverse","ranges":[{"startOffset":5055,"endOffset":5235,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.slice","ranges":[{"startOffset":5263,"endOffset":5790,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.sliceReverse","ranges":[{"startOffset":5825,"endOffset":6362,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.splice","ranges":[{"startOffset":6391,"endOffset":7034,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reverse","ranges":[{"startOffset":7064,"endOffset":7322,"count":0}],"isBlockCoverage":false},{"functionName":"insert","ranges":[{"startOffset":7324,"endOffset":7643,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":7645,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":7795,"endOffset":7946,"count":0}],"isBlockCoverage":false},{"functionName":"Node","ranges":[{"startOffset":7948,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"559","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/iterator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":30,"endOffset":206,"count":1}],"isBlockCoverage":true},{"functionName":"Yallist.","ranges":[{"startOffset":90,"endOffset":204,"count":0}],"isBlockCoverage":false}]},{"scriptId":"560","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/satisfies.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"satisfies","ranges":[{"startOffset":60,"endOffset":205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"561","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/to-comparators.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":268,"count":1}],"isBlockCoverage":true},{"functionName":"toComparators","ranges":[{"startOffset":115,"endOffset":235,"count":0}],"isBlockCoverage":false}]},{"scriptId":"562","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/max-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":579,"count":1}],"isBlockCoverage":true},{"functionName":"maxSatisfying","ranges":[{"startOffset":109,"endOffset":547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"563","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"minSatisfying","ranges":[{"startOffset":108,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"564","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-version.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"minVersion","ranges":[{"startOffset":144,"endOffset":1471,"count":0}],"isBlockCoverage":false}]},{"scriptId":"565","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":312,"count":1}],"isBlockCoverage":true},{"functionName":"validRange","ranges":[{"startOffset":61,"endOffset":283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"566","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/outside.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2190,"count":1}],"isBlockCoverage":true},{"functionName":"outside","ranges":[{"startOffset":390,"endOffset":2163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"567","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/gtr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":217,"count":1}],"isBlockCoverage":true},{"functionName":"gtr","ranges":[{"startOffset":129,"endOffset":195,"count":0}],"isBlockCoverage":false}]},{"scriptId":"568","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/ltr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":213,"count":1}],"isBlockCoverage":true},{"functionName":"ltr","ranges":[{"startOffset":125,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"569","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/intersects.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true},{"functionName":"intersects","ranges":[{"startOffset":61,"endOffset":181,"count":0}],"isBlockCoverage":false}]},{"scriptId":"570","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/simplify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1341,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":329,"endOffset":1340,"count":0}],"isBlockCoverage":false}]},{"scriptId":"571","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/subset.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7510,"count":1}],"isBlockCoverage":true},{"functionName":"subset","ranges":[{"startOffset":1996,"endOffset":2727,"count":0}],"isBlockCoverage":false},{"functionName":"simpleSubset","ranges":[{"startOffset":2869,"endOffset":6974,"count":0}],"isBlockCoverage":false},{"functionName":"higherGT","ranges":[{"startOffset":7025,"endOffset":7229,"count":0}],"isBlockCoverage":false},{"functionName":"lowerLT","ranges":[{"startOffset":7280,"endOffset":7484,"count":0}],"isBlockCoverage":false}]},{"scriptId":"572","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/property.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6165,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":331,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeComplex","ranges":[{"startOffset":457,"endOffset":572,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":622,"endOffset":708,"count":24}],"isBlockCoverage":true},{"functionName":"deserializePrimitive","ranges":[{"startOffset":756,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"Property","ranges":[{"startOffset":1125,"endOffset":1167,"count":24}],"isBlockCoverage":true},{"functionName":"compareKeys","ranges":[{"startOffset":1171,"endOffset":1692,"count":12},{"startOffset":1580,"endOffset":1615,"count":0},{"startOffset":1616,"endOffset":1655,"count":0},{"startOffset":1662,"endOffset":1673,"count":0}],"isBlockCoverage":true},{"functionName":"prepareDiff","ranges":[{"startOffset":1696,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexProperty","ranges":[{"startOffset":2881,"endOffset":2949,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2953,"endOffset":3025,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3029,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3308,"endOffset":3811,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3815,"endOffset":3853,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveProperty","ranges":[{"startOffset":3981,"endOffset":4049,"count":24}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":4053,"endOffset":4328,"count":12},{"startOffset":4112,"endOffset":4126,"count":0},{"startOffset":4211,"endOffset":4227,"count":0},{"startOffset":4272,"endOffset":4281,"count":0}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":4332,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5018,"endOffset":6023,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6027,"endOffset":6079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"573","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2777,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":329,"endOffset":675,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":705,"endOffset":901,"count":0}],"isBlockCoverage":false},{"functionName":"SymbolValue","ranges":[{"startOffset":1012,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1115,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":1409,"endOffset":1540,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1544,"endOffset":1651,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":1655,"endOffset":1788,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1792,"endOffset":1956,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSymbolValue","ranges":[{"startOffset":2159,"endOffset":2232,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2236,"endOffset":2726,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":2730,"endOffset":2774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"574","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-string-escape/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":644,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":17,"endOffset":643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"575","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/well-known-symbols/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":800,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":672,"endOffset":689,"count":12}],"isBlockCoverage":true},{"functionName":"exports.isWellKnown","ranges":[{"startOffset":715,"endOffset":747,"count":0}],"isBlockCoverage":false},{"functionName":"exports.getLabel","ranges":[{"startOffset":767,"endOffset":799,"count":0}],"isBlockCoverage":false}]},{"scriptId":"576","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/bigInt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":906,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":714,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":718,"endOffset":758,"count":0}],"isBlockCoverage":false}]},{"scriptId":"577","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/boolean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":931,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":286,"count":0}],"isBlockCoverage":false},{"functionName":"BooleanValue","ranges":[{"startOffset":425,"endOffset":473,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":477,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":737,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":741,"endOffset":781,"count":0}],"isBlockCoverage":false}]},{"scriptId":"578","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/null.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":737,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":273,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":406,"endOffset":497,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":501,"endOffset":593,"count":0}],"isBlockCoverage":false}]},{"scriptId":"579","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/number.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":969,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":10}],"isBlockCoverage":true},{"functionName":"NumberValue","ranges":[{"startOffset":422,"endOffset":470,"count":10}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":5},{"startOffset":593,"endOffset":602,"count":0}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":777,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":781,"endOffset":821,"count":0}],"isBlockCoverage":false}]},{"scriptId":"580","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/undefined.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":421,"endOffset":512,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":516,"endOffset":618,"count":0}],"isBlockCoverage":false}]},{"scriptId":"581","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/shouldCompareDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":573,"count":1}],"isBlockCoverage":true},{"functionName":"shouldCompareDeep","ranges":[{"startOffset":206,"endOffset":537,"count":4},{"startOffset":297,"endOffset":535,"count":0}],"isBlockCoverage":true}]},{"scriptId":"582","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/symbolProperties.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2759,"count":1}],"isBlockCoverage":true},{"functionName":"Comparable","ranges":[{"startOffset":247,"endOffset":348,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":352,"endOffset":533,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":537,"endOffset":1293,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1297,"endOffset":2003,"count":0}],"isBlockCoverage":false},{"functionName":"Collector","ranges":[{"startOffset":2152,"endOffset":2288,"count":0}],"isBlockCoverage":false},{"functionName":"collectAll","ranges":[{"startOffset":2292,"endOffset":2538,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2542,"endOffset":2635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"583","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13805,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":630,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"compareComplexShape","ranges":[{"startOffset":642,"endOffset":1886,"count":0}],"isBlockCoverage":false},{"functionName":"diffDescriptors","ranges":[{"startOffset":1888,"endOffset":13605,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":13649,"endOffset":13784,"count":0}],"isBlockCoverage":false}]},{"scriptId":"584","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Indenter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":360,"count":1}],"isBlockCoverage":true},{"functionName":"Indenter","ranges":[{"startOffset":33,"endOffset":144,"count":1}],"isBlockCoverage":true},{"functionName":"increase","ranges":[{"startOffset":148,"endOffset":216,"count":0}],"isBlockCoverage":false},{"functionName":"decrease","ranges":[{"startOffset":220,"endOffset":288,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":292,"endOffset":331,"count":0}],"isBlockCoverage":false}]},{"scriptId":"585","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/format.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3075,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":241,"endOffset":251,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptor","ranges":[{"startOffset":295,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2953,"endOffset":3050,"count":0}],"isBlockCoverage":false}]},{"scriptId":"586","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/serialize.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12422,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4159,"endOffset":4194,"count":31}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4241,"endOffset":4276,"count":31}],"isBlockCoverage":true},{"functionName":"DescriptorSerializationError","ranges":[{"startOffset":4333,"endOffset":4487,"count":0}],"isBlockCoverage":false},{"functionName":"MissingPluginError","ranges":[{"startOffset":4534,"endOffset":4722,"count":0}],"isBlockCoverage":false},{"functionName":"PointerLookupError","ranges":[{"startOffset":4769,"endOffset":4936,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedPluginError","ranges":[{"startOffset":4987,"endOffset":5271,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedVersion","ranges":[{"startOffset":5373,"endOffset":5576,"count":0}],"isBlockCoverage":false},{"functionName":"shallowSerializeDescriptor","ranges":[{"startOffset":5580,"endOffset":5763,"count":0}],"isBlockCoverage":false},{"functionName":"serializeState","ranges":[{"startOffset":5765,"endOffset":6401,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6403,"endOffset":8213,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeState","ranges":[{"startOffset":8245,"endOffset":8564,"count":0}],"isBlockCoverage":false},{"functionName":"shallowDeserializeDescriptor","ranges":[{"startOffset":8566,"endOffset":8761,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeRecord","ranges":[{"startOffset":8763,"endOffset":9449,"count":0}],"isBlockCoverage":false},{"functionName":"buildPluginMap","ranges":[{"startOffset":9451,"endOffset":10790,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":10792,"endOffset":12387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"587","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/md5-hex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":406,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":66,"endOffset":404,"count":0}],"isBlockCoverage":false}]},{"scriptId":"588","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9570,"count":1}],"isBlockCoverage":true},{"functionName":"encodeInteger","ranges":[{"startOffset":689,"endOffset":828,"count":0}],"isBlockCoverage":false},{"functionName":"encodeValue","ranges":[{"startOffset":830,"endOffset":3045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeValue","ranges":[{"startOffset":3047,"endOffset":5534,"count":0}],"isBlockCoverage":false},{"functionName":"buildBuffer","ranges":[{"startOffset":5536,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6160,"endOffset":7889,"count":0}],"isBlockCoverage":false},{"functionName":"decodePlugins","ranges":[{"startOffset":7915,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"decodeRecord","ranges":[{"startOffset":8465,"endOffset":9182,"count":0}],"isBlockCoverage":false},{"functionName":"extractVersion","ranges":[{"startOffset":9220,"endOffset":9288,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":9330,"endOffset":9545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"589","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/flattenDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"flattenDeep","ranges":[{"startOffset":412,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"590","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFlatten.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1201,"count":1}],"isBlockCoverage":true},{"functionName":"baseFlatten","ranges":[{"startOffset":568,"endOffset":1169,"count":0}],"isBlockCoverage":false}]},{"scriptId":"591","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isFlattenable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1},{"startOffset":208,"endOffset":219,"count":0}],"isBlockCoverage":true},{"functionName":"isFlattenable","ranges":[{"startOffset":430,"endOffset":574,"count":0}],"isBlockCoverage":false}]},{"scriptId":"592","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/pointer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":617,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":63,"endOffset":120,"count":0}],"isBlockCoverage":false},{"functionName":"Pointer","ranges":[{"startOffset":249,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":392,"endOffset":435,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":439,"endOffset":479,"count":0}],"isBlockCoverage":false}]},{"scriptId":"593","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-error/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"isError","ranges":[{"startOffset":160,"endOffset":596,"count":0}],"isBlockCoverage":false}]},{"scriptId":"594","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7961,"count":1},{"startOffset":184,"endOffset":189,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":290,"endOffset":398,"count":70}],"isBlockCoverage":true},{"functionName":"StackUtils","ranges":[{"startOffset":581,"endOffset":1041,"count":1}],"isBlockCoverage":true},{"functionName":"nodeInternals","ranges":[{"startOffset":1052,"endOffset":1099,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":1103,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"captureString","ranges":[{"startOffset":2203,"endOffset":2601,"count":0}],"isBlockCoverage":false},{"functionName":"capture","ranges":[{"startOffset":2605,"endOffset":3178,"count":0}],"isBlockCoverage":false},{"functionName":"at","ranges":[{"startOffset":3182,"endOffset":4236,"count":0}],"isBlockCoverage":false},{"functionName":"parseLine","ranges":[{"startOffset":4240,"endOffset":6388,"count":0}],"isBlockCoverage":false},{"functionName":"setFile","ranges":[{"startOffset":6392,"endOffset":6629,"count":0}],"isBlockCoverage":false},{"functionName":"ignoredPackagesRegExp","ranges":[{"startOffset":6631,"endOffset":6913,"count":1},{"startOffset":6737,"endOffset":6912,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6778,"endOffset":6808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"595","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":236,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":85,"endOffset":234,"count":0}],"isBlockCoverage":false}]},{"scriptId":"596","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/cbor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2598,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":2526,"endOffset":2597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"597","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/commented.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8911,"count":1}],"isBlockCoverage":true},{"functionName":"plural","ranges":[{"startOffset":242,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1621,"endOffset":2061,"count":0}],"isBlockCoverage":false},{"functionName":"Commented","ranges":[{"startOffset":2313,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"_tag_24","ranges":[{"startOffset":3493,"endOffset":3678,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3682,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3766,"endOffset":3890,"count":0}],"isBlockCoverage":false},{"functionName":"comment","ranges":[{"startOffset":4466,"endOffset":5155,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":5184,"endOffset":5277,"count":0}],"isBlockCoverage":false},{"functionName":"_on_read","ranges":[{"startOffset":5306,"endOffset":5625,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":5654,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start_string","ranges":[{"startOffset":6407,"endOffset":6713,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":6742,"endOffset":7824,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":7853,"endOffset":7888,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":7918,"endOffset":8748,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":8777,"endOffset":8880,"count":0}],"isBlockCoverage":false}]},{"scriptId":"598","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8215,"count":1}],"isBlockCoverage":true},{"functionName":"exports.utf8","ranges":[{"startOffset":492,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":546,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"isBufferish","ranges":[{"startOffset":823,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"bufferishToBuffer","ranges":[{"startOffset":1098,"endOffset":1356,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORint","ranges":[{"startOffset":1381,"endOffset":1905,"count":0}],"isBlockCoverage":false},{"functionName":"writeHalf","ranges":[{"startOffset":1927,"endOffset":4036,"count":0}],"isBlockCoverage":false},{"functionName":"parseHalf","ranges":[{"startOffset":4058,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORfloat","ranges":[{"startOffset":4418,"endOffset":4687,"count":0}],"isBlockCoverage":false},{"functionName":"hex","ranges":[{"startOffset":4703,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"bin","ranges":[{"startOffset":4788,"endOffset":5042,"count":0}],"isBlockCoverage":false},{"functionName":"arrayEqual","ranges":[{"startOffset":5065,"endOffset":5279,"count":0}],"isBlockCoverage":false},{"functionName":"bufferToBigInt","ranges":[{"startOffset":5306,"endOffset":5382,"count":0}],"isBlockCoverage":false},{"functionName":"cborValueToString","ranges":[{"startOffset":5412,"endOffset":7059,"count":0}],"isBlockCoverage":false},{"functionName":"guessEncoding","ranges":[{"startOffset":7085,"endOffset":7418,"count":0}],"isBlockCoverage":false},{"functionName":"base64url","ranges":[{"startOffset":7657,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"base64","ranges":[{"startOffset":7965,"endOffset":8048,"count":0}],"isBlockCoverage":false},{"functionName":"isBigEndian","ranges":[{"startOffset":8072,"endOffset":8214,"count":0}],"isBlockCoverage":false}]},{"scriptId":"599","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nofilter/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28585,"count":1}],"isBlockCoverage":true},{"functionName":"NoFilter","ranges":[{"startOffset":3473,"endOffset":5501,"count":0}],"isBlockCoverage":false},{"functionName":"isNoFilter","ranges":[{"startOffset":5664,"endOffset":5716,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":6159,"endOffset":6351,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":7149,"endOffset":8408,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":8437,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"_bufArray","ranges":[{"startOffset":8811,"endOffset":9199,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":9982,"endOffset":10504,"count":0}],"isBlockCoverage":false},{"functionName":"readFull","ranges":[{"startOffset":10957,"endOffset":12088,"count":0}],"isBlockCoverage":false},{"functionName":"promise","ranges":[{"startOffset":12421,"endOffset":12847,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":13163,"endOffset":13614,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":13827,"endOffset":13883,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":14414,"endOffset":14924,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":15137,"endOffset":15184,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":15588,"endOffset":15702,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16207,"endOffset":16468,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16497,"endOffset":16823,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":16931,"endOffset":17040,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt","ranges":[{"startOffset":17265,"endOffset":17670,"count":0}],"isBlockCoverage":false},{"functionName":"readUBigInt","ranges":[{"startOffset":17884,"endOffset":18034,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt","ranges":[{"startOffset":18276,"endOffset":18596,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":18759,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19026,"endOffset":19133,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":19315,"endOffset":19422,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19609,"endOffset":19716,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":19900,"endOffset":20007,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":20172,"endOffset":20253,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":20438,"endOffset":20544,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":20726,"endOffset":20832,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":21021,"endOffset":21127,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":21313,"endOffset":21419,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatLE","ranges":[{"startOffset":21592,"endOffset":21697,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBE","ranges":[{"startOffset":21867,"endOffset":21972,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleLE","ranges":[{"startOffset":22146,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBE","ranges":[{"startOffset":22423,"endOffset":22530,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":22705,"endOffset":22816,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":22988,"endOffset":23099,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":23290,"endOffset":23403,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":23591,"endOffset":23704,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":23831,"endOffset":23955,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":24101,"endOffset":24231,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":24377,"endOffset":24507,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":24653,"endOffset":24783,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":24929,"endOffset":25059,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":25183,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":25449,"endOffset":25577,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":25721,"endOffset":25849,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":25993,"endOffset":26121,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":26265,"endOffset":26393,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatLE","ranges":[{"startOffset":26528,"endOffset":26656,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBE","ranges":[{"startOffset":26788,"endOffset":26916,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleLE","ranges":[{"startOffset":27051,"endOffset":27181,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBE","ranges":[{"startOffset":27313,"endOffset":27443,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":27586,"endOffset":27720,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":27860,"endOffset":27994,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":28140,"endOffset":28276,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":28419,"endOffset":28555,"count":0}],"isBlockCoverage":false}]},{"scriptId":"600","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1352,"count":1}],"isBlockCoverage":true}]},{"scriptId":"601","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/decoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20596,"count":1}],"isBlockCoverage":true},{"functionName":"parentArray","ranges":[{"startOffset":508,"endOffset":641,"count":0}],"isBlockCoverage":false},{"functionName":"parentBufferStream","ranges":[{"startOffset":643,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"UnexpectedDataError","ranges":[{"startOffset":831,"endOffset":996,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":3420,"endOffset":3794,"count":0}],"isBlockCoverage":false},{"functionName":"Decoder","ranges":[{"startOffset":4237,"endOffset":4930,"count":0}],"isBlockCoverage":false},{"functionName":"nullcheck","ranges":[{"startOffset":5301,"endOffset":5710,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirstSync","ranges":[{"startOffset":6389,"endOffset":7548,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAllSync","ranges":[{"startOffset":8073,"endOffset":8838,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirst","ranges":[{"startOffset":9562,"endOffset":11046,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAll","ranges":[{"startOffset":11770,"endOffset":12395,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12433,"endOffset":12495,"count":0}],"isBlockCoverage":false},{"functionName":"_onRead","ranges":[{"startOffset":12574,"endOffset":12625,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":12867,"endOffset":20537,"count":0}],"isBlockCoverage":false}]},{"scriptId":"602","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/vendor/binary-parse-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2692,"count":1}],"isBlockCoverage":true},{"functionName":"BinaryParseStream","ranges":[{"startOffset":1100,"endOffset":1513,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1517,"endOffset":2086,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":2331,"endOffset":2462,"count":0}],"isBlockCoverage":false},{"functionName":"__restart","ranges":[{"startOffset":2466,"endOffset":2566,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":2570,"endOffset":2653,"count":0}],"isBlockCoverage":false}]},{"scriptId":"603","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/tagged.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10762,"count":1},{"startOffset":7721,"endOffset":7750,"count":19}],"isBlockCoverage":true},{"functionName":"setBuffersToJSON","ranges":[{"startOffset":135,"endOffset":954,"count":0}],"isBlockCoverage":false},{"functionName":"b64this","ranges":[{"startOffset":956,"endOffset":1052,"count":0}],"isBlockCoverage":false},{"functionName":"b64urlThis","ranges":[{"startOffset":1054,"endOffset":1156,"count":0}],"isBlockCoverage":false},{"functionName":"hexThis","ranges":[{"startOffset":1158,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"swapEndian","ranges":[{"startOffset":1258,"endOffset":1667,"count":0}],"isBlockCoverage":false},{"functionName":"0","ranges":[{"startOffset":2409,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"1","ranges":[{"startOffset":2478,"endOffset":2501,"count":0}],"isBlockCoverage":false},{"functionName":"2","ranges":[{"startOffset":2548,"endOffset":2576,"count":0}],"isBlockCoverage":false},{"functionName":"3","ranges":[{"startOffset":2623,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"21","ranges":[{"startOffset":2752,"endOffset":2911,"count":0}],"isBlockCoverage":false},{"functionName":"22","ranges":[{"startOffset":2984,"endOffset":3137,"count":0}],"isBlockCoverage":false},{"functionName":"23","ranges":[{"startOffset":3218,"endOffset":3371,"count":0}],"isBlockCoverage":false},{"functionName":"32","ranges":[{"startOffset":3409,"endOffset":3424,"count":0}],"isBlockCoverage":false},{"functionName":"33","ranges":[{"startOffset":3468,"endOffset":4627,"count":0}],"isBlockCoverage":false},{"functionName":"34","ranges":[{"startOffset":4668,"endOffset":5867,"count":0}],"isBlockCoverage":false},{"functionName":"35","ranges":[{"startOffset":5920,"endOffset":5938,"count":0}],"isBlockCoverage":false},{"functionName":"258","ranges":[{"startOffset":6027,"endOffset":6042,"count":0}],"isBlockCoverage":false},{"functionName":"_toTypedArray","ranges":[{"startOffset":7009,"endOffset":7672,"count":0}],"isBlockCoverage":false},{"functionName":"Tagged","ranges":[{"startOffset":8277,"endOffset":8615,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":8619,"endOffset":8856,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":8953,"endOffset":9025,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":9189,"endOffset":9272,"count":0}],"isBlockCoverage":false},{"functionName":"convert","ranges":[{"startOffset":9824,"endOffset":10302,"count":0}],"isBlockCoverage":false},{"functionName":"get TAGS","ranges":[{"startOffset":10432,"endOffset":10472,"count":0}],"isBlockCoverage":false},{"functionName":"set TAGS","ranges":[{"startOffset":10483,"endOffset":10525,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":10642,"endOffset":10683,"count":1}],"isBlockCoverage":true}]},{"scriptId":"604","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/simple.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2695,"count":1}],"isBlockCoverage":true},{"functionName":"Simple","ranges":[{"startOffset":268,"endOffset":567,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":683,"endOffset":734,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":930,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":1190,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"isSimple","ranges":[{"startOffset":1403,"endOffset":1455,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":2071,"endOffset":2667,"count":0}],"isBlockCoverage":false}]},{"scriptId":"605","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/diagnose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6617,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeOptions","ranges":[{"startOffset":1886,"endOffset":2262,"count":0}],"isBlockCoverage":false},{"functionName":"Diagnose","ranges":[{"startOffset":2529,"endOffset":3414,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3418,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3509,"endOffset":3707,"count":0}],"isBlockCoverage":false},{"functionName":"diagnose","ranges":[{"startOffset":4122,"endOffset":4775,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":4804,"endOffset":4932,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":4954,"endOffset":5115,"count":0}],"isBlockCoverage":false},{"functionName":"_fore","ranges":[{"startOffset":5137,"endOffset":5507,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":5529,"endOffset":5751,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":5773,"endOffset":6194,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":6216,"endOffset":6519,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":6541,"endOffset":6587,"count":0}],"isBlockCoverage":false}]},{"scriptId":"606","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31613,"count":1}],"isBlockCoverage":true},{"functionName":"parseDateType","ranges":[{"startOffset":1747,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"Encoder","ranges":[{"startOffset":4631,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":6051,"endOffset":6261,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":6318,"endOffset":6350,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt8","ranges":[{"startOffset":6470,"endOffset":6576,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt16BE","ranges":[{"startOffset":6698,"endOffset":6810,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt32BE","ranges":[{"startOffset":6935,"endOffset":7047,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloatBE","ranges":[{"startOffset":7176,"endOffset":7286,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDoubleBE","ranges":[{"startOffset":7416,"endOffset":7528,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNaN","ranges":[{"startOffset":7598,"endOffset":7644,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInfinity","ranges":[{"startOffset":7770,"endOffset":7876,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloat","ranges":[{"startOffset":8142,"endOffset":9321,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInt","ranges":[{"startOffset":10074,"endOffset":10925,"count":0}],"isBlockCoverage":false},{"functionName":"_pushIntNum","ranges":[{"startOffset":11192,"endOffset":11409,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNumber","ranges":[{"startOffset":11531,"endOffset":11787,"count":0}],"isBlockCoverage":false},{"functionName":"_pushString","ranges":[{"startOffset":11900,"endOffset":12041,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoolean","ranges":[{"startOffset":12153,"endOffset":12223,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUndefined","ranges":[{"startOffset":12330,"endOffset":12752,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNull","ranges":[{"startOffset":12854,"endOffset":12907,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTag","ranges":[{"startOffset":13024,"endOffset":13081,"count":0}],"isBlockCoverage":false},{"functionName":"_pushJSBigint","ranges":[{"startOffset":13194,"endOffset":13960,"count":0}],"isBlockCoverage":false},{"functionName":"_pushObject","ranges":[{"startOffset":14109,"endOffset":16394,"count":0}],"isBlockCoverage":false},{"functionName":"_encodeAll","ranges":[{"startOffset":16551,"endOffset":16756,"count":0}],"isBlockCoverage":false},{"functionName":"addSemanticType","ranges":[{"startOffset":17172,"endOffset":17565,"count":0}],"isBlockCoverage":false},{"functionName":"pushAny","ranges":[{"startOffset":17771,"endOffset":18684,"count":0}],"isBlockCoverage":false},{"functionName":"pushArray","ranges":[{"startOffset":18990,"endOffset":19516,"count":0}],"isBlockCoverage":false},{"functionName":"removeLoopDetectors","ranges":[{"startOffset":19662,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDate","ranges":[{"startOffset":19947,"endOffset":20619,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBuffer","ranges":[{"startOffset":20774,"endOffset":20870,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNoFilter","ranges":[{"startOffset":21027,"endOffset":21129,"count":0}],"isBlockCoverage":false},{"functionName":"_pushRegexp","ranges":[{"startOffset":21284,"endOffset":21374,"count":0}],"isBlockCoverage":false},{"functionName":"_pushSet","ranges":[{"startOffset":21523,"endOffset":21783,"count":0}],"isBlockCoverage":false},{"functionName":"_pushURL","ranges":[{"startOffset":21932,"endOffset":22020,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoxed","ranges":[{"startOffset":22208,"endOffset":22272,"count":0}],"isBlockCoverage":false},{"functionName":"_pushMap","ranges":[{"startOffset":22469,"endOffset":24462,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTypedArray","ranges":[{"startOffset":24627,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"_pushArrayBuffer","ranges":[{"startOffset":25460,"endOffset":25546,"count":0}],"isBlockCoverage":false},{"functionName":"encodeIndefinite","ranges":[{"startOffset":26458,"endOffset":28127,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":28344,"endOffset":28407,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCanonical","ranges":[{"startOffset":28646,"endOffset":28748,"count":0}],"isBlockCoverage":false},{"functionName":"encodeOne","ranges":[{"startOffset":29014,"endOffset":29093,"count":0}],"isBlockCoverage":false},{"functionName":"encodeAsync","ranges":[{"startOffset":29664,"endOffset":29981,"count":0}],"isBlockCoverage":false},{"functionName":"get SEMANTIC_TYPES","ranges":[{"startOffset":30115,"endOffset":30175,"count":0}],"isBlockCoverage":false},{"functionName":"set SEMANTIC_TYPES","ranges":[{"startOffset":30186,"endOffset":30248,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":30375,"endOffset":30437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"607","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5186,"count":1}],"isBlockCoverage":true},{"functionName":"CborMap","ranges":[{"startOffset":952,"endOffset":999,"count":0}],"isBlockCoverage":false},{"functionName":"_encode","ranges":[{"startOffset":1035,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_decode","ranges":[{"startOffset":1148,"endOffset":1216,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1501,"endOffset":1558,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":1874,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":2283,"endOffset":2346,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":2687,"endOffset":2744,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":2978,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":3366,"endOffset":3472,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3725,"endOffset":3776,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":4173,"endOffset":4393,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":4557,"endOffset":5157,"count":0}],"isBlockCoverage":false}]},{"scriptId":"608","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/map-age-cleaner/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3903,"count":1}],"isBlockCoverage":true},{"functionName":"__awaiter","ranges":[{"startOffset":58,"endOffset":613,"count":0}],"isBlockCoverage":false},{"functionName":"__importDefault","ranges":[{"startOffset":671,"endOffset":752,"count":1},{"startOffset":723,"endOffset":728,"count":0}],"isBlockCoverage":true},{"functionName":"mapAgeCleaner","ranges":[{"startOffset":872,"endOffset":3774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"609","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-defer/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":177,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"610","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6750,"count":1}],"isBlockCoverage":true},{"functionName":"getId","ranges":[{"startOffset":492,"endOffset":749,"count":1},{"startOffset":664,"endOffset":747,"count":0}],"isBlockCoverage":true},{"functionName":"getTmpname","ranges":[{"startOffset":774,"endOffset":976,"count":0}],"isBlockCoverage":false},{"functionName":"cleanupOnExit","ranges":[{"startOffset":978,"endOffset":1161,"count":0}],"isBlockCoverage":false},{"functionName":"serializeActiveFile","ranges":[{"startOffset":1163,"endOffset":1550,"count":0}],"isBlockCoverage":false},{"functionName":"isChownErrOk","ranges":[{"startOffset":1633,"endOffset":1894,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileAsync","ranges":[{"startOffset":1896,"endOffset":4304,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4306,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":4680,"endOffset":6749,"count":0}],"isBlockCoverage":false}]},{"scriptId":"611","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/imurmurhash/imurmurhash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4412,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":443,"endOffset":4407,"count":1},{"startOffset":4352,"endOffset":4405,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3","ranges":[{"startOffset":811,"endOffset":1083,"count":1},{"startOffset":896,"endOffset":903,"count":0},{"startOffset":963,"endOffset":980,"count":0},{"startOffset":982,"endOffset":1018,"count":0},{"startOffset":1044,"endOffset":1077,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3.hash","ranges":[{"startOffset":1254,"endOffset":3073,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.result","ranges":[{"startOffset":3193,"endOffset":3797,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.reset","ranges":[{"startOffset":3937,"endOffset":4078,"count":1},{"startOffset":3997,"endOffset":4003,"count":0}],"isBlockCoverage":true}]},{"scriptId":"612","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9435,"count":1},{"startOffset":8597,"endOffset":8623,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":518,"endOffset":562,"count":0}],"isBlockCoverage":false},{"functionName":"processOk","ranges":[{"startOffset":585,"endOffset":952,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1130,"endOffset":2434,"count":1}],"isBlockCoverage":true},{"functionName":"Emitter","ranges":[{"startOffset":1325,"endOffset":1616,"count":1},{"startOffset":1375,"endOffset":1427,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":1621,"endOffset":1676,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":1681,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2045,"endOffset":2432,"count":0}],"isBlockCoverage":false},{"functionName":"signalExitWrap","ranges":[{"startOffset":2483,"endOffset":2732,"count":1}],"isBlockCoverage":true},{"functionName":"onExit","ranges":[{"startOffset":2519,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2602,"endOffset":2655,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2665,"endOffset":2722,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":2788,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2835,"endOffset":2845,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2850,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2865,"endOffset":8403,"count":1},{"startOffset":3070,"endOffset":3080,"count":0}],"isBlockCoverage":true},{"functionName":"SignalExit","ranges":[{"startOffset":3269,"endOffset":5206,"count":1},{"startOffset":3467,"endOffset":5088,"count":17}],"isBlockCoverage":true},{"functionName":"SignalExit.#sigListeners.","ranges":[{"startOffset":3507,"endOffset":5077,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":5211,"endOffset":5804,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5809,"endOffset":6637,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":6642,"endOffset":7393,"count":0}],"isBlockCoverage":false},{"functionName":"#processReallyExit","ranges":[{"startOffset":7398,"endOffset":7764,"count":0}],"isBlockCoverage":false},{"functionName":"#processEmit","ranges":[{"startOffset":7769,"endOffset":8401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"613","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1560,"count":1}],"isBlockCoverage":true}]},{"scriptId":"614","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/irregular-plurals/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":137,"count":1}],"isBlockCoverage":true}]},{"scriptId":"615","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/state.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":150,"count":1}],"isBlockCoverage":true}]},{"scriptId":"616","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/channel.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7151,"count":1},{"startOffset":2661,"endOffset":2770,"count":0}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":303,"endOffset":1131,"count":2},{"startOffset":747,"endOffset":1129,"count":0}],"isBlockCoverage":true},{"functionName":"addToBuffer","ranges":[{"startOffset":510,"endOffset":540,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":975,"endOffset":1022,"count":0}],"isBlockCoverage":false},{"functionName":"selectAvaMessage","ranges":[{"startOffset":1159,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1167,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"RefCounter","ranges":[{"startOffset":1241,"endOffset":1277,"count":1}],"isBlockCoverage":true},{"functionName":"refAndTest","ranges":[{"startOffset":1280,"endOffset":1326,"count":2}],"isBlockCoverage":true},{"functionName":"testAndUnref","ranges":[{"startOffset":1329,"endOffset":1395,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortHandle","ranges":[{"startOffset":1426,"endOffset":1746,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1719,"endOffset":1727,"count":0}],"isBlockCoverage":false},{"functionName":"forceUnref","ranges":[{"startOffset":1749,"endOffset":1899,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":1902,"endOffset":2040,"count":2}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":2043,"endOffset":2179,"count":2}],"isBlockCoverage":true},{"functionName":"send","ranges":[{"startOffset":2182,"endOffset":2264,"count":23}],"isBlockCoverage":true},{"functionName":"IpcHandle","ranges":[{"startOffset":2287,"endOffset":2409,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":2412,"endOffset":2487,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":2490,"endOffset":2571,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2574,"endOffset":2616,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3157,"endOffset":3187,"count":0}],"isBlockCoverage":false},{"functionName":"flush","ranges":[{"startOffset":3456,"endOffset":3749,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3531,"endOffset":3704,"count":1}],"isBlockCoverage":true},{"functionName":"createChannelEmitter","ranges":[{"startOffset":3859,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"registerSharedWorker","ranges":[{"startOffset":4406,"endOffset":7096,"count":0}],"isBlockCoverage":false}]},{"scriptId":"617","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/utils.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true}]},{"scriptId":"618","url":"node:internal/modules/esm/initialize_import_meta","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1960,"count":1}],"isBlockCoverage":false},{"functionName":"createImportMetaResolve","ranges":[{"startOffset":617,"endOffset":1368,"count":3}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":880,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"initializeImportMeta","ranges":[{"startOffset":1633,"endOffset":1912,"count":3}],"isBlockCoverage":true}]},{"scriptId":"619","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/options.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":278,"count":1}],"isBlockCoverage":true},{"functionName":"exports.get","ranges":[{"startOffset":48,"endOffset":147,"count":0}],"isBlockCoverage":false},{"functionName":"exports.set","ranges":[{"startOffset":164,"endOffset":276,"count":1},{"startOffset":194,"endOffset":250,"count":0}],"isBlockCoverage":true}]},{"scriptId":"620","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-event/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6062,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeEmitter","ranges":[{"startOffset":60,"endOffset":453,"count":3},{"startOffset":105,"endOffset":127,"count":0},{"startOffset":128,"endOffset":155,"count":0},{"startOffset":193,"endOffset":218,"count":0},{"startOffset":219,"endOffset":249,"count":0},{"startOffset":290,"endOffset":346,"count":0}],"isBlockCoverage":true},{"functionName":"pEventMultiple","ranges":[{"startOffset":463,"endOffset":2125,"count":3},{"startOffset":1994,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":560,"endOffset":1917,"count":3},{"startOffset":812,"endOffset":892,"count":0},{"startOffset":1890,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"onItem","ranges":[{"startOffset":1060,"endOffset":1389,"count":3},{"startOffset":1116,"endOffset":1128,"count":0},{"startOffset":1263,"endOffset":1281,"count":2},{"startOffset":1281,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"rejectHandler","ranges":[{"startOffset":1416,"endOffset":1461,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":1475,"endOffset":1675,"count":1}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":2134,"endOffset":2551,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2421,"endOffset":2438,"count":1}],"isBlockCoverage":true},{"functionName":"pEventIterator","ranges":[{"startOffset":2560,"endOffset":6020,"count":0}],"isBlockCoverage":false}]},{"scriptId":"621","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@ava/typescript/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8330,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":352,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"validate","ranges":[{"startOffset":478,"endOffset":1131,"count":0}],"isBlockCoverage":false},{"functionName":"compileTypeScript","ranges":[{"startOffset":1133,"endOffset":1260,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1321,"endOffset":1393,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1436,"endOffset":1654,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1696,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"typescriptProvider","ranges":[{"startOffset":2093,"endOffset":8329,"count":1},{"startOffset":2251,"endOffset":2265,"count":0}],"isBlockCoverage":true},{"functionName":"main","ranges":[{"startOffset":2279,"endOffset":7324,"count":0}],"isBlockCoverage":false},{"functionName":"worker","ranges":[{"startOffset":7329,"endOffset":8322,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7526,"endOffset":7556,"count":3}],"isBlockCoverage":true},{"functionName":"canLoad","ranges":[{"startOffset":7591,"endOffset":7707,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7667,"endOffset":7699,"count":2}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":7714,"endOffset":8311,"count":1},{"startOffset":7935,"endOffset":8023,"count":0},{"startOffset":8055,"endOffset":8118,"count":0},{"startOffset":8247,"endOffset":8281,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7787,"endOffset":7819,"count":2}],"isBlockCoverage":true}]},{"scriptId":"622","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-timeout/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2513,"count":1}],"isBlockCoverage":true},{"functionName":"TimeoutError","ranges":[{"startOffset":43,"endOffset":116,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":315,"endOffset":405,"count":0}],"isBlockCoverage":false},{"functionName":"getDOMException","ranges":[{"startOffset":516,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"getAbortedReason","ranges":[{"startOffset":755,"endOffset":951,"count":0}],"isBlockCoverage":false},{"functionName":"pTimeout","ranges":[{"startOffset":969,"endOffset":2512,"count":0}],"isBlockCoverage":false}]},{"scriptId":"623","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7897,"count":1}],"isBlockCoverage":true},{"functionName":"getEnv","ranges":[{"startOffset":955,"endOffset":1187,"count":0}],"isBlockCoverage":false},{"functionName":"handleArguments","ranges":[{"startOffset":1214,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"handleOutput","ranges":[{"startOffset":1965,"endOffset":2268,"count":0}],"isBlockCoverage":false},{"functionName":"execa","ranges":[{"startOffset":2278,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"execaSync","ranges":[{"startOffset":4687,"endOffset":6032,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptStdin","ranges":[{"startOffset":6063,"endOffset":6191,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptOptions","ranges":[{"startOffset":6225,"endOffset":6316,"count":0}],"isBlockCoverage":false},{"functionName":"create$","ranges":[{"startOffset":6319,"endOffset":6973,"count":1}],"isBlockCoverage":true},{"functionName":"$","ranges":[{"startOffset":6348,"endOffset":6640,"count":0}],"isBlockCoverage":false},{"functionName":"$.sync","ranges":[{"startOffset":6652,"endOffset":6958,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommand","ranges":[{"startOffset":7011,"endOffset":7138,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommandSync","ranges":[{"startOffset":7147,"endOffset":7282,"count":0}],"isBlockCoverage":false},{"functionName":"execaNode","ranges":[{"startOffset":7291,"endOffset":7896,"count":0}],"isBlockCoverage":false}]},{"scriptId":"624","url":"node:child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27198,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1936,"endOffset":1965,"count":0}],"isBlockCoverage":false},{"functionName":"fork","ranges":[{"startOffset":3430,"endOffset":5105,"count":0}],"isBlockCoverage":false},{"functionName":"_forkChild","ranges":[{"startOffset":5107,"endOffset":5596,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecArgs","ranges":[{"startOffset":5598,"endOffset":6112,"count":0}],"isBlockCoverage":false},{"functionName":"exec","ranges":[{"startOffset":6649,"endOffset":6896,"count":0}],"isBlockCoverage":false},{"functionName":"customPromiseExecFunction","ranges":[{"startOffset":6932,"endOffset":7296,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6953,"endOffset":7293,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecFileArgs","ranges":[{"startOffset":7433,"endOffset":8331,"count":0}],"isBlockCoverage":false},{"functionName":"execFile","ranges":[{"startOffset":8944,"endOffset":13708,"count":0}],"isBlockCoverage":false},{"functionName":"copyProcessEnvToEnv","ranges":[{"startOffset":13852,"endOffset":14052,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeSpawnArguments","ranges":[{"startOffset":14054,"endOffset":19321,"count":0}],"isBlockCoverage":false},{"functionName":"abortChildProcess","ranges":[{"startOffset":19323,"endOffset":19579,"count":0}],"isBlockCoverage":false},{"functionName":"spawn","ranges":[{"startOffset":20134,"endOffset":21334,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":22094,"endOffset":23602,"count":0}],"isBlockCoverage":false},{"functionName":"checkExecSyncError","ranges":[{"startOffset":23605,"endOffset":23991,"count":0}],"isBlockCoverage":false},{"functionName":"execFileSync","ranges":[{"startOffset":24504,"endOffset":24968,"count":0}],"isBlockCoverage":false},{"functionName":"execSync","ranges":[{"startOffset":25466,"endOffset":25842,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentNullCheck","ranges":[{"startOffset":25845,"endOffset":26068,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentsNullCheck","ranges":[{"startOffset":26071,"endOffset":26233,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":26236,"endOffset":26424,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBuffer","ranges":[{"startOffset":26427,"endOffset":26700,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeKillSignal","ranges":[{"startOffset":26703,"endOffset":27066,"count":0}],"isBlockCoverage":false}]},{"scriptId":"625","url":"node:internal/child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31777,"count":1}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2500,"endOffset":2559,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2566,"endOffset":2620,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2682,"endOffset":2749,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2756,"endOffset":2897,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2927,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"postSend","ranges":[{"startOffset":4488,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5241,"endOffset":5698,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5763,"endOffset":5822,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5829,"endOffset":5883,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5948,"endOffset":6068,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":6075,"endOffset":6234,"count":0}],"isBlockCoverage":false},{"functionName":"stdioStringToArray","ranges":[{"startOffset":6245,"endOffset":6660,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess","ranges":[{"startOffset":6662,"endOffset":8151,"count":0}],"isBlockCoverage":false},{"functionName":"flushStdio","ranges":[{"startOffset":8274,"endOffset":8752,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":8755,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"getHandleWrapType","ranges":[{"startOffset":8848,"endOffset":9077,"count":0}],"isBlockCoverage":false},{"functionName":"closePendingHandle","ranges":[{"startOffset":9079,"endOffset":9192,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.spawn","ranges":[{"startOffset":9226,"endOffset":12793,"count":0}],"isBlockCoverage":false},{"functionName":"onErrorNT","ranges":[{"startOffset":12797,"endOffset":12858,"count":0}],"isBlockCoverage":false},{"functionName":"onSpawnNT","ranges":[{"startOffset":12861,"endOffset":12911,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.kill","ranges":[{"startOffset":12944,"endOffset":13609,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.","ranges":[{"startOffset":13652,"endOffset":13709,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.ref","ranges":[{"startOffset":13742,"endOffset":13796,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.unref","ranges":[{"startOffset":13831,"endOffset":13887,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13890,"endOffset":14887,"count":0}],"isBlockCoverage":false},{"functionName":"setupChannel","ranges":[{"startOffset":15035,"endOffset":27155,"count":0}],"isBlockCoverage":false},{"functionName":"isInternal","ranges":[{"startOffset":27190,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"getValidStdio","ranges":[{"startOffset":27534,"endOffset":30459,"count":0}],"isBlockCoverage":false},{"functionName":"getSocketList","ranges":[{"startOffset":30462,"endOffset":30778,"count":0}],"isBlockCoverage":false},{"functionName":"maybeClose","ranges":[{"startOffset":30781,"endOffset":30982,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":30984,"endOffset":31651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"626","url":"node:dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28253,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCluster","ranges":[{"startOffset":2824,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":3031,"endOffset":4459,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":4570,"endOffset":4648,"count":0}],"isBlockCoverage":false},{"functionName":"startListening","ranges":[{"startOffset":4651,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"replaceHandle","ranges":[{"startOffset":5096,"endOffset":5661,"count":0}],"isBlockCoverage":false},{"functionName":"bufferSize","ranges":[{"startOffset":5663,"endOffset":5955,"count":0}],"isBlockCoverage":false},{"functionName":"bindServerHandle","ranges":[{"startOffset":6023,"endOffset":6433,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.bind","ranges":[{"startOffset":6459,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":9932,"endOffset":10728,"count":0}],"isBlockCoverage":false},{"functionName":"_connect","ranges":[{"startOffset":10732,"endOffset":11078,"count":0}],"isBlockCoverage":false},{"functionName":"doConnect","ranges":[{"startOffset":11081,"endOffset":11723,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.disconnect","ranges":[{"startOffset":11756,"endOffset":12063,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.sendto","ranges":[{"startOffset":12168,"endOffset":12609,"count":0}],"isBlockCoverage":false},{"functionName":"sliceBuffer","ranges":[{"startOffset":12613,"endOffset":13373,"count":0}],"isBlockCoverage":false},{"functionName":"fixBufferList","ranges":[{"startOffset":13376,"endOffset":13760,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":13763,"endOffset":14190,"count":0}],"isBlockCoverage":false},{"functionName":"onListenSuccess","ranges":[{"startOffset":14193,"endOffset":14331,"count":0}],"isBlockCoverage":false},{"functionName":"onListenError","ranges":[{"startOffset":14334,"endOffset":14458,"count":0}],"isBlockCoverage":false},{"functionName":"clearQueue","ranges":[{"startOffset":14461,"endOffset":14658,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.send","ranges":[{"startOffset":15229,"endOffset":18122,"count":0}],"isBlockCoverage":false},{"functionName":"doSend","ranges":[{"startOffset":18125,"endOffset":19264,"count":0}],"isBlockCoverage":false},{"functionName":"afterSend","ranges":[{"startOffset":19266,"endOffset":19443,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.close","ranges":[{"startOffset":19470,"endOffset":20038,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":20080,"endOffset":20213,"count":0}],"isBlockCoverage":false},{"functionName":"socketCloseNT","ranges":[{"startOffset":20217,"endOffset":20271,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":20301,"endOffset":20491,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.remoteAddress","ranges":[{"startOffset":20527,"endOffset":20837,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setBroadcast","ranges":[{"startOffset":20873,"endOffset":21021,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setTTL","ranges":[{"startOffset":21051,"endOffset":21225,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastTTL","ranges":[{"startOffset":21264,"endOffset":21456,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastLoopback","ranges":[{"startOffset":21500,"endOffset":21700,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastInterface","ranges":[{"startOffset":21745,"endOffset":22007,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addMembership","ranges":[{"startOffset":22043,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropMembership","ranges":[{"startOffset":22455,"endOffset":22832,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addSourceSpecificMembership","ranges":[{"startOffset":22882,"endOffset":23489,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropSourceSpecificMembership","ranges":[{"startOffset":23541,"endOffset":24154,"count":0}],"isBlockCoverage":false},{"functionName":"healthCheck","ranges":[{"startOffset":24158,"endOffset":24321,"count":0}],"isBlockCoverage":false},{"functionName":"stopReceiving","ranges":[{"startOffset":24324,"endOffset":24488,"count":0}],"isBlockCoverage":false},{"functionName":"onMessage","ranges":[{"startOffset":24491,"endOffset":24745,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":24748,"endOffset":24863,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":24889,"endOffset":24996,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":25025,"endOffset":25134,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setRecvBufferSize","ranges":[{"startOffset":25175,"endOffset":25232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setSendBufferSize","ranges":[{"startOffset":25273,"endOffset":25330,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getRecvBufferSize","ranges":[{"startOffset":25371,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendBufferSize","ranges":[{"startOffset":25469,"endOffset":25526,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueSize","ranges":[{"startOffset":25565,"endOffset":25634,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueCount","ranges":[{"startOffset":25674,"endOffset":25744,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25863,"endOffset":25917,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25990,"endOffset":26046,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26199,"endOffset":26256,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26332,"endOffset":26391,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26547,"endOffset":26604,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26680,"endOffset":26739,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26891,"endOffset":26944,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27016,"endOffset":27071,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27223,"endOffset":27280,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27356,"endOffset":27415,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27522,"endOffset":27557,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27666,"endOffset":27703,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27988,"endOffset":28024,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":28028,"endOffset":28069,"count":0}],"isBlockCoverage":false}]},{"scriptId":"627","url":"node:internal/dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1851,"count":1}],"isBlockCoverage":false},{"functionName":"lookup4","ranges":[{"startOffset":478,"endOffset":579,"count":0}],"isBlockCoverage":false},{"functionName":"lookup6","ranges":[{"startOffset":582,"endOffset":677,"count":0}],"isBlockCoverage":false},{"functionName":"newHandle","ranges":[{"startOffset":679,"endOffset":1323,"count":0}],"isBlockCoverage":false},{"functionName":"_createSocketHandle","ranges":[{"startOffset":1326,"endOffset":1774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"628","url":"node:internal/socket_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2709,"count":1}],"isBlockCoverage":false},{"functionName":"SocketListSend","ranges":[{"startOffset":235,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"_request","ranges":[{"startOffset":380,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":1039,"endOffset":1190,"count":0}],"isBlockCoverage":false},{"functionName":"getConnections","ranges":[{"startOffset":1194,"endOffset":1430,"count":0}],"isBlockCoverage":false},{"functionName":"SocketListReceive","ranges":[{"startOffset":1544,"endOffset":2404,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":2408,"endOffset":2649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"629","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/strip-final-newline/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":347,"count":1}],"isBlockCoverage":true},{"functionName":"stripFinalNewline","ranges":[{"startOffset":15,"endOffset":346,"count":0}],"isBlockCoverage":false}]},{"scriptId":"630","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":938,"count":1}],"isBlockCoverage":true},{"functionName":"npmRunPath","ranges":[{"startOffset":134,"endOffset":741,"count":0}],"isBlockCoverage":false},{"functionName":"npmRunPathEnv","ranges":[{"startOffset":750,"endOffset":937,"count":0}],"isBlockCoverage":false}]},{"scriptId":"631","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/onetime/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1022,"count":1}],"isBlockCoverage":true},{"functionName":"onetime","ranges":[{"startOffset":95,"endOffset":767,"count":0}],"isBlockCoverage":false},{"functionName":"onetime.callCount","ranges":[{"startOffset":790,"endOffset":995,"count":0}],"isBlockCoverage":false}]},{"scriptId":"632","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2204,"count":1}],"isBlockCoverage":true},{"functionName":"getErrorPrefix","ranges":[{"startOffset":105,"endOffset":580,"count":0}],"isBlockCoverage":false},{"functionName":"makeError","ranges":[{"startOffset":608,"endOffset":2202,"count":0}],"isBlockCoverage":false}]},{"scriptId":"633","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stdio.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1157,"count":1}],"isBlockCoverage":true},{"functionName":"hasAlias","ranges":[{"startOffset":65,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdio","ranges":[{"startOffset":160,"endOffset":794,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdioNode","ranges":[{"startOffset":879,"endOffset":1155,"count":0}],"isBlockCoverage":false}]},{"scriptId":"634","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/kill.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2983,"count":1}],"isBlockCoverage":true},{"functionName":"spawnedKill","ranges":[{"startOffset":214,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"setKillTimeout","ranges":[{"startOffset":393,"endOffset":844,"count":0}],"isBlockCoverage":false},{"functionName":"shouldForceKill","ranges":[{"startOffset":871,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"isSigterm","ranges":[{"startOffset":1007,"endOffset":1128,"count":0}],"isBlockCoverage":false},{"functionName":"getForceKillAfterTimeout","ranges":[{"startOffset":1164,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"spawnedCancel","ranges":[{"startOffset":1623,"endOffset":1736,"count":0}],"isBlockCoverage":false},{"functionName":"timeoutKill","ranges":[{"startOffset":1759,"endOffset":1888,"count":0}],"isBlockCoverage":false},{"functionName":"setupTimeout","ranges":[{"startOffset":1948,"endOffset":2417,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":2451,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"setExitHandler","ranges":[{"startOffset":2737,"endOffset":2981,"count":0}],"isBlockCoverage":false}]},{"scriptId":"635","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/pipe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1194,"count":1}],"isBlockCoverage":true},{"functionName":"isExecaChildProcess","ranges":[{"startOffset":165,"endOffset":242,"count":0}],"isBlockCoverage":false},{"functionName":"pipeToTarget","ranges":[{"startOffset":266,"endOffset":826,"count":0}],"isBlockCoverage":false},{"functionName":"addPipeMethods","ranges":[{"startOffset":859,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"636","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2958,"count":1}],"isBlockCoverage":true},{"functionName":"validateInputOptions","ranges":[{"startOffset":198,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"getInputSync","ranges":[{"startOffset":347,"endOffset":495,"count":0}],"isBlockCoverage":false},{"functionName":"handleInputSync","ranges":[{"startOffset":576,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getInput","ranges":[{"startOffset":769,"endOffset":921,"count":0}],"isBlockCoverage":false},{"functionName":"handleInput","ranges":[{"startOffset":999,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"makeAllStream","ranges":[{"startOffset":1270,"endOffset":1518,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedData","ranges":[{"startOffset":1632,"endOffset":1940,"count":0}],"isBlockCoverage":false},{"functionName":"getStreamPromise","ranges":[{"startOffset":1968,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedResult","ranges":[{"startOffset":2300,"endOffset":2956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"637","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1109,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":91,"endOffset":105,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":186,"endOffset":281,"count":3}],"isBlockCoverage":true},{"functionName":"mergePromise","ranges":[{"startOffset":376,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedPromise","ranges":[{"startOffset":835,"endOffset":1107,"count":0}],"isBlockCoverage":false}]},{"scriptId":"638","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/command.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3071,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeArgs","ranges":[{"startOffset":108,"endOffset":207,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArg","ranges":[{"startOffset":302,"endOffset":449,"count":0}],"isBlockCoverage":false},{"functionName":"joinCommand","ranges":[{"startOffset":479,"endOffset":530,"count":0}],"isBlockCoverage":false},{"functionName":"getEscapedCommand","ranges":[{"startOffset":566,"endOffset":644,"count":0}],"isBlockCoverage":false},{"functionName":"parseCommand","ranges":[{"startOffset":732,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"parseExpression","ranges":[{"startOffset":1209,"endOffset":1923,"count":0}],"isBlockCoverage":false},{"functionName":"concatTokens","ranges":[{"startOffset":1947,"endOffset":2173,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplate","ranges":[{"startOffset":2198,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplates","ranges":[{"startOffset":2865,"endOffset":3068,"count":0}],"isBlockCoverage":false}]},{"scriptId":"639","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/verbose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"padField","ranges":[{"startOffset":148,"endOffset":204,"count":0}],"isBlockCoverage":false},{"functionName":"getTimestamp","ranges":[{"startOffset":228,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"logCommand","ranges":[{"startOffset":442,"endOffset":573,"count":0}],"isBlockCoverage":false}]},{"scriptId":"640","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":263,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":15,"endOffset":262,"count":0}],"isBlockCoverage":false}]},{"scriptId":"641","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/main.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1214,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalsByName","ranges":[{"startOffset":134,"endOffset":226,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalByName","ranges":[{"startOffset":251,"endOffset":386,"count":69}],"isBlockCoverage":true},{"functionName":"getSignalsByNumber","ranges":[{"startOffset":465,"endOffset":652,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":559,"endOffset":609,"count":65}],"isBlockCoverage":true},{"functionName":"getSignalByNumber","ranges":[{"startOffset":679,"endOffset":939,"count":65},{"startOffset":771,"endOffset":784,"count":3},{"startOffset":784,"endOffset":938,"count":62}],"isBlockCoverage":true},{"functionName":"findSignalByNumber","ranges":[{"startOffset":969,"endOffset":1161,"count":65},{"startOffset":1083,"endOffset":1101,"count":31},{"startOffset":1101,"endOffset":1160,"count":34}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1015,"endOffset":1057,"count":2919}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1123,"endOffset":1157,"count":1881}],"isBlockCoverage":true}]},{"scriptId":"642","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":746,"count":1}],"isBlockCoverage":true},{"functionName":"isStream","ranges":[{"startOffset":7,"endOffset":132,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":141,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":332,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexStream","ranges":[{"startOffset":522,"endOffset":621,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":630,"endOffset":745,"count":0}],"isBlockCoverage":false}]},{"scriptId":"643","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/realtime.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":353,"count":1}],"isBlockCoverage":true},{"functionName":"getRealtimeSignals","ranges":[{"startOffset":33,"endOffset":121,"count":2}],"isBlockCoverage":true},{"functionName":"getRealtimeSignal","ranges":[{"startOffset":148,"endOffset":306,"count":62}],"isBlockCoverage":true}]},{"scriptId":"644","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1}],"isBlockCoverage":true},{"functionName":"getSignals","ranges":[{"startOffset":139,"endOffset":274,"count":2}],"isBlockCoverage":true},{"functionName":"normalizeSignal","ranges":[{"startOffset":305,"endOffset":602,"count":138},{"startOffset":504,"endOffset":519,"count":66},{"startOffset":519,"endOffset":533,"count":72}],"isBlockCoverage":true}]},{"scriptId":"645","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4126,"count":1}],"isBlockCoverage":true}]},{"scriptId":"646","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1}],"isBlockCoverage":true},{"functionName":"spawn","ranges":[{"startOffset":131,"endOffset":589,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":591,"endOffset":1038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"647","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3065,"count":1}],"isBlockCoverage":true},{"functionName":"detectShebang","ranges":[{"startOffset":354,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"parseNonShell","ranges":[{"startOffset":661,"endOffset":2367,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":2369,"endOffset":3039,"count":0}],"isBlockCoverage":false}]},{"scriptId":"648","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/resolveCommand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1557,"count":1}],"isBlockCoverage":true},{"functionName":"resolveCommandAttempt","ranges":[{"startOffset":118,"endOffset":1404,"count":0}],"isBlockCoverage":false},{"functionName":"resolveCommand","ranges":[{"startOffset":1406,"endOffset":1522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"649","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/which/which.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3163,"count":1},{"startOffset":177,"endOffset":182,"count":0}],"isBlockCoverage":true},{"functionName":"getNotFoundError","ranges":[{"startOffset":246,"endOffset":322,"count":0}],"isBlockCoverage":false},{"functionName":"getPathInfo","ranges":[{"startOffset":344,"endOffset":1152,"count":0}],"isBlockCoverage":false},{"functionName":"which","ranges":[{"startOffset":1168,"endOffset":2279,"count":0}],"isBlockCoverage":false},{"functionName":"whichSync","ranges":[{"startOffset":2299,"endOffset":3115,"count":0}],"isBlockCoverage":false}]},{"scriptId":"650","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1},{"startOffset":92,"endOffset":128,"count":0}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":211,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":930,"endOffset":1191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"651","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/mode.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":909,"count":1}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":66,"endOffset":197,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":199,"endOffset":279,"count":0}],"isBlockCoverage":false},{"functionName":"checkStat","ranges":[{"startOffset":281,"endOffset":370,"count":0}],"isBlockCoverage":false},{"functionName":"checkMode","ranges":[{"startOffset":372,"endOffset":908,"count":0}],"isBlockCoverage":false}]},{"scriptId":"652","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":415,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":31,"endOffset":304,"count":0}],"isBlockCoverage":false}]},{"scriptId":"653","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/escape.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"escapeCommand","ranges":[{"startOffset":121,"endOffset":241,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArgument","ranges":[{"startOffset":243,"endOffset":1088,"count":0}],"isBlockCoverage":false}]},{"scriptId":"654","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/readShebang.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":549,"count":1}],"isBlockCoverage":true},{"functionName":"readShebang","ranges":[{"startOffset":93,"endOffset":517,"count":0}],"isBlockCoverage":false}]},{"scriptId":"655","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-command/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":387,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":79,"endOffset":385,"count":0}],"isBlockCoverage":false}]},{"scriptId":"656","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":42,"count":1}],"isBlockCoverage":true}]},{"scriptId":"657","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/enoent.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1480,"count":1}],"isBlockCoverage":true},{"functionName":"notFoundError","ranges":[{"startOffset":60,"endOffset":358,"count":0}],"isBlockCoverage":false},{"functionName":"hookChildProcess","ranges":[{"startOffset":360,"endOffset":1023,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENT","ranges":[{"startOffset":1025,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENTSync","ranges":[{"startOffset":1197,"endOffset":1375,"count":0}],"isBlockCoverage":false}]},{"scriptId":"658","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5708,"count":1},{"startOffset":778,"endOffset":844,"count":0},{"startOffset":1059,"endOffset":1089,"count":0},{"startOffset":1144,"endOffset":1195,"count":0}],"isBlockCoverage":true},{"functionName":"processOk","ranges":[{"startOffset":293,"endOffset":677,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":799,"endOffset":842,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1703,"endOffset":2301,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2318,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2724,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3001,"endOffset":3890,"count":18}],"isBlockCoverage":true},{"functionName":"listener","ranges":[{"startOffset":3042,"endOffset":3886,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.signals","ranges":[{"startOffset":3920,"endOffset":3956,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":3993,"endOffset":4602,"count":0}],"isBlockCoverage":false},{"functionName":"processReallyExit","ranges":[{"startOffset":4712,"endOffset":5108,"count":0}],"isBlockCoverage":false},{"functionName":"processEmit","ranges":[{"startOffset":5171,"endOffset":5705,"count":0}],"isBlockCoverage":false}]},{"scriptId":"659","url":"node:assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31879,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadComparison","ranges":[{"startOffset":2704,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":3469,"endOffset":3517,"count":0}],"isBlockCoverage":false},{"functionName":"innerFail","ranges":[{"startOffset":4071,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":4348,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"findColumn","ranges":[{"startOffset":5445,"endOffset":6385,"count":0}],"isBlockCoverage":false},{"functionName":"getCode","ranges":[{"startOffset":6387,"endOffset":8032,"count":0}],"isBlockCoverage":false},{"functionName":"parseCode","ranges":[{"startOffset":8034,"endOffset":9451,"count":0}],"isBlockCoverage":false},{"functionName":"getErrMessage","ranges":[{"startOffset":9453,"endOffset":12547,"count":0}],"isBlockCoverage":false},{"functionName":"innerOk","ranges":[{"startOffset":12549,"endOffset":13157,"count":1},{"startOffset":12610,"endOffset":13155,"count":0}],"isBlockCoverage":true},{"functionName":"ok","ranges":[{"startOffset":13290,"endOffset":13351,"count":1}],"isBlockCoverage":true},{"functionName":"equal","ranges":[{"startOffset":13610,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"notEqual","ranges":[{"startOffset":14201,"endOffset":14577,"count":0}],"isBlockCoverage":false},{"functionName":"deepEqual","ranges":[{"startOffset":14777,"endOffset":15142,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepEqual","ranges":[{"startOffset":15348,"endOffset":15721,"count":0}],"isBlockCoverage":false},{"functionName":"deepStrictEqual","ranges":[{"startOffset":15964,"endOffset":16353,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepStrictEqual","ranges":[{"startOffset":16602,"endOffset":16999,"count":0}],"isBlockCoverage":false},{"functionName":"strictEqual","ranges":[{"startOffset":17204,"endOffset":17517,"count":0}],"isBlockCoverage":false},{"functionName":"notStrictEqual","ranges":[{"startOffset":17729,"endOffset":18050,"count":0}],"isBlockCoverage":false},{"functionName":"Comparison","ranges":[{"startOffset":18074,"endOffset":18456,"count":0}],"isBlockCoverage":false},{"functionName":"compareExceptionKey","ranges":[{"startOffset":18460,"endOffset":19179,"count":0}],"isBlockCoverage":false},{"functionName":"expectedException","ranges":[{"startOffset":19181,"endOffset":22585,"count":0}],"isBlockCoverage":false},{"functionName":"getActual","ranges":[{"startOffset":22587,"endOffset":22727,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsPromise","ranges":[{"startOffset":22729,"endOffset":23093,"count":0}],"isBlockCoverage":false},{"functionName":"waitForActual","ranges":[{"startOffset":23095,"endOffset":23809,"count":0}],"isBlockCoverage":false},{"functionName":"expectsError","ranges":[{"startOffset":23811,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"hasMatchingError","ranges":[{"startOffset":25430,"endOffset":26048,"count":0}],"isBlockCoverage":false},{"functionName":"expectsNoError","ranges":[{"startOffset":26050,"endOffset":26701,"count":0}],"isBlockCoverage":false},{"functionName":"throws","ranges":[{"startOffset":26859,"endOffset":26953,"count":0}],"isBlockCoverage":false},{"functionName":"rejects","ranges":[{"startOffset":27132,"endOffset":27244,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotThrow","ranges":[{"startOffset":27406,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotReject","ranges":[{"startOffset":27666,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"ifError","ranges":[{"startOffset":27906,"endOffset":29695,"count":0}],"isBlockCoverage":false},{"functionName":"internalMatch","ranges":[{"startOffset":29698,"endOffset":30781,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":30977,"endOffset":31069,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotMatch","ranges":[{"startOffset":31277,"endOffset":31383,"count":0}],"isBlockCoverage":false},{"functionName":"strict","ranges":[{"startOffset":31574,"endOffset":31643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"660","url":"node:internal/assert/assertion_error","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17104,"count":1}],"isBlockCoverage":false},{"functionName":"copyError","ranges":[{"startOffset":1449,"endOffset":1743,"count":0}],"isBlockCoverage":false},{"functionName":"inspectValue","ranges":[{"startOffset":1745,"endOffset":2353,"count":0}],"isBlockCoverage":false},{"functionName":"createErrDiff","ranges":[{"startOffset":2355,"endOffset":11091,"count":0}],"isBlockCoverage":false},{"functionName":"addEllipsis","ranges":[{"startOffset":11093,"endOffset":11396,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":11437,"endOffset":16133,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16137,"endOffset":16212,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16216,"endOffset":17067,"count":0}],"isBlockCoverage":false}]},{"scriptId":"661","url":"node:internal/util/colors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1122,"count":1}],"isBlockCoverage":false},{"functionName":"lazyInternalTTY","ranges":[{"startOffset":32,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"shouldColorize","ranges":[{"startOffset":244,"endOffset":504,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":508,"endOffset":1090,"count":1},{"startOffset":550,"endOffset":1086,"count":0}],"isBlockCoverage":true}]},{"scriptId":"662","url":"node:internal/assert/calltracker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3452,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":462,"endOffset":1495,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1497,"endOffset":3420,"count":0}],"isBlockCoverage":false}]},{"scriptId":"663","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1295,"count":1}],"isBlockCoverage":true}]},{"scriptId":"664","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1489,"count":1}],"isBlockCoverage":true},{"functionName":"MaxBufferError","ranges":[{"startOffset":292,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"getStream","ranges":[{"startOffset":377,"endOffset":1223,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.buffer","ranges":[{"startOffset":1277,"endOffset":1349,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.array","ranges":[{"startOffset":1374,"endOffset":1439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"665","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/buffer-stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":894,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":92,"endOffset":892,"count":0}],"isBlockCoverage":false}]},{"scriptId":"666","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":885,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":76,"endOffset":884,"count":0}],"isBlockCoverage":false}]},{"scriptId":"667","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/unit/utils/parsing-test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2806,"count":1}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":70,"endOffset":151,"count":1},{"startOffset":122,"endOffset":127,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":362,"endOffset":669,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":710,"endOffset":1077,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1121,"endOffset":2611,"count":1}],"isBlockCoverage":true},{"functionName":"result","ranges":[{"startOffset":1171,"endOffset":2140,"count":1},{"startOffset":2082,"endOffset":2134,"count":11}],"isBlockCoverage":true}]},{"scriptId":"668","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/entrypoints/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":66,"count":1}],"isBlockCoverage":true}]},{"scriptId":"669","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":277,"count":1}],"isBlockCoverage":true}]},{"scriptId":"670","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/guard-environment.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1},{"startOffset":271,"endOffset":602,"count":0}],"isBlockCoverage":true}]},{"scriptId":"671","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/parsing.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7594,"count":1}],"isBlockCoverage":true},{"functionName":"extractErrorMessage","ranges":[{"startOffset":461,"endOffset":881,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":630,"endOffset":853,"count":7},{"startOffset":693,"endOffset":721,"count":6},{"startOffset":723,"endOffset":757,"count":3},{"startOffset":757,"endOffset":847,"count":4}],"isBlockCoverage":true},{"functionName":"extractProgress","ranges":[{"startOffset":1075,"endOffset":1940,"count":2},{"startOffset":1233,"endOffset":1917,"count":7},{"startOffset":1315,"endOffset":1381,"count":1},{"startOffset":1381,"endOffset":1410,"count":6},{"startOffset":1410,"endOffset":1426,"count":5},{"startOffset":1428,"endOffset":1482,"count":2},{"startOffset":1482,"endOffset":1911,"count":4},{"startOffset":1519,"endOffset":1599,"count":1},{"startOffset":1599,"endOffset":1911,"count":3},{"startOffset":1652,"endOffset":1724,"count":1},{"startOffset":1724,"endOffset":1911,"count":2},{"startOffset":1758,"endOffset":1911,"count":1},{"startOffset":1917,"endOffset":1939,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1984,"endOffset":3697,"count":1}],"isBlockCoverage":true},{"functionName":"CodecDataExtractor","ranges":[{"startOffset":2075,"endOffset":2246,"count":1}],"isBlockCoverage":true},{"functionName":"processLine","ranges":[{"startOffset":2321,"endOffset":3695,"count":11},{"startOffset":2431,"endOffset":2615,"count":1},{"startOffset":2615,"endOffset":2642,"count":10},{"startOffset":2642,"endOffset":3430,"count":8},{"startOffset":2744,"endOffset":2852,"count":1},{"startOffset":2852,"endOffset":2949,"count":7},{"startOffset":2949,"endOffset":3136,"count":1},{"startOffset":3136,"endOffset":3233,"count":6},{"startOffset":3233,"endOffset":3420,"count":1},{"startOffset":3430,"endOffset":3482,"count":7},{"startOffset":3482,"endOffset":3527,"count":1},{"startOffset":3527,"endOffset":3576,"count":7},{"startOffset":3576,"endOffset":3689,"count":2}],"isBlockCoverage":true},{"functionName":"parseCodecType","ranges":[{"startOffset":3747,"endOffset":3991,"count":0}],"isBlockCoverage":false},{"functionName":"extractCodecs","ranges":[{"startOffset":3992,"endOffset":5460,"count":0}],"isBlockCoverage":false},{"functionName":"extractFormats","ranges":[{"startOffset":5500,"endOffset":5911,"count":0}],"isBlockCoverage":false},{"functionName":"parseFilterStreams","ranges":[{"startOffset":5953,"endOffset":6199,"count":0}],"isBlockCoverage":false},{"functionName":"extractFilters","ranges":[{"startOffset":6200,"endOffset":6670,"count":0}],"isBlockCoverage":false},{"functionName":"parseEncoderType","ranges":[{"startOffset":6712,"endOffset":6862,"count":0}],"isBlockCoverage":false},{"functionName":"extractEncoders","ranges":[{"startOffset":6863,"endOffset":7515,"count":0}],"isBlockCoverage":false}]},{"scriptId":"672","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1322,"count":1}],"isBlockCoverage":true}]},{"scriptId":"673","url":"node:internal/util/iterable_weak_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1959,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":373,"endOffset":1819,"count":1}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":521,"endOffset":1033,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1037,"endOffset":1093,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":1097,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":1150,"endOffset":1388,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1392,"endOffset":1817,"count":1}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":1484,"endOffset":1736,"count":1},{"startOffset":1567,"endOffset":1735,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1758,"endOffset":1793,"count":0}],"isBlockCoverage":false},{"functionName":"cleanup","ranges":[{"startOffset":1821,"endOffset":1874,"count":0}],"isBlockCoverage":false}]}],"timestamp":85118.410789,"source-map-cache":{"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js":{"lineLengths":[13,7,62,74,65,63,53,60,45,115,43,34,51,41,47,46,41,38,37,55,26,64,27,15,15,25,20,6,17,22,17,6,14,23,19,35,40,9,52,24,28,30,32,11,5,16,36,5,28,40,35,29,23,19,9,28,43,28,9,14,30,9,5,28,31,25,9,32,24,46,51,9,28,62,9,19,5,1,22,1,37,12,26,44,10,16,34,10,18,36,10,6,2,49,14,25,5,14,16,1,41,52,40,25,65,24,29,13,25,31,23,20,26,16,32,43,32,49,45,70,71,69,35,63,46,83,84,82,82,81,27,37,34,68,74,61,17,36,49,34,70,41,68,29,53,40,17,14,9,61,49,5,22,29,40,29,9,28,37,24,9,59,33,22,49,63,68,30,13,10,5,12,27,19,9,28,65,68,68,35,33,49,17,51,23,46,13,25,9,44,47,10,46,49,10,5,14,28,19,9,29,45,53,33,28,75,13,32,17,60,37,13,25,32,11,55,67,33,5,30,29,40,21,9,43,28,65,91,5,31,45,56,46,49,37,13,33,60,33,69,32,23,9,14,55,9,5,1,35,65,25,94,3,67,39,2,68,29,2,61,3,28,3,66,66,45,2,12,3,24,3,68,66,45,2,12,3,27,33],"data":{"version":3,"file":"index.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/index.ts"],"names":[],"mappings":";;;;AAAA,iEAAiE;AACjE,+DAA+D;AAC/D,qDAAqD;AACrD,4DAA4D;AAC5D,6CAAsC;AAC7B,wFADA,oBAAO,OACA;AAQhB,MAAM,SAAS,GAAG,CAAC,OAAY,EAAwB,EAAE,CACvD,CAAC,CAAC,OAAO;IACT,OAAO,OAAO,KAAK,QAAQ;IAC3B,OAAO,OAAO,CAAC,cAAc,KAAK,UAAU;IAC5C,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,UAAU,KAAK,UAAU;IACxC,OAAO,OAAO,CAAC,SAAS,KAAK,UAAU;IACvC,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,GAAG,KAAK,QAAQ;IAC/B,OAAO,OAAO,CAAC,EAAE,KAAK,UAAU,CAAA;AAElC,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;AACtD,MAAM,MAAM,GAAqD,UAAU,CAAA;AAC3E,MAAM,oBAAoB,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;AAwB/D,2BAA2B;AAC3B,MAAM,OAAO;IACX,OAAO,GAAY;QACjB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,KAAK;KACZ,CAAA;IAED,SAAS,GAAc;QACrB,SAAS,EAAE,EAAE;QACb,IAAI,EAAE,EAAE;KACT,CAAA;IAED,KAAK,GAAW,CAAC,CAAA;IACjB,EAAE,GAAW,IAAI,CAAC,MAAM,EAAE,CAAA;IAE1B;QACE,IAAI,MAAM,CAAC,YAAY,CAAC,EAAE;YACxB,OAAO,MAAM,CAAC,YAAY,CAAC,CAAA;SAC5B;QACD,oBAAoB,CAAC,MAAM,EAAE,YAAY,EAAE;YACzC,KAAK,EAAE,IAAI;YACX,QAAQ,EAAE,KAAK;YACf,UAAU,EAAE,KAAK;YACjB,YAAY,EAAE,KAAK;SACpB,CAAC,CAAA;IACJ,CAAC;IAED,EAAE,CAAC,EAAa,EAAE,EAAW;QAC3B,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC7B,CAAC;IAED,cAAc,CAAC,EAAa,EAAE,EAAW;QACvC,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;QAC/B,MAAM,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;QAC1B,qBAAqB;QACrB,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE;YACZ,OAAM;SACP;QACD,oBAAoB;QACpB,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;YAChC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAA;SAChB;aAAM;YACL,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;SAClB;IACH,CAAC;IAED,IAAI,CACF,EAAa,EACb,IAA+B,EAC/B,MAA6B;QAE7B,IAAI,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;YACpB,OAAO,KAAK,CAAA;SACb;QACD,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,IAAI,CAAA;QACvB,IAAI,GAAG,GAAY,KAAK,CAAA;QACxB,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE;YACnC,GAAG,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,IAAI,IAAI,GAAG,CAAA;SACvC;QACD,IAAI,EAAE,KAAK,MAAM,EAAE;YACjB,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,GAAG,CAAA;SAClD;QACD,OAAO,GAAG,CAAA;IACZ,CAAC;CACF;AAED,MAAe,cAAc;CAI5B;AAED,MAAM,cAAc,GAAG,CAA2B,OAAU,EAAE,EAAE;IAC9D,OAAO;QACL,MAAM,CAAC,EAAW,EAAE,IAA+B;YACjD,OAAO,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;QACjC,CAAC;QACD,IAAI;YACF,OAAO,OAAO,CAAC,IAAI,EAAE,CAAA;QACvB,CAAC;QACD,MAAM;YACJ,OAAO,OAAO,CAAC,MAAM,EAAE,CAAA;QACzB,CAAC;KACF,CAAA;AACH,CAAC,CAAA;AAED,MAAM,kBAAmB,SAAQ,cAAc;IAC7C,MAAM;QACJ,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;IACjB,CAAC;IACD,IAAI,KAAI,CAAC;IACT,MAAM,KAAI,CAAC;CACZ;AAED,MAAM,UAAW,SAAQ,cAAc;IACrC,gDAAgD;IAChD,oCAAoC;IACpC,qBAAqB;IACrB,OAAO,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC5D,oBAAoB;IACpB,QAAQ,GAAG,IAAI,OAAO,EAAE,CAAA;IACxB,QAAQ,CAAW;IACnB,oBAAoB,CAAmB;IACvC,0BAA0B,CAAyB;IAEnD,aAAa,GAA2C,EAAE,CAAA;IAC1D,OAAO,GAAY,KAAK,CAAA;IAExB,YAAY,OAAkB;QAC5B,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAA;QACvB,mCAAmC;QACnC,IAAI,CAAC,aAAa,GAAG,EAAE,CAAA;QACvB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,GAAG,EAAE;gBAC7B,sDAAsD;gBACtD,uDAAuD;gBACvD,qDAAqD;gBACrD,mBAAmB;gBACnB,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;gBAC9C,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAA;gBAC7B,mEAAmE;gBACnE,oEAAoE;gBACpE,kEAAkE;gBAClE,kEAAkE;gBAClE,iEAAiE;gBACjE,WAAW;gBACX,qBAAqB;gBACrB,MAAM,CAAC,GAAG,OAET,CAAA;gBACD,IACE,OAAO,CAAC,CAAC,uBAAuB,KAAK,QAAQ;oBAC7C,OAAO,CAAC,CAAC,uBAAuB,CAAC,KAAK,KAAK,QAAQ,EACnD;oBACA,KAAK,IAAI,CAAC,CAAC,uBAAuB,CAAC,KAAK,CAAA;iBACzC;gBACD,oBAAoB;gBACpB,IAAI,SAAS,CAAC,MAAM,KAAK,KAAK,EAAE;oBAC9B,IAAI,CAAC,MAAM,EAAE,CAAA;oBACb,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,CAAA;oBACjD,qBAAqB;oBACrB,MAAM,CAAC,GAAG,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAA;oBAC/C,IAAI,CAAC,GAAG;wBAAE,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;oBACtC,oBAAoB;iBACrB;YACH,CAAC,CAAA;SACF;QAED,IAAI,CAAC,0BAA0B,GAAG,OAAO,CAAC,UAAU,CAAA;QACpD,IAAI,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAA;IAC1C,CAAC;IAED,MAAM,CAAC,EAAW,EAAE,IAA+B;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;SAChB;QACD,oBAAoB;QAEpB,IAAI,IAAI,CAAC,OAAO,KAAK,KAAK,EAAE;YAC1B,IAAI,CAAC,IAAI,EAAE,CAAA;SACZ;QAED,MAAM,EAAE,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAA;QAClD,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;QACxB,OAAO,GAAG,EAAE;YACV,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;YACpC,IACE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC;gBAC5C,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,MAAM,KAAK,CAAC,EACjD;gBACA,IAAI,CAAC,MAAM,EAAE,CAAA;aACd;QACH,CAAC,CAAA;IACH,CAAC;IAED,IAAI;QACF,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;QAEnB,yDAAyD;QACzD,4DAA4D;QAC5D,4DAA4D;QAC5D,2BAA2B;QAC3B,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;QAExB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI;gBACF,MAAM,EAAE,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;gBAClC,IAAI,EAAE;oBAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;aAClC;YAAC,OAAO,CAAC,EAAE,GAAE;SACf;QAED,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,EAAU,EAAE,GAAG,CAAQ,EAAE,EAAE;YAC/C,OAAO,IAAI,CAAC,YAAY,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,CAAA;QACpC,CAAC,CAAA;QACD,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,CAAC,IAAgC,EAAE,EAAE;YAC9D,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAA;QACtC,CAAC,CAAA;IACH,CAAC;IAED,MAAM;QACJ,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACjB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QAEpB,oBAAO,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACpB,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;YACxC,qBAAqB;YACrB,IAAI,CAAC,QAAQ,EAAE;gBACb,MAAM,IAAI,KAAK,CAAC,mCAAmC,GAAG,GAAG,CAAC,CAAA;aAC3D;YACD,oBAAoB;YACpB,IAAI;gBACF,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;gBAC3C,qBAAqB;aACtB;YAAC,OAAO,CAAC,EAAE,GAAE;YACd,oBAAoB;QACtB,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC,oBAAoB,CAAA;QAC9C,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,IAAI,CAAC,0BAA0B,CAAA;QAC1D,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;IAC1B,CAAC;IAED,kBAAkB,CAAC,IAAgC;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,CAAC,CAAA;SACT;QACD,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,IAAI,CAAC,CAAA;QAClC,oBAAoB;QAEpB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;QACxD,OAAO,IAAI,CAAC,0BAA0B,CAAC,IAAI,CACzC,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,QAAQ,CAAC,QAAQ,CACvB,CAAA;IACH,CAAC;IAED,YAAY,CAAC,EAAU,EAAE,GAAG,IAAW;QACrC,MAAM,EAAE,GAAG,IAAI,CAAC,oBAAoB,CAAA;QACpC,IAAI,EAAE,KAAK,MAAM,IAAI,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7C,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE;gBAC/B,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;gBAChC,qBAAqB;aACtB;YACD,qBAAqB;YACrB,MAAM,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;YAC/C,qBAAqB;YACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;YACxD,oBAAoB;YACpB,OAAO,GAAG,CAAA;SACX;aAAM;YACL,OAAO,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;SAC3C;IACH,CAAC;CACF;AAED,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAA;AAClC,iEAAiE;AACjE,yBAAyB;AACZ,KA6BT,cAAc,CAChB,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,kBAAkB,EAAE,CACxE;AA9BC;;;;;;;;GAQG;AACH,cAAM;AAEN;;;;;;GAMG;AACH,YAAI;AAEJ;;;;;;GAMG;AACH,cAAM,aAGP","sourcesContent":["// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nimport { signals } from './signals.js'\nexport { signals }\n\n// just a loosened process type so we can do some evil things\ntype ProcessRE = NodeJS.Process & {\n reallyExit: (code?: number | undefined | null) => any\n emit: (ev: string, ...a: any[]) => any\n}\n\nconst processOk = (process: any): process is ProcessRE =>\n !!process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n\nconst kExitEmitter = Symbol.for('signal-exit emitter')\nconst global: typeof globalThis & { [kExitEmitter]?: Emitter } = globalThis\nconst ObjectDefineProperty = Object.defineProperty.bind(Object)\n\n/**\n * A function that takes an exit code and signal as arguments\n *\n * In the case of signal exits *only*, a return value of true\n * will indicate that the signal is being handled, and we should\n * not synthetically exit with the signal we received. Regardless\n * of the handler return value, the handler is unloaded when an\n * otherwise fatal signal is received, so you get exactly 1 shot\n * at it, unless you add another onExit handler at that point.\n *\n * In the case of numeric code exits, we may already have committed\n * to exiting the process, for example via a fatal exception or\n * unhandled promise rejection, so it is impossible to stop safely.\n */\nexport type Handler = (\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n) => true | void\ntype ExitEvent = 'afterExit' | 'exit'\ntype Emitted = { [k in ExitEvent]: boolean }\ntype Listeners = { [k in ExitEvent]: Handler[] }\n\n// teeny special purpose ee\nclass Emitter {\n emitted: Emitted = {\n afterExit: false,\n exit: false,\n }\n\n listeners: Listeners = {\n afterExit: [],\n exit: [],\n }\n\n count: number = 0\n id: number = Math.random()\n\n constructor() {\n if (global[kExitEmitter]) {\n return global[kExitEmitter]\n }\n ObjectDefineProperty(global, kExitEmitter, {\n value: this,\n writable: false,\n enumerable: false,\n configurable: false,\n })\n }\n\n on(ev: ExitEvent, fn: Handler) {\n this.listeners[ev].push(fn)\n }\n\n removeListener(ev: ExitEvent, fn: Handler) {\n const list = this.listeners[ev]\n const i = list.indexOf(fn)\n /* c8 ignore start */\n if (i === -1) {\n return\n }\n /* c8 ignore stop */\n if (i === 0 && list.length === 1) {\n list.length = 0\n } else {\n list.splice(i, 1)\n }\n }\n\n emit(\n ev: ExitEvent,\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n ): boolean {\n if (this.emitted[ev]) {\n return false\n }\n this.emitted[ev] = true\n let ret: boolean = false\n for (const fn of this.listeners[ev]) {\n ret = fn(code, signal) === true || ret\n }\n if (ev === 'exit') {\n ret = this.emit('afterExit', code, signal) || ret\n }\n return ret\n }\n}\n\nabstract class SignalExitBase {\n abstract onExit(cb: Handler, opts?: { alwaysLast?: boolean }): () => void\n abstract load(): void\n abstract unload(): void\n}\n\nconst signalExitWrap = (handler: T) => {\n return {\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n return handler.onExit(cb, opts)\n },\n load() {\n return handler.load()\n },\n unload() {\n return handler.unload()\n },\n }\n}\n\nclass SignalExitFallback extends SignalExitBase {\n onExit() {\n return () => {}\n }\n load() {}\n unload() {}\n}\n\nclass SignalExit extends SignalExitBase {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n /* c8 ignore start */\n #hupSig = process.platform === 'win32' ? 'SIGINT' : 'SIGHUP'\n /* c8 ignore stop */\n #emitter = new Emitter()\n #process: ProcessRE\n #originalProcessEmit: ProcessRE['emit']\n #originalProcessReallyExit: ProcessRE['reallyExit']\n\n #sigListeners: { [k in NodeJS.Signals]?: () => void } = {}\n #loaded: boolean = false\n\n constructor(process: ProcessRE) {\n super()\n this.#process = process\n // { : , ... }\n this.#sigListeners = {}\n for (const sig of signals) {\n this.#sigListeners[sig] = () => {\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n const listeners = this.#process.listeners(sig)\n let { count } = this.#emitter\n // This is a workaround for the fact that signal-exit v3 and signal\n // exit v4 are not aware of each other, and each will attempt to let\n // the other handle it, so neither of them do. To correct this, we\n // detect if we're the only handler *except* for previous versions\n // of signal-exit, and increment by the count of listeners it has\n // created.\n /* c8 ignore start */\n const p = process as unknown as {\n __signal_exit_emitter__?: { count: number }\n }\n if (\n typeof p.__signal_exit_emitter__ === 'object' &&\n typeof p.__signal_exit_emitter__.count === 'number'\n ) {\n count += p.__signal_exit_emitter__.count\n }\n /* c8 ignore stop */\n if (listeners.length === count) {\n this.unload()\n const ret = this.#emitter.emit('exit', null, sig)\n /* c8 ignore start */\n const s = sig === 'SIGHUP' ? this.#hupSig : sig\n if (!ret) process.kill(process.pid, s)\n /* c8 ignore stop */\n }\n }\n }\n\n this.#originalProcessReallyExit = process.reallyExit\n this.#originalProcessEmit = process.emit\n }\n\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return () => {}\n }\n /* c8 ignore stop */\n\n if (this.#loaded === false) {\n this.load()\n }\n\n const ev = opts?.alwaysLast ? 'afterExit' : 'exit'\n this.#emitter.on(ev, cb)\n return () => {\n this.#emitter.removeListener(ev, cb)\n if (\n this.#emitter.listeners['exit'].length === 0 &&\n this.#emitter.listeners['afterExit'].length === 0\n ) {\n this.unload()\n }\n }\n }\n\n load() {\n if (this.#loaded) {\n return\n }\n this.#loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n this.#emitter.count += 1\n\n for (const sig of signals) {\n try {\n const fn = this.#sigListeners[sig]\n if (fn) this.#process.on(sig, fn)\n } catch (_) {}\n }\n\n this.#process.emit = (ev: string, ...a: any[]) => {\n return this.#processEmit(ev, ...a)\n }\n this.#process.reallyExit = (code?: number | null | undefined) => {\n return this.#processReallyExit(code)\n }\n }\n\n unload() {\n if (!this.#loaded) {\n return\n }\n this.#loaded = false\n\n signals.forEach(sig => {\n const listener = this.#sigListeners[sig]\n /* c8 ignore start */\n if (!listener) {\n throw new Error('Listener not defined for signal: ' + sig)\n }\n /* c8 ignore stop */\n try {\n this.#process.removeListener(sig, listener)\n /* c8 ignore start */\n } catch (_) {}\n /* c8 ignore stop */\n })\n this.#process.emit = this.#originalProcessEmit\n this.#process.reallyExit = this.#originalProcessReallyExit\n this.#emitter.count -= 1\n }\n\n #processReallyExit(code?: number | null | undefined) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return 0\n }\n this.#process.exitCode = code || 0\n /* c8 ignore stop */\n\n this.#emitter.emit('exit', this.#process.exitCode, null)\n return this.#originalProcessReallyExit.call(\n this.#process,\n this.#process.exitCode\n )\n }\n\n #processEmit(ev: string, ...args: any[]): any {\n const og = this.#originalProcessEmit\n if (ev === 'exit' && processOk(this.#process)) {\n if (typeof args[0] === 'number') {\n this.#process.exitCode = args[0]\n /* c8 ignore start */\n }\n /* c8 ignore start */\n const ret = og.call(this.#process, ev, ...args)\n /* c8 ignore start */\n this.#emitter.emit('exit', this.#process.exitCode, null)\n /* c8 ignore stop */\n return ret\n } else {\n return og.call(this.#process, ev, ...args)\n }\n }\n}\n\nconst process = globalThis.process\n// wrap so that we call the method on the actual handler, without\n// exporting it directly.\nexport const {\n /**\n * Called when the process is exiting, whether via signal, explicit\n * exit, or running out of stuff to do.\n *\n * If the global process object is not suitable for instrumentation,\n * then this will be a no-op.\n *\n * Returns a function that may be used to unload signal-exit.\n */\n onExit,\n\n /**\n * Load the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n load,\n\n /**\n * Unload the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n unload,\n} = signalExitWrap(\n processOk(process) ? new SignalExit(process) : new SignalExitFallback()\n)\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js":{"lineLengths":[13,62,25,3,47,2,54,54,53,55,28,2,55,54,52,2,54,49,2,56,52,55,36,2,54,50,54,13,3,21,52,35,133,61,14,16,6,1,35,68,1,35],"data":{"version":3,"file":"signals.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/signals.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACU,QAAA,OAAO,GAAqB,EAAE,CAAA;AAC3C,eAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAA;AAE3C,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CACV,SAAS,EACT,SAAS,EACT,WAAW,EACX,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,EACR,SAAS,EACT,QAAQ;IACR,yDAAyD;IACzD,UAAU;IACV,YAAY;KACb,CAAA;CACF;AAED,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAA;CACxD","sourcesContent":["/**\n * This is not the set of all possible signals.\n *\n * It IS, however, the set of all signals that trigger\n * an exit on either Linux or BSD systems. Linux is a\n * superset of the signal names supported on BSD, and\n * the unknown signals just fail to register, so we can\n * catch that easily enough.\n *\n * Windows signals are a different set, since there are\n * signals that terminate Windows processes, but don't\n * terminate (or don't even exist) on Posix systems.\n *\n * Don't bother with SIGKILL. It's uncatchable, which\n * means that we can't fire any callbacks anyway.\n *\n * If a user does happen to register a handler on a non-\n * fatal signal like SIGWINCH or something, and then\n * exit, it'll end up firing `process.emit('exit')`, so\n * the handler will be fired anyway.\n *\n * SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n * artificially, inherently leave the process in a\n * state from which it is not safe to try and enter JS\n * listeners.\n */\nexport const signals: NodeJS.Signals[] = []\nsignals.push('SIGHUP', 'SIGINT', 'SIGTERM')\n\nif (process.platform !== 'win32') {\n signals.push(\n 'SIGALRM',\n 'SIGABRT',\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n signals.push('SIGIO', 'SIGPOLL', 'SIGPWR', 'SIGSTKFLT')\n}\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/unit/utils/parsing-test.js":{"lineLengths":[13,72,62,2,62,46,56,50,17,27,19,26,26,27,26,25,6,88,3,46,80,143,18,16,20,17,28,19,7,3,55,49,66,21,70,54,74,26,104,162,30,70,67,51,45,10,33,40,9,7,25,9,49,89,36,29,58,146,9,7,3,36,37,37,38,40],"data":{"version":3,"file":"parsing-test.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/tests/unit/utils/parsing-test.ts"],"names":[],"mappings":";;;;;AAAA,8CAAsB;AAEtB,wDAImC;AAGnC,IAAA,aAAI,EAAC,qBAAqB,EAAE,CAAC,CAAC,EAAE,EAAE;IAChC,IAAI,KAAK,GAAG;QACV,kBAAkB;QAClB,UAAU;QACV,iBAAiB;QACjB,iBAAiB;QACjB,kBAAkB;QAClB,iBAAiB;QACjB,iBAAiB;KAClB,CAAA;IAED,CAAC,CAAC,EAAE,CAAC,IAAA,6BAAmB,EAAC,KAAK,CAAC,EAAE,kCAAkC,CAAC,CAAA;AACtE,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,iBAAiB,EAAE,CAAC,CAAC,EAAE,EAAE;IAC5B,CAAC,CAAC,EAAE,CAAC,IAAA,yBAAe,EAAC,0BAA0B,CAAC,EAAE,SAAS,CAAC,CAAA;IAE5D,CAAC,CAAC,SAAS,CACT,IAAA,yBAAe,EACb,4FAA4F,CAC7F,EACD;QACE,KAAK,EAAE,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE,EAAE;QACX,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,IAAI;KACZ,CACF,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,oBAAoB,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACrC,IAAI,MAAM,GAA0B,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAChE,IAAI,SAAS,GAAG,IAAI,4BAAkB,CAAC,OAAO,CAAC,CAAA;QAE/C,IAAI,KAAK,GAAG;YACV,yDAAyD;YACzD,yCAAyC;YACzC,6DAA6D;YAC7D,aAAa;YACb,2FAA2F;YAC3F,qJAAqJ;YACrJ,iBAAiB;YACjB,yDAAyD;YACzD,sDAAsD;YACtD,sCAAsC;YACtC,iCAAiC;SAClC,CAAA;QAED,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;YACtB,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;SAC5B;IACH,CAAC,CAAC,CAAA;IAEF,CAAC,CAAC,SAAS,CAAC,MAAM,EAAE;QAClB;YACE,KAAK,EAAE,6BAA6B;YACpC,YAAY,EACV,8DAA8D;YAChE,QAAQ,EAAE,aAAa;YACvB,MAAM,EAAE,QAAQ;YAChB,KAAK,EAAE,sCAAsC;YAC7C,YAAY,EACV,wHAAwH;SAC3H;KACF,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA;AAEF,aAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;AAC1B,aAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA;AAC3B,aAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA;AAC3B,aAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAA"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/parsing.js":{"lineLengths":[13,62,192,37,3,46,2,68,25,3,43,85,22,40,69,22,9,14,35,28,9,10,20,1,50,3,50,2,46,32,3,38,67,22,29,46,34,34,19,9,47,42,9,37,68,9,53,60,9,34,34,9,35,60,9,5,20,1,42,26,11,10,12,9,13,27,25,24,29,26,33,5,69,23,64,26,32,25,39,38,14,19,9,27,68,32,68,23,13,67,29,77,69,23,13,67,29,77,69,23,13,9,52,33,9,49,29,36,34,9,5,1,48,31,21,23,21,23,21,26,21,22,24,1,31,20,29,56,20,92,25,28,43,42,42,42,37,42,14,33,82,31,67,57,69,32,17,13,33,82,31,67,57,69,32,17,13,33,9,5,18,1,38,32,21,29,57,20,58,29,28,36,39,14,9,5,19,1,40,38,26,18,5,31,25,5,10,72,5,1,32,21,29,57,20,89,29,28,51,52,14,9,5,19,1,40,33,21,23,21,23,22,1,33,22,29,58,20,85,30,28,45,51,51,42,44,47,14,9,5,20,1,42,35],"data":{"version":3,"file":"parsing.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/parsing.ts"],"names":[],"mappings":";;;AAcA,qCAaiB;AAEjB;;;;;GAKG;AACH,SAAgB,mBAAmB,CAAC,WAAqB;IACvD,iFAAiF;IACjF,OAAO,WAAW;SACf,MAAM,CAAC,CAAC,QAAkB,EAAE,OAAe,EAAY,EAAE;QACxD,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE;YAC1D,OAAO,EAAE,CAAA;SACV;aAAM;YACL,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;YACtB,OAAO,QAAQ,CAAA;SAChB;IACH,CAAC,EAAE,EAAE,CAAC;SACL,IAAI,CAAC,IAAI,CAAC,CAAA;AACf,CAAC;AAZD,kDAYC;AAED;;;;;GAKG;AACH,SAAgB,eAAe,CAC7B,UAAkB;IAElB,IAAI,KAAK,GAAG,UAAU,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IAC9D,IAAI,QAAQ,GAAwB,EAAE,CAAA;IAEtC,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;QAErC,IAAI,KAAK,KAAK,SAAS,EAAE;YACvB,sBAAsB;YACtB,OAAM;SACP;QAED,IAAI,GAAG,KAAK,OAAO,IAAI,GAAG,KAAK,KAAK,EAAE;YACpC,QAAQ,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;SAC9B;aAAM,IAAI,GAAG,KAAK,SAAS,EAAE;YAC5B,QAAQ,CAAC,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,CAAA;SACxD;aAAM,IAAI,GAAG,KAAK,MAAM,IAAI,GAAG,KAAK,OAAO,EAAE;YAC5C,QAAQ,CAAC,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAA;SAChD;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,QAAQ,CAAC,IAAI,GAAG,KAAK,CAAA;SACtB;aAAM,IAAI,GAAG,KAAK,OAAO,EAAE;YAC1B,QAAQ,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAA;SAChD;KACF;IAED,OAAO,QAAQ,CAAA;AACjB,CAAC;AA5BD,0CA4BC;AAED,MAAa,kBAAkB;IAC7B,MAAM,CAA+B;IACrC,KAAK,CAAQ;IACb,OAAO,CAAS;IAChB,IAAI,CAAS;IACb,QAAQ,CAAsC;IAE9C,YAAY,QAA8C;QACxD,IAAI,CAAC,MAAM,GAAG,EAAE,CAAA;QAChB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAA;QACf,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QACpB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAA;QACjB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;IAC1B,CAAC;IAED,iEAAiE;IACjE,WAAW,CAAC,IAAY;QACtB,IAAI,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,yBAAgB,CAAC,CAAA;QAC9C,IAAI,WAAW,EAAE;YACf,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;YACnB,IAAI,CAAC,KAAK,EAAE,CAAA;YACZ,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG;gBACxB,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC;aACvB,CAAA;YAED,OAAM;SACP;QAED,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,uBAAc,CAAC,CAAA;YAC9C,IAAI,aAAa,EAAE;gBACjB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,QAAQ,GAAG,aAAa,CAAC,CAAC,CAAC,CAAA;gBACnD,OAAM;aACP;YAED,IAAI,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,yBAAgB,CAAC,CAAA;YAC7C,IAAI,UAAU,EAAE;gBACd,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;gBAC5D,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,YAAY,GAAG,UAAU,CAAC,CAAC,CAAC,CAAA;gBACpD,OAAM;aACP;YAED,IAAI,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,yBAAgB,CAAC,CAAA;YAC7C,IAAI,UAAU,EAAE;gBACd,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;gBAC5D,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,YAAY,GAAG,UAAU,CAAC,CAAC,CAAC,CAAA;gBACpD,OAAM;aACP;SACF;QAED,IAAI,0BAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YAChC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;SACrB;QAED,IAAI,uBAAc,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YAC7B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;YAChB,IAAI,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAA;YAEvB,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;SACtB;IACH,CAAC;CACF;AA7DD,gDA6DC;AAED,SAAS,cAAc,CAAC,IAAY;IAClC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,OAAO,CAAA;IAChC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,OAAO,CAAA;IAChC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,UAAU,CAAA;IACnC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,MAAM,CAAA;IAC/B,OAAO,YAAY,CAAA;AACrB,CAAC;AAED,SAAgB,aAAa,CAAC,KAAe;IAC3C,IAAI,MAAM,GAAiB,EAAE,CAAA;IAE7B,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,uBAAc,CAAC,CAAA;QACtC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,CAAC,GACrE,KAAK,CAAA;YAEP,IAAI,KAAK,GAAgB;gBACvB,WAAW;gBACX,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC;gBAC1B,SAAS,EAAE,MAAM,KAAK,GAAG;gBACzB,SAAS,EAAE,MAAM,KAAK,GAAG;gBACzB,UAAU,EAAE,KAAK,KAAK,GAAG;gBACzB,KAAK,EAAE,KAAK,KAAK,GAAG;gBACpB,QAAQ,EAAE,QAAQ,KAAK,GAAG;aAC3B,CAAA;YAED,IAAI,MAAM,KAAK,GAAG,EAAE;gBAClB,IAAI,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,+BAAsB,CAAC,CAAA;gBACxD,IAAI,QAAQ,EAAE;oBACZ,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;oBAC9C,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW;yBAClC,OAAO,CAAC,+BAAsB,EAAE,EAAE,CAAC;yBACnC,IAAI,EAAE,CAAA;iBACV;aACF;YAED,IAAI,MAAM,KAAK,GAAG,EAAE;gBAClB,IAAI,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,+BAAsB,CAAC,CAAA;gBACxD,IAAI,QAAQ,EAAE;oBACZ,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;oBAC9C,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW;yBAClC,OAAO,CAAC,+BAAsB,EAAE,EAAE,CAAC;yBACnC,IAAI,EAAE,CAAA;iBACV;aACF;YAED,MAAM,CAAC,IAAI,CAAC,GAAG,KAAK,CAAA;SACrB;KACF;IAED,OAAO,MAAM,CAAA;AACf,CAAC;AA5CD,sCA4CC;AAED,SAAgB,cAAc,CAAC,KAAe;IAC5C,IAAI,OAAO,GAAkB,EAAE,CAAA;IAE/B,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,wBAAe,CAAC,CAAA;QACvC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,CAAC,GAAG,KAAK,CAAA;YAC7C,OAAO,CAAC,IAAI,CAAC,GAAG;gBACd,WAAW;gBACX,MAAM,EAAE,GAAG,KAAK,GAAG;gBACnB,QAAQ,EAAE,KAAK,KAAK,GAAG;aACxB,CAAA;SACF;KACF;IAED,OAAO,OAAO,CAAA;AAChB,CAAC;AAhBD,wCAgBC;AAED,SAAS,kBAAkB,CACzB,OAAe;IAEf,IAAI,OAAO,KAAK,GAAG,EAAE;QACnB,OAAO,EAAE,CAAA;KACV;SAAM,IAAI,OAAO,KAAK,GAAG,EAAE;QAC1B,OAAO,SAAS,CAAA;KACjB;SAAM;QACL,OAAO,CAAC,GAAG,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAA;KAChE;AACH,CAAC;AAED,SAAgB,cAAc,CAAC,KAAe;IAC5C,IAAI,OAAO,GAAkB,EAAE,CAAA;IAE/B,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,wBAAe,CAAC,CAAA;QACvC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,CAAC,GAClE,KAAK,CAAA;YAEP,OAAO,CAAC,IAAI,CAAC,GAAG;gBACd,WAAW;gBACX,MAAM,EAAE,kBAAkB,CAAC,MAAM,CAAC;gBAClC,OAAO,EAAE,kBAAkB,CAAC,OAAO,CAAC;aACrC,CAAA;SACF;KACF;IAED,OAAO,OAAO,CAAA;AAChB,CAAC;AAlBD,wCAkBC;AAED,SAAS,gBAAgB,CAAC,IAAY;IACpC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,OAAO,CAAA;IAChC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,OAAO,CAAA;IAChC,OAAO,UAAU,CAAA;AACnB,CAAC;AAED,SAAgB,eAAe,CAAC,KAAe;IAC7C,IAAI,QAAQ,GAAmB,EAAE,CAAA;IAEjC,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,yBAAgB,CAAC,CAAA;QACxC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,CAAC,GAAG,KAAK,CAAA;YAExE,QAAQ,CAAC,IAAI,CAAC,GAAG;gBACf,WAAW;gBACX,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC;gBAC5B,mBAAmB,EAAE,KAAK,KAAK,GAAG;gBAClC,mBAAmB,EAAE,KAAK,KAAK,GAAG;gBAClC,YAAY,EAAE,GAAG,KAAK,GAAG;gBACzB,aAAa,EAAE,IAAI,KAAK,GAAG;gBAC3B,eAAe,EAAE,MAAM,KAAK,GAAG;aAChC,CAAA;SACF;KACF;IAED,OAAO,QAAQ,CAAA;AACjB,CAAC;AArBD,0CAqBC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/regexp.js":{"lineLengths":[13,62,380,42,33,53,46,42,42,42,72,60,91,57,57,89,90,34],"data":{"version":3,"file":"regexp.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/regexp.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG,gBAAgB,CAAA;AAEjC,QAAA,QAAQ,GAAG,aAAa,CAAA;AAExB,QAAA,gBAAgB,GAAG,yBAAyB,CAAA;AAC5C,QAAA,cAAc,GAAG,oBAAoB,CAAA;AACrC,QAAA,gBAAgB,GAAG,cAAc,CAAA;AACjC,QAAA,gBAAgB,GAAG,cAAc,CAAA;AACjC,QAAA,iBAAiB,GAAG,aAAa,CAAA;AACjC,QAAA,cAAc,GAAG,8CAA8C,CAAA;AAE/D,QAAA,eAAe,GAAG,iCAAiC,CAAA;AACnD,QAAA,cAAc,GACzB,iEAAiE,CAAA;AACtD,QAAA,sBAAsB,GAAG,uBAAuB,CAAA;AAChD,QAAA,sBAAsB,GAAG,uBAAuB,CAAA;AAChD,QAAA,eAAe,GAC1B,8DAA8D,CAAA;AACnD,QAAA,gBAAgB,GAC3B,8DAA8D,CAAA"},"url":null,"sourceURL":null}}} \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761301-10.json b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761301-10.json new file mode 100644 index 0000000..22f86b5 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761301-10.json @@ -0,0 +1 @@ +{"result":[{"scriptId":"78","url":"node:internal/per_context/primordials","functions":[{"functionName":"SafeIterator","ranges":[{"startOffset":9499,"endOffset":9570,"count":150}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":9575,"endOffset":9624,"count":722}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9629,"endOffset":9674,"count":85}],"isBlockCoverage":true},{"functionName":"desc.value","ranges":[{"startOffset":11239,"endOffset":11306,"count":65}],"isBlockCoverage":true},{"functionName":"SafeMap","ranges":[{"startOffset":11964,"endOffset":11992,"count":444}],"isBlockCoverage":false},{"functionName":"SafeWeakMap","ranges":[{"startOffset":12136,"endOffset":12164,"count":10}],"isBlockCoverage":false},{"functionName":"SafeSet","ranges":[{"startOffset":12293,"endOffset":12321,"count":510}],"isBlockCoverage":false},{"functionName":"SafeWeakSet","ranges":[{"startOffset":12465,"endOffset":12493,"count":1}],"isBlockCoverage":true},{"functionName":"SafeFinalizationRegistry","ranges":[{"startOffset":12745,"endOffset":12801,"count":3}],"isBlockCoverage":true},{"functionName":"SafeWeakRef","ranges":[{"startOffset":12954,"endOffset":12992,"count":5}],"isBlockCoverage":true},{"functionName":"SafePromise","ranges":[{"startOffset":13140,"endOffset":13182,"count":348}],"isBlockCoverage":true},{"functionName":"primordials.SafePromisePrototypeFinally","ranges":[{"startOffset":13686,"endOffset":13960,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13831,"endOffset":13955,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13861,"endOffset":13910,"count":58}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnArrayLike","ranges":[{"startOffset":15280,"endOffset":15836,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15315,"endOffset":15835,"count":97},{"startOffset":15485,"endOffset":15504,"count":62},{"startOffset":15577,"endOffset":15831,"count":158},{"startOffset":15615,"endOffset":15638,"count":0},{"startOffset":15831,"endOffset":15834,"count":158}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15706,"endOffset":15815,"count":158},{"startOffset":15788,"endOffset":15807,"count":35}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnVoid","ranges":[{"startOffset":16178,"endOffset":16580,"count":203}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16213,"endOffset":16579,"count":203},{"startOffset":16310,"endOffset":16320,"count":133},{"startOffset":16367,"endOffset":16575,"count":316},{"startOffset":16405,"endOffset":16428,"count":158},{"startOffset":16429,"endOffset":16442,"count":158},{"startOffset":16575,"endOffset":16578,"count":316}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16496,"endOffset":16559,"count":316},{"startOffset":16541,"endOffset":16551,"count":70}],"isBlockCoverage":true}]},{"scriptId":"80","url":"node:internal/per_context/messageport","functions":[{"functionName":"exports.emitMessage","ranges":[{"startOffset":407,"endOffset":993,"count":4},{"startOffset":683,"endOffset":991,"count":0}],"isBlockCoverage":true}]},{"scriptId":"81","url":"node:internal/bootstrap/realm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14749,"count":1}],"isBlockCoverage":false},{"functionName":"binding","ranges":[{"startOffset":4702,"endOffset":5475,"count":0}],"isBlockCoverage":false},{"functionName":"_linkedBinding","ranges":[{"startOffset":5505,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"internalBinding","ranges":[{"startOffset":5955,"endOffset":6217,"count":186},{"startOffset":6057,"endOffset":6197,"count":45}],"isBlockCoverage":true},{"functionName":"getOwn","ranges":[{"startOffset":6377,"endOffset":6531,"count":3322},{"startOffset":6513,"endOffset":6528,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6580,"endOffset":6676,"count":331},{"startOffset":6636,"endOffset":6676,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6803,"endOffset":6870,"count":331},{"startOffset":6854,"endOffset":6870,"count":261}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7100,"endOffset":7136,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7508,"endOffset":7609,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7568,"endOffset":7603,"count":331}],"isBlockCoverage":true},{"functionName":"BuiltinModule","ranges":[{"startOffset":7614,"endOffset":8291,"count":331}],"isBlockCoverage":true},{"functionName":"allowRequireByUsers","ranges":[{"startOffset":8302,"endOffset":8663,"count":0}],"isBlockCoverage":false},{"functionName":"exposeInternals","ranges":[{"startOffset":8813,"endOffset":8964,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":8975,"endOffset":9029,"count":0}],"isBlockCoverage":false},{"functionName":"canBeRequiredByUsers","ranges":[{"startOffset":9040,"endOffset":9115,"count":187}],"isBlockCoverage":true},{"functionName":"canBeRequiredWithoutScheme","ranges":[{"startOffset":9126,"endOffset":9220,"count":1636}],"isBlockCoverage":true},{"functionName":"normalizeRequirableId","ranges":[{"startOffset":9231,"endOffset":9576,"count":1150},{"startOffset":9307,"endOffset":9469,"count":0},{"startOffset":9525,"endOffset":9549,"count":60},{"startOffset":9549,"endOffset":9575,"count":1090}],"isBlockCoverage":true},{"functionName":"isBuiltin","ranges":[{"startOffset":9587,"endOffset":9828,"count":0}],"isBlockCoverage":false},{"functionName":"getCanBeRequiredByUsersWithoutSchemeList","ranges":[{"startOffset":9839,"endOffset":9948,"count":1}],"isBlockCoverage":true},{"functionName":"getSchemeOnlyModuleNames","ranges":[{"startOffset":9959,"endOffset":10034,"count":0}],"isBlockCoverage":false},{"functionName":"compileForPublicLoader","ranges":[{"startOffset":10106,"endOffset":10818,"count":87},{"startOffset":10187,"endOffset":10379,"count":0},{"startOffset":10443,"endOffset":10740,"count":17},{"startOffset":10702,"endOffset":10706,"count":0}],"isBlockCoverage":true},{"functionName":"getESMFacade","ranges":[{"startOffset":10822,"endOffset":11584,"count":101},{"startOffset":10860,"endOffset":10879,"count":84},{"startOffset":10879,"endOffset":11583,"count":17}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11321,"endOffset":11424,"count":17}],"isBlockCoverage":true},{"functionName":"syncExports","ranges":[{"startOffset":11880,"endOffset":12224,"count":104},{"startOffset":11999,"endOffset":12214,"count":3322},{"startOffset":12076,"endOffset":12085,"count":0}],"isBlockCoverage":true},{"functionName":"compileForInternalLoader","ranges":[{"startOffset":12228,"endOffset":13050,"count":2188},{"startOffset":12277,"endOffset":12292,"count":156},{"startOffset":12294,"endOffset":12328,"count":2034},{"startOffset":12328,"endOffset":12467,"count":154},{"startOffset":12467,"endOffset":12502,"count":1},{"startOffset":12503,"endOffset":12519,"count":153},{"startOffset":12775,"endOffset":13049,"count":154}],"isBlockCoverage":true},{"functionName":"requireBuiltin","ranges":[{"startOffset":13245,"endOffset":13610,"count":2106},{"startOffset":13296,"endOffset":13327,"count":5},{"startOffset":13327,"endOffset":13512,"count":2101},{"startOffset":13512,"endOffset":13567,"count":0},{"startOffset":13567,"endOffset":13609,"count":2101}],"isBlockCoverage":true},{"functionName":"requireWithFallbackInDeps","ranges":[{"startOffset":13726,"endOffset":14002,"count":0}],"isBlockCoverage":false},{"functionName":"setupPrepareStackTrace","ranges":[{"startOffset":14004,"endOffset":14600,"count":1}],"isBlockCoverage":true}]},{"scriptId":"82","url":"node:internal/errors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":64999,"count":1}],"isBlockCoverage":false},{"functionName":"prepareStackTrace","ranges":[{"startOffset":2135,"endOffset":3623,"count":0}],"isBlockCoverage":false},{"functionName":"maybeOverridePrepareStackTrace","ranges":[{"startOffset":3665,"endOffset":4372,"count":2},{"startOffset":3934,"endOffset":4000,"count":0},{"startOffset":4281,"endOffset":4347,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4418,"endOffset":4964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5008,"endOffset":5207,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtil","ranges":[{"startOffset":5276,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtilInspect","ranges":[{"startOffset":5409,"endOffset":5537,"count":0}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":5555,"endOffset":5655,"count":0}],"isBlockCoverage":false},{"functionName":"lazyBuffer","ranges":[{"startOffset":5669,"endOffset":5750,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorStackTraceLimitWritable","ranges":[{"startOffset":5752,"endOffset":6259,"count":6},{"startOffset":5982,"endOffset":6005,"count":0},{"startOffset":6106,"endOffset":6149,"count":0},{"startOffset":6228,"endOffset":6256,"count":0}],"isBlockCoverage":true},{"functionName":"inspectWithNoCustomRetry","ranges":[{"startOffset":6261,"endOffset":6507,"count":0}],"isBlockCoverage":false},{"functionName":"SystemError","ranges":[{"startOffset":7009,"endOffset":9985,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":9989,"endOffset":10064,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10068,"endOffset":10258,"count":0}],"isBlockCoverage":false},{"functionName":"makeSystemErrorWithCode","ranges":[{"startOffset":10262,"endOffset":10407,"count":12}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10353,"endOffset":10400,"count":0}],"isBlockCoverage":false},{"functionName":"makeNodeErrorWithCode","ranges":[{"startOffset":10409,"endOffset":11467,"count":267}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10462,"endOffset":11464,"count":2}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":11209,"endOffset":11287,"count":0}],"isBlockCoverage":false},{"functionName":"hideStackFrames","ranges":[{"startOffset":11629,"endOffset":11894,"count":49}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":12006,"endOffset":12514,"count":273},{"startOffset":12248,"endOffset":12293,"count":12},{"startOffset":12293,"endOffset":12347,"count":261},{"startOffset":12382,"endOffset":12492,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12409,"endOffset":12486,"count":6}],"isBlockCoverage":true},{"functionName":"getMessage","ranges":[{"startOffset":12516,"endOffset":13389,"count":2},{"startOffset":12929,"endOffset":13388,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUv","ranges":[{"startOffset":13407,"endOffset":13487,"count":0}],"isBlockCoverage":false},{"functionName":"uvErrmapGet","ranges":[{"startOffset":13544,"endOffset":13696,"count":0}],"isBlockCoverage":false},{"functionName":"captureLargerStackTrace","ranges":[{"startOffset":13749,"endOffset":14151,"count":2}],"isBlockCoverage":true},{"functionName":"uvException","ranges":[{"startOffset":14478,"endOffset":15719,"count":0}],"isBlockCoverage":false},{"functionName":"uvExceptionWithHostPort","ranges":[{"startOffset":16082,"endOffset":17071,"count":0}],"isBlockCoverage":false},{"functionName":"errnoException","ranges":[{"startOffset":17291,"endOffset":18155,"count":0}],"isBlockCoverage":false},{"functionName":"exceptionWithHostPort","ranges":[{"startOffset":18559,"endOffset":19847,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20050,"endOffset":21591,"count":0}],"isBlockCoverage":false},{"functionName":"connResetException","ranges":[{"startOffset":21595,"endOffset":21750,"count":0}],"isBlockCoverage":false},{"functionName":"isStackOverflowError","ranges":[{"startOffset":22037,"endOffset":22415,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericalSeparator","ranges":[{"startOffset":22496,"endOffset":22764,"count":0}],"isBlockCoverage":false},{"functionName":"beforeInspector","ranges":[{"startOffset":23043,"endOffset":23434,"count":0}],"isBlockCoverage":false},{"functionName":"afterInspector","ranges":[{"startOffset":23438,"endOffset":24721,"count":0}],"isBlockCoverage":false},{"functionName":"setArrowMessage","ranges":[{"startOffset":24876,"endOffset":24975,"count":0}],"isBlockCoverage":false},{"functionName":"hideInternalStackFrames","ranges":[{"startOffset":25030,"endOffset":25508,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":25741,"endOffset":26050,"count":0}],"isBlockCoverage":false},{"functionName":"genericNodeError","ranges":[{"startOffset":26305,"endOffset":26497,"count":0}],"isBlockCoverage":false},{"functionName":"determineSpecificType","ranges":[{"startOffset":26618,"endOffset":27237,"count":2},{"startOffset":26707,"endOffset":26755,"count":0},{"startOffset":26757,"endOffset":27236,"count":0}],"isBlockCoverage":true},{"functionName":"formatList","ranges":[{"startOffset":27559,"endOffset":27778,"count":2},{"startOffset":27669,"endOffset":27775,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":29857,"endOffset":30021,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33056,"endOffset":33171,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33460,"endOffset":33554,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":36457,"endOffset":36685,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38465,"endOffset":38683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41350,"endOffset":41650,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41692,"endOffset":41836,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41879,"endOffset":44000,"count":2},{"startOffset":42119,"endOffset":42192,"count":0},{"startOffset":42254,"endOffset":42266,"count":0},{"startOffset":42685,"endOffset":42960,"count":0},{"startOffset":43119,"endOffset":43310,"count":0},{"startOffset":43373,"endOffset":43388,"count":0},{"startOffset":43491,"endOffset":43505,"count":0},{"startOffset":43543,"endOffset":43663,"count":0},{"startOffset":43691,"endOffset":43920,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":44041,"endOffset":44389,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44697,"endOffset":44860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45517,"endOffset":45696,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45744,"endOffset":45879,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45925,"endOffset":46073,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":46117,"endOffset":46891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47179,"endOffset":47366,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47419,"endOffset":47598,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47642,"endOffset":47819,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48276,"endOffset":48492,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48536,"endOffset":48824,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":49387,"endOffset":49860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":50646,"endOffset":51087,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":51181,"endOffset":51400,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":52546,"endOffset":53244,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53295,"endOffset":53487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53536,"endOffset":53852,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54094,"endOffset":54393,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54577,"endOffset":56023,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":56475,"endOffset":56757,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58280,"endOffset":58354,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58390,"endOffset":58713,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58759,"endOffset":58833,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58865,"endOffset":59269,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59321,"endOffset":59499,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59770,"endOffset":59939,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61637,"endOffset":61768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62015,"endOffset":62172,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62362,"endOffset":62564,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62610,"endOffset":62933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63572,"endOffset":63640,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64043,"endOffset":64156,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64350,"endOffset":64737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"83","url":"node:internal/bootstrap/node","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13817,"count":1}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3830,"endOffset":3880,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3886,"endOffset":3944,"count":3},{"startOffset":3930,"endOffset":3933,"count":1},{"startOffset":3934,"endOffset":3937,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4086,"endOffset":4122,"count":8}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":4128,"endOffset":4547,"count":2},{"startOffset":4187,"endOffset":4469,"count":1},{"startOffset":4252,"endOffset":4266,"count":0},{"startOffset":4267,"endOffset":4315,"count":0},{"startOffset":4317,"endOffset":4352,"count":0},{"startOffset":4469,"endOffset":4518,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4769,"endOffset":5033,"count":409}],"isBlockCoverage":true},{"functionName":"process.openStdin","ranges":[{"startOffset":6409,"endOffset":6479,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7965,"endOffset":8127,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8229,"endOffset":8425,"count":1}],"isBlockCoverage":true},{"functionName":"get cached_builtins","ranges":[{"startOffset":9173,"endOffset":9240,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11734,"endOffset":11784,"count":6}],"isBlockCoverage":true},{"functionName":"setupProcessObject","ranges":[{"startOffset":12107,"endOffset":12912,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":12772,"endOffset":12808,"count":63}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":12814,"endOffset":12856,"count":0}],"isBlockCoverage":false},{"functionName":"setupGlobalProxy","ranges":[{"startOffset":12914,"endOffset":13151,"count":1}],"isBlockCoverage":true},{"functionName":"setupBuffer","ranges":[{"startOffset":13153,"endOffset":13816,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13678,"endOffset":13713,"count":3}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":13719,"endOffset":13760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"84","url":"node:internal/timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":19560,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4385,"endOffset":4410,"count":1}],"isBlockCoverage":true},{"functionName":"initAsyncResource","ranges":[{"startOffset":5548,"endOffset":5826,"count":2},{"startOffset":5774,"endOffset":5824,"count":0}],"isBlockCoverage":true},{"functionName":"Timeout","ranges":[{"startOffset":5932,"endOffset":6978,"count":1},{"startOffset":6080,"endOffset":6432,"count":0},{"startOffset":6789,"endOffset":6796,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7059,"endOffset":7255,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":7259,"endOffset":7368,"count":2},{"startOffset":7299,"endOffset":7312,"count":0}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":7372,"endOffset":7511,"count":3}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":7515,"endOffset":7652,"count":2}],"isBlockCoverage":true},{"functionName":"hasRef","ranges":[{"startOffset":7656,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"TimersList","ranges":[{"startOffset":7720,"endOffset":8026,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8107,"endOffset":8303,"count":0}],"isBlockCoverage":false},{"functionName":"ImmediateList","ranges":[{"startOffset":8386,"endOffset":8449,"count":2}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":8601,"endOffset":8782,"count":1},{"startOffset":8644,"endOffset":8719,"count":0}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":8932,"endOffset":9293,"count":0}],"isBlockCoverage":false},{"functionName":"incRefCount","ranges":[{"startOffset":9403,"endOffset":9569,"count":3}],"isBlockCoverage":true},{"functionName":"decRefCount","ranges":[{"startOffset":9571,"endOffset":9738,"count":3}],"isBlockCoverage":true},{"functionName":"active","ranges":[{"startOffset":9821,"endOffset":9875,"count":0}],"isBlockCoverage":false},{"functionName":"unrefActive","ranges":[{"startOffset":10022,"endOffset":10082,"count":2}],"isBlockCoverage":true},{"functionName":"insertGuarded","ranges":[{"startOffset":10303,"endOffset":10819,"count":2},{"startOffset":10427,"endOffset":10434,"count":0},{"startOffset":10551,"endOffset":10625,"count":0},{"startOffset":10646,"endOffset":10687,"count":0},{"startOffset":10722,"endOffset":10793,"count":0}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":10887,"endOffset":11626,"count":3},{"startOffset":11218,"endOffset":11599,"count":1}],"isBlockCoverage":true},{"functionName":"setUnrefTimeout","ranges":[{"startOffset":11628,"endOffset":11886,"count":0}],"isBlockCoverage":false},{"functionName":"getTimerDuration","ranges":[{"startOffset":11953,"endOffset":12481,"count":0}],"isBlockCoverage":false},{"functionName":"compareTimersLists","ranges":[{"startOffset":12483,"endOffset":12688,"count":0}],"isBlockCoverage":false},{"functionName":"setPosition","ranges":[{"startOffset":12690,"endOffset":12761,"count":1}],"isBlockCoverage":true},{"functionName":"getTimerCallbacks","ranges":[{"startOffset":12763,"endOffset":18141,"count":1}],"isBlockCoverage":true},{"functionName":"processImmediate","ranges":[{"startOffset":13075,"endOffset":15008,"count":1},{"startOffset":13154,"endOffset":13178,"count":0},{"startOffset":13615,"endOffset":13630,"count":0},{"startOffset":13947,"endOffset":14043,"count":0},{"startOffset":14605,"endOffset":14661,"count":0},{"startOffset":14763,"endOffset":14784,"count":0},{"startOffset":14935,"endOffset":14964,"count":0}],"isBlockCoverage":true},{"functionName":"processTimers","ranges":[{"startOffset":15013,"endOffset":15503,"count":0}],"isBlockCoverage":false},{"functionName":"listOnTimeout","ranges":[{"startOffset":15507,"endOffset":18081,"count":0}],"isBlockCoverage":false},{"functionName":"Immediate","ranges":[{"startOffset":18163,"endOffset":18485,"count":1}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":18489,"endOffset":18755,"count":1}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":18759,"endOffset":19027,"count":0}],"isBlockCoverage":false},{"functionName":"hasRef","ranges":[{"startOffset":19031,"endOffset":19072,"count":0}],"isBlockCoverage":false}]},{"scriptId":"85","url":"node:internal/async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20082,"count":1}],"isBlockCoverage":false},{"functionName":"useDomainTrampoline","ranges":[{"startOffset":5108,"endOffset":5162,"count":0}],"isBlockCoverage":false},{"functionName":"callbackTrampoline","ranges":[{"startOffset":5164,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"executionAsyncResource","ranges":[{"startOffset":5745,"endOffset":6243,"count":0}],"isBlockCoverage":false},{"functionName":"inspectExceptionValue","ranges":[{"startOffset":6245,"endOffset":6372,"count":0}],"isBlockCoverage":false},{"functionName":"fatalError","ranges":[{"startOffset":6433,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"lookupPublicResource","ranges":[{"startOffset":6837,"endOffset":7186,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitNative","ranges":[{"startOffset":7377,"endOffset":8510,"count":0}],"isBlockCoverage":false},{"functionName":"emitHook","ranges":[{"startOffset":8611,"endOffset":9600,"count":0}],"isBlockCoverage":false},{"functionName":"emitHookFactory","ranges":[{"startOffset":9602,"endOffset":9866,"count":4}],"isBlockCoverage":true},{"functionName":"getHookArrays","ranges":[{"startOffset":9895,"endOffset":10385,"count":0}],"isBlockCoverage":false},{"functionName":"storeActiveHooks","ranges":[{"startOffset":10388,"endOffset":10688,"count":0}],"isBlockCoverage":false},{"functionName":"copyHooks","ranges":[{"startOffset":10690,"endOffset":10955,"count":0}],"isBlockCoverage":false},{"functionName":"restoreActiveHooks","ranges":[{"startOffset":11070,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"trackPromise","ranges":[{"startOffset":11277,"endOffset":11707,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHook","ranges":[{"startOffset":11709,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHookWithDestroyTracking","ranges":[{"startOffset":11955,"endOffset":12091,"count":0}],"isBlockCoverage":false},{"functionName":"destroyTracking","ranges":[{"startOffset":12093,"endOffset":12256,"count":0}],"isBlockCoverage":false},{"functionName":"promiseBeforeHook","ranges":[{"startOffset":12258,"endOffset":12469,"count":0}],"isBlockCoverage":false},{"functionName":"promiseAfterHook","ranges":[{"startOffset":12471,"endOffset":13038,"count":0}],"isBlockCoverage":false},{"functionName":"promiseResolveHook","ranges":[{"startOffset":13040,"endOffset":13186,"count":0}],"isBlockCoverage":false},{"functionName":"enableHooks","ranges":[{"startOffset":13217,"endOffset":13323,"count":0}],"isBlockCoverage":false},{"functionName":"updatePromiseHookMode","ranges":[{"startOffset":13346,"endOffset":13925,"count":0}],"isBlockCoverage":false},{"functionName":"disableHooks","ranges":[{"startOffset":13927,"endOffset":14230,"count":0}],"isBlockCoverage":false},{"functionName":"disablePromiseHookIfNecessary","ranges":[{"startOffset":14232,"endOffset":14348,"count":0}],"isBlockCoverage":false},{"functionName":"newAsyncId","ranges":[{"startOffset":14549,"endOffset":14619,"count":4}],"isBlockCoverage":true},{"functionName":"getOrSetAsyncId","ranges":[{"startOffset":14621,"endOffset":14811,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultTriggerAsyncId","ranges":[{"startOffset":14994,"endOffset":15284,"count":4},{"startOffset":15250,"endOffset":15283,"count":0}],"isBlockCoverage":true},{"functionName":"clearDefaultTriggerAsyncId","ranges":[{"startOffset":15287,"endOffset":15376,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTriggerAsyncIdScope","ranges":[{"startOffset":15601,"endOffset":16094,"count":0}],"isBlockCoverage":false},{"functionName":"hasHooks","ranges":[{"startOffset":16096,"endOffset":16159,"count":16}],"isBlockCoverage":true},{"functionName":"enabledHooksExist","ranges":[{"startOffset":16161,"endOffset":16220,"count":3}],"isBlockCoverage":true},{"functionName":"initHooksExist","ranges":[{"startOffset":16222,"endOffset":16277,"count":4}],"isBlockCoverage":true},{"functionName":"afterHooksExist","ranges":[{"startOffset":16279,"endOffset":16336,"count":0}],"isBlockCoverage":false},{"functionName":"destroyHooksExist","ranges":[{"startOffset":16338,"endOffset":16399,"count":3}],"isBlockCoverage":true},{"functionName":"promiseResolveHooksExist","ranges":[{"startOffset":16401,"endOffset":16476,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitScript","ranges":[{"startOffset":16479,"endOffset":16887,"count":0}],"isBlockCoverage":false},{"functionName":"emitBeforeScript","ranges":[{"startOffset":16890,"endOffset":17066,"count":3},{"startOffset":17038,"endOffset":17064,"count":0}],"isBlockCoverage":true},{"functionName":"emitAfterScript","ranges":[{"startOffset":17069,"endOffset":17189,"count":3},{"startOffset":17133,"endOffset":17158,"count":0}],"isBlockCoverage":true},{"functionName":"emitDestroyScript","ranges":[{"startOffset":17192,"endOffset":17402,"count":0}],"isBlockCoverage":false},{"functionName":"hasAsyncIdStack","ranges":[{"startOffset":17405,"endOffset":17468,"count":0}],"isBlockCoverage":false},{"functionName":"pushAsyncContext","ranges":[{"startOffset":17534,"endOffset":18104,"count":3},{"startOffset":17754,"endOffset":17804,"count":0}],"isBlockCoverage":true},{"functionName":"popAsyncContext","ranges":[{"startOffset":18169,"endOffset":18780,"count":3},{"startOffset":18285,"endOffset":18298,"count":0},{"startOffset":18377,"endOffset":18483,"count":0}],"isBlockCoverage":true},{"functionName":"executionAsyncId","ranges":[{"startOffset":18783,"endOffset":18859,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":18861,"endOffset":18933,"count":0}],"isBlockCoverage":false}]},{"scriptId":"86","url":"node:internal/validators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15153,"count":1}],"isBlockCoverage":false},{"functionName":"isInt32","ranges":[{"startOffset":835,"endOffset":894,"count":381}],"isBlockCoverage":true},{"functionName":"isUint32","ranges":[{"startOffset":946,"endOffset":1008,"count":0}],"isBlockCoverage":false},{"functionName":"parseFileMode","ranges":[{"startOffset":1629,"endOffset":1940,"count":60},{"startOffset":1722,"endOffset":1890,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2186,"endOffset":2567,"count":3},{"startOffset":2306,"endOffset":2360,"count":0},{"startOffset":2400,"endOffset":2454,"count":0},{"startOffset":2497,"endOffset":2563,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2811,"endOffset":3274,"count":2},{"startOffset":2983,"endOffset":3051,"count":0},{"startOffset":3085,"endOffset":3153,"count":0},{"startOffset":3190,"endOffset":3270,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3512,"endOffset":3944,"count":802},{"startOffset":3582,"endOffset":3646,"count":0},{"startOffset":3678,"endOffset":3742,"count":0},{"startOffset":3766,"endOffset":3769,"count":0},{"startOffset":3866,"endOffset":3942,"count":0}],"isBlockCoverage":true},{"functionName":"validateString","ranges":[{"startOffset":4097,"endOffset":4229,"count":12648},{"startOffset":4173,"endOffset":4227,"count":2}],"isBlockCoverage":true},{"functionName":"validateNumber","ranges":[{"startOffset":4430,"endOffset":4898,"count":62},{"startOffset":4528,"endOffset":4582,"count":0},{"startOffset":4603,"endOffset":4617,"count":61},{"startOffset":4635,"endOffset":4649,"count":60},{"startOffset":4674,"endOffset":4688,"count":1},{"startOffset":4690,"endOffset":4711,"count":61},{"startOffset":4714,"endOffset":4896,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5084,"endOffset":5417,"count":0}],"isBlockCoverage":false},{"functionName":"validateBoolean","ranges":[{"startOffset":5573,"endOffset":5708,"count":372},{"startOffset":5651,"endOffset":5706,"count":0}],"isBlockCoverage":true},{"functionName":"getOwnPropertyValueOrDefault","ranges":[{"startOffset":5820,"endOffset":6001,"count":54},{"startOffset":5913,"endOffset":5960,"count":48},{"startOffset":5961,"endOffset":5979,"count":19},{"startOffset":5980,"endOffset":5998,"count":35}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6266,"endOffset":6821,"count":18},{"startOffset":6571,"endOffset":6588,"count":15},{"startOffset":6614,"endOffset":6636,"count":2},{"startOffset":6676,"endOffset":6746,"count":0},{"startOffset":6749,"endOffset":6817,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7376,"endOffset":7556,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7775,"endOffset":8053,"count":742},{"startOffset":7837,"endOffset":7900,"count":0},{"startOffset":7933,"endOffset":8051,"count":0}],"isBlockCoverage":true},{"functionName":"validateStringArray","ranges":[{"startOffset":8218,"endOffset":8387,"count":371},{"startOffset":8333,"endOffset":8385,"count":1855}],"isBlockCoverage":true},{"functionName":"validateBooleanArray","ranges":[{"startOffset":8553,"endOffset":8724,"count":0}],"isBlockCoverage":false},{"functionName":"validateAbortSignalArray","ranges":[{"startOffset":8902,"endOffset":9251,"count":0}],"isBlockCoverage":false},{"functionName":"validateSignalName","ranges":[{"startOffset":9363,"endOffset":9736,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9948,"endOffset":10178,"count":1},{"startOffset":10013,"endOffset":10176,"count":0}],"isBlockCoverage":true},{"functionName":"validateEncoding","ranges":[{"startOffset":10242,"endOffset":10576,"count":0}],"isBlockCoverage":false},{"functionName":"validatePort","ranges":[{"startOffset":10838,"endOffset":11217,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11385,"endOffset":11602,"count":13},{"startOffset":11432,"endOffset":11528,"count":0},{"startOffset":11530,"endOffset":11600,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11802,"endOffset":11918,"count":395},{"startOffset":11860,"endOffset":11916,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12133,"endOffset":12275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12479,"endOffset":12588,"count":0}],"isBlockCoverage":false},{"functionName":"validateUnion","ranges":[{"startOffset":12681,"endOffset":12868,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderFormat","ranges":[{"startOffset":13296,"endOffset":13602,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13650,"endOffset":13860,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderValue","ranges":[{"startOffset":13914,"endOffset":14597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"87","url":"node:internal/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":24956,"count":1}],"isBlockCoverage":false},{"functionName":"toUSVString","ranges":[{"startOffset":1790,"endOffset":2102,"count":107},{"startOffset":2059,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUv","ranges":[{"startOffset":2120,"endOffset":2200,"count":0}],"isBlockCoverage":false},{"functionName":"removeColors","ranges":[{"startOffset":2202,"endOffset":2287,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":2289,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"getDeprecationWarningEmitter","ranges":[{"startOffset":2696,"endOffset":3345,"count":30}],"isBlockCoverage":true},{"functionName":"shouldEmitWarning","ranges":[{"startOffset":2795,"endOffset":2805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2842,"endOffset":3342,"count":0}],"isBlockCoverage":false},{"functionName":"isPendingDeprecation","ranges":[{"startOffset":3347,"endOffset":3475,"count":0}],"isBlockCoverage":false},{"functionName":"pendingDeprecate","ranges":[{"startOffset":3642,"endOffset":3939,"count":3}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":3811,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"deprecate","ranges":[{"startOffset":4094,"endOffset":5092,"count":27},{"startOffset":4181,"endOffset":4201,"count":0},{"startOffset":4290,"endOffset":4344,"count":1},{"startOffset":4376,"endOffset":4405,"count":26},{"startOffset":4846,"endOffset":5068,"count":26}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":4518,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"decorateErrorStack","ranges":[{"startOffset":5094,"endOffset":5360,"count":0}],"isBlockCoverage":false},{"functionName":"assertCrypto","ranges":[{"startOffset":5362,"endOffset":5436,"count":1},{"startOffset":5408,"endOffset":5434,"count":0}],"isBlockCoverage":true},{"functionName":"normalizeEncoding","ranges":[{"startOffset":5615,"endOffset":5746,"count":379},{"startOffset":5685,"endOffset":5703,"count":0},{"startOffset":5719,"endOffset":5745,"count":0}],"isBlockCoverage":true},{"functionName":"slowCases","ranges":[{"startOffset":5748,"endOffset":7499,"count":0}],"isBlockCoverage":false},{"functionName":"emitExperimentalWarning","ranges":[{"startOffset":7501,"endOffset":7767,"count":0}],"isBlockCoverage":false},{"functionName":"filterDuplicateStrings","ranges":[{"startOffset":7769,"endOffset":8108,"count":0}],"isBlockCoverage":false},{"functionName":"cachedResult","ranges":[{"startOffset":8110,"endOffset":8266,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8161,"endOffset":8263,"count":0}],"isBlockCoverage":false},{"functionName":"createClassWrapper","ranges":[{"startOffset":8531,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"getSignalsToNamesMapping","ranges":[{"startOffset":8960,"endOffset":9239,"count":0}],"isBlockCoverage":false},{"functionName":"convertToValidSignal","ranges":[{"startOffset":9241,"endOffset":9562,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorOf","ranges":[{"startOffset":9564,"endOffset":9910,"count":0}],"isBlockCoverage":false},{"functionName":"getCWDURL","ranges":[{"startOffset":10233,"endOffset":10743,"count":1},{"startOffset":10561,"endOffset":10610,"count":0}],"isBlockCoverage":true},{"functionName":"getSystemErrorName","ranges":[{"startOffset":10745,"endOffset":10874,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorMap","ranges":[{"startOffset":10876,"endOffset":10941,"count":0}],"isBlockCoverage":false},{"functionName":"promisify","ranges":[{"startOffset":11109,"endOffset":12970,"count":6},{"startOffset":11229,"endOffset":11285,"count":1},{"startOffset":11372,"endOffset":11649,"count":1},{"startOffset":11649,"endOffset":12756,"count":5},{"startOffset":12756,"endOffset":12918,"count":14},{"startOffset":12918,"endOffset":12969,"count":5}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":11849,"endOffset":12368,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13065,"endOffset":13387,"count":0}],"isBlockCoverage":false},{"functionName":"spliceOne","ranges":[{"startOffset":13528,"endOffset":13655,"count":0}],"isBlockCoverage":false},{"functionName":"isInsideNodeModules","ranges":[{"startOffset":13737,"endOffset":14975,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":14977,"endOffset":15150,"count":0}],"isBlockCoverage":false},{"functionName":"sleep","ranges":[{"startOffset":15173,"endOffset":15388,"count":0}],"isBlockCoverage":false},{"functionName":"createDeferredPromise","ranges":[{"startOffset":15390,"endOffset":15584,"count":0}],"isBlockCoverage":false},{"functionName":"defineOperation","ranges":[{"startOffset":15644,"endOffset":15845,"count":8}],"isBlockCoverage":true},{"functionName":"exposeInterface","ranges":[{"startOffset":15897,"endOffset":16117,"count":5}],"isBlockCoverage":true},{"functionName":"exposeNamespace","ranges":[{"startOffset":16169,"endOffset":16389,"count":1}],"isBlockCoverage":true},{"functionName":"exposeGetterAndSetter","ranges":[{"startOffset":16391,"endOffset":16614,"count":1}],"isBlockCoverage":true},{"functionName":"defineLazyProperties","ranges":[{"startOffset":16616,"endOffset":17549,"count":22},{"startOffset":16779,"endOffset":17548,"count":51}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":16835,"endOffset":16978,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17081,"endOffset":17277,"count":12}],"isBlockCoverage":true},{"functionName":"defineReplaceableLazyAttribute","ranges":[{"startOffset":17551,"endOffset":18451,"count":2},{"startOffset":18419,"endOffset":18424,"count":1},{"startOffset":18425,"endOffset":18436,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17763,"endOffset":17999,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":18104,"endOffset":18175,"count":0}],"isBlockCoverage":false},{"functionName":"exposeLazyInterfaces","ranges":[{"startOffset":18453,"endOffset":18553,"count":14}],"isBlockCoverage":true},{"functionName":"lazyDOMExceptionClass","ranges":[{"startOffset":18604,"endOffset":18700,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18744,"endOffset":18872,"count":0}],"isBlockCoverage":false},{"functionName":"filterOwnProperties","ranges":[{"startOffset":19057,"endOffset":19329,"count":0}],"isBlockCoverage":false},{"functionName":"setOwnProperty","ranges":[{"startOffset":19497,"endOffset":19687,"count":756}],"isBlockCoverage":true},{"functionName":"getInternalGlobal","ranges":[{"startOffset":19709,"endOffset":19984,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeExec","ranges":[{"startOffset":19986,"endOffset":20199,"count":0}],"isBlockCoverage":false},{"functionName":"getCrossRelmRegex","ranges":[{"startOffset":20245,"endOffset":21036,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolReplace","ranges":[{"startOffset":21038,"endOffset":21192,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolSplit","ranges":[{"startOffset":21194,"endOffset":21344,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayBufferDetached","ranges":[{"startOffset":21347,"endOffset":21507,"count":0}],"isBlockCoverage":false},{"functionName":"getLazy","ranges":[{"startOffset":21708,"endOffset":21920,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21789,"endOffset":21917,"count":2340},{"startOffset":21833,"endOffset":21895,"count":4}],"isBlockCoverage":true},{"functionName":"setupCoverageHooks","ranges":[{"startOffset":22045,"endOffset":22722,"count":1},{"startOffset":22515,"endOffset":22692,"count":0}],"isBlockCoverage":true},{"functionName":"guessHandleType","ranges":[{"startOffset":22795,"endOffset":22892,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22894,"endOffset":23438,"count":5}],"isBlockCoverage":false},{"functionName":"WeakReference","ranges":[{"startOffset":22969,"endOffset":23036,"count":5}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":23040,"endOffset":23258,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":23262,"endOffset":23390,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23394,"endOffset":23436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"88","url":"node:internal/options","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1922,"count":1}],"isBlockCoverage":false},{"functionName":"getCLIOptionsFromBinding","ranges":[{"startOffset":464,"endOffset":598,"count":873},{"startOffset":521,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"getAliasesFromBinding","ranges":[{"startOffset":600,"endOffset":731,"count":1}],"isBlockCoverage":true},{"functionName":"getEmbedderOptions","ranges":[{"startOffset":733,"endOffset":877,"count":4},{"startOffset":789,"endOffset":849,"count":1}],"isBlockCoverage":true},{"functionName":"refreshOptions","ranges":[{"startOffset":879,"endOffset":960,"count":1}],"isBlockCoverage":true},{"functionName":"getOptionValue","ranges":[{"startOffset":962,"endOffset":1228,"count":872},{"startOffset":1084,"endOffset":1185,"count":8},{"startOffset":1185,"endOffset":1225,"count":864}],"isBlockCoverage":true},{"functionName":"getAllowUnauthorized","ranges":[{"startOffset":1230,"endOffset":1695,"count":0}],"isBlockCoverage":false},{"functionName":"get options","ranges":[{"startOffset":1718,"endOffset":1776,"count":1}],"isBlockCoverage":true},{"functionName":"get aliases","ranges":[{"startOffset":1780,"endOffset":1835,"count":1}],"isBlockCoverage":true}]},{"scriptId":"89","url":"node:internal/util/types","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2469,"count":1}],"isBlockCoverage":false},{"functionName":"isTypedArray","ranges":[{"startOffset":131,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"isUint8Array","ranges":[{"startOffset":236,"endOffset":342,"count":992}],"isBlockCoverage":true},{"functionName":"isUint8ClampedArray","ranges":[{"startOffset":344,"endOffset":464,"count":0}],"isBlockCoverage":false},{"functionName":"isUint16Array","ranges":[{"startOffset":466,"endOffset":574,"count":0}],"isBlockCoverage":false},{"functionName":"isUint32Array","ranges":[{"startOffset":576,"endOffset":684,"count":0}],"isBlockCoverage":false},{"functionName":"isInt8Array","ranges":[{"startOffset":686,"endOffset":790,"count":0}],"isBlockCoverage":false},{"functionName":"isInt16Array","ranges":[{"startOffset":792,"endOffset":898,"count":0}],"isBlockCoverage":false},{"functionName":"isInt32Array","ranges":[{"startOffset":900,"endOffset":1006,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat32Array","ranges":[{"startOffset":1008,"endOffset":1118,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat64Array","ranges":[{"startOffset":1120,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"isBigInt64Array","ranges":[{"startOffset":1232,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"isBigUint64Array","ranges":[{"startOffset":1346,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":1932,"endOffset":2147,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":2243,"endOffset":2458,"count":0}],"isBlockCoverage":false}]},{"scriptId":"90","url":"node:internal/linkedlist","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1128,"count":1}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":15,"endOffset":103,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":133,"endOffset":225,"count":0}],"isBlockCoverage":false},{"functionName":"remove","ranges":[{"startOffset":260,"endOffset":487,"count":3}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":543,"endOffset":995,"count":3},{"startOffset":594,"endOffset":611,"count":0}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":997,"endOffset":1057,"count":0}],"isBlockCoverage":false}]},{"scriptId":"91","url":"node:internal/priority_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2573,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":395,"endOffset":2571,"count":1}],"isBlockCoverage":false},{"functionName":"#compare","ranges":[{"startOffset":430,"endOffset":445,"count":0}],"isBlockCoverage":false},{"functionName":"PriorityQueue","ranges":[{"startOffset":504,"endOffset":688,"count":1}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":692,"endOffset":875,"count":1},{"startOffset":826,"endOffset":843,"count":0}],"isBlockCoverage":true},{"functionName":"peek","ranges":[{"startOffset":879,"endOffset":917,"count":0}],"isBlockCoverage":false},{"functionName":"percolateDown","ranges":[{"startOffset":921,"endOffset":1585,"count":0}],"isBlockCoverage":false},{"functionName":"percolateUp","ranges":[{"startOffset":1589,"endOffset":2077,"count":1},{"startOffset":1764,"endOffset":1986,"count":0}],"isBlockCoverage":true},{"functionName":"removeAt","ranges":[{"startOffset":2081,"endOffset":2411,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":2415,"endOffset":2569,"count":0}],"isBlockCoverage":false}]},{"scriptId":"92","url":"node:internal/util/inspect","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":81525,"count":1}],"isBlockCoverage":false},{"functionName":"pathToFileUrlHref","ranges":[{"startOffset":3211,"endOffset":3345,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3454,"endOffset":3515,"count":62}],"isBlockCoverage":true},{"functionName":"isUndetectableObject","ranges":[{"startOffset":3611,"endOffset":3661,"count":0}],"isBlockCoverage":false},{"functionName":"getUserOptions","ranges":[{"startOffset":7144,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":8980,"endOffset":11006,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11117,"endOffset":11162,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":11166,"endOffset":11281,"count":0}],"isBlockCoverage":false},{"functionName":"defineColorAlias","ranges":[{"startOffset":13005,"endOffset":13269,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13121,"endOffset":13161,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":13167,"endOffset":13213,"count":0}],"isBlockCoverage":false},{"functionName":"addQuotes","ranges":[{"startOffset":14281,"endOffset":14439,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":14441,"endOffset":14616,"count":0}],"isBlockCoverage":false},{"functionName":"strEscape","ranges":[{"startOffset":14728,"endOffset":16882,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeWithColor","ranges":[{"startOffset":16884,"endOffset":17150,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeNoColor","ranges":[{"startOffset":17152,"endOffset":17198,"count":0}],"isBlockCoverage":false},{"functionName":"getEmptyFormatArray","ranges":[{"startOffset":17277,"endOffset":17324,"count":0}],"isBlockCoverage":false},{"functionName":"isInstanceof","ranges":[{"startOffset":17326,"endOffset":17444,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorName","ranges":[{"startOffset":17446,"endOffset":18715,"count":0}],"isBlockCoverage":false},{"functionName":"addPrototypeProperties","ranges":[{"startOffset":18902,"endOffset":20735,"count":0}],"isBlockCoverage":false},{"functionName":"getPrefix","ranges":[{"startOffset":20737,"endOffset":21124,"count":0}],"isBlockCoverage":false},{"functionName":"getKeys","ranges":[{"startOffset":21161,"endOffset":22152,"count":0}],"isBlockCoverage":false},{"functionName":"getCtxStyle","ranges":[{"startOffset":22154,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"formatProxy","ranges":[{"startOffset":22419,"endOffset":22869,"count":0}],"isBlockCoverage":false},{"functionName":"formatValue","ranges":[{"startOffset":23051,"endOffset":25808,"count":0}],"isBlockCoverage":false},{"functionName":"formatRaw","ranges":[{"startOffset":25810,"endOffset":36655,"count":0}],"isBlockCoverage":false},{"functionName":"getIteratorBraces","ranges":[{"startOffset":36657,"endOffset":36839,"count":0}],"isBlockCoverage":false},{"functionName":"getBoxedBase","ranges":[{"startOffset":36841,"endOffset":38029,"count":0}],"isBlockCoverage":false},{"functionName":"getClassBase","ranges":[{"startOffset":38031,"endOffset":38631,"count":0}],"isBlockCoverage":false},{"functionName":"getFunctionBase","ranges":[{"startOffset":38633,"endOffset":39866,"count":0}],"isBlockCoverage":false},{"functionName":"identicalSequenceRange","ranges":[{"startOffset":39868,"endOffset":40484,"count":0}],"isBlockCoverage":false},{"functionName":"getStackString","ranges":[{"startOffset":40486,"endOffset":40596,"count":0}],"isBlockCoverage":false},{"functionName":"getStackFrames","ranges":[{"startOffset":40598,"endOffset":41489,"count":0}],"isBlockCoverage":false},{"functionName":"improveStack","ranges":[{"startOffset":41491,"endOffset":42696,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateErrorKeys","ranges":[{"startOffset":42698,"endOffset":43121,"count":0}],"isBlockCoverage":false},{"functionName":"markNodeModules","ranges":[{"startOffset":43123,"endOffset":43593,"count":0}],"isBlockCoverage":false},{"functionName":"markCwd","ranges":[{"startOffset":43595,"endOffset":44572,"count":0}],"isBlockCoverage":false},{"functionName":"safeGetCWD","ranges":[{"startOffset":44574,"endOffset":44724,"count":0}],"isBlockCoverage":false},{"functionName":"formatError","ranges":[{"startOffset":44726,"endOffset":47121,"count":0}],"isBlockCoverage":false},{"functionName":"groupArrayElements","ranges":[{"startOffset":47123,"endOffset":51462,"count":0}],"isBlockCoverage":false},{"functionName":"handleMaxCallStackSize","ranges":[{"startOffset":51464,"endOffset":51853,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparator","ranges":[{"startOffset":51855,"endOffset":52257,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparatorEnd","ranges":[{"startOffset":52259,"endOffset":52558,"count":0}],"isBlockCoverage":false},{"functionName":"remainingText","ranges":[{"startOffset":52582,"endOffset":52652,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumber","ranges":[{"startOffset":52655,"endOffset":53443,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigInt","ranges":[{"startOffset":53445,"endOffset":53661,"count":0}],"isBlockCoverage":false},{"functionName":"formatPrimitive","ranges":[{"startOffset":53663,"endOffset":55068,"count":0}],"isBlockCoverage":false},{"functionName":"formatNamespaceObject","ranges":[{"startOffset":55070,"endOffset":56222,"count":0}],"isBlockCoverage":false},{"functionName":"formatSpecialArray","ranges":[{"startOffset":56269,"endOffset":57529,"count":0}],"isBlockCoverage":false},{"functionName":"formatArrayBuffer","ranges":[{"startOffset":57531,"endOffset":58179,"count":0}],"isBlockCoverage":false},{"functionName":"formatArray","ranges":[{"startOffset":58181,"endOffset":58780,"count":0}],"isBlockCoverage":false},{"functionName":"formatTypedArray","ranges":[{"startOffset":58782,"endOffset":59811,"count":0}],"isBlockCoverage":false},{"functionName":"formatSet","ranges":[{"startOffset":59813,"endOffset":60336,"count":0}],"isBlockCoverage":false},{"functionName":"formatMap","ranges":[{"startOffset":60338,"endOffset":60938,"count":0}],"isBlockCoverage":false},{"functionName":"formatSetIterInner","ranges":[{"startOffset":60940,"endOffset":61743,"count":0}],"isBlockCoverage":false},{"functionName":"formatMapIterInner","ranges":[{"startOffset":61745,"endOffset":63053,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakCollection","ranges":[{"startOffset":63055,"endOffset":63147,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakSet","ranges":[{"startOffset":63149,"endOffset":63306,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakMap","ranges":[{"startOffset":63308,"endOffset":63465,"count":0}],"isBlockCoverage":false},{"functionName":"formatIterator","ranges":[{"startOffset":63467,"endOffset":63888,"count":0}],"isBlockCoverage":false},{"functionName":"formatPromise","ranges":[{"startOffset":63890,"endOffset":64364,"count":0}],"isBlockCoverage":false},{"functionName":"formatProperty","ranges":[{"startOffset":64366,"endOffset":66939,"count":0}],"isBlockCoverage":false},{"functionName":"isBelowBreakLength","ranges":[{"startOffset":66941,"endOffset":67899,"count":0}],"isBlockCoverage":false},{"functionName":"reduceToSingleString","ranges":[{"startOffset":67901,"endOffset":70802,"count":0}],"isBlockCoverage":false},{"functionName":"hasBuiltInToString","ranges":[{"startOffset":70804,"endOffset":71880,"count":0}],"isBlockCoverage":false},{"functionName":"firstErrorLine","ranges":[{"startOffset":71905,"endOffset":71963,"count":0}],"isBlockCoverage":false},{"functionName":"tryStringify","ranges":[{"startOffset":71993,"endOffset":72498,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":72500,"endOffset":72581,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptions","ranges":[{"startOffset":72583,"endOffset":72770,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumberNoColor","ranges":[{"startOffset":72772,"endOffset":72954,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigIntNoColor","ranges":[{"startOffset":72956,"endOffset":73138,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptionsInternal","ranges":[{"startOffset":73140,"endOffset":77164,"count":0}],"isBlockCoverage":false},{"functionName":"isZeroWidthCodePoint","ranges":[{"startOffset":77166,"endOffset":77740,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78169,"endOffset":78760,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78875,"endOffset":79343,"count":0}],"isBlockCoverage":false},{"functionName":"isFullWidthCodePoint","ranges":[{"startOffset":79511,"endOffset":81120,"count":0}],"isBlockCoverage":false},{"functionName":"stripVTControlCharacters","ranges":[{"startOffset":81211,"endOffset":81338,"count":0}],"isBlockCoverage":false}]},{"scriptId":"93","url":"node:internal/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":474,"count":1}],"isBlockCoverage":false},{"functionName":"lazyError","ranges":[{"startOffset":26,"endOffset":155,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":157,"endOffset":307,"count":720},{"startOffset":205,"endOffset":305,"count":0}],"isBlockCoverage":true},{"functionName":"fail","ranges":[{"startOffset":309,"endOffset":426,"count":0}],"isBlockCoverage":false}]},{"scriptId":"94","url":"node:internal/util/debuglog","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3395,"count":1}],"isBlockCoverage":false},{"functionName":"initializeDebugEnv","ranges":[{"startOffset":503,"endOffset":976,"count":1},{"startOffset":595,"endOffset":932,"count":0}],"isBlockCoverage":true},{"functionName":"testEnabled","ranges":[{"startOffset":870,"endOffset":927,"count":0}],"isBlockCoverage":false},{"functionName":"testEnabled","ranges":[{"startOffset":958,"endOffset":969,"count":9}],"isBlockCoverage":true},{"functionName":"emitWarningIfNeeded","ranges":[{"startOffset":1050,"endOffset":1389,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":1404,"endOffset":1412,"count":2531}],"isBlockCoverage":true},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1431,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"debuglogImpl","ranges":[{"startOffset":1533,"endOffset":2091,"count":8},{"startOffset":1608,"endOffset":2063,"count":5},{"startOffset":1627,"endOffset":2016,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":1716,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"debuglog","ranges":[{"startOffset":2311,"endOffset":3337,"count":15}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":2342,"endOffset":2438,"count":9}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":2453,"endOffset":2847,"count":8},{"startOffset":2700,"endOffset":2730,"count":5},{"startOffset":2737,"endOffset":2776,"count":2},{"startOffset":2783,"endOffset":2837,"count":1}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2877,"endOffset":2946,"count":1}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2908,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"logger","ranges":[{"startOffset":2965,"endOffset":3160,"count":8},{"startOffset":3013,"endOffset":3043,"count":5},{"startOffset":3050,"endOffset":3089,"count":2},{"startOffset":3096,"endOffset":3150,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3231,"endOffset":3265,"count":1}],"isBlockCoverage":true}]},{"scriptId":"95","url":"node:events","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36377,"count":1}],"isBlockCoverage":false},{"functionName":"lazyEventEmitterAsyncResource","ranges":[{"startOffset":3020,"endOffset":6331,"count":5},{"startOffset":3110,"endOffset":6293,"count":1}],"isBlockCoverage":true},{"functionName":"EventEmitterReferencingAsyncResource","ranges":[{"startOffset":3565,"endOffset":3669,"count":0}],"isBlockCoverage":false},{"functionName":"get eventEmitter","ranges":[{"startOffset":3727,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterAsyncResource","ranges":[{"startOffset":4205,"endOffset":4729,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":4866,"endOffset":5236,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":5297,"endOffset":5485,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncId","ranges":[{"startOffset":5545,"endOffset":5736,"count":0}],"isBlockCoverage":false},{"functionName":"get triggerAsyncId","ranges":[{"startOffset":5796,"endOffset":6001,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncResource","ranges":[{"startOffset":6091,"endOffset":6280,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter","ranges":[{"startOffset":6465,"endOffset":6534,"count":65}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":7019,"endOffset":7075,"count":5}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":7079,"endOffset":7204,"count":0}],"isBlockCoverage":false},{"functionName":"checkListener","ranges":[{"startOffset":7985,"endOffset":8063,"count":13}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8171,"endOffset":8219,"count":7}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8228,"endOffset":8329,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.setMaxListeners","ranges":[{"startOffset":8882,"endOffset":9694,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.init","ranges":[{"startOffset":9861,"endOffset":10459,"count":65},{"startOffset":9912,"endOffset":9972,"count":0},{"startOffset":10116,"endOffset":10135,"count":2},{"startOffset":10137,"endOffset":10270,"count":0}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":10462,"endOffset":11021,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionOrErr","ranges":[{"startOffset":11023,"endOffset":11680,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":11832,"endOffset":11947,"count":1}],"isBlockCoverage":true},{"functionName":"_getMaxListeners","ranges":[{"startOffset":11950,"endOffset":12099,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":12236,"endOffset":12299,"count":0}],"isBlockCoverage":false},{"functionName":"enhanceStackTrace","ranges":[{"startOffset":12302,"endOffset":13061,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":13256,"endOffset":15559,"count":63},{"startOffset":13401,"endOffset":13439,"count":0},{"startOffset":13447,"endOffset":13481,"count":0},{"startOffset":13505,"endOffset":13534,"count":0},{"startOffset":13540,"endOffset":13577,"count":0},{"startOffset":13649,"endOffset":14617,"count":0},{"startOffset":14685,"endOffset":14698,"count":59},{"startOffset":14698,"endOffset":15018,"count":4},{"startOffset":14945,"endOffset":14963,"count":0},{"startOffset":14965,"endOffset":15014,"count":0},{"startOffset":15018,"endOffset":15541,"count":0},{"startOffset":15541,"endOffset":15558,"count":4}],"isBlockCoverage":true},{"functionName":"_addListener","ranges":[{"startOffset":15562,"endOffset":17456,"count":8},{"startOffset":15742,"endOffset":15827,"count":0},{"startOffset":16012,"endOffset":16273,"count":0},{"startOffset":16476,"endOffset":17436,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":17634,"endOffset":17726,"count":8}],"isBlockCoverage":true},{"functionName":"prependListener","ranges":[{"startOffset":18013,"endOffset":18116,"count":0}],"isBlockCoverage":false},{"functionName":"onceWrapper","ranges":[{"startOffset":18119,"endOffset":18383,"count":0}],"isBlockCoverage":false},{"functionName":"_onceWrap","ranges":[{"startOffset":18385,"endOffset":18626,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":18817,"endOffset":18943,"count":0}],"isBlockCoverage":false},{"functionName":"prependOnceListener","ranges":[{"startOffset":19176,"endOffset":19346,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":19553,"endOffset":20848,"count":5},{"startOffset":19702,"endOffset":19714,"count":0},{"startOffset":19787,"endOffset":19799,"count":3},{"startOffset":19799,"endOffset":19829,"count":2},{"startOffset":19829,"endOffset":19858,"count":0},{"startOffset":19860,"endOffset":20121,"count":2},{"startOffset":19911,"endOffset":19946,"count":0},{"startOffset":20042,"endOffset":20103,"count":0},{"startOffset":20121,"endOffset":20822,"count":0},{"startOffset":20822,"endOffset":20847,"count":2}],"isBlockCoverage":true},{"functionName":"removeAllListeners","ranges":[{"startOffset":21168,"endOffset":22497,"count":0}],"isBlockCoverage":false},{"functionName":"_listeners","ranges":[{"startOffset":22500,"endOffset":22895,"count":0}],"isBlockCoverage":false},{"functionName":"listeners","ranges":[{"startOffset":23085,"endOffset":23152,"count":0}],"isBlockCoverage":false},{"functionName":"rawListeners","ranges":[{"startOffset":23359,"endOffset":23430,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.listenerCount","ranges":[{"startOffset":23672,"endOffset":23858,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":24091,"endOffset":24796,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":24952,"endOffset":25045,"count":0}],"isBlockCoverage":false},{"functionName":"arrayClone","ranges":[{"startOffset":25048,"endOffset":25521,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapListeners","ranges":[{"startOffset":25523,"endOffset":25737,"count":0}],"isBlockCoverage":false},{"functionName":"getEventListeners","ranges":[{"startOffset":25947,"endOffset":26821,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":26941,"endOffset":27376,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":27596,"endOffset":29314,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29392,"endOffset":29413,"count":0}],"isBlockCoverage":false},{"functionName":"createIterResult","ranges":[{"startOffset":29428,"endOffset":29496,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticRemoveListener","ranges":[{"startOffset":29498,"endOffset":29883,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticAddListener","ranges":[{"startOffset":29885,"endOffset":30317,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":30622,"endOffset":35023,"count":0}],"isBlockCoverage":false},{"functionName":"listenersController","ranges":[{"startOffset":35025,"endOffset":35471,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortListener","ranges":[{"startOffset":35494,"endOffset":36376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"96","url":"node:buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":41224,"count":1}],"isBlockCoverage":false},{"functionName":"validateOffset","ranges":[{"startOffset":3255,"endOffset":3339,"count":0}],"isBlockCoverage":false},{"functionName":"createPool","ranges":[{"startOffset":4069,"endOffset":4228,"count":1}],"isBlockCoverage":true},{"functionName":"alignPool","ranges":[{"startOffset":4244,"endOffset":4366,"count":12},{"startOffset":4318,"endOffset":4364,"count":11}],"isBlockCoverage":true},{"functionName":"showFlaggedDeprecation","ranges":[{"startOffset":4670,"endOffset":5350,"count":0}],"isBlockCoverage":false},{"functionName":"toInteger","ranges":[{"startOffset":5352,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"_copy","ranges":[{"startOffset":5572,"endOffset":6704,"count":0}],"isBlockCoverage":false},{"functionName":"_copyActual","ranges":[{"startOffset":6706,"endOffset":7237,"count":0}],"isBlockCoverage":false},{"functionName":"Buffer","ranges":[{"startOffset":7813,"endOffset":8146,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8258,"endOffset":8286,"count":0}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":8544,"endOffset":9509,"count":18},{"startOffset":8630,"endOffset":8673,"count":11},{"startOffset":8673,"endOffset":8724,"count":7},{"startOffset":8726,"endOffset":9363,"count":7},{"startOffset":8767,"endOffset":8823,"count":6},{"startOffset":8823,"endOffset":8877,"count":1},{"startOffset":8903,"endOffset":8931,"count":1},{"startOffset":8932,"endOffset":9003,"count":0},{"startOffset":9005,"endOffset":9066,"count":0},{"startOffset":9066,"endOffset":9127,"count":1},{"startOffset":9127,"endOffset":9359,"count":0},{"startOffset":9363,"endOffset":9508,"count":0}],"isBlockCoverage":true},{"functionName":"copyBytesFrom","ranges":[{"startOffset":9763,"endOffset":10644,"count":0}],"isBlockCoverage":false},{"functionName":"of","ranges":[{"startOffset":11015,"endOffset":11167,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11456,"endOffset":11516,"count":60}],"isBlockCoverage":true},{"functionName":"alloc","ranges":[{"startOffset":11619,"endOffset":11864,"count":1},{"startOffset":11703,"endOffset":11716,"count":0},{"startOffset":11717,"endOffset":11728,"count":0},{"startOffset":11730,"endOffset":11831,"count":0}],"isBlockCoverage":true},{"functionName":"allocUnsafe","ranges":[{"startOffset":12043,"endOffset":12118,"count":1}],"isBlockCoverage":true},{"functionName":"allocUnsafeSlow","ranges":[{"startOffset":12359,"endOffset":12448,"count":58}],"isBlockCoverage":true},{"functionName":"SlowBuffer","ranges":[{"startOffset":12544,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"allocate","ranges":[{"startOffset":12748,"endOffset":13080,"count":1},{"startOffset":12791,"endOffset":12825,"count":0},{"startOffset":12912,"endOffset":12925,"count":0},{"startOffset":13043,"endOffset":13079,"count":0}],"isBlockCoverage":true},{"functionName":"fromStringFast","ranges":[{"startOffset":13082,"endOffset":13628,"count":11},{"startOffset":13208,"endOffset":13257,"count":1},{"startOffset":13257,"endOffset":13303,"count":10},{"startOffset":13303,"endOffset":13316,"count":0},{"startOffset":13316,"endOffset":13449,"count":10},{"startOffset":13449,"endOffset":13575,"count":0},{"startOffset":13575,"endOffset":13627,"count":10}],"isBlockCoverage":true},{"functionName":"fromString","ranges":[{"startOffset":13630,"endOffset":14083,"count":11},{"startOffset":13716,"endOffset":13740,"count":8},{"startOffset":13742,"endOffset":13861,"count":3},{"startOffset":13779,"endOffset":13803,"count":0},{"startOffset":13861,"endOffset":14043,"count":8},{"startOffset":13938,"endOffset":13979,"count":0},{"startOffset":14015,"endOffset":14039,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayBuffer","ranges":[{"startOffset":14085,"endOffset":14782,"count":6},{"startOffset":14229,"endOffset":14325,"count":0},{"startOffset":14402,"endOffset":14447,"count":0},{"startOffset":14506,"endOffset":14729,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayLike","ranges":[{"startOffset":14784,"endOffset":15178,"count":1},{"startOffset":14841,"endOffset":14865,"count":0},{"startOffset":14964,"endOffset":14977,"count":0},{"startOffset":15146,"endOffset":15177,"count":0}],"isBlockCoverage":true},{"functionName":"fromObject","ranges":[{"startOffset":15180,"endOffset":15486,"count":1},{"startOffset":15238,"endOffset":15269,"count":0},{"startOffset":15313,"endOffset":15351,"count":0},{"startOffset":15386,"endOffset":15441,"count":0},{"startOffset":15443,"endOffset":15484,"count":0}],"isBlockCoverage":true},{"functionName":"isBuffer","ranges":[{"startOffset":15525,"endOffset":15579,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":15599,"endOffset":15924,"count":0}],"isBlockCoverage":false},{"functionName":"isEncoding","ranges":[{"startOffset":15947,"endOffset":16098,"count":379}],"isBlockCoverage":true},{"functionName":"concat","ranges":[{"startOffset":16164,"endOffset":17311,"count":0}],"isBlockCoverage":false},{"functionName":"base64ByteLength","ranges":[{"startOffset":17314,"endOffset":17582,"count":1},{"startOffset":17520,"endOffset":17528,"count":0}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":17717,"endOffset":17781,"count":3}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":17794,"endOffset":17840,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":17855,"endOffset":17951,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18045,"endOffset":18074,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18087,"endOffset":18151,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18164,"endOffset":18210,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18225,"endOffset":18324,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18424,"endOffset":18453,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18466,"endOffset":18530,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18543,"endOffset":18589,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18604,"endOffset":18703,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18800,"endOffset":18825,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18838,"endOffset":18904,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18917,"endOffset":18965,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18980,"endOffset":19078,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19172,"endOffset":19197,"count":3}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19210,"endOffset":19275,"count":3}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":19288,"endOffset":19335,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19350,"endOffset":19562,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19659,"endOffset":19710,"count":1}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19723,"endOffset":19789,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":19802,"endOffset":19850,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19865,"endOffset":20079,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20185,"endOffset":20236,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20249,"endOffset":20324,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":20337,"endOffset":20388,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20403,"endOffset":20623,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20711,"endOffset":20742,"count":4}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":20755,"endOffset":20818,"count":4}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":20831,"endOffset":20876,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20891,"endOffset":21099,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingOps","ranges":[{"startOffset":21109,"endOffset":22933,"count":8},{"startOffset":21196,"endOffset":21495,"count":0},{"startOffset":21500,"endOffset":21919,"count":3},{"startOffset":21540,"endOffset":21564,"count":0},{"startOffset":21622,"endOffset":21919,"count":0},{"startOffset":21924,"endOffset":22078,"count":0},{"startOffset":22083,"endOffset":22239,"count":0},{"startOffset":22244,"endOffset":22625,"count":1},{"startOffset":22318,"endOffset":22344,"count":0},{"startOffset":22404,"endOffset":22516,"count":0},{"startOffset":22526,"endOffset":22625,"count":0},{"startOffset":22630,"endOffset":22762,"count":4},{"startOffset":22667,"endOffset":22716,"count":0},{"startOffset":22749,"endOffset":22762,"count":0},{"startOffset":22767,"endOffset":22927,"count":0}],"isBlockCoverage":true},{"functionName":"byteLength","ranges":[{"startOffset":22935,"endOffset":23441,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23600,"endOffset":23694,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23792,"endOffset":23890,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":23923,"endOffset":24056,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":24337,"endOffset":24916,"count":1},{"startOffset":24457,"endOffset":24620,"count":0},{"startOffset":24626,"endOffset":24915,"count":0}],"isBlockCoverage":true},{"functionName":"equals","ranges":[{"startOffset":24945,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":25427,"endOffset":26570,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":26666,"endOffset":27815,"count":0}],"isBlockCoverage":false},{"functionName":"bidirectionalIndexOf","ranges":[{"startOffset":28243,"endOffset":29551,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":29580,"endOffset":29697,"count":0}],"isBlockCoverage":false},{"functionName":"lastIndexOf","ranges":[{"startOffset":29731,"endOffset":29853,"count":0}],"isBlockCoverage":false},{"functionName":"includes","ranges":[{"startOffset":29884,"endOffset":29989,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":30167,"endOffset":30266,"count":0}],"isBlockCoverage":false},{"functionName":"_fill","ranges":[{"startOffset":30269,"endOffset":32215,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":32242,"endOffset":33257,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":33286,"endOffset":33520,"count":0}],"isBlockCoverage":false},{"functionName":"adjustOffset","ranges":[{"startOffset":33523,"endOffset":33957,"count":0}],"isBlockCoverage":false},{"functionName":"subarray","ranges":[{"startOffset":33987,"endOffset":34290,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":34318,"endOffset":34384,"count":0}],"isBlockCoverage":false},{"functionName":"swap","ranges":[{"startOffset":34387,"endOffset":34458,"count":0}],"isBlockCoverage":false},{"functionName":"swap16","ranges":[{"startOffset":34486,"endOffset":34890,"count":0}],"isBlockCoverage":false},{"functionName":"swap32","ranges":[{"startOffset":34919,"endOffset":35363,"count":0}],"isBlockCoverage":false},{"functionName":"swap64","ranges":[{"startOffset":35392,"endOffset":35900,"count":0}],"isBlockCoverage":false},{"functionName":"transcode","ranges":[{"startOffset":36214,"endOffset":36913,"count":0}],"isBlockCoverage":false},{"functionName":"btoa","ranges":[{"startOffset":36918,"endOffset":37455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":37728,"endOffset":37772,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37830,"endOffset":37874,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37929,"endOffset":37973,"count":10}],"isBlockCoverage":true},{"functionName":"atob","ranges":[{"startOffset":38149,"endOffset":40101,"count":0}],"isBlockCoverage":false},{"functionName":"isUtf8","ranges":[{"startOffset":40103,"endOffset":40299,"count":0}],"isBlockCoverage":false},{"functionName":"isAscii","ranges":[{"startOffset":40301,"endOffset":40514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40905,"endOffset":40940,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":40946,"endOffset":41044,"count":0}],"isBlockCoverage":false}]},{"scriptId":"97","url":"node:internal/buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30926,"count":1}],"isBlockCoverage":false},{"functionName":"checkBounds","ranges":[{"startOffset":1176,"endOffset":1392,"count":1},{"startOffset":1339,"endOffset":1390,"count":0}],"isBlockCoverage":true},{"functionName":"checkInt","ranges":[{"startOffset":1394,"endOffset":2016,"count":1},{"startOffset":1490,"endOffset":1974,"count":0}],"isBlockCoverage":true},{"functionName":"boundsError","ranges":[{"startOffset":2018,"endOffset":2421,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":2441,"endOffset":2940,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":2942,"endOffset":3441,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":3443,"endOffset":3944,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":3946,"endOffset":4441,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntLE","ranges":[{"startOffset":4443,"endOffset":4995,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48LE","ranges":[{"startOffset":4997,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40LE","ranges":[{"startOffset":5382,"endOffset":5738,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":5740,"endOffset":6066,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24LE","ranges":[{"startOffset":6068,"endOffset":6356,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":6358,"endOffset":6618,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":6620,"endOffset":6800,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntBE","ranges":[{"startOffset":6802,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48BE","ranges":[{"startOffset":7356,"endOffset":7739,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40BE","ranges":[{"startOffset":7741,"endOffset":8097,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":8099,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24BE","ranges":[{"startOffset":8427,"endOffset":8715,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":8717,"endOffset":8977,"count":0}],"isBlockCoverage":false},{"functionName":"readIntLE","ranges":[{"startOffset":8979,"endOffset":9524,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48LE","ranges":[{"startOffset":9526,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40LE","ranges":[{"startOffset":9959,"endOffset":10346,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":10348,"endOffset":10683,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24LE","ranges":[{"startOffset":10685,"endOffset":11017,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":11019,"endOffset":11325,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":11327,"endOffset":11535,"count":0}],"isBlockCoverage":false},{"functionName":"readIntBE","ranges":[{"startOffset":11537,"endOffset":12082,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48BE","ranges":[{"startOffset":12084,"endOffset":12513,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40BE","ranges":[{"startOffset":12515,"endOffset":12903,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":12905,"endOffset":13240,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24BE","ranges":[{"startOffset":13242,"endOffset":13574,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":13576,"endOffset":13882,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBackwards","ranges":[{"startOffset":13899,"endOffset":14304,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatForwards","ranges":[{"startOffset":14306,"endOffset":14710,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBackwards","ranges":[{"startOffset":14712,"endOffset":15282,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleForwards","ranges":[{"startOffset":15284,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64LE","ranges":[{"startOffset":15874,"endOffset":16356,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":16358,"endOffset":16480,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64BE","ranges":[{"startOffset":16482,"endOffset":16980,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":16982,"endOffset":17104,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":17106,"endOffset":17250,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":17252,"endOffset":17396,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntLE","ranges":[{"startOffset":17398,"endOffset":18007,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48LE","ranges":[{"startOffset":18009,"endOffset":18422,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40LE","ranges":[{"startOffset":18424,"endOffset":18803,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32LE","ranges":[{"startOffset":18805,"endOffset":19112,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19114,"endOffset":19220,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24LE","ranges":[{"startOffset":19222,"endOffset":19481,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16LE","ranges":[{"startOffset":19483,"endOffset":19679,"count":1}],"isBlockCoverage":true},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19681,"endOffset":19783,"count":1}],"isBlockCoverage":true},{"functionName":"writeU_Int8","ranges":[{"startOffset":19785,"endOffset":20197,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":20199,"endOffset":20293,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntBE","ranges":[{"startOffset":20295,"endOffset":20904,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48BE","ranges":[{"startOffset":20906,"endOffset":21327,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40BE","ranges":[{"startOffset":21329,"endOffset":21691,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32BE","ranges":[{"startOffset":21693,"endOffset":22008,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":22010,"endOffset":22116,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24BE","ranges":[{"startOffset":22118,"endOffset":22383,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16BE","ranges":[{"startOffset":22385,"endOffset":22581,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":22583,"endOffset":22685,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntLE","ranges":[{"startOffset":22687,"endOffset":23349,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":23351,"endOffset":23466,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":23468,"endOffset":23575,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":23577,"endOffset":23674,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntBE","ranges":[{"startOffset":23676,"endOffset":24338,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":24340,"endOffset":24455,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":24457,"endOffset":24564,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleForwards","ranges":[{"startOffset":24583,"endOffset":25049,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBackwards","ranges":[{"startOffset":25051,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatForwards","ranges":[{"startOffset":25520,"endOffset":25821,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBackwards","ranges":[{"startOffset":25823,"endOffset":26125,"count":0}],"isBlockCoverage":false},{"functionName":"FastBuffer","ranges":[{"startOffset":26365,"endOffset":26465,"count":79}],"isBlockCoverage":true},{"functionName":"addBufferPrototypeMethods","ranges":[{"startOffset":26469,"endOffset":29608,"count":1},{"startOffset":28552,"endOffset":28572,"count":0},{"startOffset":28626,"endOffset":28645,"count":0},{"startOffset":28701,"endOffset":28722,"count":0},{"startOffset":28778,"endOffset":28798,"count":0},{"startOffset":28855,"endOffset":28876,"count":0},{"startOffset":28932,"endOffset":28952,"count":0},{"startOffset":29010,"endOffset":29032,"count":0},{"startOffset":29090,"endOffset":29111,"count":0}],"isBlockCoverage":true},{"functionName":"markAsUntransferable","ranges":[{"startOffset":29764,"endOffset":30013,"count":1},{"startOffset":29832,"endOffset":29860,"count":0},{"startOffset":29883,"endOffset":29890,"count":0}],"isBlockCoverage":true},{"functionName":"createUnsafeBuffer","ranges":[{"startOffset":30291,"endOffset":30427,"count":59}],"isBlockCoverage":true},{"functionName":"reconnectZeroFillToggle","ranges":[{"startOffset":30682,"endOffset":30754,"count":1}],"isBlockCoverage":true}]},{"scriptId":"98","url":"node:internal/worker/js_transferable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2208,"count":1}],"isBlockCoverage":false},{"functionName":"setup","ranges":[{"startOffset":478,"endOffset":1311,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":759,"endOffset":1307,"count":0}],"isBlockCoverage":false},{"functionName":"makeTransferable","ranges":[{"startOffset":1313,"endOffset":1968,"count":0}],"isBlockCoverage":false}]},{"scriptId":"99","url":"node:internal/process/per_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12464,"count":1}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":1145,"endOffset":1233,"count":0}],"isBlockCoverage":false},{"functionName":"refreshHrtimeBuffer","ranges":[{"startOffset":1388,"endOffset":1856,"count":2}],"isBlockCoverage":true},{"functionName":"hrtime","ranges":[{"startOffset":1905,"endOffset":2407,"count":0}],"isBlockCoverage":false},{"functionName":"hrtimeBigInt","ranges":[{"startOffset":2409,"endOffset":2490,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2492,"endOffset":2509,"count":0}],"isBlockCoverage":false},{"functionName":"wrapProcessMethods","ranges":[{"startOffset":2587,"endOffset":7477,"count":1}],"isBlockCoverage":true},{"functionName":"_rawDebug","ranges":[{"startOffset":2754,"endOffset":2844,"count":0}],"isBlockCoverage":false},{"functionName":"cpuUsage","ranges":[{"startOffset":3055,"endOffset":4207,"count":0}],"isBlockCoverage":false},{"functionName":"previousValueIsValid","ranges":[{"startOffset":4360,"endOffset":4497,"count":0}],"isBlockCoverage":false},{"functionName":"memoryUsage","ranges":[{"startOffset":4542,"endOffset":4769,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":4799,"endOffset":5938,"count":1}],"isBlockCoverage":true},{"functionName":"kill","ranges":[{"startOffset":5942,"endOffset":6587,"count":0}],"isBlockCoverage":false},{"functionName":"resourceUsage","ranges":[{"startOffset":6638,"endOffset":7372,"count":0}],"isBlockCoverage":false},{"functionName":"buildAllowedFlags","ranges":[{"startOffset":7688,"endOffset":11790,"count":1},{"startOffset":7976,"endOffset":8267,"count":159},{"startOffset":8028,"endOffset":8263,"count":124},{"startOffset":8125,"endOffset":8257,"count":62},{"startOffset":8735,"endOffset":9157,"count":23},{"startOffset":8789,"endOffset":9153,"count":11},{"startOffset":8878,"endOffset":8947,"count":2},{"startOffset":9012,"endOffset":9081,"count":0}],"isBlockCoverage":true},{"functionName":"isAccepted","ranges":[{"startOffset":8271,"endOffset":8683,"count":29},{"startOffset":8341,"endOffset":8355,"count":28},{"startOffset":8357,"endOffset":8369,"count":2},{"startOffset":8369,"endOffset":8446,"count":27},{"startOffset":8446,"endOffset":8615,"count":2},{"startOffset":8496,"endOffset":8543,"count":1},{"startOffset":8615,"endOffset":8682,"count":25}],"isBlockCoverage":true},{"functionName":"trimLeadingDashes","ranges":[{"startOffset":9191,"endOffset":9253,"count":197}],"isBlockCoverage":true},{"functionName":"NodeEnvironmentFlagsSet","ranges":[{"startOffset":9563,"endOffset":9639,"count":1}],"isBlockCoverage":true},{"functionName":"add","ranges":[{"startOffset":9645,"endOffset":9714,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":9720,"endOffset":9793,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":9799,"endOffset":9851,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":9857,"endOffset":10672,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":10678,"endOffset":10843,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":10849,"endOffset":11026,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":11032,"endOffset":11093,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":11099,"endOffset":11262,"count":0}],"isBlockCoverage":false},{"functionName":"toggleTraceCategoryState","ranges":[{"startOffset":11980,"endOffset":12310,"count":1},{"startOffset":12060,"endOffset":12235,"count":0},{"startOffset":12267,"endOffset":12308,"count":0}],"isBlockCoverage":true}]},{"scriptId":"100","url":"node:internal/process/task_queues","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4285,"count":1}],"isBlockCoverage":false},{"functionName":"hasTickScheduled","ranges":[{"startOffset":982,"endOffset":1057,"count":0}],"isBlockCoverage":false},{"functionName":"setHasTickScheduled","ranges":[{"startOffset":1059,"endOffset":1145,"count":2},{"startOffset":1135,"endOffset":1138,"count":1},{"startOffset":1139,"endOffset":1142,"count":1}],"isBlockCoverage":true},{"functionName":"runNextTicks","ranges":[{"startOffset":1247,"endOffset":1443,"count":0}],"isBlockCoverage":false},{"functionName":"processTicksAndRejections","ranges":[{"startOffset":1445,"endOffset":2424,"count":1},{"startOffset":1547,"endOffset":2279,"count":2},{"startOffset":1781,"endOffset":2155,"count":0},{"startOffset":2217,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"nextTick","ranges":[{"startOffset":2568,"endOffset":3442,"count":2},{"startOffset":2669,"endOffset":2676,"count":0},{"startOffset":2743,"endOffset":2780,"count":0},{"startOffset":2785,"endOffset":2836,"count":0},{"startOffset":2841,"endOffset":2906,"count":0},{"startOffset":2911,"endOffset":3054,"count":0},{"startOffset":3083,"endOffset":3109,"count":1},{"startOffset":3354,"endOffset":3414,"count":0}],"isBlockCoverage":true},{"functionName":"runMicrotask","ranges":[{"startOffset":3444,"endOffset":3620,"count":0}],"isBlockCoverage":false},{"functionName":"queueMicrotask","ranges":[{"startOffset":3692,"endOffset":3981,"count":0}],"isBlockCoverage":false},{"functionName":"setupTaskQueue","ranges":[{"startOffset":4004,"endOffset":4262,"count":1}],"isBlockCoverage":true}]},{"scriptId":"101","url":"node:internal/process/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11045,"count":1}],"isBlockCoverage":false},{"functionName":"setHasRejectionToWarn","ranges":[{"startOffset":2155,"endOffset":2245,"count":1},{"startOffset":2235,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"hasRejectionToWarn","ranges":[{"startOffset":2247,"endOffset":2326,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorLike","ranges":[{"startOffset":2328,"endOffset":2464,"count":0}],"isBlockCoverage":false},{"functionName":"getUnhandledRejectionsMode","ranges":[{"startOffset":2466,"endOffset":2999,"count":0}],"isBlockCoverage":false},{"functionName":"promiseRejectHandler","ranges":[{"startOffset":3001,"endOffset":3570,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3619,"endOffset":3627,"count":0}],"isBlockCoverage":false},{"functionName":"resolveError","ranges":[{"startOffset":3698,"endOffset":3995,"count":0}],"isBlockCoverage":false},{"functionName":"unhandledRejection","ranges":[{"startOffset":3997,"endOffset":4557,"count":0}],"isBlockCoverage":false},{"functionName":"handledRejection","ranges":[{"startOffset":4559,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionWarning","ranges":[{"startOffset":5462,"endOffset":6499,"count":0}],"isBlockCoverage":false},{"functionName":"processPromiseRejections","ranges":[{"startOffset":6672,"endOffset":9849,"count":1},{"startOffset":6830,"endOffset":7009,"count":0},{"startOffset":7074,"endOffset":9753,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithoutStack","ranges":[{"startOffset":9851,"endOffset":10366,"count":0}],"isBlockCoverage":false},{"functionName":"generateUnhandledRejectionError","ranges":[{"startOffset":10368,"endOffset":10838,"count":0}],"isBlockCoverage":false},{"functionName":"listenForRejections","ranges":[{"startOffset":10840,"endOffset":10924,"count":1}],"isBlockCoverage":true}]},{"scriptId":"102","url":"node:internal/fixed_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4208,"count":1}],"isBlockCoverage":false},{"functionName":"FixedCircularBuffer","ranges":[{"startOffset":2959,"endOffset":3073,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3077,"endOffset":3129,"count":6}],"isBlockCoverage":true},{"functionName":"isFull","ranges":[{"startOffset":3133,"endOffset":3200,"count":2}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3204,"endOffset":3291,"count":2}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3295,"endOffset":3510,"count":3},{"startOffset":3388,"endOffset":3400,"count":1},{"startOffset":3400,"endOffset":3509,"count":2}],"isBlockCoverage":true},{"functionName":"FixedQueue","ranges":[{"startOffset":3552,"endOffset":3626,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3630,"endOffset":3677,"count":3}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3681,"endOffset":3945,"count":2},{"startOffset":3722,"endOffset":3915,"count":0}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3949,"endOffset":4204,"count":3},{"startOffset":4041,"endOffset":4062,"count":2},{"startOffset":4064,"endOffset":4183,"count":0}],"isBlockCoverage":true}]},{"scriptId":"103","url":"node:async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10295,"count":1}],"isBlockCoverage":false},{"functionName":"AsyncHook","ranges":[{"startOffset":1538,"endOffset":2372,"count":1},{"startOffset":1666,"endOffset":1708,"count":0},{"startOffset":1738,"endOffset":1769,"count":0},{"startOffset":1777,"endOffset":1821,"count":0},{"startOffset":1850,"endOffset":1880,"count":0},{"startOffset":1888,"endOffset":1931,"count":0},{"startOffset":1962,"endOffset":1994,"count":0},{"startOffset":2002,"endOffset":2047,"count":0},{"startOffset":2085,"endOffset":2124,"count":0},{"startOffset":2132,"endOffset":2184,"count":0}],"isBlockCoverage":true},{"functionName":"enable","ranges":[{"startOffset":2376,"endOffset":3621,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":3625,"endOffset":4409,"count":0}],"isBlockCoverage":false},{"functionName":"createHook","ranges":[{"startOffset":4414,"endOffset":4471,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncResource","ranges":[{"startOffset":4564,"endOffset":5761,"count":0}],"isBlockCoverage":false},{"functionName":"runInAsyncScope","ranges":[{"startOffset":5765,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":6085,"endOffset":6260,"count":0}],"isBlockCoverage":false},{"functionName":"asyncId","ranges":[{"startOffset":6264,"endOffset":6313,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":6317,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":6385,"endOffset":7421,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":7432,"endOffset":7569,"count":0}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":7632,"endOffset":7920,"count":0}],"isBlockCoverage":false},{"functionName":"AsyncLocalStorage","ranges":[{"startOffset":7955,"endOffset":8052,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":8063,"endOffset":8112,"count":0}],"isBlockCoverage":false},{"functionName":"snapshot","ranges":[{"startOffset":8123,"endOffset":8204,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":8208,"endOffset":8533,"count":0}],"isBlockCoverage":false},{"functionName":"_enable","ranges":[{"startOffset":8537,"endOffset":8683,"count":0}],"isBlockCoverage":false},{"functionName":"_propagate","ranges":[{"startOffset":8752,"endOffset":8932,"count":0}],"isBlockCoverage":false},{"functionName":"enterWith","ranges":[{"startOffset":8936,"endOffset":9068,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":9072,"endOffset":9570,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":9574,"endOffset":9806,"count":0}],"isBlockCoverage":false},{"functionName":"getStore","ranges":[{"startOffset":9810,"endOffset":9949,"count":0}],"isBlockCoverage":false}]},{"scriptId":"104","url":"node:timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9640,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1819,"endOffset":1844,"count":0}],"isBlockCoverage":false},{"functionName":"unenroll","ranges":[{"startOffset":2343,"endOffset":3527,"count":0}],"isBlockCoverage":false},{"functionName":"enroll","ranges":[{"startOffset":3734,"endOffset":3987,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":4229,"endOffset":4886,"count":1},{"startOffset":4396,"endOffset":4403,"count":0},{"startOffset":4433,"endOffset":4474,"count":0},{"startOffset":4479,"endOffset":4526,"count":0},{"startOffset":4531,"endOffset":4752,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4981,"endOffset":5106,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimeout","ranges":[{"startOffset":5206,"endOffset":5572,"count":2},{"startOffset":5249,"endOffset":5268,"count":0},{"startOffset":5270,"endOffset":5337,"count":0},{"startOffset":5400,"endOffset":5570,"count":0}],"isBlockCoverage":true},{"functionName":"setInterval","ranges":[{"startOffset":5809,"endOffset":6468,"count":0}],"isBlockCoverage":false},{"functionName":"clearInterval","ranges":[{"startOffset":6565,"endOffset":6863,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.close","ranges":[{"startOffset":6891,"endOffset":6942,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":6980,"endOffset":7016,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":7126,"endOffset":7287,"count":0}],"isBlockCoverage":false},{"functionName":"setImmediate","ranges":[{"startOffset":7504,"endOffset":8057,"count":1},{"startOffset":7691,"endOffset":7732,"count":0},{"startOffset":7737,"endOffset":7784,"count":0},{"startOffset":7789,"endOffset":8010,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8154,"endOffset":8281,"count":0}],"isBlockCoverage":false},{"functionName":"clearImmediate","ranges":[{"startOffset":8372,"endOffset":8922,"count":0}],"isBlockCoverage":false},{"functionName":"Immediate.","ranges":[{"startOffset":8961,"endOffset":8999,"count":0}],"isBlockCoverage":false}]},{"scriptId":"105","url":"node:internal/process/execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6918,"count":1}],"isBlockCoverage":false},{"functionName":"tryGetCwd","ranges":[{"startOffset":681,"endOffset":1011,"count":1},{"startOffset":742,"endOffset":1009,"count":0}],"isBlockCoverage":true},{"functionName":"evalModule","ranges":[{"startOffset":1013,"endOffset":1407,"count":0}],"isBlockCoverage":false},{"functionName":"evalScript","ranges":[{"startOffset":1409,"endOffset":3230,"count":0}],"isBlockCoverage":false},{"functionName":"setUncaughtExceptionCaptureCallback","ranges":[{"startOffset":3308,"endOffset":4002,"count":0}],"isBlockCoverage":false},{"functionName":"hasUncaughtExceptionCaptureCallback","ranges":[{"startOffset":4004,"endOffset":4105,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4107,"endOffset":4125,"count":0}],"isBlockCoverage":false},{"functionName":"createOnGlobalUncaughtException","ranges":[{"startOffset":4668,"endOffset":6491,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4937,"endOffset":6488,"count":0}],"isBlockCoverage":false},{"functionName":"readStdin","ranges":[{"startOffset":6493,"endOffset":6698,"count":0}],"isBlockCoverage":false}]},{"scriptId":"106","url":"node:path","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":46851,"count":1}],"isBlockCoverage":false},{"functionName":"isPathSeparator","ranges":[{"startOffset":1719,"endOffset":1823,"count":0}],"isBlockCoverage":false},{"functionName":"isPosixPathSeparator","ranges":[{"startOffset":1825,"endOffset":1902,"count":268581}],"isBlockCoverage":true},{"functionName":"isWindowsDeviceRoot","ranges":[{"startOffset":1904,"endOffset":2074,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeString","ranges":[{"startOffset":2137,"endOffset":4085,"count":3818},{"startOffset":2354,"endOffset":4069,"count":268209},{"startOffset":2387,"endOffset":2429,"count":264391},{"startOffset":2429,"endOffset":2520,"count":3818},{"startOffset":2472,"endOffset":2478,"count":3446},{"startOffset":2478,"endOffset":2520,"count":372},{"startOffset":2520,"endOffset":2553,"count":264763},{"startOffset":2553,"endOffset":3970,"count":32489},{"startOffset":2585,"endOffset":2598,"count":27440},{"startOffset":2600,"endOffset":2625,"count":5672},{"startOffset":2625,"endOffset":3927,"count":26817},{"startOffset":2647,"endOffset":3682,"count":128},{"startOffset":2676,"endOffset":2702,"count":70},{"startOffset":2703,"endOffset":2777,"count":5},{"startOffset":2778,"endOffset":2852,"count":5},{"startOffset":2854,"endOffset":3542,"count":123},{"startOffset":2886,"endOffset":3363,"count":65},{"startOffset":3006,"endOffset":3082,"count":0},{"startOffset":3363,"endOffset":3532,"count":58},{"startOffset":3391,"endOffset":3532,"count":0},{"startOffset":3542,"endOffset":3674,"count":63},{"startOffset":3605,"endOffset":3623,"count":5},{"startOffset":3624,"endOffset":3630,"count":58},{"startOffset":3682,"endOffset":3927,"count":26689},{"startOffset":3728,"endOffset":3797,"count":22929},{"startOffset":3797,"endOffset":3872,"count":3760},{"startOffset":3927,"endOffset":3970,"count":32424},{"startOffset":3970,"endOffset":4065,"count":232274},{"startOffset":3998,"endOffset":4012,"count":3666},{"startOffset":4014,"endOffset":4035,"count":883},{"startOffset":4035,"endOffset":4065,"count":231391}],"isBlockCoverage":true},{"functionName":"formatExt","ranges":[{"startOffset":4087,"endOffset":4172,"count":0}],"isBlockCoverage":false},{"functionName":"_format","ranges":[{"startOffset":4350,"endOffset":4685,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":4803,"endOffset":9588,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":9654,"endOffset":12725,"count":0}],"isBlockCoverage":false},{"functionName":"isAbsolute","ranges":[{"startOffset":12792,"endOffset":13208,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13277,"endOffset":15423,"count":0}],"isBlockCoverage":false},{"functionName":"relative","ranges":[{"startOffset":15719,"endOffset":19486,"count":0}],"isBlockCoverage":false},{"functionName":"toNamespacedPath","ranges":[{"startOffset":19552,"endOffset":20654,"count":0}],"isBlockCoverage":false},{"functionName":"dirname","ranges":[{"startOffset":20720,"endOffset":23266,"count":0}],"isBlockCoverage":false},{"functionName":"basename","ranges":[{"startOffset":23362,"endOffset":26136,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":26202,"endOffset":28275,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":28497,"endOffset":33253,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33339,"endOffset":33782,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33526,"endOffset":33683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33760,"endOffset":33779,"count":2}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":33904,"endOffset":34827,"count":3448},{"startOffset":34027,"endOffset":34047,"count":9174},{"startOffset":34054,"endOffset":34381,"count":5730},{"startOffset":34082,"endOffset":34091,"count":5728},{"startOffset":34092,"endOffset":34104,"count":2},{"startOffset":34207,"endOffset":34234,"count":0},{"startOffset":34234,"endOffset":34381,"count":5728},{"startOffset":34381,"endOffset":34766,"count":3446},{"startOffset":34766,"endOffset":34816,"count":0},{"startOffset":34817,"endOffset":34822,"count":0}],"isBlockCoverage":true},{"functionName":"normalize","ranges":[{"startOffset":34893,"endOffset":35506,"count":372},{"startOffset":34979,"endOffset":34990,"count":0},{"startOffset":35318,"endOffset":35412,"count":0},{"startOffset":35446,"endOffset":35458,"count":0},{"startOffset":35482,"endOffset":35494,"count":3},{"startOffset":35495,"endOffset":35501,"count":369}],"isBlockCoverage":true},{"functionName":"isAbsolute","ranges":[{"startOffset":35573,"endOffset":35729,"count":614}],"isBlockCoverage":true},{"functionName":"join","ranges":[{"startOffset":35798,"endOffset":36212,"count":3},{"startOffset":35847,"endOffset":35858,"count":0},{"startOffset":35917,"endOffset":36124,"count":6},{"startOffset":36053,"endOffset":36110,"count":3},{"startOffset":36161,"endOffset":36172,"count":0}],"isBlockCoverage":true},{"functionName":"relative","ranges":[{"startOffset":36302,"endOffset":38662,"count":2},{"startOffset":36415,"endOffset":36425,"count":0},{"startOffset":36552,"endOffset":36562,"count":0},{"startOffset":36835,"endOffset":36842,"count":0},{"startOffset":36916,"endOffset":37151,"count":70},{"startOffset":37064,"endOffset":37070,"count":0},{"startOffset":37127,"endOffset":37145,"count":6},{"startOffset":37483,"endOffset":37665,"count":0},{"startOffset":37673,"endOffset":38130,"count":0},{"startOffset":38136,"endOffset":38661,"count":0}],"isBlockCoverage":true},{"functionName":"toNamespacedPath","ranges":[{"startOffset":38728,"endOffset":38804,"count":3068}],"isBlockCoverage":true},{"functionName":"dirname","ranges":[{"startOffset":38870,"endOffset":39546,"count":1590},{"startOffset":38953,"endOffset":38964,"count":0},{"startOffset":39138,"endOffset":39391,"count":18902},{"startOffset":39209,"endOffset":39293,"count":1590},{"startOffset":39293,"endOffset":39385,"count":17312},{"startOffset":39419,"endOffset":39446,"count":0},{"startOffset":39483,"endOffset":39495,"count":0}],"isBlockCoverage":true},{"functionName":"basename","ranges":[{"startOffset":39642,"endOffset":42069,"count":375},{"startOffset":39703,"endOffset":39733,"count":0},{"startOffset":39865,"endOffset":39885,"count":0},{"startOffset":39886,"endOffset":39917,"count":0},{"startOffset":39919,"endOffset":41443,"count":0},{"startOffset":41491,"endOffset":41976,"count":4528},{"startOffset":41562,"endOffset":41786,"count":375},{"startOffset":41786,"endOffset":41970,"count":4153},{"startOffset":41808,"endOffset":41970,"count":375},{"startOffset":42004,"endOffset":42014,"count":0}],"isBlockCoverage":true},{"functionName":"extname","ranges":[{"startOffset":42135,"endOffset":43825,"count":1},{"startOffset":42468,"endOffset":43430,"count":13},{"startOffset":42564,"endOffset":42810,"count":1},{"startOffset":42784,"endOffset":42810,"count":0},{"startOffset":42810,"endOffset":42833,"count":12},{"startOffset":42833,"endOffset":42990,"count":1},{"startOffset":42990,"endOffset":43020,"count":12},{"startOffset":43020,"endOffset":43220,"count":1},{"startOffset":43149,"endOffset":43212,"count":0},{"startOffset":43220,"endOffset":43424,"count":11},{"startOffset":43247,"endOffset":43424,"count":7},{"startOffset":43669,"endOffset":43701,"count":0},{"startOffset":43702,"endOffset":43740,"count":0},{"startOffset":43743,"endOffset":43767,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":44052,"endOffset":46524,"count":0}],"isBlockCoverage":false}]},{"scriptId":"107","url":"node:internal/constants","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1583,"count":1}],"isBlockCoverage":false}]},{"scriptId":"108","url":"node:internal/process/warning","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5379,"count":1}],"isBlockCoverage":false},{"functionName":"resetForSerialization","ranges":[{"startOffset":448,"endOffset":645,"count":0}],"isBlockCoverage":false},{"functionName":"lazyOption","ranges":[{"startOffset":647,"endOffset":1201,"count":0}],"isBlockCoverage":false},{"functionName":"writeOut","ranges":[{"startOffset":1302,"endOffset":1424,"count":0}],"isBlockCoverage":false},{"functionName":"closeFdOnExit","ranges":[{"startOffset":1426,"endOffset":1537,"count":0}],"isBlockCoverage":false},{"functionName":"writeToFile","ranges":[{"startOffset":1539,"endOffset":1868,"count":0}],"isBlockCoverage":false},{"functionName":"doEmitWarning","ranges":[{"startOffset":1870,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"onWarning","ranges":[{"startOffset":1943,"endOffset":3092,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarning","ranges":[{"startOffset":3215,"endOffset":4406,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarningSync","ranges":[{"startOffset":4408,"endOffset":4538,"count":0}],"isBlockCoverage":false},{"functionName":"createWarningObject","ranges":[{"startOffset":4540,"endOffset":5283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"109","url":"node:internal/source_map/source_map_cache","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10127,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":357,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":824,"endOffset":939,"count":1}],"isBlockCoverage":true},{"functionName":"getSourceMapsEnabled","ranges":[{"startOffset":1596,"endOffset":1659,"count":71}],"isBlockCoverage":true},{"functionName":"setSourceMapsEnabled","ranges":[{"startOffset":1661,"endOffset":2203,"count":1},{"startOffset":1924,"endOffset":2173,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceURLMagicComment","ranges":[{"startOffset":2205,"endOffset":2805,"count":7},{"startOffset":2507,"endOffset":2540,"count":0},{"startOffset":2593,"endOffset":2729,"count":0},{"startOffset":2731,"endOffset":2804,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceMapURLMagicComment","ranges":[{"startOffset":2807,"endOffset":3250,"count":58},{"startOffset":3128,"endOffset":3156,"count":0},{"startOffset":3204,"endOffset":3249,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheSourceMap","ranges":[{"startOffset":3252,"endOffset":5023,"count":63},{"startOffset":3454,"endOffset":3474,"count":0},{"startOffset":3477,"endOffset":3484,"count":0},{"startOffset":3618,"endOffset":3742,"count":0},{"startOffset":3778,"endOffset":3844,"count":58},{"startOffset":3933,"endOffset":3950,"count":58},{"startOffset":3950,"endOffset":4122,"count":5},{"startOffset":4123,"endOffset":4137,"count":0},{"startOffset":4164,"endOffset":4349,"count":0},{"startOffset":4349,"endOffset":5021,"count":5},{"startOffset":4378,"endOffset":4644,"count":0},{"startOffset":4963,"endOffset":5017,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheGeneratedSourceMap","ranges":[{"startOffset":5025,"endOffset":5553,"count":2},{"startOffset":5163,"endOffset":5183,"count":0},{"startOffset":5186,"endOffset":5193,"count":0},{"startOffset":5297,"endOffset":5551,"count":0}],"isBlockCoverage":true},{"functionName":"dataFromUrl","ranges":[{"startOffset":5555,"endOffset":6075,"count":5},{"startOffset":5692,"endOffset":5767,"count":0},{"startOffset":5774,"endOffset":5854,"count":0}],"isBlockCoverage":true},{"functionName":"lineLengths","ranges":[{"startOffset":6265,"endOffset":6610,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6567,"endOffset":6606,"count":430}],"isBlockCoverage":true},{"functionName":"sourceMapFromFile","ranges":[{"startOffset":6612,"endOffset":6892,"count":5},{"startOffset":6840,"endOffset":6890,"count":0}],"isBlockCoverage":true},{"functionName":"sourceMapFromDataUrl","ranges":[{"startOffset":6986,"endOffset":7657,"count":0}],"isBlockCoverage":false},{"functionName":"sourcesToAbsolute","ranges":[{"startOffset":7842,"endOffset":8169,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7920,"endOffset":8026,"count":5}],"isBlockCoverage":true},{"functionName":"sourceMapCacheToObject","ranges":[{"startOffset":8607,"endOffset":8855,"count":0}],"isBlockCoverage":false},{"functionName":"appendCJSCache","ranges":[{"startOffset":8857,"endOffset":9083,"count":0}],"isBlockCoverage":false},{"functionName":"findSourceMap","ranges":[{"startOffset":9085,"endOffset":9957,"count":17},{"startOffset":9186,"endOffset":9238,"count":11},{"startOffset":9238,"endOffset":9257,"count":15},{"startOffset":9257,"endOffset":9331,"count":1},{"startOffset":9331,"endOffset":9379,"count":15},{"startOffset":9379,"endOffset":9420,"count":9},{"startOffset":9449,"endOffset":9696,"count":9},{"startOffset":9499,"endOffset":9692,"count":0},{"startOffset":9696,"endOffset":9724,"count":15},{"startOffset":9724,"endOffset":9751,"count":9},{"startOffset":9751,"endOffset":9818,"count":6},{"startOffset":9818,"endOffset":9935,"count":2},{"startOffset":9935,"endOffset":9956,"count":6}],"isBlockCoverage":true}]},{"scriptId":"110","url":"node:internal/url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43440,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBlob","ranges":[{"startOffset":2768,"endOffset":2843,"count":0}],"isBlockCoverage":false},{"functionName":"lazyCryptoRandom","ranges":[{"startOffset":2845,"endOffset":3079,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3462,"endOffset":4251,"count":1305}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3589,"endOffset":3617,"count":1}],"isBlockCoverage":false},{"functionName":"get hasPort","ranges":[{"startOffset":4030,"endOffset":4095,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSearch","ranges":[{"startOffset":4099,"endOffset":4174,"count":1601}],"isBlockCoverage":true},{"functionName":"get hasHash","ranges":[{"startOffset":4178,"endOffset":4249,"count":1601}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4337,"endOffset":6674,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7067,"endOffset":19940,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7158,"endOffset":7494,"count":1}],"isBlockCoverage":false},{"functionName":"setURLSearchParamsContext","ranges":[{"startOffset":7199,"endOffset":7246,"count":0}],"isBlockCoverage":false},{"functionName":"getURLSearchParamsList","ranges":[{"startOffset":7277,"endOffset":7303,"count":0}],"isBlockCoverage":false},{"functionName":"setURLSearchParams","ranges":[{"startOffset":7330,"endOffset":7489,"count":0}],"isBlockCoverage":false},{"functionName":"isURL","ranges":[{"startOffset":21271,"endOffset":21396,"count":1677},{"startOffset":21322,"endOffset":21338,"count":745},{"startOffset":21339,"endOffset":21365,"count":745},{"startOffset":21366,"endOffset":21392,"count":745}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21398,"endOffset":29200,"count":1400}],"isBlockCoverage":false},{"functionName":"URL","ranges":[{"startOffset":21461,"endOffset":21761,"count":1400},{"startOffset":21532,"endOffset":21580,"count":0},{"startOffset":21669,"endOffset":21700,"count":673}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21765,"endOffset":22485,"count":0}],"isBlockCoverage":false},{"functionName":"#updateContext","ranges":[{"startOffset":22489,"endOffset":23396,"count":1503},{"startOffset":23205,"endOffset":23392,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":23400,"endOffset":23447,"count":533}],"isBlockCoverage":true},{"functionName":"get href","ranges":[{"startOffset":23451,"endOffset":23498,"count":1018}],"isBlockCoverage":true},{"functionName":"set href","ranges":[{"startOffset":23502,"endOffset":23711,"count":0}],"isBlockCoverage":false},{"functionName":"get origin","ranges":[{"startOffset":23729,"endOffset":24598,"count":0}],"isBlockCoverage":false},{"functionName":"get protocol","ranges":[{"startOffset":24602,"endOffset":24706,"count":2223}],"isBlockCoverage":true},{"functionName":"set protocol","ranges":[{"startOffset":24710,"endOffset":24883,"count":0}],"isBlockCoverage":false},{"functionName":"get username","ranges":[{"startOffset":24887,"endOffset":25114,"count":0}],"isBlockCoverage":false},{"functionName":"set username","ranges":[{"startOffset":25118,"endOffset":25291,"count":0}],"isBlockCoverage":false},{"functionName":"get password","ranges":[{"startOffset":25295,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"set password","ranges":[{"startOffset":25522,"endOffset":25695,"count":0}],"isBlockCoverage":false},{"functionName":"get host","ranges":[{"startOffset":25699,"endOffset":26130,"count":0}],"isBlockCoverage":false},{"functionName":"set host","ranges":[{"startOffset":26134,"endOffset":26299,"count":0}],"isBlockCoverage":false},{"functionName":"get hostname","ranges":[{"startOffset":26303,"endOffset":26585,"count":699},{"startOffset":26469,"endOffset":26494,"count":0}],"isBlockCoverage":true},{"functionName":"set hostname","ranges":[{"startOffset":26589,"endOffset":26762,"count":0}],"isBlockCoverage":false},{"functionName":"get port","ranges":[{"startOffset":26766,"endOffset":26874,"count":0}],"isBlockCoverage":false},{"functionName":"set port","ranges":[{"startOffset":26878,"endOffset":27043,"count":0}],"isBlockCoverage":false},{"functionName":"get pathname","ranges":[{"startOffset":27047,"endOffset":27339,"count":1494},{"startOffset":27113,"endOffset":27163,"count":0},{"startOffset":27196,"endOffset":27244,"count":0}],"isBlockCoverage":true},{"functionName":"set pathname","ranges":[{"startOffset":27343,"endOffset":27516,"count":0}],"isBlockCoverage":false},{"functionName":"get search","ranges":[{"startOffset":27520,"endOffset":27855,"count":107},{"startOffset":27583,"endOffset":27854,"count":0}],"isBlockCoverage":true},{"functionName":"set search","ranges":[{"startOffset":27859,"endOffset":28036,"count":107}],"isBlockCoverage":true},{"functionName":"get searchParams","ranges":[{"startOffset":28054,"endOffset":28353,"count":0}],"isBlockCoverage":false},{"functionName":"get hash","ranges":[{"startOffset":28357,"endOffset":28572,"count":107},{"startOffset":28401,"endOffset":28463,"count":0},{"startOffset":28489,"endOffset":28571,"count":0}],"isBlockCoverage":true},{"functionName":"set hash","ranges":[{"startOffset":28576,"endOffset":28741,"count":107}],"isBlockCoverage":true},{"functionName":"toJSON","ranges":[{"startOffset":28745,"endOffset":28790,"count":0}],"isBlockCoverage":false},{"functionName":"canParse","ranges":[{"startOffset":28801,"endOffset":29198,"count":0}],"isBlockCoverage":false},{"functionName":"installObjectURLMethods","ranges":[{"startOffset":29910,"endOffset":30849,"count":1}],"isBlockCoverage":true},{"functionName":"createObjectURL","ranges":[{"startOffset":29997,"endOffset":30416,"count":0}],"isBlockCoverage":false},{"functionName":"revokeObjectURL","ranges":[{"startOffset":30420,"endOffset":30498,"count":0}],"isBlockCoverage":false},{"functionName":"parseParams","ranges":[{"startOffset":30958,"endOffset":33306,"count":0}],"isBlockCoverage":false},{"functionName":"serializeParams","ranges":[{"startOffset":34286,"endOffset":34846,"count":0}],"isBlockCoverage":false},{"functionName":"merge","ranges":[{"startOffset":34866,"endOffset":35496,"count":0}],"isBlockCoverage":false},{"functionName":"domainToASCII","ranges":[{"startOffset":35498,"endOffset":35683,"count":0}],"isBlockCoverage":false},{"functionName":"domainToUnicode","ranges":[{"startOffset":35685,"endOffset":35874,"count":0}],"isBlockCoverage":false},{"functionName":"urlToHttpOptions","ranges":[{"startOffset":36084,"endOffset":36785,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLWin32","ranges":[{"startOffset":36787,"endOffset":38284,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLPosix","ranges":[{"startOffset":38286,"endOffset":38807,"count":699},{"startOffset":38349,"endOffset":38405,"count":0},{"startOffset":38483,"endOffset":38766,"count":53314},{"startOffset":38514,"endOffset":38762,"count":0}],"isBlockCoverage":true},{"functionName":"fileURLToPath","ranges":[{"startOffset":38809,"endOffset":39148,"count":699},{"startOffset":38876,"endOffset":38897,"count":38},{"startOffset":38897,"endOffset":38991,"count":661},{"startOffset":38927,"endOffset":38991,"count":0},{"startOffset":39029,"endOffset":39070,"count":0},{"startOffset":39090,"endOffset":39117,"count":0}],"isBlockCoverage":true},{"functionName":"encodePathChars","ranges":[{"startOffset":39961,"endOffset":40737,"count":182},{"startOffset":40054,"endOffset":40125,"count":0},{"startOffset":40253,"endOffset":40326,"count":0},{"startOffset":40384,"endOffset":40455,"count":0},{"startOffset":40513,"endOffset":40591,"count":0},{"startOffset":40649,"endOffset":40716,"count":0}],"isBlockCoverage":true},{"functionName":"pathToFileURL","ranges":[{"startOffset":40739,"endOffset":42716,"count":184},{"startOffset":40790,"endOffset":40836,"count":0},{"startOffset":40838,"endOffset":41603,"count":0},{"startOffset":41885,"endOffset":41946,"count":181},{"startOffset":41906,"endOffset":41945,"count":0},{"startOffset":41948,"endOffset":41999,"count":1},{"startOffset":42005,"endOffset":42021,"count":1},{"startOffset":42021,"endOffset":42477,"count":182},{"startOffset":42477,"endOffset":42549,"count":0},{"startOffset":42549,"endOffset":42606,"count":182},{"startOffset":42606,"endOffset":42674,"count":0},{"startOffset":42674,"endOffset":42715,"count":182}],"isBlockCoverage":true},{"functionName":"toPathIfFileURL","ranges":[{"startOffset":42718,"endOffset":42855,"count":992},{"startOffset":42793,"endOffset":42814,"count":908},{"startOffset":42814,"endOffset":42854,"count":84}],"isBlockCoverage":true},{"functionName":"getURLOrigin","ranges":[{"startOffset":43042,"endOffset":43108,"count":0}],"isBlockCoverage":false}]},{"scriptId":"111","url":"node:internal/querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3316,"count":1}],"isBlockCoverage":false},{"functionName":"encodeStr","ranges":[{"startOffset":1534,"endOffset":3253,"count":0}],"isBlockCoverage":false}]},{"scriptId":"112","url":"node:querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14583,"count":1}],"isBlockCoverage":false},{"functionName":"unescapeBuffer","ranges":[{"startOffset":3146,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"qsUnescape","ranges":[{"startOffset":4400,"endOffset":4565,"count":0}],"isBlockCoverage":false},{"functionName":"qsEscape","ranges":[{"startOffset":5418,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"stringifyPrimitive","ranges":[{"startOffset":5719,"endOffset":5989,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringified","ranges":[{"startOffset":6110,"endOffset":6599,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringifiedCustom","ranges":[{"startOffset":6718,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":7065,"endOffset":8131,"count":0}],"isBlockCoverage":false},{"functionName":"charCodes","ranges":[{"startOffset":8187,"endOffset":8455,"count":0}],"isBlockCoverage":false},{"functionName":"addKeyVal","ranges":[{"startOffset":8518,"endOffset":9141,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":9392,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"decodeStr","ranges":[{"startOffset":14459,"endOffset":14582,"count":0}],"isBlockCoverage":false}]},{"scriptId":"113","url":"node:internal/bootstrap/web/exposed-wildcard","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3439,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":900,"endOffset":1129,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1153,"endOffset":1265,"count":0}],"isBlockCoverage":false},{"functionName":"createGlobalConsole","ranges":[{"startOffset":1898,"endOffset":2437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"114","url":"node:internal/console/global","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1814,"count":1}],"isBlockCoverage":false}]},{"scriptId":"115","url":"node:internal/console/constructor","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21601,"count":1}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1875,"endOffset":1975,"count":0}],"isBlockCoverage":false},{"functionName":"Console","ranges":[{"startOffset":2721,"endOffset":4813,"count":1},{"startOffset":2999,"endOffset":3053,"count":0},{"startOffset":3110,"endOffset":3223,"count":0},{"startOffset":3428,"endOffset":3486,"count":0},{"startOffset":3540,"endOffset":3598,"count":0},{"startOffset":3637,"endOffset":3660,"count":0},{"startOffset":3666,"endOffset":3722,"count":0},{"startOffset":3762,"endOffset":3871,"count":0},{"startOffset":3909,"endOffset":4215,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4331,"endOffset":4697,"count":19}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5042,"endOffset":5096,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5366,"endOffset":5607,"count":1}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5832,"endOffset":6477,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6041,"endOffset":6136,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6148,"endOffset":6178,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6308,"endOffset":6407,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6419,"endOffset":6449,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":6569,"endOffset":7977,"count":2}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":8069,"endOffset":9521,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":9616,"endOffset":10026,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10119,"endOffset":10299,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10392,"endOffset":10572,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteErrorHandler","ranges":[{"startOffset":10662,"endOffset":11551,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10730,"endOffset":11548,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":11580,"endOffset":11667,"count":0}],"isBlockCoverage":false},{"functionName":"warn","ranges":[{"startOffset":11673,"endOffset":11761,"count":0}],"isBlockCoverage":false},{"functionName":"dir","ranges":[{"startOffset":11767,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"time","ranges":[{"startOffset":11958,"endOffset":12316,"count":0}],"isBlockCoverage":false},{"functionName":"timeEnd","ranges":[{"startOffset":12321,"endOffset":12610,"count":0}],"isBlockCoverage":false},{"functionName":"timeLog","ranges":[{"startOffset":12615,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"trace","ranges":[{"startOffset":12865,"endOffset":13052,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":13057,"endOffset":13297,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":13358,"endOffset":13830,"count":0}],"isBlockCoverage":false},{"functionName":"count","ranges":[{"startOffset":13891,"endOffset":14347,"count":0}],"isBlockCoverage":false},{"functionName":"countReset","ranges":[{"startOffset":14413,"endOffset":14701,"count":0}],"isBlockCoverage":false},{"functionName":"group","ranges":[{"startOffset":14706,"endOffset":14891,"count":0}],"isBlockCoverage":false},{"functionName":"groupEnd","ranges":[{"startOffset":14896,"endOffset":15065,"count":0}],"isBlockCoverage":false},{"functionName":"table","ranges":[{"startOffset":15114,"endOffset":18432,"count":0}],"isBlockCoverage":false},{"functionName":"timeLogImpl","ranges":[{"startOffset":18473,"endOffset":18992,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":18994,"endOffset":19071,"count":0}],"isBlockCoverage":false},{"functionName":"formatTime","ranges":[{"startOffset":19073,"endOffset":19846,"count":0}],"isBlockCoverage":false},{"functionName":"isArray","ranges":[{"startOffset":19980,"endOffset":20036,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":20039,"endOffset":20057,"count":0}],"isBlockCoverage":false},{"functionName":"initializeGlobalConsole","ranges":[{"startOffset":20425,"endOffset":21464,"count":1},{"startOffset":20793,"endOffset":21463,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21359,"endOffset":21460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"116","url":"node:internal/util/inspector","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3929,"count":1}],"isBlockCoverage":false},{"functionName":"isUsingInspector","ranges":[{"startOffset":698,"endOffset":1081,"count":0}],"isBlockCoverage":false},{"functionName":"getInspectPort","ranges":[{"startOffset":1108,"endOffset":1485,"count":0}],"isBlockCoverage":false},{"functionName":"sendInspectorCommand","ranges":[{"startOffset":1500,"endOffset":2046,"count":0}],"isBlockCoverage":false},{"functionName":"isInspectorMessage","ranges":[{"startOffset":2048,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"installConsoleExtensions","ranges":[{"startOffset":2248,"endOffset":2891,"count":0}],"isBlockCoverage":false},{"functionName":"wrapConsole","ranges":[{"startOffset":2970,"endOffset":3778,"count":1},{"startOffset":3137,"endOffset":3776,"count":24},{"startOffset":3368,"endOffset":3654,"count":19},{"startOffset":3654,"endOffset":3772,"count":5}],"isBlockCoverage":true}]},{"scriptId":"117","url":"node:internal/process/permission","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":919,"count":1}],"isBlockCoverage":false},{"functionName":"isEnabled","ranges":[{"startOffset":315,"endOffset":559,"count":1794},{"startOffset":375,"endOffset":520,"count":1}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":563,"endOffset":913,"count":0}],"isBlockCoverage":false}]},{"scriptId":"118","url":"node:internal/event_target","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31545,"count":1}],"isBlockCoverage":false},{"functionName":"get isTrusted","ranges":[{"startOffset":2074,"endOffset":2130,"count":0}],"isBlockCoverage":false},{"functionName":"isEvent","ranges":[{"startOffset":2268,"endOffset":2340,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2342,"endOffset":7042,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":7039,"count":1}],"isBlockCoverage":false},{"functionName":"isCustomEvent","ranges":[{"startOffset":8173,"endOffset":8267,"count":0}],"isBlockCoverage":false},{"functionName":"CustomEvent","ranges":[{"startOffset":8497,"endOffset":8689,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":8722,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"NodeCustomEvent","ranges":[{"startOffset":9118,"endOffset":9245,"count":0}],"isBlockCoverage":false},{"functionName":"weakListeners","ranges":[{"startOffset":9495,"endOffset":9822,"count":0}],"isBlockCoverage":false},{"functionName":"Listener","ranges":[{"startOffset":10502,"endOffset":11966,"count":13},{"startOffset":10837,"endOffset":10856,"count":0},{"startOffset":10880,"endOffset":10902,"count":0},{"startOffset":10926,"endOffset":10948,"count":0},{"startOffset":11029,"endOffset":11048,"count":0},{"startOffset":11086,"endOffset":11122,"count":0},{"startOffset":11194,"endOffset":11650,"count":0},{"startOffset":11763,"endOffset":11962,"count":0}],"isBlockCoverage":true},{"functionName":"Listener.callback","ranges":[{"startOffset":11793,"endOffset":11923,"count":0}],"isBlockCoverage":false},{"functionName":"get once","ranges":[{"startOffset":11970,"endOffset":12030,"count":6}],"isBlockCoverage":true},{"functionName":"get capture","ranges":[{"startOffset":12033,"endOffset":12099,"count":4}],"isBlockCoverage":true},{"functionName":"get passive","ranges":[{"startOffset":12102,"endOffset":12168,"count":6}],"isBlockCoverage":true},{"functionName":"get isNodeStyleListener","ranges":[{"startOffset":12171,"endOffset":12251,"count":12}],"isBlockCoverage":true},{"functionName":"get weak","ranges":[{"startOffset":12254,"endOffset":12314,"count":39}],"isBlockCoverage":true},{"functionName":"get resistStopPropagation","ranges":[{"startOffset":12317,"endOffset":12411,"count":0}],"isBlockCoverage":false},{"functionName":"get removed","ranges":[{"startOffset":12414,"endOffset":12480,"count":6}],"isBlockCoverage":true},{"functionName":"set removed","ranges":[{"startOffset":12483,"endOffset":12600,"count":17},{"startOffset":12525,"endOffset":12552,"count":4},{"startOffset":12552,"endOffset":12596,"count":13}],"isBlockCoverage":true},{"functionName":"same","ranges":[{"startOffset":12604,"endOffset":12771,"count":16},{"startOffset":12663,"endOffset":12686,"count":0},{"startOffset":12739,"endOffset":12766,"count":4}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":12775,"endOffset":13032,"count":4},{"startOffset":12900,"endOffset":12935,"count":2},{"startOffset":12986,"endOffset":13028,"count":0}],"isBlockCoverage":true},{"functionName":"initEventTarget","ranges":[{"startOffset":13036,"endOffset":13255,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13463,"endOffset":13493,"count":1}],"isBlockCoverage":false},{"functionName":"EventTarget","ranges":[{"startOffset":13498,"endOffset":13544,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13548,"endOffset":14353,"count":13},{"startOffset":13709,"endOffset":13757,"count":0},{"startOffset":13759,"endOffset":14349,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14356,"endOffset":14407,"count":4}],"isBlockCoverage":true},{"functionName":"addEventListener","ranges":[{"startOffset":14796,"endOffset":17514,"count":13},{"startOffset":14891,"endOffset":14933,"count":0},{"startOffset":14970,"endOffset":15017,"count":0},{"startOffset":15409,"endOffset":15862,"count":0},{"startOffset":15926,"endOffset":16310,"count":0},{"startOffset":16381,"endOffset":16873,"count":7},{"startOffset":16873,"endOffset":17028,"count":6},{"startOffset":17028,"endOffset":17063,"count":8},{"startOffset":17065,"endOffset":17128,"count":8},{"startOffset":17128,"endOffset":17161,"count":6},{"startOffset":17161,"endOffset":17203,"count":0},{"startOffset":17203,"endOffset":17513,"count":6}],"isBlockCoverage":true},{"functionName":"signal.addEventListener.__proto__","ranges":[{"startOffset":16141,"endOffset":16215,"count":0}],"isBlockCoverage":false},{"functionName":"removeEventListener","ranges":[{"startOffset":17672,"endOffset":18513,"count":4},{"startOffset":17770,"endOffset":17812,"count":0},{"startOffset":17849,"endOffset":17896,"count":0},{"startOffset":17945,"endOffset":17952,"count":0},{"startOffset":18151,"endOffset":18158,"count":0},{"startOffset":18223,"endOffset":18509,"count":8},{"startOffset":18268,"endOffset":18473,"count":4},{"startOffset":18356,"endOffset":18383,"count":0},{"startOffset":18473,"endOffset":18509,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18517,"endOffset":19138,"count":0}],"isBlockCoverage":false},{"functionName":"dispatchEvent","ranges":[{"startOffset":19180,"endOffset":19641,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19645,"endOffset":21941,"count":4},{"startOffset":19944,"endOffset":20020,"count":0},{"startOffset":20119,"endOffset":20219,"count":0},{"startOffset":20496,"endOffset":21866,"count":6},{"startOffset":20637,"endOffset":20646,"count":0},{"startOffset":20656,"endOffset":20689,"count":0},{"startOffset":20692,"endOffset":21022,"count":0},{"startOffset":21047,"endOffset":21217,"count":0},{"startOffset":21327,"endOffset":21375,"count":0},{"startOffset":21414,"endOffset":21450,"count":0},{"startOffset":21622,"endOffset":21680,"count":0},{"startOffset":21724,"endOffset":21742,"count":0},{"startOffset":21754,"endOffset":21771,"count":0},{"startOffset":21780,"endOffset":21837,"count":0},{"startOffset":21903,"endOffset":21937,"count":0}],"isBlockCoverage":true},{"functionName":"createEvent","ranges":[{"startOffset":19713,"endOffset":19913,"count":0}],"isBlockCoverage":false},{"functionName":"iterationCondition","ranges":[{"startOffset":20296,"endOffset":20461,"count":10},{"startOffset":20337,"endOffset":20368,"count":4},{"startOffset":20368,"endOffset":20427,"count":6},{"startOffset":20428,"endOffset":20454,"count":6},{"startOffset":20436,"endOffset":20445,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21945,"endOffset":22043,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22046,"endOffset":22425,"count":0}],"isBlockCoverage":false},{"functionName":"initNodeEventTarget","ranges":[{"startOffset":22750,"endOffset":22813,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":22899,"endOffset":22930,"count":1}],"isBlockCoverage":false},{"functionName":"NodeEventTarget","ranges":[{"startOffset":22935,"endOffset":22998,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":23037,"endOffset":23191,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":23230,"endOffset":23383,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":23424,"endOffset":23573,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":23638,"endOffset":23847,"count":0}],"isBlockCoverage":false},{"functionName":"off","ranges":[{"startOffset":24037,"endOffset":24230,"count":4},{"startOffset":24108,"endOffset":24154,"count":0}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":24420,"endOffset":24624,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":24755,"endOffset":24960,"count":13},{"startOffset":24816,"endOffset":24862,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":25091,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":25393,"endOffset":25653,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":25784,"endOffset":26029,"count":0}],"isBlockCoverage":false},{"functionName":"removeAllListeners","ranges":[{"startOffset":26105,"endOffset":26360,"count":0}],"isBlockCoverage":false},{"functionName":"validateEventListener","ranges":[{"startOffset":26825,"endOffset":27197,"count":17},{"startOffset":26905,"endOffset":26957,"count":0},{"startOffset":26981,"endOffset":27196,"count":0}],"isBlockCoverage":true},{"functionName":"validateEventListenerOptions","ranges":[{"startOffset":27199,"endOffset":27778,"count":13},{"startOffset":27288,"endOffset":27316,"count":0},{"startOffset":27346,"endOffset":27366,"count":0}],"isBlockCoverage":true},{"functionName":"isEventTarget","ranges":[{"startOffset":28083,"endOffset":28159,"count":17}],"isBlockCoverage":true},{"functionName":"isNodeEventTarget","ranges":[{"startOffset":28161,"endOffset":28245,"count":17}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":28247,"endOffset":28561,"count":0}],"isBlockCoverage":false},{"functionName":"emitUncaughtException","ranges":[{"startOffset":28563,"endOffset":28644,"count":0}],"isBlockCoverage":false},{"functionName":"makeEventHandler","ranges":[{"startOffset":28646,"endOffset":29055,"count":0}],"isBlockCoverage":false},{"functionName":"defineEventHandler","ranges":[{"startOffset":29057,"endOffset":30523,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":29217,"endOffset":29353,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":29452,"endOffset":30290,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterMixin","ranges":[{"startOffset":30551,"endOffset":31241,"count":1},{"startOffset":30982,"endOffset":31144,"count":18}],"isBlockCoverage":true},{"functionName":"MixedEventEmitter","ranges":[{"startOffset":30620,"endOffset":30761,"count":58}],"isBlockCoverage":true}]},{"scriptId":"119","url":"node:util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10913,"count":1}],"isBlockCoverage":false},{"functionName":"lazyAbortController","ranges":[{"startOffset":2369,"endOffset":2489,"count":24}],"isBlockCoverage":true},{"functionName":"isBoolean","ranges":[{"startOffset":2600,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"isNull","ranges":[{"startOffset":2746,"endOffset":2793,"count":0}],"isBlockCoverage":false},{"functionName":"isNullOrUndefined","ranges":[{"startOffset":2891,"endOffset":2970,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":3056,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":3174,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbol","ranges":[{"startOffset":3320,"endOffset":3380,"count":0}],"isBlockCoverage":false},{"functionName":"isUndefined","ranges":[{"startOffset":3469,"endOffset":3526,"count":0}],"isBlockCoverage":false},{"functionName":"isObject","ranges":[{"startOffset":3623,"endOffset":3699,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":3782,"endOffset":3885,"count":0}],"isBlockCoverage":false},{"functionName":"isFunction","ranges":[{"startOffset":3973,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"isPrimitive","ranges":[{"startOffset":4172,"endOffset":4291,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":4343,"endOffset":4418,"count":0}],"isBlockCoverage":false},{"functionName":"timestamp","ranges":[{"startOffset":4584,"endOffset":4865,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":5023,"endOffset":5176,"count":0}],"isBlockCoverage":false},{"functionName":"inherits","ranges":[{"startOffset":5909,"endOffset":6547,"count":0}],"isBlockCoverage":false},{"functionName":"_extend","ranges":[{"startOffset":6700,"endOffset":6988,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7036,"endOffset":7461,"count":0}],"isBlockCoverage":false},{"functionName":"callbackify","ranges":[{"startOffset":7714,"endOffset":9211,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorName","ranges":[{"startOffset":9265,"endOffset":9481,"count":0}],"isBlockCoverage":false},{"functionName":"isDeepStrictEqual","ranges":[{"startOffset":9882,"endOffset":10087,"count":0}],"isBlockCoverage":false},{"functionName":"get transferableAbortSignal","ranges":[{"startOffset":10340,"endOffset":10433,"count":8}],"isBlockCoverage":true},{"functionName":"get transferableAbortController","ranges":[{"startOffset":10437,"endOffset":10538,"count":8}],"isBlockCoverage":true},{"functionName":"get aborted","ranges":[{"startOffset":10542,"endOffset":10603,"count":8}],"isBlockCoverage":true}]},{"scriptId":"120","url":"node:internal/webidl","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4636,"count":1}],"isBlockCoverage":false},{"functionName":"evenRound","ranges":[{"startOffset":825,"endOffset":1150,"count":0}],"isBlockCoverage":false},{"functionName":"pow2","ranges":[{"startOffset":1152,"endOffset":1415,"count":0}],"isBlockCoverage":false},{"functionName":"modulo","ranges":[{"startOffset":1527,"endOffset":1641,"count":0}],"isBlockCoverage":false},{"functionName":"convertToInt","ranges":[{"startOffset":1706,"endOffset":4313,"count":0}],"isBlockCoverage":false},{"functionName":"DOMString","ranges":[{"startOffset":4438,"endOffset":4568,"count":17},{"startOffset":4491,"endOffset":4545,"count":0}],"isBlockCoverage":true}]},{"scriptId":"121","url":"node:internal/perf/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":787,"count":1}],"isBlockCoverage":false},{"functionName":"getTimeOrigin","ranges":[{"startOffset":138,"endOffset":316,"count":0}],"isBlockCoverage":false},{"functionName":"now","ranges":[{"startOffset":390,"endOffset":496,"count":0}],"isBlockCoverage":false},{"functionName":"getMilestoneTimestamp","ranges":[{"startOffset":575,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"122","url":"node:internal/bootstrap/web/exposed-window-or-worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2185,"count":1}],"isBlockCoverage":false}]},{"scriptId":"123","url":"node:internal/bootstrap/switches/is_not_main_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1185,"count":1}],"isBlockCoverage":false},{"functionName":"defineStream","ranges":[{"startOffset":119,"endOffset":288,"count":3}],"isBlockCoverage":true},{"functionName":"lazyWorkerStdio","ranges":[{"startOffset":902,"endOffset":1009,"count":23},{"startOffset":951,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"getStdout","ranges":[{"startOffset":1011,"endOffset":1068,"count":8}],"isBlockCoverage":true},{"functionName":"getStderr","ranges":[{"startOffset":1070,"endOffset":1127,"count":9}],"isBlockCoverage":true},{"functionName":"getStdin","ranges":[{"startOffset":1129,"endOffset":1184,"count":6}],"isBlockCoverage":true}]},{"scriptId":"124","url":"node:internal/process/signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":false},{"functionName":"isSignal","ranges":[{"startOffset":238,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"startListeningIfSignal","ranges":[{"startOffset":398,"endOffset":904,"count":0}],"isBlockCoverage":false},{"functionName":"stopListeningIfSignal","ranges":[{"startOffset":906,"endOffset":1101,"count":0}],"isBlockCoverage":false}]},{"scriptId":"125","url":"node:internal/worker/io","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15479,"count":1}],"isBlockCoverage":false},{"functionName":"MessagePort.hasRef","ranges":[{"startOffset":3683,"endOffset":3766,"count":0}],"isBlockCoverage":false},{"functionName":"validateMessagePort","ranges":[{"startOffset":3769,"endOffset":3907,"count":0}],"isBlockCoverage":false},{"functionName":"isMessageEvent","ranges":[{"startOffset":3909,"endOffset":3985,"count":0}],"isBlockCoverage":false},{"functionName":"MessageEvent","ranges":[{"startOffset":4024,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4628,"endOffset":4752,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4862,"endOffset":4988,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5103,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5344,"endOffset":5470,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5579,"endOffset":5704,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5946,"endOffset":6264,"count":0}],"isBlockCoverage":false},{"functionName":"oninit","ranges":[{"startOffset":6403,"endOffset":6546,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortCloseEvent","ranges":[{"startOffset":6848,"endOffset":6887,"count":0}],"isBlockCoverage":false},{"functionName":"onclose","ranges":[{"startOffset":6960,"endOffset":7033,"count":0}],"isBlockCoverage":false},{"functionName":"MessagePort.close","ranges":[{"startOffset":7214,"endOffset":7349,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":7482,"endOffset":8110,"count":0}],"isBlockCoverage":false},{"functionName":"setupPortReferencing","ranges":[{"startOffset":8117,"endOffset":9480,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8478,"endOffset":8573,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8612,"endOffset":8710,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8812,"endOffset":8957,"count":9},{"startOffset":8872,"endOffset":8894,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9068,"endOffset":9215,"count":4},{"startOffset":9128,"endOffset":9149,"count":3}],"isBlockCoverage":true},{"functionName":"newListener","ranges":[{"startOffset":9221,"endOffset":9362,"count":6},{"startOffset":9270,"endOffset":9358,"count":2}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":9366,"endOffset":9478,"count":3},{"startOffset":9418,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"ReadableWorkerStdio","ranges":[{"startOffset":9530,"endOffset":9879,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9708,"endOffset":9873,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":9883,"endOffset":10189,"count":0}],"isBlockCoverage":false},{"functionName":"WritableWorkerStdio","ranges":[{"startOffset":10240,"endOffset":10389,"count":2}],"isBlockCoverage":true},{"functionName":"_writev","ranges":[{"startOffset":10393,"endOffset":10769,"count":0}],"isBlockCoverage":false},{"functionName":"_final","ranges":[{"startOffset":10773,"endOffset":10953,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10957,"endOffset":11204,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11099,"endOffset":11111,"count":0}],"isBlockCoverage":false},{"functionName":"createWorkerStdio","ranges":[{"startOffset":11208,"endOffset":11478,"count":1}],"isBlockCoverage":true},{"functionName":"receiveMessageOnPort","ranges":[{"startOffset":11480,"endOffset":11660,"count":0}],"isBlockCoverage":false},{"functionName":"onMessageEvent","ranges":[{"startOffset":11662,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"isBroadcastChannel","ranges":[{"startOffset":11759,"endOffset":11845,"count":0}],"isBlockCoverage":false},{"functionName":"BroadcastChannel","ranges":[{"startOffset":11932,"endOffset":12446,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12450,"endOffset":12863,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":12899,"endOffset":13028,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13065,"endOffset":13463,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":13531,"endOffset":13941,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":14224,"endOffset":14391,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":14676,"endOffset":14847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"126","url":"node:stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4784,"count":1}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2402,"endOffset":2558,"count":0}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2983,"endOffset":3117,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4105,"endOffset":4137,"count":16}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4235,"endOffset":4276,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4369,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"_uint8ArrayToBuffer","ranges":[{"startOffset":4575,"endOffset":4782,"count":0}],"isBlockCoverage":false}]},{"scriptId":"127","url":"node:internal/streams/operators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10772,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":1019,"endOffset":1599,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":1601,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"asIndexedPairs","ranges":[{"startOffset":4706,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"some","ranges":[{"startOffset":5181,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"every","ranges":[{"startOffset":5331,"endOffset":5659,"count":0}],"isBlockCoverage":false},{"functionName":"find","ranges":[{"startOffset":5661,"endOffset":5803,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":5805,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":6177,"endOffset":6504,"count":0}],"isBlockCoverage":false},{"functionName":"ReduceAwareErrMissingArgs","ranges":[{"startOffset":6720,"endOffset":6834,"count":0}],"isBlockCoverage":false},{"functionName":"reduce","ranges":[{"startOffset":6838,"endOffset":8280,"count":0}],"isBlockCoverage":false},{"functionName":"toArray","ranges":[{"startOffset":8282,"endOffset":8711,"count":0}],"isBlockCoverage":false},{"functionName":"flatMap","ranges":[{"startOffset":8713,"endOffset":8907,"count":0}],"isBlockCoverage":false},{"functionName":"toIntegerOrInfinity","ranges":[{"startOffset":8909,"endOffset":9231,"count":0}],"isBlockCoverage":false},{"functionName":"drop","ranges":[{"startOffset":9233,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"take","ranges":[{"startOffset":9783,"endOffset":10453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"128","url":"node:internal/abort_controller","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12413,"count":1}],"isBlockCoverage":false},{"functionName":"lazyMessageChannel","ranges":[{"startOffset":1574,"endOffset":1707,"count":0}],"isBlockCoverage":false},{"functionName":"lazyMakeTransferable","ranges":[{"startOffset":1709,"endOffset":1867,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":2337,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"validateThisAbortSignal","ranges":[{"startOffset":2598,"endOffset":2723,"count":0}],"isBlockCoverage":false},{"functionName":"setWeakAbortSignalTimeout","ranges":[{"startOffset":3305,"endOffset":3705,"count":0}],"isBlockCoverage":false},{"functionName":"AbortSignal","ranges":[{"startOffset":3749,"endOffset":3809,"count":0}],"isBlockCoverage":false},{"functionName":"get aborted","ranges":[{"startOffset":3846,"endOffset":3929,"count":0}],"isBlockCoverage":false},{"functionName":"get reason","ranges":[{"startOffset":3962,"endOffset":4041,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfAborted","ranges":[{"startOffset":4045,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4165,"endOffset":4294,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":4372,"endOffset":4516,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":4594,"endOffset":4856,"count":0}],"isBlockCoverage":false},{"functionName":"any","ranges":[{"startOffset":4943,"endOffset":6278,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6282,"endOffset":7050,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7408,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7412,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8023,"endOffset":8275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8279,"endOffset":8727,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal","ranges":[{"startOffset":8731,"endOffset":8815,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal.","ranges":[{"startOffset":8860,"endOffset":8868,"count":0}],"isBlockCoverage":false},{"functionName":"createAbortSignal","ranges":[{"startOffset":9346,"endOffset":9759,"count":0}],"isBlockCoverage":false},{"functionName":"abortSignal","ranges":[{"startOffset":9761,"endOffset":10123,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10125,"endOffset":10781,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortSignal","ranges":[{"startOffset":10929,"endOffset":11121,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortController","ranges":[{"startOffset":11193,"endOffset":11282,"count":0}],"isBlockCoverage":false},{"functionName":"aborted","ranges":[{"startOffset":11376,"endOffset":11964,"count":0}],"isBlockCoverage":false}]},{"scriptId":"129","url":"node:internal/streams/end-of-stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8360,"count":1}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":891,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":1000,"endOffset":1008,"count":0}],"isBlockCoverage":false},{"functionName":"eos","ranges":[{"startOffset":1011,"endOffset":6953,"count":0}],"isBlockCoverage":false},{"functionName":"eosWeb","ranges":[{"startOffset":6955,"endOffset":7840,"count":0}],"isBlockCoverage":false},{"functionName":"finished","ranges":[{"startOffset":7842,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"130","url":"node:internal/streams/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8416,"count":1}],"isBlockCoverage":false},{"functionName":"isReadableNodeStream","ranges":[{"startOffset":774,"endOffset":1191,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableNodeStream","ranges":[{"startOffset":1193,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexNodeStream","ranges":[{"startOffset":1415,"endOffset":1614,"count":0}],"isBlockCoverage":false},{"functionName":"isNodeStream","ranges":[{"startOffset":1616,"endOffset":1887,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":1889,"endOffset":2103,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":2105,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":2275,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"isWebStream","ranges":[{"startOffset":2444,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"isIterable","ranges":[{"startOffset":2558,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"isDestroyed","ranges":[{"startOffset":2890,"endOffset":3153,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableEnded","ranges":[{"startOffset":3177,"endOffset":3468,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableFinished","ranges":[{"startOffset":3496,"endOffset":3893,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableEnded","ranges":[{"startOffset":3922,"endOffset":4223,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableFinished","ranges":[{"startOffset":4248,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":4598,"endOffset":4898,"count":0}],"isBlockCoverage":false},{"functionName":"isWritable","ranges":[{"startOffset":4900,"endOffset":5197,"count":0}],"isBlockCoverage":false},{"functionName":"isFinished","ranges":[{"startOffset":5199,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableErrored","ranges":[{"startOffset":5515,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableErrored","ranges":[{"startOffset":5729,"endOffset":5941,"count":0}],"isBlockCoverage":false},{"functionName":"isClosed","ranges":[{"startOffset":5943,"endOffset":6448,"count":0}],"isBlockCoverage":false},{"functionName":"isOutgoingMessage","ranges":[{"startOffset":6450,"endOffset":6702,"count":0}],"isBlockCoverage":false},{"functionName":"isServerResponse","ranges":[{"startOffset":6704,"endOffset":6831,"count":0}],"isBlockCoverage":false},{"functionName":"isServerRequest","ranges":[{"startOffset":6833,"endOffset":7021,"count":0}],"isBlockCoverage":false},{"functionName":"willEmitClose","ranges":[{"startOffset":7023,"endOffset":7361,"count":0}],"isBlockCoverage":false},{"functionName":"isDisturbed","ranges":[{"startOffset":7363,"endOffset":7508,"count":0}],"isBlockCoverage":false},{"functionName":"isErrored","ranges":[{"startOffset":7510,"endOffset":7815,"count":0}],"isBlockCoverage":false}]},{"scriptId":"131","url":"node:internal/streams/compose","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5451,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":543,"endOffset":5449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"132","url":"node:internal/streams/pipeline","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12326,"count":1}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":1058,"endOffset":1487,"count":0}],"isBlockCoverage":false},{"functionName":"popCallback","ranges":[{"startOffset":1489,"endOffset":1817,"count":0}],"isBlockCoverage":false},{"functionName":"makeAsyncIterable","ranges":[{"startOffset":1819,"endOffset":2105,"count":0}],"isBlockCoverage":false},{"functionName":"fromReadable","ranges":[{"startOffset":2107,"endOffset":2281,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToNode","ranges":[{"startOffset":2283,"endOffset":3327,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToWeb","ranges":[{"startOffset":3329,"endOffset":3927,"count":0}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":3929,"endOffset":4022,"count":0}],"isBlockCoverage":false},{"functionName":"pipelineImpl","ranges":[{"startOffset":4024,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"pipe","ranges":[{"startOffset":10478,"endOffset":12279,"count":0}],"isBlockCoverage":false}]},{"scriptId":"133","url":"node:internal/streams/destroy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6826,"count":1}],"isBlockCoverage":false},{"functionName":"checkError","ranges":[{"startOffset":360,"endOffset":671,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":781,"endOffset":1568,"count":0}],"isBlockCoverage":false},{"functionName":"_destroy","ranges":[{"startOffset":1570,"endOffset":2184,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseNT","ranges":[{"startOffset":2186,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":2275,"endOffset":2523,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":2525,"endOffset":2800,"count":0}],"isBlockCoverage":false},{"functionName":"undestroy","ranges":[{"startOffset":2802,"endOffset":3492,"count":0}],"isBlockCoverage":false},{"functionName":"errorOrDestroy","ranges":[{"startOffset":3494,"endOffset":4413,"count":0}],"isBlockCoverage":false},{"functionName":"construct","ranges":[{"startOffset":4415,"endOffset":4821,"count":3},{"startOffset":4512,"endOffset":4820,"count":0}],"isBlockCoverage":true},{"functionName":"constructNT","ranges":[{"startOffset":4823,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"emitConstructNT","ranges":[{"startOffset":5572,"endOffset":5635,"count":0}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":5637,"endOffset":5733,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseLegacy","ranges":[{"startOffset":5735,"endOffset":5795,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseLegacy","ranges":[{"startOffset":5797,"endOffset":5917,"count":0}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":5952,"endOffset":6734,"count":0}],"isBlockCoverage":false}]},{"scriptId":"134","url":"node:internal/streams/duplex","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4938,"count":1}],"isBlockCoverage":false},{"functionName":"Duplex","ranges":[{"startOffset":1996,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3811,"endOffset":4023,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4029,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":4364,"endOffset":4528,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.fromWeb","ranges":[{"startOffset":4547,"endOffset":4665,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.toWeb","ranges":[{"startOffset":4683,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.from","ranges":[{"startOffset":4805,"endOffset":4936,"count":0}],"isBlockCoverage":false}]},{"scriptId":"135","url":"node:internal/streams/readable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43849,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1799,"endOffset":1824,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2617,"endOffset":2625,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3306,"endOffset":3522,"count":19}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3381,"endOffset":3423,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":3429,"endOffset":3514,"count":0}],"isBlockCoverage":false},{"functionName":"ReadableState","ranges":[{"startOffset":5398,"endOffset":8222,"count":1},{"startOffset":5797,"endOffset":5840,"count":0},{"startOffset":6159,"endOffset":6180,"count":0},{"startOffset":6182,"endOffset":6208,"count":0},{"startOffset":6225,"endOffset":6235,"count":0},{"startOffset":6236,"endOffset":6265,"count":0},{"startOffset":6271,"endOffset":6297,"count":0},{"startOffset":6472,"endOffset":6544,"count":0},{"startOffset":6946,"endOffset":6976,"count":0},{"startOffset":6978,"endOffset":7004,"count":0},{"startOffset":7093,"endOffset":7125,"count":0},{"startOffset":7127,"endOffset":7155,"count":0},{"startOffset":7652,"endOffset":7669,"count":0},{"startOffset":7742,"endOffset":7901,"count":0},{"startOffset":8100,"endOffset":8119,"count":0},{"startOffset":8121,"endOffset":8220,"count":0}],"isBlockCoverage":true},{"functionName":"Readable","ranges":[{"startOffset":8225,"endOffset":9113,"count":1},{"startOffset":8293,"endOffset":8322,"count":0},{"startOffset":8593,"endOffset":8937,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9000,"endOffset":9109,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._destroy","ranges":[{"startOffset":9250,"endOffset":9282,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9333,"endOffset":9371,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9415,"endOffset":9671,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.push","ranges":[{"startOffset":9900,"endOffset":9986,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unshift","ranges":[{"startOffset":10082,"endOffset":10167,"count":0}],"isBlockCoverage":false},{"functionName":"readableAddChunk","ranges":[{"startOffset":10170,"endOffset":12572,"count":0}],"isBlockCoverage":false},{"functionName":"addChunk","ranges":[{"startOffset":12574,"endOffset":13339,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.isPaused","ranges":[{"startOffset":13371,"endOffset":13483,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.setEncoding","ranges":[{"startOffset":13547,"endOffset":14108,"count":0}],"isBlockCoverage":false},{"functionName":"computeNewHighWaterMark","ranges":[{"startOffset":14169,"endOffset":14520,"count":0}],"isBlockCoverage":false},{"functionName":"howMuchToRead","ranges":[{"startOffset":14633,"endOffset":15044,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.read","ranges":[{"startOffset":15141,"endOffset":19643,"count":0}],"isBlockCoverage":false},{"functionName":"onEofChunk","ranges":[{"startOffset":19646,"endOffset":20466,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable","ranges":[{"startOffset":20667,"endOffset":20994,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable_","ranges":[{"startOffset":20996,"endOffset":21650,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore","ranges":[{"startOffset":22000,"endOffset":22177,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore_","ranges":[{"startOffset":22179,"endOffset":23971,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._read","ranges":[{"startOffset":24242,"endOffset":24308,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pipe","ranges":[{"startOffset":24337,"endOffset":28782,"count":0}],"isBlockCoverage":false},{"functionName":"pipeOnDrain","ranges":[{"startOffset":28785,"endOffset":29430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unpipe","ranges":[{"startOffset":29461,"endOffset":30162,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.on","ranges":[{"startOffset":30288,"endOffset":31195,"count":1},{"startOffset":30420,"endOffset":30752,"count":0},{"startOffset":30781,"endOffset":31178,"count":0}],"isBlockCoverage":true},{"functionName":"Readable.removeListener","ranges":[{"startOffset":31290,"endOffset":31855,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.removeAllListeners","ranges":[{"startOffset":31958,"endOffset":32552,"count":0}],"isBlockCoverage":false},{"functionName":"updateReadableListening","ranges":[{"startOffset":32555,"endOffset":33065,"count":0}],"isBlockCoverage":false},{"functionName":"nReadingNextTick","ranges":[{"startOffset":33067,"endOffset":33155,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.resume","ranges":[{"startOffset":33309,"endOffset":33634,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":33637,"endOffset":33787,"count":0}],"isBlockCoverage":false},{"functionName":"resume_","ranges":[{"startOffset":33789,"endOffset":34040,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pause","ranges":[{"startOffset":34069,"endOffset":34336,"count":0}],"isBlockCoverage":false},{"functionName":"flow","ranges":[{"startOffset":34339,"endOffset":34486,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":34670,"endOffset":35691,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":35736,"endOffset":35788,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.iterator","ranges":[{"startOffset":35821,"endOffset":35964,"count":0}],"isBlockCoverage":false},{"functionName":"streamToAsyncIterator","ranges":[{"startOffset":35967,"endOffset":36216,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncIterator","ranges":[{"startOffset":36218,"endOffset":37294,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":37513,"endOffset":37902,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":37908,"endOffset":38038,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38120,"endOffset":38184,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38266,"endOffset":38474,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38562,"endOffset":38628,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38709,"endOffset":38791,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38873,"endOffset":38933,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":38944,"endOffset":39053,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39129,"endOffset":39183,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39263,"endOffset":39351,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39429,"endOffset":39514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39583,"endOffset":39667,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39712,"endOffset":39796,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39867,"endOffset":39954,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":39960,"endOffset":40249,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40324,"endOffset":40412,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40553,"endOffset":40598,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40678,"endOffset":40729,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":40735,"endOffset":40784,"count":0}],"isBlockCoverage":false},{"functionName":"fromList","ranges":[{"startOffset":41090,"endOffset":41652,"count":0}],"isBlockCoverage":false},{"functionName":"endReadable","ranges":[{"startOffset":41654,"endOffset":41875,"count":0}],"isBlockCoverage":false},{"functionName":"endReadableNT","ranges":[{"startOffset":41877,"endOffset":42797,"count":0}],"isBlockCoverage":false},{"functionName":"endWritableNT","ranges":[{"startOffset":42799,"endOffset":42959,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.from","ranges":[{"startOffset":42977,"endOffset":43046,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":43111,"endOffset":43275,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.fromWeb","ranges":[{"startOffset":43296,"endOffset":43430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.toWeb","ranges":[{"startOffset":43450,"endOffset":43584,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":43603,"endOffset":43847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"136","url":"node:internal/streams/legacy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2934,"count":1}],"isBlockCoverage":false},{"functionName":"Stream","ranges":[{"startOffset":112,"endOffset":160,"count":3}],"isBlockCoverage":true},{"functionName":"Stream.pipe","ranges":[{"startOffset":274,"endOffset":2076,"count":0}],"isBlockCoverage":false},{"functionName":"prependListener","ranges":[{"startOffset":2079,"endOffset":2886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"137","url":"node:internal/streams/add-abort-signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1704,"count":1}],"isBlockCoverage":false},{"functionName":"validateAbortSignal","ranges":[{"startOffset":557,"endOffset":716,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortSignal","ranges":[{"startOffset":751,"endOffset":1062,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.addAbortSignalNoValidate","ranges":[{"startOffset":1107,"endOffset":1702,"count":0}],"isBlockCoverage":false}]},{"scriptId":"138","url":"node:internal/streams/buffer_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4060,"count":1}],"isBlockCoverage":false},{"functionName":"BufferList","ranges":[{"startOffset":254,"endOffset":338,"count":1}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":342,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":533,"endOffset":691,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":695,"endOffset":922,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":926,"endOffset":994,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":998,"endOffset":1180,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":1184,"endOffset":1467,"count":0}],"isBlockCoverage":false},{"functionName":"consume","ranges":[{"startOffset":1551,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":2009,"endOffset":2049,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":2053,"endOffset":2149,"count":0}],"isBlockCoverage":false},{"functionName":"_getString","ranges":[{"startOffset":2224,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"_getBuffer","ranges":[{"startOffset":2932,"endOffset":3779,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":3860,"endOffset":4056,"count":0}],"isBlockCoverage":false}]},{"scriptId":"139","url":"node:internal/streams/state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1332,"count":1}],"isBlockCoverage":false},{"functionName":"highWaterMarkFrom","ranges":[{"startOffset":287,"endOffset":454,"count":2},{"startOffset":385,"endOffset":408,"count":0},{"startOffset":424,"endOffset":444,"count":0}],"isBlockCoverage":true},{"functionName":"getDefaultHighWaterMark","ranges":[{"startOffset":456,"endOffset":586,"count":3},{"startOffset":523,"endOffset":555,"count":0}],"isBlockCoverage":true},{"functionName":"setDefaultHighWaterMark","ranges":[{"startOffset":588,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"getHighWaterMark","ranges":[{"startOffset":801,"endOffset":1234,"count":2},{"startOffset":948,"endOffset":1160,"count":0}],"isBlockCoverage":true}]},{"scriptId":"140","url":"node:string_decoder","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5213,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeEncoding","ranges":[{"startOffset":2129,"endOffset":2391,"count":0}],"isBlockCoverage":false},{"functionName":"StringDecoder","ranges":[{"startOffset":2705,"endOffset":2904,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3227,"endOffset":3612,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":3889,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":4291,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4586,"endOffset":4799,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4891,"endOffset":4954,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5047,"endOffset":5162,"count":0}],"isBlockCoverage":false}]},{"scriptId":"141","url":"node:internal/streams/from","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2614,"count":1}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":241,"endOffset":2589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"142","url":"node:internal/streams/writable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29040,"count":1}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2389,"endOffset":2406,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3093,"endOffset":3309,"count":20}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3168,"endOffset":3210,"count":2}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3216,"endOffset":3301,"count":0}],"isBlockCoverage":false},{"functionName":"WritableState","ranges":[{"startOffset":5971,"endOffset":9003,"count":2},{"startOffset":6366,"endOffset":6409,"count":0},{"startOffset":6630,"endOffset":6656,"count":0},{"startOffset":6672,"endOffset":6682,"count":0},{"startOffset":6683,"endOffset":6712,"count":0},{"startOffset":6714,"endOffset":6740,"count":0},{"startOffset":7031,"endOffset":7067,"count":0},{"startOffset":7121,"endOffset":7150,"count":0},{"startOffset":7257,"endOffset":7283,"count":0},{"startOffset":7406,"endOffset":7434,"count":0},{"startOffset":7754,"endOffset":7913,"count":0}],"isBlockCoverage":true},{"functionName":"resetBuffer","ranges":[{"startOffset":9005,"endOffset":9127,"count":2}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":9165,"endOffset":9254,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9350,"endOffset":9415,"count":0}],"isBlockCoverage":false},{"functionName":"Writable","ranges":[{"startOffset":9422,"endOffset":10950,"count":2},{"startOffset":10123,"endOffset":10152,"count":0},{"startOffset":10291,"endOffset":10319,"count":0},{"startOffset":10373,"endOffset":10403,"count":0},{"startOffset":10458,"endOffset":10490,"count":0},{"startOffset":10543,"endOffset":10571,"count":0},{"startOffset":10628,"endOffset":10664,"count":0},{"startOffset":10696,"endOffset":10733,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10800,"endOffset":10946,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":11032,"endOffset":11236,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.pipe","ranges":[{"startOffset":11337,"endOffset":11405,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":11408,"endOffset":12809,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.write","ranges":[{"startOffset":12838,"endOffset":12924,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.cork","ranges":[{"startOffset":12953,"endOffset":12999,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.uncork","ranges":[{"startOffset":13030,"endOffset":13201,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultEncoding","ranges":[{"startOffset":13244,"endOffset":13569,"count":0}],"isBlockCoverage":false},{"functionName":"writeOrBuffer","ranges":[{"startOffset":13759,"endOffset":14872,"count":0}],"isBlockCoverage":false},{"functionName":"doWrite","ranges":[{"startOffset":14874,"endOffset":15262,"count":0}],"isBlockCoverage":false},{"functionName":"onwriteError","ranges":[{"startOffset":15264,"endOffset":15649,"count":0}],"isBlockCoverage":false},{"functionName":"onwrite","ranges":[{"startOffset":15651,"endOffset":17310,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteTick","ranges":[{"startOffset":17312,"endOffset":17451,"count":0}],"isBlockCoverage":false},{"functionName":"afterWrite","ranges":[{"startOffset":17453,"endOffset":17869,"count":0}],"isBlockCoverage":false},{"functionName":"errorBuffer","ranges":[{"startOffset":17941,"endOffset":18532,"count":0}],"isBlockCoverage":false},{"functionName":"clearBuffer","ranges":[{"startOffset":18598,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._write","ranges":[{"startOffset":20262,"endOffset":20431,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.end","ranges":[{"startOffset":20495,"endOffset":21953,"count":0}],"isBlockCoverage":false},{"functionName":"needFinish","ranges":[{"startOffset":21956,"endOffset":22419,"count":0}],"isBlockCoverage":false},{"functionName":"callFinal","ranges":[{"startOffset":22421,"endOffset":23393,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":23395,"endOffset":23733,"count":0}],"isBlockCoverage":false},{"functionName":"finishMaybe","ranges":[{"startOffset":23735,"endOffset":24234,"count":0}],"isBlockCoverage":false},{"functionName":"finish","ranges":[{"startOffset":24236,"endOffset":24986,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25071,"endOffset":25172,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25220,"endOffset":25324,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":25330,"endOffset":25576,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25623,"endOffset":26027,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":26033,"endOffset":26167,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26222,"endOffset":26325,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26382,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26540,"endOffset":26622,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26674,"endOffset":26775,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26831,"endOffset":27046,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27106,"endOffset":27190,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27243,"endOffset":27323,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27376,"endOffset":27453,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27522,"endOffset":27606,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27688,"endOffset":27927,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.destroy","ranges":[{"startOffset":28005,"endOffset":28318,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._destroy","ranges":[{"startOffset":28406,"endOffset":28438,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.","ranges":[{"startOffset":28489,"endOffset":28527,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":28592,"endOffset":28756,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.fromWeb","ranges":[{"startOffset":28777,"endOffset":28911,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.toWeb","ranges":[{"startOffset":28931,"endOffset":29038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"143","url":"node:stream/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":917,"count":1}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":318,"endOffset":869,"count":0}],"isBlockCoverage":false}]},{"scriptId":"144","url":"node:internal/streams/transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7176,"count":1}],"isBlockCoverage":false},{"functionName":"Transform","ranges":[{"startOffset":3920,"endOffset":5747,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5749,"endOffset":6193,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":6195,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._transform","ranges":[{"startOffset":6348,"endOffset":6443,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._write","ranges":[{"startOffset":6475,"endOffset":7018,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._read","ranges":[{"startOffset":7049,"endOffset":7174,"count":0}],"isBlockCoverage":false}]},{"scriptId":"145","url":"node:internal/streams/passthrough","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1762,"count":1}],"isBlockCoverage":false},{"functionName":"PassThrough","ranges":[{"startOffset":1529,"endOffset":1671,"count":0}],"isBlockCoverage":false},{"functionName":"PassThrough._transform","ranges":[{"startOffset":1708,"endOffset":1760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"146","url":"node:internal/bootstrap/switches/does_not_own_process_state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1278,"count":1}],"isBlockCoverage":false},{"functionName":"wrappedUmask","ranges":[{"startOffset":1047,"endOffset":1277,"count":0}],"isBlockCoverage":false}]},{"scriptId":"147","url":"node:internal/process/worker_thread_only","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":426,"count":1}],"isBlockCoverage":false},{"functionName":"unavailable","ranges":[{"startOffset":194,"endOffset":387,"count":8}],"isBlockCoverage":true},{"functionName":"unavailableInWorker","ranges":[{"startOffset":225,"endOffset":315,"count":0}],"isBlockCoverage":false}]},{"scriptId":"148","url":"node:internal/main/worker_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7311,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1096,"endOffset":1121,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2200,"endOffset":5806,"count":3},{"startOffset":2251,"endOffset":5390,"count":1},{"startOffset":2537,"endOffset":2599,"count":0},{"startOffset":3460,"endOffset":3541,"count":0},{"startOffset":3597,"endOffset":3671,"count":0},{"startOffset":3737,"endOffset":3762,"count":0},{"startOffset":3961,"endOffset":4206,"count":0},{"startOffset":4214,"endOffset":4743,"count":0},{"startOffset":4751,"endOffset":4995,"count":0},{"startOffset":5390,"endOffset":5804,"count":2},{"startOffset":5432,"endOffset":5591,"count":0}],"isBlockCoverage":true},{"functionName":"process.cwd","ranges":[{"startOffset":3133,"endOffset":3384,"count":5},{"startOffset":3260,"endOffset":3277,"count":4},{"startOffset":3277,"endOffset":3383,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4900,"endOffset":4970,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5508,"endOffset":5585,"count":0}],"isBlockCoverage":false},{"functionName":"workerOnGlobalUncaughtException","ranges":[{"startOffset":5810,"endOffset":7002,"count":0}],"isBlockCoverage":false}]},{"scriptId":"149","url":"node:internal/process/pre_execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":22973,"count":1}],"isBlockCoverage":false},{"functionName":"prepareMainThreadExecution","ranges":[{"startOffset":1091,"endOffset":1268,"count":0}],"isBlockCoverage":false},{"functionName":"prepareWorkerThreadExecution","ranges":[{"startOffset":1270,"endOffset":1469,"count":1}],"isBlockCoverage":true},{"functionName":"prepareExecution","ranges":[{"startOffset":1471,"endOffset":3628,"count":1},{"startOffset":2237,"endOffset":3408,"count":0},{"startOffset":3597,"endOffset":3626,"count":0}],"isBlockCoverage":true},{"functionName":"setupSymbolDisposePolyfill","ranges":[{"startOffset":3630,"endOffset":4365,"count":1}],"isBlockCoverage":true},{"functionName":"setupUserModules","ranges":[{"startOffset":4367,"endOffset":4795,"count":1},{"startOffset":4676,"endOffset":4693,"count":0}],"isBlockCoverage":true},{"functionName":"refreshRuntimeOptions","ranges":[{"startOffset":4797,"endOffset":4853,"count":1}],"isBlockCoverage":true},{"functionName":"patchProcessObject","ranges":[{"startOffset":4855,"endOffset":6952,"count":1},{"startOffset":5388,"endOffset":5406,"count":0},{"startOffset":5407,"endOffset":5464,"count":0},{"startOffset":5466,"endOffset":5677,"count":0}],"isBlockCoverage":true},{"functionName":"addReadOnlyProcessAlias","ranges":[{"startOffset":6954,"endOffset":7235,"count":13},{"startOffset":7075,"endOffset":7233,"count":1}],"isBlockCoverage":true},{"functionName":"setupWarningHandler","ranges":[{"startOffset":7237,"endOffset":7757,"count":1},{"startOffset":7612,"endOffset":7751,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7641,"endOffset":7743,"count":0}],"isBlockCoverage":false},{"functionName":"setupFetch","ranges":[{"startOffset":7793,"endOffset":8933,"count":1},{"startOffset":7913,"endOffset":7930,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUndici","ranges":[{"startOffset":7948,"endOffset":8093,"count":0}],"isBlockCoverage":false},{"functionName":"fetch","ranges":[{"startOffset":8097,"endOffset":8192,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInterface","ranges":[{"startOffset":8244,"endOffset":8485,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8345,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8403,"endOffset":8473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8818,"endOffset":8929,"count":0}],"isBlockCoverage":false},{"functionName":"setupWebCrypto","ranges":[{"startOffset":9037,"endOffset":9989,"count":1},{"startOffset":9172,"endOffset":9189,"count":0},{"startOffset":9678,"endOffset":9987,"count":0}],"isBlockCoverage":true},{"functionName":"cryptoThisCheck","ranges":[{"startOffset":9363,"endOffset":9539,"count":0}],"isBlockCoverage":false},{"functionName":"get crypto","ranges":[{"startOffset":9840,"endOffset":9939,"count":0}],"isBlockCoverage":false},{"functionName":"setupCodeCoverage","ranges":[{"startOffset":9991,"endOffset":10512,"count":1}],"isBlockCoverage":true},{"functionName":"setupCustomEvent","ranges":[{"startOffset":10618,"endOffset":10895,"count":1},{"startOffset":10757,"endOffset":10774,"count":0}],"isBlockCoverage":true},{"functionName":"setupStacktracePrinterOnSigint","ranges":[{"startOffset":10897,"endOffset":11122,"count":0}],"isBlockCoverage":false},{"functionName":"initializeReport","ranges":[{"startOffset":11124,"endOffset":11373,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":11269,"endOffset":11364,"count":6}],"isBlockCoverage":true},{"functionName":"setupDebugEnv","ranges":[{"startOffset":11375,"endOffset":11606,"count":1},{"startOffset":11526,"endOffset":11604,"count":0}],"isBlockCoverage":true},{"functionName":"initializeReportSignalHandlers","ranges":[{"startOffset":11668,"endOffset":11856,"count":0}],"isBlockCoverage":false},{"functionName":"initializeHeapSnapshotSignalHandlers","ranges":[{"startOffset":11858,"endOffset":12592,"count":0}],"isBlockCoverage":false},{"functionName":"setupTraceCategoryState","ranges":[{"startOffset":12594,"endOffset":12853,"count":1}],"isBlockCoverage":true},{"functionName":"setupInspectorHooks","ranges":[{"startOffset":12855,"endOffset":13437,"count":1}],"isBlockCoverage":true},{"functionName":"initializeDeprecations","ranges":[{"startOffset":13632,"endOffset":15584,"count":1},{"startOffset":14344,"endOffset":14646,"count":16},{"startOffset":14389,"endOffset":14621,"count":0},{"startOffset":14963,"endOffset":15160,"count":0},{"startOffset":15188,"endOffset":15582,"count":0}],"isBlockCoverage":true},{"functionName":"setupChildProcessIpcChannel","ranges":[{"startOffset":15586,"endOffset":16151,"count":0}],"isBlockCoverage":false},{"functionName":"initializeClusterIPC","ranges":[{"startOffset":16153,"endOffset":16423,"count":0}],"isBlockCoverage":false},{"functionName":"initializePermission","ranges":[{"startOffset":16425,"endOffset":18308,"count":1},{"startOffset":16567,"endOffset":17928,"count":0}],"isBlockCoverage":true},{"functionName":"binding","ranges":[{"startOffset":16591,"endOffset":16678,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18140,"endOffset":18300,"count":4},{"startOffset":18218,"endOffset":18294,"count":0}],"isBlockCoverage":true},{"functionName":"readPolicyFromDisk","ranges":[{"startOffset":18310,"endOffset":20129,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCJSLoader","ranges":[{"startOffset":20131,"endOffset":20252,"count":1}],"isBlockCoverage":true},{"functionName":"initializeESMLoader","ranges":[{"startOffset":20254,"endOffset":20829,"count":1},{"startOffset":20582,"endOffset":20827,"count":0}],"isBlockCoverage":true},{"functionName":"initializeSourceMapsHandlers","ranges":[{"startOffset":20831,"endOffset":21029,"count":1}],"isBlockCoverage":true},{"functionName":"initializeFrozenIntrinsics","ranges":[{"startOffset":21031,"endOffset":21288,"count":1},{"startOffset":21116,"endOffset":21286,"count":0}],"isBlockCoverage":true},{"functionName":"loadPreloadModules","ranges":[{"startOffset":21290,"endOffset":21638,"count":1},{"startOffset":21484,"endOffset":21636,"count":0}],"isBlockCoverage":true},{"functionName":"markBootstrapComplete","ranges":[{"startOffset":21640,"endOffset":21734,"count":1}],"isBlockCoverage":true},{"functionName":"getHeapSnapshotFilename","ranges":[{"startOffset":21889,"endOffset":22790,"count":0}],"isBlockCoverage":false}]},{"scriptId":"150","url":"node:internal/v8/startup_snapshot","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3382,"count":1}],"isBlockCoverage":false},{"functionName":"isBuildingSnapshot","ranges":[{"startOffset":433,"endOffset":504,"count":10}],"isBlockCoverage":true},{"functionName":"throwIfNotBuildingSnapshot","ranges":[{"startOffset":506,"endOffset":625,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfBuildingSnapshot","ranges":[{"startOffset":627,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"runDeserializeCallbacks","ranges":[{"startOffset":831,"endOffset":1004,"count":0}],"isBlockCoverage":false},{"functionName":"addDeserializeCallback","ranges":[{"startOffset":1006,"endOffset":1541,"count":0}],"isBlockCoverage":false},{"functionName":"runSerializeCallbacks","ranges":[{"startOffset":1574,"endOffset":1741,"count":0}],"isBlockCoverage":false},{"functionName":"addSerializeCallback","ranges":[{"startOffset":1743,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCallbacks","ranges":[{"startOffset":1913,"endOffset":2122,"count":0}],"isBlockCoverage":false},{"functionName":"setDeserializeMainFunction","ranges":[{"startOffset":2158,"endOffset":3105,"count":0}],"isBlockCoverage":false}]},{"scriptId":"151","url":"node:internal/inspector_async_hook","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1973,"count":1}],"isBlockCoverage":false},{"functionName":"lazyHookCreation","ranges":[{"startOffset":75,"endOffset":1257,"count":0}],"isBlockCoverage":false},{"functionName":"enable","ranges":[{"startOffset":1259,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":1842,"endOffset":1928,"count":0}],"isBlockCoverage":false}]},{"scriptId":"152","url":"node:internal/source_map/prepare_stack_trace","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7404,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":334,"endOffset":359,"count":1}],"isBlockCoverage":true},{"functionName":"prepareStackTrace","ranges":[{"startOffset":895,"endOffset":3880,"count":2},{"startOffset":1126,"endOffset":1242,"count":0},{"startOffset":1369,"endOffset":1391,"count":0},{"startOffset":1441,"endOffset":1515,"count":0},{"startOffset":1603,"endOffset":1632,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1743,"endOffset":3819,"count":20},{"startOffset":1779,"endOffset":1792,"count":18},{"startOffset":1793,"endOffset":1797,"count":2},{"startOffset":2030,"endOffset":2077,"count":0},{"startOffset":2121,"endOffset":2144,"count":4},{"startOffset":2145,"endOffset":2178,"count":16},{"startOffset":2251,"endOffset":3746,"count":6},{"startOffset":2803,"endOffset":2823,"count":2},{"startOffset":2916,"endOffset":2940,"count":2},{"startOffset":2941,"endOffset":2957,"count":2},{"startOffset":2958,"endOffset":2962,"count":4},{"startOffset":3018,"endOffset":3034,"count":2},{"startOffset":3179,"endOffset":3203,"count":0},{"startOffset":3205,"endOffset":3228,"count":0},{"startOffset":3466,"endOffset":3482,"count":0},{"startOffset":3599,"endOffset":3603,"count":0},{"startOffset":3721,"endOffset":3725,"count":0},{"startOffset":3753,"endOffset":3790,"count":2},{"startOffset":3790,"endOffset":3818,"count":14}],"isBlockCoverage":true},{"functionName":"getOriginalSymbolName","ranges":[{"startOffset":4031,"endOffset":4774,"count":6},{"startOffset":4347,"endOffset":4374,"count":0},{"startOffset":4619,"endOffset":4772,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorSource","ranges":[{"startOffset":4942,"endOffset":6024,"count":0}],"isBlockCoverage":false},{"functionName":"getOriginalSource","ranges":[{"startOffset":6026,"endOffset":6923,"count":0}],"isBlockCoverage":false},{"functionName":"getSourceMapErrorSource","ranges":[{"startOffset":6925,"endOffset":7305,"count":0}],"isBlockCoverage":false}]},{"scriptId":"153","url":"node:fs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":85023,"count":1}],"isBlockCoverage":false},{"functionName":"showTruncateDeprecation","ranges":[{"startOffset":4028,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"maybeCallback","ranges":[{"startOffset":4317,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"makeCallback","ranges":[{"startOffset":4594,"endOffset":4706,"count":0}],"isBlockCoverage":false},{"functionName":"makeStatsCallback","ranges":[{"startOffset":4887,"endOffset":5054,"count":0}],"isBlockCoverage":false},{"functionName":"isFileType","ranges":[{"startOffset":5079,"endOffset":5339,"count":6518},{"startOffset":5278,"endOffset":5298,"count":637}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":5555,"endOffset":5913,"count":0}],"isBlockCoverage":false},{"functionName":"accessSync","ranges":[{"startOffset":6101,"endOffset":6165,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6327,"endOffset":6565,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6652,"endOffset":6784,"count":0}],"isBlockCoverage":false},{"functionName":"existsSync","ranges":[{"startOffset":7332,"endOffset":7391,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterOpen","ranges":[{"startOffset":7393,"endOffset":7673,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterStat","ranges":[{"startOffset":7675,"endOffset":8553,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":8555,"endOffset":8728,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":9061,"endOffset":10013,"count":0}],"isBlockCoverage":false},{"functionName":"tryStatSync","ranges":[{"startOffset":10015,"endOffset":10245,"count":1},{"startOffset":10158,"endOffset":10170,"count":0},{"startOffset":10172,"endOffset":10227,"count":0}],"isBlockCoverage":true},{"functionName":"tryCreateBuffer","ranges":[{"startOffset":10247,"endOffset":10558,"count":1},{"startOffset":10365,"endOffset":10417,"count":0},{"startOffset":10504,"endOffset":10516,"count":0},{"startOffset":10518,"endOffset":10535,"count":0}],"isBlockCoverage":true},{"functionName":"tryReadSync","ranges":[{"startOffset":10560,"endOffset":10815,"count":1},{"startOffset":10758,"endOffset":10770,"count":0},{"startOffset":10772,"endOffset":10789,"count":0}],"isBlockCoverage":true},{"functionName":"readFileSync","ranges":[{"startOffset":11039,"endOffset":12564,"count":381},{"startOffset":11161,"endOffset":11192,"count":2},{"startOffset":11194,"endOffset":11251,"count":379},{"startOffset":11251,"endOffset":11335,"count":2},{"startOffset":11335,"endOffset":11341,"count":0},{"startOffset":11342,"endOffset":11382,"count":2},{"startOffset":11470,"endOffset":11480,"count":1},{"startOffset":11481,"endOffset":11484,"count":0},{"startOffset":11614,"endOffset":11637,"count":0},{"startOffset":11637,"endOffset":11889,"count":1},{"startOffset":11889,"endOffset":12258,"count":0},{"startOffset":12258,"endOffset":12318,"count":1},{"startOffset":12318,"endOffset":12414,"count":0},{"startOffset":12414,"endOffset":12476,"count":1},{"startOffset":12436,"endOffset":12476,"count":0},{"startOffset":12476,"endOffset":12502,"count":1},{"startOffset":12502,"endOffset":12545,"count":0},{"startOffset":12545,"endOffset":12563,"count":1}],"isBlockCoverage":true},{"functionName":"defaultCloseCallback","ranges":[{"startOffset":12566,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12760,"endOffset":13013,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":13109,"endOffset":13162,"count":1}],"isBlockCoverage":true},{"functionName":"open","ranges":[{"startOffset":13405,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"openSync","ranges":[{"startOffset":14154,"endOffset":14235,"count":2}],"isBlockCoverage":true},{"functionName":"openAsBlob","ranges":[{"startOffset":14364,"endOffset":14846,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":15210,"endOffset":17170,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":17624,"endOffset":18761,"count":1},{"startOffset":17846,"endOffset":18102,"count":0},{"startOffset":18132,"endOffset":18153,"count":0},{"startOffset":18244,"endOffset":18263,"count":0},{"startOffset":18296,"endOffset":18426,"count":0}],"isBlockCoverage":true},{"functionName":"readv","ranges":[{"startOffset":19106,"endOffset":19523,"count":0}],"isBlockCoverage":false},{"functionName":"readvSync","ranges":[{"startOffset":19925,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20641,"endOffset":22188,"count":0}],"isBlockCoverage":false},{"functionName":"writeSync","ranges":[{"startOffset":22645,"endOffset":23778,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":24105,"endOffset":24627,"count":0}],"isBlockCoverage":false},{"functionName":"writevSync","ranges":[{"startOffset":24995,"endOffset":25354,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":25595,"endOffset":25976,"count":0}],"isBlockCoverage":false},{"functionName":"renameSync","ranges":[{"startOffset":26175,"endOffset":26522,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":26680,"endOffset":27341,"count":0}],"isBlockCoverage":false},{"functionName":"truncateSync","ranges":[{"startOffset":27471,"endOffset":27874,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":28026,"endOffset":28363,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncateSync","ranges":[{"startOffset":28487,"endOffset":28704,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadCp","ranges":[{"startOffset":28706,"endOffset":28912,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadRimraf","ranges":[{"startOffset":28914,"endOffset":29033,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":29291,"endOffset":30153,"count":0}],"isBlockCoverage":false},{"functionName":"rmdirSync","ranges":[{"startOffset":30368,"endOffset":30888,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":31226,"endOffset":31604,"count":0}],"isBlockCoverage":false},{"functionName":"rmSync","ranges":[{"startOffset":31899,"endOffset":32109,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":32340,"endOffset":32511,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasyncSync","ranges":[{"startOffset":32714,"endOffset":32861,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":33048,"endOffset":33211,"count":0}],"isBlockCoverage":false},{"functionName":"fsyncSync","ranges":[{"startOffset":33370,"endOffset":33509,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":33753,"endOffset":34468,"count":0}],"isBlockCoverage":false},{"functionName":"mkdirSync","ranges":[{"startOffset":34678,"endOffset":35384,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSyncRecursive","ranges":[{"startOffset":35717,"endOffset":37463,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":37763,"endOffset":38541,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSync","ranges":[{"startOffset":38805,"endOffset":39408,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":39649,"endOffset":39995,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":40261,"endOffset":40646,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":40876,"endOffset":41259,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":41261,"endOffset":41754,"count":0}],"isBlockCoverage":false},{"functionName":"hasNoEntryError","ranges":[{"startOffset":41756,"endOffset":41971,"count":0}],"isBlockCoverage":false},{"functionName":"fstatSync","ranges":[{"startOffset":42147,"endOffset":42386,"count":0}],"isBlockCoverage":false},{"functionName":"lstatSync","ranges":[{"startOffset":42634,"endOffset":43058,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":43273,"endOffset":43346,"count":0}],"isBlockCoverage":false},{"functionName":"statfsSync","ranges":[{"startOffset":43348,"endOffset":43425,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":43703,"endOffset":44047,"count":0}],"isBlockCoverage":false},{"functionName":"readlinkSync","ranges":[{"startOffset":44261,"endOffset":44588,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":44830,"endOffset":46483,"count":0}],"isBlockCoverage":false},{"functionName":"symlinkSync","ranges":[{"startOffset":46698,"endOffset":47359,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":47586,"endOffset":47987,"count":0}],"isBlockCoverage":false},{"functionName":"linkSync","ranges":[{"startOffset":48186,"endOffset":48635,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":48796,"endOffset":49023,"count":0}],"isBlockCoverage":false},{"functionName":"unlinkSync","ranges":[{"startOffset":49141,"endOffset":49200,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":49363,"endOffset":49602,"count":0}],"isBlockCoverage":false},{"functionName":"fchmodSync","ranges":[{"startOffset":49737,"endOffset":49928,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":50109,"endOffset":50602,"count":0}],"isBlockCoverage":false},{"functionName":"lchmodSync","ranges":[{"startOffset":50755,"endOffset":51077,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":51273,"endOffset":51549,"count":0}],"isBlockCoverage":false},{"functionName":"chmodSync","ranges":[{"startOffset":51702,"endOffset":51937,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":52133,"endOffset":52474,"count":0}],"isBlockCoverage":false},{"functionName":"lchownSync","ranges":[{"startOffset":52642,"endOffset":52942,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":53112,"endOffset":53415,"count":0}],"isBlockCoverage":false},{"functionName":"fchownSync","ranges":[{"startOffset":53557,"endOffset":53813,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":54029,"endOffset":54369,"count":0}],"isBlockCoverage":false},{"functionName":"chownSync","ranges":[{"startOffset":54542,"endOffset":54840,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":55109,"endOffset":55450,"count":0}],"isBlockCoverage":false},{"functionName":"utimesSync","ranges":[{"startOffset":55691,"endOffset":55973,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":56254,"endOffset":56559,"count":0}],"isBlockCoverage":false},{"functionName":"futimesSync","ranges":[{"startOffset":56815,"endOffset":57072,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":57356,"endOffset":57702,"count":0}],"isBlockCoverage":false},{"functionName":"lutimesSync","ranges":[{"startOffset":57962,"endOffset":58266,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":58268,"endOffset":59231,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":59588,"endOffset":60454,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":60741,"endOffset":61443,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":61748,"endOffset":62188,"count":0}],"isBlockCoverage":false},{"functionName":"appendFileSync","ranges":[{"startOffset":62450,"endOffset":62829,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":63197,"endOffset":64950,"count":0}],"isBlockCoverage":false},{"functionName":"watchFile","ranges":[{"startOffset":65300,"endOffset":66324,"count":0}],"isBlockCoverage":false},{"functionName":"unwatchFile","ranges":[{"startOffset":66474,"endOffset":67213,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67429,"endOffset":67525,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67550,"endOffset":67760,"count":458},{"startOffset":67617,"endOffset":67740,"count":916},{"startOffset":67695,"endOffset":67734,"count":458},{"startOffset":67740,"endOffset":67759,"count":0}],"isBlockCoverage":true},{"functionName":"encodeRealpathResult","ranges":[{"startOffset":67765,"endOffset":68052,"count":458},{"startOffset":67850,"endOffset":67880,"count":0},{"startOffset":67900,"endOffset":68051,"count":0}],"isBlockCoverage":true},{"functionName":"nextPart","ranges":[{"startOffset":68175,"endOffset":68434,"count":0}],"isBlockCoverage":false},{"functionName":"nextPart","ranges":[{"startOffset":68458,"endOffset":68533,"count":3577}],"isBlockCoverage":true},{"functionName":"realpathSync","ranges":[{"startOffset":68707,"endOffset":72603,"count":553},{"startOffset":68831,"endOffset":68849,"count":0},{"startOffset":69010,"endOffset":69045,"count":95},{"startOffset":69045,"endOffset":69607,"count":458},{"startOffset":69607,"endOffset":69779,"count":0},{"startOffset":69779,"endOffset":69916,"count":458},{"startOffset":69916,"endOffset":72530,"count":3577},{"startOffset":70028,"endOffset":70159,"count":458},{"startOffset":70159,"endOffset":70317,"count":3119},{"startOffset":70434,"endOffset":70571,"count":2940},{"startOffset":70525,"endOffset":70549,"count":0},{"startOffset":70571,"endOffset":70637,"count":637},{"startOffset":70674,"endOffset":70723,"count":0},{"startOffset":70723,"endOffset":72027,"count":637},{"startOffset":71163,"endOffset":71947,"count":0},{"startOffset":71991,"endOffset":72021,"count":0},{"startOffset":72027,"endOffset":72342,"count":0},{"startOffset":72344,"endOffset":72526,"count":0},{"startOffset":72530,"endOffset":72544,"count":458}],"isBlockCoverage":true},{"functionName":"realpathSync.native","ranges":[{"startOffset":72792,"endOffset":73056,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":73363,"endOffset":76894,"count":0}],"isBlockCoverage":false},{"functionName":"realpath.native","ranges":[{"startOffset":77221,"endOffset":77516,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":77761,"endOffset":78271,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtempSync","ranges":[{"startOffset":78452,"endOffset":78944,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":79208,"endOffset":79669,"count":0}],"isBlockCoverage":false},{"functionName":"copyFileSync","ranges":[{"startOffset":79901,"endOffset":79979,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":80272,"endOffset":80677,"count":0}],"isBlockCoverage":false},{"functionName":"cpSync","ranges":[{"startOffset":80938,"endOffset":81202,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadStreams","ranges":[{"startOffset":81204,"endOffset":81395,"count":40},{"startOffset":81252,"endOffset":81393,"count":1}],"isBlockCoverage":true},{"functionName":"createReadStream","ranges":[{"startOffset":81824,"endOffset":81929,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":82264,"endOffset":82371,"count":0}],"isBlockCoverage":false},{"functionName":"get ReadStream","ranges":[{"startOffset":83615,"endOffset":83683,"count":10}],"isBlockCoverage":true},{"functionName":"set ReadStream","ranges":[{"startOffset":83688,"endOffset":83735,"count":0}],"isBlockCoverage":false},{"functionName":"get WriteStream","ranges":[{"startOffset":83740,"endOffset":83810,"count":10}],"isBlockCoverage":true},{"functionName":"set WriteStream","ranges":[{"startOffset":83815,"endOffset":83864,"count":0}],"isBlockCoverage":false},{"functionName":"get FileReadStream","ranges":[{"startOffset":84002,"endOffset":84078,"count":10}],"isBlockCoverage":true},{"functionName":"set FileReadStream","ranges":[{"startOffset":84083,"endOffset":84138,"count":0}],"isBlockCoverage":false},{"functionName":"get FileWriteStream","ranges":[{"startOffset":84143,"endOffset":84221,"count":10}],"isBlockCoverage":true},{"functionName":"set FileWriteStream","ranges":[{"startOffset":84226,"endOffset":84283,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":84916,"endOffset":85012,"count":10}],"isBlockCoverage":true}]},{"scriptId":"154","url":"node:internal/blob","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12628,"count":1}],"isBlockCoverage":false},{"functionName":"lazyReadableStream","ranges":[{"startOffset":1851,"endOffset":2063,"count":0}],"isBlockCoverage":false},{"functionName":"isBlob","ranges":[{"startOffset":2113,"endOffset":2182,"count":0}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":2184,"endOffset":2863,"count":0}],"isBlockCoverage":false},{"functionName":"Blob","ranges":[{"startOffset":3115,"endOffset":4227,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4231,"endOffset":4501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4505,"endOffset":4957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4961,"endOffset":5087,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":5138,"endOffset":5243,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":5294,"endOffset":5401,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":5529,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBuffer","ranges":[{"startOffset":6364,"endOffset":7373,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":7421,"endOffset":7586,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":7633,"endOffset":10704,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob","ranges":[{"startOffset":10708,"endOffset":10803,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob.","ranges":[{"startOffset":10841,"endOffset":10849,"count":0}],"isBlockCoverage":false},{"functionName":"createBlob","ranges":[{"startOffset":10852,"endOffset":11055,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObjectURL","ranges":[{"startOffset":11408,"endOffset":12019,"count":0}],"isBlockCoverage":false},{"functionName":"createBlobFromFilePath","ranges":[{"startOffset":12142,"endOffset":12501,"count":0}],"isBlockCoverage":false}]},{"scriptId":"155","url":"node:internal/encoding","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17340,"count":1}],"isBlockCoverage":false},{"functionName":"validateEncoder","ranges":[{"startOffset":1250,"endOffset":1375,"count":0}],"isBlockCoverage":false},{"functionName":"validateDecoder","ranges":[{"startOffset":1377,"endOffset":1502,"count":58},{"startOffset":1458,"endOffset":1500,"count":0}],"isBlockCoverage":true},{"functionName":"trimAsciiWhitespace","ranges":[{"startOffset":8799,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingFromLabel","ranges":[{"startOffset":9299,"endOffset":9478,"count":3},{"startOffset":9410,"endOffset":9477,"count":0}],"isBlockCoverage":true},{"functionName":"TextEncoder","ranges":[{"startOffset":9502,"endOffset":9548,"count":1}],"isBlockCoverage":true},{"functionName":"get encoding","ranges":[{"startOffset":9552,"endOffset":9619,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":9623,"endOffset":9715,"count":0}],"isBlockCoverage":false},{"functionName":"encodeInto","ranges":[{"startOffset":9719,"endOffset":10125,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10129,"endOffset":10526,"count":0}],"isBlockCoverage":false},{"functionName":"makeTextDecoderICU","ranges":[{"startOffset":10898,"endOffset":12864,"count":1}],"isBlockCoverage":true},{"functionName":"TextDecoder","ranges":[{"startOffset":11036,"endOffset":11973,"count":3},{"startOffset":11346,"endOffset":11393,"count":0},{"startOffset":11477,"endOffset":11500,"count":2},{"startOffset":11501,"endOffset":11504,"count":1},{"startOffset":11541,"endOffset":11569,"count":2},{"startOffset":11570,"endOffset":11573,"count":1},{"startOffset":11924,"endOffset":11967,"count":0}],"isBlockCoverage":true},{"functionName":"#prepareConverter","ranges":[{"startOffset":11979,"endOffset":12244,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":12250,"endOffset":12835,"count":58},{"startOffset":12485,"endOffset":12834,"count":0}],"isBlockCoverage":true},{"functionName":"makeTextDecoderJS","ranges":[{"startOffset":12866,"endOffset":15701,"count":0}],"isBlockCoverage":false},{"functionName":"get encoding","ranges":[{"startOffset":15798,"endOffset":15873,"count":0}],"isBlockCoverage":false},{"functionName":"get fatal","ranges":[{"startOffset":15878,"endOffset":15999,"count":0}],"isBlockCoverage":false},{"functionName":"get ignoreBOM","ranges":[{"startOffset":16004,"endOffset":16153,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectGetOwnPropertyDescriptors","ranges":[{"startOffset":16158,"endOffset":16741,"count":0}],"isBlockCoverage":false}]},{"scriptId":"156","url":"node:internal/webstreams/queuingstrategies","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3851,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":931,"endOffset":958,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1038,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"getNonWritablePropertyDescriptor","ranges":[{"startOffset":1114,"endOffset":1200,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1238,"endOffset":2284,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2544,"endOffset":3561,"count":0}],"isBlockCoverage":false}]},{"scriptId":"157","url":"node:internal/webstreams/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7549,"count":1}],"isBlockCoverage":false},{"functionName":"extractHighWaterMark","ranges":[{"startOffset":1074,"endOffset":1367,"count":0}],"isBlockCoverage":false},{"functionName":"extractSizeAlgorithm","ranges":[{"startOffset":1369,"endOffset":1508,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":1510,"endOffset":1742,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetBuffer","ranges":[{"startOffset":1926,"endOffset":2034,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteLength","ranges":[{"startOffset":2036,"endOffset":2152,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteOffset","ranges":[{"startOffset":2154,"endOffset":2270,"count":0}],"isBlockCoverage":false},{"functionName":"cloneAsUint8Array","ranges":[{"startOffset":2272,"endOffset":2577,"count":0}],"isBlockCoverage":false},{"functionName":"isBrandCheck","ranges":[{"startOffset":2579,"endOffset":2743,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2619,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"transferArrayBuffer","ranges":[{"startOffset":2745,"endOffset":2968,"count":0}],"isBlockCoverage":false},{"functionName":"isViewedArrayBufferDetached","ranges":[{"startOffset":2970,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"dequeueValue","ranges":[{"startOffset":3140,"endOffset":3525,"count":0}],"isBlockCoverage":false},{"functionName":"resetQueue","ranges":[{"startOffset":3527,"endOffset":3745,"count":0}],"isBlockCoverage":false},{"functionName":"peekQueueValue","ranges":[{"startOffset":3747,"endOffset":3982,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueValueWithSize","ranges":[{"startOffset":3984,"endOffset":4449,"count":0}],"isBlockCoverage":false},{"functionName":"ensureIsPromise","ranges":[{"startOffset":4451,"endOffset":4690,"count":0}],"isBlockCoverage":false},{"functionName":"isPromisePending","ranges":[{"startOffset":4692,"endOffset":4855,"count":0}],"isBlockCoverage":false},{"functionName":"setPromiseHandled","ranges":[{"startOffset":4857,"endOffset":5136,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpFlush","ranges":[{"startOffset":5138,"endOffset":5168,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpStart","ranges":[{"startOffset":5170,"endOffset":5194,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpPull","ranges":[{"startOffset":5196,"endOffset":5225,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpCancel","ranges":[{"startOffset":5227,"endOffset":5258,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpWrite","ranges":[{"startOffset":5260,"endOffset":5290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyTransfer","ranges":[{"startOffset":5306,"endOffset":5438,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncFromSyncIterator","ranges":[{"startOffset":5440,"endOffset":5779,"count":0}],"isBlockCoverage":false},{"functionName":"getIterator","ranges":[{"startOffset":5781,"endOffset":6509,"count":0}],"isBlockCoverage":false},{"functionName":"iteratorNext","ranges":[{"startOffset":6511,"endOffset":6973,"count":0}],"isBlockCoverage":false}]},{"scriptId":"158","url":"node:internal/fs/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":26847,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFs","ranges":[{"startOffset":3551,"endOffset":3630,"count":0}],"isBlockCoverage":false},{"functionName":"assertEncoding","ranges":[{"startOffset":3632,"endOffset":3832,"count":932},{"startOffset":3683,"endOffset":3714,"count":379},{"startOffset":3716,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"Dirent","ranges":[{"startOffset":3851,"endOffset":3954,"count":0}],"isBlockCoverage":false},{"functionName":"isDirectory","ranges":[{"startOffset":3958,"endOffset":4019,"count":0}],"isBlockCoverage":false},{"functionName":"isFile","ranges":[{"startOffset":4023,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"isBlockDevice","ranges":[{"startOffset":4084,"endOffset":4149,"count":0}],"isBlockCoverage":false},{"functionName":"isCharacterDevice","ranges":[{"startOffset":4153,"endOffset":4221,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbolicLink","ranges":[{"startOffset":4225,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"isFIFO","ranges":[{"startOffset":4294,"endOffset":4351,"count":0}],"isBlockCoverage":false},{"functionName":"isSocket","ranges":[{"startOffset":4355,"endOffset":4416,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats","ranges":[{"startOffset":4461,"endOffset":4552,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats.","ranges":[{"startOffset":4697,"endOffset":4746,"count":0}],"isBlockCoverage":false},{"functionName":"copyObject","ranges":[{"startOffset":4751,"endOffset":4879,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":4929,"endOffset":5536,"count":0}],"isBlockCoverage":false},{"functionName":"getDirents","ranges":[{"startOffset":5538,"endOffset":6653,"count":0}],"isBlockCoverage":false},{"functionName":"getDirent","ranges":[{"startOffset":6655,"endOffset":7436,"count":0}],"isBlockCoverage":false},{"functionName":"getOptions","ranges":[{"startOffset":7438,"endOffset":8064,"count":992},{"startOffset":7522,"endOffset":7554,"count":932},{"startOffset":7556,"endOffset":7588,"count":60},{"startOffset":7588,"endOffset":7625,"count":932},{"startOffset":7625,"endOffset":7743,"count":379},{"startOffset":7743,"endOffset":7865,"count":553},{"startOffset":7782,"endOffset":7865,"count":0},{"startOffset":7865,"endOffset":7979,"count":932},{"startOffset":7979,"endOffset":8043,"count":0},{"startOffset":8043,"endOffset":8063,"count":932}],"isBlockCoverage":true},{"functionName":"handleErrorFromBinding","ranges":[{"startOffset":8122,"endOffset":8651,"count":638},{"startOffset":8192,"endOffset":8327,"count":0},{"startOffset":8359,"endOffset":8649,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8792,"endOffset":9388,"count":992},{"startOffset":9022,"endOffset":9042,"count":0},{"startOffset":9112,"endOffset":9180,"count":0},{"startOffset":9199,"endOffset":9387,"count":0}],"isBlockCoverage":true},{"functionName":"preprocessSymlinkDestination","ranges":[{"startOffset":9392,"endOffset":10098,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase","ranges":[{"startOffset":10131,"endOffset":10438,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isDirectory","ranges":[{"startOffset":10474,"endOffset":10531,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFile","ranges":[{"startOffset":10563,"endOffset":10620,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isBlockDevice","ranges":[{"startOffset":10659,"endOffset":10716,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isCharacterDevice","ranges":[{"startOffset":10759,"endOffset":10816,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSymbolicLink","ranges":[{"startOffset":10856,"endOffset":10913,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFIFO","ranges":[{"startOffset":10945,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSocket","ranges":[{"startOffset":11036,"endOffset":11094,"count":0}],"isBlockCoverage":false},{"functionName":"msFromTimeSpec","ranges":[{"startOffset":11219,"endOffset":11301,"count":0}],"isBlockCoverage":false},{"functionName":"nsFromTimeSpecBigInt","ranges":[{"startOffset":11303,"endOffset":11386,"count":0}],"isBlockCoverage":false},{"functionName":"dateFromMs","ranges":[{"startOffset":11788,"endOffset":11899,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats","ranges":[{"startOffset":11901,"endOffset":12664,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats._checkModeProperty","ranges":[{"startOffset":12822,"endOffset":13068,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":13071,"endOffset":13613,"count":0}],"isBlockCoverage":false},{"functionName":"Stats._checkModeProperty","ranges":[{"startOffset":13954,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"getStatsFromBinding","ranges":[{"startOffset":14302,"endOffset":15381,"count":0}],"isBlockCoverage":false},{"functionName":"StatFs","ranges":[{"startOffset":15400,"endOffset":15637,"count":0}],"isBlockCoverage":false},{"functionName":"getStatFsFromBinding","ranges":[{"startOffset":15641,"endOffset":15781,"count":0}],"isBlockCoverage":false},{"functionName":"stringToFlags","ranges":[{"startOffset":15783,"endOffset":17039,"count":439},{"startOffset":15864,"endOffset":15919,"count":0},{"startOffset":15942,"endOffset":15968,"count":0},{"startOffset":16025,"endOffset":16036,"count":0},{"startOffset":16058,"endOffset":16095,"count":0},{"startOffset":16100,"endOffset":16126,"count":0},{"startOffset":16131,"endOffset":16143,"count":0},{"startOffset":16165,"endOffset":16201,"count":0},{"startOffset":16207,"endOffset":16254,"count":0},{"startOffset":16259,"endOffset":16270,"count":0},{"startOffset":16292,"endOffset":16349,"count":0},{"startOffset":16355,"endOffset":16401,"count":0},{"startOffset":16406,"endOffset":16417,"count":0},{"startOffset":16439,"endOffset":16494,"count":0},{"startOffset":16500,"endOffset":16548,"count":0},{"startOffset":16553,"endOffset":16564,"count":0},{"startOffset":16586,"endOffset":16644,"count":0},{"startOffset":16649,"endOffset":16660,"count":0},{"startOffset":16682,"endOffset":16740,"count":0},{"startOffset":16746,"endOffset":16793,"count":0},{"startOffset":16798,"endOffset":16809,"count":0},{"startOffset":16831,"endOffset":16887,"count":0},{"startOffset":16892,"endOffset":16903,"count":0},{"startOffset":16925,"endOffset":16981,"count":0},{"startOffset":16985,"endOffset":17038,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":17085,"endOffset":17445,"count":0}],"isBlockCoverage":false},{"functionName":"toUnixTimestamp","ranges":[{"startOffset":17507,"endOffset":17962,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18016,"endOffset":18395,"count":1},{"startOffset":18072,"endOffset":18139,"count":0},{"startOffset":18160,"endOffset":18227,"count":0},{"startOffset":18268,"endOffset":18391,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18454,"endOffset":18858,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18901,"endOffset":19171,"count":992},{"startOffset":18963,"endOffset":18985,"count":0},{"startOffset":18987,"endOffset":19073,"count":0},{"startOffset":19149,"endOffset":19169,"count":0}],"isBlockCoverage":true},{"functionName":"possiblyTransformPath","ranges":[{"startOffset":19542,"endOffset":19853,"count":439},{"startOffset":19611,"endOffset":19836,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":19896,"endOffset":20054,"count":439}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20097,"endOffset":20218,"count":2},{"startOffset":20148,"endOffset":20167,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20266,"endOffset":20597,"count":0}],"isBlockCoverage":false},{"functionName":"warnOnNonPortableTemplate","ranges":[{"startOffset":20638,"endOffset":21238,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21663,"endOffset":22550,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22596,"endOffset":23275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23325,"endOffset":23942,"count":0}],"isBlockCoverage":false},{"functionName":"emitRecursiveRmdirWarning","ranges":[{"startOffset":23996,"endOffset":24330,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24380,"endOffset":24777,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24818,"endOffset":25186,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25249,"endOffset":25433,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25478,"endOffset":25948,"count":1},{"startOffset":25578,"endOffset":25946,"count":0}],"isBlockCoverage":true}]},{"scriptId":"159","url":"node:internal/fs/sync","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2257,"count":1}],"isBlockCoverage":false},{"functionName":"readFileUtf8","ranges":[{"startOffset":395,"endOffset":582,"count":379}],"isBlockCoverage":true},{"functionName":"exists","ranges":[{"startOffset":584,"endOffset":751,"count":0}],"isBlockCoverage":false},{"functionName":"access","ranges":[{"startOffset":753,"endOffset":920,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":922,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":1184,"endOffset":1509,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":1511,"endOffset":1723,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":1725,"endOffset":1932,"count":2}],"isBlockCoverage":true},{"functionName":"close","ranges":[{"startOffset":1934,"endOffset":2016,"count":1}],"isBlockCoverage":true},{"functionName":"unlink","ranges":[{"startOffset":2018,"endOffset":2140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"160","url":"node:internal/dns/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9584,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBinding","ranges":[{"startOffset":506,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":957,"endOffset":1104,"count":0}],"isBlockCoverage":false},{"functionName":"validateTries","ranges":[{"startOffset":1106,"endOffset":1241,"count":0}],"isBlockCoverage":false},{"functionName":"ResolverBase","ranges":[{"startOffset":1635,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1988,"endOffset":2124,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":2128,"endOffset":2169,"count":0}],"isBlockCoverage":false},{"functionName":"getServers","ranges":[{"startOffset":2173,"endOffset":2441,"count":0}],"isBlockCoverage":false},{"functionName":"setServers","ranges":[{"startOffset":2445,"endOffset":3846,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3850,"endOffset":4405,"count":0}],"isBlockCoverage":false},{"functionName":"setLocalAddress","ranges":[{"startOffset":4410,"endOffset":4695,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4815,"endOffset":5035,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5039,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"initializeDns","ranges":[{"startOffset":5427,"endOffset":5813,"count":1},{"startOffset":5570,"endOffset":5680,"count":0},{"startOffset":5728,"endOffset":5812,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5753,"endOffset":5809,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResolver","ranges":[{"startOffset":6074,"endOffset":6355,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResolver","ranges":[{"startOffset":6357,"endOffset":6428,"count":0}],"isBlockCoverage":false},{"functionName":"bindDefaultResolver","ranges":[{"startOffset":6430,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"validateHints","ranges":[{"startOffset":6654,"endOffset":6873,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidHostnameWarning","ranges":[{"startOffset":6918,"endOffset":7272,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultVerbatim","ranges":[{"startOffset":7274,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResultOrder","ranges":[{"startOffset":7344,"endOffset":7468,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResultOrder","ranges":[{"startOffset":7470,"endOffset":7525,"count":0}],"isBlockCoverage":false},{"functionName":"createResolverClass","ranges":[{"startOffset":7527,"endOffset":8635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"161","url":"node:internal/net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2248,"count":1}],"isBlockCoverage":false},{"functionName":"isIPv4","ranges":[{"startOffset":1023,"endOffset":1296,"count":0}],"isBlockCoverage":false},{"functionName":"isIPv6","ranges":[{"startOffset":1298,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"isIP","ranges":[{"startOffset":1573,"endOffset":1659,"count":0}],"isBlockCoverage":false},{"functionName":"makeSyncWrite","ranges":[{"startOffset":1661,"endOffset":2075,"count":0}],"isBlockCoverage":false}]},{"scriptId":"162","url":"node:worker_threads","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":687,"count":1}],"isBlockCoverage":false}]},{"scriptId":"163","url":"node:internal/worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16395,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2471,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"process.chdir","ranges":[{"startOffset":2984,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"setEnvironmentData","ranges":[{"startOffset":3069,"endOffset":3216,"count":0}],"isBlockCoverage":false},{"functionName":"getEnvironmentData","ranges":[{"startOffset":3218,"endOffset":3289,"count":0}],"isBlockCoverage":false},{"functionName":"assignEnvironmentData","ranges":[{"startOffset":3291,"endOffset":3441,"count":1},{"startOffset":3356,"endOffset":3363,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3379,"endOffset":3437,"count":0}],"isBlockCoverage":false},{"functionName":"Worker","ranges":[{"startOffset":3481,"endOffset":9221,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9225,"endOffset":9857,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9861,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9961,"endOffset":10130,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10134,"endOffset":11027,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11031,"endOffset":11499,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":11503,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"terminate","ranges":[{"startOffset":11652,"endOffset":12486,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":12490,"endOffset":12596,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":12600,"endOffset":12712,"count":0}],"isBlockCoverage":false},{"functionName":"get threadId","ranges":[{"startOffset":12716,"endOffset":12815,"count":0}],"isBlockCoverage":false},{"functionName":"get stdin","ranges":[{"startOffset":12819,"endOffset":12877,"count":0}],"isBlockCoverage":false},{"functionName":"get stdout","ranges":[{"startOffset":12881,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"get stderr","ranges":[{"startOffset":12945,"endOffset":13005,"count":0}],"isBlockCoverage":false},{"functionName":"get resourceLimits","ranges":[{"startOffset":13009,"endOffset":13145,"count":0}],"isBlockCoverage":false},{"functionName":"getHeapSnapshot","ranges":[{"startOffset":13149,"endOffset":13656,"count":0}],"isBlockCoverage":false},{"functionName":"InternalWorker","ranges":[{"startOffset":13849,"endOffset":13928,"count":0}],"isBlockCoverage":false},{"functionName":"receiveMessageSync","ranges":[{"startOffset":13932,"endOffset":14010,"count":0}],"isBlockCoverage":false},{"functionName":"pipeWithoutWarning","ranges":[{"startOffset":14014,"endOffset":14336,"count":0}],"isBlockCoverage":false},{"functionName":"parseResourceLimits","ranges":[{"startOffset":14410,"endOffset":15024,"count":0}],"isBlockCoverage":false},{"functionName":"makeResourceLimits","ranges":[{"startOffset":15026,"endOffset":15313,"count":1}],"isBlockCoverage":true},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":15315,"endOffset":16118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"164","url":"node:internal/perf/event_loop_utilization","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":false},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":153,"endOffset":446,"count":0}],"isBlockCoverage":false},{"functionName":"internalEventLoopUtilization","ranges":[{"startOffset":448,"endOffset":1447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"165","url":"node:internal/error_serdes","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5723,"count":1}],"isBlockCoverage":false},{"functionName":"TryGetAllProperties","ranges":[{"startOffset":1039,"endOffset":2143,"count":0}],"isBlockCoverage":false},{"functionName":"GetConstructors","ranges":[{"startOffset":2145,"endOffset":2588,"count":0}],"isBlockCoverage":false},{"functionName":"GetName","ranges":[{"startOffset":2590,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":2737,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":2924,"endOffset":4219,"count":0}],"isBlockCoverage":false},{"functionName":"fromBuffer","ranges":[{"startOffset":4221,"endOffset":4442,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeError","ranges":[{"startOffset":4461,"endOffset":5666,"count":0}],"isBlockCoverage":false}]},{"scriptId":"166","url":"node:diagnostics_channel","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9791,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":734,"endOffset":1143,"count":1}],"isBlockCoverage":false},{"functionName":"#finalizers","ranges":[{"startOffset":814,"endOffset":850,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":856,"endOffset":973,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":977,"endOffset":1025,"count":5},{"startOffset":1013,"endOffset":1018,"count":0}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":1029,"endOffset":1083,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":1087,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"markActive","ranges":[{"startOffset":1145,"endOffset":1350,"count":0}],"isBlockCoverage":false},{"functionName":"maybeMarkInactive","ranges":[{"startOffset":1352,"endOffset":1720,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTransform","ranges":[{"startOffset":1722,"endOffset":1772,"count":0}],"isBlockCoverage":false},{"functionName":"wrapStoreRun","ranges":[{"startOffset":1774,"endOffset":2102,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":2184,"endOffset":2354,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":2358,"endOffset":2635,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":2639,"endOffset":2807,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":2811,"endOffset":3010,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":3014,"endOffset":3057,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":3061,"endOffset":3370,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":3374,"endOffset":3713,"count":0}],"isBlockCoverage":false},{"functionName":"Channel","ranges":[{"startOffset":3735,"endOffset":3876,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3887,"endOffset":4072,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":4076,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4165,"endOffset":4202,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":4206,"endOffset":4299,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":4303,"endOffset":4340,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":4344,"endOffset":4388,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":4392,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":4408,"endOffset":4495,"count":0}],"isBlockCoverage":false},{"functionName":"channel","ranges":[{"startOffset":4535,"endOffset":4801,"count":5},{"startOffset":4613,"endOffset":4628,"count":0},{"startOffset":4661,"endOffset":4688,"count":0},{"startOffset":4690,"endOffset":4770,"count":0}],"isBlockCoverage":true},{"functionName":"subscribe","ranges":[{"startOffset":4803,"endOffset":4893,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4895,"endOffset":4989,"count":0}],"isBlockCoverage":false},{"functionName":"hasSubscribers","ranges":[{"startOffset":4991,"endOffset":5126,"count":0}],"isBlockCoverage":false},{"functionName":"assertChannel","ranges":[{"startOffset":5215,"endOffset":5357,"count":0}],"isBlockCoverage":false},{"functionName":"TracingChannel","ranges":[{"startOffset":5384,"endOffset":6531,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":6535,"endOffset":6687,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":6691,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"traceSync","ranges":[{"startOffset":6928,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"tracePromise","ranges":[{"startOffset":7358,"endOffset":8459,"count":0}],"isBlockCoverage":false},{"functionName":"traceCallback","ranges":[{"startOffset":8463,"endOffset":9589,"count":0}],"isBlockCoverage":false},{"functionName":"tracingChannel","ranges":[{"startOffset":9593,"endOffset":9681,"count":0}],"isBlockCoverage":false}]},{"scriptId":"167","url":"node:internal/modules/cjs/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":45478,"count":1}],"isBlockCoverage":false},{"functionName":"get hasLoadedAnyUserCJSModule","ranges":[{"startOffset":2238,"endOffset":2307,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3478,"endOffset":3569,"count":1},{"startOffset":3525,"endOffset":3561,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3618,"endOffset":3661,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3702,"endOffset":3756,"count":1}],"isBlockCoverage":true},{"functionName":"internalRequire","ranges":[{"startOffset":4610,"endOffset":4935,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4937,"endOffset":5347,"count":1541},{"startOffset":5035,"endOffset":5129,"count":1499},{"startOffset":5111,"endOffset":5125,"count":406},{"startOffset":5129,"endOffset":5202,"count":1135},{"startOffset":5202,"endOffset":5216,"count":1093},{"startOffset":5218,"endOffset":5328,"count":434},{"startOffset":5328,"endOffset":5346,"count":1135}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":5428,"endOffset":5451,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":5455,"endOffset":5550,"count":0}],"isBlockCoverage":false},{"functionName":"updateChildren","ranges":[{"startOffset":5579,"endOffset":5775,"count":791},{"startOffset":5651,"endOffset":5661,"count":741},{"startOffset":5678,"endOffset":5731,"count":741},{"startOffset":5688,"endOffset":5730,"count":392},{"startOffset":5737,"endOffset":5773,"count":741}],"isBlockCoverage":true},{"functionName":"reportModuleToWatchMode","ranges":[{"startOffset":5777,"endOffset":5933,"count":1188},{"startOffset":5858,"endOffset":5873,"count":0},{"startOffset":5875,"endOffset":5931,"count":0}],"isBlockCoverage":true},{"functionName":"reportModuleNotFoundToWatchMode","ranges":[{"startOffset":5935,"endOffset":6174,"count":17},{"startOffset":6036,"endOffset":6051,"count":0},{"startOffset":6053,"endOffset":6172,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6121,"endOffset":6163,"count":0}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":6221,"endOffset":6978,"count":376},{"startOffset":6534,"endOffset":6544,"count":0},{"startOffset":6562,"endOffset":6926,"count":0}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":7220,"endOffset":7297,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7463,"endOffset":7585,"count":0}],"isBlockCoverage":false},{"functionName":"defineProperty","ranges":[{"startOffset":7590,"endOffset":7723,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7790,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7823,"endOffset":7877,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7947,"endOffset":7983,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7988,"endOffset":8050,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8084,"endOffset":8114,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleParent","ranges":[{"startOffset":8274,"endOffset":8342,"count":0}],"isBlockCoverage":false},{"functionName":"setModuleParent","ranges":[{"startOffset":8344,"endOffset":8417,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8484,"endOffset":8509,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCJS","ranges":[{"startOffset":9188,"endOffset":9688,"count":1}],"isBlockCoverage":true},{"functionName":"readPackage","ranges":[{"startOffset":9982,"endOffset":10095,"count":1719}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":10197,"endOffset":10227,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10231,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"readPackageScope","ranges":[{"startOffset":10383,"endOffset":11176,"count":883},{"startOffset":10570,"endOffset":11113,"count":1599},{"startOffset":10819,"endOffset":10865,"count":0},{"startOffset":10867,"endOffset":10894,"count":0},{"startOffset":10967,"endOffset":10980,"count":0},{"startOffset":11052,"endOffset":11109,"count":883},{"startOffset":11113,"endOffset":11175,"count":0}],"isBlockCoverage":true},{"functionName":"tryPackage","ranges":[{"startOffset":11178,"endOffset":12457,"count":52},{"startOffset":11300,"endOffset":11381,"count":18},{"startOffset":11381,"endOffset":11475,"count":34},{"startOffset":11475,"endOffset":11519,"count":0},{"startOffset":11520,"endOffset":11587,"count":0},{"startOffset":11613,"endOffset":12438,"count":0},{"startOffset":12438,"endOffset":12456,"count":34}],"isBlockCoverage":true},{"functionName":"tryFile","ranges":[{"startOffset":12802,"endOffset":13034,"count":609},{"startOffset":12891,"endOffset":12898,"count":207},{"startOffset":12898,"endOffset":12943,"count":402},{"startOffset":12943,"endOffset":12953,"count":0},{"startOffset":12955,"endOffset":12998,"count":0},{"startOffset":12998,"endOffset":13033,"count":402}],"isBlockCoverage":true},{"functionName":"toRealPath","ranges":[{"startOffset":13036,"endOffset":13168,"count":446}],"isBlockCoverage":true},{"functionName":"tryExtensions","ranges":[{"startOffset":13243,"endOffset":13449,"count":435},{"startOffset":13325,"endOffset":13431,"count":573},{"startOffset":13397,"endOffset":13427,"count":366},{"startOffset":13431,"endOffset":13448,"count":69}],"isBlockCoverage":true},{"functionName":"findLongestRegisteredExtension","ranges":[{"startOffset":13538,"endOffset":14006,"count":374},{"startOffset":13813,"endOffset":13822,"count":0},{"startOffset":13960,"endOffset":13984,"count":363},{"startOffset":13988,"endOffset":14005,"count":11}],"isBlockCoverage":true},{"functionName":"trySelfParentPath","ranges":[{"startOffset":14008,"endOffset":14297,"count":545},{"startOffset":14060,"endOffset":14073,"count":23},{"startOffset":14073,"endOffset":14131,"count":522},{"startOffset":14131,"endOffset":14295,"count":0}],"isBlockCoverage":true},{"functionName":"trySelf","ranges":[{"startOffset":14299,"endOffset":15197,"count":545},{"startOffset":14358,"endOffset":14371,"count":23},{"startOffset":14371,"endOffset":14475,"count":522},{"startOffset":14476,"endOffset":14501,"count":11},{"startOffset":14503,"endOffset":14526,"count":511},{"startOffset":14526,"endOffset":14573,"count":11},{"startOffset":14573,"endOffset":14599,"count":0},{"startOffset":14599,"endOffset":14765,"count":11},{"startOffset":14661,"endOffset":14736,"count":0},{"startOffset":14765,"endOffset":15195,"count":0}],"isBlockCoverage":true},{"functionName":"resolveExports","ranges":[{"startOffset":15358,"endOffset":16166,"count":437},{"startOffset":15565,"endOffset":15580,"count":369},{"startOffset":15599,"endOffset":15606,"count":369},{"startOffset":15606,"endOffset":15707,"count":68},{"startOffset":15707,"endOffset":15729,"count":51},{"startOffset":15731,"endOffset":16164,"count":2},{"startOffset":16011,"endOffset":16160,"count":0}],"isBlockCoverage":true},{"functionName":"Module._findPath","ranges":[{"startOffset":16434,"endOffset":20492,"count":546},{"startOffset":16544,"endOffset":16567,"count":25},{"startOffset":16567,"endOffset":16630,"count":521},{"startOffset":16607,"endOffset":16630,"count":0},{"startOffset":16767,"endOffset":16780,"count":101},{"startOffset":16780,"endOffset":17363,"count":445},{"startOffset":17002,"endOffset":17356,"count":0},{"startOffset":17438,"endOffset":17894,"count":369},{"startOffset":17544,"endOffset":17629,"count":58},{"startOffset":17564,"endOffset":17628,"count":0},{"startOffset":17630,"endOffset":17888,"count":58},{"startOffset":17799,"endOffset":17886,"count":0},{"startOffset":17939,"endOffset":18093,"count":369},{"startOffset":18056,"endOffset":18089,"count":58},{"startOffset":18093,"endOffset":18155,"count":445},{"startOffset":18155,"endOffset":20473,"count":555},{"startOffset":18296,"endOffset":18306,"count":497},{"startOffset":18307,"endOffset":18403,"count":472},{"startOffset":18341,"endOffset":18379,"count":0},{"startOffset":18410,"endOffset":18433,"count":93},{"startOffset":18433,"endOffset":18461,"count":462},{"startOffset":18461,"endOffset":18591,"count":437},{"startOffset":18562,"endOffset":18585,"count":2},{"startOffset":18591,"endOffset":19950,"count":460},{"startOffset":18743,"endOffset":19727,"count":43},{"startOffset":18776,"endOffset":18965,"count":42},{"startOffset":18831,"endOffset":18891,"count":0},{"startOffset":18965,"endOffset":19719,"count":1},{"startOffset":19019,"endOffset":19659,"count":0},{"startOffset":19750,"endOffset":19944,"count":417},{"startOffset":19840,"endOffset":19878,"count":400},{"startOffset":19950,"endOffset":19970,"count":460},{"startOffset":19970,"endOffset":19981,"count":69},{"startOffset":19983,"endOffset":20199,"count":52},{"startOffset":20093,"endOffset":20131,"count":0},{"startOffset":20199,"endOffset":20219,"count":460},{"startOffset":20219,"endOffset":20295,"count":443},{"startOffset":20295,"endOffset":20473,"count":17},{"startOffset":20473,"endOffset":20491,"count":0}],"isBlockCoverage":true},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":20736,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":22345,"endOffset":23485,"count":402},{"startOffset":22623,"endOffset":22648,"count":0},{"startOffset":22941,"endOffset":23363,"count":25425},{"startOffset":23037,"endOffset":23233,"count":2735},{"startOffset":23074,"endOffset":23192,"count":2333},{"startOffset":23233,"endOffset":23357,"count":22690},{"startOffset":23253,"endOffset":23357,"count":7735},{"startOffset":23288,"endOffset":23314,"count":5402},{"startOffset":23314,"endOffset":23349,"count":2333}],"isBlockCoverage":true},{"functionName":"Module._resolveLookupPaths","ranges":[{"startOffset":23519,"endOffset":24778,"count":545},{"startOffset":23599,"endOffset":23665,"count":0},{"startOffset":23750,"endOffset":23949,"count":468},{"startOffset":23830,"endOffset":23880,"count":338},{"startOffset":23881,"endOffset":23948,"count":0},{"startOffset":23951,"endOffset":24250,"count":77},{"startOffset":23983,"endOffset":23998,"count":54},{"startOffset":24000,"endOffset":24110,"count":54},{"startOffset":24110,"endOffset":24150,"count":23},{"startOffset":24239,"endOffset":24245,"count":0},{"startOffset":24250,"endOffset":24318,"count":468},{"startOffset":24319,"endOffset":24338,"count":468},{"startOffset":24340,"endOffset":24589,"count":0},{"startOffset":24589,"endOffset":24777,"count":468}],"isBlockCoverage":true},{"functionName":"emitCircularRequireWarning","ranges":[{"startOffset":24781,"endOffset":24965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25178,"endOffset":25550,"count":0}],"isBlockCoverage":false},{"functionName":"getOwnPropertyDescriptor","ranges":[{"startOffset":25555,"endOffset":25796,"count":0}],"isBlockCoverage":false},{"functionName":"getExportsForCircularRequire","ranges":[{"startOffset":25803,"endOffset":26447,"count":2},{"startOffset":25972,"endOffset":26265,"count":1},{"startOffset":26267,"endOffset":26419,"count":1}],"isBlockCoverage":true},{"functionName":"Module._load","ranges":[{"startOffset":26860,"endOffset":29991,"count":837},{"startOffset":26943,"endOffset":27759,"count":814},{"startOffset":27402,"endOffset":27755,"count":220},{"startOffset":27592,"endOffset":27642,"count":0},{"startOffset":27687,"endOffset":27755,"count":0},{"startOffset":27759,"endOffset":27812,"count":617},{"startOffset":27812,"endOffset":28084,"count":13},{"startOffset":27941,"endOffset":28001,"count":0},{"startOffset":28084,"endOffset":28237,"count":604},{"startOffset":28237,"endOffset":28597,"count":195},{"startOffset":28317,"endOffset":28545,"count":27},{"startOffset":28413,"endOffset":28440,"count":25},{"startOffset":28450,"endOffset":28500,"count":2},{"startOffset":28500,"endOffset":28545,"count":25},{"startOffset":28545,"endOffset":28593,"count":168},{"startOffset":28597,"endOffset":28657,"count":434},{"startOffset":28657,"endOffset":28740,"count":60},{"startOffset":28740,"endOffset":28839,"count":374},{"startOffset":28839,"endOffset":28870,"count":349},{"startOffset":28887,"endOffset":29028,"count":0},{"startOffset":29028,"endOffset":29132,"count":374},{"startOffset":29132,"endOffset":29201,"count":351},{"startOffset":29201,"endOffset":29963,"count":374},{"startOffset":29306,"endOffset":29709,"count":0},{"startOffset":29734,"endOffset":29776,"count":373},{"startOffset":29777,"endOffset":29889,"count":373},{"startOffset":29891,"endOffset":29959,"count":1},{"startOffset":29963,"endOffset":29990,"count":374}],"isBlockCoverage":true},{"functionName":"Module._resolveFilename","ranges":[{"startOffset":30020,"endOffset":33106,"count":605},{"startOffset":30117,"endOffset":30142,"count":60},{"startOffset":30142,"endOffset":30192,"count":545},{"startOffset":30192,"endOffset":30211,"count":0},{"startOffset":30213,"endOffset":31290,"count":0},{"startOffset":31290,"endOffset":31385,"count":545},{"startOffset":31385,"endOffset":31433,"count":0},{"startOffset":31435,"endOffset":32047,"count":0},{"startOffset":32047,"endOffset":32208,"count":545},{"startOffset":32208,"endOffset":32404,"count":0},{"startOffset":32404,"endOffset":32560,"count":545},{"startOffset":32560,"endOffset":33105,"count":0}],"isBlockCoverage":true},{"functionName":"finalizeEsmResolution","ranges":[{"startOffset":33109,"endOffset":33678,"count":2},{"startOffset":33311,"endOffset":33430,"count":0},{"startOffset":33543,"endOffset":33677,"count":0}],"isBlockCoverage":true},{"functionName":"createEsmNotFoundErr","ranges":[{"startOffset":33680,"endOffset":33970,"count":0}],"isBlockCoverage":false},{"functionName":"Module.load","ranges":[{"startOffset":34059,"endOffset":34896,"count":374},{"startOffset":34394,"endOffset":34424,"count":0},{"startOffset":34430,"endOffset":34472,"count":0},{"startOffset":34752,"endOffset":34800,"count":0}],"isBlockCoverage":true},{"functionName":"Module.require","ranges":[{"startOffset":35095,"endOffset":35394,"count":814},{"startOffset":35155,"endOffset":35273,"count":0}],"isBlockCoverage":true},{"functionName":"wrapSafe","ranges":[{"startOffset":35584,"endOffset":37521,"count":371},{"startOffset":35668,"endOffset":36404,"count":0},{"startOffset":36944,"endOffset":36990,"count":0},{"startOffset":36991,"endOffset":37032,"count":0},{"startOffset":37034,"endOffset":37097,"count":0},{"startOffset":37183,"endOffset":37281,"count":5},{"startOffset":37315,"endOffset":37519,"count":0}],"isBlockCoverage":true},{"functionName":"importModuleDynamically","ranges":[{"startOffset":35895,"endOffset":36134,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":36617,"endOffset":36870,"count":2}],"isBlockCoverage":true},{"functionName":"Module._compile","ranges":[{"startOffset":37721,"endOffset":39539,"count":371},{"startOffset":37812,"endOffset":37822,"count":0},{"startOffset":37840,"endOffset":37993,"count":0},{"startOffset":38126,"endOffset":38150,"count":0},{"startOffset":38152,"endOffset":38888,"count":0},{"startOffset":39111,"endOffset":39137,"count":23},{"startOffset":39162,"endOffset":39301,"count":0},{"startOffset":39503,"endOffset":39520,"count":23}],"isBlockCoverage":true},{"functionName":"Module._extensions..js","ranges":[{"startOffset":39598,"endOffset":41380,"count":371},{"startOffset":39759,"endOffset":39767,"count":25},{"startOffset":39769,"endOffset":39834,"count":25},{"startOffset":39834,"endOffset":39894,"count":346},{"startOffset":39943,"endOffset":41340,"count":360},{"startOffset":39988,"endOffset":40010,"count":0},{"startOffset":40106,"endOffset":41336,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..json","ranges":[{"startOffset":41444,"endOffset":41850,"count":3},{"startOffset":41554,"endOffset":41564,"count":0},{"startOffset":41582,"endOffset":41684,"count":0},{"startOffset":41767,"endOffset":41848,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..node","ranges":[{"startOffset":41914,"endOffset":42256,"count":0}],"isBlockCoverage":false},{"functionName":"createRequireFromPath","ranges":[{"startOffset":42259,"endOffset":42720,"count":2},{"startOffset":42439,"endOffset":42481,"count":0},{"startOffset":42519,"endOffset":42555,"count":0}],"isBlockCoverage":true},{"functionName":"createRequire","ranges":[{"startOffset":42828,"endOffset":43373,"count":2},{"startOffset":43033,"endOffset":43165,"count":0},{"startOffset":43169,"endOffset":43329,"count":0}],"isBlockCoverage":true},{"functionName":"Module._initPaths","ranges":[{"startOffset":43434,"endOffset":44399,"count":1},{"startOffset":43475,"endOffset":43500,"count":0},{"startOffset":43552,"endOffset":43575,"count":0},{"startOffset":43783,"endOffset":43825,"count":0},{"startOffset":44124,"endOffset":44266,"count":0}],"isBlockCoverage":true},{"functionName":"Module._preloadModules","ranges":[{"startOffset":44427,"endOffset":45018,"count":0}],"isBlockCoverage":false},{"functionName":"syncBuiltinESMExports","ranges":[{"startOffset":45052,"endOffset":45233,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":45318,"endOffset":45376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"168","url":"node:internal/vm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2921,"count":1}],"isBlockCoverage":false},{"functionName":"isContext","ranges":[{"startOffset":419,"endOffset":554,"count":0}],"isBlockCoverage":false},{"functionName":"internalCompileFunction","ranges":[{"startOffset":556,"endOffset":2857,"count":371},{"startOffset":1151,"endOffset":1200,"count":0},{"startOffset":1304,"endOffset":1566,"count":0},{"startOffset":2045,"endOffset":2118,"count":0},{"startOffset":2145,"endOffset":2202,"count":0},{"startOffset":2258,"endOffset":2331,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1675,"endOffset":1824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"169","url":"node:internal/modules/helpers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7741,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":923,"endOffset":948,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCjsConditions","ranges":[{"startOffset":971,"endOffset":1363,"count":1},{"startOffset":1150,"endOffset":1154,"count":0}],"isBlockCoverage":true},{"functionName":"getCjsConditions","ranges":[{"startOffset":1365,"endOffset":1492,"count":2},{"startOffset":1430,"endOffset":1466,"count":0}],"isBlockCoverage":true},{"functionName":"loadBuiltinModule","ranges":[{"startOffset":1494,"endOffset":1823,"count":87},{"startOffset":1595,"endOffset":1612,"count":0}],"isBlockCoverage":true},{"functionName":"lazyModule","ranges":[{"startOffset":1845,"endOffset":1958,"count":373},{"startOffset":1889,"endOffset":1937,"count":1}],"isBlockCoverage":true},{"functionName":"makeRequireFunction","ranges":[{"startOffset":2207,"endOffset":4418,"count":373},{"startOffset":2346,"endOffset":2409,"count":0},{"startOffset":2443,"endOffset":3714,"count":0}],"isBlockCoverage":true},{"functionName":"require","ranges":[{"startOffset":2586,"endOffset":3709,"count":0}],"isBlockCoverage":false},{"functionName":"require","ranges":[{"startOffset":3736,"endOffset":3876,"count":813}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":3885,"endOffset":4031,"count":0}],"isBlockCoverage":false},{"functionName":"paths","ranges":[{"startOffset":4065,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"stripBOM","ranges":[{"startOffset":4603,"endOffset":4758,"count":3},{"startOffset":4685,"endOffset":4738,"count":0}],"isBlockCoverage":true},{"functionName":"addBuiltinLibsToObject","ranges":[{"startOffset":4760,"endOffset":6720,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeReferrerURL","ranges":[{"startOffset":6788,"endOffset":6976,"count":65},{"startOffset":6895,"endOffset":6941,"count":7},{"startOffset":6941,"endOffset":6975,"count":58}],"isBlockCoverage":true},{"functionName":"hasEsmSyntax","ranges":[{"startOffset":7046,"endOffset":7548,"count":0}],"isBlockCoverage":false}]},{"scriptId":"170","url":"node:internal/modules/package_json_reader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3711,"count":1}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":932,"endOffset":3682,"count":2048},{"startOffset":1028,"endOffset":1065,"count":1895},{"startOffset":1065,"endOffset":1742,"count":153},{"startOffset":1742,"endOffset":1751,"count":0},{"startOffset":1752,"endOffset":1766,"count":0},{"startOffset":1767,"endOffset":1789,"count":153},{"startOffset":1813,"endOffset":3632,"count":85},{"startOffset":1881,"endOffset":2477,"count":0},{"startOffset":2635,"endOffset":2669,"count":84},{"startOffset":2671,"endOffset":2711,"count":84},{"startOffset":2767,"endOffset":2801,"count":43},{"startOffset":2803,"endOffset":2843,"count":43},{"startOffset":2903,"endOffset":2949,"count":27},{"startOffset":3009,"endOffset":3055,"count":1},{"startOffset":3166,"endOffset":3225,"count":26},{"startOffset":3197,"endOffset":3224,"count":25},{"startOffset":3227,"endOffset":3267,"count":26},{"startOffset":3301,"endOffset":3497,"count":1},{"startOffset":3422,"endOffset":3475,"count":0},{"startOffset":3525,"endOffset":3628,"count":0},{"startOffset":3632,"endOffset":3681,"count":153}],"isBlockCoverage":true}]},{"scriptId":"171","url":"node:internal/modules/run_main","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2850,"count":1}],"isBlockCoverage":false},{"functionName":"resolveMainPath","ranges":[{"startOffset":155,"endOffset":666,"count":1},{"startOffset":495,"endOffset":502,"count":0}],"isBlockCoverage":true},{"functionName":"shouldUseESMLoader","ranges":[{"startOffset":668,"endOffset":1558,"count":1},{"startOffset":1184,"endOffset":1196,"count":0},{"startOffset":1378,"endOffset":1390,"count":0},{"startOffset":1457,"endOffset":1470,"count":0}],"isBlockCoverage":true},{"functionName":"runMainESM","ranges":[{"startOffset":1560,"endOffset":1920,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1736,"endOffset":1915,"count":1},{"startOffset":1833,"endOffset":1843,"count":0}],"isBlockCoverage":true},{"functionName":"handleMainPromise","ranges":[{"startOffset":1922,"endOffset":2196,"count":1}],"isBlockCoverage":true},{"functionName":"executeUserEntryPoint","ranges":[{"startOffset":2382,"endOffset":2780,"count":1},{"startOffset":2592,"endOffset":2599,"count":0},{"startOffset":2605,"endOffset":2778,"count":0}],"isBlockCoverage":true}]},{"scriptId":"172","url":"node:internal/modules/esm/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6457,"count":1}],"isBlockCoverage":false},{"functionName":"getDefaultConditions","ranges":[{"startOffset":707,"endOffset":813,"count":108}],"isBlockCoverage":true},{"functionName":"getDefaultConditionsSet","ranges":[{"startOffset":841,"endOffset":956,"count":107}],"isBlockCoverage":true},{"functionName":"initializeDefaultConditions","ranges":[{"startOffset":1036,"endOffset":1418,"count":1},{"startOffset":1219,"endOffset":1223,"count":0}],"isBlockCoverage":true},{"functionName":"getConditionsSet","ranges":[{"startOffset":1488,"endOffset":1847,"count":107},{"startOffset":1601,"endOffset":1809,"count":0}],"isBlockCoverage":true},{"functionName":"registerModule","ranges":[{"startOffset":3590,"endOffset":3817,"count":429}],"isBlockCoverage":true},{"functionName":"initializeImportMetaObject","ranges":[{"startOffset":3842,"endOffset":4133,"count":3}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyCallback","ranges":[{"startOffset":4158,"endOffset":4557,"count":3},{"startOffset":4501,"endOffset":4556,"count":0}],"isBlockCoverage":true},{"functionName":"initializeESM","ranges":[{"startOffset":4722,"endOffset":5098,"count":1}],"isBlockCoverage":true},{"functionName":"isLoaderWorker","ranges":[{"startOffset":5100,"endOffset":5155,"count":1}],"isBlockCoverage":true},{"functionName":"initializeHooks","ranges":[{"startOffset":5157,"endOffset":6268,"count":0}],"isBlockCoverage":false}]},{"scriptId":"173","url":"node:internal/process/esm_loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1190,"count":1}],"isBlockCoverage":false},{"functionName":"get esmLoader","ranges":[{"startOffset":386,"endOffset":458,"count":77}],"isBlockCoverage":true},{"functionName":"loadESM","ranges":[{"startOffset":462,"endOffset":1185,"count":1},{"startOffset":630,"endOffset":846,"count":0},{"startOffset":937,"endOffset":1181,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":728,"endOffset":836,"count":0}],"isBlockCoverage":false}]},{"scriptId":"174","url":"node:internal/modules/esm/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21570,"count":1}],"isBlockCoverage":false},{"functionName":"newResolveCache","ranges":[{"startOffset":783,"endOffset":913,"count":1}],"isBlockCoverage":true},{"functionName":"newLoadCache","ranges":[{"startOffset":915,"endOffset":1036,"count":1}],"isBlockCoverage":true},{"functionName":"getTranslators","ranges":[{"startOffset":1038,"endOffset":1160,"count":98}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1847,"endOffset":14781,"count":1}],"isBlockCoverage":false},{"functionName":"ModuleLoader","ranges":[{"startOffset":3114,"endOffset":3307,"count":1},{"startOffset":3202,"endOffset":3259,"count":0}],"isBlockCoverage":true},{"functionName":"setCustomizations","ranges":[{"startOffset":4847,"endOffset":5091,"count":1},{"startOffset":4950,"endOffset":5032,"count":0}],"isBlockCoverage":true},{"functionName":"eval","ranges":[{"startOffset":5095,"endOffset":6098,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleJob","ranges":[{"startOffset":6833,"endOffset":7068,"count":162}],"isBlockCoverage":true},{"functionName":"getModuleJobSync","ranges":[{"startOffset":7072,"endOffset":7309,"count":0}],"isBlockCoverage":false},{"functionName":"getJobFromResolveResult","ranges":[{"startOffset":7313,"endOffset":7897,"count":162},{"startOffset":7687,"endOffset":7749,"count":0},{"startOffset":7778,"endOffset":7876,"count":97}],"isBlockCoverage":true},{"functionName":"#createModuleJob","ranges":[{"startOffset":8535,"endOffset":9726,"count":97},{"startOffset":9027,"endOffset":9103,"count":0},{"startOffset":9246,"endOffset":9286,"count":1},{"startOffset":9341,"endOffset":9356,"count":0},{"startOffset":9358,"endOffset":9412,"count":0}],"isBlockCoverage":true},{"functionName":"callTranslator","ranges":[{"startOffset":8629,"endOffset":8943,"count":97},{"startOffset":8773,"endOffset":8853,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9035,"endOffset":9103,"count":0}],"isBlockCoverage":false},{"functionName":"moduleProvider","ranges":[{"startOffset":9112,"endOffset":9188,"count":97}],"isBlockCoverage":true},{"functionName":"import","ranges":[{"startOffset":10188,"endOffset":10413,"count":4}],"isBlockCoverage":true},{"functionName":"register","ranges":[{"startOffset":10479,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":11461,"endOffset":12047,"count":162},{"startOffset":11549,"endOffset":11647,"count":0},{"startOffset":11843,"endOffset":11877,"count":1},{"startOffset":11877,"endOffset":12046,"count":161}],"isBlockCoverage":true},{"functionName":"resolveSync","ranges":[{"startOffset":12205,"endOffset":12483,"count":0}],"isBlockCoverage":false},{"functionName":"defaultResolve","ranges":[{"startOffset":12695,"endOffset":13035,"count":161}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":13319,"endOffset":13623,"count":97},{"startOffset":13456,"endOffset":13510,"count":0}],"isBlockCoverage":true},{"functionName":"loadSync","ranges":[{"startOffset":13627,"endOffset":14158,"count":0}],"isBlockCoverage":false},{"functionName":"validateLoadResult","ranges":[{"startOffset":14162,"endOffset":14313,"count":97},{"startOffset":14220,"endOffset":14309,"count":0}],"isBlockCoverage":true},{"functionName":"importMetaInitialize","ranges":[{"startOffset":14317,"endOffset":14652,"count":3},{"startOffset":14385,"endOffset":14469,"count":0}],"isBlockCoverage":true},{"functionName":"forceLoadHooks","ranges":[{"startOffset":14713,"endOffset":14779,"count":1},{"startOffset":14756,"endOffset":14772,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14835,"endOffset":17345,"count":0}],"isBlockCoverage":false},{"functionName":"createModuleLoader","ranges":[{"startOffset":17841,"endOffset":19523,"count":1},{"startOffset":18306,"endOffset":19473,"count":0}],"isBlockCoverage":true},{"functionName":"readableURIEncode","ranges":[{"startOffset":18381,"endOffset":18876,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19196,"endOffset":19284,"count":0}],"isBlockCoverage":false},{"functionName":"getHooksProxy","ranges":[{"startOffset":19636,"endOffset":19812,"count":0}],"isBlockCoverage":false},{"functionName":"register","ranges":[{"startOffset":21096,"endOffset":21495,"count":0}],"isBlockCoverage":false}]},{"scriptId":"175","url":"node:internal/modules/esm/module_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3877,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":281,"endOffset":306,"count":1}],"isBlockCoverage":true},{"functionName":"ResolveCache","ranges":[{"startOffset":850,"endOffset":878,"count":1}],"isBlockCoverage":true},{"functionName":"serializeKey","ranges":[{"startOffset":1224,"endOffset":1836,"count":162},{"startOffset":1633,"endOffset":1835,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1752,"endOffset":1818,"count":0}],"isBlockCoverage":false},{"functionName":"#getModuleCachedImports","ranges":[{"startOffset":1840,"endOffset":2056,"count":323},{"startOffset":1954,"endOffset":2026,"count":37}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2231,"endOffset":2333,"count":162}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":2473,"endOffset":2602,"count":161}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":2606,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"LoadCache","ranges":[{"startOffset":2844,"endOffset":2872,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2921,"endOffset":3064,"count":162},{"startOffset":3051,"endOffset":3059,"count":65}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3067,"endOffset":3662,"count":97},{"startOffset":3286,"endOffset":3322,"count":0},{"startOffset":3324,"endOffset":3394,"count":0},{"startOffset":3478,"endOffset":3484,"count":0}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":3665,"endOffset":3822,"count":0}],"isBlockCoverage":false}]},{"scriptId":"176","url":"node:internal/modules/esm/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4026,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1321,"endOffset":1359,"count":5}],"isBlockCoverage":true},{"functionName":"validateAssertions","ranges":[{"startOffset":1780,"endOffset":3310,"count":97},{"startOffset":2002,"endOffset":2301,"count":0},{"startOffset":2330,"endOffset":2475,"count":0},{"startOffset":2740,"endOffset":2800,"count":0},{"startOffset":2806,"endOffset":2914,"count":0},{"startOffset":2920,"endOffset":3304,"count":0}],"isBlockCoverage":true},{"functionName":"handleInvalidType","ranges":[{"startOffset":3542,"endOffset":3956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"177","url":"node:internal/modules/esm/translators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15691,"count":1}],"isBlockCoverage":false},{"functionName":"lazyTypes","ranges":[{"startOffset":372,"endOffset":484,"count":116},{"startOffset":418,"endOffset":432,"count":115},{"startOffset":432,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":948,"endOffset":973,"count":1}],"isBlockCoverage":true},{"functionName":"initCJSParse","ranges":[{"startOffset":1545,"endOffset":1943,"count":6},{"startOffset":1619,"endOffset":1694,"count":0},{"startOffset":1852,"endOffset":1937,"count":0}],"isBlockCoverage":true},{"functionName":"assertBufferSource","ranges":[{"startOffset":2077,"endOffset":2498,"count":116},{"startOffset":2154,"endOffset":2181,"count":58},{"startOffset":2183,"endOffset":2200,"count":0},{"startOffset":2294,"endOffset":2319,"count":0},{"startOffset":2338,"endOffset":2417,"count":0},{"startOffset":2418,"endOffset":2422,"count":0}],"isBlockCoverage":true},{"functionName":"stringify","ranges":[{"startOffset":2500,"endOffset":2774,"count":83},{"startOffset":2559,"endOffset":2571,"count":25},{"startOffset":2571,"endOffset":2711,"count":58},{"startOffset":2711,"endOffset":2730,"count":1},{"startOffset":2731,"endOffset":2740,"count":57}],"isBlockCoverage":true},{"functionName":"errPath","ranges":[{"startOffset":2776,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":2923,"endOffset":3061,"count":1}],"isBlockCoverage":true},{"functionName":"moduleStrategy","ranges":[{"startOffset":3143,"endOffset":3668,"count":58}],"isBlockCoverage":true},{"functionName":"initializeImportMeta","ranges":[{"startOffset":3557,"endOffset":3613,"count":3}],"isBlockCoverage":true},{"functionName":"enrichCJSError","ranges":[{"startOffset":3835,"endOffset":4374,"count":0}],"isBlockCoverage":false},{"functionName":"loadCJSModule","ranges":[{"startOffset":4715,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"createCJSModuleWrap","ranges":[{"startOffset":6909,"endOffset":8288,"count":25},{"startOffset":7110,"endOffset":7115,"count":0},{"startOffset":7309,"endOffset":7331,"count":1},{"startOffset":7332,"endOffset":7361,"count":24},{"startOffset":7378,"endOffset":7434,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7494,"endOffset":8283,"count":25},{"startOffset":7571,"endOffset":7624,"count":23},{"startOffset":7806,"endOffset":7849,"count":0},{"startOffset":7892,"endOffset":8239,"count":70},{"startOffset":7956,"endOffset":7993,"count":69},{"startOffset":8003,"endOffset":8012,"count":2},{"startOffset":8012,"endOffset":8136,"count":68},{"startOffset":8136,"endOffset":8192,"count":0},{"startOffset":8192,"endOffset":8239,"count":68}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8448,"endOffset":8540,"count":0}],"isBlockCoverage":false},{"functionName":"commonjsStrategy","ranges":[{"startOffset":8728,"endOffset":9611,"count":25},{"startOffset":8860,"endOffset":8891,"count":6},{"startOffset":9358,"endOffset":9373,"count":0},{"startOffset":9498,"endOffset":9546,"count":0}],"isBlockCoverage":true},{"functionName":"cjsLoader","ranges":[{"startOffset":9138,"endOffset":9357,"count":23},{"startOffset":9277,"endOffset":9353,"count":0}],"isBlockCoverage":true},{"functionName":"cjsPreparseModuleExports","ranges":[{"startOffset":9615,"endOffset":12093,"count":25},{"startOffset":9798,"endOffset":9923,"count":0},{"startOffset":10231,"endOffset":10236,"count":0},{"startOffset":10244,"endOffset":10293,"count":0},{"startOffset":10469,"endOffset":12056,"count":1},{"startOffset":11330,"endOffset":11363,"count":0},{"startOffset":11629,"endOffset":11658,"count":0},{"startOffset":11660,"endOffset":12046,"count":0}],"isBlockCoverage":true},{"functionName":"builtinStrategy","ranges":[{"startOffset":12217,"endOffset":12623,"count":14},{"startOffset":12496,"endOffset":12548,"count":0}],"isBlockCoverage":true},{"functionName":"jsonStrategy","ranges":[{"startOffset":12735,"endOffset":14686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14752,"endOffset":15688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"178","url":"node:internal/modules/esm/resolve","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36606,"count":1}],"isBlockCoverage":false},{"functionName":"emitTrailingSlashPatternDeprecation","ranges":[{"startOffset":2334,"endOffset":2920,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidSegmentDeprecation","ranges":[{"startOffset":2962,"endOffset":3657,"count":0}],"isBlockCoverage":false},{"functionName":"emitLegacyIndexDeprecation","ranges":[{"startOffset":3805,"endOffset":4938,"count":22},{"startOffset":3967,"endOffset":4936,"count":0}],"isBlockCoverage":true},{"functionName":"legacyMainResolve","ranges":[{"startOffset":6029,"endOffset":6789,"count":22},{"startOffset":6196,"endOffset":6280,"count":0},{"startOffset":6320,"endOffset":6331,"count":0},{"startOffset":6543,"endOffset":6570,"count":14},{"startOffset":6571,"endOffset":6575,"count":8}],"isBlockCoverage":true},{"functionName":"finalizeResolution","ranges":[{"startOffset":6969,"endOffset":8433,"count":107},{"startOffset":7109,"endOffset":7252,"count":0},{"startOffset":7314,"endOffset":7498,"count":0},{"startOffset":7587,"endOffset":7623,"count":0},{"startOffset":7689,"endOffset":7781,"count":0},{"startOffset":7804,"endOffset":8092,"count":0},{"startOffset":8338,"endOffset":8343,"count":0}],"isBlockCoverage":true},{"functionName":"importNotDefined","ranges":[{"startOffset":8545,"endOffset":8756,"count":0}],"isBlockCoverage":false},{"functionName":"exportsNotFound","ranges":[{"startOffset":8866,"endOffset":9061,"count":0}],"isBlockCoverage":false},{"functionName":"throwInvalidSubpath","ranges":[{"startOffset":9228,"endOffset":9611,"count":0}],"isBlockCoverage":false},{"functionName":"invalidPackageTarget","ranges":[{"startOffset":9613,"endOffset":9991,"count":0}],"isBlockCoverage":false},{"functionName":"resolvePackageTargetString","ranges":[{"startOffset":10714,"endOffset":13451,"count":34},{"startOffset":10883,"endOffset":10894,"count":0},{"startOffset":10895,"endOffset":10931,"count":0},{"startOffset":10937,"endOffset":11011,"count":0},{"startOffset":11061,"endOffset":11618,"count":0},{"startOffset":11710,"endOffset":12320,"count":0},{"startOffset":12543,"endOffset":12617,"count":0},{"startOffset":12657,"endOffset":13450,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11393,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11919,"endOffset":11932,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12065,"endOffset":12078,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12792,"endOffset":12805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13032,"endOffset":13045,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13385,"endOffset":13398,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayIndex","ranges":[{"startOffset":13506,"endOffset":13646,"count":18},{"startOffset":13598,"endOffset":13643,"count":0}],"isBlockCoverage":true},{"functionName":"resolvePackageTarget","ranges":[{"startOffset":13910,"endOffset":16158,"count":44},{"startOffset":14103,"endOffset":14257,"count":34},{"startOffset":14257,"endOffset":16041,"count":10},{"startOffset":14289,"endOffset":15127,"count":2},{"startOffset":14320,"endOffset":14346,"count":0},{"startOffset":14666,"endOffset":14814,"count":0},{"startOffset":14854,"endOffset":14881,"count":0},{"startOffset":14916,"endOffset":14973,"count":0},{"startOffset":15007,"endOffset":15069,"count":0},{"startOffset":15077,"endOffset":15127,"count":0},{"startOffset":15127,"endOffset":16041,"count":8},{"startOffset":15280,"endOffset":15508,"count":18},{"startOffset":15338,"endOffset":15502,"count":0},{"startOffset":15551,"endOffset":15966,"count":13},{"startOffset":15608,"endOffset":15630,"count":10},{"startOffset":15632,"endOffset":15960,"count":8},{"startOffset":15913,"endOffset":15922,"count":0},{"startOffset":15966,"endOffset":16041,"count":0},{"startOffset":16041,"endOffset":16157,"count":0}],"isBlockCoverage":true},{"functionName":"isConditionalExportsMainSugar","ranges":[{"startOffset":16343,"endOffset":17278,"count":32},{"startOffset":16449,"endOffset":16473,"count":6},{"startOffset":16475,"endOffset":16487,"count":26},{"startOffset":16487,"endOffset":16541,"count":6},{"startOffset":16543,"endOffset":16556,"count":0},{"startOffset":16556,"endOffset":16696,"count":6},{"startOffset":16696,"endOffset":17247,"count":11},{"startOffset":16806,"endOffset":16863,"count":6},{"startOffset":16863,"endOffset":17243,"count":5},{"startOffset":16919,"endOffset":17243,"count":0},{"startOffset":17247,"endOffset":17277,"count":6}],"isBlockCoverage":true},{"functionName":"packageExportsResolve","ranges":[{"startOffset":17488,"endOffset":20047,"count":32},{"startOffset":17700,"endOffset":17727,"count":27},{"startOffset":18129,"endOffset":18203,"count":0},{"startOffset":18234,"endOffset":20046,"count":0}],"isBlockCoverage":true},{"functionName":"patternKeyCompare","ranges":[{"startOffset":20049,"endOffset":20580,"count":0}],"isBlockCoverage":false},{"functionName":"packageImportsResolve","ranges":[{"startOffset":20709,"endOffset":23166,"count":2},{"startOffset":20871,"endOffset":21024,"count":0},{"startOffset":21608,"endOffset":23100,"count":0},{"startOffset":23110,"endOffset":23165,"count":0}],"isBlockCoverage":true},{"functionName":"getPackageType","ranges":[{"startOffset":23271,"endOffset":23384,"count":116}],"isBlockCoverage":true},{"functionName":"parsePackageName","ranges":[{"startOffset":23546,"endOffset":24598,"count":52},{"startOffset":23737,"endOffset":23965,"count":1},{"startOffset":23817,"endOffset":23856,"count":0},{"startOffset":24027,"endOffset":24079,"count":0},{"startOffset":24256,"endOffset":24281,"count":0},{"startOffset":24308,"endOffset":24427,"count":0},{"startOffset":24488,"endOffset":24541,"count":0}],"isBlockCoverage":true},{"functionName":"packageResolve","ranges":[{"startOffset":24760,"endOffset":26832,"count":52},{"startOffset":24874,"endOffset":24920,"count":0},{"startOffset":25258,"endOffset":25375,"count":0},{"startOffset":25550,"endOffset":26617,"count":191},{"startOffset":25809,"endOffset":26086,"count":139},{"startOffset":25886,"endOffset":25923,"count":3},{"startOffset":25924,"endOffset":25950,"count":136},{"startOffset":26086,"endOffset":26267,"count":52},{"startOffset":26267,"endOffset":26384,"count":30},{"startOffset":26384,"endOffset":26526,"count":22},{"startOffset":26526,"endOffset":26617,"count":0},{"startOffset":26617,"endOffset":26831,"count":0}],"isBlockCoverage":true},{"functionName":"isBareSpecifier","ranges":[{"startOffset":26893,"endOffset":27003,"count":0}],"isBlockCoverage":false},{"functionName":"isRelativeSpecifier","ranges":[{"startOffset":27005,"endOffset":27276,"count":268},{"startOffset":27075,"endOffset":27258,"count":104},{"startOffset":27133,"endOffset":27145,"count":94},{"startOffset":27145,"endOffset":27254,"count":10},{"startOffset":27258,"endOffset":27275,"count":164}],"isBlockCoverage":true},{"functionName":"shouldBeTreatedAsRelativeOrAbsolutePath","ranges":[{"startOffset":27278,"endOffset":27461,"count":268},{"startOffset":27364,"endOffset":27377,"count":0},{"startOffset":27406,"endOffset":27418,"count":0}],"isBlockCoverage":true},{"functionName":"moduleResolve","ranges":[{"startOffset":27654,"endOffset":28445,"count":107},{"startOffset":27980,"endOffset":28026,"count":52},{"startOffset":28026,"endOffset":28316,"count":55},{"startOffset":28071,"endOffset":28143,"count":2},{"startOffset":28143,"endOffset":28316,"count":53},{"startOffset":28204,"endOffset":28312,"count":52},{"startOffset":28354,"endOffset":28380,"count":0}],"isBlockCoverage":true},{"functionName":"resolveAsCommonJS","ranges":[{"startOffset":28591,"endOffset":30048,"count":0}],"isBlockCoverage":false},{"functionName":"checkIfDisallowedImport","ranges":[{"startOffset":30110,"endOffset":31482,"count":161},{"startOffset":30204,"endOffset":31480,"count":160},{"startOffset":30416,"endOffset":31476,"count":0}],"isBlockCoverage":true},{"functionName":"throwIfInvalidParentURL","ranges":[{"startOffset":31557,"endOffset":31830,"count":161},{"startOffset":31634,"endOffset":31685,"count":1},{"startOffset":31685,"endOffset":31722,"count":160},{"startOffset":31722,"endOffset":31742,"count":0},{"startOffset":31744,"endOffset":31828,"count":0}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":31833,"endOffset":35819,"count":161},{"startOffset":31981,"endOffset":32000,"count":160},{"startOffset":31990,"endOffset":32000,"count":0},{"startOffset":32002,"endOffset":32811,"count":0},{"startOffset":32853,"endOffset":32958,"count":160},{"startOffset":32915,"endOffset":32954,"count":0},{"startOffset":33042,"endOffset":33101,"count":52},{"startOffset":33101,"endOffset":33149,"count":109},{"startOffset":33149,"endOffset":33423,"count":107},{"startOffset":33327,"endOffset":33415,"count":0},{"startOffset":33430,"endOffset":33489,"count":0},{"startOffset":33494,"endOffset":33529,"count":54},{"startOffset":33863,"endOffset":33882,"count":0},{"startOffset":33947,"endOffset":33977,"count":107},{"startOffset":33979,"endOffset":34022,"count":54},{"startOffset":34022,"endOffset":34081,"count":107},{"startOffset":34081,"endOffset":34579,"count":1},{"startOffset":34536,"endOffset":34575,"count":0},{"startOffset":34579,"endOffset":34735,"count":107},{"startOffset":34735,"endOffset":34757,"count":1},{"startOffset":34758,"endOffset":34776,"count":106},{"startOffset":34789,"endOffset":35593,"count":0},{"startOffset":35593,"endOffset":35818,"count":107}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":36211,"endOffset":36602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"179","url":"node:internal/modules/esm/package_config","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1412,"count":1}],"isBlockCoverage":false},{"functionName":"getPackageScopeConfig","ranges":[{"startOffset":269,"endOffset":1362,"count":170},{"startOffset":387,"endOffset":1107,"count":277},{"startOffset":521,"endOffset":541,"count":0},{"startOffset":731,"endOffset":766,"count":170},{"startOffset":766,"endOffset":1083,"count":107},{"startOffset":1083,"endOffset":1103,"count":0},{"startOffset":1107,"endOffset":1361,"count":0}],"isBlockCoverage":true}]},{"scriptId":"180","url":"node:internal/modules/esm/get_format","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4514,"count":1}],"isBlockCoverage":false},{"functionName":"node:","ranges":[{"startOffset":900,"endOffset":931,"count":14}],"isBlockCoverage":true},{"functionName":"getDataProtocolModuleFormat","ranges":[{"startOffset":996,"endOffset":1212,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":1487,"endOffset":1846,"count":129},{"startOffset":1587,"endOffset":1831,"count":400},{"startOffset":1649,"endOffset":1684,"count":0},{"startOffset":1692,"endOffset":1821,"count":129},{"startOffset":1780,"endOffset":1784,"count":0},{"startOffset":1831,"endOffset":1845,"count":0}],"isBlockCoverage":true},{"functionName":"getFileProtocolModuleFormat","ranges":[{"startOffset":1970,"endOffset":3175,"count":129},{"startOffset":2086,"endOffset":2160,"count":116},{"startOffset":2132,"endOffset":2142,"count":72},{"startOffset":2143,"endOffset":2155,"count":44},{"startOffset":2160,"endOffset":2232,"count":13},{"startOffset":2232,"endOffset":2467,"count":0},{"startOffset":2469,"endOffset":3174,"count":0}],"isBlockCoverage":true},{"functionName":"getHttpProtocolModuleFormat","ranges":[{"startOffset":3311,"endOffset":3656,"count":0}],"isBlockCoverage":false},{"functionName":"defaultGetFormatWithoutErrors","ranges":[{"startOffset":3801,"endOffset":4036,"count":129},{"startOffset":3955,"endOffset":3977,"count":0}],"isBlockCoverage":true},{"functionName":"defaultGetFormat","ranges":[{"startOffset":4181,"endOffset":4404,"count":14},{"startOffset":4322,"endOffset":4344,"count":0}],"isBlockCoverage":true}]},{"scriptId":"181","url":"node:internal/modules/esm/formats","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":856,"count":1}],"isBlockCoverage":false},{"functionName":"mimeToFormat","ranges":[{"startOffset":468,"endOffset":794,"count":0}],"isBlockCoverage":false}]},{"scriptId":"182","url":"node:internal/modules/esm/handle_process_exit","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":424,"count":1}],"isBlockCoverage":false},{"functionName":"handleProcessExit","ranges":[{"startOffset":298,"endOffset":379,"count":0}],"isBlockCoverage":false}]},{"scriptId":"183","url":"node:internal/modules/esm/module_job","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8786,"count":1}],"isBlockCoverage":false},{"functionName":"isCommonJSGlobalLikeNotDefinedError","ranges":[{"startOffset":917,"endOffset":1048,"count":0}],"isBlockCoverage":false},{"functionName":"ModuleJob","ranges":[{"startOffset":1286,"endOffset":3283,"count":97},{"startOffset":1811,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"link","ranges":[{"startOffset":2085,"endOffset":2900,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2541,"endOffset":2746,"count":158}],"isBlockCoverage":true},{"functionName":"instantiate","ranges":[{"startOffset":3287,"endOffset":3432,"count":4},{"startOffset":3344,"endOffset":3398,"count":3}],"isBlockCoverage":true},{"functionName":"_instantiate","ranges":[{"startOffset":3436,"endOffset":7090,"count":3},{"startOffset":3896,"endOffset":4073,"count":0},{"startOffset":4130,"endOffset":6843,"count":0},{"startOffset":6890,"endOffset":7086,"count":106}],"isBlockCoverage":true},{"functionName":"addJobsToDependencyGraph","ranges":[{"startOffset":3535,"endOffset":3795,"count":161},{"startOffset":3596,"endOffset":3621,"count":55},{"startOffset":3621,"endOffset":3794,"count":106}],"isBlockCoverage":true},{"functionName":"runSync","ranges":[{"startOffset":7094,"endOffset":7494,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":7498,"endOffset":8706,"count":4},{"startOffset":7673,"endOffset":8649,"count":0}],"isBlockCoverage":true}]},{"scriptId":"184","url":"node:internal/modules/esm/load","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6703,"count":1}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":1130,"endOffset":2357,"count":58},{"startOffset":1398,"endOffset":2223,"count":0},{"startOffset":2236,"endOffset":2246,"count":0},{"startOffset":2248,"endOffset":2304,"count":0}],"isBlockCoverage":true},{"functionName":"getSourceSync","ranges":[{"startOffset":2540,"endOffset":3279,"count":0}],"isBlockCoverage":false},{"functionName":"defaultLoad","ranges":[{"startOffset":3400,"endOffset":4067,"count":97},{"startOffset":3739,"endOffset":3827,"count":14},{"startOffset":3827,"endOffset":3855,"count":83},{"startOffset":3860,"endOffset":3884,"count":39},{"startOffset":3884,"endOffset":3986,"count":58}],"isBlockCoverage":true},{"functionName":"defaultLoadSync","ranges":[{"startOffset":4580,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfUnsupportedURLScheme","ranges":[{"startOffset":5367,"endOffset":5999,"count":97},{"startOffset":5597,"endOffset":5624,"count":14},{"startOffset":5625,"endOffset":5652,"count":14},{"startOffset":5653,"endOffset":5782,"count":0},{"startOffset":5787,"endOffset":5997,"count":0}],"isBlockCoverage":true},{"functionName":"throwUnknownModuleFormat","ranges":[{"startOffset":6378,"endOffset":6616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"185","url":"node:internal/fs/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29943,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCpPromises","ranges":[{"startOffset":2997,"endOffset":3089,"count":0}],"isBlockCoverage":false},{"functionName":"lazyFsStreams","ranges":[{"startOffset":3151,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3236,"endOffset":9299,"count":58}],"isBlockCoverage":false},{"functionName":"FileHandle","ranges":[{"startOffset":3377,"endOffset":3554,"count":58},{"startOffset":3491,"endOffset":3495,"count":0}],"isBlockCoverage":true},{"functionName":"getAsyncId","ranges":[{"startOffset":3558,"endOffset":3615,"count":0}],"isBlockCoverage":false},{"functionName":"get fd","ranges":[{"startOffset":3619,"endOffset":3655,"count":116}],"isBlockCoverage":true},{"functionName":"appendFile","ranges":[{"startOffset":3659,"endOffset":3741,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":3745,"endOffset":3801,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":3805,"endOffset":3869,"count":0}],"isBlockCoverage":false},{"functionName":"datasync","ranges":[{"startOffset":3873,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":3929,"endOffset":3973,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":3977,"endOffset":4086,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":4090,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":4175,"endOffset":4242,"count":0}],"isBlockCoverage":false},{"functionName":"readLines","ranges":[{"startOffset":4246,"endOffset":4389,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4393,"endOffset":4453,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":4457,"endOffset":4521,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":4525,"endOffset":4599,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":4603,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":4718,"endOffset":4801,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4805,"endOffset":4886,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":4898,"endOffset":5690,"count":58},{"startOffset":4932,"endOffset":4970,"count":0},{"startOffset":5001,"endOffset":5042,"count":0},{"startOffset":5268,"endOffset":5629,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5210,"endOffset":5252,"count":58}],"isBlockCoverage":true},{"functionName":".SafePromisePrototypeFinally.","ranges":[{"startOffset":5353,"endOffset":5465,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5468,"endOffset":5613,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5695,"endOffset":5754,"count":0}],"isBlockCoverage":false},{"functionName":"readableWebStream","ranges":[{"startOffset":5949,"endOffset":7635,"count":0}],"isBlockCoverage":false},{"functionName":"createReadStream","ranges":[{"startOffset":7933,"endOffset":8084,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":8333,"endOffset":8487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8491,"endOffset":8891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8895,"endOffset":8948,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8952,"endOffset":9039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9043,"endOffset":9076,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9080,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"handleFdClose","ranges":[{"startOffset":9301,"endOffset":9672,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9412,"endOffset":9471,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9458,"endOffset":9470,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9477,"endOffset":9664,"count":0}],"isBlockCoverage":false},{"functionName":"fsCall","ranges":[{"startOffset":9674,"endOffset":10134,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":10136,"endOffset":10256,"count":232},{"startOffset":10180,"endOffset":10189,"count":0},{"startOffset":10195,"endOffset":10254,"count":0}],"isBlockCoverage":true},{"functionName":"writeFileHandle","ranges":[{"startOffset":10258,"endOffset":11400,"count":0}],"isBlockCoverage":false},{"functionName":"readFileHandle","ranges":[{"startOffset":11402,"endOffset":13541,"count":58},{"startOffset":11554,"endOffset":11584,"count":0},{"startOffset":11864,"endOffset":11902,"count":0},{"startOffset":11935,"endOffset":11983,"count":0},{"startOffset":12016,"endOffset":12054,"count":0},{"startOffset":12296,"endOffset":12368,"count":0},{"startOffset":12512,"endOffset":12516,"count":0},{"startOffset":12601,"endOffset":12657,"count":0},{"startOffset":12751,"endOffset":12762,"count":0},{"startOffset":12819,"endOffset":12879,"count":0},{"startOffset":12927,"endOffset":12941,"count":0},{"startOffset":12943,"endOffset":13053,"count":0},{"startOffset":13084,"endOffset":13535,"count":0}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":13694,"endOffset":13915,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":13917,"endOffset":14186,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":14188,"endOffset":14546,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":14666,"endOffset":14991,"count":58}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":14993,"endOffset":16364,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":16366,"endOffset":16703,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":16705,"endOffset":17954,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":17956,"endOffset":18398,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":18400,"endOffset":18706,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":18708,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":18843,"endOffset":19002,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":19004,"endOffset":19208,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":19210,"endOffset":19581,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":19583,"endOffset":19672,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":19674,"endOffset":19755,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":19757,"endOffset":20234,"count":0}],"isBlockCoverage":false},{"functionName":"readdirRecursive","ranges":[{"startOffset":20236,"endOffset":21910,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":21912,"endOffset":22339,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":22341,"endOffset":22580,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":22582,"endOffset":23306,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":23308,"endOffset":23486,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":23488,"endOffset":23758,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":23760,"endOffset":24027,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":24029,"endOffset":24303,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":24305,"endOffset":24628,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":24630,"endOffset":24768,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":24770,"endOffset":24903,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":24905,"endOffset":25091,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":25093,"endOffset":25321,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":25323,"endOffset":25599,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":25601,"endOffset":25798,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":25800,"endOffset":26073,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":26075,"endOffset":26347,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":26349,"endOffset":26548,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":26550,"endOffset":26827,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":26829,"endOffset":27002,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":27004,"endOffset":27383,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":27385,"endOffset":28060,"count":0}],"isBlockCoverage":false},{"functionName":"isCustomIterable","ranges":[{"startOffset":28062,"endOffset":28176,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":28178,"endOffset":28419,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":28421,"endOffset":28765,"count":58},{"startOffset":28538,"endOffset":28544,"count":0},{"startOffset":28585,"endOffset":28622,"count":0}],"isBlockCoverage":true},{"functionName":"_watch","ranges":[{"startOffset":28767,"endOffset":29432,"count":0}],"isBlockCoverage":false}]},{"scriptId":"186","url":"node:internal/fs/rimraf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7454,"count":1}],"isBlockCoverage":false},{"functionName":"rimraf","ranges":[{"startOffset":1175,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_rimraf","ranges":[{"startOffset":1638,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERM","ranges":[{"startOffset":2499,"endOffset":2934,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdir","ranges":[{"startOffset":2937,"endOffset":3235,"count":0}],"isBlockCoverage":false},{"functionName":"_rmchildren","ranges":[{"startOffset":3238,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafPromises","ranges":[{"startOffset":3928,"endOffset":4126,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafSync","ranges":[{"startOffset":4129,"endOffset":4812,"count":0}],"isBlockCoverage":false},{"functionName":"_unlinkSync","ranges":[{"startOffset":4815,"endOffset":5444,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdirSync","ranges":[{"startOffset":5447,"endOffset":6944,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERMSync","ranges":[{"startOffset":6947,"endOffset":7394,"count":0}],"isBlockCoverage":false}]},{"scriptId":"187","url":"node:internal/fs/dir","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8071,"count":1}],"isBlockCoverage":false},{"functionName":"Dir","ranges":[{"startOffset":1177,"endOffset":1993,"count":0}],"isBlockCoverage":false},{"functionName":"get path","ranges":[{"startOffset":1997,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":2044,"endOffset":2111,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2115,"endOffset":3841,"count":0}],"isBlockCoverage":false},{"functionName":"processReadResult","ranges":[{"startOffset":3845,"endOffset":4099,"count":0}],"isBlockCoverage":false},{"functionName":"readSyncRecursive","ranges":[{"startOffset":4103,"endOffset":4676,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":4680,"endOffset":5656,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":5660,"endOffset":6349,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":6353,"endOffset":6730,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":6734,"endOffset":6997,"count":0}],"isBlockCoverage":false},{"functionName":"opendir","ranges":[{"startOffset":7177,"endOffset":7757,"count":0}],"isBlockCoverage":false},{"functionName":"opendirSync","ranges":[{"startOffset":7759,"endOffset":8014,"count":0}],"isBlockCoverage":false}]},{"scriptId":"188","url":"node:internal/fs/watchers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11242,"count":1}],"isBlockCoverage":false},{"functionName":"emitStop","ranges":[{"startOffset":1420,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher","ranges":[{"startOffset":1470,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"onchange","ranges":[{"startOffset":1820,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":2565,"endOffset":3399,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.start","ranges":[{"startOffset":3620,"endOffset":3628,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.stop","ranges":[{"startOffset":3874,"endOffset":4155,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":4244,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.ref","ranges":[{"startOffset":4702,"endOffset":4984,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.unref","ranges":[{"startOffset":5017,"endOffset":5267,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher","ranges":[{"startOffset":5271,"endOffset":6239,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.","ranges":[{"startOffset":6776,"endOffset":7686,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.start","ranges":[{"startOffset":7903,"endOffset":7911,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.close","ranges":[{"startOffset":8034,"endOffset":8371,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.ref","ranges":[{"startOffset":8400,"endOffset":8469,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.unref","ranges":[{"startOffset":8500,"endOffset":8571,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":8574,"endOffset":8626,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8850,"endOffset":8886,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8890,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":8967,"endOffset":11110,"count":0}],"isBlockCoverage":false}]},{"scriptId":"189","url":"node:internal/fs/recursive_watch","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7634,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFsPromises","ranges":[{"startOffset":812,"endOffset":919,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadFsSync","ranges":[{"startOffset":921,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"traverse","ranges":[{"startOffset":1037,"endOffset":1618,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1620,"endOffset":7580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"190","url":"node:internal/readline/interface","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":39029,"count":1}],"isBlockCoverage":false},{"functionName":"InterfaceConstructor","ranges":[{"startOffset":3781,"endOffset":9286,"count":0}],"isBlockCoverage":false},{"functionName":"Interface","ranges":[{"startOffset":9527,"endOffset":9627,"count":0}],"isBlockCoverage":false},{"functionName":"get columns","ranges":[{"startOffset":9630,"endOffset":9742,"count":0}],"isBlockCoverage":false},{"functionName":"setPrompt","ranges":[{"startOffset":9851,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"getPrompt","ranges":[{"startOffset":9996,"endOffset":10039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10043,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"prompt","ranges":[{"startOffset":10373,"endOffset":10627,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10631,"endOffset":10938,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10942,"endOffset":11184,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11188,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11279,"endOffset":11447,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11451,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11652,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12834,"endOffset":13839,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13923,"endOffset":14094,"count":0}],"isBlockCoverage":false},{"functionName":"pause","ranges":[{"startOffset":14175,"endOffset":14306,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":14398,"endOffset":14534,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":14805,"endOffset":14964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14968,"endOffset":16702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16706,"endOffset":17375,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17379,"endOffset":17778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17782,"endOffset":19990,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19994,"endOffset":20455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20459,"endOffset":20717,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20721,"endOffset":21203,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21207,"endOffset":21688,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21692,"endOffset":22452,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22456,"endOffset":22883,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22887,"endOffset":23165,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23169,"endOffset":23427,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23431,"endOffset":23691,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23695,"endOffset":23850,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23854,"endOffset":24529,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":24533,"endOffset":24682,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24686,"endOffset":24840,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24844,"endOffset":25031,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25035,"endOffset":25343,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25347,"endOffset":25655,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26090,"endOffset":26724,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26728,"endOffset":27436,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27511,"endOffset":28451,"count":0}],"isBlockCoverage":false},{"functionName":"getCursorPos","ranges":[{"startOffset":28628,"endOffset":28797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":28916,"endOffset":29473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29510,"endOffset":37760,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38068,"endOffset":38448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"191","url":"node:internal/readline/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12396,"count":1}],"isBlockCoverage":false},{"functionName":"CSI","ranges":[{"startOffset":385,"endOffset":579,"count":4},{"startOffset":544,"endOffset":559,"count":0}],"isBlockCoverage":true},{"functionName":"charLengthLeft","ranges":[{"startOffset":958,"endOffset":1220,"count":0}],"isBlockCoverage":false},{"functionName":"charLengthAt","ranges":[{"startOffset":1222,"endOffset":1484,"count":0}],"isBlockCoverage":false},{"functionName":"emitKeys","ranges":[{"startOffset":2213,"endOffset":11840,"count":0}],"isBlockCoverage":false},{"functionName":"commonPrefix","ranges":[{"startOffset":11870,"endOffset":12283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"192","url":"node:internal/readline/callbacks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2754,"count":1}],"isBlockCoverage":false},{"functionName":"cursorTo","ranges":[{"startOffset":460,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"moveCursor","ranges":[{"startOffset":1210,"endOffset":1722,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":1869,"endOffset":2272,"count":0}],"isBlockCoverage":false},{"functionName":"clearScreenDown","ranges":[{"startOffset":2349,"endOffset":2672,"count":0}],"isBlockCoverage":false}]},{"scriptId":"193","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/base.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7557,"count":1},{"startOffset":7375,"endOffset":7491,"count":0},{"startOffset":7522,"endOffset":7556,"count":0}],"isBlockCoverage":true},{"functionName":"exit","ranges":[{"startOffset":1052,"endOffset":1240,"count":1}],"isBlockCoverage":true},{"functionName":"handleProcessExit","ranges":[{"startOffset":1268,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":1946,"endOffset":6902,"count":1},{"startOffset":2368,"endOffset":2565,"count":0},{"startOffset":5638,"endOffset":5643,"count":0},{"startOffset":5646,"endOffset":5671,"count":0},{"startOffset":5908,"endOffset":5943,"count":0},{"startOffset":5944,"endOffset":5979,"count":0},{"startOffset":5981,"endOffset":6410,"count":0},{"startOffset":6682,"endOffset":6752,"count":0},{"startOffset":6756,"endOffset":6900,"count":0}],"isBlockCoverage":true},{"functionName":"checkSelectedByLineNumbers","ranges":[{"startOffset":2550,"endOffset":2561,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3090,"endOffset":3122,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3204,"endOffset":3232,"count":8}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3256,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3420,"endOffset":4245,"count":1},{"startOffset":3523,"endOffset":3593,"count":0},{"startOffset":3598,"endOffset":3756,"count":0},{"startOffset":3831,"endOffset":4000,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3813,"endOffset":3823,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4030,"endOffset":4240,"count":1},{"startOffset":4087,"endOffset":4223,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4282,"endOffset":4421,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4602,"endOffset":4633,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4642,"endOffset":4668,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4927,"endOffset":5129,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":5197,"endOffset":5585,"count":1},{"startOffset":5343,"endOffset":5584,"count":0}],"isBlockCoverage":true},{"functionName":"onError","ranges":[{"startOffset":6921,"endOffset":7139,"count":0}],"isBlockCoverage":false}]},{"scriptId":"194","url":"node:internal/deps/cjs-module-lexer/dist/lexer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":33616,"count":1}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":116,"endOffset":813,"count":25},{"startOffset":146,"endOffset":181,"count":0},{"startOffset":222,"endOffset":237,"count":0},{"startOffset":273,"endOffset":308,"count":1},{"startOffset":332,"endOffset":334,"count":0},{"startOffset":406,"endOffset":553,"count":0},{"startOffset":601,"endOffset":650,"count":1},{"startOffset":663,"endOffset":696,"count":0},{"startOffset":709,"endOffset":773,"count":71}],"isBlockCoverage":true},{"functionName":"B","ranges":[{"startOffset":813,"endOffset":1040,"count":72},{"startOffset":840,"endOffset":852,"count":71},{"startOffset":853,"endOffset":862,"count":70},{"startOffset":862,"endOffset":913,"count":2},{"startOffset":913,"endOffset":1023,"count":25},{"startOffset":958,"endOffset":1022,"count":0},{"startOffset":1023,"endOffset":1032,"count":2},{"startOffset":1032,"endOffset":1039,"count":0}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":1040,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"C","ranges":[{"startOffset":1141,"endOffset":1215,"count":25},{"startOffset":1192,"endOffset":1214,"count":73749}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":1221,"endOffset":33616,"count":6},{"startOffset":1245,"endOffset":33615,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1251,"endOffset":33611,"count":1},{"startOffset":33455,"endOffset":33524,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":33505,"endOffset":33523,"count":0}],"isBlockCoverage":false}]},{"scriptId":"195","url":"node:module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":397,"count":1}],"isBlockCoverage":false}]},{"scriptId":"196","url":"node:internal/source_map/source_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12067,"count":1}],"isBlockCoverage":false},{"functionName":"StringCharIterator","ranges":[{"startOffset":4000,"endOffset":4076,"count":2}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":4114,"endOffset":4192,"count":2687}],"isBlockCoverage":true},{"functionName":"peek","ranges":[{"startOffset":4230,"endOffset":4306,"count":1721}],"isBlockCoverage":true},{"functionName":"hasNext","ranges":[{"startOffset":4345,"endOffset":4409,"count":81}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4550,"endOffset":10030,"count":2}],"isBlockCoverage":false},{"functionName":"SourceMap","ranges":[{"startOffset":4738,"endOffset":5237,"count":2},{"startOffset":4820,"endOffset":5049,"count":1},{"startOffset":5012,"endOffset":5043,"count":64}],"isBlockCoverage":true},{"functionName":"get payload","ranges":[{"startOffset":5302,"endOffset":5365,"count":0}],"isBlockCoverage":false},{"functionName":"get lineLengths","ranges":[{"startOffset":5455,"endOffset":5588,"count":0}],"isBlockCoverage":false},{"functionName":"#parseMappingPayload","ranges":[{"startOffset":5615,"endOffset":5836,"count":2},{"startOffset":5655,"endOffset":5713,"count":0}],"isBlockCoverage":true},{"functionName":"#parseSections","ranges":[{"startOffset":5921,"endOffset":6108,"count":0}],"isBlockCoverage":false},{"functionName":"findEntry","ranges":[{"startOffset":6355,"endOffset":7219,"count":12},{"startOffset":6473,"endOffset":6791,"count":96},{"startOffset":6621,"endOffset":6690,"count":87},{"startOffset":6661,"endOffset":6689,"count":52},{"startOffset":6692,"endOffset":6723,"count":39},{"startOffset":6723,"endOffset":6785,"count":57},{"startOffset":6848,"endOffset":6856,"count":0},{"startOffset":6857,"endOffset":6947,"count":0},{"startOffset":6949,"endOffset":6973,"count":0},{"startOffset":6991,"endOffset":7015,"count":0}],"isBlockCoverage":true},{"functionName":"findOrigin","ranges":[{"startOffset":7487,"endOffset":8162,"count":0}],"isBlockCoverage":false},{"functionName":"#parseMap","ranges":[{"startOffset":8193,"endOffset":10028,"count":2},{"startOffset":8645,"endOffset":8669,"count":0},{"startOffset":8679,"endOffset":8733,"count":0},{"startOffset":8869,"endOffset":10024,"count":519},{"startOffset":8924,"endOffset":8950,"count":438},{"startOffset":8950,"endOffset":9185,"count":81},{"startOffset":9014,"endOffset":9117,"count":87},{"startOffset":9171,"endOffset":9177,"count":2},{"startOffset":9185,"endOffset":9290,"count":517},{"startOffset":9290,"endOffset":9389,"count":0},{"startOffset":9389,"endOffset":9481,"count":517},{"startOffset":9481,"endOffset":9573,"count":0},{"startOffset":9573,"endOffset":9758,"count":517},{"startOffset":9758,"endOffset":9858,"count":2},{"startOffset":9858,"endOffset":10024,"count":517}],"isBlockCoverage":true},{"functionName":"isSeparator","ranges":[{"startOffset":10085,"endOffset":10154,"count":1034},{"startOffset":10136,"endOffset":10151,"count":596}],"isBlockCoverage":true},{"functionName":"decodeVLQ","ranges":[{"startOffset":10244,"endOffset":11177,"count":2070},{"startOffset":10364,"endOffset":10496,"count":2162},{"startOffset":10739,"endOffset":10763,"count":1995},{"startOffset":10763,"endOffset":11176,"count":75}],"isBlockCoverage":true},{"functionName":"cloneSourceMapV3","ranges":[{"startOffset":11244,"endOffset":11556,"count":2},{"startOffset":11376,"endOffset":11536,"count":12},{"startOffset":11469,"endOffset":11532,"count":4}],"isBlockCoverage":true},{"functionName":"compareSourceMapEntry","ranges":[{"startOffset":11751,"endOffset":12030,"count":515},{"startOffset":11945,"endOffset":11988,"count":77},{"startOffset":11988,"endOffset":12029,"count":438}],"isBlockCoverage":true}]},{"scriptId":"197","url":"node:process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":83,"count":1}],"isBlockCoverage":false}]},{"scriptId":"198","url":"node:internal/process/report","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2644,"count":1}],"isBlockCoverage":false},{"functionName":"writeReport","ranges":[{"startOffset":352,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getReport","ranges":[{"startOffset":775,"endOffset":940,"count":0}],"isBlockCoverage":false},{"functionName":"get directory","ranges":[{"startOffset":944,"endOffset":995,"count":0}],"isBlockCoverage":false},{"functionName":"set directory","ranges":[{"startOffset":999,"endOffset":1087,"count":0}],"isBlockCoverage":false},{"functionName":"get filename","ranges":[{"startOffset":1091,"endOffset":1140,"count":0}],"isBlockCoverage":false},{"functionName":"set filename","ranges":[{"startOffset":1144,"endOffset":1232,"count":0}],"isBlockCoverage":false},{"functionName":"get compact","ranges":[{"startOffset":1236,"endOffset":1283,"count":0}],"isBlockCoverage":false},{"functionName":"set compact","ranges":[{"startOffset":1287,"endOffset":1364,"count":0}],"isBlockCoverage":false},{"functionName":"get signal","ranges":[{"startOffset":1368,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"set signal","ranges":[{"startOffset":1417,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnFatalError","ranges":[{"startOffset":1558,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnFatalError","ranges":[{"startOffset":1634,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnSignal","ranges":[{"startOffset":1756,"endOffset":1820,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnSignal","ranges":[{"startOffset":1824,"endOffset":1985,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnUncaughtException","ranges":[{"startOffset":1989,"endOffset":2075,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnUncaughtException","ranges":[{"startOffset":2079,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"addSignalHandler","ranges":[{"startOffset":2217,"endOffset":2388,"count":0}],"isBlockCoverage":false},{"functionName":"removeSignalHandler","ranges":[{"startOffset":2390,"endOffset":2514,"count":0}],"isBlockCoverage":false},{"functionName":"signalHandler","ranges":[{"startOffset":2516,"endOffset":2590,"count":0}],"isBlockCoverage":false}]},{"scriptId":"199","url":"node:url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":32640,"count":1}],"isBlockCoverage":false},{"functionName":"Url","ranges":[{"startOffset":2149,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"urlParse","ranges":[{"startOffset":3430,"endOffset":4035,"count":0}],"isBlockCoverage":false},{"functionName":"isIpv6Hostname","ranges":[{"startOffset":4037,"endOffset":4260,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":5081,"endOffset":15159,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname","ranges":[{"startOffset":15190,"endOffset":16135,"count":0}],"isBlockCoverage":false},{"functionName":"autoEscapeStr","ranges":[{"startOffset":17192,"endOffset":17898,"count":0}],"isBlockCoverage":false},{"functionName":"urlFormat","ranges":[{"startOffset":17944,"endOffset":19115,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":19822,"endOffset":22199,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolve","ranges":[{"startOffset":22202,"endOffset":22301,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":22327,"endOffset":22428,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolveObject","ranges":[{"startOffset":22431,"endOffset":22574,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObject","ranges":[{"startOffset":22606,"endOffset":31725,"count":0}],"isBlockCoverage":false},{"functionName":"parseHost","ranges":[{"startOffset":31754,"endOffset":32027,"count":0}],"isBlockCoverage":false},{"functionName":"pathToFileURL","ranges":[{"startOffset":32248,"endOffset":32344,"count":1}],"isBlockCoverage":true}]},{"scriptId":"200","url":"node:internal/idna","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":124,"count":1}],"isBlockCoverage":false}]},{"scriptId":"202","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/chalk.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":351,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":197,"endOffset":350,"count":1},{"startOffset":238,"endOffset":298,"count":0}],"isBlockCoverage":true}]},{"scriptId":"203","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/provider-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":455,"endOffset":1345,"count":1},{"startOffset":1293,"endOffset":1312,"count":0}],"isBlockCoverage":true},{"functionName":"negotiateProtocol","ranges":[{"startOffset":665,"endOffset":1273,"count":1},{"startOffset":840,"endOffset":978,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":748,"endOffset":803,"count":2}],"isBlockCoverage":true},{"functionName":"findFiles","ranges":[{"startOffset":1047,"endOffset":1178,"count":0}],"isBlockCoverage":false},{"functionName":"typescript","ranges":[{"startOffset":1383,"endOffset":1462,"count":1}],"isBlockCoverage":true}]},{"scriptId":"204","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17,"count":1}],"isBlockCoverage":true}]},{"scriptId":"205","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/runner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15654,"count":1}],"isBlockCoverage":true},{"functionName":"makeFileURL","ranges":[{"startOffset":520,"endOffset":594,"count":1},{"startOffset":555,"endOffset":561,"count":0}],"isBlockCoverage":true},{"functionName":"Runner","ranges":[{"startOffset":644,"endOffset":5705,"count":1},{"startOffset":725,"endOffset":730,"count":0},{"startOffset":978,"endOffset":983,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.registerUniqueTitle","ranges":[{"startOffset":1787,"endOffset":1911,"count":2},{"startOffset":1834,"endOffset":1858,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.notifyTimeoutUpdate","ranges":[{"startOffset":1943,"endOffset":2058,"count":0}],"isBlockCoverage":false},{"functionName":"get snapshotDirectory","ranges":[{"startOffset":2187,"endOffset":2366,"count":0}],"isBlockCoverage":false},{"functionName":"Runner.chain.createChain.serial","ranges":[{"startOffset":2401,"endOffset":5489,"count":2},{"startOffset":2480,"endOffset":2630,"count":0},{"startOffset":2656,"endOffset":2769,"count":1},{"startOffset":2925,"endOffset":2990,"count":0},{"startOffset":3014,"endOffset":3813,"count":0},{"startOffset":3846,"endOffset":3965,"count":0},{"startOffset":4006,"endOffset":4093,"count":0},{"startOffset":4134,"endOffset":4205,"count":0},{"startOffset":4267,"endOffset":4522,"count":0},{"startOffset":4600,"endOffset":4669,"count":0},{"startOffset":4714,"endOffset":4730,"count":0},{"startOffset":4870,"endOffset":4992,"count":0},{"startOffset":5028,"endOffset":5072,"count":0},{"startOffset":5106,"endOffset":5116,"count":0},{"startOffset":5365,"endOffset":5480,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2706,"endOffset":2762,"count":1}],"isBlockCoverage":true},{"functionName":"get snapshots","ranges":[{"startOffset":5708,"endOffset":6318,"count":3},{"startOffset":5749,"endOffset":5781,"count":2},{"startOffset":5781,"endOffset":6317,"count":1}],"isBlockCoverage":true},{"functionName":"compareTestSnapshot","ranges":[{"startOffset":6321,"endOffset":6396,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":6399,"endOffset":6472,"count":0}],"isBlockCoverage":false},{"functionName":"saveSnapshotState","ranges":[{"startOffset":6475,"endOffset":6559,"count":1}],"isBlockCoverage":true},{"functionName":"onRun","ranges":[{"startOffset":6562,"endOffset":6620,"count":2}],"isBlockCoverage":true},{"functionName":"onRunComplete","ranges":[{"startOffset":6623,"endOffset":6692,"count":2}],"isBlockCoverage":true},{"functionName":"beforeExitHandler","ranges":[{"startOffset":6695,"endOffset":6809,"count":0}],"isBlockCoverage":false},{"functionName":"runMultiple","ranges":[{"startOffset":6812,"endOffset":8056,"count":9}],"isBlockCoverage":true},{"functionName":"runAndStoreResult","ranges":[{"startOffset":6923,"endOffset":7081,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7150,"endOffset":7998,"count":0}],"isBlockCoverage":false},{"functionName":"runSingle","ranges":[{"startOffset":8059,"endOffset":8330,"count":2}],"isBlockCoverage":true},{"functionName":"runHooks","ranges":[{"startOffset":8333,"endOffset":9506,"count":9},{"startOffset":9070,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8427,"endOffset":8959,"count":0}],"isBlockCoverage":false},{"functionName":"runTest","ranges":[{"startOffset":9509,"endOffset":11470,"count":2},{"startOffset":10007,"endOffset":10073,"count":0},{"startOffset":10940,"endOffset":11271,"count":0}],"isBlockCoverage":true},{"functionName":"Runnable.fn","ranges":[{"startOffset":10009,"endOffset":10073,"count":0}],"isBlockCoverage":false},{"functionName":"start","ranges":[{"startOffset":11473,"endOffset":15605,"count":1},{"startOffset":11619,"endOffset":12250,"count":0},{"startOffset":12296,"endOffset":12988,"count":2},{"startOffset":12327,"endOffset":12354,"count":0},{"startOffset":12356,"endOffset":12443,"count":0},{"startOffset":12484,"endOffset":12510,"count":0},{"startOffset":12512,"endOffset":12599,"count":0},{"startOffset":12810,"endOffset":12883,"count":0},{"startOffset":12906,"endOffset":12940,"count":0},{"startOffset":13028,"endOffset":13347,"count":0},{"startOffset":13425,"endOffset":13452,"count":0},{"startOffset":13454,"endOffset":13550,"count":0},{"startOffset":15547,"endOffset":15602,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13777,"endOffset":14380,"count":1},{"startOffset":13868,"endOffset":13892,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13923,"endOffset":14368,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14460,"endOffset":15058,"count":1},{"startOffset":14653,"endOffset":14669,"count":0},{"startOffset":14672,"endOffset":14696,"count":0},{"startOffset":14767,"endOffset":14790,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14971,"endOffset":15016,"count":2}],"isBlockCoverage":true},{"functionName":"interrupt","ranges":[{"startOffset":15608,"endOffset":15651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"206","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/serialize-error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4398,"count":1}],"isBlockCoverage":true},{"functionName":"isAvaAssertionError","ranges":[{"startOffset":385,"endOffset":467,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":469,"endOffset":614,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFile","ranges":[{"startOffset":616,"endOffset":756,"count":0}],"isBlockCoverage":false},{"functionName":"extractSource","ranges":[{"startOffset":795,"endOffset":1211,"count":0}],"isBlockCoverage":false},{"functionName":"buildSource","ranges":[{"startOffset":1213,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"trySerializeError","ranges":[{"startOffset":1957,"endOffset":3743,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":3760,"endOffset":4397,"count":0}],"isBlockCoverage":false}]},{"scriptId":"207","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/dependency-tracker.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":866,"count":1}],"isBlockCoverage":true},{"functionName":"flush","ranges":[{"startOffset":138,"endOffset":302,"count":2},{"startOffset":192,"endOffset":301,"count":1}],"isBlockCoverage":true},{"functionName":"track","ranges":[{"startOffset":304,"endOffset":519,"count":7},{"startOffset":368,"endOffset":382,"count":0},{"startOffset":419,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"install","ranges":[{"startOffset":556,"endOffset":836,"count":1},{"startOffset":633,"endOffset":833,"count":3}],"isBlockCoverage":true},{"functionName":"extensions.","ranges":[{"startOffset":700,"endOffset":828,"count":6}],"isBlockCoverage":true}]},{"scriptId":"208","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/line-numbers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3832,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":215,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"findTest","ranges":[{"startOffset":878,"endOffset":1452,"count":0}],"isBlockCoverage":false},{"functionName":"range","ranges":[{"startOffset":1468,"endOffset":1574,"count":0}],"isBlockCoverage":false},{"functionName":"translate","ranges":[{"startOffset":1595,"endOffset":2066,"count":0}],"isBlockCoverage":false},{"functionName":"lineNumberSelection","ranges":[{"startOffset":2084,"endOffset":3831,"count":1},{"startOffset":2196,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2334,"endOffset":3828,"count":0}],"isBlockCoverage":false}]},{"scriptId":"209","url":"node:internal/fs/streams","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14758,"count":1}],"isBlockCoverage":false},{"functionName":"_construct","ranges":[{"startOffset":1063,"endOffset":1966,"count":0}],"isBlockCoverage":false},{"functionName":"FileHandleOperations","ranges":[{"startOffset":2059,"endOffset":3058,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":3061,"endOffset":3238,"count":0}],"isBlockCoverage":false},{"functionName":"importFd","ranges":[{"startOffset":3240,"endOffset":4237,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream","ranges":[{"startOffset":4239,"endOffset":5982,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6171,"endOffset":6226,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6230,"endOffset":6287,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6323,"endOffset":6348,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._read","ranges":[{"startOffset":6524,"endOffset":7655,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._destroy","ranges":[{"startOffset":7690,"endOffset":8251,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.close","ranges":[{"startOffset":8283,"endOffset":8369,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8449,"endOffset":8483,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":8512,"endOffset":10303,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":10495,"endOffset":10550,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10554,"endOffset":10611,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10648,"endOffset":10673,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":10824,"endOffset":11617,"count":0}],"isBlockCoverage":false},{"functionName":"writevAll","ranges":[{"startOffset":11619,"endOffset":12436,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._write","ranges":[{"startOffset":12469,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._writev","ranges":[{"startOffset":12888,"endOffset":13450,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._destroy","ranges":[{"startOffset":13486,"endOffset":14047,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.close","ranges":[{"startOffset":14080,"endOffset":14462,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":14644,"endOffset":14678,"count":0}],"isBlockCoverage":false}]},{"scriptId":"210","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5900,"count":1},{"startOffset":1472,"endOffset":1706,"count":45},{"startOffset":2476,"endOffset":3149,"count":3},{"startOffset":5468,"endOffset":5471,"count":0}],"isBlockCoverage":true},{"functionName":"applyOptions","ranges":[{"startOffset":571,"endOffset":950,"count":5},{"startOffset":618,"endOffset":699,"count":3},{"startOffset":701,"endOffset":779,"count":0},{"startOffset":870,"endOffset":873,"count":0},{"startOffset":919,"endOffset":931,"count":2},{"startOffset":932,"endOffset":947,"count":3}],"isBlockCoverage":true},{"functionName":"Chalk","ranges":[{"startOffset":975,"endOffset":1084,"count":3}],"isBlockCoverage":true},{"functionName":"chalkFactory","ranges":[{"startOffset":1109,"endOffset":1275,"count":5}],"isBlockCoverage":true},{"functionName":"chalk","ranges":[{"startOffset":1137,"endOffset":1170,"count":0}],"isBlockCoverage":false},{"functionName":"createChalk","ranges":[{"startOffset":1278,"endOffset":1342,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1499,"endOffset":1699,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1728,"endOffset":1875,"count":0}],"isBlockCoverage":false},{"functionName":"getModelAnsi","ranges":[{"startOffset":1902,"endOffset":2394,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2499,"endOffset":2771,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2866,"endOffset":3142,"count":0}],"isBlockCoverage":false},{"functionName":"Object.defineProperties","ranges":[{"startOffset":3189,"endOffset":3197,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3245,"endOffset":3289,"count":20}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3293,"endOffset":3343,"count":0}],"isBlockCoverage":false},{"functionName":"createStyler","ranges":[{"startOffset":3375,"endOffset":3650,"count":4},{"startOffset":3500,"endOffset":3583,"count":0}],"isBlockCoverage":true},{"functionName":"createBuilder","ranges":[{"startOffset":3675,"endOffset":4243,"count":4}],"isBlockCoverage":true},{"functionName":"builder","ranges":[{"startOffset":3848,"endOffset":3959,"count":20},{"startOffset":3936,"endOffset":3958,"count":0}],"isBlockCoverage":true},{"functionName":"applyStyle","ranges":[{"startOffset":4265,"endOffset":5300,"count":20},{"startOffset":4318,"endOffset":4361,"count":0},{"startOffset":4419,"endOffset":4440,"count":0},{"startOffset":4511,"endOffset":4840,"count":0},{"startOffset":5177,"endOffset":5260,"count":0}],"isBlockCoverage":true}]},{"scriptId":"211","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/globs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6300,"count":1}],"isBlockCoverage":true},{"functionName":"buildExtensionPattern","ranges":[{"startOffset":755,"endOffset":838,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeGlobs","ranges":[{"startOffset":848,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"globFiles","ranges":[{"startOffset":3027,"endOffset":3288,"count":0}],"isBlockCoverage":false},{"functionName":"globDirectoriesSync","ranges":[{"startOffset":3319,"endOffset":3578,"count":0}],"isBlockCoverage":false},{"functionName":"findFiles","ranges":[{"startOffset":3588,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"findTests","ranges":[{"startOffset":3771,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getChokidarIgnorePatterns","ranges":[{"startOffset":3974,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"applyTestFileFilter","ranges":[{"startOffset":4200,"endOffset":6299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"212","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13357,"count":1}],"isBlockCoverage":true},{"functionName":"assertEventName","ranges":[{"startOffset":349,"endOffset":569,"count":18},{"startOffset":422,"endOffset":454,"count":4},{"startOffset":455,"endOffset":487,"count":0},{"startOffset":489,"endOffset":567,"count":0}],"isBlockCoverage":true},{"functionName":"assertListener","ranges":[{"startOffset":571,"endOffset":704,"count":4},{"startOffset":644,"endOffset":702,"count":0}],"isBlockCoverage":true},{"functionName":"getListeners","ranges":[{"startOffset":706,"endOffset":869,"count":18},{"startOffset":821,"endOffset":835,"count":8},{"startOffset":835,"endOffset":868,"count":10}],"isBlockCoverage":true},{"functionName":"getEventProducers","ranges":[{"startOffset":871,"endOffset":1175,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueProducers","ranges":[{"startOffset":1177,"endOffset":1587,"count":14},{"startOffset":1315,"endOffset":1408,"count":0},{"startOffset":1550,"endOffset":1582,"count":0}],"isBlockCoverage":true},{"functionName":"iterator","ranges":[{"startOffset":1589,"endOffset":2972,"count":0}],"isBlockCoverage":false},{"functionName":"defaultMethodNamesOrAssert","ranges":[{"startOffset":2974,"endOffset":3495,"count":0}],"isBlockCoverage":false},{"functionName":"isMetaEvent","ranges":[{"startOffset":3517,"endOffset":3590,"count":36},{"startOffset":3558,"endOffset":3590,"count":24}],"isBlockCoverage":true},{"functionName":"emitMetaEvent","ranges":[{"startOffset":3593,"endOffset":3808,"count":4}],"isBlockCoverage":true},{"functionName":"mixin","ranges":[{"startOffset":3850,"endOffset":4933,"count":0}],"isBlockCoverage":false},{"functionName":"get isDebugEnabled","ranges":[{"startOffset":4943,"endOffset":5528,"count":18},{"startOffset":5304,"endOffset":5341,"count":0},{"startOffset":5432,"endOffset":5444,"count":0}],"isBlockCoverage":true},{"functionName":"set isDebugEnabled","ranges":[{"startOffset":5538,"endOffset":5606,"count":0}],"isBlockCoverage":false},{"functionName":"Emittery","ranges":[{"startOffset":5609,"endOffset":6731,"count":1}],"isBlockCoverage":true},{"functionName":"Emittery.debug.logger","ranges":[{"startOffset":5961,"endOffset":6723,"count":0}],"isBlockCoverage":false},{"functionName":"logIfDebugEnabled","ranges":[{"startOffset":6734,"endOffset":6910,"count":18},{"startOffset":6835,"endOffset":6907,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":6913,"endOffset":7515,"count":4},{"startOffset":7010,"endOffset":7022,"count":0}],"isBlockCoverage":true},{"functionName":"off","ranges":[{"startOffset":7518,"endOffset":8087,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":8090,"endOffset":8292,"count":0}],"isBlockCoverage":false},{"functionName":"events","ranges":[{"startOffset":8295,"endOffset":8501,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":8504,"endOffset":9384,"count":14},{"startOffset":8599,"endOffset":8620,"count":4},{"startOffset":8622,"endOffset":8724,"count":0},{"startOffset":8882,"endOffset":8894,"count":4},{"startOffset":9031,"endOffset":9035,"count":4},{"startOffset":9036,"endOffset":9055,"count":10}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9131,"endOffset":9229,"count":10}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9261,"endOffset":9373,"count":0}],"isBlockCoverage":false},{"functionName":"emitSerial","ranges":[{"startOffset":9387,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"onAny","ranges":[{"startOffset":10237,"endOffset":10478,"count":0}],"isBlockCoverage":false},{"functionName":"anyEvent","ranges":[{"startOffset":10481,"endOffset":10521,"count":0}],"isBlockCoverage":false},{"functionName":"offAny","ranges":[{"startOffset":10524,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"clearListeners","ranges":[{"startOffset":10733,"endOffset":11739,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":11742,"endOffset":12458,"count":0}],"isBlockCoverage":false},{"functionName":"bindMethods","ranges":[{"startOffset":12461,"endOffset":12966,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13051,"endOffset":13075,"count":14}],"isBlockCoverage":true}]},{"scriptId":"213","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/matcher/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2646,"count":1}],"isBlockCoverage":true},{"functionName":"sanitizeArray","ranges":[{"startOffset":110,"endOffset":713,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegexp","ranges":[{"startOffset":735,"endOffset":1261,"count":0}],"isBlockCoverage":false},{"functionName":"baseMatcher","ranges":[{"startOffset":1284,"endOffset":2412,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2422,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"isMatch","ranges":[{"startOffset":2533,"endOffset":2645,"count":0}],"isBlockCoverage":false}]},{"scriptId":"214","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/context-ref.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":555,"count":1}],"isBlockCoverage":true},{"functionName":"ContextRef","ranges":[{"startOffset":35,"endOffset":72,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":75,"endOffset":106,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":109,"endOffset":152,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":155,"endOffset":198,"count":2}],"isBlockCoverage":true},{"functionName":"LateBinding","ranges":[{"startOffset":242,"endOffset":314,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":317,"endOffset":487,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":490,"endOffset":552,"count":0}],"isBlockCoverage":false}]},{"scriptId":"215","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/create-chain.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4371,"count":1}],"isBlockCoverage":true},{"functionName":"startChain","ranges":[{"startOffset":38,"endOffset":265,"count":11}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":94,"endOffset":140,"count":2}],"isBlockCoverage":true},{"functionName":"extendChain","ranges":[{"startOffset":267,"endOffset":633,"count":27},{"startOffset":324,"endOffset":343,"count":7}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":357,"endOffset":412,"count":0}],"isBlockCoverage":false},{"functionName":"callWithFlag","ranges":[{"startOffset":635,"endOffset":965,"count":0}],"isBlockCoverage":false},{"functionName":"createHookChain","ranges":[{"startOffset":967,"endOffset":1316,"count":8},{"startOffset":1217,"endOffset":1299,"count":4}],"isBlockCoverage":true},{"functionName":"createChain","ranges":[{"startOffset":1333,"endOffset":4370,"count":1}],"isBlockCoverage":true},{"functionName":"root.macro","ranges":[{"startOffset":3411,"endOffset":3580,"count":0}],"isBlockCoverage":false},{"functionName":"apply","ranges":[{"startOffset":4105,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4196,"endOffset":4341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"216","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/parse-test-args.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":701,"count":1}],"isBlockCoverage":true},{"functionName":"buildTitle","ranges":[{"startOffset":19,"endOffset":366,"count":2},{"startOffset":104,"endOffset":140,"count":0}],"isBlockCoverage":true},{"functionName":"parseTestArgs","ranges":[{"startOffset":384,"endOffset":700,"count":2},{"startOffset":476,"endOffset":487,"count":0},{"startOffset":602,"endOffset":623,"count":0}],"isBlockCoverage":true}]},{"scriptId":"217","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/snapshot-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13174,"count":1}],"isBlockCoverage":true},{"functionName":"SnapshotError","ranges":[{"startOffset":1259,"endOffset":1371,"count":0}],"isBlockCoverage":false},{"functionName":"ChecksumError","ranges":[{"startOffset":1427,"endOffset":1524,"count":0}],"isBlockCoverage":false},{"functionName":"VersionMismatchError","ranges":[{"startOffset":1587,"endOffset":1774,"count":0}],"isBlockCoverage":false},{"functionName":"InvalidSnapshotError","ranges":[{"startOffset":1837,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"isLegacySnapshot","ranges":[{"startOffset":2016,"endOffset":2144,"count":0}],"isBlockCoverage":false},{"functionName":"LegacyError","ranges":[{"startOffset":2196,"endOffset":2294,"count":0}],"isBlockCoverage":false},{"functionName":"tryRead","ranges":[{"startOffset":2298,"endOffset":2454,"count":1},{"startOffset":2433,"endOffset":2452,"count":0}],"isBlockCoverage":true},{"functionName":"formatEntry","ranges":[{"startOffset":2456,"endOffset":2875,"count":0}],"isBlockCoverage":false},{"functionName":"combineEntries","ranges":[{"startOffset":2877,"endOffset":3292,"count":0}],"isBlockCoverage":false},{"functionName":"generateReport","ranges":[{"startOffset":3294,"endOffset":3611,"count":0}],"isBlockCoverage":false},{"functionName":"BufferBuilder","ranges":[{"startOffset":3636,"endOffset":3698,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":3701,"endOffset":3818,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3821,"endOffset":4011,"count":0}],"isBlockCoverage":false},{"functionName":"toBuffer","ranges":[{"startOffset":4014,"endOffset":4084,"count":0}],"isBlockCoverage":false},{"functionName":"sortBlocks","ranges":[{"startOffset":4088,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"encodeSnapshots","ranges":[{"startOffset":4450,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"decodeSnapshots","ranges":[{"startOffset":5016,"endOffset":5987,"count":0}],"isBlockCoverage":false},{"functionName":"Manager","ranges":[{"startOffset":6006,"endOffset":6530,"count":1}],"isBlockCoverage":true},{"functionName":"touch","ranges":[{"startOffset":6533,"endOffset":6604,"count":2}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":6607,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"recordSerialized","ranges":[{"startOffset":7345,"endOffset":8027,"count":0}],"isBlockCoverage":false},{"functionName":"deferRecord","ranges":[{"startOffset":8030,"endOffset":8370,"count":0}],"isBlockCoverage":false},{"functionName":"record","ranges":[{"startOffset":8373,"endOffset":8449,"count":0}],"isBlockCoverage":false},{"functionName":"skipBlock","ranges":[{"startOffset":8452,"endOffset":8587,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":8590,"endOffset":9164,"count":0}],"isBlockCoverage":false},{"functionName":"save","ranges":[{"startOffset":9167,"endOffset":10106,"count":1},{"startOffset":9266,"endOffset":9301,"count":0},{"startOffset":9303,"endOffset":9421,"count":0},{"startOffset":9468,"endOffset":10105,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9565,"endOffset":9604,"count":0}],"isBlockCoverage":false},{"functionName":"tmpfileCreated","ranges":[{"startOffset":9845,"endOffset":9878,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10140,"endOffset":10658,"count":1},{"startOffset":10399,"endOffset":10420,"count":0},{"startOffset":10441,"endOffset":10632,"count":0},{"startOffset":10635,"endOffset":10655,"count":0}],"isBlockCoverage":true},{"functionName":"mem.cacheKey.file.file","ranges":[{"startOffset":10702,"endOffset":11285,"count":1},{"startOffset":10819,"endOffset":10947,"count":0},{"startOffset":11054,"endOffset":11104,"count":0},{"startOffset":11265,"endOffset":11284,"count":0}],"isBlockCoverage":true},{"functionName":"cacheKey","ranges":[{"startOffset":11298,"endOffset":11316,"count":1}],"isBlockCoverage":true},{"functionName":"determineSnapshotPaths","ranges":[{"startOffset":11321,"endOffset":11775,"count":1}],"isBlockCoverage":true},{"functionName":"cleanFile","ranges":[{"startOffset":11777,"endOffset":11941,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":11950,"endOffset":13173,"count":1},{"startOffset":12141,"endOffset":12274,"count":0},{"startOffset":12552,"endOffset":13125,"count":0},{"startOffset":13126,"endOffset":13141,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12700,"endOffset":12737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"218","url":"node:internal/file","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1801,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":424,"endOffset":1563,"count":0}],"isBlockCoverage":false}]},{"scriptId":"219","url":"node:crypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8825,"count":1}],"isBlockCoverage":false},{"functionName":"lazyWebCrypto","ranges":[{"startOffset":3084,"endOffset":3186,"count":6}],"isBlockCoverage":true},{"functionName":"lazyOwnsProcessState","ranges":[{"startOffset":3210,"endOffset":3340,"count":0}],"isBlockCoverage":false},{"functionName":"createHash","ranges":[{"startOffset":3482,"endOffset":3564,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3566,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"createCipheriv","ranges":[{"startOffset":3668,"endOffset":3770,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipher","ranges":[{"startOffset":3772,"endOffset":3876,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipheriv","ranges":[{"startOffset":3878,"endOffset":3984,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellman","ranges":[{"startOffset":3986,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellmanGroup","ranges":[{"startOffset":4144,"endOffset":4226,"count":0}],"isBlockCoverage":false},{"functionName":"createECDH","ranges":[{"startOffset":4228,"endOffset":4284,"count":0}],"isBlockCoverage":false},{"functionName":"createHmac","ranges":[{"startOffset":4286,"endOffset":4368,"count":0}],"isBlockCoverage":false},{"functionName":"createSign","ranges":[{"startOffset":4370,"endOffset":4452,"count":0}],"isBlockCoverage":false},{"functionName":"createVerify","ranges":[{"startOffset":4454,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"getFips","ranges":[{"startOffset":5583,"endOffset":5668,"count":0}],"isBlockCoverage":false},{"functionName":"setFips","ranges":[{"startOffset":5670,"endOffset":5954,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":5956,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6125,"endOffset":6379,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6383,"endOffset":6572,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomBytesAlias","ranges":[{"startOffset":6621,"endOffset":7454,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6719,"endOffset":7209,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7215,"endOffset":7446,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8198,"endOffset":8238,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8350,"endOffset":8397,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8523,"endOffset":8544,"count":3}],"isBlockCoverage":true}]},{"scriptId":"220","url":"node:internal/crypto/random","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16246,"count":1}],"isBlockCoverage":false},{"functionName":"assertOffset","ranges":[{"startOffset":1260,"endOffset":1626,"count":0}],"isBlockCoverage":false},{"functionName":"assertSize","ranges":[{"startOffset":1628,"endOffset":2089,"count":0}],"isBlockCoverage":false},{"functionName":"randomBytes","ranges":[{"startOffset":2091,"endOffset":2634,"count":0}],"isBlockCoverage":false},{"functionName":"randomFillSync","ranges":[{"startOffset":2636,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"randomFill","ranges":[{"startOffset":3306,"endOffset":4352,"count":0}],"isBlockCoverage":false},{"functionName":"randomInt","ranges":[{"startOffset":4902,"endOffset":7142,"count":0}],"isBlockCoverage":false},{"functionName":"asyncRefillRandomIntCache","ranges":[{"startOffset":7144,"endOffset":8020,"count":0}],"isBlockCoverage":false},{"functionName":"onJobDone","ranges":[{"startOffset":8023,"endOffset":8185,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":8417,"endOffset":9033,"count":0}],"isBlockCoverage":false},{"functionName":"getHexBytes","ranges":[{"startOffset":9398,"endOffset":9697,"count":0}],"isBlockCoverage":false},{"functionName":"serializeUUID","ranges":[{"startOffset":9699,"endOffset":10425,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedUUID","ranges":[{"startOffset":10427,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"getUnbufferedUUID","ranges":[{"startOffset":10732,"endOffset":10970,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":10972,"endOffset":11292,"count":0}],"isBlockCoverage":false},{"functionName":"createRandomPrimeJob","ranges":[{"startOffset":11294,"endOffset":12527,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrime","ranges":[{"startOffset":12529,"endOffset":12985,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrimeSync","ranges":[{"startOffset":12987,"endOffset":13245,"count":0}],"isBlockCoverage":false},{"functionName":"numberToHexCharCode","ranges":[{"startOffset":13519,"endOffset":13563,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBufferToUnsignedBigInt","ranges":[{"startOffset":13638,"endOffset":14065,"count":0}],"isBlockCoverage":false},{"functionName":"unsignedBigIntToBuffer","ranges":[{"startOffset":14067,"endOffset":14364,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrime","ranges":[{"startOffset":14366,"endOffset":15259,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrimeSync","ranges":[{"startOffset":15261,"endOffset":16059,"count":0}],"isBlockCoverage":false}]},{"scriptId":"221","url":"node:internal/crypto/pbkdf2","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3018,"count":1}],"isBlockCoverage":false},{"functionName":"pbkdf2","ranges":[{"startOffset":472,"endOffset":1136,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2Sync","ranges":[{"startOffset":1138,"endOffset":1543,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1545,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2DeriveBits","ranges":[{"startOffset":2059,"endOffset":2950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"222","url":"node:internal/crypto/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14973,"count":1}],"isBlockCoverage":false},{"functionName":"toBuf","ranges":[{"startOffset":1730,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1943,"endOffset":1986,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2020,"endOffset":2062,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2096,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"setEngine","ranges":[{"startOffset":2142,"endOffset":2549,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2596,"endOffset":3060,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBufferLength","ranges":[{"startOffset":6504,"endOffset":6717,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeAlgorithm","ranges":[{"startOffset":6943,"endOffset":9378,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayBuffer","ranges":[{"startOffset":9380,"endOffset":9519,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteOffset","ranges":[{"startOffset":9521,"endOffset":9672,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteLength","ranges":[{"startOffset":9674,"endOffset":9825,"count":0}],"isBlockCoverage":false},{"functionName":"hasAnyNotIn","ranges":[{"startOffset":9827,"endOffset":9966,"count":0}],"isBlockCoverage":false},{"functionName":"validateBitLength","ranges":[{"startOffset":9968,"endOffset":10310,"count":0}],"isBlockCoverage":false},{"functionName":"validateByteLength","ranges":[{"startOffset":10312,"endOffset":10508,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10553,"endOffset":10822,"count":0}],"isBlockCoverage":false},{"functionName":"onDone","ranges":[{"startOffset":10826,"endOffset":11058,"count":0}],"isBlockCoverage":false},{"functionName":"jobPromise","ranges":[{"startOffset":11060,"endOffset":11330,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedInt","ranges":[{"startOffset":11866,"endOffset":12146,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedBigInt","ranges":[{"startOffset":12148,"endOffset":12384,"count":0}],"isBlockCoverage":false},{"functionName":"getStringOption","ranges":[{"startOffset":12386,"endOffset":12551,"count":0}],"isBlockCoverage":false},{"functionName":"getUsagesUnion","ranges":[{"startOffset":12553,"endOffset":12765,"count":0}],"isBlockCoverage":false},{"functionName":"getBlockSize","ranges":[{"startOffset":12767,"endOffset":12948,"count":0}],"isBlockCoverage":false},{"functionName":"validateKeyOps","ranges":[{"startOffset":13087,"endOffset":14053,"count":0}],"isBlockCoverage":false},{"functionName":"secureHeapUsed","ranges":[{"startOffset":14055,"endOffset":14438,"count":0}],"isBlockCoverage":false}]},{"scriptId":"223","url":"node:internal/crypto/hashnames","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2520,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeHashName","ranges":[{"startOffset":1890,"endOffset":2133,"count":0}],"isBlockCoverage":false}]},{"scriptId":"224","url":"node:internal/crypto/scrypt","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3331,"count":1}],"isBlockCoverage":false},{"functionName":"scrypt","ranges":[{"startOffset":626,"endOffset":1292,"count":0}],"isBlockCoverage":false},{"functionName":"scryptSync","ranges":[{"startOffset":1294,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1702,"endOffset":3283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"225","url":"node:internal/crypto/hkdf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3304,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":816,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"prepareKey","ranges":[{"startOffset":1274,"endOffset":1702,"count":0}],"isBlockCoverage":false},{"functionName":"hkdf","ranges":[{"startOffset":1704,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfSync","ranges":[{"startOffset":2172,"endOffset":2510,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfDeriveBits","ranges":[{"startOffset":2549,"endOffset":3242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"226","url":"node:internal/crypto/keys","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21401,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2331,"endOffset":6452,"count":1}],"isBlockCoverage":true},{"functionName":"KeyObject","ranges":[{"startOffset":2441,"endOffset":2983,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":2989,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":3049,"endOffset":3190,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":3196,"endOffset":3480,"count":0}],"isBlockCoverage":false},{"functionName":"SecretKeyObject","ranges":[{"startOffset":3698,"endOffset":3756,"count":0}],"isBlockCoverage":false},{"functionName":"get symmetricKeySize","ranges":[{"startOffset":3762,"endOffset":3842,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":3848,"endOffset":4196,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeKeyDetails","ranges":[{"startOffset":4329,"endOffset":4598,"count":0}],"isBlockCoverage":false},{"functionName":"AsymmetricKeyObject","ranges":[{"startOffset":4707,"endOffset":4767,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyType","ranges":[{"startOffset":4773,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyDetails","ranges":[{"startOffset":4931,"endOffset":5308,"count":0}],"isBlockCoverage":false},{"functionName":"PublicKeyObject","ranges":[{"startOffset":5372,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5436,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"PrivateKeyObject","ranges":[{"startOffset":5792,"endOffset":5851,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5857,"endOffset":6371,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormat","ranges":[{"startOffset":6456,"endOffset":6841,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyType","ranges":[{"startOffset":6843,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"option","ranges":[{"startOffset":7697,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormatAndType","ranges":[{"startOffset":7820,"endOffset":8520,"count":0}],"isBlockCoverage":false},{"functionName":"isStringOrBuffer","ranges":[{"startOffset":8522,"endOffset":8659,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":8661,"endOffset":10019,"count":0}],"isBlockCoverage":false},{"functionName":"parsePublicKeyEncoding","ranges":[{"startOffset":10218,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"parsePrivateKeyEncoding","ranges":[{"startOffset":10554,"endOffset":10670,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandle","ranges":[{"startOffset":10672,"endOffset":11250,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyTypes","ranges":[{"startOffset":11252,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandleFromJwk","ranges":[{"startOffset":11759,"endOffset":14308,"count":0}],"isBlockCoverage":false},{"functionName":"prepareAsymmetricKey","ranges":[{"startOffset":14310,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"preparePrivateKey","ranges":[{"startOffset":15855,"endOffset":15943,"count":0}],"isBlockCoverage":false},{"functionName":"preparePublicOrPrivateKey","ranges":[{"startOffset":15945,"endOffset":16040,"count":0}],"isBlockCoverage":false},{"functionName":"prepareSecretKey","ranges":[{"startOffset":16042,"endOffset":16740,"count":0}],"isBlockCoverage":false},{"functionName":"createSecretKey","ranges":[{"startOffset":16742,"endOffset":16946,"count":0}],"isBlockCoverage":false},{"functionName":"createPublicKey","ranges":[{"startOffset":16948,"endOffset":17285,"count":0}],"isBlockCoverage":false},{"functionName":"createPrivateKey","ranges":[{"startOffset":17287,"endOffset":17628,"count":0}],"isBlockCoverage":false},{"functionName":"isKeyObject","ranges":[{"startOffset":17630,"endOffset":17712,"count":0}],"isBlockCoverage":false},{"functionName":"CryptoKey","ranges":[{"startOffset":18135,"endOffset":18195,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18199,"endOffset":18548,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":18552,"endOffset":18687,"count":0}],"isBlockCoverage":false},{"functionName":"get extractable","ranges":[{"startOffset":18691,"endOffset":18830,"count":0}],"isBlockCoverage":false},{"functionName":"get algorithm","ranges":[{"startOffset":18834,"endOffset":18969,"count":0}],"isBlockCoverage":false},{"functionName":"get usages","ranges":[{"startOffset":18973,"endOffset":19116,"count":0}],"isBlockCoverage":false},{"functionName":"InternalCryptoKey","ranges":[{"startOffset":19694,"endOffset":20173,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20177,"endOffset":20529,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20533,"endOffset":20737,"count":0}],"isBlockCoverage":false},{"functionName":"isCryptoKey","ranges":[{"startOffset":20866,"endOffset":20950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"227","url":"node:internal/crypto/keygen","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10712,"count":1}],"isBlockCoverage":false},{"functionName":"isJwk","ranges":[{"startOffset":1183,"endOffset":1253,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":1255,"endOffset":1409,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPair","ranges":[{"startOffset":1411,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPairSync","ranges":[{"startOffset":2193,"endOffset":2310,"count":0}],"isBlockCoverage":false},{"functionName":"handleError","ranges":[{"startOffset":2312,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":2692,"endOffset":3942,"count":0}],"isBlockCoverage":false},{"functionName":"createJob","ranges":[{"startOffset":3944,"endOffset":9232,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyJob","ranges":[{"startOffset":9263,"endOffset":9800,"count":0}],"isBlockCoverage":false},{"functionName":"handleGenerateKeyError","ranges":[{"startOffset":9802,"endOffset":10004,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":10006,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeySync","ranges":[{"startOffset":10478,"endOffset":10612,"count":0}],"isBlockCoverage":false}]},{"scriptId":"228","url":"node:internal/crypto/diffiehellman","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9910,"count":1}],"isBlockCoverage":false},{"functionName":"DiffieHellman","ranges":[{"startOffset":1232,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"DiffieHellmanGroup","ranges":[{"startOffset":3039,"endOffset":3365,"count":0}],"isBlockCoverage":false},{"functionName":"dhGenerateKeys","ranges":[{"startOffset":3476,"endOffset":3591,"count":0}],"isBlockCoverage":false},{"functionName":"dhComputeSecret","ranges":[{"startOffset":3705,"endOffset":3963,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrime","ranges":[{"startOffset":4062,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetGenerator","ranges":[{"startOffset":4282,"endOffset":4407,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPublicKey","ranges":[{"startOffset":4518,"endOffset":4631,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrivateKey","ranges":[{"startOffset":4745,"endOffset":4860,"count":0}],"isBlockCoverage":false},{"functionName":"setPublicKey","ranges":[{"startOffset":4902,"endOffset":5044,"count":0}],"isBlockCoverage":false},{"functionName":"setPrivateKey","ranges":[{"startOffset":5088,"endOffset":5232,"count":0}],"isBlockCoverage":false},{"functionName":"ECDH","ranges":[{"startOffset":5236,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeys","ranges":[{"startOffset":5701,"endOffset":5823,"count":0}],"isBlockCoverage":false},{"functionName":"getPublicKey","ranges":[{"startOffset":5856,"endOffset":6007,"count":0}],"isBlockCoverage":false},{"functionName":"convertKey","ranges":[{"startOffset":6028,"endOffset":6294,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6297,"endOffset":6432,"count":0}],"isBlockCoverage":false},{"functionName":"getFormat","ranges":[{"startOffset":6434,"endOffset":6757,"count":0}],"isBlockCoverage":false},{"functionName":"diffieHellman","ranges":[{"startOffset":6831,"endOffset":7899,"count":0}],"isBlockCoverage":false},{"functionName":"ecdhDeriveBits","ranges":[{"startOffset":8018,"endOffset":9804,"count":0}],"isBlockCoverage":false}]},{"scriptId":"229","url":"node:internal/crypto/cipher","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10199,"count":1}],"isBlockCoverage":false},{"functionName":"rsaFunctionFor","ranges":[{"startOffset":1233,"endOffset":1981,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1301,"endOffset":1978,"count":0}],"isBlockCoverage":false},{"functionName":"getDecoder","ranges":[{"startOffset":2482,"endOffset":2848,"count":0}],"isBlockCoverage":false},{"functionName":"getUIntOption","ranges":[{"startOffset":2850,"endOffset":3084,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherBase","ranges":[{"startOffset":3086,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3507,"endOffset":3742,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherWithIV","ranges":[{"startOffset":3744,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"Cipher","ranges":[{"startOffset":4326,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":4670,"endOffset":4786,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":4815,"endOffset":4953,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":4982,"endOffset":5498,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5527,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"setAutoPadding","ranges":[{"startOffset":5809,"endOffset":5956,"count":0}],"isBlockCoverage":false},{"functionName":"getAuthTag","ranges":[{"startOffset":5989,"endOffset":6149,"count":0}],"isBlockCoverage":false},{"functionName":"setAuthTag","ranges":[{"startOffset":6153,"endOffset":6365,"count":0}],"isBlockCoverage":false},{"functionName":"setAAD","ranges":[{"startOffset":6393,"endOffset":6735,"count":0}],"isBlockCoverage":false},{"functionName":"Cipheriv","ranges":[{"startOffset":6983,"endOffset":7193,"count":0}],"isBlockCoverage":false},{"functionName":"addCipherPrototypeFunctions","ranges":[{"startOffset":7195,"endOffset":7786,"count":3},{"startOffset":7591,"endOffset":7664,"count":1},{"startOffset":7664,"endOffset":7726,"count":2}],"isBlockCoverage":true},{"functionName":"Decipher","ranges":[{"startOffset":8187,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"Decipheriv","ranges":[{"startOffset":8800,"endOffset":9017,"count":0}],"isBlockCoverage":false},{"functionName":"getCipherInfo","ranges":[{"startOffset":9179,"endOffset":10040,"count":0}],"isBlockCoverage":false}]},{"scriptId":"230","url":"node:internal/streams/lazy_transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1535,"count":1}],"isBlockCoverage":false},{"functionName":"LazyTransform","ranges":[{"startOffset":401,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"makeGetter","ranges":[{"startOffset":595,"endOffset":918,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":632,"endOffset":915,"count":0}],"isBlockCoverage":false},{"functionName":"makeSetter","ranges":[{"startOffset":920,"endOffset":1139,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":957,"endOffset":1136,"count":0}],"isBlockCoverage":false}]},{"scriptId":"231","url":"node:internal/crypto/sig","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6942,"count":1}],"isBlockCoverage":false},{"functionName":"Sign","ranges":[{"startOffset":870,"endOffset":1129,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":1252,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":1371,"endOffset":1684,"count":0}],"isBlockCoverage":false},{"functionName":"getPadding","ranges":[{"startOffset":1687,"endOffset":1762,"count":0}],"isBlockCoverage":false},{"functionName":"getSaltLength","ranges":[{"startOffset":1764,"endOffset":1845,"count":0}],"isBlockCoverage":false},{"functionName":"getDSASignatureEncoding","ranges":[{"startOffset":1847,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"getIntOption","ranges":[{"startOffset":2201,"endOffset":2446,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":2470,"endOffset":3086,"count":0}],"isBlockCoverage":false},{"functionName":"signOneShot","ranges":[{"startOffset":3089,"endOffset":4307,"count":0}],"isBlockCoverage":false},{"functionName":"Verify","ranges":[{"startOffset":4309,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":4804,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"verifyOneShot","ranges":[{"startOffset":5390,"endOffset":6868,"count":0}],"isBlockCoverage":false}]},{"scriptId":"232","url":"node:internal/crypto/hash","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4553,"count":1}],"isBlockCoverage":false},{"functionName":"Hash","ranges":[{"startOffset":954,"endOffset":1474,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":1605,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1804,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":1936,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":2043,"endOffset":2507,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":2535,"endOffset":2856,"count":0}],"isBlockCoverage":false},{"functionName":"Hmac","ranges":[{"startOffset":2859,"endOffset":3259,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":3440,"endOffset":3872,"count":0}],"isBlockCoverage":false},{"functionName":"asyncDigest","ranges":[{"startOffset":4027,"endOffset":4498,"count":0}],"isBlockCoverage":false}]},{"scriptId":"233","url":"node:internal/crypto/x509","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9909,"count":1}],"isBlockCoverage":false},{"functionName":"isX509Certificate","ranges":[{"startOffset":1155,"endOffset":1238,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":1240,"endOffset":2485,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2487,"endOffset":2649,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2651,"endOffset":9663,"count":0}],"isBlockCoverage":false}]},{"scriptId":"234","url":"node:internal/crypto/certificate","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1546,"count":1}],"isBlockCoverage":false},{"functionName":"verifySpkac","ranges":[{"startOffset":385,"endOffset":505,"count":0}],"isBlockCoverage":false},{"functionName":"exportPublicKey","ranges":[{"startOffset":507,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"exportChallenge","ranges":[{"startOffset":637,"endOffset":765,"count":0}],"isBlockCoverage":false},{"functionName":"Certificate","ranges":[{"startOffset":1122,"endOffset":1216,"count":0}],"isBlockCoverage":false}]},{"scriptId":"235","url":"node:internal/crypto/webcrypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30940,"count":1}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":1190,"endOffset":1799,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":1801,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":1913,"endOffset":4408,"count":0}],"isBlockCoverage":false},{"functionName":"deriveBits","ranges":[{"startOffset":4410,"endOffset":5970,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyLength","ranges":[{"startOffset":5972,"endOffset":6592,"count":0}],"isBlockCoverage":false},{"functionName":"deriveKey","ranges":[{"startOffset":6594,"endOffset":8774,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeySpki","ranges":[{"startOffset":8776,"endOffset":9754,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyPkcs8","ranges":[{"startOffset":9756,"endOffset":10743,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyRaw","ranges":[{"startOffset":10745,"endOffset":11678,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyJWK","ranges":[{"startOffset":11680,"endOffset":13210,"count":0}],"isBlockCoverage":false},{"functionName":"exportKey","ranges":[{"startOffset":13212,"endOffset":14072,"count":0}],"isBlockCoverage":false},{"functionName":"importGenericSecretKey","ranges":[{"startOffset":14074,"endOffset":15424,"count":0}],"isBlockCoverage":false},{"functionName":"importKey","ranges":[{"startOffset":15426,"endOffset":18168,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":18261,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapKey","ranges":[{"startOffset":19891,"endOffset":21854,"count":0}],"isBlockCoverage":false},{"functionName":"signVerify","ranges":[{"startOffset":21856,"endOffset":22959,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":22961,"endOffset":23587,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":23589,"endOffset":24346,"count":0}],"isBlockCoverage":false},{"functionName":"cipherOrWrap","ranges":[{"startOffset":24348,"endOffset":25759,"count":0}],"isBlockCoverage":false},{"functionName":"encrypt","ranges":[{"startOffset":25761,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"decrypt","ranges":[{"startOffset":26489,"endOffset":27215,"count":0}],"isBlockCoverage":false},{"functionName":"SubtleCrypto","ranges":[{"startOffset":27371,"endOffset":27431,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27466,"endOffset":27479,"count":1}],"isBlockCoverage":true},{"functionName":"Crypto","ranges":[{"startOffset":27518,"endOffset":27578,"count":0}],"isBlockCoverage":true},{"functionName":"get subtle","ranges":[{"startOffset":27582,"endOffset":27682,"count":3},{"startOffset":27622,"endOffset":27659,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27717,"endOffset":27730,"count":1}],"isBlockCoverage":true},{"functionName":"getRandomValues","ranges":[{"startOffset":27746,"endOffset":28079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"236","url":"node:zlib","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29534,"count":1}],"isBlockCoverage":false},{"functionName":"zlibBuffer","ranges":[{"startOffset":3530,"endOffset":4157,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnData","ranges":[{"startOffset":4159,"endOffset":4490,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnError","ranges":[{"startOffset":4492,"endOffset":4577,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnEnd","ranges":[{"startOffset":4579,"endOffset":4909,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferSync","ranges":[{"startOffset":4911,"endOffset":5452,"count":0}],"isBlockCoverage":false},{"functionName":"zlibOnError","ranges":[{"startOffset":5454,"endOffset":5768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5993,"endOffset":6329,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6633,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase","ranges":[{"startOffset":7161,"endOffset":9213,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9438,"endOffset":9475,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9918,"endOffset":9964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10111,"endOffset":10163,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.reset","ranges":[{"startOffset":10304,"endOffset":10412,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._flush","ranges":[{"startOffset":10558,"endOffset":10630,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._final","ranges":[{"startOffset":10697,"endOffset":10733,"count":0}],"isBlockCoverage":false},{"functionName":"maxFlush","ranges":[{"startOffset":11331,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.flush","ranges":[{"startOffset":11847,"endOffset":12249,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.close","ranges":[{"startOffset":12279,"endOffset":12361,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._destroy","ranges":[{"startOffset":12394,"endOffset":12454,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._transform","ranges":[{"startOffset":12489,"endOffset":13023,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._processChunk","ranges":[{"startOffset":13061,"endOffset":13290,"count":0}],"isBlockCoverage":false},{"functionName":"processChunkSync","ranges":[{"startOffset":13293,"endOffset":15578,"count":0}],"isBlockCoverage":false},{"functionName":"processChunk","ranges":[{"startOffset":15580,"endOffset":16170,"count":0}],"isBlockCoverage":false},{"functionName":"processCallback","ranges":[{"startOffset":16172,"endOffset":18474,"count":0}],"isBlockCoverage":false},{"functionName":"_close","ranges":[{"startOffset":18476,"endOffset":18666,"count":0}],"isBlockCoverage":false},{"functionName":"Zlib","ranges":[{"startOffset":18863,"endOffset":21181,"count":0}],"isBlockCoverage":false},{"functionName":"paramsAfterFlushCallback","ranges":[{"startOffset":21531,"endOffset":21797,"count":0}],"isBlockCoverage":false},{"functionName":"params","ranges":[{"startOffset":21823,"endOffset":22290,"count":0}],"isBlockCoverage":false},{"functionName":"Deflate","ranges":[{"startOffset":22334,"endOffset":22469,"count":0}],"isBlockCoverage":false},{"functionName":"Inflate","ranges":[{"startOffset":22565,"endOffset":22700,"count":0}],"isBlockCoverage":false},{"functionName":"Gzip","ranges":[{"startOffset":22796,"endOffset":22919,"count":0}],"isBlockCoverage":false},{"functionName":"Gunzip","ranges":[{"startOffset":23009,"endOffset":23140,"count":0}],"isBlockCoverage":false},{"functionName":"DeflateRaw","ranges":[{"startOffset":23234,"endOffset":23439,"count":0}],"isBlockCoverage":false},{"functionName":"InflateRaw","ranges":[{"startOffset":23541,"endOffset":23688,"count":0}],"isBlockCoverage":false},{"functionName":"Unzip","ranges":[{"startOffset":23790,"endOffset":23917,"count":0}],"isBlockCoverage":false},{"functionName":"createConvenienceMethod","ranges":[{"startOffset":24009,"endOffset":24398,"count":18},{"startOffset":24068,"endOffset":24397,"count":9}],"isBlockCoverage":true},{"functionName":"syncBufferWrapper","ranges":[{"startOffset":24081,"endOffset":24182,"count":0}],"isBlockCoverage":false},{"functionName":"asyncBufferWrapper","ranges":[{"startOffset":24197,"endOffset":24395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24483,"endOffset":24570,"count":107},{"startOffset":24541,"endOffset":24561,"count":9},{"startOffset":24562,"endOffset":24569,"count":98}],"isBlockCoverage":true},{"functionName":"Brotli","ranges":[{"startOffset":24789,"endOffset":26126,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliCompress","ranges":[{"startOffset":26220,"endOffset":26384,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliDecompress","ranges":[{"startOffset":26498,"endOffset":26668,"count":0}],"isBlockCoverage":false},{"functionName":"createProperty","ranges":[{"startOffset":26787,"endOffset":26973,"count":9}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":26908,"endOffset":26965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27202,"endOffset":27238,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":27242,"endOffset":27283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"237","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16298,"count":1}],"isBlockCoverage":true},{"functionName":"hasOwnProperty","ranges":[{"startOffset":362,"endOffset":430,"count":0}],"isBlockCoverage":false},{"functionName":"isExternalAssertError","ranges":[{"startOffset":433,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"formatErrorValue","ranges":[{"startOffset":865,"endOffset":1002,"count":0}],"isBlockCoverage":false},{"functionName":"captureSavedError","ranges":[{"startOffset":1030,"endOffset":1237,"count":1}],"isBlockCoverage":true},{"functionName":"ExecutionContext","ranges":[{"startOffset":1316,"endOffset":4497,"count":2}],"isBlockCoverage":true},{"functionName":"pass","ranges":[{"startOffset":1349,"endOffset":1395,"count":4}],"isBlockCoverage":true},{"functionName":"pending","ranges":[{"startOffset":1400,"endOffset":1462,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":1467,"endOffset":1521,"count":0}],"isBlockCoverage":false},{"functionName":"skip","ranges":[{"startOffset":1526,"endOffset":1572,"count":0}],"isBlockCoverage":false},{"functionName":"compareWithSnapshot","ranges":[{"startOffset":1598,"endOffset":1642,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.snapshot.skip","ranges":[{"startOffset":1778,"endOffset":1813,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.log","ranges":[{"startOffset":1829,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan","ranges":[{"startOffset":2064,"endOffset":2120,"count":1}],"isBlockCoverage":true},{"functionName":"ExecutionContext.plan.skip","ranges":[{"startOffset":2142,"endOffset":2150,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.timeout","ranges":[{"startOffset":2170,"endOffset":2222,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.teardown","ranges":[{"startOffset":2243,"endOffset":2291,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.try","ranges":[{"startOffset":2307,"endOffset":4493,"count":0}],"isBlockCoverage":false},{"functionName":"get title","ranges":[{"startOffset":4500,"endOffset":4550,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4553,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"set context","ranges":[{"startOffset":4619,"endOffset":4689,"count":0}],"isBlockCoverage":false},{"functionName":"get passed","ranges":[{"startOffset":4692,"endOffset":4803,"count":0}],"isBlockCoverage":false},{"functionName":"Test","ranges":[{"startOffset":4836,"endOffset":7739,"count":2},{"startOffset":4940,"endOffset":4945,"count":0}],"isBlockCoverage":true},{"functionName":"Test.compareWithSnapshot","ranges":[{"startOffset":5648,"endOffset":6084,"count":0}],"isBlockCoverage":false},{"functionName":"Test.skipSnapshot","ranges":[{"startOffset":6109,"endOffset":6523,"count":0}],"isBlockCoverage":false},{"functionName":"Test.runAttempt","ranges":[{"startOffset":6546,"endOffset":7343,"count":0}],"isBlockCoverage":false},{"functionName":"createExecutionContext","ranges":[{"startOffset":7742,"endOffset":7808,"count":2}],"isBlockCoverage":true},{"functionName":"countPassedAssertion","ranges":[{"startOffset":7811,"endOffset":8163,"count":4},{"startOffset":7858,"endOffset":7949,"count":0},{"startOffset":7987,"endOffset":8112,"count":0}],"isBlockCoverage":true},{"functionName":"addLog","ranges":[{"startOffset":8166,"endOffset":8207,"count":0}],"isBlockCoverage":false},{"functionName":"addPendingAssertion","ranges":[{"startOffset":8210,"endOffset":8745,"count":0}],"isBlockCoverage":false},{"functionName":"addFailedAssertion","ranges":[{"startOffset":8748,"endOffset":9133,"count":0}],"isBlockCoverage":false},{"functionName":"finishAttempt","ranges":[{"startOffset":9136,"endOffset":10154,"count":0}],"isBlockCoverage":false},{"functionName":"saveFirstError","ranges":[{"startOffset":10157,"endOffset":10243,"count":0}],"isBlockCoverage":false},{"functionName":"plan","ranges":[{"startOffset":10246,"endOffset":10542,"count":1},{"startOffset":10304,"endOffset":10354,"count":0}],"isBlockCoverage":true},{"functionName":"timeout","ranges":[{"startOffset":10545,"endOffset":11120,"count":0}],"isBlockCoverage":false},{"functionName":"refreshTimeout","ranges":[{"startOffset":11123,"endOffset":11303,"count":4},{"startOffset":11184,"endOffset":11300,"count":0}],"isBlockCoverage":true},{"functionName":"clearTimeout","ranges":[{"startOffset":11306,"endOffset":11401,"count":2}],"isBlockCoverage":true},{"functionName":"addTeardown","ranges":[{"startOffset":11404,"endOffset":11793,"count":0}],"isBlockCoverage":false},{"functionName":"runTeardowns","ranges":[{"startOffset":11796,"endOffset":12044,"count":2},{"startOffset":11907,"endOffset":12041,"count":0}],"isBlockCoverage":true},{"functionName":"verifyPlan","ranges":[{"startOffset":12047,"endOffset":12402,"count":2},{"startOffset":12113,"endOffset":12151,"count":1},{"startOffset":12153,"endOffset":12399,"count":0}],"isBlockCoverage":true},{"functionName":"verifyAssertions","ranges":[{"startOffset":12405,"endOffset":13050,"count":2},{"startOffset":12450,"endOffset":12466,"count":0},{"startOffset":12504,"endOffset":12622,"count":0},{"startOffset":12662,"endOffset":12765,"count":0},{"startOffset":12835,"endOffset":12933,"count":1},{"startOffset":12933,"endOffset":12951,"count":0},{"startOffset":12953,"endOffset":13043,"count":0}],"isBlockCoverage":true},{"functionName":"callFn","ranges":[{"startOffset":13053,"endOffset":13237,"count":2},{"startOffset":13171,"endOffset":13234,"count":0}],"isBlockCoverage":true},{"functionName":"run","ranges":[{"startOffset":13240,"endOffset":15578,"count":2},{"startOffset":13338,"endOffset":13891,"count":0},{"startOffset":13982,"endOffset":14030,"count":1},{"startOffset":14126,"endOffset":14276,"count":0},{"startOffset":14303,"endOffset":14421,"count":1},{"startOffset":14438,"endOffset":15577,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14153,"endOffset":14270,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14462,"endOffset":15544,"count":1}],"isBlockCoverage":true},{"functionName":"finishDueToAttributedError","ranges":[{"startOffset":14513,"endOffset":14555,"count":0}],"isBlockCoverage":false},{"functionName":"finishDueToTimeout","ranges":[{"startOffset":14588,"endOffset":14630,"count":0}],"isBlockCoverage":false},{"functionName":"finishDueToInactivity","ranges":[{"startOffset":14666,"endOffset":14906,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14933,"endOffset":15496,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":15509,"endOffset":15537,"count":1}],"isBlockCoverage":true},{"functionName":"finish","ranges":[{"startOffset":15581,"endOffset":16295,"count":2},{"startOffset":15866,"endOffset":16020,"count":0}],"isBlockCoverage":true}]},{"scriptId":"238","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/assert.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":25039,"count":1}],"isBlockCoverage":true},{"functionName":"formatDescriptorDiff","ranges":[{"startOffset":331,"endOffset":822,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptorWithLabel","ranges":[{"startOffset":824,"endOffset":979,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithLabel","ranges":[{"startOffset":981,"endOffset":1114,"count":0}],"isBlockCoverage":false},{"functionName":"hasOwnProperty","ranges":[{"startOffset":1139,"endOffset":1207,"count":10}],"isBlockCoverage":true},{"functionName":"noop","ranges":[{"startOffset":1222,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"notImplemented","ranges":[{"startOffset":1255,"endOffset":1301,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":1349,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"checkAssertionMessage","ranges":[{"startOffset":1981,"endOffset":2292,"count":4},{"startOffset":2061,"endOffset":2091,"count":0},{"startOffset":2112,"endOffset":2291,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithLongStackTrace","ranges":[{"startOffset":2294,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"validateExpectations","ranges":[{"startOffset":2558,"endOffset":5405,"count":2},{"startOffset":2739,"endOffset":3020,"count":0},{"startOffset":3260,"endOffset":3489,"count":0},{"startOffset":3546,"endOffset":3594,"count":0},{"startOffset":3596,"endOffset":3824,"count":0},{"startOffset":3926,"endOffset":3970,"count":0},{"startOffset":3974,"endOffset":4022,"count":0},{"startOffset":4027,"endOffset":4284,"count":0},{"startOffset":4329,"endOffset":4369,"count":0},{"startOffset":4371,"endOffset":4591,"count":0},{"startOffset":4636,"endOffset":4676,"count":0},{"startOffset":4677,"endOffset":4717,"count":0},{"startOffset":4719,"endOffset":4949,"count":0},{"startOffset":5022,"endOffset":5040,"count":0},{"startOffset":5045,"endOffset":5055,"count":0},{"startOffset":5138,"endOffset":5368,"count":0}],"isBlockCoverage":true},{"functionName":"assertExpectations","ranges":[{"startOffset":5524,"endOffset":8199,"count":2},{"startOffset":5641,"endOffset":5804,"count":0},{"startOffset":5882,"endOffset":5911,"count":0},{"startOffset":5913,"endOffset":6167,"count":0},{"startOffset":6198,"endOffset":6245,"count":0},{"startOffset":6247,"endOffset":6497,"count":0},{"startOffset":6542,"endOffset":6578,"count":0},{"startOffset":6580,"endOffset":6826,"count":0},{"startOffset":6918,"endOffset":7170,"count":0},{"startOffset":7216,"endOffset":7261,"count":0},{"startOffset":7263,"endOffset":7515,"count":0},{"startOffset":7565,"endOffset":7614,"count":0},{"startOffset":7616,"endOffset":7874,"count":0},{"startOffset":7913,"endOffset":7949,"count":0},{"startOffset":7951,"endOffset":8197,"count":0}],"isBlockCoverage":true},{"functionName":"Assertions","ranges":[{"startOffset":8228,"endOffset":25036,"count":2}],"isBlockCoverage":true},{"functionName":"withSkip","ranges":[{"startOffset":8463,"endOffset":8534,"count":38}],"isBlockCoverage":true},{"functionName":"checkMessage","ranges":[{"startOffset":8560,"endOffset":8733,"count":4},{"startOffset":8694,"endOffset":8732,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8759,"endOffset":8797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8824,"endOffset":9037,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9062,"endOffset":9979,"count":1},{"startOffset":9132,"endOffset":9156,"count":0},{"startOffset":9229,"endOffset":9401,"count":0},{"startOffset":9449,"endOffset":9502,"count":0},{"startOffset":9525,"endOffset":9978,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10005,"endOffset":10365,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10397,"endOffset":11031,"count":1},{"startOffset":10474,"endOffset":10498,"count":0},{"startOffset":10632,"endOffset":10727,"count":0},{"startOffset":10775,"endOffset":10828,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11066,"endOffset":11622,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11649,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12970,"endOffset":14552,"count":2},{"startOffset":13240,"endOffset":13258,"count":0},{"startOffset":13293,"endOffset":13515,"count":0},{"startOffset":13622,"endOffset":13671,"count":0},{"startOffset":13765,"endOffset":14105,"count":0},{"startOffset":14169,"endOffset":14328,"count":0},{"startOffset":14511,"endOffset":14548,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14586,"endOffset":16839,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16871,"endOffset":17460,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17497,"endOffset":19358,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19389,"endOffset":21353,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21382,"endOffset":21702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21730,"endOffset":22051,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22078,"endOffset":22383,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22411,"endOffset":22720,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22748,"endOffset":23686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23717,"endOffset":24676,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24705,"endOffset":25031,"count":0}],"isBlockCoverage":false}]},{"scriptId":"239","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/concordance-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2980,"count":1},{"startOffset":2696,"endOffset":2708,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2579,"endOffset":2649,"count":110},{"startOffset":2623,"endOffset":2641,"count":69},{"startOffset":2642,"endOffset":2649,"count":41}],"isBlockCoverage":true},{"functionName":"get maxDepth","ranges":[{"startOffset":2807,"endOffset":2878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"240","url":"node:internal/util/parse_args/parse_args","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12919,"count":1}],"isBlockCoverage":false},{"functionName":"getMainArgs","ranges":[{"startOffset":1135,"endOffset":1729,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionLikeValue","ranges":[{"startOffset":1874,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionUsage","ranges":[{"startOffset":2658,"endOffset":3449,"count":0}],"isBlockCoverage":false},{"functionName":"storeOption","ranges":[{"startOffset":3772,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"storeDefaultOption","ranges":[{"startOffset":4921,"endOffset":5090,"count":0}],"isBlockCoverage":false},{"functionName":"argsToTokens","ranges":[{"startOffset":5365,"endOffset":9345,"count":0}],"isBlockCoverage":false},{"functionName":"parseArgs","ranges":[{"startOffset":9365,"endOffset":12881,"count":0}],"isBlockCoverage":false}]},{"scriptId":"241","url":"node:internal/util/parse_args/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6225,"count":1}],"isBlockCoverage":false},{"functionName":"objectGetOwn","ranges":[{"startOffset":693,"endOffset":782,"count":0}],"isBlockCoverage":false},{"functionName":"optionsGetOwn","ranges":[{"startOffset":865,"endOffset":1011,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionValue","ranges":[{"startOffset":1277,"endOffset":1502,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionLikeValue","ranges":[{"startOffset":1719,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneShortOption","ranges":[{"startOffset":1936,"endOffset":2088,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneLongOption","ranges":[{"startOffset":2336,"endOffset":2484,"count":0}],"isBlockCoverage":false},{"functionName":"isLongOptionAndValue","ranges":[{"startOffset":2681,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionGroup","ranges":[{"startOffset":3724,"endOffset":4109,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionAndValue","ranges":[{"startOffset":4418,"endOffset":4847,"count":0}],"isBlockCoverage":false},{"functionName":"findLongOptionForShort","ranges":[{"startOffset":5170,"endOffset":5472,"count":0}],"isBlockCoverage":false},{"functionName":"useDefaultValueOption","ranges":[{"startOffset":5797,"endOffset":5967,"count":0}],"isBlockCoverage":false}]},{"scriptId":"242","url":"node:internal/mime","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10569,"count":1}],"isBlockCoverage":false},{"functionName":"toASCIILower","ranges":[{"startOffset":587,"endOffset":820,"count":0}],"isBlockCoverage":false},{"functionName":"parseTypeAndSubtype","ranges":[{"startOffset":866,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"removeBackslashes","ranges":[{"startOffset":2641,"endOffset":3056,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuoteOrSolidus","ranges":[{"startOffset":3059,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":3288,"endOffset":3527,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3530,"endOffset":8526,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8986,"endOffset":10365,"count":0}],"isBlockCoverage":false}]},{"scriptId":"243","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/callsites/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"callsites","ranges":[{"startOffset":15,"endOffset":469,"count":0}],"isBlockCoverage":false}]},{"scriptId":"244","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5256,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5189,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2906,"endOffset":3404,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3450,"endOffset":3975,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4032,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4134,"endOffset":4895,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4949,"endOffset":5030,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5084,"endOffset":5137,"count":0}],"isBlockCoverage":false}]},{"scriptId":"245","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/supports-color/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3855,"count":1},{"startOffset":738,"endOffset":762,"count":0},{"startOffset":869,"endOffset":893,"count":0}],"isBlockCoverage":true},{"functionName":"hasFlag","ranges":[{"startOffset":235,"endOffset":585,"count":16},{"startOffset":281,"endOffset":303,"count":0},{"startOffset":359,"endOffset":363,"count":0},{"startOffset":385,"endOffset":390,"count":0},{"startOffset":519,"endOffset":582,"count":0}],"isBlockCoverage":true},{"functionName":"envForceColor","ranges":[{"startOffset":895,"endOffset":1159,"count":2},{"startOffset":949,"endOffset":1157,"count":0}],"isBlockCoverage":true},{"functionName":"translateLevel","ranges":[{"startOffset":1161,"endOffset":1320,"count":2},{"startOffset":1212,"endOffset":1232,"count":0}],"isBlockCoverage":true},{"functionName":"_supportsColor","ranges":[{"startOffset":1322,"endOffset":3494,"count":2},{"startOffset":1479,"endOffset":1520,"count":0},{"startOffset":1570,"endOffset":1588,"count":0},{"startOffset":1614,"endOffset":1630,"count":0},{"startOffset":1740,"endOffset":1758,"count":0},{"startOffset":1788,"endOffset":1806,"count":0},{"startOffset":1918,"endOffset":1940,"count":0},{"startOffset":1942,"endOffset":1958,"count":0},{"startOffset":1992,"endOffset":2019,"count":0},{"startOffset":2021,"endOffset":2037,"count":0},{"startOffset":2096,"endOffset":2114,"count":0},{"startOffset":2151,"endOffset":2508,"count":0},{"startOffset":2528,"endOffset":2776,"count":0},{"startOffset":2810,"endOffset":2891,"count":0},{"startOffset":2945,"endOffset":3493,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2688,"endOffset":2707,"count":0}],"isBlockCoverage":false},{"functionName":"createSupportsColor","ranges":[{"startOffset":3503,"endOffset":3687,"count":2}],"isBlockCoverage":true}]},{"scriptId":"246","url":"node:os","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9769,"count":1}],"isBlockCoverage":false},{"functionName":"getCheckedFunction","ranges":[{"startOffset":2026,"endOffset":2267,"count":4}],"isBlockCoverage":true},{"functionName":"checkError","ranges":[{"startOffset":2085,"endOffset":2263,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease","ranges":[{"startOffset":2649,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType","ranges":[{"startOffset":2711,"endOffset":2721,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion","ranges":[{"startOffset":2773,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine","ranges":[{"startOffset":2836,"endOffset":2849,"count":0}],"isBlockCoverage":false},{"functionName":"getAvailableParallelism.","ranges":[{"startOffset":2897,"endOffset":2928,"count":0}],"isBlockCoverage":false},{"functionName":"getFreeMem.","ranges":[{"startOffset":2962,"endOffset":2980,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname.","ranges":[{"startOffset":3015,"endOffset":3034,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion.","ranges":[{"startOffset":3070,"endOffset":3090,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType.","ranges":[{"startOffset":3123,"endOffset":3140,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease.","ranges":[{"startOffset":3176,"endOffset":3196,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine.","ranges":[{"startOffset":3230,"endOffset":3248,"count":0}],"isBlockCoverage":false},{"functionName":"getHomeDirectory.","ranges":[{"startOffset":3288,"endOffset":3312,"count":0}],"isBlockCoverage":false},{"functionName":"getTotalMem.","ranges":[{"startOffset":3347,"endOffset":3366,"count":0}],"isBlockCoverage":false},{"functionName":"getUptime.","ranges":[{"startOffset":3399,"endOffset":3416,"count":0}],"isBlockCoverage":false},{"functionName":"loadavg","ranges":[{"startOffset":3554,"endOffset":3654,"count":0}],"isBlockCoverage":false},{"functionName":"cpus","ranges":[{"startOffset":3934,"endOffset":4363,"count":1},{"startOffset":4036,"endOffset":4041,"count":0},{"startOffset":4103,"endOffset":4344,"count":12}],"isBlockCoverage":true},{"functionName":"arch","ranges":[{"startOffset":4394,"endOffset":4436,"count":0}],"isBlockCoverage":false},{"functionName":"arch.","ranges":[{"startOffset":4463,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"platform","ranges":[{"startOffset":4513,"endOffset":4563,"count":2}],"isBlockCoverage":true},{"functionName":"platform.","ranges":[{"startOffset":4594,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir","ranges":[{"startOffset":4648,"endOffset":5253,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir.","ranges":[{"startOffset":5282,"endOffset":5296,"count":0}],"isBlockCoverage":false},{"functionName":"endianness","ranges":[{"startOffset":5333,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"endianness.","ranges":[{"startOffset":5413,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"countBinaryOnes","ranges":[{"startOffset":5518,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"getCIDR","ranges":[{"startOffset":5773,"endOffset":6718,"count":0}],"isBlockCoverage":false},{"functionName":"networkInterfaces","ranges":[{"startOffset":6929,"endOffset":7622,"count":0}],"isBlockCoverage":false},{"functionName":"setPriority","ranges":[{"startOffset":7706,"endOffset":7995,"count":0}],"isBlockCoverage":false},{"functionName":"getPriority","ranges":[{"startOffset":8053,"endOffset":8308,"count":0}],"isBlockCoverage":false},{"functionName":"userInfo","ranges":[{"startOffset":8612,"endOffset":8900,"count":0}],"isBlockCoverage":false}]},{"scriptId":"247","url":"node:tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5058,"count":1}],"isBlockCoverage":false},{"functionName":"isatty","ranges":[{"startOffset":1535,"endOffset":1641,"count":2}],"isBlockCoverage":true},{"functionName":"ReadStream","ranges":[{"startOffset":1643,"endOffset":2112,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.setRawMode","ranges":[{"startOffset":2261,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":2481,"endOffset":3453,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._refreshSize","ranges":[{"startOffset":3744,"endOffset":4180,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.cursorTo","ranges":[{"startOffset":4236,"endOffset":4376,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.moveCursor","ranges":[{"startOffset":4413,"endOffset":4559,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearLine","ranges":[{"startOffset":4595,"endOffset":4734,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearScreenDown","ranges":[{"startOffset":4776,"endOffset":4911,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.getWindowSize","ranges":[{"startOffset":4951,"endOffset":5001,"count":0}],"isBlockCoverage":false}]},{"scriptId":"248","url":"node:net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":65921,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1612,"endOffset":1637,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4029,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":4446,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"createHandle","ranges":[{"startOffset":4542,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"getNewAsyncId","ranges":[{"startOffset":4928,"endOffset":5066,"count":0}],"isBlockCoverage":false},{"functionName":"isPipeName","ranges":[{"startOffset":5069,"endOffset":5152,"count":0}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":5353,"endOffset":5457,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":5680,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamily","ranges":[{"startOffset":6083,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamily","ranges":[{"startOffset":6160,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6278,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6383,"endOffset":6570,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgs","ranges":[{"startOffset":7064,"endOffset":7790,"count":0}],"isBlockCoverage":false},{"functionName":"initSocketHandle","ranges":[{"startOffset":7862,"endOffset":8465,"count":0}],"isBlockCoverage":false},{"functionName":"closeSocketHandle","ranges":[{"startOffset":8467,"endOffset":8807,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":9059,"endOffset":13678,"count":0}],"isBlockCoverage":false},{"functionName":"_unrefTimer","ranges":[{"startOffset":13851,"endOffset":13981,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._final","ranges":[{"startOffset":14101,"endOffset":14717,"count":0}],"isBlockCoverage":false},{"functionName":"afterShutdown","ranges":[{"startOffset":14720,"endOffset":14866,"count":0}],"isBlockCoverage":false},{"functionName":"writeAfterFIN","ranges":[{"startOffset":15073,"endOffset":15581,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._onTimeout","ranges":[{"startOffset":15663,"endOffset":16167,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setNoDelay","ranges":[{"startOffset":16201,"endOffset":16578,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setKeepAlive","ranges":[{"startOffset":16614,"endOffset":17220,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":17251,"endOffset":17295,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17381,"endOffset":17425,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17505,"endOffset":17561,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17672,"endOffset":17987,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18076,"endOffset":18156,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18244,"endOffset":18289,"count":0}],"isBlockCoverage":false},{"functionName":"tryReadStart","ranges":[{"startOffset":18297,"endOffset":18543,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._read","ranges":[{"startOffset":18635,"endOffset":18954,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.end","ranges":[{"startOffset":18981,"endOffset":19137,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resetAndDestroy","ranges":[{"startOffset":19175,"endOffset":19525,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.pause","ranges":[{"startOffset":19553,"endOffset":19887,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resume","ranges":[{"startOffset":19917,"endOffset":20101,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.read","ranges":[{"startOffset":20129,"endOffset":20315,"count":0}],"isBlockCoverage":false},{"functionName":"onReadableStreamEnd","ranges":[{"startOffset":20362,"endOffset":20461,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.destroySoon","ranges":[{"startOffset":20495,"endOffset":20642,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._destroy","ranges":[{"startOffset":20674,"endOffset":22184,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._reset","ranges":[{"startOffset":22213,"endOffset":22312,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getpeername","ranges":[{"startOffset":22347,"endOffset":22644,"count":0}],"isBlockCoverage":false},{"functionName":"protoGetter","ranges":[{"startOffset":22647,"endOffset":22829,"count":9}],"isBlockCoverage":true},{"functionName":"bytesRead","ranges":[{"startOffset":22856,"endOffset":22947,"count":0}],"isBlockCoverage":false},{"functionName":"remoteAddress","ranges":[{"startOffset":22980,"endOffset":23046,"count":0}],"isBlockCoverage":false},{"functionName":"remoteFamily","ranges":[{"startOffset":23078,"endOffset":23142,"count":0}],"isBlockCoverage":false},{"functionName":"remotePort","ranges":[{"startOffset":23172,"endOffset":23232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getsockname","ranges":[{"startOffset":23269,"endOffset":23545,"count":0}],"isBlockCoverage":false},{"functionName":"localAddress","ranges":[{"startOffset":23577,"endOffset":23642,"count":0}],"isBlockCoverage":false},{"functionName":"localPort","ranges":[{"startOffset":23672,"endOffset":23731,"count":0}],"isBlockCoverage":false},{"functionName":"localFamily","ranges":[{"startOffset":23762,"endOffset":23825,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":23866,"endOffset":23913,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writeGeneric","ranges":[{"startOffset":23949,"endOffset":24861,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writev","ranges":[{"startOffset":24892,"endOffset":24960,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._write","ranges":[{"startOffset":24990,"endOffset":25071,"count":0}],"isBlockCoverage":false},{"functionName":"_bytesDispatched","ranges":[{"startOffset":25264,"endOffset":25368,"count":0}],"isBlockCoverage":false},{"functionName":"bytesWritten","ranges":[{"startOffset":25400,"endOffset":26329,"count":0}],"isBlockCoverage":false},{"functionName":"checkBindError","ranges":[{"startOffset":26334,"endOffset":27133,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnect","ranges":[{"startOffset":27136,"endOffset":29131,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultiple","ranges":[{"startOffset":29134,"endOffset":31870,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":31899,"endOffset":33495,"count":0}],"isBlockCoverage":false},{"functionName":"reinitializeHandle","ranges":[{"startOffset":33538,"endOffset":33692,"count":0}],"isBlockCoverage":false},{"functionName":"socketToDnsFamily","ranges":[{"startOffset":33695,"endOffset":33841,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnect","ranges":[{"startOffset":33843,"endOffset":37774,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnectMultiple","ranges":[{"startOffset":37776,"endOffset":41750,"count":0}],"isBlockCoverage":false},{"functionName":"connectErrorNT","ranges":[{"startOffset":41752,"endOffset":41811,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":41837,"endOffset":42024,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":42053,"endOffset":42246,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnect","ranges":[{"startOffset":42250,"endOffset":43831,"count":0}],"isBlockCoverage":false},{"functionName":"addClientAbortSignalOption","ranges":[{"startOffset":43833,"endOffset":44256,"count":0}],"isBlockCoverage":false},{"functionName":"createConnectionError","ranges":[{"startOffset":44258,"endOffset":44759,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnectMultiple","ranges":[{"startOffset":44761,"endOffset":45903,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultipleTimeout","ranges":[{"startOffset":45905,"endOffset":46217,"count":0}],"isBlockCoverage":false},{"functionName":"addServerAbortSignalOption","ranges":[{"startOffset":46219,"endOffset":46662,"count":0}],"isBlockCoverage":false},{"functionName":"Server","ranges":[{"startOffset":46664,"endOffset":48251,"count":0}],"isBlockCoverage":false},{"functionName":"toNumber","ranges":[{"startOffset":48362,"endOffset":48427,"count":0}],"isBlockCoverage":false},{"functionName":"createServerHandle","ranges":[{"startOffset":48495,"endOffset":49947,"count":0}],"isBlockCoverage":false},{"functionName":"setupListenHandle","ranges":[{"startOffset":49949,"endOffset":52300,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":52367,"endOffset":52429,"count":0}],"isBlockCoverage":false},{"functionName":"emitListeningNT","ranges":[{"startOffset":52432,"endOffset":52547,"count":0}],"isBlockCoverage":false},{"functionName":"listenInCluster","ranges":[{"startOffset":52550,"endOffset":53810,"count":0}],"isBlockCoverage":false},{"functionName":"Server.listen","ranges":[{"startOffset":53839,"endOffset":57671,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndListen","ranges":[{"startOffset":57674,"endOffset":58086,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":58168,"endOffset":58211,"count":0}],"isBlockCoverage":false},{"functionName":"Server.address","ranges":[{"startOffset":58287,"endOffset":58576,"count":0}],"isBlockCoverage":false},{"functionName":"onconnection","ranges":[{"startOffset":58579,"endOffset":60478,"count":0}],"isBlockCoverage":false},{"functionName":"Server.getConnections","ranges":[{"startOffset":60627,"endOffset":61380,"count":0}],"isBlockCoverage":false},{"functionName":"Server.close","ranges":[{"startOffset":61409,"endOffset":62276,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":62318,"endOffset":62438,"count":0}],"isBlockCoverage":false},{"functionName":"Server._emitCloseIfDrained","ranges":[{"startOffset":62480,"endOffset":62866,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":62870,"endOffset":62953,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":63012,"endOffset":63174,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63396,"endOffset":63432,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63436,"endOffset":63477,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63557,"endOffset":63588,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63592,"endOffset":63628,"count":0}],"isBlockCoverage":false},{"functionName":"Server._setupWorker","ranges":[{"startOffset":63667,"endOffset":63908,"count":0}],"isBlockCoverage":false},{"functionName":"Server.ref","ranges":[{"startOffset":63934,"endOffset":64032,"count":0}],"isBlockCoverage":false},{"functionName":"Server.unref","ranges":[{"startOffset":64060,"endOffset":64159,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":64301,"endOffset":64970,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":65009,"endOffset":65250,"count":0}],"isBlockCoverage":false},{"functionName":"get BlockList","ranges":[{"startOffset":65379,"endOffset":65481,"count":0}],"isBlockCoverage":false},{"functionName":"get SocketAddress","ranges":[{"startOffset":65485,"endOffset":65607,"count":0}],"isBlockCoverage":false}]},{"scriptId":"249","url":"node:internal/stream_base_commons","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7041,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1010,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"handleWriteReq","ranges":[{"startOffset":1154,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"onWriteComplete","ranges":[{"startOffset":2011,"endOffset":2696,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteWrap","ranges":[{"startOffset":2698,"endOffset":2936,"count":0}],"isBlockCoverage":false},{"functionName":"writevGeneric","ranges":[{"startOffset":2938,"endOffset":3577,"count":0}],"isBlockCoverage":false},{"functionName":"writeGeneric","ranges":[{"startOffset":3579,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteDispatched","ranges":[{"startOffset":3786,"endOffset":4089,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamRead","ranges":[{"startOffset":4091,"endOffset":6022,"count":0}],"isBlockCoverage":false},{"functionName":"setStreamTimeout","ranges":[{"startOffset":6024,"endOffset":6834,"count":0}],"isBlockCoverage":false}]},{"scriptId":"250","url":"node:internal/perf/observe","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16742,"count":1}],"isBlockCoverage":false},{"functionName":"queuePending","ranges":[{"startOffset":2620,"endOffset":2881,"count":0}],"isBlockCoverage":false},{"functionName":"getObserverType","ranges":[{"startOffset":2883,"endOffset":3223,"count":0}],"isBlockCoverage":false},{"functionName":"maybeDecrementObserverCounts","ranges":[{"startOffset":3225,"endOffset":3646,"count":0}],"isBlockCoverage":false},{"functionName":"maybeIncrementObserverCount","ranges":[{"startOffset":3648,"endOffset":3990,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceObserverEntryList","ranges":[{"startOffset":4031,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"getEntries","ranges":[{"startOffset":4095,"endOffset":4234,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByType","ranges":[{"startOffset":4238,"endOffset":4542,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByName","ranges":[{"startOffset":4546,"endOffset":5039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5043,"endOffset":5291,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceObserverEntryList","ranges":[{"startOffset":5643,"endOffset":5933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5935,"endOffset":9507,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":9989,"endOffset":10191,"count":0}],"isBlockCoverage":false},{"functionName":"bufferUserTiming","ranges":[{"startOffset":10252,"endOffset":11278,"count":0}],"isBlockCoverage":false},{"functionName":"bufferResourceTiming","ranges":[{"startOffset":11566,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"setResourceTimingBufferSize","ranges":[{"startOffset":12918,"endOffset":13190,"count":0}],"isBlockCoverage":false},{"functionName":"setDispatchBufferFull","ranges":[{"startOffset":13192,"endOffset":13257,"count":0}],"isBlockCoverage":false},{"functionName":"clearEntriesFromBuffer","ranges":[{"startOffset":13259,"endOffset":13859,"count":0}],"isBlockCoverage":false},{"functionName":"filterBufferMapByNameAndType","ranges":[{"startOffset":13861,"endOffset":14749,"count":0}],"isBlockCoverage":false},{"functionName":"observerCallback","ranges":[{"startOffset":14751,"endOffset":15867,"count":0}],"isBlockCoverage":false},{"functionName":"hasObserver","ranges":[{"startOffset":15904,"endOffset":16023,"count":0}],"isBlockCoverage":false},{"functionName":"startPerf","ranges":[{"startOffset":16026,"endOffset":16136,"count":0}],"isBlockCoverage":false},{"functionName":"stopPerf","ranges":[{"startOffset":16138,"endOffset":16453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"251","url":"node:internal/perf/performance_entry","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3333,"count":1}],"isBlockCoverage":false},{"functionName":"isPerformanceEntry","ranges":[{"startOffset":675,"endOffset":748,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceEntry","ranges":[{"startOffset":777,"endOffset":914,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":918,"endOffset":1018,"count":0}],"isBlockCoverage":false},{"functionName":"get entryType","ranges":[{"startOffset":1022,"endOffset":1137,"count":0}],"isBlockCoverage":false},{"functionName":"get startTime","ranges":[{"startOffset":1141,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"get duration","ranges":[{"startOffset":1260,"endOffset":1372,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1376,"endOffset":1620,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":1624,"endOffset":1846,"count":0}],"isBlockCoverage":false},{"functionName":"initPerformanceEntry","ranges":[{"startOffset":2068,"endOffset":2248,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceEntry","ranges":[{"startOffset":2250,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":2559,"endOffset":2669,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":2673,"endOffset":2924,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceNodeEntry","ranges":[{"startOffset":2928,"endOffset":3163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"252","url":"node:internal/tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6485,"count":1}],"isBlockCoverage":false},{"functionName":"warnOnDeactivatedColors","ranges":[{"startOffset":2549,"endOffset":3002,"count":0}],"isBlockCoverage":false},{"functionName":"getColorDepth","ranges":[{"startOffset":3160,"endOffset":6156,"count":0}],"isBlockCoverage":false},{"functionName":"hasColors","ranges":[{"startOffset":6158,"endOffset":6431,"count":0}],"isBlockCoverage":false}]},{"scriptId":"253","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":997,"count":1}],"isBlockCoverage":true},{"functionName":"stringReplaceAll","ranges":[{"startOffset":78,"endOffset":552,"count":0}],"isBlockCoverage":false},{"functionName":"stringEncaseCRLFWithFirstIndex","ranges":[{"startOffset":561,"endOffset":996,"count":0}],"isBlockCoverage":false}]},{"scriptId":"254","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6025,"count":1}],"isBlockCoverage":true},{"functionName":"assertPatternsInput","ranges":[{"startOffset":367,"endOffset":522,"count":0}],"isBlockCoverage":false},{"functionName":"toPatternsArray","ranges":[{"startOffset":549,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"checkCwdOption","ranges":[{"startOffset":685,"endOffset":912,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":940,"endOffset":1200,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArguments","ranges":[{"startOffset":1230,"endOffset":1321,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1236,"endOffset":1321,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgumentsSync","ranges":[{"startOffset":1354,"endOffset":1439,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1360,"endOffset":1439,"count":0}],"isBlockCoverage":false},{"functionName":"getIgnoreFilesPatterns","ranges":[{"startOffset":1473,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":1701,"endOffset":1913,"count":0}],"isBlockCoverage":false},{"functionName":"getFilterSync","ranges":[{"startOffset":1938,"endOffset":2142,"count":0}],"isBlockCoverage":false},{"functionName":"createFilterFunction","ranges":[{"startOffset":2174,"endOffset":2469,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobResults","ranges":[{"startOffset":2501,"endOffset":2585,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobStreams","ranges":[{"startOffset":2616,"endOffset":2717,"count":0}],"isBlockCoverage":false},{"functionName":"convertNegativePatterns","ranges":[{"startOffset":2752,"endOffset":3364,"count":0}],"isBlockCoverage":false},{"functionName":"getDirGlobOptions","ranges":[{"startOffset":3393,"endOffset":3499,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":3524,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasksSync","ranges":[{"startOffset":4171,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4758,"endOffset":5048,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5101,"endOffset":5348,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5403,"endOffset":5652,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5713,"endOffset":5805,"count":0}],"isBlockCoverage":false}]},{"scriptId":"255","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/maps.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"256","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":465,"count":1}],"isBlockCoverage":true},{"functionName":"escapeStringRegexp","ranges":[{"startOffset":15,"endOffset":464,"count":3},{"startOffset":86,"endOffset":134,"count":0}],"isBlockCoverage":true}]},{"scriptId":"257","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/indent-string/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":820,"count":1}],"isBlockCoverage":true},{"functionName":"indentString","ranges":[{"startOffset":15,"endOffset":819,"count":0}],"isBlockCoverage":false}]},{"scriptId":"258","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mem/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3063,"count":1}],"isBlockCoverage":true},{"functionName":"mem","ranges":[{"startOffset":651,"endOffset":1491,"count":2},{"startOffset":753,"endOffset":790,"count":0}],"isBlockCoverage":true},{"functionName":"memoized","ranges":[{"startOffset":812,"endOffset":1357,"count":3},{"startOffset":868,"endOffset":890,"count":1},{"startOffset":891,"endOffset":906,"count":2},{"startOffset":973,"endOffset":1078,"count":1},{"startOffset":1078,"endOffset":1208,"count":2},{"startOffset":1208,"endOffset":1229,"count":0},{"startOffset":1230,"endOffset":1256,"count":2}],"isBlockCoverage":true},{"functionName":"memDecorator","ranges":[{"startOffset":1911,"endOffset":2668,"count":0}],"isBlockCoverage":false},{"functionName":"memClear","ranges":[{"startOffset":2761,"endOffset":3062,"count":0}],"isBlockCoverage":false}]},{"scriptId":"259","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12,"count":1}],"isBlockCoverage":true}]},{"scriptId":"260","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-promise/index.mjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":151,"count":1}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":15,"endOffset":150,"count":2},{"startOffset":56,"endOffset":113,"count":1},{"startOffset":84,"endOffset":112,"count":0},{"startOffset":114,"endOffset":147,"count":1}],"isBlockCoverage":true}]},{"scriptId":"261","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/plur/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":963,"count":1}],"isBlockCoverage":true},{"functionName":"plur","ranges":[{"startOffset":66,"endOffset":962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"262","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/like-selector.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1333,"count":1}],"isBlockCoverage":true},{"functionName":"isPrimitive","ranges":[{"startOffset":20,"endOffset":72,"count":0}],"isBlockCoverage":false},{"functionName":"isLikeSelector","ranges":[{"startOffset":82,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"selectComparable","ranges":[{"startOffset":609,"endOffset":1332,"count":0}],"isBlockCoverage":false}]},{"scriptId":"263","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5267,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5200,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2913,"endOffset":3409,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3462,"endOffset":3983,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4040,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4149,"endOffset":4906,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4960,"endOffset":5041,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5095,"endOffset":5148,"count":0}],"isBlockCoverage":false}]},{"scriptId":"264","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/strip-ansi/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":468,"count":1}],"isBlockCoverage":true},{"functionName":"stripAnsi","ranges":[{"startOffset":80,"endOffset":467,"count":69},{"startOffset":142,"endOffset":220,"count":0}],"isBlockCoverage":true}]},{"scriptId":"265","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/ignore.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2797,"count":1}],"isBlockCoverage":true},{"functionName":"applyBaseToPattern","ranges":[{"startOffset":479,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"parseIgnoreFile","ranges":[{"startOffset":634,"endOffset":865,"count":0}],"isBlockCoverage":false},{"functionName":"toRelativePath","ranges":[{"startOffset":891,"endOffset":1176,"count":0}],"isBlockCoverage":false},{"functionName":"getIsIgnoredPredicate","ranges":[{"startOffset":1209,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1582,"endOffset":1782,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFiles","ranges":[{"startOffset":1823,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFilesSync","ranges":[{"startOffset":2256,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnored","ranges":[{"startOffset":2623,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnoredSync","ranges":[{"startOffset":2724,"endOffset":2795,"count":0}],"isBlockCoverage":false}]},{"scriptId":"266","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":462,"count":1}],"isBlockCoverage":true},{"functionName":"toPath","ranges":[{"startOffset":102,"endOffset":178,"count":0}],"isBlockCoverage":false},{"functionName":"FilterStream","ranges":[{"startOffset":228,"endOffset":394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":431,"endOffset":460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"267","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mimic-fn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2903,"count":1}],"isBlockCoverage":true},{"functionName":"copyProperty","ranges":[{"startOffset":21,"endOffset":887,"count":4},{"startOffset":280,"endOffset":307,"count":2},{"startOffset":309,"endOffset":577,"count":2},{"startOffset":579,"endOffset":593,"count":0},{"startOffset":593,"endOffset":790,"count":2},{"startOffset":790,"endOffset":814,"count":0},{"startOffset":816,"endOffset":830,"count":0},{"startOffset":830,"endOffset":886,"count":2}],"isBlockCoverage":true},{"functionName":"canCopyProperty","ranges":[{"startOffset":1091,"endOffset":1457,"count":2},{"startOffset":1197,"endOffset":1454,"count":0}],"isBlockCoverage":true},{"functionName":"changePrototype","ranges":[{"startOffset":1484,"endOffset":1662,"count":2},{"startOffset":1616,"endOffset":1661,"count":0}],"isBlockCoverage":true},{"functionName":"wrappedToString","ranges":[{"startOffset":1689,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"changeToString","ranges":[{"startOffset":2221,"endOffset":2603,"count":2},{"startOffset":2273,"endOffset":2277,"count":0}],"isBlockCoverage":true},{"functionName":"mimicFunction","ranges":[{"startOffset":2621,"endOffset":2902,"count":2},{"startOffset":2762,"endOffset":2825,"count":4}],"isBlockCoverage":true}]},{"scriptId":"268","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/ansi-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":350,"count":1}],"isBlockCoverage":true},{"functionName":"ansiRegex","ranges":[{"startOffset":15,"endOffset":349,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true}]},{"scriptId":"269","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/slash/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":285,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":15,"endOffset":284,"count":0}],"isBlockCoverage":false}]},{"scriptId":"270","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":250,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":62,"endOffset":248,"count":1}],"isBlockCoverage":true}]},{"scriptId":"271","url":"node:internal/vm/module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12200,"count":1}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":1662,"endOffset":4017,"count":0}],"isBlockCoverage":false},{"functionName":"get identifier","ranges":[{"startOffset":4021,"endOffset":4158,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4162,"endOffset":4295,"count":0}],"isBlockCoverage":false},{"functionName":"get namespace","ranges":[{"startOffset":4299,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"get status","ranges":[{"startOffset":4580,"endOffset":4733,"count":0}],"isBlockCoverage":false},{"functionName":"get error","ranges":[{"startOffset":4737,"endOffset":4987,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":4991,"endOffset":5396,"count":0}],"isBlockCoverage":false},{"functionName":"evaluate","ranges":[{"startOffset":5400,"endOffset":6153,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6157,"endOffset":6909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":10171,"count":0}],"isBlockCoverage":false},{"functionName":"SyntheticModule","ranges":[{"startOffset":10214,"endOffset":11307,"count":0}],"isBlockCoverage":false},{"functionName":"setExport","ranges":[{"startOffset":11311,"endOffset":11613,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamicallyWrap","ranges":[{"startOffset":11617,"endOffset":12096,"count":371}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyWrapper","ranges":[{"startOffset":11722,"endOffset":12052,"count":2},{"startOffset":11873,"endOffset":11910,"count":0},{"startOffset":11912,"endOffset":12051,"count":0}],"isBlockCoverage":true}]},{"scriptId":"272","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":82,"endOffset":745,"count":1}],"isBlockCoverage":true},{"functionName":"onUnhandledRejection","ranges":[{"startOffset":129,"endOffset":244,"count":0}],"isBlockCoverage":false},{"functionName":"onRejectionHandled","ranges":[{"startOffset":247,"endOffset":433,"count":0}],"isBlockCoverage":false},{"functionName":"currentlyUnhandled","ranges":[{"startOffset":436,"endOffset":599,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":501,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"273","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/array-find-index/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":462,"count":0}],"isBlockCoverage":false}]},{"scriptId":"274","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/now-and-timers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":501,"count":1}],"isBlockCoverage":true},{"functionName":"setCappedTimeout","ranges":[{"startOffset":313,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"275","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge2/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3241,"count":1}],"isBlockCoverage":true},{"functionName":"merge2","ranges":[{"startOffset":280,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"pauseStreams","ranges":[{"startOffset":2702,"endOffset":3240,"count":0}],"isBlockCoverage":false}]},{"scriptId":"276","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4091,"count":1},{"startOffset":3434,"endOffset":3452,"count":0}],"isBlockCoverage":true},{"functionName":"FastGlob","ranges":[{"startOffset":277,"endOffset":501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":612,"endOffset":3423,"count":1}],"isBlockCoverage":true},{"functionName":"sync","ranges":[{"startOffset":763,"endOffset":946,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":977,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":1503,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1795,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"escapePath","ranges":[{"startOffset":2060,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2217,"endOffset":2355,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2434,"endOffset":2864,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2461,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2644,"endOffset":2799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2936,"endOffset":3370,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2963,"endOffset":3100,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":3148,"endOffset":3305,"count":0}],"isBlockCoverage":false},{"functionName":"getWorks","ranges":[{"startOffset":3455,"endOffset":3751,"count":0}],"isBlockCoverage":false},{"functionName":"assertPatternsInput","ranges":[{"startOffset":3752,"endOffset":4063,"count":0}],"isBlockCoverage":false}]},{"scriptId":"277","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/managers/tasks.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5531,"count":1}],"isBlockCoverage":true},{"functionName":"generate","ranges":[{"startOffset":355,"endOffset":1133,"count":0}],"isBlockCoverage":false},{"functionName":"processPatterns","ranges":[{"startOffset":1163,"endOffset":2553,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToTasks","ranges":[{"startOffset":2825,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":4023,"endOffset":4121,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatternsAsPositive","ranges":[{"startOffset":4173,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"groupPatternsByBaseDirectory","ranges":[{"startOffset":4482,"endOffset":4868,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupsToTasks","ranges":[{"startOffset":4938,"endOffset":5147,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupToTask","ranges":[{"startOffset":5215,"endOffset":5467,"count":0}],"isBlockCoverage":false}]},{"scriptId":"278","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":596,"count":1}],"isBlockCoverage":true}]},{"scriptId":"279","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1}],"isBlockCoverage":true},{"functionName":"flatten","ranges":[{"startOffset":123,"endOffset":230,"count":0}],"isBlockCoverage":false},{"functionName":"splitWhen","ranges":[{"startOffset":258,"endOffset":576,"count":0}],"isBlockCoverage":false}]},{"scriptId":"280","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/errno.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":234,"count":1}],"isBlockCoverage":true},{"functionName":"isEnoentCodeError","ranges":[{"startOffset":113,"endOffset":186,"count":0}],"isBlockCoverage":false}]},{"scriptId":"281","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"282","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/path.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3010,"count":1},{"startOffset":2154,"endOffset":2173,"count":0},{"startOffset":2552,"endOffset":2581,"count":0}],"isBlockCoverage":true},{"functionName":"unixify","ranges":[{"startOffset":1352,"endOffset":1423,"count":0}],"isBlockCoverage":false},{"functionName":"makeAbsolute","ranges":[{"startOffset":1451,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"removeLeadingDotSegment","ranges":[{"startOffset":1569,"endOffset":2057,"count":0}],"isBlockCoverage":false},{"functionName":"escapeWindowsPath","ranges":[{"startOffset":2193,"endOffset":2303,"count":0}],"isBlockCoverage":false},{"functionName":"escapePosixPath","ranges":[{"startOffset":2351,"endOffset":2457,"count":0}],"isBlockCoverage":false},{"functionName":"convertWindowsPathToPattern","ranges":[{"startOffset":2611,"endOffset":2792,"count":0}],"isBlockCoverage":false},{"functionName":"convertPosixPathToPattern","ranges":[{"startOffset":2860,"endOffset":2946,"count":0}],"isBlockCoverage":false}]},{"scriptId":"283","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/pattern.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7965,"count":1}],"isBlockCoverage":true},{"functionName":"isStaticPattern","ranges":[{"startOffset":1465,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1608,"endOffset":2666,"count":0}],"isBlockCoverage":false},{"functionName":"hasBraceExpansion","ranges":[{"startOffset":2712,"endOffset":3145,"count":0}],"isBlockCoverage":false},{"functionName":"convertToPositivePattern","ranges":[{"startOffset":3146,"endOffset":3260,"count":0}],"isBlockCoverage":false},{"functionName":"convertToNegativePattern","ranges":[{"startOffset":3322,"endOffset":3394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":3456,"endOffset":3553,"count":0}],"isBlockCoverage":false},{"functionName":"isPositivePattern","ranges":[{"startOffset":3601,"endOffset":3680,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatterns","ranges":[{"startOffset":3728,"endOffset":3817,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":3869,"endOffset":3958,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsInsideCurrentDirectory","ranges":[{"startOffset":4205,"endOffset":4347,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsOutsideCurrentDirectory","ranges":[{"startOffset":4631,"endOffset":4751,"count":0}],"isBlockCoverage":false},{"functionName":"isPatternRelatedToParentDirectory","ranges":[{"startOffset":4833,"endOffset":4955,"count":0}],"isBlockCoverage":false},{"functionName":"getBaseDirectory","ranges":[{"startOffset":5035,"endOffset":5133,"count":0}],"isBlockCoverage":false},{"functionName":"hasGlobStar","ranges":[{"startOffset":5179,"endOffset":5251,"count":0}],"isBlockCoverage":false},{"functionName":"endsWithSlashGlobStar","ranges":[{"startOffset":5287,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"isAffectDepthOfReadingPattern","ranges":[{"startOffset":5431,"endOffset":5599,"count":0}],"isBlockCoverage":false},{"functionName":"expandPatternsWithBraceExpansion","ranges":[{"startOffset":5671,"endOffset":5857,"count":0}],"isBlockCoverage":false},{"functionName":"expandBraceExpansion","ranges":[{"startOffset":5935,"endOffset":6463,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternParts","ranges":[{"startOffset":6517,"endOffset":7150,"count":0}],"isBlockCoverage":false},{"functionName":"makeRe","ranges":[{"startOffset":7194,"endOffset":7279,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToRe","ranges":[{"startOffset":7305,"endOffset":7420,"count":0}],"isBlockCoverage":false},{"functionName":"matchAny","ranges":[{"startOffset":7472,"endOffset":7578,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateSlashes","ranges":[{"startOffset":7813,"endOffset":7907,"count":0}],"isBlockCoverage":false}]},{"scriptId":"284","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/glob-parent/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1120,"count":1}],"isBlockCoverage":true},{"functionName":"globParent","ranges":[{"startOffset":461,"endOffset":1118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"285","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3628,"count":1}],"isBlockCoverage":true},{"functionName":"strictCheck","ranges":[{"startOffset":247,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"relaxedCheck","ranges":[{"startOffset":2767,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"isGlob","ranges":[{"startOffset":3324,"endOffset":3626,"count":0}],"isBlockCoverage":false}]},{"scriptId":"286","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-extglob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"isExtglob","ranges":[{"startOffset":168,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"287","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/micromatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13741,"count":1}],"isBlockCoverage":true},{"functionName":"isEmptyString","ranges":[{"startOffset":187,"endOffset":220,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch","ranges":[{"startOffset":784,"endOffset":2129,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matcher","ranges":[{"startOffset":2781,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.isMatch","ranges":[{"startOffset":3440,"endOffset":3501,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.not","ranges":[{"startOffset":4203,"endOffset":4640,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.contains","ranges":[{"startOffset":5367,"endOffset":5928,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matchKeys","ranges":[{"startOffset":6706,"endOffset":6980,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.some","ranges":[{"startOffset":7765,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.every","ranges":[{"startOffset":8890,"endOffset":9146,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.all","ranges":[{"startOffset":9947,"endOffset":10155,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.capture","ranges":[{"startOffset":10869,"endOffset":11165,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.makeRe","ranges":[{"startOffset":11617,"endOffset":11655,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.scan","ranges":[{"startOffset":12004,"endOffset":12040,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.parse","ranges":[{"startOffset":12432,"endOffset":12652,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braces","ranges":[{"startOffset":13219,"endOffset":13456,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braceExpand","ranges":[{"startOffset":13510,"endOffset":13679,"count":0}],"isBlockCoverage":false}]},{"scriptId":"288","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4375,"count":1}],"isBlockCoverage":true},{"functionName":"braces","ranges":[{"startOffset":543,"endOffset":1030,"count":0}],"isBlockCoverage":false},{"functionName":"braces.parse","ranges":[{"startOffset":1359,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"braces.stringify","ranges":[{"startOffset":1795,"endOffset":1959,"count":0}],"isBlockCoverage":false},{"functionName":"braces.compile","ranges":[{"startOffset":2407,"endOffset":2550,"count":0}],"isBlockCoverage":false},{"functionName":"braces.expand","ranges":[{"startOffset":3141,"endOffset":3541,"count":0}],"isBlockCoverage":false},{"functionName":"braces.create","ranges":[{"startOffset":4118,"endOffset":4319,"count":0}],"isBlockCoverage":false}]},{"scriptId":"289","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/stringify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":700,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":67,"endOffset":697,"count":0}],"isBlockCoverage":false}]},{"scriptId":"290","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2451,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isInteger","ranges":[{"startOffset":35,"endOffset":232,"count":0}],"isBlockCoverage":false},{"functionName":"exports.find","ranges":[{"startOffset":292,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"exports.exceedsLimit","ranges":[{"startOffset":419,"endOffset":626,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeNode","ranges":[{"startOffset":712,"endOffset":985,"count":0}],"isBlockCoverage":false},{"functionName":"exports.encloseBrace","ranges":[{"startOffset":1097,"endOffset":1266,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isInvalidBrace","ranges":[{"startOffset":1347,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isOpenOrClose","ranges":[{"startOffset":1767,"endOffset":1906,"count":0}],"isBlockCoverage":false},{"functionName":"exports.reduce","ranges":[{"startOffset":1969,"endOffset":2127,"count":0}],"isBlockCoverage":false},{"functionName":"exports.flatten","ranges":[{"startOffset":2177,"endOffset":2449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"291","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/compile.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1415,"count":1}],"isBlockCoverage":true},{"functionName":"compile","ranges":[{"startOffset":102,"endOffset":1386,"count":0}],"isBlockCoverage":false}]},{"scriptId":"292","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fill-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6315,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":265,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"transform","ranges":[{"startOffset":355,"endOffset":439,"count":0}],"isBlockCoverage":false},{"functionName":"isValidValue","ranges":[{"startOffset":463,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":578,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"zeros","ranges":[{"startOffset":624,"endOffset":817,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":838,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":1001,"endOffset":1295,"count":0}],"isBlockCoverage":false},{"functionName":"toMaxLen","ranges":[{"startOffset":1315,"endOffset":1552,"count":0}],"isBlockCoverage":false},{"functionName":"toSequence","ranges":[{"startOffset":1574,"endOffset":2208,"count":0}],"isBlockCoverage":false},{"functionName":"toRange","ranges":[{"startOffset":2227,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"toRegex","ranges":[{"startOffset":2499,"endOffset":2758,"count":0}],"isBlockCoverage":false},{"functionName":"rangeError","ranges":[{"startOffset":2780,"endOffset":2874,"count":0}],"isBlockCoverage":false},{"functionName":"invalidRange","ranges":[{"startOffset":2898,"endOffset":3008,"count":0}],"isBlockCoverage":false},{"functionName":"invalidStep","ranges":[{"startOffset":3031,"endOffset":3176,"count":0}],"isBlockCoverage":false},{"functionName":"fillNumbers","ranges":[{"startOffset":3199,"endOffset":4682,"count":0}],"isBlockCoverage":false},{"functionName":"fillLetters","ranges":[{"startOffset":4705,"endOffset":5486,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":5502,"endOffset":6289,"count":0}],"isBlockCoverage":false}]},{"scriptId":"293","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/to-regex-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6481,"count":1}],"isBlockCoverage":true},{"functionName":"toRegexRange","ranges":[{"startOffset":235,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"collatePatterns","ranges":[{"startOffset":2180,"endOffset":2554,"count":0}],"isBlockCoverage":false},{"functionName":"splitToRanges","ranges":[{"startOffset":2556,"endOffset":3037,"count":0}],"isBlockCoverage":false},{"functionName":"rangeToPattern","ranges":[{"startOffset":3159,"endOffset":3832,"count":0}],"isBlockCoverage":false},{"functionName":"splitToPatterns","ranges":[{"startOffset":3834,"endOffset":4632,"count":0}],"isBlockCoverage":false},{"functionName":"filterPatterns","ranges":[{"startOffset":4634,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"zip","ranges":[{"startOffset":5120,"endOffset":5233,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":5235,"endOffset":5298,"count":0}],"isBlockCoverage":false},{"functionName":"contains","ranges":[{"startOffset":5300,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"countNines","ranges":[{"startOffset":5382,"endOffset":5478,"count":0}],"isBlockCoverage":false},{"functionName":"countZeros","ranges":[{"startOffset":5480,"endOffset":5571,"count":0}],"isBlockCoverage":false},{"functionName":"toQuantifier","ranges":[{"startOffset":5573,"endOffset":5741,"count":0}],"isBlockCoverage":false},{"functionName":"toCharacterClass","ranges":[{"startOffset":5743,"endOffset":5837,"count":0}],"isBlockCoverage":false},{"functionName":"hasPadding","ranges":[{"startOffset":5839,"endOffset":5899,"count":0}],"isBlockCoverage":false},{"functionName":"padZeros","ranges":[{"startOffset":5901,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"toRegexRange.clearCache","ranges":[{"startOffset":6382,"endOffset":6413,"count":0}],"isBlockCoverage":false}]},{"scriptId":"294","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-number/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":411,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":184,"endOffset":409,"count":0}],"isBlockCoverage":false}]},{"scriptId":"295","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/expand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2780,"count":1}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":143,"endOffset":810,"count":0}],"isBlockCoverage":false},{"functionName":"expand","ranges":[{"startOffset":828,"endOffset":2752,"count":0}],"isBlockCoverage":false}]},{"scriptId":"296","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6913,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":576,"endOffset":6886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"297","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"298","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":60,"count":1}],"isBlockCoverage":true}]},{"scriptId":"299","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/picomatch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9956,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":204,"endOffset":264,"count":18},{"startOffset":242,"endOffset":264,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch","ranges":[{"startOffset":1018,"endOffset":2836,"count":19},{"startOffset":1087,"endOffset":1365,"count":1},{"startOffset":1365,"endOffset":1400,"count":18},{"startOffset":1400,"endOffset":1414,"count":0},{"startOffset":1415,"endOffset":1428,"count":0},{"startOffset":1449,"endOffset":1490,"count":18},{"startOffset":1478,"endOffset":1489,"count":0},{"startOffset":1492,"endOffset":1567,"count":0},{"startOffset":1567,"endOffset":1597,"count":18},{"startOffset":1669,"endOffset":1705,"count":0},{"startOffset":1710,"endOffset":1756,"count":18},{"startOffset":1861,"endOffset":2015,"count":0},{"startOffset":2015,"endOffset":2783,"count":18},{"startOffset":2783,"endOffset":2815,"count":0},{"startOffset":2815,"endOffset":2835,"count":18}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1114,"endOffset":1161,"count":18}],"isBlockCoverage":true},{"functionName":"arrayMatcher","ranges":[{"startOffset":1189,"endOffset":1335,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnored","ranges":[{"startOffset":1829,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2035,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.test","ranges":[{"startOffset":3384,"endOffset":4185,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.matchBase","ranges":[{"startOffset":4600,"endOffset":4787,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.isMatch","ranges":[{"startOffset":5423,"endOffset":5484,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.parse","ranges":[{"startOffset":5894,"endOffset":6062,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.scan","ranges":[{"startOffset":6697,"endOffset":6737,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.compileRe","ranges":[{"startOffset":7228,"endOffset":7738,"count":18},{"startOffset":7322,"endOffset":7352,"count":0},{"startOffset":7377,"endOffset":7382,"count":0},{"startOffset":7416,"endOffset":7420,"count":0},{"startOffset":7459,"endOffset":7463,"count":0},{"startOffset":7568,"endOffset":7607,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch.makeRe","ranges":[{"startOffset":8611,"endOffset":9117,"count":18},{"startOffset":8724,"endOffset":8785,"count":0},{"startOffset":8895,"endOffset":8914,"count":8},{"startOffset":8917,"endOffset":8975,"count":12}],"isBlockCoverage":true},{"functionName":"picomatch.toRegex","ranges":[{"startOffset":9579,"endOffset":9807,"count":18},{"startOffset":9635,"endOffset":9640,"count":0},{"startOffset":9699,"endOffset":9704,"count":0},{"startOffset":9717,"endOffset":9805,"count":0}],"isBlockCoverage":true}]},{"scriptId":"300","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/scan.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9189,"count":1}],"isBlockCoverage":true},{"functionName":"isPathSeparator","ranges":[{"startOffset":665,"endOffset":746,"count":0}],"isBlockCoverage":false},{"functionName":"depth","ranges":[{"startOffset":763,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"scan","ranges":[{"startOffset":1512,"endOffset":9163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"301","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1885,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isObject","ranges":[{"startOffset":242,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"exports.hasRegexChars","ranges":[{"startOffset":337,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isRegexChar","ranges":[{"startOffset":397,"endOffset":450,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeRegex","ranges":[{"startOffset":474,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"exports.toPosixSlashes","ranges":[{"startOffset":555,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removeBackslashes","ranges":[{"startOffset":626,"endOffset":738,"count":0}],"isBlockCoverage":false},{"functionName":"exports.supportsLookbehinds","ranges":[{"startOffset":771,"endOffset":960,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isWindows","ranges":[{"startOffset":983,"endOffset":1132,"count":48},{"startOffset":1010,"endOffset":1049,"count":30},{"startOffset":1051,"endOffset":1084,"count":0}],"isBlockCoverage":true},{"functionName":"exports.escapeLast","ranges":[{"startOffset":1156,"endOffset":1401,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removePrefix","ranges":[{"startOffset":1427,"endOffset":1584,"count":30},{"startOffset":1505,"endOffset":1565,"count":0}],"isBlockCoverage":true},{"functionName":"exports.wrapOutput","ranges":[{"startOffset":1608,"endOffset":1883,"count":8},{"startOffset":1682,"endOffset":1686,"count":0},{"startOffset":1728,"endOffset":1732,"count":0},{"startOffset":1821,"endOffset":1864,"count":0}],"isBlockCoverage":true}]},{"scriptId":"302","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4448,"count":1}],"isBlockCoverage":true},{"functionName":"extglobChars","ranges":[{"startOffset":3985,"endOffset":4324,"count":18}],"isBlockCoverage":true},{"functionName":"globChars","ranges":[{"startOffset":4365,"endOffset":4444,"count":30},{"startOffset":4410,"endOffset":4425,"count":0}],"isBlockCoverage":true}]},{"scriptId":"303","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27763,"count":1}],"isBlockCoverage":true},{"functionName":"expandRange","ranges":[{"startOffset":287,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"syntaxError","ranges":[{"startOffset":713,"endOffset":819,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":950,"endOffset":25216,"count":18},{"startOffset":1005,"endOffset":1056,"count":0},{"startOffset":1179,"endOffset":1217,"count":0},{"startOffset":1276,"endOffset":1372,"count":0},{"startOffset":1500,"endOffset":1504,"count":0},{"startOffset":2109,"endOffset":2113,"count":0},{"startOffset":2154,"endOffset":2161,"count":0},{"startOffset":2210,"endOffset":2226,"count":0},{"startOffset":2256,"endOffset":2285,"count":0},{"startOffset":2357,"endOffset":2395,"count":0},{"startOffset":6907,"endOffset":8130,"count":8},{"startOffset":7704,"endOffset":7937,"count":0},{"startOffset":7964,"endOffset":7989,"count":3},{"startOffset":7991,"endOffset":8046,"count":0},{"startOffset":8130,"endOffset":8211,"count":10},{"startOffset":8211,"endOffset":24093,"count":55},{"startOffset":8265,"endOffset":8288,"count":0},{"startOffset":8357,"endOffset":9173,"count":0},{"startOffset":9319,"endOffset":9382,"count":0},{"startOffset":9384,"endOffset":10516,"count":0},{"startOffset":10659,"endOffset":10675,"count":0},{"startOffset":10677,"endOffset":10792,"count":0},{"startOffset":10855,"endOffset":11012,"count":0},{"startOffset":11073,"endOffset":11161,"count":0},{"startOffset":11186,"endOffset":11621,"count":0},{"startOffset":11686,"endOffset":12045,"count":0},{"startOffset":12070,"endOffset":13525,"count":0},{"startOffset":13580,"endOffset":13604,"count":0},{"startOffset":13606,"endOffset":13873,"count":0},{"startOffset":13898,"endOffset":15028,"count":0},{"startOffset":15083,"endOffset":15236,"count":0},{"startOffset":15292,"endOffset":15553,"count":0},{"startOffset":15610,"endOffset":16220,"count":9},{"startOffset":15901,"endOffset":15935,"count":0},{"startOffset":15937,"endOffset":16136,"count":0},{"startOffset":16220,"endOffset":16274,"count":46},{"startOffset":16274,"endOffset":16840,"count":5},{"startOffset":16303,"endOffset":16325,"count":0},{"startOffset":16327,"endOffset":16576,"count":0},{"startOffset":16647,"endOffset":16671,"count":0},{"startOffset":16673,"endOffset":16760,"count":0},{"startOffset":16840,"endOffset":16904,"count":41},{"startOffset":16904,"endOffset":17841,"count":0},{"startOffset":17841,"endOffset":17902,"count":41},{"startOffset":17902,"endOffset":18202,"count":0},{"startOffset":18202,"endOffset":18256,"count":41},{"startOffset":18256,"endOffset":18806,"count":0},{"startOffset":18806,"endOffset":18866,"count":41},{"startOffset":18866,"endOffset":19091,"count":0},{"startOffset":19091,"endOffset":19151,"count":41},{"startOffset":19151,"endOffset":19452,"count":10},{"startOffset":19195,"endOffset":19234,"count":0},{"startOffset":19452,"endOffset":19548,"count":31},{"startOffset":19550,"endOffset":19757,"count":0},{"startOffset":19757,"endOffset":19842,"count":31},{"startOffset":19844,"endOffset":19901,"count":0},{"startOffset":19901,"endOffset":19933,"count":31},{"startOffset":19933,"endOffset":23132,"count":11},{"startOffset":19971,"endOffset":20022,"count":0},{"startOffset":20133,"endOffset":20156,"count":2},{"startOffset":20189,"endOffset":20246,"count":9},{"startOffset":20278,"endOffset":20323,"count":0},{"startOffset":20325,"endOffset":20403,"count":0},{"startOffset":20444,"endOffset":20497,"count":0},{"startOffset":20539,"endOffset":20591,"count":0},{"startOffset":20612,"endOffset":20637,"count":0},{"startOffset":20638,"endOffset":20649,"count":0},{"startOffset":20650,"endOffset":20663,"count":0},{"startOffset":20665,"endOffset":20743,"count":0},{"startOffset":20820,"endOffset":20997,"count":0},{"startOffset":21030,"endOffset":21038,"count":2},{"startOffset":21040,"endOffset":21257,"count":0},{"startOffset":21292,"endOffset":21320,"count":9},{"startOffset":21321,"endOffset":21334,"count":9},{"startOffset":21335,"endOffset":21343,"count":9},{"startOffset":21345,"endOffset":21745,"count":0},{"startOffset":21780,"endOffset":21808,"count":9},{"startOffset":21809,"endOffset":21827,"count":9},{"startOffset":21829,"endOffset":22362,"count":9},{"startOffset":21877,"endOffset":21881,"count":0},{"startOffset":22362,"endOffset":22413,"count":2},{"startOffset":22415,"endOffset":22745,"count":2},{"startOffset":22745,"endOffset":23132,"count":0},{"startOffset":23132,"endOffset":23220,"count":20},{"startOffset":23220,"endOffset":23401,"count":0},{"startOffset":23401,"endOffset":23469,"count":20},{"startOffset":23470,"endOffset":23492,"count":0},{"startOffset":23494,"endOffset":23564,"count":0},{"startOffset":23564,"endOffset":23602,"count":20},{"startOffset":23602,"endOffset":23626,"count":18},{"startOffset":23627,"endOffset":23649,"count":0},{"startOffset":23651,"endOffset":24071,"count":20},{"startOffset":23684,"endOffset":23769,"count":0},{"startOffset":23798,"endOffset":23885,"count":0},{"startOffset":23989,"endOffset":24065,"count":9},{"startOffset":24071,"endOffset":24093,"count":20},{"startOffset":24093,"endOffset":24124,"count":10},{"startOffset":24124,"endOffset":24302,"count":0},{"startOffset":24302,"endOffset":24331,"count":10},{"startOffset":24331,"endOffset":24507,"count":0},{"startOffset":24507,"endOffset":24536,"count":10},{"startOffset":24536,"endOffset":24712,"count":0},{"startOffset":24712,"endOffset":24800,"count":10},{"startOffset":24773,"endOffset":24799,"count":1},{"startOffset":24802,"endOffset":24882,"count":9},{"startOffset":24882,"endOffset":24976,"count":10},{"startOffset":24976,"endOffset":25197,"count":0},{"startOffset":25197,"endOffset":25215,"count":10}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":1977,"endOffset":2081,"count":11},{"startOffset":2042,"endOffset":2054,"count":0}],"isBlockCoverage":true},{"functionName":"eos","ranges":[{"startOffset":2889,"endOffset":2918,"count":76}],"isBlockCoverage":true},{"functionName":"state.peek","ranges":[{"startOffset":2948,"endOffset":2981,"count":20}],"isBlockCoverage":true},{"functionName":"state.advance","ranges":[{"startOffset":3017,"endOffset":3049,"count":66},{"startOffset":3044,"endOffset":3049,"count":0}],"isBlockCoverage":true},{"functionName":"remaining","ranges":[{"startOffset":3071,"endOffset":3105,"count":41}],"isBlockCoverage":true},{"functionName":"consume","ranges":[{"startOffset":3125,"endOffset":3208,"count":75}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":3228,"endOffset":3339,"count":64},{"startOffset":3280,"endOffset":3294,"count":54},{"startOffset":3295,"endOffset":3308,"count":10}],"isBlockCoverage":true},{"functionName":"negate","ranges":[{"startOffset":3359,"endOffset":3635,"count":0}],"isBlockCoverage":false},{"functionName":"increment","ranges":[{"startOffset":3658,"endOffset":3712,"count":0}],"isBlockCoverage":false},{"functionName":"decrement","ranges":[{"startOffset":3735,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":4109,"endOffset":5036,"count":64},{"startOffset":4152,"endOffset":4644,"count":11},{"startOffset":4193,"endOffset":4242,"count":0},{"startOffset":4309,"endOffset":4357,"count":0},{"startOffset":4392,"endOffset":4415,"count":0},{"startOffset":4416,"endOffset":4427,"count":0},{"startOffset":4428,"endOffset":4441,"count":0},{"startOffset":4443,"endOffset":4638,"count":0},{"startOffset":4670,"endOffset":4693,"count":0},{"startOffset":4695,"endOffset":4758,"count":0},{"startOffset":4778,"endOffset":4791,"count":9},{"startOffset":4843,"endOffset":4865,"count":9},{"startOffset":4867,"endOffset":4972,"count":0}],"isBlockCoverage":true},{"functionName":"extglobOpen","ranges":[{"startOffset":5061,"endOffset":5492,"count":0}],"isBlockCoverage":false},{"functionName":"extglobClose","ranges":[{"startOffset":5518,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6999,"endOffset":7670,"count":6},{"startOffset":7066,"endOffset":7121,"count":0},{"startOffset":7148,"endOffset":7409,"count":0},{"startOffset":7436,"endOffset":7494,"count":5},{"startOffset":7494,"endOffset":7521,"count":1},{"startOffset":7521,"endOffset":7631,"count":0},{"startOffset":7631,"endOffset":7649,"count":1},{"startOffset":7649,"endOffset":7652,"count":0},{"startOffset":7653,"endOffset":7663,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7841,"endOffset":7921,"count":0}],"isBlockCoverage":false},{"functionName":"parse.fastpaths","ranges":[{"startOffset":25439,"endOffset":27736,"count":12},{"startOffset":25541,"endOffset":25579,"count":0},{"startOffset":25639,"endOffset":25735,"count":0},{"startOffset":26089,"endOffset":26098,"count":0},{"startOffset":26137,"endOffset":26152,"count":0},{"startOffset":26194,"endOffset":26198,"count":0},{"startOffset":26287,"endOffset":26294,"count":0},{"startOffset":26324,"endOffset":26353,"count":0},{"startOffset":27644,"endOffset":27674,"count":0},{"startOffset":27676,"endOffset":27716,"count":0}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":26374,"endOffset":26525,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":26545,"endOffset":27545,"count":16},{"startOffset":26579,"endOffset":26633,"count":0},{"startOffset":26641,"endOffset":26702,"count":0},{"startOffset":26710,"endOffset":26787,"count":0},{"startOffset":26795,"endOffset":26885,"count":0},{"startOffset":26893,"endOffset":26942,"count":0},{"startOffset":26950,"endOffset":27056,"count":0},{"startOffset":27064,"endOffset":27193,"count":0},{"startOffset":27201,"endOffset":27311,"count":0},{"startOffset":27400,"endOffset":27407,"count":12},{"startOffset":27407,"endOffset":27478,"count":4},{"startOffset":27478,"endOffset":27535,"count":0}],"isBlockCoverage":true}]},{"scriptId":"304","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":629,"count":1}],"isBlockCoverage":true},{"functionName":"merge","ranges":[{"startOffset":135,"endOffset":499,"count":0}],"isBlockCoverage":false},{"functionName":"propagateCloseEventToSources","ranges":[{"startOffset":523,"endOffset":628,"count":0}],"isBlockCoverage":false}]},{"scriptId":"305","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":298,"count":1}],"isBlockCoverage":true},{"functionName":"isString","ranges":[{"startOffset":122,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"isEmpty","ranges":[{"startOffset":218,"endOffset":270,"count":0}],"isBlockCoverage":false}]},{"scriptId":"306","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":814,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderAsync","ranges":[{"startOffset":217,"endOffset":327,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":332,"endOffset":587,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":592,"endOffset":778,"count":0}],"isBlockCoverage":false}]},{"scriptId":"307","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1213,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderAsync","ranges":[{"startOffset":246,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":407,"endOffset":750,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":755,"endOffset":1179,"count":0}],"isBlockCoverage":false}]},{"scriptId":"308","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"walk","ranges":[{"startOffset":378,"endOffset":710,"count":0}],"isBlockCoverage":false},{"functionName":"walkSync","ranges":[{"startOffset":732,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"walkStream","ranges":[{"startOffset":956,"endOffset":1154,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":1188,"endOffset":1389,"count":0}],"isBlockCoverage":false}]},{"scriptId":"309","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":895,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncProvider","ranges":[{"startOffset":148,"endOffset":349,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":354,"endOffset":707,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":743,"endOffset":813,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":814,"endOffset":894,"count":0}],"isBlockCoverage":false}]},{"scriptId":"310","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3157,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncReader","ranges":[{"startOffset":318,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":821,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"get isDestroyed","ranges":[{"startOffset":1050,"endOffset":1109,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":1114,"endOffset":1308,"count":0}],"isBlockCoverage":false},{"functionName":"onEntry","ranges":[{"startOffset":1313,"endOffset":1383,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":1388,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"onEnd","ranges":[{"startOffset":1465,"endOffset":1533,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":1538,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_worker","ranges":[{"startOffset":1778,"endOffset":2168,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":2173,"endOffset":2423,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":2428,"endOffset":3049,"count":0}],"isBlockCoverage":false},{"functionName":"_emitEntry","ranges":[{"startOffset":3054,"endOffset":3123,"count":0}],"isBlockCoverage":false}]},{"scriptId":"311","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1009,"count":1}],"isBlockCoverage":true},{"functionName":"scandir","ranges":[{"startOffset":311,"endOffset":603,"count":0}],"isBlockCoverage":false},{"functionName":"scandirSync","ranges":[{"startOffset":631,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":807,"endOffset":1008,"count":0}],"isBlockCoverage":false}]},{"scriptId":"312","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3686,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":346,"endOffset":598,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":620,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"makeRplTaskEntry","ranges":[{"startOffset":1625,"endOffset":2247,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":2248,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":3536,"endOffset":3606,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":3607,"endOffset":3685,"count":0}],"isBlockCoverage":false}]},{"scriptId":"313","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"stat","ranges":[{"startOffset":305,"endOffset":594,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":616,"endOffset":753,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":783,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"314","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":1000,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":1022,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":1093,"endOffset":1171,"count":0}],"isBlockCoverage":false}]},{"scriptId":"315","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":619,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"316","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":696,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":135,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":563,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"317","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":305,"endOffset":522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"318","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/run-parallel/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1034,"count":1}],"isBlockCoverage":true},{"functionName":"runParallel","ranges":[{"startOffset":167,"endOffset":1033,"count":0}],"isBlockCoverage":false}]},{"scriptId":"319","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/queue-microtask/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":402,"count":1},{"startOffset":210,"endOffset":218,"count":0},{"startOffset":283,"endOffset":401,"count":0}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":285,"endOffset":401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"320","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":990,"count":1},{"startOffset":295,"endOffset":424,"count":0},{"startOffset":794,"endOffset":837,"count":0},{"startOffset":956,"endOffset":988,"count":0}],"isBlockCoverage":true}]},{"scriptId":"321","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":143,"count":1}],"isBlockCoverage":true}]},{"scriptId":"322","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"323","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":419,"count":1}],"isBlockCoverage":true},{"functionName":"joinPathSegments","ranges":[{"startOffset":112,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"324","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1990,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":309,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":551,"endOffset":1357,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":1411,"endOffset":1962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"325","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1076,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":209,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":943,"endOffset":1045,"count":0}],"isBlockCoverage":false}]},{"scriptId":"326","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":640,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":363,"endOffset":580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"327","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fastq/queue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5617,"count":1}],"isBlockCoverage":true},{"functionName":"fastqueue","ranges":[{"startOffset":77,"endOffset":3391,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":3393,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"Task","ranges":[{"startOffset":3414,"endOffset":3917,"count":0}],"isBlockCoverage":false},{"functionName":"queueAsPromised","ranges":[{"startOffset":3919,"endOffset":5547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"328","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/reusify/reusify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"reusify","ranges":[{"startOffset":14,"endOffset":427,"count":0}],"isBlockCoverage":false}]},{"scriptId":"329","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1052,"count":1}],"isBlockCoverage":true},{"functionName":"isFatalError","ranges":[{"startOffset":199,"endOffset":350,"count":0}],"isBlockCoverage":false},{"functionName":"isAppliedFilter","ranges":[{"startOffset":388,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"replacePathSegmentSeparator","ranges":[{"startOffset":520,"endOffset":633,"count":0}],"isBlockCoverage":false},{"functionName":"joinPathSegments","ranges":[{"startOffset":701,"endOffset":1006,"count":0}],"isBlockCoverage":false}]},{"scriptId":"330","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":358,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":132,"endOffset":329,"count":0}],"isBlockCoverage":false}]},{"scriptId":"331","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1021,"count":1}],"isBlockCoverage":true},{"functionName":"StreamProvider","ranges":[{"startOffset":185,"endOffset":630,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":635,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"332","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":407,"count":1}],"isBlockCoverage":true},{"functionName":"SyncProvider","ranges":[{"startOffset":145,"endOffset":317,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":322,"endOffset":372,"count":0}],"isBlockCoverage":false}]},{"scriptId":"333","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1911,"count":1}],"isBlockCoverage":true},{"functionName":"SyncReader","ranges":[{"startOffset":249,"endOffset":407,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":412,"endOffset":549,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":554,"endOffset":637,"count":0}],"isBlockCoverage":false},{"functionName":"_handleQueue","ranges":[{"startOffset":642,"endOffset":787,"count":0}],"isBlockCoverage":false},{"functionName":"_handleDirectory","ranges":[{"startOffset":792,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":1127,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":1269,"endOffset":1809,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToStorage","ranges":[{"startOffset":1814,"endOffset":1878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"334","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1250,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":178,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":1117,"endOffset":1219,"count":0}],"isBlockCoverage":false}]},{"scriptId":"335","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1063,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":205,"endOffset":518,"count":0}],"isBlockCoverage":false},{"functionName":"_getFullEntryPath","ranges":[{"startOffset":523,"endOffset":617,"count":0}],"isBlockCoverage":false},{"functionName":"_makeEntry","ranges":[{"startOffset":622,"endOffset":913,"count":0}],"isBlockCoverage":false},{"functionName":"_isFatalError","ranges":[{"startOffset":918,"endOffset":1034,"count":0}],"isBlockCoverage":false}]},{"scriptId":"336","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1870,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderStream","ranges":[{"startOffset":289,"endOffset":419,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":424,"endOffset":502,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":513,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":1275,"endOffset":1579,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1584,"endOffset":1835,"count":0}],"isBlockCoverage":false}]},{"scriptId":"337","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/provider.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2000,"count":1}],"isBlockCoverage":true},{"functionName":"Provider","ranges":[{"startOffset":307,"endOffset":692,"count":0}],"isBlockCoverage":false},{"functionName":"_getRootDirectory","ranges":[{"startOffset":697,"endOffset":788,"count":0}],"isBlockCoverage":false},{"functionName":"_getReaderOptions","ranges":[{"startOffset":793,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"_getMicromatchOptions","ranges":[{"startOffset":1559,"endOffset":1969,"count":0}],"isBlockCoverage":false}]},{"scriptId":"338","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/deep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2466,"count":1}],"isBlockCoverage":true},{"functionName":"DeepFilter","ranges":[{"startOffset":188,"endOffset":328,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":333,"endOffset":576,"count":0}],"isBlockCoverage":false},{"functionName":"_getMatcher","ranges":[{"startOffset":581,"endOffset":699,"count":0}],"isBlockCoverage":false},{"functionName":"_getNegativePatternsRe","ranges":[{"startOffset":704,"endOffset":956,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":961,"endOffset":1444,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByDeep","ranges":[{"startOffset":1449,"endOffset":1754,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntryLevel","ranges":[{"startOffset":1759,"endOffset":2043,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedSymbolicLink","ranges":[{"startOffset":2048,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByPositivePatterns","ranges":[{"startOffset":2175,"endOffset":2306,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByNegativePatterns","ranges":[{"startOffset":2311,"endOffset":2433,"count":0}],"isBlockCoverage":false}]},{"scriptId":"339","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/partial.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1421,"count":1}],"isBlockCoverage":true},{"functionName":"match","ranges":[{"startOffset":170,"endOffset":1384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"340","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1568,"count":1}],"isBlockCoverage":true},{"functionName":"Matcher","ranges":[{"startOffset":135,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"_fillStorage","ranges":[{"startOffset":384,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"_getPatternSegments","ranges":[{"startOffset":778,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"_splitSegmentsIntoSections","ranges":[{"startOffset":1370,"endOffset":1538,"count":0}],"isBlockCoverage":false}]},{"scriptId":"341","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2686,"count":1}],"isBlockCoverage":true},{"functionName":"EntryFilter","ranges":[{"startOffset":139,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":316,"endOffset":667,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":672,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"_isDuplicateEntry","ranges":[{"startOffset":1473,"endOffset":1549,"count":0}],"isBlockCoverage":false},{"functionName":"_createIndexRecord","ranges":[{"startOffset":1554,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyFileFilter","ranges":[{"startOffset":1640,"endOffset":1737,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyDirectoryFilter","ranges":[{"startOffset":1742,"endOffset":1855,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByAbsoluteNegativePatterns","ranges":[{"startOffset":1860,"endOffset":2145,"count":0}],"isBlockCoverage":false},{"functionName":"_isMatchToPatterns","ranges":[{"startOffset":2150,"endOffset":2652,"count":0}],"isBlockCoverage":false}]},{"scriptId":"342","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"ErrorFilter","ranges":[{"startOffset":139,"endOffset":205,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":210,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"_isNonFatalError","ranges":[{"startOffset":290,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"343","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/transformers/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":845,"count":1}],"isBlockCoverage":true},{"functionName":"EntryTransformer","ranges":[{"startOffset":144,"endOffset":210,"count":0}],"isBlockCoverage":false},{"functionName":"getTransformer","ranges":[{"startOffset":215,"endOffset":289,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":294,"endOffset":806,"count":0}],"isBlockCoverage":false}]},{"scriptId":"344","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1198,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderStream","ranges":[{"startOffset":256,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":372,"endOffset":970,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":975,"endOffset":1161,"count":0}],"isBlockCoverage":false}]},{"scriptId":"345","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":779,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderSync","ranges":[{"startOffset":214,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":328,"endOffset":553,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":558,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"346","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1330,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderSync","ranges":[{"startOffset":251,"endOffset":385,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":390,"endOffset":466,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":477,"endOffset":878,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":883,"endOffset":1203,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1208,"endOffset":1297,"count":0}],"isBlockCoverage":false}]},{"scriptId":"347","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2849,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":645,"endOffset":2584,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":2589,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"_getFileSystemMethods","ranges":[{"startOffset":2680,"endOffset":2818,"count":0}],"isBlockCoverage":false}]},{"scriptId":"348","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/dir-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2304,"count":1}],"isBlockCoverage":true},{"functionName":"getExtensions","ranges":[{"startOffset":106,"endOffset":187,"count":0}],"isBlockCoverage":false},{"functionName":"getPath","ranges":[{"startOffset":206,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"addExtensions","ranges":[{"startOffset":376,"endOffset":506,"count":0}],"isBlockCoverage":false},{"functionName":"getGlob","ranges":[{"startOffset":525,"endOffset":1324,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1344,"endOffset":1852,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.sync","ranges":[{"startOffset":1877,"endOffset":2302,"count":0}],"isBlockCoverage":false}]},{"scriptId":"349","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-type/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":true},{"functionName":"isType","ranges":[{"startOffset":78,"endOffset":444,"count":0}],"isBlockCoverage":false},{"functionName":"isTypeSync","ranges":[{"startOffset":446,"endOffset":770,"count":0}],"isBlockCoverage":false}]},{"scriptId":"350","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16073,"count":1},{"startOffset":15630,"endOffset":16072,"count":0}],"isBlockCoverage":true},{"functionName":"makeArray","ranges":[{"startOffset":41,"endOffset":135,"count":0}],"isBlockCoverage":false},{"functionName":"define","ranges":[{"startOffset":813,"endOffset":882,"count":0}],"isBlockCoverage":false},{"functionName":"RETURN_FALSE","ranges":[{"startOffset":952,"endOffset":963,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeRange","ranges":[{"startOffset":1090,"endOffset":1362,"count":0}],"isBlockCoverage":false},{"functionName":"cleanRangeBackSlash","ranges":[{"startOffset":1412,"endOffset":1500,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2321,"endOffset":2383,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2438,"endOffset":2449,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3104,"endOffset":3125,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3213,"endOffset":3225,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3477,"endOffset":3486,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3577,"endOffset":3588,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4009,"endOffset":4028,"count":0}],"isBlockCoverage":false},{"functionName":"startingReplacer","ranges":[{"startOffset":4250,"endOffset":5144,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5442,"endOffset":5912,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":6273,"endOffset":6593,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6787,"endOffset":6799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6849,"endOffset":6861,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7539,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":8102,"endOffset":8250,"count":0}],"isBlockCoverage":false},{"functionName":"REPLACERS","ranges":[{"startOffset":8311,"endOffset":8645,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegex","ranges":[{"startOffset":8808,"endOffset":9130,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":9149,"endOffset":9187,"count":0}],"isBlockCoverage":false},{"functionName":"checkPattern","ranges":[{"startOffset":9294,"endOffset":9514,"count":0}],"isBlockCoverage":false},{"functionName":"splitPattern","ranges":[{"startOffset":9537,"endOffset":9582,"count":0}],"isBlockCoverage":false},{"functionName":"IgnoreRule","ranges":[{"startOffset":9605,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"createRule","ranges":[{"startOffset":9804,"endOffset":10534,"count":0}],"isBlockCoverage":false},{"functionName":"throwError","ranges":[{"startOffset":10555,"endOffset":10603,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath","ranges":[{"startOffset":10623,"endOffset":11159,"count":0}],"isBlockCoverage":false},{"functionName":"isNotRelative","ranges":[{"startOffset":11183,"endOffset":11225,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.convert","ranges":[{"startOffset":11287,"endOffset":11293,"count":0}],"isBlockCoverage":false},{"functionName":"Ignore","ranges":[{"startOffset":11312,"endOffset":11588,"count":0}],"isBlockCoverage":false},{"functionName":"_initCache","ranges":[{"startOffset":11592,"endOffset":11697,"count":0}],"isBlockCoverage":false},{"functionName":"_addPattern","ranges":[{"startOffset":11701,"endOffset":12031,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":12089,"endOffset":12416,"count":0}],"isBlockCoverage":false},{"functionName":"addPattern","ranges":[{"startOffset":12432,"endOffset":12487,"count":0}],"isBlockCoverage":false},{"functionName":"_testOne","ranges":[{"startOffset":13081,"endOffset":13588,"count":0}],"isBlockCoverage":false},{"functionName":"_test","ranges":[{"startOffset":13619,"endOffset":13965,"count":0}],"isBlockCoverage":false},{"functionName":"_t","ranges":[{"startOffset":13969,"endOffset":14755,"count":0}],"isBlockCoverage":false},{"functionName":"ignores","ranges":[{"startOffset":14759,"endOffset":14841,"count":0}],"isBlockCoverage":false},{"functionName":"createFilter","ranges":[{"startOffset":14845,"endOffset":14905,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":14909,"endOffset":14985,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":15016,"endOffset":15084,"count":0}],"isBlockCoverage":false},{"functionName":"factory","ranges":[{"startOffset":15104,"endOffset":15134,"count":0}],"isBlockCoverage":false},{"functionName":"isPathValid","ranges":[{"startOffset":15156,"endOffset":15228,"count":0}],"isBlockCoverage":false},{"functionName":"makePosix","ranges":[{"startOffset":15691,"endOffset":15798,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.isNotRelative","ranges":[{"startOffset":15990,"endOffset":16070,"count":0}],"isBlockCoverage":false}]},{"scriptId":"351","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/glob-helpers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4053,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":547,"endOffset":575,"count":9}],"isBlockCoverage":true},{"functionName":"processMatchingPatterns","ranges":[{"startOffset":724,"endOffset":1373,"count":0}],"isBlockCoverage":false},{"functionName":"matchesIgnorePatterns","ranges":[{"startOffset":1466,"endOffset":1608,"count":0}],"isBlockCoverage":false},{"functionName":"classify","ranges":[{"startOffset":1611,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"hasExtension","ranges":[{"startOffset":2008,"endOffset":2078,"count":0}],"isBlockCoverage":false},{"functionName":"isHelperish","ranges":[{"startOffset":2119,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"matches","ranges":[{"startOffset":2778,"endOffset":2887,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFileForMatching","ranges":[{"startOffset":2917,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePattern","ranges":[{"startOffset":3459,"endOffset":3856,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePatterns","ranges":[{"startOffset":3904,"endOffset":4004,"count":0}],"isBlockCoverage":false}]},{"scriptId":"352","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore-by-default/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":816,"count":1}],"isBlockCoverage":true},{"functionName":"exports.directories","ranges":[{"startOffset":36,"endOffset":815,"count":1}],"isBlockCoverage":true}]},{"scriptId":"353","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/slash.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":1199,"endOffset":1364,"count":0}],"isBlockCoverage":false}]},{"scriptId":"354","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/pkg.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":59,"count":1}],"isBlockCoverage":true}]},{"scriptId":"355","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/clean-yaml-object/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2176,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":129,"count":0}],"isBlockCoverage":false},{"functionName":"cleanYamlObj","ranges":[{"startOffset":132,"endOffset":1901,"count":0}],"isBlockCoverage":false},{"functionName":"setProp","ranges":[{"startOffset":1903,"endOffset":2131,"count":0}],"isBlockCoverage":false},{"functionName":"defaultFilter","ranges":[{"startOffset":2133,"endOffset":2175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"356","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":578,"count":1}],"isBlockCoverage":true}]},{"scriptId":"357","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3379,"count":1}],"isBlockCoverage":true},{"functionName":"shortcircuitPrimitive","ranges":[{"startOffset":408,"endOffset":728,"count":2},{"startOffset":531,"endOffset":542,"count":0},{"startOffset":618,"endOffset":629,"count":0},{"startOffset":690,"endOffset":710,"count":0}],"isBlockCoverage":true},{"functionName":"compareDescriptors","ranges":[{"startOffset":730,"endOffset":2814,"count":1},{"startOffset":916,"endOffset":2775,"count":6},{"startOffset":963,"endOffset":1070,"count":0},{"startOffset":1102,"endOffset":1132,"count":0},{"startOffset":1207,"endOffset":1219,"count":0},{"startOffset":1251,"endOffset":2308,"count":1},{"startOffset":1301,"endOffset":1313,"count":0},{"startOffset":1346,"endOffset":1372,"count":0},{"startOffset":1374,"endOffset":2089,"count":0},{"startOffset":2445,"endOffset":2460,"count":5},{"startOffset":2462,"endOffset":2485,"count":5},{"startOffset":2485,"endOffset":2525,"count":1},{"startOffset":2527,"endOffset":2729,"count":1},{"startOffset":2729,"endOffset":2765,"count":0}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":2864,"endOffset":3352,"count":1},{"startOffset":2946,"endOffset":2967,"count":0},{"startOffset":3161,"endOffset":3183,"count":0}],"isBlockCoverage":true}]},{"scriptId":"358","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Circular.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":785,"count":1}],"isBlockCoverage":true},{"functionName":"Circular","ranges":[{"startOffset":33,"endOffset":80,"count":2}],"isBlockCoverage":true},{"functionName":"add","ranges":[{"startOffset":84,"endOffset":361,"count":2},{"startOffset":139,"endOffset":174,"count":0}],"isBlockCoverage":true},{"functionName":"delete","ranges":[{"startOffset":365,"endOffset":583,"count":2},{"startOffset":483,"endOffset":521,"count":0}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":587,"endOffset":647,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":651,"endOffset":756,"count":0}],"isBlockCoverage":false}]},{"scriptId":"359","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":249,"count":1}],"isBlockCoverage":true}]},{"scriptId":"360","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/describe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5965,"count":1}],"isBlockCoverage":true},{"functionName":"describePrimitive","ranges":[{"startOffset":2448,"endOffset":2957,"count":10},{"startOffset":2507,"endOffset":2534,"count":0},{"startOffset":2562,"endOffset":2594,"count":0},{"startOffset":2636,"endOffset":2671,"count":0},{"startOffset":2726,"endOffset":2760,"count":0},{"startOffset":2786,"endOffset":2820,"count":0},{"startOffset":2846,"endOffset":2880,"count":8},{"startOffset":2880,"endOffset":2906,"count":2},{"startOffset":2906,"endOffset":2940,"count":0},{"startOffset":2940,"endOffset":2956,"count":2}],"isBlockCoverage":true},{"functionName":"unboxComplex","ranges":[{"startOffset":2959,"endOffset":3324,"count":2},{"startOffset":3272,"endOffset":3303,"count":0}],"isBlockCoverage":true},{"functionName":"registerPlugins","ranges":[{"startOffset":3326,"endOffset":3726,"count":2},{"startOffset":3393,"endOffset":3416,"count":0},{"startOffset":3435,"endOffset":3725,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3425,"endOffset":3435,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3508,"endOffset":3724,"count":0}],"isBlockCoverage":false},{"functionName":"describeComplex","ranges":[{"startOffset":3728,"endOffset":4699,"count":2},{"startOffset":3875,"endOffset":3901,"count":0},{"startOffset":4173,"endOffset":4238,"count":0},{"startOffset":4321,"endOffset":4374,"count":0}],"isBlockCoverage":true},{"functionName":"describeItem","ranges":[{"startOffset":4722,"endOffset":4923,"count":8},{"startOffset":4865,"endOffset":4921,"count":0}],"isBlockCoverage":true},{"functionName":"describeMapEntry","ranges":[{"startOffset":4950,"endOffset":5058,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":5060,"endOffset":5938,"count":2},{"startOffset":5168,"endOffset":5184,"count":0}],"isBlockCoverage":true},{"functionName":"curriedComplex","ranges":[{"startOffset":5310,"endOffset":5435,"count":2}],"isBlockCoverage":true},{"functionName":"describeAny","ranges":[{"startOffset":5459,"endOffset":5595,"count":8},{"startOffset":5570,"endOffset":5591,"count":0}],"isBlockCoverage":true},{"functionName":"describeProperty","ranges":[{"startOffset":5624,"endOffset":5904,"count":0}],"isBlockCoverage":false}]},{"scriptId":"361","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Registry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"Registry","ranges":[{"startOffset":33,"endOffset":103,"count":2}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":107,"endOffset":155,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":159,"endOffset":218,"count":0}],"isBlockCoverage":false},{"functionName":"alloc","ranges":[{"startOffset":222,"endOffset":374,"count":2}],"isBlockCoverage":true}]},{"scriptId":"362","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":409,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":652,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1160,"endOffset":1382,"count":0}],"isBlockCoverage":false}]},{"scriptId":"363","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7185,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":436,"endOffset":713,"count":2},{"startOffset":677,"endOffset":697,"count":0}],"isBlockCoverage":true},{"functionName":"deserialize","ranges":[{"startOffset":743,"endOffset":839,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectValue","ranges":[{"startOffset":950,"endOffset":1203,"count":2}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":1207,"endOffset":1399,"count":1},{"startOffset":1263,"endOffset":1277,"count":0},{"startOffset":1356,"endOffset":1370,"count":0}],"isBlockCoverage":true},{"functionName":"hasSameCtor","ranges":[{"startOffset":1403,"endOffset":1470,"count":1}],"isBlockCoverage":true},{"functionName":"formatShallow","ranges":[{"startOffset":1474,"endOffset":1561,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1565,"endOffset":1699,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":2001,"endOffset":6371,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2068,"endOffset":2433,"count":2}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":2439,"endOffset":2563,"count":1},{"startOffset":2511,"endOffset":2523,"count":0}],"isBlockCoverage":true},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2569,"endOffset":3030,"count":2},{"startOffset":2680,"endOffset":2683,"count":0},{"startOffset":2776,"endOffset":3029,"count":0}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":2817,"endOffset":2995,"count":0}],"isBlockCoverage":false},{"functionName":"createListRecursor","ranges":[{"startOffset":3036,"endOffset":3472,"count":2},{"startOffset":3084,"endOffset":3118,"count":0},{"startOffset":3179,"endOffset":3213,"count":0}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":3254,"endOffset":3437,"count":10},{"startOffset":3290,"endOffset":3301,"count":2},{"startOffset":3301,"endOffset":3436,"count":8}],"isBlockCoverage":true},{"functionName":"createIterableRecursor","ranges":[{"startOffset":3478,"endOffset":4494,"count":2},{"startOffset":3529,"endOffset":3548,"count":0},{"startOffset":3584,"endOffset":4493,"count":0}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":3917,"endOffset":4459,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":4500,"endOffset":6365,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4661,"endOffset":6359,"count":12},{"startOffset":4706,"endOffset":6283,"count":16},{"startOffset":4741,"endOffset":4870,"count":14},{"startOffset":4813,"endOffset":4858,"count":6},{"startOffset":4907,"endOffset":4967,"count":8},{"startOffset":4925,"endOffset":4945,"count":6},{"startOffset":4946,"endOffset":4966,"count":4},{"startOffset":4969,"endOffset":6273,"count":6},{"startOffset":5044,"endOffset":5417,"count":2},{"startOffset":5417,"endOffset":6261,"count":4},{"startOffset":5446,"endOffset":5839,"count":2},{"startOffset":5742,"endOffset":5825,"count":0},{"startOffset":5839,"endOffset":6261,"count":2},{"startOffset":6164,"endOffset":6247,"count":0},{"startOffset":6309,"endOffset":6327,"count":14}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5112,"endOffset":5143,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5518,"endOffset":5553,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5940,"endOffset":5975,"count":2}],"isBlockCoverage":true},{"functionName":"DeserializedMixin","ranges":[{"startOffset":6413,"endOffset":7138,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6483,"endOffset":6780,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":6786,"endOffset":7055,"count":0}],"isBlockCoverage":false},{"functionName":"hasSameCtor","ranges":[{"startOffset":7061,"endOffset":7132,"count":0}],"isBlockCoverage":false}]},{"scriptId":"364","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/formatUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3260,"count":1}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":60,"endOffset":146,"count":0}],"isBlockCoverage":false},{"functionName":"formatCtorAndStringTag","ranges":[{"startOffset":168,"endOffset":537,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectFormatter","ranges":[{"startOffset":621,"endOffset":840,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":844,"endOffset":1189,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":1193,"endOffset":1873,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":1877,"endOffset":2161,"count":0}],"isBlockCoverage":false},{"functionName":"shouldFormat","ranges":[{"startOffset":2165,"endOffset":2202,"count":0}],"isBlockCoverage":false},{"functionName":"customize","ranges":[{"startOffset":2206,"endOffset":2502,"count":0}],"isBlockCoverage":false},{"functionName":"SingleValueFormatter","ranges":[{"startOffset":2579,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2790,"endOffset":2961,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":2965,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":3120,"endOffset":3205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"365","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/lineBuilder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7155,"count":1}],"isBlockCoverage":true},{"functionName":"translateGutter","ranges":[{"startOffset":123,"endOffset":485,"count":0}],"isBlockCoverage":false},{"functionName":"Line","ranges":[{"startOffset":502,"endOffset":670,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":674,"endOffset":717,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":721,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":762,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":820,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":884,"endOffset":934,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":938,"endOffset":1027,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":1031,"endOffset":1202,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":1206,"endOffset":1479,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":1483,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":1634,"endOffset":1783,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":1787,"endOffset":1871,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":1875,"endOffset":1960,"count":0}],"isBlockCoverage":false},{"functionName":"Collection","ranges":[{"startOffset":2050,"endOffset":2091,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2095,"endOffset":2217,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":2221,"endOffset":2277,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":2281,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":2399,"endOffset":2526,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2530,"endOffset":2632,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":2636,"endOffset":2725,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2729,"endOffset":3536,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":3540,"endOffset":4287,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":4291,"endOffset":4423,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":4427,"endOffset":4561,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":4565,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":4675,"endOffset":5381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":5462,"endOffset":5708,"count":0}],"isBlockCoverage":false},{"functionName":"buffer","ranges":[{"startOffset":5731,"endOffset":5774,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":5779,"endOffset":5856,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":5861,"endOffset":5937,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":5942,"endOffset":6019,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6024,"endOffset":6101,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6106,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6194,"endOffset":6277,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6284,"endOffset":6366,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6373,"endOffset":6456,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6463,"endOffset":6546,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6553,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6678,"endOffset":6763,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6770,"endOffset":6854,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6861,"endOffset":6946,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6953,"endOffset":7038,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":7045,"endOffset":7146,"count":0}],"isBlockCoverage":false}]},{"scriptId":"366","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getObjectKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":964,"count":1}],"isBlockCoverage":true},{"functionName":"getObjectKeys","ranges":[{"startOffset":14,"endOffset":932,"count":2},{"startOffset":430,"endOffset":756,"count":10},{"startOffset":578,"endOffset":590,"count":8},{"startOffset":591,"endOffset":638,"count":8},{"startOffset":661,"endOffset":717,"count":2},{"startOffset":719,"endOffset":752,"count":0},{"startOffset":799,"endOffset":905,"count":0}],"isBlockCoverage":true}]},{"scriptId":"367","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/hasLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":303,"count":1}],"isBlockCoverage":true},{"functionName":"hasLength","ranges":[{"startOffset":104,"endOffset":275,"count":0}],"isBlockCoverage":false}]},{"scriptId":"368","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":802,"count":1}],"isBlockCoverage":true},{"functionName":"isLength","ranges":[{"startOffset":645,"endOffset":773,"count":0}],"isBlockCoverage":false}]},{"scriptId":"369","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/stats.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3836,"count":1}],"isBlockCoverage":true},{"functionName":"describeIterableRecursor","ranges":[{"startOffset":228,"endOffset":318,"count":0}],"isBlockCoverage":false},{"functionName":"describeListRecursor","ranges":[{"startOffset":380,"endOffset":462,"count":2}],"isBlockCoverage":true},{"functionName":"describePropertyRecursor","ranges":[{"startOffset":516,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeIterableStats","ranges":[{"startOffset":668,"endOffset":745,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeListStats","ranges":[{"startOffset":807,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePropertyStats","ranges":[{"startOffset":930,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":1306,"endOffset":1351,"count":2}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":1355,"endOffset":1432,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1436,"endOffset":2989,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2993,"endOffset":3032,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3141,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3387,"endOffset":3513,"count":1},{"startOffset":3500,"endOffset":3509,"count":0}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":3625,"endOffset":3755,"count":0}],"isBlockCoverage":false}]},{"scriptId":"370","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/recursorUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2251,"count":1}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":51,"endOffset":74,"count":4}],"isBlockCoverage":true},{"functionName":"fork","ranges":[{"startOffset":117,"endOffset":396,"count":0}],"isBlockCoverage":false},{"functionName":"consumeDeep","ranges":[{"startOffset":418,"endOffset":732,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":768,"endOffset":910,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":930,"endOffset":1606,"count":6},{"startOffset":1046,"endOffset":1076,"count":4},{"startOffset":1076,"endOffset":1179,"count":2},{"startOffset":1216,"endOffset":1249,"count":4},{"startOffset":1249,"endOffset":1605,"count":2}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":1301,"endOffset":1546,"count":10},{"startOffset":1323,"endOffset":1334,"count":0},{"startOffset":1499,"endOffset":1524,"count":2}],"isBlockCoverage":true},{"functionName":"sequence","ranges":[{"startOffset":1632,"endOffset":1850,"count":0}],"isBlockCoverage":false},{"functionName":"singleValue","ranges":[{"startOffset":1880,"endOffset":2012,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":2048,"endOffset":2224,"count":0}],"isBlockCoverage":false}]},{"scriptId":"371","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":970,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":313,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":343,"endOffset":444,"count":0}],"isBlockCoverage":false}]},{"scriptId":"372","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/typedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4439,"count":1}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":382,"endOffset":596,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":628,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":910,"endOffset":1010,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeBytes","ranges":[{"startOffset":1046,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"Bytes","ranges":[{"startOffset":1292,"endOffset":1343,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1347,"endOffset":1482,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1486,"endOffset":2297,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2301,"endOffset":2342,"count":0}],"isBlockCoverage":false},{"functionName":"TypedArrayValue","ranges":[{"startOffset":2466,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":2543,"endOffset":2931,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":3049,"endOffset":3869,"count":3}],"isBlockCoverage":true},{"functionName":"createListRecursor","ranges":[{"startOffset":3237,"endOffset":3307,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":3313,"endOffset":3749,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":3755,"endOffset":3863,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMixin","ranges":[{"startOffset":3977,"endOffset":4320,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4073,"endOffset":4314,"count":0}],"isBlockCoverage":false}]},{"scriptId":"373","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/boxed.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1292,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":264,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedBoxedValue","ranges":[{"startOffset":634,"endOffset":709,"count":0}],"isBlockCoverage":false},{"functionName":"createListRecursor","ranges":[{"startOffset":713,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":783,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1126,"endOffset":1220,"count":0}],"isBlockCoverage":false}]},{"scriptId":"374","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11430,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":306,"endOffset":367,"count":8}],"isBlockCoverage":true},{"functionName":"basicEscape","ranges":[{"startOffset":707,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"escapeLinebreak","ranges":[{"startOffset":1015,"endOffset":1219,"count":0}],"isBlockCoverage":false},{"functionName":"themeControlPictures","ranges":[{"startOffset":1221,"endOffset":1442,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuotes","ranges":[{"startOffset":1537,"endOffset":1834,"count":0}],"isBlockCoverage":false},{"functionName":"includesLinebreaks","ranges":[{"startOffset":1836,"endOffset":1932,"count":0}],"isBlockCoverage":false},{"functionName":"diffLine","ranges":[{"startOffset":1934,"endOffset":3826,"count":0}],"isBlockCoverage":false},{"functionName":"gatherLines","ranges":[{"startOffset":3862,"endOffset":4170,"count":0}],"isBlockCoverage":false},{"functionName":"StringValue","ranges":[{"startOffset":4194,"endOffset":4242,"count":8}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":4246,"endOffset":4370,"count":4},{"startOffset":4357,"endOffset":4366,"count":0}],"isBlockCoverage":true},{"functionName":"get includesLinebreaks","ranges":[{"startOffset":4374,"endOffset":4447,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4451,"endOffset":5422,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":5426,"endOffset":5800,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5804,"endOffset":11238,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":11242,"endOffset":11282,"count":0}],"isBlockCoverage":false}]},{"scriptId":"375","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1334,"endOffset":1486,"count":1}],"isBlockCoverage":true}]},{"scriptId":"376","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/ast.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4728,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":4687,"count":1}],"isBlockCoverage":true},{"functionName":"isExpression","ranges":[{"startOffset":1370,"endOffset":2121,"count":0}],"isBlockCoverage":false},{"functionName":"isIterationStatement","ranges":[{"startOffset":2127,"endOffset":2444,"count":0}],"isBlockCoverage":false},{"functionName":"isStatement","ranges":[{"startOffset":2450,"endOffset":3262,"count":0}],"isBlockCoverage":false},{"functionName":"isSourceElement","ranges":[{"startOffset":3268,"endOffset":3393,"count":0}],"isBlockCoverage":false},{"functionName":"trailingStatement","ranges":[{"startOffset":3399,"endOffset":3843,"count":0}],"isBlockCoverage":false},{"functionName":"isProblematicIfStatement","ranges":[{"startOffset":3849,"endOffset":4384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"377","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/code.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29610,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1391,"endOffset":29569,"count":1},{"startOffset":27989,"endOffset":28199,"count":128},{"startOffset":28045,"endOffset":28058,"count":31},{"startOffset":28059,"endOffset":28107,"count":102},{"startOffset":28094,"endOffset":28107,"count":37},{"startOffset":28108,"endOffset":28143,"count":76},{"startOffset":28144,"endOffset":28158,"count":75},{"startOffset":28273,"endOffset":28531,"count":128},{"startOffset":28328,"endOffset":28341,"count":31},{"startOffset":28342,"endOffset":28390,"count":102},{"startOffset":28377,"endOffset":28390,"count":37},{"startOffset":28391,"endOffset":28439,"count":76},{"startOffset":28426,"endOffset":28439,"count":28},{"startOffset":28440,"endOffset":28475,"count":66},{"startOffset":28476,"endOffset":28490,"count":65}],"isBlockCoverage":true},{"functionName":"isDecimalDigit","ranges":[{"startOffset":26641,"endOffset":26726,"count":0}],"isBlockCoverage":false},{"functionName":"isHexDigit","ranges":[{"startOffset":26732,"endOffset":26919,"count":0}],"isBlockCoverage":false},{"functionName":"isOctalDigit","ranges":[{"startOffset":26925,"endOffset":27008,"count":0}],"isBlockCoverage":false},{"functionName":"isWhiteSpace","ranges":[{"startOffset":27243,"endOffset":27434,"count":0}],"isBlockCoverage":false},{"functionName":"isLineTerminator","ranges":[{"startOffset":27469,"endOffset":27583,"count":0}],"isBlockCoverage":false},{"functionName":"fromCodePoint","ranges":[{"startOffset":27634,"endOffset":27914,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES5","ranges":[{"startOffset":28537,"endOffset":28686,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES5","ranges":[{"startOffset":28692,"endOffset":28838,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES6","ranges":[{"startOffset":28844,"endOffset":28993,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES6","ranges":[{"startOffset":28999,"endOffset":29145,"count":0}],"isBlockCoverage":false}]},{"scriptId":"378","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/keyword.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5616,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":5575,"count":1}],"isBlockCoverage":true},{"functionName":"isStrictModeReservedWordES6","ranges":[{"startOffset":1405,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES5","ranges":[{"startOffset":1752,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES6","ranges":[{"startOffset":1990,"endOffset":3218,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES5","ranges":[{"startOffset":3224,"endOffset":3363,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES6","ranges":[{"startOffset":3369,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"isRestrictedWord","ranges":[{"startOffset":3514,"endOffset":3603,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES5","ranges":[{"startOffset":3609,"endOffset":4045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeUtf16","ranges":[{"startOffset":4051,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES6","ranges":[{"startOffset":4167,"endOffset":4903,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES5","ranges":[{"startOffset":4909,"endOffset":5027,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES6","ranges":[{"startOffset":5033,"endOffset":5151,"count":0}],"isBlockCoverage":false}]},{"scriptId":"379","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-diff/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":38838,"count":1}],"isBlockCoverage":true},{"functionName":"diff_main","ranges":[{"startOffset":1622,"endOffset":2855,"count":0}],"isBlockCoverage":false},{"functionName":"diff_compute_","ranges":[{"startOffset":3117,"endOffset":4721,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisect_","ranges":[{"startOffset":5070,"endOffset":8602,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisectSplit_","ranges":[{"startOffset":8946,"endOffset":9292,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonPrefix","ranges":[{"startOffset":9516,"endOffset":10360,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonOverlap_","ranges":[{"startOffset":10654,"endOffset":11835,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonSuffix","ranges":[{"startOffset":12050,"endOffset":12955,"count":0}],"isBlockCoverage":false},{"functionName":"diff_halfMatch_","ranges":[{"startOffset":13397,"endOffset":16552,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemantic","ranges":[{"startOffset":16712,"endOffset":21136,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemanticLossless","ranges":[{"startOffset":21599,"endOffset":25878,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupMerge","ranges":[{"startOffset":26143,"endOffset":33884,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_start","ranges":[{"startOffset":33886,"endOffset":33983,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_end","ranges":[{"startOffset":33985,"endOffset":34080,"count":0}],"isBlockCoverage":false},{"functionName":"starts_with_pair_end","ranges":[{"startOffset":34082,"endOffset":34171,"count":0}],"isBlockCoverage":false},{"functionName":"ends_with_pair_start","ranges":[{"startOffset":34173,"endOffset":34277,"count":0}],"isBlockCoverage":false},{"functionName":"remove_empty_tuples","ranges":[{"startOffset":34279,"endOffset":34465,"count":0}],"isBlockCoverage":false},{"functionName":"make_edit_splice","ranges":[{"startOffset":34467,"endOffset":34771,"count":0}],"isBlockCoverage":false},{"functionName":"find_cursor_edit_diff","ranges":[{"startOffset":34773,"endOffset":38521,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":38523,"endOffset":38733,"count":0}],"isBlockCoverage":false}]},{"scriptId":"380","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/dataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":949,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":319,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":349,"endOffset":447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"381","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/date.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2613,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":304,"endOffset":471,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":501,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"formatDate","ranges":[{"startOffset":682,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"DateValue","ranges":[{"startOffset":993,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1072,"endOffset":1333,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1337,"endOffset":2118,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2122,"endOffset":2253,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedDateValue","ranges":[{"startOffset":2460,"endOffset":2610,"count":0}],"isBlockCoverage":false}]},{"scriptId":"382","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/date-time/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":831,"count":1}],"isBlockCoverage":true},{"functionName":"dateTime","ranges":[{"startOffset":71,"endOffset":718,"count":0}],"isBlockCoverage":false}]},{"scriptId":"383","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/time-zone/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":343,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"384","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3605,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":331,"endOffset":608,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":638,"endOffset":733,"count":0}],"isBlockCoverage":false},{"functionName":"ErrorValue","ranges":[{"startOffset":869,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":942,"endOffset":1082,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1086,"endOffset":2193,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2197,"endOffset":2257,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedErrorValue","ranges":[{"startOffset":2400,"endOffset":2583,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2587,"endOffset":3430,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedErrorValue","ranges":[{"startOffset":3512,"endOffset":3602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"385","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/isEnumerable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":171,"count":1}],"isBlockCoverage":true},{"functionName":"isEnumerable","ranges":[{"startOffset":14,"endOffset":140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"386","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3272,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":377,"endOffset":600,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":630,"endOffset":728,"count":0}],"isBlockCoverage":false},{"functionName":"FunctionValue","ranges":[{"startOffset":870,"endOffset":939,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":943,"endOffset":1706,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedFunctionValue","ranges":[{"startOffset":1858,"endOffset":1951,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1955,"endOffset":2203,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2207,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2749,"endOffset":2809,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedFunctionValue","ranges":[{"startOffset":2897,"endOffset":2987,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2991,"endOffset":3205,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3209,"endOffset":3269,"count":0}],"isBlockCoverage":false}]},{"scriptId":"387","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":822,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":275,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":412,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":512,"endOffset":676,"count":0}],"isBlockCoverage":false}]},{"scriptId":"388","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1845,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"MapValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1028,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1032,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1229,"endOffset":1674,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMapValue","ranges":[{"startOffset":1752,"endOffset":1842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"389","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1054,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":167,"endOffset":238,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":268,"endOffset":345,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":630,"endOffset":830,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":916,"endOffset":1051,"count":0}],"isBlockCoverage":false}]},{"scriptId":"390","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2733,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":219,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":432,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"getSortedFlags","ranges":[{"startOffset":617,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"RegexpValue","ranges":[{"startOffset":824,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":930,"endOffset":1107,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1111,"endOffset":2317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2321,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedRegexpValue","ranges":[{"startOffset":2612,"endOffset":2730,"count":0}],"isBlockCoverage":false}]},{"scriptId":"391","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1815,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"SetValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1030,"endOffset":1090,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1227,"endOffset":1644,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSetValue","ranges":[{"startOffset":1722,"endOffset":1812,"count":0}],"isBlockCoverage":false}]},{"scriptId":"392","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getCtor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1275,"count":1}],"isBlockCoverage":true},{"functionName":"getCtor","ranges":[{"startOffset":59,"endOffset":1249,"count":2},{"startOffset":234,"endOffset":240,"count":0},{"startOffset":244,"endOffset":1248,"count":0}],"isBlockCoverage":true}]},{"scriptId":"393","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getStringTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":721,"count":1},{"startOffset":467,"endOffset":720,"count":0}],"isBlockCoverage":true},{"functionName":"getStringTag","ranges":[{"startOffset":51,"endOffset":121,"count":3}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":225,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"getStringTagWithPromiseWorkaround","ranges":[{"startOffset":519,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"394","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/item.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7816,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":228,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeComplex","ranges":[{"startOffset":354,"endOffset":469,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":519,"endOffset":605,"count":8}],"isBlockCoverage":true},{"functionName":"deserializePrimitive","ranges":[{"startOffset":653,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexItem","ranges":[{"startOffset":1017,"endOffset":1095,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1099,"endOffset":1171,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1175,"endOffset":1330,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1334,"endOffset":1719,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1723,"endOffset":4317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":4321,"endOffset":4361,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveItem","ranges":[{"startOffset":4536,"endOffset":4614,"count":8}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":4618,"endOffset":4775,"count":4},{"startOffset":4762,"endOffset":4771,"count":0}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":4779,"endOffset":5334,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":5338,"endOffset":6853,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":6857,"endOffset":7602,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7606,"endOffset":7660,"count":0}],"isBlockCoverage":false}]},{"scriptId":"395","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/mapEntry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7305,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":318,"endOffset":585,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":615,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithKey","ranges":[{"startOffset":974,"endOffset":1422,"count":0}],"isBlockCoverage":false},{"functionName":"MapEntry","ranges":[{"startOffset":1443,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1639,"endOffset":1916,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1920,"endOffset":2399,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":2403,"endOffset":3004,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3008,"endOffset":3349,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":3353,"endOffset":4200,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":4204,"endOffset":7086,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7090,"endOffset":7164,"count":0}],"isBlockCoverage":false}]},{"scriptId":"396","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/themeUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5251,"count":1}],"isBlockCoverage":true},{"functionName":"freezeTheme","ranges":[{"startOffset":151,"endOffset":490,"count":1},{"startOffset":233,"endOffset":472,"count":42},{"startOffset":338,"endOffset":468,"count":120},{"startOffset":397,"endOffset":425,"count":118},{"startOffset":427,"endOffset":462,"count":41}],"isBlockCoverage":true},{"functionName":"normalizePlugins","ranges":[{"startOffset":2413,"endOffset":3165,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":3205,"endOffset":4082,"count":0}],"isBlockCoverage":false},{"functionName":"addModifier","ranges":[{"startOffset":4146,"endOffset":4338,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiers","ranges":[{"startOffset":4446,"endOffset":5020,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiersToOriginal","ranges":[{"startOffset":5062,"endOffset":5190,"count":0}],"isBlockCoverage":false}]},{"scriptId":"397","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/cloneDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":679,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDeep","ranges":[{"startOffset":555,"endOffset":649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"398","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseClone.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5609,"count":1}],"isBlockCoverage":true},{"functionName":"baseClone","ranges":[{"startOffset":3399,"endOffset":5579,"count":0}],"isBlockCoverage":false}]},{"scriptId":"399","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Stack.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":734,"count":1}],"isBlockCoverage":true},{"functionName":"Stack","ranges":[{"startOffset":402,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"400","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_ListCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"ListCache","ranges":[{"startOffset":376,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"401","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":218,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheClear","ranges":[{"startOffset":115,"endOffset":183,"count":0}],"isBlockCoverage":false}]},{"scriptId":"402","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":775,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheDelete","ranges":[{"startOffset":440,"endOffset":739,"count":0}],"isBlockCoverage":false}]},{"scriptId":"403","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assocIndexOf.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":487,"count":1}],"isBlockCoverage":true},{"functionName":"assocIndexOf","ranges":[{"startOffset":286,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"404","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":799,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":681,"endOffset":776,"count":0}],"isBlockCoverage":false}]},{"scriptId":"405","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":420,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheGet","ranges":[{"startOffset":240,"endOffset":387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"406","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheHas","ranges":[{"startOffset":292,"endOffset":370,"count":0}],"isBlockCoverage":false}]},{"scriptId":"407","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":553,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheSet","ranges":[{"startOffset":292,"endOffset":520,"count":0}],"isBlockCoverage":false}]},{"scriptId":"408","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":254,"count":1}],"isBlockCoverage":true},{"functionName":"stackClear","ranges":[{"startOffset":148,"endOffset":223,"count":0}],"isBlockCoverage":false}]},{"scriptId":"409","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":405,"count":1}],"isBlockCoverage":true},{"functionName":"stackDelete","ranges":[{"startOffset":237,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"410","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":271,"count":1}],"isBlockCoverage":true},{"functionName":"stackGet","ranges":[{"startOffset":183,"endOffset":242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"411","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":323,"count":1}],"isBlockCoverage":true},{"functionName":"stackHas","ranges":[{"startOffset":235,"endOffset":294,"count":0}],"isBlockCoverage":false}]},{"scriptId":"412","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":853,"count":1}],"isBlockCoverage":true},{"functionName":"stackSet","ranges":[{"startOffset":436,"endOffset":824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"413","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"414","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"getNative","ranges":[{"startOffset":331,"endOffset":453,"count":7},{"startOffset":439,"endOffset":450,"count":0}],"isBlockCoverage":true}]},{"scriptId":"415","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1417,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsNative","ranges":[{"startOffset":1182,"endOffset":1384,"count":7},{"startOffset":1256,"endOffset":1279,"count":0},{"startOffset":1327,"endOffset":1341,"count":0}],"isBlockCoverage":true}]},{"scriptId":"416","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isFunction.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":993,"count":1}],"isBlockCoverage":true},{"functionName":"isFunction","ranges":[{"startOffset":617,"endOffset":962,"count":7},{"startOffset":670,"endOffset":693,"count":0},{"startOffset":905,"endOffset":921,"count":0},{"startOffset":922,"endOffset":940,"count":0},{"startOffset":941,"endOffset":959,"count":0}],"isBlockCoverage":true}]},{"scriptId":"417","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":792,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true},{"functionName":"baseGetTag","ranges":[{"startOffset":534,"endOffset":761,"count":13},{"startOffset":584,"endOffset":646,"count":0},{"startOffset":712,"endOffset":730,"count":5},{"startOffset":735,"endOffset":758,"count":8}],"isBlockCoverage":true}]},{"scriptId":"418","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true}]},{"scriptId":"419","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_root.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":300,"count":1},{"startOffset":119,"endOffset":126,"count":0},{"startOffset":127,"endOffset":152,"count":0},{"startOffset":153,"endOffset":160,"count":0},{"startOffset":234,"endOffset":245,"count":0},{"startOffset":246,"endOffset":274,"count":0}],"isBlockCoverage":true}]},{"scriptId":"420","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_freeGlobal.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":173,"count":1}],"isBlockCoverage":true}]},{"scriptId":"421","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getRawTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1139,"count":1},{"startOffset":488,"endOffset":499,"count":0}],"isBlockCoverage":true},{"functionName":"getRawTag","ranges":[{"startOffset":701,"endOffset":1109,"count":5},{"startOffset":899,"endOffset":911,"count":0},{"startOffset":995,"endOffset":1037,"count":0}],"isBlockCoverage":true}]},{"scriptId":"422","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_objectToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":565,"count":1}],"isBlockCoverage":true},{"functionName":"objectToString","ranges":[{"startOffset":453,"endOffset":530,"count":8}],"isBlockCoverage":true}]},{"scriptId":"423","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":733,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":581,"endOffset":704,"count":14}],"isBlockCoverage":true}]},{"scriptId":"424","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isMasked.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":564,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":116,"endOffset":268,"count":1},{"startOffset":166,"endOffset":184,"count":0},{"startOffset":185,"endOffset":212,"count":0},{"startOffset":234,"endOffset":260,"count":0}],"isBlockCoverage":true},{"functionName":"isMasked","ranges":[{"startOffset":461,"endOffset":535,"count":7},{"startOffset":509,"endOffset":532,"count":0}],"isBlockCoverage":true}]},{"scriptId":"425","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_coreJsData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":157,"count":1}],"isBlockCoverage":true}]},{"scriptId":"426","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_toSource.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":556,"count":1}],"isBlockCoverage":true},{"functionName":"toSource","ranges":[{"startOffset":339,"endOffset":527,"count":12},{"startOffset":441,"endOffset":508,"count":0},{"startOffset":512,"endOffset":526,"count":0}],"isBlockCoverage":true}]},{"scriptId":"427","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":325,"count":1}],"isBlockCoverage":true},{"functionName":"getValue","ranges":[{"startOffset":211,"endOffset":296,"count":7},{"startOffset":268,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"428","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_MapCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"MapCache","ranges":[{"startOffset":389,"endOffset":606,"count":0}],"isBlockCoverage":false}]},{"scriptId":"429","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":393,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheClear","ranges":[{"startOffset":209,"endOffset":359,"count":0}],"isBlockCoverage":false}]},{"scriptId":"430","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Hash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"Hash","ranges":[{"startOffset":319,"endOffset":532,"count":0}],"isBlockCoverage":false}]},{"scriptId":"431","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":281,"count":1}],"isBlockCoverage":true},{"functionName":"hashClear","ranges":[{"startOffset":152,"endOffset":251,"count":0}],"isBlockCoverage":false}]},{"scriptId":"432","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":187,"count":1}],"isBlockCoverage":true}]},{"scriptId":"433","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":445,"count":1}],"isBlockCoverage":true},{"functionName":"hashDelete","ranges":[{"startOffset":279,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"434","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"hashGet","ranges":[{"startOffset":513,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"435","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":626,"count":1}],"isBlockCoverage":true},{"functionName":"hashHas","ranges":[{"startOffset":461,"endOffset":598,"count":0}],"isBlockCoverage":false}]},{"scriptId":"436","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"hashSet","ranges":[{"startOffset":379,"endOffset":570,"count":0}],"isBlockCoverage":false}]},{"scriptId":"437","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheDelete","ranges":[{"startOffset":282,"endOffset":415,"count":0}],"isBlockCoverage":false}]},{"scriptId":"438","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getMapData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":400,"count":1}],"isBlockCoverage":true},{"functionName":"getMapData","ranges":[{"startOffset":214,"endOffset":369,"count":0}],"isBlockCoverage":false}]},{"scriptId":"439","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isKeyable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":430,"count":1}],"isBlockCoverage":true},{"functionName":"isKeyable","ranges":[{"startOffset":201,"endOffset":400,"count":0}],"isBlockCoverage":false}]},{"scriptId":"440","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":330,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheGet","ranges":[{"startOffset":228,"endOffset":298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"441","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheHas","ranges":[{"startOffset":280,"endOffset":350,"count":0}],"isBlockCoverage":false}]},{"scriptId":"442","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":489,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheSet","ranges":[{"startOffset":279,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"443","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayEach.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":537,"count":1}],"isBlockCoverage":true},{"functionName":"arrayEach","ranges":[{"startOffset":274,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"444","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":899,"count":1}],"isBlockCoverage":true},{"functionName":"assignValue","ranges":[{"startOffset":629,"endOffset":867,"count":0}],"isBlockCoverage":false}]},{"scriptId":"445","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":625,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignValue","ranges":[{"startOffset":314,"endOffset":589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"446","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_defineProperty.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":64,"endOffset":194,"count":1},{"startOffset":180,"endOffset":192,"count":0}],"isBlockCoverage":true}]},{"scriptId":"447","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssign.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssign","ranges":[{"startOffset":339,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"448","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1044,"count":1}],"isBlockCoverage":true},{"functionName":"copyObject","ranges":[{"startOffset":467,"endOffset":1013,"count":0}],"isBlockCoverage":false}]},{"scriptId":"449","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":884,"count":1}],"isBlockCoverage":true},{"functionName":"keys","ranges":[{"startOffset":761,"endOffset":859,"count":0}],"isBlockCoverage":false}]},{"scriptId":"450","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayLikeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1778,"count":1}],"isBlockCoverage":true},{"functionName":"arrayLikeKeys","ranges":[{"startOffset":697,"endOffset":1744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"451","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseTimes.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":504,"count":1}],"isBlockCoverage":true},{"functionName":"baseTimes","ranges":[{"startOffset":313,"endOffset":474,"count":0}],"isBlockCoverage":false}]},{"scriptId":"452","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1026,"count":1},{"startOffset":851,"endOffset":993,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":797,"endOffset":829,"count":1}],"isBlockCoverage":true},{"functionName":"isArguments","ranges":[{"startOffset":853,"endOffset":993,"count":0}],"isBlockCoverage":false}]},{"scriptId":"453","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsArguments","ranges":[{"startOffset":355,"endOffset":452,"count":1}],"isBlockCoverage":true}]},{"scriptId":"454","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObjectLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"isObjectLike","ranges":[{"startOffset":497,"endOffset":581,"count":1}],"isBlockCoverage":true}]},{"scriptId":"455","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true}]},{"scriptId":"456","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1114,"count":1},{"startOffset":548,"endOffset":559,"count":0},{"startOffset":697,"endOffset":708,"count":0},{"startOffset":1072,"endOffset":1084,"count":0}],"isBlockCoverage":true}]},{"scriptId":"457","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubFalse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":280,"count":1}],"isBlockCoverage":true},{"functionName":"stubFalse","ranges":[{"startOffset":210,"endOffset":250,"count":0}],"isBlockCoverage":false}]},{"scriptId":"458","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIndex.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":759,"count":1}],"isBlockCoverage":true},{"functionName":"isIndex","ranges":[{"startOffset":456,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"459","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":695,"count":1},{"startOffset":643,"endOffset":661,"count":0}],"isBlockCoverage":true}]},{"scriptId":"460","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2222,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsTypedArray","ranges":[{"startOffset":2050,"endOffset":2185,"count":0}],"isBlockCoverage":false}]},{"scriptId":"461","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseUnary.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":332,"count":1}],"isBlockCoverage":true},{"functionName":"baseUnary","ranges":[{"startOffset":218,"endOffset":302,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":254,"endOffset":299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"462","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nodeUtil.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":995,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":615,"endOffset":962,"count":1},{"startOffset":806,"endOffset":911,"count":0},{"startOffset":912,"endOffset":942,"count":0},{"startOffset":948,"endOffset":960,"count":0}],"isBlockCoverage":true}]},{"scriptId":"463","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":776,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeys","ranges":[{"startOffset":479,"endOffset":747,"count":0}],"isBlockCoverage":false}]},{"scriptId":"464","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":480,"count":1}],"isBlockCoverage":true},{"functionName":"isPrototype","ranges":[{"startOffset":273,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"465","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":204,"count":1}],"isBlockCoverage":true}]},{"scriptId":"466","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overArg.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"overArg","ranges":[{"startOffset":254,"endOffset":354,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":299,"endOffset":351,"count":0}],"isBlockCoverage":false}]},{"scriptId":"467","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":830,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLike","ranges":[{"startOffset":695,"endOffset":798,"count":0}],"isBlockCoverage":false}]},{"scriptId":"468","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":482,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignIn","ranges":[{"startOffset":345,"endOffset":449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"469","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":778,"count":1}],"isBlockCoverage":true},{"functionName":"keysIn","ranges":[{"startOffset":643,"endOffset":751,"count":0}],"isBlockCoverage":false}]},{"scriptId":"470","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":870,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeysIn","ranges":[{"startOffset":523,"endOffset":839,"count":0}],"isBlockCoverage":false}]},{"scriptId":"471","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":490,"count":1}],"isBlockCoverage":true},{"functionName":"nativeKeysIn","ranges":[{"startOffset":292,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"472","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1056,"count":1},{"startOffset":508,"endOffset":519,"count":0},{"startOffset":567,"endOffset":578,"count":0}],"isBlockCoverage":true},{"functionName":"cloneBuffer","ranges":[{"startOffset":783,"endOffset":1024,"count":0}],"isBlockCoverage":false}]},{"scriptId":"473","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"copyArray","ranges":[{"startOffset":219,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"474","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":446,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbols","ranges":[{"startOffset":317,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"475","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":886,"count":1},{"startOffset":624,"endOffset":635,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbols","ranges":[{"startOffset":638,"endOffset":854,"count":0}],"isBlockCoverage":false}]},{"scriptId":"476","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayFilter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":632,"count":1}],"isBlockCoverage":true},{"functionName":"arrayFilter","ranges":[{"startOffset":289,"endOffset":600,"count":0}],"isBlockCoverage":false}]},{"scriptId":"477","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":390,"count":1}],"isBlockCoverage":true},{"functionName":"stubArray","ranges":[{"startOffset":323,"endOffset":360,"count":0}],"isBlockCoverage":false}]},{"scriptId":"478","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbolsIn","ranges":[{"startOffset":335,"endOffset":436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"479","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":754,"count":1},{"startOffset":549,"endOffset":560,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbolsIn","ranges":[{"startOffset":563,"endOffset":720,"count":0}],"isBlockCoverage":false}]},{"scriptId":"480","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayPush.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":437,"count":1}],"isBlockCoverage":true},{"functionName":"arrayPush","ranges":[{"startOffset":200,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"481","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":163,"count":1}],"isBlockCoverage":true}]},{"scriptId":"482","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":455,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeys","ranges":[{"startOffset":342,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"483","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":739,"count":1}],"isBlockCoverage":true},{"functionName":"baseGetAllKeys","ranges":[{"startOffset":537,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"484","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeysIn","ranges":[{"startOffset":367,"endOffset":455,"count":0}],"isBlockCoverage":false}]},{"scriptId":"485","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1838,"count":1},{"startOffset":1296,"endOffset":1811,"count":0}],"isBlockCoverage":true},{"functionName":"getTag","ranges":[{"startOffset":1309,"endOffset":1808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"486","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_DataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true}]},{"scriptId":"487","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"488","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"489","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_WeakMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"490","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":692,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneArray","ranges":[{"startOffset":329,"endOffset":657,"count":0}],"isBlockCoverage":false}]},{"scriptId":"491","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneByTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2261,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneByTag","ranges":[{"startOffset":1454,"endOffset":2226,"count":0}],"isBlockCoverage":false}]},{"scriptId":"492","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneArrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":449,"count":1}],"isBlockCoverage":true},{"functionName":"cloneArrayBuffer","ranges":[{"startOffset":226,"endOffset":412,"count":0}],"isBlockCoverage":false}]},{"scriptId":"493","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Uint8Array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":130,"count":1}],"isBlockCoverage":true}]},{"scriptId":"494","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneDataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":507,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDataView","ranges":[{"startOffset":267,"endOffset":473,"count":0}],"isBlockCoverage":false}]},{"scriptId":"495","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneRegExp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":439,"count":1}],"isBlockCoverage":true},{"functionName":"cloneRegExp","ranges":[{"startOffset":243,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"496","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneSymbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":524,"count":1},{"startOffset":138,"endOffset":149,"count":0},{"startOffset":205,"endOffset":216,"count":0}],"isBlockCoverage":true},{"functionName":"cloneSymbol","ranges":[{"startOffset":394,"endOffset":492,"count":0}],"isBlockCoverage":false}]},{"scriptId":"497","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":527,"count":1}],"isBlockCoverage":true},{"functionName":"cloneTypedArray","ranges":[{"startOffset":275,"endOffset":491,"count":0}],"isBlockCoverage":false}]},{"scriptId":"498","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":486,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneObject","ranges":[{"startOffset":290,"endOffset":450,"count":0}],"isBlockCoverage":false}]},{"scriptId":"499","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":686,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":355,"endOffset":651,"count":1}],"isBlockCoverage":true},{"functionName":"object","ranges":[{"startOffset":370,"endOffset":390,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":400,"endOffset":648,"count":0}],"isBlockCoverage":false}]},{"scriptId":"500","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"501","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsMap","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"502","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"503","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsSet","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"504","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/merge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1220,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1115,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"505","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMerge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1328,"count":1}],"isBlockCoverage":true},{"functionName":"baseMerge","ranges":[{"startOffset":699,"endOffset":1298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"506","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignMergeValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"assignMergeValue","ranges":[{"startOffset":342,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"507","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"508","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createBaseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":648,"count":1}],"isBlockCoverage":true},{"functionName":"createBaseFor","ranges":[{"startOffset":217,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":262,"endOffset":611,"count":0}],"isBlockCoverage":false}]},{"scriptId":"509","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMergeDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3069,"count":1}],"isBlockCoverage":true},{"functionName":"baseMergeDeep","ranges":[{"startOffset":1316,"endOffset":3035,"count":0}],"isBlockCoverage":false}]},{"scriptId":"510","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLikeObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":742,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLikeObject","ranges":[{"startOffset":615,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"511","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1650,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":1229,"endOffset":1616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"512","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_safeGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":456,"count":1}],"isBlockCoverage":true},{"functionName":"safeGet","ranges":[{"startOffset":243,"endOffset":428,"count":0}],"isBlockCoverage":false}]},{"scriptId":"513","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/toPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":744,"count":1}],"isBlockCoverage":true},{"functionName":"toPlainObject","ranges":[{"startOffset":634,"endOffset":710,"count":0}],"isBlockCoverage":false}]},{"scriptId":"514","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createAssigner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1042,"count":1}],"isBlockCoverage":true},{"functionName":"createAssigner","ranges":[{"startOffset":272,"endOffset":1007,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":326,"endOffset":1003,"count":0}],"isBlockCoverage":false}]},{"scriptId":"515","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":559,"count":1}],"isBlockCoverage":true},{"functionName":"baseRest","ranges":[{"startOffset":430,"endOffset":530,"count":1}],"isBlockCoverage":true}]},{"scriptId":"516","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/identity.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"identity","ranges":[{"startOffset":297,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"517","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1096,"count":1}],"isBlockCoverage":true},{"functionName":"overRest","ranges":[{"startOffset":503,"endOffset":1067,"count":1},{"startOffset":607,"endOffset":614,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":629,"endOffset":1064,"count":0}],"isBlockCoverage":false}]},{"scriptId":"518","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_apply.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":714,"count":1}],"isBlockCoverage":true},{"functionName":"apply","ranges":[{"startOffset":374,"endOffset":688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"519","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_setToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":392,"count":1}],"isBlockCoverage":true}]},{"scriptId":"520","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseSetToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":641,"count":1},{"startOffset":412,"endOffset":422,"count":0}],"isBlockCoverage":true},{"functionName":"baseSetToString","ranges":[{"startOffset":425,"endOffset":604,"count":1}],"isBlockCoverage":true}]},{"scriptId":"521","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/constant.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":528,"count":1}],"isBlockCoverage":true},{"functionName":"constant","ranges":[{"startOffset":426,"endOffset":499,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":462,"endOffset":496,"count":0}],"isBlockCoverage":false}]},{"scriptId":"522","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_shortOut.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":941,"count":1}],"isBlockCoverage":true},{"functionName":"shortOut","ranges":[{"startOffset":534,"endOffset":912,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":609,"endOffset":909,"count":1},{"startOffset":752,"endOffset":830,"count":0}],"isBlockCoverage":true}]},{"scriptId":"523","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIterateeCall.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":877,"count":1}],"isBlockCoverage":true},{"functionName":"isIterateeCall","ranges":[{"startOffset":514,"endOffset":842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"524","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/pluginRegistry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6139,"count":1}],"isBlockCoverage":true},{"functionName":"PluginError","ranges":[{"startOffset":707,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"PluginTypeError","ranges":[{"startOffset":864,"endOffset":977,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedApiError","ranges":[{"startOffset":1031,"endOffset":1159,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedError","ranges":[{"startOffset":1210,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorTagError","ranges":[{"startOffset":1406,"endOffset":1596,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorIdError","ranges":[{"startOffset":1657,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":1949,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"modifyTheme","ranges":[{"startOffset":3525,"endOffset":3639,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":3641,"endOffset":5084,"count":0}],"isBlockCoverage":false},{"functionName":"getDeserializers","ranges":[{"startOffset":5104,"endOffset":5368,"count":0}],"isBlockCoverage":false},{"functionName":"getThemes","ranges":[{"startOffset":5414,"endOffset":5598,"count":0}],"isBlockCoverage":false},{"functionName":"getTryDescribeValues","ranges":[{"startOffset":5630,"endOffset":5734,"count":0}],"isBlockCoverage":false},{"functionName":"resolveDescriptorRef","ranges":[{"startOffset":5788,"endOffset":6086,"count":0}],"isBlockCoverage":false}]},{"scriptId":"525","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2616,"count":1}],"isBlockCoverage":true}]},{"scriptId":"526","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/re.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7690,"count":1}],"isBlockCoverage":true},{"functionName":"makeSafeRegex","ranges":[{"startOffset":950,"endOffset":1161,"count":40},{"startOffset":1015,"endOffset":1144,"count":120}],"isBlockCoverage":true},{"functionName":"createToken","ranges":[{"startOffset":1183,"endOffset":1459,"count":40},{"startOffset":1376,"endOffset":1381,"count":4},{"startOffset":1382,"endOffset":1393,"count":36},{"startOffset":1439,"endOffset":1444,"count":4},{"startOffset":1445,"endOffset":1456,"count":36}],"isBlockCoverage":true}]},{"scriptId":"527","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":859,"count":1},{"startOffset":233,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"528","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/debug.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":226,"count":1},{"startOffset":91,"endOffset":138,"count":0},{"startOffset":141,"endOffset":188,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":143,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"debug","ranges":[{"startOffset":193,"endOffset":201,"count":46}],"isBlockCoverage":true}]},{"scriptId":"529","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/semver.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8756,"count":1}],"isBlockCoverage":true},{"functionName":"SemVer","ranges":[{"startOffset":311,"endOffset":2238,"count":2},{"startOffset":416,"endOffset":621,"count":0},{"startOffset":660,"endOffset":761,"count":0},{"startOffset":800,"endOffset":900,"count":0},{"startOffset":1239,"endOffset":1252,"count":0},{"startOffset":1280,"endOffset":1344,"count":0},{"startOffset":1531,"endOffset":1589,"count":0},{"startOffset":1648,"endOffset":1706,"count":0},{"startOffset":1765,"endOffset":1823,"count":0},{"startOffset":1884,"endOffset":2170,"count":1},{"startOffset":2194,"endOffset":2211,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1970,"endOffset":2163,"count":1},{"startOffset":2137,"endOffset":2162,"count":0}],"isBlockCoverage":true},{"functionName":"format","ranges":[{"startOffset":2242,"endOffset":2438,"count":2},{"startOffset":2349,"endOffset":2410,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":2442,"endOffset":2483,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2487,"endOffset":2877,"count":0}],"isBlockCoverage":false},{"functionName":"compareMain","ranges":[{"startOffset":2881,"endOffset":3172,"count":0}],"isBlockCoverage":false},{"functionName":"comparePre","ranges":[{"startOffset":3176,"endOffset":4027,"count":0}],"isBlockCoverage":false},{"functionName":"compareBuild","ranges":[{"startOffset":4031,"endOffset":4573,"count":0}],"isBlockCoverage":false},{"functionName":"inc","ranges":[{"startOffset":4726,"endOffset":8728,"count":0}],"isBlockCoverage":false}]},{"scriptId":"530","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/parse-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":324,"count":1}],"isBlockCoverage":true},{"functionName":"parseOptions","ranges":[{"startOffset":153,"endOffset":293,"count":4},{"startOffset":208,"endOffset":292,"count":0}],"isBlockCoverage":true}]},{"scriptId":"531","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/identifiers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":410,"count":1}],"isBlockCoverage":true},{"functionName":"compareIdentifiers","ranges":[{"startOffset":54,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"rcompareIdentifiers","ranges":[{"startOffset":308,"endOffset":342,"count":0}],"isBlockCoverage":false}]},{"scriptId":"532","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":317,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":58,"endOffset":292,"count":0}],"isBlockCoverage":false}]},{"scriptId":"533","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":162,"count":1}],"isBlockCoverage":true},{"functionName":"valid","ranges":[{"startOffset":47,"endOffset":138,"count":0}],"isBlockCoverage":false}]},{"scriptId":"534","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/clean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":191,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":47,"endOffset":167,"count":0}],"isBlockCoverage":false}]},{"scriptId":"535","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/inc.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"inc","ranges":[{"startOffset":57,"endOffset":442,"count":0}],"isBlockCoverage":false}]},{"scriptId":"536","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1612,"count":1}],"isBlockCoverage":true},{"functionName":"diff","ranges":[{"startOffset":50,"endOffset":1588,"count":0}],"isBlockCoverage":false}]},{"scriptId":"537","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/major.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"major","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"538","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/minor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"minor","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"539","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/patch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"patch","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"540","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/prerelease.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":220,"count":1}],"isBlockCoverage":true},{"functionName":"prerelease","ranges":[{"startOffset":52,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"541","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":156,"count":1}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":60,"endOffset":129,"count":0}],"isBlockCoverage":false}]},{"scriptId":"542","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rcompare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"rcompare","ranges":[{"startOffset":54,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"543","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-loose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"compareLoose","ranges":[{"startOffset":58,"endOffset":87,"count":0}],"isBlockCoverage":false}]},{"scriptId":"544","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-build.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":267,"count":1}],"isBlockCoverage":true},{"functionName":"compareBuild","ranges":[{"startOffset":65,"endOffset":236,"count":0}],"isBlockCoverage":false}]},{"scriptId":"545","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/sort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":147,"count":1}],"isBlockCoverage":true},{"functionName":"sort","ranges":[{"startOffset":61,"endOffset":124,"count":0}],"isBlockCoverage":false}]},{"scriptId":"546","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rsort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":149,"count":1}],"isBlockCoverage":true},{"functionName":"rsort","ranges":[{"startOffset":62,"endOffset":125,"count":0}],"isBlockCoverage":false}]},{"scriptId":"547","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"gt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"548","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"lt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"549","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":112,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":48,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"550","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/neq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":114,"count":1}],"isBlockCoverage":true},{"functionName":"neq","ranges":[{"startOffset":49,"endOffset":92,"count":0}],"isBlockCoverage":false}]},{"scriptId":"551","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"gte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"552","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"lte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"553","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/cmp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":947,"count":1}],"isBlockCoverage":true},{"functionName":"cmp","ranges":[{"startOffset":181,"endOffset":925,"count":0}],"isBlockCoverage":false}]},{"scriptId":"554","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/coerce.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1513,"count":1}],"isBlockCoverage":true},{"functionName":"coerce","ranges":[{"startOffset":145,"endOffset":1488,"count":0}],"isBlockCoverage":false}]},{"scriptId":"555","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/comparator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3617,"count":1}],"isBlockCoverage":true},{"functionName":"get ANY","ranges":[{"startOffset":100,"endOffset":131,"count":2}],"isBlockCoverage":true},{"functionName":"Comparator","ranges":[{"startOffset":135,"endOffset":682,"count":2},{"startOffset":238,"endOffset":358,"count":0},{"startOffset":556,"endOffset":585,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":686,"endOffset":1182,"count":2},{"startOffset":734,"endOffset":757,"count":0},{"startOffset":818,"endOffset":882,"count":0},{"startOffset":930,"endOffset":934,"count":0},{"startOffset":966,"endOffset":998,"count":0},{"startOffset":1077,"endOffset":1108,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":1186,"endOffset":1225,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":1229,"endOffset":1609,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":1613,"endOffset":3323,"count":0}],"isBlockCoverage":false}]},{"scriptId":"556","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/range.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14514,"count":1}],"isBlockCoverage":true},{"functionName":"Range","ranges":[{"startOffset":55,"endOffset":2052,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2056,"endOffset":2197,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2201,"endOffset":2240,"count":0}],"isBlockCoverage":false},{"functionName":"parseRange","ranges":[{"startOffset":2244,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":4531,"endOffset":5161,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":5229,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"isNullSet","ranges":[{"startOffset":6111,"endOffset":6138,"count":0}],"isBlockCoverage":false},{"functionName":"isAny","ranges":[{"startOffset":6153,"endOffset":6172,"count":0}],"isBlockCoverage":false},{"functionName":"isSatisfiable","ranges":[{"startOffset":6294,"endOffset":6700,"count":0}],"isBlockCoverage":false},{"functionName":"parseComparator","ranges":[{"startOffset":6870,"endOffset":7183,"count":0}],"isBlockCoverage":false},{"functionName":"isX","ranges":[{"startOffset":7197,"endOffset":7248,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTildes","ranges":[{"startOffset":7584,"endOffset":7707,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTilde","ranges":[{"startOffset":7730,"endOffset":8404,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCarets","ranges":[{"startOffset":8697,"endOffset":8820,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCaret","ranges":[{"startOffset":8843,"endOffset":10145,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRanges","ranges":[{"startOffset":10170,"endOffset":10323,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRange","ranges":[{"startOffset":10347,"endOffset":12047,"count":0}],"isBlockCoverage":false},{"functionName":"replaceStars","ranges":[{"startOffset":12193,"endOffset":12378,"count":0}],"isBlockCoverage":false},{"functionName":"replaceGTE0","ranges":[{"startOffset":12400,"endOffset":12555,"count":0}],"isBlockCoverage":false},{"functionName":"hyphenReplace","ranges":[{"startOffset":12797,"endOffset":13471,"count":0}],"isBlockCoverage":false},{"functionName":"testSet","ranges":[{"startOffset":13489,"endOffset":14513,"count":0}],"isBlockCoverage":false}]},{"scriptId":"557","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lru-cache/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8186,"count":1}],"isBlockCoverage":true},{"functionName":"naiveLength","ranges":[{"startOffset":510,"endOffset":517,"count":0}],"isBlockCoverage":false},{"functionName":"LRUCache","ranges":[{"startOffset":853,"endOffset":1751,"count":1},{"startOffset":920,"endOffset":946,"count":0},{"startOffset":972,"endOffset":984,"count":0},{"startOffset":1069,"endOffset":1125,"count":0},{"startOffset":1235,"endOffset":1246,"count":0},{"startOffset":1350,"endOffset":1363,"count":0},{"startOffset":1439,"endOffset":1476,"count":0},{"startOffset":1484,"endOffset":1530,"count":0}],"isBlockCoverage":true},{"functionName":"set max","ranges":[{"startOffset":1799,"endOffset":1969,"count":0}],"isBlockCoverage":false},{"functionName":"get max","ranges":[{"startOffset":1972,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"set allowStale","ranges":[{"startOffset":2013,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"get allowStale","ranges":[{"startOffset":2086,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"set maxAge","ranges":[{"startOffset":2142,"endOffset":2300,"count":0}],"isBlockCoverage":false},{"functionName":"get maxAge","ranges":[{"startOffset":2303,"endOffset":2347,"count":0}],"isBlockCoverage":false},{"functionName":"set lengthCalculator","ranges":[{"startOffset":2408,"endOffset":2765,"count":0}],"isBlockCoverage":false},{"functionName":"get lengthCalculator","ranges":[{"startOffset":2768,"endOffset":2826,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":2830,"endOffset":2867,"count":0}],"isBlockCoverage":false},{"functionName":"get itemCount","ranges":[{"startOffset":2870,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"rforEach","ranges":[{"startOffset":2923,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":3142,"endOffset":3356,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":3360,"endOffset":3425,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":3429,"endOffset":3498,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":3502,"endOffset":3858,"count":1},{"startOffset":3535,"endOffset":3560,"count":0},{"startOffset":3561,"endOffset":3593,"count":0},{"startOffset":3595,"endOffset":3673,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3626,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"dump","ranges":[{"startOffset":3862,"endOffset":4064,"count":0}],"isBlockCoverage":false},{"functionName":"dumpLru","ranges":[{"startOffset":4068,"endOffset":4110,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4114,"endOffset":5376,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":5380,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5517,"endOffset":5564,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":5568,"endOffset":5617,"count":0}],"isBlockCoverage":false},{"functionName":"pop","ranges":[{"startOffset":5621,"endOffset":5746,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":5750,"endOffset":5801,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5805,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"prune","ranges":[{"startOffset":6382,"endOffset":6459,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6475,"endOffset":6871,"count":0}],"isBlockCoverage":false},{"functionName":"isStale","ranges":[{"startOffset":6889,"endOffset":7094,"count":0}],"isBlockCoverage":false},{"functionName":"trim","ranges":[{"startOffset":7109,"endOffset":7497,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":7511,"endOffset":7738,"count":0}],"isBlockCoverage":false},{"functionName":"Entry","ranges":[{"startOffset":7756,"endOffset":7923,"count":0}],"isBlockCoverage":false},{"functionName":"forEachStep","ranges":[{"startOffset":7947,"endOffset":8158,"count":0}],"isBlockCoverage":false}]},{"scriptId":"558","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/yallist.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8411,"count":1},{"startOffset":8397,"endOffset":8410,"count":0}],"isBlockCoverage":true},{"functionName":"Yallist","ranges":[{"startOffset":85,"endOffset":517,"count":1},{"startOffset":163,"endOffset":193,"count":0},{"startOffset":263,"endOffset":300,"count":0},{"startOffset":302,"endOffset":371,"count":0},{"startOffset":403,"endOffset":500,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":321,"endOffset":366,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.removeNode","ranges":[{"startOffset":550,"endOffset":1001,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshiftNode","ranges":[{"startOffset":1035,"endOffset":1334,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pushNode","ranges":[{"startOffset":1365,"endOffset":1664,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.push","ranges":[{"startOffset":1691,"endOffset":1814,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshift","ranges":[{"startOffset":1844,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pop","ranges":[{"startOffset":1996,"endOffset":2224,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.shift","ranges":[{"startOffset":2252,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEach","ranges":[{"startOffset":2510,"endOffset":2691,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEachReverse","ranges":[{"startOffset":2728,"endOffset":2923,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.get","ranges":[{"startOffset":2949,"endOffset":3182,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.getReverse","ranges":[{"startOffset":3215,"endOffset":3448,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.map","ranges":[{"startOffset":3474,"endOffset":3690,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.mapReverse","ranges":[{"startOffset":3723,"endOffset":3939,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduce","ranges":[{"startOffset":3968,"endOffset":4363,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduceReverse","ranges":[{"startOffset":4399,"endOffset":4808,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArray","ranges":[{"startOffset":4838,"endOffset":5018,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArrayReverse","ranges":[{"startOffset":5055,"endOffset":5235,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.slice","ranges":[{"startOffset":5263,"endOffset":5790,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.sliceReverse","ranges":[{"startOffset":5825,"endOffset":6362,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.splice","ranges":[{"startOffset":6391,"endOffset":7034,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reverse","ranges":[{"startOffset":7064,"endOffset":7322,"count":0}],"isBlockCoverage":false},{"functionName":"insert","ranges":[{"startOffset":7324,"endOffset":7643,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":7645,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":7795,"endOffset":7946,"count":0}],"isBlockCoverage":false},{"functionName":"Node","ranges":[{"startOffset":7948,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"559","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/iterator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":30,"endOffset":206,"count":1}],"isBlockCoverage":true},{"functionName":"Yallist.","ranges":[{"startOffset":90,"endOffset":204,"count":0}],"isBlockCoverage":false}]},{"scriptId":"560","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/satisfies.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"satisfies","ranges":[{"startOffset":60,"endOffset":205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"561","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/to-comparators.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":268,"count":1}],"isBlockCoverage":true},{"functionName":"toComparators","ranges":[{"startOffset":115,"endOffset":235,"count":0}],"isBlockCoverage":false}]},{"scriptId":"562","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/max-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":579,"count":1}],"isBlockCoverage":true},{"functionName":"maxSatisfying","ranges":[{"startOffset":109,"endOffset":547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"563","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"minSatisfying","ranges":[{"startOffset":108,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"564","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-version.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"minVersion","ranges":[{"startOffset":144,"endOffset":1471,"count":0}],"isBlockCoverage":false}]},{"scriptId":"565","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":312,"count":1}],"isBlockCoverage":true},{"functionName":"validRange","ranges":[{"startOffset":61,"endOffset":283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"566","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/outside.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2190,"count":1}],"isBlockCoverage":true},{"functionName":"outside","ranges":[{"startOffset":390,"endOffset":2163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"567","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/gtr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":217,"count":1}],"isBlockCoverage":true},{"functionName":"gtr","ranges":[{"startOffset":129,"endOffset":195,"count":0}],"isBlockCoverage":false}]},{"scriptId":"568","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/ltr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":213,"count":1}],"isBlockCoverage":true},{"functionName":"ltr","ranges":[{"startOffset":125,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"569","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/intersects.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true},{"functionName":"intersects","ranges":[{"startOffset":61,"endOffset":181,"count":0}],"isBlockCoverage":false}]},{"scriptId":"570","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/simplify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1341,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":329,"endOffset":1340,"count":0}],"isBlockCoverage":false}]},{"scriptId":"571","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/subset.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7510,"count":1}],"isBlockCoverage":true},{"functionName":"subset","ranges":[{"startOffset":1996,"endOffset":2727,"count":0}],"isBlockCoverage":false},{"functionName":"simpleSubset","ranges":[{"startOffset":2869,"endOffset":6974,"count":0}],"isBlockCoverage":false},{"functionName":"higherGT","ranges":[{"startOffset":7025,"endOffset":7229,"count":0}],"isBlockCoverage":false},{"functionName":"lowerLT","ranges":[{"startOffset":7280,"endOffset":7484,"count":0}],"isBlockCoverage":false}]},{"scriptId":"572","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/property.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6165,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":331,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeComplex","ranges":[{"startOffset":457,"endOffset":572,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":622,"endOffset":708,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePrimitive","ranges":[{"startOffset":756,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"Property","ranges":[{"startOffset":1125,"endOffset":1167,"count":0}],"isBlockCoverage":false},{"functionName":"compareKeys","ranges":[{"startOffset":1171,"endOffset":1692,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1696,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexProperty","ranges":[{"startOffset":2881,"endOffset":2949,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2953,"endOffset":3025,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3029,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3308,"endOffset":3811,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3815,"endOffset":3853,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveProperty","ranges":[{"startOffset":3981,"endOffset":4049,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":4053,"endOffset":4328,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4332,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5018,"endOffset":6023,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6027,"endOffset":6079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"573","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2777,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":329,"endOffset":675,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":705,"endOffset":901,"count":0}],"isBlockCoverage":false},{"functionName":"SymbolValue","ranges":[{"startOffset":1012,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1115,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":1409,"endOffset":1540,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1544,"endOffset":1651,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":1655,"endOffset":1788,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1792,"endOffset":1956,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSymbolValue","ranges":[{"startOffset":2159,"endOffset":2232,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2236,"endOffset":2726,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":2730,"endOffset":2774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"574","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-string-escape/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":644,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":17,"endOffset":643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"575","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/well-known-symbols/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":800,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":672,"endOffset":689,"count":12}],"isBlockCoverage":true},{"functionName":"exports.isWellKnown","ranges":[{"startOffset":715,"endOffset":747,"count":0}],"isBlockCoverage":false},{"functionName":"exports.getLabel","ranges":[{"startOffset":767,"endOffset":799,"count":0}],"isBlockCoverage":false}]},{"scriptId":"576","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/bigInt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":906,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":714,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":718,"endOffset":758,"count":0}],"isBlockCoverage":false}]},{"scriptId":"577","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/boolean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":931,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":286,"count":0}],"isBlockCoverage":false},{"functionName":"BooleanValue","ranges":[{"startOffset":425,"endOffset":473,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":477,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":737,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":741,"endOffset":781,"count":0}],"isBlockCoverage":false}]},{"scriptId":"578","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/null.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":737,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":273,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":406,"endOffset":497,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":501,"endOffset":593,"count":0}],"isBlockCoverage":false}]},{"scriptId":"579","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/number.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":969,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"NumberValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":777,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":781,"endOffset":821,"count":0}],"isBlockCoverage":false}]},{"scriptId":"580","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/undefined.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":421,"endOffset":512,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":516,"endOffset":618,"count":0}],"isBlockCoverage":false}]},{"scriptId":"581","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/shouldCompareDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":573,"count":1}],"isBlockCoverage":true},{"functionName":"shouldCompareDeep","ranges":[{"startOffset":206,"endOffset":537,"count":1},{"startOffset":297,"endOffset":535,"count":0}],"isBlockCoverage":true}]},{"scriptId":"582","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/symbolProperties.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2759,"count":1}],"isBlockCoverage":true},{"functionName":"Comparable","ranges":[{"startOffset":247,"endOffset":348,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":352,"endOffset":533,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":537,"endOffset":1293,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1297,"endOffset":2003,"count":0}],"isBlockCoverage":false},{"functionName":"Collector","ranges":[{"startOffset":2152,"endOffset":2288,"count":0}],"isBlockCoverage":false},{"functionName":"collectAll","ranges":[{"startOffset":2292,"endOffset":2538,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2542,"endOffset":2635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"583","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13805,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":630,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"compareComplexShape","ranges":[{"startOffset":642,"endOffset":1886,"count":0}],"isBlockCoverage":false},{"functionName":"diffDescriptors","ranges":[{"startOffset":1888,"endOffset":13605,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":13649,"endOffset":13784,"count":0}],"isBlockCoverage":false}]},{"scriptId":"584","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Indenter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":360,"count":1}],"isBlockCoverage":true},{"functionName":"Indenter","ranges":[{"startOffset":33,"endOffset":144,"count":1}],"isBlockCoverage":true},{"functionName":"increase","ranges":[{"startOffset":148,"endOffset":216,"count":0}],"isBlockCoverage":false},{"functionName":"decrease","ranges":[{"startOffset":220,"endOffset":288,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":292,"endOffset":331,"count":0}],"isBlockCoverage":false}]},{"scriptId":"585","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/format.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3075,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":241,"endOffset":251,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptor","ranges":[{"startOffset":295,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2953,"endOffset":3050,"count":0}],"isBlockCoverage":false}]},{"scriptId":"586","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/serialize.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12422,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4159,"endOffset":4194,"count":31}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4241,"endOffset":4276,"count":31}],"isBlockCoverage":true},{"functionName":"DescriptorSerializationError","ranges":[{"startOffset":4333,"endOffset":4487,"count":0}],"isBlockCoverage":false},{"functionName":"MissingPluginError","ranges":[{"startOffset":4534,"endOffset":4722,"count":0}],"isBlockCoverage":false},{"functionName":"PointerLookupError","ranges":[{"startOffset":4769,"endOffset":4936,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedPluginError","ranges":[{"startOffset":4987,"endOffset":5271,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedVersion","ranges":[{"startOffset":5373,"endOffset":5576,"count":0}],"isBlockCoverage":false},{"functionName":"shallowSerializeDescriptor","ranges":[{"startOffset":5580,"endOffset":5763,"count":0}],"isBlockCoverage":false},{"functionName":"serializeState","ranges":[{"startOffset":5765,"endOffset":6401,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6403,"endOffset":8213,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeState","ranges":[{"startOffset":8245,"endOffset":8564,"count":0}],"isBlockCoverage":false},{"functionName":"shallowDeserializeDescriptor","ranges":[{"startOffset":8566,"endOffset":8761,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeRecord","ranges":[{"startOffset":8763,"endOffset":9449,"count":0}],"isBlockCoverage":false},{"functionName":"buildPluginMap","ranges":[{"startOffset":9451,"endOffset":10790,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":10792,"endOffset":12387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"587","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/md5-hex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":406,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":66,"endOffset":404,"count":0}],"isBlockCoverage":false}]},{"scriptId":"588","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9570,"count":1}],"isBlockCoverage":true},{"functionName":"encodeInteger","ranges":[{"startOffset":689,"endOffset":828,"count":0}],"isBlockCoverage":false},{"functionName":"encodeValue","ranges":[{"startOffset":830,"endOffset":3045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeValue","ranges":[{"startOffset":3047,"endOffset":5534,"count":0}],"isBlockCoverage":false},{"functionName":"buildBuffer","ranges":[{"startOffset":5536,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6160,"endOffset":7889,"count":0}],"isBlockCoverage":false},{"functionName":"decodePlugins","ranges":[{"startOffset":7915,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"decodeRecord","ranges":[{"startOffset":8465,"endOffset":9182,"count":0}],"isBlockCoverage":false},{"functionName":"extractVersion","ranges":[{"startOffset":9220,"endOffset":9288,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":9330,"endOffset":9545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"589","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/flattenDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"flattenDeep","ranges":[{"startOffset":412,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"590","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFlatten.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1201,"count":1}],"isBlockCoverage":true},{"functionName":"baseFlatten","ranges":[{"startOffset":568,"endOffset":1169,"count":0}],"isBlockCoverage":false}]},{"scriptId":"591","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isFlattenable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1},{"startOffset":208,"endOffset":219,"count":0}],"isBlockCoverage":true},{"functionName":"isFlattenable","ranges":[{"startOffset":430,"endOffset":574,"count":0}],"isBlockCoverage":false}]},{"scriptId":"592","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/pointer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":617,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":63,"endOffset":120,"count":0}],"isBlockCoverage":false},{"functionName":"Pointer","ranges":[{"startOffset":249,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":392,"endOffset":435,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":439,"endOffset":479,"count":0}],"isBlockCoverage":false}]},{"scriptId":"593","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-error/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"isError","ranges":[{"startOffset":160,"endOffset":596,"count":2},{"startOffset":217,"endOffset":246,"count":0},{"startOffset":427,"endOffset":595,"count":0}],"isBlockCoverage":true}]},{"scriptId":"594","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7961,"count":1},{"startOffset":184,"endOffset":189,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":290,"endOffset":398,"count":70}],"isBlockCoverage":true},{"functionName":"StackUtils","ranges":[{"startOffset":581,"endOffset":1041,"count":1}],"isBlockCoverage":true},{"functionName":"nodeInternals","ranges":[{"startOffset":1052,"endOffset":1099,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":1103,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"captureString","ranges":[{"startOffset":2203,"endOffset":2601,"count":0}],"isBlockCoverage":false},{"functionName":"capture","ranges":[{"startOffset":2605,"endOffset":3178,"count":0}],"isBlockCoverage":false},{"functionName":"at","ranges":[{"startOffset":3182,"endOffset":4236,"count":0}],"isBlockCoverage":false},{"functionName":"parseLine","ranges":[{"startOffset":4240,"endOffset":6388,"count":0}],"isBlockCoverage":false},{"functionName":"setFile","ranges":[{"startOffset":6392,"endOffset":6629,"count":0}],"isBlockCoverage":false},{"functionName":"ignoredPackagesRegExp","ranges":[{"startOffset":6631,"endOffset":6913,"count":1},{"startOffset":6737,"endOffset":6912,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6778,"endOffset":6808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"595","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":236,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":85,"endOffset":234,"count":0}],"isBlockCoverage":false}]},{"scriptId":"596","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/cbor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2598,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":2526,"endOffset":2597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"597","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/commented.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8911,"count":1}],"isBlockCoverage":true},{"functionName":"plural","ranges":[{"startOffset":242,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1621,"endOffset":2061,"count":0}],"isBlockCoverage":false},{"functionName":"Commented","ranges":[{"startOffset":2313,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"_tag_24","ranges":[{"startOffset":3493,"endOffset":3678,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3682,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3766,"endOffset":3890,"count":0}],"isBlockCoverage":false},{"functionName":"comment","ranges":[{"startOffset":4466,"endOffset":5155,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":5184,"endOffset":5277,"count":0}],"isBlockCoverage":false},{"functionName":"_on_read","ranges":[{"startOffset":5306,"endOffset":5625,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":5654,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start_string","ranges":[{"startOffset":6407,"endOffset":6713,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":6742,"endOffset":7824,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":7853,"endOffset":7888,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":7918,"endOffset":8748,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":8777,"endOffset":8880,"count":0}],"isBlockCoverage":false}]},{"scriptId":"598","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8215,"count":1}],"isBlockCoverage":true},{"functionName":"exports.utf8","ranges":[{"startOffset":492,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":546,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"isBufferish","ranges":[{"startOffset":823,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"bufferishToBuffer","ranges":[{"startOffset":1098,"endOffset":1356,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORint","ranges":[{"startOffset":1381,"endOffset":1905,"count":0}],"isBlockCoverage":false},{"functionName":"writeHalf","ranges":[{"startOffset":1927,"endOffset":4036,"count":0}],"isBlockCoverage":false},{"functionName":"parseHalf","ranges":[{"startOffset":4058,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORfloat","ranges":[{"startOffset":4418,"endOffset":4687,"count":0}],"isBlockCoverage":false},{"functionName":"hex","ranges":[{"startOffset":4703,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"bin","ranges":[{"startOffset":4788,"endOffset":5042,"count":0}],"isBlockCoverage":false},{"functionName":"arrayEqual","ranges":[{"startOffset":5065,"endOffset":5279,"count":0}],"isBlockCoverage":false},{"functionName":"bufferToBigInt","ranges":[{"startOffset":5306,"endOffset":5382,"count":0}],"isBlockCoverage":false},{"functionName":"cborValueToString","ranges":[{"startOffset":5412,"endOffset":7059,"count":0}],"isBlockCoverage":false},{"functionName":"guessEncoding","ranges":[{"startOffset":7085,"endOffset":7418,"count":0}],"isBlockCoverage":false},{"functionName":"base64url","ranges":[{"startOffset":7657,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"base64","ranges":[{"startOffset":7965,"endOffset":8048,"count":0}],"isBlockCoverage":false},{"functionName":"isBigEndian","ranges":[{"startOffset":8072,"endOffset":8214,"count":0}],"isBlockCoverage":false}]},{"scriptId":"599","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nofilter/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28585,"count":1}],"isBlockCoverage":true},{"functionName":"NoFilter","ranges":[{"startOffset":3473,"endOffset":5501,"count":0}],"isBlockCoverage":false},{"functionName":"isNoFilter","ranges":[{"startOffset":5664,"endOffset":5716,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":6159,"endOffset":6351,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":7149,"endOffset":8408,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":8437,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"_bufArray","ranges":[{"startOffset":8811,"endOffset":9199,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":9982,"endOffset":10504,"count":0}],"isBlockCoverage":false},{"functionName":"readFull","ranges":[{"startOffset":10957,"endOffset":12088,"count":0}],"isBlockCoverage":false},{"functionName":"promise","ranges":[{"startOffset":12421,"endOffset":12847,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":13163,"endOffset":13614,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":13827,"endOffset":13883,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":14414,"endOffset":14924,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":15137,"endOffset":15184,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":15588,"endOffset":15702,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16207,"endOffset":16468,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16497,"endOffset":16823,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":16931,"endOffset":17040,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt","ranges":[{"startOffset":17265,"endOffset":17670,"count":0}],"isBlockCoverage":false},{"functionName":"readUBigInt","ranges":[{"startOffset":17884,"endOffset":18034,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt","ranges":[{"startOffset":18276,"endOffset":18596,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":18759,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19026,"endOffset":19133,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":19315,"endOffset":19422,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19609,"endOffset":19716,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":19900,"endOffset":20007,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":20172,"endOffset":20253,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":20438,"endOffset":20544,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":20726,"endOffset":20832,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":21021,"endOffset":21127,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":21313,"endOffset":21419,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatLE","ranges":[{"startOffset":21592,"endOffset":21697,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBE","ranges":[{"startOffset":21867,"endOffset":21972,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleLE","ranges":[{"startOffset":22146,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBE","ranges":[{"startOffset":22423,"endOffset":22530,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":22705,"endOffset":22816,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":22988,"endOffset":23099,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":23290,"endOffset":23403,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":23591,"endOffset":23704,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":23831,"endOffset":23955,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":24101,"endOffset":24231,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":24377,"endOffset":24507,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":24653,"endOffset":24783,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":24929,"endOffset":25059,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":25183,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":25449,"endOffset":25577,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":25721,"endOffset":25849,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":25993,"endOffset":26121,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":26265,"endOffset":26393,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatLE","ranges":[{"startOffset":26528,"endOffset":26656,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBE","ranges":[{"startOffset":26788,"endOffset":26916,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleLE","ranges":[{"startOffset":27051,"endOffset":27181,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBE","ranges":[{"startOffset":27313,"endOffset":27443,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":27586,"endOffset":27720,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":27860,"endOffset":27994,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":28140,"endOffset":28276,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":28419,"endOffset":28555,"count":0}],"isBlockCoverage":false}]},{"scriptId":"600","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1352,"count":1}],"isBlockCoverage":true}]},{"scriptId":"601","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/decoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20596,"count":1}],"isBlockCoverage":true},{"functionName":"parentArray","ranges":[{"startOffset":508,"endOffset":641,"count":0}],"isBlockCoverage":false},{"functionName":"parentBufferStream","ranges":[{"startOffset":643,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"UnexpectedDataError","ranges":[{"startOffset":831,"endOffset":996,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":3420,"endOffset":3794,"count":0}],"isBlockCoverage":false},{"functionName":"Decoder","ranges":[{"startOffset":4237,"endOffset":4930,"count":0}],"isBlockCoverage":false},{"functionName":"nullcheck","ranges":[{"startOffset":5301,"endOffset":5710,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirstSync","ranges":[{"startOffset":6389,"endOffset":7548,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAllSync","ranges":[{"startOffset":8073,"endOffset":8838,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirst","ranges":[{"startOffset":9562,"endOffset":11046,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAll","ranges":[{"startOffset":11770,"endOffset":12395,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12433,"endOffset":12495,"count":0}],"isBlockCoverage":false},{"functionName":"_onRead","ranges":[{"startOffset":12574,"endOffset":12625,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":12867,"endOffset":20537,"count":0}],"isBlockCoverage":false}]},{"scriptId":"602","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/vendor/binary-parse-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2692,"count":1}],"isBlockCoverage":true},{"functionName":"BinaryParseStream","ranges":[{"startOffset":1100,"endOffset":1513,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1517,"endOffset":2086,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":2331,"endOffset":2462,"count":0}],"isBlockCoverage":false},{"functionName":"__restart","ranges":[{"startOffset":2466,"endOffset":2566,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":2570,"endOffset":2653,"count":0}],"isBlockCoverage":false}]},{"scriptId":"603","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/tagged.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10762,"count":1},{"startOffset":7721,"endOffset":7750,"count":19}],"isBlockCoverage":true},{"functionName":"setBuffersToJSON","ranges":[{"startOffset":135,"endOffset":954,"count":0}],"isBlockCoverage":false},{"functionName":"b64this","ranges":[{"startOffset":956,"endOffset":1052,"count":0}],"isBlockCoverage":false},{"functionName":"b64urlThis","ranges":[{"startOffset":1054,"endOffset":1156,"count":0}],"isBlockCoverage":false},{"functionName":"hexThis","ranges":[{"startOffset":1158,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"swapEndian","ranges":[{"startOffset":1258,"endOffset":1667,"count":0}],"isBlockCoverage":false},{"functionName":"0","ranges":[{"startOffset":2409,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"1","ranges":[{"startOffset":2478,"endOffset":2501,"count":0}],"isBlockCoverage":false},{"functionName":"2","ranges":[{"startOffset":2548,"endOffset":2576,"count":0}],"isBlockCoverage":false},{"functionName":"3","ranges":[{"startOffset":2623,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"21","ranges":[{"startOffset":2752,"endOffset":2911,"count":0}],"isBlockCoverage":false},{"functionName":"22","ranges":[{"startOffset":2984,"endOffset":3137,"count":0}],"isBlockCoverage":false},{"functionName":"23","ranges":[{"startOffset":3218,"endOffset":3371,"count":0}],"isBlockCoverage":false},{"functionName":"32","ranges":[{"startOffset":3409,"endOffset":3424,"count":0}],"isBlockCoverage":false},{"functionName":"33","ranges":[{"startOffset":3468,"endOffset":4627,"count":0}],"isBlockCoverage":false},{"functionName":"34","ranges":[{"startOffset":4668,"endOffset":5867,"count":0}],"isBlockCoverage":false},{"functionName":"35","ranges":[{"startOffset":5920,"endOffset":5938,"count":0}],"isBlockCoverage":false},{"functionName":"258","ranges":[{"startOffset":6027,"endOffset":6042,"count":0}],"isBlockCoverage":false},{"functionName":"_toTypedArray","ranges":[{"startOffset":7009,"endOffset":7672,"count":0}],"isBlockCoverage":false},{"functionName":"Tagged","ranges":[{"startOffset":8277,"endOffset":8615,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":8619,"endOffset":8856,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":8953,"endOffset":9025,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":9189,"endOffset":9272,"count":0}],"isBlockCoverage":false},{"functionName":"convert","ranges":[{"startOffset":9824,"endOffset":10302,"count":0}],"isBlockCoverage":false},{"functionName":"get TAGS","ranges":[{"startOffset":10432,"endOffset":10472,"count":0}],"isBlockCoverage":false},{"functionName":"set TAGS","ranges":[{"startOffset":10483,"endOffset":10525,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":10642,"endOffset":10683,"count":1}],"isBlockCoverage":true}]},{"scriptId":"604","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/simple.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2695,"count":1}],"isBlockCoverage":true},{"functionName":"Simple","ranges":[{"startOffset":268,"endOffset":567,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":683,"endOffset":734,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":930,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":1190,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"isSimple","ranges":[{"startOffset":1403,"endOffset":1455,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":2071,"endOffset":2667,"count":0}],"isBlockCoverage":false}]},{"scriptId":"605","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/diagnose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6617,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeOptions","ranges":[{"startOffset":1886,"endOffset":2262,"count":0}],"isBlockCoverage":false},{"functionName":"Diagnose","ranges":[{"startOffset":2529,"endOffset":3414,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3418,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3509,"endOffset":3707,"count":0}],"isBlockCoverage":false},{"functionName":"diagnose","ranges":[{"startOffset":4122,"endOffset":4775,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":4804,"endOffset":4932,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":4954,"endOffset":5115,"count":0}],"isBlockCoverage":false},{"functionName":"_fore","ranges":[{"startOffset":5137,"endOffset":5507,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":5529,"endOffset":5751,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":5773,"endOffset":6194,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":6216,"endOffset":6519,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":6541,"endOffset":6587,"count":0}],"isBlockCoverage":false}]},{"scriptId":"606","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31613,"count":1}],"isBlockCoverage":true},{"functionName":"parseDateType","ranges":[{"startOffset":1747,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"Encoder","ranges":[{"startOffset":4631,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":6051,"endOffset":6261,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":6318,"endOffset":6350,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt8","ranges":[{"startOffset":6470,"endOffset":6576,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt16BE","ranges":[{"startOffset":6698,"endOffset":6810,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt32BE","ranges":[{"startOffset":6935,"endOffset":7047,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloatBE","ranges":[{"startOffset":7176,"endOffset":7286,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDoubleBE","ranges":[{"startOffset":7416,"endOffset":7528,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNaN","ranges":[{"startOffset":7598,"endOffset":7644,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInfinity","ranges":[{"startOffset":7770,"endOffset":7876,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloat","ranges":[{"startOffset":8142,"endOffset":9321,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInt","ranges":[{"startOffset":10074,"endOffset":10925,"count":0}],"isBlockCoverage":false},{"functionName":"_pushIntNum","ranges":[{"startOffset":11192,"endOffset":11409,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNumber","ranges":[{"startOffset":11531,"endOffset":11787,"count":0}],"isBlockCoverage":false},{"functionName":"_pushString","ranges":[{"startOffset":11900,"endOffset":12041,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoolean","ranges":[{"startOffset":12153,"endOffset":12223,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUndefined","ranges":[{"startOffset":12330,"endOffset":12752,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNull","ranges":[{"startOffset":12854,"endOffset":12907,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTag","ranges":[{"startOffset":13024,"endOffset":13081,"count":0}],"isBlockCoverage":false},{"functionName":"_pushJSBigint","ranges":[{"startOffset":13194,"endOffset":13960,"count":0}],"isBlockCoverage":false},{"functionName":"_pushObject","ranges":[{"startOffset":14109,"endOffset":16394,"count":0}],"isBlockCoverage":false},{"functionName":"_encodeAll","ranges":[{"startOffset":16551,"endOffset":16756,"count":0}],"isBlockCoverage":false},{"functionName":"addSemanticType","ranges":[{"startOffset":17172,"endOffset":17565,"count":0}],"isBlockCoverage":false},{"functionName":"pushAny","ranges":[{"startOffset":17771,"endOffset":18684,"count":0}],"isBlockCoverage":false},{"functionName":"pushArray","ranges":[{"startOffset":18990,"endOffset":19516,"count":0}],"isBlockCoverage":false},{"functionName":"removeLoopDetectors","ranges":[{"startOffset":19662,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDate","ranges":[{"startOffset":19947,"endOffset":20619,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBuffer","ranges":[{"startOffset":20774,"endOffset":20870,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNoFilter","ranges":[{"startOffset":21027,"endOffset":21129,"count":0}],"isBlockCoverage":false},{"functionName":"_pushRegexp","ranges":[{"startOffset":21284,"endOffset":21374,"count":0}],"isBlockCoverage":false},{"functionName":"_pushSet","ranges":[{"startOffset":21523,"endOffset":21783,"count":0}],"isBlockCoverage":false},{"functionName":"_pushURL","ranges":[{"startOffset":21932,"endOffset":22020,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoxed","ranges":[{"startOffset":22208,"endOffset":22272,"count":0}],"isBlockCoverage":false},{"functionName":"_pushMap","ranges":[{"startOffset":22469,"endOffset":24462,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTypedArray","ranges":[{"startOffset":24627,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"_pushArrayBuffer","ranges":[{"startOffset":25460,"endOffset":25546,"count":0}],"isBlockCoverage":false},{"functionName":"encodeIndefinite","ranges":[{"startOffset":26458,"endOffset":28127,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":28344,"endOffset":28407,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCanonical","ranges":[{"startOffset":28646,"endOffset":28748,"count":0}],"isBlockCoverage":false},{"functionName":"encodeOne","ranges":[{"startOffset":29014,"endOffset":29093,"count":0}],"isBlockCoverage":false},{"functionName":"encodeAsync","ranges":[{"startOffset":29664,"endOffset":29981,"count":0}],"isBlockCoverage":false},{"functionName":"get SEMANTIC_TYPES","ranges":[{"startOffset":30115,"endOffset":30175,"count":0}],"isBlockCoverage":false},{"functionName":"set SEMANTIC_TYPES","ranges":[{"startOffset":30186,"endOffset":30248,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":30375,"endOffset":30437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"607","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5186,"count":1}],"isBlockCoverage":true},{"functionName":"CborMap","ranges":[{"startOffset":952,"endOffset":999,"count":0}],"isBlockCoverage":false},{"functionName":"_encode","ranges":[{"startOffset":1035,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_decode","ranges":[{"startOffset":1148,"endOffset":1216,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1501,"endOffset":1558,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":1874,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":2283,"endOffset":2346,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":2687,"endOffset":2744,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":2978,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":3366,"endOffset":3472,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3725,"endOffset":3776,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":4173,"endOffset":4393,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":4557,"endOffset":5157,"count":0}],"isBlockCoverage":false}]},{"scriptId":"608","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/map-age-cleaner/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3903,"count":1}],"isBlockCoverage":true},{"functionName":"__awaiter","ranges":[{"startOffset":58,"endOffset":613,"count":0}],"isBlockCoverage":false},{"functionName":"__importDefault","ranges":[{"startOffset":671,"endOffset":752,"count":1},{"startOffset":723,"endOffset":728,"count":0}],"isBlockCoverage":true},{"functionName":"mapAgeCleaner","ranges":[{"startOffset":872,"endOffset":3774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"609","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-defer/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":177,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"610","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6750,"count":1}],"isBlockCoverage":true},{"functionName":"getId","ranges":[{"startOffset":492,"endOffset":749,"count":1},{"startOffset":664,"endOffset":747,"count":0}],"isBlockCoverage":true},{"functionName":"getTmpname","ranges":[{"startOffset":774,"endOffset":976,"count":0}],"isBlockCoverage":false},{"functionName":"cleanupOnExit","ranges":[{"startOffset":978,"endOffset":1161,"count":0}],"isBlockCoverage":false},{"functionName":"serializeActiveFile","ranges":[{"startOffset":1163,"endOffset":1550,"count":0}],"isBlockCoverage":false},{"functionName":"isChownErrOk","ranges":[{"startOffset":1633,"endOffset":1894,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileAsync","ranges":[{"startOffset":1896,"endOffset":4304,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4306,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":4680,"endOffset":6749,"count":0}],"isBlockCoverage":false}]},{"scriptId":"611","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/imurmurhash/imurmurhash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4412,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":443,"endOffset":4407,"count":1},{"startOffset":4352,"endOffset":4405,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3","ranges":[{"startOffset":811,"endOffset":1083,"count":1},{"startOffset":896,"endOffset":903,"count":0},{"startOffset":963,"endOffset":980,"count":0},{"startOffset":982,"endOffset":1018,"count":0},{"startOffset":1044,"endOffset":1077,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3.hash","ranges":[{"startOffset":1254,"endOffset":3073,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.result","ranges":[{"startOffset":3193,"endOffset":3797,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.reset","ranges":[{"startOffset":3937,"endOffset":4078,"count":1},{"startOffset":3997,"endOffset":4003,"count":0}],"isBlockCoverage":true}]},{"scriptId":"612","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9435,"count":1},{"startOffset":8597,"endOffset":8623,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":518,"endOffset":562,"count":0}],"isBlockCoverage":false},{"functionName":"processOk","ranges":[{"startOffset":585,"endOffset":952,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1130,"endOffset":2434,"count":1}],"isBlockCoverage":true},{"functionName":"Emitter","ranges":[{"startOffset":1325,"endOffset":1616,"count":1},{"startOffset":1375,"endOffset":1427,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":1621,"endOffset":1676,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":1681,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2045,"endOffset":2432,"count":0}],"isBlockCoverage":false},{"functionName":"signalExitWrap","ranges":[{"startOffset":2483,"endOffset":2732,"count":1}],"isBlockCoverage":true},{"functionName":"onExit","ranges":[{"startOffset":2519,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2602,"endOffset":2655,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2665,"endOffset":2722,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":2788,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2835,"endOffset":2845,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2850,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2865,"endOffset":8403,"count":1},{"startOffset":3070,"endOffset":3080,"count":0}],"isBlockCoverage":true},{"functionName":"SignalExit","ranges":[{"startOffset":3269,"endOffset":5206,"count":1},{"startOffset":3467,"endOffset":5088,"count":17}],"isBlockCoverage":true},{"functionName":"SignalExit.#sigListeners.","ranges":[{"startOffset":3507,"endOffset":5077,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":5211,"endOffset":5804,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5809,"endOffset":6637,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":6642,"endOffset":7393,"count":0}],"isBlockCoverage":false},{"functionName":"#processReallyExit","ranges":[{"startOffset":7398,"endOffset":7764,"count":0}],"isBlockCoverage":false},{"functionName":"#processEmit","ranges":[{"startOffset":7769,"endOffset":8401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"613","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1560,"count":1}],"isBlockCoverage":true}]},{"scriptId":"614","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/irregular-plurals/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":137,"count":1}],"isBlockCoverage":true}]},{"scriptId":"615","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/state.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":150,"count":1}],"isBlockCoverage":true}]},{"scriptId":"616","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/channel.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7151,"count":1},{"startOffset":2661,"endOffset":2770,"count":0}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":303,"endOffset":1131,"count":2},{"startOffset":747,"endOffset":1129,"count":0}],"isBlockCoverage":true},{"functionName":"addToBuffer","ranges":[{"startOffset":510,"endOffset":540,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":975,"endOffset":1022,"count":0}],"isBlockCoverage":false},{"functionName":"selectAvaMessage","ranges":[{"startOffset":1159,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1167,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"RefCounter","ranges":[{"startOffset":1241,"endOffset":1277,"count":1}],"isBlockCoverage":true},{"functionName":"refAndTest","ranges":[{"startOffset":1280,"endOffset":1326,"count":2}],"isBlockCoverage":true},{"functionName":"testAndUnref","ranges":[{"startOffset":1329,"endOffset":1395,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortHandle","ranges":[{"startOffset":1426,"endOffset":1746,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1719,"endOffset":1727,"count":0}],"isBlockCoverage":false},{"functionName":"forceUnref","ranges":[{"startOffset":1749,"endOffset":1899,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":1902,"endOffset":2040,"count":2}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":2043,"endOffset":2179,"count":2}],"isBlockCoverage":true},{"functionName":"send","ranges":[{"startOffset":2182,"endOffset":2264,"count":11}],"isBlockCoverage":true},{"functionName":"IpcHandle","ranges":[{"startOffset":2287,"endOffset":2409,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":2412,"endOffset":2487,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":2490,"endOffset":2571,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2574,"endOffset":2616,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3157,"endOffset":3187,"count":0}],"isBlockCoverage":false},{"functionName":"flush","ranges":[{"startOffset":3456,"endOffset":3749,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3531,"endOffset":3704,"count":1}],"isBlockCoverage":true},{"functionName":"createChannelEmitter","ranges":[{"startOffset":3859,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"registerSharedWorker","ranges":[{"startOffset":4406,"endOffset":7096,"count":0}],"isBlockCoverage":false}]},{"scriptId":"617","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/utils.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true}]},{"scriptId":"618","url":"node:internal/modules/esm/initialize_import_meta","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1960,"count":1}],"isBlockCoverage":false},{"functionName":"createImportMetaResolve","ranges":[{"startOffset":617,"endOffset":1368,"count":3}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":880,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"initializeImportMeta","ranges":[{"startOffset":1633,"endOffset":1912,"count":3}],"isBlockCoverage":true}]},{"scriptId":"619","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/options.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":278,"count":1}],"isBlockCoverage":true},{"functionName":"exports.get","ranges":[{"startOffset":48,"endOffset":147,"count":0}],"isBlockCoverage":false},{"functionName":"exports.set","ranges":[{"startOffset":164,"endOffset":276,"count":1},{"startOffset":194,"endOffset":250,"count":0}],"isBlockCoverage":true}]},{"scriptId":"620","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-event/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6062,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeEmitter","ranges":[{"startOffset":60,"endOffset":453,"count":3},{"startOffset":105,"endOffset":127,"count":0},{"startOffset":128,"endOffset":155,"count":0},{"startOffset":193,"endOffset":218,"count":0},{"startOffset":219,"endOffset":249,"count":0},{"startOffset":290,"endOffset":346,"count":0}],"isBlockCoverage":true},{"functionName":"pEventMultiple","ranges":[{"startOffset":463,"endOffset":2125,"count":3},{"startOffset":1994,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":560,"endOffset":1917,"count":3},{"startOffset":812,"endOffset":892,"count":0},{"startOffset":1890,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"onItem","ranges":[{"startOffset":1060,"endOffset":1389,"count":3},{"startOffset":1116,"endOffset":1128,"count":0},{"startOffset":1263,"endOffset":1281,"count":2},{"startOffset":1281,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"rejectHandler","ranges":[{"startOffset":1416,"endOffset":1461,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":1475,"endOffset":1675,"count":1}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":2134,"endOffset":2551,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2421,"endOffset":2438,"count":1}],"isBlockCoverage":true},{"functionName":"pEventIterator","ranges":[{"startOffset":2560,"endOffset":6020,"count":0}],"isBlockCoverage":false}]},{"scriptId":"621","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@ava/typescript/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8330,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":352,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"validate","ranges":[{"startOffset":478,"endOffset":1131,"count":0}],"isBlockCoverage":false},{"functionName":"compileTypeScript","ranges":[{"startOffset":1133,"endOffset":1260,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1321,"endOffset":1393,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1436,"endOffset":1654,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1696,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"typescriptProvider","ranges":[{"startOffset":2093,"endOffset":8329,"count":1},{"startOffset":2251,"endOffset":2265,"count":0}],"isBlockCoverage":true},{"functionName":"main","ranges":[{"startOffset":2279,"endOffset":7324,"count":0}],"isBlockCoverage":false},{"functionName":"worker","ranges":[{"startOffset":7329,"endOffset":8322,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7526,"endOffset":7556,"count":3}],"isBlockCoverage":true},{"functionName":"canLoad","ranges":[{"startOffset":7591,"endOffset":7707,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7667,"endOffset":7699,"count":2}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":7714,"endOffset":8311,"count":1},{"startOffset":7935,"endOffset":8023,"count":0},{"startOffset":8055,"endOffset":8118,"count":0},{"startOffset":8247,"endOffset":8281,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7787,"endOffset":7819,"count":2}],"isBlockCoverage":true}]},{"scriptId":"622","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-timeout/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2513,"count":1}],"isBlockCoverage":true},{"functionName":"TimeoutError","ranges":[{"startOffset":43,"endOffset":116,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":315,"endOffset":405,"count":0}],"isBlockCoverage":false},{"functionName":"getDOMException","ranges":[{"startOffset":516,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"getAbortedReason","ranges":[{"startOffset":755,"endOffset":951,"count":0}],"isBlockCoverage":false},{"functionName":"pTimeout","ranges":[{"startOffset":969,"endOffset":2512,"count":0}],"isBlockCoverage":false}]},{"scriptId":"623","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7897,"count":1}],"isBlockCoverage":true},{"functionName":"getEnv","ranges":[{"startOffset":955,"endOffset":1187,"count":0}],"isBlockCoverage":false},{"functionName":"handleArguments","ranges":[{"startOffset":1214,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"handleOutput","ranges":[{"startOffset":1965,"endOffset":2268,"count":0}],"isBlockCoverage":false},{"functionName":"execa","ranges":[{"startOffset":2278,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"execaSync","ranges":[{"startOffset":4687,"endOffset":6032,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptStdin","ranges":[{"startOffset":6063,"endOffset":6191,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptOptions","ranges":[{"startOffset":6225,"endOffset":6316,"count":0}],"isBlockCoverage":false},{"functionName":"create$","ranges":[{"startOffset":6319,"endOffset":6973,"count":1}],"isBlockCoverage":true},{"functionName":"$","ranges":[{"startOffset":6348,"endOffset":6640,"count":0}],"isBlockCoverage":false},{"functionName":"$.sync","ranges":[{"startOffset":6652,"endOffset":6958,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommand","ranges":[{"startOffset":7011,"endOffset":7138,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommandSync","ranges":[{"startOffset":7147,"endOffset":7282,"count":0}],"isBlockCoverage":false},{"functionName":"execaNode","ranges":[{"startOffset":7291,"endOffset":7896,"count":0}],"isBlockCoverage":false}]},{"scriptId":"624","url":"node:child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27198,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1936,"endOffset":1965,"count":0}],"isBlockCoverage":false},{"functionName":"fork","ranges":[{"startOffset":3430,"endOffset":5105,"count":0}],"isBlockCoverage":false},{"functionName":"_forkChild","ranges":[{"startOffset":5107,"endOffset":5596,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecArgs","ranges":[{"startOffset":5598,"endOffset":6112,"count":0}],"isBlockCoverage":false},{"functionName":"exec","ranges":[{"startOffset":6649,"endOffset":6896,"count":0}],"isBlockCoverage":false},{"functionName":"customPromiseExecFunction","ranges":[{"startOffset":6932,"endOffset":7296,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6953,"endOffset":7293,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecFileArgs","ranges":[{"startOffset":7433,"endOffset":8331,"count":0}],"isBlockCoverage":false},{"functionName":"execFile","ranges":[{"startOffset":8944,"endOffset":13708,"count":0}],"isBlockCoverage":false},{"functionName":"copyProcessEnvToEnv","ranges":[{"startOffset":13852,"endOffset":14052,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeSpawnArguments","ranges":[{"startOffset":14054,"endOffset":19321,"count":0}],"isBlockCoverage":false},{"functionName":"abortChildProcess","ranges":[{"startOffset":19323,"endOffset":19579,"count":0}],"isBlockCoverage":false},{"functionName":"spawn","ranges":[{"startOffset":20134,"endOffset":21334,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":22094,"endOffset":23602,"count":0}],"isBlockCoverage":false},{"functionName":"checkExecSyncError","ranges":[{"startOffset":23605,"endOffset":23991,"count":0}],"isBlockCoverage":false},{"functionName":"execFileSync","ranges":[{"startOffset":24504,"endOffset":24968,"count":0}],"isBlockCoverage":false},{"functionName":"execSync","ranges":[{"startOffset":25466,"endOffset":25842,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentNullCheck","ranges":[{"startOffset":25845,"endOffset":26068,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentsNullCheck","ranges":[{"startOffset":26071,"endOffset":26233,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":26236,"endOffset":26424,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBuffer","ranges":[{"startOffset":26427,"endOffset":26700,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeKillSignal","ranges":[{"startOffset":26703,"endOffset":27066,"count":0}],"isBlockCoverage":false}]},{"scriptId":"625","url":"node:internal/child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31777,"count":1}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2500,"endOffset":2559,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2566,"endOffset":2620,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2682,"endOffset":2749,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2756,"endOffset":2897,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2927,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"postSend","ranges":[{"startOffset":4488,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5241,"endOffset":5698,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5763,"endOffset":5822,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5829,"endOffset":5883,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5948,"endOffset":6068,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":6075,"endOffset":6234,"count":0}],"isBlockCoverage":false},{"functionName":"stdioStringToArray","ranges":[{"startOffset":6245,"endOffset":6660,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess","ranges":[{"startOffset":6662,"endOffset":8151,"count":0}],"isBlockCoverage":false},{"functionName":"flushStdio","ranges":[{"startOffset":8274,"endOffset":8752,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":8755,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"getHandleWrapType","ranges":[{"startOffset":8848,"endOffset":9077,"count":0}],"isBlockCoverage":false},{"functionName":"closePendingHandle","ranges":[{"startOffset":9079,"endOffset":9192,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.spawn","ranges":[{"startOffset":9226,"endOffset":12793,"count":0}],"isBlockCoverage":false},{"functionName":"onErrorNT","ranges":[{"startOffset":12797,"endOffset":12858,"count":0}],"isBlockCoverage":false},{"functionName":"onSpawnNT","ranges":[{"startOffset":12861,"endOffset":12911,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.kill","ranges":[{"startOffset":12944,"endOffset":13609,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.","ranges":[{"startOffset":13652,"endOffset":13709,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.ref","ranges":[{"startOffset":13742,"endOffset":13796,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.unref","ranges":[{"startOffset":13831,"endOffset":13887,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13890,"endOffset":14887,"count":0}],"isBlockCoverage":false},{"functionName":"setupChannel","ranges":[{"startOffset":15035,"endOffset":27155,"count":0}],"isBlockCoverage":false},{"functionName":"isInternal","ranges":[{"startOffset":27190,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"getValidStdio","ranges":[{"startOffset":27534,"endOffset":30459,"count":0}],"isBlockCoverage":false},{"functionName":"getSocketList","ranges":[{"startOffset":30462,"endOffset":30778,"count":0}],"isBlockCoverage":false},{"functionName":"maybeClose","ranges":[{"startOffset":30781,"endOffset":30982,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":30984,"endOffset":31651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"626","url":"node:dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28253,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCluster","ranges":[{"startOffset":2824,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":3031,"endOffset":4459,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":4570,"endOffset":4648,"count":0}],"isBlockCoverage":false},{"functionName":"startListening","ranges":[{"startOffset":4651,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"replaceHandle","ranges":[{"startOffset":5096,"endOffset":5661,"count":0}],"isBlockCoverage":false},{"functionName":"bufferSize","ranges":[{"startOffset":5663,"endOffset":5955,"count":0}],"isBlockCoverage":false},{"functionName":"bindServerHandle","ranges":[{"startOffset":6023,"endOffset":6433,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.bind","ranges":[{"startOffset":6459,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":9932,"endOffset":10728,"count":0}],"isBlockCoverage":false},{"functionName":"_connect","ranges":[{"startOffset":10732,"endOffset":11078,"count":0}],"isBlockCoverage":false},{"functionName":"doConnect","ranges":[{"startOffset":11081,"endOffset":11723,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.disconnect","ranges":[{"startOffset":11756,"endOffset":12063,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.sendto","ranges":[{"startOffset":12168,"endOffset":12609,"count":0}],"isBlockCoverage":false},{"functionName":"sliceBuffer","ranges":[{"startOffset":12613,"endOffset":13373,"count":0}],"isBlockCoverage":false},{"functionName":"fixBufferList","ranges":[{"startOffset":13376,"endOffset":13760,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":13763,"endOffset":14190,"count":0}],"isBlockCoverage":false},{"functionName":"onListenSuccess","ranges":[{"startOffset":14193,"endOffset":14331,"count":0}],"isBlockCoverage":false},{"functionName":"onListenError","ranges":[{"startOffset":14334,"endOffset":14458,"count":0}],"isBlockCoverage":false},{"functionName":"clearQueue","ranges":[{"startOffset":14461,"endOffset":14658,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.send","ranges":[{"startOffset":15229,"endOffset":18122,"count":0}],"isBlockCoverage":false},{"functionName":"doSend","ranges":[{"startOffset":18125,"endOffset":19264,"count":0}],"isBlockCoverage":false},{"functionName":"afterSend","ranges":[{"startOffset":19266,"endOffset":19443,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.close","ranges":[{"startOffset":19470,"endOffset":20038,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":20080,"endOffset":20213,"count":0}],"isBlockCoverage":false},{"functionName":"socketCloseNT","ranges":[{"startOffset":20217,"endOffset":20271,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":20301,"endOffset":20491,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.remoteAddress","ranges":[{"startOffset":20527,"endOffset":20837,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setBroadcast","ranges":[{"startOffset":20873,"endOffset":21021,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setTTL","ranges":[{"startOffset":21051,"endOffset":21225,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastTTL","ranges":[{"startOffset":21264,"endOffset":21456,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastLoopback","ranges":[{"startOffset":21500,"endOffset":21700,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastInterface","ranges":[{"startOffset":21745,"endOffset":22007,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addMembership","ranges":[{"startOffset":22043,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropMembership","ranges":[{"startOffset":22455,"endOffset":22832,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addSourceSpecificMembership","ranges":[{"startOffset":22882,"endOffset":23489,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropSourceSpecificMembership","ranges":[{"startOffset":23541,"endOffset":24154,"count":0}],"isBlockCoverage":false},{"functionName":"healthCheck","ranges":[{"startOffset":24158,"endOffset":24321,"count":0}],"isBlockCoverage":false},{"functionName":"stopReceiving","ranges":[{"startOffset":24324,"endOffset":24488,"count":0}],"isBlockCoverage":false},{"functionName":"onMessage","ranges":[{"startOffset":24491,"endOffset":24745,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":24748,"endOffset":24863,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":24889,"endOffset":24996,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":25025,"endOffset":25134,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setRecvBufferSize","ranges":[{"startOffset":25175,"endOffset":25232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setSendBufferSize","ranges":[{"startOffset":25273,"endOffset":25330,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getRecvBufferSize","ranges":[{"startOffset":25371,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendBufferSize","ranges":[{"startOffset":25469,"endOffset":25526,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueSize","ranges":[{"startOffset":25565,"endOffset":25634,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueCount","ranges":[{"startOffset":25674,"endOffset":25744,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25863,"endOffset":25917,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25990,"endOffset":26046,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26199,"endOffset":26256,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26332,"endOffset":26391,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26547,"endOffset":26604,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26680,"endOffset":26739,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26891,"endOffset":26944,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27016,"endOffset":27071,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27223,"endOffset":27280,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27356,"endOffset":27415,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27522,"endOffset":27557,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27666,"endOffset":27703,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27988,"endOffset":28024,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":28028,"endOffset":28069,"count":0}],"isBlockCoverage":false}]},{"scriptId":"627","url":"node:internal/dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1851,"count":1}],"isBlockCoverage":false},{"functionName":"lookup4","ranges":[{"startOffset":478,"endOffset":579,"count":0}],"isBlockCoverage":false},{"functionName":"lookup6","ranges":[{"startOffset":582,"endOffset":677,"count":0}],"isBlockCoverage":false},{"functionName":"newHandle","ranges":[{"startOffset":679,"endOffset":1323,"count":0}],"isBlockCoverage":false},{"functionName":"_createSocketHandle","ranges":[{"startOffset":1326,"endOffset":1774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"628","url":"node:internal/socket_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2709,"count":1}],"isBlockCoverage":false},{"functionName":"SocketListSend","ranges":[{"startOffset":235,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"_request","ranges":[{"startOffset":380,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":1039,"endOffset":1190,"count":0}],"isBlockCoverage":false},{"functionName":"getConnections","ranges":[{"startOffset":1194,"endOffset":1430,"count":0}],"isBlockCoverage":false},{"functionName":"SocketListReceive","ranges":[{"startOffset":1544,"endOffset":2404,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":2408,"endOffset":2649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"629","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/strip-final-newline/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":347,"count":1}],"isBlockCoverage":true},{"functionName":"stripFinalNewline","ranges":[{"startOffset":15,"endOffset":346,"count":0}],"isBlockCoverage":false}]},{"scriptId":"630","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/onetime/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1022,"count":1}],"isBlockCoverage":true},{"functionName":"onetime","ranges":[{"startOffset":95,"endOffset":767,"count":0}],"isBlockCoverage":false},{"functionName":"onetime.callCount","ranges":[{"startOffset":790,"endOffset":995,"count":0}],"isBlockCoverage":false}]},{"scriptId":"631","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2204,"count":1}],"isBlockCoverage":true},{"functionName":"getErrorPrefix","ranges":[{"startOffset":105,"endOffset":580,"count":0}],"isBlockCoverage":false},{"functionName":"makeError","ranges":[{"startOffset":608,"endOffset":2202,"count":0}],"isBlockCoverage":false}]},{"scriptId":"632","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":938,"count":1}],"isBlockCoverage":true},{"functionName":"npmRunPath","ranges":[{"startOffset":134,"endOffset":741,"count":0}],"isBlockCoverage":false},{"functionName":"npmRunPathEnv","ranges":[{"startOffset":750,"endOffset":937,"count":0}],"isBlockCoverage":false}]},{"scriptId":"633","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stdio.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1157,"count":1}],"isBlockCoverage":true},{"functionName":"hasAlias","ranges":[{"startOffset":65,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdio","ranges":[{"startOffset":160,"endOffset":794,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdioNode","ranges":[{"startOffset":879,"endOffset":1155,"count":0}],"isBlockCoverage":false}]},{"scriptId":"634","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/kill.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2983,"count":1}],"isBlockCoverage":true},{"functionName":"spawnedKill","ranges":[{"startOffset":214,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"setKillTimeout","ranges":[{"startOffset":393,"endOffset":844,"count":0}],"isBlockCoverage":false},{"functionName":"shouldForceKill","ranges":[{"startOffset":871,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"isSigterm","ranges":[{"startOffset":1007,"endOffset":1128,"count":0}],"isBlockCoverage":false},{"functionName":"getForceKillAfterTimeout","ranges":[{"startOffset":1164,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"spawnedCancel","ranges":[{"startOffset":1623,"endOffset":1736,"count":0}],"isBlockCoverage":false},{"functionName":"timeoutKill","ranges":[{"startOffset":1759,"endOffset":1888,"count":0}],"isBlockCoverage":false},{"functionName":"setupTimeout","ranges":[{"startOffset":1948,"endOffset":2417,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":2451,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"setExitHandler","ranges":[{"startOffset":2737,"endOffset":2981,"count":0}],"isBlockCoverage":false}]},{"scriptId":"635","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/pipe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1194,"count":1}],"isBlockCoverage":true},{"functionName":"isExecaChildProcess","ranges":[{"startOffset":165,"endOffset":242,"count":0}],"isBlockCoverage":false},{"functionName":"pipeToTarget","ranges":[{"startOffset":266,"endOffset":826,"count":0}],"isBlockCoverage":false},{"functionName":"addPipeMethods","ranges":[{"startOffset":859,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"636","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2958,"count":1}],"isBlockCoverage":true},{"functionName":"validateInputOptions","ranges":[{"startOffset":198,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"getInputSync","ranges":[{"startOffset":347,"endOffset":495,"count":0}],"isBlockCoverage":false},{"functionName":"handleInputSync","ranges":[{"startOffset":576,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getInput","ranges":[{"startOffset":769,"endOffset":921,"count":0}],"isBlockCoverage":false},{"functionName":"handleInput","ranges":[{"startOffset":999,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"makeAllStream","ranges":[{"startOffset":1270,"endOffset":1518,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedData","ranges":[{"startOffset":1632,"endOffset":1940,"count":0}],"isBlockCoverage":false},{"functionName":"getStreamPromise","ranges":[{"startOffset":1968,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedResult","ranges":[{"startOffset":2300,"endOffset":2956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"637","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1109,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":91,"endOffset":105,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":186,"endOffset":281,"count":3}],"isBlockCoverage":true},{"functionName":"mergePromise","ranges":[{"startOffset":376,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedPromise","ranges":[{"startOffset":835,"endOffset":1107,"count":0}],"isBlockCoverage":false}]},{"scriptId":"638","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/command.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3071,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeArgs","ranges":[{"startOffset":108,"endOffset":207,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArg","ranges":[{"startOffset":302,"endOffset":449,"count":0}],"isBlockCoverage":false},{"functionName":"joinCommand","ranges":[{"startOffset":479,"endOffset":530,"count":0}],"isBlockCoverage":false},{"functionName":"getEscapedCommand","ranges":[{"startOffset":566,"endOffset":644,"count":0}],"isBlockCoverage":false},{"functionName":"parseCommand","ranges":[{"startOffset":732,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"parseExpression","ranges":[{"startOffset":1209,"endOffset":1923,"count":0}],"isBlockCoverage":false},{"functionName":"concatTokens","ranges":[{"startOffset":1947,"endOffset":2173,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplate","ranges":[{"startOffset":2198,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplates","ranges":[{"startOffset":2865,"endOffset":3068,"count":0}],"isBlockCoverage":false}]},{"scriptId":"639","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/verbose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"padField","ranges":[{"startOffset":148,"endOffset":204,"count":0}],"isBlockCoverage":false},{"functionName":"getTimestamp","ranges":[{"startOffset":228,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"logCommand","ranges":[{"startOffset":442,"endOffset":573,"count":0}],"isBlockCoverage":false}]},{"scriptId":"640","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/main.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1214,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalsByName","ranges":[{"startOffset":134,"endOffset":226,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalByName","ranges":[{"startOffset":251,"endOffset":386,"count":69}],"isBlockCoverage":true},{"functionName":"getSignalsByNumber","ranges":[{"startOffset":465,"endOffset":652,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":559,"endOffset":609,"count":65}],"isBlockCoverage":true},{"functionName":"getSignalByNumber","ranges":[{"startOffset":679,"endOffset":939,"count":65},{"startOffset":771,"endOffset":784,"count":3},{"startOffset":784,"endOffset":938,"count":62}],"isBlockCoverage":true},{"functionName":"findSignalByNumber","ranges":[{"startOffset":969,"endOffset":1161,"count":65},{"startOffset":1083,"endOffset":1101,"count":31},{"startOffset":1101,"endOffset":1160,"count":34}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1015,"endOffset":1057,"count":2919}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1123,"endOffset":1157,"count":1881}],"isBlockCoverage":true}]},{"scriptId":"641","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":263,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":15,"endOffset":262,"count":0}],"isBlockCoverage":false}]},{"scriptId":"642","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":746,"count":1}],"isBlockCoverage":true},{"functionName":"isStream","ranges":[{"startOffset":7,"endOffset":132,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":141,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":332,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexStream","ranges":[{"startOffset":522,"endOffset":621,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":630,"endOffset":745,"count":0}],"isBlockCoverage":false}]},{"scriptId":"643","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/realtime.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":353,"count":1}],"isBlockCoverage":true},{"functionName":"getRealtimeSignals","ranges":[{"startOffset":33,"endOffset":121,"count":2}],"isBlockCoverage":true},{"functionName":"getRealtimeSignal","ranges":[{"startOffset":148,"endOffset":306,"count":62}],"isBlockCoverage":true}]},{"scriptId":"644","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1}],"isBlockCoverage":true},{"functionName":"getSignals","ranges":[{"startOffset":139,"endOffset":274,"count":2}],"isBlockCoverage":true},{"functionName":"normalizeSignal","ranges":[{"startOffset":305,"endOffset":602,"count":138},{"startOffset":504,"endOffset":519,"count":66},{"startOffset":519,"endOffset":533,"count":72}],"isBlockCoverage":true}]},{"scriptId":"645","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4126,"count":1}],"isBlockCoverage":true}]},{"scriptId":"646","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1}],"isBlockCoverage":true},{"functionName":"spawn","ranges":[{"startOffset":131,"endOffset":589,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":591,"endOffset":1038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"647","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3065,"count":1}],"isBlockCoverage":true},{"functionName":"detectShebang","ranges":[{"startOffset":354,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"parseNonShell","ranges":[{"startOffset":661,"endOffset":2367,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":2369,"endOffset":3039,"count":0}],"isBlockCoverage":false}]},{"scriptId":"648","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/resolveCommand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1557,"count":1}],"isBlockCoverage":true},{"functionName":"resolveCommandAttempt","ranges":[{"startOffset":118,"endOffset":1404,"count":0}],"isBlockCoverage":false},{"functionName":"resolveCommand","ranges":[{"startOffset":1406,"endOffset":1522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"649","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/which/which.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3163,"count":1},{"startOffset":177,"endOffset":182,"count":0}],"isBlockCoverage":true},{"functionName":"getNotFoundError","ranges":[{"startOffset":246,"endOffset":322,"count":0}],"isBlockCoverage":false},{"functionName":"getPathInfo","ranges":[{"startOffset":344,"endOffset":1152,"count":0}],"isBlockCoverage":false},{"functionName":"which","ranges":[{"startOffset":1168,"endOffset":2279,"count":0}],"isBlockCoverage":false},{"functionName":"whichSync","ranges":[{"startOffset":2299,"endOffset":3115,"count":0}],"isBlockCoverage":false}]},{"scriptId":"650","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1},{"startOffset":92,"endOffset":128,"count":0}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":211,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":930,"endOffset":1191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"651","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/mode.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":909,"count":1}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":66,"endOffset":197,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":199,"endOffset":279,"count":0}],"isBlockCoverage":false},{"functionName":"checkStat","ranges":[{"startOffset":281,"endOffset":370,"count":0}],"isBlockCoverage":false},{"functionName":"checkMode","ranges":[{"startOffset":372,"endOffset":908,"count":0}],"isBlockCoverage":false}]},{"scriptId":"652","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":415,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":31,"endOffset":304,"count":0}],"isBlockCoverage":false}]},{"scriptId":"653","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/escape.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"escapeCommand","ranges":[{"startOffset":121,"endOffset":241,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArgument","ranges":[{"startOffset":243,"endOffset":1088,"count":0}],"isBlockCoverage":false}]},{"scriptId":"654","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/readShebang.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":549,"count":1}],"isBlockCoverage":true},{"functionName":"readShebang","ranges":[{"startOffset":93,"endOffset":517,"count":0}],"isBlockCoverage":false}]},{"scriptId":"655","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-command/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":387,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":79,"endOffset":385,"count":0}],"isBlockCoverage":false}]},{"scriptId":"656","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":42,"count":1}],"isBlockCoverage":true}]},{"scriptId":"657","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/enoent.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1480,"count":1}],"isBlockCoverage":true},{"functionName":"notFoundError","ranges":[{"startOffset":60,"endOffset":358,"count":0}],"isBlockCoverage":false},{"functionName":"hookChildProcess","ranges":[{"startOffset":360,"endOffset":1023,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENT","ranges":[{"startOffset":1025,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENTSync","ranges":[{"startOffset":1197,"endOffset":1375,"count":0}],"isBlockCoverage":false}]},{"scriptId":"658","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5708,"count":1},{"startOffset":778,"endOffset":844,"count":0},{"startOffset":1059,"endOffset":1089,"count":0},{"startOffset":1144,"endOffset":1195,"count":0}],"isBlockCoverage":true},{"functionName":"processOk","ranges":[{"startOffset":293,"endOffset":677,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":799,"endOffset":842,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1703,"endOffset":2301,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2318,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2724,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3001,"endOffset":3890,"count":18}],"isBlockCoverage":true},{"functionName":"listener","ranges":[{"startOffset":3042,"endOffset":3886,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.signals","ranges":[{"startOffset":3920,"endOffset":3956,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":3993,"endOffset":4602,"count":0}],"isBlockCoverage":false},{"functionName":"processReallyExit","ranges":[{"startOffset":4712,"endOffset":5108,"count":0}],"isBlockCoverage":false},{"functionName":"processEmit","ranges":[{"startOffset":5171,"endOffset":5705,"count":0}],"isBlockCoverage":false}]},{"scriptId":"659","url":"node:assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31879,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadComparison","ranges":[{"startOffset":2704,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":3469,"endOffset":3517,"count":0}],"isBlockCoverage":false},{"functionName":"innerFail","ranges":[{"startOffset":4071,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":4348,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"findColumn","ranges":[{"startOffset":5445,"endOffset":6385,"count":0}],"isBlockCoverage":false},{"functionName":"getCode","ranges":[{"startOffset":6387,"endOffset":8032,"count":0}],"isBlockCoverage":false},{"functionName":"parseCode","ranges":[{"startOffset":8034,"endOffset":9451,"count":0}],"isBlockCoverage":false},{"functionName":"getErrMessage","ranges":[{"startOffset":9453,"endOffset":12547,"count":0}],"isBlockCoverage":false},{"functionName":"innerOk","ranges":[{"startOffset":12549,"endOffset":13157,"count":1},{"startOffset":12610,"endOffset":13155,"count":0}],"isBlockCoverage":true},{"functionName":"ok","ranges":[{"startOffset":13290,"endOffset":13351,"count":1}],"isBlockCoverage":true},{"functionName":"equal","ranges":[{"startOffset":13610,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"notEqual","ranges":[{"startOffset":14201,"endOffset":14577,"count":0}],"isBlockCoverage":false},{"functionName":"deepEqual","ranges":[{"startOffset":14777,"endOffset":15142,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepEqual","ranges":[{"startOffset":15348,"endOffset":15721,"count":0}],"isBlockCoverage":false},{"functionName":"deepStrictEqual","ranges":[{"startOffset":15964,"endOffset":16353,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepStrictEqual","ranges":[{"startOffset":16602,"endOffset":16999,"count":0}],"isBlockCoverage":false},{"functionName":"strictEqual","ranges":[{"startOffset":17204,"endOffset":17517,"count":0}],"isBlockCoverage":false},{"functionName":"notStrictEqual","ranges":[{"startOffset":17729,"endOffset":18050,"count":0}],"isBlockCoverage":false},{"functionName":"Comparison","ranges":[{"startOffset":18074,"endOffset":18456,"count":0}],"isBlockCoverage":false},{"functionName":"compareExceptionKey","ranges":[{"startOffset":18460,"endOffset":19179,"count":0}],"isBlockCoverage":false},{"functionName":"expectedException","ranges":[{"startOffset":19181,"endOffset":22585,"count":0}],"isBlockCoverage":false},{"functionName":"getActual","ranges":[{"startOffset":22587,"endOffset":22727,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsPromise","ranges":[{"startOffset":22729,"endOffset":23093,"count":0}],"isBlockCoverage":false},{"functionName":"waitForActual","ranges":[{"startOffset":23095,"endOffset":23809,"count":0}],"isBlockCoverage":false},{"functionName":"expectsError","ranges":[{"startOffset":23811,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"hasMatchingError","ranges":[{"startOffset":25430,"endOffset":26048,"count":0}],"isBlockCoverage":false},{"functionName":"expectsNoError","ranges":[{"startOffset":26050,"endOffset":26701,"count":0}],"isBlockCoverage":false},{"functionName":"throws","ranges":[{"startOffset":26859,"endOffset":26953,"count":0}],"isBlockCoverage":false},{"functionName":"rejects","ranges":[{"startOffset":27132,"endOffset":27244,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotThrow","ranges":[{"startOffset":27406,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotReject","ranges":[{"startOffset":27666,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"ifError","ranges":[{"startOffset":27906,"endOffset":29695,"count":0}],"isBlockCoverage":false},{"functionName":"internalMatch","ranges":[{"startOffset":29698,"endOffset":30781,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":30977,"endOffset":31069,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotMatch","ranges":[{"startOffset":31277,"endOffset":31383,"count":0}],"isBlockCoverage":false},{"functionName":"strict","ranges":[{"startOffset":31574,"endOffset":31643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"660","url":"node:internal/assert/assertion_error","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17104,"count":1}],"isBlockCoverage":false},{"functionName":"copyError","ranges":[{"startOffset":1449,"endOffset":1743,"count":0}],"isBlockCoverage":false},{"functionName":"inspectValue","ranges":[{"startOffset":1745,"endOffset":2353,"count":0}],"isBlockCoverage":false},{"functionName":"createErrDiff","ranges":[{"startOffset":2355,"endOffset":11091,"count":0}],"isBlockCoverage":false},{"functionName":"addEllipsis","ranges":[{"startOffset":11093,"endOffset":11396,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":11437,"endOffset":16133,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16137,"endOffset":16212,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16216,"endOffset":17067,"count":0}],"isBlockCoverage":false}]},{"scriptId":"661","url":"node:internal/util/colors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1122,"count":1}],"isBlockCoverage":false},{"functionName":"lazyInternalTTY","ranges":[{"startOffset":32,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"shouldColorize","ranges":[{"startOffset":244,"endOffset":504,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":508,"endOffset":1090,"count":1},{"startOffset":550,"endOffset":1086,"count":0}],"isBlockCoverage":true}]},{"scriptId":"662","url":"node:internal/assert/calltracker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3452,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":462,"endOffset":1495,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1497,"endOffset":3420,"count":0}],"isBlockCoverage":false}]},{"scriptId":"663","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1295,"count":1}],"isBlockCoverage":true}]},{"scriptId":"664","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1489,"count":1}],"isBlockCoverage":true},{"functionName":"MaxBufferError","ranges":[{"startOffset":292,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"getStream","ranges":[{"startOffset":377,"endOffset":1223,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.buffer","ranges":[{"startOffset":1277,"endOffset":1349,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.array","ranges":[{"startOffset":1374,"endOffset":1439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"665","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/buffer-stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":894,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":92,"endOffset":892,"count":0}],"isBlockCoverage":false}]},{"scriptId":"666","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":885,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":76,"endOffset":884,"count":0}],"isBlockCoverage":false}]},{"scriptId":"667","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/unit/utils/line-buffer-test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":70,"endOffset":151,"count":2},{"startOffset":122,"endOffset":127,"count":1},{"startOffset":128,"endOffset":148,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":396,"endOffset":1065,"count":1}],"isBlockCoverage":true},{"functionName":"result","ranges":[{"startOffset":614,"endOffset":1026,"count":1},{"startOffset":906,"endOffset":948,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":726,"endOffset":868,"count":4},{"startOffset":840,"endOffset":858,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1127,"endOffset":1343,"count":1}],"isBlockCoverage":true},{"functionName":"t.throws.message","ranges":[{"startOffset":1209,"endOffset":1232,"count":1}],"isBlockCoverage":true},{"functionName":"t.throws.message","ranges":[{"startOffset":1285,"endOffset":1302,"count":1}],"isBlockCoverage":true}]},{"scriptId":"668","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/entrypoints/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":66,"count":1}],"isBlockCoverage":true}]},{"scriptId":"669","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":277,"count":1}],"isBlockCoverage":true}]},{"scriptId":"670","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/guard-environment.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1},{"startOffset":271,"endOffset":602,"count":0}],"isBlockCoverage":true}]},{"scriptId":"671","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/line-buffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1846,"count":1}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":70,"endOffset":151,"count":1},{"startOffset":122,"endOffset":127,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":317,"endOffset":1776,"count":2}],"isBlockCoverage":true},{"functionName":"LineBuffer","ranges":[{"startOffset":412,"endOffset":537,"count":2}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":542,"endOffset":1432,"count":6},{"startOffset":583,"endOffset":647,"count":1},{"startOffset":647,"endOffset":1426,"count":5},{"startOffset":778,"endOffset":914,"count":2},{"startOffset":914,"endOffset":1416,"count":3},{"startOffset":973,"endOffset":1175,"count":1},{"startOffset":1283,"endOffset":1402,"count":2}],"isBlockCoverage":true},{"functionName":"close","ranges":[{"startOffset":1437,"endOffset":1713,"count":3},{"startOffset":1473,"endOffset":1537,"count":1},{"startOffset":1537,"endOffset":1569,"count":2},{"startOffset":1569,"endOffset":1678,"count":1},{"startOffset":1678,"endOffset":1712,"count":2}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":1718,"endOffset":1774,"count":1}],"isBlockCoverage":true}]},{"scriptId":"672","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1322,"count":1}],"isBlockCoverage":true}]},{"scriptId":"673","url":"node:internal/util/iterable_weak_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1959,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":373,"endOffset":1819,"count":1}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":521,"endOffset":1033,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1037,"endOffset":1093,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":1097,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":1150,"endOffset":1388,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1392,"endOffset":1817,"count":9}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":1484,"endOffset":1736,"count":9},{"startOffset":1567,"endOffset":1735,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1758,"endOffset":1793,"count":0}],"isBlockCoverage":false},{"functionName":"cleanup","ranges":[{"startOffset":1821,"endOffset":1874,"count":0}],"isBlockCoverage":false}]}],"timestamp":85118.411236,"source-map-cache":{"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js":{"lineLengths":[13,7,62,74,65,63,53,60,45,115,43,34,51,41,47,46,41,38,37,55,26,64,27,15,15,25,20,6,17,22,17,6,14,23,19,35,40,9,52,24,28,30,32,11,5,16,36,5,28,40,35,29,23,19,9,28,43,28,9,14,30,9,5,28,31,25,9,32,24,46,51,9,28,62,9,19,5,1,22,1,37,12,26,44,10,16,34,10,18,36,10,6,2,49,14,25,5,14,16,1,41,52,40,25,65,24,29,13,25,31,23,20,26,16,32,43,32,49,45,70,71,69,35,63,46,83,84,82,82,81,27,37,34,68,74,61,17,36,49,34,70,41,68,29,53,40,17,14,9,61,49,5,22,29,40,29,9,28,37,24,9,59,33,22,49,63,68,30,13,10,5,12,27,19,9,28,65,68,68,35,33,49,17,51,23,46,13,25,9,44,47,10,46,49,10,5,14,28,19,9,29,45,53,33,28,75,13,32,17,60,37,13,25,32,11,55,67,33,5,30,29,40,21,9,43,28,65,91,5,31,45,56,46,49,37,13,33,60,33,69,32,23,9,14,55,9,5,1,35,65,25,94,3,67,39,2,68,29,2,61,3,28,3,66,66,45,2,12,3,24,3,68,66,45,2,12,3,27,33],"data":{"version":3,"file":"index.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/index.ts"],"names":[],"mappings":";;;;AAAA,iEAAiE;AACjE,+DAA+D;AAC/D,qDAAqD;AACrD,4DAA4D;AAC5D,6CAAsC;AAC7B,wFADA,oBAAO,OACA;AAQhB,MAAM,SAAS,GAAG,CAAC,OAAY,EAAwB,EAAE,CACvD,CAAC,CAAC,OAAO;IACT,OAAO,OAAO,KAAK,QAAQ;IAC3B,OAAO,OAAO,CAAC,cAAc,KAAK,UAAU;IAC5C,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,UAAU,KAAK,UAAU;IACxC,OAAO,OAAO,CAAC,SAAS,KAAK,UAAU;IACvC,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,GAAG,KAAK,QAAQ;IAC/B,OAAO,OAAO,CAAC,EAAE,KAAK,UAAU,CAAA;AAElC,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;AACtD,MAAM,MAAM,GAAqD,UAAU,CAAA;AAC3E,MAAM,oBAAoB,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;AAwB/D,2BAA2B;AAC3B,MAAM,OAAO;IACX,OAAO,GAAY;QACjB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,KAAK;KACZ,CAAA;IAED,SAAS,GAAc;QACrB,SAAS,EAAE,EAAE;QACb,IAAI,EAAE,EAAE;KACT,CAAA;IAED,KAAK,GAAW,CAAC,CAAA;IACjB,EAAE,GAAW,IAAI,CAAC,MAAM,EAAE,CAAA;IAE1B;QACE,IAAI,MAAM,CAAC,YAAY,CAAC,EAAE;YACxB,OAAO,MAAM,CAAC,YAAY,CAAC,CAAA;SAC5B;QACD,oBAAoB,CAAC,MAAM,EAAE,YAAY,EAAE;YACzC,KAAK,EAAE,IAAI;YACX,QAAQ,EAAE,KAAK;YACf,UAAU,EAAE,KAAK;YACjB,YAAY,EAAE,KAAK;SACpB,CAAC,CAAA;IACJ,CAAC;IAED,EAAE,CAAC,EAAa,EAAE,EAAW;QAC3B,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC7B,CAAC;IAED,cAAc,CAAC,EAAa,EAAE,EAAW;QACvC,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;QAC/B,MAAM,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;QAC1B,qBAAqB;QACrB,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE;YACZ,OAAM;SACP;QACD,oBAAoB;QACpB,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;YAChC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAA;SAChB;aAAM;YACL,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;SAClB;IACH,CAAC;IAED,IAAI,CACF,EAAa,EACb,IAA+B,EAC/B,MAA6B;QAE7B,IAAI,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;YACpB,OAAO,KAAK,CAAA;SACb;QACD,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,IAAI,CAAA;QACvB,IAAI,GAAG,GAAY,KAAK,CAAA;QACxB,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE;YACnC,GAAG,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,IAAI,IAAI,GAAG,CAAA;SACvC;QACD,IAAI,EAAE,KAAK,MAAM,EAAE;YACjB,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,GAAG,CAAA;SAClD;QACD,OAAO,GAAG,CAAA;IACZ,CAAC;CACF;AAED,MAAe,cAAc;CAI5B;AAED,MAAM,cAAc,GAAG,CAA2B,OAAU,EAAE,EAAE;IAC9D,OAAO;QACL,MAAM,CAAC,EAAW,EAAE,IAA+B;YACjD,OAAO,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;QACjC,CAAC;QACD,IAAI;YACF,OAAO,OAAO,CAAC,IAAI,EAAE,CAAA;QACvB,CAAC;QACD,MAAM;YACJ,OAAO,OAAO,CAAC,MAAM,EAAE,CAAA;QACzB,CAAC;KACF,CAAA;AACH,CAAC,CAAA;AAED,MAAM,kBAAmB,SAAQ,cAAc;IAC7C,MAAM;QACJ,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;IACjB,CAAC;IACD,IAAI,KAAI,CAAC;IACT,MAAM,KAAI,CAAC;CACZ;AAED,MAAM,UAAW,SAAQ,cAAc;IACrC,gDAAgD;IAChD,oCAAoC;IACpC,qBAAqB;IACrB,OAAO,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC5D,oBAAoB;IACpB,QAAQ,GAAG,IAAI,OAAO,EAAE,CAAA;IACxB,QAAQ,CAAW;IACnB,oBAAoB,CAAmB;IACvC,0BAA0B,CAAyB;IAEnD,aAAa,GAA2C,EAAE,CAAA;IAC1D,OAAO,GAAY,KAAK,CAAA;IAExB,YAAY,OAAkB;QAC5B,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAA;QACvB,mCAAmC;QACnC,IAAI,CAAC,aAAa,GAAG,EAAE,CAAA;QACvB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,GAAG,EAAE;gBAC7B,sDAAsD;gBACtD,uDAAuD;gBACvD,qDAAqD;gBACrD,mBAAmB;gBACnB,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;gBAC9C,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAA;gBAC7B,mEAAmE;gBACnE,oEAAoE;gBACpE,kEAAkE;gBAClE,kEAAkE;gBAClE,iEAAiE;gBACjE,WAAW;gBACX,qBAAqB;gBACrB,MAAM,CAAC,GAAG,OAET,CAAA;gBACD,IACE,OAAO,CAAC,CAAC,uBAAuB,KAAK,QAAQ;oBAC7C,OAAO,CAAC,CAAC,uBAAuB,CAAC,KAAK,KAAK,QAAQ,EACnD;oBACA,KAAK,IAAI,CAAC,CAAC,uBAAuB,CAAC,KAAK,CAAA;iBACzC;gBACD,oBAAoB;gBACpB,IAAI,SAAS,CAAC,MAAM,KAAK,KAAK,EAAE;oBAC9B,IAAI,CAAC,MAAM,EAAE,CAAA;oBACb,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,CAAA;oBACjD,qBAAqB;oBACrB,MAAM,CAAC,GAAG,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAA;oBAC/C,IAAI,CAAC,GAAG;wBAAE,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;oBACtC,oBAAoB;iBACrB;YACH,CAAC,CAAA;SACF;QAED,IAAI,CAAC,0BAA0B,GAAG,OAAO,CAAC,UAAU,CAAA;QACpD,IAAI,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAA;IAC1C,CAAC;IAED,MAAM,CAAC,EAAW,EAAE,IAA+B;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;SAChB;QACD,oBAAoB;QAEpB,IAAI,IAAI,CAAC,OAAO,KAAK,KAAK,EAAE;YAC1B,IAAI,CAAC,IAAI,EAAE,CAAA;SACZ;QAED,MAAM,EAAE,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAA;QAClD,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;QACxB,OAAO,GAAG,EAAE;YACV,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;YACpC,IACE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC;gBAC5C,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,MAAM,KAAK,CAAC,EACjD;gBACA,IAAI,CAAC,MAAM,EAAE,CAAA;aACd;QACH,CAAC,CAAA;IACH,CAAC;IAED,IAAI;QACF,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;QAEnB,yDAAyD;QACzD,4DAA4D;QAC5D,4DAA4D;QAC5D,2BAA2B;QAC3B,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;QAExB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI;gBACF,MAAM,EAAE,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;gBAClC,IAAI,EAAE;oBAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;aAClC;YAAC,OAAO,CAAC,EAAE,GAAE;SACf;QAED,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,EAAU,EAAE,GAAG,CAAQ,EAAE,EAAE;YAC/C,OAAO,IAAI,CAAC,YAAY,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,CAAA;QACpC,CAAC,CAAA;QACD,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,CAAC,IAAgC,EAAE,EAAE;YAC9D,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAA;QACtC,CAAC,CAAA;IACH,CAAC;IAED,MAAM;QACJ,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACjB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QAEpB,oBAAO,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACpB,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;YACxC,qBAAqB;YACrB,IAAI,CAAC,QAAQ,EAAE;gBACb,MAAM,IAAI,KAAK,CAAC,mCAAmC,GAAG,GAAG,CAAC,CAAA;aAC3D;YACD,oBAAoB;YACpB,IAAI;gBACF,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;gBAC3C,qBAAqB;aACtB;YAAC,OAAO,CAAC,EAAE,GAAE;YACd,oBAAoB;QACtB,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC,oBAAoB,CAAA;QAC9C,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,IAAI,CAAC,0BAA0B,CAAA;QAC1D,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;IAC1B,CAAC;IAED,kBAAkB,CAAC,IAAgC;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,CAAC,CAAA;SACT;QACD,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,IAAI,CAAC,CAAA;QAClC,oBAAoB;QAEpB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;QACxD,OAAO,IAAI,CAAC,0BAA0B,CAAC,IAAI,CACzC,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,QAAQ,CAAC,QAAQ,CACvB,CAAA;IACH,CAAC;IAED,YAAY,CAAC,EAAU,EAAE,GAAG,IAAW;QACrC,MAAM,EAAE,GAAG,IAAI,CAAC,oBAAoB,CAAA;QACpC,IAAI,EAAE,KAAK,MAAM,IAAI,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7C,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE;gBAC/B,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;gBAChC,qBAAqB;aACtB;YACD,qBAAqB;YACrB,MAAM,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;YAC/C,qBAAqB;YACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;YACxD,oBAAoB;YACpB,OAAO,GAAG,CAAA;SACX;aAAM;YACL,OAAO,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;SAC3C;IACH,CAAC;CACF;AAED,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAA;AAClC,iEAAiE;AACjE,yBAAyB;AACZ,KA6BT,cAAc,CAChB,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,kBAAkB,EAAE,CACxE;AA9BC;;;;;;;;GAQG;AACH,cAAM;AAEN;;;;;;GAMG;AACH,YAAI;AAEJ;;;;;;GAMG;AACH,cAAM,aAGP","sourcesContent":["// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nimport { signals } from './signals.js'\nexport { signals }\n\n// just a loosened process type so we can do some evil things\ntype ProcessRE = NodeJS.Process & {\n reallyExit: (code?: number | undefined | null) => any\n emit: (ev: string, ...a: any[]) => any\n}\n\nconst processOk = (process: any): process is ProcessRE =>\n !!process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n\nconst kExitEmitter = Symbol.for('signal-exit emitter')\nconst global: typeof globalThis & { [kExitEmitter]?: Emitter } = globalThis\nconst ObjectDefineProperty = Object.defineProperty.bind(Object)\n\n/**\n * A function that takes an exit code and signal as arguments\n *\n * In the case of signal exits *only*, a return value of true\n * will indicate that the signal is being handled, and we should\n * not synthetically exit with the signal we received. Regardless\n * of the handler return value, the handler is unloaded when an\n * otherwise fatal signal is received, so you get exactly 1 shot\n * at it, unless you add another onExit handler at that point.\n *\n * In the case of numeric code exits, we may already have committed\n * to exiting the process, for example via a fatal exception or\n * unhandled promise rejection, so it is impossible to stop safely.\n */\nexport type Handler = (\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n) => true | void\ntype ExitEvent = 'afterExit' | 'exit'\ntype Emitted = { [k in ExitEvent]: boolean }\ntype Listeners = { [k in ExitEvent]: Handler[] }\n\n// teeny special purpose ee\nclass Emitter {\n emitted: Emitted = {\n afterExit: false,\n exit: false,\n }\n\n listeners: Listeners = {\n afterExit: [],\n exit: [],\n }\n\n count: number = 0\n id: number = Math.random()\n\n constructor() {\n if (global[kExitEmitter]) {\n return global[kExitEmitter]\n }\n ObjectDefineProperty(global, kExitEmitter, {\n value: this,\n writable: false,\n enumerable: false,\n configurable: false,\n })\n }\n\n on(ev: ExitEvent, fn: Handler) {\n this.listeners[ev].push(fn)\n }\n\n removeListener(ev: ExitEvent, fn: Handler) {\n const list = this.listeners[ev]\n const i = list.indexOf(fn)\n /* c8 ignore start */\n if (i === -1) {\n return\n }\n /* c8 ignore stop */\n if (i === 0 && list.length === 1) {\n list.length = 0\n } else {\n list.splice(i, 1)\n }\n }\n\n emit(\n ev: ExitEvent,\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n ): boolean {\n if (this.emitted[ev]) {\n return false\n }\n this.emitted[ev] = true\n let ret: boolean = false\n for (const fn of this.listeners[ev]) {\n ret = fn(code, signal) === true || ret\n }\n if (ev === 'exit') {\n ret = this.emit('afterExit', code, signal) || ret\n }\n return ret\n }\n}\n\nabstract class SignalExitBase {\n abstract onExit(cb: Handler, opts?: { alwaysLast?: boolean }): () => void\n abstract load(): void\n abstract unload(): void\n}\n\nconst signalExitWrap = (handler: T) => {\n return {\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n return handler.onExit(cb, opts)\n },\n load() {\n return handler.load()\n },\n unload() {\n return handler.unload()\n },\n }\n}\n\nclass SignalExitFallback extends SignalExitBase {\n onExit() {\n return () => {}\n }\n load() {}\n unload() {}\n}\n\nclass SignalExit extends SignalExitBase {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n /* c8 ignore start */\n #hupSig = process.platform === 'win32' ? 'SIGINT' : 'SIGHUP'\n /* c8 ignore stop */\n #emitter = new Emitter()\n #process: ProcessRE\n #originalProcessEmit: ProcessRE['emit']\n #originalProcessReallyExit: ProcessRE['reallyExit']\n\n #sigListeners: { [k in NodeJS.Signals]?: () => void } = {}\n #loaded: boolean = false\n\n constructor(process: ProcessRE) {\n super()\n this.#process = process\n // { : , ... }\n this.#sigListeners = {}\n for (const sig of signals) {\n this.#sigListeners[sig] = () => {\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n const listeners = this.#process.listeners(sig)\n let { count } = this.#emitter\n // This is a workaround for the fact that signal-exit v3 and signal\n // exit v4 are not aware of each other, and each will attempt to let\n // the other handle it, so neither of them do. To correct this, we\n // detect if we're the only handler *except* for previous versions\n // of signal-exit, and increment by the count of listeners it has\n // created.\n /* c8 ignore start */\n const p = process as unknown as {\n __signal_exit_emitter__?: { count: number }\n }\n if (\n typeof p.__signal_exit_emitter__ === 'object' &&\n typeof p.__signal_exit_emitter__.count === 'number'\n ) {\n count += p.__signal_exit_emitter__.count\n }\n /* c8 ignore stop */\n if (listeners.length === count) {\n this.unload()\n const ret = this.#emitter.emit('exit', null, sig)\n /* c8 ignore start */\n const s = sig === 'SIGHUP' ? this.#hupSig : sig\n if (!ret) process.kill(process.pid, s)\n /* c8 ignore stop */\n }\n }\n }\n\n this.#originalProcessReallyExit = process.reallyExit\n this.#originalProcessEmit = process.emit\n }\n\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return () => {}\n }\n /* c8 ignore stop */\n\n if (this.#loaded === false) {\n this.load()\n }\n\n const ev = opts?.alwaysLast ? 'afterExit' : 'exit'\n this.#emitter.on(ev, cb)\n return () => {\n this.#emitter.removeListener(ev, cb)\n if (\n this.#emitter.listeners['exit'].length === 0 &&\n this.#emitter.listeners['afterExit'].length === 0\n ) {\n this.unload()\n }\n }\n }\n\n load() {\n if (this.#loaded) {\n return\n }\n this.#loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n this.#emitter.count += 1\n\n for (const sig of signals) {\n try {\n const fn = this.#sigListeners[sig]\n if (fn) this.#process.on(sig, fn)\n } catch (_) {}\n }\n\n this.#process.emit = (ev: string, ...a: any[]) => {\n return this.#processEmit(ev, ...a)\n }\n this.#process.reallyExit = (code?: number | null | undefined) => {\n return this.#processReallyExit(code)\n }\n }\n\n unload() {\n if (!this.#loaded) {\n return\n }\n this.#loaded = false\n\n signals.forEach(sig => {\n const listener = this.#sigListeners[sig]\n /* c8 ignore start */\n if (!listener) {\n throw new Error('Listener not defined for signal: ' + sig)\n }\n /* c8 ignore stop */\n try {\n this.#process.removeListener(sig, listener)\n /* c8 ignore start */\n } catch (_) {}\n /* c8 ignore stop */\n })\n this.#process.emit = this.#originalProcessEmit\n this.#process.reallyExit = this.#originalProcessReallyExit\n this.#emitter.count -= 1\n }\n\n #processReallyExit(code?: number | null | undefined) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return 0\n }\n this.#process.exitCode = code || 0\n /* c8 ignore stop */\n\n this.#emitter.emit('exit', this.#process.exitCode, null)\n return this.#originalProcessReallyExit.call(\n this.#process,\n this.#process.exitCode\n )\n }\n\n #processEmit(ev: string, ...args: any[]): any {\n const og = this.#originalProcessEmit\n if (ev === 'exit' && processOk(this.#process)) {\n if (typeof args[0] === 'number') {\n this.#process.exitCode = args[0]\n /* c8 ignore start */\n }\n /* c8 ignore start */\n const ret = og.call(this.#process, ev, ...args)\n /* c8 ignore start */\n this.#emitter.emit('exit', this.#process.exitCode, null)\n /* c8 ignore stop */\n return ret\n } else {\n return og.call(this.#process, ev, ...args)\n }\n }\n}\n\nconst process = globalThis.process\n// wrap so that we call the method on the actual handler, without\n// exporting it directly.\nexport const {\n /**\n * Called when the process is exiting, whether via signal, explicit\n * exit, or running out of stuff to do.\n *\n * If the global process object is not suitable for instrumentation,\n * then this will be a no-op.\n *\n * Returns a function that may be used to unload signal-exit.\n */\n onExit,\n\n /**\n * Load the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n load,\n\n /**\n * Unload the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n unload,\n} = signalExitWrap(\n processOk(process) ? new SignalExit(process) : new SignalExitFallback()\n)\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js":{"lineLengths":[13,62,25,3,47,2,54,54,53,55,28,2,55,54,52,2,54,49,2,56,52,55,36,2,54,50,54,13,3,21,52,35,133,61,14,16,6,1,35,68,1,35],"data":{"version":3,"file":"signals.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/signals.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACU,QAAA,OAAO,GAAqB,EAAE,CAAA;AAC3C,eAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAA;AAE3C,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CACV,SAAS,EACT,SAAS,EACT,WAAW,EACX,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,EACR,SAAS,EACT,QAAQ;IACR,yDAAyD;IACzD,UAAU;IACV,YAAY;KACb,CAAA;CACF;AAED,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAA;CACxD","sourcesContent":["/**\n * This is not the set of all possible signals.\n *\n * It IS, however, the set of all signals that trigger\n * an exit on either Linux or BSD systems. Linux is a\n * superset of the signal names supported on BSD, and\n * the unknown signals just fail to register, so we can\n * catch that easily enough.\n *\n * Windows signals are a different set, since there are\n * signals that terminate Windows processes, but don't\n * terminate (or don't even exist) on Posix systems.\n *\n * Don't bother with SIGKILL. It's uncatchable, which\n * means that we can't fire any callbacks anyway.\n *\n * If a user does happen to register a handler on a non-\n * fatal signal like SIGWINCH or something, and then\n * exit, it'll end up firing `process.emit('exit')`, so\n * the handler will be fired anyway.\n *\n * SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n * artificially, inherently leave the process in a\n * state from which it is not safe to try and enter JS\n * listeners.\n */\nexport const signals: NodeJS.Signals[] = []\nsignals.push('SIGHUP', 'SIGINT', 'SIGTERM')\n\nif (process.platform !== 'win32') {\n signals.push(\n 'SIGALRM',\n 'SIGABRT',\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n signals.push('SIGIO', 'SIGPOLL', 'SIGPWR', 'SIGSTKFLT')\n}\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/unit/utils/line-buffer-test.js":{"lineLengths":[13,72,62,2,62,46,81,65,14,80,71,49,46,26,34,32,52,34,11,36,30,9,20,50,7,34,3,67,42,16,75,69,3,44],"data":{"version":3,"file":"line-buffer-test.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/tests/unit/utils/line-buffer-test.ts"],"names":[],"mappings":";;;;;AAAA,8CAAsB;AAEtB,iFAAuD;AAEvD,IAAA,aAAI,EAAC,8BAA8B,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAC/C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IAET,IAAI,OAAO,GAAG,CAAC,iBAAiB,EAAE,GAAG,EAAE,MAAM,EAAE,cAAc,EAAE,WAAW,CAAC,CAAA;IAC3E,IAAI,QAAQ,GAAG,CAAC,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,CAAC,CAAA;IAElE,IAAI,MAAM,GAAG,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACzC,IAAI,GAAG,GAAG,IAAI,qBAAU,EAAE,CAAA;QAC1B,IAAI,QAAQ,GAAa,EAAE,CAAA;QAE3B,GAAG,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;YACtB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;YACnB,IAAI,QAAQ,CAAC,MAAM,KAAK,QAAQ,CAAC,MAAM;gBAAE,OAAO,CAAC,QAAQ,CAAC,CAAA;QAC5D,CAAC,CAAC,CAAA;QAEF,KAAK,IAAI,KAAK,IAAI,OAAO,EAAE;YACzB,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;SAClB;QAED,GAAG,CAAC,KAAK,EAAE,CAAA;QAEX,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;IAC3C,CAAC,CAAC,CAAA;IAEF,CAAC,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;AAC/B,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,sCAAsC,EAAE,CAAC,CAAC,EAAE,EAAE;IACjD,IAAI,GAAG,GAAG,IAAI,qBAAU,EAAE,CAAA;IAC1B,GAAG,CAAC,KAAK,EAAE,CAAA;IAEX,CAAC,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,OAAO,EAAE,sBAAsB,EAAE,CAAC,CAAA;IACtE,CAAC,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE,EAAE,EAAE,OAAO,EAAE,sBAAsB,EAAE,CAAC,CAAA;AAClE,CAAC,CAAC,CAAA"},"url":null,"sourceURL":null,"sourceMap":{}},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/line-buffer.js":{"lineLengths":[13,72,62,2,62,62,37,48,10,12,17,19,16,24,29,31,5,18,27,52,9,26,60,43,47,72,13,18,40,82,50,48,17,54,53,50,48,17,13,9,5,13,27,52,9,32,49,47,9,28,5,16,37,5,1,29,39],"data":{"version":3,"file":"line-buffer.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/line-buffer.ts"],"names":[],"mappings":";;;;;AAAA,8DAAsC;AAEtC,qCAAmC;AAEnC,MAAqB,UAAW,SAAQ,qBAAY;IAClD,KAAK,CAAU;IACf,OAAO,CAAS;IAChB,YAAY,CAAQ;IAEpB;QACE,KAAK,EAAE,CAAA;QAEP,IAAI,CAAC,KAAK,GAAG,EAAE,CAAA;QACf,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QACpB,IAAI,CAAC,YAAY,GAAG,EAAE,CAAA;IACxB,CAAC;IAED,MAAM,CAAC,IAAY;QACjB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAA;SACxC;QAED,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,iBAAQ,CAAC,CAAA;YAEtC,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;gBAC5B,IAAI,CAAC,UAAU,CAAC,GAAG,WAAW,CAAA;gBAC9B,IAAI,CAAC,YAAY,GAAG,GAAG,IAAI,CAAC,YAAY,GAAG,UAAU,EAAE,CAAA;aACxD;iBAAM;gBACL,IAAI,IAAI,CAAC,YAAY,EAAE;oBACrB,IAAI,UAAU,GAAG,GAAG,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC,KAAK,EAAE,EAAE,CAAA;oBAC7D,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;oBAC7B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;iBAC5B;gBAED,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC,GAAG,EAAY,CAAA;gBAC/C,KAAK,IAAI,UAAU,IAAI,WAAW,EAAE;oBAClC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;oBAC7B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;iBAC5B;aACF;SACF;IACH,CAAC;IAED,KAAK;QACH,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAA;SACxC;QAED,IAAI,IAAI,CAAC,YAAY,EAAE;YACrB,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,CAAA;YACpC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA;SACnC;QAED,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;IACrB,CAAC;IAED,QAAQ;QACN,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC9B,CAAC;CACF;AAxDD,6BAwDC"},"url":null,"sourceURL":null,"sourceMap":{}},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/regexp.js":{"lineLengths":[13,62,380,42,33,53,46,42,42,42,72,60,91,57,57,89,90,34],"data":{"version":3,"file":"regexp.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/regexp.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG,gBAAgB,CAAA;AAEjC,QAAA,QAAQ,GAAG,aAAa,CAAA;AAExB,QAAA,gBAAgB,GAAG,yBAAyB,CAAA;AAC5C,QAAA,cAAc,GAAG,oBAAoB,CAAA;AACrC,QAAA,gBAAgB,GAAG,cAAc,CAAA;AACjC,QAAA,gBAAgB,GAAG,cAAc,CAAA;AACjC,QAAA,iBAAiB,GAAG,aAAa,CAAA;AACjC,QAAA,cAAc,GAAG,8CAA8C,CAAA;AAE/D,QAAA,eAAe,GAAG,iCAAiC,CAAA;AACnD,QAAA,cAAc,GACzB,iEAAiE,CAAA;AACtD,QAAA,sBAAsB,GAAG,uBAAuB,CAAA;AAChD,QAAA,sBAAsB,GAAG,uBAAuB,CAAA;AAChD,QAAA,eAAe,GAC1B,8DAA8D,CAAA;AACnD,QAAA,gBAAgB,GAC3B,8DAA8D,CAAA"},"url":null,"sourceURL":null}}} \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761384-7.json b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761384-7.json new file mode 100644 index 0000000..d46aa92 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761384-7.json @@ -0,0 +1 @@ +{"result":[{"scriptId":"78","url":"node:internal/per_context/primordials","functions":[{"functionName":"SafeIterator","ranges":[{"startOffset":9499,"endOffset":9570,"count":150}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":9575,"endOffset":9624,"count":728}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9629,"endOffset":9674,"count":86}],"isBlockCoverage":true},{"functionName":"desc.value","ranges":[{"startOffset":11239,"endOffset":11306,"count":64}],"isBlockCoverage":true},{"functionName":"SafeMap","ranges":[{"startOffset":11964,"endOffset":11992,"count":698}],"isBlockCoverage":false},{"functionName":"SafeWeakMap","ranges":[{"startOffset":12136,"endOffset":12164,"count":10}],"isBlockCoverage":false},{"functionName":"SafeSet","ranges":[{"startOffset":12293,"endOffset":12321,"count":701}],"isBlockCoverage":false},{"functionName":"SafeWeakSet","ranges":[{"startOffset":12465,"endOffset":12493,"count":1}],"isBlockCoverage":true},{"functionName":"SafeFinalizationRegistry","ranges":[{"startOffset":12745,"endOffset":12801,"count":3}],"isBlockCoverage":true},{"functionName":"SafeWeakRef","ranges":[{"startOffset":12954,"endOffset":12992,"count":23}],"isBlockCoverage":true},{"functionName":"SafePromise","ranges":[{"startOffset":13140,"endOffset":13182,"count":348}],"isBlockCoverage":true},{"functionName":"primordials.SafePromisePrototypeFinally","ranges":[{"startOffset":13686,"endOffset":13960,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13831,"endOffset":13955,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13861,"endOffset":13910,"count":58}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnArrayLike","ranges":[{"startOffset":15280,"endOffset":15836,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15315,"endOffset":15835,"count":97},{"startOffset":15485,"endOffset":15504,"count":62},{"startOffset":15577,"endOffset":15831,"count":158},{"startOffset":15615,"endOffset":15638,"count":0},{"startOffset":15831,"endOffset":15834,"count":158}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15706,"endOffset":15815,"count":158},{"startOffset":15788,"endOffset":15807,"count":35}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnVoid","ranges":[{"startOffset":16178,"endOffset":16580,"count":203}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16213,"endOffset":16579,"count":203},{"startOffset":16310,"endOffset":16320,"count":133},{"startOffset":16367,"endOffset":16575,"count":316},{"startOffset":16405,"endOffset":16428,"count":158},{"startOffset":16429,"endOffset":16442,"count":158},{"startOffset":16575,"endOffset":16578,"count":316}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16496,"endOffset":16559,"count":316},{"startOffset":16541,"endOffset":16551,"count":70}],"isBlockCoverage":true}]},{"scriptId":"80","url":"node:internal/per_context/messageport","functions":[{"functionName":"exports.emitMessage","ranges":[{"startOffset":407,"endOffset":993,"count":4},{"startOffset":683,"endOffset":991,"count":0}],"isBlockCoverage":true}]},{"scriptId":"81","url":"node:internal/bootstrap/realm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14749,"count":1}],"isBlockCoverage":false},{"functionName":"binding","ranges":[{"startOffset":4702,"endOffset":5475,"count":0}],"isBlockCoverage":false},{"functionName":"_linkedBinding","ranges":[{"startOffset":5505,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"internalBinding","ranges":[{"startOffset":5955,"endOffset":6217,"count":219},{"startOffset":6057,"endOffset":6197,"count":51}],"isBlockCoverage":true},{"functionName":"getOwn","ranges":[{"startOffset":6377,"endOffset":6531,"count":3770},{"startOffset":6513,"endOffset":6528,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6580,"endOffset":6676,"count":331},{"startOffset":6636,"endOffset":6676,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6803,"endOffset":6870,"count":331},{"startOffset":6854,"endOffset":6870,"count":261}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7100,"endOffset":7136,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7508,"endOffset":7609,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7568,"endOffset":7603,"count":331}],"isBlockCoverage":true},{"functionName":"BuiltinModule","ranges":[{"startOffset":7614,"endOffset":8291,"count":331}],"isBlockCoverage":true},{"functionName":"allowRequireByUsers","ranges":[{"startOffset":8302,"endOffset":8663,"count":0}],"isBlockCoverage":false},{"functionName":"exposeInternals","ranges":[{"startOffset":8813,"endOffset":8964,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":8975,"endOffset":9029,"count":0}],"isBlockCoverage":false},{"functionName":"canBeRequiredByUsers","ranges":[{"startOffset":9040,"endOffset":9115,"count":222}],"isBlockCoverage":true},{"functionName":"canBeRequiredWithoutScheme","ranges":[{"startOffset":9126,"endOffset":9220,"count":2355}],"isBlockCoverage":true},{"functionName":"normalizeRequirableId","ranges":[{"startOffset":9231,"endOffset":9576,"count":1669},{"startOffset":9307,"endOffset":9469,"count":0},{"startOffset":9525,"endOffset":9549,"count":73},{"startOffset":9549,"endOffset":9575,"count":1596}],"isBlockCoverage":true},{"functionName":"isBuiltin","ranges":[{"startOffset":9587,"endOffset":9828,"count":0}],"isBlockCoverage":false},{"functionName":"getCanBeRequiredByUsersWithoutSchemeList","ranges":[{"startOffset":9839,"endOffset":9948,"count":1}],"isBlockCoverage":true},{"functionName":"getSchemeOnlyModuleNames","ranges":[{"startOffset":9959,"endOffset":10034,"count":0}],"isBlockCoverage":false},{"functionName":"compileForPublicLoader","ranges":[{"startOffset":10106,"endOffset":10818,"count":103},{"startOffset":10187,"endOffset":10379,"count":0},{"startOffset":10443,"endOffset":10740,"count":17},{"startOffset":10702,"endOffset":10706,"count":0}],"isBlockCoverage":true},{"functionName":"getESMFacade","ranges":[{"startOffset":10822,"endOffset":11584,"count":117},{"startOffset":10860,"endOffset":10879,"count":100},{"startOffset":10879,"endOffset":11583,"count":17}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11321,"endOffset":11424,"count":17}],"isBlockCoverage":true},{"functionName":"syncExports","ranges":[{"startOffset":11880,"endOffset":12224,"count":120},{"startOffset":11999,"endOffset":12214,"count":3770},{"startOffset":12076,"endOffset":12085,"count":0}],"isBlockCoverage":true},{"functionName":"compileForInternalLoader","ranges":[{"startOffset":12228,"endOffset":13050,"count":2937},{"startOffset":12277,"endOffset":12292,"count":195},{"startOffset":12294,"endOffset":12328,"count":2746},{"startOffset":12328,"endOffset":12467,"count":191},{"startOffset":12467,"endOffset":12502,"count":2},{"startOffset":12503,"endOffset":12519,"count":189},{"startOffset":12775,"endOffset":13049,"count":191}],"isBlockCoverage":true},{"functionName":"requireBuiltin","ranges":[{"startOffset":13245,"endOffset":13610,"count":2839},{"startOffset":13296,"endOffset":13327,"count":5},{"startOffset":13327,"endOffset":13512,"count":2834},{"startOffset":13512,"endOffset":13567,"count":0},{"startOffset":13567,"endOffset":13609,"count":2834}],"isBlockCoverage":true},{"functionName":"requireWithFallbackInDeps","ranges":[{"startOffset":13726,"endOffset":14002,"count":64},{"startOffset":13823,"endOffset":13876,"count":12},{"startOffset":13876,"endOffset":13966,"count":52},{"startOffset":13919,"endOffset":13966,"count":0}],"isBlockCoverage":true},{"functionName":"setupPrepareStackTrace","ranges":[{"startOffset":14004,"endOffset":14600,"count":1}],"isBlockCoverage":true}]},{"scriptId":"82","url":"node:internal/errors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":64999,"count":1}],"isBlockCoverage":false},{"functionName":"prepareStackTrace","ranges":[{"startOffset":2135,"endOffset":3623,"count":0}],"isBlockCoverage":false},{"functionName":"maybeOverridePrepareStackTrace","ranges":[{"startOffset":3665,"endOffset":4372,"count":4},{"startOffset":3934,"endOffset":4000,"count":0},{"startOffset":4281,"endOffset":4347,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4418,"endOffset":4964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5008,"endOffset":5207,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtil","ranges":[{"startOffset":5276,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtilInspect","ranges":[{"startOffset":5409,"endOffset":5537,"count":0}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":5555,"endOffset":5655,"count":0}],"isBlockCoverage":false},{"functionName":"lazyBuffer","ranges":[{"startOffset":5669,"endOffset":5750,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorStackTraceLimitWritable","ranges":[{"startOffset":5752,"endOffset":6259,"count":0}],"isBlockCoverage":false},{"functionName":"inspectWithNoCustomRetry","ranges":[{"startOffset":6261,"endOffset":6507,"count":0}],"isBlockCoverage":false},{"functionName":"SystemError","ranges":[{"startOffset":7009,"endOffset":9985,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":9989,"endOffset":10064,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10068,"endOffset":10258,"count":0}],"isBlockCoverage":false},{"functionName":"makeSystemErrorWithCode","ranges":[{"startOffset":10262,"endOffset":10407,"count":12}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10353,"endOffset":10400,"count":0}],"isBlockCoverage":false},{"functionName":"makeNodeErrorWithCode","ranges":[{"startOffset":10409,"endOffset":11467,"count":267}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10462,"endOffset":11464,"count":0}],"isBlockCoverage":false},{"functionName":"hideStackFrames","ranges":[{"startOffset":11629,"endOffset":11894,"count":59}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":12006,"endOffset":12514,"count":273},{"startOffset":12248,"endOffset":12293,"count":12},{"startOffset":12293,"endOffset":12347,"count":261},{"startOffset":12382,"endOffset":12492,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12409,"endOffset":12486,"count":6}],"isBlockCoverage":true},{"functionName":"getMessage","ranges":[{"startOffset":12516,"endOffset":13389,"count":0}],"isBlockCoverage":false},{"functionName":"lazyUv","ranges":[{"startOffset":13407,"endOffset":13487,"count":0}],"isBlockCoverage":false},{"functionName":"uvErrmapGet","ranges":[{"startOffset":13544,"endOffset":13696,"count":0}],"isBlockCoverage":false},{"functionName":"captureLargerStackTrace","ranges":[{"startOffset":13749,"endOffset":14151,"count":0}],"isBlockCoverage":false},{"functionName":"uvException","ranges":[{"startOffset":14478,"endOffset":15719,"count":0}],"isBlockCoverage":false},{"functionName":"uvExceptionWithHostPort","ranges":[{"startOffset":16082,"endOffset":17071,"count":0}],"isBlockCoverage":false},{"functionName":"errnoException","ranges":[{"startOffset":17291,"endOffset":18155,"count":0}],"isBlockCoverage":false},{"functionName":"exceptionWithHostPort","ranges":[{"startOffset":18559,"endOffset":19847,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20050,"endOffset":21591,"count":0}],"isBlockCoverage":false},{"functionName":"connResetException","ranges":[{"startOffset":21595,"endOffset":21750,"count":0}],"isBlockCoverage":false},{"functionName":"isStackOverflowError","ranges":[{"startOffset":22037,"endOffset":22415,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericalSeparator","ranges":[{"startOffset":22496,"endOffset":22764,"count":0}],"isBlockCoverage":false},{"functionName":"beforeInspector","ranges":[{"startOffset":23043,"endOffset":23434,"count":0}],"isBlockCoverage":false},{"functionName":"afterInspector","ranges":[{"startOffset":23438,"endOffset":24721,"count":0}],"isBlockCoverage":false},{"functionName":"setArrowMessage","ranges":[{"startOffset":24876,"endOffset":24975,"count":0}],"isBlockCoverage":false},{"functionName":"hideInternalStackFrames","ranges":[{"startOffset":25030,"endOffset":25508,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":25741,"endOffset":26050,"count":0}],"isBlockCoverage":false},{"functionName":"genericNodeError","ranges":[{"startOffset":26305,"endOffset":26497,"count":0}],"isBlockCoverage":false},{"functionName":"determineSpecificType","ranges":[{"startOffset":26618,"endOffset":27237,"count":0}],"isBlockCoverage":false},{"functionName":"formatList","ranges":[{"startOffset":27559,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29857,"endOffset":30021,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33056,"endOffset":33171,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33460,"endOffset":33554,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":36457,"endOffset":36685,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38465,"endOffset":38683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41350,"endOffset":41650,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41692,"endOffset":41836,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41879,"endOffset":44000,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44041,"endOffset":44389,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44697,"endOffset":44860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45517,"endOffset":45696,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45744,"endOffset":45879,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45925,"endOffset":46073,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":46117,"endOffset":46891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47179,"endOffset":47366,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47419,"endOffset":47598,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47642,"endOffset":47819,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48276,"endOffset":48492,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48536,"endOffset":48824,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":49387,"endOffset":49860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":50646,"endOffset":51087,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":51181,"endOffset":51400,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":52546,"endOffset":53244,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53295,"endOffset":53487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53536,"endOffset":53852,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54094,"endOffset":54393,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54577,"endOffset":56023,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":56475,"endOffset":56757,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58280,"endOffset":58354,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58390,"endOffset":58713,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58759,"endOffset":58833,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58865,"endOffset":59269,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59321,"endOffset":59499,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59770,"endOffset":59939,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61637,"endOffset":61768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62015,"endOffset":62172,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62362,"endOffset":62564,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62610,"endOffset":62933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63572,"endOffset":63640,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64043,"endOffset":64156,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64350,"endOffset":64737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"83","url":"node:internal/bootstrap/node","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13817,"count":1}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3830,"endOffset":3880,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3886,"endOffset":3944,"count":3},{"startOffset":3930,"endOffset":3933,"count":1},{"startOffset":3934,"endOffset":3937,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4086,"endOffset":4122,"count":8}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":4128,"endOffset":4547,"count":2},{"startOffset":4187,"endOffset":4469,"count":1},{"startOffset":4252,"endOffset":4266,"count":0},{"startOffset":4267,"endOffset":4315,"count":0},{"startOffset":4317,"endOffset":4352,"count":0},{"startOffset":4469,"endOffset":4518,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4769,"endOffset":5033,"count":409}],"isBlockCoverage":true},{"functionName":"process.openStdin","ranges":[{"startOffset":6409,"endOffset":6479,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7965,"endOffset":8127,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8229,"endOffset":8425,"count":1}],"isBlockCoverage":true},{"functionName":"get cached_builtins","ranges":[{"startOffset":9173,"endOffset":9240,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11734,"endOffset":11784,"count":6}],"isBlockCoverage":true},{"functionName":"setupProcessObject","ranges":[{"startOffset":12107,"endOffset":12912,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":12772,"endOffset":12808,"count":184}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":12814,"endOffset":12856,"count":0}],"isBlockCoverage":false},{"functionName":"setupGlobalProxy","ranges":[{"startOffset":12914,"endOffset":13151,"count":1}],"isBlockCoverage":true},{"functionName":"setupBuffer","ranges":[{"startOffset":13153,"endOffset":13816,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13678,"endOffset":13713,"count":10}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":13719,"endOffset":13760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"84","url":"node:internal/timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":19560,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4385,"endOffset":4410,"count":1}],"isBlockCoverage":true},{"functionName":"initAsyncResource","ranges":[{"startOffset":5548,"endOffset":5826,"count":15},{"startOffset":5774,"endOffset":5824,"count":0}],"isBlockCoverage":true},{"functionName":"Timeout","ranges":[{"startOffset":5932,"endOffset":6978,"count":14},{"startOffset":6054,"endOffset":6077,"count":1},{"startOffset":6080,"endOffset":6432,"count":13},{"startOffset":6113,"endOffset":6358,"count":0},{"startOffset":6789,"endOffset":6796,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7059,"endOffset":7255,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":7259,"endOffset":7368,"count":2},{"startOffset":7299,"endOffset":7312,"count":0}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":7372,"endOffset":7511,"count":3}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":7515,"endOffset":7652,"count":2}],"isBlockCoverage":true},{"functionName":"hasRef","ranges":[{"startOffset":7656,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"TimersList","ranges":[{"startOffset":7720,"endOffset":8026,"count":14}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8107,"endOffset":8303,"count":0}],"isBlockCoverage":false},{"functionName":"ImmediateList","ranges":[{"startOffset":8386,"endOffset":8449,"count":2}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":8601,"endOffset":8782,"count":1},{"startOffset":8644,"endOffset":8719,"count":0}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":8932,"endOffset":9293,"count":0}],"isBlockCoverage":false},{"functionName":"incRefCount","ranges":[{"startOffset":9403,"endOffset":9569,"count":16},{"startOffset":9458,"endOffset":9567,"count":14}],"isBlockCoverage":true},{"functionName":"decRefCount","ranges":[{"startOffset":9571,"endOffset":9738,"count":5},{"startOffset":9626,"endOffset":9736,"count":3}],"isBlockCoverage":true},{"functionName":"active","ranges":[{"startOffset":9821,"endOffset":9875,"count":0}],"isBlockCoverage":false},{"functionName":"unrefActive","ranges":[{"startOffset":10022,"endOffset":10082,"count":2}],"isBlockCoverage":true},{"functionName":"insertGuarded","ranges":[{"startOffset":10303,"endOffset":10819,"count":2},{"startOffset":10427,"endOffset":10434,"count":0},{"startOffset":10551,"endOffset":10625,"count":0},{"startOffset":10646,"endOffset":10687,"count":0},{"startOffset":10722,"endOffset":10793,"count":0}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":10887,"endOffset":11626,"count":16},{"startOffset":11218,"endOffset":11599,"count":14},{"startOffset":11453,"endOffset":11595,"count":12}],"isBlockCoverage":true},{"functionName":"setUnrefTimeout","ranges":[{"startOffset":11628,"endOffset":11886,"count":0}],"isBlockCoverage":false},{"functionName":"getTimerDuration","ranges":[{"startOffset":11953,"endOffset":12481,"count":0}],"isBlockCoverage":false},{"functionName":"compareTimersLists","ranges":[{"startOffset":12483,"endOffset":12688,"count":13},{"startOffset":12585,"endOffset":12665,"count":0}],"isBlockCoverage":true},{"functionName":"setPosition","ranges":[{"startOffset":12690,"endOffset":12761,"count":40}],"isBlockCoverage":true},{"functionName":"getTimerCallbacks","ranges":[{"startOffset":12763,"endOffset":18141,"count":1}],"isBlockCoverage":true},{"functionName":"processImmediate","ranges":[{"startOffset":13075,"endOffset":15008,"count":1},{"startOffset":13154,"endOffset":13178,"count":0},{"startOffset":13615,"endOffset":13630,"count":0},{"startOffset":13947,"endOffset":14043,"count":0},{"startOffset":14605,"endOffset":14661,"count":0},{"startOffset":14763,"endOffset":14784,"count":0},{"startOffset":14935,"endOffset":14964,"count":0}],"isBlockCoverage":true},{"functionName":"processTimers","ranges":[{"startOffset":15013,"endOffset":15503,"count":11},{"startOffset":15213,"endOffset":15485,"count":22},{"startOffset":15244,"endOffset":15349,"count":11},{"startOffset":15314,"endOffset":15326,"count":0},{"startOffset":15349,"endOffset":15387,"count":11},{"startOffset":15387,"endOffset":15402,"count":0},{"startOffset":15402,"endOffset":15485,"count":11},{"startOffset":15485,"endOffset":15502,"count":0}],"isBlockCoverage":true},{"functionName":"listOnTimeout","ranges":[{"startOffset":15507,"endOffset":18081,"count":11},{"startOffset":15931,"endOffset":16159,"count":0},{"startOffset":16199,"endOffset":16214,"count":0},{"startOffset":16416,"endOffset":16651,"count":0},{"startOffset":16762,"endOffset":16884,"count":0},{"startOffset":16998,"endOffset":17066,"count":0},{"startOffset":17111,"endOffset":17139,"count":0},{"startOffset":17141,"endOffset":17250,"count":0},{"startOffset":17464,"endOffset":17485,"count":0}],"isBlockCoverage":true},{"functionName":"Immediate","ranges":[{"startOffset":18163,"endOffset":18485,"count":1}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":18489,"endOffset":18755,"count":1}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":18759,"endOffset":19027,"count":0}],"isBlockCoverage":false},{"functionName":"hasRef","ranges":[{"startOffset":19031,"endOffset":19072,"count":0}],"isBlockCoverage":false}]},{"scriptId":"85","url":"node:internal/async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20082,"count":1}],"isBlockCoverage":false},{"functionName":"useDomainTrampoline","ranges":[{"startOffset":5108,"endOffset":5162,"count":0}],"isBlockCoverage":false},{"functionName":"callbackTrampoline","ranges":[{"startOffset":5164,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"executionAsyncResource","ranges":[{"startOffset":5745,"endOffset":6243,"count":0}],"isBlockCoverage":false},{"functionName":"inspectExceptionValue","ranges":[{"startOffset":6245,"endOffset":6372,"count":0}],"isBlockCoverage":false},{"functionName":"fatalError","ranges":[{"startOffset":6433,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"lookupPublicResource","ranges":[{"startOffset":6837,"endOffset":7186,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitNative","ranges":[{"startOffset":7377,"endOffset":8510,"count":0}],"isBlockCoverage":false},{"functionName":"emitHook","ranges":[{"startOffset":8611,"endOffset":9600,"count":0}],"isBlockCoverage":false},{"functionName":"emitHookFactory","ranges":[{"startOffset":9602,"endOffset":9866,"count":4}],"isBlockCoverage":true},{"functionName":"getHookArrays","ranges":[{"startOffset":9895,"endOffset":10385,"count":0}],"isBlockCoverage":false},{"functionName":"storeActiveHooks","ranges":[{"startOffset":10388,"endOffset":10688,"count":0}],"isBlockCoverage":false},{"functionName":"copyHooks","ranges":[{"startOffset":10690,"endOffset":10955,"count":0}],"isBlockCoverage":false},{"functionName":"restoreActiveHooks","ranges":[{"startOffset":11070,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"trackPromise","ranges":[{"startOffset":11277,"endOffset":11707,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHook","ranges":[{"startOffset":11709,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHookWithDestroyTracking","ranges":[{"startOffset":11955,"endOffset":12091,"count":0}],"isBlockCoverage":false},{"functionName":"destroyTracking","ranges":[{"startOffset":12093,"endOffset":12256,"count":0}],"isBlockCoverage":false},{"functionName":"promiseBeforeHook","ranges":[{"startOffset":12258,"endOffset":12469,"count":0}],"isBlockCoverage":false},{"functionName":"promiseAfterHook","ranges":[{"startOffset":12471,"endOffset":13038,"count":0}],"isBlockCoverage":false},{"functionName":"promiseResolveHook","ranges":[{"startOffset":13040,"endOffset":13186,"count":0}],"isBlockCoverage":false},{"functionName":"enableHooks","ranges":[{"startOffset":13217,"endOffset":13323,"count":0}],"isBlockCoverage":false},{"functionName":"updatePromiseHookMode","ranges":[{"startOffset":13346,"endOffset":13925,"count":0}],"isBlockCoverage":false},{"functionName":"disableHooks","ranges":[{"startOffset":13927,"endOffset":14230,"count":0}],"isBlockCoverage":false},{"functionName":"disablePromiseHookIfNecessary","ranges":[{"startOffset":14232,"endOffset":14348,"count":0}],"isBlockCoverage":false},{"functionName":"newAsyncId","ranges":[{"startOffset":14549,"endOffset":14619,"count":17}],"isBlockCoverage":true},{"functionName":"getOrSetAsyncId","ranges":[{"startOffset":14621,"endOffset":14811,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultTriggerAsyncId","ranges":[{"startOffset":14994,"endOffset":15284,"count":17},{"startOffset":15250,"endOffset":15283,"count":0}],"isBlockCoverage":true},{"functionName":"clearDefaultTriggerAsyncId","ranges":[{"startOffset":15287,"endOffset":15376,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTriggerAsyncIdScope","ranges":[{"startOffset":15601,"endOffset":16094,"count":0}],"isBlockCoverage":false},{"functionName":"hasHooks","ranges":[{"startOffset":16096,"endOffset":16159,"count":75}],"isBlockCoverage":true},{"functionName":"enabledHooksExist","ranges":[{"startOffset":16161,"endOffset":16220,"count":14}],"isBlockCoverage":true},{"functionName":"initHooksExist","ranges":[{"startOffset":16222,"endOffset":16277,"count":17}],"isBlockCoverage":true},{"functionName":"afterHooksExist","ranges":[{"startOffset":16279,"endOffset":16336,"count":0}],"isBlockCoverage":false},{"functionName":"destroyHooksExist","ranges":[{"startOffset":16338,"endOffset":16399,"count":16}],"isBlockCoverage":true},{"functionName":"promiseResolveHooksExist","ranges":[{"startOffset":16401,"endOffset":16476,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitScript","ranges":[{"startOffset":16479,"endOffset":16887,"count":0}],"isBlockCoverage":false},{"functionName":"emitBeforeScript","ranges":[{"startOffset":16890,"endOffset":17066,"count":14},{"startOffset":17038,"endOffset":17064,"count":0}],"isBlockCoverage":true},{"functionName":"emitAfterScript","ranges":[{"startOffset":17069,"endOffset":17189,"count":14},{"startOffset":17133,"endOffset":17158,"count":0}],"isBlockCoverage":true},{"functionName":"emitDestroyScript","ranges":[{"startOffset":17192,"endOffset":17402,"count":0}],"isBlockCoverage":false},{"functionName":"hasAsyncIdStack","ranges":[{"startOffset":17405,"endOffset":17468,"count":0}],"isBlockCoverage":false},{"functionName":"pushAsyncContext","ranges":[{"startOffset":17534,"endOffset":18104,"count":14},{"startOffset":17754,"endOffset":17804,"count":0}],"isBlockCoverage":true},{"functionName":"popAsyncContext","ranges":[{"startOffset":18169,"endOffset":18780,"count":14},{"startOffset":18285,"endOffset":18298,"count":0},{"startOffset":18377,"endOffset":18483,"count":0}],"isBlockCoverage":true},{"functionName":"executionAsyncId","ranges":[{"startOffset":18783,"endOffset":18859,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":18861,"endOffset":18933,"count":0}],"isBlockCoverage":false}]},{"scriptId":"86","url":"node:internal/validators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15153,"count":1}],"isBlockCoverage":false},{"functionName":"isInt32","ranges":[{"startOffset":835,"endOffset":894,"count":572}],"isBlockCoverage":true},{"functionName":"isUint32","ranges":[{"startOffset":946,"endOffset":1008,"count":1}],"isBlockCoverage":true},{"functionName":"parseFileMode","ranges":[{"startOffset":1629,"endOffset":1940,"count":60},{"startOffset":1722,"endOffset":1890,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2186,"endOffset":2567,"count":3},{"startOffset":2306,"endOffset":2360,"count":0},{"startOffset":2400,"endOffset":2454,"count":0},{"startOffset":2497,"endOffset":2563,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2811,"endOffset":3274,"count":2},{"startOffset":2983,"endOffset":3051,"count":0},{"startOffset":3085,"endOffset":3153,"count":0},{"startOffset":3190,"endOffset":3270,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3512,"endOffset":3944,"count":1176},{"startOffset":3582,"endOffset":3646,"count":0},{"startOffset":3678,"endOffset":3742,"count":0},{"startOffset":3766,"endOffset":3769,"count":0},{"startOffset":3866,"endOffset":3942,"count":0}],"isBlockCoverage":true},{"functionName":"validateString","ranges":[{"startOffset":4097,"endOffset":4229,"count":19178},{"startOffset":4173,"endOffset":4227,"count":0}],"isBlockCoverage":true},{"functionName":"validateNumber","ranges":[{"startOffset":4430,"endOffset":4898,"count":64},{"startOffset":4528,"endOffset":4582,"count":0},{"startOffset":4603,"endOffset":4617,"count":63},{"startOffset":4635,"endOffset":4649,"count":62},{"startOffset":4674,"endOffset":4688,"count":1},{"startOffset":4690,"endOffset":4711,"count":63},{"startOffset":4714,"endOffset":4896,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5084,"endOffset":5417,"count":1},{"startOffset":5155,"endOffset":5415,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5228,"endOffset":5289,"count":0}],"isBlockCoverage":false},{"functionName":"validateBoolean","ranges":[{"startOffset":5573,"endOffset":5708,"count":559},{"startOffset":5651,"endOffset":5706,"count":0}],"isBlockCoverage":true},{"functionName":"getOwnPropertyValueOrDefault","ranges":[{"startOffset":5820,"endOffset":6001,"count":60},{"startOffset":5913,"endOffset":5960,"count":51},{"startOffset":5961,"endOffset":5979,"count":22},{"startOffset":5980,"endOffset":5998,"count":38}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6266,"endOffset":6821,"count":20},{"startOffset":6571,"endOffset":6588,"count":16},{"startOffset":6614,"endOffset":6636,"count":3},{"startOffset":6676,"endOffset":6746,"count":0},{"startOffset":6749,"endOffset":6817,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7376,"endOffset":7556,"count":1},{"startOffset":7417,"endOffset":7445,"count":0},{"startOffset":7446,"endOffset":7476,"count":0},{"startOffset":7478,"endOffset":7552,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7775,"endOffset":8053,"count":1116},{"startOffset":7837,"endOffset":7900,"count":0},{"startOffset":7933,"endOffset":8051,"count":0}],"isBlockCoverage":true},{"functionName":"validateStringArray","ranges":[{"startOffset":8218,"endOffset":8387,"count":558},{"startOffset":8333,"endOffset":8385,"count":2790}],"isBlockCoverage":true},{"functionName":"validateBooleanArray","ranges":[{"startOffset":8553,"endOffset":8724,"count":0}],"isBlockCoverage":false},{"functionName":"validateAbortSignalArray","ranges":[{"startOffset":8902,"endOffset":9251,"count":0}],"isBlockCoverage":false},{"functionName":"validateSignalName","ranges":[{"startOffset":9363,"endOffset":9736,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9948,"endOffset":10178,"count":1},{"startOffset":10013,"endOffset":10176,"count":0}],"isBlockCoverage":true},{"functionName":"validateEncoding","ranges":[{"startOffset":10242,"endOffset":10576,"count":0}],"isBlockCoverage":false},{"functionName":"validatePort","ranges":[{"startOffset":10838,"endOffset":11217,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11385,"endOffset":11602,"count":13},{"startOffset":11432,"endOffset":11528,"count":0},{"startOffset":11530,"endOffset":11600,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11802,"endOffset":11918,"count":629},{"startOffset":11860,"endOffset":11916,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12133,"endOffset":12275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12479,"endOffset":12588,"count":0}],"isBlockCoverage":false},{"functionName":"validateUnion","ranges":[{"startOffset":12681,"endOffset":12868,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderFormat","ranges":[{"startOffset":13296,"endOffset":13602,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13650,"endOffset":13860,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderValue","ranges":[{"startOffset":13914,"endOffset":14597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"87","url":"node:internal/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":24956,"count":1}],"isBlockCoverage":false},{"functionName":"toUSVString","ranges":[{"startOffset":1790,"endOffset":2102,"count":107},{"startOffset":2059,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUv","ranges":[{"startOffset":2120,"endOffset":2200,"count":0}],"isBlockCoverage":false},{"functionName":"removeColors","ranges":[{"startOffset":2202,"endOffset":2287,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":2289,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"getDeprecationWarningEmitter","ranges":[{"startOffset":2696,"endOffset":3345,"count":36}],"isBlockCoverage":true},{"functionName":"shouldEmitWarning","ranges":[{"startOffset":2795,"endOffset":2805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2842,"endOffset":3342,"count":0}],"isBlockCoverage":false},{"functionName":"isPendingDeprecation","ranges":[{"startOffset":3347,"endOffset":3475,"count":0}],"isBlockCoverage":false},{"functionName":"pendingDeprecate","ranges":[{"startOffset":3642,"endOffset":3939,"count":3}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":3811,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"deprecate","ranges":[{"startOffset":4094,"endOffset":5092,"count":33},{"startOffset":4181,"endOffset":4201,"count":0},{"startOffset":4290,"endOffset":4344,"count":1},{"startOffset":4376,"endOffset":4405,"count":32},{"startOffset":4846,"endOffset":5068,"count":32}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":4518,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"decorateErrorStack","ranges":[{"startOffset":5094,"endOffset":5360,"count":0}],"isBlockCoverage":false},{"functionName":"assertCrypto","ranges":[{"startOffset":5362,"endOffset":5436,"count":4},{"startOffset":5408,"endOffset":5434,"count":0}],"isBlockCoverage":true},{"functionName":"normalizeEncoding","ranges":[{"startOffset":5615,"endOffset":5746,"count":570},{"startOffset":5685,"endOffset":5703,"count":0},{"startOffset":5719,"endOffset":5745,"count":0}],"isBlockCoverage":true},{"functionName":"slowCases","ranges":[{"startOffset":5748,"endOffset":7499,"count":0}],"isBlockCoverage":false},{"functionName":"emitExperimentalWarning","ranges":[{"startOffset":7501,"endOffset":7767,"count":0}],"isBlockCoverage":false},{"functionName":"filterDuplicateStrings","ranges":[{"startOffset":7769,"endOffset":8108,"count":0}],"isBlockCoverage":false},{"functionName":"cachedResult","ranges":[{"startOffset":8110,"endOffset":8266,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8161,"endOffset":8263,"count":0}],"isBlockCoverage":false},{"functionName":"createClassWrapper","ranges":[{"startOffset":8531,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"getSignalsToNamesMapping","ranges":[{"startOffset":8960,"endOffset":9239,"count":0}],"isBlockCoverage":false},{"functionName":"convertToValidSignal","ranges":[{"startOffset":9241,"endOffset":9562,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorOf","ranges":[{"startOffset":9564,"endOffset":9910,"count":0}],"isBlockCoverage":false},{"functionName":"getCWDURL","ranges":[{"startOffset":10233,"endOffset":10743,"count":1},{"startOffset":10561,"endOffset":10610,"count":0}],"isBlockCoverage":true},{"functionName":"getSystemErrorName","ranges":[{"startOffset":10745,"endOffset":10874,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorMap","ranges":[{"startOffset":10876,"endOffset":10941,"count":0}],"isBlockCoverage":false},{"functionName":"promisify","ranges":[{"startOffset":11109,"endOffset":12970,"count":6},{"startOffset":11229,"endOffset":11285,"count":1},{"startOffset":11372,"endOffset":11649,"count":1},{"startOffset":11649,"endOffset":12756,"count":5},{"startOffset":12756,"endOffset":12918,"count":14},{"startOffset":12918,"endOffset":12969,"count":5}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":11849,"endOffset":12368,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13065,"endOffset":13387,"count":0}],"isBlockCoverage":false},{"functionName":"spliceOne","ranges":[{"startOffset":13528,"endOffset":13655,"count":0}],"isBlockCoverage":false},{"functionName":"isInsideNodeModules","ranges":[{"startOffset":13737,"endOffset":14975,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":14977,"endOffset":15150,"count":0}],"isBlockCoverage":false},{"functionName":"sleep","ranges":[{"startOffset":15173,"endOffset":15388,"count":0}],"isBlockCoverage":false},{"functionName":"createDeferredPromise","ranges":[{"startOffset":15390,"endOffset":15584,"count":0}],"isBlockCoverage":false},{"functionName":"defineOperation","ranges":[{"startOffset":15644,"endOffset":15845,"count":8}],"isBlockCoverage":true},{"functionName":"exposeInterface","ranges":[{"startOffset":15897,"endOffset":16117,"count":6}],"isBlockCoverage":true},{"functionName":"exposeNamespace","ranges":[{"startOffset":16169,"endOffset":16389,"count":1}],"isBlockCoverage":true},{"functionName":"exposeGetterAndSetter","ranges":[{"startOffset":16391,"endOffset":16614,"count":1}],"isBlockCoverage":true},{"functionName":"defineLazyProperties","ranges":[{"startOffset":16616,"endOffset":17549,"count":22},{"startOffset":16779,"endOffset":17548,"count":51}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":16835,"endOffset":16978,"count":19}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17081,"endOffset":17277,"count":19}],"isBlockCoverage":true},{"functionName":"defineReplaceableLazyAttribute","ranges":[{"startOffset":17551,"endOffset":18451,"count":2},{"startOffset":18419,"endOffset":18424,"count":1},{"startOffset":18425,"endOffset":18436,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17763,"endOffset":17999,"count":12},{"startOffset":17811,"endOffset":17864,"count":0},{"startOffset":17889,"endOffset":17920,"count":0}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":18104,"endOffset":18175,"count":0}],"isBlockCoverage":false},{"functionName":"exposeLazyInterfaces","ranges":[{"startOffset":18453,"endOffset":18553,"count":14}],"isBlockCoverage":true},{"functionName":"lazyDOMExceptionClass","ranges":[{"startOffset":18604,"endOffset":18700,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18744,"endOffset":18872,"count":0}],"isBlockCoverage":false},{"functionName":"filterOwnProperties","ranges":[{"startOffset":19057,"endOffset":19329,"count":0}],"isBlockCoverage":false},{"functionName":"setOwnProperty","ranges":[{"startOffset":19497,"endOffset":19687,"count":1130}],"isBlockCoverage":true},{"functionName":"getInternalGlobal","ranges":[{"startOffset":19709,"endOffset":19984,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeExec","ranges":[{"startOffset":19986,"endOffset":20199,"count":0}],"isBlockCoverage":false},{"functionName":"getCrossRelmRegex","ranges":[{"startOffset":20245,"endOffset":21036,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolReplace","ranges":[{"startOffset":21038,"endOffset":21192,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolSplit","ranges":[{"startOffset":21194,"endOffset":21344,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayBufferDetached","ranges":[{"startOffset":21347,"endOffset":21507,"count":0}],"isBlockCoverage":false},{"functionName":"getLazy","ranges":[{"startOffset":21708,"endOffset":21920,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21789,"endOffset":21917,"count":3512},{"startOffset":21833,"endOffset":21895,"count":4}],"isBlockCoverage":true},{"functionName":"setupCoverageHooks","ranges":[{"startOffset":22045,"endOffset":22722,"count":1},{"startOffset":22515,"endOffset":22692,"count":0}],"isBlockCoverage":true},{"functionName":"guessHandleType","ranges":[{"startOffset":22795,"endOffset":22892,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22894,"endOffset":23438,"count":23}],"isBlockCoverage":false},{"functionName":"WeakReference","ranges":[{"startOffset":22969,"endOffset":23036,"count":23}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":23040,"endOffset":23258,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":23262,"endOffset":23390,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23394,"endOffset":23436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"88","url":"node:internal/options","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1922,"count":1}],"isBlockCoverage":false},{"functionName":"getCLIOptionsFromBinding","ranges":[{"startOffset":464,"endOffset":598,"count":1295},{"startOffset":521,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"getAliasesFromBinding","ranges":[{"startOffset":600,"endOffset":731,"count":1}],"isBlockCoverage":true},{"functionName":"getEmbedderOptions","ranges":[{"startOffset":733,"endOffset":877,"count":4},{"startOffset":789,"endOffset":849,"count":1}],"isBlockCoverage":true},{"functionName":"refreshOptions","ranges":[{"startOffset":879,"endOffset":960,"count":1}],"isBlockCoverage":true},{"functionName":"getOptionValue","ranges":[{"startOffset":962,"endOffset":1228,"count":1294},{"startOffset":1084,"endOffset":1185,"count":8},{"startOffset":1185,"endOffset":1225,"count":1286}],"isBlockCoverage":true},{"functionName":"getAllowUnauthorized","ranges":[{"startOffset":1230,"endOffset":1695,"count":0}],"isBlockCoverage":false},{"functionName":"get options","ranges":[{"startOffset":1718,"endOffset":1776,"count":1}],"isBlockCoverage":true},{"functionName":"get aliases","ranges":[{"startOffset":1780,"endOffset":1835,"count":1}],"isBlockCoverage":true}]},{"scriptId":"89","url":"node:internal/util/types","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2469,"count":1}],"isBlockCoverage":false},{"functionName":"isTypedArray","ranges":[{"startOffset":131,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"isUint8Array","ranges":[{"startOffset":236,"endOffset":342,"count":1408}],"isBlockCoverage":true},{"functionName":"isUint8ClampedArray","ranges":[{"startOffset":344,"endOffset":464,"count":0}],"isBlockCoverage":false},{"functionName":"isUint16Array","ranges":[{"startOffset":466,"endOffset":574,"count":0}],"isBlockCoverage":false},{"functionName":"isUint32Array","ranges":[{"startOffset":576,"endOffset":684,"count":0}],"isBlockCoverage":false},{"functionName":"isInt8Array","ranges":[{"startOffset":686,"endOffset":790,"count":0}],"isBlockCoverage":false},{"functionName":"isInt16Array","ranges":[{"startOffset":792,"endOffset":898,"count":0}],"isBlockCoverage":false},{"functionName":"isInt32Array","ranges":[{"startOffset":900,"endOffset":1006,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat32Array","ranges":[{"startOffset":1008,"endOffset":1118,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat64Array","ranges":[{"startOffset":1120,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"isBigInt64Array","ranges":[{"startOffset":1232,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"isBigUint64Array","ranges":[{"startOffset":1346,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":1932,"endOffset":2147,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":2243,"endOffset":2458,"count":0}],"isBlockCoverage":false}]},{"scriptId":"90","url":"node:internal/linkedlist","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1128,"count":1}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":15,"endOffset":103,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":133,"endOffset":225,"count":22},{"startOffset":186,"endOffset":224,"count":11}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":260,"endOffset":487,"count":29}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":543,"endOffset":995,"count":16},{"startOffset":594,"endOffset":611,"count":0}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":997,"endOffset":1057,"count":2}],"isBlockCoverage":true}]},{"scriptId":"91","url":"node:internal/priority_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2573,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":395,"endOffset":2571,"count":1}],"isBlockCoverage":false},{"functionName":"#compare","ranges":[{"startOffset":430,"endOffset":445,"count":0}],"isBlockCoverage":false},{"functionName":"PriorityQueue","ranges":[{"startOffset":504,"endOffset":688,"count":1}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":692,"endOffset":875,"count":14},{"startOffset":826,"endOffset":843,"count":0}],"isBlockCoverage":true},{"functionName":"peek","ranges":[{"startOffset":879,"endOffset":917,"count":22}],"isBlockCoverage":true},{"functionName":"percolateDown","ranges":[{"startOffset":921,"endOffset":1585,"count":13},{"startOffset":1135,"endOffset":1494,"count":0}],"isBlockCoverage":true},{"functionName":"percolateUp","ranges":[{"startOffset":1589,"endOffset":2077,"count":14},{"startOffset":1764,"endOffset":1986,"count":13},{"startOffset":1852,"endOffset":1858,"count":0}],"isBlockCoverage":true},{"functionName":"removeAt","ranges":[{"startOffset":2081,"endOffset":2411,"count":13},{"startOffset":2275,"endOffset":2325,"count":0},{"startOffset":2335,"endOffset":2357,"count":0}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":2415,"endOffset":2569,"count":11},{"startOffset":2516,"endOffset":2523,"count":0}],"isBlockCoverage":true}]},{"scriptId":"92","url":"node:internal/util/inspect","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":81525,"count":1}],"isBlockCoverage":false},{"functionName":"pathToFileUrlHref","ranges":[{"startOffset":3211,"endOffset":3345,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3454,"endOffset":3515,"count":62}],"isBlockCoverage":true},{"functionName":"isUndetectableObject","ranges":[{"startOffset":3611,"endOffset":3661,"count":0}],"isBlockCoverage":false},{"functionName":"getUserOptions","ranges":[{"startOffset":7144,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":8980,"endOffset":11006,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11117,"endOffset":11162,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":11166,"endOffset":11281,"count":0}],"isBlockCoverage":false},{"functionName":"defineColorAlias","ranges":[{"startOffset":13005,"endOffset":13269,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13121,"endOffset":13161,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":13167,"endOffset":13213,"count":0}],"isBlockCoverage":false},{"functionName":"addQuotes","ranges":[{"startOffset":14281,"endOffset":14439,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":14441,"endOffset":14616,"count":0}],"isBlockCoverage":false},{"functionName":"strEscape","ranges":[{"startOffset":14728,"endOffset":16882,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeWithColor","ranges":[{"startOffset":16884,"endOffset":17150,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeNoColor","ranges":[{"startOffset":17152,"endOffset":17198,"count":0}],"isBlockCoverage":false},{"functionName":"getEmptyFormatArray","ranges":[{"startOffset":17277,"endOffset":17324,"count":0}],"isBlockCoverage":false},{"functionName":"isInstanceof","ranges":[{"startOffset":17326,"endOffset":17444,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorName","ranges":[{"startOffset":17446,"endOffset":18715,"count":0}],"isBlockCoverage":false},{"functionName":"addPrototypeProperties","ranges":[{"startOffset":18902,"endOffset":20735,"count":0}],"isBlockCoverage":false},{"functionName":"getPrefix","ranges":[{"startOffset":20737,"endOffset":21124,"count":0}],"isBlockCoverage":false},{"functionName":"getKeys","ranges":[{"startOffset":21161,"endOffset":22152,"count":0}],"isBlockCoverage":false},{"functionName":"getCtxStyle","ranges":[{"startOffset":22154,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"formatProxy","ranges":[{"startOffset":22419,"endOffset":22869,"count":0}],"isBlockCoverage":false},{"functionName":"formatValue","ranges":[{"startOffset":23051,"endOffset":25808,"count":0}],"isBlockCoverage":false},{"functionName":"formatRaw","ranges":[{"startOffset":25810,"endOffset":36655,"count":0}],"isBlockCoverage":false},{"functionName":"getIteratorBraces","ranges":[{"startOffset":36657,"endOffset":36839,"count":0}],"isBlockCoverage":false},{"functionName":"getBoxedBase","ranges":[{"startOffset":36841,"endOffset":38029,"count":0}],"isBlockCoverage":false},{"functionName":"getClassBase","ranges":[{"startOffset":38031,"endOffset":38631,"count":0}],"isBlockCoverage":false},{"functionName":"getFunctionBase","ranges":[{"startOffset":38633,"endOffset":39866,"count":0}],"isBlockCoverage":false},{"functionName":"identicalSequenceRange","ranges":[{"startOffset":39868,"endOffset":40484,"count":0}],"isBlockCoverage":false},{"functionName":"getStackString","ranges":[{"startOffset":40486,"endOffset":40596,"count":0}],"isBlockCoverage":false},{"functionName":"getStackFrames","ranges":[{"startOffset":40598,"endOffset":41489,"count":0}],"isBlockCoverage":false},{"functionName":"improveStack","ranges":[{"startOffset":41491,"endOffset":42696,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateErrorKeys","ranges":[{"startOffset":42698,"endOffset":43121,"count":0}],"isBlockCoverage":false},{"functionName":"markNodeModules","ranges":[{"startOffset":43123,"endOffset":43593,"count":0}],"isBlockCoverage":false},{"functionName":"markCwd","ranges":[{"startOffset":43595,"endOffset":44572,"count":0}],"isBlockCoverage":false},{"functionName":"safeGetCWD","ranges":[{"startOffset":44574,"endOffset":44724,"count":0}],"isBlockCoverage":false},{"functionName":"formatError","ranges":[{"startOffset":44726,"endOffset":47121,"count":0}],"isBlockCoverage":false},{"functionName":"groupArrayElements","ranges":[{"startOffset":47123,"endOffset":51462,"count":0}],"isBlockCoverage":false},{"functionName":"handleMaxCallStackSize","ranges":[{"startOffset":51464,"endOffset":51853,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparator","ranges":[{"startOffset":51855,"endOffset":52257,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparatorEnd","ranges":[{"startOffset":52259,"endOffset":52558,"count":0}],"isBlockCoverage":false},{"functionName":"remainingText","ranges":[{"startOffset":52582,"endOffset":52652,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumber","ranges":[{"startOffset":52655,"endOffset":53443,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigInt","ranges":[{"startOffset":53445,"endOffset":53661,"count":0}],"isBlockCoverage":false},{"functionName":"formatPrimitive","ranges":[{"startOffset":53663,"endOffset":55068,"count":0}],"isBlockCoverage":false},{"functionName":"formatNamespaceObject","ranges":[{"startOffset":55070,"endOffset":56222,"count":0}],"isBlockCoverage":false},{"functionName":"formatSpecialArray","ranges":[{"startOffset":56269,"endOffset":57529,"count":0}],"isBlockCoverage":false},{"functionName":"formatArrayBuffer","ranges":[{"startOffset":57531,"endOffset":58179,"count":0}],"isBlockCoverage":false},{"functionName":"formatArray","ranges":[{"startOffset":58181,"endOffset":58780,"count":0}],"isBlockCoverage":false},{"functionName":"formatTypedArray","ranges":[{"startOffset":58782,"endOffset":59811,"count":0}],"isBlockCoverage":false},{"functionName":"formatSet","ranges":[{"startOffset":59813,"endOffset":60336,"count":0}],"isBlockCoverage":false},{"functionName":"formatMap","ranges":[{"startOffset":60338,"endOffset":60938,"count":0}],"isBlockCoverage":false},{"functionName":"formatSetIterInner","ranges":[{"startOffset":60940,"endOffset":61743,"count":0}],"isBlockCoverage":false},{"functionName":"formatMapIterInner","ranges":[{"startOffset":61745,"endOffset":63053,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakCollection","ranges":[{"startOffset":63055,"endOffset":63147,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakSet","ranges":[{"startOffset":63149,"endOffset":63306,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakMap","ranges":[{"startOffset":63308,"endOffset":63465,"count":0}],"isBlockCoverage":false},{"functionName":"formatIterator","ranges":[{"startOffset":63467,"endOffset":63888,"count":0}],"isBlockCoverage":false},{"functionName":"formatPromise","ranges":[{"startOffset":63890,"endOffset":64364,"count":0}],"isBlockCoverage":false},{"functionName":"formatProperty","ranges":[{"startOffset":64366,"endOffset":66939,"count":0}],"isBlockCoverage":false},{"functionName":"isBelowBreakLength","ranges":[{"startOffset":66941,"endOffset":67899,"count":0}],"isBlockCoverage":false},{"functionName":"reduceToSingleString","ranges":[{"startOffset":67901,"endOffset":70802,"count":0}],"isBlockCoverage":false},{"functionName":"hasBuiltInToString","ranges":[{"startOffset":70804,"endOffset":71880,"count":0}],"isBlockCoverage":false},{"functionName":"firstErrorLine","ranges":[{"startOffset":71905,"endOffset":71963,"count":0}],"isBlockCoverage":false},{"functionName":"tryStringify","ranges":[{"startOffset":71993,"endOffset":72498,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":72500,"endOffset":72581,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptions","ranges":[{"startOffset":72583,"endOffset":72770,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumberNoColor","ranges":[{"startOffset":72772,"endOffset":72954,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigIntNoColor","ranges":[{"startOffset":72956,"endOffset":73138,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptionsInternal","ranges":[{"startOffset":73140,"endOffset":77164,"count":0}],"isBlockCoverage":false},{"functionName":"isZeroWidthCodePoint","ranges":[{"startOffset":77166,"endOffset":77740,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78169,"endOffset":78760,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78875,"endOffset":79343,"count":0}],"isBlockCoverage":false},{"functionName":"isFullWidthCodePoint","ranges":[{"startOffset":79511,"endOffset":81120,"count":0}],"isBlockCoverage":false},{"functionName":"stripVTControlCharacters","ranges":[{"startOffset":81211,"endOffset":81338,"count":0}],"isBlockCoverage":false}]},{"scriptId":"93","url":"node:internal/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":474,"count":1}],"isBlockCoverage":false},{"functionName":"lazyError","ranges":[{"startOffset":26,"endOffset":155,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":157,"endOffset":307,"count":901},{"startOffset":205,"endOffset":305,"count":0}],"isBlockCoverage":true},{"functionName":"fail","ranges":[{"startOffset":309,"endOffset":426,"count":0}],"isBlockCoverage":false}]},{"scriptId":"94","url":"node:internal/util/debuglog","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3395,"count":1}],"isBlockCoverage":false},{"functionName":"initializeDebugEnv","ranges":[{"startOffset":503,"endOffset":976,"count":1},{"startOffset":595,"endOffset":932,"count":0}],"isBlockCoverage":true},{"functionName":"testEnabled","ranges":[{"startOffset":870,"endOffset":927,"count":0}],"isBlockCoverage":false},{"functionName":"testEnabled","ranges":[{"startOffset":958,"endOffset":969,"count":10}],"isBlockCoverage":true},{"functionName":"emitWarningIfNeeded","ranges":[{"startOffset":1050,"endOffset":1389,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":1404,"endOffset":1412,"count":3660}],"isBlockCoverage":true},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1431,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"debuglogImpl","ranges":[{"startOffset":1533,"endOffset":2091,"count":8},{"startOffset":1608,"endOffset":2063,"count":5},{"startOffset":1627,"endOffset":2016,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":1716,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"debuglog","ranges":[{"startOffset":2311,"endOffset":3337,"count":22}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":2342,"endOffset":2438,"count":10}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":2453,"endOffset":2847,"count":8},{"startOffset":2700,"endOffset":2730,"count":5},{"startOffset":2737,"endOffset":2776,"count":2},{"startOffset":2783,"endOffset":2837,"count":1}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2877,"endOffset":2946,"count":2}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2908,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"logger","ranges":[{"startOffset":2965,"endOffset":3160,"count":8},{"startOffset":3013,"endOffset":3043,"count":5},{"startOffset":3050,"endOffset":3089,"count":2},{"startOffset":3096,"endOffset":3150,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3231,"endOffset":3265,"count":2}],"isBlockCoverage":true}]},{"scriptId":"95","url":"node:events","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36377,"count":1}],"isBlockCoverage":false},{"functionName":"lazyEventEmitterAsyncResource","ranges":[{"startOffset":3020,"endOffset":6331,"count":6},{"startOffset":3110,"endOffset":6293,"count":1}],"isBlockCoverage":true},{"functionName":"EventEmitterReferencingAsyncResource","ranges":[{"startOffset":3565,"endOffset":3669,"count":0}],"isBlockCoverage":false},{"functionName":"get eventEmitter","ranges":[{"startOffset":3727,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterAsyncResource","ranges":[{"startOffset":4205,"endOffset":4729,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":4866,"endOffset":5236,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":5297,"endOffset":5485,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncId","ranges":[{"startOffset":5545,"endOffset":5736,"count":0}],"isBlockCoverage":false},{"functionName":"get triggerAsyncId","ranges":[{"startOffset":5796,"endOffset":6001,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncResource","ranges":[{"startOffset":6091,"endOffset":6280,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter","ranges":[{"startOffset":6465,"endOffset":6534,"count":120}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":7019,"endOffset":7075,"count":6}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":7079,"endOffset":7204,"count":0}],"isBlockCoverage":false},{"functionName":"checkListener","ranges":[{"startOffset":7985,"endOffset":8063,"count":47}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8171,"endOffset":8219,"count":10}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8228,"endOffset":8329,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.setMaxListeners","ranges":[{"startOffset":8882,"endOffset":9694,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.init","ranges":[{"startOffset":9861,"endOffset":10459,"count":120},{"startOffset":9912,"endOffset":9972,"count":0},{"startOffset":10116,"endOffset":10135,"count":2},{"startOffset":10137,"endOffset":10270,"count":0}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":10462,"endOffset":11021,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionOrErr","ranges":[{"startOffset":11023,"endOffset":11680,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":11832,"endOffset":11947,"count":1}],"isBlockCoverage":true},{"functionName":"_getMaxListeners","ranges":[{"startOffset":11950,"endOffset":12099,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":12236,"endOffset":12299,"count":0}],"isBlockCoverage":false},{"functionName":"enhanceStackTrace","ranges":[{"startOffset":12302,"endOffset":13061,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":13256,"endOffset":15559,"count":70},{"startOffset":13401,"endOffset":13439,"count":2},{"startOffset":13447,"endOffset":13481,"count":0},{"startOffset":13505,"endOffset":13534,"count":2},{"startOffset":13540,"endOffset":13577,"count":0},{"startOffset":13649,"endOffset":14617,"count":0},{"startOffset":14685,"endOffset":14698,"count":59},{"startOffset":14698,"endOffset":15018,"count":11},{"startOffset":14945,"endOffset":14963,"count":0},{"startOffset":14965,"endOffset":15014,"count":0},{"startOffset":15018,"endOffset":15541,"count":0},{"startOffset":15541,"endOffset":15558,"count":11}],"isBlockCoverage":true},{"functionName":"_addListener","ranges":[{"startOffset":15562,"endOffset":17456,"count":42},{"startOffset":15742,"endOffset":15827,"count":0},{"startOffset":16012,"endOffset":16273,"count":0},{"startOffset":16476,"endOffset":17436,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":17634,"endOffset":17726,"count":42}],"isBlockCoverage":true},{"functionName":"prependListener","ranges":[{"startOffset":18013,"endOffset":18116,"count":0}],"isBlockCoverage":false},{"functionName":"onceWrapper","ranges":[{"startOffset":18119,"endOffset":18383,"count":0}],"isBlockCoverage":false},{"functionName":"_onceWrap","ranges":[{"startOffset":18385,"endOffset":18626,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":18817,"endOffset":18943,"count":0}],"isBlockCoverage":false},{"functionName":"prependOnceListener","ranges":[{"startOffset":19176,"endOffset":19346,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":19553,"endOffset":20848,"count":5},{"startOffset":19702,"endOffset":19714,"count":0},{"startOffset":19787,"endOffset":19799,"count":3},{"startOffset":19799,"endOffset":19829,"count":2},{"startOffset":19829,"endOffset":19858,"count":0},{"startOffset":19860,"endOffset":20121,"count":2},{"startOffset":19911,"endOffset":19946,"count":0},{"startOffset":20042,"endOffset":20103,"count":0},{"startOffset":20121,"endOffset":20822,"count":0},{"startOffset":20822,"endOffset":20847,"count":2}],"isBlockCoverage":true},{"functionName":"removeAllListeners","ranges":[{"startOffset":21168,"endOffset":22497,"count":0}],"isBlockCoverage":false},{"functionName":"_listeners","ranges":[{"startOffset":22500,"endOffset":22895,"count":0}],"isBlockCoverage":false},{"functionName":"listeners","ranges":[{"startOffset":23085,"endOffset":23152,"count":0}],"isBlockCoverage":false},{"functionName":"rawListeners","ranges":[{"startOffset":23359,"endOffset":23430,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.listenerCount","ranges":[{"startOffset":23672,"endOffset":23858,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":24091,"endOffset":24796,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":24952,"endOffset":25045,"count":0}],"isBlockCoverage":false},{"functionName":"arrayClone","ranges":[{"startOffset":25048,"endOffset":25521,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapListeners","ranges":[{"startOffset":25523,"endOffset":25737,"count":0}],"isBlockCoverage":false},{"functionName":"getEventListeners","ranges":[{"startOffset":25947,"endOffset":26821,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":26941,"endOffset":27376,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":27596,"endOffset":29314,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29392,"endOffset":29413,"count":0}],"isBlockCoverage":false},{"functionName":"createIterResult","ranges":[{"startOffset":29428,"endOffset":29496,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticRemoveListener","ranges":[{"startOffset":29498,"endOffset":29883,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticAddListener","ranges":[{"startOffset":29885,"endOffset":30317,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":30622,"endOffset":35023,"count":0}],"isBlockCoverage":false},{"functionName":"listenersController","ranges":[{"startOffset":35025,"endOffset":35471,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortListener","ranges":[{"startOffset":35494,"endOffset":36376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"96","url":"node:buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":41224,"count":1}],"isBlockCoverage":false},{"functionName":"validateOffset","ranges":[{"startOffset":3255,"endOffset":3339,"count":0}],"isBlockCoverage":false},{"functionName":"createPool","ranges":[{"startOffset":4069,"endOffset":4228,"count":3}],"isBlockCoverage":true},{"functionName":"alignPool","ranges":[{"startOffset":4244,"endOffset":4366,"count":30},{"startOffset":4318,"endOffset":4364,"count":27}],"isBlockCoverage":true},{"functionName":"showFlaggedDeprecation","ranges":[{"startOffset":4670,"endOffset":5350,"count":0}],"isBlockCoverage":false},{"functionName":"toInteger","ranges":[{"startOffset":5352,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"_copy","ranges":[{"startOffset":5572,"endOffset":6704,"count":0}],"isBlockCoverage":false},{"functionName":"_copyActual","ranges":[{"startOffset":6706,"endOffset":7237,"count":0}],"isBlockCoverage":false},{"functionName":"Buffer","ranges":[{"startOffset":7813,"endOffset":8146,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8258,"endOffset":8286,"count":1}],"isBlockCoverage":true},{"functionName":"from","ranges":[{"startOffset":8544,"endOffset":9509,"count":44},{"startOffset":8630,"endOffset":8673,"count":37},{"startOffset":8673,"endOffset":8724,"count":7},{"startOffset":8726,"endOffset":9363,"count":7},{"startOffset":8767,"endOffset":8823,"count":6},{"startOffset":8823,"endOffset":8877,"count":1},{"startOffset":8903,"endOffset":8931,"count":1},{"startOffset":8932,"endOffset":9003,"count":0},{"startOffset":9005,"endOffset":9066,"count":0},{"startOffset":9066,"endOffset":9127,"count":1},{"startOffset":9127,"endOffset":9359,"count":0},{"startOffset":9363,"endOffset":9508,"count":0}],"isBlockCoverage":true},{"functionName":"copyBytesFrom","ranges":[{"startOffset":9763,"endOffset":10644,"count":0}],"isBlockCoverage":false},{"functionName":"of","ranges":[{"startOffset":11015,"endOffset":11167,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11456,"endOffset":11516,"count":62}],"isBlockCoverage":true},{"functionName":"alloc","ranges":[{"startOffset":11619,"endOffset":11864,"count":2},{"startOffset":11703,"endOffset":11716,"count":0},{"startOffset":11717,"endOffset":11728,"count":0},{"startOffset":11730,"endOffset":11831,"count":0}],"isBlockCoverage":true},{"functionName":"allocUnsafe","ranges":[{"startOffset":12043,"endOffset":12118,"count":2}],"isBlockCoverage":true},{"functionName":"allocUnsafeSlow","ranges":[{"startOffset":12359,"endOffset":12448,"count":58}],"isBlockCoverage":true},{"functionName":"SlowBuffer","ranges":[{"startOffset":12544,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"allocate","ranges":[{"startOffset":12748,"endOffset":13080,"count":2},{"startOffset":12791,"endOffset":13043,"count":1},{"startOffset":12912,"endOffset":12925,"count":0},{"startOffset":13043,"endOffset":13079,"count":0}],"isBlockCoverage":true},{"functionName":"fromStringFast","ranges":[{"startOffset":13082,"endOffset":13628,"count":37},{"startOffset":13208,"endOffset":13257,"count":9},{"startOffset":13257,"endOffset":13303,"count":28},{"startOffset":13303,"endOffset":13316,"count":2},{"startOffset":13316,"endOffset":13449,"count":28},{"startOffset":13449,"endOffset":13575,"count":0},{"startOffset":13575,"endOffset":13627,"count":28}],"isBlockCoverage":true},{"functionName":"fromString","ranges":[{"startOffset":13630,"endOffset":14083,"count":37},{"startOffset":13716,"endOffset":13740,"count":30},{"startOffset":13742,"endOffset":13861,"count":7},{"startOffset":13779,"endOffset":13803,"count":0},{"startOffset":13861,"endOffset":14043,"count":30},{"startOffset":13938,"endOffset":13979,"count":0},{"startOffset":14015,"endOffset":14039,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayBuffer","ranges":[{"startOffset":14085,"endOffset":14782,"count":6},{"startOffset":14229,"endOffset":14325,"count":0},{"startOffset":14402,"endOffset":14447,"count":0},{"startOffset":14506,"endOffset":14729,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayLike","ranges":[{"startOffset":14784,"endOffset":15178,"count":1},{"startOffset":14841,"endOffset":14865,"count":0},{"startOffset":14964,"endOffset":14977,"count":0},{"startOffset":15146,"endOffset":15177,"count":0}],"isBlockCoverage":true},{"functionName":"fromObject","ranges":[{"startOffset":15180,"endOffset":15486,"count":1},{"startOffset":15238,"endOffset":15269,"count":0},{"startOffset":15313,"endOffset":15351,"count":0},{"startOffset":15386,"endOffset":15441,"count":0},{"startOffset":15443,"endOffset":15484,"count":0}],"isBlockCoverage":true},{"functionName":"isBuffer","ranges":[{"startOffset":15525,"endOffset":15579,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":15599,"endOffset":15924,"count":0}],"isBlockCoverage":false},{"functionName":"isEncoding","ranges":[{"startOffset":15947,"endOffset":16098,"count":570}],"isBlockCoverage":true},{"functionName":"concat","ranges":[{"startOffset":16164,"endOffset":17311,"count":0}],"isBlockCoverage":false},{"functionName":"base64ByteLength","ranges":[{"startOffset":17314,"endOffset":17582,"count":20},{"startOffset":17436,"endOffset":17444,"count":15},{"startOffset":17520,"endOffset":17528,"count":7}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":17717,"endOffset":17781,"count":7}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":17794,"endOffset":17840,"count":18}],"isBlockCoverage":true},{"functionName":"indexOf","ranges":[{"startOffset":17855,"endOffset":17951,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18045,"endOffset":18074,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18087,"endOffset":18151,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18164,"endOffset":18210,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18225,"endOffset":18324,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18424,"endOffset":18453,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18466,"endOffset":18530,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18543,"endOffset":18589,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18604,"endOffset":18703,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18800,"endOffset":18825,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18838,"endOffset":18904,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18917,"endOffset":18965,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18980,"endOffset":19078,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19172,"endOffset":19197,"count":6}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19210,"endOffset":19275,"count":6}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":19288,"endOffset":19335,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19350,"endOffset":19562,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19659,"endOffset":19710,"count":20}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19723,"endOffset":19789,"count":11}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":19802,"endOffset":19850,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19865,"endOffset":20079,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20185,"endOffset":20236,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20249,"endOffset":20324,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":20337,"endOffset":20388,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20403,"endOffset":20623,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20711,"endOffset":20742,"count":4}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":20755,"endOffset":20818,"count":4}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":20831,"endOffset":20876,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20891,"endOffset":21099,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingOps","ranges":[{"startOffset":21109,"endOffset":22933,"count":48},{"startOffset":21196,"endOffset":21495,"count":18},{"startOffset":21259,"endOffset":21495,"count":0},{"startOffset":21500,"endOffset":21919,"count":6},{"startOffset":21540,"endOffset":21564,"count":0},{"startOffset":21622,"endOffset":21919,"count":0},{"startOffset":21924,"endOffset":22078,"count":0},{"startOffset":22083,"endOffset":22239,"count":0},{"startOffset":22244,"endOffset":22625,"count":20},{"startOffset":22318,"endOffset":22344,"count":0},{"startOffset":22404,"endOffset":22516,"count":0},{"startOffset":22526,"endOffset":22625,"count":0},{"startOffset":22630,"endOffset":22762,"count":4},{"startOffset":22667,"endOffset":22716,"count":0},{"startOffset":22749,"endOffset":22762,"count":0},{"startOffset":22767,"endOffset":22927,"count":0}],"isBlockCoverage":true},{"functionName":"byteLength","ranges":[{"startOffset":22935,"endOffset":23441,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23600,"endOffset":23694,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23792,"endOffset":23890,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":23923,"endOffset":24056,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":24337,"endOffset":24916,"count":19},{"startOffset":24409,"endOffset":24457,"count":1},{"startOffset":24457,"endOffset":24509,"count":18},{"startOffset":24509,"endOffset":24519,"count":0},{"startOffset":24519,"endOffset":24582,"count":18},{"startOffset":24549,"endOffset":24559,"count":0},{"startOffset":24582,"endOffset":24608,"count":18},{"startOffset":24608,"endOffset":24620,"count":0},{"startOffset":24626,"endOffset":24636,"count":18},{"startOffset":24636,"endOffset":24657,"count":0},{"startOffset":24657,"endOffset":24683,"count":18},{"startOffset":24683,"endOffset":24693,"count":0},{"startOffset":24693,"endOffset":24729,"count":18},{"startOffset":24729,"endOffset":24763,"count":0},{"startOffset":24763,"endOffset":24834,"count":18},{"startOffset":24834,"endOffset":24875,"count":0},{"startOffset":24875,"endOffset":24915,"count":18}],"isBlockCoverage":true},{"functionName":"equals","ranges":[{"startOffset":24945,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":25427,"endOffset":26570,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":26666,"endOffset":27815,"count":0}],"isBlockCoverage":false},{"functionName":"bidirectionalIndexOf","ranges":[{"startOffset":28243,"endOffset":29551,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":29580,"endOffset":29697,"count":0}],"isBlockCoverage":false},{"functionName":"lastIndexOf","ranges":[{"startOffset":29731,"endOffset":29853,"count":0}],"isBlockCoverage":false},{"functionName":"includes","ranges":[{"startOffset":29884,"endOffset":29989,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":30167,"endOffset":30266,"count":0}],"isBlockCoverage":false},{"functionName":"_fill","ranges":[{"startOffset":30269,"endOffset":32215,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":32242,"endOffset":33257,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":33286,"endOffset":33520,"count":0}],"isBlockCoverage":false},{"functionName":"adjustOffset","ranges":[{"startOffset":33523,"endOffset":33957,"count":0}],"isBlockCoverage":false},{"functionName":"subarray","ranges":[{"startOffset":33987,"endOffset":34290,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":34318,"endOffset":34384,"count":0}],"isBlockCoverage":false},{"functionName":"swap","ranges":[{"startOffset":34387,"endOffset":34458,"count":0}],"isBlockCoverage":false},{"functionName":"swap16","ranges":[{"startOffset":34486,"endOffset":34890,"count":0}],"isBlockCoverage":false},{"functionName":"swap32","ranges":[{"startOffset":34919,"endOffset":35363,"count":0}],"isBlockCoverage":false},{"functionName":"swap64","ranges":[{"startOffset":35392,"endOffset":35900,"count":0}],"isBlockCoverage":false},{"functionName":"transcode","ranges":[{"startOffset":36214,"endOffset":36913,"count":0}],"isBlockCoverage":false},{"functionName":"btoa","ranges":[{"startOffset":36918,"endOffset":37455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":37728,"endOffset":37772,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37830,"endOffset":37874,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37929,"endOffset":37973,"count":10}],"isBlockCoverage":true},{"functionName":"atob","ranges":[{"startOffset":38149,"endOffset":40101,"count":0}],"isBlockCoverage":false},{"functionName":"isUtf8","ranges":[{"startOffset":40103,"endOffset":40299,"count":0}],"isBlockCoverage":false},{"functionName":"isAscii","ranges":[{"startOffset":40301,"endOffset":40514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40905,"endOffset":40940,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":40946,"endOffset":41044,"count":0}],"isBlockCoverage":false}]},{"scriptId":"97","url":"node:internal/buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30926,"count":1}],"isBlockCoverage":false},{"functionName":"checkBounds","ranges":[{"startOffset":1176,"endOffset":1392,"count":1},{"startOffset":1339,"endOffset":1390,"count":0}],"isBlockCoverage":true},{"functionName":"checkInt","ranges":[{"startOffset":1394,"endOffset":2016,"count":1},{"startOffset":1490,"endOffset":1974,"count":0}],"isBlockCoverage":true},{"functionName":"boundsError","ranges":[{"startOffset":2018,"endOffset":2421,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":2441,"endOffset":2940,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":2942,"endOffset":3441,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":3443,"endOffset":3944,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":3946,"endOffset":4441,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntLE","ranges":[{"startOffset":4443,"endOffset":4995,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48LE","ranges":[{"startOffset":4997,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40LE","ranges":[{"startOffset":5382,"endOffset":5738,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":5740,"endOffset":6066,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24LE","ranges":[{"startOffset":6068,"endOffset":6356,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":6358,"endOffset":6618,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":6620,"endOffset":6800,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntBE","ranges":[{"startOffset":6802,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48BE","ranges":[{"startOffset":7356,"endOffset":7739,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40BE","ranges":[{"startOffset":7741,"endOffset":8097,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":8099,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24BE","ranges":[{"startOffset":8427,"endOffset":8715,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":8717,"endOffset":8977,"count":0}],"isBlockCoverage":false},{"functionName":"readIntLE","ranges":[{"startOffset":8979,"endOffset":9524,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48LE","ranges":[{"startOffset":9526,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40LE","ranges":[{"startOffset":9959,"endOffset":10346,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":10348,"endOffset":10683,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24LE","ranges":[{"startOffset":10685,"endOffset":11017,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":11019,"endOffset":11325,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":11327,"endOffset":11535,"count":0}],"isBlockCoverage":false},{"functionName":"readIntBE","ranges":[{"startOffset":11537,"endOffset":12082,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48BE","ranges":[{"startOffset":12084,"endOffset":12513,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40BE","ranges":[{"startOffset":12515,"endOffset":12903,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":12905,"endOffset":13240,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24BE","ranges":[{"startOffset":13242,"endOffset":13574,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":13576,"endOffset":13882,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBackwards","ranges":[{"startOffset":13899,"endOffset":14304,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatForwards","ranges":[{"startOffset":14306,"endOffset":14710,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBackwards","ranges":[{"startOffset":14712,"endOffset":15282,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleForwards","ranges":[{"startOffset":15284,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64LE","ranges":[{"startOffset":15874,"endOffset":16356,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":16358,"endOffset":16480,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64BE","ranges":[{"startOffset":16482,"endOffset":16980,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":16982,"endOffset":17104,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":17106,"endOffset":17250,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":17252,"endOffset":17396,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntLE","ranges":[{"startOffset":17398,"endOffset":18007,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48LE","ranges":[{"startOffset":18009,"endOffset":18422,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40LE","ranges":[{"startOffset":18424,"endOffset":18803,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32LE","ranges":[{"startOffset":18805,"endOffset":19112,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19114,"endOffset":19220,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24LE","ranges":[{"startOffset":19222,"endOffset":19481,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16LE","ranges":[{"startOffset":19483,"endOffset":19679,"count":1}],"isBlockCoverage":true},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19681,"endOffset":19783,"count":1}],"isBlockCoverage":true},{"functionName":"writeU_Int8","ranges":[{"startOffset":19785,"endOffset":20197,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":20199,"endOffset":20293,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntBE","ranges":[{"startOffset":20295,"endOffset":20904,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48BE","ranges":[{"startOffset":20906,"endOffset":21327,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40BE","ranges":[{"startOffset":21329,"endOffset":21691,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32BE","ranges":[{"startOffset":21693,"endOffset":22008,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":22010,"endOffset":22116,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24BE","ranges":[{"startOffset":22118,"endOffset":22383,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16BE","ranges":[{"startOffset":22385,"endOffset":22581,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":22583,"endOffset":22685,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntLE","ranges":[{"startOffset":22687,"endOffset":23349,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":23351,"endOffset":23466,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":23468,"endOffset":23575,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":23577,"endOffset":23674,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntBE","ranges":[{"startOffset":23676,"endOffset":24338,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":24340,"endOffset":24455,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":24457,"endOffset":24564,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleForwards","ranges":[{"startOffset":24583,"endOffset":25049,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBackwards","ranges":[{"startOffset":25051,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatForwards","ranges":[{"startOffset":25520,"endOffset":25821,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBackwards","ranges":[{"startOffset":25823,"endOffset":26125,"count":0}],"isBlockCoverage":false},{"functionName":"FastBuffer","ranges":[{"startOffset":26365,"endOffset":26465,"count":101}],"isBlockCoverage":true},{"functionName":"addBufferPrototypeMethods","ranges":[{"startOffset":26469,"endOffset":29608,"count":1},{"startOffset":28552,"endOffset":28572,"count":0},{"startOffset":28626,"endOffset":28645,"count":0},{"startOffset":28701,"endOffset":28722,"count":0},{"startOffset":28778,"endOffset":28798,"count":0},{"startOffset":28855,"endOffset":28876,"count":0},{"startOffset":28932,"endOffset":28952,"count":0},{"startOffset":29010,"endOffset":29032,"count":0},{"startOffset":29090,"endOffset":29111,"count":0}],"isBlockCoverage":true},{"functionName":"markAsUntransferable","ranges":[{"startOffset":29764,"endOffset":30013,"count":3},{"startOffset":29832,"endOffset":29860,"count":0},{"startOffset":29883,"endOffset":29890,"count":0}],"isBlockCoverage":true},{"functionName":"createUnsafeBuffer","ranges":[{"startOffset":30291,"endOffset":30427,"count":61}],"isBlockCoverage":true},{"functionName":"reconnectZeroFillToggle","ranges":[{"startOffset":30682,"endOffset":30754,"count":1}],"isBlockCoverage":true}]},{"scriptId":"98","url":"node:internal/worker/js_transferable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2208,"count":1}],"isBlockCoverage":false},{"functionName":"setup","ranges":[{"startOffset":478,"endOffset":1311,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":759,"endOffset":1307,"count":0}],"isBlockCoverage":false},{"functionName":"makeTransferable","ranges":[{"startOffset":1313,"endOffset":1968,"count":1},{"startOffset":1442,"endOffset":1453,"count":0},{"startOffset":1688,"endOffset":1850,"count":0}],"isBlockCoverage":true}]},{"scriptId":"99","url":"node:internal/process/per_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12464,"count":1}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":1145,"endOffset":1233,"count":0}],"isBlockCoverage":false},{"functionName":"refreshHrtimeBuffer","ranges":[{"startOffset":1388,"endOffset":1856,"count":2}],"isBlockCoverage":true},{"functionName":"hrtime","ranges":[{"startOffset":1905,"endOffset":2407,"count":0}],"isBlockCoverage":false},{"functionName":"hrtimeBigInt","ranges":[{"startOffset":2409,"endOffset":2490,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2492,"endOffset":2509,"count":0}],"isBlockCoverage":false},{"functionName":"wrapProcessMethods","ranges":[{"startOffset":2587,"endOffset":7477,"count":1}],"isBlockCoverage":true},{"functionName":"_rawDebug","ranges":[{"startOffset":2754,"endOffset":2844,"count":0}],"isBlockCoverage":false},{"functionName":"cpuUsage","ranges":[{"startOffset":3055,"endOffset":4207,"count":0}],"isBlockCoverage":false},{"functionName":"previousValueIsValid","ranges":[{"startOffset":4360,"endOffset":4497,"count":0}],"isBlockCoverage":false},{"functionName":"memoryUsage","ranges":[{"startOffset":4542,"endOffset":4769,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":4799,"endOffset":5938,"count":1}],"isBlockCoverage":true},{"functionName":"kill","ranges":[{"startOffset":5942,"endOffset":6587,"count":0}],"isBlockCoverage":false},{"functionName":"resourceUsage","ranges":[{"startOffset":6638,"endOffset":7372,"count":0}],"isBlockCoverage":false},{"functionName":"buildAllowedFlags","ranges":[{"startOffset":7688,"endOffset":11790,"count":1},{"startOffset":7976,"endOffset":8267,"count":159},{"startOffset":8028,"endOffset":8263,"count":124},{"startOffset":8125,"endOffset":8257,"count":62},{"startOffset":8735,"endOffset":9157,"count":23},{"startOffset":8789,"endOffset":9153,"count":11},{"startOffset":8878,"endOffset":8947,"count":2},{"startOffset":9012,"endOffset":9081,"count":0}],"isBlockCoverage":true},{"functionName":"isAccepted","ranges":[{"startOffset":8271,"endOffset":8683,"count":29},{"startOffset":8341,"endOffset":8355,"count":28},{"startOffset":8357,"endOffset":8369,"count":2},{"startOffset":8369,"endOffset":8446,"count":27},{"startOffset":8446,"endOffset":8615,"count":2},{"startOffset":8496,"endOffset":8543,"count":1},{"startOffset":8615,"endOffset":8682,"count":25}],"isBlockCoverage":true},{"functionName":"trimLeadingDashes","ranges":[{"startOffset":9191,"endOffset":9253,"count":197}],"isBlockCoverage":true},{"functionName":"NodeEnvironmentFlagsSet","ranges":[{"startOffset":9563,"endOffset":9639,"count":1}],"isBlockCoverage":true},{"functionName":"add","ranges":[{"startOffset":9645,"endOffset":9714,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":9720,"endOffset":9793,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":9799,"endOffset":9851,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":9857,"endOffset":10672,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":10678,"endOffset":10843,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":10849,"endOffset":11026,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":11032,"endOffset":11093,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":11099,"endOffset":11262,"count":0}],"isBlockCoverage":false},{"functionName":"toggleTraceCategoryState","ranges":[{"startOffset":11980,"endOffset":12310,"count":1},{"startOffset":12060,"endOffset":12235,"count":0},{"startOffset":12267,"endOffset":12308,"count":0}],"isBlockCoverage":true}]},{"scriptId":"100","url":"node:internal/process/task_queues","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4285,"count":1}],"isBlockCoverage":false},{"functionName":"hasTickScheduled","ranges":[{"startOffset":982,"endOffset":1057,"count":0}],"isBlockCoverage":false},{"functionName":"setHasTickScheduled","ranges":[{"startOffset":1059,"endOffset":1145,"count":2},{"startOffset":1135,"endOffset":1138,"count":1},{"startOffset":1139,"endOffset":1142,"count":1}],"isBlockCoverage":true},{"functionName":"runNextTicks","ranges":[{"startOffset":1247,"endOffset":1443,"count":0}],"isBlockCoverage":false},{"functionName":"processTicksAndRejections","ranges":[{"startOffset":1445,"endOffset":2424,"count":1},{"startOffset":1547,"endOffset":2279,"count":2},{"startOffset":1781,"endOffset":2155,"count":0},{"startOffset":2217,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"nextTick","ranges":[{"startOffset":2568,"endOffset":3442,"count":2},{"startOffset":2669,"endOffset":2676,"count":0},{"startOffset":2743,"endOffset":2780,"count":0},{"startOffset":2785,"endOffset":2836,"count":0},{"startOffset":2841,"endOffset":2906,"count":0},{"startOffset":2911,"endOffset":3054,"count":0},{"startOffset":3083,"endOffset":3109,"count":1},{"startOffset":3354,"endOffset":3414,"count":0}],"isBlockCoverage":true},{"functionName":"runMicrotask","ranges":[{"startOffset":3444,"endOffset":3620,"count":0}],"isBlockCoverage":false},{"functionName":"queueMicrotask","ranges":[{"startOffset":3692,"endOffset":3981,"count":0}],"isBlockCoverage":false},{"functionName":"setupTaskQueue","ranges":[{"startOffset":4004,"endOffset":4262,"count":1}],"isBlockCoverage":true}]},{"scriptId":"101","url":"node:internal/process/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11045,"count":1}],"isBlockCoverage":false},{"functionName":"setHasRejectionToWarn","ranges":[{"startOffset":2155,"endOffset":2245,"count":1},{"startOffset":2235,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"hasRejectionToWarn","ranges":[{"startOffset":2247,"endOffset":2326,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorLike","ranges":[{"startOffset":2328,"endOffset":2464,"count":0}],"isBlockCoverage":false},{"functionName":"getUnhandledRejectionsMode","ranges":[{"startOffset":2466,"endOffset":2999,"count":0}],"isBlockCoverage":false},{"functionName":"promiseRejectHandler","ranges":[{"startOffset":3001,"endOffset":3570,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3619,"endOffset":3627,"count":0}],"isBlockCoverage":false},{"functionName":"resolveError","ranges":[{"startOffset":3698,"endOffset":3995,"count":0}],"isBlockCoverage":false},{"functionName":"unhandledRejection","ranges":[{"startOffset":3997,"endOffset":4557,"count":0}],"isBlockCoverage":false},{"functionName":"handledRejection","ranges":[{"startOffset":4559,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionWarning","ranges":[{"startOffset":5462,"endOffset":6499,"count":0}],"isBlockCoverage":false},{"functionName":"processPromiseRejections","ranges":[{"startOffset":6672,"endOffset":9849,"count":1},{"startOffset":6830,"endOffset":7009,"count":0},{"startOffset":7074,"endOffset":9753,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithoutStack","ranges":[{"startOffset":9851,"endOffset":10366,"count":0}],"isBlockCoverage":false},{"functionName":"generateUnhandledRejectionError","ranges":[{"startOffset":10368,"endOffset":10838,"count":0}],"isBlockCoverage":false},{"functionName":"listenForRejections","ranges":[{"startOffset":10840,"endOffset":10924,"count":1}],"isBlockCoverage":true}]},{"scriptId":"102","url":"node:internal/fixed_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4208,"count":1}],"isBlockCoverage":false},{"functionName":"FixedCircularBuffer","ranges":[{"startOffset":2959,"endOffset":3073,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3077,"endOffset":3129,"count":6}],"isBlockCoverage":true},{"functionName":"isFull","ranges":[{"startOffset":3133,"endOffset":3200,"count":2}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3204,"endOffset":3291,"count":2}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3295,"endOffset":3510,"count":3},{"startOffset":3388,"endOffset":3400,"count":1},{"startOffset":3400,"endOffset":3509,"count":2}],"isBlockCoverage":true},{"functionName":"FixedQueue","ranges":[{"startOffset":3552,"endOffset":3626,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3630,"endOffset":3677,"count":3}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3681,"endOffset":3945,"count":2},{"startOffset":3722,"endOffset":3915,"count":0}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3949,"endOffset":4204,"count":3},{"startOffset":4041,"endOffset":4062,"count":2},{"startOffset":4064,"endOffset":4183,"count":0}],"isBlockCoverage":true}]},{"scriptId":"103","url":"node:async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10295,"count":1}],"isBlockCoverage":false},{"functionName":"AsyncHook","ranges":[{"startOffset":1538,"endOffset":2372,"count":1},{"startOffset":1666,"endOffset":1708,"count":0},{"startOffset":1738,"endOffset":1769,"count":0},{"startOffset":1777,"endOffset":1821,"count":0},{"startOffset":1850,"endOffset":1880,"count":0},{"startOffset":1888,"endOffset":1931,"count":0},{"startOffset":1962,"endOffset":1994,"count":0},{"startOffset":2002,"endOffset":2047,"count":0},{"startOffset":2085,"endOffset":2124,"count":0},{"startOffset":2132,"endOffset":2184,"count":0}],"isBlockCoverage":true},{"functionName":"enable","ranges":[{"startOffset":2376,"endOffset":3621,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":3625,"endOffset":4409,"count":0}],"isBlockCoverage":false},{"functionName":"createHook","ranges":[{"startOffset":4414,"endOffset":4471,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncResource","ranges":[{"startOffset":4564,"endOffset":5761,"count":0}],"isBlockCoverage":false},{"functionName":"runInAsyncScope","ranges":[{"startOffset":5765,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":6085,"endOffset":6260,"count":0}],"isBlockCoverage":false},{"functionName":"asyncId","ranges":[{"startOffset":6264,"endOffset":6313,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":6317,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":6385,"endOffset":7421,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":7432,"endOffset":7569,"count":0}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":7632,"endOffset":7920,"count":0}],"isBlockCoverage":false},{"functionName":"AsyncLocalStorage","ranges":[{"startOffset":7955,"endOffset":8052,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":8063,"endOffset":8112,"count":0}],"isBlockCoverage":false},{"functionName":"snapshot","ranges":[{"startOffset":8123,"endOffset":8204,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":8208,"endOffset":8533,"count":0}],"isBlockCoverage":false},{"functionName":"_enable","ranges":[{"startOffset":8537,"endOffset":8683,"count":0}],"isBlockCoverage":false},{"functionName":"_propagate","ranges":[{"startOffset":8752,"endOffset":8932,"count":0}],"isBlockCoverage":false},{"functionName":"enterWith","ranges":[{"startOffset":8936,"endOffset":9068,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":9072,"endOffset":9570,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":9574,"endOffset":9806,"count":0}],"isBlockCoverage":false},{"functionName":"getStore","ranges":[{"startOffset":9810,"endOffset":9949,"count":0}],"isBlockCoverage":false}]},{"scriptId":"104","url":"node:timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9640,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1819,"endOffset":1844,"count":1}],"isBlockCoverage":true},{"functionName":"unenroll","ranges":[{"startOffset":2343,"endOffset":3527,"count":2},{"startOffset":2396,"endOffset":2403,"count":0},{"startOffset":2463,"endOffset":2509,"count":0},{"startOffset":2600,"endOffset":2638,"count":0},{"startOffset":2644,"endOffset":2679,"count":0}],"isBlockCoverage":true},{"functionName":"enroll","ranges":[{"startOffset":3734,"endOffset":3987,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":4229,"endOffset":4886,"count":14},{"startOffset":4396,"endOffset":4403,"count":0},{"startOffset":4433,"endOffset":4474,"count":0},{"startOffset":4479,"endOffset":4526,"count":0},{"startOffset":4531,"endOffset":4752,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4981,"endOffset":5106,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimeout","ranges":[{"startOffset":5206,"endOffset":5572,"count":13},{"startOffset":5249,"endOffset":5268,"count":2},{"startOffset":5270,"endOffset":5337,"count":2},{"startOffset":5337,"endOffset":5398,"count":11},{"startOffset":5400,"endOffset":5570,"count":0}],"isBlockCoverage":true},{"functionName":"setInterval","ranges":[{"startOffset":5809,"endOffset":6468,"count":0}],"isBlockCoverage":false},{"functionName":"clearInterval","ranges":[{"startOffset":6565,"endOffset":6863,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.close","ranges":[{"startOffset":6891,"endOffset":6942,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":6980,"endOffset":7016,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":7126,"endOffset":7287,"count":0}],"isBlockCoverage":false},{"functionName":"setImmediate","ranges":[{"startOffset":7504,"endOffset":8057,"count":1},{"startOffset":7691,"endOffset":7732,"count":0},{"startOffset":7737,"endOffset":7784,"count":0},{"startOffset":7789,"endOffset":8010,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8154,"endOffset":8281,"count":0}],"isBlockCoverage":false},{"functionName":"clearImmediate","ranges":[{"startOffset":8372,"endOffset":8922,"count":0}],"isBlockCoverage":false},{"functionName":"Immediate.","ranges":[{"startOffset":8961,"endOffset":8999,"count":0}],"isBlockCoverage":false}]},{"scriptId":"105","url":"node:internal/process/execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6918,"count":1}],"isBlockCoverage":false},{"functionName":"tryGetCwd","ranges":[{"startOffset":681,"endOffset":1011,"count":1},{"startOffset":742,"endOffset":1009,"count":0}],"isBlockCoverage":true},{"functionName":"evalModule","ranges":[{"startOffset":1013,"endOffset":1407,"count":0}],"isBlockCoverage":false},{"functionName":"evalScript","ranges":[{"startOffset":1409,"endOffset":3230,"count":0}],"isBlockCoverage":false},{"functionName":"setUncaughtExceptionCaptureCallback","ranges":[{"startOffset":3308,"endOffset":4002,"count":0}],"isBlockCoverage":false},{"functionName":"hasUncaughtExceptionCaptureCallback","ranges":[{"startOffset":4004,"endOffset":4105,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4107,"endOffset":4125,"count":0}],"isBlockCoverage":false},{"functionName":"createOnGlobalUncaughtException","ranges":[{"startOffset":4668,"endOffset":6491,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4937,"endOffset":6488,"count":0}],"isBlockCoverage":false},{"functionName":"readStdin","ranges":[{"startOffset":6493,"endOffset":6698,"count":0}],"isBlockCoverage":false}]},{"scriptId":"106","url":"node:path","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":46851,"count":1}],"isBlockCoverage":false},{"functionName":"isPathSeparator","ranges":[{"startOffset":1719,"endOffset":1823,"count":0}],"isBlockCoverage":false},{"functionName":"isPosixPathSeparator","ranges":[{"startOffset":1825,"endOffset":1902,"count":442334}],"isBlockCoverage":true},{"functionName":"isWindowsDeviceRoot","ranges":[{"startOffset":1904,"endOffset":2074,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeString","ranges":[{"startOffset":2137,"endOffset":4085,"count":5923},{"startOffset":2354,"endOffset":4069,"count":441765},{"startOffset":2387,"endOffset":2429,"count":435842},{"startOffset":2429,"endOffset":2520,"count":5923},{"startOffset":2472,"endOffset":2478,"count":5354},{"startOffset":2478,"endOffset":2520,"count":569},{"startOffset":2520,"endOffset":2553,"count":436411},{"startOffset":2553,"endOffset":3970,"count":54217},{"startOffset":2585,"endOffset":2598,"count":46171},{"startOffset":2600,"endOffset":2625,"count":9050},{"startOffset":2625,"endOffset":3927,"count":45167},{"startOffset":2647,"endOffset":3682,"count":150},{"startOffset":2676,"endOffset":2702,"count":81},{"startOffset":2703,"endOffset":2777,"count":5},{"startOffset":2778,"endOffset":2852,"count":5},{"startOffset":2854,"endOffset":3542,"count":145},{"startOffset":2886,"endOffset":3363,"count":76},{"startOffset":3006,"endOffset":3082,"count":0},{"startOffset":3363,"endOffset":3532,"count":69},{"startOffset":3391,"endOffset":3532,"count":0},{"startOffset":3542,"endOffset":3674,"count":74},{"startOffset":3605,"endOffset":3623,"count":5},{"startOffset":3624,"endOffset":3630,"count":69},{"startOffset":3682,"endOffset":3927,"count":45017},{"startOffset":3728,"endOffset":3797,"count":39163},{"startOffset":3797,"endOffset":3872,"count":5854},{"startOffset":3927,"endOffset":3970,"count":54141},{"startOffset":3970,"endOffset":4065,"count":382194},{"startOffset":3998,"endOffset":4012,"count":5537},{"startOffset":4014,"endOffset":4035,"count":1308},{"startOffset":4035,"endOffset":4065,"count":380886}],"isBlockCoverage":true},{"functionName":"formatExt","ranges":[{"startOffset":4087,"endOffset":4172,"count":0}],"isBlockCoverage":false},{"functionName":"_format","ranges":[{"startOffset":4350,"endOffset":4685,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":4803,"endOffset":9588,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":9654,"endOffset":12725,"count":0}],"isBlockCoverage":false},{"functionName":"isAbsolute","ranges":[{"startOffset":12792,"endOffset":13208,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13277,"endOffset":15423,"count":0}],"isBlockCoverage":false},{"functionName":"relative","ranges":[{"startOffset":15719,"endOffset":19486,"count":0}],"isBlockCoverage":false},{"functionName":"toNamespacedPath","ranges":[{"startOffset":19552,"endOffset":20654,"count":0}],"isBlockCoverage":false},{"functionName":"dirname","ranges":[{"startOffset":20720,"endOffset":23266,"count":0}],"isBlockCoverage":false},{"functionName":"basename","ranges":[{"startOffset":23362,"endOffset":26136,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":26202,"endOffset":28275,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":28497,"endOffset":33253,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33339,"endOffset":33782,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33526,"endOffset":33683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33760,"endOffset":33779,"count":7}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":33904,"endOffset":34827,"count":5354},{"startOffset":34027,"endOffset":34047,"count":14449},{"startOffset":34054,"endOffset":34381,"count":9102},{"startOffset":34082,"endOffset":34091,"count":9095},{"startOffset":34092,"endOffset":34104,"count":7},{"startOffset":34207,"endOffset":34234,"count":0},{"startOffset":34766,"endOffset":34816,"count":0},{"startOffset":34817,"endOffset":34822,"count":0}],"isBlockCoverage":true},{"functionName":"normalize","ranges":[{"startOffset":34893,"endOffset":35506,"count":569},{"startOffset":34979,"endOffset":34990,"count":0},{"startOffset":35318,"endOffset":35412,"count":0},{"startOffset":35446,"endOffset":35458,"count":0},{"startOffset":35482,"endOffset":35494,"count":3},{"startOffset":35495,"endOffset":35501,"count":566}],"isBlockCoverage":true},{"functionName":"isAbsolute","ranges":[{"startOffset":35573,"endOffset":35729,"count":889}],"isBlockCoverage":true},{"functionName":"join","ranges":[{"startOffset":35798,"endOffset":36212,"count":3},{"startOffset":35847,"endOffset":35858,"count":0},{"startOffset":35917,"endOffset":36124,"count":6},{"startOffset":36053,"endOffset":36110,"count":3},{"startOffset":36161,"endOffset":36172,"count":0}],"isBlockCoverage":true},{"functionName":"relative","ranges":[{"startOffset":36302,"endOffset":38662,"count":2},{"startOffset":36415,"endOffset":36425,"count":0},{"startOffset":36552,"endOffset":36562,"count":0},{"startOffset":36835,"endOffset":36842,"count":0},{"startOffset":36916,"endOffset":37151,"count":70},{"startOffset":37064,"endOffset":37070,"count":0},{"startOffset":37127,"endOffset":37145,"count":6},{"startOffset":37483,"endOffset":37665,"count":0},{"startOffset":37673,"endOffset":38130,"count":0},{"startOffset":38136,"endOffset":38661,"count":0}],"isBlockCoverage":true},{"functionName":"toNamespacedPath","ranges":[{"startOffset":38728,"endOffset":38804,"count":4425}],"isBlockCoverage":true},{"functionName":"dirname","ranges":[{"startOffset":38870,"endOffset":39546,"count":2357},{"startOffset":38953,"endOffset":38964,"count":0},{"startOffset":39138,"endOffset":39391,"count":28991},{"startOffset":39209,"endOffset":39293,"count":2357},{"startOffset":39293,"endOffset":39385,"count":26634},{"startOffset":39419,"endOffset":39446,"count":0},{"startOffset":39483,"endOffset":39495,"count":0}],"isBlockCoverage":true},{"functionName":"basename","ranges":[{"startOffset":39642,"endOffset":42069,"count":562},{"startOffset":39703,"endOffset":39733,"count":0},{"startOffset":39865,"endOffset":39885,"count":0},{"startOffset":39886,"endOffset":39917,"count":0},{"startOffset":39919,"endOffset":41443,"count":0},{"startOffset":41491,"endOffset":41976,"count":7074},{"startOffset":41562,"endOffset":41786,"count":562},{"startOffset":41786,"endOffset":41970,"count":6512},{"startOffset":41808,"endOffset":41970,"count":562},{"startOffset":42004,"endOffset":42014,"count":0}],"isBlockCoverage":true},{"functionName":"extname","ranges":[{"startOffset":42135,"endOffset":43825,"count":1},{"startOffset":42468,"endOffset":43430,"count":13},{"startOffset":42564,"endOffset":42810,"count":1},{"startOffset":42784,"endOffset":42810,"count":0},{"startOffset":42810,"endOffset":42833,"count":12},{"startOffset":42833,"endOffset":42990,"count":1},{"startOffset":42990,"endOffset":43020,"count":12},{"startOffset":43020,"endOffset":43220,"count":1},{"startOffset":43149,"endOffset":43212,"count":0},{"startOffset":43220,"endOffset":43424,"count":11},{"startOffset":43247,"endOffset":43424,"count":7},{"startOffset":43669,"endOffset":43701,"count":0},{"startOffset":43702,"endOffset":43740,"count":0},{"startOffset":43743,"endOffset":43767,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":44052,"endOffset":46524,"count":0}],"isBlockCoverage":false}]},{"scriptId":"107","url":"node:internal/constants","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1583,"count":1}],"isBlockCoverage":false}]},{"scriptId":"108","url":"node:internal/process/warning","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5379,"count":1}],"isBlockCoverage":false},{"functionName":"resetForSerialization","ranges":[{"startOffset":448,"endOffset":645,"count":0}],"isBlockCoverage":false},{"functionName":"lazyOption","ranges":[{"startOffset":647,"endOffset":1201,"count":0}],"isBlockCoverage":false},{"functionName":"writeOut","ranges":[{"startOffset":1302,"endOffset":1424,"count":0}],"isBlockCoverage":false},{"functionName":"closeFdOnExit","ranges":[{"startOffset":1426,"endOffset":1537,"count":0}],"isBlockCoverage":false},{"functionName":"writeToFile","ranges":[{"startOffset":1539,"endOffset":1868,"count":0}],"isBlockCoverage":false},{"functionName":"doEmitWarning","ranges":[{"startOffset":1870,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"onWarning","ranges":[{"startOffset":1943,"endOffset":3092,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarning","ranges":[{"startOffset":3215,"endOffset":4406,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarningSync","ranges":[{"startOffset":4408,"endOffset":4538,"count":0}],"isBlockCoverage":false},{"functionName":"createWarningObject","ranges":[{"startOffset":4540,"endOffset":5283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"109","url":"node:internal/source_map/source_map_cache","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10127,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":357,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":824,"endOffset":939,"count":1}],"isBlockCoverage":true},{"functionName":"getSourceMapsEnabled","ranges":[{"startOffset":1596,"endOffset":1659,"count":93}],"isBlockCoverage":true},{"functionName":"setSourceMapsEnabled","ranges":[{"startOffset":1661,"endOffset":2203,"count":1},{"startOffset":1924,"endOffset":2173,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceURLMagicComment","ranges":[{"startOffset":2205,"endOffset":2805,"count":29},{"startOffset":2507,"endOffset":2540,"count":0},{"startOffset":2593,"endOffset":2729,"count":0},{"startOffset":2731,"endOffset":2804,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceMapURLMagicComment","ranges":[{"startOffset":2807,"endOffset":3250,"count":58},{"startOffset":3128,"endOffset":3156,"count":0},{"startOffset":3204,"endOffset":3249,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheSourceMap","ranges":[{"startOffset":3252,"endOffset":5023,"count":85},{"startOffset":3454,"endOffset":3474,"count":0},{"startOffset":3477,"endOffset":3484,"count":0},{"startOffset":3618,"endOffset":3742,"count":0},{"startOffset":3778,"endOffset":3844,"count":58},{"startOffset":3933,"endOffset":3950,"count":58},{"startOffset":3950,"endOffset":4122,"count":27},{"startOffset":4123,"endOffset":4137,"count":0},{"startOffset":4164,"endOffset":4349,"count":0},{"startOffset":4349,"endOffset":5021,"count":27},{"startOffset":4378,"endOffset":4644,"count":0},{"startOffset":4963,"endOffset":5017,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheGeneratedSourceMap","ranges":[{"startOffset":5025,"endOffset":5553,"count":2},{"startOffset":5163,"endOffset":5183,"count":0},{"startOffset":5186,"endOffset":5193,"count":0},{"startOffset":5297,"endOffset":5551,"count":0}],"isBlockCoverage":true},{"functionName":"dataFromUrl","ranges":[{"startOffset":5555,"endOffset":6075,"count":27},{"startOffset":5692,"endOffset":5767,"count":18},{"startOffset":5774,"endOffset":5854,"count":0},{"startOffset":5865,"endOffset":6073,"count":9}],"isBlockCoverage":true},{"functionName":"lineLengths","ranges":[{"startOffset":6265,"endOffset":6610,"count":27}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6567,"endOffset":6606,"count":3500}],"isBlockCoverage":true},{"functionName":"sourceMapFromFile","ranges":[{"startOffset":6612,"endOffset":6892,"count":9},{"startOffset":6840,"endOffset":6890,"count":0}],"isBlockCoverage":true},{"functionName":"sourceMapFromDataUrl","ranges":[{"startOffset":6986,"endOffset":7657,"count":18},{"startOffset":7389,"endOffset":7395,"count":0},{"startOffset":7517,"endOffset":7573,"count":0},{"startOffset":7577,"endOffset":7655,"count":0}],"isBlockCoverage":true},{"functionName":"sourcesToAbsolute","ranges":[{"startOffset":7842,"endOffset":8169,"count":27}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7920,"endOffset":8026,"count":27}],"isBlockCoverage":true},{"functionName":"sourceMapCacheToObject","ranges":[{"startOffset":8607,"endOffset":8855,"count":0}],"isBlockCoverage":false},{"functionName":"appendCJSCache","ranges":[{"startOffset":8857,"endOffset":9083,"count":0}],"isBlockCoverage":false},{"functionName":"findSourceMap","ranges":[{"startOffset":9085,"endOffset":9957,"count":19},{"startOffset":9257,"endOffset":9331,"count":1},{"startOffset":9379,"endOffset":9420,"count":8},{"startOffset":9449,"endOffset":9696,"count":8},{"startOffset":9499,"endOffset":9692,"count":0},{"startOffset":9724,"endOffset":9751,"count":8},{"startOffset":9751,"endOffset":9818,"count":11},{"startOffset":9818,"endOffset":9935,"count":3},{"startOffset":9935,"endOffset":9956,"count":11}],"isBlockCoverage":true}]},{"scriptId":"110","url":"node:internal/url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43440,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBlob","ranges":[{"startOffset":2768,"endOffset":2843,"count":0}],"isBlockCoverage":false},{"functionName":"lazyCryptoRandom","ranges":[{"startOffset":2845,"endOffset":3079,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3462,"endOffset":4251,"count":1312}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3589,"endOffset":3617,"count":1}],"isBlockCoverage":false},{"functionName":"get hasPort","ranges":[{"startOffset":4030,"endOffset":4095,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSearch","ranges":[{"startOffset":4099,"endOffset":4174,"count":1637}],"isBlockCoverage":true},{"functionName":"get hasHash","ranges":[{"startOffset":4178,"endOffset":4249,"count":1637}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4337,"endOffset":6674,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7067,"endOffset":19940,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7158,"endOffset":7494,"count":1}],"isBlockCoverage":false},{"functionName":"setURLSearchParamsContext","ranges":[{"startOffset":7199,"endOffset":7246,"count":0}],"isBlockCoverage":false},{"functionName":"getURLSearchParamsList","ranges":[{"startOffset":7277,"endOffset":7303,"count":0}],"isBlockCoverage":false},{"functionName":"setURLSearchParams","ranges":[{"startOffset":7330,"endOffset":7489,"count":0}],"isBlockCoverage":false},{"functionName":"isURL","ranges":[{"startOffset":21271,"endOffset":21396,"count":2096},{"startOffset":21322,"endOffset":21338,"count":748},{"startOffset":21339,"endOffset":21365,"count":748},{"startOffset":21366,"endOffset":21392,"count":748}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21398,"endOffset":29200,"count":1498}],"isBlockCoverage":false},{"functionName":"URL","ranges":[{"startOffset":21461,"endOffset":21761,"count":1498},{"startOffset":21532,"endOffset":21580,"count":0},{"startOffset":21669,"endOffset":21700,"count":705}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21765,"endOffset":22485,"count":0}],"isBlockCoverage":false},{"functionName":"#updateContext","ranges":[{"startOffset":22489,"endOffset":23396,"count":1597},{"startOffset":23205,"endOffset":23392,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":23400,"endOffset":23447,"count":542}],"isBlockCoverage":true},{"functionName":"get href","ranges":[{"startOffset":23451,"endOffset":23498,"count":1079}],"isBlockCoverage":true},{"functionName":"set href","ranges":[{"startOffset":23502,"endOffset":23711,"count":0}],"isBlockCoverage":false},{"functionName":"get origin","ranges":[{"startOffset":23729,"endOffset":24598,"count":0}],"isBlockCoverage":false},{"functionName":"get protocol","ranges":[{"startOffset":24602,"endOffset":24706,"count":2256}],"isBlockCoverage":true},{"functionName":"set protocol","ranges":[{"startOffset":24710,"endOffset":24883,"count":0}],"isBlockCoverage":false},{"functionName":"get username","ranges":[{"startOffset":24887,"endOffset":25114,"count":0}],"isBlockCoverage":false},{"functionName":"set username","ranges":[{"startOffset":25118,"endOffset":25291,"count":0}],"isBlockCoverage":false},{"functionName":"get password","ranges":[{"startOffset":25295,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"set password","ranges":[{"startOffset":25522,"endOffset":25695,"count":0}],"isBlockCoverage":false},{"functionName":"get host","ranges":[{"startOffset":25699,"endOffset":26130,"count":0}],"isBlockCoverage":false},{"functionName":"set host","ranges":[{"startOffset":26134,"endOffset":26299,"count":0}],"isBlockCoverage":false},{"functionName":"get hostname","ranges":[{"startOffset":26303,"endOffset":26585,"count":711},{"startOffset":26469,"endOffset":26494,"count":0}],"isBlockCoverage":true},{"functionName":"set hostname","ranges":[{"startOffset":26589,"endOffset":26762,"count":0}],"isBlockCoverage":false},{"functionName":"get port","ranges":[{"startOffset":26766,"endOffset":26874,"count":0}],"isBlockCoverage":false},{"functionName":"set port","ranges":[{"startOffset":26878,"endOffset":27043,"count":0}],"isBlockCoverage":false},{"functionName":"get pathname","ranges":[{"startOffset":27047,"endOffset":27339,"count":1530},{"startOffset":27113,"endOffset":27163,"count":0},{"startOffset":27196,"endOffset":27244,"count":0}],"isBlockCoverage":true},{"functionName":"set pathname","ranges":[{"startOffset":27343,"endOffset":27516,"count":0}],"isBlockCoverage":false},{"functionName":"get search","ranges":[{"startOffset":27520,"endOffset":27855,"count":107},{"startOffset":27583,"endOffset":27854,"count":0}],"isBlockCoverage":true},{"functionName":"set search","ranges":[{"startOffset":27859,"endOffset":28036,"count":107}],"isBlockCoverage":true},{"functionName":"get searchParams","ranges":[{"startOffset":28054,"endOffset":28353,"count":0}],"isBlockCoverage":false},{"functionName":"get hash","ranges":[{"startOffset":28357,"endOffset":28572,"count":107},{"startOffset":28401,"endOffset":28463,"count":0},{"startOffset":28489,"endOffset":28571,"count":0}],"isBlockCoverage":true},{"functionName":"set hash","ranges":[{"startOffset":28576,"endOffset":28741,"count":107}],"isBlockCoverage":true},{"functionName":"toJSON","ranges":[{"startOffset":28745,"endOffset":28790,"count":0}],"isBlockCoverage":false},{"functionName":"canParse","ranges":[{"startOffset":28801,"endOffset":29198,"count":0}],"isBlockCoverage":false},{"functionName":"installObjectURLMethods","ranges":[{"startOffset":29910,"endOffset":30849,"count":1}],"isBlockCoverage":true},{"functionName":"createObjectURL","ranges":[{"startOffset":29997,"endOffset":30416,"count":0}],"isBlockCoverage":false},{"functionName":"revokeObjectURL","ranges":[{"startOffset":30420,"endOffset":30498,"count":0}],"isBlockCoverage":false},{"functionName":"parseParams","ranges":[{"startOffset":30958,"endOffset":33306,"count":0}],"isBlockCoverage":false},{"functionName":"serializeParams","ranges":[{"startOffset":34286,"endOffset":34846,"count":0}],"isBlockCoverage":false},{"functionName":"merge","ranges":[{"startOffset":34866,"endOffset":35496,"count":0}],"isBlockCoverage":false},{"functionName":"domainToASCII","ranges":[{"startOffset":35498,"endOffset":35683,"count":0}],"isBlockCoverage":false},{"functionName":"domainToUnicode","ranges":[{"startOffset":35685,"endOffset":35874,"count":0}],"isBlockCoverage":false},{"functionName":"urlToHttpOptions","ranges":[{"startOffset":36084,"endOffset":36785,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLWin32","ranges":[{"startOffset":36787,"endOffset":38284,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLPosix","ranges":[{"startOffset":38286,"endOffset":38807,"count":711},{"startOffset":38349,"endOffset":38405,"count":0},{"startOffset":38483,"endOffset":38766,"count":54024},{"startOffset":38514,"endOffset":38762,"count":0}],"isBlockCoverage":true},{"functionName":"fileURLToPath","ranges":[{"startOffset":38809,"endOffset":39148,"count":711},{"startOffset":38876,"endOffset":38897,"count":47},{"startOffset":38897,"endOffset":38991,"count":664},{"startOffset":38927,"endOffset":38991,"count":0},{"startOffset":39029,"endOffset":39070,"count":0},{"startOffset":39090,"endOffset":39117,"count":0}],"isBlockCoverage":true},{"functionName":"encodePathChars","ranges":[{"startOffset":39961,"endOffset":40737,"count":217},{"startOffset":40054,"endOffset":40125,"count":0},{"startOffset":40253,"endOffset":40326,"count":0},{"startOffset":40384,"endOffset":40455,"count":0},{"startOffset":40513,"endOffset":40591,"count":0},{"startOffset":40649,"endOffset":40716,"count":0}],"isBlockCoverage":true},{"functionName":"pathToFileURL","ranges":[{"startOffset":40739,"endOffset":42716,"count":217},{"startOffset":40790,"endOffset":40836,"count":0},{"startOffset":40838,"endOffset":41603,"count":0},{"startOffset":41885,"endOffset":41946,"count":216},{"startOffset":41906,"endOffset":41945,"count":0},{"startOffset":41948,"endOffset":41999,"count":1},{"startOffset":42005,"endOffset":42021,"count":1},{"startOffset":42477,"endOffset":42549,"count":0},{"startOffset":42606,"endOffset":42674,"count":0}],"isBlockCoverage":true},{"functionName":"toPathIfFileURL","ranges":[{"startOffset":42718,"endOffset":42855,"count":1408},{"startOffset":42793,"endOffset":42814,"count":1324},{"startOffset":42814,"endOffset":42854,"count":84}],"isBlockCoverage":true},{"functionName":"getURLOrigin","ranges":[{"startOffset":43042,"endOffset":43108,"count":0}],"isBlockCoverage":false}]},{"scriptId":"111","url":"node:internal/querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3316,"count":1}],"isBlockCoverage":false},{"functionName":"encodeStr","ranges":[{"startOffset":1534,"endOffset":3253,"count":0}],"isBlockCoverage":false}]},{"scriptId":"112","url":"node:querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14583,"count":1}],"isBlockCoverage":false},{"functionName":"unescapeBuffer","ranges":[{"startOffset":3146,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"qsUnescape","ranges":[{"startOffset":4400,"endOffset":4565,"count":0}],"isBlockCoverage":false},{"functionName":"qsEscape","ranges":[{"startOffset":5418,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"stringifyPrimitive","ranges":[{"startOffset":5719,"endOffset":5989,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringified","ranges":[{"startOffset":6110,"endOffset":6599,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringifiedCustom","ranges":[{"startOffset":6718,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":7065,"endOffset":8131,"count":0}],"isBlockCoverage":false},{"functionName":"charCodes","ranges":[{"startOffset":8187,"endOffset":8455,"count":0}],"isBlockCoverage":false},{"functionName":"addKeyVal","ranges":[{"startOffset":8518,"endOffset":9141,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":9392,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"decodeStr","ranges":[{"startOffset":14459,"endOffset":14582,"count":0}],"isBlockCoverage":false}]},{"scriptId":"113","url":"node:internal/bootstrap/web/exposed-wildcard","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3439,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":900,"endOffset":1129,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1153,"endOffset":1265,"count":0}],"isBlockCoverage":false},{"functionName":"createGlobalConsole","ranges":[{"startOffset":1898,"endOffset":2437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"114","url":"node:internal/console/global","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1814,"count":1}],"isBlockCoverage":false}]},{"scriptId":"115","url":"node:internal/console/constructor","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21601,"count":1}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1875,"endOffset":1975,"count":0}],"isBlockCoverage":false},{"functionName":"Console","ranges":[{"startOffset":2721,"endOffset":4813,"count":1},{"startOffset":2999,"endOffset":3053,"count":0},{"startOffset":3110,"endOffset":3223,"count":0},{"startOffset":3428,"endOffset":3486,"count":0},{"startOffset":3540,"endOffset":3598,"count":0},{"startOffset":3637,"endOffset":3660,"count":0},{"startOffset":3666,"endOffset":3722,"count":0},{"startOffset":3762,"endOffset":3871,"count":0},{"startOffset":3909,"endOffset":4215,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4331,"endOffset":4697,"count":19}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5042,"endOffset":5096,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5366,"endOffset":5607,"count":1}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5832,"endOffset":6477,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6041,"endOffset":6136,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6148,"endOffset":6178,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6308,"endOffset":6407,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6419,"endOffset":6449,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":6569,"endOffset":7977,"count":2}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":8069,"endOffset":9521,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":9616,"endOffset":10026,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10119,"endOffset":10299,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10392,"endOffset":10572,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteErrorHandler","ranges":[{"startOffset":10662,"endOffset":11551,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10730,"endOffset":11548,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":11580,"endOffset":11667,"count":0}],"isBlockCoverage":false},{"functionName":"warn","ranges":[{"startOffset":11673,"endOffset":11761,"count":0}],"isBlockCoverage":false},{"functionName":"dir","ranges":[{"startOffset":11767,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"time","ranges":[{"startOffset":11958,"endOffset":12316,"count":0}],"isBlockCoverage":false},{"functionName":"timeEnd","ranges":[{"startOffset":12321,"endOffset":12610,"count":0}],"isBlockCoverage":false},{"functionName":"timeLog","ranges":[{"startOffset":12615,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"trace","ranges":[{"startOffset":12865,"endOffset":13052,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":13057,"endOffset":13297,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":13358,"endOffset":13830,"count":0}],"isBlockCoverage":false},{"functionName":"count","ranges":[{"startOffset":13891,"endOffset":14347,"count":0}],"isBlockCoverage":false},{"functionName":"countReset","ranges":[{"startOffset":14413,"endOffset":14701,"count":0}],"isBlockCoverage":false},{"functionName":"group","ranges":[{"startOffset":14706,"endOffset":14891,"count":0}],"isBlockCoverage":false},{"functionName":"groupEnd","ranges":[{"startOffset":14896,"endOffset":15065,"count":0}],"isBlockCoverage":false},{"functionName":"table","ranges":[{"startOffset":15114,"endOffset":18432,"count":0}],"isBlockCoverage":false},{"functionName":"timeLogImpl","ranges":[{"startOffset":18473,"endOffset":18992,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":18994,"endOffset":19071,"count":0}],"isBlockCoverage":false},{"functionName":"formatTime","ranges":[{"startOffset":19073,"endOffset":19846,"count":0}],"isBlockCoverage":false},{"functionName":"isArray","ranges":[{"startOffset":19980,"endOffset":20036,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":20039,"endOffset":20057,"count":0}],"isBlockCoverage":false},{"functionName":"initializeGlobalConsole","ranges":[{"startOffset":20425,"endOffset":21464,"count":1},{"startOffset":20793,"endOffset":21463,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21359,"endOffset":21460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"116","url":"node:internal/util/inspector","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3929,"count":1}],"isBlockCoverage":false},{"functionName":"isUsingInspector","ranges":[{"startOffset":698,"endOffset":1081,"count":0}],"isBlockCoverage":false},{"functionName":"getInspectPort","ranges":[{"startOffset":1108,"endOffset":1485,"count":0}],"isBlockCoverage":false},{"functionName":"sendInspectorCommand","ranges":[{"startOffset":1500,"endOffset":2046,"count":0}],"isBlockCoverage":false},{"functionName":"isInspectorMessage","ranges":[{"startOffset":2048,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"installConsoleExtensions","ranges":[{"startOffset":2248,"endOffset":2891,"count":0}],"isBlockCoverage":false},{"functionName":"wrapConsole","ranges":[{"startOffset":2970,"endOffset":3778,"count":1},{"startOffset":3137,"endOffset":3776,"count":24},{"startOffset":3368,"endOffset":3654,"count":19},{"startOffset":3654,"endOffset":3772,"count":5}],"isBlockCoverage":true}]},{"scriptId":"117","url":"node:internal/process/permission","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":919,"count":1}],"isBlockCoverage":false},{"functionName":"isEnabled","ranges":[{"startOffset":315,"endOffset":559,"count":2719},{"startOffset":375,"endOffset":520,"count":1}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":563,"endOffset":913,"count":0}],"isBlockCoverage":false}]},{"scriptId":"118","url":"node:internal/event_target","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31545,"count":1}],"isBlockCoverage":false},{"functionName":"get isTrusted","ranges":[{"startOffset":2074,"endOffset":2130,"count":0}],"isBlockCoverage":false},{"functionName":"isEvent","ranges":[{"startOffset":2268,"endOffset":2340,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2342,"endOffset":7042,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":7039,"count":1}],"isBlockCoverage":false},{"functionName":"isCustomEvent","ranges":[{"startOffset":8173,"endOffset":8267,"count":0}],"isBlockCoverage":false},{"functionName":"CustomEvent","ranges":[{"startOffset":8497,"endOffset":8689,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":8722,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"NodeCustomEvent","ranges":[{"startOffset":9118,"endOffset":9245,"count":0}],"isBlockCoverage":false},{"functionName":"weakListeners","ranges":[{"startOffset":9495,"endOffset":9822,"count":0}],"isBlockCoverage":false},{"functionName":"Listener","ranges":[{"startOffset":10502,"endOffset":11966,"count":13},{"startOffset":10837,"endOffset":10856,"count":0},{"startOffset":10880,"endOffset":10902,"count":0},{"startOffset":10926,"endOffset":10948,"count":0},{"startOffset":11029,"endOffset":11048,"count":0},{"startOffset":11086,"endOffset":11122,"count":0},{"startOffset":11194,"endOffset":11650,"count":0},{"startOffset":11763,"endOffset":11962,"count":0}],"isBlockCoverage":true},{"functionName":"Listener.callback","ranges":[{"startOffset":11793,"endOffset":11923,"count":0}],"isBlockCoverage":false},{"functionName":"get once","ranges":[{"startOffset":11970,"endOffset":12030,"count":6}],"isBlockCoverage":true},{"functionName":"get capture","ranges":[{"startOffset":12033,"endOffset":12099,"count":4}],"isBlockCoverage":true},{"functionName":"get passive","ranges":[{"startOffset":12102,"endOffset":12168,"count":6}],"isBlockCoverage":true},{"functionName":"get isNodeStyleListener","ranges":[{"startOffset":12171,"endOffset":12251,"count":12}],"isBlockCoverage":true},{"functionName":"get weak","ranges":[{"startOffset":12254,"endOffset":12314,"count":39}],"isBlockCoverage":true},{"functionName":"get resistStopPropagation","ranges":[{"startOffset":12317,"endOffset":12411,"count":0}],"isBlockCoverage":false},{"functionName":"get removed","ranges":[{"startOffset":12414,"endOffset":12480,"count":6}],"isBlockCoverage":true},{"functionName":"set removed","ranges":[{"startOffset":12483,"endOffset":12600,"count":17},{"startOffset":12525,"endOffset":12552,"count":4},{"startOffset":12552,"endOffset":12596,"count":13}],"isBlockCoverage":true},{"functionName":"same","ranges":[{"startOffset":12604,"endOffset":12771,"count":16},{"startOffset":12663,"endOffset":12686,"count":0},{"startOffset":12739,"endOffset":12766,"count":4}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":12775,"endOffset":13032,"count":4},{"startOffset":12900,"endOffset":12935,"count":2},{"startOffset":12986,"endOffset":13028,"count":0}],"isBlockCoverage":true},{"functionName":"initEventTarget","ranges":[{"startOffset":13036,"endOffset":13255,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13463,"endOffset":13493,"count":1}],"isBlockCoverage":false},{"functionName":"EventTarget","ranges":[{"startOffset":13498,"endOffset":13544,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13548,"endOffset":14353,"count":13},{"startOffset":13709,"endOffset":13757,"count":0},{"startOffset":13759,"endOffset":14349,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14356,"endOffset":14407,"count":4}],"isBlockCoverage":true},{"functionName":"addEventListener","ranges":[{"startOffset":14796,"endOffset":17514,"count":13},{"startOffset":14891,"endOffset":14933,"count":0},{"startOffset":14970,"endOffset":15017,"count":0},{"startOffset":15409,"endOffset":15862,"count":0},{"startOffset":15926,"endOffset":16310,"count":0},{"startOffset":16381,"endOffset":16873,"count":7},{"startOffset":16873,"endOffset":17028,"count":6},{"startOffset":17028,"endOffset":17063,"count":8},{"startOffset":17065,"endOffset":17128,"count":8},{"startOffset":17128,"endOffset":17161,"count":6},{"startOffset":17161,"endOffset":17203,"count":0},{"startOffset":17203,"endOffset":17513,"count":6}],"isBlockCoverage":true},{"functionName":"signal.addEventListener.__proto__","ranges":[{"startOffset":16141,"endOffset":16215,"count":0}],"isBlockCoverage":false},{"functionName":"removeEventListener","ranges":[{"startOffset":17672,"endOffset":18513,"count":4},{"startOffset":17770,"endOffset":17812,"count":0},{"startOffset":17849,"endOffset":17896,"count":0},{"startOffset":17945,"endOffset":17952,"count":0},{"startOffset":18151,"endOffset":18158,"count":0},{"startOffset":18223,"endOffset":18509,"count":8},{"startOffset":18268,"endOffset":18473,"count":4},{"startOffset":18356,"endOffset":18383,"count":0},{"startOffset":18473,"endOffset":18509,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18517,"endOffset":19138,"count":0}],"isBlockCoverage":false},{"functionName":"dispatchEvent","ranges":[{"startOffset":19180,"endOffset":19641,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19645,"endOffset":21941,"count":4},{"startOffset":19944,"endOffset":20020,"count":0},{"startOffset":20119,"endOffset":20219,"count":0},{"startOffset":20496,"endOffset":21866,"count":6},{"startOffset":20637,"endOffset":20646,"count":0},{"startOffset":20656,"endOffset":20689,"count":0},{"startOffset":20692,"endOffset":21022,"count":0},{"startOffset":21047,"endOffset":21217,"count":0},{"startOffset":21327,"endOffset":21375,"count":0},{"startOffset":21414,"endOffset":21450,"count":0},{"startOffset":21622,"endOffset":21680,"count":0},{"startOffset":21724,"endOffset":21742,"count":0},{"startOffset":21754,"endOffset":21771,"count":0},{"startOffset":21780,"endOffset":21837,"count":0},{"startOffset":21903,"endOffset":21937,"count":0}],"isBlockCoverage":true},{"functionName":"createEvent","ranges":[{"startOffset":19713,"endOffset":19913,"count":0}],"isBlockCoverage":false},{"functionName":"iterationCondition","ranges":[{"startOffset":20296,"endOffset":20461,"count":10},{"startOffset":20337,"endOffset":20368,"count":4},{"startOffset":20368,"endOffset":20427,"count":6},{"startOffset":20428,"endOffset":20454,"count":6},{"startOffset":20436,"endOffset":20445,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21945,"endOffset":22043,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22046,"endOffset":22425,"count":0}],"isBlockCoverage":false},{"functionName":"initNodeEventTarget","ranges":[{"startOffset":22750,"endOffset":22813,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":22899,"endOffset":22930,"count":1}],"isBlockCoverage":false},{"functionName":"NodeEventTarget","ranges":[{"startOffset":22935,"endOffset":22998,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":23037,"endOffset":23191,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":23230,"endOffset":23383,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":23424,"endOffset":23573,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":23638,"endOffset":23847,"count":0}],"isBlockCoverage":false},{"functionName":"off","ranges":[{"startOffset":24037,"endOffset":24230,"count":4},{"startOffset":24108,"endOffset":24154,"count":0}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":24420,"endOffset":24624,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":24755,"endOffset":24960,"count":13},{"startOffset":24816,"endOffset":24862,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":25091,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":25393,"endOffset":25653,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":25784,"endOffset":26029,"count":0}],"isBlockCoverage":false},{"functionName":"removeAllListeners","ranges":[{"startOffset":26105,"endOffset":26360,"count":0}],"isBlockCoverage":false},{"functionName":"validateEventListener","ranges":[{"startOffset":26825,"endOffset":27197,"count":17},{"startOffset":26905,"endOffset":26957,"count":0},{"startOffset":26981,"endOffset":27196,"count":0}],"isBlockCoverage":true},{"functionName":"validateEventListenerOptions","ranges":[{"startOffset":27199,"endOffset":27778,"count":13},{"startOffset":27288,"endOffset":27316,"count":0},{"startOffset":27346,"endOffset":27366,"count":0}],"isBlockCoverage":true},{"functionName":"isEventTarget","ranges":[{"startOffset":28083,"endOffset":28159,"count":17}],"isBlockCoverage":true},{"functionName":"isNodeEventTarget","ranges":[{"startOffset":28161,"endOffset":28245,"count":17}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":28247,"endOffset":28561,"count":0}],"isBlockCoverage":false},{"functionName":"emitUncaughtException","ranges":[{"startOffset":28563,"endOffset":28644,"count":0}],"isBlockCoverage":false},{"functionName":"makeEventHandler","ranges":[{"startOffset":28646,"endOffset":29055,"count":0}],"isBlockCoverage":false},{"functionName":"defineEventHandler","ranges":[{"startOffset":29057,"endOffset":30523,"count":6}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":29217,"endOffset":29353,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":29452,"endOffset":30290,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterMixin","ranges":[{"startOffset":30551,"endOffset":31241,"count":1},{"startOffset":30982,"endOffset":31144,"count":18}],"isBlockCoverage":true},{"functionName":"MixedEventEmitter","ranges":[{"startOffset":30620,"endOffset":30761,"count":58}],"isBlockCoverage":true}]},{"scriptId":"119","url":"node:util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10913,"count":1}],"isBlockCoverage":false},{"functionName":"lazyAbortController","ranges":[{"startOffset":2369,"endOffset":2489,"count":48}],"isBlockCoverage":true},{"functionName":"isBoolean","ranges":[{"startOffset":2600,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"isNull","ranges":[{"startOffset":2746,"endOffset":2793,"count":0}],"isBlockCoverage":false},{"functionName":"isNullOrUndefined","ranges":[{"startOffset":2891,"endOffset":2970,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":3056,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":3174,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbol","ranges":[{"startOffset":3320,"endOffset":3380,"count":0}],"isBlockCoverage":false},{"functionName":"isUndefined","ranges":[{"startOffset":3469,"endOffset":3526,"count":0}],"isBlockCoverage":false},{"functionName":"isObject","ranges":[{"startOffset":3623,"endOffset":3699,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":3782,"endOffset":3885,"count":0}],"isBlockCoverage":false},{"functionName":"isFunction","ranges":[{"startOffset":3973,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"isPrimitive","ranges":[{"startOffset":4172,"endOffset":4291,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":4343,"endOffset":4418,"count":0}],"isBlockCoverage":false},{"functionName":"timestamp","ranges":[{"startOffset":4584,"endOffset":4865,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":5023,"endOffset":5176,"count":0}],"isBlockCoverage":false},{"functionName":"inherits","ranges":[{"startOffset":5909,"endOffset":6547,"count":6},{"startOffset":5994,"endOffset":6051,"count":0},{"startOffset":6110,"endOffset":6177,"count":0},{"startOffset":6220,"endOffset":6350,"count":0}],"isBlockCoverage":true},{"functionName":"_extend","ranges":[{"startOffset":6700,"endOffset":6988,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7036,"endOffset":7461,"count":0}],"isBlockCoverage":false},{"functionName":"callbackify","ranges":[{"startOffset":7714,"endOffset":9211,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorName","ranges":[{"startOffset":9265,"endOffset":9481,"count":0}],"isBlockCoverage":false},{"functionName":"isDeepStrictEqual","ranges":[{"startOffset":9882,"endOffset":10087,"count":0}],"isBlockCoverage":false},{"functionName":"get transferableAbortSignal","ranges":[{"startOffset":10340,"endOffset":10433,"count":16}],"isBlockCoverage":true},{"functionName":"get transferableAbortController","ranges":[{"startOffset":10437,"endOffset":10538,"count":16}],"isBlockCoverage":true},{"functionName":"get aborted","ranges":[{"startOffset":10542,"endOffset":10603,"count":16}],"isBlockCoverage":true}]},{"scriptId":"120","url":"node:internal/webidl","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4636,"count":1}],"isBlockCoverage":false},{"functionName":"evenRound","ranges":[{"startOffset":825,"endOffset":1150,"count":0}],"isBlockCoverage":false},{"functionName":"pow2","ranges":[{"startOffset":1152,"endOffset":1415,"count":0}],"isBlockCoverage":false},{"functionName":"modulo","ranges":[{"startOffset":1527,"endOffset":1641,"count":0}],"isBlockCoverage":false},{"functionName":"convertToInt","ranges":[{"startOffset":1706,"endOffset":4313,"count":0}],"isBlockCoverage":false},{"functionName":"DOMString","ranges":[{"startOffset":4438,"endOffset":4568,"count":17},{"startOffset":4491,"endOffset":4545,"count":0}],"isBlockCoverage":true}]},{"scriptId":"121","url":"node:internal/perf/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":787,"count":1}],"isBlockCoverage":false},{"functionName":"getTimeOrigin","ranges":[{"startOffset":138,"endOffset":316,"count":0}],"isBlockCoverage":false},{"functionName":"now","ranges":[{"startOffset":390,"endOffset":496,"count":0}],"isBlockCoverage":false},{"functionName":"getMilestoneTimestamp","ranges":[{"startOffset":575,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"122","url":"node:internal/bootstrap/web/exposed-window-or-worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2185,"count":1}],"isBlockCoverage":false}]},{"scriptId":"123","url":"node:internal/bootstrap/switches/is_not_main_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1185,"count":1}],"isBlockCoverage":false},{"functionName":"defineStream","ranges":[{"startOffset":119,"endOffset":288,"count":3}],"isBlockCoverage":true},{"functionName":"lazyWorkerStdio","ranges":[{"startOffset":902,"endOffset":1009,"count":23},{"startOffset":951,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"getStdout","ranges":[{"startOffset":1011,"endOffset":1068,"count":8}],"isBlockCoverage":true},{"functionName":"getStderr","ranges":[{"startOffset":1070,"endOffset":1127,"count":9}],"isBlockCoverage":true},{"functionName":"getStdin","ranges":[{"startOffset":1129,"endOffset":1184,"count":6}],"isBlockCoverage":true}]},{"scriptId":"124","url":"node:internal/process/signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":false},{"functionName":"isSignal","ranges":[{"startOffset":238,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"startListeningIfSignal","ranges":[{"startOffset":398,"endOffset":904,"count":0}],"isBlockCoverage":false},{"functionName":"stopListeningIfSignal","ranges":[{"startOffset":906,"endOffset":1101,"count":0}],"isBlockCoverage":false}]},{"scriptId":"125","url":"node:internal/worker/io","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15479,"count":1}],"isBlockCoverage":false},{"functionName":"MessagePort.hasRef","ranges":[{"startOffset":3683,"endOffset":3766,"count":0}],"isBlockCoverage":false},{"functionName":"validateMessagePort","ranges":[{"startOffset":3769,"endOffset":3907,"count":0}],"isBlockCoverage":false},{"functionName":"isMessageEvent","ranges":[{"startOffset":3909,"endOffset":3985,"count":0}],"isBlockCoverage":false},{"functionName":"MessageEvent","ranges":[{"startOffset":4024,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4628,"endOffset":4752,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4862,"endOffset":4988,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5103,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5344,"endOffset":5470,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5579,"endOffset":5704,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5946,"endOffset":6264,"count":0}],"isBlockCoverage":false},{"functionName":"oninit","ranges":[{"startOffset":6403,"endOffset":6546,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortCloseEvent","ranges":[{"startOffset":6848,"endOffset":6887,"count":0}],"isBlockCoverage":false},{"functionName":"onclose","ranges":[{"startOffset":6960,"endOffset":7033,"count":0}],"isBlockCoverage":false},{"functionName":"MessagePort.close","ranges":[{"startOffset":7214,"endOffset":7349,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":7482,"endOffset":8110,"count":0}],"isBlockCoverage":false},{"functionName":"setupPortReferencing","ranges":[{"startOffset":8117,"endOffset":9480,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8478,"endOffset":8573,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8612,"endOffset":8710,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8812,"endOffset":8957,"count":9},{"startOffset":8872,"endOffset":8894,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9068,"endOffset":9215,"count":4},{"startOffset":9128,"endOffset":9149,"count":3}],"isBlockCoverage":true},{"functionName":"newListener","ranges":[{"startOffset":9221,"endOffset":9362,"count":6},{"startOffset":9270,"endOffset":9358,"count":2}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":9366,"endOffset":9478,"count":3},{"startOffset":9418,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"ReadableWorkerStdio","ranges":[{"startOffset":9530,"endOffset":9879,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9708,"endOffset":9873,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":9883,"endOffset":10189,"count":0}],"isBlockCoverage":false},{"functionName":"WritableWorkerStdio","ranges":[{"startOffset":10240,"endOffset":10389,"count":2}],"isBlockCoverage":true},{"functionName":"_writev","ranges":[{"startOffset":10393,"endOffset":10769,"count":0}],"isBlockCoverage":false},{"functionName":"_final","ranges":[{"startOffset":10773,"endOffset":10953,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10957,"endOffset":11204,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11099,"endOffset":11111,"count":0}],"isBlockCoverage":false},{"functionName":"createWorkerStdio","ranges":[{"startOffset":11208,"endOffset":11478,"count":1}],"isBlockCoverage":true},{"functionName":"receiveMessageOnPort","ranges":[{"startOffset":11480,"endOffset":11660,"count":0}],"isBlockCoverage":false},{"functionName":"onMessageEvent","ranges":[{"startOffset":11662,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"isBroadcastChannel","ranges":[{"startOffset":11759,"endOffset":11845,"count":0}],"isBlockCoverage":false},{"functionName":"BroadcastChannel","ranges":[{"startOffset":11932,"endOffset":12446,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12450,"endOffset":12863,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":12899,"endOffset":13028,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13065,"endOffset":13463,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":13531,"endOffset":13941,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":14224,"endOffset":14391,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":14676,"endOffset":14847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"126","url":"node:stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4784,"count":1}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2402,"endOffset":2558,"count":0}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2983,"endOffset":3117,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4105,"endOffset":4137,"count":16}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4235,"endOffset":4276,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4369,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"_uint8ArrayToBuffer","ranges":[{"startOffset":4575,"endOffset":4782,"count":0}],"isBlockCoverage":false}]},{"scriptId":"127","url":"node:internal/streams/operators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10772,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":1019,"endOffset":1599,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":1601,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"asIndexedPairs","ranges":[{"startOffset":4706,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"some","ranges":[{"startOffset":5181,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"every","ranges":[{"startOffset":5331,"endOffset":5659,"count":0}],"isBlockCoverage":false},{"functionName":"find","ranges":[{"startOffset":5661,"endOffset":5803,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":5805,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":6177,"endOffset":6504,"count":0}],"isBlockCoverage":false},{"functionName":"ReduceAwareErrMissingArgs","ranges":[{"startOffset":6720,"endOffset":6834,"count":0}],"isBlockCoverage":false},{"functionName":"reduce","ranges":[{"startOffset":6838,"endOffset":8280,"count":0}],"isBlockCoverage":false},{"functionName":"toArray","ranges":[{"startOffset":8282,"endOffset":8711,"count":0}],"isBlockCoverage":false},{"functionName":"flatMap","ranges":[{"startOffset":8713,"endOffset":8907,"count":0}],"isBlockCoverage":false},{"functionName":"toIntegerOrInfinity","ranges":[{"startOffset":8909,"endOffset":9231,"count":0}],"isBlockCoverage":false},{"functionName":"drop","ranges":[{"startOffset":9233,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"take","ranges":[{"startOffset":9783,"endOffset":10453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"128","url":"node:internal/abort_controller","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12413,"count":1}],"isBlockCoverage":false},{"functionName":"lazyMessageChannel","ranges":[{"startOffset":1574,"endOffset":1707,"count":0}],"isBlockCoverage":false},{"functionName":"lazyMakeTransferable","ranges":[{"startOffset":1709,"endOffset":1867,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":2337,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"validateThisAbortSignal","ranges":[{"startOffset":2598,"endOffset":2723,"count":0}],"isBlockCoverage":false},{"functionName":"setWeakAbortSignalTimeout","ranges":[{"startOffset":3305,"endOffset":3705,"count":0}],"isBlockCoverage":false},{"functionName":"AbortSignal","ranges":[{"startOffset":3749,"endOffset":3809,"count":0}],"isBlockCoverage":false},{"functionName":"get aborted","ranges":[{"startOffset":3846,"endOffset":3929,"count":0}],"isBlockCoverage":false},{"functionName":"get reason","ranges":[{"startOffset":3962,"endOffset":4041,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfAborted","ranges":[{"startOffset":4045,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4165,"endOffset":4294,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":4372,"endOffset":4516,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":4594,"endOffset":4856,"count":0}],"isBlockCoverage":false},{"functionName":"any","ranges":[{"startOffset":4943,"endOffset":6278,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6282,"endOffset":7050,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7408,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7412,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8023,"endOffset":8275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8279,"endOffset":8727,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal","ranges":[{"startOffset":8731,"endOffset":8815,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal.","ranges":[{"startOffset":8860,"endOffset":8868,"count":0}],"isBlockCoverage":false},{"functionName":"createAbortSignal","ranges":[{"startOffset":9346,"endOffset":9759,"count":0}],"isBlockCoverage":false},{"functionName":"abortSignal","ranges":[{"startOffset":9761,"endOffset":10123,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10125,"endOffset":10781,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortSignal","ranges":[{"startOffset":10929,"endOffset":11121,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortController","ranges":[{"startOffset":11193,"endOffset":11282,"count":0}],"isBlockCoverage":false},{"functionName":"aborted","ranges":[{"startOffset":11376,"endOffset":11964,"count":0}],"isBlockCoverage":false}]},{"scriptId":"129","url":"node:internal/streams/end-of-stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8360,"count":1}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":891,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":1000,"endOffset":1008,"count":0}],"isBlockCoverage":false},{"functionName":"eos","ranges":[{"startOffset":1011,"endOffset":6953,"count":0}],"isBlockCoverage":false},{"functionName":"eosWeb","ranges":[{"startOffset":6955,"endOffset":7840,"count":0}],"isBlockCoverage":false},{"functionName":"finished","ranges":[{"startOffset":7842,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"130","url":"node:internal/streams/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8416,"count":1}],"isBlockCoverage":false},{"functionName":"isReadableNodeStream","ranges":[{"startOffset":774,"endOffset":1191,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableNodeStream","ranges":[{"startOffset":1193,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexNodeStream","ranges":[{"startOffset":1415,"endOffset":1614,"count":0}],"isBlockCoverage":false},{"functionName":"isNodeStream","ranges":[{"startOffset":1616,"endOffset":1887,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":1889,"endOffset":2103,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":2105,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":2275,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"isWebStream","ranges":[{"startOffset":2444,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"isIterable","ranges":[{"startOffset":2558,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"isDestroyed","ranges":[{"startOffset":2890,"endOffset":3153,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableEnded","ranges":[{"startOffset":3177,"endOffset":3468,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableFinished","ranges":[{"startOffset":3496,"endOffset":3893,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableEnded","ranges":[{"startOffset":3922,"endOffset":4223,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableFinished","ranges":[{"startOffset":4248,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":4598,"endOffset":4898,"count":0}],"isBlockCoverage":false},{"functionName":"isWritable","ranges":[{"startOffset":4900,"endOffset":5197,"count":0}],"isBlockCoverage":false},{"functionName":"isFinished","ranges":[{"startOffset":5199,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableErrored","ranges":[{"startOffset":5515,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableErrored","ranges":[{"startOffset":5729,"endOffset":5941,"count":0}],"isBlockCoverage":false},{"functionName":"isClosed","ranges":[{"startOffset":5943,"endOffset":6448,"count":0}],"isBlockCoverage":false},{"functionName":"isOutgoingMessage","ranges":[{"startOffset":6450,"endOffset":6702,"count":0}],"isBlockCoverage":false},{"functionName":"isServerResponse","ranges":[{"startOffset":6704,"endOffset":6831,"count":0}],"isBlockCoverage":false},{"functionName":"isServerRequest","ranges":[{"startOffset":6833,"endOffset":7021,"count":0}],"isBlockCoverage":false},{"functionName":"willEmitClose","ranges":[{"startOffset":7023,"endOffset":7361,"count":0}],"isBlockCoverage":false},{"functionName":"isDisturbed","ranges":[{"startOffset":7363,"endOffset":7508,"count":0}],"isBlockCoverage":false},{"functionName":"isErrored","ranges":[{"startOffset":7510,"endOffset":7815,"count":0}],"isBlockCoverage":false}]},{"scriptId":"131","url":"node:internal/streams/compose","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5451,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":543,"endOffset":5449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"132","url":"node:internal/streams/pipeline","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12326,"count":1}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":1058,"endOffset":1487,"count":0}],"isBlockCoverage":false},{"functionName":"popCallback","ranges":[{"startOffset":1489,"endOffset":1817,"count":0}],"isBlockCoverage":false},{"functionName":"makeAsyncIterable","ranges":[{"startOffset":1819,"endOffset":2105,"count":0}],"isBlockCoverage":false},{"functionName":"fromReadable","ranges":[{"startOffset":2107,"endOffset":2281,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToNode","ranges":[{"startOffset":2283,"endOffset":3327,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToWeb","ranges":[{"startOffset":3329,"endOffset":3927,"count":0}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":3929,"endOffset":4022,"count":0}],"isBlockCoverage":false},{"functionName":"pipelineImpl","ranges":[{"startOffset":4024,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"pipe","ranges":[{"startOffset":10478,"endOffset":12279,"count":0}],"isBlockCoverage":false}]},{"scriptId":"133","url":"node:internal/streams/destroy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6826,"count":1}],"isBlockCoverage":false},{"functionName":"checkError","ranges":[{"startOffset":360,"endOffset":671,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":781,"endOffset":1568,"count":0}],"isBlockCoverage":false},{"functionName":"_destroy","ranges":[{"startOffset":1570,"endOffset":2184,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseNT","ranges":[{"startOffset":2186,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":2275,"endOffset":2523,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":2525,"endOffset":2800,"count":0}],"isBlockCoverage":false},{"functionName":"undestroy","ranges":[{"startOffset":2802,"endOffset":3492,"count":0}],"isBlockCoverage":false},{"functionName":"errorOrDestroy","ranges":[{"startOffset":3494,"endOffset":4413,"count":0}],"isBlockCoverage":false},{"functionName":"construct","ranges":[{"startOffset":4415,"endOffset":4821,"count":3},{"startOffset":4512,"endOffset":4820,"count":0}],"isBlockCoverage":true},{"functionName":"constructNT","ranges":[{"startOffset":4823,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"emitConstructNT","ranges":[{"startOffset":5572,"endOffset":5635,"count":0}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":5637,"endOffset":5733,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseLegacy","ranges":[{"startOffset":5735,"endOffset":5795,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseLegacy","ranges":[{"startOffset":5797,"endOffset":5917,"count":0}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":5952,"endOffset":6734,"count":0}],"isBlockCoverage":false}]},{"scriptId":"134","url":"node:internal/streams/duplex","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4938,"count":1}],"isBlockCoverage":false},{"functionName":"Duplex","ranges":[{"startOffset":1996,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3811,"endOffset":4023,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4029,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":4364,"endOffset":4528,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.fromWeb","ranges":[{"startOffset":4547,"endOffset":4665,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.toWeb","ranges":[{"startOffset":4683,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.from","ranges":[{"startOffset":4805,"endOffset":4936,"count":0}],"isBlockCoverage":false}]},{"scriptId":"135","url":"node:internal/streams/readable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43849,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1799,"endOffset":1824,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2617,"endOffset":2625,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3306,"endOffset":3522,"count":19}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3381,"endOffset":3423,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":3429,"endOffset":3514,"count":0}],"isBlockCoverage":false},{"functionName":"ReadableState","ranges":[{"startOffset":5398,"endOffset":8222,"count":1},{"startOffset":5797,"endOffset":5840,"count":0},{"startOffset":6159,"endOffset":6180,"count":0},{"startOffset":6182,"endOffset":6208,"count":0},{"startOffset":6225,"endOffset":6235,"count":0},{"startOffset":6236,"endOffset":6265,"count":0},{"startOffset":6271,"endOffset":6297,"count":0},{"startOffset":6472,"endOffset":6544,"count":0},{"startOffset":6946,"endOffset":6976,"count":0},{"startOffset":6978,"endOffset":7004,"count":0},{"startOffset":7093,"endOffset":7125,"count":0},{"startOffset":7127,"endOffset":7155,"count":0},{"startOffset":7652,"endOffset":7669,"count":0},{"startOffset":7742,"endOffset":7901,"count":0},{"startOffset":8100,"endOffset":8119,"count":0},{"startOffset":8121,"endOffset":8220,"count":0}],"isBlockCoverage":true},{"functionName":"Readable","ranges":[{"startOffset":8225,"endOffset":9113,"count":1},{"startOffset":8293,"endOffset":8322,"count":0},{"startOffset":8593,"endOffset":8937,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9000,"endOffset":9109,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._destroy","ranges":[{"startOffset":9250,"endOffset":9282,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9333,"endOffset":9371,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9415,"endOffset":9671,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.push","ranges":[{"startOffset":9900,"endOffset":9986,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unshift","ranges":[{"startOffset":10082,"endOffset":10167,"count":0}],"isBlockCoverage":false},{"functionName":"readableAddChunk","ranges":[{"startOffset":10170,"endOffset":12572,"count":0}],"isBlockCoverage":false},{"functionName":"addChunk","ranges":[{"startOffset":12574,"endOffset":13339,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.isPaused","ranges":[{"startOffset":13371,"endOffset":13483,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.setEncoding","ranges":[{"startOffset":13547,"endOffset":14108,"count":0}],"isBlockCoverage":false},{"functionName":"computeNewHighWaterMark","ranges":[{"startOffset":14169,"endOffset":14520,"count":0}],"isBlockCoverage":false},{"functionName":"howMuchToRead","ranges":[{"startOffset":14633,"endOffset":15044,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.read","ranges":[{"startOffset":15141,"endOffset":19643,"count":0}],"isBlockCoverage":false},{"functionName":"onEofChunk","ranges":[{"startOffset":19646,"endOffset":20466,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable","ranges":[{"startOffset":20667,"endOffset":20994,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable_","ranges":[{"startOffset":20996,"endOffset":21650,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore","ranges":[{"startOffset":22000,"endOffset":22177,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore_","ranges":[{"startOffset":22179,"endOffset":23971,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._read","ranges":[{"startOffset":24242,"endOffset":24308,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pipe","ranges":[{"startOffset":24337,"endOffset":28782,"count":0}],"isBlockCoverage":false},{"functionName":"pipeOnDrain","ranges":[{"startOffset":28785,"endOffset":29430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unpipe","ranges":[{"startOffset":29461,"endOffset":30162,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.on","ranges":[{"startOffset":30288,"endOffset":31195,"count":1},{"startOffset":30420,"endOffset":30752,"count":0},{"startOffset":30781,"endOffset":31178,"count":0}],"isBlockCoverage":true},{"functionName":"Readable.removeListener","ranges":[{"startOffset":31290,"endOffset":31855,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.removeAllListeners","ranges":[{"startOffset":31958,"endOffset":32552,"count":0}],"isBlockCoverage":false},{"functionName":"updateReadableListening","ranges":[{"startOffset":32555,"endOffset":33065,"count":0}],"isBlockCoverage":false},{"functionName":"nReadingNextTick","ranges":[{"startOffset":33067,"endOffset":33155,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.resume","ranges":[{"startOffset":33309,"endOffset":33634,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":33637,"endOffset":33787,"count":0}],"isBlockCoverage":false},{"functionName":"resume_","ranges":[{"startOffset":33789,"endOffset":34040,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pause","ranges":[{"startOffset":34069,"endOffset":34336,"count":0}],"isBlockCoverage":false},{"functionName":"flow","ranges":[{"startOffset":34339,"endOffset":34486,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":34670,"endOffset":35691,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":35736,"endOffset":35788,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.iterator","ranges":[{"startOffset":35821,"endOffset":35964,"count":0}],"isBlockCoverage":false},{"functionName":"streamToAsyncIterator","ranges":[{"startOffset":35967,"endOffset":36216,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncIterator","ranges":[{"startOffset":36218,"endOffset":37294,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":37513,"endOffset":37902,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":37908,"endOffset":38038,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38120,"endOffset":38184,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38266,"endOffset":38474,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38562,"endOffset":38628,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38709,"endOffset":38791,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38873,"endOffset":38933,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":38944,"endOffset":39053,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39129,"endOffset":39183,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39263,"endOffset":39351,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39429,"endOffset":39514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39583,"endOffset":39667,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39712,"endOffset":39796,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39867,"endOffset":39954,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":39960,"endOffset":40249,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40324,"endOffset":40412,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40553,"endOffset":40598,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40678,"endOffset":40729,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":40735,"endOffset":40784,"count":0}],"isBlockCoverage":false},{"functionName":"fromList","ranges":[{"startOffset":41090,"endOffset":41652,"count":0}],"isBlockCoverage":false},{"functionName":"endReadable","ranges":[{"startOffset":41654,"endOffset":41875,"count":0}],"isBlockCoverage":false},{"functionName":"endReadableNT","ranges":[{"startOffset":41877,"endOffset":42797,"count":0}],"isBlockCoverage":false},{"functionName":"endWritableNT","ranges":[{"startOffset":42799,"endOffset":42959,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.from","ranges":[{"startOffset":42977,"endOffset":43046,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":43111,"endOffset":43275,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.fromWeb","ranges":[{"startOffset":43296,"endOffset":43430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.toWeb","ranges":[{"startOffset":43450,"endOffset":43584,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":43603,"endOffset":43847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"136","url":"node:internal/streams/legacy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2934,"count":1}],"isBlockCoverage":false},{"functionName":"Stream","ranges":[{"startOffset":112,"endOffset":160,"count":3}],"isBlockCoverage":true},{"functionName":"Stream.pipe","ranges":[{"startOffset":274,"endOffset":2076,"count":0}],"isBlockCoverage":false},{"functionName":"prependListener","ranges":[{"startOffset":2079,"endOffset":2886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"137","url":"node:internal/streams/add-abort-signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1704,"count":1}],"isBlockCoverage":false},{"functionName":"validateAbortSignal","ranges":[{"startOffset":557,"endOffset":716,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortSignal","ranges":[{"startOffset":751,"endOffset":1062,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.addAbortSignalNoValidate","ranges":[{"startOffset":1107,"endOffset":1702,"count":0}],"isBlockCoverage":false}]},{"scriptId":"138","url":"node:internal/streams/buffer_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4060,"count":1}],"isBlockCoverage":false},{"functionName":"BufferList","ranges":[{"startOffset":254,"endOffset":338,"count":1}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":342,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":533,"endOffset":691,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":695,"endOffset":922,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":926,"endOffset":994,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":998,"endOffset":1180,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":1184,"endOffset":1467,"count":0}],"isBlockCoverage":false},{"functionName":"consume","ranges":[{"startOffset":1551,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":2009,"endOffset":2049,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":2053,"endOffset":2149,"count":0}],"isBlockCoverage":false},{"functionName":"_getString","ranges":[{"startOffset":2224,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"_getBuffer","ranges":[{"startOffset":2932,"endOffset":3779,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":3860,"endOffset":4056,"count":0}],"isBlockCoverage":false}]},{"scriptId":"139","url":"node:internal/streams/state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1332,"count":1}],"isBlockCoverage":false},{"functionName":"highWaterMarkFrom","ranges":[{"startOffset":287,"endOffset":454,"count":2},{"startOffset":385,"endOffset":408,"count":0},{"startOffset":424,"endOffset":444,"count":0}],"isBlockCoverage":true},{"functionName":"getDefaultHighWaterMark","ranges":[{"startOffset":456,"endOffset":586,"count":3},{"startOffset":523,"endOffset":555,"count":0}],"isBlockCoverage":true},{"functionName":"setDefaultHighWaterMark","ranges":[{"startOffset":588,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"getHighWaterMark","ranges":[{"startOffset":801,"endOffset":1234,"count":2},{"startOffset":948,"endOffset":1160,"count":0}],"isBlockCoverage":true}]},{"scriptId":"140","url":"node:string_decoder","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5213,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeEncoding","ranges":[{"startOffset":2129,"endOffset":2391,"count":0}],"isBlockCoverage":false},{"functionName":"StringDecoder","ranges":[{"startOffset":2705,"endOffset":2904,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3227,"endOffset":3612,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":3889,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":4291,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4586,"endOffset":4799,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4891,"endOffset":4954,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5047,"endOffset":5162,"count":0}],"isBlockCoverage":false}]},{"scriptId":"141","url":"node:internal/streams/from","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2614,"count":1}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":241,"endOffset":2589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"142","url":"node:internal/streams/writable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29040,"count":1}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2389,"endOffset":2406,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3093,"endOffset":3309,"count":20}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3168,"endOffset":3210,"count":2}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3216,"endOffset":3301,"count":0}],"isBlockCoverage":false},{"functionName":"WritableState","ranges":[{"startOffset":5971,"endOffset":9003,"count":2},{"startOffset":6366,"endOffset":6409,"count":0},{"startOffset":6630,"endOffset":6656,"count":0},{"startOffset":6672,"endOffset":6682,"count":0},{"startOffset":6683,"endOffset":6712,"count":0},{"startOffset":6714,"endOffset":6740,"count":0},{"startOffset":7031,"endOffset":7067,"count":0},{"startOffset":7121,"endOffset":7150,"count":0},{"startOffset":7257,"endOffset":7283,"count":0},{"startOffset":7406,"endOffset":7434,"count":0},{"startOffset":7754,"endOffset":7913,"count":0}],"isBlockCoverage":true},{"functionName":"resetBuffer","ranges":[{"startOffset":9005,"endOffset":9127,"count":2}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":9165,"endOffset":9254,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9350,"endOffset":9415,"count":0}],"isBlockCoverage":false},{"functionName":"Writable","ranges":[{"startOffset":9422,"endOffset":10950,"count":2},{"startOffset":10123,"endOffset":10152,"count":0},{"startOffset":10291,"endOffset":10319,"count":0},{"startOffset":10373,"endOffset":10403,"count":0},{"startOffset":10458,"endOffset":10490,"count":0},{"startOffset":10543,"endOffset":10571,"count":0},{"startOffset":10628,"endOffset":10664,"count":0},{"startOffset":10696,"endOffset":10733,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10800,"endOffset":10946,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":11032,"endOffset":11236,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.pipe","ranges":[{"startOffset":11337,"endOffset":11405,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":11408,"endOffset":12809,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.write","ranges":[{"startOffset":12838,"endOffset":12924,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.cork","ranges":[{"startOffset":12953,"endOffset":12999,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.uncork","ranges":[{"startOffset":13030,"endOffset":13201,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultEncoding","ranges":[{"startOffset":13244,"endOffset":13569,"count":0}],"isBlockCoverage":false},{"functionName":"writeOrBuffer","ranges":[{"startOffset":13759,"endOffset":14872,"count":0}],"isBlockCoverage":false},{"functionName":"doWrite","ranges":[{"startOffset":14874,"endOffset":15262,"count":0}],"isBlockCoverage":false},{"functionName":"onwriteError","ranges":[{"startOffset":15264,"endOffset":15649,"count":0}],"isBlockCoverage":false},{"functionName":"onwrite","ranges":[{"startOffset":15651,"endOffset":17310,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteTick","ranges":[{"startOffset":17312,"endOffset":17451,"count":0}],"isBlockCoverage":false},{"functionName":"afterWrite","ranges":[{"startOffset":17453,"endOffset":17869,"count":0}],"isBlockCoverage":false},{"functionName":"errorBuffer","ranges":[{"startOffset":17941,"endOffset":18532,"count":0}],"isBlockCoverage":false},{"functionName":"clearBuffer","ranges":[{"startOffset":18598,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._write","ranges":[{"startOffset":20262,"endOffset":20431,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.end","ranges":[{"startOffset":20495,"endOffset":21953,"count":0}],"isBlockCoverage":false},{"functionName":"needFinish","ranges":[{"startOffset":21956,"endOffset":22419,"count":0}],"isBlockCoverage":false},{"functionName":"callFinal","ranges":[{"startOffset":22421,"endOffset":23393,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":23395,"endOffset":23733,"count":0}],"isBlockCoverage":false},{"functionName":"finishMaybe","ranges":[{"startOffset":23735,"endOffset":24234,"count":0}],"isBlockCoverage":false},{"functionName":"finish","ranges":[{"startOffset":24236,"endOffset":24986,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25071,"endOffset":25172,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25220,"endOffset":25324,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":25330,"endOffset":25576,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25623,"endOffset":26027,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":26033,"endOffset":26167,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26222,"endOffset":26325,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26382,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26540,"endOffset":26622,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26674,"endOffset":26775,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26831,"endOffset":27046,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27106,"endOffset":27190,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27243,"endOffset":27323,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27376,"endOffset":27453,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27522,"endOffset":27606,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27688,"endOffset":27927,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.destroy","ranges":[{"startOffset":28005,"endOffset":28318,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._destroy","ranges":[{"startOffset":28406,"endOffset":28438,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.","ranges":[{"startOffset":28489,"endOffset":28527,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":28592,"endOffset":28756,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.fromWeb","ranges":[{"startOffset":28777,"endOffset":28911,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.toWeb","ranges":[{"startOffset":28931,"endOffset":29038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"143","url":"node:stream/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":917,"count":1}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":318,"endOffset":869,"count":0}],"isBlockCoverage":false}]},{"scriptId":"144","url":"node:internal/streams/transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7176,"count":1}],"isBlockCoverage":false},{"functionName":"Transform","ranges":[{"startOffset":3920,"endOffset":5747,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5749,"endOffset":6193,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":6195,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._transform","ranges":[{"startOffset":6348,"endOffset":6443,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._write","ranges":[{"startOffset":6475,"endOffset":7018,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._read","ranges":[{"startOffset":7049,"endOffset":7174,"count":0}],"isBlockCoverage":false}]},{"scriptId":"145","url":"node:internal/streams/passthrough","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1762,"count":1}],"isBlockCoverage":false},{"functionName":"PassThrough","ranges":[{"startOffset":1529,"endOffset":1671,"count":0}],"isBlockCoverage":false},{"functionName":"PassThrough._transform","ranges":[{"startOffset":1708,"endOffset":1760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"146","url":"node:internal/bootstrap/switches/does_not_own_process_state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1278,"count":1}],"isBlockCoverage":false},{"functionName":"wrappedUmask","ranges":[{"startOffset":1047,"endOffset":1277,"count":0}],"isBlockCoverage":false}]},{"scriptId":"147","url":"node:internal/process/worker_thread_only","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":426,"count":1}],"isBlockCoverage":false},{"functionName":"unavailable","ranges":[{"startOffset":194,"endOffset":387,"count":8}],"isBlockCoverage":true},{"functionName":"unavailableInWorker","ranges":[{"startOffset":225,"endOffset":315,"count":0}],"isBlockCoverage":false}]},{"scriptId":"148","url":"node:internal/main/worker_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7311,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1096,"endOffset":1121,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2200,"endOffset":5806,"count":3},{"startOffset":2251,"endOffset":5390,"count":1},{"startOffset":2537,"endOffset":2599,"count":0},{"startOffset":3460,"endOffset":3541,"count":0},{"startOffset":3597,"endOffset":3671,"count":0},{"startOffset":3737,"endOffset":3762,"count":0},{"startOffset":3961,"endOffset":4206,"count":0},{"startOffset":4214,"endOffset":4743,"count":0},{"startOffset":4751,"endOffset":4995,"count":0},{"startOffset":5390,"endOffset":5804,"count":2},{"startOffset":5432,"endOffset":5591,"count":0}],"isBlockCoverage":true},{"functionName":"process.cwd","ranges":[{"startOffset":3133,"endOffset":3384,"count":10},{"startOffset":3260,"endOffset":3277,"count":9},{"startOffset":3277,"endOffset":3383,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4900,"endOffset":4970,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5508,"endOffset":5585,"count":0}],"isBlockCoverage":false},{"functionName":"workerOnGlobalUncaughtException","ranges":[{"startOffset":5810,"endOffset":7002,"count":0}],"isBlockCoverage":false}]},{"scriptId":"149","url":"node:internal/process/pre_execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":22973,"count":1}],"isBlockCoverage":false},{"functionName":"prepareMainThreadExecution","ranges":[{"startOffset":1091,"endOffset":1268,"count":0}],"isBlockCoverage":false},{"functionName":"prepareWorkerThreadExecution","ranges":[{"startOffset":1270,"endOffset":1469,"count":1}],"isBlockCoverage":true},{"functionName":"prepareExecution","ranges":[{"startOffset":1471,"endOffset":3628,"count":1},{"startOffset":2237,"endOffset":3408,"count":0},{"startOffset":3597,"endOffset":3626,"count":0}],"isBlockCoverage":true},{"functionName":"setupSymbolDisposePolyfill","ranges":[{"startOffset":3630,"endOffset":4365,"count":1}],"isBlockCoverage":true},{"functionName":"setupUserModules","ranges":[{"startOffset":4367,"endOffset":4795,"count":1},{"startOffset":4676,"endOffset":4693,"count":0}],"isBlockCoverage":true},{"functionName":"refreshRuntimeOptions","ranges":[{"startOffset":4797,"endOffset":4853,"count":1}],"isBlockCoverage":true},{"functionName":"patchProcessObject","ranges":[{"startOffset":4855,"endOffset":6952,"count":1},{"startOffset":5388,"endOffset":5406,"count":0},{"startOffset":5407,"endOffset":5464,"count":0},{"startOffset":5466,"endOffset":5677,"count":0}],"isBlockCoverage":true},{"functionName":"addReadOnlyProcessAlias","ranges":[{"startOffset":6954,"endOffset":7235,"count":13},{"startOffset":7075,"endOffset":7233,"count":1}],"isBlockCoverage":true},{"functionName":"setupWarningHandler","ranges":[{"startOffset":7237,"endOffset":7757,"count":1},{"startOffset":7612,"endOffset":7751,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7641,"endOffset":7743,"count":0}],"isBlockCoverage":false},{"functionName":"setupFetch","ranges":[{"startOffset":7793,"endOffset":8933,"count":1},{"startOffset":7913,"endOffset":7930,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUndici","ranges":[{"startOffset":7948,"endOffset":8093,"count":1},{"startOffset":7988,"endOffset":8016,"count":0}],"isBlockCoverage":true},{"functionName":"fetch","ranges":[{"startOffset":8097,"endOffset":8192,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInterface","ranges":[{"startOffset":8244,"endOffset":8485,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8345,"endOffset":8395,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8403,"endOffset":8473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8818,"endOffset":8929,"count":0}],"isBlockCoverage":false},{"functionName":"setupWebCrypto","ranges":[{"startOffset":9037,"endOffset":9989,"count":1},{"startOffset":9172,"endOffset":9189,"count":0},{"startOffset":9678,"endOffset":9987,"count":0}],"isBlockCoverage":true},{"functionName":"cryptoThisCheck","ranges":[{"startOffset":9363,"endOffset":9539,"count":0}],"isBlockCoverage":false},{"functionName":"get crypto","ranges":[{"startOffset":9840,"endOffset":9939,"count":0}],"isBlockCoverage":false},{"functionName":"setupCodeCoverage","ranges":[{"startOffset":9991,"endOffset":10512,"count":1}],"isBlockCoverage":true},{"functionName":"setupCustomEvent","ranges":[{"startOffset":10618,"endOffset":10895,"count":1},{"startOffset":10757,"endOffset":10774,"count":0}],"isBlockCoverage":true},{"functionName":"setupStacktracePrinterOnSigint","ranges":[{"startOffset":10897,"endOffset":11122,"count":0}],"isBlockCoverage":false},{"functionName":"initializeReport","ranges":[{"startOffset":11124,"endOffset":11373,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":11269,"endOffset":11364,"count":6}],"isBlockCoverage":true},{"functionName":"setupDebugEnv","ranges":[{"startOffset":11375,"endOffset":11606,"count":1},{"startOffset":11526,"endOffset":11604,"count":0}],"isBlockCoverage":true},{"functionName":"initializeReportSignalHandlers","ranges":[{"startOffset":11668,"endOffset":11856,"count":0}],"isBlockCoverage":false},{"functionName":"initializeHeapSnapshotSignalHandlers","ranges":[{"startOffset":11858,"endOffset":12592,"count":0}],"isBlockCoverage":false},{"functionName":"setupTraceCategoryState","ranges":[{"startOffset":12594,"endOffset":12853,"count":1}],"isBlockCoverage":true},{"functionName":"setupInspectorHooks","ranges":[{"startOffset":12855,"endOffset":13437,"count":1}],"isBlockCoverage":true},{"functionName":"initializeDeprecations","ranges":[{"startOffset":13632,"endOffset":15584,"count":1},{"startOffset":14344,"endOffset":14646,"count":16},{"startOffset":14389,"endOffset":14621,"count":0},{"startOffset":14963,"endOffset":15160,"count":0},{"startOffset":15188,"endOffset":15582,"count":0}],"isBlockCoverage":true},{"functionName":"setupChildProcessIpcChannel","ranges":[{"startOffset":15586,"endOffset":16151,"count":0}],"isBlockCoverage":false},{"functionName":"initializeClusterIPC","ranges":[{"startOffset":16153,"endOffset":16423,"count":0}],"isBlockCoverage":false},{"functionName":"initializePermission","ranges":[{"startOffset":16425,"endOffset":18308,"count":1},{"startOffset":16567,"endOffset":17928,"count":0}],"isBlockCoverage":true},{"functionName":"binding","ranges":[{"startOffset":16591,"endOffset":16678,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18140,"endOffset":18300,"count":4},{"startOffset":18218,"endOffset":18294,"count":0}],"isBlockCoverage":true},{"functionName":"readPolicyFromDisk","ranges":[{"startOffset":18310,"endOffset":20129,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCJSLoader","ranges":[{"startOffset":20131,"endOffset":20252,"count":1}],"isBlockCoverage":true},{"functionName":"initializeESMLoader","ranges":[{"startOffset":20254,"endOffset":20829,"count":1},{"startOffset":20582,"endOffset":20827,"count":0}],"isBlockCoverage":true},{"functionName":"initializeSourceMapsHandlers","ranges":[{"startOffset":20831,"endOffset":21029,"count":1}],"isBlockCoverage":true},{"functionName":"initializeFrozenIntrinsics","ranges":[{"startOffset":21031,"endOffset":21288,"count":1},{"startOffset":21116,"endOffset":21286,"count":0}],"isBlockCoverage":true},{"functionName":"loadPreloadModules","ranges":[{"startOffset":21290,"endOffset":21638,"count":1},{"startOffset":21484,"endOffset":21636,"count":0}],"isBlockCoverage":true},{"functionName":"markBootstrapComplete","ranges":[{"startOffset":21640,"endOffset":21734,"count":1}],"isBlockCoverage":true},{"functionName":"getHeapSnapshotFilename","ranges":[{"startOffset":21889,"endOffset":22790,"count":0}],"isBlockCoverage":false}]},{"scriptId":"150","url":"node:internal/v8/startup_snapshot","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3382,"count":1}],"isBlockCoverage":false},{"functionName":"isBuildingSnapshot","ranges":[{"startOffset":433,"endOffset":504,"count":4}],"isBlockCoverage":true},{"functionName":"throwIfNotBuildingSnapshot","ranges":[{"startOffset":506,"endOffset":625,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfBuildingSnapshot","ranges":[{"startOffset":627,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"runDeserializeCallbacks","ranges":[{"startOffset":831,"endOffset":1004,"count":0}],"isBlockCoverage":false},{"functionName":"addDeserializeCallback","ranges":[{"startOffset":1006,"endOffset":1541,"count":0}],"isBlockCoverage":false},{"functionName":"runSerializeCallbacks","ranges":[{"startOffset":1574,"endOffset":1741,"count":0}],"isBlockCoverage":false},{"functionName":"addSerializeCallback","ranges":[{"startOffset":1743,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCallbacks","ranges":[{"startOffset":1913,"endOffset":2122,"count":0}],"isBlockCoverage":false},{"functionName":"setDeserializeMainFunction","ranges":[{"startOffset":2158,"endOffset":3105,"count":0}],"isBlockCoverage":false}]},{"scriptId":"151","url":"node:internal/inspector_async_hook","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1973,"count":1}],"isBlockCoverage":false},{"functionName":"lazyHookCreation","ranges":[{"startOffset":75,"endOffset":1257,"count":0}],"isBlockCoverage":false},{"functionName":"enable","ranges":[{"startOffset":1259,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":1842,"endOffset":1928,"count":0}],"isBlockCoverage":false}]},{"scriptId":"152","url":"node:internal/source_map/prepare_stack_trace","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7404,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":334,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"prepareStackTrace","ranges":[{"startOffset":895,"endOffset":3880,"count":4},{"startOffset":1126,"endOffset":1242,"count":0},{"startOffset":1369,"endOffset":1391,"count":0},{"startOffset":1441,"endOffset":1515,"count":0},{"startOffset":1603,"endOffset":1632,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1743,"endOffset":3819,"count":22},{"startOffset":1779,"endOffset":1792,"count":18},{"startOffset":1793,"endOffset":1797,"count":4},{"startOffset":2030,"endOffset":2077,"count":0},{"startOffset":2121,"endOffset":2144,"count":4},{"startOffset":2145,"endOffset":2178,"count":18},{"startOffset":2251,"endOffset":3746,"count":11},{"startOffset":2916,"endOffset":2940,"count":7},{"startOffset":2941,"endOffset":2957,"count":7},{"startOffset":2958,"endOffset":2962,"count":4},{"startOffset":3018,"endOffset":3034,"count":7},{"startOffset":3179,"endOffset":3203,"count":0},{"startOffset":3205,"endOffset":3228,"count":0},{"startOffset":3466,"endOffset":3482,"count":0},{"startOffset":3599,"endOffset":3603,"count":0},{"startOffset":3721,"endOffset":3725,"count":0},{"startOffset":3753,"endOffset":3790,"count":0},{"startOffset":3790,"endOffset":3818,"count":11}],"isBlockCoverage":true},{"functionName":"getOriginalSymbolName","ranges":[{"startOffset":4031,"endOffset":4774,"count":11},{"startOffset":4347,"endOffset":4374,"count":0},{"startOffset":4619,"endOffset":4772,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorSource","ranges":[{"startOffset":4942,"endOffset":6024,"count":0}],"isBlockCoverage":false},{"functionName":"getOriginalSource","ranges":[{"startOffset":6026,"endOffset":6923,"count":0}],"isBlockCoverage":false},{"functionName":"getSourceMapErrorSource","ranges":[{"startOffset":6925,"endOffset":7305,"count":0}],"isBlockCoverage":false}]},{"scriptId":"153","url":"node:fs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":85023,"count":1}],"isBlockCoverage":false},{"functionName":"showTruncateDeprecation","ranges":[{"startOffset":4028,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"maybeCallback","ranges":[{"startOffset":4317,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"makeCallback","ranges":[{"startOffset":4594,"endOffset":4706,"count":0}],"isBlockCoverage":false},{"functionName":"makeStatsCallback","ranges":[{"startOffset":4887,"endOffset":5054,"count":0}],"isBlockCoverage":false},{"functionName":"isFileType","ranges":[{"startOffset":5079,"endOffset":5339,"count":10141},{"startOffset":5278,"endOffset":5298,"count":874}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":5555,"endOffset":5913,"count":0}],"isBlockCoverage":false},{"functionName":"accessSync","ranges":[{"startOffset":6101,"endOffset":6165,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6327,"endOffset":6565,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6652,"endOffset":6784,"count":0}],"isBlockCoverage":false},{"functionName":"existsSync","ranges":[{"startOffset":7332,"endOffset":7391,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterOpen","ranges":[{"startOffset":7393,"endOffset":7673,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterStat","ranges":[{"startOffset":7675,"endOffset":8553,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":8555,"endOffset":8728,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":9061,"endOffset":10013,"count":0}],"isBlockCoverage":false},{"functionName":"tryStatSync","ranges":[{"startOffset":10015,"endOffset":10245,"count":1},{"startOffset":10158,"endOffset":10170,"count":0},{"startOffset":10172,"endOffset":10227,"count":0}],"isBlockCoverage":true},{"functionName":"tryCreateBuffer","ranges":[{"startOffset":10247,"endOffset":10558,"count":1},{"startOffset":10365,"endOffset":10417,"count":0},{"startOffset":10504,"endOffset":10516,"count":0},{"startOffset":10518,"endOffset":10535,"count":0}],"isBlockCoverage":true},{"functionName":"tryReadSync","ranges":[{"startOffset":10560,"endOffset":10815,"count":1},{"startOffset":10758,"endOffset":10770,"count":0},{"startOffset":10772,"endOffset":10789,"count":0}],"isBlockCoverage":true},{"functionName":"readFileSync","ranges":[{"startOffset":11039,"endOffset":12564,"count":572},{"startOffset":11161,"endOffset":11192,"count":2},{"startOffset":11194,"endOffset":11251,"count":570},{"startOffset":11251,"endOffset":11335,"count":2},{"startOffset":11335,"endOffset":11341,"count":0},{"startOffset":11342,"endOffset":11382,"count":2},{"startOffset":11470,"endOffset":11480,"count":1},{"startOffset":11481,"endOffset":11484,"count":0},{"startOffset":11614,"endOffset":11637,"count":0},{"startOffset":11637,"endOffset":11889,"count":1},{"startOffset":11889,"endOffset":12258,"count":0},{"startOffset":12258,"endOffset":12318,"count":1},{"startOffset":12318,"endOffset":12414,"count":0},{"startOffset":12414,"endOffset":12476,"count":1},{"startOffset":12436,"endOffset":12476,"count":0},{"startOffset":12476,"endOffset":12502,"count":1},{"startOffset":12502,"endOffset":12545,"count":0},{"startOffset":12545,"endOffset":12563,"count":1}],"isBlockCoverage":true},{"functionName":"defaultCloseCallback","ranges":[{"startOffset":12566,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12760,"endOffset":13013,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":13109,"endOffset":13162,"count":1}],"isBlockCoverage":true},{"functionName":"open","ranges":[{"startOffset":13405,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"openSync","ranges":[{"startOffset":14154,"endOffset":14235,"count":2}],"isBlockCoverage":true},{"functionName":"openAsBlob","ranges":[{"startOffset":14364,"endOffset":14846,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":15210,"endOffset":17170,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":17624,"endOffset":18761,"count":1},{"startOffset":17846,"endOffset":18102,"count":0},{"startOffset":18132,"endOffset":18153,"count":0},{"startOffset":18244,"endOffset":18263,"count":0},{"startOffset":18296,"endOffset":18426,"count":0}],"isBlockCoverage":true},{"functionName":"readv","ranges":[{"startOffset":19106,"endOffset":19523,"count":0}],"isBlockCoverage":false},{"functionName":"readvSync","ranges":[{"startOffset":19925,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20641,"endOffset":22188,"count":0}],"isBlockCoverage":false},{"functionName":"writeSync","ranges":[{"startOffset":22645,"endOffset":23778,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":24105,"endOffset":24627,"count":0}],"isBlockCoverage":false},{"functionName":"writevSync","ranges":[{"startOffset":24995,"endOffset":25354,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":25595,"endOffset":25976,"count":0}],"isBlockCoverage":false},{"functionName":"renameSync","ranges":[{"startOffset":26175,"endOffset":26522,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":26680,"endOffset":27341,"count":0}],"isBlockCoverage":false},{"functionName":"truncateSync","ranges":[{"startOffset":27471,"endOffset":27874,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":28026,"endOffset":28363,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncateSync","ranges":[{"startOffset":28487,"endOffset":28704,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadCp","ranges":[{"startOffset":28706,"endOffset":28912,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadRimraf","ranges":[{"startOffset":28914,"endOffset":29033,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":29291,"endOffset":30153,"count":0}],"isBlockCoverage":false},{"functionName":"rmdirSync","ranges":[{"startOffset":30368,"endOffset":30888,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":31226,"endOffset":31604,"count":0}],"isBlockCoverage":false},{"functionName":"rmSync","ranges":[{"startOffset":31899,"endOffset":32109,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":32340,"endOffset":32511,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasyncSync","ranges":[{"startOffset":32714,"endOffset":32861,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":33048,"endOffset":33211,"count":0}],"isBlockCoverage":false},{"functionName":"fsyncSync","ranges":[{"startOffset":33370,"endOffset":33509,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":33753,"endOffset":34468,"count":0}],"isBlockCoverage":false},{"functionName":"mkdirSync","ranges":[{"startOffset":34678,"endOffset":35384,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSyncRecursive","ranges":[{"startOffset":35717,"endOffset":37463,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":37763,"endOffset":38541,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSync","ranges":[{"startOffset":38805,"endOffset":39408,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":39649,"endOffset":39995,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":40261,"endOffset":40646,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":40876,"endOffset":41259,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":41261,"endOffset":41754,"count":0}],"isBlockCoverage":false},{"functionName":"hasNoEntryError","ranges":[{"startOffset":41756,"endOffset":41971,"count":0}],"isBlockCoverage":false},{"functionName":"fstatSync","ranges":[{"startOffset":42147,"endOffset":42386,"count":0}],"isBlockCoverage":false},{"functionName":"lstatSync","ranges":[{"startOffset":42634,"endOffset":43058,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":43273,"endOffset":43346,"count":0}],"isBlockCoverage":false},{"functionName":"statfsSync","ranges":[{"startOffset":43348,"endOffset":43425,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":43703,"endOffset":44047,"count":0}],"isBlockCoverage":false},{"functionName":"readlinkSync","ranges":[{"startOffset":44261,"endOffset":44588,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":44830,"endOffset":46483,"count":0}],"isBlockCoverage":false},{"functionName":"symlinkSync","ranges":[{"startOffset":46698,"endOffset":47359,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":47586,"endOffset":47987,"count":0}],"isBlockCoverage":false},{"functionName":"linkSync","ranges":[{"startOffset":48186,"endOffset":48635,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":48796,"endOffset":49023,"count":0}],"isBlockCoverage":false},{"functionName":"unlinkSync","ranges":[{"startOffset":49141,"endOffset":49200,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":49363,"endOffset":49602,"count":0}],"isBlockCoverage":false},{"functionName":"fchmodSync","ranges":[{"startOffset":49737,"endOffset":49928,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":50109,"endOffset":50602,"count":0}],"isBlockCoverage":false},{"functionName":"lchmodSync","ranges":[{"startOffset":50755,"endOffset":51077,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":51273,"endOffset":51549,"count":0}],"isBlockCoverage":false},{"functionName":"chmodSync","ranges":[{"startOffset":51702,"endOffset":51937,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":52133,"endOffset":52474,"count":0}],"isBlockCoverage":false},{"functionName":"lchownSync","ranges":[{"startOffset":52642,"endOffset":52942,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":53112,"endOffset":53415,"count":0}],"isBlockCoverage":false},{"functionName":"fchownSync","ranges":[{"startOffset":53557,"endOffset":53813,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":54029,"endOffset":54369,"count":0}],"isBlockCoverage":false},{"functionName":"chownSync","ranges":[{"startOffset":54542,"endOffset":54840,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":55109,"endOffset":55450,"count":0}],"isBlockCoverage":false},{"functionName":"utimesSync","ranges":[{"startOffset":55691,"endOffset":55973,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":56254,"endOffset":56559,"count":0}],"isBlockCoverage":false},{"functionName":"futimesSync","ranges":[{"startOffset":56815,"endOffset":57072,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":57356,"endOffset":57702,"count":0}],"isBlockCoverage":false},{"functionName":"lutimesSync","ranges":[{"startOffset":57962,"endOffset":58266,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":58268,"endOffset":59231,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":59588,"endOffset":60454,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":60741,"endOffset":61443,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":61748,"endOffset":62188,"count":0}],"isBlockCoverage":false},{"functionName":"appendFileSync","ranges":[{"startOffset":62450,"endOffset":62829,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":63197,"endOffset":64950,"count":0}],"isBlockCoverage":false},{"functionName":"watchFile","ranges":[{"startOffset":65300,"endOffset":66324,"count":0}],"isBlockCoverage":false},{"functionName":"unwatchFile","ranges":[{"startOffset":66474,"endOffset":67213,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67429,"endOffset":67525,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67550,"endOffset":67760,"count":645},{"startOffset":67617,"endOffset":67740,"count":1290},{"startOffset":67695,"endOffset":67734,"count":645},{"startOffset":67740,"endOffset":67759,"count":0}],"isBlockCoverage":true},{"functionName":"encodeRealpathResult","ranges":[{"startOffset":67765,"endOffset":68052,"count":645},{"startOffset":67850,"endOffset":67880,"count":0},{"startOffset":67900,"endOffset":68051,"count":0}],"isBlockCoverage":true},{"functionName":"nextPart","ranges":[{"startOffset":68175,"endOffset":68434,"count":0}],"isBlockCoverage":false},{"functionName":"nextPart","ranges":[{"startOffset":68458,"endOffset":68533,"count":5507}],"isBlockCoverage":true},{"functionName":"realpathSync","ranges":[{"startOffset":68707,"endOffset":72603,"count":778},{"startOffset":68831,"endOffset":68849,"count":0},{"startOffset":69010,"endOffset":69045,"count":133},{"startOffset":69045,"endOffset":69607,"count":645},{"startOffset":69607,"endOffset":69779,"count":0},{"startOffset":69779,"endOffset":69916,"count":645},{"startOffset":69916,"endOffset":72530,"count":5507},{"startOffset":70028,"endOffset":70159,"count":645},{"startOffset":70159,"endOffset":70317,"count":4862},{"startOffset":70434,"endOffset":70571,"count":4633},{"startOffset":70525,"endOffset":70549,"count":0},{"startOffset":70571,"endOffset":70637,"count":874},{"startOffset":70674,"endOffset":70723,"count":0},{"startOffset":70723,"endOffset":72027,"count":874},{"startOffset":71163,"endOffset":71947,"count":0},{"startOffset":71991,"endOffset":72021,"count":0},{"startOffset":72027,"endOffset":72342,"count":0},{"startOffset":72344,"endOffset":72526,"count":0},{"startOffset":72530,"endOffset":72544,"count":645}],"isBlockCoverage":true},{"functionName":"realpathSync.native","ranges":[{"startOffset":72792,"endOffset":73056,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":73363,"endOffset":76894,"count":0}],"isBlockCoverage":false},{"functionName":"realpath.native","ranges":[{"startOffset":77221,"endOffset":77516,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":77761,"endOffset":78271,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtempSync","ranges":[{"startOffset":78452,"endOffset":78944,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":79208,"endOffset":79669,"count":0}],"isBlockCoverage":false},{"functionName":"copyFileSync","ranges":[{"startOffset":79901,"endOffset":79979,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":80272,"endOffset":80677,"count":0}],"isBlockCoverage":false},{"functionName":"cpSync","ranges":[{"startOffset":80938,"endOffset":81202,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadStreams","ranges":[{"startOffset":81204,"endOffset":81395,"count":40},{"startOffset":81252,"endOffset":81393,"count":1}],"isBlockCoverage":true},{"functionName":"createReadStream","ranges":[{"startOffset":81824,"endOffset":81929,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":82264,"endOffset":82371,"count":0}],"isBlockCoverage":false},{"functionName":"get ReadStream","ranges":[{"startOffset":83615,"endOffset":83683,"count":10}],"isBlockCoverage":true},{"functionName":"set ReadStream","ranges":[{"startOffset":83688,"endOffset":83735,"count":0}],"isBlockCoverage":false},{"functionName":"get WriteStream","ranges":[{"startOffset":83740,"endOffset":83810,"count":10}],"isBlockCoverage":true},{"functionName":"set WriteStream","ranges":[{"startOffset":83815,"endOffset":83864,"count":0}],"isBlockCoverage":false},{"functionName":"get FileReadStream","ranges":[{"startOffset":84002,"endOffset":84078,"count":10}],"isBlockCoverage":true},{"functionName":"set FileReadStream","ranges":[{"startOffset":84083,"endOffset":84138,"count":0}],"isBlockCoverage":false},{"functionName":"get FileWriteStream","ranges":[{"startOffset":84143,"endOffset":84221,"count":10}],"isBlockCoverage":true},{"functionName":"set FileWriteStream","ranges":[{"startOffset":84226,"endOffset":84283,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":84916,"endOffset":85012,"count":10}],"isBlockCoverage":true}]},{"scriptId":"154","url":"node:internal/blob","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12628,"count":1}],"isBlockCoverage":false},{"functionName":"lazyReadableStream","ranges":[{"startOffset":1851,"endOffset":2063,"count":0}],"isBlockCoverage":false},{"functionName":"isBlob","ranges":[{"startOffset":2113,"endOffset":2182,"count":0}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":2184,"endOffset":2863,"count":0}],"isBlockCoverage":false},{"functionName":"Blob","ranges":[{"startOffset":3115,"endOffset":4227,"count":1},{"startOffset":3274,"endOffset":3353,"count":0},{"startOffset":3552,"endOffset":3575,"count":0},{"startOffset":3583,"endOffset":3643,"count":0},{"startOffset":3861,"endOffset":3904,"count":0},{"startOffset":4087,"endOffset":4097,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3705,"endOffset":3824,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4231,"endOffset":4501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4505,"endOffset":4957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4961,"endOffset":5087,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":5138,"endOffset":5243,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":5294,"endOffset":5401,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":5529,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBuffer","ranges":[{"startOffset":6364,"endOffset":7373,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":7421,"endOffset":7586,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":7633,"endOffset":10704,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob","ranges":[{"startOffset":10708,"endOffset":10803,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob.","ranges":[{"startOffset":10841,"endOffset":10849,"count":0}],"isBlockCoverage":false},{"functionName":"createBlob","ranges":[{"startOffset":10852,"endOffset":11055,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObjectURL","ranges":[{"startOffset":11408,"endOffset":12019,"count":0}],"isBlockCoverage":false},{"functionName":"createBlobFromFilePath","ranges":[{"startOffset":12142,"endOffset":12501,"count":0}],"isBlockCoverage":false}]},{"scriptId":"155","url":"node:internal/encoding","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17340,"count":1}],"isBlockCoverage":false},{"functionName":"validateEncoder","ranges":[{"startOffset":1250,"endOffset":1375,"count":0}],"isBlockCoverage":false},{"functionName":"validateDecoder","ranges":[{"startOffset":1377,"endOffset":1502,"count":58},{"startOffset":1458,"endOffset":1500,"count":0}],"isBlockCoverage":true},{"functionName":"trimAsciiWhitespace","ranges":[{"startOffset":8799,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingFromLabel","ranges":[{"startOffset":9299,"endOffset":9478,"count":4},{"startOffset":9410,"endOffset":9477,"count":0}],"isBlockCoverage":true},{"functionName":"TextEncoder","ranges":[{"startOffset":9502,"endOffset":9548,"count":3}],"isBlockCoverage":true},{"functionName":"get encoding","ranges":[{"startOffset":9552,"endOffset":9619,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":9623,"endOffset":9715,"count":0}],"isBlockCoverage":false},{"functionName":"encodeInto","ranges":[{"startOffset":9719,"endOffset":10125,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10129,"endOffset":10526,"count":0}],"isBlockCoverage":false},{"functionName":"makeTextDecoderICU","ranges":[{"startOffset":10898,"endOffset":12864,"count":1}],"isBlockCoverage":true},{"functionName":"TextDecoder","ranges":[{"startOffset":11036,"endOffset":11973,"count":4},{"startOffset":11346,"endOffset":11393,"count":0},{"startOffset":11477,"endOffset":11500,"count":2},{"startOffset":11501,"endOffset":11504,"count":2},{"startOffset":11541,"endOffset":11569,"count":2},{"startOffset":11570,"endOffset":11573,"count":2},{"startOffset":11924,"endOffset":11967,"count":0}],"isBlockCoverage":true},{"functionName":"#prepareConverter","ranges":[{"startOffset":11979,"endOffset":12244,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":12250,"endOffset":12835,"count":58},{"startOffset":12485,"endOffset":12834,"count":0}],"isBlockCoverage":true},{"functionName":"makeTextDecoderJS","ranges":[{"startOffset":12866,"endOffset":15701,"count":0}],"isBlockCoverage":false},{"functionName":"get encoding","ranges":[{"startOffset":15798,"endOffset":15873,"count":0}],"isBlockCoverage":false},{"functionName":"get fatal","ranges":[{"startOffset":15878,"endOffset":15999,"count":0}],"isBlockCoverage":false},{"functionName":"get ignoreBOM","ranges":[{"startOffset":16004,"endOffset":16153,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectGetOwnPropertyDescriptors","ranges":[{"startOffset":16158,"endOffset":16741,"count":0}],"isBlockCoverage":false}]},{"scriptId":"156","url":"node:internal/webstreams/queuingstrategies","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3851,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":931,"endOffset":958,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1038,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"getNonWritablePropertyDescriptor","ranges":[{"startOffset":1114,"endOffset":1200,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1238,"endOffset":2284,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2544,"endOffset":3561,"count":0}],"isBlockCoverage":false}]},{"scriptId":"157","url":"node:internal/webstreams/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7549,"count":1}],"isBlockCoverage":false},{"functionName":"extractHighWaterMark","ranges":[{"startOffset":1074,"endOffset":1367,"count":0}],"isBlockCoverage":false},{"functionName":"extractSizeAlgorithm","ranges":[{"startOffset":1369,"endOffset":1508,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":1510,"endOffset":1742,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetBuffer","ranges":[{"startOffset":1926,"endOffset":2034,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteLength","ranges":[{"startOffset":2036,"endOffset":2152,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteOffset","ranges":[{"startOffset":2154,"endOffset":2270,"count":0}],"isBlockCoverage":false},{"functionName":"cloneAsUint8Array","ranges":[{"startOffset":2272,"endOffset":2577,"count":0}],"isBlockCoverage":false},{"functionName":"isBrandCheck","ranges":[{"startOffset":2579,"endOffset":2743,"count":12}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2619,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"transferArrayBuffer","ranges":[{"startOffset":2745,"endOffset":2968,"count":0}],"isBlockCoverage":false},{"functionName":"isViewedArrayBufferDetached","ranges":[{"startOffset":2970,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"dequeueValue","ranges":[{"startOffset":3140,"endOffset":3525,"count":0}],"isBlockCoverage":false},{"functionName":"resetQueue","ranges":[{"startOffset":3527,"endOffset":3745,"count":0}],"isBlockCoverage":false},{"functionName":"peekQueueValue","ranges":[{"startOffset":3747,"endOffset":3982,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueValueWithSize","ranges":[{"startOffset":3984,"endOffset":4449,"count":0}],"isBlockCoverage":false},{"functionName":"ensureIsPromise","ranges":[{"startOffset":4451,"endOffset":4690,"count":0}],"isBlockCoverage":false},{"functionName":"isPromisePending","ranges":[{"startOffset":4692,"endOffset":4855,"count":0}],"isBlockCoverage":false},{"functionName":"setPromiseHandled","ranges":[{"startOffset":4857,"endOffset":5136,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpFlush","ranges":[{"startOffset":5138,"endOffset":5168,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpStart","ranges":[{"startOffset":5170,"endOffset":5194,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpPull","ranges":[{"startOffset":5196,"endOffset":5225,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpCancel","ranges":[{"startOffset":5227,"endOffset":5258,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpWrite","ranges":[{"startOffset":5260,"endOffset":5290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyTransfer","ranges":[{"startOffset":5306,"endOffset":5438,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncFromSyncIterator","ranges":[{"startOffset":5440,"endOffset":5779,"count":0}],"isBlockCoverage":false},{"functionName":"getIterator","ranges":[{"startOffset":5781,"endOffset":6509,"count":0}],"isBlockCoverage":false},{"functionName":"iteratorNext","ranges":[{"startOffset":6511,"endOffset":6973,"count":0}],"isBlockCoverage":false}]},{"scriptId":"158","url":"node:internal/fs/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":26847,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFs","ranges":[{"startOffset":3551,"endOffset":3630,"count":0}],"isBlockCoverage":false},{"functionName":"assertEncoding","ranges":[{"startOffset":3632,"endOffset":3832,"count":1348},{"startOffset":3683,"endOffset":3714,"count":570},{"startOffset":3716,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"Dirent","ranges":[{"startOffset":3851,"endOffset":3954,"count":0}],"isBlockCoverage":false},{"functionName":"isDirectory","ranges":[{"startOffset":3958,"endOffset":4019,"count":0}],"isBlockCoverage":false},{"functionName":"isFile","ranges":[{"startOffset":4023,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"isBlockDevice","ranges":[{"startOffset":4084,"endOffset":4149,"count":0}],"isBlockCoverage":false},{"functionName":"isCharacterDevice","ranges":[{"startOffset":4153,"endOffset":4221,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbolicLink","ranges":[{"startOffset":4225,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"isFIFO","ranges":[{"startOffset":4294,"endOffset":4351,"count":0}],"isBlockCoverage":false},{"functionName":"isSocket","ranges":[{"startOffset":4355,"endOffset":4416,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats","ranges":[{"startOffset":4461,"endOffset":4552,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats.","ranges":[{"startOffset":4697,"endOffset":4746,"count":0}],"isBlockCoverage":false},{"functionName":"copyObject","ranges":[{"startOffset":4751,"endOffset":4879,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":4929,"endOffset":5536,"count":0}],"isBlockCoverage":false},{"functionName":"getDirents","ranges":[{"startOffset":5538,"endOffset":6653,"count":0}],"isBlockCoverage":false},{"functionName":"getDirent","ranges":[{"startOffset":6655,"endOffset":7436,"count":0}],"isBlockCoverage":false},{"functionName":"getOptions","ranges":[{"startOffset":7438,"endOffset":8064,"count":1408},{"startOffset":7522,"endOffset":7554,"count":1348},{"startOffset":7556,"endOffset":7588,"count":60},{"startOffset":7588,"endOffset":7625,"count":1348},{"startOffset":7625,"endOffset":7743,"count":570},{"startOffset":7743,"endOffset":7865,"count":778},{"startOffset":7782,"endOffset":7865,"count":0},{"startOffset":7865,"endOffset":7979,"count":1348},{"startOffset":7979,"endOffset":8043,"count":0},{"startOffset":8043,"endOffset":8063,"count":1348}],"isBlockCoverage":true},{"functionName":"handleErrorFromBinding","ranges":[{"startOffset":8122,"endOffset":8651,"count":875},{"startOffset":8192,"endOffset":8327,"count":0},{"startOffset":8359,"endOffset":8649,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8792,"endOffset":9388,"count":1408},{"startOffset":9022,"endOffset":9042,"count":0},{"startOffset":9112,"endOffset":9180,"count":0},{"startOffset":9199,"endOffset":9387,"count":0}],"isBlockCoverage":true},{"functionName":"preprocessSymlinkDestination","ranges":[{"startOffset":9392,"endOffset":10098,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase","ranges":[{"startOffset":10131,"endOffset":10438,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isDirectory","ranges":[{"startOffset":10474,"endOffset":10531,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFile","ranges":[{"startOffset":10563,"endOffset":10620,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isBlockDevice","ranges":[{"startOffset":10659,"endOffset":10716,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isCharacterDevice","ranges":[{"startOffset":10759,"endOffset":10816,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSymbolicLink","ranges":[{"startOffset":10856,"endOffset":10913,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFIFO","ranges":[{"startOffset":10945,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSocket","ranges":[{"startOffset":11036,"endOffset":11094,"count":0}],"isBlockCoverage":false},{"functionName":"msFromTimeSpec","ranges":[{"startOffset":11219,"endOffset":11301,"count":0}],"isBlockCoverage":false},{"functionName":"nsFromTimeSpecBigInt","ranges":[{"startOffset":11303,"endOffset":11386,"count":0}],"isBlockCoverage":false},{"functionName":"dateFromMs","ranges":[{"startOffset":11788,"endOffset":11899,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats","ranges":[{"startOffset":11901,"endOffset":12664,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats._checkModeProperty","ranges":[{"startOffset":12822,"endOffset":13068,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":13071,"endOffset":13613,"count":0}],"isBlockCoverage":false},{"functionName":"Stats._checkModeProperty","ranges":[{"startOffset":13954,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"getStatsFromBinding","ranges":[{"startOffset":14302,"endOffset":15381,"count":0}],"isBlockCoverage":false},{"functionName":"StatFs","ranges":[{"startOffset":15400,"endOffset":15637,"count":0}],"isBlockCoverage":false},{"functionName":"getStatFsFromBinding","ranges":[{"startOffset":15641,"endOffset":15781,"count":0}],"isBlockCoverage":false},{"functionName":"stringToFlags","ranges":[{"startOffset":15783,"endOffset":17039,"count":630},{"startOffset":15864,"endOffset":15919,"count":0},{"startOffset":15942,"endOffset":15968,"count":0},{"startOffset":16025,"endOffset":16036,"count":0},{"startOffset":16058,"endOffset":16095,"count":0},{"startOffset":16100,"endOffset":16126,"count":0},{"startOffset":16131,"endOffset":16143,"count":0},{"startOffset":16165,"endOffset":16201,"count":0},{"startOffset":16207,"endOffset":16254,"count":0},{"startOffset":16259,"endOffset":16270,"count":0},{"startOffset":16292,"endOffset":16349,"count":0},{"startOffset":16355,"endOffset":16401,"count":0},{"startOffset":16406,"endOffset":16417,"count":0},{"startOffset":16439,"endOffset":16494,"count":0},{"startOffset":16500,"endOffset":16548,"count":0},{"startOffset":16553,"endOffset":16564,"count":0},{"startOffset":16586,"endOffset":16644,"count":0},{"startOffset":16649,"endOffset":16660,"count":0},{"startOffset":16682,"endOffset":16740,"count":0},{"startOffset":16746,"endOffset":16793,"count":0},{"startOffset":16798,"endOffset":16809,"count":0},{"startOffset":16831,"endOffset":16887,"count":0},{"startOffset":16892,"endOffset":16903,"count":0},{"startOffset":16925,"endOffset":16981,"count":0},{"startOffset":16985,"endOffset":17038,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":17085,"endOffset":17445,"count":0}],"isBlockCoverage":false},{"functionName":"toUnixTimestamp","ranges":[{"startOffset":17507,"endOffset":17962,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18016,"endOffset":18395,"count":1},{"startOffset":18072,"endOffset":18139,"count":0},{"startOffset":18160,"endOffset":18227,"count":0},{"startOffset":18268,"endOffset":18391,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18454,"endOffset":18858,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18901,"endOffset":19171,"count":1408},{"startOffset":18963,"endOffset":18985,"count":0},{"startOffset":18987,"endOffset":19073,"count":0},{"startOffset":19149,"endOffset":19169,"count":0}],"isBlockCoverage":true},{"functionName":"possiblyTransformPath","ranges":[{"startOffset":19542,"endOffset":19853,"count":630},{"startOffset":19611,"endOffset":19836,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":19896,"endOffset":20054,"count":630}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20097,"endOffset":20218,"count":2},{"startOffset":20148,"endOffset":20167,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20266,"endOffset":20597,"count":0}],"isBlockCoverage":false},{"functionName":"warnOnNonPortableTemplate","ranges":[{"startOffset":20638,"endOffset":21238,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21663,"endOffset":22550,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22596,"endOffset":23275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23325,"endOffset":23942,"count":0}],"isBlockCoverage":false},{"functionName":"emitRecursiveRmdirWarning","ranges":[{"startOffset":23996,"endOffset":24330,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24380,"endOffset":24777,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24818,"endOffset":25186,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25249,"endOffset":25433,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25478,"endOffset":25948,"count":1},{"startOffset":25578,"endOffset":25946,"count":0}],"isBlockCoverage":true}]},{"scriptId":"159","url":"node:internal/fs/sync","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2257,"count":1}],"isBlockCoverage":false},{"functionName":"readFileUtf8","ranges":[{"startOffset":395,"endOffset":582,"count":570}],"isBlockCoverage":true},{"functionName":"exists","ranges":[{"startOffset":584,"endOffset":751,"count":0}],"isBlockCoverage":false},{"functionName":"access","ranges":[{"startOffset":753,"endOffset":920,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":922,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":1184,"endOffset":1509,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":1511,"endOffset":1723,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":1725,"endOffset":1932,"count":2}],"isBlockCoverage":true},{"functionName":"close","ranges":[{"startOffset":1934,"endOffset":2016,"count":1}],"isBlockCoverage":true},{"functionName":"unlink","ranges":[{"startOffset":2018,"endOffset":2140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"160","url":"node:internal/dns/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9584,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBinding","ranges":[{"startOffset":506,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":957,"endOffset":1104,"count":0}],"isBlockCoverage":false},{"functionName":"validateTries","ranges":[{"startOffset":1106,"endOffset":1241,"count":0}],"isBlockCoverage":false},{"functionName":"ResolverBase","ranges":[{"startOffset":1635,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1988,"endOffset":2124,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":2128,"endOffset":2169,"count":0}],"isBlockCoverage":false},{"functionName":"getServers","ranges":[{"startOffset":2173,"endOffset":2441,"count":0}],"isBlockCoverage":false},{"functionName":"setServers","ranges":[{"startOffset":2445,"endOffset":3846,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3850,"endOffset":4405,"count":0}],"isBlockCoverage":false},{"functionName":"setLocalAddress","ranges":[{"startOffset":4410,"endOffset":4695,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4815,"endOffset":5035,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5039,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"initializeDns","ranges":[{"startOffset":5427,"endOffset":5813,"count":1},{"startOffset":5570,"endOffset":5680,"count":0},{"startOffset":5728,"endOffset":5812,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5753,"endOffset":5809,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResolver","ranges":[{"startOffset":6074,"endOffset":6355,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResolver","ranges":[{"startOffset":6357,"endOffset":6428,"count":0}],"isBlockCoverage":false},{"functionName":"bindDefaultResolver","ranges":[{"startOffset":6430,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"validateHints","ranges":[{"startOffset":6654,"endOffset":6873,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidHostnameWarning","ranges":[{"startOffset":6918,"endOffset":7272,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultVerbatim","ranges":[{"startOffset":7274,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResultOrder","ranges":[{"startOffset":7344,"endOffset":7468,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResultOrder","ranges":[{"startOffset":7470,"endOffset":7525,"count":0}],"isBlockCoverage":false},{"functionName":"createResolverClass","ranges":[{"startOffset":7527,"endOffset":8635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"161","url":"node:internal/net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2248,"count":1}],"isBlockCoverage":false},{"functionName":"isIPv4","ranges":[{"startOffset":1023,"endOffset":1296,"count":0}],"isBlockCoverage":false},{"functionName":"isIPv6","ranges":[{"startOffset":1298,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"isIP","ranges":[{"startOffset":1573,"endOffset":1659,"count":0}],"isBlockCoverage":false},{"functionName":"makeSyncWrite","ranges":[{"startOffset":1661,"endOffset":2075,"count":0}],"isBlockCoverage":false}]},{"scriptId":"162","url":"node:worker_threads","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":687,"count":1}],"isBlockCoverage":false}]},{"scriptId":"163","url":"node:internal/worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16395,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2471,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"process.chdir","ranges":[{"startOffset":2984,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"setEnvironmentData","ranges":[{"startOffset":3069,"endOffset":3216,"count":0}],"isBlockCoverage":false},{"functionName":"getEnvironmentData","ranges":[{"startOffset":3218,"endOffset":3289,"count":0}],"isBlockCoverage":false},{"functionName":"assignEnvironmentData","ranges":[{"startOffset":3291,"endOffset":3441,"count":1},{"startOffset":3356,"endOffset":3363,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3379,"endOffset":3437,"count":0}],"isBlockCoverage":false},{"functionName":"Worker","ranges":[{"startOffset":3481,"endOffset":9221,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9225,"endOffset":9857,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9861,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9961,"endOffset":10130,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10134,"endOffset":11027,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11031,"endOffset":11499,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":11503,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"terminate","ranges":[{"startOffset":11652,"endOffset":12486,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":12490,"endOffset":12596,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":12600,"endOffset":12712,"count":0}],"isBlockCoverage":false},{"functionName":"get threadId","ranges":[{"startOffset":12716,"endOffset":12815,"count":0}],"isBlockCoverage":false},{"functionName":"get stdin","ranges":[{"startOffset":12819,"endOffset":12877,"count":0}],"isBlockCoverage":false},{"functionName":"get stdout","ranges":[{"startOffset":12881,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"get stderr","ranges":[{"startOffset":12945,"endOffset":13005,"count":0}],"isBlockCoverage":false},{"functionName":"get resourceLimits","ranges":[{"startOffset":13009,"endOffset":13145,"count":0}],"isBlockCoverage":false},{"functionName":"getHeapSnapshot","ranges":[{"startOffset":13149,"endOffset":13656,"count":0}],"isBlockCoverage":false},{"functionName":"InternalWorker","ranges":[{"startOffset":13849,"endOffset":13928,"count":0}],"isBlockCoverage":false},{"functionName":"receiveMessageSync","ranges":[{"startOffset":13932,"endOffset":14010,"count":0}],"isBlockCoverage":false},{"functionName":"pipeWithoutWarning","ranges":[{"startOffset":14014,"endOffset":14336,"count":0}],"isBlockCoverage":false},{"functionName":"parseResourceLimits","ranges":[{"startOffset":14410,"endOffset":15024,"count":0}],"isBlockCoverage":false},{"functionName":"makeResourceLimits","ranges":[{"startOffset":15026,"endOffset":15313,"count":1}],"isBlockCoverage":true},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":15315,"endOffset":16118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"164","url":"node:internal/perf/event_loop_utilization","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":false},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":153,"endOffset":446,"count":0}],"isBlockCoverage":false},{"functionName":"internalEventLoopUtilization","ranges":[{"startOffset":448,"endOffset":1447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"165","url":"node:internal/error_serdes","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5723,"count":1}],"isBlockCoverage":false},{"functionName":"TryGetAllProperties","ranges":[{"startOffset":1039,"endOffset":2143,"count":0}],"isBlockCoverage":false},{"functionName":"GetConstructors","ranges":[{"startOffset":2145,"endOffset":2588,"count":0}],"isBlockCoverage":false},{"functionName":"GetName","ranges":[{"startOffset":2590,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":2737,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":2924,"endOffset":4219,"count":0}],"isBlockCoverage":false},{"functionName":"fromBuffer","ranges":[{"startOffset":4221,"endOffset":4442,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeError","ranges":[{"startOffset":4461,"endOffset":5666,"count":0}],"isBlockCoverage":false}]},{"scriptId":"166","url":"node:diagnostics_channel","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9791,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":734,"endOffset":1143,"count":1}],"isBlockCoverage":false},{"functionName":"#finalizers","ranges":[{"startOffset":814,"endOffset":850,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":856,"endOffset":973,"count":23}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":977,"endOffset":1025,"count":23},{"startOffset":1013,"endOffset":1018,"count":0}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":1029,"endOffset":1083,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":1087,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"markActive","ranges":[{"startOffset":1145,"endOffset":1350,"count":0}],"isBlockCoverage":false},{"functionName":"maybeMarkInactive","ranges":[{"startOffset":1352,"endOffset":1720,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTransform","ranges":[{"startOffset":1722,"endOffset":1772,"count":0}],"isBlockCoverage":false},{"functionName":"wrapStoreRun","ranges":[{"startOffset":1774,"endOffset":2102,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":2184,"endOffset":2354,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":2358,"endOffset":2635,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":2639,"endOffset":2807,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":2811,"endOffset":3010,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":3014,"endOffset":3057,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":3061,"endOffset":3370,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":3374,"endOffset":3713,"count":0}],"isBlockCoverage":false},{"functionName":"Channel","ranges":[{"startOffset":3735,"endOffset":3876,"count":23}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3887,"endOffset":4072,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":4076,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4165,"endOffset":4202,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":4206,"endOffset":4299,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":4303,"endOffset":4340,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":4344,"endOffset":4388,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":4392,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":4408,"endOffset":4495,"count":0}],"isBlockCoverage":false},{"functionName":"channel","ranges":[{"startOffset":4535,"endOffset":4801,"count":23},{"startOffset":4613,"endOffset":4628,"count":0},{"startOffset":4661,"endOffset":4688,"count":0},{"startOffset":4690,"endOffset":4770,"count":0}],"isBlockCoverage":true},{"functionName":"subscribe","ranges":[{"startOffset":4803,"endOffset":4893,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4895,"endOffset":4989,"count":0}],"isBlockCoverage":false},{"functionName":"hasSubscribers","ranges":[{"startOffset":4991,"endOffset":5126,"count":0}],"isBlockCoverage":false},{"functionName":"assertChannel","ranges":[{"startOffset":5215,"endOffset":5357,"count":0}],"isBlockCoverage":false},{"functionName":"TracingChannel","ranges":[{"startOffset":5384,"endOffset":6531,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":6535,"endOffset":6687,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":6691,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"traceSync","ranges":[{"startOffset":6928,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"tracePromise","ranges":[{"startOffset":7358,"endOffset":8459,"count":0}],"isBlockCoverage":false},{"functionName":"traceCallback","ranges":[{"startOffset":8463,"endOffset":9589,"count":0}],"isBlockCoverage":false},{"functionName":"tracingChannel","ranges":[{"startOffset":9593,"endOffset":9681,"count":0}],"isBlockCoverage":false}]},{"scriptId":"167","url":"node:internal/modules/cjs/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":45478,"count":1}],"isBlockCoverage":false},{"functionName":"get hasLoadedAnyUserCJSModule","ranges":[{"startOffset":2238,"endOffset":2307,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3478,"endOffset":3569,"count":1},{"startOffset":3525,"endOffset":3561,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3618,"endOffset":3661,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3702,"endOffset":3756,"count":1}],"isBlockCoverage":true},{"functionName":"internalRequire","ranges":[{"startOffset":4610,"endOffset":4935,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4937,"endOffset":5347,"count":2421},{"startOffset":5035,"endOffset":5129,"count":1499},{"startOffset":5111,"endOffset":5125,"count":406},{"startOffset":5129,"endOffset":5202,"count":2015},{"startOffset":5202,"endOffset":5216,"count":1093},{"startOffset":5218,"endOffset":5328,"count":434},{"startOffset":5328,"endOffset":5346,"count":2015}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":5428,"endOffset":5451,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":5455,"endOffset":5550,"count":0}],"isBlockCoverage":false},{"functionName":"updateChildren","ranges":[{"startOffset":5579,"endOffset":5775,"count":1192},{"startOffset":5651,"endOffset":5661,"count":1142},{"startOffset":5678,"endOffset":5731,"count":1142},{"startOffset":5688,"endOffset":5730,"count":606},{"startOffset":5737,"endOffset":5773,"count":1093}],"isBlockCoverage":true},{"functionName":"reportModuleToWatchMode","ranges":[{"startOffset":5777,"endOffset":5933,"count":1792},{"startOffset":5858,"endOffset":5873,"count":0},{"startOffset":5875,"endOffset":5931,"count":0}],"isBlockCoverage":true},{"functionName":"reportModuleNotFoundToWatchMode","ranges":[{"startOffset":5935,"endOffset":6174,"count":25},{"startOffset":6036,"endOffset":6051,"count":0},{"startOffset":6053,"endOffset":6172,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6121,"endOffset":6163,"count":0}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":6221,"endOffset":6978,"count":563},{"startOffset":6534,"endOffset":6544,"count":0},{"startOffset":6562,"endOffset":6926,"count":0}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":7220,"endOffset":7297,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7463,"endOffset":7585,"count":0}],"isBlockCoverage":false},{"functionName":"defineProperty","ranges":[{"startOffset":7590,"endOffset":7723,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7790,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7823,"endOffset":7877,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7947,"endOffset":7983,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7988,"endOffset":8050,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8084,"endOffset":8114,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleParent","ranges":[{"startOffset":8274,"endOffset":8342,"count":0}],"isBlockCoverage":false},{"functionName":"setModuleParent","ranges":[{"startOffset":8344,"endOffset":8417,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8484,"endOffset":8509,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCJS","ranges":[{"startOffset":9188,"endOffset":9688,"count":1}],"isBlockCoverage":true},{"functionName":"readPackage","ranges":[{"startOffset":9982,"endOffset":10095,"count":2879}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":10197,"endOffset":10227,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10231,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"readPackageScope","ranges":[{"startOffset":10383,"endOffset":11176,"count":1323},{"startOffset":10570,"endOffset":11113,"count":2688},{"startOffset":10819,"endOffset":10865,"count":0},{"startOffset":10867,"endOffset":10894,"count":0},{"startOffset":10967,"endOffset":10980,"count":0},{"startOffset":11052,"endOffset":11109,"count":1323},{"startOffset":11113,"endOffset":11175,"count":0}],"isBlockCoverage":true},{"functionName":"tryPackage","ranges":[{"startOffset":11178,"endOffset":12457,"count":87},{"startOffset":11300,"endOffset":11381,"count":31},{"startOffset":11381,"endOffset":11475,"count":56},{"startOffset":11475,"endOffset":11519,"count":2},{"startOffset":11520,"endOffset":11587,"count":0},{"startOffset":11613,"endOffset":12438,"count":0},{"startOffset":12438,"endOffset":12456,"count":56}],"isBlockCoverage":true},{"functionName":"tryFile","ranges":[{"startOffset":12802,"endOffset":13034,"count":965},{"startOffset":12891,"endOffset":12898,"count":338},{"startOffset":12898,"endOffset":12943,"count":627},{"startOffset":12943,"endOffset":12953,"count":0},{"startOffset":12955,"endOffset":12998,"count":0},{"startOffset":12998,"endOffset":13033,"count":627}],"isBlockCoverage":true},{"functionName":"toRealPath","ranges":[{"startOffset":13036,"endOffset":13168,"count":671}],"isBlockCoverage":true},{"functionName":"tryExtensions","ranges":[{"startOffset":13243,"endOffset":13449,"count":680},{"startOffset":13325,"endOffset":13431,"count":904},{"startOffset":13397,"endOffset":13427,"count":568},{"startOffset":13431,"endOffset":13448,"count":112}],"isBlockCoverage":true},{"functionName":"findLongestRegisteredExtension","ranges":[{"startOffset":13538,"endOffset":14006,"count":561},{"startOffset":13813,"endOffset":13822,"count":0},{"startOffset":13960,"endOffset":13984,"count":550},{"startOffset":13988,"endOffset":14005,"count":11}],"isBlockCoverage":true},{"functionName":"trySelfParentPath","ranges":[{"startOffset":14008,"endOffset":14297,"count":798},{"startOffset":14060,"endOffset":14073,"count":23},{"startOffset":14073,"endOffset":14131,"count":775},{"startOffset":14131,"endOffset":14295,"count":0}],"isBlockCoverage":true},{"functionName":"trySelf","ranges":[{"startOffset":14299,"endOffset":15197,"count":798},{"startOffset":14358,"endOffset":14371,"count":23},{"startOffset":14371,"endOffset":14475,"count":775},{"startOffset":14476,"endOffset":14501,"count":39},{"startOffset":14503,"endOffset":14526,"count":736},{"startOffset":14526,"endOffset":14573,"count":39},{"startOffset":14573,"endOffset":14599,"count":0},{"startOffset":14599,"endOffset":14765,"count":39},{"startOffset":14661,"endOffset":14736,"count":0},{"startOffset":14765,"endOffset":15195,"count":0}],"isBlockCoverage":true},{"functionName":"resolveExports","ranges":[{"startOffset":15358,"endOffset":16166,"count":670},{"startOffset":15565,"endOffset":15580,"count":566},{"startOffset":15599,"endOffset":15606,"count":566},{"startOffset":15606,"endOffset":15707,"count":104},{"startOffset":15707,"endOffset":15729,"count":79},{"startOffset":15731,"endOffset":16164,"count":5},{"startOffset":16011,"endOffset":16160,"count":0}],"isBlockCoverage":true},{"functionName":"Module._findPath","ranges":[{"startOffset":16434,"endOffset":20492,"count":799},{"startOffset":16544,"endOffset":16567,"count":25},{"startOffset":16567,"endOffset":16630,"count":774},{"startOffset":16607,"endOffset":16630,"count":0},{"startOffset":16767,"endOffset":16780,"count":129},{"startOffset":16780,"endOffset":17363,"count":670},{"startOffset":17002,"endOffset":17356,"count":0},{"startOffset":17438,"endOffset":17894,"count":566},{"startOffset":17544,"endOffset":17629,"count":69},{"startOffset":17564,"endOffset":17628,"count":0},{"startOffset":17630,"endOffset":17888,"count":69},{"startOffset":17799,"endOffset":17886,"count":0},{"startOffset":17939,"endOffset":18093,"count":566},{"startOffset":18056,"endOffset":18089,"count":69},{"startOffset":18093,"endOffset":18155,"count":670},{"startOffset":18155,"endOffset":20473,"count":860},{"startOffset":18296,"endOffset":18306,"count":791},{"startOffset":18307,"endOffset":18403,"count":766},{"startOffset":18341,"endOffset":18379,"count":0},{"startOffset":18410,"endOffset":18433,"count":165},{"startOffset":18433,"endOffset":18461,"count":695},{"startOffset":18461,"endOffset":18591,"count":670},{"startOffset":18562,"endOffset":18585,"count":5},{"startOffset":18591,"endOffset":19950,"count":690},{"startOffset":18743,"endOffset":19727,"count":43},{"startOffset":18776,"endOffset":18965,"count":42},{"startOffset":18831,"endOffset":18891,"count":0},{"startOffset":18965,"endOffset":19719,"count":1},{"startOffset":19019,"endOffset":19659,"count":0},{"startOffset":19750,"endOffset":19944,"count":647},{"startOffset":19840,"endOffset":19878,"count":622},{"startOffset":19950,"endOffset":19970,"count":690},{"startOffset":19970,"endOffset":19981,"count":112},{"startOffset":19983,"endOffset":20199,"count":87},{"startOffset":20093,"endOffset":20131,"count":0},{"startOffset":20199,"endOffset":20219,"count":690},{"startOffset":20219,"endOffset":20295,"count":665},{"startOffset":20295,"endOffset":20473,"count":25},{"startOffset":20473,"endOffset":20491,"count":0}],"isBlockCoverage":true},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":20736,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":22345,"endOffset":23485,"count":589},{"startOffset":22623,"endOffset":22648,"count":0},{"startOffset":22941,"endOffset":23363,"count":40560},{"startOffset":23037,"endOffset":23233,"count":4478},{"startOffset":23074,"endOffset":23192,"count":3816},{"startOffset":23233,"endOffset":23357,"count":36082},{"startOffset":23253,"endOffset":23357,"count":12840},{"startOffset":23288,"endOffset":23314,"count":9024},{"startOffset":23314,"endOffset":23349,"count":3816}],"isBlockCoverage":true},{"functionName":"Module._resolveLookupPaths","ranges":[{"startOffset":23519,"endOffset":24778,"count":798},{"startOffset":23599,"endOffset":23665,"count":0},{"startOffset":23750,"endOffset":23949,"count":674},{"startOffset":23830,"endOffset":23880,"count":533},{"startOffset":23881,"endOffset":23948,"count":0},{"startOffset":23951,"endOffset":24250,"count":124},{"startOffset":23983,"endOffset":23998,"count":101},{"startOffset":24000,"endOffset":24110,"count":101},{"startOffset":24110,"endOffset":24150,"count":23},{"startOffset":24239,"endOffset":24245,"count":0},{"startOffset":24250,"endOffset":24318,"count":674},{"startOffset":24319,"endOffset":24338,"count":674},{"startOffset":24340,"endOffset":24589,"count":0},{"startOffset":24589,"endOffset":24777,"count":674}],"isBlockCoverage":true},{"functionName":"emitCircularRequireWarning","ranges":[{"startOffset":24781,"endOffset":24965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25178,"endOffset":25550,"count":0}],"isBlockCoverage":false},{"functionName":"getOwnPropertyDescriptor","ranges":[{"startOffset":25555,"endOffset":25796,"count":0}],"isBlockCoverage":false},{"functionName":"getExportsForCircularRequire","ranges":[{"startOffset":25803,"endOffset":26447,"count":2},{"startOffset":25972,"endOffset":26265,"count":1},{"startOffset":26267,"endOffset":26419,"count":1}],"isBlockCoverage":true},{"functionName":"Module._load","ranges":[{"startOffset":26860,"endOffset":29991,"count":1254},{"startOffset":26943,"endOffset":27759,"count":1231},{"startOffset":27402,"endOffset":27755,"count":368},{"startOffset":27592,"endOffset":27642,"count":0},{"startOffset":27687,"endOffset":27755,"count":0},{"startOffset":27759,"endOffset":27812,"count":886},{"startOffset":27812,"endOffset":28084,"count":16},{"startOffset":27941,"endOffset":28001,"count":0},{"startOffset":28084,"endOffset":28237,"count":870},{"startOffset":28237,"endOffset":28597,"count":261},{"startOffset":28317,"endOffset":28545,"count":27},{"startOffset":28413,"endOffset":28440,"count":25},{"startOffset":28450,"endOffset":28500,"count":2},{"startOffset":28500,"endOffset":28545,"count":25},{"startOffset":28545,"endOffset":28593,"count":234},{"startOffset":28597,"endOffset":28657,"count":634},{"startOffset":28657,"endOffset":28740,"count":73},{"startOffset":28740,"endOffset":28839,"count":561},{"startOffset":28839,"endOffset":28870,"count":536},{"startOffset":28887,"endOffset":29028,"count":0},{"startOffset":29028,"endOffset":29132,"count":561},{"startOffset":29132,"endOffset":29201,"count":538},{"startOffset":29201,"endOffset":29963,"count":561},{"startOffset":29306,"endOffset":29709,"count":0},{"startOffset":29734,"endOffset":29776,"count":556},{"startOffset":29777,"endOffset":29889,"count":556},{"startOffset":29891,"endOffset":29959,"count":1},{"startOffset":29963,"endOffset":29990,"count":561}],"isBlockCoverage":true},{"functionName":"Module._resolveFilename","ranges":[{"startOffset":30020,"endOffset":33106,"count":871},{"startOffset":30117,"endOffset":30142,"count":73},{"startOffset":30142,"endOffset":30192,"count":798},{"startOffset":30192,"endOffset":30211,"count":0},{"startOffset":30213,"endOffset":31290,"count":0},{"startOffset":31290,"endOffset":31385,"count":798},{"startOffset":31385,"endOffset":31433,"count":0},{"startOffset":31435,"endOffset":32047,"count":0},{"startOffset":32047,"endOffset":32208,"count":798},{"startOffset":32208,"endOffset":32404,"count":0},{"startOffset":32404,"endOffset":32560,"count":798},{"startOffset":32560,"endOffset":33105,"count":0}],"isBlockCoverage":true},{"functionName":"finalizeEsmResolution","ranges":[{"startOffset":33109,"endOffset":33678,"count":5},{"startOffset":33311,"endOffset":33430,"count":0},{"startOffset":33543,"endOffset":33677,"count":0}],"isBlockCoverage":true},{"functionName":"createEsmNotFoundErr","ranges":[{"startOffset":33680,"endOffset":33970,"count":0}],"isBlockCoverage":false},{"functionName":"Module.load","ranges":[{"startOffset":34059,"endOffset":34896,"count":561},{"startOffset":34394,"endOffset":34424,"count":0},{"startOffset":34430,"endOffset":34472,"count":0},{"startOffset":34752,"endOffset":34800,"count":0}],"isBlockCoverage":true},{"functionName":"Module.require","ranges":[{"startOffset":35095,"endOffset":35394,"count":1231},{"startOffset":35155,"endOffset":35273,"count":0}],"isBlockCoverage":true},{"functionName":"wrapSafe","ranges":[{"startOffset":35584,"endOffset":37521,"count":558},{"startOffset":35668,"endOffset":36404,"count":0},{"startOffset":36944,"endOffset":36990,"count":0},{"startOffset":36991,"endOffset":37032,"count":0},{"startOffset":37034,"endOffset":37097,"count":0},{"startOffset":37183,"endOffset":37281,"count":27},{"startOffset":37315,"endOffset":37519,"count":0}],"isBlockCoverage":true},{"functionName":"importModuleDynamically","ranges":[{"startOffset":35895,"endOffset":36134,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":36617,"endOffset":36870,"count":2}],"isBlockCoverage":true},{"functionName":"Module._compile","ranges":[{"startOffset":37721,"endOffset":39539,"count":558},{"startOffset":37812,"endOffset":37822,"count":0},{"startOffset":37840,"endOffset":37993,"count":0},{"startOffset":38126,"endOffset":38150,"count":0},{"startOffset":38152,"endOffset":38888,"count":0},{"startOffset":39111,"endOffset":39137,"count":23},{"startOffset":39162,"endOffset":39301,"count":0},{"startOffset":39503,"endOffset":39520,"count":23}],"isBlockCoverage":true},{"functionName":"Module._extensions..js","ranges":[{"startOffset":39598,"endOffset":41380,"count":558},{"startOffset":39759,"endOffset":39767,"count":25},{"startOffset":39769,"endOffset":39834,"count":25},{"startOffset":39834,"endOffset":39894,"count":533},{"startOffset":39943,"endOffset":41340,"count":547},{"startOffset":39988,"endOffset":40010,"count":0},{"startOffset":40106,"endOffset":41336,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..json","ranges":[{"startOffset":41444,"endOffset":41850,"count":3},{"startOffset":41554,"endOffset":41564,"count":0},{"startOffset":41582,"endOffset":41684,"count":0},{"startOffset":41767,"endOffset":41848,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..node","ranges":[{"startOffset":41914,"endOffset":42256,"count":0}],"isBlockCoverage":false},{"functionName":"createRequireFromPath","ranges":[{"startOffset":42259,"endOffset":42720,"count":2},{"startOffset":42439,"endOffset":42481,"count":0},{"startOffset":42519,"endOffset":42555,"count":0}],"isBlockCoverage":true},{"functionName":"createRequire","ranges":[{"startOffset":42828,"endOffset":43373,"count":2},{"startOffset":43033,"endOffset":43165,"count":0},{"startOffset":43169,"endOffset":43329,"count":0}],"isBlockCoverage":true},{"functionName":"Module._initPaths","ranges":[{"startOffset":43434,"endOffset":44399,"count":1},{"startOffset":43475,"endOffset":43500,"count":0},{"startOffset":43552,"endOffset":43575,"count":0},{"startOffset":43783,"endOffset":43825,"count":0},{"startOffset":44124,"endOffset":44266,"count":0}],"isBlockCoverage":true},{"functionName":"Module._preloadModules","ranges":[{"startOffset":44427,"endOffset":45018,"count":0}],"isBlockCoverage":false},{"functionName":"syncBuiltinESMExports","ranges":[{"startOffset":45052,"endOffset":45233,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":45318,"endOffset":45376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"168","url":"node:internal/vm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2921,"count":1}],"isBlockCoverage":false},{"functionName":"isContext","ranges":[{"startOffset":419,"endOffset":554,"count":0}],"isBlockCoverage":false},{"functionName":"internalCompileFunction","ranges":[{"startOffset":556,"endOffset":2857,"count":558},{"startOffset":1151,"endOffset":1200,"count":0},{"startOffset":1304,"endOffset":1566,"count":0},{"startOffset":2045,"endOffset":2118,"count":0},{"startOffset":2145,"endOffset":2202,"count":0},{"startOffset":2258,"endOffset":2331,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1675,"endOffset":1824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"169","url":"node:internal/modules/helpers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7741,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":923,"endOffset":948,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCjsConditions","ranges":[{"startOffset":971,"endOffset":1363,"count":1},{"startOffset":1150,"endOffset":1154,"count":0}],"isBlockCoverage":true},{"functionName":"getCjsConditions","ranges":[{"startOffset":1365,"endOffset":1492,"count":5},{"startOffset":1430,"endOffset":1466,"count":0}],"isBlockCoverage":true},{"functionName":"loadBuiltinModule","ranges":[{"startOffset":1494,"endOffset":1823,"count":103},{"startOffset":1595,"endOffset":1612,"count":0}],"isBlockCoverage":true},{"functionName":"lazyModule","ranges":[{"startOffset":1845,"endOffset":1958,"count":560},{"startOffset":1889,"endOffset":1937,"count":1}],"isBlockCoverage":true},{"functionName":"makeRequireFunction","ranges":[{"startOffset":2207,"endOffset":4418,"count":560},{"startOffset":2346,"endOffset":2409,"count":0},{"startOffset":2443,"endOffset":3714,"count":0}],"isBlockCoverage":true},{"functionName":"require","ranges":[{"startOffset":2586,"endOffset":3709,"count":0}],"isBlockCoverage":false},{"functionName":"require","ranges":[{"startOffset":3736,"endOffset":3876,"count":1230}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":3885,"endOffset":4031,"count":0}],"isBlockCoverage":false},{"functionName":"paths","ranges":[{"startOffset":4065,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"stripBOM","ranges":[{"startOffset":4603,"endOffset":4758,"count":3},{"startOffset":4685,"endOffset":4738,"count":0}],"isBlockCoverage":true},{"functionName":"addBuiltinLibsToObject","ranges":[{"startOffset":4760,"endOffset":6720,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeReferrerURL","ranges":[{"startOffset":6788,"endOffset":6976,"count":87},{"startOffset":6895,"endOffset":6941,"count":29},{"startOffset":6941,"endOffset":6975,"count":58}],"isBlockCoverage":true},{"functionName":"hasEsmSyntax","ranges":[{"startOffset":7046,"endOffset":7548,"count":0}],"isBlockCoverage":false}]},{"scriptId":"170","url":"node:internal/modules/package_json_reader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3711,"count":1}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":932,"endOffset":3682,"count":3208},{"startOffset":1028,"endOffset":1065,"count":3006},{"startOffset":1065,"endOffset":1742,"count":202},{"startOffset":1742,"endOffset":1751,"count":0},{"startOffset":1752,"endOffset":1766,"count":0},{"startOffset":1767,"endOffset":1789,"count":202},{"startOffset":1813,"endOffset":3632,"count":103},{"startOffset":1881,"endOffset":2477,"count":0},{"startOffset":2635,"endOffset":2669,"count":101},{"startOffset":2671,"endOffset":2711,"count":101},{"startOffset":2767,"endOffset":2801,"count":57},{"startOffset":2803,"endOffset":2843,"count":57},{"startOffset":2903,"endOffset":2949,"count":29},{"startOffset":3009,"endOffset":3055,"count":1},{"startOffset":3166,"endOffset":3225,"count":28},{"startOffset":3197,"endOffset":3224,"count":26},{"startOffset":3227,"endOffset":3267,"count":28},{"startOffset":3301,"endOffset":3497,"count":1},{"startOffset":3422,"endOffset":3475,"count":0},{"startOffset":3525,"endOffset":3628,"count":0},{"startOffset":3632,"endOffset":3681,"count":202}],"isBlockCoverage":true}]},{"scriptId":"171","url":"node:internal/modules/run_main","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2850,"count":1}],"isBlockCoverage":false},{"functionName":"resolveMainPath","ranges":[{"startOffset":155,"endOffset":666,"count":1},{"startOffset":495,"endOffset":502,"count":0}],"isBlockCoverage":true},{"functionName":"shouldUseESMLoader","ranges":[{"startOffset":668,"endOffset":1558,"count":1},{"startOffset":1184,"endOffset":1196,"count":0},{"startOffset":1378,"endOffset":1390,"count":0},{"startOffset":1457,"endOffset":1470,"count":0}],"isBlockCoverage":true},{"functionName":"runMainESM","ranges":[{"startOffset":1560,"endOffset":1920,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1736,"endOffset":1915,"count":1},{"startOffset":1833,"endOffset":1843,"count":0}],"isBlockCoverage":true},{"functionName":"handleMainPromise","ranges":[{"startOffset":1922,"endOffset":2196,"count":1}],"isBlockCoverage":true},{"functionName":"executeUserEntryPoint","ranges":[{"startOffset":2382,"endOffset":2780,"count":1},{"startOffset":2592,"endOffset":2599,"count":0},{"startOffset":2605,"endOffset":2778,"count":0}],"isBlockCoverage":true}]},{"scriptId":"172","url":"node:internal/modules/esm/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6457,"count":1}],"isBlockCoverage":false},{"functionName":"getDefaultConditions","ranges":[{"startOffset":707,"endOffset":813,"count":108}],"isBlockCoverage":true},{"functionName":"getDefaultConditionsSet","ranges":[{"startOffset":841,"endOffset":956,"count":107}],"isBlockCoverage":true},{"functionName":"initializeDefaultConditions","ranges":[{"startOffset":1036,"endOffset":1418,"count":1},{"startOffset":1219,"endOffset":1223,"count":0}],"isBlockCoverage":true},{"functionName":"getConditionsSet","ranges":[{"startOffset":1488,"endOffset":1847,"count":107},{"startOffset":1601,"endOffset":1809,"count":0}],"isBlockCoverage":true},{"functionName":"registerModule","ranges":[{"startOffset":3590,"endOffset":3817,"count":616}],"isBlockCoverage":true},{"functionName":"initializeImportMetaObject","ranges":[{"startOffset":3842,"endOffset":4133,"count":3}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyCallback","ranges":[{"startOffset":4158,"endOffset":4557,"count":3},{"startOffset":4501,"endOffset":4556,"count":0}],"isBlockCoverage":true},{"functionName":"initializeESM","ranges":[{"startOffset":4722,"endOffset":5098,"count":1}],"isBlockCoverage":true},{"functionName":"isLoaderWorker","ranges":[{"startOffset":5100,"endOffset":5155,"count":1}],"isBlockCoverage":true},{"functionName":"initializeHooks","ranges":[{"startOffset":5157,"endOffset":6268,"count":0}],"isBlockCoverage":false}]},{"scriptId":"173","url":"node:internal/process/esm_loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1190,"count":1}],"isBlockCoverage":false},{"functionName":"get esmLoader","ranges":[{"startOffset":386,"endOffset":458,"count":77}],"isBlockCoverage":true},{"functionName":"loadESM","ranges":[{"startOffset":462,"endOffset":1185,"count":1},{"startOffset":630,"endOffset":846,"count":0},{"startOffset":937,"endOffset":1181,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":728,"endOffset":836,"count":0}],"isBlockCoverage":false}]},{"scriptId":"174","url":"node:internal/modules/esm/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21570,"count":1}],"isBlockCoverage":false},{"functionName":"newResolveCache","ranges":[{"startOffset":783,"endOffset":913,"count":1}],"isBlockCoverage":true},{"functionName":"newLoadCache","ranges":[{"startOffset":915,"endOffset":1036,"count":1}],"isBlockCoverage":true},{"functionName":"getTranslators","ranges":[{"startOffset":1038,"endOffset":1160,"count":98}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1847,"endOffset":14781,"count":1}],"isBlockCoverage":false},{"functionName":"ModuleLoader","ranges":[{"startOffset":3114,"endOffset":3307,"count":1},{"startOffset":3202,"endOffset":3259,"count":0}],"isBlockCoverage":true},{"functionName":"setCustomizations","ranges":[{"startOffset":4847,"endOffset":5091,"count":1},{"startOffset":4950,"endOffset":5032,"count":0}],"isBlockCoverage":true},{"functionName":"eval","ranges":[{"startOffset":5095,"endOffset":6098,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleJob","ranges":[{"startOffset":6833,"endOffset":7068,"count":162}],"isBlockCoverage":true},{"functionName":"getModuleJobSync","ranges":[{"startOffset":7072,"endOffset":7309,"count":0}],"isBlockCoverage":false},{"functionName":"getJobFromResolveResult","ranges":[{"startOffset":7313,"endOffset":7897,"count":162},{"startOffset":7687,"endOffset":7749,"count":0},{"startOffset":7778,"endOffset":7876,"count":97}],"isBlockCoverage":true},{"functionName":"#createModuleJob","ranges":[{"startOffset":8535,"endOffset":9726,"count":97},{"startOffset":9027,"endOffset":9103,"count":0},{"startOffset":9246,"endOffset":9286,"count":1},{"startOffset":9341,"endOffset":9356,"count":0},{"startOffset":9358,"endOffset":9412,"count":0}],"isBlockCoverage":true},{"functionName":"callTranslator","ranges":[{"startOffset":8629,"endOffset":8943,"count":97},{"startOffset":8773,"endOffset":8853,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9035,"endOffset":9103,"count":0}],"isBlockCoverage":false},{"functionName":"moduleProvider","ranges":[{"startOffset":9112,"endOffset":9188,"count":97}],"isBlockCoverage":true},{"functionName":"import","ranges":[{"startOffset":10188,"endOffset":10413,"count":4}],"isBlockCoverage":true},{"functionName":"register","ranges":[{"startOffset":10479,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":11461,"endOffset":12047,"count":162},{"startOffset":11549,"endOffset":11647,"count":0},{"startOffset":11843,"endOffset":11877,"count":1},{"startOffset":11877,"endOffset":12046,"count":161}],"isBlockCoverage":true},{"functionName":"resolveSync","ranges":[{"startOffset":12205,"endOffset":12483,"count":0}],"isBlockCoverage":false},{"functionName":"defaultResolve","ranges":[{"startOffset":12695,"endOffset":13035,"count":161}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":13319,"endOffset":13623,"count":97},{"startOffset":13456,"endOffset":13510,"count":0}],"isBlockCoverage":true},{"functionName":"loadSync","ranges":[{"startOffset":13627,"endOffset":14158,"count":0}],"isBlockCoverage":false},{"functionName":"validateLoadResult","ranges":[{"startOffset":14162,"endOffset":14313,"count":97},{"startOffset":14220,"endOffset":14309,"count":0}],"isBlockCoverage":true},{"functionName":"importMetaInitialize","ranges":[{"startOffset":14317,"endOffset":14652,"count":3},{"startOffset":14385,"endOffset":14469,"count":0}],"isBlockCoverage":true},{"functionName":"forceLoadHooks","ranges":[{"startOffset":14713,"endOffset":14779,"count":1},{"startOffset":14756,"endOffset":14772,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14835,"endOffset":17345,"count":0}],"isBlockCoverage":false},{"functionName":"createModuleLoader","ranges":[{"startOffset":17841,"endOffset":19523,"count":1},{"startOffset":18306,"endOffset":19473,"count":0}],"isBlockCoverage":true},{"functionName":"readableURIEncode","ranges":[{"startOffset":18381,"endOffset":18876,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19196,"endOffset":19284,"count":0}],"isBlockCoverage":false},{"functionName":"getHooksProxy","ranges":[{"startOffset":19636,"endOffset":19812,"count":0}],"isBlockCoverage":false},{"functionName":"register","ranges":[{"startOffset":21096,"endOffset":21495,"count":0}],"isBlockCoverage":false}]},{"scriptId":"175","url":"node:internal/modules/esm/module_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3877,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":281,"endOffset":306,"count":1}],"isBlockCoverage":true},{"functionName":"ResolveCache","ranges":[{"startOffset":850,"endOffset":878,"count":1}],"isBlockCoverage":true},{"functionName":"serializeKey","ranges":[{"startOffset":1224,"endOffset":1836,"count":162},{"startOffset":1633,"endOffset":1835,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1752,"endOffset":1818,"count":0}],"isBlockCoverage":false},{"functionName":"#getModuleCachedImports","ranges":[{"startOffset":1840,"endOffset":2056,"count":323},{"startOffset":1954,"endOffset":2026,"count":37}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2231,"endOffset":2333,"count":162}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":2473,"endOffset":2602,"count":161}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":2606,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"LoadCache","ranges":[{"startOffset":2844,"endOffset":2872,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2921,"endOffset":3064,"count":162},{"startOffset":3051,"endOffset":3059,"count":65}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3067,"endOffset":3662,"count":97},{"startOffset":3286,"endOffset":3322,"count":0},{"startOffset":3324,"endOffset":3394,"count":0},{"startOffset":3478,"endOffset":3484,"count":0}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":3665,"endOffset":3822,"count":0}],"isBlockCoverage":false}]},{"scriptId":"176","url":"node:internal/modules/esm/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4026,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1321,"endOffset":1359,"count":5}],"isBlockCoverage":true},{"functionName":"validateAssertions","ranges":[{"startOffset":1780,"endOffset":3310,"count":97},{"startOffset":2002,"endOffset":2301,"count":0},{"startOffset":2330,"endOffset":2475,"count":0},{"startOffset":2740,"endOffset":2800,"count":0},{"startOffset":2806,"endOffset":2914,"count":0},{"startOffset":2920,"endOffset":3304,"count":0}],"isBlockCoverage":true},{"functionName":"handleInvalidType","ranges":[{"startOffset":3542,"endOffset":3956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"177","url":"node:internal/modules/esm/translators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15691,"count":1}],"isBlockCoverage":false},{"functionName":"lazyTypes","ranges":[{"startOffset":372,"endOffset":484,"count":116},{"startOffset":418,"endOffset":432,"count":115},{"startOffset":432,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":948,"endOffset":973,"count":1}],"isBlockCoverage":true},{"functionName":"initCJSParse","ranges":[{"startOffset":1545,"endOffset":1943,"count":6},{"startOffset":1619,"endOffset":1694,"count":0},{"startOffset":1852,"endOffset":1937,"count":0}],"isBlockCoverage":true},{"functionName":"assertBufferSource","ranges":[{"startOffset":2077,"endOffset":2498,"count":116},{"startOffset":2154,"endOffset":2181,"count":58},{"startOffset":2183,"endOffset":2200,"count":0},{"startOffset":2294,"endOffset":2319,"count":0},{"startOffset":2338,"endOffset":2417,"count":0},{"startOffset":2418,"endOffset":2422,"count":0}],"isBlockCoverage":true},{"functionName":"stringify","ranges":[{"startOffset":2500,"endOffset":2774,"count":83},{"startOffset":2559,"endOffset":2571,"count":25},{"startOffset":2571,"endOffset":2711,"count":58},{"startOffset":2711,"endOffset":2730,"count":1},{"startOffset":2731,"endOffset":2740,"count":57}],"isBlockCoverage":true},{"functionName":"errPath","ranges":[{"startOffset":2776,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":2923,"endOffset":3061,"count":1}],"isBlockCoverage":true},{"functionName":"moduleStrategy","ranges":[{"startOffset":3143,"endOffset":3668,"count":58}],"isBlockCoverage":true},{"functionName":"initializeImportMeta","ranges":[{"startOffset":3557,"endOffset":3613,"count":3}],"isBlockCoverage":true},{"functionName":"enrichCJSError","ranges":[{"startOffset":3835,"endOffset":4374,"count":0}],"isBlockCoverage":false},{"functionName":"loadCJSModule","ranges":[{"startOffset":4715,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"createCJSModuleWrap","ranges":[{"startOffset":6909,"endOffset":8288,"count":25},{"startOffset":7110,"endOffset":7115,"count":0},{"startOffset":7309,"endOffset":7331,"count":1},{"startOffset":7332,"endOffset":7361,"count":24},{"startOffset":7378,"endOffset":7434,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7494,"endOffset":8283,"count":25},{"startOffset":7571,"endOffset":7624,"count":23},{"startOffset":7806,"endOffset":7849,"count":0},{"startOffset":7892,"endOffset":8239,"count":70},{"startOffset":7956,"endOffset":7993,"count":69},{"startOffset":8003,"endOffset":8012,"count":2},{"startOffset":8012,"endOffset":8136,"count":68},{"startOffset":8136,"endOffset":8192,"count":0},{"startOffset":8192,"endOffset":8239,"count":68}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8448,"endOffset":8540,"count":0}],"isBlockCoverage":false},{"functionName":"commonjsStrategy","ranges":[{"startOffset":8728,"endOffset":9611,"count":25},{"startOffset":8860,"endOffset":8891,"count":6},{"startOffset":9358,"endOffset":9373,"count":0},{"startOffset":9498,"endOffset":9546,"count":0}],"isBlockCoverage":true},{"functionName":"cjsLoader","ranges":[{"startOffset":9138,"endOffset":9357,"count":23},{"startOffset":9277,"endOffset":9353,"count":0}],"isBlockCoverage":true},{"functionName":"cjsPreparseModuleExports","ranges":[{"startOffset":9615,"endOffset":12093,"count":25},{"startOffset":9798,"endOffset":9923,"count":0},{"startOffset":10231,"endOffset":10236,"count":0},{"startOffset":10244,"endOffset":10293,"count":0},{"startOffset":10469,"endOffset":12056,"count":1},{"startOffset":11330,"endOffset":11363,"count":0},{"startOffset":11629,"endOffset":11658,"count":0},{"startOffset":11660,"endOffset":12046,"count":0}],"isBlockCoverage":true},{"functionName":"builtinStrategy","ranges":[{"startOffset":12217,"endOffset":12623,"count":14},{"startOffset":12496,"endOffset":12548,"count":0}],"isBlockCoverage":true},{"functionName":"jsonStrategy","ranges":[{"startOffset":12735,"endOffset":14686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14752,"endOffset":15688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"178","url":"node:internal/modules/esm/resolve","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36606,"count":1}],"isBlockCoverage":false},{"functionName":"emitTrailingSlashPatternDeprecation","ranges":[{"startOffset":2334,"endOffset":2920,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidSegmentDeprecation","ranges":[{"startOffset":2962,"endOffset":3657,"count":0}],"isBlockCoverage":false},{"functionName":"emitLegacyIndexDeprecation","ranges":[{"startOffset":3805,"endOffset":4938,"count":22},{"startOffset":3967,"endOffset":4936,"count":0}],"isBlockCoverage":true},{"functionName":"legacyMainResolve","ranges":[{"startOffset":6029,"endOffset":6789,"count":22},{"startOffset":6196,"endOffset":6280,"count":0},{"startOffset":6320,"endOffset":6331,"count":0},{"startOffset":6543,"endOffset":6570,"count":14},{"startOffset":6571,"endOffset":6575,"count":8}],"isBlockCoverage":true},{"functionName":"finalizeResolution","ranges":[{"startOffset":6969,"endOffset":8433,"count":107},{"startOffset":7109,"endOffset":7252,"count":0},{"startOffset":7314,"endOffset":7498,"count":0},{"startOffset":7587,"endOffset":7623,"count":0},{"startOffset":7689,"endOffset":7781,"count":0},{"startOffset":7804,"endOffset":8092,"count":0},{"startOffset":8338,"endOffset":8343,"count":0}],"isBlockCoverage":true},{"functionName":"importNotDefined","ranges":[{"startOffset":8545,"endOffset":8756,"count":0}],"isBlockCoverage":false},{"functionName":"exportsNotFound","ranges":[{"startOffset":8866,"endOffset":9061,"count":0}],"isBlockCoverage":false},{"functionName":"throwInvalidSubpath","ranges":[{"startOffset":9228,"endOffset":9611,"count":0}],"isBlockCoverage":false},{"functionName":"invalidPackageTarget","ranges":[{"startOffset":9613,"endOffset":9991,"count":0}],"isBlockCoverage":false},{"functionName":"resolvePackageTargetString","ranges":[{"startOffset":10714,"endOffset":13451,"count":37},{"startOffset":10883,"endOffset":10894,"count":0},{"startOffset":10895,"endOffset":10931,"count":0},{"startOffset":10937,"endOffset":11011,"count":0},{"startOffset":11061,"endOffset":11618,"count":0},{"startOffset":11710,"endOffset":12320,"count":0},{"startOffset":12543,"endOffset":12617,"count":0},{"startOffset":12657,"endOffset":13450,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11393,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11919,"endOffset":11932,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12065,"endOffset":12078,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12792,"endOffset":12805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13032,"endOffset":13045,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13385,"endOffset":13398,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayIndex","ranges":[{"startOffset":13506,"endOffset":13646,"count":26},{"startOffset":13598,"endOffset":13643,"count":0}],"isBlockCoverage":true},{"functionName":"resolvePackageTarget","ranges":[{"startOffset":13910,"endOffset":16158,"count":50},{"startOffset":14103,"endOffset":14257,"count":37},{"startOffset":14257,"endOffset":16041,"count":13},{"startOffset":14289,"endOffset":15127,"count":2},{"startOffset":14320,"endOffset":14346,"count":0},{"startOffset":14666,"endOffset":14814,"count":0},{"startOffset":14854,"endOffset":14881,"count":0},{"startOffset":14916,"endOffset":14973,"count":0},{"startOffset":15007,"endOffset":15069,"count":0},{"startOffset":15077,"endOffset":15127,"count":0},{"startOffset":15127,"endOffset":16041,"count":11},{"startOffset":15280,"endOffset":15508,"count":26},{"startOffset":15338,"endOffset":15502,"count":0},{"startOffset":15551,"endOffset":15966,"count":19},{"startOffset":15608,"endOffset":15630,"count":16},{"startOffset":15632,"endOffset":15960,"count":11},{"startOffset":15913,"endOffset":15922,"count":0},{"startOffset":15966,"endOffset":16041,"count":0},{"startOffset":16041,"endOffset":16157,"count":0}],"isBlockCoverage":true},{"functionName":"isConditionalExportsMainSugar","ranges":[{"startOffset":16343,"endOffset":17278,"count":35},{"startOffset":16449,"endOffset":16473,"count":9},{"startOffset":16475,"endOffset":16487,"count":26},{"startOffset":16487,"endOffset":16541,"count":9},{"startOffset":16543,"endOffset":16556,"count":0},{"startOffset":16556,"endOffset":16696,"count":9},{"startOffset":16696,"endOffset":17247,"count":18},{"startOffset":16806,"endOffset":17243,"count":9},{"startOffset":16919,"endOffset":17243,"count":0},{"startOffset":17247,"endOffset":17277,"count":9}],"isBlockCoverage":true},{"functionName":"packageExportsResolve","ranges":[{"startOffset":17488,"endOffset":20047,"count":35},{"startOffset":17700,"endOffset":17727,"count":27},{"startOffset":18129,"endOffset":18203,"count":0},{"startOffset":18234,"endOffset":20046,"count":0}],"isBlockCoverage":true},{"functionName":"patternKeyCompare","ranges":[{"startOffset":20049,"endOffset":20580,"count":0}],"isBlockCoverage":false},{"functionName":"packageImportsResolve","ranges":[{"startOffset":20709,"endOffset":23166,"count":2},{"startOffset":20871,"endOffset":21024,"count":0},{"startOffset":21608,"endOffset":23100,"count":0},{"startOffset":23110,"endOffset":23165,"count":0}],"isBlockCoverage":true},{"functionName":"getPackageType","ranges":[{"startOffset":23271,"endOffset":23384,"count":116}],"isBlockCoverage":true},{"functionName":"parsePackageName","ranges":[{"startOffset":23546,"endOffset":24598,"count":52},{"startOffset":23737,"endOffset":23965,"count":1},{"startOffset":23817,"endOffset":23856,"count":0},{"startOffset":24027,"endOffset":24079,"count":0},{"startOffset":24256,"endOffset":24281,"count":0},{"startOffset":24308,"endOffset":24427,"count":0},{"startOffset":24488,"endOffset":24541,"count":0}],"isBlockCoverage":true},{"functionName":"packageResolve","ranges":[{"startOffset":24760,"endOffset":26832,"count":52},{"startOffset":24874,"endOffset":24920,"count":0},{"startOffset":25258,"endOffset":25375,"count":0},{"startOffset":25550,"endOffset":26617,"count":191},{"startOffset":25809,"endOffset":26086,"count":139},{"startOffset":25886,"endOffset":25923,"count":3},{"startOffset":25924,"endOffset":25950,"count":136},{"startOffset":26086,"endOffset":26267,"count":52},{"startOffset":26267,"endOffset":26384,"count":30},{"startOffset":26384,"endOffset":26526,"count":22},{"startOffset":26526,"endOffset":26617,"count":0},{"startOffset":26617,"endOffset":26831,"count":0}],"isBlockCoverage":true},{"functionName":"isBareSpecifier","ranges":[{"startOffset":26893,"endOffset":27003,"count":0}],"isBlockCoverage":false},{"functionName":"isRelativeSpecifier","ranges":[{"startOffset":27005,"endOffset":27276,"count":268},{"startOffset":27075,"endOffset":27258,"count":104},{"startOffset":27133,"endOffset":27145,"count":94},{"startOffset":27145,"endOffset":27254,"count":10},{"startOffset":27258,"endOffset":27275,"count":164}],"isBlockCoverage":true},{"functionName":"shouldBeTreatedAsRelativeOrAbsolutePath","ranges":[{"startOffset":27278,"endOffset":27461,"count":268},{"startOffset":27364,"endOffset":27377,"count":0},{"startOffset":27406,"endOffset":27418,"count":0}],"isBlockCoverage":true},{"functionName":"moduleResolve","ranges":[{"startOffset":27654,"endOffset":28445,"count":107},{"startOffset":27980,"endOffset":28026,"count":52},{"startOffset":28026,"endOffset":28316,"count":55},{"startOffset":28071,"endOffset":28143,"count":2},{"startOffset":28143,"endOffset":28316,"count":53},{"startOffset":28204,"endOffset":28312,"count":52},{"startOffset":28354,"endOffset":28380,"count":0}],"isBlockCoverage":true},{"functionName":"resolveAsCommonJS","ranges":[{"startOffset":28591,"endOffset":30048,"count":0}],"isBlockCoverage":false},{"functionName":"checkIfDisallowedImport","ranges":[{"startOffset":30110,"endOffset":31482,"count":161},{"startOffset":30204,"endOffset":31480,"count":160},{"startOffset":30416,"endOffset":31476,"count":0}],"isBlockCoverage":true},{"functionName":"throwIfInvalidParentURL","ranges":[{"startOffset":31557,"endOffset":31830,"count":161},{"startOffset":31634,"endOffset":31685,"count":1},{"startOffset":31685,"endOffset":31722,"count":160},{"startOffset":31722,"endOffset":31742,"count":0},{"startOffset":31744,"endOffset":31828,"count":0}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":31833,"endOffset":35819,"count":161},{"startOffset":31981,"endOffset":32000,"count":160},{"startOffset":31990,"endOffset":32000,"count":0},{"startOffset":32002,"endOffset":32811,"count":0},{"startOffset":32853,"endOffset":32958,"count":160},{"startOffset":32915,"endOffset":32954,"count":0},{"startOffset":33042,"endOffset":33101,"count":52},{"startOffset":33101,"endOffset":33149,"count":109},{"startOffset":33149,"endOffset":33423,"count":107},{"startOffset":33327,"endOffset":33415,"count":0},{"startOffset":33430,"endOffset":33489,"count":0},{"startOffset":33494,"endOffset":33529,"count":54},{"startOffset":33863,"endOffset":33882,"count":0},{"startOffset":33947,"endOffset":33977,"count":107},{"startOffset":33979,"endOffset":34022,"count":54},{"startOffset":34022,"endOffset":34081,"count":107},{"startOffset":34081,"endOffset":34579,"count":1},{"startOffset":34536,"endOffset":34575,"count":0},{"startOffset":34579,"endOffset":34735,"count":107},{"startOffset":34735,"endOffset":34757,"count":1},{"startOffset":34758,"endOffset":34776,"count":106},{"startOffset":34789,"endOffset":35593,"count":0},{"startOffset":35593,"endOffset":35818,"count":107}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":36211,"endOffset":36602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"179","url":"node:internal/modules/esm/package_config","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1412,"count":1}],"isBlockCoverage":false},{"functionName":"getPackageScopeConfig","ranges":[{"startOffset":269,"endOffset":1362,"count":170},{"startOffset":387,"endOffset":1107,"count":277},{"startOffset":521,"endOffset":541,"count":0},{"startOffset":731,"endOffset":766,"count":170},{"startOffset":766,"endOffset":1083,"count":107},{"startOffset":1083,"endOffset":1103,"count":0},{"startOffset":1107,"endOffset":1361,"count":0}],"isBlockCoverage":true}]},{"scriptId":"180","url":"node:internal/modules/esm/get_format","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4514,"count":1}],"isBlockCoverage":false},{"functionName":"node:","ranges":[{"startOffset":900,"endOffset":931,"count":14}],"isBlockCoverage":true},{"functionName":"getDataProtocolModuleFormat","ranges":[{"startOffset":996,"endOffset":1212,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":1487,"endOffset":1846,"count":129},{"startOffset":1587,"endOffset":1831,"count":400},{"startOffset":1649,"endOffset":1684,"count":0},{"startOffset":1692,"endOffset":1821,"count":129},{"startOffset":1780,"endOffset":1784,"count":0},{"startOffset":1831,"endOffset":1845,"count":0}],"isBlockCoverage":true},{"functionName":"getFileProtocolModuleFormat","ranges":[{"startOffset":1970,"endOffset":3175,"count":129},{"startOffset":2086,"endOffset":2160,"count":116},{"startOffset":2132,"endOffset":2142,"count":72},{"startOffset":2143,"endOffset":2155,"count":44},{"startOffset":2160,"endOffset":2232,"count":13},{"startOffset":2232,"endOffset":2467,"count":0},{"startOffset":2469,"endOffset":3174,"count":0}],"isBlockCoverage":true},{"functionName":"getHttpProtocolModuleFormat","ranges":[{"startOffset":3311,"endOffset":3656,"count":0}],"isBlockCoverage":false},{"functionName":"defaultGetFormatWithoutErrors","ranges":[{"startOffset":3801,"endOffset":4036,"count":129},{"startOffset":3955,"endOffset":3977,"count":0}],"isBlockCoverage":true},{"functionName":"defaultGetFormat","ranges":[{"startOffset":4181,"endOffset":4404,"count":14},{"startOffset":4322,"endOffset":4344,"count":0}],"isBlockCoverage":true}]},{"scriptId":"181","url":"node:internal/modules/esm/formats","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":856,"count":1}],"isBlockCoverage":false},{"functionName":"mimeToFormat","ranges":[{"startOffset":468,"endOffset":794,"count":0}],"isBlockCoverage":false}]},{"scriptId":"182","url":"node:internal/modules/esm/handle_process_exit","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":424,"count":1}],"isBlockCoverage":false},{"functionName":"handleProcessExit","ranges":[{"startOffset":298,"endOffset":379,"count":0}],"isBlockCoverage":false}]},{"scriptId":"183","url":"node:internal/modules/esm/module_job","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8786,"count":1}],"isBlockCoverage":false},{"functionName":"isCommonJSGlobalLikeNotDefinedError","ranges":[{"startOffset":917,"endOffset":1048,"count":0}],"isBlockCoverage":false},{"functionName":"ModuleJob","ranges":[{"startOffset":1286,"endOffset":3283,"count":97},{"startOffset":1811,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"link","ranges":[{"startOffset":2085,"endOffset":2900,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2541,"endOffset":2746,"count":158}],"isBlockCoverage":true},{"functionName":"instantiate","ranges":[{"startOffset":3287,"endOffset":3432,"count":4},{"startOffset":3344,"endOffset":3398,"count":3}],"isBlockCoverage":true},{"functionName":"_instantiate","ranges":[{"startOffset":3436,"endOffset":7090,"count":3},{"startOffset":3896,"endOffset":4073,"count":0},{"startOffset":4130,"endOffset":6843,"count":0},{"startOffset":6890,"endOffset":7086,"count":106}],"isBlockCoverage":true},{"functionName":"addJobsToDependencyGraph","ranges":[{"startOffset":3535,"endOffset":3795,"count":161},{"startOffset":3596,"endOffset":3621,"count":55},{"startOffset":3621,"endOffset":3794,"count":106}],"isBlockCoverage":true},{"functionName":"runSync","ranges":[{"startOffset":7094,"endOffset":7494,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":7498,"endOffset":8706,"count":4},{"startOffset":7673,"endOffset":8649,"count":0}],"isBlockCoverage":true}]},{"scriptId":"184","url":"node:internal/modules/esm/load","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6703,"count":1}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":1130,"endOffset":2357,"count":58},{"startOffset":1398,"endOffset":2223,"count":0},{"startOffset":2236,"endOffset":2246,"count":0},{"startOffset":2248,"endOffset":2304,"count":0}],"isBlockCoverage":true},{"functionName":"getSourceSync","ranges":[{"startOffset":2540,"endOffset":3279,"count":0}],"isBlockCoverage":false},{"functionName":"defaultLoad","ranges":[{"startOffset":3400,"endOffset":4067,"count":97},{"startOffset":3739,"endOffset":3827,"count":14},{"startOffset":3827,"endOffset":3855,"count":83},{"startOffset":3860,"endOffset":3884,"count":39},{"startOffset":3884,"endOffset":3986,"count":58}],"isBlockCoverage":true},{"functionName":"defaultLoadSync","ranges":[{"startOffset":4580,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfUnsupportedURLScheme","ranges":[{"startOffset":5367,"endOffset":5999,"count":97},{"startOffset":5597,"endOffset":5624,"count":14},{"startOffset":5625,"endOffset":5652,"count":14},{"startOffset":5653,"endOffset":5782,"count":0},{"startOffset":5787,"endOffset":5997,"count":0}],"isBlockCoverage":true},{"functionName":"throwUnknownModuleFormat","ranges":[{"startOffset":6378,"endOffset":6616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"185","url":"node:internal/fs/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29943,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCpPromises","ranges":[{"startOffset":2997,"endOffset":3089,"count":0}],"isBlockCoverage":false},{"functionName":"lazyFsStreams","ranges":[{"startOffset":3151,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3236,"endOffset":9299,"count":58}],"isBlockCoverage":false},{"functionName":"FileHandle","ranges":[{"startOffset":3377,"endOffset":3554,"count":58},{"startOffset":3491,"endOffset":3495,"count":0}],"isBlockCoverage":true},{"functionName":"getAsyncId","ranges":[{"startOffset":3558,"endOffset":3615,"count":0}],"isBlockCoverage":false},{"functionName":"get fd","ranges":[{"startOffset":3619,"endOffset":3655,"count":116}],"isBlockCoverage":true},{"functionName":"appendFile","ranges":[{"startOffset":3659,"endOffset":3741,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":3745,"endOffset":3801,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":3805,"endOffset":3869,"count":0}],"isBlockCoverage":false},{"functionName":"datasync","ranges":[{"startOffset":3873,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":3929,"endOffset":3973,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":3977,"endOffset":4086,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":4090,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":4175,"endOffset":4242,"count":0}],"isBlockCoverage":false},{"functionName":"readLines","ranges":[{"startOffset":4246,"endOffset":4389,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4393,"endOffset":4453,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":4457,"endOffset":4521,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":4525,"endOffset":4599,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":4603,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":4718,"endOffset":4801,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4805,"endOffset":4886,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":4898,"endOffset":5690,"count":58},{"startOffset":4932,"endOffset":4970,"count":0},{"startOffset":5001,"endOffset":5042,"count":0},{"startOffset":5268,"endOffset":5629,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5210,"endOffset":5252,"count":58}],"isBlockCoverage":true},{"functionName":".SafePromisePrototypeFinally.","ranges":[{"startOffset":5353,"endOffset":5465,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5468,"endOffset":5613,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5695,"endOffset":5754,"count":0}],"isBlockCoverage":false},{"functionName":"readableWebStream","ranges":[{"startOffset":5949,"endOffset":7635,"count":0}],"isBlockCoverage":false},{"functionName":"createReadStream","ranges":[{"startOffset":7933,"endOffset":8084,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":8333,"endOffset":8487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8491,"endOffset":8891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8895,"endOffset":8948,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8952,"endOffset":9039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9043,"endOffset":9076,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9080,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"handleFdClose","ranges":[{"startOffset":9301,"endOffset":9672,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9412,"endOffset":9471,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9458,"endOffset":9470,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9477,"endOffset":9664,"count":0}],"isBlockCoverage":false},{"functionName":"fsCall","ranges":[{"startOffset":9674,"endOffset":10134,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":10136,"endOffset":10256,"count":232},{"startOffset":10180,"endOffset":10189,"count":0},{"startOffset":10195,"endOffset":10254,"count":0}],"isBlockCoverage":true},{"functionName":"writeFileHandle","ranges":[{"startOffset":10258,"endOffset":11400,"count":0}],"isBlockCoverage":false},{"functionName":"readFileHandle","ranges":[{"startOffset":11402,"endOffset":13541,"count":58},{"startOffset":11554,"endOffset":11584,"count":0},{"startOffset":11864,"endOffset":11902,"count":0},{"startOffset":11935,"endOffset":11983,"count":0},{"startOffset":12016,"endOffset":12054,"count":0},{"startOffset":12296,"endOffset":12368,"count":0},{"startOffset":12512,"endOffset":12516,"count":0},{"startOffset":12601,"endOffset":12657,"count":0},{"startOffset":12751,"endOffset":12762,"count":0},{"startOffset":12819,"endOffset":12879,"count":0},{"startOffset":12927,"endOffset":12941,"count":0},{"startOffset":12943,"endOffset":13053,"count":0},{"startOffset":13084,"endOffset":13535,"count":0}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":13694,"endOffset":13915,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":13917,"endOffset":14186,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":14188,"endOffset":14546,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":14666,"endOffset":14991,"count":58}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":14993,"endOffset":16364,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":16366,"endOffset":16703,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":16705,"endOffset":17954,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":17956,"endOffset":18398,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":18400,"endOffset":18706,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":18708,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":18843,"endOffset":19002,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":19004,"endOffset":19208,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":19210,"endOffset":19581,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":19583,"endOffset":19672,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":19674,"endOffset":19755,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":19757,"endOffset":20234,"count":0}],"isBlockCoverage":false},{"functionName":"readdirRecursive","ranges":[{"startOffset":20236,"endOffset":21910,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":21912,"endOffset":22339,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":22341,"endOffset":22580,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":22582,"endOffset":23306,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":23308,"endOffset":23486,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":23488,"endOffset":23758,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":23760,"endOffset":24027,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":24029,"endOffset":24303,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":24305,"endOffset":24628,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":24630,"endOffset":24768,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":24770,"endOffset":24903,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":24905,"endOffset":25091,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":25093,"endOffset":25321,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":25323,"endOffset":25599,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":25601,"endOffset":25798,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":25800,"endOffset":26073,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":26075,"endOffset":26347,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":26349,"endOffset":26548,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":26550,"endOffset":26827,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":26829,"endOffset":27002,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":27004,"endOffset":27383,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":27385,"endOffset":28060,"count":0}],"isBlockCoverage":false},{"functionName":"isCustomIterable","ranges":[{"startOffset":28062,"endOffset":28176,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":28178,"endOffset":28419,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":28421,"endOffset":28765,"count":58},{"startOffset":28538,"endOffset":28544,"count":0},{"startOffset":28585,"endOffset":28622,"count":0}],"isBlockCoverage":true},{"functionName":"_watch","ranges":[{"startOffset":28767,"endOffset":29432,"count":0}],"isBlockCoverage":false}]},{"scriptId":"186","url":"node:internal/fs/rimraf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7454,"count":1}],"isBlockCoverage":false},{"functionName":"rimraf","ranges":[{"startOffset":1175,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_rimraf","ranges":[{"startOffset":1638,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERM","ranges":[{"startOffset":2499,"endOffset":2934,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdir","ranges":[{"startOffset":2937,"endOffset":3235,"count":0}],"isBlockCoverage":false},{"functionName":"_rmchildren","ranges":[{"startOffset":3238,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafPromises","ranges":[{"startOffset":3928,"endOffset":4126,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafSync","ranges":[{"startOffset":4129,"endOffset":4812,"count":0}],"isBlockCoverage":false},{"functionName":"_unlinkSync","ranges":[{"startOffset":4815,"endOffset":5444,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdirSync","ranges":[{"startOffset":5447,"endOffset":6944,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERMSync","ranges":[{"startOffset":6947,"endOffset":7394,"count":0}],"isBlockCoverage":false}]},{"scriptId":"187","url":"node:internal/fs/dir","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8071,"count":1}],"isBlockCoverage":false},{"functionName":"Dir","ranges":[{"startOffset":1177,"endOffset":1993,"count":0}],"isBlockCoverage":false},{"functionName":"get path","ranges":[{"startOffset":1997,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":2044,"endOffset":2111,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2115,"endOffset":3841,"count":0}],"isBlockCoverage":false},{"functionName":"processReadResult","ranges":[{"startOffset":3845,"endOffset":4099,"count":0}],"isBlockCoverage":false},{"functionName":"readSyncRecursive","ranges":[{"startOffset":4103,"endOffset":4676,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":4680,"endOffset":5656,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":5660,"endOffset":6349,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":6353,"endOffset":6730,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":6734,"endOffset":6997,"count":0}],"isBlockCoverage":false},{"functionName":"opendir","ranges":[{"startOffset":7177,"endOffset":7757,"count":0}],"isBlockCoverage":false},{"functionName":"opendirSync","ranges":[{"startOffset":7759,"endOffset":8014,"count":0}],"isBlockCoverage":false}]},{"scriptId":"188","url":"node:internal/fs/watchers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11242,"count":1}],"isBlockCoverage":false},{"functionName":"emitStop","ranges":[{"startOffset":1420,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher","ranges":[{"startOffset":1470,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"onchange","ranges":[{"startOffset":1820,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":2565,"endOffset":3399,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.start","ranges":[{"startOffset":3620,"endOffset":3628,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.stop","ranges":[{"startOffset":3874,"endOffset":4155,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":4244,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.ref","ranges":[{"startOffset":4702,"endOffset":4984,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.unref","ranges":[{"startOffset":5017,"endOffset":5267,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher","ranges":[{"startOffset":5271,"endOffset":6239,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.","ranges":[{"startOffset":6776,"endOffset":7686,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.start","ranges":[{"startOffset":7903,"endOffset":7911,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.close","ranges":[{"startOffset":8034,"endOffset":8371,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.ref","ranges":[{"startOffset":8400,"endOffset":8469,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.unref","ranges":[{"startOffset":8500,"endOffset":8571,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":8574,"endOffset":8626,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8850,"endOffset":8886,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8890,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":8967,"endOffset":11110,"count":0}],"isBlockCoverage":false}]},{"scriptId":"189","url":"node:internal/fs/recursive_watch","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7634,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFsPromises","ranges":[{"startOffset":812,"endOffset":919,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadFsSync","ranges":[{"startOffset":921,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"traverse","ranges":[{"startOffset":1037,"endOffset":1618,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1620,"endOffset":7580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"190","url":"node:internal/readline/interface","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":39029,"count":1}],"isBlockCoverage":false},{"functionName":"InterfaceConstructor","ranges":[{"startOffset":3781,"endOffset":9286,"count":0}],"isBlockCoverage":false},{"functionName":"Interface","ranges":[{"startOffset":9527,"endOffset":9627,"count":0}],"isBlockCoverage":false},{"functionName":"get columns","ranges":[{"startOffset":9630,"endOffset":9742,"count":0}],"isBlockCoverage":false},{"functionName":"setPrompt","ranges":[{"startOffset":9851,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"getPrompt","ranges":[{"startOffset":9996,"endOffset":10039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10043,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"prompt","ranges":[{"startOffset":10373,"endOffset":10627,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10631,"endOffset":10938,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10942,"endOffset":11184,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11188,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11279,"endOffset":11447,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11451,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11652,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12834,"endOffset":13839,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13923,"endOffset":14094,"count":0}],"isBlockCoverage":false},{"functionName":"pause","ranges":[{"startOffset":14175,"endOffset":14306,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":14398,"endOffset":14534,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":14805,"endOffset":14964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14968,"endOffset":16702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16706,"endOffset":17375,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17379,"endOffset":17778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17782,"endOffset":19990,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19994,"endOffset":20455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20459,"endOffset":20717,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20721,"endOffset":21203,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21207,"endOffset":21688,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21692,"endOffset":22452,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22456,"endOffset":22883,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22887,"endOffset":23165,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23169,"endOffset":23427,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23431,"endOffset":23691,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23695,"endOffset":23850,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23854,"endOffset":24529,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":24533,"endOffset":24682,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24686,"endOffset":24840,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24844,"endOffset":25031,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25035,"endOffset":25343,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25347,"endOffset":25655,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26090,"endOffset":26724,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26728,"endOffset":27436,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27511,"endOffset":28451,"count":0}],"isBlockCoverage":false},{"functionName":"getCursorPos","ranges":[{"startOffset":28628,"endOffset":28797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":28916,"endOffset":29473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29510,"endOffset":37760,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38068,"endOffset":38448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"191","url":"node:internal/readline/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12396,"count":1}],"isBlockCoverage":false},{"functionName":"CSI","ranges":[{"startOffset":385,"endOffset":579,"count":4},{"startOffset":544,"endOffset":559,"count":0}],"isBlockCoverage":true},{"functionName":"charLengthLeft","ranges":[{"startOffset":958,"endOffset":1220,"count":0}],"isBlockCoverage":false},{"functionName":"charLengthAt","ranges":[{"startOffset":1222,"endOffset":1484,"count":0}],"isBlockCoverage":false},{"functionName":"emitKeys","ranges":[{"startOffset":2213,"endOffset":11840,"count":0}],"isBlockCoverage":false},{"functionName":"commonPrefix","ranges":[{"startOffset":11870,"endOffset":12283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"192","url":"node:internal/readline/callbacks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2754,"count":1}],"isBlockCoverage":false},{"functionName":"cursorTo","ranges":[{"startOffset":460,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"moveCursor","ranges":[{"startOffset":1210,"endOffset":1722,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":1869,"endOffset":2272,"count":0}],"isBlockCoverage":false},{"functionName":"clearScreenDown","ranges":[{"startOffset":2349,"endOffset":2672,"count":0}],"isBlockCoverage":false}]},{"scriptId":"193","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/base.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7557,"count":1},{"startOffset":7375,"endOffset":7491,"count":0},{"startOffset":7522,"endOffset":7556,"count":0}],"isBlockCoverage":true},{"functionName":"exit","ranges":[{"startOffset":1052,"endOffset":1240,"count":1}],"isBlockCoverage":true},{"functionName":"handleProcessExit","ranges":[{"startOffset":1268,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":1946,"endOffset":6902,"count":1},{"startOffset":2368,"endOffset":2565,"count":0},{"startOffset":5638,"endOffset":5643,"count":0},{"startOffset":5646,"endOffset":5671,"count":0},{"startOffset":5908,"endOffset":5943,"count":0},{"startOffset":5944,"endOffset":5979,"count":0},{"startOffset":5981,"endOffset":6410,"count":0},{"startOffset":6682,"endOffset":6752,"count":0},{"startOffset":6756,"endOffset":6900,"count":0}],"isBlockCoverage":true},{"functionName":"checkSelectedByLineNumbers","ranges":[{"startOffset":2550,"endOffset":2561,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3090,"endOffset":3122,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3204,"endOffset":3232,"count":44}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3256,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3420,"endOffset":4245,"count":1},{"startOffset":3523,"endOffset":3593,"count":0},{"startOffset":3598,"endOffset":3756,"count":0},{"startOffset":3831,"endOffset":4000,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3813,"endOffset":3823,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4030,"endOffset":4240,"count":1},{"startOffset":4087,"endOffset":4223,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4282,"endOffset":4421,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4602,"endOffset":4633,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4642,"endOffset":4668,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4927,"endOffset":5129,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":5197,"endOffset":5585,"count":1},{"startOffset":5343,"endOffset":5584,"count":0}],"isBlockCoverage":true},{"functionName":"onError","ranges":[{"startOffset":6921,"endOffset":7139,"count":0}],"isBlockCoverage":false}]},{"scriptId":"194","url":"node:internal/deps/cjs-module-lexer/dist/lexer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":33616,"count":1}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":116,"endOffset":813,"count":25},{"startOffset":146,"endOffset":181,"count":0},{"startOffset":222,"endOffset":237,"count":0},{"startOffset":273,"endOffset":308,"count":1},{"startOffset":332,"endOffset":334,"count":0},{"startOffset":406,"endOffset":553,"count":0},{"startOffset":601,"endOffset":650,"count":1},{"startOffset":663,"endOffset":696,"count":0},{"startOffset":709,"endOffset":773,"count":71}],"isBlockCoverage":true},{"functionName":"B","ranges":[{"startOffset":813,"endOffset":1040,"count":72},{"startOffset":840,"endOffset":852,"count":71},{"startOffset":853,"endOffset":862,"count":70},{"startOffset":862,"endOffset":913,"count":2},{"startOffset":913,"endOffset":1023,"count":25},{"startOffset":958,"endOffset":1022,"count":0},{"startOffset":1023,"endOffset":1032,"count":2},{"startOffset":1032,"endOffset":1039,"count":0}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":1040,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"C","ranges":[{"startOffset":1141,"endOffset":1215,"count":25},{"startOffset":1192,"endOffset":1214,"count":73749}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":1221,"endOffset":33616,"count":6},{"startOffset":1245,"endOffset":33615,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1251,"endOffset":33611,"count":1},{"startOffset":33455,"endOffset":33524,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":33505,"endOffset":33523,"count":0}],"isBlockCoverage":false}]},{"scriptId":"195","url":"node:module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":397,"count":1}],"isBlockCoverage":false}]},{"scriptId":"196","url":"node:internal/source_map/source_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12067,"count":1}],"isBlockCoverage":false},{"functionName":"StringCharIterator","ranges":[{"startOffset":4000,"endOffset":4076,"count":3}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":4114,"endOffset":4192,"count":10712}],"isBlockCoverage":true},{"functionName":"peek","ranges":[{"startOffset":4230,"endOffset":4306,"count":6782}],"isBlockCoverage":true},{"functionName":"hasNext","ranges":[{"startOffset":4345,"endOffset":4409,"count":281}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4550,"endOffset":10030,"count":3}],"isBlockCoverage":false},{"functionName":"SourceMap","ranges":[{"startOffset":4738,"endOffset":5237,"count":3},{"startOffset":4820,"endOffset":5049,"count":1},{"startOffset":5012,"endOffset":5043,"count":64}],"isBlockCoverage":true},{"functionName":"get payload","ranges":[{"startOffset":5302,"endOffset":5365,"count":0}],"isBlockCoverage":false},{"functionName":"get lineLengths","ranges":[{"startOffset":5455,"endOffset":5588,"count":0}],"isBlockCoverage":false},{"functionName":"#parseMappingPayload","ranges":[{"startOffset":5615,"endOffset":5836,"count":3},{"startOffset":5655,"endOffset":5713,"count":0}],"isBlockCoverage":true},{"functionName":"#parseSections","ranges":[{"startOffset":5921,"endOffset":6108,"count":0}],"isBlockCoverage":false},{"functionName":"findEntry","ranges":[{"startOffset":6355,"endOffset":7219,"count":22},{"startOffset":6473,"endOffset":6791,"count":196},{"startOffset":6621,"endOffset":6690,"count":146},{"startOffset":6661,"endOffset":6689,"count":108},{"startOffset":6692,"endOffset":6723,"count":97},{"startOffset":6723,"endOffset":6785,"count":99},{"startOffset":6848,"endOffset":6856,"count":0},{"startOffset":6857,"endOffset":6947,"count":0},{"startOffset":6949,"endOffset":6973,"count":0},{"startOffset":6991,"endOffset":7015,"count":0}],"isBlockCoverage":true},{"functionName":"findOrigin","ranges":[{"startOffset":7487,"endOffset":8162,"count":0}],"isBlockCoverage":false},{"functionName":"#parseMap","ranges":[{"startOffset":8193,"endOffset":10028,"count":3},{"startOffset":8645,"endOffset":8669,"count":0},{"startOffset":8679,"endOffset":8733,"count":0},{"startOffset":8869,"endOffset":10024,"count":2064},{"startOffset":8924,"endOffset":8950,"count":1783},{"startOffset":8950,"endOffset":9185,"count":281},{"startOffset":9014,"endOffset":9117,"count":315},{"startOffset":9171,"endOffset":9177,"count":3},{"startOffset":9185,"endOffset":9290,"count":2061},{"startOffset":9290,"endOffset":9389,"count":0},{"startOffset":9389,"endOffset":9481,"count":2061},{"startOffset":9481,"endOffset":9573,"count":0},{"startOffset":9573,"endOffset":9758,"count":2061},{"startOffset":9758,"endOffset":9858,"count":3},{"startOffset":9858,"endOffset":10024,"count":2061}],"isBlockCoverage":true},{"functionName":"isSeparator","ranges":[{"startOffset":10085,"endOffset":10154,"count":4122},{"startOffset":10136,"endOffset":10151,"count":2339}],"isBlockCoverage":true},{"functionName":"decodeVLQ","ranges":[{"startOffset":10244,"endOffset":11177,"count":8247},{"startOffset":10364,"endOffset":10496,"count":8614},{"startOffset":10739,"endOffset":10763,"count":7961},{"startOffset":10763,"endOffset":11176,"count":286}],"isBlockCoverage":true},{"functionName":"cloneSourceMapV3","ranges":[{"startOffset":11244,"endOffset":11556,"count":3},{"startOffset":11376,"endOffset":11536,"count":18},{"startOffset":11469,"endOffset":11532,"count":6}],"isBlockCoverage":true},{"functionName":"compareSourceMapEntry","ranges":[{"startOffset":11751,"endOffset":12030,"count":2058},{"startOffset":11945,"endOffset":11988,"count":275},{"startOffset":11988,"endOffset":12029,"count":1783}],"isBlockCoverage":true}]},{"scriptId":"197","url":"node:process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":83,"count":1}],"isBlockCoverage":false}]},{"scriptId":"198","url":"node:internal/process/report","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2644,"count":1}],"isBlockCoverage":false},{"functionName":"writeReport","ranges":[{"startOffset":352,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getReport","ranges":[{"startOffset":775,"endOffset":940,"count":0}],"isBlockCoverage":false},{"functionName":"get directory","ranges":[{"startOffset":944,"endOffset":995,"count":0}],"isBlockCoverage":false},{"functionName":"set directory","ranges":[{"startOffset":999,"endOffset":1087,"count":0}],"isBlockCoverage":false},{"functionName":"get filename","ranges":[{"startOffset":1091,"endOffset":1140,"count":0}],"isBlockCoverage":false},{"functionName":"set filename","ranges":[{"startOffset":1144,"endOffset":1232,"count":0}],"isBlockCoverage":false},{"functionName":"get compact","ranges":[{"startOffset":1236,"endOffset":1283,"count":0}],"isBlockCoverage":false},{"functionName":"set compact","ranges":[{"startOffset":1287,"endOffset":1364,"count":0}],"isBlockCoverage":false},{"functionName":"get signal","ranges":[{"startOffset":1368,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"set signal","ranges":[{"startOffset":1417,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnFatalError","ranges":[{"startOffset":1558,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnFatalError","ranges":[{"startOffset":1634,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnSignal","ranges":[{"startOffset":1756,"endOffset":1820,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnSignal","ranges":[{"startOffset":1824,"endOffset":1985,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnUncaughtException","ranges":[{"startOffset":1989,"endOffset":2075,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnUncaughtException","ranges":[{"startOffset":2079,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"addSignalHandler","ranges":[{"startOffset":2217,"endOffset":2388,"count":0}],"isBlockCoverage":false},{"functionName":"removeSignalHandler","ranges":[{"startOffset":2390,"endOffset":2514,"count":0}],"isBlockCoverage":false},{"functionName":"signalHandler","ranges":[{"startOffset":2516,"endOffset":2590,"count":0}],"isBlockCoverage":false}]},{"scriptId":"199","url":"node:url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":32640,"count":1}],"isBlockCoverage":false},{"functionName":"Url","ranges":[{"startOffset":2149,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"urlParse","ranges":[{"startOffset":3430,"endOffset":4035,"count":0}],"isBlockCoverage":false},{"functionName":"isIpv6Hostname","ranges":[{"startOffset":4037,"endOffset":4260,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":5081,"endOffset":15159,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname","ranges":[{"startOffset":15190,"endOffset":16135,"count":0}],"isBlockCoverage":false},{"functionName":"autoEscapeStr","ranges":[{"startOffset":17192,"endOffset":17898,"count":0}],"isBlockCoverage":false},{"functionName":"urlFormat","ranges":[{"startOffset":17944,"endOffset":19115,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":19822,"endOffset":22199,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolve","ranges":[{"startOffset":22202,"endOffset":22301,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":22327,"endOffset":22428,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolveObject","ranges":[{"startOffset":22431,"endOffset":22574,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObject","ranges":[{"startOffset":22606,"endOffset":31725,"count":0}],"isBlockCoverage":false},{"functionName":"parseHost","ranges":[{"startOffset":31754,"endOffset":32027,"count":0}],"isBlockCoverage":false},{"functionName":"pathToFileURL","ranges":[{"startOffset":32248,"endOffset":32344,"count":1}],"isBlockCoverage":true}]},{"scriptId":"200","url":"node:internal/idna","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":124,"count":1}],"isBlockCoverage":false}]},{"scriptId":"202","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/chalk.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":351,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":197,"endOffset":350,"count":1},{"startOffset":238,"endOffset":298,"count":0}],"isBlockCoverage":true}]},{"scriptId":"203","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/provider-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":455,"endOffset":1345,"count":1},{"startOffset":1293,"endOffset":1312,"count":0}],"isBlockCoverage":true},{"functionName":"negotiateProtocol","ranges":[{"startOffset":665,"endOffset":1273,"count":1},{"startOffset":840,"endOffset":978,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":748,"endOffset":803,"count":2}],"isBlockCoverage":true},{"functionName":"findFiles","ranges":[{"startOffset":1047,"endOffset":1178,"count":0}],"isBlockCoverage":false},{"functionName":"typescript","ranges":[{"startOffset":1383,"endOffset":1462,"count":1}],"isBlockCoverage":true}]},{"scriptId":"204","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17,"count":1}],"isBlockCoverage":true}]},{"scriptId":"205","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/runner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15654,"count":1}],"isBlockCoverage":true},{"functionName":"makeFileURL","ranges":[{"startOffset":520,"endOffset":594,"count":1},{"startOffset":555,"endOffset":561,"count":0}],"isBlockCoverage":true},{"functionName":"Runner","ranges":[{"startOffset":644,"endOffset":5705,"count":1},{"startOffset":725,"endOffset":730,"count":0},{"startOffset":978,"endOffset":983,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.registerUniqueTitle","ranges":[{"startOffset":1787,"endOffset":1911,"count":11},{"startOffset":1834,"endOffset":1858,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.notifyTimeoutUpdate","ranges":[{"startOffset":1943,"endOffset":2058,"count":0}],"isBlockCoverage":false},{"functionName":"get snapshotDirectory","ranges":[{"startOffset":2187,"endOffset":2366,"count":0}],"isBlockCoverage":false},{"functionName":"Runner.chain.createChain.serial","ranges":[{"startOffset":2401,"endOffset":5489,"count":11},{"startOffset":2480,"endOffset":2630,"count":0},{"startOffset":2656,"endOffset":2769,"count":1},{"startOffset":2925,"endOffset":2990,"count":0},{"startOffset":3014,"endOffset":3813,"count":0},{"startOffset":3846,"endOffset":3965,"count":0},{"startOffset":4006,"endOffset":4093,"count":0},{"startOffset":4134,"endOffset":4205,"count":0},{"startOffset":4267,"endOffset":4522,"count":0},{"startOffset":4600,"endOffset":4669,"count":0},{"startOffset":4714,"endOffset":4730,"count":0},{"startOffset":4870,"endOffset":4992,"count":0},{"startOffset":5028,"endOffset":5072,"count":0},{"startOffset":5117,"endOffset":5131,"count":0},{"startOffset":5365,"endOffset":5480,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2706,"endOffset":2762,"count":1}],"isBlockCoverage":true},{"functionName":"get snapshots","ranges":[{"startOffset":5708,"endOffset":6318,"count":12},{"startOffset":5749,"endOffset":5781,"count":11},{"startOffset":5781,"endOffset":6317,"count":1}],"isBlockCoverage":true},{"functionName":"compareTestSnapshot","ranges":[{"startOffset":6321,"endOffset":6396,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":6399,"endOffset":6472,"count":0}],"isBlockCoverage":false},{"functionName":"saveSnapshotState","ranges":[{"startOffset":6475,"endOffset":6559,"count":1}],"isBlockCoverage":true},{"functionName":"onRun","ranges":[{"startOffset":6562,"endOffset":6620,"count":11}],"isBlockCoverage":true},{"functionName":"onRunComplete","ranges":[{"startOffset":6623,"endOffset":6692,"count":11}],"isBlockCoverage":true},{"functionName":"beforeExitHandler","ranges":[{"startOffset":6695,"endOffset":6809,"count":0}],"isBlockCoverage":false},{"functionName":"runMultiple","ranges":[{"startOffset":6812,"endOffset":8056,"count":36}],"isBlockCoverage":true},{"functionName":"runAndStoreResult","ranges":[{"startOffset":6923,"endOffset":7081,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7150,"endOffset":7998,"count":0}],"isBlockCoverage":false},{"functionName":"runSingle","ranges":[{"startOffset":8059,"endOffset":8330,"count":11}],"isBlockCoverage":true},{"functionName":"runHooks","ranges":[{"startOffset":8333,"endOffset":9506,"count":36},{"startOffset":9070,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8427,"endOffset":8959,"count":0}],"isBlockCoverage":false},{"functionName":"runTest","ranges":[{"startOffset":9509,"endOffset":11470,"count":11},{"startOffset":10007,"endOffset":10073,"count":0},{"startOffset":10940,"endOffset":11271,"count":0}],"isBlockCoverage":true},{"functionName":"Runnable.fn","ranges":[{"startOffset":10009,"endOffset":10073,"count":0}],"isBlockCoverage":false},{"functionName":"start","ranges":[{"startOffset":11473,"endOffset":15605,"count":1},{"startOffset":11619,"endOffset":12250,"count":11},{"startOffset":11650,"endOffset":11677,"count":0},{"startOffset":11679,"endOffset":11766,"count":0},{"startOffset":11807,"endOffset":11833,"count":0},{"startOffset":11835,"endOffset":11922,"count":0},{"startOffset":12133,"endOffset":12206,"count":0},{"startOffset":12296,"endOffset":12988,"count":0},{"startOffset":13028,"endOffset":13347,"count":0},{"startOffset":13454,"endOffset":13550,"count":0},{"startOffset":15547,"endOffset":15602,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13777,"endOffset":14380,"count":1},{"startOffset":13868,"endOffset":13892,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13923,"endOffset":14368,"count":11},{"startOffset":14108,"endOffset":14139,"count":0},{"startOffset":14268,"endOffset":14284,"count":0},{"startOffset":14286,"endOffset":14312,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14460,"endOffset":15058,"count":1},{"startOffset":14653,"endOffset":14669,"count":0},{"startOffset":14672,"endOffset":14696,"count":0},{"startOffset":14767,"endOffset":14790,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14971,"endOffset":15016,"count":0}],"isBlockCoverage":false},{"functionName":"interrupt","ranges":[{"startOffset":15608,"endOffset":15651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"206","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/serialize-error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4398,"count":1}],"isBlockCoverage":true},{"functionName":"isAvaAssertionError","ranges":[{"startOffset":385,"endOffset":467,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":469,"endOffset":614,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFile","ranges":[{"startOffset":616,"endOffset":756,"count":0}],"isBlockCoverage":false},{"functionName":"extractSource","ranges":[{"startOffset":795,"endOffset":1211,"count":0}],"isBlockCoverage":false},{"functionName":"buildSource","ranges":[{"startOffset":1213,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"trySerializeError","ranges":[{"startOffset":1957,"endOffset":3743,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":3760,"endOffset":4397,"count":0}],"isBlockCoverage":false}]},{"scriptId":"207","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/dependency-tracker.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":866,"count":1}],"isBlockCoverage":true},{"functionName":"flush","ranges":[{"startOffset":138,"endOffset":302,"count":2},{"startOffset":192,"endOffset":301,"count":1}],"isBlockCoverage":true},{"functionName":"track","ranges":[{"startOffset":304,"endOffset":519,"count":194},{"startOffset":368,"endOffset":382,"count":0},{"startOffset":419,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"install","ranges":[{"startOffset":556,"endOffset":836,"count":1},{"startOffset":633,"endOffset":833,"count":3}],"isBlockCoverage":true},{"functionName":"extensions.","ranges":[{"startOffset":700,"endOffset":828,"count":193}],"isBlockCoverage":true}]},{"scriptId":"208","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/line-numbers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3832,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":215,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"findTest","ranges":[{"startOffset":878,"endOffset":1452,"count":0}],"isBlockCoverage":false},{"functionName":"range","ranges":[{"startOffset":1468,"endOffset":1574,"count":0}],"isBlockCoverage":false},{"functionName":"translate","ranges":[{"startOffset":1595,"endOffset":2066,"count":0}],"isBlockCoverage":false},{"functionName":"lineNumberSelection","ranges":[{"startOffset":2084,"endOffset":3831,"count":1},{"startOffset":2196,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2334,"endOffset":3828,"count":0}],"isBlockCoverage":false}]},{"scriptId":"209","url":"node:internal/fs/streams","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14758,"count":1}],"isBlockCoverage":false},{"functionName":"_construct","ranges":[{"startOffset":1063,"endOffset":1966,"count":0}],"isBlockCoverage":false},{"functionName":"FileHandleOperations","ranges":[{"startOffset":2059,"endOffset":3058,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":3061,"endOffset":3238,"count":0}],"isBlockCoverage":false},{"functionName":"importFd","ranges":[{"startOffset":3240,"endOffset":4237,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream","ranges":[{"startOffset":4239,"endOffset":5982,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6171,"endOffset":6226,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6230,"endOffset":6287,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6323,"endOffset":6348,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._read","ranges":[{"startOffset":6524,"endOffset":7655,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._destroy","ranges":[{"startOffset":7690,"endOffset":8251,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.close","ranges":[{"startOffset":8283,"endOffset":8369,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8449,"endOffset":8483,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":8512,"endOffset":10303,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":10495,"endOffset":10550,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10554,"endOffset":10611,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10648,"endOffset":10673,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":10824,"endOffset":11617,"count":0}],"isBlockCoverage":false},{"functionName":"writevAll","ranges":[{"startOffset":11619,"endOffset":12436,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._write","ranges":[{"startOffset":12469,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._writev","ranges":[{"startOffset":12888,"endOffset":13450,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._destroy","ranges":[{"startOffset":13486,"endOffset":14047,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.close","ranges":[{"startOffset":14080,"endOffset":14462,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":14644,"endOffset":14678,"count":0}],"isBlockCoverage":false}]},{"scriptId":"210","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5900,"count":1},{"startOffset":1472,"endOffset":1706,"count":45},{"startOffset":2476,"endOffset":3149,"count":3},{"startOffset":5468,"endOffset":5471,"count":0}],"isBlockCoverage":true},{"functionName":"applyOptions","ranges":[{"startOffset":571,"endOffset":950,"count":5},{"startOffset":618,"endOffset":699,"count":3},{"startOffset":701,"endOffset":779,"count":0},{"startOffset":870,"endOffset":873,"count":0},{"startOffset":919,"endOffset":931,"count":2},{"startOffset":932,"endOffset":947,"count":3}],"isBlockCoverage":true},{"functionName":"Chalk","ranges":[{"startOffset":975,"endOffset":1084,"count":3}],"isBlockCoverage":true},{"functionName":"chalkFactory","ranges":[{"startOffset":1109,"endOffset":1275,"count":5}],"isBlockCoverage":true},{"functionName":"chalk","ranges":[{"startOffset":1137,"endOffset":1170,"count":0}],"isBlockCoverage":false},{"functionName":"createChalk","ranges":[{"startOffset":1278,"endOffset":1342,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1499,"endOffset":1699,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1728,"endOffset":1875,"count":0}],"isBlockCoverage":false},{"functionName":"getModelAnsi","ranges":[{"startOffset":1902,"endOffset":2394,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2499,"endOffset":2771,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2866,"endOffset":3142,"count":0}],"isBlockCoverage":false},{"functionName":"Object.defineProperties","ranges":[{"startOffset":3189,"endOffset":3197,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3245,"endOffset":3289,"count":20}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3293,"endOffset":3343,"count":0}],"isBlockCoverage":false},{"functionName":"createStyler","ranges":[{"startOffset":3375,"endOffset":3650,"count":4},{"startOffset":3500,"endOffset":3583,"count":0}],"isBlockCoverage":true},{"functionName":"createBuilder","ranges":[{"startOffset":3675,"endOffset":4243,"count":4}],"isBlockCoverage":true},{"functionName":"builder","ranges":[{"startOffset":3848,"endOffset":3959,"count":20},{"startOffset":3936,"endOffset":3958,"count":0}],"isBlockCoverage":true},{"functionName":"applyStyle","ranges":[{"startOffset":4265,"endOffset":5300,"count":20},{"startOffset":4318,"endOffset":4361,"count":0},{"startOffset":4419,"endOffset":4440,"count":0},{"startOffset":4511,"endOffset":4840,"count":0},{"startOffset":5177,"endOffset":5260,"count":0}],"isBlockCoverage":true}]},{"scriptId":"211","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/globs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6300,"count":1}],"isBlockCoverage":true},{"functionName":"buildExtensionPattern","ranges":[{"startOffset":755,"endOffset":838,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeGlobs","ranges":[{"startOffset":848,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"globFiles","ranges":[{"startOffset":3027,"endOffset":3288,"count":0}],"isBlockCoverage":false},{"functionName":"globDirectoriesSync","ranges":[{"startOffset":3319,"endOffset":3578,"count":0}],"isBlockCoverage":false},{"functionName":"findFiles","ranges":[{"startOffset":3588,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"findTests","ranges":[{"startOffset":3771,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getChokidarIgnorePatterns","ranges":[{"startOffset":3974,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"applyTestFileFilter","ranges":[{"startOffset":4200,"endOffset":6299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"212","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13357,"count":1}],"isBlockCoverage":true},{"functionName":"assertEventName","ranges":[{"startOffset":349,"endOffset":569,"count":54},{"startOffset":422,"endOffset":454,"count":4},{"startOffset":455,"endOffset":487,"count":0},{"startOffset":489,"endOffset":567,"count":0}],"isBlockCoverage":true},{"functionName":"assertListener","ranges":[{"startOffset":571,"endOffset":704,"count":4},{"startOffset":644,"endOffset":702,"count":0}],"isBlockCoverage":true},{"functionName":"getListeners","ranges":[{"startOffset":706,"endOffset":869,"count":54},{"startOffset":821,"endOffset":835,"count":8},{"startOffset":835,"endOffset":868,"count":46}],"isBlockCoverage":true},{"functionName":"getEventProducers","ranges":[{"startOffset":871,"endOffset":1175,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueProducers","ranges":[{"startOffset":1177,"endOffset":1587,"count":50},{"startOffset":1315,"endOffset":1408,"count":0},{"startOffset":1550,"endOffset":1582,"count":0}],"isBlockCoverage":true},{"functionName":"iterator","ranges":[{"startOffset":1589,"endOffset":2972,"count":0}],"isBlockCoverage":false},{"functionName":"defaultMethodNamesOrAssert","ranges":[{"startOffset":2974,"endOffset":3495,"count":0}],"isBlockCoverage":false},{"functionName":"isMetaEvent","ranges":[{"startOffset":3517,"endOffset":3590,"count":108},{"startOffset":3558,"endOffset":3590,"count":96}],"isBlockCoverage":true},{"functionName":"emitMetaEvent","ranges":[{"startOffset":3593,"endOffset":3808,"count":4}],"isBlockCoverage":true},{"functionName":"mixin","ranges":[{"startOffset":3850,"endOffset":4933,"count":0}],"isBlockCoverage":false},{"functionName":"get isDebugEnabled","ranges":[{"startOffset":4943,"endOffset":5528,"count":54},{"startOffset":5304,"endOffset":5341,"count":0},{"startOffset":5432,"endOffset":5444,"count":0}],"isBlockCoverage":true},{"functionName":"set isDebugEnabled","ranges":[{"startOffset":5538,"endOffset":5606,"count":0}],"isBlockCoverage":false},{"functionName":"Emittery","ranges":[{"startOffset":5609,"endOffset":6731,"count":1}],"isBlockCoverage":true},{"functionName":"Emittery.debug.logger","ranges":[{"startOffset":5961,"endOffset":6723,"count":0}],"isBlockCoverage":false},{"functionName":"logIfDebugEnabled","ranges":[{"startOffset":6734,"endOffset":6910,"count":54},{"startOffset":6835,"endOffset":6907,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":6913,"endOffset":7515,"count":4},{"startOffset":7010,"endOffset":7022,"count":0}],"isBlockCoverage":true},{"functionName":"off","ranges":[{"startOffset":7518,"endOffset":8087,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":8090,"endOffset":8292,"count":0}],"isBlockCoverage":false},{"functionName":"events","ranges":[{"startOffset":8295,"endOffset":8501,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":8504,"endOffset":9384,"count":50},{"startOffset":8599,"endOffset":8620,"count":4},{"startOffset":8622,"endOffset":8724,"count":0},{"startOffset":8882,"endOffset":8894,"count":4},{"startOffset":9031,"endOffset":9035,"count":4},{"startOffset":9036,"endOffset":9055,"count":46}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9131,"endOffset":9229,"count":46}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9261,"endOffset":9373,"count":0}],"isBlockCoverage":false},{"functionName":"emitSerial","ranges":[{"startOffset":9387,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"onAny","ranges":[{"startOffset":10237,"endOffset":10478,"count":0}],"isBlockCoverage":false},{"functionName":"anyEvent","ranges":[{"startOffset":10481,"endOffset":10521,"count":0}],"isBlockCoverage":false},{"functionName":"offAny","ranges":[{"startOffset":10524,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"clearListeners","ranges":[{"startOffset":10733,"endOffset":11739,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":11742,"endOffset":12458,"count":0}],"isBlockCoverage":false},{"functionName":"bindMethods","ranges":[{"startOffset":12461,"endOffset":12966,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13051,"endOffset":13075,"count":14}],"isBlockCoverage":true}]},{"scriptId":"213","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/matcher/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2646,"count":1}],"isBlockCoverage":true},{"functionName":"sanitizeArray","ranges":[{"startOffset":110,"endOffset":713,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegexp","ranges":[{"startOffset":735,"endOffset":1261,"count":0}],"isBlockCoverage":false},{"functionName":"baseMatcher","ranges":[{"startOffset":1284,"endOffset":2412,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2422,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"isMatch","ranges":[{"startOffset":2533,"endOffset":2645,"count":0}],"isBlockCoverage":false}]},{"scriptId":"214","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/context-ref.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":555,"count":1}],"isBlockCoverage":true},{"functionName":"ContextRef","ranges":[{"startOffset":35,"endOffset":72,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":75,"endOffset":106,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":109,"endOffset":152,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":155,"endOffset":198,"count":11}],"isBlockCoverage":true},{"functionName":"LateBinding","ranges":[{"startOffset":242,"endOffset":314,"count":11}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":317,"endOffset":487,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":490,"endOffset":552,"count":0}],"isBlockCoverage":false}]},{"scriptId":"215","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/create-chain.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4371,"count":1}],"isBlockCoverage":true},{"functionName":"startChain","ranges":[{"startOffset":38,"endOffset":265,"count":11}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":94,"endOffset":140,"count":0}],"isBlockCoverage":false},{"functionName":"extendChain","ranges":[{"startOffset":267,"endOffset":633,"count":27},{"startOffset":324,"endOffset":343,"count":7}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":357,"endOffset":412,"count":11}],"isBlockCoverage":true},{"functionName":"callWithFlag","ranges":[{"startOffset":635,"endOffset":965,"count":11},{"startOffset":870,"endOffset":942,"count":0}],"isBlockCoverage":true},{"functionName":"createHookChain","ranges":[{"startOffset":967,"endOffset":1316,"count":8},{"startOffset":1217,"endOffset":1299,"count":4}],"isBlockCoverage":true},{"functionName":"createChain","ranges":[{"startOffset":1333,"endOffset":4370,"count":1}],"isBlockCoverage":true},{"functionName":"root.macro","ranges":[{"startOffset":3411,"endOffset":3580,"count":0}],"isBlockCoverage":false},{"functionName":"apply","ranges":[{"startOffset":4105,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4196,"endOffset":4341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"216","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/parse-test-args.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":701,"count":1}],"isBlockCoverage":true},{"functionName":"buildTitle","ranges":[{"startOffset":19,"endOffset":366,"count":11},{"startOffset":104,"endOffset":140,"count":0}],"isBlockCoverage":true},{"functionName":"parseTestArgs","ranges":[{"startOffset":384,"endOffset":700,"count":11},{"startOffset":476,"endOffset":487,"count":0},{"startOffset":602,"endOffset":623,"count":0}],"isBlockCoverage":true}]},{"scriptId":"217","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/snapshot-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13174,"count":1}],"isBlockCoverage":true},{"functionName":"SnapshotError","ranges":[{"startOffset":1259,"endOffset":1371,"count":0}],"isBlockCoverage":false},{"functionName":"ChecksumError","ranges":[{"startOffset":1427,"endOffset":1524,"count":0}],"isBlockCoverage":false},{"functionName":"VersionMismatchError","ranges":[{"startOffset":1587,"endOffset":1774,"count":0}],"isBlockCoverage":false},{"functionName":"InvalidSnapshotError","ranges":[{"startOffset":1837,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"isLegacySnapshot","ranges":[{"startOffset":2016,"endOffset":2144,"count":0}],"isBlockCoverage":false},{"functionName":"LegacyError","ranges":[{"startOffset":2196,"endOffset":2294,"count":0}],"isBlockCoverage":false},{"functionName":"tryRead","ranges":[{"startOffset":2298,"endOffset":2454,"count":1},{"startOffset":2433,"endOffset":2452,"count":0}],"isBlockCoverage":true},{"functionName":"formatEntry","ranges":[{"startOffset":2456,"endOffset":2875,"count":0}],"isBlockCoverage":false},{"functionName":"combineEntries","ranges":[{"startOffset":2877,"endOffset":3292,"count":0}],"isBlockCoverage":false},{"functionName":"generateReport","ranges":[{"startOffset":3294,"endOffset":3611,"count":0}],"isBlockCoverage":false},{"functionName":"BufferBuilder","ranges":[{"startOffset":3636,"endOffset":3698,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":3701,"endOffset":3818,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3821,"endOffset":4011,"count":0}],"isBlockCoverage":false},{"functionName":"toBuffer","ranges":[{"startOffset":4014,"endOffset":4084,"count":0}],"isBlockCoverage":false},{"functionName":"sortBlocks","ranges":[{"startOffset":4088,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"encodeSnapshots","ranges":[{"startOffset":4450,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"decodeSnapshots","ranges":[{"startOffset":5016,"endOffset":5987,"count":0}],"isBlockCoverage":false},{"functionName":"Manager","ranges":[{"startOffset":6006,"endOffset":6530,"count":1}],"isBlockCoverage":true},{"functionName":"touch","ranges":[{"startOffset":6533,"endOffset":6604,"count":11}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":6607,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"recordSerialized","ranges":[{"startOffset":7345,"endOffset":8027,"count":0}],"isBlockCoverage":false},{"functionName":"deferRecord","ranges":[{"startOffset":8030,"endOffset":8370,"count":0}],"isBlockCoverage":false},{"functionName":"record","ranges":[{"startOffset":8373,"endOffset":8449,"count":0}],"isBlockCoverage":false},{"functionName":"skipBlock","ranges":[{"startOffset":8452,"endOffset":8587,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":8590,"endOffset":9164,"count":0}],"isBlockCoverage":false},{"functionName":"save","ranges":[{"startOffset":9167,"endOffset":10106,"count":1},{"startOffset":9266,"endOffset":9301,"count":0},{"startOffset":9303,"endOffset":9421,"count":0},{"startOffset":9468,"endOffset":10105,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9565,"endOffset":9604,"count":0}],"isBlockCoverage":false},{"functionName":"tmpfileCreated","ranges":[{"startOffset":9845,"endOffset":9878,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10140,"endOffset":10658,"count":1},{"startOffset":10399,"endOffset":10420,"count":0},{"startOffset":10441,"endOffset":10632,"count":0},{"startOffset":10635,"endOffset":10655,"count":0}],"isBlockCoverage":true},{"functionName":"mem.cacheKey.file.file","ranges":[{"startOffset":10702,"endOffset":11285,"count":1},{"startOffset":10819,"endOffset":10947,"count":0},{"startOffset":11054,"endOffset":11104,"count":0},{"startOffset":11265,"endOffset":11284,"count":0}],"isBlockCoverage":true},{"functionName":"cacheKey","ranges":[{"startOffset":11298,"endOffset":11316,"count":1}],"isBlockCoverage":true},{"functionName":"determineSnapshotPaths","ranges":[{"startOffset":11321,"endOffset":11775,"count":1}],"isBlockCoverage":true},{"functionName":"cleanFile","ranges":[{"startOffset":11777,"endOffset":11941,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":11950,"endOffset":13173,"count":1},{"startOffset":12141,"endOffset":12274,"count":0},{"startOffset":12552,"endOffset":13125,"count":0},{"startOffset":13126,"endOffset":13141,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12700,"endOffset":12737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"218","url":"node:internal/file","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1801,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":424,"endOffset":1563,"count":0}],"isBlockCoverage":false}]},{"scriptId":"219","url":"node:crypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8825,"count":1}],"isBlockCoverage":false},{"functionName":"lazyWebCrypto","ranges":[{"startOffset":3084,"endOffset":3186,"count":6}],"isBlockCoverage":true},{"functionName":"lazyOwnsProcessState","ranges":[{"startOffset":3210,"endOffset":3340,"count":0}],"isBlockCoverage":false},{"functionName":"createHash","ranges":[{"startOffset":3482,"endOffset":3564,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3566,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"createCipheriv","ranges":[{"startOffset":3668,"endOffset":3770,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipher","ranges":[{"startOffset":3772,"endOffset":3876,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipheriv","ranges":[{"startOffset":3878,"endOffset":3984,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellman","ranges":[{"startOffset":3986,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellmanGroup","ranges":[{"startOffset":4144,"endOffset":4226,"count":0}],"isBlockCoverage":false},{"functionName":"createECDH","ranges":[{"startOffset":4228,"endOffset":4284,"count":0}],"isBlockCoverage":false},{"functionName":"createHmac","ranges":[{"startOffset":4286,"endOffset":4368,"count":0}],"isBlockCoverage":false},{"functionName":"createSign","ranges":[{"startOffset":4370,"endOffset":4452,"count":0}],"isBlockCoverage":false},{"functionName":"createVerify","ranges":[{"startOffset":4454,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"getFips","ranges":[{"startOffset":5583,"endOffset":5668,"count":0}],"isBlockCoverage":false},{"functionName":"setFips","ranges":[{"startOffset":5670,"endOffset":5954,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":5956,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6125,"endOffset":6379,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6383,"endOffset":6572,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomBytesAlias","ranges":[{"startOffset":6621,"endOffset":7454,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6719,"endOffset":7209,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7215,"endOffset":7446,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8198,"endOffset":8238,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8350,"endOffset":8397,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8523,"endOffset":8544,"count":3}],"isBlockCoverage":true}]},{"scriptId":"220","url":"node:internal/crypto/random","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16246,"count":1}],"isBlockCoverage":false},{"functionName":"assertOffset","ranges":[{"startOffset":1260,"endOffset":1626,"count":0}],"isBlockCoverage":false},{"functionName":"assertSize","ranges":[{"startOffset":1628,"endOffset":2089,"count":0}],"isBlockCoverage":false},{"functionName":"randomBytes","ranges":[{"startOffset":2091,"endOffset":2634,"count":0}],"isBlockCoverage":false},{"functionName":"randomFillSync","ranges":[{"startOffset":2636,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"randomFill","ranges":[{"startOffset":3306,"endOffset":4352,"count":0}],"isBlockCoverage":false},{"functionName":"randomInt","ranges":[{"startOffset":4902,"endOffset":7142,"count":0}],"isBlockCoverage":false},{"functionName":"asyncRefillRandomIntCache","ranges":[{"startOffset":7144,"endOffset":8020,"count":0}],"isBlockCoverage":false},{"functionName":"onJobDone","ranges":[{"startOffset":8023,"endOffset":8185,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":8417,"endOffset":9033,"count":0}],"isBlockCoverage":false},{"functionName":"getHexBytes","ranges":[{"startOffset":9398,"endOffset":9697,"count":0}],"isBlockCoverage":false},{"functionName":"serializeUUID","ranges":[{"startOffset":9699,"endOffset":10425,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedUUID","ranges":[{"startOffset":10427,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"getUnbufferedUUID","ranges":[{"startOffset":10732,"endOffset":10970,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":10972,"endOffset":11292,"count":0}],"isBlockCoverage":false},{"functionName":"createRandomPrimeJob","ranges":[{"startOffset":11294,"endOffset":12527,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrime","ranges":[{"startOffset":12529,"endOffset":12985,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrimeSync","ranges":[{"startOffset":12987,"endOffset":13245,"count":0}],"isBlockCoverage":false},{"functionName":"numberToHexCharCode","ranges":[{"startOffset":13519,"endOffset":13563,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBufferToUnsignedBigInt","ranges":[{"startOffset":13638,"endOffset":14065,"count":0}],"isBlockCoverage":false},{"functionName":"unsignedBigIntToBuffer","ranges":[{"startOffset":14067,"endOffset":14364,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrime","ranges":[{"startOffset":14366,"endOffset":15259,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrimeSync","ranges":[{"startOffset":15261,"endOffset":16059,"count":0}],"isBlockCoverage":false}]},{"scriptId":"221","url":"node:internal/crypto/pbkdf2","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3018,"count":1}],"isBlockCoverage":false},{"functionName":"pbkdf2","ranges":[{"startOffset":472,"endOffset":1136,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2Sync","ranges":[{"startOffset":1138,"endOffset":1543,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1545,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2DeriveBits","ranges":[{"startOffset":2059,"endOffset":2950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"222","url":"node:internal/crypto/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14973,"count":1}],"isBlockCoverage":false},{"functionName":"toBuf","ranges":[{"startOffset":1730,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1943,"endOffset":1986,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2020,"endOffset":2062,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2096,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"setEngine","ranges":[{"startOffset":2142,"endOffset":2549,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2596,"endOffset":3060,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBufferLength","ranges":[{"startOffset":6504,"endOffset":6717,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeAlgorithm","ranges":[{"startOffset":6943,"endOffset":9378,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayBuffer","ranges":[{"startOffset":9380,"endOffset":9519,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteOffset","ranges":[{"startOffset":9521,"endOffset":9672,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteLength","ranges":[{"startOffset":9674,"endOffset":9825,"count":0}],"isBlockCoverage":false},{"functionName":"hasAnyNotIn","ranges":[{"startOffset":9827,"endOffset":9966,"count":0}],"isBlockCoverage":false},{"functionName":"validateBitLength","ranges":[{"startOffset":9968,"endOffset":10310,"count":0}],"isBlockCoverage":false},{"functionName":"validateByteLength","ranges":[{"startOffset":10312,"endOffset":10508,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10553,"endOffset":10822,"count":0}],"isBlockCoverage":false},{"functionName":"onDone","ranges":[{"startOffset":10826,"endOffset":11058,"count":0}],"isBlockCoverage":false},{"functionName":"jobPromise","ranges":[{"startOffset":11060,"endOffset":11330,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedInt","ranges":[{"startOffset":11866,"endOffset":12146,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedBigInt","ranges":[{"startOffset":12148,"endOffset":12384,"count":0}],"isBlockCoverage":false},{"functionName":"getStringOption","ranges":[{"startOffset":12386,"endOffset":12551,"count":0}],"isBlockCoverage":false},{"functionName":"getUsagesUnion","ranges":[{"startOffset":12553,"endOffset":12765,"count":0}],"isBlockCoverage":false},{"functionName":"getBlockSize","ranges":[{"startOffset":12767,"endOffset":12948,"count":0}],"isBlockCoverage":false},{"functionName":"validateKeyOps","ranges":[{"startOffset":13087,"endOffset":14053,"count":0}],"isBlockCoverage":false},{"functionName":"secureHeapUsed","ranges":[{"startOffset":14055,"endOffset":14438,"count":0}],"isBlockCoverage":false}]},{"scriptId":"223","url":"node:internal/crypto/hashnames","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2520,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeHashName","ranges":[{"startOffset":1890,"endOffset":2133,"count":0}],"isBlockCoverage":false}]},{"scriptId":"224","url":"node:internal/crypto/scrypt","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3331,"count":1}],"isBlockCoverage":false},{"functionName":"scrypt","ranges":[{"startOffset":626,"endOffset":1292,"count":0}],"isBlockCoverage":false},{"functionName":"scryptSync","ranges":[{"startOffset":1294,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1702,"endOffset":3283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"225","url":"node:internal/crypto/hkdf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3304,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":816,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"prepareKey","ranges":[{"startOffset":1274,"endOffset":1702,"count":0}],"isBlockCoverage":false},{"functionName":"hkdf","ranges":[{"startOffset":1704,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfSync","ranges":[{"startOffset":2172,"endOffset":2510,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfDeriveBits","ranges":[{"startOffset":2549,"endOffset":3242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"226","url":"node:internal/crypto/keys","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21401,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2331,"endOffset":6452,"count":1}],"isBlockCoverage":true},{"functionName":"KeyObject","ranges":[{"startOffset":2441,"endOffset":2983,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":2989,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":3049,"endOffset":3190,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":3196,"endOffset":3480,"count":0}],"isBlockCoverage":false},{"functionName":"SecretKeyObject","ranges":[{"startOffset":3698,"endOffset":3756,"count":0}],"isBlockCoverage":false},{"functionName":"get symmetricKeySize","ranges":[{"startOffset":3762,"endOffset":3842,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":3848,"endOffset":4196,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeKeyDetails","ranges":[{"startOffset":4329,"endOffset":4598,"count":0}],"isBlockCoverage":false},{"functionName":"AsymmetricKeyObject","ranges":[{"startOffset":4707,"endOffset":4767,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyType","ranges":[{"startOffset":4773,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyDetails","ranges":[{"startOffset":4931,"endOffset":5308,"count":0}],"isBlockCoverage":false},{"functionName":"PublicKeyObject","ranges":[{"startOffset":5372,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5436,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"PrivateKeyObject","ranges":[{"startOffset":5792,"endOffset":5851,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5857,"endOffset":6371,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormat","ranges":[{"startOffset":6456,"endOffset":6841,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyType","ranges":[{"startOffset":6843,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"option","ranges":[{"startOffset":7697,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormatAndType","ranges":[{"startOffset":7820,"endOffset":8520,"count":0}],"isBlockCoverage":false},{"functionName":"isStringOrBuffer","ranges":[{"startOffset":8522,"endOffset":8659,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":8661,"endOffset":10019,"count":0}],"isBlockCoverage":false},{"functionName":"parsePublicKeyEncoding","ranges":[{"startOffset":10218,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"parsePrivateKeyEncoding","ranges":[{"startOffset":10554,"endOffset":10670,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandle","ranges":[{"startOffset":10672,"endOffset":11250,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyTypes","ranges":[{"startOffset":11252,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandleFromJwk","ranges":[{"startOffset":11759,"endOffset":14308,"count":0}],"isBlockCoverage":false},{"functionName":"prepareAsymmetricKey","ranges":[{"startOffset":14310,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"preparePrivateKey","ranges":[{"startOffset":15855,"endOffset":15943,"count":0}],"isBlockCoverage":false},{"functionName":"preparePublicOrPrivateKey","ranges":[{"startOffset":15945,"endOffset":16040,"count":0}],"isBlockCoverage":false},{"functionName":"prepareSecretKey","ranges":[{"startOffset":16042,"endOffset":16740,"count":0}],"isBlockCoverage":false},{"functionName":"createSecretKey","ranges":[{"startOffset":16742,"endOffset":16946,"count":0}],"isBlockCoverage":false},{"functionName":"createPublicKey","ranges":[{"startOffset":16948,"endOffset":17285,"count":0}],"isBlockCoverage":false},{"functionName":"createPrivateKey","ranges":[{"startOffset":17287,"endOffset":17628,"count":0}],"isBlockCoverage":false},{"functionName":"isKeyObject","ranges":[{"startOffset":17630,"endOffset":17712,"count":0}],"isBlockCoverage":false},{"functionName":"CryptoKey","ranges":[{"startOffset":18135,"endOffset":18195,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18199,"endOffset":18548,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":18552,"endOffset":18687,"count":0}],"isBlockCoverage":false},{"functionName":"get extractable","ranges":[{"startOffset":18691,"endOffset":18830,"count":0}],"isBlockCoverage":false},{"functionName":"get algorithm","ranges":[{"startOffset":18834,"endOffset":18969,"count":0}],"isBlockCoverage":false},{"functionName":"get usages","ranges":[{"startOffset":18973,"endOffset":19116,"count":0}],"isBlockCoverage":false},{"functionName":"InternalCryptoKey","ranges":[{"startOffset":19694,"endOffset":20173,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20177,"endOffset":20529,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20533,"endOffset":20737,"count":0}],"isBlockCoverage":false},{"functionName":"isCryptoKey","ranges":[{"startOffset":20866,"endOffset":20950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"227","url":"node:internal/crypto/keygen","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10712,"count":1}],"isBlockCoverage":false},{"functionName":"isJwk","ranges":[{"startOffset":1183,"endOffset":1253,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":1255,"endOffset":1409,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPair","ranges":[{"startOffset":1411,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPairSync","ranges":[{"startOffset":2193,"endOffset":2310,"count":0}],"isBlockCoverage":false},{"functionName":"handleError","ranges":[{"startOffset":2312,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":2692,"endOffset":3942,"count":0}],"isBlockCoverage":false},{"functionName":"createJob","ranges":[{"startOffset":3944,"endOffset":9232,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyJob","ranges":[{"startOffset":9263,"endOffset":9800,"count":0}],"isBlockCoverage":false},{"functionName":"handleGenerateKeyError","ranges":[{"startOffset":9802,"endOffset":10004,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":10006,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeySync","ranges":[{"startOffset":10478,"endOffset":10612,"count":0}],"isBlockCoverage":false}]},{"scriptId":"228","url":"node:internal/crypto/diffiehellman","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9910,"count":1}],"isBlockCoverage":false},{"functionName":"DiffieHellman","ranges":[{"startOffset":1232,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"DiffieHellmanGroup","ranges":[{"startOffset":3039,"endOffset":3365,"count":0}],"isBlockCoverage":false},{"functionName":"dhGenerateKeys","ranges":[{"startOffset":3476,"endOffset":3591,"count":0}],"isBlockCoverage":false},{"functionName":"dhComputeSecret","ranges":[{"startOffset":3705,"endOffset":3963,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrime","ranges":[{"startOffset":4062,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetGenerator","ranges":[{"startOffset":4282,"endOffset":4407,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPublicKey","ranges":[{"startOffset":4518,"endOffset":4631,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrivateKey","ranges":[{"startOffset":4745,"endOffset":4860,"count":0}],"isBlockCoverage":false},{"functionName":"setPublicKey","ranges":[{"startOffset":4902,"endOffset":5044,"count":0}],"isBlockCoverage":false},{"functionName":"setPrivateKey","ranges":[{"startOffset":5088,"endOffset":5232,"count":0}],"isBlockCoverage":false},{"functionName":"ECDH","ranges":[{"startOffset":5236,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeys","ranges":[{"startOffset":5701,"endOffset":5823,"count":0}],"isBlockCoverage":false},{"functionName":"getPublicKey","ranges":[{"startOffset":5856,"endOffset":6007,"count":0}],"isBlockCoverage":false},{"functionName":"convertKey","ranges":[{"startOffset":6028,"endOffset":6294,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6297,"endOffset":6432,"count":0}],"isBlockCoverage":false},{"functionName":"getFormat","ranges":[{"startOffset":6434,"endOffset":6757,"count":0}],"isBlockCoverage":false},{"functionName":"diffieHellman","ranges":[{"startOffset":6831,"endOffset":7899,"count":0}],"isBlockCoverage":false},{"functionName":"ecdhDeriveBits","ranges":[{"startOffset":8018,"endOffset":9804,"count":0}],"isBlockCoverage":false}]},{"scriptId":"229","url":"node:internal/crypto/cipher","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10199,"count":1}],"isBlockCoverage":false},{"functionName":"rsaFunctionFor","ranges":[{"startOffset":1233,"endOffset":1981,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1301,"endOffset":1978,"count":0}],"isBlockCoverage":false},{"functionName":"getDecoder","ranges":[{"startOffset":2482,"endOffset":2848,"count":0}],"isBlockCoverage":false},{"functionName":"getUIntOption","ranges":[{"startOffset":2850,"endOffset":3084,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherBase","ranges":[{"startOffset":3086,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3507,"endOffset":3742,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherWithIV","ranges":[{"startOffset":3744,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"Cipher","ranges":[{"startOffset":4326,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":4670,"endOffset":4786,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":4815,"endOffset":4953,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":4982,"endOffset":5498,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5527,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"setAutoPadding","ranges":[{"startOffset":5809,"endOffset":5956,"count":0}],"isBlockCoverage":false},{"functionName":"getAuthTag","ranges":[{"startOffset":5989,"endOffset":6149,"count":0}],"isBlockCoverage":false},{"functionName":"setAuthTag","ranges":[{"startOffset":6153,"endOffset":6365,"count":0}],"isBlockCoverage":false},{"functionName":"setAAD","ranges":[{"startOffset":6393,"endOffset":6735,"count":0}],"isBlockCoverage":false},{"functionName":"Cipheriv","ranges":[{"startOffset":6983,"endOffset":7193,"count":0}],"isBlockCoverage":false},{"functionName":"addCipherPrototypeFunctions","ranges":[{"startOffset":7195,"endOffset":7786,"count":3},{"startOffset":7591,"endOffset":7664,"count":1},{"startOffset":7664,"endOffset":7726,"count":2}],"isBlockCoverage":true},{"functionName":"Decipher","ranges":[{"startOffset":8187,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"Decipheriv","ranges":[{"startOffset":8800,"endOffset":9017,"count":0}],"isBlockCoverage":false},{"functionName":"getCipherInfo","ranges":[{"startOffset":9179,"endOffset":10040,"count":0}],"isBlockCoverage":false}]},{"scriptId":"230","url":"node:internal/streams/lazy_transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1535,"count":1}],"isBlockCoverage":false},{"functionName":"LazyTransform","ranges":[{"startOffset":401,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"makeGetter","ranges":[{"startOffset":595,"endOffset":918,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":632,"endOffset":915,"count":0}],"isBlockCoverage":false},{"functionName":"makeSetter","ranges":[{"startOffset":920,"endOffset":1139,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":957,"endOffset":1136,"count":0}],"isBlockCoverage":false}]},{"scriptId":"231","url":"node:internal/crypto/sig","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6942,"count":1}],"isBlockCoverage":false},{"functionName":"Sign","ranges":[{"startOffset":870,"endOffset":1129,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":1252,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":1371,"endOffset":1684,"count":0}],"isBlockCoverage":false},{"functionName":"getPadding","ranges":[{"startOffset":1687,"endOffset":1762,"count":0}],"isBlockCoverage":false},{"functionName":"getSaltLength","ranges":[{"startOffset":1764,"endOffset":1845,"count":0}],"isBlockCoverage":false},{"functionName":"getDSASignatureEncoding","ranges":[{"startOffset":1847,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"getIntOption","ranges":[{"startOffset":2201,"endOffset":2446,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":2470,"endOffset":3086,"count":0}],"isBlockCoverage":false},{"functionName":"signOneShot","ranges":[{"startOffset":3089,"endOffset":4307,"count":0}],"isBlockCoverage":false},{"functionName":"Verify","ranges":[{"startOffset":4309,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":4804,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"verifyOneShot","ranges":[{"startOffset":5390,"endOffset":6868,"count":0}],"isBlockCoverage":false}]},{"scriptId":"232","url":"node:internal/crypto/hash","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4553,"count":1}],"isBlockCoverage":false},{"functionName":"Hash","ranges":[{"startOffset":954,"endOffset":1474,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":1605,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1804,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":1936,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":2043,"endOffset":2507,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":2535,"endOffset":2856,"count":0}],"isBlockCoverage":false},{"functionName":"Hmac","ranges":[{"startOffset":2859,"endOffset":3259,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":3440,"endOffset":3872,"count":0}],"isBlockCoverage":false},{"functionName":"asyncDigest","ranges":[{"startOffset":4027,"endOffset":4498,"count":0}],"isBlockCoverage":false}]},{"scriptId":"233","url":"node:internal/crypto/x509","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9909,"count":1}],"isBlockCoverage":false},{"functionName":"isX509Certificate","ranges":[{"startOffset":1155,"endOffset":1238,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":1240,"endOffset":2485,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2487,"endOffset":2649,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2651,"endOffset":9663,"count":0}],"isBlockCoverage":false}]},{"scriptId":"234","url":"node:internal/crypto/certificate","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1546,"count":1}],"isBlockCoverage":false},{"functionName":"verifySpkac","ranges":[{"startOffset":385,"endOffset":505,"count":0}],"isBlockCoverage":false},{"functionName":"exportPublicKey","ranges":[{"startOffset":507,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"exportChallenge","ranges":[{"startOffset":637,"endOffset":765,"count":0}],"isBlockCoverage":false},{"functionName":"Certificate","ranges":[{"startOffset":1122,"endOffset":1216,"count":0}],"isBlockCoverage":false}]},{"scriptId":"235","url":"node:internal/crypto/webcrypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30940,"count":1}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":1190,"endOffset":1799,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":1801,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":1913,"endOffset":4408,"count":0}],"isBlockCoverage":false},{"functionName":"deriveBits","ranges":[{"startOffset":4410,"endOffset":5970,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyLength","ranges":[{"startOffset":5972,"endOffset":6592,"count":0}],"isBlockCoverage":false},{"functionName":"deriveKey","ranges":[{"startOffset":6594,"endOffset":8774,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeySpki","ranges":[{"startOffset":8776,"endOffset":9754,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyPkcs8","ranges":[{"startOffset":9756,"endOffset":10743,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyRaw","ranges":[{"startOffset":10745,"endOffset":11678,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyJWK","ranges":[{"startOffset":11680,"endOffset":13210,"count":0}],"isBlockCoverage":false},{"functionName":"exportKey","ranges":[{"startOffset":13212,"endOffset":14072,"count":0}],"isBlockCoverage":false},{"functionName":"importGenericSecretKey","ranges":[{"startOffset":14074,"endOffset":15424,"count":0}],"isBlockCoverage":false},{"functionName":"importKey","ranges":[{"startOffset":15426,"endOffset":18168,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":18261,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapKey","ranges":[{"startOffset":19891,"endOffset":21854,"count":0}],"isBlockCoverage":false},{"functionName":"signVerify","ranges":[{"startOffset":21856,"endOffset":22959,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":22961,"endOffset":23587,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":23589,"endOffset":24346,"count":0}],"isBlockCoverage":false},{"functionName":"cipherOrWrap","ranges":[{"startOffset":24348,"endOffset":25759,"count":0}],"isBlockCoverage":false},{"functionName":"encrypt","ranges":[{"startOffset":25761,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"decrypt","ranges":[{"startOffset":26489,"endOffset":27215,"count":0}],"isBlockCoverage":false},{"functionName":"SubtleCrypto","ranges":[{"startOffset":27371,"endOffset":27431,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27466,"endOffset":27479,"count":1}],"isBlockCoverage":true},{"functionName":"Crypto","ranges":[{"startOffset":27518,"endOffset":27578,"count":0}],"isBlockCoverage":true},{"functionName":"get subtle","ranges":[{"startOffset":27582,"endOffset":27682,"count":3},{"startOffset":27622,"endOffset":27659,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27717,"endOffset":27730,"count":1}],"isBlockCoverage":true},{"functionName":"getRandomValues","ranges":[{"startOffset":27746,"endOffset":28079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"236","url":"node:zlib","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29534,"count":1}],"isBlockCoverage":false},{"functionName":"zlibBuffer","ranges":[{"startOffset":3530,"endOffset":4157,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnData","ranges":[{"startOffset":4159,"endOffset":4490,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnError","ranges":[{"startOffset":4492,"endOffset":4577,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnEnd","ranges":[{"startOffset":4579,"endOffset":4909,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferSync","ranges":[{"startOffset":4911,"endOffset":5452,"count":0}],"isBlockCoverage":false},{"functionName":"zlibOnError","ranges":[{"startOffset":5454,"endOffset":5768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5993,"endOffset":6329,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6633,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase","ranges":[{"startOffset":7161,"endOffset":9213,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9438,"endOffset":9475,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9918,"endOffset":9964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10111,"endOffset":10163,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.reset","ranges":[{"startOffset":10304,"endOffset":10412,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._flush","ranges":[{"startOffset":10558,"endOffset":10630,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._final","ranges":[{"startOffset":10697,"endOffset":10733,"count":0}],"isBlockCoverage":false},{"functionName":"maxFlush","ranges":[{"startOffset":11331,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.flush","ranges":[{"startOffset":11847,"endOffset":12249,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.close","ranges":[{"startOffset":12279,"endOffset":12361,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._destroy","ranges":[{"startOffset":12394,"endOffset":12454,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._transform","ranges":[{"startOffset":12489,"endOffset":13023,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._processChunk","ranges":[{"startOffset":13061,"endOffset":13290,"count":0}],"isBlockCoverage":false},{"functionName":"processChunkSync","ranges":[{"startOffset":13293,"endOffset":15578,"count":0}],"isBlockCoverage":false},{"functionName":"processChunk","ranges":[{"startOffset":15580,"endOffset":16170,"count":0}],"isBlockCoverage":false},{"functionName":"processCallback","ranges":[{"startOffset":16172,"endOffset":18474,"count":0}],"isBlockCoverage":false},{"functionName":"_close","ranges":[{"startOffset":18476,"endOffset":18666,"count":0}],"isBlockCoverage":false},{"functionName":"Zlib","ranges":[{"startOffset":18863,"endOffset":21181,"count":0}],"isBlockCoverage":false},{"functionName":"paramsAfterFlushCallback","ranges":[{"startOffset":21531,"endOffset":21797,"count":0}],"isBlockCoverage":false},{"functionName":"params","ranges":[{"startOffset":21823,"endOffset":22290,"count":0}],"isBlockCoverage":false},{"functionName":"Deflate","ranges":[{"startOffset":22334,"endOffset":22469,"count":0}],"isBlockCoverage":false},{"functionName":"Inflate","ranges":[{"startOffset":22565,"endOffset":22700,"count":0}],"isBlockCoverage":false},{"functionName":"Gzip","ranges":[{"startOffset":22796,"endOffset":22919,"count":0}],"isBlockCoverage":false},{"functionName":"Gunzip","ranges":[{"startOffset":23009,"endOffset":23140,"count":0}],"isBlockCoverage":false},{"functionName":"DeflateRaw","ranges":[{"startOffset":23234,"endOffset":23439,"count":0}],"isBlockCoverage":false},{"functionName":"InflateRaw","ranges":[{"startOffset":23541,"endOffset":23688,"count":0}],"isBlockCoverage":false},{"functionName":"Unzip","ranges":[{"startOffset":23790,"endOffset":23917,"count":0}],"isBlockCoverage":false},{"functionName":"createConvenienceMethod","ranges":[{"startOffset":24009,"endOffset":24398,"count":18},{"startOffset":24068,"endOffset":24397,"count":9}],"isBlockCoverage":true},{"functionName":"syncBufferWrapper","ranges":[{"startOffset":24081,"endOffset":24182,"count":0}],"isBlockCoverage":false},{"functionName":"asyncBufferWrapper","ranges":[{"startOffset":24197,"endOffset":24395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24483,"endOffset":24570,"count":107},{"startOffset":24541,"endOffset":24561,"count":9},{"startOffset":24562,"endOffset":24569,"count":98}],"isBlockCoverage":true},{"functionName":"Brotli","ranges":[{"startOffset":24789,"endOffset":26126,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliCompress","ranges":[{"startOffset":26220,"endOffset":26384,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliDecompress","ranges":[{"startOffset":26498,"endOffset":26668,"count":0}],"isBlockCoverage":false},{"functionName":"createProperty","ranges":[{"startOffset":26787,"endOffset":26973,"count":9}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":26908,"endOffset":26965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27202,"endOffset":27238,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":27242,"endOffset":27283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"237","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16298,"count":1}],"isBlockCoverage":true},{"functionName":"hasOwnProperty","ranges":[{"startOffset":362,"endOffset":430,"count":0}],"isBlockCoverage":false},{"functionName":"isExternalAssertError","ranges":[{"startOffset":433,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"formatErrorValue","ranges":[{"startOffset":865,"endOffset":1002,"count":0}],"isBlockCoverage":false},{"functionName":"captureSavedError","ranges":[{"startOffset":1030,"endOffset":1237,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext","ranges":[{"startOffset":1316,"endOffset":4497,"count":11}],"isBlockCoverage":true},{"functionName":"pass","ranges":[{"startOffset":1349,"endOffset":1395,"count":16}],"isBlockCoverage":true},{"functionName":"pending","ranges":[{"startOffset":1400,"endOffset":1462,"count":4}],"isBlockCoverage":true},{"functionName":"fail","ranges":[{"startOffset":1467,"endOffset":1521,"count":0}],"isBlockCoverage":false},{"functionName":"skip","ranges":[{"startOffset":1526,"endOffset":1572,"count":0}],"isBlockCoverage":false},{"functionName":"compareWithSnapshot","ranges":[{"startOffset":1598,"endOffset":1642,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.snapshot.skip","ranges":[{"startOffset":1778,"endOffset":1813,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.log","ranges":[{"startOffset":1829,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan","ranges":[{"startOffset":2064,"endOffset":2120,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan.skip","ranges":[{"startOffset":2142,"endOffset":2150,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.timeout","ranges":[{"startOffset":2170,"endOffset":2222,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.teardown","ranges":[{"startOffset":2243,"endOffset":2291,"count":14}],"isBlockCoverage":true},{"functionName":"ExecutionContext.try","ranges":[{"startOffset":2307,"endOffset":4493,"count":0}],"isBlockCoverage":false},{"functionName":"get title","ranges":[{"startOffset":4500,"endOffset":4550,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4553,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"set context","ranges":[{"startOffset":4619,"endOffset":4689,"count":0}],"isBlockCoverage":false},{"functionName":"get passed","ranges":[{"startOffset":4692,"endOffset":4803,"count":0}],"isBlockCoverage":false},{"functionName":"Test","ranges":[{"startOffset":4836,"endOffset":7739,"count":11},{"startOffset":4940,"endOffset":4945,"count":0}],"isBlockCoverage":true},{"functionName":"Test.compareWithSnapshot","ranges":[{"startOffset":5648,"endOffset":6084,"count":0}],"isBlockCoverage":false},{"functionName":"Test.skipSnapshot","ranges":[{"startOffset":6109,"endOffset":6523,"count":0}],"isBlockCoverage":false},{"functionName":"Test.runAttempt","ranges":[{"startOffset":6546,"endOffset":7343,"count":0}],"isBlockCoverage":false},{"functionName":"createExecutionContext","ranges":[{"startOffset":7742,"endOffset":7808,"count":11}],"isBlockCoverage":true},{"functionName":"countPassedAssertion","ranges":[{"startOffset":7811,"endOffset":8163,"count":16},{"startOffset":7858,"endOffset":7949,"count":0},{"startOffset":7987,"endOffset":8112,"count":0}],"isBlockCoverage":true},{"functionName":"addLog","ranges":[{"startOffset":8166,"endOffset":8207,"count":0}],"isBlockCoverage":false},{"functionName":"addPendingAssertion","ranges":[{"startOffset":8210,"endOffset":8745,"count":4},{"startOffset":8263,"endOffset":8355,"count":0},{"startOffset":8393,"endOffset":8519,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8621,"endOffset":8656,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8667,"endOffset":8740,"count":4}],"isBlockCoverage":true},{"functionName":"addFailedAssertion","ranges":[{"startOffset":8748,"endOffset":9133,"count":0}],"isBlockCoverage":false},{"functionName":"finishAttempt","ranges":[{"startOffset":9136,"endOffset":10154,"count":0}],"isBlockCoverage":false},{"functionName":"saveFirstError","ranges":[{"startOffset":10157,"endOffset":10243,"count":0}],"isBlockCoverage":false},{"functionName":"plan","ranges":[{"startOffset":10246,"endOffset":10542,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":10545,"endOffset":11120,"count":0}],"isBlockCoverage":false},{"functionName":"refreshTimeout","ranges":[{"startOffset":11123,"endOffset":11303,"count":24},{"startOffset":11184,"endOffset":11300,"count":0}],"isBlockCoverage":true},{"functionName":"clearTimeout","ranges":[{"startOffset":11306,"endOffset":11401,"count":11}],"isBlockCoverage":true},{"functionName":"addTeardown","ranges":[{"startOffset":11404,"endOffset":11793,"count":14},{"startOffset":11447,"endOffset":11540,"count":0},{"startOffset":11564,"endOffset":11664,"count":0},{"startOffset":11704,"endOffset":11756,"count":0}],"isBlockCoverage":true},{"functionName":"runTeardowns","ranges":[{"startOffset":11796,"endOffset":12044,"count":11},{"startOffset":11907,"endOffset":12041,"count":14},{"startOffset":11985,"endOffset":12037,"count":0}],"isBlockCoverage":true},{"functionName":"verifyPlan","ranges":[{"startOffset":12047,"endOffset":12402,"count":11},{"startOffset":12113,"endOffset":12151,"count":0},{"startOffset":12153,"endOffset":12399,"count":0}],"isBlockCoverage":true},{"functionName":"verifyAssertions","ranges":[{"startOffset":12405,"endOffset":13050,"count":11},{"startOffset":12450,"endOffset":12466,"count":0},{"startOffset":12504,"endOffset":12622,"count":0},{"startOffset":12662,"endOffset":12765,"count":0},{"startOffset":12835,"endOffset":12901,"count":0},{"startOffset":12933,"endOffset":12951,"count":0},{"startOffset":12953,"endOffset":13043,"count":0}],"isBlockCoverage":true},{"functionName":"callFn","ranges":[{"startOffset":13053,"endOffset":13237,"count":11},{"startOffset":13171,"endOffset":13234,"count":0}],"isBlockCoverage":true},{"functionName":"run","ranges":[{"startOffset":13240,"endOffset":15578,"count":11},{"startOffset":13338,"endOffset":13891,"count":0},{"startOffset":14126,"endOffset":14276,"count":0},{"startOffset":15550,"endOffset":15577,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14153,"endOffset":14270,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14462,"endOffset":15544,"count":11}],"isBlockCoverage":true},{"functionName":"finishDueToAttributedError","ranges":[{"startOffset":14513,"endOffset":14555,"count":0}],"isBlockCoverage":false},{"functionName":"finishDueToTimeout","ranges":[{"startOffset":14588,"endOffset":14630,"count":0}],"isBlockCoverage":false},{"functionName":"finishDueToInactivity","ranges":[{"startOffset":14666,"endOffset":14906,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14933,"endOffset":15496,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":15509,"endOffset":15537,"count":11}],"isBlockCoverage":true},{"functionName":"finish","ranges":[{"startOffset":15581,"endOffset":16295,"count":11},{"startOffset":15866,"endOffset":16020,"count":0}],"isBlockCoverage":true}]},{"scriptId":"238","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/assert.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":25039,"count":1}],"isBlockCoverage":true},{"functionName":"formatDescriptorDiff","ranges":[{"startOffset":331,"endOffset":822,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptorWithLabel","ranges":[{"startOffset":824,"endOffset":979,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithLabel","ranges":[{"startOffset":981,"endOffset":1114,"count":0}],"isBlockCoverage":false},{"functionName":"hasOwnProperty","ranges":[{"startOffset":1139,"endOffset":1207,"count":20}],"isBlockCoverage":true},{"functionName":"noop","ranges":[{"startOffset":1222,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"notImplemented","ranges":[{"startOffset":1255,"endOffset":1301,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":1349,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"checkAssertionMessage","ranges":[{"startOffset":1981,"endOffset":2292,"count":20},{"startOffset":2061,"endOffset":2091,"count":0},{"startOffset":2112,"endOffset":2291,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithLongStackTrace","ranges":[{"startOffset":2294,"endOffset":2556,"count":4}],"isBlockCoverage":true},{"functionName":"validateExpectations","ranges":[{"startOffset":2558,"endOffset":5405,"count":4},{"startOffset":2739,"endOffset":3020,"count":0},{"startOffset":3260,"endOffset":3489,"count":0},{"startOffset":3546,"endOffset":3594,"count":0},{"startOffset":3596,"endOffset":3824,"count":0},{"startOffset":3926,"endOffset":3970,"count":0},{"startOffset":3974,"endOffset":4022,"count":0},{"startOffset":4027,"endOffset":4284,"count":0},{"startOffset":4329,"endOffset":4369,"count":0},{"startOffset":4371,"endOffset":4591,"count":0},{"startOffset":4636,"endOffset":4676,"count":0},{"startOffset":4677,"endOffset":4717,"count":0},{"startOffset":4719,"endOffset":4949,"count":0},{"startOffset":5022,"endOffset":5040,"count":0},{"startOffset":5045,"endOffset":5055,"count":0},{"startOffset":5138,"endOffset":5368,"count":0}],"isBlockCoverage":true},{"functionName":"assertExpectations","ranges":[{"startOffset":5524,"endOffset":8199,"count":4},{"startOffset":5641,"endOffset":5804,"count":0},{"startOffset":5882,"endOffset":5911,"count":0},{"startOffset":5913,"endOffset":6167,"count":0},{"startOffset":6198,"endOffset":6245,"count":0},{"startOffset":6247,"endOffset":6497,"count":0},{"startOffset":6542,"endOffset":6578,"count":0},{"startOffset":6580,"endOffset":6826,"count":0},{"startOffset":6918,"endOffset":7170,"count":0},{"startOffset":7216,"endOffset":7261,"count":0},{"startOffset":7263,"endOffset":7515,"count":0},{"startOffset":7565,"endOffset":7614,"count":0},{"startOffset":7616,"endOffset":7874,"count":0},{"startOffset":7913,"endOffset":7949,"count":0},{"startOffset":7951,"endOffset":8197,"count":0}],"isBlockCoverage":true},{"functionName":"Assertions","ranges":[{"startOffset":8228,"endOffset":25036,"count":11}],"isBlockCoverage":true},{"functionName":"withSkip","ranges":[{"startOffset":8463,"endOffset":8534,"count":209}],"isBlockCoverage":true},{"functionName":"checkMessage","ranges":[{"startOffset":8560,"endOffset":8733,"count":20},{"startOffset":8694,"endOffset":8732,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8759,"endOffset":8797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8824,"endOffset":9037,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9062,"endOffset":9979,"count":4},{"startOffset":9132,"endOffset":9156,"count":0},{"startOffset":9229,"endOffset":9401,"count":0},{"startOffset":9449,"endOffset":9502,"count":0},{"startOffset":9525,"endOffset":9978,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10005,"endOffset":10365,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10397,"endOffset":11031,"count":5},{"startOffset":10474,"endOffset":10498,"count":0},{"startOffset":10632,"endOffset":10727,"count":0},{"startOffset":10775,"endOffset":10828,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11066,"endOffset":11622,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11649,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12970,"endOffset":14552,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14586,"endOffset":16839,"count":4},{"startOffset":14702,"endOffset":14720,"count":0},{"startOffset":14783,"endOffset":15031,"count":0},{"startOffset":15143,"endOffset":15192,"count":0},{"startOffset":16252,"endOffset":16838,"count":0}],"isBlockCoverage":true},{"functionName":"handlePromise","ranges":[{"startOffset":15219,"endOffset":16174,"count":4},{"startOffset":16084,"endOffset":16169,"count":0}],"isBlockCoverage":true},{"functionName":"Promise.resolve.then.assertExpectations.assertion","ranges":[{"startOffset":15520,"endOffset":15748,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":15750,"endOffset":16005,"count":4},{"startOffset":15904,"endOffset":15924,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16871,"endOffset":17460,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17497,"endOffset":19358,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19389,"endOffset":21353,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21382,"endOffset":21702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21730,"endOffset":22051,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22078,"endOffset":22383,"count":7},{"startOffset":22140,"endOffset":22164,"count":0},{"startOffset":22225,"endOffset":22382,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":22411,"endOffset":22720,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22748,"endOffset":23686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23717,"endOffset":24676,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24705,"endOffset":25031,"count":0}],"isBlockCoverage":false}]},{"scriptId":"239","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/concordance-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2980,"count":1},{"startOffset":2696,"endOffset":2708,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2579,"endOffset":2649,"count":110},{"startOffset":2623,"endOffset":2641,"count":69},{"startOffset":2642,"endOffset":2649,"count":41}],"isBlockCoverage":true},{"functionName":"get maxDepth","ranges":[{"startOffset":2807,"endOffset":2878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"240","url":"node:internal/util/parse_args/parse_args","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12919,"count":1}],"isBlockCoverage":false},{"functionName":"getMainArgs","ranges":[{"startOffset":1135,"endOffset":1729,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionLikeValue","ranges":[{"startOffset":1874,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionUsage","ranges":[{"startOffset":2658,"endOffset":3449,"count":0}],"isBlockCoverage":false},{"functionName":"storeOption","ranges":[{"startOffset":3772,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"storeDefaultOption","ranges":[{"startOffset":4921,"endOffset":5090,"count":0}],"isBlockCoverage":false},{"functionName":"argsToTokens","ranges":[{"startOffset":5365,"endOffset":9345,"count":0}],"isBlockCoverage":false},{"functionName":"parseArgs","ranges":[{"startOffset":9365,"endOffset":12881,"count":0}],"isBlockCoverage":false}]},{"scriptId":"241","url":"node:internal/util/parse_args/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6225,"count":1}],"isBlockCoverage":false},{"functionName":"objectGetOwn","ranges":[{"startOffset":693,"endOffset":782,"count":0}],"isBlockCoverage":false},{"functionName":"optionsGetOwn","ranges":[{"startOffset":865,"endOffset":1011,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionValue","ranges":[{"startOffset":1277,"endOffset":1502,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionLikeValue","ranges":[{"startOffset":1719,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneShortOption","ranges":[{"startOffset":1936,"endOffset":2088,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneLongOption","ranges":[{"startOffset":2336,"endOffset":2484,"count":0}],"isBlockCoverage":false},{"functionName":"isLongOptionAndValue","ranges":[{"startOffset":2681,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionGroup","ranges":[{"startOffset":3724,"endOffset":4109,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionAndValue","ranges":[{"startOffset":4418,"endOffset":4847,"count":0}],"isBlockCoverage":false},{"functionName":"findLongOptionForShort","ranges":[{"startOffset":5170,"endOffset":5472,"count":0}],"isBlockCoverage":false},{"functionName":"useDefaultValueOption","ranges":[{"startOffset":5797,"endOffset":5967,"count":0}],"isBlockCoverage":false}]},{"scriptId":"242","url":"node:internal/mime","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10569,"count":1}],"isBlockCoverage":false},{"functionName":"toASCIILower","ranges":[{"startOffset":587,"endOffset":820,"count":0}],"isBlockCoverage":false},{"functionName":"parseTypeAndSubtype","ranges":[{"startOffset":866,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"removeBackslashes","ranges":[{"startOffset":2641,"endOffset":3056,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuoteOrSolidus","ranges":[{"startOffset":3059,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":3288,"endOffset":3527,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3530,"endOffset":8526,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8986,"endOffset":10365,"count":0}],"isBlockCoverage":false}]},{"scriptId":"243","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/callsites/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"callsites","ranges":[{"startOffset":15,"endOffset":469,"count":0}],"isBlockCoverage":false}]},{"scriptId":"244","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5256,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5189,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2906,"endOffset":3404,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3450,"endOffset":3975,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4032,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4134,"endOffset":4895,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4949,"endOffset":5030,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5084,"endOffset":5137,"count":0}],"isBlockCoverage":false}]},{"scriptId":"245","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/supports-color/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3855,"count":1},{"startOffset":738,"endOffset":762,"count":0},{"startOffset":869,"endOffset":893,"count":0}],"isBlockCoverage":true},{"functionName":"hasFlag","ranges":[{"startOffset":235,"endOffset":585,"count":16},{"startOffset":281,"endOffset":303,"count":0},{"startOffset":359,"endOffset":363,"count":0},{"startOffset":385,"endOffset":390,"count":0},{"startOffset":519,"endOffset":582,"count":0}],"isBlockCoverage":true},{"functionName":"envForceColor","ranges":[{"startOffset":895,"endOffset":1159,"count":2},{"startOffset":949,"endOffset":1157,"count":0}],"isBlockCoverage":true},{"functionName":"translateLevel","ranges":[{"startOffset":1161,"endOffset":1320,"count":2},{"startOffset":1212,"endOffset":1232,"count":0}],"isBlockCoverage":true},{"functionName":"_supportsColor","ranges":[{"startOffset":1322,"endOffset":3494,"count":2},{"startOffset":1479,"endOffset":1520,"count":0},{"startOffset":1570,"endOffset":1588,"count":0},{"startOffset":1614,"endOffset":1630,"count":0},{"startOffset":1740,"endOffset":1758,"count":0},{"startOffset":1788,"endOffset":1806,"count":0},{"startOffset":1918,"endOffset":1940,"count":0},{"startOffset":1942,"endOffset":1958,"count":0},{"startOffset":1992,"endOffset":2019,"count":0},{"startOffset":2021,"endOffset":2037,"count":0},{"startOffset":2096,"endOffset":2114,"count":0},{"startOffset":2151,"endOffset":2508,"count":0},{"startOffset":2528,"endOffset":2776,"count":0},{"startOffset":2810,"endOffset":2891,"count":0},{"startOffset":2945,"endOffset":3493,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2688,"endOffset":2707,"count":0}],"isBlockCoverage":false},{"functionName":"createSupportsColor","ranges":[{"startOffset":3503,"endOffset":3687,"count":2}],"isBlockCoverage":true}]},{"scriptId":"246","url":"node:os","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9769,"count":1}],"isBlockCoverage":false},{"functionName":"getCheckedFunction","ranges":[{"startOffset":2026,"endOffset":2267,"count":4}],"isBlockCoverage":true},{"functionName":"checkError","ranges":[{"startOffset":2085,"endOffset":2263,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease","ranges":[{"startOffset":2649,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType","ranges":[{"startOffset":2711,"endOffset":2721,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion","ranges":[{"startOffset":2773,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine","ranges":[{"startOffset":2836,"endOffset":2849,"count":0}],"isBlockCoverage":false},{"functionName":"getAvailableParallelism.","ranges":[{"startOffset":2897,"endOffset":2928,"count":0}],"isBlockCoverage":false},{"functionName":"getFreeMem.","ranges":[{"startOffset":2962,"endOffset":2980,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname.","ranges":[{"startOffset":3015,"endOffset":3034,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion.","ranges":[{"startOffset":3070,"endOffset":3090,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType.","ranges":[{"startOffset":3123,"endOffset":3140,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease.","ranges":[{"startOffset":3176,"endOffset":3196,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine.","ranges":[{"startOffset":3230,"endOffset":3248,"count":0}],"isBlockCoverage":false},{"functionName":"getHomeDirectory.","ranges":[{"startOffset":3288,"endOffset":3312,"count":0}],"isBlockCoverage":false},{"functionName":"getTotalMem.","ranges":[{"startOffset":3347,"endOffset":3366,"count":0}],"isBlockCoverage":false},{"functionName":"getUptime.","ranges":[{"startOffset":3399,"endOffset":3416,"count":0}],"isBlockCoverage":false},{"functionName":"loadavg","ranges":[{"startOffset":3554,"endOffset":3654,"count":0}],"isBlockCoverage":false},{"functionName":"cpus","ranges":[{"startOffset":3934,"endOffset":4363,"count":1},{"startOffset":4036,"endOffset":4041,"count":0},{"startOffset":4103,"endOffset":4344,"count":12}],"isBlockCoverage":true},{"functionName":"arch","ranges":[{"startOffset":4394,"endOffset":4436,"count":0}],"isBlockCoverage":false},{"functionName":"arch.","ranges":[{"startOffset":4463,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"platform","ranges":[{"startOffset":4513,"endOffset":4563,"count":3}],"isBlockCoverage":true},{"functionName":"platform.","ranges":[{"startOffset":4594,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir","ranges":[{"startOffset":4648,"endOffset":5253,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir.","ranges":[{"startOffset":5282,"endOffset":5296,"count":0}],"isBlockCoverage":false},{"functionName":"endianness","ranges":[{"startOffset":5333,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"endianness.","ranges":[{"startOffset":5413,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"countBinaryOnes","ranges":[{"startOffset":5518,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"getCIDR","ranges":[{"startOffset":5773,"endOffset":6718,"count":0}],"isBlockCoverage":false},{"functionName":"networkInterfaces","ranges":[{"startOffset":6929,"endOffset":7622,"count":0}],"isBlockCoverage":false},{"functionName":"setPriority","ranges":[{"startOffset":7706,"endOffset":7995,"count":0}],"isBlockCoverage":false},{"functionName":"getPriority","ranges":[{"startOffset":8053,"endOffset":8308,"count":0}],"isBlockCoverage":false},{"functionName":"userInfo","ranges":[{"startOffset":8612,"endOffset":8900,"count":0}],"isBlockCoverage":false}]},{"scriptId":"247","url":"node:tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5058,"count":1}],"isBlockCoverage":false},{"functionName":"isatty","ranges":[{"startOffset":1535,"endOffset":1641,"count":4}],"isBlockCoverage":true},{"functionName":"ReadStream","ranges":[{"startOffset":1643,"endOffset":2112,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.setRawMode","ranges":[{"startOffset":2261,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":2481,"endOffset":3453,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._refreshSize","ranges":[{"startOffset":3744,"endOffset":4180,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.cursorTo","ranges":[{"startOffset":4236,"endOffset":4376,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.moveCursor","ranges":[{"startOffset":4413,"endOffset":4559,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearLine","ranges":[{"startOffset":4595,"endOffset":4734,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearScreenDown","ranges":[{"startOffset":4776,"endOffset":4911,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.getWindowSize","ranges":[{"startOffset":4951,"endOffset":5001,"count":0}],"isBlockCoverage":false}]},{"scriptId":"248","url":"node:net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":65921,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1612,"endOffset":1637,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4029,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":4446,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"createHandle","ranges":[{"startOffset":4542,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"getNewAsyncId","ranges":[{"startOffset":4928,"endOffset":5066,"count":0}],"isBlockCoverage":false},{"functionName":"isPipeName","ranges":[{"startOffset":5069,"endOffset":5152,"count":0}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":5353,"endOffset":5457,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":5680,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamily","ranges":[{"startOffset":6083,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamily","ranges":[{"startOffset":6160,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6278,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6383,"endOffset":6570,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgs","ranges":[{"startOffset":7064,"endOffset":7790,"count":0}],"isBlockCoverage":false},{"functionName":"initSocketHandle","ranges":[{"startOffset":7862,"endOffset":8465,"count":0}],"isBlockCoverage":false},{"functionName":"closeSocketHandle","ranges":[{"startOffset":8467,"endOffset":8807,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":9059,"endOffset":13678,"count":0}],"isBlockCoverage":false},{"functionName":"_unrefTimer","ranges":[{"startOffset":13851,"endOffset":13981,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._final","ranges":[{"startOffset":14101,"endOffset":14717,"count":0}],"isBlockCoverage":false},{"functionName":"afterShutdown","ranges":[{"startOffset":14720,"endOffset":14866,"count":0}],"isBlockCoverage":false},{"functionName":"writeAfterFIN","ranges":[{"startOffset":15073,"endOffset":15581,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._onTimeout","ranges":[{"startOffset":15663,"endOffset":16167,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setNoDelay","ranges":[{"startOffset":16201,"endOffset":16578,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setKeepAlive","ranges":[{"startOffset":16614,"endOffset":17220,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":17251,"endOffset":17295,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17381,"endOffset":17425,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17505,"endOffset":17561,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17672,"endOffset":17987,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18076,"endOffset":18156,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18244,"endOffset":18289,"count":0}],"isBlockCoverage":false},{"functionName":"tryReadStart","ranges":[{"startOffset":18297,"endOffset":18543,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._read","ranges":[{"startOffset":18635,"endOffset":18954,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.end","ranges":[{"startOffset":18981,"endOffset":19137,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resetAndDestroy","ranges":[{"startOffset":19175,"endOffset":19525,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.pause","ranges":[{"startOffset":19553,"endOffset":19887,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resume","ranges":[{"startOffset":19917,"endOffset":20101,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.read","ranges":[{"startOffset":20129,"endOffset":20315,"count":0}],"isBlockCoverage":false},{"functionName":"onReadableStreamEnd","ranges":[{"startOffset":20362,"endOffset":20461,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.destroySoon","ranges":[{"startOffset":20495,"endOffset":20642,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._destroy","ranges":[{"startOffset":20674,"endOffset":22184,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._reset","ranges":[{"startOffset":22213,"endOffset":22312,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getpeername","ranges":[{"startOffset":22347,"endOffset":22644,"count":0}],"isBlockCoverage":false},{"functionName":"protoGetter","ranges":[{"startOffset":22647,"endOffset":22829,"count":9}],"isBlockCoverage":true},{"functionName":"bytesRead","ranges":[{"startOffset":22856,"endOffset":22947,"count":0}],"isBlockCoverage":false},{"functionName":"remoteAddress","ranges":[{"startOffset":22980,"endOffset":23046,"count":0}],"isBlockCoverage":false},{"functionName":"remoteFamily","ranges":[{"startOffset":23078,"endOffset":23142,"count":0}],"isBlockCoverage":false},{"functionName":"remotePort","ranges":[{"startOffset":23172,"endOffset":23232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getsockname","ranges":[{"startOffset":23269,"endOffset":23545,"count":0}],"isBlockCoverage":false},{"functionName":"localAddress","ranges":[{"startOffset":23577,"endOffset":23642,"count":0}],"isBlockCoverage":false},{"functionName":"localPort","ranges":[{"startOffset":23672,"endOffset":23731,"count":0}],"isBlockCoverage":false},{"functionName":"localFamily","ranges":[{"startOffset":23762,"endOffset":23825,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":23866,"endOffset":23913,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writeGeneric","ranges":[{"startOffset":23949,"endOffset":24861,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writev","ranges":[{"startOffset":24892,"endOffset":24960,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._write","ranges":[{"startOffset":24990,"endOffset":25071,"count":0}],"isBlockCoverage":false},{"functionName":"_bytesDispatched","ranges":[{"startOffset":25264,"endOffset":25368,"count":0}],"isBlockCoverage":false},{"functionName":"bytesWritten","ranges":[{"startOffset":25400,"endOffset":26329,"count":0}],"isBlockCoverage":false},{"functionName":"checkBindError","ranges":[{"startOffset":26334,"endOffset":27133,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnect","ranges":[{"startOffset":27136,"endOffset":29131,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultiple","ranges":[{"startOffset":29134,"endOffset":31870,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":31899,"endOffset":33495,"count":0}],"isBlockCoverage":false},{"functionName":"reinitializeHandle","ranges":[{"startOffset":33538,"endOffset":33692,"count":0}],"isBlockCoverage":false},{"functionName":"socketToDnsFamily","ranges":[{"startOffset":33695,"endOffset":33841,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnect","ranges":[{"startOffset":33843,"endOffset":37774,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnectMultiple","ranges":[{"startOffset":37776,"endOffset":41750,"count":0}],"isBlockCoverage":false},{"functionName":"connectErrorNT","ranges":[{"startOffset":41752,"endOffset":41811,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":41837,"endOffset":42024,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":42053,"endOffset":42246,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnect","ranges":[{"startOffset":42250,"endOffset":43831,"count":0}],"isBlockCoverage":false},{"functionName":"addClientAbortSignalOption","ranges":[{"startOffset":43833,"endOffset":44256,"count":0}],"isBlockCoverage":false},{"functionName":"createConnectionError","ranges":[{"startOffset":44258,"endOffset":44759,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnectMultiple","ranges":[{"startOffset":44761,"endOffset":45903,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultipleTimeout","ranges":[{"startOffset":45905,"endOffset":46217,"count":0}],"isBlockCoverage":false},{"functionName":"addServerAbortSignalOption","ranges":[{"startOffset":46219,"endOffset":46662,"count":0}],"isBlockCoverage":false},{"functionName":"Server","ranges":[{"startOffset":46664,"endOffset":48251,"count":0}],"isBlockCoverage":false},{"functionName":"toNumber","ranges":[{"startOffset":48362,"endOffset":48427,"count":0}],"isBlockCoverage":false},{"functionName":"createServerHandle","ranges":[{"startOffset":48495,"endOffset":49947,"count":0}],"isBlockCoverage":false},{"functionName":"setupListenHandle","ranges":[{"startOffset":49949,"endOffset":52300,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":52367,"endOffset":52429,"count":0}],"isBlockCoverage":false},{"functionName":"emitListeningNT","ranges":[{"startOffset":52432,"endOffset":52547,"count":0}],"isBlockCoverage":false},{"functionName":"listenInCluster","ranges":[{"startOffset":52550,"endOffset":53810,"count":0}],"isBlockCoverage":false},{"functionName":"Server.listen","ranges":[{"startOffset":53839,"endOffset":57671,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndListen","ranges":[{"startOffset":57674,"endOffset":58086,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":58168,"endOffset":58211,"count":0}],"isBlockCoverage":false},{"functionName":"Server.address","ranges":[{"startOffset":58287,"endOffset":58576,"count":0}],"isBlockCoverage":false},{"functionName":"onconnection","ranges":[{"startOffset":58579,"endOffset":60478,"count":0}],"isBlockCoverage":false},{"functionName":"Server.getConnections","ranges":[{"startOffset":60627,"endOffset":61380,"count":0}],"isBlockCoverage":false},{"functionName":"Server.close","ranges":[{"startOffset":61409,"endOffset":62276,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":62318,"endOffset":62438,"count":0}],"isBlockCoverage":false},{"functionName":"Server._emitCloseIfDrained","ranges":[{"startOffset":62480,"endOffset":62866,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":62870,"endOffset":62953,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":63012,"endOffset":63174,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63396,"endOffset":63432,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63436,"endOffset":63477,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63557,"endOffset":63588,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63592,"endOffset":63628,"count":0}],"isBlockCoverage":false},{"functionName":"Server._setupWorker","ranges":[{"startOffset":63667,"endOffset":63908,"count":0}],"isBlockCoverage":false},{"functionName":"Server.ref","ranges":[{"startOffset":63934,"endOffset":64032,"count":0}],"isBlockCoverage":false},{"functionName":"Server.unref","ranges":[{"startOffset":64060,"endOffset":64159,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":64301,"endOffset":64970,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":65009,"endOffset":65250,"count":0}],"isBlockCoverage":false},{"functionName":"get BlockList","ranges":[{"startOffset":65379,"endOffset":65481,"count":0}],"isBlockCoverage":false},{"functionName":"get SocketAddress","ranges":[{"startOffset":65485,"endOffset":65607,"count":0}],"isBlockCoverage":false}]},{"scriptId":"249","url":"node:internal/stream_base_commons","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7041,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1010,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"handleWriteReq","ranges":[{"startOffset":1154,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"onWriteComplete","ranges":[{"startOffset":2011,"endOffset":2696,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteWrap","ranges":[{"startOffset":2698,"endOffset":2936,"count":0}],"isBlockCoverage":false},{"functionName":"writevGeneric","ranges":[{"startOffset":2938,"endOffset":3577,"count":0}],"isBlockCoverage":false},{"functionName":"writeGeneric","ranges":[{"startOffset":3579,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteDispatched","ranges":[{"startOffset":3786,"endOffset":4089,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamRead","ranges":[{"startOffset":4091,"endOffset":6022,"count":0}],"isBlockCoverage":false},{"functionName":"setStreamTimeout","ranges":[{"startOffset":6024,"endOffset":6834,"count":0}],"isBlockCoverage":false}]},{"scriptId":"250","url":"node:internal/perf/observe","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16742,"count":1}],"isBlockCoverage":false},{"functionName":"queuePending","ranges":[{"startOffset":2620,"endOffset":2881,"count":0}],"isBlockCoverage":false},{"functionName":"getObserverType","ranges":[{"startOffset":2883,"endOffset":3223,"count":0}],"isBlockCoverage":false},{"functionName":"maybeDecrementObserverCounts","ranges":[{"startOffset":3225,"endOffset":3646,"count":0}],"isBlockCoverage":false},{"functionName":"maybeIncrementObserverCount","ranges":[{"startOffset":3648,"endOffset":3990,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceObserverEntryList","ranges":[{"startOffset":4031,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"getEntries","ranges":[{"startOffset":4095,"endOffset":4234,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByType","ranges":[{"startOffset":4238,"endOffset":4542,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByName","ranges":[{"startOffset":4546,"endOffset":5039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5043,"endOffset":5291,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceObserverEntryList","ranges":[{"startOffset":5643,"endOffset":5933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5935,"endOffset":9507,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":9989,"endOffset":10191,"count":0}],"isBlockCoverage":false},{"functionName":"bufferUserTiming","ranges":[{"startOffset":10252,"endOffset":11278,"count":0}],"isBlockCoverage":false},{"functionName":"bufferResourceTiming","ranges":[{"startOffset":11566,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"setResourceTimingBufferSize","ranges":[{"startOffset":12918,"endOffset":13190,"count":0}],"isBlockCoverage":false},{"functionName":"setDispatchBufferFull","ranges":[{"startOffset":13192,"endOffset":13257,"count":1}],"isBlockCoverage":true},{"functionName":"clearEntriesFromBuffer","ranges":[{"startOffset":13259,"endOffset":13859,"count":0}],"isBlockCoverage":false},{"functionName":"filterBufferMapByNameAndType","ranges":[{"startOffset":13861,"endOffset":14749,"count":0}],"isBlockCoverage":false},{"functionName":"observerCallback","ranges":[{"startOffset":14751,"endOffset":15867,"count":0}],"isBlockCoverage":false},{"functionName":"hasObserver","ranges":[{"startOffset":15904,"endOffset":16023,"count":0}],"isBlockCoverage":false},{"functionName":"startPerf","ranges":[{"startOffset":16026,"endOffset":16136,"count":0}],"isBlockCoverage":false},{"functionName":"stopPerf","ranges":[{"startOffset":16138,"endOffset":16453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"251","url":"node:internal/perf/performance_entry","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3333,"count":1}],"isBlockCoverage":false},{"functionName":"isPerformanceEntry","ranges":[{"startOffset":675,"endOffset":748,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceEntry","ranges":[{"startOffset":777,"endOffset":914,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":918,"endOffset":1018,"count":0}],"isBlockCoverage":false},{"functionName":"get entryType","ranges":[{"startOffset":1022,"endOffset":1137,"count":0}],"isBlockCoverage":false},{"functionName":"get startTime","ranges":[{"startOffset":1141,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"get duration","ranges":[{"startOffset":1260,"endOffset":1372,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1376,"endOffset":1620,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":1624,"endOffset":1846,"count":0}],"isBlockCoverage":false},{"functionName":"initPerformanceEntry","ranges":[{"startOffset":2068,"endOffset":2248,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceEntry","ranges":[{"startOffset":2250,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":2559,"endOffset":2669,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":2673,"endOffset":2924,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceNodeEntry","ranges":[{"startOffset":2928,"endOffset":3163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"252","url":"node:internal/tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6485,"count":1}],"isBlockCoverage":false},{"functionName":"warnOnDeactivatedColors","ranges":[{"startOffset":2549,"endOffset":3002,"count":0}],"isBlockCoverage":false},{"functionName":"getColorDepth","ranges":[{"startOffset":3160,"endOffset":6156,"count":0}],"isBlockCoverage":false},{"functionName":"hasColors","ranges":[{"startOffset":6158,"endOffset":6431,"count":0}],"isBlockCoverage":false}]},{"scriptId":"253","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":997,"count":1}],"isBlockCoverage":true},{"functionName":"stringReplaceAll","ranges":[{"startOffset":78,"endOffset":552,"count":0}],"isBlockCoverage":false},{"functionName":"stringEncaseCRLFWithFirstIndex","ranges":[{"startOffset":561,"endOffset":996,"count":0}],"isBlockCoverage":false}]},{"scriptId":"254","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6025,"count":1}],"isBlockCoverage":true},{"functionName":"assertPatternsInput","ranges":[{"startOffset":367,"endOffset":522,"count":0}],"isBlockCoverage":false},{"functionName":"toPatternsArray","ranges":[{"startOffset":549,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"checkCwdOption","ranges":[{"startOffset":685,"endOffset":912,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":940,"endOffset":1200,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArguments","ranges":[{"startOffset":1230,"endOffset":1321,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1236,"endOffset":1321,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgumentsSync","ranges":[{"startOffset":1354,"endOffset":1439,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1360,"endOffset":1439,"count":0}],"isBlockCoverage":false},{"functionName":"getIgnoreFilesPatterns","ranges":[{"startOffset":1473,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":1701,"endOffset":1913,"count":0}],"isBlockCoverage":false},{"functionName":"getFilterSync","ranges":[{"startOffset":1938,"endOffset":2142,"count":0}],"isBlockCoverage":false},{"functionName":"createFilterFunction","ranges":[{"startOffset":2174,"endOffset":2469,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobResults","ranges":[{"startOffset":2501,"endOffset":2585,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobStreams","ranges":[{"startOffset":2616,"endOffset":2717,"count":0}],"isBlockCoverage":false},{"functionName":"convertNegativePatterns","ranges":[{"startOffset":2752,"endOffset":3364,"count":0}],"isBlockCoverage":false},{"functionName":"getDirGlobOptions","ranges":[{"startOffset":3393,"endOffset":3499,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":3524,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasksSync","ranges":[{"startOffset":4171,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4758,"endOffset":5048,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5101,"endOffset":5348,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5403,"endOffset":5652,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5713,"endOffset":5805,"count":0}],"isBlockCoverage":false}]},{"scriptId":"255","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/maps.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"256","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":465,"count":1}],"isBlockCoverage":true},{"functionName":"escapeStringRegexp","ranges":[{"startOffset":15,"endOffset":464,"count":3},{"startOffset":86,"endOffset":134,"count":0}],"isBlockCoverage":true}]},{"scriptId":"257","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/indent-string/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":820,"count":1}],"isBlockCoverage":true},{"functionName":"indentString","ranges":[{"startOffset":15,"endOffset":819,"count":0}],"isBlockCoverage":false}]},{"scriptId":"258","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mem/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3063,"count":1}],"isBlockCoverage":true},{"functionName":"mem","ranges":[{"startOffset":651,"endOffset":1491,"count":2},{"startOffset":753,"endOffset":790,"count":0}],"isBlockCoverage":true},{"functionName":"memoized","ranges":[{"startOffset":812,"endOffset":1357,"count":3},{"startOffset":868,"endOffset":890,"count":1},{"startOffset":891,"endOffset":906,"count":2},{"startOffset":973,"endOffset":1078,"count":1},{"startOffset":1078,"endOffset":1208,"count":2},{"startOffset":1208,"endOffset":1229,"count":0},{"startOffset":1230,"endOffset":1256,"count":2}],"isBlockCoverage":true},{"functionName":"memDecorator","ranges":[{"startOffset":1911,"endOffset":2668,"count":0}],"isBlockCoverage":false},{"functionName":"memClear","ranges":[{"startOffset":2761,"endOffset":3062,"count":0}],"isBlockCoverage":false}]},{"scriptId":"259","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12,"count":1}],"isBlockCoverage":true}]},{"scriptId":"260","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-promise/index.mjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":151,"count":1}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":15,"endOffset":150,"count":19},{"startOffset":84,"endOffset":112,"count":0}],"isBlockCoverage":true}]},{"scriptId":"261","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/plur/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":963,"count":1}],"isBlockCoverage":true},{"functionName":"plur","ranges":[{"startOffset":66,"endOffset":962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"262","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/like-selector.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1333,"count":1}],"isBlockCoverage":true},{"functionName":"isPrimitive","ranges":[{"startOffset":20,"endOffset":72,"count":0}],"isBlockCoverage":false},{"functionName":"isLikeSelector","ranges":[{"startOffset":82,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"selectComparable","ranges":[{"startOffset":609,"endOffset":1332,"count":0}],"isBlockCoverage":false}]},{"scriptId":"263","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5267,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5200,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2913,"endOffset":3409,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3462,"endOffset":3983,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4040,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4149,"endOffset":4906,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4960,"endOffset":5041,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5095,"endOffset":5148,"count":0}],"isBlockCoverage":false}]},{"scriptId":"264","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/strip-ansi/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":468,"count":1}],"isBlockCoverage":true},{"functionName":"stripAnsi","ranges":[{"startOffset":80,"endOffset":467,"count":69},{"startOffset":142,"endOffset":220,"count":0}],"isBlockCoverage":true}]},{"scriptId":"265","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/ignore.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2797,"count":1}],"isBlockCoverage":true},{"functionName":"applyBaseToPattern","ranges":[{"startOffset":479,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"parseIgnoreFile","ranges":[{"startOffset":634,"endOffset":865,"count":0}],"isBlockCoverage":false},{"functionName":"toRelativePath","ranges":[{"startOffset":891,"endOffset":1176,"count":0}],"isBlockCoverage":false},{"functionName":"getIsIgnoredPredicate","ranges":[{"startOffset":1209,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1582,"endOffset":1782,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFiles","ranges":[{"startOffset":1823,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFilesSync","ranges":[{"startOffset":2256,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnored","ranges":[{"startOffset":2623,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnoredSync","ranges":[{"startOffset":2724,"endOffset":2795,"count":0}],"isBlockCoverage":false}]},{"scriptId":"266","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":462,"count":1}],"isBlockCoverage":true},{"functionName":"toPath","ranges":[{"startOffset":102,"endOffset":178,"count":0}],"isBlockCoverage":false},{"functionName":"FilterStream","ranges":[{"startOffset":228,"endOffset":394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":431,"endOffset":460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"267","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mimic-fn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2903,"count":1}],"isBlockCoverage":true},{"functionName":"copyProperty","ranges":[{"startOffset":21,"endOffset":887,"count":4},{"startOffset":280,"endOffset":307,"count":2},{"startOffset":309,"endOffset":577,"count":2},{"startOffset":579,"endOffset":593,"count":0},{"startOffset":593,"endOffset":790,"count":2},{"startOffset":790,"endOffset":814,"count":0},{"startOffset":816,"endOffset":830,"count":0},{"startOffset":830,"endOffset":886,"count":2}],"isBlockCoverage":true},{"functionName":"canCopyProperty","ranges":[{"startOffset":1091,"endOffset":1457,"count":2},{"startOffset":1197,"endOffset":1454,"count":0}],"isBlockCoverage":true},{"functionName":"changePrototype","ranges":[{"startOffset":1484,"endOffset":1662,"count":2},{"startOffset":1616,"endOffset":1661,"count":0}],"isBlockCoverage":true},{"functionName":"wrappedToString","ranges":[{"startOffset":1689,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"changeToString","ranges":[{"startOffset":2221,"endOffset":2603,"count":2},{"startOffset":2273,"endOffset":2277,"count":0}],"isBlockCoverage":true},{"functionName":"mimicFunction","ranges":[{"startOffset":2621,"endOffset":2902,"count":2},{"startOffset":2762,"endOffset":2825,"count":4}],"isBlockCoverage":true}]},{"scriptId":"268","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/ansi-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":350,"count":1}],"isBlockCoverage":true},{"functionName":"ansiRegex","ranges":[{"startOffset":15,"endOffset":349,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true}]},{"scriptId":"269","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/slash/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":285,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":15,"endOffset":284,"count":0}],"isBlockCoverage":false}]},{"scriptId":"270","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":250,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":62,"endOffset":248,"count":1}],"isBlockCoverage":true}]},{"scriptId":"271","url":"node:internal/vm/module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12200,"count":1}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":1662,"endOffset":4017,"count":0}],"isBlockCoverage":false},{"functionName":"get identifier","ranges":[{"startOffset":4021,"endOffset":4158,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4162,"endOffset":4295,"count":0}],"isBlockCoverage":false},{"functionName":"get namespace","ranges":[{"startOffset":4299,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"get status","ranges":[{"startOffset":4580,"endOffset":4733,"count":0}],"isBlockCoverage":false},{"functionName":"get error","ranges":[{"startOffset":4737,"endOffset":4987,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":4991,"endOffset":5396,"count":0}],"isBlockCoverage":false},{"functionName":"evaluate","ranges":[{"startOffset":5400,"endOffset":6153,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6157,"endOffset":6909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":10171,"count":0}],"isBlockCoverage":false},{"functionName":"SyntheticModule","ranges":[{"startOffset":10214,"endOffset":11307,"count":0}],"isBlockCoverage":false},{"functionName":"setExport","ranges":[{"startOffset":11311,"endOffset":11613,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamicallyWrap","ranges":[{"startOffset":11617,"endOffset":12096,"count":558}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyWrapper","ranges":[{"startOffset":11722,"endOffset":12052,"count":2},{"startOffset":11873,"endOffset":11910,"count":0},{"startOffset":11912,"endOffset":12051,"count":0}],"isBlockCoverage":true}]},{"scriptId":"272","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":82,"endOffset":745,"count":1}],"isBlockCoverage":true},{"functionName":"onUnhandledRejection","ranges":[{"startOffset":129,"endOffset":244,"count":0}],"isBlockCoverage":false},{"functionName":"onRejectionHandled","ranges":[{"startOffset":247,"endOffset":433,"count":0}],"isBlockCoverage":false},{"functionName":"currentlyUnhandled","ranges":[{"startOffset":436,"endOffset":599,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":501,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"273","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/array-find-index/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":462,"count":0}],"isBlockCoverage":false}]},{"scriptId":"274","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/now-and-timers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":501,"count":1}],"isBlockCoverage":true},{"functionName":"setCappedTimeout","ranges":[{"startOffset":313,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"275","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge2/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3241,"count":1}],"isBlockCoverage":true},{"functionName":"merge2","ranges":[{"startOffset":280,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"pauseStreams","ranges":[{"startOffset":2702,"endOffset":3240,"count":0}],"isBlockCoverage":false}]},{"scriptId":"276","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4091,"count":1},{"startOffset":3434,"endOffset":3452,"count":0}],"isBlockCoverage":true},{"functionName":"FastGlob","ranges":[{"startOffset":277,"endOffset":501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":612,"endOffset":3423,"count":1}],"isBlockCoverage":true},{"functionName":"sync","ranges":[{"startOffset":763,"endOffset":946,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":977,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":1503,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1795,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"escapePath","ranges":[{"startOffset":2060,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2217,"endOffset":2355,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2434,"endOffset":2864,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2461,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2644,"endOffset":2799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2936,"endOffset":3370,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2963,"endOffset":3100,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":3148,"endOffset":3305,"count":0}],"isBlockCoverage":false},{"functionName":"getWorks","ranges":[{"startOffset":3455,"endOffset":3751,"count":0}],"isBlockCoverage":false},{"functionName":"assertPatternsInput","ranges":[{"startOffset":3752,"endOffset":4063,"count":0}],"isBlockCoverage":false}]},{"scriptId":"277","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/managers/tasks.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5531,"count":1}],"isBlockCoverage":true},{"functionName":"generate","ranges":[{"startOffset":355,"endOffset":1133,"count":0}],"isBlockCoverage":false},{"functionName":"processPatterns","ranges":[{"startOffset":1163,"endOffset":2553,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToTasks","ranges":[{"startOffset":2825,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":4023,"endOffset":4121,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatternsAsPositive","ranges":[{"startOffset":4173,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"groupPatternsByBaseDirectory","ranges":[{"startOffset":4482,"endOffset":4868,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupsToTasks","ranges":[{"startOffset":4938,"endOffset":5147,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupToTask","ranges":[{"startOffset":5215,"endOffset":5467,"count":0}],"isBlockCoverage":false}]},{"scriptId":"278","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":596,"count":1}],"isBlockCoverage":true}]},{"scriptId":"279","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1}],"isBlockCoverage":true},{"functionName":"flatten","ranges":[{"startOffset":123,"endOffset":230,"count":0}],"isBlockCoverage":false},{"functionName":"splitWhen","ranges":[{"startOffset":258,"endOffset":576,"count":0}],"isBlockCoverage":false}]},{"scriptId":"280","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/errno.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":234,"count":1}],"isBlockCoverage":true},{"functionName":"isEnoentCodeError","ranges":[{"startOffset":113,"endOffset":186,"count":0}],"isBlockCoverage":false}]},{"scriptId":"281","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"282","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/path.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3010,"count":1},{"startOffset":2154,"endOffset":2173,"count":0},{"startOffset":2552,"endOffset":2581,"count":0}],"isBlockCoverage":true},{"functionName":"unixify","ranges":[{"startOffset":1352,"endOffset":1423,"count":0}],"isBlockCoverage":false},{"functionName":"makeAbsolute","ranges":[{"startOffset":1451,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"removeLeadingDotSegment","ranges":[{"startOffset":1569,"endOffset":2057,"count":0}],"isBlockCoverage":false},{"functionName":"escapeWindowsPath","ranges":[{"startOffset":2193,"endOffset":2303,"count":0}],"isBlockCoverage":false},{"functionName":"escapePosixPath","ranges":[{"startOffset":2351,"endOffset":2457,"count":0}],"isBlockCoverage":false},{"functionName":"convertWindowsPathToPattern","ranges":[{"startOffset":2611,"endOffset":2792,"count":0}],"isBlockCoverage":false},{"functionName":"convertPosixPathToPattern","ranges":[{"startOffset":2860,"endOffset":2946,"count":0}],"isBlockCoverage":false}]},{"scriptId":"283","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/pattern.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7965,"count":1}],"isBlockCoverage":true},{"functionName":"isStaticPattern","ranges":[{"startOffset":1465,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1608,"endOffset":2666,"count":0}],"isBlockCoverage":false},{"functionName":"hasBraceExpansion","ranges":[{"startOffset":2712,"endOffset":3145,"count":0}],"isBlockCoverage":false},{"functionName":"convertToPositivePattern","ranges":[{"startOffset":3146,"endOffset":3260,"count":0}],"isBlockCoverage":false},{"functionName":"convertToNegativePattern","ranges":[{"startOffset":3322,"endOffset":3394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":3456,"endOffset":3553,"count":0}],"isBlockCoverage":false},{"functionName":"isPositivePattern","ranges":[{"startOffset":3601,"endOffset":3680,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatterns","ranges":[{"startOffset":3728,"endOffset":3817,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":3869,"endOffset":3958,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsInsideCurrentDirectory","ranges":[{"startOffset":4205,"endOffset":4347,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsOutsideCurrentDirectory","ranges":[{"startOffset":4631,"endOffset":4751,"count":0}],"isBlockCoverage":false},{"functionName":"isPatternRelatedToParentDirectory","ranges":[{"startOffset":4833,"endOffset":4955,"count":0}],"isBlockCoverage":false},{"functionName":"getBaseDirectory","ranges":[{"startOffset":5035,"endOffset":5133,"count":0}],"isBlockCoverage":false},{"functionName":"hasGlobStar","ranges":[{"startOffset":5179,"endOffset":5251,"count":0}],"isBlockCoverage":false},{"functionName":"endsWithSlashGlobStar","ranges":[{"startOffset":5287,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"isAffectDepthOfReadingPattern","ranges":[{"startOffset":5431,"endOffset":5599,"count":0}],"isBlockCoverage":false},{"functionName":"expandPatternsWithBraceExpansion","ranges":[{"startOffset":5671,"endOffset":5857,"count":0}],"isBlockCoverage":false},{"functionName":"expandBraceExpansion","ranges":[{"startOffset":5935,"endOffset":6463,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternParts","ranges":[{"startOffset":6517,"endOffset":7150,"count":0}],"isBlockCoverage":false},{"functionName":"makeRe","ranges":[{"startOffset":7194,"endOffset":7279,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToRe","ranges":[{"startOffset":7305,"endOffset":7420,"count":0}],"isBlockCoverage":false},{"functionName":"matchAny","ranges":[{"startOffset":7472,"endOffset":7578,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateSlashes","ranges":[{"startOffset":7813,"endOffset":7907,"count":0}],"isBlockCoverage":false}]},{"scriptId":"284","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/glob-parent/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1120,"count":1}],"isBlockCoverage":true},{"functionName":"globParent","ranges":[{"startOffset":461,"endOffset":1118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"285","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3628,"count":1}],"isBlockCoverage":true},{"functionName":"strictCheck","ranges":[{"startOffset":247,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"relaxedCheck","ranges":[{"startOffset":2767,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"isGlob","ranges":[{"startOffset":3324,"endOffset":3626,"count":0}],"isBlockCoverage":false}]},{"scriptId":"286","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-extglob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"isExtglob","ranges":[{"startOffset":168,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"287","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/micromatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13741,"count":1}],"isBlockCoverage":true},{"functionName":"isEmptyString","ranges":[{"startOffset":187,"endOffset":220,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch","ranges":[{"startOffset":784,"endOffset":2129,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matcher","ranges":[{"startOffset":2781,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.isMatch","ranges":[{"startOffset":3440,"endOffset":3501,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.not","ranges":[{"startOffset":4203,"endOffset":4640,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.contains","ranges":[{"startOffset":5367,"endOffset":5928,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matchKeys","ranges":[{"startOffset":6706,"endOffset":6980,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.some","ranges":[{"startOffset":7765,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.every","ranges":[{"startOffset":8890,"endOffset":9146,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.all","ranges":[{"startOffset":9947,"endOffset":10155,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.capture","ranges":[{"startOffset":10869,"endOffset":11165,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.makeRe","ranges":[{"startOffset":11617,"endOffset":11655,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.scan","ranges":[{"startOffset":12004,"endOffset":12040,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.parse","ranges":[{"startOffset":12432,"endOffset":12652,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braces","ranges":[{"startOffset":13219,"endOffset":13456,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braceExpand","ranges":[{"startOffset":13510,"endOffset":13679,"count":0}],"isBlockCoverage":false}]},{"scriptId":"288","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4375,"count":1}],"isBlockCoverage":true},{"functionName":"braces","ranges":[{"startOffset":543,"endOffset":1030,"count":0}],"isBlockCoverage":false},{"functionName":"braces.parse","ranges":[{"startOffset":1359,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"braces.stringify","ranges":[{"startOffset":1795,"endOffset":1959,"count":0}],"isBlockCoverage":false},{"functionName":"braces.compile","ranges":[{"startOffset":2407,"endOffset":2550,"count":0}],"isBlockCoverage":false},{"functionName":"braces.expand","ranges":[{"startOffset":3141,"endOffset":3541,"count":0}],"isBlockCoverage":false},{"functionName":"braces.create","ranges":[{"startOffset":4118,"endOffset":4319,"count":0}],"isBlockCoverage":false}]},{"scriptId":"289","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/stringify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":700,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":67,"endOffset":697,"count":0}],"isBlockCoverage":false}]},{"scriptId":"290","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2451,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isInteger","ranges":[{"startOffset":35,"endOffset":232,"count":0}],"isBlockCoverage":false},{"functionName":"exports.find","ranges":[{"startOffset":292,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"exports.exceedsLimit","ranges":[{"startOffset":419,"endOffset":626,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeNode","ranges":[{"startOffset":712,"endOffset":985,"count":0}],"isBlockCoverage":false},{"functionName":"exports.encloseBrace","ranges":[{"startOffset":1097,"endOffset":1266,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isInvalidBrace","ranges":[{"startOffset":1347,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isOpenOrClose","ranges":[{"startOffset":1767,"endOffset":1906,"count":0}],"isBlockCoverage":false},{"functionName":"exports.reduce","ranges":[{"startOffset":1969,"endOffset":2127,"count":0}],"isBlockCoverage":false},{"functionName":"exports.flatten","ranges":[{"startOffset":2177,"endOffset":2449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"291","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/compile.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1415,"count":1}],"isBlockCoverage":true},{"functionName":"compile","ranges":[{"startOffset":102,"endOffset":1386,"count":0}],"isBlockCoverage":false}]},{"scriptId":"292","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fill-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6315,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":265,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"transform","ranges":[{"startOffset":355,"endOffset":439,"count":0}],"isBlockCoverage":false},{"functionName":"isValidValue","ranges":[{"startOffset":463,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":578,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"zeros","ranges":[{"startOffset":624,"endOffset":817,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":838,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":1001,"endOffset":1295,"count":0}],"isBlockCoverage":false},{"functionName":"toMaxLen","ranges":[{"startOffset":1315,"endOffset":1552,"count":0}],"isBlockCoverage":false},{"functionName":"toSequence","ranges":[{"startOffset":1574,"endOffset":2208,"count":0}],"isBlockCoverage":false},{"functionName":"toRange","ranges":[{"startOffset":2227,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"toRegex","ranges":[{"startOffset":2499,"endOffset":2758,"count":0}],"isBlockCoverage":false},{"functionName":"rangeError","ranges":[{"startOffset":2780,"endOffset":2874,"count":0}],"isBlockCoverage":false},{"functionName":"invalidRange","ranges":[{"startOffset":2898,"endOffset":3008,"count":0}],"isBlockCoverage":false},{"functionName":"invalidStep","ranges":[{"startOffset":3031,"endOffset":3176,"count":0}],"isBlockCoverage":false},{"functionName":"fillNumbers","ranges":[{"startOffset":3199,"endOffset":4682,"count":0}],"isBlockCoverage":false},{"functionName":"fillLetters","ranges":[{"startOffset":4705,"endOffset":5486,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":5502,"endOffset":6289,"count":0}],"isBlockCoverage":false}]},{"scriptId":"293","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/to-regex-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6481,"count":1}],"isBlockCoverage":true},{"functionName":"toRegexRange","ranges":[{"startOffset":235,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"collatePatterns","ranges":[{"startOffset":2180,"endOffset":2554,"count":0}],"isBlockCoverage":false},{"functionName":"splitToRanges","ranges":[{"startOffset":2556,"endOffset":3037,"count":0}],"isBlockCoverage":false},{"functionName":"rangeToPattern","ranges":[{"startOffset":3159,"endOffset":3832,"count":0}],"isBlockCoverage":false},{"functionName":"splitToPatterns","ranges":[{"startOffset":3834,"endOffset":4632,"count":0}],"isBlockCoverage":false},{"functionName":"filterPatterns","ranges":[{"startOffset":4634,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"zip","ranges":[{"startOffset":5120,"endOffset":5233,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":5235,"endOffset":5298,"count":0}],"isBlockCoverage":false},{"functionName":"contains","ranges":[{"startOffset":5300,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"countNines","ranges":[{"startOffset":5382,"endOffset":5478,"count":0}],"isBlockCoverage":false},{"functionName":"countZeros","ranges":[{"startOffset":5480,"endOffset":5571,"count":0}],"isBlockCoverage":false},{"functionName":"toQuantifier","ranges":[{"startOffset":5573,"endOffset":5741,"count":0}],"isBlockCoverage":false},{"functionName":"toCharacterClass","ranges":[{"startOffset":5743,"endOffset":5837,"count":0}],"isBlockCoverage":false},{"functionName":"hasPadding","ranges":[{"startOffset":5839,"endOffset":5899,"count":0}],"isBlockCoverage":false},{"functionName":"padZeros","ranges":[{"startOffset":5901,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"toRegexRange.clearCache","ranges":[{"startOffset":6382,"endOffset":6413,"count":0}],"isBlockCoverage":false}]},{"scriptId":"294","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-number/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":411,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":184,"endOffset":409,"count":0}],"isBlockCoverage":false}]},{"scriptId":"295","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/expand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2780,"count":1}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":143,"endOffset":810,"count":0}],"isBlockCoverage":false},{"functionName":"expand","ranges":[{"startOffset":828,"endOffset":2752,"count":0}],"isBlockCoverage":false}]},{"scriptId":"296","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6913,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":576,"endOffset":6886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"297","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"298","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":60,"count":1}],"isBlockCoverage":true}]},{"scriptId":"299","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/picomatch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9956,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":204,"endOffset":264,"count":18},{"startOffset":242,"endOffset":264,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch","ranges":[{"startOffset":1018,"endOffset":2836,"count":19},{"startOffset":1087,"endOffset":1365,"count":1},{"startOffset":1365,"endOffset":1400,"count":18},{"startOffset":1400,"endOffset":1414,"count":0},{"startOffset":1415,"endOffset":1428,"count":0},{"startOffset":1449,"endOffset":1490,"count":18},{"startOffset":1478,"endOffset":1489,"count":0},{"startOffset":1492,"endOffset":1567,"count":0},{"startOffset":1567,"endOffset":1597,"count":18},{"startOffset":1669,"endOffset":1705,"count":0},{"startOffset":1710,"endOffset":1756,"count":18},{"startOffset":1861,"endOffset":2015,"count":0},{"startOffset":2015,"endOffset":2783,"count":18},{"startOffset":2783,"endOffset":2815,"count":0},{"startOffset":2815,"endOffset":2835,"count":18}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1114,"endOffset":1161,"count":18}],"isBlockCoverage":true},{"functionName":"arrayMatcher","ranges":[{"startOffset":1189,"endOffset":1335,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnored","ranges":[{"startOffset":1829,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2035,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.test","ranges":[{"startOffset":3384,"endOffset":4185,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.matchBase","ranges":[{"startOffset":4600,"endOffset":4787,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.isMatch","ranges":[{"startOffset":5423,"endOffset":5484,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.parse","ranges":[{"startOffset":5894,"endOffset":6062,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.scan","ranges":[{"startOffset":6697,"endOffset":6737,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.compileRe","ranges":[{"startOffset":7228,"endOffset":7738,"count":18},{"startOffset":7322,"endOffset":7352,"count":0},{"startOffset":7377,"endOffset":7382,"count":0},{"startOffset":7416,"endOffset":7420,"count":0},{"startOffset":7459,"endOffset":7463,"count":0},{"startOffset":7568,"endOffset":7607,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch.makeRe","ranges":[{"startOffset":8611,"endOffset":9117,"count":18},{"startOffset":8724,"endOffset":8785,"count":0},{"startOffset":8895,"endOffset":8914,"count":8},{"startOffset":8917,"endOffset":8975,"count":12}],"isBlockCoverage":true},{"functionName":"picomatch.toRegex","ranges":[{"startOffset":9579,"endOffset":9807,"count":18},{"startOffset":9635,"endOffset":9640,"count":0},{"startOffset":9699,"endOffset":9704,"count":0},{"startOffset":9717,"endOffset":9805,"count":0}],"isBlockCoverage":true}]},{"scriptId":"300","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/scan.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9189,"count":1}],"isBlockCoverage":true},{"functionName":"isPathSeparator","ranges":[{"startOffset":665,"endOffset":746,"count":0}],"isBlockCoverage":false},{"functionName":"depth","ranges":[{"startOffset":763,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"scan","ranges":[{"startOffset":1512,"endOffset":9163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"301","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1885,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isObject","ranges":[{"startOffset":242,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"exports.hasRegexChars","ranges":[{"startOffset":337,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isRegexChar","ranges":[{"startOffset":397,"endOffset":450,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeRegex","ranges":[{"startOffset":474,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"exports.toPosixSlashes","ranges":[{"startOffset":555,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removeBackslashes","ranges":[{"startOffset":626,"endOffset":738,"count":0}],"isBlockCoverage":false},{"functionName":"exports.supportsLookbehinds","ranges":[{"startOffset":771,"endOffset":960,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isWindows","ranges":[{"startOffset":983,"endOffset":1132,"count":48},{"startOffset":1010,"endOffset":1049,"count":30},{"startOffset":1051,"endOffset":1084,"count":0}],"isBlockCoverage":true},{"functionName":"exports.escapeLast","ranges":[{"startOffset":1156,"endOffset":1401,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removePrefix","ranges":[{"startOffset":1427,"endOffset":1584,"count":30},{"startOffset":1505,"endOffset":1565,"count":0}],"isBlockCoverage":true},{"functionName":"exports.wrapOutput","ranges":[{"startOffset":1608,"endOffset":1883,"count":8},{"startOffset":1682,"endOffset":1686,"count":0},{"startOffset":1728,"endOffset":1732,"count":0},{"startOffset":1821,"endOffset":1864,"count":0}],"isBlockCoverage":true}]},{"scriptId":"302","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4448,"count":1}],"isBlockCoverage":true},{"functionName":"extglobChars","ranges":[{"startOffset":3985,"endOffset":4324,"count":18}],"isBlockCoverage":true},{"functionName":"globChars","ranges":[{"startOffset":4365,"endOffset":4444,"count":30},{"startOffset":4410,"endOffset":4425,"count":0}],"isBlockCoverage":true}]},{"scriptId":"303","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27763,"count":1}],"isBlockCoverage":true},{"functionName":"expandRange","ranges":[{"startOffset":287,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"syntaxError","ranges":[{"startOffset":713,"endOffset":819,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":950,"endOffset":25216,"count":18},{"startOffset":1005,"endOffset":1056,"count":0},{"startOffset":1179,"endOffset":1217,"count":0},{"startOffset":1276,"endOffset":1372,"count":0},{"startOffset":1500,"endOffset":1504,"count":0},{"startOffset":2109,"endOffset":2113,"count":0},{"startOffset":2154,"endOffset":2161,"count":0},{"startOffset":2210,"endOffset":2226,"count":0},{"startOffset":2256,"endOffset":2285,"count":0},{"startOffset":2357,"endOffset":2395,"count":0},{"startOffset":6907,"endOffset":8130,"count":8},{"startOffset":7704,"endOffset":7937,"count":0},{"startOffset":7964,"endOffset":7989,"count":3},{"startOffset":7991,"endOffset":8046,"count":0},{"startOffset":8130,"endOffset":8211,"count":10},{"startOffset":8211,"endOffset":24093,"count":55},{"startOffset":8265,"endOffset":8288,"count":0},{"startOffset":8357,"endOffset":9173,"count":0},{"startOffset":9319,"endOffset":9382,"count":0},{"startOffset":9384,"endOffset":10516,"count":0},{"startOffset":10659,"endOffset":10675,"count":0},{"startOffset":10677,"endOffset":10792,"count":0},{"startOffset":10855,"endOffset":11012,"count":0},{"startOffset":11073,"endOffset":11161,"count":0},{"startOffset":11186,"endOffset":11621,"count":0},{"startOffset":11686,"endOffset":12045,"count":0},{"startOffset":12070,"endOffset":13525,"count":0},{"startOffset":13580,"endOffset":13604,"count":0},{"startOffset":13606,"endOffset":13873,"count":0},{"startOffset":13898,"endOffset":15028,"count":0},{"startOffset":15083,"endOffset":15236,"count":0},{"startOffset":15292,"endOffset":15553,"count":0},{"startOffset":15610,"endOffset":16220,"count":9},{"startOffset":15901,"endOffset":15935,"count":0},{"startOffset":15937,"endOffset":16136,"count":0},{"startOffset":16220,"endOffset":16274,"count":46},{"startOffset":16274,"endOffset":16840,"count":5},{"startOffset":16303,"endOffset":16325,"count":0},{"startOffset":16327,"endOffset":16576,"count":0},{"startOffset":16647,"endOffset":16671,"count":0},{"startOffset":16673,"endOffset":16760,"count":0},{"startOffset":16840,"endOffset":16904,"count":41},{"startOffset":16904,"endOffset":17841,"count":0},{"startOffset":17841,"endOffset":17902,"count":41},{"startOffset":17902,"endOffset":18202,"count":0},{"startOffset":18202,"endOffset":18256,"count":41},{"startOffset":18256,"endOffset":18806,"count":0},{"startOffset":18806,"endOffset":18866,"count":41},{"startOffset":18866,"endOffset":19091,"count":0},{"startOffset":19091,"endOffset":19151,"count":41},{"startOffset":19151,"endOffset":19452,"count":10},{"startOffset":19195,"endOffset":19234,"count":0},{"startOffset":19452,"endOffset":19548,"count":31},{"startOffset":19550,"endOffset":19757,"count":0},{"startOffset":19757,"endOffset":19842,"count":31},{"startOffset":19844,"endOffset":19901,"count":0},{"startOffset":19901,"endOffset":19933,"count":31},{"startOffset":19933,"endOffset":23132,"count":11},{"startOffset":19971,"endOffset":20022,"count":0},{"startOffset":20133,"endOffset":20156,"count":2},{"startOffset":20189,"endOffset":20246,"count":9},{"startOffset":20278,"endOffset":20323,"count":0},{"startOffset":20325,"endOffset":20403,"count":0},{"startOffset":20444,"endOffset":20497,"count":0},{"startOffset":20539,"endOffset":20591,"count":0},{"startOffset":20612,"endOffset":20637,"count":0},{"startOffset":20638,"endOffset":20649,"count":0},{"startOffset":20650,"endOffset":20663,"count":0},{"startOffset":20665,"endOffset":20743,"count":0},{"startOffset":20820,"endOffset":20997,"count":0},{"startOffset":21030,"endOffset":21038,"count":2},{"startOffset":21040,"endOffset":21257,"count":0},{"startOffset":21292,"endOffset":21320,"count":9},{"startOffset":21321,"endOffset":21334,"count":9},{"startOffset":21335,"endOffset":21343,"count":9},{"startOffset":21345,"endOffset":21745,"count":0},{"startOffset":21780,"endOffset":21808,"count":9},{"startOffset":21809,"endOffset":21827,"count":9},{"startOffset":21829,"endOffset":22362,"count":9},{"startOffset":21877,"endOffset":21881,"count":0},{"startOffset":22362,"endOffset":22413,"count":2},{"startOffset":22415,"endOffset":22745,"count":2},{"startOffset":22745,"endOffset":23132,"count":0},{"startOffset":23132,"endOffset":23220,"count":20},{"startOffset":23220,"endOffset":23401,"count":0},{"startOffset":23401,"endOffset":23469,"count":20},{"startOffset":23470,"endOffset":23492,"count":0},{"startOffset":23494,"endOffset":23564,"count":0},{"startOffset":23564,"endOffset":23602,"count":20},{"startOffset":23602,"endOffset":23626,"count":18},{"startOffset":23627,"endOffset":23649,"count":0},{"startOffset":23651,"endOffset":24071,"count":20},{"startOffset":23684,"endOffset":23769,"count":0},{"startOffset":23798,"endOffset":23885,"count":0},{"startOffset":23989,"endOffset":24065,"count":9},{"startOffset":24071,"endOffset":24093,"count":20},{"startOffset":24093,"endOffset":24124,"count":10},{"startOffset":24124,"endOffset":24302,"count":0},{"startOffset":24302,"endOffset":24331,"count":10},{"startOffset":24331,"endOffset":24507,"count":0},{"startOffset":24507,"endOffset":24536,"count":10},{"startOffset":24536,"endOffset":24712,"count":0},{"startOffset":24712,"endOffset":24800,"count":10},{"startOffset":24773,"endOffset":24799,"count":1},{"startOffset":24802,"endOffset":24882,"count":9},{"startOffset":24882,"endOffset":24976,"count":10},{"startOffset":24976,"endOffset":25197,"count":0},{"startOffset":25197,"endOffset":25215,"count":10}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":1977,"endOffset":2081,"count":11},{"startOffset":2042,"endOffset":2054,"count":0}],"isBlockCoverage":true},{"functionName":"eos","ranges":[{"startOffset":2889,"endOffset":2918,"count":76}],"isBlockCoverage":true},{"functionName":"state.peek","ranges":[{"startOffset":2948,"endOffset":2981,"count":20}],"isBlockCoverage":true},{"functionName":"state.advance","ranges":[{"startOffset":3017,"endOffset":3049,"count":66},{"startOffset":3044,"endOffset":3049,"count":0}],"isBlockCoverage":true},{"functionName":"remaining","ranges":[{"startOffset":3071,"endOffset":3105,"count":41}],"isBlockCoverage":true},{"functionName":"consume","ranges":[{"startOffset":3125,"endOffset":3208,"count":75}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":3228,"endOffset":3339,"count":64},{"startOffset":3280,"endOffset":3294,"count":54},{"startOffset":3295,"endOffset":3308,"count":10}],"isBlockCoverage":true},{"functionName":"negate","ranges":[{"startOffset":3359,"endOffset":3635,"count":0}],"isBlockCoverage":false},{"functionName":"increment","ranges":[{"startOffset":3658,"endOffset":3712,"count":0}],"isBlockCoverage":false},{"functionName":"decrement","ranges":[{"startOffset":3735,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":4109,"endOffset":5036,"count":64},{"startOffset":4152,"endOffset":4644,"count":11},{"startOffset":4193,"endOffset":4242,"count":0},{"startOffset":4309,"endOffset":4357,"count":0},{"startOffset":4392,"endOffset":4415,"count":0},{"startOffset":4416,"endOffset":4427,"count":0},{"startOffset":4428,"endOffset":4441,"count":0},{"startOffset":4443,"endOffset":4638,"count":0},{"startOffset":4670,"endOffset":4693,"count":0},{"startOffset":4695,"endOffset":4758,"count":0},{"startOffset":4778,"endOffset":4791,"count":9},{"startOffset":4843,"endOffset":4865,"count":9},{"startOffset":4867,"endOffset":4972,"count":0}],"isBlockCoverage":true},{"functionName":"extglobOpen","ranges":[{"startOffset":5061,"endOffset":5492,"count":0}],"isBlockCoverage":false},{"functionName":"extglobClose","ranges":[{"startOffset":5518,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6999,"endOffset":7670,"count":6},{"startOffset":7066,"endOffset":7121,"count":0},{"startOffset":7148,"endOffset":7409,"count":0},{"startOffset":7436,"endOffset":7494,"count":5},{"startOffset":7494,"endOffset":7521,"count":1},{"startOffset":7521,"endOffset":7631,"count":0},{"startOffset":7631,"endOffset":7649,"count":1},{"startOffset":7649,"endOffset":7652,"count":0},{"startOffset":7653,"endOffset":7663,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7841,"endOffset":7921,"count":0}],"isBlockCoverage":false},{"functionName":"parse.fastpaths","ranges":[{"startOffset":25439,"endOffset":27736,"count":12},{"startOffset":25541,"endOffset":25579,"count":0},{"startOffset":25639,"endOffset":25735,"count":0},{"startOffset":26089,"endOffset":26098,"count":0},{"startOffset":26137,"endOffset":26152,"count":0},{"startOffset":26194,"endOffset":26198,"count":0},{"startOffset":26287,"endOffset":26294,"count":0},{"startOffset":26324,"endOffset":26353,"count":0},{"startOffset":27644,"endOffset":27674,"count":0},{"startOffset":27676,"endOffset":27716,"count":0}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":26374,"endOffset":26525,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":26545,"endOffset":27545,"count":16},{"startOffset":26579,"endOffset":26633,"count":0},{"startOffset":26641,"endOffset":26702,"count":0},{"startOffset":26710,"endOffset":26787,"count":0},{"startOffset":26795,"endOffset":26885,"count":0},{"startOffset":26893,"endOffset":26942,"count":0},{"startOffset":26950,"endOffset":27056,"count":0},{"startOffset":27064,"endOffset":27193,"count":0},{"startOffset":27201,"endOffset":27311,"count":0},{"startOffset":27400,"endOffset":27407,"count":12},{"startOffset":27407,"endOffset":27478,"count":4},{"startOffset":27478,"endOffset":27535,"count":0}],"isBlockCoverage":true}]},{"scriptId":"304","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":629,"count":1}],"isBlockCoverage":true},{"functionName":"merge","ranges":[{"startOffset":135,"endOffset":499,"count":0}],"isBlockCoverage":false},{"functionName":"propagateCloseEventToSources","ranges":[{"startOffset":523,"endOffset":628,"count":0}],"isBlockCoverage":false}]},{"scriptId":"305","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":298,"count":1}],"isBlockCoverage":true},{"functionName":"isString","ranges":[{"startOffset":122,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"isEmpty","ranges":[{"startOffset":218,"endOffset":270,"count":0}],"isBlockCoverage":false}]},{"scriptId":"306","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":814,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderAsync","ranges":[{"startOffset":217,"endOffset":327,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":332,"endOffset":587,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":592,"endOffset":778,"count":0}],"isBlockCoverage":false}]},{"scriptId":"307","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1213,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderAsync","ranges":[{"startOffset":246,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":407,"endOffset":750,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":755,"endOffset":1179,"count":0}],"isBlockCoverage":false}]},{"scriptId":"308","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"walk","ranges":[{"startOffset":378,"endOffset":710,"count":0}],"isBlockCoverage":false},{"functionName":"walkSync","ranges":[{"startOffset":732,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"walkStream","ranges":[{"startOffset":956,"endOffset":1154,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":1188,"endOffset":1389,"count":0}],"isBlockCoverage":false}]},{"scriptId":"309","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":895,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncProvider","ranges":[{"startOffset":148,"endOffset":349,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":354,"endOffset":707,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":743,"endOffset":813,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":814,"endOffset":894,"count":0}],"isBlockCoverage":false}]},{"scriptId":"310","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3157,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncReader","ranges":[{"startOffset":318,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":821,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"get isDestroyed","ranges":[{"startOffset":1050,"endOffset":1109,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":1114,"endOffset":1308,"count":0}],"isBlockCoverage":false},{"functionName":"onEntry","ranges":[{"startOffset":1313,"endOffset":1383,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":1388,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"onEnd","ranges":[{"startOffset":1465,"endOffset":1533,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":1538,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_worker","ranges":[{"startOffset":1778,"endOffset":2168,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":2173,"endOffset":2423,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":2428,"endOffset":3049,"count":0}],"isBlockCoverage":false},{"functionName":"_emitEntry","ranges":[{"startOffset":3054,"endOffset":3123,"count":0}],"isBlockCoverage":false}]},{"scriptId":"311","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1009,"count":1}],"isBlockCoverage":true},{"functionName":"scandir","ranges":[{"startOffset":311,"endOffset":603,"count":0}],"isBlockCoverage":false},{"functionName":"scandirSync","ranges":[{"startOffset":631,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":807,"endOffset":1008,"count":0}],"isBlockCoverage":false}]},{"scriptId":"312","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3686,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":346,"endOffset":598,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":620,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"makeRplTaskEntry","ranges":[{"startOffset":1625,"endOffset":2247,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":2248,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":3536,"endOffset":3606,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":3607,"endOffset":3685,"count":0}],"isBlockCoverage":false}]},{"scriptId":"313","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"stat","ranges":[{"startOffset":305,"endOffset":594,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":616,"endOffset":753,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":783,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"314","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":1000,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":1022,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":1093,"endOffset":1171,"count":0}],"isBlockCoverage":false}]},{"scriptId":"315","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":619,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"316","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":696,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":135,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":563,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"317","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":305,"endOffset":522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"318","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/run-parallel/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1034,"count":1}],"isBlockCoverage":true},{"functionName":"runParallel","ranges":[{"startOffset":167,"endOffset":1033,"count":0}],"isBlockCoverage":false}]},{"scriptId":"319","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/queue-microtask/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":402,"count":1},{"startOffset":210,"endOffset":218,"count":0},{"startOffset":283,"endOffset":401,"count":0}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":285,"endOffset":401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"320","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":990,"count":1},{"startOffset":295,"endOffset":424,"count":0},{"startOffset":794,"endOffset":837,"count":0},{"startOffset":956,"endOffset":988,"count":0}],"isBlockCoverage":true}]},{"scriptId":"321","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":143,"count":1}],"isBlockCoverage":true}]},{"scriptId":"322","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"323","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":419,"count":1}],"isBlockCoverage":true},{"functionName":"joinPathSegments","ranges":[{"startOffset":112,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"324","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1990,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":309,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":551,"endOffset":1357,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":1411,"endOffset":1962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"325","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1076,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":209,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":943,"endOffset":1045,"count":0}],"isBlockCoverage":false}]},{"scriptId":"326","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":640,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":363,"endOffset":580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"327","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fastq/queue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5617,"count":1}],"isBlockCoverage":true},{"functionName":"fastqueue","ranges":[{"startOffset":77,"endOffset":3391,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":3393,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"Task","ranges":[{"startOffset":3414,"endOffset":3917,"count":0}],"isBlockCoverage":false},{"functionName":"queueAsPromised","ranges":[{"startOffset":3919,"endOffset":5547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"328","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/reusify/reusify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"reusify","ranges":[{"startOffset":14,"endOffset":427,"count":0}],"isBlockCoverage":false}]},{"scriptId":"329","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1052,"count":1}],"isBlockCoverage":true},{"functionName":"isFatalError","ranges":[{"startOffset":199,"endOffset":350,"count":0}],"isBlockCoverage":false},{"functionName":"isAppliedFilter","ranges":[{"startOffset":388,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"replacePathSegmentSeparator","ranges":[{"startOffset":520,"endOffset":633,"count":0}],"isBlockCoverage":false},{"functionName":"joinPathSegments","ranges":[{"startOffset":701,"endOffset":1006,"count":0}],"isBlockCoverage":false}]},{"scriptId":"330","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":358,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":132,"endOffset":329,"count":0}],"isBlockCoverage":false}]},{"scriptId":"331","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1021,"count":1}],"isBlockCoverage":true},{"functionName":"StreamProvider","ranges":[{"startOffset":185,"endOffset":630,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":635,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"332","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":407,"count":1}],"isBlockCoverage":true},{"functionName":"SyncProvider","ranges":[{"startOffset":145,"endOffset":317,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":322,"endOffset":372,"count":0}],"isBlockCoverage":false}]},{"scriptId":"333","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1911,"count":1}],"isBlockCoverage":true},{"functionName":"SyncReader","ranges":[{"startOffset":249,"endOffset":407,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":412,"endOffset":549,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":554,"endOffset":637,"count":0}],"isBlockCoverage":false},{"functionName":"_handleQueue","ranges":[{"startOffset":642,"endOffset":787,"count":0}],"isBlockCoverage":false},{"functionName":"_handleDirectory","ranges":[{"startOffset":792,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":1127,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":1269,"endOffset":1809,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToStorage","ranges":[{"startOffset":1814,"endOffset":1878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"334","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1250,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":178,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":1117,"endOffset":1219,"count":0}],"isBlockCoverage":false}]},{"scriptId":"335","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1063,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":205,"endOffset":518,"count":0}],"isBlockCoverage":false},{"functionName":"_getFullEntryPath","ranges":[{"startOffset":523,"endOffset":617,"count":0}],"isBlockCoverage":false},{"functionName":"_makeEntry","ranges":[{"startOffset":622,"endOffset":913,"count":0}],"isBlockCoverage":false},{"functionName":"_isFatalError","ranges":[{"startOffset":918,"endOffset":1034,"count":0}],"isBlockCoverage":false}]},{"scriptId":"336","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1870,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderStream","ranges":[{"startOffset":289,"endOffset":419,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":424,"endOffset":502,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":513,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":1275,"endOffset":1579,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1584,"endOffset":1835,"count":0}],"isBlockCoverage":false}]},{"scriptId":"337","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/provider.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2000,"count":1}],"isBlockCoverage":true},{"functionName":"Provider","ranges":[{"startOffset":307,"endOffset":692,"count":0}],"isBlockCoverage":false},{"functionName":"_getRootDirectory","ranges":[{"startOffset":697,"endOffset":788,"count":0}],"isBlockCoverage":false},{"functionName":"_getReaderOptions","ranges":[{"startOffset":793,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"_getMicromatchOptions","ranges":[{"startOffset":1559,"endOffset":1969,"count":0}],"isBlockCoverage":false}]},{"scriptId":"338","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/deep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2466,"count":1}],"isBlockCoverage":true},{"functionName":"DeepFilter","ranges":[{"startOffset":188,"endOffset":328,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":333,"endOffset":576,"count":0}],"isBlockCoverage":false},{"functionName":"_getMatcher","ranges":[{"startOffset":581,"endOffset":699,"count":0}],"isBlockCoverage":false},{"functionName":"_getNegativePatternsRe","ranges":[{"startOffset":704,"endOffset":956,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":961,"endOffset":1444,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByDeep","ranges":[{"startOffset":1449,"endOffset":1754,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntryLevel","ranges":[{"startOffset":1759,"endOffset":2043,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedSymbolicLink","ranges":[{"startOffset":2048,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByPositivePatterns","ranges":[{"startOffset":2175,"endOffset":2306,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByNegativePatterns","ranges":[{"startOffset":2311,"endOffset":2433,"count":0}],"isBlockCoverage":false}]},{"scriptId":"339","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/partial.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1421,"count":1}],"isBlockCoverage":true},{"functionName":"match","ranges":[{"startOffset":170,"endOffset":1384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"340","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1568,"count":1}],"isBlockCoverage":true},{"functionName":"Matcher","ranges":[{"startOffset":135,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"_fillStorage","ranges":[{"startOffset":384,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"_getPatternSegments","ranges":[{"startOffset":778,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"_splitSegmentsIntoSections","ranges":[{"startOffset":1370,"endOffset":1538,"count":0}],"isBlockCoverage":false}]},{"scriptId":"341","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2686,"count":1}],"isBlockCoverage":true},{"functionName":"EntryFilter","ranges":[{"startOffset":139,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":316,"endOffset":667,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":672,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"_isDuplicateEntry","ranges":[{"startOffset":1473,"endOffset":1549,"count":0}],"isBlockCoverage":false},{"functionName":"_createIndexRecord","ranges":[{"startOffset":1554,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyFileFilter","ranges":[{"startOffset":1640,"endOffset":1737,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyDirectoryFilter","ranges":[{"startOffset":1742,"endOffset":1855,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByAbsoluteNegativePatterns","ranges":[{"startOffset":1860,"endOffset":2145,"count":0}],"isBlockCoverage":false},{"functionName":"_isMatchToPatterns","ranges":[{"startOffset":2150,"endOffset":2652,"count":0}],"isBlockCoverage":false}]},{"scriptId":"342","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"ErrorFilter","ranges":[{"startOffset":139,"endOffset":205,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":210,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"_isNonFatalError","ranges":[{"startOffset":290,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"343","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/transformers/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":845,"count":1}],"isBlockCoverage":true},{"functionName":"EntryTransformer","ranges":[{"startOffset":144,"endOffset":210,"count":0}],"isBlockCoverage":false},{"functionName":"getTransformer","ranges":[{"startOffset":215,"endOffset":289,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":294,"endOffset":806,"count":0}],"isBlockCoverage":false}]},{"scriptId":"344","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1198,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderStream","ranges":[{"startOffset":256,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":372,"endOffset":970,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":975,"endOffset":1161,"count":0}],"isBlockCoverage":false}]},{"scriptId":"345","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":779,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderSync","ranges":[{"startOffset":214,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":328,"endOffset":553,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":558,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"346","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1330,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderSync","ranges":[{"startOffset":251,"endOffset":385,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":390,"endOffset":466,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":477,"endOffset":878,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":883,"endOffset":1203,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1208,"endOffset":1297,"count":0}],"isBlockCoverage":false}]},{"scriptId":"347","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2849,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":645,"endOffset":2584,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":2589,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"_getFileSystemMethods","ranges":[{"startOffset":2680,"endOffset":2818,"count":0}],"isBlockCoverage":false}]},{"scriptId":"348","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/dir-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2304,"count":1}],"isBlockCoverage":true},{"functionName":"getExtensions","ranges":[{"startOffset":106,"endOffset":187,"count":0}],"isBlockCoverage":false},{"functionName":"getPath","ranges":[{"startOffset":206,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"addExtensions","ranges":[{"startOffset":376,"endOffset":506,"count":0}],"isBlockCoverage":false},{"functionName":"getGlob","ranges":[{"startOffset":525,"endOffset":1324,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1344,"endOffset":1852,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.sync","ranges":[{"startOffset":1877,"endOffset":2302,"count":0}],"isBlockCoverage":false}]},{"scriptId":"349","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-type/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":true},{"functionName":"isType","ranges":[{"startOffset":78,"endOffset":444,"count":0}],"isBlockCoverage":false},{"functionName":"isTypeSync","ranges":[{"startOffset":446,"endOffset":770,"count":0}],"isBlockCoverage":false}]},{"scriptId":"350","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16073,"count":1},{"startOffset":15630,"endOffset":16072,"count":0}],"isBlockCoverage":true},{"functionName":"makeArray","ranges":[{"startOffset":41,"endOffset":135,"count":0}],"isBlockCoverage":false},{"functionName":"define","ranges":[{"startOffset":813,"endOffset":882,"count":0}],"isBlockCoverage":false},{"functionName":"RETURN_FALSE","ranges":[{"startOffset":952,"endOffset":963,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeRange","ranges":[{"startOffset":1090,"endOffset":1362,"count":0}],"isBlockCoverage":false},{"functionName":"cleanRangeBackSlash","ranges":[{"startOffset":1412,"endOffset":1500,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2321,"endOffset":2383,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2438,"endOffset":2449,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3104,"endOffset":3125,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3213,"endOffset":3225,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3477,"endOffset":3486,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3577,"endOffset":3588,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4009,"endOffset":4028,"count":0}],"isBlockCoverage":false},{"functionName":"startingReplacer","ranges":[{"startOffset":4250,"endOffset":5144,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5442,"endOffset":5912,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":6273,"endOffset":6593,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6787,"endOffset":6799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6849,"endOffset":6861,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7539,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":8102,"endOffset":8250,"count":0}],"isBlockCoverage":false},{"functionName":"REPLACERS","ranges":[{"startOffset":8311,"endOffset":8645,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegex","ranges":[{"startOffset":8808,"endOffset":9130,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":9149,"endOffset":9187,"count":0}],"isBlockCoverage":false},{"functionName":"checkPattern","ranges":[{"startOffset":9294,"endOffset":9514,"count":0}],"isBlockCoverage":false},{"functionName":"splitPattern","ranges":[{"startOffset":9537,"endOffset":9582,"count":0}],"isBlockCoverage":false},{"functionName":"IgnoreRule","ranges":[{"startOffset":9605,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"createRule","ranges":[{"startOffset":9804,"endOffset":10534,"count":0}],"isBlockCoverage":false},{"functionName":"throwError","ranges":[{"startOffset":10555,"endOffset":10603,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath","ranges":[{"startOffset":10623,"endOffset":11159,"count":0}],"isBlockCoverage":false},{"functionName":"isNotRelative","ranges":[{"startOffset":11183,"endOffset":11225,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.convert","ranges":[{"startOffset":11287,"endOffset":11293,"count":0}],"isBlockCoverage":false},{"functionName":"Ignore","ranges":[{"startOffset":11312,"endOffset":11588,"count":0}],"isBlockCoverage":false},{"functionName":"_initCache","ranges":[{"startOffset":11592,"endOffset":11697,"count":0}],"isBlockCoverage":false},{"functionName":"_addPattern","ranges":[{"startOffset":11701,"endOffset":12031,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":12089,"endOffset":12416,"count":0}],"isBlockCoverage":false},{"functionName":"addPattern","ranges":[{"startOffset":12432,"endOffset":12487,"count":0}],"isBlockCoverage":false},{"functionName":"_testOne","ranges":[{"startOffset":13081,"endOffset":13588,"count":0}],"isBlockCoverage":false},{"functionName":"_test","ranges":[{"startOffset":13619,"endOffset":13965,"count":0}],"isBlockCoverage":false},{"functionName":"_t","ranges":[{"startOffset":13969,"endOffset":14755,"count":0}],"isBlockCoverage":false},{"functionName":"ignores","ranges":[{"startOffset":14759,"endOffset":14841,"count":0}],"isBlockCoverage":false},{"functionName":"createFilter","ranges":[{"startOffset":14845,"endOffset":14905,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":14909,"endOffset":14985,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":15016,"endOffset":15084,"count":0}],"isBlockCoverage":false},{"functionName":"factory","ranges":[{"startOffset":15104,"endOffset":15134,"count":0}],"isBlockCoverage":false},{"functionName":"isPathValid","ranges":[{"startOffset":15156,"endOffset":15228,"count":0}],"isBlockCoverage":false},{"functionName":"makePosix","ranges":[{"startOffset":15691,"endOffset":15798,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.isNotRelative","ranges":[{"startOffset":15990,"endOffset":16070,"count":0}],"isBlockCoverage":false}]},{"scriptId":"351","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/glob-helpers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4053,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":547,"endOffset":575,"count":9}],"isBlockCoverage":true},{"functionName":"processMatchingPatterns","ranges":[{"startOffset":724,"endOffset":1373,"count":0}],"isBlockCoverage":false},{"functionName":"matchesIgnorePatterns","ranges":[{"startOffset":1466,"endOffset":1608,"count":0}],"isBlockCoverage":false},{"functionName":"classify","ranges":[{"startOffset":1611,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"hasExtension","ranges":[{"startOffset":2008,"endOffset":2078,"count":0}],"isBlockCoverage":false},{"functionName":"isHelperish","ranges":[{"startOffset":2119,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"matches","ranges":[{"startOffset":2778,"endOffset":2887,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFileForMatching","ranges":[{"startOffset":2917,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePattern","ranges":[{"startOffset":3459,"endOffset":3856,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePatterns","ranges":[{"startOffset":3904,"endOffset":4004,"count":0}],"isBlockCoverage":false}]},{"scriptId":"352","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore-by-default/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":816,"count":1}],"isBlockCoverage":true},{"functionName":"exports.directories","ranges":[{"startOffset":36,"endOffset":815,"count":1}],"isBlockCoverage":true}]},{"scriptId":"353","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/slash.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":1199,"endOffset":1364,"count":0}],"isBlockCoverage":false}]},{"scriptId":"354","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/pkg.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":59,"count":1}],"isBlockCoverage":true}]},{"scriptId":"355","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/clean-yaml-object/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2176,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":129,"count":0}],"isBlockCoverage":false},{"functionName":"cleanYamlObj","ranges":[{"startOffset":132,"endOffset":1901,"count":0}],"isBlockCoverage":false},{"functionName":"setProp","ranges":[{"startOffset":1903,"endOffset":2131,"count":0}],"isBlockCoverage":false},{"functionName":"defaultFilter","ranges":[{"startOffset":2133,"endOffset":2175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"356","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":578,"count":1}],"isBlockCoverage":true}]},{"scriptId":"357","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3379,"count":1}],"isBlockCoverage":true},{"functionName":"shortcircuitPrimitive","ranges":[{"startOffset":408,"endOffset":728,"count":10},{"startOffset":531,"endOffset":542,"count":0},{"startOffset":618,"endOffset":629,"count":0},{"startOffset":690,"endOffset":710,"count":0}],"isBlockCoverage":true},{"functionName":"compareDescriptors","ranges":[{"startOffset":730,"endOffset":2814,"count":5},{"startOffset":916,"endOffset":2775,"count":73},{"startOffset":963,"endOffset":1070,"count":0},{"startOffset":1102,"endOffset":1132,"count":0},{"startOffset":1207,"endOffset":1219,"count":0},{"startOffset":1251,"endOffset":2308,"count":25},{"startOffset":1301,"endOffset":1313,"count":0},{"startOffset":1346,"endOffset":1372,"count":0},{"startOffset":1374,"endOffset":2089,"count":0},{"startOffset":2336,"endOffset":2771,"count":93},{"startOffset":2445,"endOffset":2460,"count":68},{"startOffset":2462,"endOffset":2485,"count":68},{"startOffset":2485,"endOffset":2525,"count":25},{"startOffset":2527,"endOffset":2729,"count":25},{"startOffset":2729,"endOffset":2765,"count":0}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":2864,"endOffset":3352,"count":5},{"startOffset":2946,"endOffset":2967,"count":0},{"startOffset":3161,"endOffset":3183,"count":0}],"isBlockCoverage":true}]},{"scriptId":"358","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Circular.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":785,"count":1}],"isBlockCoverage":true},{"functionName":"Circular","ranges":[{"startOffset":33,"endOffset":80,"count":10}],"isBlockCoverage":true},{"functionName":"add","ranges":[{"startOffset":84,"endOffset":361,"count":50},{"startOffset":139,"endOffset":174,"count":0},{"startOffset":211,"endOffset":244,"count":30},{"startOffset":245,"endOffset":278,"count":30},{"startOffset":280,"endOffset":341,"count":30}],"isBlockCoverage":true},{"functionName":"delete","ranges":[{"startOffset":365,"endOffset":583,"count":50},{"startOffset":423,"endOffset":563,"count":30},{"startOffset":483,"endOffset":521,"count":0}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":587,"endOffset":647,"count":146}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":651,"endOffset":756,"count":0}],"isBlockCoverage":false}]},{"scriptId":"359","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":249,"count":1}],"isBlockCoverage":true}]},{"scriptId":"360","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/describe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5965,"count":1}],"isBlockCoverage":true},{"functionName":"describePrimitive","ranges":[{"startOffset":2448,"endOffset":2957,"count":126},{"startOffset":2507,"endOffset":2534,"count":0},{"startOffset":2562,"endOffset":2594,"count":14},{"startOffset":2594,"endOffset":2616,"count":112},{"startOffset":2616,"endOffset":2634,"count":102},{"startOffset":2636,"endOffset":2671,"count":10},{"startOffset":2671,"endOffset":2726,"count":102},{"startOffset":2726,"endOffset":2760,"count":0},{"startOffset":2760,"endOffset":2786,"count":102},{"startOffset":2786,"endOffset":2820,"count":2},{"startOffset":2820,"endOffset":2846,"count":100},{"startOffset":2846,"endOffset":2880,"count":70},{"startOffset":2880,"endOffset":2906,"count":30},{"startOffset":2906,"endOffset":2940,"count":0},{"startOffset":2940,"endOffset":2956,"count":30}],"isBlockCoverage":true},{"functionName":"unboxComplex","ranges":[{"startOffset":2959,"endOffset":3324,"count":30},{"startOffset":3272,"endOffset":3303,"count":0}],"isBlockCoverage":true},{"functionName":"registerPlugins","ranges":[{"startOffset":3326,"endOffset":3726,"count":10},{"startOffset":3393,"endOffset":3416,"count":0},{"startOffset":3435,"endOffset":3725,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3425,"endOffset":3435,"count":30}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3508,"endOffset":3724,"count":0}],"isBlockCoverage":false},{"functionName":"describeComplex","ranges":[{"startOffset":3728,"endOffset":4699,"count":30},{"startOffset":3875,"endOffset":3901,"count":0},{"startOffset":4173,"endOffset":4238,"count":0},{"startOffset":4321,"endOffset":4374,"count":0}],"isBlockCoverage":true},{"functionName":"describeItem","ranges":[{"startOffset":4722,"endOffset":4923,"count":56},{"startOffset":4802,"endOffset":4860,"count":36},{"startOffset":4865,"endOffset":4921,"count":20}],"isBlockCoverage":true},{"functionName":"describeMapEntry","ranges":[{"startOffset":4950,"endOffset":5058,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":5060,"endOffset":5938,"count":10},{"startOffset":5168,"endOffset":5184,"count":0}],"isBlockCoverage":true},{"functionName":"curriedComplex","ranges":[{"startOffset":5310,"endOffset":5435,"count":30}],"isBlockCoverage":true},{"functionName":"describeAny","ranges":[{"startOffset":5459,"endOffset":5595,"count":86},{"startOffset":5551,"endOffset":5563,"count":66},{"startOffset":5570,"endOffset":5591,"count":20}],"isBlockCoverage":true},{"functionName":"describeProperty","ranges":[{"startOffset":5624,"endOffset":5904,"count":30},{"startOffset":5832,"endOffset":5900,"count":0}],"isBlockCoverage":true}]},{"scriptId":"361","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Registry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"Registry","ranges":[{"startOffset":33,"endOffset":103,"count":10}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":107,"endOffset":155,"count":30}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":159,"endOffset":218,"count":0}],"isBlockCoverage":false},{"functionName":"alloc","ranges":[{"startOffset":222,"endOffset":374,"count":30}],"isBlockCoverage":true}]},{"scriptId":"362","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":409,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":652,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1160,"endOffset":1382,"count":0}],"isBlockCoverage":false}]},{"scriptId":"363","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7185,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":436,"endOffset":713,"count":30},{"startOffset":677,"endOffset":697,"count":10}],"isBlockCoverage":true},{"functionName":"deserialize","ranges":[{"startOffset":743,"endOffset":839,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectValue","ranges":[{"startOffset":950,"endOffset":1203,"count":30}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":1207,"endOffset":1399,"count":25},{"startOffset":1263,"endOffset":1277,"count":0},{"startOffset":1356,"endOffset":1370,"count":0}],"isBlockCoverage":true},{"functionName":"hasSameCtor","ranges":[{"startOffset":1403,"endOffset":1470,"count":25}],"isBlockCoverage":true},{"functionName":"formatShallow","ranges":[{"startOffset":1474,"endOffset":1561,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1565,"endOffset":1699,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":2001,"endOffset":6371,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2068,"endOffset":2433,"count":30}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":2439,"endOffset":2563,"count":25},{"startOffset":2511,"endOffset":2523,"count":0}],"isBlockCoverage":true},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2569,"endOffset":3030,"count":30},{"startOffset":2660,"endOffset":2679,"count":20},{"startOffset":2680,"endOffset":2683,"count":10},{"startOffset":2742,"endOffset":2776,"count":20},{"startOffset":2776,"endOffset":3029,"count":10}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":2817,"endOffset":2995,"count":40},{"startOffset":2853,"endOffset":2864,"count":10},{"startOffset":2864,"endOffset":2994,"count":30}],"isBlockCoverage":true},{"functionName":"createListRecursor","ranges":[{"startOffset":3036,"endOffset":3472,"count":30},{"startOffset":3084,"endOffset":3118,"count":10},{"startOffset":3118,"endOffset":3179,"count":20},{"startOffset":3179,"endOffset":3213,"count":0},{"startOffset":3213,"endOffset":3471,"count":20}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":3254,"endOffset":3437,"count":76},{"startOffset":3290,"endOffset":3301,"count":20},{"startOffset":3301,"endOffset":3436,"count":56}],"isBlockCoverage":true},{"functionName":"createIterableRecursor","ranges":[{"startOffset":3478,"endOffset":4494,"count":30},{"startOffset":3529,"endOffset":3548,"count":10},{"startOffset":3584,"endOffset":4493,"count":0}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":3917,"endOffset":4459,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":4500,"endOffset":6365,"count":30}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4661,"endOffset":6359,"count":146},{"startOffset":4706,"endOffset":6283,"count":206},{"startOffset":4741,"endOffset":4870,"count":176},{"startOffset":4813,"endOffset":4858,"count":90},{"startOffset":4907,"endOffset":4967,"count":120},{"startOffset":4925,"endOffset":4945,"count":90},{"startOffset":4946,"endOffset":4966,"count":60},{"startOffset":4969,"endOffset":6273,"count":90},{"startOffset":5044,"endOffset":5417,"count":30},{"startOffset":5324,"endOffset":5403,"count":20},{"startOffset":5417,"endOffset":6261,"count":60},{"startOffset":5446,"endOffset":5839,"count":30},{"startOffset":5742,"endOffset":5825,"count":10},{"startOffset":5839,"endOffset":6261,"count":30},{"startOffset":6164,"endOffset":6247,"count":0},{"startOffset":6309,"endOffset":6327,"count":176}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5112,"endOffset":5143,"count":30}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5518,"endOffset":5553,"count":30}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5940,"endOffset":5975,"count":30}],"isBlockCoverage":true},{"functionName":"DeserializedMixin","ranges":[{"startOffset":6413,"endOffset":7138,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6483,"endOffset":6780,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":6786,"endOffset":7055,"count":0}],"isBlockCoverage":false},{"functionName":"hasSameCtor","ranges":[{"startOffset":7061,"endOffset":7132,"count":0}],"isBlockCoverage":false}]},{"scriptId":"364","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/formatUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3260,"count":1}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":60,"endOffset":146,"count":0}],"isBlockCoverage":false},{"functionName":"formatCtorAndStringTag","ranges":[{"startOffset":168,"endOffset":537,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectFormatter","ranges":[{"startOffset":621,"endOffset":840,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":844,"endOffset":1189,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":1193,"endOffset":1873,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":1877,"endOffset":2161,"count":0}],"isBlockCoverage":false},{"functionName":"shouldFormat","ranges":[{"startOffset":2165,"endOffset":2202,"count":0}],"isBlockCoverage":false},{"functionName":"customize","ranges":[{"startOffset":2206,"endOffset":2502,"count":0}],"isBlockCoverage":false},{"functionName":"SingleValueFormatter","ranges":[{"startOffset":2579,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2790,"endOffset":2961,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":2965,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":3120,"endOffset":3205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"365","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/lineBuilder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7155,"count":1}],"isBlockCoverage":true},{"functionName":"translateGutter","ranges":[{"startOffset":123,"endOffset":485,"count":0}],"isBlockCoverage":false},{"functionName":"Line","ranges":[{"startOffset":502,"endOffset":670,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":674,"endOffset":717,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":721,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":762,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":820,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":884,"endOffset":934,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":938,"endOffset":1027,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":1031,"endOffset":1202,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":1206,"endOffset":1479,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":1483,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":1634,"endOffset":1783,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":1787,"endOffset":1871,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":1875,"endOffset":1960,"count":0}],"isBlockCoverage":false},{"functionName":"Collection","ranges":[{"startOffset":2050,"endOffset":2091,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2095,"endOffset":2217,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":2221,"endOffset":2277,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":2281,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":2399,"endOffset":2526,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2530,"endOffset":2632,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":2636,"endOffset":2725,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2729,"endOffset":3536,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":3540,"endOffset":4287,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":4291,"endOffset":4423,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":4427,"endOffset":4561,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":4565,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":4675,"endOffset":5381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":5462,"endOffset":5708,"count":0}],"isBlockCoverage":false},{"functionName":"buffer","ranges":[{"startOffset":5731,"endOffset":5774,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":5779,"endOffset":5856,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":5861,"endOffset":5937,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":5942,"endOffset":6019,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6024,"endOffset":6101,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6106,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6194,"endOffset":6277,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6284,"endOffset":6366,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6373,"endOffset":6456,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6463,"endOffset":6546,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6553,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6678,"endOffset":6763,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6770,"endOffset":6854,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6861,"endOffset":6946,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6953,"endOffset":7038,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":7045,"endOffset":7146,"count":0}],"isBlockCoverage":false}]},{"scriptId":"366","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getObjectKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":964,"count":1}],"isBlockCoverage":true},{"functionName":"getObjectKeys","ranges":[{"startOffset":14,"endOffset":932,"count":30},{"startOffset":430,"endOffset":756,"count":106},{"startOffset":503,"endOffset":644,"count":76},{"startOffset":578,"endOffset":590,"count":56},{"startOffset":591,"endOffset":638,"count":56},{"startOffset":661,"endOffset":717,"count":50},{"startOffset":719,"endOffset":752,"count":30},{"startOffset":799,"endOffset":905,"count":0}],"isBlockCoverage":true}]},{"scriptId":"367","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/hasLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":303,"count":1}],"isBlockCoverage":true},{"functionName":"hasLength","ranges":[{"startOffset":104,"endOffset":275,"count":10},{"startOffset":197,"endOffset":226,"count":0},{"startOffset":227,"endOffset":268,"count":0}],"isBlockCoverage":true}]},{"scriptId":"368","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":802,"count":1}],"isBlockCoverage":true},{"functionName":"isLength","ranges":[{"startOffset":645,"endOffset":773,"count":0}],"isBlockCoverage":false}]},{"scriptId":"369","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/stats.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3836,"count":1}],"isBlockCoverage":true},{"functionName":"describeIterableRecursor","ranges":[{"startOffset":228,"endOffset":318,"count":0}],"isBlockCoverage":false},{"functionName":"describeListRecursor","ranges":[{"startOffset":380,"endOffset":462,"count":20}],"isBlockCoverage":true},{"functionName":"describePropertyRecursor","ranges":[{"startOffset":516,"endOffset":606,"count":10}],"isBlockCoverage":true},{"functionName":"deserializeIterableStats","ranges":[{"startOffset":668,"endOffset":745,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeListStats","ranges":[{"startOffset":807,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePropertyStats","ranges":[{"startOffset":930,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":1306,"endOffset":1351,"count":30}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":1355,"endOffset":1432,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1436,"endOffset":2989,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2993,"endOffset":3032,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3141,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3387,"endOffset":3513,"count":10},{"startOffset":3500,"endOffset":3509,"count":0}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":3625,"endOffset":3755,"count":5},{"startOffset":3742,"endOffset":3751,"count":0}],"isBlockCoverage":true}]},{"scriptId":"370","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/recursorUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2251,"count":1}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":51,"endOffset":74,"count":60}],"isBlockCoverage":true},{"functionName":"fork","ranges":[{"startOffset":117,"endOffset":396,"count":0}],"isBlockCoverage":false},{"functionName":"consumeDeep","ranges":[{"startOffset":418,"endOffset":732,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":768,"endOffset":910,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":930,"endOffset":1606,"count":90},{"startOffset":1046,"endOffset":1076,"count":60},{"startOffset":1076,"endOffset":1179,"count":30},{"startOffset":1216,"endOffset":1249,"count":60},{"startOffset":1249,"endOffset":1605,"count":30}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":1301,"endOffset":1546,"count":116},{"startOffset":1323,"endOffset":1334,"count":0},{"startOffset":1499,"endOffset":1524,"count":30}],"isBlockCoverage":true},{"functionName":"sequence","ranges":[{"startOffset":1632,"endOffset":1850,"count":0}],"isBlockCoverage":false},{"functionName":"singleValue","ranges":[{"startOffset":1880,"endOffset":2012,"count":20}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1939,"endOffset":2010,"count":40},{"startOffset":1961,"endOffset":2009,"count":20}],"isBlockCoverage":true},{"functionName":"unshift","ranges":[{"startOffset":2048,"endOffset":2224,"count":0}],"isBlockCoverage":false}]},{"scriptId":"371","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":970,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":313,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":343,"endOffset":444,"count":0}],"isBlockCoverage":false}]},{"scriptId":"372","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/typedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4439,"count":1}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":382,"endOffset":596,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":628,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":910,"endOffset":1010,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeBytes","ranges":[{"startOffset":1046,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"Bytes","ranges":[{"startOffset":1292,"endOffset":1343,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1347,"endOffset":1482,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1486,"endOffset":2297,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2301,"endOffset":2342,"count":0}],"isBlockCoverage":false},{"functionName":"TypedArrayValue","ranges":[{"startOffset":2466,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":2543,"endOffset":2931,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":3049,"endOffset":3869,"count":3}],"isBlockCoverage":true},{"functionName":"createListRecursor","ranges":[{"startOffset":3237,"endOffset":3307,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":3313,"endOffset":3749,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":3755,"endOffset":3863,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMixin","ranges":[{"startOffset":3977,"endOffset":4320,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4073,"endOffset":4314,"count":0}],"isBlockCoverage":false}]},{"scriptId":"373","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/boxed.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1292,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":264,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedBoxedValue","ranges":[{"startOffset":634,"endOffset":709,"count":0}],"isBlockCoverage":false},{"functionName":"createListRecursor","ranges":[{"startOffset":713,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":783,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1126,"endOffset":1220,"count":0}],"isBlockCoverage":false}]},{"scriptId":"374","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11430,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":306,"endOffset":367,"count":70}],"isBlockCoverage":true},{"functionName":"basicEscape","ranges":[{"startOffset":707,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"escapeLinebreak","ranges":[{"startOffset":1015,"endOffset":1219,"count":0}],"isBlockCoverage":false},{"functionName":"themeControlPictures","ranges":[{"startOffset":1221,"endOffset":1442,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuotes","ranges":[{"startOffset":1537,"endOffset":1834,"count":0}],"isBlockCoverage":false},{"functionName":"includesLinebreaks","ranges":[{"startOffset":1836,"endOffset":1932,"count":0}],"isBlockCoverage":false},{"functionName":"diffLine","ranges":[{"startOffset":1934,"endOffset":3826,"count":0}],"isBlockCoverage":false},{"functionName":"gatherLines","ranges":[{"startOffset":3862,"endOffset":4170,"count":0}],"isBlockCoverage":false},{"functionName":"StringValue","ranges":[{"startOffset":4194,"endOffset":4242,"count":70}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":4246,"endOffset":4370,"count":35},{"startOffset":4357,"endOffset":4366,"count":0}],"isBlockCoverage":true},{"functionName":"get includesLinebreaks","ranges":[{"startOffset":4374,"endOffset":4447,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4451,"endOffset":5422,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":5426,"endOffset":5800,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5804,"endOffset":11238,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":11242,"endOffset":11282,"count":0}],"isBlockCoverage":false}]},{"scriptId":"375","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1334,"endOffset":1486,"count":1}],"isBlockCoverage":true}]},{"scriptId":"376","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/ast.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4728,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":4687,"count":1}],"isBlockCoverage":true},{"functionName":"isExpression","ranges":[{"startOffset":1370,"endOffset":2121,"count":0}],"isBlockCoverage":false},{"functionName":"isIterationStatement","ranges":[{"startOffset":2127,"endOffset":2444,"count":0}],"isBlockCoverage":false},{"functionName":"isStatement","ranges":[{"startOffset":2450,"endOffset":3262,"count":0}],"isBlockCoverage":false},{"functionName":"isSourceElement","ranges":[{"startOffset":3268,"endOffset":3393,"count":0}],"isBlockCoverage":false},{"functionName":"trailingStatement","ranges":[{"startOffset":3399,"endOffset":3843,"count":0}],"isBlockCoverage":false},{"functionName":"isProblematicIfStatement","ranges":[{"startOffset":3849,"endOffset":4384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"377","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/code.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29610,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1391,"endOffset":29569,"count":1},{"startOffset":27989,"endOffset":28199,"count":128},{"startOffset":28045,"endOffset":28058,"count":31},{"startOffset":28059,"endOffset":28107,"count":102},{"startOffset":28094,"endOffset":28107,"count":37},{"startOffset":28108,"endOffset":28143,"count":76},{"startOffset":28144,"endOffset":28158,"count":75},{"startOffset":28273,"endOffset":28531,"count":128},{"startOffset":28328,"endOffset":28341,"count":31},{"startOffset":28342,"endOffset":28390,"count":102},{"startOffset":28377,"endOffset":28390,"count":37},{"startOffset":28391,"endOffset":28439,"count":76},{"startOffset":28426,"endOffset":28439,"count":28},{"startOffset":28440,"endOffset":28475,"count":66},{"startOffset":28476,"endOffset":28490,"count":65}],"isBlockCoverage":true},{"functionName":"isDecimalDigit","ranges":[{"startOffset":26641,"endOffset":26726,"count":0}],"isBlockCoverage":false},{"functionName":"isHexDigit","ranges":[{"startOffset":26732,"endOffset":26919,"count":0}],"isBlockCoverage":false},{"functionName":"isOctalDigit","ranges":[{"startOffset":26925,"endOffset":27008,"count":0}],"isBlockCoverage":false},{"functionName":"isWhiteSpace","ranges":[{"startOffset":27243,"endOffset":27434,"count":0}],"isBlockCoverage":false},{"functionName":"isLineTerminator","ranges":[{"startOffset":27469,"endOffset":27583,"count":0}],"isBlockCoverage":false},{"functionName":"fromCodePoint","ranges":[{"startOffset":27634,"endOffset":27914,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES5","ranges":[{"startOffset":28537,"endOffset":28686,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES5","ranges":[{"startOffset":28692,"endOffset":28838,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES6","ranges":[{"startOffset":28844,"endOffset":28993,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES6","ranges":[{"startOffset":28999,"endOffset":29145,"count":0}],"isBlockCoverage":false}]},{"scriptId":"378","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/keyword.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5616,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":5575,"count":1}],"isBlockCoverage":true},{"functionName":"isStrictModeReservedWordES6","ranges":[{"startOffset":1405,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES5","ranges":[{"startOffset":1752,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES6","ranges":[{"startOffset":1990,"endOffset":3218,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES5","ranges":[{"startOffset":3224,"endOffset":3363,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES6","ranges":[{"startOffset":3369,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"isRestrictedWord","ranges":[{"startOffset":3514,"endOffset":3603,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES5","ranges":[{"startOffset":3609,"endOffset":4045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeUtf16","ranges":[{"startOffset":4051,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES6","ranges":[{"startOffset":4167,"endOffset":4903,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES5","ranges":[{"startOffset":4909,"endOffset":5027,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES6","ranges":[{"startOffset":5033,"endOffset":5151,"count":0}],"isBlockCoverage":false}]},{"scriptId":"379","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-diff/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":38838,"count":1}],"isBlockCoverage":true},{"functionName":"diff_main","ranges":[{"startOffset":1622,"endOffset":2855,"count":0}],"isBlockCoverage":false},{"functionName":"diff_compute_","ranges":[{"startOffset":3117,"endOffset":4721,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisect_","ranges":[{"startOffset":5070,"endOffset":8602,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisectSplit_","ranges":[{"startOffset":8946,"endOffset":9292,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonPrefix","ranges":[{"startOffset":9516,"endOffset":10360,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonOverlap_","ranges":[{"startOffset":10654,"endOffset":11835,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonSuffix","ranges":[{"startOffset":12050,"endOffset":12955,"count":0}],"isBlockCoverage":false},{"functionName":"diff_halfMatch_","ranges":[{"startOffset":13397,"endOffset":16552,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemantic","ranges":[{"startOffset":16712,"endOffset":21136,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemanticLossless","ranges":[{"startOffset":21599,"endOffset":25878,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupMerge","ranges":[{"startOffset":26143,"endOffset":33884,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_start","ranges":[{"startOffset":33886,"endOffset":33983,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_end","ranges":[{"startOffset":33985,"endOffset":34080,"count":0}],"isBlockCoverage":false},{"functionName":"starts_with_pair_end","ranges":[{"startOffset":34082,"endOffset":34171,"count":0}],"isBlockCoverage":false},{"functionName":"ends_with_pair_start","ranges":[{"startOffset":34173,"endOffset":34277,"count":0}],"isBlockCoverage":false},{"functionName":"remove_empty_tuples","ranges":[{"startOffset":34279,"endOffset":34465,"count":0}],"isBlockCoverage":false},{"functionName":"make_edit_splice","ranges":[{"startOffset":34467,"endOffset":34771,"count":0}],"isBlockCoverage":false},{"functionName":"find_cursor_edit_diff","ranges":[{"startOffset":34773,"endOffset":38521,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":38523,"endOffset":38733,"count":0}],"isBlockCoverage":false}]},{"scriptId":"380","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/dataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":949,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":319,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":349,"endOffset":447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"381","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/date.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2613,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":304,"endOffset":471,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":501,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"formatDate","ranges":[{"startOffset":682,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"DateValue","ranges":[{"startOffset":993,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1072,"endOffset":1333,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1337,"endOffset":2118,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2122,"endOffset":2253,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedDateValue","ranges":[{"startOffset":2460,"endOffset":2610,"count":0}],"isBlockCoverage":false}]},{"scriptId":"382","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/date-time/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":831,"count":1}],"isBlockCoverage":true},{"functionName":"dateTime","ranges":[{"startOffset":71,"endOffset":718,"count":0}],"isBlockCoverage":false}]},{"scriptId":"383","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/time-zone/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":343,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"384","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3605,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":331,"endOffset":608,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":638,"endOffset":733,"count":0}],"isBlockCoverage":false},{"functionName":"ErrorValue","ranges":[{"startOffset":869,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":942,"endOffset":1082,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1086,"endOffset":2193,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2197,"endOffset":2257,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedErrorValue","ranges":[{"startOffset":2400,"endOffset":2583,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2587,"endOffset":3430,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedErrorValue","ranges":[{"startOffset":3512,"endOffset":3602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"385","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/isEnumerable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":171,"count":1}],"isBlockCoverage":true},{"functionName":"isEnumerable","ranges":[{"startOffset":14,"endOffset":140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"386","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3272,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":377,"endOffset":600,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":630,"endOffset":728,"count":0}],"isBlockCoverage":false},{"functionName":"FunctionValue","ranges":[{"startOffset":870,"endOffset":939,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":943,"endOffset":1706,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedFunctionValue","ranges":[{"startOffset":1858,"endOffset":1951,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1955,"endOffset":2203,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2207,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2749,"endOffset":2809,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedFunctionValue","ranges":[{"startOffset":2897,"endOffset":2987,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2991,"endOffset":3205,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3209,"endOffset":3269,"count":0}],"isBlockCoverage":false}]},{"scriptId":"387","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":822,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":275,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":412,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":512,"endOffset":676,"count":0}],"isBlockCoverage":false}]},{"scriptId":"388","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1845,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"MapValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1028,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1032,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1229,"endOffset":1674,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMapValue","ranges":[{"startOffset":1752,"endOffset":1842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"389","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1054,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":167,"endOffset":238,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":268,"endOffset":345,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":630,"endOffset":830,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":916,"endOffset":1051,"count":0}],"isBlockCoverage":false}]},{"scriptId":"390","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2733,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":219,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":432,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"getSortedFlags","ranges":[{"startOffset":617,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"RegexpValue","ranges":[{"startOffset":824,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":930,"endOffset":1107,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1111,"endOffset":2317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2321,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedRegexpValue","ranges":[{"startOffset":2612,"endOffset":2730,"count":0}],"isBlockCoverage":false}]},{"scriptId":"391","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1815,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"SetValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1030,"endOffset":1090,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1227,"endOffset":1644,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSetValue","ranges":[{"startOffset":1722,"endOffset":1812,"count":0}],"isBlockCoverage":false}]},{"scriptId":"392","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getCtor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1275,"count":1}],"isBlockCoverage":true},{"functionName":"getCtor","ranges":[{"startOffset":59,"endOffset":1249,"count":30},{"startOffset":234,"endOffset":240,"count":0},{"startOffset":244,"endOffset":1248,"count":0}],"isBlockCoverage":true}]},{"scriptId":"393","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getStringTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":721,"count":1},{"startOffset":467,"endOffset":720,"count":0}],"isBlockCoverage":true},{"functionName":"getStringTag","ranges":[{"startOffset":51,"endOffset":121,"count":31}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":225,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"getStringTagWithPromiseWorkaround","ranges":[{"startOffset":519,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"394","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/item.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7816,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":228,"endOffset":310,"count":20}],"isBlockCoverage":true},{"functionName":"deserializeComplex","ranges":[{"startOffset":354,"endOffset":469,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":519,"endOffset":605,"count":36}],"isBlockCoverage":true},{"functionName":"deserializePrimitive","ranges":[{"startOffset":653,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexItem","ranges":[{"startOffset":1017,"endOffset":1095,"count":20}],"isBlockCoverage":true},{"functionName":"createRecursor","ranges":[{"startOffset":1099,"endOffset":1171,"count":20}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":1175,"endOffset":1330,"count":10},{"startOffset":1317,"endOffset":1326,"count":0}],"isBlockCoverage":true},{"functionName":"formatShallow","ranges":[{"startOffset":1334,"endOffset":1719,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1723,"endOffset":4317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":4321,"endOffset":4361,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveItem","ranges":[{"startOffset":4536,"endOffset":4614,"count":36}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":4618,"endOffset":4775,"count":18},{"startOffset":4762,"endOffset":4771,"count":0}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":4779,"endOffset":5334,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":5338,"endOffset":6853,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":6857,"endOffset":7602,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7606,"endOffset":7660,"count":0}],"isBlockCoverage":false}]},{"scriptId":"395","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/mapEntry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7305,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":318,"endOffset":585,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":615,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithKey","ranges":[{"startOffset":974,"endOffset":1422,"count":0}],"isBlockCoverage":false},{"functionName":"MapEntry","ranges":[{"startOffset":1443,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1639,"endOffset":1916,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1920,"endOffset":2399,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":2403,"endOffset":3004,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3008,"endOffset":3349,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":3353,"endOffset":4200,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":4204,"endOffset":7086,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7090,"endOffset":7164,"count":0}],"isBlockCoverage":false}]},{"scriptId":"396","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/themeUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5251,"count":1}],"isBlockCoverage":true},{"functionName":"freezeTheme","ranges":[{"startOffset":151,"endOffset":490,"count":1},{"startOffset":233,"endOffset":472,"count":42},{"startOffset":338,"endOffset":468,"count":120},{"startOffset":397,"endOffset":425,"count":118},{"startOffset":427,"endOffset":462,"count":41}],"isBlockCoverage":true},{"functionName":"normalizePlugins","ranges":[{"startOffset":2413,"endOffset":3165,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":3205,"endOffset":4082,"count":0}],"isBlockCoverage":false},{"functionName":"addModifier","ranges":[{"startOffset":4146,"endOffset":4338,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiers","ranges":[{"startOffset":4446,"endOffset":5020,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiersToOriginal","ranges":[{"startOffset":5062,"endOffset":5190,"count":0}],"isBlockCoverage":false}]},{"scriptId":"397","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/cloneDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":679,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDeep","ranges":[{"startOffset":555,"endOffset":649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"398","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseClone.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5609,"count":1}],"isBlockCoverage":true},{"functionName":"baseClone","ranges":[{"startOffset":3399,"endOffset":5579,"count":0}],"isBlockCoverage":false}]},{"scriptId":"399","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Stack.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":734,"count":1}],"isBlockCoverage":true},{"functionName":"Stack","ranges":[{"startOffset":402,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"400","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_ListCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"ListCache","ranges":[{"startOffset":376,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"401","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":218,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheClear","ranges":[{"startOffset":115,"endOffset":183,"count":0}],"isBlockCoverage":false}]},{"scriptId":"402","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":775,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheDelete","ranges":[{"startOffset":440,"endOffset":739,"count":0}],"isBlockCoverage":false}]},{"scriptId":"403","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assocIndexOf.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":487,"count":1}],"isBlockCoverage":true},{"functionName":"assocIndexOf","ranges":[{"startOffset":286,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"404","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":799,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":681,"endOffset":776,"count":0}],"isBlockCoverage":false}]},{"scriptId":"405","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":420,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheGet","ranges":[{"startOffset":240,"endOffset":387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"406","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheHas","ranges":[{"startOffset":292,"endOffset":370,"count":0}],"isBlockCoverage":false}]},{"scriptId":"407","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":553,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheSet","ranges":[{"startOffset":292,"endOffset":520,"count":0}],"isBlockCoverage":false}]},{"scriptId":"408","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":254,"count":1}],"isBlockCoverage":true},{"functionName":"stackClear","ranges":[{"startOffset":148,"endOffset":223,"count":0}],"isBlockCoverage":false}]},{"scriptId":"409","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":405,"count":1}],"isBlockCoverage":true},{"functionName":"stackDelete","ranges":[{"startOffset":237,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"410","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":271,"count":1}],"isBlockCoverage":true},{"functionName":"stackGet","ranges":[{"startOffset":183,"endOffset":242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"411","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":323,"count":1}],"isBlockCoverage":true},{"functionName":"stackHas","ranges":[{"startOffset":235,"endOffset":294,"count":0}],"isBlockCoverage":false}]},{"scriptId":"412","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":853,"count":1}],"isBlockCoverage":true},{"functionName":"stackSet","ranges":[{"startOffset":436,"endOffset":824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"413","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"414","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"getNative","ranges":[{"startOffset":331,"endOffset":453,"count":7},{"startOffset":439,"endOffset":450,"count":0}],"isBlockCoverage":true}]},{"scriptId":"415","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1417,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsNative","ranges":[{"startOffset":1182,"endOffset":1384,"count":7},{"startOffset":1256,"endOffset":1279,"count":0},{"startOffset":1327,"endOffset":1341,"count":0}],"isBlockCoverage":true}]},{"scriptId":"416","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isFunction.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":993,"count":1}],"isBlockCoverage":true},{"functionName":"isFunction","ranges":[{"startOffset":617,"endOffset":962,"count":7},{"startOffset":670,"endOffset":693,"count":0},{"startOffset":905,"endOffset":921,"count":0},{"startOffset":922,"endOffset":940,"count":0},{"startOffset":941,"endOffset":959,"count":0}],"isBlockCoverage":true}]},{"scriptId":"417","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":792,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true},{"functionName":"baseGetTag","ranges":[{"startOffset":534,"endOffset":761,"count":13},{"startOffset":584,"endOffset":646,"count":0},{"startOffset":712,"endOffset":730,"count":5},{"startOffset":735,"endOffset":758,"count":8}],"isBlockCoverage":true}]},{"scriptId":"418","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true}]},{"scriptId":"419","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_root.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":300,"count":1},{"startOffset":119,"endOffset":126,"count":0},{"startOffset":127,"endOffset":152,"count":0},{"startOffset":153,"endOffset":160,"count":0},{"startOffset":234,"endOffset":245,"count":0},{"startOffset":246,"endOffset":274,"count":0}],"isBlockCoverage":true}]},{"scriptId":"420","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_freeGlobal.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":173,"count":1}],"isBlockCoverage":true}]},{"scriptId":"421","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getRawTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1139,"count":1},{"startOffset":488,"endOffset":499,"count":0}],"isBlockCoverage":true},{"functionName":"getRawTag","ranges":[{"startOffset":701,"endOffset":1109,"count":5},{"startOffset":899,"endOffset":911,"count":0},{"startOffset":995,"endOffset":1037,"count":0}],"isBlockCoverage":true}]},{"scriptId":"422","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_objectToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":565,"count":1}],"isBlockCoverage":true},{"functionName":"objectToString","ranges":[{"startOffset":453,"endOffset":530,"count":8}],"isBlockCoverage":true}]},{"scriptId":"423","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":733,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":581,"endOffset":704,"count":14}],"isBlockCoverage":true}]},{"scriptId":"424","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isMasked.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":564,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":116,"endOffset":268,"count":1},{"startOffset":166,"endOffset":184,"count":0},{"startOffset":185,"endOffset":212,"count":0},{"startOffset":234,"endOffset":260,"count":0}],"isBlockCoverage":true},{"functionName":"isMasked","ranges":[{"startOffset":461,"endOffset":535,"count":7},{"startOffset":509,"endOffset":532,"count":0}],"isBlockCoverage":true}]},{"scriptId":"425","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_coreJsData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":157,"count":1}],"isBlockCoverage":true}]},{"scriptId":"426","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_toSource.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":556,"count":1}],"isBlockCoverage":true},{"functionName":"toSource","ranges":[{"startOffset":339,"endOffset":527,"count":12},{"startOffset":441,"endOffset":508,"count":0},{"startOffset":512,"endOffset":526,"count":0}],"isBlockCoverage":true}]},{"scriptId":"427","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":325,"count":1}],"isBlockCoverage":true},{"functionName":"getValue","ranges":[{"startOffset":211,"endOffset":296,"count":7},{"startOffset":268,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"428","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_MapCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"MapCache","ranges":[{"startOffset":389,"endOffset":606,"count":0}],"isBlockCoverage":false}]},{"scriptId":"429","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":393,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheClear","ranges":[{"startOffset":209,"endOffset":359,"count":0}],"isBlockCoverage":false}]},{"scriptId":"430","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Hash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"Hash","ranges":[{"startOffset":319,"endOffset":532,"count":0}],"isBlockCoverage":false}]},{"scriptId":"431","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":281,"count":1}],"isBlockCoverage":true},{"functionName":"hashClear","ranges":[{"startOffset":152,"endOffset":251,"count":0}],"isBlockCoverage":false}]},{"scriptId":"432","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":187,"count":1}],"isBlockCoverage":true}]},{"scriptId":"433","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":445,"count":1}],"isBlockCoverage":true},{"functionName":"hashDelete","ranges":[{"startOffset":279,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"434","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"hashGet","ranges":[{"startOffset":513,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"435","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":626,"count":1}],"isBlockCoverage":true},{"functionName":"hashHas","ranges":[{"startOffset":461,"endOffset":598,"count":0}],"isBlockCoverage":false}]},{"scriptId":"436","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"hashSet","ranges":[{"startOffset":379,"endOffset":570,"count":0}],"isBlockCoverage":false}]},{"scriptId":"437","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheDelete","ranges":[{"startOffset":282,"endOffset":415,"count":0}],"isBlockCoverage":false}]},{"scriptId":"438","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getMapData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":400,"count":1}],"isBlockCoverage":true},{"functionName":"getMapData","ranges":[{"startOffset":214,"endOffset":369,"count":0}],"isBlockCoverage":false}]},{"scriptId":"439","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isKeyable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":430,"count":1}],"isBlockCoverage":true},{"functionName":"isKeyable","ranges":[{"startOffset":201,"endOffset":400,"count":0}],"isBlockCoverage":false}]},{"scriptId":"440","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":330,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheGet","ranges":[{"startOffset":228,"endOffset":298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"441","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheHas","ranges":[{"startOffset":280,"endOffset":350,"count":0}],"isBlockCoverage":false}]},{"scriptId":"442","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":489,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheSet","ranges":[{"startOffset":279,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"443","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayEach.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":537,"count":1}],"isBlockCoverage":true},{"functionName":"arrayEach","ranges":[{"startOffset":274,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"444","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":899,"count":1}],"isBlockCoverage":true},{"functionName":"assignValue","ranges":[{"startOffset":629,"endOffset":867,"count":0}],"isBlockCoverage":false}]},{"scriptId":"445","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":625,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignValue","ranges":[{"startOffset":314,"endOffset":589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"446","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_defineProperty.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":64,"endOffset":194,"count":1},{"startOffset":180,"endOffset":192,"count":0}],"isBlockCoverage":true}]},{"scriptId":"447","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssign.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssign","ranges":[{"startOffset":339,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"448","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1044,"count":1}],"isBlockCoverage":true},{"functionName":"copyObject","ranges":[{"startOffset":467,"endOffset":1013,"count":0}],"isBlockCoverage":false}]},{"scriptId":"449","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":884,"count":1}],"isBlockCoverage":true},{"functionName":"keys","ranges":[{"startOffset":761,"endOffset":859,"count":0}],"isBlockCoverage":false}]},{"scriptId":"450","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayLikeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1778,"count":1}],"isBlockCoverage":true},{"functionName":"arrayLikeKeys","ranges":[{"startOffset":697,"endOffset":1744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"451","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseTimes.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":504,"count":1}],"isBlockCoverage":true},{"functionName":"baseTimes","ranges":[{"startOffset":313,"endOffset":474,"count":0}],"isBlockCoverage":false}]},{"scriptId":"452","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1026,"count":1},{"startOffset":851,"endOffset":993,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":797,"endOffset":829,"count":1}],"isBlockCoverage":true},{"functionName":"isArguments","ranges":[{"startOffset":853,"endOffset":993,"count":0}],"isBlockCoverage":false}]},{"scriptId":"453","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsArguments","ranges":[{"startOffset":355,"endOffset":452,"count":1}],"isBlockCoverage":true}]},{"scriptId":"454","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObjectLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"isObjectLike","ranges":[{"startOffset":497,"endOffset":581,"count":1}],"isBlockCoverage":true}]},{"scriptId":"455","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true}]},{"scriptId":"456","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1114,"count":1},{"startOffset":548,"endOffset":559,"count":0},{"startOffset":697,"endOffset":708,"count":0},{"startOffset":1072,"endOffset":1084,"count":0}],"isBlockCoverage":true}]},{"scriptId":"457","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubFalse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":280,"count":1}],"isBlockCoverage":true},{"functionName":"stubFalse","ranges":[{"startOffset":210,"endOffset":250,"count":0}],"isBlockCoverage":false}]},{"scriptId":"458","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIndex.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":759,"count":1}],"isBlockCoverage":true},{"functionName":"isIndex","ranges":[{"startOffset":456,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"459","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":695,"count":1},{"startOffset":643,"endOffset":661,"count":0}],"isBlockCoverage":true}]},{"scriptId":"460","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2222,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsTypedArray","ranges":[{"startOffset":2050,"endOffset":2185,"count":0}],"isBlockCoverage":false}]},{"scriptId":"461","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseUnary.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":332,"count":1}],"isBlockCoverage":true},{"functionName":"baseUnary","ranges":[{"startOffset":218,"endOffset":302,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":254,"endOffset":299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"462","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nodeUtil.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":995,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":615,"endOffset":962,"count":1},{"startOffset":806,"endOffset":911,"count":0},{"startOffset":912,"endOffset":942,"count":0},{"startOffset":948,"endOffset":960,"count":0}],"isBlockCoverage":true}]},{"scriptId":"463","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":776,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeys","ranges":[{"startOffset":479,"endOffset":747,"count":0}],"isBlockCoverage":false}]},{"scriptId":"464","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":480,"count":1}],"isBlockCoverage":true},{"functionName":"isPrototype","ranges":[{"startOffset":273,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"465","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":204,"count":1}],"isBlockCoverage":true}]},{"scriptId":"466","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overArg.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"overArg","ranges":[{"startOffset":254,"endOffset":354,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":299,"endOffset":351,"count":0}],"isBlockCoverage":false}]},{"scriptId":"467","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":830,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLike","ranges":[{"startOffset":695,"endOffset":798,"count":0}],"isBlockCoverage":false}]},{"scriptId":"468","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":482,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignIn","ranges":[{"startOffset":345,"endOffset":449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"469","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":778,"count":1}],"isBlockCoverage":true},{"functionName":"keysIn","ranges":[{"startOffset":643,"endOffset":751,"count":0}],"isBlockCoverage":false}]},{"scriptId":"470","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":870,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeysIn","ranges":[{"startOffset":523,"endOffset":839,"count":0}],"isBlockCoverage":false}]},{"scriptId":"471","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":490,"count":1}],"isBlockCoverage":true},{"functionName":"nativeKeysIn","ranges":[{"startOffset":292,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"472","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1056,"count":1},{"startOffset":508,"endOffset":519,"count":0},{"startOffset":567,"endOffset":578,"count":0}],"isBlockCoverage":true},{"functionName":"cloneBuffer","ranges":[{"startOffset":783,"endOffset":1024,"count":0}],"isBlockCoverage":false}]},{"scriptId":"473","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"copyArray","ranges":[{"startOffset":219,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"474","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":446,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbols","ranges":[{"startOffset":317,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"475","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":886,"count":1},{"startOffset":624,"endOffset":635,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbols","ranges":[{"startOffset":638,"endOffset":854,"count":0}],"isBlockCoverage":false}]},{"scriptId":"476","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayFilter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":632,"count":1}],"isBlockCoverage":true},{"functionName":"arrayFilter","ranges":[{"startOffset":289,"endOffset":600,"count":0}],"isBlockCoverage":false}]},{"scriptId":"477","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":390,"count":1}],"isBlockCoverage":true},{"functionName":"stubArray","ranges":[{"startOffset":323,"endOffset":360,"count":0}],"isBlockCoverage":false}]},{"scriptId":"478","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbolsIn","ranges":[{"startOffset":335,"endOffset":436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"479","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":754,"count":1},{"startOffset":549,"endOffset":560,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbolsIn","ranges":[{"startOffset":563,"endOffset":720,"count":0}],"isBlockCoverage":false}]},{"scriptId":"480","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayPush.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":437,"count":1}],"isBlockCoverage":true},{"functionName":"arrayPush","ranges":[{"startOffset":200,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"481","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":163,"count":1}],"isBlockCoverage":true}]},{"scriptId":"482","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":455,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeys","ranges":[{"startOffset":342,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"483","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":739,"count":1}],"isBlockCoverage":true},{"functionName":"baseGetAllKeys","ranges":[{"startOffset":537,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"484","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeysIn","ranges":[{"startOffset":367,"endOffset":455,"count":0}],"isBlockCoverage":false}]},{"scriptId":"485","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1838,"count":1},{"startOffset":1296,"endOffset":1811,"count":0}],"isBlockCoverage":true},{"functionName":"getTag","ranges":[{"startOffset":1309,"endOffset":1808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"486","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_DataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true}]},{"scriptId":"487","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"488","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"489","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_WeakMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"490","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":692,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneArray","ranges":[{"startOffset":329,"endOffset":657,"count":0}],"isBlockCoverage":false}]},{"scriptId":"491","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneByTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2261,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneByTag","ranges":[{"startOffset":1454,"endOffset":2226,"count":0}],"isBlockCoverage":false}]},{"scriptId":"492","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneArrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":449,"count":1}],"isBlockCoverage":true},{"functionName":"cloneArrayBuffer","ranges":[{"startOffset":226,"endOffset":412,"count":0}],"isBlockCoverage":false}]},{"scriptId":"493","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Uint8Array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":130,"count":1}],"isBlockCoverage":true}]},{"scriptId":"494","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneDataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":507,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDataView","ranges":[{"startOffset":267,"endOffset":473,"count":0}],"isBlockCoverage":false}]},{"scriptId":"495","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneRegExp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":439,"count":1}],"isBlockCoverage":true},{"functionName":"cloneRegExp","ranges":[{"startOffset":243,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"496","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneSymbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":524,"count":1},{"startOffset":138,"endOffset":149,"count":0},{"startOffset":205,"endOffset":216,"count":0}],"isBlockCoverage":true},{"functionName":"cloneSymbol","ranges":[{"startOffset":394,"endOffset":492,"count":0}],"isBlockCoverage":false}]},{"scriptId":"497","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":527,"count":1}],"isBlockCoverage":true},{"functionName":"cloneTypedArray","ranges":[{"startOffset":275,"endOffset":491,"count":0}],"isBlockCoverage":false}]},{"scriptId":"498","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":486,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneObject","ranges":[{"startOffset":290,"endOffset":450,"count":0}],"isBlockCoverage":false}]},{"scriptId":"499","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":686,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":355,"endOffset":651,"count":1}],"isBlockCoverage":true},{"functionName":"object","ranges":[{"startOffset":370,"endOffset":390,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":400,"endOffset":648,"count":0}],"isBlockCoverage":false}]},{"scriptId":"500","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"501","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsMap","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"502","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"503","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsSet","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"504","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/merge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1220,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1115,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"505","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMerge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1328,"count":1}],"isBlockCoverage":true},{"functionName":"baseMerge","ranges":[{"startOffset":699,"endOffset":1298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"506","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignMergeValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"assignMergeValue","ranges":[{"startOffset":342,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"507","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"508","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createBaseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":648,"count":1}],"isBlockCoverage":true},{"functionName":"createBaseFor","ranges":[{"startOffset":217,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":262,"endOffset":611,"count":0}],"isBlockCoverage":false}]},{"scriptId":"509","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMergeDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3069,"count":1}],"isBlockCoverage":true},{"functionName":"baseMergeDeep","ranges":[{"startOffset":1316,"endOffset":3035,"count":0}],"isBlockCoverage":false}]},{"scriptId":"510","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLikeObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":742,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLikeObject","ranges":[{"startOffset":615,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"511","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1650,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":1229,"endOffset":1616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"512","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_safeGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":456,"count":1}],"isBlockCoverage":true},{"functionName":"safeGet","ranges":[{"startOffset":243,"endOffset":428,"count":0}],"isBlockCoverage":false}]},{"scriptId":"513","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/toPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":744,"count":1}],"isBlockCoverage":true},{"functionName":"toPlainObject","ranges":[{"startOffset":634,"endOffset":710,"count":0}],"isBlockCoverage":false}]},{"scriptId":"514","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createAssigner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1042,"count":1}],"isBlockCoverage":true},{"functionName":"createAssigner","ranges":[{"startOffset":272,"endOffset":1007,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":326,"endOffset":1003,"count":0}],"isBlockCoverage":false}]},{"scriptId":"515","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":559,"count":1}],"isBlockCoverage":true},{"functionName":"baseRest","ranges":[{"startOffset":430,"endOffset":530,"count":1}],"isBlockCoverage":true}]},{"scriptId":"516","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/identity.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"identity","ranges":[{"startOffset":297,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"517","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1096,"count":1}],"isBlockCoverage":true},{"functionName":"overRest","ranges":[{"startOffset":503,"endOffset":1067,"count":1},{"startOffset":607,"endOffset":614,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":629,"endOffset":1064,"count":0}],"isBlockCoverage":false}]},{"scriptId":"518","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_apply.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":714,"count":1}],"isBlockCoverage":true},{"functionName":"apply","ranges":[{"startOffset":374,"endOffset":688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"519","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_setToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":392,"count":1}],"isBlockCoverage":true}]},{"scriptId":"520","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseSetToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":641,"count":1},{"startOffset":412,"endOffset":422,"count":0}],"isBlockCoverage":true},{"functionName":"baseSetToString","ranges":[{"startOffset":425,"endOffset":604,"count":1}],"isBlockCoverage":true}]},{"scriptId":"521","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/constant.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":528,"count":1}],"isBlockCoverage":true},{"functionName":"constant","ranges":[{"startOffset":426,"endOffset":499,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":462,"endOffset":496,"count":0}],"isBlockCoverage":false}]},{"scriptId":"522","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_shortOut.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":941,"count":1}],"isBlockCoverage":true},{"functionName":"shortOut","ranges":[{"startOffset":534,"endOffset":912,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":609,"endOffset":909,"count":1},{"startOffset":752,"endOffset":830,"count":0}],"isBlockCoverage":true}]},{"scriptId":"523","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIterateeCall.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":877,"count":1}],"isBlockCoverage":true},{"functionName":"isIterateeCall","ranges":[{"startOffset":514,"endOffset":842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"524","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/pluginRegistry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6139,"count":1}],"isBlockCoverage":true},{"functionName":"PluginError","ranges":[{"startOffset":707,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"PluginTypeError","ranges":[{"startOffset":864,"endOffset":977,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedApiError","ranges":[{"startOffset":1031,"endOffset":1159,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedError","ranges":[{"startOffset":1210,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorTagError","ranges":[{"startOffset":1406,"endOffset":1596,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorIdError","ranges":[{"startOffset":1657,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":1949,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"modifyTheme","ranges":[{"startOffset":3525,"endOffset":3639,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":3641,"endOffset":5084,"count":0}],"isBlockCoverage":false},{"functionName":"getDeserializers","ranges":[{"startOffset":5104,"endOffset":5368,"count":0}],"isBlockCoverage":false},{"functionName":"getThemes","ranges":[{"startOffset":5414,"endOffset":5598,"count":0}],"isBlockCoverage":false},{"functionName":"getTryDescribeValues","ranges":[{"startOffset":5630,"endOffset":5734,"count":0}],"isBlockCoverage":false},{"functionName":"resolveDescriptorRef","ranges":[{"startOffset":5788,"endOffset":6086,"count":0}],"isBlockCoverage":false}]},{"scriptId":"525","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2616,"count":1}],"isBlockCoverage":true}]},{"scriptId":"526","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/re.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7690,"count":1}],"isBlockCoverage":true},{"functionName":"makeSafeRegex","ranges":[{"startOffset":950,"endOffset":1161,"count":40},{"startOffset":1015,"endOffset":1144,"count":120}],"isBlockCoverage":true},{"functionName":"createToken","ranges":[{"startOffset":1183,"endOffset":1459,"count":40},{"startOffset":1376,"endOffset":1381,"count":4},{"startOffset":1382,"endOffset":1393,"count":36},{"startOffset":1439,"endOffset":1444,"count":4},{"startOffset":1445,"endOffset":1456,"count":36}],"isBlockCoverage":true}]},{"scriptId":"527","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":859,"count":1},{"startOffset":233,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"528","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/debug.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":226,"count":1},{"startOffset":91,"endOffset":138,"count":0},{"startOffset":141,"endOffset":188,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":143,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"debug","ranges":[{"startOffset":193,"endOffset":201,"count":46}],"isBlockCoverage":true}]},{"scriptId":"529","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/semver.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8756,"count":1}],"isBlockCoverage":true},{"functionName":"SemVer","ranges":[{"startOffset":311,"endOffset":2238,"count":2},{"startOffset":416,"endOffset":621,"count":0},{"startOffset":660,"endOffset":761,"count":0},{"startOffset":800,"endOffset":900,"count":0},{"startOffset":1239,"endOffset":1252,"count":0},{"startOffset":1280,"endOffset":1344,"count":0},{"startOffset":1531,"endOffset":1589,"count":0},{"startOffset":1648,"endOffset":1706,"count":0},{"startOffset":1765,"endOffset":1823,"count":0},{"startOffset":1884,"endOffset":2170,"count":1},{"startOffset":2194,"endOffset":2211,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1970,"endOffset":2163,"count":1},{"startOffset":2137,"endOffset":2162,"count":0}],"isBlockCoverage":true},{"functionName":"format","ranges":[{"startOffset":2242,"endOffset":2438,"count":2},{"startOffset":2349,"endOffset":2410,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":2442,"endOffset":2483,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2487,"endOffset":2877,"count":0}],"isBlockCoverage":false},{"functionName":"compareMain","ranges":[{"startOffset":2881,"endOffset":3172,"count":0}],"isBlockCoverage":false},{"functionName":"comparePre","ranges":[{"startOffset":3176,"endOffset":4027,"count":0}],"isBlockCoverage":false},{"functionName":"compareBuild","ranges":[{"startOffset":4031,"endOffset":4573,"count":0}],"isBlockCoverage":false},{"functionName":"inc","ranges":[{"startOffset":4726,"endOffset":8728,"count":0}],"isBlockCoverage":false}]},{"scriptId":"530","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/parse-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":324,"count":1}],"isBlockCoverage":true},{"functionName":"parseOptions","ranges":[{"startOffset":153,"endOffset":293,"count":4},{"startOffset":208,"endOffset":292,"count":0}],"isBlockCoverage":true}]},{"scriptId":"531","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/identifiers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":410,"count":1}],"isBlockCoverage":true},{"functionName":"compareIdentifiers","ranges":[{"startOffset":54,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"rcompareIdentifiers","ranges":[{"startOffset":308,"endOffset":342,"count":0}],"isBlockCoverage":false}]},{"scriptId":"532","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":317,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":58,"endOffset":292,"count":0}],"isBlockCoverage":false}]},{"scriptId":"533","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":162,"count":1}],"isBlockCoverage":true},{"functionName":"valid","ranges":[{"startOffset":47,"endOffset":138,"count":0}],"isBlockCoverage":false}]},{"scriptId":"534","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/clean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":191,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":47,"endOffset":167,"count":0}],"isBlockCoverage":false}]},{"scriptId":"535","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/inc.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"inc","ranges":[{"startOffset":57,"endOffset":442,"count":0}],"isBlockCoverage":false}]},{"scriptId":"536","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1612,"count":1}],"isBlockCoverage":true},{"functionName":"diff","ranges":[{"startOffset":50,"endOffset":1588,"count":0}],"isBlockCoverage":false}]},{"scriptId":"537","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/major.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"major","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"538","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/minor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"minor","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"539","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/patch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"patch","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"540","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/prerelease.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":220,"count":1}],"isBlockCoverage":true},{"functionName":"prerelease","ranges":[{"startOffset":52,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"541","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":156,"count":1}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":60,"endOffset":129,"count":0}],"isBlockCoverage":false}]},{"scriptId":"542","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rcompare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"rcompare","ranges":[{"startOffset":54,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"543","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-loose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"compareLoose","ranges":[{"startOffset":58,"endOffset":87,"count":0}],"isBlockCoverage":false}]},{"scriptId":"544","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-build.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":267,"count":1}],"isBlockCoverage":true},{"functionName":"compareBuild","ranges":[{"startOffset":65,"endOffset":236,"count":0}],"isBlockCoverage":false}]},{"scriptId":"545","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/sort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":147,"count":1}],"isBlockCoverage":true},{"functionName":"sort","ranges":[{"startOffset":61,"endOffset":124,"count":0}],"isBlockCoverage":false}]},{"scriptId":"546","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rsort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":149,"count":1}],"isBlockCoverage":true},{"functionName":"rsort","ranges":[{"startOffset":62,"endOffset":125,"count":0}],"isBlockCoverage":false}]},{"scriptId":"547","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"gt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"548","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"lt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"549","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":112,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":48,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"550","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/neq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":114,"count":1}],"isBlockCoverage":true},{"functionName":"neq","ranges":[{"startOffset":49,"endOffset":92,"count":0}],"isBlockCoverage":false}]},{"scriptId":"551","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"gte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"552","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"lte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"553","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/cmp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":947,"count":1}],"isBlockCoverage":true},{"functionName":"cmp","ranges":[{"startOffset":181,"endOffset":925,"count":0}],"isBlockCoverage":false}]},{"scriptId":"554","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/coerce.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1513,"count":1}],"isBlockCoverage":true},{"functionName":"coerce","ranges":[{"startOffset":145,"endOffset":1488,"count":0}],"isBlockCoverage":false}]},{"scriptId":"555","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/comparator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3617,"count":1}],"isBlockCoverage":true},{"functionName":"get ANY","ranges":[{"startOffset":100,"endOffset":131,"count":2}],"isBlockCoverage":true},{"functionName":"Comparator","ranges":[{"startOffset":135,"endOffset":682,"count":2},{"startOffset":238,"endOffset":358,"count":0},{"startOffset":556,"endOffset":585,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":686,"endOffset":1182,"count":2},{"startOffset":734,"endOffset":757,"count":0},{"startOffset":818,"endOffset":882,"count":0},{"startOffset":930,"endOffset":934,"count":0},{"startOffset":966,"endOffset":998,"count":0},{"startOffset":1077,"endOffset":1108,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":1186,"endOffset":1225,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":1229,"endOffset":1609,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":1613,"endOffset":3323,"count":0}],"isBlockCoverage":false}]},{"scriptId":"556","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/range.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14514,"count":1}],"isBlockCoverage":true},{"functionName":"Range","ranges":[{"startOffset":55,"endOffset":2052,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2056,"endOffset":2197,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2201,"endOffset":2240,"count":0}],"isBlockCoverage":false},{"functionName":"parseRange","ranges":[{"startOffset":2244,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":4531,"endOffset":5161,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":5229,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"isNullSet","ranges":[{"startOffset":6111,"endOffset":6138,"count":0}],"isBlockCoverage":false},{"functionName":"isAny","ranges":[{"startOffset":6153,"endOffset":6172,"count":0}],"isBlockCoverage":false},{"functionName":"isSatisfiable","ranges":[{"startOffset":6294,"endOffset":6700,"count":0}],"isBlockCoverage":false},{"functionName":"parseComparator","ranges":[{"startOffset":6870,"endOffset":7183,"count":0}],"isBlockCoverage":false},{"functionName":"isX","ranges":[{"startOffset":7197,"endOffset":7248,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTildes","ranges":[{"startOffset":7584,"endOffset":7707,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTilde","ranges":[{"startOffset":7730,"endOffset":8404,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCarets","ranges":[{"startOffset":8697,"endOffset":8820,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCaret","ranges":[{"startOffset":8843,"endOffset":10145,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRanges","ranges":[{"startOffset":10170,"endOffset":10323,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRange","ranges":[{"startOffset":10347,"endOffset":12047,"count":0}],"isBlockCoverage":false},{"functionName":"replaceStars","ranges":[{"startOffset":12193,"endOffset":12378,"count":0}],"isBlockCoverage":false},{"functionName":"replaceGTE0","ranges":[{"startOffset":12400,"endOffset":12555,"count":0}],"isBlockCoverage":false},{"functionName":"hyphenReplace","ranges":[{"startOffset":12797,"endOffset":13471,"count":0}],"isBlockCoverage":false},{"functionName":"testSet","ranges":[{"startOffset":13489,"endOffset":14513,"count":0}],"isBlockCoverage":false}]},{"scriptId":"557","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lru-cache/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8186,"count":1}],"isBlockCoverage":true},{"functionName":"naiveLength","ranges":[{"startOffset":510,"endOffset":517,"count":0}],"isBlockCoverage":false},{"functionName":"LRUCache","ranges":[{"startOffset":853,"endOffset":1751,"count":1},{"startOffset":920,"endOffset":946,"count":0},{"startOffset":972,"endOffset":984,"count":0},{"startOffset":1069,"endOffset":1125,"count":0},{"startOffset":1235,"endOffset":1246,"count":0},{"startOffset":1350,"endOffset":1363,"count":0},{"startOffset":1439,"endOffset":1476,"count":0},{"startOffset":1484,"endOffset":1530,"count":0}],"isBlockCoverage":true},{"functionName":"set max","ranges":[{"startOffset":1799,"endOffset":1969,"count":0}],"isBlockCoverage":false},{"functionName":"get max","ranges":[{"startOffset":1972,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"set allowStale","ranges":[{"startOffset":2013,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"get allowStale","ranges":[{"startOffset":2086,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"set maxAge","ranges":[{"startOffset":2142,"endOffset":2300,"count":0}],"isBlockCoverage":false},{"functionName":"get maxAge","ranges":[{"startOffset":2303,"endOffset":2347,"count":0}],"isBlockCoverage":false},{"functionName":"set lengthCalculator","ranges":[{"startOffset":2408,"endOffset":2765,"count":0}],"isBlockCoverage":false},{"functionName":"get lengthCalculator","ranges":[{"startOffset":2768,"endOffset":2826,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":2830,"endOffset":2867,"count":0}],"isBlockCoverage":false},{"functionName":"get itemCount","ranges":[{"startOffset":2870,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"rforEach","ranges":[{"startOffset":2923,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":3142,"endOffset":3356,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":3360,"endOffset":3425,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":3429,"endOffset":3498,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":3502,"endOffset":3858,"count":1},{"startOffset":3535,"endOffset":3560,"count":0},{"startOffset":3561,"endOffset":3593,"count":0},{"startOffset":3595,"endOffset":3673,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3626,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"dump","ranges":[{"startOffset":3862,"endOffset":4064,"count":0}],"isBlockCoverage":false},{"functionName":"dumpLru","ranges":[{"startOffset":4068,"endOffset":4110,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4114,"endOffset":5376,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":5380,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5517,"endOffset":5564,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":5568,"endOffset":5617,"count":0}],"isBlockCoverage":false},{"functionName":"pop","ranges":[{"startOffset":5621,"endOffset":5746,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":5750,"endOffset":5801,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5805,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"prune","ranges":[{"startOffset":6382,"endOffset":6459,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6475,"endOffset":6871,"count":0}],"isBlockCoverage":false},{"functionName":"isStale","ranges":[{"startOffset":6889,"endOffset":7094,"count":0}],"isBlockCoverage":false},{"functionName":"trim","ranges":[{"startOffset":7109,"endOffset":7497,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":7511,"endOffset":7738,"count":0}],"isBlockCoverage":false},{"functionName":"Entry","ranges":[{"startOffset":7756,"endOffset":7923,"count":0}],"isBlockCoverage":false},{"functionName":"forEachStep","ranges":[{"startOffset":7947,"endOffset":8158,"count":0}],"isBlockCoverage":false}]},{"scriptId":"558","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/yallist.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8411,"count":1},{"startOffset":8397,"endOffset":8410,"count":0}],"isBlockCoverage":true},{"functionName":"Yallist","ranges":[{"startOffset":85,"endOffset":517,"count":1},{"startOffset":163,"endOffset":193,"count":0},{"startOffset":263,"endOffset":300,"count":0},{"startOffset":302,"endOffset":371,"count":0},{"startOffset":403,"endOffset":500,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":321,"endOffset":366,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.removeNode","ranges":[{"startOffset":550,"endOffset":1001,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshiftNode","ranges":[{"startOffset":1035,"endOffset":1334,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pushNode","ranges":[{"startOffset":1365,"endOffset":1664,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.push","ranges":[{"startOffset":1691,"endOffset":1814,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshift","ranges":[{"startOffset":1844,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pop","ranges":[{"startOffset":1996,"endOffset":2224,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.shift","ranges":[{"startOffset":2252,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEach","ranges":[{"startOffset":2510,"endOffset":2691,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEachReverse","ranges":[{"startOffset":2728,"endOffset":2923,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.get","ranges":[{"startOffset":2949,"endOffset":3182,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.getReverse","ranges":[{"startOffset":3215,"endOffset":3448,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.map","ranges":[{"startOffset":3474,"endOffset":3690,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.mapReverse","ranges":[{"startOffset":3723,"endOffset":3939,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduce","ranges":[{"startOffset":3968,"endOffset":4363,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduceReverse","ranges":[{"startOffset":4399,"endOffset":4808,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArray","ranges":[{"startOffset":4838,"endOffset":5018,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArrayReverse","ranges":[{"startOffset":5055,"endOffset":5235,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.slice","ranges":[{"startOffset":5263,"endOffset":5790,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.sliceReverse","ranges":[{"startOffset":5825,"endOffset":6362,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.splice","ranges":[{"startOffset":6391,"endOffset":7034,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reverse","ranges":[{"startOffset":7064,"endOffset":7322,"count":0}],"isBlockCoverage":false},{"functionName":"insert","ranges":[{"startOffset":7324,"endOffset":7643,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":7645,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":7795,"endOffset":7946,"count":0}],"isBlockCoverage":false},{"functionName":"Node","ranges":[{"startOffset":7948,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"559","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/iterator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":30,"endOffset":206,"count":1}],"isBlockCoverage":true},{"functionName":"Yallist.","ranges":[{"startOffset":90,"endOffset":204,"count":0}],"isBlockCoverage":false}]},{"scriptId":"560","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/satisfies.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"satisfies","ranges":[{"startOffset":60,"endOffset":205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"561","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/to-comparators.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":268,"count":1}],"isBlockCoverage":true},{"functionName":"toComparators","ranges":[{"startOffset":115,"endOffset":235,"count":0}],"isBlockCoverage":false}]},{"scriptId":"562","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/max-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":579,"count":1}],"isBlockCoverage":true},{"functionName":"maxSatisfying","ranges":[{"startOffset":109,"endOffset":547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"563","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"minSatisfying","ranges":[{"startOffset":108,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"564","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-version.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"minVersion","ranges":[{"startOffset":144,"endOffset":1471,"count":0}],"isBlockCoverage":false}]},{"scriptId":"565","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":312,"count":1}],"isBlockCoverage":true},{"functionName":"validRange","ranges":[{"startOffset":61,"endOffset":283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"566","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/outside.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2190,"count":1}],"isBlockCoverage":true},{"functionName":"outside","ranges":[{"startOffset":390,"endOffset":2163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"567","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/gtr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":217,"count":1}],"isBlockCoverage":true},{"functionName":"gtr","ranges":[{"startOffset":129,"endOffset":195,"count":0}],"isBlockCoverage":false}]},{"scriptId":"568","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/ltr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":213,"count":1}],"isBlockCoverage":true},{"functionName":"ltr","ranges":[{"startOffset":125,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"569","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/intersects.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true},{"functionName":"intersects","ranges":[{"startOffset":61,"endOffset":181,"count":0}],"isBlockCoverage":false}]},{"scriptId":"570","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/simplify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1341,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":329,"endOffset":1340,"count":0}],"isBlockCoverage":false}]},{"scriptId":"571","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/subset.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7510,"count":1}],"isBlockCoverage":true},{"functionName":"subset","ranges":[{"startOffset":1996,"endOffset":2727,"count":0}],"isBlockCoverage":false},{"functionName":"simpleSubset","ranges":[{"startOffset":2869,"endOffset":6974,"count":0}],"isBlockCoverage":false},{"functionName":"higherGT","ranges":[{"startOffset":7025,"endOffset":7229,"count":0}],"isBlockCoverage":false},{"functionName":"lowerLT","ranges":[{"startOffset":7280,"endOffset":7484,"count":0}],"isBlockCoverage":false}]},{"scriptId":"572","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/property.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6165,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":331,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeComplex","ranges":[{"startOffset":457,"endOffset":572,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":622,"endOffset":708,"count":30}],"isBlockCoverage":true},{"functionName":"deserializePrimitive","ranges":[{"startOffset":756,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"Property","ranges":[{"startOffset":1125,"endOffset":1167,"count":30}],"isBlockCoverage":true},{"functionName":"compareKeys","ranges":[{"startOffset":1171,"endOffset":1692,"count":15},{"startOffset":1580,"endOffset":1615,"count":0},{"startOffset":1616,"endOffset":1655,"count":0},{"startOffset":1662,"endOffset":1673,"count":0}],"isBlockCoverage":true},{"functionName":"prepareDiff","ranges":[{"startOffset":1696,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexProperty","ranges":[{"startOffset":2881,"endOffset":2949,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2953,"endOffset":3025,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3029,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3308,"endOffset":3811,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3815,"endOffset":3853,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveProperty","ranges":[{"startOffset":3981,"endOffset":4049,"count":30}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":4053,"endOffset":4328,"count":15},{"startOffset":4112,"endOffset":4126,"count":0},{"startOffset":4211,"endOffset":4227,"count":0},{"startOffset":4272,"endOffset":4281,"count":0}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":4332,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5018,"endOffset":6023,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6027,"endOffset":6079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"573","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2777,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":329,"endOffset":675,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":705,"endOffset":901,"count":0}],"isBlockCoverage":false},{"functionName":"SymbolValue","ranges":[{"startOffset":1012,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1115,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":1409,"endOffset":1540,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1544,"endOffset":1651,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":1655,"endOffset":1788,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1792,"endOffset":1956,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSymbolValue","ranges":[{"startOffset":2159,"endOffset":2232,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2236,"endOffset":2726,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":2730,"endOffset":2774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"574","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-string-escape/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":644,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":17,"endOffset":643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"575","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/well-known-symbols/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":800,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":672,"endOffset":689,"count":12}],"isBlockCoverage":true},{"functionName":"exports.isWellKnown","ranges":[{"startOffset":715,"endOffset":747,"count":0}],"isBlockCoverage":false},{"functionName":"exports.getLabel","ranges":[{"startOffset":767,"endOffset":799,"count":0}],"isBlockCoverage":false}]},{"scriptId":"576","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/bigInt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":906,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":714,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":718,"endOffset":758,"count":0}],"isBlockCoverage":false}]},{"scriptId":"577","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/boolean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":931,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":286,"count":10}],"isBlockCoverage":true},{"functionName":"BooleanValue","ranges":[{"startOffset":425,"endOffset":473,"count":10}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":477,"endOffset":606,"count":5},{"startOffset":593,"endOffset":602,"count":0}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":737,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":741,"endOffset":781,"count":0}],"isBlockCoverage":false}]},{"scriptId":"578","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/null.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":737,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":273,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":406,"endOffset":497,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":501,"endOffset":593,"count":0}],"isBlockCoverage":false}]},{"scriptId":"579","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/number.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":969,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":2}],"isBlockCoverage":true},{"functionName":"NumberValue","ranges":[{"startOffset":422,"endOffset":470,"count":2}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":1},{"startOffset":593,"endOffset":602,"count":0}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":777,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":781,"endOffset":821,"count":0}],"isBlockCoverage":false}]},{"scriptId":"580","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/undefined.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":278,"count":14}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":421,"endOffset":512,"count":7},{"startOffset":499,"endOffset":508,"count":0}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":516,"endOffset":618,"count":0}],"isBlockCoverage":false}]},{"scriptId":"581","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/shouldCompareDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":573,"count":1}],"isBlockCoverage":true},{"functionName":"shouldCompareDeep","ranges":[{"startOffset":206,"endOffset":537,"count":25},{"startOffset":297,"endOffset":535,"count":0}],"isBlockCoverage":true}]},{"scriptId":"582","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/symbolProperties.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2759,"count":1}],"isBlockCoverage":true},{"functionName":"Comparable","ranges":[{"startOffset":247,"endOffset":348,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":352,"endOffset":533,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":537,"endOffset":1293,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1297,"endOffset":2003,"count":0}],"isBlockCoverage":false},{"functionName":"Collector","ranges":[{"startOffset":2152,"endOffset":2288,"count":0}],"isBlockCoverage":false},{"functionName":"collectAll","ranges":[{"startOffset":2292,"endOffset":2538,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2542,"endOffset":2635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"583","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13805,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":630,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"compareComplexShape","ranges":[{"startOffset":642,"endOffset":1886,"count":0}],"isBlockCoverage":false},{"functionName":"diffDescriptors","ranges":[{"startOffset":1888,"endOffset":13605,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":13649,"endOffset":13784,"count":0}],"isBlockCoverage":false}]},{"scriptId":"584","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Indenter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":360,"count":1}],"isBlockCoverage":true},{"functionName":"Indenter","ranges":[{"startOffset":33,"endOffset":144,"count":1}],"isBlockCoverage":true},{"functionName":"increase","ranges":[{"startOffset":148,"endOffset":216,"count":0}],"isBlockCoverage":false},{"functionName":"decrease","ranges":[{"startOffset":220,"endOffset":288,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":292,"endOffset":331,"count":0}],"isBlockCoverage":false}]},{"scriptId":"585","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/format.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3075,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":241,"endOffset":251,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptor","ranges":[{"startOffset":295,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2953,"endOffset":3050,"count":0}],"isBlockCoverage":false}]},{"scriptId":"586","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/serialize.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12422,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4159,"endOffset":4194,"count":31}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4241,"endOffset":4276,"count":31}],"isBlockCoverage":true},{"functionName":"DescriptorSerializationError","ranges":[{"startOffset":4333,"endOffset":4487,"count":0}],"isBlockCoverage":false},{"functionName":"MissingPluginError","ranges":[{"startOffset":4534,"endOffset":4722,"count":0}],"isBlockCoverage":false},{"functionName":"PointerLookupError","ranges":[{"startOffset":4769,"endOffset":4936,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedPluginError","ranges":[{"startOffset":4987,"endOffset":5271,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedVersion","ranges":[{"startOffset":5373,"endOffset":5576,"count":0}],"isBlockCoverage":false},{"functionName":"shallowSerializeDescriptor","ranges":[{"startOffset":5580,"endOffset":5763,"count":0}],"isBlockCoverage":false},{"functionName":"serializeState","ranges":[{"startOffset":5765,"endOffset":6401,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6403,"endOffset":8213,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeState","ranges":[{"startOffset":8245,"endOffset":8564,"count":0}],"isBlockCoverage":false},{"functionName":"shallowDeserializeDescriptor","ranges":[{"startOffset":8566,"endOffset":8761,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeRecord","ranges":[{"startOffset":8763,"endOffset":9449,"count":0}],"isBlockCoverage":false},{"functionName":"buildPluginMap","ranges":[{"startOffset":9451,"endOffset":10790,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":10792,"endOffset":12387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"587","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/md5-hex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":406,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":66,"endOffset":404,"count":0}],"isBlockCoverage":false}]},{"scriptId":"588","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9570,"count":1}],"isBlockCoverage":true},{"functionName":"encodeInteger","ranges":[{"startOffset":689,"endOffset":828,"count":0}],"isBlockCoverage":false},{"functionName":"encodeValue","ranges":[{"startOffset":830,"endOffset":3045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeValue","ranges":[{"startOffset":3047,"endOffset":5534,"count":0}],"isBlockCoverage":false},{"functionName":"buildBuffer","ranges":[{"startOffset":5536,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6160,"endOffset":7889,"count":0}],"isBlockCoverage":false},{"functionName":"decodePlugins","ranges":[{"startOffset":7915,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"decodeRecord","ranges":[{"startOffset":8465,"endOffset":9182,"count":0}],"isBlockCoverage":false},{"functionName":"extractVersion","ranges":[{"startOffset":9220,"endOffset":9288,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":9330,"endOffset":9545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"589","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/flattenDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"flattenDeep","ranges":[{"startOffset":412,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"590","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFlatten.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1201,"count":1}],"isBlockCoverage":true},{"functionName":"baseFlatten","ranges":[{"startOffset":568,"endOffset":1169,"count":0}],"isBlockCoverage":false}]},{"scriptId":"591","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isFlattenable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1},{"startOffset":208,"endOffset":219,"count":0}],"isBlockCoverage":true},{"functionName":"isFlattenable","ranges":[{"startOffset":430,"endOffset":574,"count":0}],"isBlockCoverage":false}]},{"scriptId":"592","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/pointer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":617,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":63,"endOffset":120,"count":0}],"isBlockCoverage":false},{"functionName":"Pointer","ranges":[{"startOffset":249,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":392,"endOffset":435,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":439,"endOffset":479,"count":0}],"isBlockCoverage":false}]},{"scriptId":"593","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-error/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"isError","ranges":[{"startOffset":160,"endOffset":596,"count":4},{"startOffset":217,"endOffset":246,"count":0},{"startOffset":427,"endOffset":595,"count":0}],"isBlockCoverage":true}]},{"scriptId":"594","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7961,"count":1},{"startOffset":184,"endOffset":189,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":290,"endOffset":398,"count":70}],"isBlockCoverage":true},{"functionName":"StackUtils","ranges":[{"startOffset":581,"endOffset":1041,"count":1}],"isBlockCoverage":true},{"functionName":"nodeInternals","ranges":[{"startOffset":1052,"endOffset":1099,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":1103,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"captureString","ranges":[{"startOffset":2203,"endOffset":2601,"count":0}],"isBlockCoverage":false},{"functionName":"capture","ranges":[{"startOffset":2605,"endOffset":3178,"count":0}],"isBlockCoverage":false},{"functionName":"at","ranges":[{"startOffset":3182,"endOffset":4236,"count":0}],"isBlockCoverage":false},{"functionName":"parseLine","ranges":[{"startOffset":4240,"endOffset":6388,"count":0}],"isBlockCoverage":false},{"functionName":"setFile","ranges":[{"startOffset":6392,"endOffset":6629,"count":0}],"isBlockCoverage":false},{"functionName":"ignoredPackagesRegExp","ranges":[{"startOffset":6631,"endOffset":6913,"count":1},{"startOffset":6737,"endOffset":6912,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6778,"endOffset":6808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"595","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":236,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":85,"endOffset":234,"count":0}],"isBlockCoverage":false}]},{"scriptId":"596","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/cbor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2598,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":2526,"endOffset":2597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"597","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/commented.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8911,"count":1}],"isBlockCoverage":true},{"functionName":"plural","ranges":[{"startOffset":242,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1621,"endOffset":2061,"count":0}],"isBlockCoverage":false},{"functionName":"Commented","ranges":[{"startOffset":2313,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"_tag_24","ranges":[{"startOffset":3493,"endOffset":3678,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3682,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3766,"endOffset":3890,"count":0}],"isBlockCoverage":false},{"functionName":"comment","ranges":[{"startOffset":4466,"endOffset":5155,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":5184,"endOffset":5277,"count":0}],"isBlockCoverage":false},{"functionName":"_on_read","ranges":[{"startOffset":5306,"endOffset":5625,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":5654,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start_string","ranges":[{"startOffset":6407,"endOffset":6713,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":6742,"endOffset":7824,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":7853,"endOffset":7888,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":7918,"endOffset":8748,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":8777,"endOffset":8880,"count":0}],"isBlockCoverage":false}]},{"scriptId":"598","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8215,"count":1}],"isBlockCoverage":true},{"functionName":"exports.utf8","ranges":[{"startOffset":492,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":546,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"isBufferish","ranges":[{"startOffset":823,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"bufferishToBuffer","ranges":[{"startOffset":1098,"endOffset":1356,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORint","ranges":[{"startOffset":1381,"endOffset":1905,"count":0}],"isBlockCoverage":false},{"functionName":"writeHalf","ranges":[{"startOffset":1927,"endOffset":4036,"count":0}],"isBlockCoverage":false},{"functionName":"parseHalf","ranges":[{"startOffset":4058,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORfloat","ranges":[{"startOffset":4418,"endOffset":4687,"count":0}],"isBlockCoverage":false},{"functionName":"hex","ranges":[{"startOffset":4703,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"bin","ranges":[{"startOffset":4788,"endOffset":5042,"count":0}],"isBlockCoverage":false},{"functionName":"arrayEqual","ranges":[{"startOffset":5065,"endOffset":5279,"count":0}],"isBlockCoverage":false},{"functionName":"bufferToBigInt","ranges":[{"startOffset":5306,"endOffset":5382,"count":0}],"isBlockCoverage":false},{"functionName":"cborValueToString","ranges":[{"startOffset":5412,"endOffset":7059,"count":0}],"isBlockCoverage":false},{"functionName":"guessEncoding","ranges":[{"startOffset":7085,"endOffset":7418,"count":0}],"isBlockCoverage":false},{"functionName":"base64url","ranges":[{"startOffset":7657,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"base64","ranges":[{"startOffset":7965,"endOffset":8048,"count":0}],"isBlockCoverage":false},{"functionName":"isBigEndian","ranges":[{"startOffset":8072,"endOffset":8214,"count":0}],"isBlockCoverage":false}]},{"scriptId":"599","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nofilter/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28585,"count":1}],"isBlockCoverage":true},{"functionName":"NoFilter","ranges":[{"startOffset":3473,"endOffset":5501,"count":0}],"isBlockCoverage":false},{"functionName":"isNoFilter","ranges":[{"startOffset":5664,"endOffset":5716,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":6159,"endOffset":6351,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":7149,"endOffset":8408,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":8437,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"_bufArray","ranges":[{"startOffset":8811,"endOffset":9199,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":9982,"endOffset":10504,"count":0}],"isBlockCoverage":false},{"functionName":"readFull","ranges":[{"startOffset":10957,"endOffset":12088,"count":0}],"isBlockCoverage":false},{"functionName":"promise","ranges":[{"startOffset":12421,"endOffset":12847,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":13163,"endOffset":13614,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":13827,"endOffset":13883,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":14414,"endOffset":14924,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":15137,"endOffset":15184,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":15588,"endOffset":15702,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16207,"endOffset":16468,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16497,"endOffset":16823,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":16931,"endOffset":17040,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt","ranges":[{"startOffset":17265,"endOffset":17670,"count":0}],"isBlockCoverage":false},{"functionName":"readUBigInt","ranges":[{"startOffset":17884,"endOffset":18034,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt","ranges":[{"startOffset":18276,"endOffset":18596,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":18759,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19026,"endOffset":19133,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":19315,"endOffset":19422,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19609,"endOffset":19716,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":19900,"endOffset":20007,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":20172,"endOffset":20253,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":20438,"endOffset":20544,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":20726,"endOffset":20832,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":21021,"endOffset":21127,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":21313,"endOffset":21419,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatLE","ranges":[{"startOffset":21592,"endOffset":21697,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBE","ranges":[{"startOffset":21867,"endOffset":21972,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleLE","ranges":[{"startOffset":22146,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBE","ranges":[{"startOffset":22423,"endOffset":22530,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":22705,"endOffset":22816,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":22988,"endOffset":23099,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":23290,"endOffset":23403,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":23591,"endOffset":23704,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":23831,"endOffset":23955,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":24101,"endOffset":24231,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":24377,"endOffset":24507,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":24653,"endOffset":24783,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":24929,"endOffset":25059,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":25183,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":25449,"endOffset":25577,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":25721,"endOffset":25849,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":25993,"endOffset":26121,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":26265,"endOffset":26393,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatLE","ranges":[{"startOffset":26528,"endOffset":26656,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBE","ranges":[{"startOffset":26788,"endOffset":26916,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleLE","ranges":[{"startOffset":27051,"endOffset":27181,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBE","ranges":[{"startOffset":27313,"endOffset":27443,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":27586,"endOffset":27720,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":27860,"endOffset":27994,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":28140,"endOffset":28276,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":28419,"endOffset":28555,"count":0}],"isBlockCoverage":false}]},{"scriptId":"600","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1352,"count":1}],"isBlockCoverage":true}]},{"scriptId":"601","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/decoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20596,"count":1}],"isBlockCoverage":true},{"functionName":"parentArray","ranges":[{"startOffset":508,"endOffset":641,"count":0}],"isBlockCoverage":false},{"functionName":"parentBufferStream","ranges":[{"startOffset":643,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"UnexpectedDataError","ranges":[{"startOffset":831,"endOffset":996,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":3420,"endOffset":3794,"count":0}],"isBlockCoverage":false},{"functionName":"Decoder","ranges":[{"startOffset":4237,"endOffset":4930,"count":0}],"isBlockCoverage":false},{"functionName":"nullcheck","ranges":[{"startOffset":5301,"endOffset":5710,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirstSync","ranges":[{"startOffset":6389,"endOffset":7548,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAllSync","ranges":[{"startOffset":8073,"endOffset":8838,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirst","ranges":[{"startOffset":9562,"endOffset":11046,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAll","ranges":[{"startOffset":11770,"endOffset":12395,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12433,"endOffset":12495,"count":0}],"isBlockCoverage":false},{"functionName":"_onRead","ranges":[{"startOffset":12574,"endOffset":12625,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":12867,"endOffset":20537,"count":0}],"isBlockCoverage":false}]},{"scriptId":"602","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/vendor/binary-parse-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2692,"count":1}],"isBlockCoverage":true},{"functionName":"BinaryParseStream","ranges":[{"startOffset":1100,"endOffset":1513,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1517,"endOffset":2086,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":2331,"endOffset":2462,"count":0}],"isBlockCoverage":false},{"functionName":"__restart","ranges":[{"startOffset":2466,"endOffset":2566,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":2570,"endOffset":2653,"count":0}],"isBlockCoverage":false}]},{"scriptId":"603","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/tagged.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10762,"count":1},{"startOffset":7721,"endOffset":7750,"count":19}],"isBlockCoverage":true},{"functionName":"setBuffersToJSON","ranges":[{"startOffset":135,"endOffset":954,"count":0}],"isBlockCoverage":false},{"functionName":"b64this","ranges":[{"startOffset":956,"endOffset":1052,"count":0}],"isBlockCoverage":false},{"functionName":"b64urlThis","ranges":[{"startOffset":1054,"endOffset":1156,"count":0}],"isBlockCoverage":false},{"functionName":"hexThis","ranges":[{"startOffset":1158,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"swapEndian","ranges":[{"startOffset":1258,"endOffset":1667,"count":0}],"isBlockCoverage":false},{"functionName":"0","ranges":[{"startOffset":2409,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"1","ranges":[{"startOffset":2478,"endOffset":2501,"count":0}],"isBlockCoverage":false},{"functionName":"2","ranges":[{"startOffset":2548,"endOffset":2576,"count":0}],"isBlockCoverage":false},{"functionName":"3","ranges":[{"startOffset":2623,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"21","ranges":[{"startOffset":2752,"endOffset":2911,"count":0}],"isBlockCoverage":false},{"functionName":"22","ranges":[{"startOffset":2984,"endOffset":3137,"count":0}],"isBlockCoverage":false},{"functionName":"23","ranges":[{"startOffset":3218,"endOffset":3371,"count":0}],"isBlockCoverage":false},{"functionName":"32","ranges":[{"startOffset":3409,"endOffset":3424,"count":0}],"isBlockCoverage":false},{"functionName":"33","ranges":[{"startOffset":3468,"endOffset":4627,"count":0}],"isBlockCoverage":false},{"functionName":"34","ranges":[{"startOffset":4668,"endOffset":5867,"count":0}],"isBlockCoverage":false},{"functionName":"35","ranges":[{"startOffset":5920,"endOffset":5938,"count":0}],"isBlockCoverage":false},{"functionName":"258","ranges":[{"startOffset":6027,"endOffset":6042,"count":0}],"isBlockCoverage":false},{"functionName":"_toTypedArray","ranges":[{"startOffset":7009,"endOffset":7672,"count":0}],"isBlockCoverage":false},{"functionName":"Tagged","ranges":[{"startOffset":8277,"endOffset":8615,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":8619,"endOffset":8856,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":8953,"endOffset":9025,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":9189,"endOffset":9272,"count":0}],"isBlockCoverage":false},{"functionName":"convert","ranges":[{"startOffset":9824,"endOffset":10302,"count":0}],"isBlockCoverage":false},{"functionName":"get TAGS","ranges":[{"startOffset":10432,"endOffset":10472,"count":0}],"isBlockCoverage":false},{"functionName":"set TAGS","ranges":[{"startOffset":10483,"endOffset":10525,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":10642,"endOffset":10683,"count":1}],"isBlockCoverage":true}]},{"scriptId":"604","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/simple.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2695,"count":1}],"isBlockCoverage":true},{"functionName":"Simple","ranges":[{"startOffset":268,"endOffset":567,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":683,"endOffset":734,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":930,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":1190,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"isSimple","ranges":[{"startOffset":1403,"endOffset":1455,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":2071,"endOffset":2667,"count":0}],"isBlockCoverage":false}]},{"scriptId":"605","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/diagnose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6617,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeOptions","ranges":[{"startOffset":1886,"endOffset":2262,"count":0}],"isBlockCoverage":false},{"functionName":"Diagnose","ranges":[{"startOffset":2529,"endOffset":3414,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3418,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3509,"endOffset":3707,"count":0}],"isBlockCoverage":false},{"functionName":"diagnose","ranges":[{"startOffset":4122,"endOffset":4775,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":4804,"endOffset":4932,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":4954,"endOffset":5115,"count":0}],"isBlockCoverage":false},{"functionName":"_fore","ranges":[{"startOffset":5137,"endOffset":5507,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":5529,"endOffset":5751,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":5773,"endOffset":6194,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":6216,"endOffset":6519,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":6541,"endOffset":6587,"count":0}],"isBlockCoverage":false}]},{"scriptId":"606","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31613,"count":1}],"isBlockCoverage":true},{"functionName":"parseDateType","ranges":[{"startOffset":1747,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"Encoder","ranges":[{"startOffset":4631,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":6051,"endOffset":6261,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":6318,"endOffset":6350,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt8","ranges":[{"startOffset":6470,"endOffset":6576,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt16BE","ranges":[{"startOffset":6698,"endOffset":6810,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt32BE","ranges":[{"startOffset":6935,"endOffset":7047,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloatBE","ranges":[{"startOffset":7176,"endOffset":7286,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDoubleBE","ranges":[{"startOffset":7416,"endOffset":7528,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNaN","ranges":[{"startOffset":7598,"endOffset":7644,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInfinity","ranges":[{"startOffset":7770,"endOffset":7876,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloat","ranges":[{"startOffset":8142,"endOffset":9321,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInt","ranges":[{"startOffset":10074,"endOffset":10925,"count":0}],"isBlockCoverage":false},{"functionName":"_pushIntNum","ranges":[{"startOffset":11192,"endOffset":11409,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNumber","ranges":[{"startOffset":11531,"endOffset":11787,"count":0}],"isBlockCoverage":false},{"functionName":"_pushString","ranges":[{"startOffset":11900,"endOffset":12041,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoolean","ranges":[{"startOffset":12153,"endOffset":12223,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUndefined","ranges":[{"startOffset":12330,"endOffset":12752,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNull","ranges":[{"startOffset":12854,"endOffset":12907,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTag","ranges":[{"startOffset":13024,"endOffset":13081,"count":0}],"isBlockCoverage":false},{"functionName":"_pushJSBigint","ranges":[{"startOffset":13194,"endOffset":13960,"count":0}],"isBlockCoverage":false},{"functionName":"_pushObject","ranges":[{"startOffset":14109,"endOffset":16394,"count":0}],"isBlockCoverage":false},{"functionName":"_encodeAll","ranges":[{"startOffset":16551,"endOffset":16756,"count":0}],"isBlockCoverage":false},{"functionName":"addSemanticType","ranges":[{"startOffset":17172,"endOffset":17565,"count":0}],"isBlockCoverage":false},{"functionName":"pushAny","ranges":[{"startOffset":17771,"endOffset":18684,"count":0}],"isBlockCoverage":false},{"functionName":"pushArray","ranges":[{"startOffset":18990,"endOffset":19516,"count":0}],"isBlockCoverage":false},{"functionName":"removeLoopDetectors","ranges":[{"startOffset":19662,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDate","ranges":[{"startOffset":19947,"endOffset":20619,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBuffer","ranges":[{"startOffset":20774,"endOffset":20870,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNoFilter","ranges":[{"startOffset":21027,"endOffset":21129,"count":0}],"isBlockCoverage":false},{"functionName":"_pushRegexp","ranges":[{"startOffset":21284,"endOffset":21374,"count":0}],"isBlockCoverage":false},{"functionName":"_pushSet","ranges":[{"startOffset":21523,"endOffset":21783,"count":0}],"isBlockCoverage":false},{"functionName":"_pushURL","ranges":[{"startOffset":21932,"endOffset":22020,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoxed","ranges":[{"startOffset":22208,"endOffset":22272,"count":0}],"isBlockCoverage":false},{"functionName":"_pushMap","ranges":[{"startOffset":22469,"endOffset":24462,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTypedArray","ranges":[{"startOffset":24627,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"_pushArrayBuffer","ranges":[{"startOffset":25460,"endOffset":25546,"count":0}],"isBlockCoverage":false},{"functionName":"encodeIndefinite","ranges":[{"startOffset":26458,"endOffset":28127,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":28344,"endOffset":28407,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCanonical","ranges":[{"startOffset":28646,"endOffset":28748,"count":0}],"isBlockCoverage":false},{"functionName":"encodeOne","ranges":[{"startOffset":29014,"endOffset":29093,"count":0}],"isBlockCoverage":false},{"functionName":"encodeAsync","ranges":[{"startOffset":29664,"endOffset":29981,"count":0}],"isBlockCoverage":false},{"functionName":"get SEMANTIC_TYPES","ranges":[{"startOffset":30115,"endOffset":30175,"count":0}],"isBlockCoverage":false},{"functionName":"set SEMANTIC_TYPES","ranges":[{"startOffset":30186,"endOffset":30248,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":30375,"endOffset":30437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"607","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5186,"count":1}],"isBlockCoverage":true},{"functionName":"CborMap","ranges":[{"startOffset":952,"endOffset":999,"count":0}],"isBlockCoverage":false},{"functionName":"_encode","ranges":[{"startOffset":1035,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_decode","ranges":[{"startOffset":1148,"endOffset":1216,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1501,"endOffset":1558,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":1874,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":2283,"endOffset":2346,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":2687,"endOffset":2744,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":2978,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":3366,"endOffset":3472,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3725,"endOffset":3776,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":4173,"endOffset":4393,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":4557,"endOffset":5157,"count":0}],"isBlockCoverage":false}]},{"scriptId":"608","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/map-age-cleaner/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3903,"count":1}],"isBlockCoverage":true},{"functionName":"__awaiter","ranges":[{"startOffset":58,"endOffset":613,"count":0}],"isBlockCoverage":false},{"functionName":"__importDefault","ranges":[{"startOffset":671,"endOffset":752,"count":1},{"startOffset":723,"endOffset":728,"count":0}],"isBlockCoverage":true},{"functionName":"mapAgeCleaner","ranges":[{"startOffset":872,"endOffset":3774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"609","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-defer/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":177,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"610","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6750,"count":1}],"isBlockCoverage":true},{"functionName":"getId","ranges":[{"startOffset":492,"endOffset":749,"count":1},{"startOffset":664,"endOffset":747,"count":0}],"isBlockCoverage":true},{"functionName":"getTmpname","ranges":[{"startOffset":774,"endOffset":976,"count":0}],"isBlockCoverage":false},{"functionName":"cleanupOnExit","ranges":[{"startOffset":978,"endOffset":1161,"count":0}],"isBlockCoverage":false},{"functionName":"serializeActiveFile","ranges":[{"startOffset":1163,"endOffset":1550,"count":0}],"isBlockCoverage":false},{"functionName":"isChownErrOk","ranges":[{"startOffset":1633,"endOffset":1894,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileAsync","ranges":[{"startOffset":1896,"endOffset":4304,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4306,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":4680,"endOffset":6749,"count":0}],"isBlockCoverage":false}]},{"scriptId":"611","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/imurmurhash/imurmurhash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4412,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":443,"endOffset":4407,"count":1},{"startOffset":4352,"endOffset":4405,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3","ranges":[{"startOffset":811,"endOffset":1083,"count":1},{"startOffset":896,"endOffset":903,"count":0},{"startOffset":963,"endOffset":980,"count":0},{"startOffset":982,"endOffset":1018,"count":0},{"startOffset":1044,"endOffset":1077,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3.hash","ranges":[{"startOffset":1254,"endOffset":3073,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.result","ranges":[{"startOffset":3193,"endOffset":3797,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.reset","ranges":[{"startOffset":3937,"endOffset":4078,"count":1},{"startOffset":3997,"endOffset":4003,"count":0}],"isBlockCoverage":true}]},{"scriptId":"612","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9435,"count":1},{"startOffset":8597,"endOffset":8623,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":518,"endOffset":562,"count":0}],"isBlockCoverage":false},{"functionName":"processOk","ranges":[{"startOffset":585,"endOffset":952,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1130,"endOffset":2434,"count":1}],"isBlockCoverage":true},{"functionName":"Emitter","ranges":[{"startOffset":1325,"endOffset":1616,"count":1},{"startOffset":1375,"endOffset":1427,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":1621,"endOffset":1676,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":1681,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2045,"endOffset":2432,"count":0}],"isBlockCoverage":false},{"functionName":"signalExitWrap","ranges":[{"startOffset":2483,"endOffset":2732,"count":1}],"isBlockCoverage":true},{"functionName":"onExit","ranges":[{"startOffset":2519,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2602,"endOffset":2655,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2665,"endOffset":2722,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":2788,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2835,"endOffset":2845,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2850,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2865,"endOffset":8403,"count":1},{"startOffset":3070,"endOffset":3080,"count":0}],"isBlockCoverage":true},{"functionName":"SignalExit","ranges":[{"startOffset":3269,"endOffset":5206,"count":1},{"startOffset":3467,"endOffset":5088,"count":17}],"isBlockCoverage":true},{"functionName":"SignalExit.#sigListeners.","ranges":[{"startOffset":3507,"endOffset":5077,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":5211,"endOffset":5804,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5809,"endOffset":6637,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":6642,"endOffset":7393,"count":0}],"isBlockCoverage":false},{"functionName":"#processReallyExit","ranges":[{"startOffset":7398,"endOffset":7764,"count":0}],"isBlockCoverage":false},{"functionName":"#processEmit","ranges":[{"startOffset":7769,"endOffset":8401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"613","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1560,"count":1}],"isBlockCoverage":true}]},{"scriptId":"614","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/irregular-plurals/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":137,"count":1}],"isBlockCoverage":true}]},{"scriptId":"615","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/state.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":150,"count":1}],"isBlockCoverage":true}]},{"scriptId":"616","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/channel.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7151,"count":1},{"startOffset":2661,"endOffset":2770,"count":0}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":303,"endOffset":1131,"count":2},{"startOffset":747,"endOffset":1129,"count":0}],"isBlockCoverage":true},{"functionName":"addToBuffer","ranges":[{"startOffset":510,"endOffset":540,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":975,"endOffset":1022,"count":0}],"isBlockCoverage":false},{"functionName":"selectAvaMessage","ranges":[{"startOffset":1159,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1167,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"RefCounter","ranges":[{"startOffset":1241,"endOffset":1277,"count":1}],"isBlockCoverage":true},{"functionName":"refAndTest","ranges":[{"startOffset":1280,"endOffset":1326,"count":2}],"isBlockCoverage":true},{"functionName":"testAndUnref","ranges":[{"startOffset":1329,"endOffset":1395,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortHandle","ranges":[{"startOffset":1426,"endOffset":1746,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1719,"endOffset":1727,"count":0}],"isBlockCoverage":false},{"functionName":"forceUnref","ranges":[{"startOffset":1749,"endOffset":1899,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":1902,"endOffset":2040,"count":2}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":2043,"endOffset":2179,"count":2}],"isBlockCoverage":true},{"functionName":"send","ranges":[{"startOffset":2182,"endOffset":2264,"count":47}],"isBlockCoverage":true},{"functionName":"IpcHandle","ranges":[{"startOffset":2287,"endOffset":2409,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":2412,"endOffset":2487,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":2490,"endOffset":2571,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2574,"endOffset":2616,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3157,"endOffset":3187,"count":0}],"isBlockCoverage":false},{"functionName":"flush","ranges":[{"startOffset":3456,"endOffset":3749,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3531,"endOffset":3704,"count":1}],"isBlockCoverage":true},{"functionName":"createChannelEmitter","ranges":[{"startOffset":3859,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"registerSharedWorker","ranges":[{"startOffset":4406,"endOffset":7096,"count":0}],"isBlockCoverage":false}]},{"scriptId":"617","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/utils.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true}]},{"scriptId":"618","url":"node:internal/modules/esm/initialize_import_meta","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1960,"count":1}],"isBlockCoverage":false},{"functionName":"createImportMetaResolve","ranges":[{"startOffset":617,"endOffset":1368,"count":3}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":880,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"initializeImportMeta","ranges":[{"startOffset":1633,"endOffset":1912,"count":3}],"isBlockCoverage":true}]},{"scriptId":"619","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/options.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":278,"count":1}],"isBlockCoverage":true},{"functionName":"exports.get","ranges":[{"startOffset":48,"endOffset":147,"count":0}],"isBlockCoverage":false},{"functionName":"exports.set","ranges":[{"startOffset":164,"endOffset":276,"count":1},{"startOffset":194,"endOffset":250,"count":0}],"isBlockCoverage":true}]},{"scriptId":"620","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-event/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6062,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeEmitter","ranges":[{"startOffset":60,"endOffset":453,"count":3},{"startOffset":105,"endOffset":127,"count":0},{"startOffset":128,"endOffset":155,"count":0},{"startOffset":193,"endOffset":218,"count":0},{"startOffset":219,"endOffset":249,"count":0},{"startOffset":290,"endOffset":346,"count":0}],"isBlockCoverage":true},{"functionName":"pEventMultiple","ranges":[{"startOffset":463,"endOffset":2125,"count":3},{"startOffset":1994,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":560,"endOffset":1917,"count":3},{"startOffset":812,"endOffset":892,"count":0},{"startOffset":1890,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"onItem","ranges":[{"startOffset":1060,"endOffset":1389,"count":3},{"startOffset":1116,"endOffset":1128,"count":0},{"startOffset":1263,"endOffset":1281,"count":2},{"startOffset":1281,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"rejectHandler","ranges":[{"startOffset":1416,"endOffset":1461,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":1475,"endOffset":1675,"count":1}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":2134,"endOffset":2551,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2421,"endOffset":2438,"count":1}],"isBlockCoverage":true},{"functionName":"pEventIterator","ranges":[{"startOffset":2560,"endOffset":6020,"count":0}],"isBlockCoverage":false}]},{"scriptId":"621","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@ava/typescript/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8330,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":352,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"validate","ranges":[{"startOffset":478,"endOffset":1131,"count":0}],"isBlockCoverage":false},{"functionName":"compileTypeScript","ranges":[{"startOffset":1133,"endOffset":1260,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1321,"endOffset":1393,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1436,"endOffset":1654,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1696,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"typescriptProvider","ranges":[{"startOffset":2093,"endOffset":8329,"count":1},{"startOffset":2251,"endOffset":2265,"count":0}],"isBlockCoverage":true},{"functionName":"main","ranges":[{"startOffset":2279,"endOffset":7324,"count":0}],"isBlockCoverage":false},{"functionName":"worker","ranges":[{"startOffset":7329,"endOffset":8322,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7526,"endOffset":7556,"count":3}],"isBlockCoverage":true},{"functionName":"canLoad","ranges":[{"startOffset":7591,"endOffset":7707,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7667,"endOffset":7699,"count":2}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":7714,"endOffset":8311,"count":1},{"startOffset":7935,"endOffset":8023,"count":0},{"startOffset":8055,"endOffset":8118,"count":0},{"startOffset":8247,"endOffset":8281,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7787,"endOffset":7819,"count":2}],"isBlockCoverage":true}]},{"scriptId":"622","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-timeout/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2513,"count":1}],"isBlockCoverage":true},{"functionName":"TimeoutError","ranges":[{"startOffset":43,"endOffset":116,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":315,"endOffset":405,"count":0}],"isBlockCoverage":false},{"functionName":"getDOMException","ranges":[{"startOffset":516,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"getAbortedReason","ranges":[{"startOffset":755,"endOffset":951,"count":0}],"isBlockCoverage":false},{"functionName":"pTimeout","ranges":[{"startOffset":969,"endOffset":2512,"count":0}],"isBlockCoverage":false}]},{"scriptId":"623","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7897,"count":1}],"isBlockCoverage":true},{"functionName":"getEnv","ranges":[{"startOffset":955,"endOffset":1187,"count":0}],"isBlockCoverage":false},{"functionName":"handleArguments","ranges":[{"startOffset":1214,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"handleOutput","ranges":[{"startOffset":1965,"endOffset":2268,"count":0}],"isBlockCoverage":false},{"functionName":"execa","ranges":[{"startOffset":2278,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"execaSync","ranges":[{"startOffset":4687,"endOffset":6032,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptStdin","ranges":[{"startOffset":6063,"endOffset":6191,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptOptions","ranges":[{"startOffset":6225,"endOffset":6316,"count":0}],"isBlockCoverage":false},{"functionName":"create$","ranges":[{"startOffset":6319,"endOffset":6973,"count":1}],"isBlockCoverage":true},{"functionName":"$","ranges":[{"startOffset":6348,"endOffset":6640,"count":0}],"isBlockCoverage":false},{"functionName":"$.sync","ranges":[{"startOffset":6652,"endOffset":6958,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommand","ranges":[{"startOffset":7011,"endOffset":7138,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommandSync","ranges":[{"startOffset":7147,"endOffset":7282,"count":0}],"isBlockCoverage":false},{"functionName":"execaNode","ranges":[{"startOffset":7291,"endOffset":7896,"count":0}],"isBlockCoverage":false}]},{"scriptId":"624","url":"node:child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27198,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1936,"endOffset":1965,"count":0}],"isBlockCoverage":false},{"functionName":"fork","ranges":[{"startOffset":3430,"endOffset":5105,"count":0}],"isBlockCoverage":false},{"functionName":"_forkChild","ranges":[{"startOffset":5107,"endOffset":5596,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecArgs","ranges":[{"startOffset":5598,"endOffset":6112,"count":0}],"isBlockCoverage":false},{"functionName":"exec","ranges":[{"startOffset":6649,"endOffset":6896,"count":0}],"isBlockCoverage":false},{"functionName":"customPromiseExecFunction","ranges":[{"startOffset":6932,"endOffset":7296,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6953,"endOffset":7293,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecFileArgs","ranges":[{"startOffset":7433,"endOffset":8331,"count":0}],"isBlockCoverage":false},{"functionName":"execFile","ranges":[{"startOffset":8944,"endOffset":13708,"count":0}],"isBlockCoverage":false},{"functionName":"copyProcessEnvToEnv","ranges":[{"startOffset":13852,"endOffset":14052,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeSpawnArguments","ranges":[{"startOffset":14054,"endOffset":19321,"count":0}],"isBlockCoverage":false},{"functionName":"abortChildProcess","ranges":[{"startOffset":19323,"endOffset":19579,"count":0}],"isBlockCoverage":false},{"functionName":"spawn","ranges":[{"startOffset":20134,"endOffset":21334,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":22094,"endOffset":23602,"count":0}],"isBlockCoverage":false},{"functionName":"checkExecSyncError","ranges":[{"startOffset":23605,"endOffset":23991,"count":0}],"isBlockCoverage":false},{"functionName":"execFileSync","ranges":[{"startOffset":24504,"endOffset":24968,"count":0}],"isBlockCoverage":false},{"functionName":"execSync","ranges":[{"startOffset":25466,"endOffset":25842,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentNullCheck","ranges":[{"startOffset":25845,"endOffset":26068,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentsNullCheck","ranges":[{"startOffset":26071,"endOffset":26233,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":26236,"endOffset":26424,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBuffer","ranges":[{"startOffset":26427,"endOffset":26700,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeKillSignal","ranges":[{"startOffset":26703,"endOffset":27066,"count":0}],"isBlockCoverage":false}]},{"scriptId":"625","url":"node:internal/child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31777,"count":1}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2500,"endOffset":2559,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2566,"endOffset":2620,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2682,"endOffset":2749,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2756,"endOffset":2897,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2927,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"postSend","ranges":[{"startOffset":4488,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5241,"endOffset":5698,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5763,"endOffset":5822,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5829,"endOffset":5883,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5948,"endOffset":6068,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":6075,"endOffset":6234,"count":0}],"isBlockCoverage":false},{"functionName":"stdioStringToArray","ranges":[{"startOffset":6245,"endOffset":6660,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess","ranges":[{"startOffset":6662,"endOffset":8151,"count":0}],"isBlockCoverage":false},{"functionName":"flushStdio","ranges":[{"startOffset":8274,"endOffset":8752,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":8755,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"getHandleWrapType","ranges":[{"startOffset":8848,"endOffset":9077,"count":0}],"isBlockCoverage":false},{"functionName":"closePendingHandle","ranges":[{"startOffset":9079,"endOffset":9192,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.spawn","ranges":[{"startOffset":9226,"endOffset":12793,"count":0}],"isBlockCoverage":false},{"functionName":"onErrorNT","ranges":[{"startOffset":12797,"endOffset":12858,"count":0}],"isBlockCoverage":false},{"functionName":"onSpawnNT","ranges":[{"startOffset":12861,"endOffset":12911,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.kill","ranges":[{"startOffset":12944,"endOffset":13609,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.","ranges":[{"startOffset":13652,"endOffset":13709,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.ref","ranges":[{"startOffset":13742,"endOffset":13796,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.unref","ranges":[{"startOffset":13831,"endOffset":13887,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13890,"endOffset":14887,"count":0}],"isBlockCoverage":false},{"functionName":"setupChannel","ranges":[{"startOffset":15035,"endOffset":27155,"count":0}],"isBlockCoverage":false},{"functionName":"isInternal","ranges":[{"startOffset":27190,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"getValidStdio","ranges":[{"startOffset":27534,"endOffset":30459,"count":0}],"isBlockCoverage":false},{"functionName":"getSocketList","ranges":[{"startOffset":30462,"endOffset":30778,"count":0}],"isBlockCoverage":false},{"functionName":"maybeClose","ranges":[{"startOffset":30781,"endOffset":30982,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":30984,"endOffset":31651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"626","url":"node:dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28253,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCluster","ranges":[{"startOffset":2824,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":3031,"endOffset":4459,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":4570,"endOffset":4648,"count":0}],"isBlockCoverage":false},{"functionName":"startListening","ranges":[{"startOffset":4651,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"replaceHandle","ranges":[{"startOffset":5096,"endOffset":5661,"count":0}],"isBlockCoverage":false},{"functionName":"bufferSize","ranges":[{"startOffset":5663,"endOffset":5955,"count":0}],"isBlockCoverage":false},{"functionName":"bindServerHandle","ranges":[{"startOffset":6023,"endOffset":6433,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.bind","ranges":[{"startOffset":6459,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":9932,"endOffset":10728,"count":0}],"isBlockCoverage":false},{"functionName":"_connect","ranges":[{"startOffset":10732,"endOffset":11078,"count":0}],"isBlockCoverage":false},{"functionName":"doConnect","ranges":[{"startOffset":11081,"endOffset":11723,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.disconnect","ranges":[{"startOffset":11756,"endOffset":12063,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.sendto","ranges":[{"startOffset":12168,"endOffset":12609,"count":0}],"isBlockCoverage":false},{"functionName":"sliceBuffer","ranges":[{"startOffset":12613,"endOffset":13373,"count":0}],"isBlockCoverage":false},{"functionName":"fixBufferList","ranges":[{"startOffset":13376,"endOffset":13760,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":13763,"endOffset":14190,"count":0}],"isBlockCoverage":false},{"functionName":"onListenSuccess","ranges":[{"startOffset":14193,"endOffset":14331,"count":0}],"isBlockCoverage":false},{"functionName":"onListenError","ranges":[{"startOffset":14334,"endOffset":14458,"count":0}],"isBlockCoverage":false},{"functionName":"clearQueue","ranges":[{"startOffset":14461,"endOffset":14658,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.send","ranges":[{"startOffset":15229,"endOffset":18122,"count":0}],"isBlockCoverage":false},{"functionName":"doSend","ranges":[{"startOffset":18125,"endOffset":19264,"count":0}],"isBlockCoverage":false},{"functionName":"afterSend","ranges":[{"startOffset":19266,"endOffset":19443,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.close","ranges":[{"startOffset":19470,"endOffset":20038,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":20080,"endOffset":20213,"count":0}],"isBlockCoverage":false},{"functionName":"socketCloseNT","ranges":[{"startOffset":20217,"endOffset":20271,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":20301,"endOffset":20491,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.remoteAddress","ranges":[{"startOffset":20527,"endOffset":20837,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setBroadcast","ranges":[{"startOffset":20873,"endOffset":21021,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setTTL","ranges":[{"startOffset":21051,"endOffset":21225,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastTTL","ranges":[{"startOffset":21264,"endOffset":21456,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastLoopback","ranges":[{"startOffset":21500,"endOffset":21700,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastInterface","ranges":[{"startOffset":21745,"endOffset":22007,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addMembership","ranges":[{"startOffset":22043,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropMembership","ranges":[{"startOffset":22455,"endOffset":22832,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addSourceSpecificMembership","ranges":[{"startOffset":22882,"endOffset":23489,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropSourceSpecificMembership","ranges":[{"startOffset":23541,"endOffset":24154,"count":0}],"isBlockCoverage":false},{"functionName":"healthCheck","ranges":[{"startOffset":24158,"endOffset":24321,"count":0}],"isBlockCoverage":false},{"functionName":"stopReceiving","ranges":[{"startOffset":24324,"endOffset":24488,"count":0}],"isBlockCoverage":false},{"functionName":"onMessage","ranges":[{"startOffset":24491,"endOffset":24745,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":24748,"endOffset":24863,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":24889,"endOffset":24996,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":25025,"endOffset":25134,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setRecvBufferSize","ranges":[{"startOffset":25175,"endOffset":25232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setSendBufferSize","ranges":[{"startOffset":25273,"endOffset":25330,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getRecvBufferSize","ranges":[{"startOffset":25371,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendBufferSize","ranges":[{"startOffset":25469,"endOffset":25526,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueSize","ranges":[{"startOffset":25565,"endOffset":25634,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueCount","ranges":[{"startOffset":25674,"endOffset":25744,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25863,"endOffset":25917,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25990,"endOffset":26046,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26199,"endOffset":26256,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26332,"endOffset":26391,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26547,"endOffset":26604,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26680,"endOffset":26739,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26891,"endOffset":26944,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27016,"endOffset":27071,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27223,"endOffset":27280,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27356,"endOffset":27415,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27522,"endOffset":27557,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27666,"endOffset":27703,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27988,"endOffset":28024,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":28028,"endOffset":28069,"count":0}],"isBlockCoverage":false}]},{"scriptId":"627","url":"node:internal/dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1851,"count":1}],"isBlockCoverage":false},{"functionName":"lookup4","ranges":[{"startOffset":478,"endOffset":579,"count":0}],"isBlockCoverage":false},{"functionName":"lookup6","ranges":[{"startOffset":582,"endOffset":677,"count":0}],"isBlockCoverage":false},{"functionName":"newHandle","ranges":[{"startOffset":679,"endOffset":1323,"count":0}],"isBlockCoverage":false},{"functionName":"_createSocketHandle","ranges":[{"startOffset":1326,"endOffset":1774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"628","url":"node:internal/socket_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2709,"count":1}],"isBlockCoverage":false},{"functionName":"SocketListSend","ranges":[{"startOffset":235,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"_request","ranges":[{"startOffset":380,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":1039,"endOffset":1190,"count":0}],"isBlockCoverage":false},{"functionName":"getConnections","ranges":[{"startOffset":1194,"endOffset":1430,"count":0}],"isBlockCoverage":false},{"functionName":"SocketListReceive","ranges":[{"startOffset":1544,"endOffset":2404,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":2408,"endOffset":2649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"629","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/strip-final-newline/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":347,"count":1}],"isBlockCoverage":true},{"functionName":"stripFinalNewline","ranges":[{"startOffset":15,"endOffset":346,"count":0}],"isBlockCoverage":false}]},{"scriptId":"630","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":938,"count":1}],"isBlockCoverage":true},{"functionName":"npmRunPath","ranges":[{"startOffset":134,"endOffset":741,"count":0}],"isBlockCoverage":false},{"functionName":"npmRunPathEnv","ranges":[{"startOffset":750,"endOffset":937,"count":0}],"isBlockCoverage":false}]},{"scriptId":"631","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/onetime/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1022,"count":1}],"isBlockCoverage":true},{"functionName":"onetime","ranges":[{"startOffset":95,"endOffset":767,"count":0}],"isBlockCoverage":false},{"functionName":"onetime.callCount","ranges":[{"startOffset":790,"endOffset":995,"count":0}],"isBlockCoverage":false}]},{"scriptId":"632","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2204,"count":1}],"isBlockCoverage":true},{"functionName":"getErrorPrefix","ranges":[{"startOffset":105,"endOffset":580,"count":0}],"isBlockCoverage":false},{"functionName":"makeError","ranges":[{"startOffset":608,"endOffset":2202,"count":0}],"isBlockCoverage":false}]},{"scriptId":"633","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stdio.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1157,"count":1}],"isBlockCoverage":true},{"functionName":"hasAlias","ranges":[{"startOffset":65,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdio","ranges":[{"startOffset":160,"endOffset":794,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdioNode","ranges":[{"startOffset":879,"endOffset":1155,"count":0}],"isBlockCoverage":false}]},{"scriptId":"634","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/kill.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2983,"count":1}],"isBlockCoverage":true},{"functionName":"spawnedKill","ranges":[{"startOffset":214,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"setKillTimeout","ranges":[{"startOffset":393,"endOffset":844,"count":0}],"isBlockCoverage":false},{"functionName":"shouldForceKill","ranges":[{"startOffset":871,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"isSigterm","ranges":[{"startOffset":1007,"endOffset":1128,"count":0}],"isBlockCoverage":false},{"functionName":"getForceKillAfterTimeout","ranges":[{"startOffset":1164,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"spawnedCancel","ranges":[{"startOffset":1623,"endOffset":1736,"count":0}],"isBlockCoverage":false},{"functionName":"timeoutKill","ranges":[{"startOffset":1759,"endOffset":1888,"count":0}],"isBlockCoverage":false},{"functionName":"setupTimeout","ranges":[{"startOffset":1948,"endOffset":2417,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":2451,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"setExitHandler","ranges":[{"startOffset":2737,"endOffset":2981,"count":0}],"isBlockCoverage":false}]},{"scriptId":"635","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/pipe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1194,"count":1}],"isBlockCoverage":true},{"functionName":"isExecaChildProcess","ranges":[{"startOffset":165,"endOffset":242,"count":0}],"isBlockCoverage":false},{"functionName":"pipeToTarget","ranges":[{"startOffset":266,"endOffset":826,"count":0}],"isBlockCoverage":false},{"functionName":"addPipeMethods","ranges":[{"startOffset":859,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"636","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2958,"count":1}],"isBlockCoverage":true},{"functionName":"validateInputOptions","ranges":[{"startOffset":198,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"getInputSync","ranges":[{"startOffset":347,"endOffset":495,"count":0}],"isBlockCoverage":false},{"functionName":"handleInputSync","ranges":[{"startOffset":576,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getInput","ranges":[{"startOffset":769,"endOffset":921,"count":0}],"isBlockCoverage":false},{"functionName":"handleInput","ranges":[{"startOffset":999,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"makeAllStream","ranges":[{"startOffset":1270,"endOffset":1518,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedData","ranges":[{"startOffset":1632,"endOffset":1940,"count":0}],"isBlockCoverage":false},{"functionName":"getStreamPromise","ranges":[{"startOffset":1968,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedResult","ranges":[{"startOffset":2300,"endOffset":2956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"637","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1109,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":91,"endOffset":105,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":186,"endOffset":281,"count":3}],"isBlockCoverage":true},{"functionName":"mergePromise","ranges":[{"startOffset":376,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedPromise","ranges":[{"startOffset":835,"endOffset":1107,"count":0}],"isBlockCoverage":false}]},{"scriptId":"638","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/command.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3071,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeArgs","ranges":[{"startOffset":108,"endOffset":207,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArg","ranges":[{"startOffset":302,"endOffset":449,"count":0}],"isBlockCoverage":false},{"functionName":"joinCommand","ranges":[{"startOffset":479,"endOffset":530,"count":0}],"isBlockCoverage":false},{"functionName":"getEscapedCommand","ranges":[{"startOffset":566,"endOffset":644,"count":0}],"isBlockCoverage":false},{"functionName":"parseCommand","ranges":[{"startOffset":732,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"parseExpression","ranges":[{"startOffset":1209,"endOffset":1923,"count":0}],"isBlockCoverage":false},{"functionName":"concatTokens","ranges":[{"startOffset":1947,"endOffset":2173,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplate","ranges":[{"startOffset":2198,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplates","ranges":[{"startOffset":2865,"endOffset":3068,"count":0}],"isBlockCoverage":false}]},{"scriptId":"639","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/verbose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"padField","ranges":[{"startOffset":148,"endOffset":204,"count":0}],"isBlockCoverage":false},{"functionName":"getTimestamp","ranges":[{"startOffset":228,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"logCommand","ranges":[{"startOffset":442,"endOffset":573,"count":0}],"isBlockCoverage":false}]},{"scriptId":"640","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":263,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":15,"endOffset":262,"count":0}],"isBlockCoverage":false}]},{"scriptId":"641","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/main.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1214,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalsByName","ranges":[{"startOffset":134,"endOffset":226,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalByName","ranges":[{"startOffset":251,"endOffset":386,"count":69}],"isBlockCoverage":true},{"functionName":"getSignalsByNumber","ranges":[{"startOffset":465,"endOffset":652,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":559,"endOffset":609,"count":65}],"isBlockCoverage":true},{"functionName":"getSignalByNumber","ranges":[{"startOffset":679,"endOffset":939,"count":65},{"startOffset":771,"endOffset":784,"count":3},{"startOffset":784,"endOffset":938,"count":62}],"isBlockCoverage":true},{"functionName":"findSignalByNumber","ranges":[{"startOffset":969,"endOffset":1161,"count":65},{"startOffset":1083,"endOffset":1101,"count":31},{"startOffset":1101,"endOffset":1160,"count":34}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1015,"endOffset":1057,"count":2919}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1123,"endOffset":1157,"count":1881}],"isBlockCoverage":true}]},{"scriptId":"642","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":746,"count":1}],"isBlockCoverage":true},{"functionName":"isStream","ranges":[{"startOffset":7,"endOffset":132,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":141,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":332,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexStream","ranges":[{"startOffset":522,"endOffset":621,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":630,"endOffset":745,"count":0}],"isBlockCoverage":false}]},{"scriptId":"643","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/realtime.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":353,"count":1}],"isBlockCoverage":true},{"functionName":"getRealtimeSignals","ranges":[{"startOffset":33,"endOffset":121,"count":2}],"isBlockCoverage":true},{"functionName":"getRealtimeSignal","ranges":[{"startOffset":148,"endOffset":306,"count":62}],"isBlockCoverage":true}]},{"scriptId":"644","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1}],"isBlockCoverage":true},{"functionName":"getSignals","ranges":[{"startOffset":139,"endOffset":274,"count":2}],"isBlockCoverage":true},{"functionName":"normalizeSignal","ranges":[{"startOffset":305,"endOffset":602,"count":138},{"startOffset":504,"endOffset":519,"count":66},{"startOffset":519,"endOffset":533,"count":72}],"isBlockCoverage":true}]},{"scriptId":"645","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4126,"count":1}],"isBlockCoverage":true}]},{"scriptId":"646","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1}],"isBlockCoverage":true},{"functionName":"spawn","ranges":[{"startOffset":131,"endOffset":589,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":591,"endOffset":1038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"647","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3065,"count":1}],"isBlockCoverage":true},{"functionName":"detectShebang","ranges":[{"startOffset":354,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"parseNonShell","ranges":[{"startOffset":661,"endOffset":2367,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":2369,"endOffset":3039,"count":0}],"isBlockCoverage":false}]},{"scriptId":"648","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/resolveCommand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1557,"count":1}],"isBlockCoverage":true},{"functionName":"resolveCommandAttempt","ranges":[{"startOffset":118,"endOffset":1404,"count":0}],"isBlockCoverage":false},{"functionName":"resolveCommand","ranges":[{"startOffset":1406,"endOffset":1522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"649","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/which/which.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3163,"count":1},{"startOffset":177,"endOffset":182,"count":0}],"isBlockCoverage":true},{"functionName":"getNotFoundError","ranges":[{"startOffset":246,"endOffset":322,"count":0}],"isBlockCoverage":false},{"functionName":"getPathInfo","ranges":[{"startOffset":344,"endOffset":1152,"count":0}],"isBlockCoverage":false},{"functionName":"which","ranges":[{"startOffset":1168,"endOffset":2279,"count":0}],"isBlockCoverage":false},{"functionName":"whichSync","ranges":[{"startOffset":2299,"endOffset":3115,"count":0}],"isBlockCoverage":false}]},{"scriptId":"650","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1},{"startOffset":92,"endOffset":128,"count":0}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":211,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":930,"endOffset":1191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"651","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/mode.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":909,"count":1}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":66,"endOffset":197,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":199,"endOffset":279,"count":0}],"isBlockCoverage":false},{"functionName":"checkStat","ranges":[{"startOffset":281,"endOffset":370,"count":0}],"isBlockCoverage":false},{"functionName":"checkMode","ranges":[{"startOffset":372,"endOffset":908,"count":0}],"isBlockCoverage":false}]},{"scriptId":"652","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":415,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":31,"endOffset":304,"count":0}],"isBlockCoverage":false}]},{"scriptId":"653","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/escape.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"escapeCommand","ranges":[{"startOffset":121,"endOffset":241,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArgument","ranges":[{"startOffset":243,"endOffset":1088,"count":0}],"isBlockCoverage":false}]},{"scriptId":"654","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/readShebang.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":549,"count":1}],"isBlockCoverage":true},{"functionName":"readShebang","ranges":[{"startOffset":93,"endOffset":517,"count":0}],"isBlockCoverage":false}]},{"scriptId":"655","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-command/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":387,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":79,"endOffset":385,"count":0}],"isBlockCoverage":false}]},{"scriptId":"656","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":42,"count":1}],"isBlockCoverage":true}]},{"scriptId":"657","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/enoent.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1480,"count":1}],"isBlockCoverage":true},{"functionName":"notFoundError","ranges":[{"startOffset":60,"endOffset":358,"count":0}],"isBlockCoverage":false},{"functionName":"hookChildProcess","ranges":[{"startOffset":360,"endOffset":1023,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENT","ranges":[{"startOffset":1025,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENTSync","ranges":[{"startOffset":1197,"endOffset":1375,"count":0}],"isBlockCoverage":false}]},{"scriptId":"658","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5708,"count":1},{"startOffset":778,"endOffset":844,"count":0},{"startOffset":1059,"endOffset":1089,"count":0},{"startOffset":1144,"endOffset":1195,"count":0}],"isBlockCoverage":true},{"functionName":"processOk","ranges":[{"startOffset":293,"endOffset":677,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":799,"endOffset":842,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1703,"endOffset":2301,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2318,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2724,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3001,"endOffset":3890,"count":18}],"isBlockCoverage":true},{"functionName":"listener","ranges":[{"startOffset":3042,"endOffset":3886,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.signals","ranges":[{"startOffset":3920,"endOffset":3956,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":3993,"endOffset":4602,"count":0}],"isBlockCoverage":false},{"functionName":"processReallyExit","ranges":[{"startOffset":4712,"endOffset":5108,"count":0}],"isBlockCoverage":false},{"functionName":"processEmit","ranges":[{"startOffset":5171,"endOffset":5705,"count":0}],"isBlockCoverage":false}]},{"scriptId":"659","url":"node:assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31879,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadComparison","ranges":[{"startOffset":2704,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":3469,"endOffset":3517,"count":0}],"isBlockCoverage":false},{"functionName":"innerFail","ranges":[{"startOffset":4071,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":4348,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"findColumn","ranges":[{"startOffset":5445,"endOffset":6385,"count":0}],"isBlockCoverage":false},{"functionName":"getCode","ranges":[{"startOffset":6387,"endOffset":8032,"count":0}],"isBlockCoverage":false},{"functionName":"parseCode","ranges":[{"startOffset":8034,"endOffset":9451,"count":0}],"isBlockCoverage":false},{"functionName":"getErrMessage","ranges":[{"startOffset":9453,"endOffset":12547,"count":0}],"isBlockCoverage":false},{"functionName":"innerOk","ranges":[{"startOffset":12549,"endOffset":13157,"count":2},{"startOffset":12610,"endOffset":13155,"count":0}],"isBlockCoverage":true},{"functionName":"ok","ranges":[{"startOffset":13290,"endOffset":13351,"count":2}],"isBlockCoverage":true},{"functionName":"equal","ranges":[{"startOffset":13610,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"notEqual","ranges":[{"startOffset":14201,"endOffset":14577,"count":0}],"isBlockCoverage":false},{"functionName":"deepEqual","ranges":[{"startOffset":14777,"endOffset":15142,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepEqual","ranges":[{"startOffset":15348,"endOffset":15721,"count":0}],"isBlockCoverage":false},{"functionName":"deepStrictEqual","ranges":[{"startOffset":15964,"endOffset":16353,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepStrictEqual","ranges":[{"startOffset":16602,"endOffset":16999,"count":0}],"isBlockCoverage":false},{"functionName":"strictEqual","ranges":[{"startOffset":17204,"endOffset":17517,"count":0}],"isBlockCoverage":false},{"functionName":"notStrictEqual","ranges":[{"startOffset":17729,"endOffset":18050,"count":0}],"isBlockCoverage":false},{"functionName":"Comparison","ranges":[{"startOffset":18074,"endOffset":18456,"count":0}],"isBlockCoverage":false},{"functionName":"compareExceptionKey","ranges":[{"startOffset":18460,"endOffset":19179,"count":0}],"isBlockCoverage":false},{"functionName":"expectedException","ranges":[{"startOffset":19181,"endOffset":22585,"count":0}],"isBlockCoverage":false},{"functionName":"getActual","ranges":[{"startOffset":22587,"endOffset":22727,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsPromise","ranges":[{"startOffset":22729,"endOffset":23093,"count":0}],"isBlockCoverage":false},{"functionName":"waitForActual","ranges":[{"startOffset":23095,"endOffset":23809,"count":0}],"isBlockCoverage":false},{"functionName":"expectsError","ranges":[{"startOffset":23811,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"hasMatchingError","ranges":[{"startOffset":25430,"endOffset":26048,"count":0}],"isBlockCoverage":false},{"functionName":"expectsNoError","ranges":[{"startOffset":26050,"endOffset":26701,"count":0}],"isBlockCoverage":false},{"functionName":"throws","ranges":[{"startOffset":26859,"endOffset":26953,"count":0}],"isBlockCoverage":false},{"functionName":"rejects","ranges":[{"startOffset":27132,"endOffset":27244,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotThrow","ranges":[{"startOffset":27406,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotReject","ranges":[{"startOffset":27666,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"ifError","ranges":[{"startOffset":27906,"endOffset":29695,"count":0}],"isBlockCoverage":false},{"functionName":"internalMatch","ranges":[{"startOffset":29698,"endOffset":30781,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":30977,"endOffset":31069,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotMatch","ranges":[{"startOffset":31277,"endOffset":31383,"count":0}],"isBlockCoverage":false},{"functionName":"strict","ranges":[{"startOffset":31574,"endOffset":31643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"660","url":"node:internal/assert/assertion_error","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17104,"count":1}],"isBlockCoverage":false},{"functionName":"copyError","ranges":[{"startOffset":1449,"endOffset":1743,"count":0}],"isBlockCoverage":false},{"functionName":"inspectValue","ranges":[{"startOffset":1745,"endOffset":2353,"count":0}],"isBlockCoverage":false},{"functionName":"createErrDiff","ranges":[{"startOffset":2355,"endOffset":11091,"count":0}],"isBlockCoverage":false},{"functionName":"addEllipsis","ranges":[{"startOffset":11093,"endOffset":11396,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":11437,"endOffset":16133,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16137,"endOffset":16212,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16216,"endOffset":17067,"count":0}],"isBlockCoverage":false}]},{"scriptId":"661","url":"node:internal/util/colors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1122,"count":1}],"isBlockCoverage":false},{"functionName":"lazyInternalTTY","ranges":[{"startOffset":32,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"shouldColorize","ranges":[{"startOffset":244,"endOffset":504,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":508,"endOffset":1090,"count":1},{"startOffset":550,"endOffset":1086,"count":0}],"isBlockCoverage":true}]},{"scriptId":"662","url":"node:internal/assert/calltracker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3452,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":462,"endOffset":1495,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1497,"endOffset":3420,"count":0}],"isBlockCoverage":false}]},{"scriptId":"663","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1295,"count":1}],"isBlockCoverage":true}]},{"scriptId":"664","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1489,"count":1}],"isBlockCoverage":true},{"functionName":"MaxBufferError","ranges":[{"startOffset":292,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"getStream","ranges":[{"startOffset":377,"endOffset":1223,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.buffer","ranges":[{"startOffset":1277,"endOffset":1349,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.array","ranges":[{"startOffset":1374,"endOffset":1439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"665","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/buffer-stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":894,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":92,"endOffset":892,"count":0}],"isBlockCoverage":false}]},{"scriptId":"666","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":885,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":76,"endOffset":884,"count":0}],"isBlockCoverage":false}]},{"scriptId":"667","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/unit/process-test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6815,"count":1},{"startOffset":407,"endOffset":488,"count":0},{"startOffset":664,"endOffset":706,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":88,"endOffset":405,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":410,"endOffset":487,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":571,"endOffset":662,"count":0}],"isBlockCoverage":true},{"functionName":"__setModuleDefault","ranges":[{"startOffset":666,"endOffset":706,"count":0}],"isBlockCoverage":false},{"functionName":"__importStar","ranges":[{"startOffset":759,"endOffset":1039,"count":1},{"startOffset":818,"endOffset":1038,"count":0}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":1097,"endOffset":1178,"count":2},{"startOffset":1149,"endOffset":1154,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1571,"endOffset":1976,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1637,"endOffset":1659,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2044,"endOffset":2477,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2110,"endOffset":2132,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2544,"endOffset":2975,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2610,"endOffset":2632,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3046,"endOffset":3463,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3112,"endOffset":3134,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3538,"endOffset":4127,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3604,"endOffset":3626,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3693,"endOffset":3775,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4199,"endOffset":4444,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4249,"endOffset":4297,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4511,"endOffset":4759,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4561,"endOffset":4592,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4829,"endOffset":5253,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4879,"endOffset":4906,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5041,"endOffset":5090,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5341,"endOffset":5832,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5391,"endOffset":5418,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5579,"endOffset":5628,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5922,"endOffset":6258,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5972,"endOffset":5994,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6349,"endOffset":6772,"count":1},{"startOffset":6600,"endOffset":6611,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6399,"endOffset":6447,"count":1}],"isBlockCoverage":true}]},{"scriptId":"668","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/entrypoints/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":66,"count":1}],"isBlockCoverage":true}]},{"scriptId":"669","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":277,"count":1}],"isBlockCoverage":true}]},{"scriptId":"670","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/guard-environment.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1},{"startOffset":271,"endOffset":602,"count":0}],"isBlockCoverage":true}]},{"scriptId":"671","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":95,"count":1}],"isBlockCoverage":true}]},{"scriptId":"672","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/create-sinon-api.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1852,"count":1}],"isBlockCoverage":true},{"functionName":"createApi","ranges":[{"startOffset":603,"endOffset":1850,"count":1}],"isBlockCoverage":true},{"functionName":"addBehavior","ranges":[{"startOffset":1632,"endOffset":1713,"count":0}],"isBlockCoverage":false}]},{"scriptId":"673","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/behavior.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8357,"count":1}],"isBlockCoverage":true},{"functionName":"getCallback","ranges":[{"startOffset":581,"endOffset":1382,"count":0}],"isBlockCoverage":false},{"functionName":"getCallbackError","ranges":[{"startOffset":1384,"endOffset":2109,"count":0}],"isBlockCoverage":false},{"functionName":"ensureArgs","ranges":[{"startOffset":2111,"endOffset":2527,"count":0}],"isBlockCoverage":false},{"functionName":"callCallback","ranges":[{"startOffset":2529,"endOffset":3263,"count":15},{"startOffset":2617,"endOffset":3238,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2903,"endOffset":3071,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":3293,"endOffset":3692,"count":15},{"startOffset":3534,"endOffset":3572,"count":0},{"startOffset":3574,"endOffset":3660,"count":0}],"isBlockCoverage":true},{"functionName":"isPresent","ranges":[{"startOffset":3710,"endOffset":4165,"count":0}],"isBlockCoverage":false},{"functionName":"invoke","ranges":[{"startOffset":4221,"endOffset":6665,"count":15},{"startOffset":4540,"endOffset":4585,"count":0},{"startOffset":4618,"endOffset":4764,"count":0},{"startOffset":4812,"endOffset":4916,"count":0},{"startOffset":4943,"endOffset":4982,"count":0},{"startOffset":5029,"endOffset":5130,"count":0},{"startOffset":5153,"endOffset":5217,"count":0},{"startOffset":5266,"endOffset":5445,"count":0},{"startOffset":5473,"endOffset":5554,"count":0},{"startOffset":5578,"endOffset":5668,"count":0},{"startOffset":5691,"endOffset":5780,"count":0},{"startOffset":5809,"endOffset":5941,"count":0},{"startOffset":5977,"endOffset":6437,"count":0},{"startOffset":6488,"endOffset":6536,"count":13},{"startOffset":6536,"endOffset":6625,"count":2},{"startOffset":6582,"endOffset":6625,"count":0},{"startOffset":6625,"endOffset":6664,"count":2}],"isBlockCoverage":true},{"functionName":"effectiveWrappedMethod","ranges":[{"startOffset":6696,"endOffset":6969,"count":0}],"isBlockCoverage":false},{"functionName":"onCall","ranges":[{"startOffset":6984,"endOffset":7054,"count":0}],"isBlockCoverage":false},{"functionName":"onFirstCall","ranges":[{"startOffset":7074,"endOffset":7144,"count":0}],"isBlockCoverage":false},{"functionName":"onSecondCall","ranges":[{"startOffset":7165,"endOffset":7237,"count":0}],"isBlockCoverage":false},{"functionName":"onThirdCall","ranges":[{"startOffset":7257,"endOffset":7327,"count":0}],"isBlockCoverage":false},{"functionName":"withArgs","ranges":[{"startOffset":7344,"endOffset":7659,"count":0}],"isBlockCoverage":false},{"functionName":"createBehavior","ranges":[{"startOffset":7665,"endOffset":7956,"count":35}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7718,"endOffset":7953,"count":13}],"isBlockCoverage":true},{"functionName":"addBehavior","ranges":[{"startOffset":7958,"endOffset":8169,"count":35}],"isBlockCoverage":true},{"functionName":"proto.","ranges":[{"startOffset":8015,"endOffset":8126,"count":13},{"startOffset":8112,"endOffset":8119,"count":0}],"isBlockCoverage":true}]},{"scriptId":"674","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":457,"count":1}],"isBlockCoverage":true}]},{"scriptId":"675","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":386,"count":1},{"startOffset":216,"endOffset":353,"count":0}],"isBlockCoverage":true}]},{"scriptId":"676","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/called-in-order.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1445,"count":1}],"isBlockCoverage":true},{"functionName":"hasCallsLeft","ranges":[{"startOffset":85,"endOffset":245,"count":0}],"isBlockCoverage":false},{"functionName":"checkAdjacentCalls","ranges":[{"startOffset":267,"endOffset":602,"count":0}],"isBlockCoverage":false},{"functionName":"calledInOrder","ranges":[{"startOffset":1177,"endOffset":1411,"count":0}],"isBlockCoverage":false}]},{"scriptId":"677","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true}]},{"scriptId":"678","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype-methods.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1010,"count":1},{"startOffset":423,"endOffset":470,"count":0}],"isBlockCoverage":true},{"functionName":"copyPrototypeMethods","ranges":[{"startOffset":489,"endOffset":1008,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":671,"endOffset":979,"count":134},{"startOffset":768,"endOffset":806,"count":4},{"startOffset":806,"endOffset":859,"count":130},{"startOffset":859,"endOffset":897,"count":5},{"startOffset":897,"endOffset":978,"count":125}],"isBlockCoverage":true}]},{"scriptId":"679","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/throws-on-proto.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":749,"count":1},{"startOffset":488,"endOffset":715,"count":0}],"isBlockCoverage":true}]},{"scriptId":"680","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/class-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":921,"count":1}],"isBlockCoverage":true},{"functionName":"className","ranges":[{"startOffset":221,"endOffset":891,"count":0}],"isBlockCoverage":false}]},{"scriptId":"681","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/function-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":818,"count":1}],"isBlockCoverage":true},{"functionName":"functionName","ranges":[{"startOffset":132,"endOffset":816,"count":13},{"startOffset":177,"endOffset":203,"count":0},{"startOffset":286,"endOffset":639,"count":0},{"startOffset":657,"endOffset":814,"count":0}],"isBlockCoverage":true}]},{"scriptId":"682","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/deprecated.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1363,"count":1}],"isBlockCoverage":true},{"functionName":"exports.wrap","ranges":[{"startOffset":282,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"exports.defaultMsg","ranges":[{"startOffset":774,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"exports.printWarning","ranges":[{"startOffset":1080,"endOffset":1361,"count":0}],"isBlockCoverage":false}]},{"scriptId":"683","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/every.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":666,"count":1}],"isBlockCoverage":true},{"functionName":"every","ranges":[{"startOffset":241,"endOffset":664,"count":0}],"isBlockCoverage":false}]},{"scriptId":"684","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/order-by-first-call.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":817,"count":1}],"isBlockCoverage":true},{"functionName":"comparator","ranges":[{"startOffset":132,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"orderByFirstCall","ranges":[{"startOffset":701,"endOffset":780,"count":0}],"isBlockCoverage":false}]},{"scriptId":"685","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":225,"count":1}],"isBlockCoverage":true}]},{"scriptId":"686","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":125,"count":1}],"isBlockCoverage":true}]},{"scriptId":"687","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"688","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"689","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"690","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"691","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/type-of.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":266,"count":1}],"isBlockCoverage":true},{"functionName":"typeOf","ranges":[{"startOffset":200,"endOffset":264,"count":0}],"isBlockCoverage":false}]},{"scriptId":"692","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/type-detect/type-detect.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15484,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1,"endOffset":222,"count":1},{"startOffset":121,"endOffset":219,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":230,"endOffset":15479,"count":1},{"startOffset":483,"endOffset":489,"count":0}],"isBlockCoverage":true},{"functionName":"typeDetect","ranges":[{"startOffset":2073,"endOffset":15456,"count":26},{"startOffset":2955,"endOffset":4234,"count":0},{"startOffset":4239,"endOffset":4470,"count":0},{"startOffset":4472,"endOffset":10539,"count":0},{"startOffset":10579,"endOffset":11817,"count":0},{"startOffset":11819,"endOffset":12087,"count":0},{"startOffset":12089,"endOffset":12353,"count":0},{"startOffset":12355,"endOffset":12627,"count":0},{"startOffset":12629,"endOffset":12905,"count":0},{"startOffset":12907,"endOffset":13323,"count":0},{"startOffset":13325,"endOffset":13739,"count":0},{"startOffset":13741,"endOffset":14159,"count":0},{"startOffset":14161,"endOffset":14599,"count":0},{"startOffset":14601,"endOffset":15046,"count":0},{"startOffset":15048,"endOffset":15455,"count":0}],"isBlockCoverage":true}]},{"scriptId":"693","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/value-to-string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"valueToString","ranges":[{"startOffset":116,"endOffset":336,"count":0}],"isBlockCoverage":false}]},{"scriptId":"694","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/extend.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5018,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":360,"endOffset":1294,"count":1},{"startOffset":1149,"endOffset":1246,"count":10}],"isBlockCoverage":true},{"functionName":"constructor","ranges":[{"startOffset":413,"endOffset":460,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":480,"endOffset":527,"count":1}],"isBlockCoverage":true},{"functionName":"valueOf","ranges":[{"startOffset":546,"endOffset":593,"count":1}],"isBlockCoverage":true},{"functionName":"toLocaleString","ranges":[{"startOffset":619,"endOffset":666,"count":1}],"isBlockCoverage":true},{"functionName":"prototype","ranges":[{"startOffset":687,"endOffset":734,"count":1}],"isBlockCoverage":true},{"functionName":"isPrototypeOf","ranges":[{"startOffset":759,"endOffset":806,"count":1}],"isBlockCoverage":true},{"functionName":"propertyIsEnumerable","ranges":[{"startOffset":838,"endOffset":885,"count":1}],"isBlockCoverage":true},{"functionName":"hasOwnProperty","ranges":[{"startOffset":911,"endOffset":958,"count":1}],"isBlockCoverage":true},{"functionName":"length","ranges":[{"startOffset":976,"endOffset":1023,"count":1}],"isBlockCoverage":true},{"functionName":"unique","ranges":[{"startOffset":1041,"endOffset":1088,"count":1}],"isBlockCoverage":true},{"functionName":"extendCommon","ranges":[{"startOffset":1386,"endOffset":2115,"count":137},{"startOffset":1502,"endOffset":2093,"count":139},{"startOffset":1563,"endOffset":1682,"count":2544},{"startOffset":1918,"endOffset":1967,"count":0},{"startOffset":1968,"endOffset":2018,"count":0},{"startOffset":2029,"endOffset":2087,"count":0}],"isBlockCoverage":true},{"functionName":"extend","ranges":[{"startOffset":2500,"endOffset":4246,"count":35}],"isBlockCoverage":true},{"functionName":"copyValue","ranges":[{"startOffset":2604,"endOffset":4236,"count":764},{"startOffset":2958,"endOffset":2996,"count":0},{"startOffset":2998,"endOffset":3037,"count":0},{"startOffset":3787,"endOffset":4166,"count":0}],"isBlockCoverage":true},{"functionName":"extendNonEnum","ranges":[{"startOffset":4638,"endOffset":5016,"count":102}],"isBlockCoverage":true},{"functionName":"copyProperty","ranges":[{"startOffset":4749,"endOffset":5006,"count":1780}],"isBlockCoverage":true}]},{"scriptId":"695","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/next-tick.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":200,"count":1}],"isBlockCoverage":true}]},{"scriptId":"696","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/get-next-tick.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":430,"count":1}],"isBlockCoverage":true},{"functionName":"nextTick","ranges":[{"startOffset":78,"endOffset":138,"count":0}],"isBlockCoverage":false},{"functionName":"getNextTick","ranges":[{"startOffset":157,"endOffset":428,"count":1},{"startOffset":322,"endOffset":427,"count":0}],"isBlockCoverage":true}]},{"scriptId":"697","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/export-async-behaviors.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":825,"count":1}],"isBlockCoverage":true},{"functionName":"exportAsyncBehaviors","ranges":[{"startOffset":132,"endOffset":823,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":246,"endOffset":801,"count":37},{"startOffset":416,"endOffset":441,"count":9},{"startOffset":443,"endOffset":767,"count":9}],"isBlockCoverage":true},{"functionName":"acc.","ranges":[{"startOffset":485,"endOffset":752,"count":0}],"isBlockCoverage":false}]},{"scriptId":"698","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/create-sandbox.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3309,"count":1}],"isBlockCoverage":true},{"functionName":"prepareSandboxFromConfig","ranges":[{"startOffset":186,"endOffset":741,"count":0}],"isBlockCoverage":false},{"functionName":"exposeValue","ranges":[{"startOffset":743,"endOffset":1032,"count":0}],"isBlockCoverage":false},{"functionName":"createSandbox","ranges":[{"startOffset":2546,"endOffset":3275,"count":0}],"isBlockCoverage":false}]},{"scriptId":"699","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/sandbox.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15328,"count":1}],"isBlockCoverage":true},{"functionName":"applyOnEach","ranges":[{"startOffset":1113,"endOffset":1347,"count":0}],"isBlockCoverage":false},{"functionName":"throwOnAccessors","ranges":[{"startOffset":1349,"endOffset":1651,"count":0}],"isBlockCoverage":false},{"functionName":"verifySameType","ranges":[{"startOffset":1653,"endOffset":1929,"count":0}],"isBlockCoverage":false},{"functionName":"checkForValidArguments","ranges":[{"startOffset":1931,"endOffset":2368,"count":0}],"isBlockCoverage":false},{"functionName":"Sandbox","ranges":[{"startOffset":2505,"endOffset":15266,"count":1}],"isBlockCoverage":true},{"functionName":"addToCollection","ranges":[{"startOffset":2779,"endOffset":3266,"count":15},{"startOffset":2888,"endOffset":2921,"count":0},{"startOffset":2932,"endOffset":3260,"count":0}],"isBlockCoverage":true},{"functionName":"getFakes","ranges":[{"startOffset":3435,"endOffset":3489,"count":0}],"isBlockCoverage":false},{"functionName":"createStubInstance","ranges":[{"startOffset":3525,"endOffset":3865,"count":0}],"isBlockCoverage":false},{"functionName":"inject","ranges":[{"startOffset":3889,"endOffset":5162,"count":0}],"isBlockCoverage":false},{"functionName":"mock","ranges":[{"startOffset":5184,"endOffset":5349,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":5372,"endOffset":5487,"count":0}],"isBlockCoverage":false},{"functionName":"resetBehavior","ranges":[{"startOffset":5518,"endOffset":5600,"count":0}],"isBlockCoverage":false},{"functionName":"resetHistory","ranges":[{"startOffset":5630,"endOffset":5890,"count":0}],"isBlockCoverage":false},{"functionName":"restore","ranges":[{"startOffset":5915,"endOffset":6379,"count":0}],"isBlockCoverage":false},{"functionName":"restoreContext","ranges":[{"startOffset":6411,"endOffset":6681,"count":0}],"isBlockCoverage":false},{"functionName":"getFakeRestorer","ranges":[{"startOffset":6919,"endOffset":7507,"count":0}],"isBlockCoverage":false},{"functionName":"verifyNotReplaced","ranges":[{"startOffset":7513,"endOffset":7920,"count":0}],"isBlockCoverage":false},{"functionName":"replace","ranges":[{"startOffset":8161,"endOffset":8689,"count":0}],"isBlockCoverage":false},{"functionName":"replaceUsingAccessor","ranges":[{"startOffset":8728,"endOffset":9268,"count":0}],"isBlockCoverage":false},{"functionName":"define","ranges":[{"startOffset":9292,"endOffset":10021,"count":0}],"isBlockCoverage":false},{"functionName":"replaceGetter","ranges":[{"startOffset":10052,"endOffset":11110,"count":0}],"isBlockCoverage":false},{"functionName":"replaceSetter","ranges":[{"startOffset":11141,"endOffset":12250,"count":0}],"isBlockCoverage":false},{"functionName":"commonPostInitSetup","ranges":[{"startOffset":12257,"endOffset":13080,"count":15},{"startOffset":12431,"endOffset":12460,"count":2},{"startOffset":12499,"endOffset":12731,"count":0},{"startOffset":12763,"endOffset":12954,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12589,"endOffset":12663,"count":0}],"isBlockCoverage":false},{"functionName":"spy","ranges":[{"startOffset":13100,"endOffset":13245,"count":0}],"isBlockCoverage":false},{"functionName":"stub","ranges":[{"startOffset":13267,"endOffset":13417,"count":15}],"isBlockCoverage":true},{"functionName":"fake","ranges":[{"startOffset":13486,"endOffset":13615,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13654,"endOffset":13977,"count":7}],"isBlockCoverage":true},{"functionName":"sandbox.fake.","ranges":[{"startOffset":13798,"endOffset":13960,"count":0}],"isBlockCoverage":false},{"functionName":"useFakeTimers","ranges":[{"startOffset":14009,"endOffset":14197,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":14221,"endOffset":14289,"count":0}],"isBlockCoverage":false},{"functionName":"verifyAndRestore","ranges":[{"startOffset":14323,"endOffset":14578,"count":0}],"isBlockCoverage":false},{"functionName":"useFakeServer","ranges":[{"startOffset":14609,"endOffset":14892,"count":0}],"isBlockCoverage":false},{"functionName":"useFakeXMLHttpRequest","ranges":[{"startOffset":14931,"endOffset":15074,"count":0}],"isBlockCoverage":false},{"functionName":"usingPromise","ranges":[{"startOffset":15104,"endOffset":15263,"count":0}],"isBlockCoverage":false}]},{"scriptId":"700","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/collect-own-methods.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":787,"count":1}],"isBlockCoverage":true},{"functionName":"collectMethod","ranges":[{"startOffset":289,"endOffset":524,"count":0}],"isBlockCoverage":false},{"functionName":"collectOwnMethods","ranges":[{"startOffset":604,"endOffset":749,"count":0}],"isBlockCoverage":false}]},{"scriptId":"701","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/walk.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1830,"count":1}],"isBlockCoverage":true},{"functionName":"walkInternal","ranges":[{"startOffset":86,"endOffset":1078,"count":0}],"isBlockCoverage":false},{"functionName":"walk","ranges":[{"startOffset":1729,"endOffset":1828,"count":0}],"isBlockCoverage":false}]},{"scriptId":"702","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/get-property-descriptor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1367,"count":1}],"isBlockCoverage":true},{"functionName":"getPropertyDescriptor","ranges":[{"startOffset":876,"endOffset":1325,"count":69},{"startOffset":1013,"endOffset":1065,"count":67},{"startOffset":1101,"endOffset":1176,"count":67},{"startOffset":1183,"endOffset":1236,"count":0},{"startOffset":1258,"endOffset":1299,"count":67}],"isBlockCoverage":true}]},{"scriptId":"703","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/is-property-configurable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":319,"count":1}],"isBlockCoverage":true},{"functionName":"isPropertyConfigurable","ranges":[{"startOffset":84,"endOffset":276,"count":0}],"isBlockCoverage":false}]},{"scriptId":"704","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/samsam.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":665,"count":1}],"isBlockCoverage":true}]},{"scriptId":"705","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/identical.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1000,"count":1}],"isBlockCoverage":true},{"functionName":"identical","ranges":[{"startOffset":788,"endOffset":970,"count":0}],"isBlockCoverage":false}]},{"scriptId":"706","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-nan.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":466,"count":1}],"isBlockCoverage":true},{"functionName":"isNaN","ranges":[{"startOffset":167,"endOffset":440,"count":0}],"isBlockCoverage":false}]},{"scriptId":"707","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-neg-zero.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":306,"count":1}],"isBlockCoverage":true},{"functionName":"isNegZero","ranges":[{"startOffset":196,"endOffset":276,"count":0}],"isBlockCoverage":false}]},{"scriptId":"708","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-arguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":402,"count":1}],"isBlockCoverage":true},{"functionName":"isArguments","ranges":[{"startOffset":293,"endOffset":370,"count":0}],"isBlockCoverage":false}]},{"scriptId":"709","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/get-class.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":499,"count":1}],"isBlockCoverage":true},{"functionName":"getClass","ranges":[{"startOffset":396,"endOffset":470,"count":0}],"isBlockCoverage":false}]},{"scriptId":"710","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":457,"count":1}],"isBlockCoverage":true}]},{"scriptId":"711","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":386,"count":1},{"startOffset":216,"endOffset":353,"count":0}],"isBlockCoverage":true}]},{"scriptId":"712","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/called-in-order.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1445,"count":1}],"isBlockCoverage":true},{"functionName":"hasCallsLeft","ranges":[{"startOffset":85,"endOffset":245,"count":0}],"isBlockCoverage":false},{"functionName":"checkAdjacentCalls","ranges":[{"startOffset":267,"endOffset":602,"count":0}],"isBlockCoverage":false},{"functionName":"calledInOrder","ranges":[{"startOffset":1177,"endOffset":1411,"count":0}],"isBlockCoverage":false}]},{"scriptId":"713","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true}]},{"scriptId":"714","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype-methods.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1010,"count":1},{"startOffset":423,"endOffset":470,"count":0}],"isBlockCoverage":true},{"functionName":"copyPrototypeMethods","ranges":[{"startOffset":489,"endOffset":1008,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":671,"endOffset":979,"count":134},{"startOffset":768,"endOffset":806,"count":4},{"startOffset":806,"endOffset":859,"count":130},{"startOffset":859,"endOffset":897,"count":5},{"startOffset":897,"endOffset":978,"count":125}],"isBlockCoverage":true}]},{"scriptId":"715","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/throws-on-proto.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":749,"count":1},{"startOffset":488,"endOffset":715,"count":0}],"isBlockCoverage":true}]},{"scriptId":"716","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/class-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":921,"count":1}],"isBlockCoverage":true},{"functionName":"className","ranges":[{"startOffset":221,"endOffset":891,"count":0}],"isBlockCoverage":false}]},{"scriptId":"717","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/function-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":818,"count":1}],"isBlockCoverage":true},{"functionName":"functionName","ranges":[{"startOffset":132,"endOffset":816,"count":0}],"isBlockCoverage":false}]},{"scriptId":"718","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/deprecated.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1363,"count":1}],"isBlockCoverage":true},{"functionName":"exports.wrap","ranges":[{"startOffset":282,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"exports.defaultMsg","ranges":[{"startOffset":774,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"exports.printWarning","ranges":[{"startOffset":1080,"endOffset":1361,"count":0}],"isBlockCoverage":false}]},{"scriptId":"719","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/every.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":666,"count":1}],"isBlockCoverage":true},{"functionName":"every","ranges":[{"startOffset":241,"endOffset":664,"count":0}],"isBlockCoverage":false}]},{"scriptId":"720","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/order-by-first-call.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":817,"count":1}],"isBlockCoverage":true},{"functionName":"comparator","ranges":[{"startOffset":132,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"orderByFirstCall","ranges":[{"startOffset":701,"endOffset":780,"count":0}],"isBlockCoverage":false}]},{"scriptId":"721","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":225,"count":1}],"isBlockCoverage":true}]},{"scriptId":"722","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":125,"count":1}],"isBlockCoverage":true}]},{"scriptId":"723","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"724","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"725","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"726","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"727","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/type-of.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":266,"count":1}],"isBlockCoverage":true},{"functionName":"typeOf","ranges":[{"startOffset":200,"endOffset":264,"count":26}],"isBlockCoverage":true}]},{"scriptId":"728","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/value-to-string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"valueToString","ranges":[{"startOffset":116,"endOffset":336,"count":0}],"isBlockCoverage":false}]},{"scriptId":"729","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-element.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":769,"count":1},{"startOffset":57,"endOffset":89,"count":0}],"isBlockCoverage":true},{"functionName":"isElement","ranges":[{"startOffset":490,"endOffset":739,"count":0}],"isBlockCoverage":false}]},{"scriptId":"730","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":391,"count":1}],"isBlockCoverage":true},{"functionName":"isSet","ranges":[{"startOffset":270,"endOffset":365,"count":0}],"isBlockCoverage":false}]},{"scriptId":"731","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":316,"count":1}],"isBlockCoverage":true},{"functionName":"isMap","ranges":[{"startOffset":202,"endOffset":290,"count":0}],"isBlockCoverage":false}]},{"scriptId":"732","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/match.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5517,"count":1}],"isBlockCoverage":true},{"functionName":"arrayContains","ranges":[{"startOffset":874,"endOffset":1419,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":1733,"endOffset":5365,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5434,"endOffset":5489,"count":26}],"isBlockCoverage":true}]},{"scriptId":"733","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/deep-equal.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11169,"count":1}],"isBlockCoverage":true},{"functionName":"deepEqualCyclic","ranges":[{"startOffset":1867,"endOffset":10998,"count":0}],"isBlockCoverage":false},{"functionName":"deepEqualCyclic.use","ranges":[{"startOffset":11022,"endOffset":11132,"count":3}],"isBlockCoverage":true},{"functionName":"deepEqual","ranges":[{"startOffset":11052,"endOffset":11129,"count":0}],"isBlockCoverage":false}]},{"scriptId":"734","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-array-type.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":619,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayType","ranges":[{"startOffset":482,"endOffset":587,"count":0}],"isBlockCoverage":false}]},{"scriptId":"735","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/array-types.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":236,"count":1}],"isBlockCoverage":true}]},{"scriptId":"736","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-date.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":294,"count":1}],"isBlockCoverage":true},{"functionName":"isDate","ranges":[{"startOffset":207,"endOffset":267,"count":0}],"isBlockCoverage":false}]},{"scriptId":"737","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-iterable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":475,"count":1}],"isBlockCoverage":true},{"functionName":"isIterable","ranges":[{"startOffset":261,"endOffset":444,"count":0}],"isBlockCoverage":false}]},{"scriptId":"738","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":965,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":530,"endOffset":936,"count":0}],"isBlockCoverage":false}]},{"scriptId":"739","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-subset.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":871,"count":1}],"isBlockCoverage":true},{"functionName":"isSubset","ranges":[{"startOffset":500,"endOffset":842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"740","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12259,"count":1}],"isBlockCoverage":true},{"functionName":"createMatcher","ranges":[{"startOffset":1455,"endOffset":2406,"count":15},{"startOffset":1646,"endOffset":1712,"count":0},{"startOffset":1744,"endOffset":1861,"count":0},{"startOffset":1945,"endOffset":2057,"count":0},{"startOffset":2079,"endOffset":2146,"count":0}],"isBlockCoverage":true},{"functionName":"m.test","ranges":[{"startOffset":1970,"endOffset":2050,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2480,"endOffset":2512,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2561,"endOffset":2634,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2686,"endOffset":2735,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2785,"endOffset":2826,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.same","ranges":[{"startOffset":2860,"endOffset":3017,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.in","ranges":[{"startOffset":3039,"endOffset":3397,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.typeOf","ranges":[{"startOffset":3423,"endOffset":3596,"count":11}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3506,"endOffset":3571,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.instanceOf","ranges":[{"startOffset":3626,"endOffset":4144,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyMatcher","ranges":[{"startOffset":4400,"endOffset":5125,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4473,"endOffset":5122,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5169,"endOffset":5322,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5378,"endOffset":5454,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.hasNested","ranges":[{"startOffset":5494,"endOffset":6073,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.json","ranges":[{"startOffset":6235,"endOffset":6682,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.every","ranges":[{"startOffset":6707,"endOffset":7203,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.some","ranges":[{"startOffset":7227,"endOffset":7726,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.array.deepEquals","ranges":[{"startOffset":7816,"endOffset":8561,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.array.startsWith","ranges":[{"startOffset":8597,"endOffset":8936,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.array.endsWith","ranges":[{"startOffset":8970,"endOffset":9444,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.array.contains","ranges":[{"startOffset":9478,"endOffset":9819,"count":0}],"isBlockCoverage":false},{"functionName":"mapDeepEquals","ranges":[{"startOffset":9903,"endOffset":10454,"count":0}],"isBlockCoverage":false},{"functionName":"mapContains","ranges":[{"startOffset":10486,"endOffset":10838,"count":0}],"isBlockCoverage":false},{"functionName":"setDeepEquals","ranges":[{"startOffset":10922,"endOffset":11436,"count":0}],"isBlockCoverage":false},{"functionName":"setContains","ranges":[{"startOffset":11468,"endOffset":11788,"count":0}],"isBlockCoverage":false}]},{"scriptId":"741","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash.get/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":23398,"count":1},{"startOffset":1708,"endOffset":1715,"count":0},{"startOffset":1716,"endOffset":1741,"count":0},{"startOffset":1742,"endOffset":1749,"count":0},{"startOffset":1823,"endOffset":1834,"count":0},{"startOffset":1835,"endOffset":1863,"count":0},{"startOffset":4115,"endOffset":4126,"count":0},{"startOffset":4184,"endOffset":4195,"count":0}],"isBlockCoverage":true},{"functionName":"getValue","ranges":[{"startOffset":2077,"endOffset":2162,"count":2},{"startOffset":2134,"endOffset":2145,"count":0}],"isBlockCoverage":true},{"functionName":"isHostObject","ranges":[{"startOffset":2356,"endOffset":2683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3004,"endOffset":3156,"count":1},{"startOffset":3054,"endOffset":3072,"count":0},{"startOffset":3073,"endOffset":3100,"count":0},{"startOffset":3122,"endOffset":3148,"count":0}],"isBlockCoverage":true},{"functionName":"Hash","ranges":[{"startOffset":4321,"endOffset":4526,"count":2},{"startOffset":4387,"endOffset":4403,"count":0},{"startOffset":4453,"endOffset":4524,"count":0}],"isBlockCoverage":true},{"functionName":"hashClear","ranges":[{"startOffset":4632,"endOffset":4714,"count":2},{"startOffset":4707,"endOffset":4711,"count":0}],"isBlockCoverage":true},{"functionName":"hashDelete","ranges":[{"startOffset":4995,"endOffset":5076,"count":0}],"isBlockCoverage":false},{"functionName":"hashGet","ranges":[{"startOffset":5259,"endOffset":5490,"count":0}],"isBlockCoverage":false},{"functionName":"hashHas","ranges":[{"startOffset":5725,"endOffset":5860,"count":0}],"isBlockCoverage":false},{"functionName":"hashSet","ranges":[{"startOffset":6089,"endOffset":6242,"count":0}],"isBlockCoverage":false},{"functionName":"ListCache","ranges":[{"startOffset":6564,"endOffset":6774,"count":0}],"isBlockCoverage":false},{"functionName":"listCacheClear","ranges":[{"startOffset":6891,"endOffset":6942,"count":0}],"isBlockCoverage":false},{"functionName":"listCacheDelete","ranges":[{"startOffset":7190,"endOffset":7474,"count":0}],"isBlockCoverage":false},{"functionName":"listCacheGet","ranges":[{"startOffset":7668,"endOffset":7815,"count":0}],"isBlockCoverage":false},{"functionName":"listCacheHas","ranges":[{"startOffset":8061,"endOffset":8139,"count":0}],"isBlockCoverage":false},{"functionName":"listCacheSet","ranges":[{"startOffset":8385,"endOffset":8596,"count":0}],"isBlockCoverage":false},{"functionName":"MapCache","ranges":[{"startOffset":8996,"endOffset":9205,"count":1},{"startOffset":9066,"endOffset":9082,"count":0},{"startOffset":9132,"endOffset":9203,"count":0}],"isBlockCoverage":true},{"functionName":"mapCacheClear","ranges":[{"startOffset":9314,"endOffset":9447,"count":1},{"startOffset":9403,"endOffset":9415,"count":0}],"isBlockCoverage":true},{"functionName":"mapCacheDelete","ranges":[{"startOffset":9687,"endOffset":9766,"count":0}],"isBlockCoverage":false},{"functionName":"mapCacheGet","ranges":[{"startOffset":9952,"endOffset":10022,"count":0}],"isBlockCoverage":false},{"functionName":"mapCacheHas","ranges":[{"startOffset":10260,"endOffset":10330,"count":0}],"isBlockCoverage":false},{"functionName":"mapCacheSet","ranges":[{"startOffset":10567,"endOffset":10659,"count":0}],"isBlockCoverage":false},{"functionName":"assocIndexOf","ranges":[{"startOffset":11154,"endOffset":11322,"count":0}],"isBlockCoverage":false},{"functionName":"baseGet","ranges":[{"startOffset":11575,"endOffset":11862,"count":0}],"isBlockCoverage":false},{"functionName":"baseIsNative","ranges":[{"startOffset":12083,"endOffset":12310,"count":2},{"startOffset":12157,"endOffset":12180,"count":0},{"startOffset":12216,"endOffset":12238,"count":0},{"startOffset":12253,"endOffset":12267,"count":0}],"isBlockCoverage":true},{"functionName":"baseToString","ranges":[{"startOffset":12519,"endOffset":12873,"count":0}],"isBlockCoverage":false},{"functionName":"castPath","ranges":[{"startOffset":13048,"endOffset":13131,"count":0}],"isBlockCoverage":false},{"functionName":"getMapData","ranges":[{"startOffset":13305,"endOffset":13460,"count":0}],"isBlockCoverage":false},{"functionName":"getNative","ranges":[{"startOffset":13706,"endOffset":13828,"count":2},{"startOffset":13814,"endOffset":13825,"count":0}],"isBlockCoverage":true},{"functionName":"isKey","ranges":[{"startOffset":14097,"endOffset":14449,"count":0}],"isBlockCoverage":false},{"functionName":"isKeyable","ranges":[{"startOffset":14652,"endOffset":14851,"count":0}],"isBlockCoverage":false},{"functionName":"isMasked","ranges":[{"startOffset":15040,"endOffset":15114,"count":2},{"startOffset":15088,"endOffset":15111,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15315,"endOffset":15618,"count":0}],"isBlockCoverage":false},{"functionName":"toKey","ranges":[{"startOffset":15800,"endOffset":15999,"count":0}],"isBlockCoverage":false},{"functionName":"toSource","ranges":[{"startOffset":16160,"endOffset":16348,"count":2},{"startOffset":16262,"endOffset":16329,"count":0},{"startOffset":16333,"endOffset":16347,"count":0}],"isBlockCoverage":true},{"functionName":"memoize","ranges":[{"startOffset":17795,"endOffset":18353,"count":1},{"startOffset":17875,"endOffset":17907,"count":0},{"startOffset":17910,"endOffset":17957,"count":0}],"isBlockCoverage":true},{"functionName":"memoized","ranges":[{"startOffset":17975,"endOffset":18279,"count":0}],"isBlockCoverage":false},{"functionName":"eq","ranges":[{"startOffset":19095,"endOffset":19190,"count":0}],"isBlockCoverage":false},{"functionName":"isFunction","ranges":[{"startOffset":19992,"endOffset":20284,"count":2},{"startOffset":20235,"endOffset":20239,"count":0},{"startOffset":20265,"endOffset":20281,"count":0}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":20867,"endOffset":20984,"count":4}],"isBlockCoverage":true},{"functionName":"isObjectLike","ranges":[{"startOffset":21483,"endOffset":21561,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbol","ranges":[{"startOffset":21920,"endOffset":22055,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":22471,"endOffset":22550,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23208,"endOffset":23374,"count":0}],"isBlockCoverage":false}]},{"scriptId":"742","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/iterable-to-string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1876,"count":1}],"isBlockCoverage":true},{"functionName":"iterableToString","ranges":[{"startOffset":379,"endOffset":527,"count":0}],"isBlockCoverage":false},{"functionName":"mapToString","ranges":[{"startOffset":691,"endOffset":1030,"count":0}],"isBlockCoverage":false},{"functionName":"genericIterableToString","ranges":[{"startOffset":1214,"endOffset":1550,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":1738,"endOffset":1839,"count":0}],"isBlockCoverage":false}]},{"scriptId":"743","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/assert-matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":324,"count":1}],"isBlockCoverage":true},{"functionName":"assertMatcher","ranges":[{"startOffset":173,"endOffset":290,"count":0}],"isBlockCoverage":false}]},{"scriptId":"744","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/is-matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":437,"count":1}],"isBlockCoverage":true},{"functionName":"isMatcher","ranges":[{"startOffset":325,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"745","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/matcher-prototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1285,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":54,"endOffset":102,"count":0}],"isBlockCoverage":false},{"functionName":"matcherPrototype.or","ranges":[{"startOffset":130,"endOffset":673,"count":0}],"isBlockCoverage":false},{"functionName":"matcherPrototype.and","ranges":[{"startOffset":699,"endOffset":1247,"count":0}],"isBlockCoverage":false}]},{"scriptId":"746","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/assert-method-exists.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":637,"count":1}],"isBlockCoverage":true},{"functionName":"assertMethodExists","ranges":[{"startOffset":385,"endOffset":598,"count":0}],"isBlockCoverage":false}]},{"scriptId":"747","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/assert-type.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":643,"count":1}],"isBlockCoverage":true},{"functionName":"assertType","ranges":[{"startOffset":393,"endOffset":612,"count":11},{"startOffset":491,"endOffset":610,"count":0}],"isBlockCoverage":true}]},{"scriptId":"748","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/is-iterable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":360,"count":1}],"isBlockCoverage":true},{"functionName":"isIterable","ranges":[{"startOffset":232,"endOffset":329,"count":0}],"isBlockCoverage":false}]},{"scriptId":"749","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/type-map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2125,"count":1}],"isBlockCoverage":true},{"functionName":"createTypeMap","ranges":[{"startOffset":403,"endOffset":2090,"count":1}],"isBlockCoverage":true},{"functionName":"function","ranges":[{"startOffset":453,"endOffset":607,"count":15},{"startOffset":556,"endOffset":596,"count":0}],"isBlockCoverage":true},{"functionName":"number","ranges":[{"startOffset":625,"endOffset":840,"count":0}],"isBlockCoverage":false},{"functionName":"object","ranges":[{"startOffset":858,"endOffset":1572,"count":0}],"isBlockCoverage":false},{"functionName":"regexp","ranges":[{"startOffset":1590,"endOffset":1762,"count":0}],"isBlockCoverage":false},{"functionName":"string","ranges":[{"startOffset":1780,"endOffset":2080,"count":0}],"isBlockCoverage":false}]},{"scriptId":"750","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/match-object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1662,"count":1}],"isBlockCoverage":true},{"functionName":"matchObject","ranges":[{"startOffset":693,"endOffset":1630,"count":0}],"isBlockCoverage":false}]},{"scriptId":"751","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/assert.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10512,"count":1}],"isBlockCoverage":true},{"functionName":"applyDefaults","ranges":[{"startOffset":699,"endOffset":929,"count":2},{"startOffset":784,"endOffset":927,"count":4}],"isBlockCoverage":true},{"functionName":"createAssertObject","ranges":[{"startOffset":1312,"endOffset":10415,"count":2},{"startOffset":1386,"endOffset":1391,"count":1}],"isBlockCoverage":true},{"functionName":"fail","ranges":[{"startOffset":1591,"endOffset":2015,"count":0}],"isBlockCoverage":false},{"functionName":"pass","ranges":[{"startOffset":2032,"endOffset":2079,"count":0}],"isBlockCoverage":false},{"functionName":"assertCallOrder","ranges":[{"startOffset":2101,"endOffset":3090,"count":0}],"isBlockCoverage":false},{"functionName":"assertCallCount","ranges":[{"startOffset":3112,"endOffset":3775,"count":0}],"isBlockCoverage":false},{"functionName":"expose","ranges":[{"startOffset":3794,"endOffset":4581,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":4599,"endOffset":5095,"count":0}],"isBlockCoverage":false},{"functionName":"verifyIsStub","ranges":[{"startOffset":5109,"endOffset":5745,"count":0}],"isBlockCoverage":false},{"functionName":"verifyIsValidAssertion","ranges":[{"startOffset":5751,"endOffset":6386,"count":0}],"isBlockCoverage":false},{"functionName":"failAssertion","ranges":[{"startOffset":6392,"endOffset":6566,"count":0}],"isBlockCoverage":false},{"functionName":"mirrorPropAsAssertion","ranges":[{"startOffset":6572,"endOffset":7630,"count":42},{"startOffset":6718,"endOffset":6780,"count":40}],"isBlockCoverage":true},{"functionName":"assert.","ranges":[{"startOffset":6805,"endOffset":7623,"count":0}],"isBlockCoverage":false},{"functionName":"exposedName","ranges":[{"startOffset":7636,"endOffset":7863,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8051,"endOffset":8109,"count":0}],"isBlockCoverage":false}]},{"scriptId":"752","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/times-in-words.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":166,"count":1}],"isBlockCoverage":true},{"functionName":"timesInWords","ranges":[{"startOffset":82,"endOffset":164,"count":0}],"isBlockCoverage":false}]},{"scriptId":"753","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/fake-timers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2311,"count":1}],"isBlockCoverage":true},{"functionName":"createClock","ranges":[{"startOffset":301,"endOffset":611,"count":0}],"isBlockCoverage":false},{"functionName":"addIfDefined","ranges":[{"startOffset":663,"endOffset":855,"count":2}],"isBlockCoverage":true},{"functionName":"exports.useFakeTimers","ranges":[{"startOffset":1034,"endOffset":1942,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":1975,"endOffset":2041,"count":0}],"isBlockCoverage":false}]},{"scriptId":"754","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/fake-timers/src/fake-timers-src.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":61444,"count":1},{"startOffset":215,"endOffset":251,"count":0}],"isBlockCoverage":true},{"functionName":"withGlobal","ranges":[{"startOffset":5019,"endOffset":60963,"count":1},{"startOffset":6469,"endOffset":6531,"count":0},{"startOffset":6610,"endOffset":6671,"count":0},{"startOffset":6748,"endOffset":6808,"count":0},{"startOffset":6883,"endOffset":6942,"count":0},{"startOffset":33554,"endOffset":33631,"count":0},{"startOffset":33748,"endOffset":33823,"count":0},{"startOffset":33861,"endOffset":33934,"count":0},{"startOffset":33971,"endOffset":34042,"count":0},{"startOffset":34162,"endOffset":34183,"count":0}],"isBlockCoverage":true},{"functionName":"NOOP","ranges":[{"startOffset":5281,"endOffset":5326,"count":0}],"isBlockCoverage":false},{"functionName":"NOOP_ARRAY","ranges":[{"startOffset":5351,"endOffset":5389,"count":0}],"isBlockCoverage":false},{"functionName":"isNumberFinite","ranges":[{"startOffset":7357,"endOffset":7506,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsNearInfiniteLimit","ranges":[{"startOffset":7619,"endOffset":7780,"count":0}],"isBlockCoverage":false},{"functionName":"resetIsNearInfiniteLimit","ranges":[{"startOffset":7809,"endOffset":7889,"count":0}],"isBlockCoverage":false},{"functionName":"parseTime","ranges":[{"startOffset":8160,"endOffset":8850,"count":0}],"isBlockCoverage":false},{"functionName":"nanoRemainder","ranges":[{"startOffset":9142,"endOffset":9402,"count":0}],"isBlockCoverage":false},{"functionName":"getEpoch","ranges":[{"startOffset":9562,"endOffset":9898,"count":0}],"isBlockCoverage":false},{"functionName":"inRange","ranges":[{"startOffset":10028,"endOffset":10137,"count":0}],"isBlockCoverage":false},{"functionName":"getInfiniteLoopError","ranges":[{"startOffset":10213,"endOffset":12505,"count":0}],"isBlockCoverage":false},{"functionName":"mirrorDateProperties","ranges":[{"startOffset":12637,"endOffset":13715,"count":0}],"isBlockCoverage":false},{"functionName":"createDate","ranges":[{"startOffset":13772,"endOffset":15886,"count":0}],"isBlockCoverage":false},{"functionName":"createIntl","ranges":[{"startOffset":16196,"endOffset":17479,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueJob","ranges":[{"startOffset":17536,"endOffset":17743,"count":0}],"isBlockCoverage":false},{"functionName":"runJobs","ranges":[{"startOffset":17800,"endOffset":18341,"count":0}],"isBlockCoverage":false},{"functionName":"addTimer","ranges":[{"startOffset":18468,"endOffset":21316,"count":0}],"isBlockCoverage":false},{"functionName":"compareTimers","ranges":[{"startOffset":21484,"endOffset":22388,"count":0}],"isBlockCoverage":false},{"functionName":"firstTimerInRange","ranges":[{"startOffset":22516,"endOffset":23042,"count":0}],"isBlockCoverage":false},{"functionName":"firstTimer","ranges":[{"startOffset":23116,"endOffset":23481,"count":0}],"isBlockCoverage":false},{"functionName":"lastTimer","ranges":[{"startOffset":23555,"endOffset":23920,"count":0}],"isBlockCoverage":false},{"functionName":"callTimer","ranges":[{"startOffset":23998,"endOffset":24495,"count":0}],"isBlockCoverage":false},{"functionName":"getClearHandler","ranges":[{"startOffset":24607,"endOffset":24795,"count":0}],"isBlockCoverage":false},{"functionName":"getScheduleHandler","ranges":[{"startOffset":24910,"endOffset":25100,"count":0}],"isBlockCoverage":false},{"functionName":"createWarnOnce","ranges":[{"startOffset":25177,"endOffset":25359,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":25243,"endOffset":25352,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimer","ranges":[{"startOffset":25508,"endOffset":27411,"count":0}],"isBlockCoverage":false},{"functionName":"uninstall","ranges":[{"startOffset":27517,"endOffset":29956,"count":0}],"isBlockCoverage":false},{"functionName":"hijackMethod","ranges":[{"startOffset":30150,"endOffset":31852,"count":0}],"isBlockCoverage":false},{"functionName":"doIntervalTick","ranges":[{"startOffset":31942,"endOffset":32036,"count":0}],"isBlockCoverage":false},{"functionName":"createClock","ranges":[{"startOffset":34414,"endOffset":55912,"count":0}],"isBlockCoverage":false},{"functionName":"install","ranges":[{"startOffset":56044,"endOffset":60788,"count":0}],"isBlockCoverage":false}]},{"scriptId":"755","url":"node:perf_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1065,"count":1}],"isBlockCoverage":false}]},{"scriptId":"756","url":"node:internal/perf/resource_timing","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7417,"count":1}],"isBlockCoverage":false},{"functionName":"PerformanceResourceTiming","ranges":[{"startOffset":885,"endOffset":945,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":949,"endOffset":1074,"count":0}],"isBlockCoverage":false},{"functionName":"get startTime","ranges":[{"startOffset":1078,"endOffset":1214,"count":0}],"isBlockCoverage":false},{"functionName":"get duration","ranges":[{"startOffset":1218,"endOffset":1381,"count":0}],"isBlockCoverage":false},{"functionName":"get initiatorType","ranges":[{"startOffset":1385,"endOffset":1521,"count":0}],"isBlockCoverage":false},{"functionName":"get workerStart","ranges":[{"startOffset":1525,"endOffset":1681,"count":0}],"isBlockCoverage":false},{"functionName":"get redirectStart","ranges":[{"startOffset":1685,"endOffset":1833,"count":0}],"isBlockCoverage":false},{"functionName":"get redirectEnd","ranges":[{"startOffset":1837,"endOffset":1981,"count":0}],"isBlockCoverage":false},{"functionName":"get fetchStart","ranges":[{"startOffset":1985,"endOffset":2134,"count":0}],"isBlockCoverage":false},{"functionName":"get domainLookupStart","ranges":[{"startOffset":2138,"endOffset":2321,"count":0}],"isBlockCoverage":false},{"functionName":"get domainLookupEnd","ranges":[{"startOffset":2325,"endOffset":2504,"count":0}],"isBlockCoverage":false},{"functionName":"get connectStart","ranges":[{"startOffset":2508,"endOffset":2684,"count":0}],"isBlockCoverage":false},{"functionName":"get connectEnd","ranges":[{"startOffset":2688,"endOffset":2860,"count":0}],"isBlockCoverage":false},{"functionName":"get secureConnectionStart","ranges":[{"startOffset":2864,"endOffset":3062,"count":0}],"isBlockCoverage":false},{"functionName":"get nextHopProtocol","ranges":[{"startOffset":3066,"endOffset":3255,"count":0}],"isBlockCoverage":false},{"functionName":"get requestStart","ranges":[{"startOffset":3259,"endOffset":3417,"count":0}],"isBlockCoverage":false},{"functionName":"get responseStart","ranges":[{"startOffset":3421,"endOffset":3581,"count":0}],"isBlockCoverage":false},{"functionName":"get responseEnd","ranges":[{"startOffset":3585,"endOffset":3721,"count":0}],"isBlockCoverage":false},{"functionName":"get encodedBodySize","ranges":[{"startOffset":3725,"endOffset":3873,"count":0}],"isBlockCoverage":false},{"functionName":"get decodedBodySize","ranges":[{"startOffset":3877,"endOffset":4025,"count":0}],"isBlockCoverage":false},{"functionName":"get transferSize","ranges":[{"startOffset":4029,"endOffset":4283,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":4287,"endOffset":5228,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceResourceTiming","ranges":[{"startOffset":6096,"endOffset":6706,"count":0}],"isBlockCoverage":false},{"functionName":"markResourceTiming","ranges":[{"startOffset":6775,"endOffset":7342,"count":0}],"isBlockCoverage":false}]},{"scriptId":"757","url":"node:internal/perf/usertiming","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6257,"count":1}],"isBlockCoverage":false},{"functionName":"getMark","ranges":[{"startOffset":1212,"endOffset":1664,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceMark","ranges":[{"startOffset":1692,"endOffset":2427,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":2431,"endOffset":2536,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":2540,"endOffset":2723,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceMeasure","ranges":[{"startOffset":3107,"endOffset":3167,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":3171,"endOffset":3279,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceMeasure","ranges":[{"startOffset":3481,"endOffset":3731,"count":0}],"isBlockCoverage":false},{"functionName":"mark","ranges":[{"startOffset":3733,"endOffset":3874,"count":0}],"isBlockCoverage":false},{"functionName":"calculateStartDuration","ranges":[{"startOffset":3876,"endOffset":5459,"count":0}],"isBlockCoverage":false},{"functionName":"measure","ranges":[{"startOffset":5461,"endOffset":5896,"count":0}],"isBlockCoverage":false},{"functionName":"clearMarkTimings","ranges":[{"startOffset":5898,"endOffset":6153,"count":0}],"isBlockCoverage":false}]},{"scriptId":"758","url":"node:internal/perf/nodetiming","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3516,"count":1}],"isBlockCoverage":false},{"functionName":"PerformanceNodeTiming","ranges":[{"startOffset":729,"endOffset":2742,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1394,"endOffset":1490,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1606,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1820,"endOffset":1917,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2035,"endOffset":2131,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2248,"endOffset":2343,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2469,"endOffset":2586,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2746,"endOffset":2987,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":2991,"endOffset":3377,"count":0}],"isBlockCoverage":false}]},{"scriptId":"759","url":"node:internal/structured_clone","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":661,"count":1}],"isBlockCoverage":false},{"functionName":"structuredClone","ranges":[{"startOffset":186,"endOffset":618,"count":0}],"isBlockCoverage":false}]},{"scriptId":"760","url":"node:internal/perf/performance","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6365,"count":1}],"isBlockCoverage":false},{"functionName":"Performance","ranges":[{"startOffset":1338,"endOffset":1398,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1402,"endOffset":1697,"count":0}],"isBlockCoverage":false},{"functionName":"clearMarks","ranges":[{"startOffset":1701,"endOffset":1932,"count":0}],"isBlockCoverage":false},{"functionName":"clearMeasures","ranges":[{"startOffset":1936,"endOffset":2145,"count":0}],"isBlockCoverage":false},{"functionName":"clearResourceTimings","ranges":[{"startOffset":2149,"endOffset":2366,"count":0}],"isBlockCoverage":false},{"functionName":"getEntries","ranges":[{"startOffset":2370,"endOffset":2498,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByName","ranges":[{"startOffset":2502,"endOffset":2759,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByType","ranges":[{"startOffset":2763,"endOffset":3020,"count":0}],"isBlockCoverage":false},{"functionName":"mark","ranges":[{"startOffset":3024,"endOffset":3245,"count":0}],"isBlockCoverage":false},{"functionName":"measure","ranges":[{"startOffset":3249,"endOffset":3534,"count":0}],"isBlockCoverage":false},{"functionName":"now","ranges":[{"startOffset":3538,"endOffset":3634,"count":0}],"isBlockCoverage":false},{"functionName":"setResourceTimingBufferSize","ranges":[{"startOffset":3638,"endOffset":3954,"count":0}],"isBlockCoverage":false},{"functionName":"get timeOrigin","ranges":[{"startOffset":3958,"endOffset":4084,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":4088,"endOffset":4316,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformance","ranges":[{"startOffset":5917,"endOffset":6086,"count":1}],"isBlockCoverage":true},{"functionName":"Performance","ranges":[{"startOffset":5974,"endOffset":6065,"count":1}],"isBlockCoverage":true},{"functionName":"dispatchBufferFull","ranges":[{"startOffset":6130,"endOffset":6268,"count":0}],"isBlockCoverage":false}]},{"scriptId":"761","url":"node:internal/perf/timerify","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2280,"count":1}],"isBlockCoverage":false},{"functionName":"processComplete","ranges":[{"startOffset":610,"endOffset":985,"count":0}],"isBlockCoverage":false},{"functionName":"timerify","ranges":[{"startOffset":987,"endOffset":2251,"count":0}],"isBlockCoverage":false}]},{"scriptId":"762","url":"node:internal/histogram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8057,"count":1}],"isBlockCoverage":false},{"functionName":"isHistogram","ranges":[{"startOffset":894,"endOffset":968,"count":0}],"isBlockCoverage":false},{"functionName":"Histogram","ranges":[{"startOffset":990,"endOffset":1050,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1054,"endOffset":1466,"count":0}],"isBlockCoverage":false},{"functionName":"get count","ranges":[{"startOffset":1517,"endOffset":1644,"count":0}],"isBlockCoverage":false},{"functionName":"get countBigInt","ranges":[{"startOffset":1695,"endOffset":1834,"count":0}],"isBlockCoverage":false},{"functionName":"get min","ranges":[{"startOffset":1885,"endOffset":2008,"count":0}],"isBlockCoverage":false},{"functionName":"get minBigInt","ranges":[{"startOffset":2059,"endOffset":2194,"count":0}],"isBlockCoverage":false},{"functionName":"get max","ranges":[{"startOffset":2245,"endOffset":2368,"count":0}],"isBlockCoverage":false},{"functionName":"get maxBigInt","ranges":[{"startOffset":2419,"endOffset":2554,"count":0}],"isBlockCoverage":false},{"functionName":"get mean","ranges":[{"startOffset":2605,"endOffset":2730,"count":0}],"isBlockCoverage":false},{"functionName":"get exceeds","ranges":[{"startOffset":2781,"endOffset":2912,"count":0}],"isBlockCoverage":false},{"functionName":"get exceedsBigInt","ranges":[{"startOffset":2963,"endOffset":3106,"count":0}],"isBlockCoverage":false},{"functionName":"get stddev","ranges":[{"startOffset":3157,"endOffset":3286,"count":0}],"isBlockCoverage":false},{"functionName":"percentile","ranges":[{"startOffset":3357,"endOffset":3706,"count":0}],"isBlockCoverage":false},{"functionName":"percentileBigInt","ranges":[{"startOffset":3777,"endOffset":4138,"count":0}],"isBlockCoverage":false},{"functionName":"get percentiles","ranges":[{"startOffset":4201,"endOffset":4390,"count":0}],"isBlockCoverage":false},{"functionName":"get percentilesBigInt","ranges":[{"startOffset":4453,"endOffset":4654,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":4691,"endOffset":4807,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4811,"endOffset":4968,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4972,"endOffset":5032,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":5036,"endOffset":5293,"count":0}],"isBlockCoverage":false},{"functionName":"RecordableHistogram","ranges":[{"startOffset":5345,"endOffset":5405,"count":0}],"isBlockCoverage":false},{"functionName":"record","ranges":[{"startOffset":5474,"endOffset":5748,"count":0}],"isBlockCoverage":false},{"functionName":"recordDelta","ranges":[{"startOffset":5785,"endOffset":5936,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":5992,"endOffset":6265,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6269,"endOffset":6436,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6440,"endOffset":6500,"count":0}],"isBlockCoverage":false},{"functionName":"internalHistogram","ranges":[{"startOffset":6504,"endOffset":6691,"count":0}],"isBlockCoverage":false},{"functionName":"internalHistogram.","ranges":[{"startOffset":6736,"endOffset":6744,"count":0}],"isBlockCoverage":false},{"functionName":"internalRecordableHistogram","ranges":[{"startOffset":6747,"endOffset":6986,"count":0}],"isBlockCoverage":false},{"functionName":"internalRecordableHistogram.","ranges":[{"startOffset":7041,"endOffset":7049,"count":0}],"isBlockCoverage":false},{"functionName":"createHistogram","ranges":[{"startOffset":7193,"endOffset":7880,"count":0}],"isBlockCoverage":false}]},{"scriptId":"763","url":"node:internal/perf/event_loop_delay","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1724,"count":1}],"isBlockCoverage":false},{"functionName":"ELDHistogram","ranges":[{"startOffset":625,"endOffset":686,"count":0}],"isBlockCoverage":false},{"functionName":"enable","ranges":[{"startOffset":726,"endOffset":937,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":977,"endOffset":1190,"count":0}],"isBlockCoverage":false},{"functionName":"monitorEventLoopDelay","ranges":[{"startOffset":1283,"endOffset":1682,"count":0}],"isBlockCoverage":false}]},{"scriptId":"764","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/mock.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6131,"count":1}],"isBlockCoverage":true},{"functionName":"mock","ranges":[{"startOffset":688,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"each","ranges":[{"startOffset":878,"endOffset":980,"count":0}],"isBlockCoverage":false},{"functionName":"arrayEquals","ranges":[{"startOffset":982,"endOffset":1217,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":1246,"endOffset":1497,"count":0}],"isBlockCoverage":false},{"functionName":"expects","ranges":[{"startOffset":1513,"endOffset":2373,"count":0}],"isBlockCoverage":false},{"functionName":"restore","ranges":[{"startOffset":2389,"endOffset":2628,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":2643,"endOffset":3414,"count":0}],"isBlockCoverage":false},{"functionName":"usingPromise","ranges":[{"startOffset":3435,"endOffset":3548,"count":0}],"isBlockCoverage":false},{"functionName":"invokeMethod","ranges":[{"startOffset":3569,"endOffset":6101,"count":0}],"isBlockCoverage":false}]},{"scriptId":"765","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/mock-expectation.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8509,"count":1}],"isBlockCoverage":true},{"functionName":"callCountInWords","ranges":[{"startOffset":711,"endOffset":864,"count":0}],"isBlockCoverage":false},{"functionName":"expectedCallCountInWords","ranges":[{"startOffset":866,"endOffset":1361,"count":0}],"isBlockCoverage":false},{"functionName":"receivedMinCalls","ranges":[{"startOffset":1363,"endOffset":1545,"count":0}],"isBlockCoverage":false},{"functionName":"receivedMaxCalls","ranges":[{"startOffset":1547,"endOffset":1729,"count":0}],"isBlockCoverage":false},{"functionName":"verifyMatcher","ranges":[{"startOffset":1731,"endOffset":1897,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":1972,"endOffset":2181,"count":0}],"isBlockCoverage":false},{"functionName":"invoke","ranges":[{"startOffset":2196,"endOffset":2343,"count":0}],"isBlockCoverage":false},{"functionName":"atLeast","ranges":[{"startOffset":2359,"endOffset":2674,"count":0}],"isBlockCoverage":false},{"functionName":"atMost","ranges":[{"startOffset":2689,"endOffset":3003,"count":0}],"isBlockCoverage":false},{"functionName":"never","ranges":[{"startOffset":3017,"endOffset":3073,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":3086,"endOffset":3141,"count":0}],"isBlockCoverage":false},{"functionName":"twice","ranges":[{"startOffset":3155,"endOffset":3211,"count":0}],"isBlockCoverage":false},{"functionName":"thrice","ranges":[{"startOffset":3226,"endOffset":3283,"count":0}],"isBlockCoverage":false},{"functionName":"exactly","ranges":[{"startOffset":3299,"endOffset":3514,"count":0}],"isBlockCoverage":false},{"functionName":"met","ranges":[{"startOffset":3526,"endOffset":3603,"count":0}],"isBlockCoverage":false},{"functionName":"verifyCallAllowed","ranges":[{"startOffset":3629,"endOffset":5950,"count":0}],"isBlockCoverage":false},{"functionName":"allowsCall","ranges":[{"startOffset":5969,"endOffset":7014,"count":0}],"isBlockCoverage":false},{"functionName":"withArgs","ranges":[{"startOffset":7031,"endOffset":7130,"count":0}],"isBlockCoverage":false},{"functionName":"withExactArgs","ranges":[{"startOffset":7152,"endOffset":7293,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":7304,"endOffset":7394,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":7411,"endOffset":8024,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":8039,"endOffset":8236,"count":0}],"isBlockCoverage":false},{"functionName":"pass","ranges":[{"startOffset":8249,"endOffset":8309,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":8322,"endOffset":8469,"count":0}],"isBlockCoverage":false}]},{"scriptId":"766","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/proxy-invoke.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2811,"count":1}],"isBlockCoverage":true},{"functionName":"invoke","ranges":[{"startOffset":360,"endOffset":2809,"count":15},{"startOffset":1216,"endOffset":1595,"count":0},{"startOffset":1689,"endOffset":1729,"count":0},{"startOffset":2750,"endOffset":2782,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":689,"endOffset":896,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1880,"endOffset":2003,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2467,"endOffset":2543,"count":0}],"isBlockCoverage":false}]},{"scriptId":"767","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/proxy-call-util.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1767,"count":1}],"isBlockCoverage":true},{"functionName":"incrementCallCount","ranges":[{"startOffset":109,"endOffset":368,"count":15}],"isBlockCoverage":true},{"functionName":"createCallProperties","ranges":[{"startOffset":402,"endOffset":620,"count":30}],"isBlockCoverage":true},{"functionName":"delegateToCalls","ranges":[{"startOffset":649,"endOffset":1765,"count":26}],"isBlockCoverage":true},{"functionName":"proxy.","ranges":[{"startOffset":802,"endOffset":1762,"count":0}],"isBlockCoverage":false}]},{"scriptId":"768","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/proxy-call.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8134,"count":1}],"isBlockCoverage":true},{"functionName":"throwYieldError","ranges":[{"startOffset":609,"endOffset":810,"count":0}],"isBlockCoverage":false},{"functionName":"calledOn","ranges":[{"startOffset":846,"endOffset":1030,"count":0}],"isBlockCoverage":false},{"functionName":"calledWith","ranges":[{"startOffset":1049,"endOffset":1442,"count":0}],"isBlockCoverage":false},{"functionName":"calledWithMatch","ranges":[{"startOffset":1466,"endOffset":1936,"count":0}],"isBlockCoverage":false},{"functionName":"calledWithExactly","ranges":[{"startOffset":1962,"endOffset":2130,"count":0}],"isBlockCoverage":false},{"functionName":"notCalledWith","ranges":[{"startOffset":2152,"endOffset":2240,"count":0}],"isBlockCoverage":false},{"functionName":"notCalledWithMatch","ranges":[{"startOffset":2267,"endOffset":2365,"count":0}],"isBlockCoverage":false},{"functionName":"returned","ranges":[{"startOffset":2382,"endOffset":2465,"count":0}],"isBlockCoverage":false},{"functionName":"threw","ranges":[{"startOffset":2479,"endOffset":2700,"count":0}],"isBlockCoverage":false},{"functionName":"calledWithNew","ranges":[{"startOffset":2722,"endOffset":2831,"count":15}],"isBlockCoverage":true},{"functionName":"calledBefore","ranges":[{"startOffset":2852,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"calledAfter","ranges":[{"startOffset":2939,"endOffset":3006,"count":0}],"isBlockCoverage":false},{"functionName":"calledImmediatelyBefore","ranges":[{"startOffset":3038,"endOffset":3111,"count":0}],"isBlockCoverage":false},{"functionName":"calledImmediatelyAfter","ranges":[{"startOffset":3142,"endOffset":3215,"count":0}],"isBlockCoverage":false},{"functionName":"callArg","ranges":[{"startOffset":3231,"endOffset":3326,"count":0}],"isBlockCoverage":false},{"functionName":"callArgOn","ranges":[{"startOffset":3344,"endOffset":3465,"count":0}],"isBlockCoverage":false},{"functionName":"callArgWith","ranges":[{"startOffset":3485,"endOffset":3631,"count":0}],"isBlockCoverage":false},{"functionName":"callArgOnWith","ranges":[{"startOffset":3653,"endOffset":3822,"count":0}],"isBlockCoverage":false},{"functionName":"throwArg","ranges":[{"startOffset":3839,"endOffset":4082,"count":0}],"isBlockCoverage":false},{"functionName":"yield","ranges":[{"startOffset":4096,"endOffset":4193,"count":0}],"isBlockCoverage":false},{"functionName":"yieldOn","ranges":[{"startOffset":4209,"endOffset":4646,"count":0}],"isBlockCoverage":false},{"functionName":"yieldTo","ranges":[{"startOffset":4662,"endOffset":4806,"count":0}],"isBlockCoverage":false},{"functionName":"yieldToOn","ranges":[{"startOffset":4824,"endOffset":5400,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":5417,"endOffset":6432,"count":0}],"isBlockCoverage":false},{"functionName":"ensureArgIsAFunction","ranges":[{"startOffset":6461,"endOffset":6721,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6825,"endOffset":6925,"count":0}],"isBlockCoverage":false},{"functionName":"createProxyCall","ranges":[{"startOffset":7154,"endOffset":8034,"count":75},{"startOffset":7316,"endOffset":7379,"count":0},{"startOffset":7630,"endOffset":7639,"count":0}],"isBlockCoverage":true}]},{"scriptId":"769","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/stub.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7560,"count":1}],"isBlockCoverage":true},{"functionName":"createStub","ranges":[{"startOffset":1085,"endOffset":2164,"count":15},{"startOffset":1696,"endOffset":1711,"count":2},{"startOffset":1859,"endOffset":1887,"count":13},{"startOffset":1888,"endOffset":1894,"count":2},{"startOffset":2006,"endOffset":2015,"count":2}],"isBlockCoverage":true},{"functionName":"functionStub","ranges":[{"startOffset":1186,"endOffset":1643,"count":15}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1377,"endOffset":1544,"count":0}],"isBlockCoverage":false},{"functionName":"stub","ranges":[{"startOffset":2166,"endOffset":4104,"count":15},{"startOffset":2230,"endOffset":2350,"count":0},{"startOffset":2380,"endOffset":2448,"count":0},{"startOffset":2547,"endOffset":2670,"count":0},{"startOffset":2873,"endOffset":2904,"count":2},{"startOffset":2981,"endOffset":3002,"count":2},{"startOffset":3042,"endOffset":3076,"count":2},{"startOffset":3143,"endOffset":3185,"count":13},{"startOffset":3186,"endOffset":3298,"count":13},{"startOffset":3333,"endOffset":3381,"count":0},{"startOffset":3410,"endOffset":3446,"count":2},{"startOffset":3446,"endOffset":3554,"count":13},{"startOffset":3567,"endOffset":3573,"count":0},{"startOffset":4064,"endOffset":4067,"count":0},{"startOffset":4068,"endOffset":4101,"count":13}],"isBlockCoverage":true},{"functionName":"restore","ranges":[{"startOffset":3759,"endOffset":4016,"count":0}],"isBlockCoverage":false},{"functionName":"assertValidPropertyDescriptor","ranges":[{"startOffset":4106,"endOffset":4824,"count":15},{"startOffset":4189,"endOffset":4201,"count":13},{"startOffset":4203,"endOffset":4226,"count":2},{"startOffset":4226,"endOffset":4279,"count":13},{"startOffset":4280,"endOffset":4303,"count":0},{"startOffset":4305,"endOffset":4440,"count":0},{"startOffset":4440,"endOffset":4482,"count":13},{"startOffset":4484,"endOffset":4511,"count":0},{"startOffset":4513,"endOffset":4640,"count":0},{"startOffset":4640,"endOffset":4678,"count":13},{"startOffset":4678,"endOffset":4701,"count":0},{"startOffset":4703,"endOffset":4822,"count":0}],"isBlockCoverage":true},{"functionName":"isDataDescriptor","ranges":[{"startOffset":4826,"endOffset":4999,"count":13},{"startOffset":4905,"endOffset":4936,"count":0},{"startOffset":4937,"endOffset":4963,"count":0},{"startOffset":4964,"endOffset":4990,"count":0}],"isBlockCoverage":true},{"functionName":"getParentBehaviour","ranges":[{"startOffset":5041,"endOffset":5161,"count":2},{"startOffset":5116,"endOffset":5158,"count":0}],"isBlockCoverage":true},{"functionName":"getDefaultBehavior","ranges":[{"startOffset":5163,"endOffset":5350,"count":15},{"startOffset":5257,"endOffset":5300,"count":2},{"startOffset":5301,"endOffset":5341,"count":2}],"isBlockCoverage":true},{"functionName":"getCurrentBehavior","ranges":[{"startOffset":5352,"endOffset":5605,"count":15},{"startOffset":5503,"endOffset":5533,"count":0},{"startOffset":5542,"endOffset":5559,"count":0}],"isBlockCoverage":true},{"functionName":"resetBehavior","ranges":[{"startOffset":5681,"endOffset":6087,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":6101,"endOffset":6179,"count":0}],"isBlockCoverage":false},{"functionName":"onCall","ranges":[{"startOffset":6194,"endOffset":6370,"count":0}],"isBlockCoverage":false},{"functionName":"onFirstCall","ranges":[{"startOffset":6390,"endOffset":6451,"count":0}],"isBlockCoverage":false},{"functionName":"onSecondCall","ranges":[{"startOffset":6472,"endOffset":6534,"count":0}],"isBlockCoverage":false},{"functionName":"onThirdCall","ranges":[{"startOffset":6554,"endOffset":6615,"count":0}],"isBlockCoverage":false},{"functionName":"withArgs","ranges":[{"startOffset":6632,"endOffset":7024,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7061,"endOffset":7307,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7343,"endOffset":7512,"count":35}],"isBlockCoverage":true}]},{"scriptId":"770","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/default-behaviors.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7928,"count":1}],"isBlockCoverage":true},{"functionName":"throwsException","ranges":[{"startOffset":382,"endOffset":968,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":1052,"endOffset":1877,"count":13},{"startOffset":1209,"endOffset":1231,"count":0},{"startOffset":1556,"endOffset":1578,"count":0}],"isBlockCoverage":true},{"functionName":"callsFake","ranges":[{"startOffset":1921,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"callsArg","ranges":[{"startOffset":2022,"endOffset":2267,"count":0}],"isBlockCoverage":false},{"functionName":"callsArgOn","ranges":[{"startOffset":2286,"endOffset":2582,"count":0}],"isBlockCoverage":false},{"functionName":"callsArgWith","ranges":[{"startOffset":2603,"endOffset":2869,"count":0}],"isBlockCoverage":false},{"functionName":"callsArgWith","ranges":[{"startOffset":2892,"endOffset":3207,"count":0}],"isBlockCoverage":false},{"functionName":"usingPromise","ranges":[{"startOffset":3228,"endOffset":3325,"count":0}],"isBlockCoverage":false},{"functionName":"yields","ranges":[{"startOffset":3340,"endOffset":3510,"count":0}],"isBlockCoverage":false},{"functionName":"yieldsRight","ranges":[{"startOffset":3530,"endOffset":3701,"count":0}],"isBlockCoverage":false},{"functionName":"yieldsOn","ranges":[{"startOffset":3718,"endOffset":3937,"count":0}],"isBlockCoverage":false},{"functionName":"yieldsTo","ranges":[{"startOffset":3954,"endOffset":4163,"count":0}],"isBlockCoverage":false},{"functionName":"yieldsToOn","ranges":[{"startOffset":4182,"endOffset":4440,"count":0}],"isBlockCoverage":false},{"functionName":"returns","ranges":[{"startOffset":4524,"endOffset":4657,"count":13}],"isBlockCoverage":true},{"functionName":"returnsArg","ranges":[{"startOffset":4676,"endOffset":4888,"count":0}],"isBlockCoverage":false},{"functionName":"throwsArg","ranges":[{"startOffset":4906,"endOffset":5116,"count":0}],"isBlockCoverage":false},{"functionName":"returnsThis","ranges":[{"startOffset":5136,"endOffset":5224,"count":0}],"isBlockCoverage":false},{"functionName":"resolves","ranges":[{"startOffset":5241,"endOffset":5404,"count":0}],"isBlockCoverage":false},{"functionName":"resolvesArg","ranges":[{"startOffset":5424,"endOffset":5667,"count":0}],"isBlockCoverage":false},{"functionName":"rejects","ranges":[{"startOffset":5683,"endOffset":6142,"count":0}],"isBlockCoverage":false},{"functionName":"resolvesThis","ranges":[{"startOffset":6163,"endOffset":6253,"count":0}],"isBlockCoverage":false},{"functionName":"callThrough","ranges":[{"startOffset":6273,"endOffset":6363,"count":0}],"isBlockCoverage":false},{"functionName":"callThroughWithNew","ranges":[{"startOffset":6390,"endOffset":6494,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6506,"endOffset":6863,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6875,"endOffset":7358,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":7372,"endOffset":7795,"count":0}],"isBlockCoverage":false}]},{"scriptId":"771","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/proxy.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10074,"count":1}],"isBlockCoverage":true},{"functionName":"named","ranges":[{"startOffset":593,"endOffset":1041,"count":0}],"isBlockCoverage":false},{"functionName":"matchingFakes","ranges":[{"startOffset":1205,"endOffset":1267,"count":0}],"isBlockCoverage":false},{"functionName":"getCall","ranges":[{"startOffset":1283,"endOffset":1806,"count":135},{"startOffset":1351,"endOffset":1471,"count":0},{"startOffset":1514,"endOffset":1550,"count":60},{"startOffset":1550,"endOffset":1805,"count":75}],"isBlockCoverage":true},{"functionName":"getCalls","ranges":[{"startOffset":1823,"endOffset":2006,"count":0}],"isBlockCoverage":false},{"functionName":"calledBefore","ranges":[{"startOffset":2027,"endOffset":2267,"count":0}],"isBlockCoverage":false},{"functionName":"calledAfter","ranges":[{"startOffset":2287,"endOffset":2472,"count":0}],"isBlockCoverage":false},{"functionName":"calledImmediatelyBefore","ranges":[{"startOffset":2504,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"calledImmediatelyAfter","ranges":[{"startOffset":2792,"endOffset":3048,"count":0}],"isBlockCoverage":false},{"functionName":"printf","ranges":[{"startOffset":3108,"endOffset":3653,"count":0}],"isBlockCoverage":false},{"functionName":"resetHistory","ranges":[{"startOffset":3674,"endOffset":4718,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5764,"endOffset":5804,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5920,"endOffset":5960,"count":0}],"isBlockCoverage":false},{"functionName":"createProxy","ranges":[{"startOffset":6299,"endOffset":6553,"count":15}],"isBlockCoverage":true},{"functionName":"wrapFunction","ranges":[{"startOffset":6555,"endOffset":10042,"count":15},{"startOffset":6880,"endOffset":7019,"count":2},{"startOffset":7028,"endOffset":7168,"count":2},{"startOffset":7177,"endOffset":7320,"count":0},{"startOffset":7329,"endOffset":7475,"count":11},{"startOffset":7484,"endOffset":7633,"count":0},{"startOffset":7642,"endOffset":7794,"count":0},{"startOffset":7803,"endOffset":7958,"count":0},{"startOffset":7967,"endOffset":8125,"count":0},{"startOffset":8134,"endOffset":8295,"count":0},{"startOffset":8304,"endOffset":8468,"count":0},{"startOffset":8477,"endOffset":8645,"count":0},{"startOffset":8654,"endOffset":8825,"count":0},{"startOffset":8834,"endOffset":9008,"count":0},{"startOffset":9017,"endOffset":9157,"count":0}],"isBlockCoverage":true},{"functionName":"proxy","ranges":[{"startOffset":6904,"endOffset":6999,"count":2}],"isBlockCoverage":true},{"functionName":"proxy","ranges":[{"startOffset":7052,"endOffset":7148,"count":2}],"isBlockCoverage":true},{"functionName":"proxy","ranges":[{"startOffset":7201,"endOffset":7300,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":7353,"endOffset":7455,"count":11}],"isBlockCoverage":true},{"functionName":"proxy","ranges":[{"startOffset":7508,"endOffset":7613,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":7666,"endOffset":7774,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":7827,"endOffset":7938,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":7991,"endOffset":8105,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":8158,"endOffset":8275,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":8328,"endOffset":8448,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":8502,"endOffset":8625,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":8679,"endOffset":8805,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":8859,"endOffset":8988,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":9042,"endOffset":9137,"count":0}],"isBlockCoverage":false}]},{"scriptId":"772","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/function-to-string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":664,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":32,"endOffset":662,"count":0}],"isBlockCoverage":false}]},{"scriptId":"773","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/spy-formatters.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4625,"count":1}],"isBlockCoverage":true},{"functionName":"colorSinonMatchText","ranges":[{"startOffset":587,"endOffset":1032,"count":0}],"isBlockCoverage":false},{"functionName":"colorDiffText","ranges":[{"startOffset":1098,"endOffset":1516,"count":0}],"isBlockCoverage":false},{"functionName":"quoteStringValue","ranges":[{"startOffset":1582,"endOffset":1717,"count":0}],"isBlockCoverage":false},{"functionName":"c","ranges":[{"startOffset":1745,"endOffset":1827,"count":0}],"isBlockCoverage":false},{"functionName":"n","ranges":[{"startOffset":1837,"endOffset":1993,"count":0}],"isBlockCoverage":false},{"functionName":"D","ranges":[{"startOffset":2003,"endOffset":3652,"count":0}],"isBlockCoverage":false},{"functionName":"C","ranges":[{"startOffset":3662,"endOffset":4186,"count":0}],"isBlockCoverage":false},{"functionName":"t","ranges":[{"startOffset":4196,"endOffset":4430,"count":0}],"isBlockCoverage":false},{"functionName":"*","ranges":[{"startOffset":4442,"endOffset":4620,"count":0}],"isBlockCoverage":false}]},{"scriptId":"774","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/colorizer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":767,"count":1}],"isBlockCoverage":true},{"functionName":"Colorizer","ranges":[{"startOffset":54,"endOffset":160,"count":1}],"isBlockCoverage":true},{"functionName":"colorize","ranges":[{"startOffset":293,"endOffset":453,"count":0}],"isBlockCoverage":false},{"functionName":"red","ranges":[{"startOffset":459,"endOffset":514,"count":0}],"isBlockCoverage":false},{"functionName":"green","ranges":[{"startOffset":520,"endOffset":577,"count":0}],"isBlockCoverage":false},{"functionName":"cyan","ranges":[{"startOffset":583,"endOffset":639,"count":0}],"isBlockCoverage":false},{"functionName":"white","ranges":[{"startOffset":645,"endOffset":702,"count":0}],"isBlockCoverage":false},{"functionName":"bold","ranges":[{"startOffset":708,"endOffset":763,"count":0}],"isBlockCoverage":false}]},{"scriptId":"775","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/supports-color/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2748,"count":1},{"startOffset":250,"endOffset":270,"count":0},{"startOffset":374,"endOffset":394,"count":0},{"startOffset":422,"endOffset":646,"count":0}],"isBlockCoverage":true},{"functionName":"translateLevel","ranges":[{"startOffset":648,"endOffset":806,"count":2},{"startOffset":699,"endOffset":719,"count":0}],"isBlockCoverage":true},{"functionName":"supportsColor","ranges":[{"startOffset":808,"endOffset":2439,"count":2},{"startOffset":881,"endOffset":897,"count":0},{"startOffset":985,"endOffset":1001,"count":0},{"startOffset":1030,"endOffset":1046,"count":0},{"startOffset":1080,"endOffset":1107,"count":0},{"startOffset":1109,"endOffset":1125,"count":0},{"startOffset":1184,"endOffset":1202,"count":0},{"startOffset":1239,"endOffset":1594,"count":0},{"startOffset":1614,"endOffset":1794,"count":0},{"startOffset":1828,"endOffset":1909,"count":0},{"startOffset":1963,"endOffset":2438,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1706,"endOffset":1725,"count":0}],"isBlockCoverage":false},{"functionName":"getSupportLevel","ranges":[{"startOffset":2441,"endOffset":2570,"count":0}],"isBlockCoverage":false}]},{"scriptId":"776","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/has-flag/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":330,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":32,"endOffset":328,"count":16},{"startOffset":102,"endOffset":106,"count":0},{"startOffset":128,"endOffset":133,"count":0},{"startOffset":262,"endOffset":325,"count":0}],"isBlockCoverage":true}]},{"scriptId":"777","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7236,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":174,"endOffset":223,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":301,"endOffset":354,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":432,"endOffset":480,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":567,"endOffset":624,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":702,"endOffset":750,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":835,"endOffset":890,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":972,"endOffset":1028,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1104,"endOffset":1149,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1226,"endOffset":1273,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1354,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1484,"endOffset":1534,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1613,"endOffset":1663,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1744,"endOffset":1796,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1875,"endOffset":1925,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1999,"endOffset":2044,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2128,"endOffset":2184,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2272,"endOffset":2332,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2412,"endOffset":2464,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2552,"endOffset":2609,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2697,"endOffset":2754,"count":0}],"isBlockCoverage":false},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":4100,"endOffset":4197,"count":1},{"startOffset":4174,"endOffset":4194,"count":0}],"isBlockCoverage":true}]},{"scriptId":"778","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/base.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31393,"count":1}],"isBlockCoverage":true},{"functionName":"Diff","ranges":[{"startOffset":158,"endOffset":176,"count":7}],"isBlockCoverage":true},{"functionName":"diff","ranges":[{"startOffset":260,"endOffset":4597,"count":0}],"isBlockCoverage":false},{"functionName":"pushComponent","ranges":[{"startOffset":4672,"endOffset":5200,"count":0}],"isBlockCoverage":false},{"functionName":"extractCommon","ranges":[{"startOffset":5275,"endOffset":5846,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":5914,"endOffset":6155,"count":0}],"isBlockCoverage":false},{"functionName":"removeEmpty","ranges":[{"startOffset":6228,"endOffset":6406,"count":0}],"isBlockCoverage":false},{"functionName":"castInput","ranges":[{"startOffset":6477,"endOffset":6526,"count":0}],"isBlockCoverage":false},{"functionName":"tokenize","ranges":[{"startOffset":6596,"endOffset":6654,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":6720,"endOffset":6773,"count":0}],"isBlockCoverage":false},{"functionName":"buildValues","ranges":[{"startOffset":6778,"endOffset":8799,"count":0}],"isBlockCoverage":false},{"functionName":"clonePath","ranges":[{"startOffset":8801,"endOffset":8911,"count":0}],"isBlockCoverage":false}]},{"scriptId":"779","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/character.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1671,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":327,"endOffset":424,"count":1},{"startOffset":401,"endOffset":421,"count":0}],"isBlockCoverage":true},{"functionName":"diffChars","ranges":[{"startOffset":688,"endOffset":789,"count":0}],"isBlockCoverage":false}]},{"scriptId":"780","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/word.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8786,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":464,"endOffset":561,"count":1},{"startOffset":538,"endOffset":558,"count":0}],"isBlockCoverage":true},{"functionName":"wordDiff.equals","ranges":[{"startOffset":1546,"endOffset":1789,"count":0}],"isBlockCoverage":false},{"functionName":"wordDiff.tokenize","ranges":[{"startOffset":1812,"endOffset":2493,"count":0}],"isBlockCoverage":false},{"functionName":"diffWords","ranges":[{"startOffset":2496,"endOffset":2853,"count":0}],"isBlockCoverage":false},{"functionName":"diffWordsWithSpace","ranges":[{"startOffset":2855,"endOffset":2960,"count":0}],"isBlockCoverage":false}]},{"scriptId":"781","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/util/params.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1752,"count":1}],"isBlockCoverage":true},{"functionName":"generateOptions","ranges":[{"startOffset":174,"endOffset":502,"count":0}],"isBlockCoverage":false}]},{"scriptId":"782","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/line.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5686,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":460,"endOffset":557,"count":1},{"startOffset":534,"endOffset":554,"count":0}],"isBlockCoverage":true},{"functionName":"lineDiff.tokenize","ranges":[{"startOffset":826,"endOffset":1483,"count":0}],"isBlockCoverage":false},{"functionName":"diffLines","ranges":[{"startOffset":1486,"endOffset":1584,"count":0}],"isBlockCoverage":false},{"functionName":"diffTrimmedLines","ranges":[{"startOffset":1586,"endOffset":1956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"783","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/sentence.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2090,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":334,"endOffset":431,"count":1},{"startOffset":408,"endOffset":428,"count":0}],"isBlockCoverage":true},{"functionName":"sentenceDiff.tokenize","ranges":[{"startOffset":716,"endOffset":783,"count":0}],"isBlockCoverage":false},{"functionName":"diffSentences","ranges":[{"startOffset":786,"endOffset":892,"count":0}],"isBlockCoverage":false}]},{"scriptId":"784","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/css.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1966,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":317,"endOffset":414,"count":1},{"startOffset":391,"endOffset":411,"count":0}],"isBlockCoverage":true},{"functionName":"cssDiff.tokenize","ranges":[{"startOffset":679,"endOffset":738,"count":0}],"isBlockCoverage":false},{"functionName":"diffCss","ranges":[{"startOffset":741,"endOffset":836,"count":0}],"isBlockCoverage":false}]},{"scriptId":"785","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/json.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12937,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":440,"endOffset":537,"count":1},{"startOffset":514,"endOffset":534,"count":0}],"isBlockCoverage":true},{"functionName":"_typeof","ranges":[{"startOffset":539,"endOffset":917,"count":0}],"isBlockCoverage":false},{"functionName":"jsonDiff.castInput","ranges":[{"startOffset":1625,"endOffset":2249,"count":0}],"isBlockCoverage":false},{"functionName":"jsonDiff.equals","ranges":[{"startOffset":2270,"endOffset":2565,"count":0}],"isBlockCoverage":false},{"functionName":"diffJson","ranges":[{"startOffset":2568,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"canonicalize","ranges":[{"startOffset":2859,"endOffset":4359,"count":0}],"isBlockCoverage":false}]},{"scriptId":"786","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2300,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":325,"endOffset":422,"count":1},{"startOffset":399,"endOffset":419,"count":0}],"isBlockCoverage":true},{"functionName":"arrayDiff.tokenize","ranges":[{"startOffset":695,"endOffset":739,"count":0}],"isBlockCoverage":false},{"functionName":"arrayDiff.join.arrayDiff.removeEmpty","ranges":[{"startOffset":783,"endOffset":819,"count":0}],"isBlockCoverage":false},{"functionName":"diffArrays","ranges":[{"startOffset":822,"endOffset":922,"count":0}],"isBlockCoverage":false}]},{"scriptId":"787","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/apply.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":19926,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":450,"endOffset":547,"count":1},{"startOffset":524,"endOffset":544,"count":0}],"isBlockCoverage":true},{"functionName":"applyPatch","ranges":[{"startOffset":573,"endOffset":4807,"count":0}],"isBlockCoverage":false},{"functionName":"applyPatches","ranges":[{"startOffset":4872,"endOffset":5728,"count":0}],"isBlockCoverage":false}]},{"scriptId":"788","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17908,"count":1}],"isBlockCoverage":true},{"functionName":"parsePatch","ranges":[{"startOffset":164,"endOffset":4730,"count":0}],"isBlockCoverage":false}]},{"scriptId":"789","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/util/distance-iterator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4641,"count":1}],"isBlockCoverage":true},{"functionName":"_default","ranges":[{"startOffset":340,"endOffset":1483,"count":0}],"isBlockCoverage":false}]},{"scriptId":"790","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/merge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":50907,"count":1}],"isBlockCoverage":true},{"functionName":"_toConsumableArray","ranges":[{"startOffset":482,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"_nonIterableSpread","ranges":[{"startOffset":637,"endOffset":827,"count":0}],"isBlockCoverage":false},{"functionName":"_unsupportedIterableToArray","ranges":[{"startOffset":829,"endOffset":1245,"count":0}],"isBlockCoverage":false},{"functionName":"_iterableToArray","ranges":[{"startOffset":1247,"endOffset":1377,"count":0}],"isBlockCoverage":false},{"functionName":"_arrayWithoutHoles","ranges":[{"startOffset":1379,"endOffset":1470,"count":0}],"isBlockCoverage":false},{"functionName":"_arrayLikeToArray","ranges":[{"startOffset":1472,"endOffset":1655,"count":0}],"isBlockCoverage":false},{"functionName":"calcLineCount","ranges":[{"startOffset":1681,"endOffset":2135,"count":0}],"isBlockCoverage":false},{"functionName":"merge","ranges":[{"startOffset":2137,"endOffset":5016,"count":0}],"isBlockCoverage":false},{"functionName":"loadPatch","ranges":[{"startOffset":5018,"endOffset":5874,"count":0}],"isBlockCoverage":false},{"functionName":"fileNameChanged","ranges":[{"startOffset":5876,"endOffset":5982,"count":0}],"isBlockCoverage":false},{"functionName":"selectField","ranges":[{"startOffset":5984,"endOffset":6172,"count":0}],"isBlockCoverage":false},{"functionName":"hunkBefore","ranges":[{"startOffset":6174,"endOffset":6301,"count":0}],"isBlockCoverage":false},{"functionName":"cloneHunk","ranges":[{"startOffset":6303,"endOffset":6502,"count":0}],"isBlockCoverage":false},{"functionName":"mergeLines","ranges":[{"startOffset":6504,"endOffset":9249,"count":0}],"isBlockCoverage":false},{"functionName":"mutualChange","ranges":[{"startOffset":9251,"endOffset":11898,"count":0}],"isBlockCoverage":false},{"functionName":"removal","ranges":[{"startOffset":11900,"endOffset":12608,"count":0}],"isBlockCoverage":false},{"functionName":"conflict","ranges":[{"startOffset":12610,"endOffset":12754,"count":0}],"isBlockCoverage":false},{"functionName":"insertLeading","ranges":[{"startOffset":12756,"endOffset":12979,"count":0}],"isBlockCoverage":false},{"functionName":"insertTrailing","ranges":[{"startOffset":12981,"endOffset":13145,"count":0}],"isBlockCoverage":false},{"functionName":"collectChange","ranges":[{"startOffset":13147,"endOffset":13641,"count":0}],"isBlockCoverage":false},{"functionName":"collectContext","ranges":[{"startOffset":13643,"endOffset":14910,"count":0}],"isBlockCoverage":false},{"functionName":"allRemoves","ranges":[{"startOffset":14912,"endOffset":15044,"count":0}],"isBlockCoverage":false},{"functionName":"skipRemoveSuperset","ranges":[{"startOffset":15046,"endOffset":15360,"count":0}],"isBlockCoverage":false},{"functionName":"calcOldNewLineCount","ranges":[{"startOffset":15362,"endOffset":16317,"count":0}],"isBlockCoverage":false}]},{"scriptId":"791","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/create.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":23586,"count":1}],"isBlockCoverage":true},{"functionName":"_toConsumableArray","ranges":[{"startOffset":410,"endOffset":563,"count":0}],"isBlockCoverage":false},{"functionName":"_nonIterableSpread","ranges":[{"startOffset":565,"endOffset":755,"count":0}],"isBlockCoverage":false},{"functionName":"_unsupportedIterableToArray","ranges":[{"startOffset":757,"endOffset":1173,"count":0}],"isBlockCoverage":false},{"functionName":"_iterableToArray","ranges":[{"startOffset":1175,"endOffset":1305,"count":0}],"isBlockCoverage":false},{"functionName":"_arrayWithoutHoles","ranges":[{"startOffset":1307,"endOffset":1398,"count":0}],"isBlockCoverage":false},{"functionName":"_arrayLikeToArray","ranges":[{"startOffset":1400,"endOffset":1583,"count":0}],"isBlockCoverage":false},{"functionName":"structuredPatch","ranges":[{"startOffset":1609,"endOffset":6844,"count":0}],"isBlockCoverage":false},{"functionName":"formatPatch","ranges":[{"startOffset":6846,"endOffset":7865,"count":0}],"isBlockCoverage":false},{"functionName":"createTwoFilesPatch","ranges":[{"startOffset":7867,"endOffset":8084,"count":0}],"isBlockCoverage":false},{"functionName":"createPatch","ranges":[{"startOffset":8086,"endOffset":8264,"count":0}],"isBlockCoverage":false}]},{"scriptId":"792","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/util/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2026,"count":1}],"isBlockCoverage":true},{"functionName":"arrayEqual","ranges":[{"startOffset":207,"endOffset":322,"count":0}],"isBlockCoverage":false},{"functionName":"arrayStartsWith","ranges":[{"startOffset":324,"endOffset":548,"count":0}],"isBlockCoverage":false}]},{"scriptId":"793","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/convert/dmp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2255,"count":1}],"isBlockCoverage":true},{"functionName":"convertChangesToDMP","ranges":[{"startOffset":248,"endOffset":609,"count":0}],"isBlockCoverage":false}]},{"scriptId":"794","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/convert/xml.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3359,"count":1}],"isBlockCoverage":true},{"functionName":"convertChangesToXML","ranges":[{"startOffset":182,"endOffset":613,"count":0}],"isBlockCoverage":false},{"functionName":"escapeHTML","ranges":[{"startOffset":615,"endOffset":793,"count":0}],"isBlockCoverage":false}]},{"scriptId":"795","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/is-non-existent-property.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":336,"count":1}],"isBlockCoverage":true},{"functionName":"isNonExistentProperty","ranges":[{"startOffset":139,"endOffset":294,"count":15},{"startOffset":225,"endOffset":259,"count":13},{"startOffset":260,"endOffset":284,"count":13}],"isBlockCoverage":true}]},{"scriptId":"796","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/spy.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5573,"count":1}],"isBlockCoverage":true},{"functionName":"matches","ranges":[{"startOffset":920,"endOffset":1193,"count":0}],"isBlockCoverage":false},{"functionName":"withArgs","ranges":[{"startOffset":1240,"endOffset":2249,"count":0}],"isBlockCoverage":false},{"functionName":"matchingFakes","ranges":[{"startOffset":2316,"endOffset":2464,"count":30}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2381,"endOffset":2456,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2660,"endOffset":2779,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2886,"endOffset":3005,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3111,"endOffset":3231,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3289,"endOffset":3405,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3590,"endOffset":3706,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3768,"endOffset":3947,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4038,"endOffset":4241,"count":0}],"isBlockCoverage":false},{"functionName":"createSpy","ranges":[{"startOffset":4247,"endOffset":4741,"count":0}],"isBlockCoverage":false},{"functionName":"spy","ranges":[{"startOffset":4743,"endOffset":5528,"count":0}],"isBlockCoverage":false}]},{"scriptId":"797","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/is-es-module.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":554,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":369,"endOffset":552,"count":15},{"startOffset":417,"endOffset":457,"count":13},{"startOffset":458,"endOffset":508,"count":13},{"startOffset":509,"endOffset":543,"count":0}],"isBlockCoverage":true}]},{"scriptId":"798","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/walk-object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1653,"count":1}],"isBlockCoverage":true},{"functionName":"walkObject","ranges":[{"startOffset":557,"endOffset":1622,"count":0}],"isBlockCoverage":false}]},{"scriptId":"799","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/wrap-method.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8738,"count":1}],"isBlockCoverage":true},{"functionName":"noop","ranges":[{"startOffset":74,"endOffset":82,"count":0}],"isBlockCoverage":false},{"functionName":"isFunction","ranges":[{"startOffset":450,"endOffset":600,"count":13},{"startOffset":524,"endOffset":591,"count":0}],"isBlockCoverage":true},{"functionName":"mirrorProperties","ranges":[{"startOffset":602,"endOffset":782,"count":26},{"startOffset":677,"endOffset":780,"count":65},{"startOffset":722,"endOffset":774,"count":52}],"isBlockCoverage":true},{"functionName":"getAccessor","ranges":[{"startOffset":784,"endOffset":1175,"count":27},{"startOffset":983,"endOffset":1156,"count":54},{"startOffset":1035,"endOffset":1095,"count":0},{"startOffset":1106,"endOffset":1150,"count":0}],"isBlockCoverage":true},{"functionName":"wrapMethod","ranges":[{"startOffset":1282,"endOffset":8736,"count":13},{"startOffset":1347,"endOffset":1417,"count":0},{"startOffset":1456,"endOffset":1485,"count":0},{"startOffset":1487,"endOffset":1610,"count":0},{"startOffset":3276,"endOffset":3310,"count":0},{"startOffset":3426,"endOffset":3434,"count":0},{"startOffset":3538,"endOffset":3693,"count":0},{"startOffset":3742,"endOffset":3788,"count":0},{"startOffset":3799,"endOffset":3934,"count":0},{"startOffset":3954,"endOffset":4173,"count":0},{"startOffset":4773,"endOffset":4828,"count":0},{"startOffset":5066,"endOffset":5307,"count":0},{"startOffset":5313,"endOffset":5362,"count":0}],"isBlockCoverage":true},{"functionName":"checkWrappedMethod","ranges":[{"startOffset":1616,"endOffset":2717,"count":13},{"startOffset":1721,"endOffset":1930,"count":0},{"startOffset":1962,"endOffset":1992,"count":0},{"startOffset":1994,"endOffset":2183,"count":0},{"startOffset":2221,"endOffset":2483,"count":0},{"startOffset":2504,"endOffset":2711,"count":0}],"isBlockCoverage":true},{"functionName":"simplePropertyAssignment","ranges":[{"startOffset":2826,"endOffset":3028,"count":0}],"isBlockCoverage":false},{"functionName":"extendObjectWithWrappedMethods","ranges":[{"startOffset":5407,"endOffset":6214,"count":13},{"startOffset":5608,"endOffset":5626,"count":0},{"startOffset":6126,"endOffset":6198,"count":0}],"isBlockCoverage":true},{"functionName":"restore","ranges":[{"startOffset":6220,"endOffset":8714,"count":14},{"startOffset":6537,"endOffset":7745,"count":0},{"startOffset":7777,"endOffset":7922,"count":0},{"startOffset":8206,"endOffset":8284,"count":0},{"startOffset":8298,"endOffset":8447,"count":0},{"startOffset":8513,"endOffset":8708,"count":0}],"isBlockCoverage":true}]},{"scriptId":"800","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/sinon-type.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":625,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":346,"endOffset":537,"count":15}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":543,"endOffset":620,"count":14}],"isBlockCoverage":true}]},{"scriptId":"801","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/throw-on-falsy-object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":381,"count":1}],"isBlockCoverage":true},{"functionName":"throwOnFalsyObject","ranges":[{"startOffset":80,"endOffset":342,"count":15},{"startOffset":145,"endOffset":155,"count":13},{"startOffset":157,"endOffset":340,"count":0}],"isBlockCoverage":true}]},{"scriptId":"802","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/use-promise-library.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":425,"count":1}],"isBlockCoverage":true},{"functionName":"usePromiseLibrary","ranges":[{"startOffset":57,"endOffset":387,"count":15},{"startOffset":165,"endOffset":385,"count":0}],"isBlockCoverage":true}]},{"scriptId":"803","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/create-stub-instance.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1123,"count":1}],"isBlockCoverage":true},{"functionName":"isStub","ranges":[{"startOffset":171,"endOffset":241,"count":0}],"isBlockCoverage":false},{"functionName":"createStubInstance","ranges":[{"startOffset":260,"endOffset":1121,"count":0}],"isBlockCoverage":false}]},{"scriptId":"804","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/fake.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6191,"count":1}],"isBlockCoverage":true},{"functionName":"fake","ranges":[{"startOffset":837,"endOffset":1016,"count":0}],"isBlockCoverage":false},{"functionName":"returns","ranges":[{"startOffset":1296,"endOffset":1447,"count":0}],"isBlockCoverage":false},{"functionName":"throws","ranges":[{"startOffset":1931,"endOffset":2090,"count":0}],"isBlockCoverage":false},{"functionName":"resolves","ranges":[{"startOffset":2370,"endOffset":2542,"count":0}],"isBlockCoverage":false},{"functionName":"rejects","ranges":[{"startOffset":2961,"endOffset":3141,"count":0}],"isBlockCoverage":false},{"functionName":"usingPromise","ranges":[{"startOffset":3445,"endOffset":3536,"count":0}],"isBlockCoverage":false},{"functionName":"yields","ranges":[{"startOffset":3851,"endOffset":4241,"count":0}],"isBlockCoverage":false},{"functionName":"yieldsAsync","ranges":[{"startOffset":4617,"endOffset":5058,"count":0}],"isBlockCoverage":false},{"functionName":"wrapFunc","ranges":[{"startOffset":5206,"endOffset":5898,"count":0}],"isBlockCoverage":false},{"functionName":"getError","ranges":[{"startOffset":6100,"endOffset":6190,"count":0}],"isBlockCoverage":false}]},{"scriptId":"805","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":188,"count":1}],"isBlockCoverage":true}]},{"scriptId":"806","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/fake-server/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9397,"count":1}],"isBlockCoverage":true},{"functionName":"responseArray","ranges":[{"startOffset":267,"endOffset":925,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultWindowLocation","ranges":[{"startOffset":927,"endOffset":1215,"count":0}],"isBlockCoverage":false},{"functionName":"getWindowLocation","ranges":[{"startOffset":1217,"endOffset":1766,"count":0}],"isBlockCoverage":false},{"functionName":"matchOne","ranges":[{"startOffset":1768,"endOffset":2183,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":2185,"endOffset":2960,"count":0}],"isBlockCoverage":false},{"functionName":"incrementRequestCount","ranges":[{"startOffset":2962,"endOffset":3367,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":3400,"endOffset":3930,"count":0}],"isBlockCoverage":false},{"functionName":"configure","ranges":[{"startOffset":3948,"endOffset":4549,"count":0}],"isBlockCoverage":false},{"functionName":"addRequest","ranges":[{"startOffset":4568,"endOffset":5184,"count":0}],"isBlockCoverage":false},{"functionName":"getHTTPMethod","ranges":[{"startOffset":5206,"endOffset":5525,"count":0}],"isBlockCoverage":false},{"functionName":"handleRequest","ranges":[{"startOffset":5547,"endOffset":5712,"count":0}],"isBlockCoverage":false},{"functionName":"logger","ranges":[{"startOffset":5727,"endOffset":5788,"count":0}],"isBlockCoverage":false},{"functionName":"respondWith","ranges":[{"startOffset":5861,"endOffset":7176,"count":0}],"isBlockCoverage":false},{"functionName":"respond","ranges":[{"startOffset":7192,"endOffset":7535,"count":0}],"isBlockCoverage":false},{"functionName":"respondAll","ranges":[{"startOffset":7554,"endOffset":7821,"count":0}],"isBlockCoverage":false},{"functionName":"processRequest","ranges":[{"startOffset":7844,"endOffset":8637,"count":0}],"isBlockCoverage":false},{"functionName":"restore","ranges":[{"startOffset":8653,"endOffset":8759,"count":0}],"isBlockCoverage":false},{"functionName":"getRequest","ranges":[{"startOffset":8778,"endOffset":8857,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":8871,"endOffset":8954,"count":0}],"isBlockCoverage":false},{"functionName":"resetBehavior","ranges":[{"startOffset":8976,"endOffset":9063,"count":0}],"isBlockCoverage":false},{"functionName":"resetHistory","ranges":[{"startOffset":9084,"endOffset":9363,"count":0}],"isBlockCoverage":false}]},{"scriptId":"807","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/fake-xhr/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30778,"count":1},{"startOffset":108,"endOffset":155,"count":0}],"isBlockCoverage":true},{"functionName":"getWorkingXHR","ranges":[{"startOffset":636,"endOffset":1060,"count":1},{"startOffset":768,"endOffset":818,"count":0},{"startOffset":921,"endOffset":1039,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":938,"endOffset":1032,"count":0}],"isBlockCoverage":false},{"functionName":"EventTargetHandler","ranges":[{"startOffset":1666,"endOffset":2206,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeHeaderValue","ranges":[{"startOffset":2264,"endOffset":2484,"count":0}],"isBlockCoverage":false},{"functionName":"getHeader","ranges":[{"startOffset":2486,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"excludeSetCookie2Header","ranges":[{"startOffset":2692,"endOffset":2780,"count":0}],"isBlockCoverage":false},{"functionName":"verifyResponseBodyType","ranges":[{"startOffset":2782,"endOffset":3910,"count":0}],"isBlockCoverage":false},{"functionName":"convertToArrayBuffer","ranges":[{"startOffset":3912,"endOffset":4103,"count":0}],"isBlockCoverage":false},{"functionName":"isXmlContentType","ranges":[{"startOffset":4105,"endOffset":4258,"count":0}],"isBlockCoverage":false},{"functionName":"clearResponse","ranges":[{"startOffset":4260,"endOffset":4498,"count":0}],"isBlockCoverage":false},{"functionName":"fakeXMLHttpRequestFor","ranges":[{"startOffset":4500,"endOffset":30660,"count":1},{"startOffset":4600,"endOffset":4658,"count":0},{"startOffset":5140,"endOffset":5199,"count":0},{"startOffset":5284,"endOffset":5355,"count":0}],"isBlockCoverage":true},{"functionName":"FakeXMLHttpRequest","ranges":[{"startOffset":5580,"endOffset":6290,"count":0}],"isBlockCoverage":false},{"functionName":"verifyState","ranges":[{"startOffset":6296,"endOffset":6538,"count":0}],"isBlockCoverage":false},{"functionName":"apply","ranges":[{"startOffset":6600,"endOffset":7221,"count":0}],"isBlockCoverage":false},{"functionName":"addFilter","ranges":[{"startOffset":7296,"endOffset":7357,"count":0}],"isBlockCoverage":false},{"functionName":"defake","ranges":[{"startOffset":7391,"endOffset":10337,"count":0}],"isBlockCoverage":false},{"functionName":"verifyRequestOpened","ranges":[{"startOffset":10387,"endOffset":10881,"count":0}],"isBlockCoverage":false},{"functionName":"verifyRequestSent","ranges":[{"startOffset":10887,"endOffset":11039,"count":0}],"isBlockCoverage":false},{"functionName":"verifyHeadersReceived","ranges":[{"startOffset":11045,"endOffset":11267,"count":0}],"isBlockCoverage":false},{"functionName":"convertResponseBody","ranges":[{"startOffset":11273,"endOffset":12392,"count":0}],"isBlockCoverage":false},{"functionName":"requestErrorSteps","ranges":[{"startOffset":12531,"endOffset":12967,"count":0}],"isBlockCoverage":false},{"functionName":"parseXML","ranges":[{"startOffset":13003,"endOffset":14653,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":16148,"endOffset":16997,"count":0}],"isBlockCoverage":false},{"functionName":"readyStateChange","ranges":[{"startOffset":17026,"endOffset":19173,"count":0}],"isBlockCoverage":false},{"functionName":"setRequestHeader","ranges":[{"startOffset":19276,"endOffset":20510,"count":0}],"isBlockCoverage":false},{"functionName":"setStatus","ranges":[{"startOffset":20532,"endOffset":20809,"count":0}],"isBlockCoverage":false},{"functionName":"setResponseHeaders","ranges":[{"startOffset":20865,"endOffset":21365,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":21453,"endOffset":24306,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":24324,"endOffset":24479,"count":0}],"isBlockCoverage":false},{"functionName":"error","ranges":[{"startOffset":24497,"endOffset":24725,"count":0}],"isBlockCoverage":false},{"functionName":"triggerTimeout","ranges":[{"startOffset":24752,"endOffset":24926,"count":0}],"isBlockCoverage":false},{"functionName":"getResponseHeader","ranges":[{"startOffset":24956,"endOffset":25391,"count":0}],"isBlockCoverage":false},{"functionName":"getAllResponseHeaders","ranges":[{"startOffset":25425,"endOffset":25965,"count":0}],"isBlockCoverage":false},{"functionName":"setResponseBody","ranges":[{"startOffset":25993,"endOffset":27680,"count":0}],"isBlockCoverage":false},{"functionName":"respond","ranges":[{"startOffset":27700,"endOffset":27927,"count":0}],"isBlockCoverage":false},{"functionName":"uploadProgress","ranges":[{"startOffset":27954,"endOffset":28305,"count":0}],"isBlockCoverage":false},{"functionName":"downloadProgress","ranges":[{"startOffset":28334,"endOffset":28673,"count":0}],"isBlockCoverage":false},{"functionName":"uploadError","ranges":[{"startOffset":28697,"endOffset":28926,"count":0}],"isBlockCoverage":false},{"functionName":"overrideMimeType","ranges":[{"startOffset":28955,"endOffset":29175,"count":0}],"isBlockCoverage":false},{"functionName":"useFakeXMLHttpRequest","ranges":[{"startOffset":29410,"endOffset":30513,"count":0}],"isBlockCoverage":false}]},{"scriptId":"808","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":457,"count":1}],"isBlockCoverage":true}]},{"scriptId":"809","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":386,"count":1},{"startOffset":216,"endOffset":353,"count":0}],"isBlockCoverage":true}]},{"scriptId":"810","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/called-in-order.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1445,"count":1}],"isBlockCoverage":true},{"functionName":"hasCallsLeft","ranges":[{"startOffset":85,"endOffset":245,"count":0}],"isBlockCoverage":false},{"functionName":"checkAdjacentCalls","ranges":[{"startOffset":267,"endOffset":602,"count":0}],"isBlockCoverage":false},{"functionName":"calledInOrder","ranges":[{"startOffset":1177,"endOffset":1411,"count":0}],"isBlockCoverage":false}]},{"scriptId":"811","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true}]},{"scriptId":"812","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype-methods.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1010,"count":1},{"startOffset":423,"endOffset":470,"count":0}],"isBlockCoverage":true},{"functionName":"copyPrototypeMethods","ranges":[{"startOffset":489,"endOffset":1008,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":671,"endOffset":979,"count":134},{"startOffset":768,"endOffset":806,"count":4},{"startOffset":806,"endOffset":859,"count":130},{"startOffset":859,"endOffset":897,"count":5},{"startOffset":897,"endOffset":978,"count":125}],"isBlockCoverage":true}]},{"scriptId":"813","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/throws-on-proto.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":749,"count":1},{"startOffset":488,"endOffset":715,"count":0}],"isBlockCoverage":true}]},{"scriptId":"814","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/class-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":921,"count":1}],"isBlockCoverage":true},{"functionName":"className","ranges":[{"startOffset":221,"endOffset":891,"count":0}],"isBlockCoverage":false}]},{"scriptId":"815","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/function-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":818,"count":1}],"isBlockCoverage":true},{"functionName":"functionName","ranges":[{"startOffset":132,"endOffset":816,"count":0}],"isBlockCoverage":false}]},{"scriptId":"816","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/deprecated.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1363,"count":1}],"isBlockCoverage":true},{"functionName":"exports.wrap","ranges":[{"startOffset":282,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"exports.defaultMsg","ranges":[{"startOffset":774,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"exports.printWarning","ranges":[{"startOffset":1080,"endOffset":1361,"count":0}],"isBlockCoverage":false}]},{"scriptId":"817","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/every.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":666,"count":1}],"isBlockCoverage":true},{"functionName":"every","ranges":[{"startOffset":241,"endOffset":664,"count":0}],"isBlockCoverage":false}]},{"scriptId":"818","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/order-by-first-call.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":817,"count":1}],"isBlockCoverage":true},{"functionName":"comparator","ranges":[{"startOffset":132,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"orderByFirstCall","ranges":[{"startOffset":701,"endOffset":780,"count":0}],"isBlockCoverage":false}]},{"scriptId":"819","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":225,"count":1}],"isBlockCoverage":true}]},{"scriptId":"820","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":125,"count":1}],"isBlockCoverage":true}]},{"scriptId":"821","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"822","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"823","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"824","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"825","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/type-of.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":266,"count":1}],"isBlockCoverage":true},{"functionName":"typeOf","ranges":[{"startOffset":200,"endOffset":264,"count":0}],"isBlockCoverage":false}]},{"scriptId":"826","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/value-to-string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"valueToString","ranges":[{"startOffset":116,"endOffset":336,"count":0}],"isBlockCoverage":false}]},{"scriptId":"827","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/configure-logger/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1639,"count":1}],"isBlockCoverage":true},{"functionName":"configureLogger","ranges":[{"startOffset":239,"endOffset":1603,"count":1},{"startOffset":344,"endOffset":349,"count":0}],"isBlockCoverage":true},{"functionName":"config.logger","ranges":[{"startOffset":510,"endOffset":523,"count":0}],"isBlockCoverage":false},{"functionName":"logError","ranges":[{"startOffset":966,"endOffset":1600,"count":0}],"isBlockCoverage":false}]},{"scriptId":"828","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/event/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":203,"count":1}],"isBlockCoverage":true}]},{"scriptId":"829","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/event/event.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":569,"count":1}],"isBlockCoverage":true},{"functionName":"Event","ranges":[{"startOffset":15,"endOffset":123,"count":2}],"isBlockCoverage":true},{"functionName":"initEvent","ranges":[{"startOffset":160,"endOffset":374,"count":2}],"isBlockCoverage":true},{"functionName":"stopPropagation","ranges":[{"startOffset":448,"endOffset":461,"count":0}],"isBlockCoverage":false},{"functionName":"preventDefault","ranges":[{"startOffset":484,"endOffset":540,"count":0}],"isBlockCoverage":false}]},{"scriptId":"830","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/event/progress-event.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":596,"count":1}],"isBlockCoverage":true},{"functionName":"ProgressEvent","ranges":[{"startOffset":48,"endOffset":468,"count":0}],"isBlockCoverage":false}]},{"scriptId":"831","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/event/custom-event.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":311,"count":1}],"isBlockCoverage":true},{"functionName":"CustomEvent","ranges":[{"startOffset":48,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"832","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/event/event-target.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4070,"count":1}],"isBlockCoverage":true},{"functionName":"flattenOptions","ranges":[{"startOffset":15,"endOffset":357,"count":0}],"isBlockCoverage":false},{"functionName":"not","ranges":[{"startOffset":358,"endOffset":452,"count":0}],"isBlockCoverage":false},{"functionName":"hasListenerFilter","ranges":[{"startOffset":453,"endOffset":668,"count":0}],"isBlockCoverage":false},{"functionName":"addEventListener","ranges":[{"startOffset":781,"endOffset":2274,"count":0}],"isBlockCoverage":false},{"functionName":"removeEventListener","ranges":[{"startOffset":2374,"endOffset":3136,"count":0}],"isBlockCoverage":false},{"functionName":"dispatchEvent","ranges":[{"startOffset":3158,"endOffset":4035,"count":0}],"isBlockCoverage":false}]},{"scriptId":"833","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/just-extend/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1947,"count":1}],"isBlockCoverage":true},{"functionName":"extend","ranges":[{"startOffset":771,"endOffset":1735,"count":4},{"startOffset":917,"endOffset":947,"count":0},{"startOffset":1002,"endOffset":1058,"count":0},{"startOffset":1154,"endOffset":1716,"count":5},{"startOffset":1219,"endOffset":1712,"count":32},{"startOffset":1338,"endOffset":1359,"count":0},{"startOffset":1361,"endOffset":1650,"count":0}],"isBlockCoverage":true},{"functionName":"isCloneable","ranges":[{"startOffset":1737,"endOffset":1841,"count":0}],"isBlockCoverage":false},{"functionName":"isUnextendable","ranges":[{"startOffset":1843,"endOffset":1946,"count":4},{"startOffset":1915,"endOffset":1942,"count":1}],"isBlockCoverage":true}]},{"scriptId":"834","url":"node:internal/deps/undici/undici","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":539966,"count":1}],"isBlockCoverage":false},{"functionName":"__commonJS","ranges":[{"startOffset":83,"endOffset":222,"count":55}],"isBlockCoverage":true},{"functionName":"__require","ranges":[{"startOffset":96,"endOffset":222,"count":166},{"startOffset":132,"endOffset":206,"count":54}],"isBlockCoverage":true},{"functionName":"lib/core/symbols.js","ranges":[{"startOffset":285,"endOffset":2893,"count":1}],"isBlockCoverage":true},{"functionName":"lib/fetch/symbols.js","ranges":[{"startOffset":2961,"endOffset":3244,"count":1}],"isBlockCoverage":true},{"functionName":"lib/core/errors.js","ranges":[{"startOffset":3308,"endOffset":10942,"count":1}],"isBlockCoverage":true},{"functionName":"UndiciError","ranges":[{"startOffset":3418,"endOffset":3538,"count":0}],"isBlockCoverage":false},{"functionName":"_ConnectTimeoutError","ranges":[{"startOffset":3631,"endOffset":3895,"count":0}],"isBlockCoverage":false},{"functionName":"_HeadersTimeoutError","ranges":[{"startOffset":3988,"endOffset":4252,"count":0}],"isBlockCoverage":false},{"functionName":"_HeadersOverflowError","ranges":[{"startOffset":4347,"endOffset":4615,"count":0}],"isBlockCoverage":false},{"functionName":"_BodyTimeoutError","ranges":[{"startOffset":4702,"endOffset":4954,"count":0}],"isBlockCoverage":false},{"functionName":"_ResponseStatusCodeError","ranges":[{"startOffset":5055,"endOffset":5494,"count":0}],"isBlockCoverage":false},{"functionName":"_InvalidArgumentError","ranges":[{"startOffset":5589,"endOffset":5852,"count":0}],"isBlockCoverage":false},{"functionName":"_InvalidReturnValueError","ranges":[{"startOffset":5953,"endOffset":6235,"count":0}],"isBlockCoverage":false},{"functionName":"_RequestAbortedError","ranges":[{"startOffset":6328,"endOffset":6569,"count":0}],"isBlockCoverage":false},{"functionName":"_InformationalError","ranges":[{"startOffset":6660,"endOffset":6909,"count":0}],"isBlockCoverage":false},{"functionName":"_RequestContentLengthMismatchError","ranges":[{"startOffset":7030,"endOffset":7369,"count":0}],"isBlockCoverage":false},{"functionName":"_ResponseContentLengthMismatchError","ranges":[{"startOffset":7492,"endOffset":7834,"count":0}],"isBlockCoverage":false},{"functionName":"_ClientDestroyedError","ranges":[{"startOffset":7929,"endOffset":8191,"count":0}],"isBlockCoverage":false},{"functionName":"_ClientClosedError","ranges":[{"startOffset":8280,"endOffset":8530,"count":0}],"isBlockCoverage":false},{"functionName":"_SocketError","ranges":[{"startOffset":8607,"endOffset":8875,"count":0}],"isBlockCoverage":false},{"functionName":"_NotSupportedError","ranges":[{"startOffset":8964,"endOffset":9220,"count":0}],"isBlockCoverage":false},{"functionName":"BalancedPoolMissingUpstreamError","ranges":[{"startOffset":9305,"endOffset":9597,"count":0}],"isBlockCoverage":false},{"functionName":"_HTTPParserError","ranges":[{"startOffset":9676,"endOffset":9942,"count":0}],"isBlockCoverage":false},{"functionName":"_ResponseExceededMaxSizeError","ranges":[{"startOffset":10053,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"lib/core/util.js","ranges":[{"startOffset":11002,"endOffset":24883,"count":1},{"startOffset":24834,"endOffset":24872,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11516,"endOffset":11532,"count":3}],"isBlockCoverage":true},{"functionName":"nop","ranges":[{"startOffset":11539,"endOffset":11561,"count":0}],"isBlockCoverage":false},{"functionName":"isStream","ranges":[{"startOffset":11566,"endOffset":11707,"count":0}],"isBlockCoverage":false},{"functionName":"isBlobLike","ranges":[{"startOffset":11712,"endOffset":11971,"count":0}],"isBlockCoverage":false},{"functionName":"buildURL","ranges":[{"startOffset":11976,"endOffset":12310,"count":0}],"isBlockCoverage":false},{"functionName":"parseURL","ranges":[{"startOffset":12315,"endOffset":14516,"count":0}],"isBlockCoverage":false},{"functionName":"parseOrigin","ranges":[{"startOffset":14521,"endOffset":14722,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname","ranges":[{"startOffset":14727,"endOffset":15022,"count":0}],"isBlockCoverage":false},{"functionName":"getServerName","ranges":[{"startOffset":15027,"endOffset":15290,"count":0}],"isBlockCoverage":false},{"functionName":"deepClone","ranges":[{"startOffset":15295,"endOffset":15372,"count":1}],"isBlockCoverage":true},{"functionName":"isAsyncIterable","ranges":[{"startOffset":15377,"endOffset":15495,"count":0}],"isBlockCoverage":false},{"functionName":"isIterable","ranges":[{"startOffset":15500,"endOffset":15661,"count":0}],"isBlockCoverage":false},{"functionName":"bodyLength","ranges":[{"startOffset":15666,"endOffset":16136,"count":0}],"isBlockCoverage":false},{"functionName":"isDestroyed","ranges":[{"startOffset":16141,"endOffset":16249,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableAborted","ranges":[{"startOffset":16254,"endOffset":16417,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":16422,"endOffset":16969,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeepAliveTimeout","ranges":[{"startOffset":17024,"endOffset":17179,"count":0}],"isBlockCoverage":false},{"functionName":"parseHeaders","ranges":[{"startOffset":17184,"endOffset":18003,"count":0}],"isBlockCoverage":false},{"functionName":"parseRawHeaders","ranges":[{"startOffset":18008,"endOffset":18897,"count":0}],"isBlockCoverage":false},{"functionName":"isBuffer","ranges":[{"startOffset":18902,"endOffset":19005,"count":0}],"isBlockCoverage":false},{"functionName":"validateHandler","ranges":[{"startOffset":19010,"endOffset":20220,"count":0}],"isBlockCoverage":false},{"functionName":"isDisturbed","ranges":[{"startOffset":20225,"endOffset":20479,"count":0}],"isBlockCoverage":false},{"functionName":"isErrored","ranges":[{"startOffset":20484,"endOffset":20652,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":20657,"endOffset":20829,"count":0}],"isBlockCoverage":false},{"functionName":"getSocketInfo","ranges":[{"startOffset":20834,"endOffset":21215,"count":0}],"isBlockCoverage":false},{"functionName":"convertIterableToBuffer","ranges":[{"startOffset":21220,"endOffset":21396,"count":0}],"isBlockCoverage":false},{"functionName":"ReadableStreamFrom","ranges":[{"startOffset":21425,"endOffset":22391,"count":0}],"isBlockCoverage":false},{"functionName":"isFormDataLike","ranges":[{"startOffset":22396,"endOffset":22756,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfAborted","ranges":[{"startOffset":22761,"endOffset":23116,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortListener","ranges":[{"startOffset":23137,"endOffset":23761,"count":0}],"isBlockCoverage":false},{"functionName":"toUSVString","ranges":[{"startOffset":23825,"endOffset":24041,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/constants.js","ranges":[{"startOffset":24954,"endOffset":28925,"count":1},{"startOffset":27746,"endOffset":27882,"count":0},{"startOffset":27954,"endOffset":28540,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27750,"endOffset":27879,"count":0}],"isBlockCoverage":true},{"functionName":"structuredClone2","ranges":[{"startOffset":28144,"endOffset":28540,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/global.js","ranges":[{"startOffset":28990,"endOffset":29955,"count":1}],"isBlockCoverage":true},{"functionName":"getGlobalOrigin","ranges":[{"startOffset":29115,"endOffset":29188,"count":0}],"isBlockCoverage":false},{"functionName":"setGlobalOrigin","ranges":[{"startOffset":29193,"endOffset":29875,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/util.js","ranges":[{"startOffset":30017,"endOffset":47923,"count":1},{"startOffset":30511,"endOffset":30524,"count":0},{"startOffset":46714,"endOffset":46781,"count":0}],"isBlockCoverage":true},{"functionName":"responseURL","ranges":[{"startOffset":30529,"endOffset":30711,"count":0}],"isBlockCoverage":false},{"functionName":"responseLocationURL","ranges":[{"startOffset":30716,"endOffset":31166,"count":0}],"isBlockCoverage":false},{"functionName":"requestCurrentURL","ranges":[{"startOffset":31171,"endOffset":31272,"count":0}],"isBlockCoverage":false},{"functionName":"requestBadPort","ranges":[{"startOffset":31277,"endOffset":31491,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorLike","ranges":[{"startOffset":31496,"endOffset":31661,"count":0}],"isBlockCoverage":false},{"functionName":"isValidReasonPhrase","ranges":[{"startOffset":31666,"endOffset":31982,"count":0}],"isBlockCoverage":false},{"functionName":"isTokenChar","ranges":[{"startOffset":31987,"endOffset":32277,"count":0}],"isBlockCoverage":false},{"functionName":"isValidHTTPToken","ranges":[{"startOffset":32282,"endOffset":32615,"count":0}],"isBlockCoverage":false},{"functionName":"isValidHeaderName","ranges":[{"startOffset":32620,"endOffset":32788,"count":0}],"isBlockCoverage":false},{"functionName":"isValidHeaderValue","ranges":[{"startOffset":32793,"endOffset":33174,"count":0}],"isBlockCoverage":false},{"functionName":"setRequestReferrerPolicyOnRedirect","ranges":[{"startOffset":33179,"endOffset":33760,"count":0}],"isBlockCoverage":false},{"functionName":"crossOriginResourcePolicyCheck","ranges":[{"startOffset":33765,"endOffset":33838,"count":0}],"isBlockCoverage":false},{"functionName":"corsCheck","ranges":[{"startOffset":33843,"endOffset":33895,"count":0}],"isBlockCoverage":false},{"functionName":"TAOCheck","ranges":[{"startOffset":33900,"endOffset":33951,"count":0}],"isBlockCoverage":false},{"functionName":"appendFetchMetadata","ranges":[{"startOffset":33956,"endOffset":34124,"count":0}],"isBlockCoverage":false},{"functionName":"appendRequestOriginHeader","ranges":[{"startOffset":34129,"endOffset":35251,"count":0}],"isBlockCoverage":false},{"functionName":"coarsenedSharedCurrentTime","ranges":[{"startOffset":35256,"endOffset":35363,"count":0}],"isBlockCoverage":false},{"functionName":"createOpaqueTimingInfo","ranges":[{"startOffset":35368,"endOffset":35844,"count":0}],"isBlockCoverage":false},{"functionName":"makePolicyContainer","ranges":[{"startOffset":35849,"endOffset":35969,"count":0}],"isBlockCoverage":false},{"functionName":"clonePolicyContainer","ranges":[{"startOffset":35974,"endOffset":36107,"count":0}],"isBlockCoverage":false},{"functionName":"determineRequestsReferrer","ranges":[{"startOffset":36112,"endOffset":38005,"count":0}],"isBlockCoverage":false},{"functionName":"stripURLForReferrer","ranges":[{"startOffset":38010,"endOffset":38404,"count":0}],"isBlockCoverage":false},{"functionName":"isURLPotentiallyTrustworthy","ranges":[{"startOffset":38409,"endOffset":39380,"count":0}],"isBlockCoverage":false},{"functionName":"bytesMatch","ranges":[{"startOffset":39385,"endOffset":40691,"count":0}],"isBlockCoverage":false},{"functionName":"parseMetadata","ranges":[{"startOffset":40811,"endOffset":41447,"count":0}],"isBlockCoverage":false},{"functionName":"tryUpgradeRequestToAPotentiallyTrustworthyURL","ranges":[{"startOffset":41452,"endOffset":41523,"count":0}],"isBlockCoverage":false},{"functionName":"sameOrigin","ranges":[{"startOffset":41528,"endOffset":41786,"count":0}],"isBlockCoverage":false},{"functionName":"createDeferredPromise","ranges":[{"startOffset":41791,"endOffset":42026,"count":0}],"isBlockCoverage":false},{"functionName":"isAborted","ranges":[{"startOffset":42031,"endOffset":42127,"count":0}],"isBlockCoverage":false},{"functionName":"isCancelled","ranges":[{"startOffset":42132,"endOffset":42279,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeMethod","ranges":[{"startOffset":42284,"endOffset":42423,"count":0}],"isBlockCoverage":false},{"functionName":"serializeJavascriptValueToJSONString","ranges":[{"startOffset":42428,"endOffset":42697,"count":0}],"isBlockCoverage":false},{"functionName":"makeIterator","ranges":[{"startOffset":42801,"endOffset":43872,"count":0}],"isBlockCoverage":false},{"functionName":"iteratorResult","ranges":[{"startOffset":43877,"endOffset":44249,"count":0}],"isBlockCoverage":false},{"functionName":"fullyReadBody","ranges":[{"startOffset":44254,"endOffset":44693,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStreamLike","ranges":[{"startOffset":44750,"endOffset":45029,"count":0}],"isBlockCoverage":false},{"functionName":"isomorphicDecode","ranges":[{"startOffset":45075,"endOffset":45316,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamClose","ranges":[{"startOffset":45321,"endOffset":45539,"count":0}],"isBlockCoverage":false},{"functionName":"isomorphicEncode","ranges":[{"startOffset":45544,"endOffset":45703,"count":0}],"isBlockCoverage":false},{"functionName":"readAllBytes","ranges":[{"startOffset":45708,"endOffset":46144,"count":0}],"isBlockCoverage":false},{"functionName":"urlIsLocal","ranges":[{"startOffset":46149,"endOffset":46335,"count":0}],"isBlockCoverage":false},{"functionName":"urlHasHttpsScheme","ranges":[{"startOffset":46340,"endOffset":46505,"count":0}],"isBlockCoverage":false},{"functionName":"urlIsHttpHttpsScheme","ranges":[{"startOffset":46510,"endOffset":46682,"count":0}],"isBlockCoverage":false},{"functionName":"hasOwn","ranges":[{"startOffset":46718,"endOffset":46780,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/webidl.js","ranges":[{"startOffset":47988,"endOffset":60178,"count":1}],"isBlockCoverage":true},{"functionName":"webidl.errors.exception","ranges":[{"startOffset":48262,"endOffset":48356,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.errors.conversionFailed","ranges":[{"startOffset":48395,"endOffset":48693,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.errors.invalidArgument","ranges":[{"startOffset":48731,"endOffset":48906,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.brandCheck","ranges":[{"startOffset":48932,"endOffset":49176,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.argumentLengthCheck","ranges":[{"startOffset":49211,"endOffset":49468,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.illegalConstructor","ranges":[{"startOffset":49502,"endOffset":49636,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.util.Type","ranges":[{"startOffset":49661,"endOffset":50176,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.util.ConvertToInt","ranges":[{"startOffset":50209,"endOffset":52074,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.util.IntegerPart","ranges":[{"startOffset":52106,"endOffset":52232,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.sequenceConverter","ranges":[{"startOffset":52265,"endOffset":53031,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":52300,"endOffset":53024,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.recordConverter","ranges":[{"startOffset":53062,"endOffset":54056,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":53116,"endOffset":54049,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.interfaceConverter","ranges":[{"startOffset":54090,"endOffset":54390,"count":7}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":54117,"endOffset":54383,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.dictionaryConverter","ranges":[{"startOffset":54425,"endOffset":55938,"count":7}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":54461,"endOffset":55931,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.nullableConverter","ranges":[{"startOffset":55971,"endOffset":56114,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":56006,"endOffset":56107,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.DOMString","ranges":[{"startOffset":56150,"endOffset":56415,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.ByteString","ranges":[{"startOffset":56452,"endOffset":56876,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.boolean","ranges":[{"startOffset":56957,"endOffset":57020,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.any","ranges":[{"startOffset":57050,"endOffset":57085,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.long long","ranges":[{"startOffset":57124,"endOffset":57218,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.unsigned long long","ranges":[{"startOffset":57266,"endOffset":57362,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.unsigned long","ranges":[{"startOffset":57405,"endOffset":57501,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.unsigned short","ranges":[{"startOffset":57545,"endOffset":57653,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.ArrayBuffer","ranges":[{"startOffset":57691,"endOffset":58187,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.TypedArray","ranges":[{"startOffset":58224,"endOffset":58757,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.DataView","ranges":[{"startOffset":58792,"endOffset":59272,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.BufferSource","ranges":[{"startOffset":59311,"endOffset":59714,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/headers.js","ranges":[{"startOffset":60245,"endOffset":72158,"count":1}],"isBlockCoverage":true},{"functionName":"headerValueNormalize","ranges":[{"startOffset":60731,"endOffset":60962,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":60967,"endOffset":61799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61822,"endOffset":64537,"count":0}],"isBlockCoverage":true},{"functionName":"_Headers","ranges":[{"startOffset":64580,"endOffset":64818,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":64884,"endOffset":65803,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":65869,"endOffset":66553,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":66616,"endOffset":67055,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":67118,"endOffset":67562,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":67625,"endOffset":68529,"count":0}],"isBlockCoverage":false},{"functionName":"getSetCookie","ranges":[{"startOffset":68601,"endOffset":68794,"count":0}],"isBlockCoverage":false},{"functionName":"Headers","ranges":[{"startOffset":68878,"endOffset":69581,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":69588,"endOffset":69779,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":69786,"endOffset":69981,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":69988,"endOffset":70188,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":70330,"endOffset":70812,"count":0}],"isBlockCoverage":false},{"functionName":"Headers","ranges":[{"startOffset":70819,"endOffset":70951,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.HeadersInit","ranges":[{"startOffset":71606,"endOffset":72077,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/deps/streamsearch/sbmh.js","ranges":[{"startOffset":72256,"endOffset":76737,"count":1}],"isBlockCoverage":true},{"functionName":"SBMH","ranges":[{"startOffset":72466,"endOffset":73336,"count":0}],"isBlockCoverage":false},{"functionName":"SBMH.reset","ranges":[{"startOffset":73398,"endOffset":73497,"count":0}],"isBlockCoverage":false},{"functionName":"SBMH.push","ranges":[{"startOffset":73525,"endOffset":73844,"count":0}],"isBlockCoverage":false},{"functionName":"SBMH._sbmh_feed","ranges":[{"startOffset":73878,"endOffset":76314,"count":0}],"isBlockCoverage":false},{"functionName":"SBMH._sbmh_lookup_char","ranges":[{"startOffset":76355,"endOffset":76464,"count":0}],"isBlockCoverage":false},{"functionName":"SBMH._sbmh_memcmp","ranges":[{"startOffset":76500,"endOffset":76704,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js","ranges":[{"startOffset":76844,"endOffset":77261,"count":1}],"isBlockCoverage":true},{"functionName":"PartStream","ranges":[{"startOffset":77055,"endOffset":77127,"count":0}],"isBlockCoverage":false},{"functionName":"PartStream._read","ranges":[{"startOffset":77203,"endOffset":77222,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/utils/getLimit.js","ranges":[{"startOffset":77359,"endOffset":77818,"count":1}],"isBlockCoverage":true},{"functionName":"getLimit","ranges":[{"startOffset":77473,"endOffset":77813,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/deps/dicer/lib/HeaderParser.js","ranges":[{"startOffset":77929,"endOffset":80938,"count":1}],"isBlockCoverage":true},{"functionName":"HeaderParser","ranges":[{"startOffset":78344,"endOffset":79292,"count":0}],"isBlockCoverage":false},{"functionName":"HeaderParser.push","ranges":[{"startOffset":79369,"endOffset":79480,"count":0}],"isBlockCoverage":false},{"functionName":"HeaderParser.reset","ranges":[{"startOffset":79517,"endOffset":79635,"count":0}],"isBlockCoverage":false},{"functionName":"HeaderParser._finish","ranges":[{"startOffset":79674,"endOffset":80005,"count":0}],"isBlockCoverage":false},{"functionName":"HeaderParser._parseHeader","ranges":[{"startOffset":80049,"endOffset":80897,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/deps/dicer/lib/Dicer.js","ranges":[{"startOffset":81035,"endOffset":88306,"count":1}],"isBlockCoverage":true},{"functionName":"EMPTY_FN","ranges":[{"startOffset":81480,"endOffset":81498,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer","ranges":[{"startOffset":81504,"endOffset":82568,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer.emit","ranges":[{"startOffset":82633,"endOffset":83591,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer._write","ranges":[{"startOffset":83622,"endOffset":84446,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer.reset","ranges":[{"startOffset":84476,"endOffset":84581,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer.setBoundary","ranges":[{"startOffset":84617,"endOffset":84857,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer._ignore","ranges":[{"startOffset":84889,"endOffset":85064,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer._oninfo","ranges":[{"startOffset":85096,"endOffset":88044,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer._unpause","ranges":[{"startOffset":88077,"endOffset":88272,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/utils/decodeText.js","ranges":[{"startOffset":88408,"endOffset":89247,"count":1}],"isBlockCoverage":true},{"functionName":"decodeText","ranges":[{"startOffset":88669,"endOffset":89209,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/utils/parseParams.js","ranges":[{"startOffset":89351,"endOffset":92326,"count":1}],"isBlockCoverage":true},{"functionName":"encodedReplacer","ranges":[{"startOffset":89536,"endOffset":89635,"count":0}],"isBlockCoverage":false},{"functionName":"parseParams","ranges":[{"startOffset":89640,"endOffset":92287,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/utils/basename.js","ranges":[{"startOffset":92424,"endOffset":92940,"count":1}],"isBlockCoverage":true},{"functionName":"basename","ranges":[{"startOffset":92538,"endOffset":92935,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/types/multipart.js","ranges":[{"startOffset":93040,"endOffset":102334,"count":1}],"isBlockCoverage":true},{"functionName":"Multipart","ranges":[{"startOffset":93650,"endOffset":101498,"count":0}],"isBlockCoverage":false},{"functionName":"Multipart.write","ranges":[{"startOffset":101531,"endOffset":101721,"count":0}],"isBlockCoverage":false},{"functionName":"Multipart.end","ranges":[{"startOffset":101753,"endOffset":102022,"count":0}],"isBlockCoverage":false},{"functionName":"skipPart","ranges":[{"startOffset":102028,"endOffset":102080,"count":0}],"isBlockCoverage":false},{"functionName":"FileStream","ranges":[{"startOffset":102085,"endOffset":102207,"count":0}],"isBlockCoverage":false},{"functionName":"FileStream._read","ranges":[{"startOffset":102277,"endOffset":102296,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/utils/Decoder.js","ranges":[{"startOffset":102430,"endOffset":104808,"count":1}],"isBlockCoverage":true},{"functionName":"Decoder","ranges":[{"startOffset":103724,"endOffset":103778,"count":0}],"isBlockCoverage":false},{"functionName":"Decoder.write","ranges":[{"startOffset":103809,"endOffset":104694,"count":0}],"isBlockCoverage":false},{"functionName":"Decoder.reset","ranges":[{"startOffset":104726,"endOffset":104772,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/types/urlencoded.js","ranges":[{"startOffset":104910,"endOffset":111673,"count":1}],"isBlockCoverage":true},{"functionName":"UrlEncoded","ranges":[{"startOffset":105226,"endOffset":106259,"count":0}],"isBlockCoverage":false},{"functionName":"UrlEncoded.write","ranges":[{"startOffset":106293,"endOffset":110978,"count":0}],"isBlockCoverage":false},{"functionName":"UrlEncoded.end","ranges":[{"startOffset":111011,"endOffset":111634,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/main.js","ranges":[{"startOffset":111757,"endOffset":114255,"count":1}],"isBlockCoverage":true},{"functionName":"Busboy","ranges":[{"startOffset":112120,"endOffset":112926,"count":0}],"isBlockCoverage":false},{"functionName":"Busboy.emit","ranges":[{"startOffset":112993,"endOffset":113282,"count":0}],"isBlockCoverage":false},{"functionName":"Busboy.getParserByHeaders","ranges":[{"startOffset":113326,"endOffset":114004,"count":0}],"isBlockCoverage":false},{"functionName":"Busboy._write","ranges":[{"startOffset":114036,"endOffset":114110,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/dataURL.js","ranges":[{"startOffset":114322,"endOffset":123933,"count":1}],"isBlockCoverage":true},{"functionName":"dataURLProcessor","ranges":[{"startOffset":114741,"endOffset":116058,"count":0}],"isBlockCoverage":false},{"functionName":"URLSerializer","ranges":[{"startOffset":116063,"endOffset":116341,"count":0}],"isBlockCoverage":false},{"functionName":"collectASequenceOfCodePoints","ranges":[{"startOffset":116346,"endOffset":116632,"count":0}],"isBlockCoverage":false},{"functionName":"collectASequenceOfCodePointsFast","ranges":[{"startOffset":116637,"endOffset":116998,"count":0}],"isBlockCoverage":false},{"functionName":"stringPercentDecode","ranges":[{"startOffset":117003,"endOffset":117124,"count":0}],"isBlockCoverage":false},{"functionName":"percentDecode","ranges":[{"startOffset":117129,"endOffset":117732,"count":0}],"isBlockCoverage":false},{"functionName":"parseMIMEType","ranges":[{"startOffset":117737,"endOffset":120513,"count":0}],"isBlockCoverage":false},{"functionName":"forgivingBase64","ranges":[{"startOffset":120518,"endOffset":121069,"count":0}],"isBlockCoverage":false},{"functionName":"collectAnHTTPQuotedString","ranges":[{"startOffset":121074,"endOffset":122059,"count":0}],"isBlockCoverage":false},{"functionName":"serializeAMimeType","ranges":[{"startOffset":122064,"endOffset":122612,"count":0}],"isBlockCoverage":false},{"functionName":"isHTTPWhiteSpace","ranges":[{"startOffset":122617,"endOffset":122733,"count":0}],"isBlockCoverage":false},{"functionName":"removeHTTPWhitespace","ranges":[{"startOffset":122738,"endOffset":123131,"count":0}],"isBlockCoverage":false},{"functionName":"isASCIIWhitespace","ranges":[{"startOffset":123136,"endOffset":123270,"count":0}],"isBlockCoverage":false},{"functionName":"removeASCIIWhitespace","ranges":[{"startOffset":123275,"endOffset":123671,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/file.js","ranges":[{"startOffset":123994,"endOffset":129773,"count":1}],"isBlockCoverage":true},{"functionName":"_File","ranges":[{"startOffset":124441,"endOffset":125289,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":125296,"endOffset":125390,"count":0}],"isBlockCoverage":false},{"functionName":"get lastModified","ranges":[{"startOffset":125397,"endOffset":125507,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":125514,"endOffset":125608,"count":0}],"isBlockCoverage":false},{"functionName":"_FileLike","ranges":[{"startOffset":125659,"endOffset":125948,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":125955,"endOffset":126078,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBuffer","ranges":[{"startOffset":126085,"endOffset":126218,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":126225,"endOffset":126346,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":126353,"endOffset":126472,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":126479,"endOffset":126586,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":126593,"endOffset":126700,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":126707,"endOffset":126805,"count":0}],"isBlockCoverage":false},{"functionName":"get lastModified","ranges":[{"startOffset":126812,"endOffset":126926,"count":0}],"isBlockCoverage":false},{"functionName":"FileLike","ranges":[{"startOffset":126933,"endOffset":126992,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.BlobPart","ranges":[{"startOffset":127312,"endOffset":127678,"count":0}],"isBlockCoverage":false},{"functionName":"get defaultValue","ranges":[{"startOffset":127957,"endOffset":128016,"count":0}],"isBlockCoverage":false},{"functionName":"converter","ranges":[{"startOffset":128188,"endOffset":128410,"count":0}],"isBlockCoverage":false},{"functionName":"processBlobParts","ranges":[{"startOffset":128468,"endOffset":129235,"count":0}],"isBlockCoverage":false},{"functionName":"convertLineEndingsNative","ranges":[{"startOffset":129240,"endOffset":129456,"count":0}],"isBlockCoverage":false},{"functionName":"isFileLike","ranges":[{"startOffset":129461,"endOffset":129715,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/formdata.js","ranges":[{"startOffset":129842,"endOffset":135861,"count":1},{"startOffset":130212,"endOffset":130225,"count":0}],"isBlockCoverage":true},{"functionName":"_FormData","ranges":[{"startOffset":130270,"endOffset":130541,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":130548,"endOffset":131280,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":131287,"endOffset":131560,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":131567,"endOffset":131933,"count":0}],"isBlockCoverage":false},{"functionName":"getAll","ranges":[{"startOffset":131940,"endOffset":132233,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":132240,"endOffset":132509,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":132516,"endOffset":133542,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":133549,"endOffset":133765,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":133772,"endOffset":133979,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":133986,"endOffset":134197,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":134340,"endOffset":134825,"count":0}],"isBlockCoverage":false},{"functionName":"makeEntry","ranges":[{"startOffset":135057,"endOffset":135821,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/body.js","ranges":[{"startOffset":135922,"endOffset":149206,"count":1},{"startOffset":136855,"endOffset":136868,"count":0}],"isBlockCoverage":true},{"functionName":"extractBody","ranges":[{"startOffset":136874,"endOffset":141650,"count":0}],"isBlockCoverage":false},{"functionName":"safelyExtractBody","ranges":[{"startOffset":141655,"endOffset":142054,"count":0}],"isBlockCoverage":false},{"functionName":"cloneBody","ranges":[{"startOffset":142059,"endOffset":142387,"count":0}],"isBlockCoverage":false},{"functionName":"consumeBody","ranges":[{"startOffset":142392,"endOffset":142868,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfAborted","ranges":[{"startOffset":142873,"endOffset":143022,"count":0}],"isBlockCoverage":false},{"functionName":"bodyMixinMethods","ranges":[{"startOffset":143027,"endOffset":147431,"count":2}],"isBlockCoverage":true},{"functionName":"blob","ranges":[{"startOffset":143097,"endOffset":143472,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBuffer","ranges":[{"startOffset":143482,"endOffset":143632,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":143642,"endOffset":143727,"count":0}],"isBlockCoverage":false},{"functionName":"json","ranges":[{"startOffset":143737,"endOffset":143825,"count":0}],"isBlockCoverage":false},{"functionName":"formData","ranges":[{"startOffset":143835,"endOffset":147394,"count":0}],"isBlockCoverage":false},{"functionName":"mixinBody","ranges":[{"startOffset":147436,"endOffset":147544,"count":2}],"isBlockCoverage":true},{"functionName":"specConsumeBody","ranges":[{"startOffset":147549,"endOffset":148319,"count":0}],"isBlockCoverage":false},{"functionName":"bodyUnusable","ranges":[{"startOffset":148324,"endOffset":148443,"count":0}],"isBlockCoverage":false},{"functionName":"utf8DecodeBytes","ranges":[{"startOffset":148448,"endOffset":148742,"count":0}],"isBlockCoverage":false},{"functionName":"parseJSONFromBytes","ranges":[{"startOffset":148747,"endOffset":148838,"count":0}],"isBlockCoverage":false},{"functionName":"bodyMimeType","ranges":[{"startOffset":148843,"endOffset":149094,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/response.js","ranges":[{"startOffset":149275,"endOffset":162618,"count":1},{"startOffset":150251,"endOffset":150290,"count":0}],"isBlockCoverage":true},{"functionName":"error","ranges":[{"startOffset":150383,"endOffset":150833,"count":0}],"isBlockCoverage":false},{"functionName":"json","ranges":[{"startOffset":150905,"endOffset":151658,"count":0}],"isBlockCoverage":false},{"functionName":"redirect","ranges":[{"startOffset":151751,"endOffset":152828,"count":0}],"isBlockCoverage":false},{"functionName":"_Response","ranges":[{"startOffset":152888,"endOffset":153601,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":153656,"endOffset":153754,"count":0}],"isBlockCoverage":false},{"functionName":"get url","ranges":[{"startOffset":153837,"endOffset":154103,"count":0}],"isBlockCoverage":false},{"functionName":"get redirected","ranges":[{"startOffset":154177,"endOffset":154295,"count":0}],"isBlockCoverage":false},{"functionName":"get status","ranges":[{"startOffset":154338,"endOffset":154440,"count":0}],"isBlockCoverage":false},{"functionName":"get ok","ranges":[{"startOffset":154507,"endOffset":154642,"count":0}],"isBlockCoverage":false},{"functionName":"get statusText","ranges":[{"startOffset":154693,"endOffset":154803,"count":0}],"isBlockCoverage":false},{"functionName":"get headers","ranges":[{"startOffset":154858,"endOffset":154956,"count":0}],"isBlockCoverage":false},{"functionName":"get body","ranges":[{"startOffset":154963,"endOffset":155095,"count":0}],"isBlockCoverage":false},{"functionName":"get bodyUsed","ranges":[{"startOffset":155102,"endOffset":155252,"count":0}],"isBlockCoverage":false},{"functionName":"clone","ranges":[{"startOffset":155297,"endOffset":156067,"count":0}],"isBlockCoverage":false},{"functionName":"cloneResponse","ranges":[{"startOffset":156754,"endOffset":157150,"count":0}],"isBlockCoverage":false},{"functionName":"makeResponse","ranges":[{"startOffset":157155,"endOffset":157633,"count":0}],"isBlockCoverage":false},{"functionName":"makeNetworkError","ranges":[{"startOffset":157638,"endOffset":157937,"count":0}],"isBlockCoverage":false},{"functionName":"makeFilteredResponse","ranges":[{"startOffset":157942,"endOffset":158334,"count":0}],"isBlockCoverage":false},{"functionName":"filterResponse","ranges":[{"startOffset":158339,"endOffset":159220,"count":0}],"isBlockCoverage":false},{"functionName":"makeAppropriateNetworkError","ranges":[{"startOffset":159225,"endOffset":159577,"count":0}],"isBlockCoverage":false},{"functionName":"initializeResponse","ranges":[{"startOffset":159582,"endOffset":160837,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.XMLHttpRequestBodyInit","ranges":[{"startOffset":161157,"endOffset":161764,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.BodyInit","ranges":[{"startOffset":161799,"endOffset":162042,"count":0}],"isBlockCoverage":false},{"functionName":"lib/compat/dispatcher-weakref.js","ranges":[{"startOffset":162708,"endOffset":163790,"count":1}],"isBlockCoverage":true},{"functionName":"CompatWeakRef","ranges":[{"startOffset":162871,"endOffset":162927,"count":0}],"isBlockCoverage":false},{"functionName":"deref","ranges":[{"startOffset":162934,"endOffset":163045,"count":0}],"isBlockCoverage":false},{"functionName":"CompatFinalizer","ranges":[{"startOffset":163093,"endOffset":163161,"count":2}],"isBlockCoverage":true},{"functionName":"register","ranges":[{"startOffset":163168,"endOffset":163426,"count":0}],"isBlockCoverage":false},{"functionName":"module2.exports","ranges":[{"startOffset":163456,"endOffset":163785,"count":2},{"startOffset":163628,"endOffset":163692,"count":0},{"startOffset":163752,"endOffset":163770,"count":0}],"isBlockCoverage":true},{"functionName":"lib/fetch/request.js","ranges":[{"startOffset":163857,"endOffset":187329,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":165132,"endOffset":165212,"count":0}],"isBlockCoverage":false},{"functionName":"_Request","ranges":[{"startOffset":165308,"endOffset":176562,"count":0}],"isBlockCoverage":false},{"functionName":"get method","ranges":[{"startOffset":176636,"endOffset":176737,"count":0}],"isBlockCoverage":false},{"functionName":"get url","ranges":[{"startOffset":176793,"endOffset":176903,"count":0}],"isBlockCoverage":false},{"functionName":"get headers","ranges":[{"startOffset":177143,"endOffset":177240,"count":0}],"isBlockCoverage":false},{"functionName":"get destination","ranges":[{"startOffset":177346,"endOffset":177457,"count":0}],"isBlockCoverage":false},{"functionName":"get referrer","ranges":[{"startOffset":177809,"endOffset":178104,"count":0}],"isBlockCoverage":false},{"functionName":"get referrerPolicy","ranges":[{"startOffset":178268,"endOffset":178385,"count":0}],"isBlockCoverage":false},{"functionName":"get mode","ranges":[{"startOffset":178568,"endOffset":178665,"count":0}],"isBlockCoverage":false},{"functionName":"get credentials","ranges":[{"startOffset":178887,"endOffset":178955,"count":0}],"isBlockCoverage":false},{"functionName":"get cache","ranges":[{"startOffset":179136,"endOffset":179235,"count":0}],"isBlockCoverage":false},{"functionName":"get redirect","ranges":[{"startOffset":179465,"endOffset":179570,"count":0}],"isBlockCoverage":false},{"functionName":"get integrity","ranges":[{"startOffset":179784,"endOffset":179891,"count":0}],"isBlockCoverage":false},{"functionName":"get keepalive","ranges":[{"startOffset":180016,"endOffset":180123,"count":0}],"isBlockCoverage":false},{"functionName":"get isReloadNavigation","ranges":[{"startOffset":180228,"endOffset":180351,"count":0}],"isBlockCoverage":false},{"functionName":"get isHistoryNavigation","ranges":[{"startOffset":180489,"endOffset":180614,"count":0}],"isBlockCoverage":false},{"functionName":"get signal","ranges":[{"startOffset":180804,"endOffset":180899,"count":0}],"isBlockCoverage":false},{"functionName":"get body","ranges":[{"startOffset":180906,"endOffset":181037,"count":0}],"isBlockCoverage":false},{"functionName":"get bodyUsed","ranges":[{"startOffset":181044,"endOffset":181193,"count":0}],"isBlockCoverage":false},{"functionName":"get duplex","ranges":[{"startOffset":181200,"endOffset":181288,"count":0}],"isBlockCoverage":false},{"functionName":"clone","ranges":[{"startOffset":181332,"endOffset":182374,"count":0}],"isBlockCoverage":false},{"functionName":"makeRequest","ranges":[{"startOffset":182410,"endOffset":183687,"count":0}],"isBlockCoverage":false},{"functionName":"cloneRequest","ranges":[{"startOffset":183692,"endOffset":183914,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.RequestInfo","ranges":[{"startOffset":184929,"endOffset":185170,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":186941,"endOffset":187045,"count":0}],"isBlockCoverage":false},{"functionName":"lib/dispatcher.js","ranges":[{"startOffset":187396,"endOffset":187800,"count":1}],"isBlockCoverage":true},{"functionName":"dispatch","ranges":[{"startOffset":187553,"endOffset":187617,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":187624,"endOffset":187685,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":187692,"endOffset":187755,"count":0}],"isBlockCoverage":false},{"functionName":"lib/dispatcher-base.js","ranges":[{"startOffset":187877,"endOffset":193107,"count":1}],"isBlockCoverage":true},{"functionName":"DispatcherBase","ranges":[{"startOffset":188461,"endOffset":188631,"count":1}],"isBlockCoverage":true},{"functionName":"get destroyed","ranges":[{"startOffset":188638,"endOffset":188696,"count":0}],"isBlockCoverage":false},{"functionName":"get closed","ranges":[{"startOffset":188703,"endOffset":188755,"count":0}],"isBlockCoverage":false},{"functionName":"get interceptors","ranges":[{"startOffset":188762,"endOffset":188826,"count":0}],"isBlockCoverage":false},{"functionName":"set interceptors","ranges":[{"startOffset":188833,"endOffset":189246,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":189253,"endOffset":190385,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":190392,"endOffset":191735,"count":0}],"isBlockCoverage":false},{"functionName":"DispatcherBase","ranges":[{"startOffset":191742,"endOffset":192247,"count":0}],"isBlockCoverage":false},{"functionName":"dispatch","ranges":[{"startOffset":192254,"endOffset":193058,"count":0}],"isBlockCoverage":false},{"functionName":"lib/node/fixed-queue.js","ranges":[{"startOffset":193181,"endOffset":194550,"count":1}],"isBlockCoverage":true},{"functionName":"FixedCircularBuffer","ranges":[{"startOffset":193339,"endOffset":193473,"count":0}],"isBlockCoverage":false},{"functionName":"isEmpty","ranges":[{"startOffset":193480,"endOffset":193540,"count":0}],"isBlockCoverage":false},{"functionName":"isFull","ranges":[{"startOffset":193547,"endOffset":193620,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":193627,"endOffset":193724,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":193731,"endOffset":193966,"count":0}],"isBlockCoverage":false},{"functionName":"FixedQueue","ranges":[{"startOffset":194021,"endOffset":194103,"count":0}],"isBlockCoverage":false},{"functionName":"isEmpty","ranges":[{"startOffset":194110,"endOffset":194165,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":194172,"endOffset":194332,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":194339,"endOffset":194539,"count":0}],"isBlockCoverage":false},{"functionName":"lib/pool-stats.js","ranges":[{"startOffset":194617,"endOffset":195308,"count":1}],"isBlockCoverage":true},{"functionName":"PoolStats","ranges":[{"startOffset":194811,"endOffset":194866,"count":0}],"isBlockCoverage":false},{"functionName":"get connected","ranges":[{"startOffset":194873,"endOffset":194938,"count":0}],"isBlockCoverage":false},{"functionName":"get free","ranges":[{"startOffset":194945,"endOffset":195000,"count":0}],"isBlockCoverage":false},{"functionName":"get pending","ranges":[{"startOffset":195007,"endOffset":195068,"count":0}],"isBlockCoverage":false},{"functionName":"get queued","ranges":[{"startOffset":195075,"endOffset":195134,"count":0}],"isBlockCoverage":false},{"functionName":"get running","ranges":[{"startOffset":195141,"endOffset":195202,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":195209,"endOffset":195264,"count":0}],"isBlockCoverage":false},{"functionName":"lib/pool-base.js","ranges":[{"startOffset":195373,"endOffset":200489,"count":1}],"isBlockCoverage":true},{"functionName":"PoolBase","ranges":[{"startOffset":196282,"endOffset":197639,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":197646,"endOffset":197702,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":197709,"endOffset":197814,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":197821,"endOffset":197944,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":197951,"endOffset":198130,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":198137,"endOffset":198304,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":198311,"endOffset":198478,"count":0}],"isBlockCoverage":false},{"functionName":"get stats","ranges":[{"startOffset":198485,"endOffset":198535,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":198542,"endOffset":198803,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":198810,"endOffset":199081,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":199088,"endOffset":199509,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":199516,"endOffset":199967,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":199974,"endOffset":200337,"count":0}],"isBlockCoverage":false},{"functionName":"lib/timers.js","ranges":[{"startOffset":200548,"endOffset":202615,"count":1}],"isBlockCoverage":true},{"functionName":"onTimeout","ranges":[{"startOffset":200686,"endOffset":201431,"count":0}],"isBlockCoverage":false},{"functionName":"refreshTimeout","ranges":[{"startOffset":201436,"endOffset":201751,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout","ranges":[{"startOffset":201784,"endOffset":201971,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":201978,"endOffset":202199,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":202206,"endOffset":202248,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":202286,"endOffset":202436,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimeout","ranges":[{"startOffset":202444,"endOffset":202604,"count":0}],"isBlockCoverage":false},{"functionName":"lib/core/request.js","ranges":[{"startOffset":202682,"endOffset":215948,"count":1},{"startOffset":203702,"endOffset":203974,"count":0}],"isBlockCoverage":true},{"functionName":"_Request","ranges":[{"startOffset":204016,"endOffset":209222,"count":0}],"isBlockCoverage":false},{"functionName":"onBodySent","ranges":[{"startOffset":209229,"endOffset":209438,"count":0}],"isBlockCoverage":false},{"functionName":"onRequestSent","ranges":[{"startOffset":209445,"endOffset":209584,"count":0}],"isBlockCoverage":false},{"functionName":"onConnect","ranges":[{"startOffset":209591,"endOffset":209729,"count":0}],"isBlockCoverage":false},{"functionName":"onHeaders","ranges":[{"startOffset":209736,"endOffset":210101,"count":0}],"isBlockCoverage":false},{"functionName":"onData","ranges":[{"startOffset":210108,"endOffset":210240,"count":0}],"isBlockCoverage":false},{"functionName":"onUpgrade","ranges":[{"startOffset":210247,"endOffset":210429,"count":0}],"isBlockCoverage":false},{"functionName":"onComplete","ranges":[{"startOffset":210436,"endOffset":210704,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":210711,"endOffset":210981,"count":0}],"isBlockCoverage":false},{"functionName":"addHeader","ranges":[{"startOffset":211024,"endOffset":211117,"count":0}],"isBlockCoverage":false},{"functionName":"Request","ranges":[{"startOffset":211131,"endOffset":211236,"count":0}],"isBlockCoverage":false},{"functionName":"Request","ranges":[{"startOffset":211250,"endOffset":212196,"count":0}],"isBlockCoverage":false},{"functionName":"Request","ranges":[{"startOffset":212210,"endOffset":212637,"count":0}],"isBlockCoverage":false},{"functionName":"processHeaderValue","ranges":[{"startOffset":212649,"endOffset":213038,"count":0}],"isBlockCoverage":false},{"functionName":"processHeader","ranges":[{"startOffset":213043,"endOffset":215913,"count":0}],"isBlockCoverage":false},{"functionName":"lib/core/connect.js","ranges":[{"startOffset":216014,"endOffset":221559,"count":1},{"startOffset":216351,"endOffset":217338,"count":0}],"isBlockCoverage":true},{"functionName":"WeakSessionCache","ranges":[{"startOffset":216407,"endOffset":216931,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":216940,"endOffset":217068,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":217077,"endOffset":217323,"count":0}],"isBlockCoverage":false},{"functionName":"SimpleSessionCache","ranges":[{"startOffset":217402,"endOffset":217557,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":217566,"endOffset":217646,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":217655,"endOffset":218030,"count":0}],"isBlockCoverage":false},{"functionName":"buildConnector","ranges":[{"startOffset":218050,"endOffset":220853,"count":0}],"isBlockCoverage":false},{"functionName":"setupTimeout","ranges":[{"startOffset":220858,"endOffset":221416,"count":0}],"isBlockCoverage":false},{"functionName":"onConnectTimeout","ranges":[{"startOffset":221421,"endOffset":221517,"count":0}],"isBlockCoverage":false},{"functionName":"lib/llhttp/utils.js","ranges":[{"startOffset":221623,"endOffset":222054,"count":1}],"isBlockCoverage":true},{"functionName":"enumToMap","ranges":[{"startOffset":221780,"endOffset":222014,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":221859,"endOffset":221988,"count":92},{"startOffset":221941,"endOffset":221980,"count":46}],"isBlockCoverage":true},{"functionName":"lib/llhttp/constants.js","ranges":[{"startOffset":222127,"endOffset":233589,"count":1},{"startOffset":230259,"endOffset":230373,"count":26},{"startOffset":231720,"endOffset":231760,"count":128},{"startOffset":232219,"endOffset":232296,"count":224},{"startOffset":232242,"endOffset":232290,"count":223}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":222925,"endOffset":224575,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":224646,"endOffset":224806,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":224875,"endOffset":225453,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225533,"endOffset":225780,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225878,"endOffset":228312,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":229795,"endOffset":229910,"count":46},{"startOffset":229832,"endOffset":229904,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":229934,"endOffset":230114,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":232364,"endOffset":232379,"count":224}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":232485,"endOffset":233227,"count":1}],"isBlockCoverage":true},{"functionName":"lib/handler/RedirectHandler.js","ranges":[{"startOffset":233674,"endOffset":239146,"count":1}],"isBlockCoverage":true},{"functionName":"BodyAsyncIterable","ranges":[{"startOffset":234081,"endOffset":234169,"count":0}],"isBlockCoverage":false},{"functionName":"BodyAsyncIterable","ranges":[{"startOffset":234176,"endOffset":234324,"count":0}],"isBlockCoverage":false},{"functionName":"RedirectHandler","ranges":[{"startOffset":234372,"endOffset":235786,"count":0}],"isBlockCoverage":false},{"functionName":"onConnect","ranges":[{"startOffset":235793,"endOffset":235913,"count":0}],"isBlockCoverage":false},{"functionName":"onUpgrade","ranges":[{"startOffset":235920,"endOffset":236029,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":236036,"endOffset":236097,"count":0}],"isBlockCoverage":false},{"functionName":"onHeaders","ranges":[{"startOffset":236104,"endOffset":237159,"count":0}],"isBlockCoverage":false},{"functionName":"onData","ranges":[{"startOffset":237166,"endOffset":237290,"count":0}],"isBlockCoverage":false},{"functionName":"onComplete","ranges":[{"startOffset":237297,"endOffset":237531,"count":0}],"isBlockCoverage":false},{"functionName":"onBodySent","ranges":[{"startOffset":237538,"endOffset":237656,"count":0}],"isBlockCoverage":false},{"functionName":"parseLocation","ranges":[{"startOffset":237668,"endOffset":237981,"count":0}],"isBlockCoverage":false},{"functionName":"shouldRemoveHeader","ranges":[{"startOffset":237986,"endOffset":238401,"count":0}],"isBlockCoverage":false},{"functionName":"cleanRequestHeaders","ranges":[{"startOffset":238406,"endOffset":239103,"count":0}],"isBlockCoverage":false},{"functionName":"lib/interceptor/redirectInterceptor.js","ranges":[{"startOffset":239243,"endOffset":239976,"count":1}],"isBlockCoverage":true},{"functionName":"createRedirectInterceptor","ranges":[{"startOffset":239380,"endOffset":239923,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":239475,"endOffset":239916,"count":0}],"isBlockCoverage":false},{"functionName":"lib/llhttp/llhttp-wasm.js","ranges":[{"startOffset":240052,"endOffset":314086,"count":0}],"isBlockCoverage":false},{"functionName":"lib/llhttp/llhttp_simd-wasm.js","ranges":[{"startOffset":314172,"endOffset":388191,"count":1}],"isBlockCoverage":true},{"functionName":"lib/client.js","ranges":[{"startOffset":388250,"endOffset":449364,"count":1},{"startOffset":390100,"endOffset":390146,"count":0},{"startOffset":390994,"endOffset":391232,"count":0}],"isBlockCoverage":true},{"functionName":"Client","ranges":[{"startOffset":391416,"endOffset":398623,"count":0}],"isBlockCoverage":false},{"functionName":"get pipelining","ranges":[{"startOffset":398630,"endOffset":398690,"count":0}],"isBlockCoverage":false},{"functionName":"set pipelining","ranges":[{"startOffset":398697,"endOffset":398791,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":398798,"endOffset":398880,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":398887,"endOffset":398967,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":398974,"endOffset":399053,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":399060,"endOffset":399170,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":399177,"endOffset":399387,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":399442,"endOffset":399523,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":399530,"endOffset":400227,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":400234,"endOffset":400446,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":400453,"endOffset":401351,"count":0}],"isBlockCoverage":false},{"functionName":"onHttp2SessionError","ranges":[{"startOffset":401363,"endOffset":401533,"count":0}],"isBlockCoverage":false},{"functionName":"onHttp2FrameError","ranges":[{"startOffset":401538,"endOffset":401796,"count":0}],"isBlockCoverage":false},{"functionName":"onHttp2SessionEnd","ranges":[{"startOffset":401801,"endOffset":401974,"count":0}],"isBlockCoverage":false},{"functionName":"onHTTP2GoAway","ranges":[{"startOffset":401979,"endOffset":402913,"count":0}],"isBlockCoverage":false},{"functionName":"lazyllhttp","ranges":[{"startOffset":403064,"endOffset":405463,"count":1},{"startOffset":403150,"endOffset":403173,"count":0},{"startOffset":403311,"endOffset":403435,"count":0}],"isBlockCoverage":true},{"functionName":"wasm_on_url","ranges":[{"startOffset":403565,"endOffset":403616,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_status","ranges":[{"startOffset":403644,"endOffset":403907,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_message_begin","ranges":[{"startOffset":403942,"endOffset":404072,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_header_field","ranges":[{"startOffset":404106,"endOffset":404374,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_header_value","ranges":[{"startOffset":404408,"endOffset":404676,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_headers_complete","ranges":[{"startOffset":404714,"endOffset":404939,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_body","ranges":[{"startOffset":404965,"endOffset":405226,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_message_complete","ranges":[{"startOffset":405264,"endOffset":405397,"count":0}],"isBlockCoverage":false},{"functionName":"Parser","ranges":[{"startOffset":405799,"endOffset":406700,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":406707,"endOffset":407280,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":407287,"endOffset":407788,"count":0}],"isBlockCoverage":false},{"functionName":"readMore","ranges":[{"startOffset":407795,"endOffset":408006,"count":0}],"isBlockCoverage":false},{"functionName":"execute","ranges":[{"startOffset":408013,"endOffset":409803,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":409810,"endOffset":410138,"count":0}],"isBlockCoverage":false},{"functionName":"onStatus","ranges":[{"startOffset":410145,"endOffset":410210,"count":0}],"isBlockCoverage":false},{"functionName":"onMessageBegin","ranges":[{"startOffset":410217,"endOffset":410463,"count":0}],"isBlockCoverage":false},{"functionName":"onHeaderField","ranges":[{"startOffset":410470,"endOffset":410748,"count":0}],"isBlockCoverage":false},{"functionName":"onHeaderValue","ranges":[{"startOffset":410755,"endOffset":411505,"count":0}],"isBlockCoverage":false},{"functionName":"trackHeader","ranges":[{"startOffset":411512,"endOffset":411701,"count":0}],"isBlockCoverage":false},{"functionName":"onUpgrade","ranges":[{"startOffset":411708,"endOffset":412973,"count":0}],"isBlockCoverage":false},{"functionName":"onHeadersComplete","ranges":[{"startOffset":412980,"endOffset":415912,"count":0}],"isBlockCoverage":false},{"functionName":"onBody","ranges":[{"startOffset":415919,"endOffset":416808,"count":0}],"isBlockCoverage":false},{"functionName":"onMessageComplete","ranges":[{"startOffset":416815,"endOffset":418614,"count":0}],"isBlockCoverage":false},{"functionName":"onParserTimeout","ranges":[{"startOffset":418626,"endOffset":419352,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketReadable","ranges":[{"startOffset":419357,"endOffset":419459,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketError","ranges":[{"startOffset":419464,"endOffset":419890,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":419895,"endOffset":420354,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketEnd","ranges":[{"startOffset":420359,"endOffset":420721,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketClose","ranges":[{"startOffset":420726,"endOffset":421885,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":421890,"endOffset":426497,"count":0}],"isBlockCoverage":false},{"functionName":"emitDrain","ranges":[{"startOffset":426502,"endOffset":426618,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":426623,"endOffset":426995,"count":0}],"isBlockCoverage":false},{"functionName":"_resume","ranges":[{"startOffset":427000,"endOffset":430574,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":430579,"endOffset":434477,"count":0}],"isBlockCoverage":false},{"functionName":"writeH2","ranges":[{"startOffset":434482,"endOffset":440454,"count":0}],"isBlockCoverage":false},{"functionName":"writeStream","ranges":[{"startOffset":440459,"endOffset":442899,"count":0}],"isBlockCoverage":false},{"functionName":"writeBlob","ranges":[{"startOffset":442904,"endOffset":443920,"count":0}],"isBlockCoverage":false},{"functionName":"writeIterable","ranges":[{"startOffset":443925,"endOffset":445751,"count":0}],"isBlockCoverage":false},{"functionName":"AsyncWriter","ranges":[{"startOffset":445788,"endOffset":446153,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":446160,"endOffset":447694,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":447701,"endOffset":448869,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":448876,"endOffset":449125,"count":0}],"isBlockCoverage":false},{"functionName":"errorRequest","ranges":[{"startOffset":449137,"endOffset":449330,"count":0}],"isBlockCoverage":false},{"functionName":"lib/pool.js","ranges":[{"startOffset":449419,"endOffset":452223,"count":1}],"isBlockCoverage":true},{"functionName":"defaultFactory","ranges":[{"startOffset":449952,"endOffset":450036,"count":0}],"isBlockCoverage":false},{"functionName":"Pool","ranges":[{"startOffset":450083,"endOffset":451770,"count":0}],"isBlockCoverage":false},{"functionName":"Pool","ranges":[{"startOffset":451777,"endOffset":452184,"count":0}],"isBlockCoverage":false},{"functionName":"lib/agent.js","ranges":[{"startOffset":452280,"endOffset":457151,"count":1}],"isBlockCoverage":true},{"functionName":"defaultFactory","ranges":[{"startOffset":453147,"endOffset":453289,"count":0}],"isBlockCoverage":false},{"functionName":"Agent","ranges":[{"startOffset":453343,"endOffset":455436,"count":1},{"startOffset":453494,"endOffset":453578,"count":0},{"startOffset":453607,"endOffset":453639,"count":0},{"startOffset":453640,"endOffset":453670,"count":0},{"startOffset":453672,"endOffset":453768,"count":0},{"startOffset":453840,"endOffset":453938,"count":0},{"startOffset":453959,"endOffset":453991,"count":0},{"startOffset":453993,"endOffset":454040,"count":0},{"startOffset":454092,"endOffset":454121,"count":0},{"startOffset":454122,"endOffset":454166,"count":0},{"startOffset":454167,"endOffset":454195,"count":0},{"startOffset":454373,"endOffset":454402,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":454672,"endOffset":454859,"count":0}],"isBlockCoverage":false},{"functionName":"Agent.","ranges":[{"startOffset":454924,"endOffset":455016,"count":0}],"isBlockCoverage":false},{"functionName":"Agent.","ranges":[{"startOffset":455045,"endOffset":455139,"count":0}],"isBlockCoverage":false},{"functionName":"Agent.","ranges":[{"startOffset":455171,"endOffset":455278,"count":0}],"isBlockCoverage":false},{"functionName":"Agent.","ranges":[{"startOffset":455315,"endOffset":455427,"count":0}],"isBlockCoverage":false},{"functionName":"Agent","ranges":[{"startOffset":455443,"endOffset":455684,"count":0}],"isBlockCoverage":false},{"functionName":"Agent","ranges":[{"startOffset":455691,"endOffset":456507,"count":0}],"isBlockCoverage":false},{"functionName":"Agent","ranges":[{"startOffset":456514,"endOffset":456801,"count":0}],"isBlockCoverage":false},{"functionName":"Agent","ranges":[{"startOffset":456808,"endOffset":457111,"count":0}],"isBlockCoverage":false},{"functionName":"lib/global.js","ranges":[{"startOffset":457211,"endOffset":458049,"count":1}],"isBlockCoverage":true},{"functionName":"setGlobalDispatcher","ranges":[{"startOffset":457514,"endOffset":457875,"count":1},{"startOffset":457610,"endOffset":457698,"count":0}],"isBlockCoverage":true},{"functionName":"getGlobalDispatcher","ranges":[{"startOffset":457880,"endOffset":457961,"count":1}],"isBlockCoverage":true},{"functionName":"lib/fetch/index.js","ranges":[{"startOffset":458112,"endOffset":496815,"count":1}],"isBlockCoverage":true},{"functionName":"Fetch","ranges":[{"startOffset":460148,"endOffset":460361,"count":0}],"isBlockCoverage":false},{"functionName":"terminate","ranges":[{"startOffset":460368,"endOffset":460581,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":460651,"endOffset":461010,"count":0}],"isBlockCoverage":false},{"functionName":"fetch2","ranges":[{"startOffset":461022,"endOffset":463266,"count":0}],"isBlockCoverage":false},{"functionName":"finalizeAndReportTiming","ranges":[{"startOffset":463271,"endOffset":464167,"count":0}],"isBlockCoverage":false},{"functionName":"markResourceTiming","ranges":[{"startOffset":464172,"endOffset":464456,"count":0}],"isBlockCoverage":false},{"functionName":"abortFetch","ranges":[{"startOffset":464461,"endOffset":465266,"count":0}],"isBlockCoverage":false},{"functionName":"fetching","ranges":[{"startOffset":465271,"endOffset":467467,"count":0}],"isBlockCoverage":false},{"functionName":"mainFetch","ranges":[{"startOffset":467472,"endOffset":471680,"count":0}],"isBlockCoverage":false},{"functionName":"schemeFetch","ranges":[{"startOffset":471685,"endOffset":474169,"count":0}],"isBlockCoverage":false},{"functionName":"finalizeResponse","ranges":[{"startOffset":474174,"endOffset":474403,"count":0}],"isBlockCoverage":false},{"functionName":"fetchFinale","ranges":[{"startOffset":474408,"endOffset":476159,"count":0}],"isBlockCoverage":false},{"functionName":"httpFetch","ranges":[{"startOffset":476164,"endOffset":477802,"count":0}],"isBlockCoverage":false},{"functionName":"httpRedirectFetch","ranges":[{"startOffset":477807,"endOffset":480327,"count":0}],"isBlockCoverage":false},{"functionName":"httpNetworkOrCacheFetch","ranges":[{"startOffset":480332,"endOffset":485602,"count":0}],"isBlockCoverage":false},{"functionName":"httpNetworkFetch","ranges":[{"startOffset":485607,"endOffset":496700,"count":0}],"isBlockCoverage":false},{"functionName":"lib/websocket/constants.js","ranges":[{"startOffset":496891,"endOffset":497729,"count":1}],"isBlockCoverage":true},{"functionName":"lib/websocket/symbols.js","ranges":[{"startOffset":497801,"endOffset":498228,"count":1}],"isBlockCoverage":true},{"functionName":"lib/websocket/events.js","ranges":[{"startOffset":498297,"endOffset":505445,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":498527,"endOffset":500104,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":500127,"endOffset":500868,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":500891,"endOffset":501863,"count":0}],"isBlockCoverage":true},{"functionName":"get defaultValue","ranges":[{"startOffset":504205,"endOffset":504256,"count":0}],"isBlockCoverage":false},{"functionName":"lib/websocket/util.js","ranges":[{"startOffset":505511,"endOffset":508434,"count":1}],"isBlockCoverage":true},{"functionName":"isEstablished","ranges":[{"startOffset":505785,"endOffset":505865,"count":0}],"isBlockCoverage":false},{"functionName":"isClosing","ranges":[{"startOffset":505870,"endOffset":505949,"count":0}],"isBlockCoverage":false},{"functionName":"isClosed","ranges":[{"startOffset":505954,"endOffset":506031,"count":0}],"isBlockCoverage":false},{"functionName":"fireEvent","ranges":[{"startOffset":506036,"endOffset":506209,"count":0}],"isBlockCoverage":false},{"functionName":"websocketMessageReceived","ranges":[{"startOffset":506214,"endOffset":506964,"count":0}],"isBlockCoverage":false},{"functionName":"isValidSubprotocol","ranges":[{"startOffset":506969,"endOffset":507573,"count":0}],"isBlockCoverage":false},{"functionName":"isValidStatusCode","ranges":[{"startOffset":507578,"endOffset":507838,"count":0}],"isBlockCoverage":false},{"functionName":"failWebsocketConnection","ranges":[{"startOffset":507843,"endOffset":508215,"count":0}],"isBlockCoverage":false},{"functionName":"lib/websocket/connection.js","ranges":[{"startOffset":508511,"endOffset":513960,"count":1},{"startOffset":509463,"endOffset":509476,"count":0}],"isBlockCoverage":true},{"functionName":"establishWebSocketConnection","ranges":[{"startOffset":509481,"endOffset":512871,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketData","ranges":[{"startOffset":512876,"endOffset":512990,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketClose","ranges":[{"startOffset":512995,"endOffset":513657,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketError","ranges":[{"startOffset":513662,"endOffset":513890,"count":0}],"isBlockCoverage":false},{"functionName":"lib/websocket/frame.js","ranges":[{"startOffset":514027,"endOffset":515653,"count":1},{"startOffset":514210,"endOffset":514223,"count":0}],"isBlockCoverage":true},{"functionName":"WebsocketFrameSend","ranges":[{"startOffset":514327,"endOffset":514431,"count":0}],"isBlockCoverage":false},{"functionName":"createFrame","ranges":[{"startOffset":514438,"endOffset":515586,"count":0}],"isBlockCoverage":false},{"functionName":"lib/websocket/receiver.js","ranges":[{"startOffset":515726,"endOffset":524591,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":516400,"endOffset":524538,"count":0}],"isBlockCoverage":true},{"functionName":"lib/websocket/websocket.js","ranges":[{"startOffset":524666,"endOffset":539174,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":525657,"endOffset":536213,"count":0}],"isBlockCoverage":true},{"functionName":"webidl.converters.DOMString or sequence","ranges":[{"startOffset":537693,"endOffset":537895,"count":0}],"isBlockCoverage":false},{"functionName":"get defaultValue","ranges":[{"startOffset":538080,"endOffset":538131,"count":0}],"isBlockCoverage":false},{"functionName":"converter","ranges":[{"startOffset":538195,"endOffset":538203,"count":0}],"isBlockCoverage":false},{"functionName":"get defaultValue","ranges":[{"startOffset":538213,"endOffset":538283,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.DOMString or sequence or WebSocketInit","ranges":[{"startOffset":538493,"endOffset":538730,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.WebSocketSendData","ranges":[{"startOffset":538774,"endOffset":539122,"count":0}],"isBlockCoverage":false},{"functionName":"fetch","ranges":[{"startOffset":539260,"endOffset":539438,"count":0}],"isBlockCoverage":false}]},{"scriptId":"835","url":"node:http","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5518,"count":1}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":2159,"endOffset":2251,"count":0}],"isBlockCoverage":false},{"functionName":"request","ranges":[{"startOffset":4201,"endOffset":4285,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4450,"endOffset":4552,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxIdleHTTPParsers","ranges":[{"startOffset":4863,"endOffset":4954,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5079,"endOffset":5288,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5412,"endOffset":5457,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":5461,"endOffset":5512,"count":0}],"isBlockCoverage":false}]},{"scriptId":"836","url":"node:_http_agent","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16988,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1703,"endOffset":1728,"count":0}],"isBlockCoverage":false},{"functionName":"ReusedHandle","ranges":[{"startOffset":2681,"endOffset":2760,"count":0}],"isBlockCoverage":false},{"functionName":"freeSocketErrorListener","ranges":[{"startOffset":2764,"endOffset":2943,"count":0}],"isBlockCoverage":false},{"functionName":"Agent","ranges":[{"startOffset":2945,"endOffset":6175,"count":1},{"startOffset":3007,"endOffset":3033,"count":0},{"startOffset":3584,"endOffset":3592,"count":0},{"startOffset":3770,"endOffset":3779,"count":0},{"startOffset":3975,"endOffset":4044,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4112,"endOffset":6058,"count":0}],"isBlockCoverage":false},{"functionName":"maybeEnableKeylog","ranges":[{"startOffset":6283,"endOffset":6808,"count":0}],"isBlockCoverage":false},{"functionName":"getName","ranges":[{"startOffset":6981,"endOffset":7479,"count":0}],"isBlockCoverage":false},{"functionName":"addRequest","ranges":[{"startOffset":7511,"endOffset":9674,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":9708,"endOffset":10802,"count":0}],"isBlockCoverage":false},{"functionName":"calculateServerName","ranges":[{"startOffset":10805,"endOffset":11625,"count":0}],"isBlockCoverage":false},{"functionName":"installListeners","ranges":[{"startOffset":11627,"endOffset":13115,"count":0}],"isBlockCoverage":false},{"functionName":"removeSocket","ranges":[{"startOffset":13148,"endOffset":14949,"count":0}],"isBlockCoverage":false},{"functionName":"keepSocketAlive","ranges":[{"startOffset":14986,"endOffset":15653,"count":0}],"isBlockCoverage":false},{"functionName":"reuseSocket","ranges":[{"startOffset":15686,"endOffset":15854,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":15883,"endOffset":16232,"count":0}],"isBlockCoverage":false},{"functionName":"setRequestSocket","ranges":[{"startOffset":16235,"endOffset":16476,"count":0}],"isBlockCoverage":false},{"functionName":"asyncResetHandle","ranges":[{"startOffset":16478,"endOffset":16873,"count":0}],"isBlockCoverage":false}]},{"scriptId":"837","url":"node:_http_client","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28271,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3069,"endOffset":3094,"count":0}],"isBlockCoverage":false},{"functionName":"validateHost","ranges":[{"startOffset":3339,"endOffset":3632,"count":0}],"isBlockCoverage":false},{"functionName":"HTTPClientAsyncResource","ranges":[{"startOffset":3668,"endOffset":3738,"count":0}],"isBlockCoverage":false},{"functionName":"ClientRequest","ranges":[{"startOffset":3742,"endOffset":11165,"count":0}],"isBlockCoverage":false},{"functionName":"_finish","ranges":[{"startOffset":11329,"endOffset":12053,"count":0}],"isBlockCoverage":false},{"functionName":"_implicitHeader","ranges":[{"startOffset":12098,"endOffset":12310,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":12345,"endOffset":12483,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":12520,"endOffset":12796,"count":0}],"isBlockCoverage":false},{"functionName":"emitAbortNT","ranges":[{"startOffset":12799,"endOffset":12849,"count":0}],"isBlockCoverage":false},{"functionName":"ondrain","ranges":[{"startOffset":12851,"endOffset":13011,"count":0}],"isBlockCoverage":false},{"functionName":"socketCloseListener","ranges":[{"startOffset":13013,"endOffset":14180,"count":0}],"isBlockCoverage":false},{"functionName":"socketErrorListener","ranges":[{"startOffset":14182,"endOffset":14823,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnEnd","ranges":[{"startOffset":14825,"endOffset":15311,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnData","ranges":[{"startOffset":15313,"endOffset":17696,"count":0}],"isBlockCoverage":false},{"functionName":"statusIsInformational","ranges":[{"startOffset":17698,"endOffset":17933,"count":0}],"isBlockCoverage":false},{"functionName":"parserOnIncomingClient","ranges":[{"startOffset":17945,"endOffset":20958,"count":0}],"isBlockCoverage":false},{"functionName":"responseKeepAlive","ranges":[{"startOffset":20970,"endOffset":22039,"count":0}],"isBlockCoverage":false},{"functionName":"responseOnEnd","ranges":[{"startOffset":22041,"endOffset":23198,"count":0}],"isBlockCoverage":false},{"functionName":"responseOnTimeout","ranges":[{"startOffset":23200,"endOffset":23351,"count":0}],"isBlockCoverage":false},{"functionName":"requestOnFinish","ranges":[{"startOffset":23493,"endOffset":23613,"count":0}],"isBlockCoverage":false},{"functionName":"emitFreeNT","ranges":[{"startOffset":23615,"endOffset":23739,"count":0}],"isBlockCoverage":false},{"functionName":"tickOnSocket","ranges":[{"startOffset":23741,"endOffset":24921,"count":0}],"isBlockCoverage":false},{"functionName":"emitRequestTimeout","ranges":[{"startOffset":24923,"endOffset":25031,"count":0}],"isBlockCoverage":false},{"functionName":"listenSocketTimeout","ranges":[{"startOffset":25033,"endOffset":25424,"count":0}],"isBlockCoverage":false},{"functionName":"onSocket","ranges":[{"startOffset":25461,"endOffset":25632,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketNT","ranges":[{"startOffset":25635,"endOffset":26429,"count":0}],"isBlockCoverage":false},{"functionName":"_deferToConnect","ranges":[{"startOffset":26490,"endOffset":27242,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":27281,"endOffset":27646,"count":0}],"isBlockCoverage":false},{"functionName":"setSocketTimeout","ranges":[{"startOffset":27649,"endOffset":27835,"count":0}],"isBlockCoverage":false},{"functionName":"setNoDelay","ranges":[{"startOffset":27874,"endOffset":27955,"count":0}],"isBlockCoverage":false},{"functionName":"setSocketKeepAlive","ranges":[{"startOffset":28007,"endOffset":28132,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimeout","ranges":[{"startOffset":28174,"endOffset":28229,"count":0}],"isBlockCoverage":false}]},{"scriptId":"838","url":"node:_http_common","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8261,"count":1}],"isBlockCoverage":false},{"functionName":"parserOnHeaders","ranges":[{"startOffset":2298,"endOffset":2545,"count":0}],"isBlockCoverage":false},{"functionName":"parserOnHeadersComplete","ranges":[{"startOffset":2758,"endOffset":4292,"count":0}],"isBlockCoverage":false},{"functionName":"parserOnBody","ranges":[{"startOffset":4294,"endOffset":4611,"count":0}],"isBlockCoverage":false},{"functionName":"parserOnMessageComplete","ranges":[{"startOffset":4613,"endOffset":5100,"count":0}],"isBlockCoverage":false},{"functionName":"parsersCb","ranges":[{"startOffset":5149,"endOffset":5437,"count":0}],"isBlockCoverage":false},{"functionName":"closeParserInstance","ranges":[{"startOffset":5441,"endOffset":5497,"count":0}],"isBlockCoverage":false},{"functionName":"freeParser","ranges":[{"startOffset":5820,"endOffset":6445,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsHttpToken","ranges":[{"startOffset":6657,"endOffset":6748,"count":0}],"isBlockCoverage":false},{"functionName":"checkInvalidHeaderChar","ranges":[{"startOffset":7010,"endOffset":7111,"count":0}],"isBlockCoverage":false},{"functionName":"cleanParser","ranges":[{"startOffset":7113,"endOffset":7495,"count":0}],"isBlockCoverage":false},{"functionName":"prepareError","ranges":[{"startOffset":7497,"endOffset":7690,"count":0}],"isBlockCoverage":false},{"functionName":"isLenient","ranges":[{"startOffset":7720,"endOffset":7905,"count":0}],"isBlockCoverage":false}]},{"scriptId":"839","url":"node:internal/freelist","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":476,"count":1}],"isBlockCoverage":false},{"functionName":"FreeList","ranges":[{"startOffset":76,"endOffset":194,"count":1}],"isBlockCoverage":true},{"functionName":"alloc","ranges":[{"startOffset":198,"endOffset":317,"count":0}],"isBlockCoverage":false},{"functionName":"free","ranges":[{"startOffset":321,"endOffset":445,"count":0}],"isBlockCoverage":false}]},{"scriptId":"840","url":"node:_http_incoming","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14903,"count":1}],"isBlockCoverage":false},{"functionName":"readStart","ranges":[{"startOffset":1648,"endOffset":1751,"count":0}],"isBlockCoverage":false},{"functionName":"readStop","ranges":[{"startOffset":1753,"endOffset":1816,"count":0}],"isBlockCoverage":false},{"functionName":"IncomingMessage","ranges":[{"startOffset":1882,"endOffset":2865,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3075,"endOffset":3115,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":3124,"endOffset":3166,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3260,"endOffset":3557,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":3566,"endOffset":3611,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3713,"endOffset":4050,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4059,"endOffset":4112,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4207,"endOffset":4510,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4519,"endOffset":4565,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4668,"endOffset":5011,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":5020,"endOffset":5074,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":5120,"endOffset":5258,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":5737,"endOffset":6114,"count":0}],"isBlockCoverage":false},{"functionName":"_destroy","ranges":[{"startOffset":6357,"endOffset":7153,"count":0}],"isBlockCoverage":false},{"functionName":"_addHeaderLines","ranges":[{"startOffset":7217,"endOffset":7676,"count":0}],"isBlockCoverage":false},{"functionName":"matchKnownFields","ranges":[{"startOffset":8398,"endOffset":12292,"count":0}],"isBlockCoverage":false},{"functionName":"_addHeaderLine","ranges":[{"startOffset":12903,"endOffset":13951,"count":0}],"isBlockCoverage":false},{"functionName":"_addHeaderLineDistinct","ranges":[{"startOffset":14028,"endOffset":14221,"count":0}],"isBlockCoverage":false},{"functionName":"_dump","ranges":[{"startOffset":14344,"endOffset":14585,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":14588,"endOffset":14835,"count":0}],"isBlockCoverage":false}]},{"scriptId":"841","url":"node:_http_outgoing","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":34452,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2747,"endOffset":2772,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":3081,"endOffset":3089,"count":0}],"isBlockCoverage":false},{"functionName":"isCookieField","ranges":[{"startOffset":3332,"endOffset":3432,"count":0}],"isBlockCoverage":false},{"functionName":"isContentDispositionField","ranges":[{"startOffset":3434,"endOffset":3560,"count":0}],"isBlockCoverage":false},{"functionName":"OutgoingMessage","ranges":[{"startOffset":3562,"endOffset":5086,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5284,"endOffset":5322,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5410,"endOffset":5446,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5544,"endOffset":5686,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5786,"endOffset":5815,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5911,"endOffset":5999,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6102,"endOffset":6196,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6292,"endOffset":6403,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6521,"endOffset":6567,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6663,"endOffset":7149,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7310,"endOffset":7350,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7359,"endOffset":7401,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7523,"endOffset":7980,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8080,"endOffset":8530,"count":0}],"isBlockCoverage":false},{"functionName":"_renderHeaders","ranges":[{"startOffset":8649,"endOffset":9153,"count":0}],"isBlockCoverage":false},{"functionName":"OutgoingMessage.cork","ranges":[{"startOffset":9189,"endOffset":9284,"count":0}],"isBlockCoverage":false},{"functionName":"OutgoingMessage.uncork","ranges":[{"startOffset":9322,"endOffset":9438,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":9480,"endOffset":9774,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":10017,"endOffset":10329,"count":0}],"isBlockCoverage":false},{"functionName":"_send","ranges":[{"startOffset":10439,"endOffset":11390,"count":0}],"isBlockCoverage":false},{"functionName":"_writeRaw","ranges":[{"startOffset":11442,"endOffset":12292,"count":0}],"isBlockCoverage":false},{"functionName":"_storeHeader","ranges":[{"startOffset":12350,"endOffset":17269,"count":0}],"isBlockCoverage":false},{"functionName":"processHeader","ranges":[{"startOffset":17271,"endOffset":18214,"count":0}],"isBlockCoverage":false},{"functionName":"storeHeader","ranges":[{"startOffset":18216,"endOffset":18415,"count":0}],"isBlockCoverage":false},{"functionName":"matchHeader","ranges":[{"startOffset":18417,"endOffset":19341,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19386,"endOffset":19548,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19596,"endOffset":19866,"count":0}],"isBlockCoverage":false},{"functionName":"parseUniqueHeadersOption","ranges":[{"startOffset":19870,"endOffset":20140,"count":0}],"isBlockCoverage":false},{"functionName":"setHeader","ranges":[{"startOffset":20180,"endOffset":20541,"count":0}],"isBlockCoverage":false},{"functionName":"setHeaders","ranges":[{"startOffset":20583,"endOffset":21007,"count":0}],"isBlockCoverage":false},{"functionName":"appendHeader","ranges":[{"startOffset":21051,"endOffset":21787,"count":0}],"isBlockCoverage":false},{"functionName":"getHeader","ranges":[{"startOffset":21829,"endOffset":22051,"count":0}],"isBlockCoverage":false},{"functionName":"getHeaderNames","ranges":[{"startOffset":22164,"endOffset":22267,"count":0}],"isBlockCoverage":false},{"functionName":"getRawHeaderNames","ranges":[{"startOffset":22387,"endOffset":22788,"count":0}],"isBlockCoverage":false},{"functionName":"getHeaders","ranges":[{"startOffset":22890,"endOffset":23300,"count":0}],"isBlockCoverage":false},{"functionName":"hasHeader","ranges":[{"startOffset":23342,"endOffset":23500,"count":0}],"isBlockCoverage":false},{"functionName":"removeHeader","ranges":[{"startOffset":23545,"endOffset":24110,"count":0}],"isBlockCoverage":false},{"functionName":"_implicitHeader","ranges":[{"startOffset":24158,"endOffset":24249,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":24385,"endOffset":24422,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":24522,"endOffset":24558,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":24662,"endOffset":24744,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":24823,"endOffset":25076,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":25079,"endOffset":25440,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNt","ranges":[{"startOffset":25442,"endOffset":25591,"count":0}],"isBlockCoverage":false},{"functionName":"strictContentLength","ranges":[{"startOffset":25593,"endOffset":25827,"count":0}],"isBlockCoverage":false},{"functionName":"write_","ranges":[{"startOffset":25829,"endOffset":28035,"count":0}],"isBlockCoverage":false},{"functionName":"connectionCorkNT","ranges":[{"startOffset":28038,"endOffset":28090,"count":0}],"isBlockCoverage":false},{"functionName":"addTrailers","ranges":[{"startOffset":28132,"endOffset":29567,"count":0}],"isBlockCoverage":false},{"functionName":"onFinish","ranges":[{"startOffset":29570,"endOffset":29690,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":29724,"endOffset":31686,"count":0}],"isBlockCoverage":false},{"functionName":"_finish","ranges":[{"startOffset":31860,"endOffset":31931,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":32725,"endOffset":33155,"count":0}],"isBlockCoverage":false},{"functionName":"_flushOutput","ranges":[{"startOffset":33199,"endOffset":33842,"count":0}],"isBlockCoverage":false},{"functionName":"flushHeaders","ranges":[{"startOffset":33887,"endOffset":34018,"count":0}],"isBlockCoverage":false},{"functionName":"pipe","ranges":[{"startOffset":34054,"endOffset":34196,"count":0}],"isBlockCoverage":false},{"functionName":"OutgoingMessage.","ranges":[{"startOffset":34254,"endOffset":34299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"842","url":"node:internal/http","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1195,"count":1}],"isBlockCoverage":false},{"functionName":"utcDate","ranges":[{"startOffset":349,"endOffset":416,"count":0}],"isBlockCoverage":false},{"functionName":"cache","ranges":[{"startOffset":418,"endOffset":575,"count":0}],"isBlockCoverage":false},{"functionName":"resetCache","ranges":[{"startOffset":577,"endOffset":626,"count":0}],"isBlockCoverage":false},{"functionName":"getNextTraceEventId","ranges":[{"startOffset":651,"endOffset":710,"count":0}],"isBlockCoverage":false},{"functionName":"isTraceHTTPEnabled","ranges":[{"startOffset":712,"endOffset":791,"count":0}],"isBlockCoverage":false},{"functionName":"traceBegin","ranges":[{"startOffset":839,"endOffset":927,"count":0}],"isBlockCoverage":false},{"functionName":"traceEnd","ranges":[{"startOffset":929,"endOffset":1015,"count":0}],"isBlockCoverage":false}]},{"scriptId":"843","url":"node:_http_server","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":38374,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2759,"endOffset":2784,"count":0}],"isBlockCoverage":false},{"functionName":"HTTPServerAsyncResource","ranges":[{"startOffset":7093,"endOffset":7172,"count":0}],"isBlockCoverage":false},{"functionName":"ServerResponse","ranges":[{"startOffset":7176,"endOffset":8095,"count":0}],"isBlockCoverage":false},{"functionName":"_finish","ranges":[{"startOffset":8262,"endOffset":8907,"count":0}],"isBlockCoverage":false},{"functionName":"onServerResponseClose","ranges":[{"startOffset":9007,"endOffset":9997,"count":0}],"isBlockCoverage":false},{"functionName":"assignSocket","ranges":[{"startOffset":10039,"endOffset":10294,"count":0}],"isBlockCoverage":false},{"functionName":"detachSocket","ranges":[{"startOffset":10337,"endOffset":10519,"count":0}],"isBlockCoverage":false},{"functionName":"writeContinue","ranges":[{"startOffset":10563,"endOffset":10681,"count":0}],"isBlockCoverage":false},{"functionName":"writeProcessing","ranges":[{"startOffset":10727,"endOffset":10825,"count":0}],"isBlockCoverage":false},{"functionName":"writeEarlyHints","ranges":[{"startOffset":10871,"endOffset":11381,"count":0}],"isBlockCoverage":false},{"functionName":"_implicitHeader","ranges":[{"startOffset":11427,"endOffset":11492,"count":0}],"isBlockCoverage":false},{"functionName":"writeHead","ranges":[{"startOffset":11543,"endOffset":14116,"count":0}],"isBlockCoverage":false},{"functionName":"storeHTTPOptions","ranges":[{"startOffset":14227,"endOffset":17034,"count":0}],"isBlockCoverage":false},{"functionName":"setupConnectionsTracking","ranges":[{"startOffset":17036,"endOffset":17507,"count":0}],"isBlockCoverage":false},{"functionName":"httpServerPreClose","ranges":[{"startOffset":17509,"endOffset":17636,"count":0}],"isBlockCoverage":false},{"functionName":"Server","ranges":[{"startOffset":17638,"endOffset":18832,"count":0}],"isBlockCoverage":false},{"functionName":"Server.close","ranges":[{"startOffset":18963,"endOffset":19066,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":19108,"endOffset":19189,"count":0}],"isBlockCoverage":false},{"functionName":"Server.closeAllConnections","ranges":[{"startOffset":19231,"endOffset":19437,"count":0}],"isBlockCoverage":false},{"functionName":"Server.closeIdleConnections","ranges":[{"startOffset":19480,"endOffset":19804,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":19837,"endOffset":19966,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":20015,"endOffset":20583,"count":0}],"isBlockCoverage":false},{"functionName":"checkConnections","ranges":[{"startOffset":20586,"endOffset":20931,"count":0}],"isBlockCoverage":false},{"functionName":"connectionListener","ranges":[{"startOffset":20933,"endOffset":21078,"count":0}],"isBlockCoverage":false},{"functionName":"connectionListenerInternal","ranges":[{"startOffset":21080,"endOffset":24502,"count":0}],"isBlockCoverage":false},{"functionName":"socketSetEncoding","ranges":[{"startOffset":24504,"endOffset":24576,"count":0}],"isBlockCoverage":false},{"functionName":"updateOutgoingData","ranges":[{"startOffset":24578,"endOffset":24694,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnDrain","ranges":[{"startOffset":24696,"endOffset":25150,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnTimeout","ranges":[{"startOffset":25152,"endOffset":25525,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnClose","ranges":[{"startOffset":25527,"endOffset":25676,"count":0}],"isBlockCoverage":false},{"functionName":"abortIncoming","ranges":[{"startOffset":25678,"endOffset":25861,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnEnd","ranges":[{"startOffset":25863,"endOffset":26385,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnData","ranges":[{"startOffset":26387,"endOffset":26616,"count":0}],"isBlockCoverage":false},{"functionName":"onRequestTimeout","ranges":[{"startOffset":26618,"endOffset":26792,"count":0}],"isBlockCoverage":false},{"functionName":"onParserExecute","ranges":[{"startOffset":26794,"endOffset":27293,"count":0}],"isBlockCoverage":false},{"functionName":"onParserTimeout","ranges":[{"startOffset":27295,"endOffset":27440,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":27455,"endOffset":27463,"count":0}],"isBlockCoverage":false},{"functionName":"warnUnclosedSocket","ranges":[{"startOffset":27868,"endOffset":28181,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnError","ranges":[{"startOffset":28183,"endOffset":29165,"count":0}],"isBlockCoverage":false},{"functionName":"onParserExecuteCommon","ranges":[{"startOffset":29167,"endOffset":30788,"count":0}],"isBlockCoverage":false},{"functionName":"clearIncoming","ranges":[{"startOffset":30790,"endOffset":31128,"count":0}],"isBlockCoverage":false},{"functionName":"resOnFinish","ranges":[{"startOffset":31130,"endOffset":32454,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":32456,"endOffset":32589,"count":0}],"isBlockCoverage":false},{"functionName":"parserOnIncoming","ranges":[{"startOffset":32755,"endOffset":36483,"count":0}],"isBlockCoverage":false},{"functionName":"resetSocketTimeout","ranges":[{"startOffset":36485,"endOffset":36665,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketResume","ranges":[{"startOffset":36667,"endOffset":37189,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketPause","ranges":[{"startOffset":37191,"endOffset":37332,"count":0}],"isBlockCoverage":false},{"functionName":"unconsume","ranges":[{"startOffset":37334,"endOffset":37586,"count":0}],"isBlockCoverage":false},{"functionName":"generateSocketListenerWrapper","ranges":[{"startOffset":37588,"endOffset":38142,"count":0}],"isBlockCoverage":false}]},{"scriptId":"844","url":"node:util/types","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":64,"count":1}],"isBlockCoverage":false}]},{"scriptId":"845","url":"node:internal/webstreams/readablestream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":93289,"count":1}],"isBlockCoverage":false},{"functionName":"lazyReadableReleasedError","ranges":[{"startOffset":3030,"endOffset":3380,"count":0}],"isBlockCoverage":false},{"functionName":"lazyReadableReleasingError","ranges":[{"startOffset":3382,"endOffset":3739,"count":0}],"isBlockCoverage":false},{"functionName":"getNonWritablePropertyDescriptor","ranges":[{"startOffset":3782,"endOffset":3868,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5293,"endOffset":16893,"count":0}],"isBlockCoverage":false},{"functionName":"TransferredReadableStream","ranges":[{"startOffset":17384,"endOffset":17875,"count":0}],"isBlockCoverage":false},{"functionName":"TransferredReadableStream.","ranges":[{"startOffset":17928,"endOffset":17936,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17939,"endOffset":20006,"count":0}],"isBlockCoverage":false},{"functionName":"createReadableStreamBYOBRequest","ranges":[{"startOffset":20268,"endOffset":20461,"count":0}],"isBlockCoverage":false},{"functionName":"ReadableStreamAsyncIteratorReadRequest","ranges":[{"startOffset":20512,"endOffset":20631,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20635,"endOffset":20749,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20753,"endOffset":20946,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20950,"endOffset":21120,"count":0}],"isBlockCoverage":false},{"functionName":"DefaultReadRequest","ranges":[{"startOffset":21153,"endOffset":21216,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21220,"endOffset":21293,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21297,"endOffset":21375,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21379,"endOffset":21434,"count":0}],"isBlockCoverage":false},{"functionName":"get promise","ranges":[{"startOffset":21438,"endOffset":21484,"count":0}],"isBlockCoverage":false},{"functionName":"ReadIntoRequest","ranges":[{"startOffset":21514,"endOffset":21577,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21581,"endOffset":21654,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21658,"endOffset":21730,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21734,"endOffset":21789,"count":0}],"isBlockCoverage":false},{"functionName":"get promise","ranges":[{"startOffset":21793,"endOffset":21839,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21843,"endOffset":24052,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24341,"endOffset":27389,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27672,"endOffset":28969,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29267,"endOffset":32570,"count":0}],"isBlockCoverage":false},{"functionName":"TeeReadableStream","ranges":[{"startOffset":32898,"endOffset":33547,"count":0}],"isBlockCoverage":false},{"functionName":"createTeeReadableStream","ranges":[{"startOffset":33684,"endOffset":33908,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamFromIterable","ranges":[{"startOffset":34341,"endOffset":36012,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamPipeTo","ranges":[{"startOffset":36014,"endOffset":41446,"count":0}],"isBlockCoverage":false},{"functionName":"PipeToReadableStreamReadRequest","ranges":[{"startOffset":41490,"endOffset":41609,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41613,"endOffset":41799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41803,"endOffset":41851,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41855,"endOffset":41908,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamTee","ranges":[{"startOffset":41912,"endOffset":42140,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultTee","ranges":[{"startOffset":42142,"endOffset":44940,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamTee","ranges":[{"startOffset":44942,"endOffset":52852,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerConvertPullIntoDescriptor","ranges":[{"startOffset":52854,"endOffset":53429,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStreamLocked","ranges":[{"startOffset":53431,"endOffset":53520,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamCancel","ranges":[{"startOffset":53522,"endOffset":54239,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamClose","ranges":[{"startOffset":54241,"endOffset":54725,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamError","ranges":[{"startOffset":54727,"endOffset":55605,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamHasDefaultReader","ranges":[{"startOffset":55607,"endOffset":55849,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamGetNumReadRequests","ranges":[{"startOffset":55851,"endOffset":56014,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamHasBYOBReader","ranges":[{"startOffset":56016,"endOffset":56252,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamGetNumReadIntoRequests","ranges":[{"startOffset":56254,"endOffset":56422,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamFulfillReadRequest","ranges":[{"startOffset":56424,"endOffset":57017,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamFulfillReadIntoRequest","ranges":[{"startOffset":57019,"endOffset":57401,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamAddReadRequest","ranges":[{"startOffset":57403,"endOffset":57641,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamAddReadIntoRequest","ranges":[{"startOffset":57643,"endOffset":57902,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamReaderGenericCancel","ranges":[{"startOffset":57904,"endOffset":58089,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamReaderGenericInitialize","ranges":[{"startOffset":58091,"endOffset":58756,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultReaderRelease","ranges":[{"startOffset":58758,"endOffset":58958,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultReaderErrorReadRequests","ranges":[{"startOffset":58960,"endOffset":59180,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamBYOBReaderRelease","ranges":[{"startOffset":59182,"endOffset":59380,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamBYOBReaderErrorReadIntoRequests","ranges":[{"startOffset":59382,"endOffset":59615,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamReaderGenericRelease","ranges":[{"startOffset":59617,"endOffset":60271,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamBYOBReaderRead","ranges":[{"startOffset":60273,"endOffset":60676,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultReaderRead","ranges":[{"startOffset":60678,"endOffset":61115,"count":0}],"isBlockCoverage":false},{"functionName":"setupReadableStreamBYOBReader","ranges":[{"startOffset":61117,"endOffset":61560,"count":0}],"isBlockCoverage":false},{"functionName":"setupReadableStreamDefaultReader","ranges":[{"startOffset":61562,"endOffset":61825,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerClose","ranges":[{"startOffset":61827,"endOffset":62175,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerEnqueue","ranges":[{"startOffset":62177,"endOffset":62922,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerHasBackpressure","ranges":[{"startOffset":62924,"endOffset":63064,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerCanCloseOrEnqueue","ranges":[{"startOffset":63066,"endOffset":63280,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerGetDesiredSize","ranges":[{"startOffset":63282,"endOffset":63597,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerShouldCallPull","ranges":[{"startOffset":63599,"endOffset":64094,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerCallPullIfNeeded","ranges":[{"startOffset":64096,"endOffset":64807,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerClearAlgorithms","ranges":[{"startOffset":64809,"endOffset":65026,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerError","ranges":[{"startOffset":65028,"endOffset":65325,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerCancelSteps","ranges":[{"startOffset":65327,"endOffset":65600,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerPullSteps","ranges":[{"startOffset":65602,"endOffset":66218,"count":0}],"isBlockCoverage":false},{"functionName":"setupReadableStreamDefaultController","ranges":[{"startOffset":66220,"endOffset":67199,"count":0}],"isBlockCoverage":false},{"functionName":"setupReadableStreamDefaultControllerFromSource","ranges":[{"startOffset":67201,"endOffset":67947,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerClose","ranges":[{"startOffset":67949,"endOffset":68663,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerCommitPullIntoDescriptor","ranges":[{"startOffset":68665,"endOffset":69235,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerInvalidateBYOBRequest","ranges":[{"startOffset":69237,"endOffset":69530,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerClearAlgorithms","ranges":[{"startOffset":69532,"endOffset":69698,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerClearPendingPullIntos","ranges":[{"startOffset":69700,"endOffset":69883,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerGetDesiredSize","ranges":[{"startOffset":69885,"endOffset":70191,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerShouldCallPull","ranges":[{"startOffset":70193,"endOffset":70841,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerHandleQueueDrain","ranges":[{"startOffset":70843,"endOffset":71260,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerPullInto","ranges":[{"startOffset":71262,"endOffset":73272,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerRespondInternal","ranges":[{"startOffset":73274,"endOffset":74099,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerRespond","ranges":[{"startOffset":74101,"endOffset":74881,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerRespondInClosedState","ranges":[{"startOffset":74883,"endOffset":75404,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerFillHeadPullIntoDescriptor","ranges":[{"startOffset":75406,"endOffset":75707,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerEnqueue","ranges":[{"startOffset":75709,"endOffset":78019,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerEnqueueClonedChunkToQueue","ranges":[{"startOffset":78021,"endOffset":78495,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerEnqueueChunkToQueue","ranges":[{"startOffset":78497,"endOffset":78777,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerEnqueueDetachedPullIntoToQueue","ranges":[{"startOffset":78779,"endOffset":79208,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerFillPullIntoDescriptorFromQueue","ranges":[{"startOffset":79210,"endOffset":81178,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerProcessPullIntoDescriptorsUsingQueue","ranges":[{"startOffset":81180,"endOffset":81775,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerRespondInReadableState","ranges":[{"startOffset":81777,"endOffset":83187,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerRespondWithNewView","ranges":[{"startOffset":83189,"endOffset":84574,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerShiftPendingPullInto","ranges":[{"startOffset":84576,"endOffset":84767,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerCallPullIfNeeded","ranges":[{"startOffset":84769,"endOffset":85468,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerError","ranges":[{"startOffset":85470,"endOffset":85826,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerCancelSteps","ranges":[{"startOffset":85828,"endOffset":86128,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerFillReadRequestFromQueue","ranges":[{"startOffset":86130,"endOffset":86609,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerProcessReadRequestsUsingQueue","ranges":[{"startOffset":86611,"endOffset":87094,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerPullSteps","ranges":[{"startOffset":87096,"endOffset":88201,"count":0}],"isBlockCoverage":false},{"functionName":"setupReadableByteStreamController","ranges":[{"startOffset":88203,"endOffset":89288,"count":0}],"isBlockCoverage":false},{"functionName":"setupReadableByteStreamControllerFromSource","ranges":[{"startOffset":89290,"endOffset":90226,"count":0}],"isBlockCoverage":false}]},{"scriptId":"846","url":"node:internal/webstreams/writablestream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":37504,"count":1}],"isBlockCoverage":false},{"functionName":"lazyWritableReleasedError","ranges":[{"startOffset":1610,"endOffset":2051,"count":0}],"isBlockCoverage":false},{"functionName":"getNonWritablePropertyDescriptor","ranges":[{"startOffset":2094,"endOffset":2180,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3102,"endOffset":7558,"count":0}],"isBlockCoverage":false},{"functionName":"TransferredWritableStream","ranges":[{"startOffset":7819,"endOffset":9112,"count":0}],"isBlockCoverage":false},{"functionName":"TransferredWritableStream.","ranges":[{"startOffset":9165,"endOffset":9173,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9176,"endOffset":12752,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13137,"endOffset":14246,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStreamLocked","ranges":[{"startOffset":14715,"endOffset":14804,"count":0}],"isBlockCoverage":false},{"functionName":"setupWritableStreamDefaultWriter","ranges":[{"startOffset":14806,"endOffset":16580,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamAbort","ranges":[{"startOffset":16582,"endOffset":17371,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamClose","ranges":[{"startOffset":17373,"endOffset":18047,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamUpdateBackpressure","ranges":[{"startOffset":18049,"endOffset":18528,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamStartErroring","ranges":[{"startOffset":18530,"endOffset":19107,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamRejectCloseAndClosedPromiseIfNeeded","ranges":[{"startOffset":19109,"endOffset":19864,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamMarkFirstWriteRequestInFlight","ranges":[{"startOffset":19866,"endOffset":20174,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamMarkCloseRequestInFlight","ranges":[{"startOffset":20176,"endOffset":20544,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamHasOperationMarkedInFlight","ranges":[{"startOffset":20546,"endOffset":20832,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamFinishInFlightWriteWithError","ranges":[{"startOffset":20834,"endOffset":21291,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamFinishInFlightWrite","ranges":[{"startOffset":21293,"endOffset":21585,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamFinishInFlightCloseWithError","ranges":[{"startOffset":21587,"endOffset":22397,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamFinishInFlightClose","ranges":[{"startOffset":22399,"endOffset":23454,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamFinishErroring","ranges":[{"startOffset":23456,"endOffset":24874,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDealWithRejection","ranges":[{"startOffset":24876,"endOffset":25145,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamCloseQueuedOrInFlight","ranges":[{"startOffset":25147,"endOffset":25366,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamAddWriteRequest","ranges":[{"startOffset":25368,"endOffset":25718,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterWrite","ranges":[{"startOffset":25720,"endOffset":26700,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterRelease","ranges":[{"startOffset":26702,"endOffset":27180,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterGetDesiredSize","ranges":[{"startOffset":27182,"endOffset":27531,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterEnsureReadyPromiseRejected","ranges":[{"startOffset":27533,"endOffset":27902,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterEnsureClosedPromiseRejected","ranges":[{"startOffset":27904,"endOffset":28274,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterCloseWithErrorPropagation","ranges":[{"startOffset":28276,"endOffset":28761,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterClose","ranges":[{"startOffset":28763,"endOffset":28930,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterAbort","ranges":[{"startOffset":28932,"endOffset":29115,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerWrite","ranges":[{"startOffset":29117,"endOffset":29702,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerProcessWrite","ranges":[{"startOffset":29704,"endOffset":30718,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerProcessClose","ranges":[{"startOffset":30720,"endOffset":31278,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerGetDesiredSize","ranges":[{"startOffset":31280,"endOffset":31466,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerGetChunkSize","ranges":[{"startOffset":31468,"endOffset":31763,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerErrorIfNeeded","ranges":[{"startOffset":31765,"endOffset":31993,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerError","ranges":[{"startOffset":31995,"endOffset":32266,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerClose","ranges":[{"startOffset":32268,"endOffset":32451,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerClearAlgorithms","ranges":[{"startOffset":32453,"endOffset":32719,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerGetBackpressure","ranges":[{"startOffset":32721,"endOffset":32865,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerAdvanceQueueIfNeeded","ranges":[{"startOffset":32867,"endOffset":33455,"count":0}],"isBlockCoverage":false},{"functionName":"setupWritableStreamDefaultControllerFromSink","ranges":[{"startOffset":33457,"endOffset":34306,"count":0}],"isBlockCoverage":false},{"functionName":"setupWritableStreamDefaultController","ranges":[{"startOffset":34308,"endOffset":35619,"count":0}],"isBlockCoverage":false}]},{"scriptId":"847","url":"node:internal/webstreams/transformstream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15706,"count":1}],"isBlockCoverage":false},{"functionName":"getNonWritablePropertyDescriptor","ranges":[{"startOffset":1473,"endOffset":1559,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2349,"endOffset":5760,"count":0}],"isBlockCoverage":false},{"functionName":"TransferredTransformStream","ranges":[{"startOffset":5964,"endOffset":6423,"count":0}],"isBlockCoverage":false},{"functionName":"TransferredTransformStream.","ranges":[{"startOffset":6477,"endOffset":6485,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6488,"endOffset":8003,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTransformAlgorithm","ranges":[{"startOffset":8464,"endOffset":8589,"count":0}],"isBlockCoverage":false},{"functionName":"initializeTransformStream","ranges":[{"startOffset":8591,"endOffset":9906,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamError","ranges":[{"startOffset":9908,"endOffset":10173,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamErrorWritableAndUnblockWrite","ranges":[{"startOffset":10175,"endOffset":10550,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamSetBackpressure","ranges":[{"startOffset":10552,"endOffset":10896,"count":0}],"isBlockCoverage":false},{"functionName":"setupTransformStreamDefaultController","ranges":[{"startOffset":10898,"endOffset":11229,"count":0}],"isBlockCoverage":false},{"functionName":"setupTransformStreamDefaultControllerFromTransformer","ranges":[{"startOffset":11231,"endOffset":11783,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultControllerClearAlgorithms","ranges":[{"startOffset":11785,"endOffset":11959,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultControllerEnqueue","ranges":[{"startOffset":11961,"endOffset":12773,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultControllerError","ranges":[{"startOffset":12775,"endOffset":12902,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultControllerPerformTransform","ranges":[{"startOffset":12904,"endOffset":13228,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultControllerTerminate","ranges":[{"startOffset":13230,"endOffset":13690,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultSinkWriteAlgorithm","ranges":[{"startOffset":13692,"endOffset":14468,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultSinkAbortAlgorithm","ranges":[{"startOffset":14470,"endOffset":14585,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultSinkCloseAlgorithm","ranges":[{"startOffset":14587,"endOffset":15239,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultSourcePullAlgorithm","ranges":[{"startOffset":15241,"endOffset":15510,"count":0}],"isBlockCoverage":false}]},{"scriptId":"848","url":"node:stream/web","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1294,"count":1}],"isBlockCoverage":false}]},{"scriptId":"849","url":"node:internal/webstreams/encoding","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6227,"count":1}],"isBlockCoverage":false},{"functionName":"isTextEncoderStream","ranges":[{"startOffset":859,"endOffset":996,"count":0}],"isBlockCoverage":false},{"functionName":"isTextDecoderStream","ranges":[{"startOffset":998,"endOffset":1135,"count":0}],"isBlockCoverage":false},{"functionName":"TextEncoderStream","ranges":[{"startOffset":1165,"endOffset":2713,"count":0}],"isBlockCoverage":false},{"functionName":"get encoding","ranges":[{"startOffset":2764,"endOffset":2910,"count":0}],"isBlockCoverage":false},{"functionName":"get readable","ranges":[{"startOffset":2969,"endOffset":3118,"count":0}],"isBlockCoverage":false},{"functionName":"get writable","ranges":[{"startOffset":3177,"endOffset":3326,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3330,"endOffset":3651,"count":0}],"isBlockCoverage":false},{"functionName":"TextDecoderStream","ranges":[{"startOffset":3814,"endOffset":4373,"count":0}],"isBlockCoverage":false},{"functionName":"get encoding","ranges":[{"startOffset":4424,"endOffset":4570,"count":0}],"isBlockCoverage":false},{"functionName":"get fatal","ranges":[{"startOffset":4622,"endOffset":4762,"count":0}],"isBlockCoverage":false},{"functionName":"get ignoreBOM","ranges":[{"startOffset":4814,"endOffset":4962,"count":0}],"isBlockCoverage":false},{"functionName":"get readable","ranges":[{"startOffset":5021,"endOffset":5170,"count":0}],"isBlockCoverage":false},{"functionName":"get writable","ranges":[{"startOffset":5229,"endOffset":5378,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5382,"endOffset":5779,"count":0}],"isBlockCoverage":false}]},{"scriptId":"850","url":"node:internal/webstreams/compression","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3764,"count":1}],"isBlockCoverage":false},{"functionName":"lazyZlib","ranges":[{"startOffset":443,"endOffset":509,"count":0}],"isBlockCoverage":false},{"functionName":"isCompressionStream","ranges":[{"startOffset":770,"endOffset":907,"count":0}],"isBlockCoverage":false},{"functionName":"isDecompressionStream","ranges":[{"startOffset":909,"endOffset":1050,"count":0}],"isBlockCoverage":false},{"functionName":"CompressionStream","ranges":[{"startOffset":1130,"endOffset":1541,"count":0}],"isBlockCoverage":false},{"functionName":"get readable","ranges":[{"startOffset":1600,"endOffset":1749,"count":0}],"isBlockCoverage":false},{"functionName":"get writable","ranges":[{"startOffset":1808,"endOffset":1957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1961,"endOffset":2235,"count":0}],"isBlockCoverage":false},{"functionName":"DecompressionStream","ranges":[{"startOffset":2319,"endOffset":2734,"count":0}],"isBlockCoverage":false},{"functionName":"get readable","ranges":[{"startOffset":2793,"endOffset":2946,"count":0}],"isBlockCoverage":false},{"functionName":"get writable","ranges":[{"startOffset":3005,"endOffset":3158,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3162,"endOffset":3442,"count":0}],"isBlockCoverage":false}]},{"scriptId":"851","url":"node:internal/webstreams/adapters","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":25246,"count":1}],"isBlockCoverage":false},{"functionName":"newWritableStreamFromStreamWritable","ranges":[{"startOffset":1904,"endOffset":4982,"count":0}],"isBlockCoverage":false},{"functionName":"newStreamWritableFromWritableStream","ranges":[{"startOffset":5203,"endOffset":9526,"count":0}],"isBlockCoverage":false},{"functionName":"newReadableStreamFromStreamReadable","ranges":[{"startOffset":9737,"endOffset":12255,"count":0}],"isBlockCoverage":false},{"functionName":"newStreamReadableFromReadableStream","ranges":[{"startOffset":12470,"endOffset":14347,"count":0}],"isBlockCoverage":false},{"functionName":"newReadableWritablePairFromDuplex","ranges":[{"startOffset":14565,"endOffset":15747,"count":0}],"isBlockCoverage":false},{"functionName":"newStreamDuplexFromReadableWritablePair","ranges":[{"startOffset":16018,"endOffset":21248,"count":0}],"isBlockCoverage":false},{"functionName":"newWritableStreamFromStreamBase","ranges":[{"startOffset":21462,"endOffset":23301,"count":0}],"isBlockCoverage":false},{"functionName":"newReadableStreamFromStreamBase","ranges":[{"startOffset":23411,"endOffset":24916,"count":0}],"isBlockCoverage":false}]},{"scriptId":"852","url":"node:http2","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":468,"count":1}],"isBlockCoverage":false}]},{"scriptId":"853","url":"node:internal/http2/core","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":107816,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4633,"endOffset":4658,"count":0}],"isBlockCoverage":false},{"functionName":"debugStream","ranges":[{"startOffset":4698,"endOffset":4923,"count":0}],"isBlockCoverage":false},{"functionName":"debugStreamObj","ranges":[{"startOffset":4925,"endOffset":5142,"count":0}],"isBlockCoverage":false},{"functionName":"debugSession","ranges":[{"startOffset":5144,"endOffset":5306,"count":0}],"isBlockCoverage":false},{"functionName":"debugSessionObj","ranges":[{"startOffset":5308,"endOffset":5436,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":8634,"endOffset":8705,"count":0}],"isBlockCoverage":false},{"functionName":"onSessionHeaders","ranges":[{"startOffset":9007,"endOffset":11714,"count":0}],"isBlockCoverage":false},{"functionName":"tryClose","ranges":[{"startOffset":11716,"endOffset":11899,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamTrailers","ranges":[{"startOffset":12070,"endOffset":12371,"count":0}],"isBlockCoverage":false},{"functionName":"submitRstStream","ranges":[{"startOffset":12483,"endOffset":12593,"count":0}],"isBlockCoverage":false},{"functionName":"sessionListenerAdded","ranges":[{"startOffset":12752,"endOffset":13332,"count":0}],"isBlockCoverage":false},{"functionName":"sessionListenerRemoved","ranges":[{"startOffset":13334,"endOffset":14079,"count":0}],"isBlockCoverage":false},{"functionName":"streamListenerAdded","ranges":[{"startOffset":14192,"endOffset":14508,"count":0}],"isBlockCoverage":false},{"functionName":"streamListenerRemoved","ranges":[{"startOffset":14510,"endOffset":14828,"count":0}],"isBlockCoverage":false},{"functionName":"onPing","ranges":[{"startOffset":14830,"endOffset":15036,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamClose","ranges":[{"startOffset":15423,"endOffset":16517,"count":0}],"isBlockCoverage":false},{"functionName":"onSettings","ranges":[{"startOffset":16609,"endOffset":16881,"count":0}],"isBlockCoverage":false},{"functionName":"onPriority","ranges":[{"startOffset":17074,"endOffset":17523,"count":0}],"isBlockCoverage":false},{"functionName":"onFrameError","ranges":[{"startOffset":17635,"endOffset":18062,"count":0}],"isBlockCoverage":false},{"functionName":"onAltSvc","ranges":[{"startOffset":18064,"endOffset":18368,"count":0}],"isBlockCoverage":false},{"functionName":"initOriginSet","ranges":[{"startOffset":18370,"endOffset":18996,"count":0}],"isBlockCoverage":false},{"functionName":"onOrigin","ranges":[{"startOffset":18998,"endOffset":19406,"count":0}],"isBlockCoverage":false},{"functionName":"onGoawayData","ranges":[{"startOffset":19809,"endOffset":20761,"count":0}],"isBlockCoverage":false},{"functionName":"requestOnConnect","ranges":[{"startOffset":20963,"endOffset":23018,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23382,"endOffset":23971,"count":0}],"isBlockCoverage":false},{"functionName":"onSessionInternalError","ranges":[{"startOffset":24068,"endOffset":24240,"count":0}],"isBlockCoverage":false},{"functionName":"settingsCallback","ranges":[{"startOffset":24242,"endOffset":24709,"count":0}],"isBlockCoverage":false},{"functionName":"submitSettings","ranges":[{"startOffset":24770,"endOffset":25163,"count":0}],"isBlockCoverage":false},{"functionName":"submitPriority","ranges":[{"startOffset":25326,"endOffset":25749,"count":0}],"isBlockCoverage":false},{"functionName":"submitGoaway","ranges":[{"startOffset":25984,"endOffset":26201,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26234,"endOffset":26975,"count":0}],"isBlockCoverage":false},{"functionName":"getPrototypeOf","ranges":[{"startOffset":26979,"endOffset":27161,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":27165,"endOffset":27807,"count":0}],"isBlockCoverage":false},{"functionName":"pingCallback","ranges":[{"startOffset":28219,"endOffset":28418,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29027,"endOffset":30306,"count":0}],"isBlockCoverage":false},{"functionName":"trackAssignmentsTypedArray","ranges":[{"startOffset":30443,"endOffset":31165,"count":0}],"isBlockCoverage":false},{"functionName":"setupHandle","ranges":[{"startOffset":31451,"endOffset":33726,"count":0}],"isBlockCoverage":false},{"functionName":"emitClose","ranges":[{"startOffset":33840,"endOffset":33941,"count":0}],"isBlockCoverage":false},{"functionName":"cleanupSession","ranges":[{"startOffset":33943,"endOffset":34378,"count":0}],"isBlockCoverage":false},{"functionName":"finishSessionClose","ranges":[{"startOffset":34380,"endOffset":35328,"count":0}],"isBlockCoverage":false},{"functionName":"closeSession","ranges":[{"startOffset":35330,"endOffset":36385,"count":0}],"isBlockCoverage":false},{"functionName":"Http2Session","ranges":[{"startOffset":38538,"endOffset":41320,"count":0}],"isBlockCoverage":false},{"functionName":"get encrypted","ranges":[{"startOffset":41447,"endOffset":41497,"count":0}],"isBlockCoverage":false},{"functionName":"get alpnProtocol","ranges":[{"startOffset":41677,"endOffset":41733,"count":0}],"isBlockCoverage":false},{"functionName":"get originSet","ranges":[{"startOffset":42100,"endOffset":42231,"count":0}],"isBlockCoverage":false},{"functionName":"get connecting","ranges":[{"startOffset":42308,"endOffset":42391,"count":0}],"isBlockCoverage":false},{"functionName":"get closed","ranges":[{"startOffset":42455,"endOffset":42531,"count":0}],"isBlockCoverage":false},{"functionName":"get destroyed","ranges":[{"startOffset":42597,"endOffset":42679,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":42715,"endOffset":42825,"count":0}],"isBlockCoverage":false},{"functionName":"setNextStreamID","ranges":[{"startOffset":43041,"endOffset":43315,"count":0}],"isBlockCoverage":false},{"functionName":"setLocalWindowSize","ranges":[{"startOffset":43488,"endOffset":43792,"count":0}],"isBlockCoverage":false},{"functionName":"ping","ranges":[{"startOffset":43991,"endOffset":44587,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44591,"endOffset":44949,"count":0}],"isBlockCoverage":false},{"functionName":"get socket","ranges":[{"startOffset":44991,"endOffset":45178,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":45204,"endOffset":45244,"count":0}],"isBlockCoverage":false},{"functionName":"get goawayCode","ranges":[{"startOffset":45321,"endOffset":45399,"count":0}],"isBlockCoverage":false},{"functionName":"get goawayLastStreamID","ranges":[{"startOffset":45479,"endOffset":45558,"count":0}],"isBlockCoverage":false},{"functionName":"get pendingSettingsAck","ranges":[{"startOffset":45634,"endOffset":45704,"count":0}],"isBlockCoverage":false},{"functionName":"get state","ranges":[{"startOffset":45762,"endOffset":45869,"count":0}],"isBlockCoverage":false},{"functionName":"get localSettings","ranges":[{"startOffset":46014,"endOffset":46277,"count":0}],"isBlockCoverage":false},{"functionName":"get remoteSettings","ranges":[{"startOffset":46340,"endOffset":46799,"count":0}],"isBlockCoverage":false},{"functionName":"settings","ranges":[{"startOffset":46864,"endOffset":47439,"count":0}],"isBlockCoverage":false},{"functionName":"goaway","ranges":[{"startOffset":47693,"endOffset":48288,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":48392,"endOffset":48808,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":49380,"endOffset":49677,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":49681,"endOffset":49921,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":50060,"endOffset":50386,"count":0}],"isBlockCoverage":false},{"functionName":"_onTimeout","ranges":[{"startOffset":50390,"endOffset":50431,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":50435,"endOffset":50504,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":50508,"endOffset":50581,"count":0}],"isBlockCoverage":false},{"functionName":"ServerHttp2Session","ranges":[{"startOffset":50799,"endOffset":51307,"count":0}],"isBlockCoverage":false},{"functionName":"get server","ranges":[{"startOffset":51311,"endOffset":51355,"count":0}],"isBlockCoverage":false},{"functionName":"altsvc","ranges":[{"startOffset":51604,"endOffset":53464,"count":0}],"isBlockCoverage":false},{"functionName":"origin","ranges":[{"startOffset":53509,"endOffset":54257,"count":0}],"isBlockCoverage":false},{"functionName":"ClientHttp2Session","ranges":[{"startOffset":54563,"endOffset":54688,"count":0}],"isBlockCoverage":false},{"functionName":"request","ranges":[{"startOffset":54798,"endOffset":58539,"count":0}],"isBlockCoverage":false},{"functionName":"trackWriteState","ranges":[{"startOffset":58543,"endOffset":58756,"count":0}],"isBlockCoverage":false},{"functionName":"streamOnResume","ranges":[{"startOffset":58758,"endOffset":58841,"count":0}],"isBlockCoverage":false},{"functionName":"streamOnPause","ranges":[{"startOffset":58843,"endOffset":58941,"count":0}],"isBlockCoverage":false},{"functionName":"afterShutdown","ranges":[{"startOffset":58943,"endOffset":59168,"count":0}],"isBlockCoverage":false},{"functionName":"shutdownWritable","ranges":[{"startOffset":59170,"endOffset":59717,"count":0}],"isBlockCoverage":false},{"functionName":"finishSendTrailers","ranges":[{"startOffset":59719,"endOffset":60180,"count":0}],"isBlockCoverage":false},{"functionName":"closeStream","ranges":[{"startOffset":60262,"endOffset":61197,"count":0}],"isBlockCoverage":false},{"functionName":"finishCloseStream","ranges":[{"startOffset":61199,"endOffset":61584,"count":0}],"isBlockCoverage":false},{"functionName":"Http2Stream","ranges":[{"startOffset":61740,"endOffset":62864,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62868,"endOffset":63046,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63050,"endOffset":63477,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63481,"endOffset":63849,"count":0}],"isBlockCoverage":false},{"functionName":"get bufferSize","ranges":[{"startOffset":63853,"endOffset":64067,"count":0}],"isBlockCoverage":false},{"functionName":"get endAfterHeaders","ranges":[{"startOffset":64071,"endOffset":64139,"count":0}],"isBlockCoverage":false},{"functionName":"get sentHeaders","ranges":[{"startOffset":64143,"endOffset":64197,"count":0}],"isBlockCoverage":false},{"functionName":"get sentTrailers","ranges":[{"startOffset":64201,"endOffset":64257,"count":0}],"isBlockCoverage":false},{"functionName":"get sentInfoHeaders","ranges":[{"startOffset":64261,"endOffset":64319,"count":0}],"isBlockCoverage":false},{"functionName":"get pending","ranges":[{"startOffset":64323,"endOffset":64378,"count":0}],"isBlockCoverage":false},{"functionName":"get id","ranges":[{"startOffset":64473,"endOffset":64509,"count":0}],"isBlockCoverage":false},{"functionName":"get session","ranges":[{"startOffset":64563,"endOffset":64609,"count":0}],"isBlockCoverage":false},{"functionName":"_onTimeout","ranges":[{"startOffset":64613,"endOffset":64664,"count":0}],"isBlockCoverage":false},{"functionName":"get headersSent","ranges":[{"startOffset":64713,"endOffset":64799,"count":0}],"isBlockCoverage":false},{"functionName":"get aborted","ranges":[{"startOffset":64856,"endOffset":64933,"count":0}],"isBlockCoverage":false},{"functionName":"get headRequest","ranges":[{"startOffset":64978,"endOffset":65064,"count":0}],"isBlockCoverage":false},{"functionName":"get rstCode","ranges":[{"startOffset":65131,"endOffset":65183,"count":0}],"isBlockCoverage":false},{"functionName":"get state","ranges":[{"startOffset":65230,"endOffset":65380,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":65384,"endOffset":65516,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":65520,"endOffset":65686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":65690,"endOffset":68142,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":68146,"endOffset":68230,"count":0}],"isBlockCoverage":false},{"functionName":"_writev","ranges":[{"startOffset":68234,"endOffset":68302,"count":0}],"isBlockCoverage":false},{"functionName":"_final","ranges":[{"startOffset":68306,"endOffset":68525,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":68529,"endOffset":68874,"count":0}],"isBlockCoverage":false},{"functionName":"priority","ranges":[{"startOffset":68878,"endOffset":69396,"count":0}],"isBlockCoverage":false},{"functionName":"sendTrailers","ranges":[{"startOffset":69400,"endOffset":70098,"count":0}],"isBlockCoverage":false},{"functionName":"get closed","ranges":[{"startOffset":70102,"endOffset":70177,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":70957,"endOffset":71272,"count":0}],"isBlockCoverage":false},{"functionName":"_destroy","ranges":[{"startOffset":71490,"endOffset":73837,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":73955,"endOffset":74970,"count":0}],"isBlockCoverage":false},{"functionName":"callTimeout","ranges":[{"startOffset":74974,"endOffset":75882,"count":0}],"isBlockCoverage":false},{"functionName":"callStreamClose","ranges":[{"startOffset":75884,"endOffset":75938,"count":0}],"isBlockCoverage":false},{"functionName":"processHeaders","ranges":[{"startOffset":75940,"endOffset":77471,"count":0}],"isBlockCoverage":false},{"functionName":"onFileUnpipe","ranges":[{"startOffset":77474,"endOffset":77724,"count":0}],"isBlockCoverage":false},{"functionName":"onPipedFileHandleRead","ranges":[{"startOffset":77842,"endOffset":78014,"count":0}],"isBlockCoverage":false},{"functionName":"processRespondWithFD","ranges":[{"startOffset":78016,"endOffset":78825,"count":0}],"isBlockCoverage":false},{"functionName":"startFilePipe","ranges":[{"startOffset":78827,"endOffset":79273,"count":0}],"isBlockCoverage":false},{"functionName":"doSendFD","ranges":[{"startOffset":79275,"endOffset":80698,"count":0}],"isBlockCoverage":false},{"functionName":"doSendFileFD","ranges":[{"startOffset":80700,"endOffset":82711,"count":0}],"isBlockCoverage":false},{"functionName":"afterOpen","ranges":[{"startOffset":82713,"endOffset":83224,"count":0}],"isBlockCoverage":false},{"functionName":"ServerHttp2Stream","ranges":[{"startOffset":83274,"endOffset":83511,"count":0}],"isBlockCoverage":false},{"functionName":"get pushAllowed","ranges":[{"startOffset":83565,"endOffset":83771,"count":0}],"isBlockCoverage":false},{"functionName":"pushStream","ranges":[{"startOffset":83881,"endOffset":86064,"count":0}],"isBlockCoverage":false},{"functionName":"respond","ranges":[{"startOffset":86113,"endOffset":87581,"count":0}],"isBlockCoverage":false},{"functionName":"respondWithFD","ranges":[{"startOffset":87974,"endOffset":90057,"count":0}],"isBlockCoverage":false},{"functionName":"respondWithFile","ranges":[{"startOffset":90531,"endOffset":92162,"count":0}],"isBlockCoverage":false},{"functionName":"additionalHeaders","ranges":[{"startOffset":92667,"endOffset":93716,"count":0}],"isBlockCoverage":false},{"functionName":"ClientHttp2Stream","ranges":[{"startOffset":93846,"endOffset":94078,"count":0}],"isBlockCoverage":false},{"functionName":"handleHeaderContinue","ranges":[{"startOffset":94082,"endOffset":94212,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnError","ranges":[{"startOffset":94590,"endOffset":95041,"count":0}],"isBlockCoverage":false},{"functionName":"sessionOnStream","ranges":[{"startOffset":95135,"endOffset":95304,"count":0}],"isBlockCoverage":false},{"functionName":"sessionOnPriority","ranges":[{"startOffset":95306,"endOffset":95477,"count":0}],"isBlockCoverage":false},{"functionName":"sessionOnError","ranges":[{"startOffset":95479,"endOffset":95601,"count":0}],"isBlockCoverage":false},{"functionName":"sessionOnTimeout","ranges":[{"startOffset":95731,"endOffset":95985,"count":0}],"isBlockCoverage":false},{"functionName":"connectionListener","ranges":[{"startOffset":95987,"endOffset":98351,"count":0}],"isBlockCoverage":false},{"functionName":"initializeOptions","ranges":[{"startOffset":98353,"endOffset":99567,"count":0}],"isBlockCoverage":false},{"functionName":"initializeTLSOptions","ranges":[{"startOffset":99569,"endOffset":99901,"count":0}],"isBlockCoverage":false},{"functionName":"onErrorSecureServerSession","ranges":[{"startOffset":99903,"endOffset":100026,"count":0}],"isBlockCoverage":false},{"functionName":"Http2SecureServer","ranges":[{"startOffset":100074,"endOffset":100444,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":100448,"endOffset":100646,"count":0}],"isBlockCoverage":false},{"functionName":"updateSettings","ranges":[{"startOffset":100650,"endOffset":100829,"count":0}],"isBlockCoverage":false},{"functionName":"Http2Server","ranges":[{"startOffset":100873,"endOffset":101181,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":101185,"endOffset":101383,"count":0}],"isBlockCoverage":false},{"functionName":"updateSettings","ranges":[{"startOffset":101387,"endOffset":101566,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":101570,"endOffset":101668,"count":0}],"isBlockCoverage":false},{"functionName":"Http2Server.","ranges":[{"startOffset":101733,"endOffset":102659,"count":0}],"isBlockCoverage":false},{"functionName":"setupCompat","ranges":[{"startOffset":102662,"endOffset":103050,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnClose","ranges":[{"startOffset":103052,"endOffset":103499,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":103501,"endOffset":104976,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":105082,"endOffset":105230,"count":0}],"isBlockCoverage":false},{"functionName":"createSecureServer","ranges":[{"startOffset":105237,"endOffset":105336,"count":0}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":105338,"endOffset":105519,"count":0}],"isBlockCoverage":false},{"functionName":"getPackedSettings","ranges":[{"startOffset":105684,"endOffset":105868,"count":0}],"isBlockCoverage":false},{"functionName":"getUnpackedSettings","ranges":[{"startOffset":105870,"endOffset":107305,"count":0}],"isBlockCoverage":false}]},{"scriptId":"854","url":"node:tls","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11612,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3466,"endOffset":3530,"count":0}],"isBlockCoverage":false},{"functionName":"cacheRootCertificates","ranges":[{"startOffset":3559,"endOffset":3653,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3776,"endOffset":3927,"count":0}],"isBlockCoverage":false},{"functionName":"convertProtocols","ranges":[{"startOffset":4037,"endOffset":4649,"count":0}],"isBlockCoverage":false},{"functionName":"convertALPNProtocols","ranges":[{"startOffset":4682,"endOffset":5206,"count":0}],"isBlockCoverage":false},{"functionName":"unfqdn","ranges":[{"startOffset":5209,"endOffset":5291,"count":0}],"isBlockCoverage":false},{"functionName":"toLowerCase","ranges":[{"startOffset":5399,"endOffset":5493,"count":0}],"isBlockCoverage":false},{"functionName":"splitHost","ranges":[{"startOffset":5495,"endOffset":5639,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":5641,"endOffset":7636,"count":0}],"isBlockCoverage":false},{"functionName":"splitEscapedAltNames","ranges":[{"startOffset":8001,"endOffset":9237,"count":0}],"isBlockCoverage":false},{"functionName":"checkServerIdentity","ranges":[{"startOffset":9269,"endOffset":11167,"count":0}],"isBlockCoverage":false}]},{"scriptId":"855","url":"node:_tls_common","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5130,"count":1}],"isBlockCoverage":false},{"functionName":"toV","ranges":[{"startOffset":1775,"endOffset":2068,"count":0}],"isBlockCoverage":false},{"functionName":"SecureContext","ranges":[{"startOffset":2148,"endOffset":2985,"count":0}],"isBlockCoverage":false},{"functionName":"createSecureContext","ranges":[{"startOffset":2987,"endOffset":3457,"count":0}],"isBlockCoverage":false},{"functionName":"translatePeerCertificate","ranges":[{"startOffset":3696,"endOffset":5038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"856","url":"node:internal/tls/secure-context","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9087,"count":1}],"isBlockCoverage":false},{"functionName":"getDefaultEcdhCurve","ranges":[{"startOffset":727,"endOffset":977,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultCiphers","ranges":[{"startOffset":979,"endOffset":1211,"count":0}],"isBlockCoverage":false},{"functionName":"addCACerts","ranges":[{"startOffset":1213,"endOffset":1377,"count":0}],"isBlockCoverage":false},{"functionName":"setCerts","ranges":[{"startOffset":1379,"endOffset":1539,"count":0}],"isBlockCoverage":false},{"functionName":"validateKeyOrCertOption","ranges":[{"startOffset":1541,"endOffset":1821,"count":0}],"isBlockCoverage":false},{"functionName":"setKey","ranges":[{"startOffset":1823,"endOffset":2065,"count":0}],"isBlockCoverage":false},{"functionName":"processCiphers","ranges":[{"startOffset":2067,"endOffset":2898,"count":0}],"isBlockCoverage":false},{"functionName":"configSecureContext","ranges":[{"startOffset":2900,"endOffset":9040,"count":0}],"isBlockCoverage":false}]},{"scriptId":"857","url":"node:_tls_wrap","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":53367,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2051,"endOffset":2076,"count":0}],"isBlockCoverage":false},{"functionName":"onhandshakestart","ranges":[{"startOffset":4277,"endOffset":5060,"count":0}],"isBlockCoverage":false},{"functionName":"onhandshakedone","ranges":[{"startOffset":5062,"endOffset":5355,"count":0}],"isBlockCoverage":false},{"functionName":"loadSession","ranges":[{"startOffset":5358,"endOffset":6563,"count":0}],"isBlockCoverage":false},{"functionName":"loadSNI","ranges":[{"startOffset":6566,"endOffset":7219,"count":0}],"isBlockCoverage":false},{"functionName":"callALPNCallback","ranges":[{"startOffset":7222,"endOffset":8258,"count":0}],"isBlockCoverage":false},{"functionName":"requestOCSP","ranges":[{"startOffset":8260,"endOffset":9582,"count":0}],"isBlockCoverage":false},{"functionName":"requestOCSPDone","ranges":[{"startOffset":9584,"endOffset":9779,"count":0}],"isBlockCoverage":false},{"functionName":"onnewsessionclient","ranges":[{"startOffset":9781,"endOffset":10017,"count":0}],"isBlockCoverage":false},{"functionName":"onnewsession","ranges":[{"startOffset":10019,"endOffset":10855,"count":0}],"isBlockCoverage":false},{"functionName":"onPskServerCallback","ranges":[{"startOffset":10857,"endOffset":11507,"count":0}],"isBlockCoverage":false},{"functionName":"onPskClientCallback","ranges":[{"startOffset":11509,"endOffset":12216,"count":0}],"isBlockCoverage":false},{"functionName":"onkeylog","ranges":[{"startOffset":12218,"endOffset":12309,"count":0}],"isBlockCoverage":false},{"functionName":"onocspresponse","ranges":[{"startOffset":12311,"endOffset":12427,"count":0}],"isBlockCoverage":false},{"functionName":"onerror","ranges":[{"startOffset":12429,"endOffset":13557,"count":0}],"isBlockCoverage":false},{"functionName":"initRead","ranges":[{"startOffset":13701,"endOffset":14248,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket","ranges":[{"startOffset":14326,"endOffset":17438,"count":0}],"isBlockCoverage":false},{"functionName":"makeMethodProxy","ranges":[{"startOffset":17881,"endOffset":18056,"count":15}],"isBlockCoverage":true},{"functionName":"methodProxy","ranges":[{"startOffset":17923,"endOffset":18053,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":18223,"endOffset":18916,"count":0}],"isBlockCoverage":false},{"functionName":"disableRenegotiation","ranges":[{"startOffset":18962,"endOffset":19035,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._wrapHandle","ranges":[{"startOffset":19220,"endOffset":20361,"count":0}],"isBlockCoverage":false},{"functionName":"reinitializeHandle","ranges":[{"startOffset":20407,"endOffset":20983,"count":0}],"isBlockCoverage":false},{"functionName":"defineHandleReading","ranges":[{"startOffset":21122,"endOffset":21365,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketCloseDestroySSL","ranges":[{"startOffset":21367,"endOffset":21514,"count":0}],"isBlockCoverage":false},{"functionName":"destroySSL","ranges":[{"startOffset":21516,"endOffset":21567,"count":0}],"isBlockCoverage":false},{"functionName":"_destroySSL","ranges":[{"startOffset":21603,"endOffset":21895,"count":0}],"isBlockCoverage":false},{"functionName":"keylogNewListener","ranges":[{"startOffset":21898,"endOffset":22209,"count":0}],"isBlockCoverage":false},{"functionName":"newListener","ranges":[{"startOffset":22211,"endOffset":22515,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._init","ranges":[{"startOffset":22653,"endOffset":27300,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.renegotiate","ranges":[{"startOffset":27337,"endOffset":28584,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.exportKeyingMaterial","ranges":[{"startOffset":28630,"endOffset":28952,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxSendFragment","ranges":[{"startOffset":28996,"endOffset":29118,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._handleTimeout","ranges":[{"startOffset":29158,"endOffset":29227,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._emitTLSError","ranges":[{"startOffset":29266,"endOffset":29352,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._tlsError","ranges":[{"startOffset":29387,"endOffset":29495,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._releaseControl","ranges":[{"startOffset":29536,"endOffset":29692,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._finishInit","ranges":[{"startOffset":29729,"endOffset":30788,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._start","ranges":[{"startOffset":30820,"endOffset":31319,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.setServername","ranges":[{"startOffset":31358,"endOffset":31526,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.setSession","ranges":[{"startOffset":31562,"endOffset":31700,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.getPeerCertificate","ranges":[{"startOffset":31744,"endOffset":31908,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.getCertificate","ranges":[{"startOffset":31948,"endOffset":32154,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.getPeerX509Certificate","ranges":[{"startOffset":32202,"endOffset":32342,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.getX509Certificate","ranges":[{"startOffset":32386,"endOffset":32514,"count":0}],"isBlockCoverage":false},{"functionName":"makeSocketMethodProxy","ranges":[{"startOffset":32551,"endOffset":32749,"count":10}],"isBlockCoverage":true},{"functionName":"socketMethodProxy","ranges":[{"startOffset":32599,"endOffset":32746,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":32967,"endOffset":33045,"count":10}],"isBlockCoverage":true},{"functionName":"onServerSocketSecure","ranges":[{"startOffset":33087,"endOffset":33582,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketTLSError","ranges":[{"startOffset":33584,"endOffset":33820,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketKeylog","ranges":[{"startOffset":33822,"endOffset":33909,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketClose","ranges":[{"startOffset":33911,"endOffset":34264,"count":0}],"isBlockCoverage":false},{"functionName":"tlsConnectionListener","ranges":[{"startOffset":34266,"endOffset":35152,"count":0}],"isBlockCoverage":false},{"functionName":"Server","ranges":[{"startOffset":37918,"endOffset":39665,"count":0}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":39819,"endOffset":39903,"count":0}],"isBlockCoverage":false},{"functionName":"Server.setSecureContext","ranges":[{"startOffset":39943,"endOffset":42846,"count":0}],"isBlockCoverage":false},{"functionName":"Server._getServerData","ranges":[{"startOffset":42884,"endOffset":42968,"count":0}],"isBlockCoverage":false},{"functionName":"Server._setServerData","ranges":[{"startOffset":43006,"endOffset":43083,"count":0}],"isBlockCoverage":false},{"functionName":"getTicketKeys","ranges":[{"startOffset":43120,"endOffset":43200,"count":0}],"isBlockCoverage":false},{"functionName":"setTicketKeys","ranges":[{"startOffset":43237,"endOffset":43433,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":43477,"endOffset":45543,"count":0}],"isBlockCoverage":false},{"functionName":"Server.addContext","ranges":[{"startOffset":45666,"endOffset":46117,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":46166,"endOffset":46421,"count":0}],"isBlockCoverage":false},{"functionName":"SNICallback","ranges":[{"startOffset":46424,"endOffset":46740,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeConnectArgs","ranges":[{"startOffset":46973,"endOffset":47701,"count":0}],"isBlockCoverage":false},{"functionName":"onConnectSecure","ranges":[{"startOffset":47703,"endOffset":49935,"count":0}],"isBlockCoverage":false},{"functionName":"onConnectEnd","ranges":[{"startOffset":49937,"endOffset":50486,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":50552,"endOffset":53365,"count":0}],"isBlockCoverage":false}]},{"scriptId":"858","url":"node:internal/js_stream_socket","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8209,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":335,"endOffset":364,"count":0}],"isBlockCoverage":false},{"functionName":"isClosing","ranges":[{"startOffset":741,"endOffset":804,"count":0}],"isBlockCoverage":false},{"functionName":"onreadstart","ranges":[{"startOffset":806,"endOffset":871,"count":0}],"isBlockCoverage":false},{"functionName":"onreadstop","ranges":[{"startOffset":873,"endOffset":936,"count":0}],"isBlockCoverage":false},{"functionName":"onshutdown","ranges":[{"startOffset":938,"endOffset":1009,"count":0}],"isBlockCoverage":false},{"functionName":"onwrite","ranges":[{"startOffset":1011,"endOffset":1088,"count":0}],"isBlockCoverage":false},{"functionName":"JSStreamSocket","ranges":[{"startOffset":1848,"endOffset":3576,"count":0}],"isBlockCoverage":false},{"functionName":"get StreamWrap","ranges":[{"startOffset":3716,"endOffset":3765,"count":0}],"isBlockCoverage":false},{"functionName":"isClosing","ranges":[{"startOffset":3769,"endOffset":3831,"count":0}],"isBlockCoverage":false},{"functionName":"readStart","ranges":[{"startOffset":3835,"endOffset":3892,"count":0}],"isBlockCoverage":false},{"functionName":"readStop","ranges":[{"startOffset":3896,"endOffset":3951,"count":0}],"isBlockCoverage":false},{"functionName":"doShutdown","ranges":[{"startOffset":3955,"endOffset":5202,"count":0}],"isBlockCoverage":false},{"functionName":"finishShutdown","ranges":[{"startOffset":5270,"endOffset":5562,"count":0}],"isBlockCoverage":false},{"functionName":"doWrite","ranges":[{"startOffset":5566,"endOffset":6847,"count":0}],"isBlockCoverage":false},{"functionName":"finishWrite","ranges":[{"startOffset":6915,"endOffset":7358,"count":0}],"isBlockCoverage":false},{"functionName":"doClose","ranges":[{"startOffset":7362,"endOffset":8172,"count":0}],"isBlockCoverage":false}]},{"scriptId":"859","url":"node:internal/tls/secure-pair","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1991,"count":1}],"isBlockCoverage":false},{"functionName":"DuplexSocket","ranges":[{"startOffset":398,"endOffset":487,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":491,"endOffset":616,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":620,"endOffset":824,"count":0}],"isBlockCoverage":false},{"functionName":"_final","ranges":[{"startOffset":828,"endOffset":925,"count":0}],"isBlockCoverage":false},{"functionName":"DuplexPair","ranges":[{"startOffset":950,"endOffset":1137,"count":0}],"isBlockCoverage":false},{"functionName":"SecurePair","ranges":[{"startOffset":1183,"endOffset":1796,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":1800,"endOffset":1875,"count":0}],"isBlockCoverage":false},{"functionName":"createSecurePair","ranges":[{"startOffset":1906,"endOffset":1989,"count":0}],"isBlockCoverage":false}]},{"scriptId":"860","url":"node:internal/http2/compat","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21999,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2235,"endOffset":2701,"count":0}],"isBlockCoverage":false},{"functionName":"isPseudoHeader","ranges":[{"startOffset":2705,"endOffset":3033,"count":0}],"isBlockCoverage":false},{"functionName":"statusMessageWarn","ranges":[{"startOffset":3035,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"isConnectionHeaderAllowed","ranges":[{"startOffset":3273,"endOffset":3400,"count":0}],"isBlockCoverage":false},{"functionName":"connectionHeaderMessageWarn","ranges":[{"startOffset":3402,"endOffset":3741,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamData","ranges":[{"startOffset":3743,"endOffset":3880,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamTrailers","ranges":[{"startOffset":3882,"endOffset":4167,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamEnd","ranges":[{"startOffset":4169,"endOffset":4335,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamError","ranges":[{"startOffset":4337,"endOffset":4511,"count":0}],"isBlockCoverage":false},{"functionName":"onRequestPause","ranges":[{"startOffset":4513,"endOffset":4567,"count":0}],"isBlockCoverage":false},{"functionName":"onRequestResume","ranges":[{"startOffset":4569,"endOffset":4625,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamDrain","ranges":[{"startOffset":4627,"endOffset":4749,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamAbortedRequest","ranges":[{"startOffset":4751,"endOffset":4952,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamAbortedResponse","ranges":[{"startOffset":4954,"endOffset":5012,"count":0}],"isBlockCoverage":false},{"functionName":"resumeStream","ranges":[{"startOffset":5014,"endOffset":5066,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":5099,"endOffset":5249,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5254,"endOffset":6363,"count":0}],"isBlockCoverage":false},{"functionName":"getPrototypeOf","ranges":[{"startOffset":6367,"endOffset":6536,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6540,"endOffset":7333,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamCloseRequest","ranges":[{"startOffset":7339,"endOffset":7789,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamTimeout","ranges":[{"startOffset":7791,"endOffset":7921,"count":0}],"isBlockCoverage":false},{"functionName":"Http2ServerRequest","ranges":[{"startOffset":7969,"endOffset":8980,"count":0}],"isBlockCoverage":false},{"functionName":"get aborted","ranges":[{"startOffset":8984,"endOffset":9030,"count":0}],"isBlockCoverage":false},{"functionName":"get complete","ranges":[{"startOffset":9034,"endOffset":9186,"count":0}],"isBlockCoverage":false},{"functionName":"get stream","ranges":[{"startOffset":9190,"endOffset":9234,"count":0}],"isBlockCoverage":false},{"functionName":"get headers","ranges":[{"startOffset":9238,"endOffset":9284,"count":0}],"isBlockCoverage":false},{"functionName":"get rawHeaders","ranges":[{"startOffset":9288,"endOffset":9340,"count":0}],"isBlockCoverage":false},{"functionName":"get trailers","ranges":[{"startOffset":9344,"endOffset":9392,"count":0}],"isBlockCoverage":false},{"functionName":"get rawTrailers","ranges":[{"startOffset":9396,"endOffset":9450,"count":0}],"isBlockCoverage":false},{"functionName":"get httpVersionMajor","ranges":[{"startOffset":9454,"endOffset":9496,"count":0}],"isBlockCoverage":false},{"functionName":"get httpVersionMinor","ranges":[{"startOffset":9500,"endOffset":9542,"count":0}],"isBlockCoverage":false},{"functionName":"get httpVersion","ranges":[{"startOffset":9546,"endOffset":9587,"count":0}],"isBlockCoverage":false},{"functionName":"get socket","ranges":[{"startOffset":9591,"endOffset":9818,"count":0}],"isBlockCoverage":false},{"functionName":"get connection","ranges":[{"startOffset":9822,"endOffset":9868,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":9872,"endOffset":10121,"count":0}],"isBlockCoverage":false},{"functionName":"get method","ranges":[{"startOffset":10125,"endOffset":10191,"count":0}],"isBlockCoverage":false},{"functionName":"set method","ranges":[{"startOffset":10195,"endOffset":10409,"count":0}],"isBlockCoverage":false},{"functionName":"get authority","ranges":[{"startOffset":10413,"endOffset":10475,"count":0}],"isBlockCoverage":false},{"functionName":"get scheme","ranges":[{"startOffset":10479,"endOffset":10545,"count":0}],"isBlockCoverage":false},{"functionName":"get url","ranges":[{"startOffset":10549,"endOffset":10610,"count":0}],"isBlockCoverage":false},{"functionName":"set url","ranges":[{"startOffset":10614,"endOffset":10677,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":10681,"endOffset":10810,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamTrailersReady","ranges":[{"startOffset":10814,"endOffset":10899,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamCloseResponse","ranges":[{"startOffset":10901,"endOffset":11287,"count":0}],"isBlockCoverage":false},{"functionName":"Http2ServerResponse","ranges":[{"startOffset":11334,"endOffset":12044,"count":0}],"isBlockCoverage":false},{"functionName":"get _header","ranges":[{"startOffset":12241,"endOffset":12289,"count":0}],"isBlockCoverage":false},{"functionName":"get writableEnded","ranges":[{"startOffset":12293,"endOffset":12375,"count":0}],"isBlockCoverage":false},{"functionName":"get finished","ranges":[{"startOffset":12379,"endOffset":12456,"count":0}],"isBlockCoverage":false},{"functionName":"get socket","ranges":[{"startOffset":12460,"endOffset":12865,"count":0}],"isBlockCoverage":false},{"functionName":"get connection","ranges":[{"startOffset":12869,"endOffset":12915,"count":0}],"isBlockCoverage":false},{"functionName":"get stream","ranges":[{"startOffset":12919,"endOffset":12963,"count":0}],"isBlockCoverage":false},{"functionName":"get headersSent","ranges":[{"startOffset":12967,"endOffset":13028,"count":0}],"isBlockCoverage":false},{"functionName":"get sendDate","ranges":[{"startOffset":13032,"endOffset":13086,"count":0}],"isBlockCoverage":false},{"functionName":"set sendDate","ranges":[{"startOffset":13090,"endOffset":13157,"count":0}],"isBlockCoverage":false},{"functionName":"get statusCode","ranges":[{"startOffset":13161,"endOffset":13219,"count":0}],"isBlockCoverage":false},{"functionName":"get writableCorked","ranges":[{"startOffset":13223,"endOffset":13290,"count":0}],"isBlockCoverage":false},{"functionName":"get writableHighWaterMark","ranges":[{"startOffset":13294,"endOffset":13375,"count":0}],"isBlockCoverage":false},{"functionName":"get writableFinished","ranges":[{"startOffset":13379,"endOffset":13450,"count":0}],"isBlockCoverage":false},{"functionName":"get writableLength","ranges":[{"startOffset":13454,"endOffset":13521,"count":0}],"isBlockCoverage":false},{"functionName":"set statusCode","ranges":[{"startOffset":13525,"endOffset":13772,"count":0}],"isBlockCoverage":false},{"functionName":"setTrailer","ranges":[{"startOffset":13776,"endOffset":13976,"count":0}],"isBlockCoverage":false},{"functionName":"addTrailers","ranges":[{"startOffset":13980,"endOffset":14175,"count":0}],"isBlockCoverage":false},{"functionName":"getHeader","ranges":[{"startOffset":14179,"endOffset":14333,"count":0}],"isBlockCoverage":false},{"functionName":"getHeaderNames","ranges":[{"startOffset":14337,"endOffset":14398,"count":0}],"isBlockCoverage":false},{"functionName":"getHeaders","ranges":[{"startOffset":14402,"endOffset":14511,"count":0}],"isBlockCoverage":false},{"functionName":"hasHeader","ranges":[{"startOffset":14515,"endOffset":14700,"count":0}],"isBlockCoverage":false},{"functionName":"removeHeader","ranges":[{"startOffset":14704,"endOffset":15026,"count":0}],"isBlockCoverage":false},{"functionName":"setHeader","ranges":[{"startOffset":15030,"endOffset":15205,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":15209,"endOffset":15619,"count":0}],"isBlockCoverage":false},{"functionName":"get statusMessage","ranges":[{"startOffset":15623,"endOffset":15689,"count":0}],"isBlockCoverage":false},{"functionName":"set statusMessage","ranges":[{"startOffset":15693,"endOffset":15746,"count":0}],"isBlockCoverage":false},{"functionName":"flushHeaders","ranges":[{"startOffset":15750,"endOffset":15895,"count":0}],"isBlockCoverage":false},{"functionName":"writeHead","ranges":[{"startOffset":15899,"endOffset":17103,"count":0}],"isBlockCoverage":false},{"functionName":"cork","ranges":[{"startOffset":17107,"endOffset":17145,"count":0}],"isBlockCoverage":false},{"functionName":"uncork","ranges":[{"startOffset":17149,"endOffset":17191,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":17195,"endOffset":17861,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":17865,"endOffset":18872,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":18876,"endOffset":19008,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":19012,"endOffset":19135,"count":0}],"isBlockCoverage":false},{"functionName":"createPushResponse","ranges":[{"startOffset":19139,"endOffset":19549,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19553,"endOffset":19860,"count":0}],"isBlockCoverage":false},{"functionName":"writeContinue","ranges":[{"startOffset":19900,"endOffset":20133,"count":0}],"isBlockCoverage":false},{"functionName":"writeEarlyHints","ranges":[{"startOffset":20137,"endOffset":20765,"count":0}],"isBlockCoverage":false},{"functionName":"onServerStream","ranges":[{"startOffset":20769,"endOffset":21912,"count":0}],"isBlockCoverage":false}]},{"scriptId":"861","url":"node:internal/http2/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":22303,"count":1}],"isBlockCoverage":false},{"functionName":"updateOptionsBuffer","ranges":[{"startOffset":6930,"endOffset":9174,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultSettings","ranges":[{"startOffset":9176,"endOffset":10810,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":10923,"endOffset":11638,"count":0}],"isBlockCoverage":false},{"functionName":"updateSettingsBuffer","ranges":[{"startOffset":11640,"endOffset":13537,"count":0}],"isBlockCoverage":false},{"functionName":"getSessionState","ranges":[{"startOffset":13539,"endOffset":14399,"count":0}],"isBlockCoverage":false},{"functionName":"getStreamState","ranges":[{"startOffset":14401,"endOffset":14837,"count":0}],"isBlockCoverage":false},{"functionName":"isIllegalConnectionSpecificHeader","ranges":[{"startOffset":14839,"endOffset":15251,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":15301,"endOffset":15407,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":15467,"endOffset":15561,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":15620,"endOffset":15681,"count":0}],"isBlockCoverage":false},{"functionName":"mapToHeaders","ranges":[{"startOffset":15843,"endOffset":17914,"count":0}],"isBlockCoverage":false},{"functionName":"NghttpError","ranges":[{"startOffset":17952,"endOffset":18411,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":18415,"endOffset":18490,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18533,"endOffset":18753,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18802,"endOffset":19045,"count":0}],"isBlockCoverage":false},{"functionName":"toHeaderObject","ranges":[{"startOffset":19051,"endOffset":21120,"count":0}],"isBlockCoverage":false},{"functionName":"isPayloadMeaningless","ranges":[{"startOffset":21122,"endOffset":21203,"count":0}],"isBlockCoverage":false},{"functionName":"sessionName","ranges":[{"startOffset":21205,"endOffset":21408,"count":0}],"isBlockCoverage":false},{"functionName":"getAuthority","ranges":[{"startOffset":21410,"endOffset":21859,"count":0}],"isBlockCoverage":false}]},{"scriptId":"862","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/fake-xhr/blob.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":149,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":38,"endOffset":144,"count":1},{"startOffset":103,"endOffset":142,"count":0}],"isBlockCoverage":true}]},{"scriptId":"863","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/fake-server/log.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":389,"count":1}],"isBlockCoverage":true},{"functionName":"log","ranges":[{"startOffset":54,"endOffset":365,"count":0}],"isBlockCoverage":false}]},{"scriptId":"864","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-to-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10854,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":1141,"endOffset":2679,"count":0}],"isBlockCoverage":false},{"functionName":"compile","ranges":[{"startOffset":2866,"endOffset":2957,"count":0}],"isBlockCoverage":false},{"functionName":"encodeURIComponentPretty","ranges":[{"startOffset":3053,"endOffset":3219,"count":0}],"isBlockCoverage":false},{"functionName":"encodeAsterisk","ranges":[{"startOffset":3347,"endOffset":3501,"count":0}],"isBlockCoverage":false},{"functionName":"tokensToFunction","ranges":[{"startOffset":3578,"endOffset":5763,"count":0}],"isBlockCoverage":false},{"functionName":"escapeString","ranges":[{"startOffset":5859,"endOffset":5949,"count":0}],"isBlockCoverage":false},{"functionName":"escapeGroup","ranges":[{"startOffset":6082,"endOffset":6162,"count":0}],"isBlockCoverage":false},{"functionName":"attachKeys","ranges":[{"startOffset":6294,"endOffset":6357,"count":0}],"isBlockCoverage":false},{"functionName":"flags","ranges":[{"startOffset":6466,"endOffset":6543,"count":0}],"isBlockCoverage":false},{"functionName":"regexpToRegexp","ranges":[{"startOffset":6661,"endOffset":7125,"count":0}],"isBlockCoverage":false},{"functionName":"arrayToRegexp","ranges":[{"startOffset":7277,"endOffset":7558,"count":0}],"isBlockCoverage":false},{"functionName":"stringToRegexp","ranges":[{"startOffset":7716,"endOffset":7826,"count":0}],"isBlockCoverage":false},{"functionName":"tokensToRegExp","ranges":[{"startOffset":8030,"endOffset":9914,"count":0}],"isBlockCoverage":false},{"functionName":"pathToRegexp","ranges":[{"startOffset":10367,"endOffset":10853,"count":0}],"isBlockCoverage":false}]},{"scriptId":"865","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isarray/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1},{"startOffset":31,"endOffset":118,"count":0}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":34,"endOffset":118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"866","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/fake-server/fake-server-with-clock.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1933,"count":1}],"isBlockCoverage":true},{"functionName":"Server","ranges":[{"startOffset":149,"endOffset":169,"count":1}],"isBlockCoverage":true},{"functionName":"addRequest","ranges":[{"startOffset":276,"endOffset":1353,"count":0}],"isBlockCoverage":false},{"functionName":"respond","ranges":[{"startOffset":1386,"endOffset":1722,"count":0}],"isBlockCoverage":false},{"functionName":"restore","ranges":[{"startOffset":1755,"endOffset":1892,"count":0}],"isBlockCoverage":false}]},{"scriptId":"867","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/src/fake-timers-src.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":58789,"count":1}],"isBlockCoverage":true},{"functionName":"withGlobal","ranges":[{"startOffset":4764,"endOffset":58308,"count":1},{"startOffset":4835,"endOffset":4865,"count":0},{"startOffset":4903,"endOffset":4937,"count":0},{"startOffset":6358,"endOffset":6420,"count":0},{"startOffset":6499,"endOffset":6560,"count":0},{"startOffset":6637,"endOffset":6697,"count":0},{"startOffset":6772,"endOffset":6831,"count":0},{"startOffset":7124,"endOffset":7376,"count":0},{"startOffset":32044,"endOffset":32121,"count":0},{"startOffset":32238,"endOffset":32313,"count":0},{"startOffset":32351,"endOffset":32424,"count":0},{"startOffset":32461,"endOffset":32532,"count":0},{"startOffset":32586,"endOffset":32607,"count":0}],"isBlockCoverage":true},{"functionName":"NOOP","ranges":[{"startOffset":5170,"endOffset":5215,"count":0}],"isBlockCoverage":false},{"functionName":"NOOP_ARRAY","ranges":[{"startOffset":5240,"endOffset":5278,"count":0}],"isBlockCoverage":false},{"functionName":"isNumberFinite","ranges":[{"startOffset":7870,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsNearInfiniteLimit","ranges":[{"startOffset":8132,"endOffset":8293,"count":0}],"isBlockCoverage":false},{"functionName":"resetIsNearInfiniteLimit","ranges":[{"startOffset":8322,"endOffset":8402,"count":0}],"isBlockCoverage":false},{"functionName":"parseTime","ranges":[{"startOffset":8673,"endOffset":9362,"count":0}],"isBlockCoverage":false},{"functionName":"nanoRemainder","ranges":[{"startOffset":9654,"endOffset":9914,"count":0}],"isBlockCoverage":false},{"functionName":"getEpoch","ranges":[{"startOffset":10074,"endOffset":10410,"count":0}],"isBlockCoverage":false},{"functionName":"inRange","ranges":[{"startOffset":10540,"endOffset":10649,"count":0}],"isBlockCoverage":false},{"functionName":"getInfiniteLoopError","ranges":[{"startOffset":10725,"endOffset":13014,"count":0}],"isBlockCoverage":false},{"functionName":"mirrorDateProperties","ranges":[{"startOffset":13146,"endOffset":14224,"count":0}],"isBlockCoverage":false},{"functionName":"createDate","ranges":[{"startOffset":14281,"endOffset":16393,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueJob","ranges":[{"startOffset":16450,"endOffset":16657,"count":0}],"isBlockCoverage":false},{"functionName":"runJobs","ranges":[{"startOffset":16714,"endOffset":17255,"count":0}],"isBlockCoverage":false},{"functionName":"addTimer","ranges":[{"startOffset":17382,"endOffset":20229,"count":0}],"isBlockCoverage":false},{"functionName":"compareTimers","ranges":[{"startOffset":20397,"endOffset":21301,"count":0}],"isBlockCoverage":false},{"functionName":"firstTimerInRange","ranges":[{"startOffset":21429,"endOffset":21955,"count":0}],"isBlockCoverage":false},{"functionName":"firstTimer","ranges":[{"startOffset":22029,"endOffset":22394,"count":0}],"isBlockCoverage":false},{"functionName":"lastTimer","ranges":[{"startOffset":22468,"endOffset":22833,"count":0}],"isBlockCoverage":false},{"functionName":"callTimer","ranges":[{"startOffset":22911,"endOffset":23408,"count":0}],"isBlockCoverage":false},{"functionName":"getClearHandler","ranges":[{"startOffset":23520,"endOffset":23708,"count":0}],"isBlockCoverage":false},{"functionName":"getScheduleHandler","ranges":[{"startOffset":23823,"endOffset":24013,"count":0}],"isBlockCoverage":false},{"functionName":"createWarnOnce","ranges":[{"startOffset":24090,"endOffset":24272,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":24156,"endOffset":24265,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimer","ranges":[{"startOffset":24421,"endOffset":26322,"count":0}],"isBlockCoverage":false},{"functionName":"uninstall","ranges":[{"startOffset":26428,"endOffset":28564,"count":0}],"isBlockCoverage":false},{"functionName":"hijackMethod","ranges":[{"startOffset":28758,"endOffset":30371,"count":0}],"isBlockCoverage":false},{"functionName":"doIntervalTick","ranges":[{"startOffset":30461,"endOffset":30555,"count":0}],"isBlockCoverage":false},{"functionName":"createClock","ranges":[{"startOffset":32838,"endOffset":53871,"count":0}],"isBlockCoverage":false},{"functionName":"install","ranges":[{"startOffset":54003,"endOffset":58133,"count":0}],"isBlockCoverage":false}]},{"scriptId":"868","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":457,"count":1}],"isBlockCoverage":true}]},{"scriptId":"869","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":386,"count":1},{"startOffset":216,"endOffset":353,"count":0}],"isBlockCoverage":true}]},{"scriptId":"870","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/called-in-order.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1445,"count":1}],"isBlockCoverage":true},{"functionName":"hasCallsLeft","ranges":[{"startOffset":85,"endOffset":245,"count":0}],"isBlockCoverage":false},{"functionName":"checkAdjacentCalls","ranges":[{"startOffset":267,"endOffset":602,"count":0}],"isBlockCoverage":false},{"functionName":"calledInOrder","ranges":[{"startOffset":1177,"endOffset":1411,"count":0}],"isBlockCoverage":false}]},{"scriptId":"871","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true}]},{"scriptId":"872","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype-methods.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1010,"count":1},{"startOffset":423,"endOffset":470,"count":0}],"isBlockCoverage":true},{"functionName":"copyPrototypeMethods","ranges":[{"startOffset":489,"endOffset":1008,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":671,"endOffset":979,"count":134},{"startOffset":768,"endOffset":806,"count":4},{"startOffset":806,"endOffset":859,"count":130},{"startOffset":859,"endOffset":897,"count":5},{"startOffset":897,"endOffset":978,"count":125}],"isBlockCoverage":true}]},{"scriptId":"873","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/throws-on-proto.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":749,"count":1},{"startOffset":488,"endOffset":715,"count":0}],"isBlockCoverage":true}]},{"scriptId":"874","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/class-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":921,"count":1}],"isBlockCoverage":true},{"functionName":"className","ranges":[{"startOffset":221,"endOffset":891,"count":0}],"isBlockCoverage":false}]},{"scriptId":"875","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/function-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":818,"count":1}],"isBlockCoverage":true},{"functionName":"functionName","ranges":[{"startOffset":132,"endOffset":816,"count":0}],"isBlockCoverage":false}]},{"scriptId":"876","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/deprecated.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1363,"count":1}],"isBlockCoverage":true},{"functionName":"exports.wrap","ranges":[{"startOffset":282,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"exports.defaultMsg","ranges":[{"startOffset":774,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"exports.printWarning","ranges":[{"startOffset":1080,"endOffset":1361,"count":0}],"isBlockCoverage":false}]},{"scriptId":"877","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/every.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":666,"count":1}],"isBlockCoverage":true},{"functionName":"every","ranges":[{"startOffset":241,"endOffset":664,"count":0}],"isBlockCoverage":false}]},{"scriptId":"878","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/order-by-first-call.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":817,"count":1}],"isBlockCoverage":true},{"functionName":"comparator","ranges":[{"startOffset":132,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"orderByFirstCall","ranges":[{"startOffset":701,"endOffset":780,"count":0}],"isBlockCoverage":false}]},{"scriptId":"879","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":225,"count":1}],"isBlockCoverage":true}]},{"scriptId":"880","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":125,"count":1}],"isBlockCoverage":true}]},{"scriptId":"881","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"882","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"883","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"884","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"885","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/type-of.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":266,"count":1}],"isBlockCoverage":true},{"functionName":"typeOf","ranges":[{"startOffset":200,"endOffset":264,"count":0}],"isBlockCoverage":false}]},{"scriptId":"886","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/value-to-string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"valueToString","ranges":[{"startOffset":116,"endOffset":336,"count":0}],"isBlockCoverage":false}]},{"scriptId":"887","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2572,"count":1}],"isBlockCoverage":true},{"functionName":"getFakeExecutor","ranges":[{"startOffset":538,"endOffset":717,"count":0}],"isBlockCoverage":false},{"functionName":"promise","ranges":[{"startOffset":1018,"endOffset":2544,"count":0}],"isBlockCoverage":false}]},{"scriptId":"888","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/is-restorable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":206,"count":1}],"isBlockCoverage":true},{"functionName":"isRestorable","ranges":[{"startOffset":15,"endOffset":173,"count":0}],"isBlockCoverage":false}]},{"scriptId":"889","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/restore-object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":369,"count":1}],"isBlockCoverage":true},{"functionName":"filter","ranges":[{"startOffset":71,"endOffset":179,"count":0}],"isBlockCoverage":false},{"functionName":"restore","ranges":[{"startOffset":181,"endOffset":251,"count":0}],"isBlockCoverage":false},{"functionName":"restoreObject","ranges":[{"startOffset":253,"endOffset":335,"count":0}],"isBlockCoverage":false}]},{"scriptId":"890","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/default-config.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":369,"count":1}],"isBlockCoverage":true}]},{"scriptId":"891","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/process.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4862,"count":1}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":70,"endOffset":151,"count":1},{"startOffset":128,"endOffset":148,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":473,"endOffset":4787,"count":11}],"isBlockCoverage":true},{"functionName":"FfmpegProcess","ranges":[{"startOffset":642,"endOffset":1129,"count":11}],"isBlockCoverage":true},{"functionName":"#validateOptions","ranges":[{"startOffset":1134,"endOffset":1316,"count":11},{"startOffset":1185,"endOffset":1206,"count":0},{"startOffset":1208,"endOffset":1310,"count":0}],"isBlockCoverage":true},{"functionName":"run","ranges":[{"startOffset":1419,"endOffset":4785,"count":11},{"startOffset":1477,"endOffset":1488,"count":10},{"startOffset":1605,"endOffset":1623,"count":1},{"startOffset":1624,"endOffset":1648,"count":1},{"startOffset":1650,"endOffset":1750,"count":1},{"startOffset":4654,"endOffset":4755,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1785,"endOffset":4629,"count":11},{"startOffset":2131,"endOffset":2191,"count":0},{"startOffset":2220,"endOffset":2480,"count":0},{"startOffset":2510,"endOffset":2788,"count":0},{"startOffset":3696,"endOffset":4096,"count":0},{"startOffset":4211,"endOffset":4479,"count":0},{"startOffset":4521,"endOffset":4619,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2256,"endOffset":2464,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2625,"endOffset":2772,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2819,"endOffset":2839,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2872,"endOffset":3659,"count":9},{"startOffset":2984,"endOffset":3085,"count":1},{"startOffset":3085,"endOffset":3645,"count":8},{"startOffset":3117,"endOffset":3449,"count":2},{"startOffset":3301,"endOffset":3383,"count":1},{"startOffset":3449,"endOffset":3645,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3795,"endOffset":3945,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4071,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4133,"endOffset":4173,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4313,"endOffset":4463,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4563,"endOffset":4603,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4681,"endOffset":4713,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4715,"endOffset":4743,"count":1}],"isBlockCoverage":true}]},{"scriptId":"892","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/platform.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":219,"count":1}],"isBlockCoverage":true}]},{"scriptId":"893","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/parsing.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7594,"count":1}],"isBlockCoverage":true},{"functionName":"extractErrorMessage","ranges":[{"startOffset":461,"endOffset":881,"count":0}],"isBlockCoverage":false},{"functionName":"extractProgress","ranges":[{"startOffset":1075,"endOffset":1940,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1984,"endOffset":3697,"count":0}],"isBlockCoverage":true},{"functionName":"parseCodecType","ranges":[{"startOffset":3747,"endOffset":3991,"count":0}],"isBlockCoverage":false},{"functionName":"extractCodecs","ranges":[{"startOffset":3992,"endOffset":5460,"count":0}],"isBlockCoverage":false},{"functionName":"extractFormats","ranges":[{"startOffset":5500,"endOffset":5911,"count":0}],"isBlockCoverage":false},{"functionName":"parseFilterStreams","ranges":[{"startOffset":5953,"endOffset":6199,"count":0}],"isBlockCoverage":false},{"functionName":"extractFilters","ranges":[{"startOffset":6200,"endOffset":6670,"count":0}],"isBlockCoverage":false},{"functionName":"parseEncoderType","ranges":[{"startOffset":6712,"endOffset":6862,"count":0}],"isBlockCoverage":false},{"functionName":"extractEncoders","ranges":[{"startOffset":6863,"endOffset":7515,"count":0}],"isBlockCoverage":false}]},{"scriptId":"894","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1322,"count":1}],"isBlockCoverage":true}]},{"scriptId":"895","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/line-buffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1846,"count":1}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":70,"endOffset":151,"count":1},{"startOffset":122,"endOffset":127,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":317,"endOffset":1776,"count":22}],"isBlockCoverage":true},{"functionName":"LineBuffer","ranges":[{"startOffset":412,"endOffset":537,"count":22}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":542,"endOffset":1432,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":1437,"endOffset":1713,"count":18},{"startOffset":1473,"endOffset":1537,"count":0},{"startOffset":1569,"endOffset":1678,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":1718,"endOffset":1774,"count":12}],"isBlockCoverage":true}]},{"scriptId":"896","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/helpers/spawn-stub.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1014,"count":1}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":70,"endOffset":151,"count":3},{"startOffset":122,"endOffset":127,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":435,"endOffset":707,"count":11}],"isBlockCoverage":true},{"functionName":"FakeProcess","ranges":[{"startOffset":573,"endOffset":705,"count":11}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":663,"endOffset":684,"count":11}],"isBlockCoverage":true},{"functionName":"stubSpawn","ranges":[{"startOffset":708,"endOffset":944,"count":11}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":893,"endOffset":918,"count":11}],"isBlockCoverage":true}]},{"scriptId":"897","url":"node:internal/util/iterable_weak_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1959,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":373,"endOffset":1819,"count":1}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":521,"endOffset":1033,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1037,"endOffset":1093,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":1097,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":1150,"endOffset":1388,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1392,"endOffset":1817,"count":8}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":1484,"endOffset":1736,"count":8},{"startOffset":1567,"endOffset":1735,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1758,"endOffset":1793,"count":0}],"isBlockCoverage":false},{"functionName":"cleanup","ranges":[{"startOffset":1821,"endOffset":1874,"count":0}],"isBlockCoverage":false}]}],"timestamp":85118.495793,"source-map-cache":{"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js":{"lineLengths":[13,7,62,74,65,63,53,60,45,115,43,34,51,41,47,46,41,38,37,55,26,64,27,15,15,25,20,6,17,22,17,6,14,23,19,35,40,9,52,24,28,30,32,11,5,16,36,5,28,40,35,29,23,19,9,28,43,28,9,14,30,9,5,28,31,25,9,32,24,46,51,9,28,62,9,19,5,1,22,1,37,12,26,44,10,16,34,10,18,36,10,6,2,49,14,25,5,14,16,1,41,52,40,25,65,24,29,13,25,31,23,20,26,16,32,43,32,49,45,70,71,69,35,63,46,83,84,82,82,81,27,37,34,68,74,61,17,36,49,34,70,41,68,29,53,40,17,14,9,61,49,5,22,29,40,29,9,28,37,24,9,59,33,22,49,63,68,30,13,10,5,12,27,19,9,28,65,68,68,35,33,49,17,51,23,46,13,25,9,44,47,10,46,49,10,5,14,28,19,9,29,45,53,33,28,75,13,32,17,60,37,13,25,32,11,55,67,33,5,30,29,40,21,9,43,28,65,91,5,31,45,56,46,49,37,13,33,60,33,69,32,23,9,14,55,9,5,1,35,65,25,94,3,67,39,2,68,29,2,61,3,28,3,66,66,45,2,12,3,24,3,68,66,45,2,12,3,27,33],"data":{"version":3,"file":"index.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/index.ts"],"names":[],"mappings":";;;;AAAA,iEAAiE;AACjE,+DAA+D;AAC/D,qDAAqD;AACrD,4DAA4D;AAC5D,6CAAsC;AAC7B,wFADA,oBAAO,OACA;AAQhB,MAAM,SAAS,GAAG,CAAC,OAAY,EAAwB,EAAE,CACvD,CAAC,CAAC,OAAO;IACT,OAAO,OAAO,KAAK,QAAQ;IAC3B,OAAO,OAAO,CAAC,cAAc,KAAK,UAAU;IAC5C,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,UAAU,KAAK,UAAU;IACxC,OAAO,OAAO,CAAC,SAAS,KAAK,UAAU;IACvC,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,GAAG,KAAK,QAAQ;IAC/B,OAAO,OAAO,CAAC,EAAE,KAAK,UAAU,CAAA;AAElC,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;AACtD,MAAM,MAAM,GAAqD,UAAU,CAAA;AAC3E,MAAM,oBAAoB,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;AAwB/D,2BAA2B;AAC3B,MAAM,OAAO;IACX,OAAO,GAAY;QACjB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,KAAK;KACZ,CAAA;IAED,SAAS,GAAc;QACrB,SAAS,EAAE,EAAE;QACb,IAAI,EAAE,EAAE;KACT,CAAA;IAED,KAAK,GAAW,CAAC,CAAA;IACjB,EAAE,GAAW,IAAI,CAAC,MAAM,EAAE,CAAA;IAE1B;QACE,IAAI,MAAM,CAAC,YAAY,CAAC,EAAE;YACxB,OAAO,MAAM,CAAC,YAAY,CAAC,CAAA;SAC5B;QACD,oBAAoB,CAAC,MAAM,EAAE,YAAY,EAAE;YACzC,KAAK,EAAE,IAAI;YACX,QAAQ,EAAE,KAAK;YACf,UAAU,EAAE,KAAK;YACjB,YAAY,EAAE,KAAK;SACpB,CAAC,CAAA;IACJ,CAAC;IAED,EAAE,CAAC,EAAa,EAAE,EAAW;QAC3B,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC7B,CAAC;IAED,cAAc,CAAC,EAAa,EAAE,EAAW;QACvC,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;QAC/B,MAAM,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;QAC1B,qBAAqB;QACrB,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE;YACZ,OAAM;SACP;QACD,oBAAoB;QACpB,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;YAChC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAA;SAChB;aAAM;YACL,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;SAClB;IACH,CAAC;IAED,IAAI,CACF,EAAa,EACb,IAA+B,EAC/B,MAA6B;QAE7B,IAAI,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;YACpB,OAAO,KAAK,CAAA;SACb;QACD,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,IAAI,CAAA;QACvB,IAAI,GAAG,GAAY,KAAK,CAAA;QACxB,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE;YACnC,GAAG,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,IAAI,IAAI,GAAG,CAAA;SACvC;QACD,IAAI,EAAE,KAAK,MAAM,EAAE;YACjB,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,GAAG,CAAA;SAClD;QACD,OAAO,GAAG,CAAA;IACZ,CAAC;CACF;AAED,MAAe,cAAc;CAI5B;AAED,MAAM,cAAc,GAAG,CAA2B,OAAU,EAAE,EAAE;IAC9D,OAAO;QACL,MAAM,CAAC,EAAW,EAAE,IAA+B;YACjD,OAAO,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;QACjC,CAAC;QACD,IAAI;YACF,OAAO,OAAO,CAAC,IAAI,EAAE,CAAA;QACvB,CAAC;QACD,MAAM;YACJ,OAAO,OAAO,CAAC,MAAM,EAAE,CAAA;QACzB,CAAC;KACF,CAAA;AACH,CAAC,CAAA;AAED,MAAM,kBAAmB,SAAQ,cAAc;IAC7C,MAAM;QACJ,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;IACjB,CAAC;IACD,IAAI,KAAI,CAAC;IACT,MAAM,KAAI,CAAC;CACZ;AAED,MAAM,UAAW,SAAQ,cAAc;IACrC,gDAAgD;IAChD,oCAAoC;IACpC,qBAAqB;IACrB,OAAO,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC5D,oBAAoB;IACpB,QAAQ,GAAG,IAAI,OAAO,EAAE,CAAA;IACxB,QAAQ,CAAW;IACnB,oBAAoB,CAAmB;IACvC,0BAA0B,CAAyB;IAEnD,aAAa,GAA2C,EAAE,CAAA;IAC1D,OAAO,GAAY,KAAK,CAAA;IAExB,YAAY,OAAkB;QAC5B,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAA;QACvB,mCAAmC;QACnC,IAAI,CAAC,aAAa,GAAG,EAAE,CAAA;QACvB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,GAAG,EAAE;gBAC7B,sDAAsD;gBACtD,uDAAuD;gBACvD,qDAAqD;gBACrD,mBAAmB;gBACnB,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;gBAC9C,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAA;gBAC7B,mEAAmE;gBACnE,oEAAoE;gBACpE,kEAAkE;gBAClE,kEAAkE;gBAClE,iEAAiE;gBACjE,WAAW;gBACX,qBAAqB;gBACrB,MAAM,CAAC,GAAG,OAET,CAAA;gBACD,IACE,OAAO,CAAC,CAAC,uBAAuB,KAAK,QAAQ;oBAC7C,OAAO,CAAC,CAAC,uBAAuB,CAAC,KAAK,KAAK,QAAQ,EACnD;oBACA,KAAK,IAAI,CAAC,CAAC,uBAAuB,CAAC,KAAK,CAAA;iBACzC;gBACD,oBAAoB;gBACpB,IAAI,SAAS,CAAC,MAAM,KAAK,KAAK,EAAE;oBAC9B,IAAI,CAAC,MAAM,EAAE,CAAA;oBACb,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,CAAA;oBACjD,qBAAqB;oBACrB,MAAM,CAAC,GAAG,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAA;oBAC/C,IAAI,CAAC,GAAG;wBAAE,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;oBACtC,oBAAoB;iBACrB;YACH,CAAC,CAAA;SACF;QAED,IAAI,CAAC,0BAA0B,GAAG,OAAO,CAAC,UAAU,CAAA;QACpD,IAAI,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAA;IAC1C,CAAC;IAED,MAAM,CAAC,EAAW,EAAE,IAA+B;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;SAChB;QACD,oBAAoB;QAEpB,IAAI,IAAI,CAAC,OAAO,KAAK,KAAK,EAAE;YAC1B,IAAI,CAAC,IAAI,EAAE,CAAA;SACZ;QAED,MAAM,EAAE,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAA;QAClD,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;QACxB,OAAO,GAAG,EAAE;YACV,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;YACpC,IACE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC;gBAC5C,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,MAAM,KAAK,CAAC,EACjD;gBACA,IAAI,CAAC,MAAM,EAAE,CAAA;aACd;QACH,CAAC,CAAA;IACH,CAAC;IAED,IAAI;QACF,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;QAEnB,yDAAyD;QACzD,4DAA4D;QAC5D,4DAA4D;QAC5D,2BAA2B;QAC3B,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;QAExB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI;gBACF,MAAM,EAAE,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;gBAClC,IAAI,EAAE;oBAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;aAClC;YAAC,OAAO,CAAC,EAAE,GAAE;SACf;QAED,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,EAAU,EAAE,GAAG,CAAQ,EAAE,EAAE;YAC/C,OAAO,IAAI,CAAC,YAAY,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,CAAA;QACpC,CAAC,CAAA;QACD,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,CAAC,IAAgC,EAAE,EAAE;YAC9D,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAA;QACtC,CAAC,CAAA;IACH,CAAC;IAED,MAAM;QACJ,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACjB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QAEpB,oBAAO,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACpB,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;YACxC,qBAAqB;YACrB,IAAI,CAAC,QAAQ,EAAE;gBACb,MAAM,IAAI,KAAK,CAAC,mCAAmC,GAAG,GAAG,CAAC,CAAA;aAC3D;YACD,oBAAoB;YACpB,IAAI;gBACF,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;gBAC3C,qBAAqB;aACtB;YAAC,OAAO,CAAC,EAAE,GAAE;YACd,oBAAoB;QACtB,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC,oBAAoB,CAAA;QAC9C,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,IAAI,CAAC,0BAA0B,CAAA;QAC1D,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;IAC1B,CAAC;IAED,kBAAkB,CAAC,IAAgC;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,CAAC,CAAA;SACT;QACD,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,IAAI,CAAC,CAAA;QAClC,oBAAoB;QAEpB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;QACxD,OAAO,IAAI,CAAC,0BAA0B,CAAC,IAAI,CACzC,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,QAAQ,CAAC,QAAQ,CACvB,CAAA;IACH,CAAC;IAED,YAAY,CAAC,EAAU,EAAE,GAAG,IAAW;QACrC,MAAM,EAAE,GAAG,IAAI,CAAC,oBAAoB,CAAA;QACpC,IAAI,EAAE,KAAK,MAAM,IAAI,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7C,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE;gBAC/B,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;gBAChC,qBAAqB;aACtB;YACD,qBAAqB;YACrB,MAAM,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;YAC/C,qBAAqB;YACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;YACxD,oBAAoB;YACpB,OAAO,GAAG,CAAA;SACX;aAAM;YACL,OAAO,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;SAC3C;IACH,CAAC;CACF;AAED,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAA;AAClC,iEAAiE;AACjE,yBAAyB;AACZ,KA6BT,cAAc,CAChB,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,kBAAkB,EAAE,CACxE;AA9BC;;;;;;;;GAQG;AACH,cAAM;AAEN;;;;;;GAMG;AACH,YAAI;AAEJ;;;;;;GAMG;AACH,cAAM,aAGP","sourcesContent":["// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nimport { signals } from './signals.js'\nexport { signals }\n\n// just a loosened process type so we can do some evil things\ntype ProcessRE = NodeJS.Process & {\n reallyExit: (code?: number | undefined | null) => any\n emit: (ev: string, ...a: any[]) => any\n}\n\nconst processOk = (process: any): process is ProcessRE =>\n !!process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n\nconst kExitEmitter = Symbol.for('signal-exit emitter')\nconst global: typeof globalThis & { [kExitEmitter]?: Emitter } = globalThis\nconst ObjectDefineProperty = Object.defineProperty.bind(Object)\n\n/**\n * A function that takes an exit code and signal as arguments\n *\n * In the case of signal exits *only*, a return value of true\n * will indicate that the signal is being handled, and we should\n * not synthetically exit with the signal we received. Regardless\n * of the handler return value, the handler is unloaded when an\n * otherwise fatal signal is received, so you get exactly 1 shot\n * at it, unless you add another onExit handler at that point.\n *\n * In the case of numeric code exits, we may already have committed\n * to exiting the process, for example via a fatal exception or\n * unhandled promise rejection, so it is impossible to stop safely.\n */\nexport type Handler = (\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n) => true | void\ntype ExitEvent = 'afterExit' | 'exit'\ntype Emitted = { [k in ExitEvent]: boolean }\ntype Listeners = { [k in ExitEvent]: Handler[] }\n\n// teeny special purpose ee\nclass Emitter {\n emitted: Emitted = {\n afterExit: false,\n exit: false,\n }\n\n listeners: Listeners = {\n afterExit: [],\n exit: [],\n }\n\n count: number = 0\n id: number = Math.random()\n\n constructor() {\n if (global[kExitEmitter]) {\n return global[kExitEmitter]\n }\n ObjectDefineProperty(global, kExitEmitter, {\n value: this,\n writable: false,\n enumerable: false,\n configurable: false,\n })\n }\n\n on(ev: ExitEvent, fn: Handler) {\n this.listeners[ev].push(fn)\n }\n\n removeListener(ev: ExitEvent, fn: Handler) {\n const list = this.listeners[ev]\n const i = list.indexOf(fn)\n /* c8 ignore start */\n if (i === -1) {\n return\n }\n /* c8 ignore stop */\n if (i === 0 && list.length === 1) {\n list.length = 0\n } else {\n list.splice(i, 1)\n }\n }\n\n emit(\n ev: ExitEvent,\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n ): boolean {\n if (this.emitted[ev]) {\n return false\n }\n this.emitted[ev] = true\n let ret: boolean = false\n for (const fn of this.listeners[ev]) {\n ret = fn(code, signal) === true || ret\n }\n if (ev === 'exit') {\n ret = this.emit('afterExit', code, signal) || ret\n }\n return ret\n }\n}\n\nabstract class SignalExitBase {\n abstract onExit(cb: Handler, opts?: { alwaysLast?: boolean }): () => void\n abstract load(): void\n abstract unload(): void\n}\n\nconst signalExitWrap = (handler: T) => {\n return {\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n return handler.onExit(cb, opts)\n },\n load() {\n return handler.load()\n },\n unload() {\n return handler.unload()\n },\n }\n}\n\nclass SignalExitFallback extends SignalExitBase {\n onExit() {\n return () => {}\n }\n load() {}\n unload() {}\n}\n\nclass SignalExit extends SignalExitBase {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n /* c8 ignore start */\n #hupSig = process.platform === 'win32' ? 'SIGINT' : 'SIGHUP'\n /* c8 ignore stop */\n #emitter = new Emitter()\n #process: ProcessRE\n #originalProcessEmit: ProcessRE['emit']\n #originalProcessReallyExit: ProcessRE['reallyExit']\n\n #sigListeners: { [k in NodeJS.Signals]?: () => void } = {}\n #loaded: boolean = false\n\n constructor(process: ProcessRE) {\n super()\n this.#process = process\n // { : , ... }\n this.#sigListeners = {}\n for (const sig of signals) {\n this.#sigListeners[sig] = () => {\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n const listeners = this.#process.listeners(sig)\n let { count } = this.#emitter\n // This is a workaround for the fact that signal-exit v3 and signal\n // exit v4 are not aware of each other, and each will attempt to let\n // the other handle it, so neither of them do. To correct this, we\n // detect if we're the only handler *except* for previous versions\n // of signal-exit, and increment by the count of listeners it has\n // created.\n /* c8 ignore start */\n const p = process as unknown as {\n __signal_exit_emitter__?: { count: number }\n }\n if (\n typeof p.__signal_exit_emitter__ === 'object' &&\n typeof p.__signal_exit_emitter__.count === 'number'\n ) {\n count += p.__signal_exit_emitter__.count\n }\n /* c8 ignore stop */\n if (listeners.length === count) {\n this.unload()\n const ret = this.#emitter.emit('exit', null, sig)\n /* c8 ignore start */\n const s = sig === 'SIGHUP' ? this.#hupSig : sig\n if (!ret) process.kill(process.pid, s)\n /* c8 ignore stop */\n }\n }\n }\n\n this.#originalProcessReallyExit = process.reallyExit\n this.#originalProcessEmit = process.emit\n }\n\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return () => {}\n }\n /* c8 ignore stop */\n\n if (this.#loaded === false) {\n this.load()\n }\n\n const ev = opts?.alwaysLast ? 'afterExit' : 'exit'\n this.#emitter.on(ev, cb)\n return () => {\n this.#emitter.removeListener(ev, cb)\n if (\n this.#emitter.listeners['exit'].length === 0 &&\n this.#emitter.listeners['afterExit'].length === 0\n ) {\n this.unload()\n }\n }\n }\n\n load() {\n if (this.#loaded) {\n return\n }\n this.#loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n this.#emitter.count += 1\n\n for (const sig of signals) {\n try {\n const fn = this.#sigListeners[sig]\n if (fn) this.#process.on(sig, fn)\n } catch (_) {}\n }\n\n this.#process.emit = (ev: string, ...a: any[]) => {\n return this.#processEmit(ev, ...a)\n }\n this.#process.reallyExit = (code?: number | null | undefined) => {\n return this.#processReallyExit(code)\n }\n }\n\n unload() {\n if (!this.#loaded) {\n return\n }\n this.#loaded = false\n\n signals.forEach(sig => {\n const listener = this.#sigListeners[sig]\n /* c8 ignore start */\n if (!listener) {\n throw new Error('Listener not defined for signal: ' + sig)\n }\n /* c8 ignore stop */\n try {\n this.#process.removeListener(sig, listener)\n /* c8 ignore start */\n } catch (_) {}\n /* c8 ignore stop */\n })\n this.#process.emit = this.#originalProcessEmit\n this.#process.reallyExit = this.#originalProcessReallyExit\n this.#emitter.count -= 1\n }\n\n #processReallyExit(code?: number | null | undefined) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return 0\n }\n this.#process.exitCode = code || 0\n /* c8 ignore stop */\n\n this.#emitter.emit('exit', this.#process.exitCode, null)\n return this.#originalProcessReallyExit.call(\n this.#process,\n this.#process.exitCode\n )\n }\n\n #processEmit(ev: string, ...args: any[]): any {\n const og = this.#originalProcessEmit\n if (ev === 'exit' && processOk(this.#process)) {\n if (typeof args[0] === 'number') {\n this.#process.exitCode = args[0]\n /* c8 ignore start */\n }\n /* c8 ignore start */\n const ret = og.call(this.#process, ev, ...args)\n /* c8 ignore start */\n this.#emitter.emit('exit', this.#process.exitCode, null)\n /* c8 ignore stop */\n return ret\n } else {\n return og.call(this.#process, ev, ...args)\n }\n }\n}\n\nconst process = globalThis.process\n// wrap so that we call the method on the actual handler, without\n// exporting it directly.\nexport const {\n /**\n * Called when the process is exiting, whether via signal, explicit\n * exit, or running out of stuff to do.\n *\n * If the global process object is not suitable for instrumentation,\n * then this will be a no-op.\n *\n * Returns a function that may be used to unload signal-exit.\n */\n onExit,\n\n /**\n * Load the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n load,\n\n /**\n * Unload the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n unload,\n} = signalExitWrap(\n processOk(process) ? new SignalExit(process) : new SignalExitFallback()\n)\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js":{"lineLengths":[13,62,25,3,47,2,54,54,53,55,28,2,55,54,52,2,54,49,2,56,52,55,36,2,54,50,54,13,3,21,52,35,133,61,14,16,6,1,35,68,1,35],"data":{"version":3,"file":"signals.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/signals.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACU,QAAA,OAAO,GAAqB,EAAE,CAAA;AAC3C,eAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAA;AAE3C,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CACV,SAAS,EACT,SAAS,EACT,WAAW,EACX,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,EACR,SAAS,EACT,QAAQ;IACR,yDAAyD;IACzD,UAAU;IACV,YAAY;KACb,CAAA;CACF;AAED,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAA;CACxD","sourcesContent":["/**\n * This is not the set of all possible signals.\n *\n * It IS, however, the set of all signals that trigger\n * an exit on either Linux or BSD systems. Linux is a\n * superset of the signal names supported on BSD, and\n * the unknown signals just fail to register, so we can\n * catch that easily enough.\n *\n * Windows signals are a different set, since there are\n * signals that terminate Windows processes, but don't\n * terminate (or don't even exist) on Posix systems.\n *\n * Don't bother with SIGKILL. It's uncatchable, which\n * means that we can't fire any callbacks anyway.\n *\n * If a user does happen to register a handler on a non-\n * fatal signal like SIGWINCH or something, and then\n * exit, it'll end up firing `process.emit('exit')`, so\n * the handler will be fired anyway.\n *\n * SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n * artificially, inherently leave the process in a\n * state from which it is not safe to try and enter JS\n * listeners.\n */\nexport const signals: NodeJS.Signals[] = []\nsignals.push('SIGHUP', 'SIGINT', 'SIGTERM')\n\nif (process.platform !== 'win32') {\n signals.push(\n 'SIGALRM',\n 'SIGABRT',\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n signals.push('SIGIO', 'SIGPOLL', 'SIGPWR', 'SIGSTKFLT')\n}\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/unit/process-test.js":{"lineLengths":[13,97,33,53,88,68,5,39,29,33,17,4,96,72,21,21,3,66,42,20,141,36,18,2,72,62,2,62,46,50,47,71,54,69,75,72,33,43,17,25,9,27,31,29,9,7,3,79,75,81,33,43,15,46,9,27,31,29,9,7,3,78,75,93,33,43,17,25,9,32,31,29,9,7,3,82,75,88,33,43,17,25,9,27,27,29,9,7,3,86,75,48,22,28,39,7,93,33,43,26,25,9,32,31,29,9,7,3,83,85,80,61,3,78,68,80,81,3,81,64,42,51,21,22,35,7,80,77,3,99,64,42,51,47,22,35,7,80,34,75,7,3,101,59,42,93,32,43,45,3,102,85,42,12,9,84,5,15,16,5,32,42,48,3,40],"data":{"version":3,"file":"process-test.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/tests/unit/process-test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAsB;AACtB,kDAAyB;AAEzB,+CAAiD;AACjD,uEAAwD;AAExD,sDAAiD;AAEjD,aAAI,CAAC,MAAM,CAAC,gCAAgC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACxD,IAAI,SAAS,GAAG,IAAA,sBAAS,EAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;IAEpD,MAAM,IAAI,uBAAa,CAAC,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,CAAA;IAEzD,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAA;IAC5B,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE;QACpC,QAAQ;QACR,CAAC,MAAM,EAAE,MAAM,CAAC;QAChB;YACE,GAAG,EAAE,SAAS;YACd,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,IAAI;SAClB;KACF,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA;AAEF,aAAI,CAAC,MAAM,CAAC,0CAA0C,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAClE,IAAI,SAAS,GAAG,IAAA,sBAAS,EAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;IAEpD,MAAM,IAAI,uBAAa,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,CAAA;IAElE,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAA;IAC5B,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE;QACpC,MAAM;QACN,CAAC,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC;QACrC;YACE,GAAG,EAAE,SAAS;YACd,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,IAAI;SAClB;KACF,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA;AAEF,aAAI,CAAC,MAAM,CAAC,yCAAyC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACjE,IAAI,SAAS,GAAG,IAAA,sBAAS,EAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;IAEpD,MAAM,IAAI,uBAAa,CAAC,EAAE,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,CAAA;IAE9E,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAA;IAC5B,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE;QACpC,QAAQ;QACR,CAAC,MAAM,EAAE,MAAM,CAAC;QAChB;YACE,GAAG,EAAE,cAAc;YACnB,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,IAAI;SAClB;KACF,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA;AAEF,aAAI,CAAC,MAAM,CAAC,6CAA6C,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACrE,IAAI,SAAS,GAAG,IAAA,sBAAS,EAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;IAEpD,MAAM,IAAI,uBAAa,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,CAAA;IAEzE,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAA;IAC5B,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE;QACpC,QAAQ;QACR,CAAC,MAAM,EAAE,MAAM,CAAC;QAChB;YACE,GAAG,EAAE,SAAS;YACd,OAAO,EAAE,KAAK;YACd,WAAW,EAAE,IAAI;SAClB;KACF,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA;AAEF,aAAI,CAAC,MAAM,CAAC,iDAAiD,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACzE,IAAI,SAAS,GAAG,IAAA,sBAAS,EAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;IAEpD,OAAO,CAAC,GAAG,CAAC,WAAW,GAAG,iBAAiB,CAAA;IAE3C,CAAC,CAAC,QAAQ,CAAC,GAAG,EAAE;QACd,SAAS,CAAC,OAAO,EAAE,CAAA;QACnB,OAAO,OAAO,CAAC,GAAG,CAAC,WAAW,CAAA;IAChC,CAAC,CAAC,CAAA;IAEF,MAAM,IAAI,uBAAa,CAAC,EAAE,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,CAAA;IAE9E,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAA;IAC5B,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE;QACpC,iBAAiB;QACjB,CAAC,MAAM,EAAE,MAAM,CAAC;QAChB;YACE,GAAG,EAAE,cAAc;YACnB,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,IAAI;SAClB;KACF,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA;AAEF,aAAI,CAAC,MAAM,CAAC,8CAA8C,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACtE,IAAA,sBAAS,EAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAA;IAE9D,IAAI,OAAO,GAAG,IAAI,uBAAa,CAAC,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,CAAA;IAEjE,MAAM,CAAC,CAAC,WAAW,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE,CAAC,CAAA;AAC1D,CAAC,CAAC,CAAA;AAEF,aAAI,CAAC,MAAM,CAAC,yCAAyC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACjE,IAAA,sBAAS,EAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAA;IAE7C,IAAI,OAAO,GAAG,IAAI,uBAAa,CAAC,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,CAAA;IAEjE,MAAM,CAAC,CAAC,WAAW,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC,CAAA;AAC9E,CAAC,CAAC,CAAA;AAEF,aAAI,CAAC,MAAM,CAAC,4CAA4C,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACpE,IAAA,sBAAS,EAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAA;IAEzC,IAAI,gBAAgB,GAAG,eAAK;SACzB,IAAI,CAAC,aAAa,EAAE,qBAAqB,CAAC;SAC1C,OAAO,CAAC,EAAE,CAAC,CAAA;IAEd,CAAC,CAAC,QAAQ,CAAC,GAAG,EAAE;QACd,gBAAgB,CAAC,OAAO,EAAE,CAAA;IAC5B,CAAC,CAAC,CAAA;IAEF,IAAI,OAAO,GAAG,IAAI,uBAAa,CAAC,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,CAAA;IAEjE,MAAM,CAAC,CAAC,WAAW,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC,CAAA;AAC1E,CAAC,CAAC,CAAA;AAEF,aAAI,CAAC,MAAM,CACT,8DAA8D,EAC9D,KAAK,EAAE,CAAC,EAAE,EAAE;IACV,IAAA,sBAAS,EAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAA;IAEzC,IAAI,gBAAgB,GAAG,eAAK;SACzB,IAAI,CAAC,aAAa,EAAE,qBAAqB,CAAC;SAC1C,OAAO,CAAC,4BAA4B,CAAC,CAAA;IAExC,CAAC,CAAC,QAAQ,CAAC,GAAG,EAAE;QACd,gBAAgB,CAAC,OAAO,EAAE,CAAA;IAC5B,CAAC,CAAC,CAAA;IAEF,IAAI,OAAO,GAAG,IAAI,uBAAa,CAAC,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,CAAA;IAEjE,MAAM,CAAC,CAAC,WAAW,CAAC,OAAO,EAAE;QAC3B,OAAO,EAAE,0DAA0D;KACpE,CAAC,CAAA;AACJ,CAAC,CACF,CAAA;AAED,aAAI,CAAC,MAAM,CACT,gEAAgE,EAChE,KAAK,EAAE,CAAC,EAAE,EAAE;IACV,IAAA,sBAAS,EAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;IAEpC,IAAI,QAAQ,GAAG,eAAK,CAAC,IAAI,EAAE,CAAA;IAE3B,IAAI,MAAM,GAAG,MAAM,IAAI,uBAAa,CAAC,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC,GAAG,CAClE,QAAQ,CACT,CAAA;IAED,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAA;IAC3B,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAA;IACtC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,CAAA;AAC1C,CAAC,CACF,CAAA;AAED,aAAI,CAAC,MAAM,CACT,iEAAiE,EACjE,KAAK,EAAE,CAAC,EAAE,EAAE;IACV,IAAA,sBAAS,EAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAA;IAE9D,IAAI,QAAQ,GAAG,eAAK,CAAC,IAAI,EAAE,CAAA;IAC3B,IAAI,GAAG,CAAA;IAEP,IAAI;QACF,MAAM,IAAI,uBAAa,CAAC,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;KAClE;IAAC,OAAO,CAAC,EAAE;QACV,GAAG,GAAG,CAAC,CAAA;KACR;IAED,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAA;IAC3B,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAA;IACrC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,CAAA;AAC7C,CAAC,CACF,CAAA"},"url":null,"sourceURL":null,"sourceMap":{}},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/index.js":{"lineLengths":[25,13,0,46,13,3,40,19,23,28,3,3,45,19,23,32,3,3,45,19,23,27,3,3,54,19,23,36,3,3,45,19,23,27,3,3,52,19,23,34,3,3,49,19,23,35,3,3,43,19,23,24,3,3,44,19,23,26,3,3,48,19,23,30,3,3,46,19,23,29,3,3,46,19,23,29,3,3,48,19,23,31,3,3,46,19,23,29,3,3,41,19,23,24,3,3,51,19,23,35,3,3,55,19,23,39,3,3,47,19,23,31,3,3,55,19,23,36,3,3,55,19,23,36,3,3,0,23,3,25,54,23,1,0,3,25,40,23,1,0,3,25,30,23,1,0,3,25,30,23,1,0,3,25,38,23,1,0,3,25,28,23,1,0,3,25,30,23,1,0,3,25,32,23,1,0,3,25,33,23,1,0,3,25,33,23,1,0,3,25,33,23,1,0,3,25,35,23,1,0,3,25,31,23,1,0,3,25,31,23,1,0,123,0,23,3012,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AAEA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AAEA;AAAA;AAAA;AAAA;AAAA;;AAEA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AAEA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["/* See LICENSE file for terms of use */\n\n/*\n * Text diff implementation.\n *\n * This library supports the following APIS:\n * JsDiff.diffChars: Character by character diff\n * JsDiff.diffWords: Word (as defined by \\b regex) diff which ignores whitespace\n * JsDiff.diffLines: Line based diff\n *\n * JsDiff.diffCss: Diff targeted at CSS content\n *\n * These methods are based on the implementation proposed in\n * \"An O(ND) Difference Algorithm and its Variations\" (Myers, 1986).\n * http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.4.6927\n */\nimport Diff from './diff/base';\nimport {diffChars} from './diff/character';\nimport {diffWords, diffWordsWithSpace} from './diff/word';\nimport {diffLines, diffTrimmedLines} from './diff/line';\nimport {diffSentences} from './diff/sentence';\n\nimport {diffCss} from './diff/css';\nimport {diffJson, canonicalize} from './diff/json';\n\nimport {diffArrays} from './diff/array';\n\nimport {applyPatch, applyPatches} from './patch/apply';\nimport {parsePatch} from './patch/parse';\nimport {merge} from './patch/merge';\nimport {structuredPatch, createTwoFilesPatch, createPatch} from './patch/create';\n\nimport {convertChangesToDMP} from './convert/dmp';\nimport {convertChangesToXML} from './convert/xml';\n\nexport {\n Diff,\n\n diffChars,\n diffWords,\n diffWordsWithSpace,\n diffLines,\n diffTrimmedLines,\n diffSentences,\n\n diffCss,\n diffJson,\n\n diffArrays,\n\n structuredPatch,\n createTwoFilesPatch,\n createPatch,\n applyPatch,\n applyPatches,\n parsePatch,\n merge,\n convertChangesToDMP,\n convertChangesToXML,\n canonicalize\n};\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/base.js":{"lineLengths":[25,13,0,46,13,3,26,0,23,18,0,18,27,0,25,45,29,7,27,85,36,0,40,25,19,5,0,27,20,0,26,21,32,37,14,20,14,21,7,63,0,0,42,42,59,59,34,34,23,40,0,32,69,5,0,21,17,20,76,0,74,0,67,48,20,36,31,10,91,0,0,31,95,22,33,14,31,9,0,49,52,74,0,22,72,49,9,0,60,71,0,36,50,45,19,81,80,57,0,0,73,43,67,16,80,0,28,67,9,0,143,0,69,106,16,77,44,9,7,0,19,89,86,86,46,0,0,19,24,32,43,30,11,0,34,19,11,14,11,12,43,35,0,18,21,9,7,5,4,0,27,0,25,69,49,0,67,71,31,43,30,21,24,8,12,23,17,21,24,9,5,4,0,27,0,25,87,34,34,33,39,24,0,117,15,15,20,5,0,22,32,26,9,5,0,29,18,4,0,27,0,25,40,34,50,12,101,5,4,0,27,0,25,44,17,0,44,21,27,7,5,0,15,4,0,27,0,25,40,17,4,0,27,0,25,38,27,4,0,27,0,25,30,26,3,2,0,79,23,39,17,17,0,55,45,0,29,48,70,47,47,67,11,43,14,87,7,0,47,0,29,34,7,12,85,113,89,63,0,63,47,64,39,7,5,78,83,44,0,0,51,0,158,62,21,3,0,20,1,0,26,10,24,40,4,1,22480,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/base.js"],"names":["Diff","prototype","diff","oldString","newString","options","callback","self","done","value","setTimeout","undefined","castInput","removeEmpty","tokenize","newLen","length","oldLen","editLength","maxEditLength","Math","min","bestPath","newPos","components","oldPos","extractCommon","join","count","execEditLength","diagonalPath","basePath","addPath","removePath","canAdd","canRemove","clonePath","pushComponent","buildValues","useLongestToken","exec","ret","added","removed","last","push","commonCount","equals","left","right","comparator","ignoreCase","toLowerCase","array","i","split","chars","componentPos","componentLen","component","slice","map","oldValue","tmp","lastComponent","pop","path"],"mappings":";;;;;;;;;AAAe,SAASA,IAAT,GAAgB,CAAE;;AAEjCA,IAAI,CAACC,SAAL,GAAiB;AAAA;;AAAA;AACfC,EAAAA,IADe,gBACVC,SADU,EACCC,SADD,EAC0B;AAAA;AAAA;AAAA;AAAdC,IAAAA,OAAc,uEAAJ,EAAI;AACvC,QAAIC,QAAQ,GAAGD,OAAO,CAACC,QAAvB;;AACA,QAAI,OAAOD,OAAP,KAAmB,UAAvB,EAAmC;AACjCC,MAAAA,QAAQ,GAAGD,OAAX;AACAA,MAAAA,OAAO,GAAG,EAAV;AACD;;AACD,SAAKA,OAAL,GAAeA,OAAf;AAEA,QAAIE,IAAI,GAAG,IAAX;;AAEA,aAASC,IAAT,CAAcC,KAAd,EAAqB;AACnB,UAAIH,QAAJ,EAAc;AACZI,QAAAA,UAAU,CAAC,YAAW;AAAEJ,UAAAA,QAAQ,CAACK,SAAD,EAAYF,KAAZ,CAAR;AAA6B,SAA3C,EAA6C,CAA7C,CAAV;AACA,eAAO,IAAP;AACD,OAHD,MAGO;AACL,eAAOA,KAAP;AACD;AACF,KAjBsC,CAmBvC;;;AACAN,IAAAA,SAAS,GAAG,KAAKS,SAAL,CAAeT,SAAf,CAAZ;AACAC,IAAAA,SAAS,GAAG,KAAKQ,SAAL,CAAeR,SAAf,CAAZ;AAEAD,IAAAA,SAAS,GAAG,KAAKU,WAAL,CAAiB,KAAKC,QAAL,CAAcX,SAAd,CAAjB,CAAZ;AACAC,IAAAA,SAAS,GAAG,KAAKS,WAAL,CAAiB,KAAKC,QAAL,CAAcV,SAAd,CAAjB,CAAZ;AAEA,QAAIW,MAAM,GAAGX,SAAS,CAACY,MAAvB;AAAA,QAA+BC,MAAM,GAAGd,SAAS,CAACa,MAAlD;AACA,QAAIE,UAAU,GAAG,CAAjB;AACA,QAAIC,aAAa,GAAGJ,MAAM,GAAGE,MAA7B;;AACA,QAAGZ,OAAO,CAACc,aAAX,EAA0B;AACxBA,MAAAA,aAAa,GAAGC,IAAI,CAACC,GAAL,CAASF,aAAT,EAAwBd,OAAO,CAACc,aAAhC,CAAhB;AACD;;AAED,QAAIG,QAAQ,GAAG,CAAC;AAAEC,MAAAA,MAAM,EAAE,CAAC,CAAX;AAAcC,MAAAA,UAAU,EAAE;AAA1B,KAAD,CAAf,CAjCuC,CAmCvC;;AACA,QAAIC,MAAM,GAAG,KAAKC,aAAL,CAAmBJ,QAAQ,CAAC,CAAD,CAA3B,EAAgClB,SAAhC,EAA2CD,SAA3C,EAAsD,CAAtD,CAAb;;AACA,QAAImB,QAAQ,CAAC,CAAD,CAAR,CAAYC,MAAZ,GAAqB,CAArB,IAA0BR,MAA1B,IAAoCU,MAAM,GAAG,CAAT,IAAcR,MAAtD,EAA8D;AAC5D;AACA,aAAOT,IAAI,CAAC,CAAC;AAACC,QAAAA,KAAK,EAAE,KAAKkB,IAAL,CAAUvB,SAAV,CAAR;AAA8BwB,QAAAA,KAAK,EAAExB,SAAS,CAACY;AAA/C,OAAD,CAAD,CAAX;AACD,KAxCsC,CA0CvC;;;AACA,aAASa,cAAT,GAA0B;AACxB,WAAK,IAAIC,YAAY,GAAG,CAAC,CAAD,GAAKZ,UAA7B,EAAyCY,YAAY,IAAIZ,UAAzD,EAAqEY,YAAY,IAAI,CAArF,EAAwF;AACtF,YAAIC,QAAQ;AAAA;AAAA;AAAZ;AAAA;;AACA,YAAIC,OAAO,GAAGV,QAAQ,CAACQ,YAAY,GAAG,CAAhB,CAAtB;AAAA,YACIG,UAAU,GAAGX,QAAQ,CAACQ,YAAY,GAAG,CAAhB,CADzB;AAAA,YAEIL,OAAM,GAAG,CAACQ,UAAU,GAAGA,UAAU,CAACV,MAAd,GAAuB,CAAlC,IAAuCO,YAFpD;;AAGA,YAAIE,OAAJ,EAAa;AACX;AACAV,UAAAA,QAAQ,CAACQ,YAAY,GAAG,CAAhB,CAAR,GAA6BnB,SAA7B;AACD;;AAED,YAAIuB,MAAM,GAAGF,OAAO,IAAIA,OAAO,CAACT,MAAR,GAAiB,CAAjB,GAAqBR,MAA7C;AAAA,YACIoB,SAAS,GAAGF,UAAU,IAAI,KAAKR,OAAnB,IAA6BA,OAAM,GAAGR,MADtD;;AAEA,YAAI,CAACiB,MAAD,IAAW,CAACC,SAAhB,EAA2B;AACzB;AACAb,UAAAA,QAAQ,CAACQ,YAAD,CAAR,GAAyBnB,SAAzB;AACA;AACD,SAhBqF,CAkBtF;AACA;AACA;;;AACA,YAAI,CAACuB,MAAD,IAAYC,SAAS,IAAIH,OAAO,CAACT,MAAR,GAAiBU,UAAU,CAACV,MAAzD,EAAkE;AAChEQ,UAAAA,QAAQ,GAAGK,SAAS,CAACH,UAAD,CAApB;AACA1B,UAAAA,IAAI,CAAC8B,aAAL,CAAmBN,QAAQ,CAACP,UAA5B,EAAwCb,SAAxC,EAAmD,IAAnD;AACD,SAHD,MAGO;AACLoB,UAAAA,QAAQ,GAAGC,OAAX,CADK,CACe;;AACpBD,UAAAA,QAAQ,CAACR,MAAT;AACAhB,UAAAA,IAAI,CAAC8B,aAAL,CAAmBN,QAAQ,CAACP,UAA5B,EAAwC,IAAxC,EAA8Cb,SAA9C;AACD;;AAEDc,QAAAA,OAAM,GAAGlB,IAAI,CAACmB,aAAL,CAAmBK,QAAnB,EAA6B3B,SAA7B,EAAwCD,SAAxC,EAAmD2B,YAAnD,CAAT,CA9BsF,CAgCtF;;AACA,YAAIC,QAAQ,CAACR,MAAT,GAAkB,CAAlB,IAAuBR,MAAvB,IAAiCU,OAAM,GAAG,CAAT,IAAcR,MAAnD,EAA2D;AACzD,iBAAOT,IAAI,CAAC8B,WAAW,CAAC/B,IAAD,EAAOwB,QAAQ,CAACP,UAAhB,EAA4BpB,SAA5B,EAAuCD,SAAvC,EAAkDI,IAAI,CAACgC,eAAvD,CAAZ,CAAX;AACD,SAFD,MAEO;AACL;AACAjB,UAAAA,QAAQ,CAACQ,YAAD,CAAR,GAAyBC,QAAzB;AACD;AACF;;AAEDb,MAAAA,UAAU;AACX,KAtFsC,CAwFvC;AACA;AACA;AACA;;;AACA,QAAIZ,QAAJ,EAAc;AACX,gBAASkC,IAAT,GAAgB;AACf9B,QAAAA,UAAU,CAAC,YAAW;AACpB,cAAIQ,UAAU,GAAGC,aAAjB,EAAgC;AAC9B,mBAAOb,QAAQ,EAAf;AACD;;AAED,cAAI,CAACuB,cAAc,EAAnB,EAAuB;AACrBW,YAAAA,IAAI;AACL;AACF,SARS,EAQP,CARO,CAAV;AASD,OAVA,GAAD;AAWD,KAZD,MAYO;AACL,aAAOtB,UAAU,IAAIC,aAArB,EAAoC;AAClC,YAAIsB,GAAG,GAAGZ,cAAc,EAAxB;;AACA,YAAIY,GAAJ,EAAS;AACP,iBAAOA,GAAP;AACD;AACF;AACF;AACF,GAjHc;;AAAA;;AAAA;AAmHfJ,EAAAA,aAnHe,yBAmHDb,UAnHC,EAmHWkB,KAnHX,EAmHkBC,OAnHlB,EAmH2B;AACxC,QAAIC,IAAI,GAAGpB,UAAU,CAACA,UAAU,CAACR,MAAX,GAAoB,CAArB,CAArB;;AACA,QAAI4B,IAAI,IAAIA,IAAI,CAACF,KAAL,KAAeA,KAAvB,IAAgCE,IAAI,CAACD,OAAL,KAAiBA,OAArD,EAA8D;AAC5D;AACA;AACAnB,MAAAA,UAAU,CAACA,UAAU,CAACR,MAAX,GAAoB,CAArB,CAAV,GAAoC;AAACY,QAAAA,KAAK,EAAEgB,IAAI,CAAChB,KAAL,GAAa,CAArB;AAAwBc,QAAAA,KAAK,EAAEA,KAA/B;AAAsCC,QAAAA,OAAO,EAAEA;AAA/C,OAApC;AACD,KAJD,MAIO;AACLnB,MAAAA,UAAU,CAACqB,IAAX,CAAgB;AAACjB,QAAAA,KAAK,EAAE,CAAR;AAAWc,QAAAA,KAAK,EAAEA,KAAlB;AAAyBC,QAAAA,OAAO,EAAEA;AAAlC,OAAhB;AACD;AACF,GA5Hc;;AAAA;;AAAA;AA6HfjB,EAAAA,aA7He,yBA6HDK,QA7HC,EA6HS3B,SA7HT,EA6HoBD,SA7HpB,EA6H+B2B,YA7H/B,EA6H6C;AAC1D,QAAIf,MAAM,GAAGX,SAAS,CAACY,MAAvB;AAAA,QACIC,MAAM,GAAGd,SAAS,CAACa,MADvB;AAAA,QAEIO,MAAM,GAAGQ,QAAQ,CAACR,MAFtB;AAAA,QAGIE,MAAM,GAAGF,MAAM,GAAGO,YAHtB;AAAA,QAKIgB,WAAW,GAAG,CALlB;;AAMA,WAAOvB,MAAM,GAAG,CAAT,GAAaR,MAAb,IAAuBU,MAAM,GAAG,CAAT,GAAaR,MAApC,IAA8C,KAAK8B,MAAL,CAAY3C,SAAS,CAACmB,MAAM,GAAG,CAAV,CAArB,EAAmCpB,SAAS,CAACsB,MAAM,GAAG,CAAV,CAA5C,CAArD,EAAgH;AAC9GF,MAAAA,MAAM;AACNE,MAAAA,MAAM;AACNqB,MAAAA,WAAW;AACZ;;AAED,QAAIA,WAAJ,EAAiB;AACff,MAAAA,QAAQ,CAACP,UAAT,CAAoBqB,IAApB,CAAyB;AAACjB,QAAAA,KAAK,EAAEkB;AAAR,OAAzB;AACD;;AAEDf,IAAAA,QAAQ,CAACR,MAAT,GAAkBA,MAAlB;AACA,WAAOE,MAAP;AACD,GAhJc;;AAAA;;AAAA;AAkJfsB,EAAAA,MAlJe,kBAkJRC,IAlJQ,EAkJFC,KAlJE,EAkJK;AAClB,QAAI,KAAK5C,OAAL,CAAa6C,UAAjB,EAA6B;AAC3B,aAAO,KAAK7C,OAAL,CAAa6C,UAAb,CAAwBF,IAAxB,EAA8BC,KAA9B,CAAP;AACD,KAFD,MAEO;AACL,aAAOD,IAAI,KAAKC,KAAT,IACD,KAAK5C,OAAL,CAAa8C,UAAb,IAA2BH,IAAI,CAACI,WAAL,OAAuBH,KAAK,CAACG,WAAN,EADxD;AAED;AACF,GAzJc;;AAAA;;AAAA;AA0JfvC,EAAAA,WA1Je,uBA0JHwC,KA1JG,EA0JI;AACjB,QAAIZ,GAAG,GAAG,EAAV;;AACA,SAAK,IAAIa,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGD,KAAK,CAACrC,MAA1B,EAAkCsC,CAAC,EAAnC,EAAuC;AACrC,UAAID,KAAK,CAACC,CAAD,CAAT,EAAc;AACZb,QAAAA,GAAG,CAACI,IAAJ,CAASQ,KAAK,CAACC,CAAD,CAAd;AACD;AACF;;AACD,WAAOb,GAAP;AACD,GAlKc;;AAAA;;AAAA;AAmKf7B,EAAAA,SAnKe,qBAmKLH,KAnKK,EAmKE;AACf,WAAOA,KAAP;AACD,GArKc;;AAAA;;AAAA;AAsKfK,EAAAA,QAtKe,oBAsKNL,KAtKM,EAsKC;AACd,WAAOA,KAAK,CAAC8C,KAAN,CAAY,EAAZ,CAAP;AACD,GAxKc;;AAAA;;AAAA;AAyKf5B,EAAAA,IAzKe,gBAyKV6B,KAzKU,EAyKH;AACV,WAAOA,KAAK,CAAC7B,IAAN,CAAW,EAAX,CAAP;AACD;AA3Kc,CAAjB;;AA8KA,SAASW,WAAT,CAAqBpC,IAArB,EAA2BsB,UAA3B,EAAuCpB,SAAvC,EAAkDD,SAAlD,EAA6DoC,eAA7D,EAA8E;AAC5E,MAAIkB,YAAY,GAAG,CAAnB;AAAA,MACIC,YAAY,GAAGlC,UAAU,CAACR,MAD9B;AAAA,MAEIO,MAAM,GAAG,CAFb;AAAA,MAGIE,MAAM,GAAG,CAHb;;AAKA,SAAOgC,YAAY,GAAGC,YAAtB,EAAoCD,YAAY,EAAhD,EAAoD;AAClD,QAAIE,SAAS,GAAGnC,UAAU,CAACiC,YAAD,CAA1B;;AACA,QAAI,CAACE,SAAS,CAAChB,OAAf,EAAwB;AACtB,UAAI,CAACgB,SAAS,CAACjB,KAAX,IAAoBH,eAAxB,EAAyC;AACvC,YAAI9B,KAAK,GAAGL,SAAS,CAACwD,KAAV,CAAgBrC,MAAhB,EAAwBA,MAAM,GAAGoC,SAAS,CAAC/B,KAA3C,CAAZ;AACAnB,QAAAA,KAAK,GAAGA,KAAK,CAACoD,GAAN,CAAU,UAASpD,KAAT,EAAgB6C,CAAhB,EAAmB;AACnC,cAAIQ,QAAQ,GAAG3D,SAAS,CAACsB,MAAM,GAAG6B,CAAV,CAAxB;AACA,iBAAOQ,QAAQ,CAAC9C,MAAT,GAAkBP,KAAK,CAACO,MAAxB,GAAiC8C,QAAjC,GAA4CrD,KAAnD;AACD,SAHO,CAAR;AAKAkD,QAAAA,SAAS,CAAClD,KAAV,GAAkBP,IAAI,CAACyB,IAAL,CAAUlB,KAAV,CAAlB;AACD,OARD,MAQO;AACLkD,QAAAA,SAAS,CAAClD,KAAV,GAAkBP,IAAI,CAACyB,IAAL,CAAUvB,SAAS,CAACwD,KAAV,CAAgBrC,MAAhB,EAAwBA,MAAM,GAAGoC,SAAS,CAAC/B,KAA3C,CAAV,CAAlB;AACD;;AACDL,MAAAA,MAAM,IAAIoC,SAAS,CAAC/B,KAApB,CAZsB,CActB;;AACA,UAAI,CAAC+B,SAAS,CAACjB,KAAf,EAAsB;AACpBjB,QAAAA,MAAM,IAAIkC,SAAS,CAAC/B,KAApB;AACD;AACF,KAlBD,MAkBO;AACL+B,MAAAA,SAAS,CAAClD,KAAV,GAAkBP,IAAI,CAACyB,IAAL,CAAUxB,SAAS,CAACyD,KAAV,CAAgBnC,MAAhB,EAAwBA,MAAM,GAAGkC,SAAS,CAAC/B,KAA3C,CAAV,CAAlB;AACAH,MAAAA,MAAM,IAAIkC,SAAS,CAAC/B,KAApB,CAFK,CAIL;AACA;AACA;;AACA,UAAI6B,YAAY,IAAIjC,UAAU,CAACiC,YAAY,GAAG,CAAhB,CAAV,CAA6Bf,KAAjD,EAAwD;AACtD,YAAIqB,GAAG,GAAGvC,UAAU,CAACiC,YAAY,GAAG,CAAhB,CAApB;AACAjC,QAAAA,UAAU,CAACiC,YAAY,GAAG,CAAhB,CAAV,GAA+BjC,UAAU,CAACiC,YAAD,CAAzC;AACAjC,QAAAA,UAAU,CAACiC,YAAD,CAAV,GAA2BM,GAA3B;AACD;AACF;AACF,GAvC2E,CAyC5E;AACA;AACA;;;AACA,MAAIC,aAAa,GAAGxC,UAAU,CAACkC,YAAY,GAAG,CAAhB,CAA9B;;AACA,MAAIA,YAAY,GAAG,CAAf,IACG,OAAOM,aAAa,CAACvD,KAArB,KAA+B,QADlC,KAEIuD,aAAa,CAACtB,KAAd,IAAuBsB,aAAa,CAACrB,OAFzC,KAGGzC,IAAI,CAAC6C,MAAL,CAAY,EAAZ,EAAgBiB,aAAa,CAACvD,KAA9B,CAHP,EAG6C;AAC3Ce,IAAAA,UAAU,CAACkC,YAAY,GAAG,CAAhB,CAAV,CAA6BjD,KAA7B,IAAsCuD,aAAa,CAACvD,KAApD;AACAe,IAAAA,UAAU,CAACyC,GAAX;AACD;;AAED,SAAOzC,UAAP;AACD;;AAED,SAASY,SAAT,CAAmB8B,IAAnB,EAAyB;AACvB,SAAO;AAAE3C,IAAAA,MAAM,EAAE2C,IAAI,CAAC3C,MAAf;AAAuBC,IAAAA,UAAU,EAAE0C,IAAI,CAAC1C,UAAL,CAAgBoC,KAAhB,CAAsB,CAAtB;AAAnC,GAAP;AACD","sourcesContent":["export default function Diff() {}\n\nDiff.prototype = {\n diff(oldString, newString, options = {}) {\n let callback = options.callback;\n if (typeof options === 'function') {\n callback = options;\n options = {};\n }\n this.options = options;\n\n let self = this;\n\n function done(value) {\n if (callback) {\n setTimeout(function() { callback(undefined, value); }, 0);\n return true;\n } else {\n return value;\n }\n }\n\n // Allow subclasses to massage the input prior to running\n oldString = this.castInput(oldString);\n newString = this.castInput(newString);\n\n oldString = this.removeEmpty(this.tokenize(oldString));\n newString = this.removeEmpty(this.tokenize(newString));\n\n let newLen = newString.length, oldLen = oldString.length;\n let editLength = 1;\n let maxEditLength = newLen + oldLen;\n if(options.maxEditLength) {\n maxEditLength = Math.min(maxEditLength, options.maxEditLength);\n }\n\n let bestPath = [{ newPos: -1, components: [] }];\n\n // Seed editLength = 0, i.e. the content starts with the same values\n let oldPos = this.extractCommon(bestPath[0], newString, oldString, 0);\n if (bestPath[0].newPos + 1 >= newLen && oldPos + 1 >= oldLen) {\n // Identity per the equality and tokenizer\n return done([{value: this.join(newString), count: newString.length}]);\n }\n\n // Main worker method. checks all permutations of a given edit length for acceptance.\n function execEditLength() {\n for (let diagonalPath = -1 * editLength; diagonalPath <= editLength; diagonalPath += 2) {\n let basePath;\n let addPath = bestPath[diagonalPath - 1],\n removePath = bestPath[diagonalPath + 1],\n oldPos = (removePath ? removePath.newPos : 0) - diagonalPath;\n if (addPath) {\n // No one else is going to attempt to use this value, clear it\n bestPath[diagonalPath - 1] = undefined;\n }\n\n let canAdd = addPath && addPath.newPos + 1 < newLen,\n canRemove = removePath && 0 <= oldPos && oldPos < oldLen;\n if (!canAdd && !canRemove) {\n // If this path is a terminal then prune\n bestPath[diagonalPath] = undefined;\n continue;\n }\n\n // Select the diagonal that we want to branch from. We select the prior\n // path whose position in the new string is the farthest from the origin\n // and does not pass the bounds of the diff graph\n if (!canAdd || (canRemove && addPath.newPos < removePath.newPos)) {\n basePath = clonePath(removePath);\n self.pushComponent(basePath.components, undefined, true);\n } else {\n basePath = addPath; // No need to clone, we've pulled it from the list\n basePath.newPos++;\n self.pushComponent(basePath.components, true, undefined);\n }\n\n oldPos = self.extractCommon(basePath, newString, oldString, diagonalPath);\n\n // If we have hit the end of both strings, then we are done\n if (basePath.newPos + 1 >= newLen && oldPos + 1 >= oldLen) {\n return done(buildValues(self, basePath.components, newString, oldString, self.useLongestToken));\n } else {\n // Otherwise track this path as a potential candidate and continue.\n bestPath[diagonalPath] = basePath;\n }\n }\n\n editLength++;\n }\n\n // Performs the length of edit iteration. Is a bit fugly as this has to support the\n // sync and async mode which is never fun. Loops over execEditLength until a value\n // is produced, or until the edit length exceeds options.maxEditLength (if given),\n // in which case it will return undefined.\n if (callback) {\n (function exec() {\n setTimeout(function() {\n if (editLength > maxEditLength) {\n return callback();\n }\n\n if (!execEditLength()) {\n exec();\n }\n }, 0);\n }());\n } else {\n while (editLength <= maxEditLength) {\n let ret = execEditLength();\n if (ret) {\n return ret;\n }\n }\n }\n },\n\n pushComponent(components, added, removed) {\n let last = components[components.length - 1];\n if (last && last.added === added && last.removed === removed) {\n // We need to clone here as the component clone operation is just\n // as shallow array clone\n components[components.length - 1] = {count: last.count + 1, added: added, removed: removed };\n } else {\n components.push({count: 1, added: added, removed: removed });\n }\n },\n extractCommon(basePath, newString, oldString, diagonalPath) {\n let newLen = newString.length,\n oldLen = oldString.length,\n newPos = basePath.newPos,\n oldPos = newPos - diagonalPath,\n\n commonCount = 0;\n while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[oldPos + 1])) {\n newPos++;\n oldPos++;\n commonCount++;\n }\n\n if (commonCount) {\n basePath.components.push({count: commonCount});\n }\n\n basePath.newPos = newPos;\n return oldPos;\n },\n\n equals(left, right) {\n if (this.options.comparator) {\n return this.options.comparator(left, right);\n } else {\n return left === right\n || (this.options.ignoreCase && left.toLowerCase() === right.toLowerCase());\n }\n },\n removeEmpty(array) {\n let ret = [];\n for (let i = 0; i < array.length; i++) {\n if (array[i]) {\n ret.push(array[i]);\n }\n }\n return ret;\n },\n castInput(value) {\n return value;\n },\n tokenize(value) {\n return value.split('');\n },\n join(chars) {\n return chars.join('');\n }\n};\n\nfunction buildValues(diff, components, newString, oldString, useLongestToken) {\n let componentPos = 0,\n componentLen = components.length,\n newPos = 0,\n oldPos = 0;\n\n for (; componentPos < componentLen; componentPos++) {\n let component = components[componentPos];\n if (!component.removed) {\n if (!component.added && useLongestToken) {\n let value = newString.slice(newPos, newPos + component.count);\n value = value.map(function(value, i) {\n let oldValue = oldString[oldPos + i];\n return oldValue.length > value.length ? oldValue : value;\n });\n\n component.value = diff.join(value);\n } else {\n component.value = diff.join(newString.slice(newPos, newPos + component.count));\n }\n newPos += component.count;\n\n // Common case\n if (!component.added) {\n oldPos += component.count;\n }\n } else {\n component.value = diff.join(oldString.slice(oldPos, oldPos + component.count));\n oldPos += component.count;\n\n // Reverse add and remove so removes are output first to match common convention\n // The diffing algorithm is tied to add then remove output and this is the simplest\n // route to get the desired output with minimal overhead.\n if (componentPos && components[componentPos - 1].added) {\n let tmp = components[componentPos - 1];\n components[componentPos - 1] = components[componentPos];\n components[componentPos] = tmp;\n }\n }\n }\n\n // Special case handle for when one terminal is ignored (i.e. whitespace).\n // For this case we merge the terminal into the prior string and drop the change.\n // This is only available for string mode.\n let lastComponent = components[componentLen - 1];\n if (componentLen > 1\n && typeof lastComponent.value === 'string'\n && (lastComponent.added || lastComponent.removed)\n && diff.equals('', lastComponent.value)) {\n components[componentLen - 2].value += lastComponent.value;\n components.pop();\n }\n\n return components;\n}\n\nfunction clonePath(path) {\n return { newPos: path.newPos, components: path.components.slice(0) };\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/character.js":{"lineLengths":[25,13,0,46,13,3,30,31,0,23,3,25,49,23,1,0,123,0,23,23,25,5,23,1,25,9,23,4,0,25,38,0,23,45,53,1,880,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/character.js"],"names":["characterDiff","Diff","diffChars","oldStr","newStr","options","diff"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;AAEO,IAAMA,aAAa,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAAtB;;;;;;AACA,SAASC,SAAT,CAAmBC,MAAnB,EAA2BC,MAA3B,EAAmCC,OAAnC,EAA4C;AAAE,SAAOL,aAAa,CAACM,IAAd,CAAmBH,MAAnB,EAA2BC,MAA3B,EAAmCC,OAAnC,CAAP;AAAqD","sourcesContent":["import Diff from './base';\n\nexport const characterDiff = new Diff();\nexport function diffChars(oldStr, newStr, options) { return characterDiff.diff(oldStr, newStr, options); }\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/word.js":{"lineLengths":[25,13,0,46,13,3,30,48,26,0,23,3,25,49,23,1,0,3,25,35,23,1,0,123,0,23,65,2,25,32,35,29,30,30,28,38,29,29,33,34,30,35,43,39,88,24,18,25,5,23,1,25,9,23,4,0,25,28,0,23,42,32,30,32,3,0,114,2,0,38,97,184,0,47,103,120,33,30,10,5,3,0,16,2,0,45,11,27,5,25,0,27,9,25,3,27,18,25,13,26,5,48,1,0,54,48,1,5824,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/word.js"],"names":["extendedWordChars","reWhitespace","wordDiff","Diff","equals","left","right","options","ignoreCase","toLowerCase","ignoreWhitespace","test","tokenize","value","tokens","split","i","length","splice","diffWords","oldStr","newStr","generateOptions","diff","diffWordsWithSpace"],"mappings":";;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAMA,iBAAiB,GAAG,+DAA1B;AAEA,IAAMC,YAAY,GAAG,IAArB;AAEO,IAAMC,QAAQ,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAAjB;;;;;;AACPD,QAAQ,CAACE,MAAT,GAAkB,UAASC,IAAT,EAAeC,KAAf,EAAsB;AACtC,MAAI,KAAKC,OAAL,CAAaC,UAAjB,EAA6B;AAC3BH,IAAAA,IAAI,GAAGA,IAAI,CAACI,WAAL,EAAP;AACAH,IAAAA,KAAK,GAAGA,KAAK,CAACG,WAAN,EAAR;AACD;;AACD,SAAOJ,IAAI,KAAKC,KAAT,IAAmB,KAAKC,OAAL,CAAaG,gBAAb,IAAiC,CAACT,YAAY,CAACU,IAAb,CAAkBN,IAAlB,CAAlC,IAA6D,CAACJ,YAAY,CAACU,IAAb,CAAkBL,KAAlB,CAAxF;AACD,CAND;;AAOAJ,QAAQ,CAACU,QAAT,GAAoB,UAASC,KAAT,EAAgB;AAClC;AACA,MAAIC,MAAM,GAAGD,KAAK,CAACE,KAAN,CAAY,iCAAZ,CAAb,CAFkC,CAIlC;;AACA,OAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGF,MAAM,CAACG,MAAP,GAAgB,CAApC,EAAuCD,CAAC,EAAxC,EAA4C;AAC1C;AACA,QAAI,CAACF,MAAM,CAACE,CAAC,GAAG,CAAL,CAAP,IAAkBF,MAAM,CAACE,CAAC,GAAG,CAAL,CAAxB,IACKhB,iBAAiB,CAACW,IAAlB,CAAuBG,MAAM,CAACE,CAAD,CAA7B,CADL,IAEKhB,iBAAiB,CAACW,IAAlB,CAAuBG,MAAM,CAACE,CAAC,GAAG,CAAL,CAA7B,CAFT,EAEgD;AAC9CF,MAAAA,MAAM,CAACE,CAAD,CAAN,IAAaF,MAAM,CAACE,CAAC,GAAG,CAAL,CAAnB;AACAF,MAAAA,MAAM,CAACI,MAAP,CAAcF,CAAC,GAAG,CAAlB,EAAqB,CAArB;AACAA,MAAAA,CAAC;AACF;AACF;;AAED,SAAOF,MAAP;AACD,CAjBD;;AAmBO,SAASK,SAAT,CAAmBC,MAAnB,EAA2BC,MAA3B,EAAmCd,OAAnC,EAA4C;AACjDA,EAAAA,OAAO;AAAG;AAAA;AAAA;;AAAAe;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,GAAgBf,OAAhB,EAAyB;AAACG,IAAAA,gBAAgB,EAAE;AAAnB,GAAzB,CAAV;AACA,SAAOR,QAAQ,CAACqB,IAAT,CAAcH,MAAd,EAAsBC,MAAtB,EAA8Bd,OAA9B,CAAP;AACD;;AAEM,SAASiB,kBAAT,CAA4BJ,MAA5B,EAAoCC,MAApC,EAA4Cd,OAA5C,EAAqD;AAC1D,SAAOL,QAAQ,CAACqB,IAAT,CAAcH,MAAd,EAAsBC,MAAtB,EAA8Bd,OAA9B,CAAP;AACD","sourcesContent":["import Diff from './base';\nimport {generateOptions} from '../util/params';\n\n// Based on https://en.wikipedia.org/wiki/Latin_script_in_Unicode\n//\n// Ranges and exceptions:\n// Latin-1 Supplement, 0080–00FF\n// - U+00D7 × Multiplication sign\n// - U+00F7 ÷ Division sign\n// Latin Extended-A, 0100–017F\n// Latin Extended-B, 0180–024F\n// IPA Extensions, 0250–02AF\n// Spacing Modifier Letters, 02B0–02FF\n// - U+02C7 ˇ ˇ Caron\n// - U+02D8 ˘ ˘ Breve\n// - U+02D9 ˙ ˙ Dot Above\n// - U+02DA ˚ ˚ Ring Above\n// - U+02DB ˛ ˛ Ogonek\n// - U+02DC ˜ ˜ Small Tilde\n// - U+02DD ˝ ˝ Double Acute Accent\n// Latin Extended Additional, 1E00–1EFF\nconst extendedWordChars = /^[a-zA-Z\\u{C0}-\\u{FF}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}]+$/u;\n\nconst reWhitespace = /\\S/;\n\nexport const wordDiff = new Diff();\nwordDiff.equals = function(left, right) {\n if (this.options.ignoreCase) {\n left = left.toLowerCase();\n right = right.toLowerCase();\n }\n return left === right || (this.options.ignoreWhitespace && !reWhitespace.test(left) && !reWhitespace.test(right));\n};\nwordDiff.tokenize = function(value) {\n // All whitespace symbols except newline group into one token, each newline - in separate token\n let tokens = value.split(/([^\\S\\r\\n]+|[()[\\]{}'\"\\r\\n]|\\b)/);\n\n // Join the boundary splits that we do not consider to be boundaries. This is primarily the extended Latin character set.\n for (let i = 0; i < tokens.length - 1; i++) {\n // If we have an empty string in the next field and we have only word chars before and after, merge\n if (!tokens[i + 1] && tokens[i + 2]\n && extendedWordChars.test(tokens[i])\n && extendedWordChars.test(tokens[i + 2])) {\n tokens[i] += tokens[i + 2];\n tokens.splice(i + 1, 2);\n i--;\n }\n }\n\n return tokens;\n};\n\nexport function diffWords(oldStr, newStr, options) {\n options = generateOptions(options, {ignoreWhitespace: true});\n return wordDiff.diff(oldStr, newStr, options);\n}\n\nexport function diffWordsWithSpace(oldStr, newStr, options) {\n return wordDiff.diff(oldStr, newStr, options);\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/util/params.js":{"lineLengths":[25,13,0,46,13,3,42,0,23,45,38,32,23,31,32,41,39,7,5,3,0,18,1,1248,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/util/params.js"],"names":["generateOptions","options","defaults","callback","name","hasOwnProperty"],"mappings":";;;;;;;;;AAAO,SAASA,eAAT,CAAyBC,OAAzB,EAAkCC,QAAlC,EAA4C;AACjD,MAAI,OAAOD,OAAP,KAAmB,UAAvB,EAAmC;AACjCC,IAAAA,QAAQ,CAACC,QAAT,GAAoBF,OAApB;AACD,GAFD,MAEO,IAAIA,OAAJ,EAAa;AAClB,SAAK,IAAIG,IAAT,IAAiBH,OAAjB,EAA0B;AACxB;AACA,UAAIA,OAAO,CAACI,cAAR,CAAuBD,IAAvB,CAAJ,EAAkC;AAChCF,QAAAA,QAAQ,CAACE,IAAD,CAAR,GAAiBH,OAAO,CAACG,IAAD,CAAxB;AACD;AACF;AACF;;AACD,SAAOF,QAAP;AACD","sourcesContent":["export function generateOptions(options, defaults) {\n if (typeof options === 'function') {\n defaults.callback = options;\n } else if (options) {\n for (let name in options) {\n /* istanbul ignore else */\n if (options.hasOwnProperty(name)) {\n defaults[name] = options[name];\n }\n }\n }\n return defaults;\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/line.js":{"lineLengths":[25,13,0,46,13,3,30,44,26,0,23,3,25,49,23,1,0,3,25,35,23,1,0,123,0,23,18,25,5,23,1,25,9,23,4,0,25,28,0,23,38,20,129,0,55,27,63,0,0,53,35,0,48,44,12,42,27,7,0,26,5,3,0,18,2,0,46,49,1,0,53,15,27,5,25,0,27,9,25,3,27,18,25,14,26,5,48,1,3728,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/line.js"],"names":["lineDiff","Diff","tokenize","value","retLines","linesAndNewlines","split","length","pop","i","line","options","newlineIsToken","ignoreWhitespace","trim","push","diffLines","oldStr","newStr","callback","diff","diffTrimmedLines","generateOptions"],"mappings":";;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;;;;AAEO,IAAMA,QAAQ,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAAjB;;;;;;AACPD,QAAQ,CAACE,QAAT,GAAoB,UAASC,KAAT,EAAgB;AAClC,MAAIC,QAAQ,GAAG,EAAf;AAAA,MACIC,gBAAgB,GAAGF,KAAK,CAACG,KAAN,CAAY,WAAZ,CADvB,CADkC,CAIlC;;AACA,MAAI,CAACD,gBAAgB,CAACA,gBAAgB,CAACE,MAAjB,GAA0B,CAA3B,CAArB,EAAoD;AAClDF,IAAAA,gBAAgB,CAACG,GAAjB;AACD,GAPiC,CASlC;;;AACA,OAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGJ,gBAAgB,CAACE,MAArC,EAA6CE,CAAC,EAA9C,EAAkD;AAChD,QAAIC,IAAI,GAAGL,gBAAgB,CAACI,CAAD,CAA3B;;AAEA,QAAIA,CAAC,GAAG,CAAJ,IAAS,CAAC,KAAKE,OAAL,CAAaC,cAA3B,EAA2C;AACzCR,MAAAA,QAAQ,CAACA,QAAQ,CAACG,MAAT,GAAkB,CAAnB,CAAR,IAAiCG,IAAjC;AACD,KAFD,MAEO;AACL,UAAI,KAAKC,OAAL,CAAaE,gBAAjB,EAAmC;AACjCH,QAAAA,IAAI,GAAGA,IAAI,CAACI,IAAL,EAAP;AACD;;AACDV,MAAAA,QAAQ,CAACW,IAAT,CAAcL,IAAd;AACD;AACF;;AAED,SAAON,QAAP;AACD,CAxBD;;AA0BO,SAASY,SAAT,CAAmBC,MAAnB,EAA2BC,MAA3B,EAAmCC,QAAnC,EAA6C;AAAE,SAAOnB,QAAQ,CAACoB,IAAT,CAAcH,MAAd,EAAsBC,MAAtB,EAA8BC,QAA9B,CAAP;AAAiD;;AAChG,SAASE,gBAAT,CAA0BJ,MAA1B,EAAkCC,MAAlC,EAA0CC,QAA1C,EAAoD;AACzD,MAAIR,OAAO;AAAG;AAAA;AAAA;;AAAAW;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,GAAgBH,QAAhB,EAA0B;AAACN,IAAAA,gBAAgB,EAAE;AAAnB,GAA1B,CAAd;AACA,SAAOb,QAAQ,CAACoB,IAAT,CAAcH,MAAd,EAAsBC,MAAtB,EAA8BP,OAA9B,CAAP;AACD","sourcesContent":["import Diff from './base';\nimport {generateOptions} from '../util/params';\n\nexport const lineDiff = new Diff();\nlineDiff.tokenize = function(value) {\n let retLines = [],\n linesAndNewlines = value.split(/(\\n|\\r\\n)/);\n\n // Ignore the final empty token that occurs if the string ends with a new line\n if (!linesAndNewlines[linesAndNewlines.length - 1]) {\n linesAndNewlines.pop();\n }\n\n // Merge the content and line separators into single tokens\n for (let i = 0; i < linesAndNewlines.length; i++) {\n let line = linesAndNewlines[i];\n\n if (i % 2 && !this.options.newlineIsToken) {\n retLines[retLines.length - 1] += line;\n } else {\n if (this.options.ignoreWhitespace) {\n line = line.trim();\n }\n retLines.push(line);\n }\n }\n\n return retLines;\n};\n\nexport function diffLines(oldStr, newStr, callback) { return lineDiff.diff(oldStr, newStr, callback); }\nexport function diffTrimmedLines(oldStr, newStr, callback) {\n let options = generateOptions(callback, {ignoreWhitespace: true});\n return lineDiff.diff(oldStr, newStr, options);\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/sentence.js":{"lineLengths":[25,13,0,46,13,3,38,30,0,23,3,25,49,23,1,0,123,0,23,22,25,5,23,1,25,9,23,4,0,25,36,0,23,42,46,2,0,50,53,1,1196,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/sentence.js"],"names":["sentenceDiff","Diff","tokenize","value","split","diffSentences","oldStr","newStr","callback","diff"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;AAGO,IAAMA,YAAY,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAArB;;;;;;AACPD,YAAY,CAACE,QAAb,GAAwB,UAASC,KAAT,EAAgB;AACtC,SAAOA,KAAK,CAACC,KAAN,CAAY,uBAAZ,CAAP;AACD,CAFD;;AAIO,SAASC,aAAT,CAAuBC,MAAvB,EAA+BC,MAA/B,EAAuCC,QAAvC,EAAiD;AAAE,SAAOR,YAAY,CAACS,IAAb,CAAkBH,MAAlB,EAA0BC,MAA1B,EAAkCC,QAAlC,CAAP;AAAqD","sourcesContent":["import Diff from './base';\n\n\nexport const sentenceDiff = new Diff();\nsentenceDiff.tokenize = function(value) {\n return value.split(/(\\S.+?[.!?])(?=\\s+|$)/);\n};\n\nexport function diffSentences(oldStr, newStr, callback) { return sentenceDiff.diff(oldStr, newStr, callback); }\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/css.js":{"lineLengths":[25,13,0,46,13,3,26,25,0,23,3,25,49,23,1,0,123,0,23,17,25,5,23,1,25,9,23,4,0,25,26,0,23,37,38,2,0,44,48,1,1128,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/css.js"],"names":["cssDiff","Diff","tokenize","value","split","diffCss","oldStr","newStr","callback","diff"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;AAEO,IAAMA,OAAO,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAAhB;;;;;;AACPD,OAAO,CAACE,QAAR,GAAmB,UAASC,KAAT,EAAgB;AACjC,SAAOA,KAAK,CAACC,KAAN,CAAY,eAAZ,CAAP;AACD,CAFD;;AAIO,SAASC,OAAT,CAAiBC,MAAjB,EAAyBC,MAAzB,EAAiCC,QAAjC,EAA2C;AAAE,SAAOR,OAAO,CAACS,IAAR,CAAaH,MAAb,EAAqBC,MAArB,EAA6BC,QAA7B,CAAP;AAAgD","sourcesContent":["import Diff from './base';\n\nexport const cssDiff = new Diff();\ncssDiff.tokenize = function(value) {\n return value.split(/([{}:;,]|\\s+)/);\n};\n\nexport function diffCss(oldStr, newStr, callback) { return cssDiff.diff(oldStr, newStr, callback); }\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/json.js":{"lineLengths":[25,13,0,46,13,3,28,36,26,0,23,3,25,49,23,1,0,3,25,25,23,1,0,123,0,378,0,23,56,18,25,5,23,1,25,9,23,97,105,0,25,28,0,23,32,19,25,5,23,1,25,8,23,10,0,39,27,21,25,15,64,62,76,27,3,12,29,57,6,28,137,2,0,42,10,29,9,27,5,29,13,27,106,4,2,0,44,48,98,95,0,0,68,22,44,0,17,29,3,0,8,0,41,27,33,5,3,0,23,0,63,20,45,44,0,41,89,5,0,16,27,28,3,0,26,23,3,0,6,27,10,25,38,20,26,44,0,24,13,0,23,32,37,30,7,5,0,22,0,48,27,96,5,0,16,27,10,27,3,0,26,1,8576,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/json.js"],"names":["objectPrototypeToString","Object","prototype","toString","jsonDiff","Diff","useLongestToken","tokenize","lineDiff","castInput","value","options","undefinedReplacement","stringifyReplacer","k","v","JSON","stringify","canonicalize","equals","left","right","call","replace","diffJson","oldObj","newObj","diff","obj","stack","replacementStack","replacer","key","i","length","canonicalizedObj","push","Array","pop","toJSON","sortedKeys","hasOwnProperty","sort"],"mappings":";;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;;;;;;AAEA,IAAMA,uBAAuB,GAAGC,MAAM,CAACC,SAAP,CAAiBC,QAAjD;AAGO,IAAMC,QAAQ,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAAjB,C,CACP;AACA;;;;;;AACAD,QAAQ,CAACE,eAAT,GAA2B,IAA3B;AAEAF,QAAQ,CAACG,QAAT;AAAoBC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,CAASD,QAA7B;;AACAH,QAAQ,CAACK,SAAT,GAAqB,UAASC,KAAT,EAAgB;AAAA;AAAA;AAAA;AAC+E,OAAKC,OADpF;AAAA,MAC5BC,oBAD4B,iBAC5BA,oBAD4B;AAAA,4CACNC,iBADM;AAAA,MACNA,iBADM,sCACc,UAACC,CAAD,EAAIC,CAAJ;AAAA;AAAA;AAAA;AAAA;AAAU,aAAOA,CAAP,KAAa,WAAb,GAA2BH,oBAA3B,GAAkDG;AAA5D;AAAA,GADd;AAGnC,SAAO,OAAOL,KAAP,KAAiB,QAAjB,GAA4BA,KAA5B,GAAoCM,IAAI,CAACC,SAAL,CAAeC,YAAY,CAACR,KAAD,EAAQ,IAAR,EAAc,IAAd,EAAoBG,iBAApB,CAA3B,EAAmEA,iBAAnE,EAAsF,IAAtF,CAA3C;AACD,CAJD;;AAKAT,QAAQ,CAACe,MAAT,GAAkB,UAASC,IAAT,EAAeC,KAAf,EAAsB;AACtC,SAAOhB;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,MAAKH,SAAL,CAAeiB,MAAf,CAAsBG,IAAtB,CAA2BlB,QAA3B,EAAqCgB,IAAI,CAACG,OAAL,CAAa,YAAb,EAA2B,IAA3B,CAArC,EAAuEF,KAAK,CAACE,OAAN,CAAc,YAAd,EAA4B,IAA5B,CAAvE;AAAP;AACD,CAFD;;AAIO,SAASC,QAAT,CAAkBC,MAAlB,EAA0BC,MAA1B,EAAkCf,OAAlC,EAA2C;AAAE,SAAOP,QAAQ,CAACuB,IAAT,CAAcF,MAAd,EAAsBC,MAAtB,EAA8Bf,OAA9B,CAAP;AAAgD,C,CAEpG;AACA;;;AACO,SAASO,YAAT,CAAsBU,GAAtB,EAA2BC,KAA3B,EAAkCC,gBAAlC,EAAoDC,QAApD,EAA8DC,GAA9D,EAAmE;AACxEH,EAAAA,KAAK,GAAGA,KAAK,IAAI,EAAjB;AACAC,EAAAA,gBAAgB,GAAGA,gBAAgB,IAAI,EAAvC;;AAEA,MAAIC,QAAJ,EAAc;AACZH,IAAAA,GAAG,GAAGG,QAAQ,CAACC,GAAD,EAAMJ,GAAN,CAAd;AACD;;AAED,MAAIK,CAAJ;;AAEA,OAAKA,CAAC,GAAG,CAAT,EAAYA,CAAC,GAAGJ,KAAK,CAACK,MAAtB,EAA8BD,CAAC,IAAI,CAAnC,EAAsC;AACpC,QAAIJ,KAAK,CAACI,CAAD,CAAL,KAAaL,GAAjB,EAAsB;AACpB,aAAOE,gBAAgB,CAACG,CAAD,CAAvB;AACD;AACF;;AAED,MAAIE,gBAAJ;;AAEA,MAAI,qBAAqBnC,uBAAuB,CAACsB,IAAxB,CAA6BM,GAA7B,CAAzB,EAA4D;AAC1DC,IAAAA,KAAK,CAACO,IAAN,CAAWR,GAAX;AACAO,IAAAA,gBAAgB,GAAG,IAAIE,KAAJ,CAAUT,GAAG,CAACM,MAAd,CAAnB;AACAJ,IAAAA,gBAAgB,CAACM,IAAjB,CAAsBD,gBAAtB;;AACA,SAAKF,CAAC,GAAG,CAAT,EAAYA,CAAC,GAAGL,GAAG,CAACM,MAApB,EAA4BD,CAAC,IAAI,CAAjC,EAAoC;AAClCE,MAAAA,gBAAgB,CAACF,CAAD,CAAhB,GAAsBf,YAAY,CAACU,GAAG,CAACK,CAAD,CAAJ,EAASJ,KAAT,EAAgBC,gBAAhB,EAAkCC,QAAlC,EAA4CC,GAA5C,CAAlC;AACD;;AACDH,IAAAA,KAAK,CAACS,GAAN;AACAR,IAAAA,gBAAgB,CAACQ,GAAjB;AACA,WAAOH,gBAAP;AACD;;AAED,MAAIP,GAAG,IAAIA,GAAG,CAACW,MAAf,EAAuB;AACrBX,IAAAA,GAAG,GAAGA,GAAG,CAACW,MAAJ,EAAN;AACD;;AAED;AAAI;AAAA;AAAA;AAAOX,EAAAA,GAAP,MAAe,QAAf,IAA2BA,GAAG,KAAK,IAAvC,EAA6C;AAC3CC,IAAAA,KAAK,CAACO,IAAN,CAAWR,GAAX;AACAO,IAAAA,gBAAgB,GAAG,EAAnB;AACAL,IAAAA,gBAAgB,CAACM,IAAjB,CAAsBD,gBAAtB;;AACA,QAAIK,UAAU,GAAG,EAAjB;AAAA,QACIR,IADJ;;AAEA,SAAKA,IAAL,IAAYJ,GAAZ,EAAiB;AACf;AACA,UAAIA,GAAG,CAACa,cAAJ,CAAmBT,IAAnB,CAAJ,EAA6B;AAC3BQ,QAAAA,UAAU,CAACJ,IAAX,CAAgBJ,IAAhB;AACD;AACF;;AACDQ,IAAAA,UAAU,CAACE,IAAX;;AACA,SAAKT,CAAC,GAAG,CAAT,EAAYA,CAAC,GAAGO,UAAU,CAACN,MAA3B,EAAmCD,CAAC,IAAI,CAAxC,EAA2C;AACzCD,MAAAA,IAAG,GAAGQ,UAAU,CAACP,CAAD,CAAhB;AACAE,MAAAA,gBAAgB,CAACH,IAAD,CAAhB,GAAwBd,YAAY,CAACU,GAAG,CAACI,IAAD,CAAJ,EAAWH,KAAX,EAAkBC,gBAAlB,EAAoCC,QAApC,EAA8CC,IAA9C,CAApC;AACD;;AACDH,IAAAA,KAAK,CAACS,GAAN;AACAR,IAAAA,gBAAgB,CAACQ,GAAjB;AACD,GAnBD,MAmBO;AACLH,IAAAA,gBAAgB,GAAGP,GAAnB;AACD;;AACD,SAAOO,gBAAP;AACD","sourcesContent":["import Diff from './base';\nimport {lineDiff} from './line';\n\nconst objectPrototypeToString = Object.prototype.toString;\n\n\nexport const jsonDiff = new Diff();\n// Discriminate between two lines of pretty-printed, serialized JSON where one of them has a\n// dangling comma and the other doesn't. Turns out including the dangling comma yields the nicest output:\njsonDiff.useLongestToken = true;\n\njsonDiff.tokenize = lineDiff.tokenize;\njsonDiff.castInput = function(value) {\n const {undefinedReplacement, stringifyReplacer = (k, v) => typeof v === 'undefined' ? undefinedReplacement : v} = this.options;\n\n return typeof value === 'string' ? value : JSON.stringify(canonicalize(value, null, null, stringifyReplacer), stringifyReplacer, ' ');\n};\njsonDiff.equals = function(left, right) {\n return Diff.prototype.equals.call(jsonDiff, left.replace(/,([\\r\\n])/g, '$1'), right.replace(/,([\\r\\n])/g, '$1'));\n};\n\nexport function diffJson(oldObj, newObj, options) { return jsonDiff.diff(oldObj, newObj, options); }\n\n// This function handles the presence of circular references by bailing out when encountering an\n// object that is already on the \"stack\" of items being processed. Accepts an optional replacer\nexport function canonicalize(obj, stack, replacementStack, replacer, key) {\n stack = stack || [];\n replacementStack = replacementStack || [];\n\n if (replacer) {\n obj = replacer(key, obj);\n }\n\n let i;\n\n for (i = 0; i < stack.length; i += 1) {\n if (stack[i] === obj) {\n return replacementStack[i];\n }\n }\n\n let canonicalizedObj;\n\n if ('[object Array]' === objectPrototypeToString.call(obj)) {\n stack.push(obj);\n canonicalizedObj = new Array(obj.length);\n replacementStack.push(canonicalizedObj);\n for (i = 0; i < obj.length; i += 1) {\n canonicalizedObj[i] = canonicalize(obj[i], stack, replacementStack, replacer, key);\n }\n stack.pop();\n replacementStack.pop();\n return canonicalizedObj;\n }\n\n if (obj && obj.toJSON) {\n obj = obj.toJSON();\n }\n\n if (typeof obj === 'object' && obj !== null) {\n stack.push(obj);\n canonicalizedObj = {};\n replacementStack.push(canonicalizedObj);\n let sortedKeys = [],\n key;\n for (key in obj) {\n /* istanbul ignore else */\n if (obj.hasOwnProperty(key)) {\n sortedKeys.push(key);\n }\n }\n sortedKeys.sort();\n for (i = 0; i < sortedKeys.length; i += 1) {\n key = sortedKeys[i];\n canonicalizedObj[key] = canonicalize(obj[key], stack, replacementStack, replacer, key);\n }\n stack.pop();\n replacementStack.pop();\n } else {\n canonicalizedObj = obj;\n }\n return canonicalizedObj;\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/array.js":{"lineLengths":[25,13,0,46,13,3,32,27,0,23,3,25,49,23,1,0,123,0,23,19,25,5,23,1,25,9,23,4,0,25,30,0,23,39,23,2,0,59,15,2,0,47,50,1,1376,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/array.js"],"names":["arrayDiff","Diff","tokenize","value","slice","join","removeEmpty","diffArrays","oldArr","newArr","callback","diff"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;AAEO,IAAMA,SAAS,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAAlB;;;;;;AACPD,SAAS,CAACE,QAAV,GAAqB,UAASC,KAAT,EAAgB;AACnC,SAAOA,KAAK,CAACC,KAAN,EAAP;AACD,CAFD;;AAGAJ,SAAS,CAACK,IAAV,GAAiBL,SAAS,CAACM,WAAV,GAAwB,UAASH,KAAT,EAAgB;AACvD,SAAOA,KAAP;AACD,CAFD;;AAIO,SAASI,UAAT,CAAoBC,MAApB,EAA4BC,MAA5B,EAAoCC,QAApC,EAA8C;AAAE,SAAOV,SAAS,CAACW,IAAV,CAAeH,MAAf,EAAuBC,MAAvB,EAA+BC,QAA/B,CAAP;AAAkD","sourcesContent":["import Diff from './base';\n\nexport const arrayDiff = new Diff();\narrayDiff.tokenize = function(value) {\n return value.slice();\n};\narrayDiff.join = arrayDiff.removeEmpty = function(value) {\n return value;\n};\n\nexport function diffArrays(oldArr, newArr, callback) { return arrayDiff.diff(oldArr, newArr, callback); }\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/apply.js":{"lineLengths":[25,13,0,46,13,3,32,36,0,23,3,25,27,23,1,0,3,25,80,23,1,0,123,0,23,38,27,5,25,83,0,36,13,29,7,27,0,29,10,27,5,29,15,27,14,3,0,31,29,68,5,0,25,34,0,0,50,62,28,95,27,3,12,29,27,6,4,21,43,18,17,18,15,5,61,5,0,0,34,49,31,54,60,0,51,31,72,23,0,40,25,11,9,0,16,7,5,0,16,71,0,0,42,24,47,24,43,18,29,7,27,0,29,21,27,5,29,13,27,32,0,65,48,44,14,7,5,0,36,19,80,39,0,0,58,24,0,0,21,0,45,26,64,0,50,0,50,32,54,60,46,0,30,17,37,32,37,34,37,41,48,17,38,82,0,40,29,47,26,9,7,5,37,0,0,20,38,18,23,5,24,19,26,3,0,49,43,3,0,24,63,0,0,41,36,13,29,7,27,0,29,10,27,5,29,15,27,14,3,0,23,0,27,40,0,17,32,5,0,50,16,37,7,0,60,61,18,39,9,0,23,9,7,3,0,17,1,14196,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/patch/apply.js"],"names":["applyPatch","source","uniDiff","options","parsePatch","Array","isArray","length","Error","lines","split","delimiters","match","hunks","compareLine","lineNumber","line","operation","patchContent","errorCount","fuzzFactor","minLine","offset","removeEOFNL","addEOFNL","hunkFits","hunk","toPos","j","content","substr","i","maxLine","oldLines","localOffset","oldStart","iterator","distanceIterator","undefined","diffOffset","newLines","delimiter","linedelimiters","splice","previousOperation","pop","push","_k","join","applyPatches","currentIndex","processIndex","index","complete","loadFile","err","data","updatedContent","patched"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;;;;AAEO,SAASA,UAAT,CAAoBC,MAApB,EAA4BC,OAA5B,EAAmD;AAAA;AAAA;AAAA;AAAdC,EAAAA,OAAc,uEAAJ,EAAI;;AACxD,MAAI,OAAOD,OAAP,KAAmB,QAAvB,EAAiC;AAC/BA,IAAAA,OAAO;AAAG;AAAA;AAAA;;AAAAE;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,KAAWF,OAAX,CAAV;AACD;;AAED,MAAIG,KAAK,CAACC,OAAN,CAAcJ,OAAd,CAAJ,EAA4B;AAC1B,QAAIA,OAAO,CAACK,MAAR,GAAiB,CAArB,EAAwB;AACtB,YAAM,IAAIC,KAAJ,CAAU,4CAAV,CAAN;AACD;;AAEDN,IAAAA,OAAO,GAAGA,OAAO,CAAC,CAAD,CAAjB;AACD,GAXuD,CAaxD;;;AACA,MAAIO,KAAK,GAAGR,MAAM,CAACS,KAAP,CAAa,qBAAb,CAAZ;AAAA,MACIC,UAAU,GAAGV,MAAM,CAACW,KAAP,CAAa,sBAAb,KAAwC,EADzD;AAAA,MAEIC,KAAK,GAAGX,OAAO,CAACW,KAFpB;AAAA,MAIIC,WAAW,GAAGX,OAAO,CAACW,WAAR,IAAwB,UAACC,UAAD,EAAaC,IAAb,EAAmBC,SAAnB,EAA8BC,YAA9B;AAAA;AAAA;AAAA;AAAA;AAA+CF,MAAAA,IAAI,KAAKE;AAAxD;AAAA,GAJ1C;AAAA,MAKIC,UAAU,GAAG,CALjB;AAAA,MAMIC,UAAU,GAAGjB,OAAO,CAACiB,UAAR,IAAsB,CANvC;AAAA,MAOIC,OAAO,GAAG,CAPd;AAAA,MAQIC,MAAM,GAAG,CARb;AAAA,MAUIC,WAVJ;AAAA,MAWIC,QAXJ;AAaA;;;;;AAGA,WAASC,QAAT,CAAkBC,IAAlB,EAAwBC,KAAxB,EAA+B;AAC7B,SAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGF,IAAI,CAACjB,KAAL,CAAWF,MAA/B,EAAuCqB,CAAC,EAAxC,EAA4C;AAC1C,UAAIZ,IAAI,GAAGU,IAAI,CAACjB,KAAL,CAAWmB,CAAX,CAAX;AAAA,UACIX,SAAS,GAAID,IAAI,CAACT,MAAL,GAAc,CAAd,GAAkBS,IAAI,CAAC,CAAD,CAAtB,GAA4B,GAD7C;AAAA,UAEIa,OAAO,GAAIb,IAAI,CAACT,MAAL,GAAc,CAAd,GAAkBS,IAAI,CAACc,MAAL,CAAY,CAAZ,CAAlB,GAAmCd,IAFlD;;AAIA,UAAIC,SAAS,KAAK,GAAd,IAAqBA,SAAS,KAAK,GAAvC,EAA4C;AAC1C;AACA,YAAI,CAACH,WAAW,CAACa,KAAK,GAAG,CAAT,EAAYlB,KAAK,CAACkB,KAAD,CAAjB,EAA0BV,SAA1B,EAAqCY,OAArC,CAAhB,EAA+D;AAC7DV,UAAAA,UAAU;;AAEV,cAAIA,UAAU,GAAGC,UAAjB,EAA6B;AAC3B,mBAAO,KAAP;AACD;AACF;;AACDO,QAAAA,KAAK;AACN;AACF;;AAED,WAAO,IAAP;AACD,GAlDuD,CAoDxD;;;AACA,OAAK,IAAII,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGlB,KAAK,CAACN,MAA1B,EAAkCwB,CAAC,EAAnC,EAAuC;AACrC,QAAIL,IAAI,GAAGb,KAAK,CAACkB,CAAD,CAAhB;AAAA,QACIC,OAAO,GAAGvB,KAAK,CAACF,MAAN,GAAemB,IAAI,CAACO,QADlC;AAAA,QAEIC,WAAW,GAAG,CAFlB;AAAA,QAGIP,KAAK,GAAGL,MAAM,GAAGI,IAAI,CAACS,QAAd,GAAyB,CAHrC;AAKA,QAAIC,QAAQ;AAAG;AAAA;AAAA;;AAAAC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,OAAiBV,KAAjB,EAAwBN,OAAxB,EAAiCW,OAAjC,CAAf;;AAEA,WAAOE,WAAW,KAAKI,SAAvB,EAAkCJ,WAAW,GAAGE,QAAQ,EAAxD,EAA4D;AAC1D,UAAIX,QAAQ,CAACC,IAAD,EAAOC,KAAK,GAAGO,WAAf,CAAZ,EAAyC;AACvCR,QAAAA,IAAI,CAACJ,MAAL,GAAcA,MAAM,IAAIY,WAAxB;AACA;AACD;AACF;;AAED,QAAIA,WAAW,KAAKI,SAApB,EAA+B;AAC7B,aAAO,KAAP;AACD,KAjBoC,CAmBrC;AACA;;;AACAjB,IAAAA,OAAO,GAAGK,IAAI,CAACJ,MAAL,GAAcI,IAAI,CAACS,QAAnB,GAA8BT,IAAI,CAACO,QAA7C;AACD,GA3EuD,CA6ExD;;;AACA,MAAIM,UAAU,GAAG,CAAjB;;AACA,OAAK,IAAIR,EAAC,GAAG,CAAb,EAAgBA,EAAC,GAAGlB,KAAK,CAACN,MAA1B,EAAkCwB,EAAC,EAAnC,EAAuC;AACrC,QAAIL,KAAI,GAAGb,KAAK,CAACkB,EAAD,CAAhB;AAAA,QACIJ,MAAK,GAAGD,KAAI,CAACS,QAAL,GAAgBT,KAAI,CAACJ,MAArB,GAA8BiB,UAA9B,GAA2C,CADvD;;AAEAA,IAAAA,UAAU,IAAIb,KAAI,CAACc,QAAL,GAAgBd,KAAI,CAACO,QAAnC;;AAEA,SAAK,IAAIL,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGF,KAAI,CAACjB,KAAL,CAAWF,MAA/B,EAAuCqB,CAAC,EAAxC,EAA4C;AAC1C,UAAIZ,IAAI,GAAGU,KAAI,CAACjB,KAAL,CAAWmB,CAAX,CAAX;AAAA,UACIX,SAAS,GAAID,IAAI,CAACT,MAAL,GAAc,CAAd,GAAkBS,IAAI,CAAC,CAAD,CAAtB,GAA4B,GAD7C;AAAA,UAEIa,OAAO,GAAIb,IAAI,CAACT,MAAL,GAAc,CAAd,GAAkBS,IAAI,CAACc,MAAL,CAAY,CAAZ,CAAlB,GAAmCd,IAFlD;AAAA,UAGIyB,SAAS,GAAGf,KAAI,CAACgB,cAAL,CAAoBd,CAApB,CAHhB;;AAKA,UAAIX,SAAS,KAAK,GAAlB,EAAuB;AACrBU,QAAAA,MAAK;AACN,OAFD,MAEO,IAAIV,SAAS,KAAK,GAAlB,EAAuB;AAC5BR,QAAAA,KAAK,CAACkC,MAAN,CAAahB,MAAb,EAAoB,CAApB;AACAhB,QAAAA,UAAU,CAACgC,MAAX,CAAkBhB,MAAlB,EAAyB,CAAzB;AACF;AACC,OAJM,MAIA,IAAIV,SAAS,KAAK,GAAlB,EAAuB;AAC5BR,QAAAA,KAAK,CAACkC,MAAN,CAAahB,MAAb,EAAoB,CAApB,EAAuBE,OAAvB;AACAlB,QAAAA,UAAU,CAACgC,MAAX,CAAkBhB,MAAlB,EAAyB,CAAzB,EAA4Bc,SAA5B;AACAd,QAAAA,MAAK;AACN,OAJM,MAIA,IAAIV,SAAS,KAAK,IAAlB,EAAwB;AAC7B,YAAI2B,iBAAiB,GAAGlB,KAAI,CAACjB,KAAL,CAAWmB,CAAC,GAAG,CAAf,IAAoBF,KAAI,CAACjB,KAAL,CAAWmB,CAAC,GAAG,CAAf,EAAkB,CAAlB,CAApB,GAA2C,IAAnE;;AACA,YAAIgB,iBAAiB,KAAK,GAA1B,EAA+B;AAC7BrB,UAAAA,WAAW,GAAG,IAAd;AACD,SAFD,MAEO,IAAIqB,iBAAiB,KAAK,GAA1B,EAA+B;AACpCpB,UAAAA,QAAQ,GAAG,IAAX;AACD;AACF;AACF;AACF,GA7GuD,CA+GxD;;;AACA,MAAID,WAAJ,EAAiB;AACf,WAAO,CAACd,KAAK,CAACA,KAAK,CAACF,MAAN,GAAe,CAAhB,CAAb,EAAiC;AAC/BE,MAAAA,KAAK,CAACoC,GAAN;AACAlC,MAAAA,UAAU,CAACkC,GAAX;AACD;AACF,GALD,MAKO,IAAIrB,QAAJ,EAAc;AACnBf,IAAAA,KAAK,CAACqC,IAAN,CAAW,EAAX;AACAnC,IAAAA,UAAU,CAACmC,IAAX,CAAgB,IAAhB;AACD;;AACD,OAAK,IAAIC,EAAE,GAAG,CAAd,EAAiBA,EAAE,GAAGtC,KAAK,CAACF,MAAN,GAAe,CAArC,EAAwCwC,EAAE,EAA1C,EAA8C;AAC5CtC,IAAAA,KAAK,CAACsC,EAAD,CAAL,GAAYtC,KAAK,CAACsC,EAAD,CAAL,GAAYpC,UAAU,CAACoC,EAAD,CAAlC;AACD;;AACD,SAAOtC,KAAK,CAACuC,IAAN,CAAW,EAAX,CAAP;AACD,C,CAED;;;AACO,SAASC,YAAT,CAAsB/C,OAAtB,EAA+BC,OAA/B,EAAwC;AAC7C,MAAI,OAAOD,OAAP,KAAmB,QAAvB,EAAiC;AAC/BA,IAAAA,OAAO;AAAG;AAAA;AAAA;;AAAAE;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,KAAWF,OAAX,CAAV;AACD;;AAED,MAAIgD,YAAY,GAAG,CAAnB;;AACA,WAASC,YAAT,GAAwB;AACtB,QAAIC,KAAK,GAAGlD,OAAO,CAACgD,YAAY,EAAb,CAAnB;;AACA,QAAI,CAACE,KAAL,EAAY;AACV,aAAOjD,OAAO,CAACkD,QAAR,EAAP;AACD;;AAEDlD,IAAAA,OAAO,CAACmD,QAAR,CAAiBF,KAAjB,EAAwB,UAASG,GAAT,EAAcC,IAAd,EAAoB;AAC1C,UAAID,GAAJ,EAAS;AACP,eAAOpD,OAAO,CAACkD,QAAR,CAAiBE,GAAjB,CAAP;AACD;;AAED,UAAIE,cAAc,GAAGzD,UAAU,CAACwD,IAAD,EAAOJ,KAAP,EAAcjD,OAAd,CAA/B;AACAA,MAAAA,OAAO,CAACuD,OAAR,CAAgBN,KAAhB,EAAuBK,cAAvB,EAAuC,UAASF,GAAT,EAAc;AACnD,YAAIA,GAAJ,EAAS;AACP,iBAAOpD,OAAO,CAACkD,QAAR,CAAiBE,GAAjB,CAAP;AACD;;AAEDJ,QAAAA,YAAY;AACb,OAND;AAOD,KAbD;AAcD;;AACDA,EAAAA,YAAY;AACb","sourcesContent":["import {parsePatch} from './parse';\nimport distanceIterator from '../util/distance-iterator';\n\nexport function applyPatch(source, uniDiff, options = {}) {\n if (typeof uniDiff === 'string') {\n uniDiff = parsePatch(uniDiff);\n }\n\n if (Array.isArray(uniDiff)) {\n if (uniDiff.length > 1) {\n throw new Error('applyPatch only works with a single input.');\n }\n\n uniDiff = uniDiff[0];\n }\n\n // Apply the diff to the input\n let lines = source.split(/\\r\\n|[\\n\\v\\f\\r\\x85]/),\n delimiters = source.match(/\\r\\n|[\\n\\v\\f\\r\\x85]/g) || [],\n hunks = uniDiff.hunks,\n\n compareLine = options.compareLine || ((lineNumber, line, operation, patchContent) => line === patchContent),\n errorCount = 0,\n fuzzFactor = options.fuzzFactor || 0,\n minLine = 0,\n offset = 0,\n\n removeEOFNL,\n addEOFNL;\n\n /**\n * Checks if the hunk exactly fits on the provided location\n */\n function hunkFits(hunk, toPos) {\n for (let j = 0; j < hunk.lines.length; j++) {\n let line = hunk.lines[j],\n operation = (line.length > 0 ? line[0] : ' '),\n content = (line.length > 0 ? line.substr(1) : line);\n\n if (operation === ' ' || operation === '-') {\n // Context sanity check\n if (!compareLine(toPos + 1, lines[toPos], operation, content)) {\n errorCount++;\n\n if (errorCount > fuzzFactor) {\n return false;\n }\n }\n toPos++;\n }\n }\n\n return true;\n }\n\n // Search best fit offsets for each hunk based on the previous ones\n for (let i = 0; i < hunks.length; i++) {\n let hunk = hunks[i],\n maxLine = lines.length - hunk.oldLines,\n localOffset = 0,\n toPos = offset + hunk.oldStart - 1;\n\n let iterator = distanceIterator(toPos, minLine, maxLine);\n\n for (; localOffset !== undefined; localOffset = iterator()) {\n if (hunkFits(hunk, toPos + localOffset)) {\n hunk.offset = offset += localOffset;\n break;\n }\n }\n\n if (localOffset === undefined) {\n return false;\n }\n\n // Set lower text limit to end of the current hunk, so next ones don't try\n // to fit over already patched text\n minLine = hunk.offset + hunk.oldStart + hunk.oldLines;\n }\n\n // Apply patch hunks\n let diffOffset = 0;\n for (let i = 0; i < hunks.length; i++) {\n let hunk = hunks[i],\n toPos = hunk.oldStart + hunk.offset + diffOffset - 1;\n diffOffset += hunk.newLines - hunk.oldLines;\n\n for (let j = 0; j < hunk.lines.length; j++) {\n let line = hunk.lines[j],\n operation = (line.length > 0 ? line[0] : ' '),\n content = (line.length > 0 ? line.substr(1) : line),\n delimiter = hunk.linedelimiters[j];\n\n if (operation === ' ') {\n toPos++;\n } else if (operation === '-') {\n lines.splice(toPos, 1);\n delimiters.splice(toPos, 1);\n /* istanbul ignore else */\n } else if (operation === '+') {\n lines.splice(toPos, 0, content);\n delimiters.splice(toPos, 0, delimiter);\n toPos++;\n } else if (operation === '\\\\') {\n let previousOperation = hunk.lines[j - 1] ? hunk.lines[j - 1][0] : null;\n if (previousOperation === '+') {\n removeEOFNL = true;\n } else if (previousOperation === '-') {\n addEOFNL = true;\n }\n }\n }\n }\n\n // Handle EOFNL insertion/removal\n if (removeEOFNL) {\n while (!lines[lines.length - 1]) {\n lines.pop();\n delimiters.pop();\n }\n } else if (addEOFNL) {\n lines.push('');\n delimiters.push('\\n');\n }\n for (let _k = 0; _k < lines.length - 1; _k++) {\n lines[_k] = lines[_k] + delimiters[_k];\n }\n return lines.join('');\n}\n\n// Wrapper that supports multiple file patches via callbacks.\nexport function applyPatches(uniDiff, options) {\n if (typeof uniDiff === 'string') {\n uniDiff = parsePatch(uniDiff);\n }\n\n let currentIndex = 0;\n function processIndex() {\n let index = uniDiff[currentIndex++];\n if (!index) {\n return options.complete();\n }\n\n options.loadFile(index, function(err, data) {\n if (err) {\n return options.complete(err);\n }\n\n let updatedContent = applyPatch(data, index, options);\n options.patched(index, updatedContent, function(err) {\n if (err) {\n return options.complete(err);\n }\n\n processIndex();\n });\n });\n }\n processIndex();\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/parse.js":{"lineLengths":[25,13,0,46,13,3,32,0,23,30,27,5,25,83,53,63,16,12,0,25,19,44,0,32,76,0,47,14,21,0,0,73,0,19,32,7,0,10,80,79,0,0,27,42,0,21,0,32,29,0,57,14,37,38,43,58,81,14,12,7,5,66,18,0,0,35,62,0,21,62,46,52,0,36,59,7,0,47,59,10,5,20,53,0,0,24,29,39,90,16,32,76,32,76,16,24,60,59,64,0,30,25,5,0,30,25,5,0,21,24,0,37,84,88,149,14,7,0,94,0,94,36,56,0,32,21,39,24,39,21,24,9,14,14,7,42,0,0,43,24,5,0,46,24,41,0,0,25,39,101,7,0,42,103,7,5,0,16,3,0,30,17,3,0,14,1,13176,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/patch/parse.js"],"names":["parsePatch","uniDiff","options","diffstr","split","delimiters","match","list","i","parseIndex","index","push","length","line","test","header","exec","parseFileHeader","hunks","parseHunk","strict","Error","JSON","stringify","fileHeader","keyPrefix","data","fileName","replace","substr","trim","chunkHeaderIndex","chunkHeaderLine","chunkHeader","hunk","oldStart","oldLines","newStart","newLines","lines","linedelimiters","addCount","removeCount","indexOf","operation"],"mappings":";;;;;;;;;AAAO,SAASA,UAAT,CAAoBC,OAApB,EAA2C;AAAA;AAAA;AAAA;AAAdC,EAAAA,OAAc,uEAAJ,EAAI;AAChD,MAAIC,OAAO,GAAGF,OAAO,CAACG,KAAR,CAAc,qBAAd,CAAd;AAAA,MACIC,UAAU,GAAGJ,OAAO,CAACK,KAAR,CAAc,sBAAd,KAAyC,EAD1D;AAAA,MAEIC,IAAI,GAAG,EAFX;AAAA,MAGIC,CAAC,GAAG,CAHR;;AAKA,WAASC,UAAT,GAAsB;AACpB,QAAIC,KAAK,GAAG,EAAZ;AACAH,IAAAA,IAAI,CAACI,IAAL,CAAUD,KAAV,EAFoB,CAIpB;;AACA,WAAOF,CAAC,GAAGL,OAAO,CAACS,MAAnB,EAA2B;AACzB,UAAIC,IAAI,GAAGV,OAAO,CAACK,CAAD,CAAlB,CADyB,CAGzB;;AACA,UAAK,uBAAD,CAA0BM,IAA1B,CAA+BD,IAA/B,CAAJ,EAA0C;AACxC;AACD,OANwB,CAQzB;;;AACA,UAAIE,MAAM,GAAI,0CAAD,CAA6CC,IAA7C,CAAkDH,IAAlD,CAAb;;AACA,UAAIE,MAAJ,EAAY;AACVL,QAAAA,KAAK,CAACA,KAAN,GAAcK,MAAM,CAAC,CAAD,CAApB;AACD;;AAEDP,MAAAA,CAAC;AACF,KApBmB,CAsBpB;AACA;;;AACAS,IAAAA,eAAe,CAACP,KAAD,CAAf;AACAO,IAAAA,eAAe,CAACP,KAAD,CAAf,CAzBoB,CA2BpB;;AACAA,IAAAA,KAAK,CAACQ,KAAN,GAAc,EAAd;;AAEA,WAAOV,CAAC,GAAGL,OAAO,CAACS,MAAnB,EAA2B;AACzB,UAAIC,KAAI,GAAGV,OAAO,CAACK,CAAD,CAAlB;;AAEA,UAAK,gCAAD,CAAmCM,IAAnC,CAAwCD,KAAxC,CAAJ,EAAmD;AACjD;AACD,OAFD,MAEO,IAAK,KAAD,CAAQC,IAAR,CAAaD,KAAb,CAAJ,EAAwB;AAC7BH,QAAAA,KAAK,CAACQ,KAAN,CAAYP,IAAZ,CAAiBQ,SAAS,EAA1B;AACD,OAFM,MAEA,IAAIN,KAAI,IAAIX,OAAO,CAACkB,MAApB,EAA4B;AACjC;AACA,cAAM,IAAIC,KAAJ,CAAU,mBAAmBb,CAAC,GAAG,CAAvB,IAA4B,GAA5B,GAAkCc,IAAI,CAACC,SAAL,CAAeV,KAAf,CAA5C,CAAN;AACD,OAHM,MAGA;AACLL,QAAAA,CAAC;AACF;AACF;AACF,GAlD+C,CAoDhD;AACA;;;AACA,WAASS,eAAT,CAAyBP,KAAzB,EAAgC;AAC9B,QAAMc,UAAU,GAAI,uBAAD,CAA0BR,IAA1B,CAA+Bb,OAAO,CAACK,CAAD,CAAtC,CAAnB;;AACA,QAAIgB,UAAJ,EAAgB;AACd,UAAIC,SAAS,GAAGD,UAAU,CAAC,CAAD,CAAV,KAAkB,KAAlB,GAA0B,KAA1B,GAAkC,KAAlD;AACA,UAAME,IAAI,GAAGF,UAAU,CAAC,CAAD,CAAV,CAAcpB,KAAd,CAAoB,IAApB,EAA0B,CAA1B,CAAb;AACA,UAAIuB,QAAQ,GAAGD,IAAI,CAAC,CAAD,CAAJ,CAAQE,OAAR,CAAgB,OAAhB,EAAyB,IAAzB,CAAf;;AACA,UAAK,QAAD,CAAWd,IAAX,CAAgBa,QAAhB,CAAJ,EAA+B;AAC7BA,QAAAA,QAAQ,GAAGA,QAAQ,CAACE,MAAT,CAAgB,CAAhB,EAAmBF,QAAQ,CAACf,MAAT,GAAkB,CAArC,CAAX;AACD;;AACDF,MAAAA,KAAK,CAACe,SAAS,GAAG,UAAb,CAAL,GAAgCE,QAAhC;AACAjB,MAAAA,KAAK,CAACe,SAAS,GAAG,QAAb,CAAL,GAA8B,CAACC,IAAI,CAAC,CAAD,CAAJ,IAAW,EAAZ,EAAgBI,IAAhB,EAA9B;AAEAtB,MAAAA,CAAC;AACF;AACF,GApE+C,CAsEhD;AACA;;;AACA,WAASW,SAAT,GAAqB;AACnB,QAAIY,gBAAgB,GAAGvB,CAAvB;AAAA,QACIwB,eAAe,GAAG7B,OAAO,CAACK,CAAC,EAAF,CAD7B;AAAA,QAEIyB,WAAW,GAAGD,eAAe,CAAC5B,KAAhB,CAAsB,4CAAtB,CAFlB;AAIA,QAAI8B,IAAI,GAAG;AACTC,MAAAA,QAAQ,EAAE,CAACF,WAAW,CAAC,CAAD,CADb;AAETG,MAAAA,QAAQ,EAAE,OAAOH,WAAW,CAAC,CAAD,CAAlB,KAA0B,WAA1B,GAAwC,CAAxC,GAA4C,CAACA,WAAW,CAAC,CAAD,CAFzD;AAGTI,MAAAA,QAAQ,EAAE,CAACJ,WAAW,CAAC,CAAD,CAHb;AAITK,MAAAA,QAAQ,EAAE,OAAOL,WAAW,CAAC,CAAD,CAAlB,KAA0B,WAA1B,GAAwC,CAAxC,GAA4C,CAACA,WAAW,CAAC,CAAD,CAJzD;AAKTM,MAAAA,KAAK,EAAE,EALE;AAMTC,MAAAA,cAAc,EAAE;AANP,KAAX,CALmB,CAcnB;AACA;AACA;;AACA,QAAIN,IAAI,CAACE,QAAL,KAAkB,CAAtB,EAAyB;AACvBF,MAAAA,IAAI,CAACC,QAAL,IAAiB,CAAjB;AACD;;AACD,QAAID,IAAI,CAACI,QAAL,KAAkB,CAAtB,EAAyB;AACvBJ,MAAAA,IAAI,CAACG,QAAL,IAAiB,CAAjB;AACD;;AAED,QAAII,QAAQ,GAAG,CAAf;AAAA,QACIC,WAAW,GAAG,CADlB;;AAEA,WAAOlC,CAAC,GAAGL,OAAO,CAACS,MAAnB,EAA2BJ,CAAC,EAA5B,EAAgC;AAC9B;AACA;AACA,UAAIL,OAAO,CAACK,CAAD,CAAP,CAAWmC,OAAX,CAAmB,MAAnB,MAA+B,CAA/B,IACMnC,CAAC,GAAG,CAAJ,GAAQL,OAAO,CAACS,MADtB,IAEKT,OAAO,CAACK,CAAC,GAAG,CAAL,CAAP,CAAemC,OAAf,CAAuB,MAAvB,MAAmC,CAFxC,IAGKxC,OAAO,CAACK,CAAC,GAAG,CAAL,CAAP,CAAemC,OAAf,CAAuB,IAAvB,MAAiC,CAH1C,EAG6C;AACzC;AACH;;AACD,UAAIC,SAAS,GAAIzC,OAAO,CAACK,CAAD,CAAP,CAAWI,MAAX,IAAqB,CAArB,IAA0BJ,CAAC,IAAKL,OAAO,CAACS,MAAR,GAAiB,CAAlD,GAAwD,GAAxD,GAA8DT,OAAO,CAACK,CAAD,CAAP,CAAW,CAAX,CAA9E;;AAEA,UAAIoC,SAAS,KAAK,GAAd,IAAqBA,SAAS,KAAK,GAAnC,IAA0CA,SAAS,KAAK,GAAxD,IAA+DA,SAAS,KAAK,IAAjF,EAAuF;AACrFV,QAAAA,IAAI,CAACK,KAAL,CAAW5B,IAAX,CAAgBR,OAAO,CAACK,CAAD,CAAvB;AACA0B,QAAAA,IAAI,CAACM,cAAL,CAAoB7B,IAApB,CAAyBN,UAAU,CAACG,CAAD,CAAV,IAAiB,IAA1C;;AAEA,YAAIoC,SAAS,KAAK,GAAlB,EAAuB;AACrBH,UAAAA,QAAQ;AACT,SAFD,MAEO,IAAIG,SAAS,KAAK,GAAlB,EAAuB;AAC5BF,UAAAA,WAAW;AACZ,SAFM,MAEA,IAAIE,SAAS,KAAK,GAAlB,EAAuB;AAC5BH,UAAAA,QAAQ;AACRC,UAAAA,WAAW;AACZ;AACF,OAZD,MAYO;AACL;AACD;AACF,KApDkB,CAsDnB;;;AACA,QAAI,CAACD,QAAD,IAAaP,IAAI,CAACI,QAAL,KAAkB,CAAnC,EAAsC;AACpCJ,MAAAA,IAAI,CAACI,QAAL,GAAgB,CAAhB;AACD;;AACD,QAAI,CAACI,WAAD,IAAgBR,IAAI,CAACE,QAAL,KAAkB,CAAtC,EAAyC;AACvCF,MAAAA,IAAI,CAACE,QAAL,GAAgB,CAAhB;AACD,KA5DkB,CA8DnB;;;AACA,QAAIlC,OAAO,CAACkB,MAAZ,EAAoB;AAClB,UAAIqB,QAAQ,KAAKP,IAAI,CAACI,QAAtB,EAAgC;AAC9B,cAAM,IAAIjB,KAAJ,CAAU,sDAAsDU,gBAAgB,GAAG,CAAzE,CAAV,CAAN;AACD;;AACD,UAAIW,WAAW,KAAKR,IAAI,CAACE,QAAzB,EAAmC;AACjC,cAAM,IAAIf,KAAJ,CAAU,wDAAwDU,gBAAgB,GAAG,CAA3E,CAAV,CAAN;AACD;AACF;;AAED,WAAOG,IAAP;AACD;;AAED,SAAO1B,CAAC,GAAGL,OAAO,CAACS,MAAnB,EAA2B;AACzBH,IAAAA,UAAU;AACX;;AAED,SAAOF,IAAP;AACD","sourcesContent":["export function parsePatch(uniDiff, options = {}) {\n let diffstr = uniDiff.split(/\\r\\n|[\\n\\v\\f\\r\\x85]/),\n delimiters = uniDiff.match(/\\r\\n|[\\n\\v\\f\\r\\x85]/g) || [],\n list = [],\n i = 0;\n\n function parseIndex() {\n let index = {};\n list.push(index);\n\n // Parse diff metadata\n while (i < diffstr.length) {\n let line = diffstr[i];\n\n // File header found, end parsing diff metadata\n if ((/^(\\-\\-\\-|\\+\\+\\+|@@)\\s/).test(line)) {\n break;\n }\n\n // Diff index\n let header = (/^(?:Index:|diff(?: -r \\w+)+)\\s+(.+?)\\s*$/).exec(line);\n if (header) {\n index.index = header[1];\n }\n\n i++;\n }\n\n // Parse file headers if they are defined. Unified diff requires them, but\n // there's no technical issues to have an isolated hunk without file header\n parseFileHeader(index);\n parseFileHeader(index);\n\n // Parse hunks\n index.hunks = [];\n\n while (i < diffstr.length) {\n let line = diffstr[i];\n\n if ((/^(Index:|diff|\\-\\-\\-|\\+\\+\\+)\\s/).test(line)) {\n break;\n } else if ((/^@@/).test(line)) {\n index.hunks.push(parseHunk());\n } else if (line && options.strict) {\n // Ignore unexpected content unless in strict mode\n throw new Error('Unknown line ' + (i + 1) + ' ' + JSON.stringify(line));\n } else {\n i++;\n }\n }\n }\n\n // Parses the --- and +++ headers, if none are found, no lines\n // are consumed.\n function parseFileHeader(index) {\n const fileHeader = (/^(---|\\+\\+\\+)\\s+(.*)$/).exec(diffstr[i]);\n if (fileHeader) {\n let keyPrefix = fileHeader[1] === '---' ? 'old' : 'new';\n const data = fileHeader[2].split('\\t', 2);\n let fileName = data[0].replace(/\\\\\\\\/g, '\\\\');\n if ((/^\".*\"$/).test(fileName)) {\n fileName = fileName.substr(1, fileName.length - 2);\n }\n index[keyPrefix + 'FileName'] = fileName;\n index[keyPrefix + 'Header'] = (data[1] || '').trim();\n\n i++;\n }\n }\n\n // Parses a hunk\n // This assumes that we are at the start of a hunk.\n function parseHunk() {\n let chunkHeaderIndex = i,\n chunkHeaderLine = diffstr[i++],\n chunkHeader = chunkHeaderLine.split(/@@ -(\\d+)(?:,(\\d+))? \\+(\\d+)(?:,(\\d+))? @@/);\n\n let hunk = {\n oldStart: +chunkHeader[1],\n oldLines: typeof chunkHeader[2] === 'undefined' ? 1 : +chunkHeader[2],\n newStart: +chunkHeader[3],\n newLines: typeof chunkHeader[4] === 'undefined' ? 1 : +chunkHeader[4],\n lines: [],\n linedelimiters: []\n };\n\n // Unified Diff Format quirk: If the chunk size is 0,\n // the first number is one lower than one would expect.\n // https://www.artima.com/weblogs/viewpost.jsp?thread=164293\n if (hunk.oldLines === 0) {\n hunk.oldStart += 1;\n }\n if (hunk.newLines === 0) {\n hunk.newStart += 1;\n }\n\n let addCount = 0,\n removeCount = 0;\n for (; i < diffstr.length; i++) {\n // Lines starting with '---' could be mistaken for the \"remove line\" operation\n // But they could be the header for the next file. Therefore prune such cases out.\n if (diffstr[i].indexOf('--- ') === 0\n && (i + 2 < diffstr.length)\n && diffstr[i + 1].indexOf('+++ ') === 0\n && diffstr[i + 2].indexOf('@@') === 0) {\n break;\n }\n let operation = (diffstr[i].length == 0 && i != (diffstr.length - 1)) ? ' ' : diffstr[i][0];\n\n if (operation === '+' || operation === '-' || operation === ' ' || operation === '\\\\') {\n hunk.lines.push(diffstr[i]);\n hunk.linedelimiters.push(delimiters[i] || '\\n');\n\n if (operation === '+') {\n addCount++;\n } else if (operation === '-') {\n removeCount++;\n } else if (operation === ' ') {\n addCount++;\n removeCount++;\n }\n } else {\n break;\n }\n }\n\n // Handle the empty block count case\n if (!addCount && hunk.newLines === 1) {\n hunk.newLines = 0;\n }\n if (!removeCount && hunk.oldLines === 1) {\n hunk.oldLines = 0;\n }\n\n // Perform optional sanity checking\n if (options.strict) {\n if (addCount !== hunk.newLines) {\n throw new Error('Added line count did not match for hunk at line ' + (chunkHeaderIndex + 1));\n }\n if (removeCount !== hunk.oldLines) {\n throw new Error('Removed line count did not match for hunk at line ' + (chunkHeaderIndex + 1));\n }\n }\n\n return hunk;\n }\n\n while (i < diffstr.length) {\n parseIndex();\n }\n\n return list;\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/util/distance-iterator.js":{"lineLengths":[25,13,0,46,13,3,30,0,23,63,65,47,8,25,8,23,27,25,32,31,22,30,43,30,22,14,28,79,71,0,0,43,27,7,0,30,5,0,29,30,27,82,31,0,0,43,30,7,0,31,24,80,51,0,4,1,3156,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/util/distance-iterator.js"],"names":["start","minLine","maxLine","wantForward","backwardExhausted","forwardExhausted","localOffset","iterator"],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACe;AAAA;AAAA;AAAA;AAAA,CAASA,KAAT,EAAgBC,OAAhB,EAAyBC,OAAzB,EAAkC;AAC/C,MAAIC,WAAW,GAAG,IAAlB;AAAA,MACIC,iBAAiB,GAAG,KADxB;AAAA,MAEIC,gBAAgB,GAAG,KAFvB;AAAA,MAGIC,WAAW,GAAG,CAHlB;AAKA,SAAO,SAASC,QAAT,GAAoB;AACzB,QAAIJ,WAAW,IAAI,CAACE,gBAApB,EAAsC;AACpC,UAAID,iBAAJ,EAAuB;AACrBE,QAAAA,WAAW;AACZ,OAFD,MAEO;AACLH,QAAAA,WAAW,GAAG,KAAd;AACD,OALmC,CAOpC;AACA;;;AACA,UAAIH,KAAK,GAAGM,WAAR,IAAuBJ,OAA3B,EAAoC;AAClC,eAAOI,WAAP;AACD;;AAEDD,MAAAA,gBAAgB,GAAG,IAAnB;AACD;;AAED,QAAI,CAACD,iBAAL,EAAwB;AACtB,UAAI,CAACC,gBAAL,EAAuB;AACrBF,QAAAA,WAAW,GAAG,IAAd;AACD,OAHqB,CAKtB;AACA;;;AACA,UAAIF,OAAO,IAAID,KAAK,GAAGM,WAAvB,EAAoC;AAClC,eAAO,CAACA,WAAW,EAAnB;AACD;;AAEDF,MAAAA,iBAAiB,GAAG,IAApB;AACA,aAAOG,QAAQ,EAAf;AACD,KA9BwB,CAgCzB;AACA;;AACD,GAlCD;AAmCD","sourcesContent":["// Iterator that traverses in the range of [min, max], stepping\n// by distance from a given start position. I.e. for [0, 4], with\n// start of 2, this will iterate 2, 3, 1, 4, 0.\nexport default function(start, minLine, maxLine) {\n let wantForward = true,\n backwardExhausted = false,\n forwardExhausted = false,\n localOffset = 1;\n\n return function iterator() {\n if (wantForward && !forwardExhausted) {\n if (backwardExhausted) {\n localOffset++;\n } else {\n wantForward = false;\n }\n\n // Check if trying to fit beyond text length, and if not, check it fits\n // after offset location (or desired location on first iteration)\n if (start + localOffset <= maxLine) {\n return localOffset;\n }\n\n forwardExhausted = true;\n }\n\n if (!backwardExhausted) {\n if (!forwardExhausted) {\n wantForward = true;\n }\n\n // Check if trying to fit before text beginning, and if not, check it fits\n // before offset location\n if (minLine <= start - localOffset) {\n return -localOffset++;\n }\n\n backwardExhausted = true;\n return iterator();\n }\n\n // We tried to fit hunk before text beginning and beyond text length, then\n // hunk can't fit on the text. Return undefined\n };\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/merge.js":{"lineLengths":[25,13,0,46,13,3,38,22,0,23,3,25,29,23,1,0,3,25,27,23,1,0,3,25,33,23,1,0,179,0,190,0,416,0,130,0,91,0,183,0,23,30,27,28,25,34,47,47,0,31,29,10,25,3,0,31,29,10,25,3,1,0,36,31,35,98,83,34,0,35,43,3,0,47,33,87,63,63,57,57,42,51,41,41,37,37,12,38,79,79,73,73,5,3,0,17,20,22,21,23,0,78,48,24,6,54,24,6,0,49,65,57,18,66,56,65,61,20,68,12,38,24,73,20,101,20,17,8,115,20,18,33,5,3,0,13,1,0,33,34,55,14,33,11,31,0,33,14,31,9,33,19,31,18,8,5,0,16,74,5,0,12,31,9,29,0,31,13,29,7,31,22,29,41,6,3,0,15,1,0,33,70,1,0,43,24,16,10,26,12,17,20,6,3,1,0,34,90,1,0,34,10,28,28,37,28,21,4,1,0,75,91,74,14,23,21,12,4,15,24,22,12,34,0,35,118,0,78,45,48,0,117,26,38,67,31,22,0,29,22,0,31,0,29,0,31,20,29,29,31,17,29,7,31,25,29,28,67,31,23,0,29,24,0,31,0,29,0,31,21,29,29,31,18,29,7,31,25,29,29,67,31,33,67,32,39,46,25,35,19,20,12,25,64,5,46,0,0,29,30,22,1,0,42,38,42,0,58,72,8,29,7,27,0,29,10,27,5,29,20,27,112,31,23,0,29,0,31,0,29,0,31,21,29,29,31,18,29,7,31,25,29,18,0,13,15,29,7,27,0,29,10,27,5,29,20,27,114,31,23,0,29,0,31,0,29,0,31,21,29,29,31,18,29,7,31,25,29,21,0,13,5,13,27,5,25,0,27,8,25,3,27,13,25,30,29,21,0,27,0,29,0,27,0,29,19,27,27,29,16,27,5,29,23,27,16,0,11,3,0,42,1,0,43,38,54,0,28,29,21,0,27,0,29,0,27,0,29,19,27,27,29,16,27,5,29,23,27,26,10,85,3,1,0,38,23,19,19,15,17,5,1,0,45,78,44,26,20,3,1,0,39,46,44,26,3,1,0,31,15,46,0,44,145,0,47,22,5,0,32,21,20,12,12,5,3,0,13,1,0,46,19,18,21,29,25,0,80,42,85,0,27,12,5,0,57,23,86,50,0,28,24,0,33,29,44,7,5,0,47,27,20,12,24,5,3,0,70,22,3,0,19,19,3,0,44,44,3,0,10,19,20,4,1,0,30,49,37,11,1,0,58,35,82,0,63,19,5,3,0,23,14,1,0,37,19,19,33,35,51,56,0,35,55,39,16,31,9,7,0,35,55,39,16,31,9,7,12,75,19,7,0,75,19,7,5,5,10,23,22,4,1,34588,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/patch/merge.js"],"names":["calcLineCount","hunk","calcOldNewLineCount","lines","oldLines","newLines","undefined","merge","mine","theirs","base","loadPatch","ret","index","newFileName","fileNameChanged","oldFileName","oldHeader","newHeader","selectField","hunks","mineIndex","theirsIndex","mineOffset","theirsOffset","length","mineCurrent","oldStart","Infinity","theirsCurrent","hunkBefore","push","cloneHunk","mergedHunk","Math","min","newStart","mergeLines","param","test","parsePatch","Error","structuredPatch","patch","conflict","check","offset","mineLines","theirOffset","theirLines","their","insertLeading","theirCurrent","mutualChange","collectChange","removal","insertTrailing","myChanges","theirChanges","allRemoves","arrayStartsWith","skipRemoveSuperset","arrayEqual","swap","collectContext","merged","insert","line","state","operation","matchChanges","changes","matchIndex","contextChanges","conflicted","change","match","substr","reduce","prev","removeChanges","delta","i","changeContent","forEach","myCount","theirCount"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AAEA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;AAEO,SAASA,aAAT,CAAuBC,IAAvB,EAA6B;AAAA;AAAA;AAAA;AACLC,EAAAA,mBAAmB,CAACD,IAAI,CAACE,KAAN,CADd;AAAA,MAC3BC,QAD2B,wBAC3BA,QAD2B;AAAA,MACjBC,QADiB,wBACjBA,QADiB;;AAGlC,MAAID,QAAQ,KAAKE,SAAjB,EAA4B;AAC1BL,IAAAA,IAAI,CAACG,QAAL,GAAgBA,QAAhB;AACD,GAFD,MAEO;AACL,WAAOH,IAAI,CAACG,QAAZ;AACD;;AAED,MAAIC,QAAQ,KAAKC,SAAjB,EAA4B;AAC1BL,IAAAA,IAAI,CAACI,QAAL,GAAgBA,QAAhB;AACD,GAFD,MAEO;AACL,WAAOJ,IAAI,CAACI,QAAZ;AACD;AACF;;AAEM,SAASE,KAAT,CAAeC,IAAf,EAAqBC,MAArB,EAA6BC,IAA7B,EAAmC;AACxCF,EAAAA,IAAI,GAAGG,SAAS,CAACH,IAAD,EAAOE,IAAP,CAAhB;AACAD,EAAAA,MAAM,GAAGE,SAAS,CAACF,MAAD,EAASC,IAAT,CAAlB;AAEA,MAAIE,GAAG,GAAG,EAAV,CAJwC,CAMxC;AACA;AACA;;AACA,MAAIJ,IAAI,CAACK,KAAL,IAAcJ,MAAM,CAACI,KAAzB,EAAgC;AAC9BD,IAAAA,GAAG,CAACC,KAAJ,GAAYL,IAAI,CAACK,KAAL,IAAcJ,MAAM,CAACI,KAAjC;AACD;;AAED,MAAIL,IAAI,CAACM,WAAL,IAAoBL,MAAM,CAACK,WAA/B,EAA4C;AAC1C,QAAI,CAACC,eAAe,CAACP,IAAD,CAApB,EAA4B;AAC1B;AACAI,MAAAA,GAAG,CAACI,WAAJ,GAAkBP,MAAM,CAACO,WAAP,IAAsBR,IAAI,CAACQ,WAA7C;AACAJ,MAAAA,GAAG,CAACE,WAAJ,GAAkBL,MAAM,CAACK,WAAP,IAAsBN,IAAI,CAACM,WAA7C;AACAF,MAAAA,GAAG,CAACK,SAAJ,GAAgBR,MAAM,CAACQ,SAAP,IAAoBT,IAAI,CAACS,SAAzC;AACAL,MAAAA,GAAG,CAACM,SAAJ,GAAgBT,MAAM,CAACS,SAAP,IAAoBV,IAAI,CAACU,SAAzC;AACD,KAND,MAMO,IAAI,CAACH,eAAe,CAACN,MAAD,CAApB,EAA8B;AACnC;AACAG,MAAAA,GAAG,CAACI,WAAJ,GAAkBR,IAAI,CAACQ,WAAvB;AACAJ,MAAAA,GAAG,CAACE,WAAJ,GAAkBN,IAAI,CAACM,WAAvB;AACAF,MAAAA,GAAG,CAACK,SAAJ,GAAgBT,IAAI,CAACS,SAArB;AACAL,MAAAA,GAAG,CAACM,SAAJ,GAAgBV,IAAI,CAACU,SAArB;AACD,KANM,MAMA;AACL;AACAN,MAAAA,GAAG,CAACI,WAAJ,GAAkBG,WAAW,CAACP,GAAD,EAAMJ,IAAI,CAACQ,WAAX,EAAwBP,MAAM,CAACO,WAA/B,CAA7B;AACAJ,MAAAA,GAAG,CAACE,WAAJ,GAAkBK,WAAW,CAACP,GAAD,EAAMJ,IAAI,CAACM,WAAX,EAAwBL,MAAM,CAACK,WAA/B,CAA7B;AACAF,MAAAA,GAAG,CAACK,SAAJ,GAAgBE,WAAW,CAACP,GAAD,EAAMJ,IAAI,CAACS,SAAX,EAAsBR,MAAM,CAACQ,SAA7B,CAA3B;AACAL,MAAAA,GAAG,CAACM,SAAJ,GAAgBC,WAAW,CAACP,GAAD,EAAMJ,IAAI,CAACU,SAAX,EAAsBT,MAAM,CAACS,SAA7B,CAA3B;AACD;AACF;;AAEDN,EAAAA,GAAG,CAACQ,KAAJ,GAAY,EAAZ;AAEA,MAAIC,SAAS,GAAG,CAAhB;AAAA,MACIC,WAAW,GAAG,CADlB;AAAA,MAEIC,UAAU,GAAG,CAFjB;AAAA,MAGIC,YAAY,GAAG,CAHnB;;AAKA,SAAOH,SAAS,GAAGb,IAAI,CAACY,KAAL,CAAWK,MAAvB,IAAiCH,WAAW,GAAGb,MAAM,CAACW,KAAP,CAAaK,MAAnE,EAA2E;AACzE,QAAIC,WAAW,GAAGlB,IAAI,CAACY,KAAL,CAAWC,SAAX,KAAyB;AAACM,MAAAA,QAAQ,EAAEC;AAAX,KAA3C;AAAA,QACIC,aAAa,GAAGpB,MAAM,CAACW,KAAP,CAAaE,WAAb,KAA6B;AAACK,MAAAA,QAAQ,EAAEC;AAAX,KADjD;;AAGA,QAAIE,UAAU,CAACJ,WAAD,EAAcG,aAAd,CAAd,EAA4C;AAC1C;AACAjB,MAAAA,GAAG,CAACQ,KAAJ,CAAUW,IAAV,CAAeC,SAAS,CAACN,WAAD,EAAcH,UAAd,CAAxB;AACAF,MAAAA,SAAS;AACTG,MAAAA,YAAY,IAAIE,WAAW,CAACrB,QAAZ,GAAuBqB,WAAW,CAACtB,QAAnD;AACD,KALD,MAKO,IAAI0B,UAAU,CAACD,aAAD,EAAgBH,WAAhB,CAAd,EAA4C;AACjD;AACAd,MAAAA,GAAG,CAACQ,KAAJ,CAAUW,IAAV,CAAeC,SAAS,CAACH,aAAD,EAAgBL,YAAhB,CAAxB;AACAF,MAAAA,WAAW;AACXC,MAAAA,UAAU,IAAIM,aAAa,CAACxB,QAAd,GAAyBwB,aAAa,CAACzB,QAArD;AACD,KALM,MAKA;AACL;AACA,UAAI6B,UAAU,GAAG;AACfN,QAAAA,QAAQ,EAAEO,IAAI,CAACC,GAAL,CAAST,WAAW,CAACC,QAArB,EAA+BE,aAAa,CAACF,QAA7C,CADK;AAEfvB,QAAAA,QAAQ,EAAE,CAFK;AAGfgC,QAAAA,QAAQ,EAAEF,IAAI,CAACC,GAAL,CAAST,WAAW,CAACU,QAAZ,GAAuBb,UAAhC,EAA4CM,aAAa,CAACF,QAAd,GAAyBH,YAArE,CAHK;AAIfnB,QAAAA,QAAQ,EAAE,CAJK;AAKfF,QAAAA,KAAK,EAAE;AALQ,OAAjB;AAOAkC,MAAAA,UAAU,CAACJ,UAAD,EAAaP,WAAW,CAACC,QAAzB,EAAmCD,WAAW,CAACvB,KAA/C,EAAsD0B,aAAa,CAACF,QAApE,EAA8EE,aAAa,CAAC1B,KAA5F,CAAV;AACAmB,MAAAA,WAAW;AACXD,MAAAA,SAAS;AAETT,MAAAA,GAAG,CAACQ,KAAJ,CAAUW,IAAV,CAAeE,UAAf;AACD;AACF;;AAED,SAAOrB,GAAP;AACD;;AAED,SAASD,SAAT,CAAmB2B,KAAnB,EAA0B5B,IAA1B,EAAgC;AAC9B,MAAI,OAAO4B,KAAP,KAAiB,QAArB,EAA+B;AAC7B,QAAK,MAAD,CAASC,IAAT,CAAcD,KAAd,KAA0B,UAAD,CAAaC,IAAb,CAAkBD,KAAlB,CAA7B,EAAwD;AACtD,aAAO;AAAA;AAAA;AAAA;;AAAAE;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,SAAWF,KAAX,EAAkB,CAAlB;AAAP;AACD;;AAED,QAAI,CAAC5B,IAAL,EAAW;AACT,YAAM,IAAI+B,KAAJ,CAAU,kDAAV,CAAN;AACD;;AACD,WAAO;AAAA;AAAA;AAAA;;AAAAC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,OAAgBpC,SAAhB,EAA2BA,SAA3B,EAAsCI,IAAtC,EAA4C4B,KAA5C;AAAP;AACD;;AAED,SAAOA,KAAP;AACD;;AAED,SAASvB,eAAT,CAAyB4B,KAAzB,EAAgC;AAC9B,SAAOA,KAAK,CAAC7B,WAAN,IAAqB6B,KAAK,CAAC7B,WAAN,KAAsB6B,KAAK,CAAC3B,WAAxD;AACD;;AAED,SAASG,WAAT,CAAqBN,KAArB,EAA4BL,IAA5B,EAAkCC,MAAlC,EAA0C;AACxC,MAAID,IAAI,KAAKC,MAAb,EAAqB;AACnB,WAAOD,IAAP;AACD,GAFD,MAEO;AACLK,IAAAA,KAAK,CAAC+B,QAAN,GAAiB,IAAjB;AACA,WAAO;AAACpC,MAAAA,IAAI,EAAJA,IAAD;AAAOC,MAAAA,MAAM,EAANA;AAAP,KAAP;AACD;AACF;;AAED,SAASqB,UAAT,CAAoBS,IAApB,EAA0BM,KAA1B,EAAiC;AAC/B,SAAON,IAAI,CAACZ,QAAL,GAAgBkB,KAAK,CAAClB,QAAtB,IACDY,IAAI,CAACZ,QAAL,GAAgBY,IAAI,CAACnC,QAAtB,GAAkCyC,KAAK,CAAClB,QAD7C;AAED;;AAED,SAASK,SAAT,CAAmB/B,IAAnB,EAAyB6C,MAAzB,EAAiC;AAC/B,SAAO;AACLnB,IAAAA,QAAQ,EAAE1B,IAAI,CAAC0B,QADV;AACoBvB,IAAAA,QAAQ,EAAEH,IAAI,CAACG,QADnC;AAELgC,IAAAA,QAAQ,EAAEnC,IAAI,CAACmC,QAAL,GAAgBU,MAFrB;AAE6BzC,IAAAA,QAAQ,EAAEJ,IAAI,CAACI,QAF5C;AAGLF,IAAAA,KAAK,EAAEF,IAAI,CAACE;AAHP,GAAP;AAKD;;AAED,SAASkC,UAAT,CAAoBpC,IAApB,EAA0BsB,UAA1B,EAAsCwB,SAAtC,EAAiDC,WAAjD,EAA8DC,UAA9D,EAA0E;AACxE;AACA;AACA,MAAIzC,IAAI,GAAG;AAACsC,IAAAA,MAAM,EAAEvB,UAAT;AAAqBpB,IAAAA,KAAK,EAAE4C,SAA5B;AAAuClC,IAAAA,KAAK,EAAE;AAA9C,GAAX;AAAA,MACIqC,KAAK,GAAG;AAACJ,IAAAA,MAAM,EAAEE,WAAT;AAAsB7C,IAAAA,KAAK,EAAE8C,UAA7B;AAAyCpC,IAAAA,KAAK,EAAE;AAAhD,GADZ,CAHwE,CAMxE;;AACAsC,EAAAA,aAAa,CAAClD,IAAD,EAAOO,IAAP,EAAa0C,KAAb,CAAb;AACAC,EAAAA,aAAa,CAAClD,IAAD,EAAOiD,KAAP,EAAc1C,IAAd,CAAb,CARwE,CAUxE;;AACA,SAAOA,IAAI,CAACK,KAAL,GAAaL,IAAI,CAACL,KAAL,CAAWsB,MAAxB,IAAkCyB,KAAK,CAACrC,KAAN,GAAcqC,KAAK,CAAC/C,KAAN,CAAYsB,MAAnE,EAA2E;AACzE,QAAIC,WAAW,GAAGlB,IAAI,CAACL,KAAL,CAAWK,IAAI,CAACK,KAAhB,CAAlB;AAAA,QACIuC,YAAY,GAAGF,KAAK,CAAC/C,KAAN,CAAY+C,KAAK,CAACrC,KAAlB,CADnB;;AAGA,QAAI,CAACa,WAAW,CAAC,CAAD,CAAX,KAAmB,GAAnB,IAA0BA,WAAW,CAAC,CAAD,CAAX,KAAmB,GAA9C,MACI0B,YAAY,CAAC,CAAD,CAAZ,KAAoB,GAApB,IAA2BA,YAAY,CAAC,CAAD,CAAZ,KAAoB,GADnD,CAAJ,EAC6D;AAC3D;AACAC,MAAAA,YAAY,CAACpD,IAAD,EAAOO,IAAP,EAAa0C,KAAb,CAAZ;AACD,KAJD,MAIO,IAAIxB,WAAW,CAAC,CAAD,CAAX,KAAmB,GAAnB,IAA0B0B,YAAY,CAAC,CAAD,CAAZ,KAAoB,GAAlD,EAAuD;AAAA;AAAA;;AAAA;AAC5D;;AACA;;AAAA;;AAAA;AAAA;AAAA;AAAAnD,MAAAA,IAAI,CAACE,KAAL,EAAW4B,IAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoBuB,MAAAA,aAAa,CAAC9C,IAAD,CAAjC;AACD,KAHM,MAGA,IAAI4C,YAAY,CAAC,CAAD,CAAZ,KAAoB,GAApB,IAA2B1B,WAAW,CAAC,CAAD,CAAX,KAAmB,GAAlD,EAAuD;AAAA;AAAA;;AAAA;AAC5D;;AACA;;AAAA;;AAAA;AAAA;AAAA;AAAAzB,MAAAA,IAAI,CAACE,KAAL,EAAW4B,IAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoBuB,MAAAA,aAAa,CAACJ,KAAD,CAAjC;AACD,KAHM,MAGA,IAAIxB,WAAW,CAAC,CAAD,CAAX,KAAmB,GAAnB,IAA0B0B,YAAY,CAAC,CAAD,CAAZ,KAAoB,GAAlD,EAAuD;AAC5D;AACAG,MAAAA,OAAO,CAACtD,IAAD,EAAOO,IAAP,EAAa0C,KAAb,CAAP;AACD,KAHM,MAGA,IAAIE,YAAY,CAAC,CAAD,CAAZ,KAAoB,GAApB,IAA2B1B,WAAW,CAAC,CAAD,CAAX,KAAmB,GAAlD,EAAuD;AAC5D;AACA6B,MAAAA,OAAO,CAACtD,IAAD,EAAOiD,KAAP,EAAc1C,IAAd,EAAoB,IAApB,CAAP;AACD,KAHM,MAGA,IAAIkB,WAAW,KAAK0B,YAApB,EAAkC;AACvC;AACAnD,MAAAA,IAAI,CAACE,KAAL,CAAW4B,IAAX,CAAgBL,WAAhB;AACAlB,MAAAA,IAAI,CAACK,KAAL;AACAqC,MAAAA,KAAK,CAACrC,KAAN;AACD,KALM,MAKA;AACL;AACA+B,MAAAA,QAAQ,CAAC3C,IAAD,EAAOqD,aAAa,CAAC9C,IAAD,CAApB,EAA4B8C,aAAa,CAACJ,KAAD,CAAzC,CAAR;AACD;AACF,GAxCuE,CA0CxE;;;AACAM,EAAAA,cAAc,CAACvD,IAAD,EAAOO,IAAP,CAAd;AACAgD,EAAAA,cAAc,CAACvD,IAAD,EAAOiD,KAAP,CAAd;AAEAlD,EAAAA,aAAa,CAACC,IAAD,CAAb;AACD;;AAED,SAASoD,YAAT,CAAsBpD,IAAtB,EAA4BO,IAA5B,EAAkC0C,KAAlC,EAAyC;AACvC,MAAIO,SAAS,GAAGH,aAAa,CAAC9C,IAAD,CAA7B;AAAA,MACIkD,YAAY,GAAGJ,aAAa,CAACJ,KAAD,CADhC;;AAGA,MAAIS,UAAU,CAACF,SAAD,CAAV,IAAyBE,UAAU,CAACD,YAAD,CAAvC,EAAuD;AACrD;AACA;AAAI;AAAA;AAAA;;AAAAE;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,KAAgBH,SAAhB,EAA2BC,YAA3B,KACGG,kBAAkB,CAACX,KAAD,EAAQO,SAAR,EAAmBA,SAAS,CAAChC,MAAV,GAAmBiC,YAAY,CAACjC,MAAnD,CADzB,EACqF;AAAA;AAAA;;AAAA;;AACnF;;AAAA;;AAAA;AAAA;AAAA;AAAAxB,MAAAA,IAAI,CAACE,KAAL,EAAW4B,IAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoB0B,MAAAA,SAApB;;AACA;AACD,KAJD,MAIO;AAAI;AAAA;AAAA;;AAAAG;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,KAAgBF,YAAhB,EAA8BD,SAA9B,KACJI,kBAAkB,CAACrD,IAAD,EAAOkD,YAAP,EAAqBA,YAAY,CAACjC,MAAb,GAAsBgC,SAAS,CAAChC,MAArD,CADlB,EACgF;AAAA;AAAA;;AAAA;;AACrF;;AAAA;;AAAA;AAAA;AAAA;AAAAxB,MAAAA,IAAI,CAACE,KAAL,EAAW4B,IAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoB2B,MAAAA,YAApB;;AACA;AACD;AACF,GAXD,MAWO;AAAI;AAAA;AAAA;;AAAAI;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,GAAWL,SAAX,EAAsBC,YAAtB,CAAJ,EAAyC;AAAA;AAAA;;AAAA;;AAC9C;;AAAA;;AAAA;AAAA;AAAA;AAAAzD,IAAAA,IAAI,CAACE,KAAL,EAAW4B,IAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoB0B,IAAAA,SAApB;;AACA;AACD;;AAEDb,EAAAA,QAAQ,CAAC3C,IAAD,EAAOwD,SAAP,EAAkBC,YAAlB,CAAR;AACD;;AAED,SAASH,OAAT,CAAiBtD,IAAjB,EAAuBO,IAAvB,EAA6B0C,KAA7B,EAAoCa,IAApC,EAA0C;AACxC,MAAIN,SAAS,GAAGH,aAAa,CAAC9C,IAAD,CAA7B;AAAA,MACIkD,YAAY,GAAGM,cAAc,CAACd,KAAD,EAAQO,SAAR,CADjC;;AAEA,MAAIC,YAAY,CAACO,MAAjB,EAAyB;AAAA;AAAA;;AAAA;;AACvB;;AAAA;;AAAA;AAAA;AAAA;AAAAhE,IAAAA,IAAI,CAACE,KAAL,EAAW4B,IAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoB2B,IAAAA,YAAY,CAACO,MAAjC;AACD,GAFD,MAEO;AACLrB,IAAAA,QAAQ,CAAC3C,IAAD,EAAO8D,IAAI,GAAGL,YAAH,GAAkBD,SAA7B,EAAwCM,IAAI,GAAGN,SAAH,GAAeC,YAA3D,CAAR;AACD;AACF;;AAED,SAASd,QAAT,CAAkB3C,IAAlB,EAAwBO,IAAxB,EAA8B0C,KAA9B,EAAqC;AACnCjD,EAAAA,IAAI,CAAC2C,QAAL,GAAgB,IAAhB;AACA3C,EAAAA,IAAI,CAACE,KAAL,CAAW4B,IAAX,CAAgB;AACda,IAAAA,QAAQ,EAAE,IADI;AAEdpC,IAAAA,IAAI,EAAEA,IAFQ;AAGdC,IAAAA,MAAM,EAAEyC;AAHM,GAAhB;AAKD;;AAED,SAASC,aAAT,CAAuBlD,IAAvB,EAA6BiE,MAA7B,EAAqChB,KAArC,EAA4C;AAC1C,SAAOgB,MAAM,CAACpB,MAAP,GAAgBI,KAAK,CAACJ,MAAtB,IAAgCoB,MAAM,CAACrD,KAAP,GAAeqD,MAAM,CAAC/D,KAAP,CAAasB,MAAnE,EAA2E;AACzE,QAAI0C,IAAI,GAAGD,MAAM,CAAC/D,KAAP,CAAa+D,MAAM,CAACrD,KAAP,EAAb,CAAX;AACAZ,IAAAA,IAAI,CAACE,KAAL,CAAW4B,IAAX,CAAgBoC,IAAhB;AACAD,IAAAA,MAAM,CAACpB,MAAP;AACD;AACF;;AACD,SAASU,cAAT,CAAwBvD,IAAxB,EAA8BiE,MAA9B,EAAsC;AACpC,SAAOA,MAAM,CAACrD,KAAP,GAAeqD,MAAM,CAAC/D,KAAP,CAAasB,MAAnC,EAA2C;AACzC,QAAI0C,IAAI,GAAGD,MAAM,CAAC/D,KAAP,CAAa+D,MAAM,CAACrD,KAAP,EAAb,CAAX;AACAZ,IAAAA,IAAI,CAACE,KAAL,CAAW4B,IAAX,CAAgBoC,IAAhB;AACD;AACF;;AAED,SAASb,aAAT,CAAuBc,KAAvB,EAA8B;AAC5B,MAAIxD,GAAG,GAAG,EAAV;AAAA,MACIyD,SAAS,GAAGD,KAAK,CAACjE,KAAN,CAAYiE,KAAK,CAACvD,KAAlB,EAAyB,CAAzB,CADhB;;AAEA,SAAOuD,KAAK,CAACvD,KAAN,GAAcuD,KAAK,CAACjE,KAAN,CAAYsB,MAAjC,EAAyC;AACvC,QAAI0C,IAAI,GAAGC,KAAK,CAACjE,KAAN,CAAYiE,KAAK,CAACvD,KAAlB,CAAX,CADuC,CAGvC;;AACA,QAAIwD,SAAS,KAAK,GAAd,IAAqBF,IAAI,CAAC,CAAD,CAAJ,KAAY,GAArC,EAA0C;AACxCE,MAAAA,SAAS,GAAG,GAAZ;AACD;;AAED,QAAIA,SAAS,KAAKF,IAAI,CAAC,CAAD,CAAtB,EAA2B;AACzBvD,MAAAA,GAAG,CAACmB,IAAJ,CAASoC,IAAT;AACAC,MAAAA,KAAK,CAACvD,KAAN;AACD,KAHD,MAGO;AACL;AACD;AACF;;AAED,SAAOD,GAAP;AACD;;AACD,SAASoD,cAAT,CAAwBI,KAAxB,EAA+BE,YAA/B,EAA6C;AAC3C,MAAIC,OAAO,GAAG,EAAd;AAAA,MACIN,MAAM,GAAG,EADb;AAAA,MAEIO,UAAU,GAAG,CAFjB;AAAA,MAGIC,cAAc,GAAG,KAHrB;AAAA,MAIIC,UAAU,GAAG,KAJjB;;AAKA,SAAOF,UAAU,GAAGF,YAAY,CAAC7C,MAA1B,IACE2C,KAAK,CAACvD,KAAN,GAAcuD,KAAK,CAACjE,KAAN,CAAYsB,MADnC,EAC2C;AACzC,QAAIkD,MAAM,GAAGP,KAAK,CAACjE,KAAN,CAAYiE,KAAK,CAACvD,KAAlB,CAAb;AAAA,QACI+D,KAAK,GAAGN,YAAY,CAACE,UAAD,CADxB,CADyC,CAIzC;;AACA,QAAII,KAAK,CAAC,CAAD,CAAL,KAAa,GAAjB,EAAsB;AACpB;AACD;;AAEDH,IAAAA,cAAc,GAAGA,cAAc,IAAIE,MAAM,CAAC,CAAD,CAAN,KAAc,GAAjD;AAEAV,IAAAA,MAAM,CAAClC,IAAP,CAAY6C,KAAZ;AACAJ,IAAAA,UAAU,GAZ+B,CAczC;AACA;;AACA,QAAIG,MAAM,CAAC,CAAD,CAAN,KAAc,GAAlB,EAAuB;AACrBD,MAAAA,UAAU,GAAG,IAAb;;AAEA,aAAOC,MAAM,CAAC,CAAD,CAAN,KAAc,GAArB,EAA0B;AACxBJ,QAAAA,OAAO,CAACxC,IAAR,CAAa4C,MAAb;AACAA,QAAAA,MAAM,GAAGP,KAAK,CAACjE,KAAN,CAAY,EAAEiE,KAAK,CAACvD,KAApB,CAAT;AACD;AACF;;AAED,QAAI+D,KAAK,CAACC,MAAN,CAAa,CAAb,MAAoBF,MAAM,CAACE,MAAP,CAAc,CAAd,CAAxB,EAA0C;AACxCN,MAAAA,OAAO,CAACxC,IAAR,CAAa4C,MAAb;AACAP,MAAAA,KAAK,CAACvD,KAAN;AACD,KAHD,MAGO;AACL6D,MAAAA,UAAU,GAAG,IAAb;AACD;AACF;;AAED,MAAI,CAACJ,YAAY,CAACE,UAAD,CAAZ,IAA4B,EAA7B,EAAiC,CAAjC,MAAwC,GAAxC,IACGC,cADP,EACuB;AACrBC,IAAAA,UAAU,GAAG,IAAb;AACD;;AAED,MAAIA,UAAJ,EAAgB;AACd,WAAOH,OAAP;AACD;;AAED,SAAOC,UAAU,GAAGF,YAAY,CAAC7C,MAAjC,EAAyC;AACvCwC,IAAAA,MAAM,CAAClC,IAAP,CAAYuC,YAAY,CAACE,UAAU,EAAX,CAAxB;AACD;;AAED,SAAO;AACLP,IAAAA,MAAM,EAANA,MADK;AAELM,IAAAA,OAAO,EAAPA;AAFK,GAAP;AAID;;AAED,SAASZ,UAAT,CAAoBY,OAApB,EAA6B;AAC3B,SAAOA,OAAO,CAACO,MAAR,CAAe,UAASC,IAAT,EAAeJ,MAAf,EAAuB;AAC3C,WAAOI,IAAI,IAAIJ,MAAM,CAAC,CAAD,CAAN,KAAc,GAA7B;AACD,GAFM,EAEJ,IAFI,CAAP;AAGD;;AACD,SAASd,kBAAT,CAA4BO,KAA5B,EAAmCY,aAAnC,EAAkDC,KAAlD,EAAyD;AACvD,OAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGD,KAApB,EAA2BC,CAAC,EAA5B,EAAgC;AAC9B,QAAIC,aAAa,GAAGH,aAAa,CAACA,aAAa,CAACvD,MAAd,GAAuBwD,KAAvB,GAA+BC,CAAhC,CAAb,CAAgDL,MAAhD,CAAuD,CAAvD,CAApB;;AACA,QAAIT,KAAK,CAACjE,KAAN,CAAYiE,KAAK,CAACvD,KAAN,GAAcqE,CAA1B,MAAiC,MAAMC,aAA3C,EAA0D;AACxD,aAAO,KAAP;AACD;AACF;;AAEDf,EAAAA,KAAK,CAACvD,KAAN,IAAeoE,KAAf;AACA,SAAO,IAAP;AACD;;AAED,SAAS/E,mBAAT,CAA6BC,KAA7B,EAAoC;AAClC,MAAIC,QAAQ,GAAG,CAAf;AACA,MAAIC,QAAQ,GAAG,CAAf;AAEAF,EAAAA,KAAK,CAACiF,OAAN,CAAc,UAASjB,IAAT,EAAe;AAC3B,QAAI,OAAOA,IAAP,KAAgB,QAApB,EAA8B;AAC5B,UAAIkB,OAAO,GAAGnF,mBAAmB,CAACiE,IAAI,CAAC3D,IAAN,CAAjC;AACA,UAAI8E,UAAU,GAAGpF,mBAAmB,CAACiE,IAAI,CAAC1D,MAAN,CAApC;;AAEA,UAAIL,QAAQ,KAAKE,SAAjB,EAA4B;AAC1B,YAAI+E,OAAO,CAACjF,QAAR,KAAqBkF,UAAU,CAAClF,QAApC,EAA8C;AAC5CA,UAAAA,QAAQ,IAAIiF,OAAO,CAACjF,QAApB;AACD,SAFD,MAEO;AACLA,UAAAA,QAAQ,GAAGE,SAAX;AACD;AACF;;AAED,UAAID,QAAQ,KAAKC,SAAjB,EAA4B;AAC1B,YAAI+E,OAAO,CAAChF,QAAR,KAAqBiF,UAAU,CAACjF,QAApC,EAA8C;AAC5CA,UAAAA,QAAQ,IAAIgF,OAAO,CAAChF,QAApB;AACD,SAFD,MAEO;AACLA,UAAAA,QAAQ,GAAGC,SAAX;AACD;AACF;AACF,KAnBD,MAmBO;AACL,UAAID,QAAQ,KAAKC,SAAb,KAA2B6D,IAAI,CAAC,CAAD,CAAJ,KAAY,GAAZ,IAAmBA,IAAI,CAAC,CAAD,CAAJ,KAAY,GAA1D,CAAJ,EAAoE;AAClE9D,QAAAA,QAAQ;AACT;;AACD,UAAID,QAAQ,KAAKE,SAAb,KAA2B6D,IAAI,CAAC,CAAD,CAAJ,KAAY,GAAZ,IAAmBA,IAAI,CAAC,CAAD,CAAJ,KAAY,GAA1D,CAAJ,EAAoE;AAClE/D,QAAAA,QAAQ;AACT;AACF;AACF,GA5BD;AA8BA,SAAO;AAACA,IAAAA,QAAQ,EAARA,QAAD;AAAWC,IAAAA,QAAQ,EAARA;AAAX,GAAP;AACD","sourcesContent":["import {structuredPatch} from './create';\nimport {parsePatch} from './parse';\n\nimport {arrayEqual, arrayStartsWith} from '../util/array';\n\nexport function calcLineCount(hunk) {\n const {oldLines, newLines} = calcOldNewLineCount(hunk.lines);\n\n if (oldLines !== undefined) {\n hunk.oldLines = oldLines;\n } else {\n delete hunk.oldLines;\n }\n\n if (newLines !== undefined) {\n hunk.newLines = newLines;\n } else {\n delete hunk.newLines;\n }\n}\n\nexport function merge(mine, theirs, base) {\n mine = loadPatch(mine, base);\n theirs = loadPatch(theirs, base);\n\n let ret = {};\n\n // For index we just let it pass through as it doesn't have any necessary meaning.\n // Leaving sanity checks on this to the API consumer that may know more about the\n // meaning in their own context.\n if (mine.index || theirs.index) {\n ret.index = mine.index || theirs.index;\n }\n\n if (mine.newFileName || theirs.newFileName) {\n if (!fileNameChanged(mine)) {\n // No header or no change in ours, use theirs (and ours if theirs does not exist)\n ret.oldFileName = theirs.oldFileName || mine.oldFileName;\n ret.newFileName = theirs.newFileName || mine.newFileName;\n ret.oldHeader = theirs.oldHeader || mine.oldHeader;\n ret.newHeader = theirs.newHeader || mine.newHeader;\n } else if (!fileNameChanged(theirs)) {\n // No header or no change in theirs, use ours\n ret.oldFileName = mine.oldFileName;\n ret.newFileName = mine.newFileName;\n ret.oldHeader = mine.oldHeader;\n ret.newHeader = mine.newHeader;\n } else {\n // Both changed... figure it out\n ret.oldFileName = selectField(ret, mine.oldFileName, theirs.oldFileName);\n ret.newFileName = selectField(ret, mine.newFileName, theirs.newFileName);\n ret.oldHeader = selectField(ret, mine.oldHeader, theirs.oldHeader);\n ret.newHeader = selectField(ret, mine.newHeader, theirs.newHeader);\n }\n }\n\n ret.hunks = [];\n\n let mineIndex = 0,\n theirsIndex = 0,\n mineOffset = 0,\n theirsOffset = 0;\n\n while (mineIndex < mine.hunks.length || theirsIndex < theirs.hunks.length) {\n let mineCurrent = mine.hunks[mineIndex] || {oldStart: Infinity},\n theirsCurrent = theirs.hunks[theirsIndex] || {oldStart: Infinity};\n\n if (hunkBefore(mineCurrent, theirsCurrent)) {\n // This patch does not overlap with any of the others, yay.\n ret.hunks.push(cloneHunk(mineCurrent, mineOffset));\n mineIndex++;\n theirsOffset += mineCurrent.newLines - mineCurrent.oldLines;\n } else if (hunkBefore(theirsCurrent, mineCurrent)) {\n // This patch does not overlap with any of the others, yay.\n ret.hunks.push(cloneHunk(theirsCurrent, theirsOffset));\n theirsIndex++;\n mineOffset += theirsCurrent.newLines - theirsCurrent.oldLines;\n } else {\n // Overlap, merge as best we can\n let mergedHunk = {\n oldStart: Math.min(mineCurrent.oldStart, theirsCurrent.oldStart),\n oldLines: 0,\n newStart: Math.min(mineCurrent.newStart + mineOffset, theirsCurrent.oldStart + theirsOffset),\n newLines: 0,\n lines: []\n };\n mergeLines(mergedHunk, mineCurrent.oldStart, mineCurrent.lines, theirsCurrent.oldStart, theirsCurrent.lines);\n theirsIndex++;\n mineIndex++;\n\n ret.hunks.push(mergedHunk);\n }\n }\n\n return ret;\n}\n\nfunction loadPatch(param, base) {\n if (typeof param === 'string') {\n if ((/^@@/m).test(param) || ((/^Index:/m).test(param))) {\n return parsePatch(param)[0];\n }\n\n if (!base) {\n throw new Error('Must provide a base reference or pass in a patch');\n }\n return structuredPatch(undefined, undefined, base, param);\n }\n\n return param;\n}\n\nfunction fileNameChanged(patch) {\n return patch.newFileName && patch.newFileName !== patch.oldFileName;\n}\n\nfunction selectField(index, mine, theirs) {\n if (mine === theirs) {\n return mine;\n } else {\n index.conflict = true;\n return {mine, theirs};\n }\n}\n\nfunction hunkBefore(test, check) {\n return test.oldStart < check.oldStart\n && (test.oldStart + test.oldLines) < check.oldStart;\n}\n\nfunction cloneHunk(hunk, offset) {\n return {\n oldStart: hunk.oldStart, oldLines: hunk.oldLines,\n newStart: hunk.newStart + offset, newLines: hunk.newLines,\n lines: hunk.lines\n };\n}\n\nfunction mergeLines(hunk, mineOffset, mineLines, theirOffset, theirLines) {\n // This will generally result in a conflicted hunk, but there are cases where the context\n // is the only overlap where we can successfully merge the content here.\n let mine = {offset: mineOffset, lines: mineLines, index: 0},\n their = {offset: theirOffset, lines: theirLines, index: 0};\n\n // Handle any leading content\n insertLeading(hunk, mine, their);\n insertLeading(hunk, their, mine);\n\n // Now in the overlap content. Scan through and select the best changes from each.\n while (mine.index < mine.lines.length && their.index < their.lines.length) {\n let mineCurrent = mine.lines[mine.index],\n theirCurrent = their.lines[their.index];\n\n if ((mineCurrent[0] === '-' || mineCurrent[0] === '+')\n && (theirCurrent[0] === '-' || theirCurrent[0] === '+')) {\n // Both modified ...\n mutualChange(hunk, mine, their);\n } else if (mineCurrent[0] === '+' && theirCurrent[0] === ' ') {\n // Mine inserted\n hunk.lines.push(... collectChange(mine));\n } else if (theirCurrent[0] === '+' && mineCurrent[0] === ' ') {\n // Theirs inserted\n hunk.lines.push(... collectChange(their));\n } else if (mineCurrent[0] === '-' && theirCurrent[0] === ' ') {\n // Mine removed or edited\n removal(hunk, mine, their);\n } else if (theirCurrent[0] === '-' && mineCurrent[0] === ' ') {\n // Their removed or edited\n removal(hunk, their, mine, true);\n } else if (mineCurrent === theirCurrent) {\n // Context identity\n hunk.lines.push(mineCurrent);\n mine.index++;\n their.index++;\n } else {\n // Context mismatch\n conflict(hunk, collectChange(mine), collectChange(their));\n }\n }\n\n // Now push anything that may be remaining\n insertTrailing(hunk, mine);\n insertTrailing(hunk, their);\n\n calcLineCount(hunk);\n}\n\nfunction mutualChange(hunk, mine, their) {\n let myChanges = collectChange(mine),\n theirChanges = collectChange(their);\n\n if (allRemoves(myChanges) && allRemoves(theirChanges)) {\n // Special case for remove changes that are supersets of one another\n if (arrayStartsWith(myChanges, theirChanges)\n && skipRemoveSuperset(their, myChanges, myChanges.length - theirChanges.length)) {\n hunk.lines.push(... myChanges);\n return;\n } else if (arrayStartsWith(theirChanges, myChanges)\n && skipRemoveSuperset(mine, theirChanges, theirChanges.length - myChanges.length)) {\n hunk.lines.push(... theirChanges);\n return;\n }\n } else if (arrayEqual(myChanges, theirChanges)) {\n hunk.lines.push(... myChanges);\n return;\n }\n\n conflict(hunk, myChanges, theirChanges);\n}\n\nfunction removal(hunk, mine, their, swap) {\n let myChanges = collectChange(mine),\n theirChanges = collectContext(their, myChanges);\n if (theirChanges.merged) {\n hunk.lines.push(... theirChanges.merged);\n } else {\n conflict(hunk, swap ? theirChanges : myChanges, swap ? myChanges : theirChanges);\n }\n}\n\nfunction conflict(hunk, mine, their) {\n hunk.conflict = true;\n hunk.lines.push({\n conflict: true,\n mine: mine,\n theirs: their\n });\n}\n\nfunction insertLeading(hunk, insert, their) {\n while (insert.offset < their.offset && insert.index < insert.lines.length) {\n let line = insert.lines[insert.index++];\n hunk.lines.push(line);\n insert.offset++;\n }\n}\nfunction insertTrailing(hunk, insert) {\n while (insert.index < insert.lines.length) {\n let line = insert.lines[insert.index++];\n hunk.lines.push(line);\n }\n}\n\nfunction collectChange(state) {\n let ret = [],\n operation = state.lines[state.index][0];\n while (state.index < state.lines.length) {\n let line = state.lines[state.index];\n\n // Group additions that are immediately after subtractions and treat them as one \"atomic\" modify change.\n if (operation === '-' && line[0] === '+') {\n operation = '+';\n }\n\n if (operation === line[0]) {\n ret.push(line);\n state.index++;\n } else {\n break;\n }\n }\n\n return ret;\n}\nfunction collectContext(state, matchChanges) {\n let changes = [],\n merged = [],\n matchIndex = 0,\n contextChanges = false,\n conflicted = false;\n while (matchIndex < matchChanges.length\n && state.index < state.lines.length) {\n let change = state.lines[state.index],\n match = matchChanges[matchIndex];\n\n // Once we've hit our add, then we are done\n if (match[0] === '+') {\n break;\n }\n\n contextChanges = contextChanges || change[0] !== ' ';\n\n merged.push(match);\n matchIndex++;\n\n // Consume any additions in the other block as a conflict to attempt\n // to pull in the remaining context after this\n if (change[0] === '+') {\n conflicted = true;\n\n while (change[0] === '+') {\n changes.push(change);\n change = state.lines[++state.index];\n }\n }\n\n if (match.substr(1) === change.substr(1)) {\n changes.push(change);\n state.index++;\n } else {\n conflicted = true;\n }\n }\n\n if ((matchChanges[matchIndex] || '')[0] === '+'\n && contextChanges) {\n conflicted = true;\n }\n\n if (conflicted) {\n return changes;\n }\n\n while (matchIndex < matchChanges.length) {\n merged.push(matchChanges[matchIndex++]);\n }\n\n return {\n merged,\n changes\n };\n}\n\nfunction allRemoves(changes) {\n return changes.reduce(function(prev, change) {\n return prev && change[0] === '-';\n }, true);\n}\nfunction skipRemoveSuperset(state, removeChanges, delta) {\n for (let i = 0; i < delta; i++) {\n let changeContent = removeChanges[removeChanges.length - delta + i].substr(1);\n if (state.lines[state.index + i] !== ' ' + changeContent) {\n return false;\n }\n }\n\n state.index += delta;\n return true;\n}\n\nfunction calcOldNewLineCount(lines) {\n let oldLines = 0;\n let newLines = 0;\n\n lines.forEach(function(line) {\n if (typeof line !== 'string') {\n let myCount = calcOldNewLineCount(line.mine);\n let theirCount = calcOldNewLineCount(line.theirs);\n\n if (oldLines !== undefined) {\n if (myCount.oldLines === theirCount.oldLines) {\n oldLines += myCount.oldLines;\n } else {\n oldLines = undefined;\n }\n }\n\n if (newLines !== undefined) {\n if (myCount.newLines === theirCount.newLines) {\n newLines += myCount.newLines;\n } else {\n newLines = undefined;\n }\n }\n } else {\n if (newLines !== undefined && (line[0] === '+' || line[0] === ' ')) {\n newLines++;\n }\n if (oldLines !== undefined && (line[0] === '-' || line[0] === ' ')) {\n oldLines++;\n }\n }\n });\n\n return {oldLines, newLines};\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/create.js":{"lineLengths":[25,13,0,46,13,3,42,34,50,34,0,23,3,25,31,23,1,0,179,0,190,0,416,0,130,0,91,0,183,0,23,99,17,17,3,0,47,24,3,0,12,27,5,25,0,27,7,25,3,27,12,25,28,0,14,11,3,0,13,14,13,53,0,32,39,25,7,3,0,17,24,24,20,18,18,0,27,29,25,6,26,78,26,0,43,31,20,0,29,53,27,31,32,32,0,19,97,43,43,9,29,0,0,31,0,29,0,31,18,29,27,31,15,29,7,31,25,29,34,51,46,0,0,26,32,14,32,7,12,52,26,76,73,35,25,0,33,24,0,35,0,33,0,35,23,33,31,35,20,33,11,35,29,33,32,16,35,25,0,33,37,68,0,35,0,33,0,35,23,33,31,35,20,33,11,35,29,33,54,0,22,36,60,36,60,27,12,0,72,38,51,51,86,0,72,99,80,80,13,0,70,60,13,11,0,27,28,28,24,9,7,0,30,30,5,4,0,41,29,10,27,7,3,0,10,29,29,25,25,16,4,1,0,28,15,0,45,43,3,0,82,109,109,0,47,83,59,64,0,30,25,5,0,30,25,5,0,112,36,3,0,31,1,0,103,111,1,0,79,96,1,15320,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/patch/create.js"],"names":["structuredPatch","oldFileName","newFileName","oldStr","newStr","oldHeader","newHeader","options","context","diff","diffLines","push","value","lines","contextLines","map","entry","hunks","oldRangeStart","newRangeStart","curRange","oldLine","newLine","i","current","replace","split","added","removed","prev","slice","length","contextSize","Math","min","hunk","oldStart","oldLines","newStart","newLines","oldEOFNewline","test","newEOFNewline","noNlBeforeAdds","splice","formatPatch","ret","apply","join","createTwoFilesPatch","createPatch","fileName"],"mappings":";;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;AAEO,SAASA,eAAT,CAAyBC,WAAzB,EAAsCC,WAAtC,EAAmDC,MAAnD,EAA2DC,MAA3D,EAAmEC,SAAnE,EAA8EC,SAA9E,EAAyFC,OAAzF,EAAkG;AACvG,MAAI,CAACA,OAAL,EAAc;AACZA,IAAAA,OAAO,GAAG,EAAV;AACD;;AACD,MAAI,OAAOA,OAAO,CAACC,OAAf,KAA2B,WAA/B,EAA4C;AAC1CD,IAAAA,OAAO,CAACC,OAAR,GAAkB,CAAlB;AACD;;AAED,MAAMC,IAAI;AAAG;AAAA;AAAA;;AAAAC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,GAAUP,MAAV,EAAkBC,MAAlB,EAA0BG,OAA1B,CAAb;;AACA,MAAG,CAACE,IAAJ,EAAU;AACR;AACD;;AAEDA,EAAAA,IAAI,CAACE,IAAL,CAAU;AAACC,IAAAA,KAAK,EAAE,EAAR;AAAYC,IAAAA,KAAK,EAAE;AAAnB,GAAV,EAbuG,CAapE;;AAEnC,WAASC,YAAT,CAAsBD,KAAtB,EAA6B;AAC3B,WAAOA,KAAK,CAACE,GAAN,CAAU,UAASC,KAAT,EAAgB;AAAE,aAAO,MAAMA,KAAb;AAAqB,KAAjD,CAAP;AACD;;AAED,MAAIC,KAAK,GAAG,EAAZ;AACA,MAAIC,aAAa,GAAG,CAApB;AAAA,MAAuBC,aAAa,GAAG,CAAvC;AAAA,MAA0CC,QAAQ,GAAG,EAArD;AAAA,MACIC,OAAO,GAAG,CADd;AAAA,MACiBC,OAAO,GAAG,CAD3B;;AApBuG;AAAA;AAAA;AAsB9FC,EAAAA,CAtB8F;AAuBrG,QAAMC,OAAO,GAAGf,IAAI,CAACc,CAAD,CAApB;AAAA,QACMV,KAAK,GAAGW,OAAO,CAACX,KAAR,IAAiBW,OAAO,CAACZ,KAAR,CAAca,OAAd,CAAsB,KAAtB,EAA6B,EAA7B,EAAiCC,KAAjC,CAAuC,IAAvC,CAD/B;AAEAF,IAAAA,OAAO,CAACX,KAAR,GAAgBA,KAAhB;;AAEA,QAAIW,OAAO,CAACG,KAAR,IAAiBH,OAAO,CAACI,OAA7B,EAAsC;AAAA;AAAA;;AAAA;AACpC;AACA,UAAI,CAACV,aAAL,EAAoB;AAClB,YAAMW,IAAI,GAAGpB,IAAI,CAACc,CAAC,GAAG,CAAL,CAAjB;AACAL,QAAAA,aAAa,GAAGG,OAAhB;AACAF,QAAAA,aAAa,GAAGG,OAAhB;;AAEA,YAAIO,IAAJ,EAAU;AACRT,UAAAA,QAAQ,GAAGb,OAAO,CAACC,OAAR,GAAkB,CAAlB,GAAsBM,YAAY,CAACe,IAAI,CAAChB,KAAL,CAAWiB,KAAX,CAAiB,CAACvB,OAAO,CAACC,OAA1B,CAAD,CAAlC,GAAyE,EAApF;AACAU,UAAAA,aAAa,IAAIE,QAAQ,CAACW,MAA1B;AACAZ,UAAAA,aAAa,IAAIC,QAAQ,CAACW,MAA1B;AACD;AACF,OAZmC,CAcpC;;;AACA;;AAAA;;AAAA;AAAA;AAAA;AAAAX,MAAAA,QAAQ,EAACT,IAAT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkBE,MAAAA,KAAK,CAACE,GAAN,CAAU,UAASC,KAAT,EAAgB;AAC1C,eAAO,CAACQ,OAAO,CAACG,KAAR,GAAgB,GAAhB,GAAsB,GAAvB,IAA8BX,KAArC;AACD,OAFiB,CAAlB,GAfoC,CAmBpC;;;AACA,UAAIQ,OAAO,CAACG,KAAZ,EAAmB;AACjBL,QAAAA,OAAO,IAAIT,KAAK,CAACkB,MAAjB;AACD,OAFD,MAEO;AACLV,QAAAA,OAAO,IAAIR,KAAK,CAACkB,MAAjB;AACD;AACF,KAzBD,MAyBO;AACL;AACA,UAAIb,aAAJ,EAAmB;AACjB;AACA,YAAIL,KAAK,CAACkB,MAAN,IAAgBxB,OAAO,CAACC,OAAR,GAAkB,CAAlC,IAAuCe,CAAC,GAAGd,IAAI,CAACsB,MAAL,GAAc,CAA7D,EAAgE;AAAA;AAAA;;AAAA;AAC9D;;AACA;;AAAA;;AAAA;AAAA;AAAA;AAAAX,UAAAA,QAAQ,EAACT,IAAT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkBG,UAAAA,YAAY,CAACD,KAAD,CAA9B;AACD,SAHD,MAGO;AAAA;AAAA;;AAAA;AACL;AACA,cAAImB,WAAW,GAAGC,IAAI,CAACC,GAAL,CAASrB,KAAK,CAACkB,MAAf,EAAuBxB,OAAO,CAACC,OAA/B,CAAlB;;AACA;;AAAA;;AAAA;AAAA;AAAA;AAAAY,UAAAA,QAAQ,EAACT,IAAT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkBG,UAAAA,YAAY,CAACD,KAAK,CAACiB,KAAN,CAAY,CAAZ,EAAeE,WAAf,CAAD,CAA9B;;AAEA,cAAIG,IAAI,GAAG;AACTC,YAAAA,QAAQ,EAAElB,aADD;AAETmB,YAAAA,QAAQ,EAAGhB,OAAO,GAAGH,aAAV,GAA0Bc,WAF5B;AAGTM,YAAAA,QAAQ,EAAEnB,aAHD;AAIToB,YAAAA,QAAQ,EAAGjB,OAAO,GAAGH,aAAV,GAA0Ba,WAJ5B;AAKTnB,YAAAA,KAAK,EAAEO;AALE,WAAX;;AAOA,cAAIG,CAAC,IAAId,IAAI,CAACsB,MAAL,GAAc,CAAnB,IAAwBlB,KAAK,CAACkB,MAAN,IAAgBxB,OAAO,CAACC,OAApD,EAA6D;AAC3D;AACA,gBAAIgC,aAAa,GAAK,KAAD,CAAQC,IAAR,CAAatC,MAAb,CAArB;AACA,gBAAIuC,aAAa,GAAK,KAAD,CAAQD,IAAR,CAAarC,MAAb,CAArB;AACA,gBAAIuC,cAAc,GAAG9B,KAAK,CAACkB,MAAN,IAAgB,CAAhB,IAAqBX,QAAQ,CAACW,MAAT,GAAkBI,IAAI,CAACE,QAAjE;;AACA,gBAAI,CAACG,aAAD,IAAkBG,cAAlB,IAAoCxC,MAAM,CAAC4B,MAAP,GAAgB,CAAxD,EAA2D;AACzD;AACA;AACAX,cAAAA,QAAQ,CAACwB,MAAT,CAAgBT,IAAI,CAACE,QAArB,EAA+B,CAA/B,EAAkC,8BAAlC;AACD;;AACD,gBAAK,CAACG,aAAD,IAAkB,CAACG,cAApB,IAAuC,CAACD,aAA5C,EAA2D;AACzDtB,cAAAA,QAAQ,CAACT,IAAT,CAAc,8BAAd;AACD;AACF;;AACDM,UAAAA,KAAK,CAACN,IAAN,CAAWwB,IAAX;AAEAjB,UAAAA,aAAa,GAAG,CAAhB;AACAC,UAAAA,aAAa,GAAG,CAAhB;AACAC,UAAAA,QAAQ,GAAG,EAAX;AACD;AACF;;AACDC,MAAAA,OAAO,IAAIR,KAAK,CAACkB,MAAjB;AACAT,MAAAA,OAAO,IAAIT,KAAK,CAACkB,MAAjB;AACD;AA9FoG;;AAsBvG,OAAK,IAAIR,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGd,IAAI,CAACsB,MAAzB,EAAiCR,CAAC,EAAlC,EAAsC;AAAA;AAAA;AAAA;AAA7BA,IAAAA,CAA6B;AAyErC;;AAED,SAAO;AACLtB,IAAAA,WAAW,EAAEA,WADR;AACqBC,IAAAA,WAAW,EAAEA,WADlC;AAELG,IAAAA,SAAS,EAAEA,SAFN;AAEiBC,IAAAA,SAAS,EAAEA,SAF5B;AAGLW,IAAAA,KAAK,EAAEA;AAHF,GAAP;AAKD;;AAEM,SAAS4B,WAAT,CAAqBpC,IAArB,EAA2B;AAChC,MAAMqC,GAAG,GAAG,EAAZ;;AACA,MAAIrC,IAAI,CAACR,WAAL,IAAoBQ,IAAI,CAACP,WAA7B,EAA0C;AACxC4C,IAAAA,GAAG,CAACnC,IAAJ,CAAS,YAAYF,IAAI,CAACR,WAA1B;AACD;;AACD6C,EAAAA,GAAG,CAACnC,IAAJ,CAAS,qEAAT;AACAmC,EAAAA,GAAG,CAACnC,IAAJ,CAAS,SAASF,IAAI,CAACR,WAAd,IAA6B,OAAOQ,IAAI,CAACJ,SAAZ,KAA0B,WAA1B,GAAwC,EAAxC,GAA6C,OAAOI,IAAI,CAACJ,SAAtF,CAAT;AACAyC,EAAAA,GAAG,CAACnC,IAAJ,CAAS,SAASF,IAAI,CAACP,WAAd,IAA6B,OAAOO,IAAI,CAACH,SAAZ,KAA0B,WAA1B,GAAwC,EAAxC,GAA6C,OAAOG,IAAI,CAACH,SAAtF,CAAT;;AAEA,OAAK,IAAIiB,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGd,IAAI,CAACQ,KAAL,CAAWc,MAA/B,EAAuCR,CAAC,EAAxC,EAA4C;AAC1C,QAAMY,IAAI,GAAG1B,IAAI,CAACQ,KAAL,CAAWM,CAAX,CAAb,CAD0C,CAE1C;AACA;AACA;;AACA,QAAIY,IAAI,CAACE,QAAL,KAAkB,CAAtB,EAAyB;AACvBF,MAAAA,IAAI,CAACC,QAAL,IAAiB,CAAjB;AACD;;AACD,QAAID,IAAI,CAACI,QAAL,KAAkB,CAAtB,EAAyB;AACvBJ,MAAAA,IAAI,CAACG,QAAL,IAAiB,CAAjB;AACD;;AACDQ,IAAAA,GAAG,CAACnC,IAAJ,CACE,SAASwB,IAAI,CAACC,QAAd,GAAyB,GAAzB,GAA+BD,IAAI,CAACE,QAApC,GACE,IADF,GACSF,IAAI,CAACG,QADd,GACyB,GADzB,GAC+BH,IAAI,CAACI,QADpC,GAEE,KAHJ;AAKAO,IAAAA,GAAG,CAACnC,IAAJ,CAASoC,KAAT,CAAeD,GAAf,EAAoBX,IAAI,CAACtB,KAAzB;AACD;;AAED,SAAOiC,GAAG,CAACE,IAAJ,CAAS,IAAT,IAAiB,IAAxB;AACD;;AAEM,SAASC,mBAAT,CAA6BhD,WAA7B,EAA0CC,WAA1C,EAAuDC,MAAvD,EAA+DC,MAA/D,EAAuEC,SAAvE,EAAkFC,SAAlF,EAA6FC,OAA7F,EAAsG;AAC3G,SAAOsC,WAAW,CAAC7C,eAAe,CAACC,WAAD,EAAcC,WAAd,EAA2BC,MAA3B,EAAmCC,MAAnC,EAA2CC,SAA3C,EAAsDC,SAAtD,EAAiEC,OAAjE,CAAhB,CAAlB;AACD;;AAEM,SAAS2C,WAAT,CAAqBC,QAArB,EAA+BhD,MAA/B,EAAuCC,MAAvC,EAA+CC,SAA/C,EAA0DC,SAA1D,EAAqEC,OAArE,EAA8E;AACnF,SAAO0C,mBAAmB,CAACE,QAAD,EAAWA,QAAX,EAAqBhD,MAArB,EAA6BC,MAA7B,EAAqCC,SAArC,EAAgDC,SAAhD,EAA2DC,OAA3D,CAA1B;AACD","sourcesContent":["import {diffLines} from '../diff/line';\n\nexport function structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) {\n if (!options) {\n options = {};\n }\n if (typeof options.context === 'undefined') {\n options.context = 4;\n }\n\n const diff = diffLines(oldStr, newStr, options);\n if(!diff) {\n return;\n }\n\n diff.push({value: '', lines: []}); // Append an empty value to make cleanup easier\n\n function contextLines(lines) {\n return lines.map(function(entry) { return ' ' + entry; });\n }\n\n let hunks = [];\n let oldRangeStart = 0, newRangeStart = 0, curRange = [],\n oldLine = 1, newLine = 1;\n for (let i = 0; i < diff.length; i++) {\n const current = diff[i],\n lines = current.lines || current.value.replace(/\\n$/, '').split('\\n');\n current.lines = lines;\n\n if (current.added || current.removed) {\n // If we have previous context, start with that\n if (!oldRangeStart) {\n const prev = diff[i - 1];\n oldRangeStart = oldLine;\n newRangeStart = newLine;\n\n if (prev) {\n curRange = options.context > 0 ? contextLines(prev.lines.slice(-options.context)) : [];\n oldRangeStart -= curRange.length;\n newRangeStart -= curRange.length;\n }\n }\n\n // Output our changes\n curRange.push(... lines.map(function(entry) {\n return (current.added ? '+' : '-') + entry;\n }));\n\n // Track the updated file position\n if (current.added) {\n newLine += lines.length;\n } else {\n oldLine += lines.length;\n }\n } else {\n // Identical context lines. Track line changes\n if (oldRangeStart) {\n // Close out any changes that have been output (or join overlapping)\n if (lines.length <= options.context * 2 && i < diff.length - 2) {\n // Overlapping\n curRange.push(... contextLines(lines));\n } else {\n // end the range and output\n let contextSize = Math.min(lines.length, options.context);\n curRange.push(... contextLines(lines.slice(0, contextSize)));\n\n let hunk = {\n oldStart: oldRangeStart,\n oldLines: (oldLine - oldRangeStart + contextSize),\n newStart: newRangeStart,\n newLines: (newLine - newRangeStart + contextSize),\n lines: curRange\n };\n if (i >= diff.length - 2 && lines.length <= options.context) {\n // EOF is inside this hunk\n let oldEOFNewline = ((/\\n$/).test(oldStr));\n let newEOFNewline = ((/\\n$/).test(newStr));\n let noNlBeforeAdds = lines.length == 0 && curRange.length > hunk.oldLines;\n if (!oldEOFNewline && noNlBeforeAdds && oldStr.length > 0) {\n // special case: old has no eol and no trailing context; no-nl can end up before adds\n // however, if the old file is empty, do not output the no-nl line\n curRange.splice(hunk.oldLines, 0, '\\\\ No newline at end of file');\n }\n if ((!oldEOFNewline && !noNlBeforeAdds) || !newEOFNewline) {\n curRange.push('\\\\ No newline at end of file');\n }\n }\n hunks.push(hunk);\n\n oldRangeStart = 0;\n newRangeStart = 0;\n curRange = [];\n }\n }\n oldLine += lines.length;\n newLine += lines.length;\n }\n }\n\n return {\n oldFileName: oldFileName, newFileName: newFileName,\n oldHeader: oldHeader, newHeader: newHeader,\n hunks: hunks\n };\n}\n\nexport function formatPatch(diff) {\n const ret = [];\n if (diff.oldFileName == diff.newFileName) {\n ret.push('Index: ' + diff.oldFileName);\n }\n ret.push('===================================================================');\n ret.push('--- ' + diff.oldFileName + (typeof diff.oldHeader === 'undefined' ? '' : '\\t' + diff.oldHeader));\n ret.push('+++ ' + diff.newFileName + (typeof diff.newHeader === 'undefined' ? '' : '\\t' + diff.newHeader));\n\n for (let i = 0; i < diff.hunks.length; i++) {\n const hunk = diff.hunks[i];\n // Unified Diff Format quirk: If the chunk size is 0,\n // the first number is one lower than one would expect.\n // https://www.artima.com/weblogs/viewpost.jsp?thread=164293\n if (hunk.oldLines === 0) {\n hunk.oldStart -= 1;\n }\n if (hunk.newLines === 0) {\n hunk.newStart -= 1;\n }\n ret.push(\n '@@ -' + hunk.oldStart + ',' + hunk.oldLines\n + ' +' + hunk.newStart + ',' + hunk.newLines\n + ' @@'\n );\n ret.push.apply(ret, hunk.lines);\n }\n\n return ret.join('\\n') + '\\n';\n}\n\nexport function createTwoFilesPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) {\n return formatPatch(structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options));\n}\n\nexport function createPatch(fileName, oldStr, newStr, oldHeader, newHeader, options) {\n return createTwoFilesPatch(fileName, fileName, oldStr, newStr, oldHeader, newHeader, options);\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/util/array.js":{"lineLengths":[25,13,0,46,13,3,32,42,0,23,27,30,17,3,0,31,1,0,40,36,17,3,0,42,32,19,5,3,0,14,1,1476,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/util/array.js"],"names":["arrayEqual","a","b","length","arrayStartsWith","array","start","i"],"mappings":";;;;;;;;;;AAAO,SAASA,UAAT,CAAoBC,CAApB,EAAuBC,CAAvB,EAA0B;AAC/B,MAAID,CAAC,CAACE,MAAF,KAAaD,CAAC,CAACC,MAAnB,EAA2B;AACzB,WAAO,KAAP;AACD;;AAED,SAAOC,eAAe,CAACH,CAAD,EAAIC,CAAJ,CAAtB;AACD;;AAEM,SAASE,eAAT,CAAyBC,KAAzB,EAAgCC,KAAhC,EAAuC;AAC5C,MAAIA,KAAK,CAACH,MAAN,GAAeE,KAAK,CAACF,MAAzB,EAAiC;AAC/B,WAAO,KAAP;AACD;;AAED,OAAK,IAAII,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGD,KAAK,CAACH,MAA1B,EAAkCI,CAAC,EAAnC,EAAuC;AACrC,QAAID,KAAK,CAACC,CAAD,CAAL,KAAaF,KAAK,CAACE,CAAD,CAAtB,EAA2B;AACzB,aAAO,KAAP;AACD;AACF;;AAED,SAAO,IAAP;AACD","sourcesContent":["export function arrayEqual(a, b) {\n if (a.length !== b.length) {\n return false;\n }\n\n return arrayStartsWith(a, b);\n}\n\nexport function arrayStartsWith(array, start) {\n if (start.length > array.length) {\n return false;\n }\n\n for (let i = 0; i < start.length; i++) {\n if (start[i] !== array[i]) {\n return false;\n }\n }\n\n return true;\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/convert/dmp.js":{"lineLengths":[25,13,0,46,13,3,50,0,23,65,39,15,13,16,0,44,24,0,23,20,32,21,12,20,5,0,40,3,0,13,1,1644,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/convert/dmp.js"],"names":["convertChangesToDMP","changes","ret","change","operation","i","length","added","removed","push","value"],"mappings":";;;;;;;;;AAAA;AACO,SAASA,mBAAT,CAA6BC,OAA7B,EAAsC;AAC3C,MAAIC,GAAG,GAAG,EAAV;AAAA,MACIC,MADJ;AAAA,MAEIC,SAFJ;;AAGA,OAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGJ,OAAO,CAACK,MAA5B,EAAoCD,CAAC,EAArC,EAAyC;AACvCF,IAAAA,MAAM,GAAGF,OAAO,CAACI,CAAD,CAAhB;;AACA,QAAIF,MAAM,CAACI,KAAX,EAAkB;AAChBH,MAAAA,SAAS,GAAG,CAAZ;AACD,KAFD,MAEO,IAAID,MAAM,CAACK,OAAX,EAAoB;AACzBJ,MAAAA,SAAS,GAAG,CAAC,CAAb;AACD,KAFM,MAEA;AACLA,MAAAA,SAAS,GAAG,CAAZ;AACD;;AAEDF,IAAAA,GAAG,CAACO,IAAJ,CAAS,CAACL,SAAD,EAAYD,MAAM,CAACO,KAAnB,CAAT;AACD;;AACD,SAAOR,GAAP;AACD","sourcesContent":["// See: http://code.google.com/p/google-diff-match-patch/wiki/API\nexport function convertChangesToDMP(changes) {\n let ret = [],\n change,\n operation;\n for (let i = 0; i < changes.length; i++) {\n change = changes[i];\n if (change.added) {\n operation = 1;\n } else if (change.removed) {\n operation = -1;\n } else {\n operation = 0;\n }\n\n ret.push([operation, change.value]);\n }\n return ret;\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/convert/xml.js":{"lineLengths":[25,13,0,46,13,3,50,0,23,39,15,0,44,28,0,23,24,32,24,5,0,39,0,23,25,32,25,5,3,0,22,1,0,24,12,31,30,30,32,11,1,2564,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/convert/xml.js"],"names":["convertChangesToXML","changes","ret","i","length","change","added","push","removed","escapeHTML","value","join","s","n","replace"],"mappings":";;;;;;;;;AAAO,SAASA,mBAAT,CAA6BC,OAA7B,EAAsC;AAC3C,MAAIC,GAAG,GAAG,EAAV;;AACA,OAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGF,OAAO,CAACG,MAA5B,EAAoCD,CAAC,EAArC,EAAyC;AACvC,QAAIE,MAAM,GAAGJ,OAAO,CAACE,CAAD,CAApB;;AACA,QAAIE,MAAM,CAACC,KAAX,EAAkB;AAChBJ,MAAAA,GAAG,CAACK,IAAJ,CAAS,OAAT;AACD,KAFD,MAEO,IAAIF,MAAM,CAACG,OAAX,EAAoB;AACzBN,MAAAA,GAAG,CAACK,IAAJ,CAAS,OAAT;AACD;;AAEDL,IAAAA,GAAG,CAACK,IAAJ,CAASE,UAAU,CAACJ,MAAM,CAACK,KAAR,CAAnB;;AAEA,QAAIL,MAAM,CAACC,KAAX,EAAkB;AAChBJ,MAAAA,GAAG,CAACK,IAAJ,CAAS,QAAT;AACD,KAFD,MAEO,IAAIF,MAAM,CAACG,OAAX,EAAoB;AACzBN,MAAAA,GAAG,CAACK,IAAJ,CAAS,QAAT;AACD;AACF;;AACD,SAAOL,GAAG,CAACS,IAAJ,CAAS,EAAT,CAAP;AACD;;AAED,SAASF,UAAT,CAAoBG,CAApB,EAAuB;AACrB,MAAIC,CAAC,GAAGD,CAAR;AACAC,EAAAA,CAAC,GAAGA,CAAC,CAACC,OAAF,CAAU,IAAV,EAAgB,OAAhB,CAAJ;AACAD,EAAAA,CAAC,GAAGA,CAAC,CAACC,OAAF,CAAU,IAAV,EAAgB,MAAhB,CAAJ;AACAD,EAAAA,CAAC,GAAGA,CAAC,CAACC,OAAF,CAAU,IAAV,EAAgB,MAAhB,CAAJ;AACAD,EAAAA,CAAC,GAAGA,CAAC,CAACC,OAAF,CAAU,IAAV,EAAgB,QAAhB,CAAJ;AAEA,SAAOD,CAAP;AACD","sourcesContent":["export function convertChangesToXML(changes) {\n let ret = [];\n for (let i = 0; i < changes.length; i++) {\n let change = changes[i];\n if (change.added) {\n ret.push('');\n } else if (change.removed) {\n ret.push('');\n }\n\n ret.push(escapeHTML(change.value));\n\n if (change.added) {\n ret.push('');\n } else if (change.removed) {\n ret.push('');\n }\n }\n return ret.join('');\n}\n\nfunction escapeHTML(s) {\n let n = s;\n n = n.replace(/&/g, '&');\n n = n.replace(//g, '>');\n n = n.replace(/\"/g, '"');\n\n return n;\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/process.js":{"lineLengths":[13,72,62,2,62,31,59,47,45,70,21,9,9,8,12,18,16,17,15,16,13,26,33,33,31,39,51,47,49,45,47,41,32,5,24,54,90,9,5,97,19,54,34,57,68,62,25,9,56,68,30,38,33,15,53,53,27,44,13,29,45,72,35,47,21,19,13,30,78,45,42,52,21,19,13,52,49,31,31,29,81,17,32,68,81,32,58,21,47,17,22,29,50,49,23,17,15,35,51,55,54,32,33,19,82,51,13,78,36,53,56,54,32,33,19,13,42,82,13,11,23,89,9,23,5,1,38,35],"data":{"version":3,"file":"process.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/process.ts"],"names":[],"mappings":";;;;;;AAAA,2DAA0C;AAE1C,+CAA4C;AAC5C,6CAIwB;AACxB,sEAA4C;AAyB5C,MAAa,aAAa;IACxB,IAAI,CAAU;IACd,IAAI,CAAS;IACb,GAAG,CAAS;IACZ,OAAO,CAAS;IAChB,aAAa,CAAU;IACvB,WAAW,CAAW;IACtB,YAAY,CAAW;IACvB,UAAU,CAA0C;IACpD,WAAW,CAAwC;IACnD,QAAQ,CAAyB;IAEjC,YAAY,OAAuB;QACjC,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;QACxB,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;QACxB,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAA;QACtB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAA;QAC9B,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAA;QAC1C,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAA;QACtC,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAA;QACxC,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAA;QACpC,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAA;QACtC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAA;QAEhC,IAAI,CAAC,gBAAgB,EAAE,CAAA;IACzB,CAAC;IAED,gBAAgB;QACd,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,aAAa,EAAE;YAC3C,MAAM,IAAI,KAAK,CACb,4DAA4D,CAC7D,CAAA;SACF;IACH,CAAC;IAED,6FAA6F;IAC7F,GAAG,CAAC,QAA0C;QAC5C,IAAI,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,QAAQ,CAAA;QAC7C,IAAI,IAAI,GAAa,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAA;QAEnC,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAA;QAEhD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,oBAAS,EAAE;YAC9C,IAAI,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAA;YACjD,GAAG,GAAG,MAAM,CAAA;SACb;QAED,IAAI,OAAO,GAAuB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAChE,IAAI,KAAK,GAAG,IAAA,0BAAK,EAAC,GAAG,EAAE,IAAI,EAAE;gBAC3B,GAAG,EAAE,IAAI,CAAC,GAAG;gBACb,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,WAAW,EAAE,IAAI;aAClB,CAAC,CAAA;YAEF,IAAI,MAAM,GAAG,IAAI,qBAAU,EAAE,CAAA;YAC7B,IAAI,MAAM,GAAG,IAAI,qBAAU,EAAE,CAAA;YAE7B,IAAI,QAAQ,EAAE;gBACZ,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;aAC5B;YAED,IAAI,UAAU,EAAE;gBACd,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE;oBACjC,IAAI,QAAQ,GAAG,IAAA,yBAAe,EAAC,IAAI,CAAC,CAAA;oBACpC,IAAI,QAAQ,EAAE;wBACZ,UAAU,EAAE,CAAC,QAAQ,CAAC,CAAA;qBACvB;gBACH,CAAC,CAAC,CAAA;aACH;YAED,IAAI,WAAW,EAAE;gBACf,IAAI,SAAS,GAAG,IAAI,4BAAkB,CAAC,WAAW,CAAC,CAAA;gBACnD,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE;oBACjC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE;wBACnB,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;qBAC5B;gBACH,CAAC,CAAC,CAAA;aACH;YAED,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAA;YAEvC,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE;gBACjC,MAAM,CAAC,KAAK,EAAE,CAAA;gBACd,MAAM,CAAC,KAAK,EAAE,CAAA;gBAEd,IAAI,MAAM,EAAE;oBACV,MAAM,CAAC,IAAI,KAAK,CAAC,iCAAiC,MAAM,EAAE,CAAC,CAAC,CAAA;iBAC7D;qBAAM,IAAI,IAAI,EAAE;oBACf,IAAI,OAAO,GAAG,2BAA2B,IAAI,EAAE,CAAA;oBAC/C,IAAI,KAAK,GAAG,IAAA,6BAAmB,EAAC,MAAM,CAAC,KAAK,CAAC,CAAA;oBAE7C,IAAI,KAAK,EAAE;wBACT,OAAO,GAAG,GAAG,OAAO,MAAM,KAAK,EAAE,CAAA;qBAClC;oBAED,MAAM,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAA;iBAC3B;qBAAM;oBACL,OAAO,CAAC;wBACN,MAAM,EAAE,MAAM,CAAC,QAAQ,EAAE;wBACzB,MAAM,EAAE,MAAM,CAAC,QAAQ,EAAE;qBAC1B,CAAC,CAAA;iBACH;YACH,CAAC,CAAC,CAAA;YAEF,IAAI,IAAI,CAAC,WAAW,EAAE;gBACpB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;gBAClC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE;oBACnC,kCAAkC;oBAClC,MAAM,CAAC,GAAG,CAAC,CAAA;oBAEX,KAAK,CAAC,IAAI,EAAE,CAAA;gBACd,CAAC,CAAC,CAAA;gBAEF,kEAAkE;gBAClE,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,CAAC,CAAA;aAClC;YAED,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAA;YAEjE,IAAI,IAAI,CAAC,YAAY,EAAE;gBACrB,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA;gBAEpC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE;oBACpC,kCAAkC;oBAClC,MAAM,CAAC,GAAG,CAAC,CAAA;oBAEX,KAAK,CAAC,IAAI,EAAE,CAAA;gBACd,CAAC,CAAC,CAAA;aACH;iBAAM,IAAI,IAAI,CAAC,aAAa,EAAE;gBAC7B,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAA;aAClE;QACH,CAAC,CAAC,CAAA;QAEF,IAAI,QAAQ,EAAE;YACZ,OAAO,CAAC,IAAI,CACV,CAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC,EAChC,CAAC,MAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAC7B,CAAA;SACF;QAED,OAAO,OAAO,CAAA;IAChB,CAAC;CACF;AA9ID,sCA8IC"},"url":null,"sourceURL":null,"sourceMap":{}},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/platform.js":{"lineLengths":[13,62,27,35,15,25,36],"data":{"version":3,"file":"platform.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/platform.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAY,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;KAC9C,QAAQ,EAAE;KACV,KAAK,CAAC,YAAY,CAAC,CAAA"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/parsing.js":{"lineLengths":[13,62,192,37,3,46,2,68,25,3,43,85,22,40,69,22,9,14,35,28,9,10,20,1,50,3,50,2,46,32,3,38,67,22,29,46,34,34,19,9,47,42,9,37,68,9,53,60,9,34,34,9,35,60,9,5,20,1,42,26,11,10,12,9,13,27,25,24,29,26,33,5,69,23,64,26,32,25,39,38,14,19,9,27,68,32,68,23,13,67,29,77,69,23,13,67,29,77,69,23,13,9,52,33,9,49,29,36,34,9,5,1,48,31,21,23,21,23,21,26,21,22,24,1,31,20,29,56,20,92,25,28,43,42,42,42,37,42,14,33,82,31,67,57,69,32,17,13,33,82,31,67,57,69,32,17,13,33,9,5,18,1,38,32,21,29,57,20,58,29,28,36,39,14,9,5,19,1,40,38,26,18,5,31,25,5,10,72,5,1,32,21,29,57,20,89,29,28,51,52,14,9,5,19,1,40,33,21,23,21,23,22,1,33,22,29,58,20,85,30,28,45,51,51,42,44,47,14,9,5,20,1,42,35],"data":{"version":3,"file":"parsing.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/parsing.ts"],"names":[],"mappings":";;;AAcA,qCAaiB;AAEjB;;;;;GAKG;AACH,SAAgB,mBAAmB,CAAC,WAAqB;IACvD,iFAAiF;IACjF,OAAO,WAAW;SACf,MAAM,CAAC,CAAC,QAAkB,EAAE,OAAe,EAAY,EAAE;QACxD,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE;YAC1D,OAAO,EAAE,CAAA;SACV;aAAM;YACL,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;YACtB,OAAO,QAAQ,CAAA;SAChB;IACH,CAAC,EAAE,EAAE,CAAC;SACL,IAAI,CAAC,IAAI,CAAC,CAAA;AACf,CAAC;AAZD,kDAYC;AAED;;;;;GAKG;AACH,SAAgB,eAAe,CAC7B,UAAkB;IAElB,IAAI,KAAK,GAAG,UAAU,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IAC9D,IAAI,QAAQ,GAAwB,EAAE,CAAA;IAEtC,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;QAErC,IAAI,KAAK,KAAK,SAAS,EAAE;YACvB,sBAAsB;YACtB,OAAM;SACP;QAED,IAAI,GAAG,KAAK,OAAO,IAAI,GAAG,KAAK,KAAK,EAAE;YACpC,QAAQ,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;SAC9B;aAAM,IAAI,GAAG,KAAK,SAAS,EAAE;YAC5B,QAAQ,CAAC,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,CAAA;SACxD;aAAM,IAAI,GAAG,KAAK,MAAM,IAAI,GAAG,KAAK,OAAO,EAAE;YAC5C,QAAQ,CAAC,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAA;SAChD;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,QAAQ,CAAC,IAAI,GAAG,KAAK,CAAA;SACtB;aAAM,IAAI,GAAG,KAAK,OAAO,EAAE;YAC1B,QAAQ,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAA;SAChD;KACF;IAED,OAAO,QAAQ,CAAA;AACjB,CAAC;AA5BD,0CA4BC;AAED,MAAa,kBAAkB;IAC7B,MAAM,CAA+B;IACrC,KAAK,CAAQ;IACb,OAAO,CAAS;IAChB,IAAI,CAAS;IACb,QAAQ,CAAsC;IAE9C,YAAY,QAA8C;QACxD,IAAI,CAAC,MAAM,GAAG,EAAE,CAAA;QAChB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAA;QACf,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QACpB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAA;QACjB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;IAC1B,CAAC;IAED,iEAAiE;IACjE,WAAW,CAAC,IAAY;QACtB,IAAI,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,yBAAgB,CAAC,CAAA;QAC9C,IAAI,WAAW,EAAE;YACf,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;YACnB,IAAI,CAAC,KAAK,EAAE,CAAA;YACZ,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG;gBACxB,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC;aACvB,CAAA;YAED,OAAM;SACP;QAED,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,uBAAc,CAAC,CAAA;YAC9C,IAAI,aAAa,EAAE;gBACjB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,QAAQ,GAAG,aAAa,CAAC,CAAC,CAAC,CAAA;gBACnD,OAAM;aACP;YAED,IAAI,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,yBAAgB,CAAC,CAAA;YAC7C,IAAI,UAAU,EAAE;gBACd,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;gBAC5D,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,YAAY,GAAG,UAAU,CAAC,CAAC,CAAC,CAAA;gBACpD,OAAM;aACP;YAED,IAAI,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,yBAAgB,CAAC,CAAA;YAC7C,IAAI,UAAU,EAAE;gBACd,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;gBAC5D,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,YAAY,GAAG,UAAU,CAAC,CAAC,CAAC,CAAA;gBACpD,OAAM;aACP;SACF;QAED,IAAI,0BAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YAChC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;SACrB;QAED,IAAI,uBAAc,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YAC7B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;YAChB,IAAI,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAA;YAEvB,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;SACtB;IACH,CAAC;CACF;AA7DD,gDA6DC;AAED,SAAS,cAAc,CAAC,IAAY;IAClC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,OAAO,CAAA;IAChC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,OAAO,CAAA;IAChC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,UAAU,CAAA;IACnC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,MAAM,CAAA;IAC/B,OAAO,YAAY,CAAA;AACrB,CAAC;AAED,SAAgB,aAAa,CAAC,KAAe;IAC3C,IAAI,MAAM,GAAiB,EAAE,CAAA;IAE7B,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,uBAAc,CAAC,CAAA;QACtC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,CAAC,GACrE,KAAK,CAAA;YAEP,IAAI,KAAK,GAAgB;gBACvB,WAAW;gBACX,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC;gBAC1B,SAAS,EAAE,MAAM,KAAK,GAAG;gBACzB,SAAS,EAAE,MAAM,KAAK,GAAG;gBACzB,UAAU,EAAE,KAAK,KAAK,GAAG;gBACzB,KAAK,EAAE,KAAK,KAAK,GAAG;gBACpB,QAAQ,EAAE,QAAQ,KAAK,GAAG;aAC3B,CAAA;YAED,IAAI,MAAM,KAAK,GAAG,EAAE;gBAClB,IAAI,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,+BAAsB,CAAC,CAAA;gBACxD,IAAI,QAAQ,EAAE;oBACZ,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;oBAC9C,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW;yBAClC,OAAO,CAAC,+BAAsB,EAAE,EAAE,CAAC;yBACnC,IAAI,EAAE,CAAA;iBACV;aACF;YAED,IAAI,MAAM,KAAK,GAAG,EAAE;gBAClB,IAAI,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,+BAAsB,CAAC,CAAA;gBACxD,IAAI,QAAQ,EAAE;oBACZ,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;oBAC9C,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW;yBAClC,OAAO,CAAC,+BAAsB,EAAE,EAAE,CAAC;yBACnC,IAAI,EAAE,CAAA;iBACV;aACF;YAED,MAAM,CAAC,IAAI,CAAC,GAAG,KAAK,CAAA;SACrB;KACF;IAED,OAAO,MAAM,CAAA;AACf,CAAC;AA5CD,sCA4CC;AAED,SAAgB,cAAc,CAAC,KAAe;IAC5C,IAAI,OAAO,GAAkB,EAAE,CAAA;IAE/B,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,wBAAe,CAAC,CAAA;QACvC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,CAAC,GAAG,KAAK,CAAA;YAC7C,OAAO,CAAC,IAAI,CAAC,GAAG;gBACd,WAAW;gBACX,MAAM,EAAE,GAAG,KAAK,GAAG;gBACnB,QAAQ,EAAE,KAAK,KAAK,GAAG;aACxB,CAAA;SACF;KACF;IAED,OAAO,OAAO,CAAA;AAChB,CAAC;AAhBD,wCAgBC;AAED,SAAS,kBAAkB,CACzB,OAAe;IAEf,IAAI,OAAO,KAAK,GAAG,EAAE;QACnB,OAAO,EAAE,CAAA;KACV;SAAM,IAAI,OAAO,KAAK,GAAG,EAAE;QAC1B,OAAO,SAAS,CAAA;KACjB;SAAM;QACL,OAAO,CAAC,GAAG,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAA;KAChE;AACH,CAAC;AAED,SAAgB,cAAc,CAAC,KAAe;IAC5C,IAAI,OAAO,GAAkB,EAAE,CAAA;IAE/B,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,wBAAe,CAAC,CAAA;QACvC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,CAAC,GAClE,KAAK,CAAA;YAEP,OAAO,CAAC,IAAI,CAAC,GAAG;gBACd,WAAW;gBACX,MAAM,EAAE,kBAAkB,CAAC,MAAM,CAAC;gBAClC,OAAO,EAAE,kBAAkB,CAAC,OAAO,CAAC;aACrC,CAAA;SACF;KACF;IAED,OAAO,OAAO,CAAA;AAChB,CAAC;AAlBD,wCAkBC;AAED,SAAS,gBAAgB,CAAC,IAAY;IACpC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,OAAO,CAAA;IAChC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,OAAO,CAAA;IAChC,OAAO,UAAU,CAAA;AACnB,CAAC;AAED,SAAgB,eAAe,CAAC,KAAe;IAC7C,IAAI,QAAQ,GAAmB,EAAE,CAAA;IAEjC,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,yBAAgB,CAAC,CAAA;QACxC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,CAAC,GAAG,KAAK,CAAA;YAExE,QAAQ,CAAC,IAAI,CAAC,GAAG;gBACf,WAAW;gBACX,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC;gBAC5B,mBAAmB,EAAE,KAAK,KAAK,GAAG;gBAClC,mBAAmB,EAAE,KAAK,KAAK,GAAG;gBAClC,YAAY,EAAE,GAAG,KAAK,GAAG;gBACzB,aAAa,EAAE,IAAI,KAAK,GAAG;gBAC3B,eAAe,EAAE,MAAM,KAAK,GAAG;aAChC,CAAA;SACF;KACF;IAED,OAAO,QAAQ,CAAA;AACjB,CAAC;AArBD,0CAqBC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/regexp.js":{"lineLengths":[13,62,380,42,33,53,46,42,42,42,72,60,91,57,57,89,90,34],"data":{"version":3,"file":"regexp.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/regexp.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG,gBAAgB,CAAA;AAEjC,QAAA,QAAQ,GAAG,aAAa,CAAA;AAExB,QAAA,gBAAgB,GAAG,yBAAyB,CAAA;AAC5C,QAAA,cAAc,GAAG,oBAAoB,CAAA;AACrC,QAAA,gBAAgB,GAAG,cAAc,CAAA;AACjC,QAAA,gBAAgB,GAAG,cAAc,CAAA;AACjC,QAAA,iBAAiB,GAAG,aAAa,CAAA;AACjC,QAAA,cAAc,GAAG,8CAA8C,CAAA;AAE/D,QAAA,eAAe,GAAG,iCAAiC,CAAA;AACnD,QAAA,cAAc,GACzB,iEAAiE,CAAA;AACtD,QAAA,sBAAsB,GAAG,uBAAuB,CAAA;AAChD,QAAA,sBAAsB,GAAG,uBAAuB,CAAA;AAChD,QAAA,eAAe,GAC1B,8DAA8D,CAAA;AACnD,QAAA,gBAAgB,GAC3B,8DAA8D,CAAA"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/line-buffer.js":{"lineLengths":[13,72,62,2,62,62,37,48,10,12,17,19,16,24,29,31,5,18,27,52,9,26,60,43,47,72,13,18,40,82,50,48,17,54,53,50,48,17,13,9,5,13,27,52,9,32,49,47,9,28,5,16,37,5,1,29,39],"data":{"version":3,"file":"line-buffer.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/line-buffer.ts"],"names":[],"mappings":";;;;;AAAA,8DAAsC;AAEtC,qCAAmC;AAEnC,MAAqB,UAAW,SAAQ,qBAAY;IAClD,KAAK,CAAU;IACf,OAAO,CAAS;IAChB,YAAY,CAAQ;IAEpB;QACE,KAAK,EAAE,CAAA;QAEP,IAAI,CAAC,KAAK,GAAG,EAAE,CAAA;QACf,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QACpB,IAAI,CAAC,YAAY,GAAG,EAAE,CAAA;IACxB,CAAC;IAED,MAAM,CAAC,IAAY;QACjB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAA;SACxC;QAED,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,iBAAQ,CAAC,CAAA;YAEtC,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;gBAC5B,IAAI,CAAC,UAAU,CAAC,GAAG,WAAW,CAAA;gBAC9B,IAAI,CAAC,YAAY,GAAG,GAAG,IAAI,CAAC,YAAY,GAAG,UAAU,EAAE,CAAA;aACxD;iBAAM;gBACL,IAAI,IAAI,CAAC,YAAY,EAAE;oBACrB,IAAI,UAAU,GAAG,GAAG,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC,KAAK,EAAE,EAAE,CAAA;oBAC7D,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;oBAC7B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;iBAC5B;gBAED,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC,GAAG,EAAY,CAAA;gBAC/C,KAAK,IAAI,UAAU,IAAI,WAAW,EAAE;oBAClC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;oBAC7B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;iBAC5B;aACF;SACF;IACH,CAAC;IAED,KAAK;QACH,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAA;SACxC;QAED,IAAI,IAAI,CAAC,YAAY,EAAE;YACrB,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,CAAA;YACpC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA;SACnC;QAED,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;IACrB,CAAC;IAED,QAAQ;QACN,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC9B,CAAC;CACF;AAxDD,6BAwDC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/helpers/spawn-stub.js":{"lineLengths":[13,72,62,2,62,27,50,76,62,49,41,41,28,16,24,49,9,5,1,34,35,52,45,42,21,1,30,38],"data":{"version":3,"file":"spawn-stub.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/tests/helpers/spawn-stub.ts"],"names":[],"mappings":";;;;;;AAEA,kDAAyB;AAEzB,4EAAqE;AACrE,8DAAsC;AAItC,MAAM,WAAY,SAAQ,qBAAY;IACpC,MAAM,GAAG,IAAI,qBAAY,EAAE,CAAA;IAC3B,MAAM,GAAG,IAAI,qBAAY,EAAE,CAAA;IAE3B,YAAY,SAAgC;QAC1C,KAAK,EAAE,CAAA;QAEP,IAAI,SAAS,EAAE;YACb,UAAU,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAA;SACrC;IACH,CAAC;CACF;AAED,SAAgB,SAAS,CACvB,CAA4B,EAC5B,SAAgC;IAEhC,IAAI,SAAS,GAAG,eAAK;SAClB,IAAI,CAAC,4BAAkB,EAAE,OAAO,CAAC;SACjC,OAAO,CAAC,IAAI,WAAW,CAAC,SAAS,CAAiB,CAAC,CAAA;IAEtD,CAAC,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC,CAAA;IAErC,OAAO,SAAS,CAAA;AAClB,CAAC;AAXD,8BAWC"},"url":null,"sourceURL":null,"sourceMap":{}}}} \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761416-4.json b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761416-4.json new file mode 100644 index 0000000..7f27cdd --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761416-4.json @@ -0,0 +1 @@ +{"result":[{"scriptId":"78","url":"node:internal/per_context/primordials","functions":[{"functionName":"SafeIterator","ranges":[{"startOffset":9499,"endOffset":9570,"count":143}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":9575,"endOffset":9624,"count":721}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9629,"endOffset":9674,"count":86}],"isBlockCoverage":true},{"functionName":"desc.value","ranges":[{"startOffset":11239,"endOffset":11306,"count":57}],"isBlockCoverage":true},{"functionName":"SafeMap","ranges":[{"startOffset":11964,"endOffset":11992,"count":698}],"isBlockCoverage":false},{"functionName":"SafeWeakMap","ranges":[{"startOffset":12136,"endOffset":12164,"count":10}],"isBlockCoverage":false},{"functionName":"SafeSet","ranges":[{"startOffset":12293,"endOffset":12321,"count":701}],"isBlockCoverage":false},{"functionName":"SafeWeakSet","ranges":[{"startOffset":12465,"endOffset":12493,"count":1}],"isBlockCoverage":true},{"functionName":"SafeFinalizationRegistry","ranges":[{"startOffset":12745,"endOffset":12801,"count":3}],"isBlockCoverage":true},{"functionName":"SafeWeakRef","ranges":[{"startOffset":12954,"endOffset":12992,"count":23}],"isBlockCoverage":true},{"functionName":"SafePromise","ranges":[{"startOffset":13140,"endOffset":13182,"count":348}],"isBlockCoverage":true},{"functionName":"primordials.SafePromisePrototypeFinally","ranges":[{"startOffset":13686,"endOffset":13960,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13831,"endOffset":13955,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13861,"endOffset":13910,"count":58}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnArrayLike","ranges":[{"startOffset":15280,"endOffset":15836,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15315,"endOffset":15835,"count":97},{"startOffset":15485,"endOffset":15504,"count":62},{"startOffset":15577,"endOffset":15831,"count":158},{"startOffset":15615,"endOffset":15638,"count":0},{"startOffset":15831,"endOffset":15834,"count":158}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15706,"endOffset":15815,"count":158},{"startOffset":15788,"endOffset":15807,"count":35}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnVoid","ranges":[{"startOffset":16178,"endOffset":16580,"count":203}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16213,"endOffset":16579,"count":203},{"startOffset":16310,"endOffset":16320,"count":133},{"startOffset":16367,"endOffset":16575,"count":316},{"startOffset":16405,"endOffset":16428,"count":158},{"startOffset":16429,"endOffset":16442,"count":158},{"startOffset":16575,"endOffset":16578,"count":316}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16496,"endOffset":16559,"count":316},{"startOffset":16541,"endOffset":16551,"count":70}],"isBlockCoverage":true}]},{"scriptId":"80","url":"node:internal/per_context/messageport","functions":[{"functionName":"exports.emitMessage","ranges":[{"startOffset":407,"endOffset":993,"count":4},{"startOffset":683,"endOffset":991,"count":0}],"isBlockCoverage":true}]},{"scriptId":"81","url":"node:internal/bootstrap/realm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14749,"count":1}],"isBlockCoverage":false},{"functionName":"binding","ranges":[{"startOffset":4702,"endOffset":5475,"count":0}],"isBlockCoverage":false},{"functionName":"_linkedBinding","ranges":[{"startOffset":5505,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"internalBinding","ranges":[{"startOffset":5955,"endOffset":6217,"count":219},{"startOffset":6057,"endOffset":6197,"count":51}],"isBlockCoverage":true},{"functionName":"getOwn","ranges":[{"startOffset":6377,"endOffset":6531,"count":3746},{"startOffset":6513,"endOffset":6528,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6580,"endOffset":6676,"count":331},{"startOffset":6636,"endOffset":6676,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6803,"endOffset":6870,"count":331},{"startOffset":6854,"endOffset":6870,"count":261}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7100,"endOffset":7136,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7508,"endOffset":7609,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7568,"endOffset":7603,"count":331}],"isBlockCoverage":true},{"functionName":"BuiltinModule","ranges":[{"startOffset":7614,"endOffset":8291,"count":331}],"isBlockCoverage":true},{"functionName":"allowRequireByUsers","ranges":[{"startOffset":8302,"endOffset":8663,"count":0}],"isBlockCoverage":false},{"functionName":"exposeInternals","ranges":[{"startOffset":8813,"endOffset":8964,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":8975,"endOffset":9029,"count":0}],"isBlockCoverage":false},{"functionName":"canBeRequiredByUsers","ranges":[{"startOffset":9040,"endOffset":9115,"count":216}],"isBlockCoverage":true},{"functionName":"canBeRequiredWithoutScheme","ranges":[{"startOffset":9126,"endOffset":9220,"count":2355}],"isBlockCoverage":true},{"functionName":"normalizeRequirableId","ranges":[{"startOffset":9231,"endOffset":9576,"count":1669},{"startOffset":9307,"endOffset":9469,"count":0},{"startOffset":9525,"endOffset":9549,"count":73},{"startOffset":9549,"endOffset":9575,"count":1596}],"isBlockCoverage":true},{"functionName":"isBuiltin","ranges":[{"startOffset":9587,"endOffset":9828,"count":0}],"isBlockCoverage":false},{"functionName":"getCanBeRequiredByUsersWithoutSchemeList","ranges":[{"startOffset":9839,"endOffset":9948,"count":1}],"isBlockCoverage":true},{"functionName":"getSchemeOnlyModuleNames","ranges":[{"startOffset":9959,"endOffset":10034,"count":0}],"isBlockCoverage":false},{"functionName":"compileForPublicLoader","ranges":[{"startOffset":10106,"endOffset":10818,"count":101},{"startOffset":10187,"endOffset":10379,"count":0},{"startOffset":10443,"endOffset":10740,"count":17},{"startOffset":10702,"endOffset":10706,"count":0}],"isBlockCoverage":true},{"functionName":"getESMFacade","ranges":[{"startOffset":10822,"endOffset":11584,"count":115},{"startOffset":10860,"endOffset":10879,"count":98},{"startOffset":10879,"endOffset":11583,"count":17}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11321,"endOffset":11424,"count":17}],"isBlockCoverage":true},{"functionName":"syncExports","ranges":[{"startOffset":11880,"endOffset":12224,"count":118},{"startOffset":11999,"endOffset":12214,"count":3746},{"startOffset":12076,"endOffset":12085,"count":0}],"isBlockCoverage":true},{"functionName":"compileForInternalLoader","ranges":[{"startOffset":12228,"endOffset":13050,"count":2933},{"startOffset":12277,"endOffset":12292,"count":195},{"startOffset":12294,"endOffset":12328,"count":2742},{"startOffset":12328,"endOffset":12467,"count":191},{"startOffset":12467,"endOffset":12502,"count":2},{"startOffset":12503,"endOffset":12519,"count":189},{"startOffset":12775,"endOffset":13049,"count":191}],"isBlockCoverage":true},{"functionName":"requireBuiltin","ranges":[{"startOffset":13245,"endOffset":13610,"count":2837},{"startOffset":13296,"endOffset":13327,"count":5},{"startOffset":13327,"endOffset":13512,"count":2832},{"startOffset":13512,"endOffset":13567,"count":0},{"startOffset":13567,"endOffset":13609,"count":2832}],"isBlockCoverage":true},{"functionName":"requireWithFallbackInDeps","ranges":[{"startOffset":13726,"endOffset":14002,"count":64},{"startOffset":13823,"endOffset":13876,"count":12},{"startOffset":13876,"endOffset":13966,"count":52},{"startOffset":13919,"endOffset":13966,"count":0}],"isBlockCoverage":true},{"functionName":"setupPrepareStackTrace","ranges":[{"startOffset":14004,"endOffset":14600,"count":1}],"isBlockCoverage":true}]},{"scriptId":"82","url":"node:internal/errors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":64999,"count":1}],"isBlockCoverage":false},{"functionName":"prepareStackTrace","ranges":[{"startOffset":2135,"endOffset":3623,"count":0}],"isBlockCoverage":false},{"functionName":"maybeOverridePrepareStackTrace","ranges":[{"startOffset":3665,"endOffset":4372,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4418,"endOffset":4964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5008,"endOffset":5207,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtil","ranges":[{"startOffset":5276,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtilInspect","ranges":[{"startOffset":5409,"endOffset":5537,"count":0}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":5555,"endOffset":5655,"count":0}],"isBlockCoverage":false},{"functionName":"lazyBuffer","ranges":[{"startOffset":5669,"endOffset":5750,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorStackTraceLimitWritable","ranges":[{"startOffset":5752,"endOffset":6259,"count":0}],"isBlockCoverage":false},{"functionName":"inspectWithNoCustomRetry","ranges":[{"startOffset":6261,"endOffset":6507,"count":0}],"isBlockCoverage":false},{"functionName":"SystemError","ranges":[{"startOffset":7009,"endOffset":9985,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":9989,"endOffset":10064,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10068,"endOffset":10258,"count":0}],"isBlockCoverage":false},{"functionName":"makeSystemErrorWithCode","ranges":[{"startOffset":10262,"endOffset":10407,"count":12}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10353,"endOffset":10400,"count":0}],"isBlockCoverage":false},{"functionName":"makeNodeErrorWithCode","ranges":[{"startOffset":10409,"endOffset":11467,"count":267}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10462,"endOffset":11464,"count":0}],"isBlockCoverage":false},{"functionName":"hideStackFrames","ranges":[{"startOffset":11629,"endOffset":11894,"count":59}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":12006,"endOffset":12514,"count":273},{"startOffset":12248,"endOffset":12293,"count":12},{"startOffset":12293,"endOffset":12347,"count":261},{"startOffset":12382,"endOffset":12492,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12409,"endOffset":12486,"count":6}],"isBlockCoverage":true},{"functionName":"getMessage","ranges":[{"startOffset":12516,"endOffset":13389,"count":0}],"isBlockCoverage":false},{"functionName":"lazyUv","ranges":[{"startOffset":13407,"endOffset":13487,"count":0}],"isBlockCoverage":false},{"functionName":"uvErrmapGet","ranges":[{"startOffset":13544,"endOffset":13696,"count":0}],"isBlockCoverage":false},{"functionName":"captureLargerStackTrace","ranges":[{"startOffset":13749,"endOffset":14151,"count":0}],"isBlockCoverage":false},{"functionName":"uvException","ranges":[{"startOffset":14478,"endOffset":15719,"count":0}],"isBlockCoverage":false},{"functionName":"uvExceptionWithHostPort","ranges":[{"startOffset":16082,"endOffset":17071,"count":0}],"isBlockCoverage":false},{"functionName":"errnoException","ranges":[{"startOffset":17291,"endOffset":18155,"count":0}],"isBlockCoverage":false},{"functionName":"exceptionWithHostPort","ranges":[{"startOffset":18559,"endOffset":19847,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20050,"endOffset":21591,"count":0}],"isBlockCoverage":false},{"functionName":"connResetException","ranges":[{"startOffset":21595,"endOffset":21750,"count":0}],"isBlockCoverage":false},{"functionName":"isStackOverflowError","ranges":[{"startOffset":22037,"endOffset":22415,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericalSeparator","ranges":[{"startOffset":22496,"endOffset":22764,"count":0}],"isBlockCoverage":false},{"functionName":"beforeInspector","ranges":[{"startOffset":23043,"endOffset":23434,"count":0}],"isBlockCoverage":false},{"functionName":"afterInspector","ranges":[{"startOffset":23438,"endOffset":24721,"count":0}],"isBlockCoverage":false},{"functionName":"setArrowMessage","ranges":[{"startOffset":24876,"endOffset":24975,"count":0}],"isBlockCoverage":false},{"functionName":"hideInternalStackFrames","ranges":[{"startOffset":25030,"endOffset":25508,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":25741,"endOffset":26050,"count":0}],"isBlockCoverage":false},{"functionName":"genericNodeError","ranges":[{"startOffset":26305,"endOffset":26497,"count":0}],"isBlockCoverage":false},{"functionName":"determineSpecificType","ranges":[{"startOffset":26618,"endOffset":27237,"count":0}],"isBlockCoverage":false},{"functionName":"formatList","ranges":[{"startOffset":27559,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29857,"endOffset":30021,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33056,"endOffset":33171,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33460,"endOffset":33554,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":36457,"endOffset":36685,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38465,"endOffset":38683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41350,"endOffset":41650,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41692,"endOffset":41836,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41879,"endOffset":44000,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44041,"endOffset":44389,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44697,"endOffset":44860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45517,"endOffset":45696,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45744,"endOffset":45879,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45925,"endOffset":46073,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":46117,"endOffset":46891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47179,"endOffset":47366,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47419,"endOffset":47598,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47642,"endOffset":47819,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48276,"endOffset":48492,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48536,"endOffset":48824,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":49387,"endOffset":49860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":50646,"endOffset":51087,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":51181,"endOffset":51400,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":52546,"endOffset":53244,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53295,"endOffset":53487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53536,"endOffset":53852,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54094,"endOffset":54393,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54577,"endOffset":56023,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":56475,"endOffset":56757,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58280,"endOffset":58354,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58390,"endOffset":58713,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58759,"endOffset":58833,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58865,"endOffset":59269,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59321,"endOffset":59499,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59770,"endOffset":59939,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61637,"endOffset":61768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62015,"endOffset":62172,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62362,"endOffset":62564,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62610,"endOffset":62933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63572,"endOffset":63640,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64043,"endOffset":64156,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64350,"endOffset":64737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"83","url":"node:internal/bootstrap/node","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13817,"count":1}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3830,"endOffset":3880,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3886,"endOffset":3944,"count":3},{"startOffset":3930,"endOffset":3933,"count":1},{"startOffset":3934,"endOffset":3937,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4086,"endOffset":4122,"count":8}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":4128,"endOffset":4547,"count":2},{"startOffset":4187,"endOffset":4469,"count":1},{"startOffset":4252,"endOffset":4266,"count":0},{"startOffset":4267,"endOffset":4315,"count":0},{"startOffset":4317,"endOffset":4352,"count":0},{"startOffset":4469,"endOffset":4518,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4769,"endOffset":5033,"count":409}],"isBlockCoverage":true},{"functionName":"process.openStdin","ranges":[{"startOffset":6409,"endOffset":6479,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7965,"endOffset":8127,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8229,"endOffset":8425,"count":1}],"isBlockCoverage":true},{"functionName":"get cached_builtins","ranges":[{"startOffset":9173,"endOffset":9240,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11734,"endOffset":11784,"count":6}],"isBlockCoverage":true},{"functionName":"setupProcessObject","ranges":[{"startOffset":12107,"endOffset":12912,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":12772,"endOffset":12808,"count":103}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":12814,"endOffset":12856,"count":0}],"isBlockCoverage":false},{"functionName":"setupGlobalProxy","ranges":[{"startOffset":12914,"endOffset":13151,"count":1}],"isBlockCoverage":true},{"functionName":"setupBuffer","ranges":[{"startOffset":13153,"endOffset":13816,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13678,"endOffset":13713,"count":10}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":13719,"endOffset":13760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"84","url":"node:internal/timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":19560,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4385,"endOffset":4410,"count":1}],"isBlockCoverage":true},{"functionName":"initAsyncResource","ranges":[{"startOffset":5548,"endOffset":5826,"count":4},{"startOffset":5774,"endOffset":5824,"count":0}],"isBlockCoverage":true},{"functionName":"Timeout","ranges":[{"startOffset":5932,"endOffset":6978,"count":3},{"startOffset":6054,"endOffset":6077,"count":1},{"startOffset":6080,"endOffset":6432,"count":2},{"startOffset":6113,"endOffset":6358,"count":0},{"startOffset":6789,"endOffset":6796,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7059,"endOffset":7255,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":7259,"endOffset":7368,"count":2},{"startOffset":7299,"endOffset":7312,"count":0}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":7372,"endOffset":7511,"count":3}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":7515,"endOffset":7652,"count":2}],"isBlockCoverage":true},{"functionName":"hasRef","ranges":[{"startOffset":7656,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"TimersList","ranges":[{"startOffset":7720,"endOffset":8026,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8107,"endOffset":8303,"count":0}],"isBlockCoverage":false},{"functionName":"ImmediateList","ranges":[{"startOffset":8386,"endOffset":8449,"count":2}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":8601,"endOffset":8782,"count":1},{"startOffset":8644,"endOffset":8719,"count":0}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":8932,"endOffset":9293,"count":0}],"isBlockCoverage":false},{"functionName":"incRefCount","ranges":[{"startOffset":9403,"endOffset":9569,"count":5},{"startOffset":9458,"endOffset":9567,"count":3}],"isBlockCoverage":true},{"functionName":"decRefCount","ranges":[{"startOffset":9571,"endOffset":9738,"count":5},{"startOffset":9626,"endOffset":9736,"count":3}],"isBlockCoverage":true},{"functionName":"active","ranges":[{"startOffset":9821,"endOffset":9875,"count":0}],"isBlockCoverage":false},{"functionName":"unrefActive","ranges":[{"startOffset":10022,"endOffset":10082,"count":2}],"isBlockCoverage":true},{"functionName":"insertGuarded","ranges":[{"startOffset":10303,"endOffset":10819,"count":2},{"startOffset":10427,"endOffset":10434,"count":0},{"startOffset":10551,"endOffset":10625,"count":0},{"startOffset":10646,"endOffset":10687,"count":0},{"startOffset":10722,"endOffset":10793,"count":0}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":10887,"endOffset":11626,"count":5},{"startOffset":11218,"endOffset":11599,"count":3},{"startOffset":11453,"endOffset":11595,"count":2}],"isBlockCoverage":true},{"functionName":"setUnrefTimeout","ranges":[{"startOffset":11628,"endOffset":11886,"count":0}],"isBlockCoverage":false},{"functionName":"getTimerDuration","ranges":[{"startOffset":11953,"endOffset":12481,"count":0}],"isBlockCoverage":false},{"functionName":"compareTimersLists","ranges":[{"startOffset":12483,"endOffset":12688,"count":2},{"startOffset":12585,"endOffset":12665,"count":0}],"isBlockCoverage":true},{"functionName":"setPosition","ranges":[{"startOffset":12690,"endOffset":12761,"count":7}],"isBlockCoverage":true},{"functionName":"getTimerCallbacks","ranges":[{"startOffset":12763,"endOffset":18141,"count":1}],"isBlockCoverage":true},{"functionName":"processImmediate","ranges":[{"startOffset":13075,"endOffset":15008,"count":1},{"startOffset":13154,"endOffset":13178,"count":0},{"startOffset":13615,"endOffset":13630,"count":0},{"startOffset":13947,"endOffset":14043,"count":0},{"startOffset":14605,"endOffset":14661,"count":0},{"startOffset":14763,"endOffset":14784,"count":0},{"startOffset":14935,"endOffset":14964,"count":0}],"isBlockCoverage":true},{"functionName":"processTimers","ranges":[{"startOffset":15013,"endOffset":15503,"count":1},{"startOffset":15327,"endOffset":15340,"count":0},{"startOffset":15349,"endOffset":15502,"count":0}],"isBlockCoverage":true},{"functionName":"listOnTimeout","ranges":[{"startOffset":15507,"endOffset":18081,"count":0}],"isBlockCoverage":false},{"functionName":"Immediate","ranges":[{"startOffset":18163,"endOffset":18485,"count":1}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":18489,"endOffset":18755,"count":1}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":18759,"endOffset":19027,"count":0}],"isBlockCoverage":false},{"functionName":"hasRef","ranges":[{"startOffset":19031,"endOffset":19072,"count":0}],"isBlockCoverage":false}]},{"scriptId":"85","url":"node:internal/async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20082,"count":1}],"isBlockCoverage":false},{"functionName":"useDomainTrampoline","ranges":[{"startOffset":5108,"endOffset":5162,"count":0}],"isBlockCoverage":false},{"functionName":"callbackTrampoline","ranges":[{"startOffset":5164,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"executionAsyncResource","ranges":[{"startOffset":5745,"endOffset":6243,"count":0}],"isBlockCoverage":false},{"functionName":"inspectExceptionValue","ranges":[{"startOffset":6245,"endOffset":6372,"count":0}],"isBlockCoverage":false},{"functionName":"fatalError","ranges":[{"startOffset":6433,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"lookupPublicResource","ranges":[{"startOffset":6837,"endOffset":7186,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitNative","ranges":[{"startOffset":7377,"endOffset":8510,"count":0}],"isBlockCoverage":false},{"functionName":"emitHook","ranges":[{"startOffset":8611,"endOffset":9600,"count":0}],"isBlockCoverage":false},{"functionName":"emitHookFactory","ranges":[{"startOffset":9602,"endOffset":9866,"count":4}],"isBlockCoverage":true},{"functionName":"getHookArrays","ranges":[{"startOffset":9895,"endOffset":10385,"count":0}],"isBlockCoverage":false},{"functionName":"storeActiveHooks","ranges":[{"startOffset":10388,"endOffset":10688,"count":0}],"isBlockCoverage":false},{"functionName":"copyHooks","ranges":[{"startOffset":10690,"endOffset":10955,"count":0}],"isBlockCoverage":false},{"functionName":"restoreActiveHooks","ranges":[{"startOffset":11070,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"trackPromise","ranges":[{"startOffset":11277,"endOffset":11707,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHook","ranges":[{"startOffset":11709,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHookWithDestroyTracking","ranges":[{"startOffset":11955,"endOffset":12091,"count":0}],"isBlockCoverage":false},{"functionName":"destroyTracking","ranges":[{"startOffset":12093,"endOffset":12256,"count":0}],"isBlockCoverage":false},{"functionName":"promiseBeforeHook","ranges":[{"startOffset":12258,"endOffset":12469,"count":0}],"isBlockCoverage":false},{"functionName":"promiseAfterHook","ranges":[{"startOffset":12471,"endOffset":13038,"count":0}],"isBlockCoverage":false},{"functionName":"promiseResolveHook","ranges":[{"startOffset":13040,"endOffset":13186,"count":0}],"isBlockCoverage":false},{"functionName":"enableHooks","ranges":[{"startOffset":13217,"endOffset":13323,"count":0}],"isBlockCoverage":false},{"functionName":"updatePromiseHookMode","ranges":[{"startOffset":13346,"endOffset":13925,"count":0}],"isBlockCoverage":false},{"functionName":"disableHooks","ranges":[{"startOffset":13927,"endOffset":14230,"count":0}],"isBlockCoverage":false},{"functionName":"disablePromiseHookIfNecessary","ranges":[{"startOffset":14232,"endOffset":14348,"count":0}],"isBlockCoverage":false},{"functionName":"newAsyncId","ranges":[{"startOffset":14549,"endOffset":14619,"count":6}],"isBlockCoverage":true},{"functionName":"getOrSetAsyncId","ranges":[{"startOffset":14621,"endOffset":14811,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultTriggerAsyncId","ranges":[{"startOffset":14994,"endOffset":15284,"count":6},{"startOffset":15250,"endOffset":15283,"count":0}],"isBlockCoverage":true},{"functionName":"clearDefaultTriggerAsyncId","ranges":[{"startOffset":15287,"endOffset":15376,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTriggerAsyncIdScope","ranges":[{"startOffset":15601,"endOffset":16094,"count":0}],"isBlockCoverage":false},{"functionName":"hasHooks","ranges":[{"startOffset":16096,"endOffset":16159,"count":20}],"isBlockCoverage":true},{"functionName":"enabledHooksExist","ranges":[{"startOffset":16161,"endOffset":16220,"count":3}],"isBlockCoverage":true},{"functionName":"initHooksExist","ranges":[{"startOffset":16222,"endOffset":16277,"count":6}],"isBlockCoverage":true},{"functionName":"afterHooksExist","ranges":[{"startOffset":16279,"endOffset":16336,"count":0}],"isBlockCoverage":false},{"functionName":"destroyHooksExist","ranges":[{"startOffset":16338,"endOffset":16399,"count":5}],"isBlockCoverage":true},{"functionName":"promiseResolveHooksExist","ranges":[{"startOffset":16401,"endOffset":16476,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitScript","ranges":[{"startOffset":16479,"endOffset":16887,"count":0}],"isBlockCoverage":false},{"functionName":"emitBeforeScript","ranges":[{"startOffset":16890,"endOffset":17066,"count":3},{"startOffset":17038,"endOffset":17064,"count":0}],"isBlockCoverage":true},{"functionName":"emitAfterScript","ranges":[{"startOffset":17069,"endOffset":17189,"count":3},{"startOffset":17133,"endOffset":17158,"count":0}],"isBlockCoverage":true},{"functionName":"emitDestroyScript","ranges":[{"startOffset":17192,"endOffset":17402,"count":0}],"isBlockCoverage":false},{"functionName":"hasAsyncIdStack","ranges":[{"startOffset":17405,"endOffset":17468,"count":0}],"isBlockCoverage":false},{"functionName":"pushAsyncContext","ranges":[{"startOffset":17534,"endOffset":18104,"count":3},{"startOffset":17754,"endOffset":17804,"count":0}],"isBlockCoverage":true},{"functionName":"popAsyncContext","ranges":[{"startOffset":18169,"endOffset":18780,"count":3},{"startOffset":18285,"endOffset":18298,"count":0},{"startOffset":18377,"endOffset":18483,"count":0}],"isBlockCoverage":true},{"functionName":"executionAsyncId","ranges":[{"startOffset":18783,"endOffset":18859,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":18861,"endOffset":18933,"count":0}],"isBlockCoverage":false}]},{"scriptId":"86","url":"node:internal/validators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15153,"count":1}],"isBlockCoverage":false},{"functionName":"isInt32","ranges":[{"startOffset":835,"endOffset":894,"count":572}],"isBlockCoverage":true},{"functionName":"isUint32","ranges":[{"startOffset":946,"endOffset":1008,"count":1}],"isBlockCoverage":true},{"functionName":"parseFileMode","ranges":[{"startOffset":1629,"endOffset":1940,"count":60},{"startOffset":1722,"endOffset":1890,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2186,"endOffset":2567,"count":3},{"startOffset":2306,"endOffset":2360,"count":0},{"startOffset":2400,"endOffset":2454,"count":0},{"startOffset":2497,"endOffset":2563,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2811,"endOffset":3274,"count":2},{"startOffset":2983,"endOffset":3051,"count":0},{"startOffset":3085,"endOffset":3153,"count":0},{"startOffset":3190,"endOffset":3270,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3512,"endOffset":3944,"count":1176},{"startOffset":3582,"endOffset":3646,"count":0},{"startOffset":3678,"endOffset":3742,"count":0},{"startOffset":3766,"endOffset":3769,"count":0},{"startOffset":3866,"endOffset":3942,"count":0}],"isBlockCoverage":true},{"functionName":"validateString","ranges":[{"startOffset":4097,"endOffset":4229,"count":19145},{"startOffset":4173,"endOffset":4227,"count":0}],"isBlockCoverage":true},{"functionName":"validateNumber","ranges":[{"startOffset":4430,"endOffset":4898,"count":64},{"startOffset":4528,"endOffset":4582,"count":0},{"startOffset":4603,"endOffset":4617,"count":63},{"startOffset":4635,"endOffset":4649,"count":62},{"startOffset":4674,"endOffset":4688,"count":1},{"startOffset":4690,"endOffset":4711,"count":63},{"startOffset":4714,"endOffset":4896,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5084,"endOffset":5417,"count":1},{"startOffset":5155,"endOffset":5415,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5228,"endOffset":5289,"count":0}],"isBlockCoverage":false},{"functionName":"validateBoolean","ranges":[{"startOffset":5573,"endOffset":5708,"count":559},{"startOffset":5651,"endOffset":5706,"count":0}],"isBlockCoverage":true},{"functionName":"getOwnPropertyValueOrDefault","ranges":[{"startOffset":5820,"endOffset":6001,"count":51},{"startOffset":5961,"endOffset":5979,"count":13},{"startOffset":5980,"endOffset":5998,"count":38}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6266,"endOffset":6821,"count":17},{"startOffset":6571,"endOffset":6588,"count":13},{"startOffset":6614,"endOffset":6636,"count":0},{"startOffset":6676,"endOffset":6746,"count":0},{"startOffset":6749,"endOffset":6817,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7376,"endOffset":7556,"count":1},{"startOffset":7417,"endOffset":7445,"count":0},{"startOffset":7446,"endOffset":7476,"count":0},{"startOffset":7478,"endOffset":7552,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7775,"endOffset":8053,"count":1116},{"startOffset":7837,"endOffset":7900,"count":0},{"startOffset":7933,"endOffset":8051,"count":0}],"isBlockCoverage":true},{"functionName":"validateStringArray","ranges":[{"startOffset":8218,"endOffset":8387,"count":558},{"startOffset":8333,"endOffset":8385,"count":2790}],"isBlockCoverage":true},{"functionName":"validateBooleanArray","ranges":[{"startOffset":8553,"endOffset":8724,"count":0}],"isBlockCoverage":false},{"functionName":"validateAbortSignalArray","ranges":[{"startOffset":8902,"endOffset":9251,"count":0}],"isBlockCoverage":false},{"functionName":"validateSignalName","ranges":[{"startOffset":9363,"endOffset":9736,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9948,"endOffset":10178,"count":1},{"startOffset":10013,"endOffset":10176,"count":0}],"isBlockCoverage":true},{"functionName":"validateEncoding","ranges":[{"startOffset":10242,"endOffset":10576,"count":0}],"isBlockCoverage":false},{"functionName":"validatePort","ranges":[{"startOffset":10838,"endOffset":11217,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11385,"endOffset":11602,"count":13},{"startOffset":11432,"endOffset":11528,"count":0},{"startOffset":11530,"endOffset":11600,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11802,"endOffset":11918,"count":585},{"startOffset":11860,"endOffset":11916,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12133,"endOffset":12275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12479,"endOffset":12588,"count":0}],"isBlockCoverage":false},{"functionName":"validateUnion","ranges":[{"startOffset":12681,"endOffset":12868,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderFormat","ranges":[{"startOffset":13296,"endOffset":13602,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13650,"endOffset":13860,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderValue","ranges":[{"startOffset":13914,"endOffset":14597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"87","url":"node:internal/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":24956,"count":1}],"isBlockCoverage":false},{"functionName":"toUSVString","ranges":[{"startOffset":1790,"endOffset":2102,"count":107},{"startOffset":2059,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUv","ranges":[{"startOffset":2120,"endOffset":2200,"count":0}],"isBlockCoverage":false},{"functionName":"removeColors","ranges":[{"startOffset":2202,"endOffset":2287,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":2289,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"getDeprecationWarningEmitter","ranges":[{"startOffset":2696,"endOffset":3345,"count":36}],"isBlockCoverage":true},{"functionName":"shouldEmitWarning","ranges":[{"startOffset":2795,"endOffset":2805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2842,"endOffset":3342,"count":0}],"isBlockCoverage":false},{"functionName":"isPendingDeprecation","ranges":[{"startOffset":3347,"endOffset":3475,"count":0}],"isBlockCoverage":false},{"functionName":"pendingDeprecate","ranges":[{"startOffset":3642,"endOffset":3939,"count":3}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":3811,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"deprecate","ranges":[{"startOffset":4094,"endOffset":5092,"count":33},{"startOffset":4181,"endOffset":4201,"count":0},{"startOffset":4290,"endOffset":4344,"count":1},{"startOffset":4376,"endOffset":4405,"count":32},{"startOffset":4846,"endOffset":5068,"count":32}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":4518,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"decorateErrorStack","ranges":[{"startOffset":5094,"endOffset":5360,"count":0}],"isBlockCoverage":false},{"functionName":"assertCrypto","ranges":[{"startOffset":5362,"endOffset":5436,"count":4},{"startOffset":5408,"endOffset":5434,"count":0}],"isBlockCoverage":true},{"functionName":"normalizeEncoding","ranges":[{"startOffset":5615,"endOffset":5746,"count":570},{"startOffset":5685,"endOffset":5703,"count":0},{"startOffset":5719,"endOffset":5745,"count":0}],"isBlockCoverage":true},{"functionName":"slowCases","ranges":[{"startOffset":5748,"endOffset":7499,"count":0}],"isBlockCoverage":false},{"functionName":"emitExperimentalWarning","ranges":[{"startOffset":7501,"endOffset":7767,"count":0}],"isBlockCoverage":false},{"functionName":"filterDuplicateStrings","ranges":[{"startOffset":7769,"endOffset":8108,"count":0}],"isBlockCoverage":false},{"functionName":"cachedResult","ranges":[{"startOffset":8110,"endOffset":8266,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8161,"endOffset":8263,"count":0}],"isBlockCoverage":false},{"functionName":"createClassWrapper","ranges":[{"startOffset":8531,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"getSignalsToNamesMapping","ranges":[{"startOffset":8960,"endOffset":9239,"count":0}],"isBlockCoverage":false},{"functionName":"convertToValidSignal","ranges":[{"startOffset":9241,"endOffset":9562,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorOf","ranges":[{"startOffset":9564,"endOffset":9910,"count":0}],"isBlockCoverage":false},{"functionName":"getCWDURL","ranges":[{"startOffset":10233,"endOffset":10743,"count":1},{"startOffset":10561,"endOffset":10610,"count":0}],"isBlockCoverage":true},{"functionName":"getSystemErrorName","ranges":[{"startOffset":10745,"endOffset":10874,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorMap","ranges":[{"startOffset":10876,"endOffset":10941,"count":0}],"isBlockCoverage":false},{"functionName":"promisify","ranges":[{"startOffset":11109,"endOffset":12970,"count":6},{"startOffset":11229,"endOffset":11285,"count":1},{"startOffset":11372,"endOffset":11649,"count":1},{"startOffset":11649,"endOffset":12756,"count":5},{"startOffset":12756,"endOffset":12918,"count":14},{"startOffset":12918,"endOffset":12969,"count":5}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":11849,"endOffset":12368,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13065,"endOffset":13387,"count":0}],"isBlockCoverage":false},{"functionName":"spliceOne","ranges":[{"startOffset":13528,"endOffset":13655,"count":0}],"isBlockCoverage":false},{"functionName":"isInsideNodeModules","ranges":[{"startOffset":13737,"endOffset":14975,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":14977,"endOffset":15150,"count":0}],"isBlockCoverage":false},{"functionName":"sleep","ranges":[{"startOffset":15173,"endOffset":15388,"count":0}],"isBlockCoverage":false},{"functionName":"createDeferredPromise","ranges":[{"startOffset":15390,"endOffset":15584,"count":0}],"isBlockCoverage":false},{"functionName":"defineOperation","ranges":[{"startOffset":15644,"endOffset":15845,"count":8}],"isBlockCoverage":true},{"functionName":"exposeInterface","ranges":[{"startOffset":15897,"endOffset":16117,"count":6}],"isBlockCoverage":true},{"functionName":"exposeNamespace","ranges":[{"startOffset":16169,"endOffset":16389,"count":1}],"isBlockCoverage":true},{"functionName":"exposeGetterAndSetter","ranges":[{"startOffset":16391,"endOffset":16614,"count":1}],"isBlockCoverage":true},{"functionName":"defineLazyProperties","ranges":[{"startOffset":16616,"endOffset":17549,"count":22},{"startOffset":16779,"endOffset":17548,"count":51}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":16835,"endOffset":16978,"count":19}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17081,"endOffset":17277,"count":19}],"isBlockCoverage":true},{"functionName":"defineReplaceableLazyAttribute","ranges":[{"startOffset":17551,"endOffset":18451,"count":2},{"startOffset":18419,"endOffset":18424,"count":1},{"startOffset":18425,"endOffset":18436,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17763,"endOffset":17999,"count":12},{"startOffset":17811,"endOffset":17864,"count":0},{"startOffset":17889,"endOffset":17920,"count":0}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":18104,"endOffset":18175,"count":0}],"isBlockCoverage":false},{"functionName":"exposeLazyInterfaces","ranges":[{"startOffset":18453,"endOffset":18553,"count":14}],"isBlockCoverage":true},{"functionName":"lazyDOMExceptionClass","ranges":[{"startOffset":18604,"endOffset":18700,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18744,"endOffset":18872,"count":0}],"isBlockCoverage":false},{"functionName":"filterOwnProperties","ranges":[{"startOffset":19057,"endOffset":19329,"count":0}],"isBlockCoverage":false},{"functionName":"setOwnProperty","ranges":[{"startOffset":19497,"endOffset":19687,"count":1130}],"isBlockCoverage":true},{"functionName":"getInternalGlobal","ranges":[{"startOffset":19709,"endOffset":19984,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeExec","ranges":[{"startOffset":19986,"endOffset":20199,"count":0}],"isBlockCoverage":false},{"functionName":"getCrossRelmRegex","ranges":[{"startOffset":20245,"endOffset":21036,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolReplace","ranges":[{"startOffset":21038,"endOffset":21192,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolSplit","ranges":[{"startOffset":21194,"endOffset":21344,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayBufferDetached","ranges":[{"startOffset":21347,"endOffset":21507,"count":0}],"isBlockCoverage":false},{"functionName":"getLazy","ranges":[{"startOffset":21708,"endOffset":21920,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21789,"endOffset":21917,"count":3504},{"startOffset":21833,"endOffset":21895,"count":4}],"isBlockCoverage":true},{"functionName":"setupCoverageHooks","ranges":[{"startOffset":22045,"endOffset":22722,"count":1},{"startOffset":22515,"endOffset":22692,"count":0}],"isBlockCoverage":true},{"functionName":"guessHandleType","ranges":[{"startOffset":22795,"endOffset":22892,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22894,"endOffset":23438,"count":23}],"isBlockCoverage":false},{"functionName":"WeakReference","ranges":[{"startOffset":22969,"endOffset":23036,"count":23}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":23040,"endOffset":23258,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":23262,"endOffset":23390,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23394,"endOffset":23436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"88","url":"node:internal/options","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1922,"count":1}],"isBlockCoverage":false},{"functionName":"getCLIOptionsFromBinding","ranges":[{"startOffset":464,"endOffset":598,"count":1295},{"startOffset":521,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"getAliasesFromBinding","ranges":[{"startOffset":600,"endOffset":731,"count":1}],"isBlockCoverage":true},{"functionName":"getEmbedderOptions","ranges":[{"startOffset":733,"endOffset":877,"count":4},{"startOffset":789,"endOffset":849,"count":1}],"isBlockCoverage":true},{"functionName":"refreshOptions","ranges":[{"startOffset":879,"endOffset":960,"count":1}],"isBlockCoverage":true},{"functionName":"getOptionValue","ranges":[{"startOffset":962,"endOffset":1228,"count":1294},{"startOffset":1084,"endOffset":1185,"count":8},{"startOffset":1185,"endOffset":1225,"count":1286}],"isBlockCoverage":true},{"functionName":"getAllowUnauthorized","ranges":[{"startOffset":1230,"endOffset":1695,"count":0}],"isBlockCoverage":false},{"functionName":"get options","ranges":[{"startOffset":1718,"endOffset":1776,"count":1}],"isBlockCoverage":true},{"functionName":"get aliases","ranges":[{"startOffset":1780,"endOffset":1835,"count":1}],"isBlockCoverage":true}]},{"scriptId":"89","url":"node:internal/util/types","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2469,"count":1}],"isBlockCoverage":false},{"functionName":"isTypedArray","ranges":[{"startOffset":131,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"isUint8Array","ranges":[{"startOffset":236,"endOffset":342,"count":1408}],"isBlockCoverage":true},{"functionName":"isUint8ClampedArray","ranges":[{"startOffset":344,"endOffset":464,"count":0}],"isBlockCoverage":false},{"functionName":"isUint16Array","ranges":[{"startOffset":466,"endOffset":574,"count":0}],"isBlockCoverage":false},{"functionName":"isUint32Array","ranges":[{"startOffset":576,"endOffset":684,"count":0}],"isBlockCoverage":false},{"functionName":"isInt8Array","ranges":[{"startOffset":686,"endOffset":790,"count":0}],"isBlockCoverage":false},{"functionName":"isInt16Array","ranges":[{"startOffset":792,"endOffset":898,"count":0}],"isBlockCoverage":false},{"functionName":"isInt32Array","ranges":[{"startOffset":900,"endOffset":1006,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat32Array","ranges":[{"startOffset":1008,"endOffset":1118,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat64Array","ranges":[{"startOffset":1120,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"isBigInt64Array","ranges":[{"startOffset":1232,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"isBigUint64Array","ranges":[{"startOffset":1346,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":1932,"endOffset":2147,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":2243,"endOffset":2458,"count":0}],"isBlockCoverage":false}]},{"scriptId":"90","url":"node:internal/linkedlist","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1128,"count":1}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":15,"endOffset":103,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":133,"endOffset":225,"count":0}],"isBlockCoverage":false},{"functionName":"remove","ranges":[{"startOffset":260,"endOffset":487,"count":7}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":543,"endOffset":995,"count":5},{"startOffset":594,"endOffset":611,"count":0}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":997,"endOffset":1057,"count":2}],"isBlockCoverage":true}]},{"scriptId":"91","url":"node:internal/priority_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2573,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":395,"endOffset":2571,"count":1}],"isBlockCoverage":false},{"functionName":"#compare","ranges":[{"startOffset":430,"endOffset":445,"count":0}],"isBlockCoverage":false},{"functionName":"PriorityQueue","ranges":[{"startOffset":504,"endOffset":688,"count":1}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":692,"endOffset":875,"count":3},{"startOffset":826,"endOffset":843,"count":0}],"isBlockCoverage":true},{"functionName":"peek","ranges":[{"startOffset":879,"endOffset":917,"count":1}],"isBlockCoverage":true},{"functionName":"percolateDown","ranges":[{"startOffset":921,"endOffset":1585,"count":2},{"startOffset":1135,"endOffset":1494,"count":0}],"isBlockCoverage":true},{"functionName":"percolateUp","ranges":[{"startOffset":1589,"endOffset":2077,"count":3},{"startOffset":1764,"endOffset":1986,"count":2},{"startOffset":1852,"endOffset":1858,"count":0}],"isBlockCoverage":true},{"functionName":"removeAt","ranges":[{"startOffset":2081,"endOffset":2411,"count":2},{"startOffset":2275,"endOffset":2325,"count":0},{"startOffset":2335,"endOffset":2357,"count":0}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":2415,"endOffset":2569,"count":0}],"isBlockCoverage":false}]},{"scriptId":"92","url":"node:internal/util/inspect","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":81525,"count":1}],"isBlockCoverage":false},{"functionName":"pathToFileUrlHref","ranges":[{"startOffset":3211,"endOffset":3345,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3454,"endOffset":3515,"count":62}],"isBlockCoverage":true},{"functionName":"isUndetectableObject","ranges":[{"startOffset":3611,"endOffset":3661,"count":0}],"isBlockCoverage":false},{"functionName":"getUserOptions","ranges":[{"startOffset":7144,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":8980,"endOffset":11006,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11117,"endOffset":11162,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":11166,"endOffset":11281,"count":0}],"isBlockCoverage":false},{"functionName":"defineColorAlias","ranges":[{"startOffset":13005,"endOffset":13269,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13121,"endOffset":13161,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":13167,"endOffset":13213,"count":0}],"isBlockCoverage":false},{"functionName":"addQuotes","ranges":[{"startOffset":14281,"endOffset":14439,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":14441,"endOffset":14616,"count":0}],"isBlockCoverage":false},{"functionName":"strEscape","ranges":[{"startOffset":14728,"endOffset":16882,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeWithColor","ranges":[{"startOffset":16884,"endOffset":17150,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeNoColor","ranges":[{"startOffset":17152,"endOffset":17198,"count":0}],"isBlockCoverage":false},{"functionName":"getEmptyFormatArray","ranges":[{"startOffset":17277,"endOffset":17324,"count":0}],"isBlockCoverage":false},{"functionName":"isInstanceof","ranges":[{"startOffset":17326,"endOffset":17444,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorName","ranges":[{"startOffset":17446,"endOffset":18715,"count":0}],"isBlockCoverage":false},{"functionName":"addPrototypeProperties","ranges":[{"startOffset":18902,"endOffset":20735,"count":0}],"isBlockCoverage":false},{"functionName":"getPrefix","ranges":[{"startOffset":20737,"endOffset":21124,"count":0}],"isBlockCoverage":false},{"functionName":"getKeys","ranges":[{"startOffset":21161,"endOffset":22152,"count":0}],"isBlockCoverage":false},{"functionName":"getCtxStyle","ranges":[{"startOffset":22154,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"formatProxy","ranges":[{"startOffset":22419,"endOffset":22869,"count":0}],"isBlockCoverage":false},{"functionName":"formatValue","ranges":[{"startOffset":23051,"endOffset":25808,"count":0}],"isBlockCoverage":false},{"functionName":"formatRaw","ranges":[{"startOffset":25810,"endOffset":36655,"count":0}],"isBlockCoverage":false},{"functionName":"getIteratorBraces","ranges":[{"startOffset":36657,"endOffset":36839,"count":0}],"isBlockCoverage":false},{"functionName":"getBoxedBase","ranges":[{"startOffset":36841,"endOffset":38029,"count":0}],"isBlockCoverage":false},{"functionName":"getClassBase","ranges":[{"startOffset":38031,"endOffset":38631,"count":0}],"isBlockCoverage":false},{"functionName":"getFunctionBase","ranges":[{"startOffset":38633,"endOffset":39866,"count":0}],"isBlockCoverage":false},{"functionName":"identicalSequenceRange","ranges":[{"startOffset":39868,"endOffset":40484,"count":0}],"isBlockCoverage":false},{"functionName":"getStackString","ranges":[{"startOffset":40486,"endOffset":40596,"count":0}],"isBlockCoverage":false},{"functionName":"getStackFrames","ranges":[{"startOffset":40598,"endOffset":41489,"count":0}],"isBlockCoverage":false},{"functionName":"improveStack","ranges":[{"startOffset":41491,"endOffset":42696,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateErrorKeys","ranges":[{"startOffset":42698,"endOffset":43121,"count":0}],"isBlockCoverage":false},{"functionName":"markNodeModules","ranges":[{"startOffset":43123,"endOffset":43593,"count":0}],"isBlockCoverage":false},{"functionName":"markCwd","ranges":[{"startOffset":43595,"endOffset":44572,"count":0}],"isBlockCoverage":false},{"functionName":"safeGetCWD","ranges":[{"startOffset":44574,"endOffset":44724,"count":0}],"isBlockCoverage":false},{"functionName":"formatError","ranges":[{"startOffset":44726,"endOffset":47121,"count":0}],"isBlockCoverage":false},{"functionName":"groupArrayElements","ranges":[{"startOffset":47123,"endOffset":51462,"count":0}],"isBlockCoverage":false},{"functionName":"handleMaxCallStackSize","ranges":[{"startOffset":51464,"endOffset":51853,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparator","ranges":[{"startOffset":51855,"endOffset":52257,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparatorEnd","ranges":[{"startOffset":52259,"endOffset":52558,"count":0}],"isBlockCoverage":false},{"functionName":"remainingText","ranges":[{"startOffset":52582,"endOffset":52652,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumber","ranges":[{"startOffset":52655,"endOffset":53443,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigInt","ranges":[{"startOffset":53445,"endOffset":53661,"count":0}],"isBlockCoverage":false},{"functionName":"formatPrimitive","ranges":[{"startOffset":53663,"endOffset":55068,"count":0}],"isBlockCoverage":false},{"functionName":"formatNamespaceObject","ranges":[{"startOffset":55070,"endOffset":56222,"count":0}],"isBlockCoverage":false},{"functionName":"formatSpecialArray","ranges":[{"startOffset":56269,"endOffset":57529,"count":0}],"isBlockCoverage":false},{"functionName":"formatArrayBuffer","ranges":[{"startOffset":57531,"endOffset":58179,"count":0}],"isBlockCoverage":false},{"functionName":"formatArray","ranges":[{"startOffset":58181,"endOffset":58780,"count":0}],"isBlockCoverage":false},{"functionName":"formatTypedArray","ranges":[{"startOffset":58782,"endOffset":59811,"count":0}],"isBlockCoverage":false},{"functionName":"formatSet","ranges":[{"startOffset":59813,"endOffset":60336,"count":0}],"isBlockCoverage":false},{"functionName":"formatMap","ranges":[{"startOffset":60338,"endOffset":60938,"count":0}],"isBlockCoverage":false},{"functionName":"formatSetIterInner","ranges":[{"startOffset":60940,"endOffset":61743,"count":0}],"isBlockCoverage":false},{"functionName":"formatMapIterInner","ranges":[{"startOffset":61745,"endOffset":63053,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakCollection","ranges":[{"startOffset":63055,"endOffset":63147,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakSet","ranges":[{"startOffset":63149,"endOffset":63306,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakMap","ranges":[{"startOffset":63308,"endOffset":63465,"count":0}],"isBlockCoverage":false},{"functionName":"formatIterator","ranges":[{"startOffset":63467,"endOffset":63888,"count":0}],"isBlockCoverage":false},{"functionName":"formatPromise","ranges":[{"startOffset":63890,"endOffset":64364,"count":0}],"isBlockCoverage":false},{"functionName":"formatProperty","ranges":[{"startOffset":64366,"endOffset":66939,"count":0}],"isBlockCoverage":false},{"functionName":"isBelowBreakLength","ranges":[{"startOffset":66941,"endOffset":67899,"count":0}],"isBlockCoverage":false},{"functionName":"reduceToSingleString","ranges":[{"startOffset":67901,"endOffset":70802,"count":0}],"isBlockCoverage":false},{"functionName":"hasBuiltInToString","ranges":[{"startOffset":70804,"endOffset":71880,"count":0}],"isBlockCoverage":false},{"functionName":"firstErrorLine","ranges":[{"startOffset":71905,"endOffset":71963,"count":0}],"isBlockCoverage":false},{"functionName":"tryStringify","ranges":[{"startOffset":71993,"endOffset":72498,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":72500,"endOffset":72581,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptions","ranges":[{"startOffset":72583,"endOffset":72770,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumberNoColor","ranges":[{"startOffset":72772,"endOffset":72954,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigIntNoColor","ranges":[{"startOffset":72956,"endOffset":73138,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptionsInternal","ranges":[{"startOffset":73140,"endOffset":77164,"count":0}],"isBlockCoverage":false},{"functionName":"isZeroWidthCodePoint","ranges":[{"startOffset":77166,"endOffset":77740,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78169,"endOffset":78760,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78875,"endOffset":79343,"count":0}],"isBlockCoverage":false},{"functionName":"isFullWidthCodePoint","ranges":[{"startOffset":79511,"endOffset":81120,"count":0}],"isBlockCoverage":false},{"functionName":"stripVTControlCharacters","ranges":[{"startOffset":81211,"endOffset":81338,"count":0}],"isBlockCoverage":false}]},{"scriptId":"93","url":"node:internal/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":474,"count":1}],"isBlockCoverage":false},{"functionName":"lazyError","ranges":[{"startOffset":26,"endOffset":155,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":157,"endOffset":307,"count":901},{"startOffset":205,"endOffset":305,"count":0}],"isBlockCoverage":true},{"functionName":"fail","ranges":[{"startOffset":309,"endOffset":426,"count":0}],"isBlockCoverage":false}]},{"scriptId":"94","url":"node:internal/util/debuglog","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3395,"count":1}],"isBlockCoverage":false},{"functionName":"initializeDebugEnv","ranges":[{"startOffset":503,"endOffset":976,"count":1},{"startOffset":595,"endOffset":932,"count":0}],"isBlockCoverage":true},{"functionName":"testEnabled","ranges":[{"startOffset":870,"endOffset":927,"count":0}],"isBlockCoverage":false},{"functionName":"testEnabled","ranges":[{"startOffset":958,"endOffset":969,"count":10}],"isBlockCoverage":true},{"functionName":"emitWarningIfNeeded","ranges":[{"startOffset":1050,"endOffset":1389,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":1404,"endOffset":1412,"count":3615}],"isBlockCoverage":true},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1431,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"debuglogImpl","ranges":[{"startOffset":1533,"endOffset":2091,"count":8},{"startOffset":1608,"endOffset":2063,"count":5},{"startOffset":1627,"endOffset":2016,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":1716,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"debuglog","ranges":[{"startOffset":2311,"endOffset":3337,"count":22}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":2342,"endOffset":2438,"count":10}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":2453,"endOffset":2847,"count":8},{"startOffset":2700,"endOffset":2730,"count":5},{"startOffset":2737,"endOffset":2776,"count":2},{"startOffset":2783,"endOffset":2837,"count":1}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2877,"endOffset":2946,"count":2}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2908,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"logger","ranges":[{"startOffset":2965,"endOffset":3160,"count":8},{"startOffset":3013,"endOffset":3043,"count":5},{"startOffset":3050,"endOffset":3089,"count":2},{"startOffset":3096,"endOffset":3150,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3231,"endOffset":3265,"count":2}],"isBlockCoverage":true}]},{"scriptId":"95","url":"node:events","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36377,"count":1}],"isBlockCoverage":false},{"functionName":"lazyEventEmitterAsyncResource","ranges":[{"startOffset":3020,"endOffset":6331,"count":5},{"startOffset":3110,"endOffset":6293,"count":1}],"isBlockCoverage":true},{"functionName":"EventEmitterReferencingAsyncResource","ranges":[{"startOffset":3565,"endOffset":3669,"count":0}],"isBlockCoverage":false},{"functionName":"get eventEmitter","ranges":[{"startOffset":3727,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterAsyncResource","ranges":[{"startOffset":4205,"endOffset":4729,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":4866,"endOffset":5236,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":5297,"endOffset":5485,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncId","ranges":[{"startOffset":5545,"endOffset":5736,"count":0}],"isBlockCoverage":false},{"functionName":"get triggerAsyncId","ranges":[{"startOffset":5796,"endOffset":6001,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncResource","ranges":[{"startOffset":6091,"endOffset":6280,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter","ranges":[{"startOffset":6465,"endOffset":6534,"count":65}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":7019,"endOffset":7075,"count":5}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":7079,"endOffset":7204,"count":0}],"isBlockCoverage":false},{"functionName":"checkListener","ranges":[{"startOffset":7985,"endOffset":8063,"count":14}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8171,"endOffset":8219,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8228,"endOffset":8329,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.setMaxListeners","ranges":[{"startOffset":8882,"endOffset":9694,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.init","ranges":[{"startOffset":9861,"endOffset":10459,"count":65},{"startOffset":9912,"endOffset":9972,"count":0},{"startOffset":10116,"endOffset":10135,"count":2},{"startOffset":10137,"endOffset":10270,"count":0}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":10462,"endOffset":11021,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionOrErr","ranges":[{"startOffset":11023,"endOffset":11680,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":11832,"endOffset":11947,"count":1}],"isBlockCoverage":true},{"functionName":"_getMaxListeners","ranges":[{"startOffset":11950,"endOffset":12099,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":12236,"endOffset":12299,"count":0}],"isBlockCoverage":false},{"functionName":"enhanceStackTrace","ranges":[{"startOffset":12302,"endOffset":13061,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":13256,"endOffset":15559,"count":59},{"startOffset":13401,"endOffset":13439,"count":0},{"startOffset":13447,"endOffset":13481,"count":0},{"startOffset":13505,"endOffset":13534,"count":0},{"startOffset":13540,"endOffset":13577,"count":0},{"startOffset":13649,"endOffset":14617,"count":0},{"startOffset":14698,"endOffset":15558,"count":0}],"isBlockCoverage":true},{"functionName":"_addListener","ranges":[{"startOffset":15562,"endOffset":17456,"count":9},{"startOffset":15742,"endOffset":15827,"count":0},{"startOffset":16012,"endOffset":16273,"count":0},{"startOffset":16476,"endOffset":17436,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":17634,"endOffset":17726,"count":9}],"isBlockCoverage":true},{"functionName":"prependListener","ranges":[{"startOffset":18013,"endOffset":18116,"count":0}],"isBlockCoverage":false},{"functionName":"onceWrapper","ranges":[{"startOffset":18119,"endOffset":18383,"count":0}],"isBlockCoverage":false},{"functionName":"_onceWrap","ranges":[{"startOffset":18385,"endOffset":18626,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":18817,"endOffset":18943,"count":0}],"isBlockCoverage":false},{"functionName":"prependOnceListener","ranges":[{"startOffset":19176,"endOffset":19346,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":19553,"endOffset":20848,"count":5},{"startOffset":19702,"endOffset":19714,"count":0},{"startOffset":19787,"endOffset":19799,"count":3},{"startOffset":19799,"endOffset":19829,"count":2},{"startOffset":19829,"endOffset":19858,"count":0},{"startOffset":19860,"endOffset":20121,"count":2},{"startOffset":19911,"endOffset":19946,"count":0},{"startOffset":20042,"endOffset":20103,"count":0},{"startOffset":20121,"endOffset":20822,"count":0},{"startOffset":20822,"endOffset":20847,"count":2}],"isBlockCoverage":true},{"functionName":"removeAllListeners","ranges":[{"startOffset":21168,"endOffset":22497,"count":0}],"isBlockCoverage":false},{"functionName":"_listeners","ranges":[{"startOffset":22500,"endOffset":22895,"count":0}],"isBlockCoverage":false},{"functionName":"listeners","ranges":[{"startOffset":23085,"endOffset":23152,"count":0}],"isBlockCoverage":false},{"functionName":"rawListeners","ranges":[{"startOffset":23359,"endOffset":23430,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.listenerCount","ranges":[{"startOffset":23672,"endOffset":23858,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":24091,"endOffset":24796,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":24952,"endOffset":25045,"count":0}],"isBlockCoverage":false},{"functionName":"arrayClone","ranges":[{"startOffset":25048,"endOffset":25521,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapListeners","ranges":[{"startOffset":25523,"endOffset":25737,"count":0}],"isBlockCoverage":false},{"functionName":"getEventListeners","ranges":[{"startOffset":25947,"endOffset":26821,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":26941,"endOffset":27376,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":27596,"endOffset":29314,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29392,"endOffset":29413,"count":0}],"isBlockCoverage":false},{"functionName":"createIterResult","ranges":[{"startOffset":29428,"endOffset":29496,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticRemoveListener","ranges":[{"startOffset":29498,"endOffset":29883,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticAddListener","ranges":[{"startOffset":29885,"endOffset":30317,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":30622,"endOffset":35023,"count":0}],"isBlockCoverage":false},{"functionName":"listenersController","ranges":[{"startOffset":35025,"endOffset":35471,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortListener","ranges":[{"startOffset":35494,"endOffset":36376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"96","url":"node:buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":41224,"count":1}],"isBlockCoverage":false},{"functionName":"validateOffset","ranges":[{"startOffset":3255,"endOffset":3339,"count":0}],"isBlockCoverage":false},{"functionName":"createPool","ranges":[{"startOffset":4069,"endOffset":4228,"count":3}],"isBlockCoverage":true},{"functionName":"alignPool","ranges":[{"startOffset":4244,"endOffset":4366,"count":30},{"startOffset":4318,"endOffset":4364,"count":27}],"isBlockCoverage":true},{"functionName":"showFlaggedDeprecation","ranges":[{"startOffset":4670,"endOffset":5350,"count":0}],"isBlockCoverage":false},{"functionName":"toInteger","ranges":[{"startOffset":5352,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"_copy","ranges":[{"startOffset":5572,"endOffset":6704,"count":0}],"isBlockCoverage":false},{"functionName":"_copyActual","ranges":[{"startOffset":6706,"endOffset":7237,"count":0}],"isBlockCoverage":false},{"functionName":"Buffer","ranges":[{"startOffset":7813,"endOffset":8146,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8258,"endOffset":8286,"count":1}],"isBlockCoverage":true},{"functionName":"from","ranges":[{"startOffset":8544,"endOffset":9509,"count":44},{"startOffset":8630,"endOffset":8673,"count":37},{"startOffset":8673,"endOffset":8724,"count":7},{"startOffset":8726,"endOffset":9363,"count":7},{"startOffset":8767,"endOffset":8823,"count":6},{"startOffset":8823,"endOffset":8877,"count":1},{"startOffset":8903,"endOffset":8931,"count":1},{"startOffset":8932,"endOffset":9003,"count":0},{"startOffset":9005,"endOffset":9066,"count":0},{"startOffset":9066,"endOffset":9127,"count":1},{"startOffset":9127,"endOffset":9359,"count":0},{"startOffset":9363,"endOffset":9508,"count":0}],"isBlockCoverage":true},{"functionName":"copyBytesFrom","ranges":[{"startOffset":9763,"endOffset":10644,"count":0}],"isBlockCoverage":false},{"functionName":"of","ranges":[{"startOffset":11015,"endOffset":11167,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11456,"endOffset":11516,"count":62}],"isBlockCoverage":true},{"functionName":"alloc","ranges":[{"startOffset":11619,"endOffset":11864,"count":2},{"startOffset":11703,"endOffset":11716,"count":0},{"startOffset":11717,"endOffset":11728,"count":0},{"startOffset":11730,"endOffset":11831,"count":0}],"isBlockCoverage":true},{"functionName":"allocUnsafe","ranges":[{"startOffset":12043,"endOffset":12118,"count":2}],"isBlockCoverage":true},{"functionName":"allocUnsafeSlow","ranges":[{"startOffset":12359,"endOffset":12448,"count":58}],"isBlockCoverage":true},{"functionName":"SlowBuffer","ranges":[{"startOffset":12544,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"allocate","ranges":[{"startOffset":12748,"endOffset":13080,"count":2},{"startOffset":12791,"endOffset":13043,"count":1},{"startOffset":12912,"endOffset":12925,"count":0},{"startOffset":13043,"endOffset":13079,"count":0}],"isBlockCoverage":true},{"functionName":"fromStringFast","ranges":[{"startOffset":13082,"endOffset":13628,"count":37},{"startOffset":13208,"endOffset":13257,"count":9},{"startOffset":13257,"endOffset":13303,"count":28},{"startOffset":13303,"endOffset":13316,"count":2},{"startOffset":13316,"endOffset":13449,"count":28},{"startOffset":13449,"endOffset":13575,"count":0},{"startOffset":13575,"endOffset":13627,"count":28}],"isBlockCoverage":true},{"functionName":"fromString","ranges":[{"startOffset":13630,"endOffset":14083,"count":37},{"startOffset":13716,"endOffset":13740,"count":30},{"startOffset":13742,"endOffset":13861,"count":7},{"startOffset":13779,"endOffset":13803,"count":0},{"startOffset":13861,"endOffset":14043,"count":30},{"startOffset":13938,"endOffset":13979,"count":0},{"startOffset":14015,"endOffset":14039,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayBuffer","ranges":[{"startOffset":14085,"endOffset":14782,"count":6},{"startOffset":14229,"endOffset":14325,"count":0},{"startOffset":14402,"endOffset":14447,"count":0},{"startOffset":14506,"endOffset":14729,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayLike","ranges":[{"startOffset":14784,"endOffset":15178,"count":1},{"startOffset":14841,"endOffset":14865,"count":0},{"startOffset":14964,"endOffset":14977,"count":0},{"startOffset":15146,"endOffset":15177,"count":0}],"isBlockCoverage":true},{"functionName":"fromObject","ranges":[{"startOffset":15180,"endOffset":15486,"count":1},{"startOffset":15238,"endOffset":15269,"count":0},{"startOffset":15313,"endOffset":15351,"count":0},{"startOffset":15386,"endOffset":15441,"count":0},{"startOffset":15443,"endOffset":15484,"count":0}],"isBlockCoverage":true},{"functionName":"isBuffer","ranges":[{"startOffset":15525,"endOffset":15579,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":15599,"endOffset":15924,"count":0}],"isBlockCoverage":false},{"functionName":"isEncoding","ranges":[{"startOffset":15947,"endOffset":16098,"count":570}],"isBlockCoverage":true},{"functionName":"concat","ranges":[{"startOffset":16164,"endOffset":17311,"count":0}],"isBlockCoverage":false},{"functionName":"base64ByteLength","ranges":[{"startOffset":17314,"endOffset":17582,"count":20},{"startOffset":17436,"endOffset":17444,"count":15},{"startOffset":17520,"endOffset":17528,"count":7}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":17717,"endOffset":17781,"count":7}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":17794,"endOffset":17840,"count":18}],"isBlockCoverage":true},{"functionName":"indexOf","ranges":[{"startOffset":17855,"endOffset":17951,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18045,"endOffset":18074,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18087,"endOffset":18151,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18164,"endOffset":18210,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18225,"endOffset":18324,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18424,"endOffset":18453,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18466,"endOffset":18530,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18543,"endOffset":18589,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18604,"endOffset":18703,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18800,"endOffset":18825,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18838,"endOffset":18904,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18917,"endOffset":18965,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18980,"endOffset":19078,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19172,"endOffset":19197,"count":6}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19210,"endOffset":19275,"count":6}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":19288,"endOffset":19335,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19350,"endOffset":19562,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19659,"endOffset":19710,"count":20}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19723,"endOffset":19789,"count":11}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":19802,"endOffset":19850,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19865,"endOffset":20079,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20185,"endOffset":20236,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20249,"endOffset":20324,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":20337,"endOffset":20388,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20403,"endOffset":20623,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20711,"endOffset":20742,"count":4}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":20755,"endOffset":20818,"count":4}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":20831,"endOffset":20876,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20891,"endOffset":21099,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingOps","ranges":[{"startOffset":21109,"endOffset":22933,"count":48},{"startOffset":21196,"endOffset":21495,"count":18},{"startOffset":21259,"endOffset":21495,"count":0},{"startOffset":21500,"endOffset":21919,"count":6},{"startOffset":21540,"endOffset":21564,"count":0},{"startOffset":21622,"endOffset":21919,"count":0},{"startOffset":21924,"endOffset":22078,"count":0},{"startOffset":22083,"endOffset":22239,"count":0},{"startOffset":22244,"endOffset":22625,"count":20},{"startOffset":22318,"endOffset":22344,"count":0},{"startOffset":22404,"endOffset":22516,"count":0},{"startOffset":22526,"endOffset":22625,"count":0},{"startOffset":22630,"endOffset":22762,"count":4},{"startOffset":22667,"endOffset":22716,"count":0},{"startOffset":22749,"endOffset":22762,"count":0},{"startOffset":22767,"endOffset":22927,"count":0}],"isBlockCoverage":true},{"functionName":"byteLength","ranges":[{"startOffset":22935,"endOffset":23441,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23600,"endOffset":23694,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23792,"endOffset":23890,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":23923,"endOffset":24056,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":24337,"endOffset":24916,"count":19},{"startOffset":24409,"endOffset":24457,"count":1},{"startOffset":24457,"endOffset":24509,"count":18},{"startOffset":24509,"endOffset":24519,"count":0},{"startOffset":24519,"endOffset":24582,"count":18},{"startOffset":24549,"endOffset":24559,"count":0},{"startOffset":24582,"endOffset":24608,"count":18},{"startOffset":24608,"endOffset":24620,"count":0},{"startOffset":24626,"endOffset":24636,"count":18},{"startOffset":24636,"endOffset":24657,"count":0},{"startOffset":24657,"endOffset":24683,"count":18},{"startOffset":24683,"endOffset":24693,"count":0},{"startOffset":24693,"endOffset":24729,"count":18},{"startOffset":24729,"endOffset":24763,"count":0},{"startOffset":24763,"endOffset":24834,"count":18},{"startOffset":24834,"endOffset":24875,"count":0},{"startOffset":24875,"endOffset":24915,"count":18}],"isBlockCoverage":true},{"functionName":"equals","ranges":[{"startOffset":24945,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":25427,"endOffset":26570,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":26666,"endOffset":27815,"count":0}],"isBlockCoverage":false},{"functionName":"bidirectionalIndexOf","ranges":[{"startOffset":28243,"endOffset":29551,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":29580,"endOffset":29697,"count":0}],"isBlockCoverage":false},{"functionName":"lastIndexOf","ranges":[{"startOffset":29731,"endOffset":29853,"count":0}],"isBlockCoverage":false},{"functionName":"includes","ranges":[{"startOffset":29884,"endOffset":29989,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":30167,"endOffset":30266,"count":0}],"isBlockCoverage":false},{"functionName":"_fill","ranges":[{"startOffset":30269,"endOffset":32215,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":32242,"endOffset":33257,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":33286,"endOffset":33520,"count":0}],"isBlockCoverage":false},{"functionName":"adjustOffset","ranges":[{"startOffset":33523,"endOffset":33957,"count":0}],"isBlockCoverage":false},{"functionName":"subarray","ranges":[{"startOffset":33987,"endOffset":34290,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":34318,"endOffset":34384,"count":0}],"isBlockCoverage":false},{"functionName":"swap","ranges":[{"startOffset":34387,"endOffset":34458,"count":0}],"isBlockCoverage":false},{"functionName":"swap16","ranges":[{"startOffset":34486,"endOffset":34890,"count":0}],"isBlockCoverage":false},{"functionName":"swap32","ranges":[{"startOffset":34919,"endOffset":35363,"count":0}],"isBlockCoverage":false},{"functionName":"swap64","ranges":[{"startOffset":35392,"endOffset":35900,"count":0}],"isBlockCoverage":false},{"functionName":"transcode","ranges":[{"startOffset":36214,"endOffset":36913,"count":0}],"isBlockCoverage":false},{"functionName":"btoa","ranges":[{"startOffset":36918,"endOffset":37455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":37728,"endOffset":37772,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37830,"endOffset":37874,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37929,"endOffset":37973,"count":10}],"isBlockCoverage":true},{"functionName":"atob","ranges":[{"startOffset":38149,"endOffset":40101,"count":0}],"isBlockCoverage":false},{"functionName":"isUtf8","ranges":[{"startOffset":40103,"endOffset":40299,"count":0}],"isBlockCoverage":false},{"functionName":"isAscii","ranges":[{"startOffset":40301,"endOffset":40514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40905,"endOffset":40940,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":40946,"endOffset":41044,"count":0}],"isBlockCoverage":false}]},{"scriptId":"97","url":"node:internal/buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30926,"count":1}],"isBlockCoverage":false},{"functionName":"checkBounds","ranges":[{"startOffset":1176,"endOffset":1392,"count":1},{"startOffset":1339,"endOffset":1390,"count":0}],"isBlockCoverage":true},{"functionName":"checkInt","ranges":[{"startOffset":1394,"endOffset":2016,"count":1},{"startOffset":1490,"endOffset":1974,"count":0}],"isBlockCoverage":true},{"functionName":"boundsError","ranges":[{"startOffset":2018,"endOffset":2421,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":2441,"endOffset":2940,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":2942,"endOffset":3441,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":3443,"endOffset":3944,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":3946,"endOffset":4441,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntLE","ranges":[{"startOffset":4443,"endOffset":4995,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48LE","ranges":[{"startOffset":4997,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40LE","ranges":[{"startOffset":5382,"endOffset":5738,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":5740,"endOffset":6066,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24LE","ranges":[{"startOffset":6068,"endOffset":6356,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":6358,"endOffset":6618,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":6620,"endOffset":6800,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntBE","ranges":[{"startOffset":6802,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48BE","ranges":[{"startOffset":7356,"endOffset":7739,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40BE","ranges":[{"startOffset":7741,"endOffset":8097,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":8099,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24BE","ranges":[{"startOffset":8427,"endOffset":8715,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":8717,"endOffset":8977,"count":0}],"isBlockCoverage":false},{"functionName":"readIntLE","ranges":[{"startOffset":8979,"endOffset":9524,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48LE","ranges":[{"startOffset":9526,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40LE","ranges":[{"startOffset":9959,"endOffset":10346,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":10348,"endOffset":10683,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24LE","ranges":[{"startOffset":10685,"endOffset":11017,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":11019,"endOffset":11325,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":11327,"endOffset":11535,"count":0}],"isBlockCoverage":false},{"functionName":"readIntBE","ranges":[{"startOffset":11537,"endOffset":12082,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48BE","ranges":[{"startOffset":12084,"endOffset":12513,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40BE","ranges":[{"startOffset":12515,"endOffset":12903,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":12905,"endOffset":13240,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24BE","ranges":[{"startOffset":13242,"endOffset":13574,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":13576,"endOffset":13882,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBackwards","ranges":[{"startOffset":13899,"endOffset":14304,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatForwards","ranges":[{"startOffset":14306,"endOffset":14710,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBackwards","ranges":[{"startOffset":14712,"endOffset":15282,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleForwards","ranges":[{"startOffset":15284,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64LE","ranges":[{"startOffset":15874,"endOffset":16356,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":16358,"endOffset":16480,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64BE","ranges":[{"startOffset":16482,"endOffset":16980,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":16982,"endOffset":17104,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":17106,"endOffset":17250,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":17252,"endOffset":17396,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntLE","ranges":[{"startOffset":17398,"endOffset":18007,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48LE","ranges":[{"startOffset":18009,"endOffset":18422,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40LE","ranges":[{"startOffset":18424,"endOffset":18803,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32LE","ranges":[{"startOffset":18805,"endOffset":19112,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19114,"endOffset":19220,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24LE","ranges":[{"startOffset":19222,"endOffset":19481,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16LE","ranges":[{"startOffset":19483,"endOffset":19679,"count":1}],"isBlockCoverage":true},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19681,"endOffset":19783,"count":1}],"isBlockCoverage":true},{"functionName":"writeU_Int8","ranges":[{"startOffset":19785,"endOffset":20197,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":20199,"endOffset":20293,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntBE","ranges":[{"startOffset":20295,"endOffset":20904,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48BE","ranges":[{"startOffset":20906,"endOffset":21327,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40BE","ranges":[{"startOffset":21329,"endOffset":21691,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32BE","ranges":[{"startOffset":21693,"endOffset":22008,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":22010,"endOffset":22116,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24BE","ranges":[{"startOffset":22118,"endOffset":22383,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16BE","ranges":[{"startOffset":22385,"endOffset":22581,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":22583,"endOffset":22685,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntLE","ranges":[{"startOffset":22687,"endOffset":23349,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":23351,"endOffset":23466,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":23468,"endOffset":23575,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":23577,"endOffset":23674,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntBE","ranges":[{"startOffset":23676,"endOffset":24338,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":24340,"endOffset":24455,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":24457,"endOffset":24564,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleForwards","ranges":[{"startOffset":24583,"endOffset":25049,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBackwards","ranges":[{"startOffset":25051,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatForwards","ranges":[{"startOffset":25520,"endOffset":25821,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBackwards","ranges":[{"startOffset":25823,"endOffset":26125,"count":0}],"isBlockCoverage":false},{"functionName":"FastBuffer","ranges":[{"startOffset":26365,"endOffset":26465,"count":101}],"isBlockCoverage":true},{"functionName":"addBufferPrototypeMethods","ranges":[{"startOffset":26469,"endOffset":29608,"count":1},{"startOffset":28552,"endOffset":28572,"count":0},{"startOffset":28626,"endOffset":28645,"count":0},{"startOffset":28701,"endOffset":28722,"count":0},{"startOffset":28778,"endOffset":28798,"count":0},{"startOffset":28855,"endOffset":28876,"count":0},{"startOffset":28932,"endOffset":28952,"count":0},{"startOffset":29010,"endOffset":29032,"count":0},{"startOffset":29090,"endOffset":29111,"count":0}],"isBlockCoverage":true},{"functionName":"markAsUntransferable","ranges":[{"startOffset":29764,"endOffset":30013,"count":3},{"startOffset":29832,"endOffset":29860,"count":0},{"startOffset":29883,"endOffset":29890,"count":0}],"isBlockCoverage":true},{"functionName":"createUnsafeBuffer","ranges":[{"startOffset":30291,"endOffset":30427,"count":61}],"isBlockCoverage":true},{"functionName":"reconnectZeroFillToggle","ranges":[{"startOffset":30682,"endOffset":30754,"count":1}],"isBlockCoverage":true}]},{"scriptId":"98","url":"node:internal/worker/js_transferable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2208,"count":1}],"isBlockCoverage":false},{"functionName":"setup","ranges":[{"startOffset":478,"endOffset":1311,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":759,"endOffset":1307,"count":0}],"isBlockCoverage":false},{"functionName":"makeTransferable","ranges":[{"startOffset":1313,"endOffset":1968,"count":1},{"startOffset":1442,"endOffset":1453,"count":0},{"startOffset":1688,"endOffset":1850,"count":0}],"isBlockCoverage":true}]},{"scriptId":"99","url":"node:internal/process/per_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12464,"count":1}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":1145,"endOffset":1233,"count":0}],"isBlockCoverage":false},{"functionName":"refreshHrtimeBuffer","ranges":[{"startOffset":1388,"endOffset":1856,"count":2}],"isBlockCoverage":true},{"functionName":"hrtime","ranges":[{"startOffset":1905,"endOffset":2407,"count":0}],"isBlockCoverage":false},{"functionName":"hrtimeBigInt","ranges":[{"startOffset":2409,"endOffset":2490,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2492,"endOffset":2509,"count":0}],"isBlockCoverage":false},{"functionName":"wrapProcessMethods","ranges":[{"startOffset":2587,"endOffset":7477,"count":1}],"isBlockCoverage":true},{"functionName":"_rawDebug","ranges":[{"startOffset":2754,"endOffset":2844,"count":0}],"isBlockCoverage":false},{"functionName":"cpuUsage","ranges":[{"startOffset":3055,"endOffset":4207,"count":0}],"isBlockCoverage":false},{"functionName":"previousValueIsValid","ranges":[{"startOffset":4360,"endOffset":4497,"count":0}],"isBlockCoverage":false},{"functionName":"memoryUsage","ranges":[{"startOffset":4542,"endOffset":4769,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":4799,"endOffset":5938,"count":1}],"isBlockCoverage":true},{"functionName":"kill","ranges":[{"startOffset":5942,"endOffset":6587,"count":0}],"isBlockCoverage":false},{"functionName":"resourceUsage","ranges":[{"startOffset":6638,"endOffset":7372,"count":0}],"isBlockCoverage":false},{"functionName":"buildAllowedFlags","ranges":[{"startOffset":7688,"endOffset":11790,"count":1},{"startOffset":7976,"endOffset":8267,"count":159},{"startOffset":8028,"endOffset":8263,"count":124},{"startOffset":8125,"endOffset":8257,"count":62},{"startOffset":8735,"endOffset":9157,"count":23},{"startOffset":8789,"endOffset":9153,"count":11},{"startOffset":8878,"endOffset":8947,"count":2},{"startOffset":9012,"endOffset":9081,"count":0}],"isBlockCoverage":true},{"functionName":"isAccepted","ranges":[{"startOffset":8271,"endOffset":8683,"count":29},{"startOffset":8341,"endOffset":8355,"count":28},{"startOffset":8357,"endOffset":8369,"count":2},{"startOffset":8369,"endOffset":8446,"count":27},{"startOffset":8446,"endOffset":8615,"count":2},{"startOffset":8496,"endOffset":8543,"count":1},{"startOffset":8615,"endOffset":8682,"count":25}],"isBlockCoverage":true},{"functionName":"trimLeadingDashes","ranges":[{"startOffset":9191,"endOffset":9253,"count":197}],"isBlockCoverage":true},{"functionName":"NodeEnvironmentFlagsSet","ranges":[{"startOffset":9563,"endOffset":9639,"count":1}],"isBlockCoverage":true},{"functionName":"add","ranges":[{"startOffset":9645,"endOffset":9714,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":9720,"endOffset":9793,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":9799,"endOffset":9851,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":9857,"endOffset":10672,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":10678,"endOffset":10843,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":10849,"endOffset":11026,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":11032,"endOffset":11093,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":11099,"endOffset":11262,"count":0}],"isBlockCoverage":false},{"functionName":"toggleTraceCategoryState","ranges":[{"startOffset":11980,"endOffset":12310,"count":1},{"startOffset":12060,"endOffset":12235,"count":0},{"startOffset":12267,"endOffset":12308,"count":0}],"isBlockCoverage":true}]},{"scriptId":"100","url":"node:internal/process/task_queues","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4285,"count":1}],"isBlockCoverage":false},{"functionName":"hasTickScheduled","ranges":[{"startOffset":982,"endOffset":1057,"count":0}],"isBlockCoverage":false},{"functionName":"setHasTickScheduled","ranges":[{"startOffset":1059,"endOffset":1145,"count":2},{"startOffset":1135,"endOffset":1138,"count":1},{"startOffset":1139,"endOffset":1142,"count":1}],"isBlockCoverage":true},{"functionName":"runNextTicks","ranges":[{"startOffset":1247,"endOffset":1443,"count":0}],"isBlockCoverage":false},{"functionName":"processTicksAndRejections","ranges":[{"startOffset":1445,"endOffset":2424,"count":1},{"startOffset":1547,"endOffset":2279,"count":2},{"startOffset":1781,"endOffset":2155,"count":0},{"startOffset":2217,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"nextTick","ranges":[{"startOffset":2568,"endOffset":3442,"count":2},{"startOffset":2669,"endOffset":2676,"count":0},{"startOffset":2743,"endOffset":2780,"count":0},{"startOffset":2785,"endOffset":2836,"count":0},{"startOffset":2841,"endOffset":2906,"count":0},{"startOffset":2911,"endOffset":3054,"count":0},{"startOffset":3083,"endOffset":3109,"count":1},{"startOffset":3354,"endOffset":3414,"count":0}],"isBlockCoverage":true},{"functionName":"runMicrotask","ranges":[{"startOffset":3444,"endOffset":3620,"count":0}],"isBlockCoverage":false},{"functionName":"queueMicrotask","ranges":[{"startOffset":3692,"endOffset":3981,"count":0}],"isBlockCoverage":false},{"functionName":"setupTaskQueue","ranges":[{"startOffset":4004,"endOffset":4262,"count":1}],"isBlockCoverage":true}]},{"scriptId":"101","url":"node:internal/process/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11045,"count":1}],"isBlockCoverage":false},{"functionName":"setHasRejectionToWarn","ranges":[{"startOffset":2155,"endOffset":2245,"count":1},{"startOffset":2235,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"hasRejectionToWarn","ranges":[{"startOffset":2247,"endOffset":2326,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorLike","ranges":[{"startOffset":2328,"endOffset":2464,"count":0}],"isBlockCoverage":false},{"functionName":"getUnhandledRejectionsMode","ranges":[{"startOffset":2466,"endOffset":2999,"count":0}],"isBlockCoverage":false},{"functionName":"promiseRejectHandler","ranges":[{"startOffset":3001,"endOffset":3570,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3619,"endOffset":3627,"count":0}],"isBlockCoverage":false},{"functionName":"resolveError","ranges":[{"startOffset":3698,"endOffset":3995,"count":0}],"isBlockCoverage":false},{"functionName":"unhandledRejection","ranges":[{"startOffset":3997,"endOffset":4557,"count":0}],"isBlockCoverage":false},{"functionName":"handledRejection","ranges":[{"startOffset":4559,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionWarning","ranges":[{"startOffset":5462,"endOffset":6499,"count":0}],"isBlockCoverage":false},{"functionName":"processPromiseRejections","ranges":[{"startOffset":6672,"endOffset":9849,"count":1},{"startOffset":6830,"endOffset":7009,"count":0},{"startOffset":7074,"endOffset":9753,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithoutStack","ranges":[{"startOffset":9851,"endOffset":10366,"count":0}],"isBlockCoverage":false},{"functionName":"generateUnhandledRejectionError","ranges":[{"startOffset":10368,"endOffset":10838,"count":0}],"isBlockCoverage":false},{"functionName":"listenForRejections","ranges":[{"startOffset":10840,"endOffset":10924,"count":1}],"isBlockCoverage":true}]},{"scriptId":"102","url":"node:internal/fixed_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4208,"count":1}],"isBlockCoverage":false},{"functionName":"FixedCircularBuffer","ranges":[{"startOffset":2959,"endOffset":3073,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3077,"endOffset":3129,"count":6}],"isBlockCoverage":true},{"functionName":"isFull","ranges":[{"startOffset":3133,"endOffset":3200,"count":2}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3204,"endOffset":3291,"count":2}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3295,"endOffset":3510,"count":3},{"startOffset":3388,"endOffset":3400,"count":1},{"startOffset":3400,"endOffset":3509,"count":2}],"isBlockCoverage":true},{"functionName":"FixedQueue","ranges":[{"startOffset":3552,"endOffset":3626,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3630,"endOffset":3677,"count":3}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3681,"endOffset":3945,"count":2},{"startOffset":3722,"endOffset":3915,"count":0}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3949,"endOffset":4204,"count":3},{"startOffset":4041,"endOffset":4062,"count":2},{"startOffset":4064,"endOffset":4183,"count":0}],"isBlockCoverage":true}]},{"scriptId":"103","url":"node:async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10295,"count":1}],"isBlockCoverage":false},{"functionName":"AsyncHook","ranges":[{"startOffset":1538,"endOffset":2372,"count":1},{"startOffset":1666,"endOffset":1708,"count":0},{"startOffset":1738,"endOffset":1769,"count":0},{"startOffset":1777,"endOffset":1821,"count":0},{"startOffset":1850,"endOffset":1880,"count":0},{"startOffset":1888,"endOffset":1931,"count":0},{"startOffset":1962,"endOffset":1994,"count":0},{"startOffset":2002,"endOffset":2047,"count":0},{"startOffset":2085,"endOffset":2124,"count":0},{"startOffset":2132,"endOffset":2184,"count":0}],"isBlockCoverage":true},{"functionName":"enable","ranges":[{"startOffset":2376,"endOffset":3621,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":3625,"endOffset":4409,"count":0}],"isBlockCoverage":false},{"functionName":"createHook","ranges":[{"startOffset":4414,"endOffset":4471,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncResource","ranges":[{"startOffset":4564,"endOffset":5761,"count":0}],"isBlockCoverage":false},{"functionName":"runInAsyncScope","ranges":[{"startOffset":5765,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":6085,"endOffset":6260,"count":0}],"isBlockCoverage":false},{"functionName":"asyncId","ranges":[{"startOffset":6264,"endOffset":6313,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":6317,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":6385,"endOffset":7421,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":7432,"endOffset":7569,"count":0}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":7632,"endOffset":7920,"count":0}],"isBlockCoverage":false},{"functionName":"AsyncLocalStorage","ranges":[{"startOffset":7955,"endOffset":8052,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":8063,"endOffset":8112,"count":0}],"isBlockCoverage":false},{"functionName":"snapshot","ranges":[{"startOffset":8123,"endOffset":8204,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":8208,"endOffset":8533,"count":0}],"isBlockCoverage":false},{"functionName":"_enable","ranges":[{"startOffset":8537,"endOffset":8683,"count":0}],"isBlockCoverage":false},{"functionName":"_propagate","ranges":[{"startOffset":8752,"endOffset":8932,"count":0}],"isBlockCoverage":false},{"functionName":"enterWith","ranges":[{"startOffset":8936,"endOffset":9068,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":9072,"endOffset":9570,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":9574,"endOffset":9806,"count":0}],"isBlockCoverage":false},{"functionName":"getStore","ranges":[{"startOffset":9810,"endOffset":9949,"count":0}],"isBlockCoverage":false}]},{"scriptId":"104","url":"node:timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9640,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1819,"endOffset":1844,"count":1}],"isBlockCoverage":true},{"functionName":"unenroll","ranges":[{"startOffset":2343,"endOffset":3527,"count":2},{"startOffset":2396,"endOffset":2403,"count":0},{"startOffset":2463,"endOffset":2509,"count":0},{"startOffset":2600,"endOffset":2638,"count":0},{"startOffset":2644,"endOffset":2679,"count":0}],"isBlockCoverage":true},{"functionName":"enroll","ranges":[{"startOffset":3734,"endOffset":3987,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":4229,"endOffset":4886,"count":3},{"startOffset":4396,"endOffset":4403,"count":0},{"startOffset":4433,"endOffset":4474,"count":0},{"startOffset":4479,"endOffset":4526,"count":0},{"startOffset":4531,"endOffset":4752,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4981,"endOffset":5106,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimeout","ranges":[{"startOffset":5206,"endOffset":5572,"count":6},{"startOffset":5249,"endOffset":5268,"count":2},{"startOffset":5270,"endOffset":5337,"count":2},{"startOffset":5337,"endOffset":5398,"count":4},{"startOffset":5400,"endOffset":5570,"count":0}],"isBlockCoverage":true},{"functionName":"setInterval","ranges":[{"startOffset":5809,"endOffset":6468,"count":0}],"isBlockCoverage":false},{"functionName":"clearInterval","ranges":[{"startOffset":6565,"endOffset":6863,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.close","ranges":[{"startOffset":6891,"endOffset":6942,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":6980,"endOffset":7016,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":7126,"endOffset":7287,"count":0}],"isBlockCoverage":false},{"functionName":"setImmediate","ranges":[{"startOffset":7504,"endOffset":8057,"count":1},{"startOffset":7691,"endOffset":7732,"count":0},{"startOffset":7737,"endOffset":7784,"count":0},{"startOffset":7789,"endOffset":8010,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8154,"endOffset":8281,"count":0}],"isBlockCoverage":false},{"functionName":"clearImmediate","ranges":[{"startOffset":8372,"endOffset":8922,"count":0}],"isBlockCoverage":false},{"functionName":"Immediate.","ranges":[{"startOffset":8961,"endOffset":8999,"count":0}],"isBlockCoverage":false}]},{"scriptId":"105","url":"node:internal/process/execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6918,"count":1}],"isBlockCoverage":false},{"functionName":"tryGetCwd","ranges":[{"startOffset":681,"endOffset":1011,"count":1},{"startOffset":742,"endOffset":1009,"count":0}],"isBlockCoverage":true},{"functionName":"evalModule","ranges":[{"startOffset":1013,"endOffset":1407,"count":0}],"isBlockCoverage":false},{"functionName":"evalScript","ranges":[{"startOffset":1409,"endOffset":3230,"count":0}],"isBlockCoverage":false},{"functionName":"setUncaughtExceptionCaptureCallback","ranges":[{"startOffset":3308,"endOffset":4002,"count":0}],"isBlockCoverage":false},{"functionName":"hasUncaughtExceptionCaptureCallback","ranges":[{"startOffset":4004,"endOffset":4105,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4107,"endOffset":4125,"count":0}],"isBlockCoverage":false},{"functionName":"createOnGlobalUncaughtException","ranges":[{"startOffset":4668,"endOffset":6491,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4937,"endOffset":6488,"count":0}],"isBlockCoverage":false},{"functionName":"readStdin","ranges":[{"startOffset":6493,"endOffset":6698,"count":0}],"isBlockCoverage":false}]},{"scriptId":"106","url":"node:path","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":46851,"count":1}],"isBlockCoverage":false},{"functionName":"isPathSeparator","ranges":[{"startOffset":1719,"endOffset":1823,"count":0}],"isBlockCoverage":false},{"functionName":"isPosixPathSeparator","ranges":[{"startOffset":1825,"endOffset":1902,"count":440831}],"isBlockCoverage":true},{"functionName":"isWindowsDeviceRoot","ranges":[{"startOffset":1904,"endOffset":2074,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeString","ranges":[{"startOffset":2137,"endOffset":4085,"count":5901},{"startOffset":2354,"endOffset":4069,"count":440261},{"startOffset":2387,"endOffset":2429,"count":434360},{"startOffset":2429,"endOffset":2520,"count":5901},{"startOffset":2472,"endOffset":2478,"count":5331},{"startOffset":2478,"endOffset":2520,"count":570},{"startOffset":2520,"endOffset":2553,"count":434930},{"startOffset":2553,"endOffset":3970,"count":54026},{"startOffset":2585,"endOffset":2598,"count":46006},{"startOffset":2600,"endOffset":2625,"count":9028},{"startOffset":2625,"endOffset":3927,"count":44998},{"startOffset":2647,"endOffset":3682,"count":148},{"startOffset":2676,"endOffset":2702,"count":80},{"startOffset":2703,"endOffset":2777,"count":5},{"startOffset":2778,"endOffset":2852,"count":5},{"startOffset":2854,"endOffset":3542,"count":143},{"startOffset":2886,"endOffset":3363,"count":75},{"startOffset":3006,"endOffset":3082,"count":0},{"startOffset":3363,"endOffset":3532,"count":68},{"startOffset":3391,"endOffset":3532,"count":0},{"startOffset":3542,"endOffset":3674,"count":73},{"startOffset":3605,"endOffset":3623,"count":5},{"startOffset":3624,"endOffset":3630,"count":68},{"startOffset":3682,"endOffset":3927,"count":44850},{"startOffset":3728,"endOffset":3797,"count":39017},{"startOffset":3797,"endOffset":3872,"count":5833},{"startOffset":3927,"endOffset":3970,"count":53951},{"startOffset":3970,"endOffset":4065,"count":380904},{"startOffset":3998,"endOffset":4012,"count":5521},{"startOffset":4014,"endOffset":4035,"count":1308},{"startOffset":4035,"endOffset":4065,"count":379596}],"isBlockCoverage":true},{"functionName":"formatExt","ranges":[{"startOffset":4087,"endOffset":4172,"count":0}],"isBlockCoverage":false},{"functionName":"_format","ranges":[{"startOffset":4350,"endOffset":4685,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":4803,"endOffset":9588,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":9654,"endOffset":12725,"count":0}],"isBlockCoverage":false},{"functionName":"isAbsolute","ranges":[{"startOffset":12792,"endOffset":13208,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13277,"endOffset":15423,"count":0}],"isBlockCoverage":false},{"functionName":"relative","ranges":[{"startOffset":15719,"endOffset":19486,"count":0}],"isBlockCoverage":false},{"functionName":"toNamespacedPath","ranges":[{"startOffset":19552,"endOffset":20654,"count":0}],"isBlockCoverage":false},{"functionName":"dirname","ranges":[{"startOffset":20720,"endOffset":23266,"count":0}],"isBlockCoverage":false},{"functionName":"basename","ranges":[{"startOffset":23362,"endOffset":26136,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":26202,"endOffset":28275,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":28497,"endOffset":33253,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33339,"endOffset":33782,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33526,"endOffset":33683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33760,"endOffset":33779,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":33904,"endOffset":34827,"count":5331},{"startOffset":34027,"endOffset":34047,"count":14399},{"startOffset":34054,"endOffset":34381,"count":9068},{"startOffset":34092,"endOffset":34104,"count":0},{"startOffset":34207,"endOffset":34234,"count":0},{"startOffset":34766,"endOffset":34816,"count":0},{"startOffset":34817,"endOffset":34822,"count":0}],"isBlockCoverage":true},{"functionName":"normalize","ranges":[{"startOffset":34893,"endOffset":35506,"count":570},{"startOffset":34979,"endOffset":34990,"count":0},{"startOffset":35318,"endOffset":35412,"count":0},{"startOffset":35446,"endOffset":35458,"count":0},{"startOffset":35482,"endOffset":35494,"count":3},{"startOffset":35495,"endOffset":35501,"count":567}],"isBlockCoverage":true},{"functionName":"isAbsolute","ranges":[{"startOffset":35573,"endOffset":35729,"count":889}],"isBlockCoverage":true},{"functionName":"join","ranges":[{"startOffset":35798,"endOffset":36212,"count":3},{"startOffset":35847,"endOffset":35858,"count":0},{"startOffset":35917,"endOffset":36124,"count":6},{"startOffset":36053,"endOffset":36110,"count":3},{"startOffset":36161,"endOffset":36172,"count":0}],"isBlockCoverage":true},{"functionName":"relative","ranges":[{"startOffset":36302,"endOffset":38662,"count":2},{"startOffset":36415,"endOffset":36425,"count":0},{"startOffset":36552,"endOffset":36562,"count":0},{"startOffset":36835,"endOffset":36842,"count":0},{"startOffset":36916,"endOffset":37151,"count":70},{"startOffset":37064,"endOffset":37070,"count":0},{"startOffset":37127,"endOffset":37145,"count":6},{"startOffset":37483,"endOffset":37665,"count":0},{"startOffset":37673,"endOffset":38130,"count":0},{"startOffset":38136,"endOffset":38661,"count":0}],"isBlockCoverage":true},{"functionName":"toNamespacedPath","ranges":[{"startOffset":38728,"endOffset":38804,"count":4422}],"isBlockCoverage":true},{"functionName":"dirname","ranges":[{"startOffset":38870,"endOffset":39546,"count":2358},{"startOffset":38953,"endOffset":38964,"count":0},{"startOffset":39138,"endOffset":39391,"count":29043},{"startOffset":39209,"endOffset":39293,"count":2358},{"startOffset":39293,"endOffset":39385,"count":26685},{"startOffset":39419,"endOffset":39446,"count":0},{"startOffset":39483,"endOffset":39495,"count":0}],"isBlockCoverage":true},{"functionName":"basename","ranges":[{"startOffset":39642,"endOffset":42069,"count":562},{"startOffset":39703,"endOffset":39733,"count":0},{"startOffset":39865,"endOffset":39885,"count":0},{"startOffset":39886,"endOffset":39917,"count":0},{"startOffset":39919,"endOffset":41443,"count":0},{"startOffset":41491,"endOffset":41976,"count":7086},{"startOffset":41562,"endOffset":41786,"count":562},{"startOffset":41786,"endOffset":41970,"count":6524},{"startOffset":41808,"endOffset":41970,"count":562},{"startOffset":42004,"endOffset":42014,"count":0}],"isBlockCoverage":true},{"functionName":"extname","ranges":[{"startOffset":42135,"endOffset":43825,"count":1},{"startOffset":42468,"endOffset":43430,"count":13},{"startOffset":42564,"endOffset":42810,"count":1},{"startOffset":42784,"endOffset":42810,"count":0},{"startOffset":42810,"endOffset":42833,"count":12},{"startOffset":42833,"endOffset":42990,"count":1},{"startOffset":42990,"endOffset":43020,"count":12},{"startOffset":43020,"endOffset":43220,"count":1},{"startOffset":43149,"endOffset":43212,"count":0},{"startOffset":43220,"endOffset":43424,"count":11},{"startOffset":43247,"endOffset":43424,"count":7},{"startOffset":43669,"endOffset":43701,"count":0},{"startOffset":43702,"endOffset":43740,"count":0},{"startOffset":43743,"endOffset":43767,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":44052,"endOffset":46524,"count":0}],"isBlockCoverage":false}]},{"scriptId":"107","url":"node:internal/constants","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1583,"count":1}],"isBlockCoverage":false}]},{"scriptId":"108","url":"node:internal/process/warning","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5379,"count":1}],"isBlockCoverage":false},{"functionName":"resetForSerialization","ranges":[{"startOffset":448,"endOffset":645,"count":0}],"isBlockCoverage":false},{"functionName":"lazyOption","ranges":[{"startOffset":647,"endOffset":1201,"count":0}],"isBlockCoverage":false},{"functionName":"writeOut","ranges":[{"startOffset":1302,"endOffset":1424,"count":0}],"isBlockCoverage":false},{"functionName":"closeFdOnExit","ranges":[{"startOffset":1426,"endOffset":1537,"count":0}],"isBlockCoverage":false},{"functionName":"writeToFile","ranges":[{"startOffset":1539,"endOffset":1868,"count":0}],"isBlockCoverage":false},{"functionName":"doEmitWarning","ranges":[{"startOffset":1870,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"onWarning","ranges":[{"startOffset":1943,"endOffset":3092,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarning","ranges":[{"startOffset":3215,"endOffset":4406,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarningSync","ranges":[{"startOffset":4408,"endOffset":4538,"count":0}],"isBlockCoverage":false},{"functionName":"createWarningObject","ranges":[{"startOffset":4540,"endOffset":5283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"109","url":"node:internal/source_map/source_map_cache","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10127,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":357,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":824,"endOffset":939,"count":1}],"isBlockCoverage":true},{"functionName":"getSourceMapsEnabled","ranges":[{"startOffset":1596,"endOffset":1659,"count":93}],"isBlockCoverage":true},{"functionName":"setSourceMapsEnabled","ranges":[{"startOffset":1661,"endOffset":2203,"count":1},{"startOffset":1924,"endOffset":2173,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceURLMagicComment","ranges":[{"startOffset":2205,"endOffset":2805,"count":29},{"startOffset":2507,"endOffset":2540,"count":0},{"startOffset":2593,"endOffset":2729,"count":0},{"startOffset":2731,"endOffset":2804,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceMapURLMagicComment","ranges":[{"startOffset":2807,"endOffset":3250,"count":58},{"startOffset":3128,"endOffset":3156,"count":0},{"startOffset":3204,"endOffset":3249,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheSourceMap","ranges":[{"startOffset":3252,"endOffset":5023,"count":85},{"startOffset":3454,"endOffset":3474,"count":0},{"startOffset":3477,"endOffset":3484,"count":0},{"startOffset":3618,"endOffset":3742,"count":0},{"startOffset":3778,"endOffset":3844,"count":58},{"startOffset":3933,"endOffset":3950,"count":58},{"startOffset":3950,"endOffset":4122,"count":27},{"startOffset":4123,"endOffset":4137,"count":0},{"startOffset":4164,"endOffset":4349,"count":0},{"startOffset":4349,"endOffset":5021,"count":27},{"startOffset":4378,"endOffset":4644,"count":0},{"startOffset":4963,"endOffset":5017,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheGeneratedSourceMap","ranges":[{"startOffset":5025,"endOffset":5553,"count":2},{"startOffset":5163,"endOffset":5183,"count":0},{"startOffset":5186,"endOffset":5193,"count":0},{"startOffset":5297,"endOffset":5551,"count":0}],"isBlockCoverage":true},{"functionName":"dataFromUrl","ranges":[{"startOffset":5555,"endOffset":6075,"count":27},{"startOffset":5692,"endOffset":5767,"count":18},{"startOffset":5774,"endOffset":5854,"count":0},{"startOffset":5865,"endOffset":6073,"count":9}],"isBlockCoverage":true},{"functionName":"lineLengths","ranges":[{"startOffset":6265,"endOffset":6610,"count":27}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6567,"endOffset":6606,"count":3512}],"isBlockCoverage":true},{"functionName":"sourceMapFromFile","ranges":[{"startOffset":6612,"endOffset":6892,"count":9},{"startOffset":6840,"endOffset":6890,"count":0}],"isBlockCoverage":true},{"functionName":"sourceMapFromDataUrl","ranges":[{"startOffset":6986,"endOffset":7657,"count":18},{"startOffset":7389,"endOffset":7395,"count":0},{"startOffset":7517,"endOffset":7573,"count":0},{"startOffset":7577,"endOffset":7655,"count":0}],"isBlockCoverage":true},{"functionName":"sourcesToAbsolute","ranges":[{"startOffset":7842,"endOffset":8169,"count":27}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7920,"endOffset":8026,"count":27}],"isBlockCoverage":true},{"functionName":"sourceMapCacheToObject","ranges":[{"startOffset":8607,"endOffset":8855,"count":0}],"isBlockCoverage":false},{"functionName":"appendCJSCache","ranges":[{"startOffset":8857,"endOffset":9083,"count":0}],"isBlockCoverage":false},{"functionName":"findSourceMap","ranges":[{"startOffset":9085,"endOffset":9957,"count":1},{"startOffset":9499,"endOffset":9692,"count":0},{"startOffset":9751,"endOffset":9956,"count":0}],"isBlockCoverage":true}]},{"scriptId":"110","url":"node:internal/url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43440,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBlob","ranges":[{"startOffset":2768,"endOffset":2843,"count":0}],"isBlockCoverage":false},{"functionName":"lazyCryptoRandom","ranges":[{"startOffset":2845,"endOffset":3079,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3462,"endOffset":4251,"count":1313}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3589,"endOffset":3617,"count":1}],"isBlockCoverage":false},{"functionName":"get hasPort","ranges":[{"startOffset":4030,"endOffset":4095,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSearch","ranges":[{"startOffset":4099,"endOffset":4174,"count":1623}],"isBlockCoverage":true},{"functionName":"get hasHash","ranges":[{"startOffset":4178,"endOffset":4249,"count":1623}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4337,"endOffset":6674,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7067,"endOffset":19940,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7158,"endOffset":7494,"count":1}],"isBlockCoverage":false},{"functionName":"setURLSearchParamsContext","ranges":[{"startOffset":7199,"endOffset":7246,"count":0}],"isBlockCoverage":false},{"functionName":"getURLSearchParamsList","ranges":[{"startOffset":7277,"endOffset":7303,"count":0}],"isBlockCoverage":false},{"functionName":"setURLSearchParams","ranges":[{"startOffset":7330,"endOffset":7489,"count":0}],"isBlockCoverage":false},{"functionName":"isURL","ranges":[{"startOffset":21271,"endOffset":21396,"count":2095},{"startOffset":21322,"endOffset":21338,"count":747},{"startOffset":21339,"endOffset":21365,"count":747},{"startOffset":21366,"endOffset":21392,"count":747}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21398,"endOffset":29200,"count":1466}],"isBlockCoverage":false},{"functionName":"URL","ranges":[{"startOffset":21461,"endOffset":21761,"count":1466},{"startOffset":21532,"endOffset":21580,"count":0},{"startOffset":21669,"endOffset":21700,"count":703}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21765,"endOffset":22485,"count":0}],"isBlockCoverage":false},{"functionName":"#updateContext","ranges":[{"startOffset":22489,"endOffset":23396,"count":1565},{"startOffset":23205,"endOffset":23392,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":23400,"endOffset":23447,"count":539}],"isBlockCoverage":true},{"functionName":"get href","ranges":[{"startOffset":23451,"endOffset":23498,"count":1060}],"isBlockCoverage":true},{"functionName":"set href","ranges":[{"startOffset":23502,"endOffset":23711,"count":0}],"isBlockCoverage":false},{"functionName":"get origin","ranges":[{"startOffset":23729,"endOffset":24598,"count":0}],"isBlockCoverage":false},{"functionName":"get protocol","ranges":[{"startOffset":24602,"endOffset":24706,"count":2243}],"isBlockCoverage":true},{"functionName":"set protocol","ranges":[{"startOffset":24710,"endOffset":24883,"count":0}],"isBlockCoverage":false},{"functionName":"get username","ranges":[{"startOffset":24887,"endOffset":25114,"count":0}],"isBlockCoverage":false},{"functionName":"set username","ranges":[{"startOffset":25118,"endOffset":25291,"count":0}],"isBlockCoverage":false},{"functionName":"get password","ranges":[{"startOffset":25295,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"set password","ranges":[{"startOffset":25522,"endOffset":25695,"count":0}],"isBlockCoverage":false},{"functionName":"get host","ranges":[{"startOffset":25699,"endOffset":26130,"count":0}],"isBlockCoverage":false},{"functionName":"set host","ranges":[{"startOffset":26134,"endOffset":26299,"count":0}],"isBlockCoverage":false},{"functionName":"get hostname","ranges":[{"startOffset":26303,"endOffset":26585,"count":699},{"startOffset":26469,"endOffset":26494,"count":0}],"isBlockCoverage":true},{"functionName":"set hostname","ranges":[{"startOffset":26589,"endOffset":26762,"count":0}],"isBlockCoverage":false},{"functionName":"get port","ranges":[{"startOffset":26766,"endOffset":26874,"count":0}],"isBlockCoverage":false},{"functionName":"set port","ranges":[{"startOffset":26878,"endOffset":27043,"count":0}],"isBlockCoverage":false},{"functionName":"get pathname","ranges":[{"startOffset":27047,"endOffset":27339,"count":1516},{"startOffset":27113,"endOffset":27163,"count":0},{"startOffset":27196,"endOffset":27244,"count":0}],"isBlockCoverage":true},{"functionName":"set pathname","ranges":[{"startOffset":27343,"endOffset":27516,"count":0}],"isBlockCoverage":false},{"functionName":"get search","ranges":[{"startOffset":27520,"endOffset":27855,"count":107},{"startOffset":27583,"endOffset":27854,"count":0}],"isBlockCoverage":true},{"functionName":"set search","ranges":[{"startOffset":27859,"endOffset":28036,"count":107}],"isBlockCoverage":true},{"functionName":"get searchParams","ranges":[{"startOffset":28054,"endOffset":28353,"count":0}],"isBlockCoverage":false},{"functionName":"get hash","ranges":[{"startOffset":28357,"endOffset":28572,"count":107},{"startOffset":28401,"endOffset":28463,"count":0},{"startOffset":28489,"endOffset":28571,"count":0}],"isBlockCoverage":true},{"functionName":"set hash","ranges":[{"startOffset":28576,"endOffset":28741,"count":107}],"isBlockCoverage":true},{"functionName":"toJSON","ranges":[{"startOffset":28745,"endOffset":28790,"count":0}],"isBlockCoverage":false},{"functionName":"canParse","ranges":[{"startOffset":28801,"endOffset":29198,"count":0}],"isBlockCoverage":false},{"functionName":"installObjectURLMethods","ranges":[{"startOffset":29910,"endOffset":30849,"count":1}],"isBlockCoverage":true},{"functionName":"createObjectURL","ranges":[{"startOffset":29997,"endOffset":30416,"count":0}],"isBlockCoverage":false},{"functionName":"revokeObjectURL","ranges":[{"startOffset":30420,"endOffset":30498,"count":0}],"isBlockCoverage":false},{"functionName":"parseParams","ranges":[{"startOffset":30958,"endOffset":33306,"count":0}],"isBlockCoverage":false},{"functionName":"serializeParams","ranges":[{"startOffset":34286,"endOffset":34846,"count":0}],"isBlockCoverage":false},{"functionName":"merge","ranges":[{"startOffset":34866,"endOffset":35496,"count":0}],"isBlockCoverage":false},{"functionName":"domainToASCII","ranges":[{"startOffset":35498,"endOffset":35683,"count":0}],"isBlockCoverage":false},{"functionName":"domainToUnicode","ranges":[{"startOffset":35685,"endOffset":35874,"count":0}],"isBlockCoverage":false},{"functionName":"urlToHttpOptions","ranges":[{"startOffset":36084,"endOffset":36785,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLWin32","ranges":[{"startOffset":36787,"endOffset":38284,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLPosix","ranges":[{"startOffset":38286,"endOffset":38807,"count":699},{"startOffset":38349,"endOffset":38405,"count":0},{"startOffset":38483,"endOffset":38766,"count":53292},{"startOffset":38514,"endOffset":38762,"count":0}],"isBlockCoverage":true},{"functionName":"fileURLToPath","ranges":[{"startOffset":38809,"endOffset":39148,"count":699},{"startOffset":38876,"endOffset":38897,"count":36},{"startOffset":38897,"endOffset":38991,"count":663},{"startOffset":38927,"endOffset":38991,"count":0},{"startOffset":39029,"endOffset":39070,"count":0},{"startOffset":39090,"endOffset":39117,"count":0}],"isBlockCoverage":true},{"functionName":"encodePathChars","ranges":[{"startOffset":39961,"endOffset":40737,"count":198},{"startOffset":40054,"endOffset":40125,"count":0},{"startOffset":40253,"endOffset":40326,"count":0},{"startOffset":40384,"endOffset":40455,"count":0},{"startOffset":40513,"endOffset":40591,"count":0},{"startOffset":40649,"endOffset":40716,"count":0}],"isBlockCoverage":true},{"functionName":"pathToFileURL","ranges":[{"startOffset":40739,"endOffset":42716,"count":198},{"startOffset":40790,"endOffset":40836,"count":0},{"startOffset":40838,"endOffset":41603,"count":0},{"startOffset":41885,"endOffset":41946,"count":197},{"startOffset":41906,"endOffset":41945,"count":0},{"startOffset":41948,"endOffset":41999,"count":1},{"startOffset":42005,"endOffset":42021,"count":1},{"startOffset":42477,"endOffset":42549,"count":0},{"startOffset":42606,"endOffset":42674,"count":0}],"isBlockCoverage":true},{"functionName":"toPathIfFileURL","ranges":[{"startOffset":42718,"endOffset":42855,"count":1408},{"startOffset":42793,"endOffset":42814,"count":1324},{"startOffset":42814,"endOffset":42854,"count":84}],"isBlockCoverage":true},{"functionName":"getURLOrigin","ranges":[{"startOffset":43042,"endOffset":43108,"count":0}],"isBlockCoverage":false}]},{"scriptId":"111","url":"node:internal/querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3316,"count":1}],"isBlockCoverage":false},{"functionName":"encodeStr","ranges":[{"startOffset":1534,"endOffset":3253,"count":0}],"isBlockCoverage":false}]},{"scriptId":"112","url":"node:querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14583,"count":1}],"isBlockCoverage":false},{"functionName":"unescapeBuffer","ranges":[{"startOffset":3146,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"qsUnescape","ranges":[{"startOffset":4400,"endOffset":4565,"count":0}],"isBlockCoverage":false},{"functionName":"qsEscape","ranges":[{"startOffset":5418,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"stringifyPrimitive","ranges":[{"startOffset":5719,"endOffset":5989,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringified","ranges":[{"startOffset":6110,"endOffset":6599,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringifiedCustom","ranges":[{"startOffset":6718,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":7065,"endOffset":8131,"count":0}],"isBlockCoverage":false},{"functionName":"charCodes","ranges":[{"startOffset":8187,"endOffset":8455,"count":0}],"isBlockCoverage":false},{"functionName":"addKeyVal","ranges":[{"startOffset":8518,"endOffset":9141,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":9392,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"decodeStr","ranges":[{"startOffset":14459,"endOffset":14582,"count":0}],"isBlockCoverage":false}]},{"scriptId":"113","url":"node:internal/bootstrap/web/exposed-wildcard","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3439,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":900,"endOffset":1129,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1153,"endOffset":1265,"count":0}],"isBlockCoverage":false},{"functionName":"createGlobalConsole","ranges":[{"startOffset":1898,"endOffset":2437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"114","url":"node:internal/console/global","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1814,"count":1}],"isBlockCoverage":false}]},{"scriptId":"115","url":"node:internal/console/constructor","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21601,"count":1}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1875,"endOffset":1975,"count":0}],"isBlockCoverage":false},{"functionName":"Console","ranges":[{"startOffset":2721,"endOffset":4813,"count":1},{"startOffset":2999,"endOffset":3053,"count":0},{"startOffset":3110,"endOffset":3223,"count":0},{"startOffset":3428,"endOffset":3486,"count":0},{"startOffset":3540,"endOffset":3598,"count":0},{"startOffset":3637,"endOffset":3660,"count":0},{"startOffset":3666,"endOffset":3722,"count":0},{"startOffset":3762,"endOffset":3871,"count":0},{"startOffset":3909,"endOffset":4215,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4331,"endOffset":4697,"count":19}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5042,"endOffset":5096,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5366,"endOffset":5607,"count":1}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5832,"endOffset":6477,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6041,"endOffset":6136,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6148,"endOffset":6178,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6308,"endOffset":6407,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6419,"endOffset":6449,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":6569,"endOffset":7977,"count":2}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":8069,"endOffset":9521,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":9616,"endOffset":10026,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10119,"endOffset":10299,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10392,"endOffset":10572,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteErrorHandler","ranges":[{"startOffset":10662,"endOffset":11551,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10730,"endOffset":11548,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":11580,"endOffset":11667,"count":0}],"isBlockCoverage":false},{"functionName":"warn","ranges":[{"startOffset":11673,"endOffset":11761,"count":0}],"isBlockCoverage":false},{"functionName":"dir","ranges":[{"startOffset":11767,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"time","ranges":[{"startOffset":11958,"endOffset":12316,"count":0}],"isBlockCoverage":false},{"functionName":"timeEnd","ranges":[{"startOffset":12321,"endOffset":12610,"count":0}],"isBlockCoverage":false},{"functionName":"timeLog","ranges":[{"startOffset":12615,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"trace","ranges":[{"startOffset":12865,"endOffset":13052,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":13057,"endOffset":13297,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":13358,"endOffset":13830,"count":0}],"isBlockCoverage":false},{"functionName":"count","ranges":[{"startOffset":13891,"endOffset":14347,"count":0}],"isBlockCoverage":false},{"functionName":"countReset","ranges":[{"startOffset":14413,"endOffset":14701,"count":0}],"isBlockCoverage":false},{"functionName":"group","ranges":[{"startOffset":14706,"endOffset":14891,"count":0}],"isBlockCoverage":false},{"functionName":"groupEnd","ranges":[{"startOffset":14896,"endOffset":15065,"count":0}],"isBlockCoverage":false},{"functionName":"table","ranges":[{"startOffset":15114,"endOffset":18432,"count":0}],"isBlockCoverage":false},{"functionName":"timeLogImpl","ranges":[{"startOffset":18473,"endOffset":18992,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":18994,"endOffset":19071,"count":0}],"isBlockCoverage":false},{"functionName":"formatTime","ranges":[{"startOffset":19073,"endOffset":19846,"count":0}],"isBlockCoverage":false},{"functionName":"isArray","ranges":[{"startOffset":19980,"endOffset":20036,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":20039,"endOffset":20057,"count":0}],"isBlockCoverage":false},{"functionName":"initializeGlobalConsole","ranges":[{"startOffset":20425,"endOffset":21464,"count":1},{"startOffset":20793,"endOffset":21463,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21359,"endOffset":21460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"116","url":"node:internal/util/inspector","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3929,"count":1}],"isBlockCoverage":false},{"functionName":"isUsingInspector","ranges":[{"startOffset":698,"endOffset":1081,"count":0}],"isBlockCoverage":false},{"functionName":"getInspectPort","ranges":[{"startOffset":1108,"endOffset":1485,"count":0}],"isBlockCoverage":false},{"functionName":"sendInspectorCommand","ranges":[{"startOffset":1500,"endOffset":2046,"count":0}],"isBlockCoverage":false},{"functionName":"isInspectorMessage","ranges":[{"startOffset":2048,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"installConsoleExtensions","ranges":[{"startOffset":2248,"endOffset":2891,"count":0}],"isBlockCoverage":false},{"functionName":"wrapConsole","ranges":[{"startOffset":2970,"endOffset":3778,"count":1},{"startOffset":3137,"endOffset":3776,"count":24},{"startOffset":3368,"endOffset":3654,"count":19},{"startOffset":3654,"endOffset":3772,"count":5}],"isBlockCoverage":true}]},{"scriptId":"117","url":"node:internal/process/permission","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":919,"count":1}],"isBlockCoverage":false},{"functionName":"isEnabled","ranges":[{"startOffset":315,"endOffset":559,"count":2717},{"startOffset":375,"endOffset":520,"count":1}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":563,"endOffset":913,"count":0}],"isBlockCoverage":false}]},{"scriptId":"118","url":"node:internal/event_target","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31545,"count":1}],"isBlockCoverage":false},{"functionName":"get isTrusted","ranges":[{"startOffset":2074,"endOffset":2130,"count":0}],"isBlockCoverage":false},{"functionName":"isEvent","ranges":[{"startOffset":2268,"endOffset":2340,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2342,"endOffset":7042,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":7039,"count":1}],"isBlockCoverage":false},{"functionName":"isCustomEvent","ranges":[{"startOffset":8173,"endOffset":8267,"count":0}],"isBlockCoverage":false},{"functionName":"CustomEvent","ranges":[{"startOffset":8497,"endOffset":8689,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":8722,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"NodeCustomEvent","ranges":[{"startOffset":9118,"endOffset":9245,"count":0}],"isBlockCoverage":false},{"functionName":"weakListeners","ranges":[{"startOffset":9495,"endOffset":9822,"count":0}],"isBlockCoverage":false},{"functionName":"Listener","ranges":[{"startOffset":10502,"endOffset":11966,"count":13},{"startOffset":10837,"endOffset":10856,"count":0},{"startOffset":10880,"endOffset":10902,"count":0},{"startOffset":10926,"endOffset":10948,"count":0},{"startOffset":11029,"endOffset":11048,"count":0},{"startOffset":11086,"endOffset":11122,"count":0},{"startOffset":11194,"endOffset":11650,"count":0},{"startOffset":11763,"endOffset":11962,"count":0}],"isBlockCoverage":true},{"functionName":"Listener.callback","ranges":[{"startOffset":11793,"endOffset":11923,"count":0}],"isBlockCoverage":false},{"functionName":"get once","ranges":[{"startOffset":11970,"endOffset":12030,"count":6}],"isBlockCoverage":true},{"functionName":"get capture","ranges":[{"startOffset":12033,"endOffset":12099,"count":4}],"isBlockCoverage":true},{"functionName":"get passive","ranges":[{"startOffset":12102,"endOffset":12168,"count":6}],"isBlockCoverage":true},{"functionName":"get isNodeStyleListener","ranges":[{"startOffset":12171,"endOffset":12251,"count":12}],"isBlockCoverage":true},{"functionName":"get weak","ranges":[{"startOffset":12254,"endOffset":12314,"count":39}],"isBlockCoverage":true},{"functionName":"get resistStopPropagation","ranges":[{"startOffset":12317,"endOffset":12411,"count":0}],"isBlockCoverage":false},{"functionName":"get removed","ranges":[{"startOffset":12414,"endOffset":12480,"count":6}],"isBlockCoverage":true},{"functionName":"set removed","ranges":[{"startOffset":12483,"endOffset":12600,"count":17},{"startOffset":12525,"endOffset":12552,"count":4},{"startOffset":12552,"endOffset":12596,"count":13}],"isBlockCoverage":true},{"functionName":"same","ranges":[{"startOffset":12604,"endOffset":12771,"count":16},{"startOffset":12663,"endOffset":12686,"count":0},{"startOffset":12739,"endOffset":12766,"count":4}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":12775,"endOffset":13032,"count":4},{"startOffset":12900,"endOffset":12935,"count":2},{"startOffset":12986,"endOffset":13028,"count":0}],"isBlockCoverage":true},{"functionName":"initEventTarget","ranges":[{"startOffset":13036,"endOffset":13255,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13463,"endOffset":13493,"count":1}],"isBlockCoverage":false},{"functionName":"EventTarget","ranges":[{"startOffset":13498,"endOffset":13544,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13548,"endOffset":14353,"count":13},{"startOffset":13709,"endOffset":13757,"count":0},{"startOffset":13759,"endOffset":14349,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14356,"endOffset":14407,"count":4}],"isBlockCoverage":true},{"functionName":"addEventListener","ranges":[{"startOffset":14796,"endOffset":17514,"count":13},{"startOffset":14891,"endOffset":14933,"count":0},{"startOffset":14970,"endOffset":15017,"count":0},{"startOffset":15409,"endOffset":15862,"count":0},{"startOffset":15926,"endOffset":16310,"count":0},{"startOffset":16381,"endOffset":16873,"count":7},{"startOffset":16873,"endOffset":17028,"count":6},{"startOffset":17028,"endOffset":17063,"count":8},{"startOffset":17065,"endOffset":17128,"count":8},{"startOffset":17128,"endOffset":17161,"count":6},{"startOffset":17161,"endOffset":17203,"count":0},{"startOffset":17203,"endOffset":17513,"count":6}],"isBlockCoverage":true},{"functionName":"signal.addEventListener.__proto__","ranges":[{"startOffset":16141,"endOffset":16215,"count":0}],"isBlockCoverage":false},{"functionName":"removeEventListener","ranges":[{"startOffset":17672,"endOffset":18513,"count":4},{"startOffset":17770,"endOffset":17812,"count":0},{"startOffset":17849,"endOffset":17896,"count":0},{"startOffset":17945,"endOffset":17952,"count":0},{"startOffset":18151,"endOffset":18158,"count":0},{"startOffset":18223,"endOffset":18509,"count":8},{"startOffset":18268,"endOffset":18473,"count":4},{"startOffset":18356,"endOffset":18383,"count":0},{"startOffset":18473,"endOffset":18509,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18517,"endOffset":19138,"count":0}],"isBlockCoverage":false},{"functionName":"dispatchEvent","ranges":[{"startOffset":19180,"endOffset":19641,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19645,"endOffset":21941,"count":4},{"startOffset":19944,"endOffset":20020,"count":0},{"startOffset":20119,"endOffset":20219,"count":0},{"startOffset":20496,"endOffset":21866,"count":6},{"startOffset":20637,"endOffset":20646,"count":0},{"startOffset":20656,"endOffset":20689,"count":0},{"startOffset":20692,"endOffset":21022,"count":0},{"startOffset":21047,"endOffset":21217,"count":0},{"startOffset":21327,"endOffset":21375,"count":0},{"startOffset":21414,"endOffset":21450,"count":0},{"startOffset":21622,"endOffset":21680,"count":0},{"startOffset":21724,"endOffset":21742,"count":0},{"startOffset":21754,"endOffset":21771,"count":0},{"startOffset":21780,"endOffset":21837,"count":0},{"startOffset":21903,"endOffset":21937,"count":0}],"isBlockCoverage":true},{"functionName":"createEvent","ranges":[{"startOffset":19713,"endOffset":19913,"count":0}],"isBlockCoverage":false},{"functionName":"iterationCondition","ranges":[{"startOffset":20296,"endOffset":20461,"count":10},{"startOffset":20337,"endOffset":20368,"count":4},{"startOffset":20368,"endOffset":20427,"count":6},{"startOffset":20428,"endOffset":20454,"count":6},{"startOffset":20436,"endOffset":20445,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21945,"endOffset":22043,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22046,"endOffset":22425,"count":0}],"isBlockCoverage":false},{"functionName":"initNodeEventTarget","ranges":[{"startOffset":22750,"endOffset":22813,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":22899,"endOffset":22930,"count":1}],"isBlockCoverage":false},{"functionName":"NodeEventTarget","ranges":[{"startOffset":22935,"endOffset":22998,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":23037,"endOffset":23191,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":23230,"endOffset":23383,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":23424,"endOffset":23573,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":23638,"endOffset":23847,"count":0}],"isBlockCoverage":false},{"functionName":"off","ranges":[{"startOffset":24037,"endOffset":24230,"count":4},{"startOffset":24108,"endOffset":24154,"count":0}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":24420,"endOffset":24624,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":24755,"endOffset":24960,"count":13},{"startOffset":24816,"endOffset":24862,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":25091,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":25393,"endOffset":25653,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":25784,"endOffset":26029,"count":0}],"isBlockCoverage":false},{"functionName":"removeAllListeners","ranges":[{"startOffset":26105,"endOffset":26360,"count":0}],"isBlockCoverage":false},{"functionName":"validateEventListener","ranges":[{"startOffset":26825,"endOffset":27197,"count":17},{"startOffset":26905,"endOffset":26957,"count":0},{"startOffset":26981,"endOffset":27196,"count":0}],"isBlockCoverage":true},{"functionName":"validateEventListenerOptions","ranges":[{"startOffset":27199,"endOffset":27778,"count":13},{"startOffset":27288,"endOffset":27316,"count":0},{"startOffset":27346,"endOffset":27366,"count":0}],"isBlockCoverage":true},{"functionName":"isEventTarget","ranges":[{"startOffset":28083,"endOffset":28159,"count":17}],"isBlockCoverage":true},{"functionName":"isNodeEventTarget","ranges":[{"startOffset":28161,"endOffset":28245,"count":17}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":28247,"endOffset":28561,"count":0}],"isBlockCoverage":false},{"functionName":"emitUncaughtException","ranges":[{"startOffset":28563,"endOffset":28644,"count":0}],"isBlockCoverage":false},{"functionName":"makeEventHandler","ranges":[{"startOffset":28646,"endOffset":29055,"count":0}],"isBlockCoverage":false},{"functionName":"defineEventHandler","ranges":[{"startOffset":29057,"endOffset":30523,"count":6}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":29217,"endOffset":29353,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":29452,"endOffset":30290,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterMixin","ranges":[{"startOffset":30551,"endOffset":31241,"count":1},{"startOffset":30982,"endOffset":31144,"count":18}],"isBlockCoverage":true},{"functionName":"MixedEventEmitter","ranges":[{"startOffset":30620,"endOffset":30761,"count":58}],"isBlockCoverage":true}]},{"scriptId":"119","url":"node:util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10913,"count":1}],"isBlockCoverage":false},{"functionName":"lazyAbortController","ranges":[{"startOffset":2369,"endOffset":2489,"count":48}],"isBlockCoverage":true},{"functionName":"isBoolean","ranges":[{"startOffset":2600,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"isNull","ranges":[{"startOffset":2746,"endOffset":2793,"count":0}],"isBlockCoverage":false},{"functionName":"isNullOrUndefined","ranges":[{"startOffset":2891,"endOffset":2970,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":3056,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":3174,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbol","ranges":[{"startOffset":3320,"endOffset":3380,"count":0}],"isBlockCoverage":false},{"functionName":"isUndefined","ranges":[{"startOffset":3469,"endOffset":3526,"count":0}],"isBlockCoverage":false},{"functionName":"isObject","ranges":[{"startOffset":3623,"endOffset":3699,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":3782,"endOffset":3885,"count":0}],"isBlockCoverage":false},{"functionName":"isFunction","ranges":[{"startOffset":3973,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"isPrimitive","ranges":[{"startOffset":4172,"endOffset":4291,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":4343,"endOffset":4418,"count":0}],"isBlockCoverage":false},{"functionName":"timestamp","ranges":[{"startOffset":4584,"endOffset":4865,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":5023,"endOffset":5176,"count":0}],"isBlockCoverage":false},{"functionName":"inherits","ranges":[{"startOffset":5909,"endOffset":6547,"count":6},{"startOffset":5994,"endOffset":6051,"count":0},{"startOffset":6110,"endOffset":6177,"count":0},{"startOffset":6220,"endOffset":6350,"count":0}],"isBlockCoverage":true},{"functionName":"_extend","ranges":[{"startOffset":6700,"endOffset":6988,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7036,"endOffset":7461,"count":0}],"isBlockCoverage":false},{"functionName":"callbackify","ranges":[{"startOffset":7714,"endOffset":9211,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorName","ranges":[{"startOffset":9265,"endOffset":9481,"count":0}],"isBlockCoverage":false},{"functionName":"isDeepStrictEqual","ranges":[{"startOffset":9882,"endOffset":10087,"count":0}],"isBlockCoverage":false},{"functionName":"get transferableAbortSignal","ranges":[{"startOffset":10340,"endOffset":10433,"count":16}],"isBlockCoverage":true},{"functionName":"get transferableAbortController","ranges":[{"startOffset":10437,"endOffset":10538,"count":16}],"isBlockCoverage":true},{"functionName":"get aborted","ranges":[{"startOffset":10542,"endOffset":10603,"count":16}],"isBlockCoverage":true}]},{"scriptId":"120","url":"node:internal/webidl","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4636,"count":1}],"isBlockCoverage":false},{"functionName":"evenRound","ranges":[{"startOffset":825,"endOffset":1150,"count":0}],"isBlockCoverage":false},{"functionName":"pow2","ranges":[{"startOffset":1152,"endOffset":1415,"count":0}],"isBlockCoverage":false},{"functionName":"modulo","ranges":[{"startOffset":1527,"endOffset":1641,"count":0}],"isBlockCoverage":false},{"functionName":"convertToInt","ranges":[{"startOffset":1706,"endOffset":4313,"count":0}],"isBlockCoverage":false},{"functionName":"DOMString","ranges":[{"startOffset":4438,"endOffset":4568,"count":17},{"startOffset":4491,"endOffset":4545,"count":0}],"isBlockCoverage":true}]},{"scriptId":"121","url":"node:internal/perf/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":787,"count":1}],"isBlockCoverage":false},{"functionName":"getTimeOrigin","ranges":[{"startOffset":138,"endOffset":316,"count":0}],"isBlockCoverage":false},{"functionName":"now","ranges":[{"startOffset":390,"endOffset":496,"count":0}],"isBlockCoverage":false},{"functionName":"getMilestoneTimestamp","ranges":[{"startOffset":575,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"122","url":"node:internal/bootstrap/web/exposed-window-or-worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2185,"count":1}],"isBlockCoverage":false}]},{"scriptId":"123","url":"node:internal/bootstrap/switches/is_not_main_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1185,"count":1}],"isBlockCoverage":false},{"functionName":"defineStream","ranges":[{"startOffset":119,"endOffset":288,"count":3}],"isBlockCoverage":true},{"functionName":"lazyWorkerStdio","ranges":[{"startOffset":902,"endOffset":1009,"count":23},{"startOffset":951,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"getStdout","ranges":[{"startOffset":1011,"endOffset":1068,"count":8}],"isBlockCoverage":true},{"functionName":"getStderr","ranges":[{"startOffset":1070,"endOffset":1127,"count":9}],"isBlockCoverage":true},{"functionName":"getStdin","ranges":[{"startOffset":1129,"endOffset":1184,"count":6}],"isBlockCoverage":true}]},{"scriptId":"124","url":"node:internal/process/signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":false},{"functionName":"isSignal","ranges":[{"startOffset":238,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"startListeningIfSignal","ranges":[{"startOffset":398,"endOffset":904,"count":0}],"isBlockCoverage":false},{"functionName":"stopListeningIfSignal","ranges":[{"startOffset":906,"endOffset":1101,"count":0}],"isBlockCoverage":false}]},{"scriptId":"125","url":"node:internal/worker/io","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15479,"count":1}],"isBlockCoverage":false},{"functionName":"MessagePort.hasRef","ranges":[{"startOffset":3683,"endOffset":3766,"count":0}],"isBlockCoverage":false},{"functionName":"validateMessagePort","ranges":[{"startOffset":3769,"endOffset":3907,"count":0}],"isBlockCoverage":false},{"functionName":"isMessageEvent","ranges":[{"startOffset":3909,"endOffset":3985,"count":0}],"isBlockCoverage":false},{"functionName":"MessageEvent","ranges":[{"startOffset":4024,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4628,"endOffset":4752,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4862,"endOffset":4988,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5103,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5344,"endOffset":5470,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5579,"endOffset":5704,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5946,"endOffset":6264,"count":0}],"isBlockCoverage":false},{"functionName":"oninit","ranges":[{"startOffset":6403,"endOffset":6546,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortCloseEvent","ranges":[{"startOffset":6848,"endOffset":6887,"count":0}],"isBlockCoverage":false},{"functionName":"onclose","ranges":[{"startOffset":6960,"endOffset":7033,"count":0}],"isBlockCoverage":false},{"functionName":"MessagePort.close","ranges":[{"startOffset":7214,"endOffset":7349,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":7482,"endOffset":8110,"count":0}],"isBlockCoverage":false},{"functionName":"setupPortReferencing","ranges":[{"startOffset":8117,"endOffset":9480,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8478,"endOffset":8573,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8612,"endOffset":8710,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8812,"endOffset":8957,"count":9},{"startOffset":8872,"endOffset":8894,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9068,"endOffset":9215,"count":4},{"startOffset":9128,"endOffset":9149,"count":3}],"isBlockCoverage":true},{"functionName":"newListener","ranges":[{"startOffset":9221,"endOffset":9362,"count":6},{"startOffset":9270,"endOffset":9358,"count":2}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":9366,"endOffset":9478,"count":3},{"startOffset":9418,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"ReadableWorkerStdio","ranges":[{"startOffset":9530,"endOffset":9879,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9708,"endOffset":9873,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":9883,"endOffset":10189,"count":0}],"isBlockCoverage":false},{"functionName":"WritableWorkerStdio","ranges":[{"startOffset":10240,"endOffset":10389,"count":2}],"isBlockCoverage":true},{"functionName":"_writev","ranges":[{"startOffset":10393,"endOffset":10769,"count":0}],"isBlockCoverage":false},{"functionName":"_final","ranges":[{"startOffset":10773,"endOffset":10953,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10957,"endOffset":11204,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11099,"endOffset":11111,"count":0}],"isBlockCoverage":false},{"functionName":"createWorkerStdio","ranges":[{"startOffset":11208,"endOffset":11478,"count":1}],"isBlockCoverage":true},{"functionName":"receiveMessageOnPort","ranges":[{"startOffset":11480,"endOffset":11660,"count":0}],"isBlockCoverage":false},{"functionName":"onMessageEvent","ranges":[{"startOffset":11662,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"isBroadcastChannel","ranges":[{"startOffset":11759,"endOffset":11845,"count":0}],"isBlockCoverage":false},{"functionName":"BroadcastChannel","ranges":[{"startOffset":11932,"endOffset":12446,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12450,"endOffset":12863,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":12899,"endOffset":13028,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13065,"endOffset":13463,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":13531,"endOffset":13941,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":14224,"endOffset":14391,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":14676,"endOffset":14847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"126","url":"node:stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4784,"count":1}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2402,"endOffset":2558,"count":0}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2983,"endOffset":3117,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4105,"endOffset":4137,"count":16}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4235,"endOffset":4276,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4369,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"_uint8ArrayToBuffer","ranges":[{"startOffset":4575,"endOffset":4782,"count":0}],"isBlockCoverage":false}]},{"scriptId":"127","url":"node:internal/streams/operators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10772,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":1019,"endOffset":1599,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":1601,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"asIndexedPairs","ranges":[{"startOffset":4706,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"some","ranges":[{"startOffset":5181,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"every","ranges":[{"startOffset":5331,"endOffset":5659,"count":0}],"isBlockCoverage":false},{"functionName":"find","ranges":[{"startOffset":5661,"endOffset":5803,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":5805,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":6177,"endOffset":6504,"count":0}],"isBlockCoverage":false},{"functionName":"ReduceAwareErrMissingArgs","ranges":[{"startOffset":6720,"endOffset":6834,"count":0}],"isBlockCoverage":false},{"functionName":"reduce","ranges":[{"startOffset":6838,"endOffset":8280,"count":0}],"isBlockCoverage":false},{"functionName":"toArray","ranges":[{"startOffset":8282,"endOffset":8711,"count":0}],"isBlockCoverage":false},{"functionName":"flatMap","ranges":[{"startOffset":8713,"endOffset":8907,"count":0}],"isBlockCoverage":false},{"functionName":"toIntegerOrInfinity","ranges":[{"startOffset":8909,"endOffset":9231,"count":0}],"isBlockCoverage":false},{"functionName":"drop","ranges":[{"startOffset":9233,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"take","ranges":[{"startOffset":9783,"endOffset":10453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"128","url":"node:internal/abort_controller","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12413,"count":1}],"isBlockCoverage":false},{"functionName":"lazyMessageChannel","ranges":[{"startOffset":1574,"endOffset":1707,"count":0}],"isBlockCoverage":false},{"functionName":"lazyMakeTransferable","ranges":[{"startOffset":1709,"endOffset":1867,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":2337,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"validateThisAbortSignal","ranges":[{"startOffset":2598,"endOffset":2723,"count":0}],"isBlockCoverage":false},{"functionName":"setWeakAbortSignalTimeout","ranges":[{"startOffset":3305,"endOffset":3705,"count":0}],"isBlockCoverage":false},{"functionName":"AbortSignal","ranges":[{"startOffset":3749,"endOffset":3809,"count":0}],"isBlockCoverage":false},{"functionName":"get aborted","ranges":[{"startOffset":3846,"endOffset":3929,"count":0}],"isBlockCoverage":false},{"functionName":"get reason","ranges":[{"startOffset":3962,"endOffset":4041,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfAborted","ranges":[{"startOffset":4045,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4165,"endOffset":4294,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":4372,"endOffset":4516,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":4594,"endOffset":4856,"count":0}],"isBlockCoverage":false},{"functionName":"any","ranges":[{"startOffset":4943,"endOffset":6278,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6282,"endOffset":7050,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7408,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7412,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8023,"endOffset":8275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8279,"endOffset":8727,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal","ranges":[{"startOffset":8731,"endOffset":8815,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal.","ranges":[{"startOffset":8860,"endOffset":8868,"count":0}],"isBlockCoverage":false},{"functionName":"createAbortSignal","ranges":[{"startOffset":9346,"endOffset":9759,"count":0}],"isBlockCoverage":false},{"functionName":"abortSignal","ranges":[{"startOffset":9761,"endOffset":10123,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10125,"endOffset":10781,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortSignal","ranges":[{"startOffset":10929,"endOffset":11121,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortController","ranges":[{"startOffset":11193,"endOffset":11282,"count":0}],"isBlockCoverage":false},{"functionName":"aborted","ranges":[{"startOffset":11376,"endOffset":11964,"count":0}],"isBlockCoverage":false}]},{"scriptId":"129","url":"node:internal/streams/end-of-stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8360,"count":1}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":891,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":1000,"endOffset":1008,"count":0}],"isBlockCoverage":false},{"functionName":"eos","ranges":[{"startOffset":1011,"endOffset":6953,"count":0}],"isBlockCoverage":false},{"functionName":"eosWeb","ranges":[{"startOffset":6955,"endOffset":7840,"count":0}],"isBlockCoverage":false},{"functionName":"finished","ranges":[{"startOffset":7842,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"130","url":"node:internal/streams/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8416,"count":1}],"isBlockCoverage":false},{"functionName":"isReadableNodeStream","ranges":[{"startOffset":774,"endOffset":1191,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableNodeStream","ranges":[{"startOffset":1193,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexNodeStream","ranges":[{"startOffset":1415,"endOffset":1614,"count":0}],"isBlockCoverage":false},{"functionName":"isNodeStream","ranges":[{"startOffset":1616,"endOffset":1887,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":1889,"endOffset":2103,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":2105,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":2275,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"isWebStream","ranges":[{"startOffset":2444,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"isIterable","ranges":[{"startOffset":2558,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"isDestroyed","ranges":[{"startOffset":2890,"endOffset":3153,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableEnded","ranges":[{"startOffset":3177,"endOffset":3468,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableFinished","ranges":[{"startOffset":3496,"endOffset":3893,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableEnded","ranges":[{"startOffset":3922,"endOffset":4223,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableFinished","ranges":[{"startOffset":4248,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":4598,"endOffset":4898,"count":0}],"isBlockCoverage":false},{"functionName":"isWritable","ranges":[{"startOffset":4900,"endOffset":5197,"count":0}],"isBlockCoverage":false},{"functionName":"isFinished","ranges":[{"startOffset":5199,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableErrored","ranges":[{"startOffset":5515,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableErrored","ranges":[{"startOffset":5729,"endOffset":5941,"count":0}],"isBlockCoverage":false},{"functionName":"isClosed","ranges":[{"startOffset":5943,"endOffset":6448,"count":0}],"isBlockCoverage":false},{"functionName":"isOutgoingMessage","ranges":[{"startOffset":6450,"endOffset":6702,"count":0}],"isBlockCoverage":false},{"functionName":"isServerResponse","ranges":[{"startOffset":6704,"endOffset":6831,"count":0}],"isBlockCoverage":false},{"functionName":"isServerRequest","ranges":[{"startOffset":6833,"endOffset":7021,"count":0}],"isBlockCoverage":false},{"functionName":"willEmitClose","ranges":[{"startOffset":7023,"endOffset":7361,"count":0}],"isBlockCoverage":false},{"functionName":"isDisturbed","ranges":[{"startOffset":7363,"endOffset":7508,"count":0}],"isBlockCoverage":false},{"functionName":"isErrored","ranges":[{"startOffset":7510,"endOffset":7815,"count":0}],"isBlockCoverage":false}]},{"scriptId":"131","url":"node:internal/streams/compose","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5451,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":543,"endOffset":5449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"132","url":"node:internal/streams/pipeline","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12326,"count":1}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":1058,"endOffset":1487,"count":0}],"isBlockCoverage":false},{"functionName":"popCallback","ranges":[{"startOffset":1489,"endOffset":1817,"count":0}],"isBlockCoverage":false},{"functionName":"makeAsyncIterable","ranges":[{"startOffset":1819,"endOffset":2105,"count":0}],"isBlockCoverage":false},{"functionName":"fromReadable","ranges":[{"startOffset":2107,"endOffset":2281,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToNode","ranges":[{"startOffset":2283,"endOffset":3327,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToWeb","ranges":[{"startOffset":3329,"endOffset":3927,"count":0}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":3929,"endOffset":4022,"count":0}],"isBlockCoverage":false},{"functionName":"pipelineImpl","ranges":[{"startOffset":4024,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"pipe","ranges":[{"startOffset":10478,"endOffset":12279,"count":0}],"isBlockCoverage":false}]},{"scriptId":"133","url":"node:internal/streams/destroy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6826,"count":1}],"isBlockCoverage":false},{"functionName":"checkError","ranges":[{"startOffset":360,"endOffset":671,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":781,"endOffset":1568,"count":0}],"isBlockCoverage":false},{"functionName":"_destroy","ranges":[{"startOffset":1570,"endOffset":2184,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseNT","ranges":[{"startOffset":2186,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":2275,"endOffset":2523,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":2525,"endOffset":2800,"count":0}],"isBlockCoverage":false},{"functionName":"undestroy","ranges":[{"startOffset":2802,"endOffset":3492,"count":0}],"isBlockCoverage":false},{"functionName":"errorOrDestroy","ranges":[{"startOffset":3494,"endOffset":4413,"count":0}],"isBlockCoverage":false},{"functionName":"construct","ranges":[{"startOffset":4415,"endOffset":4821,"count":3},{"startOffset":4512,"endOffset":4820,"count":0}],"isBlockCoverage":true},{"functionName":"constructNT","ranges":[{"startOffset":4823,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"emitConstructNT","ranges":[{"startOffset":5572,"endOffset":5635,"count":0}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":5637,"endOffset":5733,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseLegacy","ranges":[{"startOffset":5735,"endOffset":5795,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseLegacy","ranges":[{"startOffset":5797,"endOffset":5917,"count":0}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":5952,"endOffset":6734,"count":0}],"isBlockCoverage":false}]},{"scriptId":"134","url":"node:internal/streams/duplex","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4938,"count":1}],"isBlockCoverage":false},{"functionName":"Duplex","ranges":[{"startOffset":1996,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3811,"endOffset":4023,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4029,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":4364,"endOffset":4528,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.fromWeb","ranges":[{"startOffset":4547,"endOffset":4665,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.toWeb","ranges":[{"startOffset":4683,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.from","ranges":[{"startOffset":4805,"endOffset":4936,"count":0}],"isBlockCoverage":false}]},{"scriptId":"135","url":"node:internal/streams/readable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43849,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1799,"endOffset":1824,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2617,"endOffset":2625,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3306,"endOffset":3522,"count":19}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3381,"endOffset":3423,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":3429,"endOffset":3514,"count":0}],"isBlockCoverage":false},{"functionName":"ReadableState","ranges":[{"startOffset":5398,"endOffset":8222,"count":1},{"startOffset":5797,"endOffset":5840,"count":0},{"startOffset":6159,"endOffset":6180,"count":0},{"startOffset":6182,"endOffset":6208,"count":0},{"startOffset":6225,"endOffset":6235,"count":0},{"startOffset":6236,"endOffset":6265,"count":0},{"startOffset":6271,"endOffset":6297,"count":0},{"startOffset":6472,"endOffset":6544,"count":0},{"startOffset":6946,"endOffset":6976,"count":0},{"startOffset":6978,"endOffset":7004,"count":0},{"startOffset":7093,"endOffset":7125,"count":0},{"startOffset":7127,"endOffset":7155,"count":0},{"startOffset":7652,"endOffset":7669,"count":0},{"startOffset":7742,"endOffset":7901,"count":0},{"startOffset":8100,"endOffset":8119,"count":0},{"startOffset":8121,"endOffset":8220,"count":0}],"isBlockCoverage":true},{"functionName":"Readable","ranges":[{"startOffset":8225,"endOffset":9113,"count":1},{"startOffset":8293,"endOffset":8322,"count":0},{"startOffset":8593,"endOffset":8937,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9000,"endOffset":9109,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._destroy","ranges":[{"startOffset":9250,"endOffset":9282,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9333,"endOffset":9371,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9415,"endOffset":9671,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.push","ranges":[{"startOffset":9900,"endOffset":9986,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unshift","ranges":[{"startOffset":10082,"endOffset":10167,"count":0}],"isBlockCoverage":false},{"functionName":"readableAddChunk","ranges":[{"startOffset":10170,"endOffset":12572,"count":0}],"isBlockCoverage":false},{"functionName":"addChunk","ranges":[{"startOffset":12574,"endOffset":13339,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.isPaused","ranges":[{"startOffset":13371,"endOffset":13483,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.setEncoding","ranges":[{"startOffset":13547,"endOffset":14108,"count":0}],"isBlockCoverage":false},{"functionName":"computeNewHighWaterMark","ranges":[{"startOffset":14169,"endOffset":14520,"count":0}],"isBlockCoverage":false},{"functionName":"howMuchToRead","ranges":[{"startOffset":14633,"endOffset":15044,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.read","ranges":[{"startOffset":15141,"endOffset":19643,"count":0}],"isBlockCoverage":false},{"functionName":"onEofChunk","ranges":[{"startOffset":19646,"endOffset":20466,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable","ranges":[{"startOffset":20667,"endOffset":20994,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable_","ranges":[{"startOffset":20996,"endOffset":21650,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore","ranges":[{"startOffset":22000,"endOffset":22177,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore_","ranges":[{"startOffset":22179,"endOffset":23971,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._read","ranges":[{"startOffset":24242,"endOffset":24308,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pipe","ranges":[{"startOffset":24337,"endOffset":28782,"count":0}],"isBlockCoverage":false},{"functionName":"pipeOnDrain","ranges":[{"startOffset":28785,"endOffset":29430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unpipe","ranges":[{"startOffset":29461,"endOffset":30162,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.on","ranges":[{"startOffset":30288,"endOffset":31195,"count":1},{"startOffset":30420,"endOffset":30752,"count":0},{"startOffset":30781,"endOffset":31178,"count":0}],"isBlockCoverage":true},{"functionName":"Readable.removeListener","ranges":[{"startOffset":31290,"endOffset":31855,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.removeAllListeners","ranges":[{"startOffset":31958,"endOffset":32552,"count":0}],"isBlockCoverage":false},{"functionName":"updateReadableListening","ranges":[{"startOffset":32555,"endOffset":33065,"count":0}],"isBlockCoverage":false},{"functionName":"nReadingNextTick","ranges":[{"startOffset":33067,"endOffset":33155,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.resume","ranges":[{"startOffset":33309,"endOffset":33634,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":33637,"endOffset":33787,"count":0}],"isBlockCoverage":false},{"functionName":"resume_","ranges":[{"startOffset":33789,"endOffset":34040,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pause","ranges":[{"startOffset":34069,"endOffset":34336,"count":0}],"isBlockCoverage":false},{"functionName":"flow","ranges":[{"startOffset":34339,"endOffset":34486,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":34670,"endOffset":35691,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":35736,"endOffset":35788,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.iterator","ranges":[{"startOffset":35821,"endOffset":35964,"count":0}],"isBlockCoverage":false},{"functionName":"streamToAsyncIterator","ranges":[{"startOffset":35967,"endOffset":36216,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncIterator","ranges":[{"startOffset":36218,"endOffset":37294,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":37513,"endOffset":37902,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":37908,"endOffset":38038,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38120,"endOffset":38184,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38266,"endOffset":38474,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38562,"endOffset":38628,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38709,"endOffset":38791,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38873,"endOffset":38933,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":38944,"endOffset":39053,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39129,"endOffset":39183,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39263,"endOffset":39351,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39429,"endOffset":39514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39583,"endOffset":39667,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39712,"endOffset":39796,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39867,"endOffset":39954,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":39960,"endOffset":40249,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40324,"endOffset":40412,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40553,"endOffset":40598,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40678,"endOffset":40729,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":40735,"endOffset":40784,"count":0}],"isBlockCoverage":false},{"functionName":"fromList","ranges":[{"startOffset":41090,"endOffset":41652,"count":0}],"isBlockCoverage":false},{"functionName":"endReadable","ranges":[{"startOffset":41654,"endOffset":41875,"count":0}],"isBlockCoverage":false},{"functionName":"endReadableNT","ranges":[{"startOffset":41877,"endOffset":42797,"count":0}],"isBlockCoverage":false},{"functionName":"endWritableNT","ranges":[{"startOffset":42799,"endOffset":42959,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.from","ranges":[{"startOffset":42977,"endOffset":43046,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":43111,"endOffset":43275,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.fromWeb","ranges":[{"startOffset":43296,"endOffset":43430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.toWeb","ranges":[{"startOffset":43450,"endOffset":43584,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":43603,"endOffset":43847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"136","url":"node:internal/streams/legacy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2934,"count":1}],"isBlockCoverage":false},{"functionName":"Stream","ranges":[{"startOffset":112,"endOffset":160,"count":3}],"isBlockCoverage":true},{"functionName":"Stream.pipe","ranges":[{"startOffset":274,"endOffset":2076,"count":0}],"isBlockCoverage":false},{"functionName":"prependListener","ranges":[{"startOffset":2079,"endOffset":2886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"137","url":"node:internal/streams/add-abort-signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1704,"count":1}],"isBlockCoverage":false},{"functionName":"validateAbortSignal","ranges":[{"startOffset":557,"endOffset":716,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortSignal","ranges":[{"startOffset":751,"endOffset":1062,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.addAbortSignalNoValidate","ranges":[{"startOffset":1107,"endOffset":1702,"count":0}],"isBlockCoverage":false}]},{"scriptId":"138","url":"node:internal/streams/buffer_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4060,"count":1}],"isBlockCoverage":false},{"functionName":"BufferList","ranges":[{"startOffset":254,"endOffset":338,"count":1}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":342,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":533,"endOffset":691,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":695,"endOffset":922,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":926,"endOffset":994,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":998,"endOffset":1180,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":1184,"endOffset":1467,"count":0}],"isBlockCoverage":false},{"functionName":"consume","ranges":[{"startOffset":1551,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":2009,"endOffset":2049,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":2053,"endOffset":2149,"count":0}],"isBlockCoverage":false},{"functionName":"_getString","ranges":[{"startOffset":2224,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"_getBuffer","ranges":[{"startOffset":2932,"endOffset":3779,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":3860,"endOffset":4056,"count":0}],"isBlockCoverage":false}]},{"scriptId":"139","url":"node:internal/streams/state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1332,"count":1}],"isBlockCoverage":false},{"functionName":"highWaterMarkFrom","ranges":[{"startOffset":287,"endOffset":454,"count":2},{"startOffset":385,"endOffset":408,"count":0},{"startOffset":424,"endOffset":444,"count":0}],"isBlockCoverage":true},{"functionName":"getDefaultHighWaterMark","ranges":[{"startOffset":456,"endOffset":586,"count":3},{"startOffset":523,"endOffset":555,"count":0}],"isBlockCoverage":true},{"functionName":"setDefaultHighWaterMark","ranges":[{"startOffset":588,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"getHighWaterMark","ranges":[{"startOffset":801,"endOffset":1234,"count":2},{"startOffset":948,"endOffset":1160,"count":0}],"isBlockCoverage":true}]},{"scriptId":"140","url":"node:string_decoder","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5213,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeEncoding","ranges":[{"startOffset":2129,"endOffset":2391,"count":0}],"isBlockCoverage":false},{"functionName":"StringDecoder","ranges":[{"startOffset":2705,"endOffset":2904,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3227,"endOffset":3612,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":3889,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":4291,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4586,"endOffset":4799,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4891,"endOffset":4954,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5047,"endOffset":5162,"count":0}],"isBlockCoverage":false}]},{"scriptId":"141","url":"node:internal/streams/from","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2614,"count":1}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":241,"endOffset":2589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"142","url":"node:internal/streams/writable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29040,"count":1}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2389,"endOffset":2406,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3093,"endOffset":3309,"count":20}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3168,"endOffset":3210,"count":2}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3216,"endOffset":3301,"count":0}],"isBlockCoverage":false},{"functionName":"WritableState","ranges":[{"startOffset":5971,"endOffset":9003,"count":2},{"startOffset":6366,"endOffset":6409,"count":0},{"startOffset":6630,"endOffset":6656,"count":0},{"startOffset":6672,"endOffset":6682,"count":0},{"startOffset":6683,"endOffset":6712,"count":0},{"startOffset":6714,"endOffset":6740,"count":0},{"startOffset":7031,"endOffset":7067,"count":0},{"startOffset":7121,"endOffset":7150,"count":0},{"startOffset":7257,"endOffset":7283,"count":0},{"startOffset":7406,"endOffset":7434,"count":0},{"startOffset":7754,"endOffset":7913,"count":0}],"isBlockCoverage":true},{"functionName":"resetBuffer","ranges":[{"startOffset":9005,"endOffset":9127,"count":2}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":9165,"endOffset":9254,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9350,"endOffset":9415,"count":0}],"isBlockCoverage":false},{"functionName":"Writable","ranges":[{"startOffset":9422,"endOffset":10950,"count":2},{"startOffset":10123,"endOffset":10152,"count":0},{"startOffset":10291,"endOffset":10319,"count":0},{"startOffset":10373,"endOffset":10403,"count":0},{"startOffset":10458,"endOffset":10490,"count":0},{"startOffset":10543,"endOffset":10571,"count":0},{"startOffset":10628,"endOffset":10664,"count":0},{"startOffset":10696,"endOffset":10733,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10800,"endOffset":10946,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":11032,"endOffset":11236,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.pipe","ranges":[{"startOffset":11337,"endOffset":11405,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":11408,"endOffset":12809,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.write","ranges":[{"startOffset":12838,"endOffset":12924,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.cork","ranges":[{"startOffset":12953,"endOffset":12999,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.uncork","ranges":[{"startOffset":13030,"endOffset":13201,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultEncoding","ranges":[{"startOffset":13244,"endOffset":13569,"count":0}],"isBlockCoverage":false},{"functionName":"writeOrBuffer","ranges":[{"startOffset":13759,"endOffset":14872,"count":0}],"isBlockCoverage":false},{"functionName":"doWrite","ranges":[{"startOffset":14874,"endOffset":15262,"count":0}],"isBlockCoverage":false},{"functionName":"onwriteError","ranges":[{"startOffset":15264,"endOffset":15649,"count":0}],"isBlockCoverage":false},{"functionName":"onwrite","ranges":[{"startOffset":15651,"endOffset":17310,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteTick","ranges":[{"startOffset":17312,"endOffset":17451,"count":0}],"isBlockCoverage":false},{"functionName":"afterWrite","ranges":[{"startOffset":17453,"endOffset":17869,"count":0}],"isBlockCoverage":false},{"functionName":"errorBuffer","ranges":[{"startOffset":17941,"endOffset":18532,"count":0}],"isBlockCoverage":false},{"functionName":"clearBuffer","ranges":[{"startOffset":18598,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._write","ranges":[{"startOffset":20262,"endOffset":20431,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.end","ranges":[{"startOffset":20495,"endOffset":21953,"count":0}],"isBlockCoverage":false},{"functionName":"needFinish","ranges":[{"startOffset":21956,"endOffset":22419,"count":0}],"isBlockCoverage":false},{"functionName":"callFinal","ranges":[{"startOffset":22421,"endOffset":23393,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":23395,"endOffset":23733,"count":0}],"isBlockCoverage":false},{"functionName":"finishMaybe","ranges":[{"startOffset":23735,"endOffset":24234,"count":0}],"isBlockCoverage":false},{"functionName":"finish","ranges":[{"startOffset":24236,"endOffset":24986,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25071,"endOffset":25172,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25220,"endOffset":25324,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":25330,"endOffset":25576,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25623,"endOffset":26027,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":26033,"endOffset":26167,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26222,"endOffset":26325,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26382,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26540,"endOffset":26622,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26674,"endOffset":26775,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26831,"endOffset":27046,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27106,"endOffset":27190,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27243,"endOffset":27323,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27376,"endOffset":27453,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27522,"endOffset":27606,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27688,"endOffset":27927,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.destroy","ranges":[{"startOffset":28005,"endOffset":28318,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._destroy","ranges":[{"startOffset":28406,"endOffset":28438,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.","ranges":[{"startOffset":28489,"endOffset":28527,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":28592,"endOffset":28756,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.fromWeb","ranges":[{"startOffset":28777,"endOffset":28911,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.toWeb","ranges":[{"startOffset":28931,"endOffset":29038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"143","url":"node:stream/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":917,"count":1}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":318,"endOffset":869,"count":0}],"isBlockCoverage":false}]},{"scriptId":"144","url":"node:internal/streams/transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7176,"count":1}],"isBlockCoverage":false},{"functionName":"Transform","ranges":[{"startOffset":3920,"endOffset":5747,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5749,"endOffset":6193,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":6195,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._transform","ranges":[{"startOffset":6348,"endOffset":6443,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._write","ranges":[{"startOffset":6475,"endOffset":7018,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._read","ranges":[{"startOffset":7049,"endOffset":7174,"count":0}],"isBlockCoverage":false}]},{"scriptId":"145","url":"node:internal/streams/passthrough","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1762,"count":1}],"isBlockCoverage":false},{"functionName":"PassThrough","ranges":[{"startOffset":1529,"endOffset":1671,"count":0}],"isBlockCoverage":false},{"functionName":"PassThrough._transform","ranges":[{"startOffset":1708,"endOffset":1760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"146","url":"node:internal/bootstrap/switches/does_not_own_process_state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1278,"count":1}],"isBlockCoverage":false},{"functionName":"wrappedUmask","ranges":[{"startOffset":1047,"endOffset":1277,"count":0}],"isBlockCoverage":false}]},{"scriptId":"147","url":"node:internal/process/worker_thread_only","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":426,"count":1}],"isBlockCoverage":false},{"functionName":"unavailable","ranges":[{"startOffset":194,"endOffset":387,"count":8}],"isBlockCoverage":true},{"functionName":"unavailableInWorker","ranges":[{"startOffset":225,"endOffset":315,"count":0}],"isBlockCoverage":false}]},{"scriptId":"148","url":"node:internal/main/worker_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7311,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1096,"endOffset":1121,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2200,"endOffset":5806,"count":3},{"startOffset":2251,"endOffset":5390,"count":1},{"startOffset":2537,"endOffset":2599,"count":0},{"startOffset":3460,"endOffset":3541,"count":0},{"startOffset":3597,"endOffset":3671,"count":0},{"startOffset":3737,"endOffset":3762,"count":0},{"startOffset":3961,"endOffset":4206,"count":0},{"startOffset":4214,"endOffset":4743,"count":0},{"startOffset":4751,"endOffset":4995,"count":0},{"startOffset":5390,"endOffset":5804,"count":2},{"startOffset":5432,"endOffset":5591,"count":0}],"isBlockCoverage":true},{"functionName":"process.cwd","ranges":[{"startOffset":3133,"endOffset":3384,"count":3},{"startOffset":3260,"endOffset":3277,"count":2},{"startOffset":3277,"endOffset":3383,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4900,"endOffset":4970,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5508,"endOffset":5585,"count":0}],"isBlockCoverage":false},{"functionName":"workerOnGlobalUncaughtException","ranges":[{"startOffset":5810,"endOffset":7002,"count":0}],"isBlockCoverage":false}]},{"scriptId":"149","url":"node:internal/process/pre_execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":22973,"count":1}],"isBlockCoverage":false},{"functionName":"prepareMainThreadExecution","ranges":[{"startOffset":1091,"endOffset":1268,"count":0}],"isBlockCoverage":false},{"functionName":"prepareWorkerThreadExecution","ranges":[{"startOffset":1270,"endOffset":1469,"count":1}],"isBlockCoverage":true},{"functionName":"prepareExecution","ranges":[{"startOffset":1471,"endOffset":3628,"count":1},{"startOffset":2237,"endOffset":3408,"count":0},{"startOffset":3597,"endOffset":3626,"count":0}],"isBlockCoverage":true},{"functionName":"setupSymbolDisposePolyfill","ranges":[{"startOffset":3630,"endOffset":4365,"count":1}],"isBlockCoverage":true},{"functionName":"setupUserModules","ranges":[{"startOffset":4367,"endOffset":4795,"count":1},{"startOffset":4676,"endOffset":4693,"count":0}],"isBlockCoverage":true},{"functionName":"refreshRuntimeOptions","ranges":[{"startOffset":4797,"endOffset":4853,"count":1}],"isBlockCoverage":true},{"functionName":"patchProcessObject","ranges":[{"startOffset":4855,"endOffset":6952,"count":1},{"startOffset":5388,"endOffset":5406,"count":0},{"startOffset":5407,"endOffset":5464,"count":0},{"startOffset":5466,"endOffset":5677,"count":0}],"isBlockCoverage":true},{"functionName":"addReadOnlyProcessAlias","ranges":[{"startOffset":6954,"endOffset":7235,"count":13},{"startOffset":7075,"endOffset":7233,"count":1}],"isBlockCoverage":true},{"functionName":"setupWarningHandler","ranges":[{"startOffset":7237,"endOffset":7757,"count":1},{"startOffset":7612,"endOffset":7751,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7641,"endOffset":7743,"count":0}],"isBlockCoverage":false},{"functionName":"setupFetch","ranges":[{"startOffset":7793,"endOffset":8933,"count":1},{"startOffset":7913,"endOffset":7930,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUndici","ranges":[{"startOffset":7948,"endOffset":8093,"count":1},{"startOffset":7988,"endOffset":8016,"count":0}],"isBlockCoverage":true},{"functionName":"fetch","ranges":[{"startOffset":8097,"endOffset":8192,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInterface","ranges":[{"startOffset":8244,"endOffset":8485,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8345,"endOffset":8395,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8403,"endOffset":8473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8818,"endOffset":8929,"count":0}],"isBlockCoverage":false},{"functionName":"setupWebCrypto","ranges":[{"startOffset":9037,"endOffset":9989,"count":1},{"startOffset":9172,"endOffset":9189,"count":0},{"startOffset":9678,"endOffset":9987,"count":0}],"isBlockCoverage":true},{"functionName":"cryptoThisCheck","ranges":[{"startOffset":9363,"endOffset":9539,"count":0}],"isBlockCoverage":false},{"functionName":"get crypto","ranges":[{"startOffset":9840,"endOffset":9939,"count":0}],"isBlockCoverage":false},{"functionName":"setupCodeCoverage","ranges":[{"startOffset":9991,"endOffset":10512,"count":1}],"isBlockCoverage":true},{"functionName":"setupCustomEvent","ranges":[{"startOffset":10618,"endOffset":10895,"count":1},{"startOffset":10757,"endOffset":10774,"count":0}],"isBlockCoverage":true},{"functionName":"setupStacktracePrinterOnSigint","ranges":[{"startOffset":10897,"endOffset":11122,"count":0}],"isBlockCoverage":false},{"functionName":"initializeReport","ranges":[{"startOffset":11124,"endOffset":11373,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":11269,"endOffset":11364,"count":6}],"isBlockCoverage":true},{"functionName":"setupDebugEnv","ranges":[{"startOffset":11375,"endOffset":11606,"count":1},{"startOffset":11526,"endOffset":11604,"count":0}],"isBlockCoverage":true},{"functionName":"initializeReportSignalHandlers","ranges":[{"startOffset":11668,"endOffset":11856,"count":0}],"isBlockCoverage":false},{"functionName":"initializeHeapSnapshotSignalHandlers","ranges":[{"startOffset":11858,"endOffset":12592,"count":0}],"isBlockCoverage":false},{"functionName":"setupTraceCategoryState","ranges":[{"startOffset":12594,"endOffset":12853,"count":1}],"isBlockCoverage":true},{"functionName":"setupInspectorHooks","ranges":[{"startOffset":12855,"endOffset":13437,"count":1}],"isBlockCoverage":true},{"functionName":"initializeDeprecations","ranges":[{"startOffset":13632,"endOffset":15584,"count":1},{"startOffset":14344,"endOffset":14646,"count":16},{"startOffset":14389,"endOffset":14621,"count":0},{"startOffset":14963,"endOffset":15160,"count":0},{"startOffset":15188,"endOffset":15582,"count":0}],"isBlockCoverage":true},{"functionName":"setupChildProcessIpcChannel","ranges":[{"startOffset":15586,"endOffset":16151,"count":0}],"isBlockCoverage":false},{"functionName":"initializeClusterIPC","ranges":[{"startOffset":16153,"endOffset":16423,"count":0}],"isBlockCoverage":false},{"functionName":"initializePermission","ranges":[{"startOffset":16425,"endOffset":18308,"count":1},{"startOffset":16567,"endOffset":17928,"count":0}],"isBlockCoverage":true},{"functionName":"binding","ranges":[{"startOffset":16591,"endOffset":16678,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18140,"endOffset":18300,"count":4},{"startOffset":18218,"endOffset":18294,"count":0}],"isBlockCoverage":true},{"functionName":"readPolicyFromDisk","ranges":[{"startOffset":18310,"endOffset":20129,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCJSLoader","ranges":[{"startOffset":20131,"endOffset":20252,"count":1}],"isBlockCoverage":true},{"functionName":"initializeESMLoader","ranges":[{"startOffset":20254,"endOffset":20829,"count":1},{"startOffset":20582,"endOffset":20827,"count":0}],"isBlockCoverage":true},{"functionName":"initializeSourceMapsHandlers","ranges":[{"startOffset":20831,"endOffset":21029,"count":1}],"isBlockCoverage":true},{"functionName":"initializeFrozenIntrinsics","ranges":[{"startOffset":21031,"endOffset":21288,"count":1},{"startOffset":21116,"endOffset":21286,"count":0}],"isBlockCoverage":true},{"functionName":"loadPreloadModules","ranges":[{"startOffset":21290,"endOffset":21638,"count":1},{"startOffset":21484,"endOffset":21636,"count":0}],"isBlockCoverage":true},{"functionName":"markBootstrapComplete","ranges":[{"startOffset":21640,"endOffset":21734,"count":1}],"isBlockCoverage":true},{"functionName":"getHeapSnapshotFilename","ranges":[{"startOffset":21889,"endOffset":22790,"count":0}],"isBlockCoverage":false}]},{"scriptId":"150","url":"node:internal/v8/startup_snapshot","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3382,"count":1}],"isBlockCoverage":false},{"functionName":"isBuildingSnapshot","ranges":[{"startOffset":433,"endOffset":504,"count":4}],"isBlockCoverage":true},{"functionName":"throwIfNotBuildingSnapshot","ranges":[{"startOffset":506,"endOffset":625,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfBuildingSnapshot","ranges":[{"startOffset":627,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"runDeserializeCallbacks","ranges":[{"startOffset":831,"endOffset":1004,"count":0}],"isBlockCoverage":false},{"functionName":"addDeserializeCallback","ranges":[{"startOffset":1006,"endOffset":1541,"count":0}],"isBlockCoverage":false},{"functionName":"runSerializeCallbacks","ranges":[{"startOffset":1574,"endOffset":1741,"count":0}],"isBlockCoverage":false},{"functionName":"addSerializeCallback","ranges":[{"startOffset":1743,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCallbacks","ranges":[{"startOffset":1913,"endOffset":2122,"count":0}],"isBlockCoverage":false},{"functionName":"setDeserializeMainFunction","ranges":[{"startOffset":2158,"endOffset":3105,"count":0}],"isBlockCoverage":false}]},{"scriptId":"151","url":"node:internal/inspector_async_hook","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1973,"count":1}],"isBlockCoverage":false},{"functionName":"lazyHookCreation","ranges":[{"startOffset":75,"endOffset":1257,"count":0}],"isBlockCoverage":false},{"functionName":"enable","ranges":[{"startOffset":1259,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":1842,"endOffset":1928,"count":0}],"isBlockCoverage":false}]},{"scriptId":"152","url":"node:internal/source_map/prepare_stack_trace","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7404,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":334,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"prepareStackTrace","ranges":[{"startOffset":895,"endOffset":3880,"count":0}],"isBlockCoverage":false},{"functionName":"getOriginalSymbolName","ranges":[{"startOffset":4031,"endOffset":4774,"count":0}],"isBlockCoverage":false},{"functionName":"getErrorSource","ranges":[{"startOffset":4942,"endOffset":6024,"count":0}],"isBlockCoverage":false},{"functionName":"getOriginalSource","ranges":[{"startOffset":6026,"endOffset":6923,"count":0}],"isBlockCoverage":false},{"functionName":"getSourceMapErrorSource","ranges":[{"startOffset":6925,"endOffset":7305,"count":0}],"isBlockCoverage":false}]},{"scriptId":"153","url":"node:fs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":85023,"count":1}],"isBlockCoverage":false},{"functionName":"showTruncateDeprecation","ranges":[{"startOffset":4028,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"maybeCallback","ranges":[{"startOffset":4317,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"makeCallback","ranges":[{"startOffset":4594,"endOffset":4706,"count":0}],"isBlockCoverage":false},{"functionName":"makeStatsCallback","ranges":[{"startOffset":4887,"endOffset":5054,"count":0}],"isBlockCoverage":false},{"functionName":"isFileType","ranges":[{"startOffset":5079,"endOffset":5339,"count":10140},{"startOffset":5278,"endOffset":5298,"count":873}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":5555,"endOffset":5913,"count":0}],"isBlockCoverage":false},{"functionName":"accessSync","ranges":[{"startOffset":6101,"endOffset":6165,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6327,"endOffset":6565,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6652,"endOffset":6784,"count":0}],"isBlockCoverage":false},{"functionName":"existsSync","ranges":[{"startOffset":7332,"endOffset":7391,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterOpen","ranges":[{"startOffset":7393,"endOffset":7673,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterStat","ranges":[{"startOffset":7675,"endOffset":8553,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":8555,"endOffset":8728,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":9061,"endOffset":10013,"count":0}],"isBlockCoverage":false},{"functionName":"tryStatSync","ranges":[{"startOffset":10015,"endOffset":10245,"count":1},{"startOffset":10158,"endOffset":10170,"count":0},{"startOffset":10172,"endOffset":10227,"count":0}],"isBlockCoverage":true},{"functionName":"tryCreateBuffer","ranges":[{"startOffset":10247,"endOffset":10558,"count":1},{"startOffset":10365,"endOffset":10417,"count":0},{"startOffset":10504,"endOffset":10516,"count":0},{"startOffset":10518,"endOffset":10535,"count":0}],"isBlockCoverage":true},{"functionName":"tryReadSync","ranges":[{"startOffset":10560,"endOffset":10815,"count":1},{"startOffset":10758,"endOffset":10770,"count":0},{"startOffset":10772,"endOffset":10789,"count":0}],"isBlockCoverage":true},{"functionName":"readFileSync","ranges":[{"startOffset":11039,"endOffset":12564,"count":572},{"startOffset":11161,"endOffset":11192,"count":2},{"startOffset":11194,"endOffset":11251,"count":570},{"startOffset":11251,"endOffset":11335,"count":2},{"startOffset":11335,"endOffset":11341,"count":0},{"startOffset":11342,"endOffset":11382,"count":2},{"startOffset":11470,"endOffset":11480,"count":1},{"startOffset":11481,"endOffset":11484,"count":0},{"startOffset":11614,"endOffset":11637,"count":0},{"startOffset":11637,"endOffset":11889,"count":1},{"startOffset":11889,"endOffset":12258,"count":0},{"startOffset":12258,"endOffset":12318,"count":1},{"startOffset":12318,"endOffset":12414,"count":0},{"startOffset":12414,"endOffset":12476,"count":1},{"startOffset":12436,"endOffset":12476,"count":0},{"startOffset":12476,"endOffset":12502,"count":1},{"startOffset":12502,"endOffset":12545,"count":0},{"startOffset":12545,"endOffset":12563,"count":1}],"isBlockCoverage":true},{"functionName":"defaultCloseCallback","ranges":[{"startOffset":12566,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12760,"endOffset":13013,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":13109,"endOffset":13162,"count":1}],"isBlockCoverage":true},{"functionName":"open","ranges":[{"startOffset":13405,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"openSync","ranges":[{"startOffset":14154,"endOffset":14235,"count":2}],"isBlockCoverage":true},{"functionName":"openAsBlob","ranges":[{"startOffset":14364,"endOffset":14846,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":15210,"endOffset":17170,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":17624,"endOffset":18761,"count":1},{"startOffset":17846,"endOffset":18102,"count":0},{"startOffset":18132,"endOffset":18153,"count":0},{"startOffset":18244,"endOffset":18263,"count":0},{"startOffset":18296,"endOffset":18426,"count":0}],"isBlockCoverage":true},{"functionName":"readv","ranges":[{"startOffset":19106,"endOffset":19523,"count":0}],"isBlockCoverage":false},{"functionName":"readvSync","ranges":[{"startOffset":19925,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20641,"endOffset":22188,"count":0}],"isBlockCoverage":false},{"functionName":"writeSync","ranges":[{"startOffset":22645,"endOffset":23778,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":24105,"endOffset":24627,"count":0}],"isBlockCoverage":false},{"functionName":"writevSync","ranges":[{"startOffset":24995,"endOffset":25354,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":25595,"endOffset":25976,"count":0}],"isBlockCoverage":false},{"functionName":"renameSync","ranges":[{"startOffset":26175,"endOffset":26522,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":26680,"endOffset":27341,"count":0}],"isBlockCoverage":false},{"functionName":"truncateSync","ranges":[{"startOffset":27471,"endOffset":27874,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":28026,"endOffset":28363,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncateSync","ranges":[{"startOffset":28487,"endOffset":28704,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadCp","ranges":[{"startOffset":28706,"endOffset":28912,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadRimraf","ranges":[{"startOffset":28914,"endOffset":29033,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":29291,"endOffset":30153,"count":0}],"isBlockCoverage":false},{"functionName":"rmdirSync","ranges":[{"startOffset":30368,"endOffset":30888,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":31226,"endOffset":31604,"count":0}],"isBlockCoverage":false},{"functionName":"rmSync","ranges":[{"startOffset":31899,"endOffset":32109,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":32340,"endOffset":32511,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasyncSync","ranges":[{"startOffset":32714,"endOffset":32861,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":33048,"endOffset":33211,"count":0}],"isBlockCoverage":false},{"functionName":"fsyncSync","ranges":[{"startOffset":33370,"endOffset":33509,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":33753,"endOffset":34468,"count":0}],"isBlockCoverage":false},{"functionName":"mkdirSync","ranges":[{"startOffset":34678,"endOffset":35384,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSyncRecursive","ranges":[{"startOffset":35717,"endOffset":37463,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":37763,"endOffset":38541,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSync","ranges":[{"startOffset":38805,"endOffset":39408,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":39649,"endOffset":39995,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":40261,"endOffset":40646,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":40876,"endOffset":41259,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":41261,"endOffset":41754,"count":0}],"isBlockCoverage":false},{"functionName":"hasNoEntryError","ranges":[{"startOffset":41756,"endOffset":41971,"count":0}],"isBlockCoverage":false},{"functionName":"fstatSync","ranges":[{"startOffset":42147,"endOffset":42386,"count":0}],"isBlockCoverage":false},{"functionName":"lstatSync","ranges":[{"startOffset":42634,"endOffset":43058,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":43273,"endOffset":43346,"count":0}],"isBlockCoverage":false},{"functionName":"statfsSync","ranges":[{"startOffset":43348,"endOffset":43425,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":43703,"endOffset":44047,"count":0}],"isBlockCoverage":false},{"functionName":"readlinkSync","ranges":[{"startOffset":44261,"endOffset":44588,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":44830,"endOffset":46483,"count":0}],"isBlockCoverage":false},{"functionName":"symlinkSync","ranges":[{"startOffset":46698,"endOffset":47359,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":47586,"endOffset":47987,"count":0}],"isBlockCoverage":false},{"functionName":"linkSync","ranges":[{"startOffset":48186,"endOffset":48635,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":48796,"endOffset":49023,"count":0}],"isBlockCoverage":false},{"functionName":"unlinkSync","ranges":[{"startOffset":49141,"endOffset":49200,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":49363,"endOffset":49602,"count":0}],"isBlockCoverage":false},{"functionName":"fchmodSync","ranges":[{"startOffset":49737,"endOffset":49928,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":50109,"endOffset":50602,"count":0}],"isBlockCoverage":false},{"functionName":"lchmodSync","ranges":[{"startOffset":50755,"endOffset":51077,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":51273,"endOffset":51549,"count":0}],"isBlockCoverage":false},{"functionName":"chmodSync","ranges":[{"startOffset":51702,"endOffset":51937,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":52133,"endOffset":52474,"count":0}],"isBlockCoverage":false},{"functionName":"lchownSync","ranges":[{"startOffset":52642,"endOffset":52942,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":53112,"endOffset":53415,"count":0}],"isBlockCoverage":false},{"functionName":"fchownSync","ranges":[{"startOffset":53557,"endOffset":53813,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":54029,"endOffset":54369,"count":0}],"isBlockCoverage":false},{"functionName":"chownSync","ranges":[{"startOffset":54542,"endOffset":54840,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":55109,"endOffset":55450,"count":0}],"isBlockCoverage":false},{"functionName":"utimesSync","ranges":[{"startOffset":55691,"endOffset":55973,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":56254,"endOffset":56559,"count":0}],"isBlockCoverage":false},{"functionName":"futimesSync","ranges":[{"startOffset":56815,"endOffset":57072,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":57356,"endOffset":57702,"count":0}],"isBlockCoverage":false},{"functionName":"lutimesSync","ranges":[{"startOffset":57962,"endOffset":58266,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":58268,"endOffset":59231,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":59588,"endOffset":60454,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":60741,"endOffset":61443,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":61748,"endOffset":62188,"count":0}],"isBlockCoverage":false},{"functionName":"appendFileSync","ranges":[{"startOffset":62450,"endOffset":62829,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":63197,"endOffset":64950,"count":0}],"isBlockCoverage":false},{"functionName":"watchFile","ranges":[{"startOffset":65300,"endOffset":66324,"count":0}],"isBlockCoverage":false},{"functionName":"unwatchFile","ranges":[{"startOffset":66474,"endOffset":67213,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67429,"endOffset":67525,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67550,"endOffset":67760,"count":645},{"startOffset":67617,"endOffset":67740,"count":1290},{"startOffset":67695,"endOffset":67734,"count":645},{"startOffset":67740,"endOffset":67759,"count":0}],"isBlockCoverage":true},{"functionName":"encodeRealpathResult","ranges":[{"startOffset":67765,"endOffset":68052,"count":645},{"startOffset":67850,"endOffset":67880,"count":0},{"startOffset":67900,"endOffset":68051,"count":0}],"isBlockCoverage":true},{"functionName":"nextPart","ranges":[{"startOffset":68175,"endOffset":68434,"count":0}],"isBlockCoverage":false},{"functionName":"nextPart","ranges":[{"startOffset":68458,"endOffset":68533,"count":5506}],"isBlockCoverage":true},{"functionName":"realpathSync","ranges":[{"startOffset":68707,"endOffset":72603,"count":778},{"startOffset":68831,"endOffset":68849,"count":0},{"startOffset":69010,"endOffset":69045,"count":133},{"startOffset":69045,"endOffset":69607,"count":645},{"startOffset":69607,"endOffset":69779,"count":0},{"startOffset":69779,"endOffset":69916,"count":645},{"startOffset":69916,"endOffset":72530,"count":5506},{"startOffset":70028,"endOffset":70159,"count":645},{"startOffset":70159,"endOffset":70317,"count":4861},{"startOffset":70434,"endOffset":70571,"count":4633},{"startOffset":70525,"endOffset":70549,"count":0},{"startOffset":70571,"endOffset":70637,"count":873},{"startOffset":70674,"endOffset":70723,"count":0},{"startOffset":70723,"endOffset":72027,"count":873},{"startOffset":71163,"endOffset":71947,"count":0},{"startOffset":71991,"endOffset":72021,"count":0},{"startOffset":72027,"endOffset":72342,"count":0},{"startOffset":72344,"endOffset":72526,"count":0},{"startOffset":72530,"endOffset":72544,"count":645}],"isBlockCoverage":true},{"functionName":"realpathSync.native","ranges":[{"startOffset":72792,"endOffset":73056,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":73363,"endOffset":76894,"count":0}],"isBlockCoverage":false},{"functionName":"realpath.native","ranges":[{"startOffset":77221,"endOffset":77516,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":77761,"endOffset":78271,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtempSync","ranges":[{"startOffset":78452,"endOffset":78944,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":79208,"endOffset":79669,"count":0}],"isBlockCoverage":false},{"functionName":"copyFileSync","ranges":[{"startOffset":79901,"endOffset":79979,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":80272,"endOffset":80677,"count":0}],"isBlockCoverage":false},{"functionName":"cpSync","ranges":[{"startOffset":80938,"endOffset":81202,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadStreams","ranges":[{"startOffset":81204,"endOffset":81395,"count":40},{"startOffset":81252,"endOffset":81393,"count":1}],"isBlockCoverage":true},{"functionName":"createReadStream","ranges":[{"startOffset":81824,"endOffset":81929,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":82264,"endOffset":82371,"count":0}],"isBlockCoverage":false},{"functionName":"get ReadStream","ranges":[{"startOffset":83615,"endOffset":83683,"count":10}],"isBlockCoverage":true},{"functionName":"set ReadStream","ranges":[{"startOffset":83688,"endOffset":83735,"count":0}],"isBlockCoverage":false},{"functionName":"get WriteStream","ranges":[{"startOffset":83740,"endOffset":83810,"count":10}],"isBlockCoverage":true},{"functionName":"set WriteStream","ranges":[{"startOffset":83815,"endOffset":83864,"count":0}],"isBlockCoverage":false},{"functionName":"get FileReadStream","ranges":[{"startOffset":84002,"endOffset":84078,"count":10}],"isBlockCoverage":true},{"functionName":"set FileReadStream","ranges":[{"startOffset":84083,"endOffset":84138,"count":0}],"isBlockCoverage":false},{"functionName":"get FileWriteStream","ranges":[{"startOffset":84143,"endOffset":84221,"count":10}],"isBlockCoverage":true},{"functionName":"set FileWriteStream","ranges":[{"startOffset":84226,"endOffset":84283,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":84916,"endOffset":85012,"count":10}],"isBlockCoverage":true}]},{"scriptId":"154","url":"node:internal/blob","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12628,"count":1}],"isBlockCoverage":false},{"functionName":"lazyReadableStream","ranges":[{"startOffset":1851,"endOffset":2063,"count":0}],"isBlockCoverage":false},{"functionName":"isBlob","ranges":[{"startOffset":2113,"endOffset":2182,"count":0}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":2184,"endOffset":2863,"count":0}],"isBlockCoverage":false},{"functionName":"Blob","ranges":[{"startOffset":3115,"endOffset":4227,"count":1},{"startOffset":3274,"endOffset":3353,"count":0},{"startOffset":3552,"endOffset":3575,"count":0},{"startOffset":3583,"endOffset":3643,"count":0},{"startOffset":3861,"endOffset":3904,"count":0},{"startOffset":4087,"endOffset":4097,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3705,"endOffset":3824,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4231,"endOffset":4501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4505,"endOffset":4957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4961,"endOffset":5087,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":5138,"endOffset":5243,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":5294,"endOffset":5401,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":5529,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBuffer","ranges":[{"startOffset":6364,"endOffset":7373,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":7421,"endOffset":7586,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":7633,"endOffset":10704,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob","ranges":[{"startOffset":10708,"endOffset":10803,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob.","ranges":[{"startOffset":10841,"endOffset":10849,"count":0}],"isBlockCoverage":false},{"functionName":"createBlob","ranges":[{"startOffset":10852,"endOffset":11055,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObjectURL","ranges":[{"startOffset":11408,"endOffset":12019,"count":0}],"isBlockCoverage":false},{"functionName":"createBlobFromFilePath","ranges":[{"startOffset":12142,"endOffset":12501,"count":0}],"isBlockCoverage":false}]},{"scriptId":"155","url":"node:internal/encoding","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17340,"count":1}],"isBlockCoverage":false},{"functionName":"validateEncoder","ranges":[{"startOffset":1250,"endOffset":1375,"count":0}],"isBlockCoverage":false},{"functionName":"validateDecoder","ranges":[{"startOffset":1377,"endOffset":1502,"count":58},{"startOffset":1458,"endOffset":1500,"count":0}],"isBlockCoverage":true},{"functionName":"trimAsciiWhitespace","ranges":[{"startOffset":8799,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingFromLabel","ranges":[{"startOffset":9299,"endOffset":9478,"count":4},{"startOffset":9410,"endOffset":9477,"count":0}],"isBlockCoverage":true},{"functionName":"TextEncoder","ranges":[{"startOffset":9502,"endOffset":9548,"count":3}],"isBlockCoverage":true},{"functionName":"get encoding","ranges":[{"startOffset":9552,"endOffset":9619,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":9623,"endOffset":9715,"count":0}],"isBlockCoverage":false},{"functionName":"encodeInto","ranges":[{"startOffset":9719,"endOffset":10125,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10129,"endOffset":10526,"count":0}],"isBlockCoverage":false},{"functionName":"makeTextDecoderICU","ranges":[{"startOffset":10898,"endOffset":12864,"count":1}],"isBlockCoverage":true},{"functionName":"TextDecoder","ranges":[{"startOffset":11036,"endOffset":11973,"count":4},{"startOffset":11346,"endOffset":11393,"count":0},{"startOffset":11477,"endOffset":11500,"count":2},{"startOffset":11501,"endOffset":11504,"count":2},{"startOffset":11541,"endOffset":11569,"count":2},{"startOffset":11570,"endOffset":11573,"count":2},{"startOffset":11924,"endOffset":11967,"count":0}],"isBlockCoverage":true},{"functionName":"#prepareConverter","ranges":[{"startOffset":11979,"endOffset":12244,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":12250,"endOffset":12835,"count":58},{"startOffset":12485,"endOffset":12834,"count":0}],"isBlockCoverage":true},{"functionName":"makeTextDecoderJS","ranges":[{"startOffset":12866,"endOffset":15701,"count":0}],"isBlockCoverage":false},{"functionName":"get encoding","ranges":[{"startOffset":15798,"endOffset":15873,"count":0}],"isBlockCoverage":false},{"functionName":"get fatal","ranges":[{"startOffset":15878,"endOffset":15999,"count":0}],"isBlockCoverage":false},{"functionName":"get ignoreBOM","ranges":[{"startOffset":16004,"endOffset":16153,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectGetOwnPropertyDescriptors","ranges":[{"startOffset":16158,"endOffset":16741,"count":0}],"isBlockCoverage":false}]},{"scriptId":"156","url":"node:internal/webstreams/queuingstrategies","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3851,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":931,"endOffset":958,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1038,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"getNonWritablePropertyDescriptor","ranges":[{"startOffset":1114,"endOffset":1200,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1238,"endOffset":2284,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2544,"endOffset":3561,"count":0}],"isBlockCoverage":false}]},{"scriptId":"157","url":"node:internal/webstreams/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7549,"count":1}],"isBlockCoverage":false},{"functionName":"extractHighWaterMark","ranges":[{"startOffset":1074,"endOffset":1367,"count":0}],"isBlockCoverage":false},{"functionName":"extractSizeAlgorithm","ranges":[{"startOffset":1369,"endOffset":1508,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":1510,"endOffset":1742,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetBuffer","ranges":[{"startOffset":1926,"endOffset":2034,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteLength","ranges":[{"startOffset":2036,"endOffset":2152,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteOffset","ranges":[{"startOffset":2154,"endOffset":2270,"count":0}],"isBlockCoverage":false},{"functionName":"cloneAsUint8Array","ranges":[{"startOffset":2272,"endOffset":2577,"count":0}],"isBlockCoverage":false},{"functionName":"isBrandCheck","ranges":[{"startOffset":2579,"endOffset":2743,"count":12}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2619,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"transferArrayBuffer","ranges":[{"startOffset":2745,"endOffset":2968,"count":0}],"isBlockCoverage":false},{"functionName":"isViewedArrayBufferDetached","ranges":[{"startOffset":2970,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"dequeueValue","ranges":[{"startOffset":3140,"endOffset":3525,"count":0}],"isBlockCoverage":false},{"functionName":"resetQueue","ranges":[{"startOffset":3527,"endOffset":3745,"count":0}],"isBlockCoverage":false},{"functionName":"peekQueueValue","ranges":[{"startOffset":3747,"endOffset":3982,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueValueWithSize","ranges":[{"startOffset":3984,"endOffset":4449,"count":0}],"isBlockCoverage":false},{"functionName":"ensureIsPromise","ranges":[{"startOffset":4451,"endOffset":4690,"count":0}],"isBlockCoverage":false},{"functionName":"isPromisePending","ranges":[{"startOffset":4692,"endOffset":4855,"count":0}],"isBlockCoverage":false},{"functionName":"setPromiseHandled","ranges":[{"startOffset":4857,"endOffset":5136,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpFlush","ranges":[{"startOffset":5138,"endOffset":5168,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpStart","ranges":[{"startOffset":5170,"endOffset":5194,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpPull","ranges":[{"startOffset":5196,"endOffset":5225,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpCancel","ranges":[{"startOffset":5227,"endOffset":5258,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpWrite","ranges":[{"startOffset":5260,"endOffset":5290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyTransfer","ranges":[{"startOffset":5306,"endOffset":5438,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncFromSyncIterator","ranges":[{"startOffset":5440,"endOffset":5779,"count":0}],"isBlockCoverage":false},{"functionName":"getIterator","ranges":[{"startOffset":5781,"endOffset":6509,"count":0}],"isBlockCoverage":false},{"functionName":"iteratorNext","ranges":[{"startOffset":6511,"endOffset":6973,"count":0}],"isBlockCoverage":false}]},{"scriptId":"158","url":"node:internal/fs/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":26847,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFs","ranges":[{"startOffset":3551,"endOffset":3630,"count":0}],"isBlockCoverage":false},{"functionName":"assertEncoding","ranges":[{"startOffset":3632,"endOffset":3832,"count":1348},{"startOffset":3683,"endOffset":3714,"count":570},{"startOffset":3716,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"Dirent","ranges":[{"startOffset":3851,"endOffset":3954,"count":0}],"isBlockCoverage":false},{"functionName":"isDirectory","ranges":[{"startOffset":3958,"endOffset":4019,"count":0}],"isBlockCoverage":false},{"functionName":"isFile","ranges":[{"startOffset":4023,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"isBlockDevice","ranges":[{"startOffset":4084,"endOffset":4149,"count":0}],"isBlockCoverage":false},{"functionName":"isCharacterDevice","ranges":[{"startOffset":4153,"endOffset":4221,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbolicLink","ranges":[{"startOffset":4225,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"isFIFO","ranges":[{"startOffset":4294,"endOffset":4351,"count":0}],"isBlockCoverage":false},{"functionName":"isSocket","ranges":[{"startOffset":4355,"endOffset":4416,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats","ranges":[{"startOffset":4461,"endOffset":4552,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats.","ranges":[{"startOffset":4697,"endOffset":4746,"count":0}],"isBlockCoverage":false},{"functionName":"copyObject","ranges":[{"startOffset":4751,"endOffset":4879,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":4929,"endOffset":5536,"count":0}],"isBlockCoverage":false},{"functionName":"getDirents","ranges":[{"startOffset":5538,"endOffset":6653,"count":0}],"isBlockCoverage":false},{"functionName":"getDirent","ranges":[{"startOffset":6655,"endOffset":7436,"count":0}],"isBlockCoverage":false},{"functionName":"getOptions","ranges":[{"startOffset":7438,"endOffset":8064,"count":1408},{"startOffset":7522,"endOffset":7554,"count":1348},{"startOffset":7556,"endOffset":7588,"count":60},{"startOffset":7588,"endOffset":7625,"count":1348},{"startOffset":7625,"endOffset":7743,"count":570},{"startOffset":7743,"endOffset":7865,"count":778},{"startOffset":7782,"endOffset":7865,"count":0},{"startOffset":7865,"endOffset":7979,"count":1348},{"startOffset":7979,"endOffset":8043,"count":0},{"startOffset":8043,"endOffset":8063,"count":1348}],"isBlockCoverage":true},{"functionName":"handleErrorFromBinding","ranges":[{"startOffset":8122,"endOffset":8651,"count":874},{"startOffset":8192,"endOffset":8327,"count":0},{"startOffset":8359,"endOffset":8649,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8792,"endOffset":9388,"count":1408},{"startOffset":9022,"endOffset":9042,"count":0},{"startOffset":9112,"endOffset":9180,"count":0},{"startOffset":9199,"endOffset":9387,"count":0}],"isBlockCoverage":true},{"functionName":"preprocessSymlinkDestination","ranges":[{"startOffset":9392,"endOffset":10098,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase","ranges":[{"startOffset":10131,"endOffset":10438,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isDirectory","ranges":[{"startOffset":10474,"endOffset":10531,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFile","ranges":[{"startOffset":10563,"endOffset":10620,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isBlockDevice","ranges":[{"startOffset":10659,"endOffset":10716,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isCharacterDevice","ranges":[{"startOffset":10759,"endOffset":10816,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSymbolicLink","ranges":[{"startOffset":10856,"endOffset":10913,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFIFO","ranges":[{"startOffset":10945,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSocket","ranges":[{"startOffset":11036,"endOffset":11094,"count":0}],"isBlockCoverage":false},{"functionName":"msFromTimeSpec","ranges":[{"startOffset":11219,"endOffset":11301,"count":0}],"isBlockCoverage":false},{"functionName":"nsFromTimeSpecBigInt","ranges":[{"startOffset":11303,"endOffset":11386,"count":0}],"isBlockCoverage":false},{"functionName":"dateFromMs","ranges":[{"startOffset":11788,"endOffset":11899,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats","ranges":[{"startOffset":11901,"endOffset":12664,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats._checkModeProperty","ranges":[{"startOffset":12822,"endOffset":13068,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":13071,"endOffset":13613,"count":0}],"isBlockCoverage":false},{"functionName":"Stats._checkModeProperty","ranges":[{"startOffset":13954,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"getStatsFromBinding","ranges":[{"startOffset":14302,"endOffset":15381,"count":0}],"isBlockCoverage":false},{"functionName":"StatFs","ranges":[{"startOffset":15400,"endOffset":15637,"count":0}],"isBlockCoverage":false},{"functionName":"getStatFsFromBinding","ranges":[{"startOffset":15641,"endOffset":15781,"count":0}],"isBlockCoverage":false},{"functionName":"stringToFlags","ranges":[{"startOffset":15783,"endOffset":17039,"count":630},{"startOffset":15864,"endOffset":15919,"count":0},{"startOffset":15942,"endOffset":15968,"count":0},{"startOffset":16025,"endOffset":16036,"count":0},{"startOffset":16058,"endOffset":16095,"count":0},{"startOffset":16100,"endOffset":16126,"count":0},{"startOffset":16131,"endOffset":16143,"count":0},{"startOffset":16165,"endOffset":16201,"count":0},{"startOffset":16207,"endOffset":16254,"count":0},{"startOffset":16259,"endOffset":16270,"count":0},{"startOffset":16292,"endOffset":16349,"count":0},{"startOffset":16355,"endOffset":16401,"count":0},{"startOffset":16406,"endOffset":16417,"count":0},{"startOffset":16439,"endOffset":16494,"count":0},{"startOffset":16500,"endOffset":16548,"count":0},{"startOffset":16553,"endOffset":16564,"count":0},{"startOffset":16586,"endOffset":16644,"count":0},{"startOffset":16649,"endOffset":16660,"count":0},{"startOffset":16682,"endOffset":16740,"count":0},{"startOffset":16746,"endOffset":16793,"count":0},{"startOffset":16798,"endOffset":16809,"count":0},{"startOffset":16831,"endOffset":16887,"count":0},{"startOffset":16892,"endOffset":16903,"count":0},{"startOffset":16925,"endOffset":16981,"count":0},{"startOffset":16985,"endOffset":17038,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":17085,"endOffset":17445,"count":0}],"isBlockCoverage":false},{"functionName":"toUnixTimestamp","ranges":[{"startOffset":17507,"endOffset":17962,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18016,"endOffset":18395,"count":1},{"startOffset":18072,"endOffset":18139,"count":0},{"startOffset":18160,"endOffset":18227,"count":0},{"startOffset":18268,"endOffset":18391,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18454,"endOffset":18858,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18901,"endOffset":19171,"count":1408},{"startOffset":18963,"endOffset":18985,"count":0},{"startOffset":18987,"endOffset":19073,"count":0},{"startOffset":19149,"endOffset":19169,"count":0}],"isBlockCoverage":true},{"functionName":"possiblyTransformPath","ranges":[{"startOffset":19542,"endOffset":19853,"count":630},{"startOffset":19611,"endOffset":19836,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":19896,"endOffset":20054,"count":630}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20097,"endOffset":20218,"count":2},{"startOffset":20148,"endOffset":20167,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20266,"endOffset":20597,"count":0}],"isBlockCoverage":false},{"functionName":"warnOnNonPortableTemplate","ranges":[{"startOffset":20638,"endOffset":21238,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21663,"endOffset":22550,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22596,"endOffset":23275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23325,"endOffset":23942,"count":0}],"isBlockCoverage":false},{"functionName":"emitRecursiveRmdirWarning","ranges":[{"startOffset":23996,"endOffset":24330,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24380,"endOffset":24777,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24818,"endOffset":25186,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25249,"endOffset":25433,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25478,"endOffset":25948,"count":1},{"startOffset":25578,"endOffset":25946,"count":0}],"isBlockCoverage":true}]},{"scriptId":"159","url":"node:internal/fs/sync","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2257,"count":1}],"isBlockCoverage":false},{"functionName":"readFileUtf8","ranges":[{"startOffset":395,"endOffset":582,"count":570}],"isBlockCoverage":true},{"functionName":"exists","ranges":[{"startOffset":584,"endOffset":751,"count":0}],"isBlockCoverage":false},{"functionName":"access","ranges":[{"startOffset":753,"endOffset":920,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":922,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":1184,"endOffset":1509,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":1511,"endOffset":1723,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":1725,"endOffset":1932,"count":2}],"isBlockCoverage":true},{"functionName":"close","ranges":[{"startOffset":1934,"endOffset":2016,"count":1}],"isBlockCoverage":true},{"functionName":"unlink","ranges":[{"startOffset":2018,"endOffset":2140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"160","url":"node:internal/dns/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9584,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBinding","ranges":[{"startOffset":506,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":957,"endOffset":1104,"count":0}],"isBlockCoverage":false},{"functionName":"validateTries","ranges":[{"startOffset":1106,"endOffset":1241,"count":0}],"isBlockCoverage":false},{"functionName":"ResolverBase","ranges":[{"startOffset":1635,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1988,"endOffset":2124,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":2128,"endOffset":2169,"count":0}],"isBlockCoverage":false},{"functionName":"getServers","ranges":[{"startOffset":2173,"endOffset":2441,"count":0}],"isBlockCoverage":false},{"functionName":"setServers","ranges":[{"startOffset":2445,"endOffset":3846,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3850,"endOffset":4405,"count":0}],"isBlockCoverage":false},{"functionName":"setLocalAddress","ranges":[{"startOffset":4410,"endOffset":4695,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4815,"endOffset":5035,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5039,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"initializeDns","ranges":[{"startOffset":5427,"endOffset":5813,"count":1},{"startOffset":5570,"endOffset":5680,"count":0},{"startOffset":5728,"endOffset":5812,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5753,"endOffset":5809,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResolver","ranges":[{"startOffset":6074,"endOffset":6355,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResolver","ranges":[{"startOffset":6357,"endOffset":6428,"count":0}],"isBlockCoverage":false},{"functionName":"bindDefaultResolver","ranges":[{"startOffset":6430,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"validateHints","ranges":[{"startOffset":6654,"endOffset":6873,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidHostnameWarning","ranges":[{"startOffset":6918,"endOffset":7272,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultVerbatim","ranges":[{"startOffset":7274,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResultOrder","ranges":[{"startOffset":7344,"endOffset":7468,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResultOrder","ranges":[{"startOffset":7470,"endOffset":7525,"count":0}],"isBlockCoverage":false},{"functionName":"createResolverClass","ranges":[{"startOffset":7527,"endOffset":8635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"161","url":"node:internal/net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2248,"count":1}],"isBlockCoverage":false},{"functionName":"isIPv4","ranges":[{"startOffset":1023,"endOffset":1296,"count":0}],"isBlockCoverage":false},{"functionName":"isIPv6","ranges":[{"startOffset":1298,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"isIP","ranges":[{"startOffset":1573,"endOffset":1659,"count":0}],"isBlockCoverage":false},{"functionName":"makeSyncWrite","ranges":[{"startOffset":1661,"endOffset":2075,"count":0}],"isBlockCoverage":false}]},{"scriptId":"162","url":"node:worker_threads","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":687,"count":1}],"isBlockCoverage":false}]},{"scriptId":"163","url":"node:internal/worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16395,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2471,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"process.chdir","ranges":[{"startOffset":2984,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"setEnvironmentData","ranges":[{"startOffset":3069,"endOffset":3216,"count":0}],"isBlockCoverage":false},{"functionName":"getEnvironmentData","ranges":[{"startOffset":3218,"endOffset":3289,"count":0}],"isBlockCoverage":false},{"functionName":"assignEnvironmentData","ranges":[{"startOffset":3291,"endOffset":3441,"count":1},{"startOffset":3356,"endOffset":3363,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3379,"endOffset":3437,"count":0}],"isBlockCoverage":false},{"functionName":"Worker","ranges":[{"startOffset":3481,"endOffset":9221,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9225,"endOffset":9857,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9861,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9961,"endOffset":10130,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10134,"endOffset":11027,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11031,"endOffset":11499,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":11503,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"terminate","ranges":[{"startOffset":11652,"endOffset":12486,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":12490,"endOffset":12596,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":12600,"endOffset":12712,"count":0}],"isBlockCoverage":false},{"functionName":"get threadId","ranges":[{"startOffset":12716,"endOffset":12815,"count":0}],"isBlockCoverage":false},{"functionName":"get stdin","ranges":[{"startOffset":12819,"endOffset":12877,"count":0}],"isBlockCoverage":false},{"functionName":"get stdout","ranges":[{"startOffset":12881,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"get stderr","ranges":[{"startOffset":12945,"endOffset":13005,"count":0}],"isBlockCoverage":false},{"functionName":"get resourceLimits","ranges":[{"startOffset":13009,"endOffset":13145,"count":0}],"isBlockCoverage":false},{"functionName":"getHeapSnapshot","ranges":[{"startOffset":13149,"endOffset":13656,"count":0}],"isBlockCoverage":false},{"functionName":"InternalWorker","ranges":[{"startOffset":13849,"endOffset":13928,"count":0}],"isBlockCoverage":false},{"functionName":"receiveMessageSync","ranges":[{"startOffset":13932,"endOffset":14010,"count":0}],"isBlockCoverage":false},{"functionName":"pipeWithoutWarning","ranges":[{"startOffset":14014,"endOffset":14336,"count":0}],"isBlockCoverage":false},{"functionName":"parseResourceLimits","ranges":[{"startOffset":14410,"endOffset":15024,"count":0}],"isBlockCoverage":false},{"functionName":"makeResourceLimits","ranges":[{"startOffset":15026,"endOffset":15313,"count":1}],"isBlockCoverage":true},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":15315,"endOffset":16118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"164","url":"node:internal/perf/event_loop_utilization","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":false},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":153,"endOffset":446,"count":0}],"isBlockCoverage":false},{"functionName":"internalEventLoopUtilization","ranges":[{"startOffset":448,"endOffset":1447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"165","url":"node:internal/error_serdes","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5723,"count":1}],"isBlockCoverage":false},{"functionName":"TryGetAllProperties","ranges":[{"startOffset":1039,"endOffset":2143,"count":0}],"isBlockCoverage":false},{"functionName":"GetConstructors","ranges":[{"startOffset":2145,"endOffset":2588,"count":0}],"isBlockCoverage":false},{"functionName":"GetName","ranges":[{"startOffset":2590,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":2737,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":2924,"endOffset":4219,"count":0}],"isBlockCoverage":false},{"functionName":"fromBuffer","ranges":[{"startOffset":4221,"endOffset":4442,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeError","ranges":[{"startOffset":4461,"endOffset":5666,"count":0}],"isBlockCoverage":false}]},{"scriptId":"166","url":"node:diagnostics_channel","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9791,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":734,"endOffset":1143,"count":1}],"isBlockCoverage":false},{"functionName":"#finalizers","ranges":[{"startOffset":814,"endOffset":850,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":856,"endOffset":973,"count":23}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":977,"endOffset":1025,"count":23},{"startOffset":1013,"endOffset":1018,"count":0}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":1029,"endOffset":1083,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":1087,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"markActive","ranges":[{"startOffset":1145,"endOffset":1350,"count":0}],"isBlockCoverage":false},{"functionName":"maybeMarkInactive","ranges":[{"startOffset":1352,"endOffset":1720,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTransform","ranges":[{"startOffset":1722,"endOffset":1772,"count":0}],"isBlockCoverage":false},{"functionName":"wrapStoreRun","ranges":[{"startOffset":1774,"endOffset":2102,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":2184,"endOffset":2354,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":2358,"endOffset":2635,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":2639,"endOffset":2807,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":2811,"endOffset":3010,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":3014,"endOffset":3057,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":3061,"endOffset":3370,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":3374,"endOffset":3713,"count":0}],"isBlockCoverage":false},{"functionName":"Channel","ranges":[{"startOffset":3735,"endOffset":3876,"count":23}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3887,"endOffset":4072,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":4076,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4165,"endOffset":4202,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":4206,"endOffset":4299,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":4303,"endOffset":4340,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":4344,"endOffset":4388,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":4392,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":4408,"endOffset":4495,"count":0}],"isBlockCoverage":false},{"functionName":"channel","ranges":[{"startOffset":4535,"endOffset":4801,"count":23},{"startOffset":4613,"endOffset":4628,"count":0},{"startOffset":4661,"endOffset":4688,"count":0},{"startOffset":4690,"endOffset":4770,"count":0}],"isBlockCoverage":true},{"functionName":"subscribe","ranges":[{"startOffset":4803,"endOffset":4893,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4895,"endOffset":4989,"count":0}],"isBlockCoverage":false},{"functionName":"hasSubscribers","ranges":[{"startOffset":4991,"endOffset":5126,"count":0}],"isBlockCoverage":false},{"functionName":"assertChannel","ranges":[{"startOffset":5215,"endOffset":5357,"count":0}],"isBlockCoverage":false},{"functionName":"TracingChannel","ranges":[{"startOffset":5384,"endOffset":6531,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":6535,"endOffset":6687,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":6691,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"traceSync","ranges":[{"startOffset":6928,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"tracePromise","ranges":[{"startOffset":7358,"endOffset":8459,"count":0}],"isBlockCoverage":false},{"functionName":"traceCallback","ranges":[{"startOffset":8463,"endOffset":9589,"count":0}],"isBlockCoverage":false},{"functionName":"tracingChannel","ranges":[{"startOffset":9593,"endOffset":9681,"count":0}],"isBlockCoverage":false}]},{"scriptId":"167","url":"node:internal/modules/cjs/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":45478,"count":1}],"isBlockCoverage":false},{"functionName":"get hasLoadedAnyUserCJSModule","ranges":[{"startOffset":2238,"endOffset":2307,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3478,"endOffset":3569,"count":1},{"startOffset":3525,"endOffset":3561,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3618,"endOffset":3661,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3702,"endOffset":3756,"count":1}],"isBlockCoverage":true},{"functionName":"internalRequire","ranges":[{"startOffset":4610,"endOffset":4935,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4937,"endOffset":5347,"count":2420},{"startOffset":5035,"endOffset":5129,"count":1499},{"startOffset":5111,"endOffset":5125,"count":406},{"startOffset":5129,"endOffset":5202,"count":2014},{"startOffset":5202,"endOffset":5216,"count":1093},{"startOffset":5218,"endOffset":5328,"count":434},{"startOffset":5328,"endOffset":5346,"count":2014}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":5428,"endOffset":5451,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":5455,"endOffset":5550,"count":0}],"isBlockCoverage":false},{"functionName":"updateChildren","ranges":[{"startOffset":5579,"endOffset":5775,"count":1193},{"startOffset":5651,"endOffset":5661,"count":1143},{"startOffset":5678,"endOffset":5731,"count":1143},{"startOffset":5688,"endOffset":5730,"count":607},{"startOffset":5737,"endOffset":5773,"count":1094}],"isBlockCoverage":true},{"functionName":"reportModuleToWatchMode","ranges":[{"startOffset":5777,"endOffset":5933,"count":1791},{"startOffset":5858,"endOffset":5873,"count":0},{"startOffset":5875,"endOffset":5931,"count":0}],"isBlockCoverage":true},{"functionName":"reportModuleNotFoundToWatchMode","ranges":[{"startOffset":5935,"endOffset":6174,"count":25},{"startOffset":6036,"endOffset":6051,"count":0},{"startOffset":6053,"endOffset":6172,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6121,"endOffset":6163,"count":0}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":6221,"endOffset":6978,"count":563},{"startOffset":6534,"endOffset":6544,"count":0},{"startOffset":6562,"endOffset":6926,"count":0}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":7220,"endOffset":7297,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7463,"endOffset":7585,"count":0}],"isBlockCoverage":false},{"functionName":"defineProperty","ranges":[{"startOffset":7590,"endOffset":7723,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7790,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7823,"endOffset":7877,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7947,"endOffset":7983,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7988,"endOffset":8050,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8084,"endOffset":8114,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleParent","ranges":[{"startOffset":8274,"endOffset":8342,"count":0}],"isBlockCoverage":false},{"functionName":"setModuleParent","ranges":[{"startOffset":8344,"endOffset":8417,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8484,"endOffset":8509,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCJS","ranges":[{"startOffset":9188,"endOffset":9688,"count":1}],"isBlockCoverage":true},{"functionName":"readPackage","ranges":[{"startOffset":9982,"endOffset":10095,"count":2875}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":10197,"endOffset":10227,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10231,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"readPackageScope","ranges":[{"startOffset":10383,"endOffset":11176,"count":1323},{"startOffset":10570,"endOffset":11113,"count":2685},{"startOffset":10819,"endOffset":10865,"count":0},{"startOffset":10867,"endOffset":10894,"count":0},{"startOffset":10967,"endOffset":10980,"count":0},{"startOffset":11052,"endOffset":11109,"count":1323},{"startOffset":11113,"endOffset":11175,"count":0}],"isBlockCoverage":true},{"functionName":"tryPackage","ranges":[{"startOffset":11178,"endOffset":12457,"count":87},{"startOffset":11300,"endOffset":11381,"count":31},{"startOffset":11381,"endOffset":11475,"count":56},{"startOffset":11475,"endOffset":11519,"count":2},{"startOffset":11520,"endOffset":11587,"count":0},{"startOffset":11613,"endOffset":12438,"count":0},{"startOffset":12438,"endOffset":12456,"count":56}],"isBlockCoverage":true},{"functionName":"tryFile","ranges":[{"startOffset":12802,"endOffset":13034,"count":965},{"startOffset":12891,"endOffset":12898,"count":338},{"startOffset":12898,"endOffset":12943,"count":627},{"startOffset":12943,"endOffset":12953,"count":0},{"startOffset":12955,"endOffset":12998,"count":0},{"startOffset":12998,"endOffset":13033,"count":627}],"isBlockCoverage":true},{"functionName":"toRealPath","ranges":[{"startOffset":13036,"endOffset":13168,"count":671}],"isBlockCoverage":true},{"functionName":"tryExtensions","ranges":[{"startOffset":13243,"endOffset":13449,"count":681},{"startOffset":13325,"endOffset":13431,"count":905},{"startOffset":13397,"endOffset":13427,"count":569},{"startOffset":13431,"endOffset":13448,"count":112}],"isBlockCoverage":true},{"functionName":"findLongestRegisteredExtension","ranges":[{"startOffset":13538,"endOffset":14006,"count":561},{"startOffset":13813,"endOffset":13822,"count":0},{"startOffset":13960,"endOffset":13984,"count":550},{"startOffset":13988,"endOffset":14005,"count":11}],"isBlockCoverage":true},{"functionName":"trySelfParentPath","ranges":[{"startOffset":14008,"endOffset":14297,"count":798},{"startOffset":14060,"endOffset":14073,"count":23},{"startOffset":14073,"endOffset":14131,"count":775},{"startOffset":14131,"endOffset":14295,"count":0}],"isBlockCoverage":true},{"functionName":"trySelf","ranges":[{"startOffset":14299,"endOffset":15197,"count":798},{"startOffset":14358,"endOffset":14371,"count":23},{"startOffset":14371,"endOffset":14475,"count":775},{"startOffset":14476,"endOffset":14501,"count":39},{"startOffset":14503,"endOffset":14526,"count":736},{"startOffset":14526,"endOffset":14573,"count":39},{"startOffset":14573,"endOffset":14599,"count":0},{"startOffset":14599,"endOffset":14765,"count":39},{"startOffset":14661,"endOffset":14736,"count":0},{"startOffset":14765,"endOffset":15195,"count":0}],"isBlockCoverage":true},{"functionName":"resolveExports","ranges":[{"startOffset":15358,"endOffset":16166,"count":670},{"startOffset":15565,"endOffset":15580,"count":567},{"startOffset":15599,"endOffset":15606,"count":567},{"startOffset":15606,"endOffset":15707,"count":103},{"startOffset":15707,"endOffset":15729,"count":78},{"startOffset":15731,"endOffset":16164,"count":4},{"startOffset":16011,"endOffset":16160,"count":0}],"isBlockCoverage":true},{"functionName":"Module._findPath","ranges":[{"startOffset":16434,"endOffset":20492,"count":799},{"startOffset":16544,"endOffset":16567,"count":25},{"startOffset":16567,"endOffset":16630,"count":774},{"startOffset":16607,"endOffset":16630,"count":0},{"startOffset":16767,"endOffset":16780,"count":129},{"startOffset":16780,"endOffset":17363,"count":670},{"startOffset":17002,"endOffset":17356,"count":0},{"startOffset":17438,"endOffset":17894,"count":567},{"startOffset":17544,"endOffset":17629,"count":68},{"startOffset":17564,"endOffset":17628,"count":0},{"startOffset":17630,"endOffset":17888,"count":68},{"startOffset":17799,"endOffset":17886,"count":0},{"startOffset":17939,"endOffset":18093,"count":567},{"startOffset":18056,"endOffset":18089,"count":68},{"startOffset":18093,"endOffset":18155,"count":670},{"startOffset":18155,"endOffset":20473,"count":857},{"startOffset":18296,"endOffset":18306,"count":789},{"startOffset":18307,"endOffset":18403,"count":764},{"startOffset":18341,"endOffset":18379,"count":0},{"startOffset":18410,"endOffset":18433,"count":162},{"startOffset":18433,"endOffset":18461,"count":695},{"startOffset":18461,"endOffset":18591,"count":670},{"startOffset":18562,"endOffset":18585,"count":4},{"startOffset":18591,"endOffset":19950,"count":691},{"startOffset":18743,"endOffset":19727,"count":43},{"startOffset":18776,"endOffset":18965,"count":42},{"startOffset":18831,"endOffset":18891,"count":0},{"startOffset":18965,"endOffset":19719,"count":1},{"startOffset":19019,"endOffset":19659,"count":0},{"startOffset":19750,"endOffset":19944,"count":648},{"startOffset":19840,"endOffset":19878,"count":623},{"startOffset":19950,"endOffset":19970,"count":691},{"startOffset":19970,"endOffset":19981,"count":112},{"startOffset":19983,"endOffset":20199,"count":87},{"startOffset":20093,"endOffset":20131,"count":0},{"startOffset":20199,"endOffset":20219,"count":691},{"startOffset":20219,"endOffset":20295,"count":666},{"startOffset":20295,"endOffset":20473,"count":25},{"startOffset":20473,"endOffset":20491,"count":0}],"isBlockCoverage":true},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":20736,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":22345,"endOffset":23485,"count":589},{"startOffset":22623,"endOffset":22648,"count":0},{"startOffset":22941,"endOffset":23363,"count":40550},{"startOffset":23037,"endOffset":23233,"count":4477},{"startOffset":23074,"endOffset":23192,"count":3815},{"startOffset":23233,"endOffset":23357,"count":36073},{"startOffset":23253,"endOffset":23357,"count":12837},{"startOffset":23288,"endOffset":23314,"count":9022},{"startOffset":23314,"endOffset":23349,"count":3815}],"isBlockCoverage":true},{"functionName":"Module._resolveLookupPaths","ranges":[{"startOffset":23519,"endOffset":24778,"count":798},{"startOffset":23599,"endOffset":23665,"count":0},{"startOffset":23750,"endOffset":23949,"count":675},{"startOffset":23830,"endOffset":23880,"count":535},{"startOffset":23881,"endOffset":23948,"count":0},{"startOffset":23951,"endOffset":24250,"count":123},{"startOffset":23983,"endOffset":23998,"count":100},{"startOffset":24000,"endOffset":24110,"count":100},{"startOffset":24110,"endOffset":24150,"count":23},{"startOffset":24239,"endOffset":24245,"count":0},{"startOffset":24250,"endOffset":24318,"count":675},{"startOffset":24319,"endOffset":24338,"count":675},{"startOffset":24340,"endOffset":24589,"count":0},{"startOffset":24589,"endOffset":24777,"count":675}],"isBlockCoverage":true},{"functionName":"emitCircularRequireWarning","ranges":[{"startOffset":24781,"endOffset":24965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25178,"endOffset":25550,"count":0}],"isBlockCoverage":false},{"functionName":"getOwnPropertyDescriptor","ranges":[{"startOffset":25555,"endOffset":25796,"count":0}],"isBlockCoverage":false},{"functionName":"getExportsForCircularRequire","ranges":[{"startOffset":25803,"endOffset":26447,"count":2},{"startOffset":25972,"endOffset":26265,"count":1},{"startOffset":26267,"endOffset":26419,"count":1}],"isBlockCoverage":true},{"functionName":"Module._load","ranges":[{"startOffset":26860,"endOffset":29991,"count":1253},{"startOffset":26943,"endOffset":27759,"count":1230},{"startOffset":27402,"endOffset":27755,"count":369},{"startOffset":27592,"endOffset":27642,"count":0},{"startOffset":27687,"endOffset":27755,"count":0},{"startOffset":27759,"endOffset":27812,"count":884},{"startOffset":27812,"endOffset":28084,"count":14},{"startOffset":27941,"endOffset":28001,"count":0},{"startOffset":28084,"endOffset":28237,"count":870},{"startOffset":28237,"endOffset":28597,"count":261},{"startOffset":28317,"endOffset":28545,"count":27},{"startOffset":28413,"endOffset":28440,"count":25},{"startOffset":28450,"endOffset":28500,"count":2},{"startOffset":28500,"endOffset":28545,"count":25},{"startOffset":28545,"endOffset":28593,"count":234},{"startOffset":28597,"endOffset":28657,"count":634},{"startOffset":28657,"endOffset":28740,"count":73},{"startOffset":28740,"endOffset":28839,"count":561},{"startOffset":28839,"endOffset":28870,"count":536},{"startOffset":28887,"endOffset":29028,"count":0},{"startOffset":29028,"endOffset":29132,"count":561},{"startOffset":29132,"endOffset":29201,"count":538},{"startOffset":29201,"endOffset":29963,"count":561},{"startOffset":29306,"endOffset":29709,"count":0},{"startOffset":29734,"endOffset":29776,"count":556},{"startOffset":29777,"endOffset":29889,"count":556},{"startOffset":29891,"endOffset":29959,"count":1},{"startOffset":29963,"endOffset":29990,"count":561}],"isBlockCoverage":true},{"functionName":"Module._resolveFilename","ranges":[{"startOffset":30020,"endOffset":33106,"count":871},{"startOffset":30117,"endOffset":30142,"count":73},{"startOffset":30142,"endOffset":30192,"count":798},{"startOffset":30192,"endOffset":30211,"count":0},{"startOffset":30213,"endOffset":31290,"count":0},{"startOffset":31290,"endOffset":31385,"count":798},{"startOffset":31385,"endOffset":31433,"count":0},{"startOffset":31435,"endOffset":32047,"count":0},{"startOffset":32047,"endOffset":32208,"count":798},{"startOffset":32208,"endOffset":32404,"count":0},{"startOffset":32404,"endOffset":32560,"count":798},{"startOffset":32560,"endOffset":33105,"count":0}],"isBlockCoverage":true},{"functionName":"finalizeEsmResolution","ranges":[{"startOffset":33109,"endOffset":33678,"count":4},{"startOffset":33311,"endOffset":33430,"count":0},{"startOffset":33543,"endOffset":33677,"count":0}],"isBlockCoverage":true},{"functionName":"createEsmNotFoundErr","ranges":[{"startOffset":33680,"endOffset":33970,"count":0}],"isBlockCoverage":false},{"functionName":"Module.load","ranges":[{"startOffset":34059,"endOffset":34896,"count":561},{"startOffset":34394,"endOffset":34424,"count":0},{"startOffset":34430,"endOffset":34472,"count":0},{"startOffset":34752,"endOffset":34800,"count":0}],"isBlockCoverage":true},{"functionName":"Module.require","ranges":[{"startOffset":35095,"endOffset":35394,"count":1230},{"startOffset":35155,"endOffset":35273,"count":0}],"isBlockCoverage":true},{"functionName":"wrapSafe","ranges":[{"startOffset":35584,"endOffset":37521,"count":558},{"startOffset":35668,"endOffset":36404,"count":0},{"startOffset":36944,"endOffset":36990,"count":0},{"startOffset":36991,"endOffset":37032,"count":0},{"startOffset":37034,"endOffset":37097,"count":0},{"startOffset":37183,"endOffset":37281,"count":27},{"startOffset":37315,"endOffset":37519,"count":0}],"isBlockCoverage":true},{"functionName":"importModuleDynamically","ranges":[{"startOffset":35895,"endOffset":36134,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":36617,"endOffset":36870,"count":2}],"isBlockCoverage":true},{"functionName":"Module._compile","ranges":[{"startOffset":37721,"endOffset":39539,"count":558},{"startOffset":37812,"endOffset":37822,"count":0},{"startOffset":37840,"endOffset":37993,"count":0},{"startOffset":38126,"endOffset":38150,"count":0},{"startOffset":38152,"endOffset":38888,"count":0},{"startOffset":39111,"endOffset":39137,"count":23},{"startOffset":39162,"endOffset":39301,"count":0},{"startOffset":39503,"endOffset":39520,"count":23}],"isBlockCoverage":true},{"functionName":"Module._extensions..js","ranges":[{"startOffset":39598,"endOffset":41380,"count":558},{"startOffset":39759,"endOffset":39767,"count":25},{"startOffset":39769,"endOffset":39834,"count":25},{"startOffset":39834,"endOffset":39894,"count":533},{"startOffset":39943,"endOffset":41340,"count":547},{"startOffset":39988,"endOffset":40010,"count":0},{"startOffset":40106,"endOffset":41336,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..json","ranges":[{"startOffset":41444,"endOffset":41850,"count":3},{"startOffset":41554,"endOffset":41564,"count":0},{"startOffset":41582,"endOffset":41684,"count":0},{"startOffset":41767,"endOffset":41848,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..node","ranges":[{"startOffset":41914,"endOffset":42256,"count":0}],"isBlockCoverage":false},{"functionName":"createRequireFromPath","ranges":[{"startOffset":42259,"endOffset":42720,"count":2},{"startOffset":42439,"endOffset":42481,"count":0},{"startOffset":42519,"endOffset":42555,"count":0}],"isBlockCoverage":true},{"functionName":"createRequire","ranges":[{"startOffset":42828,"endOffset":43373,"count":2},{"startOffset":43033,"endOffset":43165,"count":0},{"startOffset":43169,"endOffset":43329,"count":0}],"isBlockCoverage":true},{"functionName":"Module._initPaths","ranges":[{"startOffset":43434,"endOffset":44399,"count":1},{"startOffset":43475,"endOffset":43500,"count":0},{"startOffset":43552,"endOffset":43575,"count":0},{"startOffset":43783,"endOffset":43825,"count":0},{"startOffset":44124,"endOffset":44266,"count":0}],"isBlockCoverage":true},{"functionName":"Module._preloadModules","ranges":[{"startOffset":44427,"endOffset":45018,"count":0}],"isBlockCoverage":false},{"functionName":"syncBuiltinESMExports","ranges":[{"startOffset":45052,"endOffset":45233,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":45318,"endOffset":45376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"168","url":"node:internal/vm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2921,"count":1}],"isBlockCoverage":false},{"functionName":"isContext","ranges":[{"startOffset":419,"endOffset":554,"count":0}],"isBlockCoverage":false},{"functionName":"internalCompileFunction","ranges":[{"startOffset":556,"endOffset":2857,"count":558},{"startOffset":1151,"endOffset":1200,"count":0},{"startOffset":1304,"endOffset":1566,"count":0},{"startOffset":2045,"endOffset":2118,"count":0},{"startOffset":2145,"endOffset":2202,"count":0},{"startOffset":2258,"endOffset":2331,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1675,"endOffset":1824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"169","url":"node:internal/modules/helpers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7741,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":923,"endOffset":948,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCjsConditions","ranges":[{"startOffset":971,"endOffset":1363,"count":1},{"startOffset":1150,"endOffset":1154,"count":0}],"isBlockCoverage":true},{"functionName":"getCjsConditions","ranges":[{"startOffset":1365,"endOffset":1492,"count":4},{"startOffset":1430,"endOffset":1466,"count":0}],"isBlockCoverage":true},{"functionName":"loadBuiltinModule","ranges":[{"startOffset":1494,"endOffset":1823,"count":101},{"startOffset":1595,"endOffset":1612,"count":0}],"isBlockCoverage":true},{"functionName":"lazyModule","ranges":[{"startOffset":1845,"endOffset":1958,"count":560},{"startOffset":1889,"endOffset":1937,"count":1}],"isBlockCoverage":true},{"functionName":"makeRequireFunction","ranges":[{"startOffset":2207,"endOffset":4418,"count":560},{"startOffset":2346,"endOffset":2409,"count":0},{"startOffset":2443,"endOffset":3714,"count":0}],"isBlockCoverage":true},{"functionName":"require","ranges":[{"startOffset":2586,"endOffset":3709,"count":0}],"isBlockCoverage":false},{"functionName":"require","ranges":[{"startOffset":3736,"endOffset":3876,"count":1229}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":3885,"endOffset":4031,"count":0}],"isBlockCoverage":false},{"functionName":"paths","ranges":[{"startOffset":4065,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"stripBOM","ranges":[{"startOffset":4603,"endOffset":4758,"count":3},{"startOffset":4685,"endOffset":4738,"count":0}],"isBlockCoverage":true},{"functionName":"addBuiltinLibsToObject","ranges":[{"startOffset":4760,"endOffset":6720,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeReferrerURL","ranges":[{"startOffset":6788,"endOffset":6976,"count":87},{"startOffset":6895,"endOffset":6941,"count":29},{"startOffset":6941,"endOffset":6975,"count":58}],"isBlockCoverage":true},{"functionName":"hasEsmSyntax","ranges":[{"startOffset":7046,"endOffset":7548,"count":0}],"isBlockCoverage":false}]},{"scriptId":"170","url":"node:internal/modules/package_json_reader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3711,"count":1}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":932,"endOffset":3682,"count":3204},{"startOffset":1028,"endOffset":1065,"count":3003},{"startOffset":1065,"endOffset":1742,"count":201},{"startOffset":1742,"endOffset":1751,"count":0},{"startOffset":1752,"endOffset":1766,"count":0},{"startOffset":1767,"endOffset":1789,"count":201},{"startOffset":1813,"endOffset":3632,"count":103},{"startOffset":1881,"endOffset":2477,"count":0},{"startOffset":2635,"endOffset":2669,"count":101},{"startOffset":2671,"endOffset":2711,"count":101},{"startOffset":2767,"endOffset":2801,"count":57},{"startOffset":2803,"endOffset":2843,"count":57},{"startOffset":2903,"endOffset":2949,"count":29},{"startOffset":3009,"endOffset":3055,"count":1},{"startOffset":3166,"endOffset":3225,"count":28},{"startOffset":3197,"endOffset":3224,"count":26},{"startOffset":3227,"endOffset":3267,"count":28},{"startOffset":3301,"endOffset":3497,"count":1},{"startOffset":3422,"endOffset":3475,"count":0},{"startOffset":3525,"endOffset":3628,"count":0},{"startOffset":3632,"endOffset":3681,"count":201}],"isBlockCoverage":true}]},{"scriptId":"171","url":"node:internal/modules/run_main","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2850,"count":1}],"isBlockCoverage":false},{"functionName":"resolveMainPath","ranges":[{"startOffset":155,"endOffset":666,"count":1},{"startOffset":495,"endOffset":502,"count":0}],"isBlockCoverage":true},{"functionName":"shouldUseESMLoader","ranges":[{"startOffset":668,"endOffset":1558,"count":1},{"startOffset":1184,"endOffset":1196,"count":0},{"startOffset":1378,"endOffset":1390,"count":0},{"startOffset":1457,"endOffset":1470,"count":0}],"isBlockCoverage":true},{"functionName":"runMainESM","ranges":[{"startOffset":1560,"endOffset":1920,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1736,"endOffset":1915,"count":1},{"startOffset":1833,"endOffset":1843,"count":0}],"isBlockCoverage":true},{"functionName":"handleMainPromise","ranges":[{"startOffset":1922,"endOffset":2196,"count":1}],"isBlockCoverage":true},{"functionName":"executeUserEntryPoint","ranges":[{"startOffset":2382,"endOffset":2780,"count":1},{"startOffset":2592,"endOffset":2599,"count":0},{"startOffset":2605,"endOffset":2778,"count":0}],"isBlockCoverage":true}]},{"scriptId":"172","url":"node:internal/modules/esm/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6457,"count":1}],"isBlockCoverage":false},{"functionName":"getDefaultConditions","ranges":[{"startOffset":707,"endOffset":813,"count":108}],"isBlockCoverage":true},{"functionName":"getDefaultConditionsSet","ranges":[{"startOffset":841,"endOffset":956,"count":107}],"isBlockCoverage":true},{"functionName":"initializeDefaultConditions","ranges":[{"startOffset":1036,"endOffset":1418,"count":1},{"startOffset":1219,"endOffset":1223,"count":0}],"isBlockCoverage":true},{"functionName":"getConditionsSet","ranges":[{"startOffset":1488,"endOffset":1847,"count":107},{"startOffset":1601,"endOffset":1809,"count":0}],"isBlockCoverage":true},{"functionName":"registerModule","ranges":[{"startOffset":3590,"endOffset":3817,"count":616}],"isBlockCoverage":true},{"functionName":"initializeImportMetaObject","ranges":[{"startOffset":3842,"endOffset":4133,"count":3}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyCallback","ranges":[{"startOffset":4158,"endOffset":4557,"count":3},{"startOffset":4501,"endOffset":4556,"count":0}],"isBlockCoverage":true},{"functionName":"initializeESM","ranges":[{"startOffset":4722,"endOffset":5098,"count":1}],"isBlockCoverage":true},{"functionName":"isLoaderWorker","ranges":[{"startOffset":5100,"endOffset":5155,"count":1}],"isBlockCoverage":true},{"functionName":"initializeHooks","ranges":[{"startOffset":5157,"endOffset":6268,"count":0}],"isBlockCoverage":false}]},{"scriptId":"173","url":"node:internal/process/esm_loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1190,"count":1}],"isBlockCoverage":false},{"functionName":"get esmLoader","ranges":[{"startOffset":386,"endOffset":458,"count":77}],"isBlockCoverage":true},{"functionName":"loadESM","ranges":[{"startOffset":462,"endOffset":1185,"count":1},{"startOffset":630,"endOffset":846,"count":0},{"startOffset":937,"endOffset":1181,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":728,"endOffset":836,"count":0}],"isBlockCoverage":false}]},{"scriptId":"174","url":"node:internal/modules/esm/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21570,"count":1}],"isBlockCoverage":false},{"functionName":"newResolveCache","ranges":[{"startOffset":783,"endOffset":913,"count":1}],"isBlockCoverage":true},{"functionName":"newLoadCache","ranges":[{"startOffset":915,"endOffset":1036,"count":1}],"isBlockCoverage":true},{"functionName":"getTranslators","ranges":[{"startOffset":1038,"endOffset":1160,"count":98}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1847,"endOffset":14781,"count":1}],"isBlockCoverage":false},{"functionName":"ModuleLoader","ranges":[{"startOffset":3114,"endOffset":3307,"count":1},{"startOffset":3202,"endOffset":3259,"count":0}],"isBlockCoverage":true},{"functionName":"setCustomizations","ranges":[{"startOffset":4847,"endOffset":5091,"count":1},{"startOffset":4950,"endOffset":5032,"count":0}],"isBlockCoverage":true},{"functionName":"eval","ranges":[{"startOffset":5095,"endOffset":6098,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleJob","ranges":[{"startOffset":6833,"endOffset":7068,"count":162}],"isBlockCoverage":true},{"functionName":"getModuleJobSync","ranges":[{"startOffset":7072,"endOffset":7309,"count":0}],"isBlockCoverage":false},{"functionName":"getJobFromResolveResult","ranges":[{"startOffset":7313,"endOffset":7897,"count":162},{"startOffset":7687,"endOffset":7749,"count":0},{"startOffset":7778,"endOffset":7876,"count":97}],"isBlockCoverage":true},{"functionName":"#createModuleJob","ranges":[{"startOffset":8535,"endOffset":9726,"count":97},{"startOffset":9027,"endOffset":9103,"count":0},{"startOffset":9246,"endOffset":9286,"count":1},{"startOffset":9341,"endOffset":9356,"count":0},{"startOffset":9358,"endOffset":9412,"count":0}],"isBlockCoverage":true},{"functionName":"callTranslator","ranges":[{"startOffset":8629,"endOffset":8943,"count":97},{"startOffset":8773,"endOffset":8853,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9035,"endOffset":9103,"count":0}],"isBlockCoverage":false},{"functionName":"moduleProvider","ranges":[{"startOffset":9112,"endOffset":9188,"count":97}],"isBlockCoverage":true},{"functionName":"import","ranges":[{"startOffset":10188,"endOffset":10413,"count":4}],"isBlockCoverage":true},{"functionName":"register","ranges":[{"startOffset":10479,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":11461,"endOffset":12047,"count":162},{"startOffset":11549,"endOffset":11647,"count":0},{"startOffset":11843,"endOffset":11877,"count":1},{"startOffset":11877,"endOffset":12046,"count":161}],"isBlockCoverage":true},{"functionName":"resolveSync","ranges":[{"startOffset":12205,"endOffset":12483,"count":0}],"isBlockCoverage":false},{"functionName":"defaultResolve","ranges":[{"startOffset":12695,"endOffset":13035,"count":161}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":13319,"endOffset":13623,"count":97},{"startOffset":13456,"endOffset":13510,"count":0}],"isBlockCoverage":true},{"functionName":"loadSync","ranges":[{"startOffset":13627,"endOffset":14158,"count":0}],"isBlockCoverage":false},{"functionName":"validateLoadResult","ranges":[{"startOffset":14162,"endOffset":14313,"count":97},{"startOffset":14220,"endOffset":14309,"count":0}],"isBlockCoverage":true},{"functionName":"importMetaInitialize","ranges":[{"startOffset":14317,"endOffset":14652,"count":3},{"startOffset":14385,"endOffset":14469,"count":0}],"isBlockCoverage":true},{"functionName":"forceLoadHooks","ranges":[{"startOffset":14713,"endOffset":14779,"count":1},{"startOffset":14756,"endOffset":14772,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14835,"endOffset":17345,"count":0}],"isBlockCoverage":false},{"functionName":"createModuleLoader","ranges":[{"startOffset":17841,"endOffset":19523,"count":1},{"startOffset":18306,"endOffset":19473,"count":0}],"isBlockCoverage":true},{"functionName":"readableURIEncode","ranges":[{"startOffset":18381,"endOffset":18876,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19196,"endOffset":19284,"count":0}],"isBlockCoverage":false},{"functionName":"getHooksProxy","ranges":[{"startOffset":19636,"endOffset":19812,"count":0}],"isBlockCoverage":false},{"functionName":"register","ranges":[{"startOffset":21096,"endOffset":21495,"count":0}],"isBlockCoverage":false}]},{"scriptId":"175","url":"node:internal/modules/esm/module_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3877,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":281,"endOffset":306,"count":1}],"isBlockCoverage":true},{"functionName":"ResolveCache","ranges":[{"startOffset":850,"endOffset":878,"count":1}],"isBlockCoverage":true},{"functionName":"serializeKey","ranges":[{"startOffset":1224,"endOffset":1836,"count":162},{"startOffset":1633,"endOffset":1835,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1752,"endOffset":1818,"count":0}],"isBlockCoverage":false},{"functionName":"#getModuleCachedImports","ranges":[{"startOffset":1840,"endOffset":2056,"count":323},{"startOffset":1954,"endOffset":2026,"count":37}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2231,"endOffset":2333,"count":162}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":2473,"endOffset":2602,"count":161}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":2606,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"LoadCache","ranges":[{"startOffset":2844,"endOffset":2872,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2921,"endOffset":3064,"count":162},{"startOffset":3051,"endOffset":3059,"count":65}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3067,"endOffset":3662,"count":97},{"startOffset":3286,"endOffset":3322,"count":0},{"startOffset":3324,"endOffset":3394,"count":0},{"startOffset":3478,"endOffset":3484,"count":0}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":3665,"endOffset":3822,"count":0}],"isBlockCoverage":false}]},{"scriptId":"176","url":"node:internal/modules/esm/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4026,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1321,"endOffset":1359,"count":5}],"isBlockCoverage":true},{"functionName":"validateAssertions","ranges":[{"startOffset":1780,"endOffset":3310,"count":97},{"startOffset":2002,"endOffset":2301,"count":0},{"startOffset":2330,"endOffset":2475,"count":0},{"startOffset":2740,"endOffset":2800,"count":0},{"startOffset":2806,"endOffset":2914,"count":0},{"startOffset":2920,"endOffset":3304,"count":0}],"isBlockCoverage":true},{"functionName":"handleInvalidType","ranges":[{"startOffset":3542,"endOffset":3956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"177","url":"node:internal/modules/esm/translators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15691,"count":1}],"isBlockCoverage":false},{"functionName":"lazyTypes","ranges":[{"startOffset":372,"endOffset":484,"count":116},{"startOffset":418,"endOffset":432,"count":115},{"startOffset":432,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":948,"endOffset":973,"count":1}],"isBlockCoverage":true},{"functionName":"initCJSParse","ranges":[{"startOffset":1545,"endOffset":1943,"count":6},{"startOffset":1619,"endOffset":1694,"count":0},{"startOffset":1852,"endOffset":1937,"count":0}],"isBlockCoverage":true},{"functionName":"assertBufferSource","ranges":[{"startOffset":2077,"endOffset":2498,"count":116},{"startOffset":2154,"endOffset":2181,"count":58},{"startOffset":2183,"endOffset":2200,"count":0},{"startOffset":2294,"endOffset":2319,"count":0},{"startOffset":2338,"endOffset":2417,"count":0},{"startOffset":2418,"endOffset":2422,"count":0}],"isBlockCoverage":true},{"functionName":"stringify","ranges":[{"startOffset":2500,"endOffset":2774,"count":83},{"startOffset":2559,"endOffset":2571,"count":25},{"startOffset":2571,"endOffset":2711,"count":58},{"startOffset":2711,"endOffset":2730,"count":1},{"startOffset":2731,"endOffset":2740,"count":57}],"isBlockCoverage":true},{"functionName":"errPath","ranges":[{"startOffset":2776,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":2923,"endOffset":3061,"count":1}],"isBlockCoverage":true},{"functionName":"moduleStrategy","ranges":[{"startOffset":3143,"endOffset":3668,"count":58}],"isBlockCoverage":true},{"functionName":"initializeImportMeta","ranges":[{"startOffset":3557,"endOffset":3613,"count":3}],"isBlockCoverage":true},{"functionName":"enrichCJSError","ranges":[{"startOffset":3835,"endOffset":4374,"count":0}],"isBlockCoverage":false},{"functionName":"loadCJSModule","ranges":[{"startOffset":4715,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"createCJSModuleWrap","ranges":[{"startOffset":6909,"endOffset":8288,"count":25},{"startOffset":7110,"endOffset":7115,"count":0},{"startOffset":7309,"endOffset":7331,"count":1},{"startOffset":7332,"endOffset":7361,"count":24},{"startOffset":7378,"endOffset":7434,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7494,"endOffset":8283,"count":25},{"startOffset":7571,"endOffset":7624,"count":23},{"startOffset":7806,"endOffset":7849,"count":0},{"startOffset":7892,"endOffset":8239,"count":70},{"startOffset":7956,"endOffset":7993,"count":69},{"startOffset":8003,"endOffset":8012,"count":2},{"startOffset":8012,"endOffset":8136,"count":68},{"startOffset":8136,"endOffset":8192,"count":0},{"startOffset":8192,"endOffset":8239,"count":68}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8448,"endOffset":8540,"count":0}],"isBlockCoverage":false},{"functionName":"commonjsStrategy","ranges":[{"startOffset":8728,"endOffset":9611,"count":25},{"startOffset":8860,"endOffset":8891,"count":6},{"startOffset":9358,"endOffset":9373,"count":0},{"startOffset":9498,"endOffset":9546,"count":0}],"isBlockCoverage":true},{"functionName":"cjsLoader","ranges":[{"startOffset":9138,"endOffset":9357,"count":23},{"startOffset":9277,"endOffset":9353,"count":0}],"isBlockCoverage":true},{"functionName":"cjsPreparseModuleExports","ranges":[{"startOffset":9615,"endOffset":12093,"count":25},{"startOffset":9798,"endOffset":9923,"count":0},{"startOffset":10231,"endOffset":10236,"count":0},{"startOffset":10244,"endOffset":10293,"count":0},{"startOffset":10469,"endOffset":12056,"count":1},{"startOffset":11330,"endOffset":11363,"count":0},{"startOffset":11629,"endOffset":11658,"count":0},{"startOffset":11660,"endOffset":12046,"count":0}],"isBlockCoverage":true},{"functionName":"builtinStrategy","ranges":[{"startOffset":12217,"endOffset":12623,"count":14},{"startOffset":12496,"endOffset":12548,"count":0}],"isBlockCoverage":true},{"functionName":"jsonStrategy","ranges":[{"startOffset":12735,"endOffset":14686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14752,"endOffset":15688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"178","url":"node:internal/modules/esm/resolve","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36606,"count":1}],"isBlockCoverage":false},{"functionName":"emitTrailingSlashPatternDeprecation","ranges":[{"startOffset":2334,"endOffset":2920,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidSegmentDeprecation","ranges":[{"startOffset":2962,"endOffset":3657,"count":0}],"isBlockCoverage":false},{"functionName":"emitLegacyIndexDeprecation","ranges":[{"startOffset":3805,"endOffset":4938,"count":22},{"startOffset":3967,"endOffset":4936,"count":0}],"isBlockCoverage":true},{"functionName":"legacyMainResolve","ranges":[{"startOffset":6029,"endOffset":6789,"count":22},{"startOffset":6196,"endOffset":6280,"count":0},{"startOffset":6320,"endOffset":6331,"count":0},{"startOffset":6543,"endOffset":6570,"count":14},{"startOffset":6571,"endOffset":6575,"count":8}],"isBlockCoverage":true},{"functionName":"finalizeResolution","ranges":[{"startOffset":6969,"endOffset":8433,"count":107},{"startOffset":7109,"endOffset":7252,"count":0},{"startOffset":7314,"endOffset":7498,"count":0},{"startOffset":7587,"endOffset":7623,"count":0},{"startOffset":7689,"endOffset":7781,"count":0},{"startOffset":7804,"endOffset":8092,"count":0},{"startOffset":8338,"endOffset":8343,"count":0}],"isBlockCoverage":true},{"functionName":"importNotDefined","ranges":[{"startOffset":8545,"endOffset":8756,"count":0}],"isBlockCoverage":false},{"functionName":"exportsNotFound","ranges":[{"startOffset":8866,"endOffset":9061,"count":0}],"isBlockCoverage":false},{"functionName":"throwInvalidSubpath","ranges":[{"startOffset":9228,"endOffset":9611,"count":0}],"isBlockCoverage":false},{"functionName":"invalidPackageTarget","ranges":[{"startOffset":9613,"endOffset":9991,"count":0}],"isBlockCoverage":false},{"functionName":"resolvePackageTargetString","ranges":[{"startOffset":10714,"endOffset":13451,"count":36},{"startOffset":10883,"endOffset":10894,"count":0},{"startOffset":10895,"endOffset":10931,"count":0},{"startOffset":10937,"endOffset":11011,"count":0},{"startOffset":11061,"endOffset":11618,"count":0},{"startOffset":11710,"endOffset":12320,"count":0},{"startOffset":12543,"endOffset":12617,"count":0},{"startOffset":12657,"endOffset":13450,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11393,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11919,"endOffset":11932,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12065,"endOffset":12078,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12792,"endOffset":12805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13032,"endOffset":13045,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13385,"endOffset":13398,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayIndex","ranges":[{"startOffset":13506,"endOffset":13646,"count":23},{"startOffset":13598,"endOffset":13643,"count":0}],"isBlockCoverage":true},{"functionName":"resolvePackageTarget","ranges":[{"startOffset":13910,"endOffset":16158,"count":48},{"startOffset":14103,"endOffset":14257,"count":36},{"startOffset":14257,"endOffset":16041,"count":12},{"startOffset":14289,"endOffset":15127,"count":2},{"startOffset":14320,"endOffset":14346,"count":0},{"startOffset":14666,"endOffset":14814,"count":0},{"startOffset":14854,"endOffset":14881,"count":0},{"startOffset":14916,"endOffset":14973,"count":0},{"startOffset":15007,"endOffset":15069,"count":0},{"startOffset":15077,"endOffset":15127,"count":0},{"startOffset":15127,"endOffset":16041,"count":10},{"startOffset":15280,"endOffset":15508,"count":23},{"startOffset":15338,"endOffset":15502,"count":0},{"startOffset":15551,"endOffset":15966,"count":17},{"startOffset":15608,"endOffset":15630,"count":14},{"startOffset":15632,"endOffset":15960,"count":10},{"startOffset":15913,"endOffset":15922,"count":0},{"startOffset":15966,"endOffset":16041,"count":0},{"startOffset":16041,"endOffset":16157,"count":0}],"isBlockCoverage":true},{"functionName":"isConditionalExportsMainSugar","ranges":[{"startOffset":16343,"endOffset":17278,"count":34},{"startOffset":16449,"endOffset":16473,"count":8},{"startOffset":16475,"endOffset":16487,"count":26},{"startOffset":16487,"endOffset":16541,"count":8},{"startOffset":16543,"endOffset":16556,"count":0},{"startOffset":16556,"endOffset":16696,"count":8},{"startOffset":16696,"endOffset":17247,"count":16},{"startOffset":16806,"endOffset":17243,"count":8},{"startOffset":16919,"endOffset":17243,"count":0},{"startOffset":17247,"endOffset":17277,"count":8}],"isBlockCoverage":true},{"functionName":"packageExportsResolve","ranges":[{"startOffset":17488,"endOffset":20047,"count":34},{"startOffset":17700,"endOffset":17727,"count":27},{"startOffset":18129,"endOffset":18203,"count":0},{"startOffset":18234,"endOffset":20046,"count":0}],"isBlockCoverage":true},{"functionName":"patternKeyCompare","ranges":[{"startOffset":20049,"endOffset":20580,"count":0}],"isBlockCoverage":false},{"functionName":"packageImportsResolve","ranges":[{"startOffset":20709,"endOffset":23166,"count":2},{"startOffset":20871,"endOffset":21024,"count":0},{"startOffset":21608,"endOffset":23100,"count":0},{"startOffset":23110,"endOffset":23165,"count":0}],"isBlockCoverage":true},{"functionName":"getPackageType","ranges":[{"startOffset":23271,"endOffset":23384,"count":116}],"isBlockCoverage":true},{"functionName":"parsePackageName","ranges":[{"startOffset":23546,"endOffset":24598,"count":52},{"startOffset":23737,"endOffset":23965,"count":1},{"startOffset":23817,"endOffset":23856,"count":0},{"startOffset":24027,"endOffset":24079,"count":0},{"startOffset":24256,"endOffset":24281,"count":0},{"startOffset":24308,"endOffset":24427,"count":0},{"startOffset":24488,"endOffset":24541,"count":0}],"isBlockCoverage":true},{"functionName":"packageResolve","ranges":[{"startOffset":24760,"endOffset":26832,"count":52},{"startOffset":24874,"endOffset":24920,"count":0},{"startOffset":25258,"endOffset":25375,"count":0},{"startOffset":25550,"endOffset":26617,"count":191},{"startOffset":25809,"endOffset":26086,"count":139},{"startOffset":25886,"endOffset":25923,"count":3},{"startOffset":25924,"endOffset":25950,"count":136},{"startOffset":26086,"endOffset":26267,"count":52},{"startOffset":26267,"endOffset":26384,"count":30},{"startOffset":26384,"endOffset":26526,"count":22},{"startOffset":26526,"endOffset":26617,"count":0},{"startOffset":26617,"endOffset":26831,"count":0}],"isBlockCoverage":true},{"functionName":"isBareSpecifier","ranges":[{"startOffset":26893,"endOffset":27003,"count":0}],"isBlockCoverage":false},{"functionName":"isRelativeSpecifier","ranges":[{"startOffset":27005,"endOffset":27276,"count":268},{"startOffset":27075,"endOffset":27258,"count":104},{"startOffset":27133,"endOffset":27145,"count":94},{"startOffset":27145,"endOffset":27254,"count":10},{"startOffset":27258,"endOffset":27275,"count":164}],"isBlockCoverage":true},{"functionName":"shouldBeTreatedAsRelativeOrAbsolutePath","ranges":[{"startOffset":27278,"endOffset":27461,"count":268},{"startOffset":27364,"endOffset":27377,"count":0},{"startOffset":27406,"endOffset":27418,"count":0}],"isBlockCoverage":true},{"functionName":"moduleResolve","ranges":[{"startOffset":27654,"endOffset":28445,"count":107},{"startOffset":27980,"endOffset":28026,"count":52},{"startOffset":28026,"endOffset":28316,"count":55},{"startOffset":28071,"endOffset":28143,"count":2},{"startOffset":28143,"endOffset":28316,"count":53},{"startOffset":28204,"endOffset":28312,"count":52},{"startOffset":28354,"endOffset":28380,"count":0}],"isBlockCoverage":true},{"functionName":"resolveAsCommonJS","ranges":[{"startOffset":28591,"endOffset":30048,"count":0}],"isBlockCoverage":false},{"functionName":"checkIfDisallowedImport","ranges":[{"startOffset":30110,"endOffset":31482,"count":161},{"startOffset":30204,"endOffset":31480,"count":160},{"startOffset":30416,"endOffset":31476,"count":0}],"isBlockCoverage":true},{"functionName":"throwIfInvalidParentURL","ranges":[{"startOffset":31557,"endOffset":31830,"count":161},{"startOffset":31634,"endOffset":31685,"count":1},{"startOffset":31685,"endOffset":31722,"count":160},{"startOffset":31722,"endOffset":31742,"count":0},{"startOffset":31744,"endOffset":31828,"count":0}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":31833,"endOffset":35819,"count":161},{"startOffset":31981,"endOffset":32000,"count":160},{"startOffset":31990,"endOffset":32000,"count":0},{"startOffset":32002,"endOffset":32811,"count":0},{"startOffset":32853,"endOffset":32958,"count":160},{"startOffset":32915,"endOffset":32954,"count":0},{"startOffset":33042,"endOffset":33101,"count":52},{"startOffset":33101,"endOffset":33149,"count":109},{"startOffset":33149,"endOffset":33423,"count":107},{"startOffset":33327,"endOffset":33415,"count":0},{"startOffset":33430,"endOffset":33489,"count":0},{"startOffset":33494,"endOffset":33529,"count":54},{"startOffset":33863,"endOffset":33882,"count":0},{"startOffset":33947,"endOffset":33977,"count":107},{"startOffset":33979,"endOffset":34022,"count":54},{"startOffset":34022,"endOffset":34081,"count":107},{"startOffset":34081,"endOffset":34579,"count":1},{"startOffset":34536,"endOffset":34575,"count":0},{"startOffset":34579,"endOffset":34735,"count":107},{"startOffset":34735,"endOffset":34757,"count":1},{"startOffset":34758,"endOffset":34776,"count":106},{"startOffset":34789,"endOffset":35593,"count":0},{"startOffset":35593,"endOffset":35818,"count":107}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":36211,"endOffset":36602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"179","url":"node:internal/modules/esm/package_config","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1412,"count":1}],"isBlockCoverage":false},{"functionName":"getPackageScopeConfig","ranges":[{"startOffset":269,"endOffset":1362,"count":170},{"startOffset":387,"endOffset":1107,"count":277},{"startOffset":521,"endOffset":541,"count":0},{"startOffset":731,"endOffset":766,"count":170},{"startOffset":766,"endOffset":1083,"count":107},{"startOffset":1083,"endOffset":1103,"count":0},{"startOffset":1107,"endOffset":1361,"count":0}],"isBlockCoverage":true}]},{"scriptId":"180","url":"node:internal/modules/esm/get_format","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4514,"count":1}],"isBlockCoverage":false},{"functionName":"node:","ranges":[{"startOffset":900,"endOffset":931,"count":14}],"isBlockCoverage":true},{"functionName":"getDataProtocolModuleFormat","ranges":[{"startOffset":996,"endOffset":1212,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":1487,"endOffset":1846,"count":129},{"startOffset":1587,"endOffset":1831,"count":400},{"startOffset":1649,"endOffset":1684,"count":0},{"startOffset":1692,"endOffset":1821,"count":129},{"startOffset":1780,"endOffset":1784,"count":0},{"startOffset":1831,"endOffset":1845,"count":0}],"isBlockCoverage":true},{"functionName":"getFileProtocolModuleFormat","ranges":[{"startOffset":1970,"endOffset":3175,"count":129},{"startOffset":2086,"endOffset":2160,"count":116},{"startOffset":2132,"endOffset":2142,"count":72},{"startOffset":2143,"endOffset":2155,"count":44},{"startOffset":2160,"endOffset":2232,"count":13},{"startOffset":2232,"endOffset":2467,"count":0},{"startOffset":2469,"endOffset":3174,"count":0}],"isBlockCoverage":true},{"functionName":"getHttpProtocolModuleFormat","ranges":[{"startOffset":3311,"endOffset":3656,"count":0}],"isBlockCoverage":false},{"functionName":"defaultGetFormatWithoutErrors","ranges":[{"startOffset":3801,"endOffset":4036,"count":129},{"startOffset":3955,"endOffset":3977,"count":0}],"isBlockCoverage":true},{"functionName":"defaultGetFormat","ranges":[{"startOffset":4181,"endOffset":4404,"count":14},{"startOffset":4322,"endOffset":4344,"count":0}],"isBlockCoverage":true}]},{"scriptId":"181","url":"node:internal/modules/esm/formats","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":856,"count":1}],"isBlockCoverage":false},{"functionName":"mimeToFormat","ranges":[{"startOffset":468,"endOffset":794,"count":0}],"isBlockCoverage":false}]},{"scriptId":"182","url":"node:internal/modules/esm/handle_process_exit","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":424,"count":1}],"isBlockCoverage":false},{"functionName":"handleProcessExit","ranges":[{"startOffset":298,"endOffset":379,"count":0}],"isBlockCoverage":false}]},{"scriptId":"183","url":"node:internal/modules/esm/module_job","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8786,"count":1}],"isBlockCoverage":false},{"functionName":"isCommonJSGlobalLikeNotDefinedError","ranges":[{"startOffset":917,"endOffset":1048,"count":0}],"isBlockCoverage":false},{"functionName":"ModuleJob","ranges":[{"startOffset":1286,"endOffset":3283,"count":97},{"startOffset":1811,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"link","ranges":[{"startOffset":2085,"endOffset":2900,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2541,"endOffset":2746,"count":158}],"isBlockCoverage":true},{"functionName":"instantiate","ranges":[{"startOffset":3287,"endOffset":3432,"count":4},{"startOffset":3344,"endOffset":3398,"count":3}],"isBlockCoverage":true},{"functionName":"_instantiate","ranges":[{"startOffset":3436,"endOffset":7090,"count":3},{"startOffset":3896,"endOffset":4073,"count":0},{"startOffset":4130,"endOffset":6843,"count":0},{"startOffset":6890,"endOffset":7086,"count":106}],"isBlockCoverage":true},{"functionName":"addJobsToDependencyGraph","ranges":[{"startOffset":3535,"endOffset":3795,"count":161},{"startOffset":3596,"endOffset":3621,"count":55},{"startOffset":3621,"endOffset":3794,"count":106}],"isBlockCoverage":true},{"functionName":"runSync","ranges":[{"startOffset":7094,"endOffset":7494,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":7498,"endOffset":8706,"count":4},{"startOffset":7673,"endOffset":8649,"count":0}],"isBlockCoverage":true}]},{"scriptId":"184","url":"node:internal/modules/esm/load","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6703,"count":1}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":1130,"endOffset":2357,"count":58},{"startOffset":1398,"endOffset":2223,"count":0},{"startOffset":2236,"endOffset":2246,"count":0},{"startOffset":2248,"endOffset":2304,"count":0}],"isBlockCoverage":true},{"functionName":"getSourceSync","ranges":[{"startOffset":2540,"endOffset":3279,"count":0}],"isBlockCoverage":false},{"functionName":"defaultLoad","ranges":[{"startOffset":3400,"endOffset":4067,"count":97},{"startOffset":3739,"endOffset":3827,"count":14},{"startOffset":3827,"endOffset":3855,"count":83},{"startOffset":3860,"endOffset":3884,"count":39},{"startOffset":3884,"endOffset":3986,"count":58}],"isBlockCoverage":true},{"functionName":"defaultLoadSync","ranges":[{"startOffset":4580,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfUnsupportedURLScheme","ranges":[{"startOffset":5367,"endOffset":5999,"count":97},{"startOffset":5597,"endOffset":5624,"count":14},{"startOffset":5625,"endOffset":5652,"count":14},{"startOffset":5653,"endOffset":5782,"count":0},{"startOffset":5787,"endOffset":5997,"count":0}],"isBlockCoverage":true},{"functionName":"throwUnknownModuleFormat","ranges":[{"startOffset":6378,"endOffset":6616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"185","url":"node:internal/fs/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29943,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCpPromises","ranges":[{"startOffset":2997,"endOffset":3089,"count":0}],"isBlockCoverage":false},{"functionName":"lazyFsStreams","ranges":[{"startOffset":3151,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3236,"endOffset":9299,"count":58}],"isBlockCoverage":false},{"functionName":"FileHandle","ranges":[{"startOffset":3377,"endOffset":3554,"count":58},{"startOffset":3491,"endOffset":3495,"count":0}],"isBlockCoverage":true},{"functionName":"getAsyncId","ranges":[{"startOffset":3558,"endOffset":3615,"count":0}],"isBlockCoverage":false},{"functionName":"get fd","ranges":[{"startOffset":3619,"endOffset":3655,"count":116}],"isBlockCoverage":true},{"functionName":"appendFile","ranges":[{"startOffset":3659,"endOffset":3741,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":3745,"endOffset":3801,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":3805,"endOffset":3869,"count":0}],"isBlockCoverage":false},{"functionName":"datasync","ranges":[{"startOffset":3873,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":3929,"endOffset":3973,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":3977,"endOffset":4086,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":4090,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":4175,"endOffset":4242,"count":0}],"isBlockCoverage":false},{"functionName":"readLines","ranges":[{"startOffset":4246,"endOffset":4389,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4393,"endOffset":4453,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":4457,"endOffset":4521,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":4525,"endOffset":4599,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":4603,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":4718,"endOffset":4801,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4805,"endOffset":4886,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":4898,"endOffset":5690,"count":58},{"startOffset":4932,"endOffset":4970,"count":0},{"startOffset":5001,"endOffset":5042,"count":0},{"startOffset":5268,"endOffset":5629,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5210,"endOffset":5252,"count":58}],"isBlockCoverage":true},{"functionName":".SafePromisePrototypeFinally.","ranges":[{"startOffset":5353,"endOffset":5465,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5468,"endOffset":5613,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5695,"endOffset":5754,"count":0}],"isBlockCoverage":false},{"functionName":"readableWebStream","ranges":[{"startOffset":5949,"endOffset":7635,"count":0}],"isBlockCoverage":false},{"functionName":"createReadStream","ranges":[{"startOffset":7933,"endOffset":8084,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":8333,"endOffset":8487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8491,"endOffset":8891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8895,"endOffset":8948,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8952,"endOffset":9039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9043,"endOffset":9076,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9080,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"handleFdClose","ranges":[{"startOffset":9301,"endOffset":9672,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9412,"endOffset":9471,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9458,"endOffset":9470,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9477,"endOffset":9664,"count":0}],"isBlockCoverage":false},{"functionName":"fsCall","ranges":[{"startOffset":9674,"endOffset":10134,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":10136,"endOffset":10256,"count":232},{"startOffset":10180,"endOffset":10189,"count":0},{"startOffset":10195,"endOffset":10254,"count":0}],"isBlockCoverage":true},{"functionName":"writeFileHandle","ranges":[{"startOffset":10258,"endOffset":11400,"count":0}],"isBlockCoverage":false},{"functionName":"readFileHandle","ranges":[{"startOffset":11402,"endOffset":13541,"count":58},{"startOffset":11554,"endOffset":11584,"count":0},{"startOffset":11864,"endOffset":11902,"count":0},{"startOffset":11935,"endOffset":11983,"count":0},{"startOffset":12016,"endOffset":12054,"count":0},{"startOffset":12296,"endOffset":12368,"count":0},{"startOffset":12512,"endOffset":12516,"count":0},{"startOffset":12601,"endOffset":12657,"count":0},{"startOffset":12751,"endOffset":12762,"count":0},{"startOffset":12819,"endOffset":12879,"count":0},{"startOffset":12927,"endOffset":12941,"count":0},{"startOffset":12943,"endOffset":13053,"count":0},{"startOffset":13084,"endOffset":13535,"count":0}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":13694,"endOffset":13915,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":13917,"endOffset":14186,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":14188,"endOffset":14546,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":14666,"endOffset":14991,"count":58}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":14993,"endOffset":16364,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":16366,"endOffset":16703,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":16705,"endOffset":17954,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":17956,"endOffset":18398,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":18400,"endOffset":18706,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":18708,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":18843,"endOffset":19002,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":19004,"endOffset":19208,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":19210,"endOffset":19581,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":19583,"endOffset":19672,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":19674,"endOffset":19755,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":19757,"endOffset":20234,"count":0}],"isBlockCoverage":false},{"functionName":"readdirRecursive","ranges":[{"startOffset":20236,"endOffset":21910,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":21912,"endOffset":22339,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":22341,"endOffset":22580,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":22582,"endOffset":23306,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":23308,"endOffset":23486,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":23488,"endOffset":23758,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":23760,"endOffset":24027,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":24029,"endOffset":24303,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":24305,"endOffset":24628,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":24630,"endOffset":24768,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":24770,"endOffset":24903,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":24905,"endOffset":25091,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":25093,"endOffset":25321,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":25323,"endOffset":25599,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":25601,"endOffset":25798,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":25800,"endOffset":26073,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":26075,"endOffset":26347,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":26349,"endOffset":26548,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":26550,"endOffset":26827,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":26829,"endOffset":27002,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":27004,"endOffset":27383,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":27385,"endOffset":28060,"count":0}],"isBlockCoverage":false},{"functionName":"isCustomIterable","ranges":[{"startOffset":28062,"endOffset":28176,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":28178,"endOffset":28419,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":28421,"endOffset":28765,"count":58},{"startOffset":28538,"endOffset":28544,"count":0},{"startOffset":28585,"endOffset":28622,"count":0}],"isBlockCoverage":true},{"functionName":"_watch","ranges":[{"startOffset":28767,"endOffset":29432,"count":0}],"isBlockCoverage":false}]},{"scriptId":"186","url":"node:internal/fs/rimraf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7454,"count":1}],"isBlockCoverage":false},{"functionName":"rimraf","ranges":[{"startOffset":1175,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_rimraf","ranges":[{"startOffset":1638,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERM","ranges":[{"startOffset":2499,"endOffset":2934,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdir","ranges":[{"startOffset":2937,"endOffset":3235,"count":0}],"isBlockCoverage":false},{"functionName":"_rmchildren","ranges":[{"startOffset":3238,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafPromises","ranges":[{"startOffset":3928,"endOffset":4126,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafSync","ranges":[{"startOffset":4129,"endOffset":4812,"count":0}],"isBlockCoverage":false},{"functionName":"_unlinkSync","ranges":[{"startOffset":4815,"endOffset":5444,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdirSync","ranges":[{"startOffset":5447,"endOffset":6944,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERMSync","ranges":[{"startOffset":6947,"endOffset":7394,"count":0}],"isBlockCoverage":false}]},{"scriptId":"187","url":"node:internal/fs/dir","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8071,"count":1}],"isBlockCoverage":false},{"functionName":"Dir","ranges":[{"startOffset":1177,"endOffset":1993,"count":0}],"isBlockCoverage":false},{"functionName":"get path","ranges":[{"startOffset":1997,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":2044,"endOffset":2111,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2115,"endOffset":3841,"count":0}],"isBlockCoverage":false},{"functionName":"processReadResult","ranges":[{"startOffset":3845,"endOffset":4099,"count":0}],"isBlockCoverage":false},{"functionName":"readSyncRecursive","ranges":[{"startOffset":4103,"endOffset":4676,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":4680,"endOffset":5656,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":5660,"endOffset":6349,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":6353,"endOffset":6730,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":6734,"endOffset":6997,"count":0}],"isBlockCoverage":false},{"functionName":"opendir","ranges":[{"startOffset":7177,"endOffset":7757,"count":0}],"isBlockCoverage":false},{"functionName":"opendirSync","ranges":[{"startOffset":7759,"endOffset":8014,"count":0}],"isBlockCoverage":false}]},{"scriptId":"188","url":"node:internal/fs/watchers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11242,"count":1}],"isBlockCoverage":false},{"functionName":"emitStop","ranges":[{"startOffset":1420,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher","ranges":[{"startOffset":1470,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"onchange","ranges":[{"startOffset":1820,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":2565,"endOffset":3399,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.start","ranges":[{"startOffset":3620,"endOffset":3628,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.stop","ranges":[{"startOffset":3874,"endOffset":4155,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":4244,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.ref","ranges":[{"startOffset":4702,"endOffset":4984,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.unref","ranges":[{"startOffset":5017,"endOffset":5267,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher","ranges":[{"startOffset":5271,"endOffset":6239,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.","ranges":[{"startOffset":6776,"endOffset":7686,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.start","ranges":[{"startOffset":7903,"endOffset":7911,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.close","ranges":[{"startOffset":8034,"endOffset":8371,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.ref","ranges":[{"startOffset":8400,"endOffset":8469,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.unref","ranges":[{"startOffset":8500,"endOffset":8571,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":8574,"endOffset":8626,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8850,"endOffset":8886,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8890,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":8967,"endOffset":11110,"count":0}],"isBlockCoverage":false}]},{"scriptId":"189","url":"node:internal/fs/recursive_watch","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7634,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFsPromises","ranges":[{"startOffset":812,"endOffset":919,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadFsSync","ranges":[{"startOffset":921,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"traverse","ranges":[{"startOffset":1037,"endOffset":1618,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1620,"endOffset":7580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"190","url":"node:internal/readline/interface","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":39029,"count":1}],"isBlockCoverage":false},{"functionName":"InterfaceConstructor","ranges":[{"startOffset":3781,"endOffset":9286,"count":0}],"isBlockCoverage":false},{"functionName":"Interface","ranges":[{"startOffset":9527,"endOffset":9627,"count":0}],"isBlockCoverage":false},{"functionName":"get columns","ranges":[{"startOffset":9630,"endOffset":9742,"count":0}],"isBlockCoverage":false},{"functionName":"setPrompt","ranges":[{"startOffset":9851,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"getPrompt","ranges":[{"startOffset":9996,"endOffset":10039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10043,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"prompt","ranges":[{"startOffset":10373,"endOffset":10627,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10631,"endOffset":10938,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10942,"endOffset":11184,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11188,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11279,"endOffset":11447,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11451,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11652,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12834,"endOffset":13839,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13923,"endOffset":14094,"count":0}],"isBlockCoverage":false},{"functionName":"pause","ranges":[{"startOffset":14175,"endOffset":14306,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":14398,"endOffset":14534,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":14805,"endOffset":14964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14968,"endOffset":16702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16706,"endOffset":17375,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17379,"endOffset":17778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17782,"endOffset":19990,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19994,"endOffset":20455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20459,"endOffset":20717,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20721,"endOffset":21203,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21207,"endOffset":21688,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21692,"endOffset":22452,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22456,"endOffset":22883,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22887,"endOffset":23165,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23169,"endOffset":23427,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23431,"endOffset":23691,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23695,"endOffset":23850,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23854,"endOffset":24529,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":24533,"endOffset":24682,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24686,"endOffset":24840,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24844,"endOffset":25031,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25035,"endOffset":25343,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25347,"endOffset":25655,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26090,"endOffset":26724,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26728,"endOffset":27436,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27511,"endOffset":28451,"count":0}],"isBlockCoverage":false},{"functionName":"getCursorPos","ranges":[{"startOffset":28628,"endOffset":28797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":28916,"endOffset":29473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29510,"endOffset":37760,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38068,"endOffset":38448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"191","url":"node:internal/readline/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12396,"count":1}],"isBlockCoverage":false},{"functionName":"CSI","ranges":[{"startOffset":385,"endOffset":579,"count":4},{"startOffset":544,"endOffset":559,"count":0}],"isBlockCoverage":true},{"functionName":"charLengthLeft","ranges":[{"startOffset":958,"endOffset":1220,"count":0}],"isBlockCoverage":false},{"functionName":"charLengthAt","ranges":[{"startOffset":1222,"endOffset":1484,"count":0}],"isBlockCoverage":false},{"functionName":"emitKeys","ranges":[{"startOffset":2213,"endOffset":11840,"count":0}],"isBlockCoverage":false},{"functionName":"commonPrefix","ranges":[{"startOffset":11870,"endOffset":12283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"192","url":"node:internal/readline/callbacks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2754,"count":1}],"isBlockCoverage":false},{"functionName":"cursorTo","ranges":[{"startOffset":460,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"moveCursor","ranges":[{"startOffset":1210,"endOffset":1722,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":1869,"endOffset":2272,"count":0}],"isBlockCoverage":false},{"functionName":"clearScreenDown","ranges":[{"startOffset":2349,"endOffset":2672,"count":0}],"isBlockCoverage":false}]},{"scriptId":"193","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/base.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7557,"count":1},{"startOffset":7375,"endOffset":7491,"count":0},{"startOffset":7522,"endOffset":7556,"count":0}],"isBlockCoverage":true},{"functionName":"exit","ranges":[{"startOffset":1052,"endOffset":1240,"count":1}],"isBlockCoverage":true},{"functionName":"handleProcessExit","ranges":[{"startOffset":1268,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":1946,"endOffset":6902,"count":1},{"startOffset":2368,"endOffset":2565,"count":0},{"startOffset":5638,"endOffset":5643,"count":0},{"startOffset":5646,"endOffset":5671,"count":0},{"startOffset":5908,"endOffset":5943,"count":0},{"startOffset":5944,"endOffset":5979,"count":0},{"startOffset":5981,"endOffset":6410,"count":0},{"startOffset":6682,"endOffset":6752,"count":0},{"startOffset":6756,"endOffset":6900,"count":0}],"isBlockCoverage":true},{"functionName":"checkSelectedByLineNumbers","ranges":[{"startOffset":2550,"endOffset":2561,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3090,"endOffset":3122,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3204,"endOffset":3232,"count":10}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3256,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3420,"endOffset":4245,"count":1},{"startOffset":3523,"endOffset":3593,"count":0},{"startOffset":3598,"endOffset":3756,"count":0},{"startOffset":3831,"endOffset":4000,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3813,"endOffset":3823,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4030,"endOffset":4240,"count":1},{"startOffset":4087,"endOffset":4223,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4282,"endOffset":4421,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4602,"endOffset":4633,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4642,"endOffset":4668,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4927,"endOffset":5129,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":5197,"endOffset":5585,"count":1},{"startOffset":5343,"endOffset":5584,"count":0}],"isBlockCoverage":true},{"functionName":"onError","ranges":[{"startOffset":6921,"endOffset":7139,"count":0}],"isBlockCoverage":false}]},{"scriptId":"194","url":"node:internal/deps/cjs-module-lexer/dist/lexer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":33616,"count":1}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":116,"endOffset":813,"count":25},{"startOffset":146,"endOffset":181,"count":0},{"startOffset":222,"endOffset":237,"count":0},{"startOffset":273,"endOffset":308,"count":1},{"startOffset":332,"endOffset":334,"count":0},{"startOffset":406,"endOffset":553,"count":0},{"startOffset":601,"endOffset":650,"count":1},{"startOffset":663,"endOffset":696,"count":0},{"startOffset":709,"endOffset":773,"count":71}],"isBlockCoverage":true},{"functionName":"B","ranges":[{"startOffset":813,"endOffset":1040,"count":72},{"startOffset":840,"endOffset":852,"count":71},{"startOffset":853,"endOffset":862,"count":70},{"startOffset":862,"endOffset":913,"count":2},{"startOffset":913,"endOffset":1023,"count":25},{"startOffset":958,"endOffset":1022,"count":0},{"startOffset":1023,"endOffset":1032,"count":2},{"startOffset":1032,"endOffset":1039,"count":0}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":1040,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"C","ranges":[{"startOffset":1141,"endOffset":1215,"count":25},{"startOffset":1192,"endOffset":1214,"count":73749}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":1221,"endOffset":33616,"count":6},{"startOffset":1245,"endOffset":33615,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1251,"endOffset":33611,"count":1},{"startOffset":33455,"endOffset":33524,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":33505,"endOffset":33523,"count":0}],"isBlockCoverage":false}]},{"scriptId":"195","url":"node:module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":397,"count":1}],"isBlockCoverage":false}]},{"scriptId":"196","url":"node:internal/source_map/source_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12067,"count":1}],"isBlockCoverage":false},{"functionName":"StringCharIterator","ranges":[{"startOffset":4000,"endOffset":4076,"count":0}],"isBlockCoverage":false},{"functionName":"next","ranges":[{"startOffset":4114,"endOffset":4192,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":4230,"endOffset":4306,"count":0}],"isBlockCoverage":false},{"functionName":"hasNext","ranges":[{"startOffset":4345,"endOffset":4409,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4550,"endOffset":10030,"count":0}],"isBlockCoverage":false},{"functionName":"isSeparator","ranges":[{"startOffset":10085,"endOffset":10154,"count":0}],"isBlockCoverage":false},{"functionName":"decodeVLQ","ranges":[{"startOffset":10244,"endOffset":11177,"count":0}],"isBlockCoverage":false},{"functionName":"cloneSourceMapV3","ranges":[{"startOffset":11244,"endOffset":11556,"count":0}],"isBlockCoverage":false},{"functionName":"compareSourceMapEntry","ranges":[{"startOffset":11751,"endOffset":12030,"count":0}],"isBlockCoverage":false}]},{"scriptId":"197","url":"node:process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":83,"count":1}],"isBlockCoverage":false}]},{"scriptId":"198","url":"node:internal/process/report","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2644,"count":1}],"isBlockCoverage":false},{"functionName":"writeReport","ranges":[{"startOffset":352,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getReport","ranges":[{"startOffset":775,"endOffset":940,"count":0}],"isBlockCoverage":false},{"functionName":"get directory","ranges":[{"startOffset":944,"endOffset":995,"count":0}],"isBlockCoverage":false},{"functionName":"set directory","ranges":[{"startOffset":999,"endOffset":1087,"count":0}],"isBlockCoverage":false},{"functionName":"get filename","ranges":[{"startOffset":1091,"endOffset":1140,"count":0}],"isBlockCoverage":false},{"functionName":"set filename","ranges":[{"startOffset":1144,"endOffset":1232,"count":0}],"isBlockCoverage":false},{"functionName":"get compact","ranges":[{"startOffset":1236,"endOffset":1283,"count":0}],"isBlockCoverage":false},{"functionName":"set compact","ranges":[{"startOffset":1287,"endOffset":1364,"count":0}],"isBlockCoverage":false},{"functionName":"get signal","ranges":[{"startOffset":1368,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"set signal","ranges":[{"startOffset":1417,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnFatalError","ranges":[{"startOffset":1558,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnFatalError","ranges":[{"startOffset":1634,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnSignal","ranges":[{"startOffset":1756,"endOffset":1820,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnSignal","ranges":[{"startOffset":1824,"endOffset":1985,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnUncaughtException","ranges":[{"startOffset":1989,"endOffset":2075,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnUncaughtException","ranges":[{"startOffset":2079,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"addSignalHandler","ranges":[{"startOffset":2217,"endOffset":2388,"count":0}],"isBlockCoverage":false},{"functionName":"removeSignalHandler","ranges":[{"startOffset":2390,"endOffset":2514,"count":0}],"isBlockCoverage":false},{"functionName":"signalHandler","ranges":[{"startOffset":2516,"endOffset":2590,"count":0}],"isBlockCoverage":false}]},{"scriptId":"199","url":"node:url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":32640,"count":1}],"isBlockCoverage":false},{"functionName":"Url","ranges":[{"startOffset":2149,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"urlParse","ranges":[{"startOffset":3430,"endOffset":4035,"count":0}],"isBlockCoverage":false},{"functionName":"isIpv6Hostname","ranges":[{"startOffset":4037,"endOffset":4260,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":5081,"endOffset":15159,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname","ranges":[{"startOffset":15190,"endOffset":16135,"count":0}],"isBlockCoverage":false},{"functionName":"autoEscapeStr","ranges":[{"startOffset":17192,"endOffset":17898,"count":0}],"isBlockCoverage":false},{"functionName":"urlFormat","ranges":[{"startOffset":17944,"endOffset":19115,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":19822,"endOffset":22199,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolve","ranges":[{"startOffset":22202,"endOffset":22301,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":22327,"endOffset":22428,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolveObject","ranges":[{"startOffset":22431,"endOffset":22574,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObject","ranges":[{"startOffset":22606,"endOffset":31725,"count":0}],"isBlockCoverage":false},{"functionName":"parseHost","ranges":[{"startOffset":31754,"endOffset":32027,"count":0}],"isBlockCoverage":false},{"functionName":"pathToFileURL","ranges":[{"startOffset":32248,"endOffset":32344,"count":1}],"isBlockCoverage":true}]},{"scriptId":"200","url":"node:internal/idna","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":124,"count":1}],"isBlockCoverage":false}]},{"scriptId":"202","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/chalk.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":351,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":197,"endOffset":350,"count":1},{"startOffset":238,"endOffset":298,"count":0}],"isBlockCoverage":true}]},{"scriptId":"203","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/provider-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":455,"endOffset":1345,"count":1},{"startOffset":1293,"endOffset":1312,"count":0}],"isBlockCoverage":true},{"functionName":"negotiateProtocol","ranges":[{"startOffset":665,"endOffset":1273,"count":1},{"startOffset":840,"endOffset":978,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":748,"endOffset":803,"count":2}],"isBlockCoverage":true},{"functionName":"findFiles","ranges":[{"startOffset":1047,"endOffset":1178,"count":0}],"isBlockCoverage":false},{"functionName":"typescript","ranges":[{"startOffset":1383,"endOffset":1462,"count":1}],"isBlockCoverage":true}]},{"scriptId":"204","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17,"count":1}],"isBlockCoverage":true}]},{"scriptId":"205","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/runner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15654,"count":1}],"isBlockCoverage":true},{"functionName":"makeFileURL","ranges":[{"startOffset":520,"endOffset":594,"count":1},{"startOffset":555,"endOffset":561,"count":0}],"isBlockCoverage":true},{"functionName":"Runner","ranges":[{"startOffset":644,"endOffset":5705,"count":1},{"startOffset":725,"endOffset":730,"count":0},{"startOffset":978,"endOffset":983,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.registerUniqueTitle","ranges":[{"startOffset":1787,"endOffset":1911,"count":2},{"startOffset":1834,"endOffset":1858,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.notifyTimeoutUpdate","ranges":[{"startOffset":1943,"endOffset":2058,"count":0}],"isBlockCoverage":false},{"functionName":"get snapshotDirectory","ranges":[{"startOffset":2187,"endOffset":2366,"count":0}],"isBlockCoverage":false},{"functionName":"Runner.chain.createChain.serial","ranges":[{"startOffset":2401,"endOffset":5489,"count":3},{"startOffset":2480,"endOffset":2630,"count":0},{"startOffset":2656,"endOffset":2769,"count":1},{"startOffset":2925,"endOffset":2990,"count":0},{"startOffset":3014,"endOffset":3813,"count":0},{"startOffset":3846,"endOffset":3965,"count":0},{"startOffset":4006,"endOffset":4093,"count":0},{"startOffset":4115,"endOffset":4132,"count":2},{"startOffset":4134,"endOffset":4205,"count":0},{"startOffset":4267,"endOffset":4522,"count":1},{"startOffset":4304,"endOffset":4366,"count":0},{"startOffset":4393,"endOffset":4455,"count":0},{"startOffset":4557,"endOffset":4598,"count":2},{"startOffset":4600,"endOffset":4669,"count":0},{"startOffset":4714,"endOffset":4730,"count":1},{"startOffset":4836,"endOffset":5365,"count":2},{"startOffset":4870,"endOffset":4992,"count":0},{"startOffset":5028,"endOffset":5072,"count":0},{"startOffset":5117,"endOffset":5131,"count":0},{"startOffset":5365,"endOffset":5480,"count":1},{"startOffset":5445,"endOffset":5455,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2706,"endOffset":2762,"count":1}],"isBlockCoverage":true},{"functionName":"get snapshots","ranges":[{"startOffset":5708,"endOffset":6318,"count":3},{"startOffset":5749,"endOffset":5781,"count":2},{"startOffset":5781,"endOffset":6317,"count":1}],"isBlockCoverage":true},{"functionName":"compareTestSnapshot","ranges":[{"startOffset":6321,"endOffset":6396,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":6399,"endOffset":6472,"count":0}],"isBlockCoverage":false},{"functionName":"saveSnapshotState","ranges":[{"startOffset":6475,"endOffset":6559,"count":1}],"isBlockCoverage":true},{"functionName":"onRun","ranges":[{"startOffset":6562,"endOffset":6620,"count":4}],"isBlockCoverage":true},{"functionName":"onRunComplete","ranges":[{"startOffset":6623,"endOffset":6692,"count":4}],"isBlockCoverage":true},{"functionName":"beforeExitHandler","ranges":[{"startOffset":6695,"endOffset":6809,"count":0}],"isBlockCoverage":false},{"functionName":"runMultiple","ranges":[{"startOffset":6812,"endOffset":8056,"count":9}],"isBlockCoverage":true},{"functionName":"runAndStoreResult","ranges":[{"startOffset":6923,"endOffset":7081,"count":2},{"startOffset":7016,"endOffset":7045,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7150,"endOffset":7998,"count":2},{"startOffset":7271,"endOffset":7548,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7307,"endOffset":7509,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7611,"endOffset":7979,"count":2},{"startOffset":7920,"endOffset":7947,"count":0}],"isBlockCoverage":true},{"functionName":"runSingle","ranges":[{"startOffset":8059,"endOffset":8330,"count":4}],"isBlockCoverage":true},{"functionName":"runHooks","ranges":[{"startOffset":8333,"endOffset":9506,"count":9},{"startOffset":9070,"endOffset":9474,"count":2},{"startOffset":9249,"endOffset":9470,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8427,"endOffset":8959,"count":2},{"startOffset":8592,"endOffset":8658,"count":0},{"startOffset":8864,"endOffset":8869,"count":0}],"isBlockCoverage":true},{"functionName":"Runnable.fn","ranges":[{"startOffset":8594,"endOffset":8658,"count":0}],"isBlockCoverage":false},{"functionName":"runTest","ranges":[{"startOffset":9509,"endOffset":11470,"count":2},{"startOffset":10007,"endOffset":10073,"count":0},{"startOffset":10940,"endOffset":11271,"count":0}],"isBlockCoverage":true},{"functionName":"Runnable.fn","ranges":[{"startOffset":10009,"endOffset":10073,"count":0}],"isBlockCoverage":false},{"functionName":"start","ranges":[{"startOffset":11473,"endOffset":15605,"count":1},{"startOffset":11619,"endOffset":12250,"count":2},{"startOffset":11650,"endOffset":11677,"count":0},{"startOffset":11679,"endOffset":11766,"count":0},{"startOffset":11807,"endOffset":11833,"count":0},{"startOffset":11835,"endOffset":11922,"count":0},{"startOffset":12133,"endOffset":12206,"count":0},{"startOffset":12296,"endOffset":12988,"count":0},{"startOffset":13028,"endOffset":13347,"count":0},{"startOffset":13454,"endOffset":13550,"count":0},{"startOffset":15547,"endOffset":15602,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13777,"endOffset":14380,"count":1},{"startOffset":13868,"endOffset":13892,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13923,"endOffset":14368,"count":2},{"startOffset":14108,"endOffset":14139,"count":0},{"startOffset":14268,"endOffset":14284,"count":0},{"startOffset":14286,"endOffset":14312,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14460,"endOffset":15058,"count":1},{"startOffset":14653,"endOffset":14669,"count":0},{"startOffset":14672,"endOffset":14696,"count":0},{"startOffset":14767,"endOffset":14790,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14971,"endOffset":15016,"count":0}],"isBlockCoverage":false},{"functionName":"interrupt","ranges":[{"startOffset":15608,"endOffset":15651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"206","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/serialize-error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4398,"count":1}],"isBlockCoverage":true},{"functionName":"isAvaAssertionError","ranges":[{"startOffset":385,"endOffset":467,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":469,"endOffset":614,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFile","ranges":[{"startOffset":616,"endOffset":756,"count":0}],"isBlockCoverage":false},{"functionName":"extractSource","ranges":[{"startOffset":795,"endOffset":1211,"count":0}],"isBlockCoverage":false},{"functionName":"buildSource","ranges":[{"startOffset":1213,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"trySerializeError","ranges":[{"startOffset":1957,"endOffset":3743,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":3760,"endOffset":4397,"count":0}],"isBlockCoverage":false}]},{"scriptId":"207","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/dependency-tracker.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":866,"count":1}],"isBlockCoverage":true},{"functionName":"flush","ranges":[{"startOffset":138,"endOffset":302,"count":2},{"startOffset":192,"endOffset":301,"count":1}],"isBlockCoverage":true},{"functionName":"track","ranges":[{"startOffset":304,"endOffset":519,"count":194},{"startOffset":368,"endOffset":382,"count":0},{"startOffset":419,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"install","ranges":[{"startOffset":556,"endOffset":836,"count":1},{"startOffset":633,"endOffset":833,"count":3}],"isBlockCoverage":true},{"functionName":"extensions.","ranges":[{"startOffset":700,"endOffset":828,"count":193}],"isBlockCoverage":true}]},{"scriptId":"208","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/line-numbers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3832,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":215,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"findTest","ranges":[{"startOffset":878,"endOffset":1452,"count":0}],"isBlockCoverage":false},{"functionName":"range","ranges":[{"startOffset":1468,"endOffset":1574,"count":0}],"isBlockCoverage":false},{"functionName":"translate","ranges":[{"startOffset":1595,"endOffset":2066,"count":0}],"isBlockCoverage":false},{"functionName":"lineNumberSelection","ranges":[{"startOffset":2084,"endOffset":3831,"count":1},{"startOffset":2196,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2334,"endOffset":3828,"count":0}],"isBlockCoverage":false}]},{"scriptId":"209","url":"node:internal/fs/streams","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14758,"count":1}],"isBlockCoverage":false},{"functionName":"_construct","ranges":[{"startOffset":1063,"endOffset":1966,"count":0}],"isBlockCoverage":false},{"functionName":"FileHandleOperations","ranges":[{"startOffset":2059,"endOffset":3058,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":3061,"endOffset":3238,"count":0}],"isBlockCoverage":false},{"functionName":"importFd","ranges":[{"startOffset":3240,"endOffset":4237,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream","ranges":[{"startOffset":4239,"endOffset":5982,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6171,"endOffset":6226,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6230,"endOffset":6287,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6323,"endOffset":6348,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._read","ranges":[{"startOffset":6524,"endOffset":7655,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._destroy","ranges":[{"startOffset":7690,"endOffset":8251,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.close","ranges":[{"startOffset":8283,"endOffset":8369,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8449,"endOffset":8483,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":8512,"endOffset":10303,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":10495,"endOffset":10550,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10554,"endOffset":10611,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10648,"endOffset":10673,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":10824,"endOffset":11617,"count":0}],"isBlockCoverage":false},{"functionName":"writevAll","ranges":[{"startOffset":11619,"endOffset":12436,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._write","ranges":[{"startOffset":12469,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._writev","ranges":[{"startOffset":12888,"endOffset":13450,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._destroy","ranges":[{"startOffset":13486,"endOffset":14047,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.close","ranges":[{"startOffset":14080,"endOffset":14462,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":14644,"endOffset":14678,"count":0}],"isBlockCoverage":false}]},{"scriptId":"210","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5900,"count":1},{"startOffset":1472,"endOffset":1706,"count":45},{"startOffset":2476,"endOffset":3149,"count":3},{"startOffset":5468,"endOffset":5471,"count":0}],"isBlockCoverage":true},{"functionName":"applyOptions","ranges":[{"startOffset":571,"endOffset":950,"count":5},{"startOffset":618,"endOffset":699,"count":3},{"startOffset":701,"endOffset":779,"count":0},{"startOffset":870,"endOffset":873,"count":0},{"startOffset":919,"endOffset":931,"count":2},{"startOffset":932,"endOffset":947,"count":3}],"isBlockCoverage":true},{"functionName":"Chalk","ranges":[{"startOffset":975,"endOffset":1084,"count":3}],"isBlockCoverage":true},{"functionName":"chalkFactory","ranges":[{"startOffset":1109,"endOffset":1275,"count":5}],"isBlockCoverage":true},{"functionName":"chalk","ranges":[{"startOffset":1137,"endOffset":1170,"count":0}],"isBlockCoverage":false},{"functionName":"createChalk","ranges":[{"startOffset":1278,"endOffset":1342,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1499,"endOffset":1699,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1728,"endOffset":1875,"count":0}],"isBlockCoverage":false},{"functionName":"getModelAnsi","ranges":[{"startOffset":1902,"endOffset":2394,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2499,"endOffset":2771,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2866,"endOffset":3142,"count":0}],"isBlockCoverage":false},{"functionName":"Object.defineProperties","ranges":[{"startOffset":3189,"endOffset":3197,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3245,"endOffset":3289,"count":20}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3293,"endOffset":3343,"count":0}],"isBlockCoverage":false},{"functionName":"createStyler","ranges":[{"startOffset":3375,"endOffset":3650,"count":4},{"startOffset":3500,"endOffset":3583,"count":0}],"isBlockCoverage":true},{"functionName":"createBuilder","ranges":[{"startOffset":3675,"endOffset":4243,"count":4}],"isBlockCoverage":true},{"functionName":"builder","ranges":[{"startOffset":3848,"endOffset":3959,"count":20},{"startOffset":3936,"endOffset":3958,"count":0}],"isBlockCoverage":true},{"functionName":"applyStyle","ranges":[{"startOffset":4265,"endOffset":5300,"count":20},{"startOffset":4318,"endOffset":4361,"count":0},{"startOffset":4419,"endOffset":4440,"count":0},{"startOffset":4511,"endOffset":4840,"count":0},{"startOffset":5177,"endOffset":5260,"count":0}],"isBlockCoverage":true}]},{"scriptId":"211","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/globs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6300,"count":1}],"isBlockCoverage":true},{"functionName":"buildExtensionPattern","ranges":[{"startOffset":755,"endOffset":838,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeGlobs","ranges":[{"startOffset":848,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"globFiles","ranges":[{"startOffset":3027,"endOffset":3288,"count":0}],"isBlockCoverage":false},{"functionName":"globDirectoriesSync","ranges":[{"startOffset":3319,"endOffset":3578,"count":0}],"isBlockCoverage":false},{"functionName":"findFiles","ranges":[{"startOffset":3588,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"findTests","ranges":[{"startOffset":3771,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getChokidarIgnorePatterns","ranges":[{"startOffset":3974,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"applyTestFileFilter","ranges":[{"startOffset":4200,"endOffset":6299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"212","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13357,"count":1}],"isBlockCoverage":true},{"functionName":"assertEventName","ranges":[{"startOffset":349,"endOffset":569,"count":20},{"startOffset":422,"endOffset":454,"count":4},{"startOffset":455,"endOffset":487,"count":0},{"startOffset":489,"endOffset":567,"count":0}],"isBlockCoverage":true},{"functionName":"assertListener","ranges":[{"startOffset":571,"endOffset":704,"count":4},{"startOffset":644,"endOffset":702,"count":0}],"isBlockCoverage":true},{"functionName":"getListeners","ranges":[{"startOffset":706,"endOffset":869,"count":20},{"startOffset":821,"endOffset":835,"count":8},{"startOffset":835,"endOffset":868,"count":12}],"isBlockCoverage":true},{"functionName":"getEventProducers","ranges":[{"startOffset":871,"endOffset":1175,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueProducers","ranges":[{"startOffset":1177,"endOffset":1587,"count":16},{"startOffset":1315,"endOffset":1408,"count":0},{"startOffset":1550,"endOffset":1582,"count":0}],"isBlockCoverage":true},{"functionName":"iterator","ranges":[{"startOffset":1589,"endOffset":2972,"count":0}],"isBlockCoverage":false},{"functionName":"defaultMethodNamesOrAssert","ranges":[{"startOffset":2974,"endOffset":3495,"count":0}],"isBlockCoverage":false},{"functionName":"isMetaEvent","ranges":[{"startOffset":3517,"endOffset":3590,"count":40},{"startOffset":3558,"endOffset":3590,"count":28}],"isBlockCoverage":true},{"functionName":"emitMetaEvent","ranges":[{"startOffset":3593,"endOffset":3808,"count":4}],"isBlockCoverage":true},{"functionName":"mixin","ranges":[{"startOffset":3850,"endOffset":4933,"count":0}],"isBlockCoverage":false},{"functionName":"get isDebugEnabled","ranges":[{"startOffset":4943,"endOffset":5528,"count":20},{"startOffset":5304,"endOffset":5341,"count":0},{"startOffset":5432,"endOffset":5444,"count":0}],"isBlockCoverage":true},{"functionName":"set isDebugEnabled","ranges":[{"startOffset":5538,"endOffset":5606,"count":0}],"isBlockCoverage":false},{"functionName":"Emittery","ranges":[{"startOffset":5609,"endOffset":6731,"count":1}],"isBlockCoverage":true},{"functionName":"Emittery.debug.logger","ranges":[{"startOffset":5961,"endOffset":6723,"count":0}],"isBlockCoverage":false},{"functionName":"logIfDebugEnabled","ranges":[{"startOffset":6734,"endOffset":6910,"count":20},{"startOffset":6835,"endOffset":6907,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":6913,"endOffset":7515,"count":4},{"startOffset":7010,"endOffset":7022,"count":0}],"isBlockCoverage":true},{"functionName":"off","ranges":[{"startOffset":7518,"endOffset":8087,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":8090,"endOffset":8292,"count":0}],"isBlockCoverage":false},{"functionName":"events","ranges":[{"startOffset":8295,"endOffset":8501,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":8504,"endOffset":9384,"count":16},{"startOffset":8599,"endOffset":8620,"count":4},{"startOffset":8622,"endOffset":8724,"count":0},{"startOffset":8882,"endOffset":8894,"count":4},{"startOffset":9031,"endOffset":9035,"count":4},{"startOffset":9036,"endOffset":9055,"count":12}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9131,"endOffset":9229,"count":12}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9261,"endOffset":9373,"count":0}],"isBlockCoverage":false},{"functionName":"emitSerial","ranges":[{"startOffset":9387,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"onAny","ranges":[{"startOffset":10237,"endOffset":10478,"count":0}],"isBlockCoverage":false},{"functionName":"anyEvent","ranges":[{"startOffset":10481,"endOffset":10521,"count":0}],"isBlockCoverage":false},{"functionName":"offAny","ranges":[{"startOffset":10524,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"clearListeners","ranges":[{"startOffset":10733,"endOffset":11739,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":11742,"endOffset":12458,"count":0}],"isBlockCoverage":false},{"functionName":"bindMethods","ranges":[{"startOffset":12461,"endOffset":12966,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13051,"endOffset":13075,"count":14}],"isBlockCoverage":true}]},{"scriptId":"213","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/context-ref.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":555,"count":1}],"isBlockCoverage":true},{"functionName":"ContextRef","ranges":[{"startOffset":35,"endOffset":72,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":75,"endOffset":106,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":109,"endOffset":152,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":155,"endOffset":198,"count":2}],"isBlockCoverage":true},{"functionName":"LateBinding","ranges":[{"startOffset":242,"endOffset":314,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":317,"endOffset":487,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":490,"endOffset":552,"count":0}],"isBlockCoverage":false}]},{"scriptId":"214","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/matcher/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2646,"count":1}],"isBlockCoverage":true},{"functionName":"sanitizeArray","ranges":[{"startOffset":110,"endOffset":713,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegexp","ranges":[{"startOffset":735,"endOffset":1261,"count":0}],"isBlockCoverage":false},{"functionName":"baseMatcher","ranges":[{"startOffset":1284,"endOffset":2412,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2422,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"isMatch","ranges":[{"startOffset":2533,"endOffset":2645,"count":0}],"isBlockCoverage":false}]},{"scriptId":"215","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/create-chain.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4371,"count":1}],"isBlockCoverage":true},{"functionName":"startChain","ranges":[{"startOffset":38,"endOffset":265,"count":11}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":94,"endOffset":140,"count":1}],"isBlockCoverage":true},{"functionName":"extendChain","ranges":[{"startOffset":267,"endOffset":633,"count":27},{"startOffset":324,"endOffset":343,"count":7}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":357,"endOffset":412,"count":2}],"isBlockCoverage":true},{"functionName":"callWithFlag","ranges":[{"startOffset":635,"endOffset":965,"count":2},{"startOffset":870,"endOffset":942,"count":0}],"isBlockCoverage":true},{"functionName":"createHookChain","ranges":[{"startOffset":967,"endOffset":1316,"count":8},{"startOffset":1217,"endOffset":1299,"count":4}],"isBlockCoverage":true},{"functionName":"createChain","ranges":[{"startOffset":1333,"endOffset":4370,"count":1}],"isBlockCoverage":true},{"functionName":"root.macro","ranges":[{"startOffset":3411,"endOffset":3580,"count":0}],"isBlockCoverage":false},{"functionName":"apply","ranges":[{"startOffset":4105,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4196,"endOffset":4341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"216","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/parse-test-args.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":701,"count":1}],"isBlockCoverage":true},{"functionName":"buildTitle","ranges":[{"startOffset":19,"endOffset":366,"count":3},{"startOffset":104,"endOffset":140,"count":0},{"startOffset":206,"endOffset":255,"count":2},{"startOffset":344,"endOffset":359,"count":2}],"isBlockCoverage":true},{"functionName":"parseTestArgs","ranges":[{"startOffset":384,"endOffset":700,"count":3},{"startOffset":461,"endOffset":475,"count":2},{"startOffset":476,"endOffset":487,"count":1},{"startOffset":602,"endOffset":623,"count":0}],"isBlockCoverage":true}]},{"scriptId":"217","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/snapshot-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13174,"count":1}],"isBlockCoverage":true},{"functionName":"SnapshotError","ranges":[{"startOffset":1259,"endOffset":1371,"count":0}],"isBlockCoverage":false},{"functionName":"ChecksumError","ranges":[{"startOffset":1427,"endOffset":1524,"count":0}],"isBlockCoverage":false},{"functionName":"VersionMismatchError","ranges":[{"startOffset":1587,"endOffset":1774,"count":0}],"isBlockCoverage":false},{"functionName":"InvalidSnapshotError","ranges":[{"startOffset":1837,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"isLegacySnapshot","ranges":[{"startOffset":2016,"endOffset":2144,"count":0}],"isBlockCoverage":false},{"functionName":"LegacyError","ranges":[{"startOffset":2196,"endOffset":2294,"count":0}],"isBlockCoverage":false},{"functionName":"tryRead","ranges":[{"startOffset":2298,"endOffset":2454,"count":1},{"startOffset":2433,"endOffset":2452,"count":0}],"isBlockCoverage":true},{"functionName":"formatEntry","ranges":[{"startOffset":2456,"endOffset":2875,"count":0}],"isBlockCoverage":false},{"functionName":"combineEntries","ranges":[{"startOffset":2877,"endOffset":3292,"count":0}],"isBlockCoverage":false},{"functionName":"generateReport","ranges":[{"startOffset":3294,"endOffset":3611,"count":0}],"isBlockCoverage":false},{"functionName":"BufferBuilder","ranges":[{"startOffset":3636,"endOffset":3698,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":3701,"endOffset":3818,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3821,"endOffset":4011,"count":0}],"isBlockCoverage":false},{"functionName":"toBuffer","ranges":[{"startOffset":4014,"endOffset":4084,"count":0}],"isBlockCoverage":false},{"functionName":"sortBlocks","ranges":[{"startOffset":4088,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"encodeSnapshots","ranges":[{"startOffset":4450,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"decodeSnapshots","ranges":[{"startOffset":5016,"endOffset":5987,"count":0}],"isBlockCoverage":false},{"functionName":"Manager","ranges":[{"startOffset":6006,"endOffset":6530,"count":1}],"isBlockCoverage":true},{"functionName":"touch","ranges":[{"startOffset":6533,"endOffset":6604,"count":2}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":6607,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"recordSerialized","ranges":[{"startOffset":7345,"endOffset":8027,"count":0}],"isBlockCoverage":false},{"functionName":"deferRecord","ranges":[{"startOffset":8030,"endOffset":8370,"count":0}],"isBlockCoverage":false},{"functionName":"record","ranges":[{"startOffset":8373,"endOffset":8449,"count":0}],"isBlockCoverage":false},{"functionName":"skipBlock","ranges":[{"startOffset":8452,"endOffset":8587,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":8590,"endOffset":9164,"count":0}],"isBlockCoverage":false},{"functionName":"save","ranges":[{"startOffset":9167,"endOffset":10106,"count":1},{"startOffset":9266,"endOffset":9301,"count":0},{"startOffset":9303,"endOffset":9421,"count":0},{"startOffset":9468,"endOffset":10105,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9565,"endOffset":9604,"count":0}],"isBlockCoverage":false},{"functionName":"tmpfileCreated","ranges":[{"startOffset":9845,"endOffset":9878,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10140,"endOffset":10658,"count":1},{"startOffset":10399,"endOffset":10420,"count":0},{"startOffset":10441,"endOffset":10632,"count":0},{"startOffset":10635,"endOffset":10655,"count":0}],"isBlockCoverage":true},{"functionName":"mem.cacheKey.file.file","ranges":[{"startOffset":10702,"endOffset":11285,"count":1},{"startOffset":10819,"endOffset":10947,"count":0},{"startOffset":11054,"endOffset":11104,"count":0},{"startOffset":11265,"endOffset":11284,"count":0}],"isBlockCoverage":true},{"functionName":"cacheKey","ranges":[{"startOffset":11298,"endOffset":11316,"count":1}],"isBlockCoverage":true},{"functionName":"determineSnapshotPaths","ranges":[{"startOffset":11321,"endOffset":11775,"count":1}],"isBlockCoverage":true},{"functionName":"cleanFile","ranges":[{"startOffset":11777,"endOffset":11941,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":11950,"endOffset":13173,"count":1},{"startOffset":12141,"endOffset":12274,"count":0},{"startOffset":12552,"endOffset":13125,"count":0},{"startOffset":13126,"endOffset":13141,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12700,"endOffset":12737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"218","url":"node:internal/file","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1801,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":424,"endOffset":1563,"count":0}],"isBlockCoverage":false}]},{"scriptId":"219","url":"node:crypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8825,"count":1}],"isBlockCoverage":false},{"functionName":"lazyWebCrypto","ranges":[{"startOffset":3084,"endOffset":3186,"count":6}],"isBlockCoverage":true},{"functionName":"lazyOwnsProcessState","ranges":[{"startOffset":3210,"endOffset":3340,"count":0}],"isBlockCoverage":false},{"functionName":"createHash","ranges":[{"startOffset":3482,"endOffset":3564,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3566,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"createCipheriv","ranges":[{"startOffset":3668,"endOffset":3770,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipher","ranges":[{"startOffset":3772,"endOffset":3876,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipheriv","ranges":[{"startOffset":3878,"endOffset":3984,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellman","ranges":[{"startOffset":3986,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellmanGroup","ranges":[{"startOffset":4144,"endOffset":4226,"count":0}],"isBlockCoverage":false},{"functionName":"createECDH","ranges":[{"startOffset":4228,"endOffset":4284,"count":0}],"isBlockCoverage":false},{"functionName":"createHmac","ranges":[{"startOffset":4286,"endOffset":4368,"count":0}],"isBlockCoverage":false},{"functionName":"createSign","ranges":[{"startOffset":4370,"endOffset":4452,"count":0}],"isBlockCoverage":false},{"functionName":"createVerify","ranges":[{"startOffset":4454,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"getFips","ranges":[{"startOffset":5583,"endOffset":5668,"count":0}],"isBlockCoverage":false},{"functionName":"setFips","ranges":[{"startOffset":5670,"endOffset":5954,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":5956,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6125,"endOffset":6379,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6383,"endOffset":6572,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomBytesAlias","ranges":[{"startOffset":6621,"endOffset":7454,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6719,"endOffset":7209,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7215,"endOffset":7446,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8198,"endOffset":8238,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8350,"endOffset":8397,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8523,"endOffset":8544,"count":3}],"isBlockCoverage":true}]},{"scriptId":"220","url":"node:internal/crypto/random","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16246,"count":1}],"isBlockCoverage":false},{"functionName":"assertOffset","ranges":[{"startOffset":1260,"endOffset":1626,"count":0}],"isBlockCoverage":false},{"functionName":"assertSize","ranges":[{"startOffset":1628,"endOffset":2089,"count":0}],"isBlockCoverage":false},{"functionName":"randomBytes","ranges":[{"startOffset":2091,"endOffset":2634,"count":0}],"isBlockCoverage":false},{"functionName":"randomFillSync","ranges":[{"startOffset":2636,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"randomFill","ranges":[{"startOffset":3306,"endOffset":4352,"count":0}],"isBlockCoverage":false},{"functionName":"randomInt","ranges":[{"startOffset":4902,"endOffset":7142,"count":0}],"isBlockCoverage":false},{"functionName":"asyncRefillRandomIntCache","ranges":[{"startOffset":7144,"endOffset":8020,"count":0}],"isBlockCoverage":false},{"functionName":"onJobDone","ranges":[{"startOffset":8023,"endOffset":8185,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":8417,"endOffset":9033,"count":0}],"isBlockCoverage":false},{"functionName":"getHexBytes","ranges":[{"startOffset":9398,"endOffset":9697,"count":0}],"isBlockCoverage":false},{"functionName":"serializeUUID","ranges":[{"startOffset":9699,"endOffset":10425,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedUUID","ranges":[{"startOffset":10427,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"getUnbufferedUUID","ranges":[{"startOffset":10732,"endOffset":10970,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":10972,"endOffset":11292,"count":0}],"isBlockCoverage":false},{"functionName":"createRandomPrimeJob","ranges":[{"startOffset":11294,"endOffset":12527,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrime","ranges":[{"startOffset":12529,"endOffset":12985,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrimeSync","ranges":[{"startOffset":12987,"endOffset":13245,"count":0}],"isBlockCoverage":false},{"functionName":"numberToHexCharCode","ranges":[{"startOffset":13519,"endOffset":13563,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBufferToUnsignedBigInt","ranges":[{"startOffset":13638,"endOffset":14065,"count":0}],"isBlockCoverage":false},{"functionName":"unsignedBigIntToBuffer","ranges":[{"startOffset":14067,"endOffset":14364,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrime","ranges":[{"startOffset":14366,"endOffset":15259,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrimeSync","ranges":[{"startOffset":15261,"endOffset":16059,"count":0}],"isBlockCoverage":false}]},{"scriptId":"221","url":"node:internal/crypto/pbkdf2","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3018,"count":1}],"isBlockCoverage":false},{"functionName":"pbkdf2","ranges":[{"startOffset":472,"endOffset":1136,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2Sync","ranges":[{"startOffset":1138,"endOffset":1543,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1545,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2DeriveBits","ranges":[{"startOffset":2059,"endOffset":2950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"222","url":"node:internal/crypto/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14973,"count":1}],"isBlockCoverage":false},{"functionName":"toBuf","ranges":[{"startOffset":1730,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1943,"endOffset":1986,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2020,"endOffset":2062,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2096,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"setEngine","ranges":[{"startOffset":2142,"endOffset":2549,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2596,"endOffset":3060,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBufferLength","ranges":[{"startOffset":6504,"endOffset":6717,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeAlgorithm","ranges":[{"startOffset":6943,"endOffset":9378,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayBuffer","ranges":[{"startOffset":9380,"endOffset":9519,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteOffset","ranges":[{"startOffset":9521,"endOffset":9672,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteLength","ranges":[{"startOffset":9674,"endOffset":9825,"count":0}],"isBlockCoverage":false},{"functionName":"hasAnyNotIn","ranges":[{"startOffset":9827,"endOffset":9966,"count":0}],"isBlockCoverage":false},{"functionName":"validateBitLength","ranges":[{"startOffset":9968,"endOffset":10310,"count":0}],"isBlockCoverage":false},{"functionName":"validateByteLength","ranges":[{"startOffset":10312,"endOffset":10508,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10553,"endOffset":10822,"count":0}],"isBlockCoverage":false},{"functionName":"onDone","ranges":[{"startOffset":10826,"endOffset":11058,"count":0}],"isBlockCoverage":false},{"functionName":"jobPromise","ranges":[{"startOffset":11060,"endOffset":11330,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedInt","ranges":[{"startOffset":11866,"endOffset":12146,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedBigInt","ranges":[{"startOffset":12148,"endOffset":12384,"count":0}],"isBlockCoverage":false},{"functionName":"getStringOption","ranges":[{"startOffset":12386,"endOffset":12551,"count":0}],"isBlockCoverage":false},{"functionName":"getUsagesUnion","ranges":[{"startOffset":12553,"endOffset":12765,"count":0}],"isBlockCoverage":false},{"functionName":"getBlockSize","ranges":[{"startOffset":12767,"endOffset":12948,"count":0}],"isBlockCoverage":false},{"functionName":"validateKeyOps","ranges":[{"startOffset":13087,"endOffset":14053,"count":0}],"isBlockCoverage":false},{"functionName":"secureHeapUsed","ranges":[{"startOffset":14055,"endOffset":14438,"count":0}],"isBlockCoverage":false}]},{"scriptId":"223","url":"node:internal/crypto/hashnames","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2520,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeHashName","ranges":[{"startOffset":1890,"endOffset":2133,"count":0}],"isBlockCoverage":false}]},{"scriptId":"224","url":"node:internal/crypto/scrypt","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3331,"count":1}],"isBlockCoverage":false},{"functionName":"scrypt","ranges":[{"startOffset":626,"endOffset":1292,"count":0}],"isBlockCoverage":false},{"functionName":"scryptSync","ranges":[{"startOffset":1294,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1702,"endOffset":3283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"225","url":"node:internal/crypto/hkdf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3304,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":816,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"prepareKey","ranges":[{"startOffset":1274,"endOffset":1702,"count":0}],"isBlockCoverage":false},{"functionName":"hkdf","ranges":[{"startOffset":1704,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfSync","ranges":[{"startOffset":2172,"endOffset":2510,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfDeriveBits","ranges":[{"startOffset":2549,"endOffset":3242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"226","url":"node:internal/crypto/keys","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21401,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2331,"endOffset":6452,"count":1}],"isBlockCoverage":true},{"functionName":"KeyObject","ranges":[{"startOffset":2441,"endOffset":2983,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":2989,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":3049,"endOffset":3190,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":3196,"endOffset":3480,"count":0}],"isBlockCoverage":false},{"functionName":"SecretKeyObject","ranges":[{"startOffset":3698,"endOffset":3756,"count":0}],"isBlockCoverage":false},{"functionName":"get symmetricKeySize","ranges":[{"startOffset":3762,"endOffset":3842,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":3848,"endOffset":4196,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeKeyDetails","ranges":[{"startOffset":4329,"endOffset":4598,"count":0}],"isBlockCoverage":false},{"functionName":"AsymmetricKeyObject","ranges":[{"startOffset":4707,"endOffset":4767,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyType","ranges":[{"startOffset":4773,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyDetails","ranges":[{"startOffset":4931,"endOffset":5308,"count":0}],"isBlockCoverage":false},{"functionName":"PublicKeyObject","ranges":[{"startOffset":5372,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5436,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"PrivateKeyObject","ranges":[{"startOffset":5792,"endOffset":5851,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5857,"endOffset":6371,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormat","ranges":[{"startOffset":6456,"endOffset":6841,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyType","ranges":[{"startOffset":6843,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"option","ranges":[{"startOffset":7697,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormatAndType","ranges":[{"startOffset":7820,"endOffset":8520,"count":0}],"isBlockCoverage":false},{"functionName":"isStringOrBuffer","ranges":[{"startOffset":8522,"endOffset":8659,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":8661,"endOffset":10019,"count":0}],"isBlockCoverage":false},{"functionName":"parsePublicKeyEncoding","ranges":[{"startOffset":10218,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"parsePrivateKeyEncoding","ranges":[{"startOffset":10554,"endOffset":10670,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandle","ranges":[{"startOffset":10672,"endOffset":11250,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyTypes","ranges":[{"startOffset":11252,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandleFromJwk","ranges":[{"startOffset":11759,"endOffset":14308,"count":0}],"isBlockCoverage":false},{"functionName":"prepareAsymmetricKey","ranges":[{"startOffset":14310,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"preparePrivateKey","ranges":[{"startOffset":15855,"endOffset":15943,"count":0}],"isBlockCoverage":false},{"functionName":"preparePublicOrPrivateKey","ranges":[{"startOffset":15945,"endOffset":16040,"count":0}],"isBlockCoverage":false},{"functionName":"prepareSecretKey","ranges":[{"startOffset":16042,"endOffset":16740,"count":0}],"isBlockCoverage":false},{"functionName":"createSecretKey","ranges":[{"startOffset":16742,"endOffset":16946,"count":0}],"isBlockCoverage":false},{"functionName":"createPublicKey","ranges":[{"startOffset":16948,"endOffset":17285,"count":0}],"isBlockCoverage":false},{"functionName":"createPrivateKey","ranges":[{"startOffset":17287,"endOffset":17628,"count":0}],"isBlockCoverage":false},{"functionName":"isKeyObject","ranges":[{"startOffset":17630,"endOffset":17712,"count":0}],"isBlockCoverage":false},{"functionName":"CryptoKey","ranges":[{"startOffset":18135,"endOffset":18195,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18199,"endOffset":18548,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":18552,"endOffset":18687,"count":0}],"isBlockCoverage":false},{"functionName":"get extractable","ranges":[{"startOffset":18691,"endOffset":18830,"count":0}],"isBlockCoverage":false},{"functionName":"get algorithm","ranges":[{"startOffset":18834,"endOffset":18969,"count":0}],"isBlockCoverage":false},{"functionName":"get usages","ranges":[{"startOffset":18973,"endOffset":19116,"count":0}],"isBlockCoverage":false},{"functionName":"InternalCryptoKey","ranges":[{"startOffset":19694,"endOffset":20173,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20177,"endOffset":20529,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20533,"endOffset":20737,"count":0}],"isBlockCoverage":false},{"functionName":"isCryptoKey","ranges":[{"startOffset":20866,"endOffset":20950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"227","url":"node:internal/crypto/keygen","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10712,"count":1}],"isBlockCoverage":false},{"functionName":"isJwk","ranges":[{"startOffset":1183,"endOffset":1253,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":1255,"endOffset":1409,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPair","ranges":[{"startOffset":1411,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPairSync","ranges":[{"startOffset":2193,"endOffset":2310,"count":0}],"isBlockCoverage":false},{"functionName":"handleError","ranges":[{"startOffset":2312,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":2692,"endOffset":3942,"count":0}],"isBlockCoverage":false},{"functionName":"createJob","ranges":[{"startOffset":3944,"endOffset":9232,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyJob","ranges":[{"startOffset":9263,"endOffset":9800,"count":0}],"isBlockCoverage":false},{"functionName":"handleGenerateKeyError","ranges":[{"startOffset":9802,"endOffset":10004,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":10006,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeySync","ranges":[{"startOffset":10478,"endOffset":10612,"count":0}],"isBlockCoverage":false}]},{"scriptId":"228","url":"node:internal/crypto/diffiehellman","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9910,"count":1}],"isBlockCoverage":false},{"functionName":"DiffieHellman","ranges":[{"startOffset":1232,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"DiffieHellmanGroup","ranges":[{"startOffset":3039,"endOffset":3365,"count":0}],"isBlockCoverage":false},{"functionName":"dhGenerateKeys","ranges":[{"startOffset":3476,"endOffset":3591,"count":0}],"isBlockCoverage":false},{"functionName":"dhComputeSecret","ranges":[{"startOffset":3705,"endOffset":3963,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrime","ranges":[{"startOffset":4062,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetGenerator","ranges":[{"startOffset":4282,"endOffset":4407,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPublicKey","ranges":[{"startOffset":4518,"endOffset":4631,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrivateKey","ranges":[{"startOffset":4745,"endOffset":4860,"count":0}],"isBlockCoverage":false},{"functionName":"setPublicKey","ranges":[{"startOffset":4902,"endOffset":5044,"count":0}],"isBlockCoverage":false},{"functionName":"setPrivateKey","ranges":[{"startOffset":5088,"endOffset":5232,"count":0}],"isBlockCoverage":false},{"functionName":"ECDH","ranges":[{"startOffset":5236,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeys","ranges":[{"startOffset":5701,"endOffset":5823,"count":0}],"isBlockCoverage":false},{"functionName":"getPublicKey","ranges":[{"startOffset":5856,"endOffset":6007,"count":0}],"isBlockCoverage":false},{"functionName":"convertKey","ranges":[{"startOffset":6028,"endOffset":6294,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6297,"endOffset":6432,"count":0}],"isBlockCoverage":false},{"functionName":"getFormat","ranges":[{"startOffset":6434,"endOffset":6757,"count":0}],"isBlockCoverage":false},{"functionName":"diffieHellman","ranges":[{"startOffset":6831,"endOffset":7899,"count":0}],"isBlockCoverage":false},{"functionName":"ecdhDeriveBits","ranges":[{"startOffset":8018,"endOffset":9804,"count":0}],"isBlockCoverage":false}]},{"scriptId":"229","url":"node:internal/crypto/cipher","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10199,"count":1}],"isBlockCoverage":false},{"functionName":"rsaFunctionFor","ranges":[{"startOffset":1233,"endOffset":1981,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1301,"endOffset":1978,"count":0}],"isBlockCoverage":false},{"functionName":"getDecoder","ranges":[{"startOffset":2482,"endOffset":2848,"count":0}],"isBlockCoverage":false},{"functionName":"getUIntOption","ranges":[{"startOffset":2850,"endOffset":3084,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherBase","ranges":[{"startOffset":3086,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3507,"endOffset":3742,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherWithIV","ranges":[{"startOffset":3744,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"Cipher","ranges":[{"startOffset":4326,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":4670,"endOffset":4786,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":4815,"endOffset":4953,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":4982,"endOffset":5498,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5527,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"setAutoPadding","ranges":[{"startOffset":5809,"endOffset":5956,"count":0}],"isBlockCoverage":false},{"functionName":"getAuthTag","ranges":[{"startOffset":5989,"endOffset":6149,"count":0}],"isBlockCoverage":false},{"functionName":"setAuthTag","ranges":[{"startOffset":6153,"endOffset":6365,"count":0}],"isBlockCoverage":false},{"functionName":"setAAD","ranges":[{"startOffset":6393,"endOffset":6735,"count":0}],"isBlockCoverage":false},{"functionName":"Cipheriv","ranges":[{"startOffset":6983,"endOffset":7193,"count":0}],"isBlockCoverage":false},{"functionName":"addCipherPrototypeFunctions","ranges":[{"startOffset":7195,"endOffset":7786,"count":3},{"startOffset":7591,"endOffset":7664,"count":1},{"startOffset":7664,"endOffset":7726,"count":2}],"isBlockCoverage":true},{"functionName":"Decipher","ranges":[{"startOffset":8187,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"Decipheriv","ranges":[{"startOffset":8800,"endOffset":9017,"count":0}],"isBlockCoverage":false},{"functionName":"getCipherInfo","ranges":[{"startOffset":9179,"endOffset":10040,"count":0}],"isBlockCoverage":false}]},{"scriptId":"230","url":"node:internal/streams/lazy_transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1535,"count":1}],"isBlockCoverage":false},{"functionName":"LazyTransform","ranges":[{"startOffset":401,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"makeGetter","ranges":[{"startOffset":595,"endOffset":918,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":632,"endOffset":915,"count":0}],"isBlockCoverage":false},{"functionName":"makeSetter","ranges":[{"startOffset":920,"endOffset":1139,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":957,"endOffset":1136,"count":0}],"isBlockCoverage":false}]},{"scriptId":"231","url":"node:internal/crypto/sig","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6942,"count":1}],"isBlockCoverage":false},{"functionName":"Sign","ranges":[{"startOffset":870,"endOffset":1129,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":1252,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":1371,"endOffset":1684,"count":0}],"isBlockCoverage":false},{"functionName":"getPadding","ranges":[{"startOffset":1687,"endOffset":1762,"count":0}],"isBlockCoverage":false},{"functionName":"getSaltLength","ranges":[{"startOffset":1764,"endOffset":1845,"count":0}],"isBlockCoverage":false},{"functionName":"getDSASignatureEncoding","ranges":[{"startOffset":1847,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"getIntOption","ranges":[{"startOffset":2201,"endOffset":2446,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":2470,"endOffset":3086,"count":0}],"isBlockCoverage":false},{"functionName":"signOneShot","ranges":[{"startOffset":3089,"endOffset":4307,"count":0}],"isBlockCoverage":false},{"functionName":"Verify","ranges":[{"startOffset":4309,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":4804,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"verifyOneShot","ranges":[{"startOffset":5390,"endOffset":6868,"count":0}],"isBlockCoverage":false}]},{"scriptId":"232","url":"node:internal/crypto/hash","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4553,"count":1}],"isBlockCoverage":false},{"functionName":"Hash","ranges":[{"startOffset":954,"endOffset":1474,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":1605,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1804,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":1936,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":2043,"endOffset":2507,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":2535,"endOffset":2856,"count":0}],"isBlockCoverage":false},{"functionName":"Hmac","ranges":[{"startOffset":2859,"endOffset":3259,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":3440,"endOffset":3872,"count":0}],"isBlockCoverage":false},{"functionName":"asyncDigest","ranges":[{"startOffset":4027,"endOffset":4498,"count":0}],"isBlockCoverage":false}]},{"scriptId":"233","url":"node:internal/crypto/x509","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9909,"count":1}],"isBlockCoverage":false},{"functionName":"isX509Certificate","ranges":[{"startOffset":1155,"endOffset":1238,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":1240,"endOffset":2485,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2487,"endOffset":2649,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2651,"endOffset":9663,"count":0}],"isBlockCoverage":false}]},{"scriptId":"234","url":"node:internal/crypto/certificate","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1546,"count":1}],"isBlockCoverage":false},{"functionName":"verifySpkac","ranges":[{"startOffset":385,"endOffset":505,"count":0}],"isBlockCoverage":false},{"functionName":"exportPublicKey","ranges":[{"startOffset":507,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"exportChallenge","ranges":[{"startOffset":637,"endOffset":765,"count":0}],"isBlockCoverage":false},{"functionName":"Certificate","ranges":[{"startOffset":1122,"endOffset":1216,"count":0}],"isBlockCoverage":false}]},{"scriptId":"235","url":"node:internal/crypto/webcrypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30940,"count":1}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":1190,"endOffset":1799,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":1801,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":1913,"endOffset":4408,"count":0}],"isBlockCoverage":false},{"functionName":"deriveBits","ranges":[{"startOffset":4410,"endOffset":5970,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyLength","ranges":[{"startOffset":5972,"endOffset":6592,"count":0}],"isBlockCoverage":false},{"functionName":"deriveKey","ranges":[{"startOffset":6594,"endOffset":8774,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeySpki","ranges":[{"startOffset":8776,"endOffset":9754,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyPkcs8","ranges":[{"startOffset":9756,"endOffset":10743,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyRaw","ranges":[{"startOffset":10745,"endOffset":11678,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyJWK","ranges":[{"startOffset":11680,"endOffset":13210,"count":0}],"isBlockCoverage":false},{"functionName":"exportKey","ranges":[{"startOffset":13212,"endOffset":14072,"count":0}],"isBlockCoverage":false},{"functionName":"importGenericSecretKey","ranges":[{"startOffset":14074,"endOffset":15424,"count":0}],"isBlockCoverage":false},{"functionName":"importKey","ranges":[{"startOffset":15426,"endOffset":18168,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":18261,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapKey","ranges":[{"startOffset":19891,"endOffset":21854,"count":0}],"isBlockCoverage":false},{"functionName":"signVerify","ranges":[{"startOffset":21856,"endOffset":22959,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":22961,"endOffset":23587,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":23589,"endOffset":24346,"count":0}],"isBlockCoverage":false},{"functionName":"cipherOrWrap","ranges":[{"startOffset":24348,"endOffset":25759,"count":0}],"isBlockCoverage":false},{"functionName":"encrypt","ranges":[{"startOffset":25761,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"decrypt","ranges":[{"startOffset":26489,"endOffset":27215,"count":0}],"isBlockCoverage":false},{"functionName":"SubtleCrypto","ranges":[{"startOffset":27371,"endOffset":27431,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27466,"endOffset":27479,"count":1}],"isBlockCoverage":true},{"functionName":"Crypto","ranges":[{"startOffset":27518,"endOffset":27578,"count":0}],"isBlockCoverage":true},{"functionName":"get subtle","ranges":[{"startOffset":27582,"endOffset":27682,"count":3},{"startOffset":27622,"endOffset":27659,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27717,"endOffset":27730,"count":1}],"isBlockCoverage":true},{"functionName":"getRandomValues","ranges":[{"startOffset":27746,"endOffset":28079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"236","url":"node:zlib","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29534,"count":1}],"isBlockCoverage":false},{"functionName":"zlibBuffer","ranges":[{"startOffset":3530,"endOffset":4157,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnData","ranges":[{"startOffset":4159,"endOffset":4490,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnError","ranges":[{"startOffset":4492,"endOffset":4577,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnEnd","ranges":[{"startOffset":4579,"endOffset":4909,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferSync","ranges":[{"startOffset":4911,"endOffset":5452,"count":0}],"isBlockCoverage":false},{"functionName":"zlibOnError","ranges":[{"startOffset":5454,"endOffset":5768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5993,"endOffset":6329,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6633,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase","ranges":[{"startOffset":7161,"endOffset":9213,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9438,"endOffset":9475,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9918,"endOffset":9964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10111,"endOffset":10163,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.reset","ranges":[{"startOffset":10304,"endOffset":10412,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._flush","ranges":[{"startOffset":10558,"endOffset":10630,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._final","ranges":[{"startOffset":10697,"endOffset":10733,"count":0}],"isBlockCoverage":false},{"functionName":"maxFlush","ranges":[{"startOffset":11331,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.flush","ranges":[{"startOffset":11847,"endOffset":12249,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.close","ranges":[{"startOffset":12279,"endOffset":12361,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._destroy","ranges":[{"startOffset":12394,"endOffset":12454,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._transform","ranges":[{"startOffset":12489,"endOffset":13023,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._processChunk","ranges":[{"startOffset":13061,"endOffset":13290,"count":0}],"isBlockCoverage":false},{"functionName":"processChunkSync","ranges":[{"startOffset":13293,"endOffset":15578,"count":0}],"isBlockCoverage":false},{"functionName":"processChunk","ranges":[{"startOffset":15580,"endOffset":16170,"count":0}],"isBlockCoverage":false},{"functionName":"processCallback","ranges":[{"startOffset":16172,"endOffset":18474,"count":0}],"isBlockCoverage":false},{"functionName":"_close","ranges":[{"startOffset":18476,"endOffset":18666,"count":0}],"isBlockCoverage":false},{"functionName":"Zlib","ranges":[{"startOffset":18863,"endOffset":21181,"count":0}],"isBlockCoverage":false},{"functionName":"paramsAfterFlushCallback","ranges":[{"startOffset":21531,"endOffset":21797,"count":0}],"isBlockCoverage":false},{"functionName":"params","ranges":[{"startOffset":21823,"endOffset":22290,"count":0}],"isBlockCoverage":false},{"functionName":"Deflate","ranges":[{"startOffset":22334,"endOffset":22469,"count":0}],"isBlockCoverage":false},{"functionName":"Inflate","ranges":[{"startOffset":22565,"endOffset":22700,"count":0}],"isBlockCoverage":false},{"functionName":"Gzip","ranges":[{"startOffset":22796,"endOffset":22919,"count":0}],"isBlockCoverage":false},{"functionName":"Gunzip","ranges":[{"startOffset":23009,"endOffset":23140,"count":0}],"isBlockCoverage":false},{"functionName":"DeflateRaw","ranges":[{"startOffset":23234,"endOffset":23439,"count":0}],"isBlockCoverage":false},{"functionName":"InflateRaw","ranges":[{"startOffset":23541,"endOffset":23688,"count":0}],"isBlockCoverage":false},{"functionName":"Unzip","ranges":[{"startOffset":23790,"endOffset":23917,"count":0}],"isBlockCoverage":false},{"functionName":"createConvenienceMethod","ranges":[{"startOffset":24009,"endOffset":24398,"count":18},{"startOffset":24068,"endOffset":24397,"count":9}],"isBlockCoverage":true},{"functionName":"syncBufferWrapper","ranges":[{"startOffset":24081,"endOffset":24182,"count":0}],"isBlockCoverage":false},{"functionName":"asyncBufferWrapper","ranges":[{"startOffset":24197,"endOffset":24395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24483,"endOffset":24570,"count":107},{"startOffset":24541,"endOffset":24561,"count":9},{"startOffset":24562,"endOffset":24569,"count":98}],"isBlockCoverage":true},{"functionName":"Brotli","ranges":[{"startOffset":24789,"endOffset":26126,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliCompress","ranges":[{"startOffset":26220,"endOffset":26384,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliDecompress","ranges":[{"startOffset":26498,"endOffset":26668,"count":0}],"isBlockCoverage":false},{"functionName":"createProperty","ranges":[{"startOffset":26787,"endOffset":26973,"count":9}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":26908,"endOffset":26965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27202,"endOffset":27238,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":27242,"endOffset":27283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"237","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16298,"count":1}],"isBlockCoverage":true},{"functionName":"hasOwnProperty","ranges":[{"startOffset":362,"endOffset":430,"count":0}],"isBlockCoverage":false},{"functionName":"isExternalAssertError","ranges":[{"startOffset":433,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"formatErrorValue","ranges":[{"startOffset":865,"endOffset":1002,"count":0}],"isBlockCoverage":false},{"functionName":"captureSavedError","ranges":[{"startOffset":1030,"endOffset":1237,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext","ranges":[{"startOffset":1316,"endOffset":4497,"count":4}],"isBlockCoverage":true},{"functionName":"pass","ranges":[{"startOffset":1349,"endOffset":1395,"count":8}],"isBlockCoverage":true},{"functionName":"pending","ranges":[{"startOffset":1400,"endOffset":1462,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":1467,"endOffset":1521,"count":0}],"isBlockCoverage":false},{"functionName":"skip","ranges":[{"startOffset":1526,"endOffset":1572,"count":0}],"isBlockCoverage":false},{"functionName":"compareWithSnapshot","ranges":[{"startOffset":1598,"endOffset":1642,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.snapshot.skip","ranges":[{"startOffset":1778,"endOffset":1813,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.log","ranges":[{"startOffset":1829,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan","ranges":[{"startOffset":2064,"endOffset":2120,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan.skip","ranges":[{"startOffset":2142,"endOffset":2150,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.timeout","ranges":[{"startOffset":2170,"endOffset":2222,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.teardown","ranges":[{"startOffset":2243,"endOffset":2291,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.try","ranges":[{"startOffset":2307,"endOffset":4493,"count":0}],"isBlockCoverage":false},{"functionName":"get title","ranges":[{"startOffset":4500,"endOffset":4550,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4553,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"set context","ranges":[{"startOffset":4619,"endOffset":4689,"count":0}],"isBlockCoverage":false},{"functionName":"get passed","ranges":[{"startOffset":4692,"endOffset":4803,"count":0}],"isBlockCoverage":false},{"functionName":"Test","ranges":[{"startOffset":4836,"endOffset":7739,"count":4},{"startOffset":4940,"endOffset":4945,"count":0}],"isBlockCoverage":true},{"functionName":"Test.compareWithSnapshot","ranges":[{"startOffset":5648,"endOffset":6084,"count":0}],"isBlockCoverage":false},{"functionName":"Test.skipSnapshot","ranges":[{"startOffset":6109,"endOffset":6523,"count":0}],"isBlockCoverage":false},{"functionName":"Test.runAttempt","ranges":[{"startOffset":6546,"endOffset":7343,"count":0}],"isBlockCoverage":false},{"functionName":"createExecutionContext","ranges":[{"startOffset":7742,"endOffset":7808,"count":4}],"isBlockCoverage":true},{"functionName":"countPassedAssertion","ranges":[{"startOffset":7811,"endOffset":8163,"count":8},{"startOffset":7858,"endOffset":7949,"count":0},{"startOffset":7987,"endOffset":8112,"count":0}],"isBlockCoverage":true},{"functionName":"addLog","ranges":[{"startOffset":8166,"endOffset":8207,"count":0}],"isBlockCoverage":false},{"functionName":"addPendingAssertion","ranges":[{"startOffset":8210,"endOffset":8745,"count":0}],"isBlockCoverage":false},{"functionName":"addFailedAssertion","ranges":[{"startOffset":8748,"endOffset":9133,"count":0}],"isBlockCoverage":false},{"functionName":"finishAttempt","ranges":[{"startOffset":9136,"endOffset":10154,"count":0}],"isBlockCoverage":false},{"functionName":"saveFirstError","ranges":[{"startOffset":10157,"endOffset":10243,"count":0}],"isBlockCoverage":false},{"functionName":"plan","ranges":[{"startOffset":10246,"endOffset":10542,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":10545,"endOffset":11120,"count":0}],"isBlockCoverage":false},{"functionName":"refreshTimeout","ranges":[{"startOffset":11123,"endOffset":11303,"count":8},{"startOffset":11184,"endOffset":11300,"count":0}],"isBlockCoverage":true},{"functionName":"clearTimeout","ranges":[{"startOffset":11306,"endOffset":11401,"count":4}],"isBlockCoverage":true},{"functionName":"addTeardown","ranges":[{"startOffset":11404,"endOffset":11793,"count":0}],"isBlockCoverage":false},{"functionName":"runTeardowns","ranges":[{"startOffset":11796,"endOffset":12044,"count":4},{"startOffset":11907,"endOffset":12041,"count":0}],"isBlockCoverage":true},{"functionName":"verifyPlan","ranges":[{"startOffset":12047,"endOffset":12402,"count":4},{"startOffset":12113,"endOffset":12151,"count":0},{"startOffset":12153,"endOffset":12399,"count":0}],"isBlockCoverage":true},{"functionName":"verifyAssertions","ranges":[{"startOffset":12405,"endOffset":13050,"count":4},{"startOffset":12450,"endOffset":12466,"count":0},{"startOffset":12504,"endOffset":12622,"count":0},{"startOffset":12662,"endOffset":12765,"count":0},{"startOffset":12801,"endOffset":13047,"count":2},{"startOffset":12835,"endOffset":12901,"count":0},{"startOffset":12933,"endOffset":12951,"count":0},{"startOffset":12953,"endOffset":13043,"count":0}],"isBlockCoverage":true},{"functionName":"callFn","ranges":[{"startOffset":13053,"endOffset":13237,"count":4},{"startOffset":13171,"endOffset":13234,"count":0}],"isBlockCoverage":true},{"functionName":"run","ranges":[{"startOffset":13240,"endOffset":15578,"count":4},{"startOffset":13338,"endOffset":13891,"count":0},{"startOffset":13982,"endOffset":14030,"count":2},{"startOffset":14126,"endOffset":14276,"count":0},{"startOffset":14303,"endOffset":14421,"count":2},{"startOffset":14438,"endOffset":15577,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14153,"endOffset":14270,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14462,"endOffset":15544,"count":2}],"isBlockCoverage":true},{"functionName":"finishDueToAttributedError","ranges":[{"startOffset":14513,"endOffset":14555,"count":0}],"isBlockCoverage":false},{"functionName":"finishDueToTimeout","ranges":[{"startOffset":14588,"endOffset":14630,"count":0}],"isBlockCoverage":false},{"functionName":"finishDueToInactivity","ranges":[{"startOffset":14666,"endOffset":14906,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14933,"endOffset":15496,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":15509,"endOffset":15537,"count":2}],"isBlockCoverage":true},{"functionName":"finish","ranges":[{"startOffset":15581,"endOffset":16295,"count":4},{"startOffset":15866,"endOffset":16020,"count":0}],"isBlockCoverage":true}]},{"scriptId":"238","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/assert.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":25039,"count":1}],"isBlockCoverage":true},{"functionName":"formatDescriptorDiff","ranges":[{"startOffset":331,"endOffset":822,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptorWithLabel","ranges":[{"startOffset":824,"endOffset":979,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithLabel","ranges":[{"startOffset":981,"endOffset":1114,"count":0}],"isBlockCoverage":false},{"functionName":"hasOwnProperty","ranges":[{"startOffset":1139,"endOffset":1207,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":1222,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"notImplemented","ranges":[{"startOffset":1255,"endOffset":1301,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":1349,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"checkAssertionMessage","ranges":[{"startOffset":1981,"endOffset":2292,"count":8},{"startOffset":2061,"endOffset":2091,"count":2},{"startOffset":2112,"endOffset":2291,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithLongStackTrace","ranges":[{"startOffset":2294,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"validateExpectations","ranges":[{"startOffset":2558,"endOffset":5405,"count":0}],"isBlockCoverage":false},{"functionName":"assertExpectations","ranges":[{"startOffset":5524,"endOffset":8199,"count":0}],"isBlockCoverage":false},{"functionName":"Assertions","ranges":[{"startOffset":8228,"endOffset":25036,"count":4}],"isBlockCoverage":true},{"functionName":"withSkip","ranges":[{"startOffset":8463,"endOffset":8534,"count":76}],"isBlockCoverage":true},{"functionName":"checkMessage","ranges":[{"startOffset":8560,"endOffset":8733,"count":8},{"startOffset":8694,"endOffset":8732,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8759,"endOffset":8797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8824,"endOffset":9037,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9062,"endOffset":9979,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10005,"endOffset":10365,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10397,"endOffset":11031,"count":4},{"startOffset":10474,"endOffset":10498,"count":0},{"startOffset":10632,"endOffset":10727,"count":0},{"startOffset":10775,"endOffset":10828,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11066,"endOffset":11622,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11649,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12970,"endOffset":14552,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14586,"endOffset":16839,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16871,"endOffset":17460,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17497,"endOffset":19358,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19389,"endOffset":21353,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21382,"endOffset":21702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21730,"endOffset":22051,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22078,"endOffset":22383,"count":4},{"startOffset":22140,"endOffset":22164,"count":0},{"startOffset":22225,"endOffset":22382,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":22411,"endOffset":22720,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22748,"endOffset":23686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23717,"endOffset":24676,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24705,"endOffset":25031,"count":0}],"isBlockCoverage":false}]},{"scriptId":"239","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/concordance-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2980,"count":1},{"startOffset":2696,"endOffset":2708,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2579,"endOffset":2649,"count":110},{"startOffset":2623,"endOffset":2641,"count":69},{"startOffset":2642,"endOffset":2649,"count":41}],"isBlockCoverage":true},{"functionName":"get maxDepth","ranges":[{"startOffset":2807,"endOffset":2878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"240","url":"node:internal/util/parse_args/parse_args","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12919,"count":1}],"isBlockCoverage":false},{"functionName":"getMainArgs","ranges":[{"startOffset":1135,"endOffset":1729,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionLikeValue","ranges":[{"startOffset":1874,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionUsage","ranges":[{"startOffset":2658,"endOffset":3449,"count":0}],"isBlockCoverage":false},{"functionName":"storeOption","ranges":[{"startOffset":3772,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"storeDefaultOption","ranges":[{"startOffset":4921,"endOffset":5090,"count":0}],"isBlockCoverage":false},{"functionName":"argsToTokens","ranges":[{"startOffset":5365,"endOffset":9345,"count":0}],"isBlockCoverage":false},{"functionName":"parseArgs","ranges":[{"startOffset":9365,"endOffset":12881,"count":0}],"isBlockCoverage":false}]},{"scriptId":"241","url":"node:internal/util/parse_args/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6225,"count":1}],"isBlockCoverage":false},{"functionName":"objectGetOwn","ranges":[{"startOffset":693,"endOffset":782,"count":0}],"isBlockCoverage":false},{"functionName":"optionsGetOwn","ranges":[{"startOffset":865,"endOffset":1011,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionValue","ranges":[{"startOffset":1277,"endOffset":1502,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionLikeValue","ranges":[{"startOffset":1719,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneShortOption","ranges":[{"startOffset":1936,"endOffset":2088,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneLongOption","ranges":[{"startOffset":2336,"endOffset":2484,"count":0}],"isBlockCoverage":false},{"functionName":"isLongOptionAndValue","ranges":[{"startOffset":2681,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionGroup","ranges":[{"startOffset":3724,"endOffset":4109,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionAndValue","ranges":[{"startOffset":4418,"endOffset":4847,"count":0}],"isBlockCoverage":false},{"functionName":"findLongOptionForShort","ranges":[{"startOffset":5170,"endOffset":5472,"count":0}],"isBlockCoverage":false},{"functionName":"useDefaultValueOption","ranges":[{"startOffset":5797,"endOffset":5967,"count":0}],"isBlockCoverage":false}]},{"scriptId":"242","url":"node:internal/mime","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10569,"count":1}],"isBlockCoverage":false},{"functionName":"toASCIILower","ranges":[{"startOffset":587,"endOffset":820,"count":0}],"isBlockCoverage":false},{"functionName":"parseTypeAndSubtype","ranges":[{"startOffset":866,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"removeBackslashes","ranges":[{"startOffset":2641,"endOffset":3056,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuoteOrSolidus","ranges":[{"startOffset":3059,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":3288,"endOffset":3527,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3530,"endOffset":8526,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8986,"endOffset":10365,"count":0}],"isBlockCoverage":false}]},{"scriptId":"243","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/callsites/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"callsites","ranges":[{"startOffset":15,"endOffset":469,"count":0}],"isBlockCoverage":false}]},{"scriptId":"244","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5256,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5189,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2906,"endOffset":3404,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3450,"endOffset":3975,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4032,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4134,"endOffset":4895,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4949,"endOffset":5030,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5084,"endOffset":5137,"count":0}],"isBlockCoverage":false}]},{"scriptId":"245","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/supports-color/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3855,"count":1},{"startOffset":738,"endOffset":762,"count":0},{"startOffset":869,"endOffset":893,"count":0}],"isBlockCoverage":true},{"functionName":"hasFlag","ranges":[{"startOffset":235,"endOffset":585,"count":16},{"startOffset":281,"endOffset":303,"count":0},{"startOffset":359,"endOffset":363,"count":0},{"startOffset":385,"endOffset":390,"count":0},{"startOffset":519,"endOffset":582,"count":0}],"isBlockCoverage":true},{"functionName":"envForceColor","ranges":[{"startOffset":895,"endOffset":1159,"count":2},{"startOffset":949,"endOffset":1157,"count":0}],"isBlockCoverage":true},{"functionName":"translateLevel","ranges":[{"startOffset":1161,"endOffset":1320,"count":2},{"startOffset":1212,"endOffset":1232,"count":0}],"isBlockCoverage":true},{"functionName":"_supportsColor","ranges":[{"startOffset":1322,"endOffset":3494,"count":2},{"startOffset":1479,"endOffset":1520,"count":0},{"startOffset":1570,"endOffset":1588,"count":0},{"startOffset":1614,"endOffset":1630,"count":0},{"startOffset":1740,"endOffset":1758,"count":0},{"startOffset":1788,"endOffset":1806,"count":0},{"startOffset":1918,"endOffset":1940,"count":0},{"startOffset":1942,"endOffset":1958,"count":0},{"startOffset":1992,"endOffset":2019,"count":0},{"startOffset":2021,"endOffset":2037,"count":0},{"startOffset":2096,"endOffset":2114,"count":0},{"startOffset":2151,"endOffset":2508,"count":0},{"startOffset":2528,"endOffset":2776,"count":0},{"startOffset":2810,"endOffset":2891,"count":0},{"startOffset":2945,"endOffset":3493,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2688,"endOffset":2707,"count":0}],"isBlockCoverage":false},{"functionName":"createSupportsColor","ranges":[{"startOffset":3503,"endOffset":3687,"count":2}],"isBlockCoverage":true}]},{"scriptId":"246","url":"node:os","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9769,"count":1}],"isBlockCoverage":false},{"functionName":"getCheckedFunction","ranges":[{"startOffset":2026,"endOffset":2267,"count":4}],"isBlockCoverage":true},{"functionName":"checkError","ranges":[{"startOffset":2085,"endOffset":2263,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease","ranges":[{"startOffset":2649,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType","ranges":[{"startOffset":2711,"endOffset":2721,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion","ranges":[{"startOffset":2773,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine","ranges":[{"startOffset":2836,"endOffset":2849,"count":0}],"isBlockCoverage":false},{"functionName":"getAvailableParallelism.","ranges":[{"startOffset":2897,"endOffset":2928,"count":0}],"isBlockCoverage":false},{"functionName":"getFreeMem.","ranges":[{"startOffset":2962,"endOffset":2980,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname.","ranges":[{"startOffset":3015,"endOffset":3034,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion.","ranges":[{"startOffset":3070,"endOffset":3090,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType.","ranges":[{"startOffset":3123,"endOffset":3140,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease.","ranges":[{"startOffset":3176,"endOffset":3196,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine.","ranges":[{"startOffset":3230,"endOffset":3248,"count":0}],"isBlockCoverage":false},{"functionName":"getHomeDirectory.","ranges":[{"startOffset":3288,"endOffset":3312,"count":0}],"isBlockCoverage":false},{"functionName":"getTotalMem.","ranges":[{"startOffset":3347,"endOffset":3366,"count":0}],"isBlockCoverage":false},{"functionName":"getUptime.","ranges":[{"startOffset":3399,"endOffset":3416,"count":0}],"isBlockCoverage":false},{"functionName":"loadavg","ranges":[{"startOffset":3554,"endOffset":3654,"count":0}],"isBlockCoverage":false},{"functionName":"cpus","ranges":[{"startOffset":3934,"endOffset":4363,"count":1},{"startOffset":4036,"endOffset":4041,"count":0},{"startOffset":4103,"endOffset":4344,"count":12}],"isBlockCoverage":true},{"functionName":"arch","ranges":[{"startOffset":4394,"endOffset":4436,"count":0}],"isBlockCoverage":false},{"functionName":"arch.","ranges":[{"startOffset":4463,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"platform","ranges":[{"startOffset":4513,"endOffset":4563,"count":3}],"isBlockCoverage":true},{"functionName":"platform.","ranges":[{"startOffset":4594,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir","ranges":[{"startOffset":4648,"endOffset":5253,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir.","ranges":[{"startOffset":5282,"endOffset":5296,"count":0}],"isBlockCoverage":false},{"functionName":"endianness","ranges":[{"startOffset":5333,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"endianness.","ranges":[{"startOffset":5413,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"countBinaryOnes","ranges":[{"startOffset":5518,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"getCIDR","ranges":[{"startOffset":5773,"endOffset":6718,"count":0}],"isBlockCoverage":false},{"functionName":"networkInterfaces","ranges":[{"startOffset":6929,"endOffset":7622,"count":0}],"isBlockCoverage":false},{"functionName":"setPriority","ranges":[{"startOffset":7706,"endOffset":7995,"count":0}],"isBlockCoverage":false},{"functionName":"getPriority","ranges":[{"startOffset":8053,"endOffset":8308,"count":0}],"isBlockCoverage":false},{"functionName":"userInfo","ranges":[{"startOffset":8612,"endOffset":8900,"count":0}],"isBlockCoverage":false}]},{"scriptId":"247","url":"node:tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5058,"count":1}],"isBlockCoverage":false},{"functionName":"isatty","ranges":[{"startOffset":1535,"endOffset":1641,"count":4}],"isBlockCoverage":true},{"functionName":"ReadStream","ranges":[{"startOffset":1643,"endOffset":2112,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.setRawMode","ranges":[{"startOffset":2261,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":2481,"endOffset":3453,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._refreshSize","ranges":[{"startOffset":3744,"endOffset":4180,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.cursorTo","ranges":[{"startOffset":4236,"endOffset":4376,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.moveCursor","ranges":[{"startOffset":4413,"endOffset":4559,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearLine","ranges":[{"startOffset":4595,"endOffset":4734,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearScreenDown","ranges":[{"startOffset":4776,"endOffset":4911,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.getWindowSize","ranges":[{"startOffset":4951,"endOffset":5001,"count":0}],"isBlockCoverage":false}]},{"scriptId":"248","url":"node:net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":65921,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1612,"endOffset":1637,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4029,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":4446,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"createHandle","ranges":[{"startOffset":4542,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"getNewAsyncId","ranges":[{"startOffset":4928,"endOffset":5066,"count":0}],"isBlockCoverage":false},{"functionName":"isPipeName","ranges":[{"startOffset":5069,"endOffset":5152,"count":0}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":5353,"endOffset":5457,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":5680,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamily","ranges":[{"startOffset":6083,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamily","ranges":[{"startOffset":6160,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6278,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6383,"endOffset":6570,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgs","ranges":[{"startOffset":7064,"endOffset":7790,"count":0}],"isBlockCoverage":false},{"functionName":"initSocketHandle","ranges":[{"startOffset":7862,"endOffset":8465,"count":0}],"isBlockCoverage":false},{"functionName":"closeSocketHandle","ranges":[{"startOffset":8467,"endOffset":8807,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":9059,"endOffset":13678,"count":0}],"isBlockCoverage":false},{"functionName":"_unrefTimer","ranges":[{"startOffset":13851,"endOffset":13981,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._final","ranges":[{"startOffset":14101,"endOffset":14717,"count":0}],"isBlockCoverage":false},{"functionName":"afterShutdown","ranges":[{"startOffset":14720,"endOffset":14866,"count":0}],"isBlockCoverage":false},{"functionName":"writeAfterFIN","ranges":[{"startOffset":15073,"endOffset":15581,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._onTimeout","ranges":[{"startOffset":15663,"endOffset":16167,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setNoDelay","ranges":[{"startOffset":16201,"endOffset":16578,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setKeepAlive","ranges":[{"startOffset":16614,"endOffset":17220,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":17251,"endOffset":17295,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17381,"endOffset":17425,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17505,"endOffset":17561,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17672,"endOffset":17987,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18076,"endOffset":18156,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18244,"endOffset":18289,"count":0}],"isBlockCoverage":false},{"functionName":"tryReadStart","ranges":[{"startOffset":18297,"endOffset":18543,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._read","ranges":[{"startOffset":18635,"endOffset":18954,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.end","ranges":[{"startOffset":18981,"endOffset":19137,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resetAndDestroy","ranges":[{"startOffset":19175,"endOffset":19525,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.pause","ranges":[{"startOffset":19553,"endOffset":19887,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resume","ranges":[{"startOffset":19917,"endOffset":20101,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.read","ranges":[{"startOffset":20129,"endOffset":20315,"count":0}],"isBlockCoverage":false},{"functionName":"onReadableStreamEnd","ranges":[{"startOffset":20362,"endOffset":20461,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.destroySoon","ranges":[{"startOffset":20495,"endOffset":20642,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._destroy","ranges":[{"startOffset":20674,"endOffset":22184,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._reset","ranges":[{"startOffset":22213,"endOffset":22312,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getpeername","ranges":[{"startOffset":22347,"endOffset":22644,"count":0}],"isBlockCoverage":false},{"functionName":"protoGetter","ranges":[{"startOffset":22647,"endOffset":22829,"count":9}],"isBlockCoverage":true},{"functionName":"bytesRead","ranges":[{"startOffset":22856,"endOffset":22947,"count":0}],"isBlockCoverage":false},{"functionName":"remoteAddress","ranges":[{"startOffset":22980,"endOffset":23046,"count":0}],"isBlockCoverage":false},{"functionName":"remoteFamily","ranges":[{"startOffset":23078,"endOffset":23142,"count":0}],"isBlockCoverage":false},{"functionName":"remotePort","ranges":[{"startOffset":23172,"endOffset":23232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getsockname","ranges":[{"startOffset":23269,"endOffset":23545,"count":0}],"isBlockCoverage":false},{"functionName":"localAddress","ranges":[{"startOffset":23577,"endOffset":23642,"count":0}],"isBlockCoverage":false},{"functionName":"localPort","ranges":[{"startOffset":23672,"endOffset":23731,"count":0}],"isBlockCoverage":false},{"functionName":"localFamily","ranges":[{"startOffset":23762,"endOffset":23825,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":23866,"endOffset":23913,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writeGeneric","ranges":[{"startOffset":23949,"endOffset":24861,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writev","ranges":[{"startOffset":24892,"endOffset":24960,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._write","ranges":[{"startOffset":24990,"endOffset":25071,"count":0}],"isBlockCoverage":false},{"functionName":"_bytesDispatched","ranges":[{"startOffset":25264,"endOffset":25368,"count":0}],"isBlockCoverage":false},{"functionName":"bytesWritten","ranges":[{"startOffset":25400,"endOffset":26329,"count":0}],"isBlockCoverage":false},{"functionName":"checkBindError","ranges":[{"startOffset":26334,"endOffset":27133,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnect","ranges":[{"startOffset":27136,"endOffset":29131,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultiple","ranges":[{"startOffset":29134,"endOffset":31870,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":31899,"endOffset":33495,"count":0}],"isBlockCoverage":false},{"functionName":"reinitializeHandle","ranges":[{"startOffset":33538,"endOffset":33692,"count":0}],"isBlockCoverage":false},{"functionName":"socketToDnsFamily","ranges":[{"startOffset":33695,"endOffset":33841,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnect","ranges":[{"startOffset":33843,"endOffset":37774,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnectMultiple","ranges":[{"startOffset":37776,"endOffset":41750,"count":0}],"isBlockCoverage":false},{"functionName":"connectErrorNT","ranges":[{"startOffset":41752,"endOffset":41811,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":41837,"endOffset":42024,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":42053,"endOffset":42246,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnect","ranges":[{"startOffset":42250,"endOffset":43831,"count":0}],"isBlockCoverage":false},{"functionName":"addClientAbortSignalOption","ranges":[{"startOffset":43833,"endOffset":44256,"count":0}],"isBlockCoverage":false},{"functionName":"createConnectionError","ranges":[{"startOffset":44258,"endOffset":44759,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnectMultiple","ranges":[{"startOffset":44761,"endOffset":45903,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultipleTimeout","ranges":[{"startOffset":45905,"endOffset":46217,"count":0}],"isBlockCoverage":false},{"functionName":"addServerAbortSignalOption","ranges":[{"startOffset":46219,"endOffset":46662,"count":0}],"isBlockCoverage":false},{"functionName":"Server","ranges":[{"startOffset":46664,"endOffset":48251,"count":0}],"isBlockCoverage":false},{"functionName":"toNumber","ranges":[{"startOffset":48362,"endOffset":48427,"count":0}],"isBlockCoverage":false},{"functionName":"createServerHandle","ranges":[{"startOffset":48495,"endOffset":49947,"count":0}],"isBlockCoverage":false},{"functionName":"setupListenHandle","ranges":[{"startOffset":49949,"endOffset":52300,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":52367,"endOffset":52429,"count":0}],"isBlockCoverage":false},{"functionName":"emitListeningNT","ranges":[{"startOffset":52432,"endOffset":52547,"count":0}],"isBlockCoverage":false},{"functionName":"listenInCluster","ranges":[{"startOffset":52550,"endOffset":53810,"count":0}],"isBlockCoverage":false},{"functionName":"Server.listen","ranges":[{"startOffset":53839,"endOffset":57671,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndListen","ranges":[{"startOffset":57674,"endOffset":58086,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":58168,"endOffset":58211,"count":0}],"isBlockCoverage":false},{"functionName":"Server.address","ranges":[{"startOffset":58287,"endOffset":58576,"count":0}],"isBlockCoverage":false},{"functionName":"onconnection","ranges":[{"startOffset":58579,"endOffset":60478,"count":0}],"isBlockCoverage":false},{"functionName":"Server.getConnections","ranges":[{"startOffset":60627,"endOffset":61380,"count":0}],"isBlockCoverage":false},{"functionName":"Server.close","ranges":[{"startOffset":61409,"endOffset":62276,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":62318,"endOffset":62438,"count":0}],"isBlockCoverage":false},{"functionName":"Server._emitCloseIfDrained","ranges":[{"startOffset":62480,"endOffset":62866,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":62870,"endOffset":62953,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":63012,"endOffset":63174,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63396,"endOffset":63432,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63436,"endOffset":63477,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63557,"endOffset":63588,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63592,"endOffset":63628,"count":0}],"isBlockCoverage":false},{"functionName":"Server._setupWorker","ranges":[{"startOffset":63667,"endOffset":63908,"count":0}],"isBlockCoverage":false},{"functionName":"Server.ref","ranges":[{"startOffset":63934,"endOffset":64032,"count":0}],"isBlockCoverage":false},{"functionName":"Server.unref","ranges":[{"startOffset":64060,"endOffset":64159,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":64301,"endOffset":64970,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":65009,"endOffset":65250,"count":0}],"isBlockCoverage":false},{"functionName":"get BlockList","ranges":[{"startOffset":65379,"endOffset":65481,"count":0}],"isBlockCoverage":false},{"functionName":"get SocketAddress","ranges":[{"startOffset":65485,"endOffset":65607,"count":0}],"isBlockCoverage":false}]},{"scriptId":"249","url":"node:internal/stream_base_commons","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7041,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1010,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"handleWriteReq","ranges":[{"startOffset":1154,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"onWriteComplete","ranges":[{"startOffset":2011,"endOffset":2696,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteWrap","ranges":[{"startOffset":2698,"endOffset":2936,"count":0}],"isBlockCoverage":false},{"functionName":"writevGeneric","ranges":[{"startOffset":2938,"endOffset":3577,"count":0}],"isBlockCoverage":false},{"functionName":"writeGeneric","ranges":[{"startOffset":3579,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteDispatched","ranges":[{"startOffset":3786,"endOffset":4089,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamRead","ranges":[{"startOffset":4091,"endOffset":6022,"count":0}],"isBlockCoverage":false},{"functionName":"setStreamTimeout","ranges":[{"startOffset":6024,"endOffset":6834,"count":0}],"isBlockCoverage":false}]},{"scriptId":"250","url":"node:internal/perf/observe","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16742,"count":1}],"isBlockCoverage":false},{"functionName":"queuePending","ranges":[{"startOffset":2620,"endOffset":2881,"count":0}],"isBlockCoverage":false},{"functionName":"getObserverType","ranges":[{"startOffset":2883,"endOffset":3223,"count":0}],"isBlockCoverage":false},{"functionName":"maybeDecrementObserverCounts","ranges":[{"startOffset":3225,"endOffset":3646,"count":0}],"isBlockCoverage":false},{"functionName":"maybeIncrementObserverCount","ranges":[{"startOffset":3648,"endOffset":3990,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceObserverEntryList","ranges":[{"startOffset":4031,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"getEntries","ranges":[{"startOffset":4095,"endOffset":4234,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByType","ranges":[{"startOffset":4238,"endOffset":4542,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByName","ranges":[{"startOffset":4546,"endOffset":5039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5043,"endOffset":5291,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceObserverEntryList","ranges":[{"startOffset":5643,"endOffset":5933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5935,"endOffset":9507,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":9989,"endOffset":10191,"count":0}],"isBlockCoverage":false},{"functionName":"bufferUserTiming","ranges":[{"startOffset":10252,"endOffset":11278,"count":0}],"isBlockCoverage":false},{"functionName":"bufferResourceTiming","ranges":[{"startOffset":11566,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"setResourceTimingBufferSize","ranges":[{"startOffset":12918,"endOffset":13190,"count":0}],"isBlockCoverage":false},{"functionName":"setDispatchBufferFull","ranges":[{"startOffset":13192,"endOffset":13257,"count":1}],"isBlockCoverage":true},{"functionName":"clearEntriesFromBuffer","ranges":[{"startOffset":13259,"endOffset":13859,"count":0}],"isBlockCoverage":false},{"functionName":"filterBufferMapByNameAndType","ranges":[{"startOffset":13861,"endOffset":14749,"count":0}],"isBlockCoverage":false},{"functionName":"observerCallback","ranges":[{"startOffset":14751,"endOffset":15867,"count":0}],"isBlockCoverage":false},{"functionName":"hasObserver","ranges":[{"startOffset":15904,"endOffset":16023,"count":0}],"isBlockCoverage":false},{"functionName":"startPerf","ranges":[{"startOffset":16026,"endOffset":16136,"count":0}],"isBlockCoverage":false},{"functionName":"stopPerf","ranges":[{"startOffset":16138,"endOffset":16453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"251","url":"node:internal/perf/performance_entry","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3333,"count":1}],"isBlockCoverage":false},{"functionName":"isPerformanceEntry","ranges":[{"startOffset":675,"endOffset":748,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceEntry","ranges":[{"startOffset":777,"endOffset":914,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":918,"endOffset":1018,"count":0}],"isBlockCoverage":false},{"functionName":"get entryType","ranges":[{"startOffset":1022,"endOffset":1137,"count":0}],"isBlockCoverage":false},{"functionName":"get startTime","ranges":[{"startOffset":1141,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"get duration","ranges":[{"startOffset":1260,"endOffset":1372,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1376,"endOffset":1620,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":1624,"endOffset":1846,"count":0}],"isBlockCoverage":false},{"functionName":"initPerformanceEntry","ranges":[{"startOffset":2068,"endOffset":2248,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceEntry","ranges":[{"startOffset":2250,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":2559,"endOffset":2669,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":2673,"endOffset":2924,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceNodeEntry","ranges":[{"startOffset":2928,"endOffset":3163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"252","url":"node:internal/tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6485,"count":1}],"isBlockCoverage":false},{"functionName":"warnOnDeactivatedColors","ranges":[{"startOffset":2549,"endOffset":3002,"count":0}],"isBlockCoverage":false},{"functionName":"getColorDepth","ranges":[{"startOffset":3160,"endOffset":6156,"count":0}],"isBlockCoverage":false},{"functionName":"hasColors","ranges":[{"startOffset":6158,"endOffset":6431,"count":0}],"isBlockCoverage":false}]},{"scriptId":"253","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":997,"count":1}],"isBlockCoverage":true},{"functionName":"stringReplaceAll","ranges":[{"startOffset":78,"endOffset":552,"count":0}],"isBlockCoverage":false},{"functionName":"stringEncaseCRLFWithFirstIndex","ranges":[{"startOffset":561,"endOffset":996,"count":0}],"isBlockCoverage":false}]},{"scriptId":"254","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6025,"count":1}],"isBlockCoverage":true},{"functionName":"assertPatternsInput","ranges":[{"startOffset":367,"endOffset":522,"count":0}],"isBlockCoverage":false},{"functionName":"toPatternsArray","ranges":[{"startOffset":549,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"checkCwdOption","ranges":[{"startOffset":685,"endOffset":912,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":940,"endOffset":1200,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArguments","ranges":[{"startOffset":1230,"endOffset":1321,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1236,"endOffset":1321,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgumentsSync","ranges":[{"startOffset":1354,"endOffset":1439,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1360,"endOffset":1439,"count":0}],"isBlockCoverage":false},{"functionName":"getIgnoreFilesPatterns","ranges":[{"startOffset":1473,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":1701,"endOffset":1913,"count":0}],"isBlockCoverage":false},{"functionName":"getFilterSync","ranges":[{"startOffset":1938,"endOffset":2142,"count":0}],"isBlockCoverage":false},{"functionName":"createFilterFunction","ranges":[{"startOffset":2174,"endOffset":2469,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobResults","ranges":[{"startOffset":2501,"endOffset":2585,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobStreams","ranges":[{"startOffset":2616,"endOffset":2717,"count":0}],"isBlockCoverage":false},{"functionName":"convertNegativePatterns","ranges":[{"startOffset":2752,"endOffset":3364,"count":0}],"isBlockCoverage":false},{"functionName":"getDirGlobOptions","ranges":[{"startOffset":3393,"endOffset":3499,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":3524,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasksSync","ranges":[{"startOffset":4171,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4758,"endOffset":5048,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5101,"endOffset":5348,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5403,"endOffset":5652,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5713,"endOffset":5805,"count":0}],"isBlockCoverage":false}]},{"scriptId":"255","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/maps.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"256","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":465,"count":1}],"isBlockCoverage":true},{"functionName":"escapeStringRegexp","ranges":[{"startOffset":15,"endOffset":464,"count":3},{"startOffset":86,"endOffset":134,"count":0}],"isBlockCoverage":true}]},{"scriptId":"257","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/indent-string/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":820,"count":1}],"isBlockCoverage":true},{"functionName":"indentString","ranges":[{"startOffset":15,"endOffset":819,"count":0}],"isBlockCoverage":false}]},{"scriptId":"258","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mem/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3063,"count":1}],"isBlockCoverage":true},{"functionName":"mem","ranges":[{"startOffset":651,"endOffset":1491,"count":2},{"startOffset":753,"endOffset":790,"count":0}],"isBlockCoverage":true},{"functionName":"memoized","ranges":[{"startOffset":812,"endOffset":1357,"count":3},{"startOffset":868,"endOffset":890,"count":1},{"startOffset":891,"endOffset":906,"count":2},{"startOffset":973,"endOffset":1078,"count":1},{"startOffset":1078,"endOffset":1208,"count":2},{"startOffset":1208,"endOffset":1229,"count":0},{"startOffset":1230,"endOffset":1256,"count":2}],"isBlockCoverage":true},{"functionName":"memDecorator","ranges":[{"startOffset":1911,"endOffset":2668,"count":0}],"isBlockCoverage":false},{"functionName":"memClear","ranges":[{"startOffset":2761,"endOffset":3062,"count":0}],"isBlockCoverage":false}]},{"scriptId":"259","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12,"count":1}],"isBlockCoverage":true}]},{"scriptId":"260","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-promise/index.mjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":151,"count":1}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":15,"endOffset":150,"count":4},{"startOffset":56,"endOffset":113,"count":2},{"startOffset":84,"endOffset":112,"count":0},{"startOffset":114,"endOffset":147,"count":2}],"isBlockCoverage":true}]},{"scriptId":"261","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/plur/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":963,"count":1}],"isBlockCoverage":true},{"functionName":"plur","ranges":[{"startOffset":66,"endOffset":962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"262","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/like-selector.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1333,"count":1}],"isBlockCoverage":true},{"functionName":"isPrimitive","ranges":[{"startOffset":20,"endOffset":72,"count":0}],"isBlockCoverage":false},{"functionName":"isLikeSelector","ranges":[{"startOffset":82,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"selectComparable","ranges":[{"startOffset":609,"endOffset":1332,"count":0}],"isBlockCoverage":false}]},{"scriptId":"263","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5267,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5200,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2913,"endOffset":3409,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3462,"endOffset":3983,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4040,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4149,"endOffset":4906,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4960,"endOffset":5041,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5095,"endOffset":5148,"count":0}],"isBlockCoverage":false}]},{"scriptId":"264","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/strip-ansi/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":468,"count":1}],"isBlockCoverage":true},{"functionName":"stripAnsi","ranges":[{"startOffset":80,"endOffset":467,"count":69},{"startOffset":142,"endOffset":220,"count":0}],"isBlockCoverage":true}]},{"scriptId":"265","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/ignore.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2797,"count":1}],"isBlockCoverage":true},{"functionName":"applyBaseToPattern","ranges":[{"startOffset":479,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"parseIgnoreFile","ranges":[{"startOffset":634,"endOffset":865,"count":0}],"isBlockCoverage":false},{"functionName":"toRelativePath","ranges":[{"startOffset":891,"endOffset":1176,"count":0}],"isBlockCoverage":false},{"functionName":"getIsIgnoredPredicate","ranges":[{"startOffset":1209,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1582,"endOffset":1782,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFiles","ranges":[{"startOffset":1823,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFilesSync","ranges":[{"startOffset":2256,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnored","ranges":[{"startOffset":2623,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnoredSync","ranges":[{"startOffset":2724,"endOffset":2795,"count":0}],"isBlockCoverage":false}]},{"scriptId":"266","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":462,"count":1}],"isBlockCoverage":true},{"functionName":"toPath","ranges":[{"startOffset":102,"endOffset":178,"count":0}],"isBlockCoverage":false},{"functionName":"FilterStream","ranges":[{"startOffset":228,"endOffset":394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":431,"endOffset":460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"267","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mimic-fn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2903,"count":1}],"isBlockCoverage":true},{"functionName":"copyProperty","ranges":[{"startOffset":21,"endOffset":887,"count":4},{"startOffset":280,"endOffset":307,"count":2},{"startOffset":309,"endOffset":577,"count":2},{"startOffset":579,"endOffset":593,"count":0},{"startOffset":593,"endOffset":790,"count":2},{"startOffset":790,"endOffset":814,"count":0},{"startOffset":816,"endOffset":830,"count":0},{"startOffset":830,"endOffset":886,"count":2}],"isBlockCoverage":true},{"functionName":"canCopyProperty","ranges":[{"startOffset":1091,"endOffset":1457,"count":2},{"startOffset":1197,"endOffset":1454,"count":0}],"isBlockCoverage":true},{"functionName":"changePrototype","ranges":[{"startOffset":1484,"endOffset":1662,"count":2},{"startOffset":1616,"endOffset":1661,"count":0}],"isBlockCoverage":true},{"functionName":"wrappedToString","ranges":[{"startOffset":1689,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"changeToString","ranges":[{"startOffset":2221,"endOffset":2603,"count":2},{"startOffset":2273,"endOffset":2277,"count":0}],"isBlockCoverage":true},{"functionName":"mimicFunction","ranges":[{"startOffset":2621,"endOffset":2902,"count":2},{"startOffset":2762,"endOffset":2825,"count":4}],"isBlockCoverage":true}]},{"scriptId":"268","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/ansi-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":350,"count":1}],"isBlockCoverage":true},{"functionName":"ansiRegex","ranges":[{"startOffset":15,"endOffset":349,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true}]},{"scriptId":"269","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/slash/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":285,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":15,"endOffset":284,"count":0}],"isBlockCoverage":false}]},{"scriptId":"270","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":250,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":62,"endOffset":248,"count":1}],"isBlockCoverage":true}]},{"scriptId":"271","url":"node:internal/vm/module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12200,"count":1}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":1662,"endOffset":4017,"count":0}],"isBlockCoverage":false},{"functionName":"get identifier","ranges":[{"startOffset":4021,"endOffset":4158,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4162,"endOffset":4295,"count":0}],"isBlockCoverage":false},{"functionName":"get namespace","ranges":[{"startOffset":4299,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"get status","ranges":[{"startOffset":4580,"endOffset":4733,"count":0}],"isBlockCoverage":false},{"functionName":"get error","ranges":[{"startOffset":4737,"endOffset":4987,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":4991,"endOffset":5396,"count":0}],"isBlockCoverage":false},{"functionName":"evaluate","ranges":[{"startOffset":5400,"endOffset":6153,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6157,"endOffset":6909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":10171,"count":0}],"isBlockCoverage":false},{"functionName":"SyntheticModule","ranges":[{"startOffset":10214,"endOffset":11307,"count":0}],"isBlockCoverage":false},{"functionName":"setExport","ranges":[{"startOffset":11311,"endOffset":11613,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamicallyWrap","ranges":[{"startOffset":11617,"endOffset":12096,"count":558}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyWrapper","ranges":[{"startOffset":11722,"endOffset":12052,"count":2},{"startOffset":11873,"endOffset":11910,"count":0},{"startOffset":11912,"endOffset":12051,"count":0}],"isBlockCoverage":true}]},{"scriptId":"272","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":82,"endOffset":745,"count":1}],"isBlockCoverage":true},{"functionName":"onUnhandledRejection","ranges":[{"startOffset":129,"endOffset":244,"count":0}],"isBlockCoverage":false},{"functionName":"onRejectionHandled","ranges":[{"startOffset":247,"endOffset":433,"count":0}],"isBlockCoverage":false},{"functionName":"currentlyUnhandled","ranges":[{"startOffset":436,"endOffset":599,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":501,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"273","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/array-find-index/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":462,"count":0}],"isBlockCoverage":false}]},{"scriptId":"274","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/now-and-timers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":501,"count":1}],"isBlockCoverage":true},{"functionName":"setCappedTimeout","ranges":[{"startOffset":313,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"275","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge2/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3241,"count":1}],"isBlockCoverage":true},{"functionName":"merge2","ranges":[{"startOffset":280,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"pauseStreams","ranges":[{"startOffset":2702,"endOffset":3240,"count":0}],"isBlockCoverage":false}]},{"scriptId":"276","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4091,"count":1},{"startOffset":3434,"endOffset":3452,"count":0}],"isBlockCoverage":true},{"functionName":"FastGlob","ranges":[{"startOffset":277,"endOffset":501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":612,"endOffset":3423,"count":1}],"isBlockCoverage":true},{"functionName":"sync","ranges":[{"startOffset":763,"endOffset":946,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":977,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":1503,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1795,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"escapePath","ranges":[{"startOffset":2060,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2217,"endOffset":2355,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2434,"endOffset":2864,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2461,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2644,"endOffset":2799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2936,"endOffset":3370,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2963,"endOffset":3100,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":3148,"endOffset":3305,"count":0}],"isBlockCoverage":false},{"functionName":"getWorks","ranges":[{"startOffset":3455,"endOffset":3751,"count":0}],"isBlockCoverage":false},{"functionName":"assertPatternsInput","ranges":[{"startOffset":3752,"endOffset":4063,"count":0}],"isBlockCoverage":false}]},{"scriptId":"277","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/managers/tasks.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5531,"count":1}],"isBlockCoverage":true},{"functionName":"generate","ranges":[{"startOffset":355,"endOffset":1133,"count":0}],"isBlockCoverage":false},{"functionName":"processPatterns","ranges":[{"startOffset":1163,"endOffset":2553,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToTasks","ranges":[{"startOffset":2825,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":4023,"endOffset":4121,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatternsAsPositive","ranges":[{"startOffset":4173,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"groupPatternsByBaseDirectory","ranges":[{"startOffset":4482,"endOffset":4868,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupsToTasks","ranges":[{"startOffset":4938,"endOffset":5147,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupToTask","ranges":[{"startOffset":5215,"endOffset":5467,"count":0}],"isBlockCoverage":false}]},{"scriptId":"278","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":596,"count":1}],"isBlockCoverage":true}]},{"scriptId":"279","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1}],"isBlockCoverage":true},{"functionName":"flatten","ranges":[{"startOffset":123,"endOffset":230,"count":0}],"isBlockCoverage":false},{"functionName":"splitWhen","ranges":[{"startOffset":258,"endOffset":576,"count":0}],"isBlockCoverage":false}]},{"scriptId":"280","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/errno.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":234,"count":1}],"isBlockCoverage":true},{"functionName":"isEnoentCodeError","ranges":[{"startOffset":113,"endOffset":186,"count":0}],"isBlockCoverage":false}]},{"scriptId":"281","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"282","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/path.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3010,"count":1},{"startOffset":2154,"endOffset":2173,"count":0},{"startOffset":2552,"endOffset":2581,"count":0}],"isBlockCoverage":true},{"functionName":"unixify","ranges":[{"startOffset":1352,"endOffset":1423,"count":0}],"isBlockCoverage":false},{"functionName":"makeAbsolute","ranges":[{"startOffset":1451,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"removeLeadingDotSegment","ranges":[{"startOffset":1569,"endOffset":2057,"count":0}],"isBlockCoverage":false},{"functionName":"escapeWindowsPath","ranges":[{"startOffset":2193,"endOffset":2303,"count":0}],"isBlockCoverage":false},{"functionName":"escapePosixPath","ranges":[{"startOffset":2351,"endOffset":2457,"count":0}],"isBlockCoverage":false},{"functionName":"convertWindowsPathToPattern","ranges":[{"startOffset":2611,"endOffset":2792,"count":0}],"isBlockCoverage":false},{"functionName":"convertPosixPathToPattern","ranges":[{"startOffset":2860,"endOffset":2946,"count":0}],"isBlockCoverage":false}]},{"scriptId":"283","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/pattern.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7965,"count":1}],"isBlockCoverage":true},{"functionName":"isStaticPattern","ranges":[{"startOffset":1465,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1608,"endOffset":2666,"count":0}],"isBlockCoverage":false},{"functionName":"hasBraceExpansion","ranges":[{"startOffset":2712,"endOffset":3145,"count":0}],"isBlockCoverage":false},{"functionName":"convertToPositivePattern","ranges":[{"startOffset":3146,"endOffset":3260,"count":0}],"isBlockCoverage":false},{"functionName":"convertToNegativePattern","ranges":[{"startOffset":3322,"endOffset":3394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":3456,"endOffset":3553,"count":0}],"isBlockCoverage":false},{"functionName":"isPositivePattern","ranges":[{"startOffset":3601,"endOffset":3680,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatterns","ranges":[{"startOffset":3728,"endOffset":3817,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":3869,"endOffset":3958,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsInsideCurrentDirectory","ranges":[{"startOffset":4205,"endOffset":4347,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsOutsideCurrentDirectory","ranges":[{"startOffset":4631,"endOffset":4751,"count":0}],"isBlockCoverage":false},{"functionName":"isPatternRelatedToParentDirectory","ranges":[{"startOffset":4833,"endOffset":4955,"count":0}],"isBlockCoverage":false},{"functionName":"getBaseDirectory","ranges":[{"startOffset":5035,"endOffset":5133,"count":0}],"isBlockCoverage":false},{"functionName":"hasGlobStar","ranges":[{"startOffset":5179,"endOffset":5251,"count":0}],"isBlockCoverage":false},{"functionName":"endsWithSlashGlobStar","ranges":[{"startOffset":5287,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"isAffectDepthOfReadingPattern","ranges":[{"startOffset":5431,"endOffset":5599,"count":0}],"isBlockCoverage":false},{"functionName":"expandPatternsWithBraceExpansion","ranges":[{"startOffset":5671,"endOffset":5857,"count":0}],"isBlockCoverage":false},{"functionName":"expandBraceExpansion","ranges":[{"startOffset":5935,"endOffset":6463,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternParts","ranges":[{"startOffset":6517,"endOffset":7150,"count":0}],"isBlockCoverage":false},{"functionName":"makeRe","ranges":[{"startOffset":7194,"endOffset":7279,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToRe","ranges":[{"startOffset":7305,"endOffset":7420,"count":0}],"isBlockCoverage":false},{"functionName":"matchAny","ranges":[{"startOffset":7472,"endOffset":7578,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateSlashes","ranges":[{"startOffset":7813,"endOffset":7907,"count":0}],"isBlockCoverage":false}]},{"scriptId":"284","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/glob-parent/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1120,"count":1}],"isBlockCoverage":true},{"functionName":"globParent","ranges":[{"startOffset":461,"endOffset":1118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"285","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3628,"count":1}],"isBlockCoverage":true},{"functionName":"strictCheck","ranges":[{"startOffset":247,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"relaxedCheck","ranges":[{"startOffset":2767,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"isGlob","ranges":[{"startOffset":3324,"endOffset":3626,"count":0}],"isBlockCoverage":false}]},{"scriptId":"286","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-extglob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"isExtglob","ranges":[{"startOffset":168,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"287","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/micromatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13741,"count":1}],"isBlockCoverage":true},{"functionName":"isEmptyString","ranges":[{"startOffset":187,"endOffset":220,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch","ranges":[{"startOffset":784,"endOffset":2129,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matcher","ranges":[{"startOffset":2781,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.isMatch","ranges":[{"startOffset":3440,"endOffset":3501,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.not","ranges":[{"startOffset":4203,"endOffset":4640,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.contains","ranges":[{"startOffset":5367,"endOffset":5928,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matchKeys","ranges":[{"startOffset":6706,"endOffset":6980,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.some","ranges":[{"startOffset":7765,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.every","ranges":[{"startOffset":8890,"endOffset":9146,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.all","ranges":[{"startOffset":9947,"endOffset":10155,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.capture","ranges":[{"startOffset":10869,"endOffset":11165,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.makeRe","ranges":[{"startOffset":11617,"endOffset":11655,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.scan","ranges":[{"startOffset":12004,"endOffset":12040,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.parse","ranges":[{"startOffset":12432,"endOffset":12652,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braces","ranges":[{"startOffset":13219,"endOffset":13456,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braceExpand","ranges":[{"startOffset":13510,"endOffset":13679,"count":0}],"isBlockCoverage":false}]},{"scriptId":"288","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4375,"count":1}],"isBlockCoverage":true},{"functionName":"braces","ranges":[{"startOffset":543,"endOffset":1030,"count":0}],"isBlockCoverage":false},{"functionName":"braces.parse","ranges":[{"startOffset":1359,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"braces.stringify","ranges":[{"startOffset":1795,"endOffset":1959,"count":0}],"isBlockCoverage":false},{"functionName":"braces.compile","ranges":[{"startOffset":2407,"endOffset":2550,"count":0}],"isBlockCoverage":false},{"functionName":"braces.expand","ranges":[{"startOffset":3141,"endOffset":3541,"count":0}],"isBlockCoverage":false},{"functionName":"braces.create","ranges":[{"startOffset":4118,"endOffset":4319,"count":0}],"isBlockCoverage":false}]},{"scriptId":"289","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/stringify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":700,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":67,"endOffset":697,"count":0}],"isBlockCoverage":false}]},{"scriptId":"290","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2451,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isInteger","ranges":[{"startOffset":35,"endOffset":232,"count":0}],"isBlockCoverage":false},{"functionName":"exports.find","ranges":[{"startOffset":292,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"exports.exceedsLimit","ranges":[{"startOffset":419,"endOffset":626,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeNode","ranges":[{"startOffset":712,"endOffset":985,"count":0}],"isBlockCoverage":false},{"functionName":"exports.encloseBrace","ranges":[{"startOffset":1097,"endOffset":1266,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isInvalidBrace","ranges":[{"startOffset":1347,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isOpenOrClose","ranges":[{"startOffset":1767,"endOffset":1906,"count":0}],"isBlockCoverage":false},{"functionName":"exports.reduce","ranges":[{"startOffset":1969,"endOffset":2127,"count":0}],"isBlockCoverage":false},{"functionName":"exports.flatten","ranges":[{"startOffset":2177,"endOffset":2449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"291","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/compile.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1415,"count":1}],"isBlockCoverage":true},{"functionName":"compile","ranges":[{"startOffset":102,"endOffset":1386,"count":0}],"isBlockCoverage":false}]},{"scriptId":"292","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fill-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6315,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":265,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"transform","ranges":[{"startOffset":355,"endOffset":439,"count":0}],"isBlockCoverage":false},{"functionName":"isValidValue","ranges":[{"startOffset":463,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":578,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"zeros","ranges":[{"startOffset":624,"endOffset":817,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":838,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":1001,"endOffset":1295,"count":0}],"isBlockCoverage":false},{"functionName":"toMaxLen","ranges":[{"startOffset":1315,"endOffset":1552,"count":0}],"isBlockCoverage":false},{"functionName":"toSequence","ranges":[{"startOffset":1574,"endOffset":2208,"count":0}],"isBlockCoverage":false},{"functionName":"toRange","ranges":[{"startOffset":2227,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"toRegex","ranges":[{"startOffset":2499,"endOffset":2758,"count":0}],"isBlockCoverage":false},{"functionName":"rangeError","ranges":[{"startOffset":2780,"endOffset":2874,"count":0}],"isBlockCoverage":false},{"functionName":"invalidRange","ranges":[{"startOffset":2898,"endOffset":3008,"count":0}],"isBlockCoverage":false},{"functionName":"invalidStep","ranges":[{"startOffset":3031,"endOffset":3176,"count":0}],"isBlockCoverage":false},{"functionName":"fillNumbers","ranges":[{"startOffset":3199,"endOffset":4682,"count":0}],"isBlockCoverage":false},{"functionName":"fillLetters","ranges":[{"startOffset":4705,"endOffset":5486,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":5502,"endOffset":6289,"count":0}],"isBlockCoverage":false}]},{"scriptId":"293","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/to-regex-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6481,"count":1}],"isBlockCoverage":true},{"functionName":"toRegexRange","ranges":[{"startOffset":235,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"collatePatterns","ranges":[{"startOffset":2180,"endOffset":2554,"count":0}],"isBlockCoverage":false},{"functionName":"splitToRanges","ranges":[{"startOffset":2556,"endOffset":3037,"count":0}],"isBlockCoverage":false},{"functionName":"rangeToPattern","ranges":[{"startOffset":3159,"endOffset":3832,"count":0}],"isBlockCoverage":false},{"functionName":"splitToPatterns","ranges":[{"startOffset":3834,"endOffset":4632,"count":0}],"isBlockCoverage":false},{"functionName":"filterPatterns","ranges":[{"startOffset":4634,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"zip","ranges":[{"startOffset":5120,"endOffset":5233,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":5235,"endOffset":5298,"count":0}],"isBlockCoverage":false},{"functionName":"contains","ranges":[{"startOffset":5300,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"countNines","ranges":[{"startOffset":5382,"endOffset":5478,"count":0}],"isBlockCoverage":false},{"functionName":"countZeros","ranges":[{"startOffset":5480,"endOffset":5571,"count":0}],"isBlockCoverage":false},{"functionName":"toQuantifier","ranges":[{"startOffset":5573,"endOffset":5741,"count":0}],"isBlockCoverage":false},{"functionName":"toCharacterClass","ranges":[{"startOffset":5743,"endOffset":5837,"count":0}],"isBlockCoverage":false},{"functionName":"hasPadding","ranges":[{"startOffset":5839,"endOffset":5899,"count":0}],"isBlockCoverage":false},{"functionName":"padZeros","ranges":[{"startOffset":5901,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"toRegexRange.clearCache","ranges":[{"startOffset":6382,"endOffset":6413,"count":0}],"isBlockCoverage":false}]},{"scriptId":"294","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-number/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":411,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":184,"endOffset":409,"count":0}],"isBlockCoverage":false}]},{"scriptId":"295","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/expand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2780,"count":1}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":143,"endOffset":810,"count":0}],"isBlockCoverage":false},{"functionName":"expand","ranges":[{"startOffset":828,"endOffset":2752,"count":0}],"isBlockCoverage":false}]},{"scriptId":"296","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6913,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":576,"endOffset":6886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"297","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"298","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":60,"count":1}],"isBlockCoverage":true}]},{"scriptId":"299","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/picomatch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9956,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":204,"endOffset":264,"count":18},{"startOffset":242,"endOffset":264,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch","ranges":[{"startOffset":1018,"endOffset":2836,"count":19},{"startOffset":1087,"endOffset":1365,"count":1},{"startOffset":1365,"endOffset":1400,"count":18},{"startOffset":1400,"endOffset":1414,"count":0},{"startOffset":1415,"endOffset":1428,"count":0},{"startOffset":1449,"endOffset":1490,"count":18},{"startOffset":1478,"endOffset":1489,"count":0},{"startOffset":1492,"endOffset":1567,"count":0},{"startOffset":1567,"endOffset":1597,"count":18},{"startOffset":1669,"endOffset":1705,"count":0},{"startOffset":1710,"endOffset":1756,"count":18},{"startOffset":1861,"endOffset":2015,"count":0},{"startOffset":2015,"endOffset":2783,"count":18},{"startOffset":2783,"endOffset":2815,"count":0},{"startOffset":2815,"endOffset":2835,"count":18}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1114,"endOffset":1161,"count":18}],"isBlockCoverage":true},{"functionName":"arrayMatcher","ranges":[{"startOffset":1189,"endOffset":1335,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnored","ranges":[{"startOffset":1829,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2035,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.test","ranges":[{"startOffset":3384,"endOffset":4185,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.matchBase","ranges":[{"startOffset":4600,"endOffset":4787,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.isMatch","ranges":[{"startOffset":5423,"endOffset":5484,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.parse","ranges":[{"startOffset":5894,"endOffset":6062,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.scan","ranges":[{"startOffset":6697,"endOffset":6737,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.compileRe","ranges":[{"startOffset":7228,"endOffset":7738,"count":18},{"startOffset":7322,"endOffset":7352,"count":0},{"startOffset":7377,"endOffset":7382,"count":0},{"startOffset":7416,"endOffset":7420,"count":0},{"startOffset":7459,"endOffset":7463,"count":0},{"startOffset":7568,"endOffset":7607,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch.makeRe","ranges":[{"startOffset":8611,"endOffset":9117,"count":18},{"startOffset":8724,"endOffset":8785,"count":0},{"startOffset":8895,"endOffset":8914,"count":8},{"startOffset":8917,"endOffset":8975,"count":12}],"isBlockCoverage":true},{"functionName":"picomatch.toRegex","ranges":[{"startOffset":9579,"endOffset":9807,"count":18},{"startOffset":9635,"endOffset":9640,"count":0},{"startOffset":9699,"endOffset":9704,"count":0},{"startOffset":9717,"endOffset":9805,"count":0}],"isBlockCoverage":true}]},{"scriptId":"300","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/scan.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9189,"count":1}],"isBlockCoverage":true},{"functionName":"isPathSeparator","ranges":[{"startOffset":665,"endOffset":746,"count":0}],"isBlockCoverage":false},{"functionName":"depth","ranges":[{"startOffset":763,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"scan","ranges":[{"startOffset":1512,"endOffset":9163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"301","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1885,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isObject","ranges":[{"startOffset":242,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"exports.hasRegexChars","ranges":[{"startOffset":337,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isRegexChar","ranges":[{"startOffset":397,"endOffset":450,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeRegex","ranges":[{"startOffset":474,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"exports.toPosixSlashes","ranges":[{"startOffset":555,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removeBackslashes","ranges":[{"startOffset":626,"endOffset":738,"count":0}],"isBlockCoverage":false},{"functionName":"exports.supportsLookbehinds","ranges":[{"startOffset":771,"endOffset":960,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isWindows","ranges":[{"startOffset":983,"endOffset":1132,"count":48},{"startOffset":1010,"endOffset":1049,"count":30},{"startOffset":1051,"endOffset":1084,"count":0}],"isBlockCoverage":true},{"functionName":"exports.escapeLast","ranges":[{"startOffset":1156,"endOffset":1401,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removePrefix","ranges":[{"startOffset":1427,"endOffset":1584,"count":30},{"startOffset":1505,"endOffset":1565,"count":0}],"isBlockCoverage":true},{"functionName":"exports.wrapOutput","ranges":[{"startOffset":1608,"endOffset":1883,"count":8},{"startOffset":1682,"endOffset":1686,"count":0},{"startOffset":1728,"endOffset":1732,"count":0},{"startOffset":1821,"endOffset":1864,"count":0}],"isBlockCoverage":true}]},{"scriptId":"302","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4448,"count":1}],"isBlockCoverage":true},{"functionName":"extglobChars","ranges":[{"startOffset":3985,"endOffset":4324,"count":18}],"isBlockCoverage":true},{"functionName":"globChars","ranges":[{"startOffset":4365,"endOffset":4444,"count":30},{"startOffset":4410,"endOffset":4425,"count":0}],"isBlockCoverage":true}]},{"scriptId":"303","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27763,"count":1}],"isBlockCoverage":true},{"functionName":"expandRange","ranges":[{"startOffset":287,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"syntaxError","ranges":[{"startOffset":713,"endOffset":819,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":950,"endOffset":25216,"count":18},{"startOffset":1005,"endOffset":1056,"count":0},{"startOffset":1179,"endOffset":1217,"count":0},{"startOffset":1276,"endOffset":1372,"count":0},{"startOffset":1500,"endOffset":1504,"count":0},{"startOffset":2109,"endOffset":2113,"count":0},{"startOffset":2154,"endOffset":2161,"count":0},{"startOffset":2210,"endOffset":2226,"count":0},{"startOffset":2256,"endOffset":2285,"count":0},{"startOffset":2357,"endOffset":2395,"count":0},{"startOffset":6907,"endOffset":8130,"count":8},{"startOffset":7704,"endOffset":7937,"count":0},{"startOffset":7964,"endOffset":7989,"count":3},{"startOffset":7991,"endOffset":8046,"count":0},{"startOffset":8130,"endOffset":8211,"count":10},{"startOffset":8211,"endOffset":24093,"count":55},{"startOffset":8265,"endOffset":8288,"count":0},{"startOffset":8357,"endOffset":9173,"count":0},{"startOffset":9319,"endOffset":9382,"count":0},{"startOffset":9384,"endOffset":10516,"count":0},{"startOffset":10659,"endOffset":10675,"count":0},{"startOffset":10677,"endOffset":10792,"count":0},{"startOffset":10855,"endOffset":11012,"count":0},{"startOffset":11073,"endOffset":11161,"count":0},{"startOffset":11186,"endOffset":11621,"count":0},{"startOffset":11686,"endOffset":12045,"count":0},{"startOffset":12070,"endOffset":13525,"count":0},{"startOffset":13580,"endOffset":13604,"count":0},{"startOffset":13606,"endOffset":13873,"count":0},{"startOffset":13898,"endOffset":15028,"count":0},{"startOffset":15083,"endOffset":15236,"count":0},{"startOffset":15292,"endOffset":15553,"count":0},{"startOffset":15610,"endOffset":16220,"count":9},{"startOffset":15901,"endOffset":15935,"count":0},{"startOffset":15937,"endOffset":16136,"count":0},{"startOffset":16220,"endOffset":16274,"count":46},{"startOffset":16274,"endOffset":16840,"count":5},{"startOffset":16303,"endOffset":16325,"count":0},{"startOffset":16327,"endOffset":16576,"count":0},{"startOffset":16647,"endOffset":16671,"count":0},{"startOffset":16673,"endOffset":16760,"count":0},{"startOffset":16840,"endOffset":16904,"count":41},{"startOffset":16904,"endOffset":17841,"count":0},{"startOffset":17841,"endOffset":17902,"count":41},{"startOffset":17902,"endOffset":18202,"count":0},{"startOffset":18202,"endOffset":18256,"count":41},{"startOffset":18256,"endOffset":18806,"count":0},{"startOffset":18806,"endOffset":18866,"count":41},{"startOffset":18866,"endOffset":19091,"count":0},{"startOffset":19091,"endOffset":19151,"count":41},{"startOffset":19151,"endOffset":19452,"count":10},{"startOffset":19195,"endOffset":19234,"count":0},{"startOffset":19452,"endOffset":19548,"count":31},{"startOffset":19550,"endOffset":19757,"count":0},{"startOffset":19757,"endOffset":19842,"count":31},{"startOffset":19844,"endOffset":19901,"count":0},{"startOffset":19901,"endOffset":19933,"count":31},{"startOffset":19933,"endOffset":23132,"count":11},{"startOffset":19971,"endOffset":20022,"count":0},{"startOffset":20133,"endOffset":20156,"count":2},{"startOffset":20189,"endOffset":20246,"count":9},{"startOffset":20278,"endOffset":20323,"count":0},{"startOffset":20325,"endOffset":20403,"count":0},{"startOffset":20444,"endOffset":20497,"count":0},{"startOffset":20539,"endOffset":20591,"count":0},{"startOffset":20612,"endOffset":20637,"count":0},{"startOffset":20638,"endOffset":20649,"count":0},{"startOffset":20650,"endOffset":20663,"count":0},{"startOffset":20665,"endOffset":20743,"count":0},{"startOffset":20820,"endOffset":20997,"count":0},{"startOffset":21030,"endOffset":21038,"count":2},{"startOffset":21040,"endOffset":21257,"count":0},{"startOffset":21292,"endOffset":21320,"count":9},{"startOffset":21321,"endOffset":21334,"count":9},{"startOffset":21335,"endOffset":21343,"count":9},{"startOffset":21345,"endOffset":21745,"count":0},{"startOffset":21780,"endOffset":21808,"count":9},{"startOffset":21809,"endOffset":21827,"count":9},{"startOffset":21829,"endOffset":22362,"count":9},{"startOffset":21877,"endOffset":21881,"count":0},{"startOffset":22362,"endOffset":22413,"count":2},{"startOffset":22415,"endOffset":22745,"count":2},{"startOffset":22745,"endOffset":23132,"count":0},{"startOffset":23132,"endOffset":23220,"count":20},{"startOffset":23220,"endOffset":23401,"count":0},{"startOffset":23401,"endOffset":23469,"count":20},{"startOffset":23470,"endOffset":23492,"count":0},{"startOffset":23494,"endOffset":23564,"count":0},{"startOffset":23564,"endOffset":23602,"count":20},{"startOffset":23602,"endOffset":23626,"count":18},{"startOffset":23627,"endOffset":23649,"count":0},{"startOffset":23651,"endOffset":24071,"count":20},{"startOffset":23684,"endOffset":23769,"count":0},{"startOffset":23798,"endOffset":23885,"count":0},{"startOffset":23989,"endOffset":24065,"count":9},{"startOffset":24071,"endOffset":24093,"count":20},{"startOffset":24093,"endOffset":24124,"count":10},{"startOffset":24124,"endOffset":24302,"count":0},{"startOffset":24302,"endOffset":24331,"count":10},{"startOffset":24331,"endOffset":24507,"count":0},{"startOffset":24507,"endOffset":24536,"count":10},{"startOffset":24536,"endOffset":24712,"count":0},{"startOffset":24712,"endOffset":24800,"count":10},{"startOffset":24773,"endOffset":24799,"count":1},{"startOffset":24802,"endOffset":24882,"count":9},{"startOffset":24882,"endOffset":24976,"count":10},{"startOffset":24976,"endOffset":25197,"count":0},{"startOffset":25197,"endOffset":25215,"count":10}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":1977,"endOffset":2081,"count":11},{"startOffset":2042,"endOffset":2054,"count":0}],"isBlockCoverage":true},{"functionName":"eos","ranges":[{"startOffset":2889,"endOffset":2918,"count":76}],"isBlockCoverage":true},{"functionName":"state.peek","ranges":[{"startOffset":2948,"endOffset":2981,"count":20}],"isBlockCoverage":true},{"functionName":"state.advance","ranges":[{"startOffset":3017,"endOffset":3049,"count":66},{"startOffset":3044,"endOffset":3049,"count":0}],"isBlockCoverage":true},{"functionName":"remaining","ranges":[{"startOffset":3071,"endOffset":3105,"count":41}],"isBlockCoverage":true},{"functionName":"consume","ranges":[{"startOffset":3125,"endOffset":3208,"count":75}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":3228,"endOffset":3339,"count":64},{"startOffset":3280,"endOffset":3294,"count":54},{"startOffset":3295,"endOffset":3308,"count":10}],"isBlockCoverage":true},{"functionName":"negate","ranges":[{"startOffset":3359,"endOffset":3635,"count":0}],"isBlockCoverage":false},{"functionName":"increment","ranges":[{"startOffset":3658,"endOffset":3712,"count":0}],"isBlockCoverage":false},{"functionName":"decrement","ranges":[{"startOffset":3735,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":4109,"endOffset":5036,"count":64},{"startOffset":4152,"endOffset":4644,"count":11},{"startOffset":4193,"endOffset":4242,"count":0},{"startOffset":4309,"endOffset":4357,"count":0},{"startOffset":4392,"endOffset":4415,"count":0},{"startOffset":4416,"endOffset":4427,"count":0},{"startOffset":4428,"endOffset":4441,"count":0},{"startOffset":4443,"endOffset":4638,"count":0},{"startOffset":4670,"endOffset":4693,"count":0},{"startOffset":4695,"endOffset":4758,"count":0},{"startOffset":4778,"endOffset":4791,"count":9},{"startOffset":4843,"endOffset":4865,"count":9},{"startOffset":4867,"endOffset":4972,"count":0}],"isBlockCoverage":true},{"functionName":"extglobOpen","ranges":[{"startOffset":5061,"endOffset":5492,"count":0}],"isBlockCoverage":false},{"functionName":"extglobClose","ranges":[{"startOffset":5518,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6999,"endOffset":7670,"count":6},{"startOffset":7066,"endOffset":7121,"count":0},{"startOffset":7148,"endOffset":7409,"count":0},{"startOffset":7436,"endOffset":7494,"count":5},{"startOffset":7494,"endOffset":7521,"count":1},{"startOffset":7521,"endOffset":7631,"count":0},{"startOffset":7631,"endOffset":7649,"count":1},{"startOffset":7649,"endOffset":7652,"count":0},{"startOffset":7653,"endOffset":7663,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7841,"endOffset":7921,"count":0}],"isBlockCoverage":false},{"functionName":"parse.fastpaths","ranges":[{"startOffset":25439,"endOffset":27736,"count":12},{"startOffset":25541,"endOffset":25579,"count":0},{"startOffset":25639,"endOffset":25735,"count":0},{"startOffset":26089,"endOffset":26098,"count":0},{"startOffset":26137,"endOffset":26152,"count":0},{"startOffset":26194,"endOffset":26198,"count":0},{"startOffset":26287,"endOffset":26294,"count":0},{"startOffset":26324,"endOffset":26353,"count":0},{"startOffset":27644,"endOffset":27674,"count":0},{"startOffset":27676,"endOffset":27716,"count":0}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":26374,"endOffset":26525,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":26545,"endOffset":27545,"count":16},{"startOffset":26579,"endOffset":26633,"count":0},{"startOffset":26641,"endOffset":26702,"count":0},{"startOffset":26710,"endOffset":26787,"count":0},{"startOffset":26795,"endOffset":26885,"count":0},{"startOffset":26893,"endOffset":26942,"count":0},{"startOffset":26950,"endOffset":27056,"count":0},{"startOffset":27064,"endOffset":27193,"count":0},{"startOffset":27201,"endOffset":27311,"count":0},{"startOffset":27400,"endOffset":27407,"count":12},{"startOffset":27407,"endOffset":27478,"count":4},{"startOffset":27478,"endOffset":27535,"count":0}],"isBlockCoverage":true}]},{"scriptId":"304","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":629,"count":1}],"isBlockCoverage":true},{"functionName":"merge","ranges":[{"startOffset":135,"endOffset":499,"count":0}],"isBlockCoverage":false},{"functionName":"propagateCloseEventToSources","ranges":[{"startOffset":523,"endOffset":628,"count":0}],"isBlockCoverage":false}]},{"scriptId":"305","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":298,"count":1}],"isBlockCoverage":true},{"functionName":"isString","ranges":[{"startOffset":122,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"isEmpty","ranges":[{"startOffset":218,"endOffset":270,"count":0}],"isBlockCoverage":false}]},{"scriptId":"306","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":814,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderAsync","ranges":[{"startOffset":217,"endOffset":327,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":332,"endOffset":587,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":592,"endOffset":778,"count":0}],"isBlockCoverage":false}]},{"scriptId":"307","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1213,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderAsync","ranges":[{"startOffset":246,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":407,"endOffset":750,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":755,"endOffset":1179,"count":0}],"isBlockCoverage":false}]},{"scriptId":"308","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"walk","ranges":[{"startOffset":378,"endOffset":710,"count":0}],"isBlockCoverage":false},{"functionName":"walkSync","ranges":[{"startOffset":732,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"walkStream","ranges":[{"startOffset":956,"endOffset":1154,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":1188,"endOffset":1389,"count":0}],"isBlockCoverage":false}]},{"scriptId":"309","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":895,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncProvider","ranges":[{"startOffset":148,"endOffset":349,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":354,"endOffset":707,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":743,"endOffset":813,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":814,"endOffset":894,"count":0}],"isBlockCoverage":false}]},{"scriptId":"310","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3157,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncReader","ranges":[{"startOffset":318,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":821,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"get isDestroyed","ranges":[{"startOffset":1050,"endOffset":1109,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":1114,"endOffset":1308,"count":0}],"isBlockCoverage":false},{"functionName":"onEntry","ranges":[{"startOffset":1313,"endOffset":1383,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":1388,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"onEnd","ranges":[{"startOffset":1465,"endOffset":1533,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":1538,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_worker","ranges":[{"startOffset":1778,"endOffset":2168,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":2173,"endOffset":2423,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":2428,"endOffset":3049,"count":0}],"isBlockCoverage":false},{"functionName":"_emitEntry","ranges":[{"startOffset":3054,"endOffset":3123,"count":0}],"isBlockCoverage":false}]},{"scriptId":"311","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1009,"count":1}],"isBlockCoverage":true},{"functionName":"scandir","ranges":[{"startOffset":311,"endOffset":603,"count":0}],"isBlockCoverage":false},{"functionName":"scandirSync","ranges":[{"startOffset":631,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":807,"endOffset":1008,"count":0}],"isBlockCoverage":false}]},{"scriptId":"312","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3686,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":346,"endOffset":598,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":620,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"makeRplTaskEntry","ranges":[{"startOffset":1625,"endOffset":2247,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":2248,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":3536,"endOffset":3606,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":3607,"endOffset":3685,"count":0}],"isBlockCoverage":false}]},{"scriptId":"313","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"stat","ranges":[{"startOffset":305,"endOffset":594,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":616,"endOffset":753,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":783,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"314","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":1000,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":1022,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":1093,"endOffset":1171,"count":0}],"isBlockCoverage":false}]},{"scriptId":"315","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":619,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"316","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":696,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":135,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":563,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"317","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":305,"endOffset":522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"318","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/run-parallel/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1034,"count":1}],"isBlockCoverage":true},{"functionName":"runParallel","ranges":[{"startOffset":167,"endOffset":1033,"count":0}],"isBlockCoverage":false}]},{"scriptId":"319","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/queue-microtask/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":402,"count":1},{"startOffset":210,"endOffset":218,"count":0},{"startOffset":283,"endOffset":401,"count":0}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":285,"endOffset":401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"320","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":990,"count":1},{"startOffset":295,"endOffset":424,"count":0},{"startOffset":794,"endOffset":837,"count":0},{"startOffset":956,"endOffset":988,"count":0}],"isBlockCoverage":true}]},{"scriptId":"321","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":143,"count":1}],"isBlockCoverage":true}]},{"scriptId":"322","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"323","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":419,"count":1}],"isBlockCoverage":true},{"functionName":"joinPathSegments","ranges":[{"startOffset":112,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"324","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1990,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":309,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":551,"endOffset":1357,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":1411,"endOffset":1962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"325","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1076,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":209,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":943,"endOffset":1045,"count":0}],"isBlockCoverage":false}]},{"scriptId":"326","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":640,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":363,"endOffset":580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"327","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fastq/queue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5617,"count":1}],"isBlockCoverage":true},{"functionName":"fastqueue","ranges":[{"startOffset":77,"endOffset":3391,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":3393,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"Task","ranges":[{"startOffset":3414,"endOffset":3917,"count":0}],"isBlockCoverage":false},{"functionName":"queueAsPromised","ranges":[{"startOffset":3919,"endOffset":5547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"328","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/reusify/reusify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"reusify","ranges":[{"startOffset":14,"endOffset":427,"count":0}],"isBlockCoverage":false}]},{"scriptId":"329","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1052,"count":1}],"isBlockCoverage":true},{"functionName":"isFatalError","ranges":[{"startOffset":199,"endOffset":350,"count":0}],"isBlockCoverage":false},{"functionName":"isAppliedFilter","ranges":[{"startOffset":388,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"replacePathSegmentSeparator","ranges":[{"startOffset":520,"endOffset":633,"count":0}],"isBlockCoverage":false},{"functionName":"joinPathSegments","ranges":[{"startOffset":701,"endOffset":1006,"count":0}],"isBlockCoverage":false}]},{"scriptId":"330","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":358,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":132,"endOffset":329,"count":0}],"isBlockCoverage":false}]},{"scriptId":"331","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1021,"count":1}],"isBlockCoverage":true},{"functionName":"StreamProvider","ranges":[{"startOffset":185,"endOffset":630,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":635,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"332","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":407,"count":1}],"isBlockCoverage":true},{"functionName":"SyncProvider","ranges":[{"startOffset":145,"endOffset":317,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":322,"endOffset":372,"count":0}],"isBlockCoverage":false}]},{"scriptId":"333","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1911,"count":1}],"isBlockCoverage":true},{"functionName":"SyncReader","ranges":[{"startOffset":249,"endOffset":407,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":412,"endOffset":549,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":554,"endOffset":637,"count":0}],"isBlockCoverage":false},{"functionName":"_handleQueue","ranges":[{"startOffset":642,"endOffset":787,"count":0}],"isBlockCoverage":false},{"functionName":"_handleDirectory","ranges":[{"startOffset":792,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":1127,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":1269,"endOffset":1809,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToStorage","ranges":[{"startOffset":1814,"endOffset":1878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"334","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1250,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":178,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":1117,"endOffset":1219,"count":0}],"isBlockCoverage":false}]},{"scriptId":"335","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1063,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":205,"endOffset":518,"count":0}],"isBlockCoverage":false},{"functionName":"_getFullEntryPath","ranges":[{"startOffset":523,"endOffset":617,"count":0}],"isBlockCoverage":false},{"functionName":"_makeEntry","ranges":[{"startOffset":622,"endOffset":913,"count":0}],"isBlockCoverage":false},{"functionName":"_isFatalError","ranges":[{"startOffset":918,"endOffset":1034,"count":0}],"isBlockCoverage":false}]},{"scriptId":"336","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1870,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderStream","ranges":[{"startOffset":289,"endOffset":419,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":424,"endOffset":502,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":513,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":1275,"endOffset":1579,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1584,"endOffset":1835,"count":0}],"isBlockCoverage":false}]},{"scriptId":"337","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/provider.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2000,"count":1}],"isBlockCoverage":true},{"functionName":"Provider","ranges":[{"startOffset":307,"endOffset":692,"count":0}],"isBlockCoverage":false},{"functionName":"_getRootDirectory","ranges":[{"startOffset":697,"endOffset":788,"count":0}],"isBlockCoverage":false},{"functionName":"_getReaderOptions","ranges":[{"startOffset":793,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"_getMicromatchOptions","ranges":[{"startOffset":1559,"endOffset":1969,"count":0}],"isBlockCoverage":false}]},{"scriptId":"338","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/deep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2466,"count":1}],"isBlockCoverage":true},{"functionName":"DeepFilter","ranges":[{"startOffset":188,"endOffset":328,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":333,"endOffset":576,"count":0}],"isBlockCoverage":false},{"functionName":"_getMatcher","ranges":[{"startOffset":581,"endOffset":699,"count":0}],"isBlockCoverage":false},{"functionName":"_getNegativePatternsRe","ranges":[{"startOffset":704,"endOffset":956,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":961,"endOffset":1444,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByDeep","ranges":[{"startOffset":1449,"endOffset":1754,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntryLevel","ranges":[{"startOffset":1759,"endOffset":2043,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedSymbolicLink","ranges":[{"startOffset":2048,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByPositivePatterns","ranges":[{"startOffset":2175,"endOffset":2306,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByNegativePatterns","ranges":[{"startOffset":2311,"endOffset":2433,"count":0}],"isBlockCoverage":false}]},{"scriptId":"339","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/partial.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1421,"count":1}],"isBlockCoverage":true},{"functionName":"match","ranges":[{"startOffset":170,"endOffset":1384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"340","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1568,"count":1}],"isBlockCoverage":true},{"functionName":"Matcher","ranges":[{"startOffset":135,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"_fillStorage","ranges":[{"startOffset":384,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"_getPatternSegments","ranges":[{"startOffset":778,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"_splitSegmentsIntoSections","ranges":[{"startOffset":1370,"endOffset":1538,"count":0}],"isBlockCoverage":false}]},{"scriptId":"341","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2686,"count":1}],"isBlockCoverage":true},{"functionName":"EntryFilter","ranges":[{"startOffset":139,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":316,"endOffset":667,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":672,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"_isDuplicateEntry","ranges":[{"startOffset":1473,"endOffset":1549,"count":0}],"isBlockCoverage":false},{"functionName":"_createIndexRecord","ranges":[{"startOffset":1554,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyFileFilter","ranges":[{"startOffset":1640,"endOffset":1737,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyDirectoryFilter","ranges":[{"startOffset":1742,"endOffset":1855,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByAbsoluteNegativePatterns","ranges":[{"startOffset":1860,"endOffset":2145,"count":0}],"isBlockCoverage":false},{"functionName":"_isMatchToPatterns","ranges":[{"startOffset":2150,"endOffset":2652,"count":0}],"isBlockCoverage":false}]},{"scriptId":"342","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"ErrorFilter","ranges":[{"startOffset":139,"endOffset":205,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":210,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"_isNonFatalError","ranges":[{"startOffset":290,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"343","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/transformers/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":845,"count":1}],"isBlockCoverage":true},{"functionName":"EntryTransformer","ranges":[{"startOffset":144,"endOffset":210,"count":0}],"isBlockCoverage":false},{"functionName":"getTransformer","ranges":[{"startOffset":215,"endOffset":289,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":294,"endOffset":806,"count":0}],"isBlockCoverage":false}]},{"scriptId":"344","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1198,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderStream","ranges":[{"startOffset":256,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":372,"endOffset":970,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":975,"endOffset":1161,"count":0}],"isBlockCoverage":false}]},{"scriptId":"345","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":779,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderSync","ranges":[{"startOffset":214,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":328,"endOffset":553,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":558,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"346","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1330,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderSync","ranges":[{"startOffset":251,"endOffset":385,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":390,"endOffset":466,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":477,"endOffset":878,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":883,"endOffset":1203,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1208,"endOffset":1297,"count":0}],"isBlockCoverage":false}]},{"scriptId":"347","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2849,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":645,"endOffset":2584,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":2589,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"_getFileSystemMethods","ranges":[{"startOffset":2680,"endOffset":2818,"count":0}],"isBlockCoverage":false}]},{"scriptId":"348","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/dir-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2304,"count":1}],"isBlockCoverage":true},{"functionName":"getExtensions","ranges":[{"startOffset":106,"endOffset":187,"count":0}],"isBlockCoverage":false},{"functionName":"getPath","ranges":[{"startOffset":206,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"addExtensions","ranges":[{"startOffset":376,"endOffset":506,"count":0}],"isBlockCoverage":false},{"functionName":"getGlob","ranges":[{"startOffset":525,"endOffset":1324,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1344,"endOffset":1852,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.sync","ranges":[{"startOffset":1877,"endOffset":2302,"count":0}],"isBlockCoverage":false}]},{"scriptId":"349","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-type/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":true},{"functionName":"isType","ranges":[{"startOffset":78,"endOffset":444,"count":0}],"isBlockCoverage":false},{"functionName":"isTypeSync","ranges":[{"startOffset":446,"endOffset":770,"count":0}],"isBlockCoverage":false}]},{"scriptId":"350","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16073,"count":1},{"startOffset":15630,"endOffset":16072,"count":0}],"isBlockCoverage":true},{"functionName":"makeArray","ranges":[{"startOffset":41,"endOffset":135,"count":0}],"isBlockCoverage":false},{"functionName":"define","ranges":[{"startOffset":813,"endOffset":882,"count":0}],"isBlockCoverage":false},{"functionName":"RETURN_FALSE","ranges":[{"startOffset":952,"endOffset":963,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeRange","ranges":[{"startOffset":1090,"endOffset":1362,"count":0}],"isBlockCoverage":false},{"functionName":"cleanRangeBackSlash","ranges":[{"startOffset":1412,"endOffset":1500,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2321,"endOffset":2383,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2438,"endOffset":2449,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3104,"endOffset":3125,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3213,"endOffset":3225,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3477,"endOffset":3486,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3577,"endOffset":3588,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4009,"endOffset":4028,"count":0}],"isBlockCoverage":false},{"functionName":"startingReplacer","ranges":[{"startOffset":4250,"endOffset":5144,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5442,"endOffset":5912,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":6273,"endOffset":6593,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6787,"endOffset":6799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6849,"endOffset":6861,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7539,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":8102,"endOffset":8250,"count":0}],"isBlockCoverage":false},{"functionName":"REPLACERS","ranges":[{"startOffset":8311,"endOffset":8645,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegex","ranges":[{"startOffset":8808,"endOffset":9130,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":9149,"endOffset":9187,"count":0}],"isBlockCoverage":false},{"functionName":"checkPattern","ranges":[{"startOffset":9294,"endOffset":9514,"count":0}],"isBlockCoverage":false},{"functionName":"splitPattern","ranges":[{"startOffset":9537,"endOffset":9582,"count":0}],"isBlockCoverage":false},{"functionName":"IgnoreRule","ranges":[{"startOffset":9605,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"createRule","ranges":[{"startOffset":9804,"endOffset":10534,"count":0}],"isBlockCoverage":false},{"functionName":"throwError","ranges":[{"startOffset":10555,"endOffset":10603,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath","ranges":[{"startOffset":10623,"endOffset":11159,"count":0}],"isBlockCoverage":false},{"functionName":"isNotRelative","ranges":[{"startOffset":11183,"endOffset":11225,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.convert","ranges":[{"startOffset":11287,"endOffset":11293,"count":0}],"isBlockCoverage":false},{"functionName":"Ignore","ranges":[{"startOffset":11312,"endOffset":11588,"count":0}],"isBlockCoverage":false},{"functionName":"_initCache","ranges":[{"startOffset":11592,"endOffset":11697,"count":0}],"isBlockCoverage":false},{"functionName":"_addPattern","ranges":[{"startOffset":11701,"endOffset":12031,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":12089,"endOffset":12416,"count":0}],"isBlockCoverage":false},{"functionName":"addPattern","ranges":[{"startOffset":12432,"endOffset":12487,"count":0}],"isBlockCoverage":false},{"functionName":"_testOne","ranges":[{"startOffset":13081,"endOffset":13588,"count":0}],"isBlockCoverage":false},{"functionName":"_test","ranges":[{"startOffset":13619,"endOffset":13965,"count":0}],"isBlockCoverage":false},{"functionName":"_t","ranges":[{"startOffset":13969,"endOffset":14755,"count":0}],"isBlockCoverage":false},{"functionName":"ignores","ranges":[{"startOffset":14759,"endOffset":14841,"count":0}],"isBlockCoverage":false},{"functionName":"createFilter","ranges":[{"startOffset":14845,"endOffset":14905,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":14909,"endOffset":14985,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":15016,"endOffset":15084,"count":0}],"isBlockCoverage":false},{"functionName":"factory","ranges":[{"startOffset":15104,"endOffset":15134,"count":0}],"isBlockCoverage":false},{"functionName":"isPathValid","ranges":[{"startOffset":15156,"endOffset":15228,"count":0}],"isBlockCoverage":false},{"functionName":"makePosix","ranges":[{"startOffset":15691,"endOffset":15798,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.isNotRelative","ranges":[{"startOffset":15990,"endOffset":16070,"count":0}],"isBlockCoverage":false}]},{"scriptId":"351","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/glob-helpers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4053,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":547,"endOffset":575,"count":9}],"isBlockCoverage":true},{"functionName":"processMatchingPatterns","ranges":[{"startOffset":724,"endOffset":1373,"count":0}],"isBlockCoverage":false},{"functionName":"matchesIgnorePatterns","ranges":[{"startOffset":1466,"endOffset":1608,"count":0}],"isBlockCoverage":false},{"functionName":"classify","ranges":[{"startOffset":1611,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"hasExtension","ranges":[{"startOffset":2008,"endOffset":2078,"count":0}],"isBlockCoverage":false},{"functionName":"isHelperish","ranges":[{"startOffset":2119,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"matches","ranges":[{"startOffset":2778,"endOffset":2887,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFileForMatching","ranges":[{"startOffset":2917,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePattern","ranges":[{"startOffset":3459,"endOffset":3856,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePatterns","ranges":[{"startOffset":3904,"endOffset":4004,"count":0}],"isBlockCoverage":false}]},{"scriptId":"352","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore-by-default/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":816,"count":1}],"isBlockCoverage":true},{"functionName":"exports.directories","ranges":[{"startOffset":36,"endOffset":815,"count":1}],"isBlockCoverage":true}]},{"scriptId":"353","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/slash.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":1199,"endOffset":1364,"count":0}],"isBlockCoverage":false}]},{"scriptId":"354","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/pkg.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":59,"count":1}],"isBlockCoverage":true}]},{"scriptId":"355","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/clean-yaml-object/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2176,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":129,"count":0}],"isBlockCoverage":false},{"functionName":"cleanYamlObj","ranges":[{"startOffset":132,"endOffset":1901,"count":0}],"isBlockCoverage":false},{"functionName":"setProp","ranges":[{"startOffset":1903,"endOffset":2131,"count":0}],"isBlockCoverage":false},{"functionName":"defaultFilter","ranges":[{"startOffset":2133,"endOffset":2175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"356","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":578,"count":1}],"isBlockCoverage":true}]},{"scriptId":"357","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3379,"count":1}],"isBlockCoverage":true},{"functionName":"shortcircuitPrimitive","ranges":[{"startOffset":408,"endOffset":728,"count":8},{"startOffset":531,"endOffset":542,"count":0},{"startOffset":618,"endOffset":629,"count":0},{"startOffset":690,"endOffset":710,"count":0}],"isBlockCoverage":true},{"functionName":"compareDescriptors","ranges":[{"startOffset":730,"endOffset":2814,"count":4},{"startOffset":916,"endOffset":2775,"count":164},{"startOffset":963,"endOffset":1070,"count":0},{"startOffset":1102,"endOffset":1132,"count":0},{"startOffset":1207,"endOffset":1219,"count":0},{"startOffset":1251,"endOffset":2308,"count":44},{"startOffset":1301,"endOffset":1313,"count":0},{"startOffset":1346,"endOffset":1372,"count":0},{"startOffset":1374,"endOffset":2089,"count":0},{"startOffset":2336,"endOffset":2771,"count":204},{"startOffset":2445,"endOffset":2460,"count":160},{"startOffset":2462,"endOffset":2485,"count":160},{"startOffset":2485,"endOffset":2525,"count":44},{"startOffset":2527,"endOffset":2729,"count":44},{"startOffset":2729,"endOffset":2765,"count":0}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":2864,"endOffset":3352,"count":4},{"startOffset":2946,"endOffset":2967,"count":0},{"startOffset":3161,"endOffset":3183,"count":0}],"isBlockCoverage":true}]},{"scriptId":"358","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Circular.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":785,"count":1}],"isBlockCoverage":true},{"functionName":"Circular","ranges":[{"startOffset":33,"endOffset":80,"count":8}],"isBlockCoverage":true},{"functionName":"add","ranges":[{"startOffset":84,"endOffset":361,"count":88},{"startOffset":139,"endOffset":174,"count":0},{"startOffset":280,"endOffset":341,"count":48}],"isBlockCoverage":true},{"functionName":"delete","ranges":[{"startOffset":365,"endOffset":583,"count":88},{"startOffset":423,"endOffset":563,"count":48},{"startOffset":483,"endOffset":521,"count":0}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":587,"endOffset":647,"count":328}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":651,"endOffset":756,"count":0}],"isBlockCoverage":false}]},{"scriptId":"359","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":249,"count":1}],"isBlockCoverage":true}]},{"scriptId":"360","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/describe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5965,"count":1}],"isBlockCoverage":true},{"functionName":"describePrimitive","ranges":[{"startOffset":2448,"endOffset":2957,"count":456},{"startOffset":2507,"endOffset":2534,"count":0},{"startOffset":2562,"endOffset":2594,"count":0},{"startOffset":2616,"endOffset":2634,"count":396},{"startOffset":2636,"endOffset":2671,"count":124},{"startOffset":2671,"endOffset":2726,"count":332},{"startOffset":2726,"endOffset":2760,"count":0},{"startOffset":2760,"endOffset":2786,"count":332},{"startOffset":2786,"endOffset":2820,"count":0},{"startOffset":2820,"endOffset":2846,"count":332},{"startOffset":2846,"endOffset":2880,"count":284},{"startOffset":2880,"endOffset":2906,"count":48},{"startOffset":2906,"endOffset":2940,"count":0},{"startOffset":2940,"endOffset":2956,"count":48}],"isBlockCoverage":true},{"functionName":"unboxComplex","ranges":[{"startOffset":2959,"endOffset":3324,"count":48},{"startOffset":3272,"endOffset":3303,"count":0}],"isBlockCoverage":true},{"functionName":"registerPlugins","ranges":[{"startOffset":3326,"endOffset":3726,"count":8},{"startOffset":3393,"endOffset":3416,"count":0},{"startOffset":3435,"endOffset":3725,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3425,"endOffset":3435,"count":48}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3508,"endOffset":3724,"count":0}],"isBlockCoverage":false},{"functionName":"describeComplex","ranges":[{"startOffset":3728,"endOffset":4699,"count":48},{"startOffset":3875,"endOffset":3901,"count":0},{"startOffset":4173,"endOffset":4238,"count":0},{"startOffset":4321,"endOffset":4374,"count":0}],"isBlockCoverage":true},{"functionName":"describeItem","ranges":[{"startOffset":4722,"endOffset":4923,"count":16},{"startOffset":4865,"endOffset":4921,"count":0}],"isBlockCoverage":true},{"functionName":"describeMapEntry","ranges":[{"startOffset":4950,"endOffset":5058,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":5060,"endOffset":5938,"count":8},{"startOffset":5168,"endOffset":5184,"count":0}],"isBlockCoverage":true},{"functionName":"curriedComplex","ranges":[{"startOffset":5310,"endOffset":5435,"count":48}],"isBlockCoverage":true},{"functionName":"describeAny","ranges":[{"startOffset":5459,"endOffset":5595,"count":232},{"startOffset":5551,"endOffset":5563,"count":192},{"startOffset":5570,"endOffset":5591,"count":40}],"isBlockCoverage":true},{"functionName":"describeProperty","ranges":[{"startOffset":5624,"endOffset":5904,"count":216},{"startOffset":5755,"endOffset":5825,"count":176},{"startOffset":5832,"endOffset":5900,"count":40}],"isBlockCoverage":true}]},{"scriptId":"361","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Registry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"Registry","ranges":[{"startOffset":33,"endOffset":103,"count":8}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":107,"endOffset":155,"count":48}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":159,"endOffset":218,"count":0}],"isBlockCoverage":false},{"functionName":"alloc","ranges":[{"startOffset":222,"endOffset":374,"count":48}],"isBlockCoverage":true}]},{"scriptId":"362","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":409,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":652,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1160,"endOffset":1382,"count":0}],"isBlockCoverage":false}]},{"scriptId":"363","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7185,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":436,"endOffset":713,"count":48},{"startOffset":677,"endOffset":697,"count":40}],"isBlockCoverage":true},{"functionName":"deserialize","ranges":[{"startOffset":743,"endOffset":839,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectValue","ranges":[{"startOffset":950,"endOffset":1203,"count":48}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":1207,"endOffset":1399,"count":44},{"startOffset":1263,"endOffset":1277,"count":0},{"startOffset":1356,"endOffset":1370,"count":0}],"isBlockCoverage":true},{"functionName":"hasSameCtor","ranges":[{"startOffset":1403,"endOffset":1470,"count":44}],"isBlockCoverage":true},{"functionName":"formatShallow","ranges":[{"startOffset":1474,"endOffset":1561,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1565,"endOffset":1699,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":2001,"endOffset":6371,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2068,"endOffset":2433,"count":48}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":2439,"endOffset":2563,"count":44},{"startOffset":2511,"endOffset":2523,"count":0}],"isBlockCoverage":true},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2569,"endOffset":3030,"count":48},{"startOffset":2660,"endOffset":2679,"count":8},{"startOffset":2680,"endOffset":2683,"count":40},{"startOffset":2742,"endOffset":2776,"count":8},{"startOffset":2776,"endOffset":3029,"count":40}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":2817,"endOffset":2995,"count":256},{"startOffset":2853,"endOffset":2864,"count":40},{"startOffset":2864,"endOffset":2994,"count":216}],"isBlockCoverage":true},{"functionName":"createListRecursor","ranges":[{"startOffset":3036,"endOffset":3472,"count":48},{"startOffset":3084,"endOffset":3118,"count":40},{"startOffset":3118,"endOffset":3179,"count":8},{"startOffset":3179,"endOffset":3213,"count":0},{"startOffset":3213,"endOffset":3471,"count":8}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":3254,"endOffset":3437,"count":24},{"startOffset":3290,"endOffset":3301,"count":8},{"startOffset":3301,"endOffset":3436,"count":16}],"isBlockCoverage":true},{"functionName":"createIterableRecursor","ranges":[{"startOffset":3478,"endOffset":4494,"count":48},{"startOffset":3529,"endOffset":3548,"count":40},{"startOffset":3584,"endOffset":4493,"count":0}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":3917,"endOffset":4459,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":4500,"endOffset":6365,"count":48}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4661,"endOffset":6359,"count":328},{"startOffset":4706,"endOffset":6283,"count":424},{"startOffset":4741,"endOffset":4870,"count":376},{"startOffset":4813,"endOffset":4858,"count":144},{"startOffset":4907,"endOffset":4967,"count":192},{"startOffset":4925,"endOffset":4945,"count":144},{"startOffset":4946,"endOffset":4966,"count":96},{"startOffset":4969,"endOffset":6273,"count":144},{"startOffset":5044,"endOffset":5417,"count":48},{"startOffset":5324,"endOffset":5403,"count":8},{"startOffset":5417,"endOffset":6261,"count":96},{"startOffset":5446,"endOffset":5839,"count":48},{"startOffset":5742,"endOffset":5825,"count":40},{"startOffset":5839,"endOffset":6261,"count":48},{"startOffset":6164,"endOffset":6247,"count":0},{"startOffset":6309,"endOffset":6327,"count":376}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5112,"endOffset":5143,"count":48}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5518,"endOffset":5553,"count":48}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5940,"endOffset":5975,"count":48}],"isBlockCoverage":true},{"functionName":"DeserializedMixin","ranges":[{"startOffset":6413,"endOffset":7138,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6483,"endOffset":6780,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":6786,"endOffset":7055,"count":0}],"isBlockCoverage":false},{"functionName":"hasSameCtor","ranges":[{"startOffset":7061,"endOffset":7132,"count":0}],"isBlockCoverage":false}]},{"scriptId":"364","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/formatUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3260,"count":1}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":60,"endOffset":146,"count":0}],"isBlockCoverage":false},{"functionName":"formatCtorAndStringTag","ranges":[{"startOffset":168,"endOffset":537,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectFormatter","ranges":[{"startOffset":621,"endOffset":840,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":844,"endOffset":1189,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":1193,"endOffset":1873,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":1877,"endOffset":2161,"count":0}],"isBlockCoverage":false},{"functionName":"shouldFormat","ranges":[{"startOffset":2165,"endOffset":2202,"count":0}],"isBlockCoverage":false},{"functionName":"customize","ranges":[{"startOffset":2206,"endOffset":2502,"count":0}],"isBlockCoverage":false},{"functionName":"SingleValueFormatter","ranges":[{"startOffset":2579,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2790,"endOffset":2961,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":2965,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":3120,"endOffset":3205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"365","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/lineBuilder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7155,"count":1}],"isBlockCoverage":true},{"functionName":"translateGutter","ranges":[{"startOffset":123,"endOffset":485,"count":0}],"isBlockCoverage":false},{"functionName":"Line","ranges":[{"startOffset":502,"endOffset":670,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":674,"endOffset":717,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":721,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":762,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":820,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":884,"endOffset":934,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":938,"endOffset":1027,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":1031,"endOffset":1202,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":1206,"endOffset":1479,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":1483,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":1634,"endOffset":1783,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":1787,"endOffset":1871,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":1875,"endOffset":1960,"count":0}],"isBlockCoverage":false},{"functionName":"Collection","ranges":[{"startOffset":2050,"endOffset":2091,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2095,"endOffset":2217,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":2221,"endOffset":2277,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":2281,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":2399,"endOffset":2526,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2530,"endOffset":2632,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":2636,"endOffset":2725,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2729,"endOffset":3536,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":3540,"endOffset":4287,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":4291,"endOffset":4423,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":4427,"endOffset":4561,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":4565,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":4675,"endOffset":5381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":5462,"endOffset":5708,"count":0}],"isBlockCoverage":false},{"functionName":"buffer","ranges":[{"startOffset":5731,"endOffset":5774,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":5779,"endOffset":5856,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":5861,"endOffset":5937,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":5942,"endOffset":6019,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6024,"endOffset":6101,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6106,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6194,"endOffset":6277,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6284,"endOffset":6366,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6373,"endOffset":6456,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6463,"endOffset":6546,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6553,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6678,"endOffset":6763,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6770,"endOffset":6854,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6861,"endOffset":6946,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6953,"endOffset":7038,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":7045,"endOffset":7146,"count":0}],"isBlockCoverage":false}]},{"scriptId":"366","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getObjectKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":964,"count":1}],"isBlockCoverage":true},{"functionName":"getObjectKeys","ranges":[{"startOffset":14,"endOffset":932,"count":48},{"startOffset":430,"endOffset":756,"count":240},{"startOffset":503,"endOffset":644,"count":24},{"startOffset":578,"endOffset":590,"count":16},{"startOffset":591,"endOffset":638,"count":16},{"startOffset":661,"endOffset":717,"count":224},{"startOffset":719,"endOffset":752,"count":216},{"startOffset":799,"endOffset":905,"count":0}],"isBlockCoverage":true}]},{"scriptId":"367","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/hasLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":303,"count":1}],"isBlockCoverage":true},{"functionName":"hasLength","ranges":[{"startOffset":104,"endOffset":275,"count":40},{"startOffset":197,"endOffset":226,"count":0},{"startOffset":227,"endOffset":268,"count":0}],"isBlockCoverage":true}]},{"scriptId":"368","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":802,"count":1}],"isBlockCoverage":true},{"functionName":"isLength","ranges":[{"startOffset":645,"endOffset":773,"count":0}],"isBlockCoverage":false}]},{"scriptId":"369","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/stats.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3836,"count":1}],"isBlockCoverage":true},{"functionName":"describeIterableRecursor","ranges":[{"startOffset":228,"endOffset":318,"count":0}],"isBlockCoverage":false},{"functionName":"describeListRecursor","ranges":[{"startOffset":380,"endOffset":462,"count":8}],"isBlockCoverage":true},{"functionName":"describePropertyRecursor","ranges":[{"startOffset":516,"endOffset":606,"count":40}],"isBlockCoverage":true},{"functionName":"deserializeIterableStats","ranges":[{"startOffset":668,"endOffset":745,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeListStats","ranges":[{"startOffset":807,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePropertyStats","ranges":[{"startOffset":930,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":1306,"endOffset":1351,"count":48}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":1355,"endOffset":1432,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1436,"endOffset":2989,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2993,"endOffset":3032,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3141,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3387,"endOffset":3513,"count":4},{"startOffset":3500,"endOffset":3509,"count":0}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":3625,"endOffset":3755,"count":20},{"startOffset":3742,"endOffset":3751,"count":0}],"isBlockCoverage":true}]},{"scriptId":"370","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/recursorUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2251,"count":1}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":51,"endOffset":74,"count":96}],"isBlockCoverage":true},{"functionName":"fork","ranges":[{"startOffset":117,"endOffset":396,"count":0}],"isBlockCoverage":false},{"functionName":"consumeDeep","ranges":[{"startOffset":418,"endOffset":732,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":768,"endOffset":910,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":930,"endOffset":1606,"count":144},{"startOffset":1046,"endOffset":1076,"count":96},{"startOffset":1076,"endOffset":1179,"count":48},{"startOffset":1216,"endOffset":1249,"count":96},{"startOffset":1249,"endOffset":1605,"count":48}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":1301,"endOffset":1546,"count":280},{"startOffset":1323,"endOffset":1334,"count":0},{"startOffset":1499,"endOffset":1524,"count":48}],"isBlockCoverage":true},{"functionName":"sequence","ranges":[{"startOffset":1632,"endOffset":1850,"count":0}],"isBlockCoverage":false},{"functionName":"singleValue","ranges":[{"startOffset":1880,"endOffset":2012,"count":40}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1939,"endOffset":2010,"count":80},{"startOffset":1961,"endOffset":2009,"count":40}],"isBlockCoverage":true},{"functionName":"unshift","ranges":[{"startOffset":2048,"endOffset":2224,"count":0}],"isBlockCoverage":false}]},{"scriptId":"371","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":970,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":313,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":343,"endOffset":444,"count":0}],"isBlockCoverage":false}]},{"scriptId":"372","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/typedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4439,"count":1}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":382,"endOffset":596,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":628,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":910,"endOffset":1010,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeBytes","ranges":[{"startOffset":1046,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"Bytes","ranges":[{"startOffset":1292,"endOffset":1343,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1347,"endOffset":1482,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1486,"endOffset":2297,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2301,"endOffset":2342,"count":0}],"isBlockCoverage":false},{"functionName":"TypedArrayValue","ranges":[{"startOffset":2466,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":2543,"endOffset":2931,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":3049,"endOffset":3869,"count":3}],"isBlockCoverage":true},{"functionName":"createListRecursor","ranges":[{"startOffset":3237,"endOffset":3307,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":3313,"endOffset":3749,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":3755,"endOffset":3863,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMixin","ranges":[{"startOffset":3977,"endOffset":4320,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4073,"endOffset":4314,"count":0}],"isBlockCoverage":false}]},{"scriptId":"373","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/boxed.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1292,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":264,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedBoxedValue","ranges":[{"startOffset":634,"endOffset":709,"count":0}],"isBlockCoverage":false},{"functionName":"createListRecursor","ranges":[{"startOffset":713,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":783,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1126,"endOffset":1220,"count":0}],"isBlockCoverage":false}]},{"scriptId":"374","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11430,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":306,"endOffset":367,"count":284}],"isBlockCoverage":true},{"functionName":"basicEscape","ranges":[{"startOffset":707,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"escapeLinebreak","ranges":[{"startOffset":1015,"endOffset":1219,"count":0}],"isBlockCoverage":false},{"functionName":"themeControlPictures","ranges":[{"startOffset":1221,"endOffset":1442,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuotes","ranges":[{"startOffset":1537,"endOffset":1834,"count":0}],"isBlockCoverage":false},{"functionName":"includesLinebreaks","ranges":[{"startOffset":1836,"endOffset":1932,"count":0}],"isBlockCoverage":false},{"functionName":"diffLine","ranges":[{"startOffset":1934,"endOffset":3826,"count":0}],"isBlockCoverage":false},{"functionName":"gatherLines","ranges":[{"startOffset":3862,"endOffset":4170,"count":0}],"isBlockCoverage":false},{"functionName":"StringValue","ranges":[{"startOffset":4194,"endOffset":4242,"count":284}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":4246,"endOffset":4370,"count":142},{"startOffset":4357,"endOffset":4366,"count":0}],"isBlockCoverage":true},{"functionName":"get includesLinebreaks","ranges":[{"startOffset":4374,"endOffset":4447,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4451,"endOffset":5422,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":5426,"endOffset":5800,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5804,"endOffset":11238,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":11242,"endOffset":11282,"count":0}],"isBlockCoverage":false}]},{"scriptId":"375","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1334,"endOffset":1486,"count":1}],"isBlockCoverage":true}]},{"scriptId":"376","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/ast.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4728,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":4687,"count":1}],"isBlockCoverage":true},{"functionName":"isExpression","ranges":[{"startOffset":1370,"endOffset":2121,"count":0}],"isBlockCoverage":false},{"functionName":"isIterationStatement","ranges":[{"startOffset":2127,"endOffset":2444,"count":0}],"isBlockCoverage":false},{"functionName":"isStatement","ranges":[{"startOffset":2450,"endOffset":3262,"count":0}],"isBlockCoverage":false},{"functionName":"isSourceElement","ranges":[{"startOffset":3268,"endOffset":3393,"count":0}],"isBlockCoverage":false},{"functionName":"trailingStatement","ranges":[{"startOffset":3399,"endOffset":3843,"count":0}],"isBlockCoverage":false},{"functionName":"isProblematicIfStatement","ranges":[{"startOffset":3849,"endOffset":4384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"377","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/code.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29610,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1391,"endOffset":29569,"count":1},{"startOffset":27989,"endOffset":28199,"count":128},{"startOffset":28045,"endOffset":28058,"count":31},{"startOffset":28059,"endOffset":28107,"count":102},{"startOffset":28094,"endOffset":28107,"count":37},{"startOffset":28108,"endOffset":28143,"count":76},{"startOffset":28144,"endOffset":28158,"count":75},{"startOffset":28273,"endOffset":28531,"count":128},{"startOffset":28328,"endOffset":28341,"count":31},{"startOffset":28342,"endOffset":28390,"count":102},{"startOffset":28377,"endOffset":28390,"count":37},{"startOffset":28391,"endOffset":28439,"count":76},{"startOffset":28426,"endOffset":28439,"count":28},{"startOffset":28440,"endOffset":28475,"count":66},{"startOffset":28476,"endOffset":28490,"count":65}],"isBlockCoverage":true},{"functionName":"isDecimalDigit","ranges":[{"startOffset":26641,"endOffset":26726,"count":0}],"isBlockCoverage":false},{"functionName":"isHexDigit","ranges":[{"startOffset":26732,"endOffset":26919,"count":0}],"isBlockCoverage":false},{"functionName":"isOctalDigit","ranges":[{"startOffset":26925,"endOffset":27008,"count":0}],"isBlockCoverage":false},{"functionName":"isWhiteSpace","ranges":[{"startOffset":27243,"endOffset":27434,"count":0}],"isBlockCoverage":false},{"functionName":"isLineTerminator","ranges":[{"startOffset":27469,"endOffset":27583,"count":0}],"isBlockCoverage":false},{"functionName":"fromCodePoint","ranges":[{"startOffset":27634,"endOffset":27914,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES5","ranges":[{"startOffset":28537,"endOffset":28686,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES5","ranges":[{"startOffset":28692,"endOffset":28838,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES6","ranges":[{"startOffset":28844,"endOffset":28993,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES6","ranges":[{"startOffset":28999,"endOffset":29145,"count":0}],"isBlockCoverage":false}]},{"scriptId":"378","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/keyword.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5616,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":5575,"count":1}],"isBlockCoverage":true},{"functionName":"isStrictModeReservedWordES6","ranges":[{"startOffset":1405,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES5","ranges":[{"startOffset":1752,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES6","ranges":[{"startOffset":1990,"endOffset":3218,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES5","ranges":[{"startOffset":3224,"endOffset":3363,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES6","ranges":[{"startOffset":3369,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"isRestrictedWord","ranges":[{"startOffset":3514,"endOffset":3603,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES5","ranges":[{"startOffset":3609,"endOffset":4045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeUtf16","ranges":[{"startOffset":4051,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES6","ranges":[{"startOffset":4167,"endOffset":4903,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES5","ranges":[{"startOffset":4909,"endOffset":5027,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES6","ranges":[{"startOffset":5033,"endOffset":5151,"count":0}],"isBlockCoverage":false}]},{"scriptId":"379","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-diff/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":38838,"count":1}],"isBlockCoverage":true},{"functionName":"diff_main","ranges":[{"startOffset":1622,"endOffset":2855,"count":0}],"isBlockCoverage":false},{"functionName":"diff_compute_","ranges":[{"startOffset":3117,"endOffset":4721,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisect_","ranges":[{"startOffset":5070,"endOffset":8602,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisectSplit_","ranges":[{"startOffset":8946,"endOffset":9292,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonPrefix","ranges":[{"startOffset":9516,"endOffset":10360,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonOverlap_","ranges":[{"startOffset":10654,"endOffset":11835,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonSuffix","ranges":[{"startOffset":12050,"endOffset":12955,"count":0}],"isBlockCoverage":false},{"functionName":"diff_halfMatch_","ranges":[{"startOffset":13397,"endOffset":16552,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemantic","ranges":[{"startOffset":16712,"endOffset":21136,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemanticLossless","ranges":[{"startOffset":21599,"endOffset":25878,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupMerge","ranges":[{"startOffset":26143,"endOffset":33884,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_start","ranges":[{"startOffset":33886,"endOffset":33983,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_end","ranges":[{"startOffset":33985,"endOffset":34080,"count":0}],"isBlockCoverage":false},{"functionName":"starts_with_pair_end","ranges":[{"startOffset":34082,"endOffset":34171,"count":0}],"isBlockCoverage":false},{"functionName":"ends_with_pair_start","ranges":[{"startOffset":34173,"endOffset":34277,"count":0}],"isBlockCoverage":false},{"functionName":"remove_empty_tuples","ranges":[{"startOffset":34279,"endOffset":34465,"count":0}],"isBlockCoverage":false},{"functionName":"make_edit_splice","ranges":[{"startOffset":34467,"endOffset":34771,"count":0}],"isBlockCoverage":false},{"functionName":"find_cursor_edit_diff","ranges":[{"startOffset":34773,"endOffset":38521,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":38523,"endOffset":38733,"count":0}],"isBlockCoverage":false}]},{"scriptId":"380","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/dataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":949,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":319,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":349,"endOffset":447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"381","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/date.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2613,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":304,"endOffset":471,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":501,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"formatDate","ranges":[{"startOffset":682,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"DateValue","ranges":[{"startOffset":993,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1072,"endOffset":1333,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1337,"endOffset":2118,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2122,"endOffset":2253,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedDateValue","ranges":[{"startOffset":2460,"endOffset":2610,"count":0}],"isBlockCoverage":false}]},{"scriptId":"382","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/date-time/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":831,"count":1}],"isBlockCoverage":true},{"functionName":"dateTime","ranges":[{"startOffset":71,"endOffset":718,"count":0}],"isBlockCoverage":false}]},{"scriptId":"383","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/time-zone/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":343,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"384","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3605,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":331,"endOffset":608,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":638,"endOffset":733,"count":0}],"isBlockCoverage":false},{"functionName":"ErrorValue","ranges":[{"startOffset":869,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":942,"endOffset":1082,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1086,"endOffset":2193,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2197,"endOffset":2257,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedErrorValue","ranges":[{"startOffset":2400,"endOffset":2583,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2587,"endOffset":3430,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedErrorValue","ranges":[{"startOffset":3512,"endOffset":3602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"385","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/isEnumerable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":171,"count":1}],"isBlockCoverage":true},{"functionName":"isEnumerable","ranges":[{"startOffset":14,"endOffset":140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"386","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3272,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":377,"endOffset":600,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":630,"endOffset":728,"count":0}],"isBlockCoverage":false},{"functionName":"FunctionValue","ranges":[{"startOffset":870,"endOffset":939,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":943,"endOffset":1706,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedFunctionValue","ranges":[{"startOffset":1858,"endOffset":1951,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1955,"endOffset":2203,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2207,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2749,"endOffset":2809,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedFunctionValue","ranges":[{"startOffset":2897,"endOffset":2987,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2991,"endOffset":3205,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3209,"endOffset":3269,"count":0}],"isBlockCoverage":false}]},{"scriptId":"387","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":822,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":275,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":412,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":512,"endOffset":676,"count":0}],"isBlockCoverage":false}]},{"scriptId":"388","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1845,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"MapValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1028,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1032,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1229,"endOffset":1674,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMapValue","ranges":[{"startOffset":1752,"endOffset":1842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"389","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1054,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":167,"endOffset":238,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":268,"endOffset":345,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":630,"endOffset":830,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":916,"endOffset":1051,"count":0}],"isBlockCoverage":false}]},{"scriptId":"390","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2733,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":219,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":432,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"getSortedFlags","ranges":[{"startOffset":617,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"RegexpValue","ranges":[{"startOffset":824,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":930,"endOffset":1107,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1111,"endOffset":2317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2321,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedRegexpValue","ranges":[{"startOffset":2612,"endOffset":2730,"count":0}],"isBlockCoverage":false}]},{"scriptId":"391","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1815,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"SetValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1030,"endOffset":1090,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1227,"endOffset":1644,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSetValue","ranges":[{"startOffset":1722,"endOffset":1812,"count":0}],"isBlockCoverage":false}]},{"scriptId":"392","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getCtor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1275,"count":1}],"isBlockCoverage":true},{"functionName":"getCtor","ranges":[{"startOffset":59,"endOffset":1249,"count":48},{"startOffset":234,"endOffset":240,"count":0},{"startOffset":244,"endOffset":1248,"count":0}],"isBlockCoverage":true}]},{"scriptId":"393","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getStringTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":721,"count":1},{"startOffset":467,"endOffset":720,"count":0}],"isBlockCoverage":true},{"functionName":"getStringTag","ranges":[{"startOffset":51,"endOffset":121,"count":49}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":225,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"getStringTagWithPromiseWorkaround","ranges":[{"startOffset":519,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"394","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/item.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7816,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":228,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeComplex","ranges":[{"startOffset":354,"endOffset":469,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":519,"endOffset":605,"count":16}],"isBlockCoverage":true},{"functionName":"deserializePrimitive","ranges":[{"startOffset":653,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexItem","ranges":[{"startOffset":1017,"endOffset":1095,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1099,"endOffset":1171,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1175,"endOffset":1330,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1334,"endOffset":1719,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1723,"endOffset":4317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":4321,"endOffset":4361,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveItem","ranges":[{"startOffset":4536,"endOffset":4614,"count":16}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":4618,"endOffset":4775,"count":8},{"startOffset":4762,"endOffset":4771,"count":0}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":4779,"endOffset":5334,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":5338,"endOffset":6853,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":6857,"endOffset":7602,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7606,"endOffset":7660,"count":0}],"isBlockCoverage":false}]},{"scriptId":"395","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/mapEntry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7305,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":318,"endOffset":585,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":615,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithKey","ranges":[{"startOffset":974,"endOffset":1422,"count":0}],"isBlockCoverage":false},{"functionName":"MapEntry","ranges":[{"startOffset":1443,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1639,"endOffset":1916,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1920,"endOffset":2399,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":2403,"endOffset":3004,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3008,"endOffset":3349,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":3353,"endOffset":4200,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":4204,"endOffset":7086,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7090,"endOffset":7164,"count":0}],"isBlockCoverage":false}]},{"scriptId":"396","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/themeUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5251,"count":1}],"isBlockCoverage":true},{"functionName":"freezeTheme","ranges":[{"startOffset":151,"endOffset":490,"count":1},{"startOffset":233,"endOffset":472,"count":42},{"startOffset":338,"endOffset":468,"count":120},{"startOffset":397,"endOffset":425,"count":118},{"startOffset":427,"endOffset":462,"count":41}],"isBlockCoverage":true},{"functionName":"normalizePlugins","ranges":[{"startOffset":2413,"endOffset":3165,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":3205,"endOffset":4082,"count":0}],"isBlockCoverage":false},{"functionName":"addModifier","ranges":[{"startOffset":4146,"endOffset":4338,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiers","ranges":[{"startOffset":4446,"endOffset":5020,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiersToOriginal","ranges":[{"startOffset":5062,"endOffset":5190,"count":0}],"isBlockCoverage":false}]},{"scriptId":"397","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/cloneDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":679,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDeep","ranges":[{"startOffset":555,"endOffset":649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"398","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseClone.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5609,"count":1}],"isBlockCoverage":true},{"functionName":"baseClone","ranges":[{"startOffset":3399,"endOffset":5579,"count":0}],"isBlockCoverage":false}]},{"scriptId":"399","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Stack.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":734,"count":1}],"isBlockCoverage":true},{"functionName":"Stack","ranges":[{"startOffset":402,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"400","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_ListCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"ListCache","ranges":[{"startOffset":376,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"401","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":218,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheClear","ranges":[{"startOffset":115,"endOffset":183,"count":0}],"isBlockCoverage":false}]},{"scriptId":"402","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":775,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheDelete","ranges":[{"startOffset":440,"endOffset":739,"count":0}],"isBlockCoverage":false}]},{"scriptId":"403","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assocIndexOf.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":487,"count":1}],"isBlockCoverage":true},{"functionName":"assocIndexOf","ranges":[{"startOffset":286,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"404","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":799,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":681,"endOffset":776,"count":0}],"isBlockCoverage":false}]},{"scriptId":"405","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":420,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheGet","ranges":[{"startOffset":240,"endOffset":387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"406","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheHas","ranges":[{"startOffset":292,"endOffset":370,"count":0}],"isBlockCoverage":false}]},{"scriptId":"407","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":553,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheSet","ranges":[{"startOffset":292,"endOffset":520,"count":0}],"isBlockCoverage":false}]},{"scriptId":"408","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":254,"count":1}],"isBlockCoverage":true},{"functionName":"stackClear","ranges":[{"startOffset":148,"endOffset":223,"count":0}],"isBlockCoverage":false}]},{"scriptId":"409","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":405,"count":1}],"isBlockCoverage":true},{"functionName":"stackDelete","ranges":[{"startOffset":237,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"410","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":271,"count":1}],"isBlockCoverage":true},{"functionName":"stackGet","ranges":[{"startOffset":183,"endOffset":242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"411","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":323,"count":1}],"isBlockCoverage":true},{"functionName":"stackHas","ranges":[{"startOffset":235,"endOffset":294,"count":0}],"isBlockCoverage":false}]},{"scriptId":"412","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":853,"count":1}],"isBlockCoverage":true},{"functionName":"stackSet","ranges":[{"startOffset":436,"endOffset":824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"413","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"414","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"getNative","ranges":[{"startOffset":331,"endOffset":453,"count":7},{"startOffset":439,"endOffset":450,"count":0}],"isBlockCoverage":true}]},{"scriptId":"415","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1417,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsNative","ranges":[{"startOffset":1182,"endOffset":1384,"count":7},{"startOffset":1256,"endOffset":1279,"count":0},{"startOffset":1327,"endOffset":1341,"count":0}],"isBlockCoverage":true}]},{"scriptId":"416","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isFunction.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":993,"count":1}],"isBlockCoverage":true},{"functionName":"isFunction","ranges":[{"startOffset":617,"endOffset":962,"count":7},{"startOffset":670,"endOffset":693,"count":0},{"startOffset":905,"endOffset":921,"count":0},{"startOffset":922,"endOffset":940,"count":0},{"startOffset":941,"endOffset":959,"count":0}],"isBlockCoverage":true}]},{"scriptId":"417","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":792,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true},{"functionName":"baseGetTag","ranges":[{"startOffset":534,"endOffset":761,"count":13},{"startOffset":584,"endOffset":646,"count":0},{"startOffset":712,"endOffset":730,"count":5},{"startOffset":735,"endOffset":758,"count":8}],"isBlockCoverage":true}]},{"scriptId":"418","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true}]},{"scriptId":"419","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_root.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":300,"count":1},{"startOffset":119,"endOffset":126,"count":0},{"startOffset":127,"endOffset":152,"count":0},{"startOffset":153,"endOffset":160,"count":0},{"startOffset":234,"endOffset":245,"count":0},{"startOffset":246,"endOffset":274,"count":0}],"isBlockCoverage":true}]},{"scriptId":"420","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_freeGlobal.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":173,"count":1}],"isBlockCoverage":true}]},{"scriptId":"421","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getRawTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1139,"count":1},{"startOffset":488,"endOffset":499,"count":0}],"isBlockCoverage":true},{"functionName":"getRawTag","ranges":[{"startOffset":701,"endOffset":1109,"count":5},{"startOffset":899,"endOffset":911,"count":0},{"startOffset":995,"endOffset":1037,"count":0}],"isBlockCoverage":true}]},{"scriptId":"422","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_objectToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":565,"count":1}],"isBlockCoverage":true},{"functionName":"objectToString","ranges":[{"startOffset":453,"endOffset":530,"count":8}],"isBlockCoverage":true}]},{"scriptId":"423","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":733,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":581,"endOffset":704,"count":14}],"isBlockCoverage":true}]},{"scriptId":"424","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isMasked.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":564,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":116,"endOffset":268,"count":1},{"startOffset":166,"endOffset":184,"count":0},{"startOffset":185,"endOffset":212,"count":0},{"startOffset":234,"endOffset":260,"count":0}],"isBlockCoverage":true},{"functionName":"isMasked","ranges":[{"startOffset":461,"endOffset":535,"count":7},{"startOffset":509,"endOffset":532,"count":0}],"isBlockCoverage":true}]},{"scriptId":"425","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_coreJsData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":157,"count":1}],"isBlockCoverage":true}]},{"scriptId":"426","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_toSource.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":556,"count":1}],"isBlockCoverage":true},{"functionName":"toSource","ranges":[{"startOffset":339,"endOffset":527,"count":12},{"startOffset":441,"endOffset":508,"count":0},{"startOffset":512,"endOffset":526,"count":0}],"isBlockCoverage":true}]},{"scriptId":"427","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":325,"count":1}],"isBlockCoverage":true},{"functionName":"getValue","ranges":[{"startOffset":211,"endOffset":296,"count":7},{"startOffset":268,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"428","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_MapCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"MapCache","ranges":[{"startOffset":389,"endOffset":606,"count":0}],"isBlockCoverage":false}]},{"scriptId":"429","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":393,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheClear","ranges":[{"startOffset":209,"endOffset":359,"count":0}],"isBlockCoverage":false}]},{"scriptId":"430","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Hash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"Hash","ranges":[{"startOffset":319,"endOffset":532,"count":0}],"isBlockCoverage":false}]},{"scriptId":"431","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":281,"count":1}],"isBlockCoverage":true},{"functionName":"hashClear","ranges":[{"startOffset":152,"endOffset":251,"count":0}],"isBlockCoverage":false}]},{"scriptId":"432","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":187,"count":1}],"isBlockCoverage":true}]},{"scriptId":"433","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":445,"count":1}],"isBlockCoverage":true},{"functionName":"hashDelete","ranges":[{"startOffset":279,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"434","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"hashGet","ranges":[{"startOffset":513,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"435","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":626,"count":1}],"isBlockCoverage":true},{"functionName":"hashHas","ranges":[{"startOffset":461,"endOffset":598,"count":0}],"isBlockCoverage":false}]},{"scriptId":"436","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"hashSet","ranges":[{"startOffset":379,"endOffset":570,"count":0}],"isBlockCoverage":false}]},{"scriptId":"437","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheDelete","ranges":[{"startOffset":282,"endOffset":415,"count":0}],"isBlockCoverage":false}]},{"scriptId":"438","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getMapData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":400,"count":1}],"isBlockCoverage":true},{"functionName":"getMapData","ranges":[{"startOffset":214,"endOffset":369,"count":0}],"isBlockCoverage":false}]},{"scriptId":"439","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isKeyable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":430,"count":1}],"isBlockCoverage":true},{"functionName":"isKeyable","ranges":[{"startOffset":201,"endOffset":400,"count":0}],"isBlockCoverage":false}]},{"scriptId":"440","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":330,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheGet","ranges":[{"startOffset":228,"endOffset":298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"441","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheHas","ranges":[{"startOffset":280,"endOffset":350,"count":0}],"isBlockCoverage":false}]},{"scriptId":"442","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":489,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheSet","ranges":[{"startOffset":279,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"443","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayEach.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":537,"count":1}],"isBlockCoverage":true},{"functionName":"arrayEach","ranges":[{"startOffset":274,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"444","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":899,"count":1}],"isBlockCoverage":true},{"functionName":"assignValue","ranges":[{"startOffset":629,"endOffset":867,"count":0}],"isBlockCoverage":false}]},{"scriptId":"445","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":625,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignValue","ranges":[{"startOffset":314,"endOffset":589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"446","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_defineProperty.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":64,"endOffset":194,"count":1},{"startOffset":180,"endOffset":192,"count":0}],"isBlockCoverage":true}]},{"scriptId":"447","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssign.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssign","ranges":[{"startOffset":339,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"448","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1044,"count":1}],"isBlockCoverage":true},{"functionName":"copyObject","ranges":[{"startOffset":467,"endOffset":1013,"count":0}],"isBlockCoverage":false}]},{"scriptId":"449","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":884,"count":1}],"isBlockCoverage":true},{"functionName":"keys","ranges":[{"startOffset":761,"endOffset":859,"count":0}],"isBlockCoverage":false}]},{"scriptId":"450","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayLikeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1778,"count":1}],"isBlockCoverage":true},{"functionName":"arrayLikeKeys","ranges":[{"startOffset":697,"endOffset":1744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"451","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseTimes.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":504,"count":1}],"isBlockCoverage":true},{"functionName":"baseTimes","ranges":[{"startOffset":313,"endOffset":474,"count":0}],"isBlockCoverage":false}]},{"scriptId":"452","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1026,"count":1},{"startOffset":851,"endOffset":993,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":797,"endOffset":829,"count":1}],"isBlockCoverage":true},{"functionName":"isArguments","ranges":[{"startOffset":853,"endOffset":993,"count":0}],"isBlockCoverage":false}]},{"scriptId":"453","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsArguments","ranges":[{"startOffset":355,"endOffset":452,"count":1}],"isBlockCoverage":true}]},{"scriptId":"454","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObjectLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"isObjectLike","ranges":[{"startOffset":497,"endOffset":581,"count":1}],"isBlockCoverage":true}]},{"scriptId":"455","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true}]},{"scriptId":"456","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1114,"count":1},{"startOffset":548,"endOffset":559,"count":0},{"startOffset":697,"endOffset":708,"count":0},{"startOffset":1072,"endOffset":1084,"count":0}],"isBlockCoverage":true}]},{"scriptId":"457","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubFalse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":280,"count":1}],"isBlockCoverage":true},{"functionName":"stubFalse","ranges":[{"startOffset":210,"endOffset":250,"count":0}],"isBlockCoverage":false}]},{"scriptId":"458","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIndex.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":759,"count":1}],"isBlockCoverage":true},{"functionName":"isIndex","ranges":[{"startOffset":456,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"459","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":695,"count":1},{"startOffset":643,"endOffset":661,"count":0}],"isBlockCoverage":true}]},{"scriptId":"460","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2222,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsTypedArray","ranges":[{"startOffset":2050,"endOffset":2185,"count":0}],"isBlockCoverage":false}]},{"scriptId":"461","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseUnary.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":332,"count":1}],"isBlockCoverage":true},{"functionName":"baseUnary","ranges":[{"startOffset":218,"endOffset":302,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":254,"endOffset":299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"462","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nodeUtil.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":995,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":615,"endOffset":962,"count":1},{"startOffset":806,"endOffset":911,"count":0},{"startOffset":912,"endOffset":942,"count":0},{"startOffset":948,"endOffset":960,"count":0}],"isBlockCoverage":true}]},{"scriptId":"463","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":776,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeys","ranges":[{"startOffset":479,"endOffset":747,"count":0}],"isBlockCoverage":false}]},{"scriptId":"464","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":480,"count":1}],"isBlockCoverage":true},{"functionName":"isPrototype","ranges":[{"startOffset":273,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"465","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":204,"count":1}],"isBlockCoverage":true}]},{"scriptId":"466","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overArg.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"overArg","ranges":[{"startOffset":254,"endOffset":354,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":299,"endOffset":351,"count":0}],"isBlockCoverage":false}]},{"scriptId":"467","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":830,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLike","ranges":[{"startOffset":695,"endOffset":798,"count":0}],"isBlockCoverage":false}]},{"scriptId":"468","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":482,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignIn","ranges":[{"startOffset":345,"endOffset":449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"469","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":778,"count":1}],"isBlockCoverage":true},{"functionName":"keysIn","ranges":[{"startOffset":643,"endOffset":751,"count":0}],"isBlockCoverage":false}]},{"scriptId":"470","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":870,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeysIn","ranges":[{"startOffset":523,"endOffset":839,"count":0}],"isBlockCoverage":false}]},{"scriptId":"471","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":490,"count":1}],"isBlockCoverage":true},{"functionName":"nativeKeysIn","ranges":[{"startOffset":292,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"472","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1056,"count":1},{"startOffset":508,"endOffset":519,"count":0},{"startOffset":567,"endOffset":578,"count":0}],"isBlockCoverage":true},{"functionName":"cloneBuffer","ranges":[{"startOffset":783,"endOffset":1024,"count":0}],"isBlockCoverage":false}]},{"scriptId":"473","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"copyArray","ranges":[{"startOffset":219,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"474","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":446,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbols","ranges":[{"startOffset":317,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"475","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":886,"count":1},{"startOffset":624,"endOffset":635,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbols","ranges":[{"startOffset":638,"endOffset":854,"count":0}],"isBlockCoverage":false}]},{"scriptId":"476","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayFilter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":632,"count":1}],"isBlockCoverage":true},{"functionName":"arrayFilter","ranges":[{"startOffset":289,"endOffset":600,"count":0}],"isBlockCoverage":false}]},{"scriptId":"477","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":390,"count":1}],"isBlockCoverage":true},{"functionName":"stubArray","ranges":[{"startOffset":323,"endOffset":360,"count":0}],"isBlockCoverage":false}]},{"scriptId":"478","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbolsIn","ranges":[{"startOffset":335,"endOffset":436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"479","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":754,"count":1},{"startOffset":549,"endOffset":560,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbolsIn","ranges":[{"startOffset":563,"endOffset":720,"count":0}],"isBlockCoverage":false}]},{"scriptId":"480","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayPush.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":437,"count":1}],"isBlockCoverage":true},{"functionName":"arrayPush","ranges":[{"startOffset":200,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"481","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":163,"count":1}],"isBlockCoverage":true}]},{"scriptId":"482","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":455,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeys","ranges":[{"startOffset":342,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"483","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":739,"count":1}],"isBlockCoverage":true},{"functionName":"baseGetAllKeys","ranges":[{"startOffset":537,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"484","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeysIn","ranges":[{"startOffset":367,"endOffset":455,"count":0}],"isBlockCoverage":false}]},{"scriptId":"485","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1838,"count":1},{"startOffset":1296,"endOffset":1811,"count":0}],"isBlockCoverage":true},{"functionName":"getTag","ranges":[{"startOffset":1309,"endOffset":1808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"486","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_DataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true}]},{"scriptId":"487","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"488","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"489","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_WeakMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"490","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":692,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneArray","ranges":[{"startOffset":329,"endOffset":657,"count":0}],"isBlockCoverage":false}]},{"scriptId":"491","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneByTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2261,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneByTag","ranges":[{"startOffset":1454,"endOffset":2226,"count":0}],"isBlockCoverage":false}]},{"scriptId":"492","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneArrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":449,"count":1}],"isBlockCoverage":true},{"functionName":"cloneArrayBuffer","ranges":[{"startOffset":226,"endOffset":412,"count":0}],"isBlockCoverage":false}]},{"scriptId":"493","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Uint8Array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":130,"count":1}],"isBlockCoverage":true}]},{"scriptId":"494","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneDataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":507,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDataView","ranges":[{"startOffset":267,"endOffset":473,"count":0}],"isBlockCoverage":false}]},{"scriptId":"495","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneRegExp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":439,"count":1}],"isBlockCoverage":true},{"functionName":"cloneRegExp","ranges":[{"startOffset":243,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"496","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneSymbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":524,"count":1},{"startOffset":138,"endOffset":149,"count":0},{"startOffset":205,"endOffset":216,"count":0}],"isBlockCoverage":true},{"functionName":"cloneSymbol","ranges":[{"startOffset":394,"endOffset":492,"count":0}],"isBlockCoverage":false}]},{"scriptId":"497","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":527,"count":1}],"isBlockCoverage":true},{"functionName":"cloneTypedArray","ranges":[{"startOffset":275,"endOffset":491,"count":0}],"isBlockCoverage":false}]},{"scriptId":"498","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":486,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneObject","ranges":[{"startOffset":290,"endOffset":450,"count":0}],"isBlockCoverage":false}]},{"scriptId":"499","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":686,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":355,"endOffset":651,"count":1}],"isBlockCoverage":true},{"functionName":"object","ranges":[{"startOffset":370,"endOffset":390,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":400,"endOffset":648,"count":0}],"isBlockCoverage":false}]},{"scriptId":"500","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"501","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsMap","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"502","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"503","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsSet","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"504","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/merge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1220,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1115,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"505","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMerge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1328,"count":1}],"isBlockCoverage":true},{"functionName":"baseMerge","ranges":[{"startOffset":699,"endOffset":1298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"506","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignMergeValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"assignMergeValue","ranges":[{"startOffset":342,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"507","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"508","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createBaseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":648,"count":1}],"isBlockCoverage":true},{"functionName":"createBaseFor","ranges":[{"startOffset":217,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":262,"endOffset":611,"count":0}],"isBlockCoverage":false}]},{"scriptId":"509","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMergeDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3069,"count":1}],"isBlockCoverage":true},{"functionName":"baseMergeDeep","ranges":[{"startOffset":1316,"endOffset":3035,"count":0}],"isBlockCoverage":false}]},{"scriptId":"510","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLikeObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":742,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLikeObject","ranges":[{"startOffset":615,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"511","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1650,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":1229,"endOffset":1616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"512","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_safeGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":456,"count":1}],"isBlockCoverage":true},{"functionName":"safeGet","ranges":[{"startOffset":243,"endOffset":428,"count":0}],"isBlockCoverage":false}]},{"scriptId":"513","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/toPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":744,"count":1}],"isBlockCoverage":true},{"functionName":"toPlainObject","ranges":[{"startOffset":634,"endOffset":710,"count":0}],"isBlockCoverage":false}]},{"scriptId":"514","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createAssigner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1042,"count":1}],"isBlockCoverage":true},{"functionName":"createAssigner","ranges":[{"startOffset":272,"endOffset":1007,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":326,"endOffset":1003,"count":0}],"isBlockCoverage":false}]},{"scriptId":"515","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":559,"count":1}],"isBlockCoverage":true},{"functionName":"baseRest","ranges":[{"startOffset":430,"endOffset":530,"count":1}],"isBlockCoverage":true}]},{"scriptId":"516","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/identity.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"identity","ranges":[{"startOffset":297,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"517","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1096,"count":1}],"isBlockCoverage":true},{"functionName":"overRest","ranges":[{"startOffset":503,"endOffset":1067,"count":1},{"startOffset":607,"endOffset":614,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":629,"endOffset":1064,"count":0}],"isBlockCoverage":false}]},{"scriptId":"518","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_apply.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":714,"count":1}],"isBlockCoverage":true},{"functionName":"apply","ranges":[{"startOffset":374,"endOffset":688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"519","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_setToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":392,"count":1}],"isBlockCoverage":true}]},{"scriptId":"520","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseSetToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":641,"count":1},{"startOffset":412,"endOffset":422,"count":0}],"isBlockCoverage":true},{"functionName":"baseSetToString","ranges":[{"startOffset":425,"endOffset":604,"count":1}],"isBlockCoverage":true}]},{"scriptId":"521","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/constant.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":528,"count":1}],"isBlockCoverage":true},{"functionName":"constant","ranges":[{"startOffset":426,"endOffset":499,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":462,"endOffset":496,"count":0}],"isBlockCoverage":false}]},{"scriptId":"522","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_shortOut.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":941,"count":1}],"isBlockCoverage":true},{"functionName":"shortOut","ranges":[{"startOffset":534,"endOffset":912,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":609,"endOffset":909,"count":1},{"startOffset":752,"endOffset":830,"count":0}],"isBlockCoverage":true}]},{"scriptId":"523","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIterateeCall.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":877,"count":1}],"isBlockCoverage":true},{"functionName":"isIterateeCall","ranges":[{"startOffset":514,"endOffset":842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"524","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/pluginRegistry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6139,"count":1}],"isBlockCoverage":true},{"functionName":"PluginError","ranges":[{"startOffset":707,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"PluginTypeError","ranges":[{"startOffset":864,"endOffset":977,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedApiError","ranges":[{"startOffset":1031,"endOffset":1159,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedError","ranges":[{"startOffset":1210,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorTagError","ranges":[{"startOffset":1406,"endOffset":1596,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorIdError","ranges":[{"startOffset":1657,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":1949,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"modifyTheme","ranges":[{"startOffset":3525,"endOffset":3639,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":3641,"endOffset":5084,"count":0}],"isBlockCoverage":false},{"functionName":"getDeserializers","ranges":[{"startOffset":5104,"endOffset":5368,"count":0}],"isBlockCoverage":false},{"functionName":"getThemes","ranges":[{"startOffset":5414,"endOffset":5598,"count":0}],"isBlockCoverage":false},{"functionName":"getTryDescribeValues","ranges":[{"startOffset":5630,"endOffset":5734,"count":0}],"isBlockCoverage":false},{"functionName":"resolveDescriptorRef","ranges":[{"startOffset":5788,"endOffset":6086,"count":0}],"isBlockCoverage":false}]},{"scriptId":"525","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2616,"count":1}],"isBlockCoverage":true}]},{"scriptId":"526","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/re.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7690,"count":1}],"isBlockCoverage":true},{"functionName":"makeSafeRegex","ranges":[{"startOffset":950,"endOffset":1161,"count":40},{"startOffset":1015,"endOffset":1144,"count":120}],"isBlockCoverage":true},{"functionName":"createToken","ranges":[{"startOffset":1183,"endOffset":1459,"count":40},{"startOffset":1376,"endOffset":1381,"count":4},{"startOffset":1382,"endOffset":1393,"count":36},{"startOffset":1439,"endOffset":1444,"count":4},{"startOffset":1445,"endOffset":1456,"count":36}],"isBlockCoverage":true}]},{"scriptId":"527","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":859,"count":1},{"startOffset":233,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"528","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/debug.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":226,"count":1},{"startOffset":91,"endOffset":138,"count":0},{"startOffset":141,"endOffset":188,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":143,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"debug","ranges":[{"startOffset":193,"endOffset":201,"count":46}],"isBlockCoverage":true}]},{"scriptId":"529","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/semver.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8756,"count":1}],"isBlockCoverage":true},{"functionName":"SemVer","ranges":[{"startOffset":311,"endOffset":2238,"count":2},{"startOffset":416,"endOffset":621,"count":0},{"startOffset":660,"endOffset":761,"count":0},{"startOffset":800,"endOffset":900,"count":0},{"startOffset":1239,"endOffset":1252,"count":0},{"startOffset":1280,"endOffset":1344,"count":0},{"startOffset":1531,"endOffset":1589,"count":0},{"startOffset":1648,"endOffset":1706,"count":0},{"startOffset":1765,"endOffset":1823,"count":0},{"startOffset":1884,"endOffset":2170,"count":1},{"startOffset":2194,"endOffset":2211,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1970,"endOffset":2163,"count":1},{"startOffset":2137,"endOffset":2162,"count":0}],"isBlockCoverage":true},{"functionName":"format","ranges":[{"startOffset":2242,"endOffset":2438,"count":2},{"startOffset":2349,"endOffset":2410,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":2442,"endOffset":2483,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2487,"endOffset":2877,"count":0}],"isBlockCoverage":false},{"functionName":"compareMain","ranges":[{"startOffset":2881,"endOffset":3172,"count":0}],"isBlockCoverage":false},{"functionName":"comparePre","ranges":[{"startOffset":3176,"endOffset":4027,"count":0}],"isBlockCoverage":false},{"functionName":"compareBuild","ranges":[{"startOffset":4031,"endOffset":4573,"count":0}],"isBlockCoverage":false},{"functionName":"inc","ranges":[{"startOffset":4726,"endOffset":8728,"count":0}],"isBlockCoverage":false}]},{"scriptId":"530","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/parse-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":324,"count":1}],"isBlockCoverage":true},{"functionName":"parseOptions","ranges":[{"startOffset":153,"endOffset":293,"count":4},{"startOffset":208,"endOffset":292,"count":0}],"isBlockCoverage":true}]},{"scriptId":"531","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/identifiers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":410,"count":1}],"isBlockCoverage":true},{"functionName":"compareIdentifiers","ranges":[{"startOffset":54,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"rcompareIdentifiers","ranges":[{"startOffset":308,"endOffset":342,"count":0}],"isBlockCoverage":false}]},{"scriptId":"532","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":317,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":58,"endOffset":292,"count":0}],"isBlockCoverage":false}]},{"scriptId":"533","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":162,"count":1}],"isBlockCoverage":true},{"functionName":"valid","ranges":[{"startOffset":47,"endOffset":138,"count":0}],"isBlockCoverage":false}]},{"scriptId":"534","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/clean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":191,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":47,"endOffset":167,"count":0}],"isBlockCoverage":false}]},{"scriptId":"535","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/inc.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"inc","ranges":[{"startOffset":57,"endOffset":442,"count":0}],"isBlockCoverage":false}]},{"scriptId":"536","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1612,"count":1}],"isBlockCoverage":true},{"functionName":"diff","ranges":[{"startOffset":50,"endOffset":1588,"count":0}],"isBlockCoverage":false}]},{"scriptId":"537","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/major.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"major","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"538","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/minor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"minor","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"539","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/patch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"patch","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"540","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/prerelease.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":220,"count":1}],"isBlockCoverage":true},{"functionName":"prerelease","ranges":[{"startOffset":52,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"541","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":156,"count":1}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":60,"endOffset":129,"count":0}],"isBlockCoverage":false}]},{"scriptId":"542","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rcompare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"rcompare","ranges":[{"startOffset":54,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"543","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-loose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"compareLoose","ranges":[{"startOffset":58,"endOffset":87,"count":0}],"isBlockCoverage":false}]},{"scriptId":"544","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-build.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":267,"count":1}],"isBlockCoverage":true},{"functionName":"compareBuild","ranges":[{"startOffset":65,"endOffset":236,"count":0}],"isBlockCoverage":false}]},{"scriptId":"545","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/sort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":147,"count":1}],"isBlockCoverage":true},{"functionName":"sort","ranges":[{"startOffset":61,"endOffset":124,"count":0}],"isBlockCoverage":false}]},{"scriptId":"546","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rsort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":149,"count":1}],"isBlockCoverage":true},{"functionName":"rsort","ranges":[{"startOffset":62,"endOffset":125,"count":0}],"isBlockCoverage":false}]},{"scriptId":"547","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"gt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"548","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"lt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"549","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":112,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":48,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"550","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/neq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":114,"count":1}],"isBlockCoverage":true},{"functionName":"neq","ranges":[{"startOffset":49,"endOffset":92,"count":0}],"isBlockCoverage":false}]},{"scriptId":"551","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"gte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"552","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"lte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"553","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/cmp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":947,"count":1}],"isBlockCoverage":true},{"functionName":"cmp","ranges":[{"startOffset":181,"endOffset":925,"count":0}],"isBlockCoverage":false}]},{"scriptId":"554","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/coerce.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1513,"count":1}],"isBlockCoverage":true},{"functionName":"coerce","ranges":[{"startOffset":145,"endOffset":1488,"count":0}],"isBlockCoverage":false}]},{"scriptId":"555","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/comparator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3617,"count":1}],"isBlockCoverage":true},{"functionName":"get ANY","ranges":[{"startOffset":100,"endOffset":131,"count":2}],"isBlockCoverage":true},{"functionName":"Comparator","ranges":[{"startOffset":135,"endOffset":682,"count":2},{"startOffset":238,"endOffset":358,"count":0},{"startOffset":556,"endOffset":585,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":686,"endOffset":1182,"count":2},{"startOffset":734,"endOffset":757,"count":0},{"startOffset":818,"endOffset":882,"count":0},{"startOffset":930,"endOffset":934,"count":0},{"startOffset":966,"endOffset":998,"count":0},{"startOffset":1077,"endOffset":1108,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":1186,"endOffset":1225,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":1229,"endOffset":1609,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":1613,"endOffset":3323,"count":0}],"isBlockCoverage":false}]},{"scriptId":"556","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/range.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14514,"count":1}],"isBlockCoverage":true},{"functionName":"Range","ranges":[{"startOffset":55,"endOffset":2052,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2056,"endOffset":2197,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2201,"endOffset":2240,"count":0}],"isBlockCoverage":false},{"functionName":"parseRange","ranges":[{"startOffset":2244,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":4531,"endOffset":5161,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":5229,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"isNullSet","ranges":[{"startOffset":6111,"endOffset":6138,"count":0}],"isBlockCoverage":false},{"functionName":"isAny","ranges":[{"startOffset":6153,"endOffset":6172,"count":0}],"isBlockCoverage":false},{"functionName":"isSatisfiable","ranges":[{"startOffset":6294,"endOffset":6700,"count":0}],"isBlockCoverage":false},{"functionName":"parseComparator","ranges":[{"startOffset":6870,"endOffset":7183,"count":0}],"isBlockCoverage":false},{"functionName":"isX","ranges":[{"startOffset":7197,"endOffset":7248,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTildes","ranges":[{"startOffset":7584,"endOffset":7707,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTilde","ranges":[{"startOffset":7730,"endOffset":8404,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCarets","ranges":[{"startOffset":8697,"endOffset":8820,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCaret","ranges":[{"startOffset":8843,"endOffset":10145,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRanges","ranges":[{"startOffset":10170,"endOffset":10323,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRange","ranges":[{"startOffset":10347,"endOffset":12047,"count":0}],"isBlockCoverage":false},{"functionName":"replaceStars","ranges":[{"startOffset":12193,"endOffset":12378,"count":0}],"isBlockCoverage":false},{"functionName":"replaceGTE0","ranges":[{"startOffset":12400,"endOffset":12555,"count":0}],"isBlockCoverage":false},{"functionName":"hyphenReplace","ranges":[{"startOffset":12797,"endOffset":13471,"count":0}],"isBlockCoverage":false},{"functionName":"testSet","ranges":[{"startOffset":13489,"endOffset":14513,"count":0}],"isBlockCoverage":false}]},{"scriptId":"557","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lru-cache/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8186,"count":1}],"isBlockCoverage":true},{"functionName":"naiveLength","ranges":[{"startOffset":510,"endOffset":517,"count":0}],"isBlockCoverage":false},{"functionName":"LRUCache","ranges":[{"startOffset":853,"endOffset":1751,"count":1},{"startOffset":920,"endOffset":946,"count":0},{"startOffset":972,"endOffset":984,"count":0},{"startOffset":1069,"endOffset":1125,"count":0},{"startOffset":1235,"endOffset":1246,"count":0},{"startOffset":1350,"endOffset":1363,"count":0},{"startOffset":1439,"endOffset":1476,"count":0},{"startOffset":1484,"endOffset":1530,"count":0}],"isBlockCoverage":true},{"functionName":"set max","ranges":[{"startOffset":1799,"endOffset":1969,"count":0}],"isBlockCoverage":false},{"functionName":"get max","ranges":[{"startOffset":1972,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"set allowStale","ranges":[{"startOffset":2013,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"get allowStale","ranges":[{"startOffset":2086,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"set maxAge","ranges":[{"startOffset":2142,"endOffset":2300,"count":0}],"isBlockCoverage":false},{"functionName":"get maxAge","ranges":[{"startOffset":2303,"endOffset":2347,"count":0}],"isBlockCoverage":false},{"functionName":"set lengthCalculator","ranges":[{"startOffset":2408,"endOffset":2765,"count":0}],"isBlockCoverage":false},{"functionName":"get lengthCalculator","ranges":[{"startOffset":2768,"endOffset":2826,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":2830,"endOffset":2867,"count":0}],"isBlockCoverage":false},{"functionName":"get itemCount","ranges":[{"startOffset":2870,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"rforEach","ranges":[{"startOffset":2923,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":3142,"endOffset":3356,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":3360,"endOffset":3425,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":3429,"endOffset":3498,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":3502,"endOffset":3858,"count":1},{"startOffset":3535,"endOffset":3560,"count":0},{"startOffset":3561,"endOffset":3593,"count":0},{"startOffset":3595,"endOffset":3673,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3626,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"dump","ranges":[{"startOffset":3862,"endOffset":4064,"count":0}],"isBlockCoverage":false},{"functionName":"dumpLru","ranges":[{"startOffset":4068,"endOffset":4110,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4114,"endOffset":5376,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":5380,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5517,"endOffset":5564,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":5568,"endOffset":5617,"count":0}],"isBlockCoverage":false},{"functionName":"pop","ranges":[{"startOffset":5621,"endOffset":5746,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":5750,"endOffset":5801,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5805,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"prune","ranges":[{"startOffset":6382,"endOffset":6459,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6475,"endOffset":6871,"count":0}],"isBlockCoverage":false},{"functionName":"isStale","ranges":[{"startOffset":6889,"endOffset":7094,"count":0}],"isBlockCoverage":false},{"functionName":"trim","ranges":[{"startOffset":7109,"endOffset":7497,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":7511,"endOffset":7738,"count":0}],"isBlockCoverage":false},{"functionName":"Entry","ranges":[{"startOffset":7756,"endOffset":7923,"count":0}],"isBlockCoverage":false},{"functionName":"forEachStep","ranges":[{"startOffset":7947,"endOffset":8158,"count":0}],"isBlockCoverage":false}]},{"scriptId":"558","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/yallist.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8411,"count":1},{"startOffset":8397,"endOffset":8410,"count":0}],"isBlockCoverage":true},{"functionName":"Yallist","ranges":[{"startOffset":85,"endOffset":517,"count":1},{"startOffset":163,"endOffset":193,"count":0},{"startOffset":263,"endOffset":300,"count":0},{"startOffset":302,"endOffset":371,"count":0},{"startOffset":403,"endOffset":500,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":321,"endOffset":366,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.removeNode","ranges":[{"startOffset":550,"endOffset":1001,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshiftNode","ranges":[{"startOffset":1035,"endOffset":1334,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pushNode","ranges":[{"startOffset":1365,"endOffset":1664,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.push","ranges":[{"startOffset":1691,"endOffset":1814,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshift","ranges":[{"startOffset":1844,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pop","ranges":[{"startOffset":1996,"endOffset":2224,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.shift","ranges":[{"startOffset":2252,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEach","ranges":[{"startOffset":2510,"endOffset":2691,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEachReverse","ranges":[{"startOffset":2728,"endOffset":2923,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.get","ranges":[{"startOffset":2949,"endOffset":3182,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.getReverse","ranges":[{"startOffset":3215,"endOffset":3448,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.map","ranges":[{"startOffset":3474,"endOffset":3690,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.mapReverse","ranges":[{"startOffset":3723,"endOffset":3939,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduce","ranges":[{"startOffset":3968,"endOffset":4363,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduceReverse","ranges":[{"startOffset":4399,"endOffset":4808,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArray","ranges":[{"startOffset":4838,"endOffset":5018,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArrayReverse","ranges":[{"startOffset":5055,"endOffset":5235,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.slice","ranges":[{"startOffset":5263,"endOffset":5790,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.sliceReverse","ranges":[{"startOffset":5825,"endOffset":6362,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.splice","ranges":[{"startOffset":6391,"endOffset":7034,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reverse","ranges":[{"startOffset":7064,"endOffset":7322,"count":0}],"isBlockCoverage":false},{"functionName":"insert","ranges":[{"startOffset":7324,"endOffset":7643,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":7645,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":7795,"endOffset":7946,"count":0}],"isBlockCoverage":false},{"functionName":"Node","ranges":[{"startOffset":7948,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"559","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/iterator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":30,"endOffset":206,"count":1}],"isBlockCoverage":true},{"functionName":"Yallist.","ranges":[{"startOffset":90,"endOffset":204,"count":0}],"isBlockCoverage":false}]},{"scriptId":"560","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/satisfies.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"satisfies","ranges":[{"startOffset":60,"endOffset":205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"561","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/to-comparators.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":268,"count":1}],"isBlockCoverage":true},{"functionName":"toComparators","ranges":[{"startOffset":115,"endOffset":235,"count":0}],"isBlockCoverage":false}]},{"scriptId":"562","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/max-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":579,"count":1}],"isBlockCoverage":true},{"functionName":"maxSatisfying","ranges":[{"startOffset":109,"endOffset":547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"563","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"minSatisfying","ranges":[{"startOffset":108,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"564","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-version.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"minVersion","ranges":[{"startOffset":144,"endOffset":1471,"count":0}],"isBlockCoverage":false}]},{"scriptId":"565","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":312,"count":1}],"isBlockCoverage":true},{"functionName":"validRange","ranges":[{"startOffset":61,"endOffset":283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"566","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/outside.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2190,"count":1}],"isBlockCoverage":true},{"functionName":"outside","ranges":[{"startOffset":390,"endOffset":2163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"567","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/gtr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":217,"count":1}],"isBlockCoverage":true},{"functionName":"gtr","ranges":[{"startOffset":129,"endOffset":195,"count":0}],"isBlockCoverage":false}]},{"scriptId":"568","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/ltr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":213,"count":1}],"isBlockCoverage":true},{"functionName":"ltr","ranges":[{"startOffset":125,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"569","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/intersects.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true},{"functionName":"intersects","ranges":[{"startOffset":61,"endOffset":181,"count":0}],"isBlockCoverage":false}]},{"scriptId":"570","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/simplify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1341,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":329,"endOffset":1340,"count":0}],"isBlockCoverage":false}]},{"scriptId":"571","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/subset.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7510,"count":1}],"isBlockCoverage":true},{"functionName":"subset","ranges":[{"startOffset":1996,"endOffset":2727,"count":0}],"isBlockCoverage":false},{"functionName":"simpleSubset","ranges":[{"startOffset":2869,"endOffset":6974,"count":0}],"isBlockCoverage":false},{"functionName":"higherGT","ranges":[{"startOffset":7025,"endOffset":7229,"count":0}],"isBlockCoverage":false},{"functionName":"lowerLT","ranges":[{"startOffset":7280,"endOffset":7484,"count":0}],"isBlockCoverage":false}]},{"scriptId":"572","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/property.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6165,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":331,"endOffset":413,"count":40}],"isBlockCoverage":true},{"functionName":"deserializeComplex","ranges":[{"startOffset":457,"endOffset":572,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":622,"endOffset":708,"count":176}],"isBlockCoverage":true},{"functionName":"deserializePrimitive","ranges":[{"startOffset":756,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"Property","ranges":[{"startOffset":1125,"endOffset":1167,"count":216}],"isBlockCoverage":true},{"functionName":"compareKeys","ranges":[{"startOffset":1171,"endOffset":1692,"count":108},{"startOffset":1580,"endOffset":1615,"count":0},{"startOffset":1616,"endOffset":1655,"count":0},{"startOffset":1662,"endOffset":1673,"count":0}],"isBlockCoverage":true},{"functionName":"prepareDiff","ranges":[{"startOffset":1696,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexProperty","ranges":[{"startOffset":2881,"endOffset":2949,"count":40}],"isBlockCoverage":true},{"functionName":"createRecursor","ranges":[{"startOffset":2953,"endOffset":3025,"count":40}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":3029,"endOffset":3304,"count":20},{"startOffset":3088,"endOffset":3102,"count":0},{"startOffset":3187,"endOffset":3203,"count":0},{"startOffset":3291,"endOffset":3300,"count":0}],"isBlockCoverage":true},{"functionName":"formatShallow","ranges":[{"startOffset":3308,"endOffset":3811,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3815,"endOffset":3853,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveProperty","ranges":[{"startOffset":3981,"endOffset":4049,"count":176}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":4053,"endOffset":4328,"count":88},{"startOffset":4112,"endOffset":4126,"count":0},{"startOffset":4211,"endOffset":4227,"count":0},{"startOffset":4272,"endOffset":4281,"count":0}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":4332,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5018,"endOffset":6023,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6027,"endOffset":6079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"573","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2777,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":329,"endOffset":675,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":705,"endOffset":901,"count":0}],"isBlockCoverage":false},{"functionName":"SymbolValue","ranges":[{"startOffset":1012,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1115,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":1409,"endOffset":1540,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1544,"endOffset":1651,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":1655,"endOffset":1788,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1792,"endOffset":1956,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSymbolValue","ranges":[{"startOffset":2159,"endOffset":2232,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2236,"endOffset":2726,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":2730,"endOffset":2774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"574","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-string-escape/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":644,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":17,"endOffset":643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"575","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/well-known-symbols/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":800,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":672,"endOffset":689,"count":12}],"isBlockCoverage":true},{"functionName":"exports.isWellKnown","ranges":[{"startOffset":715,"endOffset":747,"count":0}],"isBlockCoverage":false},{"functionName":"exports.getLabel","ranges":[{"startOffset":767,"endOffset":799,"count":0}],"isBlockCoverage":false}]},{"scriptId":"576","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/bigInt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":906,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":714,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":718,"endOffset":758,"count":0}],"isBlockCoverage":false}]},{"scriptId":"577","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/boolean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":931,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":286,"count":124}],"isBlockCoverage":true},{"functionName":"BooleanValue","ranges":[{"startOffset":425,"endOffset":473,"count":124}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":477,"endOffset":606,"count":62},{"startOffset":593,"endOffset":602,"count":0}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":737,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":741,"endOffset":781,"count":0}],"isBlockCoverage":false}]},{"scriptId":"578","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/null.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":737,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":273,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":406,"endOffset":497,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":501,"endOffset":593,"count":0}],"isBlockCoverage":false}]},{"scriptId":"579","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/number.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":969,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"NumberValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":777,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":781,"endOffset":821,"count":0}],"isBlockCoverage":false}]},{"scriptId":"580","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/undefined.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":421,"endOffset":512,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":516,"endOffset":618,"count":0}],"isBlockCoverage":false}]},{"scriptId":"581","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/shouldCompareDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":573,"count":1}],"isBlockCoverage":true},{"functionName":"shouldCompareDeep","ranges":[{"startOffset":206,"endOffset":537,"count":44},{"startOffset":297,"endOffset":535,"count":0}],"isBlockCoverage":true}]},{"scriptId":"582","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/symbolProperties.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2759,"count":1}],"isBlockCoverage":true},{"functionName":"Comparable","ranges":[{"startOffset":247,"endOffset":348,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":352,"endOffset":533,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":537,"endOffset":1293,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1297,"endOffset":2003,"count":0}],"isBlockCoverage":false},{"functionName":"Collector","ranges":[{"startOffset":2152,"endOffset":2288,"count":0}],"isBlockCoverage":false},{"functionName":"collectAll","ranges":[{"startOffset":2292,"endOffset":2538,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2542,"endOffset":2635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"583","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13805,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":630,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"compareComplexShape","ranges":[{"startOffset":642,"endOffset":1886,"count":0}],"isBlockCoverage":false},{"functionName":"diffDescriptors","ranges":[{"startOffset":1888,"endOffset":13605,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":13649,"endOffset":13784,"count":0}],"isBlockCoverage":false}]},{"scriptId":"584","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Indenter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":360,"count":1}],"isBlockCoverage":true},{"functionName":"Indenter","ranges":[{"startOffset":33,"endOffset":144,"count":1}],"isBlockCoverage":true},{"functionName":"increase","ranges":[{"startOffset":148,"endOffset":216,"count":0}],"isBlockCoverage":false},{"functionName":"decrease","ranges":[{"startOffset":220,"endOffset":288,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":292,"endOffset":331,"count":0}],"isBlockCoverage":false}]},{"scriptId":"585","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/format.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3075,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":241,"endOffset":251,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptor","ranges":[{"startOffset":295,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2953,"endOffset":3050,"count":0}],"isBlockCoverage":false}]},{"scriptId":"586","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/serialize.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12422,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4159,"endOffset":4194,"count":31}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4241,"endOffset":4276,"count":31}],"isBlockCoverage":true},{"functionName":"DescriptorSerializationError","ranges":[{"startOffset":4333,"endOffset":4487,"count":0}],"isBlockCoverage":false},{"functionName":"MissingPluginError","ranges":[{"startOffset":4534,"endOffset":4722,"count":0}],"isBlockCoverage":false},{"functionName":"PointerLookupError","ranges":[{"startOffset":4769,"endOffset":4936,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedPluginError","ranges":[{"startOffset":4987,"endOffset":5271,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedVersion","ranges":[{"startOffset":5373,"endOffset":5576,"count":0}],"isBlockCoverage":false},{"functionName":"shallowSerializeDescriptor","ranges":[{"startOffset":5580,"endOffset":5763,"count":0}],"isBlockCoverage":false},{"functionName":"serializeState","ranges":[{"startOffset":5765,"endOffset":6401,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6403,"endOffset":8213,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeState","ranges":[{"startOffset":8245,"endOffset":8564,"count":0}],"isBlockCoverage":false},{"functionName":"shallowDeserializeDescriptor","ranges":[{"startOffset":8566,"endOffset":8761,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeRecord","ranges":[{"startOffset":8763,"endOffset":9449,"count":0}],"isBlockCoverage":false},{"functionName":"buildPluginMap","ranges":[{"startOffset":9451,"endOffset":10790,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":10792,"endOffset":12387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"587","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/md5-hex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":406,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":66,"endOffset":404,"count":0}],"isBlockCoverage":false}]},{"scriptId":"588","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9570,"count":1}],"isBlockCoverage":true},{"functionName":"encodeInteger","ranges":[{"startOffset":689,"endOffset":828,"count":0}],"isBlockCoverage":false},{"functionName":"encodeValue","ranges":[{"startOffset":830,"endOffset":3045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeValue","ranges":[{"startOffset":3047,"endOffset":5534,"count":0}],"isBlockCoverage":false},{"functionName":"buildBuffer","ranges":[{"startOffset":5536,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6160,"endOffset":7889,"count":0}],"isBlockCoverage":false},{"functionName":"decodePlugins","ranges":[{"startOffset":7915,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"decodeRecord","ranges":[{"startOffset":8465,"endOffset":9182,"count":0}],"isBlockCoverage":false},{"functionName":"extractVersion","ranges":[{"startOffset":9220,"endOffset":9288,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":9330,"endOffset":9545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"589","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/flattenDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"flattenDeep","ranges":[{"startOffset":412,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"590","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFlatten.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1201,"count":1}],"isBlockCoverage":true},{"functionName":"baseFlatten","ranges":[{"startOffset":568,"endOffset":1169,"count":0}],"isBlockCoverage":false}]},{"scriptId":"591","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isFlattenable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1},{"startOffset":208,"endOffset":219,"count":0}],"isBlockCoverage":true},{"functionName":"isFlattenable","ranges":[{"startOffset":430,"endOffset":574,"count":0}],"isBlockCoverage":false}]},{"scriptId":"592","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/pointer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":617,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":63,"endOffset":120,"count":0}],"isBlockCoverage":false},{"functionName":"Pointer","ranges":[{"startOffset":249,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":392,"endOffset":435,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":439,"endOffset":479,"count":0}],"isBlockCoverage":false}]},{"scriptId":"593","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-error/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"isError","ranges":[{"startOffset":160,"endOffset":596,"count":0}],"isBlockCoverage":false}]},{"scriptId":"594","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7961,"count":1},{"startOffset":184,"endOffset":189,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":290,"endOffset":398,"count":70}],"isBlockCoverage":true},{"functionName":"StackUtils","ranges":[{"startOffset":581,"endOffset":1041,"count":1}],"isBlockCoverage":true},{"functionName":"nodeInternals","ranges":[{"startOffset":1052,"endOffset":1099,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":1103,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"captureString","ranges":[{"startOffset":2203,"endOffset":2601,"count":0}],"isBlockCoverage":false},{"functionName":"capture","ranges":[{"startOffset":2605,"endOffset":3178,"count":0}],"isBlockCoverage":false},{"functionName":"at","ranges":[{"startOffset":3182,"endOffset":4236,"count":0}],"isBlockCoverage":false},{"functionName":"parseLine","ranges":[{"startOffset":4240,"endOffset":6388,"count":0}],"isBlockCoverage":false},{"functionName":"setFile","ranges":[{"startOffset":6392,"endOffset":6629,"count":0}],"isBlockCoverage":false},{"functionName":"ignoredPackagesRegExp","ranges":[{"startOffset":6631,"endOffset":6913,"count":1},{"startOffset":6737,"endOffset":6912,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6778,"endOffset":6808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"595","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":236,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":85,"endOffset":234,"count":0}],"isBlockCoverage":false}]},{"scriptId":"596","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/cbor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2598,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":2526,"endOffset":2597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"597","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/commented.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8911,"count":1}],"isBlockCoverage":true},{"functionName":"plural","ranges":[{"startOffset":242,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1621,"endOffset":2061,"count":0}],"isBlockCoverage":false},{"functionName":"Commented","ranges":[{"startOffset":2313,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"_tag_24","ranges":[{"startOffset":3493,"endOffset":3678,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3682,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3766,"endOffset":3890,"count":0}],"isBlockCoverage":false},{"functionName":"comment","ranges":[{"startOffset":4466,"endOffset":5155,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":5184,"endOffset":5277,"count":0}],"isBlockCoverage":false},{"functionName":"_on_read","ranges":[{"startOffset":5306,"endOffset":5625,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":5654,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start_string","ranges":[{"startOffset":6407,"endOffset":6713,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":6742,"endOffset":7824,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":7853,"endOffset":7888,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":7918,"endOffset":8748,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":8777,"endOffset":8880,"count":0}],"isBlockCoverage":false}]},{"scriptId":"598","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8215,"count":1}],"isBlockCoverage":true},{"functionName":"exports.utf8","ranges":[{"startOffset":492,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":546,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"isBufferish","ranges":[{"startOffset":823,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"bufferishToBuffer","ranges":[{"startOffset":1098,"endOffset":1356,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORint","ranges":[{"startOffset":1381,"endOffset":1905,"count":0}],"isBlockCoverage":false},{"functionName":"writeHalf","ranges":[{"startOffset":1927,"endOffset":4036,"count":0}],"isBlockCoverage":false},{"functionName":"parseHalf","ranges":[{"startOffset":4058,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORfloat","ranges":[{"startOffset":4418,"endOffset":4687,"count":0}],"isBlockCoverage":false},{"functionName":"hex","ranges":[{"startOffset":4703,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"bin","ranges":[{"startOffset":4788,"endOffset":5042,"count":0}],"isBlockCoverage":false},{"functionName":"arrayEqual","ranges":[{"startOffset":5065,"endOffset":5279,"count":0}],"isBlockCoverage":false},{"functionName":"bufferToBigInt","ranges":[{"startOffset":5306,"endOffset":5382,"count":0}],"isBlockCoverage":false},{"functionName":"cborValueToString","ranges":[{"startOffset":5412,"endOffset":7059,"count":0}],"isBlockCoverage":false},{"functionName":"guessEncoding","ranges":[{"startOffset":7085,"endOffset":7418,"count":0}],"isBlockCoverage":false},{"functionName":"base64url","ranges":[{"startOffset":7657,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"base64","ranges":[{"startOffset":7965,"endOffset":8048,"count":0}],"isBlockCoverage":false},{"functionName":"isBigEndian","ranges":[{"startOffset":8072,"endOffset":8214,"count":0}],"isBlockCoverage":false}]},{"scriptId":"599","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nofilter/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28585,"count":1}],"isBlockCoverage":true},{"functionName":"NoFilter","ranges":[{"startOffset":3473,"endOffset":5501,"count":0}],"isBlockCoverage":false},{"functionName":"isNoFilter","ranges":[{"startOffset":5664,"endOffset":5716,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":6159,"endOffset":6351,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":7149,"endOffset":8408,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":8437,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"_bufArray","ranges":[{"startOffset":8811,"endOffset":9199,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":9982,"endOffset":10504,"count":0}],"isBlockCoverage":false},{"functionName":"readFull","ranges":[{"startOffset":10957,"endOffset":12088,"count":0}],"isBlockCoverage":false},{"functionName":"promise","ranges":[{"startOffset":12421,"endOffset":12847,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":13163,"endOffset":13614,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":13827,"endOffset":13883,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":14414,"endOffset":14924,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":15137,"endOffset":15184,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":15588,"endOffset":15702,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16207,"endOffset":16468,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16497,"endOffset":16823,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":16931,"endOffset":17040,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt","ranges":[{"startOffset":17265,"endOffset":17670,"count":0}],"isBlockCoverage":false},{"functionName":"readUBigInt","ranges":[{"startOffset":17884,"endOffset":18034,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt","ranges":[{"startOffset":18276,"endOffset":18596,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":18759,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19026,"endOffset":19133,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":19315,"endOffset":19422,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19609,"endOffset":19716,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":19900,"endOffset":20007,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":20172,"endOffset":20253,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":20438,"endOffset":20544,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":20726,"endOffset":20832,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":21021,"endOffset":21127,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":21313,"endOffset":21419,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatLE","ranges":[{"startOffset":21592,"endOffset":21697,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBE","ranges":[{"startOffset":21867,"endOffset":21972,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleLE","ranges":[{"startOffset":22146,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBE","ranges":[{"startOffset":22423,"endOffset":22530,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":22705,"endOffset":22816,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":22988,"endOffset":23099,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":23290,"endOffset":23403,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":23591,"endOffset":23704,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":23831,"endOffset":23955,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":24101,"endOffset":24231,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":24377,"endOffset":24507,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":24653,"endOffset":24783,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":24929,"endOffset":25059,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":25183,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":25449,"endOffset":25577,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":25721,"endOffset":25849,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":25993,"endOffset":26121,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":26265,"endOffset":26393,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatLE","ranges":[{"startOffset":26528,"endOffset":26656,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBE","ranges":[{"startOffset":26788,"endOffset":26916,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleLE","ranges":[{"startOffset":27051,"endOffset":27181,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBE","ranges":[{"startOffset":27313,"endOffset":27443,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":27586,"endOffset":27720,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":27860,"endOffset":27994,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":28140,"endOffset":28276,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":28419,"endOffset":28555,"count":0}],"isBlockCoverage":false}]},{"scriptId":"600","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1352,"count":1}],"isBlockCoverage":true}]},{"scriptId":"601","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/decoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20596,"count":1}],"isBlockCoverage":true},{"functionName":"parentArray","ranges":[{"startOffset":508,"endOffset":641,"count":0}],"isBlockCoverage":false},{"functionName":"parentBufferStream","ranges":[{"startOffset":643,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"UnexpectedDataError","ranges":[{"startOffset":831,"endOffset":996,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":3420,"endOffset":3794,"count":0}],"isBlockCoverage":false},{"functionName":"Decoder","ranges":[{"startOffset":4237,"endOffset":4930,"count":0}],"isBlockCoverage":false},{"functionName":"nullcheck","ranges":[{"startOffset":5301,"endOffset":5710,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirstSync","ranges":[{"startOffset":6389,"endOffset":7548,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAllSync","ranges":[{"startOffset":8073,"endOffset":8838,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirst","ranges":[{"startOffset":9562,"endOffset":11046,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAll","ranges":[{"startOffset":11770,"endOffset":12395,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12433,"endOffset":12495,"count":0}],"isBlockCoverage":false},{"functionName":"_onRead","ranges":[{"startOffset":12574,"endOffset":12625,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":12867,"endOffset":20537,"count":0}],"isBlockCoverage":false}]},{"scriptId":"602","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/vendor/binary-parse-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2692,"count":1}],"isBlockCoverage":true},{"functionName":"BinaryParseStream","ranges":[{"startOffset":1100,"endOffset":1513,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1517,"endOffset":2086,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":2331,"endOffset":2462,"count":0}],"isBlockCoverage":false},{"functionName":"__restart","ranges":[{"startOffset":2466,"endOffset":2566,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":2570,"endOffset":2653,"count":0}],"isBlockCoverage":false}]},{"scriptId":"603","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/tagged.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10762,"count":1},{"startOffset":7721,"endOffset":7750,"count":19}],"isBlockCoverage":true},{"functionName":"setBuffersToJSON","ranges":[{"startOffset":135,"endOffset":954,"count":0}],"isBlockCoverage":false},{"functionName":"b64this","ranges":[{"startOffset":956,"endOffset":1052,"count":0}],"isBlockCoverage":false},{"functionName":"b64urlThis","ranges":[{"startOffset":1054,"endOffset":1156,"count":0}],"isBlockCoverage":false},{"functionName":"hexThis","ranges":[{"startOffset":1158,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"swapEndian","ranges":[{"startOffset":1258,"endOffset":1667,"count":0}],"isBlockCoverage":false},{"functionName":"0","ranges":[{"startOffset":2409,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"1","ranges":[{"startOffset":2478,"endOffset":2501,"count":0}],"isBlockCoverage":false},{"functionName":"2","ranges":[{"startOffset":2548,"endOffset":2576,"count":0}],"isBlockCoverage":false},{"functionName":"3","ranges":[{"startOffset":2623,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"21","ranges":[{"startOffset":2752,"endOffset":2911,"count":0}],"isBlockCoverage":false},{"functionName":"22","ranges":[{"startOffset":2984,"endOffset":3137,"count":0}],"isBlockCoverage":false},{"functionName":"23","ranges":[{"startOffset":3218,"endOffset":3371,"count":0}],"isBlockCoverage":false},{"functionName":"32","ranges":[{"startOffset":3409,"endOffset":3424,"count":0}],"isBlockCoverage":false},{"functionName":"33","ranges":[{"startOffset":3468,"endOffset":4627,"count":0}],"isBlockCoverage":false},{"functionName":"34","ranges":[{"startOffset":4668,"endOffset":5867,"count":0}],"isBlockCoverage":false},{"functionName":"35","ranges":[{"startOffset":5920,"endOffset":5938,"count":0}],"isBlockCoverage":false},{"functionName":"258","ranges":[{"startOffset":6027,"endOffset":6042,"count":0}],"isBlockCoverage":false},{"functionName":"_toTypedArray","ranges":[{"startOffset":7009,"endOffset":7672,"count":0}],"isBlockCoverage":false},{"functionName":"Tagged","ranges":[{"startOffset":8277,"endOffset":8615,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":8619,"endOffset":8856,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":8953,"endOffset":9025,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":9189,"endOffset":9272,"count":0}],"isBlockCoverage":false},{"functionName":"convert","ranges":[{"startOffset":9824,"endOffset":10302,"count":0}],"isBlockCoverage":false},{"functionName":"get TAGS","ranges":[{"startOffset":10432,"endOffset":10472,"count":0}],"isBlockCoverage":false},{"functionName":"set TAGS","ranges":[{"startOffset":10483,"endOffset":10525,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":10642,"endOffset":10683,"count":1}],"isBlockCoverage":true}]},{"scriptId":"604","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/simple.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2695,"count":1}],"isBlockCoverage":true},{"functionName":"Simple","ranges":[{"startOffset":268,"endOffset":567,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":683,"endOffset":734,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":930,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":1190,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"isSimple","ranges":[{"startOffset":1403,"endOffset":1455,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":2071,"endOffset":2667,"count":0}],"isBlockCoverage":false}]},{"scriptId":"605","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/diagnose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6617,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeOptions","ranges":[{"startOffset":1886,"endOffset":2262,"count":0}],"isBlockCoverage":false},{"functionName":"Diagnose","ranges":[{"startOffset":2529,"endOffset":3414,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3418,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3509,"endOffset":3707,"count":0}],"isBlockCoverage":false},{"functionName":"diagnose","ranges":[{"startOffset":4122,"endOffset":4775,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":4804,"endOffset":4932,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":4954,"endOffset":5115,"count":0}],"isBlockCoverage":false},{"functionName":"_fore","ranges":[{"startOffset":5137,"endOffset":5507,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":5529,"endOffset":5751,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":5773,"endOffset":6194,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":6216,"endOffset":6519,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":6541,"endOffset":6587,"count":0}],"isBlockCoverage":false}]},{"scriptId":"606","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31613,"count":1}],"isBlockCoverage":true},{"functionName":"parseDateType","ranges":[{"startOffset":1747,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"Encoder","ranges":[{"startOffset":4631,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":6051,"endOffset":6261,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":6318,"endOffset":6350,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt8","ranges":[{"startOffset":6470,"endOffset":6576,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt16BE","ranges":[{"startOffset":6698,"endOffset":6810,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt32BE","ranges":[{"startOffset":6935,"endOffset":7047,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloatBE","ranges":[{"startOffset":7176,"endOffset":7286,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDoubleBE","ranges":[{"startOffset":7416,"endOffset":7528,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNaN","ranges":[{"startOffset":7598,"endOffset":7644,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInfinity","ranges":[{"startOffset":7770,"endOffset":7876,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloat","ranges":[{"startOffset":8142,"endOffset":9321,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInt","ranges":[{"startOffset":10074,"endOffset":10925,"count":0}],"isBlockCoverage":false},{"functionName":"_pushIntNum","ranges":[{"startOffset":11192,"endOffset":11409,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNumber","ranges":[{"startOffset":11531,"endOffset":11787,"count":0}],"isBlockCoverage":false},{"functionName":"_pushString","ranges":[{"startOffset":11900,"endOffset":12041,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoolean","ranges":[{"startOffset":12153,"endOffset":12223,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUndefined","ranges":[{"startOffset":12330,"endOffset":12752,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNull","ranges":[{"startOffset":12854,"endOffset":12907,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTag","ranges":[{"startOffset":13024,"endOffset":13081,"count":0}],"isBlockCoverage":false},{"functionName":"_pushJSBigint","ranges":[{"startOffset":13194,"endOffset":13960,"count":0}],"isBlockCoverage":false},{"functionName":"_pushObject","ranges":[{"startOffset":14109,"endOffset":16394,"count":0}],"isBlockCoverage":false},{"functionName":"_encodeAll","ranges":[{"startOffset":16551,"endOffset":16756,"count":0}],"isBlockCoverage":false},{"functionName":"addSemanticType","ranges":[{"startOffset":17172,"endOffset":17565,"count":0}],"isBlockCoverage":false},{"functionName":"pushAny","ranges":[{"startOffset":17771,"endOffset":18684,"count":0}],"isBlockCoverage":false},{"functionName":"pushArray","ranges":[{"startOffset":18990,"endOffset":19516,"count":0}],"isBlockCoverage":false},{"functionName":"removeLoopDetectors","ranges":[{"startOffset":19662,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDate","ranges":[{"startOffset":19947,"endOffset":20619,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBuffer","ranges":[{"startOffset":20774,"endOffset":20870,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNoFilter","ranges":[{"startOffset":21027,"endOffset":21129,"count":0}],"isBlockCoverage":false},{"functionName":"_pushRegexp","ranges":[{"startOffset":21284,"endOffset":21374,"count":0}],"isBlockCoverage":false},{"functionName":"_pushSet","ranges":[{"startOffset":21523,"endOffset":21783,"count":0}],"isBlockCoverage":false},{"functionName":"_pushURL","ranges":[{"startOffset":21932,"endOffset":22020,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoxed","ranges":[{"startOffset":22208,"endOffset":22272,"count":0}],"isBlockCoverage":false},{"functionName":"_pushMap","ranges":[{"startOffset":22469,"endOffset":24462,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTypedArray","ranges":[{"startOffset":24627,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"_pushArrayBuffer","ranges":[{"startOffset":25460,"endOffset":25546,"count":0}],"isBlockCoverage":false},{"functionName":"encodeIndefinite","ranges":[{"startOffset":26458,"endOffset":28127,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":28344,"endOffset":28407,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCanonical","ranges":[{"startOffset":28646,"endOffset":28748,"count":0}],"isBlockCoverage":false},{"functionName":"encodeOne","ranges":[{"startOffset":29014,"endOffset":29093,"count":0}],"isBlockCoverage":false},{"functionName":"encodeAsync","ranges":[{"startOffset":29664,"endOffset":29981,"count":0}],"isBlockCoverage":false},{"functionName":"get SEMANTIC_TYPES","ranges":[{"startOffset":30115,"endOffset":30175,"count":0}],"isBlockCoverage":false},{"functionName":"set SEMANTIC_TYPES","ranges":[{"startOffset":30186,"endOffset":30248,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":30375,"endOffset":30437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"607","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5186,"count":1}],"isBlockCoverage":true},{"functionName":"CborMap","ranges":[{"startOffset":952,"endOffset":999,"count":0}],"isBlockCoverage":false},{"functionName":"_encode","ranges":[{"startOffset":1035,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_decode","ranges":[{"startOffset":1148,"endOffset":1216,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1501,"endOffset":1558,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":1874,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":2283,"endOffset":2346,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":2687,"endOffset":2744,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":2978,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":3366,"endOffset":3472,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3725,"endOffset":3776,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":4173,"endOffset":4393,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":4557,"endOffset":5157,"count":0}],"isBlockCoverage":false}]},{"scriptId":"608","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/map-age-cleaner/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3903,"count":1}],"isBlockCoverage":true},{"functionName":"__awaiter","ranges":[{"startOffset":58,"endOffset":613,"count":0}],"isBlockCoverage":false},{"functionName":"__importDefault","ranges":[{"startOffset":671,"endOffset":752,"count":1},{"startOffset":723,"endOffset":728,"count":0}],"isBlockCoverage":true},{"functionName":"mapAgeCleaner","ranges":[{"startOffset":872,"endOffset":3774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"609","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-defer/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":177,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"610","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6750,"count":1}],"isBlockCoverage":true},{"functionName":"getId","ranges":[{"startOffset":492,"endOffset":749,"count":1},{"startOffset":664,"endOffset":747,"count":0}],"isBlockCoverage":true},{"functionName":"getTmpname","ranges":[{"startOffset":774,"endOffset":976,"count":0}],"isBlockCoverage":false},{"functionName":"cleanupOnExit","ranges":[{"startOffset":978,"endOffset":1161,"count":0}],"isBlockCoverage":false},{"functionName":"serializeActiveFile","ranges":[{"startOffset":1163,"endOffset":1550,"count":0}],"isBlockCoverage":false},{"functionName":"isChownErrOk","ranges":[{"startOffset":1633,"endOffset":1894,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileAsync","ranges":[{"startOffset":1896,"endOffset":4304,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4306,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":4680,"endOffset":6749,"count":0}],"isBlockCoverage":false}]},{"scriptId":"611","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/imurmurhash/imurmurhash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4412,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":443,"endOffset":4407,"count":1},{"startOffset":4352,"endOffset":4405,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3","ranges":[{"startOffset":811,"endOffset":1083,"count":1},{"startOffset":896,"endOffset":903,"count":0},{"startOffset":963,"endOffset":980,"count":0},{"startOffset":982,"endOffset":1018,"count":0},{"startOffset":1044,"endOffset":1077,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3.hash","ranges":[{"startOffset":1254,"endOffset":3073,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.result","ranges":[{"startOffset":3193,"endOffset":3797,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.reset","ranges":[{"startOffset":3937,"endOffset":4078,"count":1},{"startOffset":3997,"endOffset":4003,"count":0}],"isBlockCoverage":true}]},{"scriptId":"612","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9435,"count":1},{"startOffset":8597,"endOffset":8623,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":518,"endOffset":562,"count":0}],"isBlockCoverage":false},{"functionName":"processOk","ranges":[{"startOffset":585,"endOffset":952,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1130,"endOffset":2434,"count":1}],"isBlockCoverage":true},{"functionName":"Emitter","ranges":[{"startOffset":1325,"endOffset":1616,"count":1},{"startOffset":1375,"endOffset":1427,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":1621,"endOffset":1676,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":1681,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2045,"endOffset":2432,"count":0}],"isBlockCoverage":false},{"functionName":"signalExitWrap","ranges":[{"startOffset":2483,"endOffset":2732,"count":1}],"isBlockCoverage":true},{"functionName":"onExit","ranges":[{"startOffset":2519,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2602,"endOffset":2655,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2665,"endOffset":2722,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":2788,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2835,"endOffset":2845,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2850,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2865,"endOffset":8403,"count":1},{"startOffset":3070,"endOffset":3080,"count":0}],"isBlockCoverage":true},{"functionName":"SignalExit","ranges":[{"startOffset":3269,"endOffset":5206,"count":1},{"startOffset":3467,"endOffset":5088,"count":17}],"isBlockCoverage":true},{"functionName":"SignalExit.#sigListeners.","ranges":[{"startOffset":3507,"endOffset":5077,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":5211,"endOffset":5804,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5809,"endOffset":6637,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":6642,"endOffset":7393,"count":0}],"isBlockCoverage":false},{"functionName":"#processReallyExit","ranges":[{"startOffset":7398,"endOffset":7764,"count":0}],"isBlockCoverage":false},{"functionName":"#processEmit","ranges":[{"startOffset":7769,"endOffset":8401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"613","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1560,"count":1}],"isBlockCoverage":true}]},{"scriptId":"614","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/irregular-plurals/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":137,"count":1}],"isBlockCoverage":true}]},{"scriptId":"615","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/state.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":150,"count":1}],"isBlockCoverage":true}]},{"scriptId":"616","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/channel.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7151,"count":1},{"startOffset":2661,"endOffset":2770,"count":0}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":303,"endOffset":1131,"count":2},{"startOffset":747,"endOffset":1129,"count":0}],"isBlockCoverage":true},{"functionName":"addToBuffer","ranges":[{"startOffset":510,"endOffset":540,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":975,"endOffset":1022,"count":0}],"isBlockCoverage":false},{"functionName":"selectAvaMessage","ranges":[{"startOffset":1159,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1167,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"RefCounter","ranges":[{"startOffset":1241,"endOffset":1277,"count":1}],"isBlockCoverage":true},{"functionName":"refAndTest","ranges":[{"startOffset":1280,"endOffset":1326,"count":2}],"isBlockCoverage":true},{"functionName":"testAndUnref","ranges":[{"startOffset":1329,"endOffset":1395,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortHandle","ranges":[{"startOffset":1426,"endOffset":1746,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1719,"endOffset":1727,"count":0}],"isBlockCoverage":false},{"functionName":"forceUnref","ranges":[{"startOffset":1749,"endOffset":1899,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":1902,"endOffset":2040,"count":2}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":2043,"endOffset":2179,"count":2}],"isBlockCoverage":true},{"functionName":"send","ranges":[{"startOffset":2182,"endOffset":2264,"count":13}],"isBlockCoverage":true},{"functionName":"IpcHandle","ranges":[{"startOffset":2287,"endOffset":2409,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":2412,"endOffset":2487,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":2490,"endOffset":2571,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2574,"endOffset":2616,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3157,"endOffset":3187,"count":0}],"isBlockCoverage":false},{"functionName":"flush","ranges":[{"startOffset":3456,"endOffset":3749,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3531,"endOffset":3704,"count":1}],"isBlockCoverage":true},{"functionName":"createChannelEmitter","ranges":[{"startOffset":3859,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"registerSharedWorker","ranges":[{"startOffset":4406,"endOffset":7096,"count":0}],"isBlockCoverage":false}]},{"scriptId":"617","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/utils.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true}]},{"scriptId":"618","url":"node:internal/modules/esm/initialize_import_meta","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1960,"count":1}],"isBlockCoverage":false},{"functionName":"createImportMetaResolve","ranges":[{"startOffset":617,"endOffset":1368,"count":3}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":880,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"initializeImportMeta","ranges":[{"startOffset":1633,"endOffset":1912,"count":3}],"isBlockCoverage":true}]},{"scriptId":"619","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/options.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":278,"count":1}],"isBlockCoverage":true},{"functionName":"exports.get","ranges":[{"startOffset":48,"endOffset":147,"count":0}],"isBlockCoverage":false},{"functionName":"exports.set","ranges":[{"startOffset":164,"endOffset":276,"count":1},{"startOffset":194,"endOffset":250,"count":0}],"isBlockCoverage":true}]},{"scriptId":"620","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-event/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6062,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeEmitter","ranges":[{"startOffset":60,"endOffset":453,"count":3},{"startOffset":105,"endOffset":127,"count":0},{"startOffset":128,"endOffset":155,"count":0},{"startOffset":193,"endOffset":218,"count":0},{"startOffset":219,"endOffset":249,"count":0},{"startOffset":290,"endOffset":346,"count":0}],"isBlockCoverage":true},{"functionName":"pEventMultiple","ranges":[{"startOffset":463,"endOffset":2125,"count":3},{"startOffset":1994,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":560,"endOffset":1917,"count":3},{"startOffset":812,"endOffset":892,"count":0},{"startOffset":1890,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"onItem","ranges":[{"startOffset":1060,"endOffset":1389,"count":3},{"startOffset":1116,"endOffset":1128,"count":0},{"startOffset":1263,"endOffset":1281,"count":2},{"startOffset":1281,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"rejectHandler","ranges":[{"startOffset":1416,"endOffset":1461,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":1475,"endOffset":1675,"count":1}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":2134,"endOffset":2551,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2421,"endOffset":2438,"count":1}],"isBlockCoverage":true},{"functionName":"pEventIterator","ranges":[{"startOffset":2560,"endOffset":6020,"count":0}],"isBlockCoverage":false}]},{"scriptId":"621","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@ava/typescript/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8330,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":352,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"validate","ranges":[{"startOffset":478,"endOffset":1131,"count":0}],"isBlockCoverage":false},{"functionName":"compileTypeScript","ranges":[{"startOffset":1133,"endOffset":1260,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1321,"endOffset":1393,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1436,"endOffset":1654,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1696,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"typescriptProvider","ranges":[{"startOffset":2093,"endOffset":8329,"count":1},{"startOffset":2251,"endOffset":2265,"count":0}],"isBlockCoverage":true},{"functionName":"main","ranges":[{"startOffset":2279,"endOffset":7324,"count":0}],"isBlockCoverage":false},{"functionName":"worker","ranges":[{"startOffset":7329,"endOffset":8322,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7526,"endOffset":7556,"count":3}],"isBlockCoverage":true},{"functionName":"canLoad","ranges":[{"startOffset":7591,"endOffset":7707,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7667,"endOffset":7699,"count":2}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":7714,"endOffset":8311,"count":1},{"startOffset":7935,"endOffset":8023,"count":0},{"startOffset":8055,"endOffset":8118,"count":0},{"startOffset":8247,"endOffset":8281,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7787,"endOffset":7819,"count":2}],"isBlockCoverage":true}]},{"scriptId":"622","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-timeout/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2513,"count":1}],"isBlockCoverage":true},{"functionName":"TimeoutError","ranges":[{"startOffset":43,"endOffset":116,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":315,"endOffset":405,"count":0}],"isBlockCoverage":false},{"functionName":"getDOMException","ranges":[{"startOffset":516,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"getAbortedReason","ranges":[{"startOffset":755,"endOffset":951,"count":0}],"isBlockCoverage":false},{"functionName":"pTimeout","ranges":[{"startOffset":969,"endOffset":2512,"count":0}],"isBlockCoverage":false}]},{"scriptId":"623","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7897,"count":1}],"isBlockCoverage":true},{"functionName":"getEnv","ranges":[{"startOffset":955,"endOffset":1187,"count":0}],"isBlockCoverage":false},{"functionName":"handleArguments","ranges":[{"startOffset":1214,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"handleOutput","ranges":[{"startOffset":1965,"endOffset":2268,"count":0}],"isBlockCoverage":false},{"functionName":"execa","ranges":[{"startOffset":2278,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"execaSync","ranges":[{"startOffset":4687,"endOffset":6032,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptStdin","ranges":[{"startOffset":6063,"endOffset":6191,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptOptions","ranges":[{"startOffset":6225,"endOffset":6316,"count":0}],"isBlockCoverage":false},{"functionName":"create$","ranges":[{"startOffset":6319,"endOffset":6973,"count":1}],"isBlockCoverage":true},{"functionName":"$","ranges":[{"startOffset":6348,"endOffset":6640,"count":0}],"isBlockCoverage":false},{"functionName":"$.sync","ranges":[{"startOffset":6652,"endOffset":6958,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommand","ranges":[{"startOffset":7011,"endOffset":7138,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommandSync","ranges":[{"startOffset":7147,"endOffset":7282,"count":0}],"isBlockCoverage":false},{"functionName":"execaNode","ranges":[{"startOffset":7291,"endOffset":7896,"count":0}],"isBlockCoverage":false}]},{"scriptId":"624","url":"node:child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27198,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1936,"endOffset":1965,"count":0}],"isBlockCoverage":false},{"functionName":"fork","ranges":[{"startOffset":3430,"endOffset":5105,"count":0}],"isBlockCoverage":false},{"functionName":"_forkChild","ranges":[{"startOffset":5107,"endOffset":5596,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecArgs","ranges":[{"startOffset":5598,"endOffset":6112,"count":0}],"isBlockCoverage":false},{"functionName":"exec","ranges":[{"startOffset":6649,"endOffset":6896,"count":0}],"isBlockCoverage":false},{"functionName":"customPromiseExecFunction","ranges":[{"startOffset":6932,"endOffset":7296,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6953,"endOffset":7293,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecFileArgs","ranges":[{"startOffset":7433,"endOffset":8331,"count":0}],"isBlockCoverage":false},{"functionName":"execFile","ranges":[{"startOffset":8944,"endOffset":13708,"count":0}],"isBlockCoverage":false},{"functionName":"copyProcessEnvToEnv","ranges":[{"startOffset":13852,"endOffset":14052,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeSpawnArguments","ranges":[{"startOffset":14054,"endOffset":19321,"count":0}],"isBlockCoverage":false},{"functionName":"abortChildProcess","ranges":[{"startOffset":19323,"endOffset":19579,"count":0}],"isBlockCoverage":false},{"functionName":"spawn","ranges":[{"startOffset":20134,"endOffset":21334,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":22094,"endOffset":23602,"count":0}],"isBlockCoverage":false},{"functionName":"checkExecSyncError","ranges":[{"startOffset":23605,"endOffset":23991,"count":0}],"isBlockCoverage":false},{"functionName":"execFileSync","ranges":[{"startOffset":24504,"endOffset":24968,"count":0}],"isBlockCoverage":false},{"functionName":"execSync","ranges":[{"startOffset":25466,"endOffset":25842,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentNullCheck","ranges":[{"startOffset":25845,"endOffset":26068,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentsNullCheck","ranges":[{"startOffset":26071,"endOffset":26233,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":26236,"endOffset":26424,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBuffer","ranges":[{"startOffset":26427,"endOffset":26700,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeKillSignal","ranges":[{"startOffset":26703,"endOffset":27066,"count":0}],"isBlockCoverage":false}]},{"scriptId":"625","url":"node:internal/child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31777,"count":1}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2500,"endOffset":2559,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2566,"endOffset":2620,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2682,"endOffset":2749,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2756,"endOffset":2897,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2927,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"postSend","ranges":[{"startOffset":4488,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5241,"endOffset":5698,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5763,"endOffset":5822,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5829,"endOffset":5883,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5948,"endOffset":6068,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":6075,"endOffset":6234,"count":0}],"isBlockCoverage":false},{"functionName":"stdioStringToArray","ranges":[{"startOffset":6245,"endOffset":6660,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess","ranges":[{"startOffset":6662,"endOffset":8151,"count":0}],"isBlockCoverage":false},{"functionName":"flushStdio","ranges":[{"startOffset":8274,"endOffset":8752,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":8755,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"getHandleWrapType","ranges":[{"startOffset":8848,"endOffset":9077,"count":0}],"isBlockCoverage":false},{"functionName":"closePendingHandle","ranges":[{"startOffset":9079,"endOffset":9192,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.spawn","ranges":[{"startOffset":9226,"endOffset":12793,"count":0}],"isBlockCoverage":false},{"functionName":"onErrorNT","ranges":[{"startOffset":12797,"endOffset":12858,"count":0}],"isBlockCoverage":false},{"functionName":"onSpawnNT","ranges":[{"startOffset":12861,"endOffset":12911,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.kill","ranges":[{"startOffset":12944,"endOffset":13609,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.","ranges":[{"startOffset":13652,"endOffset":13709,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.ref","ranges":[{"startOffset":13742,"endOffset":13796,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.unref","ranges":[{"startOffset":13831,"endOffset":13887,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13890,"endOffset":14887,"count":0}],"isBlockCoverage":false},{"functionName":"setupChannel","ranges":[{"startOffset":15035,"endOffset":27155,"count":0}],"isBlockCoverage":false},{"functionName":"isInternal","ranges":[{"startOffset":27190,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"getValidStdio","ranges":[{"startOffset":27534,"endOffset":30459,"count":0}],"isBlockCoverage":false},{"functionName":"getSocketList","ranges":[{"startOffset":30462,"endOffset":30778,"count":0}],"isBlockCoverage":false},{"functionName":"maybeClose","ranges":[{"startOffset":30781,"endOffset":30982,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":30984,"endOffset":31651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"626","url":"node:dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28253,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCluster","ranges":[{"startOffset":2824,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":3031,"endOffset":4459,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":4570,"endOffset":4648,"count":0}],"isBlockCoverage":false},{"functionName":"startListening","ranges":[{"startOffset":4651,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"replaceHandle","ranges":[{"startOffset":5096,"endOffset":5661,"count":0}],"isBlockCoverage":false},{"functionName":"bufferSize","ranges":[{"startOffset":5663,"endOffset":5955,"count":0}],"isBlockCoverage":false},{"functionName":"bindServerHandle","ranges":[{"startOffset":6023,"endOffset":6433,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.bind","ranges":[{"startOffset":6459,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":9932,"endOffset":10728,"count":0}],"isBlockCoverage":false},{"functionName":"_connect","ranges":[{"startOffset":10732,"endOffset":11078,"count":0}],"isBlockCoverage":false},{"functionName":"doConnect","ranges":[{"startOffset":11081,"endOffset":11723,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.disconnect","ranges":[{"startOffset":11756,"endOffset":12063,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.sendto","ranges":[{"startOffset":12168,"endOffset":12609,"count":0}],"isBlockCoverage":false},{"functionName":"sliceBuffer","ranges":[{"startOffset":12613,"endOffset":13373,"count":0}],"isBlockCoverage":false},{"functionName":"fixBufferList","ranges":[{"startOffset":13376,"endOffset":13760,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":13763,"endOffset":14190,"count":0}],"isBlockCoverage":false},{"functionName":"onListenSuccess","ranges":[{"startOffset":14193,"endOffset":14331,"count":0}],"isBlockCoverage":false},{"functionName":"onListenError","ranges":[{"startOffset":14334,"endOffset":14458,"count":0}],"isBlockCoverage":false},{"functionName":"clearQueue","ranges":[{"startOffset":14461,"endOffset":14658,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.send","ranges":[{"startOffset":15229,"endOffset":18122,"count":0}],"isBlockCoverage":false},{"functionName":"doSend","ranges":[{"startOffset":18125,"endOffset":19264,"count":0}],"isBlockCoverage":false},{"functionName":"afterSend","ranges":[{"startOffset":19266,"endOffset":19443,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.close","ranges":[{"startOffset":19470,"endOffset":20038,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":20080,"endOffset":20213,"count":0}],"isBlockCoverage":false},{"functionName":"socketCloseNT","ranges":[{"startOffset":20217,"endOffset":20271,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":20301,"endOffset":20491,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.remoteAddress","ranges":[{"startOffset":20527,"endOffset":20837,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setBroadcast","ranges":[{"startOffset":20873,"endOffset":21021,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setTTL","ranges":[{"startOffset":21051,"endOffset":21225,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastTTL","ranges":[{"startOffset":21264,"endOffset":21456,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastLoopback","ranges":[{"startOffset":21500,"endOffset":21700,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastInterface","ranges":[{"startOffset":21745,"endOffset":22007,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addMembership","ranges":[{"startOffset":22043,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropMembership","ranges":[{"startOffset":22455,"endOffset":22832,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addSourceSpecificMembership","ranges":[{"startOffset":22882,"endOffset":23489,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropSourceSpecificMembership","ranges":[{"startOffset":23541,"endOffset":24154,"count":0}],"isBlockCoverage":false},{"functionName":"healthCheck","ranges":[{"startOffset":24158,"endOffset":24321,"count":0}],"isBlockCoverage":false},{"functionName":"stopReceiving","ranges":[{"startOffset":24324,"endOffset":24488,"count":0}],"isBlockCoverage":false},{"functionName":"onMessage","ranges":[{"startOffset":24491,"endOffset":24745,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":24748,"endOffset":24863,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":24889,"endOffset":24996,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":25025,"endOffset":25134,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setRecvBufferSize","ranges":[{"startOffset":25175,"endOffset":25232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setSendBufferSize","ranges":[{"startOffset":25273,"endOffset":25330,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getRecvBufferSize","ranges":[{"startOffset":25371,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendBufferSize","ranges":[{"startOffset":25469,"endOffset":25526,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueSize","ranges":[{"startOffset":25565,"endOffset":25634,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueCount","ranges":[{"startOffset":25674,"endOffset":25744,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25863,"endOffset":25917,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25990,"endOffset":26046,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26199,"endOffset":26256,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26332,"endOffset":26391,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26547,"endOffset":26604,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26680,"endOffset":26739,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26891,"endOffset":26944,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27016,"endOffset":27071,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27223,"endOffset":27280,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27356,"endOffset":27415,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27522,"endOffset":27557,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27666,"endOffset":27703,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27988,"endOffset":28024,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":28028,"endOffset":28069,"count":0}],"isBlockCoverage":false}]},{"scriptId":"627","url":"node:internal/dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1851,"count":1}],"isBlockCoverage":false},{"functionName":"lookup4","ranges":[{"startOffset":478,"endOffset":579,"count":0}],"isBlockCoverage":false},{"functionName":"lookup6","ranges":[{"startOffset":582,"endOffset":677,"count":0}],"isBlockCoverage":false},{"functionName":"newHandle","ranges":[{"startOffset":679,"endOffset":1323,"count":0}],"isBlockCoverage":false},{"functionName":"_createSocketHandle","ranges":[{"startOffset":1326,"endOffset":1774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"628","url":"node:internal/socket_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2709,"count":1}],"isBlockCoverage":false},{"functionName":"SocketListSend","ranges":[{"startOffset":235,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"_request","ranges":[{"startOffset":380,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":1039,"endOffset":1190,"count":0}],"isBlockCoverage":false},{"functionName":"getConnections","ranges":[{"startOffset":1194,"endOffset":1430,"count":0}],"isBlockCoverage":false},{"functionName":"SocketListReceive","ranges":[{"startOffset":1544,"endOffset":2404,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":2408,"endOffset":2649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"629","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/strip-final-newline/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":347,"count":1}],"isBlockCoverage":true},{"functionName":"stripFinalNewline","ranges":[{"startOffset":15,"endOffset":346,"count":0}],"isBlockCoverage":false}]},{"scriptId":"630","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":938,"count":1}],"isBlockCoverage":true},{"functionName":"npmRunPath","ranges":[{"startOffset":134,"endOffset":741,"count":0}],"isBlockCoverage":false},{"functionName":"npmRunPathEnv","ranges":[{"startOffset":750,"endOffset":937,"count":0}],"isBlockCoverage":false}]},{"scriptId":"631","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/onetime/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1022,"count":1}],"isBlockCoverage":true},{"functionName":"onetime","ranges":[{"startOffset":95,"endOffset":767,"count":0}],"isBlockCoverage":false},{"functionName":"onetime.callCount","ranges":[{"startOffset":790,"endOffset":995,"count":0}],"isBlockCoverage":false}]},{"scriptId":"632","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2204,"count":1}],"isBlockCoverage":true},{"functionName":"getErrorPrefix","ranges":[{"startOffset":105,"endOffset":580,"count":0}],"isBlockCoverage":false},{"functionName":"makeError","ranges":[{"startOffset":608,"endOffset":2202,"count":0}],"isBlockCoverage":false}]},{"scriptId":"633","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stdio.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1157,"count":1}],"isBlockCoverage":true},{"functionName":"hasAlias","ranges":[{"startOffset":65,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdio","ranges":[{"startOffset":160,"endOffset":794,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdioNode","ranges":[{"startOffset":879,"endOffset":1155,"count":0}],"isBlockCoverage":false}]},{"scriptId":"634","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/kill.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2983,"count":1}],"isBlockCoverage":true},{"functionName":"spawnedKill","ranges":[{"startOffset":214,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"setKillTimeout","ranges":[{"startOffset":393,"endOffset":844,"count":0}],"isBlockCoverage":false},{"functionName":"shouldForceKill","ranges":[{"startOffset":871,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"isSigterm","ranges":[{"startOffset":1007,"endOffset":1128,"count":0}],"isBlockCoverage":false},{"functionName":"getForceKillAfterTimeout","ranges":[{"startOffset":1164,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"spawnedCancel","ranges":[{"startOffset":1623,"endOffset":1736,"count":0}],"isBlockCoverage":false},{"functionName":"timeoutKill","ranges":[{"startOffset":1759,"endOffset":1888,"count":0}],"isBlockCoverage":false},{"functionName":"setupTimeout","ranges":[{"startOffset":1948,"endOffset":2417,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":2451,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"setExitHandler","ranges":[{"startOffset":2737,"endOffset":2981,"count":0}],"isBlockCoverage":false}]},{"scriptId":"635","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/pipe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1194,"count":1}],"isBlockCoverage":true},{"functionName":"isExecaChildProcess","ranges":[{"startOffset":165,"endOffset":242,"count":0}],"isBlockCoverage":false},{"functionName":"pipeToTarget","ranges":[{"startOffset":266,"endOffset":826,"count":0}],"isBlockCoverage":false},{"functionName":"addPipeMethods","ranges":[{"startOffset":859,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"636","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2958,"count":1}],"isBlockCoverage":true},{"functionName":"validateInputOptions","ranges":[{"startOffset":198,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"getInputSync","ranges":[{"startOffset":347,"endOffset":495,"count":0}],"isBlockCoverage":false},{"functionName":"handleInputSync","ranges":[{"startOffset":576,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getInput","ranges":[{"startOffset":769,"endOffset":921,"count":0}],"isBlockCoverage":false},{"functionName":"handleInput","ranges":[{"startOffset":999,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"makeAllStream","ranges":[{"startOffset":1270,"endOffset":1518,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedData","ranges":[{"startOffset":1632,"endOffset":1940,"count":0}],"isBlockCoverage":false},{"functionName":"getStreamPromise","ranges":[{"startOffset":1968,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedResult","ranges":[{"startOffset":2300,"endOffset":2956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"637","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1109,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":91,"endOffset":105,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":186,"endOffset":281,"count":3}],"isBlockCoverage":true},{"functionName":"mergePromise","ranges":[{"startOffset":376,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedPromise","ranges":[{"startOffset":835,"endOffset":1107,"count":0}],"isBlockCoverage":false}]},{"scriptId":"638","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/command.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3071,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeArgs","ranges":[{"startOffset":108,"endOffset":207,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArg","ranges":[{"startOffset":302,"endOffset":449,"count":0}],"isBlockCoverage":false},{"functionName":"joinCommand","ranges":[{"startOffset":479,"endOffset":530,"count":0}],"isBlockCoverage":false},{"functionName":"getEscapedCommand","ranges":[{"startOffset":566,"endOffset":644,"count":0}],"isBlockCoverage":false},{"functionName":"parseCommand","ranges":[{"startOffset":732,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"parseExpression","ranges":[{"startOffset":1209,"endOffset":1923,"count":0}],"isBlockCoverage":false},{"functionName":"concatTokens","ranges":[{"startOffset":1947,"endOffset":2173,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplate","ranges":[{"startOffset":2198,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplates","ranges":[{"startOffset":2865,"endOffset":3068,"count":0}],"isBlockCoverage":false}]},{"scriptId":"639","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/verbose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"padField","ranges":[{"startOffset":148,"endOffset":204,"count":0}],"isBlockCoverage":false},{"functionName":"getTimestamp","ranges":[{"startOffset":228,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"logCommand","ranges":[{"startOffset":442,"endOffset":573,"count":0}],"isBlockCoverage":false}]},{"scriptId":"640","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":263,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":15,"endOffset":262,"count":0}],"isBlockCoverage":false}]},{"scriptId":"641","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/main.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1214,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalsByName","ranges":[{"startOffset":134,"endOffset":226,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalByName","ranges":[{"startOffset":251,"endOffset":386,"count":69}],"isBlockCoverage":true},{"functionName":"getSignalsByNumber","ranges":[{"startOffset":465,"endOffset":652,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":559,"endOffset":609,"count":65}],"isBlockCoverage":true},{"functionName":"getSignalByNumber","ranges":[{"startOffset":679,"endOffset":939,"count":65},{"startOffset":771,"endOffset":784,"count":3},{"startOffset":784,"endOffset":938,"count":62}],"isBlockCoverage":true},{"functionName":"findSignalByNumber","ranges":[{"startOffset":969,"endOffset":1161,"count":65},{"startOffset":1083,"endOffset":1101,"count":31},{"startOffset":1101,"endOffset":1160,"count":34}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1015,"endOffset":1057,"count":2919}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1123,"endOffset":1157,"count":1881}],"isBlockCoverage":true}]},{"scriptId":"642","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":746,"count":1}],"isBlockCoverage":true},{"functionName":"isStream","ranges":[{"startOffset":7,"endOffset":132,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":141,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":332,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexStream","ranges":[{"startOffset":522,"endOffset":621,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":630,"endOffset":745,"count":0}],"isBlockCoverage":false}]},{"scriptId":"643","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/realtime.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":353,"count":1}],"isBlockCoverage":true},{"functionName":"getRealtimeSignals","ranges":[{"startOffset":33,"endOffset":121,"count":2}],"isBlockCoverage":true},{"functionName":"getRealtimeSignal","ranges":[{"startOffset":148,"endOffset":306,"count":62}],"isBlockCoverage":true}]},{"scriptId":"644","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1}],"isBlockCoverage":true},{"functionName":"getSignals","ranges":[{"startOffset":139,"endOffset":274,"count":2}],"isBlockCoverage":true},{"functionName":"normalizeSignal","ranges":[{"startOffset":305,"endOffset":602,"count":138},{"startOffset":504,"endOffset":519,"count":66},{"startOffset":519,"endOffset":533,"count":72}],"isBlockCoverage":true}]},{"scriptId":"645","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4126,"count":1}],"isBlockCoverage":true}]},{"scriptId":"646","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1}],"isBlockCoverage":true},{"functionName":"spawn","ranges":[{"startOffset":131,"endOffset":589,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":591,"endOffset":1038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"647","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3065,"count":1}],"isBlockCoverage":true},{"functionName":"detectShebang","ranges":[{"startOffset":354,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"parseNonShell","ranges":[{"startOffset":661,"endOffset":2367,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":2369,"endOffset":3039,"count":0}],"isBlockCoverage":false}]},{"scriptId":"648","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/resolveCommand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1557,"count":1}],"isBlockCoverage":true},{"functionName":"resolveCommandAttempt","ranges":[{"startOffset":118,"endOffset":1404,"count":0}],"isBlockCoverage":false},{"functionName":"resolveCommand","ranges":[{"startOffset":1406,"endOffset":1522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"649","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/which/which.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3163,"count":1},{"startOffset":177,"endOffset":182,"count":0}],"isBlockCoverage":true},{"functionName":"getNotFoundError","ranges":[{"startOffset":246,"endOffset":322,"count":0}],"isBlockCoverage":false},{"functionName":"getPathInfo","ranges":[{"startOffset":344,"endOffset":1152,"count":0}],"isBlockCoverage":false},{"functionName":"which","ranges":[{"startOffset":1168,"endOffset":2279,"count":0}],"isBlockCoverage":false},{"functionName":"whichSync","ranges":[{"startOffset":2299,"endOffset":3115,"count":0}],"isBlockCoverage":false}]},{"scriptId":"650","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1},{"startOffset":92,"endOffset":128,"count":0}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":211,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":930,"endOffset":1191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"651","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/mode.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":909,"count":1}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":66,"endOffset":197,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":199,"endOffset":279,"count":0}],"isBlockCoverage":false},{"functionName":"checkStat","ranges":[{"startOffset":281,"endOffset":370,"count":0}],"isBlockCoverage":false},{"functionName":"checkMode","ranges":[{"startOffset":372,"endOffset":908,"count":0}],"isBlockCoverage":false}]},{"scriptId":"652","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":415,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":31,"endOffset":304,"count":0}],"isBlockCoverage":false}]},{"scriptId":"653","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/escape.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"escapeCommand","ranges":[{"startOffset":121,"endOffset":241,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArgument","ranges":[{"startOffset":243,"endOffset":1088,"count":0}],"isBlockCoverage":false}]},{"scriptId":"654","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/readShebang.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":549,"count":1}],"isBlockCoverage":true},{"functionName":"readShebang","ranges":[{"startOffset":93,"endOffset":517,"count":0}],"isBlockCoverage":false}]},{"scriptId":"655","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-command/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":387,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":79,"endOffset":385,"count":0}],"isBlockCoverage":false}]},{"scriptId":"656","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":42,"count":1}],"isBlockCoverage":true}]},{"scriptId":"657","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/enoent.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1480,"count":1}],"isBlockCoverage":true},{"functionName":"notFoundError","ranges":[{"startOffset":60,"endOffset":358,"count":0}],"isBlockCoverage":false},{"functionName":"hookChildProcess","ranges":[{"startOffset":360,"endOffset":1023,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENT","ranges":[{"startOffset":1025,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENTSync","ranges":[{"startOffset":1197,"endOffset":1375,"count":0}],"isBlockCoverage":false}]},{"scriptId":"658","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5708,"count":1},{"startOffset":778,"endOffset":844,"count":0},{"startOffset":1059,"endOffset":1089,"count":0},{"startOffset":1144,"endOffset":1195,"count":0}],"isBlockCoverage":true},{"functionName":"processOk","ranges":[{"startOffset":293,"endOffset":677,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":799,"endOffset":842,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1703,"endOffset":2301,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2318,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2724,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3001,"endOffset":3890,"count":18}],"isBlockCoverage":true},{"functionName":"listener","ranges":[{"startOffset":3042,"endOffset":3886,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.signals","ranges":[{"startOffset":3920,"endOffset":3956,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":3993,"endOffset":4602,"count":0}],"isBlockCoverage":false},{"functionName":"processReallyExit","ranges":[{"startOffset":4712,"endOffset":5108,"count":0}],"isBlockCoverage":false},{"functionName":"processEmit","ranges":[{"startOffset":5171,"endOffset":5705,"count":0}],"isBlockCoverage":false}]},{"scriptId":"659","url":"node:assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31879,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadComparison","ranges":[{"startOffset":2704,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":3469,"endOffset":3517,"count":0}],"isBlockCoverage":false},{"functionName":"innerFail","ranges":[{"startOffset":4071,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":4348,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"findColumn","ranges":[{"startOffset":5445,"endOffset":6385,"count":0}],"isBlockCoverage":false},{"functionName":"getCode","ranges":[{"startOffset":6387,"endOffset":8032,"count":0}],"isBlockCoverage":false},{"functionName":"parseCode","ranges":[{"startOffset":8034,"endOffset":9451,"count":0}],"isBlockCoverage":false},{"functionName":"getErrMessage","ranges":[{"startOffset":9453,"endOffset":12547,"count":0}],"isBlockCoverage":false},{"functionName":"innerOk","ranges":[{"startOffset":12549,"endOffset":13157,"count":2},{"startOffset":12610,"endOffset":13155,"count":0}],"isBlockCoverage":true},{"functionName":"ok","ranges":[{"startOffset":13290,"endOffset":13351,"count":2}],"isBlockCoverage":true},{"functionName":"equal","ranges":[{"startOffset":13610,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"notEqual","ranges":[{"startOffset":14201,"endOffset":14577,"count":0}],"isBlockCoverage":false},{"functionName":"deepEqual","ranges":[{"startOffset":14777,"endOffset":15142,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepEqual","ranges":[{"startOffset":15348,"endOffset":15721,"count":0}],"isBlockCoverage":false},{"functionName":"deepStrictEqual","ranges":[{"startOffset":15964,"endOffset":16353,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepStrictEqual","ranges":[{"startOffset":16602,"endOffset":16999,"count":0}],"isBlockCoverage":false},{"functionName":"strictEqual","ranges":[{"startOffset":17204,"endOffset":17517,"count":0}],"isBlockCoverage":false},{"functionName":"notStrictEqual","ranges":[{"startOffset":17729,"endOffset":18050,"count":0}],"isBlockCoverage":false},{"functionName":"Comparison","ranges":[{"startOffset":18074,"endOffset":18456,"count":0}],"isBlockCoverage":false},{"functionName":"compareExceptionKey","ranges":[{"startOffset":18460,"endOffset":19179,"count":0}],"isBlockCoverage":false},{"functionName":"expectedException","ranges":[{"startOffset":19181,"endOffset":22585,"count":0}],"isBlockCoverage":false},{"functionName":"getActual","ranges":[{"startOffset":22587,"endOffset":22727,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsPromise","ranges":[{"startOffset":22729,"endOffset":23093,"count":0}],"isBlockCoverage":false},{"functionName":"waitForActual","ranges":[{"startOffset":23095,"endOffset":23809,"count":0}],"isBlockCoverage":false},{"functionName":"expectsError","ranges":[{"startOffset":23811,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"hasMatchingError","ranges":[{"startOffset":25430,"endOffset":26048,"count":0}],"isBlockCoverage":false},{"functionName":"expectsNoError","ranges":[{"startOffset":26050,"endOffset":26701,"count":0}],"isBlockCoverage":false},{"functionName":"throws","ranges":[{"startOffset":26859,"endOffset":26953,"count":0}],"isBlockCoverage":false},{"functionName":"rejects","ranges":[{"startOffset":27132,"endOffset":27244,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotThrow","ranges":[{"startOffset":27406,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotReject","ranges":[{"startOffset":27666,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"ifError","ranges":[{"startOffset":27906,"endOffset":29695,"count":0}],"isBlockCoverage":false},{"functionName":"internalMatch","ranges":[{"startOffset":29698,"endOffset":30781,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":30977,"endOffset":31069,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotMatch","ranges":[{"startOffset":31277,"endOffset":31383,"count":0}],"isBlockCoverage":false},{"functionName":"strict","ranges":[{"startOffset":31574,"endOffset":31643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"660","url":"node:internal/assert/assertion_error","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17104,"count":1}],"isBlockCoverage":false},{"functionName":"copyError","ranges":[{"startOffset":1449,"endOffset":1743,"count":0}],"isBlockCoverage":false},{"functionName":"inspectValue","ranges":[{"startOffset":1745,"endOffset":2353,"count":0}],"isBlockCoverage":false},{"functionName":"createErrDiff","ranges":[{"startOffset":2355,"endOffset":11091,"count":0}],"isBlockCoverage":false},{"functionName":"addEllipsis","ranges":[{"startOffset":11093,"endOffset":11396,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":11437,"endOffset":16133,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16137,"endOffset":16212,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16216,"endOffset":17067,"count":0}],"isBlockCoverage":false}]},{"scriptId":"661","url":"node:internal/util/colors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1122,"count":1}],"isBlockCoverage":false},{"functionName":"lazyInternalTTY","ranges":[{"startOffset":32,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"shouldColorize","ranges":[{"startOffset":244,"endOffset":504,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":508,"endOffset":1090,"count":1},{"startOffset":550,"endOffset":1086,"count":0}],"isBlockCoverage":true}]},{"scriptId":"662","url":"node:internal/assert/calltracker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3452,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":462,"endOffset":1495,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1497,"endOffset":3420,"count":0}],"isBlockCoverage":false}]},{"scriptId":"663","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1295,"count":1}],"isBlockCoverage":true}]},{"scriptId":"664","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1489,"count":1}],"isBlockCoverage":true},{"functionName":"MaxBufferError","ranges":[{"startOffset":292,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"getStream","ranges":[{"startOffset":377,"endOffset":1223,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.buffer","ranges":[{"startOffset":1277,"endOffset":1349,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.array","ranges":[{"startOffset":1374,"endOffset":1439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"665","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/buffer-stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":894,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":92,"endOffset":892,"count":0}],"isBlockCoverage":false}]},{"scriptId":"666","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":885,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":76,"endOffset":884,"count":0}],"isBlockCoverage":false}]},{"scriptId":"667","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/unit/capabilities-test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5200,"count":1},{"startOffset":407,"endOffset":488,"count":0},{"startOffset":664,"endOffset":706,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":88,"endOffset":405,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":410,"endOffset":487,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":571,"endOffset":662,"count":0}],"isBlockCoverage":true},{"functionName":"__setModuleDefault","ranges":[{"startOffset":666,"endOffset":706,"count":0}],"isBlockCoverage":false},{"functionName":"__importStar","ranges":[{"startOffset":759,"endOffset":1039,"count":1},{"startOffset":818,"endOffset":1038,"count":0}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":1097,"endOffset":1178,"count":2},{"startOffset":1149,"endOffset":1154,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1569,"endOffset":1609,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1664,"endOffset":3910,"count":1}],"isBlockCoverage":true},{"functionName":"run","ranges":[{"startOffset":1719,"endOffset":2225,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3966,"endOffset":5152,"count":1}],"isBlockCoverage":true},{"functionName":"run","ranges":[{"startOffset":4021,"endOffset":4365,"count":1}],"isBlockCoverage":true}]},{"scriptId":"668","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/entrypoints/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":66,"count":1}],"isBlockCoverage":true}]},{"scriptId":"669","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":277,"count":1}],"isBlockCoverage":true}]},{"scriptId":"670","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/guard-environment.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1},{"startOffset":271,"endOffset":602,"count":0}],"isBlockCoverage":true}]},{"scriptId":"671","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":95,"count":1}],"isBlockCoverage":true}]},{"scriptId":"672","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/create-sinon-api.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1852,"count":1}],"isBlockCoverage":true},{"functionName":"createApi","ranges":[{"startOffset":603,"endOffset":1850,"count":1}],"isBlockCoverage":true},{"functionName":"addBehavior","ranges":[{"startOffset":1632,"endOffset":1713,"count":0}],"isBlockCoverage":false}]},{"scriptId":"673","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/behavior.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8357,"count":1}],"isBlockCoverage":true},{"functionName":"getCallback","ranges":[{"startOffset":581,"endOffset":1382,"count":0}],"isBlockCoverage":false},{"functionName":"getCallbackError","ranges":[{"startOffset":1384,"endOffset":2109,"count":0}],"isBlockCoverage":false},{"functionName":"ensureArgs","ranges":[{"startOffset":2111,"endOffset":2527,"count":0}],"isBlockCoverage":false},{"functionName":"callCallback","ranges":[{"startOffset":2529,"endOffset":3263,"count":2},{"startOffset":2617,"endOffset":3238,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2903,"endOffset":3071,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":3293,"endOffset":3692,"count":2},{"startOffset":3534,"endOffset":3572,"count":0},{"startOffset":3574,"endOffset":3660,"count":0}],"isBlockCoverage":true},{"functionName":"isPresent","ranges":[{"startOffset":3710,"endOffset":4165,"count":0}],"isBlockCoverage":false},{"functionName":"invoke","ranges":[{"startOffset":4221,"endOffset":6665,"count":2},{"startOffset":4540,"endOffset":4585,"count":0},{"startOffset":4618,"endOffset":4764,"count":0},{"startOffset":4812,"endOffset":4916,"count":0},{"startOffset":4943,"endOffset":4982,"count":0},{"startOffset":5029,"endOffset":5130,"count":0},{"startOffset":5153,"endOffset":5217,"count":0},{"startOffset":5266,"endOffset":5445,"count":0},{"startOffset":5473,"endOffset":5554,"count":0},{"startOffset":5578,"endOffset":5668,"count":0},{"startOffset":5691,"endOffset":5780,"count":0},{"startOffset":5809,"endOffset":5941,"count":0},{"startOffset":5977,"endOffset":6437,"count":0},{"startOffset":6536,"endOffset":6664,"count":0}],"isBlockCoverage":true},{"functionName":"effectiveWrappedMethod","ranges":[{"startOffset":6696,"endOffset":6969,"count":0}],"isBlockCoverage":false},{"functionName":"onCall","ranges":[{"startOffset":6984,"endOffset":7054,"count":0}],"isBlockCoverage":false},{"functionName":"onFirstCall","ranges":[{"startOffset":7074,"endOffset":7144,"count":0}],"isBlockCoverage":false},{"functionName":"onSecondCall","ranges":[{"startOffset":7165,"endOffset":7237,"count":0}],"isBlockCoverage":false},{"functionName":"onThirdCall","ranges":[{"startOffset":7257,"endOffset":7327,"count":0}],"isBlockCoverage":false},{"functionName":"withArgs","ranges":[{"startOffset":7344,"endOffset":7659,"count":0}],"isBlockCoverage":false},{"functionName":"createBehavior","ranges":[{"startOffset":7665,"endOffset":7956,"count":35}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7718,"endOffset":7953,"count":2}],"isBlockCoverage":true},{"functionName":"addBehavior","ranges":[{"startOffset":7958,"endOffset":8169,"count":35}],"isBlockCoverage":true},{"functionName":"proto.","ranges":[{"startOffset":8015,"endOffset":8126,"count":2},{"startOffset":8112,"endOffset":8119,"count":0}],"isBlockCoverage":true}]},{"scriptId":"674","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":457,"count":1}],"isBlockCoverage":true}]},{"scriptId":"675","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":386,"count":1},{"startOffset":216,"endOffset":353,"count":0}],"isBlockCoverage":true}]},{"scriptId":"676","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/called-in-order.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1445,"count":1}],"isBlockCoverage":true},{"functionName":"hasCallsLeft","ranges":[{"startOffset":85,"endOffset":245,"count":0}],"isBlockCoverage":false},{"functionName":"checkAdjacentCalls","ranges":[{"startOffset":267,"endOffset":602,"count":0}],"isBlockCoverage":false},{"functionName":"calledInOrder","ranges":[{"startOffset":1177,"endOffset":1411,"count":0}],"isBlockCoverage":false}]},{"scriptId":"677","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true}]},{"scriptId":"678","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype-methods.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1010,"count":1},{"startOffset":423,"endOffset":470,"count":0}],"isBlockCoverage":true},{"functionName":"copyPrototypeMethods","ranges":[{"startOffset":489,"endOffset":1008,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":671,"endOffset":979,"count":134},{"startOffset":768,"endOffset":806,"count":4},{"startOffset":806,"endOffset":859,"count":130},{"startOffset":859,"endOffset":897,"count":5},{"startOffset":897,"endOffset":978,"count":125}],"isBlockCoverage":true}]},{"scriptId":"679","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/throws-on-proto.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":749,"count":1},{"startOffset":488,"endOffset":715,"count":0}],"isBlockCoverage":true}]},{"scriptId":"680","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/class-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":921,"count":1}],"isBlockCoverage":true},{"functionName":"className","ranges":[{"startOffset":221,"endOffset":891,"count":0}],"isBlockCoverage":false}]},{"scriptId":"681","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/function-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":818,"count":1}],"isBlockCoverage":true},{"functionName":"functionName","ranges":[{"startOffset":132,"endOffset":816,"count":1},{"startOffset":177,"endOffset":203,"count":0},{"startOffset":286,"endOffset":639,"count":0},{"startOffset":657,"endOffset":814,"count":0}],"isBlockCoverage":true}]},{"scriptId":"682","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/deprecated.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1363,"count":1}],"isBlockCoverage":true},{"functionName":"exports.wrap","ranges":[{"startOffset":282,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"exports.defaultMsg","ranges":[{"startOffset":774,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"exports.printWarning","ranges":[{"startOffset":1080,"endOffset":1361,"count":0}],"isBlockCoverage":false}]},{"scriptId":"683","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/every.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":666,"count":1}],"isBlockCoverage":true},{"functionName":"every","ranges":[{"startOffset":241,"endOffset":664,"count":0}],"isBlockCoverage":false}]},{"scriptId":"684","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/order-by-first-call.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":817,"count":1}],"isBlockCoverage":true},{"functionName":"comparator","ranges":[{"startOffset":132,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"orderByFirstCall","ranges":[{"startOffset":701,"endOffset":780,"count":0}],"isBlockCoverage":false}]},{"scriptId":"685","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":225,"count":1}],"isBlockCoverage":true}]},{"scriptId":"686","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":125,"count":1}],"isBlockCoverage":true}]},{"scriptId":"687","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"688","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"689","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"690","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"691","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/type-of.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":266,"count":1}],"isBlockCoverage":true},{"functionName":"typeOf","ranges":[{"startOffset":200,"endOffset":264,"count":0}],"isBlockCoverage":false}]},{"scriptId":"692","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/type-detect/type-detect.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15484,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1,"endOffset":222,"count":1},{"startOffset":121,"endOffset":219,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":230,"endOffset":15479,"count":1},{"startOffset":483,"endOffset":489,"count":0}],"isBlockCoverage":true},{"functionName":"typeDetect","ranges":[{"startOffset":2073,"endOffset":15456,"count":34},{"startOffset":2928,"endOffset":2955,"count":30},{"startOffset":2955,"endOffset":3174,"count":4},{"startOffset":3174,"endOffset":3198,"count":0},{"startOffset":3198,"endOffset":3906,"count":4},{"startOffset":3906,"endOffset":3932,"count":0},{"startOffset":3932,"endOffset":4234,"count":4},{"startOffset":4239,"endOffset":4264,"count":4},{"startOffset":4264,"endOffset":4470,"count":0},{"startOffset":4472,"endOffset":10539,"count":0},{"startOffset":10579,"endOffset":11817,"count":0},{"startOffset":11819,"endOffset":12087,"count":0},{"startOffset":12089,"endOffset":12353,"count":0},{"startOffset":12355,"endOffset":12627,"count":0},{"startOffset":12629,"endOffset":12905,"count":0},{"startOffset":12907,"endOffset":13323,"count":0},{"startOffset":13325,"endOffset":13739,"count":0},{"startOffset":13741,"endOffset":14159,"count":0},{"startOffset":14161,"endOffset":14599,"count":0},{"startOffset":14601,"endOffset":15046,"count":0},{"startOffset":15048,"endOffset":15455,"count":0}],"isBlockCoverage":true}]},{"scriptId":"693","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/value-to-string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"valueToString","ranges":[{"startOffset":116,"endOffset":336,"count":0}],"isBlockCoverage":false}]},{"scriptId":"694","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/extend.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5018,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":360,"endOffset":1294,"count":1},{"startOffset":1149,"endOffset":1246,"count":10}],"isBlockCoverage":true},{"functionName":"constructor","ranges":[{"startOffset":413,"endOffset":460,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":480,"endOffset":527,"count":1}],"isBlockCoverage":true},{"functionName":"valueOf","ranges":[{"startOffset":546,"endOffset":593,"count":1}],"isBlockCoverage":true},{"functionName":"toLocaleString","ranges":[{"startOffset":619,"endOffset":666,"count":1}],"isBlockCoverage":true},{"functionName":"prototype","ranges":[{"startOffset":687,"endOffset":734,"count":1}],"isBlockCoverage":true},{"functionName":"isPrototypeOf","ranges":[{"startOffset":759,"endOffset":806,"count":1}],"isBlockCoverage":true},{"functionName":"propertyIsEnumerable","ranges":[{"startOffset":838,"endOffset":885,"count":1}],"isBlockCoverage":true},{"functionName":"hasOwnProperty","ranges":[{"startOffset":911,"endOffset":958,"count":1}],"isBlockCoverage":true},{"functionName":"length","ranges":[{"startOffset":976,"endOffset":1023,"count":1}],"isBlockCoverage":true},{"functionName":"unique","ranges":[{"startOffset":1041,"endOffset":1088,"count":1}],"isBlockCoverage":true},{"functionName":"extendCommon","ranges":[{"startOffset":1386,"endOffset":2115,"count":16},{"startOffset":1502,"endOffset":2093,"count":18},{"startOffset":1563,"endOffset":1682,"count":296},{"startOffset":1918,"endOffset":1967,"count":0},{"startOffset":1968,"endOffset":2018,"count":0},{"startOffset":2029,"endOffset":2087,"count":0}],"isBlockCoverage":true},{"functionName":"extend","ranges":[{"startOffset":2500,"endOffset":4246,"count":8}],"isBlockCoverage":true},{"functionName":"copyValue","ranges":[{"startOffset":2604,"endOffset":4236,"count":166},{"startOffset":2958,"endOffset":2996,"count":0},{"startOffset":2998,"endOffset":3037,"count":0},{"startOffset":3787,"endOffset":4166,"count":0}],"isBlockCoverage":true},{"functionName":"extendNonEnum","ranges":[{"startOffset":4638,"endOffset":5016,"count":8}],"isBlockCoverage":true},{"functionName":"copyProperty","ranges":[{"startOffset":4749,"endOffset":5006,"count":130}],"isBlockCoverage":true}]},{"scriptId":"695","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/next-tick.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":200,"count":1}],"isBlockCoverage":true}]},{"scriptId":"696","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/get-next-tick.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":430,"count":1}],"isBlockCoverage":true},{"functionName":"nextTick","ranges":[{"startOffset":78,"endOffset":138,"count":0}],"isBlockCoverage":false},{"functionName":"getNextTick","ranges":[{"startOffset":157,"endOffset":428,"count":1},{"startOffset":322,"endOffset":427,"count":0}],"isBlockCoverage":true}]},{"scriptId":"697","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/export-async-behaviors.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":825,"count":1}],"isBlockCoverage":true},{"functionName":"exportAsyncBehaviors","ranges":[{"startOffset":132,"endOffset":823,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":246,"endOffset":801,"count":37},{"startOffset":416,"endOffset":441,"count":9},{"startOffset":443,"endOffset":767,"count":9}],"isBlockCoverage":true},{"functionName":"acc.","ranges":[{"startOffset":485,"endOffset":752,"count":0}],"isBlockCoverage":false}]},{"scriptId":"698","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/create-sandbox.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3309,"count":1}],"isBlockCoverage":true},{"functionName":"prepareSandboxFromConfig","ranges":[{"startOffset":186,"endOffset":741,"count":0}],"isBlockCoverage":false},{"functionName":"exposeValue","ranges":[{"startOffset":743,"endOffset":1032,"count":0}],"isBlockCoverage":false},{"functionName":"createSandbox","ranges":[{"startOffset":2546,"endOffset":3275,"count":0}],"isBlockCoverage":false}]},{"scriptId":"699","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/sandbox.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15328,"count":1}],"isBlockCoverage":true},{"functionName":"applyOnEach","ranges":[{"startOffset":1113,"endOffset":1347,"count":0}],"isBlockCoverage":false},{"functionName":"throwOnAccessors","ranges":[{"startOffset":1349,"endOffset":1651,"count":0}],"isBlockCoverage":false},{"functionName":"verifySameType","ranges":[{"startOffset":1653,"endOffset":1929,"count":0}],"isBlockCoverage":false},{"functionName":"checkForValidArguments","ranges":[{"startOffset":1931,"endOffset":2368,"count":0}],"isBlockCoverage":false},{"functionName":"Sandbox","ranges":[{"startOffset":2505,"endOffset":15266,"count":1}],"isBlockCoverage":true},{"functionName":"addToCollection","ranges":[{"startOffset":2779,"endOffset":3266,"count":1},{"startOffset":2888,"endOffset":2921,"count":0},{"startOffset":2932,"endOffset":3260,"count":0}],"isBlockCoverage":true},{"functionName":"getFakes","ranges":[{"startOffset":3435,"endOffset":3489,"count":0}],"isBlockCoverage":false},{"functionName":"createStubInstance","ranges":[{"startOffset":3525,"endOffset":3865,"count":0}],"isBlockCoverage":false},{"functionName":"inject","ranges":[{"startOffset":3889,"endOffset":5162,"count":0}],"isBlockCoverage":false},{"functionName":"mock","ranges":[{"startOffset":5184,"endOffset":5349,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":5372,"endOffset":5487,"count":0}],"isBlockCoverage":false},{"functionName":"resetBehavior","ranges":[{"startOffset":5518,"endOffset":5600,"count":0}],"isBlockCoverage":false},{"functionName":"resetHistory","ranges":[{"startOffset":5630,"endOffset":5890,"count":0}],"isBlockCoverage":false},{"functionName":"restore","ranges":[{"startOffset":5915,"endOffset":6379,"count":0}],"isBlockCoverage":false},{"functionName":"restoreContext","ranges":[{"startOffset":6411,"endOffset":6681,"count":0}],"isBlockCoverage":false},{"functionName":"getFakeRestorer","ranges":[{"startOffset":6919,"endOffset":7507,"count":0}],"isBlockCoverage":false},{"functionName":"verifyNotReplaced","ranges":[{"startOffset":7513,"endOffset":7920,"count":0}],"isBlockCoverage":false},{"functionName":"replace","ranges":[{"startOffset":8161,"endOffset":8689,"count":0}],"isBlockCoverage":false},{"functionName":"replaceUsingAccessor","ranges":[{"startOffset":8728,"endOffset":9268,"count":0}],"isBlockCoverage":false},{"functionName":"define","ranges":[{"startOffset":9292,"endOffset":10021,"count":0}],"isBlockCoverage":false},{"functionName":"replaceGetter","ranges":[{"startOffset":10052,"endOffset":11110,"count":0}],"isBlockCoverage":false},{"functionName":"replaceSetter","ranges":[{"startOffset":11141,"endOffset":12250,"count":0}],"isBlockCoverage":false},{"functionName":"commonPostInitSetup","ranges":[{"startOffset":12257,"endOffset":13080,"count":1},{"startOffset":12431,"endOffset":12460,"count":0},{"startOffset":12499,"endOffset":12731,"count":0},{"startOffset":12763,"endOffset":12954,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12589,"endOffset":12663,"count":0}],"isBlockCoverage":false},{"functionName":"spy","ranges":[{"startOffset":13100,"endOffset":13245,"count":0}],"isBlockCoverage":false},{"functionName":"stub","ranges":[{"startOffset":13267,"endOffset":13417,"count":1}],"isBlockCoverage":true},{"functionName":"fake","ranges":[{"startOffset":13486,"endOffset":13615,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13654,"endOffset":13977,"count":7}],"isBlockCoverage":true},{"functionName":"sandbox.fake.","ranges":[{"startOffset":13798,"endOffset":13960,"count":0}],"isBlockCoverage":false},{"functionName":"useFakeTimers","ranges":[{"startOffset":14009,"endOffset":14197,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":14221,"endOffset":14289,"count":0}],"isBlockCoverage":false},{"functionName":"verifyAndRestore","ranges":[{"startOffset":14323,"endOffset":14578,"count":0}],"isBlockCoverage":false},{"functionName":"useFakeServer","ranges":[{"startOffset":14609,"endOffset":14892,"count":0}],"isBlockCoverage":false},{"functionName":"useFakeXMLHttpRequest","ranges":[{"startOffset":14931,"endOffset":15074,"count":0}],"isBlockCoverage":false},{"functionName":"usingPromise","ranges":[{"startOffset":15104,"endOffset":15263,"count":0}],"isBlockCoverage":false}]},{"scriptId":"700","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/collect-own-methods.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":787,"count":1}],"isBlockCoverage":true},{"functionName":"collectMethod","ranges":[{"startOffset":289,"endOffset":524,"count":0}],"isBlockCoverage":false},{"functionName":"collectOwnMethods","ranges":[{"startOffset":604,"endOffset":749,"count":0}],"isBlockCoverage":false}]},{"scriptId":"701","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/walk.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1830,"count":1}],"isBlockCoverage":true},{"functionName":"walkInternal","ranges":[{"startOffset":86,"endOffset":1078,"count":0}],"isBlockCoverage":false},{"functionName":"walk","ranges":[{"startOffset":1729,"endOffset":1828,"count":0}],"isBlockCoverage":false}]},{"scriptId":"702","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/get-property-descriptor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1367,"count":1}],"isBlockCoverage":true},{"functionName":"getPropertyDescriptor","ranges":[{"startOffset":876,"endOffset":1325,"count":3},{"startOffset":1183,"endOffset":1236,"count":0}],"isBlockCoverage":true}]},{"scriptId":"703","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/is-property-configurable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":319,"count":1}],"isBlockCoverage":true},{"functionName":"isPropertyConfigurable","ranges":[{"startOffset":84,"endOffset":276,"count":0}],"isBlockCoverage":false}]},{"scriptId":"704","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/samsam.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":665,"count":1}],"isBlockCoverage":true}]},{"scriptId":"705","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/identical.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1000,"count":1}],"isBlockCoverage":true},{"functionName":"identical","ranges":[{"startOffset":788,"endOffset":970,"count":4},{"startOffset":843,"endOffset":874,"count":0},{"startOffset":904,"endOffset":942,"count":0},{"startOffset":949,"endOffset":969,"count":0}],"isBlockCoverage":true}]},{"scriptId":"706","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-nan.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":466,"count":1}],"isBlockCoverage":true},{"functionName":"isNaN","ranges":[{"startOffset":167,"endOffset":440,"count":8},{"startOffset":419,"endOffset":437,"count":0}],"isBlockCoverage":true}]},{"scriptId":"707","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-neg-zero.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":306,"count":1}],"isBlockCoverage":true},{"functionName":"isNegZero","ranges":[{"startOffset":196,"endOffset":276,"count":0}],"isBlockCoverage":false}]},{"scriptId":"708","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-arguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":402,"count":1}],"isBlockCoverage":true},{"functionName":"isArguments","ranges":[{"startOffset":293,"endOffset":370,"count":8}],"isBlockCoverage":true}]},{"scriptId":"709","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/get-class.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":499,"count":1}],"isBlockCoverage":true},{"functionName":"getClass","ranges":[{"startOffset":396,"endOffset":470,"count":16}],"isBlockCoverage":true}]},{"scriptId":"710","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":457,"count":1}],"isBlockCoverage":true}]},{"scriptId":"711","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":386,"count":1},{"startOffset":216,"endOffset":353,"count":0}],"isBlockCoverage":true}]},{"scriptId":"712","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/called-in-order.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1445,"count":1}],"isBlockCoverage":true},{"functionName":"hasCallsLeft","ranges":[{"startOffset":85,"endOffset":245,"count":0}],"isBlockCoverage":false},{"functionName":"checkAdjacentCalls","ranges":[{"startOffset":267,"endOffset":602,"count":0}],"isBlockCoverage":false},{"functionName":"calledInOrder","ranges":[{"startOffset":1177,"endOffset":1411,"count":0}],"isBlockCoverage":false}]},{"scriptId":"713","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true}]},{"scriptId":"714","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype-methods.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1010,"count":1},{"startOffset":423,"endOffset":470,"count":0}],"isBlockCoverage":true},{"functionName":"copyPrototypeMethods","ranges":[{"startOffset":489,"endOffset":1008,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":671,"endOffset":979,"count":134},{"startOffset":768,"endOffset":806,"count":4},{"startOffset":806,"endOffset":859,"count":130},{"startOffset":859,"endOffset":897,"count":5},{"startOffset":897,"endOffset":978,"count":125}],"isBlockCoverage":true}]},{"scriptId":"715","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/throws-on-proto.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":749,"count":1},{"startOffset":488,"endOffset":715,"count":0}],"isBlockCoverage":true}]},{"scriptId":"716","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/class-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":921,"count":1}],"isBlockCoverage":true},{"functionName":"className","ranges":[{"startOffset":221,"endOffset":891,"count":8},{"startOffset":316,"endOffset":866,"count":0},{"startOffset":867,"endOffset":882,"count":0}],"isBlockCoverage":true}]},{"scriptId":"717","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/function-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":818,"count":1}],"isBlockCoverage":true},{"functionName":"functionName","ranges":[{"startOffset":132,"endOffset":816,"count":40},{"startOffset":177,"endOffset":203,"count":0},{"startOffset":286,"endOffset":639,"count":0},{"startOffset":657,"endOffset":814,"count":0}],"isBlockCoverage":true}]},{"scriptId":"718","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/deprecated.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1363,"count":1}],"isBlockCoverage":true},{"functionName":"exports.wrap","ranges":[{"startOffset":282,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"exports.defaultMsg","ranges":[{"startOffset":774,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"exports.printWarning","ranges":[{"startOffset":1080,"endOffset":1361,"count":0}],"isBlockCoverage":false}]},{"scriptId":"719","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/every.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":666,"count":1}],"isBlockCoverage":true},{"functionName":"every","ranges":[{"startOffset":241,"endOffset":664,"count":0}],"isBlockCoverage":false}]},{"scriptId":"720","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/order-by-first-call.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":817,"count":1}],"isBlockCoverage":true},{"functionName":"comparator","ranges":[{"startOffset":132,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"orderByFirstCall","ranges":[{"startOffset":701,"endOffset":780,"count":0}],"isBlockCoverage":false}]},{"scriptId":"721","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":225,"count":1}],"isBlockCoverage":true}]},{"scriptId":"722","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":125,"count":1}],"isBlockCoverage":true}]},{"scriptId":"723","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"724","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"725","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"726","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"727","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/type-of.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":266,"count":1}],"isBlockCoverage":true},{"functionName":"typeOf","ranges":[{"startOffset":200,"endOffset":264,"count":30}],"isBlockCoverage":true}]},{"scriptId":"728","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/value-to-string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"valueToString","ranges":[{"startOffset":116,"endOffset":336,"count":0}],"isBlockCoverage":false}]},{"scriptId":"729","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-element.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":769,"count":1},{"startOffset":57,"endOffset":89,"count":0}],"isBlockCoverage":true},{"functionName":"isElement","ranges":[{"startOffset":490,"endOffset":739,"count":8},{"startOffset":560,"endOffset":567,"count":0},{"startOffset":598,"endOffset":738,"count":0}],"isBlockCoverage":true}]},{"scriptId":"730","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":391,"count":1}],"isBlockCoverage":true},{"functionName":"isSet","ranges":[{"startOffset":270,"endOffset":365,"count":8}],"isBlockCoverage":true}]},{"scriptId":"731","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":316,"count":1}],"isBlockCoverage":true},{"functionName":"isMap","ranges":[{"startOffset":202,"endOffset":290,"count":8}],"isBlockCoverage":true}]},{"scriptId":"732","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/match.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5517,"count":1}],"isBlockCoverage":true},{"functionName":"arrayContains","ranges":[{"startOffset":874,"endOffset":1419,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":1733,"endOffset":5365,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5434,"endOffset":5489,"count":26}],"isBlockCoverage":true}]},{"scriptId":"733","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/deep-equal.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11169,"count":1}],"isBlockCoverage":true},{"functionName":"deepEqualCyclic","ranges":[{"startOffset":1867,"endOffset":10998,"count":2}],"isBlockCoverage":true},{"functionName":"deepEqual","ranges":[{"startOffset":2489,"endOffset":10961,"count":8},{"startOffset":2850,"endOffset":3025,"count":0},{"startOffset":3178,"endOffset":3209,"count":4},{"startOffset":3210,"endOffset":3246,"count":4},{"startOffset":3247,"endOffset":3280,"count":4},{"startOffset":3281,"endOffset":3319,"count":4},{"startOffset":3320,"endOffset":3358,"count":4},{"startOffset":3359,"endOffset":3402,"count":4},{"startOffset":3403,"endOffset":3441,"count":4},{"startOffset":3442,"endOffset":3485,"count":4},{"startOffset":3496,"endOffset":3693,"count":4},{"startOffset":3695,"endOffset":3732,"count":0},{"startOffset":3732,"endOffset":3881,"count":4},{"startOffset":3883,"endOffset":4115,"count":0},{"startOffset":4115,"endOffset":4157,"count":4},{"startOffset":4157,"endOffset":4192,"count":0},{"startOffset":4194,"endOffset":4327,"count":0},{"startOffset":4327,"endOffset":4370,"count":4},{"startOffset":4370,"endOffset":4406,"count":0},{"startOffset":4408,"endOffset":4468,"count":0},{"startOffset":4468,"endOffset":4509,"count":4},{"startOffset":4509,"endOffset":4543,"count":0},{"startOffset":4545,"endOffset":4605,"count":0},{"startOffset":4605,"endOffset":5054,"count":4},{"startOffset":5071,"endOffset":5184,"count":0},{"startOffset":5341,"endOffset":5371,"count":4},{"startOffset":5373,"endOffset":5490,"count":0},{"startOffset":5490,"endOffset":5872,"count":4},{"startOffset":5817,"endOffset":5862,"count":0},{"startOffset":5872,"endOffset":5927,"count":4},{"startOffset":5929,"endOffset":6219,"count":0},{"startOffset":6219,"endOffset":6274,"count":4},{"startOffset":6276,"endOffset":6792,"count":0},{"startOffset":6792,"endOffset":7302,"count":4},{"startOffset":7303,"endOffset":7352,"count":0},{"startOffset":7363,"endOffset":7423,"count":0},{"startOffset":7423,"endOffset":7498,"count":4},{"startOffset":7498,"endOffset":7536,"count":2},{"startOffset":7537,"endOffset":7575,"count":0},{"startOffset":7660,"endOffset":7703,"count":2},{"startOffset":7704,"endOffset":7747,"count":0},{"startOffset":7786,"endOffset":7818,"count":4},{"startOffset":7820,"endOffset":8358,"count":0},{"startOffset":8358,"endOffset":10960,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6564,"endOffset":6743,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8122,"endOffset":8307,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8408,"endOffset":10953,"count":6},{"startOffset":8474,"endOffset":8519,"count":0},{"startOffset":8981,"endOffset":9018,"count":2},{"startOffset":9035,"endOffset":9039,"count":4},{"startOffset":9110,"endOffset":9157,"count":2},{"startOffset":9174,"endOffset":9178,"count":4},{"startOffset":9499,"endOffset":9525,"count":0},{"startOffset":9686,"endOffset":9722,"count":0},{"startOffset":9969,"endOffset":10013,"count":0},{"startOffset":10127,"endOffset":10242,"count":2},{"startOffset":10305,"endOffset":10440,"count":2},{"startOffset":10541,"endOffset":10561,"count":2},{"startOffset":10563,"endOffset":10625,"count":2}],"isBlockCoverage":true},{"functionName":"deepEqualCyclic.use","ranges":[{"startOffset":11022,"endOffset":11132,"count":3}],"isBlockCoverage":true},{"functionName":"deepEqual","ranges":[{"startOffset":11052,"endOffset":11129,"count":2}],"isBlockCoverage":true}]},{"scriptId":"734","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-array-type.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":619,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayType","ranges":[{"startOffset":482,"endOffset":587,"count":4}],"isBlockCoverage":true}]},{"scriptId":"735","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/array-types.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":236,"count":1}],"isBlockCoverage":true}]},{"scriptId":"736","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-date.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":294,"count":1}],"isBlockCoverage":true},{"functionName":"isDate","ranges":[{"startOffset":207,"endOffset":267,"count":8}],"isBlockCoverage":true}]},{"scriptId":"737","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-iterable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":475,"count":1}],"isBlockCoverage":true},{"functionName":"isIterable","ranges":[{"startOffset":261,"endOffset":444,"count":8},{"startOffset":358,"endOffset":387,"count":0}],"isBlockCoverage":true}]},{"scriptId":"738","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":965,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":530,"endOffset":936,"count":12},{"startOffset":604,"endOffset":629,"count":4},{"startOffset":630,"endOffset":740,"count":4},{"startOffset":741,"endOffset":776,"count":4},{"startOffset":777,"endOffset":813,"count":4},{"startOffset":814,"endOffset":851,"count":4},{"startOffset":852,"endOffset":889,"count":4},{"startOffset":890,"endOffset":927,"count":4}],"isBlockCoverage":true}]},{"scriptId":"739","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-subset.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":871,"count":1}],"isBlockCoverage":true},{"functionName":"isSubset","ranges":[{"startOffset":500,"endOffset":842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"740","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12259,"count":1}],"isBlockCoverage":true},{"functionName":"createMatcher","ranges":[{"startOffset":1455,"endOffset":2406,"count":15},{"startOffset":1646,"endOffset":1712,"count":0},{"startOffset":1744,"endOffset":1861,"count":0},{"startOffset":1945,"endOffset":2057,"count":0},{"startOffset":2079,"endOffset":2146,"count":0}],"isBlockCoverage":true},{"functionName":"m.test","ranges":[{"startOffset":1970,"endOffset":2050,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2480,"endOffset":2512,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2561,"endOffset":2634,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2686,"endOffset":2735,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2785,"endOffset":2826,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.same","ranges":[{"startOffset":2860,"endOffset":3017,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.in","ranges":[{"startOffset":3039,"endOffset":3397,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.typeOf","ranges":[{"startOffset":3423,"endOffset":3596,"count":11}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3506,"endOffset":3571,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.instanceOf","ranges":[{"startOffset":3626,"endOffset":4144,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyMatcher","ranges":[{"startOffset":4400,"endOffset":5125,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4473,"endOffset":5122,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5169,"endOffset":5322,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5378,"endOffset":5454,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.hasNested","ranges":[{"startOffset":5494,"endOffset":6073,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.json","ranges":[{"startOffset":6235,"endOffset":6682,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.every","ranges":[{"startOffset":6707,"endOffset":7203,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.some","ranges":[{"startOffset":7227,"endOffset":7726,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.array.deepEquals","ranges":[{"startOffset":7816,"endOffset":8561,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.array.startsWith","ranges":[{"startOffset":8597,"endOffset":8936,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.array.endsWith","ranges":[{"startOffset":8970,"endOffset":9444,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.array.contains","ranges":[{"startOffset":9478,"endOffset":9819,"count":0}],"isBlockCoverage":false},{"functionName":"mapDeepEquals","ranges":[{"startOffset":9903,"endOffset":10454,"count":0}],"isBlockCoverage":false},{"functionName":"mapContains","ranges":[{"startOffset":10486,"endOffset":10838,"count":0}],"isBlockCoverage":false},{"functionName":"setDeepEquals","ranges":[{"startOffset":10922,"endOffset":11436,"count":0}],"isBlockCoverage":false},{"functionName":"setContains","ranges":[{"startOffset":11468,"endOffset":11788,"count":0}],"isBlockCoverage":false}]},{"scriptId":"741","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash.get/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":23398,"count":1},{"startOffset":1708,"endOffset":1715,"count":0},{"startOffset":1716,"endOffset":1741,"count":0},{"startOffset":1742,"endOffset":1749,"count":0},{"startOffset":1823,"endOffset":1834,"count":0},{"startOffset":1835,"endOffset":1863,"count":0},{"startOffset":4115,"endOffset":4126,"count":0},{"startOffset":4184,"endOffset":4195,"count":0}],"isBlockCoverage":true},{"functionName":"getValue","ranges":[{"startOffset":2077,"endOffset":2162,"count":2},{"startOffset":2134,"endOffset":2145,"count":0}],"isBlockCoverage":true},{"functionName":"isHostObject","ranges":[{"startOffset":2356,"endOffset":2683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3004,"endOffset":3156,"count":1},{"startOffset":3054,"endOffset":3072,"count":0},{"startOffset":3073,"endOffset":3100,"count":0},{"startOffset":3122,"endOffset":3148,"count":0}],"isBlockCoverage":true},{"functionName":"Hash","ranges":[{"startOffset":4321,"endOffset":4526,"count":2},{"startOffset":4387,"endOffset":4403,"count":0},{"startOffset":4453,"endOffset":4524,"count":0}],"isBlockCoverage":true},{"functionName":"hashClear","ranges":[{"startOffset":4632,"endOffset":4714,"count":2},{"startOffset":4707,"endOffset":4711,"count":0}],"isBlockCoverage":true},{"functionName":"hashDelete","ranges":[{"startOffset":4995,"endOffset":5076,"count":0}],"isBlockCoverage":false},{"functionName":"hashGet","ranges":[{"startOffset":5259,"endOffset":5490,"count":0}],"isBlockCoverage":false},{"functionName":"hashHas","ranges":[{"startOffset":5725,"endOffset":5860,"count":0}],"isBlockCoverage":false},{"functionName":"hashSet","ranges":[{"startOffset":6089,"endOffset":6242,"count":0}],"isBlockCoverage":false},{"functionName":"ListCache","ranges":[{"startOffset":6564,"endOffset":6774,"count":0}],"isBlockCoverage":false},{"functionName":"listCacheClear","ranges":[{"startOffset":6891,"endOffset":6942,"count":0}],"isBlockCoverage":false},{"functionName":"listCacheDelete","ranges":[{"startOffset":7190,"endOffset":7474,"count":0}],"isBlockCoverage":false},{"functionName":"listCacheGet","ranges":[{"startOffset":7668,"endOffset":7815,"count":0}],"isBlockCoverage":false},{"functionName":"listCacheHas","ranges":[{"startOffset":8061,"endOffset":8139,"count":0}],"isBlockCoverage":false},{"functionName":"listCacheSet","ranges":[{"startOffset":8385,"endOffset":8596,"count":0}],"isBlockCoverage":false},{"functionName":"MapCache","ranges":[{"startOffset":8996,"endOffset":9205,"count":1},{"startOffset":9066,"endOffset":9082,"count":0},{"startOffset":9132,"endOffset":9203,"count":0}],"isBlockCoverage":true},{"functionName":"mapCacheClear","ranges":[{"startOffset":9314,"endOffset":9447,"count":1},{"startOffset":9403,"endOffset":9415,"count":0}],"isBlockCoverage":true},{"functionName":"mapCacheDelete","ranges":[{"startOffset":9687,"endOffset":9766,"count":0}],"isBlockCoverage":false},{"functionName":"mapCacheGet","ranges":[{"startOffset":9952,"endOffset":10022,"count":0}],"isBlockCoverage":false},{"functionName":"mapCacheHas","ranges":[{"startOffset":10260,"endOffset":10330,"count":0}],"isBlockCoverage":false},{"functionName":"mapCacheSet","ranges":[{"startOffset":10567,"endOffset":10659,"count":0}],"isBlockCoverage":false},{"functionName":"assocIndexOf","ranges":[{"startOffset":11154,"endOffset":11322,"count":0}],"isBlockCoverage":false},{"functionName":"baseGet","ranges":[{"startOffset":11575,"endOffset":11862,"count":0}],"isBlockCoverage":false},{"functionName":"baseIsNative","ranges":[{"startOffset":12083,"endOffset":12310,"count":2},{"startOffset":12157,"endOffset":12180,"count":0},{"startOffset":12216,"endOffset":12238,"count":0},{"startOffset":12253,"endOffset":12267,"count":0}],"isBlockCoverage":true},{"functionName":"baseToString","ranges":[{"startOffset":12519,"endOffset":12873,"count":0}],"isBlockCoverage":false},{"functionName":"castPath","ranges":[{"startOffset":13048,"endOffset":13131,"count":0}],"isBlockCoverage":false},{"functionName":"getMapData","ranges":[{"startOffset":13305,"endOffset":13460,"count":0}],"isBlockCoverage":false},{"functionName":"getNative","ranges":[{"startOffset":13706,"endOffset":13828,"count":2},{"startOffset":13814,"endOffset":13825,"count":0}],"isBlockCoverage":true},{"functionName":"isKey","ranges":[{"startOffset":14097,"endOffset":14449,"count":0}],"isBlockCoverage":false},{"functionName":"isKeyable","ranges":[{"startOffset":14652,"endOffset":14851,"count":0}],"isBlockCoverage":false},{"functionName":"isMasked","ranges":[{"startOffset":15040,"endOffset":15114,"count":2},{"startOffset":15088,"endOffset":15111,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15315,"endOffset":15618,"count":0}],"isBlockCoverage":false},{"functionName":"toKey","ranges":[{"startOffset":15800,"endOffset":15999,"count":0}],"isBlockCoverage":false},{"functionName":"toSource","ranges":[{"startOffset":16160,"endOffset":16348,"count":2},{"startOffset":16262,"endOffset":16329,"count":0},{"startOffset":16333,"endOffset":16347,"count":0}],"isBlockCoverage":true},{"functionName":"memoize","ranges":[{"startOffset":17795,"endOffset":18353,"count":1},{"startOffset":17875,"endOffset":17907,"count":0},{"startOffset":17910,"endOffset":17957,"count":0}],"isBlockCoverage":true},{"functionName":"memoized","ranges":[{"startOffset":17975,"endOffset":18279,"count":0}],"isBlockCoverage":false},{"functionName":"eq","ranges":[{"startOffset":19095,"endOffset":19190,"count":0}],"isBlockCoverage":false},{"functionName":"isFunction","ranges":[{"startOffset":19992,"endOffset":20284,"count":2},{"startOffset":20235,"endOffset":20239,"count":0},{"startOffset":20265,"endOffset":20281,"count":0}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":20867,"endOffset":20984,"count":4}],"isBlockCoverage":true},{"functionName":"isObjectLike","ranges":[{"startOffset":21483,"endOffset":21561,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbol","ranges":[{"startOffset":21920,"endOffset":22055,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":22471,"endOffset":22550,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23208,"endOffset":23374,"count":0}],"isBlockCoverage":false}]},{"scriptId":"742","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/iterable-to-string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1876,"count":1}],"isBlockCoverage":true},{"functionName":"iterableToString","ranges":[{"startOffset":379,"endOffset":527,"count":0}],"isBlockCoverage":false},{"functionName":"mapToString","ranges":[{"startOffset":691,"endOffset":1030,"count":0}],"isBlockCoverage":false},{"functionName":"genericIterableToString","ranges":[{"startOffset":1214,"endOffset":1550,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":1738,"endOffset":1839,"count":0}],"isBlockCoverage":false}]},{"scriptId":"743","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/assert-matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":324,"count":1}],"isBlockCoverage":true},{"functionName":"assertMatcher","ranges":[{"startOffset":173,"endOffset":290,"count":0}],"isBlockCoverage":false}]},{"scriptId":"744","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/is-matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":437,"count":1}],"isBlockCoverage":true},{"functionName":"isMatcher","ranges":[{"startOffset":325,"endOffset":407,"count":8}],"isBlockCoverage":true}]},{"scriptId":"745","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/matcher-prototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1285,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":54,"endOffset":102,"count":0}],"isBlockCoverage":false},{"functionName":"matcherPrototype.or","ranges":[{"startOffset":130,"endOffset":673,"count":0}],"isBlockCoverage":false},{"functionName":"matcherPrototype.and","ranges":[{"startOffset":699,"endOffset":1247,"count":0}],"isBlockCoverage":false}]},{"scriptId":"746","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/assert-method-exists.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":637,"count":1}],"isBlockCoverage":true},{"functionName":"assertMethodExists","ranges":[{"startOffset":385,"endOffset":598,"count":0}],"isBlockCoverage":false}]},{"scriptId":"747","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/assert-type.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":643,"count":1}],"isBlockCoverage":true},{"functionName":"assertType","ranges":[{"startOffset":393,"endOffset":612,"count":11},{"startOffset":491,"endOffset":610,"count":0}],"isBlockCoverage":true}]},{"scriptId":"748","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/is-iterable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":360,"count":1}],"isBlockCoverage":true},{"functionName":"isIterable","ranges":[{"startOffset":232,"endOffset":329,"count":0}],"isBlockCoverage":false}]},{"scriptId":"749","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/type-map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2125,"count":1}],"isBlockCoverage":true},{"functionName":"createTypeMap","ranges":[{"startOffset":403,"endOffset":2090,"count":1}],"isBlockCoverage":true},{"functionName":"function","ranges":[{"startOffset":453,"endOffset":607,"count":15},{"startOffset":556,"endOffset":596,"count":0}],"isBlockCoverage":true},{"functionName":"number","ranges":[{"startOffset":625,"endOffset":840,"count":0}],"isBlockCoverage":false},{"functionName":"object","ranges":[{"startOffset":858,"endOffset":1572,"count":0}],"isBlockCoverage":false},{"functionName":"regexp","ranges":[{"startOffset":1590,"endOffset":1762,"count":0}],"isBlockCoverage":false},{"functionName":"string","ranges":[{"startOffset":1780,"endOffset":2080,"count":0}],"isBlockCoverage":false}]},{"scriptId":"750","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/match-object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1662,"count":1}],"isBlockCoverage":true},{"functionName":"matchObject","ranges":[{"startOffset":693,"endOffset":1630,"count":0}],"isBlockCoverage":false}]},{"scriptId":"751","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/assert.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10512,"count":1}],"isBlockCoverage":true},{"functionName":"applyDefaults","ranges":[{"startOffset":699,"endOffset":929,"count":2},{"startOffset":784,"endOffset":927,"count":4}],"isBlockCoverage":true},{"functionName":"createAssertObject","ranges":[{"startOffset":1312,"endOffset":10415,"count":2},{"startOffset":1386,"endOffset":1391,"count":1}],"isBlockCoverage":true},{"functionName":"fail","ranges":[{"startOffset":1591,"endOffset":2015,"count":0}],"isBlockCoverage":false},{"functionName":"pass","ranges":[{"startOffset":2032,"endOffset":2079,"count":0}],"isBlockCoverage":false},{"functionName":"assertCallOrder","ranges":[{"startOffset":2101,"endOffset":3090,"count":0}],"isBlockCoverage":false},{"functionName":"assertCallCount","ranges":[{"startOffset":3112,"endOffset":3775,"count":0}],"isBlockCoverage":false},{"functionName":"expose","ranges":[{"startOffset":3794,"endOffset":4581,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":4599,"endOffset":5095,"count":0}],"isBlockCoverage":false},{"functionName":"verifyIsStub","ranges":[{"startOffset":5109,"endOffset":5745,"count":0}],"isBlockCoverage":false},{"functionName":"verifyIsValidAssertion","ranges":[{"startOffset":5751,"endOffset":6386,"count":0}],"isBlockCoverage":false},{"functionName":"failAssertion","ranges":[{"startOffset":6392,"endOffset":6566,"count":0}],"isBlockCoverage":false},{"functionName":"mirrorPropAsAssertion","ranges":[{"startOffset":6572,"endOffset":7630,"count":42},{"startOffset":6718,"endOffset":6780,"count":40}],"isBlockCoverage":true},{"functionName":"assert.","ranges":[{"startOffset":6805,"endOffset":7623,"count":0}],"isBlockCoverage":false},{"functionName":"exposedName","ranges":[{"startOffset":7636,"endOffset":7863,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8051,"endOffset":8109,"count":0}],"isBlockCoverage":false}]},{"scriptId":"752","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/times-in-words.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":166,"count":1}],"isBlockCoverage":true},{"functionName":"timesInWords","ranges":[{"startOffset":82,"endOffset":164,"count":0}],"isBlockCoverage":false}]},{"scriptId":"753","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/fake-timers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2311,"count":1}],"isBlockCoverage":true},{"functionName":"createClock","ranges":[{"startOffset":301,"endOffset":611,"count":0}],"isBlockCoverage":false},{"functionName":"addIfDefined","ranges":[{"startOffset":663,"endOffset":855,"count":2}],"isBlockCoverage":true},{"functionName":"exports.useFakeTimers","ranges":[{"startOffset":1034,"endOffset":1942,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":1975,"endOffset":2041,"count":0}],"isBlockCoverage":false}]},{"scriptId":"754","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/fake-timers/src/fake-timers-src.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":61444,"count":1},{"startOffset":215,"endOffset":251,"count":0}],"isBlockCoverage":true},{"functionName":"withGlobal","ranges":[{"startOffset":5019,"endOffset":60963,"count":1},{"startOffset":6469,"endOffset":6531,"count":0},{"startOffset":6610,"endOffset":6671,"count":0},{"startOffset":6748,"endOffset":6808,"count":0},{"startOffset":6883,"endOffset":6942,"count":0},{"startOffset":33554,"endOffset":33631,"count":0},{"startOffset":33748,"endOffset":33823,"count":0},{"startOffset":33861,"endOffset":33934,"count":0},{"startOffset":33971,"endOffset":34042,"count":0},{"startOffset":34162,"endOffset":34183,"count":0}],"isBlockCoverage":true},{"functionName":"NOOP","ranges":[{"startOffset":5281,"endOffset":5326,"count":0}],"isBlockCoverage":false},{"functionName":"NOOP_ARRAY","ranges":[{"startOffset":5351,"endOffset":5389,"count":0}],"isBlockCoverage":false},{"functionName":"isNumberFinite","ranges":[{"startOffset":7357,"endOffset":7506,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsNearInfiniteLimit","ranges":[{"startOffset":7619,"endOffset":7780,"count":0}],"isBlockCoverage":false},{"functionName":"resetIsNearInfiniteLimit","ranges":[{"startOffset":7809,"endOffset":7889,"count":0}],"isBlockCoverage":false},{"functionName":"parseTime","ranges":[{"startOffset":8160,"endOffset":8850,"count":0}],"isBlockCoverage":false},{"functionName":"nanoRemainder","ranges":[{"startOffset":9142,"endOffset":9402,"count":0}],"isBlockCoverage":false},{"functionName":"getEpoch","ranges":[{"startOffset":9562,"endOffset":9898,"count":0}],"isBlockCoverage":false},{"functionName":"inRange","ranges":[{"startOffset":10028,"endOffset":10137,"count":0}],"isBlockCoverage":false},{"functionName":"getInfiniteLoopError","ranges":[{"startOffset":10213,"endOffset":12505,"count":0}],"isBlockCoverage":false},{"functionName":"mirrorDateProperties","ranges":[{"startOffset":12637,"endOffset":13715,"count":0}],"isBlockCoverage":false},{"functionName":"createDate","ranges":[{"startOffset":13772,"endOffset":15886,"count":0}],"isBlockCoverage":false},{"functionName":"createIntl","ranges":[{"startOffset":16196,"endOffset":17479,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueJob","ranges":[{"startOffset":17536,"endOffset":17743,"count":0}],"isBlockCoverage":false},{"functionName":"runJobs","ranges":[{"startOffset":17800,"endOffset":18341,"count":0}],"isBlockCoverage":false},{"functionName":"addTimer","ranges":[{"startOffset":18468,"endOffset":21316,"count":0}],"isBlockCoverage":false},{"functionName":"compareTimers","ranges":[{"startOffset":21484,"endOffset":22388,"count":0}],"isBlockCoverage":false},{"functionName":"firstTimerInRange","ranges":[{"startOffset":22516,"endOffset":23042,"count":0}],"isBlockCoverage":false},{"functionName":"firstTimer","ranges":[{"startOffset":23116,"endOffset":23481,"count":0}],"isBlockCoverage":false},{"functionName":"lastTimer","ranges":[{"startOffset":23555,"endOffset":23920,"count":0}],"isBlockCoverage":false},{"functionName":"callTimer","ranges":[{"startOffset":23998,"endOffset":24495,"count":0}],"isBlockCoverage":false},{"functionName":"getClearHandler","ranges":[{"startOffset":24607,"endOffset":24795,"count":0}],"isBlockCoverage":false},{"functionName":"getScheduleHandler","ranges":[{"startOffset":24910,"endOffset":25100,"count":0}],"isBlockCoverage":false},{"functionName":"createWarnOnce","ranges":[{"startOffset":25177,"endOffset":25359,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":25243,"endOffset":25352,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimer","ranges":[{"startOffset":25508,"endOffset":27411,"count":0}],"isBlockCoverage":false},{"functionName":"uninstall","ranges":[{"startOffset":27517,"endOffset":29956,"count":0}],"isBlockCoverage":false},{"functionName":"hijackMethod","ranges":[{"startOffset":30150,"endOffset":31852,"count":0}],"isBlockCoverage":false},{"functionName":"doIntervalTick","ranges":[{"startOffset":31942,"endOffset":32036,"count":0}],"isBlockCoverage":false},{"functionName":"createClock","ranges":[{"startOffset":34414,"endOffset":55912,"count":0}],"isBlockCoverage":false},{"functionName":"install","ranges":[{"startOffset":56044,"endOffset":60788,"count":0}],"isBlockCoverage":false}]},{"scriptId":"755","url":"node:perf_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1065,"count":1}],"isBlockCoverage":false}]},{"scriptId":"756","url":"node:internal/perf/resource_timing","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7417,"count":1}],"isBlockCoverage":false},{"functionName":"PerformanceResourceTiming","ranges":[{"startOffset":885,"endOffset":945,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":949,"endOffset":1074,"count":0}],"isBlockCoverage":false},{"functionName":"get startTime","ranges":[{"startOffset":1078,"endOffset":1214,"count":0}],"isBlockCoverage":false},{"functionName":"get duration","ranges":[{"startOffset":1218,"endOffset":1381,"count":0}],"isBlockCoverage":false},{"functionName":"get initiatorType","ranges":[{"startOffset":1385,"endOffset":1521,"count":0}],"isBlockCoverage":false},{"functionName":"get workerStart","ranges":[{"startOffset":1525,"endOffset":1681,"count":0}],"isBlockCoverage":false},{"functionName":"get redirectStart","ranges":[{"startOffset":1685,"endOffset":1833,"count":0}],"isBlockCoverage":false},{"functionName":"get redirectEnd","ranges":[{"startOffset":1837,"endOffset":1981,"count":0}],"isBlockCoverage":false},{"functionName":"get fetchStart","ranges":[{"startOffset":1985,"endOffset":2134,"count":0}],"isBlockCoverage":false},{"functionName":"get domainLookupStart","ranges":[{"startOffset":2138,"endOffset":2321,"count":0}],"isBlockCoverage":false},{"functionName":"get domainLookupEnd","ranges":[{"startOffset":2325,"endOffset":2504,"count":0}],"isBlockCoverage":false},{"functionName":"get connectStart","ranges":[{"startOffset":2508,"endOffset":2684,"count":0}],"isBlockCoverage":false},{"functionName":"get connectEnd","ranges":[{"startOffset":2688,"endOffset":2860,"count":0}],"isBlockCoverage":false},{"functionName":"get secureConnectionStart","ranges":[{"startOffset":2864,"endOffset":3062,"count":0}],"isBlockCoverage":false},{"functionName":"get nextHopProtocol","ranges":[{"startOffset":3066,"endOffset":3255,"count":0}],"isBlockCoverage":false},{"functionName":"get requestStart","ranges":[{"startOffset":3259,"endOffset":3417,"count":0}],"isBlockCoverage":false},{"functionName":"get responseStart","ranges":[{"startOffset":3421,"endOffset":3581,"count":0}],"isBlockCoverage":false},{"functionName":"get responseEnd","ranges":[{"startOffset":3585,"endOffset":3721,"count":0}],"isBlockCoverage":false},{"functionName":"get encodedBodySize","ranges":[{"startOffset":3725,"endOffset":3873,"count":0}],"isBlockCoverage":false},{"functionName":"get decodedBodySize","ranges":[{"startOffset":3877,"endOffset":4025,"count":0}],"isBlockCoverage":false},{"functionName":"get transferSize","ranges":[{"startOffset":4029,"endOffset":4283,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":4287,"endOffset":5228,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceResourceTiming","ranges":[{"startOffset":6096,"endOffset":6706,"count":0}],"isBlockCoverage":false},{"functionName":"markResourceTiming","ranges":[{"startOffset":6775,"endOffset":7342,"count":0}],"isBlockCoverage":false}]},{"scriptId":"757","url":"node:internal/perf/usertiming","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6257,"count":1}],"isBlockCoverage":false},{"functionName":"getMark","ranges":[{"startOffset":1212,"endOffset":1664,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceMark","ranges":[{"startOffset":1692,"endOffset":2427,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":2431,"endOffset":2536,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":2540,"endOffset":2723,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceMeasure","ranges":[{"startOffset":3107,"endOffset":3167,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":3171,"endOffset":3279,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceMeasure","ranges":[{"startOffset":3481,"endOffset":3731,"count":0}],"isBlockCoverage":false},{"functionName":"mark","ranges":[{"startOffset":3733,"endOffset":3874,"count":0}],"isBlockCoverage":false},{"functionName":"calculateStartDuration","ranges":[{"startOffset":3876,"endOffset":5459,"count":0}],"isBlockCoverage":false},{"functionName":"measure","ranges":[{"startOffset":5461,"endOffset":5896,"count":0}],"isBlockCoverage":false},{"functionName":"clearMarkTimings","ranges":[{"startOffset":5898,"endOffset":6153,"count":0}],"isBlockCoverage":false}]},{"scriptId":"758","url":"node:internal/perf/nodetiming","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3516,"count":1}],"isBlockCoverage":false},{"functionName":"PerformanceNodeTiming","ranges":[{"startOffset":729,"endOffset":2742,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1394,"endOffset":1490,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1606,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1820,"endOffset":1917,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2035,"endOffset":2131,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2248,"endOffset":2343,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2469,"endOffset":2586,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2746,"endOffset":2987,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":2991,"endOffset":3377,"count":0}],"isBlockCoverage":false}]},{"scriptId":"759","url":"node:internal/structured_clone","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":661,"count":1}],"isBlockCoverage":false},{"functionName":"structuredClone","ranges":[{"startOffset":186,"endOffset":618,"count":0}],"isBlockCoverage":false}]},{"scriptId":"760","url":"node:internal/perf/performance","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6365,"count":1}],"isBlockCoverage":false},{"functionName":"Performance","ranges":[{"startOffset":1338,"endOffset":1398,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1402,"endOffset":1697,"count":0}],"isBlockCoverage":false},{"functionName":"clearMarks","ranges":[{"startOffset":1701,"endOffset":1932,"count":0}],"isBlockCoverage":false},{"functionName":"clearMeasures","ranges":[{"startOffset":1936,"endOffset":2145,"count":0}],"isBlockCoverage":false},{"functionName":"clearResourceTimings","ranges":[{"startOffset":2149,"endOffset":2366,"count":0}],"isBlockCoverage":false},{"functionName":"getEntries","ranges":[{"startOffset":2370,"endOffset":2498,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByName","ranges":[{"startOffset":2502,"endOffset":2759,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByType","ranges":[{"startOffset":2763,"endOffset":3020,"count":0}],"isBlockCoverage":false},{"functionName":"mark","ranges":[{"startOffset":3024,"endOffset":3245,"count":0}],"isBlockCoverage":false},{"functionName":"measure","ranges":[{"startOffset":3249,"endOffset":3534,"count":0}],"isBlockCoverage":false},{"functionName":"now","ranges":[{"startOffset":3538,"endOffset":3634,"count":0}],"isBlockCoverage":false},{"functionName":"setResourceTimingBufferSize","ranges":[{"startOffset":3638,"endOffset":3954,"count":0}],"isBlockCoverage":false},{"functionName":"get timeOrigin","ranges":[{"startOffset":3958,"endOffset":4084,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":4088,"endOffset":4316,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformance","ranges":[{"startOffset":5917,"endOffset":6086,"count":1}],"isBlockCoverage":true},{"functionName":"Performance","ranges":[{"startOffset":5974,"endOffset":6065,"count":1}],"isBlockCoverage":true},{"functionName":"dispatchBufferFull","ranges":[{"startOffset":6130,"endOffset":6268,"count":0}],"isBlockCoverage":false}]},{"scriptId":"761","url":"node:internal/perf/timerify","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2280,"count":1}],"isBlockCoverage":false},{"functionName":"processComplete","ranges":[{"startOffset":610,"endOffset":985,"count":0}],"isBlockCoverage":false},{"functionName":"timerify","ranges":[{"startOffset":987,"endOffset":2251,"count":0}],"isBlockCoverage":false}]},{"scriptId":"762","url":"node:internal/histogram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8057,"count":1}],"isBlockCoverage":false},{"functionName":"isHistogram","ranges":[{"startOffset":894,"endOffset":968,"count":0}],"isBlockCoverage":false},{"functionName":"Histogram","ranges":[{"startOffset":990,"endOffset":1050,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1054,"endOffset":1466,"count":0}],"isBlockCoverage":false},{"functionName":"get count","ranges":[{"startOffset":1517,"endOffset":1644,"count":0}],"isBlockCoverage":false},{"functionName":"get countBigInt","ranges":[{"startOffset":1695,"endOffset":1834,"count":0}],"isBlockCoverage":false},{"functionName":"get min","ranges":[{"startOffset":1885,"endOffset":2008,"count":0}],"isBlockCoverage":false},{"functionName":"get minBigInt","ranges":[{"startOffset":2059,"endOffset":2194,"count":0}],"isBlockCoverage":false},{"functionName":"get max","ranges":[{"startOffset":2245,"endOffset":2368,"count":0}],"isBlockCoverage":false},{"functionName":"get maxBigInt","ranges":[{"startOffset":2419,"endOffset":2554,"count":0}],"isBlockCoverage":false},{"functionName":"get mean","ranges":[{"startOffset":2605,"endOffset":2730,"count":0}],"isBlockCoverage":false},{"functionName":"get exceeds","ranges":[{"startOffset":2781,"endOffset":2912,"count":0}],"isBlockCoverage":false},{"functionName":"get exceedsBigInt","ranges":[{"startOffset":2963,"endOffset":3106,"count":0}],"isBlockCoverage":false},{"functionName":"get stddev","ranges":[{"startOffset":3157,"endOffset":3286,"count":0}],"isBlockCoverage":false},{"functionName":"percentile","ranges":[{"startOffset":3357,"endOffset":3706,"count":0}],"isBlockCoverage":false},{"functionName":"percentileBigInt","ranges":[{"startOffset":3777,"endOffset":4138,"count":0}],"isBlockCoverage":false},{"functionName":"get percentiles","ranges":[{"startOffset":4201,"endOffset":4390,"count":0}],"isBlockCoverage":false},{"functionName":"get percentilesBigInt","ranges":[{"startOffset":4453,"endOffset":4654,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":4691,"endOffset":4807,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4811,"endOffset":4968,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4972,"endOffset":5032,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":5036,"endOffset":5293,"count":0}],"isBlockCoverage":false},{"functionName":"RecordableHistogram","ranges":[{"startOffset":5345,"endOffset":5405,"count":0}],"isBlockCoverage":false},{"functionName":"record","ranges":[{"startOffset":5474,"endOffset":5748,"count":0}],"isBlockCoverage":false},{"functionName":"recordDelta","ranges":[{"startOffset":5785,"endOffset":5936,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":5992,"endOffset":6265,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6269,"endOffset":6436,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6440,"endOffset":6500,"count":0}],"isBlockCoverage":false},{"functionName":"internalHistogram","ranges":[{"startOffset":6504,"endOffset":6691,"count":0}],"isBlockCoverage":false},{"functionName":"internalHistogram.","ranges":[{"startOffset":6736,"endOffset":6744,"count":0}],"isBlockCoverage":false},{"functionName":"internalRecordableHistogram","ranges":[{"startOffset":6747,"endOffset":6986,"count":0}],"isBlockCoverage":false},{"functionName":"internalRecordableHistogram.","ranges":[{"startOffset":7041,"endOffset":7049,"count":0}],"isBlockCoverage":false},{"functionName":"createHistogram","ranges":[{"startOffset":7193,"endOffset":7880,"count":0}],"isBlockCoverage":false}]},{"scriptId":"763","url":"node:internal/perf/event_loop_delay","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1724,"count":1}],"isBlockCoverage":false},{"functionName":"ELDHistogram","ranges":[{"startOffset":625,"endOffset":686,"count":0}],"isBlockCoverage":false},{"functionName":"enable","ranges":[{"startOffset":726,"endOffset":937,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":977,"endOffset":1190,"count":0}],"isBlockCoverage":false},{"functionName":"monitorEventLoopDelay","ranges":[{"startOffset":1283,"endOffset":1682,"count":0}],"isBlockCoverage":false}]},{"scriptId":"764","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/mock.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6131,"count":1}],"isBlockCoverage":true},{"functionName":"mock","ranges":[{"startOffset":688,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"each","ranges":[{"startOffset":878,"endOffset":980,"count":0}],"isBlockCoverage":false},{"functionName":"arrayEquals","ranges":[{"startOffset":982,"endOffset":1217,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":1246,"endOffset":1497,"count":0}],"isBlockCoverage":false},{"functionName":"expects","ranges":[{"startOffset":1513,"endOffset":2373,"count":0}],"isBlockCoverage":false},{"functionName":"restore","ranges":[{"startOffset":2389,"endOffset":2628,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":2643,"endOffset":3414,"count":0}],"isBlockCoverage":false},{"functionName":"usingPromise","ranges":[{"startOffset":3435,"endOffset":3548,"count":0}],"isBlockCoverage":false},{"functionName":"invokeMethod","ranges":[{"startOffset":3569,"endOffset":6101,"count":0}],"isBlockCoverage":false}]},{"scriptId":"765","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/mock-expectation.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8509,"count":1}],"isBlockCoverage":true},{"functionName":"callCountInWords","ranges":[{"startOffset":711,"endOffset":864,"count":0}],"isBlockCoverage":false},{"functionName":"expectedCallCountInWords","ranges":[{"startOffset":866,"endOffset":1361,"count":0}],"isBlockCoverage":false},{"functionName":"receivedMinCalls","ranges":[{"startOffset":1363,"endOffset":1545,"count":0}],"isBlockCoverage":false},{"functionName":"receivedMaxCalls","ranges":[{"startOffset":1547,"endOffset":1729,"count":0}],"isBlockCoverage":false},{"functionName":"verifyMatcher","ranges":[{"startOffset":1731,"endOffset":1897,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":1972,"endOffset":2181,"count":0}],"isBlockCoverage":false},{"functionName":"invoke","ranges":[{"startOffset":2196,"endOffset":2343,"count":0}],"isBlockCoverage":false},{"functionName":"atLeast","ranges":[{"startOffset":2359,"endOffset":2674,"count":0}],"isBlockCoverage":false},{"functionName":"atMost","ranges":[{"startOffset":2689,"endOffset":3003,"count":0}],"isBlockCoverage":false},{"functionName":"never","ranges":[{"startOffset":3017,"endOffset":3073,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":3086,"endOffset":3141,"count":0}],"isBlockCoverage":false},{"functionName":"twice","ranges":[{"startOffset":3155,"endOffset":3211,"count":0}],"isBlockCoverage":false},{"functionName":"thrice","ranges":[{"startOffset":3226,"endOffset":3283,"count":0}],"isBlockCoverage":false},{"functionName":"exactly","ranges":[{"startOffset":3299,"endOffset":3514,"count":0}],"isBlockCoverage":false},{"functionName":"met","ranges":[{"startOffset":3526,"endOffset":3603,"count":0}],"isBlockCoverage":false},{"functionName":"verifyCallAllowed","ranges":[{"startOffset":3629,"endOffset":5950,"count":0}],"isBlockCoverage":false},{"functionName":"allowsCall","ranges":[{"startOffset":5969,"endOffset":7014,"count":0}],"isBlockCoverage":false},{"functionName":"withArgs","ranges":[{"startOffset":7031,"endOffset":7130,"count":0}],"isBlockCoverage":false},{"functionName":"withExactArgs","ranges":[{"startOffset":7152,"endOffset":7293,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":7304,"endOffset":7394,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":7411,"endOffset":8024,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":8039,"endOffset":8236,"count":0}],"isBlockCoverage":false},{"functionName":"pass","ranges":[{"startOffset":8249,"endOffset":8309,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":8322,"endOffset":8469,"count":0}],"isBlockCoverage":false}]},{"scriptId":"766","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/proxy-invoke.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2811,"count":1}],"isBlockCoverage":true},{"functionName":"invoke","ranges":[{"startOffset":360,"endOffset":2809,"count":2},{"startOffset":1462,"endOffset":1514,"count":0},{"startOffset":1529,"endOffset":1585,"count":0},{"startOffset":1595,"endOffset":1682,"count":0},{"startOffset":1689,"endOffset":1729,"count":0},{"startOffset":2750,"endOffset":2782,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":689,"endOffset":896,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1880,"endOffset":2003,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2467,"endOffset":2543,"count":0}],"isBlockCoverage":false}]},{"scriptId":"767","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/proxy-call-util.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1767,"count":1}],"isBlockCoverage":true},{"functionName":"incrementCallCount","ranges":[{"startOffset":109,"endOffset":368,"count":2}],"isBlockCoverage":true},{"functionName":"createCallProperties","ranges":[{"startOffset":402,"endOffset":620,"count":4}],"isBlockCoverage":true},{"functionName":"delegateToCalls","ranges":[{"startOffset":649,"endOffset":1765,"count":26}],"isBlockCoverage":true},{"functionName":"proxy.","ranges":[{"startOffset":802,"endOffset":1762,"count":2},{"startOffset":842,"endOffset":979,"count":0},{"startOffset":1060,"endOffset":1097,"count":0},{"startOffset":1338,"endOffset":1347,"count":0},{"startOffset":1640,"endOffset":1761,"count":0}],"isBlockCoverage":true}]},{"scriptId":"768","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/proxy-call.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8134,"count":1}],"isBlockCoverage":true},{"functionName":"throwYieldError","ranges":[{"startOffset":609,"endOffset":810,"count":0}],"isBlockCoverage":false},{"functionName":"calledOn","ranges":[{"startOffset":846,"endOffset":1030,"count":0}],"isBlockCoverage":false},{"functionName":"calledWith","ranges":[{"startOffset":1049,"endOffset":1442,"count":2},{"startOffset":1204,"endOffset":1241,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1306,"endOffset":1406,"count":2}],"isBlockCoverage":true},{"functionName":"calledWithMatch","ranges":[{"startOffset":1466,"endOffset":1936,"count":0}],"isBlockCoverage":false},{"functionName":"calledWithExactly","ranges":[{"startOffset":1962,"endOffset":2130,"count":0}],"isBlockCoverage":false},{"functionName":"notCalledWith","ranges":[{"startOffset":2152,"endOffset":2240,"count":0}],"isBlockCoverage":false},{"functionName":"notCalledWithMatch","ranges":[{"startOffset":2267,"endOffset":2365,"count":0}],"isBlockCoverage":false},{"functionName":"returned","ranges":[{"startOffset":2382,"endOffset":2465,"count":0}],"isBlockCoverage":false},{"functionName":"threw","ranges":[{"startOffset":2479,"endOffset":2700,"count":0}],"isBlockCoverage":false},{"functionName":"calledWithNew","ranges":[{"startOffset":2722,"endOffset":2831,"count":2}],"isBlockCoverage":true},{"functionName":"calledBefore","ranges":[{"startOffset":2852,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"calledAfter","ranges":[{"startOffset":2939,"endOffset":3006,"count":0}],"isBlockCoverage":false},{"functionName":"calledImmediatelyBefore","ranges":[{"startOffset":3038,"endOffset":3111,"count":0}],"isBlockCoverage":false},{"functionName":"calledImmediatelyAfter","ranges":[{"startOffset":3142,"endOffset":3215,"count":0}],"isBlockCoverage":false},{"functionName":"callArg","ranges":[{"startOffset":3231,"endOffset":3326,"count":0}],"isBlockCoverage":false},{"functionName":"callArgOn","ranges":[{"startOffset":3344,"endOffset":3465,"count":0}],"isBlockCoverage":false},{"functionName":"callArgWith","ranges":[{"startOffset":3485,"endOffset":3631,"count":0}],"isBlockCoverage":false},{"functionName":"callArgOnWith","ranges":[{"startOffset":3653,"endOffset":3822,"count":0}],"isBlockCoverage":false},{"functionName":"throwArg","ranges":[{"startOffset":3839,"endOffset":4082,"count":0}],"isBlockCoverage":false},{"functionName":"yield","ranges":[{"startOffset":4096,"endOffset":4193,"count":0}],"isBlockCoverage":false},{"functionName":"yieldOn","ranges":[{"startOffset":4209,"endOffset":4646,"count":0}],"isBlockCoverage":false},{"functionName":"yieldTo","ranges":[{"startOffset":4662,"endOffset":4806,"count":0}],"isBlockCoverage":false},{"functionName":"yieldToOn","ranges":[{"startOffset":4824,"endOffset":5400,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":5417,"endOffset":6432,"count":0}],"isBlockCoverage":false},{"functionName":"ensureArgIsAFunction","ranges":[{"startOffset":6461,"endOffset":6721,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6825,"endOffset":6925,"count":0}],"isBlockCoverage":false},{"functionName":"createProxyCall","ranges":[{"startOffset":7154,"endOffset":8034,"count":12},{"startOffset":7316,"endOffset":7379,"count":0},{"startOffset":7630,"endOffset":7639,"count":0}],"isBlockCoverage":true}]},{"scriptId":"769","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/stub.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7560,"count":1}],"isBlockCoverage":true},{"functionName":"createStub","ranges":[{"startOffset":1085,"endOffset":2164,"count":1},{"startOffset":1696,"endOffset":1711,"count":0},{"startOffset":1888,"endOffset":1894,"count":0},{"startOffset":2006,"endOffset":2015,"count":0}],"isBlockCoverage":true},{"functionName":"functionStub","ranges":[{"startOffset":1186,"endOffset":1643,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1377,"endOffset":1544,"count":0}],"isBlockCoverage":false},{"functionName":"stub","ranges":[{"startOffset":2166,"endOffset":4104,"count":1},{"startOffset":2230,"endOffset":2350,"count":0},{"startOffset":2380,"endOffset":2448,"count":0},{"startOffset":2547,"endOffset":2670,"count":0},{"startOffset":2873,"endOffset":2904,"count":0},{"startOffset":2981,"endOffset":3002,"count":0},{"startOffset":3042,"endOffset":3076,"count":0},{"startOffset":3333,"endOffset":3381,"count":0},{"startOffset":3410,"endOffset":3446,"count":0},{"startOffset":3567,"endOffset":3573,"count":0},{"startOffset":4064,"endOffset":4067,"count":0}],"isBlockCoverage":true},{"functionName":"restore","ranges":[{"startOffset":3759,"endOffset":4016,"count":0}],"isBlockCoverage":false},{"functionName":"assertValidPropertyDescriptor","ranges":[{"startOffset":4106,"endOffset":4824,"count":1},{"startOffset":4203,"endOffset":4226,"count":0},{"startOffset":4280,"endOffset":4303,"count":0},{"startOffset":4305,"endOffset":4440,"count":0},{"startOffset":4484,"endOffset":4511,"count":0},{"startOffset":4513,"endOffset":4640,"count":0},{"startOffset":4678,"endOffset":4701,"count":0},{"startOffset":4703,"endOffset":4822,"count":0}],"isBlockCoverage":true},{"functionName":"isDataDescriptor","ranges":[{"startOffset":4826,"endOffset":4999,"count":1},{"startOffset":4905,"endOffset":4936,"count":0},{"startOffset":4937,"endOffset":4963,"count":0},{"startOffset":4964,"endOffset":4990,"count":0}],"isBlockCoverage":true},{"functionName":"getParentBehaviour","ranges":[{"startOffset":5041,"endOffset":5161,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultBehavior","ranges":[{"startOffset":5163,"endOffset":5350,"count":2},{"startOffset":5257,"endOffset":5300,"count":0},{"startOffset":5301,"endOffset":5341,"count":0}],"isBlockCoverage":true},{"functionName":"getCurrentBehavior","ranges":[{"startOffset":5352,"endOffset":5605,"count":2},{"startOffset":5503,"endOffset":5533,"count":0},{"startOffset":5542,"endOffset":5559,"count":0}],"isBlockCoverage":true},{"functionName":"resetBehavior","ranges":[{"startOffset":5681,"endOffset":6087,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6018,"endOffset":6079,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":6101,"endOffset":6179,"count":2}],"isBlockCoverage":true},{"functionName":"onCall","ranges":[{"startOffset":6194,"endOffset":6370,"count":0}],"isBlockCoverage":false},{"functionName":"onFirstCall","ranges":[{"startOffset":6390,"endOffset":6451,"count":0}],"isBlockCoverage":false},{"functionName":"onSecondCall","ranges":[{"startOffset":6472,"endOffset":6534,"count":0}],"isBlockCoverage":false},{"functionName":"onThirdCall","ranges":[{"startOffset":6554,"endOffset":6615,"count":0}],"isBlockCoverage":false},{"functionName":"withArgs","ranges":[{"startOffset":6632,"endOffset":7024,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7061,"endOffset":7307,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7343,"endOffset":7512,"count":35}],"isBlockCoverage":true}]},{"scriptId":"770","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/default-behaviors.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7928,"count":1}],"isBlockCoverage":true},{"functionName":"throwsException","ranges":[{"startOffset":382,"endOffset":968,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":1052,"endOffset":1877,"count":2},{"startOffset":1209,"endOffset":1231,"count":0},{"startOffset":1556,"endOffset":1578,"count":0}],"isBlockCoverage":true},{"functionName":"callsFake","ranges":[{"startOffset":1921,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"callsArg","ranges":[{"startOffset":2022,"endOffset":2267,"count":0}],"isBlockCoverage":false},{"functionName":"callsArgOn","ranges":[{"startOffset":2286,"endOffset":2582,"count":0}],"isBlockCoverage":false},{"functionName":"callsArgWith","ranges":[{"startOffset":2603,"endOffset":2869,"count":0}],"isBlockCoverage":false},{"functionName":"callsArgWith","ranges":[{"startOffset":2892,"endOffset":3207,"count":0}],"isBlockCoverage":false},{"functionName":"usingPromise","ranges":[{"startOffset":3228,"endOffset":3325,"count":0}],"isBlockCoverage":false},{"functionName":"yields","ranges":[{"startOffset":3340,"endOffset":3510,"count":0}],"isBlockCoverage":false},{"functionName":"yieldsRight","ranges":[{"startOffset":3530,"endOffset":3701,"count":0}],"isBlockCoverage":false},{"functionName":"yieldsOn","ranges":[{"startOffset":3718,"endOffset":3937,"count":0}],"isBlockCoverage":false},{"functionName":"yieldsTo","ranges":[{"startOffset":3954,"endOffset":4163,"count":0}],"isBlockCoverage":false},{"functionName":"yieldsToOn","ranges":[{"startOffset":4182,"endOffset":4440,"count":0}],"isBlockCoverage":false},{"functionName":"returns","ranges":[{"startOffset":4524,"endOffset":4657,"count":2}],"isBlockCoverage":true},{"functionName":"returnsArg","ranges":[{"startOffset":4676,"endOffset":4888,"count":0}],"isBlockCoverage":false},{"functionName":"throwsArg","ranges":[{"startOffset":4906,"endOffset":5116,"count":0}],"isBlockCoverage":false},{"functionName":"returnsThis","ranges":[{"startOffset":5136,"endOffset":5224,"count":0}],"isBlockCoverage":false},{"functionName":"resolves","ranges":[{"startOffset":5241,"endOffset":5404,"count":0}],"isBlockCoverage":false},{"functionName":"resolvesArg","ranges":[{"startOffset":5424,"endOffset":5667,"count":0}],"isBlockCoverage":false},{"functionName":"rejects","ranges":[{"startOffset":5683,"endOffset":6142,"count":0}],"isBlockCoverage":false},{"functionName":"resolvesThis","ranges":[{"startOffset":6163,"endOffset":6253,"count":0}],"isBlockCoverage":false},{"functionName":"callThrough","ranges":[{"startOffset":6273,"endOffset":6363,"count":0}],"isBlockCoverage":false},{"functionName":"callThroughWithNew","ranges":[{"startOffset":6390,"endOffset":6494,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6506,"endOffset":6863,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6875,"endOffset":7358,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":7372,"endOffset":7795,"count":0}],"isBlockCoverage":false}]},{"scriptId":"771","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/proxy.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10074,"count":1}],"isBlockCoverage":true},{"functionName":"named","ranges":[{"startOffset":593,"endOffset":1041,"count":0}],"isBlockCoverage":false},{"functionName":"matchingFakes","ranges":[{"startOffset":1205,"endOffset":1267,"count":0}],"isBlockCoverage":false},{"functionName":"getCall","ranges":[{"startOffset":1283,"endOffset":1806,"count":20},{"startOffset":1351,"endOffset":1471,"count":0},{"startOffset":1514,"endOffset":1550,"count":8},{"startOffset":1550,"endOffset":1805,"count":12}],"isBlockCoverage":true},{"functionName":"getCalls","ranges":[{"startOffset":1823,"endOffset":2006,"count":0}],"isBlockCoverage":false},{"functionName":"calledBefore","ranges":[{"startOffset":2027,"endOffset":2267,"count":0}],"isBlockCoverage":false},{"functionName":"calledAfter","ranges":[{"startOffset":2287,"endOffset":2472,"count":0}],"isBlockCoverage":false},{"functionName":"calledImmediatelyBefore","ranges":[{"startOffset":2504,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"calledImmediatelyAfter","ranges":[{"startOffset":2792,"endOffset":3048,"count":0}],"isBlockCoverage":false},{"functionName":"printf","ranges":[{"startOffset":3108,"endOffset":3653,"count":0}],"isBlockCoverage":false},{"functionName":"resetHistory","ranges":[{"startOffset":3674,"endOffset":4718,"count":2},{"startOffset":3715,"endOffset":3994,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4610,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5764,"endOffset":5804,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5920,"endOffset":5960,"count":0}],"isBlockCoverage":false},{"functionName":"createProxy","ranges":[{"startOffset":6299,"endOffset":6553,"count":1}],"isBlockCoverage":true},{"functionName":"wrapFunction","ranges":[{"startOffset":6555,"endOffset":10042,"count":1},{"startOffset":6880,"endOffset":7019,"count":0},{"startOffset":7177,"endOffset":7320,"count":0},{"startOffset":7329,"endOffset":7475,"count":0},{"startOffset":7484,"endOffset":7633,"count":0},{"startOffset":7642,"endOffset":7794,"count":0},{"startOffset":7803,"endOffset":7958,"count":0},{"startOffset":7967,"endOffset":8125,"count":0},{"startOffset":8134,"endOffset":8295,"count":0},{"startOffset":8304,"endOffset":8468,"count":0},{"startOffset":8477,"endOffset":8645,"count":0},{"startOffset":8654,"endOffset":8825,"count":0},{"startOffset":8834,"endOffset":9008,"count":0},{"startOffset":9017,"endOffset":9157,"count":0}],"isBlockCoverage":true},{"functionName":"proxy","ranges":[{"startOffset":6904,"endOffset":6999,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":7052,"endOffset":7148,"count":2}],"isBlockCoverage":true},{"functionName":"proxy","ranges":[{"startOffset":7201,"endOffset":7300,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":7353,"endOffset":7455,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":7508,"endOffset":7613,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":7666,"endOffset":7774,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":7827,"endOffset":7938,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":7991,"endOffset":8105,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":8158,"endOffset":8275,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":8328,"endOffset":8448,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":8502,"endOffset":8625,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":8679,"endOffset":8805,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":8859,"endOffset":8988,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":9042,"endOffset":9137,"count":0}],"isBlockCoverage":false}]},{"scriptId":"772","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/function-to-string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":664,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":32,"endOffset":662,"count":0}],"isBlockCoverage":false}]},{"scriptId":"773","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/spy-formatters.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4625,"count":1}],"isBlockCoverage":true},{"functionName":"colorSinonMatchText","ranges":[{"startOffset":587,"endOffset":1032,"count":0}],"isBlockCoverage":false},{"functionName":"colorDiffText","ranges":[{"startOffset":1098,"endOffset":1516,"count":0}],"isBlockCoverage":false},{"functionName":"quoteStringValue","ranges":[{"startOffset":1582,"endOffset":1717,"count":0}],"isBlockCoverage":false},{"functionName":"c","ranges":[{"startOffset":1745,"endOffset":1827,"count":0}],"isBlockCoverage":false},{"functionName":"n","ranges":[{"startOffset":1837,"endOffset":1993,"count":0}],"isBlockCoverage":false},{"functionName":"D","ranges":[{"startOffset":2003,"endOffset":3652,"count":0}],"isBlockCoverage":false},{"functionName":"C","ranges":[{"startOffset":3662,"endOffset":4186,"count":0}],"isBlockCoverage":false},{"functionName":"t","ranges":[{"startOffset":4196,"endOffset":4430,"count":0}],"isBlockCoverage":false},{"functionName":"*","ranges":[{"startOffset":4442,"endOffset":4620,"count":0}],"isBlockCoverage":false}]},{"scriptId":"774","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/colorizer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":767,"count":1}],"isBlockCoverage":true},{"functionName":"Colorizer","ranges":[{"startOffset":54,"endOffset":160,"count":1}],"isBlockCoverage":true},{"functionName":"colorize","ranges":[{"startOffset":293,"endOffset":453,"count":0}],"isBlockCoverage":false},{"functionName":"red","ranges":[{"startOffset":459,"endOffset":514,"count":0}],"isBlockCoverage":false},{"functionName":"green","ranges":[{"startOffset":520,"endOffset":577,"count":0}],"isBlockCoverage":false},{"functionName":"cyan","ranges":[{"startOffset":583,"endOffset":639,"count":0}],"isBlockCoverage":false},{"functionName":"white","ranges":[{"startOffset":645,"endOffset":702,"count":0}],"isBlockCoverage":false},{"functionName":"bold","ranges":[{"startOffset":708,"endOffset":763,"count":0}],"isBlockCoverage":false}]},{"scriptId":"775","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/supports-color/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2748,"count":1},{"startOffset":250,"endOffset":270,"count":0},{"startOffset":374,"endOffset":394,"count":0},{"startOffset":422,"endOffset":646,"count":0}],"isBlockCoverage":true},{"functionName":"translateLevel","ranges":[{"startOffset":648,"endOffset":806,"count":2},{"startOffset":699,"endOffset":719,"count":0}],"isBlockCoverage":true},{"functionName":"supportsColor","ranges":[{"startOffset":808,"endOffset":2439,"count":2},{"startOffset":881,"endOffset":897,"count":0},{"startOffset":985,"endOffset":1001,"count":0},{"startOffset":1030,"endOffset":1046,"count":0},{"startOffset":1080,"endOffset":1107,"count":0},{"startOffset":1109,"endOffset":1125,"count":0},{"startOffset":1184,"endOffset":1202,"count":0},{"startOffset":1239,"endOffset":1594,"count":0},{"startOffset":1614,"endOffset":1794,"count":0},{"startOffset":1828,"endOffset":1909,"count":0},{"startOffset":1963,"endOffset":2438,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1706,"endOffset":1725,"count":0}],"isBlockCoverage":false},{"functionName":"getSupportLevel","ranges":[{"startOffset":2441,"endOffset":2570,"count":0}],"isBlockCoverage":false}]},{"scriptId":"776","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/has-flag/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":330,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":32,"endOffset":328,"count":16},{"startOffset":102,"endOffset":106,"count":0},{"startOffset":128,"endOffset":133,"count":0},{"startOffset":262,"endOffset":325,"count":0}],"isBlockCoverage":true}]},{"scriptId":"777","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7236,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":174,"endOffset":223,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":301,"endOffset":354,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":432,"endOffset":480,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":567,"endOffset":624,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":702,"endOffset":750,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":835,"endOffset":890,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":972,"endOffset":1028,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1104,"endOffset":1149,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1226,"endOffset":1273,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1354,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1484,"endOffset":1534,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1613,"endOffset":1663,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1744,"endOffset":1796,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1875,"endOffset":1925,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1999,"endOffset":2044,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2128,"endOffset":2184,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2272,"endOffset":2332,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2412,"endOffset":2464,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2552,"endOffset":2609,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2697,"endOffset":2754,"count":0}],"isBlockCoverage":false},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":4100,"endOffset":4197,"count":1},{"startOffset":4174,"endOffset":4194,"count":0}],"isBlockCoverage":true}]},{"scriptId":"778","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/base.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31393,"count":1}],"isBlockCoverage":true},{"functionName":"Diff","ranges":[{"startOffset":158,"endOffset":176,"count":7}],"isBlockCoverage":true},{"functionName":"diff","ranges":[{"startOffset":260,"endOffset":4597,"count":0}],"isBlockCoverage":false},{"functionName":"pushComponent","ranges":[{"startOffset":4672,"endOffset":5200,"count":0}],"isBlockCoverage":false},{"functionName":"extractCommon","ranges":[{"startOffset":5275,"endOffset":5846,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":5914,"endOffset":6155,"count":0}],"isBlockCoverage":false},{"functionName":"removeEmpty","ranges":[{"startOffset":6228,"endOffset":6406,"count":0}],"isBlockCoverage":false},{"functionName":"castInput","ranges":[{"startOffset":6477,"endOffset":6526,"count":0}],"isBlockCoverage":false},{"functionName":"tokenize","ranges":[{"startOffset":6596,"endOffset":6654,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":6720,"endOffset":6773,"count":0}],"isBlockCoverage":false},{"functionName":"buildValues","ranges":[{"startOffset":6778,"endOffset":8799,"count":0}],"isBlockCoverage":false},{"functionName":"clonePath","ranges":[{"startOffset":8801,"endOffset":8911,"count":0}],"isBlockCoverage":false}]},{"scriptId":"779","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/character.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1671,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":327,"endOffset":424,"count":1},{"startOffset":401,"endOffset":421,"count":0}],"isBlockCoverage":true},{"functionName":"diffChars","ranges":[{"startOffset":688,"endOffset":789,"count":0}],"isBlockCoverage":false}]},{"scriptId":"780","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/word.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8786,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":464,"endOffset":561,"count":1},{"startOffset":538,"endOffset":558,"count":0}],"isBlockCoverage":true},{"functionName":"wordDiff.equals","ranges":[{"startOffset":1546,"endOffset":1789,"count":0}],"isBlockCoverage":false},{"functionName":"wordDiff.tokenize","ranges":[{"startOffset":1812,"endOffset":2493,"count":0}],"isBlockCoverage":false},{"functionName":"diffWords","ranges":[{"startOffset":2496,"endOffset":2853,"count":0}],"isBlockCoverage":false},{"functionName":"diffWordsWithSpace","ranges":[{"startOffset":2855,"endOffset":2960,"count":0}],"isBlockCoverage":false}]},{"scriptId":"781","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/util/params.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1752,"count":1}],"isBlockCoverage":true},{"functionName":"generateOptions","ranges":[{"startOffset":174,"endOffset":502,"count":0}],"isBlockCoverage":false}]},{"scriptId":"782","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/line.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5686,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":460,"endOffset":557,"count":1},{"startOffset":534,"endOffset":554,"count":0}],"isBlockCoverage":true},{"functionName":"lineDiff.tokenize","ranges":[{"startOffset":826,"endOffset":1483,"count":0}],"isBlockCoverage":false},{"functionName":"diffLines","ranges":[{"startOffset":1486,"endOffset":1584,"count":0}],"isBlockCoverage":false},{"functionName":"diffTrimmedLines","ranges":[{"startOffset":1586,"endOffset":1956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"783","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/sentence.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2090,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":334,"endOffset":431,"count":1},{"startOffset":408,"endOffset":428,"count":0}],"isBlockCoverage":true},{"functionName":"sentenceDiff.tokenize","ranges":[{"startOffset":716,"endOffset":783,"count":0}],"isBlockCoverage":false},{"functionName":"diffSentences","ranges":[{"startOffset":786,"endOffset":892,"count":0}],"isBlockCoverage":false}]},{"scriptId":"784","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/css.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1966,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":317,"endOffset":414,"count":1},{"startOffset":391,"endOffset":411,"count":0}],"isBlockCoverage":true},{"functionName":"cssDiff.tokenize","ranges":[{"startOffset":679,"endOffset":738,"count":0}],"isBlockCoverage":false},{"functionName":"diffCss","ranges":[{"startOffset":741,"endOffset":836,"count":0}],"isBlockCoverage":false}]},{"scriptId":"785","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/json.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12937,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":440,"endOffset":537,"count":1},{"startOffset":514,"endOffset":534,"count":0}],"isBlockCoverage":true},{"functionName":"_typeof","ranges":[{"startOffset":539,"endOffset":917,"count":0}],"isBlockCoverage":false},{"functionName":"jsonDiff.castInput","ranges":[{"startOffset":1625,"endOffset":2249,"count":0}],"isBlockCoverage":false},{"functionName":"jsonDiff.equals","ranges":[{"startOffset":2270,"endOffset":2565,"count":0}],"isBlockCoverage":false},{"functionName":"diffJson","ranges":[{"startOffset":2568,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"canonicalize","ranges":[{"startOffset":2859,"endOffset":4359,"count":0}],"isBlockCoverage":false}]},{"scriptId":"786","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2300,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":325,"endOffset":422,"count":1},{"startOffset":399,"endOffset":419,"count":0}],"isBlockCoverage":true},{"functionName":"arrayDiff.tokenize","ranges":[{"startOffset":695,"endOffset":739,"count":0}],"isBlockCoverage":false},{"functionName":"arrayDiff.join.arrayDiff.removeEmpty","ranges":[{"startOffset":783,"endOffset":819,"count":0}],"isBlockCoverage":false},{"functionName":"diffArrays","ranges":[{"startOffset":822,"endOffset":922,"count":0}],"isBlockCoverage":false}]},{"scriptId":"787","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/apply.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":19926,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":450,"endOffset":547,"count":1},{"startOffset":524,"endOffset":544,"count":0}],"isBlockCoverage":true},{"functionName":"applyPatch","ranges":[{"startOffset":573,"endOffset":4807,"count":0}],"isBlockCoverage":false},{"functionName":"applyPatches","ranges":[{"startOffset":4872,"endOffset":5728,"count":0}],"isBlockCoverage":false}]},{"scriptId":"788","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17908,"count":1}],"isBlockCoverage":true},{"functionName":"parsePatch","ranges":[{"startOffset":164,"endOffset":4730,"count":0}],"isBlockCoverage":false}]},{"scriptId":"789","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/util/distance-iterator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4641,"count":1}],"isBlockCoverage":true},{"functionName":"_default","ranges":[{"startOffset":340,"endOffset":1483,"count":0}],"isBlockCoverage":false}]},{"scriptId":"790","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/merge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":50907,"count":1}],"isBlockCoverage":true},{"functionName":"_toConsumableArray","ranges":[{"startOffset":482,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"_nonIterableSpread","ranges":[{"startOffset":637,"endOffset":827,"count":0}],"isBlockCoverage":false},{"functionName":"_unsupportedIterableToArray","ranges":[{"startOffset":829,"endOffset":1245,"count":0}],"isBlockCoverage":false},{"functionName":"_iterableToArray","ranges":[{"startOffset":1247,"endOffset":1377,"count":0}],"isBlockCoverage":false},{"functionName":"_arrayWithoutHoles","ranges":[{"startOffset":1379,"endOffset":1470,"count":0}],"isBlockCoverage":false},{"functionName":"_arrayLikeToArray","ranges":[{"startOffset":1472,"endOffset":1655,"count":0}],"isBlockCoverage":false},{"functionName":"calcLineCount","ranges":[{"startOffset":1681,"endOffset":2135,"count":0}],"isBlockCoverage":false},{"functionName":"merge","ranges":[{"startOffset":2137,"endOffset":5016,"count":0}],"isBlockCoverage":false},{"functionName":"loadPatch","ranges":[{"startOffset":5018,"endOffset":5874,"count":0}],"isBlockCoverage":false},{"functionName":"fileNameChanged","ranges":[{"startOffset":5876,"endOffset":5982,"count":0}],"isBlockCoverage":false},{"functionName":"selectField","ranges":[{"startOffset":5984,"endOffset":6172,"count":0}],"isBlockCoverage":false},{"functionName":"hunkBefore","ranges":[{"startOffset":6174,"endOffset":6301,"count":0}],"isBlockCoverage":false},{"functionName":"cloneHunk","ranges":[{"startOffset":6303,"endOffset":6502,"count":0}],"isBlockCoverage":false},{"functionName":"mergeLines","ranges":[{"startOffset":6504,"endOffset":9249,"count":0}],"isBlockCoverage":false},{"functionName":"mutualChange","ranges":[{"startOffset":9251,"endOffset":11898,"count":0}],"isBlockCoverage":false},{"functionName":"removal","ranges":[{"startOffset":11900,"endOffset":12608,"count":0}],"isBlockCoverage":false},{"functionName":"conflict","ranges":[{"startOffset":12610,"endOffset":12754,"count":0}],"isBlockCoverage":false},{"functionName":"insertLeading","ranges":[{"startOffset":12756,"endOffset":12979,"count":0}],"isBlockCoverage":false},{"functionName":"insertTrailing","ranges":[{"startOffset":12981,"endOffset":13145,"count":0}],"isBlockCoverage":false},{"functionName":"collectChange","ranges":[{"startOffset":13147,"endOffset":13641,"count":0}],"isBlockCoverage":false},{"functionName":"collectContext","ranges":[{"startOffset":13643,"endOffset":14910,"count":0}],"isBlockCoverage":false},{"functionName":"allRemoves","ranges":[{"startOffset":14912,"endOffset":15044,"count":0}],"isBlockCoverage":false},{"functionName":"skipRemoveSuperset","ranges":[{"startOffset":15046,"endOffset":15360,"count":0}],"isBlockCoverage":false},{"functionName":"calcOldNewLineCount","ranges":[{"startOffset":15362,"endOffset":16317,"count":0}],"isBlockCoverage":false}]},{"scriptId":"791","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/create.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":23586,"count":1}],"isBlockCoverage":true},{"functionName":"_toConsumableArray","ranges":[{"startOffset":410,"endOffset":563,"count":0}],"isBlockCoverage":false},{"functionName":"_nonIterableSpread","ranges":[{"startOffset":565,"endOffset":755,"count":0}],"isBlockCoverage":false},{"functionName":"_unsupportedIterableToArray","ranges":[{"startOffset":757,"endOffset":1173,"count":0}],"isBlockCoverage":false},{"functionName":"_iterableToArray","ranges":[{"startOffset":1175,"endOffset":1305,"count":0}],"isBlockCoverage":false},{"functionName":"_arrayWithoutHoles","ranges":[{"startOffset":1307,"endOffset":1398,"count":0}],"isBlockCoverage":false},{"functionName":"_arrayLikeToArray","ranges":[{"startOffset":1400,"endOffset":1583,"count":0}],"isBlockCoverage":false},{"functionName":"structuredPatch","ranges":[{"startOffset":1609,"endOffset":6844,"count":0}],"isBlockCoverage":false},{"functionName":"formatPatch","ranges":[{"startOffset":6846,"endOffset":7865,"count":0}],"isBlockCoverage":false},{"functionName":"createTwoFilesPatch","ranges":[{"startOffset":7867,"endOffset":8084,"count":0}],"isBlockCoverage":false},{"functionName":"createPatch","ranges":[{"startOffset":8086,"endOffset":8264,"count":0}],"isBlockCoverage":false}]},{"scriptId":"792","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/util/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2026,"count":1}],"isBlockCoverage":true},{"functionName":"arrayEqual","ranges":[{"startOffset":207,"endOffset":322,"count":0}],"isBlockCoverage":false},{"functionName":"arrayStartsWith","ranges":[{"startOffset":324,"endOffset":548,"count":0}],"isBlockCoverage":false}]},{"scriptId":"793","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/convert/dmp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2255,"count":1}],"isBlockCoverage":true},{"functionName":"convertChangesToDMP","ranges":[{"startOffset":248,"endOffset":609,"count":0}],"isBlockCoverage":false}]},{"scriptId":"794","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/convert/xml.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3359,"count":1}],"isBlockCoverage":true},{"functionName":"convertChangesToXML","ranges":[{"startOffset":182,"endOffset":613,"count":0}],"isBlockCoverage":false},{"functionName":"escapeHTML","ranges":[{"startOffset":615,"endOffset":793,"count":0}],"isBlockCoverage":false}]},{"scriptId":"795","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/is-non-existent-property.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":336,"count":1}],"isBlockCoverage":true},{"functionName":"isNonExistentProperty","ranges":[{"startOffset":139,"endOffset":294,"count":1}],"isBlockCoverage":true}]},{"scriptId":"796","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/spy.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5573,"count":1}],"isBlockCoverage":true},{"functionName":"matches","ranges":[{"startOffset":920,"endOffset":1193,"count":0}],"isBlockCoverage":false},{"functionName":"withArgs","ranges":[{"startOffset":1240,"endOffset":2249,"count":0}],"isBlockCoverage":false},{"functionName":"matchingFakes","ranges":[{"startOffset":2316,"endOffset":2464,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2381,"endOffset":2456,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2660,"endOffset":2779,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2886,"endOffset":3005,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3111,"endOffset":3231,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3289,"endOffset":3405,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3590,"endOffset":3706,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3768,"endOffset":3947,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4038,"endOffset":4241,"count":0}],"isBlockCoverage":false},{"functionName":"createSpy","ranges":[{"startOffset":4247,"endOffset":4741,"count":0}],"isBlockCoverage":false},{"functionName":"spy","ranges":[{"startOffset":4743,"endOffset":5528,"count":0}],"isBlockCoverage":false}]},{"scriptId":"797","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/is-es-module.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":554,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":369,"endOffset":552,"count":1},{"startOffset":509,"endOffset":543,"count":0}],"isBlockCoverage":true}]},{"scriptId":"798","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/walk-object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1653,"count":1}],"isBlockCoverage":true},{"functionName":"walkObject","ranges":[{"startOffset":557,"endOffset":1622,"count":0}],"isBlockCoverage":false}]},{"scriptId":"799","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/wrap-method.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8738,"count":1}],"isBlockCoverage":true},{"functionName":"noop","ranges":[{"startOffset":74,"endOffset":82,"count":0}],"isBlockCoverage":false},{"functionName":"isFunction","ranges":[{"startOffset":450,"endOffset":600,"count":1},{"startOffset":524,"endOffset":591,"count":0}],"isBlockCoverage":true},{"functionName":"mirrorProperties","ranges":[{"startOffset":602,"endOffset":782,"count":2},{"startOffset":677,"endOffset":780,"count":5},{"startOffset":722,"endOffset":774,"count":4}],"isBlockCoverage":true},{"functionName":"getAccessor","ranges":[{"startOffset":784,"endOffset":1175,"count":1},{"startOffset":983,"endOffset":1156,"count":2},{"startOffset":1035,"endOffset":1095,"count":0},{"startOffset":1106,"endOffset":1150,"count":0}],"isBlockCoverage":true},{"functionName":"wrapMethod","ranges":[{"startOffset":1282,"endOffset":8736,"count":1},{"startOffset":1347,"endOffset":1417,"count":0},{"startOffset":1456,"endOffset":1485,"count":0},{"startOffset":1487,"endOffset":1610,"count":0},{"startOffset":3276,"endOffset":3310,"count":0},{"startOffset":3426,"endOffset":3434,"count":0},{"startOffset":3538,"endOffset":3693,"count":0},{"startOffset":3742,"endOffset":3788,"count":0},{"startOffset":3799,"endOffset":3934,"count":0},{"startOffset":3954,"endOffset":4173,"count":0},{"startOffset":4773,"endOffset":4828,"count":0},{"startOffset":5066,"endOffset":5307,"count":0},{"startOffset":5313,"endOffset":5362,"count":0}],"isBlockCoverage":true},{"functionName":"checkWrappedMethod","ranges":[{"startOffset":1616,"endOffset":2717,"count":1},{"startOffset":1721,"endOffset":1930,"count":0},{"startOffset":1962,"endOffset":1992,"count":0},{"startOffset":1994,"endOffset":2183,"count":0},{"startOffset":2221,"endOffset":2483,"count":0},{"startOffset":2504,"endOffset":2711,"count":0}],"isBlockCoverage":true},{"functionName":"simplePropertyAssignment","ranges":[{"startOffset":2826,"endOffset":3028,"count":0}],"isBlockCoverage":false},{"functionName":"extendObjectWithWrappedMethods","ranges":[{"startOffset":5407,"endOffset":6214,"count":1},{"startOffset":5608,"endOffset":5626,"count":0},{"startOffset":6126,"endOffset":6198,"count":0}],"isBlockCoverage":true},{"functionName":"restore","ranges":[{"startOffset":6220,"endOffset":8714,"count":0}],"isBlockCoverage":false}]},{"scriptId":"800","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/sinon-type.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":625,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":346,"endOffset":537,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":543,"endOffset":620,"count":0}],"isBlockCoverage":false}]},{"scriptId":"801","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/throw-on-falsy-object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":381,"count":1}],"isBlockCoverage":true},{"functionName":"throwOnFalsyObject","ranges":[{"startOffset":80,"endOffset":342,"count":1},{"startOffset":157,"endOffset":340,"count":0}],"isBlockCoverage":true}]},{"scriptId":"802","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/use-promise-library.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":425,"count":1}],"isBlockCoverage":true},{"functionName":"usePromiseLibrary","ranges":[{"startOffset":57,"endOffset":387,"count":1},{"startOffset":165,"endOffset":385,"count":0}],"isBlockCoverage":true}]},{"scriptId":"803","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/create-stub-instance.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1123,"count":1}],"isBlockCoverage":true},{"functionName":"isStub","ranges":[{"startOffset":171,"endOffset":241,"count":0}],"isBlockCoverage":false},{"functionName":"createStubInstance","ranges":[{"startOffset":260,"endOffset":1121,"count":0}],"isBlockCoverage":false}]},{"scriptId":"804","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/fake.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6191,"count":1}],"isBlockCoverage":true},{"functionName":"fake","ranges":[{"startOffset":837,"endOffset":1016,"count":0}],"isBlockCoverage":false},{"functionName":"returns","ranges":[{"startOffset":1296,"endOffset":1447,"count":0}],"isBlockCoverage":false},{"functionName":"throws","ranges":[{"startOffset":1931,"endOffset":2090,"count":0}],"isBlockCoverage":false},{"functionName":"resolves","ranges":[{"startOffset":2370,"endOffset":2542,"count":0}],"isBlockCoverage":false},{"functionName":"rejects","ranges":[{"startOffset":2961,"endOffset":3141,"count":0}],"isBlockCoverage":false},{"functionName":"usingPromise","ranges":[{"startOffset":3445,"endOffset":3536,"count":0}],"isBlockCoverage":false},{"functionName":"yields","ranges":[{"startOffset":3851,"endOffset":4241,"count":0}],"isBlockCoverage":false},{"functionName":"yieldsAsync","ranges":[{"startOffset":4617,"endOffset":5058,"count":0}],"isBlockCoverage":false},{"functionName":"wrapFunc","ranges":[{"startOffset":5206,"endOffset":5898,"count":0}],"isBlockCoverage":false},{"functionName":"getError","ranges":[{"startOffset":6100,"endOffset":6190,"count":0}],"isBlockCoverage":false}]},{"scriptId":"805","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":188,"count":1}],"isBlockCoverage":true}]},{"scriptId":"806","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/fake-server/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9397,"count":1}],"isBlockCoverage":true},{"functionName":"responseArray","ranges":[{"startOffset":267,"endOffset":925,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultWindowLocation","ranges":[{"startOffset":927,"endOffset":1215,"count":0}],"isBlockCoverage":false},{"functionName":"getWindowLocation","ranges":[{"startOffset":1217,"endOffset":1766,"count":0}],"isBlockCoverage":false},{"functionName":"matchOne","ranges":[{"startOffset":1768,"endOffset":2183,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":2185,"endOffset":2960,"count":0}],"isBlockCoverage":false},{"functionName":"incrementRequestCount","ranges":[{"startOffset":2962,"endOffset":3367,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":3400,"endOffset":3930,"count":0}],"isBlockCoverage":false},{"functionName":"configure","ranges":[{"startOffset":3948,"endOffset":4549,"count":0}],"isBlockCoverage":false},{"functionName":"addRequest","ranges":[{"startOffset":4568,"endOffset":5184,"count":0}],"isBlockCoverage":false},{"functionName":"getHTTPMethod","ranges":[{"startOffset":5206,"endOffset":5525,"count":0}],"isBlockCoverage":false},{"functionName":"handleRequest","ranges":[{"startOffset":5547,"endOffset":5712,"count":0}],"isBlockCoverage":false},{"functionName":"logger","ranges":[{"startOffset":5727,"endOffset":5788,"count":0}],"isBlockCoverage":false},{"functionName":"respondWith","ranges":[{"startOffset":5861,"endOffset":7176,"count":0}],"isBlockCoverage":false},{"functionName":"respond","ranges":[{"startOffset":7192,"endOffset":7535,"count":0}],"isBlockCoverage":false},{"functionName":"respondAll","ranges":[{"startOffset":7554,"endOffset":7821,"count":0}],"isBlockCoverage":false},{"functionName":"processRequest","ranges":[{"startOffset":7844,"endOffset":8637,"count":0}],"isBlockCoverage":false},{"functionName":"restore","ranges":[{"startOffset":8653,"endOffset":8759,"count":0}],"isBlockCoverage":false},{"functionName":"getRequest","ranges":[{"startOffset":8778,"endOffset":8857,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":8871,"endOffset":8954,"count":0}],"isBlockCoverage":false},{"functionName":"resetBehavior","ranges":[{"startOffset":8976,"endOffset":9063,"count":0}],"isBlockCoverage":false},{"functionName":"resetHistory","ranges":[{"startOffset":9084,"endOffset":9363,"count":0}],"isBlockCoverage":false}]},{"scriptId":"807","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/fake-xhr/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30778,"count":1},{"startOffset":108,"endOffset":155,"count":0}],"isBlockCoverage":true},{"functionName":"getWorkingXHR","ranges":[{"startOffset":636,"endOffset":1060,"count":1},{"startOffset":768,"endOffset":818,"count":0},{"startOffset":921,"endOffset":1039,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":938,"endOffset":1032,"count":0}],"isBlockCoverage":false},{"functionName":"EventTargetHandler","ranges":[{"startOffset":1666,"endOffset":2206,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeHeaderValue","ranges":[{"startOffset":2264,"endOffset":2484,"count":0}],"isBlockCoverage":false},{"functionName":"getHeader","ranges":[{"startOffset":2486,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"excludeSetCookie2Header","ranges":[{"startOffset":2692,"endOffset":2780,"count":0}],"isBlockCoverage":false},{"functionName":"verifyResponseBodyType","ranges":[{"startOffset":2782,"endOffset":3910,"count":0}],"isBlockCoverage":false},{"functionName":"convertToArrayBuffer","ranges":[{"startOffset":3912,"endOffset":4103,"count":0}],"isBlockCoverage":false},{"functionName":"isXmlContentType","ranges":[{"startOffset":4105,"endOffset":4258,"count":0}],"isBlockCoverage":false},{"functionName":"clearResponse","ranges":[{"startOffset":4260,"endOffset":4498,"count":0}],"isBlockCoverage":false},{"functionName":"fakeXMLHttpRequestFor","ranges":[{"startOffset":4500,"endOffset":30660,"count":1},{"startOffset":4600,"endOffset":4658,"count":0},{"startOffset":5140,"endOffset":5199,"count":0},{"startOffset":5284,"endOffset":5355,"count":0}],"isBlockCoverage":true},{"functionName":"FakeXMLHttpRequest","ranges":[{"startOffset":5580,"endOffset":6290,"count":0}],"isBlockCoverage":false},{"functionName":"verifyState","ranges":[{"startOffset":6296,"endOffset":6538,"count":0}],"isBlockCoverage":false},{"functionName":"apply","ranges":[{"startOffset":6600,"endOffset":7221,"count":0}],"isBlockCoverage":false},{"functionName":"addFilter","ranges":[{"startOffset":7296,"endOffset":7357,"count":0}],"isBlockCoverage":false},{"functionName":"defake","ranges":[{"startOffset":7391,"endOffset":10337,"count":0}],"isBlockCoverage":false},{"functionName":"verifyRequestOpened","ranges":[{"startOffset":10387,"endOffset":10881,"count":0}],"isBlockCoverage":false},{"functionName":"verifyRequestSent","ranges":[{"startOffset":10887,"endOffset":11039,"count":0}],"isBlockCoverage":false},{"functionName":"verifyHeadersReceived","ranges":[{"startOffset":11045,"endOffset":11267,"count":0}],"isBlockCoverage":false},{"functionName":"convertResponseBody","ranges":[{"startOffset":11273,"endOffset":12392,"count":0}],"isBlockCoverage":false},{"functionName":"requestErrorSteps","ranges":[{"startOffset":12531,"endOffset":12967,"count":0}],"isBlockCoverage":false},{"functionName":"parseXML","ranges":[{"startOffset":13003,"endOffset":14653,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":16148,"endOffset":16997,"count":0}],"isBlockCoverage":false},{"functionName":"readyStateChange","ranges":[{"startOffset":17026,"endOffset":19173,"count":0}],"isBlockCoverage":false},{"functionName":"setRequestHeader","ranges":[{"startOffset":19276,"endOffset":20510,"count":0}],"isBlockCoverage":false},{"functionName":"setStatus","ranges":[{"startOffset":20532,"endOffset":20809,"count":0}],"isBlockCoverage":false},{"functionName":"setResponseHeaders","ranges":[{"startOffset":20865,"endOffset":21365,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":21453,"endOffset":24306,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":24324,"endOffset":24479,"count":0}],"isBlockCoverage":false},{"functionName":"error","ranges":[{"startOffset":24497,"endOffset":24725,"count":0}],"isBlockCoverage":false},{"functionName":"triggerTimeout","ranges":[{"startOffset":24752,"endOffset":24926,"count":0}],"isBlockCoverage":false},{"functionName":"getResponseHeader","ranges":[{"startOffset":24956,"endOffset":25391,"count":0}],"isBlockCoverage":false},{"functionName":"getAllResponseHeaders","ranges":[{"startOffset":25425,"endOffset":25965,"count":0}],"isBlockCoverage":false},{"functionName":"setResponseBody","ranges":[{"startOffset":25993,"endOffset":27680,"count":0}],"isBlockCoverage":false},{"functionName":"respond","ranges":[{"startOffset":27700,"endOffset":27927,"count":0}],"isBlockCoverage":false},{"functionName":"uploadProgress","ranges":[{"startOffset":27954,"endOffset":28305,"count":0}],"isBlockCoverage":false},{"functionName":"downloadProgress","ranges":[{"startOffset":28334,"endOffset":28673,"count":0}],"isBlockCoverage":false},{"functionName":"uploadError","ranges":[{"startOffset":28697,"endOffset":28926,"count":0}],"isBlockCoverage":false},{"functionName":"overrideMimeType","ranges":[{"startOffset":28955,"endOffset":29175,"count":0}],"isBlockCoverage":false},{"functionName":"useFakeXMLHttpRequest","ranges":[{"startOffset":29410,"endOffset":30513,"count":0}],"isBlockCoverage":false}]},{"scriptId":"808","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":457,"count":1}],"isBlockCoverage":true}]},{"scriptId":"809","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":386,"count":1},{"startOffset":216,"endOffset":353,"count":0}],"isBlockCoverage":true}]},{"scriptId":"810","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/called-in-order.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1445,"count":1}],"isBlockCoverage":true},{"functionName":"hasCallsLeft","ranges":[{"startOffset":85,"endOffset":245,"count":0}],"isBlockCoverage":false},{"functionName":"checkAdjacentCalls","ranges":[{"startOffset":267,"endOffset":602,"count":0}],"isBlockCoverage":false},{"functionName":"calledInOrder","ranges":[{"startOffset":1177,"endOffset":1411,"count":0}],"isBlockCoverage":false}]},{"scriptId":"811","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true}]},{"scriptId":"812","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype-methods.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1010,"count":1},{"startOffset":423,"endOffset":470,"count":0}],"isBlockCoverage":true},{"functionName":"copyPrototypeMethods","ranges":[{"startOffset":489,"endOffset":1008,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":671,"endOffset":979,"count":134},{"startOffset":768,"endOffset":806,"count":4},{"startOffset":806,"endOffset":859,"count":130},{"startOffset":859,"endOffset":897,"count":5},{"startOffset":897,"endOffset":978,"count":125}],"isBlockCoverage":true}]},{"scriptId":"813","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/throws-on-proto.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":749,"count":1},{"startOffset":488,"endOffset":715,"count":0}],"isBlockCoverage":true}]},{"scriptId":"814","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/class-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":921,"count":1}],"isBlockCoverage":true},{"functionName":"className","ranges":[{"startOffset":221,"endOffset":891,"count":0}],"isBlockCoverage":false}]},{"scriptId":"815","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/function-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":818,"count":1}],"isBlockCoverage":true},{"functionName":"functionName","ranges":[{"startOffset":132,"endOffset":816,"count":0}],"isBlockCoverage":false}]},{"scriptId":"816","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/deprecated.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1363,"count":1}],"isBlockCoverage":true},{"functionName":"exports.wrap","ranges":[{"startOffset":282,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"exports.defaultMsg","ranges":[{"startOffset":774,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"exports.printWarning","ranges":[{"startOffset":1080,"endOffset":1361,"count":0}],"isBlockCoverage":false}]},{"scriptId":"817","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/every.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":666,"count":1}],"isBlockCoverage":true},{"functionName":"every","ranges":[{"startOffset":241,"endOffset":664,"count":0}],"isBlockCoverage":false}]},{"scriptId":"818","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/order-by-first-call.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":817,"count":1}],"isBlockCoverage":true},{"functionName":"comparator","ranges":[{"startOffset":132,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"orderByFirstCall","ranges":[{"startOffset":701,"endOffset":780,"count":0}],"isBlockCoverage":false}]},{"scriptId":"819","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":225,"count":1}],"isBlockCoverage":true}]},{"scriptId":"820","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":125,"count":1}],"isBlockCoverage":true}]},{"scriptId":"821","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"822","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"823","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"824","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"825","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/type-of.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":266,"count":1}],"isBlockCoverage":true},{"functionName":"typeOf","ranges":[{"startOffset":200,"endOffset":264,"count":0}],"isBlockCoverage":false}]},{"scriptId":"826","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/value-to-string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"valueToString","ranges":[{"startOffset":116,"endOffset":336,"count":0}],"isBlockCoverage":false}]},{"scriptId":"827","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/configure-logger/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1639,"count":1}],"isBlockCoverage":true},{"functionName":"configureLogger","ranges":[{"startOffset":239,"endOffset":1603,"count":1},{"startOffset":344,"endOffset":349,"count":0}],"isBlockCoverage":true},{"functionName":"config.logger","ranges":[{"startOffset":510,"endOffset":523,"count":0}],"isBlockCoverage":false},{"functionName":"logError","ranges":[{"startOffset":966,"endOffset":1600,"count":0}],"isBlockCoverage":false}]},{"scriptId":"828","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/event/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":203,"count":1}],"isBlockCoverage":true}]},{"scriptId":"829","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/event/event.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":569,"count":1}],"isBlockCoverage":true},{"functionName":"Event","ranges":[{"startOffset":15,"endOffset":123,"count":2}],"isBlockCoverage":true},{"functionName":"initEvent","ranges":[{"startOffset":160,"endOffset":374,"count":2}],"isBlockCoverage":true},{"functionName":"stopPropagation","ranges":[{"startOffset":448,"endOffset":461,"count":0}],"isBlockCoverage":false},{"functionName":"preventDefault","ranges":[{"startOffset":484,"endOffset":540,"count":0}],"isBlockCoverage":false}]},{"scriptId":"830","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/event/progress-event.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":596,"count":1}],"isBlockCoverage":true},{"functionName":"ProgressEvent","ranges":[{"startOffset":48,"endOffset":468,"count":0}],"isBlockCoverage":false}]},{"scriptId":"831","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/event/custom-event.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":311,"count":1}],"isBlockCoverage":true},{"functionName":"CustomEvent","ranges":[{"startOffset":48,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"832","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/event/event-target.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4070,"count":1}],"isBlockCoverage":true},{"functionName":"flattenOptions","ranges":[{"startOffset":15,"endOffset":357,"count":0}],"isBlockCoverage":false},{"functionName":"not","ranges":[{"startOffset":358,"endOffset":452,"count":0}],"isBlockCoverage":false},{"functionName":"hasListenerFilter","ranges":[{"startOffset":453,"endOffset":668,"count":0}],"isBlockCoverage":false},{"functionName":"addEventListener","ranges":[{"startOffset":781,"endOffset":2274,"count":0}],"isBlockCoverage":false},{"functionName":"removeEventListener","ranges":[{"startOffset":2374,"endOffset":3136,"count":0}],"isBlockCoverage":false},{"functionName":"dispatchEvent","ranges":[{"startOffset":3158,"endOffset":4035,"count":0}],"isBlockCoverage":false}]},{"scriptId":"833","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/just-extend/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1947,"count":1}],"isBlockCoverage":true},{"functionName":"extend","ranges":[{"startOffset":771,"endOffset":1735,"count":4},{"startOffset":917,"endOffset":947,"count":0},{"startOffset":1002,"endOffset":1058,"count":0},{"startOffset":1154,"endOffset":1716,"count":5},{"startOffset":1219,"endOffset":1712,"count":32},{"startOffset":1338,"endOffset":1359,"count":0},{"startOffset":1361,"endOffset":1650,"count":0}],"isBlockCoverage":true},{"functionName":"isCloneable","ranges":[{"startOffset":1737,"endOffset":1841,"count":0}],"isBlockCoverage":false},{"functionName":"isUnextendable","ranges":[{"startOffset":1843,"endOffset":1946,"count":4},{"startOffset":1915,"endOffset":1942,"count":1}],"isBlockCoverage":true}]},{"scriptId":"834","url":"node:internal/deps/undici/undici","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":539966,"count":1}],"isBlockCoverage":false},{"functionName":"__commonJS","ranges":[{"startOffset":83,"endOffset":222,"count":55}],"isBlockCoverage":true},{"functionName":"__require","ranges":[{"startOffset":96,"endOffset":222,"count":166},{"startOffset":132,"endOffset":206,"count":54}],"isBlockCoverage":true},{"functionName":"lib/core/symbols.js","ranges":[{"startOffset":285,"endOffset":2893,"count":1}],"isBlockCoverage":true},{"functionName":"lib/fetch/symbols.js","ranges":[{"startOffset":2961,"endOffset":3244,"count":1}],"isBlockCoverage":true},{"functionName":"lib/core/errors.js","ranges":[{"startOffset":3308,"endOffset":10942,"count":1}],"isBlockCoverage":true},{"functionName":"UndiciError","ranges":[{"startOffset":3418,"endOffset":3538,"count":0}],"isBlockCoverage":false},{"functionName":"_ConnectTimeoutError","ranges":[{"startOffset":3631,"endOffset":3895,"count":0}],"isBlockCoverage":false},{"functionName":"_HeadersTimeoutError","ranges":[{"startOffset":3988,"endOffset":4252,"count":0}],"isBlockCoverage":false},{"functionName":"_HeadersOverflowError","ranges":[{"startOffset":4347,"endOffset":4615,"count":0}],"isBlockCoverage":false},{"functionName":"_BodyTimeoutError","ranges":[{"startOffset":4702,"endOffset":4954,"count":0}],"isBlockCoverage":false},{"functionName":"_ResponseStatusCodeError","ranges":[{"startOffset":5055,"endOffset":5494,"count":0}],"isBlockCoverage":false},{"functionName":"_InvalidArgumentError","ranges":[{"startOffset":5589,"endOffset":5852,"count":0}],"isBlockCoverage":false},{"functionName":"_InvalidReturnValueError","ranges":[{"startOffset":5953,"endOffset":6235,"count":0}],"isBlockCoverage":false},{"functionName":"_RequestAbortedError","ranges":[{"startOffset":6328,"endOffset":6569,"count":0}],"isBlockCoverage":false},{"functionName":"_InformationalError","ranges":[{"startOffset":6660,"endOffset":6909,"count":0}],"isBlockCoverage":false},{"functionName":"_RequestContentLengthMismatchError","ranges":[{"startOffset":7030,"endOffset":7369,"count":0}],"isBlockCoverage":false},{"functionName":"_ResponseContentLengthMismatchError","ranges":[{"startOffset":7492,"endOffset":7834,"count":0}],"isBlockCoverage":false},{"functionName":"_ClientDestroyedError","ranges":[{"startOffset":7929,"endOffset":8191,"count":0}],"isBlockCoverage":false},{"functionName":"_ClientClosedError","ranges":[{"startOffset":8280,"endOffset":8530,"count":0}],"isBlockCoverage":false},{"functionName":"_SocketError","ranges":[{"startOffset":8607,"endOffset":8875,"count":0}],"isBlockCoverage":false},{"functionName":"_NotSupportedError","ranges":[{"startOffset":8964,"endOffset":9220,"count":0}],"isBlockCoverage":false},{"functionName":"BalancedPoolMissingUpstreamError","ranges":[{"startOffset":9305,"endOffset":9597,"count":0}],"isBlockCoverage":false},{"functionName":"_HTTPParserError","ranges":[{"startOffset":9676,"endOffset":9942,"count":0}],"isBlockCoverage":false},{"functionName":"_ResponseExceededMaxSizeError","ranges":[{"startOffset":10053,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"lib/core/util.js","ranges":[{"startOffset":11002,"endOffset":24883,"count":1},{"startOffset":24834,"endOffset":24872,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11516,"endOffset":11532,"count":3}],"isBlockCoverage":true},{"functionName":"nop","ranges":[{"startOffset":11539,"endOffset":11561,"count":0}],"isBlockCoverage":false},{"functionName":"isStream","ranges":[{"startOffset":11566,"endOffset":11707,"count":0}],"isBlockCoverage":false},{"functionName":"isBlobLike","ranges":[{"startOffset":11712,"endOffset":11971,"count":0}],"isBlockCoverage":false},{"functionName":"buildURL","ranges":[{"startOffset":11976,"endOffset":12310,"count":0}],"isBlockCoverage":false},{"functionName":"parseURL","ranges":[{"startOffset":12315,"endOffset":14516,"count":0}],"isBlockCoverage":false},{"functionName":"parseOrigin","ranges":[{"startOffset":14521,"endOffset":14722,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname","ranges":[{"startOffset":14727,"endOffset":15022,"count":0}],"isBlockCoverage":false},{"functionName":"getServerName","ranges":[{"startOffset":15027,"endOffset":15290,"count":0}],"isBlockCoverage":false},{"functionName":"deepClone","ranges":[{"startOffset":15295,"endOffset":15372,"count":1}],"isBlockCoverage":true},{"functionName":"isAsyncIterable","ranges":[{"startOffset":15377,"endOffset":15495,"count":0}],"isBlockCoverage":false},{"functionName":"isIterable","ranges":[{"startOffset":15500,"endOffset":15661,"count":0}],"isBlockCoverage":false},{"functionName":"bodyLength","ranges":[{"startOffset":15666,"endOffset":16136,"count":0}],"isBlockCoverage":false},{"functionName":"isDestroyed","ranges":[{"startOffset":16141,"endOffset":16249,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableAborted","ranges":[{"startOffset":16254,"endOffset":16417,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":16422,"endOffset":16969,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeepAliveTimeout","ranges":[{"startOffset":17024,"endOffset":17179,"count":0}],"isBlockCoverage":false},{"functionName":"parseHeaders","ranges":[{"startOffset":17184,"endOffset":18003,"count":0}],"isBlockCoverage":false},{"functionName":"parseRawHeaders","ranges":[{"startOffset":18008,"endOffset":18897,"count":0}],"isBlockCoverage":false},{"functionName":"isBuffer","ranges":[{"startOffset":18902,"endOffset":19005,"count":0}],"isBlockCoverage":false},{"functionName":"validateHandler","ranges":[{"startOffset":19010,"endOffset":20220,"count":0}],"isBlockCoverage":false},{"functionName":"isDisturbed","ranges":[{"startOffset":20225,"endOffset":20479,"count":0}],"isBlockCoverage":false},{"functionName":"isErrored","ranges":[{"startOffset":20484,"endOffset":20652,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":20657,"endOffset":20829,"count":0}],"isBlockCoverage":false},{"functionName":"getSocketInfo","ranges":[{"startOffset":20834,"endOffset":21215,"count":0}],"isBlockCoverage":false},{"functionName":"convertIterableToBuffer","ranges":[{"startOffset":21220,"endOffset":21396,"count":0}],"isBlockCoverage":false},{"functionName":"ReadableStreamFrom","ranges":[{"startOffset":21425,"endOffset":22391,"count":0}],"isBlockCoverage":false},{"functionName":"isFormDataLike","ranges":[{"startOffset":22396,"endOffset":22756,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfAborted","ranges":[{"startOffset":22761,"endOffset":23116,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortListener","ranges":[{"startOffset":23137,"endOffset":23761,"count":0}],"isBlockCoverage":false},{"functionName":"toUSVString","ranges":[{"startOffset":23825,"endOffset":24041,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/constants.js","ranges":[{"startOffset":24954,"endOffset":28925,"count":1},{"startOffset":27746,"endOffset":27882,"count":0},{"startOffset":27954,"endOffset":28540,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27750,"endOffset":27879,"count":0}],"isBlockCoverage":true},{"functionName":"structuredClone2","ranges":[{"startOffset":28144,"endOffset":28540,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/global.js","ranges":[{"startOffset":28990,"endOffset":29955,"count":1}],"isBlockCoverage":true},{"functionName":"getGlobalOrigin","ranges":[{"startOffset":29115,"endOffset":29188,"count":0}],"isBlockCoverage":false},{"functionName":"setGlobalOrigin","ranges":[{"startOffset":29193,"endOffset":29875,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/util.js","ranges":[{"startOffset":30017,"endOffset":47923,"count":1},{"startOffset":30511,"endOffset":30524,"count":0},{"startOffset":46714,"endOffset":46781,"count":0}],"isBlockCoverage":true},{"functionName":"responseURL","ranges":[{"startOffset":30529,"endOffset":30711,"count":0}],"isBlockCoverage":false},{"functionName":"responseLocationURL","ranges":[{"startOffset":30716,"endOffset":31166,"count":0}],"isBlockCoverage":false},{"functionName":"requestCurrentURL","ranges":[{"startOffset":31171,"endOffset":31272,"count":0}],"isBlockCoverage":false},{"functionName":"requestBadPort","ranges":[{"startOffset":31277,"endOffset":31491,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorLike","ranges":[{"startOffset":31496,"endOffset":31661,"count":0}],"isBlockCoverage":false},{"functionName":"isValidReasonPhrase","ranges":[{"startOffset":31666,"endOffset":31982,"count":0}],"isBlockCoverage":false},{"functionName":"isTokenChar","ranges":[{"startOffset":31987,"endOffset":32277,"count":0}],"isBlockCoverage":false},{"functionName":"isValidHTTPToken","ranges":[{"startOffset":32282,"endOffset":32615,"count":0}],"isBlockCoverage":false},{"functionName":"isValidHeaderName","ranges":[{"startOffset":32620,"endOffset":32788,"count":0}],"isBlockCoverage":false},{"functionName":"isValidHeaderValue","ranges":[{"startOffset":32793,"endOffset":33174,"count":0}],"isBlockCoverage":false},{"functionName":"setRequestReferrerPolicyOnRedirect","ranges":[{"startOffset":33179,"endOffset":33760,"count":0}],"isBlockCoverage":false},{"functionName":"crossOriginResourcePolicyCheck","ranges":[{"startOffset":33765,"endOffset":33838,"count":0}],"isBlockCoverage":false},{"functionName":"corsCheck","ranges":[{"startOffset":33843,"endOffset":33895,"count":0}],"isBlockCoverage":false},{"functionName":"TAOCheck","ranges":[{"startOffset":33900,"endOffset":33951,"count":0}],"isBlockCoverage":false},{"functionName":"appendFetchMetadata","ranges":[{"startOffset":33956,"endOffset":34124,"count":0}],"isBlockCoverage":false},{"functionName":"appendRequestOriginHeader","ranges":[{"startOffset":34129,"endOffset":35251,"count":0}],"isBlockCoverage":false},{"functionName":"coarsenedSharedCurrentTime","ranges":[{"startOffset":35256,"endOffset":35363,"count":0}],"isBlockCoverage":false},{"functionName":"createOpaqueTimingInfo","ranges":[{"startOffset":35368,"endOffset":35844,"count":0}],"isBlockCoverage":false},{"functionName":"makePolicyContainer","ranges":[{"startOffset":35849,"endOffset":35969,"count":0}],"isBlockCoverage":false},{"functionName":"clonePolicyContainer","ranges":[{"startOffset":35974,"endOffset":36107,"count":0}],"isBlockCoverage":false},{"functionName":"determineRequestsReferrer","ranges":[{"startOffset":36112,"endOffset":38005,"count":0}],"isBlockCoverage":false},{"functionName":"stripURLForReferrer","ranges":[{"startOffset":38010,"endOffset":38404,"count":0}],"isBlockCoverage":false},{"functionName":"isURLPotentiallyTrustworthy","ranges":[{"startOffset":38409,"endOffset":39380,"count":0}],"isBlockCoverage":false},{"functionName":"bytesMatch","ranges":[{"startOffset":39385,"endOffset":40691,"count":0}],"isBlockCoverage":false},{"functionName":"parseMetadata","ranges":[{"startOffset":40811,"endOffset":41447,"count":0}],"isBlockCoverage":false},{"functionName":"tryUpgradeRequestToAPotentiallyTrustworthyURL","ranges":[{"startOffset":41452,"endOffset":41523,"count":0}],"isBlockCoverage":false},{"functionName":"sameOrigin","ranges":[{"startOffset":41528,"endOffset":41786,"count":0}],"isBlockCoverage":false},{"functionName":"createDeferredPromise","ranges":[{"startOffset":41791,"endOffset":42026,"count":0}],"isBlockCoverage":false},{"functionName":"isAborted","ranges":[{"startOffset":42031,"endOffset":42127,"count":0}],"isBlockCoverage":false},{"functionName":"isCancelled","ranges":[{"startOffset":42132,"endOffset":42279,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeMethod","ranges":[{"startOffset":42284,"endOffset":42423,"count":0}],"isBlockCoverage":false},{"functionName":"serializeJavascriptValueToJSONString","ranges":[{"startOffset":42428,"endOffset":42697,"count":0}],"isBlockCoverage":false},{"functionName":"makeIterator","ranges":[{"startOffset":42801,"endOffset":43872,"count":0}],"isBlockCoverage":false},{"functionName":"iteratorResult","ranges":[{"startOffset":43877,"endOffset":44249,"count":0}],"isBlockCoverage":false},{"functionName":"fullyReadBody","ranges":[{"startOffset":44254,"endOffset":44693,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStreamLike","ranges":[{"startOffset":44750,"endOffset":45029,"count":0}],"isBlockCoverage":false},{"functionName":"isomorphicDecode","ranges":[{"startOffset":45075,"endOffset":45316,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamClose","ranges":[{"startOffset":45321,"endOffset":45539,"count":0}],"isBlockCoverage":false},{"functionName":"isomorphicEncode","ranges":[{"startOffset":45544,"endOffset":45703,"count":0}],"isBlockCoverage":false},{"functionName":"readAllBytes","ranges":[{"startOffset":45708,"endOffset":46144,"count":0}],"isBlockCoverage":false},{"functionName":"urlIsLocal","ranges":[{"startOffset":46149,"endOffset":46335,"count":0}],"isBlockCoverage":false},{"functionName":"urlHasHttpsScheme","ranges":[{"startOffset":46340,"endOffset":46505,"count":0}],"isBlockCoverage":false},{"functionName":"urlIsHttpHttpsScheme","ranges":[{"startOffset":46510,"endOffset":46682,"count":0}],"isBlockCoverage":false},{"functionName":"hasOwn","ranges":[{"startOffset":46718,"endOffset":46780,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/webidl.js","ranges":[{"startOffset":47988,"endOffset":60178,"count":1}],"isBlockCoverage":true},{"functionName":"webidl.errors.exception","ranges":[{"startOffset":48262,"endOffset":48356,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.errors.conversionFailed","ranges":[{"startOffset":48395,"endOffset":48693,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.errors.invalidArgument","ranges":[{"startOffset":48731,"endOffset":48906,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.brandCheck","ranges":[{"startOffset":48932,"endOffset":49176,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.argumentLengthCheck","ranges":[{"startOffset":49211,"endOffset":49468,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.illegalConstructor","ranges":[{"startOffset":49502,"endOffset":49636,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.util.Type","ranges":[{"startOffset":49661,"endOffset":50176,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.util.ConvertToInt","ranges":[{"startOffset":50209,"endOffset":52074,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.util.IntegerPart","ranges":[{"startOffset":52106,"endOffset":52232,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.sequenceConverter","ranges":[{"startOffset":52265,"endOffset":53031,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":52300,"endOffset":53024,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.recordConverter","ranges":[{"startOffset":53062,"endOffset":54056,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":53116,"endOffset":54049,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.interfaceConverter","ranges":[{"startOffset":54090,"endOffset":54390,"count":7}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":54117,"endOffset":54383,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.dictionaryConverter","ranges":[{"startOffset":54425,"endOffset":55938,"count":7}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":54461,"endOffset":55931,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.nullableConverter","ranges":[{"startOffset":55971,"endOffset":56114,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":56006,"endOffset":56107,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.DOMString","ranges":[{"startOffset":56150,"endOffset":56415,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.ByteString","ranges":[{"startOffset":56452,"endOffset":56876,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.boolean","ranges":[{"startOffset":56957,"endOffset":57020,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.any","ranges":[{"startOffset":57050,"endOffset":57085,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.long long","ranges":[{"startOffset":57124,"endOffset":57218,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.unsigned long long","ranges":[{"startOffset":57266,"endOffset":57362,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.unsigned long","ranges":[{"startOffset":57405,"endOffset":57501,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.unsigned short","ranges":[{"startOffset":57545,"endOffset":57653,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.ArrayBuffer","ranges":[{"startOffset":57691,"endOffset":58187,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.TypedArray","ranges":[{"startOffset":58224,"endOffset":58757,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.DataView","ranges":[{"startOffset":58792,"endOffset":59272,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.BufferSource","ranges":[{"startOffset":59311,"endOffset":59714,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/headers.js","ranges":[{"startOffset":60245,"endOffset":72158,"count":1}],"isBlockCoverage":true},{"functionName":"headerValueNormalize","ranges":[{"startOffset":60731,"endOffset":60962,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":60967,"endOffset":61799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61822,"endOffset":64537,"count":0}],"isBlockCoverage":true},{"functionName":"_Headers","ranges":[{"startOffset":64580,"endOffset":64818,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":64884,"endOffset":65803,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":65869,"endOffset":66553,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":66616,"endOffset":67055,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":67118,"endOffset":67562,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":67625,"endOffset":68529,"count":0}],"isBlockCoverage":false},{"functionName":"getSetCookie","ranges":[{"startOffset":68601,"endOffset":68794,"count":0}],"isBlockCoverage":false},{"functionName":"Headers","ranges":[{"startOffset":68878,"endOffset":69581,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":69588,"endOffset":69779,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":69786,"endOffset":69981,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":69988,"endOffset":70188,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":70330,"endOffset":70812,"count":0}],"isBlockCoverage":false},{"functionName":"Headers","ranges":[{"startOffset":70819,"endOffset":70951,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.HeadersInit","ranges":[{"startOffset":71606,"endOffset":72077,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/deps/streamsearch/sbmh.js","ranges":[{"startOffset":72256,"endOffset":76737,"count":1}],"isBlockCoverage":true},{"functionName":"SBMH","ranges":[{"startOffset":72466,"endOffset":73336,"count":0}],"isBlockCoverage":false},{"functionName":"SBMH.reset","ranges":[{"startOffset":73398,"endOffset":73497,"count":0}],"isBlockCoverage":false},{"functionName":"SBMH.push","ranges":[{"startOffset":73525,"endOffset":73844,"count":0}],"isBlockCoverage":false},{"functionName":"SBMH._sbmh_feed","ranges":[{"startOffset":73878,"endOffset":76314,"count":0}],"isBlockCoverage":false},{"functionName":"SBMH._sbmh_lookup_char","ranges":[{"startOffset":76355,"endOffset":76464,"count":0}],"isBlockCoverage":false},{"functionName":"SBMH._sbmh_memcmp","ranges":[{"startOffset":76500,"endOffset":76704,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js","ranges":[{"startOffset":76844,"endOffset":77261,"count":1}],"isBlockCoverage":true},{"functionName":"PartStream","ranges":[{"startOffset":77055,"endOffset":77127,"count":0}],"isBlockCoverage":false},{"functionName":"PartStream._read","ranges":[{"startOffset":77203,"endOffset":77222,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/utils/getLimit.js","ranges":[{"startOffset":77359,"endOffset":77818,"count":1}],"isBlockCoverage":true},{"functionName":"getLimit","ranges":[{"startOffset":77473,"endOffset":77813,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/deps/dicer/lib/HeaderParser.js","ranges":[{"startOffset":77929,"endOffset":80938,"count":1}],"isBlockCoverage":true},{"functionName":"HeaderParser","ranges":[{"startOffset":78344,"endOffset":79292,"count":0}],"isBlockCoverage":false},{"functionName":"HeaderParser.push","ranges":[{"startOffset":79369,"endOffset":79480,"count":0}],"isBlockCoverage":false},{"functionName":"HeaderParser.reset","ranges":[{"startOffset":79517,"endOffset":79635,"count":0}],"isBlockCoverage":false},{"functionName":"HeaderParser._finish","ranges":[{"startOffset":79674,"endOffset":80005,"count":0}],"isBlockCoverage":false},{"functionName":"HeaderParser._parseHeader","ranges":[{"startOffset":80049,"endOffset":80897,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/deps/dicer/lib/Dicer.js","ranges":[{"startOffset":81035,"endOffset":88306,"count":1}],"isBlockCoverage":true},{"functionName":"EMPTY_FN","ranges":[{"startOffset":81480,"endOffset":81498,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer","ranges":[{"startOffset":81504,"endOffset":82568,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer.emit","ranges":[{"startOffset":82633,"endOffset":83591,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer._write","ranges":[{"startOffset":83622,"endOffset":84446,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer.reset","ranges":[{"startOffset":84476,"endOffset":84581,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer.setBoundary","ranges":[{"startOffset":84617,"endOffset":84857,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer._ignore","ranges":[{"startOffset":84889,"endOffset":85064,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer._oninfo","ranges":[{"startOffset":85096,"endOffset":88044,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer._unpause","ranges":[{"startOffset":88077,"endOffset":88272,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/utils/decodeText.js","ranges":[{"startOffset":88408,"endOffset":89247,"count":1}],"isBlockCoverage":true},{"functionName":"decodeText","ranges":[{"startOffset":88669,"endOffset":89209,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/utils/parseParams.js","ranges":[{"startOffset":89351,"endOffset":92326,"count":1}],"isBlockCoverage":true},{"functionName":"encodedReplacer","ranges":[{"startOffset":89536,"endOffset":89635,"count":0}],"isBlockCoverage":false},{"functionName":"parseParams","ranges":[{"startOffset":89640,"endOffset":92287,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/utils/basename.js","ranges":[{"startOffset":92424,"endOffset":92940,"count":1}],"isBlockCoverage":true},{"functionName":"basename","ranges":[{"startOffset":92538,"endOffset":92935,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/types/multipart.js","ranges":[{"startOffset":93040,"endOffset":102334,"count":1}],"isBlockCoverage":true},{"functionName":"Multipart","ranges":[{"startOffset":93650,"endOffset":101498,"count":0}],"isBlockCoverage":false},{"functionName":"Multipart.write","ranges":[{"startOffset":101531,"endOffset":101721,"count":0}],"isBlockCoverage":false},{"functionName":"Multipart.end","ranges":[{"startOffset":101753,"endOffset":102022,"count":0}],"isBlockCoverage":false},{"functionName":"skipPart","ranges":[{"startOffset":102028,"endOffset":102080,"count":0}],"isBlockCoverage":false},{"functionName":"FileStream","ranges":[{"startOffset":102085,"endOffset":102207,"count":0}],"isBlockCoverage":false},{"functionName":"FileStream._read","ranges":[{"startOffset":102277,"endOffset":102296,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/utils/Decoder.js","ranges":[{"startOffset":102430,"endOffset":104808,"count":1}],"isBlockCoverage":true},{"functionName":"Decoder","ranges":[{"startOffset":103724,"endOffset":103778,"count":0}],"isBlockCoverage":false},{"functionName":"Decoder.write","ranges":[{"startOffset":103809,"endOffset":104694,"count":0}],"isBlockCoverage":false},{"functionName":"Decoder.reset","ranges":[{"startOffset":104726,"endOffset":104772,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/types/urlencoded.js","ranges":[{"startOffset":104910,"endOffset":111673,"count":1}],"isBlockCoverage":true},{"functionName":"UrlEncoded","ranges":[{"startOffset":105226,"endOffset":106259,"count":0}],"isBlockCoverage":false},{"functionName":"UrlEncoded.write","ranges":[{"startOffset":106293,"endOffset":110978,"count":0}],"isBlockCoverage":false},{"functionName":"UrlEncoded.end","ranges":[{"startOffset":111011,"endOffset":111634,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/main.js","ranges":[{"startOffset":111757,"endOffset":114255,"count":1}],"isBlockCoverage":true},{"functionName":"Busboy","ranges":[{"startOffset":112120,"endOffset":112926,"count":0}],"isBlockCoverage":false},{"functionName":"Busboy.emit","ranges":[{"startOffset":112993,"endOffset":113282,"count":0}],"isBlockCoverage":false},{"functionName":"Busboy.getParserByHeaders","ranges":[{"startOffset":113326,"endOffset":114004,"count":0}],"isBlockCoverage":false},{"functionName":"Busboy._write","ranges":[{"startOffset":114036,"endOffset":114110,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/dataURL.js","ranges":[{"startOffset":114322,"endOffset":123933,"count":1}],"isBlockCoverage":true},{"functionName":"dataURLProcessor","ranges":[{"startOffset":114741,"endOffset":116058,"count":0}],"isBlockCoverage":false},{"functionName":"URLSerializer","ranges":[{"startOffset":116063,"endOffset":116341,"count":0}],"isBlockCoverage":false},{"functionName":"collectASequenceOfCodePoints","ranges":[{"startOffset":116346,"endOffset":116632,"count":0}],"isBlockCoverage":false},{"functionName":"collectASequenceOfCodePointsFast","ranges":[{"startOffset":116637,"endOffset":116998,"count":0}],"isBlockCoverage":false},{"functionName":"stringPercentDecode","ranges":[{"startOffset":117003,"endOffset":117124,"count":0}],"isBlockCoverage":false},{"functionName":"percentDecode","ranges":[{"startOffset":117129,"endOffset":117732,"count":0}],"isBlockCoverage":false},{"functionName":"parseMIMEType","ranges":[{"startOffset":117737,"endOffset":120513,"count":0}],"isBlockCoverage":false},{"functionName":"forgivingBase64","ranges":[{"startOffset":120518,"endOffset":121069,"count":0}],"isBlockCoverage":false},{"functionName":"collectAnHTTPQuotedString","ranges":[{"startOffset":121074,"endOffset":122059,"count":0}],"isBlockCoverage":false},{"functionName":"serializeAMimeType","ranges":[{"startOffset":122064,"endOffset":122612,"count":0}],"isBlockCoverage":false},{"functionName":"isHTTPWhiteSpace","ranges":[{"startOffset":122617,"endOffset":122733,"count":0}],"isBlockCoverage":false},{"functionName":"removeHTTPWhitespace","ranges":[{"startOffset":122738,"endOffset":123131,"count":0}],"isBlockCoverage":false},{"functionName":"isASCIIWhitespace","ranges":[{"startOffset":123136,"endOffset":123270,"count":0}],"isBlockCoverage":false},{"functionName":"removeASCIIWhitespace","ranges":[{"startOffset":123275,"endOffset":123671,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/file.js","ranges":[{"startOffset":123994,"endOffset":129773,"count":1}],"isBlockCoverage":true},{"functionName":"_File","ranges":[{"startOffset":124441,"endOffset":125289,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":125296,"endOffset":125390,"count":0}],"isBlockCoverage":false},{"functionName":"get lastModified","ranges":[{"startOffset":125397,"endOffset":125507,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":125514,"endOffset":125608,"count":0}],"isBlockCoverage":false},{"functionName":"_FileLike","ranges":[{"startOffset":125659,"endOffset":125948,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":125955,"endOffset":126078,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBuffer","ranges":[{"startOffset":126085,"endOffset":126218,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":126225,"endOffset":126346,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":126353,"endOffset":126472,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":126479,"endOffset":126586,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":126593,"endOffset":126700,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":126707,"endOffset":126805,"count":0}],"isBlockCoverage":false},{"functionName":"get lastModified","ranges":[{"startOffset":126812,"endOffset":126926,"count":0}],"isBlockCoverage":false},{"functionName":"FileLike","ranges":[{"startOffset":126933,"endOffset":126992,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.BlobPart","ranges":[{"startOffset":127312,"endOffset":127678,"count":0}],"isBlockCoverage":false},{"functionName":"get defaultValue","ranges":[{"startOffset":127957,"endOffset":128016,"count":0}],"isBlockCoverage":false},{"functionName":"converter","ranges":[{"startOffset":128188,"endOffset":128410,"count":0}],"isBlockCoverage":false},{"functionName":"processBlobParts","ranges":[{"startOffset":128468,"endOffset":129235,"count":0}],"isBlockCoverage":false},{"functionName":"convertLineEndingsNative","ranges":[{"startOffset":129240,"endOffset":129456,"count":0}],"isBlockCoverage":false},{"functionName":"isFileLike","ranges":[{"startOffset":129461,"endOffset":129715,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/formdata.js","ranges":[{"startOffset":129842,"endOffset":135861,"count":1},{"startOffset":130212,"endOffset":130225,"count":0}],"isBlockCoverage":true},{"functionName":"_FormData","ranges":[{"startOffset":130270,"endOffset":130541,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":130548,"endOffset":131280,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":131287,"endOffset":131560,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":131567,"endOffset":131933,"count":0}],"isBlockCoverage":false},{"functionName":"getAll","ranges":[{"startOffset":131940,"endOffset":132233,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":132240,"endOffset":132509,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":132516,"endOffset":133542,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":133549,"endOffset":133765,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":133772,"endOffset":133979,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":133986,"endOffset":134197,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":134340,"endOffset":134825,"count":0}],"isBlockCoverage":false},{"functionName":"makeEntry","ranges":[{"startOffset":135057,"endOffset":135821,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/body.js","ranges":[{"startOffset":135922,"endOffset":149206,"count":1},{"startOffset":136855,"endOffset":136868,"count":0}],"isBlockCoverage":true},{"functionName":"extractBody","ranges":[{"startOffset":136874,"endOffset":141650,"count":0}],"isBlockCoverage":false},{"functionName":"safelyExtractBody","ranges":[{"startOffset":141655,"endOffset":142054,"count":0}],"isBlockCoverage":false},{"functionName":"cloneBody","ranges":[{"startOffset":142059,"endOffset":142387,"count":0}],"isBlockCoverage":false},{"functionName":"consumeBody","ranges":[{"startOffset":142392,"endOffset":142868,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfAborted","ranges":[{"startOffset":142873,"endOffset":143022,"count":0}],"isBlockCoverage":false},{"functionName":"bodyMixinMethods","ranges":[{"startOffset":143027,"endOffset":147431,"count":2}],"isBlockCoverage":true},{"functionName":"blob","ranges":[{"startOffset":143097,"endOffset":143472,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBuffer","ranges":[{"startOffset":143482,"endOffset":143632,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":143642,"endOffset":143727,"count":0}],"isBlockCoverage":false},{"functionName":"json","ranges":[{"startOffset":143737,"endOffset":143825,"count":0}],"isBlockCoverage":false},{"functionName":"formData","ranges":[{"startOffset":143835,"endOffset":147394,"count":0}],"isBlockCoverage":false},{"functionName":"mixinBody","ranges":[{"startOffset":147436,"endOffset":147544,"count":2}],"isBlockCoverage":true},{"functionName":"specConsumeBody","ranges":[{"startOffset":147549,"endOffset":148319,"count":0}],"isBlockCoverage":false},{"functionName":"bodyUnusable","ranges":[{"startOffset":148324,"endOffset":148443,"count":0}],"isBlockCoverage":false},{"functionName":"utf8DecodeBytes","ranges":[{"startOffset":148448,"endOffset":148742,"count":0}],"isBlockCoverage":false},{"functionName":"parseJSONFromBytes","ranges":[{"startOffset":148747,"endOffset":148838,"count":0}],"isBlockCoverage":false},{"functionName":"bodyMimeType","ranges":[{"startOffset":148843,"endOffset":149094,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/response.js","ranges":[{"startOffset":149275,"endOffset":162618,"count":1},{"startOffset":150251,"endOffset":150290,"count":0}],"isBlockCoverage":true},{"functionName":"error","ranges":[{"startOffset":150383,"endOffset":150833,"count":0}],"isBlockCoverage":false},{"functionName":"json","ranges":[{"startOffset":150905,"endOffset":151658,"count":0}],"isBlockCoverage":false},{"functionName":"redirect","ranges":[{"startOffset":151751,"endOffset":152828,"count":0}],"isBlockCoverage":false},{"functionName":"_Response","ranges":[{"startOffset":152888,"endOffset":153601,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":153656,"endOffset":153754,"count":0}],"isBlockCoverage":false},{"functionName":"get url","ranges":[{"startOffset":153837,"endOffset":154103,"count":0}],"isBlockCoverage":false},{"functionName":"get redirected","ranges":[{"startOffset":154177,"endOffset":154295,"count":0}],"isBlockCoverage":false},{"functionName":"get status","ranges":[{"startOffset":154338,"endOffset":154440,"count":0}],"isBlockCoverage":false},{"functionName":"get ok","ranges":[{"startOffset":154507,"endOffset":154642,"count":0}],"isBlockCoverage":false},{"functionName":"get statusText","ranges":[{"startOffset":154693,"endOffset":154803,"count":0}],"isBlockCoverage":false},{"functionName":"get headers","ranges":[{"startOffset":154858,"endOffset":154956,"count":0}],"isBlockCoverage":false},{"functionName":"get body","ranges":[{"startOffset":154963,"endOffset":155095,"count":0}],"isBlockCoverage":false},{"functionName":"get bodyUsed","ranges":[{"startOffset":155102,"endOffset":155252,"count":0}],"isBlockCoverage":false},{"functionName":"clone","ranges":[{"startOffset":155297,"endOffset":156067,"count":0}],"isBlockCoverage":false},{"functionName":"cloneResponse","ranges":[{"startOffset":156754,"endOffset":157150,"count":0}],"isBlockCoverage":false},{"functionName":"makeResponse","ranges":[{"startOffset":157155,"endOffset":157633,"count":0}],"isBlockCoverage":false},{"functionName":"makeNetworkError","ranges":[{"startOffset":157638,"endOffset":157937,"count":0}],"isBlockCoverage":false},{"functionName":"makeFilteredResponse","ranges":[{"startOffset":157942,"endOffset":158334,"count":0}],"isBlockCoverage":false},{"functionName":"filterResponse","ranges":[{"startOffset":158339,"endOffset":159220,"count":0}],"isBlockCoverage":false},{"functionName":"makeAppropriateNetworkError","ranges":[{"startOffset":159225,"endOffset":159577,"count":0}],"isBlockCoverage":false},{"functionName":"initializeResponse","ranges":[{"startOffset":159582,"endOffset":160837,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.XMLHttpRequestBodyInit","ranges":[{"startOffset":161157,"endOffset":161764,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.BodyInit","ranges":[{"startOffset":161799,"endOffset":162042,"count":0}],"isBlockCoverage":false},{"functionName":"lib/compat/dispatcher-weakref.js","ranges":[{"startOffset":162708,"endOffset":163790,"count":1}],"isBlockCoverage":true},{"functionName":"CompatWeakRef","ranges":[{"startOffset":162871,"endOffset":162927,"count":0}],"isBlockCoverage":false},{"functionName":"deref","ranges":[{"startOffset":162934,"endOffset":163045,"count":0}],"isBlockCoverage":false},{"functionName":"CompatFinalizer","ranges":[{"startOffset":163093,"endOffset":163161,"count":2}],"isBlockCoverage":true},{"functionName":"register","ranges":[{"startOffset":163168,"endOffset":163426,"count":0}],"isBlockCoverage":false},{"functionName":"module2.exports","ranges":[{"startOffset":163456,"endOffset":163785,"count":2},{"startOffset":163628,"endOffset":163692,"count":0},{"startOffset":163752,"endOffset":163770,"count":0}],"isBlockCoverage":true},{"functionName":"lib/fetch/request.js","ranges":[{"startOffset":163857,"endOffset":187329,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":165132,"endOffset":165212,"count":0}],"isBlockCoverage":false},{"functionName":"_Request","ranges":[{"startOffset":165308,"endOffset":176562,"count":0}],"isBlockCoverage":false},{"functionName":"get method","ranges":[{"startOffset":176636,"endOffset":176737,"count":0}],"isBlockCoverage":false},{"functionName":"get url","ranges":[{"startOffset":176793,"endOffset":176903,"count":0}],"isBlockCoverage":false},{"functionName":"get headers","ranges":[{"startOffset":177143,"endOffset":177240,"count":0}],"isBlockCoverage":false},{"functionName":"get destination","ranges":[{"startOffset":177346,"endOffset":177457,"count":0}],"isBlockCoverage":false},{"functionName":"get referrer","ranges":[{"startOffset":177809,"endOffset":178104,"count":0}],"isBlockCoverage":false},{"functionName":"get referrerPolicy","ranges":[{"startOffset":178268,"endOffset":178385,"count":0}],"isBlockCoverage":false},{"functionName":"get mode","ranges":[{"startOffset":178568,"endOffset":178665,"count":0}],"isBlockCoverage":false},{"functionName":"get credentials","ranges":[{"startOffset":178887,"endOffset":178955,"count":0}],"isBlockCoverage":false},{"functionName":"get cache","ranges":[{"startOffset":179136,"endOffset":179235,"count":0}],"isBlockCoverage":false},{"functionName":"get redirect","ranges":[{"startOffset":179465,"endOffset":179570,"count":0}],"isBlockCoverage":false},{"functionName":"get integrity","ranges":[{"startOffset":179784,"endOffset":179891,"count":0}],"isBlockCoverage":false},{"functionName":"get keepalive","ranges":[{"startOffset":180016,"endOffset":180123,"count":0}],"isBlockCoverage":false},{"functionName":"get isReloadNavigation","ranges":[{"startOffset":180228,"endOffset":180351,"count":0}],"isBlockCoverage":false},{"functionName":"get isHistoryNavigation","ranges":[{"startOffset":180489,"endOffset":180614,"count":0}],"isBlockCoverage":false},{"functionName":"get signal","ranges":[{"startOffset":180804,"endOffset":180899,"count":0}],"isBlockCoverage":false},{"functionName":"get body","ranges":[{"startOffset":180906,"endOffset":181037,"count":0}],"isBlockCoverage":false},{"functionName":"get bodyUsed","ranges":[{"startOffset":181044,"endOffset":181193,"count":0}],"isBlockCoverage":false},{"functionName":"get duplex","ranges":[{"startOffset":181200,"endOffset":181288,"count":0}],"isBlockCoverage":false},{"functionName":"clone","ranges":[{"startOffset":181332,"endOffset":182374,"count":0}],"isBlockCoverage":false},{"functionName":"makeRequest","ranges":[{"startOffset":182410,"endOffset":183687,"count":0}],"isBlockCoverage":false},{"functionName":"cloneRequest","ranges":[{"startOffset":183692,"endOffset":183914,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.RequestInfo","ranges":[{"startOffset":184929,"endOffset":185170,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":186941,"endOffset":187045,"count":0}],"isBlockCoverage":false},{"functionName":"lib/dispatcher.js","ranges":[{"startOffset":187396,"endOffset":187800,"count":1}],"isBlockCoverage":true},{"functionName":"dispatch","ranges":[{"startOffset":187553,"endOffset":187617,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":187624,"endOffset":187685,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":187692,"endOffset":187755,"count":0}],"isBlockCoverage":false},{"functionName":"lib/dispatcher-base.js","ranges":[{"startOffset":187877,"endOffset":193107,"count":1}],"isBlockCoverage":true},{"functionName":"DispatcherBase","ranges":[{"startOffset":188461,"endOffset":188631,"count":1}],"isBlockCoverage":true},{"functionName":"get destroyed","ranges":[{"startOffset":188638,"endOffset":188696,"count":0}],"isBlockCoverage":false},{"functionName":"get closed","ranges":[{"startOffset":188703,"endOffset":188755,"count":0}],"isBlockCoverage":false},{"functionName":"get interceptors","ranges":[{"startOffset":188762,"endOffset":188826,"count":0}],"isBlockCoverage":false},{"functionName":"set interceptors","ranges":[{"startOffset":188833,"endOffset":189246,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":189253,"endOffset":190385,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":190392,"endOffset":191735,"count":0}],"isBlockCoverage":false},{"functionName":"DispatcherBase","ranges":[{"startOffset":191742,"endOffset":192247,"count":0}],"isBlockCoverage":false},{"functionName":"dispatch","ranges":[{"startOffset":192254,"endOffset":193058,"count":0}],"isBlockCoverage":false},{"functionName":"lib/node/fixed-queue.js","ranges":[{"startOffset":193181,"endOffset":194550,"count":1}],"isBlockCoverage":true},{"functionName":"FixedCircularBuffer","ranges":[{"startOffset":193339,"endOffset":193473,"count":0}],"isBlockCoverage":false},{"functionName":"isEmpty","ranges":[{"startOffset":193480,"endOffset":193540,"count":0}],"isBlockCoverage":false},{"functionName":"isFull","ranges":[{"startOffset":193547,"endOffset":193620,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":193627,"endOffset":193724,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":193731,"endOffset":193966,"count":0}],"isBlockCoverage":false},{"functionName":"FixedQueue","ranges":[{"startOffset":194021,"endOffset":194103,"count":0}],"isBlockCoverage":false},{"functionName":"isEmpty","ranges":[{"startOffset":194110,"endOffset":194165,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":194172,"endOffset":194332,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":194339,"endOffset":194539,"count":0}],"isBlockCoverage":false},{"functionName":"lib/pool-stats.js","ranges":[{"startOffset":194617,"endOffset":195308,"count":1}],"isBlockCoverage":true},{"functionName":"PoolStats","ranges":[{"startOffset":194811,"endOffset":194866,"count":0}],"isBlockCoverage":false},{"functionName":"get connected","ranges":[{"startOffset":194873,"endOffset":194938,"count":0}],"isBlockCoverage":false},{"functionName":"get free","ranges":[{"startOffset":194945,"endOffset":195000,"count":0}],"isBlockCoverage":false},{"functionName":"get pending","ranges":[{"startOffset":195007,"endOffset":195068,"count":0}],"isBlockCoverage":false},{"functionName":"get queued","ranges":[{"startOffset":195075,"endOffset":195134,"count":0}],"isBlockCoverage":false},{"functionName":"get running","ranges":[{"startOffset":195141,"endOffset":195202,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":195209,"endOffset":195264,"count":0}],"isBlockCoverage":false},{"functionName":"lib/pool-base.js","ranges":[{"startOffset":195373,"endOffset":200489,"count":1}],"isBlockCoverage":true},{"functionName":"PoolBase","ranges":[{"startOffset":196282,"endOffset":197639,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":197646,"endOffset":197702,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":197709,"endOffset":197814,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":197821,"endOffset":197944,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":197951,"endOffset":198130,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":198137,"endOffset":198304,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":198311,"endOffset":198478,"count":0}],"isBlockCoverage":false},{"functionName":"get stats","ranges":[{"startOffset":198485,"endOffset":198535,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":198542,"endOffset":198803,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":198810,"endOffset":199081,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":199088,"endOffset":199509,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":199516,"endOffset":199967,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":199974,"endOffset":200337,"count":0}],"isBlockCoverage":false},{"functionName":"lib/timers.js","ranges":[{"startOffset":200548,"endOffset":202615,"count":1}],"isBlockCoverage":true},{"functionName":"onTimeout","ranges":[{"startOffset":200686,"endOffset":201431,"count":0}],"isBlockCoverage":false},{"functionName":"refreshTimeout","ranges":[{"startOffset":201436,"endOffset":201751,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout","ranges":[{"startOffset":201784,"endOffset":201971,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":201978,"endOffset":202199,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":202206,"endOffset":202248,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":202286,"endOffset":202436,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimeout","ranges":[{"startOffset":202444,"endOffset":202604,"count":0}],"isBlockCoverage":false},{"functionName":"lib/core/request.js","ranges":[{"startOffset":202682,"endOffset":215948,"count":1},{"startOffset":203702,"endOffset":203974,"count":0}],"isBlockCoverage":true},{"functionName":"_Request","ranges":[{"startOffset":204016,"endOffset":209222,"count":0}],"isBlockCoverage":false},{"functionName":"onBodySent","ranges":[{"startOffset":209229,"endOffset":209438,"count":0}],"isBlockCoverage":false},{"functionName":"onRequestSent","ranges":[{"startOffset":209445,"endOffset":209584,"count":0}],"isBlockCoverage":false},{"functionName":"onConnect","ranges":[{"startOffset":209591,"endOffset":209729,"count":0}],"isBlockCoverage":false},{"functionName":"onHeaders","ranges":[{"startOffset":209736,"endOffset":210101,"count":0}],"isBlockCoverage":false},{"functionName":"onData","ranges":[{"startOffset":210108,"endOffset":210240,"count":0}],"isBlockCoverage":false},{"functionName":"onUpgrade","ranges":[{"startOffset":210247,"endOffset":210429,"count":0}],"isBlockCoverage":false},{"functionName":"onComplete","ranges":[{"startOffset":210436,"endOffset":210704,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":210711,"endOffset":210981,"count":0}],"isBlockCoverage":false},{"functionName":"addHeader","ranges":[{"startOffset":211024,"endOffset":211117,"count":0}],"isBlockCoverage":false},{"functionName":"Request","ranges":[{"startOffset":211131,"endOffset":211236,"count":0}],"isBlockCoverage":false},{"functionName":"Request","ranges":[{"startOffset":211250,"endOffset":212196,"count":0}],"isBlockCoverage":false},{"functionName":"Request","ranges":[{"startOffset":212210,"endOffset":212637,"count":0}],"isBlockCoverage":false},{"functionName":"processHeaderValue","ranges":[{"startOffset":212649,"endOffset":213038,"count":0}],"isBlockCoverage":false},{"functionName":"processHeader","ranges":[{"startOffset":213043,"endOffset":215913,"count":0}],"isBlockCoverage":false},{"functionName":"lib/core/connect.js","ranges":[{"startOffset":216014,"endOffset":221559,"count":1},{"startOffset":216351,"endOffset":217338,"count":0}],"isBlockCoverage":true},{"functionName":"WeakSessionCache","ranges":[{"startOffset":216407,"endOffset":216931,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":216940,"endOffset":217068,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":217077,"endOffset":217323,"count":0}],"isBlockCoverage":false},{"functionName":"SimpleSessionCache","ranges":[{"startOffset":217402,"endOffset":217557,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":217566,"endOffset":217646,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":217655,"endOffset":218030,"count":0}],"isBlockCoverage":false},{"functionName":"buildConnector","ranges":[{"startOffset":218050,"endOffset":220853,"count":0}],"isBlockCoverage":false},{"functionName":"setupTimeout","ranges":[{"startOffset":220858,"endOffset":221416,"count":0}],"isBlockCoverage":false},{"functionName":"onConnectTimeout","ranges":[{"startOffset":221421,"endOffset":221517,"count":0}],"isBlockCoverage":false},{"functionName":"lib/llhttp/utils.js","ranges":[{"startOffset":221623,"endOffset":222054,"count":1}],"isBlockCoverage":true},{"functionName":"enumToMap","ranges":[{"startOffset":221780,"endOffset":222014,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":221859,"endOffset":221988,"count":92},{"startOffset":221941,"endOffset":221980,"count":46}],"isBlockCoverage":true},{"functionName":"lib/llhttp/constants.js","ranges":[{"startOffset":222127,"endOffset":233589,"count":1},{"startOffset":230259,"endOffset":230373,"count":26},{"startOffset":231720,"endOffset":231760,"count":128},{"startOffset":232219,"endOffset":232296,"count":224},{"startOffset":232242,"endOffset":232290,"count":223}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":222925,"endOffset":224575,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":224646,"endOffset":224806,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":224875,"endOffset":225453,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225533,"endOffset":225780,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225878,"endOffset":228312,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":229795,"endOffset":229910,"count":46},{"startOffset":229832,"endOffset":229904,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":229934,"endOffset":230114,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":232364,"endOffset":232379,"count":224}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":232485,"endOffset":233227,"count":1}],"isBlockCoverage":true},{"functionName":"lib/handler/RedirectHandler.js","ranges":[{"startOffset":233674,"endOffset":239146,"count":1}],"isBlockCoverage":true},{"functionName":"BodyAsyncIterable","ranges":[{"startOffset":234081,"endOffset":234169,"count":0}],"isBlockCoverage":false},{"functionName":"BodyAsyncIterable","ranges":[{"startOffset":234176,"endOffset":234324,"count":0}],"isBlockCoverage":false},{"functionName":"RedirectHandler","ranges":[{"startOffset":234372,"endOffset":235786,"count":0}],"isBlockCoverage":false},{"functionName":"onConnect","ranges":[{"startOffset":235793,"endOffset":235913,"count":0}],"isBlockCoverage":false},{"functionName":"onUpgrade","ranges":[{"startOffset":235920,"endOffset":236029,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":236036,"endOffset":236097,"count":0}],"isBlockCoverage":false},{"functionName":"onHeaders","ranges":[{"startOffset":236104,"endOffset":237159,"count":0}],"isBlockCoverage":false},{"functionName":"onData","ranges":[{"startOffset":237166,"endOffset":237290,"count":0}],"isBlockCoverage":false},{"functionName":"onComplete","ranges":[{"startOffset":237297,"endOffset":237531,"count":0}],"isBlockCoverage":false},{"functionName":"onBodySent","ranges":[{"startOffset":237538,"endOffset":237656,"count":0}],"isBlockCoverage":false},{"functionName":"parseLocation","ranges":[{"startOffset":237668,"endOffset":237981,"count":0}],"isBlockCoverage":false},{"functionName":"shouldRemoveHeader","ranges":[{"startOffset":237986,"endOffset":238401,"count":0}],"isBlockCoverage":false},{"functionName":"cleanRequestHeaders","ranges":[{"startOffset":238406,"endOffset":239103,"count":0}],"isBlockCoverage":false},{"functionName":"lib/interceptor/redirectInterceptor.js","ranges":[{"startOffset":239243,"endOffset":239976,"count":1}],"isBlockCoverage":true},{"functionName":"createRedirectInterceptor","ranges":[{"startOffset":239380,"endOffset":239923,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":239475,"endOffset":239916,"count":0}],"isBlockCoverage":false},{"functionName":"lib/llhttp/llhttp-wasm.js","ranges":[{"startOffset":240052,"endOffset":314086,"count":0}],"isBlockCoverage":false},{"functionName":"lib/llhttp/llhttp_simd-wasm.js","ranges":[{"startOffset":314172,"endOffset":388191,"count":1}],"isBlockCoverage":true},{"functionName":"lib/client.js","ranges":[{"startOffset":388250,"endOffset":449364,"count":1},{"startOffset":390100,"endOffset":390146,"count":0},{"startOffset":390994,"endOffset":391232,"count":0}],"isBlockCoverage":true},{"functionName":"Client","ranges":[{"startOffset":391416,"endOffset":398623,"count":0}],"isBlockCoverage":false},{"functionName":"get pipelining","ranges":[{"startOffset":398630,"endOffset":398690,"count":0}],"isBlockCoverage":false},{"functionName":"set pipelining","ranges":[{"startOffset":398697,"endOffset":398791,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":398798,"endOffset":398880,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":398887,"endOffset":398967,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":398974,"endOffset":399053,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":399060,"endOffset":399170,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":399177,"endOffset":399387,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":399442,"endOffset":399523,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":399530,"endOffset":400227,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":400234,"endOffset":400446,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":400453,"endOffset":401351,"count":0}],"isBlockCoverage":false},{"functionName":"onHttp2SessionError","ranges":[{"startOffset":401363,"endOffset":401533,"count":0}],"isBlockCoverage":false},{"functionName":"onHttp2FrameError","ranges":[{"startOffset":401538,"endOffset":401796,"count":0}],"isBlockCoverage":false},{"functionName":"onHttp2SessionEnd","ranges":[{"startOffset":401801,"endOffset":401974,"count":0}],"isBlockCoverage":false},{"functionName":"onHTTP2GoAway","ranges":[{"startOffset":401979,"endOffset":402913,"count":0}],"isBlockCoverage":false},{"functionName":"lazyllhttp","ranges":[{"startOffset":403064,"endOffset":405463,"count":1},{"startOffset":403150,"endOffset":403173,"count":0},{"startOffset":403302,"endOffset":405462,"count":0}],"isBlockCoverage":true},{"functionName":"wasm_on_url","ranges":[{"startOffset":403565,"endOffset":403616,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_status","ranges":[{"startOffset":403644,"endOffset":403907,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_message_begin","ranges":[{"startOffset":403942,"endOffset":404072,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_header_field","ranges":[{"startOffset":404106,"endOffset":404374,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_header_value","ranges":[{"startOffset":404408,"endOffset":404676,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_headers_complete","ranges":[{"startOffset":404714,"endOffset":404939,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_body","ranges":[{"startOffset":404965,"endOffset":405226,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_message_complete","ranges":[{"startOffset":405264,"endOffset":405397,"count":0}],"isBlockCoverage":false},{"functionName":"Parser","ranges":[{"startOffset":405799,"endOffset":406700,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":406707,"endOffset":407280,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":407287,"endOffset":407788,"count":0}],"isBlockCoverage":false},{"functionName":"readMore","ranges":[{"startOffset":407795,"endOffset":408006,"count":0}],"isBlockCoverage":false},{"functionName":"execute","ranges":[{"startOffset":408013,"endOffset":409803,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":409810,"endOffset":410138,"count":0}],"isBlockCoverage":false},{"functionName":"onStatus","ranges":[{"startOffset":410145,"endOffset":410210,"count":0}],"isBlockCoverage":false},{"functionName":"onMessageBegin","ranges":[{"startOffset":410217,"endOffset":410463,"count":0}],"isBlockCoverage":false},{"functionName":"onHeaderField","ranges":[{"startOffset":410470,"endOffset":410748,"count":0}],"isBlockCoverage":false},{"functionName":"onHeaderValue","ranges":[{"startOffset":410755,"endOffset":411505,"count":0}],"isBlockCoverage":false},{"functionName":"trackHeader","ranges":[{"startOffset":411512,"endOffset":411701,"count":0}],"isBlockCoverage":false},{"functionName":"onUpgrade","ranges":[{"startOffset":411708,"endOffset":412973,"count":0}],"isBlockCoverage":false},{"functionName":"onHeadersComplete","ranges":[{"startOffset":412980,"endOffset":415912,"count":0}],"isBlockCoverage":false},{"functionName":"onBody","ranges":[{"startOffset":415919,"endOffset":416808,"count":0}],"isBlockCoverage":false},{"functionName":"onMessageComplete","ranges":[{"startOffset":416815,"endOffset":418614,"count":0}],"isBlockCoverage":false},{"functionName":"onParserTimeout","ranges":[{"startOffset":418626,"endOffset":419352,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketReadable","ranges":[{"startOffset":419357,"endOffset":419459,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketError","ranges":[{"startOffset":419464,"endOffset":419890,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":419895,"endOffset":420354,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketEnd","ranges":[{"startOffset":420359,"endOffset":420721,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketClose","ranges":[{"startOffset":420726,"endOffset":421885,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":421890,"endOffset":426497,"count":0}],"isBlockCoverage":false},{"functionName":"emitDrain","ranges":[{"startOffset":426502,"endOffset":426618,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":426623,"endOffset":426995,"count":0}],"isBlockCoverage":false},{"functionName":"_resume","ranges":[{"startOffset":427000,"endOffset":430574,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":430579,"endOffset":434477,"count":0}],"isBlockCoverage":false},{"functionName":"writeH2","ranges":[{"startOffset":434482,"endOffset":440454,"count":0}],"isBlockCoverage":false},{"functionName":"writeStream","ranges":[{"startOffset":440459,"endOffset":442899,"count":0}],"isBlockCoverage":false},{"functionName":"writeBlob","ranges":[{"startOffset":442904,"endOffset":443920,"count":0}],"isBlockCoverage":false},{"functionName":"writeIterable","ranges":[{"startOffset":443925,"endOffset":445751,"count":0}],"isBlockCoverage":false},{"functionName":"AsyncWriter","ranges":[{"startOffset":445788,"endOffset":446153,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":446160,"endOffset":447694,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":447701,"endOffset":448869,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":448876,"endOffset":449125,"count":0}],"isBlockCoverage":false},{"functionName":"errorRequest","ranges":[{"startOffset":449137,"endOffset":449330,"count":0}],"isBlockCoverage":false},{"functionName":"lib/pool.js","ranges":[{"startOffset":449419,"endOffset":452223,"count":1}],"isBlockCoverage":true},{"functionName":"defaultFactory","ranges":[{"startOffset":449952,"endOffset":450036,"count":0}],"isBlockCoverage":false},{"functionName":"Pool","ranges":[{"startOffset":450083,"endOffset":451770,"count":0}],"isBlockCoverage":false},{"functionName":"Pool","ranges":[{"startOffset":451777,"endOffset":452184,"count":0}],"isBlockCoverage":false},{"functionName":"lib/agent.js","ranges":[{"startOffset":452280,"endOffset":457151,"count":1}],"isBlockCoverage":true},{"functionName":"defaultFactory","ranges":[{"startOffset":453147,"endOffset":453289,"count":0}],"isBlockCoverage":false},{"functionName":"Agent","ranges":[{"startOffset":453343,"endOffset":455436,"count":1},{"startOffset":453494,"endOffset":453578,"count":0},{"startOffset":453607,"endOffset":453639,"count":0},{"startOffset":453640,"endOffset":453670,"count":0},{"startOffset":453672,"endOffset":453768,"count":0},{"startOffset":453840,"endOffset":453938,"count":0},{"startOffset":453959,"endOffset":453991,"count":0},{"startOffset":453993,"endOffset":454040,"count":0},{"startOffset":454092,"endOffset":454121,"count":0},{"startOffset":454122,"endOffset":454166,"count":0},{"startOffset":454167,"endOffset":454195,"count":0},{"startOffset":454373,"endOffset":454402,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":454672,"endOffset":454859,"count":0}],"isBlockCoverage":false},{"functionName":"Agent.","ranges":[{"startOffset":454924,"endOffset":455016,"count":0}],"isBlockCoverage":false},{"functionName":"Agent.","ranges":[{"startOffset":455045,"endOffset":455139,"count":0}],"isBlockCoverage":false},{"functionName":"Agent.","ranges":[{"startOffset":455171,"endOffset":455278,"count":0}],"isBlockCoverage":false},{"functionName":"Agent.","ranges":[{"startOffset":455315,"endOffset":455427,"count":0}],"isBlockCoverage":false},{"functionName":"Agent","ranges":[{"startOffset":455443,"endOffset":455684,"count":0}],"isBlockCoverage":false},{"functionName":"Agent","ranges":[{"startOffset":455691,"endOffset":456507,"count":0}],"isBlockCoverage":false},{"functionName":"Agent","ranges":[{"startOffset":456514,"endOffset":456801,"count":0}],"isBlockCoverage":false},{"functionName":"Agent","ranges":[{"startOffset":456808,"endOffset":457111,"count":0}],"isBlockCoverage":false},{"functionName":"lib/global.js","ranges":[{"startOffset":457211,"endOffset":458049,"count":1}],"isBlockCoverage":true},{"functionName":"setGlobalDispatcher","ranges":[{"startOffset":457514,"endOffset":457875,"count":1},{"startOffset":457610,"endOffset":457698,"count":0}],"isBlockCoverage":true},{"functionName":"getGlobalDispatcher","ranges":[{"startOffset":457880,"endOffset":457961,"count":1}],"isBlockCoverage":true},{"functionName":"lib/fetch/index.js","ranges":[{"startOffset":458112,"endOffset":496815,"count":1}],"isBlockCoverage":true},{"functionName":"Fetch","ranges":[{"startOffset":460148,"endOffset":460361,"count":0}],"isBlockCoverage":false},{"functionName":"terminate","ranges":[{"startOffset":460368,"endOffset":460581,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":460651,"endOffset":461010,"count":0}],"isBlockCoverage":false},{"functionName":"fetch2","ranges":[{"startOffset":461022,"endOffset":463266,"count":0}],"isBlockCoverage":false},{"functionName":"finalizeAndReportTiming","ranges":[{"startOffset":463271,"endOffset":464167,"count":0}],"isBlockCoverage":false},{"functionName":"markResourceTiming","ranges":[{"startOffset":464172,"endOffset":464456,"count":0}],"isBlockCoverage":false},{"functionName":"abortFetch","ranges":[{"startOffset":464461,"endOffset":465266,"count":0}],"isBlockCoverage":false},{"functionName":"fetching","ranges":[{"startOffset":465271,"endOffset":467467,"count":0}],"isBlockCoverage":false},{"functionName":"mainFetch","ranges":[{"startOffset":467472,"endOffset":471680,"count":0}],"isBlockCoverage":false},{"functionName":"schemeFetch","ranges":[{"startOffset":471685,"endOffset":474169,"count":0}],"isBlockCoverage":false},{"functionName":"finalizeResponse","ranges":[{"startOffset":474174,"endOffset":474403,"count":0}],"isBlockCoverage":false},{"functionName":"fetchFinale","ranges":[{"startOffset":474408,"endOffset":476159,"count":0}],"isBlockCoverage":false},{"functionName":"httpFetch","ranges":[{"startOffset":476164,"endOffset":477802,"count":0}],"isBlockCoverage":false},{"functionName":"httpRedirectFetch","ranges":[{"startOffset":477807,"endOffset":480327,"count":0}],"isBlockCoverage":false},{"functionName":"httpNetworkOrCacheFetch","ranges":[{"startOffset":480332,"endOffset":485602,"count":0}],"isBlockCoverage":false},{"functionName":"httpNetworkFetch","ranges":[{"startOffset":485607,"endOffset":496700,"count":0}],"isBlockCoverage":false},{"functionName":"lib/websocket/constants.js","ranges":[{"startOffset":496891,"endOffset":497729,"count":1}],"isBlockCoverage":true},{"functionName":"lib/websocket/symbols.js","ranges":[{"startOffset":497801,"endOffset":498228,"count":1}],"isBlockCoverage":true},{"functionName":"lib/websocket/events.js","ranges":[{"startOffset":498297,"endOffset":505445,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":498527,"endOffset":500104,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":500127,"endOffset":500868,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":500891,"endOffset":501863,"count":0}],"isBlockCoverage":true},{"functionName":"get defaultValue","ranges":[{"startOffset":504205,"endOffset":504256,"count":0}],"isBlockCoverage":false},{"functionName":"lib/websocket/util.js","ranges":[{"startOffset":505511,"endOffset":508434,"count":1}],"isBlockCoverage":true},{"functionName":"isEstablished","ranges":[{"startOffset":505785,"endOffset":505865,"count":0}],"isBlockCoverage":false},{"functionName":"isClosing","ranges":[{"startOffset":505870,"endOffset":505949,"count":0}],"isBlockCoverage":false},{"functionName":"isClosed","ranges":[{"startOffset":505954,"endOffset":506031,"count":0}],"isBlockCoverage":false},{"functionName":"fireEvent","ranges":[{"startOffset":506036,"endOffset":506209,"count":0}],"isBlockCoverage":false},{"functionName":"websocketMessageReceived","ranges":[{"startOffset":506214,"endOffset":506964,"count":0}],"isBlockCoverage":false},{"functionName":"isValidSubprotocol","ranges":[{"startOffset":506969,"endOffset":507573,"count":0}],"isBlockCoverage":false},{"functionName":"isValidStatusCode","ranges":[{"startOffset":507578,"endOffset":507838,"count":0}],"isBlockCoverage":false},{"functionName":"failWebsocketConnection","ranges":[{"startOffset":507843,"endOffset":508215,"count":0}],"isBlockCoverage":false},{"functionName":"lib/websocket/connection.js","ranges":[{"startOffset":508511,"endOffset":513960,"count":1},{"startOffset":509463,"endOffset":509476,"count":0}],"isBlockCoverage":true},{"functionName":"establishWebSocketConnection","ranges":[{"startOffset":509481,"endOffset":512871,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketData","ranges":[{"startOffset":512876,"endOffset":512990,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketClose","ranges":[{"startOffset":512995,"endOffset":513657,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketError","ranges":[{"startOffset":513662,"endOffset":513890,"count":0}],"isBlockCoverage":false},{"functionName":"lib/websocket/frame.js","ranges":[{"startOffset":514027,"endOffset":515653,"count":1},{"startOffset":514210,"endOffset":514223,"count":0}],"isBlockCoverage":true},{"functionName":"WebsocketFrameSend","ranges":[{"startOffset":514327,"endOffset":514431,"count":0}],"isBlockCoverage":false},{"functionName":"createFrame","ranges":[{"startOffset":514438,"endOffset":515586,"count":0}],"isBlockCoverage":false},{"functionName":"lib/websocket/receiver.js","ranges":[{"startOffset":515726,"endOffset":524591,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":516400,"endOffset":524538,"count":0}],"isBlockCoverage":true},{"functionName":"lib/websocket/websocket.js","ranges":[{"startOffset":524666,"endOffset":539174,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":525657,"endOffset":536213,"count":0}],"isBlockCoverage":true},{"functionName":"webidl.converters.DOMString or sequence","ranges":[{"startOffset":537693,"endOffset":537895,"count":0}],"isBlockCoverage":false},{"functionName":"get defaultValue","ranges":[{"startOffset":538080,"endOffset":538131,"count":0}],"isBlockCoverage":false},{"functionName":"converter","ranges":[{"startOffset":538195,"endOffset":538203,"count":0}],"isBlockCoverage":false},{"functionName":"get defaultValue","ranges":[{"startOffset":538213,"endOffset":538283,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.DOMString or sequence or WebSocketInit","ranges":[{"startOffset":538493,"endOffset":538730,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.WebSocketSendData","ranges":[{"startOffset":538774,"endOffset":539122,"count":0}],"isBlockCoverage":false},{"functionName":"fetch","ranges":[{"startOffset":539260,"endOffset":539438,"count":0}],"isBlockCoverage":false}]},{"scriptId":"835","url":"node:http","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5518,"count":1}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":2159,"endOffset":2251,"count":0}],"isBlockCoverage":false},{"functionName":"request","ranges":[{"startOffset":4201,"endOffset":4285,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4450,"endOffset":4552,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxIdleHTTPParsers","ranges":[{"startOffset":4863,"endOffset":4954,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5079,"endOffset":5288,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5412,"endOffset":5457,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":5461,"endOffset":5512,"count":0}],"isBlockCoverage":false}]},{"scriptId":"836","url":"node:_http_agent","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16988,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1703,"endOffset":1728,"count":0}],"isBlockCoverage":false},{"functionName":"ReusedHandle","ranges":[{"startOffset":2681,"endOffset":2760,"count":0}],"isBlockCoverage":false},{"functionName":"freeSocketErrorListener","ranges":[{"startOffset":2764,"endOffset":2943,"count":0}],"isBlockCoverage":false},{"functionName":"Agent","ranges":[{"startOffset":2945,"endOffset":6175,"count":1},{"startOffset":3007,"endOffset":3033,"count":0},{"startOffset":3584,"endOffset":3592,"count":0},{"startOffset":3770,"endOffset":3779,"count":0},{"startOffset":3975,"endOffset":4044,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4112,"endOffset":6058,"count":0}],"isBlockCoverage":false},{"functionName":"maybeEnableKeylog","ranges":[{"startOffset":6283,"endOffset":6808,"count":0}],"isBlockCoverage":false},{"functionName":"getName","ranges":[{"startOffset":6981,"endOffset":7479,"count":0}],"isBlockCoverage":false},{"functionName":"addRequest","ranges":[{"startOffset":7511,"endOffset":9674,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":9708,"endOffset":10802,"count":0}],"isBlockCoverage":false},{"functionName":"calculateServerName","ranges":[{"startOffset":10805,"endOffset":11625,"count":0}],"isBlockCoverage":false},{"functionName":"installListeners","ranges":[{"startOffset":11627,"endOffset":13115,"count":0}],"isBlockCoverage":false},{"functionName":"removeSocket","ranges":[{"startOffset":13148,"endOffset":14949,"count":0}],"isBlockCoverage":false},{"functionName":"keepSocketAlive","ranges":[{"startOffset":14986,"endOffset":15653,"count":0}],"isBlockCoverage":false},{"functionName":"reuseSocket","ranges":[{"startOffset":15686,"endOffset":15854,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":15883,"endOffset":16232,"count":0}],"isBlockCoverage":false},{"functionName":"setRequestSocket","ranges":[{"startOffset":16235,"endOffset":16476,"count":0}],"isBlockCoverage":false},{"functionName":"asyncResetHandle","ranges":[{"startOffset":16478,"endOffset":16873,"count":0}],"isBlockCoverage":false}]},{"scriptId":"837","url":"node:_http_client","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28271,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3069,"endOffset":3094,"count":0}],"isBlockCoverage":false},{"functionName":"validateHost","ranges":[{"startOffset":3339,"endOffset":3632,"count":0}],"isBlockCoverage":false},{"functionName":"HTTPClientAsyncResource","ranges":[{"startOffset":3668,"endOffset":3738,"count":0}],"isBlockCoverage":false},{"functionName":"ClientRequest","ranges":[{"startOffset":3742,"endOffset":11165,"count":0}],"isBlockCoverage":false},{"functionName":"_finish","ranges":[{"startOffset":11329,"endOffset":12053,"count":0}],"isBlockCoverage":false},{"functionName":"_implicitHeader","ranges":[{"startOffset":12098,"endOffset":12310,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":12345,"endOffset":12483,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":12520,"endOffset":12796,"count":0}],"isBlockCoverage":false},{"functionName":"emitAbortNT","ranges":[{"startOffset":12799,"endOffset":12849,"count":0}],"isBlockCoverage":false},{"functionName":"ondrain","ranges":[{"startOffset":12851,"endOffset":13011,"count":0}],"isBlockCoverage":false},{"functionName":"socketCloseListener","ranges":[{"startOffset":13013,"endOffset":14180,"count":0}],"isBlockCoverage":false},{"functionName":"socketErrorListener","ranges":[{"startOffset":14182,"endOffset":14823,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnEnd","ranges":[{"startOffset":14825,"endOffset":15311,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnData","ranges":[{"startOffset":15313,"endOffset":17696,"count":0}],"isBlockCoverage":false},{"functionName":"statusIsInformational","ranges":[{"startOffset":17698,"endOffset":17933,"count":0}],"isBlockCoverage":false},{"functionName":"parserOnIncomingClient","ranges":[{"startOffset":17945,"endOffset":20958,"count":0}],"isBlockCoverage":false},{"functionName":"responseKeepAlive","ranges":[{"startOffset":20970,"endOffset":22039,"count":0}],"isBlockCoverage":false},{"functionName":"responseOnEnd","ranges":[{"startOffset":22041,"endOffset":23198,"count":0}],"isBlockCoverage":false},{"functionName":"responseOnTimeout","ranges":[{"startOffset":23200,"endOffset":23351,"count":0}],"isBlockCoverage":false},{"functionName":"requestOnFinish","ranges":[{"startOffset":23493,"endOffset":23613,"count":0}],"isBlockCoverage":false},{"functionName":"emitFreeNT","ranges":[{"startOffset":23615,"endOffset":23739,"count":0}],"isBlockCoverage":false},{"functionName":"tickOnSocket","ranges":[{"startOffset":23741,"endOffset":24921,"count":0}],"isBlockCoverage":false},{"functionName":"emitRequestTimeout","ranges":[{"startOffset":24923,"endOffset":25031,"count":0}],"isBlockCoverage":false},{"functionName":"listenSocketTimeout","ranges":[{"startOffset":25033,"endOffset":25424,"count":0}],"isBlockCoverage":false},{"functionName":"onSocket","ranges":[{"startOffset":25461,"endOffset":25632,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketNT","ranges":[{"startOffset":25635,"endOffset":26429,"count":0}],"isBlockCoverage":false},{"functionName":"_deferToConnect","ranges":[{"startOffset":26490,"endOffset":27242,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":27281,"endOffset":27646,"count":0}],"isBlockCoverage":false},{"functionName":"setSocketTimeout","ranges":[{"startOffset":27649,"endOffset":27835,"count":0}],"isBlockCoverage":false},{"functionName":"setNoDelay","ranges":[{"startOffset":27874,"endOffset":27955,"count":0}],"isBlockCoverage":false},{"functionName":"setSocketKeepAlive","ranges":[{"startOffset":28007,"endOffset":28132,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimeout","ranges":[{"startOffset":28174,"endOffset":28229,"count":0}],"isBlockCoverage":false}]},{"scriptId":"838","url":"node:_http_common","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8261,"count":1}],"isBlockCoverage":false},{"functionName":"parserOnHeaders","ranges":[{"startOffset":2298,"endOffset":2545,"count":0}],"isBlockCoverage":false},{"functionName":"parserOnHeadersComplete","ranges":[{"startOffset":2758,"endOffset":4292,"count":0}],"isBlockCoverage":false},{"functionName":"parserOnBody","ranges":[{"startOffset":4294,"endOffset":4611,"count":0}],"isBlockCoverage":false},{"functionName":"parserOnMessageComplete","ranges":[{"startOffset":4613,"endOffset":5100,"count":0}],"isBlockCoverage":false},{"functionName":"parsersCb","ranges":[{"startOffset":5149,"endOffset":5437,"count":0}],"isBlockCoverage":false},{"functionName":"closeParserInstance","ranges":[{"startOffset":5441,"endOffset":5497,"count":0}],"isBlockCoverage":false},{"functionName":"freeParser","ranges":[{"startOffset":5820,"endOffset":6445,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsHttpToken","ranges":[{"startOffset":6657,"endOffset":6748,"count":0}],"isBlockCoverage":false},{"functionName":"checkInvalidHeaderChar","ranges":[{"startOffset":7010,"endOffset":7111,"count":0}],"isBlockCoverage":false},{"functionName":"cleanParser","ranges":[{"startOffset":7113,"endOffset":7495,"count":0}],"isBlockCoverage":false},{"functionName":"prepareError","ranges":[{"startOffset":7497,"endOffset":7690,"count":0}],"isBlockCoverage":false},{"functionName":"isLenient","ranges":[{"startOffset":7720,"endOffset":7905,"count":0}],"isBlockCoverage":false}]},{"scriptId":"839","url":"node:internal/freelist","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":476,"count":1}],"isBlockCoverage":false},{"functionName":"FreeList","ranges":[{"startOffset":76,"endOffset":194,"count":1}],"isBlockCoverage":true},{"functionName":"alloc","ranges":[{"startOffset":198,"endOffset":317,"count":0}],"isBlockCoverage":false},{"functionName":"free","ranges":[{"startOffset":321,"endOffset":445,"count":0}],"isBlockCoverage":false}]},{"scriptId":"840","url":"node:_http_incoming","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14903,"count":1}],"isBlockCoverage":false},{"functionName":"readStart","ranges":[{"startOffset":1648,"endOffset":1751,"count":0}],"isBlockCoverage":false},{"functionName":"readStop","ranges":[{"startOffset":1753,"endOffset":1816,"count":0}],"isBlockCoverage":false},{"functionName":"IncomingMessage","ranges":[{"startOffset":1882,"endOffset":2865,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3075,"endOffset":3115,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":3124,"endOffset":3166,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3260,"endOffset":3557,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":3566,"endOffset":3611,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3713,"endOffset":4050,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4059,"endOffset":4112,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4207,"endOffset":4510,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4519,"endOffset":4565,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4668,"endOffset":5011,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":5020,"endOffset":5074,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":5120,"endOffset":5258,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":5737,"endOffset":6114,"count":0}],"isBlockCoverage":false},{"functionName":"_destroy","ranges":[{"startOffset":6357,"endOffset":7153,"count":0}],"isBlockCoverage":false},{"functionName":"_addHeaderLines","ranges":[{"startOffset":7217,"endOffset":7676,"count":0}],"isBlockCoverage":false},{"functionName":"matchKnownFields","ranges":[{"startOffset":8398,"endOffset":12292,"count":0}],"isBlockCoverage":false},{"functionName":"_addHeaderLine","ranges":[{"startOffset":12903,"endOffset":13951,"count":0}],"isBlockCoverage":false},{"functionName":"_addHeaderLineDistinct","ranges":[{"startOffset":14028,"endOffset":14221,"count":0}],"isBlockCoverage":false},{"functionName":"_dump","ranges":[{"startOffset":14344,"endOffset":14585,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":14588,"endOffset":14835,"count":0}],"isBlockCoverage":false}]},{"scriptId":"841","url":"node:_http_outgoing","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":34452,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2747,"endOffset":2772,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":3081,"endOffset":3089,"count":0}],"isBlockCoverage":false},{"functionName":"isCookieField","ranges":[{"startOffset":3332,"endOffset":3432,"count":0}],"isBlockCoverage":false},{"functionName":"isContentDispositionField","ranges":[{"startOffset":3434,"endOffset":3560,"count":0}],"isBlockCoverage":false},{"functionName":"OutgoingMessage","ranges":[{"startOffset":3562,"endOffset":5086,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5284,"endOffset":5322,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5410,"endOffset":5446,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5544,"endOffset":5686,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5786,"endOffset":5815,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5911,"endOffset":5999,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6102,"endOffset":6196,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6292,"endOffset":6403,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6521,"endOffset":6567,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6663,"endOffset":7149,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7310,"endOffset":7350,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7359,"endOffset":7401,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7523,"endOffset":7980,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8080,"endOffset":8530,"count":0}],"isBlockCoverage":false},{"functionName":"_renderHeaders","ranges":[{"startOffset":8649,"endOffset":9153,"count":0}],"isBlockCoverage":false},{"functionName":"OutgoingMessage.cork","ranges":[{"startOffset":9189,"endOffset":9284,"count":0}],"isBlockCoverage":false},{"functionName":"OutgoingMessage.uncork","ranges":[{"startOffset":9322,"endOffset":9438,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":9480,"endOffset":9774,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":10017,"endOffset":10329,"count":0}],"isBlockCoverage":false},{"functionName":"_send","ranges":[{"startOffset":10439,"endOffset":11390,"count":0}],"isBlockCoverage":false},{"functionName":"_writeRaw","ranges":[{"startOffset":11442,"endOffset":12292,"count":0}],"isBlockCoverage":false},{"functionName":"_storeHeader","ranges":[{"startOffset":12350,"endOffset":17269,"count":0}],"isBlockCoverage":false},{"functionName":"processHeader","ranges":[{"startOffset":17271,"endOffset":18214,"count":0}],"isBlockCoverage":false},{"functionName":"storeHeader","ranges":[{"startOffset":18216,"endOffset":18415,"count":0}],"isBlockCoverage":false},{"functionName":"matchHeader","ranges":[{"startOffset":18417,"endOffset":19341,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19386,"endOffset":19548,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19596,"endOffset":19866,"count":0}],"isBlockCoverage":false},{"functionName":"parseUniqueHeadersOption","ranges":[{"startOffset":19870,"endOffset":20140,"count":0}],"isBlockCoverage":false},{"functionName":"setHeader","ranges":[{"startOffset":20180,"endOffset":20541,"count":0}],"isBlockCoverage":false},{"functionName":"setHeaders","ranges":[{"startOffset":20583,"endOffset":21007,"count":0}],"isBlockCoverage":false},{"functionName":"appendHeader","ranges":[{"startOffset":21051,"endOffset":21787,"count":0}],"isBlockCoverage":false},{"functionName":"getHeader","ranges":[{"startOffset":21829,"endOffset":22051,"count":0}],"isBlockCoverage":false},{"functionName":"getHeaderNames","ranges":[{"startOffset":22164,"endOffset":22267,"count":0}],"isBlockCoverage":false},{"functionName":"getRawHeaderNames","ranges":[{"startOffset":22387,"endOffset":22788,"count":0}],"isBlockCoverage":false},{"functionName":"getHeaders","ranges":[{"startOffset":22890,"endOffset":23300,"count":0}],"isBlockCoverage":false},{"functionName":"hasHeader","ranges":[{"startOffset":23342,"endOffset":23500,"count":0}],"isBlockCoverage":false},{"functionName":"removeHeader","ranges":[{"startOffset":23545,"endOffset":24110,"count":0}],"isBlockCoverage":false},{"functionName":"_implicitHeader","ranges":[{"startOffset":24158,"endOffset":24249,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":24385,"endOffset":24422,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":24522,"endOffset":24558,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":24662,"endOffset":24744,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":24823,"endOffset":25076,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":25079,"endOffset":25440,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNt","ranges":[{"startOffset":25442,"endOffset":25591,"count":0}],"isBlockCoverage":false},{"functionName":"strictContentLength","ranges":[{"startOffset":25593,"endOffset":25827,"count":0}],"isBlockCoverage":false},{"functionName":"write_","ranges":[{"startOffset":25829,"endOffset":28035,"count":0}],"isBlockCoverage":false},{"functionName":"connectionCorkNT","ranges":[{"startOffset":28038,"endOffset":28090,"count":0}],"isBlockCoverage":false},{"functionName":"addTrailers","ranges":[{"startOffset":28132,"endOffset":29567,"count":0}],"isBlockCoverage":false},{"functionName":"onFinish","ranges":[{"startOffset":29570,"endOffset":29690,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":29724,"endOffset":31686,"count":0}],"isBlockCoverage":false},{"functionName":"_finish","ranges":[{"startOffset":31860,"endOffset":31931,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":32725,"endOffset":33155,"count":0}],"isBlockCoverage":false},{"functionName":"_flushOutput","ranges":[{"startOffset":33199,"endOffset":33842,"count":0}],"isBlockCoverage":false},{"functionName":"flushHeaders","ranges":[{"startOffset":33887,"endOffset":34018,"count":0}],"isBlockCoverage":false},{"functionName":"pipe","ranges":[{"startOffset":34054,"endOffset":34196,"count":0}],"isBlockCoverage":false},{"functionName":"OutgoingMessage.","ranges":[{"startOffset":34254,"endOffset":34299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"842","url":"node:internal/http","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1195,"count":1}],"isBlockCoverage":false},{"functionName":"utcDate","ranges":[{"startOffset":349,"endOffset":416,"count":0}],"isBlockCoverage":false},{"functionName":"cache","ranges":[{"startOffset":418,"endOffset":575,"count":0}],"isBlockCoverage":false},{"functionName":"resetCache","ranges":[{"startOffset":577,"endOffset":626,"count":0}],"isBlockCoverage":false},{"functionName":"getNextTraceEventId","ranges":[{"startOffset":651,"endOffset":710,"count":0}],"isBlockCoverage":false},{"functionName":"isTraceHTTPEnabled","ranges":[{"startOffset":712,"endOffset":791,"count":0}],"isBlockCoverage":false},{"functionName":"traceBegin","ranges":[{"startOffset":839,"endOffset":927,"count":0}],"isBlockCoverage":false},{"functionName":"traceEnd","ranges":[{"startOffset":929,"endOffset":1015,"count":0}],"isBlockCoverage":false}]},{"scriptId":"843","url":"node:_http_server","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":38374,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2759,"endOffset":2784,"count":0}],"isBlockCoverage":false},{"functionName":"HTTPServerAsyncResource","ranges":[{"startOffset":7093,"endOffset":7172,"count":0}],"isBlockCoverage":false},{"functionName":"ServerResponse","ranges":[{"startOffset":7176,"endOffset":8095,"count":0}],"isBlockCoverage":false},{"functionName":"_finish","ranges":[{"startOffset":8262,"endOffset":8907,"count":0}],"isBlockCoverage":false},{"functionName":"onServerResponseClose","ranges":[{"startOffset":9007,"endOffset":9997,"count":0}],"isBlockCoverage":false},{"functionName":"assignSocket","ranges":[{"startOffset":10039,"endOffset":10294,"count":0}],"isBlockCoverage":false},{"functionName":"detachSocket","ranges":[{"startOffset":10337,"endOffset":10519,"count":0}],"isBlockCoverage":false},{"functionName":"writeContinue","ranges":[{"startOffset":10563,"endOffset":10681,"count":0}],"isBlockCoverage":false},{"functionName":"writeProcessing","ranges":[{"startOffset":10727,"endOffset":10825,"count":0}],"isBlockCoverage":false},{"functionName":"writeEarlyHints","ranges":[{"startOffset":10871,"endOffset":11381,"count":0}],"isBlockCoverage":false},{"functionName":"_implicitHeader","ranges":[{"startOffset":11427,"endOffset":11492,"count":0}],"isBlockCoverage":false},{"functionName":"writeHead","ranges":[{"startOffset":11543,"endOffset":14116,"count":0}],"isBlockCoverage":false},{"functionName":"storeHTTPOptions","ranges":[{"startOffset":14227,"endOffset":17034,"count":0}],"isBlockCoverage":false},{"functionName":"setupConnectionsTracking","ranges":[{"startOffset":17036,"endOffset":17507,"count":0}],"isBlockCoverage":false},{"functionName":"httpServerPreClose","ranges":[{"startOffset":17509,"endOffset":17636,"count":0}],"isBlockCoverage":false},{"functionName":"Server","ranges":[{"startOffset":17638,"endOffset":18832,"count":0}],"isBlockCoverage":false},{"functionName":"Server.close","ranges":[{"startOffset":18963,"endOffset":19066,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":19108,"endOffset":19189,"count":0}],"isBlockCoverage":false},{"functionName":"Server.closeAllConnections","ranges":[{"startOffset":19231,"endOffset":19437,"count":0}],"isBlockCoverage":false},{"functionName":"Server.closeIdleConnections","ranges":[{"startOffset":19480,"endOffset":19804,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":19837,"endOffset":19966,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":20015,"endOffset":20583,"count":0}],"isBlockCoverage":false},{"functionName":"checkConnections","ranges":[{"startOffset":20586,"endOffset":20931,"count":0}],"isBlockCoverage":false},{"functionName":"connectionListener","ranges":[{"startOffset":20933,"endOffset":21078,"count":0}],"isBlockCoverage":false},{"functionName":"connectionListenerInternal","ranges":[{"startOffset":21080,"endOffset":24502,"count":0}],"isBlockCoverage":false},{"functionName":"socketSetEncoding","ranges":[{"startOffset":24504,"endOffset":24576,"count":0}],"isBlockCoverage":false},{"functionName":"updateOutgoingData","ranges":[{"startOffset":24578,"endOffset":24694,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnDrain","ranges":[{"startOffset":24696,"endOffset":25150,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnTimeout","ranges":[{"startOffset":25152,"endOffset":25525,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnClose","ranges":[{"startOffset":25527,"endOffset":25676,"count":0}],"isBlockCoverage":false},{"functionName":"abortIncoming","ranges":[{"startOffset":25678,"endOffset":25861,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnEnd","ranges":[{"startOffset":25863,"endOffset":26385,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnData","ranges":[{"startOffset":26387,"endOffset":26616,"count":0}],"isBlockCoverage":false},{"functionName":"onRequestTimeout","ranges":[{"startOffset":26618,"endOffset":26792,"count":0}],"isBlockCoverage":false},{"functionName":"onParserExecute","ranges":[{"startOffset":26794,"endOffset":27293,"count":0}],"isBlockCoverage":false},{"functionName":"onParserTimeout","ranges":[{"startOffset":27295,"endOffset":27440,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":27455,"endOffset":27463,"count":0}],"isBlockCoverage":false},{"functionName":"warnUnclosedSocket","ranges":[{"startOffset":27868,"endOffset":28181,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnError","ranges":[{"startOffset":28183,"endOffset":29165,"count":0}],"isBlockCoverage":false},{"functionName":"onParserExecuteCommon","ranges":[{"startOffset":29167,"endOffset":30788,"count":0}],"isBlockCoverage":false},{"functionName":"clearIncoming","ranges":[{"startOffset":30790,"endOffset":31128,"count":0}],"isBlockCoverage":false},{"functionName":"resOnFinish","ranges":[{"startOffset":31130,"endOffset":32454,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":32456,"endOffset":32589,"count":0}],"isBlockCoverage":false},{"functionName":"parserOnIncoming","ranges":[{"startOffset":32755,"endOffset":36483,"count":0}],"isBlockCoverage":false},{"functionName":"resetSocketTimeout","ranges":[{"startOffset":36485,"endOffset":36665,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketResume","ranges":[{"startOffset":36667,"endOffset":37189,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketPause","ranges":[{"startOffset":37191,"endOffset":37332,"count":0}],"isBlockCoverage":false},{"functionName":"unconsume","ranges":[{"startOffset":37334,"endOffset":37586,"count":0}],"isBlockCoverage":false},{"functionName":"generateSocketListenerWrapper","ranges":[{"startOffset":37588,"endOffset":38142,"count":0}],"isBlockCoverage":false}]},{"scriptId":"844","url":"node:util/types","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":64,"count":1}],"isBlockCoverage":false}]},{"scriptId":"845","url":"node:internal/webstreams/readablestream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":93289,"count":1}],"isBlockCoverage":false},{"functionName":"lazyReadableReleasedError","ranges":[{"startOffset":3030,"endOffset":3380,"count":0}],"isBlockCoverage":false},{"functionName":"lazyReadableReleasingError","ranges":[{"startOffset":3382,"endOffset":3739,"count":0}],"isBlockCoverage":false},{"functionName":"getNonWritablePropertyDescriptor","ranges":[{"startOffset":3782,"endOffset":3868,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5293,"endOffset":16893,"count":0}],"isBlockCoverage":false},{"functionName":"TransferredReadableStream","ranges":[{"startOffset":17384,"endOffset":17875,"count":0}],"isBlockCoverage":false},{"functionName":"TransferredReadableStream.","ranges":[{"startOffset":17928,"endOffset":17936,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17939,"endOffset":20006,"count":0}],"isBlockCoverage":false},{"functionName":"createReadableStreamBYOBRequest","ranges":[{"startOffset":20268,"endOffset":20461,"count":0}],"isBlockCoverage":false},{"functionName":"ReadableStreamAsyncIteratorReadRequest","ranges":[{"startOffset":20512,"endOffset":20631,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20635,"endOffset":20749,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20753,"endOffset":20946,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20950,"endOffset":21120,"count":0}],"isBlockCoverage":false},{"functionName":"DefaultReadRequest","ranges":[{"startOffset":21153,"endOffset":21216,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21220,"endOffset":21293,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21297,"endOffset":21375,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21379,"endOffset":21434,"count":0}],"isBlockCoverage":false},{"functionName":"get promise","ranges":[{"startOffset":21438,"endOffset":21484,"count":0}],"isBlockCoverage":false},{"functionName":"ReadIntoRequest","ranges":[{"startOffset":21514,"endOffset":21577,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21581,"endOffset":21654,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21658,"endOffset":21730,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21734,"endOffset":21789,"count":0}],"isBlockCoverage":false},{"functionName":"get promise","ranges":[{"startOffset":21793,"endOffset":21839,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21843,"endOffset":24052,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24341,"endOffset":27389,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27672,"endOffset":28969,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29267,"endOffset":32570,"count":0}],"isBlockCoverage":false},{"functionName":"TeeReadableStream","ranges":[{"startOffset":32898,"endOffset":33547,"count":0}],"isBlockCoverage":false},{"functionName":"createTeeReadableStream","ranges":[{"startOffset":33684,"endOffset":33908,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamFromIterable","ranges":[{"startOffset":34341,"endOffset":36012,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamPipeTo","ranges":[{"startOffset":36014,"endOffset":41446,"count":0}],"isBlockCoverage":false},{"functionName":"PipeToReadableStreamReadRequest","ranges":[{"startOffset":41490,"endOffset":41609,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41613,"endOffset":41799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41803,"endOffset":41851,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41855,"endOffset":41908,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamTee","ranges":[{"startOffset":41912,"endOffset":42140,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultTee","ranges":[{"startOffset":42142,"endOffset":44940,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamTee","ranges":[{"startOffset":44942,"endOffset":52852,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerConvertPullIntoDescriptor","ranges":[{"startOffset":52854,"endOffset":53429,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStreamLocked","ranges":[{"startOffset":53431,"endOffset":53520,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamCancel","ranges":[{"startOffset":53522,"endOffset":54239,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamClose","ranges":[{"startOffset":54241,"endOffset":54725,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamError","ranges":[{"startOffset":54727,"endOffset":55605,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamHasDefaultReader","ranges":[{"startOffset":55607,"endOffset":55849,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamGetNumReadRequests","ranges":[{"startOffset":55851,"endOffset":56014,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamHasBYOBReader","ranges":[{"startOffset":56016,"endOffset":56252,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamGetNumReadIntoRequests","ranges":[{"startOffset":56254,"endOffset":56422,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamFulfillReadRequest","ranges":[{"startOffset":56424,"endOffset":57017,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamFulfillReadIntoRequest","ranges":[{"startOffset":57019,"endOffset":57401,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamAddReadRequest","ranges":[{"startOffset":57403,"endOffset":57641,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamAddReadIntoRequest","ranges":[{"startOffset":57643,"endOffset":57902,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamReaderGenericCancel","ranges":[{"startOffset":57904,"endOffset":58089,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamReaderGenericInitialize","ranges":[{"startOffset":58091,"endOffset":58756,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultReaderRelease","ranges":[{"startOffset":58758,"endOffset":58958,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultReaderErrorReadRequests","ranges":[{"startOffset":58960,"endOffset":59180,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamBYOBReaderRelease","ranges":[{"startOffset":59182,"endOffset":59380,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamBYOBReaderErrorReadIntoRequests","ranges":[{"startOffset":59382,"endOffset":59615,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamReaderGenericRelease","ranges":[{"startOffset":59617,"endOffset":60271,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamBYOBReaderRead","ranges":[{"startOffset":60273,"endOffset":60676,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultReaderRead","ranges":[{"startOffset":60678,"endOffset":61115,"count":0}],"isBlockCoverage":false},{"functionName":"setupReadableStreamBYOBReader","ranges":[{"startOffset":61117,"endOffset":61560,"count":0}],"isBlockCoverage":false},{"functionName":"setupReadableStreamDefaultReader","ranges":[{"startOffset":61562,"endOffset":61825,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerClose","ranges":[{"startOffset":61827,"endOffset":62175,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerEnqueue","ranges":[{"startOffset":62177,"endOffset":62922,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerHasBackpressure","ranges":[{"startOffset":62924,"endOffset":63064,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerCanCloseOrEnqueue","ranges":[{"startOffset":63066,"endOffset":63280,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerGetDesiredSize","ranges":[{"startOffset":63282,"endOffset":63597,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerShouldCallPull","ranges":[{"startOffset":63599,"endOffset":64094,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerCallPullIfNeeded","ranges":[{"startOffset":64096,"endOffset":64807,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerClearAlgorithms","ranges":[{"startOffset":64809,"endOffset":65026,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerError","ranges":[{"startOffset":65028,"endOffset":65325,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerCancelSteps","ranges":[{"startOffset":65327,"endOffset":65600,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerPullSteps","ranges":[{"startOffset":65602,"endOffset":66218,"count":0}],"isBlockCoverage":false},{"functionName":"setupReadableStreamDefaultController","ranges":[{"startOffset":66220,"endOffset":67199,"count":0}],"isBlockCoverage":false},{"functionName":"setupReadableStreamDefaultControllerFromSource","ranges":[{"startOffset":67201,"endOffset":67947,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerClose","ranges":[{"startOffset":67949,"endOffset":68663,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerCommitPullIntoDescriptor","ranges":[{"startOffset":68665,"endOffset":69235,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerInvalidateBYOBRequest","ranges":[{"startOffset":69237,"endOffset":69530,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerClearAlgorithms","ranges":[{"startOffset":69532,"endOffset":69698,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerClearPendingPullIntos","ranges":[{"startOffset":69700,"endOffset":69883,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerGetDesiredSize","ranges":[{"startOffset":69885,"endOffset":70191,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerShouldCallPull","ranges":[{"startOffset":70193,"endOffset":70841,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerHandleQueueDrain","ranges":[{"startOffset":70843,"endOffset":71260,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerPullInto","ranges":[{"startOffset":71262,"endOffset":73272,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerRespondInternal","ranges":[{"startOffset":73274,"endOffset":74099,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerRespond","ranges":[{"startOffset":74101,"endOffset":74881,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerRespondInClosedState","ranges":[{"startOffset":74883,"endOffset":75404,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerFillHeadPullIntoDescriptor","ranges":[{"startOffset":75406,"endOffset":75707,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerEnqueue","ranges":[{"startOffset":75709,"endOffset":78019,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerEnqueueClonedChunkToQueue","ranges":[{"startOffset":78021,"endOffset":78495,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerEnqueueChunkToQueue","ranges":[{"startOffset":78497,"endOffset":78777,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerEnqueueDetachedPullIntoToQueue","ranges":[{"startOffset":78779,"endOffset":79208,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerFillPullIntoDescriptorFromQueue","ranges":[{"startOffset":79210,"endOffset":81178,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerProcessPullIntoDescriptorsUsingQueue","ranges":[{"startOffset":81180,"endOffset":81775,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerRespondInReadableState","ranges":[{"startOffset":81777,"endOffset":83187,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerRespondWithNewView","ranges":[{"startOffset":83189,"endOffset":84574,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerShiftPendingPullInto","ranges":[{"startOffset":84576,"endOffset":84767,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerCallPullIfNeeded","ranges":[{"startOffset":84769,"endOffset":85468,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerError","ranges":[{"startOffset":85470,"endOffset":85826,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerCancelSteps","ranges":[{"startOffset":85828,"endOffset":86128,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerFillReadRequestFromQueue","ranges":[{"startOffset":86130,"endOffset":86609,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerProcessReadRequestsUsingQueue","ranges":[{"startOffset":86611,"endOffset":87094,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerPullSteps","ranges":[{"startOffset":87096,"endOffset":88201,"count":0}],"isBlockCoverage":false},{"functionName":"setupReadableByteStreamController","ranges":[{"startOffset":88203,"endOffset":89288,"count":0}],"isBlockCoverage":false},{"functionName":"setupReadableByteStreamControllerFromSource","ranges":[{"startOffset":89290,"endOffset":90226,"count":0}],"isBlockCoverage":false}]},{"scriptId":"846","url":"node:internal/webstreams/writablestream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":37504,"count":1}],"isBlockCoverage":false},{"functionName":"lazyWritableReleasedError","ranges":[{"startOffset":1610,"endOffset":2051,"count":0}],"isBlockCoverage":false},{"functionName":"getNonWritablePropertyDescriptor","ranges":[{"startOffset":2094,"endOffset":2180,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3102,"endOffset":7558,"count":0}],"isBlockCoverage":false},{"functionName":"TransferredWritableStream","ranges":[{"startOffset":7819,"endOffset":9112,"count":0}],"isBlockCoverage":false},{"functionName":"TransferredWritableStream.","ranges":[{"startOffset":9165,"endOffset":9173,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9176,"endOffset":12752,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13137,"endOffset":14246,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStreamLocked","ranges":[{"startOffset":14715,"endOffset":14804,"count":0}],"isBlockCoverage":false},{"functionName":"setupWritableStreamDefaultWriter","ranges":[{"startOffset":14806,"endOffset":16580,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamAbort","ranges":[{"startOffset":16582,"endOffset":17371,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamClose","ranges":[{"startOffset":17373,"endOffset":18047,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamUpdateBackpressure","ranges":[{"startOffset":18049,"endOffset":18528,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamStartErroring","ranges":[{"startOffset":18530,"endOffset":19107,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamRejectCloseAndClosedPromiseIfNeeded","ranges":[{"startOffset":19109,"endOffset":19864,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamMarkFirstWriteRequestInFlight","ranges":[{"startOffset":19866,"endOffset":20174,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamMarkCloseRequestInFlight","ranges":[{"startOffset":20176,"endOffset":20544,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamHasOperationMarkedInFlight","ranges":[{"startOffset":20546,"endOffset":20832,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamFinishInFlightWriteWithError","ranges":[{"startOffset":20834,"endOffset":21291,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamFinishInFlightWrite","ranges":[{"startOffset":21293,"endOffset":21585,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamFinishInFlightCloseWithError","ranges":[{"startOffset":21587,"endOffset":22397,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamFinishInFlightClose","ranges":[{"startOffset":22399,"endOffset":23454,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamFinishErroring","ranges":[{"startOffset":23456,"endOffset":24874,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDealWithRejection","ranges":[{"startOffset":24876,"endOffset":25145,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamCloseQueuedOrInFlight","ranges":[{"startOffset":25147,"endOffset":25366,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamAddWriteRequest","ranges":[{"startOffset":25368,"endOffset":25718,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterWrite","ranges":[{"startOffset":25720,"endOffset":26700,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterRelease","ranges":[{"startOffset":26702,"endOffset":27180,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterGetDesiredSize","ranges":[{"startOffset":27182,"endOffset":27531,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterEnsureReadyPromiseRejected","ranges":[{"startOffset":27533,"endOffset":27902,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterEnsureClosedPromiseRejected","ranges":[{"startOffset":27904,"endOffset":28274,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterCloseWithErrorPropagation","ranges":[{"startOffset":28276,"endOffset":28761,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterClose","ranges":[{"startOffset":28763,"endOffset":28930,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterAbort","ranges":[{"startOffset":28932,"endOffset":29115,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerWrite","ranges":[{"startOffset":29117,"endOffset":29702,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerProcessWrite","ranges":[{"startOffset":29704,"endOffset":30718,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerProcessClose","ranges":[{"startOffset":30720,"endOffset":31278,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerGetDesiredSize","ranges":[{"startOffset":31280,"endOffset":31466,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerGetChunkSize","ranges":[{"startOffset":31468,"endOffset":31763,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerErrorIfNeeded","ranges":[{"startOffset":31765,"endOffset":31993,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerError","ranges":[{"startOffset":31995,"endOffset":32266,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerClose","ranges":[{"startOffset":32268,"endOffset":32451,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerClearAlgorithms","ranges":[{"startOffset":32453,"endOffset":32719,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerGetBackpressure","ranges":[{"startOffset":32721,"endOffset":32865,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerAdvanceQueueIfNeeded","ranges":[{"startOffset":32867,"endOffset":33455,"count":0}],"isBlockCoverage":false},{"functionName":"setupWritableStreamDefaultControllerFromSink","ranges":[{"startOffset":33457,"endOffset":34306,"count":0}],"isBlockCoverage":false},{"functionName":"setupWritableStreamDefaultController","ranges":[{"startOffset":34308,"endOffset":35619,"count":0}],"isBlockCoverage":false}]},{"scriptId":"847","url":"node:internal/webstreams/transformstream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15706,"count":1}],"isBlockCoverage":false},{"functionName":"getNonWritablePropertyDescriptor","ranges":[{"startOffset":1473,"endOffset":1559,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2349,"endOffset":5760,"count":0}],"isBlockCoverage":false},{"functionName":"TransferredTransformStream","ranges":[{"startOffset":5964,"endOffset":6423,"count":0}],"isBlockCoverage":false},{"functionName":"TransferredTransformStream.","ranges":[{"startOffset":6477,"endOffset":6485,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6488,"endOffset":8003,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTransformAlgorithm","ranges":[{"startOffset":8464,"endOffset":8589,"count":0}],"isBlockCoverage":false},{"functionName":"initializeTransformStream","ranges":[{"startOffset":8591,"endOffset":9906,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamError","ranges":[{"startOffset":9908,"endOffset":10173,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamErrorWritableAndUnblockWrite","ranges":[{"startOffset":10175,"endOffset":10550,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamSetBackpressure","ranges":[{"startOffset":10552,"endOffset":10896,"count":0}],"isBlockCoverage":false},{"functionName":"setupTransformStreamDefaultController","ranges":[{"startOffset":10898,"endOffset":11229,"count":0}],"isBlockCoverage":false},{"functionName":"setupTransformStreamDefaultControllerFromTransformer","ranges":[{"startOffset":11231,"endOffset":11783,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultControllerClearAlgorithms","ranges":[{"startOffset":11785,"endOffset":11959,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultControllerEnqueue","ranges":[{"startOffset":11961,"endOffset":12773,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultControllerError","ranges":[{"startOffset":12775,"endOffset":12902,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultControllerPerformTransform","ranges":[{"startOffset":12904,"endOffset":13228,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultControllerTerminate","ranges":[{"startOffset":13230,"endOffset":13690,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultSinkWriteAlgorithm","ranges":[{"startOffset":13692,"endOffset":14468,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultSinkAbortAlgorithm","ranges":[{"startOffset":14470,"endOffset":14585,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultSinkCloseAlgorithm","ranges":[{"startOffset":14587,"endOffset":15239,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultSourcePullAlgorithm","ranges":[{"startOffset":15241,"endOffset":15510,"count":0}],"isBlockCoverage":false}]},{"scriptId":"848","url":"node:stream/web","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1294,"count":1}],"isBlockCoverage":false}]},{"scriptId":"849","url":"node:internal/webstreams/encoding","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6227,"count":1}],"isBlockCoverage":false},{"functionName":"isTextEncoderStream","ranges":[{"startOffset":859,"endOffset":996,"count":0}],"isBlockCoverage":false},{"functionName":"isTextDecoderStream","ranges":[{"startOffset":998,"endOffset":1135,"count":0}],"isBlockCoverage":false},{"functionName":"TextEncoderStream","ranges":[{"startOffset":1165,"endOffset":2713,"count":0}],"isBlockCoverage":false},{"functionName":"get encoding","ranges":[{"startOffset":2764,"endOffset":2910,"count":0}],"isBlockCoverage":false},{"functionName":"get readable","ranges":[{"startOffset":2969,"endOffset":3118,"count":0}],"isBlockCoverage":false},{"functionName":"get writable","ranges":[{"startOffset":3177,"endOffset":3326,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3330,"endOffset":3651,"count":0}],"isBlockCoverage":false},{"functionName":"TextDecoderStream","ranges":[{"startOffset":3814,"endOffset":4373,"count":0}],"isBlockCoverage":false},{"functionName":"get encoding","ranges":[{"startOffset":4424,"endOffset":4570,"count":0}],"isBlockCoverage":false},{"functionName":"get fatal","ranges":[{"startOffset":4622,"endOffset":4762,"count":0}],"isBlockCoverage":false},{"functionName":"get ignoreBOM","ranges":[{"startOffset":4814,"endOffset":4962,"count":0}],"isBlockCoverage":false},{"functionName":"get readable","ranges":[{"startOffset":5021,"endOffset":5170,"count":0}],"isBlockCoverage":false},{"functionName":"get writable","ranges":[{"startOffset":5229,"endOffset":5378,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5382,"endOffset":5779,"count":0}],"isBlockCoverage":false}]},{"scriptId":"850","url":"node:internal/webstreams/compression","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3764,"count":1}],"isBlockCoverage":false},{"functionName":"lazyZlib","ranges":[{"startOffset":443,"endOffset":509,"count":0}],"isBlockCoverage":false},{"functionName":"isCompressionStream","ranges":[{"startOffset":770,"endOffset":907,"count":0}],"isBlockCoverage":false},{"functionName":"isDecompressionStream","ranges":[{"startOffset":909,"endOffset":1050,"count":0}],"isBlockCoverage":false},{"functionName":"CompressionStream","ranges":[{"startOffset":1130,"endOffset":1541,"count":0}],"isBlockCoverage":false},{"functionName":"get readable","ranges":[{"startOffset":1600,"endOffset":1749,"count":0}],"isBlockCoverage":false},{"functionName":"get writable","ranges":[{"startOffset":1808,"endOffset":1957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1961,"endOffset":2235,"count":0}],"isBlockCoverage":false},{"functionName":"DecompressionStream","ranges":[{"startOffset":2319,"endOffset":2734,"count":0}],"isBlockCoverage":false},{"functionName":"get readable","ranges":[{"startOffset":2793,"endOffset":2946,"count":0}],"isBlockCoverage":false},{"functionName":"get writable","ranges":[{"startOffset":3005,"endOffset":3158,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3162,"endOffset":3442,"count":0}],"isBlockCoverage":false}]},{"scriptId":"851","url":"node:internal/webstreams/adapters","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":25246,"count":1}],"isBlockCoverage":false},{"functionName":"newWritableStreamFromStreamWritable","ranges":[{"startOffset":1904,"endOffset":4982,"count":0}],"isBlockCoverage":false},{"functionName":"newStreamWritableFromWritableStream","ranges":[{"startOffset":5203,"endOffset":9526,"count":0}],"isBlockCoverage":false},{"functionName":"newReadableStreamFromStreamReadable","ranges":[{"startOffset":9737,"endOffset":12255,"count":0}],"isBlockCoverage":false},{"functionName":"newStreamReadableFromReadableStream","ranges":[{"startOffset":12470,"endOffset":14347,"count":0}],"isBlockCoverage":false},{"functionName":"newReadableWritablePairFromDuplex","ranges":[{"startOffset":14565,"endOffset":15747,"count":0}],"isBlockCoverage":false},{"functionName":"newStreamDuplexFromReadableWritablePair","ranges":[{"startOffset":16018,"endOffset":21248,"count":0}],"isBlockCoverage":false},{"functionName":"newWritableStreamFromStreamBase","ranges":[{"startOffset":21462,"endOffset":23301,"count":0}],"isBlockCoverage":false},{"functionName":"newReadableStreamFromStreamBase","ranges":[{"startOffset":23411,"endOffset":24916,"count":0}],"isBlockCoverage":false}]},{"scriptId":"852","url":"node:http2","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":468,"count":1}],"isBlockCoverage":false}]},{"scriptId":"853","url":"node:internal/http2/core","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":107816,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4633,"endOffset":4658,"count":0}],"isBlockCoverage":false},{"functionName":"debugStream","ranges":[{"startOffset":4698,"endOffset":4923,"count":0}],"isBlockCoverage":false},{"functionName":"debugStreamObj","ranges":[{"startOffset":4925,"endOffset":5142,"count":0}],"isBlockCoverage":false},{"functionName":"debugSession","ranges":[{"startOffset":5144,"endOffset":5306,"count":0}],"isBlockCoverage":false},{"functionName":"debugSessionObj","ranges":[{"startOffset":5308,"endOffset":5436,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":8634,"endOffset":8705,"count":0}],"isBlockCoverage":false},{"functionName":"onSessionHeaders","ranges":[{"startOffset":9007,"endOffset":11714,"count":0}],"isBlockCoverage":false},{"functionName":"tryClose","ranges":[{"startOffset":11716,"endOffset":11899,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamTrailers","ranges":[{"startOffset":12070,"endOffset":12371,"count":0}],"isBlockCoverage":false},{"functionName":"submitRstStream","ranges":[{"startOffset":12483,"endOffset":12593,"count":0}],"isBlockCoverage":false},{"functionName":"sessionListenerAdded","ranges":[{"startOffset":12752,"endOffset":13332,"count":0}],"isBlockCoverage":false},{"functionName":"sessionListenerRemoved","ranges":[{"startOffset":13334,"endOffset":14079,"count":0}],"isBlockCoverage":false},{"functionName":"streamListenerAdded","ranges":[{"startOffset":14192,"endOffset":14508,"count":0}],"isBlockCoverage":false},{"functionName":"streamListenerRemoved","ranges":[{"startOffset":14510,"endOffset":14828,"count":0}],"isBlockCoverage":false},{"functionName":"onPing","ranges":[{"startOffset":14830,"endOffset":15036,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamClose","ranges":[{"startOffset":15423,"endOffset":16517,"count":0}],"isBlockCoverage":false},{"functionName":"onSettings","ranges":[{"startOffset":16609,"endOffset":16881,"count":0}],"isBlockCoverage":false},{"functionName":"onPriority","ranges":[{"startOffset":17074,"endOffset":17523,"count":0}],"isBlockCoverage":false},{"functionName":"onFrameError","ranges":[{"startOffset":17635,"endOffset":18062,"count":0}],"isBlockCoverage":false},{"functionName":"onAltSvc","ranges":[{"startOffset":18064,"endOffset":18368,"count":0}],"isBlockCoverage":false},{"functionName":"initOriginSet","ranges":[{"startOffset":18370,"endOffset":18996,"count":0}],"isBlockCoverage":false},{"functionName":"onOrigin","ranges":[{"startOffset":18998,"endOffset":19406,"count":0}],"isBlockCoverage":false},{"functionName":"onGoawayData","ranges":[{"startOffset":19809,"endOffset":20761,"count":0}],"isBlockCoverage":false},{"functionName":"requestOnConnect","ranges":[{"startOffset":20963,"endOffset":23018,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23382,"endOffset":23971,"count":0}],"isBlockCoverage":false},{"functionName":"onSessionInternalError","ranges":[{"startOffset":24068,"endOffset":24240,"count":0}],"isBlockCoverage":false},{"functionName":"settingsCallback","ranges":[{"startOffset":24242,"endOffset":24709,"count":0}],"isBlockCoverage":false},{"functionName":"submitSettings","ranges":[{"startOffset":24770,"endOffset":25163,"count":0}],"isBlockCoverage":false},{"functionName":"submitPriority","ranges":[{"startOffset":25326,"endOffset":25749,"count":0}],"isBlockCoverage":false},{"functionName":"submitGoaway","ranges":[{"startOffset":25984,"endOffset":26201,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26234,"endOffset":26975,"count":0}],"isBlockCoverage":false},{"functionName":"getPrototypeOf","ranges":[{"startOffset":26979,"endOffset":27161,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":27165,"endOffset":27807,"count":0}],"isBlockCoverage":false},{"functionName":"pingCallback","ranges":[{"startOffset":28219,"endOffset":28418,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29027,"endOffset":30306,"count":0}],"isBlockCoverage":false},{"functionName":"trackAssignmentsTypedArray","ranges":[{"startOffset":30443,"endOffset":31165,"count":0}],"isBlockCoverage":false},{"functionName":"setupHandle","ranges":[{"startOffset":31451,"endOffset":33726,"count":0}],"isBlockCoverage":false},{"functionName":"emitClose","ranges":[{"startOffset":33840,"endOffset":33941,"count":0}],"isBlockCoverage":false},{"functionName":"cleanupSession","ranges":[{"startOffset":33943,"endOffset":34378,"count":0}],"isBlockCoverage":false},{"functionName":"finishSessionClose","ranges":[{"startOffset":34380,"endOffset":35328,"count":0}],"isBlockCoverage":false},{"functionName":"closeSession","ranges":[{"startOffset":35330,"endOffset":36385,"count":0}],"isBlockCoverage":false},{"functionName":"Http2Session","ranges":[{"startOffset":38538,"endOffset":41320,"count":0}],"isBlockCoverage":false},{"functionName":"get encrypted","ranges":[{"startOffset":41447,"endOffset":41497,"count":0}],"isBlockCoverage":false},{"functionName":"get alpnProtocol","ranges":[{"startOffset":41677,"endOffset":41733,"count":0}],"isBlockCoverage":false},{"functionName":"get originSet","ranges":[{"startOffset":42100,"endOffset":42231,"count":0}],"isBlockCoverage":false},{"functionName":"get connecting","ranges":[{"startOffset":42308,"endOffset":42391,"count":0}],"isBlockCoverage":false},{"functionName":"get closed","ranges":[{"startOffset":42455,"endOffset":42531,"count":0}],"isBlockCoverage":false},{"functionName":"get destroyed","ranges":[{"startOffset":42597,"endOffset":42679,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":42715,"endOffset":42825,"count":0}],"isBlockCoverage":false},{"functionName":"setNextStreamID","ranges":[{"startOffset":43041,"endOffset":43315,"count":0}],"isBlockCoverage":false},{"functionName":"setLocalWindowSize","ranges":[{"startOffset":43488,"endOffset":43792,"count":0}],"isBlockCoverage":false},{"functionName":"ping","ranges":[{"startOffset":43991,"endOffset":44587,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44591,"endOffset":44949,"count":0}],"isBlockCoverage":false},{"functionName":"get socket","ranges":[{"startOffset":44991,"endOffset":45178,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":45204,"endOffset":45244,"count":0}],"isBlockCoverage":false},{"functionName":"get goawayCode","ranges":[{"startOffset":45321,"endOffset":45399,"count":0}],"isBlockCoverage":false},{"functionName":"get goawayLastStreamID","ranges":[{"startOffset":45479,"endOffset":45558,"count":0}],"isBlockCoverage":false},{"functionName":"get pendingSettingsAck","ranges":[{"startOffset":45634,"endOffset":45704,"count":0}],"isBlockCoverage":false},{"functionName":"get state","ranges":[{"startOffset":45762,"endOffset":45869,"count":0}],"isBlockCoverage":false},{"functionName":"get localSettings","ranges":[{"startOffset":46014,"endOffset":46277,"count":0}],"isBlockCoverage":false},{"functionName":"get remoteSettings","ranges":[{"startOffset":46340,"endOffset":46799,"count":0}],"isBlockCoverage":false},{"functionName":"settings","ranges":[{"startOffset":46864,"endOffset":47439,"count":0}],"isBlockCoverage":false},{"functionName":"goaway","ranges":[{"startOffset":47693,"endOffset":48288,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":48392,"endOffset":48808,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":49380,"endOffset":49677,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":49681,"endOffset":49921,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":50060,"endOffset":50386,"count":0}],"isBlockCoverage":false},{"functionName":"_onTimeout","ranges":[{"startOffset":50390,"endOffset":50431,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":50435,"endOffset":50504,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":50508,"endOffset":50581,"count":0}],"isBlockCoverage":false},{"functionName":"ServerHttp2Session","ranges":[{"startOffset":50799,"endOffset":51307,"count":0}],"isBlockCoverage":false},{"functionName":"get server","ranges":[{"startOffset":51311,"endOffset":51355,"count":0}],"isBlockCoverage":false},{"functionName":"altsvc","ranges":[{"startOffset":51604,"endOffset":53464,"count":0}],"isBlockCoverage":false},{"functionName":"origin","ranges":[{"startOffset":53509,"endOffset":54257,"count":0}],"isBlockCoverage":false},{"functionName":"ClientHttp2Session","ranges":[{"startOffset":54563,"endOffset":54688,"count":0}],"isBlockCoverage":false},{"functionName":"request","ranges":[{"startOffset":54798,"endOffset":58539,"count":0}],"isBlockCoverage":false},{"functionName":"trackWriteState","ranges":[{"startOffset":58543,"endOffset":58756,"count":0}],"isBlockCoverage":false},{"functionName":"streamOnResume","ranges":[{"startOffset":58758,"endOffset":58841,"count":0}],"isBlockCoverage":false},{"functionName":"streamOnPause","ranges":[{"startOffset":58843,"endOffset":58941,"count":0}],"isBlockCoverage":false},{"functionName":"afterShutdown","ranges":[{"startOffset":58943,"endOffset":59168,"count":0}],"isBlockCoverage":false},{"functionName":"shutdownWritable","ranges":[{"startOffset":59170,"endOffset":59717,"count":0}],"isBlockCoverage":false},{"functionName":"finishSendTrailers","ranges":[{"startOffset":59719,"endOffset":60180,"count":0}],"isBlockCoverage":false},{"functionName":"closeStream","ranges":[{"startOffset":60262,"endOffset":61197,"count":0}],"isBlockCoverage":false},{"functionName":"finishCloseStream","ranges":[{"startOffset":61199,"endOffset":61584,"count":0}],"isBlockCoverage":false},{"functionName":"Http2Stream","ranges":[{"startOffset":61740,"endOffset":62864,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62868,"endOffset":63046,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63050,"endOffset":63477,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63481,"endOffset":63849,"count":0}],"isBlockCoverage":false},{"functionName":"get bufferSize","ranges":[{"startOffset":63853,"endOffset":64067,"count":0}],"isBlockCoverage":false},{"functionName":"get endAfterHeaders","ranges":[{"startOffset":64071,"endOffset":64139,"count":0}],"isBlockCoverage":false},{"functionName":"get sentHeaders","ranges":[{"startOffset":64143,"endOffset":64197,"count":0}],"isBlockCoverage":false},{"functionName":"get sentTrailers","ranges":[{"startOffset":64201,"endOffset":64257,"count":0}],"isBlockCoverage":false},{"functionName":"get sentInfoHeaders","ranges":[{"startOffset":64261,"endOffset":64319,"count":0}],"isBlockCoverage":false},{"functionName":"get pending","ranges":[{"startOffset":64323,"endOffset":64378,"count":0}],"isBlockCoverage":false},{"functionName":"get id","ranges":[{"startOffset":64473,"endOffset":64509,"count":0}],"isBlockCoverage":false},{"functionName":"get session","ranges":[{"startOffset":64563,"endOffset":64609,"count":0}],"isBlockCoverage":false},{"functionName":"_onTimeout","ranges":[{"startOffset":64613,"endOffset":64664,"count":0}],"isBlockCoverage":false},{"functionName":"get headersSent","ranges":[{"startOffset":64713,"endOffset":64799,"count":0}],"isBlockCoverage":false},{"functionName":"get aborted","ranges":[{"startOffset":64856,"endOffset":64933,"count":0}],"isBlockCoverage":false},{"functionName":"get headRequest","ranges":[{"startOffset":64978,"endOffset":65064,"count":0}],"isBlockCoverage":false},{"functionName":"get rstCode","ranges":[{"startOffset":65131,"endOffset":65183,"count":0}],"isBlockCoverage":false},{"functionName":"get state","ranges":[{"startOffset":65230,"endOffset":65380,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":65384,"endOffset":65516,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":65520,"endOffset":65686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":65690,"endOffset":68142,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":68146,"endOffset":68230,"count":0}],"isBlockCoverage":false},{"functionName":"_writev","ranges":[{"startOffset":68234,"endOffset":68302,"count":0}],"isBlockCoverage":false},{"functionName":"_final","ranges":[{"startOffset":68306,"endOffset":68525,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":68529,"endOffset":68874,"count":0}],"isBlockCoverage":false},{"functionName":"priority","ranges":[{"startOffset":68878,"endOffset":69396,"count":0}],"isBlockCoverage":false},{"functionName":"sendTrailers","ranges":[{"startOffset":69400,"endOffset":70098,"count":0}],"isBlockCoverage":false},{"functionName":"get closed","ranges":[{"startOffset":70102,"endOffset":70177,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":70957,"endOffset":71272,"count":0}],"isBlockCoverage":false},{"functionName":"_destroy","ranges":[{"startOffset":71490,"endOffset":73837,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":73955,"endOffset":74970,"count":0}],"isBlockCoverage":false},{"functionName":"callTimeout","ranges":[{"startOffset":74974,"endOffset":75882,"count":0}],"isBlockCoverage":false},{"functionName":"callStreamClose","ranges":[{"startOffset":75884,"endOffset":75938,"count":0}],"isBlockCoverage":false},{"functionName":"processHeaders","ranges":[{"startOffset":75940,"endOffset":77471,"count":0}],"isBlockCoverage":false},{"functionName":"onFileUnpipe","ranges":[{"startOffset":77474,"endOffset":77724,"count":0}],"isBlockCoverage":false},{"functionName":"onPipedFileHandleRead","ranges":[{"startOffset":77842,"endOffset":78014,"count":0}],"isBlockCoverage":false},{"functionName":"processRespondWithFD","ranges":[{"startOffset":78016,"endOffset":78825,"count":0}],"isBlockCoverage":false},{"functionName":"startFilePipe","ranges":[{"startOffset":78827,"endOffset":79273,"count":0}],"isBlockCoverage":false},{"functionName":"doSendFD","ranges":[{"startOffset":79275,"endOffset":80698,"count":0}],"isBlockCoverage":false},{"functionName":"doSendFileFD","ranges":[{"startOffset":80700,"endOffset":82711,"count":0}],"isBlockCoverage":false},{"functionName":"afterOpen","ranges":[{"startOffset":82713,"endOffset":83224,"count":0}],"isBlockCoverage":false},{"functionName":"ServerHttp2Stream","ranges":[{"startOffset":83274,"endOffset":83511,"count":0}],"isBlockCoverage":false},{"functionName":"get pushAllowed","ranges":[{"startOffset":83565,"endOffset":83771,"count":0}],"isBlockCoverage":false},{"functionName":"pushStream","ranges":[{"startOffset":83881,"endOffset":86064,"count":0}],"isBlockCoverage":false},{"functionName":"respond","ranges":[{"startOffset":86113,"endOffset":87581,"count":0}],"isBlockCoverage":false},{"functionName":"respondWithFD","ranges":[{"startOffset":87974,"endOffset":90057,"count":0}],"isBlockCoverage":false},{"functionName":"respondWithFile","ranges":[{"startOffset":90531,"endOffset":92162,"count":0}],"isBlockCoverage":false},{"functionName":"additionalHeaders","ranges":[{"startOffset":92667,"endOffset":93716,"count":0}],"isBlockCoverage":false},{"functionName":"ClientHttp2Stream","ranges":[{"startOffset":93846,"endOffset":94078,"count":0}],"isBlockCoverage":false},{"functionName":"handleHeaderContinue","ranges":[{"startOffset":94082,"endOffset":94212,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnError","ranges":[{"startOffset":94590,"endOffset":95041,"count":0}],"isBlockCoverage":false},{"functionName":"sessionOnStream","ranges":[{"startOffset":95135,"endOffset":95304,"count":0}],"isBlockCoverage":false},{"functionName":"sessionOnPriority","ranges":[{"startOffset":95306,"endOffset":95477,"count":0}],"isBlockCoverage":false},{"functionName":"sessionOnError","ranges":[{"startOffset":95479,"endOffset":95601,"count":0}],"isBlockCoverage":false},{"functionName":"sessionOnTimeout","ranges":[{"startOffset":95731,"endOffset":95985,"count":0}],"isBlockCoverage":false},{"functionName":"connectionListener","ranges":[{"startOffset":95987,"endOffset":98351,"count":0}],"isBlockCoverage":false},{"functionName":"initializeOptions","ranges":[{"startOffset":98353,"endOffset":99567,"count":0}],"isBlockCoverage":false},{"functionName":"initializeTLSOptions","ranges":[{"startOffset":99569,"endOffset":99901,"count":0}],"isBlockCoverage":false},{"functionName":"onErrorSecureServerSession","ranges":[{"startOffset":99903,"endOffset":100026,"count":0}],"isBlockCoverage":false},{"functionName":"Http2SecureServer","ranges":[{"startOffset":100074,"endOffset":100444,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":100448,"endOffset":100646,"count":0}],"isBlockCoverage":false},{"functionName":"updateSettings","ranges":[{"startOffset":100650,"endOffset":100829,"count":0}],"isBlockCoverage":false},{"functionName":"Http2Server","ranges":[{"startOffset":100873,"endOffset":101181,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":101185,"endOffset":101383,"count":0}],"isBlockCoverage":false},{"functionName":"updateSettings","ranges":[{"startOffset":101387,"endOffset":101566,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":101570,"endOffset":101668,"count":0}],"isBlockCoverage":false},{"functionName":"Http2Server.","ranges":[{"startOffset":101733,"endOffset":102659,"count":0}],"isBlockCoverage":false},{"functionName":"setupCompat","ranges":[{"startOffset":102662,"endOffset":103050,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnClose","ranges":[{"startOffset":103052,"endOffset":103499,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":103501,"endOffset":104976,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":105082,"endOffset":105230,"count":0}],"isBlockCoverage":false},{"functionName":"createSecureServer","ranges":[{"startOffset":105237,"endOffset":105336,"count":0}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":105338,"endOffset":105519,"count":0}],"isBlockCoverage":false},{"functionName":"getPackedSettings","ranges":[{"startOffset":105684,"endOffset":105868,"count":0}],"isBlockCoverage":false},{"functionName":"getUnpackedSettings","ranges":[{"startOffset":105870,"endOffset":107305,"count":0}],"isBlockCoverage":false}]},{"scriptId":"854","url":"node:tls","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11612,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3466,"endOffset":3530,"count":0}],"isBlockCoverage":false},{"functionName":"cacheRootCertificates","ranges":[{"startOffset":3559,"endOffset":3653,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3776,"endOffset":3927,"count":0}],"isBlockCoverage":false},{"functionName":"convertProtocols","ranges":[{"startOffset":4037,"endOffset":4649,"count":0}],"isBlockCoverage":false},{"functionName":"convertALPNProtocols","ranges":[{"startOffset":4682,"endOffset":5206,"count":0}],"isBlockCoverage":false},{"functionName":"unfqdn","ranges":[{"startOffset":5209,"endOffset":5291,"count":0}],"isBlockCoverage":false},{"functionName":"toLowerCase","ranges":[{"startOffset":5399,"endOffset":5493,"count":0}],"isBlockCoverage":false},{"functionName":"splitHost","ranges":[{"startOffset":5495,"endOffset":5639,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":5641,"endOffset":7636,"count":0}],"isBlockCoverage":false},{"functionName":"splitEscapedAltNames","ranges":[{"startOffset":8001,"endOffset":9237,"count":0}],"isBlockCoverage":false},{"functionName":"checkServerIdentity","ranges":[{"startOffset":9269,"endOffset":11167,"count":0}],"isBlockCoverage":false}]},{"scriptId":"855","url":"node:_tls_common","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5130,"count":1}],"isBlockCoverage":false},{"functionName":"toV","ranges":[{"startOffset":1775,"endOffset":2068,"count":0}],"isBlockCoverage":false},{"functionName":"SecureContext","ranges":[{"startOffset":2148,"endOffset":2985,"count":0}],"isBlockCoverage":false},{"functionName":"createSecureContext","ranges":[{"startOffset":2987,"endOffset":3457,"count":0}],"isBlockCoverage":false},{"functionName":"translatePeerCertificate","ranges":[{"startOffset":3696,"endOffset":5038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"856","url":"node:internal/tls/secure-context","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9087,"count":1}],"isBlockCoverage":false},{"functionName":"getDefaultEcdhCurve","ranges":[{"startOffset":727,"endOffset":977,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultCiphers","ranges":[{"startOffset":979,"endOffset":1211,"count":0}],"isBlockCoverage":false},{"functionName":"addCACerts","ranges":[{"startOffset":1213,"endOffset":1377,"count":0}],"isBlockCoverage":false},{"functionName":"setCerts","ranges":[{"startOffset":1379,"endOffset":1539,"count":0}],"isBlockCoverage":false},{"functionName":"validateKeyOrCertOption","ranges":[{"startOffset":1541,"endOffset":1821,"count":0}],"isBlockCoverage":false},{"functionName":"setKey","ranges":[{"startOffset":1823,"endOffset":2065,"count":0}],"isBlockCoverage":false},{"functionName":"processCiphers","ranges":[{"startOffset":2067,"endOffset":2898,"count":0}],"isBlockCoverage":false},{"functionName":"configSecureContext","ranges":[{"startOffset":2900,"endOffset":9040,"count":0}],"isBlockCoverage":false}]},{"scriptId":"857","url":"node:_tls_wrap","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":53367,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2051,"endOffset":2076,"count":0}],"isBlockCoverage":false},{"functionName":"onhandshakestart","ranges":[{"startOffset":4277,"endOffset":5060,"count":0}],"isBlockCoverage":false},{"functionName":"onhandshakedone","ranges":[{"startOffset":5062,"endOffset":5355,"count":0}],"isBlockCoverage":false},{"functionName":"loadSession","ranges":[{"startOffset":5358,"endOffset":6563,"count":0}],"isBlockCoverage":false},{"functionName":"loadSNI","ranges":[{"startOffset":6566,"endOffset":7219,"count":0}],"isBlockCoverage":false},{"functionName":"callALPNCallback","ranges":[{"startOffset":7222,"endOffset":8258,"count":0}],"isBlockCoverage":false},{"functionName":"requestOCSP","ranges":[{"startOffset":8260,"endOffset":9582,"count":0}],"isBlockCoverage":false},{"functionName":"requestOCSPDone","ranges":[{"startOffset":9584,"endOffset":9779,"count":0}],"isBlockCoverage":false},{"functionName":"onnewsessionclient","ranges":[{"startOffset":9781,"endOffset":10017,"count":0}],"isBlockCoverage":false},{"functionName":"onnewsession","ranges":[{"startOffset":10019,"endOffset":10855,"count":0}],"isBlockCoverage":false},{"functionName":"onPskServerCallback","ranges":[{"startOffset":10857,"endOffset":11507,"count":0}],"isBlockCoverage":false},{"functionName":"onPskClientCallback","ranges":[{"startOffset":11509,"endOffset":12216,"count":0}],"isBlockCoverage":false},{"functionName":"onkeylog","ranges":[{"startOffset":12218,"endOffset":12309,"count":0}],"isBlockCoverage":false},{"functionName":"onocspresponse","ranges":[{"startOffset":12311,"endOffset":12427,"count":0}],"isBlockCoverage":false},{"functionName":"onerror","ranges":[{"startOffset":12429,"endOffset":13557,"count":0}],"isBlockCoverage":false},{"functionName":"initRead","ranges":[{"startOffset":13701,"endOffset":14248,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket","ranges":[{"startOffset":14326,"endOffset":17438,"count":0}],"isBlockCoverage":false},{"functionName":"makeMethodProxy","ranges":[{"startOffset":17881,"endOffset":18056,"count":15}],"isBlockCoverage":true},{"functionName":"methodProxy","ranges":[{"startOffset":17923,"endOffset":18053,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":18223,"endOffset":18916,"count":0}],"isBlockCoverage":false},{"functionName":"disableRenegotiation","ranges":[{"startOffset":18962,"endOffset":19035,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._wrapHandle","ranges":[{"startOffset":19220,"endOffset":20361,"count":0}],"isBlockCoverage":false},{"functionName":"reinitializeHandle","ranges":[{"startOffset":20407,"endOffset":20983,"count":0}],"isBlockCoverage":false},{"functionName":"defineHandleReading","ranges":[{"startOffset":21122,"endOffset":21365,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketCloseDestroySSL","ranges":[{"startOffset":21367,"endOffset":21514,"count":0}],"isBlockCoverage":false},{"functionName":"destroySSL","ranges":[{"startOffset":21516,"endOffset":21567,"count":0}],"isBlockCoverage":false},{"functionName":"_destroySSL","ranges":[{"startOffset":21603,"endOffset":21895,"count":0}],"isBlockCoverage":false},{"functionName":"keylogNewListener","ranges":[{"startOffset":21898,"endOffset":22209,"count":0}],"isBlockCoverage":false},{"functionName":"newListener","ranges":[{"startOffset":22211,"endOffset":22515,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._init","ranges":[{"startOffset":22653,"endOffset":27300,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.renegotiate","ranges":[{"startOffset":27337,"endOffset":28584,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.exportKeyingMaterial","ranges":[{"startOffset":28630,"endOffset":28952,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxSendFragment","ranges":[{"startOffset":28996,"endOffset":29118,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._handleTimeout","ranges":[{"startOffset":29158,"endOffset":29227,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._emitTLSError","ranges":[{"startOffset":29266,"endOffset":29352,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._tlsError","ranges":[{"startOffset":29387,"endOffset":29495,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._releaseControl","ranges":[{"startOffset":29536,"endOffset":29692,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._finishInit","ranges":[{"startOffset":29729,"endOffset":30788,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._start","ranges":[{"startOffset":30820,"endOffset":31319,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.setServername","ranges":[{"startOffset":31358,"endOffset":31526,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.setSession","ranges":[{"startOffset":31562,"endOffset":31700,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.getPeerCertificate","ranges":[{"startOffset":31744,"endOffset":31908,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.getCertificate","ranges":[{"startOffset":31948,"endOffset":32154,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.getPeerX509Certificate","ranges":[{"startOffset":32202,"endOffset":32342,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.getX509Certificate","ranges":[{"startOffset":32386,"endOffset":32514,"count":0}],"isBlockCoverage":false},{"functionName":"makeSocketMethodProxy","ranges":[{"startOffset":32551,"endOffset":32749,"count":10}],"isBlockCoverage":true},{"functionName":"socketMethodProxy","ranges":[{"startOffset":32599,"endOffset":32746,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":32967,"endOffset":33045,"count":10}],"isBlockCoverage":true},{"functionName":"onServerSocketSecure","ranges":[{"startOffset":33087,"endOffset":33582,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketTLSError","ranges":[{"startOffset":33584,"endOffset":33820,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketKeylog","ranges":[{"startOffset":33822,"endOffset":33909,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketClose","ranges":[{"startOffset":33911,"endOffset":34264,"count":0}],"isBlockCoverage":false},{"functionName":"tlsConnectionListener","ranges":[{"startOffset":34266,"endOffset":35152,"count":0}],"isBlockCoverage":false},{"functionName":"Server","ranges":[{"startOffset":37918,"endOffset":39665,"count":0}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":39819,"endOffset":39903,"count":0}],"isBlockCoverage":false},{"functionName":"Server.setSecureContext","ranges":[{"startOffset":39943,"endOffset":42846,"count":0}],"isBlockCoverage":false},{"functionName":"Server._getServerData","ranges":[{"startOffset":42884,"endOffset":42968,"count":0}],"isBlockCoverage":false},{"functionName":"Server._setServerData","ranges":[{"startOffset":43006,"endOffset":43083,"count":0}],"isBlockCoverage":false},{"functionName":"getTicketKeys","ranges":[{"startOffset":43120,"endOffset":43200,"count":0}],"isBlockCoverage":false},{"functionName":"setTicketKeys","ranges":[{"startOffset":43237,"endOffset":43433,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":43477,"endOffset":45543,"count":0}],"isBlockCoverage":false},{"functionName":"Server.addContext","ranges":[{"startOffset":45666,"endOffset":46117,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":46166,"endOffset":46421,"count":0}],"isBlockCoverage":false},{"functionName":"SNICallback","ranges":[{"startOffset":46424,"endOffset":46740,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeConnectArgs","ranges":[{"startOffset":46973,"endOffset":47701,"count":0}],"isBlockCoverage":false},{"functionName":"onConnectSecure","ranges":[{"startOffset":47703,"endOffset":49935,"count":0}],"isBlockCoverage":false},{"functionName":"onConnectEnd","ranges":[{"startOffset":49937,"endOffset":50486,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":50552,"endOffset":53365,"count":0}],"isBlockCoverage":false}]},{"scriptId":"858","url":"node:internal/js_stream_socket","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8209,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":335,"endOffset":364,"count":0}],"isBlockCoverage":false},{"functionName":"isClosing","ranges":[{"startOffset":741,"endOffset":804,"count":0}],"isBlockCoverage":false},{"functionName":"onreadstart","ranges":[{"startOffset":806,"endOffset":871,"count":0}],"isBlockCoverage":false},{"functionName":"onreadstop","ranges":[{"startOffset":873,"endOffset":936,"count":0}],"isBlockCoverage":false},{"functionName":"onshutdown","ranges":[{"startOffset":938,"endOffset":1009,"count":0}],"isBlockCoverage":false},{"functionName":"onwrite","ranges":[{"startOffset":1011,"endOffset":1088,"count":0}],"isBlockCoverage":false},{"functionName":"JSStreamSocket","ranges":[{"startOffset":1848,"endOffset":3576,"count":0}],"isBlockCoverage":false},{"functionName":"get StreamWrap","ranges":[{"startOffset":3716,"endOffset":3765,"count":0}],"isBlockCoverage":false},{"functionName":"isClosing","ranges":[{"startOffset":3769,"endOffset":3831,"count":0}],"isBlockCoverage":false},{"functionName":"readStart","ranges":[{"startOffset":3835,"endOffset":3892,"count":0}],"isBlockCoverage":false},{"functionName":"readStop","ranges":[{"startOffset":3896,"endOffset":3951,"count":0}],"isBlockCoverage":false},{"functionName":"doShutdown","ranges":[{"startOffset":3955,"endOffset":5202,"count":0}],"isBlockCoverage":false},{"functionName":"finishShutdown","ranges":[{"startOffset":5270,"endOffset":5562,"count":0}],"isBlockCoverage":false},{"functionName":"doWrite","ranges":[{"startOffset":5566,"endOffset":6847,"count":0}],"isBlockCoverage":false},{"functionName":"finishWrite","ranges":[{"startOffset":6915,"endOffset":7358,"count":0}],"isBlockCoverage":false},{"functionName":"doClose","ranges":[{"startOffset":7362,"endOffset":8172,"count":0}],"isBlockCoverage":false}]},{"scriptId":"859","url":"node:internal/tls/secure-pair","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1991,"count":1}],"isBlockCoverage":false},{"functionName":"DuplexSocket","ranges":[{"startOffset":398,"endOffset":487,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":491,"endOffset":616,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":620,"endOffset":824,"count":0}],"isBlockCoverage":false},{"functionName":"_final","ranges":[{"startOffset":828,"endOffset":925,"count":0}],"isBlockCoverage":false},{"functionName":"DuplexPair","ranges":[{"startOffset":950,"endOffset":1137,"count":0}],"isBlockCoverage":false},{"functionName":"SecurePair","ranges":[{"startOffset":1183,"endOffset":1796,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":1800,"endOffset":1875,"count":0}],"isBlockCoverage":false},{"functionName":"createSecurePair","ranges":[{"startOffset":1906,"endOffset":1989,"count":0}],"isBlockCoverage":false}]},{"scriptId":"860","url":"node:internal/http2/compat","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21999,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2235,"endOffset":2701,"count":0}],"isBlockCoverage":false},{"functionName":"isPseudoHeader","ranges":[{"startOffset":2705,"endOffset":3033,"count":0}],"isBlockCoverage":false},{"functionName":"statusMessageWarn","ranges":[{"startOffset":3035,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"isConnectionHeaderAllowed","ranges":[{"startOffset":3273,"endOffset":3400,"count":0}],"isBlockCoverage":false},{"functionName":"connectionHeaderMessageWarn","ranges":[{"startOffset":3402,"endOffset":3741,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamData","ranges":[{"startOffset":3743,"endOffset":3880,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamTrailers","ranges":[{"startOffset":3882,"endOffset":4167,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamEnd","ranges":[{"startOffset":4169,"endOffset":4335,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamError","ranges":[{"startOffset":4337,"endOffset":4511,"count":0}],"isBlockCoverage":false},{"functionName":"onRequestPause","ranges":[{"startOffset":4513,"endOffset":4567,"count":0}],"isBlockCoverage":false},{"functionName":"onRequestResume","ranges":[{"startOffset":4569,"endOffset":4625,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamDrain","ranges":[{"startOffset":4627,"endOffset":4749,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamAbortedRequest","ranges":[{"startOffset":4751,"endOffset":4952,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamAbortedResponse","ranges":[{"startOffset":4954,"endOffset":5012,"count":0}],"isBlockCoverage":false},{"functionName":"resumeStream","ranges":[{"startOffset":5014,"endOffset":5066,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":5099,"endOffset":5249,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5254,"endOffset":6363,"count":0}],"isBlockCoverage":false},{"functionName":"getPrototypeOf","ranges":[{"startOffset":6367,"endOffset":6536,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6540,"endOffset":7333,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamCloseRequest","ranges":[{"startOffset":7339,"endOffset":7789,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamTimeout","ranges":[{"startOffset":7791,"endOffset":7921,"count":0}],"isBlockCoverage":false},{"functionName":"Http2ServerRequest","ranges":[{"startOffset":7969,"endOffset":8980,"count":0}],"isBlockCoverage":false},{"functionName":"get aborted","ranges":[{"startOffset":8984,"endOffset":9030,"count":0}],"isBlockCoverage":false},{"functionName":"get complete","ranges":[{"startOffset":9034,"endOffset":9186,"count":0}],"isBlockCoverage":false},{"functionName":"get stream","ranges":[{"startOffset":9190,"endOffset":9234,"count":0}],"isBlockCoverage":false},{"functionName":"get headers","ranges":[{"startOffset":9238,"endOffset":9284,"count":0}],"isBlockCoverage":false},{"functionName":"get rawHeaders","ranges":[{"startOffset":9288,"endOffset":9340,"count":0}],"isBlockCoverage":false},{"functionName":"get trailers","ranges":[{"startOffset":9344,"endOffset":9392,"count":0}],"isBlockCoverage":false},{"functionName":"get rawTrailers","ranges":[{"startOffset":9396,"endOffset":9450,"count":0}],"isBlockCoverage":false},{"functionName":"get httpVersionMajor","ranges":[{"startOffset":9454,"endOffset":9496,"count":0}],"isBlockCoverage":false},{"functionName":"get httpVersionMinor","ranges":[{"startOffset":9500,"endOffset":9542,"count":0}],"isBlockCoverage":false},{"functionName":"get httpVersion","ranges":[{"startOffset":9546,"endOffset":9587,"count":0}],"isBlockCoverage":false},{"functionName":"get socket","ranges":[{"startOffset":9591,"endOffset":9818,"count":0}],"isBlockCoverage":false},{"functionName":"get connection","ranges":[{"startOffset":9822,"endOffset":9868,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":9872,"endOffset":10121,"count":0}],"isBlockCoverage":false},{"functionName":"get method","ranges":[{"startOffset":10125,"endOffset":10191,"count":0}],"isBlockCoverage":false},{"functionName":"set method","ranges":[{"startOffset":10195,"endOffset":10409,"count":0}],"isBlockCoverage":false},{"functionName":"get authority","ranges":[{"startOffset":10413,"endOffset":10475,"count":0}],"isBlockCoverage":false},{"functionName":"get scheme","ranges":[{"startOffset":10479,"endOffset":10545,"count":0}],"isBlockCoverage":false},{"functionName":"get url","ranges":[{"startOffset":10549,"endOffset":10610,"count":0}],"isBlockCoverage":false},{"functionName":"set url","ranges":[{"startOffset":10614,"endOffset":10677,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":10681,"endOffset":10810,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamTrailersReady","ranges":[{"startOffset":10814,"endOffset":10899,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamCloseResponse","ranges":[{"startOffset":10901,"endOffset":11287,"count":0}],"isBlockCoverage":false},{"functionName":"Http2ServerResponse","ranges":[{"startOffset":11334,"endOffset":12044,"count":0}],"isBlockCoverage":false},{"functionName":"get _header","ranges":[{"startOffset":12241,"endOffset":12289,"count":0}],"isBlockCoverage":false},{"functionName":"get writableEnded","ranges":[{"startOffset":12293,"endOffset":12375,"count":0}],"isBlockCoverage":false},{"functionName":"get finished","ranges":[{"startOffset":12379,"endOffset":12456,"count":0}],"isBlockCoverage":false},{"functionName":"get socket","ranges":[{"startOffset":12460,"endOffset":12865,"count":0}],"isBlockCoverage":false},{"functionName":"get connection","ranges":[{"startOffset":12869,"endOffset":12915,"count":0}],"isBlockCoverage":false},{"functionName":"get stream","ranges":[{"startOffset":12919,"endOffset":12963,"count":0}],"isBlockCoverage":false},{"functionName":"get headersSent","ranges":[{"startOffset":12967,"endOffset":13028,"count":0}],"isBlockCoverage":false},{"functionName":"get sendDate","ranges":[{"startOffset":13032,"endOffset":13086,"count":0}],"isBlockCoverage":false},{"functionName":"set sendDate","ranges":[{"startOffset":13090,"endOffset":13157,"count":0}],"isBlockCoverage":false},{"functionName":"get statusCode","ranges":[{"startOffset":13161,"endOffset":13219,"count":0}],"isBlockCoverage":false},{"functionName":"get writableCorked","ranges":[{"startOffset":13223,"endOffset":13290,"count":0}],"isBlockCoverage":false},{"functionName":"get writableHighWaterMark","ranges":[{"startOffset":13294,"endOffset":13375,"count":0}],"isBlockCoverage":false},{"functionName":"get writableFinished","ranges":[{"startOffset":13379,"endOffset":13450,"count":0}],"isBlockCoverage":false},{"functionName":"get writableLength","ranges":[{"startOffset":13454,"endOffset":13521,"count":0}],"isBlockCoverage":false},{"functionName":"set statusCode","ranges":[{"startOffset":13525,"endOffset":13772,"count":0}],"isBlockCoverage":false},{"functionName":"setTrailer","ranges":[{"startOffset":13776,"endOffset":13976,"count":0}],"isBlockCoverage":false},{"functionName":"addTrailers","ranges":[{"startOffset":13980,"endOffset":14175,"count":0}],"isBlockCoverage":false},{"functionName":"getHeader","ranges":[{"startOffset":14179,"endOffset":14333,"count":0}],"isBlockCoverage":false},{"functionName":"getHeaderNames","ranges":[{"startOffset":14337,"endOffset":14398,"count":0}],"isBlockCoverage":false},{"functionName":"getHeaders","ranges":[{"startOffset":14402,"endOffset":14511,"count":0}],"isBlockCoverage":false},{"functionName":"hasHeader","ranges":[{"startOffset":14515,"endOffset":14700,"count":0}],"isBlockCoverage":false},{"functionName":"removeHeader","ranges":[{"startOffset":14704,"endOffset":15026,"count":0}],"isBlockCoverage":false},{"functionName":"setHeader","ranges":[{"startOffset":15030,"endOffset":15205,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":15209,"endOffset":15619,"count":0}],"isBlockCoverage":false},{"functionName":"get statusMessage","ranges":[{"startOffset":15623,"endOffset":15689,"count":0}],"isBlockCoverage":false},{"functionName":"set statusMessage","ranges":[{"startOffset":15693,"endOffset":15746,"count":0}],"isBlockCoverage":false},{"functionName":"flushHeaders","ranges":[{"startOffset":15750,"endOffset":15895,"count":0}],"isBlockCoverage":false},{"functionName":"writeHead","ranges":[{"startOffset":15899,"endOffset":17103,"count":0}],"isBlockCoverage":false},{"functionName":"cork","ranges":[{"startOffset":17107,"endOffset":17145,"count":0}],"isBlockCoverage":false},{"functionName":"uncork","ranges":[{"startOffset":17149,"endOffset":17191,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":17195,"endOffset":17861,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":17865,"endOffset":18872,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":18876,"endOffset":19008,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":19012,"endOffset":19135,"count":0}],"isBlockCoverage":false},{"functionName":"createPushResponse","ranges":[{"startOffset":19139,"endOffset":19549,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19553,"endOffset":19860,"count":0}],"isBlockCoverage":false},{"functionName":"writeContinue","ranges":[{"startOffset":19900,"endOffset":20133,"count":0}],"isBlockCoverage":false},{"functionName":"writeEarlyHints","ranges":[{"startOffset":20137,"endOffset":20765,"count":0}],"isBlockCoverage":false},{"functionName":"onServerStream","ranges":[{"startOffset":20769,"endOffset":21912,"count":0}],"isBlockCoverage":false}]},{"scriptId":"861","url":"node:internal/http2/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":22303,"count":1}],"isBlockCoverage":false},{"functionName":"updateOptionsBuffer","ranges":[{"startOffset":6930,"endOffset":9174,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultSettings","ranges":[{"startOffset":9176,"endOffset":10810,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":10923,"endOffset":11638,"count":0}],"isBlockCoverage":false},{"functionName":"updateSettingsBuffer","ranges":[{"startOffset":11640,"endOffset":13537,"count":0}],"isBlockCoverage":false},{"functionName":"getSessionState","ranges":[{"startOffset":13539,"endOffset":14399,"count":0}],"isBlockCoverage":false},{"functionName":"getStreamState","ranges":[{"startOffset":14401,"endOffset":14837,"count":0}],"isBlockCoverage":false},{"functionName":"isIllegalConnectionSpecificHeader","ranges":[{"startOffset":14839,"endOffset":15251,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":15301,"endOffset":15407,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":15467,"endOffset":15561,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":15620,"endOffset":15681,"count":0}],"isBlockCoverage":false},{"functionName":"mapToHeaders","ranges":[{"startOffset":15843,"endOffset":17914,"count":0}],"isBlockCoverage":false},{"functionName":"NghttpError","ranges":[{"startOffset":17952,"endOffset":18411,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":18415,"endOffset":18490,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18533,"endOffset":18753,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18802,"endOffset":19045,"count":0}],"isBlockCoverage":false},{"functionName":"toHeaderObject","ranges":[{"startOffset":19051,"endOffset":21120,"count":0}],"isBlockCoverage":false},{"functionName":"isPayloadMeaningless","ranges":[{"startOffset":21122,"endOffset":21203,"count":0}],"isBlockCoverage":false},{"functionName":"sessionName","ranges":[{"startOffset":21205,"endOffset":21408,"count":0}],"isBlockCoverage":false},{"functionName":"getAuthority","ranges":[{"startOffset":21410,"endOffset":21859,"count":0}],"isBlockCoverage":false}]},{"scriptId":"862","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/fake-xhr/blob.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":149,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":38,"endOffset":144,"count":1},{"startOffset":103,"endOffset":142,"count":0}],"isBlockCoverage":true}]},{"scriptId":"863","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/fake-server/log.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":389,"count":1}],"isBlockCoverage":true},{"functionName":"log","ranges":[{"startOffset":54,"endOffset":365,"count":0}],"isBlockCoverage":false}]},{"scriptId":"864","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-to-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10854,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":1141,"endOffset":2679,"count":0}],"isBlockCoverage":false},{"functionName":"compile","ranges":[{"startOffset":2866,"endOffset":2957,"count":0}],"isBlockCoverage":false},{"functionName":"encodeURIComponentPretty","ranges":[{"startOffset":3053,"endOffset":3219,"count":0}],"isBlockCoverage":false},{"functionName":"encodeAsterisk","ranges":[{"startOffset":3347,"endOffset":3501,"count":0}],"isBlockCoverage":false},{"functionName":"tokensToFunction","ranges":[{"startOffset":3578,"endOffset":5763,"count":0}],"isBlockCoverage":false},{"functionName":"escapeString","ranges":[{"startOffset":5859,"endOffset":5949,"count":0}],"isBlockCoverage":false},{"functionName":"escapeGroup","ranges":[{"startOffset":6082,"endOffset":6162,"count":0}],"isBlockCoverage":false},{"functionName":"attachKeys","ranges":[{"startOffset":6294,"endOffset":6357,"count":0}],"isBlockCoverage":false},{"functionName":"flags","ranges":[{"startOffset":6466,"endOffset":6543,"count":0}],"isBlockCoverage":false},{"functionName":"regexpToRegexp","ranges":[{"startOffset":6661,"endOffset":7125,"count":0}],"isBlockCoverage":false},{"functionName":"arrayToRegexp","ranges":[{"startOffset":7277,"endOffset":7558,"count":0}],"isBlockCoverage":false},{"functionName":"stringToRegexp","ranges":[{"startOffset":7716,"endOffset":7826,"count":0}],"isBlockCoverage":false},{"functionName":"tokensToRegExp","ranges":[{"startOffset":8030,"endOffset":9914,"count":0}],"isBlockCoverage":false},{"functionName":"pathToRegexp","ranges":[{"startOffset":10367,"endOffset":10853,"count":0}],"isBlockCoverage":false}]},{"scriptId":"865","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isarray/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1},{"startOffset":31,"endOffset":118,"count":0}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":34,"endOffset":118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"866","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/fake-server/fake-server-with-clock.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1933,"count":1}],"isBlockCoverage":true},{"functionName":"Server","ranges":[{"startOffset":149,"endOffset":169,"count":1}],"isBlockCoverage":true},{"functionName":"addRequest","ranges":[{"startOffset":276,"endOffset":1353,"count":0}],"isBlockCoverage":false},{"functionName":"respond","ranges":[{"startOffset":1386,"endOffset":1722,"count":0}],"isBlockCoverage":false},{"functionName":"restore","ranges":[{"startOffset":1755,"endOffset":1892,"count":0}],"isBlockCoverage":false}]},{"scriptId":"867","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/src/fake-timers-src.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":58789,"count":1}],"isBlockCoverage":true},{"functionName":"withGlobal","ranges":[{"startOffset":4764,"endOffset":58308,"count":1},{"startOffset":4835,"endOffset":4865,"count":0},{"startOffset":4903,"endOffset":4937,"count":0},{"startOffset":6358,"endOffset":6420,"count":0},{"startOffset":6499,"endOffset":6560,"count":0},{"startOffset":6637,"endOffset":6697,"count":0},{"startOffset":6772,"endOffset":6831,"count":0},{"startOffset":7124,"endOffset":7376,"count":0},{"startOffset":32044,"endOffset":32121,"count":0},{"startOffset":32238,"endOffset":32313,"count":0},{"startOffset":32351,"endOffset":32424,"count":0},{"startOffset":32461,"endOffset":32532,"count":0},{"startOffset":32586,"endOffset":32607,"count":0}],"isBlockCoverage":true},{"functionName":"NOOP","ranges":[{"startOffset":5170,"endOffset":5215,"count":0}],"isBlockCoverage":false},{"functionName":"NOOP_ARRAY","ranges":[{"startOffset":5240,"endOffset":5278,"count":0}],"isBlockCoverage":false},{"functionName":"isNumberFinite","ranges":[{"startOffset":7870,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsNearInfiniteLimit","ranges":[{"startOffset":8132,"endOffset":8293,"count":0}],"isBlockCoverage":false},{"functionName":"resetIsNearInfiniteLimit","ranges":[{"startOffset":8322,"endOffset":8402,"count":0}],"isBlockCoverage":false},{"functionName":"parseTime","ranges":[{"startOffset":8673,"endOffset":9362,"count":0}],"isBlockCoverage":false},{"functionName":"nanoRemainder","ranges":[{"startOffset":9654,"endOffset":9914,"count":0}],"isBlockCoverage":false},{"functionName":"getEpoch","ranges":[{"startOffset":10074,"endOffset":10410,"count":0}],"isBlockCoverage":false},{"functionName":"inRange","ranges":[{"startOffset":10540,"endOffset":10649,"count":0}],"isBlockCoverage":false},{"functionName":"getInfiniteLoopError","ranges":[{"startOffset":10725,"endOffset":13014,"count":0}],"isBlockCoverage":false},{"functionName":"mirrorDateProperties","ranges":[{"startOffset":13146,"endOffset":14224,"count":0}],"isBlockCoverage":false},{"functionName":"createDate","ranges":[{"startOffset":14281,"endOffset":16393,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueJob","ranges":[{"startOffset":16450,"endOffset":16657,"count":0}],"isBlockCoverage":false},{"functionName":"runJobs","ranges":[{"startOffset":16714,"endOffset":17255,"count":0}],"isBlockCoverage":false},{"functionName":"addTimer","ranges":[{"startOffset":17382,"endOffset":20229,"count":0}],"isBlockCoverage":false},{"functionName":"compareTimers","ranges":[{"startOffset":20397,"endOffset":21301,"count":0}],"isBlockCoverage":false},{"functionName":"firstTimerInRange","ranges":[{"startOffset":21429,"endOffset":21955,"count":0}],"isBlockCoverage":false},{"functionName":"firstTimer","ranges":[{"startOffset":22029,"endOffset":22394,"count":0}],"isBlockCoverage":false},{"functionName":"lastTimer","ranges":[{"startOffset":22468,"endOffset":22833,"count":0}],"isBlockCoverage":false},{"functionName":"callTimer","ranges":[{"startOffset":22911,"endOffset":23408,"count":0}],"isBlockCoverage":false},{"functionName":"getClearHandler","ranges":[{"startOffset":23520,"endOffset":23708,"count":0}],"isBlockCoverage":false},{"functionName":"getScheduleHandler","ranges":[{"startOffset":23823,"endOffset":24013,"count":0}],"isBlockCoverage":false},{"functionName":"createWarnOnce","ranges":[{"startOffset":24090,"endOffset":24272,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":24156,"endOffset":24265,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimer","ranges":[{"startOffset":24421,"endOffset":26322,"count":0}],"isBlockCoverage":false},{"functionName":"uninstall","ranges":[{"startOffset":26428,"endOffset":28564,"count":0}],"isBlockCoverage":false},{"functionName":"hijackMethod","ranges":[{"startOffset":28758,"endOffset":30371,"count":0}],"isBlockCoverage":false},{"functionName":"doIntervalTick","ranges":[{"startOffset":30461,"endOffset":30555,"count":0}],"isBlockCoverage":false},{"functionName":"createClock","ranges":[{"startOffset":32838,"endOffset":53871,"count":0}],"isBlockCoverage":false},{"functionName":"install","ranges":[{"startOffset":54003,"endOffset":58133,"count":0}],"isBlockCoverage":false}]},{"scriptId":"868","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":457,"count":1}],"isBlockCoverage":true}]},{"scriptId":"869","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":386,"count":1},{"startOffset":216,"endOffset":353,"count":0}],"isBlockCoverage":true}]},{"scriptId":"870","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/called-in-order.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1445,"count":1}],"isBlockCoverage":true},{"functionName":"hasCallsLeft","ranges":[{"startOffset":85,"endOffset":245,"count":0}],"isBlockCoverage":false},{"functionName":"checkAdjacentCalls","ranges":[{"startOffset":267,"endOffset":602,"count":0}],"isBlockCoverage":false},{"functionName":"calledInOrder","ranges":[{"startOffset":1177,"endOffset":1411,"count":0}],"isBlockCoverage":false}]},{"scriptId":"871","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true}]},{"scriptId":"872","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype-methods.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1010,"count":1},{"startOffset":423,"endOffset":470,"count":0}],"isBlockCoverage":true},{"functionName":"copyPrototypeMethods","ranges":[{"startOffset":489,"endOffset":1008,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":671,"endOffset":979,"count":134},{"startOffset":768,"endOffset":806,"count":4},{"startOffset":806,"endOffset":859,"count":130},{"startOffset":859,"endOffset":897,"count":5},{"startOffset":897,"endOffset":978,"count":125}],"isBlockCoverage":true}]},{"scriptId":"873","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/throws-on-proto.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":749,"count":1},{"startOffset":488,"endOffset":715,"count":0}],"isBlockCoverage":true}]},{"scriptId":"874","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/class-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":921,"count":1}],"isBlockCoverage":true},{"functionName":"className","ranges":[{"startOffset":221,"endOffset":891,"count":0}],"isBlockCoverage":false}]},{"scriptId":"875","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/function-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":818,"count":1}],"isBlockCoverage":true},{"functionName":"functionName","ranges":[{"startOffset":132,"endOffset":816,"count":0}],"isBlockCoverage":false}]},{"scriptId":"876","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/deprecated.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1363,"count":1}],"isBlockCoverage":true},{"functionName":"exports.wrap","ranges":[{"startOffset":282,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"exports.defaultMsg","ranges":[{"startOffset":774,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"exports.printWarning","ranges":[{"startOffset":1080,"endOffset":1361,"count":0}],"isBlockCoverage":false}]},{"scriptId":"877","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/every.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":666,"count":1}],"isBlockCoverage":true},{"functionName":"every","ranges":[{"startOffset":241,"endOffset":664,"count":0}],"isBlockCoverage":false}]},{"scriptId":"878","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/order-by-first-call.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":817,"count":1}],"isBlockCoverage":true},{"functionName":"comparator","ranges":[{"startOffset":132,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"orderByFirstCall","ranges":[{"startOffset":701,"endOffset":780,"count":0}],"isBlockCoverage":false}]},{"scriptId":"879","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":225,"count":1}],"isBlockCoverage":true}]},{"scriptId":"880","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":125,"count":1}],"isBlockCoverage":true}]},{"scriptId":"881","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"882","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"883","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"884","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"885","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/type-of.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":266,"count":1}],"isBlockCoverage":true},{"functionName":"typeOf","ranges":[{"startOffset":200,"endOffset":264,"count":0}],"isBlockCoverage":false}]},{"scriptId":"886","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/value-to-string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"valueToString","ranges":[{"startOffset":116,"endOffset":336,"count":0}],"isBlockCoverage":false}]},{"scriptId":"887","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2572,"count":1}],"isBlockCoverage":true},{"functionName":"getFakeExecutor","ranges":[{"startOffset":538,"endOffset":717,"count":0}],"isBlockCoverage":false},{"functionName":"promise","ranges":[{"startOffset":1018,"endOffset":2544,"count":0}],"isBlockCoverage":false}]},{"scriptId":"888","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/is-restorable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":206,"count":1}],"isBlockCoverage":true},{"functionName":"isRestorable","ranges":[{"startOffset":15,"endOffset":173,"count":0}],"isBlockCoverage":false}]},{"scriptId":"889","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/restore-object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":369,"count":1}],"isBlockCoverage":true},{"functionName":"filter","ranges":[{"startOffset":71,"endOffset":179,"count":0}],"isBlockCoverage":false},{"functionName":"restore","ranges":[{"startOffset":181,"endOffset":251,"count":0}],"isBlockCoverage":false},{"functionName":"restoreObject","ranges":[{"startOffset":253,"endOffset":335,"count":0}],"isBlockCoverage":false}]},{"scriptId":"890","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/default-config.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":369,"count":1}],"isBlockCoverage":true}]},{"scriptId":"891","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/capabilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1735,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":244,"endOffset":1645,"count":2}],"isBlockCoverage":true},{"functionName":"getLines","ranges":[{"startOffset":381,"endOffset":598,"count":2},{"startOffset":586,"endOffset":591,"count":0}],"isBlockCoverage":true},{"functionName":"codecs","ranges":[{"startOffset":603,"endOffset":871,"count":2},{"startOffset":736,"endOffset":836,"count":1}],"isBlockCoverage":true},{"functionName":"formats","ranges":[{"startOffset":876,"endOffset":1061,"count":2},{"startOffset":922,"endOffset":1025,"count":1}],"isBlockCoverage":true},{"functionName":"filters","ranges":[{"startOffset":1066,"endOffset":1251,"count":0}],"isBlockCoverage":false},{"functionName":"encoders","ranges":[{"startOffset":1256,"endOffset":1447,"count":0}],"isBlockCoverage":false},{"functionName":"decoders","ranges":[{"startOffset":1452,"endOffset":1643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"892","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/process.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4862,"count":1}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":70,"endOffset":151,"count":1},{"startOffset":128,"endOffset":148,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":473,"endOffset":4787,"count":0}],"isBlockCoverage":true}]},{"scriptId":"893","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/platform.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":219,"count":1}],"isBlockCoverage":true}]},{"scriptId":"894","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/parsing.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7594,"count":1}],"isBlockCoverage":true},{"functionName":"extractErrorMessage","ranges":[{"startOffset":461,"endOffset":881,"count":0}],"isBlockCoverage":false},{"functionName":"extractProgress","ranges":[{"startOffset":1075,"endOffset":1940,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1984,"endOffset":3697,"count":0}],"isBlockCoverage":true},{"functionName":"parseCodecType","ranges":[{"startOffset":3747,"endOffset":3991,"count":5},{"startOffset":3809,"endOffset":3824,"count":1},{"startOffset":3824,"endOffset":3855,"count":4},{"startOffset":3855,"endOffset":3870,"count":1},{"startOffset":3870,"endOffset":3901,"count":3},{"startOffset":3901,"endOffset":3919,"count":1},{"startOffset":3919,"endOffset":3950,"count":2},{"startOffset":3950,"endOffset":3990,"count":1}],"isBlockCoverage":true},{"functionName":"extractCodecs","ranges":[{"startOffset":3992,"endOffset":5460,"count":1},{"startOffset":4073,"endOffset":5439,"count":7},{"startOffset":4151,"endOffset":5433,"count":5},{"startOffset":4602,"endOffset":4979,"count":3},{"startOffset":4717,"endOffset":4965,"count":1},{"startOffset":5012,"endOffset":5389,"count":3},{"startOffset":5127,"endOffset":5375,"count":1}],"isBlockCoverage":true},{"functionName":"extractFormats","ranges":[{"startOffset":5500,"endOffset":5911,"count":1},{"startOffset":5583,"endOffset":5889,"count":5},{"startOffset":5662,"endOffset":5883,"count":3}],"isBlockCoverage":true},{"functionName":"parseFilterStreams","ranges":[{"startOffset":5953,"endOffset":6199,"count":0}],"isBlockCoverage":false},{"functionName":"extractFilters","ranges":[{"startOffset":6200,"endOffset":6670,"count":0}],"isBlockCoverage":false},{"functionName":"parseEncoderType","ranges":[{"startOffset":6712,"endOffset":6862,"count":0}],"isBlockCoverage":false},{"functionName":"extractEncoders","ranges":[{"startOffset":6863,"endOffset":7515,"count":0}],"isBlockCoverage":false}]},{"scriptId":"895","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1322,"count":1}],"isBlockCoverage":true}]},{"scriptId":"896","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/line-buffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1846,"count":1}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":70,"endOffset":151,"count":1},{"startOffset":122,"endOffset":127,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":317,"endOffset":1776,"count":0}],"isBlockCoverage":true}]},{"scriptId":"897","url":"node:internal/util/iterable_weak_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1959,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":373,"endOffset":1819,"count":1}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":521,"endOffset":1033,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1037,"endOffset":1093,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":1097,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":1150,"endOffset":1388,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1392,"endOffset":1817,"count":1}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":1484,"endOffset":1736,"count":1},{"startOffset":1567,"endOffset":1735,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1758,"endOffset":1793,"count":0}],"isBlockCoverage":false},{"functionName":"cleanup","ranges":[{"startOffset":1821,"endOffset":1874,"count":0}],"isBlockCoverage":false}]}],"timestamp":85118.520813,"source-map-cache":{"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js":{"lineLengths":[13,7,62,74,65,63,53,60,45,115,43,34,51,41,47,46,41,38,37,55,26,64,27,15,15,25,20,6,17,22,17,6,14,23,19,35,40,9,52,24,28,30,32,11,5,16,36,5,28,40,35,29,23,19,9,28,43,28,9,14,30,9,5,28,31,25,9,32,24,46,51,9,28,62,9,19,5,1,22,1,37,12,26,44,10,16,34,10,18,36,10,6,2,49,14,25,5,14,16,1,41,52,40,25,65,24,29,13,25,31,23,20,26,16,32,43,32,49,45,70,71,69,35,63,46,83,84,82,82,81,27,37,34,68,74,61,17,36,49,34,70,41,68,29,53,40,17,14,9,61,49,5,22,29,40,29,9,28,37,24,9,59,33,22,49,63,68,30,13,10,5,12,27,19,9,28,65,68,68,35,33,49,17,51,23,46,13,25,9,44,47,10,46,49,10,5,14,28,19,9,29,45,53,33,28,75,13,32,17,60,37,13,25,32,11,55,67,33,5,30,29,40,21,9,43,28,65,91,5,31,45,56,46,49,37,13,33,60,33,69,32,23,9,14,55,9,5,1,35,65,25,94,3,67,39,2,68,29,2,61,3,28,3,66,66,45,2,12,3,24,3,68,66,45,2,12,3,27,33],"data":{"version":3,"file":"index.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/index.ts"],"names":[],"mappings":";;;;AAAA,iEAAiE;AACjE,+DAA+D;AAC/D,qDAAqD;AACrD,4DAA4D;AAC5D,6CAAsC;AAC7B,wFADA,oBAAO,OACA;AAQhB,MAAM,SAAS,GAAG,CAAC,OAAY,EAAwB,EAAE,CACvD,CAAC,CAAC,OAAO;IACT,OAAO,OAAO,KAAK,QAAQ;IAC3B,OAAO,OAAO,CAAC,cAAc,KAAK,UAAU;IAC5C,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,UAAU,KAAK,UAAU;IACxC,OAAO,OAAO,CAAC,SAAS,KAAK,UAAU;IACvC,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,GAAG,KAAK,QAAQ;IAC/B,OAAO,OAAO,CAAC,EAAE,KAAK,UAAU,CAAA;AAElC,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;AACtD,MAAM,MAAM,GAAqD,UAAU,CAAA;AAC3E,MAAM,oBAAoB,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;AAwB/D,2BAA2B;AAC3B,MAAM,OAAO;IACX,OAAO,GAAY;QACjB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,KAAK;KACZ,CAAA;IAED,SAAS,GAAc;QACrB,SAAS,EAAE,EAAE;QACb,IAAI,EAAE,EAAE;KACT,CAAA;IAED,KAAK,GAAW,CAAC,CAAA;IACjB,EAAE,GAAW,IAAI,CAAC,MAAM,EAAE,CAAA;IAE1B;QACE,IAAI,MAAM,CAAC,YAAY,CAAC,EAAE;YACxB,OAAO,MAAM,CAAC,YAAY,CAAC,CAAA;SAC5B;QACD,oBAAoB,CAAC,MAAM,EAAE,YAAY,EAAE;YACzC,KAAK,EAAE,IAAI;YACX,QAAQ,EAAE,KAAK;YACf,UAAU,EAAE,KAAK;YACjB,YAAY,EAAE,KAAK;SACpB,CAAC,CAAA;IACJ,CAAC;IAED,EAAE,CAAC,EAAa,EAAE,EAAW;QAC3B,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC7B,CAAC;IAED,cAAc,CAAC,EAAa,EAAE,EAAW;QACvC,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;QAC/B,MAAM,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;QAC1B,qBAAqB;QACrB,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE;YACZ,OAAM;SACP;QACD,oBAAoB;QACpB,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;YAChC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAA;SAChB;aAAM;YACL,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;SAClB;IACH,CAAC;IAED,IAAI,CACF,EAAa,EACb,IAA+B,EAC/B,MAA6B;QAE7B,IAAI,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;YACpB,OAAO,KAAK,CAAA;SACb;QACD,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,IAAI,CAAA;QACvB,IAAI,GAAG,GAAY,KAAK,CAAA;QACxB,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE;YACnC,GAAG,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,IAAI,IAAI,GAAG,CAAA;SACvC;QACD,IAAI,EAAE,KAAK,MAAM,EAAE;YACjB,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,GAAG,CAAA;SAClD;QACD,OAAO,GAAG,CAAA;IACZ,CAAC;CACF;AAED,MAAe,cAAc;CAI5B;AAED,MAAM,cAAc,GAAG,CAA2B,OAAU,EAAE,EAAE;IAC9D,OAAO;QACL,MAAM,CAAC,EAAW,EAAE,IAA+B;YACjD,OAAO,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;QACjC,CAAC;QACD,IAAI;YACF,OAAO,OAAO,CAAC,IAAI,EAAE,CAAA;QACvB,CAAC;QACD,MAAM;YACJ,OAAO,OAAO,CAAC,MAAM,EAAE,CAAA;QACzB,CAAC;KACF,CAAA;AACH,CAAC,CAAA;AAED,MAAM,kBAAmB,SAAQ,cAAc;IAC7C,MAAM;QACJ,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;IACjB,CAAC;IACD,IAAI,KAAI,CAAC;IACT,MAAM,KAAI,CAAC;CACZ;AAED,MAAM,UAAW,SAAQ,cAAc;IACrC,gDAAgD;IAChD,oCAAoC;IACpC,qBAAqB;IACrB,OAAO,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC5D,oBAAoB;IACpB,QAAQ,GAAG,IAAI,OAAO,EAAE,CAAA;IACxB,QAAQ,CAAW;IACnB,oBAAoB,CAAmB;IACvC,0BAA0B,CAAyB;IAEnD,aAAa,GAA2C,EAAE,CAAA;IAC1D,OAAO,GAAY,KAAK,CAAA;IAExB,YAAY,OAAkB;QAC5B,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAA;QACvB,mCAAmC;QACnC,IAAI,CAAC,aAAa,GAAG,EAAE,CAAA;QACvB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,GAAG,EAAE;gBAC7B,sDAAsD;gBACtD,uDAAuD;gBACvD,qDAAqD;gBACrD,mBAAmB;gBACnB,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;gBAC9C,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAA;gBAC7B,mEAAmE;gBACnE,oEAAoE;gBACpE,kEAAkE;gBAClE,kEAAkE;gBAClE,iEAAiE;gBACjE,WAAW;gBACX,qBAAqB;gBACrB,MAAM,CAAC,GAAG,OAET,CAAA;gBACD,IACE,OAAO,CAAC,CAAC,uBAAuB,KAAK,QAAQ;oBAC7C,OAAO,CAAC,CAAC,uBAAuB,CAAC,KAAK,KAAK,QAAQ,EACnD;oBACA,KAAK,IAAI,CAAC,CAAC,uBAAuB,CAAC,KAAK,CAAA;iBACzC;gBACD,oBAAoB;gBACpB,IAAI,SAAS,CAAC,MAAM,KAAK,KAAK,EAAE;oBAC9B,IAAI,CAAC,MAAM,EAAE,CAAA;oBACb,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,CAAA;oBACjD,qBAAqB;oBACrB,MAAM,CAAC,GAAG,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAA;oBAC/C,IAAI,CAAC,GAAG;wBAAE,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;oBACtC,oBAAoB;iBACrB;YACH,CAAC,CAAA;SACF;QAED,IAAI,CAAC,0BAA0B,GAAG,OAAO,CAAC,UAAU,CAAA;QACpD,IAAI,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAA;IAC1C,CAAC;IAED,MAAM,CAAC,EAAW,EAAE,IAA+B;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;SAChB;QACD,oBAAoB;QAEpB,IAAI,IAAI,CAAC,OAAO,KAAK,KAAK,EAAE;YAC1B,IAAI,CAAC,IAAI,EAAE,CAAA;SACZ;QAED,MAAM,EAAE,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAA;QAClD,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;QACxB,OAAO,GAAG,EAAE;YACV,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;YACpC,IACE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC;gBAC5C,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,MAAM,KAAK,CAAC,EACjD;gBACA,IAAI,CAAC,MAAM,EAAE,CAAA;aACd;QACH,CAAC,CAAA;IACH,CAAC;IAED,IAAI;QACF,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;QAEnB,yDAAyD;QACzD,4DAA4D;QAC5D,4DAA4D;QAC5D,2BAA2B;QAC3B,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;QAExB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI;gBACF,MAAM,EAAE,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;gBAClC,IAAI,EAAE;oBAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;aAClC;YAAC,OAAO,CAAC,EAAE,GAAE;SACf;QAED,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,EAAU,EAAE,GAAG,CAAQ,EAAE,EAAE;YAC/C,OAAO,IAAI,CAAC,YAAY,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,CAAA;QACpC,CAAC,CAAA;QACD,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,CAAC,IAAgC,EAAE,EAAE;YAC9D,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAA;QACtC,CAAC,CAAA;IACH,CAAC;IAED,MAAM;QACJ,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACjB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QAEpB,oBAAO,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACpB,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;YACxC,qBAAqB;YACrB,IAAI,CAAC,QAAQ,EAAE;gBACb,MAAM,IAAI,KAAK,CAAC,mCAAmC,GAAG,GAAG,CAAC,CAAA;aAC3D;YACD,oBAAoB;YACpB,IAAI;gBACF,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;gBAC3C,qBAAqB;aACtB;YAAC,OAAO,CAAC,EAAE,GAAE;YACd,oBAAoB;QACtB,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC,oBAAoB,CAAA;QAC9C,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,IAAI,CAAC,0BAA0B,CAAA;QAC1D,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;IAC1B,CAAC;IAED,kBAAkB,CAAC,IAAgC;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,CAAC,CAAA;SACT;QACD,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,IAAI,CAAC,CAAA;QAClC,oBAAoB;QAEpB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;QACxD,OAAO,IAAI,CAAC,0BAA0B,CAAC,IAAI,CACzC,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,QAAQ,CAAC,QAAQ,CACvB,CAAA;IACH,CAAC;IAED,YAAY,CAAC,EAAU,EAAE,GAAG,IAAW;QACrC,MAAM,EAAE,GAAG,IAAI,CAAC,oBAAoB,CAAA;QACpC,IAAI,EAAE,KAAK,MAAM,IAAI,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7C,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE;gBAC/B,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;gBAChC,qBAAqB;aACtB;YACD,qBAAqB;YACrB,MAAM,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;YAC/C,qBAAqB;YACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;YACxD,oBAAoB;YACpB,OAAO,GAAG,CAAA;SACX;aAAM;YACL,OAAO,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;SAC3C;IACH,CAAC;CACF;AAED,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAA;AAClC,iEAAiE;AACjE,yBAAyB;AACZ,KA6BT,cAAc,CAChB,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,kBAAkB,EAAE,CACxE;AA9BC;;;;;;;;GAQG;AACH,cAAM;AAEN;;;;;;GAMG;AACH,YAAI;AAEJ;;;;;;GAMG;AACH,cAAM,aAGP","sourcesContent":["// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nimport { signals } from './signals.js'\nexport { signals }\n\n// just a loosened process type so we can do some evil things\ntype ProcessRE = NodeJS.Process & {\n reallyExit: (code?: number | undefined | null) => any\n emit: (ev: string, ...a: any[]) => any\n}\n\nconst processOk = (process: any): process is ProcessRE =>\n !!process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n\nconst kExitEmitter = Symbol.for('signal-exit emitter')\nconst global: typeof globalThis & { [kExitEmitter]?: Emitter } = globalThis\nconst ObjectDefineProperty = Object.defineProperty.bind(Object)\n\n/**\n * A function that takes an exit code and signal as arguments\n *\n * In the case of signal exits *only*, a return value of true\n * will indicate that the signal is being handled, and we should\n * not synthetically exit with the signal we received. Regardless\n * of the handler return value, the handler is unloaded when an\n * otherwise fatal signal is received, so you get exactly 1 shot\n * at it, unless you add another onExit handler at that point.\n *\n * In the case of numeric code exits, we may already have committed\n * to exiting the process, for example via a fatal exception or\n * unhandled promise rejection, so it is impossible to stop safely.\n */\nexport type Handler = (\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n) => true | void\ntype ExitEvent = 'afterExit' | 'exit'\ntype Emitted = { [k in ExitEvent]: boolean }\ntype Listeners = { [k in ExitEvent]: Handler[] }\n\n// teeny special purpose ee\nclass Emitter {\n emitted: Emitted = {\n afterExit: false,\n exit: false,\n }\n\n listeners: Listeners = {\n afterExit: [],\n exit: [],\n }\n\n count: number = 0\n id: number = Math.random()\n\n constructor() {\n if (global[kExitEmitter]) {\n return global[kExitEmitter]\n }\n ObjectDefineProperty(global, kExitEmitter, {\n value: this,\n writable: false,\n enumerable: false,\n configurable: false,\n })\n }\n\n on(ev: ExitEvent, fn: Handler) {\n this.listeners[ev].push(fn)\n }\n\n removeListener(ev: ExitEvent, fn: Handler) {\n const list = this.listeners[ev]\n const i = list.indexOf(fn)\n /* c8 ignore start */\n if (i === -1) {\n return\n }\n /* c8 ignore stop */\n if (i === 0 && list.length === 1) {\n list.length = 0\n } else {\n list.splice(i, 1)\n }\n }\n\n emit(\n ev: ExitEvent,\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n ): boolean {\n if (this.emitted[ev]) {\n return false\n }\n this.emitted[ev] = true\n let ret: boolean = false\n for (const fn of this.listeners[ev]) {\n ret = fn(code, signal) === true || ret\n }\n if (ev === 'exit') {\n ret = this.emit('afterExit', code, signal) || ret\n }\n return ret\n }\n}\n\nabstract class SignalExitBase {\n abstract onExit(cb: Handler, opts?: { alwaysLast?: boolean }): () => void\n abstract load(): void\n abstract unload(): void\n}\n\nconst signalExitWrap = (handler: T) => {\n return {\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n return handler.onExit(cb, opts)\n },\n load() {\n return handler.load()\n },\n unload() {\n return handler.unload()\n },\n }\n}\n\nclass SignalExitFallback extends SignalExitBase {\n onExit() {\n return () => {}\n }\n load() {}\n unload() {}\n}\n\nclass SignalExit extends SignalExitBase {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n /* c8 ignore start */\n #hupSig = process.platform === 'win32' ? 'SIGINT' : 'SIGHUP'\n /* c8 ignore stop */\n #emitter = new Emitter()\n #process: ProcessRE\n #originalProcessEmit: ProcessRE['emit']\n #originalProcessReallyExit: ProcessRE['reallyExit']\n\n #sigListeners: { [k in NodeJS.Signals]?: () => void } = {}\n #loaded: boolean = false\n\n constructor(process: ProcessRE) {\n super()\n this.#process = process\n // { : , ... }\n this.#sigListeners = {}\n for (const sig of signals) {\n this.#sigListeners[sig] = () => {\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n const listeners = this.#process.listeners(sig)\n let { count } = this.#emitter\n // This is a workaround for the fact that signal-exit v3 and signal\n // exit v4 are not aware of each other, and each will attempt to let\n // the other handle it, so neither of them do. To correct this, we\n // detect if we're the only handler *except* for previous versions\n // of signal-exit, and increment by the count of listeners it has\n // created.\n /* c8 ignore start */\n const p = process as unknown as {\n __signal_exit_emitter__?: { count: number }\n }\n if (\n typeof p.__signal_exit_emitter__ === 'object' &&\n typeof p.__signal_exit_emitter__.count === 'number'\n ) {\n count += p.__signal_exit_emitter__.count\n }\n /* c8 ignore stop */\n if (listeners.length === count) {\n this.unload()\n const ret = this.#emitter.emit('exit', null, sig)\n /* c8 ignore start */\n const s = sig === 'SIGHUP' ? this.#hupSig : sig\n if (!ret) process.kill(process.pid, s)\n /* c8 ignore stop */\n }\n }\n }\n\n this.#originalProcessReallyExit = process.reallyExit\n this.#originalProcessEmit = process.emit\n }\n\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return () => {}\n }\n /* c8 ignore stop */\n\n if (this.#loaded === false) {\n this.load()\n }\n\n const ev = opts?.alwaysLast ? 'afterExit' : 'exit'\n this.#emitter.on(ev, cb)\n return () => {\n this.#emitter.removeListener(ev, cb)\n if (\n this.#emitter.listeners['exit'].length === 0 &&\n this.#emitter.listeners['afterExit'].length === 0\n ) {\n this.unload()\n }\n }\n }\n\n load() {\n if (this.#loaded) {\n return\n }\n this.#loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n this.#emitter.count += 1\n\n for (const sig of signals) {\n try {\n const fn = this.#sigListeners[sig]\n if (fn) this.#process.on(sig, fn)\n } catch (_) {}\n }\n\n this.#process.emit = (ev: string, ...a: any[]) => {\n return this.#processEmit(ev, ...a)\n }\n this.#process.reallyExit = (code?: number | null | undefined) => {\n return this.#processReallyExit(code)\n }\n }\n\n unload() {\n if (!this.#loaded) {\n return\n }\n this.#loaded = false\n\n signals.forEach(sig => {\n const listener = this.#sigListeners[sig]\n /* c8 ignore start */\n if (!listener) {\n throw new Error('Listener not defined for signal: ' + sig)\n }\n /* c8 ignore stop */\n try {\n this.#process.removeListener(sig, listener)\n /* c8 ignore start */\n } catch (_) {}\n /* c8 ignore stop */\n })\n this.#process.emit = this.#originalProcessEmit\n this.#process.reallyExit = this.#originalProcessReallyExit\n this.#emitter.count -= 1\n }\n\n #processReallyExit(code?: number | null | undefined) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return 0\n }\n this.#process.exitCode = code || 0\n /* c8 ignore stop */\n\n this.#emitter.emit('exit', this.#process.exitCode, null)\n return this.#originalProcessReallyExit.call(\n this.#process,\n this.#process.exitCode\n )\n }\n\n #processEmit(ev: string, ...args: any[]): any {\n const og = this.#originalProcessEmit\n if (ev === 'exit' && processOk(this.#process)) {\n if (typeof args[0] === 'number') {\n this.#process.exitCode = args[0]\n /* c8 ignore start */\n }\n /* c8 ignore start */\n const ret = og.call(this.#process, ev, ...args)\n /* c8 ignore start */\n this.#emitter.emit('exit', this.#process.exitCode, null)\n /* c8 ignore stop */\n return ret\n } else {\n return og.call(this.#process, ev, ...args)\n }\n }\n}\n\nconst process = globalThis.process\n// wrap so that we call the method on the actual handler, without\n// exporting it directly.\nexport const {\n /**\n * Called when the process is exiting, whether via signal, explicit\n * exit, or running out of stuff to do.\n *\n * If the global process object is not suitable for instrumentation,\n * then this will be a no-op.\n *\n * Returns a function that may be used to unload signal-exit.\n */\n onExit,\n\n /**\n * Load the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n load,\n\n /**\n * Unload the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n unload,\n} = signalExitWrap(\n processOk(process) ? new SignalExit(process) : new SignalExitFallback()\n)\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js":{"lineLengths":[13,62,25,3,47,2,54,54,53,55,28,2,55,54,52,2,54,49,2,56,52,55,36,2,54,50,54,13,3,21,52,35,133,61,14,16,6,1,35,68,1,35],"data":{"version":3,"file":"signals.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/signals.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACU,QAAA,OAAO,GAAqB,EAAE,CAAA;AAC3C,eAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAA;AAE3C,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CACV,SAAS,EACT,SAAS,EACT,WAAW,EACX,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,EACR,SAAS,EACT,QAAQ;IACR,yDAAyD;IACzD,UAAU;IACV,YAAY;KACb,CAAA;CACF;AAED,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAA;CACxD","sourcesContent":["/**\n * This is not the set of all possible signals.\n *\n * It IS, however, the set of all signals that trigger\n * an exit on either Linux or BSD systems. Linux is a\n * superset of the signal names supported on BSD, and\n * the unknown signals just fail to register, so we can\n * catch that easily enough.\n *\n * Windows signals are a different set, since there are\n * signals that terminate Windows processes, but don't\n * terminate (or don't even exist) on Posix systems.\n *\n * Don't bother with SIGKILL. It's uncatchable, which\n * means that we can't fire any callbacks anyway.\n *\n * If a user does happen to register a handler on a non-\n * fatal signal like SIGWINCH or something, and then\n * exit, it'll end up firing `process.emit('exit')`, so\n * the handler will be fired anyway.\n *\n * SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n * artificially, inherently leave the process in a\n * state from which it is not safe to try and enter JS\n * listeners.\n */\nexport const signals: NodeJS.Signals[] = []\nsignals.push('SIGHUP', 'SIGINT', 'SIGTERM')\n\nif (process.platform !== 'win32') {\n signals.push(\n 'SIGALRM',\n 'SIGABRT',\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n signals.push('SIGIO', 'SIGPOLL', 'SIGPWR', 'SIGSTKFLT')\n}\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/unit/capabilities-test.js":{"lineLengths":[13,97,33,53,88,68,5,39,29,33,17,4,96,72,21,21,3,66,42,20,141,36,18,2,72,62,2,62,46,50,57,65,79,31,30,3,66,31,21,20,25,40,48,60,66,62,63,46,28,14,9,7,55,37,89,20,17,28,28,39,29,27,24,25,10,17,29,28,51,30,28,24,25,10,17,28,29,57,30,27,25,28,10,17,29,28,37,33,30,28,25,24,10,17,28,37,29,34,30,28,25,30,9,6,34,33,34,63,3,67,31,21,20,25,40,46,47,46,46,28,14,9,7,55,38,45,27,27,8,20,18,40,25,26,10,18,41,25,27,10,18,40,26,26,9,6,34,34,34,63,3,45],"data":{"version":3,"file":"capabilities-test.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/tests/unit/capabilities-test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAsB;AACtB,kDAAyB;AAEzB,yDAA2D;AAC3D,iEAAkD;AAElD,MAAM,iBAAiB,GAAG,eAAK,CAAC,IAAI,CAAC,aAAa,EAAE,eAAe,CAAC,CAAA;AAEpE,aAAI,CAAC,SAAS,CAAC,GAAG,EAAE;IAClB,iBAAiB,CAAC,KAAK,EAAE,CAAA;AAC3B,CAAC,CAAC,CAAA;AAEF,aAAI,CAAC,MAAM,CAAC,6BAA6B,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACrD,iBAAiB,CAAC,OAAO,CAAC;QACxB,KAAK,CAAC,GAAG;YACP,OAAO;gBACL,MAAM,EAAE;oBACN,mBAAmB;oBACnB,2BAA2B;oBAC3B,uCAAuC;oBACvC,6CAA6C;oBAC7C,yCAAyC;oBACzC,0CAA0C;oBAC1C,0BAA0B;iBAC3B,CAAC,IAAI,CAAC,IAAI,CAAC;aACb,CAAA;QACH,CAAC;KACF,CAAC,CAAA;IAEF,IAAI,IAAI,GAAG,IAAI,iCAAkB,EAAE,CAAA;IACnC,IAAI,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,EAAE,CAAA;IAEhC,CAAC,CAAC,IAAI,CACJ,iBAAiB,CAAC,cAAc,CAAC,EAAE,IAAI,EAAE,CAAC,SAAS,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAC7E,CAAA;IAED,IAAI,QAAQ,GAAG;QACb,MAAM,EAAE;YACN,SAAS,EAAE,IAAI;YACf,SAAS,EAAE,IAAI;YACf,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,IAAI;YAChB,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,OAAO;SACd;QACD,MAAM,EAAE;YACN,SAAS,EAAE,KAAK;YAChB,SAAS,EAAE,IAAI;YACf,WAAW,EAAE,yBAAyB;YACtC,UAAU,EAAE,KAAK;YACjB,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,OAAO;SACd;QACD,MAAM,EAAE;YACN,SAAS,EAAE,IAAI;YACf,SAAS,EAAE,KAAK;YAChB,WAAW,EAAE,+BAA+B;YAC5C,UAAU,EAAE,KAAK;YACjB,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,KAAK;YACZ,IAAI,EAAE,UAAU;SACjB;QACD,MAAM,EAAE;YACN,SAAS,EAAE,KAAK;YAChB,SAAS,EAAE,IAAI;YACf,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;YACxB,WAAW,EAAE,OAAO;YACpB,UAAU,EAAE,KAAK;YACjB,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,KAAK;YACZ,IAAI,EAAE,MAAM;SACb;QACD,MAAM,EAAE;YACN,SAAS,EAAE,IAAI;YACf,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;YACxB,SAAS,EAAE,KAAK;YAChB,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,KAAK;YACjB,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,KAAK;YACZ,IAAI,EAAE,YAAY;SACnB;KACF,CAAA;IAED,CAAC,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;IAE7B,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,EAAE,CAAA;IAE5B,CAAC,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;IAC7B,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,UAAU,EAAE,oBAAoB,CAAC,CAAA;AAC5D,CAAC,CAAC,CAAA;AAEF,aAAI,CAAC,MAAM,CAAC,8BAA8B,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACtD,iBAAiB,CAAC,OAAO,CAAC;QACxB,KAAK,CAAC,GAAG;YACP,OAAO;gBACL,MAAM,EAAE;oBACN,mBAAmB;oBACnB,yBAAyB;oBACzB,0BAA0B;oBAC1B,yBAAyB;oBACzB,0BAA0B;iBAC3B,CAAC,IAAI,CAAC,IAAI,CAAC;aACb,CAAA;QACH,CAAC;KACF,CAAC,CAAA;IAEF,IAAI,IAAI,GAAG,IAAI,iCAAkB,EAAE,CAAA;IACnC,IAAI,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,EAAE,CAAA;IAEjC,CAAC,CAAC,IAAI,CACJ,iBAAiB,CAAC,cAAc,CAAC;QAC/B,IAAI,EAAE,CAAC,UAAU,CAAC;QAClB,aAAa,EAAE,IAAI;KACpB,CAAC,CACH,CAAA;IAED,IAAI,QAAQ,GAAG;QACb,OAAO,EAAE;YACP,WAAW,EAAE,cAAc;YAC3B,MAAM,EAAE,IAAI;YACZ,QAAQ,EAAE,IAAI;SACf;QACD,OAAO,EAAE;YACP,WAAW,EAAE,eAAe;YAC5B,MAAM,EAAE,IAAI;YACZ,QAAQ,EAAE,KAAK;SAChB;QACD,OAAO,EAAE;YACP,WAAW,EAAE,cAAc;YAC3B,MAAM,EAAE,KAAK;YACb,QAAQ,EAAE,IAAI;SACf;KACF,CAAA;IAED,CAAC,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;IAE7B,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,EAAE,CAAA;IAE7B,CAAC,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;IAC7B,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,UAAU,EAAE,oBAAoB,CAAC,CAAA;AAC5D,CAAC,CAAC,CAAA"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/index.js":{"lineLengths":[25,13,0,46,13,3,40,19,23,28,3,3,45,19,23,32,3,3,45,19,23,27,3,3,54,19,23,36,3,3,45,19,23,27,3,3,52,19,23,34,3,3,49,19,23,35,3,3,43,19,23,24,3,3,44,19,23,26,3,3,48,19,23,30,3,3,46,19,23,29,3,3,46,19,23,29,3,3,48,19,23,31,3,3,46,19,23,29,3,3,41,19,23,24,3,3,51,19,23,35,3,3,55,19,23,39,3,3,47,19,23,31,3,3,55,19,23,36,3,3,55,19,23,36,3,3,0,23,3,25,54,23,1,0,3,25,40,23,1,0,3,25,30,23,1,0,3,25,30,23,1,0,3,25,38,23,1,0,3,25,28,23,1,0,3,25,30,23,1,0,3,25,32,23,1,0,3,25,33,23,1,0,3,25,33,23,1,0,3,25,33,23,1,0,3,25,35,23,1,0,3,25,31,23,1,0,3,25,31,23,1,0,123,0,23,3012,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AAEA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AAEA;AAAA;AAAA;AAAA;AAAA;;AAEA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AAEA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["/* See LICENSE file for terms of use */\n\n/*\n * Text diff implementation.\n *\n * This library supports the following APIS:\n * JsDiff.diffChars: Character by character diff\n * JsDiff.diffWords: Word (as defined by \\b regex) diff which ignores whitespace\n * JsDiff.diffLines: Line based diff\n *\n * JsDiff.diffCss: Diff targeted at CSS content\n *\n * These methods are based on the implementation proposed in\n * \"An O(ND) Difference Algorithm and its Variations\" (Myers, 1986).\n * http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.4.6927\n */\nimport Diff from './diff/base';\nimport {diffChars} from './diff/character';\nimport {diffWords, diffWordsWithSpace} from './diff/word';\nimport {diffLines, diffTrimmedLines} from './diff/line';\nimport {diffSentences} from './diff/sentence';\n\nimport {diffCss} from './diff/css';\nimport {diffJson, canonicalize} from './diff/json';\n\nimport {diffArrays} from './diff/array';\n\nimport {applyPatch, applyPatches} from './patch/apply';\nimport {parsePatch} from './patch/parse';\nimport {merge} from './patch/merge';\nimport {structuredPatch, createTwoFilesPatch, createPatch} from './patch/create';\n\nimport {convertChangesToDMP} from './convert/dmp';\nimport {convertChangesToXML} from './convert/xml';\n\nexport {\n Diff,\n\n diffChars,\n diffWords,\n diffWordsWithSpace,\n diffLines,\n diffTrimmedLines,\n diffSentences,\n\n diffCss,\n diffJson,\n\n diffArrays,\n\n structuredPatch,\n createTwoFilesPatch,\n createPatch,\n applyPatch,\n applyPatches,\n parsePatch,\n merge,\n convertChangesToDMP,\n convertChangesToXML,\n canonicalize\n};\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/base.js":{"lineLengths":[25,13,0,46,13,3,26,0,23,18,0,18,27,0,25,45,29,7,27,85,36,0,40,25,19,5,0,27,20,0,26,21,32,37,14,20,14,21,7,63,0,0,42,42,59,59,34,34,23,40,0,32,69,5,0,21,17,20,76,0,74,0,67,48,20,36,31,10,91,0,0,31,95,22,33,14,31,9,0,49,52,74,0,22,72,49,9,0,60,71,0,36,50,45,19,81,80,57,0,0,73,43,67,16,80,0,28,67,9,0,143,0,69,106,16,77,44,9,7,0,19,89,86,86,46,0,0,19,24,32,43,30,11,0,34,19,11,14,11,12,43,35,0,18,21,9,7,5,4,0,27,0,25,69,49,0,67,71,31,43,30,21,24,8,12,23,17,21,24,9,5,4,0,27,0,25,87,34,34,33,39,24,0,117,15,15,20,5,0,22,32,26,9,5,0,29,18,4,0,27,0,25,40,34,50,12,101,5,4,0,27,0,25,44,17,0,44,21,27,7,5,0,15,4,0,27,0,25,40,17,4,0,27,0,25,38,27,4,0,27,0,25,30,26,3,2,0,79,23,39,17,17,0,55,45,0,29,48,70,47,47,67,11,43,14,87,7,0,47,0,29,34,7,12,85,113,89,63,0,63,47,64,39,7,5,78,83,44,0,0,51,0,158,62,21,3,0,20,1,0,26,10,24,40,4,1,22480,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/base.js"],"names":["Diff","prototype","diff","oldString","newString","options","callback","self","done","value","setTimeout","undefined","castInput","removeEmpty","tokenize","newLen","length","oldLen","editLength","maxEditLength","Math","min","bestPath","newPos","components","oldPos","extractCommon","join","count","execEditLength","diagonalPath","basePath","addPath","removePath","canAdd","canRemove","clonePath","pushComponent","buildValues","useLongestToken","exec","ret","added","removed","last","push","commonCount","equals","left","right","comparator","ignoreCase","toLowerCase","array","i","split","chars","componentPos","componentLen","component","slice","map","oldValue","tmp","lastComponent","pop","path"],"mappings":";;;;;;;;;AAAe,SAASA,IAAT,GAAgB,CAAE;;AAEjCA,IAAI,CAACC,SAAL,GAAiB;AAAA;;AAAA;AACfC,EAAAA,IADe,gBACVC,SADU,EACCC,SADD,EAC0B;AAAA;AAAA;AAAA;AAAdC,IAAAA,OAAc,uEAAJ,EAAI;AACvC,QAAIC,QAAQ,GAAGD,OAAO,CAACC,QAAvB;;AACA,QAAI,OAAOD,OAAP,KAAmB,UAAvB,EAAmC;AACjCC,MAAAA,QAAQ,GAAGD,OAAX;AACAA,MAAAA,OAAO,GAAG,EAAV;AACD;;AACD,SAAKA,OAAL,GAAeA,OAAf;AAEA,QAAIE,IAAI,GAAG,IAAX;;AAEA,aAASC,IAAT,CAAcC,KAAd,EAAqB;AACnB,UAAIH,QAAJ,EAAc;AACZI,QAAAA,UAAU,CAAC,YAAW;AAAEJ,UAAAA,QAAQ,CAACK,SAAD,EAAYF,KAAZ,CAAR;AAA6B,SAA3C,EAA6C,CAA7C,CAAV;AACA,eAAO,IAAP;AACD,OAHD,MAGO;AACL,eAAOA,KAAP;AACD;AACF,KAjBsC,CAmBvC;;;AACAN,IAAAA,SAAS,GAAG,KAAKS,SAAL,CAAeT,SAAf,CAAZ;AACAC,IAAAA,SAAS,GAAG,KAAKQ,SAAL,CAAeR,SAAf,CAAZ;AAEAD,IAAAA,SAAS,GAAG,KAAKU,WAAL,CAAiB,KAAKC,QAAL,CAAcX,SAAd,CAAjB,CAAZ;AACAC,IAAAA,SAAS,GAAG,KAAKS,WAAL,CAAiB,KAAKC,QAAL,CAAcV,SAAd,CAAjB,CAAZ;AAEA,QAAIW,MAAM,GAAGX,SAAS,CAACY,MAAvB;AAAA,QAA+BC,MAAM,GAAGd,SAAS,CAACa,MAAlD;AACA,QAAIE,UAAU,GAAG,CAAjB;AACA,QAAIC,aAAa,GAAGJ,MAAM,GAAGE,MAA7B;;AACA,QAAGZ,OAAO,CAACc,aAAX,EAA0B;AACxBA,MAAAA,aAAa,GAAGC,IAAI,CAACC,GAAL,CAASF,aAAT,EAAwBd,OAAO,CAACc,aAAhC,CAAhB;AACD;;AAED,QAAIG,QAAQ,GAAG,CAAC;AAAEC,MAAAA,MAAM,EAAE,CAAC,CAAX;AAAcC,MAAAA,UAAU,EAAE;AAA1B,KAAD,CAAf,CAjCuC,CAmCvC;;AACA,QAAIC,MAAM,GAAG,KAAKC,aAAL,CAAmBJ,QAAQ,CAAC,CAAD,CAA3B,EAAgClB,SAAhC,EAA2CD,SAA3C,EAAsD,CAAtD,CAAb;;AACA,QAAImB,QAAQ,CAAC,CAAD,CAAR,CAAYC,MAAZ,GAAqB,CAArB,IAA0BR,MAA1B,IAAoCU,MAAM,GAAG,CAAT,IAAcR,MAAtD,EAA8D;AAC5D;AACA,aAAOT,IAAI,CAAC,CAAC;AAACC,QAAAA,KAAK,EAAE,KAAKkB,IAAL,CAAUvB,SAAV,CAAR;AAA8BwB,QAAAA,KAAK,EAAExB,SAAS,CAACY;AAA/C,OAAD,CAAD,CAAX;AACD,KAxCsC,CA0CvC;;;AACA,aAASa,cAAT,GAA0B;AACxB,WAAK,IAAIC,YAAY,GAAG,CAAC,CAAD,GAAKZ,UAA7B,EAAyCY,YAAY,IAAIZ,UAAzD,EAAqEY,YAAY,IAAI,CAArF,EAAwF;AACtF,YAAIC,QAAQ;AAAA;AAAA;AAAZ;AAAA;;AACA,YAAIC,OAAO,GAAGV,QAAQ,CAACQ,YAAY,GAAG,CAAhB,CAAtB;AAAA,YACIG,UAAU,GAAGX,QAAQ,CAACQ,YAAY,GAAG,CAAhB,CADzB;AAAA,YAEIL,OAAM,GAAG,CAACQ,UAAU,GAAGA,UAAU,CAACV,MAAd,GAAuB,CAAlC,IAAuCO,YAFpD;;AAGA,YAAIE,OAAJ,EAAa;AACX;AACAV,UAAAA,QAAQ,CAACQ,YAAY,GAAG,CAAhB,CAAR,GAA6BnB,SAA7B;AACD;;AAED,YAAIuB,MAAM,GAAGF,OAAO,IAAIA,OAAO,CAACT,MAAR,GAAiB,CAAjB,GAAqBR,MAA7C;AAAA,YACIoB,SAAS,GAAGF,UAAU,IAAI,KAAKR,OAAnB,IAA6BA,OAAM,GAAGR,MADtD;;AAEA,YAAI,CAACiB,MAAD,IAAW,CAACC,SAAhB,EAA2B;AACzB;AACAb,UAAAA,QAAQ,CAACQ,YAAD,CAAR,GAAyBnB,SAAzB;AACA;AACD,SAhBqF,CAkBtF;AACA;AACA;;;AACA,YAAI,CAACuB,MAAD,IAAYC,SAAS,IAAIH,OAAO,CAACT,MAAR,GAAiBU,UAAU,CAACV,MAAzD,EAAkE;AAChEQ,UAAAA,QAAQ,GAAGK,SAAS,CAACH,UAAD,CAApB;AACA1B,UAAAA,IAAI,CAAC8B,aAAL,CAAmBN,QAAQ,CAACP,UAA5B,EAAwCb,SAAxC,EAAmD,IAAnD;AACD,SAHD,MAGO;AACLoB,UAAAA,QAAQ,GAAGC,OAAX,CADK,CACe;;AACpBD,UAAAA,QAAQ,CAACR,MAAT;AACAhB,UAAAA,IAAI,CAAC8B,aAAL,CAAmBN,QAAQ,CAACP,UAA5B,EAAwC,IAAxC,EAA8Cb,SAA9C;AACD;;AAEDc,QAAAA,OAAM,GAAGlB,IAAI,CAACmB,aAAL,CAAmBK,QAAnB,EAA6B3B,SAA7B,EAAwCD,SAAxC,EAAmD2B,YAAnD,CAAT,CA9BsF,CAgCtF;;AACA,YAAIC,QAAQ,CAACR,MAAT,GAAkB,CAAlB,IAAuBR,MAAvB,IAAiCU,OAAM,GAAG,CAAT,IAAcR,MAAnD,EAA2D;AACzD,iBAAOT,IAAI,CAAC8B,WAAW,CAAC/B,IAAD,EAAOwB,QAAQ,CAACP,UAAhB,EAA4BpB,SAA5B,EAAuCD,SAAvC,EAAkDI,IAAI,CAACgC,eAAvD,CAAZ,CAAX;AACD,SAFD,MAEO;AACL;AACAjB,UAAAA,QAAQ,CAACQ,YAAD,CAAR,GAAyBC,QAAzB;AACD;AACF;;AAEDb,MAAAA,UAAU;AACX,KAtFsC,CAwFvC;AACA;AACA;AACA;;;AACA,QAAIZ,QAAJ,EAAc;AACX,gBAASkC,IAAT,GAAgB;AACf9B,QAAAA,UAAU,CAAC,YAAW;AACpB,cAAIQ,UAAU,GAAGC,aAAjB,EAAgC;AAC9B,mBAAOb,QAAQ,EAAf;AACD;;AAED,cAAI,CAACuB,cAAc,EAAnB,EAAuB;AACrBW,YAAAA,IAAI;AACL;AACF,SARS,EAQP,CARO,CAAV;AASD,OAVA,GAAD;AAWD,KAZD,MAYO;AACL,aAAOtB,UAAU,IAAIC,aAArB,EAAoC;AAClC,YAAIsB,GAAG,GAAGZ,cAAc,EAAxB;;AACA,YAAIY,GAAJ,EAAS;AACP,iBAAOA,GAAP;AACD;AACF;AACF;AACF,GAjHc;;AAAA;;AAAA;AAmHfJ,EAAAA,aAnHe,yBAmHDb,UAnHC,EAmHWkB,KAnHX,EAmHkBC,OAnHlB,EAmH2B;AACxC,QAAIC,IAAI,GAAGpB,UAAU,CAACA,UAAU,CAACR,MAAX,GAAoB,CAArB,CAArB;;AACA,QAAI4B,IAAI,IAAIA,IAAI,CAACF,KAAL,KAAeA,KAAvB,IAAgCE,IAAI,CAACD,OAAL,KAAiBA,OAArD,EAA8D;AAC5D;AACA;AACAnB,MAAAA,UAAU,CAACA,UAAU,CAACR,MAAX,GAAoB,CAArB,CAAV,GAAoC;AAACY,QAAAA,KAAK,EAAEgB,IAAI,CAAChB,KAAL,GAAa,CAArB;AAAwBc,QAAAA,KAAK,EAAEA,KAA/B;AAAsCC,QAAAA,OAAO,EAAEA;AAA/C,OAApC;AACD,KAJD,MAIO;AACLnB,MAAAA,UAAU,CAACqB,IAAX,CAAgB;AAACjB,QAAAA,KAAK,EAAE,CAAR;AAAWc,QAAAA,KAAK,EAAEA,KAAlB;AAAyBC,QAAAA,OAAO,EAAEA;AAAlC,OAAhB;AACD;AACF,GA5Hc;;AAAA;;AAAA;AA6HfjB,EAAAA,aA7He,yBA6HDK,QA7HC,EA6HS3B,SA7HT,EA6HoBD,SA7HpB,EA6H+B2B,YA7H/B,EA6H6C;AAC1D,QAAIf,MAAM,GAAGX,SAAS,CAACY,MAAvB;AAAA,QACIC,MAAM,GAAGd,SAAS,CAACa,MADvB;AAAA,QAEIO,MAAM,GAAGQ,QAAQ,CAACR,MAFtB;AAAA,QAGIE,MAAM,GAAGF,MAAM,GAAGO,YAHtB;AAAA,QAKIgB,WAAW,GAAG,CALlB;;AAMA,WAAOvB,MAAM,GAAG,CAAT,GAAaR,MAAb,IAAuBU,MAAM,GAAG,CAAT,GAAaR,MAApC,IAA8C,KAAK8B,MAAL,CAAY3C,SAAS,CAACmB,MAAM,GAAG,CAAV,CAArB,EAAmCpB,SAAS,CAACsB,MAAM,GAAG,CAAV,CAA5C,CAArD,EAAgH;AAC9GF,MAAAA,MAAM;AACNE,MAAAA,MAAM;AACNqB,MAAAA,WAAW;AACZ;;AAED,QAAIA,WAAJ,EAAiB;AACff,MAAAA,QAAQ,CAACP,UAAT,CAAoBqB,IAApB,CAAyB;AAACjB,QAAAA,KAAK,EAAEkB;AAAR,OAAzB;AACD;;AAEDf,IAAAA,QAAQ,CAACR,MAAT,GAAkBA,MAAlB;AACA,WAAOE,MAAP;AACD,GAhJc;;AAAA;;AAAA;AAkJfsB,EAAAA,MAlJe,kBAkJRC,IAlJQ,EAkJFC,KAlJE,EAkJK;AAClB,QAAI,KAAK5C,OAAL,CAAa6C,UAAjB,EAA6B;AAC3B,aAAO,KAAK7C,OAAL,CAAa6C,UAAb,CAAwBF,IAAxB,EAA8BC,KAA9B,CAAP;AACD,KAFD,MAEO;AACL,aAAOD,IAAI,KAAKC,KAAT,IACD,KAAK5C,OAAL,CAAa8C,UAAb,IAA2BH,IAAI,CAACI,WAAL,OAAuBH,KAAK,CAACG,WAAN,EADxD;AAED;AACF,GAzJc;;AAAA;;AAAA;AA0JfvC,EAAAA,WA1Je,uBA0JHwC,KA1JG,EA0JI;AACjB,QAAIZ,GAAG,GAAG,EAAV;;AACA,SAAK,IAAIa,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGD,KAAK,CAACrC,MAA1B,EAAkCsC,CAAC,EAAnC,EAAuC;AACrC,UAAID,KAAK,CAACC,CAAD,CAAT,EAAc;AACZb,QAAAA,GAAG,CAACI,IAAJ,CAASQ,KAAK,CAACC,CAAD,CAAd;AACD;AACF;;AACD,WAAOb,GAAP;AACD,GAlKc;;AAAA;;AAAA;AAmKf7B,EAAAA,SAnKe,qBAmKLH,KAnKK,EAmKE;AACf,WAAOA,KAAP;AACD,GArKc;;AAAA;;AAAA;AAsKfK,EAAAA,QAtKe,oBAsKNL,KAtKM,EAsKC;AACd,WAAOA,KAAK,CAAC8C,KAAN,CAAY,EAAZ,CAAP;AACD,GAxKc;;AAAA;;AAAA;AAyKf5B,EAAAA,IAzKe,gBAyKV6B,KAzKU,EAyKH;AACV,WAAOA,KAAK,CAAC7B,IAAN,CAAW,EAAX,CAAP;AACD;AA3Kc,CAAjB;;AA8KA,SAASW,WAAT,CAAqBpC,IAArB,EAA2BsB,UAA3B,EAAuCpB,SAAvC,EAAkDD,SAAlD,EAA6DoC,eAA7D,EAA8E;AAC5E,MAAIkB,YAAY,GAAG,CAAnB;AAAA,MACIC,YAAY,GAAGlC,UAAU,CAACR,MAD9B;AAAA,MAEIO,MAAM,GAAG,CAFb;AAAA,MAGIE,MAAM,GAAG,CAHb;;AAKA,SAAOgC,YAAY,GAAGC,YAAtB,EAAoCD,YAAY,EAAhD,EAAoD;AAClD,QAAIE,SAAS,GAAGnC,UAAU,CAACiC,YAAD,CAA1B;;AACA,QAAI,CAACE,SAAS,CAAChB,OAAf,EAAwB;AACtB,UAAI,CAACgB,SAAS,CAACjB,KAAX,IAAoBH,eAAxB,EAAyC;AACvC,YAAI9B,KAAK,GAAGL,SAAS,CAACwD,KAAV,CAAgBrC,MAAhB,EAAwBA,MAAM,GAAGoC,SAAS,CAAC/B,KAA3C,CAAZ;AACAnB,QAAAA,KAAK,GAAGA,KAAK,CAACoD,GAAN,CAAU,UAASpD,KAAT,EAAgB6C,CAAhB,EAAmB;AACnC,cAAIQ,QAAQ,GAAG3D,SAAS,CAACsB,MAAM,GAAG6B,CAAV,CAAxB;AACA,iBAAOQ,QAAQ,CAAC9C,MAAT,GAAkBP,KAAK,CAACO,MAAxB,GAAiC8C,QAAjC,GAA4CrD,KAAnD;AACD,SAHO,CAAR;AAKAkD,QAAAA,SAAS,CAAClD,KAAV,GAAkBP,IAAI,CAACyB,IAAL,CAAUlB,KAAV,CAAlB;AACD,OARD,MAQO;AACLkD,QAAAA,SAAS,CAAClD,KAAV,GAAkBP,IAAI,CAACyB,IAAL,CAAUvB,SAAS,CAACwD,KAAV,CAAgBrC,MAAhB,EAAwBA,MAAM,GAAGoC,SAAS,CAAC/B,KAA3C,CAAV,CAAlB;AACD;;AACDL,MAAAA,MAAM,IAAIoC,SAAS,CAAC/B,KAApB,CAZsB,CActB;;AACA,UAAI,CAAC+B,SAAS,CAACjB,KAAf,EAAsB;AACpBjB,QAAAA,MAAM,IAAIkC,SAAS,CAAC/B,KAApB;AACD;AACF,KAlBD,MAkBO;AACL+B,MAAAA,SAAS,CAAClD,KAAV,GAAkBP,IAAI,CAACyB,IAAL,CAAUxB,SAAS,CAACyD,KAAV,CAAgBnC,MAAhB,EAAwBA,MAAM,GAAGkC,SAAS,CAAC/B,KAA3C,CAAV,CAAlB;AACAH,MAAAA,MAAM,IAAIkC,SAAS,CAAC/B,KAApB,CAFK,CAIL;AACA;AACA;;AACA,UAAI6B,YAAY,IAAIjC,UAAU,CAACiC,YAAY,GAAG,CAAhB,CAAV,CAA6Bf,KAAjD,EAAwD;AACtD,YAAIqB,GAAG,GAAGvC,UAAU,CAACiC,YAAY,GAAG,CAAhB,CAApB;AACAjC,QAAAA,UAAU,CAACiC,YAAY,GAAG,CAAhB,CAAV,GAA+BjC,UAAU,CAACiC,YAAD,CAAzC;AACAjC,QAAAA,UAAU,CAACiC,YAAD,CAAV,GAA2BM,GAA3B;AACD;AACF;AACF,GAvC2E,CAyC5E;AACA;AACA;;;AACA,MAAIC,aAAa,GAAGxC,UAAU,CAACkC,YAAY,GAAG,CAAhB,CAA9B;;AACA,MAAIA,YAAY,GAAG,CAAf,IACG,OAAOM,aAAa,CAACvD,KAArB,KAA+B,QADlC,KAEIuD,aAAa,CAACtB,KAAd,IAAuBsB,aAAa,CAACrB,OAFzC,KAGGzC,IAAI,CAAC6C,MAAL,CAAY,EAAZ,EAAgBiB,aAAa,CAACvD,KAA9B,CAHP,EAG6C;AAC3Ce,IAAAA,UAAU,CAACkC,YAAY,GAAG,CAAhB,CAAV,CAA6BjD,KAA7B,IAAsCuD,aAAa,CAACvD,KAApD;AACAe,IAAAA,UAAU,CAACyC,GAAX;AACD;;AAED,SAAOzC,UAAP;AACD;;AAED,SAASY,SAAT,CAAmB8B,IAAnB,EAAyB;AACvB,SAAO;AAAE3C,IAAAA,MAAM,EAAE2C,IAAI,CAAC3C,MAAf;AAAuBC,IAAAA,UAAU,EAAE0C,IAAI,CAAC1C,UAAL,CAAgBoC,KAAhB,CAAsB,CAAtB;AAAnC,GAAP;AACD","sourcesContent":["export default function Diff() {}\n\nDiff.prototype = {\n diff(oldString, newString, options = {}) {\n let callback = options.callback;\n if (typeof options === 'function') {\n callback = options;\n options = {};\n }\n this.options = options;\n\n let self = this;\n\n function done(value) {\n if (callback) {\n setTimeout(function() { callback(undefined, value); }, 0);\n return true;\n } else {\n return value;\n }\n }\n\n // Allow subclasses to massage the input prior to running\n oldString = this.castInput(oldString);\n newString = this.castInput(newString);\n\n oldString = this.removeEmpty(this.tokenize(oldString));\n newString = this.removeEmpty(this.tokenize(newString));\n\n let newLen = newString.length, oldLen = oldString.length;\n let editLength = 1;\n let maxEditLength = newLen + oldLen;\n if(options.maxEditLength) {\n maxEditLength = Math.min(maxEditLength, options.maxEditLength);\n }\n\n let bestPath = [{ newPos: -1, components: [] }];\n\n // Seed editLength = 0, i.e. the content starts with the same values\n let oldPos = this.extractCommon(bestPath[0], newString, oldString, 0);\n if (bestPath[0].newPos + 1 >= newLen && oldPos + 1 >= oldLen) {\n // Identity per the equality and tokenizer\n return done([{value: this.join(newString), count: newString.length}]);\n }\n\n // Main worker method. checks all permutations of a given edit length for acceptance.\n function execEditLength() {\n for (let diagonalPath = -1 * editLength; diagonalPath <= editLength; diagonalPath += 2) {\n let basePath;\n let addPath = bestPath[diagonalPath - 1],\n removePath = bestPath[diagonalPath + 1],\n oldPos = (removePath ? removePath.newPos : 0) - diagonalPath;\n if (addPath) {\n // No one else is going to attempt to use this value, clear it\n bestPath[diagonalPath - 1] = undefined;\n }\n\n let canAdd = addPath && addPath.newPos + 1 < newLen,\n canRemove = removePath && 0 <= oldPos && oldPos < oldLen;\n if (!canAdd && !canRemove) {\n // If this path is a terminal then prune\n bestPath[diagonalPath] = undefined;\n continue;\n }\n\n // Select the diagonal that we want to branch from. We select the prior\n // path whose position in the new string is the farthest from the origin\n // and does not pass the bounds of the diff graph\n if (!canAdd || (canRemove && addPath.newPos < removePath.newPos)) {\n basePath = clonePath(removePath);\n self.pushComponent(basePath.components, undefined, true);\n } else {\n basePath = addPath; // No need to clone, we've pulled it from the list\n basePath.newPos++;\n self.pushComponent(basePath.components, true, undefined);\n }\n\n oldPos = self.extractCommon(basePath, newString, oldString, diagonalPath);\n\n // If we have hit the end of both strings, then we are done\n if (basePath.newPos + 1 >= newLen && oldPos + 1 >= oldLen) {\n return done(buildValues(self, basePath.components, newString, oldString, self.useLongestToken));\n } else {\n // Otherwise track this path as a potential candidate and continue.\n bestPath[diagonalPath] = basePath;\n }\n }\n\n editLength++;\n }\n\n // Performs the length of edit iteration. Is a bit fugly as this has to support the\n // sync and async mode which is never fun. Loops over execEditLength until a value\n // is produced, or until the edit length exceeds options.maxEditLength (if given),\n // in which case it will return undefined.\n if (callback) {\n (function exec() {\n setTimeout(function() {\n if (editLength > maxEditLength) {\n return callback();\n }\n\n if (!execEditLength()) {\n exec();\n }\n }, 0);\n }());\n } else {\n while (editLength <= maxEditLength) {\n let ret = execEditLength();\n if (ret) {\n return ret;\n }\n }\n }\n },\n\n pushComponent(components, added, removed) {\n let last = components[components.length - 1];\n if (last && last.added === added && last.removed === removed) {\n // We need to clone here as the component clone operation is just\n // as shallow array clone\n components[components.length - 1] = {count: last.count + 1, added: added, removed: removed };\n } else {\n components.push({count: 1, added: added, removed: removed });\n }\n },\n extractCommon(basePath, newString, oldString, diagonalPath) {\n let newLen = newString.length,\n oldLen = oldString.length,\n newPos = basePath.newPos,\n oldPos = newPos - diagonalPath,\n\n commonCount = 0;\n while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[oldPos + 1])) {\n newPos++;\n oldPos++;\n commonCount++;\n }\n\n if (commonCount) {\n basePath.components.push({count: commonCount});\n }\n\n basePath.newPos = newPos;\n return oldPos;\n },\n\n equals(left, right) {\n if (this.options.comparator) {\n return this.options.comparator(left, right);\n } else {\n return left === right\n || (this.options.ignoreCase && left.toLowerCase() === right.toLowerCase());\n }\n },\n removeEmpty(array) {\n let ret = [];\n for (let i = 0; i < array.length; i++) {\n if (array[i]) {\n ret.push(array[i]);\n }\n }\n return ret;\n },\n castInput(value) {\n return value;\n },\n tokenize(value) {\n return value.split('');\n },\n join(chars) {\n return chars.join('');\n }\n};\n\nfunction buildValues(diff, components, newString, oldString, useLongestToken) {\n let componentPos = 0,\n componentLen = components.length,\n newPos = 0,\n oldPos = 0;\n\n for (; componentPos < componentLen; componentPos++) {\n let component = components[componentPos];\n if (!component.removed) {\n if (!component.added && useLongestToken) {\n let value = newString.slice(newPos, newPos + component.count);\n value = value.map(function(value, i) {\n let oldValue = oldString[oldPos + i];\n return oldValue.length > value.length ? oldValue : value;\n });\n\n component.value = diff.join(value);\n } else {\n component.value = diff.join(newString.slice(newPos, newPos + component.count));\n }\n newPos += component.count;\n\n // Common case\n if (!component.added) {\n oldPos += component.count;\n }\n } else {\n component.value = diff.join(oldString.slice(oldPos, oldPos + component.count));\n oldPos += component.count;\n\n // Reverse add and remove so removes are output first to match common convention\n // The diffing algorithm is tied to add then remove output and this is the simplest\n // route to get the desired output with minimal overhead.\n if (componentPos && components[componentPos - 1].added) {\n let tmp = components[componentPos - 1];\n components[componentPos - 1] = components[componentPos];\n components[componentPos] = tmp;\n }\n }\n }\n\n // Special case handle for when one terminal is ignored (i.e. whitespace).\n // For this case we merge the terminal into the prior string and drop the change.\n // This is only available for string mode.\n let lastComponent = components[componentLen - 1];\n if (componentLen > 1\n && typeof lastComponent.value === 'string'\n && (lastComponent.added || lastComponent.removed)\n && diff.equals('', lastComponent.value)) {\n components[componentLen - 2].value += lastComponent.value;\n components.pop();\n }\n\n return components;\n}\n\nfunction clonePath(path) {\n return { newPos: path.newPos, components: path.components.slice(0) };\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/character.js":{"lineLengths":[25,13,0,46,13,3,30,31,0,23,3,25,49,23,1,0,123,0,23,23,25,5,23,1,25,9,23,4,0,25,38,0,23,45,53,1,880,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/character.js"],"names":["characterDiff","Diff","diffChars","oldStr","newStr","options","diff"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;AAEO,IAAMA,aAAa,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAAtB;;;;;;AACA,SAASC,SAAT,CAAmBC,MAAnB,EAA2BC,MAA3B,EAAmCC,OAAnC,EAA4C;AAAE,SAAOL,aAAa,CAACM,IAAd,CAAmBH,MAAnB,EAA2BC,MAA3B,EAAmCC,OAAnC,CAAP;AAAqD","sourcesContent":["import Diff from './base';\n\nexport const characterDiff = new Diff();\nexport function diffChars(oldStr, newStr, options) { return characterDiff.diff(oldStr, newStr, options); }\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/word.js":{"lineLengths":[25,13,0,46,13,3,30,48,26,0,23,3,25,49,23,1,0,3,25,35,23,1,0,123,0,23,65,2,25,32,35,29,30,30,28,38,29,29,33,34,30,35,43,39,88,24,18,25,5,23,1,25,9,23,4,0,25,28,0,23,42,32,30,32,3,0,114,2,0,38,97,184,0,47,103,120,33,30,10,5,3,0,16,2,0,45,11,27,5,25,0,27,9,25,3,27,18,25,13,26,5,48,1,0,54,48,1,5824,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/word.js"],"names":["extendedWordChars","reWhitespace","wordDiff","Diff","equals","left","right","options","ignoreCase","toLowerCase","ignoreWhitespace","test","tokenize","value","tokens","split","i","length","splice","diffWords","oldStr","newStr","generateOptions","diff","diffWordsWithSpace"],"mappings":";;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAMA,iBAAiB,GAAG,+DAA1B;AAEA,IAAMC,YAAY,GAAG,IAArB;AAEO,IAAMC,QAAQ,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAAjB;;;;;;AACPD,QAAQ,CAACE,MAAT,GAAkB,UAASC,IAAT,EAAeC,KAAf,EAAsB;AACtC,MAAI,KAAKC,OAAL,CAAaC,UAAjB,EAA6B;AAC3BH,IAAAA,IAAI,GAAGA,IAAI,CAACI,WAAL,EAAP;AACAH,IAAAA,KAAK,GAAGA,KAAK,CAACG,WAAN,EAAR;AACD;;AACD,SAAOJ,IAAI,KAAKC,KAAT,IAAmB,KAAKC,OAAL,CAAaG,gBAAb,IAAiC,CAACT,YAAY,CAACU,IAAb,CAAkBN,IAAlB,CAAlC,IAA6D,CAACJ,YAAY,CAACU,IAAb,CAAkBL,KAAlB,CAAxF;AACD,CAND;;AAOAJ,QAAQ,CAACU,QAAT,GAAoB,UAASC,KAAT,EAAgB;AAClC;AACA,MAAIC,MAAM,GAAGD,KAAK,CAACE,KAAN,CAAY,iCAAZ,CAAb,CAFkC,CAIlC;;AACA,OAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGF,MAAM,CAACG,MAAP,GAAgB,CAApC,EAAuCD,CAAC,EAAxC,EAA4C;AAC1C;AACA,QAAI,CAACF,MAAM,CAACE,CAAC,GAAG,CAAL,CAAP,IAAkBF,MAAM,CAACE,CAAC,GAAG,CAAL,CAAxB,IACKhB,iBAAiB,CAACW,IAAlB,CAAuBG,MAAM,CAACE,CAAD,CAA7B,CADL,IAEKhB,iBAAiB,CAACW,IAAlB,CAAuBG,MAAM,CAACE,CAAC,GAAG,CAAL,CAA7B,CAFT,EAEgD;AAC9CF,MAAAA,MAAM,CAACE,CAAD,CAAN,IAAaF,MAAM,CAACE,CAAC,GAAG,CAAL,CAAnB;AACAF,MAAAA,MAAM,CAACI,MAAP,CAAcF,CAAC,GAAG,CAAlB,EAAqB,CAArB;AACAA,MAAAA,CAAC;AACF;AACF;;AAED,SAAOF,MAAP;AACD,CAjBD;;AAmBO,SAASK,SAAT,CAAmBC,MAAnB,EAA2BC,MAA3B,EAAmCd,OAAnC,EAA4C;AACjDA,EAAAA,OAAO;AAAG;AAAA;AAAA;;AAAAe;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,GAAgBf,OAAhB,EAAyB;AAACG,IAAAA,gBAAgB,EAAE;AAAnB,GAAzB,CAAV;AACA,SAAOR,QAAQ,CAACqB,IAAT,CAAcH,MAAd,EAAsBC,MAAtB,EAA8Bd,OAA9B,CAAP;AACD;;AAEM,SAASiB,kBAAT,CAA4BJ,MAA5B,EAAoCC,MAApC,EAA4Cd,OAA5C,EAAqD;AAC1D,SAAOL,QAAQ,CAACqB,IAAT,CAAcH,MAAd,EAAsBC,MAAtB,EAA8Bd,OAA9B,CAAP;AACD","sourcesContent":["import Diff from './base';\nimport {generateOptions} from '../util/params';\n\n// Based on https://en.wikipedia.org/wiki/Latin_script_in_Unicode\n//\n// Ranges and exceptions:\n// Latin-1 Supplement, 0080–00FF\n// - U+00D7 × Multiplication sign\n// - U+00F7 ÷ Division sign\n// Latin Extended-A, 0100–017F\n// Latin Extended-B, 0180–024F\n// IPA Extensions, 0250–02AF\n// Spacing Modifier Letters, 02B0–02FF\n// - U+02C7 ˇ ˇ Caron\n// - U+02D8 ˘ ˘ Breve\n// - U+02D9 ˙ ˙ Dot Above\n// - U+02DA ˚ ˚ Ring Above\n// - U+02DB ˛ ˛ Ogonek\n// - U+02DC ˜ ˜ Small Tilde\n// - U+02DD ˝ ˝ Double Acute Accent\n// Latin Extended Additional, 1E00–1EFF\nconst extendedWordChars = /^[a-zA-Z\\u{C0}-\\u{FF}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}]+$/u;\n\nconst reWhitespace = /\\S/;\n\nexport const wordDiff = new Diff();\nwordDiff.equals = function(left, right) {\n if (this.options.ignoreCase) {\n left = left.toLowerCase();\n right = right.toLowerCase();\n }\n return left === right || (this.options.ignoreWhitespace && !reWhitespace.test(left) && !reWhitespace.test(right));\n};\nwordDiff.tokenize = function(value) {\n // All whitespace symbols except newline group into one token, each newline - in separate token\n let tokens = value.split(/([^\\S\\r\\n]+|[()[\\]{}'\"\\r\\n]|\\b)/);\n\n // Join the boundary splits that we do not consider to be boundaries. This is primarily the extended Latin character set.\n for (let i = 0; i < tokens.length - 1; i++) {\n // If we have an empty string in the next field and we have only word chars before and after, merge\n if (!tokens[i + 1] && tokens[i + 2]\n && extendedWordChars.test(tokens[i])\n && extendedWordChars.test(tokens[i + 2])) {\n tokens[i] += tokens[i + 2];\n tokens.splice(i + 1, 2);\n i--;\n }\n }\n\n return tokens;\n};\n\nexport function diffWords(oldStr, newStr, options) {\n options = generateOptions(options, {ignoreWhitespace: true});\n return wordDiff.diff(oldStr, newStr, options);\n}\n\nexport function diffWordsWithSpace(oldStr, newStr, options) {\n return wordDiff.diff(oldStr, newStr, options);\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/util/params.js":{"lineLengths":[25,13,0,46,13,3,42,0,23,45,38,32,23,31,32,41,39,7,5,3,0,18,1,1248,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/util/params.js"],"names":["generateOptions","options","defaults","callback","name","hasOwnProperty"],"mappings":";;;;;;;;;AAAO,SAASA,eAAT,CAAyBC,OAAzB,EAAkCC,QAAlC,EAA4C;AACjD,MAAI,OAAOD,OAAP,KAAmB,UAAvB,EAAmC;AACjCC,IAAAA,QAAQ,CAACC,QAAT,GAAoBF,OAApB;AACD,GAFD,MAEO,IAAIA,OAAJ,EAAa;AAClB,SAAK,IAAIG,IAAT,IAAiBH,OAAjB,EAA0B;AACxB;AACA,UAAIA,OAAO,CAACI,cAAR,CAAuBD,IAAvB,CAAJ,EAAkC;AAChCF,QAAAA,QAAQ,CAACE,IAAD,CAAR,GAAiBH,OAAO,CAACG,IAAD,CAAxB;AACD;AACF;AACF;;AACD,SAAOF,QAAP;AACD","sourcesContent":["export function generateOptions(options, defaults) {\n if (typeof options === 'function') {\n defaults.callback = options;\n } else if (options) {\n for (let name in options) {\n /* istanbul ignore else */\n if (options.hasOwnProperty(name)) {\n defaults[name] = options[name];\n }\n }\n }\n return defaults;\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/line.js":{"lineLengths":[25,13,0,46,13,3,30,44,26,0,23,3,25,49,23,1,0,3,25,35,23,1,0,123,0,23,18,25,5,23,1,25,9,23,4,0,25,28,0,23,38,20,129,0,55,27,63,0,0,53,35,0,48,44,12,42,27,7,0,26,5,3,0,18,2,0,46,49,1,0,53,15,27,5,25,0,27,9,25,3,27,18,25,14,26,5,48,1,3728,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/line.js"],"names":["lineDiff","Diff","tokenize","value","retLines","linesAndNewlines","split","length","pop","i","line","options","newlineIsToken","ignoreWhitespace","trim","push","diffLines","oldStr","newStr","callback","diff","diffTrimmedLines","generateOptions"],"mappings":";;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;;;;AAEO,IAAMA,QAAQ,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAAjB;;;;;;AACPD,QAAQ,CAACE,QAAT,GAAoB,UAASC,KAAT,EAAgB;AAClC,MAAIC,QAAQ,GAAG,EAAf;AAAA,MACIC,gBAAgB,GAAGF,KAAK,CAACG,KAAN,CAAY,WAAZ,CADvB,CADkC,CAIlC;;AACA,MAAI,CAACD,gBAAgB,CAACA,gBAAgB,CAACE,MAAjB,GAA0B,CAA3B,CAArB,EAAoD;AAClDF,IAAAA,gBAAgB,CAACG,GAAjB;AACD,GAPiC,CASlC;;;AACA,OAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGJ,gBAAgB,CAACE,MAArC,EAA6CE,CAAC,EAA9C,EAAkD;AAChD,QAAIC,IAAI,GAAGL,gBAAgB,CAACI,CAAD,CAA3B;;AAEA,QAAIA,CAAC,GAAG,CAAJ,IAAS,CAAC,KAAKE,OAAL,CAAaC,cAA3B,EAA2C;AACzCR,MAAAA,QAAQ,CAACA,QAAQ,CAACG,MAAT,GAAkB,CAAnB,CAAR,IAAiCG,IAAjC;AACD,KAFD,MAEO;AACL,UAAI,KAAKC,OAAL,CAAaE,gBAAjB,EAAmC;AACjCH,QAAAA,IAAI,GAAGA,IAAI,CAACI,IAAL,EAAP;AACD;;AACDV,MAAAA,QAAQ,CAACW,IAAT,CAAcL,IAAd;AACD;AACF;;AAED,SAAON,QAAP;AACD,CAxBD;;AA0BO,SAASY,SAAT,CAAmBC,MAAnB,EAA2BC,MAA3B,EAAmCC,QAAnC,EAA6C;AAAE,SAAOnB,QAAQ,CAACoB,IAAT,CAAcH,MAAd,EAAsBC,MAAtB,EAA8BC,QAA9B,CAAP;AAAiD;;AAChG,SAASE,gBAAT,CAA0BJ,MAA1B,EAAkCC,MAAlC,EAA0CC,QAA1C,EAAoD;AACzD,MAAIR,OAAO;AAAG;AAAA;AAAA;;AAAAW;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,GAAgBH,QAAhB,EAA0B;AAACN,IAAAA,gBAAgB,EAAE;AAAnB,GAA1B,CAAd;AACA,SAAOb,QAAQ,CAACoB,IAAT,CAAcH,MAAd,EAAsBC,MAAtB,EAA8BP,OAA9B,CAAP;AACD","sourcesContent":["import Diff from './base';\nimport {generateOptions} from '../util/params';\n\nexport const lineDiff = new Diff();\nlineDiff.tokenize = function(value) {\n let retLines = [],\n linesAndNewlines = value.split(/(\\n|\\r\\n)/);\n\n // Ignore the final empty token that occurs if the string ends with a new line\n if (!linesAndNewlines[linesAndNewlines.length - 1]) {\n linesAndNewlines.pop();\n }\n\n // Merge the content and line separators into single tokens\n for (let i = 0; i < linesAndNewlines.length; i++) {\n let line = linesAndNewlines[i];\n\n if (i % 2 && !this.options.newlineIsToken) {\n retLines[retLines.length - 1] += line;\n } else {\n if (this.options.ignoreWhitespace) {\n line = line.trim();\n }\n retLines.push(line);\n }\n }\n\n return retLines;\n};\n\nexport function diffLines(oldStr, newStr, callback) { return lineDiff.diff(oldStr, newStr, callback); }\nexport function diffTrimmedLines(oldStr, newStr, callback) {\n let options = generateOptions(callback, {ignoreWhitespace: true});\n return lineDiff.diff(oldStr, newStr, options);\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/sentence.js":{"lineLengths":[25,13,0,46,13,3,38,30,0,23,3,25,49,23,1,0,123,0,23,22,25,5,23,1,25,9,23,4,0,25,36,0,23,42,46,2,0,50,53,1,1196,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/sentence.js"],"names":["sentenceDiff","Diff","tokenize","value","split","diffSentences","oldStr","newStr","callback","diff"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;AAGO,IAAMA,YAAY,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAArB;;;;;;AACPD,YAAY,CAACE,QAAb,GAAwB,UAASC,KAAT,EAAgB;AACtC,SAAOA,KAAK,CAACC,KAAN,CAAY,uBAAZ,CAAP;AACD,CAFD;;AAIO,SAASC,aAAT,CAAuBC,MAAvB,EAA+BC,MAA/B,EAAuCC,QAAvC,EAAiD;AAAE,SAAOR,YAAY,CAACS,IAAb,CAAkBH,MAAlB,EAA0BC,MAA1B,EAAkCC,QAAlC,CAAP;AAAqD","sourcesContent":["import Diff from './base';\n\n\nexport const sentenceDiff = new Diff();\nsentenceDiff.tokenize = function(value) {\n return value.split(/(\\S.+?[.!?])(?=\\s+|$)/);\n};\n\nexport function diffSentences(oldStr, newStr, callback) { return sentenceDiff.diff(oldStr, newStr, callback); }\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/css.js":{"lineLengths":[25,13,0,46,13,3,26,25,0,23,3,25,49,23,1,0,123,0,23,17,25,5,23,1,25,9,23,4,0,25,26,0,23,37,38,2,0,44,48,1,1128,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/css.js"],"names":["cssDiff","Diff","tokenize","value","split","diffCss","oldStr","newStr","callback","diff"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;AAEO,IAAMA,OAAO,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAAhB;;;;;;AACPD,OAAO,CAACE,QAAR,GAAmB,UAASC,KAAT,EAAgB;AACjC,SAAOA,KAAK,CAACC,KAAN,CAAY,eAAZ,CAAP;AACD,CAFD;;AAIO,SAASC,OAAT,CAAiBC,MAAjB,EAAyBC,MAAzB,EAAiCC,QAAjC,EAA2C;AAAE,SAAOR,OAAO,CAACS,IAAR,CAAaH,MAAb,EAAqBC,MAArB,EAA6BC,QAA7B,CAAP;AAAgD","sourcesContent":["import Diff from './base';\n\nexport const cssDiff = new Diff();\ncssDiff.tokenize = function(value) {\n return value.split(/([{}:;,]|\\s+)/);\n};\n\nexport function diffCss(oldStr, newStr, callback) { return cssDiff.diff(oldStr, newStr, callback); }\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/json.js":{"lineLengths":[25,13,0,46,13,3,28,36,26,0,23,3,25,49,23,1,0,3,25,25,23,1,0,123,0,378,0,23,56,18,25,5,23,1,25,9,23,97,105,0,25,28,0,23,32,19,25,5,23,1,25,8,23,10,0,39,27,21,25,15,64,62,76,27,3,12,29,57,6,28,137,2,0,42,10,29,9,27,5,29,13,27,106,4,2,0,44,48,98,95,0,0,68,22,44,0,17,29,3,0,8,0,41,27,33,5,3,0,23,0,63,20,45,44,0,41,89,5,0,16,27,28,3,0,26,23,3,0,6,27,10,25,38,20,26,44,0,24,13,0,23,32,37,30,7,5,0,22,0,48,27,96,5,0,16,27,10,27,3,0,26,1,8576,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/json.js"],"names":["objectPrototypeToString","Object","prototype","toString","jsonDiff","Diff","useLongestToken","tokenize","lineDiff","castInput","value","options","undefinedReplacement","stringifyReplacer","k","v","JSON","stringify","canonicalize","equals","left","right","call","replace","diffJson","oldObj","newObj","diff","obj","stack","replacementStack","replacer","key","i","length","canonicalizedObj","push","Array","pop","toJSON","sortedKeys","hasOwnProperty","sort"],"mappings":";;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;;;;;;AAEA,IAAMA,uBAAuB,GAAGC,MAAM,CAACC,SAAP,CAAiBC,QAAjD;AAGO,IAAMC,QAAQ,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAAjB,C,CACP;AACA;;;;;;AACAD,QAAQ,CAACE,eAAT,GAA2B,IAA3B;AAEAF,QAAQ,CAACG,QAAT;AAAoBC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,CAASD,QAA7B;;AACAH,QAAQ,CAACK,SAAT,GAAqB,UAASC,KAAT,EAAgB;AAAA;AAAA;AAAA;AAC+E,OAAKC,OADpF;AAAA,MAC5BC,oBAD4B,iBAC5BA,oBAD4B;AAAA,4CACNC,iBADM;AAAA,MACNA,iBADM,sCACc,UAACC,CAAD,EAAIC,CAAJ;AAAA;AAAA;AAAA;AAAA;AAAU,aAAOA,CAAP,KAAa,WAAb,GAA2BH,oBAA3B,GAAkDG;AAA5D;AAAA,GADd;AAGnC,SAAO,OAAOL,KAAP,KAAiB,QAAjB,GAA4BA,KAA5B,GAAoCM,IAAI,CAACC,SAAL,CAAeC,YAAY,CAACR,KAAD,EAAQ,IAAR,EAAc,IAAd,EAAoBG,iBAApB,CAA3B,EAAmEA,iBAAnE,EAAsF,IAAtF,CAA3C;AACD,CAJD;;AAKAT,QAAQ,CAACe,MAAT,GAAkB,UAASC,IAAT,EAAeC,KAAf,EAAsB;AACtC,SAAOhB;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,MAAKH,SAAL,CAAeiB,MAAf,CAAsBG,IAAtB,CAA2BlB,QAA3B,EAAqCgB,IAAI,CAACG,OAAL,CAAa,YAAb,EAA2B,IAA3B,CAArC,EAAuEF,KAAK,CAACE,OAAN,CAAc,YAAd,EAA4B,IAA5B,CAAvE;AAAP;AACD,CAFD;;AAIO,SAASC,QAAT,CAAkBC,MAAlB,EAA0BC,MAA1B,EAAkCf,OAAlC,EAA2C;AAAE,SAAOP,QAAQ,CAACuB,IAAT,CAAcF,MAAd,EAAsBC,MAAtB,EAA8Bf,OAA9B,CAAP;AAAgD,C,CAEpG;AACA;;;AACO,SAASO,YAAT,CAAsBU,GAAtB,EAA2BC,KAA3B,EAAkCC,gBAAlC,EAAoDC,QAApD,EAA8DC,GAA9D,EAAmE;AACxEH,EAAAA,KAAK,GAAGA,KAAK,IAAI,EAAjB;AACAC,EAAAA,gBAAgB,GAAGA,gBAAgB,IAAI,EAAvC;;AAEA,MAAIC,QAAJ,EAAc;AACZH,IAAAA,GAAG,GAAGG,QAAQ,CAACC,GAAD,EAAMJ,GAAN,CAAd;AACD;;AAED,MAAIK,CAAJ;;AAEA,OAAKA,CAAC,GAAG,CAAT,EAAYA,CAAC,GAAGJ,KAAK,CAACK,MAAtB,EAA8BD,CAAC,IAAI,CAAnC,EAAsC;AACpC,QAAIJ,KAAK,CAACI,CAAD,CAAL,KAAaL,GAAjB,EAAsB;AACpB,aAAOE,gBAAgB,CAACG,CAAD,CAAvB;AACD;AACF;;AAED,MAAIE,gBAAJ;;AAEA,MAAI,qBAAqBnC,uBAAuB,CAACsB,IAAxB,CAA6BM,GAA7B,CAAzB,EAA4D;AAC1DC,IAAAA,KAAK,CAACO,IAAN,CAAWR,GAAX;AACAO,IAAAA,gBAAgB,GAAG,IAAIE,KAAJ,CAAUT,GAAG,CAACM,MAAd,CAAnB;AACAJ,IAAAA,gBAAgB,CAACM,IAAjB,CAAsBD,gBAAtB;;AACA,SAAKF,CAAC,GAAG,CAAT,EAAYA,CAAC,GAAGL,GAAG,CAACM,MAApB,EAA4BD,CAAC,IAAI,CAAjC,EAAoC;AAClCE,MAAAA,gBAAgB,CAACF,CAAD,CAAhB,GAAsBf,YAAY,CAACU,GAAG,CAACK,CAAD,CAAJ,EAASJ,KAAT,EAAgBC,gBAAhB,EAAkCC,QAAlC,EAA4CC,GAA5C,CAAlC;AACD;;AACDH,IAAAA,KAAK,CAACS,GAAN;AACAR,IAAAA,gBAAgB,CAACQ,GAAjB;AACA,WAAOH,gBAAP;AACD;;AAED,MAAIP,GAAG,IAAIA,GAAG,CAACW,MAAf,EAAuB;AACrBX,IAAAA,GAAG,GAAGA,GAAG,CAACW,MAAJ,EAAN;AACD;;AAED;AAAI;AAAA;AAAA;AAAOX,EAAAA,GAAP,MAAe,QAAf,IAA2BA,GAAG,KAAK,IAAvC,EAA6C;AAC3CC,IAAAA,KAAK,CAACO,IAAN,CAAWR,GAAX;AACAO,IAAAA,gBAAgB,GAAG,EAAnB;AACAL,IAAAA,gBAAgB,CAACM,IAAjB,CAAsBD,gBAAtB;;AACA,QAAIK,UAAU,GAAG,EAAjB;AAAA,QACIR,IADJ;;AAEA,SAAKA,IAAL,IAAYJ,GAAZ,EAAiB;AACf;AACA,UAAIA,GAAG,CAACa,cAAJ,CAAmBT,IAAnB,CAAJ,EAA6B;AAC3BQ,QAAAA,UAAU,CAACJ,IAAX,CAAgBJ,IAAhB;AACD;AACF;;AACDQ,IAAAA,UAAU,CAACE,IAAX;;AACA,SAAKT,CAAC,GAAG,CAAT,EAAYA,CAAC,GAAGO,UAAU,CAACN,MAA3B,EAAmCD,CAAC,IAAI,CAAxC,EAA2C;AACzCD,MAAAA,IAAG,GAAGQ,UAAU,CAACP,CAAD,CAAhB;AACAE,MAAAA,gBAAgB,CAACH,IAAD,CAAhB,GAAwBd,YAAY,CAACU,GAAG,CAACI,IAAD,CAAJ,EAAWH,KAAX,EAAkBC,gBAAlB,EAAoCC,QAApC,EAA8CC,IAA9C,CAApC;AACD;;AACDH,IAAAA,KAAK,CAACS,GAAN;AACAR,IAAAA,gBAAgB,CAACQ,GAAjB;AACD,GAnBD,MAmBO;AACLH,IAAAA,gBAAgB,GAAGP,GAAnB;AACD;;AACD,SAAOO,gBAAP;AACD","sourcesContent":["import Diff from './base';\nimport {lineDiff} from './line';\n\nconst objectPrototypeToString = Object.prototype.toString;\n\n\nexport const jsonDiff = new Diff();\n// Discriminate between two lines of pretty-printed, serialized JSON where one of them has a\n// dangling comma and the other doesn't. Turns out including the dangling comma yields the nicest output:\njsonDiff.useLongestToken = true;\n\njsonDiff.tokenize = lineDiff.tokenize;\njsonDiff.castInput = function(value) {\n const {undefinedReplacement, stringifyReplacer = (k, v) => typeof v === 'undefined' ? undefinedReplacement : v} = this.options;\n\n return typeof value === 'string' ? value : JSON.stringify(canonicalize(value, null, null, stringifyReplacer), stringifyReplacer, ' ');\n};\njsonDiff.equals = function(left, right) {\n return Diff.prototype.equals.call(jsonDiff, left.replace(/,([\\r\\n])/g, '$1'), right.replace(/,([\\r\\n])/g, '$1'));\n};\n\nexport function diffJson(oldObj, newObj, options) { return jsonDiff.diff(oldObj, newObj, options); }\n\n// This function handles the presence of circular references by bailing out when encountering an\n// object that is already on the \"stack\" of items being processed. Accepts an optional replacer\nexport function canonicalize(obj, stack, replacementStack, replacer, key) {\n stack = stack || [];\n replacementStack = replacementStack || [];\n\n if (replacer) {\n obj = replacer(key, obj);\n }\n\n let i;\n\n for (i = 0; i < stack.length; i += 1) {\n if (stack[i] === obj) {\n return replacementStack[i];\n }\n }\n\n let canonicalizedObj;\n\n if ('[object Array]' === objectPrototypeToString.call(obj)) {\n stack.push(obj);\n canonicalizedObj = new Array(obj.length);\n replacementStack.push(canonicalizedObj);\n for (i = 0; i < obj.length; i += 1) {\n canonicalizedObj[i] = canonicalize(obj[i], stack, replacementStack, replacer, key);\n }\n stack.pop();\n replacementStack.pop();\n return canonicalizedObj;\n }\n\n if (obj && obj.toJSON) {\n obj = obj.toJSON();\n }\n\n if (typeof obj === 'object' && obj !== null) {\n stack.push(obj);\n canonicalizedObj = {};\n replacementStack.push(canonicalizedObj);\n let sortedKeys = [],\n key;\n for (key in obj) {\n /* istanbul ignore else */\n if (obj.hasOwnProperty(key)) {\n sortedKeys.push(key);\n }\n }\n sortedKeys.sort();\n for (i = 0; i < sortedKeys.length; i += 1) {\n key = sortedKeys[i];\n canonicalizedObj[key] = canonicalize(obj[key], stack, replacementStack, replacer, key);\n }\n stack.pop();\n replacementStack.pop();\n } else {\n canonicalizedObj = obj;\n }\n return canonicalizedObj;\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/array.js":{"lineLengths":[25,13,0,46,13,3,32,27,0,23,3,25,49,23,1,0,123,0,23,19,25,5,23,1,25,9,23,4,0,25,30,0,23,39,23,2,0,59,15,2,0,47,50,1,1376,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/array.js"],"names":["arrayDiff","Diff","tokenize","value","slice","join","removeEmpty","diffArrays","oldArr","newArr","callback","diff"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;AAEO,IAAMA,SAAS,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAAlB;;;;;;AACPD,SAAS,CAACE,QAAV,GAAqB,UAASC,KAAT,EAAgB;AACnC,SAAOA,KAAK,CAACC,KAAN,EAAP;AACD,CAFD;;AAGAJ,SAAS,CAACK,IAAV,GAAiBL,SAAS,CAACM,WAAV,GAAwB,UAASH,KAAT,EAAgB;AACvD,SAAOA,KAAP;AACD,CAFD;;AAIO,SAASI,UAAT,CAAoBC,MAApB,EAA4BC,MAA5B,EAAoCC,QAApC,EAA8C;AAAE,SAAOV,SAAS,CAACW,IAAV,CAAeH,MAAf,EAAuBC,MAAvB,EAA+BC,QAA/B,CAAP;AAAkD","sourcesContent":["import Diff from './base';\n\nexport const arrayDiff = new Diff();\narrayDiff.tokenize = function(value) {\n return value.slice();\n};\narrayDiff.join = arrayDiff.removeEmpty = function(value) {\n return value;\n};\n\nexport function diffArrays(oldArr, newArr, callback) { return arrayDiff.diff(oldArr, newArr, callback); }\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/apply.js":{"lineLengths":[25,13,0,46,13,3,32,36,0,23,3,25,27,23,1,0,3,25,80,23,1,0,123,0,23,38,27,5,25,83,0,36,13,29,7,27,0,29,10,27,5,29,15,27,14,3,0,31,29,68,5,0,25,34,0,0,50,62,28,95,27,3,12,29,27,6,4,21,43,18,17,18,15,5,61,5,0,0,34,49,31,54,60,0,51,31,72,23,0,40,25,11,9,0,16,7,5,0,16,71,0,0,42,24,47,24,43,18,29,7,27,0,29,21,27,5,29,13,27,32,0,65,48,44,14,7,5,0,36,19,80,39,0,0,58,24,0,0,21,0,45,26,64,0,50,0,50,32,54,60,46,0,30,17,37,32,37,34,37,41,48,17,38,82,0,40,29,47,26,9,7,5,37,0,0,20,38,18,23,5,24,19,26,3,0,49,43,3,0,24,63,0,0,41,36,13,29,7,27,0,29,10,27,5,29,15,27,14,3,0,23,0,27,40,0,17,32,5,0,50,16,37,7,0,60,61,18,39,9,0,23,9,7,3,0,17,1,14196,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/patch/apply.js"],"names":["applyPatch","source","uniDiff","options","parsePatch","Array","isArray","length","Error","lines","split","delimiters","match","hunks","compareLine","lineNumber","line","operation","patchContent","errorCount","fuzzFactor","minLine","offset","removeEOFNL","addEOFNL","hunkFits","hunk","toPos","j","content","substr","i","maxLine","oldLines","localOffset","oldStart","iterator","distanceIterator","undefined","diffOffset","newLines","delimiter","linedelimiters","splice","previousOperation","pop","push","_k","join","applyPatches","currentIndex","processIndex","index","complete","loadFile","err","data","updatedContent","patched"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;;;;AAEO,SAASA,UAAT,CAAoBC,MAApB,EAA4BC,OAA5B,EAAmD;AAAA;AAAA;AAAA;AAAdC,EAAAA,OAAc,uEAAJ,EAAI;;AACxD,MAAI,OAAOD,OAAP,KAAmB,QAAvB,EAAiC;AAC/BA,IAAAA,OAAO;AAAG;AAAA;AAAA;;AAAAE;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,KAAWF,OAAX,CAAV;AACD;;AAED,MAAIG,KAAK,CAACC,OAAN,CAAcJ,OAAd,CAAJ,EAA4B;AAC1B,QAAIA,OAAO,CAACK,MAAR,GAAiB,CAArB,EAAwB;AACtB,YAAM,IAAIC,KAAJ,CAAU,4CAAV,CAAN;AACD;;AAEDN,IAAAA,OAAO,GAAGA,OAAO,CAAC,CAAD,CAAjB;AACD,GAXuD,CAaxD;;;AACA,MAAIO,KAAK,GAAGR,MAAM,CAACS,KAAP,CAAa,qBAAb,CAAZ;AAAA,MACIC,UAAU,GAAGV,MAAM,CAACW,KAAP,CAAa,sBAAb,KAAwC,EADzD;AAAA,MAEIC,KAAK,GAAGX,OAAO,CAACW,KAFpB;AAAA,MAIIC,WAAW,GAAGX,OAAO,CAACW,WAAR,IAAwB,UAACC,UAAD,EAAaC,IAAb,EAAmBC,SAAnB,EAA8BC,YAA9B;AAAA;AAAA;AAAA;AAAA;AAA+CF,MAAAA,IAAI,KAAKE;AAAxD;AAAA,GAJ1C;AAAA,MAKIC,UAAU,GAAG,CALjB;AAAA,MAMIC,UAAU,GAAGjB,OAAO,CAACiB,UAAR,IAAsB,CANvC;AAAA,MAOIC,OAAO,GAAG,CAPd;AAAA,MAQIC,MAAM,GAAG,CARb;AAAA,MAUIC,WAVJ;AAAA,MAWIC,QAXJ;AAaA;;;;;AAGA,WAASC,QAAT,CAAkBC,IAAlB,EAAwBC,KAAxB,EAA+B;AAC7B,SAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGF,IAAI,CAACjB,KAAL,CAAWF,MAA/B,EAAuCqB,CAAC,EAAxC,EAA4C;AAC1C,UAAIZ,IAAI,GAAGU,IAAI,CAACjB,KAAL,CAAWmB,CAAX,CAAX;AAAA,UACIX,SAAS,GAAID,IAAI,CAACT,MAAL,GAAc,CAAd,GAAkBS,IAAI,CAAC,CAAD,CAAtB,GAA4B,GAD7C;AAAA,UAEIa,OAAO,GAAIb,IAAI,CAACT,MAAL,GAAc,CAAd,GAAkBS,IAAI,CAACc,MAAL,CAAY,CAAZ,CAAlB,GAAmCd,IAFlD;;AAIA,UAAIC,SAAS,KAAK,GAAd,IAAqBA,SAAS,KAAK,GAAvC,EAA4C;AAC1C;AACA,YAAI,CAACH,WAAW,CAACa,KAAK,GAAG,CAAT,EAAYlB,KAAK,CAACkB,KAAD,CAAjB,EAA0BV,SAA1B,EAAqCY,OAArC,CAAhB,EAA+D;AAC7DV,UAAAA,UAAU;;AAEV,cAAIA,UAAU,GAAGC,UAAjB,EAA6B;AAC3B,mBAAO,KAAP;AACD;AACF;;AACDO,QAAAA,KAAK;AACN;AACF;;AAED,WAAO,IAAP;AACD,GAlDuD,CAoDxD;;;AACA,OAAK,IAAII,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGlB,KAAK,CAACN,MAA1B,EAAkCwB,CAAC,EAAnC,EAAuC;AACrC,QAAIL,IAAI,GAAGb,KAAK,CAACkB,CAAD,CAAhB;AAAA,QACIC,OAAO,GAAGvB,KAAK,CAACF,MAAN,GAAemB,IAAI,CAACO,QADlC;AAAA,QAEIC,WAAW,GAAG,CAFlB;AAAA,QAGIP,KAAK,GAAGL,MAAM,GAAGI,IAAI,CAACS,QAAd,GAAyB,CAHrC;AAKA,QAAIC,QAAQ;AAAG;AAAA;AAAA;;AAAAC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,OAAiBV,KAAjB,EAAwBN,OAAxB,EAAiCW,OAAjC,CAAf;;AAEA,WAAOE,WAAW,KAAKI,SAAvB,EAAkCJ,WAAW,GAAGE,QAAQ,EAAxD,EAA4D;AAC1D,UAAIX,QAAQ,CAACC,IAAD,EAAOC,KAAK,GAAGO,WAAf,CAAZ,EAAyC;AACvCR,QAAAA,IAAI,CAACJ,MAAL,GAAcA,MAAM,IAAIY,WAAxB;AACA;AACD;AACF;;AAED,QAAIA,WAAW,KAAKI,SAApB,EAA+B;AAC7B,aAAO,KAAP;AACD,KAjBoC,CAmBrC;AACA;;;AACAjB,IAAAA,OAAO,GAAGK,IAAI,CAACJ,MAAL,GAAcI,IAAI,CAACS,QAAnB,GAA8BT,IAAI,CAACO,QAA7C;AACD,GA3EuD,CA6ExD;;;AACA,MAAIM,UAAU,GAAG,CAAjB;;AACA,OAAK,IAAIR,EAAC,GAAG,CAAb,EAAgBA,EAAC,GAAGlB,KAAK,CAACN,MAA1B,EAAkCwB,EAAC,EAAnC,EAAuC;AACrC,QAAIL,KAAI,GAAGb,KAAK,CAACkB,EAAD,CAAhB;AAAA,QACIJ,MAAK,GAAGD,KAAI,CAACS,QAAL,GAAgBT,KAAI,CAACJ,MAArB,GAA8BiB,UAA9B,GAA2C,CADvD;;AAEAA,IAAAA,UAAU,IAAIb,KAAI,CAACc,QAAL,GAAgBd,KAAI,CAACO,QAAnC;;AAEA,SAAK,IAAIL,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGF,KAAI,CAACjB,KAAL,CAAWF,MAA/B,EAAuCqB,CAAC,EAAxC,EAA4C;AAC1C,UAAIZ,IAAI,GAAGU,KAAI,CAACjB,KAAL,CAAWmB,CAAX,CAAX;AAAA,UACIX,SAAS,GAAID,IAAI,CAACT,MAAL,GAAc,CAAd,GAAkBS,IAAI,CAAC,CAAD,CAAtB,GAA4B,GAD7C;AAAA,UAEIa,OAAO,GAAIb,IAAI,CAACT,MAAL,GAAc,CAAd,GAAkBS,IAAI,CAACc,MAAL,CAAY,CAAZ,CAAlB,GAAmCd,IAFlD;AAAA,UAGIyB,SAAS,GAAGf,KAAI,CAACgB,cAAL,CAAoBd,CAApB,CAHhB;;AAKA,UAAIX,SAAS,KAAK,GAAlB,EAAuB;AACrBU,QAAAA,MAAK;AACN,OAFD,MAEO,IAAIV,SAAS,KAAK,GAAlB,EAAuB;AAC5BR,QAAAA,KAAK,CAACkC,MAAN,CAAahB,MAAb,EAAoB,CAApB;AACAhB,QAAAA,UAAU,CAACgC,MAAX,CAAkBhB,MAAlB,EAAyB,CAAzB;AACF;AACC,OAJM,MAIA,IAAIV,SAAS,KAAK,GAAlB,EAAuB;AAC5BR,QAAAA,KAAK,CAACkC,MAAN,CAAahB,MAAb,EAAoB,CAApB,EAAuBE,OAAvB;AACAlB,QAAAA,UAAU,CAACgC,MAAX,CAAkBhB,MAAlB,EAAyB,CAAzB,EAA4Bc,SAA5B;AACAd,QAAAA,MAAK;AACN,OAJM,MAIA,IAAIV,SAAS,KAAK,IAAlB,EAAwB;AAC7B,YAAI2B,iBAAiB,GAAGlB,KAAI,CAACjB,KAAL,CAAWmB,CAAC,GAAG,CAAf,IAAoBF,KAAI,CAACjB,KAAL,CAAWmB,CAAC,GAAG,CAAf,EAAkB,CAAlB,CAApB,GAA2C,IAAnE;;AACA,YAAIgB,iBAAiB,KAAK,GAA1B,EAA+B;AAC7BrB,UAAAA,WAAW,GAAG,IAAd;AACD,SAFD,MAEO,IAAIqB,iBAAiB,KAAK,GAA1B,EAA+B;AACpCpB,UAAAA,QAAQ,GAAG,IAAX;AACD;AACF;AACF;AACF,GA7GuD,CA+GxD;;;AACA,MAAID,WAAJ,EAAiB;AACf,WAAO,CAACd,KAAK,CAACA,KAAK,CAACF,MAAN,GAAe,CAAhB,CAAb,EAAiC;AAC/BE,MAAAA,KAAK,CAACoC,GAAN;AACAlC,MAAAA,UAAU,CAACkC,GAAX;AACD;AACF,GALD,MAKO,IAAIrB,QAAJ,EAAc;AACnBf,IAAAA,KAAK,CAACqC,IAAN,CAAW,EAAX;AACAnC,IAAAA,UAAU,CAACmC,IAAX,CAAgB,IAAhB;AACD;;AACD,OAAK,IAAIC,EAAE,GAAG,CAAd,EAAiBA,EAAE,GAAGtC,KAAK,CAACF,MAAN,GAAe,CAArC,EAAwCwC,EAAE,EAA1C,EAA8C;AAC5CtC,IAAAA,KAAK,CAACsC,EAAD,CAAL,GAAYtC,KAAK,CAACsC,EAAD,CAAL,GAAYpC,UAAU,CAACoC,EAAD,CAAlC;AACD;;AACD,SAAOtC,KAAK,CAACuC,IAAN,CAAW,EAAX,CAAP;AACD,C,CAED;;;AACO,SAASC,YAAT,CAAsB/C,OAAtB,EAA+BC,OAA/B,EAAwC;AAC7C,MAAI,OAAOD,OAAP,KAAmB,QAAvB,EAAiC;AAC/BA,IAAAA,OAAO;AAAG;AAAA;AAAA;;AAAAE;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,KAAWF,OAAX,CAAV;AACD;;AAED,MAAIgD,YAAY,GAAG,CAAnB;;AACA,WAASC,YAAT,GAAwB;AACtB,QAAIC,KAAK,GAAGlD,OAAO,CAACgD,YAAY,EAAb,CAAnB;;AACA,QAAI,CAACE,KAAL,EAAY;AACV,aAAOjD,OAAO,CAACkD,QAAR,EAAP;AACD;;AAEDlD,IAAAA,OAAO,CAACmD,QAAR,CAAiBF,KAAjB,EAAwB,UAASG,GAAT,EAAcC,IAAd,EAAoB;AAC1C,UAAID,GAAJ,EAAS;AACP,eAAOpD,OAAO,CAACkD,QAAR,CAAiBE,GAAjB,CAAP;AACD;;AAED,UAAIE,cAAc,GAAGzD,UAAU,CAACwD,IAAD,EAAOJ,KAAP,EAAcjD,OAAd,CAA/B;AACAA,MAAAA,OAAO,CAACuD,OAAR,CAAgBN,KAAhB,EAAuBK,cAAvB,EAAuC,UAASF,GAAT,EAAc;AACnD,YAAIA,GAAJ,EAAS;AACP,iBAAOpD,OAAO,CAACkD,QAAR,CAAiBE,GAAjB,CAAP;AACD;;AAEDJ,QAAAA,YAAY;AACb,OAND;AAOD,KAbD;AAcD;;AACDA,EAAAA,YAAY;AACb","sourcesContent":["import {parsePatch} from './parse';\nimport distanceIterator from '../util/distance-iterator';\n\nexport function applyPatch(source, uniDiff, options = {}) {\n if (typeof uniDiff === 'string') {\n uniDiff = parsePatch(uniDiff);\n }\n\n if (Array.isArray(uniDiff)) {\n if (uniDiff.length > 1) {\n throw new Error('applyPatch only works with a single input.');\n }\n\n uniDiff = uniDiff[0];\n }\n\n // Apply the diff to the input\n let lines = source.split(/\\r\\n|[\\n\\v\\f\\r\\x85]/),\n delimiters = source.match(/\\r\\n|[\\n\\v\\f\\r\\x85]/g) || [],\n hunks = uniDiff.hunks,\n\n compareLine = options.compareLine || ((lineNumber, line, operation, patchContent) => line === patchContent),\n errorCount = 0,\n fuzzFactor = options.fuzzFactor || 0,\n minLine = 0,\n offset = 0,\n\n removeEOFNL,\n addEOFNL;\n\n /**\n * Checks if the hunk exactly fits on the provided location\n */\n function hunkFits(hunk, toPos) {\n for (let j = 0; j < hunk.lines.length; j++) {\n let line = hunk.lines[j],\n operation = (line.length > 0 ? line[0] : ' '),\n content = (line.length > 0 ? line.substr(1) : line);\n\n if (operation === ' ' || operation === '-') {\n // Context sanity check\n if (!compareLine(toPos + 1, lines[toPos], operation, content)) {\n errorCount++;\n\n if (errorCount > fuzzFactor) {\n return false;\n }\n }\n toPos++;\n }\n }\n\n return true;\n }\n\n // Search best fit offsets for each hunk based on the previous ones\n for (let i = 0; i < hunks.length; i++) {\n let hunk = hunks[i],\n maxLine = lines.length - hunk.oldLines,\n localOffset = 0,\n toPos = offset + hunk.oldStart - 1;\n\n let iterator = distanceIterator(toPos, minLine, maxLine);\n\n for (; localOffset !== undefined; localOffset = iterator()) {\n if (hunkFits(hunk, toPos + localOffset)) {\n hunk.offset = offset += localOffset;\n break;\n }\n }\n\n if (localOffset === undefined) {\n return false;\n }\n\n // Set lower text limit to end of the current hunk, so next ones don't try\n // to fit over already patched text\n minLine = hunk.offset + hunk.oldStart + hunk.oldLines;\n }\n\n // Apply patch hunks\n let diffOffset = 0;\n for (let i = 0; i < hunks.length; i++) {\n let hunk = hunks[i],\n toPos = hunk.oldStart + hunk.offset + diffOffset - 1;\n diffOffset += hunk.newLines - hunk.oldLines;\n\n for (let j = 0; j < hunk.lines.length; j++) {\n let line = hunk.lines[j],\n operation = (line.length > 0 ? line[0] : ' '),\n content = (line.length > 0 ? line.substr(1) : line),\n delimiter = hunk.linedelimiters[j];\n\n if (operation === ' ') {\n toPos++;\n } else if (operation === '-') {\n lines.splice(toPos, 1);\n delimiters.splice(toPos, 1);\n /* istanbul ignore else */\n } else if (operation === '+') {\n lines.splice(toPos, 0, content);\n delimiters.splice(toPos, 0, delimiter);\n toPos++;\n } else if (operation === '\\\\') {\n let previousOperation = hunk.lines[j - 1] ? hunk.lines[j - 1][0] : null;\n if (previousOperation === '+') {\n removeEOFNL = true;\n } else if (previousOperation === '-') {\n addEOFNL = true;\n }\n }\n }\n }\n\n // Handle EOFNL insertion/removal\n if (removeEOFNL) {\n while (!lines[lines.length - 1]) {\n lines.pop();\n delimiters.pop();\n }\n } else if (addEOFNL) {\n lines.push('');\n delimiters.push('\\n');\n }\n for (let _k = 0; _k < lines.length - 1; _k++) {\n lines[_k] = lines[_k] + delimiters[_k];\n }\n return lines.join('');\n}\n\n// Wrapper that supports multiple file patches via callbacks.\nexport function applyPatches(uniDiff, options) {\n if (typeof uniDiff === 'string') {\n uniDiff = parsePatch(uniDiff);\n }\n\n let currentIndex = 0;\n function processIndex() {\n let index = uniDiff[currentIndex++];\n if (!index) {\n return options.complete();\n }\n\n options.loadFile(index, function(err, data) {\n if (err) {\n return options.complete(err);\n }\n\n let updatedContent = applyPatch(data, index, options);\n options.patched(index, updatedContent, function(err) {\n if (err) {\n return options.complete(err);\n }\n\n processIndex();\n });\n });\n }\n processIndex();\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/parse.js":{"lineLengths":[25,13,0,46,13,3,32,0,23,30,27,5,25,83,53,63,16,12,0,25,19,44,0,32,76,0,47,14,21,0,0,73,0,19,32,7,0,10,80,79,0,0,27,42,0,21,0,32,29,0,57,14,37,38,43,58,81,14,12,7,5,66,18,0,0,35,62,0,21,62,46,52,0,36,59,7,0,47,59,10,5,20,53,0,0,24,29,39,90,16,32,76,32,76,16,24,60,59,64,0,30,25,5,0,30,25,5,0,21,24,0,37,84,88,149,14,7,0,94,0,94,36,56,0,32,21,39,24,39,21,24,9,14,14,7,42,0,0,43,24,5,0,46,24,41,0,0,25,39,101,7,0,42,103,7,5,0,16,3,0,30,17,3,0,14,1,13176,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/patch/parse.js"],"names":["parsePatch","uniDiff","options","diffstr","split","delimiters","match","list","i","parseIndex","index","push","length","line","test","header","exec","parseFileHeader","hunks","parseHunk","strict","Error","JSON","stringify","fileHeader","keyPrefix","data","fileName","replace","substr","trim","chunkHeaderIndex","chunkHeaderLine","chunkHeader","hunk","oldStart","oldLines","newStart","newLines","lines","linedelimiters","addCount","removeCount","indexOf","operation"],"mappings":";;;;;;;;;AAAO,SAASA,UAAT,CAAoBC,OAApB,EAA2C;AAAA;AAAA;AAAA;AAAdC,EAAAA,OAAc,uEAAJ,EAAI;AAChD,MAAIC,OAAO,GAAGF,OAAO,CAACG,KAAR,CAAc,qBAAd,CAAd;AAAA,MACIC,UAAU,GAAGJ,OAAO,CAACK,KAAR,CAAc,sBAAd,KAAyC,EAD1D;AAAA,MAEIC,IAAI,GAAG,EAFX;AAAA,MAGIC,CAAC,GAAG,CAHR;;AAKA,WAASC,UAAT,GAAsB;AACpB,QAAIC,KAAK,GAAG,EAAZ;AACAH,IAAAA,IAAI,CAACI,IAAL,CAAUD,KAAV,EAFoB,CAIpB;;AACA,WAAOF,CAAC,GAAGL,OAAO,CAACS,MAAnB,EAA2B;AACzB,UAAIC,IAAI,GAAGV,OAAO,CAACK,CAAD,CAAlB,CADyB,CAGzB;;AACA,UAAK,uBAAD,CAA0BM,IAA1B,CAA+BD,IAA/B,CAAJ,EAA0C;AACxC;AACD,OANwB,CAQzB;;;AACA,UAAIE,MAAM,GAAI,0CAAD,CAA6CC,IAA7C,CAAkDH,IAAlD,CAAb;;AACA,UAAIE,MAAJ,EAAY;AACVL,QAAAA,KAAK,CAACA,KAAN,GAAcK,MAAM,CAAC,CAAD,CAApB;AACD;;AAEDP,MAAAA,CAAC;AACF,KApBmB,CAsBpB;AACA;;;AACAS,IAAAA,eAAe,CAACP,KAAD,CAAf;AACAO,IAAAA,eAAe,CAACP,KAAD,CAAf,CAzBoB,CA2BpB;;AACAA,IAAAA,KAAK,CAACQ,KAAN,GAAc,EAAd;;AAEA,WAAOV,CAAC,GAAGL,OAAO,CAACS,MAAnB,EAA2B;AACzB,UAAIC,KAAI,GAAGV,OAAO,CAACK,CAAD,CAAlB;;AAEA,UAAK,gCAAD,CAAmCM,IAAnC,CAAwCD,KAAxC,CAAJ,EAAmD;AACjD;AACD,OAFD,MAEO,IAAK,KAAD,CAAQC,IAAR,CAAaD,KAAb,CAAJ,EAAwB;AAC7BH,QAAAA,KAAK,CAACQ,KAAN,CAAYP,IAAZ,CAAiBQ,SAAS,EAA1B;AACD,OAFM,MAEA,IAAIN,KAAI,IAAIX,OAAO,CAACkB,MAApB,EAA4B;AACjC;AACA,cAAM,IAAIC,KAAJ,CAAU,mBAAmBb,CAAC,GAAG,CAAvB,IAA4B,GAA5B,GAAkCc,IAAI,CAACC,SAAL,CAAeV,KAAf,CAA5C,CAAN;AACD,OAHM,MAGA;AACLL,QAAAA,CAAC;AACF;AACF;AACF,GAlD+C,CAoDhD;AACA;;;AACA,WAASS,eAAT,CAAyBP,KAAzB,EAAgC;AAC9B,QAAMc,UAAU,GAAI,uBAAD,CAA0BR,IAA1B,CAA+Bb,OAAO,CAACK,CAAD,CAAtC,CAAnB;;AACA,QAAIgB,UAAJ,EAAgB;AACd,UAAIC,SAAS,GAAGD,UAAU,CAAC,CAAD,CAAV,KAAkB,KAAlB,GAA0B,KAA1B,GAAkC,KAAlD;AACA,UAAME,IAAI,GAAGF,UAAU,CAAC,CAAD,CAAV,CAAcpB,KAAd,CAAoB,IAApB,EAA0B,CAA1B,CAAb;AACA,UAAIuB,QAAQ,GAAGD,IAAI,CAAC,CAAD,CAAJ,CAAQE,OAAR,CAAgB,OAAhB,EAAyB,IAAzB,CAAf;;AACA,UAAK,QAAD,CAAWd,IAAX,CAAgBa,QAAhB,CAAJ,EAA+B;AAC7BA,QAAAA,QAAQ,GAAGA,QAAQ,CAACE,MAAT,CAAgB,CAAhB,EAAmBF,QAAQ,CAACf,MAAT,GAAkB,CAArC,CAAX;AACD;;AACDF,MAAAA,KAAK,CAACe,SAAS,GAAG,UAAb,CAAL,GAAgCE,QAAhC;AACAjB,MAAAA,KAAK,CAACe,SAAS,GAAG,QAAb,CAAL,GAA8B,CAACC,IAAI,CAAC,CAAD,CAAJ,IAAW,EAAZ,EAAgBI,IAAhB,EAA9B;AAEAtB,MAAAA,CAAC;AACF;AACF,GApE+C,CAsEhD;AACA;;;AACA,WAASW,SAAT,GAAqB;AACnB,QAAIY,gBAAgB,GAAGvB,CAAvB;AAAA,QACIwB,eAAe,GAAG7B,OAAO,CAACK,CAAC,EAAF,CAD7B;AAAA,QAEIyB,WAAW,GAAGD,eAAe,CAAC5B,KAAhB,CAAsB,4CAAtB,CAFlB;AAIA,QAAI8B,IAAI,GAAG;AACTC,MAAAA,QAAQ,EAAE,CAACF,WAAW,CAAC,CAAD,CADb;AAETG,MAAAA,QAAQ,EAAE,OAAOH,WAAW,CAAC,CAAD,CAAlB,KAA0B,WAA1B,GAAwC,CAAxC,GAA4C,CAACA,WAAW,CAAC,CAAD,CAFzD;AAGTI,MAAAA,QAAQ,EAAE,CAACJ,WAAW,CAAC,CAAD,CAHb;AAITK,MAAAA,QAAQ,EAAE,OAAOL,WAAW,CAAC,CAAD,CAAlB,KAA0B,WAA1B,GAAwC,CAAxC,GAA4C,CAACA,WAAW,CAAC,CAAD,CAJzD;AAKTM,MAAAA,KAAK,EAAE,EALE;AAMTC,MAAAA,cAAc,EAAE;AANP,KAAX,CALmB,CAcnB;AACA;AACA;;AACA,QAAIN,IAAI,CAACE,QAAL,KAAkB,CAAtB,EAAyB;AACvBF,MAAAA,IAAI,CAACC,QAAL,IAAiB,CAAjB;AACD;;AACD,QAAID,IAAI,CAACI,QAAL,KAAkB,CAAtB,EAAyB;AACvBJ,MAAAA,IAAI,CAACG,QAAL,IAAiB,CAAjB;AACD;;AAED,QAAII,QAAQ,GAAG,CAAf;AAAA,QACIC,WAAW,GAAG,CADlB;;AAEA,WAAOlC,CAAC,GAAGL,OAAO,CAACS,MAAnB,EAA2BJ,CAAC,EAA5B,EAAgC;AAC9B;AACA;AACA,UAAIL,OAAO,CAACK,CAAD,CAAP,CAAWmC,OAAX,CAAmB,MAAnB,MAA+B,CAA/B,IACMnC,CAAC,GAAG,CAAJ,GAAQL,OAAO,CAACS,MADtB,IAEKT,OAAO,CAACK,CAAC,GAAG,CAAL,CAAP,CAAemC,OAAf,CAAuB,MAAvB,MAAmC,CAFxC,IAGKxC,OAAO,CAACK,CAAC,GAAG,CAAL,CAAP,CAAemC,OAAf,CAAuB,IAAvB,MAAiC,CAH1C,EAG6C;AACzC;AACH;;AACD,UAAIC,SAAS,GAAIzC,OAAO,CAACK,CAAD,CAAP,CAAWI,MAAX,IAAqB,CAArB,IAA0BJ,CAAC,IAAKL,OAAO,CAACS,MAAR,GAAiB,CAAlD,GAAwD,GAAxD,GAA8DT,OAAO,CAACK,CAAD,CAAP,CAAW,CAAX,CAA9E;;AAEA,UAAIoC,SAAS,KAAK,GAAd,IAAqBA,SAAS,KAAK,GAAnC,IAA0CA,SAAS,KAAK,GAAxD,IAA+DA,SAAS,KAAK,IAAjF,EAAuF;AACrFV,QAAAA,IAAI,CAACK,KAAL,CAAW5B,IAAX,CAAgBR,OAAO,CAACK,CAAD,CAAvB;AACA0B,QAAAA,IAAI,CAACM,cAAL,CAAoB7B,IAApB,CAAyBN,UAAU,CAACG,CAAD,CAAV,IAAiB,IAA1C;;AAEA,YAAIoC,SAAS,KAAK,GAAlB,EAAuB;AACrBH,UAAAA,QAAQ;AACT,SAFD,MAEO,IAAIG,SAAS,KAAK,GAAlB,EAAuB;AAC5BF,UAAAA,WAAW;AACZ,SAFM,MAEA,IAAIE,SAAS,KAAK,GAAlB,EAAuB;AAC5BH,UAAAA,QAAQ;AACRC,UAAAA,WAAW;AACZ;AACF,OAZD,MAYO;AACL;AACD;AACF,KApDkB,CAsDnB;;;AACA,QAAI,CAACD,QAAD,IAAaP,IAAI,CAACI,QAAL,KAAkB,CAAnC,EAAsC;AACpCJ,MAAAA,IAAI,CAACI,QAAL,GAAgB,CAAhB;AACD;;AACD,QAAI,CAACI,WAAD,IAAgBR,IAAI,CAACE,QAAL,KAAkB,CAAtC,EAAyC;AACvCF,MAAAA,IAAI,CAACE,QAAL,GAAgB,CAAhB;AACD,KA5DkB,CA8DnB;;;AACA,QAAIlC,OAAO,CAACkB,MAAZ,EAAoB;AAClB,UAAIqB,QAAQ,KAAKP,IAAI,CAACI,QAAtB,EAAgC;AAC9B,cAAM,IAAIjB,KAAJ,CAAU,sDAAsDU,gBAAgB,GAAG,CAAzE,CAAV,CAAN;AACD;;AACD,UAAIW,WAAW,KAAKR,IAAI,CAACE,QAAzB,EAAmC;AACjC,cAAM,IAAIf,KAAJ,CAAU,wDAAwDU,gBAAgB,GAAG,CAA3E,CAAV,CAAN;AACD;AACF;;AAED,WAAOG,IAAP;AACD;;AAED,SAAO1B,CAAC,GAAGL,OAAO,CAACS,MAAnB,EAA2B;AACzBH,IAAAA,UAAU;AACX;;AAED,SAAOF,IAAP;AACD","sourcesContent":["export function parsePatch(uniDiff, options = {}) {\n let diffstr = uniDiff.split(/\\r\\n|[\\n\\v\\f\\r\\x85]/),\n delimiters = uniDiff.match(/\\r\\n|[\\n\\v\\f\\r\\x85]/g) || [],\n list = [],\n i = 0;\n\n function parseIndex() {\n let index = {};\n list.push(index);\n\n // Parse diff metadata\n while (i < diffstr.length) {\n let line = diffstr[i];\n\n // File header found, end parsing diff metadata\n if ((/^(\\-\\-\\-|\\+\\+\\+|@@)\\s/).test(line)) {\n break;\n }\n\n // Diff index\n let header = (/^(?:Index:|diff(?: -r \\w+)+)\\s+(.+?)\\s*$/).exec(line);\n if (header) {\n index.index = header[1];\n }\n\n i++;\n }\n\n // Parse file headers if they are defined. Unified diff requires them, but\n // there's no technical issues to have an isolated hunk without file header\n parseFileHeader(index);\n parseFileHeader(index);\n\n // Parse hunks\n index.hunks = [];\n\n while (i < diffstr.length) {\n let line = diffstr[i];\n\n if ((/^(Index:|diff|\\-\\-\\-|\\+\\+\\+)\\s/).test(line)) {\n break;\n } else if ((/^@@/).test(line)) {\n index.hunks.push(parseHunk());\n } else if (line && options.strict) {\n // Ignore unexpected content unless in strict mode\n throw new Error('Unknown line ' + (i + 1) + ' ' + JSON.stringify(line));\n } else {\n i++;\n }\n }\n }\n\n // Parses the --- and +++ headers, if none are found, no lines\n // are consumed.\n function parseFileHeader(index) {\n const fileHeader = (/^(---|\\+\\+\\+)\\s+(.*)$/).exec(diffstr[i]);\n if (fileHeader) {\n let keyPrefix = fileHeader[1] === '---' ? 'old' : 'new';\n const data = fileHeader[2].split('\\t', 2);\n let fileName = data[0].replace(/\\\\\\\\/g, '\\\\');\n if ((/^\".*\"$/).test(fileName)) {\n fileName = fileName.substr(1, fileName.length - 2);\n }\n index[keyPrefix + 'FileName'] = fileName;\n index[keyPrefix + 'Header'] = (data[1] || '').trim();\n\n i++;\n }\n }\n\n // Parses a hunk\n // This assumes that we are at the start of a hunk.\n function parseHunk() {\n let chunkHeaderIndex = i,\n chunkHeaderLine = diffstr[i++],\n chunkHeader = chunkHeaderLine.split(/@@ -(\\d+)(?:,(\\d+))? \\+(\\d+)(?:,(\\d+))? @@/);\n\n let hunk = {\n oldStart: +chunkHeader[1],\n oldLines: typeof chunkHeader[2] === 'undefined' ? 1 : +chunkHeader[2],\n newStart: +chunkHeader[3],\n newLines: typeof chunkHeader[4] === 'undefined' ? 1 : +chunkHeader[4],\n lines: [],\n linedelimiters: []\n };\n\n // Unified Diff Format quirk: If the chunk size is 0,\n // the first number is one lower than one would expect.\n // https://www.artima.com/weblogs/viewpost.jsp?thread=164293\n if (hunk.oldLines === 0) {\n hunk.oldStart += 1;\n }\n if (hunk.newLines === 0) {\n hunk.newStart += 1;\n }\n\n let addCount = 0,\n removeCount = 0;\n for (; i < diffstr.length; i++) {\n // Lines starting with '---' could be mistaken for the \"remove line\" operation\n // But they could be the header for the next file. Therefore prune such cases out.\n if (diffstr[i].indexOf('--- ') === 0\n && (i + 2 < diffstr.length)\n && diffstr[i + 1].indexOf('+++ ') === 0\n && diffstr[i + 2].indexOf('@@') === 0) {\n break;\n }\n let operation = (diffstr[i].length == 0 && i != (diffstr.length - 1)) ? ' ' : diffstr[i][0];\n\n if (operation === '+' || operation === '-' || operation === ' ' || operation === '\\\\') {\n hunk.lines.push(diffstr[i]);\n hunk.linedelimiters.push(delimiters[i] || '\\n');\n\n if (operation === '+') {\n addCount++;\n } else if (operation === '-') {\n removeCount++;\n } else if (operation === ' ') {\n addCount++;\n removeCount++;\n }\n } else {\n break;\n }\n }\n\n // Handle the empty block count case\n if (!addCount && hunk.newLines === 1) {\n hunk.newLines = 0;\n }\n if (!removeCount && hunk.oldLines === 1) {\n hunk.oldLines = 0;\n }\n\n // Perform optional sanity checking\n if (options.strict) {\n if (addCount !== hunk.newLines) {\n throw new Error('Added line count did not match for hunk at line ' + (chunkHeaderIndex + 1));\n }\n if (removeCount !== hunk.oldLines) {\n throw new Error('Removed line count did not match for hunk at line ' + (chunkHeaderIndex + 1));\n }\n }\n\n return hunk;\n }\n\n while (i < diffstr.length) {\n parseIndex();\n }\n\n return list;\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/util/distance-iterator.js":{"lineLengths":[25,13,0,46,13,3,30,0,23,63,65,47,8,25,8,23,27,25,32,31,22,30,43,30,22,14,28,79,71,0,0,43,27,7,0,30,5,0,29,30,27,82,31,0,0,43,30,7,0,31,24,80,51,0,4,1,3156,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/util/distance-iterator.js"],"names":["start","minLine","maxLine","wantForward","backwardExhausted","forwardExhausted","localOffset","iterator"],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACe;AAAA;AAAA;AAAA;AAAA,CAASA,KAAT,EAAgBC,OAAhB,EAAyBC,OAAzB,EAAkC;AAC/C,MAAIC,WAAW,GAAG,IAAlB;AAAA,MACIC,iBAAiB,GAAG,KADxB;AAAA,MAEIC,gBAAgB,GAAG,KAFvB;AAAA,MAGIC,WAAW,GAAG,CAHlB;AAKA,SAAO,SAASC,QAAT,GAAoB;AACzB,QAAIJ,WAAW,IAAI,CAACE,gBAApB,EAAsC;AACpC,UAAID,iBAAJ,EAAuB;AACrBE,QAAAA,WAAW;AACZ,OAFD,MAEO;AACLH,QAAAA,WAAW,GAAG,KAAd;AACD,OALmC,CAOpC;AACA;;;AACA,UAAIH,KAAK,GAAGM,WAAR,IAAuBJ,OAA3B,EAAoC;AAClC,eAAOI,WAAP;AACD;;AAEDD,MAAAA,gBAAgB,GAAG,IAAnB;AACD;;AAED,QAAI,CAACD,iBAAL,EAAwB;AACtB,UAAI,CAACC,gBAAL,EAAuB;AACrBF,QAAAA,WAAW,GAAG,IAAd;AACD,OAHqB,CAKtB;AACA;;;AACA,UAAIF,OAAO,IAAID,KAAK,GAAGM,WAAvB,EAAoC;AAClC,eAAO,CAACA,WAAW,EAAnB;AACD;;AAEDF,MAAAA,iBAAiB,GAAG,IAApB;AACA,aAAOG,QAAQ,EAAf;AACD,KA9BwB,CAgCzB;AACA;;AACD,GAlCD;AAmCD","sourcesContent":["// Iterator that traverses in the range of [min, max], stepping\n// by distance from a given start position. I.e. for [0, 4], with\n// start of 2, this will iterate 2, 3, 1, 4, 0.\nexport default function(start, minLine, maxLine) {\n let wantForward = true,\n backwardExhausted = false,\n forwardExhausted = false,\n localOffset = 1;\n\n return function iterator() {\n if (wantForward && !forwardExhausted) {\n if (backwardExhausted) {\n localOffset++;\n } else {\n wantForward = false;\n }\n\n // Check if trying to fit beyond text length, and if not, check it fits\n // after offset location (or desired location on first iteration)\n if (start + localOffset <= maxLine) {\n return localOffset;\n }\n\n forwardExhausted = true;\n }\n\n if (!backwardExhausted) {\n if (!forwardExhausted) {\n wantForward = true;\n }\n\n // Check if trying to fit before text beginning, and if not, check it fits\n // before offset location\n if (minLine <= start - localOffset) {\n return -localOffset++;\n }\n\n backwardExhausted = true;\n return iterator();\n }\n\n // We tried to fit hunk before text beginning and beyond text length, then\n // hunk can't fit on the text. Return undefined\n };\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/merge.js":{"lineLengths":[25,13,0,46,13,3,38,22,0,23,3,25,29,23,1,0,3,25,27,23,1,0,3,25,33,23,1,0,179,0,190,0,416,0,130,0,91,0,183,0,23,30,27,28,25,34,47,47,0,31,29,10,25,3,0,31,29,10,25,3,1,0,36,31,35,98,83,34,0,35,43,3,0,47,33,87,63,63,57,57,42,51,41,41,37,37,12,38,79,79,73,73,5,3,0,17,20,22,21,23,0,78,48,24,6,54,24,6,0,49,65,57,18,66,56,65,61,20,68,12,38,24,73,20,101,20,17,8,115,20,18,33,5,3,0,13,1,0,33,34,55,14,33,11,31,0,33,14,31,9,33,19,31,18,8,5,0,16,74,5,0,12,31,9,29,0,31,13,29,7,31,22,29,41,6,3,0,15,1,0,33,70,1,0,43,24,16,10,26,12,17,20,6,3,1,0,34,90,1,0,34,10,28,28,37,28,21,4,1,0,75,91,74,14,23,21,12,4,15,24,22,12,34,0,35,118,0,78,45,48,0,117,26,38,67,31,22,0,29,22,0,31,0,29,0,31,20,29,29,31,17,29,7,31,25,29,28,67,31,23,0,29,24,0,31,0,29,0,31,21,29,29,31,18,29,7,31,25,29,29,67,31,33,67,32,39,46,25,35,19,20,12,25,64,5,46,0,0,29,30,22,1,0,42,38,42,0,58,72,8,29,7,27,0,29,10,27,5,29,20,27,112,31,23,0,29,0,31,0,29,0,31,21,29,29,31,18,29,7,31,25,29,18,0,13,15,29,7,27,0,29,10,27,5,29,20,27,114,31,23,0,29,0,31,0,29,0,31,21,29,29,31,18,29,7,31,25,29,21,0,13,5,13,27,5,25,0,27,8,25,3,27,13,25,30,29,21,0,27,0,29,0,27,0,29,19,27,27,29,16,27,5,29,23,27,16,0,11,3,0,42,1,0,43,38,54,0,28,29,21,0,27,0,29,0,27,0,29,19,27,27,29,16,27,5,29,23,27,26,10,85,3,1,0,38,23,19,19,15,17,5,1,0,45,78,44,26,20,3,1,0,39,46,44,26,3,1,0,31,15,46,0,44,145,0,47,22,5,0,32,21,20,12,12,5,3,0,13,1,0,46,19,18,21,29,25,0,80,42,85,0,27,12,5,0,57,23,86,50,0,28,24,0,33,29,44,7,5,0,47,27,20,12,24,5,3,0,70,22,3,0,19,19,3,0,44,44,3,0,10,19,20,4,1,0,30,49,37,11,1,0,58,35,82,0,63,19,5,3,0,23,14,1,0,37,19,19,33,35,51,56,0,35,55,39,16,31,9,7,0,35,55,39,16,31,9,7,12,75,19,7,0,75,19,7,5,5,10,23,22,4,1,34588,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/patch/merge.js"],"names":["calcLineCount","hunk","calcOldNewLineCount","lines","oldLines","newLines","undefined","merge","mine","theirs","base","loadPatch","ret","index","newFileName","fileNameChanged","oldFileName","oldHeader","newHeader","selectField","hunks","mineIndex","theirsIndex","mineOffset","theirsOffset","length","mineCurrent","oldStart","Infinity","theirsCurrent","hunkBefore","push","cloneHunk","mergedHunk","Math","min","newStart","mergeLines","param","test","parsePatch","Error","structuredPatch","patch","conflict","check","offset","mineLines","theirOffset","theirLines","their","insertLeading","theirCurrent","mutualChange","collectChange","removal","insertTrailing","myChanges","theirChanges","allRemoves","arrayStartsWith","skipRemoveSuperset","arrayEqual","swap","collectContext","merged","insert","line","state","operation","matchChanges","changes","matchIndex","contextChanges","conflicted","change","match","substr","reduce","prev","removeChanges","delta","i","changeContent","forEach","myCount","theirCount"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AAEA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;AAEO,SAASA,aAAT,CAAuBC,IAAvB,EAA6B;AAAA;AAAA;AAAA;AACLC,EAAAA,mBAAmB,CAACD,IAAI,CAACE,KAAN,CADd;AAAA,MAC3BC,QAD2B,wBAC3BA,QAD2B;AAAA,MACjBC,QADiB,wBACjBA,QADiB;;AAGlC,MAAID,QAAQ,KAAKE,SAAjB,EAA4B;AAC1BL,IAAAA,IAAI,CAACG,QAAL,GAAgBA,QAAhB;AACD,GAFD,MAEO;AACL,WAAOH,IAAI,CAACG,QAAZ;AACD;;AAED,MAAIC,QAAQ,KAAKC,SAAjB,EAA4B;AAC1BL,IAAAA,IAAI,CAACI,QAAL,GAAgBA,QAAhB;AACD,GAFD,MAEO;AACL,WAAOJ,IAAI,CAACI,QAAZ;AACD;AACF;;AAEM,SAASE,KAAT,CAAeC,IAAf,EAAqBC,MAArB,EAA6BC,IAA7B,EAAmC;AACxCF,EAAAA,IAAI,GAAGG,SAAS,CAACH,IAAD,EAAOE,IAAP,CAAhB;AACAD,EAAAA,MAAM,GAAGE,SAAS,CAACF,MAAD,EAASC,IAAT,CAAlB;AAEA,MAAIE,GAAG,GAAG,EAAV,CAJwC,CAMxC;AACA;AACA;;AACA,MAAIJ,IAAI,CAACK,KAAL,IAAcJ,MAAM,CAACI,KAAzB,EAAgC;AAC9BD,IAAAA,GAAG,CAACC,KAAJ,GAAYL,IAAI,CAACK,KAAL,IAAcJ,MAAM,CAACI,KAAjC;AACD;;AAED,MAAIL,IAAI,CAACM,WAAL,IAAoBL,MAAM,CAACK,WAA/B,EAA4C;AAC1C,QAAI,CAACC,eAAe,CAACP,IAAD,CAApB,EAA4B;AAC1B;AACAI,MAAAA,GAAG,CAACI,WAAJ,GAAkBP,MAAM,CAACO,WAAP,IAAsBR,IAAI,CAACQ,WAA7C;AACAJ,MAAAA,GAAG,CAACE,WAAJ,GAAkBL,MAAM,CAACK,WAAP,IAAsBN,IAAI,CAACM,WAA7C;AACAF,MAAAA,GAAG,CAACK,SAAJ,GAAgBR,MAAM,CAACQ,SAAP,IAAoBT,IAAI,CAACS,SAAzC;AACAL,MAAAA,GAAG,CAACM,SAAJ,GAAgBT,MAAM,CAACS,SAAP,IAAoBV,IAAI,CAACU,SAAzC;AACD,KAND,MAMO,IAAI,CAACH,eAAe,CAACN,MAAD,CAApB,EAA8B;AACnC;AACAG,MAAAA,GAAG,CAACI,WAAJ,GAAkBR,IAAI,CAACQ,WAAvB;AACAJ,MAAAA,GAAG,CAACE,WAAJ,GAAkBN,IAAI,CAACM,WAAvB;AACAF,MAAAA,GAAG,CAACK,SAAJ,GAAgBT,IAAI,CAACS,SAArB;AACAL,MAAAA,GAAG,CAACM,SAAJ,GAAgBV,IAAI,CAACU,SAArB;AACD,KANM,MAMA;AACL;AACAN,MAAAA,GAAG,CAACI,WAAJ,GAAkBG,WAAW,CAACP,GAAD,EAAMJ,IAAI,CAACQ,WAAX,EAAwBP,MAAM,CAACO,WAA/B,CAA7B;AACAJ,MAAAA,GAAG,CAACE,WAAJ,GAAkBK,WAAW,CAACP,GAAD,EAAMJ,IAAI,CAACM,WAAX,EAAwBL,MAAM,CAACK,WAA/B,CAA7B;AACAF,MAAAA,GAAG,CAACK,SAAJ,GAAgBE,WAAW,CAACP,GAAD,EAAMJ,IAAI,CAACS,SAAX,EAAsBR,MAAM,CAACQ,SAA7B,CAA3B;AACAL,MAAAA,GAAG,CAACM,SAAJ,GAAgBC,WAAW,CAACP,GAAD,EAAMJ,IAAI,CAACU,SAAX,EAAsBT,MAAM,CAACS,SAA7B,CAA3B;AACD;AACF;;AAEDN,EAAAA,GAAG,CAACQ,KAAJ,GAAY,EAAZ;AAEA,MAAIC,SAAS,GAAG,CAAhB;AAAA,MACIC,WAAW,GAAG,CADlB;AAAA,MAEIC,UAAU,GAAG,CAFjB;AAAA,MAGIC,YAAY,GAAG,CAHnB;;AAKA,SAAOH,SAAS,GAAGb,IAAI,CAACY,KAAL,CAAWK,MAAvB,IAAiCH,WAAW,GAAGb,MAAM,CAACW,KAAP,CAAaK,MAAnE,EAA2E;AACzE,QAAIC,WAAW,GAAGlB,IAAI,CAACY,KAAL,CAAWC,SAAX,KAAyB;AAACM,MAAAA,QAAQ,EAAEC;AAAX,KAA3C;AAAA,QACIC,aAAa,GAAGpB,MAAM,CAACW,KAAP,CAAaE,WAAb,KAA6B;AAACK,MAAAA,QAAQ,EAAEC;AAAX,KADjD;;AAGA,QAAIE,UAAU,CAACJ,WAAD,EAAcG,aAAd,CAAd,EAA4C;AAC1C;AACAjB,MAAAA,GAAG,CAACQ,KAAJ,CAAUW,IAAV,CAAeC,SAAS,CAACN,WAAD,EAAcH,UAAd,CAAxB;AACAF,MAAAA,SAAS;AACTG,MAAAA,YAAY,IAAIE,WAAW,CAACrB,QAAZ,GAAuBqB,WAAW,CAACtB,QAAnD;AACD,KALD,MAKO,IAAI0B,UAAU,CAACD,aAAD,EAAgBH,WAAhB,CAAd,EAA4C;AACjD;AACAd,MAAAA,GAAG,CAACQ,KAAJ,CAAUW,IAAV,CAAeC,SAAS,CAACH,aAAD,EAAgBL,YAAhB,CAAxB;AACAF,MAAAA,WAAW;AACXC,MAAAA,UAAU,IAAIM,aAAa,CAACxB,QAAd,GAAyBwB,aAAa,CAACzB,QAArD;AACD,KALM,MAKA;AACL;AACA,UAAI6B,UAAU,GAAG;AACfN,QAAAA,QAAQ,EAAEO,IAAI,CAACC,GAAL,CAAST,WAAW,CAACC,QAArB,EAA+BE,aAAa,CAACF,QAA7C,CADK;AAEfvB,QAAAA,QAAQ,EAAE,CAFK;AAGfgC,QAAAA,QAAQ,EAAEF,IAAI,CAACC,GAAL,CAAST,WAAW,CAACU,QAAZ,GAAuBb,UAAhC,EAA4CM,aAAa,CAACF,QAAd,GAAyBH,YAArE,CAHK;AAIfnB,QAAAA,QAAQ,EAAE,CAJK;AAKfF,QAAAA,KAAK,EAAE;AALQ,OAAjB;AAOAkC,MAAAA,UAAU,CAACJ,UAAD,EAAaP,WAAW,CAACC,QAAzB,EAAmCD,WAAW,CAACvB,KAA/C,EAAsD0B,aAAa,CAACF,QAApE,EAA8EE,aAAa,CAAC1B,KAA5F,CAAV;AACAmB,MAAAA,WAAW;AACXD,MAAAA,SAAS;AAETT,MAAAA,GAAG,CAACQ,KAAJ,CAAUW,IAAV,CAAeE,UAAf;AACD;AACF;;AAED,SAAOrB,GAAP;AACD;;AAED,SAASD,SAAT,CAAmB2B,KAAnB,EAA0B5B,IAA1B,EAAgC;AAC9B,MAAI,OAAO4B,KAAP,KAAiB,QAArB,EAA+B;AAC7B,QAAK,MAAD,CAASC,IAAT,CAAcD,KAAd,KAA0B,UAAD,CAAaC,IAAb,CAAkBD,KAAlB,CAA7B,EAAwD;AACtD,aAAO;AAAA;AAAA;AAAA;;AAAAE;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,SAAWF,KAAX,EAAkB,CAAlB;AAAP;AACD;;AAED,QAAI,CAAC5B,IAAL,EAAW;AACT,YAAM,IAAI+B,KAAJ,CAAU,kDAAV,CAAN;AACD;;AACD,WAAO;AAAA;AAAA;AAAA;;AAAAC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,OAAgBpC,SAAhB,EAA2BA,SAA3B,EAAsCI,IAAtC,EAA4C4B,KAA5C;AAAP;AACD;;AAED,SAAOA,KAAP;AACD;;AAED,SAASvB,eAAT,CAAyB4B,KAAzB,EAAgC;AAC9B,SAAOA,KAAK,CAAC7B,WAAN,IAAqB6B,KAAK,CAAC7B,WAAN,KAAsB6B,KAAK,CAAC3B,WAAxD;AACD;;AAED,SAASG,WAAT,CAAqBN,KAArB,EAA4BL,IAA5B,EAAkCC,MAAlC,EAA0C;AACxC,MAAID,IAAI,KAAKC,MAAb,EAAqB;AACnB,WAAOD,IAAP;AACD,GAFD,MAEO;AACLK,IAAAA,KAAK,CAAC+B,QAAN,GAAiB,IAAjB;AACA,WAAO;AAACpC,MAAAA,IAAI,EAAJA,IAAD;AAAOC,MAAAA,MAAM,EAANA;AAAP,KAAP;AACD;AACF;;AAED,SAASqB,UAAT,CAAoBS,IAApB,EAA0BM,KAA1B,EAAiC;AAC/B,SAAON,IAAI,CAACZ,QAAL,GAAgBkB,KAAK,CAAClB,QAAtB,IACDY,IAAI,CAACZ,QAAL,GAAgBY,IAAI,CAACnC,QAAtB,GAAkCyC,KAAK,CAAClB,QAD7C;AAED;;AAED,SAASK,SAAT,CAAmB/B,IAAnB,EAAyB6C,MAAzB,EAAiC;AAC/B,SAAO;AACLnB,IAAAA,QAAQ,EAAE1B,IAAI,CAAC0B,QADV;AACoBvB,IAAAA,QAAQ,EAAEH,IAAI,CAACG,QADnC;AAELgC,IAAAA,QAAQ,EAAEnC,IAAI,CAACmC,QAAL,GAAgBU,MAFrB;AAE6BzC,IAAAA,QAAQ,EAAEJ,IAAI,CAACI,QAF5C;AAGLF,IAAAA,KAAK,EAAEF,IAAI,CAACE;AAHP,GAAP;AAKD;;AAED,SAASkC,UAAT,CAAoBpC,IAApB,EAA0BsB,UAA1B,EAAsCwB,SAAtC,EAAiDC,WAAjD,EAA8DC,UAA9D,EAA0E;AACxE;AACA;AACA,MAAIzC,IAAI,GAAG;AAACsC,IAAAA,MAAM,EAAEvB,UAAT;AAAqBpB,IAAAA,KAAK,EAAE4C,SAA5B;AAAuClC,IAAAA,KAAK,EAAE;AAA9C,GAAX;AAAA,MACIqC,KAAK,GAAG;AAACJ,IAAAA,MAAM,EAAEE,WAAT;AAAsB7C,IAAAA,KAAK,EAAE8C,UAA7B;AAAyCpC,IAAAA,KAAK,EAAE;AAAhD,GADZ,CAHwE,CAMxE;;AACAsC,EAAAA,aAAa,CAAClD,IAAD,EAAOO,IAAP,EAAa0C,KAAb,CAAb;AACAC,EAAAA,aAAa,CAAClD,IAAD,EAAOiD,KAAP,EAAc1C,IAAd,CAAb,CARwE,CAUxE;;AACA,SAAOA,IAAI,CAACK,KAAL,GAAaL,IAAI,CAACL,KAAL,CAAWsB,MAAxB,IAAkCyB,KAAK,CAACrC,KAAN,GAAcqC,KAAK,CAAC/C,KAAN,CAAYsB,MAAnE,EAA2E;AACzE,QAAIC,WAAW,GAAGlB,IAAI,CAACL,KAAL,CAAWK,IAAI,CAACK,KAAhB,CAAlB;AAAA,QACIuC,YAAY,GAAGF,KAAK,CAAC/C,KAAN,CAAY+C,KAAK,CAACrC,KAAlB,CADnB;;AAGA,QAAI,CAACa,WAAW,CAAC,CAAD,CAAX,KAAmB,GAAnB,IAA0BA,WAAW,CAAC,CAAD,CAAX,KAAmB,GAA9C,MACI0B,YAAY,CAAC,CAAD,CAAZ,KAAoB,GAApB,IAA2BA,YAAY,CAAC,CAAD,CAAZ,KAAoB,GADnD,CAAJ,EAC6D;AAC3D;AACAC,MAAAA,YAAY,CAACpD,IAAD,EAAOO,IAAP,EAAa0C,KAAb,CAAZ;AACD,KAJD,MAIO,IAAIxB,WAAW,CAAC,CAAD,CAAX,KAAmB,GAAnB,IAA0B0B,YAAY,CAAC,CAAD,CAAZ,KAAoB,GAAlD,EAAuD;AAAA;AAAA;;AAAA;AAC5D;;AACA;;AAAA;;AAAA;AAAA;AAAA;AAAAnD,MAAAA,IAAI,CAACE,KAAL,EAAW4B,IAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoBuB,MAAAA,aAAa,CAAC9C,IAAD,CAAjC;AACD,KAHM,MAGA,IAAI4C,YAAY,CAAC,CAAD,CAAZ,KAAoB,GAApB,IAA2B1B,WAAW,CAAC,CAAD,CAAX,KAAmB,GAAlD,EAAuD;AAAA;AAAA;;AAAA;AAC5D;;AACA;;AAAA;;AAAA;AAAA;AAAA;AAAAzB,MAAAA,IAAI,CAACE,KAAL,EAAW4B,IAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoBuB,MAAAA,aAAa,CAACJ,KAAD,CAAjC;AACD,KAHM,MAGA,IAAIxB,WAAW,CAAC,CAAD,CAAX,KAAmB,GAAnB,IAA0B0B,YAAY,CAAC,CAAD,CAAZ,KAAoB,GAAlD,EAAuD;AAC5D;AACAG,MAAAA,OAAO,CAACtD,IAAD,EAAOO,IAAP,EAAa0C,KAAb,CAAP;AACD,KAHM,MAGA,IAAIE,YAAY,CAAC,CAAD,CAAZ,KAAoB,GAApB,IAA2B1B,WAAW,CAAC,CAAD,CAAX,KAAmB,GAAlD,EAAuD;AAC5D;AACA6B,MAAAA,OAAO,CAACtD,IAAD,EAAOiD,KAAP,EAAc1C,IAAd,EAAoB,IAApB,CAAP;AACD,KAHM,MAGA,IAAIkB,WAAW,KAAK0B,YAApB,EAAkC;AACvC;AACAnD,MAAAA,IAAI,CAACE,KAAL,CAAW4B,IAAX,CAAgBL,WAAhB;AACAlB,MAAAA,IAAI,CAACK,KAAL;AACAqC,MAAAA,KAAK,CAACrC,KAAN;AACD,KALM,MAKA;AACL;AACA+B,MAAAA,QAAQ,CAAC3C,IAAD,EAAOqD,aAAa,CAAC9C,IAAD,CAApB,EAA4B8C,aAAa,CAACJ,KAAD,CAAzC,CAAR;AACD;AACF,GAxCuE,CA0CxE;;;AACAM,EAAAA,cAAc,CAACvD,IAAD,EAAOO,IAAP,CAAd;AACAgD,EAAAA,cAAc,CAACvD,IAAD,EAAOiD,KAAP,CAAd;AAEAlD,EAAAA,aAAa,CAACC,IAAD,CAAb;AACD;;AAED,SAASoD,YAAT,CAAsBpD,IAAtB,EAA4BO,IAA5B,EAAkC0C,KAAlC,EAAyC;AACvC,MAAIO,SAAS,GAAGH,aAAa,CAAC9C,IAAD,CAA7B;AAAA,MACIkD,YAAY,GAAGJ,aAAa,CAACJ,KAAD,CADhC;;AAGA,MAAIS,UAAU,CAACF,SAAD,CAAV,IAAyBE,UAAU,CAACD,YAAD,CAAvC,EAAuD;AACrD;AACA;AAAI;AAAA;AAAA;;AAAAE;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,KAAgBH,SAAhB,EAA2BC,YAA3B,KACGG,kBAAkB,CAACX,KAAD,EAAQO,SAAR,EAAmBA,SAAS,CAAChC,MAAV,GAAmBiC,YAAY,CAACjC,MAAnD,CADzB,EACqF;AAAA;AAAA;;AAAA;;AACnF;;AAAA;;AAAA;AAAA;AAAA;AAAAxB,MAAAA,IAAI,CAACE,KAAL,EAAW4B,IAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoB0B,MAAAA,SAApB;;AACA;AACD,KAJD,MAIO;AAAI;AAAA;AAAA;;AAAAG;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,KAAgBF,YAAhB,EAA8BD,SAA9B,KACJI,kBAAkB,CAACrD,IAAD,EAAOkD,YAAP,EAAqBA,YAAY,CAACjC,MAAb,GAAsBgC,SAAS,CAAChC,MAArD,CADlB,EACgF;AAAA;AAAA;;AAAA;;AACrF;;AAAA;;AAAA;AAAA;AAAA;AAAAxB,MAAAA,IAAI,CAACE,KAAL,EAAW4B,IAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoB2B,MAAAA,YAApB;;AACA;AACD;AACF,GAXD,MAWO;AAAI;AAAA;AAAA;;AAAAI;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,GAAWL,SAAX,EAAsBC,YAAtB,CAAJ,EAAyC;AAAA;AAAA;;AAAA;;AAC9C;;AAAA;;AAAA;AAAA;AAAA;AAAAzD,IAAAA,IAAI,CAACE,KAAL,EAAW4B,IAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoB0B,IAAAA,SAApB;;AACA;AACD;;AAEDb,EAAAA,QAAQ,CAAC3C,IAAD,EAAOwD,SAAP,EAAkBC,YAAlB,CAAR;AACD;;AAED,SAASH,OAAT,CAAiBtD,IAAjB,EAAuBO,IAAvB,EAA6B0C,KAA7B,EAAoCa,IAApC,EAA0C;AACxC,MAAIN,SAAS,GAAGH,aAAa,CAAC9C,IAAD,CAA7B;AAAA,MACIkD,YAAY,GAAGM,cAAc,CAACd,KAAD,EAAQO,SAAR,CADjC;;AAEA,MAAIC,YAAY,CAACO,MAAjB,EAAyB;AAAA;AAAA;;AAAA;;AACvB;;AAAA;;AAAA;AAAA;AAAA;AAAAhE,IAAAA,IAAI,CAACE,KAAL,EAAW4B,IAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoB2B,IAAAA,YAAY,CAACO,MAAjC;AACD,GAFD,MAEO;AACLrB,IAAAA,QAAQ,CAAC3C,IAAD,EAAO8D,IAAI,GAAGL,YAAH,GAAkBD,SAA7B,EAAwCM,IAAI,GAAGN,SAAH,GAAeC,YAA3D,CAAR;AACD;AACF;;AAED,SAASd,QAAT,CAAkB3C,IAAlB,EAAwBO,IAAxB,EAA8B0C,KAA9B,EAAqC;AACnCjD,EAAAA,IAAI,CAAC2C,QAAL,GAAgB,IAAhB;AACA3C,EAAAA,IAAI,CAACE,KAAL,CAAW4B,IAAX,CAAgB;AACda,IAAAA,QAAQ,EAAE,IADI;AAEdpC,IAAAA,IAAI,EAAEA,IAFQ;AAGdC,IAAAA,MAAM,EAAEyC;AAHM,GAAhB;AAKD;;AAED,SAASC,aAAT,CAAuBlD,IAAvB,EAA6BiE,MAA7B,EAAqChB,KAArC,EAA4C;AAC1C,SAAOgB,MAAM,CAACpB,MAAP,GAAgBI,KAAK,CAACJ,MAAtB,IAAgCoB,MAAM,CAACrD,KAAP,GAAeqD,MAAM,CAAC/D,KAAP,CAAasB,MAAnE,EAA2E;AACzE,QAAI0C,IAAI,GAAGD,MAAM,CAAC/D,KAAP,CAAa+D,MAAM,CAACrD,KAAP,EAAb,CAAX;AACAZ,IAAAA,IAAI,CAACE,KAAL,CAAW4B,IAAX,CAAgBoC,IAAhB;AACAD,IAAAA,MAAM,CAACpB,MAAP;AACD;AACF;;AACD,SAASU,cAAT,CAAwBvD,IAAxB,EAA8BiE,MAA9B,EAAsC;AACpC,SAAOA,MAAM,CAACrD,KAAP,GAAeqD,MAAM,CAAC/D,KAAP,CAAasB,MAAnC,EAA2C;AACzC,QAAI0C,IAAI,GAAGD,MAAM,CAAC/D,KAAP,CAAa+D,MAAM,CAACrD,KAAP,EAAb,CAAX;AACAZ,IAAAA,IAAI,CAACE,KAAL,CAAW4B,IAAX,CAAgBoC,IAAhB;AACD;AACF;;AAED,SAASb,aAAT,CAAuBc,KAAvB,EAA8B;AAC5B,MAAIxD,GAAG,GAAG,EAAV;AAAA,MACIyD,SAAS,GAAGD,KAAK,CAACjE,KAAN,CAAYiE,KAAK,CAACvD,KAAlB,EAAyB,CAAzB,CADhB;;AAEA,SAAOuD,KAAK,CAACvD,KAAN,GAAcuD,KAAK,CAACjE,KAAN,CAAYsB,MAAjC,EAAyC;AACvC,QAAI0C,IAAI,GAAGC,KAAK,CAACjE,KAAN,CAAYiE,KAAK,CAACvD,KAAlB,CAAX,CADuC,CAGvC;;AACA,QAAIwD,SAAS,KAAK,GAAd,IAAqBF,IAAI,CAAC,CAAD,CAAJ,KAAY,GAArC,EAA0C;AACxCE,MAAAA,SAAS,GAAG,GAAZ;AACD;;AAED,QAAIA,SAAS,KAAKF,IAAI,CAAC,CAAD,CAAtB,EAA2B;AACzBvD,MAAAA,GAAG,CAACmB,IAAJ,CAASoC,IAAT;AACAC,MAAAA,KAAK,CAACvD,KAAN;AACD,KAHD,MAGO;AACL;AACD;AACF;;AAED,SAAOD,GAAP;AACD;;AACD,SAASoD,cAAT,CAAwBI,KAAxB,EAA+BE,YAA/B,EAA6C;AAC3C,MAAIC,OAAO,GAAG,EAAd;AAAA,MACIN,MAAM,GAAG,EADb;AAAA,MAEIO,UAAU,GAAG,CAFjB;AAAA,MAGIC,cAAc,GAAG,KAHrB;AAAA,MAIIC,UAAU,GAAG,KAJjB;;AAKA,SAAOF,UAAU,GAAGF,YAAY,CAAC7C,MAA1B,IACE2C,KAAK,CAACvD,KAAN,GAAcuD,KAAK,CAACjE,KAAN,CAAYsB,MADnC,EAC2C;AACzC,QAAIkD,MAAM,GAAGP,KAAK,CAACjE,KAAN,CAAYiE,KAAK,CAACvD,KAAlB,CAAb;AAAA,QACI+D,KAAK,GAAGN,YAAY,CAACE,UAAD,CADxB,CADyC,CAIzC;;AACA,QAAII,KAAK,CAAC,CAAD,CAAL,KAAa,GAAjB,EAAsB;AACpB;AACD;;AAEDH,IAAAA,cAAc,GAAGA,cAAc,IAAIE,MAAM,CAAC,CAAD,CAAN,KAAc,GAAjD;AAEAV,IAAAA,MAAM,CAAClC,IAAP,CAAY6C,KAAZ;AACAJ,IAAAA,UAAU,GAZ+B,CAczC;AACA;;AACA,QAAIG,MAAM,CAAC,CAAD,CAAN,KAAc,GAAlB,EAAuB;AACrBD,MAAAA,UAAU,GAAG,IAAb;;AAEA,aAAOC,MAAM,CAAC,CAAD,CAAN,KAAc,GAArB,EAA0B;AACxBJ,QAAAA,OAAO,CAACxC,IAAR,CAAa4C,MAAb;AACAA,QAAAA,MAAM,GAAGP,KAAK,CAACjE,KAAN,CAAY,EAAEiE,KAAK,CAACvD,KAApB,CAAT;AACD;AACF;;AAED,QAAI+D,KAAK,CAACC,MAAN,CAAa,CAAb,MAAoBF,MAAM,CAACE,MAAP,CAAc,CAAd,CAAxB,EAA0C;AACxCN,MAAAA,OAAO,CAACxC,IAAR,CAAa4C,MAAb;AACAP,MAAAA,KAAK,CAACvD,KAAN;AACD,KAHD,MAGO;AACL6D,MAAAA,UAAU,GAAG,IAAb;AACD;AACF;;AAED,MAAI,CAACJ,YAAY,CAACE,UAAD,CAAZ,IAA4B,EAA7B,EAAiC,CAAjC,MAAwC,GAAxC,IACGC,cADP,EACuB;AACrBC,IAAAA,UAAU,GAAG,IAAb;AACD;;AAED,MAAIA,UAAJ,EAAgB;AACd,WAAOH,OAAP;AACD;;AAED,SAAOC,UAAU,GAAGF,YAAY,CAAC7C,MAAjC,EAAyC;AACvCwC,IAAAA,MAAM,CAAClC,IAAP,CAAYuC,YAAY,CAACE,UAAU,EAAX,CAAxB;AACD;;AAED,SAAO;AACLP,IAAAA,MAAM,EAANA,MADK;AAELM,IAAAA,OAAO,EAAPA;AAFK,GAAP;AAID;;AAED,SAASZ,UAAT,CAAoBY,OAApB,EAA6B;AAC3B,SAAOA,OAAO,CAACO,MAAR,CAAe,UAASC,IAAT,EAAeJ,MAAf,EAAuB;AAC3C,WAAOI,IAAI,IAAIJ,MAAM,CAAC,CAAD,CAAN,KAAc,GAA7B;AACD,GAFM,EAEJ,IAFI,CAAP;AAGD;;AACD,SAASd,kBAAT,CAA4BO,KAA5B,EAAmCY,aAAnC,EAAkDC,KAAlD,EAAyD;AACvD,OAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGD,KAApB,EAA2BC,CAAC,EAA5B,EAAgC;AAC9B,QAAIC,aAAa,GAAGH,aAAa,CAACA,aAAa,CAACvD,MAAd,GAAuBwD,KAAvB,GAA+BC,CAAhC,CAAb,CAAgDL,MAAhD,CAAuD,CAAvD,CAApB;;AACA,QAAIT,KAAK,CAACjE,KAAN,CAAYiE,KAAK,CAACvD,KAAN,GAAcqE,CAA1B,MAAiC,MAAMC,aAA3C,EAA0D;AACxD,aAAO,KAAP;AACD;AACF;;AAEDf,EAAAA,KAAK,CAACvD,KAAN,IAAeoE,KAAf;AACA,SAAO,IAAP;AACD;;AAED,SAAS/E,mBAAT,CAA6BC,KAA7B,EAAoC;AAClC,MAAIC,QAAQ,GAAG,CAAf;AACA,MAAIC,QAAQ,GAAG,CAAf;AAEAF,EAAAA,KAAK,CAACiF,OAAN,CAAc,UAASjB,IAAT,EAAe;AAC3B,QAAI,OAAOA,IAAP,KAAgB,QAApB,EAA8B;AAC5B,UAAIkB,OAAO,GAAGnF,mBAAmB,CAACiE,IAAI,CAAC3D,IAAN,CAAjC;AACA,UAAI8E,UAAU,GAAGpF,mBAAmB,CAACiE,IAAI,CAAC1D,MAAN,CAApC;;AAEA,UAAIL,QAAQ,KAAKE,SAAjB,EAA4B;AAC1B,YAAI+E,OAAO,CAACjF,QAAR,KAAqBkF,UAAU,CAAClF,QAApC,EAA8C;AAC5CA,UAAAA,QAAQ,IAAIiF,OAAO,CAACjF,QAApB;AACD,SAFD,MAEO;AACLA,UAAAA,QAAQ,GAAGE,SAAX;AACD;AACF;;AAED,UAAID,QAAQ,KAAKC,SAAjB,EAA4B;AAC1B,YAAI+E,OAAO,CAAChF,QAAR,KAAqBiF,UAAU,CAACjF,QAApC,EAA8C;AAC5CA,UAAAA,QAAQ,IAAIgF,OAAO,CAAChF,QAApB;AACD,SAFD,MAEO;AACLA,UAAAA,QAAQ,GAAGC,SAAX;AACD;AACF;AACF,KAnBD,MAmBO;AACL,UAAID,QAAQ,KAAKC,SAAb,KAA2B6D,IAAI,CAAC,CAAD,CAAJ,KAAY,GAAZ,IAAmBA,IAAI,CAAC,CAAD,CAAJ,KAAY,GAA1D,CAAJ,EAAoE;AAClE9D,QAAAA,QAAQ;AACT;;AACD,UAAID,QAAQ,KAAKE,SAAb,KAA2B6D,IAAI,CAAC,CAAD,CAAJ,KAAY,GAAZ,IAAmBA,IAAI,CAAC,CAAD,CAAJ,KAAY,GAA1D,CAAJ,EAAoE;AAClE/D,QAAAA,QAAQ;AACT;AACF;AACF,GA5BD;AA8BA,SAAO;AAACA,IAAAA,QAAQ,EAARA,QAAD;AAAWC,IAAAA,QAAQ,EAARA;AAAX,GAAP;AACD","sourcesContent":["import {structuredPatch} from './create';\nimport {parsePatch} from './parse';\n\nimport {arrayEqual, arrayStartsWith} from '../util/array';\n\nexport function calcLineCount(hunk) {\n const {oldLines, newLines} = calcOldNewLineCount(hunk.lines);\n\n if (oldLines !== undefined) {\n hunk.oldLines = oldLines;\n } else {\n delete hunk.oldLines;\n }\n\n if (newLines !== undefined) {\n hunk.newLines = newLines;\n } else {\n delete hunk.newLines;\n }\n}\n\nexport function merge(mine, theirs, base) {\n mine = loadPatch(mine, base);\n theirs = loadPatch(theirs, base);\n\n let ret = {};\n\n // For index we just let it pass through as it doesn't have any necessary meaning.\n // Leaving sanity checks on this to the API consumer that may know more about the\n // meaning in their own context.\n if (mine.index || theirs.index) {\n ret.index = mine.index || theirs.index;\n }\n\n if (mine.newFileName || theirs.newFileName) {\n if (!fileNameChanged(mine)) {\n // No header or no change in ours, use theirs (and ours if theirs does not exist)\n ret.oldFileName = theirs.oldFileName || mine.oldFileName;\n ret.newFileName = theirs.newFileName || mine.newFileName;\n ret.oldHeader = theirs.oldHeader || mine.oldHeader;\n ret.newHeader = theirs.newHeader || mine.newHeader;\n } else if (!fileNameChanged(theirs)) {\n // No header or no change in theirs, use ours\n ret.oldFileName = mine.oldFileName;\n ret.newFileName = mine.newFileName;\n ret.oldHeader = mine.oldHeader;\n ret.newHeader = mine.newHeader;\n } else {\n // Both changed... figure it out\n ret.oldFileName = selectField(ret, mine.oldFileName, theirs.oldFileName);\n ret.newFileName = selectField(ret, mine.newFileName, theirs.newFileName);\n ret.oldHeader = selectField(ret, mine.oldHeader, theirs.oldHeader);\n ret.newHeader = selectField(ret, mine.newHeader, theirs.newHeader);\n }\n }\n\n ret.hunks = [];\n\n let mineIndex = 0,\n theirsIndex = 0,\n mineOffset = 0,\n theirsOffset = 0;\n\n while (mineIndex < mine.hunks.length || theirsIndex < theirs.hunks.length) {\n let mineCurrent = mine.hunks[mineIndex] || {oldStart: Infinity},\n theirsCurrent = theirs.hunks[theirsIndex] || {oldStart: Infinity};\n\n if (hunkBefore(mineCurrent, theirsCurrent)) {\n // This patch does not overlap with any of the others, yay.\n ret.hunks.push(cloneHunk(mineCurrent, mineOffset));\n mineIndex++;\n theirsOffset += mineCurrent.newLines - mineCurrent.oldLines;\n } else if (hunkBefore(theirsCurrent, mineCurrent)) {\n // This patch does not overlap with any of the others, yay.\n ret.hunks.push(cloneHunk(theirsCurrent, theirsOffset));\n theirsIndex++;\n mineOffset += theirsCurrent.newLines - theirsCurrent.oldLines;\n } else {\n // Overlap, merge as best we can\n let mergedHunk = {\n oldStart: Math.min(mineCurrent.oldStart, theirsCurrent.oldStart),\n oldLines: 0,\n newStart: Math.min(mineCurrent.newStart + mineOffset, theirsCurrent.oldStart + theirsOffset),\n newLines: 0,\n lines: []\n };\n mergeLines(mergedHunk, mineCurrent.oldStart, mineCurrent.lines, theirsCurrent.oldStart, theirsCurrent.lines);\n theirsIndex++;\n mineIndex++;\n\n ret.hunks.push(mergedHunk);\n }\n }\n\n return ret;\n}\n\nfunction loadPatch(param, base) {\n if (typeof param === 'string') {\n if ((/^@@/m).test(param) || ((/^Index:/m).test(param))) {\n return parsePatch(param)[0];\n }\n\n if (!base) {\n throw new Error('Must provide a base reference or pass in a patch');\n }\n return structuredPatch(undefined, undefined, base, param);\n }\n\n return param;\n}\n\nfunction fileNameChanged(patch) {\n return patch.newFileName && patch.newFileName !== patch.oldFileName;\n}\n\nfunction selectField(index, mine, theirs) {\n if (mine === theirs) {\n return mine;\n } else {\n index.conflict = true;\n return {mine, theirs};\n }\n}\n\nfunction hunkBefore(test, check) {\n return test.oldStart < check.oldStart\n && (test.oldStart + test.oldLines) < check.oldStart;\n}\n\nfunction cloneHunk(hunk, offset) {\n return {\n oldStart: hunk.oldStart, oldLines: hunk.oldLines,\n newStart: hunk.newStart + offset, newLines: hunk.newLines,\n lines: hunk.lines\n };\n}\n\nfunction mergeLines(hunk, mineOffset, mineLines, theirOffset, theirLines) {\n // This will generally result in a conflicted hunk, but there are cases where the context\n // is the only overlap where we can successfully merge the content here.\n let mine = {offset: mineOffset, lines: mineLines, index: 0},\n their = {offset: theirOffset, lines: theirLines, index: 0};\n\n // Handle any leading content\n insertLeading(hunk, mine, their);\n insertLeading(hunk, their, mine);\n\n // Now in the overlap content. Scan through and select the best changes from each.\n while (mine.index < mine.lines.length && their.index < their.lines.length) {\n let mineCurrent = mine.lines[mine.index],\n theirCurrent = their.lines[their.index];\n\n if ((mineCurrent[0] === '-' || mineCurrent[0] === '+')\n && (theirCurrent[0] === '-' || theirCurrent[0] === '+')) {\n // Both modified ...\n mutualChange(hunk, mine, their);\n } else if (mineCurrent[0] === '+' && theirCurrent[0] === ' ') {\n // Mine inserted\n hunk.lines.push(... collectChange(mine));\n } else if (theirCurrent[0] === '+' && mineCurrent[0] === ' ') {\n // Theirs inserted\n hunk.lines.push(... collectChange(their));\n } else if (mineCurrent[0] === '-' && theirCurrent[0] === ' ') {\n // Mine removed or edited\n removal(hunk, mine, their);\n } else if (theirCurrent[0] === '-' && mineCurrent[0] === ' ') {\n // Their removed or edited\n removal(hunk, their, mine, true);\n } else if (mineCurrent === theirCurrent) {\n // Context identity\n hunk.lines.push(mineCurrent);\n mine.index++;\n their.index++;\n } else {\n // Context mismatch\n conflict(hunk, collectChange(mine), collectChange(their));\n }\n }\n\n // Now push anything that may be remaining\n insertTrailing(hunk, mine);\n insertTrailing(hunk, their);\n\n calcLineCount(hunk);\n}\n\nfunction mutualChange(hunk, mine, their) {\n let myChanges = collectChange(mine),\n theirChanges = collectChange(their);\n\n if (allRemoves(myChanges) && allRemoves(theirChanges)) {\n // Special case for remove changes that are supersets of one another\n if (arrayStartsWith(myChanges, theirChanges)\n && skipRemoveSuperset(their, myChanges, myChanges.length - theirChanges.length)) {\n hunk.lines.push(... myChanges);\n return;\n } else if (arrayStartsWith(theirChanges, myChanges)\n && skipRemoveSuperset(mine, theirChanges, theirChanges.length - myChanges.length)) {\n hunk.lines.push(... theirChanges);\n return;\n }\n } else if (arrayEqual(myChanges, theirChanges)) {\n hunk.lines.push(... myChanges);\n return;\n }\n\n conflict(hunk, myChanges, theirChanges);\n}\n\nfunction removal(hunk, mine, their, swap) {\n let myChanges = collectChange(mine),\n theirChanges = collectContext(their, myChanges);\n if (theirChanges.merged) {\n hunk.lines.push(... theirChanges.merged);\n } else {\n conflict(hunk, swap ? theirChanges : myChanges, swap ? myChanges : theirChanges);\n }\n}\n\nfunction conflict(hunk, mine, their) {\n hunk.conflict = true;\n hunk.lines.push({\n conflict: true,\n mine: mine,\n theirs: their\n });\n}\n\nfunction insertLeading(hunk, insert, their) {\n while (insert.offset < their.offset && insert.index < insert.lines.length) {\n let line = insert.lines[insert.index++];\n hunk.lines.push(line);\n insert.offset++;\n }\n}\nfunction insertTrailing(hunk, insert) {\n while (insert.index < insert.lines.length) {\n let line = insert.lines[insert.index++];\n hunk.lines.push(line);\n }\n}\n\nfunction collectChange(state) {\n let ret = [],\n operation = state.lines[state.index][0];\n while (state.index < state.lines.length) {\n let line = state.lines[state.index];\n\n // Group additions that are immediately after subtractions and treat them as one \"atomic\" modify change.\n if (operation === '-' && line[0] === '+') {\n operation = '+';\n }\n\n if (operation === line[0]) {\n ret.push(line);\n state.index++;\n } else {\n break;\n }\n }\n\n return ret;\n}\nfunction collectContext(state, matchChanges) {\n let changes = [],\n merged = [],\n matchIndex = 0,\n contextChanges = false,\n conflicted = false;\n while (matchIndex < matchChanges.length\n && state.index < state.lines.length) {\n let change = state.lines[state.index],\n match = matchChanges[matchIndex];\n\n // Once we've hit our add, then we are done\n if (match[0] === '+') {\n break;\n }\n\n contextChanges = contextChanges || change[0] !== ' ';\n\n merged.push(match);\n matchIndex++;\n\n // Consume any additions in the other block as a conflict to attempt\n // to pull in the remaining context after this\n if (change[0] === '+') {\n conflicted = true;\n\n while (change[0] === '+') {\n changes.push(change);\n change = state.lines[++state.index];\n }\n }\n\n if (match.substr(1) === change.substr(1)) {\n changes.push(change);\n state.index++;\n } else {\n conflicted = true;\n }\n }\n\n if ((matchChanges[matchIndex] || '')[0] === '+'\n && contextChanges) {\n conflicted = true;\n }\n\n if (conflicted) {\n return changes;\n }\n\n while (matchIndex < matchChanges.length) {\n merged.push(matchChanges[matchIndex++]);\n }\n\n return {\n merged,\n changes\n };\n}\n\nfunction allRemoves(changes) {\n return changes.reduce(function(prev, change) {\n return prev && change[0] === '-';\n }, true);\n}\nfunction skipRemoveSuperset(state, removeChanges, delta) {\n for (let i = 0; i < delta; i++) {\n let changeContent = removeChanges[removeChanges.length - delta + i].substr(1);\n if (state.lines[state.index + i] !== ' ' + changeContent) {\n return false;\n }\n }\n\n state.index += delta;\n return true;\n}\n\nfunction calcOldNewLineCount(lines) {\n let oldLines = 0;\n let newLines = 0;\n\n lines.forEach(function(line) {\n if (typeof line !== 'string') {\n let myCount = calcOldNewLineCount(line.mine);\n let theirCount = calcOldNewLineCount(line.theirs);\n\n if (oldLines !== undefined) {\n if (myCount.oldLines === theirCount.oldLines) {\n oldLines += myCount.oldLines;\n } else {\n oldLines = undefined;\n }\n }\n\n if (newLines !== undefined) {\n if (myCount.newLines === theirCount.newLines) {\n newLines += myCount.newLines;\n } else {\n newLines = undefined;\n }\n }\n } else {\n if (newLines !== undefined && (line[0] === '+' || line[0] === ' ')) {\n newLines++;\n }\n if (oldLines !== undefined && (line[0] === '-' || line[0] === ' ')) {\n oldLines++;\n }\n }\n });\n\n return {oldLines, newLines};\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/create.js":{"lineLengths":[25,13,0,46,13,3,42,34,50,34,0,23,3,25,31,23,1,0,179,0,190,0,416,0,130,0,91,0,183,0,23,99,17,17,3,0,47,24,3,0,12,27,5,25,0,27,7,25,3,27,12,25,28,0,14,11,3,0,13,14,13,53,0,32,39,25,7,3,0,17,24,24,20,18,18,0,27,29,25,6,26,78,26,0,43,31,20,0,29,53,27,31,32,32,0,19,97,43,43,9,29,0,0,31,0,29,0,31,18,29,27,31,15,29,7,31,25,29,34,51,46,0,0,26,32,14,32,7,12,52,26,76,73,35,25,0,33,24,0,35,0,33,0,35,23,33,31,35,20,33,11,35,29,33,32,16,35,25,0,33,37,68,0,35,0,33,0,35,23,33,31,35,20,33,11,35,29,33,54,0,22,36,60,36,60,27,12,0,72,38,51,51,86,0,72,99,80,80,13,0,70,60,13,11,0,27,28,28,24,9,7,0,30,30,5,4,0,41,29,10,27,7,3,0,10,29,29,25,25,16,4,1,0,28,15,0,45,43,3,0,82,109,109,0,47,83,59,64,0,30,25,5,0,30,25,5,0,112,36,3,0,31,1,0,103,111,1,0,79,96,1,15320,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/patch/create.js"],"names":["structuredPatch","oldFileName","newFileName","oldStr","newStr","oldHeader","newHeader","options","context","diff","diffLines","push","value","lines","contextLines","map","entry","hunks","oldRangeStart","newRangeStart","curRange","oldLine","newLine","i","current","replace","split","added","removed","prev","slice","length","contextSize","Math","min","hunk","oldStart","oldLines","newStart","newLines","oldEOFNewline","test","newEOFNewline","noNlBeforeAdds","splice","formatPatch","ret","apply","join","createTwoFilesPatch","createPatch","fileName"],"mappings":";;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;AAEO,SAASA,eAAT,CAAyBC,WAAzB,EAAsCC,WAAtC,EAAmDC,MAAnD,EAA2DC,MAA3D,EAAmEC,SAAnE,EAA8EC,SAA9E,EAAyFC,OAAzF,EAAkG;AACvG,MAAI,CAACA,OAAL,EAAc;AACZA,IAAAA,OAAO,GAAG,EAAV;AACD;;AACD,MAAI,OAAOA,OAAO,CAACC,OAAf,KAA2B,WAA/B,EAA4C;AAC1CD,IAAAA,OAAO,CAACC,OAAR,GAAkB,CAAlB;AACD;;AAED,MAAMC,IAAI;AAAG;AAAA;AAAA;;AAAAC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,GAAUP,MAAV,EAAkBC,MAAlB,EAA0BG,OAA1B,CAAb;;AACA,MAAG,CAACE,IAAJ,EAAU;AACR;AACD;;AAEDA,EAAAA,IAAI,CAACE,IAAL,CAAU;AAACC,IAAAA,KAAK,EAAE,EAAR;AAAYC,IAAAA,KAAK,EAAE;AAAnB,GAAV,EAbuG,CAapE;;AAEnC,WAASC,YAAT,CAAsBD,KAAtB,EAA6B;AAC3B,WAAOA,KAAK,CAACE,GAAN,CAAU,UAASC,KAAT,EAAgB;AAAE,aAAO,MAAMA,KAAb;AAAqB,KAAjD,CAAP;AACD;;AAED,MAAIC,KAAK,GAAG,EAAZ;AACA,MAAIC,aAAa,GAAG,CAApB;AAAA,MAAuBC,aAAa,GAAG,CAAvC;AAAA,MAA0CC,QAAQ,GAAG,EAArD;AAAA,MACIC,OAAO,GAAG,CADd;AAAA,MACiBC,OAAO,GAAG,CAD3B;;AApBuG;AAAA;AAAA;AAsB9FC,EAAAA,CAtB8F;AAuBrG,QAAMC,OAAO,GAAGf,IAAI,CAACc,CAAD,CAApB;AAAA,QACMV,KAAK,GAAGW,OAAO,CAACX,KAAR,IAAiBW,OAAO,CAACZ,KAAR,CAAca,OAAd,CAAsB,KAAtB,EAA6B,EAA7B,EAAiCC,KAAjC,CAAuC,IAAvC,CAD/B;AAEAF,IAAAA,OAAO,CAACX,KAAR,GAAgBA,KAAhB;;AAEA,QAAIW,OAAO,CAACG,KAAR,IAAiBH,OAAO,CAACI,OAA7B,EAAsC;AAAA;AAAA;;AAAA;AACpC;AACA,UAAI,CAACV,aAAL,EAAoB;AAClB,YAAMW,IAAI,GAAGpB,IAAI,CAACc,CAAC,GAAG,CAAL,CAAjB;AACAL,QAAAA,aAAa,GAAGG,OAAhB;AACAF,QAAAA,aAAa,GAAGG,OAAhB;;AAEA,YAAIO,IAAJ,EAAU;AACRT,UAAAA,QAAQ,GAAGb,OAAO,CAACC,OAAR,GAAkB,CAAlB,GAAsBM,YAAY,CAACe,IAAI,CAAChB,KAAL,CAAWiB,KAAX,CAAiB,CAACvB,OAAO,CAACC,OAA1B,CAAD,CAAlC,GAAyE,EAApF;AACAU,UAAAA,aAAa,IAAIE,QAAQ,CAACW,MAA1B;AACAZ,UAAAA,aAAa,IAAIC,QAAQ,CAACW,MAA1B;AACD;AACF,OAZmC,CAcpC;;;AACA;;AAAA;;AAAA;AAAA;AAAA;AAAAX,MAAAA,QAAQ,EAACT,IAAT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkBE,MAAAA,KAAK,CAACE,GAAN,CAAU,UAASC,KAAT,EAAgB;AAC1C,eAAO,CAACQ,OAAO,CAACG,KAAR,GAAgB,GAAhB,GAAsB,GAAvB,IAA8BX,KAArC;AACD,OAFiB,CAAlB,GAfoC,CAmBpC;;;AACA,UAAIQ,OAAO,CAACG,KAAZ,EAAmB;AACjBL,QAAAA,OAAO,IAAIT,KAAK,CAACkB,MAAjB;AACD,OAFD,MAEO;AACLV,QAAAA,OAAO,IAAIR,KAAK,CAACkB,MAAjB;AACD;AACF,KAzBD,MAyBO;AACL;AACA,UAAIb,aAAJ,EAAmB;AACjB;AACA,YAAIL,KAAK,CAACkB,MAAN,IAAgBxB,OAAO,CAACC,OAAR,GAAkB,CAAlC,IAAuCe,CAAC,GAAGd,IAAI,CAACsB,MAAL,GAAc,CAA7D,EAAgE;AAAA;AAAA;;AAAA;AAC9D;;AACA;;AAAA;;AAAA;AAAA;AAAA;AAAAX,UAAAA,QAAQ,EAACT,IAAT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkBG,UAAAA,YAAY,CAACD,KAAD,CAA9B;AACD,SAHD,MAGO;AAAA;AAAA;;AAAA;AACL;AACA,cAAImB,WAAW,GAAGC,IAAI,CAACC,GAAL,CAASrB,KAAK,CAACkB,MAAf,EAAuBxB,OAAO,CAACC,OAA/B,CAAlB;;AACA;;AAAA;;AAAA;AAAA;AAAA;AAAAY,UAAAA,QAAQ,EAACT,IAAT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkBG,UAAAA,YAAY,CAACD,KAAK,CAACiB,KAAN,CAAY,CAAZ,EAAeE,WAAf,CAAD,CAA9B;;AAEA,cAAIG,IAAI,GAAG;AACTC,YAAAA,QAAQ,EAAElB,aADD;AAETmB,YAAAA,QAAQ,EAAGhB,OAAO,GAAGH,aAAV,GAA0Bc,WAF5B;AAGTM,YAAAA,QAAQ,EAAEnB,aAHD;AAIToB,YAAAA,QAAQ,EAAGjB,OAAO,GAAGH,aAAV,GAA0Ba,WAJ5B;AAKTnB,YAAAA,KAAK,EAAEO;AALE,WAAX;;AAOA,cAAIG,CAAC,IAAId,IAAI,CAACsB,MAAL,GAAc,CAAnB,IAAwBlB,KAAK,CAACkB,MAAN,IAAgBxB,OAAO,CAACC,OAApD,EAA6D;AAC3D;AACA,gBAAIgC,aAAa,GAAK,KAAD,CAAQC,IAAR,CAAatC,MAAb,CAArB;AACA,gBAAIuC,aAAa,GAAK,KAAD,CAAQD,IAAR,CAAarC,MAAb,CAArB;AACA,gBAAIuC,cAAc,GAAG9B,KAAK,CAACkB,MAAN,IAAgB,CAAhB,IAAqBX,QAAQ,CAACW,MAAT,GAAkBI,IAAI,CAACE,QAAjE;;AACA,gBAAI,CAACG,aAAD,IAAkBG,cAAlB,IAAoCxC,MAAM,CAAC4B,MAAP,GAAgB,CAAxD,EAA2D;AACzD;AACA;AACAX,cAAAA,QAAQ,CAACwB,MAAT,CAAgBT,IAAI,CAACE,QAArB,EAA+B,CAA/B,EAAkC,8BAAlC;AACD;;AACD,gBAAK,CAACG,aAAD,IAAkB,CAACG,cAApB,IAAuC,CAACD,aAA5C,EAA2D;AACzDtB,cAAAA,QAAQ,CAACT,IAAT,CAAc,8BAAd;AACD;AACF;;AACDM,UAAAA,KAAK,CAACN,IAAN,CAAWwB,IAAX;AAEAjB,UAAAA,aAAa,GAAG,CAAhB;AACAC,UAAAA,aAAa,GAAG,CAAhB;AACAC,UAAAA,QAAQ,GAAG,EAAX;AACD;AACF;;AACDC,MAAAA,OAAO,IAAIR,KAAK,CAACkB,MAAjB;AACAT,MAAAA,OAAO,IAAIT,KAAK,CAACkB,MAAjB;AACD;AA9FoG;;AAsBvG,OAAK,IAAIR,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGd,IAAI,CAACsB,MAAzB,EAAiCR,CAAC,EAAlC,EAAsC;AAAA;AAAA;AAAA;AAA7BA,IAAAA,CAA6B;AAyErC;;AAED,SAAO;AACLtB,IAAAA,WAAW,EAAEA,WADR;AACqBC,IAAAA,WAAW,EAAEA,WADlC;AAELG,IAAAA,SAAS,EAAEA,SAFN;AAEiBC,IAAAA,SAAS,EAAEA,SAF5B;AAGLW,IAAAA,KAAK,EAAEA;AAHF,GAAP;AAKD;;AAEM,SAAS4B,WAAT,CAAqBpC,IAArB,EAA2B;AAChC,MAAMqC,GAAG,GAAG,EAAZ;;AACA,MAAIrC,IAAI,CAACR,WAAL,IAAoBQ,IAAI,CAACP,WAA7B,EAA0C;AACxC4C,IAAAA,GAAG,CAACnC,IAAJ,CAAS,YAAYF,IAAI,CAACR,WAA1B;AACD;;AACD6C,EAAAA,GAAG,CAACnC,IAAJ,CAAS,qEAAT;AACAmC,EAAAA,GAAG,CAACnC,IAAJ,CAAS,SAASF,IAAI,CAACR,WAAd,IAA6B,OAAOQ,IAAI,CAACJ,SAAZ,KAA0B,WAA1B,GAAwC,EAAxC,GAA6C,OAAOI,IAAI,CAACJ,SAAtF,CAAT;AACAyC,EAAAA,GAAG,CAACnC,IAAJ,CAAS,SAASF,IAAI,CAACP,WAAd,IAA6B,OAAOO,IAAI,CAACH,SAAZ,KAA0B,WAA1B,GAAwC,EAAxC,GAA6C,OAAOG,IAAI,CAACH,SAAtF,CAAT;;AAEA,OAAK,IAAIiB,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGd,IAAI,CAACQ,KAAL,CAAWc,MAA/B,EAAuCR,CAAC,EAAxC,EAA4C;AAC1C,QAAMY,IAAI,GAAG1B,IAAI,CAACQ,KAAL,CAAWM,CAAX,CAAb,CAD0C,CAE1C;AACA;AACA;;AACA,QAAIY,IAAI,CAACE,QAAL,KAAkB,CAAtB,EAAyB;AACvBF,MAAAA,IAAI,CAACC,QAAL,IAAiB,CAAjB;AACD;;AACD,QAAID,IAAI,CAACI,QAAL,KAAkB,CAAtB,EAAyB;AACvBJ,MAAAA,IAAI,CAACG,QAAL,IAAiB,CAAjB;AACD;;AACDQ,IAAAA,GAAG,CAACnC,IAAJ,CACE,SAASwB,IAAI,CAACC,QAAd,GAAyB,GAAzB,GAA+BD,IAAI,CAACE,QAApC,GACE,IADF,GACSF,IAAI,CAACG,QADd,GACyB,GADzB,GAC+BH,IAAI,CAACI,QADpC,GAEE,KAHJ;AAKAO,IAAAA,GAAG,CAACnC,IAAJ,CAASoC,KAAT,CAAeD,GAAf,EAAoBX,IAAI,CAACtB,KAAzB;AACD;;AAED,SAAOiC,GAAG,CAACE,IAAJ,CAAS,IAAT,IAAiB,IAAxB;AACD;;AAEM,SAASC,mBAAT,CAA6BhD,WAA7B,EAA0CC,WAA1C,EAAuDC,MAAvD,EAA+DC,MAA/D,EAAuEC,SAAvE,EAAkFC,SAAlF,EAA6FC,OAA7F,EAAsG;AAC3G,SAAOsC,WAAW,CAAC7C,eAAe,CAACC,WAAD,EAAcC,WAAd,EAA2BC,MAA3B,EAAmCC,MAAnC,EAA2CC,SAA3C,EAAsDC,SAAtD,EAAiEC,OAAjE,CAAhB,CAAlB;AACD;;AAEM,SAAS2C,WAAT,CAAqBC,QAArB,EAA+BhD,MAA/B,EAAuCC,MAAvC,EAA+CC,SAA/C,EAA0DC,SAA1D,EAAqEC,OAArE,EAA8E;AACnF,SAAO0C,mBAAmB,CAACE,QAAD,EAAWA,QAAX,EAAqBhD,MAArB,EAA6BC,MAA7B,EAAqCC,SAArC,EAAgDC,SAAhD,EAA2DC,OAA3D,CAA1B;AACD","sourcesContent":["import {diffLines} from '../diff/line';\n\nexport function structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) {\n if (!options) {\n options = {};\n }\n if (typeof options.context === 'undefined') {\n options.context = 4;\n }\n\n const diff = diffLines(oldStr, newStr, options);\n if(!diff) {\n return;\n }\n\n diff.push({value: '', lines: []}); // Append an empty value to make cleanup easier\n\n function contextLines(lines) {\n return lines.map(function(entry) { return ' ' + entry; });\n }\n\n let hunks = [];\n let oldRangeStart = 0, newRangeStart = 0, curRange = [],\n oldLine = 1, newLine = 1;\n for (let i = 0; i < diff.length; i++) {\n const current = diff[i],\n lines = current.lines || current.value.replace(/\\n$/, '').split('\\n');\n current.lines = lines;\n\n if (current.added || current.removed) {\n // If we have previous context, start with that\n if (!oldRangeStart) {\n const prev = diff[i - 1];\n oldRangeStart = oldLine;\n newRangeStart = newLine;\n\n if (prev) {\n curRange = options.context > 0 ? contextLines(prev.lines.slice(-options.context)) : [];\n oldRangeStart -= curRange.length;\n newRangeStart -= curRange.length;\n }\n }\n\n // Output our changes\n curRange.push(... lines.map(function(entry) {\n return (current.added ? '+' : '-') + entry;\n }));\n\n // Track the updated file position\n if (current.added) {\n newLine += lines.length;\n } else {\n oldLine += lines.length;\n }\n } else {\n // Identical context lines. Track line changes\n if (oldRangeStart) {\n // Close out any changes that have been output (or join overlapping)\n if (lines.length <= options.context * 2 && i < diff.length - 2) {\n // Overlapping\n curRange.push(... contextLines(lines));\n } else {\n // end the range and output\n let contextSize = Math.min(lines.length, options.context);\n curRange.push(... contextLines(lines.slice(0, contextSize)));\n\n let hunk = {\n oldStart: oldRangeStart,\n oldLines: (oldLine - oldRangeStart + contextSize),\n newStart: newRangeStart,\n newLines: (newLine - newRangeStart + contextSize),\n lines: curRange\n };\n if (i >= diff.length - 2 && lines.length <= options.context) {\n // EOF is inside this hunk\n let oldEOFNewline = ((/\\n$/).test(oldStr));\n let newEOFNewline = ((/\\n$/).test(newStr));\n let noNlBeforeAdds = lines.length == 0 && curRange.length > hunk.oldLines;\n if (!oldEOFNewline && noNlBeforeAdds && oldStr.length > 0) {\n // special case: old has no eol and no trailing context; no-nl can end up before adds\n // however, if the old file is empty, do not output the no-nl line\n curRange.splice(hunk.oldLines, 0, '\\\\ No newline at end of file');\n }\n if ((!oldEOFNewline && !noNlBeforeAdds) || !newEOFNewline) {\n curRange.push('\\\\ No newline at end of file');\n }\n }\n hunks.push(hunk);\n\n oldRangeStart = 0;\n newRangeStart = 0;\n curRange = [];\n }\n }\n oldLine += lines.length;\n newLine += lines.length;\n }\n }\n\n return {\n oldFileName: oldFileName, newFileName: newFileName,\n oldHeader: oldHeader, newHeader: newHeader,\n hunks: hunks\n };\n}\n\nexport function formatPatch(diff) {\n const ret = [];\n if (diff.oldFileName == diff.newFileName) {\n ret.push('Index: ' + diff.oldFileName);\n }\n ret.push('===================================================================');\n ret.push('--- ' + diff.oldFileName + (typeof diff.oldHeader === 'undefined' ? '' : '\\t' + diff.oldHeader));\n ret.push('+++ ' + diff.newFileName + (typeof diff.newHeader === 'undefined' ? '' : '\\t' + diff.newHeader));\n\n for (let i = 0; i < diff.hunks.length; i++) {\n const hunk = diff.hunks[i];\n // Unified Diff Format quirk: If the chunk size is 0,\n // the first number is one lower than one would expect.\n // https://www.artima.com/weblogs/viewpost.jsp?thread=164293\n if (hunk.oldLines === 0) {\n hunk.oldStart -= 1;\n }\n if (hunk.newLines === 0) {\n hunk.newStart -= 1;\n }\n ret.push(\n '@@ -' + hunk.oldStart + ',' + hunk.oldLines\n + ' +' + hunk.newStart + ',' + hunk.newLines\n + ' @@'\n );\n ret.push.apply(ret, hunk.lines);\n }\n\n return ret.join('\\n') + '\\n';\n}\n\nexport function createTwoFilesPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) {\n return formatPatch(structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options));\n}\n\nexport function createPatch(fileName, oldStr, newStr, oldHeader, newHeader, options) {\n return createTwoFilesPatch(fileName, fileName, oldStr, newStr, oldHeader, newHeader, options);\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/util/array.js":{"lineLengths":[25,13,0,46,13,3,32,42,0,23,27,30,17,3,0,31,1,0,40,36,17,3,0,42,32,19,5,3,0,14,1,1476,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/util/array.js"],"names":["arrayEqual","a","b","length","arrayStartsWith","array","start","i"],"mappings":";;;;;;;;;;AAAO,SAASA,UAAT,CAAoBC,CAApB,EAAuBC,CAAvB,EAA0B;AAC/B,MAAID,CAAC,CAACE,MAAF,KAAaD,CAAC,CAACC,MAAnB,EAA2B;AACzB,WAAO,KAAP;AACD;;AAED,SAAOC,eAAe,CAACH,CAAD,EAAIC,CAAJ,CAAtB;AACD;;AAEM,SAASE,eAAT,CAAyBC,KAAzB,EAAgCC,KAAhC,EAAuC;AAC5C,MAAIA,KAAK,CAACH,MAAN,GAAeE,KAAK,CAACF,MAAzB,EAAiC;AAC/B,WAAO,KAAP;AACD;;AAED,OAAK,IAAII,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGD,KAAK,CAACH,MAA1B,EAAkCI,CAAC,EAAnC,EAAuC;AACrC,QAAID,KAAK,CAACC,CAAD,CAAL,KAAaF,KAAK,CAACE,CAAD,CAAtB,EAA2B;AACzB,aAAO,KAAP;AACD;AACF;;AAED,SAAO,IAAP;AACD","sourcesContent":["export function arrayEqual(a, b) {\n if (a.length !== b.length) {\n return false;\n }\n\n return arrayStartsWith(a, b);\n}\n\nexport function arrayStartsWith(array, start) {\n if (start.length > array.length) {\n return false;\n }\n\n for (let i = 0; i < start.length; i++) {\n if (start[i] !== array[i]) {\n return false;\n }\n }\n\n return true;\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/convert/dmp.js":{"lineLengths":[25,13,0,46,13,3,50,0,23,65,39,15,13,16,0,44,24,0,23,20,32,21,12,20,5,0,40,3,0,13,1,1644,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/convert/dmp.js"],"names":["convertChangesToDMP","changes","ret","change","operation","i","length","added","removed","push","value"],"mappings":";;;;;;;;;AAAA;AACO,SAASA,mBAAT,CAA6BC,OAA7B,EAAsC;AAC3C,MAAIC,GAAG,GAAG,EAAV;AAAA,MACIC,MADJ;AAAA,MAEIC,SAFJ;;AAGA,OAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGJ,OAAO,CAACK,MAA5B,EAAoCD,CAAC,EAArC,EAAyC;AACvCF,IAAAA,MAAM,GAAGF,OAAO,CAACI,CAAD,CAAhB;;AACA,QAAIF,MAAM,CAACI,KAAX,EAAkB;AAChBH,MAAAA,SAAS,GAAG,CAAZ;AACD,KAFD,MAEO,IAAID,MAAM,CAACK,OAAX,EAAoB;AACzBJ,MAAAA,SAAS,GAAG,CAAC,CAAb;AACD,KAFM,MAEA;AACLA,MAAAA,SAAS,GAAG,CAAZ;AACD;;AAEDF,IAAAA,GAAG,CAACO,IAAJ,CAAS,CAACL,SAAD,EAAYD,MAAM,CAACO,KAAnB,CAAT;AACD;;AACD,SAAOR,GAAP;AACD","sourcesContent":["// See: http://code.google.com/p/google-diff-match-patch/wiki/API\nexport function convertChangesToDMP(changes) {\n let ret = [],\n change,\n operation;\n for (let i = 0; i < changes.length; i++) {\n change = changes[i];\n if (change.added) {\n operation = 1;\n } else if (change.removed) {\n operation = -1;\n } else {\n operation = 0;\n }\n\n ret.push([operation, change.value]);\n }\n return ret;\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/convert/xml.js":{"lineLengths":[25,13,0,46,13,3,50,0,23,39,15,0,44,28,0,23,24,32,24,5,0,39,0,23,25,32,25,5,3,0,22,1,0,24,12,31,30,30,32,11,1,2564,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/convert/xml.js"],"names":["convertChangesToXML","changes","ret","i","length","change","added","push","removed","escapeHTML","value","join","s","n","replace"],"mappings":";;;;;;;;;AAAO,SAASA,mBAAT,CAA6BC,OAA7B,EAAsC;AAC3C,MAAIC,GAAG,GAAG,EAAV;;AACA,OAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGF,OAAO,CAACG,MAA5B,EAAoCD,CAAC,EAArC,EAAyC;AACvC,QAAIE,MAAM,GAAGJ,OAAO,CAACE,CAAD,CAApB;;AACA,QAAIE,MAAM,CAACC,KAAX,EAAkB;AAChBJ,MAAAA,GAAG,CAACK,IAAJ,CAAS,OAAT;AACD,KAFD,MAEO,IAAIF,MAAM,CAACG,OAAX,EAAoB;AACzBN,MAAAA,GAAG,CAACK,IAAJ,CAAS,OAAT;AACD;;AAEDL,IAAAA,GAAG,CAACK,IAAJ,CAASE,UAAU,CAACJ,MAAM,CAACK,KAAR,CAAnB;;AAEA,QAAIL,MAAM,CAACC,KAAX,EAAkB;AAChBJ,MAAAA,GAAG,CAACK,IAAJ,CAAS,QAAT;AACD,KAFD,MAEO,IAAIF,MAAM,CAACG,OAAX,EAAoB;AACzBN,MAAAA,GAAG,CAACK,IAAJ,CAAS,QAAT;AACD;AACF;;AACD,SAAOL,GAAG,CAACS,IAAJ,CAAS,EAAT,CAAP;AACD;;AAED,SAASF,UAAT,CAAoBG,CAApB,EAAuB;AACrB,MAAIC,CAAC,GAAGD,CAAR;AACAC,EAAAA,CAAC,GAAGA,CAAC,CAACC,OAAF,CAAU,IAAV,EAAgB,OAAhB,CAAJ;AACAD,EAAAA,CAAC,GAAGA,CAAC,CAACC,OAAF,CAAU,IAAV,EAAgB,MAAhB,CAAJ;AACAD,EAAAA,CAAC,GAAGA,CAAC,CAACC,OAAF,CAAU,IAAV,EAAgB,MAAhB,CAAJ;AACAD,EAAAA,CAAC,GAAGA,CAAC,CAACC,OAAF,CAAU,IAAV,EAAgB,QAAhB,CAAJ;AAEA,SAAOD,CAAP;AACD","sourcesContent":["export function convertChangesToXML(changes) {\n let ret = [];\n for (let i = 0; i < changes.length; i++) {\n let change = changes[i];\n if (change.added) {\n ret.push('');\n } else if (change.removed) {\n ret.push('');\n }\n\n ret.push(escapeHTML(change.value));\n\n if (change.added) {\n ret.push('');\n } else if (change.removed) {\n ret.push('');\n }\n }\n return ret.join('');\n}\n\nfunction escapeHTML(s) {\n let n = s;\n n = n.replace(/&/g, '&');\n n = n.replace(//g, '>');\n n = n.replace(/\"/g, '"');\n\n return n;\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/capabilities.js":{"lineLengths":[13,62,36,39,45,43,26,19,20,20,21,21,25,60,24,31,17,53,5,20,88,28,88,9,28,5,21,29,91,9,29,5,21,29,91,9,29,5,22,30,94,9,30,5,22,30,94,9,30,5,1,48,40],"data":{"version":3,"file":"capabilities.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/capabilities.ts"],"names":[],"mappings":";;;AAAA,uCAAyC;AAOzC,6CAKwB;AACxB,2CAAyC;AAEzC,MAAa,kBAAkB;IAC7B,OAAO,GAAwB,IAAI,CAAA;IACnC,QAAQ,GAAyB,IAAI,CAAA;IACrC,QAAQ,GAAyB,IAAI,CAAA;IACrC,SAAS,GAA0B,IAAI,CAAA;IACvC,SAAS,GAA0B,IAAI,CAAA;IAE/B,KAAK,CAAC,QAAQ,CAAC,GAAW;QAChC,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,IAAI,uBAAa,CAAC;YACvC,IAAI,EAAE,CAAC,GAAG,CAAC;YACX,aAAa,EAAE,IAAI;SACpB,CAAC,CAAC,GAAG,EAAE,CAAA;QAER,OAAO,MAAM,CAAC,KAAK,CAAC,iBAAQ,CAAC,IAAI,EAAE,CAAA;IACrC,CAAC;IAED,KAAK,CAAC,MAAM;QACV,gFAAgF;QAEhF,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACjB,IAAI,CAAC,OAAO,GAAG,IAAA,uBAAa,EAAC,MAAM,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAA;SAC7D;QAED,OAAO,IAAI,CAAC,OAAO,CAAA;IACrB,CAAC;IAED,KAAK,CAAC,OAAO;QACX,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YAClB,IAAI,CAAC,QAAQ,GAAG,IAAA,wBAAc,EAAC,MAAM,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAA;SAChE;QAED,OAAO,IAAI,CAAC,QAAQ,CAAA;IACtB,CAAC;IAED,KAAK,CAAC,OAAO;QACX,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YAClB,IAAI,CAAC,QAAQ,GAAG,IAAA,wBAAc,EAAC,MAAM,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAA;SAChE;QAED,OAAO,IAAI,CAAC,QAAQ,CAAA;IACtB,CAAC;IAED,KAAK,CAAC,QAAQ;QACZ,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACnB,IAAI,CAAC,SAAS,GAAG,IAAA,yBAAe,EAAC,MAAM,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAA;SACnE;QAED,OAAO,IAAI,CAAC,SAAS,CAAA;IACvB,CAAC;IAED,KAAK,CAAC,QAAQ;QACZ,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACnB,IAAI,CAAC,SAAS,GAAG,IAAA,yBAAe,EAAC,MAAM,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAA;SACnE;QAED,OAAO,IAAI,CAAC,SAAS,CAAA;IACvB,CAAC;CACF;AAzDD,gDAyDC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/process.js":{"lineLengths":[13,72,62,2,62,31,59,47,45,70,21,9,9,8,12,18,16,17,15,16,13,26,33,33,31,39,51,47,49,45,47,41,32,5,24,54,90,9,5,97,19,54,34,57,68,62,25,9,56,68,30,38,33,15,53,53,27,44,13,29,45,72,35,47,21,19,13,30,78,45,42,52,21,19,13,52,49,31,31,29,81,17,32,68,81,32,58,21,47,17,22,29,50,49,23,17,15,35,51,55,54,32,33,19,82,51,13,78,36,53,56,54,32,33,19,13,42,82,13,11,23,89,9,23,5,1,38,35],"data":{"version":3,"file":"process.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/process.ts"],"names":[],"mappings":";;;;;;AAAA,2DAA0C;AAE1C,+CAA4C;AAC5C,6CAIwB;AACxB,sEAA4C;AAyB5C,MAAa,aAAa;IACxB,IAAI,CAAU;IACd,IAAI,CAAS;IACb,GAAG,CAAS;IACZ,OAAO,CAAS;IAChB,aAAa,CAAU;IACvB,WAAW,CAAW;IACtB,YAAY,CAAW;IACvB,UAAU,CAA0C;IACpD,WAAW,CAAwC;IACnD,QAAQ,CAAyB;IAEjC,YAAY,OAAuB;QACjC,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;QACxB,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;QACxB,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAA;QACtB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAA;QAC9B,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAA;QAC1C,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAA;QACtC,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAA;QACxC,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAA;QACpC,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAA;QACtC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAA;QAEhC,IAAI,CAAC,gBAAgB,EAAE,CAAA;IACzB,CAAC;IAED,gBAAgB;QACd,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,aAAa,EAAE;YAC3C,MAAM,IAAI,KAAK,CACb,4DAA4D,CAC7D,CAAA;SACF;IACH,CAAC;IAED,6FAA6F;IAC7F,GAAG,CAAC,QAA0C;QAC5C,IAAI,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,QAAQ,CAAA;QAC7C,IAAI,IAAI,GAAa,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAA;QAEnC,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAA;QAEhD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,oBAAS,EAAE;YAC9C,IAAI,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAA;YACjD,GAAG,GAAG,MAAM,CAAA;SACb;QAED,IAAI,OAAO,GAAuB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAChE,IAAI,KAAK,GAAG,IAAA,0BAAK,EAAC,GAAG,EAAE,IAAI,EAAE;gBAC3B,GAAG,EAAE,IAAI,CAAC,GAAG;gBACb,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,WAAW,EAAE,IAAI;aAClB,CAAC,CAAA;YAEF,IAAI,MAAM,GAAG,IAAI,qBAAU,EAAE,CAAA;YAC7B,IAAI,MAAM,GAAG,IAAI,qBAAU,EAAE,CAAA;YAE7B,IAAI,QAAQ,EAAE;gBACZ,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;aAC5B;YAED,IAAI,UAAU,EAAE;gBACd,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE;oBACjC,IAAI,QAAQ,GAAG,IAAA,yBAAe,EAAC,IAAI,CAAC,CAAA;oBACpC,IAAI,QAAQ,EAAE;wBACZ,UAAU,EAAE,CAAC,QAAQ,CAAC,CAAA;qBACvB;gBACH,CAAC,CAAC,CAAA;aACH;YAED,IAAI,WAAW,EAAE;gBACf,IAAI,SAAS,GAAG,IAAI,4BAAkB,CAAC,WAAW,CAAC,CAAA;gBACnD,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE;oBACjC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE;wBACnB,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;qBAC5B;gBACH,CAAC,CAAC,CAAA;aACH;YAED,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAA;YAEvC,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE;gBACjC,MAAM,CAAC,KAAK,EAAE,CAAA;gBACd,MAAM,CAAC,KAAK,EAAE,CAAA;gBAEd,IAAI,MAAM,EAAE;oBACV,MAAM,CAAC,IAAI,KAAK,CAAC,iCAAiC,MAAM,EAAE,CAAC,CAAC,CAAA;iBAC7D;qBAAM,IAAI,IAAI,EAAE;oBACf,IAAI,OAAO,GAAG,2BAA2B,IAAI,EAAE,CAAA;oBAC/C,IAAI,KAAK,GAAG,IAAA,6BAAmB,EAAC,MAAM,CAAC,KAAK,CAAC,CAAA;oBAE7C,IAAI,KAAK,EAAE;wBACT,OAAO,GAAG,GAAG,OAAO,MAAM,KAAK,EAAE,CAAA;qBAClC;oBAED,MAAM,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAA;iBAC3B;qBAAM;oBACL,OAAO,CAAC;wBACN,MAAM,EAAE,MAAM,CAAC,QAAQ,EAAE;wBACzB,MAAM,EAAE,MAAM,CAAC,QAAQ,EAAE;qBAC1B,CAAC,CAAA;iBACH;YACH,CAAC,CAAC,CAAA;YAEF,IAAI,IAAI,CAAC,WAAW,EAAE;gBACpB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;gBAClC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE;oBACnC,kCAAkC;oBAClC,MAAM,CAAC,GAAG,CAAC,CAAA;oBAEX,KAAK,CAAC,IAAI,EAAE,CAAA;gBACd,CAAC,CAAC,CAAA;gBAEF,kEAAkE;gBAClE,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,CAAC,CAAA;aAClC;YAED,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAA;YAEjE,IAAI,IAAI,CAAC,YAAY,EAAE;gBACrB,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA;gBAEpC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE;oBACpC,kCAAkC;oBAClC,MAAM,CAAC,GAAG,CAAC,CAAA;oBAEX,KAAK,CAAC,IAAI,EAAE,CAAA;gBACd,CAAC,CAAC,CAAA;aACH;iBAAM,IAAI,IAAI,CAAC,aAAa,EAAE;gBAC7B,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAA;aAClE;QACH,CAAC,CAAC,CAAA;QAEF,IAAI,QAAQ,EAAE;YACZ,OAAO,CAAC,IAAI,CACV,CAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC,EAChC,CAAC,MAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAC7B,CAAA;SACF;QAED,OAAO,OAAO,CAAA;IAChB,CAAC;CACF;AA9ID,sCA8IC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/platform.js":{"lineLengths":[13,62,27,35,15,25,36],"data":{"version":3,"file":"platform.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/platform.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAY,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;KAC9C,QAAQ,EAAE;KACV,KAAK,CAAC,YAAY,CAAC,CAAA"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/parsing.js":{"lineLengths":[13,62,192,37,3,46,2,68,25,3,43,85,22,40,69,22,9,14,35,28,9,10,20,1,50,3,50,2,46,32,3,38,67,22,29,46,34,34,19,9,47,42,9,37,68,9,53,60,9,34,34,9,35,60,9,5,20,1,42,26,11,10,12,9,13,27,25,24,29,26,33,5,69,23,64,26,32,25,39,38,14,19,9,27,68,32,68,23,13,67,29,77,69,23,13,67,29,77,69,23,13,9,52,33,9,49,29,36,34,9,5,1,48,31,21,23,21,23,21,26,21,22,24,1,31,20,29,56,20,92,25,28,43,42,42,42,37,42,14,33,82,31,67,57,69,32,17,13,33,82,31,67,57,69,32,17,13,33,9,5,18,1,38,32,21,29,57,20,58,29,28,36,39,14,9,5,19,1,40,38,26,18,5,31,25,5,10,72,5,1,32,21,29,57,20,89,29,28,51,52,14,9,5,19,1,40,33,21,23,21,23,22,1,33,22,29,58,20,85,30,28,45,51,51,42,44,47,14,9,5,20,1,42,35],"data":{"version":3,"file":"parsing.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/parsing.ts"],"names":[],"mappings":";;;AAcA,qCAaiB;AAEjB;;;;;GAKG;AACH,SAAgB,mBAAmB,CAAC,WAAqB;IACvD,iFAAiF;IACjF,OAAO,WAAW;SACf,MAAM,CAAC,CAAC,QAAkB,EAAE,OAAe,EAAY,EAAE;QACxD,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE;YAC1D,OAAO,EAAE,CAAA;SACV;aAAM;YACL,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;YACtB,OAAO,QAAQ,CAAA;SAChB;IACH,CAAC,EAAE,EAAE,CAAC;SACL,IAAI,CAAC,IAAI,CAAC,CAAA;AACf,CAAC;AAZD,kDAYC;AAED;;;;;GAKG;AACH,SAAgB,eAAe,CAC7B,UAAkB;IAElB,IAAI,KAAK,GAAG,UAAU,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IAC9D,IAAI,QAAQ,GAAwB,EAAE,CAAA;IAEtC,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;QAErC,IAAI,KAAK,KAAK,SAAS,EAAE;YACvB,sBAAsB;YACtB,OAAM;SACP;QAED,IAAI,GAAG,KAAK,OAAO,IAAI,GAAG,KAAK,KAAK,EAAE;YACpC,QAAQ,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;SAC9B;aAAM,IAAI,GAAG,KAAK,SAAS,EAAE;YAC5B,QAAQ,CAAC,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,CAAA;SACxD;aAAM,IAAI,GAAG,KAAK,MAAM,IAAI,GAAG,KAAK,OAAO,EAAE;YAC5C,QAAQ,CAAC,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAA;SAChD;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,QAAQ,CAAC,IAAI,GAAG,KAAK,CAAA;SACtB;aAAM,IAAI,GAAG,KAAK,OAAO,EAAE;YAC1B,QAAQ,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAA;SAChD;KACF;IAED,OAAO,QAAQ,CAAA;AACjB,CAAC;AA5BD,0CA4BC;AAED,MAAa,kBAAkB;IAC7B,MAAM,CAA+B;IACrC,KAAK,CAAQ;IACb,OAAO,CAAS;IAChB,IAAI,CAAS;IACb,QAAQ,CAAsC;IAE9C,YAAY,QAA8C;QACxD,IAAI,CAAC,MAAM,GAAG,EAAE,CAAA;QAChB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAA;QACf,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QACpB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAA;QACjB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;IAC1B,CAAC;IAED,iEAAiE;IACjE,WAAW,CAAC,IAAY;QACtB,IAAI,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,yBAAgB,CAAC,CAAA;QAC9C,IAAI,WAAW,EAAE;YACf,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;YACnB,IAAI,CAAC,KAAK,EAAE,CAAA;YACZ,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG;gBACxB,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC;aACvB,CAAA;YAED,OAAM;SACP;QAED,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,uBAAc,CAAC,CAAA;YAC9C,IAAI,aAAa,EAAE;gBACjB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,QAAQ,GAAG,aAAa,CAAC,CAAC,CAAC,CAAA;gBACnD,OAAM;aACP;YAED,IAAI,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,yBAAgB,CAAC,CAAA;YAC7C,IAAI,UAAU,EAAE;gBACd,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;gBAC5D,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,YAAY,GAAG,UAAU,CAAC,CAAC,CAAC,CAAA;gBACpD,OAAM;aACP;YAED,IAAI,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,yBAAgB,CAAC,CAAA;YAC7C,IAAI,UAAU,EAAE;gBACd,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;gBAC5D,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,YAAY,GAAG,UAAU,CAAC,CAAC,CAAC,CAAA;gBACpD,OAAM;aACP;SACF;QAED,IAAI,0BAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YAChC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;SACrB;QAED,IAAI,uBAAc,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YAC7B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;YAChB,IAAI,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAA;YAEvB,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;SACtB;IACH,CAAC;CACF;AA7DD,gDA6DC;AAED,SAAS,cAAc,CAAC,IAAY;IAClC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,OAAO,CAAA;IAChC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,OAAO,CAAA;IAChC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,UAAU,CAAA;IACnC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,MAAM,CAAA;IAC/B,OAAO,YAAY,CAAA;AACrB,CAAC;AAED,SAAgB,aAAa,CAAC,KAAe;IAC3C,IAAI,MAAM,GAAiB,EAAE,CAAA;IAE7B,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,uBAAc,CAAC,CAAA;QACtC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,CAAC,GACrE,KAAK,CAAA;YAEP,IAAI,KAAK,GAAgB;gBACvB,WAAW;gBACX,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC;gBAC1B,SAAS,EAAE,MAAM,KAAK,GAAG;gBACzB,SAAS,EAAE,MAAM,KAAK,GAAG;gBACzB,UAAU,EAAE,KAAK,KAAK,GAAG;gBACzB,KAAK,EAAE,KAAK,KAAK,GAAG;gBACpB,QAAQ,EAAE,QAAQ,KAAK,GAAG;aAC3B,CAAA;YAED,IAAI,MAAM,KAAK,GAAG,EAAE;gBAClB,IAAI,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,+BAAsB,CAAC,CAAA;gBACxD,IAAI,QAAQ,EAAE;oBACZ,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;oBAC9C,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW;yBAClC,OAAO,CAAC,+BAAsB,EAAE,EAAE,CAAC;yBACnC,IAAI,EAAE,CAAA;iBACV;aACF;YAED,IAAI,MAAM,KAAK,GAAG,EAAE;gBAClB,IAAI,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,+BAAsB,CAAC,CAAA;gBACxD,IAAI,QAAQ,EAAE;oBACZ,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;oBAC9C,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW;yBAClC,OAAO,CAAC,+BAAsB,EAAE,EAAE,CAAC;yBACnC,IAAI,EAAE,CAAA;iBACV;aACF;YAED,MAAM,CAAC,IAAI,CAAC,GAAG,KAAK,CAAA;SACrB;KACF;IAED,OAAO,MAAM,CAAA;AACf,CAAC;AA5CD,sCA4CC;AAED,SAAgB,cAAc,CAAC,KAAe;IAC5C,IAAI,OAAO,GAAkB,EAAE,CAAA;IAE/B,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,wBAAe,CAAC,CAAA;QACvC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,CAAC,GAAG,KAAK,CAAA;YAC7C,OAAO,CAAC,IAAI,CAAC,GAAG;gBACd,WAAW;gBACX,MAAM,EAAE,GAAG,KAAK,GAAG;gBACnB,QAAQ,EAAE,KAAK,KAAK,GAAG;aACxB,CAAA;SACF;KACF;IAED,OAAO,OAAO,CAAA;AAChB,CAAC;AAhBD,wCAgBC;AAED,SAAS,kBAAkB,CACzB,OAAe;IAEf,IAAI,OAAO,KAAK,GAAG,EAAE;QACnB,OAAO,EAAE,CAAA;KACV;SAAM,IAAI,OAAO,KAAK,GAAG,EAAE;QAC1B,OAAO,SAAS,CAAA;KACjB;SAAM;QACL,OAAO,CAAC,GAAG,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAA;KAChE;AACH,CAAC;AAED,SAAgB,cAAc,CAAC,KAAe;IAC5C,IAAI,OAAO,GAAkB,EAAE,CAAA;IAE/B,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,wBAAe,CAAC,CAAA;QACvC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,CAAC,GAClE,KAAK,CAAA;YAEP,OAAO,CAAC,IAAI,CAAC,GAAG;gBACd,WAAW;gBACX,MAAM,EAAE,kBAAkB,CAAC,MAAM,CAAC;gBAClC,OAAO,EAAE,kBAAkB,CAAC,OAAO,CAAC;aACrC,CAAA;SACF;KACF;IAED,OAAO,OAAO,CAAA;AAChB,CAAC;AAlBD,wCAkBC;AAED,SAAS,gBAAgB,CAAC,IAAY;IACpC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,OAAO,CAAA;IAChC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,OAAO,CAAA;IAChC,OAAO,UAAU,CAAA;AACnB,CAAC;AAED,SAAgB,eAAe,CAAC,KAAe;IAC7C,IAAI,QAAQ,GAAmB,EAAE,CAAA;IAEjC,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,yBAAgB,CAAC,CAAA;QACxC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,CAAC,GAAG,KAAK,CAAA;YAExE,QAAQ,CAAC,IAAI,CAAC,GAAG;gBACf,WAAW;gBACX,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC;gBAC5B,mBAAmB,EAAE,KAAK,KAAK,GAAG;gBAClC,mBAAmB,EAAE,KAAK,KAAK,GAAG;gBAClC,YAAY,EAAE,GAAG,KAAK,GAAG;gBACzB,aAAa,EAAE,IAAI,KAAK,GAAG;gBAC3B,eAAe,EAAE,MAAM,KAAK,GAAG;aAChC,CAAA;SACF;KACF;IAED,OAAO,QAAQ,CAAA;AACjB,CAAC;AArBD,0CAqBC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/regexp.js":{"lineLengths":[13,62,380,42,33,53,46,42,42,42,72,60,91,57,57,89,90,34],"data":{"version":3,"file":"regexp.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/regexp.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG,gBAAgB,CAAA;AAEjC,QAAA,QAAQ,GAAG,aAAa,CAAA;AAExB,QAAA,gBAAgB,GAAG,yBAAyB,CAAA;AAC5C,QAAA,cAAc,GAAG,oBAAoB,CAAA;AACrC,QAAA,gBAAgB,GAAG,cAAc,CAAA;AACjC,QAAA,gBAAgB,GAAG,cAAc,CAAA;AACjC,QAAA,iBAAiB,GAAG,aAAa,CAAA;AACjC,QAAA,cAAc,GAAG,8CAA8C,CAAA;AAE/D,QAAA,eAAe,GAAG,iCAAiC,CAAA;AACnD,QAAA,cAAc,GACzB,iEAAiE,CAAA;AACtD,QAAA,sBAAsB,GAAG,uBAAuB,CAAA;AAChD,QAAA,sBAAsB,GAAG,uBAAuB,CAAA;AAChD,QAAA,eAAe,GAC1B,8DAA8D,CAAA;AACnD,QAAA,gBAAgB,GAC3B,8DAA8D,CAAA"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/line-buffer.js":{"lineLengths":[13,72,62,2,62,62,37,48,10,12,17,19,16,24,29,31,5,18,27,52,9,26,60,43,47,72,13,18,40,82,50,48,17,54,53,50,48,17,13,9,5,13,27,52,9,32,49,47,9,28,5,16,37,5,1,29,39],"data":{"version":3,"file":"line-buffer.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/line-buffer.ts"],"names":[],"mappings":";;;;;AAAA,8DAAsC;AAEtC,qCAAmC;AAEnC,MAAqB,UAAW,SAAQ,qBAAY;IAClD,KAAK,CAAU;IACf,OAAO,CAAS;IAChB,YAAY,CAAQ;IAEpB;QACE,KAAK,EAAE,CAAA;QAEP,IAAI,CAAC,KAAK,GAAG,EAAE,CAAA;QACf,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QACpB,IAAI,CAAC,YAAY,GAAG,EAAE,CAAA;IACxB,CAAC;IAED,MAAM,CAAC,IAAY;QACjB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAA;SACxC;QAED,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,iBAAQ,CAAC,CAAA;YAEtC,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;gBAC5B,IAAI,CAAC,UAAU,CAAC,GAAG,WAAW,CAAA;gBAC9B,IAAI,CAAC,YAAY,GAAG,GAAG,IAAI,CAAC,YAAY,GAAG,UAAU,EAAE,CAAA;aACxD;iBAAM;gBACL,IAAI,IAAI,CAAC,YAAY,EAAE;oBACrB,IAAI,UAAU,GAAG,GAAG,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC,KAAK,EAAE,EAAE,CAAA;oBAC7D,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;oBAC7B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;iBAC5B;gBAED,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC,GAAG,EAAY,CAAA;gBAC/C,KAAK,IAAI,UAAU,IAAI,WAAW,EAAE;oBAClC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;oBAC7B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;iBAC5B;aACF;SACF;IACH,CAAC;IAED,KAAK;QACH,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAA;SACxC;QAED,IAAI,IAAI,CAAC,YAAY,EAAE;YACrB,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,CAAA;YACpC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA;SACnC;QAED,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;IACrB,CAAC;IAED,QAAQ;QACN,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC9B,CAAC;CACF;AAxDD,6BAwDC"},"url":null,"sourceURL":null}}} \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761417-3.json b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761417-3.json new file mode 100644 index 0000000..f630175 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761417-3.json @@ -0,0 +1 @@ +{"result":[{"scriptId":"78","url":"node:internal/per_context/primordials","functions":[{"functionName":"SafeIterator","ranges":[{"startOffset":9499,"endOffset":9570,"count":143}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":9575,"endOffset":9624,"count":721}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9629,"endOffset":9674,"count":86}],"isBlockCoverage":true},{"functionName":"desc.value","ranges":[{"startOffset":11239,"endOffset":11306,"count":57}],"isBlockCoverage":true},{"functionName":"SafeMap","ranges":[{"startOffset":11964,"endOffset":11992,"count":699}],"isBlockCoverage":false},{"functionName":"SafeWeakMap","ranges":[{"startOffset":12136,"endOffset":12164,"count":10}],"isBlockCoverage":false},{"functionName":"SafeSet","ranges":[{"startOffset":12293,"endOffset":12321,"count":702}],"isBlockCoverage":false},{"functionName":"SafeWeakSet","ranges":[{"startOffset":12465,"endOffset":12493,"count":1}],"isBlockCoverage":true},{"functionName":"SafeFinalizationRegistry","ranges":[{"startOffset":12745,"endOffset":12801,"count":3}],"isBlockCoverage":true},{"functionName":"SafeWeakRef","ranges":[{"startOffset":12954,"endOffset":12992,"count":23}],"isBlockCoverage":true},{"functionName":"SafePromise","ranges":[{"startOffset":13140,"endOffset":13182,"count":348}],"isBlockCoverage":true},{"functionName":"primordials.SafePromisePrototypeFinally","ranges":[{"startOffset":13686,"endOffset":13960,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13831,"endOffset":13955,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13861,"endOffset":13910,"count":58}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnArrayLike","ranges":[{"startOffset":15280,"endOffset":15836,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15315,"endOffset":15835,"count":97},{"startOffset":15485,"endOffset":15504,"count":62},{"startOffset":15577,"endOffset":15831,"count":158},{"startOffset":15615,"endOffset":15638,"count":0},{"startOffset":15831,"endOffset":15834,"count":158}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15706,"endOffset":15815,"count":158},{"startOffset":15788,"endOffset":15807,"count":35}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnVoid","ranges":[{"startOffset":16178,"endOffset":16580,"count":203}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16213,"endOffset":16579,"count":203},{"startOffset":16310,"endOffset":16320,"count":133},{"startOffset":16367,"endOffset":16575,"count":316},{"startOffset":16405,"endOffset":16428,"count":158},{"startOffset":16429,"endOffset":16442,"count":158},{"startOffset":16575,"endOffset":16578,"count":316}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16496,"endOffset":16559,"count":316},{"startOffset":16541,"endOffset":16551,"count":70}],"isBlockCoverage":true}]},{"scriptId":"80","url":"node:internal/per_context/messageport","functions":[{"functionName":"exports.emitMessage","ranges":[{"startOffset":407,"endOffset":993,"count":4},{"startOffset":683,"endOffset":991,"count":0}],"isBlockCoverage":true}]},{"scriptId":"81","url":"node:internal/bootstrap/realm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14749,"count":1}],"isBlockCoverage":false},{"functionName":"binding","ranges":[{"startOffset":4702,"endOffset":5475,"count":0}],"isBlockCoverage":false},{"functionName":"_linkedBinding","ranges":[{"startOffset":5505,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"internalBinding","ranges":[{"startOffset":5955,"endOffset":6217,"count":219},{"startOffset":6057,"endOffset":6197,"count":51}],"isBlockCoverage":true},{"functionName":"getOwn","ranges":[{"startOffset":6377,"endOffset":6531,"count":3770},{"startOffset":6513,"endOffset":6528,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6580,"endOffset":6676,"count":331},{"startOffset":6636,"endOffset":6676,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6803,"endOffset":6870,"count":331},{"startOffset":6854,"endOffset":6870,"count":261}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7100,"endOffset":7136,"count":70}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7508,"endOffset":7609,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7568,"endOffset":7603,"count":331}],"isBlockCoverage":true},{"functionName":"BuiltinModule","ranges":[{"startOffset":7614,"endOffset":8291,"count":331}],"isBlockCoverage":true},{"functionName":"allowRequireByUsers","ranges":[{"startOffset":8302,"endOffset":8663,"count":0}],"isBlockCoverage":false},{"functionName":"exposeInternals","ranges":[{"startOffset":8813,"endOffset":8964,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":8975,"endOffset":9029,"count":0}],"isBlockCoverage":false},{"functionName":"canBeRequiredByUsers","ranges":[{"startOffset":9040,"endOffset":9115,"count":222}],"isBlockCoverage":true},{"functionName":"canBeRequiredWithoutScheme","ranges":[{"startOffset":9126,"endOffset":9220,"count":2354}],"isBlockCoverage":true},{"functionName":"normalizeRequirableId","ranges":[{"startOffset":9231,"endOffset":9576,"count":1667},{"startOffset":9307,"endOffset":9469,"count":0},{"startOffset":9525,"endOffset":9549,"count":73},{"startOffset":9549,"endOffset":9575,"count":1594}],"isBlockCoverage":true},{"functionName":"isBuiltin","ranges":[{"startOffset":9587,"endOffset":9828,"count":0}],"isBlockCoverage":false},{"functionName":"getCanBeRequiredByUsersWithoutSchemeList","ranges":[{"startOffset":9839,"endOffset":9948,"count":1}],"isBlockCoverage":true},{"functionName":"getSchemeOnlyModuleNames","ranges":[{"startOffset":9959,"endOffset":10034,"count":0}],"isBlockCoverage":false},{"functionName":"compileForPublicLoader","ranges":[{"startOffset":10106,"endOffset":10818,"count":103},{"startOffset":10187,"endOffset":10379,"count":0},{"startOffset":10443,"endOffset":10740,"count":17},{"startOffset":10702,"endOffset":10706,"count":0}],"isBlockCoverage":true},{"functionName":"getESMFacade","ranges":[{"startOffset":10822,"endOffset":11584,"count":117},{"startOffset":10860,"endOffset":10879,"count":100},{"startOffset":10879,"endOffset":11583,"count":17}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11321,"endOffset":11424,"count":17}],"isBlockCoverage":true},{"functionName":"syncExports","ranges":[{"startOffset":11880,"endOffset":12224,"count":120},{"startOffset":11999,"endOffset":12214,"count":3770},{"startOffset":12076,"endOffset":12085,"count":0}],"isBlockCoverage":true},{"functionName":"compileForInternalLoader","ranges":[{"startOffset":12228,"endOffset":13050,"count":2939},{"startOffset":12277,"endOffset":12292,"count":195},{"startOffset":12294,"endOffset":12328,"count":2748},{"startOffset":12328,"endOffset":12467,"count":191},{"startOffset":12467,"endOffset":12502,"count":2},{"startOffset":12503,"endOffset":12519,"count":189},{"startOffset":12775,"endOffset":13049,"count":191}],"isBlockCoverage":true},{"functionName":"requireBuiltin","ranges":[{"startOffset":13245,"endOffset":13610,"count":2841},{"startOffset":13296,"endOffset":13327,"count":5},{"startOffset":13327,"endOffset":13512,"count":2836},{"startOffset":13512,"endOffset":13567,"count":0},{"startOffset":13567,"endOffset":13609,"count":2836}],"isBlockCoverage":true},{"functionName":"requireWithFallbackInDeps","ranges":[{"startOffset":13726,"endOffset":14002,"count":64},{"startOffset":13823,"endOffset":13876,"count":12},{"startOffset":13876,"endOffset":13966,"count":52},{"startOffset":13919,"endOffset":13966,"count":0}],"isBlockCoverage":true},{"functionName":"setupPrepareStackTrace","ranges":[{"startOffset":14004,"endOffset":14600,"count":1}],"isBlockCoverage":true}]},{"scriptId":"82","url":"node:internal/errors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":64999,"count":1}],"isBlockCoverage":false},{"functionName":"prepareStackTrace","ranges":[{"startOffset":2135,"endOffset":3623,"count":0}],"isBlockCoverage":false},{"functionName":"maybeOverridePrepareStackTrace","ranges":[{"startOffset":3665,"endOffset":4372,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4418,"endOffset":4964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5008,"endOffset":5207,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtil","ranges":[{"startOffset":5276,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInternalUtilInspect","ranges":[{"startOffset":5409,"endOffset":5537,"count":0}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":5555,"endOffset":5655,"count":0}],"isBlockCoverage":false},{"functionName":"lazyBuffer","ranges":[{"startOffset":5669,"endOffset":5750,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorStackTraceLimitWritable","ranges":[{"startOffset":5752,"endOffset":6259,"count":0}],"isBlockCoverage":false},{"functionName":"inspectWithNoCustomRetry","ranges":[{"startOffset":6261,"endOffset":6507,"count":0}],"isBlockCoverage":false},{"functionName":"SystemError","ranges":[{"startOffset":7009,"endOffset":9985,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":9989,"endOffset":10064,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10068,"endOffset":10258,"count":0}],"isBlockCoverage":false},{"functionName":"makeSystemErrorWithCode","ranges":[{"startOffset":10262,"endOffset":10407,"count":12}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10353,"endOffset":10400,"count":0}],"isBlockCoverage":false},{"functionName":"makeNodeErrorWithCode","ranges":[{"startOffset":10409,"endOffset":11467,"count":267}],"isBlockCoverage":true},{"functionName":"NodeError","ranges":[{"startOffset":10462,"endOffset":11464,"count":0}],"isBlockCoverage":false},{"functionName":"hideStackFrames","ranges":[{"startOffset":11629,"endOffset":11894,"count":59}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":12006,"endOffset":12514,"count":273},{"startOffset":12248,"endOffset":12293,"count":12},{"startOffset":12293,"endOffset":12347,"count":261},{"startOffset":12382,"endOffset":12492,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12409,"endOffset":12486,"count":6}],"isBlockCoverage":true},{"functionName":"getMessage","ranges":[{"startOffset":12516,"endOffset":13389,"count":0}],"isBlockCoverage":false},{"functionName":"lazyUv","ranges":[{"startOffset":13407,"endOffset":13487,"count":0}],"isBlockCoverage":false},{"functionName":"uvErrmapGet","ranges":[{"startOffset":13544,"endOffset":13696,"count":0}],"isBlockCoverage":false},{"functionName":"captureLargerStackTrace","ranges":[{"startOffset":13749,"endOffset":14151,"count":0}],"isBlockCoverage":false},{"functionName":"uvException","ranges":[{"startOffset":14478,"endOffset":15719,"count":0}],"isBlockCoverage":false},{"functionName":"uvExceptionWithHostPort","ranges":[{"startOffset":16082,"endOffset":17071,"count":0}],"isBlockCoverage":false},{"functionName":"errnoException","ranges":[{"startOffset":17291,"endOffset":18155,"count":0}],"isBlockCoverage":false},{"functionName":"exceptionWithHostPort","ranges":[{"startOffset":18559,"endOffset":19847,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20050,"endOffset":21591,"count":0}],"isBlockCoverage":false},{"functionName":"connResetException","ranges":[{"startOffset":21595,"endOffset":21750,"count":0}],"isBlockCoverage":false},{"functionName":"isStackOverflowError","ranges":[{"startOffset":22037,"endOffset":22415,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericalSeparator","ranges":[{"startOffset":22496,"endOffset":22764,"count":0}],"isBlockCoverage":false},{"functionName":"beforeInspector","ranges":[{"startOffset":23043,"endOffset":23434,"count":0}],"isBlockCoverage":false},{"functionName":"afterInspector","ranges":[{"startOffset":23438,"endOffset":24721,"count":0}],"isBlockCoverage":false},{"functionName":"setArrowMessage","ranges":[{"startOffset":24876,"endOffset":24975,"count":0}],"isBlockCoverage":false},{"functionName":"hideInternalStackFrames","ranges":[{"startOffset":25030,"endOffset":25508,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":25741,"endOffset":26050,"count":0}],"isBlockCoverage":false},{"functionName":"genericNodeError","ranges":[{"startOffset":26305,"endOffset":26497,"count":0}],"isBlockCoverage":false},{"functionName":"determineSpecificType","ranges":[{"startOffset":26618,"endOffset":27237,"count":0}],"isBlockCoverage":false},{"functionName":"formatList","ranges":[{"startOffset":27559,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29857,"endOffset":30021,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33056,"endOffset":33171,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33460,"endOffset":33554,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":36457,"endOffset":36685,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38465,"endOffset":38683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41350,"endOffset":41650,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41692,"endOffset":41836,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41879,"endOffset":44000,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44041,"endOffset":44389,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44697,"endOffset":44860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45517,"endOffset":45696,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45744,"endOffset":45879,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45925,"endOffset":46073,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":46117,"endOffset":46891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47179,"endOffset":47366,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47419,"endOffset":47598,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":47642,"endOffset":47819,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48276,"endOffset":48492,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48536,"endOffset":48824,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":49387,"endOffset":49860,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":50646,"endOffset":51087,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":51181,"endOffset":51400,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":52546,"endOffset":53244,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53295,"endOffset":53487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53536,"endOffset":53852,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54094,"endOffset":54393,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54577,"endOffset":56023,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":56475,"endOffset":56757,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58280,"endOffset":58354,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58390,"endOffset":58713,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58759,"endOffset":58833,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58865,"endOffset":59269,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59321,"endOffset":59499,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59770,"endOffset":59939,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61637,"endOffset":61768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62015,"endOffset":62172,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62362,"endOffset":62564,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62610,"endOffset":62933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63572,"endOffset":63640,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64043,"endOffset":64156,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64350,"endOffset":64737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"83","url":"node:internal/bootstrap/node","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13817,"count":1}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3830,"endOffset":3880,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3886,"endOffset":3944,"count":3},{"startOffset":3930,"endOffset":3933,"count":1},{"startOffset":3934,"endOffset":3937,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4086,"endOffset":4122,"count":8}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":4128,"endOffset":4547,"count":2},{"startOffset":4187,"endOffset":4469,"count":1},{"startOffset":4252,"endOffset":4266,"count":0},{"startOffset":4267,"endOffset":4315,"count":0},{"startOffset":4317,"endOffset":4352,"count":0},{"startOffset":4469,"endOffset":4518,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4769,"endOffset":5033,"count":409}],"isBlockCoverage":true},{"functionName":"process.openStdin","ranges":[{"startOffset":6409,"endOffset":6479,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7965,"endOffset":8127,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8229,"endOffset":8425,"count":1}],"isBlockCoverage":true},{"functionName":"get cached_builtins","ranges":[{"startOffset":9173,"endOffset":9240,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11734,"endOffset":11784,"count":6}],"isBlockCoverage":true},{"functionName":"setupProcessObject","ranges":[{"startOffset":12107,"endOffset":12912,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":12772,"endOffset":12808,"count":128}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":12814,"endOffset":12856,"count":0}],"isBlockCoverage":false},{"functionName":"setupGlobalProxy","ranges":[{"startOffset":12914,"endOffset":13151,"count":1}],"isBlockCoverage":true},{"functionName":"setupBuffer","ranges":[{"startOffset":13153,"endOffset":13816,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13678,"endOffset":13713,"count":10}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":13719,"endOffset":13760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"84","url":"node:internal/timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":19560,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4385,"endOffset":4410,"count":1}],"isBlockCoverage":true},{"functionName":"initAsyncResource","ranges":[{"startOffset":5548,"endOffset":5826,"count":31},{"startOffset":5774,"endOffset":5824,"count":0}],"isBlockCoverage":true},{"functionName":"Timeout","ranges":[{"startOffset":5932,"endOffset":6978,"count":30},{"startOffset":6054,"endOffset":6077,"count":23},{"startOffset":6080,"endOffset":6432,"count":7},{"startOffset":6113,"endOffset":6358,"count":0},{"startOffset":6789,"endOffset":6796,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7059,"endOffset":7255,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":7259,"endOffset":7368,"count":2},{"startOffset":7299,"endOffset":7312,"count":0}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":7372,"endOffset":7511,"count":3}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":7515,"endOffset":7652,"count":2}],"isBlockCoverage":true},{"functionName":"hasRef","ranges":[{"startOffset":7656,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"TimersList","ranges":[{"startOffset":7720,"endOffset":8026,"count":14}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8107,"endOffset":8303,"count":0}],"isBlockCoverage":false},{"functionName":"ImmediateList","ranges":[{"startOffset":8386,"endOffset":8449,"count":2}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":8601,"endOffset":8782,"count":1},{"startOffset":8644,"endOffset":8719,"count":0}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":8932,"endOffset":9293,"count":0}],"isBlockCoverage":false},{"functionName":"incRefCount","ranges":[{"startOffset":9403,"endOffset":9569,"count":32},{"startOffset":9458,"endOffset":9567,"count":9}],"isBlockCoverage":true},{"functionName":"decRefCount","ranges":[{"startOffset":9571,"endOffset":9738,"count":5},{"startOffset":9626,"endOffset":9736,"count":3}],"isBlockCoverage":true},{"functionName":"active","ranges":[{"startOffset":9821,"endOffset":9875,"count":0}],"isBlockCoverage":false},{"functionName":"unrefActive","ranges":[{"startOffset":10022,"endOffset":10082,"count":2}],"isBlockCoverage":true},{"functionName":"insertGuarded","ranges":[{"startOffset":10303,"endOffset":10819,"count":2},{"startOffset":10427,"endOffset":10434,"count":0},{"startOffset":10551,"endOffset":10625,"count":0},{"startOffset":10646,"endOffset":10687,"count":0},{"startOffset":10722,"endOffset":10793,"count":0}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":10887,"endOffset":11626,"count":32},{"startOffset":11218,"endOffset":11599,"count":14},{"startOffset":11453,"endOffset":11595,"count":12}],"isBlockCoverage":true},{"functionName":"setUnrefTimeout","ranges":[{"startOffset":11628,"endOffset":11886,"count":0}],"isBlockCoverage":false},{"functionName":"getTimerDuration","ranges":[{"startOffset":11953,"endOffset":12481,"count":0}],"isBlockCoverage":false},{"functionName":"compareTimersLists","ranges":[{"startOffset":12483,"endOffset":12688,"count":20},{"startOffset":12585,"endOffset":12665,"count":0}],"isBlockCoverage":true},{"functionName":"setPosition","ranges":[{"startOffset":12690,"endOffset":12761,"count":39}],"isBlockCoverage":true},{"functionName":"getTimerCallbacks","ranges":[{"startOffset":12763,"endOffset":18141,"count":1}],"isBlockCoverage":true},{"functionName":"processImmediate","ranges":[{"startOffset":13075,"endOffset":15008,"count":1},{"startOffset":13154,"endOffset":13178,"count":0},{"startOffset":13615,"endOffset":13630,"count":0},{"startOffset":13947,"endOffset":14043,"count":0},{"startOffset":14605,"endOffset":14661,"count":0},{"startOffset":14763,"endOffset":14784,"count":0},{"startOffset":14935,"endOffset":14964,"count":0}],"isBlockCoverage":true},{"functionName":"processTimers","ranges":[{"startOffset":15013,"endOffset":15503,"count":13},{"startOffset":15213,"endOffset":15485,"count":26},{"startOffset":15244,"endOffset":15349,"count":13},{"startOffset":15314,"endOffset":15326,"count":7},{"startOffset":15327,"endOffset":15340,"count":6},{"startOffset":15349,"endOffset":15387,"count":13},{"startOffset":15387,"endOffset":15402,"count":0},{"startOffset":15402,"endOffset":15485,"count":13},{"startOffset":15485,"endOffset":15502,"count":0}],"isBlockCoverage":true},{"functionName":"listOnTimeout","ranges":[{"startOffset":15507,"endOffset":18081,"count":13},{"startOffset":15710,"endOffset":17536,"count":29},{"startOffset":15931,"endOffset":16159,"count":2},{"startOffset":16159,"endOffset":16199,"count":27},{"startOffset":16199,"endOffset":16214,"count":14},{"startOffset":16214,"endOffset":16260,"count":13},{"startOffset":16260,"endOffset":16416,"count":27},{"startOffset":16416,"endOffset":16651,"count":0},{"startOffset":16651,"endOffset":16762,"count":27},{"startOffset":16762,"endOffset":16884,"count":0},{"startOffset":16884,"endOffset":16998,"count":27},{"startOffset":16998,"endOffset":17066,"count":0},{"startOffset":17075,"endOffset":17503,"count":27},{"startOffset":17111,"endOffset":17139,"count":0},{"startOffset":17141,"endOffset":17250,"count":0},{"startOffset":17464,"endOffset":17485,"count":0},{"startOffset":17503,"endOffset":17536,"count":27},{"startOffset":17536,"endOffset":18077,"count":11}],"isBlockCoverage":true},{"functionName":"Immediate","ranges":[{"startOffset":18163,"endOffset":18485,"count":1}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":18489,"endOffset":18755,"count":1}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":18759,"endOffset":19027,"count":0}],"isBlockCoverage":false},{"functionName":"hasRef","ranges":[{"startOffset":19031,"endOffset":19072,"count":0}],"isBlockCoverage":false}]},{"scriptId":"85","url":"node:internal/async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20082,"count":1}],"isBlockCoverage":false},{"functionName":"useDomainTrampoline","ranges":[{"startOffset":5108,"endOffset":5162,"count":0}],"isBlockCoverage":false},{"functionName":"callbackTrampoline","ranges":[{"startOffset":5164,"endOffset":5713,"count":0}],"isBlockCoverage":false},{"functionName":"executionAsyncResource","ranges":[{"startOffset":5745,"endOffset":6243,"count":0}],"isBlockCoverage":false},{"functionName":"inspectExceptionValue","ranges":[{"startOffset":6245,"endOffset":6372,"count":0}],"isBlockCoverage":false},{"functionName":"fatalError","ranges":[{"startOffset":6433,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"lookupPublicResource","ranges":[{"startOffset":6837,"endOffset":7186,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitNative","ranges":[{"startOffset":7377,"endOffset":8510,"count":0}],"isBlockCoverage":false},{"functionName":"emitHook","ranges":[{"startOffset":8611,"endOffset":9600,"count":0}],"isBlockCoverage":false},{"functionName":"emitHookFactory","ranges":[{"startOffset":9602,"endOffset":9866,"count":4}],"isBlockCoverage":true},{"functionName":"getHookArrays","ranges":[{"startOffset":9895,"endOffset":10385,"count":0}],"isBlockCoverage":false},{"functionName":"storeActiveHooks","ranges":[{"startOffset":10388,"endOffset":10688,"count":0}],"isBlockCoverage":false},{"functionName":"copyHooks","ranges":[{"startOffset":10690,"endOffset":10955,"count":0}],"isBlockCoverage":false},{"functionName":"restoreActiveHooks","ranges":[{"startOffset":11070,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"trackPromise","ranges":[{"startOffset":11277,"endOffset":11707,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHook","ranges":[{"startOffset":11709,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"promiseInitHookWithDestroyTracking","ranges":[{"startOffset":11955,"endOffset":12091,"count":0}],"isBlockCoverage":false},{"functionName":"destroyTracking","ranges":[{"startOffset":12093,"endOffset":12256,"count":0}],"isBlockCoverage":false},{"functionName":"promiseBeforeHook","ranges":[{"startOffset":12258,"endOffset":12469,"count":0}],"isBlockCoverage":false},{"functionName":"promiseAfterHook","ranges":[{"startOffset":12471,"endOffset":13038,"count":0}],"isBlockCoverage":false},{"functionName":"promiseResolveHook","ranges":[{"startOffset":13040,"endOffset":13186,"count":0}],"isBlockCoverage":false},{"functionName":"enableHooks","ranges":[{"startOffset":13217,"endOffset":13323,"count":0}],"isBlockCoverage":false},{"functionName":"updatePromiseHookMode","ranges":[{"startOffset":13346,"endOffset":13925,"count":0}],"isBlockCoverage":false},{"functionName":"disableHooks","ranges":[{"startOffset":13927,"endOffset":14230,"count":0}],"isBlockCoverage":false},{"functionName":"disablePromiseHookIfNecessary","ranges":[{"startOffset":14232,"endOffset":14348,"count":0}],"isBlockCoverage":false},{"functionName":"newAsyncId","ranges":[{"startOffset":14549,"endOffset":14619,"count":33}],"isBlockCoverage":true},{"functionName":"getOrSetAsyncId","ranges":[{"startOffset":14621,"endOffset":14811,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultTriggerAsyncId","ranges":[{"startOffset":14994,"endOffset":15284,"count":33},{"startOffset":15250,"endOffset":15283,"count":0}],"isBlockCoverage":true},{"functionName":"clearDefaultTriggerAsyncId","ranges":[{"startOffset":15287,"endOffset":15376,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTriggerAsyncIdScope","ranges":[{"startOffset":15601,"endOffset":16094,"count":0}],"isBlockCoverage":false},{"functionName":"hasHooks","ranges":[{"startOffset":16096,"endOffset":16159,"count":155}],"isBlockCoverage":true},{"functionName":"enabledHooksExist","ranges":[{"startOffset":16161,"endOffset":16220,"count":30}],"isBlockCoverage":true},{"functionName":"initHooksExist","ranges":[{"startOffset":16222,"endOffset":16277,"count":33}],"isBlockCoverage":true},{"functionName":"afterHooksExist","ranges":[{"startOffset":16279,"endOffset":16336,"count":0}],"isBlockCoverage":false},{"functionName":"destroyHooksExist","ranges":[{"startOffset":16338,"endOffset":16399,"count":32}],"isBlockCoverage":true},{"functionName":"promiseResolveHooksExist","ranges":[{"startOffset":16401,"endOffset":16476,"count":0}],"isBlockCoverage":false},{"functionName":"emitInitScript","ranges":[{"startOffset":16479,"endOffset":16887,"count":0}],"isBlockCoverage":false},{"functionName":"emitBeforeScript","ranges":[{"startOffset":16890,"endOffset":17066,"count":30},{"startOffset":17038,"endOffset":17064,"count":0}],"isBlockCoverage":true},{"functionName":"emitAfterScript","ranges":[{"startOffset":17069,"endOffset":17189,"count":30},{"startOffset":17133,"endOffset":17158,"count":0}],"isBlockCoverage":true},{"functionName":"emitDestroyScript","ranges":[{"startOffset":17192,"endOffset":17402,"count":0}],"isBlockCoverage":false},{"functionName":"hasAsyncIdStack","ranges":[{"startOffset":17405,"endOffset":17468,"count":0}],"isBlockCoverage":false},{"functionName":"pushAsyncContext","ranges":[{"startOffset":17534,"endOffset":18104,"count":30},{"startOffset":17754,"endOffset":17804,"count":0}],"isBlockCoverage":true},{"functionName":"popAsyncContext","ranges":[{"startOffset":18169,"endOffset":18780,"count":30},{"startOffset":18285,"endOffset":18298,"count":0},{"startOffset":18377,"endOffset":18483,"count":0}],"isBlockCoverage":true},{"functionName":"executionAsyncId","ranges":[{"startOffset":18783,"endOffset":18859,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":18861,"endOffset":18933,"count":0}],"isBlockCoverage":false}]},{"scriptId":"86","url":"node:internal/validators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15153,"count":1}],"isBlockCoverage":false},{"functionName":"isInt32","ranges":[{"startOffset":835,"endOffset":894,"count":574}],"isBlockCoverage":true},{"functionName":"isUint32","ranges":[{"startOffset":946,"endOffset":1008,"count":1}],"isBlockCoverage":true},{"functionName":"parseFileMode","ranges":[{"startOffset":1629,"endOffset":1940,"count":60},{"startOffset":1722,"endOffset":1890,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2186,"endOffset":2567,"count":3},{"startOffset":2306,"endOffset":2360,"count":0},{"startOffset":2400,"endOffset":2454,"count":0},{"startOffset":2497,"endOffset":2563,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2811,"endOffset":3274,"count":2},{"startOffset":2983,"endOffset":3051,"count":0},{"startOffset":3085,"endOffset":3153,"count":0},{"startOffset":3190,"endOffset":3270,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3512,"endOffset":3944,"count":1178},{"startOffset":3582,"endOffset":3646,"count":0},{"startOffset":3678,"endOffset":3742,"count":0},{"startOffset":3766,"endOffset":3769,"count":0},{"startOffset":3866,"endOffset":3942,"count":0}],"isBlockCoverage":true},{"functionName":"validateString","ranges":[{"startOffset":4097,"endOffset":4229,"count":19159},{"startOffset":4173,"endOffset":4227,"count":0}],"isBlockCoverage":true},{"functionName":"validateNumber","ranges":[{"startOffset":4430,"endOffset":4898,"count":64},{"startOffset":4528,"endOffset":4582,"count":0},{"startOffset":4603,"endOffset":4617,"count":63},{"startOffset":4635,"endOffset":4649,"count":62},{"startOffset":4674,"endOffset":4688,"count":1},{"startOffset":4690,"endOffset":4711,"count":63},{"startOffset":4714,"endOffset":4896,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5084,"endOffset":5417,"count":1},{"startOffset":5155,"endOffset":5415,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5228,"endOffset":5289,"count":0}],"isBlockCoverage":false},{"functionName":"validateBoolean","ranges":[{"startOffset":5573,"endOffset":5708,"count":560},{"startOffset":5651,"endOffset":5706,"count":0}],"isBlockCoverage":true},{"functionName":"getOwnPropertyValueOrDefault","ranges":[{"startOffset":5820,"endOffset":6001,"count":51},{"startOffset":5961,"endOffset":5979,"count":13},{"startOffset":5980,"endOffset":5998,"count":38}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6266,"endOffset":6821,"count":17},{"startOffset":6571,"endOffset":6588,"count":13},{"startOffset":6614,"endOffset":6636,"count":0},{"startOffset":6676,"endOffset":6746,"count":0},{"startOffset":6749,"endOffset":6817,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7376,"endOffset":7556,"count":1},{"startOffset":7417,"endOffset":7445,"count":0},{"startOffset":7446,"endOffset":7476,"count":0},{"startOffset":7478,"endOffset":7552,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7775,"endOffset":8053,"count":1118},{"startOffset":7837,"endOffset":7900,"count":0},{"startOffset":7933,"endOffset":8051,"count":0}],"isBlockCoverage":true},{"functionName":"validateStringArray","ranges":[{"startOffset":8218,"endOffset":8387,"count":559},{"startOffset":8333,"endOffset":8385,"count":2795}],"isBlockCoverage":true},{"functionName":"validateBooleanArray","ranges":[{"startOffset":8553,"endOffset":8724,"count":0}],"isBlockCoverage":false},{"functionName":"validateAbortSignalArray","ranges":[{"startOffset":8902,"endOffset":9251,"count":0}],"isBlockCoverage":false},{"functionName":"validateSignalName","ranges":[{"startOffset":9363,"endOffset":9736,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9948,"endOffset":10178,"count":1},{"startOffset":10013,"endOffset":10176,"count":0}],"isBlockCoverage":true},{"functionName":"validateEncoding","ranges":[{"startOffset":10242,"endOffset":10576,"count":0}],"isBlockCoverage":false},{"functionName":"validatePort","ranges":[{"startOffset":10838,"endOffset":11217,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11385,"endOffset":11602,"count":13},{"startOffset":11432,"endOffset":11528,"count":0},{"startOffset":11530,"endOffset":11600,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11802,"endOffset":11918,"count":632},{"startOffset":11860,"endOffset":11916,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12133,"endOffset":12275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12479,"endOffset":12588,"count":0}],"isBlockCoverage":false},{"functionName":"validateUnion","ranges":[{"startOffset":12681,"endOffset":12868,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderFormat","ranges":[{"startOffset":13296,"endOffset":13602,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13650,"endOffset":13860,"count":0}],"isBlockCoverage":false},{"functionName":"validateLinkHeaderValue","ranges":[{"startOffset":13914,"endOffset":14597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"87","url":"node:internal/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":24956,"count":1}],"isBlockCoverage":false},{"functionName":"toUSVString","ranges":[{"startOffset":1790,"endOffset":2102,"count":107},{"startOffset":2059,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUv","ranges":[{"startOffset":2120,"endOffset":2200,"count":0}],"isBlockCoverage":false},{"functionName":"removeColors","ranges":[{"startOffset":2202,"endOffset":2287,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":2289,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"getDeprecationWarningEmitter","ranges":[{"startOffset":2696,"endOffset":3345,"count":36}],"isBlockCoverage":true},{"functionName":"shouldEmitWarning","ranges":[{"startOffset":2795,"endOffset":2805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2842,"endOffset":3342,"count":0}],"isBlockCoverage":false},{"functionName":"isPendingDeprecation","ranges":[{"startOffset":3347,"endOffset":3475,"count":0}],"isBlockCoverage":false},{"functionName":"pendingDeprecate","ranges":[{"startOffset":3642,"endOffset":3939,"count":3}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":3811,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"deprecate","ranges":[{"startOffset":4094,"endOffset":5092,"count":33},{"startOffset":4181,"endOffset":4201,"count":0},{"startOffset":4290,"endOffset":4344,"count":1},{"startOffset":4376,"endOffset":4405,"count":32},{"startOffset":4846,"endOffset":5068,"count":32}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":4518,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"decorateErrorStack","ranges":[{"startOffset":5094,"endOffset":5360,"count":0}],"isBlockCoverage":false},{"functionName":"assertCrypto","ranges":[{"startOffset":5362,"endOffset":5436,"count":4},{"startOffset":5408,"endOffset":5434,"count":0}],"isBlockCoverage":true},{"functionName":"normalizeEncoding","ranges":[{"startOffset":5615,"endOffset":5746,"count":572},{"startOffset":5685,"endOffset":5703,"count":0},{"startOffset":5719,"endOffset":5745,"count":0}],"isBlockCoverage":true},{"functionName":"slowCases","ranges":[{"startOffset":5748,"endOffset":7499,"count":0}],"isBlockCoverage":false},{"functionName":"emitExperimentalWarning","ranges":[{"startOffset":7501,"endOffset":7767,"count":0}],"isBlockCoverage":false},{"functionName":"filterDuplicateStrings","ranges":[{"startOffset":7769,"endOffset":8108,"count":0}],"isBlockCoverage":false},{"functionName":"cachedResult","ranges":[{"startOffset":8110,"endOffset":8266,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8161,"endOffset":8263,"count":0}],"isBlockCoverage":false},{"functionName":"createClassWrapper","ranges":[{"startOffset":8531,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"getSignalsToNamesMapping","ranges":[{"startOffset":8960,"endOffset":9239,"count":0}],"isBlockCoverage":false},{"functionName":"convertToValidSignal","ranges":[{"startOffset":9241,"endOffset":9562,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorOf","ranges":[{"startOffset":9564,"endOffset":9910,"count":0}],"isBlockCoverage":false},{"functionName":"getCWDURL","ranges":[{"startOffset":10233,"endOffset":10743,"count":1},{"startOffset":10561,"endOffset":10610,"count":0}],"isBlockCoverage":true},{"functionName":"getSystemErrorName","ranges":[{"startOffset":10745,"endOffset":10874,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorMap","ranges":[{"startOffset":10876,"endOffset":10941,"count":0}],"isBlockCoverage":false},{"functionName":"promisify","ranges":[{"startOffset":11109,"endOffset":12970,"count":6},{"startOffset":11229,"endOffset":11285,"count":1},{"startOffset":11372,"endOffset":11649,"count":1},{"startOffset":11649,"endOffset":12756,"count":5},{"startOffset":12756,"endOffset":12918,"count":14},{"startOffset":12918,"endOffset":12969,"count":5}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":11849,"endOffset":12368,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13065,"endOffset":13387,"count":0}],"isBlockCoverage":false},{"functionName":"spliceOne","ranges":[{"startOffset":13528,"endOffset":13655,"count":0}],"isBlockCoverage":false},{"functionName":"isInsideNodeModules","ranges":[{"startOffset":13737,"endOffset":14975,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":14977,"endOffset":15150,"count":0}],"isBlockCoverage":false},{"functionName":"sleep","ranges":[{"startOffset":15173,"endOffset":15388,"count":0}],"isBlockCoverage":false},{"functionName":"createDeferredPromise","ranges":[{"startOffset":15390,"endOffset":15584,"count":0}],"isBlockCoverage":false},{"functionName":"defineOperation","ranges":[{"startOffset":15644,"endOffset":15845,"count":8}],"isBlockCoverage":true},{"functionName":"exposeInterface","ranges":[{"startOffset":15897,"endOffset":16117,"count":6}],"isBlockCoverage":true},{"functionName":"exposeNamespace","ranges":[{"startOffset":16169,"endOffset":16389,"count":1}],"isBlockCoverage":true},{"functionName":"exposeGetterAndSetter","ranges":[{"startOffset":16391,"endOffset":16614,"count":1}],"isBlockCoverage":true},{"functionName":"defineLazyProperties","ranges":[{"startOffset":16616,"endOffset":17549,"count":22},{"startOffset":16779,"endOffset":17548,"count":51}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":16835,"endOffset":16978,"count":19}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17081,"endOffset":17277,"count":19}],"isBlockCoverage":true},{"functionName":"defineReplaceableLazyAttribute","ranges":[{"startOffset":17551,"endOffset":18451,"count":2},{"startOffset":18419,"endOffset":18424,"count":1},{"startOffset":18425,"endOffset":18436,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17763,"endOffset":17999,"count":12},{"startOffset":17811,"endOffset":17864,"count":0},{"startOffset":17889,"endOffset":17920,"count":0}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":18104,"endOffset":18175,"count":0}],"isBlockCoverage":false},{"functionName":"exposeLazyInterfaces","ranges":[{"startOffset":18453,"endOffset":18553,"count":14}],"isBlockCoverage":true},{"functionName":"lazyDOMExceptionClass","ranges":[{"startOffset":18604,"endOffset":18700,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18744,"endOffset":18872,"count":0}],"isBlockCoverage":false},{"functionName":"filterOwnProperties","ranges":[{"startOffset":19057,"endOffset":19329,"count":0}],"isBlockCoverage":false},{"functionName":"setOwnProperty","ranges":[{"startOffset":19497,"endOffset":19687,"count":1132}],"isBlockCoverage":true},{"functionName":"getInternalGlobal","ranges":[{"startOffset":19709,"endOffset":19984,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeExec","ranges":[{"startOffset":19986,"endOffset":20199,"count":0}],"isBlockCoverage":false},{"functionName":"getCrossRelmRegex","ranges":[{"startOffset":20245,"endOffset":21036,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolReplace","ranges":[{"startOffset":21038,"endOffset":21192,"count":0}],"isBlockCoverage":false},{"functionName":"SideEffectFreeRegExpPrototypeSymbolSplit","ranges":[{"startOffset":21194,"endOffset":21344,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayBufferDetached","ranges":[{"startOffset":21347,"endOffset":21507,"count":0}],"isBlockCoverage":false},{"functionName":"getLazy","ranges":[{"startOffset":21708,"endOffset":21920,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21789,"endOffset":21917,"count":3508},{"startOffset":21833,"endOffset":21895,"count":4}],"isBlockCoverage":true},{"functionName":"setupCoverageHooks","ranges":[{"startOffset":22045,"endOffset":22722,"count":1},{"startOffset":22515,"endOffset":22692,"count":0}],"isBlockCoverage":true},{"functionName":"guessHandleType","ranges":[{"startOffset":22795,"endOffset":22892,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22894,"endOffset":23438,"count":23}],"isBlockCoverage":false},{"functionName":"WeakReference","ranges":[{"startOffset":22969,"endOffset":23036,"count":23}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":23040,"endOffset":23258,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":23262,"endOffset":23390,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23394,"endOffset":23436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"88","url":"node:internal/options","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1922,"count":1}],"isBlockCoverage":false},{"functionName":"getCLIOptionsFromBinding","ranges":[{"startOffset":464,"endOffset":598,"count":1295},{"startOffset":521,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"getAliasesFromBinding","ranges":[{"startOffset":600,"endOffset":731,"count":1}],"isBlockCoverage":true},{"functionName":"getEmbedderOptions","ranges":[{"startOffset":733,"endOffset":877,"count":4},{"startOffset":789,"endOffset":849,"count":1}],"isBlockCoverage":true},{"functionName":"refreshOptions","ranges":[{"startOffset":879,"endOffset":960,"count":1}],"isBlockCoverage":true},{"functionName":"getOptionValue","ranges":[{"startOffset":962,"endOffset":1228,"count":1294},{"startOffset":1084,"endOffset":1185,"count":8},{"startOffset":1185,"endOffset":1225,"count":1286}],"isBlockCoverage":true},{"functionName":"getAllowUnauthorized","ranges":[{"startOffset":1230,"endOffset":1695,"count":0}],"isBlockCoverage":false},{"functionName":"get options","ranges":[{"startOffset":1718,"endOffset":1776,"count":1}],"isBlockCoverage":true},{"functionName":"get aliases","ranges":[{"startOffset":1780,"endOffset":1835,"count":1}],"isBlockCoverage":true}]},{"scriptId":"89","url":"node:internal/util/types","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2469,"count":1}],"isBlockCoverage":false},{"functionName":"isTypedArray","ranges":[{"startOffset":131,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"isUint8Array","ranges":[{"startOffset":236,"endOffset":342,"count":1409}],"isBlockCoverage":true},{"functionName":"isUint8ClampedArray","ranges":[{"startOffset":344,"endOffset":464,"count":0}],"isBlockCoverage":false},{"functionName":"isUint16Array","ranges":[{"startOffset":466,"endOffset":574,"count":0}],"isBlockCoverage":false},{"functionName":"isUint32Array","ranges":[{"startOffset":576,"endOffset":684,"count":0}],"isBlockCoverage":false},{"functionName":"isInt8Array","ranges":[{"startOffset":686,"endOffset":790,"count":0}],"isBlockCoverage":false},{"functionName":"isInt16Array","ranges":[{"startOffset":792,"endOffset":898,"count":0}],"isBlockCoverage":false},{"functionName":"isInt32Array","ranges":[{"startOffset":900,"endOffset":1006,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat32Array","ranges":[{"startOffset":1008,"endOffset":1118,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat64Array","ranges":[{"startOffset":1120,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"isBigInt64Array","ranges":[{"startOffset":1232,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"isBigUint64Array","ranges":[{"startOffset":1346,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":1932,"endOffset":2147,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":2243,"endOffset":2458,"count":0}],"isBlockCoverage":false}]},{"scriptId":"90","url":"node:internal/linkedlist","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1128,"count":1}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":15,"endOffset":103,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":133,"endOffset":225,"count":40},{"startOffset":186,"endOffset":198,"count":11},{"startOffset":198,"endOffset":224,"count":29}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":260,"endOffset":487,"count":61}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":543,"endOffset":995,"count":32},{"startOffset":594,"endOffset":611,"count":0}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":997,"endOffset":1057,"count":2}],"isBlockCoverage":true}]},{"scriptId":"91","url":"node:internal/priority_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2573,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":395,"endOffset":2571,"count":1}],"isBlockCoverage":false},{"functionName":"#compare","ranges":[{"startOffset":430,"endOffset":445,"count":0}],"isBlockCoverage":false},{"functionName":"PriorityQueue","ranges":[{"startOffset":504,"endOffset":688,"count":1}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":692,"endOffset":875,"count":14},{"startOffset":826,"endOffset":843,"count":0}],"isBlockCoverage":true},{"functionName":"peek","ranges":[{"startOffset":879,"endOffset":917,"count":26}],"isBlockCoverage":true},{"functionName":"percolateDown","ranges":[{"startOffset":921,"endOffset":1585,"count":15},{"startOffset":1135,"endOffset":1494,"count":7},{"startOffset":1201,"endOffset":1248,"count":0},{"startOffset":1369,"endOffset":1494,"count":0}],"isBlockCoverage":true},{"functionName":"percolateUp","ranges":[{"startOffset":1589,"endOffset":2077,"count":14},{"startOffset":1764,"endOffset":1986,"count":13},{"startOffset":1852,"endOffset":1858,"count":3},{"startOffset":1858,"endOffset":1986,"count":10}],"isBlockCoverage":true},{"functionName":"removeAt","ranges":[{"startOffset":2081,"endOffset":2411,"count":13},{"startOffset":2275,"endOffset":2325,"count":0},{"startOffset":2335,"endOffset":2357,"count":0}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":2415,"endOffset":2569,"count":11},{"startOffset":2516,"endOffset":2523,"count":0}],"isBlockCoverage":true}]},{"scriptId":"92","url":"node:internal/util/inspect","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":81525,"count":1}],"isBlockCoverage":false},{"functionName":"pathToFileUrlHref","ranges":[{"startOffset":3211,"endOffset":3345,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3454,"endOffset":3515,"count":62}],"isBlockCoverage":true},{"functionName":"isUndetectableObject","ranges":[{"startOffset":3611,"endOffset":3661,"count":0}],"isBlockCoverage":false},{"functionName":"getUserOptions","ranges":[{"startOffset":7144,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":8980,"endOffset":11006,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":11117,"endOffset":11162,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":11166,"endOffset":11281,"count":0}],"isBlockCoverage":false},{"functionName":"defineColorAlias","ranges":[{"startOffset":13005,"endOffset":13269,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13121,"endOffset":13161,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":13167,"endOffset":13213,"count":0}],"isBlockCoverage":false},{"functionName":"addQuotes","ranges":[{"startOffset":14281,"endOffset":14439,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":14441,"endOffset":14616,"count":0}],"isBlockCoverage":false},{"functionName":"strEscape","ranges":[{"startOffset":14728,"endOffset":16882,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeWithColor","ranges":[{"startOffset":16884,"endOffset":17150,"count":0}],"isBlockCoverage":false},{"functionName":"stylizeNoColor","ranges":[{"startOffset":17152,"endOffset":17198,"count":0}],"isBlockCoverage":false},{"functionName":"getEmptyFormatArray","ranges":[{"startOffset":17277,"endOffset":17324,"count":0}],"isBlockCoverage":false},{"functionName":"isInstanceof","ranges":[{"startOffset":17326,"endOffset":17444,"count":0}],"isBlockCoverage":false},{"functionName":"getConstructorName","ranges":[{"startOffset":17446,"endOffset":18715,"count":0}],"isBlockCoverage":false},{"functionName":"addPrototypeProperties","ranges":[{"startOffset":18902,"endOffset":20735,"count":0}],"isBlockCoverage":false},{"functionName":"getPrefix","ranges":[{"startOffset":20737,"endOffset":21124,"count":0}],"isBlockCoverage":false},{"functionName":"getKeys","ranges":[{"startOffset":21161,"endOffset":22152,"count":0}],"isBlockCoverage":false},{"functionName":"getCtxStyle","ranges":[{"startOffset":22154,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"formatProxy","ranges":[{"startOffset":22419,"endOffset":22869,"count":0}],"isBlockCoverage":false},{"functionName":"formatValue","ranges":[{"startOffset":23051,"endOffset":25808,"count":0}],"isBlockCoverage":false},{"functionName":"formatRaw","ranges":[{"startOffset":25810,"endOffset":36655,"count":0}],"isBlockCoverage":false},{"functionName":"getIteratorBraces","ranges":[{"startOffset":36657,"endOffset":36839,"count":0}],"isBlockCoverage":false},{"functionName":"getBoxedBase","ranges":[{"startOffset":36841,"endOffset":38029,"count":0}],"isBlockCoverage":false},{"functionName":"getClassBase","ranges":[{"startOffset":38031,"endOffset":38631,"count":0}],"isBlockCoverage":false},{"functionName":"getFunctionBase","ranges":[{"startOffset":38633,"endOffset":39866,"count":0}],"isBlockCoverage":false},{"functionName":"identicalSequenceRange","ranges":[{"startOffset":39868,"endOffset":40484,"count":0}],"isBlockCoverage":false},{"functionName":"getStackString","ranges":[{"startOffset":40486,"endOffset":40596,"count":0}],"isBlockCoverage":false},{"functionName":"getStackFrames","ranges":[{"startOffset":40598,"endOffset":41489,"count":0}],"isBlockCoverage":false},{"functionName":"improveStack","ranges":[{"startOffset":41491,"endOffset":42696,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateErrorKeys","ranges":[{"startOffset":42698,"endOffset":43121,"count":0}],"isBlockCoverage":false},{"functionName":"markNodeModules","ranges":[{"startOffset":43123,"endOffset":43593,"count":0}],"isBlockCoverage":false},{"functionName":"markCwd","ranges":[{"startOffset":43595,"endOffset":44572,"count":0}],"isBlockCoverage":false},{"functionName":"safeGetCWD","ranges":[{"startOffset":44574,"endOffset":44724,"count":0}],"isBlockCoverage":false},{"functionName":"formatError","ranges":[{"startOffset":44726,"endOffset":47121,"count":0}],"isBlockCoverage":false},{"functionName":"groupArrayElements","ranges":[{"startOffset":47123,"endOffset":51462,"count":0}],"isBlockCoverage":false},{"functionName":"handleMaxCallStackSize","ranges":[{"startOffset":51464,"endOffset":51853,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparator","ranges":[{"startOffset":51855,"endOffset":52257,"count":0}],"isBlockCoverage":false},{"functionName":"addNumericSeparatorEnd","ranges":[{"startOffset":52259,"endOffset":52558,"count":0}],"isBlockCoverage":false},{"functionName":"remainingText","ranges":[{"startOffset":52582,"endOffset":52652,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumber","ranges":[{"startOffset":52655,"endOffset":53443,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigInt","ranges":[{"startOffset":53445,"endOffset":53661,"count":0}],"isBlockCoverage":false},{"functionName":"formatPrimitive","ranges":[{"startOffset":53663,"endOffset":55068,"count":0}],"isBlockCoverage":false},{"functionName":"formatNamespaceObject","ranges":[{"startOffset":55070,"endOffset":56222,"count":0}],"isBlockCoverage":false},{"functionName":"formatSpecialArray","ranges":[{"startOffset":56269,"endOffset":57529,"count":0}],"isBlockCoverage":false},{"functionName":"formatArrayBuffer","ranges":[{"startOffset":57531,"endOffset":58179,"count":0}],"isBlockCoverage":false},{"functionName":"formatArray","ranges":[{"startOffset":58181,"endOffset":58780,"count":0}],"isBlockCoverage":false},{"functionName":"formatTypedArray","ranges":[{"startOffset":58782,"endOffset":59811,"count":0}],"isBlockCoverage":false},{"functionName":"formatSet","ranges":[{"startOffset":59813,"endOffset":60336,"count":0}],"isBlockCoverage":false},{"functionName":"formatMap","ranges":[{"startOffset":60338,"endOffset":60938,"count":0}],"isBlockCoverage":false},{"functionName":"formatSetIterInner","ranges":[{"startOffset":60940,"endOffset":61743,"count":0}],"isBlockCoverage":false},{"functionName":"formatMapIterInner","ranges":[{"startOffset":61745,"endOffset":63053,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakCollection","ranges":[{"startOffset":63055,"endOffset":63147,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakSet","ranges":[{"startOffset":63149,"endOffset":63306,"count":0}],"isBlockCoverage":false},{"functionName":"formatWeakMap","ranges":[{"startOffset":63308,"endOffset":63465,"count":0}],"isBlockCoverage":false},{"functionName":"formatIterator","ranges":[{"startOffset":63467,"endOffset":63888,"count":0}],"isBlockCoverage":false},{"functionName":"formatPromise","ranges":[{"startOffset":63890,"endOffset":64364,"count":0}],"isBlockCoverage":false},{"functionName":"formatProperty","ranges":[{"startOffset":64366,"endOffset":66939,"count":0}],"isBlockCoverage":false},{"functionName":"isBelowBreakLength","ranges":[{"startOffset":66941,"endOffset":67899,"count":0}],"isBlockCoverage":false},{"functionName":"reduceToSingleString","ranges":[{"startOffset":67901,"endOffset":70802,"count":0}],"isBlockCoverage":false},{"functionName":"hasBuiltInToString","ranges":[{"startOffset":70804,"endOffset":71880,"count":0}],"isBlockCoverage":false},{"functionName":"firstErrorLine","ranges":[{"startOffset":71905,"endOffset":71963,"count":0}],"isBlockCoverage":false},{"functionName":"tryStringify","ranges":[{"startOffset":71993,"endOffset":72498,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":72500,"endOffset":72581,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptions","ranges":[{"startOffset":72583,"endOffset":72770,"count":0}],"isBlockCoverage":false},{"functionName":"formatNumberNoColor","ranges":[{"startOffset":72772,"endOffset":72954,"count":0}],"isBlockCoverage":false},{"functionName":"formatBigIntNoColor","ranges":[{"startOffset":72956,"endOffset":73138,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithOptionsInternal","ranges":[{"startOffset":73140,"endOffset":77164,"count":0}],"isBlockCoverage":false},{"functionName":"isZeroWidthCodePoint","ranges":[{"startOffset":77166,"endOffset":77740,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78169,"endOffset":78760,"count":0}],"isBlockCoverage":false},{"functionName":"getStringWidth","ranges":[{"startOffset":78875,"endOffset":79343,"count":0}],"isBlockCoverage":false},{"functionName":"isFullWidthCodePoint","ranges":[{"startOffset":79511,"endOffset":81120,"count":0}],"isBlockCoverage":false},{"functionName":"stripVTControlCharacters","ranges":[{"startOffset":81211,"endOffset":81338,"count":0}],"isBlockCoverage":false}]},{"scriptId":"93","url":"node:internal/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":474,"count":1}],"isBlockCoverage":false},{"functionName":"lazyError","ranges":[{"startOffset":26,"endOffset":155,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":157,"endOffset":307,"count":902},{"startOffset":205,"endOffset":305,"count":0}],"isBlockCoverage":true},{"functionName":"fail","ranges":[{"startOffset":309,"endOffset":426,"count":0}],"isBlockCoverage":false}]},{"scriptId":"94","url":"node:internal/util/debuglog","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3395,"count":1}],"isBlockCoverage":false},{"functionName":"initializeDebugEnv","ranges":[{"startOffset":503,"endOffset":976,"count":1},{"startOffset":595,"endOffset":932,"count":0}],"isBlockCoverage":true},{"functionName":"testEnabled","ranges":[{"startOffset":870,"endOffset":927,"count":0}],"isBlockCoverage":false},{"functionName":"testEnabled","ranges":[{"startOffset":958,"endOffset":969,"count":10}],"isBlockCoverage":true},{"functionName":"emitWarningIfNeeded","ranges":[{"startOffset":1050,"endOffset":1389,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":1404,"endOffset":1412,"count":3666}],"isBlockCoverage":true},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1431,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"debuglogImpl","ranges":[{"startOffset":1533,"endOffset":2091,"count":8},{"startOffset":1608,"endOffset":2063,"count":5},{"startOffset":1627,"endOffset":2016,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":1716,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"debuglog","ranges":[{"startOffset":2311,"endOffset":3337,"count":22}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":2342,"endOffset":2438,"count":10}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":2453,"endOffset":2847,"count":8},{"startOffset":2700,"endOffset":2730,"count":5},{"startOffset":2737,"endOffset":2776,"count":2},{"startOffset":2783,"endOffset":2837,"count":1}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2877,"endOffset":2946,"count":2}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2908,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"logger","ranges":[{"startOffset":2965,"endOffset":3160,"count":8},{"startOffset":3013,"endOffset":3043,"count":5},{"startOffset":3050,"endOffset":3089,"count":2},{"startOffset":3096,"endOffset":3150,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3231,"endOffset":3265,"count":2}],"isBlockCoverage":true}]},{"scriptId":"95","url":"node:events","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36377,"count":1}],"isBlockCoverage":false},{"functionName":"lazyEventEmitterAsyncResource","ranges":[{"startOffset":3020,"endOffset":6331,"count":6},{"startOffset":3110,"endOffset":6293,"count":1}],"isBlockCoverage":true},{"functionName":"EventEmitterReferencingAsyncResource","ranges":[{"startOffset":3565,"endOffset":3669,"count":0}],"isBlockCoverage":false},{"functionName":"get eventEmitter","ranges":[{"startOffset":3727,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterAsyncResource","ranges":[{"startOffset":4205,"endOffset":4729,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":4866,"endOffset":5236,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":5297,"endOffset":5485,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncId","ranges":[{"startOffset":5545,"endOffset":5736,"count":0}],"isBlockCoverage":false},{"functionName":"get triggerAsyncId","ranges":[{"startOffset":5796,"endOffset":6001,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncResource","ranges":[{"startOffset":6091,"endOffset":6280,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter","ranges":[{"startOffset":6465,"endOffset":6534,"count":90}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":7019,"endOffset":7075,"count":6}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":7079,"endOffset":7204,"count":0}],"isBlockCoverage":false},{"functionName":"checkListener","ranges":[{"startOffset":7985,"endOffset":8063,"count":33}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8171,"endOffset":8219,"count":10}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8228,"endOffset":8329,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.setMaxListeners","ranges":[{"startOffset":8882,"endOffset":9694,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.init","ranges":[{"startOffset":9861,"endOffset":10459,"count":90},{"startOffset":9912,"endOffset":9972,"count":0},{"startOffset":10116,"endOffset":10135,"count":2},{"startOffset":10137,"endOffset":10270,"count":0}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":10462,"endOffset":11021,"count":4},{"startOffset":10549,"endOffset":10968,"count":0},{"startOffset":10973,"endOffset":11019,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10750,"endOffset":10960,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionOrErr","ranges":[{"startOffset":11023,"endOffset":11680,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":11832,"endOffset":11947,"count":1}],"isBlockCoverage":true},{"functionName":"_getMaxListeners","ranges":[{"startOffset":11950,"endOffset":12099,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":12236,"endOffset":12299,"count":0}],"isBlockCoverage":false},{"functionName":"enhanceStackTrace","ranges":[{"startOffset":12302,"endOffset":13061,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":13256,"endOffset":15559,"count":122},{"startOffset":13401,"endOffset":13439,"count":0},{"startOffset":13447,"endOffset":13481,"count":0},{"startOffset":13505,"endOffset":13534,"count":0},{"startOffset":13540,"endOffset":13577,"count":0},{"startOffset":13649,"endOffset":14617,"count":0},{"startOffset":14685,"endOffset":14698,"count":73},{"startOffset":14698,"endOffset":15018,"count":49},{"startOffset":14945,"endOffset":14963,"count":4},{"startOffset":14965,"endOffset":15014,"count":4},{"startOffset":15018,"endOffset":15541,"count":0},{"startOffset":15541,"endOffset":15558,"count":49}],"isBlockCoverage":true},{"functionName":"_addListener","ranges":[{"startOffset":15562,"endOffset":17456,"count":28},{"startOffset":15742,"endOffset":15827,"count":0},{"startOffset":16012,"endOffset":16273,"count":0},{"startOffset":16476,"endOffset":17436,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":17634,"endOffset":17726,"count":28}],"isBlockCoverage":true},{"functionName":"prependListener","ranges":[{"startOffset":18013,"endOffset":18116,"count":0}],"isBlockCoverage":false},{"functionName":"onceWrapper","ranges":[{"startOffset":18119,"endOffset":18383,"count":0}],"isBlockCoverage":false},{"functionName":"_onceWrap","ranges":[{"startOffset":18385,"endOffset":18626,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":18817,"endOffset":18943,"count":0}],"isBlockCoverage":false},{"functionName":"prependOnceListener","ranges":[{"startOffset":19176,"endOffset":19346,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":19553,"endOffset":20848,"count":5},{"startOffset":19702,"endOffset":19714,"count":0},{"startOffset":19787,"endOffset":19799,"count":3},{"startOffset":19799,"endOffset":19829,"count":2},{"startOffset":19829,"endOffset":19858,"count":0},{"startOffset":19860,"endOffset":20121,"count":2},{"startOffset":19911,"endOffset":19946,"count":0},{"startOffset":20042,"endOffset":20103,"count":0},{"startOffset":20121,"endOffset":20822,"count":0},{"startOffset":20822,"endOffset":20847,"count":2}],"isBlockCoverage":true},{"functionName":"removeAllListeners","ranges":[{"startOffset":21168,"endOffset":22497,"count":0}],"isBlockCoverage":false},{"functionName":"_listeners","ranges":[{"startOffset":22500,"endOffset":22895,"count":0}],"isBlockCoverage":false},{"functionName":"listeners","ranges":[{"startOffset":23085,"endOffset":23152,"count":0}],"isBlockCoverage":false},{"functionName":"rawListeners","ranges":[{"startOffset":23359,"endOffset":23430,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter.listenerCount","ranges":[{"startOffset":23672,"endOffset":23858,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":24091,"endOffset":24796,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":24952,"endOffset":25045,"count":0}],"isBlockCoverage":false},{"functionName":"arrayClone","ranges":[{"startOffset":25048,"endOffset":25521,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapListeners","ranges":[{"startOffset":25523,"endOffset":25737,"count":0}],"isBlockCoverage":false},{"functionName":"getEventListeners","ranges":[{"startOffset":25947,"endOffset":26821,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":26941,"endOffset":27376,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":27596,"endOffset":29314,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29392,"endOffset":29413,"count":0}],"isBlockCoverage":false},{"functionName":"createIterResult","ranges":[{"startOffset":29428,"endOffset":29496,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticRemoveListener","ranges":[{"startOffset":29498,"endOffset":29883,"count":0}],"isBlockCoverage":false},{"functionName":"eventTargetAgnosticAddListener","ranges":[{"startOffset":29885,"endOffset":30317,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":30622,"endOffset":35023,"count":0}],"isBlockCoverage":false},{"functionName":"listenersController","ranges":[{"startOffset":35025,"endOffset":35471,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortListener","ranges":[{"startOffset":35494,"endOffset":36376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"96","url":"node:buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":41224,"count":1}],"isBlockCoverage":false},{"functionName":"validateOffset","ranges":[{"startOffset":3255,"endOffset":3339,"count":0}],"isBlockCoverage":false},{"functionName":"createPool","ranges":[{"startOffset":4069,"endOffset":4228,"count":3}],"isBlockCoverage":true},{"functionName":"alignPool","ranges":[{"startOffset":4244,"endOffset":4366,"count":30},{"startOffset":4318,"endOffset":4364,"count":27}],"isBlockCoverage":true},{"functionName":"showFlaggedDeprecation","ranges":[{"startOffset":4670,"endOffset":5350,"count":0}],"isBlockCoverage":false},{"functionName":"toInteger","ranges":[{"startOffset":5352,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"_copy","ranges":[{"startOffset":5572,"endOffset":6704,"count":0}],"isBlockCoverage":false},{"functionName":"_copyActual","ranges":[{"startOffset":6706,"endOffset":7237,"count":0}],"isBlockCoverage":false},{"functionName":"Buffer","ranges":[{"startOffset":7813,"endOffset":8146,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8258,"endOffset":8286,"count":1}],"isBlockCoverage":true},{"functionName":"from","ranges":[{"startOffset":8544,"endOffset":9509,"count":44},{"startOffset":8630,"endOffset":8673,"count":37},{"startOffset":8673,"endOffset":8724,"count":7},{"startOffset":8726,"endOffset":9363,"count":7},{"startOffset":8767,"endOffset":8823,"count":6},{"startOffset":8823,"endOffset":8877,"count":1},{"startOffset":8903,"endOffset":8931,"count":1},{"startOffset":8932,"endOffset":9003,"count":0},{"startOffset":9005,"endOffset":9066,"count":0},{"startOffset":9066,"endOffset":9127,"count":1},{"startOffset":9127,"endOffset":9359,"count":0},{"startOffset":9363,"endOffset":9508,"count":0}],"isBlockCoverage":true},{"functionName":"copyBytesFrom","ranges":[{"startOffset":9763,"endOffset":10644,"count":0}],"isBlockCoverage":false},{"functionName":"of","ranges":[{"startOffset":11015,"endOffset":11167,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11456,"endOffset":11516,"count":62}],"isBlockCoverage":true},{"functionName":"alloc","ranges":[{"startOffset":11619,"endOffset":11864,"count":2},{"startOffset":11703,"endOffset":11716,"count":0},{"startOffset":11717,"endOffset":11728,"count":0},{"startOffset":11730,"endOffset":11831,"count":0}],"isBlockCoverage":true},{"functionName":"allocUnsafe","ranges":[{"startOffset":12043,"endOffset":12118,"count":2}],"isBlockCoverage":true},{"functionName":"allocUnsafeSlow","ranges":[{"startOffset":12359,"endOffset":12448,"count":58}],"isBlockCoverage":true},{"functionName":"SlowBuffer","ranges":[{"startOffset":12544,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"allocate","ranges":[{"startOffset":12748,"endOffset":13080,"count":2},{"startOffset":12791,"endOffset":13043,"count":1},{"startOffset":12912,"endOffset":12925,"count":0},{"startOffset":13043,"endOffset":13079,"count":0}],"isBlockCoverage":true},{"functionName":"fromStringFast","ranges":[{"startOffset":13082,"endOffset":13628,"count":37},{"startOffset":13208,"endOffset":13257,"count":9},{"startOffset":13257,"endOffset":13303,"count":28},{"startOffset":13303,"endOffset":13316,"count":2},{"startOffset":13316,"endOffset":13449,"count":28},{"startOffset":13449,"endOffset":13575,"count":0},{"startOffset":13575,"endOffset":13627,"count":28}],"isBlockCoverage":true},{"functionName":"fromString","ranges":[{"startOffset":13630,"endOffset":14083,"count":37},{"startOffset":13716,"endOffset":13740,"count":30},{"startOffset":13742,"endOffset":13861,"count":7},{"startOffset":13779,"endOffset":13803,"count":0},{"startOffset":13861,"endOffset":14043,"count":30},{"startOffset":13938,"endOffset":13979,"count":0},{"startOffset":14015,"endOffset":14039,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayBuffer","ranges":[{"startOffset":14085,"endOffset":14782,"count":6},{"startOffset":14229,"endOffset":14325,"count":0},{"startOffset":14402,"endOffset":14447,"count":0},{"startOffset":14506,"endOffset":14729,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayLike","ranges":[{"startOffset":14784,"endOffset":15178,"count":1},{"startOffset":14841,"endOffset":14865,"count":0},{"startOffset":14964,"endOffset":14977,"count":0},{"startOffset":15146,"endOffset":15177,"count":0}],"isBlockCoverage":true},{"functionName":"fromObject","ranges":[{"startOffset":15180,"endOffset":15486,"count":1},{"startOffset":15238,"endOffset":15269,"count":0},{"startOffset":15313,"endOffset":15351,"count":0},{"startOffset":15386,"endOffset":15441,"count":0},{"startOffset":15443,"endOffset":15484,"count":0}],"isBlockCoverage":true},{"functionName":"isBuffer","ranges":[{"startOffset":15525,"endOffset":15579,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":15599,"endOffset":15924,"count":0}],"isBlockCoverage":false},{"functionName":"isEncoding","ranges":[{"startOffset":15947,"endOffset":16098,"count":572}],"isBlockCoverage":true},{"functionName":"concat","ranges":[{"startOffset":16164,"endOffset":17311,"count":0}],"isBlockCoverage":false},{"functionName":"base64ByteLength","ranges":[{"startOffset":17314,"endOffset":17582,"count":20},{"startOffset":17436,"endOffset":17444,"count":15},{"startOffset":17520,"endOffset":17528,"count":7}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":17717,"endOffset":17781,"count":7}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":17794,"endOffset":17840,"count":18}],"isBlockCoverage":true},{"functionName":"indexOf","ranges":[{"startOffset":17855,"endOffset":17951,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18045,"endOffset":18074,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18087,"endOffset":18151,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18164,"endOffset":18210,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18225,"endOffset":18324,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18424,"endOffset":18453,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18466,"endOffset":18530,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18543,"endOffset":18589,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18604,"endOffset":18703,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":18800,"endOffset":18825,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":18838,"endOffset":18904,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":18917,"endOffset":18965,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":18980,"endOffset":19078,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19172,"endOffset":19197,"count":6}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19210,"endOffset":19275,"count":6}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":19288,"endOffset":19335,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19350,"endOffset":19562,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19659,"endOffset":19710,"count":20}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19723,"endOffset":19789,"count":11}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":19802,"endOffset":19850,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":19865,"endOffset":20079,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20185,"endOffset":20236,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20249,"endOffset":20324,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":20337,"endOffset":20388,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20403,"endOffset":20623,"count":0}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":20711,"endOffset":20742,"count":4}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":20755,"endOffset":20818,"count":4}],"isBlockCoverage":true},{"functionName":"slice","ranges":[{"startOffset":20831,"endOffset":20876,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":20891,"endOffset":21099,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingOps","ranges":[{"startOffset":21109,"endOffset":22933,"count":48},{"startOffset":21196,"endOffset":21495,"count":18},{"startOffset":21259,"endOffset":21495,"count":0},{"startOffset":21500,"endOffset":21919,"count":6},{"startOffset":21540,"endOffset":21564,"count":0},{"startOffset":21622,"endOffset":21919,"count":0},{"startOffset":21924,"endOffset":22078,"count":0},{"startOffset":22083,"endOffset":22239,"count":0},{"startOffset":22244,"endOffset":22625,"count":20},{"startOffset":22318,"endOffset":22344,"count":0},{"startOffset":22404,"endOffset":22516,"count":0},{"startOffset":22526,"endOffset":22625,"count":0},{"startOffset":22630,"endOffset":22762,"count":4},{"startOffset":22667,"endOffset":22716,"count":0},{"startOffset":22749,"endOffset":22762,"count":0},{"startOffset":22767,"endOffset":22927,"count":0}],"isBlockCoverage":true},{"functionName":"byteLength","ranges":[{"startOffset":22935,"endOffset":23441,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23600,"endOffset":23694,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23792,"endOffset":23890,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":23923,"endOffset":24056,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":24337,"endOffset":24916,"count":19},{"startOffset":24409,"endOffset":24457,"count":1},{"startOffset":24457,"endOffset":24509,"count":18},{"startOffset":24509,"endOffset":24519,"count":0},{"startOffset":24519,"endOffset":24582,"count":18},{"startOffset":24549,"endOffset":24559,"count":0},{"startOffset":24582,"endOffset":24608,"count":18},{"startOffset":24608,"endOffset":24620,"count":0},{"startOffset":24626,"endOffset":24636,"count":18},{"startOffset":24636,"endOffset":24657,"count":0},{"startOffset":24657,"endOffset":24683,"count":18},{"startOffset":24683,"endOffset":24693,"count":0},{"startOffset":24693,"endOffset":24729,"count":18},{"startOffset":24729,"endOffset":24763,"count":0},{"startOffset":24763,"endOffset":24834,"count":18},{"startOffset":24834,"endOffset":24875,"count":0},{"startOffset":24875,"endOffset":24915,"count":18}],"isBlockCoverage":true},{"functionName":"equals","ranges":[{"startOffset":24945,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":25427,"endOffset":26570,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":26666,"endOffset":27815,"count":0}],"isBlockCoverage":false},{"functionName":"bidirectionalIndexOf","ranges":[{"startOffset":28243,"endOffset":29551,"count":0}],"isBlockCoverage":false},{"functionName":"indexOf","ranges":[{"startOffset":29580,"endOffset":29697,"count":0}],"isBlockCoverage":false},{"functionName":"lastIndexOf","ranges":[{"startOffset":29731,"endOffset":29853,"count":0}],"isBlockCoverage":false},{"functionName":"includes","ranges":[{"startOffset":29884,"endOffset":29989,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":30167,"endOffset":30266,"count":0}],"isBlockCoverage":false},{"functionName":"_fill","ranges":[{"startOffset":30269,"endOffset":32215,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":32242,"endOffset":33257,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":33286,"endOffset":33520,"count":0}],"isBlockCoverage":false},{"functionName":"adjustOffset","ranges":[{"startOffset":33523,"endOffset":33957,"count":0}],"isBlockCoverage":false},{"functionName":"subarray","ranges":[{"startOffset":33987,"endOffset":34290,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":34318,"endOffset":34384,"count":0}],"isBlockCoverage":false},{"functionName":"swap","ranges":[{"startOffset":34387,"endOffset":34458,"count":0}],"isBlockCoverage":false},{"functionName":"swap16","ranges":[{"startOffset":34486,"endOffset":34890,"count":0}],"isBlockCoverage":false},{"functionName":"swap32","ranges":[{"startOffset":34919,"endOffset":35363,"count":0}],"isBlockCoverage":false},{"functionName":"swap64","ranges":[{"startOffset":35392,"endOffset":35900,"count":0}],"isBlockCoverage":false},{"functionName":"transcode","ranges":[{"startOffset":36214,"endOffset":36913,"count":0}],"isBlockCoverage":false},{"functionName":"btoa","ranges":[{"startOffset":36918,"endOffset":37455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":37728,"endOffset":37772,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37830,"endOffset":37874,"count":26}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37929,"endOffset":37973,"count":10}],"isBlockCoverage":true},{"functionName":"atob","ranges":[{"startOffset":38149,"endOffset":40101,"count":0}],"isBlockCoverage":false},{"functionName":"isUtf8","ranges":[{"startOffset":40103,"endOffset":40299,"count":0}],"isBlockCoverage":false},{"functionName":"isAscii","ranges":[{"startOffset":40301,"endOffset":40514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40905,"endOffset":40940,"count":9}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":40946,"endOffset":41044,"count":0}],"isBlockCoverage":false}]},{"scriptId":"97","url":"node:internal/buffer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30926,"count":1}],"isBlockCoverage":false},{"functionName":"checkBounds","ranges":[{"startOffset":1176,"endOffset":1392,"count":1},{"startOffset":1339,"endOffset":1390,"count":0}],"isBlockCoverage":true},{"functionName":"checkInt","ranges":[{"startOffset":1394,"endOffset":2016,"count":1},{"startOffset":1490,"endOffset":1974,"count":0}],"isBlockCoverage":true},{"functionName":"boundsError","ranges":[{"startOffset":2018,"endOffset":2421,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":2441,"endOffset":2940,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":2942,"endOffset":3441,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":3443,"endOffset":3944,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":3946,"endOffset":4441,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntLE","ranges":[{"startOffset":4443,"endOffset":4995,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48LE","ranges":[{"startOffset":4997,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40LE","ranges":[{"startOffset":5382,"endOffset":5738,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":5740,"endOffset":6066,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24LE","ranges":[{"startOffset":6068,"endOffset":6356,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":6358,"endOffset":6618,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":6620,"endOffset":6800,"count":0}],"isBlockCoverage":false},{"functionName":"readUIntBE","ranges":[{"startOffset":6802,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt48BE","ranges":[{"startOffset":7356,"endOffset":7739,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt40BE","ranges":[{"startOffset":7741,"endOffset":8097,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":8099,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt24BE","ranges":[{"startOffset":8427,"endOffset":8715,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":8717,"endOffset":8977,"count":0}],"isBlockCoverage":false},{"functionName":"readIntLE","ranges":[{"startOffset":8979,"endOffset":9524,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48LE","ranges":[{"startOffset":9526,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40LE","ranges":[{"startOffset":9959,"endOffset":10346,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":10348,"endOffset":10683,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24LE","ranges":[{"startOffset":10685,"endOffset":11017,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":11019,"endOffset":11325,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":11327,"endOffset":11535,"count":0}],"isBlockCoverage":false},{"functionName":"readIntBE","ranges":[{"startOffset":11537,"endOffset":12082,"count":0}],"isBlockCoverage":false},{"functionName":"readInt48BE","ranges":[{"startOffset":12084,"endOffset":12513,"count":0}],"isBlockCoverage":false},{"functionName":"readInt40BE","ranges":[{"startOffset":12515,"endOffset":12903,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":12905,"endOffset":13240,"count":0}],"isBlockCoverage":false},{"functionName":"readInt24BE","ranges":[{"startOffset":13242,"endOffset":13574,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":13576,"endOffset":13882,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBackwards","ranges":[{"startOffset":13899,"endOffset":14304,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatForwards","ranges":[{"startOffset":14306,"endOffset":14710,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBackwards","ranges":[{"startOffset":14712,"endOffset":15282,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleForwards","ranges":[{"startOffset":15284,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64LE","ranges":[{"startOffset":15874,"endOffset":16356,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":16358,"endOffset":16480,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigU_Int64BE","ranges":[{"startOffset":16482,"endOffset":16980,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":16982,"endOffset":17104,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":17106,"endOffset":17250,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":17252,"endOffset":17396,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntLE","ranges":[{"startOffset":17398,"endOffset":18007,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48LE","ranges":[{"startOffset":18009,"endOffset":18422,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40LE","ranges":[{"startOffset":18424,"endOffset":18803,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32LE","ranges":[{"startOffset":18805,"endOffset":19112,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19114,"endOffset":19220,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24LE","ranges":[{"startOffset":19222,"endOffset":19481,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16LE","ranges":[{"startOffset":19483,"endOffset":19679,"count":1}],"isBlockCoverage":true},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19681,"endOffset":19783,"count":1}],"isBlockCoverage":true},{"functionName":"writeU_Int8","ranges":[{"startOffset":19785,"endOffset":20197,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":20199,"endOffset":20293,"count":0}],"isBlockCoverage":false},{"functionName":"writeUIntBE","ranges":[{"startOffset":20295,"endOffset":20904,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int48BE","ranges":[{"startOffset":20906,"endOffset":21327,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int40BE","ranges":[{"startOffset":21329,"endOffset":21691,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int32BE","ranges":[{"startOffset":21693,"endOffset":22008,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":22010,"endOffset":22116,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int24BE","ranges":[{"startOffset":22118,"endOffset":22383,"count":0}],"isBlockCoverage":false},{"functionName":"writeU_Int16BE","ranges":[{"startOffset":22385,"endOffset":22581,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":22583,"endOffset":22685,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntLE","ranges":[{"startOffset":22687,"endOffset":23349,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":23351,"endOffset":23466,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":23468,"endOffset":23575,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":23577,"endOffset":23674,"count":0}],"isBlockCoverage":false},{"functionName":"writeIntBE","ranges":[{"startOffset":23676,"endOffset":24338,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":24340,"endOffset":24455,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":24457,"endOffset":24564,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleForwards","ranges":[{"startOffset":24583,"endOffset":25049,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBackwards","ranges":[{"startOffset":25051,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatForwards","ranges":[{"startOffset":25520,"endOffset":25821,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBackwards","ranges":[{"startOffset":25823,"endOffset":26125,"count":0}],"isBlockCoverage":false},{"functionName":"FastBuffer","ranges":[{"startOffset":26365,"endOffset":26465,"count":101}],"isBlockCoverage":true},{"functionName":"addBufferPrototypeMethods","ranges":[{"startOffset":26469,"endOffset":29608,"count":1},{"startOffset":28552,"endOffset":28572,"count":0},{"startOffset":28626,"endOffset":28645,"count":0},{"startOffset":28701,"endOffset":28722,"count":0},{"startOffset":28778,"endOffset":28798,"count":0},{"startOffset":28855,"endOffset":28876,"count":0},{"startOffset":28932,"endOffset":28952,"count":0},{"startOffset":29010,"endOffset":29032,"count":0},{"startOffset":29090,"endOffset":29111,"count":0}],"isBlockCoverage":true},{"functionName":"markAsUntransferable","ranges":[{"startOffset":29764,"endOffset":30013,"count":3},{"startOffset":29832,"endOffset":29860,"count":0},{"startOffset":29883,"endOffset":29890,"count":0}],"isBlockCoverage":true},{"functionName":"createUnsafeBuffer","ranges":[{"startOffset":30291,"endOffset":30427,"count":61}],"isBlockCoverage":true},{"functionName":"reconnectZeroFillToggle","ranges":[{"startOffset":30682,"endOffset":30754,"count":1}],"isBlockCoverage":true}]},{"scriptId":"98","url":"node:internal/worker/js_transferable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2208,"count":1}],"isBlockCoverage":false},{"functionName":"setup","ranges":[{"startOffset":478,"endOffset":1311,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":759,"endOffset":1307,"count":0}],"isBlockCoverage":false},{"functionName":"makeTransferable","ranges":[{"startOffset":1313,"endOffset":1968,"count":1},{"startOffset":1442,"endOffset":1453,"count":0},{"startOffset":1688,"endOffset":1850,"count":0}],"isBlockCoverage":true}]},{"scriptId":"99","url":"node:internal/process/per_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12464,"count":1}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":1145,"endOffset":1233,"count":0}],"isBlockCoverage":false},{"functionName":"refreshHrtimeBuffer","ranges":[{"startOffset":1388,"endOffset":1856,"count":2}],"isBlockCoverage":true},{"functionName":"hrtime","ranges":[{"startOffset":1905,"endOffset":2407,"count":0}],"isBlockCoverage":false},{"functionName":"hrtimeBigInt","ranges":[{"startOffset":2409,"endOffset":2490,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2492,"endOffset":2509,"count":0}],"isBlockCoverage":false},{"functionName":"wrapProcessMethods","ranges":[{"startOffset":2587,"endOffset":7477,"count":1}],"isBlockCoverage":true},{"functionName":"_rawDebug","ranges":[{"startOffset":2754,"endOffset":2844,"count":0}],"isBlockCoverage":false},{"functionName":"cpuUsage","ranges":[{"startOffset":3055,"endOffset":4207,"count":0}],"isBlockCoverage":false},{"functionName":"previousValueIsValid","ranges":[{"startOffset":4360,"endOffset":4497,"count":0}],"isBlockCoverage":false},{"functionName":"memoryUsage","ranges":[{"startOffset":4542,"endOffset":4769,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":4799,"endOffset":5938,"count":1}],"isBlockCoverage":true},{"functionName":"kill","ranges":[{"startOffset":5942,"endOffset":6587,"count":0}],"isBlockCoverage":false},{"functionName":"resourceUsage","ranges":[{"startOffset":6638,"endOffset":7372,"count":0}],"isBlockCoverage":false},{"functionName":"buildAllowedFlags","ranges":[{"startOffset":7688,"endOffset":11790,"count":1},{"startOffset":7976,"endOffset":8267,"count":159},{"startOffset":8028,"endOffset":8263,"count":124},{"startOffset":8125,"endOffset":8257,"count":62},{"startOffset":8735,"endOffset":9157,"count":23},{"startOffset":8789,"endOffset":9153,"count":11},{"startOffset":8878,"endOffset":8947,"count":2},{"startOffset":9012,"endOffset":9081,"count":0}],"isBlockCoverage":true},{"functionName":"isAccepted","ranges":[{"startOffset":8271,"endOffset":8683,"count":29},{"startOffset":8341,"endOffset":8355,"count":28},{"startOffset":8357,"endOffset":8369,"count":2},{"startOffset":8369,"endOffset":8446,"count":27},{"startOffset":8446,"endOffset":8615,"count":2},{"startOffset":8496,"endOffset":8543,"count":1},{"startOffset":8615,"endOffset":8682,"count":25}],"isBlockCoverage":true},{"functionName":"trimLeadingDashes","ranges":[{"startOffset":9191,"endOffset":9253,"count":197}],"isBlockCoverage":true},{"functionName":"NodeEnvironmentFlagsSet","ranges":[{"startOffset":9563,"endOffset":9639,"count":1}],"isBlockCoverage":true},{"functionName":"add","ranges":[{"startOffset":9645,"endOffset":9714,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":9720,"endOffset":9793,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":9799,"endOffset":9851,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":9857,"endOffset":10672,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":10678,"endOffset":10843,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":10849,"endOffset":11026,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":11032,"endOffset":11093,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":11099,"endOffset":11262,"count":0}],"isBlockCoverage":false},{"functionName":"toggleTraceCategoryState","ranges":[{"startOffset":11980,"endOffset":12310,"count":1},{"startOffset":12060,"endOffset":12235,"count":0},{"startOffset":12267,"endOffset":12308,"count":0}],"isBlockCoverage":true}]},{"scriptId":"100","url":"node:internal/process/task_queues","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4285,"count":1}],"isBlockCoverage":false},{"functionName":"hasTickScheduled","ranges":[{"startOffset":982,"endOffset":1057,"count":28}],"isBlockCoverage":true},{"functionName":"setHasTickScheduled","ranges":[{"startOffset":1059,"endOffset":1145,"count":2},{"startOffset":1135,"endOffset":1138,"count":1},{"startOffset":1139,"endOffset":1142,"count":1}],"isBlockCoverage":true},{"functionName":"runNextTicks","ranges":[{"startOffset":1247,"endOffset":1443,"count":14},{"startOffset":1409,"endOffset":1442,"count":0}],"isBlockCoverage":true},{"functionName":"processTicksAndRejections","ranges":[{"startOffset":1445,"endOffset":2424,"count":1},{"startOffset":1547,"endOffset":2279,"count":2},{"startOffset":1781,"endOffset":2155,"count":0},{"startOffset":2217,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"nextTick","ranges":[{"startOffset":2568,"endOffset":3442,"count":2},{"startOffset":2669,"endOffset":2676,"count":0},{"startOffset":2743,"endOffset":2780,"count":0},{"startOffset":2785,"endOffset":2836,"count":0},{"startOffset":2841,"endOffset":2906,"count":0},{"startOffset":2911,"endOffset":3054,"count":0},{"startOffset":3083,"endOffset":3109,"count":1},{"startOffset":3354,"endOffset":3414,"count":0}],"isBlockCoverage":true},{"functionName":"runMicrotask","ranges":[{"startOffset":3444,"endOffset":3620,"count":0}],"isBlockCoverage":false},{"functionName":"queueMicrotask","ranges":[{"startOffset":3692,"endOffset":3981,"count":0}],"isBlockCoverage":false},{"functionName":"setupTaskQueue","ranges":[{"startOffset":4004,"endOffset":4262,"count":1}],"isBlockCoverage":true}]},{"scriptId":"101","url":"node:internal/process/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11045,"count":1}],"isBlockCoverage":false},{"functionName":"setHasRejectionToWarn","ranges":[{"startOffset":2155,"endOffset":2245,"count":1},{"startOffset":2235,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"hasRejectionToWarn","ranges":[{"startOffset":2247,"endOffset":2326,"count":28}],"isBlockCoverage":true},{"functionName":"isErrorLike","ranges":[{"startOffset":2328,"endOffset":2464,"count":0}],"isBlockCoverage":false},{"functionName":"getUnhandledRejectionsMode","ranges":[{"startOffset":2466,"endOffset":2999,"count":0}],"isBlockCoverage":false},{"functionName":"promiseRejectHandler","ranges":[{"startOffset":3001,"endOffset":3570,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3619,"endOffset":3627,"count":0}],"isBlockCoverage":false},{"functionName":"resolveError","ranges":[{"startOffset":3698,"endOffset":3995,"count":0}],"isBlockCoverage":false},{"functionName":"unhandledRejection","ranges":[{"startOffset":3997,"endOffset":4557,"count":0}],"isBlockCoverage":false},{"functionName":"handledRejection","ranges":[{"startOffset":4559,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"emitUnhandledRejectionWarning","ranges":[{"startOffset":5462,"endOffset":6499,"count":0}],"isBlockCoverage":false},{"functionName":"processPromiseRejections","ranges":[{"startOffset":6672,"endOffset":9849,"count":1},{"startOffset":6830,"endOffset":7009,"count":0},{"startOffset":7074,"endOffset":9753,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithoutStack","ranges":[{"startOffset":9851,"endOffset":10366,"count":0}],"isBlockCoverage":false},{"functionName":"generateUnhandledRejectionError","ranges":[{"startOffset":10368,"endOffset":10838,"count":0}],"isBlockCoverage":false},{"functionName":"listenForRejections","ranges":[{"startOffset":10840,"endOffset":10924,"count":1}],"isBlockCoverage":true}]},{"scriptId":"102","url":"node:internal/fixed_queue","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4208,"count":1}],"isBlockCoverage":false},{"functionName":"FixedCircularBuffer","ranges":[{"startOffset":2959,"endOffset":3073,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3077,"endOffset":3129,"count":6}],"isBlockCoverage":true},{"functionName":"isFull","ranges":[{"startOffset":3133,"endOffset":3200,"count":2}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3204,"endOffset":3291,"count":2}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3295,"endOffset":3510,"count":3},{"startOffset":3388,"endOffset":3400,"count":1},{"startOffset":3400,"endOffset":3509,"count":2}],"isBlockCoverage":true},{"functionName":"FixedQueue","ranges":[{"startOffset":3552,"endOffset":3626,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3630,"endOffset":3677,"count":3}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3681,"endOffset":3945,"count":2},{"startOffset":3722,"endOffset":3915,"count":0}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3949,"endOffset":4204,"count":3},{"startOffset":4041,"endOffset":4062,"count":2},{"startOffset":4064,"endOffset":4183,"count":0}],"isBlockCoverage":true}]},{"scriptId":"103","url":"node:async_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10295,"count":1}],"isBlockCoverage":false},{"functionName":"AsyncHook","ranges":[{"startOffset":1538,"endOffset":2372,"count":1},{"startOffset":1666,"endOffset":1708,"count":0},{"startOffset":1738,"endOffset":1769,"count":0},{"startOffset":1777,"endOffset":1821,"count":0},{"startOffset":1850,"endOffset":1880,"count":0},{"startOffset":1888,"endOffset":1931,"count":0},{"startOffset":1962,"endOffset":1994,"count":0},{"startOffset":2002,"endOffset":2047,"count":0},{"startOffset":2085,"endOffset":2124,"count":0},{"startOffset":2132,"endOffset":2184,"count":0}],"isBlockCoverage":true},{"functionName":"enable","ranges":[{"startOffset":2376,"endOffset":3621,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":3625,"endOffset":4409,"count":0}],"isBlockCoverage":false},{"functionName":"createHook","ranges":[{"startOffset":4414,"endOffset":4471,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncResource","ranges":[{"startOffset":4564,"endOffset":5761,"count":0}],"isBlockCoverage":false},{"functionName":"runInAsyncScope","ranges":[{"startOffset":5765,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":6085,"endOffset":6260,"count":0}],"isBlockCoverage":false},{"functionName":"asyncId","ranges":[{"startOffset":6264,"endOffset":6313,"count":0}],"isBlockCoverage":false},{"functionName":"triggerAsyncId","ranges":[{"startOffset":6317,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":6385,"endOffset":7421,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":7432,"endOffset":7569,"count":0}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":7632,"endOffset":7920,"count":0}],"isBlockCoverage":false},{"functionName":"AsyncLocalStorage","ranges":[{"startOffset":7955,"endOffset":8052,"count":0}],"isBlockCoverage":false},{"functionName":"bind","ranges":[{"startOffset":8063,"endOffset":8112,"count":0}],"isBlockCoverage":false},{"functionName":"snapshot","ranges":[{"startOffset":8123,"endOffset":8204,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":8208,"endOffset":8533,"count":0}],"isBlockCoverage":false},{"functionName":"_enable","ranges":[{"startOffset":8537,"endOffset":8683,"count":0}],"isBlockCoverage":false},{"functionName":"_propagate","ranges":[{"startOffset":8752,"endOffset":8932,"count":0}],"isBlockCoverage":false},{"functionName":"enterWith","ranges":[{"startOffset":8936,"endOffset":9068,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":9072,"endOffset":9570,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":9574,"endOffset":9806,"count":0}],"isBlockCoverage":false},{"functionName":"getStore","ranges":[{"startOffset":9810,"endOffset":9949,"count":0}],"isBlockCoverage":false}]},{"scriptId":"104","url":"node:timers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9640,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1819,"endOffset":1844,"count":1}],"isBlockCoverage":true},{"functionName":"unenroll","ranges":[{"startOffset":2343,"endOffset":3527,"count":2},{"startOffset":2396,"endOffset":2403,"count":0},{"startOffset":2463,"endOffset":2509,"count":0},{"startOffset":2600,"endOffset":2638,"count":0},{"startOffset":2644,"endOffset":2679,"count":0}],"isBlockCoverage":true},{"functionName":"enroll","ranges":[{"startOffset":3734,"endOffset":3987,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":4229,"endOffset":4886,"count":30},{"startOffset":4396,"endOffset":4403,"count":0},{"startOffset":4433,"endOffset":4474,"count":0},{"startOffset":4479,"endOffset":4526,"count":0},{"startOffset":4531,"endOffset":4752,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4981,"endOffset":5106,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimeout","ranges":[{"startOffset":5206,"endOffset":5572,"count":7},{"startOffset":5249,"endOffset":5268,"count":2},{"startOffset":5270,"endOffset":5337,"count":2},{"startOffset":5337,"endOffset":5398,"count":5},{"startOffset":5400,"endOffset":5570,"count":0}],"isBlockCoverage":true},{"functionName":"setInterval","ranges":[{"startOffset":5809,"endOffset":6468,"count":0}],"isBlockCoverage":false},{"functionName":"clearInterval","ranges":[{"startOffset":6565,"endOffset":6863,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.close","ranges":[{"startOffset":6891,"endOffset":6942,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":6980,"endOffset":7016,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout.","ranges":[{"startOffset":7126,"endOffset":7287,"count":0}],"isBlockCoverage":false},{"functionName":"setImmediate","ranges":[{"startOffset":7504,"endOffset":8057,"count":1},{"startOffset":7691,"endOffset":7732,"count":0},{"startOffset":7737,"endOffset":7784,"count":0},{"startOffset":7789,"endOffset":8010,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8154,"endOffset":8281,"count":0}],"isBlockCoverage":false},{"functionName":"clearImmediate","ranges":[{"startOffset":8372,"endOffset":8922,"count":0}],"isBlockCoverage":false},{"functionName":"Immediate.","ranges":[{"startOffset":8961,"endOffset":8999,"count":0}],"isBlockCoverage":false}]},{"scriptId":"105","url":"node:internal/process/execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6918,"count":1}],"isBlockCoverage":false},{"functionName":"tryGetCwd","ranges":[{"startOffset":681,"endOffset":1011,"count":1},{"startOffset":742,"endOffset":1009,"count":0}],"isBlockCoverage":true},{"functionName":"evalModule","ranges":[{"startOffset":1013,"endOffset":1407,"count":0}],"isBlockCoverage":false},{"functionName":"evalScript","ranges":[{"startOffset":1409,"endOffset":3230,"count":0}],"isBlockCoverage":false},{"functionName":"setUncaughtExceptionCaptureCallback","ranges":[{"startOffset":3308,"endOffset":4002,"count":0}],"isBlockCoverage":false},{"functionName":"hasUncaughtExceptionCaptureCallback","ranges":[{"startOffset":4004,"endOffset":4105,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4107,"endOffset":4125,"count":0}],"isBlockCoverage":false},{"functionName":"createOnGlobalUncaughtException","ranges":[{"startOffset":4668,"endOffset":6491,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4937,"endOffset":6488,"count":0}],"isBlockCoverage":false},{"functionName":"readStdin","ranges":[{"startOffset":6493,"endOffset":6698,"count":0}],"isBlockCoverage":false}]},{"scriptId":"106","url":"node:path","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":46851,"count":1}],"isBlockCoverage":false},{"functionName":"isPathSeparator","ranges":[{"startOffset":1719,"endOffset":1823,"count":0}],"isBlockCoverage":false},{"functionName":"isPosixPathSeparator","ranges":[{"startOffset":1825,"endOffset":1902,"count":441181}],"isBlockCoverage":true},{"functionName":"isWindowsDeviceRoot","ranges":[{"startOffset":1904,"endOffset":2074,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeString","ranges":[{"startOffset":2137,"endOffset":4085,"count":5903},{"startOffset":2354,"endOffset":4069,"count":440612},{"startOffset":2387,"endOffset":2429,"count":434709},{"startOffset":2429,"endOffset":2520,"count":5903},{"startOffset":2472,"endOffset":2478,"count":5334},{"startOffset":2478,"endOffset":2520,"count":569},{"startOffset":2520,"endOffset":2553,"count":435278},{"startOffset":2553,"endOffset":3970,"count":54056},{"startOffset":2585,"endOffset":2598,"count":46030},{"startOffset":2600,"endOffset":2625,"count":9030},{"startOffset":2625,"endOffset":3927,"count":45026},{"startOffset":2647,"endOffset":3682,"count":148},{"startOffset":2676,"endOffset":2702,"count":79},{"startOffset":2703,"endOffset":2777,"count":4},{"startOffset":2778,"endOffset":2852,"count":4},{"startOffset":2854,"endOffset":3542,"count":144},{"startOffset":2886,"endOffset":3363,"count":75},{"startOffset":3006,"endOffset":3082,"count":0},{"startOffset":3363,"endOffset":3532,"count":69},{"startOffset":3391,"endOffset":3532,"count":0},{"startOffset":3542,"endOffset":3674,"count":73},{"startOffset":3605,"endOffset":3623,"count":4},{"startOffset":3624,"endOffset":3630,"count":69},{"startOffset":3682,"endOffset":3927,"count":44878},{"startOffset":3728,"endOffset":3797,"count":39044},{"startOffset":3797,"endOffset":3872,"count":5834},{"startOffset":3927,"endOffset":3970,"count":53981},{"startOffset":3970,"endOffset":4065,"count":381222},{"startOffset":3998,"endOffset":4012,"count":5520},{"startOffset":4014,"endOffset":4035,"count":1304},{"startOffset":4035,"endOffset":4065,"count":379918}],"isBlockCoverage":true},{"functionName":"formatExt","ranges":[{"startOffset":4087,"endOffset":4172,"count":0}],"isBlockCoverage":false},{"functionName":"_format","ranges":[{"startOffset":4350,"endOffset":4685,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":4803,"endOffset":9588,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":9654,"endOffset":12725,"count":0}],"isBlockCoverage":false},{"functionName":"isAbsolute","ranges":[{"startOffset":12792,"endOffset":13208,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":13277,"endOffset":15423,"count":0}],"isBlockCoverage":false},{"functionName":"relative","ranges":[{"startOffset":15719,"endOffset":19486,"count":0}],"isBlockCoverage":false},{"functionName":"toNamespacedPath","ranges":[{"startOffset":19552,"endOffset":20654,"count":0}],"isBlockCoverage":false},{"functionName":"dirname","ranges":[{"startOffset":20720,"endOffset":23266,"count":0}],"isBlockCoverage":false},{"functionName":"basename","ranges":[{"startOffset":23362,"endOffset":26136,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":26202,"endOffset":28275,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":28497,"endOffset":33253,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33339,"endOffset":33782,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33526,"endOffset":33683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":33760,"endOffset":33779,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":33904,"endOffset":34827,"count":5334},{"startOffset":34027,"endOffset":34047,"count":14407},{"startOffset":34054,"endOffset":34381,"count":9073},{"startOffset":34092,"endOffset":34104,"count":0},{"startOffset":34207,"endOffset":34234,"count":0},{"startOffset":34766,"endOffset":34816,"count":0},{"startOffset":34817,"endOffset":34822,"count":0}],"isBlockCoverage":true},{"functionName":"normalize","ranges":[{"startOffset":34893,"endOffset":35506,"count":569},{"startOffset":34979,"endOffset":34990,"count":0},{"startOffset":35318,"endOffset":35412,"count":0},{"startOffset":35446,"endOffset":35458,"count":0},{"startOffset":35482,"endOffset":35494,"count":3},{"startOffset":35495,"endOffset":35501,"count":566}],"isBlockCoverage":true},{"functionName":"isAbsolute","ranges":[{"startOffset":35573,"endOffset":35729,"count":889}],"isBlockCoverage":true},{"functionName":"join","ranges":[{"startOffset":35798,"endOffset":36212,"count":3},{"startOffset":35847,"endOffset":35858,"count":0},{"startOffset":35917,"endOffset":36124,"count":6},{"startOffset":36053,"endOffset":36110,"count":3},{"startOffset":36161,"endOffset":36172,"count":0}],"isBlockCoverage":true},{"functionName":"relative","ranges":[{"startOffset":36302,"endOffset":38662,"count":2},{"startOffset":36415,"endOffset":36425,"count":0},{"startOffset":36552,"endOffset":36562,"count":0},{"startOffset":36835,"endOffset":36842,"count":0},{"startOffset":36916,"endOffset":37151,"count":70},{"startOffset":37064,"endOffset":37070,"count":0},{"startOffset":37127,"endOffset":37145,"count":6},{"startOffset":37483,"endOffset":37665,"count":0},{"startOffset":37673,"endOffset":38130,"count":0},{"startOffset":38136,"endOffset":38661,"count":0}],"isBlockCoverage":true},{"functionName":"toNamespacedPath","ranges":[{"startOffset":38728,"endOffset":38804,"count":4423}],"isBlockCoverage":true},{"functionName":"dirname","ranges":[{"startOffset":38870,"endOffset":39546,"count":2360},{"startOffset":38953,"endOffset":38964,"count":0},{"startOffset":39138,"endOffset":39391,"count":29018},{"startOffset":39209,"endOffset":39293,"count":2360},{"startOffset":39293,"endOffset":39385,"count":26658},{"startOffset":39419,"endOffset":39446,"count":0},{"startOffset":39483,"endOffset":39495,"count":0}],"isBlockCoverage":true},{"functionName":"basename","ranges":[{"startOffset":39642,"endOffset":42069,"count":563},{"startOffset":39703,"endOffset":39733,"count":0},{"startOffset":39865,"endOffset":39885,"count":0},{"startOffset":39886,"endOffset":39917,"count":0},{"startOffset":39919,"endOffset":41443,"count":0},{"startOffset":41491,"endOffset":41976,"count":7083},{"startOffset":41562,"endOffset":41786,"count":563},{"startOffset":41786,"endOffset":41970,"count":6520},{"startOffset":41808,"endOffset":41970,"count":563},{"startOffset":42004,"endOffset":42014,"count":0}],"isBlockCoverage":true},{"functionName":"extname","ranges":[{"startOffset":42135,"endOffset":43825,"count":1},{"startOffset":42468,"endOffset":43430,"count":13},{"startOffset":42564,"endOffset":42810,"count":1},{"startOffset":42784,"endOffset":42810,"count":0},{"startOffset":42810,"endOffset":42833,"count":12},{"startOffset":42833,"endOffset":42990,"count":1},{"startOffset":42990,"endOffset":43020,"count":12},{"startOffset":43020,"endOffset":43220,"count":1},{"startOffset":43149,"endOffset":43212,"count":0},{"startOffset":43220,"endOffset":43424,"count":11},{"startOffset":43247,"endOffset":43424,"count":7},{"startOffset":43669,"endOffset":43701,"count":0},{"startOffset":43702,"endOffset":43740,"count":0},{"startOffset":43743,"endOffset":43767,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":44052,"endOffset":46524,"count":0}],"isBlockCoverage":false}]},{"scriptId":"107","url":"node:internal/constants","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1583,"count":1}],"isBlockCoverage":false}]},{"scriptId":"108","url":"node:internal/process/warning","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5379,"count":1}],"isBlockCoverage":false},{"functionName":"resetForSerialization","ranges":[{"startOffset":448,"endOffset":645,"count":0}],"isBlockCoverage":false},{"functionName":"lazyOption","ranges":[{"startOffset":647,"endOffset":1201,"count":0}],"isBlockCoverage":false},{"functionName":"writeOut","ranges":[{"startOffset":1302,"endOffset":1424,"count":0}],"isBlockCoverage":false},{"functionName":"closeFdOnExit","ranges":[{"startOffset":1426,"endOffset":1537,"count":0}],"isBlockCoverage":false},{"functionName":"writeToFile","ranges":[{"startOffset":1539,"endOffset":1868,"count":0}],"isBlockCoverage":false},{"functionName":"doEmitWarning","ranges":[{"startOffset":1870,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"onWarning","ranges":[{"startOffset":1943,"endOffset":3092,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarning","ranges":[{"startOffset":3215,"endOffset":4406,"count":0}],"isBlockCoverage":false},{"functionName":"emitWarningSync","ranges":[{"startOffset":4408,"endOffset":4538,"count":0}],"isBlockCoverage":false},{"functionName":"createWarningObject","ranges":[{"startOffset":4540,"endOffset":5283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"109","url":"node:internal/source_map/source_map_cache","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10127,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":357,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":824,"endOffset":939,"count":1}],"isBlockCoverage":true},{"functionName":"getSourceMapsEnabled","ranges":[{"startOffset":1596,"endOffset":1659,"count":94}],"isBlockCoverage":true},{"functionName":"setSourceMapsEnabled","ranges":[{"startOffset":1661,"endOffset":2203,"count":1},{"startOffset":1924,"endOffset":2173,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceURLMagicComment","ranges":[{"startOffset":2205,"endOffset":2805,"count":30},{"startOffset":2507,"endOffset":2540,"count":0},{"startOffset":2593,"endOffset":2729,"count":0},{"startOffset":2731,"endOffset":2804,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceMapURLMagicComment","ranges":[{"startOffset":2807,"endOffset":3250,"count":58},{"startOffset":3128,"endOffset":3156,"count":0},{"startOffset":3204,"endOffset":3249,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheSourceMap","ranges":[{"startOffset":3252,"endOffset":5023,"count":86},{"startOffset":3454,"endOffset":3474,"count":0},{"startOffset":3477,"endOffset":3484,"count":0},{"startOffset":3618,"endOffset":3742,"count":0},{"startOffset":3778,"endOffset":3844,"count":58},{"startOffset":3933,"endOffset":3950,"count":58},{"startOffset":3950,"endOffset":4122,"count":28},{"startOffset":4123,"endOffset":4137,"count":0},{"startOffset":4164,"endOffset":4349,"count":0},{"startOffset":4349,"endOffset":5021,"count":28},{"startOffset":4378,"endOffset":4644,"count":0},{"startOffset":4963,"endOffset":5017,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheGeneratedSourceMap","ranges":[{"startOffset":5025,"endOffset":5553,"count":2},{"startOffset":5163,"endOffset":5183,"count":0},{"startOffset":5186,"endOffset":5193,"count":0},{"startOffset":5297,"endOffset":5551,"count":0}],"isBlockCoverage":true},{"functionName":"dataFromUrl","ranges":[{"startOffset":5555,"endOffset":6075,"count":28},{"startOffset":5692,"endOffset":5767,"count":18},{"startOffset":5774,"endOffset":5854,"count":0},{"startOffset":5865,"endOffset":6073,"count":10}],"isBlockCoverage":true},{"functionName":"lineLengths","ranges":[{"startOffset":6265,"endOffset":6610,"count":28}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6567,"endOffset":6606,"count":3474}],"isBlockCoverage":true},{"functionName":"sourceMapFromFile","ranges":[{"startOffset":6612,"endOffset":6892,"count":10},{"startOffset":6840,"endOffset":6890,"count":0}],"isBlockCoverage":true},{"functionName":"sourceMapFromDataUrl","ranges":[{"startOffset":6986,"endOffset":7657,"count":18},{"startOffset":7389,"endOffset":7395,"count":0},{"startOffset":7517,"endOffset":7573,"count":0},{"startOffset":7577,"endOffset":7655,"count":0}],"isBlockCoverage":true},{"functionName":"sourcesToAbsolute","ranges":[{"startOffset":7842,"endOffset":8169,"count":28}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7920,"endOffset":8026,"count":28}],"isBlockCoverage":true},{"functionName":"sourceMapCacheToObject","ranges":[{"startOffset":8607,"endOffset":8855,"count":0}],"isBlockCoverage":false},{"functionName":"appendCJSCache","ranges":[{"startOffset":8857,"endOffset":9083,"count":0}],"isBlockCoverage":false},{"functionName":"findSourceMap","ranges":[{"startOffset":9085,"endOffset":9957,"count":1},{"startOffset":9499,"endOffset":9692,"count":0},{"startOffset":9751,"endOffset":9956,"count":0}],"isBlockCoverage":true}]},{"scriptId":"110","url":"node:internal/url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43440,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBlob","ranges":[{"startOffset":2768,"endOffset":2843,"count":0}],"isBlockCoverage":false},{"functionName":"lazyCryptoRandom","ranges":[{"startOffset":2845,"endOffset":3079,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3462,"endOffset":4251,"count":1324}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3589,"endOffset":3617,"count":1}],"isBlockCoverage":false},{"functionName":"get hasPort","ranges":[{"startOffset":4030,"endOffset":4095,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSearch","ranges":[{"startOffset":4099,"endOffset":4174,"count":1624}],"isBlockCoverage":true},{"functionName":"get hasHash","ranges":[{"startOffset":4178,"endOffset":4249,"count":1624}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4337,"endOffset":6674,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7067,"endOffset":19940,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7158,"endOffset":7494,"count":1}],"isBlockCoverage":false},{"functionName":"setURLSearchParamsContext","ranges":[{"startOffset":7199,"endOffset":7246,"count":0}],"isBlockCoverage":false},{"functionName":"getURLSearchParamsList","ranges":[{"startOffset":7277,"endOffset":7303,"count":0}],"isBlockCoverage":false},{"functionName":"setURLSearchParams","ranges":[{"startOffset":7330,"endOffset":7489,"count":0}],"isBlockCoverage":false},{"functionName":"isURL","ranges":[{"startOffset":21271,"endOffset":21396,"count":2096},{"startOffset":21322,"endOffset":21338,"count":747},{"startOffset":21339,"endOffset":21365,"count":747},{"startOffset":21366,"endOffset":21392,"count":747}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21398,"endOffset":29200,"count":1471}],"isBlockCoverage":false},{"functionName":"URL","ranges":[{"startOffset":21461,"endOffset":21761,"count":1471},{"startOffset":21532,"endOffset":21580,"count":0},{"startOffset":21669,"endOffset":21700,"count":705}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21765,"endOffset":22485,"count":0}],"isBlockCoverage":false},{"functionName":"#updateContext","ranges":[{"startOffset":22489,"endOffset":23396,"count":1569},{"startOffset":23205,"endOffset":23392,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":23400,"endOffset":23447,"count":539}],"isBlockCoverage":true},{"functionName":"get href","ranges":[{"startOffset":23451,"endOffset":23498,"count":1063}],"isBlockCoverage":true},{"functionName":"set href","ranges":[{"startOffset":23502,"endOffset":23711,"count":0}],"isBlockCoverage":false},{"functionName":"get origin","ranges":[{"startOffset":23729,"endOffset":24598,"count":0}],"isBlockCoverage":false},{"functionName":"get protocol","ranges":[{"startOffset":24602,"endOffset":24706,"count":2244}],"isBlockCoverage":true},{"functionName":"set protocol","ranges":[{"startOffset":24710,"endOffset":24883,"count":0}],"isBlockCoverage":false},{"functionName":"get username","ranges":[{"startOffset":24887,"endOffset":25114,"count":0}],"isBlockCoverage":false},{"functionName":"set username","ranges":[{"startOffset":25118,"endOffset":25291,"count":0}],"isBlockCoverage":false},{"functionName":"get password","ranges":[{"startOffset":25295,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"set password","ranges":[{"startOffset":25522,"endOffset":25695,"count":0}],"isBlockCoverage":false},{"functionName":"get host","ranges":[{"startOffset":25699,"endOffset":26130,"count":0}],"isBlockCoverage":false},{"functionName":"set host","ranges":[{"startOffset":26134,"endOffset":26299,"count":0}],"isBlockCoverage":false},{"functionName":"get hostname","ranges":[{"startOffset":26303,"endOffset":26585,"count":700},{"startOffset":26469,"endOffset":26494,"count":0}],"isBlockCoverage":true},{"functionName":"set hostname","ranges":[{"startOffset":26589,"endOffset":26762,"count":0}],"isBlockCoverage":false},{"functionName":"get port","ranges":[{"startOffset":26766,"endOffset":26874,"count":0}],"isBlockCoverage":false},{"functionName":"set port","ranges":[{"startOffset":26878,"endOffset":27043,"count":0}],"isBlockCoverage":false},{"functionName":"get pathname","ranges":[{"startOffset":27047,"endOffset":27339,"count":1517},{"startOffset":27113,"endOffset":27163,"count":0},{"startOffset":27196,"endOffset":27244,"count":0}],"isBlockCoverage":true},{"functionName":"set pathname","ranges":[{"startOffset":27343,"endOffset":27516,"count":0}],"isBlockCoverage":false},{"functionName":"get search","ranges":[{"startOffset":27520,"endOffset":27855,"count":107},{"startOffset":27583,"endOffset":27854,"count":0}],"isBlockCoverage":true},{"functionName":"set search","ranges":[{"startOffset":27859,"endOffset":28036,"count":107}],"isBlockCoverage":true},{"functionName":"get searchParams","ranges":[{"startOffset":28054,"endOffset":28353,"count":0}],"isBlockCoverage":false},{"functionName":"get hash","ranges":[{"startOffset":28357,"endOffset":28572,"count":107},{"startOffset":28401,"endOffset":28463,"count":0},{"startOffset":28489,"endOffset":28571,"count":0}],"isBlockCoverage":true},{"functionName":"set hash","ranges":[{"startOffset":28576,"endOffset":28741,"count":107}],"isBlockCoverage":true},{"functionName":"toJSON","ranges":[{"startOffset":28745,"endOffset":28790,"count":0}],"isBlockCoverage":false},{"functionName":"canParse","ranges":[{"startOffset":28801,"endOffset":29198,"count":0}],"isBlockCoverage":false},{"functionName":"installObjectURLMethods","ranges":[{"startOffset":29910,"endOffset":30849,"count":1}],"isBlockCoverage":true},{"functionName":"createObjectURL","ranges":[{"startOffset":29997,"endOffset":30416,"count":0}],"isBlockCoverage":false},{"functionName":"revokeObjectURL","ranges":[{"startOffset":30420,"endOffset":30498,"count":0}],"isBlockCoverage":false},{"functionName":"parseParams","ranges":[{"startOffset":30958,"endOffset":33306,"count":0}],"isBlockCoverage":false},{"functionName":"serializeParams","ranges":[{"startOffset":34286,"endOffset":34846,"count":0}],"isBlockCoverage":false},{"functionName":"merge","ranges":[{"startOffset":34866,"endOffset":35496,"count":0}],"isBlockCoverage":false},{"functionName":"domainToASCII","ranges":[{"startOffset":35498,"endOffset":35683,"count":0}],"isBlockCoverage":false},{"functionName":"domainToUnicode","ranges":[{"startOffset":35685,"endOffset":35874,"count":0}],"isBlockCoverage":false},{"functionName":"urlToHttpOptions","ranges":[{"startOffset":36084,"endOffset":36785,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLWin32","ranges":[{"startOffset":36787,"endOffset":38284,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLPosix","ranges":[{"startOffset":38286,"endOffset":38807,"count":700},{"startOffset":38349,"endOffset":38405,"count":0},{"startOffset":38483,"endOffset":38766,"count":53371},{"startOffset":38514,"endOffset":38762,"count":0}],"isBlockCoverage":true},{"functionName":"fileURLToPath","ranges":[{"startOffset":38809,"endOffset":39148,"count":700},{"startOffset":38876,"endOffset":38897,"count":37},{"startOffset":38897,"endOffset":38991,"count":663},{"startOffset":38927,"endOffset":38991,"count":0},{"startOffset":39029,"endOffset":39070,"count":0},{"startOffset":39090,"endOffset":39117,"count":0}],"isBlockCoverage":true},{"functionName":"encodePathChars","ranges":[{"startOffset":39961,"endOffset":40737,"count":199},{"startOffset":40054,"endOffset":40125,"count":0},{"startOffset":40253,"endOffset":40326,"count":0},{"startOffset":40384,"endOffset":40455,"count":0},{"startOffset":40513,"endOffset":40591,"count":0},{"startOffset":40649,"endOffset":40716,"count":0}],"isBlockCoverage":true},{"functionName":"pathToFileURL","ranges":[{"startOffset":40739,"endOffset":42716,"count":199},{"startOffset":40790,"endOffset":40836,"count":0},{"startOffset":40838,"endOffset":41603,"count":0},{"startOffset":41885,"endOffset":41946,"count":198},{"startOffset":41906,"endOffset":41945,"count":0},{"startOffset":41948,"endOffset":41999,"count":1},{"startOffset":42005,"endOffset":42021,"count":1},{"startOffset":42477,"endOffset":42549,"count":0},{"startOffset":42606,"endOffset":42674,"count":0}],"isBlockCoverage":true},{"functionName":"toPathIfFileURL","ranges":[{"startOffset":42718,"endOffset":42855,"count":1409},{"startOffset":42793,"endOffset":42814,"count":1325},{"startOffset":42814,"endOffset":42854,"count":84}],"isBlockCoverage":true},{"functionName":"getURLOrigin","ranges":[{"startOffset":43042,"endOffset":43108,"count":0}],"isBlockCoverage":false}]},{"scriptId":"111","url":"node:internal/querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3316,"count":1}],"isBlockCoverage":false},{"functionName":"encodeStr","ranges":[{"startOffset":1534,"endOffset":3253,"count":0}],"isBlockCoverage":false}]},{"scriptId":"112","url":"node:querystring","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14583,"count":1}],"isBlockCoverage":false},{"functionName":"unescapeBuffer","ranges":[{"startOffset":3146,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"qsUnescape","ranges":[{"startOffset":4400,"endOffset":4565,"count":0}],"isBlockCoverage":false},{"functionName":"qsEscape","ranges":[{"startOffset":5418,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"stringifyPrimitive","ranges":[{"startOffset":5719,"endOffset":5989,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringified","ranges":[{"startOffset":6110,"endOffset":6599,"count":0}],"isBlockCoverage":false},{"functionName":"encodeStringifiedCustom","ranges":[{"startOffset":6718,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":7065,"endOffset":8131,"count":0}],"isBlockCoverage":false},{"functionName":"charCodes","ranges":[{"startOffset":8187,"endOffset":8455,"count":0}],"isBlockCoverage":false},{"functionName":"addKeyVal","ranges":[{"startOffset":8518,"endOffset":9141,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":9392,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"decodeStr","ranges":[{"startOffset":14459,"endOffset":14582,"count":0}],"isBlockCoverage":false}]},{"scriptId":"113","url":"node:internal/bootstrap/web/exposed-wildcard","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3439,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":900,"endOffset":1129,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1153,"endOffset":1265,"count":0}],"isBlockCoverage":false},{"functionName":"createGlobalConsole","ranges":[{"startOffset":1898,"endOffset":2437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"114","url":"node:internal/console/global","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1814,"count":1}],"isBlockCoverage":false}]},{"scriptId":"115","url":"node:internal/console/constructor","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21601,"count":1}],"isBlockCoverage":false},{"functionName":"lazyUtilColors","ranges":[{"startOffset":1875,"endOffset":1975,"count":0}],"isBlockCoverage":false},{"functionName":"Console","ranges":[{"startOffset":2721,"endOffset":4813,"count":1},{"startOffset":2999,"endOffset":3053,"count":0},{"startOffset":3110,"endOffset":3223,"count":0},{"startOffset":3428,"endOffset":3486,"count":0},{"startOffset":3540,"endOffset":3598,"count":0},{"startOffset":3637,"endOffset":3660,"count":0},{"startOffset":3666,"endOffset":3722,"count":0},{"startOffset":3762,"endOffset":3871,"count":0},{"startOffset":3909,"endOffset":4215,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4331,"endOffset":4697,"count":19}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5042,"endOffset":5096,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5366,"endOffset":5607,"count":1}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":5832,"endOffset":6477,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6041,"endOffset":6136,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6148,"endOffset":6178,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6308,"endOffset":6407,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6419,"endOffset":6449,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":6569,"endOffset":7977,"count":2}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":8069,"endOffset":9521,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":9616,"endOffset":10026,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10119,"endOffset":10299,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":10392,"endOffset":10572,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteErrorHandler","ranges":[{"startOffset":10662,"endOffset":11551,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10730,"endOffset":11548,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":11580,"endOffset":11667,"count":0}],"isBlockCoverage":false},{"functionName":"warn","ranges":[{"startOffset":11673,"endOffset":11761,"count":0}],"isBlockCoverage":false},{"functionName":"dir","ranges":[{"startOffset":11767,"endOffset":11953,"count":0}],"isBlockCoverage":false},{"functionName":"time","ranges":[{"startOffset":11958,"endOffset":12316,"count":0}],"isBlockCoverage":false},{"functionName":"timeEnd","ranges":[{"startOffset":12321,"endOffset":12610,"count":0}],"isBlockCoverage":false},{"functionName":"timeLog","ranges":[{"startOffset":12615,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"trace","ranges":[{"startOffset":12865,"endOffset":13052,"count":0}],"isBlockCoverage":false},{"functionName":"assert","ranges":[{"startOffset":13057,"endOffset":13297,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":13358,"endOffset":13830,"count":0}],"isBlockCoverage":false},{"functionName":"count","ranges":[{"startOffset":13891,"endOffset":14347,"count":0}],"isBlockCoverage":false},{"functionName":"countReset","ranges":[{"startOffset":14413,"endOffset":14701,"count":0}],"isBlockCoverage":false},{"functionName":"group","ranges":[{"startOffset":14706,"endOffset":14891,"count":0}],"isBlockCoverage":false},{"functionName":"groupEnd","ranges":[{"startOffset":14896,"endOffset":15065,"count":0}],"isBlockCoverage":false},{"functionName":"table","ranges":[{"startOffset":15114,"endOffset":18432,"count":0}],"isBlockCoverage":false},{"functionName":"timeLogImpl","ranges":[{"startOffset":18473,"endOffset":18992,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":18994,"endOffset":19071,"count":0}],"isBlockCoverage":false},{"functionName":"formatTime","ranges":[{"startOffset":19073,"endOffset":19846,"count":0}],"isBlockCoverage":false},{"functionName":"isArray","ranges":[{"startOffset":19980,"endOffset":20036,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":20039,"endOffset":20057,"count":0}],"isBlockCoverage":false},{"functionName":"initializeGlobalConsole","ranges":[{"startOffset":20425,"endOffset":21464,"count":1},{"startOffset":20793,"endOffset":21463,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21359,"endOffset":21460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"116","url":"node:internal/util/inspector","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3929,"count":1}],"isBlockCoverage":false},{"functionName":"isUsingInspector","ranges":[{"startOffset":698,"endOffset":1081,"count":0}],"isBlockCoverage":false},{"functionName":"getInspectPort","ranges":[{"startOffset":1108,"endOffset":1485,"count":0}],"isBlockCoverage":false},{"functionName":"sendInspectorCommand","ranges":[{"startOffset":1500,"endOffset":2046,"count":0}],"isBlockCoverage":false},{"functionName":"isInspectorMessage","ranges":[{"startOffset":2048,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"installConsoleExtensions","ranges":[{"startOffset":2248,"endOffset":2891,"count":0}],"isBlockCoverage":false},{"functionName":"wrapConsole","ranges":[{"startOffset":2970,"endOffset":3778,"count":1},{"startOffset":3137,"endOffset":3776,"count":24},{"startOffset":3368,"endOffset":3654,"count":19},{"startOffset":3654,"endOffset":3772,"count":5}],"isBlockCoverage":true}]},{"scriptId":"117","url":"node:internal/process/permission","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":919,"count":1}],"isBlockCoverage":false},{"functionName":"isEnabled","ranges":[{"startOffset":315,"endOffset":559,"count":2717},{"startOffset":375,"endOffset":520,"count":1}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":563,"endOffset":913,"count":0}],"isBlockCoverage":false}]},{"scriptId":"118","url":"node:internal/event_target","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31545,"count":1}],"isBlockCoverage":false},{"functionName":"get isTrusted","ranges":[{"startOffset":2074,"endOffset":2130,"count":0}],"isBlockCoverage":false},{"functionName":"isEvent","ranges":[{"startOffset":2268,"endOffset":2340,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2342,"endOffset":7042,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":7039,"count":1}],"isBlockCoverage":false},{"functionName":"isCustomEvent","ranges":[{"startOffset":8173,"endOffset":8267,"count":0}],"isBlockCoverage":false},{"functionName":"CustomEvent","ranges":[{"startOffset":8497,"endOffset":8689,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":8722,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"NodeCustomEvent","ranges":[{"startOffset":9118,"endOffset":9245,"count":0}],"isBlockCoverage":false},{"functionName":"weakListeners","ranges":[{"startOffset":9495,"endOffset":9822,"count":0}],"isBlockCoverage":false},{"functionName":"Listener","ranges":[{"startOffset":10502,"endOffset":11966,"count":13},{"startOffset":10837,"endOffset":10856,"count":0},{"startOffset":10880,"endOffset":10902,"count":0},{"startOffset":10926,"endOffset":10948,"count":0},{"startOffset":11029,"endOffset":11048,"count":0},{"startOffset":11086,"endOffset":11122,"count":0},{"startOffset":11194,"endOffset":11650,"count":0},{"startOffset":11763,"endOffset":11962,"count":0}],"isBlockCoverage":true},{"functionName":"Listener.callback","ranges":[{"startOffset":11793,"endOffset":11923,"count":0}],"isBlockCoverage":false},{"functionName":"get once","ranges":[{"startOffset":11970,"endOffset":12030,"count":6}],"isBlockCoverage":true},{"functionName":"get capture","ranges":[{"startOffset":12033,"endOffset":12099,"count":4}],"isBlockCoverage":true},{"functionName":"get passive","ranges":[{"startOffset":12102,"endOffset":12168,"count":6}],"isBlockCoverage":true},{"functionName":"get isNodeStyleListener","ranges":[{"startOffset":12171,"endOffset":12251,"count":12}],"isBlockCoverage":true},{"functionName":"get weak","ranges":[{"startOffset":12254,"endOffset":12314,"count":39}],"isBlockCoverage":true},{"functionName":"get resistStopPropagation","ranges":[{"startOffset":12317,"endOffset":12411,"count":0}],"isBlockCoverage":false},{"functionName":"get removed","ranges":[{"startOffset":12414,"endOffset":12480,"count":6}],"isBlockCoverage":true},{"functionName":"set removed","ranges":[{"startOffset":12483,"endOffset":12600,"count":17},{"startOffset":12525,"endOffset":12552,"count":4},{"startOffset":12552,"endOffset":12596,"count":13}],"isBlockCoverage":true},{"functionName":"same","ranges":[{"startOffset":12604,"endOffset":12771,"count":16},{"startOffset":12663,"endOffset":12686,"count":0},{"startOffset":12739,"endOffset":12766,"count":4}],"isBlockCoverage":true},{"functionName":"remove","ranges":[{"startOffset":12775,"endOffset":13032,"count":4},{"startOffset":12900,"endOffset":12935,"count":2},{"startOffset":12986,"endOffset":13028,"count":0}],"isBlockCoverage":true},{"functionName":"initEventTarget","ranges":[{"startOffset":13036,"endOffset":13255,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13463,"endOffset":13493,"count":1}],"isBlockCoverage":false},{"functionName":"EventTarget","ranges":[{"startOffset":13498,"endOffset":13544,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13548,"endOffset":14353,"count":13},{"startOffset":13709,"endOffset":13757,"count":0},{"startOffset":13759,"endOffset":14349,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14356,"endOffset":14407,"count":4}],"isBlockCoverage":true},{"functionName":"addEventListener","ranges":[{"startOffset":14796,"endOffset":17514,"count":13},{"startOffset":14891,"endOffset":14933,"count":0},{"startOffset":14970,"endOffset":15017,"count":0},{"startOffset":15409,"endOffset":15862,"count":0},{"startOffset":15926,"endOffset":16310,"count":0},{"startOffset":16381,"endOffset":16873,"count":7},{"startOffset":16873,"endOffset":17028,"count":6},{"startOffset":17028,"endOffset":17063,"count":8},{"startOffset":17065,"endOffset":17128,"count":8},{"startOffset":17128,"endOffset":17161,"count":6},{"startOffset":17161,"endOffset":17203,"count":0},{"startOffset":17203,"endOffset":17513,"count":6}],"isBlockCoverage":true},{"functionName":"signal.addEventListener.__proto__","ranges":[{"startOffset":16141,"endOffset":16215,"count":0}],"isBlockCoverage":false},{"functionName":"removeEventListener","ranges":[{"startOffset":17672,"endOffset":18513,"count":4},{"startOffset":17770,"endOffset":17812,"count":0},{"startOffset":17849,"endOffset":17896,"count":0},{"startOffset":17945,"endOffset":17952,"count":0},{"startOffset":18151,"endOffset":18158,"count":0},{"startOffset":18223,"endOffset":18509,"count":8},{"startOffset":18268,"endOffset":18473,"count":4},{"startOffset":18356,"endOffset":18383,"count":0},{"startOffset":18473,"endOffset":18509,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18517,"endOffset":19138,"count":0}],"isBlockCoverage":false},{"functionName":"dispatchEvent","ranges":[{"startOffset":19180,"endOffset":19641,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19645,"endOffset":21941,"count":4},{"startOffset":19944,"endOffset":20020,"count":0},{"startOffset":20119,"endOffset":20219,"count":0},{"startOffset":20496,"endOffset":21866,"count":6},{"startOffset":20637,"endOffset":20646,"count":0},{"startOffset":20656,"endOffset":20689,"count":0},{"startOffset":20692,"endOffset":21022,"count":0},{"startOffset":21047,"endOffset":21217,"count":0},{"startOffset":21327,"endOffset":21375,"count":0},{"startOffset":21414,"endOffset":21450,"count":0},{"startOffset":21622,"endOffset":21680,"count":0},{"startOffset":21724,"endOffset":21742,"count":0},{"startOffset":21754,"endOffset":21771,"count":0},{"startOffset":21780,"endOffset":21837,"count":0},{"startOffset":21903,"endOffset":21937,"count":0}],"isBlockCoverage":true},{"functionName":"createEvent","ranges":[{"startOffset":19713,"endOffset":19913,"count":0}],"isBlockCoverage":false},{"functionName":"iterationCondition","ranges":[{"startOffset":20296,"endOffset":20461,"count":10},{"startOffset":20337,"endOffset":20368,"count":4},{"startOffset":20368,"endOffset":20427,"count":6},{"startOffset":20428,"endOffset":20454,"count":6},{"startOffset":20436,"endOffset":20445,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21945,"endOffset":22043,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22046,"endOffset":22425,"count":0}],"isBlockCoverage":false},{"functionName":"initNodeEventTarget","ranges":[{"startOffset":22750,"endOffset":22813,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":22899,"endOffset":22930,"count":1}],"isBlockCoverage":false},{"functionName":"NodeEventTarget","ranges":[{"startOffset":22935,"endOffset":22998,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":23037,"endOffset":23191,"count":0}],"isBlockCoverage":false},{"functionName":"getMaxListeners","ranges":[{"startOffset":23230,"endOffset":23383,"count":0}],"isBlockCoverage":false},{"functionName":"eventNames","ranges":[{"startOffset":23424,"endOffset":23573,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":23638,"endOffset":23847,"count":0}],"isBlockCoverage":false},{"functionName":"off","ranges":[{"startOffset":24037,"endOffset":24230,"count":4},{"startOffset":24108,"endOffset":24154,"count":0}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":24420,"endOffset":24624,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":24755,"endOffset":24960,"count":13},{"startOffset":24816,"endOffset":24862,"count":0}],"isBlockCoverage":true},{"functionName":"addListener","ranges":[{"startOffset":25091,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":25393,"endOffset":25653,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":25784,"endOffset":26029,"count":0}],"isBlockCoverage":false},{"functionName":"removeAllListeners","ranges":[{"startOffset":26105,"endOffset":26360,"count":0}],"isBlockCoverage":false},{"functionName":"validateEventListener","ranges":[{"startOffset":26825,"endOffset":27197,"count":17},{"startOffset":26905,"endOffset":26957,"count":0},{"startOffset":26981,"endOffset":27196,"count":0}],"isBlockCoverage":true},{"functionName":"validateEventListenerOptions","ranges":[{"startOffset":27199,"endOffset":27778,"count":13},{"startOffset":27288,"endOffset":27316,"count":0},{"startOffset":27346,"endOffset":27366,"count":0}],"isBlockCoverage":true},{"functionName":"isEventTarget","ranges":[{"startOffset":28083,"endOffset":28159,"count":17}],"isBlockCoverage":true},{"functionName":"isNodeEventTarget","ranges":[{"startOffset":28161,"endOffset":28245,"count":17}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":28247,"endOffset":28561,"count":0}],"isBlockCoverage":false},{"functionName":"emitUncaughtException","ranges":[{"startOffset":28563,"endOffset":28644,"count":0}],"isBlockCoverage":false},{"functionName":"makeEventHandler","ranges":[{"startOffset":28646,"endOffset":29055,"count":0}],"isBlockCoverage":false},{"functionName":"defineEventHandler","ranges":[{"startOffset":29057,"endOffset":30523,"count":6}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":29217,"endOffset":29353,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":29452,"endOffset":30290,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterMixin","ranges":[{"startOffset":30551,"endOffset":31241,"count":1},{"startOffset":30982,"endOffset":31144,"count":18}],"isBlockCoverage":true},{"functionName":"MixedEventEmitter","ranges":[{"startOffset":30620,"endOffset":30761,"count":58}],"isBlockCoverage":true}]},{"scriptId":"119","url":"node:util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10913,"count":1}],"isBlockCoverage":false},{"functionName":"lazyAbortController","ranges":[{"startOffset":2369,"endOffset":2489,"count":48}],"isBlockCoverage":true},{"functionName":"isBoolean","ranges":[{"startOffset":2600,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"isNull","ranges":[{"startOffset":2746,"endOffset":2793,"count":0}],"isBlockCoverage":false},{"functionName":"isNullOrUndefined","ranges":[{"startOffset":2891,"endOffset":2970,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":3056,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":3174,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbol","ranges":[{"startOffset":3320,"endOffset":3380,"count":0}],"isBlockCoverage":false},{"functionName":"isUndefined","ranges":[{"startOffset":3469,"endOffset":3526,"count":0}],"isBlockCoverage":false},{"functionName":"isObject","ranges":[{"startOffset":3623,"endOffset":3699,"count":0}],"isBlockCoverage":false},{"functionName":"isError","ranges":[{"startOffset":3782,"endOffset":3885,"count":0}],"isBlockCoverage":false},{"functionName":"isFunction","ranges":[{"startOffset":3973,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"isPrimitive","ranges":[{"startOffset":4172,"endOffset":4291,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":4343,"endOffset":4418,"count":0}],"isBlockCoverage":false},{"functionName":"timestamp","ranges":[{"startOffset":4584,"endOffset":4865,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":5023,"endOffset":5176,"count":0}],"isBlockCoverage":false},{"functionName":"inherits","ranges":[{"startOffset":5909,"endOffset":6547,"count":6},{"startOffset":5994,"endOffset":6051,"count":0},{"startOffset":6110,"endOffset":6177,"count":0},{"startOffset":6220,"endOffset":6350,"count":0}],"isBlockCoverage":true},{"functionName":"_extend","ranges":[{"startOffset":6700,"endOffset":6988,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7036,"endOffset":7461,"count":0}],"isBlockCoverage":false},{"functionName":"callbackify","ranges":[{"startOffset":7714,"endOffset":9211,"count":0}],"isBlockCoverage":false},{"functionName":"getSystemErrorName","ranges":[{"startOffset":9265,"endOffset":9481,"count":0}],"isBlockCoverage":false},{"functionName":"isDeepStrictEqual","ranges":[{"startOffset":9882,"endOffset":10087,"count":0}],"isBlockCoverage":false},{"functionName":"get transferableAbortSignal","ranges":[{"startOffset":10340,"endOffset":10433,"count":16}],"isBlockCoverage":true},{"functionName":"get transferableAbortController","ranges":[{"startOffset":10437,"endOffset":10538,"count":16}],"isBlockCoverage":true},{"functionName":"get aborted","ranges":[{"startOffset":10542,"endOffset":10603,"count":16}],"isBlockCoverage":true}]},{"scriptId":"120","url":"node:internal/webidl","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4636,"count":1}],"isBlockCoverage":false},{"functionName":"evenRound","ranges":[{"startOffset":825,"endOffset":1150,"count":0}],"isBlockCoverage":false},{"functionName":"pow2","ranges":[{"startOffset":1152,"endOffset":1415,"count":0}],"isBlockCoverage":false},{"functionName":"modulo","ranges":[{"startOffset":1527,"endOffset":1641,"count":0}],"isBlockCoverage":false},{"functionName":"convertToInt","ranges":[{"startOffset":1706,"endOffset":4313,"count":0}],"isBlockCoverage":false},{"functionName":"DOMString","ranges":[{"startOffset":4438,"endOffset":4568,"count":17},{"startOffset":4491,"endOffset":4545,"count":0}],"isBlockCoverage":true}]},{"scriptId":"121","url":"node:internal/perf/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":787,"count":1}],"isBlockCoverage":false},{"functionName":"getTimeOrigin","ranges":[{"startOffset":138,"endOffset":316,"count":0}],"isBlockCoverage":false},{"functionName":"now","ranges":[{"startOffset":390,"endOffset":496,"count":0}],"isBlockCoverage":false},{"functionName":"getMilestoneTimestamp","ranges":[{"startOffset":575,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"122","url":"node:internal/bootstrap/web/exposed-window-or-worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2185,"count":1}],"isBlockCoverage":false}]},{"scriptId":"123","url":"node:internal/bootstrap/switches/is_not_main_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1185,"count":1}],"isBlockCoverage":false},{"functionName":"defineStream","ranges":[{"startOffset":119,"endOffset":288,"count":3}],"isBlockCoverage":true},{"functionName":"lazyWorkerStdio","ranges":[{"startOffset":902,"endOffset":1009,"count":23},{"startOffset":951,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"getStdout","ranges":[{"startOffset":1011,"endOffset":1068,"count":8}],"isBlockCoverage":true},{"functionName":"getStderr","ranges":[{"startOffset":1070,"endOffset":1127,"count":9}],"isBlockCoverage":true},{"functionName":"getStdin","ranges":[{"startOffset":1129,"endOffset":1184,"count":6}],"isBlockCoverage":true}]},{"scriptId":"124","url":"node:internal/process/signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":false},{"functionName":"isSignal","ranges":[{"startOffset":238,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"startListeningIfSignal","ranges":[{"startOffset":398,"endOffset":904,"count":0}],"isBlockCoverage":false},{"functionName":"stopListeningIfSignal","ranges":[{"startOffset":906,"endOffset":1101,"count":0}],"isBlockCoverage":false}]},{"scriptId":"125","url":"node:internal/worker/io","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15479,"count":1}],"isBlockCoverage":false},{"functionName":"MessagePort.hasRef","ranges":[{"startOffset":3683,"endOffset":3766,"count":0}],"isBlockCoverage":false},{"functionName":"validateMessagePort","ranges":[{"startOffset":3769,"endOffset":3907,"count":0}],"isBlockCoverage":false},{"functionName":"isMessageEvent","ranges":[{"startOffset":3909,"endOffset":3985,"count":0}],"isBlockCoverage":false},{"functionName":"MessageEvent","ranges":[{"startOffset":4024,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4628,"endOffset":4752,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4862,"endOffset":4988,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5103,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5344,"endOffset":5470,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5579,"endOffset":5704,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5946,"endOffset":6264,"count":0}],"isBlockCoverage":false},{"functionName":"oninit","ranges":[{"startOffset":6403,"endOffset":6546,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortCloseEvent","ranges":[{"startOffset":6848,"endOffset":6887,"count":0}],"isBlockCoverage":false},{"functionName":"onclose","ranges":[{"startOffset":6960,"endOffset":7033,"count":0}],"isBlockCoverage":false},{"functionName":"MessagePort.close","ranges":[{"startOffset":7214,"endOffset":7349,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":7482,"endOffset":8110,"count":0}],"isBlockCoverage":false},{"functionName":"setupPortReferencing","ranges":[{"startOffset":8117,"endOffset":9480,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8478,"endOffset":8573,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8612,"endOffset":8710,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8812,"endOffset":8957,"count":9},{"startOffset":8872,"endOffset":8894,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9068,"endOffset":9215,"count":4},{"startOffset":9128,"endOffset":9149,"count":3}],"isBlockCoverage":true},{"functionName":"newListener","ranges":[{"startOffset":9221,"endOffset":9362,"count":6},{"startOffset":9270,"endOffset":9358,"count":2}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":9366,"endOffset":9478,"count":3},{"startOffset":9418,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"ReadableWorkerStdio","ranges":[{"startOffset":9530,"endOffset":9879,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9708,"endOffset":9873,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":9883,"endOffset":10189,"count":0}],"isBlockCoverage":false},{"functionName":"WritableWorkerStdio","ranges":[{"startOffset":10240,"endOffset":10389,"count":2}],"isBlockCoverage":true},{"functionName":"_writev","ranges":[{"startOffset":10393,"endOffset":10769,"count":0}],"isBlockCoverage":false},{"functionName":"_final","ranges":[{"startOffset":10773,"endOffset":10953,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10957,"endOffset":11204,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11099,"endOffset":11111,"count":0}],"isBlockCoverage":false},{"functionName":"createWorkerStdio","ranges":[{"startOffset":11208,"endOffset":11478,"count":1}],"isBlockCoverage":true},{"functionName":"receiveMessageOnPort","ranges":[{"startOffset":11480,"endOffset":11660,"count":0}],"isBlockCoverage":false},{"functionName":"onMessageEvent","ranges":[{"startOffset":11662,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"isBroadcastChannel","ranges":[{"startOffset":11759,"endOffset":11845,"count":0}],"isBlockCoverage":false},{"functionName":"BroadcastChannel","ranges":[{"startOffset":11932,"endOffset":12446,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12450,"endOffset":12863,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":12899,"endOffset":13028,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13065,"endOffset":13463,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":13531,"endOffset":13941,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":14224,"endOffset":14391,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":14676,"endOffset":14847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"126","url":"node:stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4784,"count":1}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2402,"endOffset":2558,"count":0}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2983,"endOffset":3117,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4105,"endOffset":4137,"count":16}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4235,"endOffset":4276,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4369,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"_uint8ArrayToBuffer","ranges":[{"startOffset":4575,"endOffset":4782,"count":0}],"isBlockCoverage":false}]},{"scriptId":"127","url":"node:internal/streams/operators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10772,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":1019,"endOffset":1599,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":1601,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"asIndexedPairs","ranges":[{"startOffset":4706,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"some","ranges":[{"startOffset":5181,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"every","ranges":[{"startOffset":5331,"endOffset":5659,"count":0}],"isBlockCoverage":false},{"functionName":"find","ranges":[{"startOffset":5661,"endOffset":5803,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":5805,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":6177,"endOffset":6504,"count":0}],"isBlockCoverage":false},{"functionName":"ReduceAwareErrMissingArgs","ranges":[{"startOffset":6720,"endOffset":6834,"count":0}],"isBlockCoverage":false},{"functionName":"reduce","ranges":[{"startOffset":6838,"endOffset":8280,"count":0}],"isBlockCoverage":false},{"functionName":"toArray","ranges":[{"startOffset":8282,"endOffset":8711,"count":0}],"isBlockCoverage":false},{"functionName":"flatMap","ranges":[{"startOffset":8713,"endOffset":8907,"count":0}],"isBlockCoverage":false},{"functionName":"toIntegerOrInfinity","ranges":[{"startOffset":8909,"endOffset":9231,"count":0}],"isBlockCoverage":false},{"functionName":"drop","ranges":[{"startOffset":9233,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"take","ranges":[{"startOffset":9783,"endOffset":10453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"128","url":"node:internal/abort_controller","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12413,"count":1}],"isBlockCoverage":false},{"functionName":"lazyMessageChannel","ranges":[{"startOffset":1574,"endOffset":1707,"count":0}],"isBlockCoverage":false},{"functionName":"lazyMakeTransferable","ranges":[{"startOffset":1709,"endOffset":1867,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":2337,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"validateThisAbortSignal","ranges":[{"startOffset":2598,"endOffset":2723,"count":0}],"isBlockCoverage":false},{"functionName":"setWeakAbortSignalTimeout","ranges":[{"startOffset":3305,"endOffset":3705,"count":0}],"isBlockCoverage":false},{"functionName":"AbortSignal","ranges":[{"startOffset":3749,"endOffset":3809,"count":0}],"isBlockCoverage":false},{"functionName":"get aborted","ranges":[{"startOffset":3846,"endOffset":3929,"count":0}],"isBlockCoverage":false},{"functionName":"get reason","ranges":[{"startOffset":3962,"endOffset":4041,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfAborted","ranges":[{"startOffset":4045,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4165,"endOffset":4294,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":4372,"endOffset":4516,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":4594,"endOffset":4856,"count":0}],"isBlockCoverage":false},{"functionName":"any","ranges":[{"startOffset":4943,"endOffset":6278,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6282,"endOffset":7050,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7408,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7412,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8023,"endOffset":8275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8279,"endOffset":8727,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal","ranges":[{"startOffset":8731,"endOffset":8815,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal.","ranges":[{"startOffset":8860,"endOffset":8868,"count":0}],"isBlockCoverage":false},{"functionName":"createAbortSignal","ranges":[{"startOffset":9346,"endOffset":9759,"count":0}],"isBlockCoverage":false},{"functionName":"abortSignal","ranges":[{"startOffset":9761,"endOffset":10123,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10125,"endOffset":10781,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortSignal","ranges":[{"startOffset":10929,"endOffset":11121,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortController","ranges":[{"startOffset":11193,"endOffset":11282,"count":0}],"isBlockCoverage":false},{"functionName":"aborted","ranges":[{"startOffset":11376,"endOffset":11964,"count":0}],"isBlockCoverage":false}]},{"scriptId":"129","url":"node:internal/streams/end-of-stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8360,"count":1}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":891,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":1000,"endOffset":1008,"count":0}],"isBlockCoverage":false},{"functionName":"eos","ranges":[{"startOffset":1011,"endOffset":6953,"count":0}],"isBlockCoverage":false},{"functionName":"eosWeb","ranges":[{"startOffset":6955,"endOffset":7840,"count":0}],"isBlockCoverage":false},{"functionName":"finished","ranges":[{"startOffset":7842,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"130","url":"node:internal/streams/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8416,"count":1}],"isBlockCoverage":false},{"functionName":"isReadableNodeStream","ranges":[{"startOffset":774,"endOffset":1191,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableNodeStream","ranges":[{"startOffset":1193,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexNodeStream","ranges":[{"startOffset":1415,"endOffset":1614,"count":0}],"isBlockCoverage":false},{"functionName":"isNodeStream","ranges":[{"startOffset":1616,"endOffset":1887,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":1889,"endOffset":2103,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":2105,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":2275,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"isWebStream","ranges":[{"startOffset":2444,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"isIterable","ranges":[{"startOffset":2558,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"isDestroyed","ranges":[{"startOffset":2890,"endOffset":3153,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableEnded","ranges":[{"startOffset":3177,"endOffset":3468,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableFinished","ranges":[{"startOffset":3496,"endOffset":3893,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableEnded","ranges":[{"startOffset":3922,"endOffset":4223,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableFinished","ranges":[{"startOffset":4248,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":4598,"endOffset":4898,"count":0}],"isBlockCoverage":false},{"functionName":"isWritable","ranges":[{"startOffset":4900,"endOffset":5197,"count":0}],"isBlockCoverage":false},{"functionName":"isFinished","ranges":[{"startOffset":5199,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableErrored","ranges":[{"startOffset":5515,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableErrored","ranges":[{"startOffset":5729,"endOffset":5941,"count":0}],"isBlockCoverage":false},{"functionName":"isClosed","ranges":[{"startOffset":5943,"endOffset":6448,"count":0}],"isBlockCoverage":false},{"functionName":"isOutgoingMessage","ranges":[{"startOffset":6450,"endOffset":6702,"count":0}],"isBlockCoverage":false},{"functionName":"isServerResponse","ranges":[{"startOffset":6704,"endOffset":6831,"count":0}],"isBlockCoverage":false},{"functionName":"isServerRequest","ranges":[{"startOffset":6833,"endOffset":7021,"count":0}],"isBlockCoverage":false},{"functionName":"willEmitClose","ranges":[{"startOffset":7023,"endOffset":7361,"count":0}],"isBlockCoverage":false},{"functionName":"isDisturbed","ranges":[{"startOffset":7363,"endOffset":7508,"count":0}],"isBlockCoverage":false},{"functionName":"isErrored","ranges":[{"startOffset":7510,"endOffset":7815,"count":0}],"isBlockCoverage":false}]},{"scriptId":"131","url":"node:internal/streams/compose","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5451,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":543,"endOffset":5449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"132","url":"node:internal/streams/pipeline","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12326,"count":1}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":1058,"endOffset":1487,"count":0}],"isBlockCoverage":false},{"functionName":"popCallback","ranges":[{"startOffset":1489,"endOffset":1817,"count":0}],"isBlockCoverage":false},{"functionName":"makeAsyncIterable","ranges":[{"startOffset":1819,"endOffset":2105,"count":0}],"isBlockCoverage":false},{"functionName":"fromReadable","ranges":[{"startOffset":2107,"endOffset":2281,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToNode","ranges":[{"startOffset":2283,"endOffset":3327,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToWeb","ranges":[{"startOffset":3329,"endOffset":3927,"count":0}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":3929,"endOffset":4022,"count":0}],"isBlockCoverage":false},{"functionName":"pipelineImpl","ranges":[{"startOffset":4024,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"pipe","ranges":[{"startOffset":10478,"endOffset":12279,"count":0}],"isBlockCoverage":false}]},{"scriptId":"133","url":"node:internal/streams/destroy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6826,"count":1}],"isBlockCoverage":false},{"functionName":"checkError","ranges":[{"startOffset":360,"endOffset":671,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":781,"endOffset":1568,"count":0}],"isBlockCoverage":false},{"functionName":"_destroy","ranges":[{"startOffset":1570,"endOffset":2184,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseNT","ranges":[{"startOffset":2186,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":2275,"endOffset":2523,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":2525,"endOffset":2800,"count":0}],"isBlockCoverage":false},{"functionName":"undestroy","ranges":[{"startOffset":2802,"endOffset":3492,"count":0}],"isBlockCoverage":false},{"functionName":"errorOrDestroy","ranges":[{"startOffset":3494,"endOffset":4413,"count":0}],"isBlockCoverage":false},{"functionName":"construct","ranges":[{"startOffset":4415,"endOffset":4821,"count":3},{"startOffset":4512,"endOffset":4820,"count":0}],"isBlockCoverage":true},{"functionName":"constructNT","ranges":[{"startOffset":4823,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"emitConstructNT","ranges":[{"startOffset":5572,"endOffset":5635,"count":0}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":5637,"endOffset":5733,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseLegacy","ranges":[{"startOffset":5735,"endOffset":5795,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseLegacy","ranges":[{"startOffset":5797,"endOffset":5917,"count":0}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":5952,"endOffset":6734,"count":0}],"isBlockCoverage":false}]},{"scriptId":"134","url":"node:internal/streams/duplex","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4938,"count":1}],"isBlockCoverage":false},{"functionName":"Duplex","ranges":[{"startOffset":1996,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3811,"endOffset":4023,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4029,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":4364,"endOffset":4528,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.fromWeb","ranges":[{"startOffset":4547,"endOffset":4665,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.toWeb","ranges":[{"startOffset":4683,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.from","ranges":[{"startOffset":4805,"endOffset":4936,"count":0}],"isBlockCoverage":false}]},{"scriptId":"135","url":"node:internal/streams/readable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43849,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1799,"endOffset":1824,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2617,"endOffset":2625,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3306,"endOffset":3522,"count":19}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3381,"endOffset":3423,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":3429,"endOffset":3514,"count":0}],"isBlockCoverage":false},{"functionName":"ReadableState","ranges":[{"startOffset":5398,"endOffset":8222,"count":1},{"startOffset":5797,"endOffset":5840,"count":0},{"startOffset":6159,"endOffset":6180,"count":0},{"startOffset":6182,"endOffset":6208,"count":0},{"startOffset":6225,"endOffset":6235,"count":0},{"startOffset":6236,"endOffset":6265,"count":0},{"startOffset":6271,"endOffset":6297,"count":0},{"startOffset":6472,"endOffset":6544,"count":0},{"startOffset":6946,"endOffset":6976,"count":0},{"startOffset":6978,"endOffset":7004,"count":0},{"startOffset":7093,"endOffset":7125,"count":0},{"startOffset":7127,"endOffset":7155,"count":0},{"startOffset":7652,"endOffset":7669,"count":0},{"startOffset":7742,"endOffset":7901,"count":0},{"startOffset":8100,"endOffset":8119,"count":0},{"startOffset":8121,"endOffset":8220,"count":0}],"isBlockCoverage":true},{"functionName":"Readable","ranges":[{"startOffset":8225,"endOffset":9113,"count":1},{"startOffset":8293,"endOffset":8322,"count":0},{"startOffset":8593,"endOffset":8937,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9000,"endOffset":9109,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._destroy","ranges":[{"startOffset":9250,"endOffset":9282,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9333,"endOffset":9371,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9415,"endOffset":9671,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.push","ranges":[{"startOffset":9900,"endOffset":9986,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unshift","ranges":[{"startOffset":10082,"endOffset":10167,"count":0}],"isBlockCoverage":false},{"functionName":"readableAddChunk","ranges":[{"startOffset":10170,"endOffset":12572,"count":0}],"isBlockCoverage":false},{"functionName":"addChunk","ranges":[{"startOffset":12574,"endOffset":13339,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.isPaused","ranges":[{"startOffset":13371,"endOffset":13483,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.setEncoding","ranges":[{"startOffset":13547,"endOffset":14108,"count":0}],"isBlockCoverage":false},{"functionName":"computeNewHighWaterMark","ranges":[{"startOffset":14169,"endOffset":14520,"count":0}],"isBlockCoverage":false},{"functionName":"howMuchToRead","ranges":[{"startOffset":14633,"endOffset":15044,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.read","ranges":[{"startOffset":15141,"endOffset":19643,"count":0}],"isBlockCoverage":false},{"functionName":"onEofChunk","ranges":[{"startOffset":19646,"endOffset":20466,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable","ranges":[{"startOffset":20667,"endOffset":20994,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable_","ranges":[{"startOffset":20996,"endOffset":21650,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore","ranges":[{"startOffset":22000,"endOffset":22177,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore_","ranges":[{"startOffset":22179,"endOffset":23971,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._read","ranges":[{"startOffset":24242,"endOffset":24308,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pipe","ranges":[{"startOffset":24337,"endOffset":28782,"count":0}],"isBlockCoverage":false},{"functionName":"pipeOnDrain","ranges":[{"startOffset":28785,"endOffset":29430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unpipe","ranges":[{"startOffset":29461,"endOffset":30162,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.on","ranges":[{"startOffset":30288,"endOffset":31195,"count":1},{"startOffset":30420,"endOffset":30752,"count":0},{"startOffset":30781,"endOffset":31178,"count":0}],"isBlockCoverage":true},{"functionName":"Readable.removeListener","ranges":[{"startOffset":31290,"endOffset":31855,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.removeAllListeners","ranges":[{"startOffset":31958,"endOffset":32552,"count":0}],"isBlockCoverage":false},{"functionName":"updateReadableListening","ranges":[{"startOffset":32555,"endOffset":33065,"count":0}],"isBlockCoverage":false},{"functionName":"nReadingNextTick","ranges":[{"startOffset":33067,"endOffset":33155,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.resume","ranges":[{"startOffset":33309,"endOffset":33634,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":33637,"endOffset":33787,"count":0}],"isBlockCoverage":false},{"functionName":"resume_","ranges":[{"startOffset":33789,"endOffset":34040,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pause","ranges":[{"startOffset":34069,"endOffset":34336,"count":0}],"isBlockCoverage":false},{"functionName":"flow","ranges":[{"startOffset":34339,"endOffset":34486,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":34670,"endOffset":35691,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":35736,"endOffset":35788,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.iterator","ranges":[{"startOffset":35821,"endOffset":35964,"count":0}],"isBlockCoverage":false},{"functionName":"streamToAsyncIterator","ranges":[{"startOffset":35967,"endOffset":36216,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncIterator","ranges":[{"startOffset":36218,"endOffset":37294,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":37513,"endOffset":37902,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":37908,"endOffset":38038,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38120,"endOffset":38184,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38266,"endOffset":38474,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38562,"endOffset":38628,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38709,"endOffset":38791,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38873,"endOffset":38933,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":38944,"endOffset":39053,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39129,"endOffset":39183,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39263,"endOffset":39351,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39429,"endOffset":39514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39583,"endOffset":39667,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39712,"endOffset":39796,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39867,"endOffset":39954,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":39960,"endOffset":40249,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40324,"endOffset":40412,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40553,"endOffset":40598,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40678,"endOffset":40729,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":40735,"endOffset":40784,"count":0}],"isBlockCoverage":false},{"functionName":"fromList","ranges":[{"startOffset":41090,"endOffset":41652,"count":0}],"isBlockCoverage":false},{"functionName":"endReadable","ranges":[{"startOffset":41654,"endOffset":41875,"count":0}],"isBlockCoverage":false},{"functionName":"endReadableNT","ranges":[{"startOffset":41877,"endOffset":42797,"count":0}],"isBlockCoverage":false},{"functionName":"endWritableNT","ranges":[{"startOffset":42799,"endOffset":42959,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.from","ranges":[{"startOffset":42977,"endOffset":43046,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":43111,"endOffset":43275,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.fromWeb","ranges":[{"startOffset":43296,"endOffset":43430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.toWeb","ranges":[{"startOffset":43450,"endOffset":43584,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":43603,"endOffset":43847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"136","url":"node:internal/streams/legacy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2934,"count":1}],"isBlockCoverage":false},{"functionName":"Stream","ranges":[{"startOffset":112,"endOffset":160,"count":3}],"isBlockCoverage":true},{"functionName":"Stream.pipe","ranges":[{"startOffset":274,"endOffset":2076,"count":0}],"isBlockCoverage":false},{"functionName":"prependListener","ranges":[{"startOffset":2079,"endOffset":2886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"137","url":"node:internal/streams/add-abort-signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1704,"count":1}],"isBlockCoverage":false},{"functionName":"validateAbortSignal","ranges":[{"startOffset":557,"endOffset":716,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortSignal","ranges":[{"startOffset":751,"endOffset":1062,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.addAbortSignalNoValidate","ranges":[{"startOffset":1107,"endOffset":1702,"count":0}],"isBlockCoverage":false}]},{"scriptId":"138","url":"node:internal/streams/buffer_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4060,"count":1}],"isBlockCoverage":false},{"functionName":"BufferList","ranges":[{"startOffset":254,"endOffset":338,"count":1}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":342,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":533,"endOffset":691,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":695,"endOffset":922,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":926,"endOffset":994,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":998,"endOffset":1180,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":1184,"endOffset":1467,"count":0}],"isBlockCoverage":false},{"functionName":"consume","ranges":[{"startOffset":1551,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":2009,"endOffset":2049,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":2053,"endOffset":2149,"count":0}],"isBlockCoverage":false},{"functionName":"_getString","ranges":[{"startOffset":2224,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"_getBuffer","ranges":[{"startOffset":2932,"endOffset":3779,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":3860,"endOffset":4056,"count":0}],"isBlockCoverage":false}]},{"scriptId":"139","url":"node:internal/streams/state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1332,"count":1}],"isBlockCoverage":false},{"functionName":"highWaterMarkFrom","ranges":[{"startOffset":287,"endOffset":454,"count":2},{"startOffset":385,"endOffset":408,"count":0},{"startOffset":424,"endOffset":444,"count":0}],"isBlockCoverage":true},{"functionName":"getDefaultHighWaterMark","ranges":[{"startOffset":456,"endOffset":586,"count":3},{"startOffset":523,"endOffset":555,"count":0}],"isBlockCoverage":true},{"functionName":"setDefaultHighWaterMark","ranges":[{"startOffset":588,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"getHighWaterMark","ranges":[{"startOffset":801,"endOffset":1234,"count":2},{"startOffset":948,"endOffset":1160,"count":0}],"isBlockCoverage":true}]},{"scriptId":"140","url":"node:string_decoder","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5213,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeEncoding","ranges":[{"startOffset":2129,"endOffset":2391,"count":0}],"isBlockCoverage":false},{"functionName":"StringDecoder","ranges":[{"startOffset":2705,"endOffset":2904,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3227,"endOffset":3612,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":3889,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":4291,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4586,"endOffset":4799,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4891,"endOffset":4954,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5047,"endOffset":5162,"count":0}],"isBlockCoverage":false}]},{"scriptId":"141","url":"node:internal/streams/from","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2614,"count":1}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":241,"endOffset":2589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"142","url":"node:internal/streams/writable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29040,"count":1}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2389,"endOffset":2406,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3093,"endOffset":3309,"count":20}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3168,"endOffset":3210,"count":2}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3216,"endOffset":3301,"count":0}],"isBlockCoverage":false},{"functionName":"WritableState","ranges":[{"startOffset":5971,"endOffset":9003,"count":2},{"startOffset":6366,"endOffset":6409,"count":0},{"startOffset":6630,"endOffset":6656,"count":0},{"startOffset":6672,"endOffset":6682,"count":0},{"startOffset":6683,"endOffset":6712,"count":0},{"startOffset":6714,"endOffset":6740,"count":0},{"startOffset":7031,"endOffset":7067,"count":0},{"startOffset":7121,"endOffset":7150,"count":0},{"startOffset":7257,"endOffset":7283,"count":0},{"startOffset":7406,"endOffset":7434,"count":0},{"startOffset":7754,"endOffset":7913,"count":0}],"isBlockCoverage":true},{"functionName":"resetBuffer","ranges":[{"startOffset":9005,"endOffset":9127,"count":2}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":9165,"endOffset":9254,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9350,"endOffset":9415,"count":0}],"isBlockCoverage":false},{"functionName":"Writable","ranges":[{"startOffset":9422,"endOffset":10950,"count":2},{"startOffset":10123,"endOffset":10152,"count":0},{"startOffset":10291,"endOffset":10319,"count":0},{"startOffset":10373,"endOffset":10403,"count":0},{"startOffset":10458,"endOffset":10490,"count":0},{"startOffset":10543,"endOffset":10571,"count":0},{"startOffset":10628,"endOffset":10664,"count":0},{"startOffset":10696,"endOffset":10733,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10800,"endOffset":10946,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":11032,"endOffset":11236,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.pipe","ranges":[{"startOffset":11337,"endOffset":11405,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":11408,"endOffset":12809,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.write","ranges":[{"startOffset":12838,"endOffset":12924,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.cork","ranges":[{"startOffset":12953,"endOffset":12999,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.uncork","ranges":[{"startOffset":13030,"endOffset":13201,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultEncoding","ranges":[{"startOffset":13244,"endOffset":13569,"count":0}],"isBlockCoverage":false},{"functionName":"writeOrBuffer","ranges":[{"startOffset":13759,"endOffset":14872,"count":0}],"isBlockCoverage":false},{"functionName":"doWrite","ranges":[{"startOffset":14874,"endOffset":15262,"count":0}],"isBlockCoverage":false},{"functionName":"onwriteError","ranges":[{"startOffset":15264,"endOffset":15649,"count":0}],"isBlockCoverage":false},{"functionName":"onwrite","ranges":[{"startOffset":15651,"endOffset":17310,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteTick","ranges":[{"startOffset":17312,"endOffset":17451,"count":0}],"isBlockCoverage":false},{"functionName":"afterWrite","ranges":[{"startOffset":17453,"endOffset":17869,"count":0}],"isBlockCoverage":false},{"functionName":"errorBuffer","ranges":[{"startOffset":17941,"endOffset":18532,"count":0}],"isBlockCoverage":false},{"functionName":"clearBuffer","ranges":[{"startOffset":18598,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._write","ranges":[{"startOffset":20262,"endOffset":20431,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.end","ranges":[{"startOffset":20495,"endOffset":21953,"count":0}],"isBlockCoverage":false},{"functionName":"needFinish","ranges":[{"startOffset":21956,"endOffset":22419,"count":0}],"isBlockCoverage":false},{"functionName":"callFinal","ranges":[{"startOffset":22421,"endOffset":23393,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":23395,"endOffset":23733,"count":0}],"isBlockCoverage":false},{"functionName":"finishMaybe","ranges":[{"startOffset":23735,"endOffset":24234,"count":0}],"isBlockCoverage":false},{"functionName":"finish","ranges":[{"startOffset":24236,"endOffset":24986,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25071,"endOffset":25172,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25220,"endOffset":25324,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":25330,"endOffset":25576,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25623,"endOffset":26027,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":26033,"endOffset":26167,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26222,"endOffset":26325,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26382,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26540,"endOffset":26622,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26674,"endOffset":26775,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26831,"endOffset":27046,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27106,"endOffset":27190,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27243,"endOffset":27323,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27376,"endOffset":27453,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27522,"endOffset":27606,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27688,"endOffset":27927,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.destroy","ranges":[{"startOffset":28005,"endOffset":28318,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._destroy","ranges":[{"startOffset":28406,"endOffset":28438,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.","ranges":[{"startOffset":28489,"endOffset":28527,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":28592,"endOffset":28756,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.fromWeb","ranges":[{"startOffset":28777,"endOffset":28911,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.toWeb","ranges":[{"startOffset":28931,"endOffset":29038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"143","url":"node:stream/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":917,"count":1}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":318,"endOffset":869,"count":0}],"isBlockCoverage":false}]},{"scriptId":"144","url":"node:internal/streams/transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7176,"count":1}],"isBlockCoverage":false},{"functionName":"Transform","ranges":[{"startOffset":3920,"endOffset":5747,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5749,"endOffset":6193,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":6195,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._transform","ranges":[{"startOffset":6348,"endOffset":6443,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._write","ranges":[{"startOffset":6475,"endOffset":7018,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._read","ranges":[{"startOffset":7049,"endOffset":7174,"count":0}],"isBlockCoverage":false}]},{"scriptId":"145","url":"node:internal/streams/passthrough","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1762,"count":1}],"isBlockCoverage":false},{"functionName":"PassThrough","ranges":[{"startOffset":1529,"endOffset":1671,"count":0}],"isBlockCoverage":false},{"functionName":"PassThrough._transform","ranges":[{"startOffset":1708,"endOffset":1760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"146","url":"node:internal/bootstrap/switches/does_not_own_process_state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1278,"count":1}],"isBlockCoverage":false},{"functionName":"wrappedUmask","ranges":[{"startOffset":1047,"endOffset":1277,"count":0}],"isBlockCoverage":false}]},{"scriptId":"147","url":"node:internal/process/worker_thread_only","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":426,"count":1}],"isBlockCoverage":false},{"functionName":"unavailable","ranges":[{"startOffset":194,"endOffset":387,"count":8}],"isBlockCoverage":true},{"functionName":"unavailableInWorker","ranges":[{"startOffset":225,"endOffset":315,"count":0}],"isBlockCoverage":false}]},{"scriptId":"148","url":"node:internal/main/worker_thread","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7311,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1096,"endOffset":1121,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2200,"endOffset":5806,"count":3},{"startOffset":2251,"endOffset":5390,"count":1},{"startOffset":2537,"endOffset":2599,"count":0},{"startOffset":3460,"endOffset":3541,"count":0},{"startOffset":3597,"endOffset":3671,"count":0},{"startOffset":3737,"endOffset":3762,"count":0},{"startOffset":3961,"endOffset":4206,"count":0},{"startOffset":4214,"endOffset":4743,"count":0},{"startOffset":4751,"endOffset":4995,"count":0},{"startOffset":5390,"endOffset":5804,"count":2},{"startOffset":5432,"endOffset":5591,"count":0}],"isBlockCoverage":true},{"functionName":"process.cwd","ranges":[{"startOffset":3133,"endOffset":3384,"count":3},{"startOffset":3260,"endOffset":3277,"count":2},{"startOffset":3277,"endOffset":3383,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4900,"endOffset":4970,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5508,"endOffset":5585,"count":0}],"isBlockCoverage":false},{"functionName":"workerOnGlobalUncaughtException","ranges":[{"startOffset":5810,"endOffset":7002,"count":0}],"isBlockCoverage":false}]},{"scriptId":"149","url":"node:internal/process/pre_execution","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":22973,"count":1}],"isBlockCoverage":false},{"functionName":"prepareMainThreadExecution","ranges":[{"startOffset":1091,"endOffset":1268,"count":0}],"isBlockCoverage":false},{"functionName":"prepareWorkerThreadExecution","ranges":[{"startOffset":1270,"endOffset":1469,"count":1}],"isBlockCoverage":true},{"functionName":"prepareExecution","ranges":[{"startOffset":1471,"endOffset":3628,"count":1},{"startOffset":2237,"endOffset":3408,"count":0},{"startOffset":3597,"endOffset":3626,"count":0}],"isBlockCoverage":true},{"functionName":"setupSymbolDisposePolyfill","ranges":[{"startOffset":3630,"endOffset":4365,"count":1}],"isBlockCoverage":true},{"functionName":"setupUserModules","ranges":[{"startOffset":4367,"endOffset":4795,"count":1},{"startOffset":4676,"endOffset":4693,"count":0}],"isBlockCoverage":true},{"functionName":"refreshRuntimeOptions","ranges":[{"startOffset":4797,"endOffset":4853,"count":1}],"isBlockCoverage":true},{"functionName":"patchProcessObject","ranges":[{"startOffset":4855,"endOffset":6952,"count":1},{"startOffset":5388,"endOffset":5406,"count":0},{"startOffset":5407,"endOffset":5464,"count":0},{"startOffset":5466,"endOffset":5677,"count":0}],"isBlockCoverage":true},{"functionName":"addReadOnlyProcessAlias","ranges":[{"startOffset":6954,"endOffset":7235,"count":13},{"startOffset":7075,"endOffset":7233,"count":1}],"isBlockCoverage":true},{"functionName":"setupWarningHandler","ranges":[{"startOffset":7237,"endOffset":7757,"count":1},{"startOffset":7612,"endOffset":7751,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7641,"endOffset":7743,"count":0}],"isBlockCoverage":false},{"functionName":"setupFetch","ranges":[{"startOffset":7793,"endOffset":8933,"count":1},{"startOffset":7913,"endOffset":7930,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUndici","ranges":[{"startOffset":7948,"endOffset":8093,"count":1},{"startOffset":7988,"endOffset":8016,"count":0}],"isBlockCoverage":true},{"functionName":"fetch","ranges":[{"startOffset":8097,"endOffset":8192,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInterface","ranges":[{"startOffset":8244,"endOffset":8485,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8345,"endOffset":8395,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8403,"endOffset":8473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8818,"endOffset":8929,"count":0}],"isBlockCoverage":false},{"functionName":"setupWebCrypto","ranges":[{"startOffset":9037,"endOffset":9989,"count":1},{"startOffset":9172,"endOffset":9189,"count":0},{"startOffset":9678,"endOffset":9987,"count":0}],"isBlockCoverage":true},{"functionName":"cryptoThisCheck","ranges":[{"startOffset":9363,"endOffset":9539,"count":0}],"isBlockCoverage":false},{"functionName":"get crypto","ranges":[{"startOffset":9840,"endOffset":9939,"count":0}],"isBlockCoverage":false},{"functionName":"setupCodeCoverage","ranges":[{"startOffset":9991,"endOffset":10512,"count":1}],"isBlockCoverage":true},{"functionName":"setupCustomEvent","ranges":[{"startOffset":10618,"endOffset":10895,"count":1},{"startOffset":10757,"endOffset":10774,"count":0}],"isBlockCoverage":true},{"functionName":"setupStacktracePrinterOnSigint","ranges":[{"startOffset":10897,"endOffset":11122,"count":0}],"isBlockCoverage":false},{"functionName":"initializeReport","ranges":[{"startOffset":11124,"endOffset":11373,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":11269,"endOffset":11364,"count":6}],"isBlockCoverage":true},{"functionName":"setupDebugEnv","ranges":[{"startOffset":11375,"endOffset":11606,"count":1},{"startOffset":11526,"endOffset":11604,"count":0}],"isBlockCoverage":true},{"functionName":"initializeReportSignalHandlers","ranges":[{"startOffset":11668,"endOffset":11856,"count":0}],"isBlockCoverage":false},{"functionName":"initializeHeapSnapshotSignalHandlers","ranges":[{"startOffset":11858,"endOffset":12592,"count":0}],"isBlockCoverage":false},{"functionName":"setupTraceCategoryState","ranges":[{"startOffset":12594,"endOffset":12853,"count":1}],"isBlockCoverage":true},{"functionName":"setupInspectorHooks","ranges":[{"startOffset":12855,"endOffset":13437,"count":1}],"isBlockCoverage":true},{"functionName":"initializeDeprecations","ranges":[{"startOffset":13632,"endOffset":15584,"count":1},{"startOffset":14344,"endOffset":14646,"count":16},{"startOffset":14389,"endOffset":14621,"count":0},{"startOffset":14963,"endOffset":15160,"count":0},{"startOffset":15188,"endOffset":15582,"count":0}],"isBlockCoverage":true},{"functionName":"setupChildProcessIpcChannel","ranges":[{"startOffset":15586,"endOffset":16151,"count":0}],"isBlockCoverage":false},{"functionName":"initializeClusterIPC","ranges":[{"startOffset":16153,"endOffset":16423,"count":0}],"isBlockCoverage":false},{"functionName":"initializePermission","ranges":[{"startOffset":16425,"endOffset":18308,"count":1},{"startOffset":16567,"endOffset":17928,"count":0}],"isBlockCoverage":true},{"functionName":"binding","ranges":[{"startOffset":16591,"endOffset":16678,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18140,"endOffset":18300,"count":4},{"startOffset":18218,"endOffset":18294,"count":0}],"isBlockCoverage":true},{"functionName":"readPolicyFromDisk","ranges":[{"startOffset":18310,"endOffset":20129,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCJSLoader","ranges":[{"startOffset":20131,"endOffset":20252,"count":1}],"isBlockCoverage":true},{"functionName":"initializeESMLoader","ranges":[{"startOffset":20254,"endOffset":20829,"count":1},{"startOffset":20582,"endOffset":20827,"count":0}],"isBlockCoverage":true},{"functionName":"initializeSourceMapsHandlers","ranges":[{"startOffset":20831,"endOffset":21029,"count":1}],"isBlockCoverage":true},{"functionName":"initializeFrozenIntrinsics","ranges":[{"startOffset":21031,"endOffset":21288,"count":1},{"startOffset":21116,"endOffset":21286,"count":0}],"isBlockCoverage":true},{"functionName":"loadPreloadModules","ranges":[{"startOffset":21290,"endOffset":21638,"count":1},{"startOffset":21484,"endOffset":21636,"count":0}],"isBlockCoverage":true},{"functionName":"markBootstrapComplete","ranges":[{"startOffset":21640,"endOffset":21734,"count":1}],"isBlockCoverage":true},{"functionName":"getHeapSnapshotFilename","ranges":[{"startOffset":21889,"endOffset":22790,"count":0}],"isBlockCoverage":false}]},{"scriptId":"150","url":"node:internal/v8/startup_snapshot","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3382,"count":1}],"isBlockCoverage":false},{"functionName":"isBuildingSnapshot","ranges":[{"startOffset":433,"endOffset":504,"count":4}],"isBlockCoverage":true},{"functionName":"throwIfNotBuildingSnapshot","ranges":[{"startOffset":506,"endOffset":625,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfBuildingSnapshot","ranges":[{"startOffset":627,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"runDeserializeCallbacks","ranges":[{"startOffset":831,"endOffset":1004,"count":0}],"isBlockCoverage":false},{"functionName":"addDeserializeCallback","ranges":[{"startOffset":1006,"endOffset":1541,"count":0}],"isBlockCoverage":false},{"functionName":"runSerializeCallbacks","ranges":[{"startOffset":1574,"endOffset":1741,"count":0}],"isBlockCoverage":false},{"functionName":"addSerializeCallback","ranges":[{"startOffset":1743,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"initializeCallbacks","ranges":[{"startOffset":1913,"endOffset":2122,"count":0}],"isBlockCoverage":false},{"functionName":"setDeserializeMainFunction","ranges":[{"startOffset":2158,"endOffset":3105,"count":0}],"isBlockCoverage":false}]},{"scriptId":"151","url":"node:internal/inspector_async_hook","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1973,"count":1}],"isBlockCoverage":false},{"functionName":"lazyHookCreation","ranges":[{"startOffset":75,"endOffset":1257,"count":0}],"isBlockCoverage":false},{"functionName":"enable","ranges":[{"startOffset":1259,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":1842,"endOffset":1928,"count":0}],"isBlockCoverage":false}]},{"scriptId":"152","url":"node:internal/source_map/prepare_stack_trace","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7404,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":334,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"prepareStackTrace","ranges":[{"startOffset":895,"endOffset":3880,"count":0}],"isBlockCoverage":false},{"functionName":"getOriginalSymbolName","ranges":[{"startOffset":4031,"endOffset":4774,"count":0}],"isBlockCoverage":false},{"functionName":"getErrorSource","ranges":[{"startOffset":4942,"endOffset":6024,"count":0}],"isBlockCoverage":false},{"functionName":"getOriginalSource","ranges":[{"startOffset":6026,"endOffset":6923,"count":0}],"isBlockCoverage":false},{"functionName":"getSourceMapErrorSource","ranges":[{"startOffset":6925,"endOffset":7305,"count":0}],"isBlockCoverage":false}]},{"scriptId":"153","url":"node:fs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":85023,"count":1}],"isBlockCoverage":false},{"functionName":"showTruncateDeprecation","ranges":[{"startOffset":4028,"endOffset":4315,"count":0}],"isBlockCoverage":false},{"functionName":"maybeCallback","ranges":[{"startOffset":4317,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"makeCallback","ranges":[{"startOffset":4594,"endOffset":4706,"count":0}],"isBlockCoverage":false},{"functionName":"makeStatsCallback","ranges":[{"startOffset":4887,"endOffset":5054,"count":0}],"isBlockCoverage":false},{"functionName":"isFileType","ranges":[{"startOffset":5079,"endOffset":5339,"count":10156},{"startOffset":5278,"endOffset":5298,"count":875}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":5555,"endOffset":5913,"count":0}],"isBlockCoverage":false},{"functionName":"accessSync","ranges":[{"startOffset":6101,"endOffset":6165,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6327,"endOffset":6565,"count":0}],"isBlockCoverage":false},{"functionName":"exists","ranges":[{"startOffset":6652,"endOffset":6784,"count":0}],"isBlockCoverage":false},{"functionName":"existsSync","ranges":[{"startOffset":7332,"endOffset":7391,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterOpen","ranges":[{"startOffset":7393,"endOffset":7673,"count":0}],"isBlockCoverage":false},{"functionName":"readFileAfterStat","ranges":[{"startOffset":7675,"endOffset":8553,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":8555,"endOffset":8728,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":9061,"endOffset":10013,"count":0}],"isBlockCoverage":false},{"functionName":"tryStatSync","ranges":[{"startOffset":10015,"endOffset":10245,"count":1},{"startOffset":10158,"endOffset":10170,"count":0},{"startOffset":10172,"endOffset":10227,"count":0}],"isBlockCoverage":true},{"functionName":"tryCreateBuffer","ranges":[{"startOffset":10247,"endOffset":10558,"count":1},{"startOffset":10365,"endOffset":10417,"count":0},{"startOffset":10504,"endOffset":10516,"count":0},{"startOffset":10518,"endOffset":10535,"count":0}],"isBlockCoverage":true},{"functionName":"tryReadSync","ranges":[{"startOffset":10560,"endOffset":10815,"count":1},{"startOffset":10758,"endOffset":10770,"count":0},{"startOffset":10772,"endOffset":10789,"count":0}],"isBlockCoverage":true},{"functionName":"readFileSync","ranges":[{"startOffset":11039,"endOffset":12564,"count":574},{"startOffset":11161,"endOffset":11192,"count":2},{"startOffset":11194,"endOffset":11251,"count":572},{"startOffset":11251,"endOffset":11335,"count":2},{"startOffset":11335,"endOffset":11341,"count":0},{"startOffset":11342,"endOffset":11382,"count":2},{"startOffset":11470,"endOffset":11480,"count":1},{"startOffset":11481,"endOffset":11484,"count":0},{"startOffset":11614,"endOffset":11637,"count":0},{"startOffset":11637,"endOffset":11889,"count":1},{"startOffset":11889,"endOffset":12258,"count":0},{"startOffset":12258,"endOffset":12318,"count":1},{"startOffset":12318,"endOffset":12414,"count":0},{"startOffset":12414,"endOffset":12476,"count":1},{"startOffset":12436,"endOffset":12476,"count":0},{"startOffset":12476,"endOffset":12502,"count":1},{"startOffset":12502,"endOffset":12545,"count":0},{"startOffset":12545,"endOffset":12563,"count":1}],"isBlockCoverage":true},{"functionName":"defaultCloseCallback","ranges":[{"startOffset":12566,"endOffset":12634,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12760,"endOffset":13013,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":13109,"endOffset":13162,"count":1}],"isBlockCoverage":true},{"functionName":"open","ranges":[{"startOffset":13405,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"openSync","ranges":[{"startOffset":14154,"endOffset":14235,"count":2}],"isBlockCoverage":true},{"functionName":"openAsBlob","ranges":[{"startOffset":14364,"endOffset":14846,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":15210,"endOffset":17170,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":17624,"endOffset":18761,"count":1},{"startOffset":17846,"endOffset":18102,"count":0},{"startOffset":18132,"endOffset":18153,"count":0},{"startOffset":18244,"endOffset":18263,"count":0},{"startOffset":18296,"endOffset":18426,"count":0}],"isBlockCoverage":true},{"functionName":"readv","ranges":[{"startOffset":19106,"endOffset":19523,"count":0}],"isBlockCoverage":false},{"functionName":"readvSync","ranges":[{"startOffset":19925,"endOffset":20232,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":20641,"endOffset":22188,"count":0}],"isBlockCoverage":false},{"functionName":"writeSync","ranges":[{"startOffset":22645,"endOffset":23778,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":24105,"endOffset":24627,"count":0}],"isBlockCoverage":false},{"functionName":"writevSync","ranges":[{"startOffset":24995,"endOffset":25354,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":25595,"endOffset":25976,"count":0}],"isBlockCoverage":false},{"functionName":"renameSync","ranges":[{"startOffset":26175,"endOffset":26522,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":26680,"endOffset":27341,"count":0}],"isBlockCoverage":false},{"functionName":"truncateSync","ranges":[{"startOffset":27471,"endOffset":27874,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":28026,"endOffset":28363,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncateSync","ranges":[{"startOffset":28487,"endOffset":28704,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadCp","ranges":[{"startOffset":28706,"endOffset":28912,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadRimraf","ranges":[{"startOffset":28914,"endOffset":29033,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":29291,"endOffset":30153,"count":0}],"isBlockCoverage":false},{"functionName":"rmdirSync","ranges":[{"startOffset":30368,"endOffset":30888,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":31226,"endOffset":31604,"count":0}],"isBlockCoverage":false},{"functionName":"rmSync","ranges":[{"startOffset":31899,"endOffset":32109,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":32340,"endOffset":32511,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasyncSync","ranges":[{"startOffset":32714,"endOffset":32861,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":33048,"endOffset":33211,"count":0}],"isBlockCoverage":false},{"functionName":"fsyncSync","ranges":[{"startOffset":33370,"endOffset":33509,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":33753,"endOffset":34468,"count":0}],"isBlockCoverage":false},{"functionName":"mkdirSync","ranges":[{"startOffset":34678,"endOffset":35384,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSyncRecursive","ranges":[{"startOffset":35717,"endOffset":37463,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":37763,"endOffset":38541,"count":0}],"isBlockCoverage":false},{"functionName":"readdirSync","ranges":[{"startOffset":38805,"endOffset":39408,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":39649,"endOffset":39995,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":40261,"endOffset":40646,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":40876,"endOffset":41259,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":41261,"endOffset":41754,"count":0}],"isBlockCoverage":false},{"functionName":"hasNoEntryError","ranges":[{"startOffset":41756,"endOffset":41971,"count":0}],"isBlockCoverage":false},{"functionName":"fstatSync","ranges":[{"startOffset":42147,"endOffset":42386,"count":0}],"isBlockCoverage":false},{"functionName":"lstatSync","ranges":[{"startOffset":42634,"endOffset":43058,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":43273,"endOffset":43346,"count":0}],"isBlockCoverage":false},{"functionName":"statfsSync","ranges":[{"startOffset":43348,"endOffset":43425,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":43703,"endOffset":44047,"count":0}],"isBlockCoverage":false},{"functionName":"readlinkSync","ranges":[{"startOffset":44261,"endOffset":44588,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":44830,"endOffset":46483,"count":0}],"isBlockCoverage":false},{"functionName":"symlinkSync","ranges":[{"startOffset":46698,"endOffset":47359,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":47586,"endOffset":47987,"count":0}],"isBlockCoverage":false},{"functionName":"linkSync","ranges":[{"startOffset":48186,"endOffset":48635,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":48796,"endOffset":49023,"count":0}],"isBlockCoverage":false},{"functionName":"unlinkSync","ranges":[{"startOffset":49141,"endOffset":49200,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":49363,"endOffset":49602,"count":0}],"isBlockCoverage":false},{"functionName":"fchmodSync","ranges":[{"startOffset":49737,"endOffset":49928,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":50109,"endOffset":50602,"count":0}],"isBlockCoverage":false},{"functionName":"lchmodSync","ranges":[{"startOffset":50755,"endOffset":51077,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":51273,"endOffset":51549,"count":0}],"isBlockCoverage":false},{"functionName":"chmodSync","ranges":[{"startOffset":51702,"endOffset":51937,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":52133,"endOffset":52474,"count":0}],"isBlockCoverage":false},{"functionName":"lchownSync","ranges":[{"startOffset":52642,"endOffset":52942,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":53112,"endOffset":53415,"count":0}],"isBlockCoverage":false},{"functionName":"fchownSync","ranges":[{"startOffset":53557,"endOffset":53813,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":54029,"endOffset":54369,"count":0}],"isBlockCoverage":false},{"functionName":"chownSync","ranges":[{"startOffset":54542,"endOffset":54840,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":55109,"endOffset":55450,"count":0}],"isBlockCoverage":false},{"functionName":"utimesSync","ranges":[{"startOffset":55691,"endOffset":55973,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":56254,"endOffset":56559,"count":0}],"isBlockCoverage":false},{"functionName":"futimesSync","ranges":[{"startOffset":56815,"endOffset":57072,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":57356,"endOffset":57702,"count":0}],"isBlockCoverage":false},{"functionName":"lutimesSync","ranges":[{"startOffset":57962,"endOffset":58266,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":58268,"endOffset":59231,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":59588,"endOffset":60454,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":60741,"endOffset":61443,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":61748,"endOffset":62188,"count":0}],"isBlockCoverage":false},{"functionName":"appendFileSync","ranges":[{"startOffset":62450,"endOffset":62829,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":63197,"endOffset":64950,"count":0}],"isBlockCoverage":false},{"functionName":"watchFile","ranges":[{"startOffset":65300,"endOffset":66324,"count":0}],"isBlockCoverage":false},{"functionName":"unwatchFile","ranges":[{"startOffset":66474,"endOffset":67213,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67429,"endOffset":67525,"count":0}],"isBlockCoverage":false},{"functionName":"splitRoot","ranges":[{"startOffset":67550,"endOffset":67760,"count":646},{"startOffset":67617,"endOffset":67740,"count":1292},{"startOffset":67695,"endOffset":67734,"count":646},{"startOffset":67740,"endOffset":67759,"count":0}],"isBlockCoverage":true},{"functionName":"encodeRealpathResult","ranges":[{"startOffset":67765,"endOffset":68052,"count":646},{"startOffset":67850,"endOffset":67880,"count":0},{"startOffset":67900,"endOffset":68051,"count":0}],"isBlockCoverage":true},{"functionName":"nextPart","ranges":[{"startOffset":68175,"endOffset":68434,"count":0}],"isBlockCoverage":false},{"functionName":"nextPart","ranges":[{"startOffset":68458,"endOffset":68533,"count":5515}],"isBlockCoverage":true},{"functionName":"realpathSync","ranges":[{"startOffset":68707,"endOffset":72603,"count":777},{"startOffset":68831,"endOffset":68849,"count":0},{"startOffset":69010,"endOffset":69045,"count":131},{"startOffset":69045,"endOffset":69607,"count":646},{"startOffset":69607,"endOffset":69779,"count":0},{"startOffset":69779,"endOffset":69916,"count":646},{"startOffset":69916,"endOffset":72530,"count":5515},{"startOffset":70028,"endOffset":70159,"count":646},{"startOffset":70159,"endOffset":70317,"count":4869},{"startOffset":70434,"endOffset":70571,"count":4640},{"startOffset":70525,"endOffset":70549,"count":0},{"startOffset":70571,"endOffset":70637,"count":875},{"startOffset":70674,"endOffset":70723,"count":0},{"startOffset":70723,"endOffset":72027,"count":875},{"startOffset":71163,"endOffset":71947,"count":0},{"startOffset":71991,"endOffset":72021,"count":0},{"startOffset":72027,"endOffset":72342,"count":0},{"startOffset":72344,"endOffset":72526,"count":0},{"startOffset":72530,"endOffset":72544,"count":646}],"isBlockCoverage":true},{"functionName":"realpathSync.native","ranges":[{"startOffset":72792,"endOffset":73056,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":73363,"endOffset":76894,"count":0}],"isBlockCoverage":false},{"functionName":"realpath.native","ranges":[{"startOffset":77221,"endOffset":77516,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":77761,"endOffset":78271,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtempSync","ranges":[{"startOffset":78452,"endOffset":78944,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":79208,"endOffset":79669,"count":0}],"isBlockCoverage":false},{"functionName":"copyFileSync","ranges":[{"startOffset":79901,"endOffset":79979,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":80272,"endOffset":80677,"count":0}],"isBlockCoverage":false},{"functionName":"cpSync","ranges":[{"startOffset":80938,"endOffset":81202,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadStreams","ranges":[{"startOffset":81204,"endOffset":81395,"count":40},{"startOffset":81252,"endOffset":81393,"count":1}],"isBlockCoverage":true},{"functionName":"createReadStream","ranges":[{"startOffset":81824,"endOffset":81929,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":82264,"endOffset":82371,"count":0}],"isBlockCoverage":false},{"functionName":"get ReadStream","ranges":[{"startOffset":83615,"endOffset":83683,"count":10}],"isBlockCoverage":true},{"functionName":"set ReadStream","ranges":[{"startOffset":83688,"endOffset":83735,"count":0}],"isBlockCoverage":false},{"functionName":"get WriteStream","ranges":[{"startOffset":83740,"endOffset":83810,"count":10}],"isBlockCoverage":true},{"functionName":"set WriteStream","ranges":[{"startOffset":83815,"endOffset":83864,"count":0}],"isBlockCoverage":false},{"functionName":"get FileReadStream","ranges":[{"startOffset":84002,"endOffset":84078,"count":10}],"isBlockCoverage":true},{"functionName":"set FileReadStream","ranges":[{"startOffset":84083,"endOffset":84138,"count":0}],"isBlockCoverage":false},{"functionName":"get FileWriteStream","ranges":[{"startOffset":84143,"endOffset":84221,"count":10}],"isBlockCoverage":true},{"functionName":"set FileWriteStream","ranges":[{"startOffset":84226,"endOffset":84283,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":84916,"endOffset":85012,"count":10}],"isBlockCoverage":true}]},{"scriptId":"154","url":"node:internal/blob","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12628,"count":1}],"isBlockCoverage":false},{"functionName":"lazyReadableStream","ranges":[{"startOffset":1851,"endOffset":2063,"count":0}],"isBlockCoverage":false},{"functionName":"isBlob","ranges":[{"startOffset":2113,"endOffset":2182,"count":0}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":2184,"endOffset":2863,"count":0}],"isBlockCoverage":false},{"functionName":"Blob","ranges":[{"startOffset":3115,"endOffset":4227,"count":1},{"startOffset":3274,"endOffset":3353,"count":0},{"startOffset":3552,"endOffset":3575,"count":0},{"startOffset":3583,"endOffset":3643,"count":0},{"startOffset":3861,"endOffset":3904,"count":0},{"startOffset":4087,"endOffset":4097,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3705,"endOffset":3824,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4231,"endOffset":4501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4505,"endOffset":4957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4961,"endOffset":5087,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":5138,"endOffset":5243,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":5294,"endOffset":5401,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":5529,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBuffer","ranges":[{"startOffset":6364,"endOffset":7373,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":7421,"endOffset":7586,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":7633,"endOffset":10704,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob","ranges":[{"startOffset":10708,"endOffset":10803,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedBlob.","ranges":[{"startOffset":10841,"endOffset":10849,"count":0}],"isBlockCoverage":false},{"functionName":"createBlob","ranges":[{"startOffset":10852,"endOffset":11055,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObjectURL","ranges":[{"startOffset":11408,"endOffset":12019,"count":0}],"isBlockCoverage":false},{"functionName":"createBlobFromFilePath","ranges":[{"startOffset":12142,"endOffset":12501,"count":0}],"isBlockCoverage":false}]},{"scriptId":"155","url":"node:internal/encoding","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17340,"count":1}],"isBlockCoverage":false},{"functionName":"validateEncoder","ranges":[{"startOffset":1250,"endOffset":1375,"count":0}],"isBlockCoverage":false},{"functionName":"validateDecoder","ranges":[{"startOffset":1377,"endOffset":1502,"count":58},{"startOffset":1458,"endOffset":1500,"count":0}],"isBlockCoverage":true},{"functionName":"trimAsciiWhitespace","ranges":[{"startOffset":8799,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"getEncodingFromLabel","ranges":[{"startOffset":9299,"endOffset":9478,"count":4},{"startOffset":9410,"endOffset":9477,"count":0}],"isBlockCoverage":true},{"functionName":"TextEncoder","ranges":[{"startOffset":9502,"endOffset":9548,"count":3}],"isBlockCoverage":true},{"functionName":"get encoding","ranges":[{"startOffset":9552,"endOffset":9619,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":9623,"endOffset":9715,"count":0}],"isBlockCoverage":false},{"functionName":"encodeInto","ranges":[{"startOffset":9719,"endOffset":10125,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10129,"endOffset":10526,"count":0}],"isBlockCoverage":false},{"functionName":"makeTextDecoderICU","ranges":[{"startOffset":10898,"endOffset":12864,"count":1}],"isBlockCoverage":true},{"functionName":"TextDecoder","ranges":[{"startOffset":11036,"endOffset":11973,"count":4},{"startOffset":11346,"endOffset":11393,"count":0},{"startOffset":11477,"endOffset":11500,"count":2},{"startOffset":11501,"endOffset":11504,"count":2},{"startOffset":11541,"endOffset":11569,"count":2},{"startOffset":11570,"endOffset":11573,"count":2},{"startOffset":11924,"endOffset":11967,"count":0}],"isBlockCoverage":true},{"functionName":"#prepareConverter","ranges":[{"startOffset":11979,"endOffset":12244,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":12250,"endOffset":12835,"count":58},{"startOffset":12485,"endOffset":12834,"count":0}],"isBlockCoverage":true},{"functionName":"makeTextDecoderJS","ranges":[{"startOffset":12866,"endOffset":15701,"count":0}],"isBlockCoverage":false},{"functionName":"get encoding","ranges":[{"startOffset":15798,"endOffset":15873,"count":0}],"isBlockCoverage":false},{"functionName":"get fatal","ranges":[{"startOffset":15878,"endOffset":15999,"count":0}],"isBlockCoverage":false},{"functionName":"get ignoreBOM","ranges":[{"startOffset":16004,"endOffset":16153,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectGetOwnPropertyDescriptors","ranges":[{"startOffset":16158,"endOffset":16741,"count":0}],"isBlockCoverage":false}]},{"scriptId":"156","url":"node:internal/webstreams/queuingstrategies","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3851,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":931,"endOffset":958,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1038,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"getNonWritablePropertyDescriptor","ranges":[{"startOffset":1114,"endOffset":1200,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1238,"endOffset":2284,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2544,"endOffset":3561,"count":0}],"isBlockCoverage":false}]},{"scriptId":"157","url":"node:internal/webstreams/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7549,"count":1}],"isBlockCoverage":false},{"functionName":"extractHighWaterMark","ranges":[{"startOffset":1074,"endOffset":1367,"count":0}],"isBlockCoverage":false},{"functionName":"extractSizeAlgorithm","ranges":[{"startOffset":1369,"endOffset":1508,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":1510,"endOffset":1742,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetBuffer","ranges":[{"startOffset":1926,"endOffset":2034,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteLength","ranges":[{"startOffset":2036,"endOffset":2152,"count":0}],"isBlockCoverage":false},{"functionName":"ArrayBufferViewGetByteOffset","ranges":[{"startOffset":2154,"endOffset":2270,"count":0}],"isBlockCoverage":false},{"functionName":"cloneAsUint8Array","ranges":[{"startOffset":2272,"endOffset":2577,"count":0}],"isBlockCoverage":false},{"functionName":"isBrandCheck","ranges":[{"startOffset":2579,"endOffset":2743,"count":12}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2619,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"transferArrayBuffer","ranges":[{"startOffset":2745,"endOffset":2968,"count":0}],"isBlockCoverage":false},{"functionName":"isViewedArrayBufferDetached","ranges":[{"startOffset":2970,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"dequeueValue","ranges":[{"startOffset":3140,"endOffset":3525,"count":0}],"isBlockCoverage":false},{"functionName":"resetQueue","ranges":[{"startOffset":3527,"endOffset":3745,"count":0}],"isBlockCoverage":false},{"functionName":"peekQueueValue","ranges":[{"startOffset":3747,"endOffset":3982,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueValueWithSize","ranges":[{"startOffset":3984,"endOffset":4449,"count":0}],"isBlockCoverage":false},{"functionName":"ensureIsPromise","ranges":[{"startOffset":4451,"endOffset":4690,"count":0}],"isBlockCoverage":false},{"functionName":"isPromisePending","ranges":[{"startOffset":4692,"endOffset":4855,"count":0}],"isBlockCoverage":false},{"functionName":"setPromiseHandled","ranges":[{"startOffset":4857,"endOffset":5136,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpFlush","ranges":[{"startOffset":5138,"endOffset":5168,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpStart","ranges":[{"startOffset":5170,"endOffset":5194,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpPull","ranges":[{"startOffset":5196,"endOffset":5225,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpCancel","ranges":[{"startOffset":5227,"endOffset":5258,"count":0}],"isBlockCoverage":false},{"functionName":"nonOpWrite","ranges":[{"startOffset":5260,"endOffset":5290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyTransfer","ranges":[{"startOffset":5306,"endOffset":5438,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncFromSyncIterator","ranges":[{"startOffset":5440,"endOffset":5779,"count":0}],"isBlockCoverage":false},{"functionName":"getIterator","ranges":[{"startOffset":5781,"endOffset":6509,"count":0}],"isBlockCoverage":false},{"functionName":"iteratorNext","ranges":[{"startOffset":6511,"endOffset":6973,"count":0}],"isBlockCoverage":false}]},{"scriptId":"158","url":"node:internal/fs/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":26847,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFs","ranges":[{"startOffset":3551,"endOffset":3630,"count":0}],"isBlockCoverage":false},{"functionName":"assertEncoding","ranges":[{"startOffset":3632,"endOffset":3832,"count":1349},{"startOffset":3683,"endOffset":3714,"count":572},{"startOffset":3716,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"Dirent","ranges":[{"startOffset":3851,"endOffset":3954,"count":0}],"isBlockCoverage":false},{"functionName":"isDirectory","ranges":[{"startOffset":3958,"endOffset":4019,"count":0}],"isBlockCoverage":false},{"functionName":"isFile","ranges":[{"startOffset":4023,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"isBlockDevice","ranges":[{"startOffset":4084,"endOffset":4149,"count":0}],"isBlockCoverage":false},{"functionName":"isCharacterDevice","ranges":[{"startOffset":4153,"endOffset":4221,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbolicLink","ranges":[{"startOffset":4225,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"isFIFO","ranges":[{"startOffset":4294,"endOffset":4351,"count":0}],"isBlockCoverage":false},{"functionName":"isSocket","ranges":[{"startOffset":4355,"endOffset":4416,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats","ranges":[{"startOffset":4461,"endOffset":4552,"count":0}],"isBlockCoverage":false},{"functionName":"DirentFromStats.","ranges":[{"startOffset":4697,"endOffset":4746,"count":0}],"isBlockCoverage":false},{"functionName":"copyObject","ranges":[{"startOffset":4751,"endOffset":4879,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":4929,"endOffset":5536,"count":0}],"isBlockCoverage":false},{"functionName":"getDirents","ranges":[{"startOffset":5538,"endOffset":6653,"count":0}],"isBlockCoverage":false},{"functionName":"getDirent","ranges":[{"startOffset":6655,"endOffset":7436,"count":0}],"isBlockCoverage":false},{"functionName":"getOptions","ranges":[{"startOffset":7438,"endOffset":8064,"count":1409},{"startOffset":7522,"endOffset":7554,"count":1349},{"startOffset":7556,"endOffset":7588,"count":60},{"startOffset":7588,"endOffset":7625,"count":1349},{"startOffset":7625,"endOffset":7743,"count":572},{"startOffset":7743,"endOffset":7865,"count":777},{"startOffset":7782,"endOffset":7865,"count":0},{"startOffset":7865,"endOffset":7979,"count":1349},{"startOffset":7979,"endOffset":8043,"count":0},{"startOffset":8043,"endOffset":8063,"count":1349}],"isBlockCoverage":true},{"functionName":"handleErrorFromBinding","ranges":[{"startOffset":8122,"endOffset":8651,"count":876},{"startOffset":8192,"endOffset":8327,"count":0},{"startOffset":8359,"endOffset":8649,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8792,"endOffset":9388,"count":1409},{"startOffset":9022,"endOffset":9042,"count":0},{"startOffset":9112,"endOffset":9180,"count":0},{"startOffset":9199,"endOffset":9387,"count":0}],"isBlockCoverage":true},{"functionName":"preprocessSymlinkDestination","ranges":[{"startOffset":9392,"endOffset":10098,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase","ranges":[{"startOffset":10131,"endOffset":10438,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isDirectory","ranges":[{"startOffset":10474,"endOffset":10531,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFile","ranges":[{"startOffset":10563,"endOffset":10620,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isBlockDevice","ranges":[{"startOffset":10659,"endOffset":10716,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isCharacterDevice","ranges":[{"startOffset":10759,"endOffset":10816,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSymbolicLink","ranges":[{"startOffset":10856,"endOffset":10913,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isFIFO","ranges":[{"startOffset":10945,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"StatsBase.isSocket","ranges":[{"startOffset":11036,"endOffset":11094,"count":0}],"isBlockCoverage":false},{"functionName":"msFromTimeSpec","ranges":[{"startOffset":11219,"endOffset":11301,"count":0}],"isBlockCoverage":false},{"functionName":"nsFromTimeSpecBigInt","ranges":[{"startOffset":11303,"endOffset":11386,"count":0}],"isBlockCoverage":false},{"functionName":"dateFromMs","ranges":[{"startOffset":11788,"endOffset":11899,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats","ranges":[{"startOffset":11901,"endOffset":12664,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntStats._checkModeProperty","ranges":[{"startOffset":12822,"endOffset":13068,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":13071,"endOffset":13613,"count":0}],"isBlockCoverage":false},{"functionName":"Stats._checkModeProperty","ranges":[{"startOffset":13954,"endOffset":14184,"count":0}],"isBlockCoverage":false},{"functionName":"getStatsFromBinding","ranges":[{"startOffset":14302,"endOffset":15381,"count":0}],"isBlockCoverage":false},{"functionName":"StatFs","ranges":[{"startOffset":15400,"endOffset":15637,"count":0}],"isBlockCoverage":false},{"functionName":"getStatFsFromBinding","ranges":[{"startOffset":15641,"endOffset":15781,"count":0}],"isBlockCoverage":false},{"functionName":"stringToFlags","ranges":[{"startOffset":15783,"endOffset":17039,"count":632},{"startOffset":15864,"endOffset":15919,"count":0},{"startOffset":15942,"endOffset":15968,"count":0},{"startOffset":16025,"endOffset":16036,"count":0},{"startOffset":16058,"endOffset":16095,"count":0},{"startOffset":16100,"endOffset":16126,"count":0},{"startOffset":16131,"endOffset":16143,"count":0},{"startOffset":16165,"endOffset":16201,"count":0},{"startOffset":16207,"endOffset":16254,"count":0},{"startOffset":16259,"endOffset":16270,"count":0},{"startOffset":16292,"endOffset":16349,"count":0},{"startOffset":16355,"endOffset":16401,"count":0},{"startOffset":16406,"endOffset":16417,"count":0},{"startOffset":16439,"endOffset":16494,"count":0},{"startOffset":16500,"endOffset":16548,"count":0},{"startOffset":16553,"endOffset":16564,"count":0},{"startOffset":16586,"endOffset":16644,"count":0},{"startOffset":16649,"endOffset":16660,"count":0},{"startOffset":16682,"endOffset":16740,"count":0},{"startOffset":16746,"endOffset":16793,"count":0},{"startOffset":16798,"endOffset":16809,"count":0},{"startOffset":16831,"endOffset":16887,"count":0},{"startOffset":16892,"endOffset":16903,"count":0},{"startOffset":16925,"endOffset":16981,"count":0},{"startOffset":16985,"endOffset":17038,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":17085,"endOffset":17445,"count":0}],"isBlockCoverage":false},{"functionName":"toUnixTimestamp","ranges":[{"startOffset":17507,"endOffset":17962,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18016,"endOffset":18395,"count":1},{"startOffset":18072,"endOffset":18139,"count":0},{"startOffset":18160,"endOffset":18227,"count":0},{"startOffset":18268,"endOffset":18391,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18454,"endOffset":18858,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18901,"endOffset":19171,"count":1409},{"startOffset":18963,"endOffset":18985,"count":0},{"startOffset":18987,"endOffset":19073,"count":0},{"startOffset":19149,"endOffset":19169,"count":0}],"isBlockCoverage":true},{"functionName":"possiblyTransformPath","ranges":[{"startOffset":19542,"endOffset":19853,"count":632},{"startOffset":19611,"endOffset":19836,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":19896,"endOffset":20054,"count":632}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20097,"endOffset":20218,"count":2},{"startOffset":20148,"endOffset":20167,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20266,"endOffset":20597,"count":0}],"isBlockCoverage":false},{"functionName":"warnOnNonPortableTemplate","ranges":[{"startOffset":20638,"endOffset":21238,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21663,"endOffset":22550,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22596,"endOffset":23275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23325,"endOffset":23942,"count":0}],"isBlockCoverage":false},{"functionName":"emitRecursiveRmdirWarning","ranges":[{"startOffset":23996,"endOffset":24330,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24380,"endOffset":24777,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24818,"endOffset":25186,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25249,"endOffset":25433,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25478,"endOffset":25948,"count":1},{"startOffset":25578,"endOffset":25946,"count":0}],"isBlockCoverage":true}]},{"scriptId":"159","url":"node:internal/fs/sync","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2257,"count":1}],"isBlockCoverage":false},{"functionName":"readFileUtf8","ranges":[{"startOffset":395,"endOffset":582,"count":572}],"isBlockCoverage":true},{"functionName":"exists","ranges":[{"startOffset":584,"endOffset":751,"count":0}],"isBlockCoverage":false},{"functionName":"access","ranges":[{"startOffset":753,"endOffset":920,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":922,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":1184,"endOffset":1509,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":1511,"endOffset":1723,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":1725,"endOffset":1932,"count":2}],"isBlockCoverage":true},{"functionName":"close","ranges":[{"startOffset":1934,"endOffset":2016,"count":1}],"isBlockCoverage":true},{"functionName":"unlink","ranges":[{"startOffset":2018,"endOffset":2140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"160","url":"node:internal/dns/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9584,"count":1}],"isBlockCoverage":false},{"functionName":"lazyBinding","ranges":[{"startOffset":506,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":957,"endOffset":1104,"count":0}],"isBlockCoverage":false},{"functionName":"validateTries","ranges":[{"startOffset":1106,"endOffset":1241,"count":0}],"isBlockCoverage":false},{"functionName":"ResolverBase","ranges":[{"startOffset":1635,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1988,"endOffset":2124,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":2128,"endOffset":2169,"count":0}],"isBlockCoverage":false},{"functionName":"getServers","ranges":[{"startOffset":2173,"endOffset":2441,"count":0}],"isBlockCoverage":false},{"functionName":"setServers","ranges":[{"startOffset":2445,"endOffset":3846,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3850,"endOffset":4405,"count":0}],"isBlockCoverage":false},{"functionName":"setLocalAddress","ranges":[{"startOffset":4410,"endOffset":4695,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4815,"endOffset":5035,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5039,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"initializeDns","ranges":[{"startOffset":5427,"endOffset":5813,"count":1},{"startOffset":5570,"endOffset":5680,"count":0},{"startOffset":5728,"endOffset":5812,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5753,"endOffset":5809,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResolver","ranges":[{"startOffset":6074,"endOffset":6355,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResolver","ranges":[{"startOffset":6357,"endOffset":6428,"count":0}],"isBlockCoverage":false},{"functionName":"bindDefaultResolver","ranges":[{"startOffset":6430,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"validateHints","ranges":[{"startOffset":6654,"endOffset":6873,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidHostnameWarning","ranges":[{"startOffset":6918,"endOffset":7272,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultVerbatim","ranges":[{"startOffset":7274,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultResultOrder","ranges":[{"startOffset":7344,"endOffset":7468,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultResultOrder","ranges":[{"startOffset":7470,"endOffset":7525,"count":0}],"isBlockCoverage":false},{"functionName":"createResolverClass","ranges":[{"startOffset":7527,"endOffset":8635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"161","url":"node:internal/net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2248,"count":1}],"isBlockCoverage":false},{"functionName":"isIPv4","ranges":[{"startOffset":1023,"endOffset":1296,"count":0}],"isBlockCoverage":false},{"functionName":"isIPv6","ranges":[{"startOffset":1298,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"isIP","ranges":[{"startOffset":1573,"endOffset":1659,"count":0}],"isBlockCoverage":false},{"functionName":"makeSyncWrite","ranges":[{"startOffset":1661,"endOffset":2075,"count":0}],"isBlockCoverage":false}]},{"scriptId":"162","url":"node:worker_threads","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":687,"count":1}],"isBlockCoverage":false}]},{"scriptId":"163","url":"node:internal/worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16395,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2471,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"process.chdir","ranges":[{"startOffset":2984,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"setEnvironmentData","ranges":[{"startOffset":3069,"endOffset":3216,"count":0}],"isBlockCoverage":false},{"functionName":"getEnvironmentData","ranges":[{"startOffset":3218,"endOffset":3289,"count":0}],"isBlockCoverage":false},{"functionName":"assignEnvironmentData","ranges":[{"startOffset":3291,"endOffset":3441,"count":1},{"startOffset":3356,"endOffset":3363,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3379,"endOffset":3437,"count":0}],"isBlockCoverage":false},{"functionName":"Worker","ranges":[{"startOffset":3481,"endOffset":9221,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9225,"endOffset":9857,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9861,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9961,"endOffset":10130,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10134,"endOffset":11027,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11031,"endOffset":11499,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":11503,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"terminate","ranges":[{"startOffset":11652,"endOffset":12486,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":12490,"endOffset":12596,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":12600,"endOffset":12712,"count":0}],"isBlockCoverage":false},{"functionName":"get threadId","ranges":[{"startOffset":12716,"endOffset":12815,"count":0}],"isBlockCoverage":false},{"functionName":"get stdin","ranges":[{"startOffset":12819,"endOffset":12877,"count":0}],"isBlockCoverage":false},{"functionName":"get stdout","ranges":[{"startOffset":12881,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"get stderr","ranges":[{"startOffset":12945,"endOffset":13005,"count":0}],"isBlockCoverage":false},{"functionName":"get resourceLimits","ranges":[{"startOffset":13009,"endOffset":13145,"count":0}],"isBlockCoverage":false},{"functionName":"getHeapSnapshot","ranges":[{"startOffset":13149,"endOffset":13656,"count":0}],"isBlockCoverage":false},{"functionName":"InternalWorker","ranges":[{"startOffset":13849,"endOffset":13928,"count":0}],"isBlockCoverage":false},{"functionName":"receiveMessageSync","ranges":[{"startOffset":13932,"endOffset":14010,"count":0}],"isBlockCoverage":false},{"functionName":"pipeWithoutWarning","ranges":[{"startOffset":14014,"endOffset":14336,"count":0}],"isBlockCoverage":false},{"functionName":"parseResourceLimits","ranges":[{"startOffset":14410,"endOffset":15024,"count":0}],"isBlockCoverage":false},{"functionName":"makeResourceLimits","ranges":[{"startOffset":15026,"endOffset":15313,"count":1}],"isBlockCoverage":true},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":15315,"endOffset":16118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"164","url":"node:internal/perf/event_loop_utilization","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":false},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":153,"endOffset":446,"count":0}],"isBlockCoverage":false},{"functionName":"internalEventLoopUtilization","ranges":[{"startOffset":448,"endOffset":1447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"165","url":"node:internal/error_serdes","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5723,"count":1}],"isBlockCoverage":false},{"functionName":"TryGetAllProperties","ranges":[{"startOffset":1039,"endOffset":2143,"count":0}],"isBlockCoverage":false},{"functionName":"GetConstructors","ranges":[{"startOffset":2145,"endOffset":2588,"count":0}],"isBlockCoverage":false},{"functionName":"GetName","ranges":[{"startOffset":2590,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":2737,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":2924,"endOffset":4219,"count":0}],"isBlockCoverage":false},{"functionName":"fromBuffer","ranges":[{"startOffset":4221,"endOffset":4442,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeError","ranges":[{"startOffset":4461,"endOffset":5666,"count":0}],"isBlockCoverage":false}]},{"scriptId":"166","url":"node:diagnostics_channel","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9791,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":734,"endOffset":1143,"count":1}],"isBlockCoverage":false},{"functionName":"#finalizers","ranges":[{"startOffset":814,"endOffset":850,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":856,"endOffset":973,"count":23}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":977,"endOffset":1025,"count":23},{"startOffset":1013,"endOffset":1018,"count":0}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":1029,"endOffset":1083,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":1087,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"markActive","ranges":[{"startOffset":1145,"endOffset":1350,"count":0}],"isBlockCoverage":false},{"functionName":"maybeMarkInactive","ranges":[{"startOffset":1352,"endOffset":1720,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTransform","ranges":[{"startOffset":1722,"endOffset":1772,"count":0}],"isBlockCoverage":false},{"functionName":"wrapStoreRun","ranges":[{"startOffset":1774,"endOffset":2102,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":2184,"endOffset":2354,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":2358,"endOffset":2635,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":2639,"endOffset":2807,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":2811,"endOffset":3010,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":3014,"endOffset":3057,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":3061,"endOffset":3370,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":3374,"endOffset":3713,"count":0}],"isBlockCoverage":false},{"functionName":"Channel","ranges":[{"startOffset":3735,"endOffset":3876,"count":23}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3887,"endOffset":4072,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":4076,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4165,"endOffset":4202,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":4206,"endOffset":4299,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":4303,"endOffset":4340,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":4344,"endOffset":4388,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":4392,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":4408,"endOffset":4495,"count":0}],"isBlockCoverage":false},{"functionName":"channel","ranges":[{"startOffset":4535,"endOffset":4801,"count":23},{"startOffset":4613,"endOffset":4628,"count":0},{"startOffset":4661,"endOffset":4688,"count":0},{"startOffset":4690,"endOffset":4770,"count":0}],"isBlockCoverage":true},{"functionName":"subscribe","ranges":[{"startOffset":4803,"endOffset":4893,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4895,"endOffset":4989,"count":0}],"isBlockCoverage":false},{"functionName":"hasSubscribers","ranges":[{"startOffset":4991,"endOffset":5126,"count":0}],"isBlockCoverage":false},{"functionName":"assertChannel","ranges":[{"startOffset":5215,"endOffset":5357,"count":0}],"isBlockCoverage":false},{"functionName":"TracingChannel","ranges":[{"startOffset":5384,"endOffset":6531,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":6535,"endOffset":6687,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":6691,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"traceSync","ranges":[{"startOffset":6928,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"tracePromise","ranges":[{"startOffset":7358,"endOffset":8459,"count":0}],"isBlockCoverage":false},{"functionName":"traceCallback","ranges":[{"startOffset":8463,"endOffset":9589,"count":0}],"isBlockCoverage":false},{"functionName":"tracingChannel","ranges":[{"startOffset":9593,"endOffset":9681,"count":0}],"isBlockCoverage":false}]},{"scriptId":"167","url":"node:internal/modules/cjs/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":45478,"count":1}],"isBlockCoverage":false},{"functionName":"get hasLoadedAnyUserCJSModule","ranges":[{"startOffset":2238,"endOffset":2307,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3478,"endOffset":3569,"count":1},{"startOffset":3525,"endOffset":3561,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3618,"endOffset":3661,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3702,"endOffset":3756,"count":1}],"isBlockCoverage":true},{"functionName":"internalRequire","ranges":[{"startOffset":4610,"endOffset":4935,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4937,"endOffset":5347,"count":2416},{"startOffset":5035,"endOffset":5129,"count":1499},{"startOffset":5111,"endOffset":5125,"count":406},{"startOffset":5129,"endOffset":5202,"count":2010},{"startOffset":5202,"endOffset":5216,"count":1093},{"startOffset":5218,"endOffset":5328,"count":434},{"startOffset":5328,"endOffset":5346,"count":2010}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":5428,"endOffset":5451,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":5455,"endOffset":5550,"count":0}],"isBlockCoverage":false},{"functionName":"updateChildren","ranges":[{"startOffset":5579,"endOffset":5775,"count":1191},{"startOffset":5651,"endOffset":5661,"count":1141},{"startOffset":5678,"endOffset":5731,"count":1141},{"startOffset":5688,"endOffset":5730,"count":604},{"startOffset":5737,"endOffset":5773,"count":1092}],"isBlockCoverage":true},{"functionName":"reportModuleToWatchMode","ranges":[{"startOffset":5777,"endOffset":5933,"count":1792},{"startOffset":5858,"endOffset":5873,"count":0},{"startOffset":5875,"endOffset":5931,"count":0}],"isBlockCoverage":true},{"functionName":"reportModuleNotFoundToWatchMode","ranges":[{"startOffset":5935,"endOffset":6174,"count":25},{"startOffset":6036,"endOffset":6051,"count":0},{"startOffset":6053,"endOffset":6172,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6121,"endOffset":6163,"count":0}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":6221,"endOffset":6978,"count":564},{"startOffset":6534,"endOffset":6544,"count":0},{"startOffset":6562,"endOffset":6926,"count":0}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":7220,"endOffset":7297,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7463,"endOffset":7585,"count":0}],"isBlockCoverage":false},{"functionName":"defineProperty","ranges":[{"startOffset":7590,"endOffset":7723,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7790,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7823,"endOffset":7877,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7947,"endOffset":7983,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7988,"endOffset":8050,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8084,"endOffset":8114,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleParent","ranges":[{"startOffset":8274,"endOffset":8342,"count":0}],"isBlockCoverage":false},{"functionName":"setModuleParent","ranges":[{"startOffset":8344,"endOffset":8417,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8484,"endOffset":8509,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCJS","ranges":[{"startOffset":9188,"endOffset":9688,"count":1}],"isBlockCoverage":true},{"functionName":"readPackage","ranges":[{"startOffset":9982,"endOffset":10095,"count":2878}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":10197,"endOffset":10227,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10231,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"readPackageScope","ranges":[{"startOffset":10383,"endOffset":11176,"count":1323},{"startOffset":10570,"endOffset":11113,"count":2688},{"startOffset":10819,"endOffset":10865,"count":0},{"startOffset":10867,"endOffset":10894,"count":0},{"startOffset":10967,"endOffset":10980,"count":0},{"startOffset":11052,"endOffset":11109,"count":1323},{"startOffset":11113,"endOffset":11175,"count":0}],"isBlockCoverage":true},{"functionName":"tryPackage","ranges":[{"startOffset":11178,"endOffset":12457,"count":87},{"startOffset":11300,"endOffset":11381,"count":31},{"startOffset":11381,"endOffset":11475,"count":56},{"startOffset":11475,"endOffset":11519,"count":2},{"startOffset":11520,"endOffset":11587,"count":0},{"startOffset":11613,"endOffset":12438,"count":0},{"startOffset":12438,"endOffset":12456,"count":56}],"isBlockCoverage":true},{"functionName":"tryFile","ranges":[{"startOffset":12802,"endOffset":13034,"count":964},{"startOffset":12891,"endOffset":12898,"count":338},{"startOffset":12898,"endOffset":12943,"count":626},{"startOffset":12943,"endOffset":12953,"count":0},{"startOffset":12955,"endOffset":12998,"count":0},{"startOffset":12998,"endOffset":13033,"count":626}],"isBlockCoverage":true},{"functionName":"toRealPath","ranges":[{"startOffset":13036,"endOffset":13168,"count":670}],"isBlockCoverage":true},{"functionName":"tryExtensions","ranges":[{"startOffset":13243,"endOffset":13449,"count":680},{"startOffset":13325,"endOffset":13431,"count":904},{"startOffset":13397,"endOffset":13427,"count":568},{"startOffset":13431,"endOffset":13448,"count":112}],"isBlockCoverage":true},{"functionName":"findLongestRegisteredExtension","ranges":[{"startOffset":13538,"endOffset":14006,"count":562},{"startOffset":13813,"endOffset":13822,"count":0},{"startOffset":13960,"endOffset":13984,"count":551},{"startOffset":13988,"endOffset":14005,"count":11}],"isBlockCoverage":true},{"functionName":"trySelfParentPath","ranges":[{"startOffset":14008,"endOffset":14297,"count":797},{"startOffset":14060,"endOffset":14073,"count":23},{"startOffset":14073,"endOffset":14131,"count":774},{"startOffset":14131,"endOffset":14295,"count":0}],"isBlockCoverage":true},{"functionName":"trySelf","ranges":[{"startOffset":14299,"endOffset":15197,"count":797},{"startOffset":14358,"endOffset":14371,"count":23},{"startOffset":14371,"endOffset":14475,"count":774},{"startOffset":14476,"endOffset":14501,"count":39},{"startOffset":14503,"endOffset":14526,"count":735},{"startOffset":14526,"endOffset":14573,"count":39},{"startOffset":14573,"endOffset":14599,"count":0},{"startOffset":14599,"endOffset":14765,"count":39},{"startOffset":14661,"endOffset":14736,"count":0},{"startOffset":14765,"endOffset":15195,"count":0}],"isBlockCoverage":true},{"functionName":"resolveExports","ranges":[{"startOffset":15358,"endOffset":16166,"count":669},{"startOffset":15565,"endOffset":15580,"count":566},{"startOffset":15599,"endOffset":15606,"count":566},{"startOffset":15606,"endOffset":15707,"count":103},{"startOffset":15707,"endOffset":15729,"count":78},{"startOffset":15731,"endOffset":16164,"count":4},{"startOffset":16011,"endOffset":16160,"count":0}],"isBlockCoverage":true},{"functionName":"Module._findPath","ranges":[{"startOffset":16434,"endOffset":20492,"count":798},{"startOffset":16544,"endOffset":16567,"count":25},{"startOffset":16567,"endOffset":16630,"count":773},{"startOffset":16607,"endOffset":16630,"count":0},{"startOffset":16767,"endOffset":16780,"count":129},{"startOffset":16780,"endOffset":17363,"count":669},{"startOffset":17002,"endOffset":17356,"count":0},{"startOffset":17438,"endOffset":17894,"count":566},{"startOffset":17544,"endOffset":17629,"count":69},{"startOffset":17564,"endOffset":17628,"count":0},{"startOffset":17630,"endOffset":17888,"count":69},{"startOffset":17799,"endOffset":17886,"count":0},{"startOffset":17939,"endOffset":18093,"count":566},{"startOffset":18056,"endOffset":18089,"count":69},{"startOffset":18093,"endOffset":18155,"count":669},{"startOffset":18155,"endOffset":20473,"count":856},{"startOffset":18296,"endOffset":18306,"count":787},{"startOffset":18307,"endOffset":18403,"count":762},{"startOffset":18341,"endOffset":18379,"count":0},{"startOffset":18410,"endOffset":18433,"count":162},{"startOffset":18433,"endOffset":18461,"count":694},{"startOffset":18461,"endOffset":18591,"count":669},{"startOffset":18562,"endOffset":18585,"count":4},{"startOffset":18591,"endOffset":19950,"count":690},{"startOffset":18743,"endOffset":19727,"count":43},{"startOffset":18776,"endOffset":18965,"count":42},{"startOffset":18831,"endOffset":18891,"count":0},{"startOffset":18965,"endOffset":19719,"count":1},{"startOffset":19019,"endOffset":19659,"count":0},{"startOffset":19750,"endOffset":19944,"count":647},{"startOffset":19840,"endOffset":19878,"count":622},{"startOffset":19950,"endOffset":19970,"count":690},{"startOffset":19970,"endOffset":19981,"count":112},{"startOffset":19983,"endOffset":20199,"count":87},{"startOffset":20093,"endOffset":20131,"count":0},{"startOffset":20199,"endOffset":20219,"count":690},{"startOffset":20219,"endOffset":20295,"count":665},{"startOffset":20295,"endOffset":20473,"count":25},{"startOffset":20473,"endOffset":20491,"count":0}],"isBlockCoverage":true},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":20736,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":22345,"endOffset":23485,"count":590},{"startOffset":22623,"endOffset":22648,"count":0},{"startOffset":22941,"endOffset":23363,"count":40623},{"startOffset":23037,"endOffset":23233,"count":4485},{"startOffset":23074,"endOffset":23192,"count":3823},{"startOffset":23233,"endOffset":23357,"count":36138},{"startOffset":23253,"endOffset":23357,"count":12850},{"startOffset":23288,"endOffset":23314,"count":9027},{"startOffset":23314,"endOffset":23349,"count":3823}],"isBlockCoverage":true},{"functionName":"Module._resolveLookupPaths","ranges":[{"startOffset":23519,"endOffset":24778,"count":797},{"startOffset":23599,"endOffset":23665,"count":0},{"startOffset":23750,"endOffset":23949,"count":674},{"startOffset":23830,"endOffset":23880,"count":533},{"startOffset":23881,"endOffset":23948,"count":0},{"startOffset":23951,"endOffset":24250,"count":123},{"startOffset":23983,"endOffset":23998,"count":100},{"startOffset":24000,"endOffset":24110,"count":100},{"startOffset":24110,"endOffset":24150,"count":23},{"startOffset":24239,"endOffset":24245,"count":0},{"startOffset":24250,"endOffset":24318,"count":674},{"startOffset":24319,"endOffset":24338,"count":674},{"startOffset":24340,"endOffset":24589,"count":0},{"startOffset":24589,"endOffset":24777,"count":674}],"isBlockCoverage":true},{"functionName":"emitCircularRequireWarning","ranges":[{"startOffset":24781,"endOffset":24965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25178,"endOffset":25550,"count":0}],"isBlockCoverage":false},{"functionName":"getOwnPropertyDescriptor","ranges":[{"startOffset":25555,"endOffset":25796,"count":0}],"isBlockCoverage":false},{"functionName":"getExportsForCircularRequire","ranges":[{"startOffset":25803,"endOffset":26447,"count":2},{"startOffset":25972,"endOffset":26265,"count":1},{"startOffset":26267,"endOffset":26419,"count":1}],"isBlockCoverage":true},{"functionName":"Module._load","ranges":[{"startOffset":26860,"endOffset":29991,"count":1253},{"startOffset":26943,"endOffset":27759,"count":1230},{"startOffset":27402,"endOffset":27755,"count":368},{"startOffset":27592,"endOffset":27642,"count":0},{"startOffset":27687,"endOffset":27755,"count":0},{"startOffset":27759,"endOffset":27812,"count":885},{"startOffset":27812,"endOffset":28084,"count":16},{"startOffset":27941,"endOffset":28001,"count":0},{"startOffset":28084,"endOffset":28237,"count":869},{"startOffset":28237,"endOffset":28597,"count":259},{"startOffset":28317,"endOffset":28545,"count":27},{"startOffset":28413,"endOffset":28440,"count":25},{"startOffset":28450,"endOffset":28500,"count":2},{"startOffset":28500,"endOffset":28545,"count":25},{"startOffset":28545,"endOffset":28593,"count":232},{"startOffset":28597,"endOffset":28657,"count":635},{"startOffset":28657,"endOffset":28740,"count":73},{"startOffset":28740,"endOffset":28839,"count":562},{"startOffset":28839,"endOffset":28870,"count":537},{"startOffset":28887,"endOffset":29028,"count":0},{"startOffset":29028,"endOffset":29132,"count":562},{"startOffset":29132,"endOffset":29201,"count":539},{"startOffset":29201,"endOffset":29963,"count":562},{"startOffset":29306,"endOffset":29709,"count":0},{"startOffset":29734,"endOffset":29776,"count":557},{"startOffset":29777,"endOffset":29889,"count":557},{"startOffset":29891,"endOffset":29959,"count":1},{"startOffset":29963,"endOffset":29990,"count":562}],"isBlockCoverage":true},{"functionName":"Module._resolveFilename","ranges":[{"startOffset":30020,"endOffset":33106,"count":870},{"startOffset":30117,"endOffset":30142,"count":73},{"startOffset":30142,"endOffset":30192,"count":797},{"startOffset":30192,"endOffset":30211,"count":0},{"startOffset":30213,"endOffset":31290,"count":0},{"startOffset":31290,"endOffset":31385,"count":797},{"startOffset":31385,"endOffset":31433,"count":0},{"startOffset":31435,"endOffset":32047,"count":0},{"startOffset":32047,"endOffset":32208,"count":797},{"startOffset":32208,"endOffset":32404,"count":0},{"startOffset":32404,"endOffset":32560,"count":797},{"startOffset":32560,"endOffset":33105,"count":0}],"isBlockCoverage":true},{"functionName":"finalizeEsmResolution","ranges":[{"startOffset":33109,"endOffset":33678,"count":4},{"startOffset":33311,"endOffset":33430,"count":0},{"startOffset":33543,"endOffset":33677,"count":0}],"isBlockCoverage":true},{"functionName":"createEsmNotFoundErr","ranges":[{"startOffset":33680,"endOffset":33970,"count":0}],"isBlockCoverage":false},{"functionName":"Module.load","ranges":[{"startOffset":34059,"endOffset":34896,"count":562},{"startOffset":34394,"endOffset":34424,"count":0},{"startOffset":34430,"endOffset":34472,"count":0},{"startOffset":34752,"endOffset":34800,"count":0}],"isBlockCoverage":true},{"functionName":"Module.require","ranges":[{"startOffset":35095,"endOffset":35394,"count":1230},{"startOffset":35155,"endOffset":35273,"count":0}],"isBlockCoverage":true},{"functionName":"wrapSafe","ranges":[{"startOffset":35584,"endOffset":37521,"count":559},{"startOffset":35668,"endOffset":36404,"count":0},{"startOffset":36944,"endOffset":36990,"count":0},{"startOffset":36991,"endOffset":37032,"count":0},{"startOffset":37034,"endOffset":37097,"count":0},{"startOffset":37183,"endOffset":37281,"count":28},{"startOffset":37315,"endOffset":37519,"count":0}],"isBlockCoverage":true},{"functionName":"importModuleDynamically","ranges":[{"startOffset":35895,"endOffset":36134,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":36617,"endOffset":36870,"count":2}],"isBlockCoverage":true},{"functionName":"Module._compile","ranges":[{"startOffset":37721,"endOffset":39539,"count":559},{"startOffset":37812,"endOffset":37822,"count":0},{"startOffset":37840,"endOffset":37993,"count":0},{"startOffset":38126,"endOffset":38150,"count":0},{"startOffset":38152,"endOffset":38888,"count":0},{"startOffset":39111,"endOffset":39137,"count":23},{"startOffset":39162,"endOffset":39301,"count":0},{"startOffset":39503,"endOffset":39520,"count":23}],"isBlockCoverage":true},{"functionName":"Module._extensions..js","ranges":[{"startOffset":39598,"endOffset":41380,"count":559},{"startOffset":39759,"endOffset":39767,"count":25},{"startOffset":39769,"endOffset":39834,"count":25},{"startOffset":39834,"endOffset":39894,"count":534},{"startOffset":39943,"endOffset":41340,"count":548},{"startOffset":39988,"endOffset":40010,"count":0},{"startOffset":40106,"endOffset":41336,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..json","ranges":[{"startOffset":41444,"endOffset":41850,"count":3},{"startOffset":41554,"endOffset":41564,"count":0},{"startOffset":41582,"endOffset":41684,"count":0},{"startOffset":41767,"endOffset":41848,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..node","ranges":[{"startOffset":41914,"endOffset":42256,"count":0}],"isBlockCoverage":false},{"functionName":"createRequireFromPath","ranges":[{"startOffset":42259,"endOffset":42720,"count":2},{"startOffset":42439,"endOffset":42481,"count":0},{"startOffset":42519,"endOffset":42555,"count":0}],"isBlockCoverage":true},{"functionName":"createRequire","ranges":[{"startOffset":42828,"endOffset":43373,"count":2},{"startOffset":43033,"endOffset":43165,"count":0},{"startOffset":43169,"endOffset":43329,"count":0}],"isBlockCoverage":true},{"functionName":"Module._initPaths","ranges":[{"startOffset":43434,"endOffset":44399,"count":1},{"startOffset":43475,"endOffset":43500,"count":0},{"startOffset":43552,"endOffset":43575,"count":0},{"startOffset":43783,"endOffset":43825,"count":0},{"startOffset":44124,"endOffset":44266,"count":0}],"isBlockCoverage":true},{"functionName":"Module._preloadModules","ranges":[{"startOffset":44427,"endOffset":45018,"count":0}],"isBlockCoverage":false},{"functionName":"syncBuiltinESMExports","ranges":[{"startOffset":45052,"endOffset":45233,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":45318,"endOffset":45376,"count":0}],"isBlockCoverage":false}]},{"scriptId":"168","url":"node:internal/vm","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2921,"count":1}],"isBlockCoverage":false},{"functionName":"isContext","ranges":[{"startOffset":419,"endOffset":554,"count":0}],"isBlockCoverage":false},{"functionName":"internalCompileFunction","ranges":[{"startOffset":556,"endOffset":2857,"count":559},{"startOffset":1151,"endOffset":1200,"count":0},{"startOffset":1304,"endOffset":1566,"count":0},{"startOffset":2045,"endOffset":2118,"count":0},{"startOffset":2145,"endOffset":2202,"count":0},{"startOffset":2258,"endOffset":2331,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1675,"endOffset":1824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"169","url":"node:internal/modules/helpers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7741,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":923,"endOffset":948,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCjsConditions","ranges":[{"startOffset":971,"endOffset":1363,"count":1},{"startOffset":1150,"endOffset":1154,"count":0}],"isBlockCoverage":true},{"functionName":"getCjsConditions","ranges":[{"startOffset":1365,"endOffset":1492,"count":4},{"startOffset":1430,"endOffset":1466,"count":0}],"isBlockCoverage":true},{"functionName":"loadBuiltinModule","ranges":[{"startOffset":1494,"endOffset":1823,"count":103},{"startOffset":1595,"endOffset":1612,"count":0}],"isBlockCoverage":true},{"functionName":"lazyModule","ranges":[{"startOffset":1845,"endOffset":1958,"count":561},{"startOffset":1889,"endOffset":1937,"count":1}],"isBlockCoverage":true},{"functionName":"makeRequireFunction","ranges":[{"startOffset":2207,"endOffset":4418,"count":561},{"startOffset":2346,"endOffset":2409,"count":0},{"startOffset":2443,"endOffset":3714,"count":0}],"isBlockCoverage":true},{"functionName":"require","ranges":[{"startOffset":2586,"endOffset":3709,"count":0}],"isBlockCoverage":false},{"functionName":"require","ranges":[{"startOffset":3736,"endOffset":3876,"count":1229}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":3885,"endOffset":4031,"count":0}],"isBlockCoverage":false},{"functionName":"paths","ranges":[{"startOffset":4065,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"stripBOM","ranges":[{"startOffset":4603,"endOffset":4758,"count":3},{"startOffset":4685,"endOffset":4738,"count":0}],"isBlockCoverage":true},{"functionName":"addBuiltinLibsToObject","ranges":[{"startOffset":4760,"endOffset":6720,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeReferrerURL","ranges":[{"startOffset":6788,"endOffset":6976,"count":88},{"startOffset":6895,"endOffset":6941,"count":30},{"startOffset":6941,"endOffset":6975,"count":58}],"isBlockCoverage":true},{"functionName":"hasEsmSyntax","ranges":[{"startOffset":7046,"endOffset":7548,"count":0}],"isBlockCoverage":false}]},{"scriptId":"170","url":"node:internal/modules/package_json_reader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3711,"count":1}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":932,"endOffset":3682,"count":3207},{"startOffset":1028,"endOffset":1065,"count":3005},{"startOffset":1065,"endOffset":1742,"count":202},{"startOffset":1742,"endOffset":1751,"count":0},{"startOffset":1752,"endOffset":1766,"count":0},{"startOffset":1767,"endOffset":1789,"count":202},{"startOffset":1813,"endOffset":3632,"count":103},{"startOffset":1881,"endOffset":2477,"count":0},{"startOffset":2635,"endOffset":2669,"count":101},{"startOffset":2671,"endOffset":2711,"count":101},{"startOffset":2767,"endOffset":2801,"count":57},{"startOffset":2803,"endOffset":2843,"count":57},{"startOffset":2903,"endOffset":2949,"count":29},{"startOffset":3009,"endOffset":3055,"count":1},{"startOffset":3166,"endOffset":3225,"count":28},{"startOffset":3197,"endOffset":3224,"count":26},{"startOffset":3227,"endOffset":3267,"count":28},{"startOffset":3301,"endOffset":3497,"count":1},{"startOffset":3422,"endOffset":3475,"count":0},{"startOffset":3525,"endOffset":3628,"count":0},{"startOffset":3632,"endOffset":3681,"count":202}],"isBlockCoverage":true}]},{"scriptId":"171","url":"node:internal/modules/run_main","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2850,"count":1}],"isBlockCoverage":false},{"functionName":"resolveMainPath","ranges":[{"startOffset":155,"endOffset":666,"count":1},{"startOffset":495,"endOffset":502,"count":0}],"isBlockCoverage":true},{"functionName":"shouldUseESMLoader","ranges":[{"startOffset":668,"endOffset":1558,"count":1},{"startOffset":1184,"endOffset":1196,"count":0},{"startOffset":1378,"endOffset":1390,"count":0},{"startOffset":1457,"endOffset":1470,"count":0}],"isBlockCoverage":true},{"functionName":"runMainESM","ranges":[{"startOffset":1560,"endOffset":1920,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1736,"endOffset":1915,"count":1},{"startOffset":1833,"endOffset":1843,"count":0}],"isBlockCoverage":true},{"functionName":"handleMainPromise","ranges":[{"startOffset":1922,"endOffset":2196,"count":1}],"isBlockCoverage":true},{"functionName":"executeUserEntryPoint","ranges":[{"startOffset":2382,"endOffset":2780,"count":1},{"startOffset":2592,"endOffset":2599,"count":0},{"startOffset":2605,"endOffset":2778,"count":0}],"isBlockCoverage":true}]},{"scriptId":"172","url":"node:internal/modules/esm/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6457,"count":1}],"isBlockCoverage":false},{"functionName":"getDefaultConditions","ranges":[{"startOffset":707,"endOffset":813,"count":108}],"isBlockCoverage":true},{"functionName":"getDefaultConditionsSet","ranges":[{"startOffset":841,"endOffset":956,"count":107}],"isBlockCoverage":true},{"functionName":"initializeDefaultConditions","ranges":[{"startOffset":1036,"endOffset":1418,"count":1},{"startOffset":1219,"endOffset":1223,"count":0}],"isBlockCoverage":true},{"functionName":"getConditionsSet","ranges":[{"startOffset":1488,"endOffset":1847,"count":107},{"startOffset":1601,"endOffset":1809,"count":0}],"isBlockCoverage":true},{"functionName":"registerModule","ranges":[{"startOffset":3590,"endOffset":3817,"count":617}],"isBlockCoverage":true},{"functionName":"initializeImportMetaObject","ranges":[{"startOffset":3842,"endOffset":4133,"count":3}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyCallback","ranges":[{"startOffset":4158,"endOffset":4557,"count":3},{"startOffset":4501,"endOffset":4556,"count":0}],"isBlockCoverage":true},{"functionName":"initializeESM","ranges":[{"startOffset":4722,"endOffset":5098,"count":1}],"isBlockCoverage":true},{"functionName":"isLoaderWorker","ranges":[{"startOffset":5100,"endOffset":5155,"count":1}],"isBlockCoverage":true},{"functionName":"initializeHooks","ranges":[{"startOffset":5157,"endOffset":6268,"count":0}],"isBlockCoverage":false}]},{"scriptId":"173","url":"node:internal/process/esm_loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1190,"count":1}],"isBlockCoverage":false},{"functionName":"get esmLoader","ranges":[{"startOffset":386,"endOffset":458,"count":77}],"isBlockCoverage":true},{"functionName":"loadESM","ranges":[{"startOffset":462,"endOffset":1185,"count":1},{"startOffset":630,"endOffset":846,"count":0},{"startOffset":937,"endOffset":1181,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":728,"endOffset":836,"count":0}],"isBlockCoverage":false}]},{"scriptId":"174","url":"node:internal/modules/esm/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21570,"count":1}],"isBlockCoverage":false},{"functionName":"newResolveCache","ranges":[{"startOffset":783,"endOffset":913,"count":1}],"isBlockCoverage":true},{"functionName":"newLoadCache","ranges":[{"startOffset":915,"endOffset":1036,"count":1}],"isBlockCoverage":true},{"functionName":"getTranslators","ranges":[{"startOffset":1038,"endOffset":1160,"count":98}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1847,"endOffset":14781,"count":1}],"isBlockCoverage":false},{"functionName":"ModuleLoader","ranges":[{"startOffset":3114,"endOffset":3307,"count":1},{"startOffset":3202,"endOffset":3259,"count":0}],"isBlockCoverage":true},{"functionName":"setCustomizations","ranges":[{"startOffset":4847,"endOffset":5091,"count":1},{"startOffset":4950,"endOffset":5032,"count":0}],"isBlockCoverage":true},{"functionName":"eval","ranges":[{"startOffset":5095,"endOffset":6098,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleJob","ranges":[{"startOffset":6833,"endOffset":7068,"count":162}],"isBlockCoverage":true},{"functionName":"getModuleJobSync","ranges":[{"startOffset":7072,"endOffset":7309,"count":0}],"isBlockCoverage":false},{"functionName":"getJobFromResolveResult","ranges":[{"startOffset":7313,"endOffset":7897,"count":162},{"startOffset":7687,"endOffset":7749,"count":0},{"startOffset":7778,"endOffset":7876,"count":97}],"isBlockCoverage":true},{"functionName":"#createModuleJob","ranges":[{"startOffset":8535,"endOffset":9726,"count":97},{"startOffset":9027,"endOffset":9103,"count":0},{"startOffset":9246,"endOffset":9286,"count":1},{"startOffset":9341,"endOffset":9356,"count":0},{"startOffset":9358,"endOffset":9412,"count":0}],"isBlockCoverage":true},{"functionName":"callTranslator","ranges":[{"startOffset":8629,"endOffset":8943,"count":97},{"startOffset":8773,"endOffset":8853,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9035,"endOffset":9103,"count":0}],"isBlockCoverage":false},{"functionName":"moduleProvider","ranges":[{"startOffset":9112,"endOffset":9188,"count":97}],"isBlockCoverage":true},{"functionName":"import","ranges":[{"startOffset":10188,"endOffset":10413,"count":4}],"isBlockCoverage":true},{"functionName":"register","ranges":[{"startOffset":10479,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":11461,"endOffset":12047,"count":162},{"startOffset":11549,"endOffset":11647,"count":0},{"startOffset":11843,"endOffset":11877,"count":1},{"startOffset":11877,"endOffset":12046,"count":161}],"isBlockCoverage":true},{"functionName":"resolveSync","ranges":[{"startOffset":12205,"endOffset":12483,"count":0}],"isBlockCoverage":false},{"functionName":"defaultResolve","ranges":[{"startOffset":12695,"endOffset":13035,"count":161}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":13319,"endOffset":13623,"count":97},{"startOffset":13456,"endOffset":13510,"count":0}],"isBlockCoverage":true},{"functionName":"loadSync","ranges":[{"startOffset":13627,"endOffset":14158,"count":0}],"isBlockCoverage":false},{"functionName":"validateLoadResult","ranges":[{"startOffset":14162,"endOffset":14313,"count":97},{"startOffset":14220,"endOffset":14309,"count":0}],"isBlockCoverage":true},{"functionName":"importMetaInitialize","ranges":[{"startOffset":14317,"endOffset":14652,"count":3},{"startOffset":14385,"endOffset":14469,"count":0}],"isBlockCoverage":true},{"functionName":"forceLoadHooks","ranges":[{"startOffset":14713,"endOffset":14779,"count":1},{"startOffset":14756,"endOffset":14772,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14835,"endOffset":17345,"count":0}],"isBlockCoverage":false},{"functionName":"createModuleLoader","ranges":[{"startOffset":17841,"endOffset":19523,"count":1},{"startOffset":18306,"endOffset":19473,"count":0}],"isBlockCoverage":true},{"functionName":"readableURIEncode","ranges":[{"startOffset":18381,"endOffset":18876,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19196,"endOffset":19284,"count":0}],"isBlockCoverage":false},{"functionName":"getHooksProxy","ranges":[{"startOffset":19636,"endOffset":19812,"count":0}],"isBlockCoverage":false},{"functionName":"register","ranges":[{"startOffset":21096,"endOffset":21495,"count":0}],"isBlockCoverage":false}]},{"scriptId":"175","url":"node:internal/modules/esm/module_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3877,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":281,"endOffset":306,"count":1}],"isBlockCoverage":true},{"functionName":"ResolveCache","ranges":[{"startOffset":850,"endOffset":878,"count":1}],"isBlockCoverage":true},{"functionName":"serializeKey","ranges":[{"startOffset":1224,"endOffset":1836,"count":162},{"startOffset":1633,"endOffset":1835,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1752,"endOffset":1818,"count":0}],"isBlockCoverage":false},{"functionName":"#getModuleCachedImports","ranges":[{"startOffset":1840,"endOffset":2056,"count":323},{"startOffset":1954,"endOffset":2026,"count":37}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2231,"endOffset":2333,"count":162}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":2473,"endOffset":2602,"count":161}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":2606,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"LoadCache","ranges":[{"startOffset":2844,"endOffset":2872,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2921,"endOffset":3064,"count":162},{"startOffset":3051,"endOffset":3059,"count":65}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3067,"endOffset":3662,"count":97},{"startOffset":3286,"endOffset":3322,"count":0},{"startOffset":3324,"endOffset":3394,"count":0},{"startOffset":3478,"endOffset":3484,"count":0}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":3665,"endOffset":3822,"count":0}],"isBlockCoverage":false}]},{"scriptId":"176","url":"node:internal/modules/esm/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4026,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1321,"endOffset":1359,"count":5}],"isBlockCoverage":true},{"functionName":"validateAssertions","ranges":[{"startOffset":1780,"endOffset":3310,"count":97},{"startOffset":2002,"endOffset":2301,"count":0},{"startOffset":2330,"endOffset":2475,"count":0},{"startOffset":2740,"endOffset":2800,"count":0},{"startOffset":2806,"endOffset":2914,"count":0},{"startOffset":2920,"endOffset":3304,"count":0}],"isBlockCoverage":true},{"functionName":"handleInvalidType","ranges":[{"startOffset":3542,"endOffset":3956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"177","url":"node:internal/modules/esm/translators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15691,"count":1}],"isBlockCoverage":false},{"functionName":"lazyTypes","ranges":[{"startOffset":372,"endOffset":484,"count":116},{"startOffset":418,"endOffset":432,"count":115},{"startOffset":432,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":948,"endOffset":973,"count":1}],"isBlockCoverage":true},{"functionName":"initCJSParse","ranges":[{"startOffset":1545,"endOffset":1943,"count":6},{"startOffset":1619,"endOffset":1694,"count":0},{"startOffset":1852,"endOffset":1937,"count":0}],"isBlockCoverage":true},{"functionName":"assertBufferSource","ranges":[{"startOffset":2077,"endOffset":2498,"count":116},{"startOffset":2154,"endOffset":2181,"count":58},{"startOffset":2183,"endOffset":2200,"count":0},{"startOffset":2294,"endOffset":2319,"count":0},{"startOffset":2338,"endOffset":2417,"count":0},{"startOffset":2418,"endOffset":2422,"count":0}],"isBlockCoverage":true},{"functionName":"stringify","ranges":[{"startOffset":2500,"endOffset":2774,"count":83},{"startOffset":2559,"endOffset":2571,"count":25},{"startOffset":2571,"endOffset":2711,"count":58},{"startOffset":2711,"endOffset":2730,"count":1},{"startOffset":2731,"endOffset":2740,"count":57}],"isBlockCoverage":true},{"functionName":"errPath","ranges":[{"startOffset":2776,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":2923,"endOffset":3061,"count":1}],"isBlockCoverage":true},{"functionName":"moduleStrategy","ranges":[{"startOffset":3143,"endOffset":3668,"count":58}],"isBlockCoverage":true},{"functionName":"initializeImportMeta","ranges":[{"startOffset":3557,"endOffset":3613,"count":3}],"isBlockCoverage":true},{"functionName":"enrichCJSError","ranges":[{"startOffset":3835,"endOffset":4374,"count":0}],"isBlockCoverage":false},{"functionName":"loadCJSModule","ranges":[{"startOffset":4715,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"createCJSModuleWrap","ranges":[{"startOffset":6909,"endOffset":8288,"count":25},{"startOffset":7110,"endOffset":7115,"count":0},{"startOffset":7309,"endOffset":7331,"count":1},{"startOffset":7332,"endOffset":7361,"count":24},{"startOffset":7378,"endOffset":7434,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7494,"endOffset":8283,"count":25},{"startOffset":7571,"endOffset":7624,"count":23},{"startOffset":7806,"endOffset":7849,"count":0},{"startOffset":7892,"endOffset":8239,"count":70},{"startOffset":7956,"endOffset":7993,"count":69},{"startOffset":8003,"endOffset":8012,"count":2},{"startOffset":8012,"endOffset":8136,"count":68},{"startOffset":8136,"endOffset":8192,"count":0},{"startOffset":8192,"endOffset":8239,"count":68}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8448,"endOffset":8540,"count":0}],"isBlockCoverage":false},{"functionName":"commonjsStrategy","ranges":[{"startOffset":8728,"endOffset":9611,"count":25},{"startOffset":8860,"endOffset":8891,"count":6},{"startOffset":9358,"endOffset":9373,"count":0},{"startOffset":9498,"endOffset":9546,"count":0}],"isBlockCoverage":true},{"functionName":"cjsLoader","ranges":[{"startOffset":9138,"endOffset":9357,"count":23},{"startOffset":9277,"endOffset":9353,"count":0}],"isBlockCoverage":true},{"functionName":"cjsPreparseModuleExports","ranges":[{"startOffset":9615,"endOffset":12093,"count":25},{"startOffset":9798,"endOffset":9923,"count":0},{"startOffset":10231,"endOffset":10236,"count":0},{"startOffset":10244,"endOffset":10293,"count":0},{"startOffset":10469,"endOffset":12056,"count":1},{"startOffset":11330,"endOffset":11363,"count":0},{"startOffset":11629,"endOffset":11658,"count":0},{"startOffset":11660,"endOffset":12046,"count":0}],"isBlockCoverage":true},{"functionName":"builtinStrategy","ranges":[{"startOffset":12217,"endOffset":12623,"count":14},{"startOffset":12496,"endOffset":12548,"count":0}],"isBlockCoverage":true},{"functionName":"jsonStrategy","ranges":[{"startOffset":12735,"endOffset":14686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14752,"endOffset":15688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"178","url":"node:internal/modules/esm/resolve","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36606,"count":1}],"isBlockCoverage":false},{"functionName":"emitTrailingSlashPatternDeprecation","ranges":[{"startOffset":2334,"endOffset":2920,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidSegmentDeprecation","ranges":[{"startOffset":2962,"endOffset":3657,"count":0}],"isBlockCoverage":false},{"functionName":"emitLegacyIndexDeprecation","ranges":[{"startOffset":3805,"endOffset":4938,"count":22},{"startOffset":3967,"endOffset":4936,"count":0}],"isBlockCoverage":true},{"functionName":"legacyMainResolve","ranges":[{"startOffset":6029,"endOffset":6789,"count":22},{"startOffset":6196,"endOffset":6280,"count":0},{"startOffset":6320,"endOffset":6331,"count":0},{"startOffset":6543,"endOffset":6570,"count":14},{"startOffset":6571,"endOffset":6575,"count":8}],"isBlockCoverage":true},{"functionName":"finalizeResolution","ranges":[{"startOffset":6969,"endOffset":8433,"count":107},{"startOffset":7109,"endOffset":7252,"count":0},{"startOffset":7314,"endOffset":7498,"count":0},{"startOffset":7587,"endOffset":7623,"count":0},{"startOffset":7689,"endOffset":7781,"count":0},{"startOffset":7804,"endOffset":8092,"count":0},{"startOffset":8338,"endOffset":8343,"count":0}],"isBlockCoverage":true},{"functionName":"importNotDefined","ranges":[{"startOffset":8545,"endOffset":8756,"count":0}],"isBlockCoverage":false},{"functionName":"exportsNotFound","ranges":[{"startOffset":8866,"endOffset":9061,"count":0}],"isBlockCoverage":false},{"functionName":"throwInvalidSubpath","ranges":[{"startOffset":9228,"endOffset":9611,"count":0}],"isBlockCoverage":false},{"functionName":"invalidPackageTarget","ranges":[{"startOffset":9613,"endOffset":9991,"count":0}],"isBlockCoverage":false},{"functionName":"resolvePackageTargetString","ranges":[{"startOffset":10714,"endOffset":13451,"count":36},{"startOffset":10883,"endOffset":10894,"count":0},{"startOffset":10895,"endOffset":10931,"count":0},{"startOffset":10937,"endOffset":11011,"count":0},{"startOffset":11061,"endOffset":11618,"count":0},{"startOffset":11710,"endOffset":12320,"count":0},{"startOffset":12543,"endOffset":12617,"count":0},{"startOffset":12657,"endOffset":13450,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11393,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11919,"endOffset":11932,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12065,"endOffset":12078,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12792,"endOffset":12805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13032,"endOffset":13045,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13385,"endOffset":13398,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayIndex","ranges":[{"startOffset":13506,"endOffset":13646,"count":23},{"startOffset":13598,"endOffset":13643,"count":0}],"isBlockCoverage":true},{"functionName":"resolvePackageTarget","ranges":[{"startOffset":13910,"endOffset":16158,"count":48},{"startOffset":14103,"endOffset":14257,"count":36},{"startOffset":14257,"endOffset":16041,"count":12},{"startOffset":14289,"endOffset":15127,"count":2},{"startOffset":14320,"endOffset":14346,"count":0},{"startOffset":14666,"endOffset":14814,"count":0},{"startOffset":14854,"endOffset":14881,"count":0},{"startOffset":14916,"endOffset":14973,"count":0},{"startOffset":15007,"endOffset":15069,"count":0},{"startOffset":15077,"endOffset":15127,"count":0},{"startOffset":15127,"endOffset":16041,"count":10},{"startOffset":15280,"endOffset":15508,"count":23},{"startOffset":15338,"endOffset":15502,"count":0},{"startOffset":15551,"endOffset":15966,"count":17},{"startOffset":15608,"endOffset":15630,"count":14},{"startOffset":15632,"endOffset":15960,"count":10},{"startOffset":15913,"endOffset":15922,"count":0},{"startOffset":15966,"endOffset":16041,"count":0},{"startOffset":16041,"endOffset":16157,"count":0}],"isBlockCoverage":true},{"functionName":"isConditionalExportsMainSugar","ranges":[{"startOffset":16343,"endOffset":17278,"count":34},{"startOffset":16449,"endOffset":16473,"count":8},{"startOffset":16475,"endOffset":16487,"count":26},{"startOffset":16487,"endOffset":16541,"count":8},{"startOffset":16543,"endOffset":16556,"count":0},{"startOffset":16556,"endOffset":16696,"count":8},{"startOffset":16696,"endOffset":17247,"count":16},{"startOffset":16806,"endOffset":17243,"count":8},{"startOffset":16919,"endOffset":17243,"count":0},{"startOffset":17247,"endOffset":17277,"count":8}],"isBlockCoverage":true},{"functionName":"packageExportsResolve","ranges":[{"startOffset":17488,"endOffset":20047,"count":34},{"startOffset":17700,"endOffset":17727,"count":27},{"startOffset":18129,"endOffset":18203,"count":0},{"startOffset":18234,"endOffset":20046,"count":0}],"isBlockCoverage":true},{"functionName":"patternKeyCompare","ranges":[{"startOffset":20049,"endOffset":20580,"count":0}],"isBlockCoverage":false},{"functionName":"packageImportsResolve","ranges":[{"startOffset":20709,"endOffset":23166,"count":2},{"startOffset":20871,"endOffset":21024,"count":0},{"startOffset":21608,"endOffset":23100,"count":0},{"startOffset":23110,"endOffset":23165,"count":0}],"isBlockCoverage":true},{"functionName":"getPackageType","ranges":[{"startOffset":23271,"endOffset":23384,"count":116}],"isBlockCoverage":true},{"functionName":"parsePackageName","ranges":[{"startOffset":23546,"endOffset":24598,"count":52},{"startOffset":23737,"endOffset":23965,"count":1},{"startOffset":23817,"endOffset":23856,"count":0},{"startOffset":24027,"endOffset":24079,"count":0},{"startOffset":24256,"endOffset":24281,"count":0},{"startOffset":24308,"endOffset":24427,"count":0},{"startOffset":24488,"endOffset":24541,"count":0}],"isBlockCoverage":true},{"functionName":"packageResolve","ranges":[{"startOffset":24760,"endOffset":26832,"count":52},{"startOffset":24874,"endOffset":24920,"count":0},{"startOffset":25258,"endOffset":25375,"count":0},{"startOffset":25550,"endOffset":26617,"count":191},{"startOffset":25809,"endOffset":26086,"count":139},{"startOffset":25886,"endOffset":25923,"count":3},{"startOffset":25924,"endOffset":25950,"count":136},{"startOffset":26086,"endOffset":26267,"count":52},{"startOffset":26267,"endOffset":26384,"count":30},{"startOffset":26384,"endOffset":26526,"count":22},{"startOffset":26526,"endOffset":26617,"count":0},{"startOffset":26617,"endOffset":26831,"count":0}],"isBlockCoverage":true},{"functionName":"isBareSpecifier","ranges":[{"startOffset":26893,"endOffset":27003,"count":0}],"isBlockCoverage":false},{"functionName":"isRelativeSpecifier","ranges":[{"startOffset":27005,"endOffset":27276,"count":268},{"startOffset":27075,"endOffset":27258,"count":104},{"startOffset":27133,"endOffset":27145,"count":94},{"startOffset":27145,"endOffset":27254,"count":10},{"startOffset":27258,"endOffset":27275,"count":164}],"isBlockCoverage":true},{"functionName":"shouldBeTreatedAsRelativeOrAbsolutePath","ranges":[{"startOffset":27278,"endOffset":27461,"count":268},{"startOffset":27364,"endOffset":27377,"count":0},{"startOffset":27406,"endOffset":27418,"count":0}],"isBlockCoverage":true},{"functionName":"moduleResolve","ranges":[{"startOffset":27654,"endOffset":28445,"count":107},{"startOffset":27980,"endOffset":28026,"count":52},{"startOffset":28026,"endOffset":28316,"count":55},{"startOffset":28071,"endOffset":28143,"count":2},{"startOffset":28143,"endOffset":28316,"count":53},{"startOffset":28204,"endOffset":28312,"count":52},{"startOffset":28354,"endOffset":28380,"count":0}],"isBlockCoverage":true},{"functionName":"resolveAsCommonJS","ranges":[{"startOffset":28591,"endOffset":30048,"count":0}],"isBlockCoverage":false},{"functionName":"checkIfDisallowedImport","ranges":[{"startOffset":30110,"endOffset":31482,"count":161},{"startOffset":30204,"endOffset":31480,"count":160},{"startOffset":30416,"endOffset":31476,"count":0}],"isBlockCoverage":true},{"functionName":"throwIfInvalidParentURL","ranges":[{"startOffset":31557,"endOffset":31830,"count":161},{"startOffset":31634,"endOffset":31685,"count":1},{"startOffset":31685,"endOffset":31722,"count":160},{"startOffset":31722,"endOffset":31742,"count":0},{"startOffset":31744,"endOffset":31828,"count":0}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":31833,"endOffset":35819,"count":161},{"startOffset":31981,"endOffset":32000,"count":160},{"startOffset":31990,"endOffset":32000,"count":0},{"startOffset":32002,"endOffset":32811,"count":0},{"startOffset":32853,"endOffset":32958,"count":160},{"startOffset":32915,"endOffset":32954,"count":0},{"startOffset":33042,"endOffset":33101,"count":52},{"startOffset":33101,"endOffset":33149,"count":109},{"startOffset":33149,"endOffset":33423,"count":107},{"startOffset":33327,"endOffset":33415,"count":0},{"startOffset":33430,"endOffset":33489,"count":0},{"startOffset":33494,"endOffset":33529,"count":54},{"startOffset":33863,"endOffset":33882,"count":0},{"startOffset":33947,"endOffset":33977,"count":107},{"startOffset":33979,"endOffset":34022,"count":54},{"startOffset":34022,"endOffset":34081,"count":107},{"startOffset":34081,"endOffset":34579,"count":1},{"startOffset":34536,"endOffset":34575,"count":0},{"startOffset":34579,"endOffset":34735,"count":107},{"startOffset":34735,"endOffset":34757,"count":1},{"startOffset":34758,"endOffset":34776,"count":106},{"startOffset":34789,"endOffset":35593,"count":0},{"startOffset":35593,"endOffset":35818,"count":107}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":36211,"endOffset":36602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"179","url":"node:internal/modules/esm/package_config","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1412,"count":1}],"isBlockCoverage":false},{"functionName":"getPackageScopeConfig","ranges":[{"startOffset":269,"endOffset":1362,"count":170},{"startOffset":387,"endOffset":1107,"count":277},{"startOffset":521,"endOffset":541,"count":0},{"startOffset":731,"endOffset":766,"count":170},{"startOffset":766,"endOffset":1083,"count":107},{"startOffset":1083,"endOffset":1103,"count":0},{"startOffset":1107,"endOffset":1361,"count":0}],"isBlockCoverage":true}]},{"scriptId":"180","url":"node:internal/modules/esm/get_format","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4514,"count":1}],"isBlockCoverage":false},{"functionName":"node:","ranges":[{"startOffset":900,"endOffset":931,"count":14}],"isBlockCoverage":true},{"functionName":"getDataProtocolModuleFormat","ranges":[{"startOffset":996,"endOffset":1212,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":1487,"endOffset":1846,"count":129},{"startOffset":1587,"endOffset":1831,"count":400},{"startOffset":1649,"endOffset":1684,"count":0},{"startOffset":1692,"endOffset":1821,"count":129},{"startOffset":1780,"endOffset":1784,"count":0},{"startOffset":1831,"endOffset":1845,"count":0}],"isBlockCoverage":true},{"functionName":"getFileProtocolModuleFormat","ranges":[{"startOffset":1970,"endOffset":3175,"count":129},{"startOffset":2086,"endOffset":2160,"count":116},{"startOffset":2132,"endOffset":2142,"count":72},{"startOffset":2143,"endOffset":2155,"count":44},{"startOffset":2160,"endOffset":2232,"count":13},{"startOffset":2232,"endOffset":2467,"count":0},{"startOffset":2469,"endOffset":3174,"count":0}],"isBlockCoverage":true},{"functionName":"getHttpProtocolModuleFormat","ranges":[{"startOffset":3311,"endOffset":3656,"count":0}],"isBlockCoverage":false},{"functionName":"defaultGetFormatWithoutErrors","ranges":[{"startOffset":3801,"endOffset":4036,"count":129},{"startOffset":3955,"endOffset":3977,"count":0}],"isBlockCoverage":true},{"functionName":"defaultGetFormat","ranges":[{"startOffset":4181,"endOffset":4404,"count":14},{"startOffset":4322,"endOffset":4344,"count":0}],"isBlockCoverage":true}]},{"scriptId":"181","url":"node:internal/modules/esm/formats","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":856,"count":1}],"isBlockCoverage":false},{"functionName":"mimeToFormat","ranges":[{"startOffset":468,"endOffset":794,"count":0}],"isBlockCoverage":false}]},{"scriptId":"182","url":"node:internal/modules/esm/handle_process_exit","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":424,"count":1}],"isBlockCoverage":false},{"functionName":"handleProcessExit","ranges":[{"startOffset":298,"endOffset":379,"count":0}],"isBlockCoverage":false}]},{"scriptId":"183","url":"node:internal/modules/esm/module_job","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8786,"count":1}],"isBlockCoverage":false},{"functionName":"isCommonJSGlobalLikeNotDefinedError","ranges":[{"startOffset":917,"endOffset":1048,"count":0}],"isBlockCoverage":false},{"functionName":"ModuleJob","ranges":[{"startOffset":1286,"endOffset":3283,"count":97},{"startOffset":1811,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"link","ranges":[{"startOffset":2085,"endOffset":2900,"count":97}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2541,"endOffset":2746,"count":158}],"isBlockCoverage":true},{"functionName":"instantiate","ranges":[{"startOffset":3287,"endOffset":3432,"count":4},{"startOffset":3344,"endOffset":3398,"count":3}],"isBlockCoverage":true},{"functionName":"_instantiate","ranges":[{"startOffset":3436,"endOffset":7090,"count":3},{"startOffset":3896,"endOffset":4073,"count":0},{"startOffset":4130,"endOffset":6843,"count":0},{"startOffset":6890,"endOffset":7086,"count":106}],"isBlockCoverage":true},{"functionName":"addJobsToDependencyGraph","ranges":[{"startOffset":3535,"endOffset":3795,"count":161},{"startOffset":3596,"endOffset":3621,"count":55},{"startOffset":3621,"endOffset":3794,"count":106}],"isBlockCoverage":true},{"functionName":"runSync","ranges":[{"startOffset":7094,"endOffset":7494,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":7498,"endOffset":8706,"count":4},{"startOffset":7673,"endOffset":8649,"count":0}],"isBlockCoverage":true}]},{"scriptId":"184","url":"node:internal/modules/esm/load","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6703,"count":1}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":1130,"endOffset":2357,"count":58},{"startOffset":1398,"endOffset":2223,"count":0},{"startOffset":2236,"endOffset":2246,"count":0},{"startOffset":2248,"endOffset":2304,"count":0}],"isBlockCoverage":true},{"functionName":"getSourceSync","ranges":[{"startOffset":2540,"endOffset":3279,"count":0}],"isBlockCoverage":false},{"functionName":"defaultLoad","ranges":[{"startOffset":3400,"endOffset":4067,"count":97},{"startOffset":3739,"endOffset":3827,"count":14},{"startOffset":3827,"endOffset":3855,"count":83},{"startOffset":3860,"endOffset":3884,"count":39},{"startOffset":3884,"endOffset":3986,"count":58}],"isBlockCoverage":true},{"functionName":"defaultLoadSync","ranges":[{"startOffset":4580,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfUnsupportedURLScheme","ranges":[{"startOffset":5367,"endOffset":5999,"count":97},{"startOffset":5597,"endOffset":5624,"count":14},{"startOffset":5625,"endOffset":5652,"count":14},{"startOffset":5653,"endOffset":5782,"count":0},{"startOffset":5787,"endOffset":5997,"count":0}],"isBlockCoverage":true},{"functionName":"throwUnknownModuleFormat","ranges":[{"startOffset":6378,"endOffset":6616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"185","url":"node:internal/fs/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29943,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCpPromises","ranges":[{"startOffset":2997,"endOffset":3089,"count":0}],"isBlockCoverage":false},{"functionName":"lazyFsStreams","ranges":[{"startOffset":3151,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3236,"endOffset":9299,"count":58}],"isBlockCoverage":false},{"functionName":"FileHandle","ranges":[{"startOffset":3377,"endOffset":3554,"count":58},{"startOffset":3491,"endOffset":3495,"count":0}],"isBlockCoverage":true},{"functionName":"getAsyncId","ranges":[{"startOffset":3558,"endOffset":3615,"count":0}],"isBlockCoverage":false},{"functionName":"get fd","ranges":[{"startOffset":3619,"endOffset":3655,"count":116}],"isBlockCoverage":true},{"functionName":"appendFile","ranges":[{"startOffset":3659,"endOffset":3741,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":3745,"endOffset":3801,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":3805,"endOffset":3869,"count":0}],"isBlockCoverage":false},{"functionName":"datasync","ranges":[{"startOffset":3873,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":3929,"endOffset":3973,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":3977,"endOffset":4086,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":4090,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":4175,"endOffset":4242,"count":0}],"isBlockCoverage":false},{"functionName":"readLines","ranges":[{"startOffset":4246,"endOffset":4389,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4393,"endOffset":4453,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":4457,"endOffset":4521,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":4525,"endOffset":4599,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":4603,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":4718,"endOffset":4801,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4805,"endOffset":4886,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":4898,"endOffset":5690,"count":58},{"startOffset":4932,"endOffset":4970,"count":0},{"startOffset":5001,"endOffset":5042,"count":0},{"startOffset":5268,"endOffset":5629,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5210,"endOffset":5252,"count":58}],"isBlockCoverage":true},{"functionName":".SafePromisePrototypeFinally.","ranges":[{"startOffset":5353,"endOffset":5465,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5468,"endOffset":5613,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5695,"endOffset":5754,"count":0}],"isBlockCoverage":false},{"functionName":"readableWebStream","ranges":[{"startOffset":5949,"endOffset":7635,"count":0}],"isBlockCoverage":false},{"functionName":"createReadStream","ranges":[{"startOffset":7933,"endOffset":8084,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":8333,"endOffset":8487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8491,"endOffset":8891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8895,"endOffset":8948,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8952,"endOffset":9039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9043,"endOffset":9076,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9080,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"handleFdClose","ranges":[{"startOffset":9301,"endOffset":9672,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9412,"endOffset":9471,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9458,"endOffset":9470,"count":58}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9477,"endOffset":9664,"count":0}],"isBlockCoverage":false},{"functionName":"fsCall","ranges":[{"startOffset":9674,"endOffset":10134,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":10136,"endOffset":10256,"count":232},{"startOffset":10180,"endOffset":10189,"count":0},{"startOffset":10195,"endOffset":10254,"count":0}],"isBlockCoverage":true},{"functionName":"writeFileHandle","ranges":[{"startOffset":10258,"endOffset":11400,"count":0}],"isBlockCoverage":false},{"functionName":"readFileHandle","ranges":[{"startOffset":11402,"endOffset":13541,"count":58},{"startOffset":11554,"endOffset":11584,"count":0},{"startOffset":11864,"endOffset":11902,"count":0},{"startOffset":11935,"endOffset":11983,"count":0},{"startOffset":12016,"endOffset":12054,"count":0},{"startOffset":12296,"endOffset":12368,"count":0},{"startOffset":12512,"endOffset":12516,"count":0},{"startOffset":12601,"endOffset":12657,"count":0},{"startOffset":12751,"endOffset":12762,"count":0},{"startOffset":12819,"endOffset":12879,"count":0},{"startOffset":12927,"endOffset":12941,"count":0},{"startOffset":12943,"endOffset":13053,"count":0},{"startOffset":13084,"endOffset":13535,"count":0}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":13694,"endOffset":13915,"count":0}],"isBlockCoverage":false},{"functionName":"cp","ranges":[{"startOffset":13917,"endOffset":14186,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":14188,"endOffset":14546,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":14666,"endOffset":14991,"count":58}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":14993,"endOffset":16364,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":16366,"endOffset":16703,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":16705,"endOffset":17954,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":17956,"endOffset":18398,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":18400,"endOffset":18706,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":18708,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":18843,"endOffset":19002,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":19004,"endOffset":19208,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":19210,"endOffset":19581,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":19583,"endOffset":19672,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":19674,"endOffset":19755,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":19757,"endOffset":20234,"count":0}],"isBlockCoverage":false},{"functionName":"readdirRecursive","ranges":[{"startOffset":20236,"endOffset":21910,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":21912,"endOffset":22339,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":22341,"endOffset":22580,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":22582,"endOffset":23306,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":23308,"endOffset":23486,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":23488,"endOffset":23758,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":23760,"endOffset":24027,"count":0}],"isBlockCoverage":false},{"functionName":"statfs","ranges":[{"startOffset":24029,"endOffset":24303,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":24305,"endOffset":24628,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":24630,"endOffset":24768,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":24770,"endOffset":24903,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":24905,"endOffset":25091,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":25093,"endOffset":25321,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":25323,"endOffset":25599,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":25601,"endOffset":25798,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":25800,"endOffset":26073,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":26075,"endOffset":26347,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":26349,"endOffset":26548,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":26550,"endOffset":26827,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":26829,"endOffset":27002,"count":0}],"isBlockCoverage":false},{"functionName":"mkdtemp","ranges":[{"startOffset":27004,"endOffset":27383,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":27385,"endOffset":28060,"count":0}],"isBlockCoverage":false},{"functionName":"isCustomIterable","ranges":[{"startOffset":28062,"endOffset":28176,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":28178,"endOffset":28419,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":28421,"endOffset":28765,"count":58},{"startOffset":28538,"endOffset":28544,"count":0},{"startOffset":28585,"endOffset":28622,"count":0}],"isBlockCoverage":true},{"functionName":"_watch","ranges":[{"startOffset":28767,"endOffset":29432,"count":0}],"isBlockCoverage":false}]},{"scriptId":"186","url":"node:internal/fs/rimraf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7454,"count":1}],"isBlockCoverage":false},{"functionName":"rimraf","ranges":[{"startOffset":1175,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_rimraf","ranges":[{"startOffset":1638,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERM","ranges":[{"startOffset":2499,"endOffset":2934,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdir","ranges":[{"startOffset":2937,"endOffset":3235,"count":0}],"isBlockCoverage":false},{"functionName":"_rmchildren","ranges":[{"startOffset":3238,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafPromises","ranges":[{"startOffset":3928,"endOffset":4126,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafSync","ranges":[{"startOffset":4129,"endOffset":4812,"count":0}],"isBlockCoverage":false},{"functionName":"_unlinkSync","ranges":[{"startOffset":4815,"endOffset":5444,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdirSync","ranges":[{"startOffset":5447,"endOffset":6944,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERMSync","ranges":[{"startOffset":6947,"endOffset":7394,"count":0}],"isBlockCoverage":false}]},{"scriptId":"187","url":"node:internal/fs/dir","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8071,"count":1}],"isBlockCoverage":false},{"functionName":"Dir","ranges":[{"startOffset":1177,"endOffset":1993,"count":0}],"isBlockCoverage":false},{"functionName":"get path","ranges":[{"startOffset":1997,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":2044,"endOffset":2111,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2115,"endOffset":3841,"count":0}],"isBlockCoverage":false},{"functionName":"processReadResult","ranges":[{"startOffset":3845,"endOffset":4099,"count":0}],"isBlockCoverage":false},{"functionName":"readSyncRecursive","ranges":[{"startOffset":4103,"endOffset":4676,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":4680,"endOffset":5656,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":5660,"endOffset":6349,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":6353,"endOffset":6730,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":6734,"endOffset":6997,"count":0}],"isBlockCoverage":false},{"functionName":"opendir","ranges":[{"startOffset":7177,"endOffset":7757,"count":0}],"isBlockCoverage":false},{"functionName":"opendirSync","ranges":[{"startOffset":7759,"endOffset":8014,"count":0}],"isBlockCoverage":false}]},{"scriptId":"188","url":"node:internal/fs/watchers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11242,"count":1}],"isBlockCoverage":false},{"functionName":"emitStop","ranges":[{"startOffset":1420,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher","ranges":[{"startOffset":1470,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"onchange","ranges":[{"startOffset":1820,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":2565,"endOffset":3399,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.start","ranges":[{"startOffset":3620,"endOffset":3628,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.stop","ranges":[{"startOffset":3874,"endOffset":4155,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":4244,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.ref","ranges":[{"startOffset":4702,"endOffset":4984,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.unref","ranges":[{"startOffset":5017,"endOffset":5267,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher","ranges":[{"startOffset":5271,"endOffset":6239,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.","ranges":[{"startOffset":6776,"endOffset":7686,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.start","ranges":[{"startOffset":7903,"endOffset":7911,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.close","ranges":[{"startOffset":8034,"endOffset":8371,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.ref","ranges":[{"startOffset":8400,"endOffset":8469,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.unref","ranges":[{"startOffset":8500,"endOffset":8571,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":8574,"endOffset":8626,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8850,"endOffset":8886,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8890,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":8967,"endOffset":11110,"count":0}],"isBlockCoverage":false}]},{"scriptId":"189","url":"node:internal/fs/recursive_watch","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7634,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFsPromises","ranges":[{"startOffset":812,"endOffset":919,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadFsSync","ranges":[{"startOffset":921,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"traverse","ranges":[{"startOffset":1037,"endOffset":1618,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1620,"endOffset":7580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"190","url":"node:internal/readline/interface","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":39029,"count":1}],"isBlockCoverage":false},{"functionName":"InterfaceConstructor","ranges":[{"startOffset":3781,"endOffset":9286,"count":0}],"isBlockCoverage":false},{"functionName":"Interface","ranges":[{"startOffset":9527,"endOffset":9627,"count":0}],"isBlockCoverage":false},{"functionName":"get columns","ranges":[{"startOffset":9630,"endOffset":9742,"count":0}],"isBlockCoverage":false},{"functionName":"setPrompt","ranges":[{"startOffset":9851,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"getPrompt","ranges":[{"startOffset":9996,"endOffset":10039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10043,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"prompt","ranges":[{"startOffset":10373,"endOffset":10627,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10631,"endOffset":10938,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10942,"endOffset":11184,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11188,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11279,"endOffset":11447,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11451,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11652,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12834,"endOffset":13839,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13923,"endOffset":14094,"count":0}],"isBlockCoverage":false},{"functionName":"pause","ranges":[{"startOffset":14175,"endOffset":14306,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":14398,"endOffset":14534,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":14805,"endOffset":14964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14968,"endOffset":16702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16706,"endOffset":17375,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17379,"endOffset":17778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17782,"endOffset":19990,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19994,"endOffset":20455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20459,"endOffset":20717,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20721,"endOffset":21203,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21207,"endOffset":21688,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21692,"endOffset":22452,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22456,"endOffset":22883,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22887,"endOffset":23165,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23169,"endOffset":23427,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23431,"endOffset":23691,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23695,"endOffset":23850,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23854,"endOffset":24529,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":24533,"endOffset":24682,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24686,"endOffset":24840,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24844,"endOffset":25031,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25035,"endOffset":25343,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25347,"endOffset":25655,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26090,"endOffset":26724,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26728,"endOffset":27436,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27511,"endOffset":28451,"count":0}],"isBlockCoverage":false},{"functionName":"getCursorPos","ranges":[{"startOffset":28628,"endOffset":28797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":28916,"endOffset":29473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29510,"endOffset":37760,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38068,"endOffset":38448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"191","url":"node:internal/readline/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12396,"count":1}],"isBlockCoverage":false},{"functionName":"CSI","ranges":[{"startOffset":385,"endOffset":579,"count":4},{"startOffset":544,"endOffset":559,"count":0}],"isBlockCoverage":true},{"functionName":"charLengthLeft","ranges":[{"startOffset":958,"endOffset":1220,"count":0}],"isBlockCoverage":false},{"functionName":"charLengthAt","ranges":[{"startOffset":1222,"endOffset":1484,"count":0}],"isBlockCoverage":false},{"functionName":"emitKeys","ranges":[{"startOffset":2213,"endOffset":11840,"count":0}],"isBlockCoverage":false},{"functionName":"commonPrefix","ranges":[{"startOffset":11870,"endOffset":12283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"192","url":"node:internal/readline/callbacks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2754,"count":1}],"isBlockCoverage":false},{"functionName":"cursorTo","ranges":[{"startOffset":460,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"moveCursor","ranges":[{"startOffset":1210,"endOffset":1722,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":1869,"endOffset":2272,"count":0}],"isBlockCoverage":false},{"functionName":"clearScreenDown","ranges":[{"startOffset":2349,"endOffset":2672,"count":0}],"isBlockCoverage":false}]},{"scriptId":"193","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/base.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7557,"count":1},{"startOffset":7375,"endOffset":7491,"count":0},{"startOffset":7522,"endOffset":7556,"count":0}],"isBlockCoverage":true},{"functionName":"exit","ranges":[{"startOffset":1052,"endOffset":1240,"count":1}],"isBlockCoverage":true},{"functionName":"handleProcessExit","ranges":[{"startOffset":1268,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":1946,"endOffset":6902,"count":1},{"startOffset":2368,"endOffset":2565,"count":0},{"startOffset":5638,"endOffset":5643,"count":0},{"startOffset":5646,"endOffset":5671,"count":0},{"startOffset":5908,"endOffset":5943,"count":0},{"startOffset":5944,"endOffset":5979,"count":0},{"startOffset":5981,"endOffset":6410,"count":0},{"startOffset":6682,"endOffset":6752,"count":0},{"startOffset":6756,"endOffset":6900,"count":0}],"isBlockCoverage":true},{"functionName":"checkSelectedByLineNumbers","ranges":[{"startOffset":2550,"endOffset":2561,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3090,"endOffset":3122,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3204,"endOffset":3232,"count":20}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3256,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3420,"endOffset":4245,"count":1},{"startOffset":3523,"endOffset":3593,"count":0},{"startOffset":3598,"endOffset":3756,"count":0},{"startOffset":3831,"endOffset":4000,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3813,"endOffset":3823,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4030,"endOffset":4240,"count":1},{"startOffset":4087,"endOffset":4223,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4282,"endOffset":4421,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4602,"endOffset":4633,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4642,"endOffset":4668,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4927,"endOffset":5129,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":5197,"endOffset":5585,"count":1},{"startOffset":5343,"endOffset":5584,"count":0}],"isBlockCoverage":true},{"functionName":"onError","ranges":[{"startOffset":6921,"endOffset":7139,"count":0}],"isBlockCoverage":false}]},{"scriptId":"194","url":"node:internal/deps/cjs-module-lexer/dist/lexer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":33616,"count":1}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":116,"endOffset":813,"count":25},{"startOffset":146,"endOffset":181,"count":0},{"startOffset":222,"endOffset":237,"count":0},{"startOffset":273,"endOffset":308,"count":1},{"startOffset":332,"endOffset":334,"count":0},{"startOffset":406,"endOffset":553,"count":0},{"startOffset":601,"endOffset":650,"count":1},{"startOffset":663,"endOffset":696,"count":0},{"startOffset":709,"endOffset":773,"count":71}],"isBlockCoverage":true},{"functionName":"B","ranges":[{"startOffset":813,"endOffset":1040,"count":72},{"startOffset":840,"endOffset":852,"count":71},{"startOffset":853,"endOffset":862,"count":70},{"startOffset":862,"endOffset":913,"count":2},{"startOffset":913,"endOffset":1023,"count":25},{"startOffset":958,"endOffset":1022,"count":0},{"startOffset":1023,"endOffset":1032,"count":2},{"startOffset":1032,"endOffset":1039,"count":0}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":1040,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"C","ranges":[{"startOffset":1141,"endOffset":1215,"count":25},{"startOffset":1192,"endOffset":1214,"count":73749}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":1221,"endOffset":33616,"count":6},{"startOffset":1245,"endOffset":33615,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1251,"endOffset":33611,"count":1},{"startOffset":33455,"endOffset":33524,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":33505,"endOffset":33523,"count":0}],"isBlockCoverage":false}]},{"scriptId":"195","url":"node:module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":397,"count":1}],"isBlockCoverage":false}]},{"scriptId":"196","url":"node:internal/source_map/source_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12067,"count":1}],"isBlockCoverage":false},{"functionName":"StringCharIterator","ranges":[{"startOffset":4000,"endOffset":4076,"count":0}],"isBlockCoverage":false},{"functionName":"next","ranges":[{"startOffset":4114,"endOffset":4192,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":4230,"endOffset":4306,"count":0}],"isBlockCoverage":false},{"functionName":"hasNext","ranges":[{"startOffset":4345,"endOffset":4409,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4550,"endOffset":10030,"count":0}],"isBlockCoverage":false},{"functionName":"isSeparator","ranges":[{"startOffset":10085,"endOffset":10154,"count":0}],"isBlockCoverage":false},{"functionName":"decodeVLQ","ranges":[{"startOffset":10244,"endOffset":11177,"count":0}],"isBlockCoverage":false},{"functionName":"cloneSourceMapV3","ranges":[{"startOffset":11244,"endOffset":11556,"count":0}],"isBlockCoverage":false},{"functionName":"compareSourceMapEntry","ranges":[{"startOffset":11751,"endOffset":12030,"count":0}],"isBlockCoverage":false}]},{"scriptId":"197","url":"node:process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":83,"count":1}],"isBlockCoverage":false}]},{"scriptId":"198","url":"node:internal/process/report","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2644,"count":1}],"isBlockCoverage":false},{"functionName":"writeReport","ranges":[{"startOffset":352,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getReport","ranges":[{"startOffset":775,"endOffset":940,"count":0}],"isBlockCoverage":false},{"functionName":"get directory","ranges":[{"startOffset":944,"endOffset":995,"count":0}],"isBlockCoverage":false},{"functionName":"set directory","ranges":[{"startOffset":999,"endOffset":1087,"count":0}],"isBlockCoverage":false},{"functionName":"get filename","ranges":[{"startOffset":1091,"endOffset":1140,"count":0}],"isBlockCoverage":false},{"functionName":"set filename","ranges":[{"startOffset":1144,"endOffset":1232,"count":0}],"isBlockCoverage":false},{"functionName":"get compact","ranges":[{"startOffset":1236,"endOffset":1283,"count":0}],"isBlockCoverage":false},{"functionName":"set compact","ranges":[{"startOffset":1287,"endOffset":1364,"count":0}],"isBlockCoverage":false},{"functionName":"get signal","ranges":[{"startOffset":1368,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"set signal","ranges":[{"startOffset":1417,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnFatalError","ranges":[{"startOffset":1558,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnFatalError","ranges":[{"startOffset":1634,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnSignal","ranges":[{"startOffset":1756,"endOffset":1820,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnSignal","ranges":[{"startOffset":1824,"endOffset":1985,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnUncaughtException","ranges":[{"startOffset":1989,"endOffset":2075,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnUncaughtException","ranges":[{"startOffset":2079,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"addSignalHandler","ranges":[{"startOffset":2217,"endOffset":2388,"count":0}],"isBlockCoverage":false},{"functionName":"removeSignalHandler","ranges":[{"startOffset":2390,"endOffset":2514,"count":0}],"isBlockCoverage":false},{"functionName":"signalHandler","ranges":[{"startOffset":2516,"endOffset":2590,"count":0}],"isBlockCoverage":false}]},{"scriptId":"199","url":"node:url","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":32640,"count":1}],"isBlockCoverage":false},{"functionName":"Url","ranges":[{"startOffset":2149,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"urlParse","ranges":[{"startOffset":3430,"endOffset":4035,"count":0}],"isBlockCoverage":false},{"functionName":"isIpv6Hostname","ranges":[{"startOffset":4037,"endOffset":4260,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":5081,"endOffset":15159,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname","ranges":[{"startOffset":15190,"endOffset":16135,"count":0}],"isBlockCoverage":false},{"functionName":"autoEscapeStr","ranges":[{"startOffset":17192,"endOffset":17898,"count":0}],"isBlockCoverage":false},{"functionName":"urlFormat","ranges":[{"startOffset":17944,"endOffset":19115,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":19822,"endOffset":22199,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolve","ranges":[{"startOffset":22202,"endOffset":22301,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":22327,"endOffset":22428,"count":0}],"isBlockCoverage":false},{"functionName":"urlResolveObject","ranges":[{"startOffset":22431,"endOffset":22574,"count":0}],"isBlockCoverage":false},{"functionName":"resolveObject","ranges":[{"startOffset":22606,"endOffset":31725,"count":0}],"isBlockCoverage":false},{"functionName":"parseHost","ranges":[{"startOffset":31754,"endOffset":32027,"count":0}],"isBlockCoverage":false},{"functionName":"pathToFileURL","ranges":[{"startOffset":32248,"endOffset":32344,"count":1}],"isBlockCoverage":true}]},{"scriptId":"200","url":"node:internal/idna","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":124,"count":1}],"isBlockCoverage":false}]},{"scriptId":"202","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/chalk.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":351,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":197,"endOffset":350,"count":1},{"startOffset":238,"endOffset":298,"count":0}],"isBlockCoverage":true}]},{"scriptId":"203","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/provider-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":455,"endOffset":1345,"count":1},{"startOffset":1293,"endOffset":1312,"count":0}],"isBlockCoverage":true},{"functionName":"negotiateProtocol","ranges":[{"startOffset":665,"endOffset":1273,"count":1},{"startOffset":840,"endOffset":978,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":748,"endOffset":803,"count":2}],"isBlockCoverage":true},{"functionName":"findFiles","ranges":[{"startOffset":1047,"endOffset":1178,"count":0}],"isBlockCoverage":false},{"functionName":"typescript","ranges":[{"startOffset":1383,"endOffset":1462,"count":1}],"isBlockCoverage":true}]},{"scriptId":"204","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17,"count":1}],"isBlockCoverage":true}]},{"scriptId":"205","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/runner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15654,"count":1}],"isBlockCoverage":true},{"functionName":"makeFileURL","ranges":[{"startOffset":520,"endOffset":594,"count":1},{"startOffset":555,"endOffset":561,"count":0}],"isBlockCoverage":true},{"functionName":"Runner","ranges":[{"startOffset":644,"endOffset":5705,"count":1},{"startOffset":725,"endOffset":730,"count":0},{"startOffset":978,"endOffset":983,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.registerUniqueTitle","ranges":[{"startOffset":1787,"endOffset":1911,"count":5},{"startOffset":1834,"endOffset":1858,"count":0}],"isBlockCoverage":true},{"functionName":"Runner.notifyTimeoutUpdate","ranges":[{"startOffset":1943,"endOffset":2058,"count":0}],"isBlockCoverage":false},{"functionName":"get snapshotDirectory","ranges":[{"startOffset":2187,"endOffset":2366,"count":0}],"isBlockCoverage":false},{"functionName":"Runner.chain.createChain.serial","ranges":[{"startOffset":2401,"endOffset":5489,"count":5},{"startOffset":2480,"endOffset":2630,"count":0},{"startOffset":2656,"endOffset":2769,"count":1},{"startOffset":2925,"endOffset":2990,"count":0},{"startOffset":3014,"endOffset":3813,"count":0},{"startOffset":3846,"endOffset":3965,"count":0},{"startOffset":4006,"endOffset":4093,"count":0},{"startOffset":4134,"endOffset":4205,"count":0},{"startOffset":4267,"endOffset":4522,"count":0},{"startOffset":4600,"endOffset":4669,"count":0},{"startOffset":4714,"endOffset":4730,"count":0},{"startOffset":4870,"endOffset":4992,"count":0},{"startOffset":5028,"endOffset":5072,"count":0},{"startOffset":5117,"endOffset":5131,"count":0},{"startOffset":5365,"endOffset":5480,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2706,"endOffset":2762,"count":1}],"isBlockCoverage":true},{"functionName":"get snapshots","ranges":[{"startOffset":5708,"endOffset":6318,"count":6},{"startOffset":5749,"endOffset":5781,"count":5},{"startOffset":5781,"endOffset":6317,"count":1}],"isBlockCoverage":true},{"functionName":"compareTestSnapshot","ranges":[{"startOffset":6321,"endOffset":6396,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":6399,"endOffset":6472,"count":0}],"isBlockCoverage":false},{"functionName":"saveSnapshotState","ranges":[{"startOffset":6475,"endOffset":6559,"count":1}],"isBlockCoverage":true},{"functionName":"onRun","ranges":[{"startOffset":6562,"endOffset":6620,"count":5}],"isBlockCoverage":true},{"functionName":"onRunComplete","ranges":[{"startOffset":6623,"endOffset":6692,"count":5}],"isBlockCoverage":true},{"functionName":"beforeExitHandler","ranges":[{"startOffset":6695,"endOffset":6809,"count":0}],"isBlockCoverage":false},{"functionName":"runMultiple","ranges":[{"startOffset":6812,"endOffset":8056,"count":18}],"isBlockCoverage":true},{"functionName":"runAndStoreResult","ranges":[{"startOffset":6923,"endOffset":7081,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7150,"endOffset":7998,"count":0}],"isBlockCoverage":false},{"functionName":"runSingle","ranges":[{"startOffset":8059,"endOffset":8330,"count":5}],"isBlockCoverage":true},{"functionName":"runHooks","ranges":[{"startOffset":8333,"endOffset":9506,"count":18},{"startOffset":9070,"endOffset":9474,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8427,"endOffset":8959,"count":0}],"isBlockCoverage":false},{"functionName":"runTest","ranges":[{"startOffset":9509,"endOffset":11470,"count":5},{"startOffset":10007,"endOffset":10073,"count":0},{"startOffset":10940,"endOffset":11271,"count":0}],"isBlockCoverage":true},{"functionName":"Runnable.fn","ranges":[{"startOffset":10009,"endOffset":10073,"count":0}],"isBlockCoverage":false},{"functionName":"start","ranges":[{"startOffset":11473,"endOffset":15605,"count":1},{"startOffset":11619,"endOffset":12250,"count":5},{"startOffset":11650,"endOffset":11677,"count":0},{"startOffset":11679,"endOffset":11766,"count":0},{"startOffset":11807,"endOffset":11833,"count":0},{"startOffset":11835,"endOffset":11922,"count":0},{"startOffset":12133,"endOffset":12206,"count":0},{"startOffset":12296,"endOffset":12988,"count":0},{"startOffset":13028,"endOffset":13347,"count":0},{"startOffset":13454,"endOffset":13550,"count":0},{"startOffset":15547,"endOffset":15602,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13777,"endOffset":14380,"count":1},{"startOffset":13868,"endOffset":13892,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13923,"endOffset":14368,"count":5},{"startOffset":14108,"endOffset":14139,"count":0},{"startOffset":14268,"endOffset":14284,"count":0},{"startOffset":14286,"endOffset":14312,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14460,"endOffset":15058,"count":1},{"startOffset":14653,"endOffset":14669,"count":0},{"startOffset":14672,"endOffset":14696,"count":0},{"startOffset":14767,"endOffset":14790,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14971,"endOffset":15016,"count":0}],"isBlockCoverage":false},{"functionName":"interrupt","ranges":[{"startOffset":15608,"endOffset":15651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"206","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/serialize-error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4398,"count":1}],"isBlockCoverage":true},{"functionName":"isAvaAssertionError","ranges":[{"startOffset":385,"endOffset":467,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":469,"endOffset":614,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFile","ranges":[{"startOffset":616,"endOffset":756,"count":0}],"isBlockCoverage":false},{"functionName":"extractSource","ranges":[{"startOffset":795,"endOffset":1211,"count":0}],"isBlockCoverage":false},{"functionName":"buildSource","ranges":[{"startOffset":1213,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"trySerializeError","ranges":[{"startOffset":1957,"endOffset":3743,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":3760,"endOffset":4397,"count":0}],"isBlockCoverage":false}]},{"scriptId":"207","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/dependency-tracker.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":866,"count":1}],"isBlockCoverage":true},{"functionName":"flush","ranges":[{"startOffset":138,"endOffset":302,"count":2},{"startOffset":192,"endOffset":301,"count":1}],"isBlockCoverage":true},{"functionName":"track","ranges":[{"startOffset":304,"endOffset":519,"count":195},{"startOffset":368,"endOffset":382,"count":0},{"startOffset":419,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"install","ranges":[{"startOffset":556,"endOffset":836,"count":1},{"startOffset":633,"endOffset":833,"count":3}],"isBlockCoverage":true},{"functionName":"extensions.","ranges":[{"startOffset":700,"endOffset":828,"count":194}],"isBlockCoverage":true}]},{"scriptId":"208","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/line-numbers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3832,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":215,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"findTest","ranges":[{"startOffset":878,"endOffset":1452,"count":0}],"isBlockCoverage":false},{"functionName":"range","ranges":[{"startOffset":1468,"endOffset":1574,"count":0}],"isBlockCoverage":false},{"functionName":"translate","ranges":[{"startOffset":1595,"endOffset":2066,"count":0}],"isBlockCoverage":false},{"functionName":"lineNumberSelection","ranges":[{"startOffset":2084,"endOffset":3831,"count":1},{"startOffset":2196,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2334,"endOffset":3828,"count":0}],"isBlockCoverage":false}]},{"scriptId":"209","url":"node:internal/fs/streams","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14758,"count":1}],"isBlockCoverage":false},{"functionName":"_construct","ranges":[{"startOffset":1063,"endOffset":1966,"count":0}],"isBlockCoverage":false},{"functionName":"FileHandleOperations","ranges":[{"startOffset":2059,"endOffset":3058,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":3061,"endOffset":3238,"count":0}],"isBlockCoverage":false},{"functionName":"importFd","ranges":[{"startOffset":3240,"endOffset":4237,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream","ranges":[{"startOffset":4239,"endOffset":5982,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6171,"endOffset":6226,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6230,"endOffset":6287,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6323,"endOffset":6348,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._read","ranges":[{"startOffset":6524,"endOffset":7655,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._destroy","ranges":[{"startOffset":7690,"endOffset":8251,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.close","ranges":[{"startOffset":8283,"endOffset":8369,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8449,"endOffset":8483,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":8512,"endOffset":10303,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":10495,"endOffset":10550,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10554,"endOffset":10611,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10648,"endOffset":10673,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":10824,"endOffset":11617,"count":0}],"isBlockCoverage":false},{"functionName":"writevAll","ranges":[{"startOffset":11619,"endOffset":12436,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._write","ranges":[{"startOffset":12469,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._writev","ranges":[{"startOffset":12888,"endOffset":13450,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._destroy","ranges":[{"startOffset":13486,"endOffset":14047,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.close","ranges":[{"startOffset":14080,"endOffset":14462,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":14644,"endOffset":14678,"count":0}],"isBlockCoverage":false}]},{"scriptId":"210","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5900,"count":1},{"startOffset":1472,"endOffset":1706,"count":45},{"startOffset":2476,"endOffset":3149,"count":3},{"startOffset":5468,"endOffset":5471,"count":0}],"isBlockCoverage":true},{"functionName":"applyOptions","ranges":[{"startOffset":571,"endOffset":950,"count":5},{"startOffset":618,"endOffset":699,"count":3},{"startOffset":701,"endOffset":779,"count":0},{"startOffset":870,"endOffset":873,"count":0},{"startOffset":919,"endOffset":931,"count":2},{"startOffset":932,"endOffset":947,"count":3}],"isBlockCoverage":true},{"functionName":"Chalk","ranges":[{"startOffset":975,"endOffset":1084,"count":3}],"isBlockCoverage":true},{"functionName":"chalkFactory","ranges":[{"startOffset":1109,"endOffset":1275,"count":5}],"isBlockCoverage":true},{"functionName":"chalk","ranges":[{"startOffset":1137,"endOffset":1170,"count":0}],"isBlockCoverage":false},{"functionName":"createChalk","ranges":[{"startOffset":1278,"endOffset":1342,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1499,"endOffset":1699,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1728,"endOffset":1875,"count":0}],"isBlockCoverage":false},{"functionName":"getModelAnsi","ranges":[{"startOffset":1902,"endOffset":2394,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2499,"endOffset":2771,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2866,"endOffset":3142,"count":0}],"isBlockCoverage":false},{"functionName":"Object.defineProperties","ranges":[{"startOffset":3189,"endOffset":3197,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3245,"endOffset":3289,"count":20}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3293,"endOffset":3343,"count":0}],"isBlockCoverage":false},{"functionName":"createStyler","ranges":[{"startOffset":3375,"endOffset":3650,"count":4},{"startOffset":3500,"endOffset":3583,"count":0}],"isBlockCoverage":true},{"functionName":"createBuilder","ranges":[{"startOffset":3675,"endOffset":4243,"count":4}],"isBlockCoverage":true},{"functionName":"builder","ranges":[{"startOffset":3848,"endOffset":3959,"count":20},{"startOffset":3936,"endOffset":3958,"count":0}],"isBlockCoverage":true},{"functionName":"applyStyle","ranges":[{"startOffset":4265,"endOffset":5300,"count":20},{"startOffset":4318,"endOffset":4361,"count":0},{"startOffset":4419,"endOffset":4440,"count":0},{"startOffset":4511,"endOffset":4840,"count":0},{"startOffset":5177,"endOffset":5260,"count":0}],"isBlockCoverage":true}]},{"scriptId":"211","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/globs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6300,"count":1}],"isBlockCoverage":true},{"functionName":"buildExtensionPattern","ranges":[{"startOffset":755,"endOffset":838,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeGlobs","ranges":[{"startOffset":848,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"globFiles","ranges":[{"startOffset":3027,"endOffset":3288,"count":0}],"isBlockCoverage":false},{"functionName":"globDirectoriesSync","ranges":[{"startOffset":3319,"endOffset":3578,"count":0}],"isBlockCoverage":false},{"functionName":"findFiles","ranges":[{"startOffset":3588,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"findTests","ranges":[{"startOffset":3771,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getChokidarIgnorePatterns","ranges":[{"startOffset":3974,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"applyTestFileFilter","ranges":[{"startOffset":4200,"endOffset":6299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"212","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13357,"count":1}],"isBlockCoverage":true},{"functionName":"assertEventName","ranges":[{"startOffset":349,"endOffset":569,"count":30},{"startOffset":422,"endOffset":454,"count":4},{"startOffset":455,"endOffset":487,"count":0},{"startOffset":489,"endOffset":567,"count":0}],"isBlockCoverage":true},{"functionName":"assertListener","ranges":[{"startOffset":571,"endOffset":704,"count":4},{"startOffset":644,"endOffset":702,"count":0}],"isBlockCoverage":true},{"functionName":"getListeners","ranges":[{"startOffset":706,"endOffset":869,"count":30},{"startOffset":821,"endOffset":835,"count":8},{"startOffset":835,"endOffset":868,"count":22}],"isBlockCoverage":true},{"functionName":"getEventProducers","ranges":[{"startOffset":871,"endOffset":1175,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueProducers","ranges":[{"startOffset":1177,"endOffset":1587,"count":26},{"startOffset":1315,"endOffset":1408,"count":0},{"startOffset":1550,"endOffset":1582,"count":0}],"isBlockCoverage":true},{"functionName":"iterator","ranges":[{"startOffset":1589,"endOffset":2972,"count":0}],"isBlockCoverage":false},{"functionName":"defaultMethodNamesOrAssert","ranges":[{"startOffset":2974,"endOffset":3495,"count":0}],"isBlockCoverage":false},{"functionName":"isMetaEvent","ranges":[{"startOffset":3517,"endOffset":3590,"count":60},{"startOffset":3558,"endOffset":3590,"count":48}],"isBlockCoverage":true},{"functionName":"emitMetaEvent","ranges":[{"startOffset":3593,"endOffset":3808,"count":4}],"isBlockCoverage":true},{"functionName":"mixin","ranges":[{"startOffset":3850,"endOffset":4933,"count":0}],"isBlockCoverage":false},{"functionName":"get isDebugEnabled","ranges":[{"startOffset":4943,"endOffset":5528,"count":30},{"startOffset":5304,"endOffset":5341,"count":0},{"startOffset":5432,"endOffset":5444,"count":0}],"isBlockCoverage":true},{"functionName":"set isDebugEnabled","ranges":[{"startOffset":5538,"endOffset":5606,"count":0}],"isBlockCoverage":false},{"functionName":"Emittery","ranges":[{"startOffset":5609,"endOffset":6731,"count":1}],"isBlockCoverage":true},{"functionName":"Emittery.debug.logger","ranges":[{"startOffset":5961,"endOffset":6723,"count":0}],"isBlockCoverage":false},{"functionName":"logIfDebugEnabled","ranges":[{"startOffset":6734,"endOffset":6910,"count":30},{"startOffset":6835,"endOffset":6907,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":6913,"endOffset":7515,"count":4},{"startOffset":7010,"endOffset":7022,"count":0}],"isBlockCoverage":true},{"functionName":"off","ranges":[{"startOffset":7518,"endOffset":8087,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":8090,"endOffset":8292,"count":0}],"isBlockCoverage":false},{"functionName":"events","ranges":[{"startOffset":8295,"endOffset":8501,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":8504,"endOffset":9384,"count":26},{"startOffset":8599,"endOffset":8620,"count":4},{"startOffset":8622,"endOffset":8724,"count":0},{"startOffset":8882,"endOffset":8894,"count":4},{"startOffset":9031,"endOffset":9035,"count":4},{"startOffset":9036,"endOffset":9055,"count":22}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9131,"endOffset":9229,"count":22}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9261,"endOffset":9373,"count":0}],"isBlockCoverage":false},{"functionName":"emitSerial","ranges":[{"startOffset":9387,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"onAny","ranges":[{"startOffset":10237,"endOffset":10478,"count":0}],"isBlockCoverage":false},{"functionName":"anyEvent","ranges":[{"startOffset":10481,"endOffset":10521,"count":0}],"isBlockCoverage":false},{"functionName":"offAny","ranges":[{"startOffset":10524,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"clearListeners","ranges":[{"startOffset":10733,"endOffset":11739,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":11742,"endOffset":12458,"count":0}],"isBlockCoverage":false},{"functionName":"bindMethods","ranges":[{"startOffset":12461,"endOffset":12966,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13051,"endOffset":13075,"count":14}],"isBlockCoverage":true}]},{"scriptId":"213","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/matcher/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2646,"count":1}],"isBlockCoverage":true},{"functionName":"sanitizeArray","ranges":[{"startOffset":110,"endOffset":713,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegexp","ranges":[{"startOffset":735,"endOffset":1261,"count":0}],"isBlockCoverage":false},{"functionName":"baseMatcher","ranges":[{"startOffset":1284,"endOffset":2412,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2422,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"isMatch","ranges":[{"startOffset":2533,"endOffset":2645,"count":0}],"isBlockCoverage":false}]},{"scriptId":"214","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/context-ref.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":555,"count":1}],"isBlockCoverage":true},{"functionName":"ContextRef","ranges":[{"startOffset":35,"endOffset":72,"count":6}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":75,"endOffset":106,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":109,"endOffset":152,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":155,"endOffset":198,"count":5}],"isBlockCoverage":true},{"functionName":"LateBinding","ranges":[{"startOffset":242,"endOffset":314,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":317,"endOffset":487,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":490,"endOffset":552,"count":0}],"isBlockCoverage":false}]},{"scriptId":"215","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/create-chain.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4371,"count":1}],"isBlockCoverage":true},{"functionName":"startChain","ranges":[{"startOffset":38,"endOffset":265,"count":11}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":94,"endOffset":140,"count":0}],"isBlockCoverage":false},{"functionName":"extendChain","ranges":[{"startOffset":267,"endOffset":633,"count":27},{"startOffset":324,"endOffset":343,"count":7}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":357,"endOffset":412,"count":5}],"isBlockCoverage":true},{"functionName":"callWithFlag","ranges":[{"startOffset":635,"endOffset":965,"count":5},{"startOffset":870,"endOffset":942,"count":0}],"isBlockCoverage":true},{"functionName":"createHookChain","ranges":[{"startOffset":967,"endOffset":1316,"count":8},{"startOffset":1217,"endOffset":1299,"count":4}],"isBlockCoverage":true},{"functionName":"createChain","ranges":[{"startOffset":1333,"endOffset":4370,"count":1}],"isBlockCoverage":true},{"functionName":"root.macro","ranges":[{"startOffset":3411,"endOffset":3580,"count":0}],"isBlockCoverage":false},{"functionName":"apply","ranges":[{"startOffset":4105,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4196,"endOffset":4341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"216","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/parse-test-args.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":701,"count":1}],"isBlockCoverage":true},{"functionName":"buildTitle","ranges":[{"startOffset":19,"endOffset":366,"count":5},{"startOffset":104,"endOffset":140,"count":0}],"isBlockCoverage":true},{"functionName":"parseTestArgs","ranges":[{"startOffset":384,"endOffset":700,"count":5},{"startOffset":476,"endOffset":487,"count":0},{"startOffset":602,"endOffset":623,"count":0}],"isBlockCoverage":true}]},{"scriptId":"217","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/snapshot-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13174,"count":1}],"isBlockCoverage":true},{"functionName":"SnapshotError","ranges":[{"startOffset":1259,"endOffset":1371,"count":0}],"isBlockCoverage":false},{"functionName":"ChecksumError","ranges":[{"startOffset":1427,"endOffset":1524,"count":0}],"isBlockCoverage":false},{"functionName":"VersionMismatchError","ranges":[{"startOffset":1587,"endOffset":1774,"count":0}],"isBlockCoverage":false},{"functionName":"InvalidSnapshotError","ranges":[{"startOffset":1837,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"isLegacySnapshot","ranges":[{"startOffset":2016,"endOffset":2144,"count":0}],"isBlockCoverage":false},{"functionName":"LegacyError","ranges":[{"startOffset":2196,"endOffset":2294,"count":0}],"isBlockCoverage":false},{"functionName":"tryRead","ranges":[{"startOffset":2298,"endOffset":2454,"count":1},{"startOffset":2433,"endOffset":2452,"count":0}],"isBlockCoverage":true},{"functionName":"formatEntry","ranges":[{"startOffset":2456,"endOffset":2875,"count":0}],"isBlockCoverage":false},{"functionName":"combineEntries","ranges":[{"startOffset":2877,"endOffset":3292,"count":0}],"isBlockCoverage":false},{"functionName":"generateReport","ranges":[{"startOffset":3294,"endOffset":3611,"count":0}],"isBlockCoverage":false},{"functionName":"BufferBuilder","ranges":[{"startOffset":3636,"endOffset":3698,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":3701,"endOffset":3818,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3821,"endOffset":4011,"count":0}],"isBlockCoverage":false},{"functionName":"toBuffer","ranges":[{"startOffset":4014,"endOffset":4084,"count":0}],"isBlockCoverage":false},{"functionName":"sortBlocks","ranges":[{"startOffset":4088,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"encodeSnapshots","ranges":[{"startOffset":4450,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"decodeSnapshots","ranges":[{"startOffset":5016,"endOffset":5987,"count":0}],"isBlockCoverage":false},{"functionName":"Manager","ranges":[{"startOffset":6006,"endOffset":6530,"count":1}],"isBlockCoverage":true},{"functionName":"touch","ranges":[{"startOffset":6533,"endOffset":6604,"count":5}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":6607,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"recordSerialized","ranges":[{"startOffset":7345,"endOffset":8027,"count":0}],"isBlockCoverage":false},{"functionName":"deferRecord","ranges":[{"startOffset":8030,"endOffset":8370,"count":0}],"isBlockCoverage":false},{"functionName":"record","ranges":[{"startOffset":8373,"endOffset":8449,"count":0}],"isBlockCoverage":false},{"functionName":"skipBlock","ranges":[{"startOffset":8452,"endOffset":8587,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":8590,"endOffset":9164,"count":0}],"isBlockCoverage":false},{"functionName":"save","ranges":[{"startOffset":9167,"endOffset":10106,"count":1},{"startOffset":9266,"endOffset":9301,"count":0},{"startOffset":9303,"endOffset":9421,"count":0},{"startOffset":9468,"endOffset":10105,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9565,"endOffset":9604,"count":0}],"isBlockCoverage":false},{"functionName":"tmpfileCreated","ranges":[{"startOffset":9845,"endOffset":9878,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10140,"endOffset":10658,"count":1},{"startOffset":10399,"endOffset":10420,"count":0},{"startOffset":10441,"endOffset":10632,"count":0},{"startOffset":10635,"endOffset":10655,"count":0}],"isBlockCoverage":true},{"functionName":"mem.cacheKey.file.file","ranges":[{"startOffset":10702,"endOffset":11285,"count":1},{"startOffset":10819,"endOffset":10947,"count":0},{"startOffset":11054,"endOffset":11104,"count":0},{"startOffset":11265,"endOffset":11284,"count":0}],"isBlockCoverage":true},{"functionName":"cacheKey","ranges":[{"startOffset":11298,"endOffset":11316,"count":1}],"isBlockCoverage":true},{"functionName":"determineSnapshotPaths","ranges":[{"startOffset":11321,"endOffset":11775,"count":1}],"isBlockCoverage":true},{"functionName":"cleanFile","ranges":[{"startOffset":11777,"endOffset":11941,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":11950,"endOffset":13173,"count":1},{"startOffset":12141,"endOffset":12274,"count":0},{"startOffset":12552,"endOffset":13125,"count":0},{"startOffset":13126,"endOffset":13141,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12700,"endOffset":12737,"count":0}],"isBlockCoverage":false}]},{"scriptId":"218","url":"node:internal/file","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1801,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":424,"endOffset":1563,"count":0}],"isBlockCoverage":false}]},{"scriptId":"219","url":"node:crypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8825,"count":1}],"isBlockCoverage":false},{"functionName":"lazyWebCrypto","ranges":[{"startOffset":3084,"endOffset":3186,"count":6}],"isBlockCoverage":true},{"functionName":"lazyOwnsProcessState","ranges":[{"startOffset":3210,"endOffset":3340,"count":0}],"isBlockCoverage":false},{"functionName":"createHash","ranges":[{"startOffset":3482,"endOffset":3564,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3566,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"createCipheriv","ranges":[{"startOffset":3668,"endOffset":3770,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipher","ranges":[{"startOffset":3772,"endOffset":3876,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipheriv","ranges":[{"startOffset":3878,"endOffset":3984,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellman","ranges":[{"startOffset":3986,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellmanGroup","ranges":[{"startOffset":4144,"endOffset":4226,"count":0}],"isBlockCoverage":false},{"functionName":"createECDH","ranges":[{"startOffset":4228,"endOffset":4284,"count":0}],"isBlockCoverage":false},{"functionName":"createHmac","ranges":[{"startOffset":4286,"endOffset":4368,"count":0}],"isBlockCoverage":false},{"functionName":"createSign","ranges":[{"startOffset":4370,"endOffset":4452,"count":0}],"isBlockCoverage":false},{"functionName":"createVerify","ranges":[{"startOffset":4454,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"getFips","ranges":[{"startOffset":5583,"endOffset":5668,"count":0}],"isBlockCoverage":false},{"functionName":"setFips","ranges":[{"startOffset":5670,"endOffset":5954,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":5956,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6125,"endOffset":6379,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6383,"endOffset":6572,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomBytesAlias","ranges":[{"startOffset":6621,"endOffset":7454,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6719,"endOffset":7209,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7215,"endOffset":7446,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8198,"endOffset":8238,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8350,"endOffset":8397,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8523,"endOffset":8544,"count":3}],"isBlockCoverage":true}]},{"scriptId":"220","url":"node:internal/crypto/random","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16246,"count":1}],"isBlockCoverage":false},{"functionName":"assertOffset","ranges":[{"startOffset":1260,"endOffset":1626,"count":0}],"isBlockCoverage":false},{"functionName":"assertSize","ranges":[{"startOffset":1628,"endOffset":2089,"count":0}],"isBlockCoverage":false},{"functionName":"randomBytes","ranges":[{"startOffset":2091,"endOffset":2634,"count":0}],"isBlockCoverage":false},{"functionName":"randomFillSync","ranges":[{"startOffset":2636,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"randomFill","ranges":[{"startOffset":3306,"endOffset":4352,"count":0}],"isBlockCoverage":false},{"functionName":"randomInt","ranges":[{"startOffset":4902,"endOffset":7142,"count":0}],"isBlockCoverage":false},{"functionName":"asyncRefillRandomIntCache","ranges":[{"startOffset":7144,"endOffset":8020,"count":0}],"isBlockCoverage":false},{"functionName":"onJobDone","ranges":[{"startOffset":8023,"endOffset":8185,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":8417,"endOffset":9033,"count":0}],"isBlockCoverage":false},{"functionName":"getHexBytes","ranges":[{"startOffset":9398,"endOffset":9697,"count":0}],"isBlockCoverage":false},{"functionName":"serializeUUID","ranges":[{"startOffset":9699,"endOffset":10425,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedUUID","ranges":[{"startOffset":10427,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"getUnbufferedUUID","ranges":[{"startOffset":10732,"endOffset":10970,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":10972,"endOffset":11292,"count":0}],"isBlockCoverage":false},{"functionName":"createRandomPrimeJob","ranges":[{"startOffset":11294,"endOffset":12527,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrime","ranges":[{"startOffset":12529,"endOffset":12985,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrimeSync","ranges":[{"startOffset":12987,"endOffset":13245,"count":0}],"isBlockCoverage":false},{"functionName":"numberToHexCharCode","ranges":[{"startOffset":13519,"endOffset":13563,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBufferToUnsignedBigInt","ranges":[{"startOffset":13638,"endOffset":14065,"count":0}],"isBlockCoverage":false},{"functionName":"unsignedBigIntToBuffer","ranges":[{"startOffset":14067,"endOffset":14364,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrime","ranges":[{"startOffset":14366,"endOffset":15259,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrimeSync","ranges":[{"startOffset":15261,"endOffset":16059,"count":0}],"isBlockCoverage":false}]},{"scriptId":"221","url":"node:internal/crypto/pbkdf2","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3018,"count":1}],"isBlockCoverage":false},{"functionName":"pbkdf2","ranges":[{"startOffset":472,"endOffset":1136,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2Sync","ranges":[{"startOffset":1138,"endOffset":1543,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1545,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2DeriveBits","ranges":[{"startOffset":2059,"endOffset":2950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"222","url":"node:internal/crypto/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14973,"count":1}],"isBlockCoverage":false},{"functionName":"toBuf","ranges":[{"startOffset":1730,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1943,"endOffset":1986,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2020,"endOffset":2062,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2096,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"setEngine","ranges":[{"startOffset":2142,"endOffset":2549,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2596,"endOffset":3060,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBufferLength","ranges":[{"startOffset":6504,"endOffset":6717,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeAlgorithm","ranges":[{"startOffset":6943,"endOffset":9378,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayBuffer","ranges":[{"startOffset":9380,"endOffset":9519,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteOffset","ranges":[{"startOffset":9521,"endOffset":9672,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteLength","ranges":[{"startOffset":9674,"endOffset":9825,"count":0}],"isBlockCoverage":false},{"functionName":"hasAnyNotIn","ranges":[{"startOffset":9827,"endOffset":9966,"count":0}],"isBlockCoverage":false},{"functionName":"validateBitLength","ranges":[{"startOffset":9968,"endOffset":10310,"count":0}],"isBlockCoverage":false},{"functionName":"validateByteLength","ranges":[{"startOffset":10312,"endOffset":10508,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10553,"endOffset":10822,"count":0}],"isBlockCoverage":false},{"functionName":"onDone","ranges":[{"startOffset":10826,"endOffset":11058,"count":0}],"isBlockCoverage":false},{"functionName":"jobPromise","ranges":[{"startOffset":11060,"endOffset":11330,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedInt","ranges":[{"startOffset":11866,"endOffset":12146,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedBigInt","ranges":[{"startOffset":12148,"endOffset":12384,"count":0}],"isBlockCoverage":false},{"functionName":"getStringOption","ranges":[{"startOffset":12386,"endOffset":12551,"count":0}],"isBlockCoverage":false},{"functionName":"getUsagesUnion","ranges":[{"startOffset":12553,"endOffset":12765,"count":0}],"isBlockCoverage":false},{"functionName":"getBlockSize","ranges":[{"startOffset":12767,"endOffset":12948,"count":0}],"isBlockCoverage":false},{"functionName":"validateKeyOps","ranges":[{"startOffset":13087,"endOffset":14053,"count":0}],"isBlockCoverage":false},{"functionName":"secureHeapUsed","ranges":[{"startOffset":14055,"endOffset":14438,"count":0}],"isBlockCoverage":false}]},{"scriptId":"223","url":"node:internal/crypto/hashnames","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2520,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeHashName","ranges":[{"startOffset":1890,"endOffset":2133,"count":0}],"isBlockCoverage":false}]},{"scriptId":"224","url":"node:internal/crypto/scrypt","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3331,"count":1}],"isBlockCoverage":false},{"functionName":"scrypt","ranges":[{"startOffset":626,"endOffset":1292,"count":0}],"isBlockCoverage":false},{"functionName":"scryptSync","ranges":[{"startOffset":1294,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1702,"endOffset":3283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"225","url":"node:internal/crypto/hkdf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3304,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":816,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"prepareKey","ranges":[{"startOffset":1274,"endOffset":1702,"count":0}],"isBlockCoverage":false},{"functionName":"hkdf","ranges":[{"startOffset":1704,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfSync","ranges":[{"startOffset":2172,"endOffset":2510,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfDeriveBits","ranges":[{"startOffset":2549,"endOffset":3242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"226","url":"node:internal/crypto/keys","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21401,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2331,"endOffset":6452,"count":1}],"isBlockCoverage":true},{"functionName":"KeyObject","ranges":[{"startOffset":2441,"endOffset":2983,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":2989,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":3049,"endOffset":3190,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":3196,"endOffset":3480,"count":0}],"isBlockCoverage":false},{"functionName":"SecretKeyObject","ranges":[{"startOffset":3698,"endOffset":3756,"count":0}],"isBlockCoverage":false},{"functionName":"get symmetricKeySize","ranges":[{"startOffset":3762,"endOffset":3842,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":3848,"endOffset":4196,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeKeyDetails","ranges":[{"startOffset":4329,"endOffset":4598,"count":0}],"isBlockCoverage":false},{"functionName":"AsymmetricKeyObject","ranges":[{"startOffset":4707,"endOffset":4767,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyType","ranges":[{"startOffset":4773,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyDetails","ranges":[{"startOffset":4931,"endOffset":5308,"count":0}],"isBlockCoverage":false},{"functionName":"PublicKeyObject","ranges":[{"startOffset":5372,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5436,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"PrivateKeyObject","ranges":[{"startOffset":5792,"endOffset":5851,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5857,"endOffset":6371,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormat","ranges":[{"startOffset":6456,"endOffset":6841,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyType","ranges":[{"startOffset":6843,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"option","ranges":[{"startOffset":7697,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormatAndType","ranges":[{"startOffset":7820,"endOffset":8520,"count":0}],"isBlockCoverage":false},{"functionName":"isStringOrBuffer","ranges":[{"startOffset":8522,"endOffset":8659,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":8661,"endOffset":10019,"count":0}],"isBlockCoverage":false},{"functionName":"parsePublicKeyEncoding","ranges":[{"startOffset":10218,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"parsePrivateKeyEncoding","ranges":[{"startOffset":10554,"endOffset":10670,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandle","ranges":[{"startOffset":10672,"endOffset":11250,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyTypes","ranges":[{"startOffset":11252,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandleFromJwk","ranges":[{"startOffset":11759,"endOffset":14308,"count":0}],"isBlockCoverage":false},{"functionName":"prepareAsymmetricKey","ranges":[{"startOffset":14310,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"preparePrivateKey","ranges":[{"startOffset":15855,"endOffset":15943,"count":0}],"isBlockCoverage":false},{"functionName":"preparePublicOrPrivateKey","ranges":[{"startOffset":15945,"endOffset":16040,"count":0}],"isBlockCoverage":false},{"functionName":"prepareSecretKey","ranges":[{"startOffset":16042,"endOffset":16740,"count":0}],"isBlockCoverage":false},{"functionName":"createSecretKey","ranges":[{"startOffset":16742,"endOffset":16946,"count":0}],"isBlockCoverage":false},{"functionName":"createPublicKey","ranges":[{"startOffset":16948,"endOffset":17285,"count":0}],"isBlockCoverage":false},{"functionName":"createPrivateKey","ranges":[{"startOffset":17287,"endOffset":17628,"count":0}],"isBlockCoverage":false},{"functionName":"isKeyObject","ranges":[{"startOffset":17630,"endOffset":17712,"count":0}],"isBlockCoverage":false},{"functionName":"CryptoKey","ranges":[{"startOffset":18135,"endOffset":18195,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18199,"endOffset":18548,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":18552,"endOffset":18687,"count":0}],"isBlockCoverage":false},{"functionName":"get extractable","ranges":[{"startOffset":18691,"endOffset":18830,"count":0}],"isBlockCoverage":false},{"functionName":"get algorithm","ranges":[{"startOffset":18834,"endOffset":18969,"count":0}],"isBlockCoverage":false},{"functionName":"get usages","ranges":[{"startOffset":18973,"endOffset":19116,"count":0}],"isBlockCoverage":false},{"functionName":"InternalCryptoKey","ranges":[{"startOffset":19694,"endOffset":20173,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20177,"endOffset":20529,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20533,"endOffset":20737,"count":0}],"isBlockCoverage":false},{"functionName":"isCryptoKey","ranges":[{"startOffset":20866,"endOffset":20950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"227","url":"node:internal/crypto/keygen","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10712,"count":1}],"isBlockCoverage":false},{"functionName":"isJwk","ranges":[{"startOffset":1183,"endOffset":1253,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":1255,"endOffset":1409,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPair","ranges":[{"startOffset":1411,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPairSync","ranges":[{"startOffset":2193,"endOffset":2310,"count":0}],"isBlockCoverage":false},{"functionName":"handleError","ranges":[{"startOffset":2312,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":2692,"endOffset":3942,"count":0}],"isBlockCoverage":false},{"functionName":"createJob","ranges":[{"startOffset":3944,"endOffset":9232,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyJob","ranges":[{"startOffset":9263,"endOffset":9800,"count":0}],"isBlockCoverage":false},{"functionName":"handleGenerateKeyError","ranges":[{"startOffset":9802,"endOffset":10004,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":10006,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeySync","ranges":[{"startOffset":10478,"endOffset":10612,"count":0}],"isBlockCoverage":false}]},{"scriptId":"228","url":"node:internal/crypto/diffiehellman","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9910,"count":1}],"isBlockCoverage":false},{"functionName":"DiffieHellman","ranges":[{"startOffset":1232,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"DiffieHellmanGroup","ranges":[{"startOffset":3039,"endOffset":3365,"count":0}],"isBlockCoverage":false},{"functionName":"dhGenerateKeys","ranges":[{"startOffset":3476,"endOffset":3591,"count":0}],"isBlockCoverage":false},{"functionName":"dhComputeSecret","ranges":[{"startOffset":3705,"endOffset":3963,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrime","ranges":[{"startOffset":4062,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetGenerator","ranges":[{"startOffset":4282,"endOffset":4407,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPublicKey","ranges":[{"startOffset":4518,"endOffset":4631,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrivateKey","ranges":[{"startOffset":4745,"endOffset":4860,"count":0}],"isBlockCoverage":false},{"functionName":"setPublicKey","ranges":[{"startOffset":4902,"endOffset":5044,"count":0}],"isBlockCoverage":false},{"functionName":"setPrivateKey","ranges":[{"startOffset":5088,"endOffset":5232,"count":0}],"isBlockCoverage":false},{"functionName":"ECDH","ranges":[{"startOffset":5236,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeys","ranges":[{"startOffset":5701,"endOffset":5823,"count":0}],"isBlockCoverage":false},{"functionName":"getPublicKey","ranges":[{"startOffset":5856,"endOffset":6007,"count":0}],"isBlockCoverage":false},{"functionName":"convertKey","ranges":[{"startOffset":6028,"endOffset":6294,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6297,"endOffset":6432,"count":0}],"isBlockCoverage":false},{"functionName":"getFormat","ranges":[{"startOffset":6434,"endOffset":6757,"count":0}],"isBlockCoverage":false},{"functionName":"diffieHellman","ranges":[{"startOffset":6831,"endOffset":7899,"count":0}],"isBlockCoverage":false},{"functionName":"ecdhDeriveBits","ranges":[{"startOffset":8018,"endOffset":9804,"count":0}],"isBlockCoverage":false}]},{"scriptId":"229","url":"node:internal/crypto/cipher","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10199,"count":1}],"isBlockCoverage":false},{"functionName":"rsaFunctionFor","ranges":[{"startOffset":1233,"endOffset":1981,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1301,"endOffset":1978,"count":0}],"isBlockCoverage":false},{"functionName":"getDecoder","ranges":[{"startOffset":2482,"endOffset":2848,"count":0}],"isBlockCoverage":false},{"functionName":"getUIntOption","ranges":[{"startOffset":2850,"endOffset":3084,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherBase","ranges":[{"startOffset":3086,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3507,"endOffset":3742,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherWithIV","ranges":[{"startOffset":3744,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"Cipher","ranges":[{"startOffset":4326,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":4670,"endOffset":4786,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":4815,"endOffset":4953,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":4982,"endOffset":5498,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5527,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"setAutoPadding","ranges":[{"startOffset":5809,"endOffset":5956,"count":0}],"isBlockCoverage":false},{"functionName":"getAuthTag","ranges":[{"startOffset":5989,"endOffset":6149,"count":0}],"isBlockCoverage":false},{"functionName":"setAuthTag","ranges":[{"startOffset":6153,"endOffset":6365,"count":0}],"isBlockCoverage":false},{"functionName":"setAAD","ranges":[{"startOffset":6393,"endOffset":6735,"count":0}],"isBlockCoverage":false},{"functionName":"Cipheriv","ranges":[{"startOffset":6983,"endOffset":7193,"count":0}],"isBlockCoverage":false},{"functionName":"addCipherPrototypeFunctions","ranges":[{"startOffset":7195,"endOffset":7786,"count":3},{"startOffset":7591,"endOffset":7664,"count":1},{"startOffset":7664,"endOffset":7726,"count":2}],"isBlockCoverage":true},{"functionName":"Decipher","ranges":[{"startOffset":8187,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"Decipheriv","ranges":[{"startOffset":8800,"endOffset":9017,"count":0}],"isBlockCoverage":false},{"functionName":"getCipherInfo","ranges":[{"startOffset":9179,"endOffset":10040,"count":0}],"isBlockCoverage":false}]},{"scriptId":"230","url":"node:internal/streams/lazy_transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1535,"count":1}],"isBlockCoverage":false},{"functionName":"LazyTransform","ranges":[{"startOffset":401,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"makeGetter","ranges":[{"startOffset":595,"endOffset":918,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":632,"endOffset":915,"count":0}],"isBlockCoverage":false},{"functionName":"makeSetter","ranges":[{"startOffset":920,"endOffset":1139,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":957,"endOffset":1136,"count":0}],"isBlockCoverage":false}]},{"scriptId":"231","url":"node:internal/crypto/sig","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6942,"count":1}],"isBlockCoverage":false},{"functionName":"Sign","ranges":[{"startOffset":870,"endOffset":1129,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":1252,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":1371,"endOffset":1684,"count":0}],"isBlockCoverage":false},{"functionName":"getPadding","ranges":[{"startOffset":1687,"endOffset":1762,"count":0}],"isBlockCoverage":false},{"functionName":"getSaltLength","ranges":[{"startOffset":1764,"endOffset":1845,"count":0}],"isBlockCoverage":false},{"functionName":"getDSASignatureEncoding","ranges":[{"startOffset":1847,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"getIntOption","ranges":[{"startOffset":2201,"endOffset":2446,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":2470,"endOffset":3086,"count":0}],"isBlockCoverage":false},{"functionName":"signOneShot","ranges":[{"startOffset":3089,"endOffset":4307,"count":0}],"isBlockCoverage":false},{"functionName":"Verify","ranges":[{"startOffset":4309,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":4804,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"verifyOneShot","ranges":[{"startOffset":5390,"endOffset":6868,"count":0}],"isBlockCoverage":false}]},{"scriptId":"232","url":"node:internal/crypto/hash","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4553,"count":1}],"isBlockCoverage":false},{"functionName":"Hash","ranges":[{"startOffset":954,"endOffset":1474,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":1605,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1804,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":1936,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":2043,"endOffset":2507,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":2535,"endOffset":2856,"count":0}],"isBlockCoverage":false},{"functionName":"Hmac","ranges":[{"startOffset":2859,"endOffset":3259,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":3440,"endOffset":3872,"count":0}],"isBlockCoverage":false},{"functionName":"asyncDigest","ranges":[{"startOffset":4027,"endOffset":4498,"count":0}],"isBlockCoverage":false}]},{"scriptId":"233","url":"node:internal/crypto/x509","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9909,"count":1}],"isBlockCoverage":false},{"functionName":"isX509Certificate","ranges":[{"startOffset":1155,"endOffset":1238,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":1240,"endOffset":2485,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2487,"endOffset":2649,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2651,"endOffset":9663,"count":0}],"isBlockCoverage":false}]},{"scriptId":"234","url":"node:internal/crypto/certificate","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1546,"count":1}],"isBlockCoverage":false},{"functionName":"verifySpkac","ranges":[{"startOffset":385,"endOffset":505,"count":0}],"isBlockCoverage":false},{"functionName":"exportPublicKey","ranges":[{"startOffset":507,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"exportChallenge","ranges":[{"startOffset":637,"endOffset":765,"count":0}],"isBlockCoverage":false},{"functionName":"Certificate","ranges":[{"startOffset":1122,"endOffset":1216,"count":0}],"isBlockCoverage":false}]},{"scriptId":"235","url":"node:internal/crypto/webcrypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30940,"count":1}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":1190,"endOffset":1799,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":1801,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":1913,"endOffset":4408,"count":0}],"isBlockCoverage":false},{"functionName":"deriveBits","ranges":[{"startOffset":4410,"endOffset":5970,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyLength","ranges":[{"startOffset":5972,"endOffset":6592,"count":0}],"isBlockCoverage":false},{"functionName":"deriveKey","ranges":[{"startOffset":6594,"endOffset":8774,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeySpki","ranges":[{"startOffset":8776,"endOffset":9754,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyPkcs8","ranges":[{"startOffset":9756,"endOffset":10743,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyRaw","ranges":[{"startOffset":10745,"endOffset":11678,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyJWK","ranges":[{"startOffset":11680,"endOffset":13210,"count":0}],"isBlockCoverage":false},{"functionName":"exportKey","ranges":[{"startOffset":13212,"endOffset":14072,"count":0}],"isBlockCoverage":false},{"functionName":"importGenericSecretKey","ranges":[{"startOffset":14074,"endOffset":15424,"count":0}],"isBlockCoverage":false},{"functionName":"importKey","ranges":[{"startOffset":15426,"endOffset":18168,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":18261,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapKey","ranges":[{"startOffset":19891,"endOffset":21854,"count":0}],"isBlockCoverage":false},{"functionName":"signVerify","ranges":[{"startOffset":21856,"endOffset":22959,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":22961,"endOffset":23587,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":23589,"endOffset":24346,"count":0}],"isBlockCoverage":false},{"functionName":"cipherOrWrap","ranges":[{"startOffset":24348,"endOffset":25759,"count":0}],"isBlockCoverage":false},{"functionName":"encrypt","ranges":[{"startOffset":25761,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"decrypt","ranges":[{"startOffset":26489,"endOffset":27215,"count":0}],"isBlockCoverage":false},{"functionName":"SubtleCrypto","ranges":[{"startOffset":27371,"endOffset":27431,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27466,"endOffset":27479,"count":1}],"isBlockCoverage":true},{"functionName":"Crypto","ranges":[{"startOffset":27518,"endOffset":27578,"count":0}],"isBlockCoverage":true},{"functionName":"get subtle","ranges":[{"startOffset":27582,"endOffset":27682,"count":3},{"startOffset":27622,"endOffset":27659,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27717,"endOffset":27730,"count":1}],"isBlockCoverage":true},{"functionName":"getRandomValues","ranges":[{"startOffset":27746,"endOffset":28079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"236","url":"node:zlib","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29534,"count":1}],"isBlockCoverage":false},{"functionName":"zlibBuffer","ranges":[{"startOffset":3530,"endOffset":4157,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnData","ranges":[{"startOffset":4159,"endOffset":4490,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnError","ranges":[{"startOffset":4492,"endOffset":4577,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnEnd","ranges":[{"startOffset":4579,"endOffset":4909,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferSync","ranges":[{"startOffset":4911,"endOffset":5452,"count":0}],"isBlockCoverage":false},{"functionName":"zlibOnError","ranges":[{"startOffset":5454,"endOffset":5768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5993,"endOffset":6329,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6633,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase","ranges":[{"startOffset":7161,"endOffset":9213,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9438,"endOffset":9475,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9918,"endOffset":9964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10111,"endOffset":10163,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.reset","ranges":[{"startOffset":10304,"endOffset":10412,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._flush","ranges":[{"startOffset":10558,"endOffset":10630,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._final","ranges":[{"startOffset":10697,"endOffset":10733,"count":0}],"isBlockCoverage":false},{"functionName":"maxFlush","ranges":[{"startOffset":11331,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.flush","ranges":[{"startOffset":11847,"endOffset":12249,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.close","ranges":[{"startOffset":12279,"endOffset":12361,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._destroy","ranges":[{"startOffset":12394,"endOffset":12454,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._transform","ranges":[{"startOffset":12489,"endOffset":13023,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._processChunk","ranges":[{"startOffset":13061,"endOffset":13290,"count":0}],"isBlockCoverage":false},{"functionName":"processChunkSync","ranges":[{"startOffset":13293,"endOffset":15578,"count":0}],"isBlockCoverage":false},{"functionName":"processChunk","ranges":[{"startOffset":15580,"endOffset":16170,"count":0}],"isBlockCoverage":false},{"functionName":"processCallback","ranges":[{"startOffset":16172,"endOffset":18474,"count":0}],"isBlockCoverage":false},{"functionName":"_close","ranges":[{"startOffset":18476,"endOffset":18666,"count":0}],"isBlockCoverage":false},{"functionName":"Zlib","ranges":[{"startOffset":18863,"endOffset":21181,"count":0}],"isBlockCoverage":false},{"functionName":"paramsAfterFlushCallback","ranges":[{"startOffset":21531,"endOffset":21797,"count":0}],"isBlockCoverage":false},{"functionName":"params","ranges":[{"startOffset":21823,"endOffset":22290,"count":0}],"isBlockCoverage":false},{"functionName":"Deflate","ranges":[{"startOffset":22334,"endOffset":22469,"count":0}],"isBlockCoverage":false},{"functionName":"Inflate","ranges":[{"startOffset":22565,"endOffset":22700,"count":0}],"isBlockCoverage":false},{"functionName":"Gzip","ranges":[{"startOffset":22796,"endOffset":22919,"count":0}],"isBlockCoverage":false},{"functionName":"Gunzip","ranges":[{"startOffset":23009,"endOffset":23140,"count":0}],"isBlockCoverage":false},{"functionName":"DeflateRaw","ranges":[{"startOffset":23234,"endOffset":23439,"count":0}],"isBlockCoverage":false},{"functionName":"InflateRaw","ranges":[{"startOffset":23541,"endOffset":23688,"count":0}],"isBlockCoverage":false},{"functionName":"Unzip","ranges":[{"startOffset":23790,"endOffset":23917,"count":0}],"isBlockCoverage":false},{"functionName":"createConvenienceMethod","ranges":[{"startOffset":24009,"endOffset":24398,"count":18},{"startOffset":24068,"endOffset":24397,"count":9}],"isBlockCoverage":true},{"functionName":"syncBufferWrapper","ranges":[{"startOffset":24081,"endOffset":24182,"count":0}],"isBlockCoverage":false},{"functionName":"asyncBufferWrapper","ranges":[{"startOffset":24197,"endOffset":24395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24483,"endOffset":24570,"count":107},{"startOffset":24541,"endOffset":24561,"count":9},{"startOffset":24562,"endOffset":24569,"count":98}],"isBlockCoverage":true},{"functionName":"Brotli","ranges":[{"startOffset":24789,"endOffset":26126,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliCompress","ranges":[{"startOffset":26220,"endOffset":26384,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliDecompress","ranges":[{"startOffset":26498,"endOffset":26668,"count":0}],"isBlockCoverage":false},{"functionName":"createProperty","ranges":[{"startOffset":26787,"endOffset":26973,"count":9}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":26908,"endOffset":26965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27202,"endOffset":27238,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":27242,"endOffset":27283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"237","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16298,"count":1}],"isBlockCoverage":true},{"functionName":"hasOwnProperty","ranges":[{"startOffset":362,"endOffset":430,"count":0}],"isBlockCoverage":false},{"functionName":"isExternalAssertError","ranges":[{"startOffset":433,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"formatErrorValue","ranges":[{"startOffset":865,"endOffset":1002,"count":0}],"isBlockCoverage":false},{"functionName":"captureSavedError","ranges":[{"startOffset":1030,"endOffset":1237,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext","ranges":[{"startOffset":1316,"endOffset":4497,"count":5}],"isBlockCoverage":true},{"functionName":"pass","ranges":[{"startOffset":1349,"endOffset":1395,"count":7}],"isBlockCoverage":true},{"functionName":"pending","ranges":[{"startOffset":1400,"endOffset":1462,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":1467,"endOffset":1521,"count":0}],"isBlockCoverage":false},{"functionName":"skip","ranges":[{"startOffset":1526,"endOffset":1572,"count":0}],"isBlockCoverage":false},{"functionName":"compareWithSnapshot","ranges":[{"startOffset":1598,"endOffset":1642,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.snapshot.skip","ranges":[{"startOffset":1778,"endOffset":1813,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.log","ranges":[{"startOffset":1829,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan","ranges":[{"startOffset":2064,"endOffset":2120,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.plan.skip","ranges":[{"startOffset":2142,"endOffset":2150,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.timeout","ranges":[{"startOffset":2170,"endOffset":2222,"count":0}],"isBlockCoverage":false},{"functionName":"ExecutionContext.teardown","ranges":[{"startOffset":2243,"endOffset":2291,"count":5}],"isBlockCoverage":true},{"functionName":"ExecutionContext.try","ranges":[{"startOffset":2307,"endOffset":4493,"count":0}],"isBlockCoverage":false},{"functionName":"get title","ranges":[{"startOffset":4500,"endOffset":4550,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4553,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"set context","ranges":[{"startOffset":4619,"endOffset":4689,"count":0}],"isBlockCoverage":false},{"functionName":"get passed","ranges":[{"startOffset":4692,"endOffset":4803,"count":0}],"isBlockCoverage":false},{"functionName":"Test","ranges":[{"startOffset":4836,"endOffset":7739,"count":5},{"startOffset":4940,"endOffset":4945,"count":0}],"isBlockCoverage":true},{"functionName":"Test.compareWithSnapshot","ranges":[{"startOffset":5648,"endOffset":6084,"count":0}],"isBlockCoverage":false},{"functionName":"Test.skipSnapshot","ranges":[{"startOffset":6109,"endOffset":6523,"count":0}],"isBlockCoverage":false},{"functionName":"Test.runAttempt","ranges":[{"startOffset":6546,"endOffset":7343,"count":0}],"isBlockCoverage":false},{"functionName":"createExecutionContext","ranges":[{"startOffset":7742,"endOffset":7808,"count":5}],"isBlockCoverage":true},{"functionName":"countPassedAssertion","ranges":[{"startOffset":7811,"endOffset":8163,"count":7},{"startOffset":7858,"endOffset":7949,"count":0},{"startOffset":7987,"endOffset":8112,"count":0}],"isBlockCoverage":true},{"functionName":"addLog","ranges":[{"startOffset":8166,"endOffset":8207,"count":0}],"isBlockCoverage":false},{"functionName":"addPendingAssertion","ranges":[{"startOffset":8210,"endOffset":8745,"count":0}],"isBlockCoverage":false},{"functionName":"addFailedAssertion","ranges":[{"startOffset":8748,"endOffset":9133,"count":0}],"isBlockCoverage":false},{"functionName":"finishAttempt","ranges":[{"startOffset":9136,"endOffset":10154,"count":0}],"isBlockCoverage":false},{"functionName":"saveFirstError","ranges":[{"startOffset":10157,"endOffset":10243,"count":0}],"isBlockCoverage":false},{"functionName":"plan","ranges":[{"startOffset":10246,"endOffset":10542,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":10545,"endOffset":11120,"count":0}],"isBlockCoverage":false},{"functionName":"refreshTimeout","ranges":[{"startOffset":11123,"endOffset":11303,"count":7},{"startOffset":11184,"endOffset":11300,"count":0}],"isBlockCoverage":true},{"functionName":"clearTimeout","ranges":[{"startOffset":11306,"endOffset":11401,"count":5}],"isBlockCoverage":true},{"functionName":"addTeardown","ranges":[{"startOffset":11404,"endOffset":11793,"count":5},{"startOffset":11447,"endOffset":11540,"count":0},{"startOffset":11564,"endOffset":11664,"count":0},{"startOffset":11704,"endOffset":11756,"count":0}],"isBlockCoverage":true},{"functionName":"runTeardowns","ranges":[{"startOffset":11796,"endOffset":12044,"count":5},{"startOffset":11985,"endOffset":12037,"count":0}],"isBlockCoverage":true},{"functionName":"verifyPlan","ranges":[{"startOffset":12047,"endOffset":12402,"count":5},{"startOffset":12113,"endOffset":12151,"count":0},{"startOffset":12153,"endOffset":12399,"count":0}],"isBlockCoverage":true},{"functionName":"verifyAssertions","ranges":[{"startOffset":12405,"endOffset":13050,"count":5},{"startOffset":12450,"endOffset":12466,"count":0},{"startOffset":12504,"endOffset":12622,"count":0},{"startOffset":12662,"endOffset":12765,"count":0},{"startOffset":12835,"endOffset":12901,"count":0},{"startOffset":12933,"endOffset":12951,"count":0},{"startOffset":12953,"endOffset":13043,"count":0}],"isBlockCoverage":true},{"functionName":"callFn","ranges":[{"startOffset":13053,"endOffset":13237,"count":5},{"startOffset":13171,"endOffset":13234,"count":0}],"isBlockCoverage":true},{"functionName":"run","ranges":[{"startOffset":13240,"endOffset":15578,"count":5},{"startOffset":13338,"endOffset":13891,"count":0},{"startOffset":14126,"endOffset":14276,"count":0},{"startOffset":15550,"endOffset":15577,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14153,"endOffset":14270,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14462,"endOffset":15544,"count":5}],"isBlockCoverage":true},{"functionName":"finishDueToAttributedError","ranges":[{"startOffset":14513,"endOffset":14555,"count":0}],"isBlockCoverage":false},{"functionName":"finishDueToTimeout","ranges":[{"startOffset":14588,"endOffset":14630,"count":0}],"isBlockCoverage":false},{"functionName":"finishDueToInactivity","ranges":[{"startOffset":14666,"endOffset":14906,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14933,"endOffset":15496,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":15509,"endOffset":15537,"count":5}],"isBlockCoverage":true},{"functionName":"finish","ranges":[{"startOffset":15581,"endOffset":16295,"count":5},{"startOffset":15866,"endOffset":16020,"count":0}],"isBlockCoverage":true}]},{"scriptId":"238","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/assert.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":25039,"count":1}],"isBlockCoverage":true},{"functionName":"formatDescriptorDiff","ranges":[{"startOffset":331,"endOffset":822,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptorWithLabel","ranges":[{"startOffset":824,"endOffset":979,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithLabel","ranges":[{"startOffset":981,"endOffset":1114,"count":0}],"isBlockCoverage":false},{"functionName":"hasOwnProperty","ranges":[{"startOffset":1139,"endOffset":1207,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":1222,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"notImplemented","ranges":[{"startOffset":1255,"endOffset":1301,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":1349,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"checkAssertionMessage","ranges":[{"startOffset":1981,"endOffset":2292,"count":7},{"startOffset":2061,"endOffset":2091,"count":4},{"startOffset":2112,"endOffset":2291,"count":0}],"isBlockCoverage":true},{"functionName":"getErrorWithLongStackTrace","ranges":[{"startOffset":2294,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"validateExpectations","ranges":[{"startOffset":2558,"endOffset":5405,"count":0}],"isBlockCoverage":false},{"functionName":"assertExpectations","ranges":[{"startOffset":5524,"endOffset":8199,"count":0}],"isBlockCoverage":false},{"functionName":"Assertions","ranges":[{"startOffset":8228,"endOffset":25036,"count":5}],"isBlockCoverage":true},{"functionName":"withSkip","ranges":[{"startOffset":8463,"endOffset":8534,"count":95}],"isBlockCoverage":true},{"functionName":"checkMessage","ranges":[{"startOffset":8560,"endOffset":8733,"count":7},{"startOffset":8694,"endOffset":8732,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8759,"endOffset":8797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8824,"endOffset":9037,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9062,"endOffset":9979,"count":4},{"startOffset":9132,"endOffset":9156,"count":0},{"startOffset":9229,"endOffset":9401,"count":0},{"startOffset":9449,"endOffset":9502,"count":0},{"startOffset":9525,"endOffset":9978,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10005,"endOffset":10365,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10397,"endOffset":11031,"count":3},{"startOffset":10474,"endOffset":10498,"count":0},{"startOffset":10632,"endOffset":10727,"count":0},{"startOffset":10775,"endOffset":10828,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11066,"endOffset":11622,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11649,"endOffset":12941,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12970,"endOffset":14552,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14586,"endOffset":16839,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16871,"endOffset":17460,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17497,"endOffset":19358,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19389,"endOffset":21353,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21382,"endOffset":21702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21730,"endOffset":22051,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22078,"endOffset":22383,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22411,"endOffset":22720,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22748,"endOffset":23686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23717,"endOffset":24676,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24705,"endOffset":25031,"count":0}],"isBlockCoverage":false}]},{"scriptId":"239","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/concordance-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2980,"count":1},{"startOffset":2696,"endOffset":2708,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2579,"endOffset":2649,"count":110},{"startOffset":2623,"endOffset":2641,"count":69},{"startOffset":2642,"endOffset":2649,"count":41}],"isBlockCoverage":true},{"functionName":"get maxDepth","ranges":[{"startOffset":2807,"endOffset":2878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"240","url":"node:internal/util/parse_args/parse_args","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12919,"count":1}],"isBlockCoverage":false},{"functionName":"getMainArgs","ranges":[{"startOffset":1135,"endOffset":1729,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionLikeValue","ranges":[{"startOffset":1874,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionUsage","ranges":[{"startOffset":2658,"endOffset":3449,"count":0}],"isBlockCoverage":false},{"functionName":"storeOption","ranges":[{"startOffset":3772,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"storeDefaultOption","ranges":[{"startOffset":4921,"endOffset":5090,"count":0}],"isBlockCoverage":false},{"functionName":"argsToTokens","ranges":[{"startOffset":5365,"endOffset":9345,"count":0}],"isBlockCoverage":false},{"functionName":"parseArgs","ranges":[{"startOffset":9365,"endOffset":12881,"count":0}],"isBlockCoverage":false}]},{"scriptId":"241","url":"node:internal/util/parse_args/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6225,"count":1}],"isBlockCoverage":false},{"functionName":"objectGetOwn","ranges":[{"startOffset":693,"endOffset":782,"count":0}],"isBlockCoverage":false},{"functionName":"optionsGetOwn","ranges":[{"startOffset":865,"endOffset":1011,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionValue","ranges":[{"startOffset":1277,"endOffset":1502,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionLikeValue","ranges":[{"startOffset":1719,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneShortOption","ranges":[{"startOffset":1936,"endOffset":2088,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneLongOption","ranges":[{"startOffset":2336,"endOffset":2484,"count":0}],"isBlockCoverage":false},{"functionName":"isLongOptionAndValue","ranges":[{"startOffset":2681,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionGroup","ranges":[{"startOffset":3724,"endOffset":4109,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionAndValue","ranges":[{"startOffset":4418,"endOffset":4847,"count":0}],"isBlockCoverage":false},{"functionName":"findLongOptionForShort","ranges":[{"startOffset":5170,"endOffset":5472,"count":0}],"isBlockCoverage":false},{"functionName":"useDefaultValueOption","ranges":[{"startOffset":5797,"endOffset":5967,"count":0}],"isBlockCoverage":false}]},{"scriptId":"242","url":"node:internal/mime","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10569,"count":1}],"isBlockCoverage":false},{"functionName":"toASCIILower","ranges":[{"startOffset":587,"endOffset":820,"count":0}],"isBlockCoverage":false},{"functionName":"parseTypeAndSubtype","ranges":[{"startOffset":866,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"removeBackslashes","ranges":[{"startOffset":2641,"endOffset":3056,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuoteOrSolidus","ranges":[{"startOffset":3059,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":3288,"endOffset":3527,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3530,"endOffset":8526,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8986,"endOffset":10365,"count":0}],"isBlockCoverage":false}]},{"scriptId":"243","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/callsites/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"callsites","ranges":[{"startOffset":15,"endOffset":469,"count":0}],"isBlockCoverage":false}]},{"scriptId":"244","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5256,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5189,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2906,"endOffset":3404,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3450,"endOffset":3975,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4032,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4134,"endOffset":4895,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4949,"endOffset":5030,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5084,"endOffset":5137,"count":0}],"isBlockCoverage":false}]},{"scriptId":"245","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/supports-color/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3855,"count":1},{"startOffset":738,"endOffset":762,"count":0},{"startOffset":869,"endOffset":893,"count":0}],"isBlockCoverage":true},{"functionName":"hasFlag","ranges":[{"startOffset":235,"endOffset":585,"count":16},{"startOffset":281,"endOffset":303,"count":0},{"startOffset":359,"endOffset":363,"count":0},{"startOffset":385,"endOffset":390,"count":0},{"startOffset":519,"endOffset":582,"count":0}],"isBlockCoverage":true},{"functionName":"envForceColor","ranges":[{"startOffset":895,"endOffset":1159,"count":2},{"startOffset":949,"endOffset":1157,"count":0}],"isBlockCoverage":true},{"functionName":"translateLevel","ranges":[{"startOffset":1161,"endOffset":1320,"count":2},{"startOffset":1212,"endOffset":1232,"count":0}],"isBlockCoverage":true},{"functionName":"_supportsColor","ranges":[{"startOffset":1322,"endOffset":3494,"count":2},{"startOffset":1479,"endOffset":1520,"count":0},{"startOffset":1570,"endOffset":1588,"count":0},{"startOffset":1614,"endOffset":1630,"count":0},{"startOffset":1740,"endOffset":1758,"count":0},{"startOffset":1788,"endOffset":1806,"count":0},{"startOffset":1918,"endOffset":1940,"count":0},{"startOffset":1942,"endOffset":1958,"count":0},{"startOffset":1992,"endOffset":2019,"count":0},{"startOffset":2021,"endOffset":2037,"count":0},{"startOffset":2096,"endOffset":2114,"count":0},{"startOffset":2151,"endOffset":2508,"count":0},{"startOffset":2528,"endOffset":2776,"count":0},{"startOffset":2810,"endOffset":2891,"count":0},{"startOffset":2945,"endOffset":3493,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2688,"endOffset":2707,"count":0}],"isBlockCoverage":false},{"functionName":"createSupportsColor","ranges":[{"startOffset":3503,"endOffset":3687,"count":2}],"isBlockCoverage":true}]},{"scriptId":"246","url":"node:os","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9769,"count":1}],"isBlockCoverage":false},{"functionName":"getCheckedFunction","ranges":[{"startOffset":2026,"endOffset":2267,"count":4}],"isBlockCoverage":true},{"functionName":"checkError","ranges":[{"startOffset":2085,"endOffset":2263,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease","ranges":[{"startOffset":2649,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType","ranges":[{"startOffset":2711,"endOffset":2721,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion","ranges":[{"startOffset":2773,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine","ranges":[{"startOffset":2836,"endOffset":2849,"count":0}],"isBlockCoverage":false},{"functionName":"getAvailableParallelism.","ranges":[{"startOffset":2897,"endOffset":2928,"count":0}],"isBlockCoverage":false},{"functionName":"getFreeMem.","ranges":[{"startOffset":2962,"endOffset":2980,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname.","ranges":[{"startOffset":3015,"endOffset":3034,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion.","ranges":[{"startOffset":3070,"endOffset":3090,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType.","ranges":[{"startOffset":3123,"endOffset":3140,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease.","ranges":[{"startOffset":3176,"endOffset":3196,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine.","ranges":[{"startOffset":3230,"endOffset":3248,"count":0}],"isBlockCoverage":false},{"functionName":"getHomeDirectory.","ranges":[{"startOffset":3288,"endOffset":3312,"count":0}],"isBlockCoverage":false},{"functionName":"getTotalMem.","ranges":[{"startOffset":3347,"endOffset":3366,"count":0}],"isBlockCoverage":false},{"functionName":"getUptime.","ranges":[{"startOffset":3399,"endOffset":3416,"count":0}],"isBlockCoverage":false},{"functionName":"loadavg","ranges":[{"startOffset":3554,"endOffset":3654,"count":0}],"isBlockCoverage":false},{"functionName":"cpus","ranges":[{"startOffset":3934,"endOffset":4363,"count":1},{"startOffset":4036,"endOffset":4041,"count":0},{"startOffset":4103,"endOffset":4344,"count":12}],"isBlockCoverage":true},{"functionName":"arch","ranges":[{"startOffset":4394,"endOffset":4436,"count":0}],"isBlockCoverage":false},{"functionName":"arch.","ranges":[{"startOffset":4463,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"platform","ranges":[{"startOffset":4513,"endOffset":4563,"count":3}],"isBlockCoverage":true},{"functionName":"platform.","ranges":[{"startOffset":4594,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir","ranges":[{"startOffset":4648,"endOffset":5253,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir.","ranges":[{"startOffset":5282,"endOffset":5296,"count":0}],"isBlockCoverage":false},{"functionName":"endianness","ranges":[{"startOffset":5333,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"endianness.","ranges":[{"startOffset":5413,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"countBinaryOnes","ranges":[{"startOffset":5518,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"getCIDR","ranges":[{"startOffset":5773,"endOffset":6718,"count":0}],"isBlockCoverage":false},{"functionName":"networkInterfaces","ranges":[{"startOffset":6929,"endOffset":7622,"count":0}],"isBlockCoverage":false},{"functionName":"setPriority","ranges":[{"startOffset":7706,"endOffset":7995,"count":0}],"isBlockCoverage":false},{"functionName":"getPriority","ranges":[{"startOffset":8053,"endOffset":8308,"count":0}],"isBlockCoverage":false},{"functionName":"userInfo","ranges":[{"startOffset":8612,"endOffset":8900,"count":0}],"isBlockCoverage":false}]},{"scriptId":"247","url":"node:tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5058,"count":1}],"isBlockCoverage":false},{"functionName":"isatty","ranges":[{"startOffset":1535,"endOffset":1641,"count":4}],"isBlockCoverage":true},{"functionName":"ReadStream","ranges":[{"startOffset":1643,"endOffset":2112,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.setRawMode","ranges":[{"startOffset":2261,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":2481,"endOffset":3453,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._refreshSize","ranges":[{"startOffset":3744,"endOffset":4180,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.cursorTo","ranges":[{"startOffset":4236,"endOffset":4376,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.moveCursor","ranges":[{"startOffset":4413,"endOffset":4559,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearLine","ranges":[{"startOffset":4595,"endOffset":4734,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearScreenDown","ranges":[{"startOffset":4776,"endOffset":4911,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.getWindowSize","ranges":[{"startOffset":4951,"endOffset":5001,"count":0}],"isBlockCoverage":false}]},{"scriptId":"248","url":"node:net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":65921,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1612,"endOffset":1637,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4029,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":4446,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"createHandle","ranges":[{"startOffset":4542,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"getNewAsyncId","ranges":[{"startOffset":4928,"endOffset":5066,"count":0}],"isBlockCoverage":false},{"functionName":"isPipeName","ranges":[{"startOffset":5069,"endOffset":5152,"count":0}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":5353,"endOffset":5457,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":5680,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamily","ranges":[{"startOffset":6083,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamily","ranges":[{"startOffset":6160,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6278,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6383,"endOffset":6570,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgs","ranges":[{"startOffset":7064,"endOffset":7790,"count":0}],"isBlockCoverage":false},{"functionName":"initSocketHandle","ranges":[{"startOffset":7862,"endOffset":8465,"count":0}],"isBlockCoverage":false},{"functionName":"closeSocketHandle","ranges":[{"startOffset":8467,"endOffset":8807,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":9059,"endOffset":13678,"count":0}],"isBlockCoverage":false},{"functionName":"_unrefTimer","ranges":[{"startOffset":13851,"endOffset":13981,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._final","ranges":[{"startOffset":14101,"endOffset":14717,"count":0}],"isBlockCoverage":false},{"functionName":"afterShutdown","ranges":[{"startOffset":14720,"endOffset":14866,"count":0}],"isBlockCoverage":false},{"functionName":"writeAfterFIN","ranges":[{"startOffset":15073,"endOffset":15581,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._onTimeout","ranges":[{"startOffset":15663,"endOffset":16167,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setNoDelay","ranges":[{"startOffset":16201,"endOffset":16578,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setKeepAlive","ranges":[{"startOffset":16614,"endOffset":17220,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":17251,"endOffset":17295,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17381,"endOffset":17425,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17505,"endOffset":17561,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17672,"endOffset":17987,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18076,"endOffset":18156,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18244,"endOffset":18289,"count":0}],"isBlockCoverage":false},{"functionName":"tryReadStart","ranges":[{"startOffset":18297,"endOffset":18543,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._read","ranges":[{"startOffset":18635,"endOffset":18954,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.end","ranges":[{"startOffset":18981,"endOffset":19137,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resetAndDestroy","ranges":[{"startOffset":19175,"endOffset":19525,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.pause","ranges":[{"startOffset":19553,"endOffset":19887,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resume","ranges":[{"startOffset":19917,"endOffset":20101,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.read","ranges":[{"startOffset":20129,"endOffset":20315,"count":0}],"isBlockCoverage":false},{"functionName":"onReadableStreamEnd","ranges":[{"startOffset":20362,"endOffset":20461,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.destroySoon","ranges":[{"startOffset":20495,"endOffset":20642,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._destroy","ranges":[{"startOffset":20674,"endOffset":22184,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._reset","ranges":[{"startOffset":22213,"endOffset":22312,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getpeername","ranges":[{"startOffset":22347,"endOffset":22644,"count":0}],"isBlockCoverage":false},{"functionName":"protoGetter","ranges":[{"startOffset":22647,"endOffset":22829,"count":9}],"isBlockCoverage":true},{"functionName":"bytesRead","ranges":[{"startOffset":22856,"endOffset":22947,"count":0}],"isBlockCoverage":false},{"functionName":"remoteAddress","ranges":[{"startOffset":22980,"endOffset":23046,"count":0}],"isBlockCoverage":false},{"functionName":"remoteFamily","ranges":[{"startOffset":23078,"endOffset":23142,"count":0}],"isBlockCoverage":false},{"functionName":"remotePort","ranges":[{"startOffset":23172,"endOffset":23232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getsockname","ranges":[{"startOffset":23269,"endOffset":23545,"count":0}],"isBlockCoverage":false},{"functionName":"localAddress","ranges":[{"startOffset":23577,"endOffset":23642,"count":0}],"isBlockCoverage":false},{"functionName":"localPort","ranges":[{"startOffset":23672,"endOffset":23731,"count":0}],"isBlockCoverage":false},{"functionName":"localFamily","ranges":[{"startOffset":23762,"endOffset":23825,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":23866,"endOffset":23913,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writeGeneric","ranges":[{"startOffset":23949,"endOffset":24861,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writev","ranges":[{"startOffset":24892,"endOffset":24960,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._write","ranges":[{"startOffset":24990,"endOffset":25071,"count":0}],"isBlockCoverage":false},{"functionName":"_bytesDispatched","ranges":[{"startOffset":25264,"endOffset":25368,"count":0}],"isBlockCoverage":false},{"functionName":"bytesWritten","ranges":[{"startOffset":25400,"endOffset":26329,"count":0}],"isBlockCoverage":false},{"functionName":"checkBindError","ranges":[{"startOffset":26334,"endOffset":27133,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnect","ranges":[{"startOffset":27136,"endOffset":29131,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultiple","ranges":[{"startOffset":29134,"endOffset":31870,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":31899,"endOffset":33495,"count":0}],"isBlockCoverage":false},{"functionName":"reinitializeHandle","ranges":[{"startOffset":33538,"endOffset":33692,"count":0}],"isBlockCoverage":false},{"functionName":"socketToDnsFamily","ranges":[{"startOffset":33695,"endOffset":33841,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnect","ranges":[{"startOffset":33843,"endOffset":37774,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnectMultiple","ranges":[{"startOffset":37776,"endOffset":41750,"count":0}],"isBlockCoverage":false},{"functionName":"connectErrorNT","ranges":[{"startOffset":41752,"endOffset":41811,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":41837,"endOffset":42024,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":42053,"endOffset":42246,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnect","ranges":[{"startOffset":42250,"endOffset":43831,"count":0}],"isBlockCoverage":false},{"functionName":"addClientAbortSignalOption","ranges":[{"startOffset":43833,"endOffset":44256,"count":0}],"isBlockCoverage":false},{"functionName":"createConnectionError","ranges":[{"startOffset":44258,"endOffset":44759,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnectMultiple","ranges":[{"startOffset":44761,"endOffset":45903,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultipleTimeout","ranges":[{"startOffset":45905,"endOffset":46217,"count":0}],"isBlockCoverage":false},{"functionName":"addServerAbortSignalOption","ranges":[{"startOffset":46219,"endOffset":46662,"count":0}],"isBlockCoverage":false},{"functionName":"Server","ranges":[{"startOffset":46664,"endOffset":48251,"count":0}],"isBlockCoverage":false},{"functionName":"toNumber","ranges":[{"startOffset":48362,"endOffset":48427,"count":0}],"isBlockCoverage":false},{"functionName":"createServerHandle","ranges":[{"startOffset":48495,"endOffset":49947,"count":0}],"isBlockCoverage":false},{"functionName":"setupListenHandle","ranges":[{"startOffset":49949,"endOffset":52300,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":52367,"endOffset":52429,"count":0}],"isBlockCoverage":false},{"functionName":"emitListeningNT","ranges":[{"startOffset":52432,"endOffset":52547,"count":0}],"isBlockCoverage":false},{"functionName":"listenInCluster","ranges":[{"startOffset":52550,"endOffset":53810,"count":0}],"isBlockCoverage":false},{"functionName":"Server.listen","ranges":[{"startOffset":53839,"endOffset":57671,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndListen","ranges":[{"startOffset":57674,"endOffset":58086,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":58168,"endOffset":58211,"count":0}],"isBlockCoverage":false},{"functionName":"Server.address","ranges":[{"startOffset":58287,"endOffset":58576,"count":0}],"isBlockCoverage":false},{"functionName":"onconnection","ranges":[{"startOffset":58579,"endOffset":60478,"count":0}],"isBlockCoverage":false},{"functionName":"Server.getConnections","ranges":[{"startOffset":60627,"endOffset":61380,"count":0}],"isBlockCoverage":false},{"functionName":"Server.close","ranges":[{"startOffset":61409,"endOffset":62276,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":62318,"endOffset":62438,"count":0}],"isBlockCoverage":false},{"functionName":"Server._emitCloseIfDrained","ranges":[{"startOffset":62480,"endOffset":62866,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":62870,"endOffset":62953,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":63012,"endOffset":63174,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63396,"endOffset":63432,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63436,"endOffset":63477,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63557,"endOffset":63588,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63592,"endOffset":63628,"count":0}],"isBlockCoverage":false},{"functionName":"Server._setupWorker","ranges":[{"startOffset":63667,"endOffset":63908,"count":0}],"isBlockCoverage":false},{"functionName":"Server.ref","ranges":[{"startOffset":63934,"endOffset":64032,"count":0}],"isBlockCoverage":false},{"functionName":"Server.unref","ranges":[{"startOffset":64060,"endOffset":64159,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":64301,"endOffset":64970,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":65009,"endOffset":65250,"count":0}],"isBlockCoverage":false},{"functionName":"get BlockList","ranges":[{"startOffset":65379,"endOffset":65481,"count":0}],"isBlockCoverage":false},{"functionName":"get SocketAddress","ranges":[{"startOffset":65485,"endOffset":65607,"count":0}],"isBlockCoverage":false}]},{"scriptId":"249","url":"node:internal/stream_base_commons","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7041,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1010,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"handleWriteReq","ranges":[{"startOffset":1154,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"onWriteComplete","ranges":[{"startOffset":2011,"endOffset":2696,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteWrap","ranges":[{"startOffset":2698,"endOffset":2936,"count":0}],"isBlockCoverage":false},{"functionName":"writevGeneric","ranges":[{"startOffset":2938,"endOffset":3577,"count":0}],"isBlockCoverage":false},{"functionName":"writeGeneric","ranges":[{"startOffset":3579,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"afterWriteDispatched","ranges":[{"startOffset":3786,"endOffset":4089,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamRead","ranges":[{"startOffset":4091,"endOffset":6022,"count":0}],"isBlockCoverage":false},{"functionName":"setStreamTimeout","ranges":[{"startOffset":6024,"endOffset":6834,"count":0}],"isBlockCoverage":false}]},{"scriptId":"250","url":"node:internal/perf/observe","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16742,"count":1}],"isBlockCoverage":false},{"functionName":"queuePending","ranges":[{"startOffset":2620,"endOffset":2881,"count":0}],"isBlockCoverage":false},{"functionName":"getObserverType","ranges":[{"startOffset":2883,"endOffset":3223,"count":0}],"isBlockCoverage":false},{"functionName":"maybeDecrementObserverCounts","ranges":[{"startOffset":3225,"endOffset":3646,"count":0}],"isBlockCoverage":false},{"functionName":"maybeIncrementObserverCount","ranges":[{"startOffset":3648,"endOffset":3990,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceObserverEntryList","ranges":[{"startOffset":4031,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"getEntries","ranges":[{"startOffset":4095,"endOffset":4234,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByType","ranges":[{"startOffset":4238,"endOffset":4542,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByName","ranges":[{"startOffset":4546,"endOffset":5039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5043,"endOffset":5291,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceObserverEntryList","ranges":[{"startOffset":5643,"endOffset":5933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5935,"endOffset":9507,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":9989,"endOffset":10191,"count":0}],"isBlockCoverage":false},{"functionName":"bufferUserTiming","ranges":[{"startOffset":10252,"endOffset":11278,"count":0}],"isBlockCoverage":false},{"functionName":"bufferResourceTiming","ranges":[{"startOffset":11566,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"setResourceTimingBufferSize","ranges":[{"startOffset":12918,"endOffset":13190,"count":0}],"isBlockCoverage":false},{"functionName":"setDispatchBufferFull","ranges":[{"startOffset":13192,"endOffset":13257,"count":1}],"isBlockCoverage":true},{"functionName":"clearEntriesFromBuffer","ranges":[{"startOffset":13259,"endOffset":13859,"count":0}],"isBlockCoverage":false},{"functionName":"filterBufferMapByNameAndType","ranges":[{"startOffset":13861,"endOffset":14749,"count":0}],"isBlockCoverage":false},{"functionName":"observerCallback","ranges":[{"startOffset":14751,"endOffset":15867,"count":0}],"isBlockCoverage":false},{"functionName":"hasObserver","ranges":[{"startOffset":15904,"endOffset":16023,"count":0}],"isBlockCoverage":false},{"functionName":"startPerf","ranges":[{"startOffset":16026,"endOffset":16136,"count":0}],"isBlockCoverage":false},{"functionName":"stopPerf","ranges":[{"startOffset":16138,"endOffset":16453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"251","url":"node:internal/perf/performance_entry","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3333,"count":1}],"isBlockCoverage":false},{"functionName":"isPerformanceEntry","ranges":[{"startOffset":675,"endOffset":748,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceEntry","ranges":[{"startOffset":777,"endOffset":914,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":918,"endOffset":1018,"count":0}],"isBlockCoverage":false},{"functionName":"get entryType","ranges":[{"startOffset":1022,"endOffset":1137,"count":0}],"isBlockCoverage":false},{"functionName":"get startTime","ranges":[{"startOffset":1141,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"get duration","ranges":[{"startOffset":1260,"endOffset":1372,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1376,"endOffset":1620,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":1624,"endOffset":1846,"count":0}],"isBlockCoverage":false},{"functionName":"initPerformanceEntry","ranges":[{"startOffset":2068,"endOffset":2248,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceEntry","ranges":[{"startOffset":2250,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":2559,"endOffset":2669,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":2673,"endOffset":2924,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceNodeEntry","ranges":[{"startOffset":2928,"endOffset":3163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"252","url":"node:internal/tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6485,"count":1}],"isBlockCoverage":false},{"functionName":"warnOnDeactivatedColors","ranges":[{"startOffset":2549,"endOffset":3002,"count":0}],"isBlockCoverage":false},{"functionName":"getColorDepth","ranges":[{"startOffset":3160,"endOffset":6156,"count":0}],"isBlockCoverage":false},{"functionName":"hasColors","ranges":[{"startOffset":6158,"endOffset":6431,"count":0}],"isBlockCoverage":false}]},{"scriptId":"253","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6025,"count":1}],"isBlockCoverage":true},{"functionName":"assertPatternsInput","ranges":[{"startOffset":367,"endOffset":522,"count":0}],"isBlockCoverage":false},{"functionName":"toPatternsArray","ranges":[{"startOffset":549,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"checkCwdOption","ranges":[{"startOffset":685,"endOffset":912,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":940,"endOffset":1200,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArguments","ranges":[{"startOffset":1230,"endOffset":1321,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1236,"endOffset":1321,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgumentsSync","ranges":[{"startOffset":1354,"endOffset":1439,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1360,"endOffset":1439,"count":0}],"isBlockCoverage":false},{"functionName":"getIgnoreFilesPatterns","ranges":[{"startOffset":1473,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":1701,"endOffset":1913,"count":0}],"isBlockCoverage":false},{"functionName":"getFilterSync","ranges":[{"startOffset":1938,"endOffset":2142,"count":0}],"isBlockCoverage":false},{"functionName":"createFilterFunction","ranges":[{"startOffset":2174,"endOffset":2469,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobResults","ranges":[{"startOffset":2501,"endOffset":2585,"count":0}],"isBlockCoverage":false},{"functionName":"unionFastGlobStreams","ranges":[{"startOffset":2616,"endOffset":2717,"count":0}],"isBlockCoverage":false},{"functionName":"convertNegativePatterns","ranges":[{"startOffset":2752,"endOffset":3364,"count":0}],"isBlockCoverage":false},{"functionName":"getDirGlobOptions","ranges":[{"startOffset":3393,"endOffset":3499,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":3524,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasksSync","ranges":[{"startOffset":4171,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4758,"endOffset":5048,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5101,"endOffset":5348,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5403,"endOffset":5652,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5713,"endOffset":5805,"count":0}],"isBlockCoverage":false}]},{"scriptId":"254","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":997,"count":1}],"isBlockCoverage":true},{"functionName":"stringReplaceAll","ranges":[{"startOffset":78,"endOffset":552,"count":0}],"isBlockCoverage":false},{"functionName":"stringEncaseCRLFWithFirstIndex","ranges":[{"startOffset":561,"endOffset":996,"count":0}],"isBlockCoverage":false}]},{"scriptId":"255","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/maps.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"256","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":465,"count":1}],"isBlockCoverage":true},{"functionName":"escapeStringRegexp","ranges":[{"startOffset":15,"endOffset":464,"count":3},{"startOffset":86,"endOffset":134,"count":0}],"isBlockCoverage":true}]},{"scriptId":"257","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/indent-string/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":820,"count":1}],"isBlockCoverage":true},{"functionName":"indentString","ranges":[{"startOffset":15,"endOffset":819,"count":0}],"isBlockCoverage":false}]},{"scriptId":"258","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mem/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3063,"count":1}],"isBlockCoverage":true},{"functionName":"mem","ranges":[{"startOffset":651,"endOffset":1491,"count":2},{"startOffset":753,"endOffset":790,"count":0}],"isBlockCoverage":true},{"functionName":"memoized","ranges":[{"startOffset":812,"endOffset":1357,"count":3},{"startOffset":868,"endOffset":890,"count":1},{"startOffset":891,"endOffset":906,"count":2},{"startOffset":973,"endOffset":1078,"count":1},{"startOffset":1078,"endOffset":1208,"count":2},{"startOffset":1208,"endOffset":1229,"count":0},{"startOffset":1230,"endOffset":1256,"count":2}],"isBlockCoverage":true},{"functionName":"memDecorator","ranges":[{"startOffset":1911,"endOffset":2668,"count":0}],"isBlockCoverage":false},{"functionName":"memClear","ranges":[{"startOffset":2761,"endOffset":3062,"count":0}],"isBlockCoverage":false}]},{"scriptId":"259","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12,"count":1}],"isBlockCoverage":true}]},{"scriptId":"260","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-promise/index.mjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":151,"count":1}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":15,"endOffset":150,"count":5},{"startOffset":84,"endOffset":112,"count":0}],"isBlockCoverage":true}]},{"scriptId":"261","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/plur/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":963,"count":1}],"isBlockCoverage":true},{"functionName":"plur","ranges":[{"startOffset":66,"endOffset":962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"262","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/like-selector.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1333,"count":1}],"isBlockCoverage":true},{"functionName":"isPrimitive","ranges":[{"startOffset":20,"endOffset":72,"count":0}],"isBlockCoverage":false},{"functionName":"isLikeSelector","ranges":[{"startOffset":82,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"selectComparable","ranges":[{"startOffset":609,"endOffset":1332,"count":0}],"isBlockCoverage":false}]},{"scriptId":"263","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5267,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5200,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2913,"endOffset":3409,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3462,"endOffset":3983,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4040,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4149,"endOffset":4906,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4960,"endOffset":5041,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5095,"endOffset":5148,"count":0}],"isBlockCoverage":false}]},{"scriptId":"264","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/strip-ansi/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":468,"count":1}],"isBlockCoverage":true},{"functionName":"stripAnsi","ranges":[{"startOffset":80,"endOffset":467,"count":69},{"startOffset":142,"endOffset":220,"count":0}],"isBlockCoverage":true}]},{"scriptId":"265","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/ignore.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2797,"count":1}],"isBlockCoverage":true},{"functionName":"applyBaseToPattern","ranges":[{"startOffset":479,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"parseIgnoreFile","ranges":[{"startOffset":634,"endOffset":865,"count":0}],"isBlockCoverage":false},{"functionName":"toRelativePath","ranges":[{"startOffset":891,"endOffset":1176,"count":0}],"isBlockCoverage":false},{"functionName":"getIsIgnoredPredicate","ranges":[{"startOffset":1209,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1582,"endOffset":1782,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFiles","ranges":[{"startOffset":1823,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFilesSync","ranges":[{"startOffset":2256,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnored","ranges":[{"startOffset":2623,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnoredSync","ranges":[{"startOffset":2724,"endOffset":2795,"count":0}],"isBlockCoverage":false}]},{"scriptId":"266","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":462,"count":1}],"isBlockCoverage":true},{"functionName":"toPath","ranges":[{"startOffset":102,"endOffset":178,"count":0}],"isBlockCoverage":false},{"functionName":"FilterStream","ranges":[{"startOffset":228,"endOffset":394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":431,"endOffset":460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"267","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mimic-fn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2903,"count":1}],"isBlockCoverage":true},{"functionName":"copyProperty","ranges":[{"startOffset":21,"endOffset":887,"count":4},{"startOffset":280,"endOffset":307,"count":2},{"startOffset":309,"endOffset":577,"count":2},{"startOffset":579,"endOffset":593,"count":0},{"startOffset":593,"endOffset":790,"count":2},{"startOffset":790,"endOffset":814,"count":0},{"startOffset":816,"endOffset":830,"count":0},{"startOffset":830,"endOffset":886,"count":2}],"isBlockCoverage":true},{"functionName":"canCopyProperty","ranges":[{"startOffset":1091,"endOffset":1457,"count":2},{"startOffset":1197,"endOffset":1454,"count":0}],"isBlockCoverage":true},{"functionName":"changePrototype","ranges":[{"startOffset":1484,"endOffset":1662,"count":2},{"startOffset":1616,"endOffset":1661,"count":0}],"isBlockCoverage":true},{"functionName":"wrappedToString","ranges":[{"startOffset":1689,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"changeToString","ranges":[{"startOffset":2221,"endOffset":2603,"count":2},{"startOffset":2273,"endOffset":2277,"count":0}],"isBlockCoverage":true},{"functionName":"mimicFunction","ranges":[{"startOffset":2621,"endOffset":2902,"count":2},{"startOffset":2762,"endOffset":2825,"count":4}],"isBlockCoverage":true}]},{"scriptId":"268","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/ansi-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":350,"count":1}],"isBlockCoverage":true},{"functionName":"ansiRegex","ranges":[{"startOffset":15,"endOffset":349,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true}]},{"scriptId":"269","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/slash/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":285,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":15,"endOffset":284,"count":0}],"isBlockCoverage":false}]},{"scriptId":"270","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":250,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":62,"endOffset":248,"count":1}],"isBlockCoverage":true}]},{"scriptId":"271","url":"node:internal/vm/module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12200,"count":1}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":1662,"endOffset":4017,"count":0}],"isBlockCoverage":false},{"functionName":"get identifier","ranges":[{"startOffset":4021,"endOffset":4158,"count":0}],"isBlockCoverage":false},{"functionName":"get context","ranges":[{"startOffset":4162,"endOffset":4295,"count":0}],"isBlockCoverage":false},{"functionName":"get namespace","ranges":[{"startOffset":4299,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"get status","ranges":[{"startOffset":4580,"endOffset":4733,"count":0}],"isBlockCoverage":false},{"functionName":"get error","ranges":[{"startOffset":4737,"endOffset":4987,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":4991,"endOffset":5396,"count":0}],"isBlockCoverage":false},{"functionName":"evaluate","ranges":[{"startOffset":5400,"endOffset":6153,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6157,"endOffset":6909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7014,"endOffset":10171,"count":0}],"isBlockCoverage":false},{"functionName":"SyntheticModule","ranges":[{"startOffset":10214,"endOffset":11307,"count":0}],"isBlockCoverage":false},{"functionName":"setExport","ranges":[{"startOffset":11311,"endOffset":11613,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamicallyWrap","ranges":[{"startOffset":11617,"endOffset":12096,"count":559}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyWrapper","ranges":[{"startOffset":11722,"endOffset":12052,"count":2},{"startOffset":11873,"endOffset":11910,"count":0},{"startOffset":11912,"endOffset":12051,"count":0}],"isBlockCoverage":true}]},{"scriptId":"272","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/currently-unhandled/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":82,"endOffset":745,"count":1}],"isBlockCoverage":true},{"functionName":"onUnhandledRejection","ranges":[{"startOffset":129,"endOffset":244,"count":0}],"isBlockCoverage":false},{"functionName":"onRejectionHandled","ranges":[{"startOffset":247,"endOffset":433,"count":0}],"isBlockCoverage":false},{"functionName":"currentlyUnhandled","ranges":[{"startOffset":436,"endOffset":599,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":501,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"273","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/array-find-index/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":462,"count":0}],"isBlockCoverage":false}]},{"scriptId":"274","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/now-and-timers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":501,"count":1}],"isBlockCoverage":true},{"functionName":"setCappedTimeout","ranges":[{"startOffset":313,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"275","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge2/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3241,"count":1}],"isBlockCoverage":true},{"functionName":"merge2","ranges":[{"startOffset":280,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"pauseStreams","ranges":[{"startOffset":2702,"endOffset":3240,"count":0}],"isBlockCoverage":false}]},{"scriptId":"276","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4091,"count":1},{"startOffset":3434,"endOffset":3452,"count":0}],"isBlockCoverage":true},{"functionName":"FastGlob","ranges":[{"startOffset":277,"endOffset":501,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":612,"endOffset":3423,"count":1}],"isBlockCoverage":true},{"functionName":"sync","ranges":[{"startOffset":763,"endOffset":946,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":977,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":1503,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1795,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"escapePath","ranges":[{"startOffset":2060,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2217,"endOffset":2355,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2434,"endOffset":2864,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2461,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2644,"endOffset":2799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2936,"endOffset":3370,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2963,"endOffset":3100,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":3148,"endOffset":3305,"count":0}],"isBlockCoverage":false},{"functionName":"getWorks","ranges":[{"startOffset":3455,"endOffset":3751,"count":0}],"isBlockCoverage":false},{"functionName":"assertPatternsInput","ranges":[{"startOffset":3752,"endOffset":4063,"count":0}],"isBlockCoverage":false}]},{"scriptId":"277","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/managers/tasks.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5531,"count":1}],"isBlockCoverage":true},{"functionName":"generate","ranges":[{"startOffset":355,"endOffset":1133,"count":0}],"isBlockCoverage":false},{"functionName":"processPatterns","ranges":[{"startOffset":1163,"endOffset":2553,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToTasks","ranges":[{"startOffset":2825,"endOffset":3965,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":4023,"endOffset":4121,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatternsAsPositive","ranges":[{"startOffset":4173,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"groupPatternsByBaseDirectory","ranges":[{"startOffset":4482,"endOffset":4868,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupsToTasks","ranges":[{"startOffset":4938,"endOffset":5147,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternGroupToTask","ranges":[{"startOffset":5215,"endOffset":5467,"count":0}],"isBlockCoverage":false}]},{"scriptId":"278","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":596,"count":1}],"isBlockCoverage":true}]},{"scriptId":"279","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1}],"isBlockCoverage":true},{"functionName":"flatten","ranges":[{"startOffset":123,"endOffset":230,"count":0}],"isBlockCoverage":false},{"functionName":"splitWhen","ranges":[{"startOffset":258,"endOffset":576,"count":0}],"isBlockCoverage":false}]},{"scriptId":"280","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/errno.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":234,"count":1}],"isBlockCoverage":true},{"functionName":"isEnoentCodeError","ranges":[{"startOffset":113,"endOffset":186,"count":0}],"isBlockCoverage":false}]},{"scriptId":"281","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"282","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/path.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3010,"count":1},{"startOffset":2154,"endOffset":2173,"count":0},{"startOffset":2552,"endOffset":2581,"count":0}],"isBlockCoverage":true},{"functionName":"unixify","ranges":[{"startOffset":1352,"endOffset":1423,"count":0}],"isBlockCoverage":false},{"functionName":"makeAbsolute","ranges":[{"startOffset":1451,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"removeLeadingDotSegment","ranges":[{"startOffset":1569,"endOffset":2057,"count":0}],"isBlockCoverage":false},{"functionName":"escapeWindowsPath","ranges":[{"startOffset":2193,"endOffset":2303,"count":0}],"isBlockCoverage":false},{"functionName":"escapePosixPath","ranges":[{"startOffset":2351,"endOffset":2457,"count":0}],"isBlockCoverage":false},{"functionName":"convertWindowsPathToPattern","ranges":[{"startOffset":2611,"endOffset":2792,"count":0}],"isBlockCoverage":false},{"functionName":"convertPosixPathToPattern","ranges":[{"startOffset":2860,"endOffset":2946,"count":0}],"isBlockCoverage":false}]},{"scriptId":"283","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/pattern.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7965,"count":1}],"isBlockCoverage":true},{"functionName":"isStaticPattern","ranges":[{"startOffset":1465,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1608,"endOffset":2666,"count":0}],"isBlockCoverage":false},{"functionName":"hasBraceExpansion","ranges":[{"startOffset":2712,"endOffset":3145,"count":0}],"isBlockCoverage":false},{"functionName":"convertToPositivePattern","ranges":[{"startOffset":3146,"endOffset":3260,"count":0}],"isBlockCoverage":false},{"functionName":"convertToNegativePattern","ranges":[{"startOffset":3322,"endOffset":3394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":3456,"endOffset":3553,"count":0}],"isBlockCoverage":false},{"functionName":"isPositivePattern","ranges":[{"startOffset":3601,"endOffset":3680,"count":0}],"isBlockCoverage":false},{"functionName":"getNegativePatterns","ranges":[{"startOffset":3728,"endOffset":3817,"count":0}],"isBlockCoverage":false},{"functionName":"getPositivePatterns","ranges":[{"startOffset":3869,"endOffset":3958,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsInsideCurrentDirectory","ranges":[{"startOffset":4205,"endOffset":4347,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternsOutsideCurrentDirectory","ranges":[{"startOffset":4631,"endOffset":4751,"count":0}],"isBlockCoverage":false},{"functionName":"isPatternRelatedToParentDirectory","ranges":[{"startOffset":4833,"endOffset":4955,"count":0}],"isBlockCoverage":false},{"functionName":"getBaseDirectory","ranges":[{"startOffset":5035,"endOffset":5133,"count":0}],"isBlockCoverage":false},{"functionName":"hasGlobStar","ranges":[{"startOffset":5179,"endOffset":5251,"count":0}],"isBlockCoverage":false},{"functionName":"endsWithSlashGlobStar","ranges":[{"startOffset":5287,"endOffset":5375,"count":0}],"isBlockCoverage":false},{"functionName":"isAffectDepthOfReadingPattern","ranges":[{"startOffset":5431,"endOffset":5599,"count":0}],"isBlockCoverage":false},{"functionName":"expandPatternsWithBraceExpansion","ranges":[{"startOffset":5671,"endOffset":5857,"count":0}],"isBlockCoverage":false},{"functionName":"expandBraceExpansion","ranges":[{"startOffset":5935,"endOffset":6463,"count":0}],"isBlockCoverage":false},{"functionName":"getPatternParts","ranges":[{"startOffset":6517,"endOffset":7150,"count":0}],"isBlockCoverage":false},{"functionName":"makeRe","ranges":[{"startOffset":7194,"endOffset":7279,"count":0}],"isBlockCoverage":false},{"functionName":"convertPatternsToRe","ranges":[{"startOffset":7305,"endOffset":7420,"count":0}],"isBlockCoverage":false},{"functionName":"matchAny","ranges":[{"startOffset":7472,"endOffset":7578,"count":0}],"isBlockCoverage":false},{"functionName":"removeDuplicateSlashes","ranges":[{"startOffset":7813,"endOffset":7907,"count":0}],"isBlockCoverage":false}]},{"scriptId":"284","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/glob-parent/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1120,"count":1}],"isBlockCoverage":true},{"functionName":"globParent","ranges":[{"startOffset":461,"endOffset":1118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"285","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3628,"count":1}],"isBlockCoverage":true},{"functionName":"strictCheck","ranges":[{"startOffset":247,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"relaxedCheck","ranges":[{"startOffset":2767,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"isGlob","ranges":[{"startOffset":3324,"endOffset":3626,"count":0}],"isBlockCoverage":false}]},{"scriptId":"286","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-extglob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"isExtglob","ranges":[{"startOffset":168,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"287","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/micromatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13741,"count":1}],"isBlockCoverage":true},{"functionName":"isEmptyString","ranges":[{"startOffset":187,"endOffset":220,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch","ranges":[{"startOffset":784,"endOffset":2129,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matcher","ranges":[{"startOffset":2781,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.isMatch","ranges":[{"startOffset":3440,"endOffset":3501,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.not","ranges":[{"startOffset":4203,"endOffset":4640,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.contains","ranges":[{"startOffset":5367,"endOffset":5928,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matchKeys","ranges":[{"startOffset":6706,"endOffset":6980,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.some","ranges":[{"startOffset":7765,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.every","ranges":[{"startOffset":8890,"endOffset":9146,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.all","ranges":[{"startOffset":9947,"endOffset":10155,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.capture","ranges":[{"startOffset":10869,"endOffset":11165,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.makeRe","ranges":[{"startOffset":11617,"endOffset":11655,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.scan","ranges":[{"startOffset":12004,"endOffset":12040,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.parse","ranges":[{"startOffset":12432,"endOffset":12652,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braces","ranges":[{"startOffset":13219,"endOffset":13456,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braceExpand","ranges":[{"startOffset":13510,"endOffset":13679,"count":0}],"isBlockCoverage":false}]},{"scriptId":"288","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4375,"count":1}],"isBlockCoverage":true},{"functionName":"braces","ranges":[{"startOffset":543,"endOffset":1030,"count":0}],"isBlockCoverage":false},{"functionName":"braces.parse","ranges":[{"startOffset":1359,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"braces.stringify","ranges":[{"startOffset":1795,"endOffset":1959,"count":0}],"isBlockCoverage":false},{"functionName":"braces.compile","ranges":[{"startOffset":2407,"endOffset":2550,"count":0}],"isBlockCoverage":false},{"functionName":"braces.expand","ranges":[{"startOffset":3141,"endOffset":3541,"count":0}],"isBlockCoverage":false},{"functionName":"braces.create","ranges":[{"startOffset":4118,"endOffset":4319,"count":0}],"isBlockCoverage":false}]},{"scriptId":"289","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/stringify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":700,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":67,"endOffset":697,"count":0}],"isBlockCoverage":false}]},{"scriptId":"290","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2451,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isInteger","ranges":[{"startOffset":35,"endOffset":232,"count":0}],"isBlockCoverage":false},{"functionName":"exports.find","ranges":[{"startOffset":292,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"exports.exceedsLimit","ranges":[{"startOffset":419,"endOffset":626,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeNode","ranges":[{"startOffset":712,"endOffset":985,"count":0}],"isBlockCoverage":false},{"functionName":"exports.encloseBrace","ranges":[{"startOffset":1097,"endOffset":1266,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isInvalidBrace","ranges":[{"startOffset":1347,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isOpenOrClose","ranges":[{"startOffset":1767,"endOffset":1906,"count":0}],"isBlockCoverage":false},{"functionName":"exports.reduce","ranges":[{"startOffset":1969,"endOffset":2127,"count":0}],"isBlockCoverage":false},{"functionName":"exports.flatten","ranges":[{"startOffset":2177,"endOffset":2449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"291","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/compile.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1415,"count":1}],"isBlockCoverage":true},{"functionName":"compile","ranges":[{"startOffset":102,"endOffset":1386,"count":0}],"isBlockCoverage":false}]},{"scriptId":"292","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fill-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6315,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":265,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"transform","ranges":[{"startOffset":355,"endOffset":439,"count":0}],"isBlockCoverage":false},{"functionName":"isValidValue","ranges":[{"startOffset":463,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":578,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"zeros","ranges":[{"startOffset":624,"endOffset":817,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":838,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":1001,"endOffset":1295,"count":0}],"isBlockCoverage":false},{"functionName":"toMaxLen","ranges":[{"startOffset":1315,"endOffset":1552,"count":0}],"isBlockCoverage":false},{"functionName":"toSequence","ranges":[{"startOffset":1574,"endOffset":2208,"count":0}],"isBlockCoverage":false},{"functionName":"toRange","ranges":[{"startOffset":2227,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"toRegex","ranges":[{"startOffset":2499,"endOffset":2758,"count":0}],"isBlockCoverage":false},{"functionName":"rangeError","ranges":[{"startOffset":2780,"endOffset":2874,"count":0}],"isBlockCoverage":false},{"functionName":"invalidRange","ranges":[{"startOffset":2898,"endOffset":3008,"count":0}],"isBlockCoverage":false},{"functionName":"invalidStep","ranges":[{"startOffset":3031,"endOffset":3176,"count":0}],"isBlockCoverage":false},{"functionName":"fillNumbers","ranges":[{"startOffset":3199,"endOffset":4682,"count":0}],"isBlockCoverage":false},{"functionName":"fillLetters","ranges":[{"startOffset":4705,"endOffset":5486,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":5502,"endOffset":6289,"count":0}],"isBlockCoverage":false}]},{"scriptId":"293","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/to-regex-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6481,"count":1}],"isBlockCoverage":true},{"functionName":"toRegexRange","ranges":[{"startOffset":235,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"collatePatterns","ranges":[{"startOffset":2180,"endOffset":2554,"count":0}],"isBlockCoverage":false},{"functionName":"splitToRanges","ranges":[{"startOffset":2556,"endOffset":3037,"count":0}],"isBlockCoverage":false},{"functionName":"rangeToPattern","ranges":[{"startOffset":3159,"endOffset":3832,"count":0}],"isBlockCoverage":false},{"functionName":"splitToPatterns","ranges":[{"startOffset":3834,"endOffset":4632,"count":0}],"isBlockCoverage":false},{"functionName":"filterPatterns","ranges":[{"startOffset":4634,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"zip","ranges":[{"startOffset":5120,"endOffset":5233,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":5235,"endOffset":5298,"count":0}],"isBlockCoverage":false},{"functionName":"contains","ranges":[{"startOffset":5300,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"countNines","ranges":[{"startOffset":5382,"endOffset":5478,"count":0}],"isBlockCoverage":false},{"functionName":"countZeros","ranges":[{"startOffset":5480,"endOffset":5571,"count":0}],"isBlockCoverage":false},{"functionName":"toQuantifier","ranges":[{"startOffset":5573,"endOffset":5741,"count":0}],"isBlockCoverage":false},{"functionName":"toCharacterClass","ranges":[{"startOffset":5743,"endOffset":5837,"count":0}],"isBlockCoverage":false},{"functionName":"hasPadding","ranges":[{"startOffset":5839,"endOffset":5899,"count":0}],"isBlockCoverage":false},{"functionName":"padZeros","ranges":[{"startOffset":5901,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"toRegexRange.clearCache","ranges":[{"startOffset":6382,"endOffset":6413,"count":0}],"isBlockCoverage":false}]},{"scriptId":"294","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-number/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":411,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":184,"endOffset":409,"count":0}],"isBlockCoverage":false}]},{"scriptId":"295","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/expand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2780,"count":1}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":143,"endOffset":810,"count":0}],"isBlockCoverage":false},{"functionName":"expand","ranges":[{"startOffset":828,"endOffset":2752,"count":0}],"isBlockCoverage":false}]},{"scriptId":"296","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6913,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":576,"endOffset":6886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"297","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"298","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":60,"count":1}],"isBlockCoverage":true}]},{"scriptId":"299","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/picomatch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9956,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":204,"endOffset":264,"count":18},{"startOffset":242,"endOffset":264,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch","ranges":[{"startOffset":1018,"endOffset":2836,"count":19},{"startOffset":1087,"endOffset":1365,"count":1},{"startOffset":1365,"endOffset":1400,"count":18},{"startOffset":1400,"endOffset":1414,"count":0},{"startOffset":1415,"endOffset":1428,"count":0},{"startOffset":1449,"endOffset":1490,"count":18},{"startOffset":1478,"endOffset":1489,"count":0},{"startOffset":1492,"endOffset":1567,"count":0},{"startOffset":1567,"endOffset":1597,"count":18},{"startOffset":1669,"endOffset":1705,"count":0},{"startOffset":1710,"endOffset":1756,"count":18},{"startOffset":1861,"endOffset":2015,"count":0},{"startOffset":2015,"endOffset":2783,"count":18},{"startOffset":2783,"endOffset":2815,"count":0},{"startOffset":2815,"endOffset":2835,"count":18}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1114,"endOffset":1161,"count":18}],"isBlockCoverage":true},{"functionName":"arrayMatcher","ranges":[{"startOffset":1189,"endOffset":1335,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnored","ranges":[{"startOffset":1829,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2035,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.test","ranges":[{"startOffset":3384,"endOffset":4185,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.matchBase","ranges":[{"startOffset":4600,"endOffset":4787,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.isMatch","ranges":[{"startOffset":5423,"endOffset":5484,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.parse","ranges":[{"startOffset":5894,"endOffset":6062,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.scan","ranges":[{"startOffset":6697,"endOffset":6737,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.compileRe","ranges":[{"startOffset":7228,"endOffset":7738,"count":18},{"startOffset":7322,"endOffset":7352,"count":0},{"startOffset":7377,"endOffset":7382,"count":0},{"startOffset":7416,"endOffset":7420,"count":0},{"startOffset":7459,"endOffset":7463,"count":0},{"startOffset":7568,"endOffset":7607,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch.makeRe","ranges":[{"startOffset":8611,"endOffset":9117,"count":18},{"startOffset":8724,"endOffset":8785,"count":0},{"startOffset":8895,"endOffset":8914,"count":8},{"startOffset":8917,"endOffset":8975,"count":12}],"isBlockCoverage":true},{"functionName":"picomatch.toRegex","ranges":[{"startOffset":9579,"endOffset":9807,"count":18},{"startOffset":9635,"endOffset":9640,"count":0},{"startOffset":9699,"endOffset":9704,"count":0},{"startOffset":9717,"endOffset":9805,"count":0}],"isBlockCoverage":true}]},{"scriptId":"300","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/scan.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9189,"count":1}],"isBlockCoverage":true},{"functionName":"isPathSeparator","ranges":[{"startOffset":665,"endOffset":746,"count":0}],"isBlockCoverage":false},{"functionName":"depth","ranges":[{"startOffset":763,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"scan","ranges":[{"startOffset":1512,"endOffset":9163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"301","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1885,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isObject","ranges":[{"startOffset":242,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"exports.hasRegexChars","ranges":[{"startOffset":337,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isRegexChar","ranges":[{"startOffset":397,"endOffset":450,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeRegex","ranges":[{"startOffset":474,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"exports.toPosixSlashes","ranges":[{"startOffset":555,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removeBackslashes","ranges":[{"startOffset":626,"endOffset":738,"count":0}],"isBlockCoverage":false},{"functionName":"exports.supportsLookbehinds","ranges":[{"startOffset":771,"endOffset":960,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isWindows","ranges":[{"startOffset":983,"endOffset":1132,"count":48},{"startOffset":1010,"endOffset":1049,"count":30},{"startOffset":1051,"endOffset":1084,"count":0}],"isBlockCoverage":true},{"functionName":"exports.escapeLast","ranges":[{"startOffset":1156,"endOffset":1401,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removePrefix","ranges":[{"startOffset":1427,"endOffset":1584,"count":30},{"startOffset":1505,"endOffset":1565,"count":0}],"isBlockCoverage":true},{"functionName":"exports.wrapOutput","ranges":[{"startOffset":1608,"endOffset":1883,"count":8},{"startOffset":1682,"endOffset":1686,"count":0},{"startOffset":1728,"endOffset":1732,"count":0},{"startOffset":1821,"endOffset":1864,"count":0}],"isBlockCoverage":true}]},{"scriptId":"302","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4448,"count":1}],"isBlockCoverage":true},{"functionName":"extglobChars","ranges":[{"startOffset":3985,"endOffset":4324,"count":18}],"isBlockCoverage":true},{"functionName":"globChars","ranges":[{"startOffset":4365,"endOffset":4444,"count":30},{"startOffset":4410,"endOffset":4425,"count":0}],"isBlockCoverage":true}]},{"scriptId":"303","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27763,"count":1}],"isBlockCoverage":true},{"functionName":"expandRange","ranges":[{"startOffset":287,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"syntaxError","ranges":[{"startOffset":713,"endOffset":819,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":950,"endOffset":25216,"count":18},{"startOffset":1005,"endOffset":1056,"count":0},{"startOffset":1179,"endOffset":1217,"count":0},{"startOffset":1276,"endOffset":1372,"count":0},{"startOffset":1500,"endOffset":1504,"count":0},{"startOffset":2109,"endOffset":2113,"count":0},{"startOffset":2154,"endOffset":2161,"count":0},{"startOffset":2210,"endOffset":2226,"count":0},{"startOffset":2256,"endOffset":2285,"count":0},{"startOffset":2357,"endOffset":2395,"count":0},{"startOffset":6907,"endOffset":8130,"count":8},{"startOffset":7704,"endOffset":7937,"count":0},{"startOffset":7964,"endOffset":7989,"count":3},{"startOffset":7991,"endOffset":8046,"count":0},{"startOffset":8130,"endOffset":8211,"count":10},{"startOffset":8211,"endOffset":24093,"count":55},{"startOffset":8265,"endOffset":8288,"count":0},{"startOffset":8357,"endOffset":9173,"count":0},{"startOffset":9319,"endOffset":9382,"count":0},{"startOffset":9384,"endOffset":10516,"count":0},{"startOffset":10659,"endOffset":10675,"count":0},{"startOffset":10677,"endOffset":10792,"count":0},{"startOffset":10855,"endOffset":11012,"count":0},{"startOffset":11073,"endOffset":11161,"count":0},{"startOffset":11186,"endOffset":11621,"count":0},{"startOffset":11686,"endOffset":12045,"count":0},{"startOffset":12070,"endOffset":13525,"count":0},{"startOffset":13580,"endOffset":13604,"count":0},{"startOffset":13606,"endOffset":13873,"count":0},{"startOffset":13898,"endOffset":15028,"count":0},{"startOffset":15083,"endOffset":15236,"count":0},{"startOffset":15292,"endOffset":15553,"count":0},{"startOffset":15610,"endOffset":16220,"count":9},{"startOffset":15901,"endOffset":15935,"count":0},{"startOffset":15937,"endOffset":16136,"count":0},{"startOffset":16220,"endOffset":16274,"count":46},{"startOffset":16274,"endOffset":16840,"count":5},{"startOffset":16303,"endOffset":16325,"count":0},{"startOffset":16327,"endOffset":16576,"count":0},{"startOffset":16647,"endOffset":16671,"count":0},{"startOffset":16673,"endOffset":16760,"count":0},{"startOffset":16840,"endOffset":16904,"count":41},{"startOffset":16904,"endOffset":17841,"count":0},{"startOffset":17841,"endOffset":17902,"count":41},{"startOffset":17902,"endOffset":18202,"count":0},{"startOffset":18202,"endOffset":18256,"count":41},{"startOffset":18256,"endOffset":18806,"count":0},{"startOffset":18806,"endOffset":18866,"count":41},{"startOffset":18866,"endOffset":19091,"count":0},{"startOffset":19091,"endOffset":19151,"count":41},{"startOffset":19151,"endOffset":19452,"count":10},{"startOffset":19195,"endOffset":19234,"count":0},{"startOffset":19452,"endOffset":19548,"count":31},{"startOffset":19550,"endOffset":19757,"count":0},{"startOffset":19757,"endOffset":19842,"count":31},{"startOffset":19844,"endOffset":19901,"count":0},{"startOffset":19901,"endOffset":19933,"count":31},{"startOffset":19933,"endOffset":23132,"count":11},{"startOffset":19971,"endOffset":20022,"count":0},{"startOffset":20133,"endOffset":20156,"count":2},{"startOffset":20189,"endOffset":20246,"count":9},{"startOffset":20278,"endOffset":20323,"count":0},{"startOffset":20325,"endOffset":20403,"count":0},{"startOffset":20444,"endOffset":20497,"count":0},{"startOffset":20539,"endOffset":20591,"count":0},{"startOffset":20612,"endOffset":20637,"count":0},{"startOffset":20638,"endOffset":20649,"count":0},{"startOffset":20650,"endOffset":20663,"count":0},{"startOffset":20665,"endOffset":20743,"count":0},{"startOffset":20820,"endOffset":20997,"count":0},{"startOffset":21030,"endOffset":21038,"count":2},{"startOffset":21040,"endOffset":21257,"count":0},{"startOffset":21292,"endOffset":21320,"count":9},{"startOffset":21321,"endOffset":21334,"count":9},{"startOffset":21335,"endOffset":21343,"count":9},{"startOffset":21345,"endOffset":21745,"count":0},{"startOffset":21780,"endOffset":21808,"count":9},{"startOffset":21809,"endOffset":21827,"count":9},{"startOffset":21829,"endOffset":22362,"count":9},{"startOffset":21877,"endOffset":21881,"count":0},{"startOffset":22362,"endOffset":22413,"count":2},{"startOffset":22415,"endOffset":22745,"count":2},{"startOffset":22745,"endOffset":23132,"count":0},{"startOffset":23132,"endOffset":23220,"count":20},{"startOffset":23220,"endOffset":23401,"count":0},{"startOffset":23401,"endOffset":23469,"count":20},{"startOffset":23470,"endOffset":23492,"count":0},{"startOffset":23494,"endOffset":23564,"count":0},{"startOffset":23564,"endOffset":23602,"count":20},{"startOffset":23602,"endOffset":23626,"count":18},{"startOffset":23627,"endOffset":23649,"count":0},{"startOffset":23651,"endOffset":24071,"count":20},{"startOffset":23684,"endOffset":23769,"count":0},{"startOffset":23798,"endOffset":23885,"count":0},{"startOffset":23989,"endOffset":24065,"count":9},{"startOffset":24071,"endOffset":24093,"count":20},{"startOffset":24093,"endOffset":24124,"count":10},{"startOffset":24124,"endOffset":24302,"count":0},{"startOffset":24302,"endOffset":24331,"count":10},{"startOffset":24331,"endOffset":24507,"count":0},{"startOffset":24507,"endOffset":24536,"count":10},{"startOffset":24536,"endOffset":24712,"count":0},{"startOffset":24712,"endOffset":24800,"count":10},{"startOffset":24773,"endOffset":24799,"count":1},{"startOffset":24802,"endOffset":24882,"count":9},{"startOffset":24882,"endOffset":24976,"count":10},{"startOffset":24976,"endOffset":25197,"count":0},{"startOffset":25197,"endOffset":25215,"count":10}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":1977,"endOffset":2081,"count":11},{"startOffset":2042,"endOffset":2054,"count":0}],"isBlockCoverage":true},{"functionName":"eos","ranges":[{"startOffset":2889,"endOffset":2918,"count":76}],"isBlockCoverage":true},{"functionName":"state.peek","ranges":[{"startOffset":2948,"endOffset":2981,"count":20}],"isBlockCoverage":true},{"functionName":"state.advance","ranges":[{"startOffset":3017,"endOffset":3049,"count":66},{"startOffset":3044,"endOffset":3049,"count":0}],"isBlockCoverage":true},{"functionName":"remaining","ranges":[{"startOffset":3071,"endOffset":3105,"count":41}],"isBlockCoverage":true},{"functionName":"consume","ranges":[{"startOffset":3125,"endOffset":3208,"count":75}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":3228,"endOffset":3339,"count":64},{"startOffset":3280,"endOffset":3294,"count":54},{"startOffset":3295,"endOffset":3308,"count":10}],"isBlockCoverage":true},{"functionName":"negate","ranges":[{"startOffset":3359,"endOffset":3635,"count":0}],"isBlockCoverage":false},{"functionName":"increment","ranges":[{"startOffset":3658,"endOffset":3712,"count":0}],"isBlockCoverage":false},{"functionName":"decrement","ranges":[{"startOffset":3735,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":4109,"endOffset":5036,"count":64},{"startOffset":4152,"endOffset":4644,"count":11},{"startOffset":4193,"endOffset":4242,"count":0},{"startOffset":4309,"endOffset":4357,"count":0},{"startOffset":4392,"endOffset":4415,"count":0},{"startOffset":4416,"endOffset":4427,"count":0},{"startOffset":4428,"endOffset":4441,"count":0},{"startOffset":4443,"endOffset":4638,"count":0},{"startOffset":4670,"endOffset":4693,"count":0},{"startOffset":4695,"endOffset":4758,"count":0},{"startOffset":4778,"endOffset":4791,"count":9},{"startOffset":4843,"endOffset":4865,"count":9},{"startOffset":4867,"endOffset":4972,"count":0}],"isBlockCoverage":true},{"functionName":"extglobOpen","ranges":[{"startOffset":5061,"endOffset":5492,"count":0}],"isBlockCoverage":false},{"functionName":"extglobClose","ranges":[{"startOffset":5518,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6999,"endOffset":7670,"count":6},{"startOffset":7066,"endOffset":7121,"count":0},{"startOffset":7148,"endOffset":7409,"count":0},{"startOffset":7436,"endOffset":7494,"count":5},{"startOffset":7494,"endOffset":7521,"count":1},{"startOffset":7521,"endOffset":7631,"count":0},{"startOffset":7631,"endOffset":7649,"count":1},{"startOffset":7649,"endOffset":7652,"count":0},{"startOffset":7653,"endOffset":7663,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7841,"endOffset":7921,"count":0}],"isBlockCoverage":false},{"functionName":"parse.fastpaths","ranges":[{"startOffset":25439,"endOffset":27736,"count":12},{"startOffset":25541,"endOffset":25579,"count":0},{"startOffset":25639,"endOffset":25735,"count":0},{"startOffset":26089,"endOffset":26098,"count":0},{"startOffset":26137,"endOffset":26152,"count":0},{"startOffset":26194,"endOffset":26198,"count":0},{"startOffset":26287,"endOffset":26294,"count":0},{"startOffset":26324,"endOffset":26353,"count":0},{"startOffset":27644,"endOffset":27674,"count":0},{"startOffset":27676,"endOffset":27716,"count":0}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":26374,"endOffset":26525,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":26545,"endOffset":27545,"count":16},{"startOffset":26579,"endOffset":26633,"count":0},{"startOffset":26641,"endOffset":26702,"count":0},{"startOffset":26710,"endOffset":26787,"count":0},{"startOffset":26795,"endOffset":26885,"count":0},{"startOffset":26893,"endOffset":26942,"count":0},{"startOffset":26950,"endOffset":27056,"count":0},{"startOffset":27064,"endOffset":27193,"count":0},{"startOffset":27201,"endOffset":27311,"count":0},{"startOffset":27400,"endOffset":27407,"count":12},{"startOffset":27407,"endOffset":27478,"count":4},{"startOffset":27478,"endOffset":27535,"count":0}],"isBlockCoverage":true}]},{"scriptId":"304","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":629,"count":1}],"isBlockCoverage":true},{"functionName":"merge","ranges":[{"startOffset":135,"endOffset":499,"count":0}],"isBlockCoverage":false},{"functionName":"propagateCloseEventToSources","ranges":[{"startOffset":523,"endOffset":628,"count":0}],"isBlockCoverage":false}]},{"scriptId":"305","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":298,"count":1}],"isBlockCoverage":true},{"functionName":"isString","ranges":[{"startOffset":122,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"isEmpty","ranges":[{"startOffset":218,"endOffset":270,"count":0}],"isBlockCoverage":false}]},{"scriptId":"306","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":814,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderAsync","ranges":[{"startOffset":217,"endOffset":327,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":332,"endOffset":587,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":592,"endOffset":778,"count":0}],"isBlockCoverage":false}]},{"scriptId":"307","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1213,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderAsync","ranges":[{"startOffset":246,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":407,"endOffset":750,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":755,"endOffset":1179,"count":0}],"isBlockCoverage":false}]},{"scriptId":"308","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"walk","ranges":[{"startOffset":378,"endOffset":710,"count":0}],"isBlockCoverage":false},{"functionName":"walkSync","ranges":[{"startOffset":732,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"walkStream","ranges":[{"startOffset":956,"endOffset":1154,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":1188,"endOffset":1389,"count":0}],"isBlockCoverage":false}]},{"scriptId":"309","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":895,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncProvider","ranges":[{"startOffset":148,"endOffset":349,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":354,"endOffset":707,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":743,"endOffset":813,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":814,"endOffset":894,"count":0}],"isBlockCoverage":false}]},{"scriptId":"310","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3157,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncReader","ranges":[{"startOffset":318,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":821,"endOffset":1045,"count":0}],"isBlockCoverage":false},{"functionName":"get isDestroyed","ranges":[{"startOffset":1050,"endOffset":1109,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":1114,"endOffset":1308,"count":0}],"isBlockCoverage":false},{"functionName":"onEntry","ranges":[{"startOffset":1313,"endOffset":1383,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":1388,"endOffset":1460,"count":0}],"isBlockCoverage":false},{"functionName":"onEnd","ranges":[{"startOffset":1465,"endOffset":1533,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":1538,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_worker","ranges":[{"startOffset":1778,"endOffset":2168,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":2173,"endOffset":2423,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":2428,"endOffset":3049,"count":0}],"isBlockCoverage":false},{"functionName":"_emitEntry","ranges":[{"startOffset":3054,"endOffset":3123,"count":0}],"isBlockCoverage":false}]},{"scriptId":"311","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1009,"count":1}],"isBlockCoverage":true},{"functionName":"scandir","ranges":[{"startOffset":311,"endOffset":603,"count":0}],"isBlockCoverage":false},{"functionName":"scandirSync","ranges":[{"startOffset":631,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":807,"endOffset":1008,"count":0}],"isBlockCoverage":false}]},{"scriptId":"312","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3686,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":346,"endOffset":598,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":620,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"makeRplTaskEntry","ranges":[{"startOffset":1625,"endOffset":2247,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":2248,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":3536,"endOffset":3606,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":3607,"endOffset":3685,"count":0}],"isBlockCoverage":false}]},{"scriptId":"313","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"stat","ranges":[{"startOffset":305,"endOffset":594,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":616,"endOffset":753,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":783,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"314","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":1000,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":1022,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":1093,"endOffset":1171,"count":0}],"isBlockCoverage":false}]},{"scriptId":"315","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":619,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"316","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":696,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":135,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":563,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"317","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":305,"endOffset":522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"318","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/run-parallel/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1034,"count":1}],"isBlockCoverage":true},{"functionName":"runParallel","ranges":[{"startOffset":167,"endOffset":1033,"count":0}],"isBlockCoverage":false}]},{"scriptId":"319","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/queue-microtask/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":402,"count":1},{"startOffset":210,"endOffset":218,"count":0},{"startOffset":283,"endOffset":401,"count":0}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":285,"endOffset":401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"320","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":990,"count":1},{"startOffset":295,"endOffset":424,"count":0},{"startOffset":794,"endOffset":837,"count":0},{"startOffset":956,"endOffset":988,"count":0}],"isBlockCoverage":true}]},{"scriptId":"321","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":143,"count":1}],"isBlockCoverage":true}]},{"scriptId":"322","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"323","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":419,"count":1}],"isBlockCoverage":true},{"functionName":"joinPathSegments","ranges":[{"startOffset":112,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"324","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1990,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":309,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":551,"endOffset":1357,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":1411,"endOffset":1962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"325","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1076,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":209,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":943,"endOffset":1045,"count":0}],"isBlockCoverage":false}]},{"scriptId":"326","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":640,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":363,"endOffset":580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"327","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fastq/queue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5617,"count":1}],"isBlockCoverage":true},{"functionName":"fastqueue","ranges":[{"startOffset":77,"endOffset":3391,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":3393,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"Task","ranges":[{"startOffset":3414,"endOffset":3917,"count":0}],"isBlockCoverage":false},{"functionName":"queueAsPromised","ranges":[{"startOffset":3919,"endOffset":5547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"328","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/reusify/reusify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"reusify","ranges":[{"startOffset":14,"endOffset":427,"count":0}],"isBlockCoverage":false}]},{"scriptId":"329","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1052,"count":1}],"isBlockCoverage":true},{"functionName":"isFatalError","ranges":[{"startOffset":199,"endOffset":350,"count":0}],"isBlockCoverage":false},{"functionName":"isAppliedFilter","ranges":[{"startOffset":388,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"replacePathSegmentSeparator","ranges":[{"startOffset":520,"endOffset":633,"count":0}],"isBlockCoverage":false},{"functionName":"joinPathSegments","ranges":[{"startOffset":701,"endOffset":1006,"count":0}],"isBlockCoverage":false}]},{"scriptId":"330","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":358,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":132,"endOffset":329,"count":0}],"isBlockCoverage":false}]},{"scriptId":"331","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1021,"count":1}],"isBlockCoverage":true},{"functionName":"StreamProvider","ranges":[{"startOffset":185,"endOffset":630,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":635,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"332","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":407,"count":1}],"isBlockCoverage":true},{"functionName":"SyncProvider","ranges":[{"startOffset":145,"endOffset":317,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":322,"endOffset":372,"count":0}],"isBlockCoverage":false}]},{"scriptId":"333","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1911,"count":1}],"isBlockCoverage":true},{"functionName":"SyncReader","ranges":[{"startOffset":249,"endOffset":407,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":412,"endOffset":549,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":554,"endOffset":637,"count":0}],"isBlockCoverage":false},{"functionName":"_handleQueue","ranges":[{"startOffset":642,"endOffset":787,"count":0}],"isBlockCoverage":false},{"functionName":"_handleDirectory","ranges":[{"startOffset":792,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":1127,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":1269,"endOffset":1809,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToStorage","ranges":[{"startOffset":1814,"endOffset":1878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"334","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1250,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":178,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":1117,"endOffset":1219,"count":0}],"isBlockCoverage":false}]},{"scriptId":"335","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1063,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":205,"endOffset":518,"count":0}],"isBlockCoverage":false},{"functionName":"_getFullEntryPath","ranges":[{"startOffset":523,"endOffset":617,"count":0}],"isBlockCoverage":false},{"functionName":"_makeEntry","ranges":[{"startOffset":622,"endOffset":913,"count":0}],"isBlockCoverage":false},{"functionName":"_isFatalError","ranges":[{"startOffset":918,"endOffset":1034,"count":0}],"isBlockCoverage":false}]},{"scriptId":"336","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1870,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderStream","ranges":[{"startOffset":289,"endOffset":419,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":424,"endOffset":502,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":513,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":1275,"endOffset":1579,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1584,"endOffset":1835,"count":0}],"isBlockCoverage":false}]},{"scriptId":"337","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/provider.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2000,"count":1}],"isBlockCoverage":true},{"functionName":"Provider","ranges":[{"startOffset":307,"endOffset":692,"count":0}],"isBlockCoverage":false},{"functionName":"_getRootDirectory","ranges":[{"startOffset":697,"endOffset":788,"count":0}],"isBlockCoverage":false},{"functionName":"_getReaderOptions","ranges":[{"startOffset":793,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"_getMicromatchOptions","ranges":[{"startOffset":1559,"endOffset":1969,"count":0}],"isBlockCoverage":false}]},{"scriptId":"338","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/deep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2466,"count":1}],"isBlockCoverage":true},{"functionName":"DeepFilter","ranges":[{"startOffset":188,"endOffset":328,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":333,"endOffset":576,"count":0}],"isBlockCoverage":false},{"functionName":"_getMatcher","ranges":[{"startOffset":581,"endOffset":699,"count":0}],"isBlockCoverage":false},{"functionName":"_getNegativePatternsRe","ranges":[{"startOffset":704,"endOffset":956,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":961,"endOffset":1444,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByDeep","ranges":[{"startOffset":1449,"endOffset":1754,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntryLevel","ranges":[{"startOffset":1759,"endOffset":2043,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedSymbolicLink","ranges":[{"startOffset":2048,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByPositivePatterns","ranges":[{"startOffset":2175,"endOffset":2306,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByNegativePatterns","ranges":[{"startOffset":2311,"endOffset":2433,"count":0}],"isBlockCoverage":false}]},{"scriptId":"339","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/partial.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1421,"count":1}],"isBlockCoverage":true},{"functionName":"match","ranges":[{"startOffset":170,"endOffset":1384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"340","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1568,"count":1}],"isBlockCoverage":true},{"functionName":"Matcher","ranges":[{"startOffset":135,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"_fillStorage","ranges":[{"startOffset":384,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"_getPatternSegments","ranges":[{"startOffset":778,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"_splitSegmentsIntoSections","ranges":[{"startOffset":1370,"endOffset":1538,"count":0}],"isBlockCoverage":false}]},{"scriptId":"341","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2686,"count":1}],"isBlockCoverage":true},{"functionName":"EntryFilter","ranges":[{"startOffset":139,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":316,"endOffset":667,"count":0}],"isBlockCoverage":false},{"functionName":"_filter","ranges":[{"startOffset":672,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"_isDuplicateEntry","ranges":[{"startOffset":1473,"endOffset":1549,"count":0}],"isBlockCoverage":false},{"functionName":"_createIndexRecord","ranges":[{"startOffset":1554,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyFileFilter","ranges":[{"startOffset":1640,"endOffset":1737,"count":0}],"isBlockCoverage":false},{"functionName":"_onlyDirectoryFilter","ranges":[{"startOffset":1742,"endOffset":1855,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedByAbsoluteNegativePatterns","ranges":[{"startOffset":1860,"endOffset":2145,"count":0}],"isBlockCoverage":false},{"functionName":"_isMatchToPatterns","ranges":[{"startOffset":2150,"endOffset":2652,"count":0}],"isBlockCoverage":false}]},{"scriptId":"342","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"ErrorFilter","ranges":[{"startOffset":139,"endOffset":205,"count":0}],"isBlockCoverage":false},{"functionName":"getFilter","ranges":[{"startOffset":210,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"_isNonFatalError","ranges":[{"startOffset":290,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"343","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/transformers/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":845,"count":1}],"isBlockCoverage":true},{"functionName":"EntryTransformer","ranges":[{"startOffset":144,"endOffset":210,"count":0}],"isBlockCoverage":false},{"functionName":"getTransformer","ranges":[{"startOffset":215,"endOffset":289,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":294,"endOffset":806,"count":0}],"isBlockCoverage":false}]},{"scriptId":"344","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1198,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderStream","ranges":[{"startOffset":256,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":372,"endOffset":970,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":975,"endOffset":1161,"count":0}],"isBlockCoverage":false}]},{"scriptId":"345","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":779,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderSync","ranges":[{"startOffset":214,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":328,"endOffset":553,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":558,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"346","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1330,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderSync","ranges":[{"startOffset":251,"endOffset":385,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":390,"endOffset":466,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":477,"endOffset":878,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":883,"endOffset":1203,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1208,"endOffset":1297,"count":0}],"isBlockCoverage":false}]},{"scriptId":"347","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2849,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":645,"endOffset":2584,"count":0}],"isBlockCoverage":false},{"functionName":"_getValue","ranges":[{"startOffset":2589,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"_getFileSystemMethods","ranges":[{"startOffset":2680,"endOffset":2818,"count":0}],"isBlockCoverage":false}]},{"scriptId":"348","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/dir-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2304,"count":1}],"isBlockCoverage":true},{"functionName":"getExtensions","ranges":[{"startOffset":106,"endOffset":187,"count":0}],"isBlockCoverage":false},{"functionName":"getPath","ranges":[{"startOffset":206,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"addExtensions","ranges":[{"startOffset":376,"endOffset":506,"count":0}],"isBlockCoverage":false},{"functionName":"getGlob","ranges":[{"startOffset":525,"endOffset":1324,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1344,"endOffset":1852,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.sync","ranges":[{"startOffset":1877,"endOffset":2302,"count":0}],"isBlockCoverage":false}]},{"scriptId":"349","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-type/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":true},{"functionName":"isType","ranges":[{"startOffset":78,"endOffset":444,"count":0}],"isBlockCoverage":false},{"functionName":"isTypeSync","ranges":[{"startOffset":446,"endOffset":770,"count":0}],"isBlockCoverage":false}]},{"scriptId":"350","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16073,"count":1},{"startOffset":15630,"endOffset":16072,"count":0}],"isBlockCoverage":true},{"functionName":"makeArray","ranges":[{"startOffset":41,"endOffset":135,"count":0}],"isBlockCoverage":false},{"functionName":"define","ranges":[{"startOffset":813,"endOffset":882,"count":0}],"isBlockCoverage":false},{"functionName":"RETURN_FALSE","ranges":[{"startOffset":952,"endOffset":963,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeRange","ranges":[{"startOffset":1090,"endOffset":1362,"count":0}],"isBlockCoverage":false},{"functionName":"cleanRangeBackSlash","ranges":[{"startOffset":1412,"endOffset":1500,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2321,"endOffset":2383,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2438,"endOffset":2449,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3104,"endOffset":3125,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3213,"endOffset":3225,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3477,"endOffset":3486,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3577,"endOffset":3588,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4009,"endOffset":4028,"count":0}],"isBlockCoverage":false},{"functionName":"startingReplacer","ranges":[{"startOffset":4250,"endOffset":5144,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5442,"endOffset":5912,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":6273,"endOffset":6593,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6787,"endOffset":6799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6849,"endOffset":6861,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7539,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":8102,"endOffset":8250,"count":0}],"isBlockCoverage":false},{"functionName":"REPLACERS","ranges":[{"startOffset":8311,"endOffset":8645,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegex","ranges":[{"startOffset":8808,"endOffset":9130,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":9149,"endOffset":9187,"count":0}],"isBlockCoverage":false},{"functionName":"checkPattern","ranges":[{"startOffset":9294,"endOffset":9514,"count":0}],"isBlockCoverage":false},{"functionName":"splitPattern","ranges":[{"startOffset":9537,"endOffset":9582,"count":0}],"isBlockCoverage":false},{"functionName":"IgnoreRule","ranges":[{"startOffset":9605,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"createRule","ranges":[{"startOffset":9804,"endOffset":10534,"count":0}],"isBlockCoverage":false},{"functionName":"throwError","ranges":[{"startOffset":10555,"endOffset":10603,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath","ranges":[{"startOffset":10623,"endOffset":11159,"count":0}],"isBlockCoverage":false},{"functionName":"isNotRelative","ranges":[{"startOffset":11183,"endOffset":11225,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.convert","ranges":[{"startOffset":11287,"endOffset":11293,"count":0}],"isBlockCoverage":false},{"functionName":"Ignore","ranges":[{"startOffset":11312,"endOffset":11588,"count":0}],"isBlockCoverage":false},{"functionName":"_initCache","ranges":[{"startOffset":11592,"endOffset":11697,"count":0}],"isBlockCoverage":false},{"functionName":"_addPattern","ranges":[{"startOffset":11701,"endOffset":12031,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":12089,"endOffset":12416,"count":0}],"isBlockCoverage":false},{"functionName":"addPattern","ranges":[{"startOffset":12432,"endOffset":12487,"count":0}],"isBlockCoverage":false},{"functionName":"_testOne","ranges":[{"startOffset":13081,"endOffset":13588,"count":0}],"isBlockCoverage":false},{"functionName":"_test","ranges":[{"startOffset":13619,"endOffset":13965,"count":0}],"isBlockCoverage":false},{"functionName":"_t","ranges":[{"startOffset":13969,"endOffset":14755,"count":0}],"isBlockCoverage":false},{"functionName":"ignores","ranges":[{"startOffset":14759,"endOffset":14841,"count":0}],"isBlockCoverage":false},{"functionName":"createFilter","ranges":[{"startOffset":14845,"endOffset":14905,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":14909,"endOffset":14985,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":15016,"endOffset":15084,"count":0}],"isBlockCoverage":false},{"functionName":"factory","ranges":[{"startOffset":15104,"endOffset":15134,"count":0}],"isBlockCoverage":false},{"functionName":"isPathValid","ranges":[{"startOffset":15156,"endOffset":15228,"count":0}],"isBlockCoverage":false},{"functionName":"makePosix","ranges":[{"startOffset":15691,"endOffset":15798,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.isNotRelative","ranges":[{"startOffset":15990,"endOffset":16070,"count":0}],"isBlockCoverage":false}]},{"scriptId":"351","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/glob-helpers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4053,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":547,"endOffset":575,"count":9}],"isBlockCoverage":true},{"functionName":"processMatchingPatterns","ranges":[{"startOffset":724,"endOffset":1373,"count":0}],"isBlockCoverage":false},{"functionName":"matchesIgnorePatterns","ranges":[{"startOffset":1466,"endOffset":1608,"count":0}],"isBlockCoverage":false},{"functionName":"classify","ranges":[{"startOffset":1611,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"hasExtension","ranges":[{"startOffset":2008,"endOffset":2078,"count":0}],"isBlockCoverage":false},{"functionName":"isHelperish","ranges":[{"startOffset":2119,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"matches","ranges":[{"startOffset":2778,"endOffset":2887,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFileForMatching","ranges":[{"startOffset":2917,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePattern","ranges":[{"startOffset":3459,"endOffset":3856,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePatterns","ranges":[{"startOffset":3904,"endOffset":4004,"count":0}],"isBlockCoverage":false}]},{"scriptId":"352","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore-by-default/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":816,"count":1}],"isBlockCoverage":true},{"functionName":"exports.directories","ranges":[{"startOffset":36,"endOffset":815,"count":1}],"isBlockCoverage":true}]},{"scriptId":"353","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/slash.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":1199,"endOffset":1364,"count":0}],"isBlockCoverage":false}]},{"scriptId":"354","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/pkg.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":59,"count":1}],"isBlockCoverage":true}]},{"scriptId":"355","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/clean-yaml-object/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2176,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":129,"count":0}],"isBlockCoverage":false},{"functionName":"cleanYamlObj","ranges":[{"startOffset":132,"endOffset":1901,"count":0}],"isBlockCoverage":false},{"functionName":"setProp","ranges":[{"startOffset":1903,"endOffset":2131,"count":0}],"isBlockCoverage":false},{"functionName":"defaultFilter","ranges":[{"startOffset":2133,"endOffset":2175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"356","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":578,"count":1}],"isBlockCoverage":true}]},{"scriptId":"357","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3379,"count":1}],"isBlockCoverage":true},{"functionName":"shortcircuitPrimitive","ranges":[{"startOffset":408,"endOffset":728,"count":6},{"startOffset":531,"endOffset":542,"count":0},{"startOffset":618,"endOffset":629,"count":0},{"startOffset":690,"endOffset":710,"count":0}],"isBlockCoverage":true},{"functionName":"compareDescriptors","ranges":[{"startOffset":730,"endOffset":2814,"count":3},{"startOffset":916,"endOffset":2775,"count":36},{"startOffset":963,"endOffset":1070,"count":0},{"startOffset":1102,"endOffset":1132,"count":0},{"startOffset":1207,"endOffset":1219,"count":0},{"startOffset":1251,"endOffset":2308,"count":9},{"startOffset":1301,"endOffset":1313,"count":0},{"startOffset":1346,"endOffset":1372,"count":0},{"startOffset":1374,"endOffset":2089,"count":0},{"startOffset":2336,"endOffset":2771,"count":42},{"startOffset":2445,"endOffset":2460,"count":33},{"startOffset":2462,"endOffset":2485,"count":33},{"startOffset":2485,"endOffset":2525,"count":9},{"startOffset":2527,"endOffset":2729,"count":9},{"startOffset":2729,"endOffset":2765,"count":0}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":2864,"endOffset":3352,"count":3},{"startOffset":2946,"endOffset":2967,"count":0},{"startOffset":3161,"endOffset":3183,"count":0}],"isBlockCoverage":true}]},{"scriptId":"358","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Circular.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":785,"count":1}],"isBlockCoverage":true},{"functionName":"Circular","ranges":[{"startOffset":33,"endOffset":80,"count":6}],"isBlockCoverage":true},{"functionName":"add","ranges":[{"startOffset":84,"endOffset":361,"count":18},{"startOffset":139,"endOffset":174,"count":0},{"startOffset":211,"endOffset":244,"count":12},{"startOffset":245,"endOffset":278,"count":12},{"startOffset":280,"endOffset":341,"count":12}],"isBlockCoverage":true},{"functionName":"delete","ranges":[{"startOffset":365,"endOffset":583,"count":18},{"startOffset":423,"endOffset":563,"count":12},{"startOffset":483,"endOffset":521,"count":0}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":587,"endOffset":647,"count":72}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":651,"endOffset":756,"count":0}],"isBlockCoverage":false}]},{"scriptId":"359","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":249,"count":1}],"isBlockCoverage":true}]},{"scriptId":"360","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/describe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5965,"count":1}],"isBlockCoverage":true},{"functionName":"describePrimitive","ranges":[{"startOffset":2448,"endOffset":2957,"count":88},{"startOffset":2507,"endOffset":2534,"count":0},{"startOffset":2562,"endOffset":2594,"count":0},{"startOffset":2636,"endOffset":2671,"count":0},{"startOffset":2726,"endOffset":2760,"count":0},{"startOffset":2786,"endOffset":2820,"count":18},{"startOffset":2820,"endOffset":2846,"count":70},{"startOffset":2846,"endOffset":2880,"count":58},{"startOffset":2880,"endOffset":2906,"count":12},{"startOffset":2906,"endOffset":2940,"count":0},{"startOffset":2940,"endOffset":2956,"count":12}],"isBlockCoverage":true},{"functionName":"unboxComplex","ranges":[{"startOffset":2959,"endOffset":3324,"count":12},{"startOffset":3272,"endOffset":3303,"count":0}],"isBlockCoverage":true},{"functionName":"registerPlugins","ranges":[{"startOffset":3326,"endOffset":3726,"count":6},{"startOffset":3393,"endOffset":3416,"count":0},{"startOffset":3435,"endOffset":3725,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3425,"endOffset":3435,"count":12}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3508,"endOffset":3724,"count":0}],"isBlockCoverage":false},{"functionName":"describeComplex","ranges":[{"startOffset":3728,"endOffset":4699,"count":12},{"startOffset":3875,"endOffset":3901,"count":0},{"startOffset":4173,"endOffset":4238,"count":0},{"startOffset":4321,"endOffset":4374,"count":0}],"isBlockCoverage":true},{"functionName":"describeItem","ranges":[{"startOffset":4722,"endOffset":4923,"count":14},{"startOffset":4802,"endOffset":4860,"count":8},{"startOffset":4865,"endOffset":4921,"count":6}],"isBlockCoverage":true},{"functionName":"describeMapEntry","ranges":[{"startOffset":4950,"endOffset":5058,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":5060,"endOffset":5938,"count":6},{"startOffset":5168,"endOffset":5184,"count":0}],"isBlockCoverage":true},{"functionName":"curriedComplex","ranges":[{"startOffset":5310,"endOffset":5435,"count":12}],"isBlockCoverage":true},{"functionName":"describeAny","ranges":[{"startOffset":5459,"endOffset":5595,"count":48},{"startOffset":5551,"endOffset":5563,"count":42},{"startOffset":5570,"endOffset":5591,"count":6}],"isBlockCoverage":true},{"functionName":"describeProperty","ranges":[{"startOffset":5624,"endOffset":5904,"count":34},{"startOffset":5832,"endOffset":5900,"count":0}],"isBlockCoverage":true}]},{"scriptId":"361","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Registry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"Registry","ranges":[{"startOffset":33,"endOffset":103,"count":6}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":107,"endOffset":155,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":159,"endOffset":218,"count":0}],"isBlockCoverage":false},{"functionName":"alloc","ranges":[{"startOffset":222,"endOffset":374,"count":12}],"isBlockCoverage":true}]},{"scriptId":"362","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":409,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":652,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1160,"endOffset":1382,"count":0}],"isBlockCoverage":false}]},{"scriptId":"363","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7185,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":436,"endOffset":713,"count":12},{"startOffset":677,"endOffset":697,"count":6}],"isBlockCoverage":true},{"functionName":"deserialize","ranges":[{"startOffset":743,"endOffset":839,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectValue","ranges":[{"startOffset":950,"endOffset":1203,"count":12}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":1207,"endOffset":1399,"count":9},{"startOffset":1263,"endOffset":1277,"count":0},{"startOffset":1356,"endOffset":1370,"count":0}],"isBlockCoverage":true},{"functionName":"hasSameCtor","ranges":[{"startOffset":1403,"endOffset":1470,"count":9}],"isBlockCoverage":true},{"functionName":"formatShallow","ranges":[{"startOffset":1474,"endOffset":1561,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1565,"endOffset":1699,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":2001,"endOffset":6371,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2068,"endOffset":2433,"count":12}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":2439,"endOffset":2563,"count":9},{"startOffset":2511,"endOffset":2523,"count":0}],"isBlockCoverage":true},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2569,"endOffset":3030,"count":12},{"startOffset":2660,"endOffset":2679,"count":6},{"startOffset":2680,"endOffset":2683,"count":6},{"startOffset":2742,"endOffset":3029,"count":6}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":2817,"endOffset":2995,"count":40},{"startOffset":2853,"endOffset":2864,"count":6},{"startOffset":2864,"endOffset":2994,"count":34}],"isBlockCoverage":true},{"functionName":"createListRecursor","ranges":[{"startOffset":3036,"endOffset":3472,"count":12},{"startOffset":3084,"endOffset":3179,"count":6},{"startOffset":3179,"endOffset":3213,"count":0},{"startOffset":3213,"endOffset":3471,"count":6}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":3254,"endOffset":3437,"count":20},{"startOffset":3290,"endOffset":3301,"count":6},{"startOffset":3301,"endOffset":3436,"count":14}],"isBlockCoverage":true},{"functionName":"createIterableRecursor","ranges":[{"startOffset":3478,"endOffset":4494,"count":12},{"startOffset":3529,"endOffset":3548,"count":6},{"startOffset":3584,"endOffset":4493,"count":0}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":3917,"endOffset":4459,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":4500,"endOffset":6365,"count":12}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4661,"endOffset":6359,"count":72},{"startOffset":4706,"endOffset":6283,"count":96},{"startOffset":4741,"endOffset":4870,"count":84},{"startOffset":4813,"endOffset":4858,"count":36},{"startOffset":4907,"endOffset":4967,"count":48},{"startOffset":4925,"endOffset":4945,"count":36},{"startOffset":4946,"endOffset":4966,"count":24},{"startOffset":4969,"endOffset":6273,"count":36},{"startOffset":5044,"endOffset":5417,"count":12},{"startOffset":5324,"endOffset":5403,"count":6},{"startOffset":5417,"endOffset":6261,"count":24},{"startOffset":5446,"endOffset":5839,"count":12},{"startOffset":5742,"endOffset":5825,"count":6},{"startOffset":5839,"endOffset":6261,"count":12},{"startOffset":6164,"endOffset":6247,"count":0},{"startOffset":6309,"endOffset":6327,"count":84}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5112,"endOffset":5143,"count":12}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5518,"endOffset":5553,"count":12}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5940,"endOffset":5975,"count":12}],"isBlockCoverage":true},{"functionName":"DeserializedMixin","ranges":[{"startOffset":6413,"endOffset":7138,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6483,"endOffset":6780,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":6786,"endOffset":7055,"count":0}],"isBlockCoverage":false},{"functionName":"hasSameCtor","ranges":[{"startOffset":7061,"endOffset":7132,"count":0}],"isBlockCoverage":false}]},{"scriptId":"364","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/formatUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3260,"count":1}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":60,"endOffset":146,"count":0}],"isBlockCoverage":false},{"functionName":"formatCtorAndStringTag","ranges":[{"startOffset":168,"endOffset":537,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectFormatter","ranges":[{"startOffset":621,"endOffset":840,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":844,"endOffset":1189,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":1193,"endOffset":1873,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":1877,"endOffset":2161,"count":0}],"isBlockCoverage":false},{"functionName":"shouldFormat","ranges":[{"startOffset":2165,"endOffset":2202,"count":0}],"isBlockCoverage":false},{"functionName":"customize","ranges":[{"startOffset":2206,"endOffset":2502,"count":0}],"isBlockCoverage":false},{"functionName":"SingleValueFormatter","ranges":[{"startOffset":2579,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2790,"endOffset":2961,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":2965,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":3120,"endOffset":3205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"365","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/lineBuilder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7155,"count":1}],"isBlockCoverage":true},{"functionName":"translateGutter","ranges":[{"startOffset":123,"endOffset":485,"count":0}],"isBlockCoverage":false},{"functionName":"Line","ranges":[{"startOffset":502,"endOffset":670,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":674,"endOffset":717,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":721,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":762,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":820,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":884,"endOffset":934,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":938,"endOffset":1027,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":1031,"endOffset":1202,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":1206,"endOffset":1479,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":1483,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":1634,"endOffset":1783,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":1787,"endOffset":1871,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":1875,"endOffset":1960,"count":0}],"isBlockCoverage":false},{"functionName":"Collection","ranges":[{"startOffset":2050,"endOffset":2091,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2095,"endOffset":2217,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":2221,"endOffset":2277,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":2281,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":2399,"endOffset":2526,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2530,"endOffset":2632,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":2636,"endOffset":2725,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2729,"endOffset":3536,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":3540,"endOffset":4287,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":4291,"endOffset":4423,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":4427,"endOffset":4561,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":4565,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":4675,"endOffset":5381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":5462,"endOffset":5708,"count":0}],"isBlockCoverage":false},{"functionName":"buffer","ranges":[{"startOffset":5731,"endOffset":5774,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":5779,"endOffset":5856,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":5861,"endOffset":5937,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":5942,"endOffset":6019,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6024,"endOffset":6101,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6106,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6194,"endOffset":6277,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6284,"endOffset":6366,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6373,"endOffset":6456,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6463,"endOffset":6546,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6553,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6678,"endOffset":6763,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6770,"endOffset":6854,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6861,"endOffset":6946,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6953,"endOffset":7038,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":7045,"endOffset":7146,"count":0}],"isBlockCoverage":false}]},{"scriptId":"366","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getObjectKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":964,"count":1}],"isBlockCoverage":true},{"functionName":"getObjectKeys","ranges":[{"startOffset":14,"endOffset":932,"count":12},{"startOffset":430,"endOffset":756,"count":54},{"startOffset":503,"endOffset":644,"count":20},{"startOffset":578,"endOffset":590,"count":14},{"startOffset":591,"endOffset":638,"count":14},{"startOffset":661,"endOffset":717,"count":40},{"startOffset":719,"endOffset":752,"count":34},{"startOffset":799,"endOffset":905,"count":0}],"isBlockCoverage":true}]},{"scriptId":"367","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/hasLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":303,"count":1}],"isBlockCoverage":true},{"functionName":"hasLength","ranges":[{"startOffset":104,"endOffset":275,"count":6},{"startOffset":197,"endOffset":226,"count":0},{"startOffset":227,"endOffset":268,"count":0}],"isBlockCoverage":true}]},{"scriptId":"368","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":802,"count":1}],"isBlockCoverage":true},{"functionName":"isLength","ranges":[{"startOffset":645,"endOffset":773,"count":0}],"isBlockCoverage":false}]},{"scriptId":"369","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/stats.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3836,"count":1}],"isBlockCoverage":true},{"functionName":"describeIterableRecursor","ranges":[{"startOffset":228,"endOffset":318,"count":0}],"isBlockCoverage":false},{"functionName":"describeListRecursor","ranges":[{"startOffset":380,"endOffset":462,"count":6}],"isBlockCoverage":true},{"functionName":"describePropertyRecursor","ranges":[{"startOffset":516,"endOffset":606,"count":6}],"isBlockCoverage":true},{"functionName":"deserializeIterableStats","ranges":[{"startOffset":668,"endOffset":745,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeListStats","ranges":[{"startOffset":807,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePropertyStats","ranges":[{"startOffset":930,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":1306,"endOffset":1351,"count":12}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":1355,"endOffset":1432,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1436,"endOffset":2989,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2993,"endOffset":3032,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3141,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3387,"endOffset":3513,"count":3},{"startOffset":3500,"endOffset":3509,"count":0}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":3625,"endOffset":3755,"count":3},{"startOffset":3742,"endOffset":3751,"count":0}],"isBlockCoverage":true}]},{"scriptId":"370","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/recursorUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2251,"count":1}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":51,"endOffset":74,"count":24}],"isBlockCoverage":true},{"functionName":"fork","ranges":[{"startOffset":117,"endOffset":396,"count":0}],"isBlockCoverage":false},{"functionName":"consumeDeep","ranges":[{"startOffset":418,"endOffset":732,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":768,"endOffset":910,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":930,"endOffset":1606,"count":36},{"startOffset":1046,"endOffset":1076,"count":24},{"startOffset":1076,"endOffset":1179,"count":12},{"startOffset":1216,"endOffset":1249,"count":24},{"startOffset":1249,"endOffset":1605,"count":12}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":1301,"endOffset":1546,"count":60},{"startOffset":1323,"endOffset":1334,"count":0},{"startOffset":1499,"endOffset":1524,"count":12}],"isBlockCoverage":true},{"functionName":"sequence","ranges":[{"startOffset":1632,"endOffset":1850,"count":0}],"isBlockCoverage":false},{"functionName":"singleValue","ranges":[{"startOffset":1880,"endOffset":2012,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1939,"endOffset":2010,"count":12},{"startOffset":1961,"endOffset":2009,"count":6}],"isBlockCoverage":true},{"functionName":"unshift","ranges":[{"startOffset":2048,"endOffset":2224,"count":0}],"isBlockCoverage":false}]},{"scriptId":"371","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":970,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":313,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":343,"endOffset":444,"count":0}],"isBlockCoverage":false}]},{"scriptId":"372","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/typedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4439,"count":1}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":382,"endOffset":596,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":628,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":910,"endOffset":1010,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeBytes","ranges":[{"startOffset":1046,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"Bytes","ranges":[{"startOffset":1292,"endOffset":1343,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1347,"endOffset":1482,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1486,"endOffset":2297,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2301,"endOffset":2342,"count":0}],"isBlockCoverage":false},{"functionName":"TypedArrayValue","ranges":[{"startOffset":2466,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":2543,"endOffset":2931,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":3049,"endOffset":3869,"count":3}],"isBlockCoverage":true},{"functionName":"createListRecursor","ranges":[{"startOffset":3237,"endOffset":3307,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":3313,"endOffset":3749,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":3755,"endOffset":3863,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMixin","ranges":[{"startOffset":3977,"endOffset":4320,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4073,"endOffset":4314,"count":0}],"isBlockCoverage":false}]},{"scriptId":"373","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/boxed.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1292,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":264,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedBoxedValue","ranges":[{"startOffset":634,"endOffset":709,"count":0}],"isBlockCoverage":false},{"functionName":"createListRecursor","ranges":[{"startOffset":713,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":783,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1126,"endOffset":1220,"count":0}],"isBlockCoverage":false}]},{"scriptId":"374","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11430,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":306,"endOffset":367,"count":58}],"isBlockCoverage":true},{"functionName":"basicEscape","ranges":[{"startOffset":707,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"escapeLinebreak","ranges":[{"startOffset":1015,"endOffset":1219,"count":0}],"isBlockCoverage":false},{"functionName":"themeControlPictures","ranges":[{"startOffset":1221,"endOffset":1442,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuotes","ranges":[{"startOffset":1537,"endOffset":1834,"count":0}],"isBlockCoverage":false},{"functionName":"includesLinebreaks","ranges":[{"startOffset":1836,"endOffset":1932,"count":0}],"isBlockCoverage":false},{"functionName":"diffLine","ranges":[{"startOffset":1934,"endOffset":3826,"count":0}],"isBlockCoverage":false},{"functionName":"gatherLines","ranges":[{"startOffset":3862,"endOffset":4170,"count":0}],"isBlockCoverage":false},{"functionName":"StringValue","ranges":[{"startOffset":4194,"endOffset":4242,"count":58}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":4246,"endOffset":4370,"count":29},{"startOffset":4357,"endOffset":4366,"count":0}],"isBlockCoverage":true},{"functionName":"get includesLinebreaks","ranges":[{"startOffset":4374,"endOffset":4447,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4451,"endOffset":5422,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":5426,"endOffset":5800,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5804,"endOffset":11238,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":11242,"endOffset":11282,"count":0}],"isBlockCoverage":false}]},{"scriptId":"375","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1334,"endOffset":1486,"count":1}],"isBlockCoverage":true}]},{"scriptId":"376","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/ast.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4728,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":4687,"count":1}],"isBlockCoverage":true},{"functionName":"isExpression","ranges":[{"startOffset":1370,"endOffset":2121,"count":0}],"isBlockCoverage":false},{"functionName":"isIterationStatement","ranges":[{"startOffset":2127,"endOffset":2444,"count":0}],"isBlockCoverage":false},{"functionName":"isStatement","ranges":[{"startOffset":2450,"endOffset":3262,"count":0}],"isBlockCoverage":false},{"functionName":"isSourceElement","ranges":[{"startOffset":3268,"endOffset":3393,"count":0}],"isBlockCoverage":false},{"functionName":"trailingStatement","ranges":[{"startOffset":3399,"endOffset":3843,"count":0}],"isBlockCoverage":false},{"functionName":"isProblematicIfStatement","ranges":[{"startOffset":3849,"endOffset":4384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"377","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/code.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29610,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1391,"endOffset":29569,"count":1},{"startOffset":27989,"endOffset":28199,"count":128},{"startOffset":28045,"endOffset":28058,"count":31},{"startOffset":28059,"endOffset":28107,"count":102},{"startOffset":28094,"endOffset":28107,"count":37},{"startOffset":28108,"endOffset":28143,"count":76},{"startOffset":28144,"endOffset":28158,"count":75},{"startOffset":28273,"endOffset":28531,"count":128},{"startOffset":28328,"endOffset":28341,"count":31},{"startOffset":28342,"endOffset":28390,"count":102},{"startOffset":28377,"endOffset":28390,"count":37},{"startOffset":28391,"endOffset":28439,"count":76},{"startOffset":28426,"endOffset":28439,"count":28},{"startOffset":28440,"endOffset":28475,"count":66},{"startOffset":28476,"endOffset":28490,"count":65}],"isBlockCoverage":true},{"functionName":"isDecimalDigit","ranges":[{"startOffset":26641,"endOffset":26726,"count":0}],"isBlockCoverage":false},{"functionName":"isHexDigit","ranges":[{"startOffset":26732,"endOffset":26919,"count":0}],"isBlockCoverage":false},{"functionName":"isOctalDigit","ranges":[{"startOffset":26925,"endOffset":27008,"count":0}],"isBlockCoverage":false},{"functionName":"isWhiteSpace","ranges":[{"startOffset":27243,"endOffset":27434,"count":0}],"isBlockCoverage":false},{"functionName":"isLineTerminator","ranges":[{"startOffset":27469,"endOffset":27583,"count":0}],"isBlockCoverage":false},{"functionName":"fromCodePoint","ranges":[{"startOffset":27634,"endOffset":27914,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES5","ranges":[{"startOffset":28537,"endOffset":28686,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES5","ranges":[{"startOffset":28692,"endOffset":28838,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES6","ranges":[{"startOffset":28844,"endOffset":28993,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES6","ranges":[{"startOffset":28999,"endOffset":29145,"count":0}],"isBlockCoverage":false}]},{"scriptId":"378","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/keyword.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5616,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":5575,"count":1}],"isBlockCoverage":true},{"functionName":"isStrictModeReservedWordES6","ranges":[{"startOffset":1405,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES5","ranges":[{"startOffset":1752,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES6","ranges":[{"startOffset":1990,"endOffset":3218,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES5","ranges":[{"startOffset":3224,"endOffset":3363,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES6","ranges":[{"startOffset":3369,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"isRestrictedWord","ranges":[{"startOffset":3514,"endOffset":3603,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES5","ranges":[{"startOffset":3609,"endOffset":4045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeUtf16","ranges":[{"startOffset":4051,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES6","ranges":[{"startOffset":4167,"endOffset":4903,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES5","ranges":[{"startOffset":4909,"endOffset":5027,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES6","ranges":[{"startOffset":5033,"endOffset":5151,"count":0}],"isBlockCoverage":false}]},{"scriptId":"379","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-diff/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":38838,"count":1}],"isBlockCoverage":true},{"functionName":"diff_main","ranges":[{"startOffset":1622,"endOffset":2855,"count":0}],"isBlockCoverage":false},{"functionName":"diff_compute_","ranges":[{"startOffset":3117,"endOffset":4721,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisect_","ranges":[{"startOffset":5070,"endOffset":8602,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisectSplit_","ranges":[{"startOffset":8946,"endOffset":9292,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonPrefix","ranges":[{"startOffset":9516,"endOffset":10360,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonOverlap_","ranges":[{"startOffset":10654,"endOffset":11835,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonSuffix","ranges":[{"startOffset":12050,"endOffset":12955,"count":0}],"isBlockCoverage":false},{"functionName":"diff_halfMatch_","ranges":[{"startOffset":13397,"endOffset":16552,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemantic","ranges":[{"startOffset":16712,"endOffset":21136,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemanticLossless","ranges":[{"startOffset":21599,"endOffset":25878,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupMerge","ranges":[{"startOffset":26143,"endOffset":33884,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_start","ranges":[{"startOffset":33886,"endOffset":33983,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_end","ranges":[{"startOffset":33985,"endOffset":34080,"count":0}],"isBlockCoverage":false},{"functionName":"starts_with_pair_end","ranges":[{"startOffset":34082,"endOffset":34171,"count":0}],"isBlockCoverage":false},{"functionName":"ends_with_pair_start","ranges":[{"startOffset":34173,"endOffset":34277,"count":0}],"isBlockCoverage":false},{"functionName":"remove_empty_tuples","ranges":[{"startOffset":34279,"endOffset":34465,"count":0}],"isBlockCoverage":false},{"functionName":"make_edit_splice","ranges":[{"startOffset":34467,"endOffset":34771,"count":0}],"isBlockCoverage":false},{"functionName":"find_cursor_edit_diff","ranges":[{"startOffset":34773,"endOffset":38521,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":38523,"endOffset":38733,"count":0}],"isBlockCoverage":false}]},{"scriptId":"380","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/dataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":949,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":319,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":349,"endOffset":447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"381","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/date.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2613,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":304,"endOffset":471,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":501,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"formatDate","ranges":[{"startOffset":682,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"DateValue","ranges":[{"startOffset":993,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1072,"endOffset":1333,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1337,"endOffset":2118,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2122,"endOffset":2253,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedDateValue","ranges":[{"startOffset":2460,"endOffset":2610,"count":0}],"isBlockCoverage":false}]},{"scriptId":"382","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/date-time/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":831,"count":1}],"isBlockCoverage":true},{"functionName":"dateTime","ranges":[{"startOffset":71,"endOffset":718,"count":0}],"isBlockCoverage":false}]},{"scriptId":"383","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/time-zone/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":343,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"384","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3605,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":331,"endOffset":608,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":638,"endOffset":733,"count":0}],"isBlockCoverage":false},{"functionName":"ErrorValue","ranges":[{"startOffset":869,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":942,"endOffset":1082,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1086,"endOffset":2193,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2197,"endOffset":2257,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedErrorValue","ranges":[{"startOffset":2400,"endOffset":2583,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2587,"endOffset":3430,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedErrorValue","ranges":[{"startOffset":3512,"endOffset":3602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"385","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/isEnumerable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":171,"count":1}],"isBlockCoverage":true},{"functionName":"isEnumerable","ranges":[{"startOffset":14,"endOffset":140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"386","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3272,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":377,"endOffset":600,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":630,"endOffset":728,"count":0}],"isBlockCoverage":false},{"functionName":"FunctionValue","ranges":[{"startOffset":870,"endOffset":939,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":943,"endOffset":1706,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedFunctionValue","ranges":[{"startOffset":1858,"endOffset":1951,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1955,"endOffset":2203,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2207,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2749,"endOffset":2809,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedFunctionValue","ranges":[{"startOffset":2897,"endOffset":2987,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2991,"endOffset":3205,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3209,"endOffset":3269,"count":0}],"isBlockCoverage":false}]},{"scriptId":"387","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":822,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":275,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":412,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":512,"endOffset":676,"count":0}],"isBlockCoverage":false}]},{"scriptId":"388","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1845,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"MapValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1028,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1032,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1229,"endOffset":1674,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMapValue","ranges":[{"startOffset":1752,"endOffset":1842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"389","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1054,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":167,"endOffset":238,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":268,"endOffset":345,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":630,"endOffset":830,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":916,"endOffset":1051,"count":0}],"isBlockCoverage":false}]},{"scriptId":"390","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2733,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":219,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":432,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"getSortedFlags","ranges":[{"startOffset":617,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"RegexpValue","ranges":[{"startOffset":824,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":930,"endOffset":1107,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1111,"endOffset":2317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2321,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedRegexpValue","ranges":[{"startOffset":2612,"endOffset":2730,"count":0}],"isBlockCoverage":false}]},{"scriptId":"391","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1815,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"SetValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1030,"endOffset":1090,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1227,"endOffset":1644,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSetValue","ranges":[{"startOffset":1722,"endOffset":1812,"count":0}],"isBlockCoverage":false}]},{"scriptId":"392","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getCtor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1275,"count":1}],"isBlockCoverage":true},{"functionName":"getCtor","ranges":[{"startOffset":59,"endOffset":1249,"count":12},{"startOffset":234,"endOffset":240,"count":0},{"startOffset":244,"endOffset":1248,"count":0}],"isBlockCoverage":true}]},{"scriptId":"393","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getStringTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":721,"count":1},{"startOffset":467,"endOffset":720,"count":0}],"isBlockCoverage":true},{"functionName":"getStringTag","ranges":[{"startOffset":51,"endOffset":121,"count":13}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":225,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"getStringTagWithPromiseWorkaround","ranges":[{"startOffset":519,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"394","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/item.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7816,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":228,"endOffset":310,"count":6}],"isBlockCoverage":true},{"functionName":"deserializeComplex","ranges":[{"startOffset":354,"endOffset":469,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":519,"endOffset":605,"count":8}],"isBlockCoverage":true},{"functionName":"deserializePrimitive","ranges":[{"startOffset":653,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexItem","ranges":[{"startOffset":1017,"endOffset":1095,"count":6}],"isBlockCoverage":true},{"functionName":"createRecursor","ranges":[{"startOffset":1099,"endOffset":1171,"count":6}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":1175,"endOffset":1330,"count":3},{"startOffset":1317,"endOffset":1326,"count":0}],"isBlockCoverage":true},{"functionName":"formatShallow","ranges":[{"startOffset":1334,"endOffset":1719,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1723,"endOffset":4317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":4321,"endOffset":4361,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveItem","ranges":[{"startOffset":4536,"endOffset":4614,"count":8}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":4618,"endOffset":4775,"count":4},{"startOffset":4762,"endOffset":4771,"count":0}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":4779,"endOffset":5334,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":5338,"endOffset":6853,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":6857,"endOffset":7602,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7606,"endOffset":7660,"count":0}],"isBlockCoverage":false}]},{"scriptId":"395","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/mapEntry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7305,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":318,"endOffset":585,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":615,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithKey","ranges":[{"startOffset":974,"endOffset":1422,"count":0}],"isBlockCoverage":false},{"functionName":"MapEntry","ranges":[{"startOffset":1443,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1639,"endOffset":1916,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1920,"endOffset":2399,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":2403,"endOffset":3004,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3008,"endOffset":3349,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":3353,"endOffset":4200,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":4204,"endOffset":7086,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7090,"endOffset":7164,"count":0}],"isBlockCoverage":false}]},{"scriptId":"396","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/themeUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5251,"count":1}],"isBlockCoverage":true},{"functionName":"freezeTheme","ranges":[{"startOffset":151,"endOffset":490,"count":1},{"startOffset":233,"endOffset":472,"count":42},{"startOffset":338,"endOffset":468,"count":120},{"startOffset":397,"endOffset":425,"count":118},{"startOffset":427,"endOffset":462,"count":41}],"isBlockCoverage":true},{"functionName":"normalizePlugins","ranges":[{"startOffset":2413,"endOffset":3165,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":3205,"endOffset":4082,"count":0}],"isBlockCoverage":false},{"functionName":"addModifier","ranges":[{"startOffset":4146,"endOffset":4338,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiers","ranges":[{"startOffset":4446,"endOffset":5020,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiersToOriginal","ranges":[{"startOffset":5062,"endOffset":5190,"count":0}],"isBlockCoverage":false}]},{"scriptId":"397","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/cloneDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":679,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDeep","ranges":[{"startOffset":555,"endOffset":649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"398","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseClone.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5609,"count":1}],"isBlockCoverage":true},{"functionName":"baseClone","ranges":[{"startOffset":3399,"endOffset":5579,"count":0}],"isBlockCoverage":false}]},{"scriptId":"399","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Stack.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":734,"count":1}],"isBlockCoverage":true},{"functionName":"Stack","ranges":[{"startOffset":402,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"400","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_ListCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"ListCache","ranges":[{"startOffset":376,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"401","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":218,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheClear","ranges":[{"startOffset":115,"endOffset":183,"count":0}],"isBlockCoverage":false}]},{"scriptId":"402","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":775,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheDelete","ranges":[{"startOffset":440,"endOffset":739,"count":0}],"isBlockCoverage":false}]},{"scriptId":"403","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assocIndexOf.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":487,"count":1}],"isBlockCoverage":true},{"functionName":"assocIndexOf","ranges":[{"startOffset":286,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"404","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":799,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":681,"endOffset":776,"count":0}],"isBlockCoverage":false}]},{"scriptId":"405","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":420,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheGet","ranges":[{"startOffset":240,"endOffset":387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"406","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheHas","ranges":[{"startOffset":292,"endOffset":370,"count":0}],"isBlockCoverage":false}]},{"scriptId":"407","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":553,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheSet","ranges":[{"startOffset":292,"endOffset":520,"count":0}],"isBlockCoverage":false}]},{"scriptId":"408","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":254,"count":1}],"isBlockCoverage":true},{"functionName":"stackClear","ranges":[{"startOffset":148,"endOffset":223,"count":0}],"isBlockCoverage":false}]},{"scriptId":"409","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":405,"count":1}],"isBlockCoverage":true},{"functionName":"stackDelete","ranges":[{"startOffset":237,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"410","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":271,"count":1}],"isBlockCoverage":true},{"functionName":"stackGet","ranges":[{"startOffset":183,"endOffset":242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"411","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":323,"count":1}],"isBlockCoverage":true},{"functionName":"stackHas","ranges":[{"startOffset":235,"endOffset":294,"count":0}],"isBlockCoverage":false}]},{"scriptId":"412","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":853,"count":1}],"isBlockCoverage":true},{"functionName":"stackSet","ranges":[{"startOffset":436,"endOffset":824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"413","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"414","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"getNative","ranges":[{"startOffset":331,"endOffset":453,"count":7},{"startOffset":439,"endOffset":450,"count":0}],"isBlockCoverage":true}]},{"scriptId":"415","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1417,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsNative","ranges":[{"startOffset":1182,"endOffset":1384,"count":7},{"startOffset":1256,"endOffset":1279,"count":0},{"startOffset":1327,"endOffset":1341,"count":0}],"isBlockCoverage":true}]},{"scriptId":"416","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isFunction.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":993,"count":1}],"isBlockCoverage":true},{"functionName":"isFunction","ranges":[{"startOffset":617,"endOffset":962,"count":7},{"startOffset":670,"endOffset":693,"count":0},{"startOffset":905,"endOffset":921,"count":0},{"startOffset":922,"endOffset":940,"count":0},{"startOffset":941,"endOffset":959,"count":0}],"isBlockCoverage":true}]},{"scriptId":"417","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":792,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true},{"functionName":"baseGetTag","ranges":[{"startOffset":534,"endOffset":761,"count":13},{"startOffset":584,"endOffset":646,"count":0},{"startOffset":712,"endOffset":730,"count":5},{"startOffset":735,"endOffset":758,"count":8}],"isBlockCoverage":true}]},{"scriptId":"418","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true}]},{"scriptId":"419","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_root.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":300,"count":1},{"startOffset":119,"endOffset":126,"count":0},{"startOffset":127,"endOffset":152,"count":0},{"startOffset":153,"endOffset":160,"count":0},{"startOffset":234,"endOffset":245,"count":0},{"startOffset":246,"endOffset":274,"count":0}],"isBlockCoverage":true}]},{"scriptId":"420","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_freeGlobal.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":173,"count":1}],"isBlockCoverage":true}]},{"scriptId":"421","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getRawTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1139,"count":1},{"startOffset":488,"endOffset":499,"count":0}],"isBlockCoverage":true},{"functionName":"getRawTag","ranges":[{"startOffset":701,"endOffset":1109,"count":5},{"startOffset":899,"endOffset":911,"count":0},{"startOffset":995,"endOffset":1037,"count":0}],"isBlockCoverage":true}]},{"scriptId":"422","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_objectToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":565,"count":1}],"isBlockCoverage":true},{"functionName":"objectToString","ranges":[{"startOffset":453,"endOffset":530,"count":8}],"isBlockCoverage":true}]},{"scriptId":"423","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":733,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":581,"endOffset":704,"count":14}],"isBlockCoverage":true}]},{"scriptId":"424","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isMasked.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":564,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":116,"endOffset":268,"count":1},{"startOffset":166,"endOffset":184,"count":0},{"startOffset":185,"endOffset":212,"count":0},{"startOffset":234,"endOffset":260,"count":0}],"isBlockCoverage":true},{"functionName":"isMasked","ranges":[{"startOffset":461,"endOffset":535,"count":7},{"startOffset":509,"endOffset":532,"count":0}],"isBlockCoverage":true}]},{"scriptId":"425","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_coreJsData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":157,"count":1}],"isBlockCoverage":true}]},{"scriptId":"426","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_toSource.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":556,"count":1}],"isBlockCoverage":true},{"functionName":"toSource","ranges":[{"startOffset":339,"endOffset":527,"count":12},{"startOffset":441,"endOffset":508,"count":0},{"startOffset":512,"endOffset":526,"count":0}],"isBlockCoverage":true}]},{"scriptId":"427","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":325,"count":1}],"isBlockCoverage":true},{"functionName":"getValue","ranges":[{"startOffset":211,"endOffset":296,"count":7},{"startOffset":268,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"428","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_MapCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"MapCache","ranges":[{"startOffset":389,"endOffset":606,"count":0}],"isBlockCoverage":false}]},{"scriptId":"429","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":393,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheClear","ranges":[{"startOffset":209,"endOffset":359,"count":0}],"isBlockCoverage":false}]},{"scriptId":"430","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Hash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"Hash","ranges":[{"startOffset":319,"endOffset":532,"count":0}],"isBlockCoverage":false}]},{"scriptId":"431","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":281,"count":1}],"isBlockCoverage":true},{"functionName":"hashClear","ranges":[{"startOffset":152,"endOffset":251,"count":0}],"isBlockCoverage":false}]},{"scriptId":"432","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":187,"count":1}],"isBlockCoverage":true}]},{"scriptId":"433","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":445,"count":1}],"isBlockCoverage":true},{"functionName":"hashDelete","ranges":[{"startOffset":279,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"434","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"hashGet","ranges":[{"startOffset":513,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"435","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":626,"count":1}],"isBlockCoverage":true},{"functionName":"hashHas","ranges":[{"startOffset":461,"endOffset":598,"count":0}],"isBlockCoverage":false}]},{"scriptId":"436","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"hashSet","ranges":[{"startOffset":379,"endOffset":570,"count":0}],"isBlockCoverage":false}]},{"scriptId":"437","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheDelete","ranges":[{"startOffset":282,"endOffset":415,"count":0}],"isBlockCoverage":false}]},{"scriptId":"438","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getMapData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":400,"count":1}],"isBlockCoverage":true},{"functionName":"getMapData","ranges":[{"startOffset":214,"endOffset":369,"count":0}],"isBlockCoverage":false}]},{"scriptId":"439","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isKeyable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":430,"count":1}],"isBlockCoverage":true},{"functionName":"isKeyable","ranges":[{"startOffset":201,"endOffset":400,"count":0}],"isBlockCoverage":false}]},{"scriptId":"440","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":330,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheGet","ranges":[{"startOffset":228,"endOffset":298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"441","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheHas","ranges":[{"startOffset":280,"endOffset":350,"count":0}],"isBlockCoverage":false}]},{"scriptId":"442","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":489,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheSet","ranges":[{"startOffset":279,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"443","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayEach.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":537,"count":1}],"isBlockCoverage":true},{"functionName":"arrayEach","ranges":[{"startOffset":274,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"444","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":899,"count":1}],"isBlockCoverage":true},{"functionName":"assignValue","ranges":[{"startOffset":629,"endOffset":867,"count":0}],"isBlockCoverage":false}]},{"scriptId":"445","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":625,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignValue","ranges":[{"startOffset":314,"endOffset":589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"446","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_defineProperty.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":64,"endOffset":194,"count":1},{"startOffset":180,"endOffset":192,"count":0}],"isBlockCoverage":true}]},{"scriptId":"447","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssign.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssign","ranges":[{"startOffset":339,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"448","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1044,"count":1}],"isBlockCoverage":true},{"functionName":"copyObject","ranges":[{"startOffset":467,"endOffset":1013,"count":0}],"isBlockCoverage":false}]},{"scriptId":"449","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":884,"count":1}],"isBlockCoverage":true},{"functionName":"keys","ranges":[{"startOffset":761,"endOffset":859,"count":0}],"isBlockCoverage":false}]},{"scriptId":"450","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayLikeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1778,"count":1}],"isBlockCoverage":true},{"functionName":"arrayLikeKeys","ranges":[{"startOffset":697,"endOffset":1744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"451","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseTimes.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":504,"count":1}],"isBlockCoverage":true},{"functionName":"baseTimes","ranges":[{"startOffset":313,"endOffset":474,"count":0}],"isBlockCoverage":false}]},{"scriptId":"452","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1026,"count":1},{"startOffset":851,"endOffset":993,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":797,"endOffset":829,"count":1}],"isBlockCoverage":true},{"functionName":"isArguments","ranges":[{"startOffset":853,"endOffset":993,"count":0}],"isBlockCoverage":false}]},{"scriptId":"453","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsArguments","ranges":[{"startOffset":355,"endOffset":452,"count":1}],"isBlockCoverage":true}]},{"scriptId":"454","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObjectLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"isObjectLike","ranges":[{"startOffset":497,"endOffset":581,"count":1}],"isBlockCoverage":true}]},{"scriptId":"455","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true}]},{"scriptId":"456","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1114,"count":1},{"startOffset":548,"endOffset":559,"count":0},{"startOffset":697,"endOffset":708,"count":0},{"startOffset":1072,"endOffset":1084,"count":0}],"isBlockCoverage":true}]},{"scriptId":"457","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubFalse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":280,"count":1}],"isBlockCoverage":true},{"functionName":"stubFalse","ranges":[{"startOffset":210,"endOffset":250,"count":0}],"isBlockCoverage":false}]},{"scriptId":"458","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIndex.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":759,"count":1}],"isBlockCoverage":true},{"functionName":"isIndex","ranges":[{"startOffset":456,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"459","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":695,"count":1},{"startOffset":643,"endOffset":661,"count":0}],"isBlockCoverage":true}]},{"scriptId":"460","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2222,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsTypedArray","ranges":[{"startOffset":2050,"endOffset":2185,"count":0}],"isBlockCoverage":false}]},{"scriptId":"461","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseUnary.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":332,"count":1}],"isBlockCoverage":true},{"functionName":"baseUnary","ranges":[{"startOffset":218,"endOffset":302,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":254,"endOffset":299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"462","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nodeUtil.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":995,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":615,"endOffset":962,"count":1},{"startOffset":806,"endOffset":911,"count":0},{"startOffset":912,"endOffset":942,"count":0},{"startOffset":948,"endOffset":960,"count":0}],"isBlockCoverage":true}]},{"scriptId":"463","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":776,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeys","ranges":[{"startOffset":479,"endOffset":747,"count":0}],"isBlockCoverage":false}]},{"scriptId":"464","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":480,"count":1}],"isBlockCoverage":true},{"functionName":"isPrototype","ranges":[{"startOffset":273,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"465","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":204,"count":1}],"isBlockCoverage":true}]},{"scriptId":"466","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overArg.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"overArg","ranges":[{"startOffset":254,"endOffset":354,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":299,"endOffset":351,"count":0}],"isBlockCoverage":false}]},{"scriptId":"467","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":830,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLike","ranges":[{"startOffset":695,"endOffset":798,"count":0}],"isBlockCoverage":false}]},{"scriptId":"468","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":482,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignIn","ranges":[{"startOffset":345,"endOffset":449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"469","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":778,"count":1}],"isBlockCoverage":true},{"functionName":"keysIn","ranges":[{"startOffset":643,"endOffset":751,"count":0}],"isBlockCoverage":false}]},{"scriptId":"470","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":870,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeysIn","ranges":[{"startOffset":523,"endOffset":839,"count":0}],"isBlockCoverage":false}]},{"scriptId":"471","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":490,"count":1}],"isBlockCoverage":true},{"functionName":"nativeKeysIn","ranges":[{"startOffset":292,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"472","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1056,"count":1},{"startOffset":508,"endOffset":519,"count":0},{"startOffset":567,"endOffset":578,"count":0}],"isBlockCoverage":true},{"functionName":"cloneBuffer","ranges":[{"startOffset":783,"endOffset":1024,"count":0}],"isBlockCoverage":false}]},{"scriptId":"473","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"copyArray","ranges":[{"startOffset":219,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"474","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":446,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbols","ranges":[{"startOffset":317,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"475","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":886,"count":1},{"startOffset":624,"endOffset":635,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbols","ranges":[{"startOffset":638,"endOffset":854,"count":0}],"isBlockCoverage":false}]},{"scriptId":"476","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayFilter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":632,"count":1}],"isBlockCoverage":true},{"functionName":"arrayFilter","ranges":[{"startOffset":289,"endOffset":600,"count":0}],"isBlockCoverage":false}]},{"scriptId":"477","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":390,"count":1}],"isBlockCoverage":true},{"functionName":"stubArray","ranges":[{"startOffset":323,"endOffset":360,"count":0}],"isBlockCoverage":false}]},{"scriptId":"478","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbolsIn","ranges":[{"startOffset":335,"endOffset":436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"479","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":754,"count":1},{"startOffset":549,"endOffset":560,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbolsIn","ranges":[{"startOffset":563,"endOffset":720,"count":0}],"isBlockCoverage":false}]},{"scriptId":"480","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayPush.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":437,"count":1}],"isBlockCoverage":true},{"functionName":"arrayPush","ranges":[{"startOffset":200,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"481","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":163,"count":1}],"isBlockCoverage":true}]},{"scriptId":"482","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":455,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeys","ranges":[{"startOffset":342,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"483","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":739,"count":1}],"isBlockCoverage":true},{"functionName":"baseGetAllKeys","ranges":[{"startOffset":537,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"484","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeysIn","ranges":[{"startOffset":367,"endOffset":455,"count":0}],"isBlockCoverage":false}]},{"scriptId":"485","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1838,"count":1},{"startOffset":1296,"endOffset":1811,"count":0}],"isBlockCoverage":true},{"functionName":"getTag","ranges":[{"startOffset":1309,"endOffset":1808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"486","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_DataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true}]},{"scriptId":"487","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"488","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"489","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_WeakMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"490","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":692,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneArray","ranges":[{"startOffset":329,"endOffset":657,"count":0}],"isBlockCoverage":false}]},{"scriptId":"491","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneByTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2261,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneByTag","ranges":[{"startOffset":1454,"endOffset":2226,"count":0}],"isBlockCoverage":false}]},{"scriptId":"492","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneArrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":449,"count":1}],"isBlockCoverage":true},{"functionName":"cloneArrayBuffer","ranges":[{"startOffset":226,"endOffset":412,"count":0}],"isBlockCoverage":false}]},{"scriptId":"493","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Uint8Array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":130,"count":1}],"isBlockCoverage":true}]},{"scriptId":"494","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneDataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":507,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDataView","ranges":[{"startOffset":267,"endOffset":473,"count":0}],"isBlockCoverage":false}]},{"scriptId":"495","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneRegExp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":439,"count":1}],"isBlockCoverage":true},{"functionName":"cloneRegExp","ranges":[{"startOffset":243,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"496","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneSymbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":524,"count":1},{"startOffset":138,"endOffset":149,"count":0},{"startOffset":205,"endOffset":216,"count":0}],"isBlockCoverage":true},{"functionName":"cloneSymbol","ranges":[{"startOffset":394,"endOffset":492,"count":0}],"isBlockCoverage":false}]},{"scriptId":"497","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":527,"count":1}],"isBlockCoverage":true},{"functionName":"cloneTypedArray","ranges":[{"startOffset":275,"endOffset":491,"count":0}],"isBlockCoverage":false}]},{"scriptId":"498","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":486,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneObject","ranges":[{"startOffset":290,"endOffset":450,"count":0}],"isBlockCoverage":false}]},{"scriptId":"499","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":686,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":355,"endOffset":651,"count":1}],"isBlockCoverage":true},{"functionName":"object","ranges":[{"startOffset":370,"endOffset":390,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":400,"endOffset":648,"count":0}],"isBlockCoverage":false}]},{"scriptId":"500","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"501","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsMap","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"502","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"503","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsSet","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"504","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/merge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1220,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1115,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"505","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMerge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1328,"count":1}],"isBlockCoverage":true},{"functionName":"baseMerge","ranges":[{"startOffset":699,"endOffset":1298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"506","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignMergeValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"assignMergeValue","ranges":[{"startOffset":342,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"507","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"508","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createBaseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":648,"count":1}],"isBlockCoverage":true},{"functionName":"createBaseFor","ranges":[{"startOffset":217,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":262,"endOffset":611,"count":0}],"isBlockCoverage":false}]},{"scriptId":"509","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMergeDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3069,"count":1}],"isBlockCoverage":true},{"functionName":"baseMergeDeep","ranges":[{"startOffset":1316,"endOffset":3035,"count":0}],"isBlockCoverage":false}]},{"scriptId":"510","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLikeObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":742,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLikeObject","ranges":[{"startOffset":615,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"511","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1650,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":1229,"endOffset":1616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"512","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_safeGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":456,"count":1}],"isBlockCoverage":true},{"functionName":"safeGet","ranges":[{"startOffset":243,"endOffset":428,"count":0}],"isBlockCoverage":false}]},{"scriptId":"513","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/toPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":744,"count":1}],"isBlockCoverage":true},{"functionName":"toPlainObject","ranges":[{"startOffset":634,"endOffset":710,"count":0}],"isBlockCoverage":false}]},{"scriptId":"514","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createAssigner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1042,"count":1}],"isBlockCoverage":true},{"functionName":"createAssigner","ranges":[{"startOffset":272,"endOffset":1007,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":326,"endOffset":1003,"count":0}],"isBlockCoverage":false}]},{"scriptId":"515","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":559,"count":1}],"isBlockCoverage":true},{"functionName":"baseRest","ranges":[{"startOffset":430,"endOffset":530,"count":1}],"isBlockCoverage":true}]},{"scriptId":"516","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/identity.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"identity","ranges":[{"startOffset":297,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"517","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1096,"count":1}],"isBlockCoverage":true},{"functionName":"overRest","ranges":[{"startOffset":503,"endOffset":1067,"count":1},{"startOffset":607,"endOffset":614,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":629,"endOffset":1064,"count":0}],"isBlockCoverage":false}]},{"scriptId":"518","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_apply.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":714,"count":1}],"isBlockCoverage":true},{"functionName":"apply","ranges":[{"startOffset":374,"endOffset":688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"519","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_setToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":392,"count":1}],"isBlockCoverage":true}]},{"scriptId":"520","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseSetToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":641,"count":1},{"startOffset":412,"endOffset":422,"count":0}],"isBlockCoverage":true},{"functionName":"baseSetToString","ranges":[{"startOffset":425,"endOffset":604,"count":1}],"isBlockCoverage":true}]},{"scriptId":"521","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/constant.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":528,"count":1}],"isBlockCoverage":true},{"functionName":"constant","ranges":[{"startOffset":426,"endOffset":499,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":462,"endOffset":496,"count":0}],"isBlockCoverage":false}]},{"scriptId":"522","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_shortOut.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":941,"count":1}],"isBlockCoverage":true},{"functionName":"shortOut","ranges":[{"startOffset":534,"endOffset":912,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":609,"endOffset":909,"count":1},{"startOffset":752,"endOffset":830,"count":0}],"isBlockCoverage":true}]},{"scriptId":"523","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIterateeCall.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":877,"count":1}],"isBlockCoverage":true},{"functionName":"isIterateeCall","ranges":[{"startOffset":514,"endOffset":842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"524","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/pluginRegistry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6139,"count":1}],"isBlockCoverage":true},{"functionName":"PluginError","ranges":[{"startOffset":707,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"PluginTypeError","ranges":[{"startOffset":864,"endOffset":977,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedApiError","ranges":[{"startOffset":1031,"endOffset":1159,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedError","ranges":[{"startOffset":1210,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorTagError","ranges":[{"startOffset":1406,"endOffset":1596,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorIdError","ranges":[{"startOffset":1657,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":1949,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"modifyTheme","ranges":[{"startOffset":3525,"endOffset":3639,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":3641,"endOffset":5084,"count":0}],"isBlockCoverage":false},{"functionName":"getDeserializers","ranges":[{"startOffset":5104,"endOffset":5368,"count":0}],"isBlockCoverage":false},{"functionName":"getThemes","ranges":[{"startOffset":5414,"endOffset":5598,"count":0}],"isBlockCoverage":false},{"functionName":"getTryDescribeValues","ranges":[{"startOffset":5630,"endOffset":5734,"count":0}],"isBlockCoverage":false},{"functionName":"resolveDescriptorRef","ranges":[{"startOffset":5788,"endOffset":6086,"count":0}],"isBlockCoverage":false}]},{"scriptId":"525","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2616,"count":1}],"isBlockCoverage":true}]},{"scriptId":"526","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/re.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7690,"count":1}],"isBlockCoverage":true},{"functionName":"makeSafeRegex","ranges":[{"startOffset":950,"endOffset":1161,"count":40},{"startOffset":1015,"endOffset":1144,"count":120}],"isBlockCoverage":true},{"functionName":"createToken","ranges":[{"startOffset":1183,"endOffset":1459,"count":40},{"startOffset":1376,"endOffset":1381,"count":4},{"startOffset":1382,"endOffset":1393,"count":36},{"startOffset":1439,"endOffset":1444,"count":4},{"startOffset":1445,"endOffset":1456,"count":36}],"isBlockCoverage":true}]},{"scriptId":"527","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":859,"count":1},{"startOffset":233,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"528","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/debug.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":226,"count":1},{"startOffset":91,"endOffset":138,"count":0},{"startOffset":141,"endOffset":188,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":143,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"debug","ranges":[{"startOffset":193,"endOffset":201,"count":46}],"isBlockCoverage":true}]},{"scriptId":"529","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/semver.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8756,"count":1}],"isBlockCoverage":true},{"functionName":"SemVer","ranges":[{"startOffset":311,"endOffset":2238,"count":2},{"startOffset":416,"endOffset":621,"count":0},{"startOffset":660,"endOffset":761,"count":0},{"startOffset":800,"endOffset":900,"count":0},{"startOffset":1239,"endOffset":1252,"count":0},{"startOffset":1280,"endOffset":1344,"count":0},{"startOffset":1531,"endOffset":1589,"count":0},{"startOffset":1648,"endOffset":1706,"count":0},{"startOffset":1765,"endOffset":1823,"count":0},{"startOffset":1884,"endOffset":2170,"count":1},{"startOffset":2194,"endOffset":2211,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1970,"endOffset":2163,"count":1},{"startOffset":2137,"endOffset":2162,"count":0}],"isBlockCoverage":true},{"functionName":"format","ranges":[{"startOffset":2242,"endOffset":2438,"count":2},{"startOffset":2349,"endOffset":2410,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":2442,"endOffset":2483,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2487,"endOffset":2877,"count":0}],"isBlockCoverage":false},{"functionName":"compareMain","ranges":[{"startOffset":2881,"endOffset":3172,"count":0}],"isBlockCoverage":false},{"functionName":"comparePre","ranges":[{"startOffset":3176,"endOffset":4027,"count":0}],"isBlockCoverage":false},{"functionName":"compareBuild","ranges":[{"startOffset":4031,"endOffset":4573,"count":0}],"isBlockCoverage":false},{"functionName":"inc","ranges":[{"startOffset":4726,"endOffset":8728,"count":0}],"isBlockCoverage":false}]},{"scriptId":"530","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/parse-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":324,"count":1}],"isBlockCoverage":true},{"functionName":"parseOptions","ranges":[{"startOffset":153,"endOffset":293,"count":4},{"startOffset":208,"endOffset":292,"count":0}],"isBlockCoverage":true}]},{"scriptId":"531","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/identifiers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":410,"count":1}],"isBlockCoverage":true},{"functionName":"compareIdentifiers","ranges":[{"startOffset":54,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"rcompareIdentifiers","ranges":[{"startOffset":308,"endOffset":342,"count":0}],"isBlockCoverage":false}]},{"scriptId":"532","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":317,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":58,"endOffset":292,"count":0}],"isBlockCoverage":false}]},{"scriptId":"533","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":162,"count":1}],"isBlockCoverage":true},{"functionName":"valid","ranges":[{"startOffset":47,"endOffset":138,"count":0}],"isBlockCoverage":false}]},{"scriptId":"534","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/clean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":191,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":47,"endOffset":167,"count":0}],"isBlockCoverage":false}]},{"scriptId":"535","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/inc.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"inc","ranges":[{"startOffset":57,"endOffset":442,"count":0}],"isBlockCoverage":false}]},{"scriptId":"536","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1612,"count":1}],"isBlockCoverage":true},{"functionName":"diff","ranges":[{"startOffset":50,"endOffset":1588,"count":0}],"isBlockCoverage":false}]},{"scriptId":"537","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/major.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"major","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"538","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/minor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"minor","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"539","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/patch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"patch","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"540","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/prerelease.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":220,"count":1}],"isBlockCoverage":true},{"functionName":"prerelease","ranges":[{"startOffset":52,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"541","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":156,"count":1}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":60,"endOffset":129,"count":0}],"isBlockCoverage":false}]},{"scriptId":"542","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rcompare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"rcompare","ranges":[{"startOffset":54,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"543","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-loose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"compareLoose","ranges":[{"startOffset":58,"endOffset":87,"count":0}],"isBlockCoverage":false}]},{"scriptId":"544","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-build.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":267,"count":1}],"isBlockCoverage":true},{"functionName":"compareBuild","ranges":[{"startOffset":65,"endOffset":236,"count":0}],"isBlockCoverage":false}]},{"scriptId":"545","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/sort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":147,"count":1}],"isBlockCoverage":true},{"functionName":"sort","ranges":[{"startOffset":61,"endOffset":124,"count":0}],"isBlockCoverage":false}]},{"scriptId":"546","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rsort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":149,"count":1}],"isBlockCoverage":true},{"functionName":"rsort","ranges":[{"startOffset":62,"endOffset":125,"count":0}],"isBlockCoverage":false}]},{"scriptId":"547","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"gt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"548","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"lt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"549","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":112,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":48,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"550","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/neq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":114,"count":1}],"isBlockCoverage":true},{"functionName":"neq","ranges":[{"startOffset":49,"endOffset":92,"count":0}],"isBlockCoverage":false}]},{"scriptId":"551","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"gte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"552","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"lte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"553","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/cmp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":947,"count":1}],"isBlockCoverage":true},{"functionName":"cmp","ranges":[{"startOffset":181,"endOffset":925,"count":0}],"isBlockCoverage":false}]},{"scriptId":"554","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/coerce.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1513,"count":1}],"isBlockCoverage":true},{"functionName":"coerce","ranges":[{"startOffset":145,"endOffset":1488,"count":0}],"isBlockCoverage":false}]},{"scriptId":"555","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/comparator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3617,"count":1}],"isBlockCoverage":true},{"functionName":"get ANY","ranges":[{"startOffset":100,"endOffset":131,"count":2}],"isBlockCoverage":true},{"functionName":"Comparator","ranges":[{"startOffset":135,"endOffset":682,"count":2},{"startOffset":238,"endOffset":358,"count":0},{"startOffset":556,"endOffset":585,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":686,"endOffset":1182,"count":2},{"startOffset":734,"endOffset":757,"count":0},{"startOffset":818,"endOffset":882,"count":0},{"startOffset":930,"endOffset":934,"count":0},{"startOffset":966,"endOffset":998,"count":0},{"startOffset":1077,"endOffset":1108,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":1186,"endOffset":1225,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":1229,"endOffset":1609,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":1613,"endOffset":3323,"count":0}],"isBlockCoverage":false}]},{"scriptId":"556","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/range.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14514,"count":1}],"isBlockCoverage":true},{"functionName":"Range","ranges":[{"startOffset":55,"endOffset":2052,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2056,"endOffset":2197,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2201,"endOffset":2240,"count":0}],"isBlockCoverage":false},{"functionName":"parseRange","ranges":[{"startOffset":2244,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":4531,"endOffset":5161,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":5229,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"isNullSet","ranges":[{"startOffset":6111,"endOffset":6138,"count":0}],"isBlockCoverage":false},{"functionName":"isAny","ranges":[{"startOffset":6153,"endOffset":6172,"count":0}],"isBlockCoverage":false},{"functionName":"isSatisfiable","ranges":[{"startOffset":6294,"endOffset":6700,"count":0}],"isBlockCoverage":false},{"functionName":"parseComparator","ranges":[{"startOffset":6870,"endOffset":7183,"count":0}],"isBlockCoverage":false},{"functionName":"isX","ranges":[{"startOffset":7197,"endOffset":7248,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTildes","ranges":[{"startOffset":7584,"endOffset":7707,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTilde","ranges":[{"startOffset":7730,"endOffset":8404,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCarets","ranges":[{"startOffset":8697,"endOffset":8820,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCaret","ranges":[{"startOffset":8843,"endOffset":10145,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRanges","ranges":[{"startOffset":10170,"endOffset":10323,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRange","ranges":[{"startOffset":10347,"endOffset":12047,"count":0}],"isBlockCoverage":false},{"functionName":"replaceStars","ranges":[{"startOffset":12193,"endOffset":12378,"count":0}],"isBlockCoverage":false},{"functionName":"replaceGTE0","ranges":[{"startOffset":12400,"endOffset":12555,"count":0}],"isBlockCoverage":false},{"functionName":"hyphenReplace","ranges":[{"startOffset":12797,"endOffset":13471,"count":0}],"isBlockCoverage":false},{"functionName":"testSet","ranges":[{"startOffset":13489,"endOffset":14513,"count":0}],"isBlockCoverage":false}]},{"scriptId":"557","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lru-cache/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8186,"count":1}],"isBlockCoverage":true},{"functionName":"naiveLength","ranges":[{"startOffset":510,"endOffset":517,"count":0}],"isBlockCoverage":false},{"functionName":"LRUCache","ranges":[{"startOffset":853,"endOffset":1751,"count":1},{"startOffset":920,"endOffset":946,"count":0},{"startOffset":972,"endOffset":984,"count":0},{"startOffset":1069,"endOffset":1125,"count":0},{"startOffset":1235,"endOffset":1246,"count":0},{"startOffset":1350,"endOffset":1363,"count":0},{"startOffset":1439,"endOffset":1476,"count":0},{"startOffset":1484,"endOffset":1530,"count":0}],"isBlockCoverage":true},{"functionName":"set max","ranges":[{"startOffset":1799,"endOffset":1969,"count":0}],"isBlockCoverage":false},{"functionName":"get max","ranges":[{"startOffset":1972,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"set allowStale","ranges":[{"startOffset":2013,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"get allowStale","ranges":[{"startOffset":2086,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"set maxAge","ranges":[{"startOffset":2142,"endOffset":2300,"count":0}],"isBlockCoverage":false},{"functionName":"get maxAge","ranges":[{"startOffset":2303,"endOffset":2347,"count":0}],"isBlockCoverage":false},{"functionName":"set lengthCalculator","ranges":[{"startOffset":2408,"endOffset":2765,"count":0}],"isBlockCoverage":false},{"functionName":"get lengthCalculator","ranges":[{"startOffset":2768,"endOffset":2826,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":2830,"endOffset":2867,"count":0}],"isBlockCoverage":false},{"functionName":"get itemCount","ranges":[{"startOffset":2870,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"rforEach","ranges":[{"startOffset":2923,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":3142,"endOffset":3356,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":3360,"endOffset":3425,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":3429,"endOffset":3498,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":3502,"endOffset":3858,"count":1},{"startOffset":3535,"endOffset":3560,"count":0},{"startOffset":3561,"endOffset":3593,"count":0},{"startOffset":3595,"endOffset":3673,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3626,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"dump","ranges":[{"startOffset":3862,"endOffset":4064,"count":0}],"isBlockCoverage":false},{"functionName":"dumpLru","ranges":[{"startOffset":4068,"endOffset":4110,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4114,"endOffset":5376,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":5380,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5517,"endOffset":5564,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":5568,"endOffset":5617,"count":0}],"isBlockCoverage":false},{"functionName":"pop","ranges":[{"startOffset":5621,"endOffset":5746,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":5750,"endOffset":5801,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5805,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"prune","ranges":[{"startOffset":6382,"endOffset":6459,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6475,"endOffset":6871,"count":0}],"isBlockCoverage":false},{"functionName":"isStale","ranges":[{"startOffset":6889,"endOffset":7094,"count":0}],"isBlockCoverage":false},{"functionName":"trim","ranges":[{"startOffset":7109,"endOffset":7497,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":7511,"endOffset":7738,"count":0}],"isBlockCoverage":false},{"functionName":"Entry","ranges":[{"startOffset":7756,"endOffset":7923,"count":0}],"isBlockCoverage":false},{"functionName":"forEachStep","ranges":[{"startOffset":7947,"endOffset":8158,"count":0}],"isBlockCoverage":false}]},{"scriptId":"558","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/yallist.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8411,"count":1},{"startOffset":8397,"endOffset":8410,"count":0}],"isBlockCoverage":true},{"functionName":"Yallist","ranges":[{"startOffset":85,"endOffset":517,"count":1},{"startOffset":163,"endOffset":193,"count":0},{"startOffset":263,"endOffset":300,"count":0},{"startOffset":302,"endOffset":371,"count":0},{"startOffset":403,"endOffset":500,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":321,"endOffset":366,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.removeNode","ranges":[{"startOffset":550,"endOffset":1001,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshiftNode","ranges":[{"startOffset":1035,"endOffset":1334,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pushNode","ranges":[{"startOffset":1365,"endOffset":1664,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.push","ranges":[{"startOffset":1691,"endOffset":1814,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshift","ranges":[{"startOffset":1844,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pop","ranges":[{"startOffset":1996,"endOffset":2224,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.shift","ranges":[{"startOffset":2252,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEach","ranges":[{"startOffset":2510,"endOffset":2691,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEachReverse","ranges":[{"startOffset":2728,"endOffset":2923,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.get","ranges":[{"startOffset":2949,"endOffset":3182,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.getReverse","ranges":[{"startOffset":3215,"endOffset":3448,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.map","ranges":[{"startOffset":3474,"endOffset":3690,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.mapReverse","ranges":[{"startOffset":3723,"endOffset":3939,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduce","ranges":[{"startOffset":3968,"endOffset":4363,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduceReverse","ranges":[{"startOffset":4399,"endOffset":4808,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArray","ranges":[{"startOffset":4838,"endOffset":5018,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArrayReverse","ranges":[{"startOffset":5055,"endOffset":5235,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.slice","ranges":[{"startOffset":5263,"endOffset":5790,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.sliceReverse","ranges":[{"startOffset":5825,"endOffset":6362,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.splice","ranges":[{"startOffset":6391,"endOffset":7034,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reverse","ranges":[{"startOffset":7064,"endOffset":7322,"count":0}],"isBlockCoverage":false},{"functionName":"insert","ranges":[{"startOffset":7324,"endOffset":7643,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":7645,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":7795,"endOffset":7946,"count":0}],"isBlockCoverage":false},{"functionName":"Node","ranges":[{"startOffset":7948,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"559","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/iterator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":30,"endOffset":206,"count":1}],"isBlockCoverage":true},{"functionName":"Yallist.","ranges":[{"startOffset":90,"endOffset":204,"count":0}],"isBlockCoverage":false}]},{"scriptId":"560","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/satisfies.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"satisfies","ranges":[{"startOffset":60,"endOffset":205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"561","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/to-comparators.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":268,"count":1}],"isBlockCoverage":true},{"functionName":"toComparators","ranges":[{"startOffset":115,"endOffset":235,"count":0}],"isBlockCoverage":false}]},{"scriptId":"562","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/max-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":579,"count":1}],"isBlockCoverage":true},{"functionName":"maxSatisfying","ranges":[{"startOffset":109,"endOffset":547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"563","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"minSatisfying","ranges":[{"startOffset":108,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"564","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-version.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"minVersion","ranges":[{"startOffset":144,"endOffset":1471,"count":0}],"isBlockCoverage":false}]},{"scriptId":"565","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":312,"count":1}],"isBlockCoverage":true},{"functionName":"validRange","ranges":[{"startOffset":61,"endOffset":283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"566","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/outside.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2190,"count":1}],"isBlockCoverage":true},{"functionName":"outside","ranges":[{"startOffset":390,"endOffset":2163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"567","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/gtr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":217,"count":1}],"isBlockCoverage":true},{"functionName":"gtr","ranges":[{"startOffset":129,"endOffset":195,"count":0}],"isBlockCoverage":false}]},{"scriptId":"568","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/ltr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":213,"count":1}],"isBlockCoverage":true},{"functionName":"ltr","ranges":[{"startOffset":125,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"569","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/intersects.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true},{"functionName":"intersects","ranges":[{"startOffset":61,"endOffset":181,"count":0}],"isBlockCoverage":false}]},{"scriptId":"570","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/simplify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1341,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":329,"endOffset":1340,"count":0}],"isBlockCoverage":false}]},{"scriptId":"571","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/subset.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7510,"count":1}],"isBlockCoverage":true},{"functionName":"subset","ranges":[{"startOffset":1996,"endOffset":2727,"count":0}],"isBlockCoverage":false},{"functionName":"simpleSubset","ranges":[{"startOffset":2869,"endOffset":6974,"count":0}],"isBlockCoverage":false},{"functionName":"higherGT","ranges":[{"startOffset":7025,"endOffset":7229,"count":0}],"isBlockCoverage":false},{"functionName":"lowerLT","ranges":[{"startOffset":7280,"endOffset":7484,"count":0}],"isBlockCoverage":false}]},{"scriptId":"572","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/property.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6165,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":331,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeComplex","ranges":[{"startOffset":457,"endOffset":572,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":622,"endOffset":708,"count":34}],"isBlockCoverage":true},{"functionName":"deserializePrimitive","ranges":[{"startOffset":756,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"Property","ranges":[{"startOffset":1125,"endOffset":1167,"count":34}],"isBlockCoverage":true},{"functionName":"compareKeys","ranges":[{"startOffset":1171,"endOffset":1692,"count":17},{"startOffset":1580,"endOffset":1615,"count":0},{"startOffset":1616,"endOffset":1655,"count":0},{"startOffset":1662,"endOffset":1673,"count":0}],"isBlockCoverage":true},{"functionName":"prepareDiff","ranges":[{"startOffset":1696,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexProperty","ranges":[{"startOffset":2881,"endOffset":2949,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2953,"endOffset":3025,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3029,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3308,"endOffset":3811,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3815,"endOffset":3853,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveProperty","ranges":[{"startOffset":3981,"endOffset":4049,"count":34}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":4053,"endOffset":4328,"count":17},{"startOffset":4112,"endOffset":4126,"count":0},{"startOffset":4211,"endOffset":4227,"count":0},{"startOffset":4272,"endOffset":4281,"count":0}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":4332,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5018,"endOffset":6023,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6027,"endOffset":6079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"573","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2777,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":329,"endOffset":675,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":705,"endOffset":901,"count":0}],"isBlockCoverage":false},{"functionName":"SymbolValue","ranges":[{"startOffset":1012,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1115,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":1409,"endOffset":1540,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1544,"endOffset":1651,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":1655,"endOffset":1788,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1792,"endOffset":1956,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSymbolValue","ranges":[{"startOffset":2159,"endOffset":2232,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2236,"endOffset":2726,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":2730,"endOffset":2774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"574","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-string-escape/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":644,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":17,"endOffset":643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"575","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/well-known-symbols/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":800,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":672,"endOffset":689,"count":12}],"isBlockCoverage":true},{"functionName":"exports.isWellKnown","ranges":[{"startOffset":715,"endOffset":747,"count":0}],"isBlockCoverage":false},{"functionName":"exports.getLabel","ranges":[{"startOffset":767,"endOffset":799,"count":0}],"isBlockCoverage":false}]},{"scriptId":"576","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/bigInt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":906,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":714,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":718,"endOffset":758,"count":0}],"isBlockCoverage":false}]},{"scriptId":"577","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/boolean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":931,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":286,"count":0}],"isBlockCoverage":false},{"functionName":"BooleanValue","ranges":[{"startOffset":425,"endOffset":473,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":477,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":737,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":741,"endOffset":781,"count":0}],"isBlockCoverage":false}]},{"scriptId":"578","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/null.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":737,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":273,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":406,"endOffset":497,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":501,"endOffset":593,"count":0}],"isBlockCoverage":false}]},{"scriptId":"579","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/number.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":969,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":18}],"isBlockCoverage":true},{"functionName":"NumberValue","ranges":[{"startOffset":422,"endOffset":470,"count":18}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":9},{"startOffset":593,"endOffset":602,"count":0}],"isBlockCoverage":true},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":777,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":781,"endOffset":821,"count":0}],"isBlockCoverage":false}]},{"scriptId":"580","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/undefined.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":421,"endOffset":512,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":516,"endOffset":618,"count":0}],"isBlockCoverage":false}]},{"scriptId":"581","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/shouldCompareDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":573,"count":1}],"isBlockCoverage":true},{"functionName":"shouldCompareDeep","ranges":[{"startOffset":206,"endOffset":537,"count":9},{"startOffset":297,"endOffset":535,"count":0}],"isBlockCoverage":true}]},{"scriptId":"582","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/symbolProperties.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2759,"count":1}],"isBlockCoverage":true},{"functionName":"Comparable","ranges":[{"startOffset":247,"endOffset":348,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":352,"endOffset":533,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":537,"endOffset":1293,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1297,"endOffset":2003,"count":0}],"isBlockCoverage":false},{"functionName":"Collector","ranges":[{"startOffset":2152,"endOffset":2288,"count":0}],"isBlockCoverage":false},{"functionName":"collectAll","ranges":[{"startOffset":2292,"endOffset":2538,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2542,"endOffset":2635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"583","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13805,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":630,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"compareComplexShape","ranges":[{"startOffset":642,"endOffset":1886,"count":0}],"isBlockCoverage":false},{"functionName":"diffDescriptors","ranges":[{"startOffset":1888,"endOffset":13605,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":13649,"endOffset":13784,"count":0}],"isBlockCoverage":false}]},{"scriptId":"584","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Indenter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":360,"count":1}],"isBlockCoverage":true},{"functionName":"Indenter","ranges":[{"startOffset":33,"endOffset":144,"count":1}],"isBlockCoverage":true},{"functionName":"increase","ranges":[{"startOffset":148,"endOffset":216,"count":0}],"isBlockCoverage":false},{"functionName":"decrease","ranges":[{"startOffset":220,"endOffset":288,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":292,"endOffset":331,"count":0}],"isBlockCoverage":false}]},{"scriptId":"585","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/format.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3075,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":241,"endOffset":251,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptor","ranges":[{"startOffset":295,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2953,"endOffset":3050,"count":0}],"isBlockCoverage":false}]},{"scriptId":"586","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/serialize.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12422,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4159,"endOffset":4194,"count":31}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4241,"endOffset":4276,"count":31}],"isBlockCoverage":true},{"functionName":"DescriptorSerializationError","ranges":[{"startOffset":4333,"endOffset":4487,"count":0}],"isBlockCoverage":false},{"functionName":"MissingPluginError","ranges":[{"startOffset":4534,"endOffset":4722,"count":0}],"isBlockCoverage":false},{"functionName":"PointerLookupError","ranges":[{"startOffset":4769,"endOffset":4936,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedPluginError","ranges":[{"startOffset":4987,"endOffset":5271,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedVersion","ranges":[{"startOffset":5373,"endOffset":5576,"count":0}],"isBlockCoverage":false},{"functionName":"shallowSerializeDescriptor","ranges":[{"startOffset":5580,"endOffset":5763,"count":0}],"isBlockCoverage":false},{"functionName":"serializeState","ranges":[{"startOffset":5765,"endOffset":6401,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6403,"endOffset":8213,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeState","ranges":[{"startOffset":8245,"endOffset":8564,"count":0}],"isBlockCoverage":false},{"functionName":"shallowDeserializeDescriptor","ranges":[{"startOffset":8566,"endOffset":8761,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeRecord","ranges":[{"startOffset":8763,"endOffset":9449,"count":0}],"isBlockCoverage":false},{"functionName":"buildPluginMap","ranges":[{"startOffset":9451,"endOffset":10790,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":10792,"endOffset":12387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"587","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/md5-hex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":406,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":66,"endOffset":404,"count":0}],"isBlockCoverage":false}]},{"scriptId":"588","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9570,"count":1}],"isBlockCoverage":true},{"functionName":"encodeInteger","ranges":[{"startOffset":689,"endOffset":828,"count":0}],"isBlockCoverage":false},{"functionName":"encodeValue","ranges":[{"startOffset":830,"endOffset":3045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeValue","ranges":[{"startOffset":3047,"endOffset":5534,"count":0}],"isBlockCoverage":false},{"functionName":"buildBuffer","ranges":[{"startOffset":5536,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6160,"endOffset":7889,"count":0}],"isBlockCoverage":false},{"functionName":"decodePlugins","ranges":[{"startOffset":7915,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"decodeRecord","ranges":[{"startOffset":8465,"endOffset":9182,"count":0}],"isBlockCoverage":false},{"functionName":"extractVersion","ranges":[{"startOffset":9220,"endOffset":9288,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":9330,"endOffset":9545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"589","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/flattenDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"flattenDeep","ranges":[{"startOffset":412,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"590","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFlatten.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1201,"count":1}],"isBlockCoverage":true},{"functionName":"baseFlatten","ranges":[{"startOffset":568,"endOffset":1169,"count":0}],"isBlockCoverage":false}]},{"scriptId":"591","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isFlattenable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1},{"startOffset":208,"endOffset":219,"count":0}],"isBlockCoverage":true},{"functionName":"isFlattenable","ranges":[{"startOffset":430,"endOffset":574,"count":0}],"isBlockCoverage":false}]},{"scriptId":"592","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/pointer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":617,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":63,"endOffset":120,"count":0}],"isBlockCoverage":false},{"functionName":"Pointer","ranges":[{"startOffset":249,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":392,"endOffset":435,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":439,"endOffset":479,"count":0}],"isBlockCoverage":false}]},{"scriptId":"593","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-error/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"isError","ranges":[{"startOffset":160,"endOffset":596,"count":0}],"isBlockCoverage":false}]},{"scriptId":"594","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7961,"count":1},{"startOffset":184,"endOffset":189,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":290,"endOffset":398,"count":70}],"isBlockCoverage":true},{"functionName":"StackUtils","ranges":[{"startOffset":581,"endOffset":1041,"count":1}],"isBlockCoverage":true},{"functionName":"nodeInternals","ranges":[{"startOffset":1052,"endOffset":1099,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":1103,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"captureString","ranges":[{"startOffset":2203,"endOffset":2601,"count":0}],"isBlockCoverage":false},{"functionName":"capture","ranges":[{"startOffset":2605,"endOffset":3178,"count":0}],"isBlockCoverage":false},{"functionName":"at","ranges":[{"startOffset":3182,"endOffset":4236,"count":0}],"isBlockCoverage":false},{"functionName":"parseLine","ranges":[{"startOffset":4240,"endOffset":6388,"count":0}],"isBlockCoverage":false},{"functionName":"setFile","ranges":[{"startOffset":6392,"endOffset":6629,"count":0}],"isBlockCoverage":false},{"functionName":"ignoredPackagesRegExp","ranges":[{"startOffset":6631,"endOffset":6913,"count":1},{"startOffset":6737,"endOffset":6912,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6778,"endOffset":6808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"595","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":236,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":85,"endOffset":234,"count":0}],"isBlockCoverage":false}]},{"scriptId":"596","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/cbor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2598,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":2526,"endOffset":2597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"597","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/commented.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8911,"count":1}],"isBlockCoverage":true},{"functionName":"plural","ranges":[{"startOffset":242,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1621,"endOffset":2061,"count":0}],"isBlockCoverage":false},{"functionName":"Commented","ranges":[{"startOffset":2313,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"_tag_24","ranges":[{"startOffset":3493,"endOffset":3678,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3682,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3766,"endOffset":3890,"count":0}],"isBlockCoverage":false},{"functionName":"comment","ranges":[{"startOffset":4466,"endOffset":5155,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":5184,"endOffset":5277,"count":0}],"isBlockCoverage":false},{"functionName":"_on_read","ranges":[{"startOffset":5306,"endOffset":5625,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":5654,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start_string","ranges":[{"startOffset":6407,"endOffset":6713,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":6742,"endOffset":7824,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":7853,"endOffset":7888,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":7918,"endOffset":8748,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":8777,"endOffset":8880,"count":0}],"isBlockCoverage":false}]},{"scriptId":"598","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8215,"count":1}],"isBlockCoverage":true},{"functionName":"exports.utf8","ranges":[{"startOffset":492,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":546,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"isBufferish","ranges":[{"startOffset":823,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"bufferishToBuffer","ranges":[{"startOffset":1098,"endOffset":1356,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORint","ranges":[{"startOffset":1381,"endOffset":1905,"count":0}],"isBlockCoverage":false},{"functionName":"writeHalf","ranges":[{"startOffset":1927,"endOffset":4036,"count":0}],"isBlockCoverage":false},{"functionName":"parseHalf","ranges":[{"startOffset":4058,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORfloat","ranges":[{"startOffset":4418,"endOffset":4687,"count":0}],"isBlockCoverage":false},{"functionName":"hex","ranges":[{"startOffset":4703,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"bin","ranges":[{"startOffset":4788,"endOffset":5042,"count":0}],"isBlockCoverage":false},{"functionName":"arrayEqual","ranges":[{"startOffset":5065,"endOffset":5279,"count":0}],"isBlockCoverage":false},{"functionName":"bufferToBigInt","ranges":[{"startOffset":5306,"endOffset":5382,"count":0}],"isBlockCoverage":false},{"functionName":"cborValueToString","ranges":[{"startOffset":5412,"endOffset":7059,"count":0}],"isBlockCoverage":false},{"functionName":"guessEncoding","ranges":[{"startOffset":7085,"endOffset":7418,"count":0}],"isBlockCoverage":false},{"functionName":"base64url","ranges":[{"startOffset":7657,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"base64","ranges":[{"startOffset":7965,"endOffset":8048,"count":0}],"isBlockCoverage":false},{"functionName":"isBigEndian","ranges":[{"startOffset":8072,"endOffset":8214,"count":0}],"isBlockCoverage":false}]},{"scriptId":"599","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nofilter/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28585,"count":1}],"isBlockCoverage":true},{"functionName":"NoFilter","ranges":[{"startOffset":3473,"endOffset":5501,"count":0}],"isBlockCoverage":false},{"functionName":"isNoFilter","ranges":[{"startOffset":5664,"endOffset":5716,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":6159,"endOffset":6351,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":7149,"endOffset":8408,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":8437,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"_bufArray","ranges":[{"startOffset":8811,"endOffset":9199,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":9982,"endOffset":10504,"count":0}],"isBlockCoverage":false},{"functionName":"readFull","ranges":[{"startOffset":10957,"endOffset":12088,"count":0}],"isBlockCoverage":false},{"functionName":"promise","ranges":[{"startOffset":12421,"endOffset":12847,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":13163,"endOffset":13614,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":13827,"endOffset":13883,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":14414,"endOffset":14924,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":15137,"endOffset":15184,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":15588,"endOffset":15702,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16207,"endOffset":16468,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16497,"endOffset":16823,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":16931,"endOffset":17040,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt","ranges":[{"startOffset":17265,"endOffset":17670,"count":0}],"isBlockCoverage":false},{"functionName":"readUBigInt","ranges":[{"startOffset":17884,"endOffset":18034,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt","ranges":[{"startOffset":18276,"endOffset":18596,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":18759,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19026,"endOffset":19133,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":19315,"endOffset":19422,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19609,"endOffset":19716,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":19900,"endOffset":20007,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":20172,"endOffset":20253,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":20438,"endOffset":20544,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":20726,"endOffset":20832,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":21021,"endOffset":21127,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":21313,"endOffset":21419,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatLE","ranges":[{"startOffset":21592,"endOffset":21697,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBE","ranges":[{"startOffset":21867,"endOffset":21972,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleLE","ranges":[{"startOffset":22146,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBE","ranges":[{"startOffset":22423,"endOffset":22530,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":22705,"endOffset":22816,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":22988,"endOffset":23099,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":23290,"endOffset":23403,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":23591,"endOffset":23704,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":23831,"endOffset":23955,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":24101,"endOffset":24231,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":24377,"endOffset":24507,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":24653,"endOffset":24783,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":24929,"endOffset":25059,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":25183,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":25449,"endOffset":25577,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":25721,"endOffset":25849,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":25993,"endOffset":26121,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":26265,"endOffset":26393,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatLE","ranges":[{"startOffset":26528,"endOffset":26656,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBE","ranges":[{"startOffset":26788,"endOffset":26916,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleLE","ranges":[{"startOffset":27051,"endOffset":27181,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBE","ranges":[{"startOffset":27313,"endOffset":27443,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":27586,"endOffset":27720,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":27860,"endOffset":27994,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":28140,"endOffset":28276,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":28419,"endOffset":28555,"count":0}],"isBlockCoverage":false}]},{"scriptId":"600","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1352,"count":1}],"isBlockCoverage":true}]},{"scriptId":"601","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/decoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20596,"count":1}],"isBlockCoverage":true},{"functionName":"parentArray","ranges":[{"startOffset":508,"endOffset":641,"count":0}],"isBlockCoverage":false},{"functionName":"parentBufferStream","ranges":[{"startOffset":643,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"UnexpectedDataError","ranges":[{"startOffset":831,"endOffset":996,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":3420,"endOffset":3794,"count":0}],"isBlockCoverage":false},{"functionName":"Decoder","ranges":[{"startOffset":4237,"endOffset":4930,"count":0}],"isBlockCoverage":false},{"functionName":"nullcheck","ranges":[{"startOffset":5301,"endOffset":5710,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirstSync","ranges":[{"startOffset":6389,"endOffset":7548,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAllSync","ranges":[{"startOffset":8073,"endOffset":8838,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirst","ranges":[{"startOffset":9562,"endOffset":11046,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAll","ranges":[{"startOffset":11770,"endOffset":12395,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12433,"endOffset":12495,"count":0}],"isBlockCoverage":false},{"functionName":"_onRead","ranges":[{"startOffset":12574,"endOffset":12625,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":12867,"endOffset":20537,"count":0}],"isBlockCoverage":false}]},{"scriptId":"602","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/vendor/binary-parse-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2692,"count":1}],"isBlockCoverage":true},{"functionName":"BinaryParseStream","ranges":[{"startOffset":1100,"endOffset":1513,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1517,"endOffset":2086,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":2331,"endOffset":2462,"count":0}],"isBlockCoverage":false},{"functionName":"__restart","ranges":[{"startOffset":2466,"endOffset":2566,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":2570,"endOffset":2653,"count":0}],"isBlockCoverage":false}]},{"scriptId":"603","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/tagged.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10762,"count":1},{"startOffset":7721,"endOffset":7750,"count":19}],"isBlockCoverage":true},{"functionName":"setBuffersToJSON","ranges":[{"startOffset":135,"endOffset":954,"count":0}],"isBlockCoverage":false},{"functionName":"b64this","ranges":[{"startOffset":956,"endOffset":1052,"count":0}],"isBlockCoverage":false},{"functionName":"b64urlThis","ranges":[{"startOffset":1054,"endOffset":1156,"count":0}],"isBlockCoverage":false},{"functionName":"hexThis","ranges":[{"startOffset":1158,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"swapEndian","ranges":[{"startOffset":1258,"endOffset":1667,"count":0}],"isBlockCoverage":false},{"functionName":"0","ranges":[{"startOffset":2409,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"1","ranges":[{"startOffset":2478,"endOffset":2501,"count":0}],"isBlockCoverage":false},{"functionName":"2","ranges":[{"startOffset":2548,"endOffset":2576,"count":0}],"isBlockCoverage":false},{"functionName":"3","ranges":[{"startOffset":2623,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"21","ranges":[{"startOffset":2752,"endOffset":2911,"count":0}],"isBlockCoverage":false},{"functionName":"22","ranges":[{"startOffset":2984,"endOffset":3137,"count":0}],"isBlockCoverage":false},{"functionName":"23","ranges":[{"startOffset":3218,"endOffset":3371,"count":0}],"isBlockCoverage":false},{"functionName":"32","ranges":[{"startOffset":3409,"endOffset":3424,"count":0}],"isBlockCoverage":false},{"functionName":"33","ranges":[{"startOffset":3468,"endOffset":4627,"count":0}],"isBlockCoverage":false},{"functionName":"34","ranges":[{"startOffset":4668,"endOffset":5867,"count":0}],"isBlockCoverage":false},{"functionName":"35","ranges":[{"startOffset":5920,"endOffset":5938,"count":0}],"isBlockCoverage":false},{"functionName":"258","ranges":[{"startOffset":6027,"endOffset":6042,"count":0}],"isBlockCoverage":false},{"functionName":"_toTypedArray","ranges":[{"startOffset":7009,"endOffset":7672,"count":0}],"isBlockCoverage":false},{"functionName":"Tagged","ranges":[{"startOffset":8277,"endOffset":8615,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":8619,"endOffset":8856,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":8953,"endOffset":9025,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":9189,"endOffset":9272,"count":0}],"isBlockCoverage":false},{"functionName":"convert","ranges":[{"startOffset":9824,"endOffset":10302,"count":0}],"isBlockCoverage":false},{"functionName":"get TAGS","ranges":[{"startOffset":10432,"endOffset":10472,"count":0}],"isBlockCoverage":false},{"functionName":"set TAGS","ranges":[{"startOffset":10483,"endOffset":10525,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":10642,"endOffset":10683,"count":1}],"isBlockCoverage":true}]},{"scriptId":"604","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/simple.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2695,"count":1}],"isBlockCoverage":true},{"functionName":"Simple","ranges":[{"startOffset":268,"endOffset":567,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":683,"endOffset":734,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":930,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":1190,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"isSimple","ranges":[{"startOffset":1403,"endOffset":1455,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":2071,"endOffset":2667,"count":0}],"isBlockCoverage":false}]},{"scriptId":"605","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/diagnose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6617,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeOptions","ranges":[{"startOffset":1886,"endOffset":2262,"count":0}],"isBlockCoverage":false},{"functionName":"Diagnose","ranges":[{"startOffset":2529,"endOffset":3414,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3418,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3509,"endOffset":3707,"count":0}],"isBlockCoverage":false},{"functionName":"diagnose","ranges":[{"startOffset":4122,"endOffset":4775,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":4804,"endOffset":4932,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":4954,"endOffset":5115,"count":0}],"isBlockCoverage":false},{"functionName":"_fore","ranges":[{"startOffset":5137,"endOffset":5507,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":5529,"endOffset":5751,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":5773,"endOffset":6194,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":6216,"endOffset":6519,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":6541,"endOffset":6587,"count":0}],"isBlockCoverage":false}]},{"scriptId":"606","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31613,"count":1}],"isBlockCoverage":true},{"functionName":"parseDateType","ranges":[{"startOffset":1747,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"Encoder","ranges":[{"startOffset":4631,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":6051,"endOffset":6261,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":6318,"endOffset":6350,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt8","ranges":[{"startOffset":6470,"endOffset":6576,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt16BE","ranges":[{"startOffset":6698,"endOffset":6810,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt32BE","ranges":[{"startOffset":6935,"endOffset":7047,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloatBE","ranges":[{"startOffset":7176,"endOffset":7286,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDoubleBE","ranges":[{"startOffset":7416,"endOffset":7528,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNaN","ranges":[{"startOffset":7598,"endOffset":7644,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInfinity","ranges":[{"startOffset":7770,"endOffset":7876,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloat","ranges":[{"startOffset":8142,"endOffset":9321,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInt","ranges":[{"startOffset":10074,"endOffset":10925,"count":0}],"isBlockCoverage":false},{"functionName":"_pushIntNum","ranges":[{"startOffset":11192,"endOffset":11409,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNumber","ranges":[{"startOffset":11531,"endOffset":11787,"count":0}],"isBlockCoverage":false},{"functionName":"_pushString","ranges":[{"startOffset":11900,"endOffset":12041,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoolean","ranges":[{"startOffset":12153,"endOffset":12223,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUndefined","ranges":[{"startOffset":12330,"endOffset":12752,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNull","ranges":[{"startOffset":12854,"endOffset":12907,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTag","ranges":[{"startOffset":13024,"endOffset":13081,"count":0}],"isBlockCoverage":false},{"functionName":"_pushJSBigint","ranges":[{"startOffset":13194,"endOffset":13960,"count":0}],"isBlockCoverage":false},{"functionName":"_pushObject","ranges":[{"startOffset":14109,"endOffset":16394,"count":0}],"isBlockCoverage":false},{"functionName":"_encodeAll","ranges":[{"startOffset":16551,"endOffset":16756,"count":0}],"isBlockCoverage":false},{"functionName":"addSemanticType","ranges":[{"startOffset":17172,"endOffset":17565,"count":0}],"isBlockCoverage":false},{"functionName":"pushAny","ranges":[{"startOffset":17771,"endOffset":18684,"count":0}],"isBlockCoverage":false},{"functionName":"pushArray","ranges":[{"startOffset":18990,"endOffset":19516,"count":0}],"isBlockCoverage":false},{"functionName":"removeLoopDetectors","ranges":[{"startOffset":19662,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDate","ranges":[{"startOffset":19947,"endOffset":20619,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBuffer","ranges":[{"startOffset":20774,"endOffset":20870,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNoFilter","ranges":[{"startOffset":21027,"endOffset":21129,"count":0}],"isBlockCoverage":false},{"functionName":"_pushRegexp","ranges":[{"startOffset":21284,"endOffset":21374,"count":0}],"isBlockCoverage":false},{"functionName":"_pushSet","ranges":[{"startOffset":21523,"endOffset":21783,"count":0}],"isBlockCoverage":false},{"functionName":"_pushURL","ranges":[{"startOffset":21932,"endOffset":22020,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoxed","ranges":[{"startOffset":22208,"endOffset":22272,"count":0}],"isBlockCoverage":false},{"functionName":"_pushMap","ranges":[{"startOffset":22469,"endOffset":24462,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTypedArray","ranges":[{"startOffset":24627,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"_pushArrayBuffer","ranges":[{"startOffset":25460,"endOffset":25546,"count":0}],"isBlockCoverage":false},{"functionName":"encodeIndefinite","ranges":[{"startOffset":26458,"endOffset":28127,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":28344,"endOffset":28407,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCanonical","ranges":[{"startOffset":28646,"endOffset":28748,"count":0}],"isBlockCoverage":false},{"functionName":"encodeOne","ranges":[{"startOffset":29014,"endOffset":29093,"count":0}],"isBlockCoverage":false},{"functionName":"encodeAsync","ranges":[{"startOffset":29664,"endOffset":29981,"count":0}],"isBlockCoverage":false},{"functionName":"get SEMANTIC_TYPES","ranges":[{"startOffset":30115,"endOffset":30175,"count":0}],"isBlockCoverage":false},{"functionName":"set SEMANTIC_TYPES","ranges":[{"startOffset":30186,"endOffset":30248,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":30375,"endOffset":30437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"607","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5186,"count":1}],"isBlockCoverage":true},{"functionName":"CborMap","ranges":[{"startOffset":952,"endOffset":999,"count":0}],"isBlockCoverage":false},{"functionName":"_encode","ranges":[{"startOffset":1035,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_decode","ranges":[{"startOffset":1148,"endOffset":1216,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1501,"endOffset":1558,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":1874,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":2283,"endOffset":2346,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":2687,"endOffset":2744,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":2978,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":3366,"endOffset":3472,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3725,"endOffset":3776,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":4173,"endOffset":4393,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":4557,"endOffset":5157,"count":0}],"isBlockCoverage":false}]},{"scriptId":"608","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/map-age-cleaner/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3903,"count":1}],"isBlockCoverage":true},{"functionName":"__awaiter","ranges":[{"startOffset":58,"endOffset":613,"count":0}],"isBlockCoverage":false},{"functionName":"__importDefault","ranges":[{"startOffset":671,"endOffset":752,"count":1},{"startOffset":723,"endOffset":728,"count":0}],"isBlockCoverage":true},{"functionName":"mapAgeCleaner","ranges":[{"startOffset":872,"endOffset":3774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"609","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-defer/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":177,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"610","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6750,"count":1}],"isBlockCoverage":true},{"functionName":"getId","ranges":[{"startOffset":492,"endOffset":749,"count":1},{"startOffset":664,"endOffset":747,"count":0}],"isBlockCoverage":true},{"functionName":"getTmpname","ranges":[{"startOffset":774,"endOffset":976,"count":0}],"isBlockCoverage":false},{"functionName":"cleanupOnExit","ranges":[{"startOffset":978,"endOffset":1161,"count":0}],"isBlockCoverage":false},{"functionName":"serializeActiveFile","ranges":[{"startOffset":1163,"endOffset":1550,"count":0}],"isBlockCoverage":false},{"functionName":"isChownErrOk","ranges":[{"startOffset":1633,"endOffset":1894,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileAsync","ranges":[{"startOffset":1896,"endOffset":4304,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4306,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":4680,"endOffset":6749,"count":0}],"isBlockCoverage":false}]},{"scriptId":"611","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/imurmurhash/imurmurhash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4412,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":443,"endOffset":4407,"count":1},{"startOffset":4352,"endOffset":4405,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3","ranges":[{"startOffset":811,"endOffset":1083,"count":1},{"startOffset":896,"endOffset":903,"count":0},{"startOffset":963,"endOffset":980,"count":0},{"startOffset":982,"endOffset":1018,"count":0},{"startOffset":1044,"endOffset":1077,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3.hash","ranges":[{"startOffset":1254,"endOffset":3073,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.result","ranges":[{"startOffset":3193,"endOffset":3797,"count":0}],"isBlockCoverage":false},{"functionName":"MurmurHash3.reset","ranges":[{"startOffset":3937,"endOffset":4078,"count":1},{"startOffset":3997,"endOffset":4003,"count":0}],"isBlockCoverage":true}]},{"scriptId":"612","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9435,"count":1},{"startOffset":8597,"endOffset":8623,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":518,"endOffset":562,"count":0}],"isBlockCoverage":false},{"functionName":"processOk","ranges":[{"startOffset":585,"endOffset":952,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1130,"endOffset":2434,"count":1}],"isBlockCoverage":true},{"functionName":"Emitter","ranges":[{"startOffset":1325,"endOffset":1616,"count":1},{"startOffset":1375,"endOffset":1427,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":1621,"endOffset":1676,"count":0}],"isBlockCoverage":false},{"functionName":"removeListener","ranges":[{"startOffset":1681,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2045,"endOffset":2432,"count":0}],"isBlockCoverage":false},{"functionName":"signalExitWrap","ranges":[{"startOffset":2483,"endOffset":2732,"count":1}],"isBlockCoverage":true},{"functionName":"onExit","ranges":[{"startOffset":2519,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2602,"endOffset":2655,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2665,"endOffset":2722,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":2788,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2835,"endOffset":2845,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2850,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2865,"endOffset":8403,"count":1},{"startOffset":3070,"endOffset":3080,"count":0}],"isBlockCoverage":true},{"functionName":"SignalExit","ranges":[{"startOffset":3269,"endOffset":5206,"count":1},{"startOffset":3467,"endOffset":5088,"count":17}],"isBlockCoverage":true},{"functionName":"SignalExit.#sigListeners.","ranges":[{"startOffset":3507,"endOffset":5077,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":5211,"endOffset":5804,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5809,"endOffset":6637,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":6642,"endOffset":7393,"count":0}],"isBlockCoverage":false},{"functionName":"#processReallyExit","ranges":[{"startOffset":7398,"endOffset":7764,"count":0}],"isBlockCoverage":false},{"functionName":"#processEmit","ranges":[{"startOffset":7769,"endOffset":8401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"613","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1560,"count":1}],"isBlockCoverage":true}]},{"scriptId":"614","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/irregular-plurals/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":137,"count":1}],"isBlockCoverage":true}]},{"scriptId":"615","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/state.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":150,"count":1}],"isBlockCoverage":true}]},{"scriptId":"616","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/channel.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7151,"count":1},{"startOffset":2661,"endOffset":2770,"count":0}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":303,"endOffset":1131,"count":2},{"startOffset":747,"endOffset":1129,"count":0}],"isBlockCoverage":true},{"functionName":"addToBuffer","ranges":[{"startOffset":510,"endOffset":540,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":975,"endOffset":1022,"count":0}],"isBlockCoverage":false},{"functionName":"selectAvaMessage","ranges":[{"startOffset":1159,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1167,"endOffset":1218,"count":3}],"isBlockCoverage":true},{"functionName":"RefCounter","ranges":[{"startOffset":1241,"endOffset":1277,"count":1}],"isBlockCoverage":true},{"functionName":"refAndTest","ranges":[{"startOffset":1280,"endOffset":1326,"count":2}],"isBlockCoverage":true},{"functionName":"testAndUnref","ranges":[{"startOffset":1329,"endOffset":1395,"count":2}],"isBlockCoverage":true},{"functionName":"MessagePortHandle","ranges":[{"startOffset":1426,"endOffset":1746,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1719,"endOffset":1727,"count":0}],"isBlockCoverage":false},{"functionName":"forceUnref","ranges":[{"startOffset":1749,"endOffset":1899,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":1902,"endOffset":2040,"count":2}],"isBlockCoverage":true},{"functionName":"unref","ranges":[{"startOffset":2043,"endOffset":2179,"count":2}],"isBlockCoverage":true},{"functionName":"send","ranges":[{"startOffset":2182,"endOffset":2264,"count":23}],"isBlockCoverage":true},{"functionName":"IpcHandle","ranges":[{"startOffset":2287,"endOffset":2409,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":2412,"endOffset":2487,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":2490,"endOffset":2571,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2574,"endOffset":2616,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3157,"endOffset":3187,"count":0}],"isBlockCoverage":false},{"functionName":"flush","ranges":[{"startOffset":3456,"endOffset":3749,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3531,"endOffset":3704,"count":1}],"isBlockCoverage":true},{"functionName":"createChannelEmitter","ranges":[{"startOffset":3859,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"registerSharedWorker","ranges":[{"startOffset":4406,"endOffset":7096,"count":0}],"isBlockCoverage":false}]},{"scriptId":"617","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/utils.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true}]},{"scriptId":"618","url":"node:internal/modules/esm/initialize_import_meta","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1960,"count":1}],"isBlockCoverage":false},{"functionName":"createImportMetaResolve","ranges":[{"startOffset":617,"endOffset":1368,"count":3}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":880,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"initializeImportMeta","ranges":[{"startOffset":1633,"endOffset":1912,"count":3}],"isBlockCoverage":true}]},{"scriptId":"619","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/options.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":278,"count":1}],"isBlockCoverage":true},{"functionName":"exports.get","ranges":[{"startOffset":48,"endOffset":147,"count":0}],"isBlockCoverage":false},{"functionName":"exports.set","ranges":[{"startOffset":164,"endOffset":276,"count":1},{"startOffset":194,"endOffset":250,"count":0}],"isBlockCoverage":true}]},{"scriptId":"620","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-event/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6062,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeEmitter","ranges":[{"startOffset":60,"endOffset":453,"count":3},{"startOffset":105,"endOffset":127,"count":0},{"startOffset":128,"endOffset":155,"count":0},{"startOffset":193,"endOffset":218,"count":0},{"startOffset":219,"endOffset":249,"count":0},{"startOffset":290,"endOffset":346,"count":0}],"isBlockCoverage":true},{"functionName":"pEventMultiple","ranges":[{"startOffset":463,"endOffset":2125,"count":3},{"startOffset":1994,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":560,"endOffset":1917,"count":3},{"startOffset":812,"endOffset":892,"count":0},{"startOffset":1890,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"onItem","ranges":[{"startOffset":1060,"endOffset":1389,"count":3},{"startOffset":1116,"endOffset":1128,"count":0},{"startOffset":1263,"endOffset":1281,"count":2},{"startOffset":1281,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"rejectHandler","ranges":[{"startOffset":1416,"endOffset":1461,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":1475,"endOffset":1675,"count":1}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":2134,"endOffset":2551,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2421,"endOffset":2438,"count":1}],"isBlockCoverage":true},{"functionName":"pEventIterator","ranges":[{"startOffset":2560,"endOffset":6020,"count":0}],"isBlockCoverage":false}]},{"scriptId":"621","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@ava/typescript/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8330,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":352,"endOffset":476,"count":0}],"isBlockCoverage":false},{"functionName":"validate","ranges":[{"startOffset":478,"endOffset":1131,"count":0}],"isBlockCoverage":false},{"functionName":"compileTypeScript","ranges":[{"startOffset":1133,"endOffset":1260,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1321,"endOffset":1393,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1436,"endOffset":1654,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1696,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"typescriptProvider","ranges":[{"startOffset":2093,"endOffset":8329,"count":1},{"startOffset":2251,"endOffset":2265,"count":0}],"isBlockCoverage":true},{"functionName":"main","ranges":[{"startOffset":2279,"endOffset":7324,"count":0}],"isBlockCoverage":false},{"functionName":"worker","ranges":[{"startOffset":7329,"endOffset":8322,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7526,"endOffset":7556,"count":3}],"isBlockCoverage":true},{"functionName":"canLoad","ranges":[{"startOffset":7591,"endOffset":7707,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7667,"endOffset":7699,"count":2}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":7714,"endOffset":8311,"count":1},{"startOffset":7935,"endOffset":8023,"count":0},{"startOffset":8055,"endOffset":8118,"count":0},{"startOffset":8247,"endOffset":8281,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7787,"endOffset":7819,"count":2}],"isBlockCoverage":true}]},{"scriptId":"622","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-timeout/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2513,"count":1}],"isBlockCoverage":true},{"functionName":"TimeoutError","ranges":[{"startOffset":43,"endOffset":116,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":315,"endOffset":405,"count":0}],"isBlockCoverage":false},{"functionName":"getDOMException","ranges":[{"startOffset":516,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"getAbortedReason","ranges":[{"startOffset":755,"endOffset":951,"count":0}],"isBlockCoverage":false},{"functionName":"pTimeout","ranges":[{"startOffset":969,"endOffset":2512,"count":0}],"isBlockCoverage":false}]},{"scriptId":"623","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7897,"count":1}],"isBlockCoverage":true},{"functionName":"getEnv","ranges":[{"startOffset":955,"endOffset":1187,"count":0}],"isBlockCoverage":false},{"functionName":"handleArguments","ranges":[{"startOffset":1214,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"handleOutput","ranges":[{"startOffset":1965,"endOffset":2268,"count":0}],"isBlockCoverage":false},{"functionName":"execa","ranges":[{"startOffset":2278,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"execaSync","ranges":[{"startOffset":4687,"endOffset":6032,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptStdin","ranges":[{"startOffset":6063,"endOffset":6191,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptOptions","ranges":[{"startOffset":6225,"endOffset":6316,"count":0}],"isBlockCoverage":false},{"functionName":"create$","ranges":[{"startOffset":6319,"endOffset":6973,"count":1}],"isBlockCoverage":true},{"functionName":"$","ranges":[{"startOffset":6348,"endOffset":6640,"count":0}],"isBlockCoverage":false},{"functionName":"$.sync","ranges":[{"startOffset":6652,"endOffset":6958,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommand","ranges":[{"startOffset":7011,"endOffset":7138,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommandSync","ranges":[{"startOffset":7147,"endOffset":7282,"count":0}],"isBlockCoverage":false},{"functionName":"execaNode","ranges":[{"startOffset":7291,"endOffset":7896,"count":0}],"isBlockCoverage":false}]},{"scriptId":"624","url":"node:child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27198,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1936,"endOffset":1965,"count":0}],"isBlockCoverage":false},{"functionName":"fork","ranges":[{"startOffset":3430,"endOffset":5105,"count":0}],"isBlockCoverage":false},{"functionName":"_forkChild","ranges":[{"startOffset":5107,"endOffset":5596,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecArgs","ranges":[{"startOffset":5598,"endOffset":6112,"count":0}],"isBlockCoverage":false},{"functionName":"exec","ranges":[{"startOffset":6649,"endOffset":6896,"count":0}],"isBlockCoverage":false},{"functionName":"customPromiseExecFunction","ranges":[{"startOffset":6932,"endOffset":7296,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6953,"endOffset":7293,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecFileArgs","ranges":[{"startOffset":7433,"endOffset":8331,"count":0}],"isBlockCoverage":false},{"functionName":"execFile","ranges":[{"startOffset":8944,"endOffset":13708,"count":0}],"isBlockCoverage":false},{"functionName":"copyProcessEnvToEnv","ranges":[{"startOffset":13852,"endOffset":14052,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeSpawnArguments","ranges":[{"startOffset":14054,"endOffset":19321,"count":0}],"isBlockCoverage":false},{"functionName":"abortChildProcess","ranges":[{"startOffset":19323,"endOffset":19579,"count":0}],"isBlockCoverage":false},{"functionName":"spawn","ranges":[{"startOffset":20134,"endOffset":21334,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":22094,"endOffset":23602,"count":0}],"isBlockCoverage":false},{"functionName":"checkExecSyncError","ranges":[{"startOffset":23605,"endOffset":23991,"count":0}],"isBlockCoverage":false},{"functionName":"execFileSync","ranges":[{"startOffset":24504,"endOffset":24968,"count":0}],"isBlockCoverage":false},{"functionName":"execSync","ranges":[{"startOffset":25466,"endOffset":25842,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentNullCheck","ranges":[{"startOffset":25845,"endOffset":26068,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentsNullCheck","ranges":[{"startOffset":26071,"endOffset":26233,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":26236,"endOffset":26424,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBuffer","ranges":[{"startOffset":26427,"endOffset":26700,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeKillSignal","ranges":[{"startOffset":26703,"endOffset":27066,"count":0}],"isBlockCoverage":false}]},{"scriptId":"625","url":"node:internal/child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31777,"count":1}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2500,"endOffset":2559,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2566,"endOffset":2620,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2682,"endOffset":2749,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2756,"endOffset":2897,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2927,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"postSend","ranges":[{"startOffset":4488,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5241,"endOffset":5698,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5763,"endOffset":5822,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5829,"endOffset":5883,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5948,"endOffset":6068,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":6075,"endOffset":6234,"count":0}],"isBlockCoverage":false},{"functionName":"stdioStringToArray","ranges":[{"startOffset":6245,"endOffset":6660,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess","ranges":[{"startOffset":6662,"endOffset":8151,"count":0}],"isBlockCoverage":false},{"functionName":"flushStdio","ranges":[{"startOffset":8274,"endOffset":8752,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":8755,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"getHandleWrapType","ranges":[{"startOffset":8848,"endOffset":9077,"count":0}],"isBlockCoverage":false},{"functionName":"closePendingHandle","ranges":[{"startOffset":9079,"endOffset":9192,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.spawn","ranges":[{"startOffset":9226,"endOffset":12793,"count":0}],"isBlockCoverage":false},{"functionName":"onErrorNT","ranges":[{"startOffset":12797,"endOffset":12858,"count":0}],"isBlockCoverage":false},{"functionName":"onSpawnNT","ranges":[{"startOffset":12861,"endOffset":12911,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.kill","ranges":[{"startOffset":12944,"endOffset":13609,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.","ranges":[{"startOffset":13652,"endOffset":13709,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.ref","ranges":[{"startOffset":13742,"endOffset":13796,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.unref","ranges":[{"startOffset":13831,"endOffset":13887,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13890,"endOffset":14887,"count":0}],"isBlockCoverage":false},{"functionName":"setupChannel","ranges":[{"startOffset":15035,"endOffset":27155,"count":0}],"isBlockCoverage":false},{"functionName":"isInternal","ranges":[{"startOffset":27190,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"getValidStdio","ranges":[{"startOffset":27534,"endOffset":30459,"count":0}],"isBlockCoverage":false},{"functionName":"getSocketList","ranges":[{"startOffset":30462,"endOffset":30778,"count":0}],"isBlockCoverage":false},{"functionName":"maybeClose","ranges":[{"startOffset":30781,"endOffset":30982,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":30984,"endOffset":31651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"626","url":"node:dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28253,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCluster","ranges":[{"startOffset":2824,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":3031,"endOffset":4459,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":4570,"endOffset":4648,"count":0}],"isBlockCoverage":false},{"functionName":"startListening","ranges":[{"startOffset":4651,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"replaceHandle","ranges":[{"startOffset":5096,"endOffset":5661,"count":0}],"isBlockCoverage":false},{"functionName":"bufferSize","ranges":[{"startOffset":5663,"endOffset":5955,"count":0}],"isBlockCoverage":false},{"functionName":"bindServerHandle","ranges":[{"startOffset":6023,"endOffset":6433,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.bind","ranges":[{"startOffset":6459,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":9932,"endOffset":10728,"count":0}],"isBlockCoverage":false},{"functionName":"_connect","ranges":[{"startOffset":10732,"endOffset":11078,"count":0}],"isBlockCoverage":false},{"functionName":"doConnect","ranges":[{"startOffset":11081,"endOffset":11723,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.disconnect","ranges":[{"startOffset":11756,"endOffset":12063,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.sendto","ranges":[{"startOffset":12168,"endOffset":12609,"count":0}],"isBlockCoverage":false},{"functionName":"sliceBuffer","ranges":[{"startOffset":12613,"endOffset":13373,"count":0}],"isBlockCoverage":false},{"functionName":"fixBufferList","ranges":[{"startOffset":13376,"endOffset":13760,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":13763,"endOffset":14190,"count":0}],"isBlockCoverage":false},{"functionName":"onListenSuccess","ranges":[{"startOffset":14193,"endOffset":14331,"count":0}],"isBlockCoverage":false},{"functionName":"onListenError","ranges":[{"startOffset":14334,"endOffset":14458,"count":0}],"isBlockCoverage":false},{"functionName":"clearQueue","ranges":[{"startOffset":14461,"endOffset":14658,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.send","ranges":[{"startOffset":15229,"endOffset":18122,"count":0}],"isBlockCoverage":false},{"functionName":"doSend","ranges":[{"startOffset":18125,"endOffset":19264,"count":0}],"isBlockCoverage":false},{"functionName":"afterSend","ranges":[{"startOffset":19266,"endOffset":19443,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.close","ranges":[{"startOffset":19470,"endOffset":20038,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":20080,"endOffset":20213,"count":0}],"isBlockCoverage":false},{"functionName":"socketCloseNT","ranges":[{"startOffset":20217,"endOffset":20271,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":20301,"endOffset":20491,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.remoteAddress","ranges":[{"startOffset":20527,"endOffset":20837,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setBroadcast","ranges":[{"startOffset":20873,"endOffset":21021,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setTTL","ranges":[{"startOffset":21051,"endOffset":21225,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastTTL","ranges":[{"startOffset":21264,"endOffset":21456,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastLoopback","ranges":[{"startOffset":21500,"endOffset":21700,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastInterface","ranges":[{"startOffset":21745,"endOffset":22007,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addMembership","ranges":[{"startOffset":22043,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropMembership","ranges":[{"startOffset":22455,"endOffset":22832,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addSourceSpecificMembership","ranges":[{"startOffset":22882,"endOffset":23489,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropSourceSpecificMembership","ranges":[{"startOffset":23541,"endOffset":24154,"count":0}],"isBlockCoverage":false},{"functionName":"healthCheck","ranges":[{"startOffset":24158,"endOffset":24321,"count":0}],"isBlockCoverage":false},{"functionName":"stopReceiving","ranges":[{"startOffset":24324,"endOffset":24488,"count":0}],"isBlockCoverage":false},{"functionName":"onMessage","ranges":[{"startOffset":24491,"endOffset":24745,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":24748,"endOffset":24863,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":24889,"endOffset":24996,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":25025,"endOffset":25134,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setRecvBufferSize","ranges":[{"startOffset":25175,"endOffset":25232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setSendBufferSize","ranges":[{"startOffset":25273,"endOffset":25330,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getRecvBufferSize","ranges":[{"startOffset":25371,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendBufferSize","ranges":[{"startOffset":25469,"endOffset":25526,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueSize","ranges":[{"startOffset":25565,"endOffset":25634,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueCount","ranges":[{"startOffset":25674,"endOffset":25744,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25863,"endOffset":25917,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25990,"endOffset":26046,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26199,"endOffset":26256,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26332,"endOffset":26391,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26547,"endOffset":26604,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26680,"endOffset":26739,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26891,"endOffset":26944,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27016,"endOffset":27071,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27223,"endOffset":27280,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27356,"endOffset":27415,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27522,"endOffset":27557,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27666,"endOffset":27703,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27988,"endOffset":28024,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":28028,"endOffset":28069,"count":0}],"isBlockCoverage":false}]},{"scriptId":"627","url":"node:internal/dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1851,"count":1}],"isBlockCoverage":false},{"functionName":"lookup4","ranges":[{"startOffset":478,"endOffset":579,"count":0}],"isBlockCoverage":false},{"functionName":"lookup6","ranges":[{"startOffset":582,"endOffset":677,"count":0}],"isBlockCoverage":false},{"functionName":"newHandle","ranges":[{"startOffset":679,"endOffset":1323,"count":0}],"isBlockCoverage":false},{"functionName":"_createSocketHandle","ranges":[{"startOffset":1326,"endOffset":1774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"628","url":"node:internal/socket_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2709,"count":1}],"isBlockCoverage":false},{"functionName":"SocketListSend","ranges":[{"startOffset":235,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"_request","ranges":[{"startOffset":380,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":1039,"endOffset":1190,"count":0}],"isBlockCoverage":false},{"functionName":"getConnections","ranges":[{"startOffset":1194,"endOffset":1430,"count":0}],"isBlockCoverage":false},{"functionName":"SocketListReceive","ranges":[{"startOffset":1544,"endOffset":2404,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":2408,"endOffset":2649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"629","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/strip-final-newline/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":347,"count":1}],"isBlockCoverage":true},{"functionName":"stripFinalNewline","ranges":[{"startOffset":15,"endOffset":346,"count":0}],"isBlockCoverage":false}]},{"scriptId":"630","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":938,"count":1}],"isBlockCoverage":true},{"functionName":"npmRunPath","ranges":[{"startOffset":134,"endOffset":741,"count":0}],"isBlockCoverage":false},{"functionName":"npmRunPathEnv","ranges":[{"startOffset":750,"endOffset":937,"count":0}],"isBlockCoverage":false}]},{"scriptId":"631","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/onetime/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1022,"count":1}],"isBlockCoverage":true},{"functionName":"onetime","ranges":[{"startOffset":95,"endOffset":767,"count":0}],"isBlockCoverage":false},{"functionName":"onetime.callCount","ranges":[{"startOffset":790,"endOffset":995,"count":0}],"isBlockCoverage":false}]},{"scriptId":"632","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2204,"count":1}],"isBlockCoverage":true},{"functionName":"getErrorPrefix","ranges":[{"startOffset":105,"endOffset":580,"count":0}],"isBlockCoverage":false},{"functionName":"makeError","ranges":[{"startOffset":608,"endOffset":2202,"count":0}],"isBlockCoverage":false}]},{"scriptId":"633","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stdio.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1157,"count":1}],"isBlockCoverage":true},{"functionName":"hasAlias","ranges":[{"startOffset":65,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdio","ranges":[{"startOffset":160,"endOffset":794,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdioNode","ranges":[{"startOffset":879,"endOffset":1155,"count":0}],"isBlockCoverage":false}]},{"scriptId":"634","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/kill.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2983,"count":1}],"isBlockCoverage":true},{"functionName":"spawnedKill","ranges":[{"startOffset":214,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"setKillTimeout","ranges":[{"startOffset":393,"endOffset":844,"count":0}],"isBlockCoverage":false},{"functionName":"shouldForceKill","ranges":[{"startOffset":871,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"isSigterm","ranges":[{"startOffset":1007,"endOffset":1128,"count":0}],"isBlockCoverage":false},{"functionName":"getForceKillAfterTimeout","ranges":[{"startOffset":1164,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"spawnedCancel","ranges":[{"startOffset":1623,"endOffset":1736,"count":0}],"isBlockCoverage":false},{"functionName":"timeoutKill","ranges":[{"startOffset":1759,"endOffset":1888,"count":0}],"isBlockCoverage":false},{"functionName":"setupTimeout","ranges":[{"startOffset":1948,"endOffset":2417,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":2451,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"setExitHandler","ranges":[{"startOffset":2737,"endOffset":2981,"count":0}],"isBlockCoverage":false}]},{"scriptId":"635","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/pipe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1194,"count":1}],"isBlockCoverage":true},{"functionName":"isExecaChildProcess","ranges":[{"startOffset":165,"endOffset":242,"count":0}],"isBlockCoverage":false},{"functionName":"pipeToTarget","ranges":[{"startOffset":266,"endOffset":826,"count":0}],"isBlockCoverage":false},{"functionName":"addPipeMethods","ranges":[{"startOffset":859,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"636","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2958,"count":1}],"isBlockCoverage":true},{"functionName":"validateInputOptions","ranges":[{"startOffset":198,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"getInputSync","ranges":[{"startOffset":347,"endOffset":495,"count":0}],"isBlockCoverage":false},{"functionName":"handleInputSync","ranges":[{"startOffset":576,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getInput","ranges":[{"startOffset":769,"endOffset":921,"count":0}],"isBlockCoverage":false},{"functionName":"handleInput","ranges":[{"startOffset":999,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"makeAllStream","ranges":[{"startOffset":1270,"endOffset":1518,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedData","ranges":[{"startOffset":1632,"endOffset":1940,"count":0}],"isBlockCoverage":false},{"functionName":"getStreamPromise","ranges":[{"startOffset":1968,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedResult","ranges":[{"startOffset":2300,"endOffset":2956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"637","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1109,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":91,"endOffset":105,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":186,"endOffset":281,"count":3}],"isBlockCoverage":true},{"functionName":"mergePromise","ranges":[{"startOffset":376,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedPromise","ranges":[{"startOffset":835,"endOffset":1107,"count":0}],"isBlockCoverage":false}]},{"scriptId":"638","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/command.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3071,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeArgs","ranges":[{"startOffset":108,"endOffset":207,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArg","ranges":[{"startOffset":302,"endOffset":449,"count":0}],"isBlockCoverage":false},{"functionName":"joinCommand","ranges":[{"startOffset":479,"endOffset":530,"count":0}],"isBlockCoverage":false},{"functionName":"getEscapedCommand","ranges":[{"startOffset":566,"endOffset":644,"count":0}],"isBlockCoverage":false},{"functionName":"parseCommand","ranges":[{"startOffset":732,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"parseExpression","ranges":[{"startOffset":1209,"endOffset":1923,"count":0}],"isBlockCoverage":false},{"functionName":"concatTokens","ranges":[{"startOffset":1947,"endOffset":2173,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplate","ranges":[{"startOffset":2198,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplates","ranges":[{"startOffset":2865,"endOffset":3068,"count":0}],"isBlockCoverage":false}]},{"scriptId":"639","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/verbose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"padField","ranges":[{"startOffset":148,"endOffset":204,"count":0}],"isBlockCoverage":false},{"functionName":"getTimestamp","ranges":[{"startOffset":228,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"logCommand","ranges":[{"startOffset":442,"endOffset":573,"count":0}],"isBlockCoverage":false}]},{"scriptId":"640","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":263,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":15,"endOffset":262,"count":0}],"isBlockCoverage":false}]},{"scriptId":"641","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/main.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1214,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalsByName","ranges":[{"startOffset":134,"endOffset":226,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalByName","ranges":[{"startOffset":251,"endOffset":386,"count":69}],"isBlockCoverage":true},{"functionName":"getSignalsByNumber","ranges":[{"startOffset":465,"endOffset":652,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":559,"endOffset":609,"count":65}],"isBlockCoverage":true},{"functionName":"getSignalByNumber","ranges":[{"startOffset":679,"endOffset":939,"count":65},{"startOffset":771,"endOffset":784,"count":3},{"startOffset":784,"endOffset":938,"count":62}],"isBlockCoverage":true},{"functionName":"findSignalByNumber","ranges":[{"startOffset":969,"endOffset":1161,"count":65},{"startOffset":1083,"endOffset":1101,"count":31},{"startOffset":1101,"endOffset":1160,"count":34}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1015,"endOffset":1057,"count":2919}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1123,"endOffset":1157,"count":1881}],"isBlockCoverage":true}]},{"scriptId":"642","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":746,"count":1}],"isBlockCoverage":true},{"functionName":"isStream","ranges":[{"startOffset":7,"endOffset":132,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":141,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":332,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexStream","ranges":[{"startOffset":522,"endOffset":621,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":630,"endOffset":745,"count":0}],"isBlockCoverage":false}]},{"scriptId":"643","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/realtime.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":353,"count":1}],"isBlockCoverage":true},{"functionName":"getRealtimeSignals","ranges":[{"startOffset":33,"endOffset":121,"count":2}],"isBlockCoverage":true},{"functionName":"getRealtimeSignal","ranges":[{"startOffset":148,"endOffset":306,"count":62}],"isBlockCoverage":true}]},{"scriptId":"644","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1}],"isBlockCoverage":true},{"functionName":"getSignals","ranges":[{"startOffset":139,"endOffset":274,"count":2}],"isBlockCoverage":true},{"functionName":"normalizeSignal","ranges":[{"startOffset":305,"endOffset":602,"count":138},{"startOffset":504,"endOffset":519,"count":66},{"startOffset":519,"endOffset":533,"count":72}],"isBlockCoverage":true}]},{"scriptId":"645","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4126,"count":1}],"isBlockCoverage":true}]},{"scriptId":"646","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1}],"isBlockCoverage":true},{"functionName":"spawn","ranges":[{"startOffset":131,"endOffset":589,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":591,"endOffset":1038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"647","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3065,"count":1}],"isBlockCoverage":true},{"functionName":"detectShebang","ranges":[{"startOffset":354,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"parseNonShell","ranges":[{"startOffset":661,"endOffset":2367,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":2369,"endOffset":3039,"count":0}],"isBlockCoverage":false}]},{"scriptId":"648","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/resolveCommand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1557,"count":1}],"isBlockCoverage":true},{"functionName":"resolveCommandAttempt","ranges":[{"startOffset":118,"endOffset":1404,"count":0}],"isBlockCoverage":false},{"functionName":"resolveCommand","ranges":[{"startOffset":1406,"endOffset":1522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"649","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/which/which.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3163,"count":1},{"startOffset":177,"endOffset":182,"count":0}],"isBlockCoverage":true},{"functionName":"getNotFoundError","ranges":[{"startOffset":246,"endOffset":322,"count":0}],"isBlockCoverage":false},{"functionName":"getPathInfo","ranges":[{"startOffset":344,"endOffset":1152,"count":0}],"isBlockCoverage":false},{"functionName":"which","ranges":[{"startOffset":1168,"endOffset":2279,"count":0}],"isBlockCoverage":false},{"functionName":"whichSync","ranges":[{"startOffset":2299,"endOffset":3115,"count":0}],"isBlockCoverage":false}]},{"scriptId":"650","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1},{"startOffset":92,"endOffset":128,"count":0}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":211,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":930,"endOffset":1191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"651","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/mode.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":909,"count":1}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":66,"endOffset":197,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":199,"endOffset":279,"count":0}],"isBlockCoverage":false},{"functionName":"checkStat","ranges":[{"startOffset":281,"endOffset":370,"count":0}],"isBlockCoverage":false},{"functionName":"checkMode","ranges":[{"startOffset":372,"endOffset":908,"count":0}],"isBlockCoverage":false}]},{"scriptId":"652","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":415,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":31,"endOffset":304,"count":0}],"isBlockCoverage":false}]},{"scriptId":"653","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/escape.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"escapeCommand","ranges":[{"startOffset":121,"endOffset":241,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArgument","ranges":[{"startOffset":243,"endOffset":1088,"count":0}],"isBlockCoverage":false}]},{"scriptId":"654","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/readShebang.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":549,"count":1}],"isBlockCoverage":true},{"functionName":"readShebang","ranges":[{"startOffset":93,"endOffset":517,"count":0}],"isBlockCoverage":false}]},{"scriptId":"655","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-command/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":387,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":79,"endOffset":385,"count":0}],"isBlockCoverage":false}]},{"scriptId":"656","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":42,"count":1}],"isBlockCoverage":true}]},{"scriptId":"657","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/enoent.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1480,"count":1}],"isBlockCoverage":true},{"functionName":"notFoundError","ranges":[{"startOffset":60,"endOffset":358,"count":0}],"isBlockCoverage":false},{"functionName":"hookChildProcess","ranges":[{"startOffset":360,"endOffset":1023,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENT","ranges":[{"startOffset":1025,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENTSync","ranges":[{"startOffset":1197,"endOffset":1375,"count":0}],"isBlockCoverage":false}]},{"scriptId":"658","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5708,"count":1},{"startOffset":778,"endOffset":844,"count":0},{"startOffset":1059,"endOffset":1089,"count":0},{"startOffset":1144,"endOffset":1195,"count":0}],"isBlockCoverage":true},{"functionName":"processOk","ranges":[{"startOffset":293,"endOffset":677,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":799,"endOffset":842,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1703,"endOffset":2301,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2318,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2724,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3001,"endOffset":3890,"count":18}],"isBlockCoverage":true},{"functionName":"listener","ranges":[{"startOffset":3042,"endOffset":3886,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.signals","ranges":[{"startOffset":3920,"endOffset":3956,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":3993,"endOffset":4602,"count":0}],"isBlockCoverage":false},{"functionName":"processReallyExit","ranges":[{"startOffset":4712,"endOffset":5108,"count":0}],"isBlockCoverage":false},{"functionName":"processEmit","ranges":[{"startOffset":5171,"endOffset":5705,"count":0}],"isBlockCoverage":false}]},{"scriptId":"659","url":"node:assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31879,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadComparison","ranges":[{"startOffset":2704,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":3469,"endOffset":3517,"count":0}],"isBlockCoverage":false},{"functionName":"innerFail","ranges":[{"startOffset":4071,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":4348,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"findColumn","ranges":[{"startOffset":5445,"endOffset":6385,"count":0}],"isBlockCoverage":false},{"functionName":"getCode","ranges":[{"startOffset":6387,"endOffset":8032,"count":0}],"isBlockCoverage":false},{"functionName":"parseCode","ranges":[{"startOffset":8034,"endOffset":9451,"count":0}],"isBlockCoverage":false},{"functionName":"getErrMessage","ranges":[{"startOffset":9453,"endOffset":12547,"count":0}],"isBlockCoverage":false},{"functionName":"innerOk","ranges":[{"startOffset":12549,"endOffset":13157,"count":2},{"startOffset":12610,"endOffset":13155,"count":0}],"isBlockCoverage":true},{"functionName":"ok","ranges":[{"startOffset":13290,"endOffset":13351,"count":2}],"isBlockCoverage":true},{"functionName":"equal","ranges":[{"startOffset":13610,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"notEqual","ranges":[{"startOffset":14201,"endOffset":14577,"count":0}],"isBlockCoverage":false},{"functionName":"deepEqual","ranges":[{"startOffset":14777,"endOffset":15142,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepEqual","ranges":[{"startOffset":15348,"endOffset":15721,"count":0}],"isBlockCoverage":false},{"functionName":"deepStrictEqual","ranges":[{"startOffset":15964,"endOffset":16353,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepStrictEqual","ranges":[{"startOffset":16602,"endOffset":16999,"count":0}],"isBlockCoverage":false},{"functionName":"strictEqual","ranges":[{"startOffset":17204,"endOffset":17517,"count":0}],"isBlockCoverage":false},{"functionName":"notStrictEqual","ranges":[{"startOffset":17729,"endOffset":18050,"count":0}],"isBlockCoverage":false},{"functionName":"Comparison","ranges":[{"startOffset":18074,"endOffset":18456,"count":0}],"isBlockCoverage":false},{"functionName":"compareExceptionKey","ranges":[{"startOffset":18460,"endOffset":19179,"count":0}],"isBlockCoverage":false},{"functionName":"expectedException","ranges":[{"startOffset":19181,"endOffset":22585,"count":0}],"isBlockCoverage":false},{"functionName":"getActual","ranges":[{"startOffset":22587,"endOffset":22727,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsPromise","ranges":[{"startOffset":22729,"endOffset":23093,"count":0}],"isBlockCoverage":false},{"functionName":"waitForActual","ranges":[{"startOffset":23095,"endOffset":23809,"count":0}],"isBlockCoverage":false},{"functionName":"expectsError","ranges":[{"startOffset":23811,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"hasMatchingError","ranges":[{"startOffset":25430,"endOffset":26048,"count":0}],"isBlockCoverage":false},{"functionName":"expectsNoError","ranges":[{"startOffset":26050,"endOffset":26701,"count":0}],"isBlockCoverage":false},{"functionName":"throws","ranges":[{"startOffset":26859,"endOffset":26953,"count":0}],"isBlockCoverage":false},{"functionName":"rejects","ranges":[{"startOffset":27132,"endOffset":27244,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotThrow","ranges":[{"startOffset":27406,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotReject","ranges":[{"startOffset":27666,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"ifError","ranges":[{"startOffset":27906,"endOffset":29695,"count":0}],"isBlockCoverage":false},{"functionName":"internalMatch","ranges":[{"startOffset":29698,"endOffset":30781,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":30977,"endOffset":31069,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotMatch","ranges":[{"startOffset":31277,"endOffset":31383,"count":0}],"isBlockCoverage":false},{"functionName":"strict","ranges":[{"startOffset":31574,"endOffset":31643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"660","url":"node:internal/assert/assertion_error","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17104,"count":1}],"isBlockCoverage":false},{"functionName":"copyError","ranges":[{"startOffset":1449,"endOffset":1743,"count":0}],"isBlockCoverage":false},{"functionName":"inspectValue","ranges":[{"startOffset":1745,"endOffset":2353,"count":0}],"isBlockCoverage":false},{"functionName":"createErrDiff","ranges":[{"startOffset":2355,"endOffset":11091,"count":0}],"isBlockCoverage":false},{"functionName":"addEllipsis","ranges":[{"startOffset":11093,"endOffset":11396,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":11437,"endOffset":16133,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16137,"endOffset":16212,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16216,"endOffset":17067,"count":0}],"isBlockCoverage":false}]},{"scriptId":"661","url":"node:internal/util/colors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1122,"count":1}],"isBlockCoverage":false},{"functionName":"lazyInternalTTY","ranges":[{"startOffset":32,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"shouldColorize","ranges":[{"startOffset":244,"endOffset":504,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":508,"endOffset":1090,"count":1},{"startOffset":550,"endOffset":1086,"count":0}],"isBlockCoverage":true}]},{"scriptId":"662","url":"node:internal/assert/calltracker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3452,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":462,"endOffset":1495,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1497,"endOffset":3420,"count":0}],"isBlockCoverage":false}]},{"scriptId":"663","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1295,"count":1}],"isBlockCoverage":true}]},{"scriptId":"664","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1489,"count":1}],"isBlockCoverage":true},{"functionName":"MaxBufferError","ranges":[{"startOffset":292,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"getStream","ranges":[{"startOffset":377,"endOffset":1223,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.buffer","ranges":[{"startOffset":1277,"endOffset":1349,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.array","ranges":[{"startOffset":1374,"endOffset":1439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"665","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/buffer-stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":894,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":92,"endOffset":892,"count":0}],"isBlockCoverage":false}]},{"scriptId":"666","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":885,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":76,"endOffset":884,"count":0}],"isBlockCoverage":false}]},{"scriptId":"667","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/integration/process-test.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5190,"count":1}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":70,"endOffset":151,"count":1},{"startOffset":122,"endOffset":127,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":476,"endOffset":1105,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":526,"endOffset":875,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1184,"endOffset":1690,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1234,"endOffset":1467,"count":1}],"isBlockCoverage":true},{"functionName":"onStderr","ranges":[{"startOffset":1566,"endOffset":1592,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1768,"endOffset":2792,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1818,"endOffset":2299,"count":1},{"startOffset":2175,"endOffset":2268,"count":5}],"isBlockCoverage":true},{"functionName":"onProgress","ranges":[{"startOffset":2403,"endOffset":2426,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2873,"endOffset":4339,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2923,"endOffset":3835,"count":1},{"startOffset":3711,"endOffset":3804,"count":11}],"isBlockCoverage":true},{"functionName":"onCodecData","ranges":[{"startOffset":3943,"endOffset":3965,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4431,"endOffset":5147,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4481,"endOffset":4830,"count":1}],"isBlockCoverage":true}]},{"scriptId":"668","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/entrypoints/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":66,"count":1}],"isBlockCoverage":true}]},{"scriptId":"669","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/main.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":277,"count":1}],"isBlockCoverage":true}]},{"scriptId":"670","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/worker/guard-environment.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1},{"startOffset":271,"endOffset":602,"count":0}],"isBlockCoverage":true}]},{"scriptId":"671","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/process.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4862,"count":1}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":70,"endOffset":151,"count":1},{"startOffset":128,"endOffset":148,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":473,"endOffset":4787,"count":5}],"isBlockCoverage":true},{"functionName":"FfmpegProcess","ranges":[{"startOffset":642,"endOffset":1129,"count":5}],"isBlockCoverage":true},{"functionName":"#validateOptions","ranges":[{"startOffset":1134,"endOffset":1316,"count":5},{"startOffset":1185,"endOffset":1206,"count":0},{"startOffset":1208,"endOffset":1310,"count":0}],"isBlockCoverage":true},{"functionName":"run","ranges":[{"startOffset":1419,"endOffset":4785,"count":5},{"startOffset":1605,"endOffset":1623,"count":0},{"startOffset":1624,"endOffset":1648,"count":0},{"startOffset":1650,"endOffset":1750,"count":0},{"startOffset":4654,"endOffset":4755,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1785,"endOffset":4629,"count":5},{"startOffset":2131,"endOffset":2191,"count":1},{"startOffset":2220,"endOffset":2480,"count":1},{"startOffset":2510,"endOffset":2788,"count":1},{"startOffset":3696,"endOffset":4096,"count":0},{"startOffset":4211,"endOffset":4479,"count":0},{"startOffset":4521,"endOffset":4619,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2256,"endOffset":2464,"count":5},{"startOffset":2375,"endOffset":2446,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2625,"endOffset":2772,"count":11},{"startOffset":2678,"endOffset":2754,"count":7}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2819,"endOffset":2839,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2872,"endOffset":3659,"count":5},{"startOffset":2984,"endOffset":3085,"count":0},{"startOffset":3117,"endOffset":3449,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3795,"endOffset":3945,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4071,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4133,"endOffset":4173,"count":22}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4313,"endOffset":4463,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4563,"endOffset":4603,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4681,"endOffset":4713,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4715,"endOffset":4743,"count":0}],"isBlockCoverage":false}]},{"scriptId":"672","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/platform.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":219,"count":1}],"isBlockCoverage":true}]},{"scriptId":"673","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/parsing.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7594,"count":1}],"isBlockCoverage":true},{"functionName":"extractErrorMessage","ranges":[{"startOffset":461,"endOffset":881,"count":0}],"isBlockCoverage":false},{"functionName":"extractProgress","ranges":[{"startOffset":1075,"endOffset":1940,"count":5},{"startOffset":1233,"endOffset":1917,"count":14},{"startOffset":1315,"endOffset":1381,"count":3},{"startOffset":1381,"endOffset":1410,"count":11},{"startOffset":1410,"endOffset":1426,"count":9},{"startOffset":1428,"endOffset":1482,"count":4},{"startOffset":1482,"endOffset":1911,"count":7},{"startOffset":1519,"endOffset":1599,"count":2},{"startOffset":1599,"endOffset":1911,"count":5},{"startOffset":1652,"endOffset":1724,"count":1},{"startOffset":1724,"endOffset":1911,"count":4},{"startOffset":1758,"endOffset":1911,"count":2},{"startOffset":1917,"endOffset":1939,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1984,"endOffset":3697,"count":1}],"isBlockCoverage":true},{"functionName":"CodecDataExtractor","ranges":[{"startOffset":2075,"endOffset":2246,"count":1}],"isBlockCoverage":true},{"functionName":"processLine","ranges":[{"startOffset":2321,"endOffset":3695,"count":7},{"startOffset":2431,"endOffset":2615,"count":1},{"startOffset":2615,"endOffset":2642,"count":6},{"startOffset":2642,"endOffset":3430,"count":5},{"startOffset":2744,"endOffset":2852,"count":1},{"startOffset":2852,"endOffset":2949,"count":4},{"startOffset":2949,"endOffset":3136,"count":1},{"startOffset":3136,"endOffset":3233,"count":3},{"startOffset":3233,"endOffset":3420,"count":1},{"startOffset":3430,"endOffset":3482,"count":3},{"startOffset":3482,"endOffset":3527,"count":0},{"startOffset":3527,"endOffset":3576,"count":3},{"startOffset":3576,"endOffset":3689,"count":1}],"isBlockCoverage":true},{"functionName":"parseCodecType","ranges":[{"startOffset":3747,"endOffset":3991,"count":0}],"isBlockCoverage":false},{"functionName":"extractCodecs","ranges":[{"startOffset":3992,"endOffset":5460,"count":0}],"isBlockCoverage":false},{"functionName":"extractFormats","ranges":[{"startOffset":5500,"endOffset":5911,"count":0}],"isBlockCoverage":false},{"functionName":"parseFilterStreams","ranges":[{"startOffset":5953,"endOffset":6199,"count":0}],"isBlockCoverage":false},{"functionName":"extractFilters","ranges":[{"startOffset":6200,"endOffset":6670,"count":0}],"isBlockCoverage":false},{"functionName":"parseEncoderType","ranges":[{"startOffset":6712,"endOffset":6862,"count":0}],"isBlockCoverage":false},{"functionName":"extractEncoders","ranges":[{"startOffset":6863,"endOffset":7515,"count":0}],"isBlockCoverage":false}]},{"scriptId":"674","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1322,"count":1}],"isBlockCoverage":true}]},{"scriptId":"675","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/line-buffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1846,"count":1}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":70,"endOffset":151,"count":1},{"startOffset":122,"endOffset":127,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":317,"endOffset":1776,"count":10}],"isBlockCoverage":true},{"functionName":"LineBuffer","ranges":[{"startOffset":412,"endOffset":537,"count":10}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":542,"endOffset":1432,"count":24},{"startOffset":583,"endOffset":647,"count":0},{"startOffset":778,"endOffset":914,"count":0},{"startOffset":973,"endOffset":1175,"count":4}],"isBlockCoverage":true},{"functionName":"close","ranges":[{"startOffset":1437,"endOffset":1713,"count":10},{"startOffset":1473,"endOffset":1537,"count":0},{"startOffset":1569,"endOffset":1678,"count":4}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":1718,"endOffset":1774,"count":10}],"isBlockCoverage":true}]},{"scriptId":"676","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/helpers/spawn-stub.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1014,"count":1}],"isBlockCoverage":true},{"functionName":"__importDefault","ranges":[{"startOffset":70,"endOffset":151,"count":3},{"startOffset":122,"endOffset":127,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":435,"endOffset":707,"count":5}],"isBlockCoverage":true},{"functionName":"FakeProcess","ranges":[{"startOffset":573,"endOffset":705,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":663,"endOffset":684,"count":5}],"isBlockCoverage":true},{"functionName":"stubSpawn","ranges":[{"startOffset":708,"endOffset":944,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":893,"endOffset":918,"count":5}],"isBlockCoverage":true}]},{"scriptId":"677","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":95,"count":1}],"isBlockCoverage":true}]},{"scriptId":"678","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/create-sinon-api.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1852,"count":1}],"isBlockCoverage":true},{"functionName":"createApi","ranges":[{"startOffset":603,"endOffset":1850,"count":1}],"isBlockCoverage":true},{"functionName":"addBehavior","ranges":[{"startOffset":1632,"endOffset":1713,"count":0}],"isBlockCoverage":false}]},{"scriptId":"679","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/behavior.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8357,"count":1}],"isBlockCoverage":true},{"functionName":"getCallback","ranges":[{"startOffset":581,"endOffset":1382,"count":0}],"isBlockCoverage":false},{"functionName":"getCallbackError","ranges":[{"startOffset":1384,"endOffset":2109,"count":0}],"isBlockCoverage":false},{"functionName":"ensureArgs","ranges":[{"startOffset":2111,"endOffset":2527,"count":0}],"isBlockCoverage":false},{"functionName":"callCallback","ranges":[{"startOffset":2529,"endOffset":3263,"count":5},{"startOffset":2617,"endOffset":3238,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2903,"endOffset":3071,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":3293,"endOffset":3692,"count":5},{"startOffset":3534,"endOffset":3572,"count":0},{"startOffset":3574,"endOffset":3660,"count":0}],"isBlockCoverage":true},{"functionName":"isPresent","ranges":[{"startOffset":3710,"endOffset":4165,"count":0}],"isBlockCoverage":false},{"functionName":"invoke","ranges":[{"startOffset":4221,"endOffset":6665,"count":5},{"startOffset":4540,"endOffset":4585,"count":0},{"startOffset":4618,"endOffset":4764,"count":0},{"startOffset":4812,"endOffset":4916,"count":0},{"startOffset":4943,"endOffset":4982,"count":0},{"startOffset":5029,"endOffset":5130,"count":0},{"startOffset":5153,"endOffset":5217,"count":0},{"startOffset":5266,"endOffset":5445,"count":0},{"startOffset":5473,"endOffset":5554,"count":0},{"startOffset":5578,"endOffset":5668,"count":0},{"startOffset":5691,"endOffset":5780,"count":0},{"startOffset":5809,"endOffset":5941,"count":0},{"startOffset":5977,"endOffset":6437,"count":0},{"startOffset":6536,"endOffset":6664,"count":0}],"isBlockCoverage":true},{"functionName":"effectiveWrappedMethod","ranges":[{"startOffset":6696,"endOffset":6969,"count":0}],"isBlockCoverage":false},{"functionName":"onCall","ranges":[{"startOffset":6984,"endOffset":7054,"count":0}],"isBlockCoverage":false},{"functionName":"onFirstCall","ranges":[{"startOffset":7074,"endOffset":7144,"count":0}],"isBlockCoverage":false},{"functionName":"onSecondCall","ranges":[{"startOffset":7165,"endOffset":7237,"count":0}],"isBlockCoverage":false},{"functionName":"onThirdCall","ranges":[{"startOffset":7257,"endOffset":7327,"count":0}],"isBlockCoverage":false},{"functionName":"withArgs","ranges":[{"startOffset":7344,"endOffset":7659,"count":0}],"isBlockCoverage":false},{"functionName":"createBehavior","ranges":[{"startOffset":7665,"endOffset":7956,"count":35}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7718,"endOffset":7953,"count":5}],"isBlockCoverage":true},{"functionName":"addBehavior","ranges":[{"startOffset":7958,"endOffset":8169,"count":35}],"isBlockCoverage":true},{"functionName":"proto.","ranges":[{"startOffset":8015,"endOffset":8126,"count":5},{"startOffset":8112,"endOffset":8119,"count":0}],"isBlockCoverage":true}]},{"scriptId":"680","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":457,"count":1}],"isBlockCoverage":true}]},{"scriptId":"681","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":386,"count":1},{"startOffset":216,"endOffset":353,"count":0}],"isBlockCoverage":true}]},{"scriptId":"682","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/called-in-order.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1445,"count":1}],"isBlockCoverage":true},{"functionName":"hasCallsLeft","ranges":[{"startOffset":85,"endOffset":245,"count":0}],"isBlockCoverage":false},{"functionName":"checkAdjacentCalls","ranges":[{"startOffset":267,"endOffset":602,"count":0}],"isBlockCoverage":false},{"functionName":"calledInOrder","ranges":[{"startOffset":1177,"endOffset":1411,"count":0}],"isBlockCoverage":false}]},{"scriptId":"683","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true}]},{"scriptId":"684","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype-methods.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1010,"count":1},{"startOffset":423,"endOffset":470,"count":0}],"isBlockCoverage":true},{"functionName":"copyPrototypeMethods","ranges":[{"startOffset":489,"endOffset":1008,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":671,"endOffset":979,"count":134},{"startOffset":768,"endOffset":806,"count":4},{"startOffset":806,"endOffset":859,"count":130},{"startOffset":859,"endOffset":897,"count":5},{"startOffset":897,"endOffset":978,"count":125}],"isBlockCoverage":true}]},{"scriptId":"685","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/throws-on-proto.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":749,"count":1},{"startOffset":488,"endOffset":715,"count":0}],"isBlockCoverage":true}]},{"scriptId":"686","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/class-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":921,"count":1}],"isBlockCoverage":true},{"functionName":"className","ranges":[{"startOffset":221,"endOffset":891,"count":0}],"isBlockCoverage":false}]},{"scriptId":"687","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/function-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":818,"count":1}],"isBlockCoverage":true},{"functionName":"functionName","ranges":[{"startOffset":132,"endOffset":816,"count":5},{"startOffset":177,"endOffset":203,"count":0},{"startOffset":286,"endOffset":639,"count":0},{"startOffset":657,"endOffset":814,"count":0}],"isBlockCoverage":true}]},{"scriptId":"688","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/deprecated.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1363,"count":1}],"isBlockCoverage":true},{"functionName":"exports.wrap","ranges":[{"startOffset":282,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"exports.defaultMsg","ranges":[{"startOffset":774,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"exports.printWarning","ranges":[{"startOffset":1080,"endOffset":1361,"count":0}],"isBlockCoverage":false}]},{"scriptId":"689","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/every.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":666,"count":1}],"isBlockCoverage":true},{"functionName":"every","ranges":[{"startOffset":241,"endOffset":664,"count":0}],"isBlockCoverage":false}]},{"scriptId":"690","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/order-by-first-call.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":817,"count":1}],"isBlockCoverage":true},{"functionName":"comparator","ranges":[{"startOffset":132,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"orderByFirstCall","ranges":[{"startOffset":701,"endOffset":780,"count":0}],"isBlockCoverage":false}]},{"scriptId":"691","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":225,"count":1}],"isBlockCoverage":true}]},{"scriptId":"692","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":125,"count":1}],"isBlockCoverage":true}]},{"scriptId":"693","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"694","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"695","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"696","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/prototypes/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"697","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/type-of.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":266,"count":1}],"isBlockCoverage":true},{"functionName":"typeOf","ranges":[{"startOffset":200,"endOffset":264,"count":0}],"isBlockCoverage":false}]},{"scriptId":"698","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/type-detect/type-detect.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15484,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1,"endOffset":222,"count":1},{"startOffset":121,"endOffset":219,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":230,"endOffset":15479,"count":1},{"startOffset":483,"endOffset":489,"count":0}],"isBlockCoverage":true},{"functionName":"typeDetect","ranges":[{"startOffset":2073,"endOffset":15456,"count":26},{"startOffset":2955,"endOffset":4234,"count":0},{"startOffset":4239,"endOffset":4470,"count":0},{"startOffset":4472,"endOffset":10539,"count":0},{"startOffset":10579,"endOffset":11817,"count":0},{"startOffset":11819,"endOffset":12087,"count":0},{"startOffset":12089,"endOffset":12353,"count":0},{"startOffset":12355,"endOffset":12627,"count":0},{"startOffset":12629,"endOffset":12905,"count":0},{"startOffset":12907,"endOffset":13323,"count":0},{"startOffset":13325,"endOffset":13739,"count":0},{"startOffset":13741,"endOffset":14159,"count":0},{"startOffset":14161,"endOffset":14599,"count":0},{"startOffset":14601,"endOffset":15046,"count":0},{"startOffset":15048,"endOffset":15455,"count":0}],"isBlockCoverage":true}]},{"scriptId":"699","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/commons/lib/value-to-string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"valueToString","ranges":[{"startOffset":116,"endOffset":336,"count":0}],"isBlockCoverage":false}]},{"scriptId":"700","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/extend.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5018,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":360,"endOffset":1294,"count":1},{"startOffset":1149,"endOffset":1246,"count":10}],"isBlockCoverage":true},{"functionName":"constructor","ranges":[{"startOffset":413,"endOffset":460,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":480,"endOffset":527,"count":1}],"isBlockCoverage":true},{"functionName":"valueOf","ranges":[{"startOffset":546,"endOffset":593,"count":1}],"isBlockCoverage":true},{"functionName":"toLocaleString","ranges":[{"startOffset":619,"endOffset":666,"count":1}],"isBlockCoverage":true},{"functionName":"prototype","ranges":[{"startOffset":687,"endOffset":734,"count":1}],"isBlockCoverage":true},{"functionName":"isPrototypeOf","ranges":[{"startOffset":759,"endOffset":806,"count":1}],"isBlockCoverage":true},{"functionName":"propertyIsEnumerable","ranges":[{"startOffset":838,"endOffset":885,"count":1}],"isBlockCoverage":true},{"functionName":"hasOwnProperty","ranges":[{"startOffset":911,"endOffset":958,"count":1}],"isBlockCoverage":true},{"functionName":"length","ranges":[{"startOffset":976,"endOffset":1023,"count":1}],"isBlockCoverage":true},{"functionName":"unique","ranges":[{"startOffset":1041,"endOffset":1088,"count":1}],"isBlockCoverage":true},{"functionName":"extendCommon","ranges":[{"startOffset":1386,"endOffset":2115,"count":51},{"startOffset":1502,"endOffset":2093,"count":53},{"startOffset":1563,"endOffset":1682,"count":910},{"startOffset":1918,"endOffset":1967,"count":0},{"startOffset":1968,"endOffset":2018,"count":0},{"startOffset":2029,"endOffset":2087,"count":0}],"isBlockCoverage":true},{"functionName":"extend","ranges":[{"startOffset":2500,"endOffset":4246,"count":15}],"isBlockCoverage":true},{"functionName":"copyValue","ranges":[{"startOffset":2604,"endOffset":4236,"count":304},{"startOffset":2958,"endOffset":2996,"count":0},{"startOffset":2998,"endOffset":3037,"count":0},{"startOffset":3787,"endOffset":4166,"count":0}],"isBlockCoverage":true},{"functionName":"extendNonEnum","ranges":[{"startOffset":4638,"endOffset":5016,"count":36}],"isBlockCoverage":true},{"functionName":"copyProperty","ranges":[{"startOffset":4749,"endOffset":5006,"count":606}],"isBlockCoverage":true}]},{"scriptId":"701","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/next-tick.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":200,"count":1}],"isBlockCoverage":true}]},{"scriptId":"702","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/get-next-tick.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":430,"count":1}],"isBlockCoverage":true},{"functionName":"nextTick","ranges":[{"startOffset":78,"endOffset":138,"count":0}],"isBlockCoverage":false},{"functionName":"getNextTick","ranges":[{"startOffset":157,"endOffset":428,"count":1},{"startOffset":322,"endOffset":427,"count":0}],"isBlockCoverage":true}]},{"scriptId":"703","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/export-async-behaviors.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":825,"count":1}],"isBlockCoverage":true},{"functionName":"exportAsyncBehaviors","ranges":[{"startOffset":132,"endOffset":823,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":246,"endOffset":801,"count":37},{"startOffset":416,"endOffset":441,"count":9},{"startOffset":443,"endOffset":767,"count":9}],"isBlockCoverage":true},{"functionName":"acc.","ranges":[{"startOffset":485,"endOffset":752,"count":0}],"isBlockCoverage":false}]},{"scriptId":"704","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/create-sandbox.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3309,"count":1}],"isBlockCoverage":true},{"functionName":"prepareSandboxFromConfig","ranges":[{"startOffset":186,"endOffset":741,"count":0}],"isBlockCoverage":false},{"functionName":"exposeValue","ranges":[{"startOffset":743,"endOffset":1032,"count":0}],"isBlockCoverage":false},{"functionName":"createSandbox","ranges":[{"startOffset":2546,"endOffset":3275,"count":0}],"isBlockCoverage":false}]},{"scriptId":"705","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/sandbox.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15328,"count":1}],"isBlockCoverage":true},{"functionName":"applyOnEach","ranges":[{"startOffset":1113,"endOffset":1347,"count":0}],"isBlockCoverage":false},{"functionName":"throwOnAccessors","ranges":[{"startOffset":1349,"endOffset":1651,"count":0}],"isBlockCoverage":false},{"functionName":"verifySameType","ranges":[{"startOffset":1653,"endOffset":1929,"count":0}],"isBlockCoverage":false},{"functionName":"checkForValidArguments","ranges":[{"startOffset":1931,"endOffset":2368,"count":0}],"isBlockCoverage":false},{"functionName":"Sandbox","ranges":[{"startOffset":2505,"endOffset":15266,"count":1}],"isBlockCoverage":true},{"functionName":"addToCollection","ranges":[{"startOffset":2779,"endOffset":3266,"count":5},{"startOffset":2888,"endOffset":2921,"count":0},{"startOffset":2932,"endOffset":3260,"count":0}],"isBlockCoverage":true},{"functionName":"getFakes","ranges":[{"startOffset":3435,"endOffset":3489,"count":0}],"isBlockCoverage":false},{"functionName":"createStubInstance","ranges":[{"startOffset":3525,"endOffset":3865,"count":0}],"isBlockCoverage":false},{"functionName":"inject","ranges":[{"startOffset":3889,"endOffset":5162,"count":0}],"isBlockCoverage":false},{"functionName":"mock","ranges":[{"startOffset":5184,"endOffset":5349,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":5372,"endOffset":5487,"count":0}],"isBlockCoverage":false},{"functionName":"resetBehavior","ranges":[{"startOffset":5518,"endOffset":5600,"count":0}],"isBlockCoverage":false},{"functionName":"resetHistory","ranges":[{"startOffset":5630,"endOffset":5890,"count":0}],"isBlockCoverage":false},{"functionName":"restore","ranges":[{"startOffset":5915,"endOffset":6379,"count":0}],"isBlockCoverage":false},{"functionName":"restoreContext","ranges":[{"startOffset":6411,"endOffset":6681,"count":0}],"isBlockCoverage":false},{"functionName":"getFakeRestorer","ranges":[{"startOffset":6919,"endOffset":7507,"count":0}],"isBlockCoverage":false},{"functionName":"verifyNotReplaced","ranges":[{"startOffset":7513,"endOffset":7920,"count":0}],"isBlockCoverage":false},{"functionName":"replace","ranges":[{"startOffset":8161,"endOffset":8689,"count":0}],"isBlockCoverage":false},{"functionName":"replaceUsingAccessor","ranges":[{"startOffset":8728,"endOffset":9268,"count":0}],"isBlockCoverage":false},{"functionName":"define","ranges":[{"startOffset":9292,"endOffset":10021,"count":0}],"isBlockCoverage":false},{"functionName":"replaceGetter","ranges":[{"startOffset":10052,"endOffset":11110,"count":0}],"isBlockCoverage":false},{"functionName":"replaceSetter","ranges":[{"startOffset":11141,"endOffset":12250,"count":0}],"isBlockCoverage":false},{"functionName":"commonPostInitSetup","ranges":[{"startOffset":12257,"endOffset":13080,"count":5},{"startOffset":12431,"endOffset":12460,"count":0},{"startOffset":12499,"endOffset":12731,"count":0},{"startOffset":12763,"endOffset":12954,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12589,"endOffset":12663,"count":0}],"isBlockCoverage":false},{"functionName":"spy","ranges":[{"startOffset":13100,"endOffset":13245,"count":0}],"isBlockCoverage":false},{"functionName":"stub","ranges":[{"startOffset":13267,"endOffset":13417,"count":5}],"isBlockCoverage":true},{"functionName":"fake","ranges":[{"startOffset":13486,"endOffset":13615,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13654,"endOffset":13977,"count":7}],"isBlockCoverage":true},{"functionName":"sandbox.fake.","ranges":[{"startOffset":13798,"endOffset":13960,"count":0}],"isBlockCoverage":false},{"functionName":"useFakeTimers","ranges":[{"startOffset":14009,"endOffset":14197,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":14221,"endOffset":14289,"count":0}],"isBlockCoverage":false},{"functionName":"verifyAndRestore","ranges":[{"startOffset":14323,"endOffset":14578,"count":0}],"isBlockCoverage":false},{"functionName":"useFakeServer","ranges":[{"startOffset":14609,"endOffset":14892,"count":0}],"isBlockCoverage":false},{"functionName":"useFakeXMLHttpRequest","ranges":[{"startOffset":14931,"endOffset":15074,"count":0}],"isBlockCoverage":false},{"functionName":"usingPromise","ranges":[{"startOffset":15104,"endOffset":15263,"count":0}],"isBlockCoverage":false}]},{"scriptId":"706","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/collect-own-methods.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":787,"count":1}],"isBlockCoverage":true},{"functionName":"collectMethod","ranges":[{"startOffset":289,"endOffset":524,"count":0}],"isBlockCoverage":false},{"functionName":"collectOwnMethods","ranges":[{"startOffset":604,"endOffset":749,"count":0}],"isBlockCoverage":false}]},{"scriptId":"707","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/walk.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1830,"count":1}],"isBlockCoverage":true},{"functionName":"walkInternal","ranges":[{"startOffset":86,"endOffset":1078,"count":0}],"isBlockCoverage":false},{"functionName":"walk","ranges":[{"startOffset":1729,"endOffset":1828,"count":0}],"isBlockCoverage":false}]},{"scriptId":"708","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/get-property-descriptor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1367,"count":1}],"isBlockCoverage":true},{"functionName":"getPropertyDescriptor","ranges":[{"startOffset":876,"endOffset":1325,"count":25},{"startOffset":1183,"endOffset":1236,"count":0}],"isBlockCoverage":true}]},{"scriptId":"709","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/is-property-configurable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":319,"count":1}],"isBlockCoverage":true},{"functionName":"isPropertyConfigurable","ranges":[{"startOffset":84,"endOffset":276,"count":0}],"isBlockCoverage":false}]},{"scriptId":"710","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/samsam.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":665,"count":1}],"isBlockCoverage":true}]},{"scriptId":"711","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/identical.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1000,"count":1}],"isBlockCoverage":true},{"functionName":"identical","ranges":[{"startOffset":788,"endOffset":970,"count":0}],"isBlockCoverage":false}]},{"scriptId":"712","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-nan.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":466,"count":1}],"isBlockCoverage":true},{"functionName":"isNaN","ranges":[{"startOffset":167,"endOffset":440,"count":0}],"isBlockCoverage":false}]},{"scriptId":"713","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-neg-zero.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":306,"count":1}],"isBlockCoverage":true},{"functionName":"isNegZero","ranges":[{"startOffset":196,"endOffset":276,"count":0}],"isBlockCoverage":false}]},{"scriptId":"714","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-arguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":402,"count":1}],"isBlockCoverage":true},{"functionName":"isArguments","ranges":[{"startOffset":293,"endOffset":370,"count":0}],"isBlockCoverage":false}]},{"scriptId":"715","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/get-class.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":499,"count":1}],"isBlockCoverage":true},{"functionName":"getClass","ranges":[{"startOffset":396,"endOffset":470,"count":0}],"isBlockCoverage":false}]},{"scriptId":"716","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":457,"count":1}],"isBlockCoverage":true}]},{"scriptId":"717","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":386,"count":1},{"startOffset":216,"endOffset":353,"count":0}],"isBlockCoverage":true}]},{"scriptId":"718","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/called-in-order.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1445,"count":1}],"isBlockCoverage":true},{"functionName":"hasCallsLeft","ranges":[{"startOffset":85,"endOffset":245,"count":0}],"isBlockCoverage":false},{"functionName":"checkAdjacentCalls","ranges":[{"startOffset":267,"endOffset":602,"count":0}],"isBlockCoverage":false},{"functionName":"calledInOrder","ranges":[{"startOffset":1177,"endOffset":1411,"count":0}],"isBlockCoverage":false}]},{"scriptId":"719","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true}]},{"scriptId":"720","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype-methods.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1010,"count":1},{"startOffset":423,"endOffset":470,"count":0}],"isBlockCoverage":true},{"functionName":"copyPrototypeMethods","ranges":[{"startOffset":489,"endOffset":1008,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":671,"endOffset":979,"count":134},{"startOffset":768,"endOffset":806,"count":4},{"startOffset":806,"endOffset":859,"count":130},{"startOffset":859,"endOffset":897,"count":5},{"startOffset":897,"endOffset":978,"count":125}],"isBlockCoverage":true}]},{"scriptId":"721","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/throws-on-proto.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":749,"count":1},{"startOffset":488,"endOffset":715,"count":0}],"isBlockCoverage":true}]},{"scriptId":"722","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/class-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":921,"count":1}],"isBlockCoverage":true},{"functionName":"className","ranges":[{"startOffset":221,"endOffset":891,"count":0}],"isBlockCoverage":false}]},{"scriptId":"723","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/function-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":818,"count":1}],"isBlockCoverage":true},{"functionName":"functionName","ranges":[{"startOffset":132,"endOffset":816,"count":0}],"isBlockCoverage":false}]},{"scriptId":"724","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/deprecated.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1363,"count":1}],"isBlockCoverage":true},{"functionName":"exports.wrap","ranges":[{"startOffset":282,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"exports.defaultMsg","ranges":[{"startOffset":774,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"exports.printWarning","ranges":[{"startOffset":1080,"endOffset":1361,"count":0}],"isBlockCoverage":false}]},{"scriptId":"725","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/every.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":666,"count":1}],"isBlockCoverage":true},{"functionName":"every","ranges":[{"startOffset":241,"endOffset":664,"count":0}],"isBlockCoverage":false}]},{"scriptId":"726","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/order-by-first-call.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":817,"count":1}],"isBlockCoverage":true},{"functionName":"comparator","ranges":[{"startOffset":132,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"orderByFirstCall","ranges":[{"startOffset":701,"endOffset":780,"count":0}],"isBlockCoverage":false}]},{"scriptId":"727","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":225,"count":1}],"isBlockCoverage":true}]},{"scriptId":"728","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":125,"count":1}],"isBlockCoverage":true}]},{"scriptId":"729","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"730","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"731","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"732","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/prototypes/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"733","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/type-of.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":266,"count":1}],"isBlockCoverage":true},{"functionName":"typeOf","ranges":[{"startOffset":200,"endOffset":264,"count":26}],"isBlockCoverage":true}]},{"scriptId":"734","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons/lib/value-to-string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"valueToString","ranges":[{"startOffset":116,"endOffset":336,"count":0}],"isBlockCoverage":false}]},{"scriptId":"735","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-element.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":769,"count":1},{"startOffset":57,"endOffset":89,"count":0}],"isBlockCoverage":true},{"functionName":"isElement","ranges":[{"startOffset":490,"endOffset":739,"count":0}],"isBlockCoverage":false}]},{"scriptId":"736","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":391,"count":1}],"isBlockCoverage":true},{"functionName":"isSet","ranges":[{"startOffset":270,"endOffset":365,"count":0}],"isBlockCoverage":false}]},{"scriptId":"737","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":316,"count":1}],"isBlockCoverage":true},{"functionName":"isMap","ranges":[{"startOffset":202,"endOffset":290,"count":0}],"isBlockCoverage":false}]},{"scriptId":"738","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/match.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5517,"count":1}],"isBlockCoverage":true},{"functionName":"arrayContains","ranges":[{"startOffset":874,"endOffset":1419,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":1733,"endOffset":5365,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5434,"endOffset":5489,"count":26}],"isBlockCoverage":true}]},{"scriptId":"739","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/deep-equal.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11169,"count":1}],"isBlockCoverage":true},{"functionName":"deepEqualCyclic","ranges":[{"startOffset":1867,"endOffset":10998,"count":0}],"isBlockCoverage":false},{"functionName":"deepEqualCyclic.use","ranges":[{"startOffset":11022,"endOffset":11132,"count":3}],"isBlockCoverage":true},{"functionName":"deepEqual","ranges":[{"startOffset":11052,"endOffset":11129,"count":0}],"isBlockCoverage":false}]},{"scriptId":"740","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-array-type.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":619,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayType","ranges":[{"startOffset":482,"endOffset":587,"count":0}],"isBlockCoverage":false}]},{"scriptId":"741","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/array-types.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":236,"count":1}],"isBlockCoverage":true}]},{"scriptId":"742","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-date.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":294,"count":1}],"isBlockCoverage":true},{"functionName":"isDate","ranges":[{"startOffset":207,"endOffset":267,"count":0}],"isBlockCoverage":false}]},{"scriptId":"743","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-iterable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":475,"count":1}],"isBlockCoverage":true},{"functionName":"isIterable","ranges":[{"startOffset":261,"endOffset":444,"count":0}],"isBlockCoverage":false}]},{"scriptId":"744","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":965,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":530,"endOffset":936,"count":0}],"isBlockCoverage":false}]},{"scriptId":"745","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/is-subset.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":871,"count":1}],"isBlockCoverage":true},{"functionName":"isSubset","ranges":[{"startOffset":500,"endOffset":842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"746","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12259,"count":1}],"isBlockCoverage":true},{"functionName":"createMatcher","ranges":[{"startOffset":1455,"endOffset":2406,"count":15},{"startOffset":1646,"endOffset":1712,"count":0},{"startOffset":1744,"endOffset":1861,"count":0},{"startOffset":1945,"endOffset":2057,"count":0},{"startOffset":2079,"endOffset":2146,"count":0}],"isBlockCoverage":true},{"functionName":"m.test","ranges":[{"startOffset":1970,"endOffset":2050,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2480,"endOffset":2512,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2561,"endOffset":2634,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2686,"endOffset":2735,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2785,"endOffset":2826,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.same","ranges":[{"startOffset":2860,"endOffset":3017,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.in","ranges":[{"startOffset":3039,"endOffset":3397,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.typeOf","ranges":[{"startOffset":3423,"endOffset":3596,"count":11}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3506,"endOffset":3571,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.instanceOf","ranges":[{"startOffset":3626,"endOffset":4144,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyMatcher","ranges":[{"startOffset":4400,"endOffset":5125,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4473,"endOffset":5122,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5169,"endOffset":5322,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5378,"endOffset":5454,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.hasNested","ranges":[{"startOffset":5494,"endOffset":6073,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.json","ranges":[{"startOffset":6235,"endOffset":6682,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.every","ranges":[{"startOffset":6707,"endOffset":7203,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.some","ranges":[{"startOffset":7227,"endOffset":7726,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.array.deepEquals","ranges":[{"startOffset":7816,"endOffset":8561,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.array.startsWith","ranges":[{"startOffset":8597,"endOffset":8936,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.array.endsWith","ranges":[{"startOffset":8970,"endOffset":9444,"count":0}],"isBlockCoverage":false},{"functionName":"createMatcher.array.contains","ranges":[{"startOffset":9478,"endOffset":9819,"count":0}],"isBlockCoverage":false},{"functionName":"mapDeepEquals","ranges":[{"startOffset":9903,"endOffset":10454,"count":0}],"isBlockCoverage":false},{"functionName":"mapContains","ranges":[{"startOffset":10486,"endOffset":10838,"count":0}],"isBlockCoverage":false},{"functionName":"setDeepEquals","ranges":[{"startOffset":10922,"endOffset":11436,"count":0}],"isBlockCoverage":false},{"functionName":"setContains","ranges":[{"startOffset":11468,"endOffset":11788,"count":0}],"isBlockCoverage":false}]},{"scriptId":"747","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash.get/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":23398,"count":1},{"startOffset":1708,"endOffset":1715,"count":0},{"startOffset":1716,"endOffset":1741,"count":0},{"startOffset":1742,"endOffset":1749,"count":0},{"startOffset":1823,"endOffset":1834,"count":0},{"startOffset":1835,"endOffset":1863,"count":0},{"startOffset":4115,"endOffset":4126,"count":0},{"startOffset":4184,"endOffset":4195,"count":0}],"isBlockCoverage":true},{"functionName":"getValue","ranges":[{"startOffset":2077,"endOffset":2162,"count":2},{"startOffset":2134,"endOffset":2145,"count":0}],"isBlockCoverage":true},{"functionName":"isHostObject","ranges":[{"startOffset":2356,"endOffset":2683,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3004,"endOffset":3156,"count":1},{"startOffset":3054,"endOffset":3072,"count":0},{"startOffset":3073,"endOffset":3100,"count":0},{"startOffset":3122,"endOffset":3148,"count":0}],"isBlockCoverage":true},{"functionName":"Hash","ranges":[{"startOffset":4321,"endOffset":4526,"count":2},{"startOffset":4387,"endOffset":4403,"count":0},{"startOffset":4453,"endOffset":4524,"count":0}],"isBlockCoverage":true},{"functionName":"hashClear","ranges":[{"startOffset":4632,"endOffset":4714,"count":2},{"startOffset":4707,"endOffset":4711,"count":0}],"isBlockCoverage":true},{"functionName":"hashDelete","ranges":[{"startOffset":4995,"endOffset":5076,"count":0}],"isBlockCoverage":false},{"functionName":"hashGet","ranges":[{"startOffset":5259,"endOffset":5490,"count":0}],"isBlockCoverage":false},{"functionName":"hashHas","ranges":[{"startOffset":5725,"endOffset":5860,"count":0}],"isBlockCoverage":false},{"functionName":"hashSet","ranges":[{"startOffset":6089,"endOffset":6242,"count":0}],"isBlockCoverage":false},{"functionName":"ListCache","ranges":[{"startOffset":6564,"endOffset":6774,"count":0}],"isBlockCoverage":false},{"functionName":"listCacheClear","ranges":[{"startOffset":6891,"endOffset":6942,"count":0}],"isBlockCoverage":false},{"functionName":"listCacheDelete","ranges":[{"startOffset":7190,"endOffset":7474,"count":0}],"isBlockCoverage":false},{"functionName":"listCacheGet","ranges":[{"startOffset":7668,"endOffset":7815,"count":0}],"isBlockCoverage":false},{"functionName":"listCacheHas","ranges":[{"startOffset":8061,"endOffset":8139,"count":0}],"isBlockCoverage":false},{"functionName":"listCacheSet","ranges":[{"startOffset":8385,"endOffset":8596,"count":0}],"isBlockCoverage":false},{"functionName":"MapCache","ranges":[{"startOffset":8996,"endOffset":9205,"count":1},{"startOffset":9066,"endOffset":9082,"count":0},{"startOffset":9132,"endOffset":9203,"count":0}],"isBlockCoverage":true},{"functionName":"mapCacheClear","ranges":[{"startOffset":9314,"endOffset":9447,"count":1},{"startOffset":9403,"endOffset":9415,"count":0}],"isBlockCoverage":true},{"functionName":"mapCacheDelete","ranges":[{"startOffset":9687,"endOffset":9766,"count":0}],"isBlockCoverage":false},{"functionName":"mapCacheGet","ranges":[{"startOffset":9952,"endOffset":10022,"count":0}],"isBlockCoverage":false},{"functionName":"mapCacheHas","ranges":[{"startOffset":10260,"endOffset":10330,"count":0}],"isBlockCoverage":false},{"functionName":"mapCacheSet","ranges":[{"startOffset":10567,"endOffset":10659,"count":0}],"isBlockCoverage":false},{"functionName":"assocIndexOf","ranges":[{"startOffset":11154,"endOffset":11322,"count":0}],"isBlockCoverage":false},{"functionName":"baseGet","ranges":[{"startOffset":11575,"endOffset":11862,"count":0}],"isBlockCoverage":false},{"functionName":"baseIsNative","ranges":[{"startOffset":12083,"endOffset":12310,"count":2},{"startOffset":12157,"endOffset":12180,"count":0},{"startOffset":12216,"endOffset":12238,"count":0},{"startOffset":12253,"endOffset":12267,"count":0}],"isBlockCoverage":true},{"functionName":"baseToString","ranges":[{"startOffset":12519,"endOffset":12873,"count":0}],"isBlockCoverage":false},{"functionName":"castPath","ranges":[{"startOffset":13048,"endOffset":13131,"count":0}],"isBlockCoverage":false},{"functionName":"getMapData","ranges":[{"startOffset":13305,"endOffset":13460,"count":0}],"isBlockCoverage":false},{"functionName":"getNative","ranges":[{"startOffset":13706,"endOffset":13828,"count":2},{"startOffset":13814,"endOffset":13825,"count":0}],"isBlockCoverage":true},{"functionName":"isKey","ranges":[{"startOffset":14097,"endOffset":14449,"count":0}],"isBlockCoverage":false},{"functionName":"isKeyable","ranges":[{"startOffset":14652,"endOffset":14851,"count":0}],"isBlockCoverage":false},{"functionName":"isMasked","ranges":[{"startOffset":15040,"endOffset":15114,"count":2},{"startOffset":15088,"endOffset":15111,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15315,"endOffset":15618,"count":0}],"isBlockCoverage":false},{"functionName":"toKey","ranges":[{"startOffset":15800,"endOffset":15999,"count":0}],"isBlockCoverage":false},{"functionName":"toSource","ranges":[{"startOffset":16160,"endOffset":16348,"count":2},{"startOffset":16262,"endOffset":16329,"count":0},{"startOffset":16333,"endOffset":16347,"count":0}],"isBlockCoverage":true},{"functionName":"memoize","ranges":[{"startOffset":17795,"endOffset":18353,"count":1},{"startOffset":17875,"endOffset":17907,"count":0},{"startOffset":17910,"endOffset":17957,"count":0}],"isBlockCoverage":true},{"functionName":"memoized","ranges":[{"startOffset":17975,"endOffset":18279,"count":0}],"isBlockCoverage":false},{"functionName":"eq","ranges":[{"startOffset":19095,"endOffset":19190,"count":0}],"isBlockCoverage":false},{"functionName":"isFunction","ranges":[{"startOffset":19992,"endOffset":20284,"count":2},{"startOffset":20235,"endOffset":20239,"count":0},{"startOffset":20265,"endOffset":20281,"count":0}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":20867,"endOffset":20984,"count":4}],"isBlockCoverage":true},{"functionName":"isObjectLike","ranges":[{"startOffset":21483,"endOffset":21561,"count":0}],"isBlockCoverage":false},{"functionName":"isSymbol","ranges":[{"startOffset":21920,"endOffset":22055,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":22471,"endOffset":22550,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23208,"endOffset":23374,"count":0}],"isBlockCoverage":false}]},{"scriptId":"748","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/iterable-to-string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1876,"count":1}],"isBlockCoverage":true},{"functionName":"iterableToString","ranges":[{"startOffset":379,"endOffset":527,"count":0}],"isBlockCoverage":false},{"functionName":"mapToString","ranges":[{"startOffset":691,"endOffset":1030,"count":0}],"isBlockCoverage":false},{"functionName":"genericIterableToString","ranges":[{"startOffset":1214,"endOffset":1550,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":1738,"endOffset":1839,"count":0}],"isBlockCoverage":false}]},{"scriptId":"749","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/assert-matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":324,"count":1}],"isBlockCoverage":true},{"functionName":"assertMatcher","ranges":[{"startOffset":173,"endOffset":290,"count":0}],"isBlockCoverage":false}]},{"scriptId":"750","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/is-matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":437,"count":1}],"isBlockCoverage":true},{"functionName":"isMatcher","ranges":[{"startOffset":325,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"751","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/matcher-prototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1285,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":54,"endOffset":102,"count":0}],"isBlockCoverage":false},{"functionName":"matcherPrototype.or","ranges":[{"startOffset":130,"endOffset":673,"count":0}],"isBlockCoverage":false},{"functionName":"matcherPrototype.and","ranges":[{"startOffset":699,"endOffset":1247,"count":0}],"isBlockCoverage":false}]},{"scriptId":"752","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/assert-method-exists.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":637,"count":1}],"isBlockCoverage":true},{"functionName":"assertMethodExists","ranges":[{"startOffset":385,"endOffset":598,"count":0}],"isBlockCoverage":false}]},{"scriptId":"753","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/assert-type.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":643,"count":1}],"isBlockCoverage":true},{"functionName":"assertType","ranges":[{"startOffset":393,"endOffset":612,"count":11},{"startOffset":491,"endOffset":610,"count":0}],"isBlockCoverage":true}]},{"scriptId":"754","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/is-iterable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":360,"count":1}],"isBlockCoverage":true},{"functionName":"isIterable","ranges":[{"startOffset":232,"endOffset":329,"count":0}],"isBlockCoverage":false}]},{"scriptId":"755","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/type-map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2125,"count":1}],"isBlockCoverage":true},{"functionName":"createTypeMap","ranges":[{"startOffset":403,"endOffset":2090,"count":1}],"isBlockCoverage":true},{"functionName":"function","ranges":[{"startOffset":453,"endOffset":607,"count":15},{"startOffset":556,"endOffset":596,"count":0}],"isBlockCoverage":true},{"functionName":"number","ranges":[{"startOffset":625,"endOffset":840,"count":0}],"isBlockCoverage":false},{"functionName":"object","ranges":[{"startOffset":858,"endOffset":1572,"count":0}],"isBlockCoverage":false},{"functionName":"regexp","ranges":[{"startOffset":1590,"endOffset":1762,"count":0}],"isBlockCoverage":false},{"functionName":"string","ranges":[{"startOffset":1780,"endOffset":2080,"count":0}],"isBlockCoverage":false}]},{"scriptId":"756","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/samsam/lib/create-matcher/match-object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1662,"count":1}],"isBlockCoverage":true},{"functionName":"matchObject","ranges":[{"startOffset":693,"endOffset":1630,"count":0}],"isBlockCoverage":false}]},{"scriptId":"757","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/assert.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10512,"count":1}],"isBlockCoverage":true},{"functionName":"applyDefaults","ranges":[{"startOffset":699,"endOffset":929,"count":2},{"startOffset":784,"endOffset":927,"count":4}],"isBlockCoverage":true},{"functionName":"createAssertObject","ranges":[{"startOffset":1312,"endOffset":10415,"count":2},{"startOffset":1386,"endOffset":1391,"count":1}],"isBlockCoverage":true},{"functionName":"fail","ranges":[{"startOffset":1591,"endOffset":2015,"count":0}],"isBlockCoverage":false},{"functionName":"pass","ranges":[{"startOffset":2032,"endOffset":2079,"count":0}],"isBlockCoverage":false},{"functionName":"assertCallOrder","ranges":[{"startOffset":2101,"endOffset":3090,"count":0}],"isBlockCoverage":false},{"functionName":"assertCallCount","ranges":[{"startOffset":3112,"endOffset":3775,"count":0}],"isBlockCoverage":false},{"functionName":"expose","ranges":[{"startOffset":3794,"endOffset":4581,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":4599,"endOffset":5095,"count":0}],"isBlockCoverage":false},{"functionName":"verifyIsStub","ranges":[{"startOffset":5109,"endOffset":5745,"count":0}],"isBlockCoverage":false},{"functionName":"verifyIsValidAssertion","ranges":[{"startOffset":5751,"endOffset":6386,"count":0}],"isBlockCoverage":false},{"functionName":"failAssertion","ranges":[{"startOffset":6392,"endOffset":6566,"count":0}],"isBlockCoverage":false},{"functionName":"mirrorPropAsAssertion","ranges":[{"startOffset":6572,"endOffset":7630,"count":42},{"startOffset":6718,"endOffset":6780,"count":40}],"isBlockCoverage":true},{"functionName":"assert.","ranges":[{"startOffset":6805,"endOffset":7623,"count":0}],"isBlockCoverage":false},{"functionName":"exposedName","ranges":[{"startOffset":7636,"endOffset":7863,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8051,"endOffset":8109,"count":0}],"isBlockCoverage":false}]},{"scriptId":"758","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/times-in-words.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":166,"count":1}],"isBlockCoverage":true},{"functionName":"timesInWords","ranges":[{"startOffset":82,"endOffset":164,"count":0}],"isBlockCoverage":false}]},{"scriptId":"759","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/fake-timers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2311,"count":1}],"isBlockCoverage":true},{"functionName":"createClock","ranges":[{"startOffset":301,"endOffset":611,"count":0}],"isBlockCoverage":false},{"functionName":"addIfDefined","ranges":[{"startOffset":663,"endOffset":855,"count":2}],"isBlockCoverage":true},{"functionName":"exports.useFakeTimers","ranges":[{"startOffset":1034,"endOffset":1942,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":1975,"endOffset":2041,"count":0}],"isBlockCoverage":false}]},{"scriptId":"760","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@sinonjs/fake-timers/src/fake-timers-src.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":61444,"count":1},{"startOffset":215,"endOffset":251,"count":0}],"isBlockCoverage":true},{"functionName":"withGlobal","ranges":[{"startOffset":5019,"endOffset":60963,"count":1},{"startOffset":6469,"endOffset":6531,"count":0},{"startOffset":6610,"endOffset":6671,"count":0},{"startOffset":6748,"endOffset":6808,"count":0},{"startOffset":6883,"endOffset":6942,"count":0},{"startOffset":33554,"endOffset":33631,"count":0},{"startOffset":33748,"endOffset":33823,"count":0},{"startOffset":33861,"endOffset":33934,"count":0},{"startOffset":33971,"endOffset":34042,"count":0},{"startOffset":34162,"endOffset":34183,"count":0}],"isBlockCoverage":true},{"functionName":"NOOP","ranges":[{"startOffset":5281,"endOffset":5326,"count":0}],"isBlockCoverage":false},{"functionName":"NOOP_ARRAY","ranges":[{"startOffset":5351,"endOffset":5389,"count":0}],"isBlockCoverage":false},{"functionName":"isNumberFinite","ranges":[{"startOffset":7357,"endOffset":7506,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsNearInfiniteLimit","ranges":[{"startOffset":7619,"endOffset":7780,"count":0}],"isBlockCoverage":false},{"functionName":"resetIsNearInfiniteLimit","ranges":[{"startOffset":7809,"endOffset":7889,"count":0}],"isBlockCoverage":false},{"functionName":"parseTime","ranges":[{"startOffset":8160,"endOffset":8850,"count":0}],"isBlockCoverage":false},{"functionName":"nanoRemainder","ranges":[{"startOffset":9142,"endOffset":9402,"count":0}],"isBlockCoverage":false},{"functionName":"getEpoch","ranges":[{"startOffset":9562,"endOffset":9898,"count":0}],"isBlockCoverage":false},{"functionName":"inRange","ranges":[{"startOffset":10028,"endOffset":10137,"count":0}],"isBlockCoverage":false},{"functionName":"getInfiniteLoopError","ranges":[{"startOffset":10213,"endOffset":12505,"count":0}],"isBlockCoverage":false},{"functionName":"mirrorDateProperties","ranges":[{"startOffset":12637,"endOffset":13715,"count":0}],"isBlockCoverage":false},{"functionName":"createDate","ranges":[{"startOffset":13772,"endOffset":15886,"count":0}],"isBlockCoverage":false},{"functionName":"createIntl","ranges":[{"startOffset":16196,"endOffset":17479,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueJob","ranges":[{"startOffset":17536,"endOffset":17743,"count":0}],"isBlockCoverage":false},{"functionName":"runJobs","ranges":[{"startOffset":17800,"endOffset":18341,"count":0}],"isBlockCoverage":false},{"functionName":"addTimer","ranges":[{"startOffset":18468,"endOffset":21316,"count":0}],"isBlockCoverage":false},{"functionName":"compareTimers","ranges":[{"startOffset":21484,"endOffset":22388,"count":0}],"isBlockCoverage":false},{"functionName":"firstTimerInRange","ranges":[{"startOffset":22516,"endOffset":23042,"count":0}],"isBlockCoverage":false},{"functionName":"firstTimer","ranges":[{"startOffset":23116,"endOffset":23481,"count":0}],"isBlockCoverage":false},{"functionName":"lastTimer","ranges":[{"startOffset":23555,"endOffset":23920,"count":0}],"isBlockCoverage":false},{"functionName":"callTimer","ranges":[{"startOffset":23998,"endOffset":24495,"count":0}],"isBlockCoverage":false},{"functionName":"getClearHandler","ranges":[{"startOffset":24607,"endOffset":24795,"count":0}],"isBlockCoverage":false},{"functionName":"getScheduleHandler","ranges":[{"startOffset":24910,"endOffset":25100,"count":0}],"isBlockCoverage":false},{"functionName":"createWarnOnce","ranges":[{"startOffset":25177,"endOffset":25359,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":25243,"endOffset":25352,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimer","ranges":[{"startOffset":25508,"endOffset":27411,"count":0}],"isBlockCoverage":false},{"functionName":"uninstall","ranges":[{"startOffset":27517,"endOffset":29956,"count":0}],"isBlockCoverage":false},{"functionName":"hijackMethod","ranges":[{"startOffset":30150,"endOffset":31852,"count":0}],"isBlockCoverage":false},{"functionName":"doIntervalTick","ranges":[{"startOffset":31942,"endOffset":32036,"count":0}],"isBlockCoverage":false},{"functionName":"createClock","ranges":[{"startOffset":34414,"endOffset":55912,"count":0}],"isBlockCoverage":false},{"functionName":"install","ranges":[{"startOffset":56044,"endOffset":60788,"count":0}],"isBlockCoverage":false}]},{"scriptId":"761","url":"node:perf_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1065,"count":1}],"isBlockCoverage":false}]},{"scriptId":"762","url":"node:internal/perf/resource_timing","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7417,"count":1}],"isBlockCoverage":false},{"functionName":"PerformanceResourceTiming","ranges":[{"startOffset":885,"endOffset":945,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":949,"endOffset":1074,"count":0}],"isBlockCoverage":false},{"functionName":"get startTime","ranges":[{"startOffset":1078,"endOffset":1214,"count":0}],"isBlockCoverage":false},{"functionName":"get duration","ranges":[{"startOffset":1218,"endOffset":1381,"count":0}],"isBlockCoverage":false},{"functionName":"get initiatorType","ranges":[{"startOffset":1385,"endOffset":1521,"count":0}],"isBlockCoverage":false},{"functionName":"get workerStart","ranges":[{"startOffset":1525,"endOffset":1681,"count":0}],"isBlockCoverage":false},{"functionName":"get redirectStart","ranges":[{"startOffset":1685,"endOffset":1833,"count":0}],"isBlockCoverage":false},{"functionName":"get redirectEnd","ranges":[{"startOffset":1837,"endOffset":1981,"count":0}],"isBlockCoverage":false},{"functionName":"get fetchStart","ranges":[{"startOffset":1985,"endOffset":2134,"count":0}],"isBlockCoverage":false},{"functionName":"get domainLookupStart","ranges":[{"startOffset":2138,"endOffset":2321,"count":0}],"isBlockCoverage":false},{"functionName":"get domainLookupEnd","ranges":[{"startOffset":2325,"endOffset":2504,"count":0}],"isBlockCoverage":false},{"functionName":"get connectStart","ranges":[{"startOffset":2508,"endOffset":2684,"count":0}],"isBlockCoverage":false},{"functionName":"get connectEnd","ranges":[{"startOffset":2688,"endOffset":2860,"count":0}],"isBlockCoverage":false},{"functionName":"get secureConnectionStart","ranges":[{"startOffset":2864,"endOffset":3062,"count":0}],"isBlockCoverage":false},{"functionName":"get nextHopProtocol","ranges":[{"startOffset":3066,"endOffset":3255,"count":0}],"isBlockCoverage":false},{"functionName":"get requestStart","ranges":[{"startOffset":3259,"endOffset":3417,"count":0}],"isBlockCoverage":false},{"functionName":"get responseStart","ranges":[{"startOffset":3421,"endOffset":3581,"count":0}],"isBlockCoverage":false},{"functionName":"get responseEnd","ranges":[{"startOffset":3585,"endOffset":3721,"count":0}],"isBlockCoverage":false},{"functionName":"get encodedBodySize","ranges":[{"startOffset":3725,"endOffset":3873,"count":0}],"isBlockCoverage":false},{"functionName":"get decodedBodySize","ranges":[{"startOffset":3877,"endOffset":4025,"count":0}],"isBlockCoverage":false},{"functionName":"get transferSize","ranges":[{"startOffset":4029,"endOffset":4283,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":4287,"endOffset":5228,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceResourceTiming","ranges":[{"startOffset":6096,"endOffset":6706,"count":0}],"isBlockCoverage":false},{"functionName":"markResourceTiming","ranges":[{"startOffset":6775,"endOffset":7342,"count":0}],"isBlockCoverage":false}]},{"scriptId":"763","url":"node:internal/perf/usertiming","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6257,"count":1}],"isBlockCoverage":false},{"functionName":"getMark","ranges":[{"startOffset":1212,"endOffset":1664,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceMark","ranges":[{"startOffset":1692,"endOffset":2427,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":2431,"endOffset":2536,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":2540,"endOffset":2723,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceMeasure","ranges":[{"startOffset":3107,"endOffset":3167,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":3171,"endOffset":3279,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceMeasure","ranges":[{"startOffset":3481,"endOffset":3731,"count":0}],"isBlockCoverage":false},{"functionName":"mark","ranges":[{"startOffset":3733,"endOffset":3874,"count":0}],"isBlockCoverage":false},{"functionName":"calculateStartDuration","ranges":[{"startOffset":3876,"endOffset":5459,"count":0}],"isBlockCoverage":false},{"functionName":"measure","ranges":[{"startOffset":5461,"endOffset":5896,"count":0}],"isBlockCoverage":false},{"functionName":"clearMarkTimings","ranges":[{"startOffset":5898,"endOffset":6153,"count":0}],"isBlockCoverage":false}]},{"scriptId":"764","url":"node:internal/perf/nodetiming","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3516,"count":1}],"isBlockCoverage":false},{"functionName":"PerformanceNodeTiming","ranges":[{"startOffset":729,"endOffset":2742,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1394,"endOffset":1490,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1606,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1820,"endOffset":1917,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2035,"endOffset":2131,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2248,"endOffset":2343,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2469,"endOffset":2586,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2746,"endOffset":2987,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":2991,"endOffset":3377,"count":0}],"isBlockCoverage":false}]},{"scriptId":"765","url":"node:internal/structured_clone","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":661,"count":1}],"isBlockCoverage":false},{"functionName":"structuredClone","ranges":[{"startOffset":186,"endOffset":618,"count":0}],"isBlockCoverage":false}]},{"scriptId":"766","url":"node:internal/perf/performance","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6365,"count":1}],"isBlockCoverage":false},{"functionName":"Performance","ranges":[{"startOffset":1338,"endOffset":1398,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1402,"endOffset":1697,"count":0}],"isBlockCoverage":false},{"functionName":"clearMarks","ranges":[{"startOffset":1701,"endOffset":1932,"count":0}],"isBlockCoverage":false},{"functionName":"clearMeasures","ranges":[{"startOffset":1936,"endOffset":2145,"count":0}],"isBlockCoverage":false},{"functionName":"clearResourceTimings","ranges":[{"startOffset":2149,"endOffset":2366,"count":0}],"isBlockCoverage":false},{"functionName":"getEntries","ranges":[{"startOffset":2370,"endOffset":2498,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByName","ranges":[{"startOffset":2502,"endOffset":2759,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByType","ranges":[{"startOffset":2763,"endOffset":3020,"count":0}],"isBlockCoverage":false},{"functionName":"mark","ranges":[{"startOffset":3024,"endOffset":3245,"count":0}],"isBlockCoverage":false},{"functionName":"measure","ranges":[{"startOffset":3249,"endOffset":3534,"count":0}],"isBlockCoverage":false},{"functionName":"now","ranges":[{"startOffset":3538,"endOffset":3634,"count":0}],"isBlockCoverage":false},{"functionName":"setResourceTimingBufferSize","ranges":[{"startOffset":3638,"endOffset":3954,"count":0}],"isBlockCoverage":false},{"functionName":"get timeOrigin","ranges":[{"startOffset":3958,"endOffset":4084,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":4088,"endOffset":4316,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformance","ranges":[{"startOffset":5917,"endOffset":6086,"count":1}],"isBlockCoverage":true},{"functionName":"Performance","ranges":[{"startOffset":5974,"endOffset":6065,"count":1}],"isBlockCoverage":true},{"functionName":"dispatchBufferFull","ranges":[{"startOffset":6130,"endOffset":6268,"count":0}],"isBlockCoverage":false}]},{"scriptId":"767","url":"node:internal/perf/timerify","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2280,"count":1}],"isBlockCoverage":false},{"functionName":"processComplete","ranges":[{"startOffset":610,"endOffset":985,"count":0}],"isBlockCoverage":false},{"functionName":"timerify","ranges":[{"startOffset":987,"endOffset":2251,"count":0}],"isBlockCoverage":false}]},{"scriptId":"768","url":"node:internal/histogram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8057,"count":1}],"isBlockCoverage":false},{"functionName":"isHistogram","ranges":[{"startOffset":894,"endOffset":968,"count":0}],"isBlockCoverage":false},{"functionName":"Histogram","ranges":[{"startOffset":990,"endOffset":1050,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1054,"endOffset":1466,"count":0}],"isBlockCoverage":false},{"functionName":"get count","ranges":[{"startOffset":1517,"endOffset":1644,"count":0}],"isBlockCoverage":false},{"functionName":"get countBigInt","ranges":[{"startOffset":1695,"endOffset":1834,"count":0}],"isBlockCoverage":false},{"functionName":"get min","ranges":[{"startOffset":1885,"endOffset":2008,"count":0}],"isBlockCoverage":false},{"functionName":"get minBigInt","ranges":[{"startOffset":2059,"endOffset":2194,"count":0}],"isBlockCoverage":false},{"functionName":"get max","ranges":[{"startOffset":2245,"endOffset":2368,"count":0}],"isBlockCoverage":false},{"functionName":"get maxBigInt","ranges":[{"startOffset":2419,"endOffset":2554,"count":0}],"isBlockCoverage":false},{"functionName":"get mean","ranges":[{"startOffset":2605,"endOffset":2730,"count":0}],"isBlockCoverage":false},{"functionName":"get exceeds","ranges":[{"startOffset":2781,"endOffset":2912,"count":0}],"isBlockCoverage":false},{"functionName":"get exceedsBigInt","ranges":[{"startOffset":2963,"endOffset":3106,"count":0}],"isBlockCoverage":false},{"functionName":"get stddev","ranges":[{"startOffset":3157,"endOffset":3286,"count":0}],"isBlockCoverage":false},{"functionName":"percentile","ranges":[{"startOffset":3357,"endOffset":3706,"count":0}],"isBlockCoverage":false},{"functionName":"percentileBigInt","ranges":[{"startOffset":3777,"endOffset":4138,"count":0}],"isBlockCoverage":false},{"functionName":"get percentiles","ranges":[{"startOffset":4201,"endOffset":4390,"count":0}],"isBlockCoverage":false},{"functionName":"get percentilesBigInt","ranges":[{"startOffset":4453,"endOffset":4654,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":4691,"endOffset":4807,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4811,"endOffset":4968,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4972,"endOffset":5032,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":5036,"endOffset":5293,"count":0}],"isBlockCoverage":false},{"functionName":"RecordableHistogram","ranges":[{"startOffset":5345,"endOffset":5405,"count":0}],"isBlockCoverage":false},{"functionName":"record","ranges":[{"startOffset":5474,"endOffset":5748,"count":0}],"isBlockCoverage":false},{"functionName":"recordDelta","ranges":[{"startOffset":5785,"endOffset":5936,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":5992,"endOffset":6265,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6269,"endOffset":6436,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6440,"endOffset":6500,"count":0}],"isBlockCoverage":false},{"functionName":"internalHistogram","ranges":[{"startOffset":6504,"endOffset":6691,"count":0}],"isBlockCoverage":false},{"functionName":"internalHistogram.","ranges":[{"startOffset":6736,"endOffset":6744,"count":0}],"isBlockCoverage":false},{"functionName":"internalRecordableHistogram","ranges":[{"startOffset":6747,"endOffset":6986,"count":0}],"isBlockCoverage":false},{"functionName":"internalRecordableHistogram.","ranges":[{"startOffset":7041,"endOffset":7049,"count":0}],"isBlockCoverage":false},{"functionName":"createHistogram","ranges":[{"startOffset":7193,"endOffset":7880,"count":0}],"isBlockCoverage":false}]},{"scriptId":"769","url":"node:internal/perf/event_loop_delay","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1724,"count":1}],"isBlockCoverage":false},{"functionName":"ELDHistogram","ranges":[{"startOffset":625,"endOffset":686,"count":0}],"isBlockCoverage":false},{"functionName":"enable","ranges":[{"startOffset":726,"endOffset":937,"count":0}],"isBlockCoverage":false},{"functionName":"disable","ranges":[{"startOffset":977,"endOffset":1190,"count":0}],"isBlockCoverage":false},{"functionName":"monitorEventLoopDelay","ranges":[{"startOffset":1283,"endOffset":1682,"count":0}],"isBlockCoverage":false}]},{"scriptId":"770","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/mock.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6131,"count":1}],"isBlockCoverage":true},{"functionName":"mock","ranges":[{"startOffset":688,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"each","ranges":[{"startOffset":878,"endOffset":980,"count":0}],"isBlockCoverage":false},{"functionName":"arrayEquals","ranges":[{"startOffset":982,"endOffset":1217,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":1246,"endOffset":1497,"count":0}],"isBlockCoverage":false},{"functionName":"expects","ranges":[{"startOffset":1513,"endOffset":2373,"count":0}],"isBlockCoverage":false},{"functionName":"restore","ranges":[{"startOffset":2389,"endOffset":2628,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":2643,"endOffset":3414,"count":0}],"isBlockCoverage":false},{"functionName":"usingPromise","ranges":[{"startOffset":3435,"endOffset":3548,"count":0}],"isBlockCoverage":false},{"functionName":"invokeMethod","ranges":[{"startOffset":3569,"endOffset":6101,"count":0}],"isBlockCoverage":false}]},{"scriptId":"771","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/mock-expectation.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8509,"count":1}],"isBlockCoverage":true},{"functionName":"callCountInWords","ranges":[{"startOffset":711,"endOffset":864,"count":0}],"isBlockCoverage":false},{"functionName":"expectedCallCountInWords","ranges":[{"startOffset":866,"endOffset":1361,"count":0}],"isBlockCoverage":false},{"functionName":"receivedMinCalls","ranges":[{"startOffset":1363,"endOffset":1545,"count":0}],"isBlockCoverage":false},{"functionName":"receivedMaxCalls","ranges":[{"startOffset":1547,"endOffset":1729,"count":0}],"isBlockCoverage":false},{"functionName":"verifyMatcher","ranges":[{"startOffset":1731,"endOffset":1897,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":1972,"endOffset":2181,"count":0}],"isBlockCoverage":false},{"functionName":"invoke","ranges":[{"startOffset":2196,"endOffset":2343,"count":0}],"isBlockCoverage":false},{"functionName":"atLeast","ranges":[{"startOffset":2359,"endOffset":2674,"count":0}],"isBlockCoverage":false},{"functionName":"atMost","ranges":[{"startOffset":2689,"endOffset":3003,"count":0}],"isBlockCoverage":false},{"functionName":"never","ranges":[{"startOffset":3017,"endOffset":3073,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":3086,"endOffset":3141,"count":0}],"isBlockCoverage":false},{"functionName":"twice","ranges":[{"startOffset":3155,"endOffset":3211,"count":0}],"isBlockCoverage":false},{"functionName":"thrice","ranges":[{"startOffset":3226,"endOffset":3283,"count":0}],"isBlockCoverage":false},{"functionName":"exactly","ranges":[{"startOffset":3299,"endOffset":3514,"count":0}],"isBlockCoverage":false},{"functionName":"met","ranges":[{"startOffset":3526,"endOffset":3603,"count":0}],"isBlockCoverage":false},{"functionName":"verifyCallAllowed","ranges":[{"startOffset":3629,"endOffset":5950,"count":0}],"isBlockCoverage":false},{"functionName":"allowsCall","ranges":[{"startOffset":5969,"endOffset":7014,"count":0}],"isBlockCoverage":false},{"functionName":"withArgs","ranges":[{"startOffset":7031,"endOffset":7130,"count":0}],"isBlockCoverage":false},{"functionName":"withExactArgs","ranges":[{"startOffset":7152,"endOffset":7293,"count":0}],"isBlockCoverage":false},{"functionName":"on","ranges":[{"startOffset":7304,"endOffset":7394,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":7411,"endOffset":8024,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":8039,"endOffset":8236,"count":0}],"isBlockCoverage":false},{"functionName":"pass","ranges":[{"startOffset":8249,"endOffset":8309,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":8322,"endOffset":8469,"count":0}],"isBlockCoverage":false}]},{"scriptId":"772","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/proxy-invoke.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2811,"count":1}],"isBlockCoverage":true},{"functionName":"invoke","ranges":[{"startOffset":360,"endOffset":2809,"count":5},{"startOffset":1216,"endOffset":1595,"count":0},{"startOffset":1689,"endOffset":1729,"count":0},{"startOffset":2750,"endOffset":2782,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":689,"endOffset":896,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1880,"endOffset":2003,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2467,"endOffset":2543,"count":0}],"isBlockCoverage":false}]},{"scriptId":"773","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/proxy-call-util.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1767,"count":1}],"isBlockCoverage":true},{"functionName":"incrementCallCount","ranges":[{"startOffset":109,"endOffset":368,"count":5}],"isBlockCoverage":true},{"functionName":"createCallProperties","ranges":[{"startOffset":402,"endOffset":620,"count":10}],"isBlockCoverage":true},{"functionName":"delegateToCalls","ranges":[{"startOffset":649,"endOffset":1765,"count":26}],"isBlockCoverage":true},{"functionName":"proxy.","ranges":[{"startOffset":802,"endOffset":1762,"count":0}],"isBlockCoverage":false}]},{"scriptId":"774","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/proxy-call.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8134,"count":1}],"isBlockCoverage":true},{"functionName":"throwYieldError","ranges":[{"startOffset":609,"endOffset":810,"count":0}],"isBlockCoverage":false},{"functionName":"calledOn","ranges":[{"startOffset":846,"endOffset":1030,"count":0}],"isBlockCoverage":false},{"functionName":"calledWith","ranges":[{"startOffset":1049,"endOffset":1442,"count":0}],"isBlockCoverage":false},{"functionName":"calledWithMatch","ranges":[{"startOffset":1466,"endOffset":1936,"count":0}],"isBlockCoverage":false},{"functionName":"calledWithExactly","ranges":[{"startOffset":1962,"endOffset":2130,"count":0}],"isBlockCoverage":false},{"functionName":"notCalledWith","ranges":[{"startOffset":2152,"endOffset":2240,"count":0}],"isBlockCoverage":false},{"functionName":"notCalledWithMatch","ranges":[{"startOffset":2267,"endOffset":2365,"count":0}],"isBlockCoverage":false},{"functionName":"returned","ranges":[{"startOffset":2382,"endOffset":2465,"count":0}],"isBlockCoverage":false},{"functionName":"threw","ranges":[{"startOffset":2479,"endOffset":2700,"count":0}],"isBlockCoverage":false},{"functionName":"calledWithNew","ranges":[{"startOffset":2722,"endOffset":2831,"count":5}],"isBlockCoverage":true},{"functionName":"calledBefore","ranges":[{"startOffset":2852,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"calledAfter","ranges":[{"startOffset":2939,"endOffset":3006,"count":0}],"isBlockCoverage":false},{"functionName":"calledImmediatelyBefore","ranges":[{"startOffset":3038,"endOffset":3111,"count":0}],"isBlockCoverage":false},{"functionName":"calledImmediatelyAfter","ranges":[{"startOffset":3142,"endOffset":3215,"count":0}],"isBlockCoverage":false},{"functionName":"callArg","ranges":[{"startOffset":3231,"endOffset":3326,"count":0}],"isBlockCoverage":false},{"functionName":"callArgOn","ranges":[{"startOffset":3344,"endOffset":3465,"count":0}],"isBlockCoverage":false},{"functionName":"callArgWith","ranges":[{"startOffset":3485,"endOffset":3631,"count":0}],"isBlockCoverage":false},{"functionName":"callArgOnWith","ranges":[{"startOffset":3653,"endOffset":3822,"count":0}],"isBlockCoverage":false},{"functionName":"throwArg","ranges":[{"startOffset":3839,"endOffset":4082,"count":0}],"isBlockCoverage":false},{"functionName":"yield","ranges":[{"startOffset":4096,"endOffset":4193,"count":0}],"isBlockCoverage":false},{"functionName":"yieldOn","ranges":[{"startOffset":4209,"endOffset":4646,"count":0}],"isBlockCoverage":false},{"functionName":"yieldTo","ranges":[{"startOffset":4662,"endOffset":4806,"count":0}],"isBlockCoverage":false},{"functionName":"yieldToOn","ranges":[{"startOffset":4824,"endOffset":5400,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":5417,"endOffset":6432,"count":0}],"isBlockCoverage":false},{"functionName":"ensureArgIsAFunction","ranges":[{"startOffset":6461,"endOffset":6721,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6825,"endOffset":6925,"count":0}],"isBlockCoverage":false},{"functionName":"createProxyCall","ranges":[{"startOffset":7154,"endOffset":8034,"count":25},{"startOffset":7316,"endOffset":7379,"count":0},{"startOffset":7630,"endOffset":7639,"count":0}],"isBlockCoverage":true}]},{"scriptId":"775","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/stub.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7560,"count":1}],"isBlockCoverage":true},{"functionName":"createStub","ranges":[{"startOffset":1085,"endOffset":2164,"count":5},{"startOffset":1696,"endOffset":1711,"count":0},{"startOffset":1888,"endOffset":1894,"count":0},{"startOffset":2006,"endOffset":2015,"count":0}],"isBlockCoverage":true},{"functionName":"functionStub","ranges":[{"startOffset":1186,"endOffset":1643,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1377,"endOffset":1544,"count":0}],"isBlockCoverage":false},{"functionName":"stub","ranges":[{"startOffset":2166,"endOffset":4104,"count":5},{"startOffset":2230,"endOffset":2350,"count":0},{"startOffset":2380,"endOffset":2448,"count":0},{"startOffset":2547,"endOffset":2670,"count":0},{"startOffset":2873,"endOffset":2904,"count":0},{"startOffset":2981,"endOffset":3002,"count":0},{"startOffset":3042,"endOffset":3076,"count":0},{"startOffset":3333,"endOffset":3381,"count":0},{"startOffset":3410,"endOffset":3446,"count":0},{"startOffset":3567,"endOffset":3573,"count":0},{"startOffset":4064,"endOffset":4067,"count":0}],"isBlockCoverage":true},{"functionName":"restore","ranges":[{"startOffset":3759,"endOffset":4016,"count":0}],"isBlockCoverage":false},{"functionName":"assertValidPropertyDescriptor","ranges":[{"startOffset":4106,"endOffset":4824,"count":5},{"startOffset":4203,"endOffset":4226,"count":0},{"startOffset":4280,"endOffset":4303,"count":0},{"startOffset":4305,"endOffset":4440,"count":0},{"startOffset":4484,"endOffset":4511,"count":0},{"startOffset":4513,"endOffset":4640,"count":0},{"startOffset":4678,"endOffset":4701,"count":0},{"startOffset":4703,"endOffset":4822,"count":0}],"isBlockCoverage":true},{"functionName":"isDataDescriptor","ranges":[{"startOffset":4826,"endOffset":4999,"count":5},{"startOffset":4905,"endOffset":4936,"count":0},{"startOffset":4937,"endOffset":4963,"count":0},{"startOffset":4964,"endOffset":4990,"count":0}],"isBlockCoverage":true},{"functionName":"getParentBehaviour","ranges":[{"startOffset":5041,"endOffset":5161,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultBehavior","ranges":[{"startOffset":5163,"endOffset":5350,"count":5},{"startOffset":5257,"endOffset":5300,"count":0},{"startOffset":5301,"endOffset":5341,"count":0}],"isBlockCoverage":true},{"functionName":"getCurrentBehavior","ranges":[{"startOffset":5352,"endOffset":5605,"count":5},{"startOffset":5503,"endOffset":5533,"count":0},{"startOffset":5542,"endOffset":5559,"count":0}],"isBlockCoverage":true},{"functionName":"resetBehavior","ranges":[{"startOffset":5681,"endOffset":6087,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":6101,"endOffset":6179,"count":0}],"isBlockCoverage":false},{"functionName":"onCall","ranges":[{"startOffset":6194,"endOffset":6370,"count":0}],"isBlockCoverage":false},{"functionName":"onFirstCall","ranges":[{"startOffset":6390,"endOffset":6451,"count":0}],"isBlockCoverage":false},{"functionName":"onSecondCall","ranges":[{"startOffset":6472,"endOffset":6534,"count":0}],"isBlockCoverage":false},{"functionName":"onThirdCall","ranges":[{"startOffset":6554,"endOffset":6615,"count":0}],"isBlockCoverage":false},{"functionName":"withArgs","ranges":[{"startOffset":6632,"endOffset":7024,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7061,"endOffset":7307,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7343,"endOffset":7512,"count":35}],"isBlockCoverage":true}]},{"scriptId":"776","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/default-behaviors.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7928,"count":1}],"isBlockCoverage":true},{"functionName":"throwsException","ranges":[{"startOffset":382,"endOffset":968,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":1052,"endOffset":1877,"count":5},{"startOffset":1209,"endOffset":1231,"count":0},{"startOffset":1556,"endOffset":1578,"count":0}],"isBlockCoverage":true},{"functionName":"callsFake","ranges":[{"startOffset":1921,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"callsArg","ranges":[{"startOffset":2022,"endOffset":2267,"count":0}],"isBlockCoverage":false},{"functionName":"callsArgOn","ranges":[{"startOffset":2286,"endOffset":2582,"count":0}],"isBlockCoverage":false},{"functionName":"callsArgWith","ranges":[{"startOffset":2603,"endOffset":2869,"count":0}],"isBlockCoverage":false},{"functionName":"callsArgWith","ranges":[{"startOffset":2892,"endOffset":3207,"count":0}],"isBlockCoverage":false},{"functionName":"usingPromise","ranges":[{"startOffset":3228,"endOffset":3325,"count":0}],"isBlockCoverage":false},{"functionName":"yields","ranges":[{"startOffset":3340,"endOffset":3510,"count":0}],"isBlockCoverage":false},{"functionName":"yieldsRight","ranges":[{"startOffset":3530,"endOffset":3701,"count":0}],"isBlockCoverage":false},{"functionName":"yieldsOn","ranges":[{"startOffset":3718,"endOffset":3937,"count":0}],"isBlockCoverage":false},{"functionName":"yieldsTo","ranges":[{"startOffset":3954,"endOffset":4163,"count":0}],"isBlockCoverage":false},{"functionName":"yieldsToOn","ranges":[{"startOffset":4182,"endOffset":4440,"count":0}],"isBlockCoverage":false},{"functionName":"returns","ranges":[{"startOffset":4524,"endOffset":4657,"count":5}],"isBlockCoverage":true},{"functionName":"returnsArg","ranges":[{"startOffset":4676,"endOffset":4888,"count":0}],"isBlockCoverage":false},{"functionName":"throwsArg","ranges":[{"startOffset":4906,"endOffset":5116,"count":0}],"isBlockCoverage":false},{"functionName":"returnsThis","ranges":[{"startOffset":5136,"endOffset":5224,"count":0}],"isBlockCoverage":false},{"functionName":"resolves","ranges":[{"startOffset":5241,"endOffset":5404,"count":0}],"isBlockCoverage":false},{"functionName":"resolvesArg","ranges":[{"startOffset":5424,"endOffset":5667,"count":0}],"isBlockCoverage":false},{"functionName":"rejects","ranges":[{"startOffset":5683,"endOffset":6142,"count":0}],"isBlockCoverage":false},{"functionName":"resolvesThis","ranges":[{"startOffset":6163,"endOffset":6253,"count":0}],"isBlockCoverage":false},{"functionName":"callThrough","ranges":[{"startOffset":6273,"endOffset":6363,"count":0}],"isBlockCoverage":false},{"functionName":"callThroughWithNew","ranges":[{"startOffset":6390,"endOffset":6494,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6506,"endOffset":6863,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6875,"endOffset":7358,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":7372,"endOffset":7795,"count":0}],"isBlockCoverage":false}]},{"scriptId":"777","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/proxy.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10074,"count":1}],"isBlockCoverage":true},{"functionName":"named","ranges":[{"startOffset":593,"endOffset":1041,"count":0}],"isBlockCoverage":false},{"functionName":"matchingFakes","ranges":[{"startOffset":1205,"endOffset":1267,"count":0}],"isBlockCoverage":false},{"functionName":"getCall","ranges":[{"startOffset":1283,"endOffset":1806,"count":45},{"startOffset":1351,"endOffset":1471,"count":0},{"startOffset":1514,"endOffset":1550,"count":20},{"startOffset":1550,"endOffset":1805,"count":25}],"isBlockCoverage":true},{"functionName":"getCalls","ranges":[{"startOffset":1823,"endOffset":2006,"count":0}],"isBlockCoverage":false},{"functionName":"calledBefore","ranges":[{"startOffset":2027,"endOffset":2267,"count":0}],"isBlockCoverage":false},{"functionName":"calledAfter","ranges":[{"startOffset":2287,"endOffset":2472,"count":0}],"isBlockCoverage":false},{"functionName":"calledImmediatelyBefore","ranges":[{"startOffset":2504,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"calledImmediatelyAfter","ranges":[{"startOffset":2792,"endOffset":3048,"count":0}],"isBlockCoverage":false},{"functionName":"printf","ranges":[{"startOffset":3108,"endOffset":3653,"count":0}],"isBlockCoverage":false},{"functionName":"resetHistory","ranges":[{"startOffset":3674,"endOffset":4718,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5764,"endOffset":5804,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5920,"endOffset":5960,"count":0}],"isBlockCoverage":false},{"functionName":"createProxy","ranges":[{"startOffset":6299,"endOffset":6553,"count":5}],"isBlockCoverage":true},{"functionName":"wrapFunction","ranges":[{"startOffset":6555,"endOffset":10042,"count":5},{"startOffset":6880,"endOffset":7019,"count":0},{"startOffset":7028,"endOffset":7168,"count":0},{"startOffset":7177,"endOffset":7320,"count":0},{"startOffset":7484,"endOffset":7633,"count":0},{"startOffset":7642,"endOffset":7794,"count":0},{"startOffset":7803,"endOffset":7958,"count":0},{"startOffset":7967,"endOffset":8125,"count":0},{"startOffset":8134,"endOffset":8295,"count":0},{"startOffset":8304,"endOffset":8468,"count":0},{"startOffset":8477,"endOffset":8645,"count":0},{"startOffset":8654,"endOffset":8825,"count":0},{"startOffset":8834,"endOffset":9008,"count":0},{"startOffset":9017,"endOffset":9157,"count":0}],"isBlockCoverage":true},{"functionName":"proxy","ranges":[{"startOffset":6904,"endOffset":6999,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":7052,"endOffset":7148,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":7201,"endOffset":7300,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":7353,"endOffset":7455,"count":5}],"isBlockCoverage":true},{"functionName":"proxy","ranges":[{"startOffset":7508,"endOffset":7613,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":7666,"endOffset":7774,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":7827,"endOffset":7938,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":7991,"endOffset":8105,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":8158,"endOffset":8275,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":8328,"endOffset":8448,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":8502,"endOffset":8625,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":8679,"endOffset":8805,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":8859,"endOffset":8988,"count":0}],"isBlockCoverage":false},{"functionName":"proxy","ranges":[{"startOffset":9042,"endOffset":9137,"count":0}],"isBlockCoverage":false}]},{"scriptId":"778","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/function-to-string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":664,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":32,"endOffset":662,"count":0}],"isBlockCoverage":false}]},{"scriptId":"779","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/spy-formatters.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4625,"count":1}],"isBlockCoverage":true},{"functionName":"colorSinonMatchText","ranges":[{"startOffset":587,"endOffset":1032,"count":0}],"isBlockCoverage":false},{"functionName":"colorDiffText","ranges":[{"startOffset":1098,"endOffset":1516,"count":0}],"isBlockCoverage":false},{"functionName":"quoteStringValue","ranges":[{"startOffset":1582,"endOffset":1717,"count":0}],"isBlockCoverage":false},{"functionName":"c","ranges":[{"startOffset":1745,"endOffset":1827,"count":0}],"isBlockCoverage":false},{"functionName":"n","ranges":[{"startOffset":1837,"endOffset":1993,"count":0}],"isBlockCoverage":false},{"functionName":"D","ranges":[{"startOffset":2003,"endOffset":3652,"count":0}],"isBlockCoverage":false},{"functionName":"C","ranges":[{"startOffset":3662,"endOffset":4186,"count":0}],"isBlockCoverage":false},{"functionName":"t","ranges":[{"startOffset":4196,"endOffset":4430,"count":0}],"isBlockCoverage":false},{"functionName":"*","ranges":[{"startOffset":4442,"endOffset":4620,"count":0}],"isBlockCoverage":false}]},{"scriptId":"780","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/colorizer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":767,"count":1}],"isBlockCoverage":true},{"functionName":"Colorizer","ranges":[{"startOffset":54,"endOffset":160,"count":1}],"isBlockCoverage":true},{"functionName":"colorize","ranges":[{"startOffset":293,"endOffset":453,"count":0}],"isBlockCoverage":false},{"functionName":"red","ranges":[{"startOffset":459,"endOffset":514,"count":0}],"isBlockCoverage":false},{"functionName":"green","ranges":[{"startOffset":520,"endOffset":577,"count":0}],"isBlockCoverage":false},{"functionName":"cyan","ranges":[{"startOffset":583,"endOffset":639,"count":0}],"isBlockCoverage":false},{"functionName":"white","ranges":[{"startOffset":645,"endOffset":702,"count":0}],"isBlockCoverage":false},{"functionName":"bold","ranges":[{"startOffset":708,"endOffset":763,"count":0}],"isBlockCoverage":false}]},{"scriptId":"781","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/supports-color/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2748,"count":1},{"startOffset":250,"endOffset":270,"count":0},{"startOffset":374,"endOffset":394,"count":0},{"startOffset":422,"endOffset":646,"count":0}],"isBlockCoverage":true},{"functionName":"translateLevel","ranges":[{"startOffset":648,"endOffset":806,"count":2},{"startOffset":699,"endOffset":719,"count":0}],"isBlockCoverage":true},{"functionName":"supportsColor","ranges":[{"startOffset":808,"endOffset":2439,"count":2},{"startOffset":881,"endOffset":897,"count":0},{"startOffset":985,"endOffset":1001,"count":0},{"startOffset":1030,"endOffset":1046,"count":0},{"startOffset":1080,"endOffset":1107,"count":0},{"startOffset":1109,"endOffset":1125,"count":0},{"startOffset":1184,"endOffset":1202,"count":0},{"startOffset":1239,"endOffset":1594,"count":0},{"startOffset":1614,"endOffset":1794,"count":0},{"startOffset":1828,"endOffset":1909,"count":0},{"startOffset":1963,"endOffset":2438,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1706,"endOffset":1725,"count":0}],"isBlockCoverage":false},{"functionName":"getSupportLevel","ranges":[{"startOffset":2441,"endOffset":2570,"count":0}],"isBlockCoverage":false}]},{"scriptId":"782","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/has-flag/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":330,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":32,"endOffset":328,"count":16},{"startOffset":102,"endOffset":106,"count":0},{"startOffset":128,"endOffset":133,"count":0},{"startOffset":262,"endOffset":325,"count":0}],"isBlockCoverage":true}]},{"scriptId":"783","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7236,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":174,"endOffset":223,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":301,"endOffset":354,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":432,"endOffset":480,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":567,"endOffset":624,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":702,"endOffset":750,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":835,"endOffset":890,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":972,"endOffset":1028,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1104,"endOffset":1149,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1226,"endOffset":1273,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1354,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1484,"endOffset":1534,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1613,"endOffset":1663,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1744,"endOffset":1796,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1875,"endOffset":1925,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1999,"endOffset":2044,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2128,"endOffset":2184,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2272,"endOffset":2332,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2412,"endOffset":2464,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2552,"endOffset":2609,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2697,"endOffset":2754,"count":0}],"isBlockCoverage":false},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":4100,"endOffset":4197,"count":1},{"startOffset":4174,"endOffset":4194,"count":0}],"isBlockCoverage":true}]},{"scriptId":"784","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/base.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31393,"count":1}],"isBlockCoverage":true},{"functionName":"Diff","ranges":[{"startOffset":158,"endOffset":176,"count":7}],"isBlockCoverage":true},{"functionName":"diff","ranges":[{"startOffset":260,"endOffset":4597,"count":0}],"isBlockCoverage":false},{"functionName":"pushComponent","ranges":[{"startOffset":4672,"endOffset":5200,"count":0}],"isBlockCoverage":false},{"functionName":"extractCommon","ranges":[{"startOffset":5275,"endOffset":5846,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":5914,"endOffset":6155,"count":0}],"isBlockCoverage":false},{"functionName":"removeEmpty","ranges":[{"startOffset":6228,"endOffset":6406,"count":0}],"isBlockCoverage":false},{"functionName":"castInput","ranges":[{"startOffset":6477,"endOffset":6526,"count":0}],"isBlockCoverage":false},{"functionName":"tokenize","ranges":[{"startOffset":6596,"endOffset":6654,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":6720,"endOffset":6773,"count":0}],"isBlockCoverage":false},{"functionName":"buildValues","ranges":[{"startOffset":6778,"endOffset":8799,"count":0}],"isBlockCoverage":false},{"functionName":"clonePath","ranges":[{"startOffset":8801,"endOffset":8911,"count":0}],"isBlockCoverage":false}]},{"scriptId":"785","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/character.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1671,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":327,"endOffset":424,"count":1},{"startOffset":401,"endOffset":421,"count":0}],"isBlockCoverage":true},{"functionName":"diffChars","ranges":[{"startOffset":688,"endOffset":789,"count":0}],"isBlockCoverage":false}]},{"scriptId":"786","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/word.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8786,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":464,"endOffset":561,"count":1},{"startOffset":538,"endOffset":558,"count":0}],"isBlockCoverage":true},{"functionName":"wordDiff.equals","ranges":[{"startOffset":1546,"endOffset":1789,"count":0}],"isBlockCoverage":false},{"functionName":"wordDiff.tokenize","ranges":[{"startOffset":1812,"endOffset":2493,"count":0}],"isBlockCoverage":false},{"functionName":"diffWords","ranges":[{"startOffset":2496,"endOffset":2853,"count":0}],"isBlockCoverage":false},{"functionName":"diffWordsWithSpace","ranges":[{"startOffset":2855,"endOffset":2960,"count":0}],"isBlockCoverage":false}]},{"scriptId":"787","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/util/params.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1752,"count":1}],"isBlockCoverage":true},{"functionName":"generateOptions","ranges":[{"startOffset":174,"endOffset":502,"count":0}],"isBlockCoverage":false}]},{"scriptId":"788","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/line.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5686,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":460,"endOffset":557,"count":1},{"startOffset":534,"endOffset":554,"count":0}],"isBlockCoverage":true},{"functionName":"lineDiff.tokenize","ranges":[{"startOffset":826,"endOffset":1483,"count":0}],"isBlockCoverage":false},{"functionName":"diffLines","ranges":[{"startOffset":1486,"endOffset":1584,"count":0}],"isBlockCoverage":false},{"functionName":"diffTrimmedLines","ranges":[{"startOffset":1586,"endOffset":1956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"789","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/sentence.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2090,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":334,"endOffset":431,"count":1},{"startOffset":408,"endOffset":428,"count":0}],"isBlockCoverage":true},{"functionName":"sentenceDiff.tokenize","ranges":[{"startOffset":716,"endOffset":783,"count":0}],"isBlockCoverage":false},{"functionName":"diffSentences","ranges":[{"startOffset":786,"endOffset":892,"count":0}],"isBlockCoverage":false}]},{"scriptId":"790","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/css.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1966,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":317,"endOffset":414,"count":1},{"startOffset":391,"endOffset":411,"count":0}],"isBlockCoverage":true},{"functionName":"cssDiff.tokenize","ranges":[{"startOffset":679,"endOffset":738,"count":0}],"isBlockCoverage":false},{"functionName":"diffCss","ranges":[{"startOffset":741,"endOffset":836,"count":0}],"isBlockCoverage":false}]},{"scriptId":"791","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/json.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12937,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":440,"endOffset":537,"count":1},{"startOffset":514,"endOffset":534,"count":0}],"isBlockCoverage":true},{"functionName":"_typeof","ranges":[{"startOffset":539,"endOffset":917,"count":0}],"isBlockCoverage":false},{"functionName":"jsonDiff.castInput","ranges":[{"startOffset":1625,"endOffset":2249,"count":0}],"isBlockCoverage":false},{"functionName":"jsonDiff.equals","ranges":[{"startOffset":2270,"endOffset":2565,"count":0}],"isBlockCoverage":false},{"functionName":"diffJson","ranges":[{"startOffset":2568,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"canonicalize","ranges":[{"startOffset":2859,"endOffset":4359,"count":0}],"isBlockCoverage":false}]},{"scriptId":"792","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2300,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":325,"endOffset":422,"count":1},{"startOffset":399,"endOffset":419,"count":0}],"isBlockCoverage":true},{"functionName":"arrayDiff.tokenize","ranges":[{"startOffset":695,"endOffset":739,"count":0}],"isBlockCoverage":false},{"functionName":"arrayDiff.join.arrayDiff.removeEmpty","ranges":[{"startOffset":783,"endOffset":819,"count":0}],"isBlockCoverage":false},{"functionName":"diffArrays","ranges":[{"startOffset":822,"endOffset":922,"count":0}],"isBlockCoverage":false}]},{"scriptId":"793","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/apply.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":19926,"count":1}],"isBlockCoverage":true},{"functionName":"_interopRequireDefault","ranges":[{"startOffset":450,"endOffset":547,"count":1},{"startOffset":524,"endOffset":544,"count":0}],"isBlockCoverage":true},{"functionName":"applyPatch","ranges":[{"startOffset":573,"endOffset":4807,"count":0}],"isBlockCoverage":false},{"functionName":"applyPatches","ranges":[{"startOffset":4872,"endOffset":5728,"count":0}],"isBlockCoverage":false}]},{"scriptId":"794","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17908,"count":1}],"isBlockCoverage":true},{"functionName":"parsePatch","ranges":[{"startOffset":164,"endOffset":4730,"count":0}],"isBlockCoverage":false}]},{"scriptId":"795","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/util/distance-iterator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4641,"count":1}],"isBlockCoverage":true},{"functionName":"_default","ranges":[{"startOffset":340,"endOffset":1483,"count":0}],"isBlockCoverage":false}]},{"scriptId":"796","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/merge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":50907,"count":1}],"isBlockCoverage":true},{"functionName":"_toConsumableArray","ranges":[{"startOffset":482,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"_nonIterableSpread","ranges":[{"startOffset":637,"endOffset":827,"count":0}],"isBlockCoverage":false},{"functionName":"_unsupportedIterableToArray","ranges":[{"startOffset":829,"endOffset":1245,"count":0}],"isBlockCoverage":false},{"functionName":"_iterableToArray","ranges":[{"startOffset":1247,"endOffset":1377,"count":0}],"isBlockCoverage":false},{"functionName":"_arrayWithoutHoles","ranges":[{"startOffset":1379,"endOffset":1470,"count":0}],"isBlockCoverage":false},{"functionName":"_arrayLikeToArray","ranges":[{"startOffset":1472,"endOffset":1655,"count":0}],"isBlockCoverage":false},{"functionName":"calcLineCount","ranges":[{"startOffset":1681,"endOffset":2135,"count":0}],"isBlockCoverage":false},{"functionName":"merge","ranges":[{"startOffset":2137,"endOffset":5016,"count":0}],"isBlockCoverage":false},{"functionName":"loadPatch","ranges":[{"startOffset":5018,"endOffset":5874,"count":0}],"isBlockCoverage":false},{"functionName":"fileNameChanged","ranges":[{"startOffset":5876,"endOffset":5982,"count":0}],"isBlockCoverage":false},{"functionName":"selectField","ranges":[{"startOffset":5984,"endOffset":6172,"count":0}],"isBlockCoverage":false},{"functionName":"hunkBefore","ranges":[{"startOffset":6174,"endOffset":6301,"count":0}],"isBlockCoverage":false},{"functionName":"cloneHunk","ranges":[{"startOffset":6303,"endOffset":6502,"count":0}],"isBlockCoverage":false},{"functionName":"mergeLines","ranges":[{"startOffset":6504,"endOffset":9249,"count":0}],"isBlockCoverage":false},{"functionName":"mutualChange","ranges":[{"startOffset":9251,"endOffset":11898,"count":0}],"isBlockCoverage":false},{"functionName":"removal","ranges":[{"startOffset":11900,"endOffset":12608,"count":0}],"isBlockCoverage":false},{"functionName":"conflict","ranges":[{"startOffset":12610,"endOffset":12754,"count":0}],"isBlockCoverage":false},{"functionName":"insertLeading","ranges":[{"startOffset":12756,"endOffset":12979,"count":0}],"isBlockCoverage":false},{"functionName":"insertTrailing","ranges":[{"startOffset":12981,"endOffset":13145,"count":0}],"isBlockCoverage":false},{"functionName":"collectChange","ranges":[{"startOffset":13147,"endOffset":13641,"count":0}],"isBlockCoverage":false},{"functionName":"collectContext","ranges":[{"startOffset":13643,"endOffset":14910,"count":0}],"isBlockCoverage":false},{"functionName":"allRemoves","ranges":[{"startOffset":14912,"endOffset":15044,"count":0}],"isBlockCoverage":false},{"functionName":"skipRemoveSuperset","ranges":[{"startOffset":15046,"endOffset":15360,"count":0}],"isBlockCoverage":false},{"functionName":"calcOldNewLineCount","ranges":[{"startOffset":15362,"endOffset":16317,"count":0}],"isBlockCoverage":false}]},{"scriptId":"797","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/create.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":23586,"count":1}],"isBlockCoverage":true},{"functionName":"_toConsumableArray","ranges":[{"startOffset":410,"endOffset":563,"count":0}],"isBlockCoverage":false},{"functionName":"_nonIterableSpread","ranges":[{"startOffset":565,"endOffset":755,"count":0}],"isBlockCoverage":false},{"functionName":"_unsupportedIterableToArray","ranges":[{"startOffset":757,"endOffset":1173,"count":0}],"isBlockCoverage":false},{"functionName":"_iterableToArray","ranges":[{"startOffset":1175,"endOffset":1305,"count":0}],"isBlockCoverage":false},{"functionName":"_arrayWithoutHoles","ranges":[{"startOffset":1307,"endOffset":1398,"count":0}],"isBlockCoverage":false},{"functionName":"_arrayLikeToArray","ranges":[{"startOffset":1400,"endOffset":1583,"count":0}],"isBlockCoverage":false},{"functionName":"structuredPatch","ranges":[{"startOffset":1609,"endOffset":6844,"count":0}],"isBlockCoverage":false},{"functionName":"formatPatch","ranges":[{"startOffset":6846,"endOffset":7865,"count":0}],"isBlockCoverage":false},{"functionName":"createTwoFilesPatch","ranges":[{"startOffset":7867,"endOffset":8084,"count":0}],"isBlockCoverage":false},{"functionName":"createPatch","ranges":[{"startOffset":8086,"endOffset":8264,"count":0}],"isBlockCoverage":false}]},{"scriptId":"798","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/util/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2026,"count":1}],"isBlockCoverage":true},{"functionName":"arrayEqual","ranges":[{"startOffset":207,"endOffset":322,"count":0}],"isBlockCoverage":false},{"functionName":"arrayStartsWith","ranges":[{"startOffset":324,"endOffset":548,"count":0}],"isBlockCoverage":false}]},{"scriptId":"799","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/convert/dmp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2255,"count":1}],"isBlockCoverage":true},{"functionName":"convertChangesToDMP","ranges":[{"startOffset":248,"endOffset":609,"count":0}],"isBlockCoverage":false}]},{"scriptId":"800","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/convert/xml.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3359,"count":1}],"isBlockCoverage":true},{"functionName":"convertChangesToXML","ranges":[{"startOffset":182,"endOffset":613,"count":0}],"isBlockCoverage":false},{"functionName":"escapeHTML","ranges":[{"startOffset":615,"endOffset":793,"count":0}],"isBlockCoverage":false}]},{"scriptId":"801","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/is-non-existent-property.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":336,"count":1}],"isBlockCoverage":true},{"functionName":"isNonExistentProperty","ranges":[{"startOffset":139,"endOffset":294,"count":5}],"isBlockCoverage":true}]},{"scriptId":"802","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/spy.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5573,"count":1}],"isBlockCoverage":true},{"functionName":"matches","ranges":[{"startOffset":920,"endOffset":1193,"count":0}],"isBlockCoverage":false},{"functionName":"withArgs","ranges":[{"startOffset":1240,"endOffset":2249,"count":0}],"isBlockCoverage":false},{"functionName":"matchingFakes","ranges":[{"startOffset":2316,"endOffset":2464,"count":10}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2381,"endOffset":2456,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2660,"endOffset":2779,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2886,"endOffset":3005,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3111,"endOffset":3231,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3289,"endOffset":3405,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3590,"endOffset":3706,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3768,"endOffset":3947,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4038,"endOffset":4241,"count":0}],"isBlockCoverage":false},{"functionName":"createSpy","ranges":[{"startOffset":4247,"endOffset":4741,"count":0}],"isBlockCoverage":false},{"functionName":"spy","ranges":[{"startOffset":4743,"endOffset":5528,"count":0}],"isBlockCoverage":false}]},{"scriptId":"803","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/is-es-module.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":554,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":369,"endOffset":552,"count":5},{"startOffset":509,"endOffset":543,"count":0}],"isBlockCoverage":true}]},{"scriptId":"804","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/walk-object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1653,"count":1}],"isBlockCoverage":true},{"functionName":"walkObject","ranges":[{"startOffset":557,"endOffset":1622,"count":0}],"isBlockCoverage":false}]},{"scriptId":"805","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/wrap-method.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8738,"count":1}],"isBlockCoverage":true},{"functionName":"noop","ranges":[{"startOffset":74,"endOffset":82,"count":0}],"isBlockCoverage":false},{"functionName":"isFunction","ranges":[{"startOffset":450,"endOffset":600,"count":5},{"startOffset":524,"endOffset":591,"count":0}],"isBlockCoverage":true},{"functionName":"mirrorProperties","ranges":[{"startOffset":602,"endOffset":782,"count":10},{"startOffset":677,"endOffset":780,"count":25},{"startOffset":722,"endOffset":774,"count":20}],"isBlockCoverage":true},{"functionName":"getAccessor","ranges":[{"startOffset":784,"endOffset":1175,"count":10},{"startOffset":983,"endOffset":1156,"count":20},{"startOffset":1035,"endOffset":1095,"count":0},{"startOffset":1106,"endOffset":1150,"count":0}],"isBlockCoverage":true},{"functionName":"wrapMethod","ranges":[{"startOffset":1282,"endOffset":8736,"count":5},{"startOffset":1347,"endOffset":1417,"count":0},{"startOffset":1456,"endOffset":1485,"count":0},{"startOffset":1487,"endOffset":1610,"count":0},{"startOffset":3276,"endOffset":3310,"count":0},{"startOffset":3426,"endOffset":3434,"count":0},{"startOffset":3538,"endOffset":3693,"count":0},{"startOffset":3742,"endOffset":3788,"count":0},{"startOffset":3799,"endOffset":3934,"count":0},{"startOffset":3954,"endOffset":4173,"count":0},{"startOffset":4773,"endOffset":4828,"count":0},{"startOffset":5066,"endOffset":5307,"count":0},{"startOffset":5313,"endOffset":5362,"count":0}],"isBlockCoverage":true},{"functionName":"checkWrappedMethod","ranges":[{"startOffset":1616,"endOffset":2717,"count":5},{"startOffset":1721,"endOffset":1930,"count":0},{"startOffset":1962,"endOffset":1992,"count":0},{"startOffset":1994,"endOffset":2183,"count":0},{"startOffset":2221,"endOffset":2483,"count":0},{"startOffset":2504,"endOffset":2711,"count":0}],"isBlockCoverage":true},{"functionName":"simplePropertyAssignment","ranges":[{"startOffset":2826,"endOffset":3028,"count":0}],"isBlockCoverage":false},{"functionName":"extendObjectWithWrappedMethods","ranges":[{"startOffset":5407,"endOffset":6214,"count":5},{"startOffset":5608,"endOffset":5626,"count":0},{"startOffset":6126,"endOffset":6198,"count":0}],"isBlockCoverage":true},{"functionName":"restore","ranges":[{"startOffset":6220,"endOffset":8714,"count":5},{"startOffset":6537,"endOffset":7745,"count":0},{"startOffset":7777,"endOffset":7922,"count":0},{"startOffset":8206,"endOffset":8284,"count":0},{"startOffset":8298,"endOffset":8447,"count":0},{"startOffset":8513,"endOffset":8708,"count":0}],"isBlockCoverage":true}]},{"scriptId":"806","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/sinon-type.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":625,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":346,"endOffset":537,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":543,"endOffset":620,"count":5}],"isBlockCoverage":true}]},{"scriptId":"807","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/throw-on-falsy-object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":381,"count":1}],"isBlockCoverage":true},{"functionName":"throwOnFalsyObject","ranges":[{"startOffset":80,"endOffset":342,"count":5},{"startOffset":157,"endOffset":340,"count":0}],"isBlockCoverage":true}]},{"scriptId":"808","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/use-promise-library.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":425,"count":1}],"isBlockCoverage":true},{"functionName":"usePromiseLibrary","ranges":[{"startOffset":57,"endOffset":387,"count":5},{"startOffset":165,"endOffset":385,"count":0}],"isBlockCoverage":true}]},{"scriptId":"809","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/create-stub-instance.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1123,"count":1}],"isBlockCoverage":true},{"functionName":"isStub","ranges":[{"startOffset":171,"endOffset":241,"count":0}],"isBlockCoverage":false},{"functionName":"createStubInstance","ranges":[{"startOffset":260,"endOffset":1121,"count":0}],"isBlockCoverage":false}]},{"scriptId":"810","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/fake.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6191,"count":1}],"isBlockCoverage":true},{"functionName":"fake","ranges":[{"startOffset":837,"endOffset":1016,"count":0}],"isBlockCoverage":false},{"functionName":"returns","ranges":[{"startOffset":1296,"endOffset":1447,"count":0}],"isBlockCoverage":false},{"functionName":"throws","ranges":[{"startOffset":1931,"endOffset":2090,"count":0}],"isBlockCoverage":false},{"functionName":"resolves","ranges":[{"startOffset":2370,"endOffset":2542,"count":0}],"isBlockCoverage":false},{"functionName":"rejects","ranges":[{"startOffset":2961,"endOffset":3141,"count":0}],"isBlockCoverage":false},{"functionName":"usingPromise","ranges":[{"startOffset":3445,"endOffset":3536,"count":0}],"isBlockCoverage":false},{"functionName":"yields","ranges":[{"startOffset":3851,"endOffset":4241,"count":0}],"isBlockCoverage":false},{"functionName":"yieldsAsync","ranges":[{"startOffset":4617,"endOffset":5058,"count":0}],"isBlockCoverage":false},{"functionName":"wrapFunc","ranges":[{"startOffset":5206,"endOffset":5898,"count":0}],"isBlockCoverage":false},{"functionName":"getError","ranges":[{"startOffset":6100,"endOffset":6190,"count":0}],"isBlockCoverage":false}]},{"scriptId":"811","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":188,"count":1}],"isBlockCoverage":true}]},{"scriptId":"812","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/fake-server/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9397,"count":1}],"isBlockCoverage":true},{"functionName":"responseArray","ranges":[{"startOffset":267,"endOffset":925,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultWindowLocation","ranges":[{"startOffset":927,"endOffset":1215,"count":0}],"isBlockCoverage":false},{"functionName":"getWindowLocation","ranges":[{"startOffset":1217,"endOffset":1766,"count":0}],"isBlockCoverage":false},{"functionName":"matchOne","ranges":[{"startOffset":1768,"endOffset":2183,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":2185,"endOffset":2960,"count":0}],"isBlockCoverage":false},{"functionName":"incrementRequestCount","ranges":[{"startOffset":2962,"endOffset":3367,"count":0}],"isBlockCoverage":false},{"functionName":"create","ranges":[{"startOffset":3400,"endOffset":3930,"count":0}],"isBlockCoverage":false},{"functionName":"configure","ranges":[{"startOffset":3948,"endOffset":4549,"count":0}],"isBlockCoverage":false},{"functionName":"addRequest","ranges":[{"startOffset":4568,"endOffset":5184,"count":0}],"isBlockCoverage":false},{"functionName":"getHTTPMethod","ranges":[{"startOffset":5206,"endOffset":5525,"count":0}],"isBlockCoverage":false},{"functionName":"handleRequest","ranges":[{"startOffset":5547,"endOffset":5712,"count":0}],"isBlockCoverage":false},{"functionName":"logger","ranges":[{"startOffset":5727,"endOffset":5788,"count":0}],"isBlockCoverage":false},{"functionName":"respondWith","ranges":[{"startOffset":5861,"endOffset":7176,"count":0}],"isBlockCoverage":false},{"functionName":"respond","ranges":[{"startOffset":7192,"endOffset":7535,"count":0}],"isBlockCoverage":false},{"functionName":"respondAll","ranges":[{"startOffset":7554,"endOffset":7821,"count":0}],"isBlockCoverage":false},{"functionName":"processRequest","ranges":[{"startOffset":7844,"endOffset":8637,"count":0}],"isBlockCoverage":false},{"functionName":"restore","ranges":[{"startOffset":8653,"endOffset":8759,"count":0}],"isBlockCoverage":false},{"functionName":"getRequest","ranges":[{"startOffset":8778,"endOffset":8857,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":8871,"endOffset":8954,"count":0}],"isBlockCoverage":false},{"functionName":"resetBehavior","ranges":[{"startOffset":8976,"endOffset":9063,"count":0}],"isBlockCoverage":false},{"functionName":"resetHistory","ranges":[{"startOffset":9084,"endOffset":9363,"count":0}],"isBlockCoverage":false}]},{"scriptId":"813","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/fake-xhr/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30778,"count":1},{"startOffset":108,"endOffset":155,"count":0}],"isBlockCoverage":true},{"functionName":"getWorkingXHR","ranges":[{"startOffset":636,"endOffset":1060,"count":1},{"startOffset":768,"endOffset":818,"count":0},{"startOffset":921,"endOffset":1039,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":938,"endOffset":1032,"count":0}],"isBlockCoverage":false},{"functionName":"EventTargetHandler","ranges":[{"startOffset":1666,"endOffset":2206,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeHeaderValue","ranges":[{"startOffset":2264,"endOffset":2484,"count":0}],"isBlockCoverage":false},{"functionName":"getHeader","ranges":[{"startOffset":2486,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"excludeSetCookie2Header","ranges":[{"startOffset":2692,"endOffset":2780,"count":0}],"isBlockCoverage":false},{"functionName":"verifyResponseBodyType","ranges":[{"startOffset":2782,"endOffset":3910,"count":0}],"isBlockCoverage":false},{"functionName":"convertToArrayBuffer","ranges":[{"startOffset":3912,"endOffset":4103,"count":0}],"isBlockCoverage":false},{"functionName":"isXmlContentType","ranges":[{"startOffset":4105,"endOffset":4258,"count":0}],"isBlockCoverage":false},{"functionName":"clearResponse","ranges":[{"startOffset":4260,"endOffset":4498,"count":0}],"isBlockCoverage":false},{"functionName":"fakeXMLHttpRequestFor","ranges":[{"startOffset":4500,"endOffset":30660,"count":1},{"startOffset":4600,"endOffset":4658,"count":0},{"startOffset":5140,"endOffset":5199,"count":0},{"startOffset":5284,"endOffset":5355,"count":0}],"isBlockCoverage":true},{"functionName":"FakeXMLHttpRequest","ranges":[{"startOffset":5580,"endOffset":6290,"count":0}],"isBlockCoverage":false},{"functionName":"verifyState","ranges":[{"startOffset":6296,"endOffset":6538,"count":0}],"isBlockCoverage":false},{"functionName":"apply","ranges":[{"startOffset":6600,"endOffset":7221,"count":0}],"isBlockCoverage":false},{"functionName":"addFilter","ranges":[{"startOffset":7296,"endOffset":7357,"count":0}],"isBlockCoverage":false},{"functionName":"defake","ranges":[{"startOffset":7391,"endOffset":10337,"count":0}],"isBlockCoverage":false},{"functionName":"verifyRequestOpened","ranges":[{"startOffset":10387,"endOffset":10881,"count":0}],"isBlockCoverage":false},{"functionName":"verifyRequestSent","ranges":[{"startOffset":10887,"endOffset":11039,"count":0}],"isBlockCoverage":false},{"functionName":"verifyHeadersReceived","ranges":[{"startOffset":11045,"endOffset":11267,"count":0}],"isBlockCoverage":false},{"functionName":"convertResponseBody","ranges":[{"startOffset":11273,"endOffset":12392,"count":0}],"isBlockCoverage":false},{"functionName":"requestErrorSteps","ranges":[{"startOffset":12531,"endOffset":12967,"count":0}],"isBlockCoverage":false},{"functionName":"parseXML","ranges":[{"startOffset":13003,"endOffset":14653,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":16148,"endOffset":16997,"count":0}],"isBlockCoverage":false},{"functionName":"readyStateChange","ranges":[{"startOffset":17026,"endOffset":19173,"count":0}],"isBlockCoverage":false},{"functionName":"setRequestHeader","ranges":[{"startOffset":19276,"endOffset":20510,"count":0}],"isBlockCoverage":false},{"functionName":"setStatus","ranges":[{"startOffset":20532,"endOffset":20809,"count":0}],"isBlockCoverage":false},{"functionName":"setResponseHeaders","ranges":[{"startOffset":20865,"endOffset":21365,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":21453,"endOffset":24306,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":24324,"endOffset":24479,"count":0}],"isBlockCoverage":false},{"functionName":"error","ranges":[{"startOffset":24497,"endOffset":24725,"count":0}],"isBlockCoverage":false},{"functionName":"triggerTimeout","ranges":[{"startOffset":24752,"endOffset":24926,"count":0}],"isBlockCoverage":false},{"functionName":"getResponseHeader","ranges":[{"startOffset":24956,"endOffset":25391,"count":0}],"isBlockCoverage":false},{"functionName":"getAllResponseHeaders","ranges":[{"startOffset":25425,"endOffset":25965,"count":0}],"isBlockCoverage":false},{"functionName":"setResponseBody","ranges":[{"startOffset":25993,"endOffset":27680,"count":0}],"isBlockCoverage":false},{"functionName":"respond","ranges":[{"startOffset":27700,"endOffset":27927,"count":0}],"isBlockCoverage":false},{"functionName":"uploadProgress","ranges":[{"startOffset":27954,"endOffset":28305,"count":0}],"isBlockCoverage":false},{"functionName":"downloadProgress","ranges":[{"startOffset":28334,"endOffset":28673,"count":0}],"isBlockCoverage":false},{"functionName":"uploadError","ranges":[{"startOffset":28697,"endOffset":28926,"count":0}],"isBlockCoverage":false},{"functionName":"overrideMimeType","ranges":[{"startOffset":28955,"endOffset":29175,"count":0}],"isBlockCoverage":false},{"functionName":"useFakeXMLHttpRequest","ranges":[{"startOffset":29410,"endOffset":30513,"count":0}],"isBlockCoverage":false}]},{"scriptId":"814","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":457,"count":1}],"isBlockCoverage":true}]},{"scriptId":"815","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":386,"count":1},{"startOffset":216,"endOffset":353,"count":0}],"isBlockCoverage":true}]},{"scriptId":"816","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/called-in-order.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1445,"count":1}],"isBlockCoverage":true},{"functionName":"hasCallsLeft","ranges":[{"startOffset":85,"endOffset":245,"count":0}],"isBlockCoverage":false},{"functionName":"checkAdjacentCalls","ranges":[{"startOffset":267,"endOffset":602,"count":0}],"isBlockCoverage":false},{"functionName":"calledInOrder","ranges":[{"startOffset":1177,"endOffset":1411,"count":0}],"isBlockCoverage":false}]},{"scriptId":"817","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true}]},{"scriptId":"818","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype-methods.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1010,"count":1},{"startOffset":423,"endOffset":470,"count":0}],"isBlockCoverage":true},{"functionName":"copyPrototypeMethods","ranges":[{"startOffset":489,"endOffset":1008,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":671,"endOffset":979,"count":134},{"startOffset":768,"endOffset":806,"count":4},{"startOffset":806,"endOffset":859,"count":130},{"startOffset":859,"endOffset":897,"count":5},{"startOffset":897,"endOffset":978,"count":125}],"isBlockCoverage":true}]},{"scriptId":"819","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/throws-on-proto.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":749,"count":1},{"startOffset":488,"endOffset":715,"count":0}],"isBlockCoverage":true}]},{"scriptId":"820","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/class-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":921,"count":1}],"isBlockCoverage":true},{"functionName":"className","ranges":[{"startOffset":221,"endOffset":891,"count":0}],"isBlockCoverage":false}]},{"scriptId":"821","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/function-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":818,"count":1}],"isBlockCoverage":true},{"functionName":"functionName","ranges":[{"startOffset":132,"endOffset":816,"count":0}],"isBlockCoverage":false}]},{"scriptId":"822","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/deprecated.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1363,"count":1}],"isBlockCoverage":true},{"functionName":"exports.wrap","ranges":[{"startOffset":282,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"exports.defaultMsg","ranges":[{"startOffset":774,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"exports.printWarning","ranges":[{"startOffset":1080,"endOffset":1361,"count":0}],"isBlockCoverage":false}]},{"scriptId":"823","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/every.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":666,"count":1}],"isBlockCoverage":true},{"functionName":"every","ranges":[{"startOffset":241,"endOffset":664,"count":0}],"isBlockCoverage":false}]},{"scriptId":"824","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/order-by-first-call.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":817,"count":1}],"isBlockCoverage":true},{"functionName":"comparator","ranges":[{"startOffset":132,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"orderByFirstCall","ranges":[{"startOffset":701,"endOffset":780,"count":0}],"isBlockCoverage":false}]},{"scriptId":"825","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":225,"count":1}],"isBlockCoverage":true}]},{"scriptId":"826","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":125,"count":1}],"isBlockCoverage":true}]},{"scriptId":"827","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"828","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"829","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"830","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/prototypes/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"831","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/type-of.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":266,"count":1}],"isBlockCoverage":true},{"functionName":"typeOf","ranges":[{"startOffset":200,"endOffset":264,"count":0}],"isBlockCoverage":false}]},{"scriptId":"832","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/commons/lib/value-to-string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"valueToString","ranges":[{"startOffset":116,"endOffset":336,"count":0}],"isBlockCoverage":false}]},{"scriptId":"833","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/configure-logger/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1639,"count":1}],"isBlockCoverage":true},{"functionName":"configureLogger","ranges":[{"startOffset":239,"endOffset":1603,"count":1},{"startOffset":344,"endOffset":349,"count":0}],"isBlockCoverage":true},{"functionName":"config.logger","ranges":[{"startOffset":510,"endOffset":523,"count":0}],"isBlockCoverage":false},{"functionName":"logError","ranges":[{"startOffset":966,"endOffset":1600,"count":0}],"isBlockCoverage":false}]},{"scriptId":"834","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/event/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":203,"count":1}],"isBlockCoverage":true}]},{"scriptId":"835","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/event/event.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":569,"count":1}],"isBlockCoverage":true},{"functionName":"Event","ranges":[{"startOffset":15,"endOffset":123,"count":2}],"isBlockCoverage":true},{"functionName":"initEvent","ranges":[{"startOffset":160,"endOffset":374,"count":2}],"isBlockCoverage":true},{"functionName":"stopPropagation","ranges":[{"startOffset":448,"endOffset":461,"count":0}],"isBlockCoverage":false},{"functionName":"preventDefault","ranges":[{"startOffset":484,"endOffset":540,"count":0}],"isBlockCoverage":false}]},{"scriptId":"836","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/event/progress-event.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":596,"count":1}],"isBlockCoverage":true},{"functionName":"ProgressEvent","ranges":[{"startOffset":48,"endOffset":468,"count":0}],"isBlockCoverage":false}]},{"scriptId":"837","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/event/custom-event.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":311,"count":1}],"isBlockCoverage":true},{"functionName":"CustomEvent","ranges":[{"startOffset":48,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"838","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/event/event-target.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4070,"count":1}],"isBlockCoverage":true},{"functionName":"flattenOptions","ranges":[{"startOffset":15,"endOffset":357,"count":0}],"isBlockCoverage":false},{"functionName":"not","ranges":[{"startOffset":358,"endOffset":452,"count":0}],"isBlockCoverage":false},{"functionName":"hasListenerFilter","ranges":[{"startOffset":453,"endOffset":668,"count":0}],"isBlockCoverage":false},{"functionName":"addEventListener","ranges":[{"startOffset":781,"endOffset":2274,"count":0}],"isBlockCoverage":false},{"functionName":"removeEventListener","ranges":[{"startOffset":2374,"endOffset":3136,"count":0}],"isBlockCoverage":false},{"functionName":"dispatchEvent","ranges":[{"startOffset":3158,"endOffset":4035,"count":0}],"isBlockCoverage":false}]},{"scriptId":"839","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/just-extend/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1947,"count":1}],"isBlockCoverage":true},{"functionName":"extend","ranges":[{"startOffset":771,"endOffset":1735,"count":4},{"startOffset":917,"endOffset":947,"count":0},{"startOffset":1002,"endOffset":1058,"count":0},{"startOffset":1154,"endOffset":1716,"count":5},{"startOffset":1219,"endOffset":1712,"count":32},{"startOffset":1338,"endOffset":1359,"count":0},{"startOffset":1361,"endOffset":1650,"count":0}],"isBlockCoverage":true},{"functionName":"isCloneable","ranges":[{"startOffset":1737,"endOffset":1841,"count":0}],"isBlockCoverage":false},{"functionName":"isUnextendable","ranges":[{"startOffset":1843,"endOffset":1946,"count":4},{"startOffset":1915,"endOffset":1942,"count":1}],"isBlockCoverage":true}]},{"scriptId":"840","url":"node:internal/deps/undici/undici","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":539966,"count":1}],"isBlockCoverage":false},{"functionName":"__commonJS","ranges":[{"startOffset":83,"endOffset":222,"count":55}],"isBlockCoverage":true},{"functionName":"__require","ranges":[{"startOffset":96,"endOffset":222,"count":166},{"startOffset":132,"endOffset":206,"count":54}],"isBlockCoverage":true},{"functionName":"lib/core/symbols.js","ranges":[{"startOffset":285,"endOffset":2893,"count":1}],"isBlockCoverage":true},{"functionName":"lib/fetch/symbols.js","ranges":[{"startOffset":2961,"endOffset":3244,"count":1}],"isBlockCoverage":true},{"functionName":"lib/core/errors.js","ranges":[{"startOffset":3308,"endOffset":10942,"count":1}],"isBlockCoverage":true},{"functionName":"UndiciError","ranges":[{"startOffset":3418,"endOffset":3538,"count":0}],"isBlockCoverage":false},{"functionName":"_ConnectTimeoutError","ranges":[{"startOffset":3631,"endOffset":3895,"count":0}],"isBlockCoverage":false},{"functionName":"_HeadersTimeoutError","ranges":[{"startOffset":3988,"endOffset":4252,"count":0}],"isBlockCoverage":false},{"functionName":"_HeadersOverflowError","ranges":[{"startOffset":4347,"endOffset":4615,"count":0}],"isBlockCoverage":false},{"functionName":"_BodyTimeoutError","ranges":[{"startOffset":4702,"endOffset":4954,"count":0}],"isBlockCoverage":false},{"functionName":"_ResponseStatusCodeError","ranges":[{"startOffset":5055,"endOffset":5494,"count":0}],"isBlockCoverage":false},{"functionName":"_InvalidArgumentError","ranges":[{"startOffset":5589,"endOffset":5852,"count":0}],"isBlockCoverage":false},{"functionName":"_InvalidReturnValueError","ranges":[{"startOffset":5953,"endOffset":6235,"count":0}],"isBlockCoverage":false},{"functionName":"_RequestAbortedError","ranges":[{"startOffset":6328,"endOffset":6569,"count":0}],"isBlockCoverage":false},{"functionName":"_InformationalError","ranges":[{"startOffset":6660,"endOffset":6909,"count":0}],"isBlockCoverage":false},{"functionName":"_RequestContentLengthMismatchError","ranges":[{"startOffset":7030,"endOffset":7369,"count":0}],"isBlockCoverage":false},{"functionName":"_ResponseContentLengthMismatchError","ranges":[{"startOffset":7492,"endOffset":7834,"count":0}],"isBlockCoverage":false},{"functionName":"_ClientDestroyedError","ranges":[{"startOffset":7929,"endOffset":8191,"count":0}],"isBlockCoverage":false},{"functionName":"_ClientClosedError","ranges":[{"startOffset":8280,"endOffset":8530,"count":0}],"isBlockCoverage":false},{"functionName":"_SocketError","ranges":[{"startOffset":8607,"endOffset":8875,"count":0}],"isBlockCoverage":false},{"functionName":"_NotSupportedError","ranges":[{"startOffset":8964,"endOffset":9220,"count":0}],"isBlockCoverage":false},{"functionName":"BalancedPoolMissingUpstreamError","ranges":[{"startOffset":9305,"endOffset":9597,"count":0}],"isBlockCoverage":false},{"functionName":"_HTTPParserError","ranges":[{"startOffset":9676,"endOffset":9942,"count":0}],"isBlockCoverage":false},{"functionName":"_ResponseExceededMaxSizeError","ranges":[{"startOffset":10053,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"lib/core/util.js","ranges":[{"startOffset":11002,"endOffset":24883,"count":1},{"startOffset":24834,"endOffset":24872,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11516,"endOffset":11532,"count":3}],"isBlockCoverage":true},{"functionName":"nop","ranges":[{"startOffset":11539,"endOffset":11561,"count":0}],"isBlockCoverage":false},{"functionName":"isStream","ranges":[{"startOffset":11566,"endOffset":11707,"count":0}],"isBlockCoverage":false},{"functionName":"isBlobLike","ranges":[{"startOffset":11712,"endOffset":11971,"count":0}],"isBlockCoverage":false},{"functionName":"buildURL","ranges":[{"startOffset":11976,"endOffset":12310,"count":0}],"isBlockCoverage":false},{"functionName":"parseURL","ranges":[{"startOffset":12315,"endOffset":14516,"count":0}],"isBlockCoverage":false},{"functionName":"parseOrigin","ranges":[{"startOffset":14521,"endOffset":14722,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname","ranges":[{"startOffset":14727,"endOffset":15022,"count":0}],"isBlockCoverage":false},{"functionName":"getServerName","ranges":[{"startOffset":15027,"endOffset":15290,"count":0}],"isBlockCoverage":false},{"functionName":"deepClone","ranges":[{"startOffset":15295,"endOffset":15372,"count":1}],"isBlockCoverage":true},{"functionName":"isAsyncIterable","ranges":[{"startOffset":15377,"endOffset":15495,"count":0}],"isBlockCoverage":false},{"functionName":"isIterable","ranges":[{"startOffset":15500,"endOffset":15661,"count":0}],"isBlockCoverage":false},{"functionName":"bodyLength","ranges":[{"startOffset":15666,"endOffset":16136,"count":0}],"isBlockCoverage":false},{"functionName":"isDestroyed","ranges":[{"startOffset":16141,"endOffset":16249,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableAborted","ranges":[{"startOffset":16254,"endOffset":16417,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":16422,"endOffset":16969,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeepAliveTimeout","ranges":[{"startOffset":17024,"endOffset":17179,"count":0}],"isBlockCoverage":false},{"functionName":"parseHeaders","ranges":[{"startOffset":17184,"endOffset":18003,"count":0}],"isBlockCoverage":false},{"functionName":"parseRawHeaders","ranges":[{"startOffset":18008,"endOffset":18897,"count":0}],"isBlockCoverage":false},{"functionName":"isBuffer","ranges":[{"startOffset":18902,"endOffset":19005,"count":0}],"isBlockCoverage":false},{"functionName":"validateHandler","ranges":[{"startOffset":19010,"endOffset":20220,"count":0}],"isBlockCoverage":false},{"functionName":"isDisturbed","ranges":[{"startOffset":20225,"endOffset":20479,"count":0}],"isBlockCoverage":false},{"functionName":"isErrored","ranges":[{"startOffset":20484,"endOffset":20652,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":20657,"endOffset":20829,"count":0}],"isBlockCoverage":false},{"functionName":"getSocketInfo","ranges":[{"startOffset":20834,"endOffset":21215,"count":0}],"isBlockCoverage":false},{"functionName":"convertIterableToBuffer","ranges":[{"startOffset":21220,"endOffset":21396,"count":0}],"isBlockCoverage":false},{"functionName":"ReadableStreamFrom","ranges":[{"startOffset":21425,"endOffset":22391,"count":0}],"isBlockCoverage":false},{"functionName":"isFormDataLike","ranges":[{"startOffset":22396,"endOffset":22756,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfAborted","ranges":[{"startOffset":22761,"endOffset":23116,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortListener","ranges":[{"startOffset":23137,"endOffset":23761,"count":0}],"isBlockCoverage":false},{"functionName":"toUSVString","ranges":[{"startOffset":23825,"endOffset":24041,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/constants.js","ranges":[{"startOffset":24954,"endOffset":28925,"count":1},{"startOffset":27746,"endOffset":27882,"count":0},{"startOffset":27954,"endOffset":28540,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27750,"endOffset":27879,"count":0}],"isBlockCoverage":true},{"functionName":"structuredClone2","ranges":[{"startOffset":28144,"endOffset":28540,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/global.js","ranges":[{"startOffset":28990,"endOffset":29955,"count":1}],"isBlockCoverage":true},{"functionName":"getGlobalOrigin","ranges":[{"startOffset":29115,"endOffset":29188,"count":0}],"isBlockCoverage":false},{"functionName":"setGlobalOrigin","ranges":[{"startOffset":29193,"endOffset":29875,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/util.js","ranges":[{"startOffset":30017,"endOffset":47923,"count":1},{"startOffset":30511,"endOffset":30524,"count":0},{"startOffset":46714,"endOffset":46781,"count":0}],"isBlockCoverage":true},{"functionName":"responseURL","ranges":[{"startOffset":30529,"endOffset":30711,"count":0}],"isBlockCoverage":false},{"functionName":"responseLocationURL","ranges":[{"startOffset":30716,"endOffset":31166,"count":0}],"isBlockCoverage":false},{"functionName":"requestCurrentURL","ranges":[{"startOffset":31171,"endOffset":31272,"count":0}],"isBlockCoverage":false},{"functionName":"requestBadPort","ranges":[{"startOffset":31277,"endOffset":31491,"count":0}],"isBlockCoverage":false},{"functionName":"isErrorLike","ranges":[{"startOffset":31496,"endOffset":31661,"count":0}],"isBlockCoverage":false},{"functionName":"isValidReasonPhrase","ranges":[{"startOffset":31666,"endOffset":31982,"count":0}],"isBlockCoverage":false},{"functionName":"isTokenChar","ranges":[{"startOffset":31987,"endOffset":32277,"count":0}],"isBlockCoverage":false},{"functionName":"isValidHTTPToken","ranges":[{"startOffset":32282,"endOffset":32615,"count":0}],"isBlockCoverage":false},{"functionName":"isValidHeaderName","ranges":[{"startOffset":32620,"endOffset":32788,"count":0}],"isBlockCoverage":false},{"functionName":"isValidHeaderValue","ranges":[{"startOffset":32793,"endOffset":33174,"count":0}],"isBlockCoverage":false},{"functionName":"setRequestReferrerPolicyOnRedirect","ranges":[{"startOffset":33179,"endOffset":33760,"count":0}],"isBlockCoverage":false},{"functionName":"crossOriginResourcePolicyCheck","ranges":[{"startOffset":33765,"endOffset":33838,"count":0}],"isBlockCoverage":false},{"functionName":"corsCheck","ranges":[{"startOffset":33843,"endOffset":33895,"count":0}],"isBlockCoverage":false},{"functionName":"TAOCheck","ranges":[{"startOffset":33900,"endOffset":33951,"count":0}],"isBlockCoverage":false},{"functionName":"appendFetchMetadata","ranges":[{"startOffset":33956,"endOffset":34124,"count":0}],"isBlockCoverage":false},{"functionName":"appendRequestOriginHeader","ranges":[{"startOffset":34129,"endOffset":35251,"count":0}],"isBlockCoverage":false},{"functionName":"coarsenedSharedCurrentTime","ranges":[{"startOffset":35256,"endOffset":35363,"count":0}],"isBlockCoverage":false},{"functionName":"createOpaqueTimingInfo","ranges":[{"startOffset":35368,"endOffset":35844,"count":0}],"isBlockCoverage":false},{"functionName":"makePolicyContainer","ranges":[{"startOffset":35849,"endOffset":35969,"count":0}],"isBlockCoverage":false},{"functionName":"clonePolicyContainer","ranges":[{"startOffset":35974,"endOffset":36107,"count":0}],"isBlockCoverage":false},{"functionName":"determineRequestsReferrer","ranges":[{"startOffset":36112,"endOffset":38005,"count":0}],"isBlockCoverage":false},{"functionName":"stripURLForReferrer","ranges":[{"startOffset":38010,"endOffset":38404,"count":0}],"isBlockCoverage":false},{"functionName":"isURLPotentiallyTrustworthy","ranges":[{"startOffset":38409,"endOffset":39380,"count":0}],"isBlockCoverage":false},{"functionName":"bytesMatch","ranges":[{"startOffset":39385,"endOffset":40691,"count":0}],"isBlockCoverage":false},{"functionName":"parseMetadata","ranges":[{"startOffset":40811,"endOffset":41447,"count":0}],"isBlockCoverage":false},{"functionName":"tryUpgradeRequestToAPotentiallyTrustworthyURL","ranges":[{"startOffset":41452,"endOffset":41523,"count":0}],"isBlockCoverage":false},{"functionName":"sameOrigin","ranges":[{"startOffset":41528,"endOffset":41786,"count":0}],"isBlockCoverage":false},{"functionName":"createDeferredPromise","ranges":[{"startOffset":41791,"endOffset":42026,"count":0}],"isBlockCoverage":false},{"functionName":"isAborted","ranges":[{"startOffset":42031,"endOffset":42127,"count":0}],"isBlockCoverage":false},{"functionName":"isCancelled","ranges":[{"startOffset":42132,"endOffset":42279,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeMethod","ranges":[{"startOffset":42284,"endOffset":42423,"count":0}],"isBlockCoverage":false},{"functionName":"serializeJavascriptValueToJSONString","ranges":[{"startOffset":42428,"endOffset":42697,"count":0}],"isBlockCoverage":false},{"functionName":"makeIterator","ranges":[{"startOffset":42801,"endOffset":43872,"count":0}],"isBlockCoverage":false},{"functionName":"iteratorResult","ranges":[{"startOffset":43877,"endOffset":44249,"count":0}],"isBlockCoverage":false},{"functionName":"fullyReadBody","ranges":[{"startOffset":44254,"endOffset":44693,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStreamLike","ranges":[{"startOffset":44750,"endOffset":45029,"count":0}],"isBlockCoverage":false},{"functionName":"isomorphicDecode","ranges":[{"startOffset":45075,"endOffset":45316,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamClose","ranges":[{"startOffset":45321,"endOffset":45539,"count":0}],"isBlockCoverage":false},{"functionName":"isomorphicEncode","ranges":[{"startOffset":45544,"endOffset":45703,"count":0}],"isBlockCoverage":false},{"functionName":"readAllBytes","ranges":[{"startOffset":45708,"endOffset":46144,"count":0}],"isBlockCoverage":false},{"functionName":"urlIsLocal","ranges":[{"startOffset":46149,"endOffset":46335,"count":0}],"isBlockCoverage":false},{"functionName":"urlHasHttpsScheme","ranges":[{"startOffset":46340,"endOffset":46505,"count":0}],"isBlockCoverage":false},{"functionName":"urlIsHttpHttpsScheme","ranges":[{"startOffset":46510,"endOffset":46682,"count":0}],"isBlockCoverage":false},{"functionName":"hasOwn","ranges":[{"startOffset":46718,"endOffset":46780,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/webidl.js","ranges":[{"startOffset":47988,"endOffset":60178,"count":1}],"isBlockCoverage":true},{"functionName":"webidl.errors.exception","ranges":[{"startOffset":48262,"endOffset":48356,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.errors.conversionFailed","ranges":[{"startOffset":48395,"endOffset":48693,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.errors.invalidArgument","ranges":[{"startOffset":48731,"endOffset":48906,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.brandCheck","ranges":[{"startOffset":48932,"endOffset":49176,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.argumentLengthCheck","ranges":[{"startOffset":49211,"endOffset":49468,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.illegalConstructor","ranges":[{"startOffset":49502,"endOffset":49636,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.util.Type","ranges":[{"startOffset":49661,"endOffset":50176,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.util.ConvertToInt","ranges":[{"startOffset":50209,"endOffset":52074,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.util.IntegerPart","ranges":[{"startOffset":52106,"endOffset":52232,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.sequenceConverter","ranges":[{"startOffset":52265,"endOffset":53031,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":52300,"endOffset":53024,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.recordConverter","ranges":[{"startOffset":53062,"endOffset":54056,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":53116,"endOffset":54049,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.interfaceConverter","ranges":[{"startOffset":54090,"endOffset":54390,"count":7}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":54117,"endOffset":54383,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.dictionaryConverter","ranges":[{"startOffset":54425,"endOffset":55938,"count":7}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":54461,"endOffset":55931,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.nullableConverter","ranges":[{"startOffset":55971,"endOffset":56114,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":56006,"endOffset":56107,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.DOMString","ranges":[{"startOffset":56150,"endOffset":56415,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.ByteString","ranges":[{"startOffset":56452,"endOffset":56876,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.boolean","ranges":[{"startOffset":56957,"endOffset":57020,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.any","ranges":[{"startOffset":57050,"endOffset":57085,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.long long","ranges":[{"startOffset":57124,"endOffset":57218,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.unsigned long long","ranges":[{"startOffset":57266,"endOffset":57362,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.unsigned long","ranges":[{"startOffset":57405,"endOffset":57501,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.unsigned short","ranges":[{"startOffset":57545,"endOffset":57653,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.ArrayBuffer","ranges":[{"startOffset":57691,"endOffset":58187,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.TypedArray","ranges":[{"startOffset":58224,"endOffset":58757,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.DataView","ranges":[{"startOffset":58792,"endOffset":59272,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.BufferSource","ranges":[{"startOffset":59311,"endOffset":59714,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/headers.js","ranges":[{"startOffset":60245,"endOffset":72158,"count":1}],"isBlockCoverage":true},{"functionName":"headerValueNormalize","ranges":[{"startOffset":60731,"endOffset":60962,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":60967,"endOffset":61799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61822,"endOffset":64537,"count":0}],"isBlockCoverage":true},{"functionName":"_Headers","ranges":[{"startOffset":64580,"endOffset":64818,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":64884,"endOffset":65803,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":65869,"endOffset":66553,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":66616,"endOffset":67055,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":67118,"endOffset":67562,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":67625,"endOffset":68529,"count":0}],"isBlockCoverage":false},{"functionName":"getSetCookie","ranges":[{"startOffset":68601,"endOffset":68794,"count":0}],"isBlockCoverage":false},{"functionName":"Headers","ranges":[{"startOffset":68878,"endOffset":69581,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":69588,"endOffset":69779,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":69786,"endOffset":69981,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":69988,"endOffset":70188,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":70330,"endOffset":70812,"count":0}],"isBlockCoverage":false},{"functionName":"Headers","ranges":[{"startOffset":70819,"endOffset":70951,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.HeadersInit","ranges":[{"startOffset":71606,"endOffset":72077,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/deps/streamsearch/sbmh.js","ranges":[{"startOffset":72256,"endOffset":76737,"count":1}],"isBlockCoverage":true},{"functionName":"SBMH","ranges":[{"startOffset":72466,"endOffset":73336,"count":0}],"isBlockCoverage":false},{"functionName":"SBMH.reset","ranges":[{"startOffset":73398,"endOffset":73497,"count":0}],"isBlockCoverage":false},{"functionName":"SBMH.push","ranges":[{"startOffset":73525,"endOffset":73844,"count":0}],"isBlockCoverage":false},{"functionName":"SBMH._sbmh_feed","ranges":[{"startOffset":73878,"endOffset":76314,"count":0}],"isBlockCoverage":false},{"functionName":"SBMH._sbmh_lookup_char","ranges":[{"startOffset":76355,"endOffset":76464,"count":0}],"isBlockCoverage":false},{"functionName":"SBMH._sbmh_memcmp","ranges":[{"startOffset":76500,"endOffset":76704,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js","ranges":[{"startOffset":76844,"endOffset":77261,"count":1}],"isBlockCoverage":true},{"functionName":"PartStream","ranges":[{"startOffset":77055,"endOffset":77127,"count":0}],"isBlockCoverage":false},{"functionName":"PartStream._read","ranges":[{"startOffset":77203,"endOffset":77222,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/utils/getLimit.js","ranges":[{"startOffset":77359,"endOffset":77818,"count":1}],"isBlockCoverage":true},{"functionName":"getLimit","ranges":[{"startOffset":77473,"endOffset":77813,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/deps/dicer/lib/HeaderParser.js","ranges":[{"startOffset":77929,"endOffset":80938,"count":1}],"isBlockCoverage":true},{"functionName":"HeaderParser","ranges":[{"startOffset":78344,"endOffset":79292,"count":0}],"isBlockCoverage":false},{"functionName":"HeaderParser.push","ranges":[{"startOffset":79369,"endOffset":79480,"count":0}],"isBlockCoverage":false},{"functionName":"HeaderParser.reset","ranges":[{"startOffset":79517,"endOffset":79635,"count":0}],"isBlockCoverage":false},{"functionName":"HeaderParser._finish","ranges":[{"startOffset":79674,"endOffset":80005,"count":0}],"isBlockCoverage":false},{"functionName":"HeaderParser._parseHeader","ranges":[{"startOffset":80049,"endOffset":80897,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/deps/dicer/lib/Dicer.js","ranges":[{"startOffset":81035,"endOffset":88306,"count":1}],"isBlockCoverage":true},{"functionName":"EMPTY_FN","ranges":[{"startOffset":81480,"endOffset":81498,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer","ranges":[{"startOffset":81504,"endOffset":82568,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer.emit","ranges":[{"startOffset":82633,"endOffset":83591,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer._write","ranges":[{"startOffset":83622,"endOffset":84446,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer.reset","ranges":[{"startOffset":84476,"endOffset":84581,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer.setBoundary","ranges":[{"startOffset":84617,"endOffset":84857,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer._ignore","ranges":[{"startOffset":84889,"endOffset":85064,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer._oninfo","ranges":[{"startOffset":85096,"endOffset":88044,"count":0}],"isBlockCoverage":false},{"functionName":"Dicer._unpause","ranges":[{"startOffset":88077,"endOffset":88272,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/utils/decodeText.js","ranges":[{"startOffset":88408,"endOffset":89247,"count":1}],"isBlockCoverage":true},{"functionName":"decodeText","ranges":[{"startOffset":88669,"endOffset":89209,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/utils/parseParams.js","ranges":[{"startOffset":89351,"endOffset":92326,"count":1}],"isBlockCoverage":true},{"functionName":"encodedReplacer","ranges":[{"startOffset":89536,"endOffset":89635,"count":0}],"isBlockCoverage":false},{"functionName":"parseParams","ranges":[{"startOffset":89640,"endOffset":92287,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/utils/basename.js","ranges":[{"startOffset":92424,"endOffset":92940,"count":1}],"isBlockCoverage":true},{"functionName":"basename","ranges":[{"startOffset":92538,"endOffset":92935,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/types/multipart.js","ranges":[{"startOffset":93040,"endOffset":102334,"count":1}],"isBlockCoverage":true},{"functionName":"Multipart","ranges":[{"startOffset":93650,"endOffset":101498,"count":0}],"isBlockCoverage":false},{"functionName":"Multipart.write","ranges":[{"startOffset":101531,"endOffset":101721,"count":0}],"isBlockCoverage":false},{"functionName":"Multipart.end","ranges":[{"startOffset":101753,"endOffset":102022,"count":0}],"isBlockCoverage":false},{"functionName":"skipPart","ranges":[{"startOffset":102028,"endOffset":102080,"count":0}],"isBlockCoverage":false},{"functionName":"FileStream","ranges":[{"startOffset":102085,"endOffset":102207,"count":0}],"isBlockCoverage":false},{"functionName":"FileStream._read","ranges":[{"startOffset":102277,"endOffset":102296,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/utils/Decoder.js","ranges":[{"startOffset":102430,"endOffset":104808,"count":1}],"isBlockCoverage":true},{"functionName":"Decoder","ranges":[{"startOffset":103724,"endOffset":103778,"count":0}],"isBlockCoverage":false},{"functionName":"Decoder.write","ranges":[{"startOffset":103809,"endOffset":104694,"count":0}],"isBlockCoverage":false},{"functionName":"Decoder.reset","ranges":[{"startOffset":104726,"endOffset":104772,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/types/urlencoded.js","ranges":[{"startOffset":104910,"endOffset":111673,"count":1}],"isBlockCoverage":true},{"functionName":"UrlEncoded","ranges":[{"startOffset":105226,"endOffset":106259,"count":0}],"isBlockCoverage":false},{"functionName":"UrlEncoded.write","ranges":[{"startOffset":106293,"endOffset":110978,"count":0}],"isBlockCoverage":false},{"functionName":"UrlEncoded.end","ranges":[{"startOffset":111011,"endOffset":111634,"count":0}],"isBlockCoverage":false},{"functionName":"node_modules/@fastify/busboy/lib/main.js","ranges":[{"startOffset":111757,"endOffset":114255,"count":1}],"isBlockCoverage":true},{"functionName":"Busboy","ranges":[{"startOffset":112120,"endOffset":112926,"count":0}],"isBlockCoverage":false},{"functionName":"Busboy.emit","ranges":[{"startOffset":112993,"endOffset":113282,"count":0}],"isBlockCoverage":false},{"functionName":"Busboy.getParserByHeaders","ranges":[{"startOffset":113326,"endOffset":114004,"count":0}],"isBlockCoverage":false},{"functionName":"Busboy._write","ranges":[{"startOffset":114036,"endOffset":114110,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/dataURL.js","ranges":[{"startOffset":114322,"endOffset":123933,"count":1}],"isBlockCoverage":true},{"functionName":"dataURLProcessor","ranges":[{"startOffset":114741,"endOffset":116058,"count":0}],"isBlockCoverage":false},{"functionName":"URLSerializer","ranges":[{"startOffset":116063,"endOffset":116341,"count":0}],"isBlockCoverage":false},{"functionName":"collectASequenceOfCodePoints","ranges":[{"startOffset":116346,"endOffset":116632,"count":0}],"isBlockCoverage":false},{"functionName":"collectASequenceOfCodePointsFast","ranges":[{"startOffset":116637,"endOffset":116998,"count":0}],"isBlockCoverage":false},{"functionName":"stringPercentDecode","ranges":[{"startOffset":117003,"endOffset":117124,"count":0}],"isBlockCoverage":false},{"functionName":"percentDecode","ranges":[{"startOffset":117129,"endOffset":117732,"count":0}],"isBlockCoverage":false},{"functionName":"parseMIMEType","ranges":[{"startOffset":117737,"endOffset":120513,"count":0}],"isBlockCoverage":false},{"functionName":"forgivingBase64","ranges":[{"startOffset":120518,"endOffset":121069,"count":0}],"isBlockCoverage":false},{"functionName":"collectAnHTTPQuotedString","ranges":[{"startOffset":121074,"endOffset":122059,"count":0}],"isBlockCoverage":false},{"functionName":"serializeAMimeType","ranges":[{"startOffset":122064,"endOffset":122612,"count":0}],"isBlockCoverage":false},{"functionName":"isHTTPWhiteSpace","ranges":[{"startOffset":122617,"endOffset":122733,"count":0}],"isBlockCoverage":false},{"functionName":"removeHTTPWhitespace","ranges":[{"startOffset":122738,"endOffset":123131,"count":0}],"isBlockCoverage":false},{"functionName":"isASCIIWhitespace","ranges":[{"startOffset":123136,"endOffset":123270,"count":0}],"isBlockCoverage":false},{"functionName":"removeASCIIWhitespace","ranges":[{"startOffset":123275,"endOffset":123671,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/file.js","ranges":[{"startOffset":123994,"endOffset":129773,"count":1}],"isBlockCoverage":true},{"functionName":"_File","ranges":[{"startOffset":124441,"endOffset":125289,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":125296,"endOffset":125390,"count":0}],"isBlockCoverage":false},{"functionName":"get lastModified","ranges":[{"startOffset":125397,"endOffset":125507,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":125514,"endOffset":125608,"count":0}],"isBlockCoverage":false},{"functionName":"_FileLike","ranges":[{"startOffset":125659,"endOffset":125948,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":125955,"endOffset":126078,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBuffer","ranges":[{"startOffset":126085,"endOffset":126218,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":126225,"endOffset":126346,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":126353,"endOffset":126472,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":126479,"endOffset":126586,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":126593,"endOffset":126700,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":126707,"endOffset":126805,"count":0}],"isBlockCoverage":false},{"functionName":"get lastModified","ranges":[{"startOffset":126812,"endOffset":126926,"count":0}],"isBlockCoverage":false},{"functionName":"FileLike","ranges":[{"startOffset":126933,"endOffset":126992,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.BlobPart","ranges":[{"startOffset":127312,"endOffset":127678,"count":0}],"isBlockCoverage":false},{"functionName":"get defaultValue","ranges":[{"startOffset":127957,"endOffset":128016,"count":0}],"isBlockCoverage":false},{"functionName":"converter","ranges":[{"startOffset":128188,"endOffset":128410,"count":0}],"isBlockCoverage":false},{"functionName":"processBlobParts","ranges":[{"startOffset":128468,"endOffset":129235,"count":0}],"isBlockCoverage":false},{"functionName":"convertLineEndingsNative","ranges":[{"startOffset":129240,"endOffset":129456,"count":0}],"isBlockCoverage":false},{"functionName":"isFileLike","ranges":[{"startOffset":129461,"endOffset":129715,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/formdata.js","ranges":[{"startOffset":129842,"endOffset":135861,"count":1},{"startOffset":130212,"endOffset":130225,"count":0}],"isBlockCoverage":true},{"functionName":"_FormData","ranges":[{"startOffset":130270,"endOffset":130541,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":130548,"endOffset":131280,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":131287,"endOffset":131560,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":131567,"endOffset":131933,"count":0}],"isBlockCoverage":false},{"functionName":"getAll","ranges":[{"startOffset":131940,"endOffset":132233,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":132240,"endOffset":132509,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":132516,"endOffset":133542,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":133549,"endOffset":133765,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":133772,"endOffset":133979,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":133986,"endOffset":134197,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":134340,"endOffset":134825,"count":0}],"isBlockCoverage":false},{"functionName":"makeEntry","ranges":[{"startOffset":135057,"endOffset":135821,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/body.js","ranges":[{"startOffset":135922,"endOffset":149206,"count":1},{"startOffset":136855,"endOffset":136868,"count":0}],"isBlockCoverage":true},{"functionName":"extractBody","ranges":[{"startOffset":136874,"endOffset":141650,"count":0}],"isBlockCoverage":false},{"functionName":"safelyExtractBody","ranges":[{"startOffset":141655,"endOffset":142054,"count":0}],"isBlockCoverage":false},{"functionName":"cloneBody","ranges":[{"startOffset":142059,"endOffset":142387,"count":0}],"isBlockCoverage":false},{"functionName":"consumeBody","ranges":[{"startOffset":142392,"endOffset":142868,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfAborted","ranges":[{"startOffset":142873,"endOffset":143022,"count":0}],"isBlockCoverage":false},{"functionName":"bodyMixinMethods","ranges":[{"startOffset":143027,"endOffset":147431,"count":2}],"isBlockCoverage":true},{"functionName":"blob","ranges":[{"startOffset":143097,"endOffset":143472,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBuffer","ranges":[{"startOffset":143482,"endOffset":143632,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":143642,"endOffset":143727,"count":0}],"isBlockCoverage":false},{"functionName":"json","ranges":[{"startOffset":143737,"endOffset":143825,"count":0}],"isBlockCoverage":false},{"functionName":"formData","ranges":[{"startOffset":143835,"endOffset":147394,"count":0}],"isBlockCoverage":false},{"functionName":"mixinBody","ranges":[{"startOffset":147436,"endOffset":147544,"count":2}],"isBlockCoverage":true},{"functionName":"specConsumeBody","ranges":[{"startOffset":147549,"endOffset":148319,"count":0}],"isBlockCoverage":false},{"functionName":"bodyUnusable","ranges":[{"startOffset":148324,"endOffset":148443,"count":0}],"isBlockCoverage":false},{"functionName":"utf8DecodeBytes","ranges":[{"startOffset":148448,"endOffset":148742,"count":0}],"isBlockCoverage":false},{"functionName":"parseJSONFromBytes","ranges":[{"startOffset":148747,"endOffset":148838,"count":0}],"isBlockCoverage":false},{"functionName":"bodyMimeType","ranges":[{"startOffset":148843,"endOffset":149094,"count":0}],"isBlockCoverage":false},{"functionName":"lib/fetch/response.js","ranges":[{"startOffset":149275,"endOffset":162618,"count":1},{"startOffset":150251,"endOffset":150290,"count":0}],"isBlockCoverage":true},{"functionName":"error","ranges":[{"startOffset":150383,"endOffset":150833,"count":0}],"isBlockCoverage":false},{"functionName":"json","ranges":[{"startOffset":150905,"endOffset":151658,"count":0}],"isBlockCoverage":false},{"functionName":"redirect","ranges":[{"startOffset":151751,"endOffset":152828,"count":0}],"isBlockCoverage":false},{"functionName":"_Response","ranges":[{"startOffset":152888,"endOffset":153601,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":153656,"endOffset":153754,"count":0}],"isBlockCoverage":false},{"functionName":"get url","ranges":[{"startOffset":153837,"endOffset":154103,"count":0}],"isBlockCoverage":false},{"functionName":"get redirected","ranges":[{"startOffset":154177,"endOffset":154295,"count":0}],"isBlockCoverage":false},{"functionName":"get status","ranges":[{"startOffset":154338,"endOffset":154440,"count":0}],"isBlockCoverage":false},{"functionName":"get ok","ranges":[{"startOffset":154507,"endOffset":154642,"count":0}],"isBlockCoverage":false},{"functionName":"get statusText","ranges":[{"startOffset":154693,"endOffset":154803,"count":0}],"isBlockCoverage":false},{"functionName":"get headers","ranges":[{"startOffset":154858,"endOffset":154956,"count":0}],"isBlockCoverage":false},{"functionName":"get body","ranges":[{"startOffset":154963,"endOffset":155095,"count":0}],"isBlockCoverage":false},{"functionName":"get bodyUsed","ranges":[{"startOffset":155102,"endOffset":155252,"count":0}],"isBlockCoverage":false},{"functionName":"clone","ranges":[{"startOffset":155297,"endOffset":156067,"count":0}],"isBlockCoverage":false},{"functionName":"cloneResponse","ranges":[{"startOffset":156754,"endOffset":157150,"count":0}],"isBlockCoverage":false},{"functionName":"makeResponse","ranges":[{"startOffset":157155,"endOffset":157633,"count":0}],"isBlockCoverage":false},{"functionName":"makeNetworkError","ranges":[{"startOffset":157638,"endOffset":157937,"count":0}],"isBlockCoverage":false},{"functionName":"makeFilteredResponse","ranges":[{"startOffset":157942,"endOffset":158334,"count":0}],"isBlockCoverage":false},{"functionName":"filterResponse","ranges":[{"startOffset":158339,"endOffset":159220,"count":0}],"isBlockCoverage":false},{"functionName":"makeAppropriateNetworkError","ranges":[{"startOffset":159225,"endOffset":159577,"count":0}],"isBlockCoverage":false},{"functionName":"initializeResponse","ranges":[{"startOffset":159582,"endOffset":160837,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.XMLHttpRequestBodyInit","ranges":[{"startOffset":161157,"endOffset":161764,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.BodyInit","ranges":[{"startOffset":161799,"endOffset":162042,"count":0}],"isBlockCoverage":false},{"functionName":"lib/compat/dispatcher-weakref.js","ranges":[{"startOffset":162708,"endOffset":163790,"count":1}],"isBlockCoverage":true},{"functionName":"CompatWeakRef","ranges":[{"startOffset":162871,"endOffset":162927,"count":0}],"isBlockCoverage":false},{"functionName":"deref","ranges":[{"startOffset":162934,"endOffset":163045,"count":0}],"isBlockCoverage":false},{"functionName":"CompatFinalizer","ranges":[{"startOffset":163093,"endOffset":163161,"count":2}],"isBlockCoverage":true},{"functionName":"register","ranges":[{"startOffset":163168,"endOffset":163426,"count":0}],"isBlockCoverage":false},{"functionName":"module2.exports","ranges":[{"startOffset":163456,"endOffset":163785,"count":2},{"startOffset":163628,"endOffset":163692,"count":0},{"startOffset":163752,"endOffset":163770,"count":0}],"isBlockCoverage":true},{"functionName":"lib/fetch/request.js","ranges":[{"startOffset":163857,"endOffset":187329,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":165132,"endOffset":165212,"count":0}],"isBlockCoverage":false},{"functionName":"_Request","ranges":[{"startOffset":165308,"endOffset":176562,"count":0}],"isBlockCoverage":false},{"functionName":"get method","ranges":[{"startOffset":176636,"endOffset":176737,"count":0}],"isBlockCoverage":false},{"functionName":"get url","ranges":[{"startOffset":176793,"endOffset":176903,"count":0}],"isBlockCoverage":false},{"functionName":"get headers","ranges":[{"startOffset":177143,"endOffset":177240,"count":0}],"isBlockCoverage":false},{"functionName":"get destination","ranges":[{"startOffset":177346,"endOffset":177457,"count":0}],"isBlockCoverage":false},{"functionName":"get referrer","ranges":[{"startOffset":177809,"endOffset":178104,"count":0}],"isBlockCoverage":false},{"functionName":"get referrerPolicy","ranges":[{"startOffset":178268,"endOffset":178385,"count":0}],"isBlockCoverage":false},{"functionName":"get mode","ranges":[{"startOffset":178568,"endOffset":178665,"count":0}],"isBlockCoverage":false},{"functionName":"get credentials","ranges":[{"startOffset":178887,"endOffset":178955,"count":0}],"isBlockCoverage":false},{"functionName":"get cache","ranges":[{"startOffset":179136,"endOffset":179235,"count":0}],"isBlockCoverage":false},{"functionName":"get redirect","ranges":[{"startOffset":179465,"endOffset":179570,"count":0}],"isBlockCoverage":false},{"functionName":"get integrity","ranges":[{"startOffset":179784,"endOffset":179891,"count":0}],"isBlockCoverage":false},{"functionName":"get keepalive","ranges":[{"startOffset":180016,"endOffset":180123,"count":0}],"isBlockCoverage":false},{"functionName":"get isReloadNavigation","ranges":[{"startOffset":180228,"endOffset":180351,"count":0}],"isBlockCoverage":false},{"functionName":"get isHistoryNavigation","ranges":[{"startOffset":180489,"endOffset":180614,"count":0}],"isBlockCoverage":false},{"functionName":"get signal","ranges":[{"startOffset":180804,"endOffset":180899,"count":0}],"isBlockCoverage":false},{"functionName":"get body","ranges":[{"startOffset":180906,"endOffset":181037,"count":0}],"isBlockCoverage":false},{"functionName":"get bodyUsed","ranges":[{"startOffset":181044,"endOffset":181193,"count":0}],"isBlockCoverage":false},{"functionName":"get duplex","ranges":[{"startOffset":181200,"endOffset":181288,"count":0}],"isBlockCoverage":false},{"functionName":"clone","ranges":[{"startOffset":181332,"endOffset":182374,"count":0}],"isBlockCoverage":false},{"functionName":"makeRequest","ranges":[{"startOffset":182410,"endOffset":183687,"count":0}],"isBlockCoverage":false},{"functionName":"cloneRequest","ranges":[{"startOffset":183692,"endOffset":183914,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.RequestInfo","ranges":[{"startOffset":184929,"endOffset":185170,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":186941,"endOffset":187045,"count":0}],"isBlockCoverage":false},{"functionName":"lib/dispatcher.js","ranges":[{"startOffset":187396,"endOffset":187800,"count":1}],"isBlockCoverage":true},{"functionName":"dispatch","ranges":[{"startOffset":187553,"endOffset":187617,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":187624,"endOffset":187685,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":187692,"endOffset":187755,"count":0}],"isBlockCoverage":false},{"functionName":"lib/dispatcher-base.js","ranges":[{"startOffset":187877,"endOffset":193107,"count":1}],"isBlockCoverage":true},{"functionName":"DispatcherBase","ranges":[{"startOffset":188461,"endOffset":188631,"count":1}],"isBlockCoverage":true},{"functionName":"get destroyed","ranges":[{"startOffset":188638,"endOffset":188696,"count":0}],"isBlockCoverage":false},{"functionName":"get closed","ranges":[{"startOffset":188703,"endOffset":188755,"count":0}],"isBlockCoverage":false},{"functionName":"get interceptors","ranges":[{"startOffset":188762,"endOffset":188826,"count":0}],"isBlockCoverage":false},{"functionName":"set interceptors","ranges":[{"startOffset":188833,"endOffset":189246,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":189253,"endOffset":190385,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":190392,"endOffset":191735,"count":0}],"isBlockCoverage":false},{"functionName":"DispatcherBase","ranges":[{"startOffset":191742,"endOffset":192247,"count":0}],"isBlockCoverage":false},{"functionName":"dispatch","ranges":[{"startOffset":192254,"endOffset":193058,"count":0}],"isBlockCoverage":false},{"functionName":"lib/node/fixed-queue.js","ranges":[{"startOffset":193181,"endOffset":194550,"count":1}],"isBlockCoverage":true},{"functionName":"FixedCircularBuffer","ranges":[{"startOffset":193339,"endOffset":193473,"count":0}],"isBlockCoverage":false},{"functionName":"isEmpty","ranges":[{"startOffset":193480,"endOffset":193540,"count":0}],"isBlockCoverage":false},{"functionName":"isFull","ranges":[{"startOffset":193547,"endOffset":193620,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":193627,"endOffset":193724,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":193731,"endOffset":193966,"count":0}],"isBlockCoverage":false},{"functionName":"FixedQueue","ranges":[{"startOffset":194021,"endOffset":194103,"count":0}],"isBlockCoverage":false},{"functionName":"isEmpty","ranges":[{"startOffset":194110,"endOffset":194165,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":194172,"endOffset":194332,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":194339,"endOffset":194539,"count":0}],"isBlockCoverage":false},{"functionName":"lib/pool-stats.js","ranges":[{"startOffset":194617,"endOffset":195308,"count":1}],"isBlockCoverage":true},{"functionName":"PoolStats","ranges":[{"startOffset":194811,"endOffset":194866,"count":0}],"isBlockCoverage":false},{"functionName":"get connected","ranges":[{"startOffset":194873,"endOffset":194938,"count":0}],"isBlockCoverage":false},{"functionName":"get free","ranges":[{"startOffset":194945,"endOffset":195000,"count":0}],"isBlockCoverage":false},{"functionName":"get pending","ranges":[{"startOffset":195007,"endOffset":195068,"count":0}],"isBlockCoverage":false},{"functionName":"get queued","ranges":[{"startOffset":195075,"endOffset":195134,"count":0}],"isBlockCoverage":false},{"functionName":"get running","ranges":[{"startOffset":195141,"endOffset":195202,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":195209,"endOffset":195264,"count":0}],"isBlockCoverage":false},{"functionName":"lib/pool-base.js","ranges":[{"startOffset":195373,"endOffset":200489,"count":1}],"isBlockCoverage":true},{"functionName":"PoolBase","ranges":[{"startOffset":196282,"endOffset":197639,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":197646,"endOffset":197702,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":197709,"endOffset":197814,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":197821,"endOffset":197944,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":197951,"endOffset":198130,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":198137,"endOffset":198304,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":198311,"endOffset":198478,"count":0}],"isBlockCoverage":false},{"functionName":"get stats","ranges":[{"startOffset":198485,"endOffset":198535,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":198542,"endOffset":198803,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":198810,"endOffset":199081,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":199088,"endOffset":199509,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":199516,"endOffset":199967,"count":0}],"isBlockCoverage":false},{"functionName":"PoolBase","ranges":[{"startOffset":199974,"endOffset":200337,"count":0}],"isBlockCoverage":false},{"functionName":"lib/timers.js","ranges":[{"startOffset":200548,"endOffset":202615,"count":1}],"isBlockCoverage":true},{"functionName":"onTimeout","ranges":[{"startOffset":200686,"endOffset":201431,"count":0}],"isBlockCoverage":false},{"functionName":"refreshTimeout","ranges":[{"startOffset":201436,"endOffset":201751,"count":0}],"isBlockCoverage":false},{"functionName":"Timeout","ranges":[{"startOffset":201784,"endOffset":201971,"count":0}],"isBlockCoverage":false},{"functionName":"refresh","ranges":[{"startOffset":201978,"endOffset":202199,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":202206,"endOffset":202248,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":202286,"endOffset":202436,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimeout","ranges":[{"startOffset":202444,"endOffset":202604,"count":0}],"isBlockCoverage":false},{"functionName":"lib/core/request.js","ranges":[{"startOffset":202682,"endOffset":215948,"count":1},{"startOffset":203702,"endOffset":203974,"count":0}],"isBlockCoverage":true},{"functionName":"_Request","ranges":[{"startOffset":204016,"endOffset":209222,"count":0}],"isBlockCoverage":false},{"functionName":"onBodySent","ranges":[{"startOffset":209229,"endOffset":209438,"count":0}],"isBlockCoverage":false},{"functionName":"onRequestSent","ranges":[{"startOffset":209445,"endOffset":209584,"count":0}],"isBlockCoverage":false},{"functionName":"onConnect","ranges":[{"startOffset":209591,"endOffset":209729,"count":0}],"isBlockCoverage":false},{"functionName":"onHeaders","ranges":[{"startOffset":209736,"endOffset":210101,"count":0}],"isBlockCoverage":false},{"functionName":"onData","ranges":[{"startOffset":210108,"endOffset":210240,"count":0}],"isBlockCoverage":false},{"functionName":"onUpgrade","ranges":[{"startOffset":210247,"endOffset":210429,"count":0}],"isBlockCoverage":false},{"functionName":"onComplete","ranges":[{"startOffset":210436,"endOffset":210704,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":210711,"endOffset":210981,"count":0}],"isBlockCoverage":false},{"functionName":"addHeader","ranges":[{"startOffset":211024,"endOffset":211117,"count":0}],"isBlockCoverage":false},{"functionName":"Request","ranges":[{"startOffset":211131,"endOffset":211236,"count":0}],"isBlockCoverage":false},{"functionName":"Request","ranges":[{"startOffset":211250,"endOffset":212196,"count":0}],"isBlockCoverage":false},{"functionName":"Request","ranges":[{"startOffset":212210,"endOffset":212637,"count":0}],"isBlockCoverage":false},{"functionName":"processHeaderValue","ranges":[{"startOffset":212649,"endOffset":213038,"count":0}],"isBlockCoverage":false},{"functionName":"processHeader","ranges":[{"startOffset":213043,"endOffset":215913,"count":0}],"isBlockCoverage":false},{"functionName":"lib/core/connect.js","ranges":[{"startOffset":216014,"endOffset":221559,"count":1},{"startOffset":216351,"endOffset":217338,"count":0}],"isBlockCoverage":true},{"functionName":"WeakSessionCache","ranges":[{"startOffset":216407,"endOffset":216931,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":216940,"endOffset":217068,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":217077,"endOffset":217323,"count":0}],"isBlockCoverage":false},{"functionName":"SimpleSessionCache","ranges":[{"startOffset":217402,"endOffset":217557,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":217566,"endOffset":217646,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":217655,"endOffset":218030,"count":0}],"isBlockCoverage":false},{"functionName":"buildConnector","ranges":[{"startOffset":218050,"endOffset":220853,"count":0}],"isBlockCoverage":false},{"functionName":"setupTimeout","ranges":[{"startOffset":220858,"endOffset":221416,"count":0}],"isBlockCoverage":false},{"functionName":"onConnectTimeout","ranges":[{"startOffset":221421,"endOffset":221517,"count":0}],"isBlockCoverage":false},{"functionName":"lib/llhttp/utils.js","ranges":[{"startOffset":221623,"endOffset":222054,"count":1}],"isBlockCoverage":true},{"functionName":"enumToMap","ranges":[{"startOffset":221780,"endOffset":222014,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":221859,"endOffset":221988,"count":92},{"startOffset":221941,"endOffset":221980,"count":46}],"isBlockCoverage":true},{"functionName":"lib/llhttp/constants.js","ranges":[{"startOffset":222127,"endOffset":233589,"count":1},{"startOffset":230259,"endOffset":230373,"count":26},{"startOffset":231720,"endOffset":231760,"count":128},{"startOffset":232219,"endOffset":232296,"count":224},{"startOffset":232242,"endOffset":232290,"count":223}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":222925,"endOffset":224575,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":224646,"endOffset":224806,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":224875,"endOffset":225453,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225533,"endOffset":225780,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225878,"endOffset":228312,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":229795,"endOffset":229910,"count":46},{"startOffset":229832,"endOffset":229904,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":229934,"endOffset":230114,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":232364,"endOffset":232379,"count":224}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":232485,"endOffset":233227,"count":1}],"isBlockCoverage":true},{"functionName":"lib/handler/RedirectHandler.js","ranges":[{"startOffset":233674,"endOffset":239146,"count":1}],"isBlockCoverage":true},{"functionName":"BodyAsyncIterable","ranges":[{"startOffset":234081,"endOffset":234169,"count":0}],"isBlockCoverage":false},{"functionName":"BodyAsyncIterable","ranges":[{"startOffset":234176,"endOffset":234324,"count":0}],"isBlockCoverage":false},{"functionName":"RedirectHandler","ranges":[{"startOffset":234372,"endOffset":235786,"count":0}],"isBlockCoverage":false},{"functionName":"onConnect","ranges":[{"startOffset":235793,"endOffset":235913,"count":0}],"isBlockCoverage":false},{"functionName":"onUpgrade","ranges":[{"startOffset":235920,"endOffset":236029,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":236036,"endOffset":236097,"count":0}],"isBlockCoverage":false},{"functionName":"onHeaders","ranges":[{"startOffset":236104,"endOffset":237159,"count":0}],"isBlockCoverage":false},{"functionName":"onData","ranges":[{"startOffset":237166,"endOffset":237290,"count":0}],"isBlockCoverage":false},{"functionName":"onComplete","ranges":[{"startOffset":237297,"endOffset":237531,"count":0}],"isBlockCoverage":false},{"functionName":"onBodySent","ranges":[{"startOffset":237538,"endOffset":237656,"count":0}],"isBlockCoverage":false},{"functionName":"parseLocation","ranges":[{"startOffset":237668,"endOffset":237981,"count":0}],"isBlockCoverage":false},{"functionName":"shouldRemoveHeader","ranges":[{"startOffset":237986,"endOffset":238401,"count":0}],"isBlockCoverage":false},{"functionName":"cleanRequestHeaders","ranges":[{"startOffset":238406,"endOffset":239103,"count":0}],"isBlockCoverage":false},{"functionName":"lib/interceptor/redirectInterceptor.js","ranges":[{"startOffset":239243,"endOffset":239976,"count":1}],"isBlockCoverage":true},{"functionName":"createRedirectInterceptor","ranges":[{"startOffset":239380,"endOffset":239923,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":239475,"endOffset":239916,"count":0}],"isBlockCoverage":false},{"functionName":"lib/llhttp/llhttp-wasm.js","ranges":[{"startOffset":240052,"endOffset":314086,"count":0}],"isBlockCoverage":false},{"functionName":"lib/llhttp/llhttp_simd-wasm.js","ranges":[{"startOffset":314172,"endOffset":388191,"count":1}],"isBlockCoverage":true},{"functionName":"lib/client.js","ranges":[{"startOffset":388250,"endOffset":449364,"count":1},{"startOffset":390100,"endOffset":390146,"count":0},{"startOffset":390994,"endOffset":391232,"count":0}],"isBlockCoverage":true},{"functionName":"Client","ranges":[{"startOffset":391416,"endOffset":398623,"count":0}],"isBlockCoverage":false},{"functionName":"get pipelining","ranges":[{"startOffset":398630,"endOffset":398690,"count":0}],"isBlockCoverage":false},{"functionName":"set pipelining","ranges":[{"startOffset":398697,"endOffset":398791,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":398798,"endOffset":398880,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":398887,"endOffset":398967,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":398974,"endOffset":399053,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":399060,"endOffset":399170,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":399177,"endOffset":399387,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":399442,"endOffset":399523,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":399530,"endOffset":400227,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":400234,"endOffset":400446,"count":0}],"isBlockCoverage":false},{"functionName":"Client","ranges":[{"startOffset":400453,"endOffset":401351,"count":0}],"isBlockCoverage":false},{"functionName":"onHttp2SessionError","ranges":[{"startOffset":401363,"endOffset":401533,"count":0}],"isBlockCoverage":false},{"functionName":"onHttp2FrameError","ranges":[{"startOffset":401538,"endOffset":401796,"count":0}],"isBlockCoverage":false},{"functionName":"onHttp2SessionEnd","ranges":[{"startOffset":401801,"endOffset":401974,"count":0}],"isBlockCoverage":false},{"functionName":"onHTTP2GoAway","ranges":[{"startOffset":401979,"endOffset":402913,"count":0}],"isBlockCoverage":false},{"functionName":"lazyllhttp","ranges":[{"startOffset":403064,"endOffset":405463,"count":1},{"startOffset":403150,"endOffset":403173,"count":0},{"startOffset":403311,"endOffset":403435,"count":0}],"isBlockCoverage":true},{"functionName":"wasm_on_url","ranges":[{"startOffset":403565,"endOffset":403616,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_status","ranges":[{"startOffset":403644,"endOffset":403907,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_message_begin","ranges":[{"startOffset":403942,"endOffset":404072,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_header_field","ranges":[{"startOffset":404106,"endOffset":404374,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_header_value","ranges":[{"startOffset":404408,"endOffset":404676,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_headers_complete","ranges":[{"startOffset":404714,"endOffset":404939,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_body","ranges":[{"startOffset":404965,"endOffset":405226,"count":0}],"isBlockCoverage":false},{"functionName":"wasm_on_message_complete","ranges":[{"startOffset":405264,"endOffset":405397,"count":0}],"isBlockCoverage":false},{"functionName":"Parser","ranges":[{"startOffset":405799,"endOffset":406700,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":406707,"endOffset":407280,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":407287,"endOffset":407788,"count":0}],"isBlockCoverage":false},{"functionName":"readMore","ranges":[{"startOffset":407795,"endOffset":408006,"count":0}],"isBlockCoverage":false},{"functionName":"execute","ranges":[{"startOffset":408013,"endOffset":409803,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":409810,"endOffset":410138,"count":0}],"isBlockCoverage":false},{"functionName":"onStatus","ranges":[{"startOffset":410145,"endOffset":410210,"count":0}],"isBlockCoverage":false},{"functionName":"onMessageBegin","ranges":[{"startOffset":410217,"endOffset":410463,"count":0}],"isBlockCoverage":false},{"functionName":"onHeaderField","ranges":[{"startOffset":410470,"endOffset":410748,"count":0}],"isBlockCoverage":false},{"functionName":"onHeaderValue","ranges":[{"startOffset":410755,"endOffset":411505,"count":0}],"isBlockCoverage":false},{"functionName":"trackHeader","ranges":[{"startOffset":411512,"endOffset":411701,"count":0}],"isBlockCoverage":false},{"functionName":"onUpgrade","ranges":[{"startOffset":411708,"endOffset":412973,"count":0}],"isBlockCoverage":false},{"functionName":"onHeadersComplete","ranges":[{"startOffset":412980,"endOffset":415912,"count":0}],"isBlockCoverage":false},{"functionName":"onBody","ranges":[{"startOffset":415919,"endOffset":416808,"count":0}],"isBlockCoverage":false},{"functionName":"onMessageComplete","ranges":[{"startOffset":416815,"endOffset":418614,"count":0}],"isBlockCoverage":false},{"functionName":"onParserTimeout","ranges":[{"startOffset":418626,"endOffset":419352,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketReadable","ranges":[{"startOffset":419357,"endOffset":419459,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketError","ranges":[{"startOffset":419464,"endOffset":419890,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":419895,"endOffset":420354,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketEnd","ranges":[{"startOffset":420359,"endOffset":420721,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketClose","ranges":[{"startOffset":420726,"endOffset":421885,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":421890,"endOffset":426497,"count":0}],"isBlockCoverage":false},{"functionName":"emitDrain","ranges":[{"startOffset":426502,"endOffset":426618,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":426623,"endOffset":426995,"count":0}],"isBlockCoverage":false},{"functionName":"_resume","ranges":[{"startOffset":427000,"endOffset":430574,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":430579,"endOffset":434477,"count":0}],"isBlockCoverage":false},{"functionName":"writeH2","ranges":[{"startOffset":434482,"endOffset":440454,"count":0}],"isBlockCoverage":false},{"functionName":"writeStream","ranges":[{"startOffset":440459,"endOffset":442899,"count":0}],"isBlockCoverage":false},{"functionName":"writeBlob","ranges":[{"startOffset":442904,"endOffset":443920,"count":0}],"isBlockCoverage":false},{"functionName":"writeIterable","ranges":[{"startOffset":443925,"endOffset":445751,"count":0}],"isBlockCoverage":false},{"functionName":"AsyncWriter","ranges":[{"startOffset":445788,"endOffset":446153,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":446160,"endOffset":447694,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":447701,"endOffset":448869,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":448876,"endOffset":449125,"count":0}],"isBlockCoverage":false},{"functionName":"errorRequest","ranges":[{"startOffset":449137,"endOffset":449330,"count":0}],"isBlockCoverage":false},{"functionName":"lib/pool.js","ranges":[{"startOffset":449419,"endOffset":452223,"count":1}],"isBlockCoverage":true},{"functionName":"defaultFactory","ranges":[{"startOffset":449952,"endOffset":450036,"count":0}],"isBlockCoverage":false},{"functionName":"Pool","ranges":[{"startOffset":450083,"endOffset":451770,"count":0}],"isBlockCoverage":false},{"functionName":"Pool","ranges":[{"startOffset":451777,"endOffset":452184,"count":0}],"isBlockCoverage":false},{"functionName":"lib/agent.js","ranges":[{"startOffset":452280,"endOffset":457151,"count":1}],"isBlockCoverage":true},{"functionName":"defaultFactory","ranges":[{"startOffset":453147,"endOffset":453289,"count":0}],"isBlockCoverage":false},{"functionName":"Agent","ranges":[{"startOffset":453343,"endOffset":455436,"count":1},{"startOffset":453494,"endOffset":453578,"count":0},{"startOffset":453607,"endOffset":453639,"count":0},{"startOffset":453640,"endOffset":453670,"count":0},{"startOffset":453672,"endOffset":453768,"count":0},{"startOffset":453840,"endOffset":453938,"count":0},{"startOffset":453959,"endOffset":453991,"count":0},{"startOffset":453993,"endOffset":454040,"count":0},{"startOffset":454092,"endOffset":454121,"count":0},{"startOffset":454122,"endOffset":454166,"count":0},{"startOffset":454167,"endOffset":454195,"count":0},{"startOffset":454373,"endOffset":454402,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":454672,"endOffset":454859,"count":0}],"isBlockCoverage":false},{"functionName":"Agent.","ranges":[{"startOffset":454924,"endOffset":455016,"count":0}],"isBlockCoverage":false},{"functionName":"Agent.","ranges":[{"startOffset":455045,"endOffset":455139,"count":0}],"isBlockCoverage":false},{"functionName":"Agent.","ranges":[{"startOffset":455171,"endOffset":455278,"count":0}],"isBlockCoverage":false},{"functionName":"Agent.","ranges":[{"startOffset":455315,"endOffset":455427,"count":0}],"isBlockCoverage":false},{"functionName":"Agent","ranges":[{"startOffset":455443,"endOffset":455684,"count":0}],"isBlockCoverage":false},{"functionName":"Agent","ranges":[{"startOffset":455691,"endOffset":456507,"count":0}],"isBlockCoverage":false},{"functionName":"Agent","ranges":[{"startOffset":456514,"endOffset":456801,"count":0}],"isBlockCoverage":false},{"functionName":"Agent","ranges":[{"startOffset":456808,"endOffset":457111,"count":0}],"isBlockCoverage":false},{"functionName":"lib/global.js","ranges":[{"startOffset":457211,"endOffset":458049,"count":1}],"isBlockCoverage":true},{"functionName":"setGlobalDispatcher","ranges":[{"startOffset":457514,"endOffset":457875,"count":1},{"startOffset":457610,"endOffset":457698,"count":0}],"isBlockCoverage":true},{"functionName":"getGlobalDispatcher","ranges":[{"startOffset":457880,"endOffset":457961,"count":1}],"isBlockCoverage":true},{"functionName":"lib/fetch/index.js","ranges":[{"startOffset":458112,"endOffset":496815,"count":1}],"isBlockCoverage":true},{"functionName":"Fetch","ranges":[{"startOffset":460148,"endOffset":460361,"count":0}],"isBlockCoverage":false},{"functionName":"terminate","ranges":[{"startOffset":460368,"endOffset":460581,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":460651,"endOffset":461010,"count":0}],"isBlockCoverage":false},{"functionName":"fetch2","ranges":[{"startOffset":461022,"endOffset":463266,"count":0}],"isBlockCoverage":false},{"functionName":"finalizeAndReportTiming","ranges":[{"startOffset":463271,"endOffset":464167,"count":0}],"isBlockCoverage":false},{"functionName":"markResourceTiming","ranges":[{"startOffset":464172,"endOffset":464456,"count":0}],"isBlockCoverage":false},{"functionName":"abortFetch","ranges":[{"startOffset":464461,"endOffset":465266,"count":0}],"isBlockCoverage":false},{"functionName":"fetching","ranges":[{"startOffset":465271,"endOffset":467467,"count":0}],"isBlockCoverage":false},{"functionName":"mainFetch","ranges":[{"startOffset":467472,"endOffset":471680,"count":0}],"isBlockCoverage":false},{"functionName":"schemeFetch","ranges":[{"startOffset":471685,"endOffset":474169,"count":0}],"isBlockCoverage":false},{"functionName":"finalizeResponse","ranges":[{"startOffset":474174,"endOffset":474403,"count":0}],"isBlockCoverage":false},{"functionName":"fetchFinale","ranges":[{"startOffset":474408,"endOffset":476159,"count":0}],"isBlockCoverage":false},{"functionName":"httpFetch","ranges":[{"startOffset":476164,"endOffset":477802,"count":0}],"isBlockCoverage":false},{"functionName":"httpRedirectFetch","ranges":[{"startOffset":477807,"endOffset":480327,"count":0}],"isBlockCoverage":false},{"functionName":"httpNetworkOrCacheFetch","ranges":[{"startOffset":480332,"endOffset":485602,"count":0}],"isBlockCoverage":false},{"functionName":"httpNetworkFetch","ranges":[{"startOffset":485607,"endOffset":496700,"count":0}],"isBlockCoverage":false},{"functionName":"lib/websocket/constants.js","ranges":[{"startOffset":496891,"endOffset":497729,"count":1}],"isBlockCoverage":true},{"functionName":"lib/websocket/symbols.js","ranges":[{"startOffset":497801,"endOffset":498228,"count":1}],"isBlockCoverage":true},{"functionName":"lib/websocket/events.js","ranges":[{"startOffset":498297,"endOffset":505445,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":498527,"endOffset":500104,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":500127,"endOffset":500868,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":500891,"endOffset":501863,"count":0}],"isBlockCoverage":true},{"functionName":"get defaultValue","ranges":[{"startOffset":504205,"endOffset":504256,"count":0}],"isBlockCoverage":false},{"functionName":"lib/websocket/util.js","ranges":[{"startOffset":505511,"endOffset":508434,"count":1}],"isBlockCoverage":true},{"functionName":"isEstablished","ranges":[{"startOffset":505785,"endOffset":505865,"count":0}],"isBlockCoverage":false},{"functionName":"isClosing","ranges":[{"startOffset":505870,"endOffset":505949,"count":0}],"isBlockCoverage":false},{"functionName":"isClosed","ranges":[{"startOffset":505954,"endOffset":506031,"count":0}],"isBlockCoverage":false},{"functionName":"fireEvent","ranges":[{"startOffset":506036,"endOffset":506209,"count":0}],"isBlockCoverage":false},{"functionName":"websocketMessageReceived","ranges":[{"startOffset":506214,"endOffset":506964,"count":0}],"isBlockCoverage":false},{"functionName":"isValidSubprotocol","ranges":[{"startOffset":506969,"endOffset":507573,"count":0}],"isBlockCoverage":false},{"functionName":"isValidStatusCode","ranges":[{"startOffset":507578,"endOffset":507838,"count":0}],"isBlockCoverage":false},{"functionName":"failWebsocketConnection","ranges":[{"startOffset":507843,"endOffset":508215,"count":0}],"isBlockCoverage":false},{"functionName":"lib/websocket/connection.js","ranges":[{"startOffset":508511,"endOffset":513960,"count":1},{"startOffset":509463,"endOffset":509476,"count":0}],"isBlockCoverage":true},{"functionName":"establishWebSocketConnection","ranges":[{"startOffset":509481,"endOffset":512871,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketData","ranges":[{"startOffset":512876,"endOffset":512990,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketClose","ranges":[{"startOffset":512995,"endOffset":513657,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketError","ranges":[{"startOffset":513662,"endOffset":513890,"count":0}],"isBlockCoverage":false},{"functionName":"lib/websocket/frame.js","ranges":[{"startOffset":514027,"endOffset":515653,"count":1},{"startOffset":514210,"endOffset":514223,"count":0}],"isBlockCoverage":true},{"functionName":"WebsocketFrameSend","ranges":[{"startOffset":514327,"endOffset":514431,"count":0}],"isBlockCoverage":false},{"functionName":"createFrame","ranges":[{"startOffset":514438,"endOffset":515586,"count":0}],"isBlockCoverage":false},{"functionName":"lib/websocket/receiver.js","ranges":[{"startOffset":515726,"endOffset":524591,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":516400,"endOffset":524538,"count":0}],"isBlockCoverage":true},{"functionName":"lib/websocket/websocket.js","ranges":[{"startOffset":524666,"endOffset":539174,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":525657,"endOffset":536213,"count":0}],"isBlockCoverage":true},{"functionName":"webidl.converters.DOMString or sequence","ranges":[{"startOffset":537693,"endOffset":537895,"count":0}],"isBlockCoverage":false},{"functionName":"get defaultValue","ranges":[{"startOffset":538080,"endOffset":538131,"count":0}],"isBlockCoverage":false},{"functionName":"converter","ranges":[{"startOffset":538195,"endOffset":538203,"count":0}],"isBlockCoverage":false},{"functionName":"get defaultValue","ranges":[{"startOffset":538213,"endOffset":538283,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.DOMString or sequence or WebSocketInit","ranges":[{"startOffset":538493,"endOffset":538730,"count":0}],"isBlockCoverage":false},{"functionName":"webidl.converters.WebSocketSendData","ranges":[{"startOffset":538774,"endOffset":539122,"count":0}],"isBlockCoverage":false},{"functionName":"fetch","ranges":[{"startOffset":539260,"endOffset":539438,"count":0}],"isBlockCoverage":false}]},{"scriptId":"841","url":"node:http","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5518,"count":1}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":2159,"endOffset":2251,"count":0}],"isBlockCoverage":false},{"functionName":"request","ranges":[{"startOffset":4201,"endOffset":4285,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4450,"endOffset":4552,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxIdleHTTPParsers","ranges":[{"startOffset":4863,"endOffset":4954,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5079,"endOffset":5288,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5412,"endOffset":5457,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":5461,"endOffset":5512,"count":0}],"isBlockCoverage":false}]},{"scriptId":"842","url":"node:_http_agent","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16988,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1703,"endOffset":1728,"count":0}],"isBlockCoverage":false},{"functionName":"ReusedHandle","ranges":[{"startOffset":2681,"endOffset":2760,"count":0}],"isBlockCoverage":false},{"functionName":"freeSocketErrorListener","ranges":[{"startOffset":2764,"endOffset":2943,"count":0}],"isBlockCoverage":false},{"functionName":"Agent","ranges":[{"startOffset":2945,"endOffset":6175,"count":1},{"startOffset":3007,"endOffset":3033,"count":0},{"startOffset":3584,"endOffset":3592,"count":0},{"startOffset":3770,"endOffset":3779,"count":0},{"startOffset":3975,"endOffset":4044,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4112,"endOffset":6058,"count":0}],"isBlockCoverage":false},{"functionName":"maybeEnableKeylog","ranges":[{"startOffset":6283,"endOffset":6808,"count":0}],"isBlockCoverage":false},{"functionName":"getName","ranges":[{"startOffset":6981,"endOffset":7479,"count":0}],"isBlockCoverage":false},{"functionName":"addRequest","ranges":[{"startOffset":7511,"endOffset":9674,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":9708,"endOffset":10802,"count":0}],"isBlockCoverage":false},{"functionName":"calculateServerName","ranges":[{"startOffset":10805,"endOffset":11625,"count":0}],"isBlockCoverage":false},{"functionName":"installListeners","ranges":[{"startOffset":11627,"endOffset":13115,"count":0}],"isBlockCoverage":false},{"functionName":"removeSocket","ranges":[{"startOffset":13148,"endOffset":14949,"count":0}],"isBlockCoverage":false},{"functionName":"keepSocketAlive","ranges":[{"startOffset":14986,"endOffset":15653,"count":0}],"isBlockCoverage":false},{"functionName":"reuseSocket","ranges":[{"startOffset":15686,"endOffset":15854,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":15883,"endOffset":16232,"count":0}],"isBlockCoverage":false},{"functionName":"setRequestSocket","ranges":[{"startOffset":16235,"endOffset":16476,"count":0}],"isBlockCoverage":false},{"functionName":"asyncResetHandle","ranges":[{"startOffset":16478,"endOffset":16873,"count":0}],"isBlockCoverage":false}]},{"scriptId":"843","url":"node:_http_client","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28271,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3069,"endOffset":3094,"count":0}],"isBlockCoverage":false},{"functionName":"validateHost","ranges":[{"startOffset":3339,"endOffset":3632,"count":0}],"isBlockCoverage":false},{"functionName":"HTTPClientAsyncResource","ranges":[{"startOffset":3668,"endOffset":3738,"count":0}],"isBlockCoverage":false},{"functionName":"ClientRequest","ranges":[{"startOffset":3742,"endOffset":11165,"count":0}],"isBlockCoverage":false},{"functionName":"_finish","ranges":[{"startOffset":11329,"endOffset":12053,"count":0}],"isBlockCoverage":false},{"functionName":"_implicitHeader","ranges":[{"startOffset":12098,"endOffset":12310,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":12345,"endOffset":12483,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":12520,"endOffset":12796,"count":0}],"isBlockCoverage":false},{"functionName":"emitAbortNT","ranges":[{"startOffset":12799,"endOffset":12849,"count":0}],"isBlockCoverage":false},{"functionName":"ondrain","ranges":[{"startOffset":12851,"endOffset":13011,"count":0}],"isBlockCoverage":false},{"functionName":"socketCloseListener","ranges":[{"startOffset":13013,"endOffset":14180,"count":0}],"isBlockCoverage":false},{"functionName":"socketErrorListener","ranges":[{"startOffset":14182,"endOffset":14823,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnEnd","ranges":[{"startOffset":14825,"endOffset":15311,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnData","ranges":[{"startOffset":15313,"endOffset":17696,"count":0}],"isBlockCoverage":false},{"functionName":"statusIsInformational","ranges":[{"startOffset":17698,"endOffset":17933,"count":0}],"isBlockCoverage":false},{"functionName":"parserOnIncomingClient","ranges":[{"startOffset":17945,"endOffset":20958,"count":0}],"isBlockCoverage":false},{"functionName":"responseKeepAlive","ranges":[{"startOffset":20970,"endOffset":22039,"count":0}],"isBlockCoverage":false},{"functionName":"responseOnEnd","ranges":[{"startOffset":22041,"endOffset":23198,"count":0}],"isBlockCoverage":false},{"functionName":"responseOnTimeout","ranges":[{"startOffset":23200,"endOffset":23351,"count":0}],"isBlockCoverage":false},{"functionName":"requestOnFinish","ranges":[{"startOffset":23493,"endOffset":23613,"count":0}],"isBlockCoverage":false},{"functionName":"emitFreeNT","ranges":[{"startOffset":23615,"endOffset":23739,"count":0}],"isBlockCoverage":false},{"functionName":"tickOnSocket","ranges":[{"startOffset":23741,"endOffset":24921,"count":0}],"isBlockCoverage":false},{"functionName":"emitRequestTimeout","ranges":[{"startOffset":24923,"endOffset":25031,"count":0}],"isBlockCoverage":false},{"functionName":"listenSocketTimeout","ranges":[{"startOffset":25033,"endOffset":25424,"count":0}],"isBlockCoverage":false},{"functionName":"onSocket","ranges":[{"startOffset":25461,"endOffset":25632,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketNT","ranges":[{"startOffset":25635,"endOffset":26429,"count":0}],"isBlockCoverage":false},{"functionName":"_deferToConnect","ranges":[{"startOffset":26490,"endOffset":27242,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":27281,"endOffset":27646,"count":0}],"isBlockCoverage":false},{"functionName":"setSocketTimeout","ranges":[{"startOffset":27649,"endOffset":27835,"count":0}],"isBlockCoverage":false},{"functionName":"setNoDelay","ranges":[{"startOffset":27874,"endOffset":27955,"count":0}],"isBlockCoverage":false},{"functionName":"setSocketKeepAlive","ranges":[{"startOffset":28007,"endOffset":28132,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimeout","ranges":[{"startOffset":28174,"endOffset":28229,"count":0}],"isBlockCoverage":false}]},{"scriptId":"844","url":"node:_http_common","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8261,"count":1}],"isBlockCoverage":false},{"functionName":"parserOnHeaders","ranges":[{"startOffset":2298,"endOffset":2545,"count":0}],"isBlockCoverage":false},{"functionName":"parserOnHeadersComplete","ranges":[{"startOffset":2758,"endOffset":4292,"count":0}],"isBlockCoverage":false},{"functionName":"parserOnBody","ranges":[{"startOffset":4294,"endOffset":4611,"count":0}],"isBlockCoverage":false},{"functionName":"parserOnMessageComplete","ranges":[{"startOffset":4613,"endOffset":5100,"count":0}],"isBlockCoverage":false},{"functionName":"parsersCb","ranges":[{"startOffset":5149,"endOffset":5437,"count":0}],"isBlockCoverage":false},{"functionName":"closeParserInstance","ranges":[{"startOffset":5441,"endOffset":5497,"count":0}],"isBlockCoverage":false},{"functionName":"freeParser","ranges":[{"startOffset":5820,"endOffset":6445,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsHttpToken","ranges":[{"startOffset":6657,"endOffset":6748,"count":0}],"isBlockCoverage":false},{"functionName":"checkInvalidHeaderChar","ranges":[{"startOffset":7010,"endOffset":7111,"count":0}],"isBlockCoverage":false},{"functionName":"cleanParser","ranges":[{"startOffset":7113,"endOffset":7495,"count":0}],"isBlockCoverage":false},{"functionName":"prepareError","ranges":[{"startOffset":7497,"endOffset":7690,"count":0}],"isBlockCoverage":false},{"functionName":"isLenient","ranges":[{"startOffset":7720,"endOffset":7905,"count":0}],"isBlockCoverage":false}]},{"scriptId":"845","url":"node:internal/freelist","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":476,"count":1}],"isBlockCoverage":false},{"functionName":"FreeList","ranges":[{"startOffset":76,"endOffset":194,"count":1}],"isBlockCoverage":true},{"functionName":"alloc","ranges":[{"startOffset":198,"endOffset":317,"count":0}],"isBlockCoverage":false},{"functionName":"free","ranges":[{"startOffset":321,"endOffset":445,"count":0}],"isBlockCoverage":false}]},{"scriptId":"846","url":"node:_http_incoming","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14903,"count":1}],"isBlockCoverage":false},{"functionName":"readStart","ranges":[{"startOffset":1648,"endOffset":1751,"count":0}],"isBlockCoverage":false},{"functionName":"readStop","ranges":[{"startOffset":1753,"endOffset":1816,"count":0}],"isBlockCoverage":false},{"functionName":"IncomingMessage","ranges":[{"startOffset":1882,"endOffset":2865,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3075,"endOffset":3115,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":3124,"endOffset":3166,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3260,"endOffset":3557,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":3566,"endOffset":3611,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3713,"endOffset":4050,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4059,"endOffset":4112,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4207,"endOffset":4510,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4519,"endOffset":4565,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4668,"endOffset":5011,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":5020,"endOffset":5074,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":5120,"endOffset":5258,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":5737,"endOffset":6114,"count":0}],"isBlockCoverage":false},{"functionName":"_destroy","ranges":[{"startOffset":6357,"endOffset":7153,"count":0}],"isBlockCoverage":false},{"functionName":"_addHeaderLines","ranges":[{"startOffset":7217,"endOffset":7676,"count":0}],"isBlockCoverage":false},{"functionName":"matchKnownFields","ranges":[{"startOffset":8398,"endOffset":12292,"count":0}],"isBlockCoverage":false},{"functionName":"_addHeaderLine","ranges":[{"startOffset":12903,"endOffset":13951,"count":0}],"isBlockCoverage":false},{"functionName":"_addHeaderLineDistinct","ranges":[{"startOffset":14028,"endOffset":14221,"count":0}],"isBlockCoverage":false},{"functionName":"_dump","ranges":[{"startOffset":14344,"endOffset":14585,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":14588,"endOffset":14835,"count":0}],"isBlockCoverage":false}]},{"scriptId":"847","url":"node:_http_outgoing","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":34452,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2747,"endOffset":2772,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":3081,"endOffset":3089,"count":0}],"isBlockCoverage":false},{"functionName":"isCookieField","ranges":[{"startOffset":3332,"endOffset":3432,"count":0}],"isBlockCoverage":false},{"functionName":"isContentDispositionField","ranges":[{"startOffset":3434,"endOffset":3560,"count":0}],"isBlockCoverage":false},{"functionName":"OutgoingMessage","ranges":[{"startOffset":3562,"endOffset":5086,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5284,"endOffset":5322,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5410,"endOffset":5446,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5544,"endOffset":5686,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5786,"endOffset":5815,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5911,"endOffset":5999,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6102,"endOffset":6196,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6292,"endOffset":6403,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6521,"endOffset":6567,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6663,"endOffset":7149,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7310,"endOffset":7350,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7359,"endOffset":7401,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7523,"endOffset":7980,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8080,"endOffset":8530,"count":0}],"isBlockCoverage":false},{"functionName":"_renderHeaders","ranges":[{"startOffset":8649,"endOffset":9153,"count":0}],"isBlockCoverage":false},{"functionName":"OutgoingMessage.cork","ranges":[{"startOffset":9189,"endOffset":9284,"count":0}],"isBlockCoverage":false},{"functionName":"OutgoingMessage.uncork","ranges":[{"startOffset":9322,"endOffset":9438,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":9480,"endOffset":9774,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":10017,"endOffset":10329,"count":0}],"isBlockCoverage":false},{"functionName":"_send","ranges":[{"startOffset":10439,"endOffset":11390,"count":0}],"isBlockCoverage":false},{"functionName":"_writeRaw","ranges":[{"startOffset":11442,"endOffset":12292,"count":0}],"isBlockCoverage":false},{"functionName":"_storeHeader","ranges":[{"startOffset":12350,"endOffset":17269,"count":0}],"isBlockCoverage":false},{"functionName":"processHeader","ranges":[{"startOffset":17271,"endOffset":18214,"count":0}],"isBlockCoverage":false},{"functionName":"storeHeader","ranges":[{"startOffset":18216,"endOffset":18415,"count":0}],"isBlockCoverage":false},{"functionName":"matchHeader","ranges":[{"startOffset":18417,"endOffset":19341,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19386,"endOffset":19548,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19596,"endOffset":19866,"count":0}],"isBlockCoverage":false},{"functionName":"parseUniqueHeadersOption","ranges":[{"startOffset":19870,"endOffset":20140,"count":0}],"isBlockCoverage":false},{"functionName":"setHeader","ranges":[{"startOffset":20180,"endOffset":20541,"count":0}],"isBlockCoverage":false},{"functionName":"setHeaders","ranges":[{"startOffset":20583,"endOffset":21007,"count":0}],"isBlockCoverage":false},{"functionName":"appendHeader","ranges":[{"startOffset":21051,"endOffset":21787,"count":0}],"isBlockCoverage":false},{"functionName":"getHeader","ranges":[{"startOffset":21829,"endOffset":22051,"count":0}],"isBlockCoverage":false},{"functionName":"getHeaderNames","ranges":[{"startOffset":22164,"endOffset":22267,"count":0}],"isBlockCoverage":false},{"functionName":"getRawHeaderNames","ranges":[{"startOffset":22387,"endOffset":22788,"count":0}],"isBlockCoverage":false},{"functionName":"getHeaders","ranges":[{"startOffset":22890,"endOffset":23300,"count":0}],"isBlockCoverage":false},{"functionName":"hasHeader","ranges":[{"startOffset":23342,"endOffset":23500,"count":0}],"isBlockCoverage":false},{"functionName":"removeHeader","ranges":[{"startOffset":23545,"endOffset":24110,"count":0}],"isBlockCoverage":false},{"functionName":"_implicitHeader","ranges":[{"startOffset":24158,"endOffset":24249,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":24385,"endOffset":24422,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":24522,"endOffset":24558,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":24662,"endOffset":24744,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":24823,"endOffset":25076,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":25079,"endOffset":25440,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNt","ranges":[{"startOffset":25442,"endOffset":25591,"count":0}],"isBlockCoverage":false},{"functionName":"strictContentLength","ranges":[{"startOffset":25593,"endOffset":25827,"count":0}],"isBlockCoverage":false},{"functionName":"write_","ranges":[{"startOffset":25829,"endOffset":28035,"count":0}],"isBlockCoverage":false},{"functionName":"connectionCorkNT","ranges":[{"startOffset":28038,"endOffset":28090,"count":0}],"isBlockCoverage":false},{"functionName":"addTrailers","ranges":[{"startOffset":28132,"endOffset":29567,"count":0}],"isBlockCoverage":false},{"functionName":"onFinish","ranges":[{"startOffset":29570,"endOffset":29690,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":29724,"endOffset":31686,"count":0}],"isBlockCoverage":false},{"functionName":"_finish","ranges":[{"startOffset":31860,"endOffset":31931,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":32725,"endOffset":33155,"count":0}],"isBlockCoverage":false},{"functionName":"_flushOutput","ranges":[{"startOffset":33199,"endOffset":33842,"count":0}],"isBlockCoverage":false},{"functionName":"flushHeaders","ranges":[{"startOffset":33887,"endOffset":34018,"count":0}],"isBlockCoverage":false},{"functionName":"pipe","ranges":[{"startOffset":34054,"endOffset":34196,"count":0}],"isBlockCoverage":false},{"functionName":"OutgoingMessage.","ranges":[{"startOffset":34254,"endOffset":34299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"848","url":"node:internal/http","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1195,"count":1}],"isBlockCoverage":false},{"functionName":"utcDate","ranges":[{"startOffset":349,"endOffset":416,"count":0}],"isBlockCoverage":false},{"functionName":"cache","ranges":[{"startOffset":418,"endOffset":575,"count":0}],"isBlockCoverage":false},{"functionName":"resetCache","ranges":[{"startOffset":577,"endOffset":626,"count":0}],"isBlockCoverage":false},{"functionName":"getNextTraceEventId","ranges":[{"startOffset":651,"endOffset":710,"count":0}],"isBlockCoverage":false},{"functionName":"isTraceHTTPEnabled","ranges":[{"startOffset":712,"endOffset":791,"count":0}],"isBlockCoverage":false},{"functionName":"traceBegin","ranges":[{"startOffset":839,"endOffset":927,"count":0}],"isBlockCoverage":false},{"functionName":"traceEnd","ranges":[{"startOffset":929,"endOffset":1015,"count":0}],"isBlockCoverage":false}]},{"scriptId":"849","url":"node:_http_server","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":38374,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2759,"endOffset":2784,"count":0}],"isBlockCoverage":false},{"functionName":"HTTPServerAsyncResource","ranges":[{"startOffset":7093,"endOffset":7172,"count":0}],"isBlockCoverage":false},{"functionName":"ServerResponse","ranges":[{"startOffset":7176,"endOffset":8095,"count":0}],"isBlockCoverage":false},{"functionName":"_finish","ranges":[{"startOffset":8262,"endOffset":8907,"count":0}],"isBlockCoverage":false},{"functionName":"onServerResponseClose","ranges":[{"startOffset":9007,"endOffset":9997,"count":0}],"isBlockCoverage":false},{"functionName":"assignSocket","ranges":[{"startOffset":10039,"endOffset":10294,"count":0}],"isBlockCoverage":false},{"functionName":"detachSocket","ranges":[{"startOffset":10337,"endOffset":10519,"count":0}],"isBlockCoverage":false},{"functionName":"writeContinue","ranges":[{"startOffset":10563,"endOffset":10681,"count":0}],"isBlockCoverage":false},{"functionName":"writeProcessing","ranges":[{"startOffset":10727,"endOffset":10825,"count":0}],"isBlockCoverage":false},{"functionName":"writeEarlyHints","ranges":[{"startOffset":10871,"endOffset":11381,"count":0}],"isBlockCoverage":false},{"functionName":"_implicitHeader","ranges":[{"startOffset":11427,"endOffset":11492,"count":0}],"isBlockCoverage":false},{"functionName":"writeHead","ranges":[{"startOffset":11543,"endOffset":14116,"count":0}],"isBlockCoverage":false},{"functionName":"storeHTTPOptions","ranges":[{"startOffset":14227,"endOffset":17034,"count":0}],"isBlockCoverage":false},{"functionName":"setupConnectionsTracking","ranges":[{"startOffset":17036,"endOffset":17507,"count":0}],"isBlockCoverage":false},{"functionName":"httpServerPreClose","ranges":[{"startOffset":17509,"endOffset":17636,"count":0}],"isBlockCoverage":false},{"functionName":"Server","ranges":[{"startOffset":17638,"endOffset":18832,"count":0}],"isBlockCoverage":false},{"functionName":"Server.close","ranges":[{"startOffset":18963,"endOffset":19066,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":19108,"endOffset":19189,"count":0}],"isBlockCoverage":false},{"functionName":"Server.closeAllConnections","ranges":[{"startOffset":19231,"endOffset":19437,"count":0}],"isBlockCoverage":false},{"functionName":"Server.closeIdleConnections","ranges":[{"startOffset":19480,"endOffset":19804,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":19837,"endOffset":19966,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":20015,"endOffset":20583,"count":0}],"isBlockCoverage":false},{"functionName":"checkConnections","ranges":[{"startOffset":20586,"endOffset":20931,"count":0}],"isBlockCoverage":false},{"functionName":"connectionListener","ranges":[{"startOffset":20933,"endOffset":21078,"count":0}],"isBlockCoverage":false},{"functionName":"connectionListenerInternal","ranges":[{"startOffset":21080,"endOffset":24502,"count":0}],"isBlockCoverage":false},{"functionName":"socketSetEncoding","ranges":[{"startOffset":24504,"endOffset":24576,"count":0}],"isBlockCoverage":false},{"functionName":"updateOutgoingData","ranges":[{"startOffset":24578,"endOffset":24694,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnDrain","ranges":[{"startOffset":24696,"endOffset":25150,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnTimeout","ranges":[{"startOffset":25152,"endOffset":25525,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnClose","ranges":[{"startOffset":25527,"endOffset":25676,"count":0}],"isBlockCoverage":false},{"functionName":"abortIncoming","ranges":[{"startOffset":25678,"endOffset":25861,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnEnd","ranges":[{"startOffset":25863,"endOffset":26385,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnData","ranges":[{"startOffset":26387,"endOffset":26616,"count":0}],"isBlockCoverage":false},{"functionName":"onRequestTimeout","ranges":[{"startOffset":26618,"endOffset":26792,"count":0}],"isBlockCoverage":false},{"functionName":"onParserExecute","ranges":[{"startOffset":26794,"endOffset":27293,"count":0}],"isBlockCoverage":false},{"functionName":"onParserTimeout","ranges":[{"startOffset":27295,"endOffset":27440,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":27455,"endOffset":27463,"count":0}],"isBlockCoverage":false},{"functionName":"warnUnclosedSocket","ranges":[{"startOffset":27868,"endOffset":28181,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnError","ranges":[{"startOffset":28183,"endOffset":29165,"count":0}],"isBlockCoverage":false},{"functionName":"onParserExecuteCommon","ranges":[{"startOffset":29167,"endOffset":30788,"count":0}],"isBlockCoverage":false},{"functionName":"clearIncoming","ranges":[{"startOffset":30790,"endOffset":31128,"count":0}],"isBlockCoverage":false},{"functionName":"resOnFinish","ranges":[{"startOffset":31130,"endOffset":32454,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":32456,"endOffset":32589,"count":0}],"isBlockCoverage":false},{"functionName":"parserOnIncoming","ranges":[{"startOffset":32755,"endOffset":36483,"count":0}],"isBlockCoverage":false},{"functionName":"resetSocketTimeout","ranges":[{"startOffset":36485,"endOffset":36665,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketResume","ranges":[{"startOffset":36667,"endOffset":37189,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketPause","ranges":[{"startOffset":37191,"endOffset":37332,"count":0}],"isBlockCoverage":false},{"functionName":"unconsume","ranges":[{"startOffset":37334,"endOffset":37586,"count":0}],"isBlockCoverage":false},{"functionName":"generateSocketListenerWrapper","ranges":[{"startOffset":37588,"endOffset":38142,"count":0}],"isBlockCoverage":false}]},{"scriptId":"850","url":"node:util/types","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":64,"count":1}],"isBlockCoverage":false}]},{"scriptId":"851","url":"node:internal/webstreams/readablestream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":93289,"count":1}],"isBlockCoverage":false},{"functionName":"lazyReadableReleasedError","ranges":[{"startOffset":3030,"endOffset":3380,"count":0}],"isBlockCoverage":false},{"functionName":"lazyReadableReleasingError","ranges":[{"startOffset":3382,"endOffset":3739,"count":0}],"isBlockCoverage":false},{"functionName":"getNonWritablePropertyDescriptor","ranges":[{"startOffset":3782,"endOffset":3868,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5293,"endOffset":16893,"count":0}],"isBlockCoverage":false},{"functionName":"TransferredReadableStream","ranges":[{"startOffset":17384,"endOffset":17875,"count":0}],"isBlockCoverage":false},{"functionName":"TransferredReadableStream.","ranges":[{"startOffset":17928,"endOffset":17936,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17939,"endOffset":20006,"count":0}],"isBlockCoverage":false},{"functionName":"createReadableStreamBYOBRequest","ranges":[{"startOffset":20268,"endOffset":20461,"count":0}],"isBlockCoverage":false},{"functionName":"ReadableStreamAsyncIteratorReadRequest","ranges":[{"startOffset":20512,"endOffset":20631,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20635,"endOffset":20749,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20753,"endOffset":20946,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20950,"endOffset":21120,"count":0}],"isBlockCoverage":false},{"functionName":"DefaultReadRequest","ranges":[{"startOffset":21153,"endOffset":21216,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21220,"endOffset":21293,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21297,"endOffset":21375,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21379,"endOffset":21434,"count":0}],"isBlockCoverage":false},{"functionName":"get promise","ranges":[{"startOffset":21438,"endOffset":21484,"count":0}],"isBlockCoverage":false},{"functionName":"ReadIntoRequest","ranges":[{"startOffset":21514,"endOffset":21577,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21581,"endOffset":21654,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21658,"endOffset":21730,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21734,"endOffset":21789,"count":0}],"isBlockCoverage":false},{"functionName":"get promise","ranges":[{"startOffset":21793,"endOffset":21839,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21843,"endOffset":24052,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24341,"endOffset":27389,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27672,"endOffset":28969,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29267,"endOffset":32570,"count":0}],"isBlockCoverage":false},{"functionName":"TeeReadableStream","ranges":[{"startOffset":32898,"endOffset":33547,"count":0}],"isBlockCoverage":false},{"functionName":"createTeeReadableStream","ranges":[{"startOffset":33684,"endOffset":33908,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamFromIterable","ranges":[{"startOffset":34341,"endOffset":36012,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamPipeTo","ranges":[{"startOffset":36014,"endOffset":41446,"count":0}],"isBlockCoverage":false},{"functionName":"PipeToReadableStreamReadRequest","ranges":[{"startOffset":41490,"endOffset":41609,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41613,"endOffset":41799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41803,"endOffset":41851,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":41855,"endOffset":41908,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamTee","ranges":[{"startOffset":41912,"endOffset":42140,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultTee","ranges":[{"startOffset":42142,"endOffset":44940,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamTee","ranges":[{"startOffset":44942,"endOffset":52852,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerConvertPullIntoDescriptor","ranges":[{"startOffset":52854,"endOffset":53429,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStreamLocked","ranges":[{"startOffset":53431,"endOffset":53520,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamCancel","ranges":[{"startOffset":53522,"endOffset":54239,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamClose","ranges":[{"startOffset":54241,"endOffset":54725,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamError","ranges":[{"startOffset":54727,"endOffset":55605,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamHasDefaultReader","ranges":[{"startOffset":55607,"endOffset":55849,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamGetNumReadRequests","ranges":[{"startOffset":55851,"endOffset":56014,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamHasBYOBReader","ranges":[{"startOffset":56016,"endOffset":56252,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamGetNumReadIntoRequests","ranges":[{"startOffset":56254,"endOffset":56422,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamFulfillReadRequest","ranges":[{"startOffset":56424,"endOffset":57017,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamFulfillReadIntoRequest","ranges":[{"startOffset":57019,"endOffset":57401,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamAddReadRequest","ranges":[{"startOffset":57403,"endOffset":57641,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamAddReadIntoRequest","ranges":[{"startOffset":57643,"endOffset":57902,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamReaderGenericCancel","ranges":[{"startOffset":57904,"endOffset":58089,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamReaderGenericInitialize","ranges":[{"startOffset":58091,"endOffset":58756,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultReaderRelease","ranges":[{"startOffset":58758,"endOffset":58958,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultReaderErrorReadRequests","ranges":[{"startOffset":58960,"endOffset":59180,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamBYOBReaderRelease","ranges":[{"startOffset":59182,"endOffset":59380,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamBYOBReaderErrorReadIntoRequests","ranges":[{"startOffset":59382,"endOffset":59615,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamReaderGenericRelease","ranges":[{"startOffset":59617,"endOffset":60271,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamBYOBReaderRead","ranges":[{"startOffset":60273,"endOffset":60676,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultReaderRead","ranges":[{"startOffset":60678,"endOffset":61115,"count":0}],"isBlockCoverage":false},{"functionName":"setupReadableStreamBYOBReader","ranges":[{"startOffset":61117,"endOffset":61560,"count":0}],"isBlockCoverage":false},{"functionName":"setupReadableStreamDefaultReader","ranges":[{"startOffset":61562,"endOffset":61825,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerClose","ranges":[{"startOffset":61827,"endOffset":62175,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerEnqueue","ranges":[{"startOffset":62177,"endOffset":62922,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerHasBackpressure","ranges":[{"startOffset":62924,"endOffset":63064,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerCanCloseOrEnqueue","ranges":[{"startOffset":63066,"endOffset":63280,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerGetDesiredSize","ranges":[{"startOffset":63282,"endOffset":63597,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerShouldCallPull","ranges":[{"startOffset":63599,"endOffset":64094,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerCallPullIfNeeded","ranges":[{"startOffset":64096,"endOffset":64807,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerClearAlgorithms","ranges":[{"startOffset":64809,"endOffset":65026,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerError","ranges":[{"startOffset":65028,"endOffset":65325,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerCancelSteps","ranges":[{"startOffset":65327,"endOffset":65600,"count":0}],"isBlockCoverage":false},{"functionName":"readableStreamDefaultControllerPullSteps","ranges":[{"startOffset":65602,"endOffset":66218,"count":0}],"isBlockCoverage":false},{"functionName":"setupReadableStreamDefaultController","ranges":[{"startOffset":66220,"endOffset":67199,"count":0}],"isBlockCoverage":false},{"functionName":"setupReadableStreamDefaultControllerFromSource","ranges":[{"startOffset":67201,"endOffset":67947,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerClose","ranges":[{"startOffset":67949,"endOffset":68663,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerCommitPullIntoDescriptor","ranges":[{"startOffset":68665,"endOffset":69235,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerInvalidateBYOBRequest","ranges":[{"startOffset":69237,"endOffset":69530,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerClearAlgorithms","ranges":[{"startOffset":69532,"endOffset":69698,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerClearPendingPullIntos","ranges":[{"startOffset":69700,"endOffset":69883,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerGetDesiredSize","ranges":[{"startOffset":69885,"endOffset":70191,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerShouldCallPull","ranges":[{"startOffset":70193,"endOffset":70841,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerHandleQueueDrain","ranges":[{"startOffset":70843,"endOffset":71260,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerPullInto","ranges":[{"startOffset":71262,"endOffset":73272,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerRespondInternal","ranges":[{"startOffset":73274,"endOffset":74099,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerRespond","ranges":[{"startOffset":74101,"endOffset":74881,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerRespondInClosedState","ranges":[{"startOffset":74883,"endOffset":75404,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerFillHeadPullIntoDescriptor","ranges":[{"startOffset":75406,"endOffset":75707,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerEnqueue","ranges":[{"startOffset":75709,"endOffset":78019,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerEnqueueClonedChunkToQueue","ranges":[{"startOffset":78021,"endOffset":78495,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerEnqueueChunkToQueue","ranges":[{"startOffset":78497,"endOffset":78777,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerEnqueueDetachedPullIntoToQueue","ranges":[{"startOffset":78779,"endOffset":79208,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerFillPullIntoDescriptorFromQueue","ranges":[{"startOffset":79210,"endOffset":81178,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerProcessPullIntoDescriptorsUsingQueue","ranges":[{"startOffset":81180,"endOffset":81775,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerRespondInReadableState","ranges":[{"startOffset":81777,"endOffset":83187,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerRespondWithNewView","ranges":[{"startOffset":83189,"endOffset":84574,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerShiftPendingPullInto","ranges":[{"startOffset":84576,"endOffset":84767,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerCallPullIfNeeded","ranges":[{"startOffset":84769,"endOffset":85468,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerError","ranges":[{"startOffset":85470,"endOffset":85826,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerCancelSteps","ranges":[{"startOffset":85828,"endOffset":86128,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerFillReadRequestFromQueue","ranges":[{"startOffset":86130,"endOffset":86609,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerProcessReadRequestsUsingQueue","ranges":[{"startOffset":86611,"endOffset":87094,"count":0}],"isBlockCoverage":false},{"functionName":"readableByteStreamControllerPullSteps","ranges":[{"startOffset":87096,"endOffset":88201,"count":0}],"isBlockCoverage":false},{"functionName":"setupReadableByteStreamController","ranges":[{"startOffset":88203,"endOffset":89288,"count":0}],"isBlockCoverage":false},{"functionName":"setupReadableByteStreamControllerFromSource","ranges":[{"startOffset":89290,"endOffset":90226,"count":0}],"isBlockCoverage":false}]},{"scriptId":"852","url":"node:internal/webstreams/writablestream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":37504,"count":1}],"isBlockCoverage":false},{"functionName":"lazyWritableReleasedError","ranges":[{"startOffset":1610,"endOffset":2051,"count":0}],"isBlockCoverage":false},{"functionName":"getNonWritablePropertyDescriptor","ranges":[{"startOffset":2094,"endOffset":2180,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3102,"endOffset":7558,"count":0}],"isBlockCoverage":false},{"functionName":"TransferredWritableStream","ranges":[{"startOffset":7819,"endOffset":9112,"count":0}],"isBlockCoverage":false},{"functionName":"TransferredWritableStream.","ranges":[{"startOffset":9165,"endOffset":9173,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9176,"endOffset":12752,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13137,"endOffset":14246,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStreamLocked","ranges":[{"startOffset":14715,"endOffset":14804,"count":0}],"isBlockCoverage":false},{"functionName":"setupWritableStreamDefaultWriter","ranges":[{"startOffset":14806,"endOffset":16580,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamAbort","ranges":[{"startOffset":16582,"endOffset":17371,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamClose","ranges":[{"startOffset":17373,"endOffset":18047,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamUpdateBackpressure","ranges":[{"startOffset":18049,"endOffset":18528,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamStartErroring","ranges":[{"startOffset":18530,"endOffset":19107,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamRejectCloseAndClosedPromiseIfNeeded","ranges":[{"startOffset":19109,"endOffset":19864,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamMarkFirstWriteRequestInFlight","ranges":[{"startOffset":19866,"endOffset":20174,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamMarkCloseRequestInFlight","ranges":[{"startOffset":20176,"endOffset":20544,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamHasOperationMarkedInFlight","ranges":[{"startOffset":20546,"endOffset":20832,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamFinishInFlightWriteWithError","ranges":[{"startOffset":20834,"endOffset":21291,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamFinishInFlightWrite","ranges":[{"startOffset":21293,"endOffset":21585,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamFinishInFlightCloseWithError","ranges":[{"startOffset":21587,"endOffset":22397,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamFinishInFlightClose","ranges":[{"startOffset":22399,"endOffset":23454,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamFinishErroring","ranges":[{"startOffset":23456,"endOffset":24874,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDealWithRejection","ranges":[{"startOffset":24876,"endOffset":25145,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamCloseQueuedOrInFlight","ranges":[{"startOffset":25147,"endOffset":25366,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamAddWriteRequest","ranges":[{"startOffset":25368,"endOffset":25718,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterWrite","ranges":[{"startOffset":25720,"endOffset":26700,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterRelease","ranges":[{"startOffset":26702,"endOffset":27180,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterGetDesiredSize","ranges":[{"startOffset":27182,"endOffset":27531,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterEnsureReadyPromiseRejected","ranges":[{"startOffset":27533,"endOffset":27902,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterEnsureClosedPromiseRejected","ranges":[{"startOffset":27904,"endOffset":28274,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterCloseWithErrorPropagation","ranges":[{"startOffset":28276,"endOffset":28761,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterClose","ranges":[{"startOffset":28763,"endOffset":28930,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultWriterAbort","ranges":[{"startOffset":28932,"endOffset":29115,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerWrite","ranges":[{"startOffset":29117,"endOffset":29702,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerProcessWrite","ranges":[{"startOffset":29704,"endOffset":30718,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerProcessClose","ranges":[{"startOffset":30720,"endOffset":31278,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerGetDesiredSize","ranges":[{"startOffset":31280,"endOffset":31466,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerGetChunkSize","ranges":[{"startOffset":31468,"endOffset":31763,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerErrorIfNeeded","ranges":[{"startOffset":31765,"endOffset":31993,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerError","ranges":[{"startOffset":31995,"endOffset":32266,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerClose","ranges":[{"startOffset":32268,"endOffset":32451,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerClearAlgorithms","ranges":[{"startOffset":32453,"endOffset":32719,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerGetBackpressure","ranges":[{"startOffset":32721,"endOffset":32865,"count":0}],"isBlockCoverage":false},{"functionName":"writableStreamDefaultControllerAdvanceQueueIfNeeded","ranges":[{"startOffset":32867,"endOffset":33455,"count":0}],"isBlockCoverage":false},{"functionName":"setupWritableStreamDefaultControllerFromSink","ranges":[{"startOffset":33457,"endOffset":34306,"count":0}],"isBlockCoverage":false},{"functionName":"setupWritableStreamDefaultController","ranges":[{"startOffset":34308,"endOffset":35619,"count":0}],"isBlockCoverage":false}]},{"scriptId":"853","url":"node:internal/webstreams/transformstream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15706,"count":1}],"isBlockCoverage":false},{"functionName":"getNonWritablePropertyDescriptor","ranges":[{"startOffset":1473,"endOffset":1559,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2349,"endOffset":5760,"count":0}],"isBlockCoverage":false},{"functionName":"TransferredTransformStream","ranges":[{"startOffset":5964,"endOffset":6423,"count":0}],"isBlockCoverage":false},{"functionName":"TransferredTransformStream.","ranges":[{"startOffset":6477,"endOffset":6485,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6488,"endOffset":8003,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTransformAlgorithm","ranges":[{"startOffset":8464,"endOffset":8589,"count":0}],"isBlockCoverage":false},{"functionName":"initializeTransformStream","ranges":[{"startOffset":8591,"endOffset":9906,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamError","ranges":[{"startOffset":9908,"endOffset":10173,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamErrorWritableAndUnblockWrite","ranges":[{"startOffset":10175,"endOffset":10550,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamSetBackpressure","ranges":[{"startOffset":10552,"endOffset":10896,"count":0}],"isBlockCoverage":false},{"functionName":"setupTransformStreamDefaultController","ranges":[{"startOffset":10898,"endOffset":11229,"count":0}],"isBlockCoverage":false},{"functionName":"setupTransformStreamDefaultControllerFromTransformer","ranges":[{"startOffset":11231,"endOffset":11783,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultControllerClearAlgorithms","ranges":[{"startOffset":11785,"endOffset":11959,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultControllerEnqueue","ranges":[{"startOffset":11961,"endOffset":12773,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultControllerError","ranges":[{"startOffset":12775,"endOffset":12902,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultControllerPerformTransform","ranges":[{"startOffset":12904,"endOffset":13228,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultControllerTerminate","ranges":[{"startOffset":13230,"endOffset":13690,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultSinkWriteAlgorithm","ranges":[{"startOffset":13692,"endOffset":14468,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultSinkAbortAlgorithm","ranges":[{"startOffset":14470,"endOffset":14585,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultSinkCloseAlgorithm","ranges":[{"startOffset":14587,"endOffset":15239,"count":0}],"isBlockCoverage":false},{"functionName":"transformStreamDefaultSourcePullAlgorithm","ranges":[{"startOffset":15241,"endOffset":15510,"count":0}],"isBlockCoverage":false}]},{"scriptId":"854","url":"node:stream/web","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1294,"count":1}],"isBlockCoverage":false}]},{"scriptId":"855","url":"node:internal/webstreams/encoding","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6227,"count":1}],"isBlockCoverage":false},{"functionName":"isTextEncoderStream","ranges":[{"startOffset":859,"endOffset":996,"count":0}],"isBlockCoverage":false},{"functionName":"isTextDecoderStream","ranges":[{"startOffset":998,"endOffset":1135,"count":0}],"isBlockCoverage":false},{"functionName":"TextEncoderStream","ranges":[{"startOffset":1165,"endOffset":2713,"count":0}],"isBlockCoverage":false},{"functionName":"get encoding","ranges":[{"startOffset":2764,"endOffset":2910,"count":0}],"isBlockCoverage":false},{"functionName":"get readable","ranges":[{"startOffset":2969,"endOffset":3118,"count":0}],"isBlockCoverage":false},{"functionName":"get writable","ranges":[{"startOffset":3177,"endOffset":3326,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3330,"endOffset":3651,"count":0}],"isBlockCoverage":false},{"functionName":"TextDecoderStream","ranges":[{"startOffset":3814,"endOffset":4373,"count":0}],"isBlockCoverage":false},{"functionName":"get encoding","ranges":[{"startOffset":4424,"endOffset":4570,"count":0}],"isBlockCoverage":false},{"functionName":"get fatal","ranges":[{"startOffset":4622,"endOffset":4762,"count":0}],"isBlockCoverage":false},{"functionName":"get ignoreBOM","ranges":[{"startOffset":4814,"endOffset":4962,"count":0}],"isBlockCoverage":false},{"functionName":"get readable","ranges":[{"startOffset":5021,"endOffset":5170,"count":0}],"isBlockCoverage":false},{"functionName":"get writable","ranges":[{"startOffset":5229,"endOffset":5378,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5382,"endOffset":5779,"count":0}],"isBlockCoverage":false}]},{"scriptId":"856","url":"node:internal/webstreams/compression","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3764,"count":1}],"isBlockCoverage":false},{"functionName":"lazyZlib","ranges":[{"startOffset":443,"endOffset":509,"count":0}],"isBlockCoverage":false},{"functionName":"isCompressionStream","ranges":[{"startOffset":770,"endOffset":907,"count":0}],"isBlockCoverage":false},{"functionName":"isDecompressionStream","ranges":[{"startOffset":909,"endOffset":1050,"count":0}],"isBlockCoverage":false},{"functionName":"CompressionStream","ranges":[{"startOffset":1130,"endOffset":1541,"count":0}],"isBlockCoverage":false},{"functionName":"get readable","ranges":[{"startOffset":1600,"endOffset":1749,"count":0}],"isBlockCoverage":false},{"functionName":"get writable","ranges":[{"startOffset":1808,"endOffset":1957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1961,"endOffset":2235,"count":0}],"isBlockCoverage":false},{"functionName":"DecompressionStream","ranges":[{"startOffset":2319,"endOffset":2734,"count":0}],"isBlockCoverage":false},{"functionName":"get readable","ranges":[{"startOffset":2793,"endOffset":2946,"count":0}],"isBlockCoverage":false},{"functionName":"get writable","ranges":[{"startOffset":3005,"endOffset":3158,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3162,"endOffset":3442,"count":0}],"isBlockCoverage":false}]},{"scriptId":"857","url":"node:internal/webstreams/adapters","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":25246,"count":1}],"isBlockCoverage":false},{"functionName":"newWritableStreamFromStreamWritable","ranges":[{"startOffset":1904,"endOffset":4982,"count":0}],"isBlockCoverage":false},{"functionName":"newStreamWritableFromWritableStream","ranges":[{"startOffset":5203,"endOffset":9526,"count":0}],"isBlockCoverage":false},{"functionName":"newReadableStreamFromStreamReadable","ranges":[{"startOffset":9737,"endOffset":12255,"count":0}],"isBlockCoverage":false},{"functionName":"newStreamReadableFromReadableStream","ranges":[{"startOffset":12470,"endOffset":14347,"count":0}],"isBlockCoverage":false},{"functionName":"newReadableWritablePairFromDuplex","ranges":[{"startOffset":14565,"endOffset":15747,"count":0}],"isBlockCoverage":false},{"functionName":"newStreamDuplexFromReadableWritablePair","ranges":[{"startOffset":16018,"endOffset":21248,"count":0}],"isBlockCoverage":false},{"functionName":"newWritableStreamFromStreamBase","ranges":[{"startOffset":21462,"endOffset":23301,"count":0}],"isBlockCoverage":false},{"functionName":"newReadableStreamFromStreamBase","ranges":[{"startOffset":23411,"endOffset":24916,"count":0}],"isBlockCoverage":false}]},{"scriptId":"858","url":"node:http2","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":468,"count":1}],"isBlockCoverage":false}]},{"scriptId":"859","url":"node:internal/http2/core","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":107816,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4633,"endOffset":4658,"count":0}],"isBlockCoverage":false},{"functionName":"debugStream","ranges":[{"startOffset":4698,"endOffset":4923,"count":0}],"isBlockCoverage":false},{"functionName":"debugStreamObj","ranges":[{"startOffset":4925,"endOffset":5142,"count":0}],"isBlockCoverage":false},{"functionName":"debugSession","ranges":[{"startOffset":5144,"endOffset":5306,"count":0}],"isBlockCoverage":false},{"functionName":"debugSessionObj","ranges":[{"startOffset":5308,"endOffset":5436,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":8634,"endOffset":8705,"count":0}],"isBlockCoverage":false},{"functionName":"onSessionHeaders","ranges":[{"startOffset":9007,"endOffset":11714,"count":0}],"isBlockCoverage":false},{"functionName":"tryClose","ranges":[{"startOffset":11716,"endOffset":11899,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamTrailers","ranges":[{"startOffset":12070,"endOffset":12371,"count":0}],"isBlockCoverage":false},{"functionName":"submitRstStream","ranges":[{"startOffset":12483,"endOffset":12593,"count":0}],"isBlockCoverage":false},{"functionName":"sessionListenerAdded","ranges":[{"startOffset":12752,"endOffset":13332,"count":0}],"isBlockCoverage":false},{"functionName":"sessionListenerRemoved","ranges":[{"startOffset":13334,"endOffset":14079,"count":0}],"isBlockCoverage":false},{"functionName":"streamListenerAdded","ranges":[{"startOffset":14192,"endOffset":14508,"count":0}],"isBlockCoverage":false},{"functionName":"streamListenerRemoved","ranges":[{"startOffset":14510,"endOffset":14828,"count":0}],"isBlockCoverage":false},{"functionName":"onPing","ranges":[{"startOffset":14830,"endOffset":15036,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamClose","ranges":[{"startOffset":15423,"endOffset":16517,"count":0}],"isBlockCoverage":false},{"functionName":"onSettings","ranges":[{"startOffset":16609,"endOffset":16881,"count":0}],"isBlockCoverage":false},{"functionName":"onPriority","ranges":[{"startOffset":17074,"endOffset":17523,"count":0}],"isBlockCoverage":false},{"functionName":"onFrameError","ranges":[{"startOffset":17635,"endOffset":18062,"count":0}],"isBlockCoverage":false},{"functionName":"onAltSvc","ranges":[{"startOffset":18064,"endOffset":18368,"count":0}],"isBlockCoverage":false},{"functionName":"initOriginSet","ranges":[{"startOffset":18370,"endOffset":18996,"count":0}],"isBlockCoverage":false},{"functionName":"onOrigin","ranges":[{"startOffset":18998,"endOffset":19406,"count":0}],"isBlockCoverage":false},{"functionName":"onGoawayData","ranges":[{"startOffset":19809,"endOffset":20761,"count":0}],"isBlockCoverage":false},{"functionName":"requestOnConnect","ranges":[{"startOffset":20963,"endOffset":23018,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23382,"endOffset":23971,"count":0}],"isBlockCoverage":false},{"functionName":"onSessionInternalError","ranges":[{"startOffset":24068,"endOffset":24240,"count":0}],"isBlockCoverage":false},{"functionName":"settingsCallback","ranges":[{"startOffset":24242,"endOffset":24709,"count":0}],"isBlockCoverage":false},{"functionName":"submitSettings","ranges":[{"startOffset":24770,"endOffset":25163,"count":0}],"isBlockCoverage":false},{"functionName":"submitPriority","ranges":[{"startOffset":25326,"endOffset":25749,"count":0}],"isBlockCoverage":false},{"functionName":"submitGoaway","ranges":[{"startOffset":25984,"endOffset":26201,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26234,"endOffset":26975,"count":0}],"isBlockCoverage":false},{"functionName":"getPrototypeOf","ranges":[{"startOffset":26979,"endOffset":27161,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":27165,"endOffset":27807,"count":0}],"isBlockCoverage":false},{"functionName":"pingCallback","ranges":[{"startOffset":28219,"endOffset":28418,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29027,"endOffset":30306,"count":0}],"isBlockCoverage":false},{"functionName":"trackAssignmentsTypedArray","ranges":[{"startOffset":30443,"endOffset":31165,"count":0}],"isBlockCoverage":false},{"functionName":"setupHandle","ranges":[{"startOffset":31451,"endOffset":33726,"count":0}],"isBlockCoverage":false},{"functionName":"emitClose","ranges":[{"startOffset":33840,"endOffset":33941,"count":0}],"isBlockCoverage":false},{"functionName":"cleanupSession","ranges":[{"startOffset":33943,"endOffset":34378,"count":0}],"isBlockCoverage":false},{"functionName":"finishSessionClose","ranges":[{"startOffset":34380,"endOffset":35328,"count":0}],"isBlockCoverage":false},{"functionName":"closeSession","ranges":[{"startOffset":35330,"endOffset":36385,"count":0}],"isBlockCoverage":false},{"functionName":"Http2Session","ranges":[{"startOffset":38538,"endOffset":41320,"count":0}],"isBlockCoverage":false},{"functionName":"get encrypted","ranges":[{"startOffset":41447,"endOffset":41497,"count":0}],"isBlockCoverage":false},{"functionName":"get alpnProtocol","ranges":[{"startOffset":41677,"endOffset":41733,"count":0}],"isBlockCoverage":false},{"functionName":"get originSet","ranges":[{"startOffset":42100,"endOffset":42231,"count":0}],"isBlockCoverage":false},{"functionName":"get connecting","ranges":[{"startOffset":42308,"endOffset":42391,"count":0}],"isBlockCoverage":false},{"functionName":"get closed","ranges":[{"startOffset":42455,"endOffset":42531,"count":0}],"isBlockCoverage":false},{"functionName":"get destroyed","ranges":[{"startOffset":42597,"endOffset":42679,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":42715,"endOffset":42825,"count":0}],"isBlockCoverage":false},{"functionName":"setNextStreamID","ranges":[{"startOffset":43041,"endOffset":43315,"count":0}],"isBlockCoverage":false},{"functionName":"setLocalWindowSize","ranges":[{"startOffset":43488,"endOffset":43792,"count":0}],"isBlockCoverage":false},{"functionName":"ping","ranges":[{"startOffset":43991,"endOffset":44587,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":44591,"endOffset":44949,"count":0}],"isBlockCoverage":false},{"functionName":"get socket","ranges":[{"startOffset":44991,"endOffset":45178,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":45204,"endOffset":45244,"count":0}],"isBlockCoverage":false},{"functionName":"get goawayCode","ranges":[{"startOffset":45321,"endOffset":45399,"count":0}],"isBlockCoverage":false},{"functionName":"get goawayLastStreamID","ranges":[{"startOffset":45479,"endOffset":45558,"count":0}],"isBlockCoverage":false},{"functionName":"get pendingSettingsAck","ranges":[{"startOffset":45634,"endOffset":45704,"count":0}],"isBlockCoverage":false},{"functionName":"get state","ranges":[{"startOffset":45762,"endOffset":45869,"count":0}],"isBlockCoverage":false},{"functionName":"get localSettings","ranges":[{"startOffset":46014,"endOffset":46277,"count":0}],"isBlockCoverage":false},{"functionName":"get remoteSettings","ranges":[{"startOffset":46340,"endOffset":46799,"count":0}],"isBlockCoverage":false},{"functionName":"settings","ranges":[{"startOffset":46864,"endOffset":47439,"count":0}],"isBlockCoverage":false},{"functionName":"goaway","ranges":[{"startOffset":47693,"endOffset":48288,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":48392,"endOffset":48808,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":49380,"endOffset":49677,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":49681,"endOffset":49921,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":50060,"endOffset":50386,"count":0}],"isBlockCoverage":false},{"functionName":"_onTimeout","ranges":[{"startOffset":50390,"endOffset":50431,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":50435,"endOffset":50504,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":50508,"endOffset":50581,"count":0}],"isBlockCoverage":false},{"functionName":"ServerHttp2Session","ranges":[{"startOffset":50799,"endOffset":51307,"count":0}],"isBlockCoverage":false},{"functionName":"get server","ranges":[{"startOffset":51311,"endOffset":51355,"count":0}],"isBlockCoverage":false},{"functionName":"altsvc","ranges":[{"startOffset":51604,"endOffset":53464,"count":0}],"isBlockCoverage":false},{"functionName":"origin","ranges":[{"startOffset":53509,"endOffset":54257,"count":0}],"isBlockCoverage":false},{"functionName":"ClientHttp2Session","ranges":[{"startOffset":54563,"endOffset":54688,"count":0}],"isBlockCoverage":false},{"functionName":"request","ranges":[{"startOffset":54798,"endOffset":58539,"count":0}],"isBlockCoverage":false},{"functionName":"trackWriteState","ranges":[{"startOffset":58543,"endOffset":58756,"count":0}],"isBlockCoverage":false},{"functionName":"streamOnResume","ranges":[{"startOffset":58758,"endOffset":58841,"count":0}],"isBlockCoverage":false},{"functionName":"streamOnPause","ranges":[{"startOffset":58843,"endOffset":58941,"count":0}],"isBlockCoverage":false},{"functionName":"afterShutdown","ranges":[{"startOffset":58943,"endOffset":59168,"count":0}],"isBlockCoverage":false},{"functionName":"shutdownWritable","ranges":[{"startOffset":59170,"endOffset":59717,"count":0}],"isBlockCoverage":false},{"functionName":"finishSendTrailers","ranges":[{"startOffset":59719,"endOffset":60180,"count":0}],"isBlockCoverage":false},{"functionName":"closeStream","ranges":[{"startOffset":60262,"endOffset":61197,"count":0}],"isBlockCoverage":false},{"functionName":"finishCloseStream","ranges":[{"startOffset":61199,"endOffset":61584,"count":0}],"isBlockCoverage":false},{"functionName":"Http2Stream","ranges":[{"startOffset":61740,"endOffset":62864,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62868,"endOffset":63046,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63050,"endOffset":63477,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63481,"endOffset":63849,"count":0}],"isBlockCoverage":false},{"functionName":"get bufferSize","ranges":[{"startOffset":63853,"endOffset":64067,"count":0}],"isBlockCoverage":false},{"functionName":"get endAfterHeaders","ranges":[{"startOffset":64071,"endOffset":64139,"count":0}],"isBlockCoverage":false},{"functionName":"get sentHeaders","ranges":[{"startOffset":64143,"endOffset":64197,"count":0}],"isBlockCoverage":false},{"functionName":"get sentTrailers","ranges":[{"startOffset":64201,"endOffset":64257,"count":0}],"isBlockCoverage":false},{"functionName":"get sentInfoHeaders","ranges":[{"startOffset":64261,"endOffset":64319,"count":0}],"isBlockCoverage":false},{"functionName":"get pending","ranges":[{"startOffset":64323,"endOffset":64378,"count":0}],"isBlockCoverage":false},{"functionName":"get id","ranges":[{"startOffset":64473,"endOffset":64509,"count":0}],"isBlockCoverage":false},{"functionName":"get session","ranges":[{"startOffset":64563,"endOffset":64609,"count":0}],"isBlockCoverage":false},{"functionName":"_onTimeout","ranges":[{"startOffset":64613,"endOffset":64664,"count":0}],"isBlockCoverage":false},{"functionName":"get headersSent","ranges":[{"startOffset":64713,"endOffset":64799,"count":0}],"isBlockCoverage":false},{"functionName":"get aborted","ranges":[{"startOffset":64856,"endOffset":64933,"count":0}],"isBlockCoverage":false},{"functionName":"get headRequest","ranges":[{"startOffset":64978,"endOffset":65064,"count":0}],"isBlockCoverage":false},{"functionName":"get rstCode","ranges":[{"startOffset":65131,"endOffset":65183,"count":0}],"isBlockCoverage":false},{"functionName":"get state","ranges":[{"startOffset":65230,"endOffset":65380,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":65384,"endOffset":65516,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":65520,"endOffset":65686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":65690,"endOffset":68142,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":68146,"endOffset":68230,"count":0}],"isBlockCoverage":false},{"functionName":"_writev","ranges":[{"startOffset":68234,"endOffset":68302,"count":0}],"isBlockCoverage":false},{"functionName":"_final","ranges":[{"startOffset":68306,"endOffset":68525,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":68529,"endOffset":68874,"count":0}],"isBlockCoverage":false},{"functionName":"priority","ranges":[{"startOffset":68878,"endOffset":69396,"count":0}],"isBlockCoverage":false},{"functionName":"sendTrailers","ranges":[{"startOffset":69400,"endOffset":70098,"count":0}],"isBlockCoverage":false},{"functionName":"get closed","ranges":[{"startOffset":70102,"endOffset":70177,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":70957,"endOffset":71272,"count":0}],"isBlockCoverage":false},{"functionName":"_destroy","ranges":[{"startOffset":71490,"endOffset":73837,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":73955,"endOffset":74970,"count":0}],"isBlockCoverage":false},{"functionName":"callTimeout","ranges":[{"startOffset":74974,"endOffset":75882,"count":0}],"isBlockCoverage":false},{"functionName":"callStreamClose","ranges":[{"startOffset":75884,"endOffset":75938,"count":0}],"isBlockCoverage":false},{"functionName":"processHeaders","ranges":[{"startOffset":75940,"endOffset":77471,"count":0}],"isBlockCoverage":false},{"functionName":"onFileUnpipe","ranges":[{"startOffset":77474,"endOffset":77724,"count":0}],"isBlockCoverage":false},{"functionName":"onPipedFileHandleRead","ranges":[{"startOffset":77842,"endOffset":78014,"count":0}],"isBlockCoverage":false},{"functionName":"processRespondWithFD","ranges":[{"startOffset":78016,"endOffset":78825,"count":0}],"isBlockCoverage":false},{"functionName":"startFilePipe","ranges":[{"startOffset":78827,"endOffset":79273,"count":0}],"isBlockCoverage":false},{"functionName":"doSendFD","ranges":[{"startOffset":79275,"endOffset":80698,"count":0}],"isBlockCoverage":false},{"functionName":"doSendFileFD","ranges":[{"startOffset":80700,"endOffset":82711,"count":0}],"isBlockCoverage":false},{"functionName":"afterOpen","ranges":[{"startOffset":82713,"endOffset":83224,"count":0}],"isBlockCoverage":false},{"functionName":"ServerHttp2Stream","ranges":[{"startOffset":83274,"endOffset":83511,"count":0}],"isBlockCoverage":false},{"functionName":"get pushAllowed","ranges":[{"startOffset":83565,"endOffset":83771,"count":0}],"isBlockCoverage":false},{"functionName":"pushStream","ranges":[{"startOffset":83881,"endOffset":86064,"count":0}],"isBlockCoverage":false},{"functionName":"respond","ranges":[{"startOffset":86113,"endOffset":87581,"count":0}],"isBlockCoverage":false},{"functionName":"respondWithFD","ranges":[{"startOffset":87974,"endOffset":90057,"count":0}],"isBlockCoverage":false},{"functionName":"respondWithFile","ranges":[{"startOffset":90531,"endOffset":92162,"count":0}],"isBlockCoverage":false},{"functionName":"additionalHeaders","ranges":[{"startOffset":92667,"endOffset":93716,"count":0}],"isBlockCoverage":false},{"functionName":"ClientHttp2Stream","ranges":[{"startOffset":93846,"endOffset":94078,"count":0}],"isBlockCoverage":false},{"functionName":"handleHeaderContinue","ranges":[{"startOffset":94082,"endOffset":94212,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnError","ranges":[{"startOffset":94590,"endOffset":95041,"count":0}],"isBlockCoverage":false},{"functionName":"sessionOnStream","ranges":[{"startOffset":95135,"endOffset":95304,"count":0}],"isBlockCoverage":false},{"functionName":"sessionOnPriority","ranges":[{"startOffset":95306,"endOffset":95477,"count":0}],"isBlockCoverage":false},{"functionName":"sessionOnError","ranges":[{"startOffset":95479,"endOffset":95601,"count":0}],"isBlockCoverage":false},{"functionName":"sessionOnTimeout","ranges":[{"startOffset":95731,"endOffset":95985,"count":0}],"isBlockCoverage":false},{"functionName":"connectionListener","ranges":[{"startOffset":95987,"endOffset":98351,"count":0}],"isBlockCoverage":false},{"functionName":"initializeOptions","ranges":[{"startOffset":98353,"endOffset":99567,"count":0}],"isBlockCoverage":false},{"functionName":"initializeTLSOptions","ranges":[{"startOffset":99569,"endOffset":99901,"count":0}],"isBlockCoverage":false},{"functionName":"onErrorSecureServerSession","ranges":[{"startOffset":99903,"endOffset":100026,"count":0}],"isBlockCoverage":false},{"functionName":"Http2SecureServer","ranges":[{"startOffset":100074,"endOffset":100444,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":100448,"endOffset":100646,"count":0}],"isBlockCoverage":false},{"functionName":"updateSettings","ranges":[{"startOffset":100650,"endOffset":100829,"count":0}],"isBlockCoverage":false},{"functionName":"Http2Server","ranges":[{"startOffset":100873,"endOffset":101181,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":101185,"endOffset":101383,"count":0}],"isBlockCoverage":false},{"functionName":"updateSettings","ranges":[{"startOffset":101387,"endOffset":101566,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":101570,"endOffset":101668,"count":0}],"isBlockCoverage":false},{"functionName":"Http2Server.","ranges":[{"startOffset":101733,"endOffset":102659,"count":0}],"isBlockCoverage":false},{"functionName":"setupCompat","ranges":[{"startOffset":102662,"endOffset":103050,"count":0}],"isBlockCoverage":false},{"functionName":"socketOnClose","ranges":[{"startOffset":103052,"endOffset":103499,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":103501,"endOffset":104976,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":105082,"endOffset":105230,"count":0}],"isBlockCoverage":false},{"functionName":"createSecureServer","ranges":[{"startOffset":105237,"endOffset":105336,"count":0}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":105338,"endOffset":105519,"count":0}],"isBlockCoverage":false},{"functionName":"getPackedSettings","ranges":[{"startOffset":105684,"endOffset":105868,"count":0}],"isBlockCoverage":false},{"functionName":"getUnpackedSettings","ranges":[{"startOffset":105870,"endOffset":107305,"count":0}],"isBlockCoverage":false}]},{"scriptId":"860","url":"node:tls","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11612,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3466,"endOffset":3530,"count":0}],"isBlockCoverage":false},{"functionName":"cacheRootCertificates","ranges":[{"startOffset":3559,"endOffset":3653,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3776,"endOffset":3927,"count":0}],"isBlockCoverage":false},{"functionName":"convertProtocols","ranges":[{"startOffset":4037,"endOffset":4649,"count":0}],"isBlockCoverage":false},{"functionName":"convertALPNProtocols","ranges":[{"startOffset":4682,"endOffset":5206,"count":0}],"isBlockCoverage":false},{"functionName":"unfqdn","ranges":[{"startOffset":5209,"endOffset":5291,"count":0}],"isBlockCoverage":false},{"functionName":"toLowerCase","ranges":[{"startOffset":5399,"endOffset":5493,"count":0}],"isBlockCoverage":false},{"functionName":"splitHost","ranges":[{"startOffset":5495,"endOffset":5639,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":5641,"endOffset":7636,"count":0}],"isBlockCoverage":false},{"functionName":"splitEscapedAltNames","ranges":[{"startOffset":8001,"endOffset":9237,"count":0}],"isBlockCoverage":false},{"functionName":"checkServerIdentity","ranges":[{"startOffset":9269,"endOffset":11167,"count":0}],"isBlockCoverage":false}]},{"scriptId":"861","url":"node:_tls_common","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5130,"count":1}],"isBlockCoverage":false},{"functionName":"toV","ranges":[{"startOffset":1775,"endOffset":2068,"count":0}],"isBlockCoverage":false},{"functionName":"SecureContext","ranges":[{"startOffset":2148,"endOffset":2985,"count":0}],"isBlockCoverage":false},{"functionName":"createSecureContext","ranges":[{"startOffset":2987,"endOffset":3457,"count":0}],"isBlockCoverage":false},{"functionName":"translatePeerCertificate","ranges":[{"startOffset":3696,"endOffset":5038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"862","url":"node:internal/tls/secure-context","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9087,"count":1}],"isBlockCoverage":false},{"functionName":"getDefaultEcdhCurve","ranges":[{"startOffset":727,"endOffset":977,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultCiphers","ranges":[{"startOffset":979,"endOffset":1211,"count":0}],"isBlockCoverage":false},{"functionName":"addCACerts","ranges":[{"startOffset":1213,"endOffset":1377,"count":0}],"isBlockCoverage":false},{"functionName":"setCerts","ranges":[{"startOffset":1379,"endOffset":1539,"count":0}],"isBlockCoverage":false},{"functionName":"validateKeyOrCertOption","ranges":[{"startOffset":1541,"endOffset":1821,"count":0}],"isBlockCoverage":false},{"functionName":"setKey","ranges":[{"startOffset":1823,"endOffset":2065,"count":0}],"isBlockCoverage":false},{"functionName":"processCiphers","ranges":[{"startOffset":2067,"endOffset":2898,"count":0}],"isBlockCoverage":false},{"functionName":"configSecureContext","ranges":[{"startOffset":2900,"endOffset":9040,"count":0}],"isBlockCoverage":false}]},{"scriptId":"863","url":"node:_tls_wrap","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":53367,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2051,"endOffset":2076,"count":0}],"isBlockCoverage":false},{"functionName":"onhandshakestart","ranges":[{"startOffset":4277,"endOffset":5060,"count":0}],"isBlockCoverage":false},{"functionName":"onhandshakedone","ranges":[{"startOffset":5062,"endOffset":5355,"count":0}],"isBlockCoverage":false},{"functionName":"loadSession","ranges":[{"startOffset":5358,"endOffset":6563,"count":0}],"isBlockCoverage":false},{"functionName":"loadSNI","ranges":[{"startOffset":6566,"endOffset":7219,"count":0}],"isBlockCoverage":false},{"functionName":"callALPNCallback","ranges":[{"startOffset":7222,"endOffset":8258,"count":0}],"isBlockCoverage":false},{"functionName":"requestOCSP","ranges":[{"startOffset":8260,"endOffset":9582,"count":0}],"isBlockCoverage":false},{"functionName":"requestOCSPDone","ranges":[{"startOffset":9584,"endOffset":9779,"count":0}],"isBlockCoverage":false},{"functionName":"onnewsessionclient","ranges":[{"startOffset":9781,"endOffset":10017,"count":0}],"isBlockCoverage":false},{"functionName":"onnewsession","ranges":[{"startOffset":10019,"endOffset":10855,"count":0}],"isBlockCoverage":false},{"functionName":"onPskServerCallback","ranges":[{"startOffset":10857,"endOffset":11507,"count":0}],"isBlockCoverage":false},{"functionName":"onPskClientCallback","ranges":[{"startOffset":11509,"endOffset":12216,"count":0}],"isBlockCoverage":false},{"functionName":"onkeylog","ranges":[{"startOffset":12218,"endOffset":12309,"count":0}],"isBlockCoverage":false},{"functionName":"onocspresponse","ranges":[{"startOffset":12311,"endOffset":12427,"count":0}],"isBlockCoverage":false},{"functionName":"onerror","ranges":[{"startOffset":12429,"endOffset":13557,"count":0}],"isBlockCoverage":false},{"functionName":"initRead","ranges":[{"startOffset":13701,"endOffset":14248,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket","ranges":[{"startOffset":14326,"endOffset":17438,"count":0}],"isBlockCoverage":false},{"functionName":"makeMethodProxy","ranges":[{"startOffset":17881,"endOffset":18056,"count":15}],"isBlockCoverage":true},{"functionName":"methodProxy","ranges":[{"startOffset":17923,"endOffset":18053,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":18223,"endOffset":18916,"count":0}],"isBlockCoverage":false},{"functionName":"disableRenegotiation","ranges":[{"startOffset":18962,"endOffset":19035,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._wrapHandle","ranges":[{"startOffset":19220,"endOffset":20361,"count":0}],"isBlockCoverage":false},{"functionName":"reinitializeHandle","ranges":[{"startOffset":20407,"endOffset":20983,"count":0}],"isBlockCoverage":false},{"functionName":"defineHandleReading","ranges":[{"startOffset":21122,"endOffset":21365,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketCloseDestroySSL","ranges":[{"startOffset":21367,"endOffset":21514,"count":0}],"isBlockCoverage":false},{"functionName":"destroySSL","ranges":[{"startOffset":21516,"endOffset":21567,"count":0}],"isBlockCoverage":false},{"functionName":"_destroySSL","ranges":[{"startOffset":21603,"endOffset":21895,"count":0}],"isBlockCoverage":false},{"functionName":"keylogNewListener","ranges":[{"startOffset":21898,"endOffset":22209,"count":0}],"isBlockCoverage":false},{"functionName":"newListener","ranges":[{"startOffset":22211,"endOffset":22515,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._init","ranges":[{"startOffset":22653,"endOffset":27300,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.renegotiate","ranges":[{"startOffset":27337,"endOffset":28584,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.exportKeyingMaterial","ranges":[{"startOffset":28630,"endOffset":28952,"count":0}],"isBlockCoverage":false},{"functionName":"setMaxSendFragment","ranges":[{"startOffset":28996,"endOffset":29118,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._handleTimeout","ranges":[{"startOffset":29158,"endOffset":29227,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._emitTLSError","ranges":[{"startOffset":29266,"endOffset":29352,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._tlsError","ranges":[{"startOffset":29387,"endOffset":29495,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._releaseControl","ranges":[{"startOffset":29536,"endOffset":29692,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._finishInit","ranges":[{"startOffset":29729,"endOffset":30788,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket._start","ranges":[{"startOffset":30820,"endOffset":31319,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.setServername","ranges":[{"startOffset":31358,"endOffset":31526,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.setSession","ranges":[{"startOffset":31562,"endOffset":31700,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.getPeerCertificate","ranges":[{"startOffset":31744,"endOffset":31908,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.getCertificate","ranges":[{"startOffset":31948,"endOffset":32154,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.getPeerX509Certificate","ranges":[{"startOffset":32202,"endOffset":32342,"count":0}],"isBlockCoverage":false},{"functionName":"TLSSocket.getX509Certificate","ranges":[{"startOffset":32386,"endOffset":32514,"count":0}],"isBlockCoverage":false},{"functionName":"makeSocketMethodProxy","ranges":[{"startOffset":32551,"endOffset":32749,"count":10}],"isBlockCoverage":true},{"functionName":"socketMethodProxy","ranges":[{"startOffset":32599,"endOffset":32746,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":32967,"endOffset":33045,"count":10}],"isBlockCoverage":true},{"functionName":"onServerSocketSecure","ranges":[{"startOffset":33087,"endOffset":33582,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketTLSError","ranges":[{"startOffset":33584,"endOffset":33820,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketKeylog","ranges":[{"startOffset":33822,"endOffset":33909,"count":0}],"isBlockCoverage":false},{"functionName":"onSocketClose","ranges":[{"startOffset":33911,"endOffset":34264,"count":0}],"isBlockCoverage":false},{"functionName":"tlsConnectionListener","ranges":[{"startOffset":34266,"endOffset":35152,"count":0}],"isBlockCoverage":false},{"functionName":"Server","ranges":[{"startOffset":37918,"endOffset":39665,"count":0}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":39819,"endOffset":39903,"count":0}],"isBlockCoverage":false},{"functionName":"Server.setSecureContext","ranges":[{"startOffset":39943,"endOffset":42846,"count":0}],"isBlockCoverage":false},{"functionName":"Server._getServerData","ranges":[{"startOffset":42884,"endOffset":42968,"count":0}],"isBlockCoverage":false},{"functionName":"Server._setServerData","ranges":[{"startOffset":43006,"endOffset":43083,"count":0}],"isBlockCoverage":false},{"functionName":"getTicketKeys","ranges":[{"startOffset":43120,"endOffset":43200,"count":0}],"isBlockCoverage":false},{"functionName":"setTicketKeys","ranges":[{"startOffset":43237,"endOffset":43433,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":43477,"endOffset":45543,"count":0}],"isBlockCoverage":false},{"functionName":"Server.addContext","ranges":[{"startOffset":45666,"endOffset":46117,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":46166,"endOffset":46421,"count":0}],"isBlockCoverage":false},{"functionName":"SNICallback","ranges":[{"startOffset":46424,"endOffset":46740,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeConnectArgs","ranges":[{"startOffset":46973,"endOffset":47701,"count":0}],"isBlockCoverage":false},{"functionName":"onConnectSecure","ranges":[{"startOffset":47703,"endOffset":49935,"count":0}],"isBlockCoverage":false},{"functionName":"onConnectEnd","ranges":[{"startOffset":49937,"endOffset":50486,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":50552,"endOffset":53365,"count":0}],"isBlockCoverage":false}]},{"scriptId":"864","url":"node:internal/js_stream_socket","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8209,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":335,"endOffset":364,"count":0}],"isBlockCoverage":false},{"functionName":"isClosing","ranges":[{"startOffset":741,"endOffset":804,"count":0}],"isBlockCoverage":false},{"functionName":"onreadstart","ranges":[{"startOffset":806,"endOffset":871,"count":0}],"isBlockCoverage":false},{"functionName":"onreadstop","ranges":[{"startOffset":873,"endOffset":936,"count":0}],"isBlockCoverage":false},{"functionName":"onshutdown","ranges":[{"startOffset":938,"endOffset":1009,"count":0}],"isBlockCoverage":false},{"functionName":"onwrite","ranges":[{"startOffset":1011,"endOffset":1088,"count":0}],"isBlockCoverage":false},{"functionName":"JSStreamSocket","ranges":[{"startOffset":1848,"endOffset":3576,"count":0}],"isBlockCoverage":false},{"functionName":"get StreamWrap","ranges":[{"startOffset":3716,"endOffset":3765,"count":0}],"isBlockCoverage":false},{"functionName":"isClosing","ranges":[{"startOffset":3769,"endOffset":3831,"count":0}],"isBlockCoverage":false},{"functionName":"readStart","ranges":[{"startOffset":3835,"endOffset":3892,"count":0}],"isBlockCoverage":false},{"functionName":"readStop","ranges":[{"startOffset":3896,"endOffset":3951,"count":0}],"isBlockCoverage":false},{"functionName":"doShutdown","ranges":[{"startOffset":3955,"endOffset":5202,"count":0}],"isBlockCoverage":false},{"functionName":"finishShutdown","ranges":[{"startOffset":5270,"endOffset":5562,"count":0}],"isBlockCoverage":false},{"functionName":"doWrite","ranges":[{"startOffset":5566,"endOffset":6847,"count":0}],"isBlockCoverage":false},{"functionName":"finishWrite","ranges":[{"startOffset":6915,"endOffset":7358,"count":0}],"isBlockCoverage":false},{"functionName":"doClose","ranges":[{"startOffset":7362,"endOffset":8172,"count":0}],"isBlockCoverage":false}]},{"scriptId":"865","url":"node:internal/tls/secure-pair","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1991,"count":1}],"isBlockCoverage":false},{"functionName":"DuplexSocket","ranges":[{"startOffset":398,"endOffset":487,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":491,"endOffset":616,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":620,"endOffset":824,"count":0}],"isBlockCoverage":false},{"functionName":"_final","ranges":[{"startOffset":828,"endOffset":925,"count":0}],"isBlockCoverage":false},{"functionName":"DuplexPair","ranges":[{"startOffset":950,"endOffset":1137,"count":0}],"isBlockCoverage":false},{"functionName":"SecurePair","ranges":[{"startOffset":1183,"endOffset":1796,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":1800,"endOffset":1875,"count":0}],"isBlockCoverage":false},{"functionName":"createSecurePair","ranges":[{"startOffset":1906,"endOffset":1989,"count":0}],"isBlockCoverage":false}]},{"scriptId":"866","url":"node:internal/http2/compat","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21999,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2235,"endOffset":2701,"count":0}],"isBlockCoverage":false},{"functionName":"isPseudoHeader","ranges":[{"startOffset":2705,"endOffset":3033,"count":0}],"isBlockCoverage":false},{"functionName":"statusMessageWarn","ranges":[{"startOffset":3035,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"isConnectionHeaderAllowed","ranges":[{"startOffset":3273,"endOffset":3400,"count":0}],"isBlockCoverage":false},{"functionName":"connectionHeaderMessageWarn","ranges":[{"startOffset":3402,"endOffset":3741,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamData","ranges":[{"startOffset":3743,"endOffset":3880,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamTrailers","ranges":[{"startOffset":3882,"endOffset":4167,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamEnd","ranges":[{"startOffset":4169,"endOffset":4335,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamError","ranges":[{"startOffset":4337,"endOffset":4511,"count":0}],"isBlockCoverage":false},{"functionName":"onRequestPause","ranges":[{"startOffset":4513,"endOffset":4567,"count":0}],"isBlockCoverage":false},{"functionName":"onRequestResume","ranges":[{"startOffset":4569,"endOffset":4625,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamDrain","ranges":[{"startOffset":4627,"endOffset":4749,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamAbortedRequest","ranges":[{"startOffset":4751,"endOffset":4952,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamAbortedResponse","ranges":[{"startOffset":4954,"endOffset":5012,"count":0}],"isBlockCoverage":false},{"functionName":"resumeStream","ranges":[{"startOffset":5014,"endOffset":5066,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":5099,"endOffset":5249,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5254,"endOffset":6363,"count":0}],"isBlockCoverage":false},{"functionName":"getPrototypeOf","ranges":[{"startOffset":6367,"endOffset":6536,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6540,"endOffset":7333,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamCloseRequest","ranges":[{"startOffset":7339,"endOffset":7789,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamTimeout","ranges":[{"startOffset":7791,"endOffset":7921,"count":0}],"isBlockCoverage":false},{"functionName":"Http2ServerRequest","ranges":[{"startOffset":7969,"endOffset":8980,"count":0}],"isBlockCoverage":false},{"functionName":"get aborted","ranges":[{"startOffset":8984,"endOffset":9030,"count":0}],"isBlockCoverage":false},{"functionName":"get complete","ranges":[{"startOffset":9034,"endOffset":9186,"count":0}],"isBlockCoverage":false},{"functionName":"get stream","ranges":[{"startOffset":9190,"endOffset":9234,"count":0}],"isBlockCoverage":false},{"functionName":"get headers","ranges":[{"startOffset":9238,"endOffset":9284,"count":0}],"isBlockCoverage":false},{"functionName":"get rawHeaders","ranges":[{"startOffset":9288,"endOffset":9340,"count":0}],"isBlockCoverage":false},{"functionName":"get trailers","ranges":[{"startOffset":9344,"endOffset":9392,"count":0}],"isBlockCoverage":false},{"functionName":"get rawTrailers","ranges":[{"startOffset":9396,"endOffset":9450,"count":0}],"isBlockCoverage":false},{"functionName":"get httpVersionMajor","ranges":[{"startOffset":9454,"endOffset":9496,"count":0}],"isBlockCoverage":false},{"functionName":"get httpVersionMinor","ranges":[{"startOffset":9500,"endOffset":9542,"count":0}],"isBlockCoverage":false},{"functionName":"get httpVersion","ranges":[{"startOffset":9546,"endOffset":9587,"count":0}],"isBlockCoverage":false},{"functionName":"get socket","ranges":[{"startOffset":9591,"endOffset":9818,"count":0}],"isBlockCoverage":false},{"functionName":"get connection","ranges":[{"startOffset":9822,"endOffset":9868,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":9872,"endOffset":10121,"count":0}],"isBlockCoverage":false},{"functionName":"get method","ranges":[{"startOffset":10125,"endOffset":10191,"count":0}],"isBlockCoverage":false},{"functionName":"set method","ranges":[{"startOffset":10195,"endOffset":10409,"count":0}],"isBlockCoverage":false},{"functionName":"get authority","ranges":[{"startOffset":10413,"endOffset":10475,"count":0}],"isBlockCoverage":false},{"functionName":"get scheme","ranges":[{"startOffset":10479,"endOffset":10545,"count":0}],"isBlockCoverage":false},{"functionName":"get url","ranges":[{"startOffset":10549,"endOffset":10610,"count":0}],"isBlockCoverage":false},{"functionName":"set url","ranges":[{"startOffset":10614,"endOffset":10677,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":10681,"endOffset":10810,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamTrailersReady","ranges":[{"startOffset":10814,"endOffset":10899,"count":0}],"isBlockCoverage":false},{"functionName":"onStreamCloseResponse","ranges":[{"startOffset":10901,"endOffset":11287,"count":0}],"isBlockCoverage":false},{"functionName":"Http2ServerResponse","ranges":[{"startOffset":11334,"endOffset":12044,"count":0}],"isBlockCoverage":false},{"functionName":"get _header","ranges":[{"startOffset":12241,"endOffset":12289,"count":0}],"isBlockCoverage":false},{"functionName":"get writableEnded","ranges":[{"startOffset":12293,"endOffset":12375,"count":0}],"isBlockCoverage":false},{"functionName":"get finished","ranges":[{"startOffset":12379,"endOffset":12456,"count":0}],"isBlockCoverage":false},{"functionName":"get socket","ranges":[{"startOffset":12460,"endOffset":12865,"count":0}],"isBlockCoverage":false},{"functionName":"get connection","ranges":[{"startOffset":12869,"endOffset":12915,"count":0}],"isBlockCoverage":false},{"functionName":"get stream","ranges":[{"startOffset":12919,"endOffset":12963,"count":0}],"isBlockCoverage":false},{"functionName":"get headersSent","ranges":[{"startOffset":12967,"endOffset":13028,"count":0}],"isBlockCoverage":false},{"functionName":"get sendDate","ranges":[{"startOffset":13032,"endOffset":13086,"count":0}],"isBlockCoverage":false},{"functionName":"set sendDate","ranges":[{"startOffset":13090,"endOffset":13157,"count":0}],"isBlockCoverage":false},{"functionName":"get statusCode","ranges":[{"startOffset":13161,"endOffset":13219,"count":0}],"isBlockCoverage":false},{"functionName":"get writableCorked","ranges":[{"startOffset":13223,"endOffset":13290,"count":0}],"isBlockCoverage":false},{"functionName":"get writableHighWaterMark","ranges":[{"startOffset":13294,"endOffset":13375,"count":0}],"isBlockCoverage":false},{"functionName":"get writableFinished","ranges":[{"startOffset":13379,"endOffset":13450,"count":0}],"isBlockCoverage":false},{"functionName":"get writableLength","ranges":[{"startOffset":13454,"endOffset":13521,"count":0}],"isBlockCoverage":false},{"functionName":"set statusCode","ranges":[{"startOffset":13525,"endOffset":13772,"count":0}],"isBlockCoverage":false},{"functionName":"setTrailer","ranges":[{"startOffset":13776,"endOffset":13976,"count":0}],"isBlockCoverage":false},{"functionName":"addTrailers","ranges":[{"startOffset":13980,"endOffset":14175,"count":0}],"isBlockCoverage":false},{"functionName":"getHeader","ranges":[{"startOffset":14179,"endOffset":14333,"count":0}],"isBlockCoverage":false},{"functionName":"getHeaderNames","ranges":[{"startOffset":14337,"endOffset":14398,"count":0}],"isBlockCoverage":false},{"functionName":"getHeaders","ranges":[{"startOffset":14402,"endOffset":14511,"count":0}],"isBlockCoverage":false},{"functionName":"hasHeader","ranges":[{"startOffset":14515,"endOffset":14700,"count":0}],"isBlockCoverage":false},{"functionName":"removeHeader","ranges":[{"startOffset":14704,"endOffset":15026,"count":0}],"isBlockCoverage":false},{"functionName":"setHeader","ranges":[{"startOffset":15030,"endOffset":15205,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":15209,"endOffset":15619,"count":0}],"isBlockCoverage":false},{"functionName":"get statusMessage","ranges":[{"startOffset":15623,"endOffset":15689,"count":0}],"isBlockCoverage":false},{"functionName":"set statusMessage","ranges":[{"startOffset":15693,"endOffset":15746,"count":0}],"isBlockCoverage":false},{"functionName":"flushHeaders","ranges":[{"startOffset":15750,"endOffset":15895,"count":0}],"isBlockCoverage":false},{"functionName":"writeHead","ranges":[{"startOffset":15899,"endOffset":17103,"count":0}],"isBlockCoverage":false},{"functionName":"cork","ranges":[{"startOffset":17107,"endOffset":17145,"count":0}],"isBlockCoverage":false},{"functionName":"uncork","ranges":[{"startOffset":17149,"endOffset":17191,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":17195,"endOffset":17861,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":17865,"endOffset":18872,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":18876,"endOffset":19008,"count":0}],"isBlockCoverage":false},{"functionName":"setTimeout","ranges":[{"startOffset":19012,"endOffset":19135,"count":0}],"isBlockCoverage":false},{"functionName":"createPushResponse","ranges":[{"startOffset":19139,"endOffset":19549,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19553,"endOffset":19860,"count":0}],"isBlockCoverage":false},{"functionName":"writeContinue","ranges":[{"startOffset":19900,"endOffset":20133,"count":0}],"isBlockCoverage":false},{"functionName":"writeEarlyHints","ranges":[{"startOffset":20137,"endOffset":20765,"count":0}],"isBlockCoverage":false},{"functionName":"onServerStream","ranges":[{"startOffset":20769,"endOffset":21912,"count":0}],"isBlockCoverage":false}]},{"scriptId":"867","url":"node:internal/http2/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":22303,"count":1}],"isBlockCoverage":false},{"functionName":"updateOptionsBuffer","ranges":[{"startOffset":6930,"endOffset":9174,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultSettings","ranges":[{"startOffset":9176,"endOffset":10810,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":10923,"endOffset":11638,"count":0}],"isBlockCoverage":false},{"functionName":"updateSettingsBuffer","ranges":[{"startOffset":11640,"endOffset":13537,"count":0}],"isBlockCoverage":false},{"functionName":"getSessionState","ranges":[{"startOffset":13539,"endOffset":14399,"count":0}],"isBlockCoverage":false},{"functionName":"getStreamState","ranges":[{"startOffset":14401,"endOffset":14837,"count":0}],"isBlockCoverage":false},{"functionName":"isIllegalConnectionSpecificHeader","ranges":[{"startOffset":14839,"endOffset":15251,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":15301,"endOffset":15407,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":15467,"endOffset":15561,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":15620,"endOffset":15681,"count":0}],"isBlockCoverage":false},{"functionName":"mapToHeaders","ranges":[{"startOffset":15843,"endOffset":17914,"count":0}],"isBlockCoverage":false},{"functionName":"NghttpError","ranges":[{"startOffset":17952,"endOffset":18411,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":18415,"endOffset":18490,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18533,"endOffset":18753,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18802,"endOffset":19045,"count":0}],"isBlockCoverage":false},{"functionName":"toHeaderObject","ranges":[{"startOffset":19051,"endOffset":21120,"count":0}],"isBlockCoverage":false},{"functionName":"isPayloadMeaningless","ranges":[{"startOffset":21122,"endOffset":21203,"count":0}],"isBlockCoverage":false},{"functionName":"sessionName","ranges":[{"startOffset":21205,"endOffset":21408,"count":0}],"isBlockCoverage":false},{"functionName":"getAuthority","ranges":[{"startOffset":21410,"endOffset":21859,"count":0}],"isBlockCoverage":false}]},{"scriptId":"868","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/fake-xhr/blob.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":149,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":38,"endOffset":144,"count":1},{"startOffset":103,"endOffset":142,"count":0}],"isBlockCoverage":true}]},{"scriptId":"869","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/fake-server/log.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":389,"count":1}],"isBlockCoverage":true},{"functionName":"log","ranges":[{"startOffset":54,"endOffset":365,"count":0}],"isBlockCoverage":false}]},{"scriptId":"870","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-to-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10854,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":1141,"endOffset":2679,"count":0}],"isBlockCoverage":false},{"functionName":"compile","ranges":[{"startOffset":2866,"endOffset":2957,"count":0}],"isBlockCoverage":false},{"functionName":"encodeURIComponentPretty","ranges":[{"startOffset":3053,"endOffset":3219,"count":0}],"isBlockCoverage":false},{"functionName":"encodeAsterisk","ranges":[{"startOffset":3347,"endOffset":3501,"count":0}],"isBlockCoverage":false},{"functionName":"tokensToFunction","ranges":[{"startOffset":3578,"endOffset":5763,"count":0}],"isBlockCoverage":false},{"functionName":"escapeString","ranges":[{"startOffset":5859,"endOffset":5949,"count":0}],"isBlockCoverage":false},{"functionName":"escapeGroup","ranges":[{"startOffset":6082,"endOffset":6162,"count":0}],"isBlockCoverage":false},{"functionName":"attachKeys","ranges":[{"startOffset":6294,"endOffset":6357,"count":0}],"isBlockCoverage":false},{"functionName":"flags","ranges":[{"startOffset":6466,"endOffset":6543,"count":0}],"isBlockCoverage":false},{"functionName":"regexpToRegexp","ranges":[{"startOffset":6661,"endOffset":7125,"count":0}],"isBlockCoverage":false},{"functionName":"arrayToRegexp","ranges":[{"startOffset":7277,"endOffset":7558,"count":0}],"isBlockCoverage":false},{"functionName":"stringToRegexp","ranges":[{"startOffset":7716,"endOffset":7826,"count":0}],"isBlockCoverage":false},{"functionName":"tokensToRegExp","ranges":[{"startOffset":8030,"endOffset":9914,"count":0}],"isBlockCoverage":false},{"functionName":"pathToRegexp","ranges":[{"startOffset":10367,"endOffset":10853,"count":0}],"isBlockCoverage":false}]},{"scriptId":"871","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isarray/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1},{"startOffset":31,"endOffset":118,"count":0}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":34,"endOffset":118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"872","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/lib/fake-server/fake-server-with-clock.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1933,"count":1}],"isBlockCoverage":true},{"functionName":"Server","ranges":[{"startOffset":149,"endOffset":169,"count":1}],"isBlockCoverage":true},{"functionName":"addRequest","ranges":[{"startOffset":276,"endOffset":1353,"count":0}],"isBlockCoverage":false},{"functionName":"respond","ranges":[{"startOffset":1386,"endOffset":1722,"count":0}],"isBlockCoverage":false},{"functionName":"restore","ranges":[{"startOffset":1755,"endOffset":1892,"count":0}],"isBlockCoverage":false}]},{"scriptId":"873","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/src/fake-timers-src.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":58789,"count":1}],"isBlockCoverage":true},{"functionName":"withGlobal","ranges":[{"startOffset":4764,"endOffset":58308,"count":1},{"startOffset":4835,"endOffset":4865,"count":0},{"startOffset":4903,"endOffset":4937,"count":0},{"startOffset":6358,"endOffset":6420,"count":0},{"startOffset":6499,"endOffset":6560,"count":0},{"startOffset":6637,"endOffset":6697,"count":0},{"startOffset":6772,"endOffset":6831,"count":0},{"startOffset":7124,"endOffset":7376,"count":0},{"startOffset":32044,"endOffset":32121,"count":0},{"startOffset":32238,"endOffset":32313,"count":0},{"startOffset":32351,"endOffset":32424,"count":0},{"startOffset":32461,"endOffset":32532,"count":0},{"startOffset":32586,"endOffset":32607,"count":0}],"isBlockCoverage":true},{"functionName":"NOOP","ranges":[{"startOffset":5170,"endOffset":5215,"count":0}],"isBlockCoverage":false},{"functionName":"NOOP_ARRAY","ranges":[{"startOffset":5240,"endOffset":5278,"count":0}],"isBlockCoverage":false},{"functionName":"isNumberFinite","ranges":[{"startOffset":7870,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsNearInfiniteLimit","ranges":[{"startOffset":8132,"endOffset":8293,"count":0}],"isBlockCoverage":false},{"functionName":"resetIsNearInfiniteLimit","ranges":[{"startOffset":8322,"endOffset":8402,"count":0}],"isBlockCoverage":false},{"functionName":"parseTime","ranges":[{"startOffset":8673,"endOffset":9362,"count":0}],"isBlockCoverage":false},{"functionName":"nanoRemainder","ranges":[{"startOffset":9654,"endOffset":9914,"count":0}],"isBlockCoverage":false},{"functionName":"getEpoch","ranges":[{"startOffset":10074,"endOffset":10410,"count":0}],"isBlockCoverage":false},{"functionName":"inRange","ranges":[{"startOffset":10540,"endOffset":10649,"count":0}],"isBlockCoverage":false},{"functionName":"getInfiniteLoopError","ranges":[{"startOffset":10725,"endOffset":13014,"count":0}],"isBlockCoverage":false},{"functionName":"mirrorDateProperties","ranges":[{"startOffset":13146,"endOffset":14224,"count":0}],"isBlockCoverage":false},{"functionName":"createDate","ranges":[{"startOffset":14281,"endOffset":16393,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueJob","ranges":[{"startOffset":16450,"endOffset":16657,"count":0}],"isBlockCoverage":false},{"functionName":"runJobs","ranges":[{"startOffset":16714,"endOffset":17255,"count":0}],"isBlockCoverage":false},{"functionName":"addTimer","ranges":[{"startOffset":17382,"endOffset":20229,"count":0}],"isBlockCoverage":false},{"functionName":"compareTimers","ranges":[{"startOffset":20397,"endOffset":21301,"count":0}],"isBlockCoverage":false},{"functionName":"firstTimerInRange","ranges":[{"startOffset":21429,"endOffset":21955,"count":0}],"isBlockCoverage":false},{"functionName":"firstTimer","ranges":[{"startOffset":22029,"endOffset":22394,"count":0}],"isBlockCoverage":false},{"functionName":"lastTimer","ranges":[{"startOffset":22468,"endOffset":22833,"count":0}],"isBlockCoverage":false},{"functionName":"callTimer","ranges":[{"startOffset":22911,"endOffset":23408,"count":0}],"isBlockCoverage":false},{"functionName":"getClearHandler","ranges":[{"startOffset":23520,"endOffset":23708,"count":0}],"isBlockCoverage":false},{"functionName":"getScheduleHandler","ranges":[{"startOffset":23823,"endOffset":24013,"count":0}],"isBlockCoverage":false},{"functionName":"createWarnOnce","ranges":[{"startOffset":24090,"endOffset":24272,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":24156,"endOffset":24265,"count":0}],"isBlockCoverage":false},{"functionName":"clearTimer","ranges":[{"startOffset":24421,"endOffset":26322,"count":0}],"isBlockCoverage":false},{"functionName":"uninstall","ranges":[{"startOffset":26428,"endOffset":28564,"count":0}],"isBlockCoverage":false},{"functionName":"hijackMethod","ranges":[{"startOffset":28758,"endOffset":30371,"count":0}],"isBlockCoverage":false},{"functionName":"doIntervalTick","ranges":[{"startOffset":30461,"endOffset":30555,"count":0}],"isBlockCoverage":false},{"functionName":"createClock","ranges":[{"startOffset":32838,"endOffset":53871,"count":0}],"isBlockCoverage":false},{"functionName":"install","ranges":[{"startOffset":54003,"endOffset":58133,"count":0}],"isBlockCoverage":false}]},{"scriptId":"874","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":457,"count":1}],"isBlockCoverage":true}]},{"scriptId":"875","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":386,"count":1},{"startOffset":216,"endOffset":353,"count":0}],"isBlockCoverage":true}]},{"scriptId":"876","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/called-in-order.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1445,"count":1}],"isBlockCoverage":true},{"functionName":"hasCallsLeft","ranges":[{"startOffset":85,"endOffset":245,"count":0}],"isBlockCoverage":false},{"functionName":"checkAdjacentCalls","ranges":[{"startOffset":267,"endOffset":602,"count":0}],"isBlockCoverage":false},{"functionName":"calledInOrder","ranges":[{"startOffset":1177,"endOffset":1411,"count":0}],"isBlockCoverage":false}]},{"scriptId":"877","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true}]},{"scriptId":"878","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype-methods.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1010,"count":1},{"startOffset":423,"endOffset":470,"count":0}],"isBlockCoverage":true},{"functionName":"copyPrototypeMethods","ranges":[{"startOffset":489,"endOffset":1008,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":671,"endOffset":979,"count":134},{"startOffset":768,"endOffset":806,"count":4},{"startOffset":806,"endOffset":859,"count":130},{"startOffset":859,"endOffset":897,"count":5},{"startOffset":897,"endOffset":978,"count":125}],"isBlockCoverage":true}]},{"scriptId":"879","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/throws-on-proto.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":749,"count":1},{"startOffset":488,"endOffset":715,"count":0}],"isBlockCoverage":true}]},{"scriptId":"880","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/class-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":921,"count":1}],"isBlockCoverage":true},{"functionName":"className","ranges":[{"startOffset":221,"endOffset":891,"count":0}],"isBlockCoverage":false}]},{"scriptId":"881","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/function-name.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":818,"count":1}],"isBlockCoverage":true},{"functionName":"functionName","ranges":[{"startOffset":132,"endOffset":816,"count":0}],"isBlockCoverage":false}]},{"scriptId":"882","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/deprecated.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1363,"count":1}],"isBlockCoverage":true},{"functionName":"exports.wrap","ranges":[{"startOffset":282,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"exports.defaultMsg","ranges":[{"startOffset":774,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"exports.printWarning","ranges":[{"startOffset":1080,"endOffset":1361,"count":0}],"isBlockCoverage":false}]},{"scriptId":"883","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/every.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":666,"count":1}],"isBlockCoverage":true},{"functionName":"every","ranges":[{"startOffset":241,"endOffset":664,"count":0}],"isBlockCoverage":false}]},{"scriptId":"884","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/order-by-first-call.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":817,"count":1}],"isBlockCoverage":true},{"functionName":"comparator","ranges":[{"startOffset":132,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"orderByFirstCall","ranges":[{"startOffset":701,"endOffset":780,"count":0}],"isBlockCoverage":false}]},{"scriptId":"885","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":225,"count":1}],"isBlockCoverage":true}]},{"scriptId":"886","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":125,"count":1}],"isBlockCoverage":true}]},{"scriptId":"887","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"888","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"889","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"890","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/prototypes/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":123,"count":1}],"isBlockCoverage":true}]},{"scriptId":"891","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/type-of.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":266,"count":1}],"isBlockCoverage":true},{"functionName":"typeOf","ranges":[{"startOffset":200,"endOffset":264,"count":0}],"isBlockCoverage":false}]},{"scriptId":"892","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons/lib/value-to-string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"valueToString","ranges":[{"startOffset":116,"endOffset":336,"count":0}],"isBlockCoverage":false}]},{"scriptId":"893","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2572,"count":1}],"isBlockCoverage":true},{"functionName":"getFakeExecutor","ranges":[{"startOffset":538,"endOffset":717,"count":0}],"isBlockCoverage":false},{"functionName":"promise","ranges":[{"startOffset":1018,"endOffset":2544,"count":0}],"isBlockCoverage":false}]},{"scriptId":"894","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/is-restorable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":206,"count":1}],"isBlockCoverage":true},{"functionName":"isRestorable","ranges":[{"startOffset":15,"endOffset":173,"count":0}],"isBlockCoverage":false}]},{"scriptId":"895","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/restore-object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":369,"count":1}],"isBlockCoverage":true},{"functionName":"filter","ranges":[{"startOffset":71,"endOffset":179,"count":0}],"isBlockCoverage":false},{"functionName":"restore","ranges":[{"startOffset":181,"endOffset":251,"count":0}],"isBlockCoverage":false},{"functionName":"restoreObject","ranges":[{"startOffset":253,"endOffset":335,"count":0}],"isBlockCoverage":false}]},{"scriptId":"896","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/sinon/lib/sinon/util/core/default-config.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":369,"count":1}],"isBlockCoverage":true}]},{"scriptId":"897","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/helpers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":247,"count":1}],"isBlockCoverage":true},{"functionName":"delay","ranges":[{"startOffset":101,"endOffset":190,"count":22}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":150,"endOffset":186,"count":22}],"isBlockCoverage":true}]},{"scriptId":"898","url":"node:internal/util/iterable_weak_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1959,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":373,"endOffset":1819,"count":1}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":521,"endOffset":1033,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1037,"endOffset":1093,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":1097,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":1150,"endOffset":1388,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1392,"endOffset":1817,"count":1}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":1484,"endOffset":1736,"count":1},{"startOffset":1567,"endOffset":1735,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1758,"endOffset":1793,"count":0}],"isBlockCoverage":false},{"functionName":"cleanup","ranges":[{"startOffset":1821,"endOffset":1874,"count":0}],"isBlockCoverage":false}]}],"timestamp":85118.531374,"source-map-cache":{"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js":{"lineLengths":[13,7,62,74,65,63,53,60,45,115,43,34,51,41,47,46,41,38,37,55,26,64,27,15,15,25,20,6,17,22,17,6,14,23,19,35,40,9,52,24,28,30,32,11,5,16,36,5,28,40,35,29,23,19,9,28,43,28,9,14,30,9,5,28,31,25,9,32,24,46,51,9,28,62,9,19,5,1,22,1,37,12,26,44,10,16,34,10,18,36,10,6,2,49,14,25,5,14,16,1,41,52,40,25,65,24,29,13,25,31,23,20,26,16,32,43,32,49,45,70,71,69,35,63,46,83,84,82,82,81,27,37,34,68,74,61,17,36,49,34,70,41,68,29,53,40,17,14,9,61,49,5,22,29,40,29,9,28,37,24,9,59,33,22,49,63,68,30,13,10,5,12,27,19,9,28,65,68,68,35,33,49,17,51,23,46,13,25,9,44,47,10,46,49,10,5,14,28,19,9,29,45,53,33,28,75,13,32,17,60,37,13,25,32,11,55,67,33,5,30,29,40,21,9,43,28,65,91,5,31,45,56,46,49,37,13,33,60,33,69,32,23,9,14,55,9,5,1,35,65,25,94,3,67,39,2,68,29,2,61,3,28,3,66,66,45,2,12,3,24,3,68,66,45,2,12,3,27,33],"data":{"version":3,"file":"index.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/index.ts"],"names":[],"mappings":";;;;AAAA,iEAAiE;AACjE,+DAA+D;AAC/D,qDAAqD;AACrD,4DAA4D;AAC5D,6CAAsC;AAC7B,wFADA,oBAAO,OACA;AAQhB,MAAM,SAAS,GAAG,CAAC,OAAY,EAAwB,EAAE,CACvD,CAAC,CAAC,OAAO;IACT,OAAO,OAAO,KAAK,QAAQ;IAC3B,OAAO,OAAO,CAAC,cAAc,KAAK,UAAU;IAC5C,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,UAAU,KAAK,UAAU;IACxC,OAAO,OAAO,CAAC,SAAS,KAAK,UAAU;IACvC,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,GAAG,KAAK,QAAQ;IAC/B,OAAO,OAAO,CAAC,EAAE,KAAK,UAAU,CAAA;AAElC,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;AACtD,MAAM,MAAM,GAAqD,UAAU,CAAA;AAC3E,MAAM,oBAAoB,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;AAwB/D,2BAA2B;AAC3B,MAAM,OAAO;IACX,OAAO,GAAY;QACjB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,KAAK;KACZ,CAAA;IAED,SAAS,GAAc;QACrB,SAAS,EAAE,EAAE;QACb,IAAI,EAAE,EAAE;KACT,CAAA;IAED,KAAK,GAAW,CAAC,CAAA;IACjB,EAAE,GAAW,IAAI,CAAC,MAAM,EAAE,CAAA;IAE1B;QACE,IAAI,MAAM,CAAC,YAAY,CAAC,EAAE;YACxB,OAAO,MAAM,CAAC,YAAY,CAAC,CAAA;SAC5B;QACD,oBAAoB,CAAC,MAAM,EAAE,YAAY,EAAE;YACzC,KAAK,EAAE,IAAI;YACX,QAAQ,EAAE,KAAK;YACf,UAAU,EAAE,KAAK;YACjB,YAAY,EAAE,KAAK;SACpB,CAAC,CAAA;IACJ,CAAC;IAED,EAAE,CAAC,EAAa,EAAE,EAAW;QAC3B,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC7B,CAAC;IAED,cAAc,CAAC,EAAa,EAAE,EAAW;QACvC,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;QAC/B,MAAM,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;QAC1B,qBAAqB;QACrB,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE;YACZ,OAAM;SACP;QACD,oBAAoB;QACpB,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;YAChC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAA;SAChB;aAAM;YACL,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;SAClB;IACH,CAAC;IAED,IAAI,CACF,EAAa,EACb,IAA+B,EAC/B,MAA6B;QAE7B,IAAI,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;YACpB,OAAO,KAAK,CAAA;SACb;QACD,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,IAAI,CAAA;QACvB,IAAI,GAAG,GAAY,KAAK,CAAA;QACxB,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE;YACnC,GAAG,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,IAAI,IAAI,GAAG,CAAA;SACvC;QACD,IAAI,EAAE,KAAK,MAAM,EAAE;YACjB,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,GAAG,CAAA;SAClD;QACD,OAAO,GAAG,CAAA;IACZ,CAAC;CACF;AAED,MAAe,cAAc;CAI5B;AAED,MAAM,cAAc,GAAG,CAA2B,OAAU,EAAE,EAAE;IAC9D,OAAO;QACL,MAAM,CAAC,EAAW,EAAE,IAA+B;YACjD,OAAO,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;QACjC,CAAC;QACD,IAAI;YACF,OAAO,OAAO,CAAC,IAAI,EAAE,CAAA;QACvB,CAAC;QACD,MAAM;YACJ,OAAO,OAAO,CAAC,MAAM,EAAE,CAAA;QACzB,CAAC;KACF,CAAA;AACH,CAAC,CAAA;AAED,MAAM,kBAAmB,SAAQ,cAAc;IAC7C,MAAM;QACJ,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;IACjB,CAAC;IACD,IAAI,KAAI,CAAC;IACT,MAAM,KAAI,CAAC;CACZ;AAED,MAAM,UAAW,SAAQ,cAAc;IACrC,gDAAgD;IAChD,oCAAoC;IACpC,qBAAqB;IACrB,OAAO,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC5D,oBAAoB;IACpB,QAAQ,GAAG,IAAI,OAAO,EAAE,CAAA;IACxB,QAAQ,CAAW;IACnB,oBAAoB,CAAmB;IACvC,0BAA0B,CAAyB;IAEnD,aAAa,GAA2C,EAAE,CAAA;IAC1D,OAAO,GAAY,KAAK,CAAA;IAExB,YAAY,OAAkB;QAC5B,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAA;QACvB,mCAAmC;QACnC,IAAI,CAAC,aAAa,GAAG,EAAE,CAAA;QACvB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,GAAG,EAAE;gBAC7B,sDAAsD;gBACtD,uDAAuD;gBACvD,qDAAqD;gBACrD,mBAAmB;gBACnB,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;gBAC9C,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAA;gBAC7B,mEAAmE;gBACnE,oEAAoE;gBACpE,kEAAkE;gBAClE,kEAAkE;gBAClE,iEAAiE;gBACjE,WAAW;gBACX,qBAAqB;gBACrB,MAAM,CAAC,GAAG,OAET,CAAA;gBACD,IACE,OAAO,CAAC,CAAC,uBAAuB,KAAK,QAAQ;oBAC7C,OAAO,CAAC,CAAC,uBAAuB,CAAC,KAAK,KAAK,QAAQ,EACnD;oBACA,KAAK,IAAI,CAAC,CAAC,uBAAuB,CAAC,KAAK,CAAA;iBACzC;gBACD,oBAAoB;gBACpB,IAAI,SAAS,CAAC,MAAM,KAAK,KAAK,EAAE;oBAC9B,IAAI,CAAC,MAAM,EAAE,CAAA;oBACb,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,CAAA;oBACjD,qBAAqB;oBACrB,MAAM,CAAC,GAAG,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAA;oBAC/C,IAAI,CAAC,GAAG;wBAAE,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;oBACtC,oBAAoB;iBACrB;YACH,CAAC,CAAA;SACF;QAED,IAAI,CAAC,0BAA0B,GAAG,OAAO,CAAC,UAAU,CAAA;QACpD,IAAI,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAA;IAC1C,CAAC;IAED,MAAM,CAAC,EAAW,EAAE,IAA+B;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;SAChB;QACD,oBAAoB;QAEpB,IAAI,IAAI,CAAC,OAAO,KAAK,KAAK,EAAE;YAC1B,IAAI,CAAC,IAAI,EAAE,CAAA;SACZ;QAED,MAAM,EAAE,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAA;QAClD,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;QACxB,OAAO,GAAG,EAAE;YACV,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;YACpC,IACE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC;gBAC5C,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,MAAM,KAAK,CAAC,EACjD;gBACA,IAAI,CAAC,MAAM,EAAE,CAAA;aACd;QACH,CAAC,CAAA;IACH,CAAC;IAED,IAAI;QACF,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;QAEnB,yDAAyD;QACzD,4DAA4D;QAC5D,4DAA4D;QAC5D,2BAA2B;QAC3B,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;QAExB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI;gBACF,MAAM,EAAE,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;gBAClC,IAAI,EAAE;oBAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;aAClC;YAAC,OAAO,CAAC,EAAE,GAAE;SACf;QAED,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,EAAU,EAAE,GAAG,CAAQ,EAAE,EAAE;YAC/C,OAAO,IAAI,CAAC,YAAY,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,CAAA;QACpC,CAAC,CAAA;QACD,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,CAAC,IAAgC,EAAE,EAAE;YAC9D,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAA;QACtC,CAAC,CAAA;IACH,CAAC;IAED,MAAM;QACJ,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACjB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QAEpB,oBAAO,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACpB,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;YACxC,qBAAqB;YACrB,IAAI,CAAC,QAAQ,EAAE;gBACb,MAAM,IAAI,KAAK,CAAC,mCAAmC,GAAG,GAAG,CAAC,CAAA;aAC3D;YACD,oBAAoB;YACpB,IAAI;gBACF,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;gBAC3C,qBAAqB;aACtB;YAAC,OAAO,CAAC,EAAE,GAAE;YACd,oBAAoB;QACtB,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC,oBAAoB,CAAA;QAC9C,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,IAAI,CAAC,0BAA0B,CAAA;QAC1D,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;IAC1B,CAAC;IAED,kBAAkB,CAAC,IAAgC;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,CAAC,CAAA;SACT;QACD,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,IAAI,CAAC,CAAA;QAClC,oBAAoB;QAEpB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;QACxD,OAAO,IAAI,CAAC,0BAA0B,CAAC,IAAI,CACzC,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,QAAQ,CAAC,QAAQ,CACvB,CAAA;IACH,CAAC;IAED,YAAY,CAAC,EAAU,EAAE,GAAG,IAAW;QACrC,MAAM,EAAE,GAAG,IAAI,CAAC,oBAAoB,CAAA;QACpC,IAAI,EAAE,KAAK,MAAM,IAAI,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7C,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE;gBAC/B,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;gBAChC,qBAAqB;aACtB;YACD,qBAAqB;YACrB,MAAM,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;YAC/C,qBAAqB;YACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;YACxD,oBAAoB;YACpB,OAAO,GAAG,CAAA;SACX;aAAM;YACL,OAAO,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;SAC3C;IACH,CAAC;CACF;AAED,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAA;AAClC,iEAAiE;AACjE,yBAAyB;AACZ,KA6BT,cAAc,CAChB,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,kBAAkB,EAAE,CACxE;AA9BC;;;;;;;;GAQG;AACH,cAAM;AAEN;;;;;;GAMG;AACH,YAAI;AAEJ;;;;;;GAMG;AACH,cAAM,aAGP","sourcesContent":["// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nimport { signals } from './signals.js'\nexport { signals }\n\n// just a loosened process type so we can do some evil things\ntype ProcessRE = NodeJS.Process & {\n reallyExit: (code?: number | undefined | null) => any\n emit: (ev: string, ...a: any[]) => any\n}\n\nconst processOk = (process: any): process is ProcessRE =>\n !!process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n\nconst kExitEmitter = Symbol.for('signal-exit emitter')\nconst global: typeof globalThis & { [kExitEmitter]?: Emitter } = globalThis\nconst ObjectDefineProperty = Object.defineProperty.bind(Object)\n\n/**\n * A function that takes an exit code and signal as arguments\n *\n * In the case of signal exits *only*, a return value of true\n * will indicate that the signal is being handled, and we should\n * not synthetically exit with the signal we received. Regardless\n * of the handler return value, the handler is unloaded when an\n * otherwise fatal signal is received, so you get exactly 1 shot\n * at it, unless you add another onExit handler at that point.\n *\n * In the case of numeric code exits, we may already have committed\n * to exiting the process, for example via a fatal exception or\n * unhandled promise rejection, so it is impossible to stop safely.\n */\nexport type Handler = (\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n) => true | void\ntype ExitEvent = 'afterExit' | 'exit'\ntype Emitted = { [k in ExitEvent]: boolean }\ntype Listeners = { [k in ExitEvent]: Handler[] }\n\n// teeny special purpose ee\nclass Emitter {\n emitted: Emitted = {\n afterExit: false,\n exit: false,\n }\n\n listeners: Listeners = {\n afterExit: [],\n exit: [],\n }\n\n count: number = 0\n id: number = Math.random()\n\n constructor() {\n if (global[kExitEmitter]) {\n return global[kExitEmitter]\n }\n ObjectDefineProperty(global, kExitEmitter, {\n value: this,\n writable: false,\n enumerable: false,\n configurable: false,\n })\n }\n\n on(ev: ExitEvent, fn: Handler) {\n this.listeners[ev].push(fn)\n }\n\n removeListener(ev: ExitEvent, fn: Handler) {\n const list = this.listeners[ev]\n const i = list.indexOf(fn)\n /* c8 ignore start */\n if (i === -1) {\n return\n }\n /* c8 ignore stop */\n if (i === 0 && list.length === 1) {\n list.length = 0\n } else {\n list.splice(i, 1)\n }\n }\n\n emit(\n ev: ExitEvent,\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n ): boolean {\n if (this.emitted[ev]) {\n return false\n }\n this.emitted[ev] = true\n let ret: boolean = false\n for (const fn of this.listeners[ev]) {\n ret = fn(code, signal) === true || ret\n }\n if (ev === 'exit') {\n ret = this.emit('afterExit', code, signal) || ret\n }\n return ret\n }\n}\n\nabstract class SignalExitBase {\n abstract onExit(cb: Handler, opts?: { alwaysLast?: boolean }): () => void\n abstract load(): void\n abstract unload(): void\n}\n\nconst signalExitWrap = (handler: T) => {\n return {\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n return handler.onExit(cb, opts)\n },\n load() {\n return handler.load()\n },\n unload() {\n return handler.unload()\n },\n }\n}\n\nclass SignalExitFallback extends SignalExitBase {\n onExit() {\n return () => {}\n }\n load() {}\n unload() {}\n}\n\nclass SignalExit extends SignalExitBase {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n /* c8 ignore start */\n #hupSig = process.platform === 'win32' ? 'SIGINT' : 'SIGHUP'\n /* c8 ignore stop */\n #emitter = new Emitter()\n #process: ProcessRE\n #originalProcessEmit: ProcessRE['emit']\n #originalProcessReallyExit: ProcessRE['reallyExit']\n\n #sigListeners: { [k in NodeJS.Signals]?: () => void } = {}\n #loaded: boolean = false\n\n constructor(process: ProcessRE) {\n super()\n this.#process = process\n // { : , ... }\n this.#sigListeners = {}\n for (const sig of signals) {\n this.#sigListeners[sig] = () => {\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n const listeners = this.#process.listeners(sig)\n let { count } = this.#emitter\n // This is a workaround for the fact that signal-exit v3 and signal\n // exit v4 are not aware of each other, and each will attempt to let\n // the other handle it, so neither of them do. To correct this, we\n // detect if we're the only handler *except* for previous versions\n // of signal-exit, and increment by the count of listeners it has\n // created.\n /* c8 ignore start */\n const p = process as unknown as {\n __signal_exit_emitter__?: { count: number }\n }\n if (\n typeof p.__signal_exit_emitter__ === 'object' &&\n typeof p.__signal_exit_emitter__.count === 'number'\n ) {\n count += p.__signal_exit_emitter__.count\n }\n /* c8 ignore stop */\n if (listeners.length === count) {\n this.unload()\n const ret = this.#emitter.emit('exit', null, sig)\n /* c8 ignore start */\n const s = sig === 'SIGHUP' ? this.#hupSig : sig\n if (!ret) process.kill(process.pid, s)\n /* c8 ignore stop */\n }\n }\n }\n\n this.#originalProcessReallyExit = process.reallyExit\n this.#originalProcessEmit = process.emit\n }\n\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return () => {}\n }\n /* c8 ignore stop */\n\n if (this.#loaded === false) {\n this.load()\n }\n\n const ev = opts?.alwaysLast ? 'afterExit' : 'exit'\n this.#emitter.on(ev, cb)\n return () => {\n this.#emitter.removeListener(ev, cb)\n if (\n this.#emitter.listeners['exit'].length === 0 &&\n this.#emitter.listeners['afterExit'].length === 0\n ) {\n this.unload()\n }\n }\n }\n\n load() {\n if (this.#loaded) {\n return\n }\n this.#loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n this.#emitter.count += 1\n\n for (const sig of signals) {\n try {\n const fn = this.#sigListeners[sig]\n if (fn) this.#process.on(sig, fn)\n } catch (_) {}\n }\n\n this.#process.emit = (ev: string, ...a: any[]) => {\n return this.#processEmit(ev, ...a)\n }\n this.#process.reallyExit = (code?: number | null | undefined) => {\n return this.#processReallyExit(code)\n }\n }\n\n unload() {\n if (!this.#loaded) {\n return\n }\n this.#loaded = false\n\n signals.forEach(sig => {\n const listener = this.#sigListeners[sig]\n /* c8 ignore start */\n if (!listener) {\n throw new Error('Listener not defined for signal: ' + sig)\n }\n /* c8 ignore stop */\n try {\n this.#process.removeListener(sig, listener)\n /* c8 ignore start */\n } catch (_) {}\n /* c8 ignore stop */\n })\n this.#process.emit = this.#originalProcessEmit\n this.#process.reallyExit = this.#originalProcessReallyExit\n this.#emitter.count -= 1\n }\n\n #processReallyExit(code?: number | null | undefined) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return 0\n }\n this.#process.exitCode = code || 0\n /* c8 ignore stop */\n\n this.#emitter.emit('exit', this.#process.exitCode, null)\n return this.#originalProcessReallyExit.call(\n this.#process,\n this.#process.exitCode\n )\n }\n\n #processEmit(ev: string, ...args: any[]): any {\n const og = this.#originalProcessEmit\n if (ev === 'exit' && processOk(this.#process)) {\n if (typeof args[0] === 'number') {\n this.#process.exitCode = args[0]\n /* c8 ignore start */\n }\n /* c8 ignore start */\n const ret = og.call(this.#process, ev, ...args)\n /* c8 ignore start */\n this.#emitter.emit('exit', this.#process.exitCode, null)\n /* c8 ignore stop */\n return ret\n } else {\n return og.call(this.#process, ev, ...args)\n }\n }\n}\n\nconst process = globalThis.process\n// wrap so that we call the method on the actual handler, without\n// exporting it directly.\nexport const {\n /**\n * Called when the process is exiting, whether via signal, explicit\n * exit, or running out of stuff to do.\n *\n * If the global process object is not suitable for instrumentation,\n * then this will be a no-op.\n *\n * Returns a function that may be used to unload signal-exit.\n */\n onExit,\n\n /**\n * Load the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n load,\n\n /**\n * Unload the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n unload,\n} = signalExitWrap(\n processOk(process) ? new SignalExit(process) : new SignalExitFallback()\n)\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js":{"lineLengths":[13,62,25,3,47,2,54,54,53,55,28,2,55,54,52,2,54,49,2,56,52,55,36,2,54,50,54,13,3,21,52,35,133,61,14,16,6,1,35,68,1,35],"data":{"version":3,"file":"signals.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/signals.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACU,QAAA,OAAO,GAAqB,EAAE,CAAA;AAC3C,eAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAA;AAE3C,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CACV,SAAS,EACT,SAAS,EACT,WAAW,EACX,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,EACR,SAAS,EACT,QAAQ;IACR,yDAAyD;IACzD,UAAU;IACV,YAAY;KACb,CAAA;CACF;AAED,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAA;CACxD","sourcesContent":["/**\n * This is not the set of all possible signals.\n *\n * It IS, however, the set of all signals that trigger\n * an exit on either Linux or BSD systems. Linux is a\n * superset of the signal names supported on BSD, and\n * the unknown signals just fail to register, so we can\n * catch that easily enough.\n *\n * Windows signals are a different set, since there are\n * signals that terminate Windows processes, but don't\n * terminate (or don't even exist) on Posix systems.\n *\n * Don't bother with SIGKILL. It's uncatchable, which\n * means that we can't fire any callbacks anyway.\n *\n * If a user does happen to register a handler on a non-\n * fatal signal like SIGWINCH or something, and then\n * exit, it'll end up firing `process.emit('exit')`, so\n * the handler will be fired anyway.\n *\n * SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n * artificially, inherently leave the process in a\n * state from which it is not safe to try and enter JS\n * listeners.\n */\nexport const signals: NodeJS.Signals[] = []\nsignals.push('SIGHUP', 'SIGINT', 'SIGTERM')\n\nif (process.platform !== 'win32') {\n signals.push(\n 'SIGALRM',\n 'SIGABRT',\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n signals.push('SIGIO', 'SIGPOLL', 'SIGPWR', 'SIGSTKFLT')\n}\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/integration/process-test.js":{"lineLengths":[13,72,62,2,62,46,47,54,44,79,49,64,64,35,50,50,35,24,7,83,47,93,3,90,49,64,35,50,35,24,7,19,39,17,44,13,81,3,89,49,21,34,78,34,93,33,10,33,47,33,9,24,7,22,39,17,43,13,27,9,22,20,24,32,21,10,9,22,20,25,22,32,22,9,7,3,92,49,21,70,54,74,26,80,130,30,70,67,51,45,10,33,47,33,9,24,7,25,39,17,43,13,28,9,25,65,36,29,26,114,9,7,3,103,49,64,64,35,50,50,35,24,7,64,17,27,13,93,93,3,40],"data":{"version":3,"file":"process-test.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/tests/integration/process-test.ts"],"names":[],"mappings":";;;;;AAAA,8CAAsB;AAEtB,+CAAiD;AAMjD,sDAAiD;AACjD,4CAAwC;AAExC,aAAI,CAAC,MAAM,CAAC,0CAA0C,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAClE,IAAA,sBAAS,EAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;QACvB,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAA;QACvD,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAA;QACvD,MAAM,IAAA,aAAK,GAAE,CAAA;QACb,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAA;QACzC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAA;QACzC,MAAM,IAAA,aAAK,GAAE,CAAA;QACb,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;IACjB,CAAC,CAAC,CAAA;IAEF,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,IAAI,uBAAa,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAA;IAEpE,CAAC,CAAC,EAAE,CAAC,MAAM,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;IAC1C,CAAC,CAAC,EAAE,CACF,MAAM,EACN,gDAAgD,EAChD,wBAAwB,CACzB,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,aAAI,CAAC,MAAM,CACT,qDAAqD,EACrD,KAAK,EAAE,CAAC,EAAE,EAAE;IACV,IAAA,sBAAS,EAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;QACvB,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAA;QACvD,MAAM,IAAA,aAAK,GAAE,CAAA;QACb,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAA;QACzC,MAAM,IAAA,aAAK,GAAE,CAAA;QACb,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;IACjB,CAAC,CAAC,CAAA;IAEF,IAAI,KAAK,GAAa,EAAE,CAAA;IAExB,MAAM,IAAI,uBAAa,CAAC;QACtB,IAAI,EAAE,EAAE;QACR,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC;KACrC,CAAC,CAAC,GAAG,EAAE,CAAA;IAER,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC,CAAA;AAC9E,CAAC,CACF,CAAA;AAED,aAAI,CAAC,MAAM,CAAC,oDAAoD,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAC5E,IAAA,sBAAS,EAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;QACvB,IAAI,KAAK,GAAG;YACV,qBAAqB;YACrB,iEAAiE;YACjE,qBAAqB;YACrB,gFAAgF;YAChF,qBAAqB;SACtB,CAAA;QAED,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;YACtB,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,IAAI,CAAC,CAAA;YAClC,IAAA,aAAK,GAAE,CAAA;SACR;QAED,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;IACjB,CAAC,CAAC,CAAA;IAEF,IAAI,QAAQ,GAA0B,EAAE,CAAA;IAExC,MAAM,IAAI,uBAAa,CAAC;QACtB,IAAI,EAAE,EAAE;QACR,UAAU,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;KACpC,CAAC,CAAC,GAAG,EAAE,CAAA;IAER,CAAC,CAAC,SAAS,CAAC,QAAQ,EAAE;QACpB;YACE,KAAK,EAAE,EAAE;YACT,GAAG,EAAE,EAAE;YACP,OAAO,EAAE,EAAE;YACX,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,EAAE;SACV;QACD;YACE,KAAK,EAAE,EAAE;YACT,GAAG,EAAE,EAAE;YACP,OAAO,EAAE,GAAG;YACZ,IAAI,EAAE,GAAG;YACT,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,GAAG;SACX;KACF,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA;AAEF,aAAI,CAAC,MAAM,CACT,uDAAuD,EACvD,KAAK,EAAE,CAAC,EAAE,EAAE;IACV,IAAA,sBAAS,EAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;QACvB,IAAI,KAAK,GAAG;YACV,yDAAyD;YACzD,yCAAyC;YACzC,6DAA6D;YAC7D,aAAa;YACb,mEAAmE;YACnE,qHAAqH;YACrH,iBAAiB;YACjB,yDAAyD;YACzD,sDAAsD;YACtD,sCAAsC;YACtC,iCAAiC;SAClC,CAAA;QAED,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;YACtB,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,IAAI,CAAC,CAAA;YAClC,IAAA,aAAK,GAAE,CAAA;SACR;QAED,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;IACjB,CAAC,CAAC,CAAA;IAEF,IAAI,SAAS,GAAiC,IAAI,CAAA;IAElD,MAAM,IAAI,uBAAa,CAAC;QACtB,IAAI,EAAE,EAAE;QACR,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC;KACpC,CAAC,CAAC,GAAG,EAAE,CAAA;IAER,CAAC,CAAC,SAAS,CAAC,SAAS,EAAE;QACrB;YACE,KAAK,EAAE,KAAK;YACZ,YAAY,EAAE,sCAAsC;YACpD,QAAQ,EAAE,aAAa;YACvB,MAAM,EAAE,QAAQ;YAChB,KAAK,EAAE,MAAM;YACb,YAAY,EACV,wFAAwF;SAC3F;KACF,CAAC,CAAA;AACJ,CAAC,CACF,CAAA;AAED,aAAI,CAAC,MAAM,CACT,kEAAkE,EAClE,KAAK,EAAE,CAAC,EAAE,EAAE;IACV,IAAA,sBAAS,EAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;QACvB,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAA;QACvD,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAA;QACvD,MAAM,IAAA,aAAK,GAAE,CAAA;QACb,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAA;QACzC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAA;QACzC,MAAM,IAAA,aAAK,GAAE,CAAA;QACb,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;IACjB,CAAC,CAAC,CAAA;IAEF,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,IAAI,uBAAa,CAAC;QAC/C,IAAI,EAAE,EAAE;QACR,aAAa,EAAE,IAAI;KACpB,CAAC,CAAC,GAAG,EAAE,CAAA;IAER,CAAC,CAAC,EAAE,CACF,MAAM,EACN,gDAAgD,EAChD,wBAAwB,CACzB,CAAA;IACD,CAAC,CAAC,EAAE,CACF,MAAM,EACN,gDAAgD,EAChD,wBAAwB,CACzB,CAAA;AACH,CAAC,CACF,CAAA"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/process.js":{"lineLengths":[13,72,62,2,62,31,59,47,45,70,21,9,9,8,12,18,16,17,15,16,13,26,33,33,31,39,51,47,49,45,47,41,32,5,24,54,90,9,5,97,19,54,34,57,68,62,25,9,56,68,30,38,33,15,53,53,27,44,13,29,45,72,35,47,21,19,13,30,78,45,42,52,21,19,13,52,49,31,31,29,81,17,32,68,81,32,58,21,47,17,22,29,50,49,23,17,15,35,51,55,54,32,33,19,82,51,13,78,36,53,56,54,32,33,19,13,42,82,13,11,23,89,9,23,5,1,38,35],"data":{"version":3,"file":"process.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/process.ts"],"names":[],"mappings":";;;;;;AAAA,2DAA0C;AAE1C,+CAA4C;AAC5C,6CAIwB;AACxB,sEAA4C;AAyB5C,MAAa,aAAa;IACxB,IAAI,CAAU;IACd,IAAI,CAAS;IACb,GAAG,CAAS;IACZ,OAAO,CAAS;IAChB,aAAa,CAAU;IACvB,WAAW,CAAW;IACtB,YAAY,CAAW;IACvB,UAAU,CAA0C;IACpD,WAAW,CAAwC;IACnD,QAAQ,CAAyB;IAEjC,YAAY,OAAuB;QACjC,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;QACxB,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;QACxB,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAA;QACtB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAA;QAC9B,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAA;QAC1C,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAA;QACtC,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAA;QACxC,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAA;QACpC,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAA;QACtC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAA;QAEhC,IAAI,CAAC,gBAAgB,EAAE,CAAA;IACzB,CAAC;IAED,gBAAgB;QACd,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,aAAa,EAAE;YAC3C,MAAM,IAAI,KAAK,CACb,4DAA4D,CAC7D,CAAA;SACF;IACH,CAAC;IAED,6FAA6F;IAC7F,GAAG,CAAC,QAA0C;QAC5C,IAAI,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,QAAQ,CAAA;QAC7C,IAAI,IAAI,GAAa,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAA;QAEnC,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAA;QAEhD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,oBAAS,EAAE;YAC9C,IAAI,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAA;YACjD,GAAG,GAAG,MAAM,CAAA;SACb;QAED,IAAI,OAAO,GAAuB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAChE,IAAI,KAAK,GAAG,IAAA,0BAAK,EAAC,GAAG,EAAE,IAAI,EAAE;gBAC3B,GAAG,EAAE,IAAI,CAAC,GAAG;gBACb,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,WAAW,EAAE,IAAI;aAClB,CAAC,CAAA;YAEF,IAAI,MAAM,GAAG,IAAI,qBAAU,EAAE,CAAA;YAC7B,IAAI,MAAM,GAAG,IAAI,qBAAU,EAAE,CAAA;YAE7B,IAAI,QAAQ,EAAE;gBACZ,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;aAC5B;YAED,IAAI,UAAU,EAAE;gBACd,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE;oBACjC,IAAI,QAAQ,GAAG,IAAA,yBAAe,EAAC,IAAI,CAAC,CAAA;oBACpC,IAAI,QAAQ,EAAE;wBACZ,UAAU,EAAE,CAAC,QAAQ,CAAC,CAAA;qBACvB;gBACH,CAAC,CAAC,CAAA;aACH;YAED,IAAI,WAAW,EAAE;gBACf,IAAI,SAAS,GAAG,IAAI,4BAAkB,CAAC,WAAW,CAAC,CAAA;gBACnD,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE;oBACjC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE;wBACnB,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;qBAC5B;gBACH,CAAC,CAAC,CAAA;aACH;YAED,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAA;YAEvC,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE;gBACjC,MAAM,CAAC,KAAK,EAAE,CAAA;gBACd,MAAM,CAAC,KAAK,EAAE,CAAA;gBAEd,IAAI,MAAM,EAAE;oBACV,MAAM,CAAC,IAAI,KAAK,CAAC,iCAAiC,MAAM,EAAE,CAAC,CAAC,CAAA;iBAC7D;qBAAM,IAAI,IAAI,EAAE;oBACf,IAAI,OAAO,GAAG,2BAA2B,IAAI,EAAE,CAAA;oBAC/C,IAAI,KAAK,GAAG,IAAA,6BAAmB,EAAC,MAAM,CAAC,KAAK,CAAC,CAAA;oBAE7C,IAAI,KAAK,EAAE;wBACT,OAAO,GAAG,GAAG,OAAO,MAAM,KAAK,EAAE,CAAA;qBAClC;oBAED,MAAM,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAA;iBAC3B;qBAAM;oBACL,OAAO,CAAC;wBACN,MAAM,EAAE,MAAM,CAAC,QAAQ,EAAE;wBACzB,MAAM,EAAE,MAAM,CAAC,QAAQ,EAAE;qBAC1B,CAAC,CAAA;iBACH;YACH,CAAC,CAAC,CAAA;YAEF,IAAI,IAAI,CAAC,WAAW,EAAE;gBACpB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;gBAClC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE;oBACnC,kCAAkC;oBAClC,MAAM,CAAC,GAAG,CAAC,CAAA;oBAEX,KAAK,CAAC,IAAI,EAAE,CAAA;gBACd,CAAC,CAAC,CAAA;gBAEF,kEAAkE;gBAClE,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,CAAC,CAAA;aAClC;YAED,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAA;YAEjE,IAAI,IAAI,CAAC,YAAY,EAAE;gBACrB,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA;gBAEpC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE;oBACpC,kCAAkC;oBAClC,MAAM,CAAC,GAAG,CAAC,CAAA;oBAEX,KAAK,CAAC,IAAI,EAAE,CAAA;gBACd,CAAC,CAAC,CAAA;aACH;iBAAM,IAAI,IAAI,CAAC,aAAa,EAAE;gBAC7B,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAA;aAClE;QACH,CAAC,CAAC,CAAA;QAEF,IAAI,QAAQ,EAAE;YACZ,OAAO,CAAC,IAAI,CACV,CAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC,EAChC,CAAC,MAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAC7B,CAAA;SACF;QAED,OAAO,OAAO,CAAA;IAChB,CAAC;CACF;AA9ID,sCA8IC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/platform.js":{"lineLengths":[13,62,27,35,15,25,36],"data":{"version":3,"file":"platform.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/platform.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAY,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;KAC9C,QAAQ,EAAE;KACV,KAAK,CAAC,YAAY,CAAC,CAAA"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/parsing.js":{"lineLengths":[13,62,192,37,3,46,2,68,25,3,43,85,22,40,69,22,9,14,35,28,9,10,20,1,50,3,50,2,46,32,3,38,67,22,29,46,34,34,19,9,47,42,9,37,68,9,53,60,9,34,34,9,35,60,9,5,20,1,42,26,11,10,12,9,13,27,25,24,29,26,33,5,69,23,64,26,32,25,39,38,14,19,9,27,68,32,68,23,13,67,29,77,69,23,13,67,29,77,69,23,13,9,52,33,9,49,29,36,34,9,5,1,48,31,21,23,21,23,21,26,21,22,24,1,31,20,29,56,20,92,25,28,43,42,42,42,37,42,14,33,82,31,67,57,69,32,17,13,33,82,31,67,57,69,32,17,13,33,9,5,18,1,38,32,21,29,57,20,58,29,28,36,39,14,9,5,19,1,40,38,26,18,5,31,25,5,10,72,5,1,32,21,29,57,20,89,29,28,51,52,14,9,5,19,1,40,33,21,23,21,23,22,1,33,22,29,58,20,85,30,28,45,51,51,42,44,47,14,9,5,20,1,42,35],"data":{"version":3,"file":"parsing.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/parsing.ts"],"names":[],"mappings":";;;AAcA,qCAaiB;AAEjB;;;;;GAKG;AACH,SAAgB,mBAAmB,CAAC,WAAqB;IACvD,iFAAiF;IACjF,OAAO,WAAW;SACf,MAAM,CAAC,CAAC,QAAkB,EAAE,OAAe,EAAY,EAAE;QACxD,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE;YAC1D,OAAO,EAAE,CAAA;SACV;aAAM;YACL,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;YACtB,OAAO,QAAQ,CAAA;SAChB;IACH,CAAC,EAAE,EAAE,CAAC;SACL,IAAI,CAAC,IAAI,CAAC,CAAA;AACf,CAAC;AAZD,kDAYC;AAED;;;;;GAKG;AACH,SAAgB,eAAe,CAC7B,UAAkB;IAElB,IAAI,KAAK,GAAG,UAAU,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IAC9D,IAAI,QAAQ,GAAwB,EAAE,CAAA;IAEtC,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;QAErC,IAAI,KAAK,KAAK,SAAS,EAAE;YACvB,sBAAsB;YACtB,OAAM;SACP;QAED,IAAI,GAAG,KAAK,OAAO,IAAI,GAAG,KAAK,KAAK,EAAE;YACpC,QAAQ,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;SAC9B;aAAM,IAAI,GAAG,KAAK,SAAS,EAAE;YAC5B,QAAQ,CAAC,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,CAAA;SACxD;aAAM,IAAI,GAAG,KAAK,MAAM,IAAI,GAAG,KAAK,OAAO,EAAE;YAC5C,QAAQ,CAAC,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAA;SAChD;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,QAAQ,CAAC,IAAI,GAAG,KAAK,CAAA;SACtB;aAAM,IAAI,GAAG,KAAK,OAAO,EAAE;YAC1B,QAAQ,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAA;SAChD;KACF;IAED,OAAO,QAAQ,CAAA;AACjB,CAAC;AA5BD,0CA4BC;AAED,MAAa,kBAAkB;IAC7B,MAAM,CAA+B;IACrC,KAAK,CAAQ;IACb,OAAO,CAAS;IAChB,IAAI,CAAS;IACb,QAAQ,CAAsC;IAE9C,YAAY,QAA8C;QACxD,IAAI,CAAC,MAAM,GAAG,EAAE,CAAA;QAChB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAA;QACf,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QACpB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAA;QACjB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;IAC1B,CAAC;IAED,iEAAiE;IACjE,WAAW,CAAC,IAAY;QACtB,IAAI,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,yBAAgB,CAAC,CAAA;QAC9C,IAAI,WAAW,EAAE;YACf,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;YACnB,IAAI,CAAC,KAAK,EAAE,CAAA;YACZ,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG;gBACxB,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC;aACvB,CAAA;YAED,OAAM;SACP;QAED,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,uBAAc,CAAC,CAAA;YAC9C,IAAI,aAAa,EAAE;gBACjB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,QAAQ,GAAG,aAAa,CAAC,CAAC,CAAC,CAAA;gBACnD,OAAM;aACP;YAED,IAAI,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,yBAAgB,CAAC,CAAA;YAC7C,IAAI,UAAU,EAAE;gBACd,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;gBAC5D,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,YAAY,GAAG,UAAU,CAAC,CAAC,CAAC,CAAA;gBACpD,OAAM;aACP;YAED,IAAI,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,yBAAgB,CAAC,CAAA;YAC7C,IAAI,UAAU,EAAE;gBACd,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;gBAC5D,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,YAAY,GAAG,UAAU,CAAC,CAAC,CAAC,CAAA;gBACpD,OAAM;aACP;SACF;QAED,IAAI,0BAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YAChC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;SACrB;QAED,IAAI,uBAAc,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YAC7B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;YAChB,IAAI,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAA;YAEvB,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;SACtB;IACH,CAAC;CACF;AA7DD,gDA6DC;AAED,SAAS,cAAc,CAAC,IAAY;IAClC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,OAAO,CAAA;IAChC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,OAAO,CAAA;IAChC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,UAAU,CAAA;IACnC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,MAAM,CAAA;IAC/B,OAAO,YAAY,CAAA;AACrB,CAAC;AAED,SAAgB,aAAa,CAAC,KAAe;IAC3C,IAAI,MAAM,GAAiB,EAAE,CAAA;IAE7B,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,uBAAc,CAAC,CAAA;QACtC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,CAAC,GACrE,KAAK,CAAA;YAEP,IAAI,KAAK,GAAgB;gBACvB,WAAW;gBACX,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC;gBAC1B,SAAS,EAAE,MAAM,KAAK,GAAG;gBACzB,SAAS,EAAE,MAAM,KAAK,GAAG;gBACzB,UAAU,EAAE,KAAK,KAAK,GAAG;gBACzB,KAAK,EAAE,KAAK,KAAK,GAAG;gBACpB,QAAQ,EAAE,QAAQ,KAAK,GAAG;aAC3B,CAAA;YAED,IAAI,MAAM,KAAK,GAAG,EAAE;gBAClB,IAAI,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,+BAAsB,CAAC,CAAA;gBACxD,IAAI,QAAQ,EAAE;oBACZ,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;oBAC9C,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW;yBAClC,OAAO,CAAC,+BAAsB,EAAE,EAAE,CAAC;yBACnC,IAAI,EAAE,CAAA;iBACV;aACF;YAED,IAAI,MAAM,KAAK,GAAG,EAAE;gBAClB,IAAI,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,+BAAsB,CAAC,CAAA;gBACxD,IAAI,QAAQ,EAAE;oBACZ,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;oBAC9C,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW;yBAClC,OAAO,CAAC,+BAAsB,EAAE,EAAE,CAAC;yBACnC,IAAI,EAAE,CAAA;iBACV;aACF;YAED,MAAM,CAAC,IAAI,CAAC,GAAG,KAAK,CAAA;SACrB;KACF;IAED,OAAO,MAAM,CAAA;AACf,CAAC;AA5CD,sCA4CC;AAED,SAAgB,cAAc,CAAC,KAAe;IAC5C,IAAI,OAAO,GAAkB,EAAE,CAAA;IAE/B,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,wBAAe,CAAC,CAAA;QACvC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,CAAC,GAAG,KAAK,CAAA;YAC7C,OAAO,CAAC,IAAI,CAAC,GAAG;gBACd,WAAW;gBACX,MAAM,EAAE,GAAG,KAAK,GAAG;gBACnB,QAAQ,EAAE,KAAK,KAAK,GAAG;aACxB,CAAA;SACF;KACF;IAED,OAAO,OAAO,CAAA;AAChB,CAAC;AAhBD,wCAgBC;AAED,SAAS,kBAAkB,CACzB,OAAe;IAEf,IAAI,OAAO,KAAK,GAAG,EAAE;QACnB,OAAO,EAAE,CAAA;KACV;SAAM,IAAI,OAAO,KAAK,GAAG,EAAE;QAC1B,OAAO,SAAS,CAAA;KACjB;SAAM;QACL,OAAO,CAAC,GAAG,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAA;KAChE;AACH,CAAC;AAED,SAAgB,cAAc,CAAC,KAAe;IAC5C,IAAI,OAAO,GAAkB,EAAE,CAAA;IAE/B,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,wBAAe,CAAC,CAAA;QACvC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,CAAC,GAClE,KAAK,CAAA;YAEP,OAAO,CAAC,IAAI,CAAC,GAAG;gBACd,WAAW;gBACX,MAAM,EAAE,kBAAkB,CAAC,MAAM,CAAC;gBAClC,OAAO,EAAE,kBAAkB,CAAC,OAAO,CAAC;aACrC,CAAA;SACF;KACF;IAED,OAAO,OAAO,CAAA;AAChB,CAAC;AAlBD,wCAkBC;AAED,SAAS,gBAAgB,CAAC,IAAY;IACpC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,OAAO,CAAA;IAChC,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,OAAO,CAAA;IAChC,OAAO,UAAU,CAAA;AACnB,CAAC;AAED,SAAgB,eAAe,CAAC,KAAe;IAC7C,IAAI,QAAQ,GAAmB,EAAE,CAAA;IAEjC,KAAK,IAAI,IAAI,IAAI,KAAK,EAAE;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,yBAAgB,CAAC,CAAA;QACxC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,CAAC,GAAG,KAAK,CAAA;YAExE,QAAQ,CAAC,IAAI,CAAC,GAAG;gBACf,WAAW;gBACX,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC;gBAC5B,mBAAmB,EAAE,KAAK,KAAK,GAAG;gBAClC,mBAAmB,EAAE,KAAK,KAAK,GAAG;gBAClC,YAAY,EAAE,GAAG,KAAK,GAAG;gBACzB,aAAa,EAAE,IAAI,KAAK,GAAG;gBAC3B,eAAe,EAAE,MAAM,KAAK,GAAG;aAChC,CAAA;SACF;KACF;IAED,OAAO,QAAQ,CAAA;AACjB,CAAC;AArBD,0CAqBC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/regexp.js":{"lineLengths":[13,62,380,42,33,53,46,42,42,42,72,60,91,57,57,89,90,34],"data":{"version":3,"file":"regexp.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/regexp.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG,gBAAgB,CAAA;AAEjC,QAAA,QAAQ,GAAG,aAAa,CAAA;AAExB,QAAA,gBAAgB,GAAG,yBAAyB,CAAA;AAC5C,QAAA,cAAc,GAAG,oBAAoB,CAAA;AACrC,QAAA,gBAAgB,GAAG,cAAc,CAAA;AACjC,QAAA,gBAAgB,GAAG,cAAc,CAAA;AACjC,QAAA,iBAAiB,GAAG,aAAa,CAAA;AACjC,QAAA,cAAc,GAAG,8CAA8C,CAAA;AAE/D,QAAA,eAAe,GAAG,iCAAiC,CAAA;AACnD,QAAA,cAAc,GACzB,iEAAiE,CAAA;AACtD,QAAA,sBAAsB,GAAG,uBAAuB,CAAA;AAChD,QAAA,sBAAsB,GAAG,uBAAuB,CAAA;AAChD,QAAA,eAAe,GAC1B,8DAA8D,CAAA;AACnD,QAAA,gBAAgB,GAC3B,8DAA8D,CAAA"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/src/utils/line-buffer.js":{"lineLengths":[13,72,62,2,62,62,37,48,10,12,17,19,16,24,29,31,5,18,27,52,9,26,60,43,47,72,13,18,40,82,50,48,17,54,53,50,48,17,13,9,5,13,27,52,9,32,49,47,9,28,5,16,37,5,1,29,39],"data":{"version":3,"file":"line-buffer.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/src/utils/line-buffer.ts"],"names":[],"mappings":";;;;;AAAA,8DAAsC;AAEtC,qCAAmC;AAEnC,MAAqB,UAAW,SAAQ,qBAAY;IAClD,KAAK,CAAU;IACf,OAAO,CAAS;IAChB,YAAY,CAAQ;IAEpB;QACE,KAAK,EAAE,CAAA;QAEP,IAAI,CAAC,KAAK,GAAG,EAAE,CAAA;QACf,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QACpB,IAAI,CAAC,YAAY,GAAG,EAAE,CAAA;IACxB,CAAC;IAED,MAAM,CAAC,IAAY;QACjB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAA;SACxC;QAED,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,iBAAQ,CAAC,CAAA;YAEtC,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;gBAC5B,IAAI,CAAC,UAAU,CAAC,GAAG,WAAW,CAAA;gBAC9B,IAAI,CAAC,YAAY,GAAG,GAAG,IAAI,CAAC,YAAY,GAAG,UAAU,EAAE,CAAA;aACxD;iBAAM;gBACL,IAAI,IAAI,CAAC,YAAY,EAAE;oBACrB,IAAI,UAAU,GAAG,GAAG,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC,KAAK,EAAE,EAAE,CAAA;oBAC7D,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;oBAC7B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;iBAC5B;gBAED,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC,GAAG,EAAY,CAAA;gBAC/C,KAAK,IAAI,UAAU,IAAI,WAAW,EAAE;oBAClC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;oBAC7B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;iBAC5B;aACF;SACF;IACH,CAAC;IAED,KAAK;QACH,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAA;SACxC;QAED,IAAI,IAAI,CAAC,YAAY,EAAE;YACrB,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,CAAA;YACpC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA;SACnC;QAED,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;IACrB,CAAC;IAED,QAAQ;QACN,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC9B,CAAC;CACF;AAxDD,6BAwDC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/helpers/spawn-stub.js":{"lineLengths":[13,72,62,2,62,27,50,76,62,49,41,41,28,16,24,49,9,5,1,34,35,52,45,42,21,1,30,38],"data":{"version":3,"file":"spawn-stub.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/tests/helpers/spawn-stub.ts"],"names":[],"mappings":";;;;;;AAEA,kDAAyB;AAEzB,4EAAqE;AACrE,8DAAsC;AAItC,MAAM,WAAY,SAAQ,qBAAY;IACpC,MAAM,GAAG,IAAI,qBAAY,EAAE,CAAA;IAC3B,MAAM,GAAG,IAAI,qBAAY,EAAE,CAAA;IAE3B,YAAY,SAAgC;QAC1C,KAAK,EAAE,CAAA;QAEP,IAAI,SAAS,EAAE;YACb,UAAU,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAA;SACrC;IACH,CAAC;CACF;AAED,SAAgB,SAAS,CACvB,CAA4B,EAC5B,SAAgC;IAEhC,IAAI,SAAS,GAAG,eAAK;SAClB,IAAI,CAAC,4BAAkB,EAAE,OAAO,CAAC;SACjC,OAAO,CAAC,IAAI,WAAW,CAAC,SAAS,CAAiB,CAAC,CAAA;IAEtD,CAAC,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC,CAAA;IAErC,OAAO,SAAS,CAAA;AAClB,CAAC;AAXD,8BAWC"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/index.js":{"lineLengths":[25,13,0,46,13,3,40,19,23,28,3,3,45,19,23,32,3,3,45,19,23,27,3,3,54,19,23,36,3,3,45,19,23,27,3,3,52,19,23,34,3,3,49,19,23,35,3,3,43,19,23,24,3,3,44,19,23,26,3,3,48,19,23,30,3,3,46,19,23,29,3,3,46,19,23,29,3,3,48,19,23,31,3,3,46,19,23,29,3,3,41,19,23,24,3,3,51,19,23,35,3,3,55,19,23,39,3,3,47,19,23,31,3,3,55,19,23,36,3,3,55,19,23,36,3,3,0,23,3,25,54,23,1,0,3,25,40,23,1,0,3,25,30,23,1,0,3,25,30,23,1,0,3,25,38,23,1,0,3,25,28,23,1,0,3,25,30,23,1,0,3,25,32,23,1,0,3,25,33,23,1,0,3,25,33,23,1,0,3,25,33,23,1,0,3,25,35,23,1,0,3,25,31,23,1,0,3,25,31,23,1,0,123,0,23,3012,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AAEA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AAEA;AAAA;AAAA;AAAA;AAAA;;AAEA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AAEA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["/* See LICENSE file for terms of use */\n\n/*\n * Text diff implementation.\n *\n * This library supports the following APIS:\n * JsDiff.diffChars: Character by character diff\n * JsDiff.diffWords: Word (as defined by \\b regex) diff which ignores whitespace\n * JsDiff.diffLines: Line based diff\n *\n * JsDiff.diffCss: Diff targeted at CSS content\n *\n * These methods are based on the implementation proposed in\n * \"An O(ND) Difference Algorithm and its Variations\" (Myers, 1986).\n * http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.4.6927\n */\nimport Diff from './diff/base';\nimport {diffChars} from './diff/character';\nimport {diffWords, diffWordsWithSpace} from './diff/word';\nimport {diffLines, diffTrimmedLines} from './diff/line';\nimport {diffSentences} from './diff/sentence';\n\nimport {diffCss} from './diff/css';\nimport {diffJson, canonicalize} from './diff/json';\n\nimport {diffArrays} from './diff/array';\n\nimport {applyPatch, applyPatches} from './patch/apply';\nimport {parsePatch} from './patch/parse';\nimport {merge} from './patch/merge';\nimport {structuredPatch, createTwoFilesPatch, createPatch} from './patch/create';\n\nimport {convertChangesToDMP} from './convert/dmp';\nimport {convertChangesToXML} from './convert/xml';\n\nexport {\n Diff,\n\n diffChars,\n diffWords,\n diffWordsWithSpace,\n diffLines,\n diffTrimmedLines,\n diffSentences,\n\n diffCss,\n diffJson,\n\n diffArrays,\n\n structuredPatch,\n createTwoFilesPatch,\n createPatch,\n applyPatch,\n applyPatches,\n parsePatch,\n merge,\n convertChangesToDMP,\n convertChangesToXML,\n canonicalize\n};\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/base.js":{"lineLengths":[25,13,0,46,13,3,26,0,23,18,0,18,27,0,25,45,29,7,27,85,36,0,40,25,19,5,0,27,20,0,26,21,32,37,14,20,14,21,7,63,0,0,42,42,59,59,34,34,23,40,0,32,69,5,0,21,17,20,76,0,74,0,67,48,20,36,31,10,91,0,0,31,95,22,33,14,31,9,0,49,52,74,0,22,72,49,9,0,60,71,0,36,50,45,19,81,80,57,0,0,73,43,67,16,80,0,28,67,9,0,143,0,69,106,16,77,44,9,7,0,19,89,86,86,46,0,0,19,24,32,43,30,11,0,34,19,11,14,11,12,43,35,0,18,21,9,7,5,4,0,27,0,25,69,49,0,67,71,31,43,30,21,24,8,12,23,17,21,24,9,5,4,0,27,0,25,87,34,34,33,39,24,0,117,15,15,20,5,0,22,32,26,9,5,0,29,18,4,0,27,0,25,40,34,50,12,101,5,4,0,27,0,25,44,17,0,44,21,27,7,5,0,15,4,0,27,0,25,40,17,4,0,27,0,25,38,27,4,0,27,0,25,30,26,3,2,0,79,23,39,17,17,0,55,45,0,29,48,70,47,47,67,11,43,14,87,7,0,47,0,29,34,7,12,85,113,89,63,0,63,47,64,39,7,5,78,83,44,0,0,51,0,158,62,21,3,0,20,1,0,26,10,24,40,4,1,22480,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/base.js"],"names":["Diff","prototype","diff","oldString","newString","options","callback","self","done","value","setTimeout","undefined","castInput","removeEmpty","tokenize","newLen","length","oldLen","editLength","maxEditLength","Math","min","bestPath","newPos","components","oldPos","extractCommon","join","count","execEditLength","diagonalPath","basePath","addPath","removePath","canAdd","canRemove","clonePath","pushComponent","buildValues","useLongestToken","exec","ret","added","removed","last","push","commonCount","equals","left","right","comparator","ignoreCase","toLowerCase","array","i","split","chars","componentPos","componentLen","component","slice","map","oldValue","tmp","lastComponent","pop","path"],"mappings":";;;;;;;;;AAAe,SAASA,IAAT,GAAgB,CAAE;;AAEjCA,IAAI,CAACC,SAAL,GAAiB;AAAA;;AAAA;AACfC,EAAAA,IADe,gBACVC,SADU,EACCC,SADD,EAC0B;AAAA;AAAA;AAAA;AAAdC,IAAAA,OAAc,uEAAJ,EAAI;AACvC,QAAIC,QAAQ,GAAGD,OAAO,CAACC,QAAvB;;AACA,QAAI,OAAOD,OAAP,KAAmB,UAAvB,EAAmC;AACjCC,MAAAA,QAAQ,GAAGD,OAAX;AACAA,MAAAA,OAAO,GAAG,EAAV;AACD;;AACD,SAAKA,OAAL,GAAeA,OAAf;AAEA,QAAIE,IAAI,GAAG,IAAX;;AAEA,aAASC,IAAT,CAAcC,KAAd,EAAqB;AACnB,UAAIH,QAAJ,EAAc;AACZI,QAAAA,UAAU,CAAC,YAAW;AAAEJ,UAAAA,QAAQ,CAACK,SAAD,EAAYF,KAAZ,CAAR;AAA6B,SAA3C,EAA6C,CAA7C,CAAV;AACA,eAAO,IAAP;AACD,OAHD,MAGO;AACL,eAAOA,KAAP;AACD;AACF,KAjBsC,CAmBvC;;;AACAN,IAAAA,SAAS,GAAG,KAAKS,SAAL,CAAeT,SAAf,CAAZ;AACAC,IAAAA,SAAS,GAAG,KAAKQ,SAAL,CAAeR,SAAf,CAAZ;AAEAD,IAAAA,SAAS,GAAG,KAAKU,WAAL,CAAiB,KAAKC,QAAL,CAAcX,SAAd,CAAjB,CAAZ;AACAC,IAAAA,SAAS,GAAG,KAAKS,WAAL,CAAiB,KAAKC,QAAL,CAAcV,SAAd,CAAjB,CAAZ;AAEA,QAAIW,MAAM,GAAGX,SAAS,CAACY,MAAvB;AAAA,QAA+BC,MAAM,GAAGd,SAAS,CAACa,MAAlD;AACA,QAAIE,UAAU,GAAG,CAAjB;AACA,QAAIC,aAAa,GAAGJ,MAAM,GAAGE,MAA7B;;AACA,QAAGZ,OAAO,CAACc,aAAX,EAA0B;AACxBA,MAAAA,aAAa,GAAGC,IAAI,CAACC,GAAL,CAASF,aAAT,EAAwBd,OAAO,CAACc,aAAhC,CAAhB;AACD;;AAED,QAAIG,QAAQ,GAAG,CAAC;AAAEC,MAAAA,MAAM,EAAE,CAAC,CAAX;AAAcC,MAAAA,UAAU,EAAE;AAA1B,KAAD,CAAf,CAjCuC,CAmCvC;;AACA,QAAIC,MAAM,GAAG,KAAKC,aAAL,CAAmBJ,QAAQ,CAAC,CAAD,CAA3B,EAAgClB,SAAhC,EAA2CD,SAA3C,EAAsD,CAAtD,CAAb;;AACA,QAAImB,QAAQ,CAAC,CAAD,CAAR,CAAYC,MAAZ,GAAqB,CAArB,IAA0BR,MAA1B,IAAoCU,MAAM,GAAG,CAAT,IAAcR,MAAtD,EAA8D;AAC5D;AACA,aAAOT,IAAI,CAAC,CAAC;AAACC,QAAAA,KAAK,EAAE,KAAKkB,IAAL,CAAUvB,SAAV,CAAR;AAA8BwB,QAAAA,KAAK,EAAExB,SAAS,CAACY;AAA/C,OAAD,CAAD,CAAX;AACD,KAxCsC,CA0CvC;;;AACA,aAASa,cAAT,GAA0B;AACxB,WAAK,IAAIC,YAAY,GAAG,CAAC,CAAD,GAAKZ,UAA7B,EAAyCY,YAAY,IAAIZ,UAAzD,EAAqEY,YAAY,IAAI,CAArF,EAAwF;AACtF,YAAIC,QAAQ;AAAA;AAAA;AAAZ;AAAA;;AACA,YAAIC,OAAO,GAAGV,QAAQ,CAACQ,YAAY,GAAG,CAAhB,CAAtB;AAAA,YACIG,UAAU,GAAGX,QAAQ,CAACQ,YAAY,GAAG,CAAhB,CADzB;AAAA,YAEIL,OAAM,GAAG,CAACQ,UAAU,GAAGA,UAAU,CAACV,MAAd,GAAuB,CAAlC,IAAuCO,YAFpD;;AAGA,YAAIE,OAAJ,EAAa;AACX;AACAV,UAAAA,QAAQ,CAACQ,YAAY,GAAG,CAAhB,CAAR,GAA6BnB,SAA7B;AACD;;AAED,YAAIuB,MAAM,GAAGF,OAAO,IAAIA,OAAO,CAACT,MAAR,GAAiB,CAAjB,GAAqBR,MAA7C;AAAA,YACIoB,SAAS,GAAGF,UAAU,IAAI,KAAKR,OAAnB,IAA6BA,OAAM,GAAGR,MADtD;;AAEA,YAAI,CAACiB,MAAD,IAAW,CAACC,SAAhB,EAA2B;AACzB;AACAb,UAAAA,QAAQ,CAACQ,YAAD,CAAR,GAAyBnB,SAAzB;AACA;AACD,SAhBqF,CAkBtF;AACA;AACA;;;AACA,YAAI,CAACuB,MAAD,IAAYC,SAAS,IAAIH,OAAO,CAACT,MAAR,GAAiBU,UAAU,CAACV,MAAzD,EAAkE;AAChEQ,UAAAA,QAAQ,GAAGK,SAAS,CAACH,UAAD,CAApB;AACA1B,UAAAA,IAAI,CAAC8B,aAAL,CAAmBN,QAAQ,CAACP,UAA5B,EAAwCb,SAAxC,EAAmD,IAAnD;AACD,SAHD,MAGO;AACLoB,UAAAA,QAAQ,GAAGC,OAAX,CADK,CACe;;AACpBD,UAAAA,QAAQ,CAACR,MAAT;AACAhB,UAAAA,IAAI,CAAC8B,aAAL,CAAmBN,QAAQ,CAACP,UAA5B,EAAwC,IAAxC,EAA8Cb,SAA9C;AACD;;AAEDc,QAAAA,OAAM,GAAGlB,IAAI,CAACmB,aAAL,CAAmBK,QAAnB,EAA6B3B,SAA7B,EAAwCD,SAAxC,EAAmD2B,YAAnD,CAAT,CA9BsF,CAgCtF;;AACA,YAAIC,QAAQ,CAACR,MAAT,GAAkB,CAAlB,IAAuBR,MAAvB,IAAiCU,OAAM,GAAG,CAAT,IAAcR,MAAnD,EAA2D;AACzD,iBAAOT,IAAI,CAAC8B,WAAW,CAAC/B,IAAD,EAAOwB,QAAQ,CAACP,UAAhB,EAA4BpB,SAA5B,EAAuCD,SAAvC,EAAkDI,IAAI,CAACgC,eAAvD,CAAZ,CAAX;AACD,SAFD,MAEO;AACL;AACAjB,UAAAA,QAAQ,CAACQ,YAAD,CAAR,GAAyBC,QAAzB;AACD;AACF;;AAEDb,MAAAA,UAAU;AACX,KAtFsC,CAwFvC;AACA;AACA;AACA;;;AACA,QAAIZ,QAAJ,EAAc;AACX,gBAASkC,IAAT,GAAgB;AACf9B,QAAAA,UAAU,CAAC,YAAW;AACpB,cAAIQ,UAAU,GAAGC,aAAjB,EAAgC;AAC9B,mBAAOb,QAAQ,EAAf;AACD;;AAED,cAAI,CAACuB,cAAc,EAAnB,EAAuB;AACrBW,YAAAA,IAAI;AACL;AACF,SARS,EAQP,CARO,CAAV;AASD,OAVA,GAAD;AAWD,KAZD,MAYO;AACL,aAAOtB,UAAU,IAAIC,aAArB,EAAoC;AAClC,YAAIsB,GAAG,GAAGZ,cAAc,EAAxB;;AACA,YAAIY,GAAJ,EAAS;AACP,iBAAOA,GAAP;AACD;AACF;AACF;AACF,GAjHc;;AAAA;;AAAA;AAmHfJ,EAAAA,aAnHe,yBAmHDb,UAnHC,EAmHWkB,KAnHX,EAmHkBC,OAnHlB,EAmH2B;AACxC,QAAIC,IAAI,GAAGpB,UAAU,CAACA,UAAU,CAACR,MAAX,GAAoB,CAArB,CAArB;;AACA,QAAI4B,IAAI,IAAIA,IAAI,CAACF,KAAL,KAAeA,KAAvB,IAAgCE,IAAI,CAACD,OAAL,KAAiBA,OAArD,EAA8D;AAC5D;AACA;AACAnB,MAAAA,UAAU,CAACA,UAAU,CAACR,MAAX,GAAoB,CAArB,CAAV,GAAoC;AAACY,QAAAA,KAAK,EAAEgB,IAAI,CAAChB,KAAL,GAAa,CAArB;AAAwBc,QAAAA,KAAK,EAAEA,KAA/B;AAAsCC,QAAAA,OAAO,EAAEA;AAA/C,OAApC;AACD,KAJD,MAIO;AACLnB,MAAAA,UAAU,CAACqB,IAAX,CAAgB;AAACjB,QAAAA,KAAK,EAAE,CAAR;AAAWc,QAAAA,KAAK,EAAEA,KAAlB;AAAyBC,QAAAA,OAAO,EAAEA;AAAlC,OAAhB;AACD;AACF,GA5Hc;;AAAA;;AAAA;AA6HfjB,EAAAA,aA7He,yBA6HDK,QA7HC,EA6HS3B,SA7HT,EA6HoBD,SA7HpB,EA6H+B2B,YA7H/B,EA6H6C;AAC1D,QAAIf,MAAM,GAAGX,SAAS,CAACY,MAAvB;AAAA,QACIC,MAAM,GAAGd,SAAS,CAACa,MADvB;AAAA,QAEIO,MAAM,GAAGQ,QAAQ,CAACR,MAFtB;AAAA,QAGIE,MAAM,GAAGF,MAAM,GAAGO,YAHtB;AAAA,QAKIgB,WAAW,GAAG,CALlB;;AAMA,WAAOvB,MAAM,GAAG,CAAT,GAAaR,MAAb,IAAuBU,MAAM,GAAG,CAAT,GAAaR,MAApC,IAA8C,KAAK8B,MAAL,CAAY3C,SAAS,CAACmB,MAAM,GAAG,CAAV,CAArB,EAAmCpB,SAAS,CAACsB,MAAM,GAAG,CAAV,CAA5C,CAArD,EAAgH;AAC9GF,MAAAA,MAAM;AACNE,MAAAA,MAAM;AACNqB,MAAAA,WAAW;AACZ;;AAED,QAAIA,WAAJ,EAAiB;AACff,MAAAA,QAAQ,CAACP,UAAT,CAAoBqB,IAApB,CAAyB;AAACjB,QAAAA,KAAK,EAAEkB;AAAR,OAAzB;AACD;;AAEDf,IAAAA,QAAQ,CAACR,MAAT,GAAkBA,MAAlB;AACA,WAAOE,MAAP;AACD,GAhJc;;AAAA;;AAAA;AAkJfsB,EAAAA,MAlJe,kBAkJRC,IAlJQ,EAkJFC,KAlJE,EAkJK;AAClB,QAAI,KAAK5C,OAAL,CAAa6C,UAAjB,EAA6B;AAC3B,aAAO,KAAK7C,OAAL,CAAa6C,UAAb,CAAwBF,IAAxB,EAA8BC,KAA9B,CAAP;AACD,KAFD,MAEO;AACL,aAAOD,IAAI,KAAKC,KAAT,IACD,KAAK5C,OAAL,CAAa8C,UAAb,IAA2BH,IAAI,CAACI,WAAL,OAAuBH,KAAK,CAACG,WAAN,EADxD;AAED;AACF,GAzJc;;AAAA;;AAAA;AA0JfvC,EAAAA,WA1Je,uBA0JHwC,KA1JG,EA0JI;AACjB,QAAIZ,GAAG,GAAG,EAAV;;AACA,SAAK,IAAIa,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGD,KAAK,CAACrC,MAA1B,EAAkCsC,CAAC,EAAnC,EAAuC;AACrC,UAAID,KAAK,CAACC,CAAD,CAAT,EAAc;AACZb,QAAAA,GAAG,CAACI,IAAJ,CAASQ,KAAK,CAACC,CAAD,CAAd;AACD;AACF;;AACD,WAAOb,GAAP;AACD,GAlKc;;AAAA;;AAAA;AAmKf7B,EAAAA,SAnKe,qBAmKLH,KAnKK,EAmKE;AACf,WAAOA,KAAP;AACD,GArKc;;AAAA;;AAAA;AAsKfK,EAAAA,QAtKe,oBAsKNL,KAtKM,EAsKC;AACd,WAAOA,KAAK,CAAC8C,KAAN,CAAY,EAAZ,CAAP;AACD,GAxKc;;AAAA;;AAAA;AAyKf5B,EAAAA,IAzKe,gBAyKV6B,KAzKU,EAyKH;AACV,WAAOA,KAAK,CAAC7B,IAAN,CAAW,EAAX,CAAP;AACD;AA3Kc,CAAjB;;AA8KA,SAASW,WAAT,CAAqBpC,IAArB,EAA2BsB,UAA3B,EAAuCpB,SAAvC,EAAkDD,SAAlD,EAA6DoC,eAA7D,EAA8E;AAC5E,MAAIkB,YAAY,GAAG,CAAnB;AAAA,MACIC,YAAY,GAAGlC,UAAU,CAACR,MAD9B;AAAA,MAEIO,MAAM,GAAG,CAFb;AAAA,MAGIE,MAAM,GAAG,CAHb;;AAKA,SAAOgC,YAAY,GAAGC,YAAtB,EAAoCD,YAAY,EAAhD,EAAoD;AAClD,QAAIE,SAAS,GAAGnC,UAAU,CAACiC,YAAD,CAA1B;;AACA,QAAI,CAACE,SAAS,CAAChB,OAAf,EAAwB;AACtB,UAAI,CAACgB,SAAS,CAACjB,KAAX,IAAoBH,eAAxB,EAAyC;AACvC,YAAI9B,KAAK,GAAGL,SAAS,CAACwD,KAAV,CAAgBrC,MAAhB,EAAwBA,MAAM,GAAGoC,SAAS,CAAC/B,KAA3C,CAAZ;AACAnB,QAAAA,KAAK,GAAGA,KAAK,CAACoD,GAAN,CAAU,UAASpD,KAAT,EAAgB6C,CAAhB,EAAmB;AACnC,cAAIQ,QAAQ,GAAG3D,SAAS,CAACsB,MAAM,GAAG6B,CAAV,CAAxB;AACA,iBAAOQ,QAAQ,CAAC9C,MAAT,GAAkBP,KAAK,CAACO,MAAxB,GAAiC8C,QAAjC,GAA4CrD,KAAnD;AACD,SAHO,CAAR;AAKAkD,QAAAA,SAAS,CAAClD,KAAV,GAAkBP,IAAI,CAACyB,IAAL,CAAUlB,KAAV,CAAlB;AACD,OARD,MAQO;AACLkD,QAAAA,SAAS,CAAClD,KAAV,GAAkBP,IAAI,CAACyB,IAAL,CAAUvB,SAAS,CAACwD,KAAV,CAAgBrC,MAAhB,EAAwBA,MAAM,GAAGoC,SAAS,CAAC/B,KAA3C,CAAV,CAAlB;AACD;;AACDL,MAAAA,MAAM,IAAIoC,SAAS,CAAC/B,KAApB,CAZsB,CActB;;AACA,UAAI,CAAC+B,SAAS,CAACjB,KAAf,EAAsB;AACpBjB,QAAAA,MAAM,IAAIkC,SAAS,CAAC/B,KAApB;AACD;AACF,KAlBD,MAkBO;AACL+B,MAAAA,SAAS,CAAClD,KAAV,GAAkBP,IAAI,CAACyB,IAAL,CAAUxB,SAAS,CAACyD,KAAV,CAAgBnC,MAAhB,EAAwBA,MAAM,GAAGkC,SAAS,CAAC/B,KAA3C,CAAV,CAAlB;AACAH,MAAAA,MAAM,IAAIkC,SAAS,CAAC/B,KAApB,CAFK,CAIL;AACA;AACA;;AACA,UAAI6B,YAAY,IAAIjC,UAAU,CAACiC,YAAY,GAAG,CAAhB,CAAV,CAA6Bf,KAAjD,EAAwD;AACtD,YAAIqB,GAAG,GAAGvC,UAAU,CAACiC,YAAY,GAAG,CAAhB,CAApB;AACAjC,QAAAA,UAAU,CAACiC,YAAY,GAAG,CAAhB,CAAV,GAA+BjC,UAAU,CAACiC,YAAD,CAAzC;AACAjC,QAAAA,UAAU,CAACiC,YAAD,CAAV,GAA2BM,GAA3B;AACD;AACF;AACF,GAvC2E,CAyC5E;AACA;AACA;;;AACA,MAAIC,aAAa,GAAGxC,UAAU,CAACkC,YAAY,GAAG,CAAhB,CAA9B;;AACA,MAAIA,YAAY,GAAG,CAAf,IACG,OAAOM,aAAa,CAACvD,KAArB,KAA+B,QADlC,KAEIuD,aAAa,CAACtB,KAAd,IAAuBsB,aAAa,CAACrB,OAFzC,KAGGzC,IAAI,CAAC6C,MAAL,CAAY,EAAZ,EAAgBiB,aAAa,CAACvD,KAA9B,CAHP,EAG6C;AAC3Ce,IAAAA,UAAU,CAACkC,YAAY,GAAG,CAAhB,CAAV,CAA6BjD,KAA7B,IAAsCuD,aAAa,CAACvD,KAApD;AACAe,IAAAA,UAAU,CAACyC,GAAX;AACD;;AAED,SAAOzC,UAAP;AACD;;AAED,SAASY,SAAT,CAAmB8B,IAAnB,EAAyB;AACvB,SAAO;AAAE3C,IAAAA,MAAM,EAAE2C,IAAI,CAAC3C,MAAf;AAAuBC,IAAAA,UAAU,EAAE0C,IAAI,CAAC1C,UAAL,CAAgBoC,KAAhB,CAAsB,CAAtB;AAAnC,GAAP;AACD","sourcesContent":["export default function Diff() {}\n\nDiff.prototype = {\n diff(oldString, newString, options = {}) {\n let callback = options.callback;\n if (typeof options === 'function') {\n callback = options;\n options = {};\n }\n this.options = options;\n\n let self = this;\n\n function done(value) {\n if (callback) {\n setTimeout(function() { callback(undefined, value); }, 0);\n return true;\n } else {\n return value;\n }\n }\n\n // Allow subclasses to massage the input prior to running\n oldString = this.castInput(oldString);\n newString = this.castInput(newString);\n\n oldString = this.removeEmpty(this.tokenize(oldString));\n newString = this.removeEmpty(this.tokenize(newString));\n\n let newLen = newString.length, oldLen = oldString.length;\n let editLength = 1;\n let maxEditLength = newLen + oldLen;\n if(options.maxEditLength) {\n maxEditLength = Math.min(maxEditLength, options.maxEditLength);\n }\n\n let bestPath = [{ newPos: -1, components: [] }];\n\n // Seed editLength = 0, i.e. the content starts with the same values\n let oldPos = this.extractCommon(bestPath[0], newString, oldString, 0);\n if (bestPath[0].newPos + 1 >= newLen && oldPos + 1 >= oldLen) {\n // Identity per the equality and tokenizer\n return done([{value: this.join(newString), count: newString.length}]);\n }\n\n // Main worker method. checks all permutations of a given edit length for acceptance.\n function execEditLength() {\n for (let diagonalPath = -1 * editLength; diagonalPath <= editLength; diagonalPath += 2) {\n let basePath;\n let addPath = bestPath[diagonalPath - 1],\n removePath = bestPath[diagonalPath + 1],\n oldPos = (removePath ? removePath.newPos : 0) - diagonalPath;\n if (addPath) {\n // No one else is going to attempt to use this value, clear it\n bestPath[diagonalPath - 1] = undefined;\n }\n\n let canAdd = addPath && addPath.newPos + 1 < newLen,\n canRemove = removePath && 0 <= oldPos && oldPos < oldLen;\n if (!canAdd && !canRemove) {\n // If this path is a terminal then prune\n bestPath[diagonalPath] = undefined;\n continue;\n }\n\n // Select the diagonal that we want to branch from. We select the prior\n // path whose position in the new string is the farthest from the origin\n // and does not pass the bounds of the diff graph\n if (!canAdd || (canRemove && addPath.newPos < removePath.newPos)) {\n basePath = clonePath(removePath);\n self.pushComponent(basePath.components, undefined, true);\n } else {\n basePath = addPath; // No need to clone, we've pulled it from the list\n basePath.newPos++;\n self.pushComponent(basePath.components, true, undefined);\n }\n\n oldPos = self.extractCommon(basePath, newString, oldString, diagonalPath);\n\n // If we have hit the end of both strings, then we are done\n if (basePath.newPos + 1 >= newLen && oldPos + 1 >= oldLen) {\n return done(buildValues(self, basePath.components, newString, oldString, self.useLongestToken));\n } else {\n // Otherwise track this path as a potential candidate and continue.\n bestPath[diagonalPath] = basePath;\n }\n }\n\n editLength++;\n }\n\n // Performs the length of edit iteration. Is a bit fugly as this has to support the\n // sync and async mode which is never fun. Loops over execEditLength until a value\n // is produced, or until the edit length exceeds options.maxEditLength (if given),\n // in which case it will return undefined.\n if (callback) {\n (function exec() {\n setTimeout(function() {\n if (editLength > maxEditLength) {\n return callback();\n }\n\n if (!execEditLength()) {\n exec();\n }\n }, 0);\n }());\n } else {\n while (editLength <= maxEditLength) {\n let ret = execEditLength();\n if (ret) {\n return ret;\n }\n }\n }\n },\n\n pushComponent(components, added, removed) {\n let last = components[components.length - 1];\n if (last && last.added === added && last.removed === removed) {\n // We need to clone here as the component clone operation is just\n // as shallow array clone\n components[components.length - 1] = {count: last.count + 1, added: added, removed: removed };\n } else {\n components.push({count: 1, added: added, removed: removed });\n }\n },\n extractCommon(basePath, newString, oldString, diagonalPath) {\n let newLen = newString.length,\n oldLen = oldString.length,\n newPos = basePath.newPos,\n oldPos = newPos - diagonalPath,\n\n commonCount = 0;\n while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[oldPos + 1])) {\n newPos++;\n oldPos++;\n commonCount++;\n }\n\n if (commonCount) {\n basePath.components.push({count: commonCount});\n }\n\n basePath.newPos = newPos;\n return oldPos;\n },\n\n equals(left, right) {\n if (this.options.comparator) {\n return this.options.comparator(left, right);\n } else {\n return left === right\n || (this.options.ignoreCase && left.toLowerCase() === right.toLowerCase());\n }\n },\n removeEmpty(array) {\n let ret = [];\n for (let i = 0; i < array.length; i++) {\n if (array[i]) {\n ret.push(array[i]);\n }\n }\n return ret;\n },\n castInput(value) {\n return value;\n },\n tokenize(value) {\n return value.split('');\n },\n join(chars) {\n return chars.join('');\n }\n};\n\nfunction buildValues(diff, components, newString, oldString, useLongestToken) {\n let componentPos = 0,\n componentLen = components.length,\n newPos = 0,\n oldPos = 0;\n\n for (; componentPos < componentLen; componentPos++) {\n let component = components[componentPos];\n if (!component.removed) {\n if (!component.added && useLongestToken) {\n let value = newString.slice(newPos, newPos + component.count);\n value = value.map(function(value, i) {\n let oldValue = oldString[oldPos + i];\n return oldValue.length > value.length ? oldValue : value;\n });\n\n component.value = diff.join(value);\n } else {\n component.value = diff.join(newString.slice(newPos, newPos + component.count));\n }\n newPos += component.count;\n\n // Common case\n if (!component.added) {\n oldPos += component.count;\n }\n } else {\n component.value = diff.join(oldString.slice(oldPos, oldPos + component.count));\n oldPos += component.count;\n\n // Reverse add and remove so removes are output first to match common convention\n // The diffing algorithm is tied to add then remove output and this is the simplest\n // route to get the desired output with minimal overhead.\n if (componentPos && components[componentPos - 1].added) {\n let tmp = components[componentPos - 1];\n components[componentPos - 1] = components[componentPos];\n components[componentPos] = tmp;\n }\n }\n }\n\n // Special case handle for when one terminal is ignored (i.e. whitespace).\n // For this case we merge the terminal into the prior string and drop the change.\n // This is only available for string mode.\n let lastComponent = components[componentLen - 1];\n if (componentLen > 1\n && typeof lastComponent.value === 'string'\n && (lastComponent.added || lastComponent.removed)\n && diff.equals('', lastComponent.value)) {\n components[componentLen - 2].value += lastComponent.value;\n components.pop();\n }\n\n return components;\n}\n\nfunction clonePath(path) {\n return { newPos: path.newPos, components: path.components.slice(0) };\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/character.js":{"lineLengths":[25,13,0,46,13,3,30,31,0,23,3,25,49,23,1,0,123,0,23,23,25,5,23,1,25,9,23,4,0,25,38,0,23,45,53,1,880,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/character.js"],"names":["characterDiff","Diff","diffChars","oldStr","newStr","options","diff"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;AAEO,IAAMA,aAAa,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAAtB;;;;;;AACA,SAASC,SAAT,CAAmBC,MAAnB,EAA2BC,MAA3B,EAAmCC,OAAnC,EAA4C;AAAE,SAAOL,aAAa,CAACM,IAAd,CAAmBH,MAAnB,EAA2BC,MAA3B,EAAmCC,OAAnC,CAAP;AAAqD","sourcesContent":["import Diff from './base';\n\nexport const characterDiff = new Diff();\nexport function diffChars(oldStr, newStr, options) { return characterDiff.diff(oldStr, newStr, options); }\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/word.js":{"lineLengths":[25,13,0,46,13,3,30,48,26,0,23,3,25,49,23,1,0,3,25,35,23,1,0,123,0,23,65,2,25,32,35,29,30,30,28,38,29,29,33,34,30,35,43,39,88,24,18,25,5,23,1,25,9,23,4,0,25,28,0,23,42,32,30,32,3,0,114,2,0,38,97,184,0,47,103,120,33,30,10,5,3,0,16,2,0,45,11,27,5,25,0,27,9,25,3,27,18,25,13,26,5,48,1,0,54,48,1,5824,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/word.js"],"names":["extendedWordChars","reWhitespace","wordDiff","Diff","equals","left","right","options","ignoreCase","toLowerCase","ignoreWhitespace","test","tokenize","value","tokens","split","i","length","splice","diffWords","oldStr","newStr","generateOptions","diff","diffWordsWithSpace"],"mappings":";;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAMA,iBAAiB,GAAG,+DAA1B;AAEA,IAAMC,YAAY,GAAG,IAArB;AAEO,IAAMC,QAAQ,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAAjB;;;;;;AACPD,QAAQ,CAACE,MAAT,GAAkB,UAASC,IAAT,EAAeC,KAAf,EAAsB;AACtC,MAAI,KAAKC,OAAL,CAAaC,UAAjB,EAA6B;AAC3BH,IAAAA,IAAI,GAAGA,IAAI,CAACI,WAAL,EAAP;AACAH,IAAAA,KAAK,GAAGA,KAAK,CAACG,WAAN,EAAR;AACD;;AACD,SAAOJ,IAAI,KAAKC,KAAT,IAAmB,KAAKC,OAAL,CAAaG,gBAAb,IAAiC,CAACT,YAAY,CAACU,IAAb,CAAkBN,IAAlB,CAAlC,IAA6D,CAACJ,YAAY,CAACU,IAAb,CAAkBL,KAAlB,CAAxF;AACD,CAND;;AAOAJ,QAAQ,CAACU,QAAT,GAAoB,UAASC,KAAT,EAAgB;AAClC;AACA,MAAIC,MAAM,GAAGD,KAAK,CAACE,KAAN,CAAY,iCAAZ,CAAb,CAFkC,CAIlC;;AACA,OAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGF,MAAM,CAACG,MAAP,GAAgB,CAApC,EAAuCD,CAAC,EAAxC,EAA4C;AAC1C;AACA,QAAI,CAACF,MAAM,CAACE,CAAC,GAAG,CAAL,CAAP,IAAkBF,MAAM,CAACE,CAAC,GAAG,CAAL,CAAxB,IACKhB,iBAAiB,CAACW,IAAlB,CAAuBG,MAAM,CAACE,CAAD,CAA7B,CADL,IAEKhB,iBAAiB,CAACW,IAAlB,CAAuBG,MAAM,CAACE,CAAC,GAAG,CAAL,CAA7B,CAFT,EAEgD;AAC9CF,MAAAA,MAAM,CAACE,CAAD,CAAN,IAAaF,MAAM,CAACE,CAAC,GAAG,CAAL,CAAnB;AACAF,MAAAA,MAAM,CAACI,MAAP,CAAcF,CAAC,GAAG,CAAlB,EAAqB,CAArB;AACAA,MAAAA,CAAC;AACF;AACF;;AAED,SAAOF,MAAP;AACD,CAjBD;;AAmBO,SAASK,SAAT,CAAmBC,MAAnB,EAA2BC,MAA3B,EAAmCd,OAAnC,EAA4C;AACjDA,EAAAA,OAAO;AAAG;AAAA;AAAA;;AAAAe;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,GAAgBf,OAAhB,EAAyB;AAACG,IAAAA,gBAAgB,EAAE;AAAnB,GAAzB,CAAV;AACA,SAAOR,QAAQ,CAACqB,IAAT,CAAcH,MAAd,EAAsBC,MAAtB,EAA8Bd,OAA9B,CAAP;AACD;;AAEM,SAASiB,kBAAT,CAA4BJ,MAA5B,EAAoCC,MAApC,EAA4Cd,OAA5C,EAAqD;AAC1D,SAAOL,QAAQ,CAACqB,IAAT,CAAcH,MAAd,EAAsBC,MAAtB,EAA8Bd,OAA9B,CAAP;AACD","sourcesContent":["import Diff from './base';\nimport {generateOptions} from '../util/params';\n\n// Based on https://en.wikipedia.org/wiki/Latin_script_in_Unicode\n//\n// Ranges and exceptions:\n// Latin-1 Supplement, 0080–00FF\n// - U+00D7 × Multiplication sign\n// - U+00F7 ÷ Division sign\n// Latin Extended-A, 0100–017F\n// Latin Extended-B, 0180–024F\n// IPA Extensions, 0250–02AF\n// Spacing Modifier Letters, 02B0–02FF\n// - U+02C7 ˇ ˇ Caron\n// - U+02D8 ˘ ˘ Breve\n// - U+02D9 ˙ ˙ Dot Above\n// - U+02DA ˚ ˚ Ring Above\n// - U+02DB ˛ ˛ Ogonek\n// - U+02DC ˜ ˜ Small Tilde\n// - U+02DD ˝ ˝ Double Acute Accent\n// Latin Extended Additional, 1E00–1EFF\nconst extendedWordChars = /^[a-zA-Z\\u{C0}-\\u{FF}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}]+$/u;\n\nconst reWhitespace = /\\S/;\n\nexport const wordDiff = new Diff();\nwordDiff.equals = function(left, right) {\n if (this.options.ignoreCase) {\n left = left.toLowerCase();\n right = right.toLowerCase();\n }\n return left === right || (this.options.ignoreWhitespace && !reWhitespace.test(left) && !reWhitespace.test(right));\n};\nwordDiff.tokenize = function(value) {\n // All whitespace symbols except newline group into one token, each newline - in separate token\n let tokens = value.split(/([^\\S\\r\\n]+|[()[\\]{}'\"\\r\\n]|\\b)/);\n\n // Join the boundary splits that we do not consider to be boundaries. This is primarily the extended Latin character set.\n for (let i = 0; i < tokens.length - 1; i++) {\n // If we have an empty string in the next field and we have only word chars before and after, merge\n if (!tokens[i + 1] && tokens[i + 2]\n && extendedWordChars.test(tokens[i])\n && extendedWordChars.test(tokens[i + 2])) {\n tokens[i] += tokens[i + 2];\n tokens.splice(i + 1, 2);\n i--;\n }\n }\n\n return tokens;\n};\n\nexport function diffWords(oldStr, newStr, options) {\n options = generateOptions(options, {ignoreWhitespace: true});\n return wordDiff.diff(oldStr, newStr, options);\n}\n\nexport function diffWordsWithSpace(oldStr, newStr, options) {\n return wordDiff.diff(oldStr, newStr, options);\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/util/params.js":{"lineLengths":[25,13,0,46,13,3,42,0,23,45,38,32,23,31,32,41,39,7,5,3,0,18,1,1248,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/util/params.js"],"names":["generateOptions","options","defaults","callback","name","hasOwnProperty"],"mappings":";;;;;;;;;AAAO,SAASA,eAAT,CAAyBC,OAAzB,EAAkCC,QAAlC,EAA4C;AACjD,MAAI,OAAOD,OAAP,KAAmB,UAAvB,EAAmC;AACjCC,IAAAA,QAAQ,CAACC,QAAT,GAAoBF,OAApB;AACD,GAFD,MAEO,IAAIA,OAAJ,EAAa;AAClB,SAAK,IAAIG,IAAT,IAAiBH,OAAjB,EAA0B;AACxB;AACA,UAAIA,OAAO,CAACI,cAAR,CAAuBD,IAAvB,CAAJ,EAAkC;AAChCF,QAAAA,QAAQ,CAACE,IAAD,CAAR,GAAiBH,OAAO,CAACG,IAAD,CAAxB;AACD;AACF;AACF;;AACD,SAAOF,QAAP;AACD","sourcesContent":["export function generateOptions(options, defaults) {\n if (typeof options === 'function') {\n defaults.callback = options;\n } else if (options) {\n for (let name in options) {\n /* istanbul ignore else */\n if (options.hasOwnProperty(name)) {\n defaults[name] = options[name];\n }\n }\n }\n return defaults;\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/line.js":{"lineLengths":[25,13,0,46,13,3,30,44,26,0,23,3,25,49,23,1,0,3,25,35,23,1,0,123,0,23,18,25,5,23,1,25,9,23,4,0,25,28,0,23,38,20,129,0,55,27,63,0,0,53,35,0,48,44,12,42,27,7,0,26,5,3,0,18,2,0,46,49,1,0,53,15,27,5,25,0,27,9,25,3,27,18,25,14,26,5,48,1,3728,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/line.js"],"names":["lineDiff","Diff","tokenize","value","retLines","linesAndNewlines","split","length","pop","i","line","options","newlineIsToken","ignoreWhitespace","trim","push","diffLines","oldStr","newStr","callback","diff","diffTrimmedLines","generateOptions"],"mappings":";;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;;;;AAEO,IAAMA,QAAQ,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAAjB;;;;;;AACPD,QAAQ,CAACE,QAAT,GAAoB,UAASC,KAAT,EAAgB;AAClC,MAAIC,QAAQ,GAAG,EAAf;AAAA,MACIC,gBAAgB,GAAGF,KAAK,CAACG,KAAN,CAAY,WAAZ,CADvB,CADkC,CAIlC;;AACA,MAAI,CAACD,gBAAgB,CAACA,gBAAgB,CAACE,MAAjB,GAA0B,CAA3B,CAArB,EAAoD;AAClDF,IAAAA,gBAAgB,CAACG,GAAjB;AACD,GAPiC,CASlC;;;AACA,OAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGJ,gBAAgB,CAACE,MAArC,EAA6CE,CAAC,EAA9C,EAAkD;AAChD,QAAIC,IAAI,GAAGL,gBAAgB,CAACI,CAAD,CAA3B;;AAEA,QAAIA,CAAC,GAAG,CAAJ,IAAS,CAAC,KAAKE,OAAL,CAAaC,cAA3B,EAA2C;AACzCR,MAAAA,QAAQ,CAACA,QAAQ,CAACG,MAAT,GAAkB,CAAnB,CAAR,IAAiCG,IAAjC;AACD,KAFD,MAEO;AACL,UAAI,KAAKC,OAAL,CAAaE,gBAAjB,EAAmC;AACjCH,QAAAA,IAAI,GAAGA,IAAI,CAACI,IAAL,EAAP;AACD;;AACDV,MAAAA,QAAQ,CAACW,IAAT,CAAcL,IAAd;AACD;AACF;;AAED,SAAON,QAAP;AACD,CAxBD;;AA0BO,SAASY,SAAT,CAAmBC,MAAnB,EAA2BC,MAA3B,EAAmCC,QAAnC,EAA6C;AAAE,SAAOnB,QAAQ,CAACoB,IAAT,CAAcH,MAAd,EAAsBC,MAAtB,EAA8BC,QAA9B,CAAP;AAAiD;;AAChG,SAASE,gBAAT,CAA0BJ,MAA1B,EAAkCC,MAAlC,EAA0CC,QAA1C,EAAoD;AACzD,MAAIR,OAAO;AAAG;AAAA;AAAA;;AAAAW;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,GAAgBH,QAAhB,EAA0B;AAACN,IAAAA,gBAAgB,EAAE;AAAnB,GAA1B,CAAd;AACA,SAAOb,QAAQ,CAACoB,IAAT,CAAcH,MAAd,EAAsBC,MAAtB,EAA8BP,OAA9B,CAAP;AACD","sourcesContent":["import Diff from './base';\nimport {generateOptions} from '../util/params';\n\nexport const lineDiff = new Diff();\nlineDiff.tokenize = function(value) {\n let retLines = [],\n linesAndNewlines = value.split(/(\\n|\\r\\n)/);\n\n // Ignore the final empty token that occurs if the string ends with a new line\n if (!linesAndNewlines[linesAndNewlines.length - 1]) {\n linesAndNewlines.pop();\n }\n\n // Merge the content and line separators into single tokens\n for (let i = 0; i < linesAndNewlines.length; i++) {\n let line = linesAndNewlines[i];\n\n if (i % 2 && !this.options.newlineIsToken) {\n retLines[retLines.length - 1] += line;\n } else {\n if (this.options.ignoreWhitespace) {\n line = line.trim();\n }\n retLines.push(line);\n }\n }\n\n return retLines;\n};\n\nexport function diffLines(oldStr, newStr, callback) { return lineDiff.diff(oldStr, newStr, callback); }\nexport function diffTrimmedLines(oldStr, newStr, callback) {\n let options = generateOptions(callback, {ignoreWhitespace: true});\n return lineDiff.diff(oldStr, newStr, options);\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/sentence.js":{"lineLengths":[25,13,0,46,13,3,38,30,0,23,3,25,49,23,1,0,123,0,23,22,25,5,23,1,25,9,23,4,0,25,36,0,23,42,46,2,0,50,53,1,1196,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/sentence.js"],"names":["sentenceDiff","Diff","tokenize","value","split","diffSentences","oldStr","newStr","callback","diff"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;AAGO,IAAMA,YAAY,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAArB;;;;;;AACPD,YAAY,CAACE,QAAb,GAAwB,UAASC,KAAT,EAAgB;AACtC,SAAOA,KAAK,CAACC,KAAN,CAAY,uBAAZ,CAAP;AACD,CAFD;;AAIO,SAASC,aAAT,CAAuBC,MAAvB,EAA+BC,MAA/B,EAAuCC,QAAvC,EAAiD;AAAE,SAAOR,YAAY,CAACS,IAAb,CAAkBH,MAAlB,EAA0BC,MAA1B,EAAkCC,QAAlC,CAAP;AAAqD","sourcesContent":["import Diff from './base';\n\n\nexport const sentenceDiff = new Diff();\nsentenceDiff.tokenize = function(value) {\n return value.split(/(\\S.+?[.!?])(?=\\s+|$)/);\n};\n\nexport function diffSentences(oldStr, newStr, callback) { return sentenceDiff.diff(oldStr, newStr, callback); }\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/css.js":{"lineLengths":[25,13,0,46,13,3,26,25,0,23,3,25,49,23,1,0,123,0,23,17,25,5,23,1,25,9,23,4,0,25,26,0,23,37,38,2,0,44,48,1,1128,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/css.js"],"names":["cssDiff","Diff","tokenize","value","split","diffCss","oldStr","newStr","callback","diff"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;AAEO,IAAMA,OAAO,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAAhB;;;;;;AACPD,OAAO,CAACE,QAAR,GAAmB,UAASC,KAAT,EAAgB;AACjC,SAAOA,KAAK,CAACC,KAAN,CAAY,eAAZ,CAAP;AACD,CAFD;;AAIO,SAASC,OAAT,CAAiBC,MAAjB,EAAyBC,MAAzB,EAAiCC,QAAjC,EAA2C;AAAE,SAAOR,OAAO,CAACS,IAAR,CAAaH,MAAb,EAAqBC,MAArB,EAA6BC,QAA7B,CAAP;AAAgD","sourcesContent":["import Diff from './base';\n\nexport const cssDiff = new Diff();\ncssDiff.tokenize = function(value) {\n return value.split(/([{}:;,]|\\s+)/);\n};\n\nexport function diffCss(oldStr, newStr, callback) { return cssDiff.diff(oldStr, newStr, callback); }\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/json.js":{"lineLengths":[25,13,0,46,13,3,28,36,26,0,23,3,25,49,23,1,0,3,25,25,23,1,0,123,0,378,0,23,56,18,25,5,23,1,25,9,23,97,105,0,25,28,0,23,32,19,25,5,23,1,25,8,23,10,0,39,27,21,25,15,64,62,76,27,3,12,29,57,6,28,137,2,0,42,10,29,9,27,5,29,13,27,106,4,2,0,44,48,98,95,0,0,68,22,44,0,17,29,3,0,8,0,41,27,33,5,3,0,23,0,63,20,45,44,0,41,89,5,0,16,27,28,3,0,26,23,3,0,6,27,10,25,38,20,26,44,0,24,13,0,23,32,37,30,7,5,0,22,0,48,27,96,5,0,16,27,10,27,3,0,26,1,8576,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/json.js"],"names":["objectPrototypeToString","Object","prototype","toString","jsonDiff","Diff","useLongestToken","tokenize","lineDiff","castInput","value","options","undefinedReplacement","stringifyReplacer","k","v","JSON","stringify","canonicalize","equals","left","right","call","replace","diffJson","oldObj","newObj","diff","obj","stack","replacementStack","replacer","key","i","length","canonicalizedObj","push","Array","pop","toJSON","sortedKeys","hasOwnProperty","sort"],"mappings":";;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;;;;;;AAEA,IAAMA,uBAAuB,GAAGC,MAAM,CAACC,SAAP,CAAiBC,QAAjD;AAGO,IAAMC,QAAQ,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAAjB,C,CACP;AACA;;;;;;AACAD,QAAQ,CAACE,eAAT,GAA2B,IAA3B;AAEAF,QAAQ,CAACG,QAAT;AAAoBC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,CAASD,QAA7B;;AACAH,QAAQ,CAACK,SAAT,GAAqB,UAASC,KAAT,EAAgB;AAAA;AAAA;AAAA;AAC+E,OAAKC,OADpF;AAAA,MAC5BC,oBAD4B,iBAC5BA,oBAD4B;AAAA,4CACNC,iBADM;AAAA,MACNA,iBADM,sCACc,UAACC,CAAD,EAAIC,CAAJ;AAAA;AAAA;AAAA;AAAA;AAAU,aAAOA,CAAP,KAAa,WAAb,GAA2BH,oBAA3B,GAAkDG;AAA5D;AAAA,GADd;AAGnC,SAAO,OAAOL,KAAP,KAAiB,QAAjB,GAA4BA,KAA5B,GAAoCM,IAAI,CAACC,SAAL,CAAeC,YAAY,CAACR,KAAD,EAAQ,IAAR,EAAc,IAAd,EAAoBG,iBAApB,CAA3B,EAAmEA,iBAAnE,EAAsF,IAAtF,CAA3C;AACD,CAJD;;AAKAT,QAAQ,CAACe,MAAT,GAAkB,UAASC,IAAT,EAAeC,KAAf,EAAsB;AACtC,SAAOhB;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,MAAKH,SAAL,CAAeiB,MAAf,CAAsBG,IAAtB,CAA2BlB,QAA3B,EAAqCgB,IAAI,CAACG,OAAL,CAAa,YAAb,EAA2B,IAA3B,CAArC,EAAuEF,KAAK,CAACE,OAAN,CAAc,YAAd,EAA4B,IAA5B,CAAvE;AAAP;AACD,CAFD;;AAIO,SAASC,QAAT,CAAkBC,MAAlB,EAA0BC,MAA1B,EAAkCf,OAAlC,EAA2C;AAAE,SAAOP,QAAQ,CAACuB,IAAT,CAAcF,MAAd,EAAsBC,MAAtB,EAA8Bf,OAA9B,CAAP;AAAgD,C,CAEpG;AACA;;;AACO,SAASO,YAAT,CAAsBU,GAAtB,EAA2BC,KAA3B,EAAkCC,gBAAlC,EAAoDC,QAApD,EAA8DC,GAA9D,EAAmE;AACxEH,EAAAA,KAAK,GAAGA,KAAK,IAAI,EAAjB;AACAC,EAAAA,gBAAgB,GAAGA,gBAAgB,IAAI,EAAvC;;AAEA,MAAIC,QAAJ,EAAc;AACZH,IAAAA,GAAG,GAAGG,QAAQ,CAACC,GAAD,EAAMJ,GAAN,CAAd;AACD;;AAED,MAAIK,CAAJ;;AAEA,OAAKA,CAAC,GAAG,CAAT,EAAYA,CAAC,GAAGJ,KAAK,CAACK,MAAtB,EAA8BD,CAAC,IAAI,CAAnC,EAAsC;AACpC,QAAIJ,KAAK,CAACI,CAAD,CAAL,KAAaL,GAAjB,EAAsB;AACpB,aAAOE,gBAAgB,CAACG,CAAD,CAAvB;AACD;AACF;;AAED,MAAIE,gBAAJ;;AAEA,MAAI,qBAAqBnC,uBAAuB,CAACsB,IAAxB,CAA6BM,GAA7B,CAAzB,EAA4D;AAC1DC,IAAAA,KAAK,CAACO,IAAN,CAAWR,GAAX;AACAO,IAAAA,gBAAgB,GAAG,IAAIE,KAAJ,CAAUT,GAAG,CAACM,MAAd,CAAnB;AACAJ,IAAAA,gBAAgB,CAACM,IAAjB,CAAsBD,gBAAtB;;AACA,SAAKF,CAAC,GAAG,CAAT,EAAYA,CAAC,GAAGL,GAAG,CAACM,MAApB,EAA4BD,CAAC,IAAI,CAAjC,EAAoC;AAClCE,MAAAA,gBAAgB,CAACF,CAAD,CAAhB,GAAsBf,YAAY,CAACU,GAAG,CAACK,CAAD,CAAJ,EAASJ,KAAT,EAAgBC,gBAAhB,EAAkCC,QAAlC,EAA4CC,GAA5C,CAAlC;AACD;;AACDH,IAAAA,KAAK,CAACS,GAAN;AACAR,IAAAA,gBAAgB,CAACQ,GAAjB;AACA,WAAOH,gBAAP;AACD;;AAED,MAAIP,GAAG,IAAIA,GAAG,CAACW,MAAf,EAAuB;AACrBX,IAAAA,GAAG,GAAGA,GAAG,CAACW,MAAJ,EAAN;AACD;;AAED;AAAI;AAAA;AAAA;AAAOX,EAAAA,GAAP,MAAe,QAAf,IAA2BA,GAAG,KAAK,IAAvC,EAA6C;AAC3CC,IAAAA,KAAK,CAACO,IAAN,CAAWR,GAAX;AACAO,IAAAA,gBAAgB,GAAG,EAAnB;AACAL,IAAAA,gBAAgB,CAACM,IAAjB,CAAsBD,gBAAtB;;AACA,QAAIK,UAAU,GAAG,EAAjB;AAAA,QACIR,IADJ;;AAEA,SAAKA,IAAL,IAAYJ,GAAZ,EAAiB;AACf;AACA,UAAIA,GAAG,CAACa,cAAJ,CAAmBT,IAAnB,CAAJ,EAA6B;AAC3BQ,QAAAA,UAAU,CAACJ,IAAX,CAAgBJ,IAAhB;AACD;AACF;;AACDQ,IAAAA,UAAU,CAACE,IAAX;;AACA,SAAKT,CAAC,GAAG,CAAT,EAAYA,CAAC,GAAGO,UAAU,CAACN,MAA3B,EAAmCD,CAAC,IAAI,CAAxC,EAA2C;AACzCD,MAAAA,IAAG,GAAGQ,UAAU,CAACP,CAAD,CAAhB;AACAE,MAAAA,gBAAgB,CAACH,IAAD,CAAhB,GAAwBd,YAAY,CAACU,GAAG,CAACI,IAAD,CAAJ,EAAWH,KAAX,EAAkBC,gBAAlB,EAAoCC,QAApC,EAA8CC,IAA9C,CAApC;AACD;;AACDH,IAAAA,KAAK,CAACS,GAAN;AACAR,IAAAA,gBAAgB,CAACQ,GAAjB;AACD,GAnBD,MAmBO;AACLH,IAAAA,gBAAgB,GAAGP,GAAnB;AACD;;AACD,SAAOO,gBAAP;AACD","sourcesContent":["import Diff from './base';\nimport {lineDiff} from './line';\n\nconst objectPrototypeToString = Object.prototype.toString;\n\n\nexport const jsonDiff = new Diff();\n// Discriminate between two lines of pretty-printed, serialized JSON where one of them has a\n// dangling comma and the other doesn't. Turns out including the dangling comma yields the nicest output:\njsonDiff.useLongestToken = true;\n\njsonDiff.tokenize = lineDiff.tokenize;\njsonDiff.castInput = function(value) {\n const {undefinedReplacement, stringifyReplacer = (k, v) => typeof v === 'undefined' ? undefinedReplacement : v} = this.options;\n\n return typeof value === 'string' ? value : JSON.stringify(canonicalize(value, null, null, stringifyReplacer), stringifyReplacer, ' ');\n};\njsonDiff.equals = function(left, right) {\n return Diff.prototype.equals.call(jsonDiff, left.replace(/,([\\r\\n])/g, '$1'), right.replace(/,([\\r\\n])/g, '$1'));\n};\n\nexport function diffJson(oldObj, newObj, options) { return jsonDiff.diff(oldObj, newObj, options); }\n\n// This function handles the presence of circular references by bailing out when encountering an\n// object that is already on the \"stack\" of items being processed. Accepts an optional replacer\nexport function canonicalize(obj, stack, replacementStack, replacer, key) {\n stack = stack || [];\n replacementStack = replacementStack || [];\n\n if (replacer) {\n obj = replacer(key, obj);\n }\n\n let i;\n\n for (i = 0; i < stack.length; i += 1) {\n if (stack[i] === obj) {\n return replacementStack[i];\n }\n }\n\n let canonicalizedObj;\n\n if ('[object Array]' === objectPrototypeToString.call(obj)) {\n stack.push(obj);\n canonicalizedObj = new Array(obj.length);\n replacementStack.push(canonicalizedObj);\n for (i = 0; i < obj.length; i += 1) {\n canonicalizedObj[i] = canonicalize(obj[i], stack, replacementStack, replacer, key);\n }\n stack.pop();\n replacementStack.pop();\n return canonicalizedObj;\n }\n\n if (obj && obj.toJSON) {\n obj = obj.toJSON();\n }\n\n if (typeof obj === 'object' && obj !== null) {\n stack.push(obj);\n canonicalizedObj = {};\n replacementStack.push(canonicalizedObj);\n let sortedKeys = [],\n key;\n for (key in obj) {\n /* istanbul ignore else */\n if (obj.hasOwnProperty(key)) {\n sortedKeys.push(key);\n }\n }\n sortedKeys.sort();\n for (i = 0; i < sortedKeys.length; i += 1) {\n key = sortedKeys[i];\n canonicalizedObj[key] = canonicalize(obj[key], stack, replacementStack, replacer, key);\n }\n stack.pop();\n replacementStack.pop();\n } else {\n canonicalizedObj = obj;\n }\n return canonicalizedObj;\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/diff/array.js":{"lineLengths":[25,13,0,46,13,3,32,27,0,23,3,25,49,23,1,0,123,0,23,19,25,5,23,1,25,9,23,4,0,25,30,0,23,39,23,2,0,59,15,2,0,47,50,1,1376,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/diff/array.js"],"names":["arrayDiff","Diff","tokenize","value","slice","join","removeEmpty","diffArrays","oldArr","newArr","callback","diff"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;AAEO,IAAMA,SAAS,GAAG;AAAIC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAJ,EAAlB;;;;;;AACPD,SAAS,CAACE,QAAV,GAAqB,UAASC,KAAT,EAAgB;AACnC,SAAOA,KAAK,CAACC,KAAN,EAAP;AACD,CAFD;;AAGAJ,SAAS,CAACK,IAAV,GAAiBL,SAAS,CAACM,WAAV,GAAwB,UAASH,KAAT,EAAgB;AACvD,SAAOA,KAAP;AACD,CAFD;;AAIO,SAASI,UAAT,CAAoBC,MAApB,EAA4BC,MAA5B,EAAoCC,QAApC,EAA8C;AAAE,SAAOV,SAAS,CAACW,IAAV,CAAeH,MAAf,EAAuBC,MAAvB,EAA+BC,QAA/B,CAAP;AAAkD","sourcesContent":["import Diff from './base';\n\nexport const arrayDiff = new Diff();\narrayDiff.tokenize = function(value) {\n return value.slice();\n};\narrayDiff.join = arrayDiff.removeEmpty = function(value) {\n return value;\n};\n\nexport function diffArrays(oldArr, newArr, callback) { return arrayDiff.diff(oldArr, newArr, callback); }\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/apply.js":{"lineLengths":[25,13,0,46,13,3,32,36,0,23,3,25,27,23,1,0,3,25,80,23,1,0,123,0,23,38,27,5,25,83,0,36,13,29,7,27,0,29,10,27,5,29,15,27,14,3,0,31,29,68,5,0,25,34,0,0,50,62,28,95,27,3,12,29,27,6,4,21,43,18,17,18,15,5,61,5,0,0,34,49,31,54,60,0,51,31,72,23,0,40,25,11,9,0,16,7,5,0,16,71,0,0,42,24,47,24,43,18,29,7,27,0,29,21,27,5,29,13,27,32,0,65,48,44,14,7,5,0,36,19,80,39,0,0,58,24,0,0,21,0,45,26,64,0,50,0,50,32,54,60,46,0,30,17,37,32,37,34,37,41,48,17,38,82,0,40,29,47,26,9,7,5,37,0,0,20,38,18,23,5,24,19,26,3,0,49,43,3,0,24,63,0,0,41,36,13,29,7,27,0,29,10,27,5,29,15,27,14,3,0,23,0,27,40,0,17,32,5,0,50,16,37,7,0,60,61,18,39,9,0,23,9,7,3,0,17,1,14196,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/patch/apply.js"],"names":["applyPatch","source","uniDiff","options","parsePatch","Array","isArray","length","Error","lines","split","delimiters","match","hunks","compareLine","lineNumber","line","operation","patchContent","errorCount","fuzzFactor","minLine","offset","removeEOFNL","addEOFNL","hunkFits","hunk","toPos","j","content","substr","i","maxLine","oldLines","localOffset","oldStart","iterator","distanceIterator","undefined","diffOffset","newLines","delimiter","linedelimiters","splice","previousOperation","pop","push","_k","join","applyPatches","currentIndex","processIndex","index","complete","loadFile","err","data","updatedContent","patched"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;;;;AAEO,SAASA,UAAT,CAAoBC,MAApB,EAA4BC,OAA5B,EAAmD;AAAA;AAAA;AAAA;AAAdC,EAAAA,OAAc,uEAAJ,EAAI;;AACxD,MAAI,OAAOD,OAAP,KAAmB,QAAvB,EAAiC;AAC/BA,IAAAA,OAAO;AAAG;AAAA;AAAA;;AAAAE;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,KAAWF,OAAX,CAAV;AACD;;AAED,MAAIG,KAAK,CAACC,OAAN,CAAcJ,OAAd,CAAJ,EAA4B;AAC1B,QAAIA,OAAO,CAACK,MAAR,GAAiB,CAArB,EAAwB;AACtB,YAAM,IAAIC,KAAJ,CAAU,4CAAV,CAAN;AACD;;AAEDN,IAAAA,OAAO,GAAGA,OAAO,CAAC,CAAD,CAAjB;AACD,GAXuD,CAaxD;;;AACA,MAAIO,KAAK,GAAGR,MAAM,CAACS,KAAP,CAAa,qBAAb,CAAZ;AAAA,MACIC,UAAU,GAAGV,MAAM,CAACW,KAAP,CAAa,sBAAb,KAAwC,EADzD;AAAA,MAEIC,KAAK,GAAGX,OAAO,CAACW,KAFpB;AAAA,MAIIC,WAAW,GAAGX,OAAO,CAACW,WAAR,IAAwB,UAACC,UAAD,EAAaC,IAAb,EAAmBC,SAAnB,EAA8BC,YAA9B;AAAA;AAAA;AAAA;AAAA;AAA+CF,MAAAA,IAAI,KAAKE;AAAxD;AAAA,GAJ1C;AAAA,MAKIC,UAAU,GAAG,CALjB;AAAA,MAMIC,UAAU,GAAGjB,OAAO,CAACiB,UAAR,IAAsB,CANvC;AAAA,MAOIC,OAAO,GAAG,CAPd;AAAA,MAQIC,MAAM,GAAG,CARb;AAAA,MAUIC,WAVJ;AAAA,MAWIC,QAXJ;AAaA;;;;;AAGA,WAASC,QAAT,CAAkBC,IAAlB,EAAwBC,KAAxB,EAA+B;AAC7B,SAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGF,IAAI,CAACjB,KAAL,CAAWF,MAA/B,EAAuCqB,CAAC,EAAxC,EAA4C;AAC1C,UAAIZ,IAAI,GAAGU,IAAI,CAACjB,KAAL,CAAWmB,CAAX,CAAX;AAAA,UACIX,SAAS,GAAID,IAAI,CAACT,MAAL,GAAc,CAAd,GAAkBS,IAAI,CAAC,CAAD,CAAtB,GAA4B,GAD7C;AAAA,UAEIa,OAAO,GAAIb,IAAI,CAACT,MAAL,GAAc,CAAd,GAAkBS,IAAI,CAACc,MAAL,CAAY,CAAZ,CAAlB,GAAmCd,IAFlD;;AAIA,UAAIC,SAAS,KAAK,GAAd,IAAqBA,SAAS,KAAK,GAAvC,EAA4C;AAC1C;AACA,YAAI,CAACH,WAAW,CAACa,KAAK,GAAG,CAAT,EAAYlB,KAAK,CAACkB,KAAD,CAAjB,EAA0BV,SAA1B,EAAqCY,OAArC,CAAhB,EAA+D;AAC7DV,UAAAA,UAAU;;AAEV,cAAIA,UAAU,GAAGC,UAAjB,EAA6B;AAC3B,mBAAO,KAAP;AACD;AACF;;AACDO,QAAAA,KAAK;AACN;AACF;;AAED,WAAO,IAAP;AACD,GAlDuD,CAoDxD;;;AACA,OAAK,IAAII,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGlB,KAAK,CAACN,MAA1B,EAAkCwB,CAAC,EAAnC,EAAuC;AACrC,QAAIL,IAAI,GAAGb,KAAK,CAACkB,CAAD,CAAhB;AAAA,QACIC,OAAO,GAAGvB,KAAK,CAACF,MAAN,GAAemB,IAAI,CAACO,QADlC;AAAA,QAEIC,WAAW,GAAG,CAFlB;AAAA,QAGIP,KAAK,GAAGL,MAAM,GAAGI,IAAI,CAACS,QAAd,GAAyB,CAHrC;AAKA,QAAIC,QAAQ;AAAG;AAAA;AAAA;;AAAAC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,OAAiBV,KAAjB,EAAwBN,OAAxB,EAAiCW,OAAjC,CAAf;;AAEA,WAAOE,WAAW,KAAKI,SAAvB,EAAkCJ,WAAW,GAAGE,QAAQ,EAAxD,EAA4D;AAC1D,UAAIX,QAAQ,CAACC,IAAD,EAAOC,KAAK,GAAGO,WAAf,CAAZ,EAAyC;AACvCR,QAAAA,IAAI,CAACJ,MAAL,GAAcA,MAAM,IAAIY,WAAxB;AACA;AACD;AACF;;AAED,QAAIA,WAAW,KAAKI,SAApB,EAA+B;AAC7B,aAAO,KAAP;AACD,KAjBoC,CAmBrC;AACA;;;AACAjB,IAAAA,OAAO,GAAGK,IAAI,CAACJ,MAAL,GAAcI,IAAI,CAACS,QAAnB,GAA8BT,IAAI,CAACO,QAA7C;AACD,GA3EuD,CA6ExD;;;AACA,MAAIM,UAAU,GAAG,CAAjB;;AACA,OAAK,IAAIR,EAAC,GAAG,CAAb,EAAgBA,EAAC,GAAGlB,KAAK,CAACN,MAA1B,EAAkCwB,EAAC,EAAnC,EAAuC;AACrC,QAAIL,KAAI,GAAGb,KAAK,CAACkB,EAAD,CAAhB;AAAA,QACIJ,MAAK,GAAGD,KAAI,CAACS,QAAL,GAAgBT,KAAI,CAACJ,MAArB,GAA8BiB,UAA9B,GAA2C,CADvD;;AAEAA,IAAAA,UAAU,IAAIb,KAAI,CAACc,QAAL,GAAgBd,KAAI,CAACO,QAAnC;;AAEA,SAAK,IAAIL,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGF,KAAI,CAACjB,KAAL,CAAWF,MAA/B,EAAuCqB,CAAC,EAAxC,EAA4C;AAC1C,UAAIZ,IAAI,GAAGU,KAAI,CAACjB,KAAL,CAAWmB,CAAX,CAAX;AAAA,UACIX,SAAS,GAAID,IAAI,CAACT,MAAL,GAAc,CAAd,GAAkBS,IAAI,CAAC,CAAD,CAAtB,GAA4B,GAD7C;AAAA,UAEIa,OAAO,GAAIb,IAAI,CAACT,MAAL,GAAc,CAAd,GAAkBS,IAAI,CAACc,MAAL,CAAY,CAAZ,CAAlB,GAAmCd,IAFlD;AAAA,UAGIyB,SAAS,GAAGf,KAAI,CAACgB,cAAL,CAAoBd,CAApB,CAHhB;;AAKA,UAAIX,SAAS,KAAK,GAAlB,EAAuB;AACrBU,QAAAA,MAAK;AACN,OAFD,MAEO,IAAIV,SAAS,KAAK,GAAlB,EAAuB;AAC5BR,QAAAA,KAAK,CAACkC,MAAN,CAAahB,MAAb,EAAoB,CAApB;AACAhB,QAAAA,UAAU,CAACgC,MAAX,CAAkBhB,MAAlB,EAAyB,CAAzB;AACF;AACC,OAJM,MAIA,IAAIV,SAAS,KAAK,GAAlB,EAAuB;AAC5BR,QAAAA,KAAK,CAACkC,MAAN,CAAahB,MAAb,EAAoB,CAApB,EAAuBE,OAAvB;AACAlB,QAAAA,UAAU,CAACgC,MAAX,CAAkBhB,MAAlB,EAAyB,CAAzB,EAA4Bc,SAA5B;AACAd,QAAAA,MAAK;AACN,OAJM,MAIA,IAAIV,SAAS,KAAK,IAAlB,EAAwB;AAC7B,YAAI2B,iBAAiB,GAAGlB,KAAI,CAACjB,KAAL,CAAWmB,CAAC,GAAG,CAAf,IAAoBF,KAAI,CAACjB,KAAL,CAAWmB,CAAC,GAAG,CAAf,EAAkB,CAAlB,CAApB,GAA2C,IAAnE;;AACA,YAAIgB,iBAAiB,KAAK,GAA1B,EAA+B;AAC7BrB,UAAAA,WAAW,GAAG,IAAd;AACD,SAFD,MAEO,IAAIqB,iBAAiB,KAAK,GAA1B,EAA+B;AACpCpB,UAAAA,QAAQ,GAAG,IAAX;AACD;AACF;AACF;AACF,GA7GuD,CA+GxD;;;AACA,MAAID,WAAJ,EAAiB;AACf,WAAO,CAACd,KAAK,CAACA,KAAK,CAACF,MAAN,GAAe,CAAhB,CAAb,EAAiC;AAC/BE,MAAAA,KAAK,CAACoC,GAAN;AACAlC,MAAAA,UAAU,CAACkC,GAAX;AACD;AACF,GALD,MAKO,IAAIrB,QAAJ,EAAc;AACnBf,IAAAA,KAAK,CAACqC,IAAN,CAAW,EAAX;AACAnC,IAAAA,UAAU,CAACmC,IAAX,CAAgB,IAAhB;AACD;;AACD,OAAK,IAAIC,EAAE,GAAG,CAAd,EAAiBA,EAAE,GAAGtC,KAAK,CAACF,MAAN,GAAe,CAArC,EAAwCwC,EAAE,EAA1C,EAA8C;AAC5CtC,IAAAA,KAAK,CAACsC,EAAD,CAAL,GAAYtC,KAAK,CAACsC,EAAD,CAAL,GAAYpC,UAAU,CAACoC,EAAD,CAAlC;AACD;;AACD,SAAOtC,KAAK,CAACuC,IAAN,CAAW,EAAX,CAAP;AACD,C,CAED;;;AACO,SAASC,YAAT,CAAsB/C,OAAtB,EAA+BC,OAA/B,EAAwC;AAC7C,MAAI,OAAOD,OAAP,KAAmB,QAAvB,EAAiC;AAC/BA,IAAAA,OAAO;AAAG;AAAA;AAAA;;AAAAE;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,KAAWF,OAAX,CAAV;AACD;;AAED,MAAIgD,YAAY,GAAG,CAAnB;;AACA,WAASC,YAAT,GAAwB;AACtB,QAAIC,KAAK,GAAGlD,OAAO,CAACgD,YAAY,EAAb,CAAnB;;AACA,QAAI,CAACE,KAAL,EAAY;AACV,aAAOjD,OAAO,CAACkD,QAAR,EAAP;AACD;;AAEDlD,IAAAA,OAAO,CAACmD,QAAR,CAAiBF,KAAjB,EAAwB,UAASG,GAAT,EAAcC,IAAd,EAAoB;AAC1C,UAAID,GAAJ,EAAS;AACP,eAAOpD,OAAO,CAACkD,QAAR,CAAiBE,GAAjB,CAAP;AACD;;AAED,UAAIE,cAAc,GAAGzD,UAAU,CAACwD,IAAD,EAAOJ,KAAP,EAAcjD,OAAd,CAA/B;AACAA,MAAAA,OAAO,CAACuD,OAAR,CAAgBN,KAAhB,EAAuBK,cAAvB,EAAuC,UAASF,GAAT,EAAc;AACnD,YAAIA,GAAJ,EAAS;AACP,iBAAOpD,OAAO,CAACkD,QAAR,CAAiBE,GAAjB,CAAP;AACD;;AAEDJ,QAAAA,YAAY;AACb,OAND;AAOD,KAbD;AAcD;;AACDA,EAAAA,YAAY;AACb","sourcesContent":["import {parsePatch} from './parse';\nimport distanceIterator from '../util/distance-iterator';\n\nexport function applyPatch(source, uniDiff, options = {}) {\n if (typeof uniDiff === 'string') {\n uniDiff = parsePatch(uniDiff);\n }\n\n if (Array.isArray(uniDiff)) {\n if (uniDiff.length > 1) {\n throw new Error('applyPatch only works with a single input.');\n }\n\n uniDiff = uniDiff[0];\n }\n\n // Apply the diff to the input\n let lines = source.split(/\\r\\n|[\\n\\v\\f\\r\\x85]/),\n delimiters = source.match(/\\r\\n|[\\n\\v\\f\\r\\x85]/g) || [],\n hunks = uniDiff.hunks,\n\n compareLine = options.compareLine || ((lineNumber, line, operation, patchContent) => line === patchContent),\n errorCount = 0,\n fuzzFactor = options.fuzzFactor || 0,\n minLine = 0,\n offset = 0,\n\n removeEOFNL,\n addEOFNL;\n\n /**\n * Checks if the hunk exactly fits on the provided location\n */\n function hunkFits(hunk, toPos) {\n for (let j = 0; j < hunk.lines.length; j++) {\n let line = hunk.lines[j],\n operation = (line.length > 0 ? line[0] : ' '),\n content = (line.length > 0 ? line.substr(1) : line);\n\n if (operation === ' ' || operation === '-') {\n // Context sanity check\n if (!compareLine(toPos + 1, lines[toPos], operation, content)) {\n errorCount++;\n\n if (errorCount > fuzzFactor) {\n return false;\n }\n }\n toPos++;\n }\n }\n\n return true;\n }\n\n // Search best fit offsets for each hunk based on the previous ones\n for (let i = 0; i < hunks.length; i++) {\n let hunk = hunks[i],\n maxLine = lines.length - hunk.oldLines,\n localOffset = 0,\n toPos = offset + hunk.oldStart - 1;\n\n let iterator = distanceIterator(toPos, minLine, maxLine);\n\n for (; localOffset !== undefined; localOffset = iterator()) {\n if (hunkFits(hunk, toPos + localOffset)) {\n hunk.offset = offset += localOffset;\n break;\n }\n }\n\n if (localOffset === undefined) {\n return false;\n }\n\n // Set lower text limit to end of the current hunk, so next ones don't try\n // to fit over already patched text\n minLine = hunk.offset + hunk.oldStart + hunk.oldLines;\n }\n\n // Apply patch hunks\n let diffOffset = 0;\n for (let i = 0; i < hunks.length; i++) {\n let hunk = hunks[i],\n toPos = hunk.oldStart + hunk.offset + diffOffset - 1;\n diffOffset += hunk.newLines - hunk.oldLines;\n\n for (let j = 0; j < hunk.lines.length; j++) {\n let line = hunk.lines[j],\n operation = (line.length > 0 ? line[0] : ' '),\n content = (line.length > 0 ? line.substr(1) : line),\n delimiter = hunk.linedelimiters[j];\n\n if (operation === ' ') {\n toPos++;\n } else if (operation === '-') {\n lines.splice(toPos, 1);\n delimiters.splice(toPos, 1);\n /* istanbul ignore else */\n } else if (operation === '+') {\n lines.splice(toPos, 0, content);\n delimiters.splice(toPos, 0, delimiter);\n toPos++;\n } else if (operation === '\\\\') {\n let previousOperation = hunk.lines[j - 1] ? hunk.lines[j - 1][0] : null;\n if (previousOperation === '+') {\n removeEOFNL = true;\n } else if (previousOperation === '-') {\n addEOFNL = true;\n }\n }\n }\n }\n\n // Handle EOFNL insertion/removal\n if (removeEOFNL) {\n while (!lines[lines.length - 1]) {\n lines.pop();\n delimiters.pop();\n }\n } else if (addEOFNL) {\n lines.push('');\n delimiters.push('\\n');\n }\n for (let _k = 0; _k < lines.length - 1; _k++) {\n lines[_k] = lines[_k] + delimiters[_k];\n }\n return lines.join('');\n}\n\n// Wrapper that supports multiple file patches via callbacks.\nexport function applyPatches(uniDiff, options) {\n if (typeof uniDiff === 'string') {\n uniDiff = parsePatch(uniDiff);\n }\n\n let currentIndex = 0;\n function processIndex() {\n let index = uniDiff[currentIndex++];\n if (!index) {\n return options.complete();\n }\n\n options.loadFile(index, function(err, data) {\n if (err) {\n return options.complete(err);\n }\n\n let updatedContent = applyPatch(data, index, options);\n options.patched(index, updatedContent, function(err) {\n if (err) {\n return options.complete(err);\n }\n\n processIndex();\n });\n });\n }\n processIndex();\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/parse.js":{"lineLengths":[25,13,0,46,13,3,32,0,23,30,27,5,25,83,53,63,16,12,0,25,19,44,0,32,76,0,47,14,21,0,0,73,0,19,32,7,0,10,80,79,0,0,27,42,0,21,0,32,29,0,57,14,37,38,43,58,81,14,12,7,5,66,18,0,0,35,62,0,21,62,46,52,0,36,59,7,0,47,59,10,5,20,53,0,0,24,29,39,90,16,32,76,32,76,16,24,60,59,64,0,30,25,5,0,30,25,5,0,21,24,0,37,84,88,149,14,7,0,94,0,94,36,56,0,32,21,39,24,39,21,24,9,14,14,7,42,0,0,43,24,5,0,46,24,41,0,0,25,39,101,7,0,42,103,7,5,0,16,3,0,30,17,3,0,14,1,13176,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/patch/parse.js"],"names":["parsePatch","uniDiff","options","diffstr","split","delimiters","match","list","i","parseIndex","index","push","length","line","test","header","exec","parseFileHeader","hunks","parseHunk","strict","Error","JSON","stringify","fileHeader","keyPrefix","data","fileName","replace","substr","trim","chunkHeaderIndex","chunkHeaderLine","chunkHeader","hunk","oldStart","oldLines","newStart","newLines","lines","linedelimiters","addCount","removeCount","indexOf","operation"],"mappings":";;;;;;;;;AAAO,SAASA,UAAT,CAAoBC,OAApB,EAA2C;AAAA;AAAA;AAAA;AAAdC,EAAAA,OAAc,uEAAJ,EAAI;AAChD,MAAIC,OAAO,GAAGF,OAAO,CAACG,KAAR,CAAc,qBAAd,CAAd;AAAA,MACIC,UAAU,GAAGJ,OAAO,CAACK,KAAR,CAAc,sBAAd,KAAyC,EAD1D;AAAA,MAEIC,IAAI,GAAG,EAFX;AAAA,MAGIC,CAAC,GAAG,CAHR;;AAKA,WAASC,UAAT,GAAsB;AACpB,QAAIC,KAAK,GAAG,EAAZ;AACAH,IAAAA,IAAI,CAACI,IAAL,CAAUD,KAAV,EAFoB,CAIpB;;AACA,WAAOF,CAAC,GAAGL,OAAO,CAACS,MAAnB,EAA2B;AACzB,UAAIC,IAAI,GAAGV,OAAO,CAACK,CAAD,CAAlB,CADyB,CAGzB;;AACA,UAAK,uBAAD,CAA0BM,IAA1B,CAA+BD,IAA/B,CAAJ,EAA0C;AACxC;AACD,OANwB,CAQzB;;;AACA,UAAIE,MAAM,GAAI,0CAAD,CAA6CC,IAA7C,CAAkDH,IAAlD,CAAb;;AACA,UAAIE,MAAJ,EAAY;AACVL,QAAAA,KAAK,CAACA,KAAN,GAAcK,MAAM,CAAC,CAAD,CAApB;AACD;;AAEDP,MAAAA,CAAC;AACF,KApBmB,CAsBpB;AACA;;;AACAS,IAAAA,eAAe,CAACP,KAAD,CAAf;AACAO,IAAAA,eAAe,CAACP,KAAD,CAAf,CAzBoB,CA2BpB;;AACAA,IAAAA,KAAK,CAACQ,KAAN,GAAc,EAAd;;AAEA,WAAOV,CAAC,GAAGL,OAAO,CAACS,MAAnB,EAA2B;AACzB,UAAIC,KAAI,GAAGV,OAAO,CAACK,CAAD,CAAlB;;AAEA,UAAK,gCAAD,CAAmCM,IAAnC,CAAwCD,KAAxC,CAAJ,EAAmD;AACjD;AACD,OAFD,MAEO,IAAK,KAAD,CAAQC,IAAR,CAAaD,KAAb,CAAJ,EAAwB;AAC7BH,QAAAA,KAAK,CAACQ,KAAN,CAAYP,IAAZ,CAAiBQ,SAAS,EAA1B;AACD,OAFM,MAEA,IAAIN,KAAI,IAAIX,OAAO,CAACkB,MAApB,EAA4B;AACjC;AACA,cAAM,IAAIC,KAAJ,CAAU,mBAAmBb,CAAC,GAAG,CAAvB,IAA4B,GAA5B,GAAkCc,IAAI,CAACC,SAAL,CAAeV,KAAf,CAA5C,CAAN;AACD,OAHM,MAGA;AACLL,QAAAA,CAAC;AACF;AACF;AACF,GAlD+C,CAoDhD;AACA;;;AACA,WAASS,eAAT,CAAyBP,KAAzB,EAAgC;AAC9B,QAAMc,UAAU,GAAI,uBAAD,CAA0BR,IAA1B,CAA+Bb,OAAO,CAACK,CAAD,CAAtC,CAAnB;;AACA,QAAIgB,UAAJ,EAAgB;AACd,UAAIC,SAAS,GAAGD,UAAU,CAAC,CAAD,CAAV,KAAkB,KAAlB,GAA0B,KAA1B,GAAkC,KAAlD;AACA,UAAME,IAAI,GAAGF,UAAU,CAAC,CAAD,CAAV,CAAcpB,KAAd,CAAoB,IAApB,EAA0B,CAA1B,CAAb;AACA,UAAIuB,QAAQ,GAAGD,IAAI,CAAC,CAAD,CAAJ,CAAQE,OAAR,CAAgB,OAAhB,EAAyB,IAAzB,CAAf;;AACA,UAAK,QAAD,CAAWd,IAAX,CAAgBa,QAAhB,CAAJ,EAA+B;AAC7BA,QAAAA,QAAQ,GAAGA,QAAQ,CAACE,MAAT,CAAgB,CAAhB,EAAmBF,QAAQ,CAACf,MAAT,GAAkB,CAArC,CAAX;AACD;;AACDF,MAAAA,KAAK,CAACe,SAAS,GAAG,UAAb,CAAL,GAAgCE,QAAhC;AACAjB,MAAAA,KAAK,CAACe,SAAS,GAAG,QAAb,CAAL,GAA8B,CAACC,IAAI,CAAC,CAAD,CAAJ,IAAW,EAAZ,EAAgBI,IAAhB,EAA9B;AAEAtB,MAAAA,CAAC;AACF;AACF,GApE+C,CAsEhD;AACA;;;AACA,WAASW,SAAT,GAAqB;AACnB,QAAIY,gBAAgB,GAAGvB,CAAvB;AAAA,QACIwB,eAAe,GAAG7B,OAAO,CAACK,CAAC,EAAF,CAD7B;AAAA,QAEIyB,WAAW,GAAGD,eAAe,CAAC5B,KAAhB,CAAsB,4CAAtB,CAFlB;AAIA,QAAI8B,IAAI,GAAG;AACTC,MAAAA,QAAQ,EAAE,CAACF,WAAW,CAAC,CAAD,CADb;AAETG,MAAAA,QAAQ,EAAE,OAAOH,WAAW,CAAC,CAAD,CAAlB,KAA0B,WAA1B,GAAwC,CAAxC,GAA4C,CAACA,WAAW,CAAC,CAAD,CAFzD;AAGTI,MAAAA,QAAQ,EAAE,CAACJ,WAAW,CAAC,CAAD,CAHb;AAITK,MAAAA,QAAQ,EAAE,OAAOL,WAAW,CAAC,CAAD,CAAlB,KAA0B,WAA1B,GAAwC,CAAxC,GAA4C,CAACA,WAAW,CAAC,CAAD,CAJzD;AAKTM,MAAAA,KAAK,EAAE,EALE;AAMTC,MAAAA,cAAc,EAAE;AANP,KAAX,CALmB,CAcnB;AACA;AACA;;AACA,QAAIN,IAAI,CAACE,QAAL,KAAkB,CAAtB,EAAyB;AACvBF,MAAAA,IAAI,CAACC,QAAL,IAAiB,CAAjB;AACD;;AACD,QAAID,IAAI,CAACI,QAAL,KAAkB,CAAtB,EAAyB;AACvBJ,MAAAA,IAAI,CAACG,QAAL,IAAiB,CAAjB;AACD;;AAED,QAAII,QAAQ,GAAG,CAAf;AAAA,QACIC,WAAW,GAAG,CADlB;;AAEA,WAAOlC,CAAC,GAAGL,OAAO,CAACS,MAAnB,EAA2BJ,CAAC,EAA5B,EAAgC;AAC9B;AACA;AACA,UAAIL,OAAO,CAACK,CAAD,CAAP,CAAWmC,OAAX,CAAmB,MAAnB,MAA+B,CAA/B,IACMnC,CAAC,GAAG,CAAJ,GAAQL,OAAO,CAACS,MADtB,IAEKT,OAAO,CAACK,CAAC,GAAG,CAAL,CAAP,CAAemC,OAAf,CAAuB,MAAvB,MAAmC,CAFxC,IAGKxC,OAAO,CAACK,CAAC,GAAG,CAAL,CAAP,CAAemC,OAAf,CAAuB,IAAvB,MAAiC,CAH1C,EAG6C;AACzC;AACH;;AACD,UAAIC,SAAS,GAAIzC,OAAO,CAACK,CAAD,CAAP,CAAWI,MAAX,IAAqB,CAArB,IAA0BJ,CAAC,IAAKL,OAAO,CAACS,MAAR,GAAiB,CAAlD,GAAwD,GAAxD,GAA8DT,OAAO,CAACK,CAAD,CAAP,CAAW,CAAX,CAA9E;;AAEA,UAAIoC,SAAS,KAAK,GAAd,IAAqBA,SAAS,KAAK,GAAnC,IAA0CA,SAAS,KAAK,GAAxD,IAA+DA,SAAS,KAAK,IAAjF,EAAuF;AACrFV,QAAAA,IAAI,CAACK,KAAL,CAAW5B,IAAX,CAAgBR,OAAO,CAACK,CAAD,CAAvB;AACA0B,QAAAA,IAAI,CAACM,cAAL,CAAoB7B,IAApB,CAAyBN,UAAU,CAACG,CAAD,CAAV,IAAiB,IAA1C;;AAEA,YAAIoC,SAAS,KAAK,GAAlB,EAAuB;AACrBH,UAAAA,QAAQ;AACT,SAFD,MAEO,IAAIG,SAAS,KAAK,GAAlB,EAAuB;AAC5BF,UAAAA,WAAW;AACZ,SAFM,MAEA,IAAIE,SAAS,KAAK,GAAlB,EAAuB;AAC5BH,UAAAA,QAAQ;AACRC,UAAAA,WAAW;AACZ;AACF,OAZD,MAYO;AACL;AACD;AACF,KApDkB,CAsDnB;;;AACA,QAAI,CAACD,QAAD,IAAaP,IAAI,CAACI,QAAL,KAAkB,CAAnC,EAAsC;AACpCJ,MAAAA,IAAI,CAACI,QAAL,GAAgB,CAAhB;AACD;;AACD,QAAI,CAACI,WAAD,IAAgBR,IAAI,CAACE,QAAL,KAAkB,CAAtC,EAAyC;AACvCF,MAAAA,IAAI,CAACE,QAAL,GAAgB,CAAhB;AACD,KA5DkB,CA8DnB;;;AACA,QAAIlC,OAAO,CAACkB,MAAZ,EAAoB;AAClB,UAAIqB,QAAQ,KAAKP,IAAI,CAACI,QAAtB,EAAgC;AAC9B,cAAM,IAAIjB,KAAJ,CAAU,sDAAsDU,gBAAgB,GAAG,CAAzE,CAAV,CAAN;AACD;;AACD,UAAIW,WAAW,KAAKR,IAAI,CAACE,QAAzB,EAAmC;AACjC,cAAM,IAAIf,KAAJ,CAAU,wDAAwDU,gBAAgB,GAAG,CAA3E,CAAV,CAAN;AACD;AACF;;AAED,WAAOG,IAAP;AACD;;AAED,SAAO1B,CAAC,GAAGL,OAAO,CAACS,MAAnB,EAA2B;AACzBH,IAAAA,UAAU;AACX;;AAED,SAAOF,IAAP;AACD","sourcesContent":["export function parsePatch(uniDiff, options = {}) {\n let diffstr = uniDiff.split(/\\r\\n|[\\n\\v\\f\\r\\x85]/),\n delimiters = uniDiff.match(/\\r\\n|[\\n\\v\\f\\r\\x85]/g) || [],\n list = [],\n i = 0;\n\n function parseIndex() {\n let index = {};\n list.push(index);\n\n // Parse diff metadata\n while (i < diffstr.length) {\n let line = diffstr[i];\n\n // File header found, end parsing diff metadata\n if ((/^(\\-\\-\\-|\\+\\+\\+|@@)\\s/).test(line)) {\n break;\n }\n\n // Diff index\n let header = (/^(?:Index:|diff(?: -r \\w+)+)\\s+(.+?)\\s*$/).exec(line);\n if (header) {\n index.index = header[1];\n }\n\n i++;\n }\n\n // Parse file headers if they are defined. Unified diff requires them, but\n // there's no technical issues to have an isolated hunk without file header\n parseFileHeader(index);\n parseFileHeader(index);\n\n // Parse hunks\n index.hunks = [];\n\n while (i < diffstr.length) {\n let line = diffstr[i];\n\n if ((/^(Index:|diff|\\-\\-\\-|\\+\\+\\+)\\s/).test(line)) {\n break;\n } else if ((/^@@/).test(line)) {\n index.hunks.push(parseHunk());\n } else if (line && options.strict) {\n // Ignore unexpected content unless in strict mode\n throw new Error('Unknown line ' + (i + 1) + ' ' + JSON.stringify(line));\n } else {\n i++;\n }\n }\n }\n\n // Parses the --- and +++ headers, if none are found, no lines\n // are consumed.\n function parseFileHeader(index) {\n const fileHeader = (/^(---|\\+\\+\\+)\\s+(.*)$/).exec(diffstr[i]);\n if (fileHeader) {\n let keyPrefix = fileHeader[1] === '---' ? 'old' : 'new';\n const data = fileHeader[2].split('\\t', 2);\n let fileName = data[0].replace(/\\\\\\\\/g, '\\\\');\n if ((/^\".*\"$/).test(fileName)) {\n fileName = fileName.substr(1, fileName.length - 2);\n }\n index[keyPrefix + 'FileName'] = fileName;\n index[keyPrefix + 'Header'] = (data[1] || '').trim();\n\n i++;\n }\n }\n\n // Parses a hunk\n // This assumes that we are at the start of a hunk.\n function parseHunk() {\n let chunkHeaderIndex = i,\n chunkHeaderLine = diffstr[i++],\n chunkHeader = chunkHeaderLine.split(/@@ -(\\d+)(?:,(\\d+))? \\+(\\d+)(?:,(\\d+))? @@/);\n\n let hunk = {\n oldStart: +chunkHeader[1],\n oldLines: typeof chunkHeader[2] === 'undefined' ? 1 : +chunkHeader[2],\n newStart: +chunkHeader[3],\n newLines: typeof chunkHeader[4] === 'undefined' ? 1 : +chunkHeader[4],\n lines: [],\n linedelimiters: []\n };\n\n // Unified Diff Format quirk: If the chunk size is 0,\n // the first number is one lower than one would expect.\n // https://www.artima.com/weblogs/viewpost.jsp?thread=164293\n if (hunk.oldLines === 0) {\n hunk.oldStart += 1;\n }\n if (hunk.newLines === 0) {\n hunk.newStart += 1;\n }\n\n let addCount = 0,\n removeCount = 0;\n for (; i < diffstr.length; i++) {\n // Lines starting with '---' could be mistaken for the \"remove line\" operation\n // But they could be the header for the next file. Therefore prune such cases out.\n if (diffstr[i].indexOf('--- ') === 0\n && (i + 2 < diffstr.length)\n && diffstr[i + 1].indexOf('+++ ') === 0\n && diffstr[i + 2].indexOf('@@') === 0) {\n break;\n }\n let operation = (diffstr[i].length == 0 && i != (diffstr.length - 1)) ? ' ' : diffstr[i][0];\n\n if (operation === '+' || operation === '-' || operation === ' ' || operation === '\\\\') {\n hunk.lines.push(diffstr[i]);\n hunk.linedelimiters.push(delimiters[i] || '\\n');\n\n if (operation === '+') {\n addCount++;\n } else if (operation === '-') {\n removeCount++;\n } else if (operation === ' ') {\n addCount++;\n removeCount++;\n }\n } else {\n break;\n }\n }\n\n // Handle the empty block count case\n if (!addCount && hunk.newLines === 1) {\n hunk.newLines = 0;\n }\n if (!removeCount && hunk.oldLines === 1) {\n hunk.oldLines = 0;\n }\n\n // Perform optional sanity checking\n if (options.strict) {\n if (addCount !== hunk.newLines) {\n throw new Error('Added line count did not match for hunk at line ' + (chunkHeaderIndex + 1));\n }\n if (removeCount !== hunk.oldLines) {\n throw new Error('Removed line count did not match for hunk at line ' + (chunkHeaderIndex + 1));\n }\n }\n\n return hunk;\n }\n\n while (i < diffstr.length) {\n parseIndex();\n }\n\n return list;\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/util/distance-iterator.js":{"lineLengths":[25,13,0,46,13,3,30,0,23,63,65,47,8,25,8,23,27,25,32,31,22,30,43,30,22,14,28,79,71,0,0,43,27,7,0,30,5,0,29,30,27,82,31,0,0,43,30,7,0,31,24,80,51,0,4,1,3156,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/util/distance-iterator.js"],"names":["start","minLine","maxLine","wantForward","backwardExhausted","forwardExhausted","localOffset","iterator"],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACe;AAAA;AAAA;AAAA;AAAA,CAASA,KAAT,EAAgBC,OAAhB,EAAyBC,OAAzB,EAAkC;AAC/C,MAAIC,WAAW,GAAG,IAAlB;AAAA,MACIC,iBAAiB,GAAG,KADxB;AAAA,MAEIC,gBAAgB,GAAG,KAFvB;AAAA,MAGIC,WAAW,GAAG,CAHlB;AAKA,SAAO,SAASC,QAAT,GAAoB;AACzB,QAAIJ,WAAW,IAAI,CAACE,gBAApB,EAAsC;AACpC,UAAID,iBAAJ,EAAuB;AACrBE,QAAAA,WAAW;AACZ,OAFD,MAEO;AACLH,QAAAA,WAAW,GAAG,KAAd;AACD,OALmC,CAOpC;AACA;;;AACA,UAAIH,KAAK,GAAGM,WAAR,IAAuBJ,OAA3B,EAAoC;AAClC,eAAOI,WAAP;AACD;;AAEDD,MAAAA,gBAAgB,GAAG,IAAnB;AACD;;AAED,QAAI,CAACD,iBAAL,EAAwB;AACtB,UAAI,CAACC,gBAAL,EAAuB;AACrBF,QAAAA,WAAW,GAAG,IAAd;AACD,OAHqB,CAKtB;AACA;;;AACA,UAAIF,OAAO,IAAID,KAAK,GAAGM,WAAvB,EAAoC;AAClC,eAAO,CAACA,WAAW,EAAnB;AACD;;AAEDF,MAAAA,iBAAiB,GAAG,IAApB;AACA,aAAOG,QAAQ,EAAf;AACD,KA9BwB,CAgCzB;AACA;;AACD,GAlCD;AAmCD","sourcesContent":["// Iterator that traverses in the range of [min, max], stepping\n// by distance from a given start position. I.e. for [0, 4], with\n// start of 2, this will iterate 2, 3, 1, 4, 0.\nexport default function(start, minLine, maxLine) {\n let wantForward = true,\n backwardExhausted = false,\n forwardExhausted = false,\n localOffset = 1;\n\n return function iterator() {\n if (wantForward && !forwardExhausted) {\n if (backwardExhausted) {\n localOffset++;\n } else {\n wantForward = false;\n }\n\n // Check if trying to fit beyond text length, and if not, check it fits\n // after offset location (or desired location on first iteration)\n if (start + localOffset <= maxLine) {\n return localOffset;\n }\n\n forwardExhausted = true;\n }\n\n if (!backwardExhausted) {\n if (!forwardExhausted) {\n wantForward = true;\n }\n\n // Check if trying to fit before text beginning, and if not, check it fits\n // before offset location\n if (minLine <= start - localOffset) {\n return -localOffset++;\n }\n\n backwardExhausted = true;\n return iterator();\n }\n\n // We tried to fit hunk before text beginning and beyond text length, then\n // hunk can't fit on the text. Return undefined\n };\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/merge.js":{"lineLengths":[25,13,0,46,13,3,38,22,0,23,3,25,29,23,1,0,3,25,27,23,1,0,3,25,33,23,1,0,179,0,190,0,416,0,130,0,91,0,183,0,23,30,27,28,25,34,47,47,0,31,29,10,25,3,0,31,29,10,25,3,1,0,36,31,35,98,83,34,0,35,43,3,0,47,33,87,63,63,57,57,42,51,41,41,37,37,12,38,79,79,73,73,5,3,0,17,20,22,21,23,0,78,48,24,6,54,24,6,0,49,65,57,18,66,56,65,61,20,68,12,38,24,73,20,101,20,17,8,115,20,18,33,5,3,0,13,1,0,33,34,55,14,33,11,31,0,33,14,31,9,33,19,31,18,8,5,0,16,74,5,0,12,31,9,29,0,31,13,29,7,31,22,29,41,6,3,0,15,1,0,33,70,1,0,43,24,16,10,26,12,17,20,6,3,1,0,34,90,1,0,34,10,28,28,37,28,21,4,1,0,75,91,74,14,23,21,12,4,15,24,22,12,34,0,35,118,0,78,45,48,0,117,26,38,67,31,22,0,29,22,0,31,0,29,0,31,20,29,29,31,17,29,7,31,25,29,28,67,31,23,0,29,24,0,31,0,29,0,31,21,29,29,31,18,29,7,31,25,29,29,67,31,33,67,32,39,46,25,35,19,20,12,25,64,5,46,0,0,29,30,22,1,0,42,38,42,0,58,72,8,29,7,27,0,29,10,27,5,29,20,27,112,31,23,0,29,0,31,0,29,0,31,21,29,29,31,18,29,7,31,25,29,18,0,13,15,29,7,27,0,29,10,27,5,29,20,27,114,31,23,0,29,0,31,0,29,0,31,21,29,29,31,18,29,7,31,25,29,21,0,13,5,13,27,5,25,0,27,8,25,3,27,13,25,30,29,21,0,27,0,29,0,27,0,29,19,27,27,29,16,27,5,29,23,27,16,0,11,3,0,42,1,0,43,38,54,0,28,29,21,0,27,0,29,0,27,0,29,19,27,27,29,16,27,5,29,23,27,26,10,85,3,1,0,38,23,19,19,15,17,5,1,0,45,78,44,26,20,3,1,0,39,46,44,26,3,1,0,31,15,46,0,44,145,0,47,22,5,0,32,21,20,12,12,5,3,0,13,1,0,46,19,18,21,29,25,0,80,42,85,0,27,12,5,0,57,23,86,50,0,28,24,0,33,29,44,7,5,0,47,27,20,12,24,5,3,0,70,22,3,0,19,19,3,0,44,44,3,0,10,19,20,4,1,0,30,49,37,11,1,0,58,35,82,0,63,19,5,3,0,23,14,1,0,37,19,19,33,35,51,56,0,35,55,39,16,31,9,7,0,35,55,39,16,31,9,7,12,75,19,7,0,75,19,7,5,5,10,23,22,4,1,34588,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/patch/merge.js"],"names":["calcLineCount","hunk","calcOldNewLineCount","lines","oldLines","newLines","undefined","merge","mine","theirs","base","loadPatch","ret","index","newFileName","fileNameChanged","oldFileName","oldHeader","newHeader","selectField","hunks","mineIndex","theirsIndex","mineOffset","theirsOffset","length","mineCurrent","oldStart","Infinity","theirsCurrent","hunkBefore","push","cloneHunk","mergedHunk","Math","min","newStart","mergeLines","param","test","parsePatch","Error","structuredPatch","patch","conflict","check","offset","mineLines","theirOffset","theirLines","their","insertLeading","theirCurrent","mutualChange","collectChange","removal","insertTrailing","myChanges","theirChanges","allRemoves","arrayStartsWith","skipRemoveSuperset","arrayEqual","swap","collectContext","merged","insert","line","state","operation","matchChanges","changes","matchIndex","contextChanges","conflicted","change","match","substr","reduce","prev","removeChanges","delta","i","changeContent","forEach","myCount","theirCount"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;AAAA;AAAA;AAAA;AAAA;;AAEA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;AAEO,SAASA,aAAT,CAAuBC,IAAvB,EAA6B;AAAA;AAAA;AAAA;AACLC,EAAAA,mBAAmB,CAACD,IAAI,CAACE,KAAN,CADd;AAAA,MAC3BC,QAD2B,wBAC3BA,QAD2B;AAAA,MACjBC,QADiB,wBACjBA,QADiB;;AAGlC,MAAID,QAAQ,KAAKE,SAAjB,EAA4B;AAC1BL,IAAAA,IAAI,CAACG,QAAL,GAAgBA,QAAhB;AACD,GAFD,MAEO;AACL,WAAOH,IAAI,CAACG,QAAZ;AACD;;AAED,MAAIC,QAAQ,KAAKC,SAAjB,EAA4B;AAC1BL,IAAAA,IAAI,CAACI,QAAL,GAAgBA,QAAhB;AACD,GAFD,MAEO;AACL,WAAOJ,IAAI,CAACI,QAAZ;AACD;AACF;;AAEM,SAASE,KAAT,CAAeC,IAAf,EAAqBC,MAArB,EAA6BC,IAA7B,EAAmC;AACxCF,EAAAA,IAAI,GAAGG,SAAS,CAACH,IAAD,EAAOE,IAAP,CAAhB;AACAD,EAAAA,MAAM,GAAGE,SAAS,CAACF,MAAD,EAASC,IAAT,CAAlB;AAEA,MAAIE,GAAG,GAAG,EAAV,CAJwC,CAMxC;AACA;AACA;;AACA,MAAIJ,IAAI,CAACK,KAAL,IAAcJ,MAAM,CAACI,KAAzB,EAAgC;AAC9BD,IAAAA,GAAG,CAACC,KAAJ,GAAYL,IAAI,CAACK,KAAL,IAAcJ,MAAM,CAACI,KAAjC;AACD;;AAED,MAAIL,IAAI,CAACM,WAAL,IAAoBL,MAAM,CAACK,WAA/B,EAA4C;AAC1C,QAAI,CAACC,eAAe,CAACP,IAAD,CAApB,EAA4B;AAC1B;AACAI,MAAAA,GAAG,CAACI,WAAJ,GAAkBP,MAAM,CAACO,WAAP,IAAsBR,IAAI,CAACQ,WAA7C;AACAJ,MAAAA,GAAG,CAACE,WAAJ,GAAkBL,MAAM,CAACK,WAAP,IAAsBN,IAAI,CAACM,WAA7C;AACAF,MAAAA,GAAG,CAACK,SAAJ,GAAgBR,MAAM,CAACQ,SAAP,IAAoBT,IAAI,CAACS,SAAzC;AACAL,MAAAA,GAAG,CAACM,SAAJ,GAAgBT,MAAM,CAACS,SAAP,IAAoBV,IAAI,CAACU,SAAzC;AACD,KAND,MAMO,IAAI,CAACH,eAAe,CAACN,MAAD,CAApB,EAA8B;AACnC;AACAG,MAAAA,GAAG,CAACI,WAAJ,GAAkBR,IAAI,CAACQ,WAAvB;AACAJ,MAAAA,GAAG,CAACE,WAAJ,GAAkBN,IAAI,CAACM,WAAvB;AACAF,MAAAA,GAAG,CAACK,SAAJ,GAAgBT,IAAI,CAACS,SAArB;AACAL,MAAAA,GAAG,CAACM,SAAJ,GAAgBV,IAAI,CAACU,SAArB;AACD,KANM,MAMA;AACL;AACAN,MAAAA,GAAG,CAACI,WAAJ,GAAkBG,WAAW,CAACP,GAAD,EAAMJ,IAAI,CAACQ,WAAX,EAAwBP,MAAM,CAACO,WAA/B,CAA7B;AACAJ,MAAAA,GAAG,CAACE,WAAJ,GAAkBK,WAAW,CAACP,GAAD,EAAMJ,IAAI,CAACM,WAAX,EAAwBL,MAAM,CAACK,WAA/B,CAA7B;AACAF,MAAAA,GAAG,CAACK,SAAJ,GAAgBE,WAAW,CAACP,GAAD,EAAMJ,IAAI,CAACS,SAAX,EAAsBR,MAAM,CAACQ,SAA7B,CAA3B;AACAL,MAAAA,GAAG,CAACM,SAAJ,GAAgBC,WAAW,CAACP,GAAD,EAAMJ,IAAI,CAACU,SAAX,EAAsBT,MAAM,CAACS,SAA7B,CAA3B;AACD;AACF;;AAEDN,EAAAA,GAAG,CAACQ,KAAJ,GAAY,EAAZ;AAEA,MAAIC,SAAS,GAAG,CAAhB;AAAA,MACIC,WAAW,GAAG,CADlB;AAAA,MAEIC,UAAU,GAAG,CAFjB;AAAA,MAGIC,YAAY,GAAG,CAHnB;;AAKA,SAAOH,SAAS,GAAGb,IAAI,CAACY,KAAL,CAAWK,MAAvB,IAAiCH,WAAW,GAAGb,MAAM,CAACW,KAAP,CAAaK,MAAnE,EAA2E;AACzE,QAAIC,WAAW,GAAGlB,IAAI,CAACY,KAAL,CAAWC,SAAX,KAAyB;AAACM,MAAAA,QAAQ,EAAEC;AAAX,KAA3C;AAAA,QACIC,aAAa,GAAGpB,MAAM,CAACW,KAAP,CAAaE,WAAb,KAA6B;AAACK,MAAAA,QAAQ,EAAEC;AAAX,KADjD;;AAGA,QAAIE,UAAU,CAACJ,WAAD,EAAcG,aAAd,CAAd,EAA4C;AAC1C;AACAjB,MAAAA,GAAG,CAACQ,KAAJ,CAAUW,IAAV,CAAeC,SAAS,CAACN,WAAD,EAAcH,UAAd,CAAxB;AACAF,MAAAA,SAAS;AACTG,MAAAA,YAAY,IAAIE,WAAW,CAACrB,QAAZ,GAAuBqB,WAAW,CAACtB,QAAnD;AACD,KALD,MAKO,IAAI0B,UAAU,CAACD,aAAD,EAAgBH,WAAhB,CAAd,EAA4C;AACjD;AACAd,MAAAA,GAAG,CAACQ,KAAJ,CAAUW,IAAV,CAAeC,SAAS,CAACH,aAAD,EAAgBL,YAAhB,CAAxB;AACAF,MAAAA,WAAW;AACXC,MAAAA,UAAU,IAAIM,aAAa,CAACxB,QAAd,GAAyBwB,aAAa,CAACzB,QAArD;AACD,KALM,MAKA;AACL;AACA,UAAI6B,UAAU,GAAG;AACfN,QAAAA,QAAQ,EAAEO,IAAI,CAACC,GAAL,CAAST,WAAW,CAACC,QAArB,EAA+BE,aAAa,CAACF,QAA7C,CADK;AAEfvB,QAAAA,QAAQ,EAAE,CAFK;AAGfgC,QAAAA,QAAQ,EAAEF,IAAI,CAACC,GAAL,CAAST,WAAW,CAACU,QAAZ,GAAuBb,UAAhC,EAA4CM,aAAa,CAACF,QAAd,GAAyBH,YAArE,CAHK;AAIfnB,QAAAA,QAAQ,EAAE,CAJK;AAKfF,QAAAA,KAAK,EAAE;AALQ,OAAjB;AAOAkC,MAAAA,UAAU,CAACJ,UAAD,EAAaP,WAAW,CAACC,QAAzB,EAAmCD,WAAW,CAACvB,KAA/C,EAAsD0B,aAAa,CAACF,QAApE,EAA8EE,aAAa,CAAC1B,KAA5F,CAAV;AACAmB,MAAAA,WAAW;AACXD,MAAAA,SAAS;AAETT,MAAAA,GAAG,CAACQ,KAAJ,CAAUW,IAAV,CAAeE,UAAf;AACD;AACF;;AAED,SAAOrB,GAAP;AACD;;AAED,SAASD,SAAT,CAAmB2B,KAAnB,EAA0B5B,IAA1B,EAAgC;AAC9B,MAAI,OAAO4B,KAAP,KAAiB,QAArB,EAA+B;AAC7B,QAAK,MAAD,CAASC,IAAT,CAAcD,KAAd,KAA0B,UAAD,CAAaC,IAAb,CAAkBD,KAAlB,CAA7B,EAAwD;AACtD,aAAO;AAAA;AAAA;AAAA;;AAAAE;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,SAAWF,KAAX,EAAkB,CAAlB;AAAP;AACD;;AAED,QAAI,CAAC5B,IAAL,EAAW;AACT,YAAM,IAAI+B,KAAJ,CAAU,kDAAV,CAAN;AACD;;AACD,WAAO;AAAA;AAAA;AAAA;;AAAAC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,OAAgBpC,SAAhB,EAA2BA,SAA3B,EAAsCI,IAAtC,EAA4C4B,KAA5C;AAAP;AACD;;AAED,SAAOA,KAAP;AACD;;AAED,SAASvB,eAAT,CAAyB4B,KAAzB,EAAgC;AAC9B,SAAOA,KAAK,CAAC7B,WAAN,IAAqB6B,KAAK,CAAC7B,WAAN,KAAsB6B,KAAK,CAAC3B,WAAxD;AACD;;AAED,SAASG,WAAT,CAAqBN,KAArB,EAA4BL,IAA5B,EAAkCC,MAAlC,EAA0C;AACxC,MAAID,IAAI,KAAKC,MAAb,EAAqB;AACnB,WAAOD,IAAP;AACD,GAFD,MAEO;AACLK,IAAAA,KAAK,CAAC+B,QAAN,GAAiB,IAAjB;AACA,WAAO;AAACpC,MAAAA,IAAI,EAAJA,IAAD;AAAOC,MAAAA,MAAM,EAANA;AAAP,KAAP;AACD;AACF;;AAED,SAASqB,UAAT,CAAoBS,IAApB,EAA0BM,KAA1B,EAAiC;AAC/B,SAAON,IAAI,CAACZ,QAAL,GAAgBkB,KAAK,CAAClB,QAAtB,IACDY,IAAI,CAACZ,QAAL,GAAgBY,IAAI,CAACnC,QAAtB,GAAkCyC,KAAK,CAAClB,QAD7C;AAED;;AAED,SAASK,SAAT,CAAmB/B,IAAnB,EAAyB6C,MAAzB,EAAiC;AAC/B,SAAO;AACLnB,IAAAA,QAAQ,EAAE1B,IAAI,CAAC0B,QADV;AACoBvB,IAAAA,QAAQ,EAAEH,IAAI,CAACG,QADnC;AAELgC,IAAAA,QAAQ,EAAEnC,IAAI,CAACmC,QAAL,GAAgBU,MAFrB;AAE6BzC,IAAAA,QAAQ,EAAEJ,IAAI,CAACI,QAF5C;AAGLF,IAAAA,KAAK,EAAEF,IAAI,CAACE;AAHP,GAAP;AAKD;;AAED,SAASkC,UAAT,CAAoBpC,IAApB,EAA0BsB,UAA1B,EAAsCwB,SAAtC,EAAiDC,WAAjD,EAA8DC,UAA9D,EAA0E;AACxE;AACA;AACA,MAAIzC,IAAI,GAAG;AAACsC,IAAAA,MAAM,EAAEvB,UAAT;AAAqBpB,IAAAA,KAAK,EAAE4C,SAA5B;AAAuClC,IAAAA,KAAK,EAAE;AAA9C,GAAX;AAAA,MACIqC,KAAK,GAAG;AAACJ,IAAAA,MAAM,EAAEE,WAAT;AAAsB7C,IAAAA,KAAK,EAAE8C,UAA7B;AAAyCpC,IAAAA,KAAK,EAAE;AAAhD,GADZ,CAHwE,CAMxE;;AACAsC,EAAAA,aAAa,CAAClD,IAAD,EAAOO,IAAP,EAAa0C,KAAb,CAAb;AACAC,EAAAA,aAAa,CAAClD,IAAD,EAAOiD,KAAP,EAAc1C,IAAd,CAAb,CARwE,CAUxE;;AACA,SAAOA,IAAI,CAACK,KAAL,GAAaL,IAAI,CAACL,KAAL,CAAWsB,MAAxB,IAAkCyB,KAAK,CAACrC,KAAN,GAAcqC,KAAK,CAAC/C,KAAN,CAAYsB,MAAnE,EAA2E;AACzE,QAAIC,WAAW,GAAGlB,IAAI,CAACL,KAAL,CAAWK,IAAI,CAACK,KAAhB,CAAlB;AAAA,QACIuC,YAAY,GAAGF,KAAK,CAAC/C,KAAN,CAAY+C,KAAK,CAACrC,KAAlB,CADnB;;AAGA,QAAI,CAACa,WAAW,CAAC,CAAD,CAAX,KAAmB,GAAnB,IAA0BA,WAAW,CAAC,CAAD,CAAX,KAAmB,GAA9C,MACI0B,YAAY,CAAC,CAAD,CAAZ,KAAoB,GAApB,IAA2BA,YAAY,CAAC,CAAD,CAAZ,KAAoB,GADnD,CAAJ,EAC6D;AAC3D;AACAC,MAAAA,YAAY,CAACpD,IAAD,EAAOO,IAAP,EAAa0C,KAAb,CAAZ;AACD,KAJD,MAIO,IAAIxB,WAAW,CAAC,CAAD,CAAX,KAAmB,GAAnB,IAA0B0B,YAAY,CAAC,CAAD,CAAZ,KAAoB,GAAlD,EAAuD;AAAA;AAAA;;AAAA;AAC5D;;AACA;;AAAA;;AAAA;AAAA;AAAA;AAAAnD,MAAAA,IAAI,CAACE,KAAL,EAAW4B,IAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoBuB,MAAAA,aAAa,CAAC9C,IAAD,CAAjC;AACD,KAHM,MAGA,IAAI4C,YAAY,CAAC,CAAD,CAAZ,KAAoB,GAApB,IAA2B1B,WAAW,CAAC,CAAD,CAAX,KAAmB,GAAlD,EAAuD;AAAA;AAAA;;AAAA;AAC5D;;AACA;;AAAA;;AAAA;AAAA;AAAA;AAAAzB,MAAAA,IAAI,CAACE,KAAL,EAAW4B,IAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoBuB,MAAAA,aAAa,CAACJ,KAAD,CAAjC;AACD,KAHM,MAGA,IAAIxB,WAAW,CAAC,CAAD,CAAX,KAAmB,GAAnB,IAA0B0B,YAAY,CAAC,CAAD,CAAZ,KAAoB,GAAlD,EAAuD;AAC5D;AACAG,MAAAA,OAAO,CAACtD,IAAD,EAAOO,IAAP,EAAa0C,KAAb,CAAP;AACD,KAHM,MAGA,IAAIE,YAAY,CAAC,CAAD,CAAZ,KAAoB,GAApB,IAA2B1B,WAAW,CAAC,CAAD,CAAX,KAAmB,GAAlD,EAAuD;AAC5D;AACA6B,MAAAA,OAAO,CAACtD,IAAD,EAAOiD,KAAP,EAAc1C,IAAd,EAAoB,IAApB,CAAP;AACD,KAHM,MAGA,IAAIkB,WAAW,KAAK0B,YAApB,EAAkC;AACvC;AACAnD,MAAAA,IAAI,CAACE,KAAL,CAAW4B,IAAX,CAAgBL,WAAhB;AACAlB,MAAAA,IAAI,CAACK,KAAL;AACAqC,MAAAA,KAAK,CAACrC,KAAN;AACD,KALM,MAKA;AACL;AACA+B,MAAAA,QAAQ,CAAC3C,IAAD,EAAOqD,aAAa,CAAC9C,IAAD,CAApB,EAA4B8C,aAAa,CAACJ,KAAD,CAAzC,CAAR;AACD;AACF,GAxCuE,CA0CxE;;;AACAM,EAAAA,cAAc,CAACvD,IAAD,EAAOO,IAAP,CAAd;AACAgD,EAAAA,cAAc,CAACvD,IAAD,EAAOiD,KAAP,CAAd;AAEAlD,EAAAA,aAAa,CAACC,IAAD,CAAb;AACD;;AAED,SAASoD,YAAT,CAAsBpD,IAAtB,EAA4BO,IAA5B,EAAkC0C,KAAlC,EAAyC;AACvC,MAAIO,SAAS,GAAGH,aAAa,CAAC9C,IAAD,CAA7B;AAAA,MACIkD,YAAY,GAAGJ,aAAa,CAACJ,KAAD,CADhC;;AAGA,MAAIS,UAAU,CAACF,SAAD,CAAV,IAAyBE,UAAU,CAACD,YAAD,CAAvC,EAAuD;AACrD;AACA;AAAI;AAAA;AAAA;;AAAAE;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,KAAgBH,SAAhB,EAA2BC,YAA3B,KACGG,kBAAkB,CAACX,KAAD,EAAQO,SAAR,EAAmBA,SAAS,CAAChC,MAAV,GAAmBiC,YAAY,CAACjC,MAAnD,CADzB,EACqF;AAAA;AAAA;;AAAA;;AACnF;;AAAA;;AAAA;AAAA;AAAA;AAAAxB,MAAAA,IAAI,CAACE,KAAL,EAAW4B,IAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoB0B,MAAAA,SAApB;;AACA;AACD,KAJD,MAIO;AAAI;AAAA;AAAA;;AAAAG;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,KAAgBF,YAAhB,EAA8BD,SAA9B,KACJI,kBAAkB,CAACrD,IAAD,EAAOkD,YAAP,EAAqBA,YAAY,CAACjC,MAAb,GAAsBgC,SAAS,CAAChC,MAArD,CADlB,EACgF;AAAA;AAAA;;AAAA;;AACrF;;AAAA;;AAAA;AAAA;AAAA;AAAAxB,MAAAA,IAAI,CAACE,KAAL,EAAW4B,IAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoB2B,MAAAA,YAApB;;AACA;AACD;AACF,GAXD,MAWO;AAAI;AAAA;AAAA;;AAAAI;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,GAAWL,SAAX,EAAsBC,YAAtB,CAAJ,EAAyC;AAAA;AAAA;;AAAA;;AAC9C;;AAAA;;AAAA;AAAA;AAAA;AAAAzD,IAAAA,IAAI,CAACE,KAAL,EAAW4B,IAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoB0B,IAAAA,SAApB;;AACA;AACD;;AAEDb,EAAAA,QAAQ,CAAC3C,IAAD,EAAOwD,SAAP,EAAkBC,YAAlB,CAAR;AACD;;AAED,SAASH,OAAT,CAAiBtD,IAAjB,EAAuBO,IAAvB,EAA6B0C,KAA7B,EAAoCa,IAApC,EAA0C;AACxC,MAAIN,SAAS,GAAGH,aAAa,CAAC9C,IAAD,CAA7B;AAAA,MACIkD,YAAY,GAAGM,cAAc,CAACd,KAAD,EAAQO,SAAR,CADjC;;AAEA,MAAIC,YAAY,CAACO,MAAjB,EAAyB;AAAA;AAAA;;AAAA;;AACvB;;AAAA;;AAAA;AAAA;AAAA;AAAAhE,IAAAA,IAAI,CAACE,KAAL,EAAW4B,IAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoB2B,IAAAA,YAAY,CAACO,MAAjC;AACD,GAFD,MAEO;AACLrB,IAAAA,QAAQ,CAAC3C,IAAD,EAAO8D,IAAI,GAAGL,YAAH,GAAkBD,SAA7B,EAAwCM,IAAI,GAAGN,SAAH,GAAeC,YAA3D,CAAR;AACD;AACF;;AAED,SAASd,QAAT,CAAkB3C,IAAlB,EAAwBO,IAAxB,EAA8B0C,KAA9B,EAAqC;AACnCjD,EAAAA,IAAI,CAAC2C,QAAL,GAAgB,IAAhB;AACA3C,EAAAA,IAAI,CAACE,KAAL,CAAW4B,IAAX,CAAgB;AACda,IAAAA,QAAQ,EAAE,IADI;AAEdpC,IAAAA,IAAI,EAAEA,IAFQ;AAGdC,IAAAA,MAAM,EAAEyC;AAHM,GAAhB;AAKD;;AAED,SAASC,aAAT,CAAuBlD,IAAvB,EAA6BiE,MAA7B,EAAqChB,KAArC,EAA4C;AAC1C,SAAOgB,MAAM,CAACpB,MAAP,GAAgBI,KAAK,CAACJ,MAAtB,IAAgCoB,MAAM,CAACrD,KAAP,GAAeqD,MAAM,CAAC/D,KAAP,CAAasB,MAAnE,EAA2E;AACzE,QAAI0C,IAAI,GAAGD,MAAM,CAAC/D,KAAP,CAAa+D,MAAM,CAACrD,KAAP,EAAb,CAAX;AACAZ,IAAAA,IAAI,CAACE,KAAL,CAAW4B,IAAX,CAAgBoC,IAAhB;AACAD,IAAAA,MAAM,CAACpB,MAAP;AACD;AACF;;AACD,SAASU,cAAT,CAAwBvD,IAAxB,EAA8BiE,MAA9B,EAAsC;AACpC,SAAOA,MAAM,CAACrD,KAAP,GAAeqD,MAAM,CAAC/D,KAAP,CAAasB,MAAnC,EAA2C;AACzC,QAAI0C,IAAI,GAAGD,MAAM,CAAC/D,KAAP,CAAa+D,MAAM,CAACrD,KAAP,EAAb,CAAX;AACAZ,IAAAA,IAAI,CAACE,KAAL,CAAW4B,IAAX,CAAgBoC,IAAhB;AACD;AACF;;AAED,SAASb,aAAT,CAAuBc,KAAvB,EAA8B;AAC5B,MAAIxD,GAAG,GAAG,EAAV;AAAA,MACIyD,SAAS,GAAGD,KAAK,CAACjE,KAAN,CAAYiE,KAAK,CAACvD,KAAlB,EAAyB,CAAzB,CADhB;;AAEA,SAAOuD,KAAK,CAACvD,KAAN,GAAcuD,KAAK,CAACjE,KAAN,CAAYsB,MAAjC,EAAyC;AACvC,QAAI0C,IAAI,GAAGC,KAAK,CAACjE,KAAN,CAAYiE,KAAK,CAACvD,KAAlB,CAAX,CADuC,CAGvC;;AACA,QAAIwD,SAAS,KAAK,GAAd,IAAqBF,IAAI,CAAC,CAAD,CAAJ,KAAY,GAArC,EAA0C;AACxCE,MAAAA,SAAS,GAAG,GAAZ;AACD;;AAED,QAAIA,SAAS,KAAKF,IAAI,CAAC,CAAD,CAAtB,EAA2B;AACzBvD,MAAAA,GAAG,CAACmB,IAAJ,CAASoC,IAAT;AACAC,MAAAA,KAAK,CAACvD,KAAN;AACD,KAHD,MAGO;AACL;AACD;AACF;;AAED,SAAOD,GAAP;AACD;;AACD,SAASoD,cAAT,CAAwBI,KAAxB,EAA+BE,YAA/B,EAA6C;AAC3C,MAAIC,OAAO,GAAG,EAAd;AAAA,MACIN,MAAM,GAAG,EADb;AAAA,MAEIO,UAAU,GAAG,CAFjB;AAAA,MAGIC,cAAc,GAAG,KAHrB;AAAA,MAIIC,UAAU,GAAG,KAJjB;;AAKA,SAAOF,UAAU,GAAGF,YAAY,CAAC7C,MAA1B,IACE2C,KAAK,CAACvD,KAAN,GAAcuD,KAAK,CAACjE,KAAN,CAAYsB,MADnC,EAC2C;AACzC,QAAIkD,MAAM,GAAGP,KAAK,CAACjE,KAAN,CAAYiE,KAAK,CAACvD,KAAlB,CAAb;AAAA,QACI+D,KAAK,GAAGN,YAAY,CAACE,UAAD,CADxB,CADyC,CAIzC;;AACA,QAAII,KAAK,CAAC,CAAD,CAAL,KAAa,GAAjB,EAAsB;AACpB;AACD;;AAEDH,IAAAA,cAAc,GAAGA,cAAc,IAAIE,MAAM,CAAC,CAAD,CAAN,KAAc,GAAjD;AAEAV,IAAAA,MAAM,CAAClC,IAAP,CAAY6C,KAAZ;AACAJ,IAAAA,UAAU,GAZ+B,CAczC;AACA;;AACA,QAAIG,MAAM,CAAC,CAAD,CAAN,KAAc,GAAlB,EAAuB;AACrBD,MAAAA,UAAU,GAAG,IAAb;;AAEA,aAAOC,MAAM,CAAC,CAAD,CAAN,KAAc,GAArB,EAA0B;AACxBJ,QAAAA,OAAO,CAACxC,IAAR,CAAa4C,MAAb;AACAA,QAAAA,MAAM,GAAGP,KAAK,CAACjE,KAAN,CAAY,EAAEiE,KAAK,CAACvD,KAApB,CAAT;AACD;AACF;;AAED,QAAI+D,KAAK,CAACC,MAAN,CAAa,CAAb,MAAoBF,MAAM,CAACE,MAAP,CAAc,CAAd,CAAxB,EAA0C;AACxCN,MAAAA,OAAO,CAACxC,IAAR,CAAa4C,MAAb;AACAP,MAAAA,KAAK,CAACvD,KAAN;AACD,KAHD,MAGO;AACL6D,MAAAA,UAAU,GAAG,IAAb;AACD;AACF;;AAED,MAAI,CAACJ,YAAY,CAACE,UAAD,CAAZ,IAA4B,EAA7B,EAAiC,CAAjC,MAAwC,GAAxC,IACGC,cADP,EACuB;AACrBC,IAAAA,UAAU,GAAG,IAAb;AACD;;AAED,MAAIA,UAAJ,EAAgB;AACd,WAAOH,OAAP;AACD;;AAED,SAAOC,UAAU,GAAGF,YAAY,CAAC7C,MAAjC,EAAyC;AACvCwC,IAAAA,MAAM,CAAClC,IAAP,CAAYuC,YAAY,CAACE,UAAU,EAAX,CAAxB;AACD;;AAED,SAAO;AACLP,IAAAA,MAAM,EAANA,MADK;AAELM,IAAAA,OAAO,EAAPA;AAFK,GAAP;AAID;;AAED,SAASZ,UAAT,CAAoBY,OAApB,EAA6B;AAC3B,SAAOA,OAAO,CAACO,MAAR,CAAe,UAASC,IAAT,EAAeJ,MAAf,EAAuB;AAC3C,WAAOI,IAAI,IAAIJ,MAAM,CAAC,CAAD,CAAN,KAAc,GAA7B;AACD,GAFM,EAEJ,IAFI,CAAP;AAGD;;AACD,SAASd,kBAAT,CAA4BO,KAA5B,EAAmCY,aAAnC,EAAkDC,KAAlD,EAAyD;AACvD,OAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGD,KAApB,EAA2BC,CAAC,EAA5B,EAAgC;AAC9B,QAAIC,aAAa,GAAGH,aAAa,CAACA,aAAa,CAACvD,MAAd,GAAuBwD,KAAvB,GAA+BC,CAAhC,CAAb,CAAgDL,MAAhD,CAAuD,CAAvD,CAApB;;AACA,QAAIT,KAAK,CAACjE,KAAN,CAAYiE,KAAK,CAACvD,KAAN,GAAcqE,CAA1B,MAAiC,MAAMC,aAA3C,EAA0D;AACxD,aAAO,KAAP;AACD;AACF;;AAEDf,EAAAA,KAAK,CAACvD,KAAN,IAAeoE,KAAf;AACA,SAAO,IAAP;AACD;;AAED,SAAS/E,mBAAT,CAA6BC,KAA7B,EAAoC;AAClC,MAAIC,QAAQ,GAAG,CAAf;AACA,MAAIC,QAAQ,GAAG,CAAf;AAEAF,EAAAA,KAAK,CAACiF,OAAN,CAAc,UAASjB,IAAT,EAAe;AAC3B,QAAI,OAAOA,IAAP,KAAgB,QAApB,EAA8B;AAC5B,UAAIkB,OAAO,GAAGnF,mBAAmB,CAACiE,IAAI,CAAC3D,IAAN,CAAjC;AACA,UAAI8E,UAAU,GAAGpF,mBAAmB,CAACiE,IAAI,CAAC1D,MAAN,CAApC;;AAEA,UAAIL,QAAQ,KAAKE,SAAjB,EAA4B;AAC1B,YAAI+E,OAAO,CAACjF,QAAR,KAAqBkF,UAAU,CAAClF,QAApC,EAA8C;AAC5CA,UAAAA,QAAQ,IAAIiF,OAAO,CAACjF,QAApB;AACD,SAFD,MAEO;AACLA,UAAAA,QAAQ,GAAGE,SAAX;AACD;AACF;;AAED,UAAID,QAAQ,KAAKC,SAAjB,EAA4B;AAC1B,YAAI+E,OAAO,CAAChF,QAAR,KAAqBiF,UAAU,CAACjF,QAApC,EAA8C;AAC5CA,UAAAA,QAAQ,IAAIgF,OAAO,CAAChF,QAApB;AACD,SAFD,MAEO;AACLA,UAAAA,QAAQ,GAAGC,SAAX;AACD;AACF;AACF,KAnBD,MAmBO;AACL,UAAID,QAAQ,KAAKC,SAAb,KAA2B6D,IAAI,CAAC,CAAD,CAAJ,KAAY,GAAZ,IAAmBA,IAAI,CAAC,CAAD,CAAJ,KAAY,GAA1D,CAAJ,EAAoE;AAClE9D,QAAAA,QAAQ;AACT;;AACD,UAAID,QAAQ,KAAKE,SAAb,KAA2B6D,IAAI,CAAC,CAAD,CAAJ,KAAY,GAAZ,IAAmBA,IAAI,CAAC,CAAD,CAAJ,KAAY,GAA1D,CAAJ,EAAoE;AAClE/D,QAAAA,QAAQ;AACT;AACF;AACF,GA5BD;AA8BA,SAAO;AAACA,IAAAA,QAAQ,EAARA,QAAD;AAAWC,IAAAA,QAAQ,EAARA;AAAX,GAAP;AACD","sourcesContent":["import {structuredPatch} from './create';\nimport {parsePatch} from './parse';\n\nimport {arrayEqual, arrayStartsWith} from '../util/array';\n\nexport function calcLineCount(hunk) {\n const {oldLines, newLines} = calcOldNewLineCount(hunk.lines);\n\n if (oldLines !== undefined) {\n hunk.oldLines = oldLines;\n } else {\n delete hunk.oldLines;\n }\n\n if (newLines !== undefined) {\n hunk.newLines = newLines;\n } else {\n delete hunk.newLines;\n }\n}\n\nexport function merge(mine, theirs, base) {\n mine = loadPatch(mine, base);\n theirs = loadPatch(theirs, base);\n\n let ret = {};\n\n // For index we just let it pass through as it doesn't have any necessary meaning.\n // Leaving sanity checks on this to the API consumer that may know more about the\n // meaning in their own context.\n if (mine.index || theirs.index) {\n ret.index = mine.index || theirs.index;\n }\n\n if (mine.newFileName || theirs.newFileName) {\n if (!fileNameChanged(mine)) {\n // No header or no change in ours, use theirs (and ours if theirs does not exist)\n ret.oldFileName = theirs.oldFileName || mine.oldFileName;\n ret.newFileName = theirs.newFileName || mine.newFileName;\n ret.oldHeader = theirs.oldHeader || mine.oldHeader;\n ret.newHeader = theirs.newHeader || mine.newHeader;\n } else if (!fileNameChanged(theirs)) {\n // No header or no change in theirs, use ours\n ret.oldFileName = mine.oldFileName;\n ret.newFileName = mine.newFileName;\n ret.oldHeader = mine.oldHeader;\n ret.newHeader = mine.newHeader;\n } else {\n // Both changed... figure it out\n ret.oldFileName = selectField(ret, mine.oldFileName, theirs.oldFileName);\n ret.newFileName = selectField(ret, mine.newFileName, theirs.newFileName);\n ret.oldHeader = selectField(ret, mine.oldHeader, theirs.oldHeader);\n ret.newHeader = selectField(ret, mine.newHeader, theirs.newHeader);\n }\n }\n\n ret.hunks = [];\n\n let mineIndex = 0,\n theirsIndex = 0,\n mineOffset = 0,\n theirsOffset = 0;\n\n while (mineIndex < mine.hunks.length || theirsIndex < theirs.hunks.length) {\n let mineCurrent = mine.hunks[mineIndex] || {oldStart: Infinity},\n theirsCurrent = theirs.hunks[theirsIndex] || {oldStart: Infinity};\n\n if (hunkBefore(mineCurrent, theirsCurrent)) {\n // This patch does not overlap with any of the others, yay.\n ret.hunks.push(cloneHunk(mineCurrent, mineOffset));\n mineIndex++;\n theirsOffset += mineCurrent.newLines - mineCurrent.oldLines;\n } else if (hunkBefore(theirsCurrent, mineCurrent)) {\n // This patch does not overlap with any of the others, yay.\n ret.hunks.push(cloneHunk(theirsCurrent, theirsOffset));\n theirsIndex++;\n mineOffset += theirsCurrent.newLines - theirsCurrent.oldLines;\n } else {\n // Overlap, merge as best we can\n let mergedHunk = {\n oldStart: Math.min(mineCurrent.oldStart, theirsCurrent.oldStart),\n oldLines: 0,\n newStart: Math.min(mineCurrent.newStart + mineOffset, theirsCurrent.oldStart + theirsOffset),\n newLines: 0,\n lines: []\n };\n mergeLines(mergedHunk, mineCurrent.oldStart, mineCurrent.lines, theirsCurrent.oldStart, theirsCurrent.lines);\n theirsIndex++;\n mineIndex++;\n\n ret.hunks.push(mergedHunk);\n }\n }\n\n return ret;\n}\n\nfunction loadPatch(param, base) {\n if (typeof param === 'string') {\n if ((/^@@/m).test(param) || ((/^Index:/m).test(param))) {\n return parsePatch(param)[0];\n }\n\n if (!base) {\n throw new Error('Must provide a base reference or pass in a patch');\n }\n return structuredPatch(undefined, undefined, base, param);\n }\n\n return param;\n}\n\nfunction fileNameChanged(patch) {\n return patch.newFileName && patch.newFileName !== patch.oldFileName;\n}\n\nfunction selectField(index, mine, theirs) {\n if (mine === theirs) {\n return mine;\n } else {\n index.conflict = true;\n return {mine, theirs};\n }\n}\n\nfunction hunkBefore(test, check) {\n return test.oldStart < check.oldStart\n && (test.oldStart + test.oldLines) < check.oldStart;\n}\n\nfunction cloneHunk(hunk, offset) {\n return {\n oldStart: hunk.oldStart, oldLines: hunk.oldLines,\n newStart: hunk.newStart + offset, newLines: hunk.newLines,\n lines: hunk.lines\n };\n}\n\nfunction mergeLines(hunk, mineOffset, mineLines, theirOffset, theirLines) {\n // This will generally result in a conflicted hunk, but there are cases where the context\n // is the only overlap where we can successfully merge the content here.\n let mine = {offset: mineOffset, lines: mineLines, index: 0},\n their = {offset: theirOffset, lines: theirLines, index: 0};\n\n // Handle any leading content\n insertLeading(hunk, mine, their);\n insertLeading(hunk, their, mine);\n\n // Now in the overlap content. Scan through and select the best changes from each.\n while (mine.index < mine.lines.length && their.index < their.lines.length) {\n let mineCurrent = mine.lines[mine.index],\n theirCurrent = their.lines[their.index];\n\n if ((mineCurrent[0] === '-' || mineCurrent[0] === '+')\n && (theirCurrent[0] === '-' || theirCurrent[0] === '+')) {\n // Both modified ...\n mutualChange(hunk, mine, their);\n } else if (mineCurrent[0] === '+' && theirCurrent[0] === ' ') {\n // Mine inserted\n hunk.lines.push(... collectChange(mine));\n } else if (theirCurrent[0] === '+' && mineCurrent[0] === ' ') {\n // Theirs inserted\n hunk.lines.push(... collectChange(their));\n } else if (mineCurrent[0] === '-' && theirCurrent[0] === ' ') {\n // Mine removed or edited\n removal(hunk, mine, their);\n } else if (theirCurrent[0] === '-' && mineCurrent[0] === ' ') {\n // Their removed or edited\n removal(hunk, their, mine, true);\n } else if (mineCurrent === theirCurrent) {\n // Context identity\n hunk.lines.push(mineCurrent);\n mine.index++;\n their.index++;\n } else {\n // Context mismatch\n conflict(hunk, collectChange(mine), collectChange(their));\n }\n }\n\n // Now push anything that may be remaining\n insertTrailing(hunk, mine);\n insertTrailing(hunk, their);\n\n calcLineCount(hunk);\n}\n\nfunction mutualChange(hunk, mine, their) {\n let myChanges = collectChange(mine),\n theirChanges = collectChange(their);\n\n if (allRemoves(myChanges) && allRemoves(theirChanges)) {\n // Special case for remove changes that are supersets of one another\n if (arrayStartsWith(myChanges, theirChanges)\n && skipRemoveSuperset(their, myChanges, myChanges.length - theirChanges.length)) {\n hunk.lines.push(... myChanges);\n return;\n } else if (arrayStartsWith(theirChanges, myChanges)\n && skipRemoveSuperset(mine, theirChanges, theirChanges.length - myChanges.length)) {\n hunk.lines.push(... theirChanges);\n return;\n }\n } else if (arrayEqual(myChanges, theirChanges)) {\n hunk.lines.push(... myChanges);\n return;\n }\n\n conflict(hunk, myChanges, theirChanges);\n}\n\nfunction removal(hunk, mine, their, swap) {\n let myChanges = collectChange(mine),\n theirChanges = collectContext(their, myChanges);\n if (theirChanges.merged) {\n hunk.lines.push(... theirChanges.merged);\n } else {\n conflict(hunk, swap ? theirChanges : myChanges, swap ? myChanges : theirChanges);\n }\n}\n\nfunction conflict(hunk, mine, their) {\n hunk.conflict = true;\n hunk.lines.push({\n conflict: true,\n mine: mine,\n theirs: their\n });\n}\n\nfunction insertLeading(hunk, insert, their) {\n while (insert.offset < their.offset && insert.index < insert.lines.length) {\n let line = insert.lines[insert.index++];\n hunk.lines.push(line);\n insert.offset++;\n }\n}\nfunction insertTrailing(hunk, insert) {\n while (insert.index < insert.lines.length) {\n let line = insert.lines[insert.index++];\n hunk.lines.push(line);\n }\n}\n\nfunction collectChange(state) {\n let ret = [],\n operation = state.lines[state.index][0];\n while (state.index < state.lines.length) {\n let line = state.lines[state.index];\n\n // Group additions that are immediately after subtractions and treat them as one \"atomic\" modify change.\n if (operation === '-' && line[0] === '+') {\n operation = '+';\n }\n\n if (operation === line[0]) {\n ret.push(line);\n state.index++;\n } else {\n break;\n }\n }\n\n return ret;\n}\nfunction collectContext(state, matchChanges) {\n let changes = [],\n merged = [],\n matchIndex = 0,\n contextChanges = false,\n conflicted = false;\n while (matchIndex < matchChanges.length\n && state.index < state.lines.length) {\n let change = state.lines[state.index],\n match = matchChanges[matchIndex];\n\n // Once we've hit our add, then we are done\n if (match[0] === '+') {\n break;\n }\n\n contextChanges = contextChanges || change[0] !== ' ';\n\n merged.push(match);\n matchIndex++;\n\n // Consume any additions in the other block as a conflict to attempt\n // to pull in the remaining context after this\n if (change[0] === '+') {\n conflicted = true;\n\n while (change[0] === '+') {\n changes.push(change);\n change = state.lines[++state.index];\n }\n }\n\n if (match.substr(1) === change.substr(1)) {\n changes.push(change);\n state.index++;\n } else {\n conflicted = true;\n }\n }\n\n if ((matchChanges[matchIndex] || '')[0] === '+'\n && contextChanges) {\n conflicted = true;\n }\n\n if (conflicted) {\n return changes;\n }\n\n while (matchIndex < matchChanges.length) {\n merged.push(matchChanges[matchIndex++]);\n }\n\n return {\n merged,\n changes\n };\n}\n\nfunction allRemoves(changes) {\n return changes.reduce(function(prev, change) {\n return prev && change[0] === '-';\n }, true);\n}\nfunction skipRemoveSuperset(state, removeChanges, delta) {\n for (let i = 0; i < delta; i++) {\n let changeContent = removeChanges[removeChanges.length - delta + i].substr(1);\n if (state.lines[state.index + i] !== ' ' + changeContent) {\n return false;\n }\n }\n\n state.index += delta;\n return true;\n}\n\nfunction calcOldNewLineCount(lines) {\n let oldLines = 0;\n let newLines = 0;\n\n lines.forEach(function(line) {\n if (typeof line !== 'string') {\n let myCount = calcOldNewLineCount(line.mine);\n let theirCount = calcOldNewLineCount(line.theirs);\n\n if (oldLines !== undefined) {\n if (myCount.oldLines === theirCount.oldLines) {\n oldLines += myCount.oldLines;\n } else {\n oldLines = undefined;\n }\n }\n\n if (newLines !== undefined) {\n if (myCount.newLines === theirCount.newLines) {\n newLines += myCount.newLines;\n } else {\n newLines = undefined;\n }\n }\n } else {\n if (newLines !== undefined && (line[0] === '+' || line[0] === ' ')) {\n newLines++;\n }\n if (oldLines !== undefined && (line[0] === '-' || line[0] === ' ')) {\n oldLines++;\n }\n }\n });\n\n return {oldLines, newLines};\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/patch/create.js":{"lineLengths":[25,13,0,46,13,3,42,34,50,34,0,23,3,25,31,23,1,0,179,0,190,0,416,0,130,0,91,0,183,0,23,99,17,17,3,0,47,24,3,0,12,27,5,25,0,27,7,25,3,27,12,25,28,0,14,11,3,0,13,14,13,53,0,32,39,25,7,3,0,17,24,24,20,18,18,0,27,29,25,6,26,78,26,0,43,31,20,0,29,53,27,31,32,32,0,19,97,43,43,9,29,0,0,31,0,29,0,31,18,29,27,31,15,29,7,31,25,29,34,51,46,0,0,26,32,14,32,7,12,52,26,76,73,35,25,0,33,24,0,35,0,33,0,35,23,33,31,35,20,33,11,35,29,33,32,16,35,25,0,33,37,68,0,35,0,33,0,35,23,33,31,35,20,33,11,35,29,33,54,0,22,36,60,36,60,27,12,0,72,38,51,51,86,0,72,99,80,80,13,0,70,60,13,11,0,27,28,28,24,9,7,0,30,30,5,4,0,41,29,10,27,7,3,0,10,29,29,25,25,16,4,1,0,28,15,0,45,43,3,0,82,109,109,0,47,83,59,64,0,30,25,5,0,30,25,5,0,112,36,3,0,31,1,0,103,111,1,0,79,96,1,15320,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/patch/create.js"],"names":["structuredPatch","oldFileName","newFileName","oldStr","newStr","oldHeader","newHeader","options","context","diff","diffLines","push","value","lines","contextLines","map","entry","hunks","oldRangeStart","newRangeStart","curRange","oldLine","newLine","i","current","replace","split","added","removed","prev","slice","length","contextSize","Math","min","hunk","oldStart","oldLines","newStart","newLines","oldEOFNewline","test","newEOFNewline","noNlBeforeAdds","splice","formatPatch","ret","apply","join","createTwoFilesPatch","createPatch","fileName"],"mappings":";;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;AAEO,SAASA,eAAT,CAAyBC,WAAzB,EAAsCC,WAAtC,EAAmDC,MAAnD,EAA2DC,MAA3D,EAAmEC,SAAnE,EAA8EC,SAA9E,EAAyFC,OAAzF,EAAkG;AACvG,MAAI,CAACA,OAAL,EAAc;AACZA,IAAAA,OAAO,GAAG,EAAV;AACD;;AACD,MAAI,OAAOA,OAAO,CAACC,OAAf,KAA2B,WAA/B,EAA4C;AAC1CD,IAAAA,OAAO,CAACC,OAAR,GAAkB,CAAlB;AACD;;AAED,MAAMC,IAAI;AAAG;AAAA;AAAA;;AAAAC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAA;AAAA,GAAUP,MAAV,EAAkBC,MAAlB,EAA0BG,OAA1B,CAAb;;AACA,MAAG,CAACE,IAAJ,EAAU;AACR;AACD;;AAEDA,EAAAA,IAAI,CAACE,IAAL,CAAU;AAACC,IAAAA,KAAK,EAAE,EAAR;AAAYC,IAAAA,KAAK,EAAE;AAAnB,GAAV,EAbuG,CAapE;;AAEnC,WAASC,YAAT,CAAsBD,KAAtB,EAA6B;AAC3B,WAAOA,KAAK,CAACE,GAAN,CAAU,UAASC,KAAT,EAAgB;AAAE,aAAO,MAAMA,KAAb;AAAqB,KAAjD,CAAP;AACD;;AAED,MAAIC,KAAK,GAAG,EAAZ;AACA,MAAIC,aAAa,GAAG,CAApB;AAAA,MAAuBC,aAAa,GAAG,CAAvC;AAAA,MAA0CC,QAAQ,GAAG,EAArD;AAAA,MACIC,OAAO,GAAG,CADd;AAAA,MACiBC,OAAO,GAAG,CAD3B;;AApBuG;AAAA;AAAA;AAsB9FC,EAAAA,CAtB8F;AAuBrG,QAAMC,OAAO,GAAGf,IAAI,CAACc,CAAD,CAApB;AAAA,QACMV,KAAK,GAAGW,OAAO,CAACX,KAAR,IAAiBW,OAAO,CAACZ,KAAR,CAAca,OAAd,CAAsB,KAAtB,EAA6B,EAA7B,EAAiCC,KAAjC,CAAuC,IAAvC,CAD/B;AAEAF,IAAAA,OAAO,CAACX,KAAR,GAAgBA,KAAhB;;AAEA,QAAIW,OAAO,CAACG,KAAR,IAAiBH,OAAO,CAACI,OAA7B,EAAsC;AAAA;AAAA;;AAAA;AACpC;AACA,UAAI,CAACV,aAAL,EAAoB;AAClB,YAAMW,IAAI,GAAGpB,IAAI,CAACc,CAAC,GAAG,CAAL,CAAjB;AACAL,QAAAA,aAAa,GAAGG,OAAhB;AACAF,QAAAA,aAAa,GAAGG,OAAhB;;AAEA,YAAIO,IAAJ,EAAU;AACRT,UAAAA,QAAQ,GAAGb,OAAO,CAACC,OAAR,GAAkB,CAAlB,GAAsBM,YAAY,CAACe,IAAI,CAAChB,KAAL,CAAWiB,KAAX,CAAiB,CAACvB,OAAO,CAACC,OAA1B,CAAD,CAAlC,GAAyE,EAApF;AACAU,UAAAA,aAAa,IAAIE,QAAQ,CAACW,MAA1B;AACAZ,UAAAA,aAAa,IAAIC,QAAQ,CAACW,MAA1B;AACD;AACF,OAZmC,CAcpC;;;AACA;;AAAA;;AAAA;AAAA;AAAA;AAAAX,MAAAA,QAAQ,EAACT,IAAT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkBE,MAAAA,KAAK,CAACE,GAAN,CAAU,UAASC,KAAT,EAAgB;AAC1C,eAAO,CAACQ,OAAO,CAACG,KAAR,GAAgB,GAAhB,GAAsB,GAAvB,IAA8BX,KAArC;AACD,OAFiB,CAAlB,GAfoC,CAmBpC;;;AACA,UAAIQ,OAAO,CAACG,KAAZ,EAAmB;AACjBL,QAAAA,OAAO,IAAIT,KAAK,CAACkB,MAAjB;AACD,OAFD,MAEO;AACLV,QAAAA,OAAO,IAAIR,KAAK,CAACkB,MAAjB;AACD;AACF,KAzBD,MAyBO;AACL;AACA,UAAIb,aAAJ,EAAmB;AACjB;AACA,YAAIL,KAAK,CAACkB,MAAN,IAAgBxB,OAAO,CAACC,OAAR,GAAkB,CAAlC,IAAuCe,CAAC,GAAGd,IAAI,CAACsB,MAAL,GAAc,CAA7D,EAAgE;AAAA;AAAA;;AAAA;AAC9D;;AACA;;AAAA;;AAAA;AAAA;AAAA;AAAAX,UAAAA,QAAQ,EAACT,IAAT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkBG,UAAAA,YAAY,CAACD,KAAD,CAA9B;AACD,SAHD,MAGO;AAAA;AAAA;;AAAA;AACL;AACA,cAAImB,WAAW,GAAGC,IAAI,CAACC,GAAL,CAASrB,KAAK,CAACkB,MAAf,EAAuBxB,OAAO,CAACC,OAA/B,CAAlB;;AACA;;AAAA;;AAAA;AAAA;AAAA;AAAAY,UAAAA,QAAQ,EAACT,IAAT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkBG,UAAAA,YAAY,CAACD,KAAK,CAACiB,KAAN,CAAY,CAAZ,EAAeE,WAAf,CAAD,CAA9B;;AAEA,cAAIG,IAAI,GAAG;AACTC,YAAAA,QAAQ,EAAElB,aADD;AAETmB,YAAAA,QAAQ,EAAGhB,OAAO,GAAGH,aAAV,GAA0Bc,WAF5B;AAGTM,YAAAA,QAAQ,EAAEnB,aAHD;AAIToB,YAAAA,QAAQ,EAAGjB,OAAO,GAAGH,aAAV,GAA0Ba,WAJ5B;AAKTnB,YAAAA,KAAK,EAAEO;AALE,WAAX;;AAOA,cAAIG,CAAC,IAAId,IAAI,CAACsB,MAAL,GAAc,CAAnB,IAAwBlB,KAAK,CAACkB,MAAN,IAAgBxB,OAAO,CAACC,OAApD,EAA6D;AAC3D;AACA,gBAAIgC,aAAa,GAAK,KAAD,CAAQC,IAAR,CAAatC,MAAb,CAArB;AACA,gBAAIuC,aAAa,GAAK,KAAD,CAAQD,IAAR,CAAarC,MAAb,CAArB;AACA,gBAAIuC,cAAc,GAAG9B,KAAK,CAACkB,MAAN,IAAgB,CAAhB,IAAqBX,QAAQ,CAACW,MAAT,GAAkBI,IAAI,CAACE,QAAjE;;AACA,gBAAI,CAACG,aAAD,IAAkBG,cAAlB,IAAoCxC,MAAM,CAAC4B,MAAP,GAAgB,CAAxD,EAA2D;AACzD;AACA;AACAX,cAAAA,QAAQ,CAACwB,MAAT,CAAgBT,IAAI,CAACE,QAArB,EAA+B,CAA/B,EAAkC,8BAAlC;AACD;;AACD,gBAAK,CAACG,aAAD,IAAkB,CAACG,cAApB,IAAuC,CAACD,aAA5C,EAA2D;AACzDtB,cAAAA,QAAQ,CAACT,IAAT,CAAc,8BAAd;AACD;AACF;;AACDM,UAAAA,KAAK,CAACN,IAAN,CAAWwB,IAAX;AAEAjB,UAAAA,aAAa,GAAG,CAAhB;AACAC,UAAAA,aAAa,GAAG,CAAhB;AACAC,UAAAA,QAAQ,GAAG,EAAX;AACD;AACF;;AACDC,MAAAA,OAAO,IAAIR,KAAK,CAACkB,MAAjB;AACAT,MAAAA,OAAO,IAAIT,KAAK,CAACkB,MAAjB;AACD;AA9FoG;;AAsBvG,OAAK,IAAIR,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGd,IAAI,CAACsB,MAAzB,EAAiCR,CAAC,EAAlC,EAAsC;AAAA;AAAA;AAAA;AAA7BA,IAAAA,CAA6B;AAyErC;;AAED,SAAO;AACLtB,IAAAA,WAAW,EAAEA,WADR;AACqBC,IAAAA,WAAW,EAAEA,WADlC;AAELG,IAAAA,SAAS,EAAEA,SAFN;AAEiBC,IAAAA,SAAS,EAAEA,SAF5B;AAGLW,IAAAA,KAAK,EAAEA;AAHF,GAAP;AAKD;;AAEM,SAAS4B,WAAT,CAAqBpC,IAArB,EAA2B;AAChC,MAAMqC,GAAG,GAAG,EAAZ;;AACA,MAAIrC,IAAI,CAACR,WAAL,IAAoBQ,IAAI,CAACP,WAA7B,EAA0C;AACxC4C,IAAAA,GAAG,CAACnC,IAAJ,CAAS,YAAYF,IAAI,CAACR,WAA1B;AACD;;AACD6C,EAAAA,GAAG,CAACnC,IAAJ,CAAS,qEAAT;AACAmC,EAAAA,GAAG,CAACnC,IAAJ,CAAS,SAASF,IAAI,CAACR,WAAd,IAA6B,OAAOQ,IAAI,CAACJ,SAAZ,KAA0B,WAA1B,GAAwC,EAAxC,GAA6C,OAAOI,IAAI,CAACJ,SAAtF,CAAT;AACAyC,EAAAA,GAAG,CAACnC,IAAJ,CAAS,SAASF,IAAI,CAACP,WAAd,IAA6B,OAAOO,IAAI,CAACH,SAAZ,KAA0B,WAA1B,GAAwC,EAAxC,GAA6C,OAAOG,IAAI,CAACH,SAAtF,CAAT;;AAEA,OAAK,IAAIiB,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGd,IAAI,CAACQ,KAAL,CAAWc,MAA/B,EAAuCR,CAAC,EAAxC,EAA4C;AAC1C,QAAMY,IAAI,GAAG1B,IAAI,CAACQ,KAAL,CAAWM,CAAX,CAAb,CAD0C,CAE1C;AACA;AACA;;AACA,QAAIY,IAAI,CAACE,QAAL,KAAkB,CAAtB,EAAyB;AACvBF,MAAAA,IAAI,CAACC,QAAL,IAAiB,CAAjB;AACD;;AACD,QAAID,IAAI,CAACI,QAAL,KAAkB,CAAtB,EAAyB;AACvBJ,MAAAA,IAAI,CAACG,QAAL,IAAiB,CAAjB;AACD;;AACDQ,IAAAA,GAAG,CAACnC,IAAJ,CACE,SAASwB,IAAI,CAACC,QAAd,GAAyB,GAAzB,GAA+BD,IAAI,CAACE,QAApC,GACE,IADF,GACSF,IAAI,CAACG,QADd,GACyB,GADzB,GAC+BH,IAAI,CAACI,QADpC,GAEE,KAHJ;AAKAO,IAAAA,GAAG,CAACnC,IAAJ,CAASoC,KAAT,CAAeD,GAAf,EAAoBX,IAAI,CAACtB,KAAzB;AACD;;AAED,SAAOiC,GAAG,CAACE,IAAJ,CAAS,IAAT,IAAiB,IAAxB;AACD;;AAEM,SAASC,mBAAT,CAA6BhD,WAA7B,EAA0CC,WAA1C,EAAuDC,MAAvD,EAA+DC,MAA/D,EAAuEC,SAAvE,EAAkFC,SAAlF,EAA6FC,OAA7F,EAAsG;AAC3G,SAAOsC,WAAW,CAAC7C,eAAe,CAACC,WAAD,EAAcC,WAAd,EAA2BC,MAA3B,EAAmCC,MAAnC,EAA2CC,SAA3C,EAAsDC,SAAtD,EAAiEC,OAAjE,CAAhB,CAAlB;AACD;;AAEM,SAAS2C,WAAT,CAAqBC,QAArB,EAA+BhD,MAA/B,EAAuCC,MAAvC,EAA+CC,SAA/C,EAA0DC,SAA1D,EAAqEC,OAArE,EAA8E;AACnF,SAAO0C,mBAAmB,CAACE,QAAD,EAAWA,QAAX,EAAqBhD,MAArB,EAA6BC,MAA7B,EAAqCC,SAArC,EAAgDC,SAAhD,EAA2DC,OAA3D,CAA1B;AACD","sourcesContent":["import {diffLines} from '../diff/line';\n\nexport function structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) {\n if (!options) {\n options = {};\n }\n if (typeof options.context === 'undefined') {\n options.context = 4;\n }\n\n const diff = diffLines(oldStr, newStr, options);\n if(!diff) {\n return;\n }\n\n diff.push({value: '', lines: []}); // Append an empty value to make cleanup easier\n\n function contextLines(lines) {\n return lines.map(function(entry) { return ' ' + entry; });\n }\n\n let hunks = [];\n let oldRangeStart = 0, newRangeStart = 0, curRange = [],\n oldLine = 1, newLine = 1;\n for (let i = 0; i < diff.length; i++) {\n const current = diff[i],\n lines = current.lines || current.value.replace(/\\n$/, '').split('\\n');\n current.lines = lines;\n\n if (current.added || current.removed) {\n // If we have previous context, start with that\n if (!oldRangeStart) {\n const prev = diff[i - 1];\n oldRangeStart = oldLine;\n newRangeStart = newLine;\n\n if (prev) {\n curRange = options.context > 0 ? contextLines(prev.lines.slice(-options.context)) : [];\n oldRangeStart -= curRange.length;\n newRangeStart -= curRange.length;\n }\n }\n\n // Output our changes\n curRange.push(... lines.map(function(entry) {\n return (current.added ? '+' : '-') + entry;\n }));\n\n // Track the updated file position\n if (current.added) {\n newLine += lines.length;\n } else {\n oldLine += lines.length;\n }\n } else {\n // Identical context lines. Track line changes\n if (oldRangeStart) {\n // Close out any changes that have been output (or join overlapping)\n if (lines.length <= options.context * 2 && i < diff.length - 2) {\n // Overlapping\n curRange.push(... contextLines(lines));\n } else {\n // end the range and output\n let contextSize = Math.min(lines.length, options.context);\n curRange.push(... contextLines(lines.slice(0, contextSize)));\n\n let hunk = {\n oldStart: oldRangeStart,\n oldLines: (oldLine - oldRangeStart + contextSize),\n newStart: newRangeStart,\n newLines: (newLine - newRangeStart + contextSize),\n lines: curRange\n };\n if (i >= diff.length - 2 && lines.length <= options.context) {\n // EOF is inside this hunk\n let oldEOFNewline = ((/\\n$/).test(oldStr));\n let newEOFNewline = ((/\\n$/).test(newStr));\n let noNlBeforeAdds = lines.length == 0 && curRange.length > hunk.oldLines;\n if (!oldEOFNewline && noNlBeforeAdds && oldStr.length > 0) {\n // special case: old has no eol and no trailing context; no-nl can end up before adds\n // however, if the old file is empty, do not output the no-nl line\n curRange.splice(hunk.oldLines, 0, '\\\\ No newline at end of file');\n }\n if ((!oldEOFNewline && !noNlBeforeAdds) || !newEOFNewline) {\n curRange.push('\\\\ No newline at end of file');\n }\n }\n hunks.push(hunk);\n\n oldRangeStart = 0;\n newRangeStart = 0;\n curRange = [];\n }\n }\n oldLine += lines.length;\n newLine += lines.length;\n }\n }\n\n return {\n oldFileName: oldFileName, newFileName: newFileName,\n oldHeader: oldHeader, newHeader: newHeader,\n hunks: hunks\n };\n}\n\nexport function formatPatch(diff) {\n const ret = [];\n if (diff.oldFileName == diff.newFileName) {\n ret.push('Index: ' + diff.oldFileName);\n }\n ret.push('===================================================================');\n ret.push('--- ' + diff.oldFileName + (typeof diff.oldHeader === 'undefined' ? '' : '\\t' + diff.oldHeader));\n ret.push('+++ ' + diff.newFileName + (typeof diff.newHeader === 'undefined' ? '' : '\\t' + diff.newHeader));\n\n for (let i = 0; i < diff.hunks.length; i++) {\n const hunk = diff.hunks[i];\n // Unified Diff Format quirk: If the chunk size is 0,\n // the first number is one lower than one would expect.\n // https://www.artima.com/weblogs/viewpost.jsp?thread=164293\n if (hunk.oldLines === 0) {\n hunk.oldStart -= 1;\n }\n if (hunk.newLines === 0) {\n hunk.newStart -= 1;\n }\n ret.push(\n '@@ -' + hunk.oldStart + ',' + hunk.oldLines\n + ' +' + hunk.newStart + ',' + hunk.newLines\n + ' @@'\n );\n ret.push.apply(ret, hunk.lines);\n }\n\n return ret.join('\\n') + '\\n';\n}\n\nexport function createTwoFilesPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) {\n return formatPatch(structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options));\n}\n\nexport function createPatch(fileName, oldStr, newStr, oldHeader, newHeader, options) {\n return createTwoFilesPatch(fileName, fileName, oldStr, newStr, oldHeader, newHeader, options);\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/util/array.js":{"lineLengths":[25,13,0,46,13,3,32,42,0,23,27,30,17,3,0,31,1,0,40,36,17,3,0,42,32,19,5,3,0,14,1,1476,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/util/array.js"],"names":["arrayEqual","a","b","length","arrayStartsWith","array","start","i"],"mappings":";;;;;;;;;;AAAO,SAASA,UAAT,CAAoBC,CAApB,EAAuBC,CAAvB,EAA0B;AAC/B,MAAID,CAAC,CAACE,MAAF,KAAaD,CAAC,CAACC,MAAnB,EAA2B;AACzB,WAAO,KAAP;AACD;;AAED,SAAOC,eAAe,CAACH,CAAD,EAAIC,CAAJ,CAAtB;AACD;;AAEM,SAASE,eAAT,CAAyBC,KAAzB,EAAgCC,KAAhC,EAAuC;AAC5C,MAAIA,KAAK,CAACH,MAAN,GAAeE,KAAK,CAACF,MAAzB,EAAiC;AAC/B,WAAO,KAAP;AACD;;AAED,OAAK,IAAII,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGD,KAAK,CAACH,MAA1B,EAAkCI,CAAC,EAAnC,EAAuC;AACrC,QAAID,KAAK,CAACC,CAAD,CAAL,KAAaF,KAAK,CAACE,CAAD,CAAtB,EAA2B;AACzB,aAAO,KAAP;AACD;AACF;;AAED,SAAO,IAAP;AACD","sourcesContent":["export function arrayEqual(a, b) {\n if (a.length !== b.length) {\n return false;\n }\n\n return arrayStartsWith(a, b);\n}\n\nexport function arrayStartsWith(array, start) {\n if (start.length > array.length) {\n return false;\n }\n\n for (let i = 0; i < start.length; i++) {\n if (start[i] !== array[i]) {\n return false;\n }\n }\n\n return true;\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/convert/dmp.js":{"lineLengths":[25,13,0,46,13,3,50,0,23,65,39,15,13,16,0,44,24,0,23,20,32,21,12,20,5,0,40,3,0,13,1,1644,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/convert/dmp.js"],"names":["convertChangesToDMP","changes","ret","change","operation","i","length","added","removed","push","value"],"mappings":";;;;;;;;;AAAA;AACO,SAASA,mBAAT,CAA6BC,OAA7B,EAAsC;AAC3C,MAAIC,GAAG,GAAG,EAAV;AAAA,MACIC,MADJ;AAAA,MAEIC,SAFJ;;AAGA,OAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGJ,OAAO,CAACK,MAA5B,EAAoCD,CAAC,EAArC,EAAyC;AACvCF,IAAAA,MAAM,GAAGF,OAAO,CAACI,CAAD,CAAhB;;AACA,QAAIF,MAAM,CAACI,KAAX,EAAkB;AAChBH,MAAAA,SAAS,GAAG,CAAZ;AACD,KAFD,MAEO,IAAID,MAAM,CAACK,OAAX,EAAoB;AACzBJ,MAAAA,SAAS,GAAG,CAAC,CAAb;AACD,KAFM,MAEA;AACLA,MAAAA,SAAS,GAAG,CAAZ;AACD;;AAEDF,IAAAA,GAAG,CAACO,IAAJ,CAAS,CAACL,SAAD,EAAYD,MAAM,CAACO,KAAnB,CAAT;AACD;;AACD,SAAOR,GAAP;AACD","sourcesContent":["// See: http://code.google.com/p/google-diff-match-patch/wiki/API\nexport function convertChangesToDMP(changes) {\n let ret = [],\n change,\n operation;\n for (let i = 0; i < changes.length; i++) {\n change = changes[i];\n if (change.added) {\n operation = 1;\n } else if (change.removed) {\n operation = -1;\n } else {\n operation = 0;\n }\n\n ret.push([operation, change.value]);\n }\n return ret;\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/lib/convert/xml.js":{"lineLengths":[25,13,0,46,13,3,50,0,23,39,15,0,44,28,0,23,24,32,24,5,0,39,0,23,25,32,25,5,3,0,22,1,0,24,12,31,30,30,32,11,1,2564,0],"data":{"version":3,"sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/diff/src/convert/xml.js"],"names":["convertChangesToXML","changes","ret","i","length","change","added","push","removed","escapeHTML","value","join","s","n","replace"],"mappings":";;;;;;;;;AAAO,SAASA,mBAAT,CAA6BC,OAA7B,EAAsC;AAC3C,MAAIC,GAAG,GAAG,EAAV;;AACA,OAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGF,OAAO,CAACG,MAA5B,EAAoCD,CAAC,EAArC,EAAyC;AACvC,QAAIE,MAAM,GAAGJ,OAAO,CAACE,CAAD,CAApB;;AACA,QAAIE,MAAM,CAACC,KAAX,EAAkB;AAChBJ,MAAAA,GAAG,CAACK,IAAJ,CAAS,OAAT;AACD,KAFD,MAEO,IAAIF,MAAM,CAACG,OAAX,EAAoB;AACzBN,MAAAA,GAAG,CAACK,IAAJ,CAAS,OAAT;AACD;;AAEDL,IAAAA,GAAG,CAACK,IAAJ,CAASE,UAAU,CAACJ,MAAM,CAACK,KAAR,CAAnB;;AAEA,QAAIL,MAAM,CAACC,KAAX,EAAkB;AAChBJ,MAAAA,GAAG,CAACK,IAAJ,CAAS,QAAT;AACD,KAFD,MAEO,IAAIF,MAAM,CAACG,OAAX,EAAoB;AACzBN,MAAAA,GAAG,CAACK,IAAJ,CAAS,QAAT;AACD;AACF;;AACD,SAAOL,GAAG,CAACS,IAAJ,CAAS,EAAT,CAAP;AACD;;AAED,SAASF,UAAT,CAAoBG,CAApB,EAAuB;AACrB,MAAIC,CAAC,GAAGD,CAAR;AACAC,EAAAA,CAAC,GAAGA,CAAC,CAACC,OAAF,CAAU,IAAV,EAAgB,OAAhB,CAAJ;AACAD,EAAAA,CAAC,GAAGA,CAAC,CAACC,OAAF,CAAU,IAAV,EAAgB,MAAhB,CAAJ;AACAD,EAAAA,CAAC,GAAGA,CAAC,CAACC,OAAF,CAAU,IAAV,EAAgB,MAAhB,CAAJ;AACAD,EAAAA,CAAC,GAAGA,CAAC,CAACC,OAAF,CAAU,IAAV,EAAgB,QAAhB,CAAJ;AAEA,SAAOD,CAAP;AACD","sourcesContent":["export function convertChangesToXML(changes) {\n let ret = [];\n for (let i = 0; i < changes.length; i++) {\n let change = changes[i];\n if (change.added) {\n ret.push('');\n } else if (change.removed) {\n ret.push('');\n }\n\n ret.push(escapeHTML(change.value));\n\n if (change.added) {\n ret.push('');\n } else if (change.removed) {\n ret.push('');\n }\n }\n return ret.join('');\n}\n\nfunction escapeHTML(s) {\n let n = s;\n n = n.replace(/&/g, '&');\n n = n.replace(//g, '>');\n n = n.replace(/\"/g, '"');\n\n return n;\n}\n"],"sourceRoot":""},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/build/tests/helpers/async.js":{"lineLengths":[13,62,23,25,61,1,22,33],"data":{"version":3,"file":"async.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/tests/helpers/async.ts"],"names":[],"mappings":";;;AAAA,SAAgB,KAAK,CAAC,KAAa,EAAE;IACnC,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAA;AAC1D,CAAC;AAFD,sBAEC"},"url":null,"sourceURL":null}}} \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761468-0.json b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761468-0.json new file mode 100644 index 0000000..901efe4 --- /dev/null +++ b/node_modules/fluent-ffmpeg/coverage/tmp/coverage-1066251-1700211761468-0.json @@ -0,0 +1 @@ +{"result":[{"scriptId":"6","url":"node:internal/per_context/primordials","functions":[{"functionName":"SafeIterator","ranges":[{"startOffset":9499,"endOffset":9570,"count":256}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":9575,"endOffset":9624,"count":957}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9629,"endOffset":9674,"count":177}],"isBlockCoverage":true},{"functionName":"desc.value","ranges":[{"startOffset":11239,"endOffset":11306,"count":79}],"isBlockCoverage":true},{"functionName":"SafeMap","ranges":[{"startOffset":11964,"endOffset":11992,"count":703}],"isBlockCoverage":false},{"functionName":"SafeWeakMap","ranges":[{"startOffset":12136,"endOffset":12164,"count":1}],"isBlockCoverage":false},{"functionName":"SafeSet","ranges":[{"startOffset":12293,"endOffset":12321,"count":435}],"isBlockCoverage":false},{"functionName":"SafeFinalizationRegistry","ranges":[{"startOffset":12745,"endOffset":12801,"count":2}],"isBlockCoverage":true},{"functionName":"SafeWeakRef","ranges":[{"startOffset":12954,"endOffset":12992,"count":5}],"isBlockCoverage":true},{"functionName":"SafePromise","ranges":[{"startOffset":13140,"endOffset":13182,"count":810}],"isBlockCoverage":true},{"functionName":"primordials.SafePromisePrototypeFinally","ranges":[{"startOffset":13686,"endOffset":13960,"count":135}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13831,"endOffset":13955,"count":135}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13861,"endOffset":13910,"count":135}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnArrayLike","ranges":[{"startOffset":15280,"endOffset":15836,"count":187}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15315,"endOffset":15835,"count":187},{"startOffset":15485,"endOffset":15504,"count":99},{"startOffset":15577,"endOffset":15831,"count":347},{"startOffset":15615,"endOffset":15638,"count":0},{"startOffset":15831,"endOffset":15834,"count":347}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15706,"endOffset":15815,"count":347},{"startOffset":15788,"endOffset":15807,"count":88}],"isBlockCoverage":true},{"functionName":"primordials.SafePromiseAllReturnVoid","ranges":[{"startOffset":16178,"endOffset":16580,"count":384}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16213,"endOffset":16579,"count":384},{"startOffset":16310,"endOffset":16320,"count":208},{"startOffset":16367,"endOffset":16575,"count":694},{"startOffset":16405,"endOffset":16428,"count":347},{"startOffset":16429,"endOffset":16442,"count":347},{"startOffset":16575,"endOffset":16578,"count":694}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":16496,"endOffset":16559,"count":694},{"startOffset":16541,"endOffset":16551,"count":176}],"isBlockCoverage":true}]},{"scriptId":"8","url":"node:internal/per_context/messageport","functions":[{"functionName":"exports.emitMessage","ranges":[{"startOffset":407,"endOffset":993,"count":314},{"startOffset":683,"endOffset":991,"count":0}],"isBlockCoverage":true}]},{"scriptId":"9","url":"node:internal/bootstrap/realm","functions":[{"functionName":"internalBinding","ranges":[{"startOffset":5955,"endOffset":6217,"count":113}],"isBlockCoverage":false},{"functionName":"getOwn","ranges":[{"startOffset":6377,"endOffset":6531,"count":4076},{"startOffset":6513,"endOffset":6528,"count":0}],"isBlockCoverage":true},{"functionName":"canBeRequiredByUsers","ranges":[{"startOffset":9040,"endOffset":9115,"count":217}],"isBlockCoverage":true},{"functionName":"canBeRequiredWithoutScheme","ranges":[{"startOffset":9126,"endOffset":9220,"count":1985}],"isBlockCoverage":true},{"functionName":"normalizeRequirableId","ranges":[{"startOffset":9231,"endOffset":9576,"count":1350},{"startOffset":9307,"endOffset":9469,"count":0},{"startOffset":9525,"endOffset":9549,"count":86},{"startOffset":9549,"endOffset":9575,"count":1264}],"isBlockCoverage":true},{"functionName":"getCanBeRequiredByUsersWithoutSchemeList","ranges":[{"startOffset":9839,"endOffset":9948,"count":1}],"isBlockCoverage":true},{"functionName":"compileForPublicLoader","ranges":[{"startOffset":10106,"endOffset":10818,"count":107},{"startOffset":10187,"endOffset":10379,"count":0},{"startOffset":10443,"endOffset":10740,"count":19},{"startOffset":10702,"endOffset":10706,"count":0}],"isBlockCoverage":true},{"functionName":"getESMFacade","ranges":[{"startOffset":10822,"endOffset":11584,"count":125},{"startOffset":10860,"endOffset":10879,"count":106},{"startOffset":10879,"endOffset":11583,"count":19}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11321,"endOffset":11424,"count":19}],"isBlockCoverage":true},{"functionName":"syncExports","ranges":[{"startOffset":11880,"endOffset":12224,"count":126},{"startOffset":11999,"endOffset":12214,"count":4076},{"startOffset":12076,"endOffset":12085,"count":0}],"isBlockCoverage":true},{"functionName":"compileForInternalLoader","ranges":[{"startOffset":12228,"endOffset":13050,"count":1734}],"isBlockCoverage":false},{"functionName":"requireBuiltin","ranges":[{"startOffset":13245,"endOffset":13610,"count":1629}],"isBlockCoverage":false}]},{"scriptId":"10","url":"node:internal/errors","functions":[{"functionName":"hideStackFrames","ranges":[{"startOffset":11629,"endOffset":11894,"count":9}],"isBlockCoverage":false}]},{"scriptId":"11","url":"node:internal/bootstrap/node","functions":[{"functionName":"get","ranges":[{"startOffset":3830,"endOffset":3880,"count":222}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3886,"endOffset":3944,"count":1}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4086,"endOffset":4122,"count":3}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":4128,"endOffset":4547,"count":2},{"startOffset":4187,"endOffset":4469,"count":1},{"startOffset":4252,"endOffset":4266,"count":0},{"startOffset":4267,"endOffset":4315,"count":0},{"startOffset":4317,"endOffset":4352,"count":0},{"startOffset":4469,"endOffset":4518,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":7965,"endOffset":8127,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":8229,"endOffset":8425,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":11734,"endOffset":11784,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":12772,"endOffset":12808,"count":2031}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":13678,"endOffset":13713,"count":3}],"isBlockCoverage":true}]},{"scriptId":"12","url":"node:internal/timers","functions":[{"functionName":"","ranges":[{"startOffset":4385,"endOffset":4410,"count":1}],"isBlockCoverage":true},{"functionName":"initAsyncResource","ranges":[{"startOffset":5548,"endOffset":5826,"count":2},{"startOffset":5774,"endOffset":5824,"count":0}],"isBlockCoverage":true},{"functionName":"Timeout","ranges":[{"startOffset":5932,"endOffset":6978,"count":1},{"startOffset":6080,"endOffset":6432,"count":0},{"startOffset":6789,"endOffset":6796,"count":0}],"isBlockCoverage":true},{"functionName":"refresh","ranges":[{"startOffset":7259,"endOffset":7368,"count":313},{"startOffset":7312,"endOffset":7346,"count":0}],"isBlockCoverage":true},{"functionName":"TimersList","ranges":[{"startOffset":7720,"endOffset":8026,"count":1}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":8601,"endOffset":8782,"count":1},{"startOffset":8644,"endOffset":8719,"count":0}],"isBlockCoverage":true},{"functionName":"incRefCount","ranges":[{"startOffset":9403,"endOffset":9569,"count":1}],"isBlockCoverage":true},{"functionName":"decRefCount","ranges":[{"startOffset":9571,"endOffset":9738,"count":1}],"isBlockCoverage":true},{"functionName":"active","ranges":[{"startOffset":9821,"endOffset":9875,"count":313}],"isBlockCoverage":true},{"functionName":"insertGuarded","ranges":[{"startOffset":10303,"endOffset":10819,"count":313},{"startOffset":10427,"endOffset":10434,"count":0},{"startOffset":10551,"endOffset":10625,"count":0},{"startOffset":10646,"endOffset":10687,"count":0},{"startOffset":10722,"endOffset":10793,"count":0}],"isBlockCoverage":true},{"functionName":"insert","ranges":[{"startOffset":10887,"endOffset":11626,"count":314},{"startOffset":11218,"endOffset":11599,"count":1}],"isBlockCoverage":true},{"functionName":"setPosition","ranges":[{"startOffset":12690,"endOffset":12761,"count":1}],"isBlockCoverage":true},{"functionName":"processImmediate","ranges":[{"startOffset":13075,"endOffset":15008,"count":1},{"startOffset":13154,"endOffset":13178,"count":0},{"startOffset":13615,"endOffset":13630,"count":0},{"startOffset":13947,"endOffset":14043,"count":0},{"startOffset":14605,"endOffset":14661,"count":0},{"startOffset":14763,"endOffset":14784,"count":0},{"startOffset":14935,"endOffset":14964,"count":0}],"isBlockCoverage":true},{"functionName":"Immediate","ranges":[{"startOffset":18163,"endOffset":18485,"count":1}],"isBlockCoverage":true},{"functionName":"ref","ranges":[{"startOffset":18489,"endOffset":18755,"count":1}],"isBlockCoverage":true}]},{"scriptId":"13","url":"node:internal/async_hooks","functions":[{"functionName":"newAsyncId","ranges":[{"startOffset":14549,"endOffset":14619,"count":228}],"isBlockCoverage":true},{"functionName":"getDefaultTriggerAsyncId","ranges":[{"startOffset":14994,"endOffset":15284,"count":228},{"startOffset":15250,"endOffset":15283,"count":0}],"isBlockCoverage":true},{"functionName":"hasHooks","ranges":[{"startOffset":16096,"endOffset":16159,"count":1144}],"isBlockCoverage":true},{"functionName":"enabledHooksExist","ranges":[{"startOffset":16161,"endOffset":16220,"count":227}],"isBlockCoverage":true},{"functionName":"initHooksExist","ranges":[{"startOffset":16222,"endOffset":16277,"count":228}],"isBlockCoverage":true},{"functionName":"destroyHooksExist","ranges":[{"startOffset":16338,"endOffset":16399,"count":221}],"isBlockCoverage":true},{"functionName":"emitBeforeScript","ranges":[{"startOffset":16890,"endOffset":17066,"count":227},{"startOffset":17038,"endOffset":17064,"count":0}],"isBlockCoverage":true},{"functionName":"emitAfterScript","ranges":[{"startOffset":17069,"endOffset":17189,"count":227},{"startOffset":17133,"endOffset":17158,"count":0}],"isBlockCoverage":true},{"functionName":"emitDestroyScript","ranges":[{"startOffset":17192,"endOffset":17402,"count":7},{"startOffset":17329,"endOffset":17344,"count":0},{"startOffset":17357,"endOffset":17401,"count":0}],"isBlockCoverage":true},{"functionName":"hasAsyncIdStack","ranges":[{"startOffset":17405,"endOffset":17468,"count":7}],"isBlockCoverage":true},{"functionName":"pushAsyncContext","ranges":[{"startOffset":17534,"endOffset":18104,"count":227},{"startOffset":17754,"endOffset":17804,"count":0}],"isBlockCoverage":true},{"functionName":"popAsyncContext","ranges":[{"startOffset":18169,"endOffset":18780,"count":227},{"startOffset":18285,"endOffset":18298,"count":0},{"startOffset":18377,"endOffset":18483,"count":0}],"isBlockCoverage":true}]},{"scriptId":"14","url":"node:internal/validators","functions":[{"functionName":"isInt32","ranges":[{"startOffset":835,"endOffset":894,"count":430}],"isBlockCoverage":true},{"functionName":"parseFileMode","ranges":[{"startOffset":1629,"endOffset":1940,"count":141},{"startOffset":1722,"endOffset":1890,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2186,"endOffset":2567,"count":13},{"startOffset":2306,"endOffset":2360,"count":0},{"startOffset":2400,"endOffset":2454,"count":0},{"startOffset":2497,"endOffset":2563,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2811,"endOffset":3274,"count":9},{"startOffset":2983,"endOffset":3051,"count":0},{"startOffset":3085,"endOffset":3153,"count":0},{"startOffset":3190,"endOffset":3270,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3512,"endOffset":3944,"count":973},{"startOffset":3582,"endOffset":3646,"count":0},{"startOffset":3678,"endOffset":3742,"count":0},{"startOffset":3766,"endOffset":3769,"count":0},{"startOffset":3866,"endOffset":3942,"count":0}],"isBlockCoverage":true},{"functionName":"validateString","ranges":[{"startOffset":4097,"endOffset":4229,"count":8310}],"isBlockCoverage":false},{"functionName":"validateNumber","ranges":[{"startOffset":4430,"endOffset":4898,"count":141},{"startOffset":4528,"endOffset":4582,"count":0},{"startOffset":4603,"endOffset":4617,"count":140},{"startOffset":4635,"endOffset":4649,"count":139},{"startOffset":4674,"endOffset":4688,"count":1},{"startOffset":4690,"endOffset":4711,"count":140},{"startOffset":4714,"endOffset":4896,"count":0}],"isBlockCoverage":true},{"functionName":"validateBoolean","ranges":[{"startOffset":5573,"endOffset":5708,"count":418},{"startOffset":5651,"endOffset":5706,"count":0}],"isBlockCoverage":true},{"functionName":"getOwnPropertyValueOrDefault","ranges":[{"startOffset":5820,"endOffset":6001,"count":408},{"startOffset":5913,"endOffset":5960,"count":309},{"startOffset":5961,"endOffset":5979,"count":198},{"startOffset":5980,"endOffset":5998,"count":210}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6266,"endOffset":6821,"count":136},{"startOffset":6571,"endOffset":6588,"count":132},{"startOffset":6614,"endOffset":6636,"count":33},{"startOffset":6676,"endOffset":6746,"count":0},{"startOffset":6749,"endOffset":6817,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7775,"endOffset":8053,"count":843},{"startOffset":7837,"endOffset":7900,"count":0},{"startOffset":7933,"endOffset":8051,"count":0}],"isBlockCoverage":true},{"functionName":"validateStringArray","ranges":[{"startOffset":8218,"endOffset":8387,"count":416},{"startOffset":8333,"endOffset":8385,"count":2080}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9948,"endOffset":10178,"count":3},{"startOffset":10013,"endOffset":10176,"count":0}],"isBlockCoverage":true},{"functionName":"validateEncoding","ranges":[{"startOffset":10242,"endOffset":10576,"count":1},{"startOffset":10410,"endOffset":10429,"count":0},{"startOffset":10431,"endOffset":10574,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11385,"endOffset":11602,"count":99},{"startOffset":11432,"endOffset":11528,"count":0},{"startOffset":11530,"endOffset":11600,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11802,"endOffset":11918,"count":920}],"isBlockCoverage":false}]},{"scriptId":"15","url":"node:internal/util","functions":[{"functionName":"toUSVString","ranges":[{"startOffset":1790,"endOffset":2102,"count":247},{"startOffset":2059,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"getDeprecationWarningEmitter","ranges":[{"startOffset":2696,"endOffset":3345,"count":22}],"isBlockCoverage":false},{"functionName":"shouldEmitWarning","ranges":[{"startOffset":2795,"endOffset":2805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2842,"endOffset":3342,"count":0}],"isBlockCoverage":false},{"functionName":"deprecate","ranges":[{"startOffset":4094,"endOffset":5092,"count":22}],"isBlockCoverage":false},{"functionName":"deprecated","ranges":[{"startOffset":4518,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"assertCrypto","ranges":[{"startOffset":5362,"endOffset":5436,"count":1},{"startOffset":5408,"endOffset":5434,"count":0}],"isBlockCoverage":true},{"functionName":"normalizeEncoding","ranges":[{"startOffset":5615,"endOffset":5746,"count":428},{"startOffset":5685,"endOffset":5703,"count":4},{"startOffset":5719,"endOffset":5745,"count":0}],"isBlockCoverage":true},{"functionName":"cachedResult","ranges":[{"startOffset":8110,"endOffset":8266,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8161,"endOffset":8263,"count":0}],"isBlockCoverage":false},{"functionName":"getCWDURL","ranges":[{"startOffset":10233,"endOffset":10743,"count":1},{"startOffset":10561,"endOffset":10610,"count":0}],"isBlockCoverage":true},{"functionName":"promisify","ranges":[{"startOffset":11109,"endOffset":12970,"count":20},{"startOffset":11229,"endOffset":11285,"count":1},{"startOffset":11372,"endOffset":11649,"count":1},{"startOffset":11649,"endOffset":12756,"count":19},{"startOffset":12756,"endOffset":12918,"count":59},{"startOffset":12918,"endOffset":12969,"count":19}],"isBlockCoverage":true},{"functionName":"fn","ranges":[{"startOffset":11849,"endOffset":12368,"count":0}],"isBlockCoverage":false},{"functionName":"spliceOne","ranges":[{"startOffset":13528,"endOffset":13655,"count":1},{"startOffset":13609,"endOffset":13639,"count":0}],"isBlockCoverage":true},{"functionName":"once","ranges":[{"startOffset":14977,"endOffset":15150,"count":7}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15034,"endOffset":15147,"count":7},{"startOffset":15070,"endOffset":15077,"count":0}],"isBlockCoverage":true},{"functionName":"defineOperation","ranges":[{"startOffset":15644,"endOffset":15845,"count":1}],"isBlockCoverage":false},{"functionName":"exposeInterface","ranges":[{"startOffset":15897,"endOffset":16117,"count":1}],"isBlockCoverage":false},{"functionName":"defineLazyProperties","ranges":[{"startOffset":16616,"endOffset":17549,"count":1}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":16835,"endOffset":16978,"count":12}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":17081,"endOffset":17277,"count":12}],"isBlockCoverage":true},{"functionName":"defineReplaceableLazyAttribute","ranges":[{"startOffset":17551,"endOffset":18451,"count":1}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17763,"endOffset":17999,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":18104,"endOffset":18175,"count":0}],"isBlockCoverage":false},{"functionName":"exposeLazyInterfaces","ranges":[{"startOffset":18453,"endOffset":18553,"count":1}],"isBlockCoverage":false},{"functionName":"setOwnProperty","ranges":[{"startOffset":19497,"endOffset":19687,"count":930}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21789,"endOffset":21917,"count":2619},{"startOffset":21833,"endOffset":21895,"count":3}],"isBlockCoverage":true},{"functionName":"setupCoverageHooks","ranges":[{"startOffset":22045,"endOffset":22722,"count":1},{"startOffset":22515,"endOffset":22692,"count":0}],"isBlockCoverage":true},{"functionName":"guessHandleType","ranges":[{"startOffset":22795,"endOffset":22892,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":22894,"endOffset":23438,"count":5}],"isBlockCoverage":false},{"functionName":"WeakReference","ranges":[{"startOffset":22969,"endOffset":23036,"count":5}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":23040,"endOffset":23258,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":23262,"endOffset":23390,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":23394,"endOffset":23436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"16","url":"node:internal/options","functions":[{"functionName":"getCLIOptionsFromBinding","ranges":[{"startOffset":464,"endOffset":598,"count":1010},{"startOffset":521,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"getAliasesFromBinding","ranges":[{"startOffset":600,"endOffset":731,"count":1}],"isBlockCoverage":true},{"functionName":"getEmbedderOptions","ranges":[{"startOffset":733,"endOffset":877,"count":4},{"startOffset":789,"endOffset":849,"count":1}],"isBlockCoverage":true},{"functionName":"refreshOptions","ranges":[{"startOffset":879,"endOffset":960,"count":1}],"isBlockCoverage":true},{"functionName":"getOptionValue","ranges":[{"startOffset":962,"endOffset":1228,"count":1009},{"startOffset":1084,"endOffset":1185,"count":8},{"startOffset":1185,"endOffset":1225,"count":1001}],"isBlockCoverage":true},{"functionName":"get options","ranges":[{"startOffset":1718,"endOffset":1776,"count":1}],"isBlockCoverage":true},{"functionName":"get aliases","ranges":[{"startOffset":1780,"endOffset":1835,"count":1}],"isBlockCoverage":true}]},{"scriptId":"17","url":"node:internal/util/types","functions":[{"functionName":"isUint8Array","ranges":[{"startOffset":236,"endOffset":342,"count":1374}],"isBlockCoverage":true},{"functionName":"isBigInt64Array","ranges":[{"startOffset":1232,"endOffset":1344,"count":7}],"isBlockCoverage":true}]},{"scriptId":"18","url":"node:internal/linkedlist","functions":[{"functionName":"remove","ranges":[{"startOffset":260,"endOffset":487,"count":315}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":543,"endOffset":995,"count":314},{"startOffset":594,"endOffset":611,"count":0}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":997,"endOffset":1057,"count":1}],"isBlockCoverage":true}]},{"scriptId":"19","url":"node:internal/priority_queue","functions":[{"functionName":"insert","ranges":[{"startOffset":692,"endOffset":875,"count":1},{"startOffset":826,"endOffset":843,"count":0}],"isBlockCoverage":true},{"functionName":"percolateUp","ranges":[{"startOffset":1589,"endOffset":2077,"count":1},{"startOffset":1764,"endOffset":1986,"count":0}],"isBlockCoverage":true},{"functionName":"removeAt","ranges":[{"startOffset":2081,"endOffset":2411,"count":1},{"startOffset":2239,"endOffset":2253,"count":0},{"startOffset":2255,"endOffset":2407,"count":0}],"isBlockCoverage":true}]},{"scriptId":"20","url":"node:internal/util/inspect","functions":[{"functionName":"format","ranges":[{"startOffset":72500,"endOffset":72581,"count":1}],"isBlockCoverage":true},{"functionName":"formatWithOptionsInternal","ranges":[{"startOffset":73140,"endOffset":77164,"count":1},{"startOffset":73360,"endOffset":76963,"count":0},{"startOffset":76967,"endOffset":77163,"count":0}],"isBlockCoverage":true}]},{"scriptId":"21","url":"node:internal/assert","functions":[{"functionName":"assert","ranges":[{"startOffset":157,"endOffset":307,"count":1171},{"startOffset":205,"endOffset":305,"count":0}],"isBlockCoverage":true}]},{"scriptId":"22","url":"node:internal/util/debuglog","functions":[{"functionName":"initializeDebugEnv","ranges":[{"startOffset":503,"endOffset":976,"count":1},{"startOffset":595,"endOffset":932,"count":0}],"isBlockCoverage":true},{"functionName":"testEnabled","ranges":[{"startOffset":870,"endOffset":927,"count":0}],"isBlockCoverage":false},{"functionName":"testEnabled","ranges":[{"startOffset":958,"endOffset":969,"count":10}],"isBlockCoverage":true},{"functionName":"noop","ranges":[{"startOffset":1404,"endOffset":1412,"count":3499}],"isBlockCoverage":true},{"functionName":"debuglogImpl","ranges":[{"startOffset":1533,"endOffset":2091,"count":9},{"startOffset":1608,"endOffset":2063,"count":6},{"startOffset":1627,"endOffset":2016,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":1716,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"debuglog","ranges":[{"startOffset":2311,"endOffset":3337,"count":8}],"isBlockCoverage":false},{"functionName":"init","ranges":[{"startOffset":2342,"endOffset":2438,"count":10}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":2453,"endOffset":2847,"count":9},{"startOffset":2700,"endOffset":2730,"count":5},{"startOffset":2737,"endOffset":2776,"count":2},{"startOffset":2783,"endOffset":2837,"count":2}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2877,"endOffset":2946,"count":1}],"isBlockCoverage":true},{"functionName":"test","ranges":[{"startOffset":2908,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"logger","ranges":[{"startOffset":2965,"endOffset":3160,"count":9},{"startOffset":3013,"endOffset":3043,"count":5},{"startOffset":3050,"endOffset":3089,"count":2},{"startOffset":3096,"endOffset":3150,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3231,"endOffset":3265,"count":1}],"isBlockCoverage":true}]},{"scriptId":"23","url":"node:events","functions":[{"functionName":"lazyEventEmitterAsyncResource","ranges":[{"startOffset":3020,"endOffset":6331,"count":5},{"startOffset":3110,"endOffset":6293,"count":1}],"isBlockCoverage":true},{"functionName":"EventEmitterReferencingAsyncResource","ranges":[{"startOffset":3565,"endOffset":3669,"count":0}],"isBlockCoverage":false},{"functionName":"get eventEmitter","ranges":[{"startOffset":3727,"endOffset":3916,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterAsyncResource","ranges":[{"startOffset":4205,"endOffset":4729,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":4866,"endOffset":5236,"count":0}],"isBlockCoverage":false},{"functionName":"emitDestroy","ranges":[{"startOffset":5297,"endOffset":5485,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncId","ranges":[{"startOffset":5545,"endOffset":5736,"count":0}],"isBlockCoverage":false},{"functionName":"get triggerAsyncId","ranges":[{"startOffset":5796,"endOffset":6001,"count":0}],"isBlockCoverage":false},{"functionName":"get asyncResource","ranges":[{"startOffset":6091,"endOffset":6280,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitter","ranges":[{"startOffset":6465,"endOffset":6534,"count":188}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":7019,"endOffset":7075,"count":5}],"isBlockCoverage":true},{"functionName":"checkListener","ranges":[{"startOffset":7985,"endOffset":8063,"count":248}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8171,"endOffset":8219,"count":62}],"isBlockCoverage":true},{"functionName":"EventEmitter.init","ranges":[{"startOffset":9861,"endOffset":10459,"count":188}],"isBlockCoverage":false},{"functionName":"setMaxListeners","ranges":[{"startOffset":11832,"endOffset":11947,"count":1}],"isBlockCoverage":true},{"functionName":"_getMaxListeners","ranges":[{"startOffset":11950,"endOffset":12099,"count":24},{"startOffset":12068,"endOffset":12098,"count":0}],"isBlockCoverage":true},{"functionName":"emit","ranges":[{"startOffset":13256,"endOffset":15559,"count":746}],"isBlockCoverage":false},{"functionName":"_addListener","ranges":[{"startOffset":15562,"endOffset":17456,"count":150}],"isBlockCoverage":false},{"functionName":"addListener","ranges":[{"startOffset":17634,"endOffset":17726,"count":150}],"isBlockCoverage":false},{"functionName":"onceWrapper","ranges":[{"startOffset":18119,"endOffset":18383,"count":1},{"startOffset":18321,"endOffset":18381,"count":0}],"isBlockCoverage":true},{"functionName":"_onceWrap","ranges":[{"startOffset":18385,"endOffset":18626,"count":2}],"isBlockCoverage":true},{"functionName":"once","ranges":[{"startOffset":18817,"endOffset":18943,"count":2}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":19553,"endOffset":20848,"count":96},{"startOffset":19702,"endOffset":19714,"count":0},{"startOffset":19787,"endOffset":19799,"count":0},{"startOffset":19829,"endOffset":19858,"count":23},{"startOffset":19860,"endOffset":20121,"count":73},{"startOffset":19911,"endOffset":19946,"count":11},{"startOffset":19946,"endOffset":20113,"count":62},{"startOffset":20042,"endOffset":20103,"count":61},{"startOffset":20121,"endOffset":20822,"count":23},{"startOffset":20240,"endOffset":20379,"count":45},{"startOffset":20277,"endOffset":20309,"count":22},{"startOffset":20311,"endOffset":20369,"count":23},{"startOffset":20417,"endOffset":20429,"count":0},{"startOffset":20469,"endOffset":20482,"count":22},{"startOffset":20482,"endOffset":20643,"count":1}],"isBlockCoverage":true},{"functionName":"removeAllListeners","ranges":[{"startOffset":21168,"endOffset":22497,"count":77},{"startOffset":21279,"endOffset":21291,"count":0},{"startOffset":21399,"endOffset":21742,"count":0},{"startOffset":21839,"endOffset":22147,"count":11},{"startOffset":21891,"endOffset":21992,"count":44},{"startOffset":21933,"endOffset":21942,"count":11},{"startOffset":21942,"endOffset":21992,"count":33},{"startOffset":22147,"endOffset":22231,"count":66},{"startOffset":22231,"endOffset":22286,"count":55},{"startOffset":22286,"endOffset":22471,"count":11},{"startOffset":22321,"endOffset":22471,"count":0},{"startOffset":22471,"endOffset":22496,"count":66}],"isBlockCoverage":true},{"functionName":"listenerCount","ranges":[{"startOffset":24091,"endOffset":24796,"count":83},{"startOffset":24274,"endOffset":24420,"count":23},{"startOffset":24304,"endOffset":24397,"count":0},{"startOffset":24420,"endOffset":24777,"count":60},{"startOffset":24456,"endOffset":24777,"count":0},{"startOffset":24781,"endOffset":24795,"count":60}],"isBlockCoverage":true},{"functionName":"arrayClone","ranges":[{"startOffset":25048,"endOffset":25521,"count":11},{"startOffset":25257,"endOffset":25297,"count":0},{"startOffset":25302,"endOffset":25350,"count":0},{"startOffset":25355,"endOffset":25411,"count":0},{"startOffset":25416,"endOffset":25480,"count":0},{"startOffset":25484,"endOffset":25520,"count":0}],"isBlockCoverage":true}]},{"scriptId":"24","url":"node:buffer","functions":[{"functionName":"createPool","ranges":[{"startOffset":4069,"endOffset":4228,"count":1}],"isBlockCoverage":false},{"functionName":"alignPool","ranges":[{"startOffset":4244,"endOffset":4366,"count":87}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":8544,"endOffset":9509,"count":91}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11456,"endOffset":11516,"count":139}],"isBlockCoverage":true},{"functionName":"alloc","ranges":[{"startOffset":11619,"endOffset":11864,"count":1},{"startOffset":11703,"endOffset":11716,"count":0},{"startOffset":11717,"endOffset":11728,"count":0},{"startOffset":11730,"endOffset":11831,"count":0}],"isBlockCoverage":true},{"functionName":"allocUnsafe","ranges":[{"startOffset":12043,"endOffset":12118,"count":3}],"isBlockCoverage":true},{"functionName":"allocUnsafeSlow","ranges":[{"startOffset":12359,"endOffset":12448,"count":135}],"isBlockCoverage":true},{"functionName":"allocate","ranges":[{"startOffset":12748,"endOffset":13080,"count":3},{"startOffset":12791,"endOffset":12825,"count":0},{"startOffset":12912,"endOffset":12925,"count":0},{"startOffset":13043,"endOffset":13079,"count":0}],"isBlockCoverage":true},{"functionName":"fromStringFast","ranges":[{"startOffset":13082,"endOffset":13628,"count":84}],"isBlockCoverage":false},{"functionName":"fromString","ranges":[{"startOffset":13630,"endOffset":14083,"count":84}],"isBlockCoverage":false},{"functionName":"fromArrayBuffer","ranges":[{"startOffset":14085,"endOffset":14782,"count":6},{"startOffset":14229,"endOffset":14325,"count":0},{"startOffset":14402,"endOffset":14447,"count":0},{"startOffset":14506,"endOffset":14729,"count":0}],"isBlockCoverage":true},{"functionName":"fromArrayLike","ranges":[{"startOffset":14784,"endOffset":15178,"count":1},{"startOffset":14841,"endOffset":14865,"count":0},{"startOffset":14964,"endOffset":14977,"count":0},{"startOffset":15146,"endOffset":15177,"count":0}],"isBlockCoverage":true},{"functionName":"fromObject","ranges":[{"startOffset":15180,"endOffset":15486,"count":1},{"startOffset":15238,"endOffset":15269,"count":0},{"startOffset":15313,"endOffset":15351,"count":0},{"startOffset":15386,"endOffset":15441,"count":0},{"startOffset":15443,"endOffset":15484,"count":0}],"isBlockCoverage":true},{"functionName":"isEncoding","ranges":[{"startOffset":15947,"endOffset":16098,"count":427}],"isBlockCoverage":true},{"functionName":"base64ByteLength","ranges":[{"startOffset":17314,"endOffset":17582,"count":1},{"startOffset":17520,"endOffset":17528,"count":0}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":17717,"endOffset":17781,"count":76}],"isBlockCoverage":false},{"functionName":"byteLength","ranges":[{"startOffset":19172,"endOffset":19197,"count":3}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":19210,"endOffset":19275,"count":3}],"isBlockCoverage":true},{"functionName":"byteLength","ranges":[{"startOffset":19659,"endOffset":19710,"count":1}],"isBlockCoverage":true},{"functionName":"byteLength","ranges":[{"startOffset":20711,"endOffset":20742,"count":4}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":20755,"endOffset":20818,"count":4}],"isBlockCoverage":true},{"functionName":"getEncodingOps","ranges":[{"startOffset":21109,"endOffset":22933,"count":82},{"startOffset":21196,"endOffset":21495,"count":74},{"startOffset":21259,"endOffset":21495,"count":0},{"startOffset":21500,"endOffset":21919,"count":3},{"startOffset":21540,"endOffset":21564,"count":0},{"startOffset":21622,"endOffset":21919,"count":0},{"startOffset":21924,"endOffset":22078,"count":0},{"startOffset":22083,"endOffset":22239,"count":0},{"startOffset":22244,"endOffset":22625,"count":1},{"startOffset":22318,"endOffset":22344,"count":0},{"startOffset":22404,"endOffset":22516,"count":0},{"startOffset":22526,"endOffset":22625,"count":0},{"startOffset":22630,"endOffset":22762,"count":4},{"startOffset":22667,"endOffset":22716,"count":0},{"startOffset":22749,"endOffset":22762,"count":0},{"startOffset":22767,"endOffset":22927,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":24337,"endOffset":24916,"count":3},{"startOffset":24457,"endOffset":24620,"count":0},{"startOffset":24626,"endOffset":24915,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":40905,"endOffset":40940,"count":10}],"isBlockCoverage":true}]},{"scriptId":"25","url":"node:internal/buffer","functions":[{"functionName":"checkBounds","ranges":[{"startOffset":1176,"endOffset":1392,"count":1},{"startOffset":1339,"endOffset":1390,"count":0}],"isBlockCoverage":true},{"functionName":"checkInt","ranges":[{"startOffset":1394,"endOffset":2016,"count":1},{"startOffset":1490,"endOffset":1974,"count":0}],"isBlockCoverage":true},{"functionName":"writeU_Int16LE","ranges":[{"startOffset":19483,"endOffset":19679,"count":1}],"isBlockCoverage":true},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19681,"endOffset":19783,"count":1}],"isBlockCoverage":true},{"functionName":"FastBuffer","ranges":[{"startOffset":26365,"endOffset":26465,"count":231}],"isBlockCoverage":false},{"functionName":"markAsUntransferable","ranges":[{"startOffset":29764,"endOffset":30013,"count":1}],"isBlockCoverage":false},{"functionName":"createUnsafeBuffer","ranges":[{"startOffset":30291,"endOffset":30427,"count":136}],"isBlockCoverage":false},{"functionName":"reconnectZeroFillToggle","ranges":[{"startOffset":30682,"endOffset":30754,"count":1}],"isBlockCoverage":true}]},{"scriptId":"27","url":"node:internal/process/per_thread","functions":[{"functionName":"refreshHrtimeBuffer","ranges":[{"startOffset":1388,"endOffset":1856,"count":1}],"isBlockCoverage":false},{"functionName":"hrtime","ranges":[{"startOffset":1905,"endOffset":2407,"count":33},{"startOffset":1976,"endOffset":2326,"count":0}],"isBlockCoverage":true},{"functionName":"buildAllowedFlags","ranges":[{"startOffset":7688,"endOffset":11790,"count":1},{"startOffset":7976,"endOffset":8267,"count":159},{"startOffset":8028,"endOffset":8263,"count":124},{"startOffset":8125,"endOffset":8257,"count":62},{"startOffset":8735,"endOffset":9157,"count":23},{"startOffset":8789,"endOffset":9153,"count":11},{"startOffset":8878,"endOffset":8947,"count":2},{"startOffset":9012,"endOffset":9081,"count":0}],"isBlockCoverage":true},{"functionName":"isAccepted","ranges":[{"startOffset":8271,"endOffset":8683,"count":29},{"startOffset":8341,"endOffset":8355,"count":28},{"startOffset":8357,"endOffset":8369,"count":2},{"startOffset":8369,"endOffset":8446,"count":27},{"startOffset":8446,"endOffset":8615,"count":2},{"startOffset":8496,"endOffset":8543,"count":1},{"startOffset":8615,"endOffset":8682,"count":25}],"isBlockCoverage":true},{"functionName":"trimLeadingDashes","ranges":[{"startOffset":9191,"endOffset":9253,"count":197}],"isBlockCoverage":true},{"functionName":"NodeEnvironmentFlagsSet","ranges":[{"startOffset":9563,"endOffset":9639,"count":1}],"isBlockCoverage":true},{"functionName":"add","ranges":[{"startOffset":9645,"endOffset":9714,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":9720,"endOffset":9793,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":9799,"endOffset":9851,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":9857,"endOffset":10672,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":10678,"endOffset":10843,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":10849,"endOffset":11026,"count":0}],"isBlockCoverage":false},{"functionName":"get size","ranges":[{"startOffset":11032,"endOffset":11093,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":11099,"endOffset":11262,"count":0}],"isBlockCoverage":false},{"functionName":"toggleTraceCategoryState","ranges":[{"startOffset":11980,"endOffset":12310,"count":1},{"startOffset":12060,"endOffset":12235,"count":0},{"startOffset":12267,"endOffset":12308,"count":0}],"isBlockCoverage":true}]},{"scriptId":"28","url":"node:internal/process/task_queues","functions":[{"functionName":"setHasTickScheduled","ranges":[{"startOffset":1059,"endOffset":1145,"count":161},{"startOffset":1135,"endOffset":1138,"count":81},{"startOffset":1139,"endOffset":1142,"count":80}],"isBlockCoverage":true},{"functionName":"processTicksAndRejections","ranges":[{"startOffset":1445,"endOffset":2424,"count":80},{"startOffset":1501,"endOffset":2304,"count":81},{"startOffset":1547,"endOffset":2279,"count":219},{"startOffset":1748,"endOffset":1781,"count":11},{"startOffset":1781,"endOffset":2155,"count":208},{"startOffset":1868,"endOffset":1901,"count":164},{"startOffset":1914,"endOffset":1956,"count":44},{"startOffset":1969,"endOffset":2020,"count":0},{"startOffset":2033,"endOffset":2093,"count":0},{"startOffset":2106,"endOffset":2133,"count":0},{"startOffset":2217,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"nextTick","ranges":[{"startOffset":2568,"endOffset":3442,"count":219},{"startOffset":2669,"endOffset":2676,"count":0},{"startOffset":2724,"endOffset":2738,"count":11},{"startOffset":2743,"endOffset":2780,"count":164},{"startOffset":2785,"endOffset":2836,"count":44},{"startOffset":2841,"endOffset":2906,"count":0},{"startOffset":2911,"endOffset":3054,"count":0},{"startOffset":3083,"endOffset":3109,"count":81},{"startOffset":3354,"endOffset":3414,"count":0}],"isBlockCoverage":true},{"functionName":"runMicrotask","ranges":[{"startOffset":3444,"endOffset":3620,"count":7}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3493,"endOffset":3616,"count":7}],"isBlockCoverage":true},{"functionName":"queueMicrotask","ranges":[{"startOffset":3692,"endOffset":3981,"count":7}],"isBlockCoverage":true}]},{"scriptId":"29","url":"node:internal/process/promises","functions":[{"functionName":"setHasRejectionToWarn","ranges":[{"startOffset":2155,"endOffset":2245,"count":80},{"startOffset":2235,"endOffset":2238,"count":0}],"isBlockCoverage":true},{"functionName":"processPromiseRejections","ranges":[{"startOffset":6672,"endOffset":9849,"count":80},{"startOffset":6830,"endOffset":7009,"count":0},{"startOffset":7074,"endOffset":9753,"count":0}],"isBlockCoverage":true}]},{"scriptId":"30","url":"node:internal/fixed_queue","functions":[{"functionName":"isEmpty","ranges":[{"startOffset":3077,"endOffset":3129,"count":600}],"isBlockCoverage":true},{"functionName":"isFull","ranges":[{"startOffset":3133,"endOffset":3200,"count":219}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3204,"endOffset":3291,"count":219}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3295,"endOffset":3510,"count":300},{"startOffset":3388,"endOffset":3400,"count":81},{"startOffset":3400,"endOffset":3509,"count":219}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":3630,"endOffset":3677,"count":300}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":3681,"endOffset":3945,"count":219},{"startOffset":3722,"endOffset":3915,"count":0}],"isBlockCoverage":true},{"functionName":"shift","ranges":[{"startOffset":3949,"endOffset":4204,"count":300},{"startOffset":4041,"endOffset":4062,"count":162},{"startOffset":4064,"endOffset":4183,"count":0}],"isBlockCoverage":true}]},{"scriptId":"31","url":"node:async_hooks","functions":[{"functionName":"AsyncResource","ranges":[{"startOffset":4564,"endOffset":5761,"count":7},{"startOffset":4839,"endOffset":4860,"count":0},{"startOffset":5092,"endOffset":5171,"count":0},{"startOffset":5323,"endOffset":5486,"count":0},{"startOffset":5518,"endOffset":5540,"count":0},{"startOffset":5542,"endOffset":5757,"count":0}],"isBlockCoverage":true},{"functionName":"runInAsyncScope","ranges":[{"startOffset":5765,"endOffset":6081,"count":7}],"isBlockCoverage":true},{"functionName":"emitDestroy","ranges":[{"startOffset":6085,"endOffset":6260,"count":7},{"startOffset":6146,"endOffset":6199,"count":0}],"isBlockCoverage":true}]},{"scriptId":"32","url":"node:timers","functions":[{"functionName":"","ranges":[{"startOffset":1819,"endOffset":1844,"count":1}],"isBlockCoverage":true},{"functionName":"unenroll","ranges":[{"startOffset":2343,"endOffset":3527,"count":1},{"startOffset":2396,"endOffset":2403,"count":0},{"startOffset":2463,"endOffset":2509,"count":0},{"startOffset":2600,"endOffset":2638,"count":0},{"startOffset":2644,"endOffset":2679,"count":0}],"isBlockCoverage":true},{"functionName":"setTimeout","ranges":[{"startOffset":4229,"endOffset":4886,"count":1},{"startOffset":4396,"endOffset":4403,"count":0},{"startOffset":4433,"endOffset":4474,"count":0},{"startOffset":4479,"endOffset":4526,"count":0},{"startOffset":4531,"endOffset":4752,"count":0}],"isBlockCoverage":true},{"functionName":"clearTimeout","ranges":[{"startOffset":5206,"endOffset":5572,"count":1},{"startOffset":5337,"endOffset":5398,"count":0},{"startOffset":5400,"endOffset":5570,"count":0}],"isBlockCoverage":true},{"functionName":"setImmediate","ranges":[{"startOffset":7504,"endOffset":8057,"count":1},{"startOffset":7691,"endOffset":7732,"count":0},{"startOffset":7737,"endOffset":7784,"count":0},{"startOffset":7789,"endOffset":8010,"count":0}],"isBlockCoverage":true}]},{"scriptId":"33","url":"node:internal/process/execution","functions":[{"functionName":"tryGetCwd","ranges":[{"startOffset":681,"endOffset":1011,"count":1},{"startOffset":742,"endOffset":1009,"count":0}],"isBlockCoverage":true}]},{"scriptId":"34","url":"node:path","functions":[{"functionName":"isPosixPathSeparator","ranges":[{"startOffset":1825,"endOffset":1902,"count":345216}],"isBlockCoverage":true},{"functionName":"normalizeString","ranges":[{"startOffset":2137,"endOffset":4085,"count":4841},{"startOffset":2354,"endOffset":4069,"count":344773},{"startOffset":2387,"endOffset":2429,"count":339932},{"startOffset":2429,"endOffset":2520,"count":4841},{"startOffset":2472,"endOffset":2478,"count":4398},{"startOffset":2478,"endOffset":2520,"count":443},{"startOffset":2520,"endOffset":2553,"count":340375},{"startOffset":2553,"endOffset":3970,"count":41823},{"startOffset":2585,"endOffset":2598,"count":35459},{"startOffset":2600,"endOffset":2625,"count":7038},{"startOffset":2625,"endOffset":3927,"count":34785},{"startOffset":2647,"endOffset":3682,"count":164},{"startOffset":2676,"endOffset":2702,"count":89},{"startOffset":2703,"endOffset":2777,"count":5},{"startOffset":2778,"endOffset":2852,"count":4},{"startOffset":2854,"endOffset":3542,"count":160},{"startOffset":2886,"endOffset":3363,"count":85},{"startOffset":3006,"endOffset":3082,"count":0},{"startOffset":3363,"endOffset":3532,"count":75},{"startOffset":3391,"endOffset":3532,"count":0},{"startOffset":3542,"endOffset":3674,"count":79},{"startOffset":3605,"endOffset":3623,"count":4},{"startOffset":3624,"endOffset":3630,"count":75},{"startOffset":3682,"endOffset":3927,"count":34621},{"startOffset":3728,"endOffset":3797,"count":29856},{"startOffset":3797,"endOffset":3872,"count":4765},{"startOffset":3927,"endOffset":3970,"count":41738},{"startOffset":3970,"endOffset":4065,"count":298552},{"startOffset":3998,"endOffset":4012,"count":4627},{"startOffset":4014,"endOffset":4035,"count":1019},{"startOffset":4035,"endOffset":4065,"count":297533}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":33904,"endOffset":34827,"count":4394},{"startOffset":34027,"endOffset":34047,"count":11543},{"startOffset":34054,"endOffset":34381,"count":7149},{"startOffset":34092,"endOffset":34104,"count":0},{"startOffset":34207,"endOffset":34234,"count":1},{"startOffset":34234,"endOffset":34381,"count":7148},{"startOffset":34766,"endOffset":34816,"count":0},{"startOffset":34817,"endOffset":34822,"count":0}],"isBlockCoverage":true},{"functionName":"normalize","ranges":[{"startOffset":34893,"endOffset":35506,"count":447},{"startOffset":34979,"endOffset":34990,"count":0},{"startOffset":35318,"endOffset":35412,"count":0},{"startOffset":35446,"endOffset":35458,"count":4},{"startOffset":35482,"endOffset":35494,"count":25},{"startOffset":35495,"endOffset":35501,"count":422}],"isBlockCoverage":true},{"functionName":"isAbsolute","ranges":[{"startOffset":35573,"endOffset":35729,"count":774}],"isBlockCoverage":true},{"functionName":"join","ranges":[{"startOffset":35798,"endOffset":36212,"count":25},{"startOffset":35847,"endOffset":35858,"count":0},{"startOffset":35917,"endOffset":36124,"count":54},{"startOffset":36053,"endOffset":36066,"count":25},{"startOffset":36066,"endOffset":36110,"count":29},{"startOffset":36161,"endOffset":36172,"count":0}],"isBlockCoverage":true},{"functionName":"relative","ranges":[{"startOffset":36302,"endOffset":38662,"count":5},{"startOffset":36415,"endOffset":36425,"count":0},{"startOffset":36552,"endOffset":36562,"count":0},{"startOffset":36835,"endOffset":36842,"count":0},{"startOffset":36916,"endOffset":37151,"count":175},{"startOffset":37064,"endOffset":37070,"count":0},{"startOffset":37127,"endOffset":37145,"count":15},{"startOffset":37483,"endOffset":37665,"count":0},{"startOffset":37673,"endOffset":38130,"count":0},{"startOffset":38136,"endOffset":38661,"count":0}],"isBlockCoverage":true},{"functionName":"toNamespacedPath","ranges":[{"startOffset":38728,"endOffset":38804,"count":4152}],"isBlockCoverage":true},{"functionName":"dirname","ranges":[{"startOffset":38870,"endOffset":39546,"count":1793},{"startOffset":38953,"endOffset":38964,"count":0},{"startOffset":39138,"endOffset":39391,"count":20960},{"startOffset":39209,"endOffset":39293,"count":1793},{"startOffset":39293,"endOffset":39385,"count":19167},{"startOffset":39419,"endOffset":39446,"count":0},{"startOffset":39463,"endOffset":39475,"count":1791},{"startOffset":39483,"endOffset":39495,"count":0}],"isBlockCoverage":true},{"functionName":"basename","ranges":[{"startOffset":39642,"endOffset":42069,"count":446},{"startOffset":39703,"endOffset":39733,"count":0},{"startOffset":39865,"endOffset":39885,"count":0},{"startOffset":39886,"endOffset":39917,"count":0},{"startOffset":39919,"endOffset":41443,"count":0},{"startOffset":41491,"endOffset":41976,"count":5261},{"startOffset":41562,"endOffset":41786,"count":438},{"startOffset":41786,"endOffset":41970,"count":4823},{"startOffset":41808,"endOffset":41970,"count":446},{"startOffset":42004,"endOffset":42014,"count":0}],"isBlockCoverage":true},{"functionName":"extname","ranges":[{"startOffset":42135,"endOffset":43825,"count":18},{"startOffset":42468,"endOffset":43430,"count":272},{"startOffset":42564,"endOffset":42810,"count":20},{"startOffset":42727,"endOffset":42784,"count":18},{"startOffset":42784,"endOffset":42810,"count":2},{"startOffset":42810,"endOffset":42833,"count":252},{"startOffset":42833,"endOffset":42990,"count":18},{"startOffset":42990,"endOffset":43020,"count":252},{"startOffset":43020,"endOffset":43220,"count":16},{"startOffset":43149,"endOffset":43212,"count":0},{"startOffset":43220,"endOffset":43424,"count":236},{"startOffset":43247,"endOffset":43424,"count":166},{"startOffset":43456,"endOffset":43477,"count":16},{"startOffset":43478,"endOffset":43571,"count":16},{"startOffset":43572,"endOffset":43741,"count":16},{"startOffset":43669,"endOffset":43701,"count":0},{"startOffset":43702,"endOffset":43740,"count":0},{"startOffset":43743,"endOffset":43767,"count":2},{"startOffset":43767,"endOffset":43824,"count":16}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":44052,"endOffset":46524,"count":2},{"startOffset":44202,"endOffset":44213,"count":0},{"startOffset":44383,"endOffset":44413,"count":0},{"startOffset":44733,"endOffset":45695,"count":38},{"startOffset":44829,"endOffset":45075,"count":2},{"startOffset":45049,"endOffset":45075,"count":0},{"startOffset":45075,"endOffset":45098,"count":36},{"startOffset":45098,"endOffset":45255,"count":2},{"startOffset":45255,"endOffset":45285,"count":36},{"startOffset":45285,"endOffset":45485,"count":0},{"startOffset":45485,"endOffset":45689,"count":36},{"startOffset":45512,"endOffset":45689,"count":0},{"startOffset":45755,"endOffset":45768,"count":0},{"startOffset":45769,"endOffset":45772,"count":0},{"startOffset":45812,"endOffset":45909,"count":0},{"startOffset":45910,"endOffset":46085,"count":0},{"startOffset":46166,"endOffset":46365,"count":0},{"startOffset":46457,"endOffset":46503,"count":0}],"isBlockCoverage":true}]},{"scriptId":"37","url":"node:internal/source_map/source_map_cache","functions":[{"functionName":"","ranges":[{"startOffset":357,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"getSourceMapsEnabled","ranges":[{"startOffset":1596,"endOffset":1659,"count":140}],"isBlockCoverage":true},{"functionName":"setSourceMapsEnabled","ranges":[{"startOffset":1661,"endOffset":2203,"count":1},{"startOffset":1769,"endOffset":1924,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceURLMagicComment","ranges":[{"startOffset":2205,"endOffset":2805,"count":3},{"startOffset":2507,"endOffset":2540,"count":0},{"startOffset":2593,"endOffset":2729,"count":0},{"startOffset":2731,"endOffset":2804,"count":0}],"isBlockCoverage":true},{"functionName":"extractSourceMapURLMagicComment","ranges":[{"startOffset":2807,"endOffset":3250,"count":134},{"startOffset":3128,"endOffset":3156,"count":0},{"startOffset":3204,"endOffset":3249,"count":0}],"isBlockCoverage":true},{"functionName":"maybeCacheSourceMap","ranges":[{"startOffset":3252,"endOffset":5023,"count":137},{"startOffset":3454,"endOffset":3474,"count":0},{"startOffset":3477,"endOffset":3484,"count":0},{"startOffset":3618,"endOffset":3742,"count":0},{"startOffset":3778,"endOffset":3844,"count":134},{"startOffset":3933,"endOffset":3950,"count":134},{"startOffset":3950,"endOffset":4122,"count":3},{"startOffset":4123,"endOffset":4137,"count":0},{"startOffset":4164,"endOffset":4349,"count":0},{"startOffset":4349,"endOffset":5021,"count":3},{"startOffset":4378,"endOffset":4644,"count":0},{"startOffset":4963,"endOffset":5017,"count":0}],"isBlockCoverage":true},{"functionName":"dataFromUrl","ranges":[{"startOffset":5555,"endOffset":6075,"count":3},{"startOffset":5692,"endOffset":5767,"count":0},{"startOffset":5774,"endOffset":5854,"count":0}],"isBlockCoverage":true},{"functionName":"lineLengths","ranges":[{"startOffset":6265,"endOffset":6610,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6567,"endOffset":6606,"count":334}],"isBlockCoverage":true},{"functionName":"sourceMapFromFile","ranges":[{"startOffset":6612,"endOffset":6892,"count":3},{"startOffset":6840,"endOffset":6890,"count":0}],"isBlockCoverage":true},{"functionName":"sourcesToAbsolute","ranges":[{"startOffset":7842,"endOffset":8169,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7920,"endOffset":8026,"count":3}],"isBlockCoverage":true}]},{"scriptId":"38","url":"node:internal/url","functions":[{"functionName":"","ranges":[{"startOffset":3462,"endOffset":4251,"count":1267}],"isBlockCoverage":false},{"functionName":"get hasPort","ranges":[{"startOffset":4030,"endOffset":4095,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSearch","ranges":[{"startOffset":4099,"endOffset":4174,"count":3927}],"isBlockCoverage":true},{"functionName":"get hasHash","ranges":[{"startOffset":4178,"endOffset":4249,"count":3927}],"isBlockCoverage":true},{"functionName":"isURL","ranges":[{"startOffset":21271,"endOffset":21396,"count":2977},{"startOffset":21322,"endOffset":21338,"count":1758},{"startOffset":21339,"endOffset":21365,"count":1758},{"startOffset":21366,"endOffset":21392,"count":1758}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21398,"endOffset":29200,"count":2197}],"isBlockCoverage":false},{"functionName":"URL","ranges":[{"startOffset":21461,"endOffset":21761,"count":3084},{"startOffset":21532,"endOffset":21580,"count":0},{"startOffset":21669,"endOffset":21700,"count":1603}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21765,"endOffset":22485,"count":0}],"isBlockCoverage":false},{"functionName":"#updateContext","ranges":[{"startOffset":22489,"endOffset":23396,"count":3317},{"startOffset":23205,"endOffset":23392,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":23400,"endOffset":23447,"count":1293}],"isBlockCoverage":true},{"functionName":"get href","ranges":[{"startOffset":23451,"endOffset":23498,"count":2335}],"isBlockCoverage":true},{"functionName":"set href","ranges":[{"startOffset":23502,"endOffset":23711,"count":0}],"isBlockCoverage":false},{"functionName":"get origin","ranges":[{"startOffset":23729,"endOffset":24598,"count":0}],"isBlockCoverage":false},{"functionName":"get protocol","ranges":[{"startOffset":24602,"endOffset":24706,"count":5062}],"isBlockCoverage":true},{"functionName":"set protocol","ranges":[{"startOffset":24710,"endOffset":24883,"count":0}],"isBlockCoverage":false},{"functionName":"get username","ranges":[{"startOffset":24887,"endOffset":25114,"count":0}],"isBlockCoverage":false},{"functionName":"set username","ranges":[{"startOffset":25118,"endOffset":25291,"count":0}],"isBlockCoverage":false},{"functionName":"get password","ranges":[{"startOffset":25295,"endOffset":25518,"count":0}],"isBlockCoverage":false},{"functionName":"set password","ranges":[{"startOffset":25522,"endOffset":25695,"count":0}],"isBlockCoverage":false},{"functionName":"get host","ranges":[{"startOffset":25699,"endOffset":26130,"count":0}],"isBlockCoverage":false},{"functionName":"set host","ranges":[{"startOffset":26134,"endOffset":26299,"count":0}],"isBlockCoverage":false},{"functionName":"get hostname","ranges":[{"startOffset":26303,"endOffset":26585,"count":1605},{"startOffset":26469,"endOffset":26494,"count":0}],"isBlockCoverage":true},{"functionName":"set hostname","ranges":[{"startOffset":26589,"endOffset":26762,"count":0}],"isBlockCoverage":false},{"functionName":"get port","ranges":[{"startOffset":26766,"endOffset":26874,"count":0}],"isBlockCoverage":false},{"functionName":"set port","ranges":[{"startOffset":26878,"endOffset":27043,"count":0}],"isBlockCoverage":false},{"functionName":"get pathname","ranges":[{"startOffset":27047,"endOffset":27339,"count":3680},{"startOffset":27113,"endOffset":27163,"count":0},{"startOffset":27196,"endOffset":27244,"count":0}],"isBlockCoverage":true},{"functionName":"set pathname","ranges":[{"startOffset":27343,"endOffset":27516,"count":0}],"isBlockCoverage":false},{"functionName":"get search","ranges":[{"startOffset":27520,"endOffset":27855,"count":247},{"startOffset":27583,"endOffset":27854,"count":0}],"isBlockCoverage":true},{"functionName":"set search","ranges":[{"startOffset":27859,"endOffset":28036,"count":247}],"isBlockCoverage":true},{"functionName":"get searchParams","ranges":[{"startOffset":28054,"endOffset":28353,"count":0}],"isBlockCoverage":false},{"functionName":"get hash","ranges":[{"startOffset":28357,"endOffset":28572,"count":247},{"startOffset":28401,"endOffset":28463,"count":0},{"startOffset":28489,"endOffset":28571,"count":0}],"isBlockCoverage":true},{"functionName":"set hash","ranges":[{"startOffset":28576,"endOffset":28741,"count":247}],"isBlockCoverage":true},{"functionName":"toJSON","ranges":[{"startOffset":28745,"endOffset":28790,"count":0}],"isBlockCoverage":false},{"functionName":"canParse","ranges":[{"startOffset":28801,"endOffset":29198,"count":0}],"isBlockCoverage":false},{"functionName":"getPathFromURLPosix","ranges":[{"startOffset":38286,"endOffset":38807,"count":1605},{"startOffset":38349,"endOffset":38405,"count":0},{"startOffset":38483,"endOffset":38766,"count":125344},{"startOffset":38514,"endOffset":38762,"count":0}],"isBlockCoverage":true},{"functionName":"fileURLToPath","ranges":[{"startOffset":38809,"endOffset":39148,"count":1605},{"startOffset":38876,"endOffset":38897,"count":39},{"startOffset":38897,"endOffset":38991,"count":1566},{"startOffset":38927,"endOffset":38991,"count":0},{"startOffset":39029,"endOffset":39070,"count":0},{"startOffset":39090,"endOffset":39117,"count":0}],"isBlockCoverage":true},{"functionName":"encodePathChars","ranges":[{"startOffset":39961,"endOffset":40737,"count":369},{"startOffset":40054,"endOffset":40125,"count":0},{"startOffset":40253,"endOffset":40326,"count":0},{"startOffset":40384,"endOffset":40455,"count":0},{"startOffset":40513,"endOffset":40591,"count":0},{"startOffset":40649,"endOffset":40716,"count":0}],"isBlockCoverage":true},{"functionName":"pathToFileURL","ranges":[{"startOffset":40739,"endOffset":42716,"count":369},{"startOffset":40790,"endOffset":40836,"count":0},{"startOffset":40838,"endOffset":41603,"count":0},{"startOffset":41885,"endOffset":41946,"count":368},{"startOffset":41906,"endOffset":41945,"count":0},{"startOffset":41948,"endOffset":41999,"count":1},{"startOffset":42005,"endOffset":42021,"count":1},{"startOffset":42477,"endOffset":42549,"count":0},{"startOffset":42606,"endOffset":42674,"count":0}],"isBlockCoverage":true},{"functionName":"toPathIfFileURL","ranges":[{"startOffset":42718,"endOffset":42855,"count":1352},{"startOffset":42793,"endOffset":42814,"count":1182},{"startOffset":42814,"endOffset":42854,"count":170}],"isBlockCoverage":true}]},{"scriptId":"43","url":"node:internal/console/constructor","functions":[{"functionName":"value","ranges":[{"startOffset":5832,"endOffset":6477,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6041,"endOffset":6136,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6148,"endOffset":6178,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6308,"endOffset":6407,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6419,"endOffset":6449,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":6569,"endOffset":7977,"count":1}],"isBlockCoverage":true},{"functionName":"createWriteErrorHandler","ranges":[{"startOffset":10662,"endOffset":11551,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10730,"endOffset":11548,"count":0}],"isBlockCoverage":false},{"functionName":"initializeGlobalConsole","ranges":[{"startOffset":20425,"endOffset":21464,"count":1},{"startOffset":20793,"endOffset":21463,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21359,"endOffset":21460,"count":0}],"isBlockCoverage":false}]},{"scriptId":"45","url":"node:internal/process/permission","functions":[{"functionName":"isEnabled","ranges":[{"startOffset":315,"endOffset":559,"count":2139},{"startOffset":375,"endOffset":520,"count":1}],"isBlockCoverage":true}]},{"scriptId":"46","url":"node:internal/event_target","functions":[{"functionName":"isEvent","ranges":[{"startOffset":2268,"endOffset":2340,"count":66}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2342,"endOffset":7042,"count":33}],"isBlockCoverage":false},{"functionName":"Event","ranges":[{"startOffset":2658,"endOffset":3140,"count":33},{"startOffset":2740,"endOffset":2775,"count":0},{"startOffset":3034,"endOffset":3071,"count":0}],"isBlockCoverage":true},{"functionName":"initEvent","ranges":[{"startOffset":3249,"endOffset":3535,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3539,"endOffset":4054,"count":0}],"isBlockCoverage":false},{"functionName":"stopImmediatePropagation","ranges":[{"startOffset":4058,"endOffset":4181,"count":0}],"isBlockCoverage":false},{"functionName":"preventDefault","ranges":[{"startOffset":4185,"endOffset":4309,"count":0}],"isBlockCoverage":false},{"functionName":"get target","ranges":[{"startOffset":4350,"endOffset":4461,"count":0}],"isBlockCoverage":false},{"functionName":"get currentTarget","ranges":[{"startOffset":4502,"endOffset":4620,"count":0}],"isBlockCoverage":false},{"functionName":"get srcElement","ranges":[{"startOffset":4661,"endOffset":4776,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":4812,"endOffset":4919,"count":33},{"startOffset":4855,"endOffset":4891,"count":0}],"isBlockCoverage":true},{"functionName":"get cancelable","ranges":[{"startOffset":4956,"endOffset":5074,"count":0}],"isBlockCoverage":false},{"functionName":"get defaultPrevented","ranges":[{"startOffset":5111,"endOffset":5261,"count":33},{"startOffset":5166,"endOffset":5202,"count":0},{"startOffset":5231,"endOffset":5256,"count":0}],"isBlockCoverage":true},{"functionName":"get timeStamp","ranges":[{"startOffset":5297,"endOffset":5413,"count":0}],"isBlockCoverage":false},{"functionName":"composedPath","ranges":[{"startOffset":5631,"endOffset":5778,"count":0}],"isBlockCoverage":false},{"functionName":"get returnValue","ranges":[{"startOffset":5815,"endOffset":5962,"count":0}],"isBlockCoverage":false},{"functionName":"get bubbles","ranges":[{"startOffset":5999,"endOffset":6111,"count":0}],"isBlockCoverage":false},{"functionName":"get composed","ranges":[{"startOffset":6148,"endOffset":6262,"count":0}],"isBlockCoverage":false},{"functionName":"get eventPhase","ranges":[{"startOffset":6298,"endOffset":6455,"count":0}],"isBlockCoverage":false},{"functionName":"get cancelBubble","ranges":[{"startOffset":6492,"endOffset":6620,"count":0}],"isBlockCoverage":false},{"functionName":"set cancelBubble","ranges":[{"startOffset":6657,"endOffset":6806,"count":0}],"isBlockCoverage":false},{"functionName":"stopPropagation","ranges":[{"startOffset":6810,"endOffset":6937,"count":0}],"isBlockCoverage":false},{"functionName":"Listener","ranges":[{"startOffset":10502,"endOffset":11966,"count":99},{"startOffset":10837,"endOffset":10856,"count":0},{"startOffset":10880,"endOffset":10902,"count":0},{"startOffset":10926,"endOffset":10948,"count":0},{"startOffset":11029,"endOffset":11048,"count":0},{"startOffset":11086,"endOffset":11122,"count":0},{"startOffset":11194,"endOffset":11650,"count":0},{"startOffset":11763,"endOffset":11962,"count":0}],"isBlockCoverage":true},{"functionName":"Listener.callback","ranges":[{"startOffset":11793,"endOffset":11923,"count":0}],"isBlockCoverage":false},{"functionName":"get once","ranges":[{"startOffset":11970,"endOffset":12030,"count":314}],"isBlockCoverage":true},{"functionName":"get passive","ranges":[{"startOffset":12102,"endOffset":12168,"count":314}],"isBlockCoverage":true},{"functionName":"get isNodeStyleListener","ranges":[{"startOffset":12171,"endOffset":12251,"count":628}],"isBlockCoverage":true},{"functionName":"get weak","ranges":[{"startOffset":12254,"endOffset":12314,"count":413}],"isBlockCoverage":true},{"functionName":"get removed","ranges":[{"startOffset":12414,"endOffset":12480,"count":314}],"isBlockCoverage":true},{"functionName":"set removed","ranges":[{"startOffset":12483,"endOffset":12600,"count":99},{"startOffset":12525,"endOffset":12552,"count":0}],"isBlockCoverage":true},{"functionName":"initEventTarget","ranges":[{"startOffset":13036,"endOffset":13255,"count":33}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13548,"endOffset":14353,"count":99},{"startOffset":13709,"endOffset":13757,"count":0},{"startOffset":13759,"endOffset":14349,"count":0}],"isBlockCoverage":true},{"functionName":"addEventListener","ranges":[{"startOffset":14796,"endOffset":17514,"count":99},{"startOffset":14891,"endOffset":14933,"count":0},{"startOffset":14970,"endOffset":15017,"count":0},{"startOffset":15409,"endOffset":15862,"count":0},{"startOffset":15926,"endOffset":16310,"count":0},{"startOffset":16873,"endOffset":17063,"count":0},{"startOffset":17065,"endOffset":17513,"count":0}],"isBlockCoverage":true},{"functionName":"signal.addEventListener.__proto__","ranges":[{"startOffset":16141,"endOffset":16215,"count":0}],"isBlockCoverage":false},{"functionName":"dispatchEvent","ranges":[{"startOffset":19180,"endOffset":19641,"count":33},{"startOffset":19239,"endOffset":19281,"count":0},{"startOffset":19318,"endOffset":19354,"count":0},{"startOffset":19397,"endOffset":19453,"count":0},{"startOffset":19496,"endOffset":19538,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":19645,"endOffset":21941,"count":347},{"startOffset":19944,"endOffset":20020,"count":33},{"startOffset":20091,"endOffset":20117,"count":314},{"startOffset":20119,"endOffset":20219,"count":33},{"startOffset":20219,"endOffset":21866,"count":314},{"startOffset":20637,"endOffset":20646,"count":0},{"startOffset":20656,"endOffset":20689,"count":0},{"startOffset":20692,"endOffset":21022,"count":0},{"startOffset":21047,"endOffset":21217,"count":0},{"startOffset":21327,"endOffset":21375,"count":0},{"startOffset":21414,"endOffset":21450,"count":0},{"startOffset":21622,"endOffset":21680,"count":0},{"startOffset":21780,"endOffset":21837,"count":0},{"startOffset":21866,"endOffset":21903,"count":314},{"startOffset":21903,"endOffset":21937,"count":0}],"isBlockCoverage":true},{"functionName":"createEvent","ranges":[{"startOffset":19713,"endOffset":19913,"count":0}],"isBlockCoverage":false},{"functionName":"iterationCondition","ranges":[{"startOffset":20296,"endOffset":20461,"count":628},{"startOffset":20337,"endOffset":20427,"count":314},{"startOffset":20428,"endOffset":20454,"count":314},{"startOffset":20436,"endOffset":20445,"count":0}],"isBlockCoverage":true},{"functionName":"initNodeEventTarget","ranges":[{"startOffset":22750,"endOffset":22813,"count":33}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":24755,"endOffset":24960,"count":99},{"startOffset":24816,"endOffset":24862,"count":0}],"isBlockCoverage":true},{"functionName":"validateEventListener","ranges":[{"startOffset":26825,"endOffset":27197,"count":99},{"startOffset":26905,"endOffset":26957,"count":0},{"startOffset":26981,"endOffset":27196,"count":0}],"isBlockCoverage":true},{"functionName":"validateEventListenerOptions","ranges":[{"startOffset":27199,"endOffset":27778,"count":99},{"startOffset":27288,"endOffset":27316,"count":0},{"startOffset":27346,"endOffset":27366,"count":0}],"isBlockCoverage":true},{"functionName":"isEventTarget","ranges":[{"startOffset":28083,"endOffset":28159,"count":132}],"isBlockCoverage":true},{"functionName":"isNodeEventTarget","ranges":[{"startOffset":28161,"endOffset":28245,"count":99}],"isBlockCoverage":true},{"functionName":"addCatch","ranges":[{"startOffset":28247,"endOffset":28561,"count":314},{"startOffset":28339,"endOffset":28559,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":28393,"endOffset":28553,"count":0}],"isBlockCoverage":false},{"functionName":"defineEventHandler","ranges":[{"startOffset":29057,"endOffset":30523,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":29217,"endOffset":29353,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":29452,"endOffset":30290,"count":0}],"isBlockCoverage":false},{"functionName":"EventEmitterMixin","ranges":[{"startOffset":30551,"endOffset":31241,"count":1},{"startOffset":30982,"endOffset":31144,"count":18}],"isBlockCoverage":true},{"functionName":"MixedEventEmitter","ranges":[{"startOffset":30620,"endOffset":30761,"count":135}],"isBlockCoverage":true}]},{"scriptId":"47","url":"node:util","functions":[{"functionName":"lazyAbortController","ranges":[{"startOffset":2369,"endOffset":2489,"count":39}],"isBlockCoverage":true},{"functionName":"get transferableAbortSignal","ranges":[{"startOffset":10340,"endOffset":10433,"count":13}],"isBlockCoverage":true},{"functionName":"get transferableAbortController","ranges":[{"startOffset":10437,"endOffset":10538,"count":13}],"isBlockCoverage":true},{"functionName":"get aborted","ranges":[{"startOffset":10542,"endOffset":10603,"count":13}],"isBlockCoverage":true}]},{"scriptId":"48","url":"node:internal/webidl","functions":[{"functionName":"DOMString","ranges":[{"startOffset":4438,"endOffset":4568,"count":99},{"startOffset":4491,"endOffset":4545,"count":0}],"isBlockCoverage":true}]},{"scriptId":"49","url":"node:internal/perf/utils","functions":[{"functionName":"getTimeOrigin","ranges":[{"startOffset":138,"endOffset":316,"count":33}],"isBlockCoverage":true},{"functionName":"now","ranges":[{"startOffset":390,"endOffset":496,"count":33}],"isBlockCoverage":true}]},{"scriptId":"51","url":"node:internal/bootstrap/switches/is_main_thread","functions":[{"functionName":"createWritableStdioStream","ranges":[{"startOffset":1424,"endOffset":3026,"count":2},{"startOffset":1716,"endOffset":1910,"count":0},{"startOffset":1916,"endOffset":1928,"count":0},{"startOffset":1933,"endOffset":2645,"count":0},{"startOffset":2651,"endOffset":2905,"count":0}],"isBlockCoverage":true},{"functionName":"write","ranges":[{"startOffset":2841,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"addCleanup","ranges":[{"startOffset":3639,"endOffset":3730,"count":3},{"startOffset":3693,"endOffset":3728,"count":0}],"isBlockCoverage":true},{"functionName":"getStdout","ranges":[{"startOffset":3732,"endOffset":4424,"count":6},{"startOffset":3769,"endOffset":3783,"count":5},{"startOffset":3783,"endOffset":4423,"count":1}],"isBlockCoverage":true},{"functionName":"cleanupStdout","ranges":[{"startOffset":4090,"endOffset":4268,"count":0}],"isBlockCoverage":false},{"functionName":"getStderr","ranges":[{"startOffset":4426,"endOffset":5117,"count":7},{"startOffset":4463,"endOffset":4477,"count":6},{"startOffset":4477,"endOffset":5116,"count":1}],"isBlockCoverage":true},{"functionName":"cleanupStderr","ranges":[{"startOffset":4783,"endOffset":4961,"count":0}],"isBlockCoverage":false},{"functionName":"getStdin","ranges":[{"startOffset":5119,"endOffset":7610,"count":3},{"startOffset":5154,"endOffset":5167,"count":2},{"startOffset":5167,"endOffset":5326,"count":1},{"startOffset":5332,"endOffset":5466,"count":0},{"startOffset":5472,"endOffset":5484,"count":0},{"startOffset":5489,"endOffset":6271,"count":0},{"startOffset":6277,"endOffset":6501,"count":0},{"startOffset":6505,"endOffset":6770,"count":1},{"startOffset":6772,"endOffset":7609,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":6458,"endOffset":6467,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7080,"endOffset":7122,"count":0}],"isBlockCoverage":false},{"functionName":"onpause","ranges":[{"startOffset":7128,"endOffset":7368,"count":0}],"isBlockCoverage":false},{"functionName":"cleanupStdin","ranges":[{"startOffset":7383,"endOffset":7456,"count":0}],"isBlockCoverage":false}]},{"scriptId":"52","url":"node:internal/v8/startup_snapshot","functions":[{"functionName":"isBuildingSnapshot","ranges":[{"startOffset":433,"endOffset":504,"count":18}],"isBlockCoverage":false},{"functionName":"throwIfBuildingSnapshot","ranges":[{"startOffset":627,"endOffset":758,"count":11},{"startOffset":698,"endOffset":756,"count":0}],"isBlockCoverage":true},{"functionName":"runDeserializeCallbacks","ranges":[{"startOffset":831,"endOffset":1004,"count":1},{"startOffset":910,"endOffset":1002,"count":0}],"isBlockCoverage":true}]},{"scriptId":"53","url":"node:internal/process/signal","functions":[{"functionName":"isSignal","ranges":[{"startOffset":238,"endOffset":334,"count":22}],"isBlockCoverage":false},{"functionName":"startListeningIfSignal","ranges":[{"startOffset":398,"endOffset":904,"count":22}],"isBlockCoverage":false},{"functionName":"stopListeningIfSignal","ranges":[{"startOffset":906,"endOffset":1101,"count":18},{"startOffset":1008,"endOffset":1044,"count":17},{"startOffset":1046,"endOffset":1099,"count":16}],"isBlockCoverage":true}]},{"scriptId":"54","url":"node:fs","functions":[{"functionName":"makeCallback","ranges":[{"startOffset":4594,"endOffset":4706,"count":7}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4662,"endOffset":4703,"count":7}],"isBlockCoverage":true},{"functionName":"isFileType","ranges":[{"startOffset":5079,"endOffset":5339,"count":8553},{"startOffset":5278,"endOffset":5298,"count":878}],"isBlockCoverage":true},{"functionName":"tryStatSync","ranges":[{"startOffset":10015,"endOffset":10245,"count":3},{"startOffset":10158,"endOffset":10170,"count":0},{"startOffset":10172,"endOffset":10227,"count":0}],"isBlockCoverage":true},{"functionName":"tryCreateBuffer","ranges":[{"startOffset":10247,"endOffset":10558,"count":3},{"startOffset":10365,"endOffset":10417,"count":0},{"startOffset":10504,"endOffset":10516,"count":0},{"startOffset":10518,"endOffset":10535,"count":0}],"isBlockCoverage":true},{"functionName":"tryReadSync","ranges":[{"startOffset":10560,"endOffset":10815,"count":3},{"startOffset":10758,"endOffset":10770,"count":0},{"startOffset":10772,"endOffset":10789,"count":0}],"isBlockCoverage":true},{"functionName":"readFileSync","ranges":[{"startOffset":11039,"endOffset":12564,"count":430},{"startOffset":11161,"endOffset":11192,"count":7},{"startOffset":11194,"endOffset":11251,"count":427},{"startOffset":11251,"endOffset":11335,"count":3},{"startOffset":11335,"endOffset":11341,"count":0},{"startOffset":11342,"endOffset":11382,"count":3},{"startOffset":11470,"endOffset":11480,"count":3},{"startOffset":11481,"endOffset":11484,"count":0},{"startOffset":11614,"endOffset":11637,"count":0},{"startOffset":11637,"endOffset":11889,"count":3},{"startOffset":11889,"endOffset":12258,"count":0},{"startOffset":12258,"endOffset":12318,"count":3},{"startOffset":12318,"endOffset":12414,"count":0},{"startOffset":12414,"endOffset":12476,"count":3},{"startOffset":12436,"endOffset":12476,"count":0},{"startOffset":12476,"endOffset":12502,"count":3},{"startOffset":12502,"endOffset":12545,"count":0},{"startOffset":12545,"endOffset":12563,"count":3}],"isBlockCoverage":true},{"functionName":"closeSync","ranges":[{"startOffset":13109,"endOffset":13162,"count":4}],"isBlockCoverage":true},{"functionName":"openSync","ranges":[{"startOffset":14154,"endOffset":14235,"count":4}],"isBlockCoverage":true},{"functionName":"readSync","ranges":[{"startOffset":17624,"endOffset":18761,"count":3},{"startOffset":17846,"endOffset":18102,"count":0},{"startOffset":18132,"endOffset":18153,"count":0},{"startOffset":18244,"endOffset":18263,"count":0},{"startOffset":18296,"endOffset":18426,"count":0}],"isBlockCoverage":true},{"functionName":"writeSync","ranges":[{"startOffset":22645,"endOffset":23778,"count":1},{"startOffset":22838,"endOffset":23458,"count":0},{"startOffset":23599,"endOffset":23613,"count":0}],"isBlockCoverage":true},{"functionName":"renameSync","ranges":[{"startOffset":26175,"endOffset":26522,"count":1}],"isBlockCoverage":true},{"functionName":"fsyncSync","ranges":[{"startOffset":33370,"endOffset":33509,"count":1}],"isBlockCoverage":true},{"functionName":"mkdirSync","ranges":[{"startOffset":34678,"endOffset":35384,"count":1},{"startOffset":34825,"endOffset":34850,"count":0},{"startOffset":34991,"endOffset":35011,"count":0}],"isBlockCoverage":true},{"functionName":"readdir","ranges":[{"startOffset":37763,"endOffset":38541,"count":7},{"startOffset":37863,"endOffset":37872,"count":0},{"startOffset":37985,"endOffset":38051,"count":0},{"startOffset":38078,"endOffset":38152,"count":0},{"startOffset":38219,"endOffset":38255,"count":0}],"isBlockCoverage":true},{"functionName":"req.oncomplete","ranges":[{"startOffset":38284,"endOffset":38414,"count":7},{"startOffset":38318,"endOffset":38366,"count":0}],"isBlockCoverage":true},{"functionName":"readdirSync","ranges":[{"startOffset":38805,"endOffset":39408,"count":2},{"startOffset":38942,"endOffset":39008,"count":0},{"startOffset":39035,"endOffset":39088,"count":0},{"startOffset":39370,"endOffset":39396,"count":0}],"isBlockCoverage":true},{"functionName":"statSync","ranges":[{"startOffset":43273,"endOffset":43346,"count":6}],"isBlockCoverage":true},{"functionName":"chmodSync","ranges":[{"startOffset":51702,"endOffset":51937,"count":1}],"isBlockCoverage":true},{"functionName":"chownSync","ranges":[{"startOffset":54542,"endOffset":54840,"count":1}],"isBlockCoverage":true},{"functionName":"splitRoot","ranges":[{"startOffset":67550,"endOffset":67760,"count":593},{"startOffset":67617,"endOffset":67740,"count":1186},{"startOffset":67695,"endOffset":67734,"count":593},{"startOffset":67740,"endOffset":67759,"count":0}],"isBlockCoverage":true},{"functionName":"encodeRealpathResult","ranges":[{"startOffset":67765,"endOffset":68052,"count":592},{"startOffset":67850,"endOffset":67880,"count":0},{"startOffset":67900,"endOffset":68051,"count":0}],"isBlockCoverage":true},{"functionName":"nextPart","ranges":[{"startOffset":68458,"endOffset":68533,"count":4714}],"isBlockCoverage":true},{"functionName":"realpathSync","ranges":[{"startOffset":68707,"endOffset":72603,"count":759},{"startOffset":68831,"endOffset":68849,"count":0},{"startOffset":68975,"endOffset":68980,"count":758},{"startOffset":69010,"endOffset":69045,"count":167},{"startOffset":69045,"endOffset":69607,"count":592},{"startOffset":69607,"endOffset":69779,"count":0},{"startOffset":69779,"endOffset":69916,"count":592},{"startOffset":69916,"endOffset":72530,"count":4714},{"startOffset":70028,"endOffset":70159,"count":593},{"startOffset":70159,"endOffset":70317,"count":4121},{"startOffset":70404,"endOffset":70432,"count":4709},{"startOffset":70412,"endOffset":70417,"count":4701},{"startOffset":70434,"endOffset":70571,"count":3836},{"startOffset":70525,"endOffset":70549,"count":0},{"startOffset":70571,"endOffset":70632,"count":878},{"startOffset":70632,"endOffset":70637,"count":870},{"startOffset":70674,"endOffset":70723,"count":0},{"startOffset":70723,"endOffset":72027,"count":878},{"startOffset":71075,"endOffset":71163,"count":877},{"startOffset":71119,"endOffset":71124,"count":869},{"startOffset":71163,"endOffset":71584,"count":1},{"startOffset":71523,"endOffset":71576,"count":0},{"startOffset":71584,"endOffset":71947,"count":1},{"startOffset":71991,"endOffset":72021,"count":1},{"startOffset":72027,"endOffset":72319,"count":1},{"startOffset":72319,"endOffset":72342,"count":0},{"startOffset":72344,"endOffset":72526,"count":0},{"startOffset":72530,"endOffset":72539,"count":592},{"startOffset":72539,"endOffset":72544,"count":591}],"isBlockCoverage":true},{"functionName":"lazyLoadStreams","ranges":[{"startOffset":81204,"endOffset":81395,"count":60},{"startOffset":81252,"endOffset":81393,"count":1}],"isBlockCoverage":true},{"functionName":"get ReadStream","ranges":[{"startOffset":83615,"endOffset":83683,"count":15}],"isBlockCoverage":true},{"functionName":"get WriteStream","ranges":[{"startOffset":83740,"endOffset":83810,"count":15}],"isBlockCoverage":true},{"functionName":"get FileReadStream","ranges":[{"startOffset":84002,"endOffset":84078,"count":15}],"isBlockCoverage":true},{"functionName":"get FileWriteStream","ranges":[{"startOffset":84143,"endOffset":84221,"count":15}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":84916,"endOffset":85012,"count":20}],"isBlockCoverage":true}]},{"scriptId":"56","url":"node:internal/encoding","functions":[{"functionName":"validateDecoder","ranges":[{"startOffset":1377,"endOffset":1502,"count":135},{"startOffset":1458,"endOffset":1500,"count":0}],"isBlockCoverage":true},{"functionName":"getEncodingFromLabel","ranges":[{"startOffset":9299,"endOffset":9478,"count":4},{"startOffset":9410,"endOffset":9477,"count":0}],"isBlockCoverage":true},{"functionName":"TextDecoder","ranges":[{"startOffset":11036,"endOffset":11973,"count":4},{"startOffset":11346,"endOffset":11393,"count":0},{"startOffset":11477,"endOffset":11500,"count":2},{"startOffset":11501,"endOffset":11504,"count":2},{"startOffset":11541,"endOffset":11569,"count":2},{"startOffset":11570,"endOffset":11573,"count":2},{"startOffset":11924,"endOffset":11967,"count":0}],"isBlockCoverage":true},{"functionName":"decode","ranges":[{"startOffset":12250,"endOffset":12835,"count":135},{"startOffset":12485,"endOffset":12834,"count":0}],"isBlockCoverage":true}]},{"scriptId":"59","url":"node:internal/fs/utils","functions":[{"functionName":"assertEncoding","ranges":[{"startOffset":3632,"endOffset":3832,"count":1192},{"startOffset":3683,"endOffset":3714,"count":427},{"startOffset":3716,"endOffset":3830,"count":0}],"isBlockCoverage":true},{"functionName":"Dirent","ranges":[{"startOffset":3851,"endOffset":3954,"count":24}],"isBlockCoverage":true},{"functionName":"isDirectory","ranges":[{"startOffset":3958,"endOffset":4019,"count":42}],"isBlockCoverage":true},{"functionName":"isFile","ranges":[{"startOffset":4023,"endOffset":4080,"count":24}],"isBlockCoverage":true},{"functionName":"isSymbolicLink","ranges":[{"startOffset":4225,"endOffset":4290,"count":24}],"isBlockCoverage":true},{"functionName":"getDirents","ranges":[{"startOffset":5538,"endOffset":6653,"count":7},{"startOffset":5762,"endOffset":6435,"count":24},{"startOffset":5831,"endOffset":6357,"count":0},{"startOffset":6500,"endOffset":6651,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6096,"endOffset":6347,"count":0}],"isBlockCoverage":false},{"functionName":"getOptions","ranges":[{"startOffset":7438,"endOffset":8064,"count":1334},{"startOffset":7522,"endOffset":7554,"count":1192},{"startOffset":7556,"endOffset":7588,"count":142},{"startOffset":7588,"endOffset":7625,"count":1192},{"startOffset":7625,"endOffset":7743,"count":427},{"startOffset":7743,"endOffset":7865,"count":765},{"startOffset":7782,"endOffset":7865,"count":0},{"startOffset":7865,"endOffset":7979,"count":1192},{"startOffset":7979,"endOffset":8043,"count":0},{"startOffset":8043,"endOffset":8063,"count":1192}],"isBlockCoverage":true},{"functionName":"handleErrorFromBinding","ranges":[{"startOffset":8122,"endOffset":8651,"count":891},{"startOffset":8192,"endOffset":8327,"count":0},{"startOffset":8359,"endOffset":8649,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8792,"endOffset":9388,"count":1352},{"startOffset":9022,"endOffset":9042,"count":0},{"startOffset":9112,"endOffset":9180,"count":0},{"startOffset":9199,"endOffset":9387,"count":0}],"isBlockCoverage":true},{"functionName":"StatsBase","ranges":[{"startOffset":10131,"endOffset":10438,"count":7}],"isBlockCoverage":true},{"functionName":"StatsBase.isDirectory","ranges":[{"startOffset":10474,"endOffset":10531,"count":4}],"isBlockCoverage":true},{"functionName":"StatsBase.isFile","ranges":[{"startOffset":10563,"endOffset":10620,"count":3}],"isBlockCoverage":true},{"functionName":"msFromTimeSpec","ranges":[{"startOffset":11219,"endOffset":11301,"count":28}],"isBlockCoverage":true},{"functionName":"dateFromMs","ranges":[{"startOffset":11788,"endOffset":11899,"count":28}],"isBlockCoverage":true},{"functionName":"Stats","ranges":[{"startOffset":13071,"endOffset":13613,"count":7}],"isBlockCoverage":true},{"functionName":"Stats._checkModeProperty","ranges":[{"startOffset":13954,"endOffset":14184,"count":7},{"startOffset":13991,"endOffset":14069,"count":0},{"startOffset":14071,"endOffset":14138,"count":0}],"isBlockCoverage":true},{"functionName":"getStatsFromBinding","ranges":[{"startOffset":14302,"endOffset":15381,"count":7},{"startOffset":14382,"endOffset":14908,"count":0}],"isBlockCoverage":true},{"functionName":"stringToFlags","ranges":[{"startOffset":15783,"endOffset":17039,"count":566},{"startOffset":15864,"endOffset":15919,"count":0},{"startOffset":15942,"endOffset":15968,"count":0},{"startOffset":15993,"endOffset":16020,"count":565},{"startOffset":16025,"endOffset":16036,"count":0},{"startOffset":16058,"endOffset":16095,"count":0},{"startOffset":16100,"endOffset":16126,"count":0},{"startOffset":16131,"endOffset":16143,"count":0},{"startOffset":16165,"endOffset":16201,"count":0},{"startOffset":16207,"endOffset":16254,"count":1},{"startOffset":16259,"endOffset":16270,"count":0},{"startOffset":16292,"endOffset":16349,"count":0},{"startOffset":16355,"endOffset":16401,"count":0},{"startOffset":16406,"endOffset":16417,"count":0},{"startOffset":16439,"endOffset":16494,"count":0},{"startOffset":16500,"endOffset":16548,"count":0},{"startOffset":16553,"endOffset":16564,"count":0},{"startOffset":16586,"endOffset":16644,"count":0},{"startOffset":16649,"endOffset":16660,"count":0},{"startOffset":16682,"endOffset":16740,"count":0},{"startOffset":16746,"endOffset":16793,"count":0},{"startOffset":16798,"endOffset":16809,"count":0},{"startOffset":16831,"endOffset":16887,"count":0},{"startOffset":16892,"endOffset":16903,"count":0},{"startOffset":16925,"endOffset":16981,"count":0},{"startOffset":16985,"endOffset":17038,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18016,"endOffset":18395,"count":3},{"startOffset":18072,"endOffset":18139,"count":0},{"startOffset":18160,"endOffset":18227,"count":0},{"startOffset":18268,"endOffset":18391,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":18901,"endOffset":19171,"count":1352},{"startOffset":18963,"endOffset":18985,"count":0},{"startOffset":18987,"endOffset":19073,"count":0},{"startOffset":19149,"endOffset":19169,"count":0}],"isBlockCoverage":true},{"functionName":"possiblyTransformPath","ranges":[{"startOffset":19542,"endOffset":19853,"count":593},{"startOffset":19611,"endOffset":19836,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":19896,"endOffset":20054,"count":593}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":20097,"endOffset":20218,"count":9},{"startOffset":20148,"endOffset":20167,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":24818,"endOffset":25186,"count":4},{"startOffset":24945,"endOffset":25042,"count":0},{"startOffset":25105,"endOffset":25126,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":25249,"endOffset":25433,"count":1},{"startOffset":25303,"endOffset":25431,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":25478,"endOffset":25948,"count":3},{"startOffset":25578,"endOffset":25946,"count":0}],"isBlockCoverage":true}]},{"scriptId":"60","url":"node:internal/fs/sync","functions":[{"functionName":"readFileUtf8","ranges":[{"startOffset":395,"endOffset":582,"count":427}],"isBlockCoverage":true},{"functionName":"stat","ranges":[{"startOffset":1184,"endOffset":1509,"count":6},{"startOffset":1443,"endOffset":1470,"count":0},{"startOffset":1470,"endOffset":1508,"count":5}],"isBlockCoverage":true},{"functionName":"open","ranges":[{"startOffset":1725,"endOffset":1932,"count":4}],"isBlockCoverage":true},{"functionName":"close","ranges":[{"startOffset":1934,"endOffset":2016,"count":4}],"isBlockCoverage":true}]},{"scriptId":"63","url":"node:internal/modules/cjs/loader","functions":[{"functionName":"get hasLoadedAnyUserCJSModule","ranges":[{"startOffset":2238,"endOffset":2307,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3478,"endOffset":3569,"count":1},{"startOffset":3525,"endOffset":3561,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3618,"endOffset":3661,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3702,"endOffset":3756,"count":1}],"isBlockCoverage":true},{"functionName":"stat","ranges":[{"startOffset":4937,"endOffset":5347,"count":1786},{"startOffset":5035,"endOffset":5129,"count":1742},{"startOffset":5111,"endOffset":5125,"count":460},{"startOffset":5129,"endOffset":5202,"count":1326},{"startOffset":5202,"endOffset":5216,"count":1282},{"startOffset":5218,"endOffset":5328,"count":501},{"startOffset":5328,"endOffset":5346,"count":1326}],"isBlockCoverage":true},{"functionName":"updateChildren","ranges":[{"startOffset":5579,"endOffset":5775,"count":897},{"startOffset":5651,"endOffset":5661,"count":825},{"startOffset":5678,"endOffset":5731,"count":825},{"startOffset":5688,"endOffset":5730,"count":442},{"startOffset":5737,"endOffset":5773,"count":822}],"isBlockCoverage":true},{"functionName":"reportModuleToWatchMode","ranges":[{"startOffset":5777,"endOffset":5933,"count":1336},{"startOffset":5858,"endOffset":5873,"count":0},{"startOffset":5875,"endOffset":5931,"count":0}],"isBlockCoverage":true},{"functionName":"reportModuleNotFoundToWatchMode","ranges":[{"startOffset":5935,"endOffset":6174,"count":20},{"startOffset":6036,"endOffset":6051,"count":0},{"startOffset":6053,"endOffset":6172,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6121,"endOffset":6163,"count":0}],"isBlockCoverage":false},{"functionName":"Module","ranges":[{"startOffset":6221,"endOffset":6978,"count":421},{"startOffset":6534,"endOffset":6544,"count":0},{"startOffset":6562,"endOffset":6926,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8484,"endOffset":8509,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCJS","ranges":[{"startOffset":9188,"endOffset":9688,"count":1}],"isBlockCoverage":true},{"functionName":"readPackage","ranges":[{"startOffset":9982,"endOffset":10095,"count":2090}],"isBlockCoverage":true},{"functionName":"readPackageScope","ranges":[{"startOffset":10383,"endOffset":11176,"count":1009},{"startOffset":10570,"endOffset":11113,"count":1938},{"startOffset":10819,"endOffset":10865,"count":0},{"startOffset":10867,"endOffset":10894,"count":0},{"startOffset":10967,"endOffset":10980,"count":0},{"startOffset":11052,"endOffset":11109,"count":1009},{"startOffset":11113,"endOffset":11175,"count":0}],"isBlockCoverage":true},{"functionName":"tryPackage","ranges":[{"startOffset":11178,"endOffset":12457,"count":67},{"startOffset":11300,"endOffset":11381,"count":23},{"startOffset":11381,"endOffset":11475,"count":44},{"startOffset":11475,"endOffset":11519,"count":1},{"startOffset":11520,"endOffset":11587,"count":0},{"startOffset":11613,"endOffset":12438,"count":0},{"startOffset":12438,"endOffset":12456,"count":44}],"isBlockCoverage":true},{"functionName":"tryFile","ranges":[{"startOffset":12802,"endOffset":13034,"count":720},{"startOffset":12891,"endOffset":12898,"count":262},{"startOffset":12898,"endOffset":12943,"count":458},{"startOffset":12943,"endOffset":12953,"count":0},{"startOffset":12955,"endOffset":12998,"count":0},{"startOffset":12998,"endOffset":13033,"count":458}],"isBlockCoverage":true},{"functionName":"toRealPath","ranges":[{"startOffset":13036,"endOffset":13168,"count":511}],"isBlockCoverage":true},{"functionName":"tryExtensions","ranges":[{"startOffset":13243,"endOffset":13449,"count":501},{"startOffset":13325,"endOffset":13431,"count":675},{"startOffset":13397,"endOffset":13427,"count":414},{"startOffset":13431,"endOffset":13448,"count":87}],"isBlockCoverage":true},{"functionName":"findLongestRegisteredExtension","ranges":[{"startOffset":13538,"endOffset":14006,"count":421},{"startOffset":13813,"endOffset":13822,"count":0},{"startOffset":13960,"endOffset":13984,"count":416},{"startOffset":13988,"endOffset":14005,"count":5}],"isBlockCoverage":true},{"functionName":"trySelfParentPath","ranges":[{"startOffset":14008,"endOffset":14297,"count":632},{"startOffset":14060,"endOffset":14073,"count":34},{"startOffset":14073,"endOffset":14131,"count":598},{"startOffset":14131,"endOffset":14295,"count":0}],"isBlockCoverage":true},{"functionName":"trySelf","ranges":[{"startOffset":14299,"endOffset":15197,"count":632},{"startOffset":14358,"endOffset":14371,"count":34},{"startOffset":14371,"endOffset":14475,"count":598},{"startOffset":14476,"endOffset":14501,"count":5},{"startOffset":14503,"endOffset":14526,"count":593},{"startOffset":14526,"endOffset":14573,"count":5},{"startOffset":14573,"endOffset":14599,"count":0},{"startOffset":14599,"endOffset":14765,"count":5},{"startOffset":14661,"endOffset":14736,"count":0},{"startOffset":14765,"endOffset":15195,"count":0}],"isBlockCoverage":true},{"functionName":"resolveExports","ranges":[{"startOffset":15358,"endOffset":16166,"count":495},{"startOffset":15565,"endOffset":15580,"count":410},{"startOffset":15599,"endOffset":15606,"count":410},{"startOffset":15606,"endOffset":15707,"count":85},{"startOffset":15707,"endOffset":15729,"count":65},{"startOffset":15731,"endOffset":16164,"count":1},{"startOffset":16011,"endOffset":16160,"count":0}],"isBlockCoverage":true},{"functionName":"Module._findPath","ranges":[{"startOffset":16434,"endOffset":20492,"count":633},{"startOffset":16544,"endOffset":16567,"count":35},{"startOffset":16567,"endOffset":16630,"count":598},{"startOffset":16607,"endOffset":16630,"count":0},{"startOffset":16767,"endOffset":16780,"count":122},{"startOffset":16780,"endOffset":17363,"count":511},{"startOffset":17002,"endOffset":17356,"count":0},{"startOffset":17438,"endOffset":17894,"count":410},{"startOffset":17544,"endOffset":17629,"count":75},{"startOffset":17564,"endOffset":17628,"count":0},{"startOffset":17630,"endOffset":17888,"count":75},{"startOffset":17799,"endOffset":17886,"count":0},{"startOffset":17939,"endOffset":18093,"count":410},{"startOffset":18056,"endOffset":18089,"count":75},{"startOffset":18093,"endOffset":18155,"count":511},{"startOffset":18155,"endOffset":20473,"count":647},{"startOffset":18296,"endOffset":18306,"count":572},{"startOffset":18307,"endOffset":18403,"count":537},{"startOffset":18341,"endOffset":18379,"count":0},{"startOffset":18410,"endOffset":18433,"count":117},{"startOffset":18433,"endOffset":18461,"count":530},{"startOffset":18461,"endOffset":18591,"count":495},{"startOffset":18562,"endOffset":18585,"count":1},{"startOffset":18591,"endOffset":19950,"count":529},{"startOffset":18743,"endOffset":19727,"count":52},{"startOffset":18776,"endOffset":18965,"count":51},{"startOffset":18831,"endOffset":18891,"count":0},{"startOffset":18965,"endOffset":19719,"count":1},{"startOffset":19019,"endOffset":19659,"count":0},{"startOffset":19750,"endOffset":19944,"count":477},{"startOffset":19840,"endOffset":19878,"count":458},{"startOffset":19950,"endOffset":19970,"count":529},{"startOffset":19970,"endOffset":19981,"count":87},{"startOffset":19983,"endOffset":20199,"count":67},{"startOffset":20093,"endOffset":20131,"count":0},{"startOffset":20199,"endOffset":20219,"count":529},{"startOffset":20219,"endOffset":20295,"count":509},{"startOffset":20295,"endOffset":20473,"count":20},{"startOffset":20473,"endOffset":20491,"count":1}],"isBlockCoverage":true},{"functionName":"Module._nodeModulePaths","ranges":[{"startOffset":22345,"endOffset":23485,"count":463},{"startOffset":22623,"endOffset":22648,"count":0},{"startOffset":22941,"endOffset":23363,"count":29480},{"startOffset":23037,"endOffset":23233,"count":3176},{"startOffset":23074,"endOffset":23192,"count":2707},{"startOffset":23233,"endOffset":23357,"count":26304},{"startOffset":23253,"endOffset":23357,"count":8979},{"startOffset":23288,"endOffset":23314,"count":6272},{"startOffset":23314,"endOffset":23349,"count":2707}],"isBlockCoverage":true},{"functionName":"Module._resolveLookupPaths","ranges":[{"startOffset":23519,"endOffset":24778,"count":632},{"startOffset":23599,"endOffset":23665,"count":0},{"startOffset":23750,"endOffset":23949,"count":530},{"startOffset":23830,"endOffset":23880,"count":368},{"startOffset":23881,"endOffset":23948,"count":0},{"startOffset":23951,"endOffset":24250,"count":102},{"startOffset":23983,"endOffset":23998,"count":68},{"startOffset":24000,"endOffset":24110,"count":68},{"startOffset":24110,"endOffset":24150,"count":34},{"startOffset":24239,"endOffset":24245,"count":0},{"startOffset":24250,"endOffset":24318,"count":530},{"startOffset":24319,"endOffset":24338,"count":530},{"startOffset":24340,"endOffset":24589,"count":0},{"startOffset":24589,"endOffset":24777,"count":530}],"isBlockCoverage":true},{"functionName":"getExportsForCircularRequire","ranges":[{"startOffset":25803,"endOffset":26447,"count":2},{"startOffset":25972,"endOffset":26265,"count":1},{"startOffset":26267,"endOffset":26419,"count":1}],"isBlockCoverage":true},{"functionName":"Module._load","ranges":[{"startOffset":26860,"endOffset":29991,"count":949},{"startOffset":26943,"endOffset":27759,"count":915},{"startOffset":27402,"endOffset":27755,"count":232},{"startOffset":27592,"endOffset":27642,"count":0},{"startOffset":27687,"endOffset":27755,"count":0},{"startOffset":27759,"endOffset":27812,"count":717},{"startOffset":27812,"endOffset":28084,"count":3},{"startOffset":27941,"endOffset":28001,"count":0},{"startOffset":28084,"endOffset":28237,"count":714},{"startOffset":28237,"endOffset":28597,"count":244},{"startOffset":28317,"endOffset":28545,"count":40},{"startOffset":28413,"endOffset":28440,"count":38},{"startOffset":28450,"endOffset":28500,"count":2},{"startOffset":28500,"endOffset":28545,"count":38},{"startOffset":28545,"endOffset":28593,"count":204},{"startOffset":28597,"endOffset":28657,"count":507},{"startOffset":28657,"endOffset":28740,"count":86},{"startOffset":28740,"endOffset":28839,"count":421},{"startOffset":28839,"endOffset":28870,"count":383},{"startOffset":28887,"endOffset":29028,"count":0},{"startOffset":29028,"endOffset":29132,"count":421},{"startOffset":29132,"endOffset":29201,"count":387},{"startOffset":29201,"endOffset":29963,"count":421},{"startOffset":29306,"endOffset":29709,"count":0},{"startOffset":29734,"endOffset":29776,"count":419},{"startOffset":29777,"endOffset":29889,"count":419},{"startOffset":29891,"endOffset":29959,"count":1},{"startOffset":29963,"endOffset":29990,"count":421}],"isBlockCoverage":true},{"functionName":"Module._resolveFilename","ranges":[{"startOffset":30020,"endOffset":33106,"count":718},{"startOffset":30117,"endOffset":30142,"count":86},{"startOffset":30142,"endOffset":30192,"count":632},{"startOffset":30192,"endOffset":30211,"count":0},{"startOffset":30213,"endOffset":31290,"count":0},{"startOffset":31290,"endOffset":31385,"count":632},{"startOffset":31385,"endOffset":31433,"count":0},{"startOffset":31435,"endOffset":32047,"count":0},{"startOffset":32047,"endOffset":32208,"count":632},{"startOffset":32208,"endOffset":32404,"count":0},{"startOffset":32404,"endOffset":32544,"count":632},{"startOffset":32544,"endOffset":32560,"count":631},{"startOffset":32560,"endOffset":32672,"count":1},{"startOffset":32672,"endOffset":32745,"count":2},{"startOffset":32727,"endOffset":32739,"count":0},{"startOffset":32745,"endOffset":33105,"count":1}],"isBlockCoverage":true},{"functionName":"finalizeEsmResolution","ranges":[{"startOffset":33109,"endOffset":33678,"count":1},{"startOffset":33311,"endOffset":33430,"count":0},{"startOffset":33543,"endOffset":33677,"count":0}],"isBlockCoverage":true},{"functionName":"Module.load","ranges":[{"startOffset":34059,"endOffset":34896,"count":421},{"startOffset":34394,"endOffset":34424,"count":0},{"startOffset":34430,"endOffset":34472,"count":0},{"startOffset":34752,"endOffset":34800,"count":0}],"isBlockCoverage":true},{"functionName":"Module.require","ranges":[{"startOffset":35095,"endOffset":35394,"count":915},{"startOffset":35155,"endOffset":35273,"count":0}],"isBlockCoverage":true},{"functionName":"wrapSafe","ranges":[{"startOffset":35584,"endOffset":37521,"count":416},{"startOffset":35668,"endOffset":36404,"count":0},{"startOffset":36944,"endOffset":36990,"count":0},{"startOffset":36991,"endOffset":37032,"count":0},{"startOffset":37034,"endOffset":37097,"count":0},{"startOffset":37183,"endOffset":37281,"count":3},{"startOffset":37315,"endOffset":37519,"count":0}],"isBlockCoverage":true},{"functionName":"importModuleDynamically","ranges":[{"startOffset":35895,"endOffset":36134,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":36617,"endOffset":36870,"count":0}],"isBlockCoverage":false},{"functionName":"Module._compile","ranges":[{"startOffset":37721,"endOffset":39539,"count":416},{"startOffset":37812,"endOffset":37822,"count":0},{"startOffset":37840,"endOffset":37993,"count":0},{"startOffset":38126,"endOffset":38150,"count":0},{"startOffset":38152,"endOffset":38888,"count":0},{"startOffset":39111,"endOffset":39137,"count":34},{"startOffset":39162,"endOffset":39301,"count":0},{"startOffset":39503,"endOffset":39520,"count":34}],"isBlockCoverage":true},{"functionName":"Module._extensions..js","ranges":[{"startOffset":39598,"endOffset":41380,"count":416},{"startOffset":39759,"endOffset":39767,"count":38},{"startOffset":39769,"endOffset":39834,"count":38},{"startOffset":39834,"endOffset":39894,"count":378},{"startOffset":39943,"endOffset":41340,"count":411},{"startOffset":39988,"endOffset":40010,"count":0},{"startOffset":40106,"endOffset":41336,"count":0}],"isBlockCoverage":true},{"functionName":"Module._extensions..json","ranges":[{"startOffset":41444,"endOffset":41850,"count":5},{"startOffset":41554,"endOffset":41564,"count":0},{"startOffset":41582,"endOffset":41684,"count":0},{"startOffset":41767,"endOffset":41848,"count":0}],"isBlockCoverage":true},{"functionName":"Module._initPaths","ranges":[{"startOffset":43434,"endOffset":44399,"count":1},{"startOffset":43475,"endOffset":43500,"count":0},{"startOffset":43552,"endOffset":43575,"count":0},{"startOffset":43783,"endOffset":43825,"count":0},{"startOffset":44124,"endOffset":44266,"count":0}],"isBlockCoverage":true}]},{"scriptId":"64","url":"node:internal/vm","functions":[{"functionName":"internalCompileFunction","ranges":[{"startOffset":556,"endOffset":2857,"count":416},{"startOffset":1151,"endOffset":1200,"count":0},{"startOffset":1304,"endOffset":1566,"count":0},{"startOffset":2045,"endOffset":2118,"count":0},{"startOffset":2145,"endOffset":2202,"count":0},{"startOffset":2258,"endOffset":2331,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1675,"endOffset":1824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"65","url":"node:internal/modules/helpers","functions":[{"functionName":"","ranges":[{"startOffset":923,"endOffset":948,"count":1}],"isBlockCoverage":true},{"functionName":"initializeCjsConditions","ranges":[{"startOffset":971,"endOffset":1363,"count":1},{"startOffset":1150,"endOffset":1154,"count":0}],"isBlockCoverage":true},{"functionName":"getCjsConditions","ranges":[{"startOffset":1365,"endOffset":1492,"count":1},{"startOffset":1430,"endOffset":1466,"count":0}],"isBlockCoverage":true},{"functionName":"loadBuiltinModule","ranges":[{"startOffset":1494,"endOffset":1823,"count":107},{"startOffset":1595,"endOffset":1612,"count":0}],"isBlockCoverage":true},{"functionName":"lazyModule","ranges":[{"startOffset":1845,"endOffset":1958,"count":416},{"startOffset":1889,"endOffset":1937,"count":1}],"isBlockCoverage":true},{"functionName":"makeRequireFunction","ranges":[{"startOffset":2207,"endOffset":4418,"count":416},{"startOffset":2346,"endOffset":2409,"count":0},{"startOffset":2443,"endOffset":3714,"count":0}],"isBlockCoverage":true},{"functionName":"require","ranges":[{"startOffset":2586,"endOffset":3709,"count":0}],"isBlockCoverage":false},{"functionName":"require","ranges":[{"startOffset":3736,"endOffset":3876,"count":914}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":3885,"endOffset":4031,"count":0}],"isBlockCoverage":false},{"functionName":"paths","ranges":[{"startOffset":4065,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"stripBOM","ranges":[{"startOffset":4603,"endOffset":4758,"count":5},{"startOffset":4685,"endOffset":4738,"count":0}],"isBlockCoverage":true},{"functionName":"normalizeReferrerURL","ranges":[{"startOffset":6788,"endOffset":6976,"count":137},{"startOffset":6895,"endOffset":6941,"count":3},{"startOffset":6941,"endOffset":6975,"count":134}],"isBlockCoverage":true}]},{"scriptId":"66","url":"node:internal/modules/package_json_reader","functions":[{"functionName":"read","ranges":[{"startOffset":932,"endOffset":3682,"count":2920},{"startOffset":1028,"endOffset":1065,"count":2692},{"startOffset":1065,"endOffset":1742,"count":228},{"startOffset":1742,"endOffset":1751,"count":0},{"startOffset":1752,"endOffset":1766,"count":0},{"startOffset":1767,"endOffset":1789,"count":228},{"startOffset":1813,"endOffset":3632,"count":138},{"startOffset":1881,"endOffset":2477,"count":0},{"startOffset":2635,"endOffset":2669,"count":136},{"startOffset":2671,"endOffset":2711,"count":136},{"startOffset":2767,"endOffset":2801,"count":62},{"startOffset":2803,"endOffset":2843,"count":62},{"startOffset":2903,"endOffset":2949,"count":59},{"startOffset":3009,"endOffset":3055,"count":1},{"startOffset":3166,"endOffset":3225,"count":57},{"startOffset":3197,"endOffset":3224,"count":55},{"startOffset":3227,"endOffset":3267,"count":57},{"startOffset":3301,"endOffset":3497,"count":1},{"startOffset":3422,"endOffset":3475,"count":0},{"startOffset":3525,"endOffset":3628,"count":0},{"startOffset":3632,"endOffset":3681,"count":228}],"isBlockCoverage":true}]},{"scriptId":"67","url":"node:internal/modules/esm/utils","functions":[{"functionName":"getDefaultConditions","ranges":[{"startOffset":707,"endOffset":813,"count":262}],"isBlockCoverage":true},{"functionName":"getDefaultConditionsSet","ranges":[{"startOffset":841,"endOffset":956,"count":261}],"isBlockCoverage":true},{"functionName":"initializeDefaultConditions","ranges":[{"startOffset":1036,"endOffset":1418,"count":1},{"startOffset":1219,"endOffset":1223,"count":0}],"isBlockCoverage":true},{"functionName":"getConditionsSet","ranges":[{"startOffset":1488,"endOffset":1847,"count":261},{"startOffset":1601,"endOffset":1809,"count":0}],"isBlockCoverage":true},{"functionName":"registerModule","ranges":[{"startOffset":3590,"endOffset":3817,"count":550}],"isBlockCoverage":true},{"functionName":"initializeImportMetaObject","ranges":[{"startOffset":3842,"endOffset":4133,"count":4}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyCallback","ranges":[{"startOffset":4158,"endOffset":4557,"count":4},{"startOffset":4501,"endOffset":4556,"count":0}],"isBlockCoverage":true},{"functionName":"initializeESM","ranges":[{"startOffset":4722,"endOffset":5098,"count":1}],"isBlockCoverage":true},{"functionName":"isLoaderWorker","ranges":[{"startOffset":5100,"endOffset":5155,"count":1}],"isBlockCoverage":true}]},{"scriptId":"68","url":"node:internal/process/pre_execution","functions":[{"functionName":"prepareMainThreadExecution","ranges":[{"startOffset":1091,"endOffset":1268,"count":1}],"isBlockCoverage":true},{"functionName":"prepareExecution","ranges":[{"startOffset":1471,"endOffset":3628,"count":1},{"startOffset":2416,"endOffset":2520,"count":0},{"startOffset":3408,"endOffset":3570,"count":0}],"isBlockCoverage":true},{"functionName":"setupSymbolDisposePolyfill","ranges":[{"startOffset":3630,"endOffset":4365,"count":1}],"isBlockCoverage":true},{"functionName":"setupUserModules","ranges":[{"startOffset":4367,"endOffset":4795,"count":1},{"startOffset":4676,"endOffset":4693,"count":0}],"isBlockCoverage":true},{"functionName":"refreshRuntimeOptions","ranges":[{"startOffset":4797,"endOffset":4853,"count":1}],"isBlockCoverage":true},{"functionName":"patchProcessObject","ranges":[{"startOffset":4855,"endOffset":6952,"count":1},{"startOffset":5621,"endOffset":5673,"count":0}],"isBlockCoverage":true},{"functionName":"addReadOnlyProcessAlias","ranges":[{"startOffset":6954,"endOffset":7235,"count":13},{"startOffset":7075,"endOffset":7233,"count":1}],"isBlockCoverage":true},{"functionName":"setupWarningHandler","ranges":[{"startOffset":7237,"endOffset":7757,"count":1},{"startOffset":7612,"endOffset":7751,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7641,"endOffset":7743,"count":0}],"isBlockCoverage":false},{"functionName":"setupFetch","ranges":[{"startOffset":7793,"endOffset":8933,"count":1},{"startOffset":7913,"endOffset":7930,"count":0}],"isBlockCoverage":true},{"functionName":"lazyUndici","ranges":[{"startOffset":7948,"endOffset":8093,"count":0}],"isBlockCoverage":false},{"functionName":"fetch","ranges":[{"startOffset":8097,"endOffset":8192,"count":0}],"isBlockCoverage":false},{"functionName":"lazyInterface","ranges":[{"startOffset":8244,"endOffset":8485,"count":4}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8345,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8403,"endOffset":8473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8818,"endOffset":8929,"count":0}],"isBlockCoverage":false},{"functionName":"setupWebCrypto","ranges":[{"startOffset":9037,"endOffset":9989,"count":1},{"startOffset":9172,"endOffset":9189,"count":0},{"startOffset":9678,"endOffset":9987,"count":0}],"isBlockCoverage":true},{"functionName":"cryptoThisCheck","ranges":[{"startOffset":9363,"endOffset":9539,"count":0}],"isBlockCoverage":false},{"functionName":"get crypto","ranges":[{"startOffset":9840,"endOffset":9939,"count":0}],"isBlockCoverage":false},{"functionName":"setupCodeCoverage","ranges":[{"startOffset":9991,"endOffset":10512,"count":1}],"isBlockCoverage":true},{"functionName":"setupCustomEvent","ranges":[{"startOffset":10618,"endOffset":10895,"count":1},{"startOffset":10757,"endOffset":10774,"count":0}],"isBlockCoverage":true},{"functionName":"setupStacktracePrinterOnSigint","ranges":[{"startOffset":10897,"endOffset":11122,"count":1},{"startOffset":10999,"endOffset":11121,"count":0}],"isBlockCoverage":true},{"functionName":"initializeReport","ranges":[{"startOffset":11124,"endOffset":11373,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":11269,"endOffset":11364,"count":3}],"isBlockCoverage":true},{"functionName":"setupDebugEnv","ranges":[{"startOffset":11375,"endOffset":11606,"count":1},{"startOffset":11526,"endOffset":11604,"count":0}],"isBlockCoverage":true},{"functionName":"initializeReportSignalHandlers","ranges":[{"startOffset":11668,"endOffset":11856,"count":1},{"startOffset":11756,"endOffset":11854,"count":0}],"isBlockCoverage":true},{"functionName":"initializeHeapSnapshotSignalHandlers","ranges":[{"startOffset":11858,"endOffset":12592,"count":1},{"startOffset":12053,"endOffset":12590,"count":0}],"isBlockCoverage":true},{"functionName":"doWriteHeapSnapshot","ranges":[{"startOffset":12166,"endOffset":12320,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12512,"endOffset":12584,"count":0}],"isBlockCoverage":false},{"functionName":"setupTraceCategoryState","ranges":[{"startOffset":12594,"endOffset":12853,"count":1}],"isBlockCoverage":true},{"functionName":"setupInspectorHooks","ranges":[{"startOffset":12855,"endOffset":13437,"count":1}],"isBlockCoverage":true},{"functionName":"initializeDeprecations","ranges":[{"startOffset":13632,"endOffset":15584,"count":1},{"startOffset":14344,"endOffset":14646,"count":16},{"startOffset":14389,"endOffset":14621,"count":0},{"startOffset":14963,"endOffset":15160,"count":0},{"startOffset":15188,"endOffset":15582,"count":0}],"isBlockCoverage":true},{"functionName":"setupChildProcessIpcChannel","ranges":[{"startOffset":15586,"endOffset":16151,"count":1},{"startOffset":15662,"endOffset":16149,"count":0}],"isBlockCoverage":true},{"functionName":"initializeClusterIPC","ranges":[{"startOffset":16153,"endOffset":16423,"count":1},{"startOffset":16240,"endOffset":16421,"count":0}],"isBlockCoverage":true},{"functionName":"initializePermission","ranges":[{"startOffset":16425,"endOffset":18308,"count":1},{"startOffset":16567,"endOffset":17928,"count":0}],"isBlockCoverage":true},{"functionName":"binding","ranges":[{"startOffset":16591,"endOffset":16678,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18140,"endOffset":18300,"count":4},{"startOffset":18218,"endOffset":18294,"count":0}],"isBlockCoverage":true},{"functionName":"readPolicyFromDisk","ranges":[{"startOffset":18310,"endOffset":20129,"count":1},{"startOffset":18438,"endOffset":20127,"count":0}],"isBlockCoverage":true},{"functionName":"initializeCJSLoader","ranges":[{"startOffset":20131,"endOffset":20252,"count":1}],"isBlockCoverage":true},{"functionName":"initializeESMLoader","ranges":[{"startOffset":20254,"endOffset":20829,"count":1},{"startOffset":20582,"endOffset":20827,"count":0}],"isBlockCoverage":true},{"functionName":"initializeSourceMapsHandlers","ranges":[{"startOffset":20831,"endOffset":21029,"count":1}],"isBlockCoverage":true},{"functionName":"initializeFrozenIntrinsics","ranges":[{"startOffset":21031,"endOffset":21288,"count":1},{"startOffset":21116,"endOffset":21286,"count":0}],"isBlockCoverage":true},{"functionName":"loadPreloadModules","ranges":[{"startOffset":21290,"endOffset":21638,"count":1},{"startOffset":21484,"endOffset":21636,"count":0}],"isBlockCoverage":true},{"functionName":"markBootstrapComplete","ranges":[{"startOffset":21640,"endOffset":21734,"count":1}],"isBlockCoverage":true}]},{"scriptId":"69","url":"node:internal/vm/module","functions":[{"functionName":"importModuleDynamicallyWrap","ranges":[{"startOffset":11617,"endOffset":12096,"count":416}],"isBlockCoverage":true},{"functionName":"importModuleDynamicallyWrapper","ranges":[{"startOffset":11722,"endOffset":12052,"count":0}],"isBlockCoverage":false}]},{"scriptId":"71","url":"node:internal/modules/run_main","functions":[{"functionName":"resolveMainPath","ranges":[{"startOffset":155,"endOffset":666,"count":1},{"startOffset":495,"endOffset":502,"count":0}],"isBlockCoverage":true},{"functionName":"shouldUseESMLoader","ranges":[{"startOffset":668,"endOffset":1558,"count":1},{"startOffset":1184,"endOffset":1196,"count":0},{"startOffset":1390,"endOffset":1451,"count":0},{"startOffset":1457,"endOffset":1555,"count":0}],"isBlockCoverage":true},{"functionName":"runMainESM","ranges":[{"startOffset":1560,"endOffset":1920,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1736,"endOffset":1915,"count":1},{"startOffset":1833,"endOffset":1843,"count":0}],"isBlockCoverage":true},{"functionName":"handleMainPromise","ranges":[{"startOffset":1922,"endOffset":2196,"count":1}],"isBlockCoverage":true},{"functionName":"executeUserEntryPoint","ranges":[{"startOffset":2382,"endOffset":2780,"count":1},{"startOffset":2592,"endOffset":2599,"count":0},{"startOffset":2605,"endOffset":2778,"count":0}],"isBlockCoverage":true}]},{"scriptId":"72","url":"node:internal/dns/utils","functions":[{"functionName":"initializeDns","ranges":[{"startOffset":5427,"endOffset":5813,"count":1},{"startOffset":5570,"endOffset":5680,"count":0},{"startOffset":5728,"endOffset":5812,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5753,"endOffset":5809,"count":0}],"isBlockCoverage":false}]},{"scriptId":"74","url":"node:internal/bootstrap/switches/does_own_process_state","functions":[{"functionName":"wrappedCwd","ranges":[{"startOffset":3541,"endOffset":3644,"count":18},{"startOffset":3593,"endOffset":3622,"count":1}],"isBlockCoverage":true}]},{"scriptId":"81","url":"node:internal/main/run_main_module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":793,"count":1}],"isBlockCoverage":false}]},{"scriptId":"82","url":"node:internal/process/esm_loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1190,"count":1}],"isBlockCoverage":false},{"functionName":"get esmLoader","ranges":[{"startOffset":386,"endOffset":458,"count":110}],"isBlockCoverage":true},{"functionName":"loadESM","ranges":[{"startOffset":462,"endOffset":1185,"count":1},{"startOffset":630,"endOffset":846,"count":0},{"startOffset":937,"endOffset":1181,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":728,"endOffset":836,"count":0}],"isBlockCoverage":false}]},{"scriptId":"83","url":"node:internal/modules/esm/loader","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21570,"count":1}],"isBlockCoverage":false},{"functionName":"newResolveCache","ranges":[{"startOffset":783,"endOffset":913,"count":1}],"isBlockCoverage":true},{"functionName":"newLoadCache","ranges":[{"startOffset":915,"endOffset":1036,"count":1}],"isBlockCoverage":true},{"functionName":"getTranslators","ranges":[{"startOffset":1038,"endOffset":1160,"count":188}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1847,"endOffset":14781,"count":1}],"isBlockCoverage":false},{"functionName":"ModuleLoader","ranges":[{"startOffset":3114,"endOffset":3307,"count":1},{"startOffset":3202,"endOffset":3259,"count":0}],"isBlockCoverage":true},{"functionName":"setCustomizations","ranges":[{"startOffset":4847,"endOffset":5091,"count":1},{"startOffset":4950,"endOffset":5032,"count":0}],"isBlockCoverage":true},{"functionName":"eval","ranges":[{"startOffset":5095,"endOffset":6098,"count":0}],"isBlockCoverage":false},{"functionName":"getModuleJob","ranges":[{"startOffset":6833,"endOffset":7068,"count":352}],"isBlockCoverage":true},{"functionName":"getModuleJobSync","ranges":[{"startOffset":7072,"endOffset":7309,"count":0}],"isBlockCoverage":false},{"functionName":"getJobFromResolveResult","ranges":[{"startOffset":7313,"endOffset":7897,"count":352},{"startOffset":7687,"endOffset":7749,"count":0},{"startOffset":7778,"endOffset":7876,"count":187}],"isBlockCoverage":true},{"functionName":"#createModuleJob","ranges":[{"startOffset":8535,"endOffset":9726,"count":187},{"startOffset":9027,"endOffset":9103,"count":0},{"startOffset":9246,"endOffset":9286,"count":1},{"startOffset":9341,"endOffset":9356,"count":0},{"startOffset":9358,"endOffset":9412,"count":0}],"isBlockCoverage":true},{"functionName":"callTranslator","ranges":[{"startOffset":8629,"endOffset":8943,"count":187},{"startOffset":8773,"endOffset":8853,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9035,"endOffset":9103,"count":0}],"isBlockCoverage":false},{"functionName":"moduleProvider","ranges":[{"startOffset":9112,"endOffset":9188,"count":187}],"isBlockCoverage":true},{"functionName":"import","ranges":[{"startOffset":10188,"endOffset":10413,"count":5}],"isBlockCoverage":true},{"functionName":"register","ranges":[{"startOffset":10479,"endOffset":11002,"count":0}],"isBlockCoverage":false},{"functionName":"resolve","ranges":[{"startOffset":11461,"endOffset":12047,"count":352},{"startOffset":11549,"endOffset":11647,"count":0},{"startOffset":11843,"endOffset":11877,"count":1},{"startOffset":11877,"endOffset":12046,"count":351}],"isBlockCoverage":true},{"functionName":"resolveSync","ranges":[{"startOffset":12205,"endOffset":12483,"count":0}],"isBlockCoverage":false},{"functionName":"defaultResolve","ranges":[{"startOffset":12695,"endOffset":13035,"count":351}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":13319,"endOffset":13623,"count":187},{"startOffset":13456,"endOffset":13510,"count":0}],"isBlockCoverage":true},{"functionName":"loadSync","ranges":[{"startOffset":13627,"endOffset":14158,"count":0}],"isBlockCoverage":false},{"functionName":"validateLoadResult","ranges":[{"startOffset":14162,"endOffset":14313,"count":187},{"startOffset":14220,"endOffset":14309,"count":0}],"isBlockCoverage":true},{"functionName":"importMetaInitialize","ranges":[{"startOffset":14317,"endOffset":14652,"count":4},{"startOffset":14385,"endOffset":14469,"count":0}],"isBlockCoverage":true},{"functionName":"forceLoadHooks","ranges":[{"startOffset":14713,"endOffset":14779,"count":1},{"startOffset":14756,"endOffset":14772,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14835,"endOffset":17345,"count":0}],"isBlockCoverage":false},{"functionName":"createModuleLoader","ranges":[{"startOffset":17841,"endOffset":19523,"count":1},{"startOffset":18306,"endOffset":19473,"count":0}],"isBlockCoverage":true},{"functionName":"readableURIEncode","ranges":[{"startOffset":18381,"endOffset":18876,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19196,"endOffset":19284,"count":0}],"isBlockCoverage":false},{"functionName":"getHooksProxy","ranges":[{"startOffset":19636,"endOffset":19812,"count":0}],"isBlockCoverage":false},{"functionName":"register","ranges":[{"startOffset":21096,"endOffset":21495,"count":0}],"isBlockCoverage":false}]},{"scriptId":"84","url":"node:internal/modules/esm/module_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3877,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":281,"endOffset":306,"count":1}],"isBlockCoverage":true},{"functionName":"ResolveCache","ranges":[{"startOffset":850,"endOffset":878,"count":1}],"isBlockCoverage":true},{"functionName":"serializeKey","ranges":[{"startOffset":1224,"endOffset":1836,"count":352},{"startOffset":1633,"endOffset":1835,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1752,"endOffset":1818,"count":0}],"isBlockCoverage":false},{"functionName":"#getModuleCachedImports","ranges":[{"startOffset":1840,"endOffset":2056,"count":703},{"startOffset":1954,"endOffset":2026,"count":89}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2231,"endOffset":2333,"count":352}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":2473,"endOffset":2602,"count":351}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":2606,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"LoadCache","ranges":[{"startOffset":2844,"endOffset":2872,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":2921,"endOffset":3064,"count":352},{"startOffset":3051,"endOffset":3059,"count":165}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3067,"endOffset":3662,"count":187},{"startOffset":3286,"endOffset":3322,"count":0},{"startOffset":3324,"endOffset":3394,"count":0},{"startOffset":3478,"endOffset":3484,"count":0}],"isBlockCoverage":true},{"functionName":"has","ranges":[{"startOffset":3665,"endOffset":3822,"count":0}],"isBlockCoverage":false}]},{"scriptId":"85","url":"node:internal/modules/esm/assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4026,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1321,"endOffset":1359,"count":5}],"isBlockCoverage":true},{"functionName":"validateAssertions","ranges":[{"startOffset":1780,"endOffset":3310,"count":187},{"startOffset":2002,"endOffset":2301,"count":0},{"startOffset":2330,"endOffset":2475,"count":0},{"startOffset":2740,"endOffset":2800,"count":0},{"startOffset":2806,"endOffset":2914,"count":0},{"startOffset":2920,"endOffset":3304,"count":0}],"isBlockCoverage":true},{"functionName":"handleInvalidType","ranges":[{"startOffset":3542,"endOffset":3956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"86","url":"node:internal/modules/esm/translators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15691,"count":1}],"isBlockCoverage":false},{"functionName":"lazyTypes","ranges":[{"startOffset":372,"endOffset":484,"count":268},{"startOffset":418,"endOffset":432,"count":267},{"startOffset":432,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":948,"endOffset":973,"count":1}],"isBlockCoverage":true},{"functionName":"initCJSParse","ranges":[{"startOffset":1545,"endOffset":1943,"count":15},{"startOffset":1619,"endOffset":1694,"count":0},{"startOffset":1852,"endOffset":1937,"count":0}],"isBlockCoverage":true},{"functionName":"assertBufferSource","ranges":[{"startOffset":2077,"endOffset":2498,"count":268},{"startOffset":2154,"endOffset":2181,"count":134},{"startOffset":2183,"endOffset":2200,"count":0},{"startOffset":2294,"endOffset":2319,"count":0},{"startOffset":2338,"endOffset":2417,"count":0},{"startOffset":2418,"endOffset":2422,"count":0}],"isBlockCoverage":true},{"functionName":"stringify","ranges":[{"startOffset":2500,"endOffset":2774,"count":169},{"startOffset":2559,"endOffset":2571,"count":35},{"startOffset":2571,"endOffset":2711,"count":134},{"startOffset":2711,"endOffset":2730,"count":1},{"startOffset":2731,"endOffset":2740,"count":133}],"isBlockCoverage":true},{"functionName":"errPath","ranges":[{"startOffset":2776,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"importModuleDynamically","ranges":[{"startOffset":2923,"endOffset":3061,"count":4}],"isBlockCoverage":true},{"functionName":"moduleStrategy","ranges":[{"startOffset":3143,"endOffset":3668,"count":134}],"isBlockCoverage":true},{"functionName":"initializeImportMeta","ranges":[{"startOffset":3557,"endOffset":3613,"count":4}],"isBlockCoverage":true},{"functionName":"enrichCJSError","ranges":[{"startOffset":3835,"endOffset":4374,"count":0}],"isBlockCoverage":false},{"functionName":"loadCJSModule","ranges":[{"startOffset":4715,"endOffset":6835,"count":0}],"isBlockCoverage":false},{"functionName":"createCJSModuleWrap","ranges":[{"startOffset":6909,"endOffset":8288,"count":35},{"startOffset":7110,"endOffset":7115,"count":0},{"startOffset":7309,"endOffset":7331,"count":2},{"startOffset":7332,"endOffset":7361,"count":33},{"startOffset":7378,"endOffset":7434,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7494,"endOffset":8283,"count":35},{"startOffset":7571,"endOffset":7624,"count":34},{"startOffset":7806,"endOffset":7849,"count":0},{"startOffset":7892,"endOffset":8239,"count":77},{"startOffset":7956,"endOffset":7993,"count":74},{"startOffset":8003,"endOffset":8012,"count":4},{"startOffset":8012,"endOffset":8136,"count":73},{"startOffset":8136,"endOffset":8192,"count":0},{"startOffset":8192,"endOffset":8239,"count":73}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8448,"endOffset":8540,"count":0}],"isBlockCoverage":false},{"functionName":"commonjsStrategy","ranges":[{"startOffset":8728,"endOffset":9611,"count":35},{"startOffset":8860,"endOffset":8891,"count":15},{"startOffset":9358,"endOffset":9373,"count":0},{"startOffset":9498,"endOffset":9546,"count":0}],"isBlockCoverage":true},{"functionName":"cjsLoader","ranges":[{"startOffset":9138,"endOffset":9357,"count":34},{"startOffset":9277,"endOffset":9353,"count":0}],"isBlockCoverage":true},{"functionName":"cjsPreparseModuleExports","ranges":[{"startOffset":9615,"endOffset":12093,"count":38},{"startOffset":9798,"endOffset":9923,"count":0},{"startOffset":10231,"endOffset":10236,"count":0},{"startOffset":10244,"endOffset":10293,"count":0},{"startOffset":10469,"endOffset":12056,"count":4},{"startOffset":11330,"endOffset":11363,"count":0},{"startOffset":11579,"endOffset":11596,"count":1},{"startOffset":11597,"endOffset":11627,"count":1},{"startOffset":11629,"endOffset":11658,"count":3},{"startOffset":11660,"endOffset":12046,"count":3},{"startOffset":12016,"endOffset":12038,"count":9}],"isBlockCoverage":true},{"functionName":"builtinStrategy","ranges":[{"startOffset":12217,"endOffset":12623,"count":18},{"startOffset":12496,"endOffset":12548,"count":0}],"isBlockCoverage":true},{"functionName":"jsonStrategy","ranges":[{"startOffset":12735,"endOffset":14686,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14752,"endOffset":15688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"87","url":"node:internal/modules/esm/resolve","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":36606,"count":1}],"isBlockCoverage":false},{"functionName":"emitTrailingSlashPatternDeprecation","ranges":[{"startOffset":2334,"endOffset":2920,"count":0}],"isBlockCoverage":false},{"functionName":"emitInvalidSegmentDeprecation","ranges":[{"startOffset":2962,"endOffset":3657,"count":0}],"isBlockCoverage":false},{"functionName":"emitLegacyIndexDeprecation","ranges":[{"startOffset":3805,"endOffset":4938,"count":37},{"startOffset":3967,"endOffset":4936,"count":0}],"isBlockCoverage":true},{"functionName":"legacyMainResolve","ranges":[{"startOffset":6029,"endOffset":6789,"count":37},{"startOffset":6196,"endOffset":6280,"count":0},{"startOffset":6320,"endOffset":6331,"count":0},{"startOffset":6543,"endOffset":6570,"count":25},{"startOffset":6571,"endOffset":6575,"count":12}],"isBlockCoverage":true},{"functionName":"finalizeResolution","ranges":[{"startOffset":6969,"endOffset":8433,"count":247},{"startOffset":7109,"endOffset":7252,"count":0},{"startOffset":7314,"endOffset":7498,"count":0},{"startOffset":7587,"endOffset":7623,"count":0},{"startOffset":7689,"endOffset":7781,"count":0},{"startOffset":7804,"endOffset":8092,"count":0},{"startOffset":8338,"endOffset":8343,"count":0}],"isBlockCoverage":true},{"functionName":"importNotDefined","ranges":[{"startOffset":8545,"endOffset":8756,"count":0}],"isBlockCoverage":false},{"functionName":"exportsNotFound","ranges":[{"startOffset":8866,"endOffset":9061,"count":0}],"isBlockCoverage":false},{"functionName":"throwInvalidSubpath","ranges":[{"startOffset":9228,"endOffset":9611,"count":0}],"isBlockCoverage":false},{"functionName":"invalidPackageTarget","ranges":[{"startOffset":9613,"endOffset":9991,"count":0}],"isBlockCoverage":false},{"functionName":"resolvePackageTargetString","ranges":[{"startOffset":10714,"endOffset":13451,"count":80},{"startOffset":10883,"endOffset":10894,"count":0},{"startOffset":10895,"endOffset":10931,"count":0},{"startOffset":10937,"endOffset":11011,"count":0},{"startOffset":11061,"endOffset":11618,"count":0},{"startOffset":11710,"endOffset":12320,"count":0},{"startOffset":12543,"endOffset":12617,"count":0},{"startOffset":12657,"endOffset":13450,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11393,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11919,"endOffset":11932,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12065,"endOffset":12078,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12792,"endOffset":12805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13032,"endOffset":13045,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13385,"endOffset":13398,"count":0}],"isBlockCoverage":false},{"functionName":"isArrayIndex","ranges":[{"startOffset":13506,"endOffset":13646,"count":27},{"startOffset":13598,"endOffset":13643,"count":0}],"isBlockCoverage":true},{"functionName":"resolvePackageTarget","ranges":[{"startOffset":13910,"endOffset":16158,"count":100},{"startOffset":14103,"endOffset":14257,"count":80},{"startOffset":14257,"endOffset":16041,"count":20},{"startOffset":14289,"endOffset":15127,"count":7},{"startOffset":14320,"endOffset":14346,"count":0},{"startOffset":14666,"endOffset":14814,"count":0},{"startOffset":14854,"endOffset":14881,"count":0},{"startOffset":14916,"endOffset":14973,"count":0},{"startOffset":15007,"endOffset":15069,"count":0},{"startOffset":15077,"endOffset":15127,"count":0},{"startOffset":15127,"endOffset":16041,"count":13},{"startOffset":15280,"endOffset":15508,"count":27},{"startOffset":15338,"endOffset":15502,"count":0},{"startOffset":15551,"endOffset":15966,"count":16},{"startOffset":15608,"endOffset":15630,"count":14},{"startOffset":15632,"endOffset":15960,"count":13},{"startOffset":15913,"endOffset":15922,"count":0},{"startOffset":15966,"endOffset":16041,"count":0},{"startOffset":16041,"endOffset":16157,"count":0}],"isBlockCoverage":true},{"functionName":"isConditionalExportsMainSugar","ranges":[{"startOffset":16343,"endOffset":17278,"count":78},{"startOffset":16449,"endOffset":16473,"count":12},{"startOffset":16475,"endOffset":16487,"count":66},{"startOffset":16487,"endOffset":16541,"count":12},{"startOffset":16543,"endOffset":16556,"count":0},{"startOffset":16556,"endOffset":16696,"count":12},{"startOffset":16696,"endOffset":17247,"count":27},{"startOffset":16806,"endOffset":16863,"count":12},{"startOffset":16863,"endOffset":17243,"count":15},{"startOffset":16919,"endOffset":17243,"count":0},{"startOffset":17247,"endOffset":17277,"count":12}],"isBlockCoverage":true},{"functionName":"packageExportsResolve","ranges":[{"startOffset":17488,"endOffset":20047,"count":78},{"startOffset":17700,"endOffset":17727,"count":67},{"startOffset":18129,"endOffset":18203,"count":0},{"startOffset":18234,"endOffset":20046,"count":0}],"isBlockCoverage":true},{"functionName":"patternKeyCompare","ranges":[{"startOffset":20049,"endOffset":20580,"count":0}],"isBlockCoverage":false},{"functionName":"packageImportsResolve","ranges":[{"startOffset":20709,"endOffset":23166,"count":2},{"startOffset":20871,"endOffset":21024,"count":0},{"startOffset":21608,"endOffset":23100,"count":0},{"startOffset":23110,"endOffset":23165,"count":0}],"isBlockCoverage":true},{"functionName":"getPackageType","ranges":[{"startOffset":23271,"endOffset":23384,"count":266}],"isBlockCoverage":true},{"functionName":"parsePackageName","ranges":[{"startOffset":23546,"endOffset":24598,"count":114},{"startOffset":23737,"endOffset":23965,"count":1},{"startOffset":23817,"endOffset":23856,"count":0},{"startOffset":24011,"endOffset":24026,"count":112},{"startOffset":24027,"endOffset":24079,"count":2},{"startOffset":24256,"endOffset":24281,"count":0},{"startOffset":24308,"endOffset":24427,"count":0},{"startOffset":24483,"endOffset":24487,"count":112},{"startOffset":24488,"endOffset":24541,"count":2}],"isBlockCoverage":true},{"functionName":"packageResolve","ranges":[{"startOffset":24760,"endOffset":26832,"count":128},{"startOffset":24874,"endOffset":24920,"count":14},{"startOffset":24920,"endOffset":25379,"count":114},{"startOffset":25219,"endOffset":25256,"count":113},{"startOffset":25258,"endOffset":25375,"count":0},{"startOffset":25379,"endOffset":25550,"count":114},{"startOffset":25550,"endOffset":26617,"count":421},{"startOffset":25809,"endOffset":26086,"count":307},{"startOffset":25886,"endOffset":25923,"count":3},{"startOffset":25924,"endOffset":25950,"count":304},{"startOffset":26086,"endOffset":26267,"count":114},{"startOffset":26267,"endOffset":26384,"count":77},{"startOffset":26384,"endOffset":26526,"count":37},{"startOffset":26526,"endOffset":26617,"count":0},{"startOffset":26617,"endOffset":26831,"count":0}],"isBlockCoverage":true},{"functionName":"isBareSpecifier","ranges":[{"startOffset":26893,"endOffset":27003,"count":0}],"isBlockCoverage":false},{"functionName":"isRelativeSpecifier","ranges":[{"startOffset":27005,"endOffset":27276,"count":612},{"startOffset":27075,"endOffset":27258,"count":260},{"startOffset":27133,"endOffset":27145,"count":230},{"startOffset":27145,"endOffset":27254,"count":30},{"startOffset":27258,"endOffset":27275,"count":352}],"isBlockCoverage":true},{"functionName":"shouldBeTreatedAsRelativeOrAbsolutePath","ranges":[{"startOffset":27278,"endOffset":27461,"count":612},{"startOffset":27364,"endOffset":27377,"count":0},{"startOffset":27406,"endOffset":27418,"count":0}],"isBlockCoverage":true},{"functionName":"moduleResolve","ranges":[{"startOffset":27654,"endOffset":28445,"count":261},{"startOffset":27980,"endOffset":28026,"count":130},{"startOffset":28026,"endOffset":28316,"count":131},{"startOffset":28071,"endOffset":28143,"count":2},{"startOffset":28143,"endOffset":28316,"count":129},{"startOffset":28204,"endOffset":28312,"count":128},{"startOffset":28354,"endOffset":28380,"count":14},{"startOffset":28380,"endOffset":28444,"count":247}],"isBlockCoverage":true},{"functionName":"resolveAsCommonJS","ranges":[{"startOffset":28591,"endOffset":30048,"count":0}],"isBlockCoverage":false},{"functionName":"checkIfDisallowedImport","ranges":[{"startOffset":30110,"endOffset":31482,"count":351},{"startOffset":30204,"endOffset":31480,"count":350},{"startOffset":30416,"endOffset":31476,"count":0}],"isBlockCoverage":true},{"functionName":"throwIfInvalidParentURL","ranges":[{"startOffset":31557,"endOffset":31830,"count":351},{"startOffset":31634,"endOffset":31685,"count":1},{"startOffset":31685,"endOffset":31722,"count":350},{"startOffset":31722,"endOffset":31742,"count":0},{"startOffset":31744,"endOffset":31828,"count":0}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":31833,"endOffset":35819,"count":351},{"startOffset":31981,"endOffset":32000,"count":350},{"startOffset":31990,"endOffset":32000,"count":0},{"startOffset":32002,"endOffset":32811,"count":0},{"startOffset":32853,"endOffset":32958,"count":350},{"startOffset":32915,"endOffset":32954,"count":0},{"startOffset":33042,"endOffset":33101,"count":130},{"startOffset":33101,"endOffset":33423,"count":221},{"startOffset":33327,"endOffset":33415,"count":0},{"startOffset":33430,"endOffset":33489,"count":0},{"startOffset":33494,"endOffset":33529,"count":130},{"startOffset":33863,"endOffset":33882,"count":0},{"startOffset":33947,"endOffset":33977,"count":221},{"startOffset":33979,"endOffset":34022,"count":90},{"startOffset":34022,"endOffset":34081,"count":261},{"startOffset":34081,"endOffset":34579,"count":1},{"startOffset":34536,"endOffset":34575,"count":0},{"startOffset":34579,"endOffset":34735,"count":261},{"startOffset":34735,"endOffset":34757,"count":1},{"startOffset":34758,"endOffset":34776,"count":260},{"startOffset":34789,"endOffset":35593,"count":0},{"startOffset":35593,"endOffset":35818,"count":261}],"isBlockCoverage":true},{"functionName":"defaultResolve","ranges":[{"startOffset":36211,"endOffset":36602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"88","url":"node:internal/modules/esm/package_config","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1412,"count":1}],"isBlockCoverage":false},{"functionName":"getPackageScopeConfig","ranges":[{"startOffset":269,"endOffset":1362,"count":382},{"startOffset":387,"endOffset":1107,"count":716},{"startOffset":521,"endOffset":541,"count":0},{"startOffset":731,"endOffset":766,"count":382},{"startOffset":766,"endOffset":1083,"count":334},{"startOffset":1083,"endOffset":1103,"count":0},{"startOffset":1107,"endOffset":1361,"count":0}],"isBlockCoverage":true}]},{"scriptId":"89","url":"node:internal/modules/esm/get_format","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4514,"count":1}],"isBlockCoverage":false},{"functionName":"node:","ranges":[{"startOffset":900,"endOffset":931,"count":30}],"isBlockCoverage":true},{"functionName":"getDataProtocolModuleFormat","ranges":[{"startOffset":996,"endOffset":1212,"count":0}],"isBlockCoverage":false},{"functionName":"extname","ranges":[{"startOffset":1487,"endOffset":1846,"count":284},{"startOffset":1587,"endOffset":1831,"count":870},{"startOffset":1649,"endOffset":1684,"count":0},{"startOffset":1692,"endOffset":1821,"count":284},{"startOffset":1780,"endOffset":1784,"count":0},{"startOffset":1831,"endOffset":1845,"count":0}],"isBlockCoverage":true},{"functionName":"getFileProtocolModuleFormat","ranges":[{"startOffset":1970,"endOffset":3175,"count":284},{"startOffset":2086,"endOffset":2160,"count":266},{"startOffset":2132,"endOffset":2142,"count":192},{"startOffset":2143,"endOffset":2155,"count":74},{"startOffset":2160,"endOffset":2232,"count":18},{"startOffset":2232,"endOffset":2467,"count":0},{"startOffset":2469,"endOffset":3174,"count":0}],"isBlockCoverage":true},{"functionName":"getHttpProtocolModuleFormat","ranges":[{"startOffset":3311,"endOffset":3656,"count":0}],"isBlockCoverage":false},{"functionName":"defaultGetFormatWithoutErrors","ranges":[{"startOffset":3801,"endOffset":4036,"count":298},{"startOffset":3955,"endOffset":3977,"count":0}],"isBlockCoverage":true},{"functionName":"defaultGetFormat","ranges":[{"startOffset":4181,"endOffset":4404,"count":16},{"startOffset":4322,"endOffset":4344,"count":0}],"isBlockCoverage":true}]},{"scriptId":"90","url":"node:internal/modules/esm/formats","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":856,"count":1}],"isBlockCoverage":false},{"functionName":"mimeToFormat","ranges":[{"startOffset":468,"endOffset":794,"count":0}],"isBlockCoverage":false}]},{"scriptId":"91","url":"node:internal/modules/esm/handle_process_exit","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":424,"count":1}],"isBlockCoverage":false},{"functionName":"handleProcessExit","ranges":[{"startOffset":298,"endOffset":379,"count":0}],"isBlockCoverage":false}]},{"scriptId":"92","url":"node:internal/modules/esm/module_job","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8786,"count":1}],"isBlockCoverage":false},{"functionName":"isCommonJSGlobalLikeNotDefinedError","ranges":[{"startOffset":917,"endOffset":1048,"count":0}],"isBlockCoverage":false},{"functionName":"ModuleJob","ranges":[{"startOffset":1286,"endOffset":3283,"count":187},{"startOffset":1811,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"link","ranges":[{"startOffset":2085,"endOffset":2900,"count":187}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2541,"endOffset":2746,"count":347}],"isBlockCoverage":true},{"functionName":"instantiate","ranges":[{"startOffset":3287,"endOffset":3432,"count":5},{"startOffset":3344,"endOffset":3398,"count":3}],"isBlockCoverage":true},{"functionName":"_instantiate","ranges":[{"startOffset":3436,"endOffset":7090,"count":3},{"startOffset":3896,"endOffset":4073,"count":0},{"startOffset":4130,"endOffset":6843,"count":0},{"startOffset":6890,"endOffset":7086,"count":197}],"isBlockCoverage":true},{"functionName":"addJobsToDependencyGraph","ranges":[{"startOffset":3535,"endOffset":3795,"count":350},{"startOffset":3596,"endOffset":3621,"count":153},{"startOffset":3621,"endOffset":3794,"count":197}],"isBlockCoverage":true},{"functionName":"runSync","ranges":[{"startOffset":7094,"endOffset":7494,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":7498,"endOffset":8706,"count":5},{"startOffset":7673,"endOffset":8649,"count":0}],"isBlockCoverage":true}]},{"scriptId":"93","url":"node:internal/modules/esm/load","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6703,"count":1}],"isBlockCoverage":false},{"functionName":"getSource","ranges":[{"startOffset":1130,"endOffset":2357,"count":134},{"startOffset":1398,"endOffset":2223,"count":0},{"startOffset":2236,"endOffset":2246,"count":0},{"startOffset":2248,"endOffset":2304,"count":0}],"isBlockCoverage":true},{"functionName":"getSourceSync","ranges":[{"startOffset":2540,"endOffset":3279,"count":0}],"isBlockCoverage":false},{"functionName":"defaultLoad","ranges":[{"startOffset":3400,"endOffset":4067,"count":187},{"startOffset":3739,"endOffset":3827,"count":16},{"startOffset":3827,"endOffset":3855,"count":169},{"startOffset":3860,"endOffset":3884,"count":53},{"startOffset":3884,"endOffset":3986,"count":134}],"isBlockCoverage":true},{"functionName":"defaultLoadSync","ranges":[{"startOffset":4580,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfUnsupportedURLScheme","ranges":[{"startOffset":5367,"endOffset":5999,"count":187},{"startOffset":5597,"endOffset":5624,"count":18},{"startOffset":5625,"endOffset":5652,"count":18},{"startOffset":5653,"endOffset":5782,"count":0},{"startOffset":5787,"endOffset":5997,"count":0}],"isBlockCoverage":true},{"functionName":"throwUnknownModuleFormat","ranges":[{"startOffset":6378,"endOffset":6616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"94","url":"node:internal/fs/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29943,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCpPromises","ranges":[{"startOffset":2997,"endOffset":3089,"count":0}],"isBlockCoverage":false},{"functionName":"lazyFsStreams","ranges":[{"startOffset":3151,"endOffset":3234,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3236,"endOffset":9299,"count":135}],"isBlockCoverage":false},{"functionName":"FileHandle","ranges":[{"startOffset":3377,"endOffset":3554,"count":135},{"startOffset":3491,"endOffset":3495,"count":0}],"isBlockCoverage":true},{"functionName":"getAsyncId","ranges":[{"startOffset":3558,"endOffset":3615,"count":0}],"isBlockCoverage":false},{"functionName":"get fd","ranges":[{"startOffset":3619,"endOffset":3655,"count":270}],"isBlockCoverage":true},{"functionName":"appendFile","ranges":[{"startOffset":3659,"endOffset":3741,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":3745,"endOffset":3801,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":3805,"endOffset":3869,"count":0}],"isBlockCoverage":false},{"functionName":"datasync","ranges":[{"startOffset":3873,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":3929,"endOffset":3973,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":3977,"endOffset":4086,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":4090,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":4175,"endOffset":4242,"count":0}],"isBlockCoverage":false},{"functionName":"readLines","ranges":[{"startOffset":4246,"endOffset":4389,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":4393,"endOffset":4453,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":4457,"endOffset":4521,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":4525,"endOffset":4599,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":4603,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":4718,"endOffset":4801,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4805,"endOffset":4886,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":4898,"endOffset":5690,"count":135},{"startOffset":4932,"endOffset":4970,"count":0},{"startOffset":5001,"endOffset":5042,"count":0},{"startOffset":5268,"endOffset":5629,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5210,"endOffset":5252,"count":135}],"isBlockCoverage":true},{"functionName":".SafePromisePrototypeFinally.","ranges":[{"startOffset":5353,"endOffset":5465,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5468,"endOffset":5613,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5695,"endOffset":5754,"count":0}],"isBlockCoverage":false},{"functionName":"readableWebStream","ranges":[{"startOffset":5949,"endOffset":7635,"count":0}],"isBlockCoverage":false},{"functionName":"createReadStream","ranges":[{"startOffset":7933,"endOffset":8084,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteStream","ranges":[{"startOffset":8333,"endOffset":8487,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8491,"endOffset":8891,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8895,"endOffset":8948,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8952,"endOffset":9039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9043,"endOffset":9076,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9080,"endOffset":9297,"count":0}],"isBlockCoverage":false},{"functionName":"handleFdClose","ranges":[{"startOffset":9301,"endOffset":9672,"count":135}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9412,"endOffset":9471,"count":135}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9458,"endOffset":9470,"count":135}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9477,"endOffset":9664,"count":0}],"isBlockCoverage":false},{"functionName":"fsCall","ranges":[{"startOffset":9674,"endOffset":10134,"count":0}],"isBlockCoverage":false},{"functionName":"checkAborted","ranges":[{"startOffset":10136,"endOffset":10256,"count":540},{"startOffset":10180,"endOffset":10189,"count":0},{"startOffset":10195,"endOffset":10254,"count":0}],"isBlockCoverage":true},{"functionName":"writeFileHandle","ranges":[{"startOffset":10258,"endOffset":11400,"count":0}],"isBlockCoverage":false},{"functionName":"readFileHandle","ranges":[{"startOffset":11402,"endOffset":13541,"count":135},{"startOffset":11554,"endOffset":11584,"count":0},{"startOffset":11864,"endOffset":11902,"count":0},{"startOffset":11935,"endOffset":11983,"count":0},{"startOffset":12016,"endOffset":12054,"count":0},{"startOffset":12296,"endOffset":12368,"count":0},{"startOffset":12512,"endOffset":12516,"count":0},{"startOffset":12601,"endOffset":12657,"count":0},{"startOffset":12751,"endOffset":12762,"count":0},{"startOffset":12819,"endOffset":12879,"count":0},{"startOffset":12927,"endOffset":12941,"count":0},{"startOffset":12943,"endOffset":13053,"count":0},{"startOffset":13084,"endOffset":13535,"count":0}],"isBlockCoverage":true},{"functionName":"access","ranges":[{"startOffset":13694,"endOffset":13915,"count":4}],"isBlockCoverage":true},{"functionName":"cp","ranges":[{"startOffset":13917,"endOffset":14186,"count":0}],"isBlockCoverage":false},{"functionName":"copyFile","ranges":[{"startOffset":14188,"endOffset":14546,"count":0}],"isBlockCoverage":false},{"functionName":"open","ranges":[{"startOffset":14666,"endOffset":14991,"count":135}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":14993,"endOffset":16364,"count":0}],"isBlockCoverage":false},{"functionName":"readv","ranges":[{"startOffset":16366,"endOffset":16703,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":16705,"endOffset":17954,"count":0}],"isBlockCoverage":false},{"functionName":"writev","ranges":[{"startOffset":17956,"endOffset":18398,"count":0}],"isBlockCoverage":false},{"functionName":"rename","ranges":[{"startOffset":18400,"endOffset":18706,"count":0}],"isBlockCoverage":false},{"functionName":"truncate","ranges":[{"startOffset":18708,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"ftruncate","ranges":[{"startOffset":18843,"endOffset":19002,"count":0}],"isBlockCoverage":false},{"functionName":"rm","ranges":[{"startOffset":19004,"endOffset":19208,"count":0}],"isBlockCoverage":false},{"functionName":"rmdir","ranges":[{"startOffset":19210,"endOffset":19581,"count":0}],"isBlockCoverage":false},{"functionName":"fdatasync","ranges":[{"startOffset":19583,"endOffset":19672,"count":0}],"isBlockCoverage":false},{"functionName":"fsync","ranges":[{"startOffset":19674,"endOffset":19755,"count":0}],"isBlockCoverage":false},{"functionName":"mkdir","ranges":[{"startOffset":19757,"endOffset":20234,"count":0}],"isBlockCoverage":false},{"functionName":"readdirRecursive","ranges":[{"startOffset":20236,"endOffset":21910,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":21912,"endOffset":22339,"count":0}],"isBlockCoverage":false},{"functionName":"readlink","ranges":[{"startOffset":22341,"endOffset":22580,"count":0}],"isBlockCoverage":false},{"functionName":"symlink","ranges":[{"startOffset":22582,"endOffset":23306,"count":0}],"isBlockCoverage":false},{"functionName":"fstat","ranges":[{"startOffset":23308,"endOffset":23486,"count":0}],"isBlockCoverage":false},{"functionName":"lstat","ranges":[{"startOffset":23488,"endOffset":23758,"count":0}],"isBlockCoverage":false},{"functionName":"stat","ranges":[{"startOffset":23760,"endOffset":24027,"count":2}],"isBlockCoverage":true},{"functionName":"statfs","ranges":[{"startOffset":24029,"endOffset":24303,"count":0}],"isBlockCoverage":false},{"functionName":"link","ranges":[{"startOffset":24305,"endOffset":24628,"count":0}],"isBlockCoverage":false},{"functionName":"unlink","ranges":[{"startOffset":24630,"endOffset":24768,"count":0}],"isBlockCoverage":false},{"functionName":"fchmod","ranges":[{"startOffset":24770,"endOffset":24903,"count":0}],"isBlockCoverage":false},{"functionName":"chmod","ranges":[{"startOffset":24905,"endOffset":25091,"count":0}],"isBlockCoverage":false},{"functionName":"lchmod","ranges":[{"startOffset":25093,"endOffset":25321,"count":0}],"isBlockCoverage":false},{"functionName":"lchown","ranges":[{"startOffset":25323,"endOffset":25599,"count":0}],"isBlockCoverage":false},{"functionName":"fchown","ranges":[{"startOffset":25601,"endOffset":25798,"count":0}],"isBlockCoverage":false},{"functionName":"chown","ranges":[{"startOffset":25800,"endOffset":26073,"count":0}],"isBlockCoverage":false},{"functionName":"utimes","ranges":[{"startOffset":26075,"endOffset":26347,"count":0}],"isBlockCoverage":false},{"functionName":"futimes","ranges":[{"startOffset":26349,"endOffset":26548,"count":0}],"isBlockCoverage":false},{"functionName":"lutimes","ranges":[{"startOffset":26550,"endOffset":26827,"count":0}],"isBlockCoverage":false},{"functionName":"realpath","ranges":[{"startOffset":26829,"endOffset":27002,"count":1}],"isBlockCoverage":true},{"functionName":"mkdtemp","ranges":[{"startOffset":27004,"endOffset":27383,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":27385,"endOffset":28060,"count":0}],"isBlockCoverage":false},{"functionName":"isCustomIterable","ranges":[{"startOffset":28062,"endOffset":28176,"count":0}],"isBlockCoverage":false},{"functionName":"appendFile","ranges":[{"startOffset":28178,"endOffset":28419,"count":0}],"isBlockCoverage":false},{"functionName":"readFile","ranges":[{"startOffset":28421,"endOffset":28765,"count":135},{"startOffset":28538,"endOffset":28544,"count":0},{"startOffset":28585,"endOffset":28622,"count":0}],"isBlockCoverage":true},{"functionName":"_watch","ranges":[{"startOffset":28767,"endOffset":29432,"count":0}],"isBlockCoverage":false}]},{"scriptId":"95","url":"node:internal/fs/rimraf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7454,"count":1}],"isBlockCoverage":false},{"functionName":"rimraf","ranges":[{"startOffset":1175,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"_rimraf","ranges":[{"startOffset":1638,"endOffset":2496,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERM","ranges":[{"startOffset":2499,"endOffset":2934,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdir","ranges":[{"startOffset":2937,"endOffset":3235,"count":0}],"isBlockCoverage":false},{"functionName":"_rmchildren","ranges":[{"startOffset":3238,"endOffset":3925,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafPromises","ranges":[{"startOffset":3928,"endOffset":4126,"count":0}],"isBlockCoverage":false},{"functionName":"rimrafSync","ranges":[{"startOffset":4129,"endOffset":4812,"count":0}],"isBlockCoverage":false},{"functionName":"_unlinkSync","ranges":[{"startOffset":4815,"endOffset":5444,"count":0}],"isBlockCoverage":false},{"functionName":"_rmdirSync","ranges":[{"startOffset":5447,"endOffset":6944,"count":0}],"isBlockCoverage":false},{"functionName":"fixWinEPERMSync","ranges":[{"startOffset":6947,"endOffset":7394,"count":0}],"isBlockCoverage":false}]},{"scriptId":"96","url":"node:internal/fs/dir","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8071,"count":1}],"isBlockCoverage":false},{"functionName":"Dir","ranges":[{"startOffset":1177,"endOffset":1993,"count":0}],"isBlockCoverage":false},{"functionName":"get path","ranges":[{"startOffset":1997,"endOffset":2040,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":2044,"endOffset":2111,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2115,"endOffset":3841,"count":0}],"isBlockCoverage":false},{"functionName":"processReadResult","ranges":[{"startOffset":3845,"endOffset":4099,"count":0}],"isBlockCoverage":false},{"functionName":"readSyncRecursive","ranges":[{"startOffset":4103,"endOffset":4676,"count":0}],"isBlockCoverage":false},{"functionName":"readSync","ranges":[{"startOffset":4680,"endOffset":5656,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":5660,"endOffset":6349,"count":0}],"isBlockCoverage":false},{"functionName":"closeSync","ranges":[{"startOffset":6353,"endOffset":6730,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":6734,"endOffset":6997,"count":0}],"isBlockCoverage":false},{"functionName":"opendir","ranges":[{"startOffset":7177,"endOffset":7757,"count":0}],"isBlockCoverage":false},{"functionName":"opendirSync","ranges":[{"startOffset":7759,"endOffset":8014,"count":0}],"isBlockCoverage":false}]},{"scriptId":"97","url":"node:string_decoder","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5213,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeEncoding","ranges":[{"startOffset":2129,"endOffset":2391,"count":0}],"isBlockCoverage":false},{"functionName":"StringDecoder","ranges":[{"startOffset":2705,"endOffset":2904,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3227,"endOffset":3612,"count":0}],"isBlockCoverage":false},{"functionName":"end","ranges":[{"startOffset":3889,"endOffset":4080,"count":0}],"isBlockCoverage":false},{"functionName":"text","ranges":[{"startOffset":4291,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4586,"endOffset":4799,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4891,"endOffset":4954,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5047,"endOffset":5162,"count":0}],"isBlockCoverage":false}]},{"scriptId":"98","url":"node:internal/fs/watchers","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11242,"count":1}],"isBlockCoverage":false},{"functionName":"emitStop","ranges":[{"startOffset":1420,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher","ranges":[{"startOffset":1470,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"onchange","ranges":[{"startOffset":1820,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":2565,"endOffset":3399,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.start","ranges":[{"startOffset":3620,"endOffset":3628,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.stop","ranges":[{"startOffset":3874,"endOffset":4155,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.","ranges":[{"startOffset":4244,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.ref","ranges":[{"startOffset":4702,"endOffset":4984,"count":0}],"isBlockCoverage":false},{"functionName":"StatWatcher.unref","ranges":[{"startOffset":5017,"endOffset":5267,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher","ranges":[{"startOffset":5271,"endOffset":6239,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.","ranges":[{"startOffset":6776,"endOffset":7686,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.start","ranges":[{"startOffset":7903,"endOffset":7911,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.close","ranges":[{"startOffset":8034,"endOffset":8371,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.ref","ranges":[{"startOffset":8400,"endOffset":8469,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher.unref","ranges":[{"startOffset":8500,"endOffset":8571,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":8574,"endOffset":8626,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8850,"endOffset":8886,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":8890,"endOffset":8931,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":8967,"endOffset":11110,"count":0}],"isBlockCoverage":false}]},{"scriptId":"99","url":"node:internal/fs/recursive_watch","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7634,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadFsPromises","ranges":[{"startOffset":812,"endOffset":919,"count":0}],"isBlockCoverage":false},{"functionName":"lazyLoadFsSync","ranges":[{"startOffset":921,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"traverse","ranges":[{"startOffset":1037,"endOffset":1618,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1620,"endOffset":7580,"count":0}],"isBlockCoverage":false}]},{"scriptId":"100","url":"node:internal/streams/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8416,"count":1}],"isBlockCoverage":false},{"functionName":"isReadableNodeStream","ranges":[{"startOffset":774,"endOffset":1191,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableNodeStream","ranges":[{"startOffset":1193,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexNodeStream","ranges":[{"startOffset":1415,"endOffset":1614,"count":0}],"isBlockCoverage":false},{"functionName":"isNodeStream","ranges":[{"startOffset":1616,"endOffset":1887,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":1889,"endOffset":2103,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":2105,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":2275,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"isWebStream","ranges":[{"startOffset":2444,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"isIterable","ranges":[{"startOffset":2558,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"isDestroyed","ranges":[{"startOffset":2890,"endOffset":3153,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableEnded","ranges":[{"startOffset":3177,"endOffset":3468,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableFinished","ranges":[{"startOffset":3496,"endOffset":3893,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableEnded","ranges":[{"startOffset":3922,"endOffset":4223,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableFinished","ranges":[{"startOffset":4248,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":4598,"endOffset":4898,"count":0}],"isBlockCoverage":false},{"functionName":"isWritable","ranges":[{"startOffset":4900,"endOffset":5197,"count":0}],"isBlockCoverage":false},{"functionName":"isFinished","ranges":[{"startOffset":5199,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableErrored","ranges":[{"startOffset":5515,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableErrored","ranges":[{"startOffset":5729,"endOffset":5941,"count":0}],"isBlockCoverage":false},{"functionName":"isClosed","ranges":[{"startOffset":5943,"endOffset":6448,"count":0}],"isBlockCoverage":false},{"functionName":"isOutgoingMessage","ranges":[{"startOffset":6450,"endOffset":6702,"count":0}],"isBlockCoverage":false},{"functionName":"isServerResponse","ranges":[{"startOffset":6704,"endOffset":6831,"count":0}],"isBlockCoverage":false},{"functionName":"isServerRequest","ranges":[{"startOffset":6833,"endOffset":7021,"count":0}],"isBlockCoverage":false},{"functionName":"willEmitClose","ranges":[{"startOffset":7023,"endOffset":7361,"count":0}],"isBlockCoverage":false},{"functionName":"isDisturbed","ranges":[{"startOffset":7363,"endOffset":7508,"count":0}],"isBlockCoverage":false},{"functionName":"isErrored","ranges":[{"startOffset":7510,"endOffset":7815,"count":0}],"isBlockCoverage":false}]},{"scriptId":"101","url":"node:internal/readline/interface","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":39029,"count":1}],"isBlockCoverage":false},{"functionName":"InterfaceConstructor","ranges":[{"startOffset":3781,"endOffset":9286,"count":0}],"isBlockCoverage":false},{"functionName":"Interface","ranges":[{"startOffset":9527,"endOffset":9627,"count":0}],"isBlockCoverage":false},{"functionName":"get columns","ranges":[{"startOffset":9630,"endOffset":9742,"count":0}],"isBlockCoverage":false},{"functionName":"setPrompt","ranges":[{"startOffset":9851,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"getPrompt","ranges":[{"startOffset":9996,"endOffset":10039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10043,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"prompt","ranges":[{"startOffset":10373,"endOffset":10627,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10631,"endOffset":10938,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10942,"endOffset":11184,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11188,"endOffset":11275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11279,"endOffset":11447,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11451,"endOffset":11648,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11652,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12834,"endOffset":13839,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13923,"endOffset":14094,"count":0}],"isBlockCoverage":false},{"functionName":"pause","ranges":[{"startOffset":14175,"endOffset":14306,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":14398,"endOffset":14534,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":14805,"endOffset":14964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":14968,"endOffset":16702,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16706,"endOffset":17375,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17379,"endOffset":17778,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17782,"endOffset":19990,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":19994,"endOffset":20455,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20459,"endOffset":20717,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20721,"endOffset":21203,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21207,"endOffset":21688,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":21692,"endOffset":22452,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22456,"endOffset":22883,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":22887,"endOffset":23165,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23169,"endOffset":23427,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23431,"endOffset":23691,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23695,"endOffset":23850,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":23854,"endOffset":24529,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":24533,"endOffset":24682,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24686,"endOffset":24840,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24844,"endOffset":25031,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25035,"endOffset":25343,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25347,"endOffset":25655,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26090,"endOffset":26724,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26728,"endOffset":27436,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27511,"endOffset":28451,"count":0}],"isBlockCoverage":false},{"functionName":"getCursorPos","ranges":[{"startOffset":28628,"endOffset":28797,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":28916,"endOffset":29473,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":29510,"endOffset":37760,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":38068,"endOffset":38448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"102","url":"node:internal/readline/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12396,"count":1}],"isBlockCoverage":false},{"functionName":"CSI","ranges":[{"startOffset":385,"endOffset":579,"count":4},{"startOffset":544,"endOffset":559,"count":0}],"isBlockCoverage":true},{"functionName":"charLengthLeft","ranges":[{"startOffset":958,"endOffset":1220,"count":0}],"isBlockCoverage":false},{"functionName":"charLengthAt","ranges":[{"startOffset":1222,"endOffset":1484,"count":0}],"isBlockCoverage":false},{"functionName":"emitKeys","ranges":[{"startOffset":2213,"endOffset":11840,"count":0}],"isBlockCoverage":false},{"functionName":"commonPrefix","ranges":[{"startOffset":11870,"endOffset":12283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"103","url":"node:internal/readline/callbacks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2754,"count":1}],"isBlockCoverage":false},{"functionName":"cursorTo","ranges":[{"startOffset":460,"endOffset":1146,"count":0}],"isBlockCoverage":false},{"functionName":"moveCursor","ranges":[{"startOffset":1210,"endOffset":1722,"count":0}],"isBlockCoverage":false},{"functionName":"clearLine","ranges":[{"startOffset":1869,"endOffset":2272,"count":0}],"isBlockCoverage":false},{"functionName":"clearScreenDown","ranges":[{"startOffset":2349,"endOffset":2672,"count":0}],"isBlockCoverage":false}]},{"scriptId":"104","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/entrypoints/cli.mjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":61,"count":1}],"isBlockCoverage":true}]},{"scriptId":"105","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/cli.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14514,"count":1}],"isBlockCoverage":true},{"functionName":"exit","ranges":[{"startOffset":1084,"endOffset":1237,"count":0}],"isBlockCoverage":false},{"functionName":"coerceLastValue","ranges":[{"startOffset":1263,"endOffset":1314,"count":0}],"isBlockCoverage":false},{"functionName":"loadCli","ranges":[{"startOffset":2798,"endOffset":14513,"count":1},{"startOffset":3080,"endOffset":3243,"count":0},{"startOffset":3291,"endOffset":3376,"count":0},{"startOffset":3378,"endOffset":3482,"count":0},{"startOffset":3486,"endOffset":3525,"count":0},{"startOffset":3895,"endOffset":3903,"count":0},{"startOffset":3936,"endOffset":4031,"count":0},{"startOffset":6775,"endOffset":7200,"count":11},{"startOffset":6812,"endOffset":6850,"count":1},{"startOffset":6852,"endOffset":6922,"count":0},{"startOffset":6956,"endOffset":7197,"count":0},{"startOffset":7500,"endOffset":7665,"count":0},{"startOffset":7747,"endOffset":8546,"count":0},{"startOffset":8565,"endOffset":8861,"count":0},{"startOffset":8884,"endOffset":9197,"count":0},{"startOffset":9241,"endOffset":9313,"count":0},{"startOffset":9315,"endOffset":9404,"count":0},{"startOffset":9465,"endOffset":9612,"count":0},{"startOffset":9647,"endOffset":9703,"count":0},{"startOffset":9752,"endOffset":9834,"count":0},{"startOffset":9871,"endOffset":10029,"count":0},{"startOffset":10066,"endOffset":10198,"count":0},{"startOffset":10240,"endOffset":10283,"count":0},{"startOffset":10285,"endOffset":10347,"count":0},{"startOffset":10482,"endOffset":10553,"count":0},{"startOffset":10624,"endOffset":10629,"count":0},{"startOffset":10883,"endOffset":10926,"count":0},{"startOffset":11050,"endOffset":11091,"count":0},{"startOffset":11184,"endOffset":11225,"count":0},{"startOffset":11342,"endOffset":11383,"count":0},{"startOffset":11518,"endOffset":11559,"count":0},{"startOffset":11677,"endOffset":11718,"count":0},{"startOffset":11756,"endOffset":11773,"count":0},{"startOffset":11774,"endOffset":11817,"count":0},{"startOffset":11819,"endOffset":11933,"count":0},{"startOffset":11972,"endOffset":11976,"count":0},{"startOffset":12025,"endOffset":12038,"count":0},{"startOffset":12873,"endOffset":12921,"count":0},{"startOffset":13076,"endOffset":13094,"count":0},{"startOffset":13095,"endOffset":13112,"count":0},{"startOffset":13113,"endOffset":13243,"count":0},{"startOffset":13906,"endOffset":14058,"count":0},{"startOffset":14310,"endOffset":14326,"count":0},{"startOffset":14328,"endOffset":14408,"count":0}],"isBlockCoverage":true},{"functionName":"yargs.scriptName.version.parserConfiguration.usage.usage.usage.options.command.debug.files","ranges":[{"startOffset":4966,"endOffset":5405,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5407,"endOffset":5489,"count":1},{"startOffset":5441,"endOffset":5485,"count":0}],"isBlockCoverage":true},{"functionName":"yargs.scriptName.version.parserConfiguration.usage.usage.usage.options.command.command.debug.active","ranges":[{"startOffset":5593,"endOffset":6290,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6295,"endOffset":6463,"count":0}],"isBlockCoverage":false},{"functionName":"yargs.scriptName.version.parserConfiguration.usage.usage.usage.options.command.command.command.resetCache","ranges":[{"startOffset":6564,"endOffset":6578,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6583,"endOffset":6618,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12092,"endOffset":12138,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12147,"endOffset":12285,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13424,"endOffset":13881,"count":1},{"startOffset":13575,"endOffset":13699,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":13657,"endOffset":13693,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13733,"endOffset":13876,"count":582},{"startOffset":13775,"endOffset":13872,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14122,"endOffset":14229,"count":1},{"startOffset":14154,"endOffset":14180,"count":0},{"startOffset":14182,"endOffset":14225,"count":0}],"isBlockCoverage":true}]},{"scriptId":"106","url":"node:internal/deps/cjs-module-lexer/dist/lexer","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":33616,"count":1}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":116,"endOffset":813,"count":38},{"startOffset":146,"endOffset":181,"count":0},{"startOffset":222,"endOffset":237,"count":0},{"startOffset":273,"endOffset":308,"count":2},{"startOffset":332,"endOffset":334,"count":0},{"startOffset":406,"endOffset":553,"count":0},{"startOffset":601,"endOffset":650,"count":4},{"startOffset":663,"endOffset":696,"count":0},{"startOffset":709,"endOffset":773,"count":85}],"isBlockCoverage":true},{"functionName":"B","ranges":[{"startOffset":813,"endOffset":1040,"count":89},{"startOffset":840,"endOffset":852,"count":87},{"startOffset":853,"endOffset":862,"count":82},{"startOffset":862,"endOffset":913,"count":7},{"startOffset":913,"endOffset":1023,"count":75},{"startOffset":958,"endOffset":1022,"count":0},{"startOffset":1023,"endOffset":1032,"count":7},{"startOffset":1032,"endOffset":1039,"count":0}],"isBlockCoverage":true},{"functionName":"E","ranges":[{"startOffset":1040,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"C","ranges":[{"startOffset":1141,"endOffset":1215,"count":38},{"startOffset":1192,"endOffset":1214,"count":156163}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":1221,"endOffset":33616,"count":15},{"startOffset":1245,"endOffset":33615,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1251,"endOffset":33611,"count":1},{"startOffset":33455,"endOffset":33524,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":33505,"endOffset":33523,"count":0}],"isBlockCoverage":false}]},{"scriptId":"107","url":"node:internal/fs/streams","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14758,"count":1}],"isBlockCoverage":false},{"functionName":"_construct","ranges":[{"startOffset":1063,"endOffset":1966,"count":0}],"isBlockCoverage":false},{"functionName":"FileHandleOperations","ranges":[{"startOffset":2059,"endOffset":3058,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":3061,"endOffset":3238,"count":0}],"isBlockCoverage":false},{"functionName":"importFd","ranges":[{"startOffset":3240,"endOffset":4237,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream","ranges":[{"startOffset":4239,"endOffset":5982,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6171,"endOffset":6226,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6230,"endOffset":6287,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6323,"endOffset":6348,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._read","ranges":[{"startOffset":6524,"endOffset":7655,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream._destroy","ranges":[{"startOffset":7690,"endOffset":8251,"count":0}],"isBlockCoverage":false},{"functionName":"ReadStream.close","ranges":[{"startOffset":8283,"endOffset":8369,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8449,"endOffset":8483,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":8512,"endOffset":10303,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":10495,"endOffset":10550,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":10554,"endOffset":10611,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10648,"endOffset":10673,"count":0}],"isBlockCoverage":false},{"functionName":"writeAll","ranges":[{"startOffset":10824,"endOffset":11617,"count":0}],"isBlockCoverage":false},{"functionName":"writevAll","ranges":[{"startOffset":11619,"endOffset":12436,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._write","ranges":[{"startOffset":12469,"endOffset":12853,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._writev","ranges":[{"startOffset":12888,"endOffset":13450,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream._destroy","ranges":[{"startOffset":13486,"endOffset":14047,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.close","ranges":[{"startOffset":14080,"endOffset":14462,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":14644,"endOffset":14678,"count":0}],"isBlockCoverage":false}]},{"scriptId":"108","url":"node:internal/streams/destroy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6826,"count":1}],"isBlockCoverage":false},{"functionName":"checkError","ranges":[{"startOffset":360,"endOffset":671,"count":44},{"startOffset":404,"endOffset":669,"count":0}],"isBlockCoverage":true},{"functionName":"destroy","ranges":[{"startOffset":781,"endOffset":1568,"count":22},{"startOffset":964,"endOffset":975,"count":0},{"startOffset":993,"endOffset":1070,"count":0},{"startOffset":1255,"endOffset":1284,"count":0},{"startOffset":1403,"endOffset":1510,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1429,"endOffset":1504,"count":0}],"isBlockCoverage":false},{"functionName":"_destroy","ranges":[{"startOffset":1570,"endOffset":2184,"count":22},{"startOffset":2145,"endOffset":2182,"count":0}],"isBlockCoverage":true},{"functionName":"onDestroy","ranges":[{"startOffset":1630,"endOffset":2089,"count":22},{"startOffset":1672,"endOffset":1693,"count":0},{"startOffset":1824,"endOffset":1854,"count":0},{"startOffset":1932,"endOffset":1954,"count":0},{"startOffset":1969,"endOffset":2029,"count":0}],"isBlockCoverage":true},{"functionName":"emitErrorCloseNT","ranges":[{"startOffset":2186,"endOffset":2273,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":2275,"endOffset":2523,"count":22},{"startOffset":2380,"endOffset":2412,"count":0},{"startOffset":2463,"endOffset":2474,"count":0}],"isBlockCoverage":true},{"functionName":"emitErrorNT","ranges":[{"startOffset":2525,"endOffset":2800,"count":0}],"isBlockCoverage":false},{"functionName":"undestroy","ranges":[{"startOffset":2802,"endOffset":3492,"count":3}],"isBlockCoverage":true},{"functionName":"errorOrDestroy","ranges":[{"startOffset":3494,"endOffset":4413,"count":0}],"isBlockCoverage":false},{"functionName":"construct","ranges":[{"startOffset":4415,"endOffset":4821,"count":40},{"startOffset":4512,"endOffset":4820,"count":0}],"isBlockCoverage":true},{"functionName":"constructNT","ranges":[{"startOffset":4823,"endOffset":5570,"count":0}],"isBlockCoverage":false},{"functionName":"emitConstructNT","ranges":[{"startOffset":5572,"endOffset":5635,"count":0}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":5637,"endOffset":5733,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseLegacy","ranges":[{"startOffset":5735,"endOffset":5795,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorCloseLegacy","ranges":[{"startOffset":5797,"endOffset":5917,"count":0}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":5952,"endOffset":6734,"count":0}],"isBlockCoverage":false}]},{"scriptId":"109","url":"node:stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4784,"count":1}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2402,"endOffset":2558,"count":0}],"isBlockCoverage":false},{"functionName":"fn","ranges":[{"startOffset":2983,"endOffset":3117,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4105,"endOffset":4137,"count":17}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4235,"endOffset":4276,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":4369,"endOffset":4410,"count":0}],"isBlockCoverage":false},{"functionName":"_uint8ArrayToBuffer","ranges":[{"startOffset":4575,"endOffset":4782,"count":0}],"isBlockCoverage":false}]},{"scriptId":"110","url":"node:internal/streams/operators","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10772,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":1019,"endOffset":1599,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":1601,"endOffset":4704,"count":0}],"isBlockCoverage":false},{"functionName":"asIndexedPairs","ranges":[{"startOffset":4706,"endOffset":5179,"count":0}],"isBlockCoverage":false},{"functionName":"some","ranges":[{"startOffset":5181,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"every","ranges":[{"startOffset":5331,"endOffset":5659,"count":0}],"isBlockCoverage":false},{"functionName":"find","ranges":[{"startOffset":5661,"endOffset":5803,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":5805,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":6177,"endOffset":6504,"count":0}],"isBlockCoverage":false},{"functionName":"ReduceAwareErrMissingArgs","ranges":[{"startOffset":6720,"endOffset":6834,"count":0}],"isBlockCoverage":false},{"functionName":"reduce","ranges":[{"startOffset":6838,"endOffset":8280,"count":0}],"isBlockCoverage":false},{"functionName":"toArray","ranges":[{"startOffset":8282,"endOffset":8711,"count":0}],"isBlockCoverage":false},{"functionName":"flatMap","ranges":[{"startOffset":8713,"endOffset":8907,"count":0}],"isBlockCoverage":false},{"functionName":"toIntegerOrInfinity","ranges":[{"startOffset":8909,"endOffset":9231,"count":0}],"isBlockCoverage":false},{"functionName":"drop","ranges":[{"startOffset":9233,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"take","ranges":[{"startOffset":9783,"endOffset":10453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"111","url":"node:internal/abort_controller","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12413,"count":1}],"isBlockCoverage":false},{"functionName":"lazyMessageChannel","ranges":[{"startOffset":1574,"endOffset":1707,"count":0}],"isBlockCoverage":false},{"functionName":"lazyMakeTransferable","ranges":[{"startOffset":1709,"endOffset":1867,"count":0}],"isBlockCoverage":false},{"functionName":"customInspect","ranges":[{"startOffset":2337,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"validateThisAbortSignal","ranges":[{"startOffset":2598,"endOffset":2723,"count":0}],"isBlockCoverage":false},{"functionName":"setWeakAbortSignalTimeout","ranges":[{"startOffset":3305,"endOffset":3705,"count":0}],"isBlockCoverage":false},{"functionName":"AbortSignal","ranges":[{"startOffset":3749,"endOffset":3809,"count":0}],"isBlockCoverage":false},{"functionName":"get aborted","ranges":[{"startOffset":3846,"endOffset":3929,"count":0}],"isBlockCoverage":false},{"functionName":"get reason","ranges":[{"startOffset":3962,"endOffset":4041,"count":0}],"isBlockCoverage":false},{"functionName":"throwIfAborted","ranges":[{"startOffset":4045,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4165,"endOffset":4294,"count":0}],"isBlockCoverage":false},{"functionName":"abort","ranges":[{"startOffset":4372,"endOffset":4516,"count":0}],"isBlockCoverage":false},{"functionName":"timeout","ranges":[{"startOffset":4594,"endOffset":4856,"count":0}],"isBlockCoverage":false},{"functionName":"any","ranges":[{"startOffset":4943,"endOffset":6278,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6282,"endOffset":7050,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7408,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7412,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8023,"endOffset":8275,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8279,"endOffset":8727,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal","ranges":[{"startOffset":8731,"endOffset":8815,"count":0}],"isBlockCoverage":false},{"functionName":"ClonedAbortSignal.","ranges":[{"startOffset":8860,"endOffset":8868,"count":0}],"isBlockCoverage":false},{"functionName":"createAbortSignal","ranges":[{"startOffset":9346,"endOffset":9759,"count":0}],"isBlockCoverage":false},{"functionName":"abortSignal","ranges":[{"startOffset":9761,"endOffset":10123,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10125,"endOffset":10781,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortSignal","ranges":[{"startOffset":10929,"endOffset":11121,"count":0}],"isBlockCoverage":false},{"functionName":"transferableAbortController","ranges":[{"startOffset":11193,"endOffset":11282,"count":0}],"isBlockCoverage":false},{"functionName":"aborted","ranges":[{"startOffset":11376,"endOffset":11964,"count":0}],"isBlockCoverage":false}]},{"scriptId":"112","url":"node:internal/streams/end-of-stream","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8360,"count":1}],"isBlockCoverage":false},{"functionName":"isRequest","ranges":[{"startOffset":891,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":1000,"endOffset":1008,"count":0}],"isBlockCoverage":false},{"functionName":"eos","ranges":[{"startOffset":1011,"endOffset":6953,"count":0}],"isBlockCoverage":false},{"functionName":"eosWeb","ranges":[{"startOffset":6955,"endOffset":7840,"count":0}],"isBlockCoverage":false},{"functionName":"finished","ranges":[{"startOffset":7842,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"113","url":"node:internal/streams/compose","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5451,"count":1}],"isBlockCoverage":false},{"functionName":"compose","ranges":[{"startOffset":543,"endOffset":5449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"114","url":"node:internal/streams/pipeline","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12326,"count":1}],"isBlockCoverage":false},{"functionName":"destroyer","ranges":[{"startOffset":1058,"endOffset":1487,"count":0}],"isBlockCoverage":false},{"functionName":"popCallback","ranges":[{"startOffset":1489,"endOffset":1817,"count":0}],"isBlockCoverage":false},{"functionName":"makeAsyncIterable","ranges":[{"startOffset":1819,"endOffset":2105,"count":0}],"isBlockCoverage":false},{"functionName":"fromReadable","ranges":[{"startOffset":2107,"endOffset":2281,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToNode","ranges":[{"startOffset":2283,"endOffset":3327,"count":0}],"isBlockCoverage":false},{"functionName":"pumpToWeb","ranges":[{"startOffset":3329,"endOffset":3927,"count":0}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":3929,"endOffset":4022,"count":0}],"isBlockCoverage":false},{"functionName":"pipelineImpl","ranges":[{"startOffset":4024,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"pipe","ranges":[{"startOffset":10478,"endOffset":12279,"count":0}],"isBlockCoverage":false}]},{"scriptId":"115","url":"node:internal/streams/duplex","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4938,"count":1}],"isBlockCoverage":false},{"functionName":"Duplex","ranges":[{"startOffset":1996,"endOffset":2663,"count":3},{"startOffset":2060,"endOffset":2087,"count":0},{"startOffset":2266,"endOffset":2402,"count":0},{"startOffset":2440,"endOffset":2615,"count":0},{"startOffset":2619,"endOffset":2661,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3811,"endOffset":4023,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4029,"endOffset":4290,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":4364,"endOffset":4528,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.fromWeb","ranges":[{"startOffset":4547,"endOffset":4665,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.toWeb","ranges":[{"startOffset":4683,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"Duplex.from","ranges":[{"startOffset":4805,"endOffset":4936,"count":0}],"isBlockCoverage":false}]},{"scriptId":"116","url":"node:internal/streams/readable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":43849,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1799,"endOffset":1824,"count":1}],"isBlockCoverage":true},{"functionName":"nop","ranges":[{"startOffset":2617,"endOffset":2625,"count":0}],"isBlockCoverage":false},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3306,"endOffset":3522,"count":19}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3381,"endOffset":3423,"count":836}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3429,"endOffset":3514,"count":399},{"startOffset":3459,"endOffset":3477,"count":267},{"startOffset":3477,"endOffset":3508,"count":132}],"isBlockCoverage":true},{"functionName":"ReadableState","ranges":[{"startOffset":5398,"endOffset":8222,"count":25},{"startOffset":5797,"endOffset":5840,"count":0},{"startOffset":6159,"endOffset":6180,"count":3},{"startOffset":6182,"endOffset":6208,"count":0},{"startOffset":6225,"endOffset":6235,"count":3},{"startOffset":6236,"endOffset":6265,"count":3},{"startOffset":6271,"endOffset":6297,"count":0},{"startOffset":6472,"endOffset":6544,"count":3},{"startOffset":6545,"endOffset":6581,"count":22},{"startOffset":6946,"endOffset":6976,"count":3},{"startOffset":6978,"endOffset":7004,"count":3},{"startOffset":7093,"endOffset":7125,"count":3},{"startOffset":7127,"endOffset":7155,"count":0},{"startOffset":7652,"endOffset":7669,"count":3},{"startOffset":7742,"endOffset":7901,"count":0},{"startOffset":8100,"endOffset":8119,"count":3},{"startOffset":8121,"endOffset":8220,"count":0}],"isBlockCoverage":true},{"functionName":"Readable","ranges":[{"startOffset":8225,"endOffset":9113,"count":25},{"startOffset":8293,"endOffset":8322,"count":0},{"startOffset":8593,"endOffset":8937,"count":3},{"startOffset":8645,"endOffset":8671,"count":0},{"startOffset":8726,"endOffset":8758,"count":0},{"startOffset":8815,"endOffset":8851,"count":0},{"startOffset":8876,"endOffset":8888,"count":0},{"startOffset":8896,"endOffset":8933,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9000,"endOffset":9109,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._destroy","ranges":[{"startOffset":9250,"endOffset":9282,"count":22}],"isBlockCoverage":true},{"functionName":"Readable.","ranges":[{"startOffset":9333,"endOffset":9371,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":9415,"endOffset":9671,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.push","ranges":[{"startOffset":9900,"endOffset":9986,"count":22}],"isBlockCoverage":true},{"functionName":"Readable.unshift","ranges":[{"startOffset":10082,"endOffset":10167,"count":0}],"isBlockCoverage":false},{"functionName":"readableAddChunk","ranges":[{"startOffset":10170,"endOffset":12572,"count":22},{"startOffset":10400,"endOffset":10864,"count":0},{"startOffset":10899,"endOffset":10927,"count":0},{"startOffset":10966,"endOffset":11043,"count":0},{"startOffset":11068,"endOffset":11174,"count":0},{"startOffset":11191,"endOffset":11229,"count":0},{"startOffset":11321,"endOffset":12288,"count":0},{"startOffset":12504,"endOffset":12569,"count":0}],"isBlockCoverage":true},{"functionName":"addChunk","ranges":[{"startOffset":12574,"endOffset":13339,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.isPaused","ranges":[{"startOffset":13371,"endOffset":13483,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.setEncoding","ranges":[{"startOffset":13547,"endOffset":14108,"count":0}],"isBlockCoverage":false},{"functionName":"computeNewHighWaterMark","ranges":[{"startOffset":14169,"endOffset":14520,"count":0}],"isBlockCoverage":false},{"functionName":"howMuchToRead","ranges":[{"startOffset":14633,"endOffset":15044,"count":66},{"startOffset":14681,"endOffset":14719,"count":44},{"startOffset":14725,"endOffset":14734,"count":44},{"startOffset":14734,"endOffset":14780,"count":22},{"startOffset":14780,"endOffset":14789,"count":0},{"startOffset":14789,"endOffset":14962,"count":22},{"startOffset":14898,"endOffset":14933,"count":0},{"startOffset":14962,"endOffset":15037,"count":0},{"startOffset":15038,"endOffset":15041,"count":0}],"isBlockCoverage":true},{"functionName":"Readable.read","ranges":[{"startOffset":15141,"endOffset":19643,"count":66},{"startOffset":15325,"endOffset":15343,"count":44},{"startOffset":15343,"endOffset":15410,"count":22},{"startOffset":15374,"endOffset":15410,"count":0},{"startOffset":15575,"endOffset":15624,"count":0},{"startOffset":15645,"endOffset":15678,"count":44},{"startOffset":15864,"endOffset":15891,"count":22},{"startOffset":15892,"endOffset":16025,"count":0},{"startOffset":16027,"endOffset":16212,"count":0},{"startOffset":16337,"endOffset":16412,"count":22},{"startOffset":16412,"endOffset":17705,"count":44},{"startOffset":17705,"endOffset":17746,"count":0},{"startOffset":17748,"endOffset":18066,"count":44},{"startOffset":18067,"endOffset":18085,"count":22},{"startOffset":18086,"endOffset":18102,"count":22},{"startOffset":18103,"endOffset":18130,"count":22},{"startOffset":18132,"endOffset":18810,"count":22},{"startOffset":18515,"endOffset":18567,"count":0},{"startOffset":18774,"endOffset":18806,"count":0},{"startOffset":18810,"endOffset":18840,"count":44},{"startOffset":18840,"endOffset":18865,"count":0},{"startOffset":18865,"endOffset":18988,"count":44},{"startOffset":18988,"endOffset":19151,"count":0},{"startOffset":19151,"endOffset":19495,"count":44},{"startOffset":19451,"endOffset":19465,"count":22},{"startOffset":19473,"endOffset":19491,"count":0},{"startOffset":19495,"endOffset":19516,"count":44},{"startOffset":19516,"endOffset":19538,"count":0},{"startOffset":19539,"endOffset":19561,"count":0},{"startOffset":19563,"endOffset":19626,"count":0},{"startOffset":19626,"endOffset":19642,"count":44}],"isBlockCoverage":true},{"functionName":"onEofChunk","ranges":[{"startOffset":19646,"endOffset":20466,"count":22},{"startOffset":19725,"endOffset":19732,"count":0},{"startOffset":19754,"endOffset":19928,"count":0},{"startOffset":19970,"endOffset":20172,"count":0}],"isBlockCoverage":true},{"functionName":"emitReadable","ranges":[{"startOffset":20667,"endOffset":20994,"count":0}],"isBlockCoverage":false},{"functionName":"emitReadable_","ranges":[{"startOffset":20996,"endOffset":21650,"count":22},{"startOffset":21569,"endOffset":21588,"count":0},{"startOffset":21589,"endOffset":21631,"count":0}],"isBlockCoverage":true},{"functionName":"maybeReadMore","ranges":[{"startOffset":22000,"endOffset":22177,"count":0}],"isBlockCoverage":false},{"functionName":"maybeReadMore_","ranges":[{"startOffset":22179,"endOffset":23971,"count":0}],"isBlockCoverage":false},{"functionName":"Readable._read","ranges":[{"startOffset":24242,"endOffset":24308,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.pipe","ranges":[{"startOffset":24337,"endOffset":28782,"count":0}],"isBlockCoverage":false},{"functionName":"pipeOnDrain","ranges":[{"startOffset":28785,"endOffset":29430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.unpipe","ranges":[{"startOffset":29461,"endOffset":30162,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.on","ranges":[{"startOffset":30288,"endOffset":31195,"count":48},{"startOffset":30420,"endOffset":30752,"count":22},{"startOffset":30752,"endOffset":31178,"count":26},{"startOffset":30781,"endOffset":31178,"count":0}],"isBlockCoverage":true},{"functionName":"Readable.removeListener","ranges":[{"startOffset":31290,"endOffset":31855,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.removeAllListeners","ranges":[{"startOffset":31958,"endOffset":32552,"count":0}],"isBlockCoverage":false},{"functionName":"updateReadableListening","ranges":[{"startOffset":32555,"endOffset":33065,"count":0}],"isBlockCoverage":false},{"functionName":"nReadingNextTick","ranges":[{"startOffset":33067,"endOffset":33155,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.resume","ranges":[{"startOffset":33309,"endOffset":33634,"count":22}],"isBlockCoverage":true},{"functionName":"resume","ranges":[{"startOffset":33637,"endOffset":33787,"count":22}],"isBlockCoverage":true},{"functionName":"resume_","ranges":[{"startOffset":33789,"endOffset":34040,"count":22},{"startOffset":34023,"endOffset":34038,"count":0}],"isBlockCoverage":true},{"functionName":"Readable.pause","ranges":[{"startOffset":34069,"endOffset":34336,"count":0}],"isBlockCoverage":false},{"functionName":"flow","ranges":[{"startOffset":34339,"endOffset":34486,"count":44},{"startOffset":34483,"endOffset":34484,"count":0}],"isBlockCoverage":true},{"functionName":"Readable.wrap","ranges":[{"startOffset":34670,"endOffset":35691,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.","ranges":[{"startOffset":35736,"endOffset":35788,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.iterator","ranges":[{"startOffset":35821,"endOffset":35964,"count":0}],"isBlockCoverage":false},{"functionName":"streamToAsyncIterator","ranges":[{"startOffset":35967,"endOffset":36216,"count":0}],"isBlockCoverage":false},{"functionName":"createAsyncIterator","ranges":[{"startOffset":36218,"endOffset":37294,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":37513,"endOffset":37902,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":37908,"endOffset":38038,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38120,"endOffset":38184,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38266,"endOffset":38474,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38562,"endOffset":38628,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38709,"endOffset":38791,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":38873,"endOffset":38933,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":38944,"endOffset":39053,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39129,"endOffset":39183,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39263,"endOffset":39351,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39429,"endOffset":39514,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39583,"endOffset":39667,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39712,"endOffset":39796,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":39867,"endOffset":39954,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":39960,"endOffset":40249,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40324,"endOffset":40412,"count":22},{"startOffset":40398,"endOffset":40405,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":40553,"endOffset":40598,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":40678,"endOffset":40729,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":40735,"endOffset":40784,"count":0}],"isBlockCoverage":false},{"functionName":"fromList","ranges":[{"startOffset":41090,"endOffset":41652,"count":0}],"isBlockCoverage":false},{"functionName":"endReadable","ranges":[{"startOffset":41654,"endOffset":41875,"count":22}],"isBlockCoverage":true},{"functionName":"endReadableNT","ranges":[{"startOffset":41877,"endOffset":42797,"count":22},{"startOffset":42198,"endOffset":42231,"count":0},{"startOffset":42233,"endOffset":42287,"count":0},{"startOffset":42519,"endOffset":42724,"count":0}],"isBlockCoverage":true},{"functionName":"endWritableNT","ranges":[{"startOffset":42799,"endOffset":42959,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.from","ranges":[{"startOffset":42977,"endOffset":43046,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":43111,"endOffset":43275,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.fromWeb","ranges":[{"startOffset":43296,"endOffset":43430,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.toWeb","ranges":[{"startOffset":43450,"endOffset":43584,"count":0}],"isBlockCoverage":false},{"functionName":"Readable.wrap","ranges":[{"startOffset":43603,"endOffset":43847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"117","url":"node:internal/streams/legacy","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2934,"count":1}],"isBlockCoverage":false},{"functionName":"Stream","ranges":[{"startOffset":112,"endOffset":160,"count":40}],"isBlockCoverage":true},{"functionName":"Stream.pipe","ranges":[{"startOffset":274,"endOffset":2076,"count":0}],"isBlockCoverage":false},{"functionName":"prependListener","ranges":[{"startOffset":2079,"endOffset":2886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"118","url":"node:internal/streams/add-abort-signal","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1704,"count":1}],"isBlockCoverage":false},{"functionName":"validateAbortSignal","ranges":[{"startOffset":557,"endOffset":716,"count":0}],"isBlockCoverage":false},{"functionName":"addAbortSignal","ranges":[{"startOffset":751,"endOffset":1062,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.addAbortSignalNoValidate","ranges":[{"startOffset":1107,"endOffset":1702,"count":0}],"isBlockCoverage":false}]},{"scriptId":"119","url":"node:internal/streams/buffer_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4060,"count":1}],"isBlockCoverage":false},{"functionName":"BufferList","ranges":[{"startOffset":254,"endOffset":338,"count":25}],"isBlockCoverage":true},{"functionName":"push","ranges":[{"startOffset":342,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":533,"endOffset":691,"count":0}],"isBlockCoverage":false},{"functionName":"shift","ranges":[{"startOffset":695,"endOffset":922,"count":0}],"isBlockCoverage":false},{"functionName":"clear","ranges":[{"startOffset":926,"endOffset":994,"count":0}],"isBlockCoverage":false},{"functionName":"join","ranges":[{"startOffset":998,"endOffset":1180,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":1184,"endOffset":1467,"count":0}],"isBlockCoverage":false},{"functionName":"consume","ranges":[{"startOffset":1551,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":2009,"endOffset":2049,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":2053,"endOffset":2149,"count":0}],"isBlockCoverage":false},{"functionName":"_getString","ranges":[{"startOffset":2224,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"_getBuffer","ranges":[{"startOffset":2932,"endOffset":3779,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":3860,"endOffset":4056,"count":0}],"isBlockCoverage":false}]},{"scriptId":"120","url":"node:internal/streams/state","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1332,"count":1}],"isBlockCoverage":false},{"functionName":"highWaterMarkFrom","ranges":[{"startOffset":287,"endOffset":454,"count":17},{"startOffset":385,"endOffset":408,"count":0},{"startOffset":424,"endOffset":444,"count":6},{"startOffset":445,"endOffset":451,"count":11}],"isBlockCoverage":true},{"functionName":"getDefaultHighWaterMark","ranges":[{"startOffset":456,"endOffset":586,"count":37},{"startOffset":523,"endOffset":555,"count":0}],"isBlockCoverage":true},{"functionName":"setDefaultHighWaterMark","ranges":[{"startOffset":588,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"getHighWaterMark","ranges":[{"startOffset":801,"endOffset":1234,"count":17},{"startOffset":948,"endOffset":1160,"count":3},{"startOffset":992,"endOffset":1129,"count":0},{"startOffset":1160,"endOffset":1233,"count":14}],"isBlockCoverage":true}]},{"scriptId":"121","url":"node:internal/streams/from","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2614,"count":1}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":241,"endOffset":2589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"122","url":"node:internal/streams/writable","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29040,"count":1}],"isBlockCoverage":false},{"functionName":"nop","ranges":[{"startOffset":2389,"endOffset":2406,"count":145}],"isBlockCoverage":true},{"functionName":"makeBitMapDescriptor","ranges":[{"startOffset":3093,"endOffset":3309,"count":20}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3168,"endOffset":3210,"count":14}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3216,"endOffset":3301,"count":30},{"startOffset":3246,"endOffset":3264,"count":3},{"startOffset":3264,"endOffset":3295,"count":27}],"isBlockCoverage":true},{"functionName":"WritableState","ranges":[{"startOffset":5971,"endOffset":9003,"count":15},{"startOffset":6366,"endOffset":6409,"count":0},{"startOffset":6607,"endOffset":6628,"count":14},{"startOffset":6630,"endOffset":6656,"count":0},{"startOffset":6672,"endOffset":6682,"count":3},{"startOffset":6683,"endOffset":6712,"count":3},{"startOffset":6714,"endOffset":6740,"count":0},{"startOffset":6958,"endOffset":7030,"count":14},{"startOffset":7031,"endOffset":7067,"count":1},{"startOffset":7085,"endOffset":7119,"count":14},{"startOffset":7121,"endOffset":7150,"count":1},{"startOffset":7225,"endOffset":7255,"count":14},{"startOffset":7257,"endOffset":7283,"count":3},{"startOffset":7372,"endOffset":7404,"count":14},{"startOffset":7406,"endOffset":7434,"count":0},{"startOffset":7664,"endOffset":7681,"count":14},{"startOffset":7754,"endOffset":7913,"count":0}],"isBlockCoverage":true},{"functionName":"resetBuffer","ranges":[{"startOffset":9005,"endOffset":9127,"count":85}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":9165,"endOffset":9254,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9350,"endOffset":9415,"count":0}],"isBlockCoverage":false},{"functionName":"Writable","ranges":[{"startOffset":9422,"endOffset":10950,"count":15},{"startOffset":10063,"endOffset":10117,"count":12},{"startOffset":10123,"endOffset":10152,"count":0},{"startOffset":10238,"endOffset":10737,"count":14},{"startOffset":10291,"endOffset":10319,"count":0},{"startOffset":10373,"endOffset":10403,"count":0},{"startOffset":10458,"endOffset":10490,"count":0},{"startOffset":10543,"endOffset":10571,"count":0},{"startOffset":10628,"endOffset":10664,"count":0},{"startOffset":10696,"endOffset":10733,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10800,"endOffset":10946,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":11032,"endOffset":11236,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.pipe","ranges":[{"startOffset":11337,"endOffset":11405,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":11408,"endOffset":12809,"count":148},{"startOffset":11533,"endOffset":11595,"count":0},{"startOffset":11661,"endOffset":11777,"count":0},{"startOffset":11855,"endOffset":11900,"count":0},{"startOffset":11982,"endOffset":12425,"count":74},{"startOffset":12191,"endOffset":12425,"count":0},{"startOffset":12479,"endOffset":12528,"count":0},{"startOffset":12572,"endOffset":12622,"count":0},{"startOffset":12635,"endOffset":12726,"count":0}],"isBlockCoverage":true},{"functionName":"Writable.write","ranges":[{"startOffset":12838,"endOffset":12924,"count":148}],"isBlockCoverage":true},{"functionName":"Writable.cork","ranges":[{"startOffset":12953,"endOffset":12999,"count":583}],"isBlockCoverage":true},{"functionName":"Writable.uncork","ranges":[{"startOffset":13030,"endOffset":13201,"count":583}],"isBlockCoverage":true},{"functionName":"setDefaultEncoding","ranges":[{"startOffset":13244,"endOffset":13569,"count":0}],"isBlockCoverage":false},{"functionName":"writeOrBuffer","ranges":[{"startOffset":13759,"endOffset":14872,"count":148},{"startOffset":13874,"endOffset":13877,"count":0},{"startOffset":14096,"endOffset":14122,"count":0},{"startOffset":14177,"endOffset":14193,"count":75},{"startOffset":14194,"endOffset":14231,"count":75},{"startOffset":14233,"endOffset":14505,"count":73},{"startOffset":14359,"endOffset":14401,"count":0},{"startOffset":14462,"endOffset":14501,"count":0},{"startOffset":14505,"endOffset":14687,"count":75}],"isBlockCoverage":true},{"functionName":"doWrite","ranges":[{"startOffset":14874,"endOffset":15262,"count":70},{"startOffset":15067,"endOffset":15116,"count":0},{"startOffset":15140,"endOffset":15177,"count":1},{"startOffset":15177,"endOffset":15235,"count":69}],"isBlockCoverage":true},{"functionName":"onwriteError","ranges":[{"startOffset":15264,"endOffset":15649,"count":0}],"isBlockCoverage":false},{"functionName":"onwrite","ranges":[{"startOffset":15651,"endOffset":17310,"count":145},{"startOffset":15826,"endOffset":15900,"count":0},{"startOffset":16021,"endOffset":16577,"count":0},{"startOffset":16638,"endOffset":16679,"count":70},{"startOffset":16994,"endOffset":17041,"count":3},{"startOffset":17043,"endOffset":17094,"count":3},{"startOffset":17094,"endOffset":17245,"count":142},{"startOffset":17251,"endOffset":17304,"count":0}],"isBlockCoverage":true},{"functionName":"afterWriteTick","ranges":[{"startOffset":17312,"endOffset":17451,"count":142}],"isBlockCoverage":true},{"functionName":"afterWrite","ranges":[{"startOffset":17453,"endOffset":17869,"count":142},{"startOffset":17575,"endOffset":17595,"count":0},{"startOffset":17596,"endOffset":17617,"count":0},{"startOffset":17636,"endOffset":17699,"count":0},{"startOffset":17723,"endOffset":17765,"count":145},{"startOffset":17807,"endOffset":17836,"count":0}],"isBlockCoverage":true},{"functionName":"errorBuffer","ranges":[{"startOffset":17941,"endOffset":18532,"count":0}],"isBlockCoverage":false},{"functionName":"clearBuffer","ranges":[{"startOffset":18598,"endOffset":20232,"count":653},{"startOffset":18719,"endOffset":18762,"count":583},{"startOffset":18764,"endOffset":18781,"count":70},{"startOffset":18781,"endOffset":18966,"count":583},{"startOffset":18966,"endOffset":18983,"count":513},{"startOffset":18983,"endOffset":19072,"count":70},{"startOffset":19072,"endOffset":19089,"count":1},{"startOffset":19091,"endOffset":19705,"count":1},{"startOffset":19195,"endOffset":19306,"count":0},{"startOffset":19511,"endOffset":19545,"count":0},{"startOffset":19705,"endOffset":20193,"count":69},{"startOffset":19836,"endOffset":19839,"count":0},{"startOffset":19958,"endOffset":19991,"count":0},{"startOffset":20059,"endOffset":20189,"count":0},{"startOffset":20193,"endOffset":20231,"count":70}],"isBlockCoverage":true},{"functionName":"callback","ranges":[{"startOffset":19197,"endOffset":19306,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._write","ranges":[{"startOffset":20262,"endOffset":20431,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.end","ranges":[{"startOffset":20495,"endOffset":21953,"count":0}],"isBlockCoverage":false},{"functionName":"needFinish","ranges":[{"startOffset":21956,"endOffset":22419,"count":142},{"startOffset":22315,"endOffset":22346,"count":0},{"startOffset":22347,"endOffset":22374,"count":0},{"startOffset":22375,"endOffset":22415,"count":0}],"isBlockCoverage":true},{"functionName":"callFinal","ranges":[{"startOffset":22421,"endOffset":23393,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":23395,"endOffset":23733,"count":0}],"isBlockCoverage":false},{"functionName":"finishMaybe","ranges":[{"startOffset":23735,"endOffset":24234,"count":142},{"startOffset":23804,"endOffset":24232,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":23939,"endOffset":24101,"count":0}],"isBlockCoverage":false},{"functionName":"finish","ranges":[{"startOffset":24236,"endOffset":24986,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25071,"endOffset":25172,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25220,"endOffset":25324,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":25330,"endOffset":25576,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":25623,"endOffset":26027,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":26033,"endOffset":26167,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26222,"endOffset":26325,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26382,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26540,"endOffset":26622,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26674,"endOffset":26775,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":26831,"endOffset":27046,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27106,"endOffset":27190,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27243,"endOffset":27323,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27376,"endOffset":27453,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27522,"endOffset":27606,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27688,"endOffset":27927,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.destroy","ranges":[{"startOffset":28005,"endOffset":28318,"count":0}],"isBlockCoverage":false},{"functionName":"Writable._destroy","ranges":[{"startOffset":28406,"endOffset":28438,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.","ranges":[{"startOffset":28489,"endOffset":28527,"count":0}],"isBlockCoverage":false},{"functionName":"lazyWebStreams","ranges":[{"startOffset":28592,"endOffset":28756,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.fromWeb","ranges":[{"startOffset":28777,"endOffset":28911,"count":0}],"isBlockCoverage":false},{"functionName":"Writable.toWeb","ranges":[{"startOffset":28931,"endOffset":29038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"123","url":"node:stream/promises","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":917,"count":1}],"isBlockCoverage":false},{"functionName":"pipeline","ranges":[{"startOffset":318,"endOffset":869,"count":0}],"isBlockCoverage":false}]},{"scriptId":"124","url":"node:internal/streams/transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7176,"count":1}],"isBlockCoverage":false},{"functionName":"Transform","ranges":[{"startOffset":3920,"endOffset":5747,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5749,"endOffset":6193,"count":0}],"isBlockCoverage":false},{"functionName":"prefinish","ranges":[{"startOffset":6195,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._transform","ranges":[{"startOffset":6348,"endOffset":6443,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._write","ranges":[{"startOffset":6475,"endOffset":7018,"count":0}],"isBlockCoverage":false},{"functionName":"Transform._read","ranges":[{"startOffset":7049,"endOffset":7174,"count":0}],"isBlockCoverage":false}]},{"scriptId":"125","url":"node:internal/streams/passthrough","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1762,"count":1}],"isBlockCoverage":false},{"functionName":"PassThrough","ranges":[{"startOffset":1529,"endOffset":1671,"count":0}],"isBlockCoverage":false},{"functionName":"PassThrough._transform","ranges":[{"startOffset":1708,"endOffset":1760,"count":0}],"isBlockCoverage":false}]},{"scriptId":"126","url":"node:process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":83,"count":1}],"isBlockCoverage":false}]},{"scriptId":"127","url":"node:tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5058,"count":1}],"isBlockCoverage":false},{"functionName":"isatty","ranges":[{"startOffset":1535,"endOffset":1641,"count":5}],"isBlockCoverage":true},{"functionName":"ReadStream","ranges":[{"startOffset":1643,"endOffset":2112,"count":1},{"startOffset":1719,"endOffset":1754,"count":0},{"startOffset":1791,"endOffset":1820,"count":0},{"startOffset":1902,"endOffset":1947,"count":0}],"isBlockCoverage":true},{"functionName":"ReadStream.setRawMode","ranges":[{"startOffset":2261,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream","ranges":[{"startOffset":2481,"endOffset":3453,"count":2},{"startOffset":2550,"endOffset":2577,"count":0},{"startOffset":2614,"endOffset":2643,"count":0},{"startOffset":2725,"endOffset":2770,"count":0}],"isBlockCoverage":true},{"functionName":"WriteStream._refreshSize","ranges":[{"startOffset":3744,"endOffset":4180,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.cursorTo","ranges":[{"startOffset":4236,"endOffset":4376,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.moveCursor","ranges":[{"startOffset":4413,"endOffset":4559,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearLine","ranges":[{"startOffset":4595,"endOffset":4734,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.clearScreenDown","ranges":[{"startOffset":4776,"endOffset":4911,"count":0}],"isBlockCoverage":false},{"functionName":"WriteStream.getWindowSize","ranges":[{"startOffset":4951,"endOffset":5001,"count":0}],"isBlockCoverage":false}]},{"scriptId":"128","url":"node:net","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":65921,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1612,"endOffset":1637,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":4029,"endOffset":4037,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":4446,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"createHandle","ranges":[{"startOffset":4542,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"getNewAsyncId","ranges":[{"startOffset":4928,"endOffset":5066,"count":6},{"startOffset":5023,"endOffset":5041,"count":0}],"isBlockCoverage":true},{"functionName":"isPipeName","ranges":[{"startOffset":5069,"endOffset":5152,"count":0}],"isBlockCoverage":false},{"functionName":"createServer","ranges":[{"startOffset":5353,"endOffset":5457,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":5680,"endOffset":6081,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamily","ranges":[{"startOffset":6083,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamily","ranges":[{"startOffset":6160,"endOffset":6276,"count":0}],"isBlockCoverage":false},{"functionName":"getDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6278,"endOffset":6381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultAutoSelectFamilyAttemptTimeout","ranges":[{"startOffset":6383,"endOffset":6570,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeArgs","ranges":[{"startOffset":7064,"endOffset":7790,"count":0}],"isBlockCoverage":false},{"functionName":"initSocketHandle","ranges":[{"startOffset":7862,"endOffset":8465,"count":3},{"startOffset":8218,"endOffset":8459,"count":0}],"isBlockCoverage":true},{"functionName":"closeSocketHandle","ranges":[{"startOffset":8467,"endOffset":8807,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":9059,"endOffset":13678,"count":3},{"startOffset":9119,"endOffset":9146,"count":0},{"startOffset":9174,"endOffset":9303,"count":0},{"startOffset":9373,"endOffset":9621,"count":0},{"startOffset":9683,"endOffset":9879,"count":0},{"startOffset":10441,"endOffset":10467,"count":0},{"startOffset":10981,"endOffset":12221,"count":0},{"startOffset":12308,"endOffset":12385,"count":0},{"startOffset":12386,"endOffset":12432,"count":0},{"startOffset":12434,"endOffset":12649,"count":0},{"startOffset":13217,"endOffset":13386,"count":0},{"startOffset":13418,"endOffset":13445,"count":0},{"startOffset":13473,"endOffset":13525,"count":0}],"isBlockCoverage":true},{"functionName":"_unrefTimer","ranges":[{"startOffset":13851,"endOffset":13981,"count":71},{"startOffset":13953,"endOffset":13975,"count":0}],"isBlockCoverage":true},{"functionName":"Socket._final","ranges":[{"startOffset":14101,"endOffset":14717,"count":0}],"isBlockCoverage":false},{"functionName":"afterShutdown","ranges":[{"startOffset":14720,"endOffset":14866,"count":0}],"isBlockCoverage":false},{"functionName":"writeAfterFIN","ranges":[{"startOffset":15073,"endOffset":15581,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._onTimeout","ranges":[{"startOffset":15663,"endOffset":16167,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setNoDelay","ranges":[{"startOffset":16201,"endOffset":16578,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setKeepAlive","ranges":[{"startOffset":16614,"endOffset":17220,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":17251,"endOffset":17295,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17381,"endOffset":17425,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17505,"endOffset":17561,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":17672,"endOffset":17987,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18076,"endOffset":18156,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":18244,"endOffset":18289,"count":0}],"isBlockCoverage":false},{"functionName":"tryReadStart","ranges":[{"startOffset":18297,"endOffset":18543,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._read","ranges":[{"startOffset":18635,"endOffset":18954,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.end","ranges":[{"startOffset":18981,"endOffset":19137,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resetAndDestroy","ranges":[{"startOffset":19175,"endOffset":19525,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.pause","ranges":[{"startOffset":19553,"endOffset":19887,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.resume","ranges":[{"startOffset":19917,"endOffset":20101,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.read","ranges":[{"startOffset":20129,"endOffset":20315,"count":0}],"isBlockCoverage":false},{"functionName":"onReadableStreamEnd","ranges":[{"startOffset":20362,"endOffset":20461,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.destroySoon","ranges":[{"startOffset":20495,"endOffset":20642,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._destroy","ranges":[{"startOffset":20674,"endOffset":22184,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._reset","ranges":[{"startOffset":22213,"endOffset":22312,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getpeername","ranges":[{"startOffset":22347,"endOffset":22644,"count":0}],"isBlockCoverage":false},{"functionName":"protoGetter","ranges":[{"startOffset":22647,"endOffset":22829,"count":9}],"isBlockCoverage":true},{"functionName":"bytesRead","ranges":[{"startOffset":22856,"endOffset":22947,"count":0}],"isBlockCoverage":false},{"functionName":"remoteAddress","ranges":[{"startOffset":22980,"endOffset":23046,"count":0}],"isBlockCoverage":false},{"functionName":"remoteFamily","ranges":[{"startOffset":23078,"endOffset":23142,"count":0}],"isBlockCoverage":false},{"functionName":"remotePort","ranges":[{"startOffset":23172,"endOffset":23232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._getsockname","ranges":[{"startOffset":23269,"endOffset":23545,"count":0}],"isBlockCoverage":false},{"functionName":"localAddress","ranges":[{"startOffset":23577,"endOffset":23642,"count":0}],"isBlockCoverage":false},{"functionName":"localPort","ranges":[{"startOffset":23672,"endOffset":23731,"count":0}],"isBlockCoverage":false},{"functionName":"localFamily","ranges":[{"startOffset":23762,"endOffset":23825,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":23866,"endOffset":23913,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writeGeneric","ranges":[{"startOffset":23949,"endOffset":24861,"count":71},{"startOffset":24171,"endOffset":24515,"count":0},{"startOffset":24596,"endOffset":24652,"count":0},{"startOffset":24706,"endOffset":24742,"count":1},{"startOffset":24742,"endOffset":24799,"count":70},{"startOffset":24821,"endOffset":24859,"count":0}],"isBlockCoverage":true},{"functionName":"connect","ranges":[{"startOffset":24266,"endOffset":24380,"count":0}],"isBlockCoverage":false},{"functionName":"onClose","ranges":[{"startOffset":24387,"endOffset":24466,"count":0}],"isBlockCoverage":false},{"functionName":"Socket._writev","ranges":[{"startOffset":24892,"endOffset":24960,"count":1}],"isBlockCoverage":true},{"functionName":"Socket._write","ranges":[{"startOffset":24990,"endOffset":25071,"count":70}],"isBlockCoverage":true},{"functionName":"_bytesDispatched","ranges":[{"startOffset":25264,"endOffset":25368,"count":0}],"isBlockCoverage":false},{"functionName":"bytesWritten","ranges":[{"startOffset":25400,"endOffset":26329,"count":0}],"isBlockCoverage":false},{"functionName":"checkBindError","ranges":[{"startOffset":26334,"endOffset":27133,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnect","ranges":[{"startOffset":27136,"endOffset":29131,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultiple","ranges":[{"startOffset":29134,"endOffset":31870,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":31899,"endOffset":33495,"count":0}],"isBlockCoverage":false},{"functionName":"reinitializeHandle","ranges":[{"startOffset":33538,"endOffset":33692,"count":0}],"isBlockCoverage":false},{"functionName":"socketToDnsFamily","ranges":[{"startOffset":33695,"endOffset":33841,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnect","ranges":[{"startOffset":33843,"endOffset":37774,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndConnectMultiple","ranges":[{"startOffset":37776,"endOffset":41750,"count":0}],"isBlockCoverage":false},{"functionName":"connectErrorNT","ranges":[{"startOffset":41752,"endOffset":41811,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":41837,"endOffset":42024,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":42053,"endOffset":42246,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnect","ranges":[{"startOffset":42250,"endOffset":43831,"count":0}],"isBlockCoverage":false},{"functionName":"addClientAbortSignalOption","ranges":[{"startOffset":43833,"endOffset":44256,"count":0}],"isBlockCoverage":false},{"functionName":"createConnectionError","ranges":[{"startOffset":44258,"endOffset":44759,"count":0}],"isBlockCoverage":false},{"functionName":"afterConnectMultiple","ranges":[{"startOffset":44761,"endOffset":45903,"count":0}],"isBlockCoverage":false},{"functionName":"internalConnectMultipleTimeout","ranges":[{"startOffset":45905,"endOffset":46217,"count":0}],"isBlockCoverage":false},{"functionName":"addServerAbortSignalOption","ranges":[{"startOffset":46219,"endOffset":46662,"count":0}],"isBlockCoverage":false},{"functionName":"Server","ranges":[{"startOffset":46664,"endOffset":48251,"count":0}],"isBlockCoverage":false},{"functionName":"toNumber","ranges":[{"startOffset":48362,"endOffset":48427,"count":0}],"isBlockCoverage":false},{"functionName":"createServerHandle","ranges":[{"startOffset":48495,"endOffset":49947,"count":0}],"isBlockCoverage":false},{"functionName":"setupListenHandle","ranges":[{"startOffset":49949,"endOffset":52300,"count":0}],"isBlockCoverage":false},{"functionName":"emitErrorNT","ranges":[{"startOffset":52367,"endOffset":52429,"count":0}],"isBlockCoverage":false},{"functionName":"emitListeningNT","ranges":[{"startOffset":52432,"endOffset":52547,"count":0}],"isBlockCoverage":false},{"functionName":"listenInCluster","ranges":[{"startOffset":52550,"endOffset":53810,"count":0}],"isBlockCoverage":false},{"functionName":"Server.listen","ranges":[{"startOffset":53839,"endOffset":57671,"count":0}],"isBlockCoverage":false},{"functionName":"lookupAndListen","ranges":[{"startOffset":57674,"endOffset":58086,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":58168,"endOffset":58211,"count":0}],"isBlockCoverage":false},{"functionName":"Server.address","ranges":[{"startOffset":58287,"endOffset":58576,"count":0}],"isBlockCoverage":false},{"functionName":"onconnection","ranges":[{"startOffset":58579,"endOffset":60478,"count":0}],"isBlockCoverage":false},{"functionName":"Server.getConnections","ranges":[{"startOffset":60627,"endOffset":61380,"count":0}],"isBlockCoverage":false},{"functionName":"Server.close","ranges":[{"startOffset":61409,"endOffset":62276,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":62318,"endOffset":62438,"count":0}],"isBlockCoverage":false},{"functionName":"Server._emitCloseIfDrained","ranges":[{"startOffset":62480,"endOffset":62866,"count":0}],"isBlockCoverage":false},{"functionName":"emitCloseNT","ranges":[{"startOffset":62870,"endOffset":62953,"count":0}],"isBlockCoverage":false},{"functionName":"Server.","ranges":[{"startOffset":63012,"endOffset":63174,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63396,"endOffset":63432,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":63436,"endOffset":63477,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":63557,"endOffset":63588,"count":97}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":63592,"endOffset":63628,"count":3}],"isBlockCoverage":true},{"functionName":"Server._setupWorker","ranges":[{"startOffset":63667,"endOffset":63908,"count":0}],"isBlockCoverage":false},{"functionName":"Server.ref","ranges":[{"startOffset":63934,"endOffset":64032,"count":0}],"isBlockCoverage":false},{"functionName":"Server.unref","ranges":[{"startOffset":64060,"endOffset":64159,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":64301,"endOffset":64970,"count":0}],"isBlockCoverage":false},{"functionName":"_setSimultaneousAccepts","ranges":[{"startOffset":65009,"endOffset":65250,"count":0}],"isBlockCoverage":false},{"functionName":"get BlockList","ranges":[{"startOffset":65379,"endOffset":65481,"count":0}],"isBlockCoverage":false},{"functionName":"get SocketAddress","ranges":[{"startOffset":65485,"endOffset":65607,"count":0}],"isBlockCoverage":false}]},{"scriptId":"129","url":"node:internal/stream_base_commons","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7041,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1010,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"handleWriteReq","ranges":[{"startOffset":1154,"endOffset":2009,"count":70},{"startOffset":1379,"endOffset":1397,"count":0},{"startOffset":1426,"endOffset":1440,"count":0},{"startOffset":1445,"endOffset":1509,"count":0},{"startOffset":1514,"endOffset":1526,"count":0},{"startOffset":1531,"endOffset":1592,"count":0},{"startOffset":1597,"endOffset":1659,"count":0},{"startOffset":1664,"endOffset":1676,"count":0},{"startOffset":1681,"endOffset":1694,"count":0},{"startOffset":1699,"endOffset":1714,"count":0},{"startOffset":1719,"endOffset":1783,"count":0},{"startOffset":1788,"endOffset":2003,"count":0}],"isBlockCoverage":true},{"functionName":"onWriteComplete","ranges":[{"startOffset":2011,"endOffset":2696,"count":0}],"isBlockCoverage":false},{"functionName":"createWriteWrap","ranges":[{"startOffset":2698,"endOffset":2936,"count":71}],"isBlockCoverage":true},{"functionName":"writevGeneric","ranges":[{"startOffset":2938,"endOffset":3577,"count":1},{"startOffset":3168,"endOffset":3192,"count":4},{"startOffset":3196,"endOffset":3405,"count":0}],"isBlockCoverage":true},{"functionName":"writeGeneric","ranges":[{"startOffset":3579,"endOffset":3784,"count":70}],"isBlockCoverage":true},{"functionName":"afterWriteDispatched","ranges":[{"startOffset":3786,"endOffset":4089,"count":71},{"startOffset":3953,"endOffset":4004,"count":0}],"isBlockCoverage":true},{"functionName":"onStreamRead","ranges":[{"startOffset":4091,"endOffset":6022,"count":0}],"isBlockCoverage":false},{"functionName":"setStreamTimeout","ranges":[{"startOffset":6024,"endOffset":6834,"count":0}],"isBlockCoverage":false}]},{"scriptId":"130","url":"node:diagnostics_channel","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9791,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":734,"endOffset":1143,"count":1}],"isBlockCoverage":false},{"functionName":"#finalizers","ranges":[{"startOffset":814,"endOffset":850,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":856,"endOffset":973,"count":5}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":977,"endOffset":1025,"count":5},{"startOffset":1013,"endOffset":1018,"count":0}],"isBlockCoverage":true},{"functionName":"incRef","ranges":[{"startOffset":1029,"endOffset":1083,"count":0}],"isBlockCoverage":false},{"functionName":"decRef","ranges":[{"startOffset":1087,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"markActive","ranges":[{"startOffset":1145,"endOffset":1350,"count":0}],"isBlockCoverage":false},{"functionName":"maybeMarkInactive","ranges":[{"startOffset":1352,"endOffset":1720,"count":0}],"isBlockCoverage":false},{"functionName":"defaultTransform","ranges":[{"startOffset":1722,"endOffset":1772,"count":0}],"isBlockCoverage":false},{"functionName":"wrapStoreRun","ranges":[{"startOffset":1774,"endOffset":2102,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":2184,"endOffset":2354,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":2358,"endOffset":2635,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":2639,"endOffset":2807,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":2811,"endOffset":3010,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":3014,"endOffset":3057,"count":0}],"isBlockCoverage":false},{"functionName":"publish","ranges":[{"startOffset":3061,"endOffset":3370,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":3374,"endOffset":3713,"count":0}],"isBlockCoverage":false},{"functionName":"Channel","ranges":[{"startOffset":3735,"endOffset":3876,"count":5}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3887,"endOffset":4072,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":4076,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4165,"endOffset":4202,"count":0}],"isBlockCoverage":false},{"functionName":"bindStore","ranges":[{"startOffset":4206,"endOffset":4299,"count":0}],"isBlockCoverage":false},{"functionName":"unbindStore","ranges":[{"startOffset":4303,"endOffset":4340,"count":0}],"isBlockCoverage":false},{"functionName":"get hasSubscribers","ranges":[{"startOffset":4344,"endOffset":4388,"count":11}],"isBlockCoverage":true},{"functionName":"publish","ranges":[{"startOffset":4392,"endOffset":4404,"count":0}],"isBlockCoverage":false},{"functionName":"runStores","ranges":[{"startOffset":4408,"endOffset":4495,"count":0}],"isBlockCoverage":false},{"functionName":"channel","ranges":[{"startOffset":4535,"endOffset":4801,"count":5},{"startOffset":4613,"endOffset":4628,"count":0},{"startOffset":4661,"endOffset":4688,"count":0},{"startOffset":4690,"endOffset":4770,"count":0}],"isBlockCoverage":true},{"functionName":"subscribe","ranges":[{"startOffset":4803,"endOffset":4893,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":4895,"endOffset":4989,"count":0}],"isBlockCoverage":false},{"functionName":"hasSubscribers","ranges":[{"startOffset":4991,"endOffset":5126,"count":0}],"isBlockCoverage":false},{"functionName":"assertChannel","ranges":[{"startOffset":5215,"endOffset":5357,"count":0}],"isBlockCoverage":false},{"functionName":"TracingChannel","ranges":[{"startOffset":5384,"endOffset":6531,"count":0}],"isBlockCoverage":false},{"functionName":"subscribe","ranges":[{"startOffset":6535,"endOffset":6687,"count":0}],"isBlockCoverage":false},{"functionName":"unsubscribe","ranges":[{"startOffset":6691,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"traceSync","ranges":[{"startOffset":6928,"endOffset":7354,"count":0}],"isBlockCoverage":false},{"functionName":"tracePromise","ranges":[{"startOffset":7358,"endOffset":8459,"count":0}],"isBlockCoverage":false},{"functionName":"traceCallback","ranges":[{"startOffset":8463,"endOffset":9589,"count":0}],"isBlockCoverage":false},{"functionName":"tracingChannel","ranges":[{"startOffset":9593,"endOffset":9681,"count":0}],"isBlockCoverage":false}]},{"scriptId":"131","url":"node:internal/perf/observe","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16742,"count":1}],"isBlockCoverage":false},{"functionName":"queuePending","ranges":[{"startOffset":2620,"endOffset":2881,"count":0}],"isBlockCoverage":false},{"functionName":"getObserverType","ranges":[{"startOffset":2883,"endOffset":3223,"count":0}],"isBlockCoverage":false},{"functionName":"maybeDecrementObserverCounts","ranges":[{"startOffset":3225,"endOffset":3646,"count":0}],"isBlockCoverage":false},{"functionName":"maybeIncrementObserverCount","ranges":[{"startOffset":3648,"endOffset":3990,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceObserverEntryList","ranges":[{"startOffset":4031,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"getEntries","ranges":[{"startOffset":4095,"endOffset":4234,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByType","ranges":[{"startOffset":4238,"endOffset":4542,"count":0}],"isBlockCoverage":false},{"functionName":"getEntriesByName","ranges":[{"startOffset":4546,"endOffset":5039,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5043,"endOffset":5291,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceObserverEntryList","ranges":[{"startOffset":5643,"endOffset":5933,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5935,"endOffset":9507,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":9989,"endOffset":10191,"count":0}],"isBlockCoverage":false},{"functionName":"bufferUserTiming","ranges":[{"startOffset":10252,"endOffset":11278,"count":0}],"isBlockCoverage":false},{"functionName":"bufferResourceTiming","ranges":[{"startOffset":11566,"endOffset":12830,"count":0}],"isBlockCoverage":false},{"functionName":"setResourceTimingBufferSize","ranges":[{"startOffset":12918,"endOffset":13190,"count":0}],"isBlockCoverage":false},{"functionName":"setDispatchBufferFull","ranges":[{"startOffset":13192,"endOffset":13257,"count":0}],"isBlockCoverage":false},{"functionName":"clearEntriesFromBuffer","ranges":[{"startOffset":13259,"endOffset":13859,"count":0}],"isBlockCoverage":false},{"functionName":"filterBufferMapByNameAndType","ranges":[{"startOffset":13861,"endOffset":14749,"count":0}],"isBlockCoverage":false},{"functionName":"observerCallback","ranges":[{"startOffset":14751,"endOffset":15867,"count":0}],"isBlockCoverage":false},{"functionName":"hasObserver","ranges":[{"startOffset":15904,"endOffset":16023,"count":0}],"isBlockCoverage":false},{"functionName":"startPerf","ranges":[{"startOffset":16026,"endOffset":16136,"count":0}],"isBlockCoverage":false},{"functionName":"stopPerf","ranges":[{"startOffset":16138,"endOffset":16453,"count":0}],"isBlockCoverage":false}]},{"scriptId":"132","url":"node:internal/perf/performance_entry","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3333,"count":1}],"isBlockCoverage":false},{"functionName":"isPerformanceEntry","ranges":[{"startOffset":675,"endOffset":748,"count":0}],"isBlockCoverage":false},{"functionName":"PerformanceEntry","ranges":[{"startOffset":777,"endOffset":914,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":918,"endOffset":1018,"count":0}],"isBlockCoverage":false},{"functionName":"get entryType","ranges":[{"startOffset":1022,"endOffset":1137,"count":0}],"isBlockCoverage":false},{"functionName":"get startTime","ranges":[{"startOffset":1141,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"get duration","ranges":[{"startOffset":1260,"endOffset":1372,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1376,"endOffset":1620,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":1624,"endOffset":1846,"count":0}],"isBlockCoverage":false},{"functionName":"initPerformanceEntry","ranges":[{"startOffset":2068,"endOffset":2248,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceEntry","ranges":[{"startOffset":2250,"endOffset":2442,"count":0}],"isBlockCoverage":false},{"functionName":"get detail","ranges":[{"startOffset":2559,"endOffset":2669,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":2673,"endOffset":2924,"count":0}],"isBlockCoverage":false},{"functionName":"createPerformanceNodeEntry","ranges":[{"startOffset":2928,"endOffset":3163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"133","url":"node:internal/tty","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6485,"count":1}],"isBlockCoverage":false},{"functionName":"warnOnDeactivatedColors","ranges":[{"startOffset":2549,"endOffset":3002,"count":0}],"isBlockCoverage":false},{"functionName":"getColorDepth","ranges":[{"startOffset":3160,"endOffset":6156,"count":1},{"startOffset":3364,"endOffset":3722,"count":0},{"startOffset":4063,"endOffset":4089,"count":0},{"startOffset":4127,"endOffset":4685,"count":0},{"startOffset":4703,"endOffset":4731,"count":0},{"startOffset":4747,"endOffset":5010,"count":0},{"startOffset":5045,"endOffset":5175,"count":0},{"startOffset":5211,"endOffset":5412,"count":0},{"startOffset":5417,"endOffset":5434,"count":0},{"startOffset":5439,"endOffset":5479,"count":0},{"startOffset":5484,"endOffset":5531,"count":0},{"startOffset":5573,"endOffset":5601,"count":0},{"startOffset":5631,"endOffset":6155,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4899,"endOffset":4920,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5948,"endOffset":6001,"count":0}],"isBlockCoverage":false},{"functionName":"hasColors","ranges":[{"startOffset":6158,"endOffset":6431,"count":0}],"isBlockCoverage":false}]},{"scriptId":"134","url":"node:internal/process/report","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2644,"count":1}],"isBlockCoverage":false},{"functionName":"writeReport","ranges":[{"startOffset":352,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getReport","ranges":[{"startOffset":775,"endOffset":940,"count":0}],"isBlockCoverage":false},{"functionName":"get directory","ranges":[{"startOffset":944,"endOffset":995,"count":0}],"isBlockCoverage":false},{"functionName":"set directory","ranges":[{"startOffset":999,"endOffset":1087,"count":0}],"isBlockCoverage":false},{"functionName":"get filename","ranges":[{"startOffset":1091,"endOffset":1140,"count":0}],"isBlockCoverage":false},{"functionName":"set filename","ranges":[{"startOffset":1144,"endOffset":1232,"count":0}],"isBlockCoverage":false},{"functionName":"get compact","ranges":[{"startOffset":1236,"endOffset":1283,"count":0}],"isBlockCoverage":false},{"functionName":"set compact","ranges":[{"startOffset":1287,"endOffset":1364,"count":0}],"isBlockCoverage":false},{"functionName":"get signal","ranges":[{"startOffset":1368,"endOffset":1413,"count":0}],"isBlockCoverage":false},{"functionName":"set signal","ranges":[{"startOffset":1417,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnFatalError","ranges":[{"startOffset":1558,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnFatalError","ranges":[{"startOffset":1634,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnSignal","ranges":[{"startOffset":1756,"endOffset":1820,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnSignal","ranges":[{"startOffset":1824,"endOffset":1985,"count":0}],"isBlockCoverage":false},{"functionName":"get reportOnUncaughtException","ranges":[{"startOffset":1989,"endOffset":2075,"count":0}],"isBlockCoverage":false},{"functionName":"set reportOnUncaughtException","ranges":[{"startOffset":2079,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"addSignalHandler","ranges":[{"startOffset":2217,"endOffset":2388,"count":0}],"isBlockCoverage":false},{"functionName":"removeSignalHandler","ranges":[{"startOffset":2390,"endOffset":2514,"count":0}],"isBlockCoverage":false},{"functionName":"signalHandler","ranges":[{"startOffset":2516,"endOffset":2590,"count":0}],"isBlockCoverage":false}]},{"scriptId":"136","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/arrify/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":305,"count":1}],"isBlockCoverage":true},{"functionName":"arrify","ranges":[{"startOffset":15,"endOffset":304,"count":3},{"startOffset":84,"endOffset":101,"count":2},{"startOffset":101,"endOffset":150,"count":1},{"startOffset":150,"endOffset":303,"count":0}],"isBlockCoverage":true}]},{"scriptId":"137","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/figures/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7571,"count":1},{"startOffset":5194,"endOffset":5260,"count":0},{"startOffset":6689,"endOffset":6706,"count":0}],"isBlockCoverage":true},{"functionName":"isFallbackSymbol","ranges":[{"startOffset":6758,"endOffset":6814,"count":0}],"isBlockCoverage":false},{"functionName":"getFigureRegExp","ranges":[{"startOffset":6840,"endOffset":6932,"count":0}],"isBlockCoverage":false},{"functionName":"getReplacements","ranges":[{"startOffset":6982,"endOffset":7249,"count":0}],"isBlockCoverage":false},{"functionName":"replaceSymbols","ranges":[{"startOffset":7369,"endOffset":7569,"count":0}],"isBlockCoverage":false}]},{"scriptId":"138","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/index.mjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":231,"count":1}],"isBlockCoverage":true}]},{"scriptId":"139","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/helpers/helpers.mjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":384,"count":1}],"isBlockCoverage":true},{"functionName":"applyExtends","ranges":[{"startOffset":250,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"140","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/api.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10492,"count":1}],"isBlockCoverage":true},{"functionName":"resolveModules","ranges":[{"startOffset":798,"endOffset":1051,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":861,"endOffset":1047,"count":0}],"isBlockCoverage":false},{"functionName":"getFilePathPrefix","ranges":[{"startOffset":1053,"endOffset":1265,"count":1},{"startOffset":1114,"endOffset":1229,"count":0}],"isBlockCoverage":true},{"functionName":"TimeoutTrigger","ranges":[{"startOffset":1291,"endOffset":1424,"count":1}],"isBlockCoverage":true},{"functionName":"debounce","ranges":[{"startOffset":1427,"endOffset":1585,"count":314},{"startOffset":1472,"endOffset":1546,"count":1},{"startOffset":1546,"endOffset":1582,"count":313}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1507,"endOffset":1527,"count":0}],"isBlockCoverage":false},{"functionName":"discard","ranges":[{"startOffset":1588,"endOffset":1727,"count":1}],"isBlockCoverage":true},{"functionName":"ignoreFor","ranges":[{"startOffset":1730,"endOffset":1826,"count":0}],"isBlockCoverage":false},{"functionName":"trigger","ranges":[{"startOffset":1829,"endOffset":1901,"count":0}],"isBlockCoverage":false},{"functionName":"Api","ranges":[{"startOffset":1950,"endOffset":2262,"count":1}],"isBlockCoverage":true},{"functionName":"Api._interruptHandler","ranges":[{"startOffset":2160,"endOffset":2168,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2223,"endOffset":2253,"count":0}],"isBlockCoverage":false},{"functionName":"run","ranges":[{"startOffset":2265,"endOffset":10049,"count":1},{"startOffset":3340,"endOffset":3401,"count":0},{"startOffset":4007,"endOffset":4159,"count":0},{"startOffset":4170,"endOffset":4241,"count":0},{"startOffset":4486,"endOffset":5073,"count":0},{"startOffset":5167,"endOffset":5243,"count":0},{"startOffset":5510,"endOffset":5539,"count":0},{"startOffset":5540,"endOffset":5569,"count":0},{"startOffset":6138,"endOffset":6172,"count":0},{"startOffset":6355,"endOffset":6383,"count":0},{"startOffset":7573,"endOffset":7600,"count":0},{"startOffset":7638,"endOffset":7686,"count":0},{"startOffset":7702,"endOffset":7729,"count":0},{"startOffset":9603,"endOffset":9609,"count":0},{"startOffset":9641,"endOffset":9997,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2978,"endOffset":3325,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3387,"endOffset":3395,"count":0}],"isBlockCoverage":false},{"functionName":"_interruptHandler","ranges":[{"startOffset":3430,"endOffset":3757,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4096,"endOffset":4118,"count":0}],"isBlockCoverage":false},{"functionName":"defaultComparator","ranges":[{"startOffset":4702,"endOffset":4751,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6416,"endOffset":7002,"count":582},{"startOffset":6452,"endOffset":6496,"count":303},{"startOffset":6498,"endOffset":6644,"count":303},{"startOffset":6663,"endOffset":6765,"count":0},{"startOffset":6767,"endOffset":6997,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7071,"endOffset":7266,"count":1}],"isBlockCoverage":true},{"functionName":"pMap.concurrency.concurrency","ranges":[{"startOffset":7857,"endOffset":9374,"count":11},{"startOffset":7992,"endOffset":8012,"count":0},{"startOffset":8662,"endOffset":8805,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8898,"endOffset":9038,"count":303},{"startOffset":8957,"endOffset":8977,"count":0},{"startOffset":8979,"endOffset":9032,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9260,"endOffset":9309,"count":11}],"isBlockCoverage":true},{"functionName":"_getLocalCacheDir","ranges":[{"startOffset":10052,"endOffset":10154,"count":2}],"isBlockCoverage":true},{"functionName":"_createCacheDir","ranges":[{"startOffset":10157,"endOffset":10489,"count":2},{"startOffset":10199,"endOffset":10290,"count":1},{"startOffset":10290,"endOffset":10331,"count":0},{"startOffset":10335,"endOffset":10361,"count":1}],"isBlockCoverage":true}]},{"scriptId":"141","url":"node:os","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9769,"count":1}],"isBlockCoverage":false},{"functionName":"getCheckedFunction","ranges":[{"startOffset":2026,"endOffset":2267,"count":4}],"isBlockCoverage":true},{"functionName":"checkError","ranges":[{"startOffset":2085,"endOffset":2263,"count":1},{"startOffset":2197,"endOffset":2243,"count":0}],"isBlockCoverage":true},{"functionName":"getOSRelease","ranges":[{"startOffset":2649,"endOffset":2662,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType","ranges":[{"startOffset":2711,"endOffset":2721,"count":1}],"isBlockCoverage":true},{"functionName":"getOSVersion","ranges":[{"startOffset":2773,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine","ranges":[{"startOffset":2836,"endOffset":2849,"count":0}],"isBlockCoverage":false},{"functionName":"getAvailableParallelism.","ranges":[{"startOffset":2897,"endOffset":2928,"count":0}],"isBlockCoverage":false},{"functionName":"getFreeMem.","ranges":[{"startOffset":2962,"endOffset":2980,"count":0}],"isBlockCoverage":false},{"functionName":"getHostname.","ranges":[{"startOffset":3015,"endOffset":3034,"count":0}],"isBlockCoverage":false},{"functionName":"getOSVersion.","ranges":[{"startOffset":3070,"endOffset":3090,"count":0}],"isBlockCoverage":false},{"functionName":"getOSType.","ranges":[{"startOffset":3123,"endOffset":3140,"count":0}],"isBlockCoverage":false},{"functionName":"getOSRelease.","ranges":[{"startOffset":3176,"endOffset":3196,"count":0}],"isBlockCoverage":false},{"functionName":"getMachine.","ranges":[{"startOffset":3230,"endOffset":3248,"count":0}],"isBlockCoverage":false},{"functionName":"getHomeDirectory.","ranges":[{"startOffset":3288,"endOffset":3312,"count":0}],"isBlockCoverage":false},{"functionName":"getTotalMem.","ranges":[{"startOffset":3347,"endOffset":3366,"count":0}],"isBlockCoverage":false},{"functionName":"getUptime.","ranges":[{"startOffset":3399,"endOffset":3416,"count":0}],"isBlockCoverage":false},{"functionName":"loadavg","ranges":[{"startOffset":3554,"endOffset":3654,"count":0}],"isBlockCoverage":false},{"functionName":"cpus","ranges":[{"startOffset":3934,"endOffset":4363,"count":2},{"startOffset":4036,"endOffset":4041,"count":0},{"startOffset":4103,"endOffset":4344,"count":24}],"isBlockCoverage":true},{"functionName":"arch","ranges":[{"startOffset":4394,"endOffset":4436,"count":0}],"isBlockCoverage":false},{"functionName":"arch.","ranges":[{"startOffset":4463,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"platform","ranges":[{"startOffset":4513,"endOffset":4563,"count":2}],"isBlockCoverage":true},{"functionName":"platform.","ranges":[{"startOffset":4594,"endOffset":4616,"count":0}],"isBlockCoverage":false},{"functionName":"tmpdir","ranges":[{"startOffset":4648,"endOffset":5253,"count":1},{"startOffset":4697,"endOffset":4994,"count":0},{"startOffset":5190,"endOffset":5231,"count":0}],"isBlockCoverage":true},{"functionName":"tmpdir.","ranges":[{"startOffset":5282,"endOffset":5296,"count":0}],"isBlockCoverage":false},{"functionName":"endianness","ranges":[{"startOffset":5333,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"endianness.","ranges":[{"startOffset":5413,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"countBinaryOnes","ranges":[{"startOffset":5518,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"getCIDR","ranges":[{"startOffset":5773,"endOffset":6718,"count":0}],"isBlockCoverage":false},{"functionName":"networkInterfaces","ranges":[{"startOffset":6929,"endOffset":7622,"count":0}],"isBlockCoverage":false},{"functionName":"setPriority","ranges":[{"startOffset":7706,"endOffset":7995,"count":0}],"isBlockCoverage":false},{"functionName":"getPriority","ranges":[{"startOffset":8053,"endOffset":8308,"count":0}],"isBlockCoverage":false},{"functionName":"userInfo","ranges":[{"startOffset":8612,"endOffset":8900,"count":0}],"isBlockCoverage":false}]},{"scriptId":"142","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/chalk.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":351,"count":1}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":197,"endOffset":350,"count":1},{"startOffset":238,"endOffset":298,"count":0}],"isBlockCoverage":true}]},{"scriptId":"143","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/environment-variables.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":371,"count":1}],"isBlockCoverage":true},{"functionName":"validateEnvironmentVariables","ranges":[{"startOffset":15,"endOffset":370,"count":1},{"startOffset":122,"endOffset":369,"count":0}],"isBlockCoverage":true}]},{"scriptId":"144","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/extensions.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1099,"count":1}],"isBlockCoverage":true},{"functionName":"resolveExtensions","ranges":[{"startOffset":15,"endOffset":1098,"count":1},{"startOffset":530,"endOffset":567,"count":0},{"startOffset":662,"endOffset":767,"count":0}],"isBlockCoverage":true},{"functionName":"normalize","ranges":[{"startOffset":236,"endOffset":314,"count":1},{"startOffset":289,"endOffset":314,"count":0}],"isBlockCoverage":true},{"functionName":"combine","ranges":[{"startOffset":334,"endOffset":486,"count":1},{"startOffset":393,"endOffset":483,"count":3},{"startOffset":417,"endOffset":448,"count":0}],"isBlockCoverage":true}]},{"scriptId":"145","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/globs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6300,"count":1}],"isBlockCoverage":true},{"functionName":"buildExtensionPattern","ranges":[{"startOffset":755,"endOffset":838,"count":1},{"startOffset":793,"endOffset":808,"count":0}],"isBlockCoverage":true},{"functionName":"normalizeGlobs","ranges":[{"startOffset":848,"endOffset":2591,"count":1},{"startOffset":1060,"endOffset":1155,"count":0},{"startOffset":1201,"endOffset":1287,"count":0},{"startOffset":1289,"endOffset":1395,"count":0},{"startOffset":2025,"endOffset":2148,"count":0},{"startOffset":2151,"endOffset":2199,"count":0},{"startOffset":2254,"endOffset":2340,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1988,"endOffset":2022,"count":1}],"isBlockCoverage":true},{"functionName":"globFiles","ranges":[{"startOffset":3027,"endOffset":3288,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3256,"endOffset":3284,"count":12}],"isBlockCoverage":true},{"functionName":"globDirectoriesSync","ranges":[{"startOffset":3319,"endOffset":3578,"count":0}],"isBlockCoverage":false},{"functionName":"findFiles","ranges":[{"startOffset":3588,"endOffset":3762,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3720,"endOffset":3758,"count":12}],"isBlockCoverage":true},{"functionName":"findTests","ranges":[{"startOffset":3771,"endOffset":3965,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3917,"endOffset":3961,"count":11}],"isBlockCoverage":true},{"functionName":"getChokidarIgnorePatterns","ranges":[{"startOffset":3974,"endOffset":4191,"count":0}],"isBlockCoverage":false},{"functionName":"applyTestFileFilter","ranges":[{"startOffset":4200,"endOffset":6299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"146","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/is-ci.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":190,"count":1},{"startOffset":144,"endOffset":151,"count":0}],"isBlockCoverage":true}]},{"scriptId":"147","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/line-numbers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1696,"count":1}],"isBlockCoverage":true},{"functionName":"distinctArray","ranges":[{"startOffset":225,"endOffset":253,"count":11}],"isBlockCoverage":true},{"functionName":"sortNumbersAscending","ranges":[{"startOffset":284,"endOffset":371,"count":11}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":336,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"parseNumber","ranges":[{"startOffset":394,"endOffset":431,"count":0}],"isBlockCoverage":false},{"functionName":"removeAllWhitespace","ranges":[{"startOffset":461,"endOffset":496,"count":0}],"isBlockCoverage":false},{"functionName":"range","ranges":[{"startOffset":512,"endOffset":618,"count":0}],"isBlockCoverage":false},{"functionName":"parseLineNumbers","ranges":[{"startOffset":646,"endOffset":1032,"count":0}],"isBlockCoverage":false},{"functionName":"splitPatternAndLineNumbers","ranges":[{"startOffset":1042,"endOffset":1416,"count":0}],"isBlockCoverage":false},{"functionName":"getApplicableLineNumbers","ranges":[{"startOffset":1425,"endOffset":1695,"count":11}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1553,"endOffset":1642,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1656,"endOffset":1686,"count":0}],"isBlockCoverage":false}]},{"scriptId":"148","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/load-config.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5441,"count":1}],"isBlockCoverage":true},{"functionName":"importConfig","ranges":[{"startOffset":398,"endOffset":677,"count":0}],"isBlockCoverage":false},{"functionName":"loadConfigFile","ranges":[{"startOffset":703,"endOffset":1148,"count":3},{"startOffset":855,"endOffset":966,"count":0},{"startOffset":1034,"endOffset":1146,"count":0}],"isBlockCoverage":true},{"functionName":"resolveConfigFile","ranges":[{"startOffset":1151,"endOffset":1296,"count":1},{"startOffset":1209,"endOffset":1273,"count":0}],"isBlockCoverage":true},{"functionName":"findRepoRoot","ranges":[{"startOffset":1359,"endOffset":1722,"count":1},{"startOffset":1666,"endOffset":1721,"count":0}],"isBlockCoverage":true},{"functionName":"checkJsonFile","ranges":[{"startOffset":1724,"endOffset":1969,"count":1},{"startOffset":1861,"endOffset":1880,"count":0},{"startOffset":1948,"endOffset":1967,"count":0}],"isBlockCoverage":true},{"functionName":"loadConfig","ranges":[{"startOffset":1978,"endOffset":5440,"count":1},{"startOffset":2261,"endOffset":2274,"count":0},{"startOffset":2657,"endOffset":3102,"count":0},{"startOffset":3603,"endOffset":3646,"count":0},{"startOffset":3960,"endOffset":4121,"count":0},{"startOffset":4155,"endOffset":4913,"count":0},{"startOffset":5113,"endOffset":5206,"count":0},{"startOffset":5253,"endOffset":5401,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3795,"endOffset":3820,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4055,"endOffset":4101,"count":0}],"isBlockCoverage":false}]},{"scriptId":"149","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/module-types.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1756,"count":1}],"isBlockCoverage":true},{"functionName":"requireTrueValue","ranges":[{"startOffset":25,"endOffset":167,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":188,"endOffset":650,"count":0}],"isBlockCoverage":false},{"functionName":"deriveFromObject","ranges":[{"startOffset":678,"endOffset":915,"count":0}],"isBlockCoverage":false},{"functionName":"deriveFromArray","ranges":[{"startOffset":942,"endOffset":1363,"count":0}],"isBlockCoverage":false},{"functionName":"moduleTypes","ranges":[{"startOffset":1381,"endOffset":1755,"count":1},{"startOffset":1570,"endOffset":1754,"count":0}],"isBlockCoverage":true}]},{"scriptId":"150","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/node-arguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":446,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeNodeArguments","ranges":[{"startOffset":80,"endOffset":445,"count":1},{"startOffset":188,"endOffset":383,"count":0}],"isBlockCoverage":true}]},{"scriptId":"151","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/provider-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":455,"endOffset":1345,"count":1},{"startOffset":1293,"endOffset":1312,"count":0}],"isBlockCoverage":true},{"functionName":"negotiateProtocol","ranges":[{"startOffset":665,"endOffset":1273,"count":1},{"startOffset":840,"endOffset":978,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":748,"endOffset":803,"count":2}],"isBlockCoverage":true},{"functionName":"findFiles","ranges":[{"startOffset":1047,"endOffset":1178,"count":0}],"isBlockCoverage":false},{"functionName":"typescript","ranges":[{"startOffset":1383,"endOffset":1462,"count":1}],"isBlockCoverage":true}]},{"scriptId":"152","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/reporters/default.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21812,"count":1}],"isBlockCoverage":true},{"functionName":"LineWriter","ranges":[{"startOffset":739,"endOffset":862,"count":1},{"startOffset":821,"endOffset":826,"count":0}],"isBlockCoverage":true},{"functionName":"_write","ranges":[{"startOffset":865,"endOffset":936,"count":74}],"isBlockCoverage":true},{"functionName":"writeLine","ranges":[{"startOffset":939,"endOffset":1129,"count":74},{"startOffset":973,"endOffset":1060,"count":72},{"startOffset":1060,"endOffset":1126,"count":2}],"isBlockCoverage":true},{"functionName":"ensureEmptyLine","ranges":[{"startOffset":1132,"endOffset":1210,"count":0}],"isBlockCoverage":false},{"functionName":"manageCorking","ranges":[{"startOffset":1214,"endOffset":1434,"count":1}],"isBlockCoverage":true},{"functionName":"decorateWriter","ranges":[{"startOffset":1259,"endOffset":1427,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1290,"endOffset":1422,"count":583}],"isBlockCoverage":true},{"functionName":"Reporter","ranges":[{"startOffset":1469,"endOffset":2164,"count":1}],"isBlockCoverage":true},{"functionName":"Reporter.relativeFile","ranges":[{"startOffset":1727,"endOffset":1858,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":2167,"endOffset":2871,"count":2},{"startOffset":2212,"endOffset":2251,"count":0}],"isBlockCoverage":true},{"functionName":"prefixTitle","ranges":[{"startOffset":2274,"endOffset":2300,"count":0}],"isBlockCoverage":false},{"functionName":"startRun","ranges":[{"startOffset":2874,"endOffset":3654,"count":1},{"startOffset":2924,"endOffset":2940,"count":0},{"startOffset":3498,"endOffset":3519,"count":0},{"startOffset":3521,"endOffset":3619,"count":0}],"isBlockCoverage":true},{"functionName":"prefixTitle","ranges":[{"startOffset":3273,"endOffset":3360,"count":69}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3429,"endOffset":3474,"count":582}],"isBlockCoverage":true},{"functionName":"consumeStateChange","ranges":[{"startOffset":3657,"endOffset":10390,"count":582},{"startOffset":3750,"endOffset":3767,"count":580},{"startOffset":3768,"endOffset":3807,"count":302},{"startOffset":3808,"endOffset":3814,"count":280},{"startOffset":3880,"endOffset":3982,"count":0},{"startOffset":3987,"endOffset":4048,"count":279},{"startOffset":4053,"endOffset":4155,"count":0},{"startOffset":4160,"endOffset":4305,"count":65},{"startOffset":4210,"endOffset":4254,"count":0},{"startOffset":4310,"endOffset":4510,"count":0},{"startOffset":4515,"endOffset":4709,"count":0},{"startOffset":4714,"endOffset":5218,"count":0},{"startOffset":5223,"endOffset":5586,"count":0},{"startOffset":5591,"endOffset":5854,"count":0},{"startOffset":5859,"endOffset":6158,"count":0},{"startOffset":6163,"endOffset":6356,"count":2},{"startOffset":6218,"endOffset":6339,"count":0},{"startOffset":6361,"endOffset":6670,"count":69},{"startOffset":6405,"endOffset":6518,"count":0},{"startOffset":6540,"endOffset":6653,"count":4},{"startOffset":6675,"endOffset":6949,"count":0},{"startOffset":6954,"endOffset":7246,"count":0},{"startOffset":7251,"endOffset":7546,"count":0},{"startOffset":7551,"endOffset":8338,"count":0},{"startOffset":8343,"endOffset":9237,"count":11},{"startOffset":8494,"endOffset":8668,"count":0},{"startOffset":8703,"endOffset":8735,"count":0},{"startOffset":8737,"endOffset":8954,"count":0},{"startOffset":9019,"endOffset":9214,"count":0},{"startOffset":9242,"endOffset":9816,"count":0},{"startOffset":9821,"endOffset":10383,"count":0}],"isBlockCoverage":true},{"functionName":"writePendingTests","ranges":[{"startOffset":10393,"endOffset":10939,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":10942,"endOffset":10997,"count":65}],"isBlockCoverage":true},{"functionName":"writeWithCounts","ranges":[{"startOffset":11000,"endOffset":12313,"count":0}],"isBlockCoverage":false},{"functionName":"writeErr","ranges":[{"startOffset":12316,"endOffset":13798,"count":0}],"isBlockCoverage":false},{"functionName":"formatErrorStack","ranges":[{"startOffset":13801,"endOffset":14201,"count":0}],"isBlockCoverage":false},{"functionName":"writeLogs","ranges":[{"startOffset":14204,"endOffset":14709,"count":65},{"startOffset":14281,"endOffset":14689,"count":0}],"isBlockCoverage":true},{"functionName":"writeTestSummary","ranges":[{"startOffset":14712,"endOffset":15901,"count":65},{"startOffset":15292,"endOffset":15480,"count":0},{"startOffset":15510,"endOffset":15576,"count":0},{"startOffset":15671,"endOffset":15740,"count":0},{"startOffset":15850,"endOffset":15864,"count":0}],"isBlockCoverage":true},{"functionName":"writeFailure","ranges":[{"startOffset":15904,"endOffset":16128,"count":0}],"isBlockCoverage":false},{"functionName":"endRun","ranges":[{"startOffset":16131,"endOffset":21809,"count":1},{"startOffset":16214,"endOffset":16300,"count":0},{"startOffset":16337,"endOffset":16455,"count":0},{"startOffset":16524,"endOffset":17116,"count":0},{"startOffset":17169,"endOffset":17837,"count":0},{"startOffset":17859,"endOffset":17892,"count":0},{"startOffset":17894,"endOffset":18058,"count":0},{"startOffset":18179,"endOffset":18519,"count":0},{"startOffset":18548,"endOffset":18631,"count":0},{"startOffset":18633,"endOffset":19405,"count":0},{"startOffset":19438,"endOffset":19760,"count":0},{"startOffset":19796,"endOffset":19966,"count":0},{"startOffset":20002,"endOffset":20172,"count":0},{"startOffset":20507,"endOffset":20658,"count":0},{"startOffset":20695,"endOffset":20822,"count":0},{"startOffset":21018,"endOffset":21167,"count":0},{"startOffset":21210,"endOffset":21356,"count":0},{"startOffset":21394,"endOffset":21549,"count":0},{"startOffset":21584,"endOffset":21746,"count":0},{"startOffset":21769,"endOffset":21806,"count":0}],"isBlockCoverage":true}]},{"scriptId":"153","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/reporters/tap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6719,"count":1}],"isBlockCoverage":true},{"functionName":"dumpError","ranges":[{"startOffset":294,"endOffset":1056,"count":0}],"isBlockCoverage":false},{"functionName":"TapReporter","ranges":[{"startOffset":1094,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"startRun","ranges":[{"startOffset":1471,"endOffset":1762,"count":0}],"isBlockCoverage":false},{"functionName":"endRun","ranges":[{"startOffset":1765,"endOffset":2570,"count":0}],"isBlockCoverage":false},{"functionName":"writeTest","ranges":[{"startOffset":2573,"endOffset":2856,"count":0}],"isBlockCoverage":false},{"functionName":"writeCrash","ranges":[{"startOffset":2859,"endOffset":3142,"count":0}],"isBlockCoverage":false},{"functionName":"writeComment","ranges":[{"startOffset":3145,"endOffset":3464,"count":0}],"isBlockCoverage":false},{"functionName":"writeProcessExit","ranges":[{"startOffset":3467,"endOffset":3818,"count":0}],"isBlockCoverage":false},{"functionName":"writeTimeout","ranges":[{"startOffset":3821,"endOffset":4147,"count":0}],"isBlockCoverage":false},{"functionName":"consumeStateChange","ranges":[{"startOffset":4150,"endOffset":6716,"count":0}],"isBlockCoverage":false}]},{"scriptId":"154","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/watcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11839,"count":1}],"isBlockCoverage":true},{"functionName":"_testOnlyReplaceChokidar","ranges":[{"startOffset":256,"endOffset":331,"count":0}],"isBlockCoverage":false},{"functionName":"_testOnlyReplaceDebug","ranges":[{"startOffset":380,"endOffset":464,"count":0}],"isBlockCoverage":false},{"functionName":"rethrowAsync","ranges":[{"startOffset":466,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"Debouncer","ranges":[{"startOffset":847,"endOffset":942,"count":0}],"isBlockCoverage":false},{"functionName":"debounce","ranges":[{"startOffset":945,"endOffset":1551,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":1554,"endOffset":1665,"count":0}],"isBlockCoverage":false},{"functionName":"TestDependency","ranges":[{"startOffset":1693,"endOffset":1785,"count":0}],"isBlockCoverage":false},{"functionName":"contains","ranges":[{"startOffset":1788,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"Watcher","ranges":[{"startOffset":1898,"endOffset":4593,"count":0}],"isBlockCoverage":false},{"functionName":"watchFiles","ranges":[{"startOffset":4596,"endOffset":4999,"count":0}],"isBlockCoverage":false},{"functionName":"trackTestDependencies","ranges":[{"startOffset":5002,"endOffset":5404,"count":0}],"isBlockCoverage":false},{"functionName":"updateTestDependencies","ranges":[{"startOffset":5407,"endOffset":6171,"count":0}],"isBlockCoverage":false},{"functionName":"trackTouchedFiles","ranges":[{"startOffset":6174,"endOffset":6525,"count":0}],"isBlockCoverage":false},{"functionName":"trackExclusivity","ranges":[{"startOffset":6528,"endOffset":6936,"count":0}],"isBlockCoverage":false},{"functionName":"updateExclusivity","ranges":[{"startOffset":6939,"endOffset":7239,"count":0}],"isBlockCoverage":false},{"functionName":"trackFailures","ranges":[{"startOffset":7242,"endOffset":7807,"count":0}],"isBlockCoverage":false},{"functionName":"pruneFailures","ranges":[{"startOffset":7810,"endOffset":7962,"count":0}],"isBlockCoverage":false},{"functionName":"countFailure","ranges":[{"startOffset":7965,"endOffset":8248,"count":0}],"isBlockCoverage":false},{"functionName":"sumPreviousFailures","ranges":[{"startOffset":8251,"endOffset":8445,"count":0}],"isBlockCoverage":false},{"functionName":"cleanUnlinkedTests","ranges":[{"startOffset":8448,"endOffset":8657,"count":0}],"isBlockCoverage":false},{"functionName":"observeStdin","ranges":[{"startOffset":8660,"endOffset":9302,"count":0}],"isBlockCoverage":false},{"functionName":"rerunAll","ranges":[{"startOffset":9305,"endOffset":9359,"count":0}],"isBlockCoverage":false},{"functionName":"updatePreviousSnapshots","ranges":[{"startOffset":9362,"endOffset":9455,"count":0}],"isBlockCoverage":false},{"functionName":"runAfterChanges","ranges":[{"startOffset":9458,"endOffset":11836,"count":0}],"isBlockCoverage":false}]},{"scriptId":"155","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17,"count":1}],"isBlockCoverage":true}]},{"scriptId":"156","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12,"count":1}],"isBlockCoverage":true}]},{"scriptId":"157","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10,"count":1}],"isBlockCoverage":true}]},{"scriptId":"158","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17,"count":1}],"isBlockCoverage":true}]},{"scriptId":"159","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11,"count":1}],"isBlockCoverage":true}]},{"scriptId":"160","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10,"count":1}],"isBlockCoverage":true}]},{"scriptId":"161","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":465,"count":1}],"isBlockCoverage":true},{"functionName":"escapeStringRegexp","ranges":[{"startOffset":15,"endOffset":464,"count":3},{"startOffset":86,"endOffset":134,"count":0}],"isBlockCoverage":true}]},{"scriptId":"162","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-unicode-supported/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":651,"count":1}],"isBlockCoverage":true},{"functionName":"isUnicodeSupported","ranges":[{"startOffset":52,"endOffset":650,"count":1},{"startOffset":188,"endOffset":258,"count":0},{"startOffset":281,"endOffset":321,"count":0},{"startOffset":346,"endOffset":390,"count":0},{"startOffset":413,"endOffset":463,"count":0},{"startOffset":466,"endOffset":506,"count":0},{"startOffset":509,"endOffset":549,"count":0},{"startOffset":552,"endOffset":587,"count":0},{"startOffset":590,"endOffset":647,"count":0}],"isBlockCoverage":true}]},{"scriptId":"163","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/lib/platform-shims/esm.mjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1876,"count":1},{"startOffset":706,"endOffset":748,"count":0},{"startOffset":1124,"endOffset":1140,"count":0},{"startOffset":1551,"endOffset":1557,"count":0}],"isBlockCoverage":true},{"functionName":"getEnv","ranges":[{"startOffset":943,"endOffset":985,"count":12}],"isBlockCoverage":true},{"functionName":"getCallerFile","ranges":[{"startOffset":1015,"endOffset":1072,"count":0}],"isBlockCoverage":false},{"functionName":"argv","ranges":[{"startOffset":1256,"endOffset":1274,"count":4}],"isBlockCoverage":true},{"functionName":"emitWarning","ranges":[{"startOffset":1315,"endOffset":1368,"count":0}],"isBlockCoverage":false},{"functionName":"execPath","ranges":[{"startOffset":1384,"endOffset":1406,"count":0}],"isBlockCoverage":false},{"functionName":"require","ranges":[{"startOffset":1590,"endOffset":1637,"count":0}],"isBlockCoverage":false},{"functionName":"requireDirectory","ranges":[{"startOffset":1659,"endOffset":1716,"count":0}],"isBlockCoverage":false},{"functionName":"stringWidth","ranges":[{"startOffset":1733,"endOffset":1774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"164","url":"node:assert","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31879,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadComparison","ranges":[{"startOffset":2704,"endOffset":2888,"count":0}],"isBlockCoverage":false},{"functionName":"escapeFn","ranges":[{"startOffset":3469,"endOffset":3517,"count":0}],"isBlockCoverage":false},{"functionName":"innerFail","ranges":[{"startOffset":4071,"endOffset":4187,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":4348,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"findColumn","ranges":[{"startOffset":5445,"endOffset":6385,"count":0}],"isBlockCoverage":false},{"functionName":"getCode","ranges":[{"startOffset":6387,"endOffset":8032,"count":0}],"isBlockCoverage":false},{"functionName":"parseCode","ranges":[{"startOffset":8034,"endOffset":9451,"count":0}],"isBlockCoverage":false},{"functionName":"getErrMessage","ranges":[{"startOffset":9453,"endOffset":12547,"count":0}],"isBlockCoverage":false},{"functionName":"innerOk","ranges":[{"startOffset":12549,"endOffset":13157,"count":0}],"isBlockCoverage":false},{"functionName":"ok","ranges":[{"startOffset":13290,"endOffset":13351,"count":0}],"isBlockCoverage":false},{"functionName":"equal","ranges":[{"startOffset":13610,"endOffset":13982,"count":0}],"isBlockCoverage":false},{"functionName":"notEqual","ranges":[{"startOffset":14201,"endOffset":14577,"count":0}],"isBlockCoverage":false},{"functionName":"deepEqual","ranges":[{"startOffset":14777,"endOffset":15142,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepEqual","ranges":[{"startOffset":15348,"endOffset":15721,"count":0}],"isBlockCoverage":false},{"functionName":"deepStrictEqual","ranges":[{"startOffset":15964,"endOffset":16353,"count":0}],"isBlockCoverage":false},{"functionName":"notDeepStrictEqual","ranges":[{"startOffset":16602,"endOffset":16999,"count":0}],"isBlockCoverage":false},{"functionName":"strictEqual","ranges":[{"startOffset":17204,"endOffset":17517,"count":0}],"isBlockCoverage":false},{"functionName":"notStrictEqual","ranges":[{"startOffset":17729,"endOffset":18050,"count":8},{"startOffset":17810,"endOffset":17869,"count":0},{"startOffset":17904,"endOffset":18048,"count":0}],"isBlockCoverage":true},{"functionName":"Comparison","ranges":[{"startOffset":18074,"endOffset":18456,"count":0}],"isBlockCoverage":false},{"functionName":"compareExceptionKey","ranges":[{"startOffset":18460,"endOffset":19179,"count":0}],"isBlockCoverage":false},{"functionName":"expectedException","ranges":[{"startOffset":19181,"endOffset":22585,"count":0}],"isBlockCoverage":false},{"functionName":"getActual","ranges":[{"startOffset":22587,"endOffset":22727,"count":0}],"isBlockCoverage":false},{"functionName":"checkIsPromise","ranges":[{"startOffset":22729,"endOffset":23093,"count":0}],"isBlockCoverage":false},{"functionName":"waitForActual","ranges":[{"startOffset":23095,"endOffset":23809,"count":0}],"isBlockCoverage":false},{"functionName":"expectsError","ranges":[{"startOffset":23811,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"hasMatchingError","ranges":[{"startOffset":25430,"endOffset":26048,"count":0}],"isBlockCoverage":false},{"functionName":"expectsNoError","ranges":[{"startOffset":26050,"endOffset":26701,"count":0}],"isBlockCoverage":false},{"functionName":"throws","ranges":[{"startOffset":26859,"endOffset":26953,"count":0}],"isBlockCoverage":false},{"functionName":"rejects","ranges":[{"startOffset":27132,"endOffset":27244,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotThrow","ranges":[{"startOffset":27406,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotReject","ranges":[{"startOffset":27666,"endOffset":27778,"count":0}],"isBlockCoverage":false},{"functionName":"ifError","ranges":[{"startOffset":27906,"endOffset":29695,"count":0}],"isBlockCoverage":false},{"functionName":"internalMatch","ranges":[{"startOffset":29698,"endOffset":30781,"count":0}],"isBlockCoverage":false},{"functionName":"match","ranges":[{"startOffset":30977,"endOffset":31069,"count":0}],"isBlockCoverage":false},{"functionName":"doesNotMatch","ranges":[{"startOffset":31277,"endOffset":31383,"count":0}],"isBlockCoverage":false},{"functionName":"strict","ranges":[{"startOffset":31574,"endOffset":31643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"165","url":"node:internal/assert/assertion_error","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":17104,"count":1}],"isBlockCoverage":false},{"functionName":"copyError","ranges":[{"startOffset":1449,"endOffset":1743,"count":0}],"isBlockCoverage":false},{"functionName":"inspectValue","ranges":[{"startOffset":1745,"endOffset":2353,"count":0}],"isBlockCoverage":false},{"functionName":"createErrDiff","ranges":[{"startOffset":2355,"endOffset":11091,"count":0}],"isBlockCoverage":false},{"functionName":"addEllipsis","ranges":[{"startOffset":11093,"endOffset":11396,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":11437,"endOffset":16133,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16137,"endOffset":16212,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16216,"endOffset":17067,"count":0}],"isBlockCoverage":false}]},{"scriptId":"166","url":"node:internal/util/colors","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1122,"count":1}],"isBlockCoverage":false},{"functionName":"lazyInternalTTY","ranges":[{"startOffset":32,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"shouldColorize","ranges":[{"startOffset":244,"endOffset":504,"count":1},{"startOffset":316,"endOffset":375,"count":0},{"startOffset":492,"endOffset":498,"count":0}],"isBlockCoverage":true},{"functionName":"refresh","ranges":[{"startOffset":508,"endOffset":1090,"count":1},{"startOffset":676,"endOffset":680,"count":0},{"startOffset":736,"endOffset":740,"count":0},{"startOffset":796,"endOffset":800,"count":0},{"startOffset":857,"endOffset":861,"count":0},{"startOffset":915,"endOffset":919,"count":0},{"startOffset":974,"endOffset":978,"count":0},{"startOffset":1031,"endOffset":1035,"count":0}],"isBlockCoverage":true}]},{"scriptId":"167","url":"node:internal/assert/calltracker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3452,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":462,"endOffset":1495,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1497,"endOffset":3420,"count":0}],"isBlockCoverage":false}]},{"scriptId":"168","url":"node:internal/util/parse_args/parse_args","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12919,"count":1}],"isBlockCoverage":false},{"functionName":"getMainArgs","ranges":[{"startOffset":1135,"endOffset":1729,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionLikeValue","ranges":[{"startOffset":1874,"endOffset":2478,"count":0}],"isBlockCoverage":false},{"functionName":"checkOptionUsage","ranges":[{"startOffset":2658,"endOffset":3449,"count":0}],"isBlockCoverage":false},{"functionName":"storeOption","ranges":[{"startOffset":3772,"endOffset":4596,"count":0}],"isBlockCoverage":false},{"functionName":"storeDefaultOption","ranges":[{"startOffset":4921,"endOffset":5090,"count":0}],"isBlockCoverage":false},{"functionName":"argsToTokens","ranges":[{"startOffset":5365,"endOffset":9345,"count":0}],"isBlockCoverage":false},{"functionName":"parseArgs","ranges":[{"startOffset":9365,"endOffset":12881,"count":0}],"isBlockCoverage":false}]},{"scriptId":"169","url":"node:internal/util/parse_args/utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6225,"count":1}],"isBlockCoverage":false},{"functionName":"objectGetOwn","ranges":[{"startOffset":693,"endOffset":782,"count":0}],"isBlockCoverage":false},{"functionName":"optionsGetOwn","ranges":[{"startOffset":865,"endOffset":1011,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionValue","ranges":[{"startOffset":1277,"endOffset":1502,"count":0}],"isBlockCoverage":false},{"functionName":"isOptionLikeValue","ranges":[{"startOffset":1719,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneShortOption","ranges":[{"startOffset":1936,"endOffset":2088,"count":0}],"isBlockCoverage":false},{"functionName":"isLoneLongOption","ranges":[{"startOffset":2336,"endOffset":2484,"count":0}],"isBlockCoverage":false},{"functionName":"isLongOptionAndValue","ranges":[{"startOffset":2681,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionGroup","ranges":[{"startOffset":3724,"endOffset":4109,"count":0}],"isBlockCoverage":false},{"functionName":"isShortOptionAndValue","ranges":[{"startOffset":4418,"endOffset":4847,"count":0}],"isBlockCoverage":false},{"functionName":"findLongOptionForShort","ranges":[{"startOffset":5170,"endOffset":5472,"count":0}],"isBlockCoverage":false},{"functionName":"useDefaultValueOption","ranges":[{"startOffset":5797,"endOffset":5967,"count":0}],"isBlockCoverage":false}]},{"scriptId":"170","url":"node:internal/mime","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10569,"count":1}],"isBlockCoverage":false},{"functionName":"toASCIILower","ranges":[{"startOffset":587,"endOffset":820,"count":0}],"isBlockCoverage":false},{"functionName":"parseTypeAndSubtype","ranges":[{"startOffset":866,"endOffset":2524,"count":0}],"isBlockCoverage":false},{"functionName":"removeBackslashes","ranges":[{"startOffset":2641,"endOffset":3056,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuoteOrSolidus","ranges":[{"startOffset":3059,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":3288,"endOffset":3527,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3530,"endOffset":8526,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":8986,"endOffset":10365,"count":0}],"isBlockCoverage":false}]},{"scriptId":"171","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/build/lib/yargs-factory.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":77635,"count":1},{"startOffset":35,"endOffset":65,"count":0},{"startOffset":622,"endOffset":652,"count":0}],"isBlockCoverage":true},{"functionName":"__classPrivateFieldSet","ranges":[{"startOffset":70,"endOffset":585,"count":95},{"startOffset":137,"endOffset":191,"count":0},{"startOffset":213,"endOffset":218,"count":0},{"startOffset":220,"endOffset":289,"count":0},{"startOffset":326,"endOffset":352,"count":0},{"startOffset":377,"endOffset":472,"count":0},{"startOffset":498,"endOffset":523,"count":0},{"startOffset":528,"endOffset":545,"count":0}],"isBlockCoverage":true},{"functionName":"__classPrivateFieldGet","ranges":[{"startOffset":657,"endOffset":1077,"count":651},{"startOffset":716,"endOffset":721,"count":0},{"startOffset":723,"endOffset":792,"count":0},{"startOffset":829,"endOffset":855,"count":0},{"startOffset":880,"endOffset":976,"count":0},{"startOffset":1001,"endOffset":1004,"count":0},{"startOffset":1020,"endOffset":1038,"count":0},{"startOffset":1043,"endOffset":1052,"count":0}],"isBlockCoverage":true},{"functionName":"YargsFactory","ranges":[{"startOffset":2778,"endOffset":3211,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2820,"endOffset":3208,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":3031,"endOffset":3090,"count":2}],"isBlockCoverage":true},{"functionName":"YargsInstance","ranges":[{"startOffset":5190,"endOffset":8387,"count":2}],"isBlockCoverage":true},{"functionName":"addHelpOpt","ranges":[{"startOffset":8392,"endOffset":9266,"count":4},{"startOffset":8601,"endOffset":8795,"count":2},{"startOffset":8822,"endOffset":8842,"count":1},{"startOffset":8856,"endOffset":8868,"count":1},{"startOffset":8868,"endOffset":8954,"count":3},{"startOffset":8954,"endOffset":8959,"count":0},{"startOffset":8960,"endOffset":8976,"count":3},{"startOffset":9150,"endOffset":9237,"count":3}],"isBlockCoverage":true},{"functionName":"help","ranges":[{"startOffset":9271,"endOffset":9335,"count":4}],"isBlockCoverage":true},{"functionName":"addShowHiddenOpt","ranges":[{"startOffset":9340,"endOffset":9953,"count":0}],"isBlockCoverage":false},{"functionName":"showHidden","ranges":[{"startOffset":9958,"endOffset":10034,"count":0}],"isBlockCoverage":false},{"functionName":"alias","ranges":[{"startOffset":10039,"endOffset":10268,"count":8}],"isBlockCoverage":true},{"functionName":"array","ranges":[{"startOffset":10273,"endOffset":10472,"count":0}],"isBlockCoverage":false},{"functionName":"boolean","ranges":[{"startOffset":10477,"endOffset":10680,"count":19}],"isBlockCoverage":true},{"functionName":"check","ranges":[{"startOffset":10685,"endOffset":11673,"count":0}],"isBlockCoverage":false},{"functionName":"choices","ranges":[{"startOffset":11678,"endOffset":11913,"count":0}],"isBlockCoverage":false},{"functionName":"coerce","ranges":[{"startOffset":11918,"endOffset":13683,"count":10},{"startOffset":12059,"endOffset":12298,"count":0},{"startOffset":12342,"endOffset":12488,"count":0},{"startOffset":12509,"endOffset":12586,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12766,"endOffset":13648,"count":10},{"startOffset":12968,"endOffset":13647,"count":0}],"isBlockCoverage":true},{"functionName":"argv.","ranges":[{"startOffset":13005,"endOffset":13114,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13116,"endOffset":13563,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13565,"endOffset":13636,"count":0}],"isBlockCoverage":false},{"functionName":"conflicts","ranges":[{"startOffset":13688,"endOffset":13913,"count":0}],"isBlockCoverage":false},{"functionName":"config","ranges":[{"startOffset":13918,"endOffset":14986,"count":0}],"isBlockCoverage":false},{"functionName":"completion","ranges":[{"startOffset":14991,"endOffset":15726,"count":0}],"isBlockCoverage":false},{"functionName":"command","ranges":[{"startOffset":15731,"endOffset":16161,"count":3}],"isBlockCoverage":true},{"functionName":"commands","ranges":[{"startOffset":16166,"endOffset":16333,"count":0}],"isBlockCoverage":false},{"functionName":"commandDir","ranges":[{"startOffset":16338,"endOffset":16776,"count":0}],"isBlockCoverage":false},{"functionName":"count","ranges":[{"startOffset":16781,"endOffset":16980,"count":0}],"isBlockCoverage":false},{"functionName":"default","ranges":[{"startOffset":16985,"endOffset":17995,"count":0}],"isBlockCoverage":false},{"functionName":"defaults","ranges":[{"startOffset":18000,"endOffset":18109,"count":0}],"isBlockCoverage":false},{"functionName":"demandCommand","ranges":[{"startOffset":18114,"endOffset":18635,"count":0}],"isBlockCoverage":false},{"functionName":"demand","ranges":[{"startOffset":18640,"endOffset":19771,"count":0}],"isBlockCoverage":false},{"functionName":"demandOption","ranges":[{"startOffset":19776,"endOffset":20026,"count":0}],"isBlockCoverage":false},{"functionName":"deprecateOption","ranges":[{"startOffset":20031,"endOffset":20278,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":20283,"endOffset":20557,"count":20}],"isBlockCoverage":true},{"functionName":"detectLocale","ranges":[{"startOffset":20562,"endOffset":20749,"count":0}],"isBlockCoverage":false},{"functionName":"env","ranges":[{"startOffset":20754,"endOffset":21086,"count":0}],"isBlockCoverage":false},{"functionName":"epilogue","ranges":[{"startOffset":21091,"endOffset":21264,"count":0}],"isBlockCoverage":false},{"functionName":"epilog","ranges":[{"startOffset":21269,"endOffset":21323,"count":0}],"isBlockCoverage":false},{"functionName":"example","ranges":[{"startOffset":21328,"endOffset":21702,"count":3},{"startOffset":21470,"endOffset":21555,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":21496,"endOffset":21543,"count":0}],"isBlockCoverage":false},{"functionName":"exit","ranges":[{"startOffset":21707,"endOffset":22041,"count":0}],"isBlockCoverage":false},{"functionName":"exitProcess","ranges":[{"startOffset":22046,"endOffset":22241,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":22246,"endOffset":22576,"count":0}],"isBlockCoverage":false},{"functionName":"getAliases","ranges":[{"startOffset":22581,"endOffset":22656,"count":10},{"startOffset":22623,"endOffset":22644,"count":0}],"isBlockCoverage":true},{"functionName":"getCompletion","ranges":[{"startOffset":22661,"endOffset":23282,"count":0}],"isBlockCoverage":false},{"functionName":"getDemandedOptions","ranges":[{"startOffset":23287,"endOffset":23429,"count":2}],"isBlockCoverage":true},{"functionName":"getDemandedCommands","ranges":[{"startOffset":23434,"endOffset":23578,"count":2}],"isBlockCoverage":true},{"functionName":"getDeprecatedOptions","ranges":[{"startOffset":23583,"endOffset":23729,"count":0}],"isBlockCoverage":false},{"functionName":"getDetectLocale","ranges":[{"startOffset":23734,"endOffset":23838,"count":0}],"isBlockCoverage":false},{"functionName":"getExitProcess","ranges":[{"startOffset":23843,"endOffset":23945,"count":0}],"isBlockCoverage":false},{"functionName":"getGroups","ranges":[{"startOffset":23950,"endOffset":24128,"count":0}],"isBlockCoverage":false},{"functionName":"getHelp","ranges":[{"startOffset":24133,"endOffset":25204,"count":0}],"isBlockCoverage":false},{"functionName":"getOptions","ranges":[{"startOffset":25209,"endOffset":25303,"count":4}],"isBlockCoverage":true},{"functionName":"getStrict","ranges":[{"startOffset":25308,"endOffset":25400,"count":0}],"isBlockCoverage":false},{"functionName":"getStrictCommands","ranges":[{"startOffset":25405,"endOffset":25513,"count":0}],"isBlockCoverage":false},{"functionName":"getStrictOptions","ranges":[{"startOffset":25518,"endOffset":25624,"count":0}],"isBlockCoverage":false},{"functionName":"global","ranges":[{"startOffset":25629,"endOffset":26292,"count":0}],"isBlockCoverage":false},{"functionName":"group","ranges":[{"startOffset":26297,"endOffset":27059,"count":1},{"startOffset":26667,"endOffset":26775,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":26916,"endOffset":27030,"count":1},{"startOffset":26968,"endOffset":26981,"count":0}],"isBlockCoverage":true},{"functionName":"hide","ranges":[{"startOffset":27064,"endOffset":27247,"count":0}],"isBlockCoverage":false},{"functionName":"implies","ranges":[{"startOffset":27252,"endOffset":27480,"count":0}],"isBlockCoverage":false},{"functionName":"locale","ranges":[{"startOffset":27485,"endOffset":27923,"count":2},{"startOffset":27593,"endOffset":27730,"count":0}],"isBlockCoverage":true},{"functionName":"middleware","ranges":[{"startOffset":27928,"endOffset":28127,"count":0}],"isBlockCoverage":false},{"functionName":"nargs","ranges":[{"startOffset":28132,"endOffset":28360,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":28365,"endOffset":28529,"count":0}],"isBlockCoverage":false},{"functionName":"number","ranges":[{"startOffset":28534,"endOffset":28735,"count":2}],"isBlockCoverage":true},{"functionName":"option","ranges":[{"startOffset":28740,"endOffset":33070,"count":16},{"startOffset":28871,"endOffset":28983,"count":2},{"startOffset":28983,"endOffset":33043,"count":14},{"startOffset":29040,"endOffset":29081,"count":0},{"startOffset":29262,"endOffset":29270,"count":0},{"startOffset":29300,"endOffset":29834,"count":0},{"startOffset":29965,"endOffset":29992,"count":8},{"startOffset":30083,"endOffset":30152,"count":0},{"startOffset":30247,"endOffset":30304,"count":0},{"startOffset":30339,"endOffset":30463,"count":0},{"startOffset":30495,"endOffset":30562,"count":0},{"startOffset":30597,"endOffset":30660,"count":0},{"startOffset":30704,"endOffset":30767,"count":0},{"startOffset":30809,"endOffset":30868,"count":0},{"startOffset":30897,"endOffset":30964,"count":0},{"startOffset":30996,"endOffset":31048,"count":0},{"startOffset":31078,"endOffset":31141,"count":0},{"startOffset":31170,"endOffset":31231,"count":10},{"startOffset":31259,"endOffset":31318,"count":0},{"startOffset":31374,"endOffset":31500,"count":8},{"startOffset":31462,"endOffset":31486,"count":5},{"startOffset":31552,"endOffset":31674,"count":0},{"startOffset":31728,"endOffset":31852,"count":1},{"startOffset":31906,"endOffset":32030,"count":4},{"startOffset":31993,"endOffset":32016,"count":2},{"startOffset":32082,"endOffset":32130,"count":0},{"startOffset":32180,"endOffset":32241,"count":0},{"startOffset":32282,"endOffset":32421,"count":0},{"startOffset":32458,"endOffset":32515,"count":0},{"startOffset":32554,"endOffset":32572,"count":13},{"startOffset":32573,"endOffset":32584,"count":0},{"startOffset":32767,"endOffset":32810,"count":0},{"startOffset":32898,"endOffset":32945,"count":0},{"startOffset":32979,"endOffset":33033,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":28910,"endOffset":28971,"count":13}],"isBlockCoverage":true},{"functionName":"options","ranges":[{"startOffset":33075,"endOffset":33138,"count":15}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":33143,"endOffset":35612,"count":2},{"startOffset":33509,"endOffset":33647,"count":0},{"startOffset":33696,"endOffset":33826,"count":0},{"startOffset":34018,"endOffset":34087,"count":0},{"startOffset":34337,"endOffset":35202,"count":0},{"startOffset":35309,"endOffset":35505,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":34387,"endOffset":34733,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":34758,"endOffset":35066,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":35093,"endOffset":35190,"count":0}],"isBlockCoverage":false},{"functionName":"parseAsync","ranges":[{"startOffset":35617,"endOffset":35848,"count":0}],"isBlockCoverage":false},{"functionName":"parseSync","ranges":[{"startOffset":35853,"endOffset":36164,"count":0}],"isBlockCoverage":false},{"functionName":"parserConfiguration","ranges":[{"startOffset":36169,"endOffset":36362,"count":1}],"isBlockCoverage":true},{"functionName":"pkgConf","ranges":[{"startOffset":36367,"endOffset":37092,"count":0}],"isBlockCoverage":false},{"functionName":"positional","ranges":[{"startOffset":37097,"endOffset":38747,"count":1},{"startOffset":37965,"endOffset":38055,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37551,"endOffset":37726,"count":3},{"startOffset":37592,"endOffset":37639,"count":1},{"startOffset":37657,"endOffset":37670,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":38239,"endOffset":38593,"count":4},{"startOffset":38341,"endOffset":38446,"count":1},{"startOffset":38416,"endOffset":38432,"count":0},{"startOffset":38446,"endOffset":38583,"count":3},{"startOffset":38503,"endOffset":38519,"count":0},{"startOffset":38541,"endOffset":38569,"count":0}],"isBlockCoverage":true},{"functionName":"recommendCommands","ranges":[{"startOffset":38752,"endOffset":38965,"count":0}],"isBlockCoverage":false},{"functionName":"required","ranges":[{"startOffset":38970,"endOffset":39046,"count":0}],"isBlockCoverage":false},{"functionName":"require","ranges":[{"startOffset":39051,"endOffset":39126,"count":0}],"isBlockCoverage":false},{"functionName":"requiresArg","ranges":[{"startOffset":39131,"endOffset":39534,"count":0}],"isBlockCoverage":false},{"functionName":"showCompletionScript","ranges":[{"startOffset":39539,"endOffset":39945,"count":0}],"isBlockCoverage":false},{"functionName":"showHelp","ranges":[{"startOffset":39950,"endOffset":41150,"count":0}],"isBlockCoverage":false},{"functionName":"scriptName","ranges":[{"startOffset":41155,"endOffset":41274,"count":1}],"isBlockCoverage":true},{"functionName":"showHelpOnFail","ranges":[{"startOffset":41279,"endOffset":41522,"count":0}],"isBlockCoverage":false},{"functionName":"showVersion","ranges":[{"startOffset":41527,"endOffset":41723,"count":0}],"isBlockCoverage":false},{"functionName":"skipValidation","ranges":[{"startOffset":41728,"endOffset":41902,"count":0}],"isBlockCoverage":false},{"functionName":"strict","ranges":[{"startOffset":41907,"endOffset":42095,"count":0}],"isBlockCoverage":false},{"functionName":"strictCommands","ranges":[{"startOffset":42100,"endOffset":42304,"count":0}],"isBlockCoverage":false},{"functionName":"strictOptions","ranges":[{"startOffset":42309,"endOffset":42511,"count":0}],"isBlockCoverage":false},{"functionName":"string","ranges":[{"startOffset":42516,"endOffset":42717,"count":6}],"isBlockCoverage":true},{"functionName":"terminalWidth","ranges":[{"startOffset":42722,"endOffset":42859,"count":0}],"isBlockCoverage":false},{"functionName":"updateLocale","ranges":[{"startOffset":42864,"endOffset":42929,"count":0}],"isBlockCoverage":false},{"functionName":"updateStrings","ranges":[{"startOffset":42934,"endOffset":43201,"count":0}],"isBlockCoverage":false},{"functionName":"usage","ranges":[{"startOffset":43206,"endOffset":43968,"count":3},{"startOffset":43435,"endOffset":43832,"count":0}],"isBlockCoverage":true},{"functionName":"usageConfiguration","ranges":[{"startOffset":43973,"endOffset":44164,"count":0}],"isBlockCoverage":false},{"functionName":"version","ranges":[{"startOffset":44169,"endOffset":45641,"count":4},{"startOffset":44403,"endOffset":44691,"count":2},{"startOffset":44728,"endOffset":45111,"count":2},{"startOffset":44892,"endOffset":45006,"count":1},{"startOffset":45006,"endOffset":45111,"count":0},{"startOffset":45111,"endOffset":45205,"count":3},{"startOffset":45206,"endOffset":45225,"count":0},{"startOffset":45251,"endOffset":45348,"count":3},{"startOffset":45426,"endOffset":45438,"count":0}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":45646,"endOffset":45831,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":45836,"endOffset":47587,"count":1},{"startOffset":47433,"endOffset":47586,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":47592,"endOffset":48843,"count":2}],"isBlockCoverage":true},{"functionName":"log","ranges":[{"startOffset":47646,"endOffset":48224,"count":0}],"isBlockCoverage":false},{"functionName":"error","ranges":[{"startOffset":48245,"endOffset":48825,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":48848,"endOffset":49551,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":48977,"endOffset":49442,"count":88},{"startOffset":49069,"endOffset":49076,"count":4},{"startOffset":49076,"endOffset":49207,"count":84},{"startOffset":49207,"endOffset":49329,"count":36},{"startOffset":49275,"endOffset":49315,"count":4},{"startOffset":49329,"endOffset":49432,"count":48},{"startOffset":49377,"endOffset":49432,"count":40}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":49009,"endOffset":49041,"count":88}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":49556,"endOffset":49925,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":49930,"endOffset":51516,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":51521,"endOffset":52801,"count":2},{"startOffset":51830,"endOffset":51962,"count":0},{"startOffset":52484,"endOffset":52776,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":52003,"endOffset":52197,"count":2},{"startOffset":52183,"endOffset":52186,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":52806,"endOffset":52920,"count":11}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":52925,"endOffset":53037,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":53042,"endOffset":53599,"count":3},{"startOffset":53150,"endOffset":53157,"count":1},{"startOffset":53157,"endOffset":53344,"count":2},{"startOffset":53345,"endOffset":53429,"count":2},{"startOffset":53430,"endOffset":53518,"count":0},{"startOffset":53519,"endOffset":53541,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":53604,"endOffset":53706,"count":2},{"startOffset":53687,"endOffset":53699,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":53711,"endOffset":54132,"count":3},{"startOffset":53777,"endOffset":53789,"count":0},{"startOffset":53865,"endOffset":54105,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":54137,"endOffset":55496,"count":2},{"startOffset":54284,"endOffset":54353,"count":0},{"startOffset":54606,"endOffset":54727,"count":0},{"startOffset":55312,"endOffset":55329,"count":0},{"startOffset":55406,"endOffset":55411,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":54832,"endOffset":55057,"count":2},{"startOffset":54964,"endOffset":55043,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":55501,"endOffset":55751,"count":27}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":55595,"endOffset":55743,"count":27}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":55756,"endOffset":56030,"count":20}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":55899,"endOffset":56022,"count":20}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":56035,"endOffset":56388,"count":8}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":56172,"endOffset":56380,"count":8}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":56393,"endOffset":56863,"count":28},{"startOffset":56504,"endOffset":56597,"count":0},{"startOffset":56656,"endOffset":56764,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":56530,"endOffset":56585,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":56616,"endOffset":56648,"count":28}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":56868,"endOffset":56982,"count":55},{"startOffset":56935,"endOffset":56956,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":56987,"endOffset":57134,"count":20}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":57139,"endOffset":59505,"count":2}],"isBlockCoverage":true},{"functionName":"set value","ranges":[{"startOffset":57602,"endOffset":57680,"count":2}],"isBlockCoverage":true},{"functionName":"set value","ranges":[{"startOffset":57746,"endOffset":57828,"count":2}],"isBlockCoverage":true},{"functionName":"set value","ranges":[{"startOffset":57862,"endOffset":57939,"count":2}],"isBlockCoverage":true},{"functionName":"set value","ranges":[{"startOffset":57973,"endOffset":58050,"count":2}],"isBlockCoverage":true},{"functionName":"set value","ranges":[{"startOffset":58087,"endOffset":58167,"count":2}],"isBlockCoverage":true},{"functionName":"set value","ranges":[{"startOffset":58204,"endOffset":58284,"count":2}],"isBlockCoverage":true},{"functionName":"set value","ranges":[{"startOffset":58351,"endOffset":58428,"count":2}],"isBlockCoverage":true},{"functionName":"set value","ranges":[{"startOffset":58470,"endOffset":58555,"count":2}],"isBlockCoverage":true},{"functionName":"set value","ranges":[{"startOffset":58596,"endOffset":58680,"count":2}],"isBlockCoverage":true},{"functionName":"set value","ranges":[{"startOffset":58725,"endOffset":58813,"count":2}],"isBlockCoverage":true},{"functionName":"set value","ranges":[{"startOffset":58848,"endOffset":58926,"count":2}],"isBlockCoverage":true},{"functionName":"set value","ranges":[{"startOffset":58966,"endOffset":59049,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":59510,"endOffset":59673,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":59585,"endOffset":59665,"count":1}],"isBlockCoverage":true},{"functionName":"getInternalMethods","ranges":[{"startOffset":59678,"endOffset":60790,"count":17}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":60795,"endOffset":60900,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":60905,"endOffset":61002,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":61007,"endOffset":61108,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":61113,"endOffset":61216,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61221,"endOffset":61334,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61339,"endOffset":61440,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":61445,"endOffset":61556,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61561,"endOffset":61666,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61671,"endOffset":61781,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61786,"endOffset":62575,"count":4},{"startOffset":61912,"endOffset":61924,"count":1},{"startOffset":61924,"endOffset":61966,"count":3},{"startOffset":61966,"endOffset":61978,"count":0},{"startOffset":61978,"endOffset":62012,"count":3},{"startOffset":62012,"endOffset":62071,"count":1},{"startOffset":62071,"endOffset":62259,"count":3},{"startOffset":62297,"endOffset":62398,"count":3},{"startOffset":62398,"endOffset":62548,"count":1},{"startOffset":62548,"endOffset":62574,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":62580,"endOffset":66700,"count":3},{"startOffset":62724,"endOffset":62729,"count":2},{"startOffset":62859,"endOffset":62864,"count":2},{"startOffset":62973,"endOffset":62978,"count":2},{"startOffset":64911,"endOffset":64987,"count":1},{"startOffset":65000,"endOffset":65069,"count":2},{"startOffset":65214,"endOffset":65295,"count":1},{"startOffset":65308,"endOffset":65439,"count":2},{"startOffset":65578,"endOffset":65645,"count":1},{"startOffset":65658,"endOffset":65910,"count":2},{"startOffset":66005,"endOffset":66256,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":63045,"endOffset":63197,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63366,"endOffset":63640,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64283,"endOffset":64428,"count":24},{"startOffset":64380,"endOffset":64385,"count":16}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":64394,"endOffset":64416,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":64461,"endOffset":64602,"count":30}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":64570,"endOffset":64590,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":66705,"endOffset":66829,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":66834,"endOffset":75563,"count":3},{"startOffset":66996,"endOffset":67007,"count":2},{"startOffset":67029,"endOffset":67093,"count":1},{"startOffset":68788,"endOffset":68900,"count":0},{"startOffset":68976,"endOffset":69398,"count":2},{"startOffset":69166,"endOffset":69171,"count":0},{"startOffset":69292,"endOffset":69384,"count":0},{"startOffset":69829,"endOffset":71786,"count":0},{"startOffset":71881,"endOffset":71903,"count":1},{"startOffset":71905,"endOffset":72200,"count":1},{"startOffset":72200,"endOffset":72237,"count":2},{"startOffset":72237,"endOffset":73119,"count":0},{"startOffset":73119,"endOffset":73877,"count":2},{"startOffset":73232,"endOffset":73500,"count":0},{"startOffset":73541,"endOffset":73863,"count":0},{"startOffset":73877,"endOffset":73910,"count":2},{"startOffset":73910,"endOffset":73996,"count":1},{"startOffset":73998,"endOffset":74191,"count":0},{"startOffset":74191,"endOffset":74225,"count":2},{"startOffset":74225,"endOffset":75185,"count":1},{"startOffset":74281,"endOffset":74320,"count":0},{"startOffset":74805,"endOffset":74811,"count":0},{"startOffset":74861,"endOffset":74882,"count":0},{"startOffset":74884,"endOffset":75153,"count":0},{"startOffset":75204,"endOffset":75406,"count":0},{"startOffset":75406,"endOffset":75487,"count":2},{"startOffset":75488,"endOffset":75501,"count":1},{"startOffset":75502,"endOffset":75508,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":68189,"endOffset":68512,"count":3},{"startOffset":68280,"endOffset":68292,"count":0},{"startOffset":68294,"endOffset":68344,"count":0},{"startOffset":68435,"endOffset":68447,"count":0},{"startOffset":68449,"endOffset":68502,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":69201,"endOffset":69218,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":72660,"endOffset":73005,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":74056,"endOffset":74175,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":74941,"endOffset":75129,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":75568,"endOffset":77082,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":75723,"endOffset":77075,"count":2},{"startOffset":75780,"endOffset":75818,"count":0},{"startOffset":76157,"endOffset":76295,"count":0},{"startOffset":76369,"endOffset":76393,"count":0},{"startOffset":76395,"endOffset":76555,"count":0},{"startOffset":76642,"endOffset":76785,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":77087,"endOffset":77187,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":77192,"endOffset":77531,"count":41},{"startOffset":77361,"endOffset":77525,"count":0}],"isBlockCoverage":true},{"functionName":"isYargsInstance","ranges":[{"startOffset":77541,"endOffset":77634,"count":0}],"isBlockCoverage":false}]},{"scriptId":"172","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/build/lib/utils/apply-extends.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2049,"count":1}],"isBlockCoverage":true},{"functionName":"applyExtends","ranges":[{"startOffset":91,"endOffset":1278,"count":0}],"isBlockCoverage":false},{"functionName":"checkForCircularExtends","ranges":[{"startOffset":1279,"endOffset":1465,"count":0}],"isBlockCoverage":false},{"functionName":"getPathToDefaultConfig","ranges":[{"startOffset":1466,"endOffset":1569,"count":0}],"isBlockCoverage":false},{"functionName":"mergeDeep","ranges":[{"startOffset":1570,"endOffset":2048,"count":0}],"isBlockCoverage":false}]},{"scriptId":"173","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/build/lib/utils/process-argv.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":436,"count":1}],"isBlockCoverage":true},{"functionName":"getProcessArgvBinIndex","ranges":[{"startOffset":0,"endOffset":101,"count":4},{"startOffset":76,"endOffset":85,"count":0}],"isBlockCoverage":true},{"functionName":"isBundledElectronApp","ranges":[{"startOffset":102,"endOffset":188,"count":4},{"startOffset":163,"endOffset":185,"count":0}],"isBlockCoverage":true},{"functionName":"isElectronApp","ranges":[{"startOffset":189,"endOffset":257,"count":4}],"isBlockCoverage":true},{"functionName":"hideBin","ranges":[{"startOffset":265,"endOffset":344,"count":2}],"isBlockCoverage":true},{"functionName":"getProcessArgvBin","ranges":[{"startOffset":352,"endOffset":435,"count":2}],"isBlockCoverage":true}]},{"scriptId":"174","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs-parser/build/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2508,"count":1},{"startOffset":696,"endOffset":740,"count":0},{"startOffset":822,"endOffset":830,"count":0},{"startOffset":877,"endOffset":885,"count":0},{"startOffset":928,"endOffset":1051,"count":0},{"startOffset":1164,"endOffset":1362,"count":0},{"startOffset":1468,"endOffset":1472,"count":0}],"isBlockCoverage":true},{"functionName":"env","ranges":[{"startOffset":1538,"endOffset":1571,"count":0}],"isBlockCoverage":false},{"functionName":"require","ranges":[{"startOffset":1746,"endOffset":2131,"count":0}],"isBlockCoverage":false},{"functionName":"Parser","ranges":[{"startOffset":2156,"endOffset":2264,"count":0}],"isBlockCoverage":false},{"functionName":"yargsParser.detailed","ranges":[{"startOffset":2289,"endOffset":2359,"count":3}],"isBlockCoverage":true}]},{"scriptId":"175","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13357,"count":1}],"isBlockCoverage":true},{"functionName":"assertEventName","ranges":[{"startOffset":349,"endOffset":569,"count":962},{"startOffset":422,"endOffset":454,"count":38},{"startOffset":455,"endOffset":487,"count":0},{"startOffset":489,"endOffset":567,"count":0}],"isBlockCoverage":true},{"functionName":"assertListener","ranges":[{"startOffset":571,"endOffset":704,"count":38},{"startOffset":644,"endOffset":702,"count":0}],"isBlockCoverage":true},{"functionName":"getListeners","ranges":[{"startOffset":706,"endOffset":869,"count":962},{"startOffset":821,"endOffset":835,"count":62},{"startOffset":835,"endOffset":868,"count":900}],"isBlockCoverage":true},{"functionName":"getEventProducers","ranges":[{"startOffset":871,"endOffset":1175,"count":0}],"isBlockCoverage":false},{"functionName":"enqueueProducers","ranges":[{"startOffset":1177,"endOffset":1587,"count":924},{"startOffset":1315,"endOffset":1408,"count":0},{"startOffset":1550,"endOffset":1582,"count":0}],"isBlockCoverage":true},{"functionName":"iterator","ranges":[{"startOffset":1589,"endOffset":2972,"count":0}],"isBlockCoverage":false},{"functionName":"defaultMethodNamesOrAssert","ranges":[{"startOffset":2974,"endOffset":3495,"count":0}],"isBlockCoverage":false},{"functionName":"isMetaEvent","ranges":[{"startOffset":3517,"endOffset":3590,"count":1924},{"startOffset":3558,"endOffset":3590,"count":1810}],"isBlockCoverage":true},{"functionName":"emitMetaEvent","ranges":[{"startOffset":3593,"endOffset":3808,"count":38}],"isBlockCoverage":true},{"functionName":"mixin","ranges":[{"startOffset":3850,"endOffset":4933,"count":0}],"isBlockCoverage":false},{"functionName":"get isDebugEnabled","ranges":[{"startOffset":4943,"endOffset":5528,"count":962},{"startOffset":5304,"endOffset":5341,"count":0},{"startOffset":5432,"endOffset":5444,"count":0}],"isBlockCoverage":true},{"functionName":"set isDebugEnabled","ranges":[{"startOffset":5538,"endOffset":5606,"count":0}],"isBlockCoverage":false},{"functionName":"Emittery","ranges":[{"startOffset":5609,"endOffset":6731,"count":13}],"isBlockCoverage":true},{"functionName":"Emittery.debug.logger","ranges":[{"startOffset":5961,"endOffset":6723,"count":0}],"isBlockCoverage":false},{"functionName":"logIfDebugEnabled","ranges":[{"startOffset":6734,"endOffset":6910,"count":962},{"startOffset":6835,"endOffset":6907,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":6913,"endOffset":7515,"count":38},{"startOffset":7010,"endOffset":7022,"count":0},{"startOffset":7167,"endOffset":7266,"count":24}],"isBlockCoverage":true},{"functionName":"off","ranges":[{"startOffset":7518,"endOffset":8087,"count":0}],"isBlockCoverage":false},{"functionName":"once","ranges":[{"startOffset":8090,"endOffset":8292,"count":0}],"isBlockCoverage":false},{"functionName":"events","ranges":[{"startOffset":8295,"endOffset":8501,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":8504,"endOffset":9384,"count":924},{"startOffset":8599,"endOffset":8620,"count":38},{"startOffset":8622,"endOffset":8724,"count":0},{"startOffset":8882,"endOffset":8894,"count":38},{"startOffset":9031,"endOffset":9035,"count":38},{"startOffset":9036,"endOffset":9055,"count":886}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9131,"endOffset":9229,"count":2354}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9261,"endOffset":9373,"count":0}],"isBlockCoverage":false},{"functionName":"emitSerial","ranges":[{"startOffset":9387,"endOffset":10234,"count":0}],"isBlockCoverage":false},{"functionName":"onAny","ranges":[{"startOffset":10237,"endOffset":10478,"count":0}],"isBlockCoverage":false},{"functionName":"anyEvent","ranges":[{"startOffset":10481,"endOffset":10521,"count":0}],"isBlockCoverage":false},{"functionName":"offAny","ranges":[{"startOffset":10524,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"clearListeners","ranges":[{"startOffset":10733,"endOffset":11739,"count":0}],"isBlockCoverage":false},{"functionName":"listenerCount","ranges":[{"startOffset":11742,"endOffset":12458,"count":0}],"isBlockCoverage":false},{"functionName":"bindMethods","ranges":[{"startOffset":12461,"endOffset":12966,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13051,"endOffset":13075,"count":14}],"isBlockCoverage":true}]},{"scriptId":"176","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-map/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5058,"count":1}],"isBlockCoverage":true},{"functionName":"AbortError","ranges":[{"startOffset":242,"endOffset":332,"count":0}],"isBlockCoverage":false},{"functionName":"getDOMException","ranges":[{"startOffset":443,"endOffset":562,"count":0}],"isBlockCoverage":false},{"functionName":"getAbortedReason","ranges":[{"startOffset":682,"endOffset":878,"count":0}],"isBlockCoverage":false},{"functionName":"pMap","ranges":[{"startOffset":896,"endOffset":5016,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1047,"endOffset":5012,"count":1},{"startOffset":1117,"endOffset":1164,"count":0},{"startOffset":1166,"endOffset":1293,"count":0},{"startOffset":1331,"endOffset":1391,"count":0},{"startOffset":1436,"endOffset":1479,"count":0},{"startOffset":1503,"endOffset":1655,"count":0},{"startOffset":1929,"endOffset":1963,"count":0},{"startOffset":2109,"endOffset":2272,"count":0}],"isBlockCoverage":true},{"functionName":"reject","ranges":[{"startOffset":2013,"endOffset":2092,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2216,"endOffset":2266,"count":0}],"isBlockCoverage":false},{"functionName":"next","ranges":[{"startOffset":2289,"endOffset":4333,"count":23},{"startOffset":2322,"endOffset":2340,"count":0},{"startOffset":2790,"endOffset":3378,"count":12},{"startOffset":2849,"endOffset":2863,"count":1},{"startOffset":2865,"endOffset":3360,"count":1},{"startOffset":2911,"endOffset":2975,"count":0},{"startOffset":3086,"endOffset":3360,"count":0},{"startOffset":3360,"endOffset":3378,"count":11},{"startOffset":3378,"endOffset":4332,"count":11}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3435,"endOffset":4325,"count":11},{"startOffset":3524,"endOffset":3546,"count":0},{"startOffset":3678,"endOffset":3729,"count":0},{"startOffset":3808,"endOffset":4320,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4730,"endOffset":5005,"count":1},{"startOffset":4797,"endOffset":5001,"count":12},{"startOffset":4884,"endOffset":4937,"count":0},{"startOffset":4962,"endOffset":4975,"count":11},{"startOffset":4977,"endOffset":4996,"count":1}],"isBlockCoverage":true}]},{"scriptId":"177","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/temp-dir/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":162,"count":1}],"isBlockCoverage":true}]},{"scriptId":"178","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/fork.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4156,"count":1}],"isBlockCoverage":true},{"functionName":"_testOnlyReplaceWorkerPath","ranges":[{"startOffset":406,"endOffset":485,"count":0}],"isBlockCoverage":false},{"functionName":"createWorker","ranges":[{"startOffset":562,"endOffset":1771,"count":11},{"startOffset":1379,"endOffset":1720,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1211,"endOffset":1252,"count":11}],"isBlockCoverage":true},{"functionName":"close","ranges":[{"startOffset":1266,"endOffset":1375,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":1691,"endOffset":1716,"count":0}],"isBlockCoverage":false},{"functionName":"loadFork","ranges":[{"startOffset":1789,"endOffset":4155,"count":11}],"isBlockCoverage":true},{"functionName":"emitStateChange","ranges":[{"startOffset":1935,"endOffset":2039,"count":303}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2205,"endOffset":2269,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2299,"endOffset":2363,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2406,"endOffset":2483,"count":11}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2515,"endOffset":3795,"count":11}],"isBlockCoverage":true},{"functionName":"finish","ranges":[{"startOffset":2545,"endOffset":2590,"count":11}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2616,"endOffset":3227,"count":303},{"startOffset":2650,"endOffset":2668,"count":0},{"startOffset":2705,"endOffset":2789,"count":0},{"startOffset":2795,"endOffset":3096,"count":0},{"startOffset":3102,"endOffset":3161,"count":11},{"startOffset":3167,"endOffset":3218,"count":292}],"isBlockCoverage":true},{"functionName":"signalError","ranges":[{"startOffset":2990,"endOffset":3068,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3252,"endOffset":3381,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3405,"endOffset":3790,"count":11},{"startOffset":3444,"endOffset":3510,"count":0},{"startOffset":3530,"endOffset":3605,"count":0},{"startOffset":3629,"endOffset":3638,"count":0},{"startOffset":3640,"endOffset":3700,"count":0}],"isBlockCoverage":true},{"functionName":"exit","ranges":[{"startOffset":3860,"endOffset":3906,"count":0}],"isBlockCoverage":false},{"functionName":"notifyOfPeerFailure","ranges":[{"startOffset":3911,"endOffset":3970,"count":0}],"isBlockCoverage":false},{"functionName":"onConnectSharedWorker","ranges":[{"startOffset":3975,"endOffset":4067,"count":11}],"isBlockCoverage":true},{"functionName":"onStateChange","ranges":[{"startOffset":4072,"endOffset":4148,"count":22}],"isBlockCoverage":true}]},{"scriptId":"179","url":"node:child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27198,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1936,"endOffset":1965,"count":0}],"isBlockCoverage":false},{"functionName":"fork","ranges":[{"startOffset":3430,"endOffset":5105,"count":0}],"isBlockCoverage":false},{"functionName":"_forkChild","ranges":[{"startOffset":5107,"endOffset":5596,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecArgs","ranges":[{"startOffset":5598,"endOffset":6112,"count":0}],"isBlockCoverage":false},{"functionName":"exec","ranges":[{"startOffset":6649,"endOffset":6896,"count":0}],"isBlockCoverage":false},{"functionName":"customPromiseExecFunction","ranges":[{"startOffset":6932,"endOffset":7296,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6953,"endOffset":7293,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeExecFileArgs","ranges":[{"startOffset":7433,"endOffset":8331,"count":0}],"isBlockCoverage":false},{"functionName":"execFile","ranges":[{"startOffset":8944,"endOffset":13708,"count":0}],"isBlockCoverage":false},{"functionName":"copyProcessEnvToEnv","ranges":[{"startOffset":13852,"endOffset":14052,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeSpawnArguments","ranges":[{"startOffset":14054,"endOffset":19321,"count":0}],"isBlockCoverage":false},{"functionName":"abortChildProcess","ranges":[{"startOffset":19323,"endOffset":19579,"count":0}],"isBlockCoverage":false},{"functionName":"spawn","ranges":[{"startOffset":20134,"endOffset":21334,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":22094,"endOffset":23602,"count":0}],"isBlockCoverage":false},{"functionName":"checkExecSyncError","ranges":[{"startOffset":23605,"endOffset":23991,"count":0}],"isBlockCoverage":false},{"functionName":"execFileSync","ranges":[{"startOffset":24504,"endOffset":24968,"count":0}],"isBlockCoverage":false},{"functionName":"execSync","ranges":[{"startOffset":25466,"endOffset":25842,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentNullCheck","ranges":[{"startOffset":25845,"endOffset":26068,"count":0}],"isBlockCoverage":false},{"functionName":"validateArgumentsNullCheck","ranges":[{"startOffset":26071,"endOffset":26233,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":26236,"endOffset":26424,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBuffer","ranges":[{"startOffset":26427,"endOffset":26700,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeKillSignal","ranges":[{"startOffset":26703,"endOffset":27066,"count":0}],"isBlockCoverage":false}]},{"scriptId":"180","url":"node:internal/child_process","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31777,"count":1}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2500,"endOffset":2559,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2566,"endOffset":2620,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2682,"endOffset":2749,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":2756,"endOffset":2897,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":2927,"endOffset":4481,"count":0}],"isBlockCoverage":false},{"functionName":"postSend","ranges":[{"startOffset":4488,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5241,"endOffset":5698,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5763,"endOffset":5822,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":5829,"endOffset":5883,"count":0}],"isBlockCoverage":false},{"functionName":"send","ranges":[{"startOffset":5948,"endOffset":6068,"count":0}],"isBlockCoverage":false},{"functionName":"got","ranges":[{"startOffset":6075,"endOffset":6234,"count":0}],"isBlockCoverage":false},{"functionName":"stdioStringToArray","ranges":[{"startOffset":6245,"endOffset":6660,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess","ranges":[{"startOffset":6662,"endOffset":8151,"count":0}],"isBlockCoverage":false},{"functionName":"flushStdio","ranges":[{"startOffset":8274,"endOffset":8752,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":8755,"endOffset":8845,"count":0}],"isBlockCoverage":false},{"functionName":"getHandleWrapType","ranges":[{"startOffset":8848,"endOffset":9077,"count":0}],"isBlockCoverage":false},{"functionName":"closePendingHandle","ranges":[{"startOffset":9079,"endOffset":9192,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.spawn","ranges":[{"startOffset":9226,"endOffset":12793,"count":0}],"isBlockCoverage":false},{"functionName":"onErrorNT","ranges":[{"startOffset":12797,"endOffset":12858,"count":0}],"isBlockCoverage":false},{"functionName":"onSpawnNT","ranges":[{"startOffset":12861,"endOffset":12911,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.kill","ranges":[{"startOffset":12944,"endOffset":13609,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.","ranges":[{"startOffset":13652,"endOffset":13709,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.ref","ranges":[{"startOffset":13742,"endOffset":13796,"count":0}],"isBlockCoverage":false},{"functionName":"ChildProcess.unref","ranges":[{"startOffset":13831,"endOffset":13887,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13890,"endOffset":14887,"count":0}],"isBlockCoverage":false},{"functionName":"setupChannel","ranges":[{"startOffset":15035,"endOffset":27155,"count":0}],"isBlockCoverage":false},{"functionName":"isInternal","ranges":[{"startOffset":27190,"endOffset":27500,"count":0}],"isBlockCoverage":false},{"functionName":"getValidStdio","ranges":[{"startOffset":27534,"endOffset":30459,"count":0}],"isBlockCoverage":false},{"functionName":"getSocketList","ranges":[{"startOffset":30462,"endOffset":30778,"count":0}],"isBlockCoverage":false},{"functionName":"maybeClose","ranges":[{"startOffset":30781,"endOffset":30982,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":30984,"endOffset":31651,"count":0}],"isBlockCoverage":false}]},{"scriptId":"181","url":"node:dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28253,"count":1}],"isBlockCoverage":false},{"functionName":"lazyLoadCluster","ranges":[{"startOffset":2824,"endOffset":2921,"count":0}],"isBlockCoverage":false},{"functionName":"Socket","ranges":[{"startOffset":3031,"endOffset":4459,"count":0}],"isBlockCoverage":false},{"functionName":"createSocket","ranges":[{"startOffset":4570,"endOffset":4648,"count":0}],"isBlockCoverage":false},{"functionName":"startListening","ranges":[{"startOffset":4651,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"replaceHandle","ranges":[{"startOffset":5096,"endOffset":5661,"count":0}],"isBlockCoverage":false},{"functionName":"bufferSize","ranges":[{"startOffset":5663,"endOffset":5955,"count":0}],"isBlockCoverage":false},{"functionName":"bindServerHandle","ranges":[{"startOffset":6023,"endOffset":6433,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.bind","ranges":[{"startOffset":6459,"endOffset":9902,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.connect","ranges":[{"startOffset":9932,"endOffset":10728,"count":0}],"isBlockCoverage":false},{"functionName":"_connect","ranges":[{"startOffset":10732,"endOffset":11078,"count":0}],"isBlockCoverage":false},{"functionName":"doConnect","ranges":[{"startOffset":11081,"endOffset":11723,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.disconnect","ranges":[{"startOffset":11756,"endOffset":12063,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.sendto","ranges":[{"startOffset":12168,"endOffset":12609,"count":0}],"isBlockCoverage":false},{"functionName":"sliceBuffer","ranges":[{"startOffset":12613,"endOffset":13373,"count":0}],"isBlockCoverage":false},{"functionName":"fixBufferList","ranges":[{"startOffset":13376,"endOffset":13760,"count":0}],"isBlockCoverage":false},{"functionName":"enqueue","ranges":[{"startOffset":13763,"endOffset":14190,"count":0}],"isBlockCoverage":false},{"functionName":"onListenSuccess","ranges":[{"startOffset":14193,"endOffset":14331,"count":0}],"isBlockCoverage":false},{"functionName":"onListenError","ranges":[{"startOffset":14334,"endOffset":14458,"count":0}],"isBlockCoverage":false},{"functionName":"clearQueue","ranges":[{"startOffset":14461,"endOffset":14658,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.send","ranges":[{"startOffset":15229,"endOffset":18122,"count":0}],"isBlockCoverage":false},{"functionName":"doSend","ranges":[{"startOffset":18125,"endOffset":19264,"count":0}],"isBlockCoverage":false},{"functionName":"afterSend","ranges":[{"startOffset":19266,"endOffset":19443,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.close","ranges":[{"startOffset":19470,"endOffset":20038,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.","ranges":[{"startOffset":20080,"endOffset":20213,"count":0}],"isBlockCoverage":false},{"functionName":"socketCloseNT","ranges":[{"startOffset":20217,"endOffset":20271,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.address","ranges":[{"startOffset":20301,"endOffset":20491,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.remoteAddress","ranges":[{"startOffset":20527,"endOffset":20837,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setBroadcast","ranges":[{"startOffset":20873,"endOffset":21021,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setTTL","ranges":[{"startOffset":21051,"endOffset":21225,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastTTL","ranges":[{"startOffset":21264,"endOffset":21456,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastLoopback","ranges":[{"startOffset":21500,"endOffset":21700,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setMulticastInterface","ranges":[{"startOffset":21745,"endOffset":22007,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addMembership","ranges":[{"startOffset":22043,"endOffset":22417,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropMembership","ranges":[{"startOffset":22455,"endOffset":22832,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.addSourceSpecificMembership","ranges":[{"startOffset":22882,"endOffset":23489,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.dropSourceSpecificMembership","ranges":[{"startOffset":23541,"endOffset":24154,"count":0}],"isBlockCoverage":false},{"functionName":"healthCheck","ranges":[{"startOffset":24158,"endOffset":24321,"count":0}],"isBlockCoverage":false},{"functionName":"stopReceiving","ranges":[{"startOffset":24324,"endOffset":24488,"count":0}],"isBlockCoverage":false},{"functionName":"onMessage","ranges":[{"startOffset":24491,"endOffset":24745,"count":0}],"isBlockCoverage":false},{"functionName":"onError","ranges":[{"startOffset":24748,"endOffset":24863,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.ref","ranges":[{"startOffset":24889,"endOffset":24996,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.unref","ranges":[{"startOffset":25025,"endOffset":25134,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setRecvBufferSize","ranges":[{"startOffset":25175,"endOffset":25232,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.setSendBufferSize","ranges":[{"startOffset":25273,"endOffset":25330,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getRecvBufferSize","ranges":[{"startOffset":25371,"endOffset":25428,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendBufferSize","ranges":[{"startOffset":25469,"endOffset":25526,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueSize","ranges":[{"startOffset":25565,"endOffset":25634,"count":0}],"isBlockCoverage":false},{"functionName":"Socket.getSendQueueCount","ranges":[{"startOffset":25674,"endOffset":25744,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25863,"endOffset":25917,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":25990,"endOffset":26046,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26199,"endOffset":26256,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26332,"endOffset":26391,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26547,"endOffset":26604,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26680,"endOffset":26739,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":26891,"endOffset":26944,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27016,"endOffset":27071,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27223,"endOffset":27280,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27356,"endOffset":27415,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27522,"endOffset":27557,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":27666,"endOffset":27703,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27988,"endOffset":28024,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":28028,"endOffset":28069,"count":0}],"isBlockCoverage":false}]},{"scriptId":"182","url":"node:internal/dgram","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1851,"count":1}],"isBlockCoverage":false},{"functionName":"lookup4","ranges":[{"startOffset":478,"endOffset":579,"count":0}],"isBlockCoverage":false},{"functionName":"lookup6","ranges":[{"startOffset":582,"endOffset":677,"count":0}],"isBlockCoverage":false},{"functionName":"newHandle","ranges":[{"startOffset":679,"endOffset":1323,"count":0}],"isBlockCoverage":false},{"functionName":"_createSocketHandle","ranges":[{"startOffset":1326,"endOffset":1774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"183","url":"node:internal/socket_list","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2709,"count":1}],"isBlockCoverage":false},{"functionName":"SocketListSend","ranges":[{"startOffset":235,"endOffset":376,"count":0}],"isBlockCoverage":false},{"functionName":"_request","ranges":[{"startOffset":380,"endOffset":1035,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":1039,"endOffset":1190,"count":0}],"isBlockCoverage":false},{"functionName":"getConnections","ranges":[{"startOffset":1194,"endOffset":1430,"count":0}],"isBlockCoverage":false},{"functionName":"SocketListReceive","ranges":[{"startOffset":1544,"endOffset":2404,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":2408,"endOffset":2649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"184","url":"node:worker_threads","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":687,"count":1}],"isBlockCoverage":false}]},{"scriptId":"185","url":"node:internal/worker","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16395,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2471,"endOffset":2496,"count":1}],"isBlockCoverage":true},{"functionName":"process.chdir","ranges":[{"startOffset":2984,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"setEnvironmentData","ranges":[{"startOffset":3069,"endOffset":3216,"count":0}],"isBlockCoverage":false},{"functionName":"getEnvironmentData","ranges":[{"startOffset":3218,"endOffset":3289,"count":0}],"isBlockCoverage":false},{"functionName":"assignEnvironmentData","ranges":[{"startOffset":3291,"endOffset":3441,"count":0}],"isBlockCoverage":false},{"functionName":"Worker","ranges":[{"startOffset":3481,"endOffset":9221,"count":11},{"startOffset":3891,"endOffset":4003,"count":0},{"startOffset":4046,"endOffset":4112,"count":0},{"startOffset":4136,"endOffset":4400,"count":0},{"startOffset":4460,"endOffset":4569,"count":0},{"startOffset":4703,"endOffset":5136,"count":0},{"startOffset":5398,"endOffset":5657,"count":0},{"startOffset":5700,"endOffset":5807,"count":0},{"startOffset":6054,"endOffset":6060,"count":0},{"startOffset":6265,"endOffset":6272,"count":0},{"startOffset":6403,"endOffset":6487,"count":0},{"startOffset":6530,"endOffset":6663,"count":0},{"startOffset":7258,"endOffset":7357,"count":0},{"startOffset":7450,"endOffset":7549,"count":0},{"startOffset":7765,"endOffset":7871,"count":0},{"startOffset":8274,"endOffset":8302,"count":0},{"startOffset":8449,"endOffset":8497,"count":0},{"startOffset":8573,"endOffset":8621,"count":0},{"startOffset":9141,"endOffset":9217,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5330,"endOffset":5382,"count":1617}],"isBlockCoverage":true},{"functionName":"Worker..onexit","ranges":[{"startOffset":6691,"endOffset":6791,"count":11}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6868,"endOffset":6900,"count":11}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7959,"endOffset":8052,"count":22}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8006,"endOffset":8044,"count":303}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9059,"endOffset":9093,"count":11}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9225,"endOffset":9857,"count":11},{"startOffset":9602,"endOffset":9793,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9861,"endOffset":9957,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9961,"endOffset":10130,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10134,"endOffset":11027,"count":11},{"startOffset":10300,"endOffset":10392,"count":0},{"startOffset":10399,"endOffset":10484,"count":0},{"startOffset":10491,"endOffset":10775,"count":0},{"startOffset":10782,"endOffset":10952,"count":0},{"startOffset":10958,"endOffset":11026,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10671,"endOffset":10749,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11031,"endOffset":11499,"count":11}],"isBlockCoverage":true},{"functionName":"postMessage","ranges":[{"startOffset":11503,"endOffset":11648,"count":11},{"startOffset":11562,"endOffset":11569,"count":0}],"isBlockCoverage":true},{"functionName":"terminate","ranges":[{"startOffset":11652,"endOffset":12486,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":12490,"endOffset":12596,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":12600,"endOffset":12712,"count":0}],"isBlockCoverage":false},{"functionName":"get threadId","ranges":[{"startOffset":12716,"endOffset":12815,"count":55},{"startOffset":12765,"endOffset":12775,"count":22},{"startOffset":12775,"endOffset":12814,"count":33}],"isBlockCoverage":true},{"functionName":"get stdin","ranges":[{"startOffset":12819,"endOffset":12877,"count":0}],"isBlockCoverage":false},{"functionName":"get stdout","ranges":[{"startOffset":12881,"endOffset":12941,"count":11}],"isBlockCoverage":true},{"functionName":"get stderr","ranges":[{"startOffset":12945,"endOffset":13005,"count":11}],"isBlockCoverage":true},{"functionName":"get resourceLimits","ranges":[{"startOffset":13009,"endOffset":13145,"count":0}],"isBlockCoverage":false},{"functionName":"getHeapSnapshot","ranges":[{"startOffset":13149,"endOffset":13656,"count":0}],"isBlockCoverage":false},{"functionName":"InternalWorker","ranges":[{"startOffset":13849,"endOffset":13928,"count":0}],"isBlockCoverage":false},{"functionName":"receiveMessageSync","ranges":[{"startOffset":13932,"endOffset":14010,"count":0}],"isBlockCoverage":false},{"functionName":"pipeWithoutWarning","ranges":[{"startOffset":14014,"endOffset":14336,"count":0}],"isBlockCoverage":false},{"functionName":"parseResourceLimits","ranges":[{"startOffset":14410,"endOffset":15024,"count":11},{"startOffset":14547,"endOffset":14562,"count":0},{"startOffset":14575,"endOffset":15023,"count":0}],"isBlockCoverage":true},{"functionName":"makeResourceLimits","ranges":[{"startOffset":15026,"endOffset":15313,"count":0}],"isBlockCoverage":false},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":15315,"endOffset":16118,"count":0}],"isBlockCoverage":false}]},{"scriptId":"186","url":"node:internal/perf/event_loop_utilization","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":false},{"functionName":"eventLoopUtilization","ranges":[{"startOffset":153,"endOffset":446,"count":0}],"isBlockCoverage":false},{"functionName":"internalEventLoopUtilization","ranges":[{"startOffset":448,"endOffset":1447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"187","url":"node:internal/worker/io","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15479,"count":1}],"isBlockCoverage":false},{"functionName":"MessagePort.hasRef","ranges":[{"startOffset":3683,"endOffset":3766,"count":0}],"isBlockCoverage":false},{"functionName":"validateMessagePort","ranges":[{"startOffset":3769,"endOffset":3907,"count":0}],"isBlockCoverage":false},{"functionName":"isMessageEvent","ranges":[{"startOffset":3909,"endOffset":3985,"count":0}],"isBlockCoverage":false},{"functionName":"MessageEvent","ranges":[{"startOffset":4024,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4628,"endOffset":4752,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":4862,"endOffset":4988,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5103,"endOffset":5234,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5344,"endOffset":5470,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5579,"endOffset":5704,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5946,"endOffset":6264,"count":0}],"isBlockCoverage":false},{"functionName":"oninit","ranges":[{"startOffset":6403,"endOffset":6546,"count":33}],"isBlockCoverage":true},{"functionName":"MessagePortCloseEvent","ranges":[{"startOffset":6848,"endOffset":6887,"count":33}],"isBlockCoverage":true},{"functionName":"onclose","ranges":[{"startOffset":6960,"endOffset":7033,"count":33}],"isBlockCoverage":true},{"functionName":"MessagePort.close","ranges":[{"startOffset":7214,"endOffset":7349,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":7482,"endOffset":8110,"count":0}],"isBlockCoverage":false},{"functionName":"setupPortReferencing","ranges":[{"startOffset":8117,"endOffset":9480,"count":44}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8478,"endOffset":8573,"count":66},{"startOffset":8523,"endOffset":8569,"count":22}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8612,"endOffset":8710,"count":66},{"startOffset":8657,"endOffset":8706,"count":22}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8812,"endOffset":8957,"count":33},{"startOffset":8872,"endOffset":8894,"count":22}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9068,"endOffset":9215,"count":0}],"isBlockCoverage":false},{"functionName":"newListener","ranges":[{"startOffset":9221,"endOffset":9362,"count":44},{"startOffset":9270,"endOffset":9358,"count":33}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":9366,"endOffset":9478,"count":22},{"startOffset":9418,"endOffset":9474,"count":11}],"isBlockCoverage":true},{"functionName":"ReadableWorkerStdio","ranges":[{"startOffset":9530,"endOffset":9879,"count":22}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9708,"endOffset":9873,"count":22},{"startOffset":9839,"endOffset":9859,"count":11}],"isBlockCoverage":true},{"functionName":"_read","ranges":[{"startOffset":9883,"endOffset":10189,"count":22},{"startOffset":10047,"endOffset":10065,"count":11}],"isBlockCoverage":true},{"functionName":"WritableWorkerStdio","ranges":[{"startOffset":10240,"endOffset":10389,"count":11}],"isBlockCoverage":true},{"functionName":"_writev","ranges":[{"startOffset":10393,"endOffset":10769,"count":0}],"isBlockCoverage":false},{"functionName":"_final","ranges":[{"startOffset":10773,"endOffset":10953,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10957,"endOffset":11204,"count":0}],"isBlockCoverage":false},{"functionName":"createWorkerStdio","ranges":[{"startOffset":11208,"endOffset":11478,"count":0}],"isBlockCoverage":false},{"functionName":"receiveMessageOnPort","ranges":[{"startOffset":11480,"endOffset":11660,"count":0}],"isBlockCoverage":false},{"functionName":"onMessageEvent","ranges":[{"startOffset":11662,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"isBroadcastChannel","ranges":[{"startOffset":11759,"endOffset":11845,"count":0}],"isBlockCoverage":false},{"functionName":"BroadcastChannel","ranges":[{"startOffset":11932,"endOffset":12446,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12450,"endOffset":12863,"count":0}],"isBlockCoverage":false},{"functionName":"get name","ranges":[{"startOffset":12899,"endOffset":13028,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":13065,"endOffset":13463,"count":0}],"isBlockCoverage":false},{"functionName":"postMessage","ranges":[{"startOffset":13531,"endOffset":13941,"count":0}],"isBlockCoverage":false},{"functionName":"ref","ranges":[{"startOffset":14224,"endOffset":14391,"count":0}],"isBlockCoverage":false},{"functionName":"unref","ranges":[{"startOffset":14676,"endOffset":14847,"count":0}],"isBlockCoverage":false}]},{"scriptId":"188","url":"node:internal/error_serdes","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5723,"count":1}],"isBlockCoverage":false},{"functionName":"TryGetAllProperties","ranges":[{"startOffset":1039,"endOffset":2143,"count":0}],"isBlockCoverage":false},{"functionName":"GetConstructors","ranges":[{"startOffset":2145,"endOffset":2588,"count":0}],"isBlockCoverage":false},{"functionName":"GetName","ranges":[{"startOffset":2590,"endOffset":2710,"count":0}],"isBlockCoverage":false},{"functionName":"inspect","ranges":[{"startOffset":2737,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":2924,"endOffset":4219,"count":0}],"isBlockCoverage":false},{"functionName":"fromBuffer","ranges":[{"startOffset":4221,"endOffset":4442,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeError","ranges":[{"startOffset":4461,"endOffset":5666,"count":0}],"isBlockCoverage":false}]},{"scriptId":"189","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/plugin-support/shared-workers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2923,"count":1}],"isBlockCoverage":true},{"functionName":"waitForAvailable","ranges":[{"startOffset":302,"endOffset":440,"count":0}],"isBlockCoverage":false},{"functionName":"launchWorker","ranges":[{"startOffset":443,"endOffset":1141,"count":0}],"isBlockCoverage":false},{"functionName":"observeWorkerProcess","ranges":[{"startOffset":1150,"endOffset":2922,"count":11}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1249,"endOffset":1306,"count":11}],"isBlockCoverage":true},{"functionName":"signalDone","ranges":[{"startOffset":1277,"endOffset":1302,"count":11}],"isBlockCoverage":true},{"functionName":"removeInstance","ranges":[{"startOffset":1371,"endOffset":1508,"count":0}],"isBlockCoverage":false},{"functionName":"removeAllInstances","ranges":[{"startOffset":1539,"endOffset":1695,"count":11},{"startOffset":1614,"endOffset":1694,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1720,"endOffset":1754,"count":11}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1786,"endOffset":2903,"count":0}],"isBlockCoverage":false}]},{"scriptId":"190","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/run-status.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5667,"count":1}],"isBlockCoverage":true},{"functionName":"copyStats","ranges":[{"startOffset":79,"endOffset":123,"count":279}],"isBlockCoverage":true},{"functionName":"RunStatus","ranges":[{"startOffset":177,"endOffset":937,"count":1},{"startOffset":356,"endOffset":394,"count":0},{"startOffset":398,"endOffset":427,"count":0},{"startOffset":431,"endOffset":443,"count":0}],"isBlockCoverage":true},{"functionName":"observeWorker","ranges":[{"startOffset":940,"endOffset":1485,"count":11}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1446,"endOffset":1480,"count":303}],"isBlockCoverage":true},{"functionName":"emitStateChange","ranges":[{"startOffset":1528,"endOffset":4434,"count":303},{"startOffset":1686,"endOffset":1783,"count":69},{"startOffset":1788,"endOffset":1879,"count":0},{"startOffset":1884,"endOffset":2018,"count":0},{"startOffset":2023,"endOffset":2396,"count":69},{"startOffset":2125,"endOffset":2190,"count":0},{"startOffset":2212,"endOffset":2271,"count":4},{"startOffset":2271,"endOffset":2379,"count":65},{"startOffset":2401,"endOffset":2478,"count":0},{"startOffset":2483,"endOffset":2669,"count":0},{"startOffset":2674,"endOffset":2992,"count":65},{"startOffset":2724,"endOffset":2811,"count":0},{"startOffset":2997,"endOffset":3086,"count":65},{"startOffset":3091,"endOffset":3430,"count":0},{"startOffset":3435,"endOffset":3640,"count":0},{"startOffset":3645,"endOffset":3853,"count":0},{"startOffset":3858,"endOffset":3970,"count":0},{"startOffset":3975,"endOffset":4090,"count":0},{"startOffset":4095,"endOffset":4161,"count":0},{"startOffset":4166,"endOffset":4236,"count":11},{"startOffset":4241,"endOffset":4293,"count":24},{"startOffset":4319,"endOffset":4395,"count":279}],"isBlockCoverage":true},{"functionName":"suggestExitCode","ranges":[{"startOffset":4437,"endOffset":5130,"count":1},{"startOffset":4499,"endOffset":4517,"count":0},{"startOffset":4548,"endOffset":4581,"count":0},{"startOffset":4583,"endOffset":4601,"count":0},{"startOffset":4972,"endOffset":4990,"count":0},{"startOffset":5096,"endOffset":5114,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5035,"endOffset":5093,"count":11},{"startOffset":5065,"endOffset":5093,"count":0}],"isBlockCoverage":true},{"functionName":"addPendingTestLogs","ranges":[{"startOffset":5133,"endOffset":5238,"count":65}],"isBlockCoverage":true},{"functionName":"addPendingTest","ranges":[{"startOffset":5241,"endOffset":5377,"count":65}],"isBlockCoverage":true},{"functionName":"removePendingTest","ranges":[{"startOffset":5380,"endOffset":5522,"count":65}],"isBlockCoverage":true},{"functionName":"getFailedTestFiles","ranges":[{"startOffset":5525,"endOffset":5664,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5587,"endOffset":5626,"count":11}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5632,"endOffset":5659,"count":0}],"isBlockCoverage":false}]},{"scriptId":"191","url":"node:v8","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13302,"count":1}],"isBlockCoverage":false},{"functionName":"writeHeapSnapshot","ranges":[{"startOffset":2284,"endOffset":2563,"count":0}],"isBlockCoverage":false},{"functionName":"getHeapSnapshot","ranges":[{"startOffset":2795,"endOffset":3002,"count":0}],"isBlockCoverage":false},{"functionName":"setFlagsFromString","ranges":[{"startOffset":4424,"endOffset":4526,"count":0}],"isBlockCoverage":false},{"functionName":"getHeapStatistics","ranges":[{"startOffset":4976,"endOffset":5921,"count":0}],"isBlockCoverage":false},{"functionName":"getHeapSpaceStatistics","ranges":[{"startOffset":6151,"endOffset":6709,"count":0}],"isBlockCoverage":false},{"functionName":"getHeapCodeStatistics","ranges":[{"startOffset":6948,"endOffset":7358,"count":0}],"isBlockCoverage":false},{"functionName":"setHeapSnapshotNearHeapLimit","ranges":[{"startOffset":7412,"endOffset":7715,"count":0}],"isBlockCoverage":false},{"functionName":"readRawBytes","ranges":[{"startOffset":7986,"endOffset":8302,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBufferViewTypeToIndex","ranges":[{"startOffset":8305,"endOffset":9037,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBufferViewIndexToType","ranges":[{"startOffset":9039,"endOffset":9619,"count":0}],"isBlockCoverage":false},{"functionName":"DefaultSerializer","ranges":[{"startOffset":9668,"endOffset":9756,"count":279}],"isBlockCoverage":true},{"functionName":"_writeHostObject","ranges":[{"startOffset":9926,"endOffset":10960,"count":0}],"isBlockCoverage":false},{"functionName":"_readHostObject","ranges":[{"startOffset":11151,"endOffset":11970,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":12094,"endOffset":12238,"count":279}],"isBlockCoverage":true},{"functionName":"deserialize","ranges":[{"startOffset":12414,"endOffset":12539,"count":279}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12541,"endOffset":12859,"count":0}],"isBlockCoverage":false}]},{"scriptId":"192","url":"node:internal/heap_utils","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1382,"count":1}],"isBlockCoverage":false},{"functionName":"getHeapSnapshotOptions","ranges":[{"startOffset":418,"endOffset":803,"count":0}],"isBlockCoverage":false},{"functionName":"HeapSnapshotStream","ranges":[{"startOffset":851,"endOffset":1005,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":1009,"endOffset":1078,"count":0}],"isBlockCoverage":false},{"functionName":"_destroy","ranges":[{"startOffset":1082,"endOffset":1262,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1266,"endOffset":1308,"count":0}],"isBlockCoverage":false}]},{"scriptId":"193","url":"node:internal/promise_hooks","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3074,"count":1}],"isBlockCoverage":false},{"functionName":"initAll","ranges":[{"startOffset":476,"endOffset":974,"count":0}],"isBlockCoverage":false},{"functionName":"makeRunHook","ranges":[{"startOffset":976,"endOffset":1512,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1014,"endOffset":1509,"count":0}],"isBlockCoverage":false},{"functionName":"maybeFastPath","ranges":[{"startOffset":1650,"endOffset":1735,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":1737,"endOffset":2029,"count":0}],"isBlockCoverage":false},{"functionName":"stop","ranges":[{"startOffset":2031,"endOffset":2191,"count":0}],"isBlockCoverage":false},{"functionName":"makeUseHook","ranges":[{"startOffset":2193,"endOffset":2433,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2259,"endOffset":2430,"count":0}],"isBlockCoverage":false},{"functionName":"createHook","ranges":[{"startOffset":2592,"endOffset":2990,"count":0}],"isBlockCoverage":false}]},{"scriptId":"194","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/scheduler.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1100,"count":1}],"isBlockCoverage":true},{"functionName":"storeFailedTestFiles","ranges":[{"startOffset":200,"endOffset":414,"count":1},{"startOffset":269,"endOffset":285,"count":0},{"startOffset":403,"endOffset":411,"count":0}],"isBlockCoverage":true},{"functionName":"failingTestsFirst","ranges":[{"startOffset":484,"endOffset":1068,"count":1},{"startOffset":581,"endOffset":611,"count":0},{"startOffset":758,"endOffset":794,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":829,"endOffset":1063,"count":10},{"startOffset":876,"endOffset":906,"count":0},{"startOffset":908,"endOffset":928,"count":0},{"startOffset":966,"endOffset":987,"count":0},{"startOffset":1025,"endOffset":1045,"count":0}],"isBlockCoverage":true}]},{"scriptId":"195","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/serialize-error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4398,"count":1}],"isBlockCoverage":true},{"functionName":"isAvaAssertionError","ranges":[{"startOffset":385,"endOffset":467,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":469,"endOffset":614,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFile","ranges":[{"startOffset":616,"endOffset":756,"count":0}],"isBlockCoverage":false},{"functionName":"extractSource","ranges":[{"startOffset":795,"endOffset":1211,"count":0}],"isBlockCoverage":false},{"functionName":"buildSource","ranges":[{"startOffset":1213,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"trySerializeError","ranges":[{"startOffset":1957,"endOffset":3743,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":3760,"endOffset":4397,"count":0}],"isBlockCoverage":false}]},{"scriptId":"196","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5900,"count":1},{"startOffset":1472,"endOffset":1706,"count":45},{"startOffset":2476,"endOffset":3149,"count":3},{"startOffset":5468,"endOffset":5471,"count":0}],"isBlockCoverage":true},{"functionName":"applyOptions","ranges":[{"startOffset":571,"endOffset":950,"count":5},{"startOffset":618,"endOffset":699,"count":3},{"startOffset":701,"endOffset":779,"count":0},{"startOffset":870,"endOffset":873,"count":0},{"startOffset":919,"endOffset":931,"count":2},{"startOffset":932,"endOffset":947,"count":3}],"isBlockCoverage":true},{"functionName":"Chalk","ranges":[{"startOffset":975,"endOffset":1084,"count":3}],"isBlockCoverage":true},{"functionName":"chalkFactory","ranges":[{"startOffset":1109,"endOffset":1275,"count":5}],"isBlockCoverage":true},{"functionName":"chalk","ranges":[{"startOffset":1137,"endOffset":1170,"count":0}],"isBlockCoverage":false},{"functionName":"createChalk","ranges":[{"startOffset":1278,"endOffset":1342,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1499,"endOffset":1699,"count":9}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1728,"endOffset":1875,"count":0}],"isBlockCoverage":false},{"functionName":"getModelAnsi","ranges":[{"startOffset":1902,"endOffset":2394,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2499,"endOffset":2771,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":2866,"endOffset":3142,"count":0}],"isBlockCoverage":false},{"functionName":"Object.defineProperties","ranges":[{"startOffset":3189,"endOffset":3197,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3245,"endOffset":3289,"count":95}],"isBlockCoverage":true},{"functionName":"set","ranges":[{"startOffset":3293,"endOffset":3343,"count":0}],"isBlockCoverage":false},{"functionName":"createStyler","ranges":[{"startOffset":3375,"endOffset":3650,"count":9},{"startOffset":3458,"endOffset":3500,"count":8},{"startOffset":3500,"endOffset":3583,"count":1}],"isBlockCoverage":true},{"functionName":"createBuilder","ranges":[{"startOffset":3675,"endOffset":4243,"count":9}],"isBlockCoverage":true},{"functionName":"builder","ranges":[{"startOffset":3848,"endOffset":3959,"count":94},{"startOffset":3936,"endOffset":3958,"count":0}],"isBlockCoverage":true},{"functionName":"applyStyle","ranges":[{"startOffset":4265,"endOffset":5300,"count":94},{"startOffset":4318,"endOffset":4361,"count":0},{"startOffset":4419,"endOffset":4440,"count":0},{"startOffset":4511,"endOffset":4840,"count":4},{"startOffset":5177,"endOffset":5260,"count":1}],"isBlockCoverage":true}]},{"scriptId":"197","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6025,"count":1}],"isBlockCoverage":true},{"functionName":"assertPatternsInput","ranges":[{"startOffset":367,"endOffset":522,"count":1},{"startOffset":441,"endOffset":520,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":400,"endOffset":438,"count":6}],"isBlockCoverage":true},{"functionName":"toPatternsArray","ranges":[{"startOffset":549,"endOffset":659,"count":1}],"isBlockCoverage":true},{"functionName":"checkCwdOption","ranges":[{"startOffset":685,"endOffset":912,"count":1},{"startOffset":717,"endOffset":731,"count":0},{"startOffset":789,"endOffset":809,"count":0},{"startOffset":837,"endOffset":910,"count":0}],"isBlockCoverage":true},{"functionName":"normalizeOptions","ranges":[{"startOffset":940,"endOffset":1200,"count":1},{"startOffset":1012,"endOffset":1017,"count":0},{"startOffset":1083,"endOffset":1089,"count":0}],"isBlockCoverage":true},{"functionName":"normalizeArguments","ranges":[{"startOffset":1230,"endOffset":1321,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1236,"endOffset":1321,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeArgumentsSync","ranges":[{"startOffset":1354,"endOffset":1439,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1360,"endOffset":1439,"count":0}],"isBlockCoverage":false},{"functionName":"getIgnoreFilesPatterns","ranges":[{"startOffset":1473,"endOffset":1680,"count":1},{"startOffset":1560,"endOffset":1590,"count":0},{"startOffset":1613,"endOffset":1659,"count":0}],"isBlockCoverage":true},{"functionName":"getFilter","ranges":[{"startOffset":1701,"endOffset":1913,"count":1},{"startOffset":1845,"endOffset":1912,"count":0}],"isBlockCoverage":true},{"functionName":"getFilterSync","ranges":[{"startOffset":1938,"endOffset":2142,"count":0}],"isBlockCoverage":false},{"functionName":"createFilterFunction","ranges":[{"startOffset":2174,"endOffset":2469,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2223,"endOffset":2466,"count":12},{"startOffset":2397,"endOffset":2415,"count":0}],"isBlockCoverage":true},{"functionName":"unionFastGlobResults","ranges":[{"startOffset":2501,"endOffset":2585,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2544,"endOffset":2584,"count":12}],"isBlockCoverage":true},{"functionName":"unionFastGlobStreams","ranges":[{"startOffset":2616,"endOffset":2717,"count":0}],"isBlockCoverage":false},{"functionName":"convertNegativePatterns","ranges":[{"startOffset":2752,"endOffset":3364,"count":1},{"startOffset":2826,"endOffset":3346,"count":5},{"startOffset":2924,"endOffset":2975,"count":0},{"startOffset":3056,"endOffset":3105,"count":4},{"startOffset":3126,"endOffset":3302,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2863,"endOffset":2900,"count":6}],"isBlockCoverage":true},{"functionName":"getDirGlobOptions","ranges":[{"startOffset":3393,"endOffset":3499,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":3524,"endOffset":4142,"count":1},{"startOffset":3712,"endOffset":3827,"count":0},{"startOffset":3828,"endOffset":3839,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3879,"endOffset":4134,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasksSync","ranges":[{"startOffset":4171,"endOffset":4714,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4758,"endOffset":5048,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4950,"endOffset":4995,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5101,"endOffset":5348,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5403,"endOffset":5652,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5713,"endOffset":5805,"count":0}],"isBlockCoverage":false}]},{"scriptId":"198","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-plain-object/dist/is-plain-object.mjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":758,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":161,"endOffset":251,"count":2}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":253,"endOffset":730,"count":1},{"startOffset":328,"endOffset":341,"count":0},{"startOffset":426,"endOffset":438,"count":0},{"startOffset":528,"endOffset":541,"count":0},{"startOffset":657,"endOffset":680,"count":0}],"isBlockCoverage":true}]},{"scriptId":"199","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/pkg-conf/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1575,"count":1}],"isBlockCoverage":true},{"functionName":"findNextCwd","ranges":[{"startOffset":191,"endOffset":243,"count":0}],"isBlockCoverage":false},{"functionName":"addFilePath","ranges":[{"startOffset":266,"endOffset":341,"count":1}],"isBlockCoverage":true},{"functionName":"packageConfig","ranges":[{"startOffset":351,"endOffset":921,"count":1},{"startOffset":424,"endOffset":475,"count":0},{"startOffset":557,"endOffset":561,"count":0},{"startOffset":581,"endOffset":640,"count":0},{"startOffset":719,"endOffset":754,"count":0},{"startOffset":756,"endOffset":837,"count":0}],"isBlockCoverage":true},{"functionName":"packageConfigSync","ranges":[{"startOffset":930,"endOffset":1498,"count":0}],"isBlockCoverage":false},{"functionName":"packageJsonPath","ranges":[{"startOffset":1507,"endOffset":1574,"count":1}],"isBlockCoverage":true}]},{"scriptId":"200","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/indent-string/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":820,"count":1}],"isBlockCoverage":true},{"functionName":"indentString","ranges":[{"startOffset":15,"endOffset":819,"count":72},{"startOffset":173,"endOffset":274,"count":0},{"startOffset":308,"endOffset":408,"count":0},{"startOffset":426,"endOffset":518,"count":0},{"startOffset":553,"endOffset":663,"count":0},{"startOffset":683,"endOffset":704,"count":0},{"startOffset":739,"endOffset":746,"count":0}],"isBlockCoverage":true}]},{"scriptId":"201","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/plur/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":963,"count":1}],"isBlockCoverage":true},{"functionName":"plur","ranges":[{"startOffset":66,"endOffset":962,"count":2},{"startOffset":207,"endOffset":587,"count":0},{"startOffset":944,"endOffset":950,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":743,"endOffset":907,"count":2},{"startOffset":880,"endOffset":901,"count":0}],"isBlockCoverage":true}]},{"scriptId":"202","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/pretty-ms/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3721,"count":1}],"isBlockCoverage":true},{"functionName":"pluralize","ranges":[{"startOffset":61,"endOffset":109,"count":0}],"isBlockCoverage":false},{"functionName":"prettyMilliseconds","ranges":[{"startOffset":173,"endOffset":3720,"count":0}],"isBlockCoverage":false}]},{"scriptId":"203","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/code-excerpt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1291,"count":1}],"isBlockCoverage":true},{"functionName":"formatLineNumber","ranges":[{"startOffset":165,"endOffset":291,"count":0}],"isBlockCoverage":false},{"functionName":"exceptCode","ranges":[{"startOffset":309,"endOffset":1290,"count":0}],"isBlockCoverage":false}]},{"scriptId":"204","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/reporters/beautify-stack.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2021,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":414,"endOffset":457,"count":73}],"isBlockCoverage":true},{"functionName":"beautifyStack","ranges":[{"startOffset":1838,"endOffset":2020,"count":0}],"isBlockCoverage":false}]},{"scriptId":"205","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/reporters/colors.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":600,"count":1}],"isBlockCoverage":true},{"functionName":"get log","ranges":[{"startOffset":54,"endOffset":89,"count":1}],"isBlockCoverage":true},{"functionName":"get title","ranges":[{"startOffset":92,"endOffset":129,"count":0}],"isBlockCoverage":false},{"functionName":"get error","ranges":[{"startOffset":132,"endOffset":168,"count":0}],"isBlockCoverage":false},{"functionName":"get skip","ranges":[{"startOffset":171,"endOffset":209,"count":0}],"isBlockCoverage":false},{"functionName":"get todo","ranges":[{"startOffset":212,"endOffset":248,"count":5}],"isBlockCoverage":true},{"functionName":"get pass","ranges":[{"startOffset":251,"endOffset":288,"count":66}],"isBlockCoverage":true},{"functionName":"get duration","ranges":[{"startOffset":291,"endOffset":335,"count":0}],"isBlockCoverage":false},{"functionName":"get errorSource","ranges":[{"startOffset":338,"endOffset":381,"count":0}],"isBlockCoverage":false},{"functionName":"get errorStack","ranges":[{"startOffset":384,"endOffset":426,"count":0}],"isBlockCoverage":false},{"functionName":"get errorStackInternal","ranges":[{"startOffset":429,"endOffset":483,"count":0}],"isBlockCoverage":false},{"functionName":"get stack","ranges":[{"startOffset":486,"endOffset":522,"count":0}],"isBlockCoverage":false},{"functionName":"get information","ranges":[{"startOffset":525,"endOffset":571,"count":0}],"isBlockCoverage":false}]},{"scriptId":"206","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/reporters/format-serialized-error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"formatSerializedError","ranges":[{"startOffset":15,"endOffset":440,"count":0}],"isBlockCoverage":false}]},{"scriptId":"207","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/reporters/improper-usage-messages.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1651,"count":1}],"isBlockCoverage":true},{"functionName":"buildMessage","ranges":[{"startOffset":81,"endOffset":1650,"count":0}],"isBlockCoverage":false}]},{"scriptId":"208","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/reporters/prefix-title.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":663,"count":1}],"isBlockCoverage":true},{"functionName":"prefixTitle","ranges":[{"startOffset":183,"endOffset":662,"count":69}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":337,"endOffset":381,"count":69},{"startOffset":374,"endOffset":381,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":412,"endOffset":434,"count":157}],"isBlockCoverage":true}]},{"scriptId":"209","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/strip-ansi/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":468,"count":1}],"isBlockCoverage":true},{"functionName":"stripAnsi","ranges":[{"startOffset":80,"endOffset":467,"count":69},{"startOffset":142,"endOffset":220,"count":0}],"isBlockCoverage":true}]},{"scriptId":"210","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/supertap/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2382,"count":1}],"isBlockCoverage":true},{"functionName":"serializeErrorForTap","ranges":[{"startOffset":185,"endOffset":488,"count":0}],"isBlockCoverage":false},{"functionName":"start","ranges":[{"startOffset":511,"endOffset":533,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":555,"endOffset":1588,"count":0}],"isBlockCoverage":false},{"functionName":"finish","ranges":[{"startOffset":1612,"endOffset":2380,"count":0}],"isBlockCoverage":false}]},{"scriptId":"211","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cliui/index.mjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":309,"count":1}],"isBlockCoverage":true},{"functionName":"ui","ranges":[{"startOffset":170,"endOffset":308,"count":0}],"isBlockCoverage":false}]},{"scriptId":"212","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/escalade/sync/index.mjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":404,"count":1}],"isBlockCoverage":true},{"functionName":"default","ranges":[{"startOffset":101,"endOffset":403,"count":2},{"startOffset":223,"endOffset":249,"count":0},{"startOffset":344,"endOffset":398,"count":0}],"isBlockCoverage":true}]},{"scriptId":"213","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/build/lib/yerror.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":234,"count":1}],"isBlockCoverage":true},{"functionName":"YError","ranges":[{"startOffset":40,"endOffset":231,"count":0}],"isBlockCoverage":false}]},{"scriptId":"214","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/y18n/index.mjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":183,"count":1}],"isBlockCoverage":true},{"functionName":"y18n","ranges":[{"startOffset":121,"endOffset":161,"count":1}],"isBlockCoverage":true}]},{"scriptId":"215","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/build/lib/command.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":19368,"count":1}],"isBlockCoverage":true},{"functionName":"CommandInstance","ranges":[{"startOffset":493,"endOffset":819,"count":2}],"isBlockCoverage":true},{"functionName":"addDirectory","ranges":[{"startOffset":824,"endOffset":1631,"count":0}],"isBlockCoverage":false},{"functionName":"addHandler","ranges":[{"startOffset":1636,"endOffset":4314,"count":3},{"startOffset":1841,"endOffset":1855,"count":0},{"startOffset":1889,"endOffset":2141,"count":0},{"startOffset":2192,"endOffset":2596,"count":0},{"startOffset":2651,"endOffset":2822,"count":0},{"startOffset":3327,"endOffset":3339,"count":1},{"startOffset":3357,"endOffset":3382,"count":1},{"startOffset":3410,"endOffset":3599,"count":1},{"startOffset":4021,"endOffset":4026,"count":0},{"startOffset":4243,"endOffset":4298,"count":1}],"isBlockCoverage":true},{"functionName":"handler","ranges":[{"startOffset":1845,"endOffset":1854,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2949,"endOffset":2981,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3096,"endOffset":3281,"count":3},{"startOffset":3147,"endOffset":3238,"count":1},{"startOffset":3238,"endOffset":3280,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3628,"endOffset":3710,"count":0}],"isBlockCoverage":false},{"functionName":"getCommandHandlers","ranges":[{"startOffset":4319,"endOffset":4377,"count":0}],"isBlockCoverage":false},{"functionName":"getCommands","ranges":[{"startOffset":4382,"endOffset":4481,"count":3}],"isBlockCoverage":true},{"functionName":"hasDefaultCommand","ranges":[{"startOffset":4486,"endOffset":4551,"count":3}],"isBlockCoverage":true},{"functionName":"runCommand","ranges":[{"startOffset":4556,"endOffset":5681,"count":1},{"startOffset":4978,"endOffset":5111,"count":0},{"startOffset":5347,"endOffset":5512,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5368,"endOffset":5511,"count":0}],"isBlockCoverage":false},{"functionName":"applyBuilderUpdateUsageAndParse","ranges":[{"startOffset":5686,"endOffset":6961,"count":1},{"startOffset":6171,"endOffset":6474,"count":0},{"startOffset":6484,"endOffset":6828,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6215,"endOffset":6458,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6740,"endOffset":6816,"count":0}],"isBlockCoverage":false},{"functionName":"parseAndUpdateUsage","ranges":[{"startOffset":6966,"endOffset":7936,"count":1},{"startOffset":7231,"endOffset":7467,"count":0},{"startOffset":7681,"endOffset":7809,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7698,"endOffset":7808,"count":0}],"isBlockCoverage":false},{"functionName":"shouldUpdateUsage","ranges":[{"startOffset":7941,"endOffset":8142,"count":1}],"isBlockCoverage":true},{"functionName":"usageFromParentCommandsCommandHandler","ranges":[{"startOffset":8147,"endOffset":8560,"count":0}],"isBlockCoverage":false},{"functionName":"handleValidationAndGetResult","ranges":[{"startOffset":8565,"endOffset":10490,"count":1},{"startOffset":9841,"endOffset":9938,"count":0},{"startOffset":9976,"endOffset":10041,"count":0},{"startOffset":10043,"endOffset":10315,"count":0},{"startOffset":10357,"endOffset":10458,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":8980,"endOffset":9072,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9575,"endOffset":9803,"count":1},{"startOffset":9725,"endOffset":9759,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9746,"endOffset":9758,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10077,"endOffset":10299,"count":0}],"isBlockCoverage":false},{"functionName":"applyMiddlewareAndGetResult","ranges":[{"startOffset":10495,"endOffset":11519,"count":1},{"startOffset":10678,"endOffset":10695,"count":0},{"startOffset":11160,"endOffset":11352,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":11184,"endOffset":11351,"count":0}],"isBlockCoverage":false},{"functionName":"populatePositionals","ranges":[{"startOffset":11524,"endOffset":12389,"count":1},{"startOffset":11897,"endOffset":12019,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12225,"endOffset":12236,"count":0}],"isBlockCoverage":false},{"functionName":"populatePositional","ranges":[{"startOffset":12394,"endOffset":12719,"count":1},{"startOffset":12594,"endOffset":12713,"count":0}],"isBlockCoverage":true},{"functionName":"cmdToParseOptions","ranges":[{"startOffset":12724,"endOffset":13581,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12972,"endOffset":13263,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":13298,"endOffset":13544,"count":1}],"isBlockCoverage":true},{"functionName":"postProcessPositionals","ranges":[{"startOffset":13586,"endOffset":15927,"count":1},{"startOffset":14455,"endOffset":15921,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14127,"endOffset":14403,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14171,"endOffset":14391,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":15017,"endOffset":15100,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":15148,"endOffset":15909,"count":0}],"isBlockCoverage":false},{"functionName":"isDefaulted","ranges":[{"startOffset":15932,"endOffset":16186,"count":0}],"isBlockCoverage":false},{"functionName":"isInConfigs","ranges":[{"startOffset":16191,"endOffset":16477,"count":0}],"isBlockCoverage":false},{"functionName":"runDefaultBuilderOn","ranges":[{"startOffset":16482,"endOffset":17358,"count":0}],"isBlockCoverage":false},{"functionName":"moduleName","ranges":[{"startOffset":17363,"endOffset":17589,"count":0}],"isBlockCoverage":false},{"functionName":"commandFromFilename","ranges":[{"startOffset":17594,"endOffset":17715,"count":0}],"isBlockCoverage":false},{"functionName":"extractDesc","ranges":[{"startOffset":17720,"endOffset":18010,"count":0}],"isBlockCoverage":false},{"functionName":"freeze","ranges":[{"startOffset":18015,"endOffset":18194,"count":2}],"isBlockCoverage":true},{"functionName":"unfreeze","ranges":[{"startOffset":18199,"endOffset":18475,"count":2}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":18480,"endOffset":18652,"count":1}],"isBlockCoverage":true},{"functionName":"command","ranges":[{"startOffset":18662,"endOffset":18800,"count":2}],"isBlockCoverage":true},{"functionName":"isCommandBuilderDefinition","ranges":[{"startOffset":18808,"endOffset":18976,"count":3},{"startOffset":18895,"endOffset":18923,"count":0},{"startOffset":18924,"endOffset":18972,"count":0}],"isBlockCoverage":true},{"functionName":"isCommandAndAliases","ranges":[{"startOffset":18977,"endOffset":19064,"count":0}],"isBlockCoverage":false},{"functionName":"isCommandBuilderCallback","ranges":[{"startOffset":19072,"endOffset":19160,"count":1}],"isBlockCoverage":true},{"functionName":"isCommandBuilderOptionDefinitions","ranges":[{"startOffset":19161,"endOffset":19256,"count":0}],"isBlockCoverage":false},{"functionName":"isCommandHandlerDefinition","ranges":[{"startOffset":19264,"endOffset":19367,"count":3},{"startOffset":19342,"endOffset":19364,"count":0}],"isBlockCoverage":true}]},{"scriptId":"216","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/build/lib/typings/common-types.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":308,"count":1}],"isBlockCoverage":true},{"functionName":"assertNotStrictEqual","ranges":[{"startOffset":7,"endOffset":132,"count":8}],"isBlockCoverage":true},{"functionName":"assertSingleKey","ranges":[{"startOffset":140,"endOffset":236,"count":0}],"isBlockCoverage":false},{"functionName":"objectKeys","ranges":[{"startOffset":244,"endOffset":307,"count":39}],"isBlockCoverage":true}]},{"scriptId":"217","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/build/lib/usage.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21402,"count":1}],"isBlockCoverage":true},{"functionName":"isBoolean","ranges":[{"startOffset":140,"endOffset":206,"count":0}],"isBlockCoverage":false},{"functionName":"usage","ranges":[{"startOffset":214,"endOffset":20976,"count":2}],"isBlockCoverage":true},{"functionName":"failFn","ranges":[{"startOffset":334,"endOffset":383,"count":0}],"isBlockCoverage":false},{"functionName":"showHelpOnFailFn","ranges":[{"startOffset":504,"endOffset":844,"count":0}],"isBlockCoverage":false},{"functionName":"fail","ranges":[{"startOffset":893,"endOffset":2441,"count":0}],"isBlockCoverage":false},{"functionName":"self.usage","ranges":[{"startOffset":2512,"endOffset":2762,"count":3},{"startOffset":2562,"endOffset":2657,"count":0}],"isBlockCoverage":true},{"functionName":"self.getUsage","ranges":[{"startOffset":2784,"endOffset":2820,"count":1}],"isBlockCoverage":true},{"functionName":"self.getUsageDisabled","ranges":[{"startOffset":2850,"endOffset":2893,"count":1}],"isBlockCoverage":true},{"functionName":"self.getPositionalGroupName","ranges":[{"startOffset":2929,"endOffset":2977,"count":1}],"isBlockCoverage":true},{"functionName":"self.example","ranges":[{"startOffset":3021,"endOffset":3099,"count":3}],"isBlockCoverage":true},{"functionName":"command","ranges":[{"startOffset":3143,"endOffset":3477,"count":3},{"startOffset":3243,"endOffset":3390,"count":1},{"startOffset":3431,"endOffset":3436,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3281,"endOffset":3378,"count":0}],"isBlockCoverage":false},{"functionName":"self.getCommands","ranges":[{"startOffset":3502,"endOffset":3516,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":3565,"endOffset":3993,"count":20},{"startOffset":3640,"endOffset":3744,"count":0},{"startOffset":3793,"endOffset":3918,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3672,"endOffset":3732,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3838,"endOffset":3906,"count":0}],"isBlockCoverage":false},{"functionName":"self.getDescriptions","ranges":[{"startOffset":4022,"endOffset":4040,"count":18}],"isBlockCoverage":true},{"functionName":"self.epilog","ranges":[{"startOffset":4082,"endOffset":4123,"count":0}],"isBlockCoverage":false},{"functionName":"self.wrap","ranges":[{"startOffset":4180,"endOffset":4240,"count":0}],"isBlockCoverage":false},{"functionName":"self.getWrap","ranges":[{"startOffset":4261,"endOffset":4475,"count":0}],"isBlockCoverage":false},{"functionName":"self.deferY18nLookup","ranges":[{"startOffset":4558,"endOffset":4592,"count":6}],"isBlockCoverage":true},{"functionName":"help","ranges":[{"startOffset":4610,"endOffset":14918,"count":0}],"isBlockCoverage":false},{"functionName":"maxWidth","ranges":[{"startOffset":14924,"endOffset":15401,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeAliases","ranges":[{"startOffset":15406,"endOffset":16450,"count":0}],"isBlockCoverage":false},{"functionName":"self.cacheHelpMessage","ranges":[{"startOffset":16506,"endOffset":16566,"count":0}],"isBlockCoverage":false},{"functionName":"self.clearCachedHelpMessage","ranges":[{"startOffset":16602,"endOffset":16660,"count":3}],"isBlockCoverage":true},{"functionName":"self.hasCachedHelpMessage","ranges":[{"startOffset":16694,"endOffset":16749,"count":0}],"isBlockCoverage":false},{"functionName":"addUngroupedKeys","ranges":[{"startOffset":16755,"endOffset":17254,"count":0}],"isBlockCoverage":false},{"functionName":"filterHiddenOptions","ranges":[{"startOffset":17259,"endOffset":17435,"count":0}],"isBlockCoverage":false},{"functionName":"self.showHelp","ranges":[{"startOffset":17456,"endOffset":17695,"count":0}],"isBlockCoverage":false},{"functionName":"self.functionDescription","ranges":[{"startOffset":17728,"endOffset":17914,"count":0}],"isBlockCoverage":false},{"functionName":"stringifiedValues","ranges":[{"startOffset":17945,"endOffset":18343,"count":0}],"isBlockCoverage":false},{"functionName":"defaultString","ranges":[{"startOffset":18349,"endOffset":18996,"count":0}],"isBlockCoverage":false},{"functionName":"windowWidth","ranges":[{"startOffset":19001,"endOffset":19227,"count":0}],"isBlockCoverage":false},{"functionName":"self.version","ranges":[{"startOffset":19271,"endOffset":19308,"count":5}],"isBlockCoverage":true},{"functionName":"self.showVersion","ranges":[{"startOffset":19333,"endOffset":19566,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":19585,"endOffset":19890,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":19841,"endOffset":19861,"count":4}],"isBlockCoverage":true},{"functionName":"freeze","ranges":[{"startOffset":19934,"endOffset":20184,"count":3}],"isBlockCoverage":true},{"functionName":"unfreeze","ranges":[{"startOffset":20206,"endOffset":20956,"count":3},{"startOffset":20321,"endOffset":20328,"count":0},{"startOffset":20357,"endOffset":20663,"count":1},{"startOffset":20663,"endOffset":20950,"count":2}],"isBlockCoverage":true},{"functionName":"isIndentedText","ranges":[{"startOffset":20977,"endOffset":21047,"count":0}],"isBlockCoverage":false},{"functionName":"addIndentation","ranges":[{"startOffset":21048,"endOffset":21232,"count":0}],"isBlockCoverage":false},{"functionName":"getIndentation","ranges":[{"startOffset":21233,"endOffset":21322,"count":0}],"isBlockCoverage":false},{"functionName":"getText","ranges":[{"startOffset":21323,"endOffset":21401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"218","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/build/lib/argsert.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2477,"count":1}],"isBlockCoverage":true},{"functionName":"argsert","ranges":[{"startOffset":175,"endOffset":2088,"count":119},{"startOffset":644,"endOffset":682,"count":151},{"startOffset":696,"endOffset":707,"count":43},{"startOffset":739,"endOffset":753,"count":8},{"startOffset":800,"endOffset":939,"count":0},{"startOffset":1055,"endOffset":1182,"count":0},{"startOffset":2034,"endOffset":2086,"count":0}],"isBlockCoverage":true},{"functionName":"parseArgs","ranges":[{"startOffset":216,"endOffset":463,"count":119},{"startOffset":291,"endOffset":337,"count":4},{"startOffset":350,"endOffset":456,"count":115}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1215,"endOffset":1571,"count":105},{"startOffset":1478,"endOffset":1534,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1370,"endOffset":1415,"count":250},{"startOffset":1400,"endOffset":1415,"count":145}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1606,"endOffset":2021,"count":139},{"startOffset":1671,"endOffset":1678,"count":53},{"startOffset":1678,"endOffset":1928,"count":86},{"startOffset":1928,"endOffset":1984,"count":0},{"startOffset":1984,"endOffset":2020,"count":86}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1820,"endOffset":1865,"count":103},{"startOffset":1850,"endOffset":1865,"count":17}],"isBlockCoverage":true},{"functionName":"guessType","ranges":[{"startOffset":2089,"endOffset":2257,"count":191},{"startOffset":2143,"endOffset":2174,"count":0},{"startOffset":2202,"endOffset":2232,"count":0}],"isBlockCoverage":true},{"functionName":"argumentTypeError","ranges":[{"startOffset":2258,"endOffset":2476,"count":0}],"isBlockCoverage":false}]},{"scriptId":"219","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/build/lib/completion.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10495,"count":1}],"isBlockCoverage":true},{"functionName":"Completion","ranges":[{"startOffset":311,"endOffset":953,"count":2},{"startOffset":762,"endOffset":770,"count":0},{"startOffset":793,"endOffset":905,"count":0},{"startOffset":939,"endOffset":946,"count":0}],"isBlockCoverage":true},{"functionName":"defaultCompletion","ranges":[{"startOffset":958,"endOffset":1901,"count":0}],"isBlockCoverage":false},{"functionName":"commandCompletions","ranges":[{"startOffset":1906,"endOffset":2777,"count":0}],"isBlockCoverage":false},{"functionName":"optionCompletions","ranges":[{"startOffset":2782,"endOffset":3698,"count":0}],"isBlockCoverage":false},{"functionName":"choicesFromOptionsCompletions","ranges":[{"startOffset":3703,"endOffset":4036,"count":0}],"isBlockCoverage":false},{"functionName":"choicesFromPositionalsCompletions","ranges":[{"startOffset":4041,"endOffset":4882,"count":0}],"isBlockCoverage":false},{"functionName":"getPreviousArgChoices","ranges":[{"startOffset":4887,"endOffset":5958,"count":0}],"isBlockCoverage":false},{"functionName":"previousArgHasChoices","ranges":[{"startOffset":5963,"endOffset":6116,"count":0}],"isBlockCoverage":false},{"functionName":"argsContainKey","ranges":[{"startOffset":6121,"endOffset":6591,"count":0}],"isBlockCoverage":false},{"functionName":"completeOptionKey","ranges":[{"startOffset":6596,"endOffset":7850,"count":0}],"isBlockCoverage":false},{"functionName":"customCompletion","ranges":[{"startOffset":7855,"endOffset":9088,"count":0}],"isBlockCoverage":false},{"functionName":"getCompletion","ranges":[{"startOffset":9093,"endOffset":9571,"count":0}],"isBlockCoverage":false},{"functionName":"generateCompletionScript","ranges":[{"startOffset":9576,"endOffset":10026,"count":0}],"isBlockCoverage":false},{"functionName":"registerFunction","ranges":[{"startOffset":10031,"endOffset":10103,"count":0}],"isBlockCoverage":false},{"functionName":"setParsed","ranges":[{"startOffset":10108,"endOffset":10172,"count":2}],"isBlockCoverage":true},{"functionName":"completion","ranges":[{"startOffset":10182,"endOffset":10290,"count":2}],"isBlockCoverage":true},{"functionName":"isSyncCompletionFunction","ranges":[{"startOffset":10291,"endOffset":10390,"count":0}],"isBlockCoverage":false},{"functionName":"isFallbackCompletionFunction","ranges":[{"startOffset":10391,"endOffset":10494,"count":0}],"isBlockCoverage":false}]},{"scriptId":"220","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/build/lib/validation.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12653,"count":1}],"isBlockCoverage":true},{"functionName":"validation","ranges":[{"startOffset":270,"endOffset":12652,"count":2}],"isBlockCoverage":true},{"functionName":"nonOptionCount","ranges":[{"startOffset":419,"endOffset":2167,"count":2},{"startOffset":573,"endOffset":592,"count":0},{"startOffset":724,"endOffset":799,"count":0},{"startOffset":801,"endOffset":2161,"count":0}],"isBlockCoverage":true},{"functionName":"positionalCount","ranges":[{"startOffset":2196,"endOffset":2484,"count":1},{"startOffset":2276,"endOffset":2478,"count":0}],"isBlockCoverage":true},{"functionName":"requiredArguments","ranges":[{"startOffset":2515,"endOffset":3447,"count":2},{"startOffset":2651,"endOffset":2890,"count":0},{"startOffset":2912,"endOffset":3441,"count":0}],"isBlockCoverage":true},{"functionName":"unknownArguments","ranges":[{"startOffset":3477,"endOffset":5459,"count":0}],"isBlockCoverage":false},{"functionName":"unknownCommands","ranges":[{"startOffset":5488,"endOffset":6281,"count":0}],"isBlockCoverage":false},{"functionName":"isValidAndSomeAliasIsNotNew","ranges":[{"startOffset":6322,"endOffset":6658,"count":0}],"isBlockCoverage":false},{"functionName":"limitedChoices","ranges":[{"startOffset":6686,"endOffset":7734,"count":2},{"startOffset":6859,"endOffset":7733,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6894,"endOffset":7345,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7520,"endOffset":7701,"count":0}],"isBlockCoverage":false},{"functionName":"implies","ranges":[{"startOffset":7777,"endOffset":8440,"count":0}],"isBlockCoverage":false},{"functionName":"getImplied","ranges":[{"startOffset":8464,"endOffset":8517,"count":0}],"isBlockCoverage":false},{"functionName":"keyExists","ranges":[{"startOffset":8523,"endOffset":8998,"count":0}],"isBlockCoverage":false},{"functionName":"implications","ranges":[{"startOffset":9023,"endOffset":9752,"count":2},{"startOffset":9562,"endOffset":9746,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":9120,"endOffset":9529,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9651,"endOffset":9705,"count":0}],"isBlockCoverage":false},{"functionName":"conflicts","ranges":[{"startOffset":9801,"endOffset":10413,"count":0}],"isBlockCoverage":false},{"functionName":"self.getConflicting","ranges":[{"startOffset":10441,"endOffset":10458,"count":0}],"isBlockCoverage":false},{"functionName":"conflictingFn","ranges":[{"startOffset":10483,"endOffset":11443,"count":2},{"startOffset":10981,"endOffset":11437,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10548,"endOffset":10897,"count":4},{"startOffset":10591,"endOffset":10887,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":10634,"endOffset":10871,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":11028,"endOffset":11425,"count":0}],"isBlockCoverage":false},{"functionName":"recommendCommands","ranges":[{"startOffset":11474,"endOffset":12092,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":12111,"endOffset":12295,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":12178,"endOffset":12198,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12246,"endOffset":12266,"count":0}],"isBlockCoverage":false},{"functionName":"freeze","ranges":[{"startOffset":12339,"endOffset":12445,"count":2}],"isBlockCoverage":true},{"functionName":"unfreeze","ranges":[{"startOffset":12467,"endOffset":12632,"count":2}],"isBlockCoverage":true}]},{"scriptId":"221","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/build/lib/utils/obj-filter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":299,"count":1}],"isBlockCoverage":true},{"functionName":"objFilter","ranges":[{"startOffset":64,"endOffset":298,"count":34}],"isBlockCoverage":true},{"functionName":"filter","ranges":[{"startOffset":107,"endOffset":117,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":174,"endOffset":278,"count":11},{"startOffset":223,"endOffset":272,"count":10}],"isBlockCoverage":true}]},{"scriptId":"222","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/build/lib/middleware.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3221,"count":1}],"isBlockCoverage":true},{"functionName":"GlobalMiddleware","ranges":[{"startOffset":127,"endOffset":244,"count":2}],"isBlockCoverage":true},{"functionName":"addMiddleware","ranges":[{"startOffset":249,"endOffset":1230,"count":10},{"startOffset":495,"endOffset":929,"count":0}],"isBlockCoverage":true},{"functionName":"addCoerceMiddleware","ranges":[{"startOffset":1235,"endOffset":1697,"count":10}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1385,"endOffset":1592,"count":45},{"startOffset":1501,"endOffset":1513,"count":0}],"isBlockCoverage":true},{"functionName":"getMiddleware","ranges":[{"startOffset":1702,"endOffset":1763,"count":3}],"isBlockCoverage":true},{"functionName":"freeze","ranges":[{"startOffset":1768,"endOffset":1839,"count":2}],"isBlockCoverage":true},{"functionName":"unfreeze","ranges":[{"startOffset":1844,"endOffset":1983,"count":2}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":1988,"endOffset":2080,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2059,"endOffset":2072,"count":0}],"isBlockCoverage":false},{"functionName":"commandMiddlewareFactory","ranges":[{"startOffset":2090,"endOffset":2327,"count":3},{"startOffset":2191,"endOffset":2326,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2225,"endOffset":2323,"count":0}],"isBlockCoverage":false},{"functionName":"applyMiddleware","ranges":[{"startOffset":2335,"endOffset":3220,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2436,"endOffset":3210,"count":20},{"startOffset":2526,"endOffset":2708,"count":10},{"startOffset":2648,"endOffset":2659,"count":0},{"startOffset":2708,"endOffset":2737,"count":10},{"startOffset":2737,"endOffset":2963,"count":0},{"startOffset":2963,"endOffset":3204,"count":10},{"startOffset":3083,"endOffset":3148,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2784,"endOffset":2854,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2878,"endOffset":2951,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3097,"endOffset":3147,"count":0}],"isBlockCoverage":false}]},{"scriptId":"223","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/build/lib/utils/is-promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":155,"count":1}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":7,"endOffset":154,"count":35},{"startOffset":69,"endOffset":99,"count":34},{"startOffset":100,"endOffset":150,"count":0}],"isBlockCoverage":true}]},{"scriptId":"224","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/build/lib/utils/maybe-async-result.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":496,"count":1}],"isBlockCoverage":true},{"functionName":"maybeAsyncResult","ranges":[{"startOffset":52,"endOffset":428,"count":3},{"startOffset":205,"endOffset":218,"count":0},{"startOffset":277,"endOffset":325,"count":0},{"startOffset":373,"endOffset":426,"count":0}],"isBlockCoverage":true},{"functionName":"errorHandler","ranges":[{"startOffset":119,"endOffset":146,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":291,"endOffset":324,"count":0}],"isBlockCoverage":false},{"functionName":"isFunction","ranges":[{"startOffset":429,"endOffset":495,"count":3}],"isBlockCoverage":true}]},{"scriptId":"225","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/build/lib/utils/set-blocking.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":386,"count":1}],"isBlockCoverage":true},{"functionName":"setBlocking","ranges":[{"startOffset":15,"endOffset":385,"count":0}],"isBlockCoverage":false}]},{"scriptId":"226","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs-parser/build/lib/string-utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2084,"count":1}],"isBlockCoverage":true},{"functionName":"camelCase","ranges":[{"startOffset":95,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"decamelize","ranges":[{"startOffset":1130,"endOffset":1623,"count":0}],"isBlockCoverage":false},{"functionName":"looksLikeNumber","ranges":[{"startOffset":1631,"endOffset":2083,"count":0}],"isBlockCoverage":false}]},{"scriptId":"227","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs-parser/build/lib/yargs-parser.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":46827,"count":1}],"isBlockCoverage":true},{"functionName":"YargsParser","ranges":[{"startOffset":335,"endOffset":386,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":391,"endOffset":44624,"count":3},{"startOffset":2419,"endOffset":2424,"count":0},{"startOffset":2579,"endOffset":2584,"count":0},{"startOffset":2794,"endOffset":2809,"count":0},{"startOffset":3468,"endOffset":3473,"count":0},{"startOffset":4205,"endOffset":4210,"count":0},{"startOffset":4366,"endOffset":4371,"count":0},{"startOffset":4529,"endOffset":4534,"count":0},{"startOffset":4691,"endOffset":4696,"count":0},{"startOffset":4856,"endOffset":4861,"count":0},{"startOffset":5328,"endOffset":5584,"count":0},{"startOffset":5714,"endOffset":5894,"count":0},{"startOffset":7103,"endOffset":15678,"count":0},{"startOffset":16233,"endOffset":16258,"count":0},{"startOffset":16593,"endOffset":16617,"count":0},{"startOffset":16764,"endOffset":16796,"count":1},{"startOffset":16798,"endOffset":16955,"count":0},{"startOffset":17000,"endOffset":17356,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3499,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4236,"endOffset":4333,"count":18}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4397,"endOffset":4496,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4560,"endOffset":4659,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4722,"endOffset":4820,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4887,"endOffset":4988,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5082,"endOffset":5270,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5378,"endOffset":5572,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5797,"endOffset":5878,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6003,"endOffset":6199,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6504,"endOffset":6661,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16387,"endOffset":16492,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16643,"endOffset":16711,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16837,"endOffset":16877,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16887,"endOffset":16943,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":17066,"endOffset":17081,"count":8}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":17092,"endOffset":17344,"count":8},{"startOffset":17161,"endOffset":17183,"count":0},{"startOffset":17185,"endOffset":17294,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":17240,"endOffset":17263,"count":0}],"isBlockCoverage":false},{"functionName":"pushPositional","ranges":[{"startOffset":17440,"endOffset":17711,"count":0}],"isBlockCoverage":false},{"functionName":"eatNargs","ranges":[{"startOffset":17807,"endOffset":19765,"count":0}],"isBlockCoverage":false},{"functionName":"eatArray","ranges":[{"startOffset":19951,"endOffset":22259,"count":0}],"isBlockCoverage":false},{"functionName":"setArg","ranges":[{"startOffset":22268,"endOffset":24658,"count":0}],"isBlockCoverage":false},{"functionName":"addNewAlias","ranges":[{"startOffset":24667,"endOffset":25012,"count":0}],"isBlockCoverage":false},{"functionName":"processValue","ranges":[{"startOffset":25021,"endOffset":26334,"count":0}],"isBlockCoverage":false},{"functionName":"maybeCoerceNumber","ranges":[{"startOffset":26343,"endOffset":26987,"count":0}],"isBlockCoverage":false},{"functionName":"setConfig","ranges":[{"startOffset":27111,"endOffset":29020,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27424,"endOffset":29008,"count":0}],"isBlockCoverage":false},{"functionName":"setConfigObject","ranges":[{"startOffset":29118,"endOffset":30217,"count":0}],"isBlockCoverage":false},{"functionName":"setConfigObjects","ranges":[{"startOffset":30275,"endOffset":30519,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":30399,"endOffset":30493,"count":0}],"isBlockCoverage":false},{"functionName":"applyEnvVars","ranges":[{"startOffset":30528,"endOffset":31483,"count":6},{"startOffset":30643,"endOffset":30712,"count":0},{"startOffset":30713,"endOffset":30717,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":30793,"endOffset":31471,"count":0}],"isBlockCoverage":false},{"functionName":"applyCoercions","ranges":[{"startOffset":31492,"endOffset":32407,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":31625,"endOffset":32395,"count":3},{"startOffset":31873,"endOffset":32363,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":32069,"endOffset":32208,"count":0}],"isBlockCoverage":false},{"functionName":"setPlaceholderKeys","ranges":[{"startOffset":32416,"endOffset":32790,"count":0}],"isBlockCoverage":false},{"functionName":"applyDefaultsAndAliases","ranges":[{"startOffset":32799,"endOffset":33416,"count":6}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":32916,"endOffset":33404,"count":0}],"isBlockCoverage":false},{"functionName":"hasKey","ranges":[{"startOffset":33425,"endOffset":33850,"count":0}],"isBlockCoverage":false},{"functionName":"setKey","ranges":[{"startOffset":33859,"endOffset":36836,"count":0}],"isBlockCoverage":false},{"functionName":"extendAliases","ranges":[{"startOffset":36903,"endOffset":38837,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":36962,"endOffset":38825,"count":12},{"startOffset":37011,"endOffset":37016,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37026,"endOffset":38809,"count":36},{"startOffset":37311,"endOffset":37318,"count":16},{"startOffset":37318,"endOffset":37383,"count":20},{"startOffset":37383,"endOffset":37388,"count":12}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":37519,"endOffset":37946,"count":28},{"startOffset":37574,"endOffset":37614,"count":4},{"startOffset":37616,"endOffset":37924,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":38080,"endOffset":38533,"count":28},{"startOffset":38136,"endOffset":38154,"count":20},{"startOffset":38155,"endOffset":38195,"count":0},{"startOffset":38197,"endOffset":38511,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":38583,"endOffset":38789,"count":8}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":38680,"endOffset":38764,"count":8}],"isBlockCoverage":true},{"functionName":"checkAllAliases","ranges":[{"startOffset":38846,"endOffset":39131,"count":3},{"startOffset":39096,"endOffset":39112,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":39040,"endOffset":39065,"count":3}],"isBlockCoverage":true},{"functionName":"hasAnyFlag","ranges":[{"startOffset":39140,"endOffset":39438,"count":0}],"isBlockCoverage":false},{"functionName":"hasFlagsMatching","ranges":[{"startOffset":39447,"endOffset":39727,"count":0}],"isBlockCoverage":false},{"functionName":"hasAllShortFlags","ranges":[{"startOffset":39815,"endOffset":40773,"count":0}],"isBlockCoverage":false},{"functionName":"isUnknownOptionAsArg","ranges":[{"startOffset":40782,"endOffset":40913,"count":0}],"isBlockCoverage":false},{"functionName":"isUnknownOption","ranges":[{"startOffset":40922,"endOffset":42057,"count":0}],"isBlockCoverage":false},{"functionName":"defaultValue","ranges":[{"startOffset":42169,"endOffset":42496,"count":0}],"isBlockCoverage":false},{"functionName":"defaultForType","ranges":[{"startOffset":42567,"endOffset":42903,"count":0}],"isBlockCoverage":false},{"functionName":"guessType","ranges":[{"startOffset":42961,"endOffset":43521,"count":0}],"isBlockCoverage":false},{"functionName":"isUndefined","ranges":[{"startOffset":43530,"endOffset":43605,"count":0}],"isBlockCoverage":false},{"functionName":"checkConfiguration","ranges":[{"startOffset":43679,"endOffset":44309,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":43812,"endOffset":44297,"count":0}],"isBlockCoverage":false},{"functionName":"combineAliases","ranges":[{"startOffset":44701,"endOffset":46168,"count":3},{"startOffset":45228,"endOffset":45716,"count":8},{"startOffset":45294,"endOffset":45706,"count":28},{"startOffset":45487,"endOffset":45692,"count":0},{"startOffset":45706,"endOffset":45716,"count":28},{"startOffset":45716,"endOffset":45722,"count":8}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":44975,"endOffset":45053,"count":8}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":45352,"endOffset":45446,"count":56}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":45825,"endOffset":46143,"count":8}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":45888,"endOffset":45963,"count":16}],"isBlockCoverage":true},{"functionName":"increment","ranges":[{"startOffset":46332,"endOffset":46406,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeKey","ranges":[{"startOffset":46509,"endOffset":46613,"count":0}],"isBlockCoverage":false},{"functionName":"stripQuotes","ranges":[{"startOffset":46614,"endOffset":46826,"count":0}],"isBlockCoverage":false}]},{"scriptId":"228","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/emittery/maps.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":120,"count":1}],"isBlockCoverage":true}]},{"scriptId":"229","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/aggregate-error/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1165,"count":1}],"isBlockCoverage":true},{"functionName":"cleanInternalStack","ranges":[{"startOffset":108,"endOffset":183,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":201,"endOffset":1164,"count":0}],"isBlockCoverage":true}]},{"scriptId":"230","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-event/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6062,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeEmitter","ranges":[{"startOffset":60,"endOffset":453,"count":11},{"startOffset":105,"endOffset":127,"count":0},{"startOffset":128,"endOffset":155,"count":0},{"startOffset":193,"endOffset":218,"count":0},{"startOffset":219,"endOffset":249,"count":0},{"startOffset":290,"endOffset":346,"count":0}],"isBlockCoverage":true},{"functionName":"pEventMultiple","ranges":[{"startOffset":463,"endOffset":2125,"count":11},{"startOffset":1994,"endOffset":2101,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":560,"endOffset":1917,"count":11},{"startOffset":812,"endOffset":892,"count":0},{"startOffset":1890,"endOffset":1914,"count":0}],"isBlockCoverage":true},{"functionName":"onItem","ranges":[{"startOffset":1060,"endOffset":1389,"count":11},{"startOffset":1116,"endOffset":1128,"count":0},{"startOffset":1263,"endOffset":1281,"count":0}],"isBlockCoverage":true},{"functionName":"rejectHandler","ranges":[{"startOffset":1416,"endOffset":1461,"count":0}],"isBlockCoverage":false},{"functionName":"cancel","ranges":[{"startOffset":1475,"endOffset":1675,"count":11}],"isBlockCoverage":true},{"functionName":"pEvent","ranges":[{"startOffset":2134,"endOffset":2551,"count":11}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2421,"endOffset":2438,"count":11}],"isBlockCoverage":true},{"functionName":"pEventIterator","ranges":[{"startOffset":2560,"endOffset":6020,"count":0}],"isBlockCoverage":false}]},{"scriptId":"231","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/assert.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":25039,"count":1}],"isBlockCoverage":true},{"functionName":"formatDescriptorDiff","ranges":[{"startOffset":331,"endOffset":822,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptorWithLabel","ranges":[{"startOffset":824,"endOffset":979,"count":0}],"isBlockCoverage":false},{"functionName":"formatWithLabel","ranges":[{"startOffset":981,"endOffset":1114,"count":0}],"isBlockCoverage":false},{"functionName":"hasOwnProperty","ranges":[{"startOffset":1139,"endOffset":1207,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":1222,"endOffset":1230,"count":0}],"isBlockCoverage":false},{"functionName":"notImplemented","ranges":[{"startOffset":1255,"endOffset":1301,"count":0}],"isBlockCoverage":false},{"functionName":"AssertionError","ranges":[{"startOffset":1349,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"checkAssertionMessage","ranges":[{"startOffset":1981,"endOffset":2292,"count":0}],"isBlockCoverage":false},{"functionName":"getErrorWithLongStackTrace","ranges":[{"startOffset":2294,"endOffset":2556,"count":0}],"isBlockCoverage":false},{"functionName":"validateExpectations","ranges":[{"startOffset":2558,"endOffset":5405,"count":0}],"isBlockCoverage":false},{"functionName":"assertExpectations","ranges":[{"startOffset":5524,"endOffset":8199,"count":0}],"isBlockCoverage":false},{"functionName":"Assertions","ranges":[{"startOffset":8228,"endOffset":25036,"count":0}],"isBlockCoverage":false}]},{"scriptId":"232","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/concordance-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2980,"count":1},{"startOffset":2696,"endOffset":2708,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2579,"endOffset":2649,"count":110},{"startOffset":2623,"endOffset":2641,"count":69},{"startOffset":2642,"endOffset":2649,"count":41}],"isBlockCoverage":true},{"functionName":"get maxDepth","ranges":[{"startOffset":2807,"endOffset":2878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"233","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5256,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5189,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2906,"endOffset":3404,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3450,"endOffset":3975,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4032,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4134,"endOffset":4895,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4949,"endOffset":5030,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5084,"endOffset":5137,"count":0}],"isBlockCoverage":false}]},{"scriptId":"234","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/vendor/supports-color/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3855,"count":1},{"startOffset":738,"endOffset":762,"count":0},{"startOffset":869,"endOffset":893,"count":0}],"isBlockCoverage":true},{"functionName":"hasFlag","ranges":[{"startOffset":235,"endOffset":585,"count":16},{"startOffset":281,"endOffset":303,"count":0},{"startOffset":359,"endOffset":363,"count":0},{"startOffset":385,"endOffset":390,"count":0},{"startOffset":519,"endOffset":582,"count":0}],"isBlockCoverage":true},{"functionName":"envForceColor","ranges":[{"startOffset":895,"endOffset":1159,"count":2},{"startOffset":949,"endOffset":1157,"count":0}],"isBlockCoverage":true},{"functionName":"translateLevel","ranges":[{"startOffset":1161,"endOffset":1320,"count":2},{"startOffset":1212,"endOffset":1232,"count":0}],"isBlockCoverage":true},{"functionName":"_supportsColor","ranges":[{"startOffset":1322,"endOffset":3494,"count":2},{"startOffset":1479,"endOffset":1520,"count":0},{"startOffset":1570,"endOffset":1588,"count":0},{"startOffset":1614,"endOffset":1630,"count":0},{"startOffset":1740,"endOffset":1758,"count":0},{"startOffset":1788,"endOffset":1806,"count":0},{"startOffset":1918,"endOffset":1940,"count":0},{"startOffset":1942,"endOffset":1958,"count":0},{"startOffset":1992,"endOffset":2019,"count":0},{"startOffset":2021,"endOffset":2037,"count":0},{"startOffset":2096,"endOffset":2114,"count":0},{"startOffset":2151,"endOffset":2508,"count":0},{"startOffset":2528,"endOffset":2776,"count":0},{"startOffset":2810,"endOffset":2891,"count":0},{"startOffset":2945,"endOffset":3493,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2688,"endOffset":2707,"count":0}],"isBlockCoverage":false},{"functionName":"createSupportsColor","ranges":[{"startOffset":3503,"endOffset":3687,"count":2}],"isBlockCoverage":true}]},{"scriptId":"235","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chalk/source/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":997,"count":1}],"isBlockCoverage":true},{"functionName":"stringReplaceAll","ranges":[{"startOffset":78,"endOffset":552,"count":4},{"startOffset":194,"endOffset":215,"count":0},{"startOffset":306,"endOffset":466,"count":12}],"isBlockCoverage":true},{"functionName":"stringEncaseCRLFWithFirstIndex","ranges":[{"startOffset":561,"endOffset":996,"count":1},{"startOffset":681,"endOffset":910,"count":2},{"startOffset":774,"endOffset":785,"count":0},{"startOffset":814,"endOffset":822,"count":0}],"isBlockCoverage":true}]},{"scriptId":"236","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/ignore.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2797,"count":1}],"isBlockCoverage":true},{"functionName":"applyBaseToPattern","ranges":[{"startOffset":479,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"parseIgnoreFile","ranges":[{"startOffset":634,"endOffset":865,"count":0}],"isBlockCoverage":false},{"functionName":"toRelativePath","ranges":[{"startOffset":891,"endOffset":1176,"count":0}],"isBlockCoverage":false},{"functionName":"getIsIgnoredPredicate","ranges":[{"startOffset":1209,"endOffset":1554,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1582,"endOffset":1782,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFiles","ranges":[{"startOffset":1823,"endOffset":2211,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnoredByIgnoreFilesSync","ranges":[{"startOffset":2256,"endOffset":2592,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnored","ranges":[{"startOffset":2623,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"isGitIgnoredSync","ranges":[{"startOffset":2724,"endOffset":2795,"count":0}],"isBlockCoverage":false}]},{"scriptId":"237","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/globby/utilities.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":462,"count":1}],"isBlockCoverage":true},{"functionName":"toPath","ranges":[{"startOffset":102,"endOffset":178,"count":1},{"startOffset":140,"endOffset":166,"count":0}],"isBlockCoverage":true},{"functionName":"FilterStream","ranges":[{"startOffset":228,"endOffset":394,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativePattern","ranges":[{"startOffset":431,"endOffset":460,"count":6}],"isBlockCoverage":true}]},{"scriptId":"238","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/pkg-conf/node_modules/find-up/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2679,"count":1}],"isBlockCoverage":true},{"functionName":"toPath","ranges":[{"startOffset":142,"endOffset":218,"count":1},{"startOffset":180,"endOffset":206,"count":0}],"isBlockCoverage":true},{"functionName":"findUpMultiple","ranges":[{"startOffset":277,"endOffset":1343,"count":1},{"startOffset":379,"endOffset":384,"count":0},{"startOffset":520,"endOffset":547,"count":0},{"startOffset":1116,"endOffset":1131,"count":0},{"startOffset":1280,"endOffset":1323,"count":0}],"isBlockCoverage":true},{"functionName":"runMatcher","ranges":[{"startOffset":600,"endOffset":877,"count":1},{"startOffset":708,"endOffset":876,"count":0}],"isBlockCoverage":true},{"functionName":"findUpMultipleSync","ranges":[{"startOffset":1352,"endOffset":2334,"count":0}],"isBlockCoverage":false},{"functionName":"findUp","ranges":[{"startOffset":2343,"endOffset":2477,"count":1}],"isBlockCoverage":true},{"functionName":"findUpSync","ranges":[{"startOffset":2486,"endOffset":2616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"239","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/load-json-file/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":653,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":93,"endOffset":389,"count":1},{"startOffset":319,"endOffset":351,"count":0}],"isBlockCoverage":true},{"functionName":"loadJsonFile","ranges":[{"startOffset":399,"endOffset":523,"count":1}],"isBlockCoverage":true},{"functionName":"loadJsonFileSync","ranges":[{"startOffset":532,"endOffset":652,"count":0}],"isBlockCoverage":false}]},{"scriptId":"240","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/parse-ms/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":627,"count":1}],"isBlockCoverage":true},{"functionName":"parseMilliseconds","ranges":[{"startOffset":15,"endOffset":626,"count":0}],"isBlockCoverage":false}]},{"scriptId":"241","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cli-truncate/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2759,"count":1}],"isBlockCoverage":true},{"functionName":"getIndexOfNearestSpace","ranges":[{"startOffset":77,"endOffset":501,"count":0}],"isBlockCoverage":false},{"functionName":"cliTruncate","ranges":[{"startOffset":518,"endOffset":2758,"count":0}],"isBlockCoverage":false}]},{"scriptId":"242","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/code-excerpt/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":934,"count":1}],"isBlockCoverage":true},{"functionName":"generateLineNumbers","ranges":[{"startOffset":74,"endOffset":319,"count":0}],"isBlockCoverage":false},{"functionName":"codeExcerpt","ranges":[{"startOffset":341,"endOffset":904,"count":0}],"isBlockCoverage":false}]},{"scriptId":"243","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/node_modules/ansi-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":350,"count":1}],"isBlockCoverage":true},{"functionName":"ansiRegex","ranges":[{"startOffset":15,"endOffset":349,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true}]},{"scriptId":"244","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/supertap/node_modules/strip-ansi/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":468,"count":1}],"isBlockCoverage":true},{"functionName":"stripAnsi","ranges":[{"startOffset":80,"endOffset":467,"count":0}],"isBlockCoverage":false}]},{"scriptId":"245","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cliui/build/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9667,"count":1}],"isBlockCoverage":true},{"functionName":"UI","ranges":[{"startOffset":168,"endOffset":342,"count":0}],"isBlockCoverage":false},{"functionName":"span","ranges":[{"startOffset":347,"endOffset":434,"count":0}],"isBlockCoverage":false},{"functionName":"resetOutput","ranges":[{"startOffset":439,"endOffset":484,"count":0}],"isBlockCoverage":false},{"functionName":"div","ranges":[{"startOffset":489,"endOffset":962,"count":0}],"isBlockCoverage":false},{"functionName":"shouldApplyLayoutDSL","ranges":[{"startOffset":967,"endOffset":1107,"count":0}],"isBlockCoverage":false},{"functionName":"applyLayoutDSL","ranges":[{"startOffset":1112,"endOffset":2210,"count":0}],"isBlockCoverage":false},{"functionName":"colFromString","ranges":[{"startOffset":2215,"endOffset":2335,"count":0}],"isBlockCoverage":false},{"functionName":"measurePadding","ranges":[{"startOffset":2340,"endOffset":2552,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2557,"endOffset":2886,"count":0}],"isBlockCoverage":false},{"functionName":"rowToString","ranges":[{"startOffset":2891,"endOffset":4776,"count":0}],"isBlockCoverage":false},{"functionName":"renderInline","ranges":[{"startOffset":4854,"endOffset":5619,"count":0}],"isBlockCoverage":false},{"functionName":"rasterize","ranges":[{"startOffset":5624,"endOffset":7071,"count":0}],"isBlockCoverage":false},{"functionName":"negatePadding","ranges":[{"startOffset":7076,"endOffset":7348,"count":0}],"isBlockCoverage":false},{"functionName":"columnWidths","ranges":[{"startOffset":7353,"endOffset":8190,"count":0}],"isBlockCoverage":false},{"functionName":"addBorder","ranges":[{"startOffset":8193,"endOffset":8439,"count":0}],"isBlockCoverage":false},{"functionName":"_minWidth","ranges":[{"startOffset":8518,"endOffset":8733,"count":0}],"isBlockCoverage":false},{"functionName":"getWindowWidth","ranges":[{"startOffset":8734,"endOffset":8958,"count":0}],"isBlockCoverage":false},{"functionName":"alignRight","ranges":[{"startOffset":8959,"endOffset":9162,"count":0}],"isBlockCoverage":false},{"functionName":"alignCenter","ranges":[{"startOffset":9163,"endOffset":9406,"count":0}],"isBlockCoverage":false},{"functionName":"cliui","ranges":[{"startOffset":9425,"endOffset":9666,"count":0}],"isBlockCoverage":false}]},{"scriptId":"246","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cliui/build/lib/string-utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1011,"count":1}],"isBlockCoverage":true},{"functionName":"stripAnsi","ranges":[{"startOffset":548,"endOffset":609,"count":0}],"isBlockCoverage":false},{"functionName":"wrap","ranges":[{"startOffset":617,"endOffset":1010,"count":0}],"isBlockCoverage":false}]},{"scriptId":"247","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/y18n/build/lib/platform-shims/node.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":377,"count":1}],"isBlockCoverage":true},{"functionName":"exists","ranges":[{"startOffset":230,"endOffset":373,"count":2},{"startOffset":318,"endOffset":367,"count":1}],"isBlockCoverage":true}]},{"scriptId":"248","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/y18n/build/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6268,"count":1}],"isBlockCoverage":true},{"functionName":"Y18N","ranges":[{"startOffset":27,"endOffset":515,"count":1},{"startOffset":100,"endOffset":105,"count":0},{"startOffset":147,"endOffset":161,"count":0},{"startOffset":247,"endOffset":253,"count":0},{"startOffset":377,"endOffset":402,"count":0}],"isBlockCoverage":true},{"functionName":"__","ranges":[{"startOffset":520,"endOffset":1587,"count":1},{"startOffset":580,"endOffset":659,"count":0},{"startOffset":817,"endOffset":833,"count":0},{"startOffset":850,"endOffset":868,"count":0},{"startOffset":1061,"endOffset":1080,"count":0},{"startOffset":1082,"endOffset":1439,"count":0},{"startOffset":1559,"endOffset":1565,"count":0}],"isBlockCoverage":true},{"functionName":"cb","ranges":[{"startOffset":711,"endOffset":726,"count":1}],"isBlockCoverage":true},{"functionName":"cb","ranges":[{"startOffset":853,"endOffset":868,"count":0}],"isBlockCoverage":false},{"functionName":"__n","ranges":[{"startOffset":1592,"endOffset":3115,"count":0}],"isBlockCoverage":false},{"functionName":"setLocale","ranges":[{"startOffset":3120,"endOffset":3175,"count":2}],"isBlockCoverage":true},{"functionName":"getLocale","ranges":[{"startOffset":3180,"endOffset":3227,"count":0}],"isBlockCoverage":false},{"functionName":"updateLocale","ranges":[{"startOffset":3232,"endOffset":3511,"count":0}],"isBlockCoverage":false},{"functionName":"_taggedLiteral","ranges":[{"startOffset":3516,"endOffset":3856,"count":0}],"isBlockCoverage":false},{"functionName":"_enqueueWrite","ranges":[{"startOffset":3861,"endOffset":4005,"count":0}],"isBlockCoverage":false},{"functionName":"_processWriteQueue","ranges":[{"startOffset":4010,"endOffset":4650,"count":0}],"isBlockCoverage":false},{"functionName":"_readLocaleFile","ranges":[{"startOffset":4655,"endOffset":5369,"count":1},{"startOffset":5049,"endOffset":5315,"count":0}],"isBlockCoverage":true},{"functionName":"_resolveLocaleFile","ranges":[{"startOffset":5374,"endOffset":5850,"count":1}],"isBlockCoverage":true},{"functionName":"_fileExistsSync","ranges":[{"startOffset":5855,"endOffset":5918,"count":2}],"isBlockCoverage":true},{"functionName":"y18n","ranges":[{"startOffset":5928,"endOffset":6267,"count":1}],"isBlockCoverage":true}]},{"scriptId":"249","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/build/lib/parse-command.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1060,"count":1}],"isBlockCoverage":true},{"functionName":"parseCommand","ranges":[{"startOffset":7,"endOffset":1059,"count":119},{"startOffset":299,"endOffset":346,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":498,"endOffset":1029,"count":247},{"startOffset":613,"endOffset":645,"count":3},{"startOffset":659,"endOffset":675,"count":3},{"startOffset":705,"endOffset":857,"count":142},{"startOffset":857,"endOffset":1023,"count":105}],"isBlockCoverage":true}]},{"scriptId":"250","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/build/lib/utils/which-module.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":321,"count":1}],"isBlockCoverage":true},{"functionName":"whichModule","ranges":[{"startOffset":15,"endOffset":320,"count":0}],"isBlockCoverage":false}]},{"scriptId":"251","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/build/lib/completion-templates.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1452,"count":1}],"isBlockCoverage":true}]},{"scriptId":"252","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs/build/lib/utils/levenshtein.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1031,"count":1}],"isBlockCoverage":true},{"functionName":"levenshtein","ranges":[{"startOffset":7,"endOffset":1030,"count":0}],"isBlockCoverage":false}]},{"scriptId":"253","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs-parser/build/lib/tokenize-arg-string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1092,"count":1}],"isBlockCoverage":true},{"functionName":"tokenizeArgString","ranges":[{"startOffset":144,"endOffset":1091,"count":3},{"startOffset":296,"endOffset":1090,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":249,"endOffset":288,"count":0}],"isBlockCoverage":false}]},{"scriptId":"254","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yargs-parser/build/lib/yargs-parser-types.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":425,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":125,"endOffset":363,"count":1}],"isBlockCoverage":true}]},{"scriptId":"255","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/clean-stack/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1517,"count":1},{"startOffset":332,"endOffset":336,"count":0}],"isBlockCoverage":true},{"functionName":"cleanStack","ranges":[{"startOffset":389,"endOffset":1516,"count":0}],"isBlockCoverage":false}]},{"scriptId":"256","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-timeout/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2513,"count":1}],"isBlockCoverage":true},{"functionName":"TimeoutError","ranges":[{"startOffset":43,"endOffset":116,"count":0}],"isBlockCoverage":false},{"functionName":"AbortError","ranges":[{"startOffset":315,"endOffset":405,"count":0}],"isBlockCoverage":false},{"functionName":"getDOMException","ranges":[{"startOffset":516,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"getAbortedReason","ranges":[{"startOffset":755,"endOffset":951,"count":0}],"isBlockCoverage":false},{"functionName":"pTimeout","ranges":[{"startOffset":969,"endOffset":2512,"count":0}],"isBlockCoverage":false}]},{"scriptId":"257","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-promise/index.mjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":151,"count":1}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":15,"endOffset":150,"count":0}],"isBlockCoverage":false}]},{"scriptId":"258","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/like-selector.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1333,"count":1}],"isBlockCoverage":true},{"functionName":"isPrimitive","ranges":[{"startOffset":20,"endOffset":72,"count":0}],"isBlockCoverage":false},{"functionName":"isLikeSelector","ranges":[{"startOffset":82,"endOffset":520,"count":0}],"isBlockCoverage":false},{"functionName":"selectComparable","ranges":[{"startOffset":609,"endOffset":1332,"count":0}],"isBlockCoverage":false}]},{"scriptId":"259","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/snapshot-manager.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13174,"count":1}],"isBlockCoverage":true},{"functionName":"SnapshotError","ranges":[{"startOffset":1259,"endOffset":1371,"count":0}],"isBlockCoverage":false},{"functionName":"ChecksumError","ranges":[{"startOffset":1427,"endOffset":1524,"count":0}],"isBlockCoverage":false},{"functionName":"VersionMismatchError","ranges":[{"startOffset":1587,"endOffset":1774,"count":0}],"isBlockCoverage":false},{"functionName":"InvalidSnapshotError","ranges":[{"startOffset":1837,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"isLegacySnapshot","ranges":[{"startOffset":2016,"endOffset":2144,"count":0}],"isBlockCoverage":false},{"functionName":"LegacyError","ranges":[{"startOffset":2196,"endOffset":2294,"count":0}],"isBlockCoverage":false},{"functionName":"tryRead","ranges":[{"startOffset":2298,"endOffset":2454,"count":0}],"isBlockCoverage":false},{"functionName":"formatEntry","ranges":[{"startOffset":2456,"endOffset":2875,"count":0}],"isBlockCoverage":false},{"functionName":"combineEntries","ranges":[{"startOffset":2877,"endOffset":3292,"count":0}],"isBlockCoverage":false},{"functionName":"generateReport","ranges":[{"startOffset":3294,"endOffset":3611,"count":0}],"isBlockCoverage":false},{"functionName":"BufferBuilder","ranges":[{"startOffset":3636,"endOffset":3698,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":3701,"endOffset":3818,"count":0}],"isBlockCoverage":false},{"functionName":"write","ranges":[{"startOffset":3821,"endOffset":4011,"count":0}],"isBlockCoverage":false},{"functionName":"toBuffer","ranges":[{"startOffset":4014,"endOffset":4084,"count":0}],"isBlockCoverage":false},{"functionName":"sortBlocks","ranges":[{"startOffset":4088,"endOffset":4448,"count":0}],"isBlockCoverage":false},{"functionName":"encodeSnapshots","ranges":[{"startOffset":4450,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"decodeSnapshots","ranges":[{"startOffset":5016,"endOffset":5987,"count":0}],"isBlockCoverage":false},{"functionName":"Manager","ranges":[{"startOffset":6006,"endOffset":6530,"count":0}],"isBlockCoverage":false},{"functionName":"touch","ranges":[{"startOffset":6533,"endOffset":6604,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":6607,"endOffset":7342,"count":0}],"isBlockCoverage":false},{"functionName":"recordSerialized","ranges":[{"startOffset":7345,"endOffset":8027,"count":0}],"isBlockCoverage":false},{"functionName":"deferRecord","ranges":[{"startOffset":8030,"endOffset":8370,"count":0}],"isBlockCoverage":false},{"functionName":"record","ranges":[{"startOffset":8373,"endOffset":8449,"count":0}],"isBlockCoverage":false},{"functionName":"skipBlock","ranges":[{"startOffset":8452,"endOffset":8587,"count":0}],"isBlockCoverage":false},{"functionName":"skipSnapshot","ranges":[{"startOffset":8590,"endOffset":9164,"count":0}],"isBlockCoverage":false},{"functionName":"save","ranges":[{"startOffset":9167,"endOffset":10106,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10140,"endOffset":10658,"count":0}],"isBlockCoverage":false},{"functionName":"mem.cacheKey.file.file","ranges":[{"startOffset":10702,"endOffset":11285,"count":0}],"isBlockCoverage":false},{"functionName":"cacheKey","ranges":[{"startOffset":11298,"endOffset":11316,"count":0}],"isBlockCoverage":false},{"functionName":"determineSnapshotPaths","ranges":[{"startOffset":11321,"endOffset":11775,"count":0}],"isBlockCoverage":false},{"functionName":"cleanFile","ranges":[{"startOffset":11777,"endOffset":11941,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":11950,"endOffset":13173,"count":0}],"isBlockCoverage":false}]},{"scriptId":"260","url":"node:internal/file","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1801,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":424,"endOffset":1563,"count":0}],"isBlockCoverage":false}]},{"scriptId":"261","url":"node:crypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8825,"count":1}],"isBlockCoverage":false},{"functionName":"lazyWebCrypto","ranges":[{"startOffset":3084,"endOffset":3186,"count":6}],"isBlockCoverage":true},{"functionName":"lazyOwnsProcessState","ranges":[{"startOffset":3210,"endOffset":3340,"count":0}],"isBlockCoverage":false},{"functionName":"createHash","ranges":[{"startOffset":3482,"endOffset":3564,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3566,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"createCipheriv","ranges":[{"startOffset":3668,"endOffset":3770,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipher","ranges":[{"startOffset":3772,"endOffset":3876,"count":0}],"isBlockCoverage":false},{"functionName":"createDecipheriv","ranges":[{"startOffset":3878,"endOffset":3984,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellman","ranges":[{"startOffset":3986,"endOffset":4142,"count":0}],"isBlockCoverage":false},{"functionName":"createDiffieHellmanGroup","ranges":[{"startOffset":4144,"endOffset":4226,"count":0}],"isBlockCoverage":false},{"functionName":"createECDH","ranges":[{"startOffset":4228,"endOffset":4284,"count":0}],"isBlockCoverage":false},{"functionName":"createHmac","ranges":[{"startOffset":4286,"endOffset":4368,"count":0}],"isBlockCoverage":false},{"functionName":"createSign","ranges":[{"startOffset":4370,"endOffset":4452,"count":0}],"isBlockCoverage":false},{"functionName":"createVerify","ranges":[{"startOffset":4454,"endOffset":4540,"count":0}],"isBlockCoverage":false},{"functionName":"getFips","ranges":[{"startOffset":5583,"endOffset":5668,"count":0}],"isBlockCoverage":false},{"functionName":"setFips","ranges":[{"startOffset":5670,"endOffset":5954,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":5956,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6125,"endOffset":6379,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":6383,"endOffset":6572,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomBytesAlias","ranges":[{"startOffset":6621,"endOffset":7454,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":6719,"endOffset":7209,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":7215,"endOffset":7446,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":8198,"endOffset":8238,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8350,"endOffset":8397,"count":3}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":8523,"endOffset":8544,"count":3}],"isBlockCoverage":true}]},{"scriptId":"262","url":"node:internal/crypto/random","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16246,"count":1}],"isBlockCoverage":false},{"functionName":"assertOffset","ranges":[{"startOffset":1260,"endOffset":1626,"count":0}],"isBlockCoverage":false},{"functionName":"assertSize","ranges":[{"startOffset":1628,"endOffset":2089,"count":0}],"isBlockCoverage":false},{"functionName":"randomBytes","ranges":[{"startOffset":2091,"endOffset":2634,"count":0}],"isBlockCoverage":false},{"functionName":"randomFillSync","ranges":[{"startOffset":2636,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"randomFill","ranges":[{"startOffset":3306,"endOffset":4352,"count":0}],"isBlockCoverage":false},{"functionName":"randomInt","ranges":[{"startOffset":4902,"endOffset":7142,"count":0}],"isBlockCoverage":false},{"functionName":"asyncRefillRandomIntCache","ranges":[{"startOffset":7144,"endOffset":8020,"count":0}],"isBlockCoverage":false},{"functionName":"onJobDone","ranges":[{"startOffset":8023,"endOffset":8185,"count":0}],"isBlockCoverage":false},{"functionName":"getRandomValues","ranges":[{"startOffset":8417,"endOffset":9033,"count":0}],"isBlockCoverage":false},{"functionName":"getHexBytes","ranges":[{"startOffset":9398,"endOffset":9697,"count":0}],"isBlockCoverage":false},{"functionName":"serializeUUID","ranges":[{"startOffset":9699,"endOffset":10425,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedUUID","ranges":[{"startOffset":10427,"endOffset":10730,"count":0}],"isBlockCoverage":false},{"functionName":"getUnbufferedUUID","ranges":[{"startOffset":10732,"endOffset":10970,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":10972,"endOffset":11292,"count":0}],"isBlockCoverage":false},{"functionName":"createRandomPrimeJob","ranges":[{"startOffset":11294,"endOffset":12527,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrime","ranges":[{"startOffset":12529,"endOffset":12985,"count":0}],"isBlockCoverage":false},{"functionName":"generatePrimeSync","ranges":[{"startOffset":12987,"endOffset":13245,"count":0}],"isBlockCoverage":false},{"functionName":"numberToHexCharCode","ranges":[{"startOffset":13519,"endOffset":13563,"count":0}],"isBlockCoverage":false},{"functionName":"arrayBufferToUnsignedBigInt","ranges":[{"startOffset":13638,"endOffset":14065,"count":0}],"isBlockCoverage":false},{"functionName":"unsignedBigIntToBuffer","ranges":[{"startOffset":14067,"endOffset":14364,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrime","ranges":[{"startOffset":14366,"endOffset":15259,"count":0}],"isBlockCoverage":false},{"functionName":"checkPrimeSync","ranges":[{"startOffset":15261,"endOffset":16059,"count":0}],"isBlockCoverage":false}]},{"scriptId":"263","url":"node:internal/crypto/pbkdf2","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3018,"count":1}],"isBlockCoverage":false},{"functionName":"pbkdf2","ranges":[{"startOffset":472,"endOffset":1136,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2Sync","ranges":[{"startOffset":1138,"endOffset":1543,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1545,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"pbkdf2DeriveBits","ranges":[{"startOffset":2059,"endOffset":2950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"264","url":"node:internal/crypto/util","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14973,"count":1}],"isBlockCoverage":false},{"functionName":"toBuf","ranges":[{"startOffset":1730,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1943,"endOffset":1986,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2020,"endOffset":2062,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2096,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"setEngine","ranges":[{"startOffset":2142,"endOffset":2549,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2596,"endOffset":3060,"count":0}],"isBlockCoverage":false},{"functionName":"validateMaxBufferLength","ranges":[{"startOffset":6504,"endOffset":6717,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeAlgorithm","ranges":[{"startOffset":6943,"endOffset":9378,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayBuffer","ranges":[{"startOffset":9380,"endOffset":9519,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteOffset","ranges":[{"startOffset":9521,"endOffset":9672,"count":0}],"isBlockCoverage":false},{"functionName":"getDataViewOrTypedArrayByteLength","ranges":[{"startOffset":9674,"endOffset":9825,"count":0}],"isBlockCoverage":false},{"functionName":"hasAnyNotIn","ranges":[{"startOffset":9827,"endOffset":9966,"count":0}],"isBlockCoverage":false},{"functionName":"validateBitLength","ranges":[{"startOffset":9968,"endOffset":10310,"count":0}],"isBlockCoverage":false},{"functionName":"validateByteLength","ranges":[{"startOffset":10312,"endOffset":10508,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10553,"endOffset":10822,"count":0}],"isBlockCoverage":false},{"functionName":"onDone","ranges":[{"startOffset":10826,"endOffset":11058,"count":0}],"isBlockCoverage":false},{"functionName":"jobPromise","ranges":[{"startOffset":11060,"endOffset":11330,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedInt","ranges":[{"startOffset":11866,"endOffset":12146,"count":0}],"isBlockCoverage":false},{"functionName":"bigIntArrayToUnsignedBigInt","ranges":[{"startOffset":12148,"endOffset":12384,"count":0}],"isBlockCoverage":false},{"functionName":"getStringOption","ranges":[{"startOffset":12386,"endOffset":12551,"count":0}],"isBlockCoverage":false},{"functionName":"getUsagesUnion","ranges":[{"startOffset":12553,"endOffset":12765,"count":0}],"isBlockCoverage":false},{"functionName":"getBlockSize","ranges":[{"startOffset":12767,"endOffset":12948,"count":0}],"isBlockCoverage":false},{"functionName":"validateKeyOps","ranges":[{"startOffset":13087,"endOffset":14053,"count":0}],"isBlockCoverage":false},{"functionName":"secureHeapUsed","ranges":[{"startOffset":14055,"endOffset":14438,"count":0}],"isBlockCoverage":false}]},{"scriptId":"265","url":"node:internal/crypto/hashnames","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2520,"count":1}],"isBlockCoverage":false},{"functionName":"normalizeHashName","ranges":[{"startOffset":1890,"endOffset":2133,"count":0}],"isBlockCoverage":false}]},{"scriptId":"266","url":"node:internal/crypto/scrypt","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3331,"count":1}],"isBlockCoverage":false},{"functionName":"scrypt","ranges":[{"startOffset":626,"endOffset":1292,"count":0}],"isBlockCoverage":false},{"functionName":"scryptSync","ranges":[{"startOffset":1294,"endOffset":1700,"count":0}],"isBlockCoverage":false},{"functionName":"check","ranges":[{"startOffset":1702,"endOffset":3283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"267","url":"node:internal/crypto/hkdf","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3304,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":816,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"prepareKey","ranges":[{"startOffset":1274,"endOffset":1702,"count":0}],"isBlockCoverage":false},{"functionName":"hkdf","ranges":[{"startOffset":1704,"endOffset":2170,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfSync","ranges":[{"startOffset":2172,"endOffset":2510,"count":0}],"isBlockCoverage":false},{"functionName":"hkdfDeriveBits","ranges":[{"startOffset":2549,"endOffset":3242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"268","url":"node:internal/crypto/keys","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":21401,"count":1}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2331,"endOffset":6452,"count":1}],"isBlockCoverage":true},{"functionName":"KeyObject","ranges":[{"startOffset":2441,"endOffset":2983,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":2989,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"from","ranges":[{"startOffset":3049,"endOffset":3190,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":3196,"endOffset":3480,"count":0}],"isBlockCoverage":false},{"functionName":"SecretKeyObject","ranges":[{"startOffset":3698,"endOffset":3756,"count":0}],"isBlockCoverage":false},{"functionName":"get symmetricKeySize","ranges":[{"startOffset":3762,"endOffset":3842,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":3848,"endOffset":4196,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeKeyDetails","ranges":[{"startOffset":4329,"endOffset":4598,"count":0}],"isBlockCoverage":false},{"functionName":"AsymmetricKeyObject","ranges":[{"startOffset":4707,"endOffset":4767,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyType","ranges":[{"startOffset":4773,"endOffset":4925,"count":0}],"isBlockCoverage":false},{"functionName":"get asymmetricKeyDetails","ranges":[{"startOffset":4931,"endOffset":5308,"count":0}],"isBlockCoverage":false},{"functionName":"PublicKeyObject","ranges":[{"startOffset":5372,"endOffset":5430,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5436,"endOffset":5727,"count":0}],"isBlockCoverage":false},{"functionName":"PrivateKeyObject","ranges":[{"startOffset":5792,"endOffset":5851,"count":0}],"isBlockCoverage":false},{"functionName":"export","ranges":[{"startOffset":5857,"endOffset":6371,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormat","ranges":[{"startOffset":6456,"endOffset":6841,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyType","ranges":[{"startOffset":6843,"endOffset":7695,"count":0}],"isBlockCoverage":false},{"functionName":"option","ranges":[{"startOffset":7697,"endOffset":7818,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyFormatAndType","ranges":[{"startOffset":7820,"endOffset":8520,"count":0}],"isBlockCoverage":false},{"functionName":"isStringOrBuffer","ranges":[{"startOffset":8522,"endOffset":8659,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":8661,"endOffset":10019,"count":0}],"isBlockCoverage":false},{"functionName":"parsePublicKeyEncoding","ranges":[{"startOffset":10218,"endOffset":10354,"count":0}],"isBlockCoverage":false},{"functionName":"parsePrivateKeyEncoding","ranges":[{"startOffset":10554,"endOffset":10670,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandle","ranges":[{"startOffset":10672,"endOffset":11250,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyTypes","ranges":[{"startOffset":11252,"endOffset":11757,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyObjectHandleFromJwk","ranges":[{"startOffset":11759,"endOffset":14308,"count":0}],"isBlockCoverage":false},{"functionName":"prepareAsymmetricKey","ranges":[{"startOffset":14310,"endOffset":15853,"count":0}],"isBlockCoverage":false},{"functionName":"preparePrivateKey","ranges":[{"startOffset":15855,"endOffset":15943,"count":0}],"isBlockCoverage":false},{"functionName":"preparePublicOrPrivateKey","ranges":[{"startOffset":15945,"endOffset":16040,"count":0}],"isBlockCoverage":false},{"functionName":"prepareSecretKey","ranges":[{"startOffset":16042,"endOffset":16740,"count":0}],"isBlockCoverage":false},{"functionName":"createSecretKey","ranges":[{"startOffset":16742,"endOffset":16946,"count":0}],"isBlockCoverage":false},{"functionName":"createPublicKey","ranges":[{"startOffset":16948,"endOffset":17285,"count":0}],"isBlockCoverage":false},{"functionName":"createPrivateKey","ranges":[{"startOffset":17287,"endOffset":17628,"count":0}],"isBlockCoverage":false},{"functionName":"isKeyObject","ranges":[{"startOffset":17630,"endOffset":17712,"count":0}],"isBlockCoverage":false},{"functionName":"CryptoKey","ranges":[{"startOffset":18135,"endOffset":18195,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":18199,"endOffset":18548,"count":0}],"isBlockCoverage":false},{"functionName":"get type","ranges":[{"startOffset":18552,"endOffset":18687,"count":0}],"isBlockCoverage":false},{"functionName":"get extractable","ranges":[{"startOffset":18691,"endOffset":18830,"count":0}],"isBlockCoverage":false},{"functionName":"get algorithm","ranges":[{"startOffset":18834,"endOffset":18969,"count":0}],"isBlockCoverage":false},{"functionName":"get usages","ranges":[{"startOffset":18973,"endOffset":19116,"count":0}],"isBlockCoverage":false},{"functionName":"InternalCryptoKey","ranges":[{"startOffset":19694,"endOffset":20173,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20177,"endOffset":20529,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":20533,"endOffset":20737,"count":0}],"isBlockCoverage":false},{"functionName":"isCryptoKey","ranges":[{"startOffset":20866,"endOffset":20950,"count":0}],"isBlockCoverage":false}]},{"scriptId":"269","url":"node:internal/crypto/keygen","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10712,"count":1}],"isBlockCoverage":false},{"functionName":"isJwk","ranges":[{"startOffset":1183,"endOffset":1253,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":1255,"endOffset":1409,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPair","ranges":[{"startOffset":1411,"endOffset":2047,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyPairSync","ranges":[{"startOffset":2193,"endOffset":2310,"count":0}],"isBlockCoverage":false},{"functionName":"handleError","ranges":[{"startOffset":2312,"endOffset":2690,"count":0}],"isBlockCoverage":false},{"functionName":"parseKeyEncoding","ranges":[{"startOffset":2692,"endOffset":3942,"count":0}],"isBlockCoverage":false},{"functionName":"createJob","ranges":[{"startOffset":3944,"endOffset":9232,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeyJob","ranges":[{"startOffset":9263,"endOffset":9800,"count":0}],"isBlockCoverage":false},{"functionName":"handleGenerateKeyError","ranges":[{"startOffset":9802,"endOffset":10004,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":10006,"endOffset":10476,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeySync","ranges":[{"startOffset":10478,"endOffset":10612,"count":0}],"isBlockCoverage":false}]},{"scriptId":"270","url":"node:internal/crypto/diffiehellman","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9910,"count":1}],"isBlockCoverage":false},{"functionName":"DiffieHellman","ranges":[{"startOffset":1232,"endOffset":3036,"count":0}],"isBlockCoverage":false},{"functionName":"DiffieHellmanGroup","ranges":[{"startOffset":3039,"endOffset":3365,"count":0}],"isBlockCoverage":false},{"functionName":"dhGenerateKeys","ranges":[{"startOffset":3476,"endOffset":3591,"count":0}],"isBlockCoverage":false},{"functionName":"dhComputeSecret","ranges":[{"startOffset":3705,"endOffset":3963,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrime","ranges":[{"startOffset":4062,"endOffset":4171,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetGenerator","ranges":[{"startOffset":4282,"endOffset":4407,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPublicKey","ranges":[{"startOffset":4518,"endOffset":4631,"count":0}],"isBlockCoverage":false},{"functionName":"dhGetPrivateKey","ranges":[{"startOffset":4745,"endOffset":4860,"count":0}],"isBlockCoverage":false},{"functionName":"setPublicKey","ranges":[{"startOffset":4902,"endOffset":5044,"count":0}],"isBlockCoverage":false},{"functionName":"setPrivateKey","ranges":[{"startOffset":5088,"endOffset":5232,"count":0}],"isBlockCoverage":false},{"functionName":"ECDH","ranges":[{"startOffset":5236,"endOffset":5390,"count":0}],"isBlockCoverage":false},{"functionName":"generateKeys","ranges":[{"startOffset":5701,"endOffset":5823,"count":0}],"isBlockCoverage":false},{"functionName":"getPublicKey","ranges":[{"startOffset":5856,"endOffset":6007,"count":0}],"isBlockCoverage":false},{"functionName":"convertKey","ranges":[{"startOffset":6028,"endOffset":6294,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6297,"endOffset":6432,"count":0}],"isBlockCoverage":false},{"functionName":"getFormat","ranges":[{"startOffset":6434,"endOffset":6757,"count":0}],"isBlockCoverage":false},{"functionName":"diffieHellman","ranges":[{"startOffset":6831,"endOffset":7899,"count":0}],"isBlockCoverage":false},{"functionName":"ecdhDeriveBits","ranges":[{"startOffset":8018,"endOffset":9804,"count":0}],"isBlockCoverage":false}]},{"scriptId":"271","url":"node:internal/crypto/cipher","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10199,"count":1}],"isBlockCoverage":false},{"functionName":"rsaFunctionFor","ranges":[{"startOffset":1233,"endOffset":1981,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1301,"endOffset":1978,"count":0}],"isBlockCoverage":false},{"functionName":"getDecoder","ranges":[{"startOffset":2482,"endOffset":2848,"count":0}],"isBlockCoverage":false},{"functionName":"getUIntOption","ranges":[{"startOffset":2850,"endOffset":3084,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherBase","ranges":[{"startOffset":3086,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"createCipher","ranges":[{"startOffset":3507,"endOffset":3742,"count":0}],"isBlockCoverage":false},{"functionName":"createCipherWithIV","ranges":[{"startOffset":3744,"endOffset":4083,"count":0}],"isBlockCoverage":false},{"functionName":"Cipher","ranges":[{"startOffset":4326,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":4670,"endOffset":4786,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":4815,"endOffset":4953,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":4982,"endOffset":5498,"count":0}],"isBlockCoverage":false},{"functionName":"final","ranges":[{"startOffset":5527,"endOffset":5771,"count":0}],"isBlockCoverage":false},{"functionName":"setAutoPadding","ranges":[{"startOffset":5809,"endOffset":5956,"count":0}],"isBlockCoverage":false},{"functionName":"getAuthTag","ranges":[{"startOffset":5989,"endOffset":6149,"count":0}],"isBlockCoverage":false},{"functionName":"setAuthTag","ranges":[{"startOffset":6153,"endOffset":6365,"count":0}],"isBlockCoverage":false},{"functionName":"setAAD","ranges":[{"startOffset":6393,"endOffset":6735,"count":0}],"isBlockCoverage":false},{"functionName":"Cipheriv","ranges":[{"startOffset":6983,"endOffset":7193,"count":0}],"isBlockCoverage":false},{"functionName":"addCipherPrototypeFunctions","ranges":[{"startOffset":7195,"endOffset":7786,"count":3},{"startOffset":7591,"endOffset":7664,"count":1},{"startOffset":7664,"endOffset":7726,"count":2}],"isBlockCoverage":true},{"functionName":"Decipher","ranges":[{"startOffset":8187,"endOffset":8395,"count":0}],"isBlockCoverage":false},{"functionName":"Decipheriv","ranges":[{"startOffset":8800,"endOffset":9017,"count":0}],"isBlockCoverage":false},{"functionName":"getCipherInfo","ranges":[{"startOffset":9179,"endOffset":10040,"count":0}],"isBlockCoverage":false}]},{"scriptId":"272","url":"node:internal/streams/lazy_transform","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1535,"count":1}],"isBlockCoverage":false},{"functionName":"LazyTransform","ranges":[{"startOffset":401,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"makeGetter","ranges":[{"startOffset":595,"endOffset":918,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":632,"endOffset":915,"count":0}],"isBlockCoverage":false},{"functionName":"makeSetter","ranges":[{"startOffset":920,"endOffset":1139,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":957,"endOffset":1136,"count":0}],"isBlockCoverage":false}]},{"scriptId":"273","url":"node:internal/crypto/sig","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6942,"count":1}],"isBlockCoverage":false},{"functionName":"Sign","ranges":[{"startOffset":870,"endOffset":1129,"count":0}],"isBlockCoverage":false},{"functionName":"_write","ranges":[{"startOffset":1252,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":1371,"endOffset":1684,"count":0}],"isBlockCoverage":false},{"functionName":"getPadding","ranges":[{"startOffset":1687,"endOffset":1762,"count":0}],"isBlockCoverage":false},{"functionName":"getSaltLength","ranges":[{"startOffset":1764,"endOffset":1845,"count":0}],"isBlockCoverage":false},{"functionName":"getDSASignatureEncoding","ranges":[{"startOffset":1847,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"getIntOption","ranges":[{"startOffset":2201,"endOffset":2446,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":2470,"endOffset":3086,"count":0}],"isBlockCoverage":false},{"functionName":"signOneShot","ranges":[{"startOffset":3089,"endOffset":4307,"count":0}],"isBlockCoverage":false},{"functionName":"Verify","ranges":[{"startOffset":4309,"endOffset":4576,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":4804,"endOffset":5387,"count":0}],"isBlockCoverage":false},{"functionName":"verifyOneShot","ranges":[{"startOffset":5390,"endOffset":6868,"count":0}],"isBlockCoverage":false}]},{"scriptId":"274","url":"node:internal/crypto/hash","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4553,"count":1}],"isBlockCoverage":false},{"functionName":"Hash","ranges":[{"startOffset":954,"endOffset":1474,"count":0}],"isBlockCoverage":false},{"functionName":"copy","ranges":[{"startOffset":1605,"endOffset":1773,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1804,"endOffset":1909,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":1936,"endOffset":2016,"count":0}],"isBlockCoverage":false},{"functionName":"update","ranges":[{"startOffset":2043,"endOffset":2507,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":2535,"endOffset":2856,"count":0}],"isBlockCoverage":false},{"functionName":"Hmac","ranges":[{"startOffset":2859,"endOffset":3259,"count":0}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":3440,"endOffset":3872,"count":0}],"isBlockCoverage":false},{"functionName":"asyncDigest","ranges":[{"startOffset":4027,"endOffset":4498,"count":0}],"isBlockCoverage":false}]},{"scriptId":"275","url":"node:internal/crypto/x509","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9909,"count":1}],"isBlockCoverage":false},{"functionName":"isX509Certificate","ranges":[{"startOffset":1155,"endOffset":1238,"count":0}],"isBlockCoverage":false},{"functionName":"getFlags","ranges":[{"startOffset":1240,"endOffset":2485,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2487,"endOffset":2649,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2651,"endOffset":9663,"count":0}],"isBlockCoverage":false}]},{"scriptId":"276","url":"node:internal/crypto/certificate","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1546,"count":1}],"isBlockCoverage":false},{"functionName":"verifySpkac","ranges":[{"startOffset":385,"endOffset":505,"count":0}],"isBlockCoverage":false},{"functionName":"exportPublicKey","ranges":[{"startOffset":507,"endOffset":635,"count":0}],"isBlockCoverage":false},{"functionName":"exportChallenge","ranges":[{"startOffset":637,"endOffset":765,"count":0}],"isBlockCoverage":false},{"functionName":"Certificate","ranges":[{"startOffset":1122,"endOffset":1216,"count":0}],"isBlockCoverage":false}]},{"scriptId":"277","url":"node:internal/crypto/webcrypto","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":30940,"count":1}],"isBlockCoverage":false},{"functionName":"digest","ranges":[{"startOffset":1190,"endOffset":1799,"count":0}],"isBlockCoverage":false},{"functionName":"randomUUID","ranges":[{"startOffset":1801,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"generateKey","ranges":[{"startOffset":1913,"endOffset":4408,"count":0}],"isBlockCoverage":false},{"functionName":"deriveBits","ranges":[{"startOffset":4410,"endOffset":5970,"count":0}],"isBlockCoverage":false},{"functionName":"getKeyLength","ranges":[{"startOffset":5972,"endOffset":6592,"count":0}],"isBlockCoverage":false},{"functionName":"deriveKey","ranges":[{"startOffset":6594,"endOffset":8774,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeySpki","ranges":[{"startOffset":8776,"endOffset":9754,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyPkcs8","ranges":[{"startOffset":9756,"endOffset":10743,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyRaw","ranges":[{"startOffset":10745,"endOffset":11678,"count":0}],"isBlockCoverage":false},{"functionName":"exportKeyJWK","ranges":[{"startOffset":11680,"endOffset":13210,"count":0}],"isBlockCoverage":false},{"functionName":"exportKey","ranges":[{"startOffset":13212,"endOffset":14072,"count":0}],"isBlockCoverage":false},{"functionName":"importGenericSecretKey","ranges":[{"startOffset":14074,"endOffset":15424,"count":0}],"isBlockCoverage":false},{"functionName":"importKey","ranges":[{"startOffset":15426,"endOffset":18168,"count":0}],"isBlockCoverage":false},{"functionName":"wrapKey","ranges":[{"startOffset":18261,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"unwrapKey","ranges":[{"startOffset":19891,"endOffset":21854,"count":0}],"isBlockCoverage":false},{"functionName":"signVerify","ranges":[{"startOffset":21856,"endOffset":22959,"count":0}],"isBlockCoverage":false},{"functionName":"sign","ranges":[{"startOffset":22961,"endOffset":23587,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":23589,"endOffset":24346,"count":0}],"isBlockCoverage":false},{"functionName":"cipherOrWrap","ranges":[{"startOffset":24348,"endOffset":25759,"count":0}],"isBlockCoverage":false},{"functionName":"encrypt","ranges":[{"startOffset":25761,"endOffset":26487,"count":0}],"isBlockCoverage":false},{"functionName":"decrypt","ranges":[{"startOffset":26489,"endOffset":27215,"count":0}],"isBlockCoverage":false},{"functionName":"SubtleCrypto","ranges":[{"startOffset":27371,"endOffset":27431,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27466,"endOffset":27479,"count":1}],"isBlockCoverage":true},{"functionName":"Crypto","ranges":[{"startOffset":27518,"endOffset":27578,"count":0}],"isBlockCoverage":true},{"functionName":"get subtle","ranges":[{"startOffset":27582,"endOffset":27682,"count":3},{"startOffset":27622,"endOffset":27659,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":27717,"endOffset":27730,"count":1}],"isBlockCoverage":true},{"functionName":"getRandomValues","ranges":[{"startOffset":27746,"endOffset":28079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"278","url":"node:module","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":397,"count":1}],"isBlockCoverage":false}]},{"scriptId":"279","url":"node:internal/source_map/source_map","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12067,"count":1}],"isBlockCoverage":false},{"functionName":"StringCharIterator","ranges":[{"startOffset":4000,"endOffset":4076,"count":0}],"isBlockCoverage":false},{"functionName":"next","ranges":[{"startOffset":4114,"endOffset":4192,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":4230,"endOffset":4306,"count":0}],"isBlockCoverage":false},{"functionName":"hasNext","ranges":[{"startOffset":4345,"endOffset":4409,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4550,"endOffset":10030,"count":0}],"isBlockCoverage":false},{"functionName":"isSeparator","ranges":[{"startOffset":10085,"endOffset":10154,"count":0}],"isBlockCoverage":false},{"functionName":"decodeVLQ","ranges":[{"startOffset":10244,"endOffset":11177,"count":0}],"isBlockCoverage":false},{"functionName":"cloneSourceMapV3","ranges":[{"startOffset":11244,"endOffset":11556,"count":0}],"isBlockCoverage":false},{"functionName":"compareSourceMapEntry","ranges":[{"startOffset":11751,"endOffset":12030,"count":0}],"isBlockCoverage":false}]},{"scriptId":"280","url":"node:zlib","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29534,"count":1}],"isBlockCoverage":false},{"functionName":"zlibBuffer","ranges":[{"startOffset":3530,"endOffset":4157,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnData","ranges":[{"startOffset":4159,"endOffset":4490,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnError","ranges":[{"startOffset":4492,"endOffset":4577,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferOnEnd","ranges":[{"startOffset":4579,"endOffset":4909,"count":0}],"isBlockCoverage":false},{"functionName":"zlibBufferSync","ranges":[{"startOffset":4911,"endOffset":5452,"count":0}],"isBlockCoverage":false},{"functionName":"zlibOnError","ranges":[{"startOffset":5454,"endOffset":5768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5993,"endOffset":6329,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6633,"endOffset":6924,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase","ranges":[{"startOffset":7161,"endOffset":9213,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":9438,"endOffset":9475,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":9918,"endOffset":9964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":10111,"endOffset":10163,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.reset","ranges":[{"startOffset":10304,"endOffset":10412,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._flush","ranges":[{"startOffset":10558,"endOffset":10630,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._final","ranges":[{"startOffset":10697,"endOffset":10733,"count":0}],"isBlockCoverage":false},{"functionName":"maxFlush","ranges":[{"startOffset":11331,"endOffset":11406,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.flush","ranges":[{"startOffset":11847,"endOffset":12249,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase.close","ranges":[{"startOffset":12279,"endOffset":12361,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._destroy","ranges":[{"startOffset":12394,"endOffset":12454,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._transform","ranges":[{"startOffset":12489,"endOffset":13023,"count":0}],"isBlockCoverage":false},{"functionName":"ZlibBase._processChunk","ranges":[{"startOffset":13061,"endOffset":13290,"count":0}],"isBlockCoverage":false},{"functionName":"processChunkSync","ranges":[{"startOffset":13293,"endOffset":15578,"count":0}],"isBlockCoverage":false},{"functionName":"processChunk","ranges":[{"startOffset":15580,"endOffset":16170,"count":0}],"isBlockCoverage":false},{"functionName":"processCallback","ranges":[{"startOffset":16172,"endOffset":18474,"count":0}],"isBlockCoverage":false},{"functionName":"_close","ranges":[{"startOffset":18476,"endOffset":18666,"count":0}],"isBlockCoverage":false},{"functionName":"Zlib","ranges":[{"startOffset":18863,"endOffset":21181,"count":0}],"isBlockCoverage":false},{"functionName":"paramsAfterFlushCallback","ranges":[{"startOffset":21531,"endOffset":21797,"count":0}],"isBlockCoverage":false},{"functionName":"params","ranges":[{"startOffset":21823,"endOffset":22290,"count":0}],"isBlockCoverage":false},{"functionName":"Deflate","ranges":[{"startOffset":22334,"endOffset":22469,"count":0}],"isBlockCoverage":false},{"functionName":"Inflate","ranges":[{"startOffset":22565,"endOffset":22700,"count":0}],"isBlockCoverage":false},{"functionName":"Gzip","ranges":[{"startOffset":22796,"endOffset":22919,"count":0}],"isBlockCoverage":false},{"functionName":"Gunzip","ranges":[{"startOffset":23009,"endOffset":23140,"count":0}],"isBlockCoverage":false},{"functionName":"DeflateRaw","ranges":[{"startOffset":23234,"endOffset":23439,"count":0}],"isBlockCoverage":false},{"functionName":"InflateRaw","ranges":[{"startOffset":23541,"endOffset":23688,"count":0}],"isBlockCoverage":false},{"functionName":"Unzip","ranges":[{"startOffset":23790,"endOffset":23917,"count":0}],"isBlockCoverage":false},{"functionName":"createConvenienceMethod","ranges":[{"startOffset":24009,"endOffset":24398,"count":18},{"startOffset":24068,"endOffset":24397,"count":9}],"isBlockCoverage":true},{"functionName":"syncBufferWrapper","ranges":[{"startOffset":24081,"endOffset":24182,"count":0}],"isBlockCoverage":false},{"functionName":"asyncBufferWrapper","ranges":[{"startOffset":24197,"endOffset":24395,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":24483,"endOffset":24570,"count":107},{"startOffset":24541,"endOffset":24561,"count":9},{"startOffset":24562,"endOffset":24569,"count":98}],"isBlockCoverage":true},{"functionName":"Brotli","ranges":[{"startOffset":24789,"endOffset":26126,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliCompress","ranges":[{"startOffset":26220,"endOffset":26384,"count":0}],"isBlockCoverage":false},{"functionName":"BrotliDecompress","ranges":[{"startOffset":26498,"endOffset":26668,"count":0}],"isBlockCoverage":false},{"functionName":"createProperty","ranges":[{"startOffset":26787,"endOffset":26973,"count":9}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":26908,"endOffset":26965,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":27202,"endOffset":27238,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":27242,"endOffset":27283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"281","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ansi-styles/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5267,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi16","ranges":[{"startOffset":55,"endOffset":105,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":71,"endOffset":105,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi256","ranges":[{"startOffset":128,"endOffset":186,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":144,"endOffset":186,"count":0}],"isBlockCoverage":false},{"functionName":"wrapAnsi16m","ranges":[{"startOffset":209,"endOffset":297,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":225,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"assembleStyles","ranges":[{"startOffset":1834,"endOffset":5200,"count":1},{"startOffset":1947,"endOffset":2281,"count":3},{"startOffset":2007,"endOffset":2187,"count":45}],"isBlockCoverage":true},{"functionName":"value","ranges":[{"startOffset":2913,"endOffset":3409,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":3462,"endOffset":3983,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4040,"endOffset":4091,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4149,"endOffset":4906,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":4960,"endOffset":5041,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":5095,"endOffset":5148,"count":0}],"isBlockCoverage":false}]},{"scriptId":"282","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/slash/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":285,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":15,"endOffset":284,"count":0}],"isBlockCoverage":false}]},{"scriptId":"283","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/pkg-conf/node_modules/locate-path/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1518,"count":1}],"isBlockCoverage":true},{"functionName":"checkType","ranges":[{"startOffset":262,"endOffset":412,"count":1},{"startOffset":356,"endOffset":411,"count":0}],"isBlockCoverage":true},{"functionName":"matchType","ranges":[{"startOffset":432,"endOffset":474,"count":1}],"isBlockCoverage":true},{"functionName":"toPath","ranges":[{"startOffset":492,"endOffset":568,"count":1},{"startOffset":530,"endOffset":556,"count":0}],"isBlockCoverage":true},{"functionName":"locatePath","ranges":[{"startOffset":578,"endOffset":1051,"count":1},{"startOffset":818,"endOffset":836,"count":0}],"isBlockCoverage":true},{"functionName":"pLocate.concurrency.concurrency","ranges":[{"startOffset":862,"endOffset":1017,"count":1},{"startOffset":986,"endOffset":1014,"count":0}],"isBlockCoverage":true},{"functionName":"locatePathSync","ranges":[{"startOffset":1060,"endOffset":1517,"count":0}],"isBlockCoverage":false}]},{"scriptId":"284","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/pkg-conf/node_modules/path-exists/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":298,"count":1}],"isBlockCoverage":true},{"functionName":"pathExists","ranges":[{"startOffset":60,"endOffset":180,"count":0}],"isBlockCoverage":false},{"functionName":"pathExistsSync","ranges":[{"startOffset":189,"endOffset":297,"count":0}],"isBlockCoverage":false}]},{"scriptId":"285","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/slice-ansi/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2690,"count":1}],"isBlockCoverage":true},{"functionName":"wrapAnsi","ranges":[{"startOffset":216,"endOffset":248,"count":0}],"isBlockCoverage":false},{"functionName":"checkAnsi","ranges":[{"startOffset":269,"endOffset":1404,"count":0}],"isBlockCoverage":false},{"functionName":"sliceAnsi","ranges":[{"startOffset":1422,"endOffset":2689,"count":0}],"isBlockCoverage":false}]},{"scriptId":"286","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cli-truncate/node_modules/string-width/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1064,"count":1}],"isBlockCoverage":true},{"functionName":"stringWidth","ranges":[{"startOffset":135,"endOffset":1063,"count":0}],"isBlockCoverage":false}]},{"scriptId":"287","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/convert-to-spaces/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":158,"count":1}],"isBlockCoverage":true},{"functionName":"convertToSpaces","ranges":[{"startOffset":24,"endOffset":124,"count":0}],"isBlockCoverage":false}]},{"scriptId":"288","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/supertap/node_modules/ansi-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":350,"count":1}],"isBlockCoverage":true},{"functionName":"ansiRegex","ranges":[{"startOffset":15,"endOffset":349,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true}]},{"scriptId":"289","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mem/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3063,"count":1}],"isBlockCoverage":true},{"functionName":"mem","ranges":[{"startOffset":651,"endOffset":1491,"count":2},{"startOffset":753,"endOffset":790,"count":0}],"isBlockCoverage":true},{"functionName":"memoized","ranges":[{"startOffset":812,"endOffset":1357,"count":0}],"isBlockCoverage":false},{"functionName":"memDecorator","ranges":[{"startOffset":1911,"endOffset":2668,"count":0}],"isBlockCoverage":false},{"functionName":"memClear","ranges":[{"startOffset":2761,"endOffset":3062,"count":0}],"isBlockCoverage":false}]},{"scriptId":"290","url":"","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12,"count":1}],"isBlockCoverage":true}]},{"scriptId":"291","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/pkg-conf/node_modules/p-locate/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1121,"count":1}],"isBlockCoverage":true},{"functionName":"EndError","ranges":[{"startOffset":63,"endOffset":119,"count":1}],"isBlockCoverage":true},{"functionName":"testElement","ranges":[{"startOffset":195,"endOffset":243,"count":1}],"isBlockCoverage":true},{"functionName":"finder","ranges":[{"startOffset":330,"endOffset":473,"count":1},{"startOffset":455,"endOffset":472,"count":0}],"isBlockCoverage":true},{"functionName":"pLocate","ranges":[{"startOffset":491,"endOffset":1120,"count":1},{"startOffset":910,"endOffset":936,"count":0},{"startOffset":1018,"endOffset":1022,"count":0},{"startOffset":1099,"endOffset":1118,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":748,"endOffset":805,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":977,"endOffset":1015,"count":1}],"isBlockCoverage":true}]},{"scriptId":"292","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/slice-ansi/node_modules/is-fullwidth-code-point/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1606,"count":1}],"isBlockCoverage":true},{"functionName":"isFullwidthCodePoint","ranges":[{"startOffset":42,"endOffset":1605,"count":0}],"isBlockCoverage":false}]},{"scriptId":"293","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cli-truncate/node_modules/strip-ansi/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":468,"count":1}],"isBlockCoverage":true},{"functionName":"stripAnsi","ranges":[{"startOffset":80,"endOffset":467,"count":0}],"isBlockCoverage":false}]},{"scriptId":"294","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/mimic-fn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2903,"count":1}],"isBlockCoverage":true},{"functionName":"copyProperty","ranges":[{"startOffset":21,"endOffset":887,"count":4},{"startOffset":280,"endOffset":307,"count":2},{"startOffset":309,"endOffset":577,"count":2},{"startOffset":579,"endOffset":593,"count":0},{"startOffset":593,"endOffset":790,"count":2},{"startOffset":790,"endOffset":814,"count":0},{"startOffset":816,"endOffset":830,"count":0},{"startOffset":830,"endOffset":886,"count":2}],"isBlockCoverage":true},{"functionName":"canCopyProperty","ranges":[{"startOffset":1091,"endOffset":1457,"count":2},{"startOffset":1197,"endOffset":1454,"count":0}],"isBlockCoverage":true},{"functionName":"changePrototype","ranges":[{"startOffset":1484,"endOffset":1662,"count":2},{"startOffset":1616,"endOffset":1661,"count":0}],"isBlockCoverage":true},{"functionName":"wrappedToString","ranges":[{"startOffset":1689,"endOffset":1752,"count":0}],"isBlockCoverage":false},{"functionName":"changeToString","ranges":[{"startOffset":2221,"endOffset":2603,"count":2},{"startOffset":2273,"endOffset":2277,"count":0}],"isBlockCoverage":true},{"functionName":"mimicFunction","ranges":[{"startOffset":2621,"endOffset":2902,"count":2},{"startOffset":2762,"endOffset":2825,"count":4}],"isBlockCoverage":true}]},{"scriptId":"295","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/pkg-conf/node_modules/p-limit/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1502,"count":1}],"isBlockCoverage":true},{"functionName":"pLimit","ranges":[{"startOffset":49,"endOffset":1501,"count":2},{"startOffset":118,"endOffset":161,"count":1},{"startOffset":184,"endOffset":266,"count":0}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":333,"endOffset":411,"count":2},{"startOffset":381,"endOffset":408,"count":0}],"isBlockCoverage":true},{"functionName":"run","ranges":[{"startOffset":427,"endOffset":594,"count":2},{"startOffset":567,"endOffset":580,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":494,"endOffset":517,"count":2}],"isBlockCoverage":true},{"functionName":"enqueue","ranges":[{"startOffset":614,"endOffset":1175,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":700,"endOffset":1168,"count":2}],"isBlockCoverage":true},{"functionName":"generator","ranges":[{"startOffset":1197,"endOffset":1272,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1226,"endOffset":1271,"count":2}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":1338,"endOffset":1355,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1388,"endOffset":1404,"count":0}],"isBlockCoverage":false},{"functionName":"value","ranges":[{"startOffset":1437,"endOffset":1468,"count":0}],"isBlockCoverage":false}]},{"scriptId":"296","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cli-truncate/node_modules/ansi-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":350,"count":1}],"isBlockCoverage":true},{"functionName":"ansiRegex","ranges":[{"startOffset":15,"endOffset":349,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true}]},{"scriptId":"297","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/pkg-conf/node_modules/yocto-queue/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1277,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":496,"endOffset":573,"count":2}],"isBlockCoverage":true},{"functionName":"Node","ranges":[{"startOffset":526,"endOffset":571,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":590,"endOffset":1276,"count":2}],"isBlockCoverage":true},{"functionName":"Queue","ranges":[{"startOffset":630,"endOffset":664,"count":2}],"isBlockCoverage":true},{"functionName":"enqueue","ranges":[{"startOffset":667,"endOffset":864,"count":2},{"startOffset":735,"endOffset":789,"count":0}],"isBlockCoverage":true},{"functionName":"dequeue","ranges":[{"startOffset":867,"endOffset":1017,"count":2},{"startOffset":925,"endOffset":941,"count":0}],"isBlockCoverage":true},{"functionName":"clear","ranges":[{"startOffset":1020,"endOffset":1102,"count":2}],"isBlockCoverage":true},{"functionName":"get size","ranges":[{"startOffset":1105,"endOffset":1141,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1144,"endOffset":1274,"count":0}],"isBlockCoverage":false}]},{"scriptId":"298","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ci-parallel-vars/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1037,"count":1},{"startOffset":760,"endOffset":1011,"count":5},{"startOffset":880,"endOffset":897,"count":0},{"startOffset":899,"endOffset":1009,"count":0}],"isBlockCoverage":true},{"functionName":"maybeNum","ranges":[{"startOffset":621,"endOffset":703,"count":10},{"startOffset":695,"endOffset":700,"count":0}],"isBlockCoverage":true}]},{"scriptId":"299","url":"node:internal/modules/esm/initialize_import_meta","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1960,"count":1}],"isBlockCoverage":false},{"functionName":"createImportMetaResolve","ranges":[{"startOffset":617,"endOffset":1368,"count":4}],"isBlockCoverage":true},{"functionName":"resolve","ranges":[{"startOffset":880,"endOffset":1365,"count":0}],"isBlockCoverage":false},{"functionName":"initializeImportMeta","ranges":[{"startOffset":1633,"endOffset":1912,"count":4}],"isBlockCoverage":true}]},{"scriptId":"300","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chunkd/dist/chunkd.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":473,"count":1}],"isBlockCoverage":true},{"functionName":"chunkd","ranges":[{"startOffset":77,"endOffset":387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"301","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/common-path-prefix/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":843,"count":1}],"isBlockCoverage":true},{"functionName":"determineSeparator","ranges":[{"startOffset":92,"endOffset":245,"count":1},{"startOffset":215,"endOffset":244,"count":0}],"isBlockCoverage":true},{"functionName":"commonPathPrefix","ranges":[{"startOffset":264,"endOffset":842,"count":1},{"startOffset":422,"endOffset":431,"count":0},{"startOffset":532,"endOffset":730,"count":10},{"startOffset":612,"endOffset":688,"count":61},{"startOffset":649,"endOffset":682,"count":1},{"startOffset":717,"endOffset":726,"count":0},{"startOffset":817,"endOffset":825,"count":0}],"isBlockCoverage":true}]},{"scriptId":"302","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ms/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3024,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":422,"endOffset":792,"count":1},{"startOffset":571,"endOffset":791,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":916,"endOffset":1999,"count":1},{"startOffset":983,"endOffset":1000,"count":0},{"startOffset":1179,"endOffset":1196,"count":0},{"startOffset":1252,"endOffset":1259,"count":0},{"startOffset":1298,"endOffset":1311,"count":0},{"startOffset":1316,"endOffset":1328,"count":0},{"startOffset":1333,"endOffset":1344,"count":0},{"startOffset":1349,"endOffset":1359,"count":0},{"startOffset":1364,"endOffset":1393,"count":0},{"startOffset":1398,"endOffset":1411,"count":0},{"startOffset":1416,"endOffset":1428,"count":0},{"startOffset":1433,"endOffset":1462,"count":0},{"startOffset":1467,"endOffset":1479,"count":0},{"startOffset":1484,"endOffset":1495,"count":0},{"startOffset":1500,"endOffset":1529,"count":0},{"startOffset":1534,"endOffset":1547,"count":0},{"startOffset":1552,"endOffset":1564,"count":0},{"startOffset":1569,"endOffset":1580,"count":0},{"startOffset":1585,"endOffset":1595,"count":0},{"startOffset":1600,"endOffset":1629,"count":0},{"startOffset":1634,"endOffset":1649,"count":0},{"startOffset":1654,"endOffset":1668,"count":0},{"startOffset":1673,"endOffset":1685,"count":0},{"startOffset":1690,"endOffset":1701,"count":0},{"startOffset":1706,"endOffset":1735,"count":0},{"startOffset":1740,"endOffset":1755,"count":0},{"startOffset":1760,"endOffset":1774,"count":0},{"startOffset":1779,"endOffset":1791,"count":0},{"startOffset":1796,"endOffset":1807,"count":0},{"startOffset":1846,"endOffset":1866,"count":0},{"startOffset":1871,"endOffset":1890,"count":0},{"startOffset":1895,"endOffset":1908,"count":0},{"startOffset":1913,"endOffset":1925,"count":0},{"startOffset":1930,"endOffset":1956,"count":0},{"startOffset":1961,"endOffset":1993,"count":0}],"isBlockCoverage":true},{"functionName":"fmtShort","ranges":[{"startOffset":2097,"endOffset":2414,"count":0}],"isBlockCoverage":false},{"functionName":"fmtLong","ranges":[{"startOffset":2511,"endOffset":2847,"count":0}],"isBlockCoverage":false},{"functionName":"plural","ranges":[{"startOffset":2883,"endOffset":3023,"count":0}],"isBlockCoverage":false}]},{"scriptId":"303","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/resolve-cwd/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":208,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":77,"endOffset":125,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.silent","ranges":[{"startOffset":151,"endOffset":206,"count":0}],"isBlockCoverage":false}]},{"scriptId":"304","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/resolve-from/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1201,"count":1}],"isBlockCoverage":true},{"functionName":"resolveFrom","ranges":[{"startOffset":125,"endOffset":1017,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1037,"endOffset":1102,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.silent","ranges":[{"startOffset":1128,"endOffset":1199,"count":0}],"isBlockCoverage":false}]},{"scriptId":"305","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/ipc-flow-control.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":865,"count":1}],"isBlockCoverage":true},{"functionName":"controlFlow","ranges":[{"startOffset":14,"endOffset":828,"count":0}],"isBlockCoverage":false}]},{"scriptId":"306","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/clean-yaml-object/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2176,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":129,"count":0}],"isBlockCoverage":false},{"functionName":"cleanYamlObj","ranges":[{"startOffset":132,"endOffset":1901,"count":0}],"isBlockCoverage":false},{"functionName":"setProp","ranges":[{"startOffset":1903,"endOffset":2131,"count":0}],"isBlockCoverage":false},{"functionName":"defaultFilter","ranges":[{"startOffset":2133,"endOffset":2175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"307","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":578,"count":1}],"isBlockCoverage":true}]},{"scriptId":"308","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3379,"count":1}],"isBlockCoverage":true},{"functionName":"shortcircuitPrimitive","ranges":[{"startOffset":408,"endOffset":728,"count":0}],"isBlockCoverage":false},{"functionName":"compareDescriptors","ranges":[{"startOffset":730,"endOffset":2814,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2864,"endOffset":3352,"count":0}],"isBlockCoverage":false}]},{"scriptId":"309","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Circular.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":785,"count":1}],"isBlockCoverage":true},{"functionName":"Circular","ranges":[{"startOffset":33,"endOffset":80,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":84,"endOffset":361,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":365,"endOffset":583,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":587,"endOffset":647,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":651,"endOffset":756,"count":0}],"isBlockCoverage":false}]},{"scriptId":"310","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":249,"count":1}],"isBlockCoverage":true}]},{"scriptId":"311","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/describe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5965,"count":1}],"isBlockCoverage":true},{"functionName":"describePrimitive","ranges":[{"startOffset":2448,"endOffset":2957,"count":0}],"isBlockCoverage":false},{"functionName":"unboxComplex","ranges":[{"startOffset":2959,"endOffset":3324,"count":0}],"isBlockCoverage":false},{"functionName":"registerPlugins","ranges":[{"startOffset":3326,"endOffset":3726,"count":0}],"isBlockCoverage":false},{"functionName":"describeComplex","ranges":[{"startOffset":3728,"endOffset":4699,"count":0}],"isBlockCoverage":false},{"functionName":"describeItem","ranges":[{"startOffset":4722,"endOffset":4923,"count":0}],"isBlockCoverage":false},{"functionName":"describeMapEntry","ranges":[{"startOffset":4950,"endOffset":5058,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":5060,"endOffset":5938,"count":0}],"isBlockCoverage":false}]},{"scriptId":"312","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Registry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"Registry","ranges":[{"startOffset":33,"endOffset":103,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":107,"endOffset":155,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":159,"endOffset":218,"count":0}],"isBlockCoverage":false},{"functionName":"alloc","ranges":[{"startOffset":222,"endOffset":374,"count":0}],"isBlockCoverage":false}]},{"scriptId":"313","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1385,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":409,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":652,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1160,"endOffset":1382,"count":0}],"isBlockCoverage":false}]},{"scriptId":"314","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/object.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7185,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":436,"endOffset":713,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":743,"endOffset":839,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectValue","ranges":[{"startOffset":950,"endOffset":1203,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1207,"endOffset":1399,"count":0}],"isBlockCoverage":false},{"functionName":"hasSameCtor","ranges":[{"startOffset":1403,"endOffset":1470,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1474,"endOffset":1561,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1565,"endOffset":1699,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":2001,"endOffset":6371,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2068,"endOffset":2433,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2439,"endOffset":2563,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2569,"endOffset":3030,"count":0}],"isBlockCoverage":false},{"functionName":"createListRecursor","ranges":[{"startOffset":3036,"endOffset":3472,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":3478,"endOffset":4494,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":4500,"endOffset":6365,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMixin","ranges":[{"startOffset":6413,"endOffset":7138,"count":13}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6483,"endOffset":6780,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":6786,"endOffset":7055,"count":0}],"isBlockCoverage":false},{"functionName":"hasSameCtor","ranges":[{"startOffset":7061,"endOffset":7132,"count":0}],"isBlockCoverage":false}]},{"scriptId":"315","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/formatUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3260,"count":1}],"isBlockCoverage":true},{"functionName":"wrap","ranges":[{"startOffset":60,"endOffset":146,"count":0}],"isBlockCoverage":false},{"functionName":"formatCtorAndStringTag","ranges":[{"startOffset":168,"endOffset":537,"count":0}],"isBlockCoverage":false},{"functionName":"ObjectFormatter","ranges":[{"startOffset":621,"endOffset":840,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":844,"endOffset":1189,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":1193,"endOffset":1873,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":1877,"endOffset":2161,"count":0}],"isBlockCoverage":false},{"functionName":"shouldFormat","ranges":[{"startOffset":2165,"endOffset":2202,"count":0}],"isBlockCoverage":false},{"functionName":"customize","ranges":[{"startOffset":2206,"endOffset":2502,"count":0}],"isBlockCoverage":false},{"functionName":"SingleValueFormatter","ranges":[{"startOffset":2579,"endOffset":2786,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2790,"endOffset":2961,"count":0}],"isBlockCoverage":false},{"functionName":"finalize","ranges":[{"startOffset":2965,"endOffset":3116,"count":0}],"isBlockCoverage":false},{"functionName":"maxDepth","ranges":[{"startOffset":3120,"endOffset":3205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"316","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/lineBuilder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7155,"count":1}],"isBlockCoverage":true},{"functionName":"translateGutter","ranges":[{"startOffset":123,"endOffset":485,"count":0}],"isBlockCoverage":false},{"functionName":"Line","ranges":[{"startOffset":502,"endOffset":670,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":674,"endOffset":717,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":721,"endOffset":758,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":762,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":820,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":884,"endOffset":934,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":938,"endOffset":1027,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":1031,"endOffset":1202,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":1206,"endOffset":1479,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":1483,"endOffset":1630,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":1634,"endOffset":1783,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":1787,"endOffset":1871,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":1875,"endOffset":1960,"count":0}],"isBlockCoverage":false},{"functionName":"Collection","ranges":[{"startOffset":2050,"endOffset":2091,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2095,"endOffset":2217,"count":0}],"isBlockCoverage":false},{"functionName":"get isEmpty","ranges":[{"startOffset":2221,"endOffset":2277,"count":0}],"isBlockCoverage":false},{"functionName":"get hasGutter","ranges":[{"startOffset":2281,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"get isSingle","ranges":[{"startOffset":2399,"endOffset":2526,"count":0}],"isBlockCoverage":false},{"functionName":"append","ranges":[{"startOffset":2530,"endOffset":2632,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":2636,"endOffset":2725,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2729,"endOffset":3536,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithInfix","ranges":[{"startOffset":3540,"endOffset":4287,"count":0}],"isBlockCoverage":false},{"functionName":"withFirstPrefixed","ranges":[{"startOffset":4291,"endOffset":4423,"count":0}],"isBlockCoverage":false},{"functionName":"withLastPostfixed","ranges":[{"startOffset":4427,"endOffset":4561,"count":0}],"isBlockCoverage":false},{"functionName":"stripFlags","ranges":[{"startOffset":4565,"endOffset":4671,"count":0}],"isBlockCoverage":false},{"functionName":"decompose","ranges":[{"startOffset":4675,"endOffset":5381,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":5462,"endOffset":5708,"count":0}],"isBlockCoverage":false},{"functionName":"buffer","ranges":[{"startOffset":5731,"endOffset":5774,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":5779,"endOffset":5856,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":5861,"endOffset":5937,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":5942,"endOffset":6019,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6024,"endOffset":6101,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6106,"endOffset":6175,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6194,"endOffset":6277,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6284,"endOffset":6366,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6373,"endOffset":6456,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6463,"endOffset":6546,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":6553,"endOffset":6652,"count":0}],"isBlockCoverage":false},{"functionName":"first","ranges":[{"startOffset":6678,"endOffset":6763,"count":0}],"isBlockCoverage":false},{"functionName":"last","ranges":[{"startOffset":6770,"endOffset":6854,"count":0}],"isBlockCoverage":false},{"functionName":"line","ranges":[{"startOffset":6861,"endOffset":6946,"count":0}],"isBlockCoverage":false},{"functionName":"single","ranges":[{"startOffset":6953,"endOffset":7038,"count":0}],"isBlockCoverage":false},{"functionName":"setDefaultGutter","ranges":[{"startOffset":7045,"endOffset":7146,"count":0}],"isBlockCoverage":false}]},{"scriptId":"317","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getObjectKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":964,"count":1}],"isBlockCoverage":true},{"functionName":"getObjectKeys","ranges":[{"startOffset":14,"endOffset":932,"count":0}],"isBlockCoverage":false}]},{"scriptId":"318","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/hasLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":303,"count":1}],"isBlockCoverage":true},{"functionName":"hasLength","ranges":[{"startOffset":104,"endOffset":275,"count":0}],"isBlockCoverage":false}]},{"scriptId":"319","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isLength.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":802,"count":1}],"isBlockCoverage":true},{"functionName":"isLength","ranges":[{"startOffset":645,"endOffset":773,"count":0}],"isBlockCoverage":false}]},{"scriptId":"320","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/stats.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3836,"count":1}],"isBlockCoverage":true},{"functionName":"describeIterableRecursor","ranges":[{"startOffset":228,"endOffset":318,"count":0}],"isBlockCoverage":false},{"functionName":"describeListRecursor","ranges":[{"startOffset":380,"endOffset":462,"count":0}],"isBlockCoverage":false},{"functionName":"describePropertyRecursor","ranges":[{"startOffset":516,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeIterableStats","ranges":[{"startOffset":668,"endOffset":745,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeListStats","ranges":[{"startOffset":807,"endOffset":876,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePropertyStats","ranges":[{"startOffset":930,"endOffset":1007,"count":0}],"isBlockCoverage":false},{"functionName":"Stats","ranges":[{"startOffset":1306,"endOffset":1351,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1355,"endOffset":1432,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1436,"endOffset":2989,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2993,"endOffset":3032,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3141,"endOffset":3271,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3387,"endOffset":3513,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3625,"endOffset":3755,"count":0}],"isBlockCoverage":false}]},{"scriptId":"321","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/recursorUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2251,"count":1}],"isBlockCoverage":true},{"functionName":"next","ranges":[{"startOffset":51,"endOffset":74,"count":0}],"isBlockCoverage":false},{"functionName":"fork","ranges":[{"startOffset":117,"endOffset":396,"count":0}],"isBlockCoverage":false},{"functionName":"consumeDeep","ranges":[{"startOffset":418,"endOffset":732,"count":0}],"isBlockCoverage":false},{"functionName":"map","ranges":[{"startOffset":768,"endOffset":910,"count":0}],"isBlockCoverage":false},{"functionName":"replay","ranges":[{"startOffset":930,"endOffset":1606,"count":0}],"isBlockCoverage":false},{"functionName":"sequence","ranges":[{"startOffset":1632,"endOffset":1850,"count":0}],"isBlockCoverage":false},{"functionName":"singleValue","ranges":[{"startOffset":1880,"endOffset":2012,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":2048,"endOffset":2224,"count":0}],"isBlockCoverage":false}]},{"scriptId":"322","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/arrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":970,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":313,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":343,"endOffset":444,"count":0}],"isBlockCoverage":false}]},{"scriptId":"323","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/typedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4439,"count":1}],"isBlockCoverage":true},{"functionName":"getBuffer","ranges":[{"startOffset":382,"endOffset":596,"count":0}],"isBlockCoverage":false},{"functionName":"describe","ranges":[{"startOffset":628,"endOffset":880,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":910,"endOffset":1010,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeBytes","ranges":[{"startOffset":1046,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"Bytes","ranges":[{"startOffset":1292,"endOffset":1343,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1347,"endOffset":1482,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1486,"endOffset":2297,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2301,"endOffset":2342,"count":0}],"isBlockCoverage":false},{"functionName":"TypedArrayValue","ranges":[{"startOffset":2466,"endOffset":2539,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":2543,"endOffset":2931,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedMixin","ranges":[{"startOffset":3049,"endOffset":3869,"count":3}],"isBlockCoverage":true},{"functionName":"createListRecursor","ranges":[{"startOffset":3237,"endOffset":3307,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":3313,"endOffset":3749,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":3755,"endOffset":3863,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMixin","ranges":[{"startOffset":3977,"endOffset":4320,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4073,"endOffset":4314,"count":0}],"isBlockCoverage":false}]},{"scriptId":"324","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/boxed.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1292,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":165,"endOffset":234,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":264,"endOffset":359,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedBoxedValue","ranges":[{"startOffset":634,"endOffset":709,"count":0}],"isBlockCoverage":false},{"functionName":"createListRecursor","ranges":[{"startOffset":713,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":783,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1126,"endOffset":1220,"count":0}],"isBlockCoverage":false}]},{"scriptId":"325","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":11430,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":306,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"basicEscape","ranges":[{"startOffset":707,"endOffset":779,"count":0}],"isBlockCoverage":false},{"functionName":"escapeLinebreak","ranges":[{"startOffset":1015,"endOffset":1219,"count":0}],"isBlockCoverage":false},{"functionName":"themeControlPictures","ranges":[{"startOffset":1221,"endOffset":1442,"count":0}],"isBlockCoverage":false},{"functionName":"escapeQuotes","ranges":[{"startOffset":1537,"endOffset":1834,"count":0}],"isBlockCoverage":false},{"functionName":"includesLinebreaks","ranges":[{"startOffset":1836,"endOffset":1932,"count":0}],"isBlockCoverage":false},{"functionName":"diffLine","ranges":[{"startOffset":1934,"endOffset":3826,"count":0}],"isBlockCoverage":false},{"functionName":"gatherLines","ranges":[{"startOffset":3862,"endOffset":4170,"count":0}],"isBlockCoverage":false},{"functionName":"StringValue","ranges":[{"startOffset":4194,"endOffset":4242,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":4246,"endOffset":4370,"count":0}],"isBlockCoverage":false},{"functionName":"get includesLinebreaks","ranges":[{"startOffset":4374,"endOffset":4447,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4451,"endOffset":5422,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":5426,"endOffset":5800,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5804,"endOffset":11238,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":11242,"endOffset":11282,"count":0}],"isBlockCoverage":false}]},{"scriptId":"326","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1527,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1334,"endOffset":1486,"count":1}],"isBlockCoverage":true}]},{"scriptId":"327","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/ast.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4728,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":4687,"count":1}],"isBlockCoverage":true},{"functionName":"isExpression","ranges":[{"startOffset":1370,"endOffset":2121,"count":0}],"isBlockCoverage":false},{"functionName":"isIterationStatement","ranges":[{"startOffset":2127,"endOffset":2444,"count":0}],"isBlockCoverage":false},{"functionName":"isStatement","ranges":[{"startOffset":2450,"endOffset":3262,"count":0}],"isBlockCoverage":false},{"functionName":"isSourceElement","ranges":[{"startOffset":3268,"endOffset":3393,"count":0}],"isBlockCoverage":false},{"functionName":"trailingStatement","ranges":[{"startOffset":3399,"endOffset":3843,"count":0}],"isBlockCoverage":false},{"functionName":"isProblematicIfStatement","ranges":[{"startOffset":3849,"endOffset":4384,"count":0}],"isBlockCoverage":false}]},{"scriptId":"328","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/code.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":29610,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1391,"endOffset":29569,"count":1},{"startOffset":27989,"endOffset":28199,"count":128},{"startOffset":28045,"endOffset":28058,"count":31},{"startOffset":28059,"endOffset":28107,"count":102},{"startOffset":28094,"endOffset":28107,"count":37},{"startOffset":28108,"endOffset":28143,"count":76},{"startOffset":28144,"endOffset":28158,"count":75},{"startOffset":28273,"endOffset":28531,"count":128},{"startOffset":28328,"endOffset":28341,"count":31},{"startOffset":28342,"endOffset":28390,"count":102},{"startOffset":28377,"endOffset":28390,"count":37},{"startOffset":28391,"endOffset":28439,"count":76},{"startOffset":28426,"endOffset":28439,"count":28},{"startOffset":28440,"endOffset":28475,"count":66},{"startOffset":28476,"endOffset":28490,"count":65}],"isBlockCoverage":true},{"functionName":"isDecimalDigit","ranges":[{"startOffset":26641,"endOffset":26726,"count":0}],"isBlockCoverage":false},{"functionName":"isHexDigit","ranges":[{"startOffset":26732,"endOffset":26919,"count":0}],"isBlockCoverage":false},{"functionName":"isOctalDigit","ranges":[{"startOffset":26925,"endOffset":27008,"count":0}],"isBlockCoverage":false},{"functionName":"isWhiteSpace","ranges":[{"startOffset":27243,"endOffset":27434,"count":0}],"isBlockCoverage":false},{"functionName":"isLineTerminator","ranges":[{"startOffset":27469,"endOffset":27583,"count":0}],"isBlockCoverage":false},{"functionName":"fromCodePoint","ranges":[{"startOffset":27634,"endOffset":27914,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES5","ranges":[{"startOffset":28537,"endOffset":28686,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES5","ranges":[{"startOffset":28692,"endOffset":28838,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStartES6","ranges":[{"startOffset":28844,"endOffset":28993,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPartES6","ranges":[{"startOffset":28999,"endOffset":29145,"count":0}],"isBlockCoverage":false}]},{"scriptId":"329","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esutils/lib/keyword.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5616,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1333,"endOffset":5575,"count":1}],"isBlockCoverage":true},{"functionName":"isStrictModeReservedWordES6","ranges":[{"startOffset":1405,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES5","ranges":[{"startOffset":1752,"endOffset":1984,"count":0}],"isBlockCoverage":false},{"functionName":"isKeywordES6","ranges":[{"startOffset":1990,"endOffset":3218,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES5","ranges":[{"startOffset":3224,"endOffset":3363,"count":0}],"isBlockCoverage":false},{"functionName":"isReservedWordES6","ranges":[{"startOffset":3369,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"isRestrictedWord","ranges":[{"startOffset":3514,"endOffset":3603,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES5","ranges":[{"startOffset":3609,"endOffset":4045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeUtf16","ranges":[{"startOffset":4051,"endOffset":4161,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierNameES6","ranges":[{"startOffset":4167,"endOffset":4903,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES5","ranges":[{"startOffset":4909,"endOffset":5027,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierES6","ranges":[{"startOffset":5033,"endOffset":5151,"count":0}],"isBlockCoverage":false}]},{"scriptId":"330","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-diff/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":38838,"count":1}],"isBlockCoverage":true},{"functionName":"diff_main","ranges":[{"startOffset":1622,"endOffset":2855,"count":0}],"isBlockCoverage":false},{"functionName":"diff_compute_","ranges":[{"startOffset":3117,"endOffset":4721,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisect_","ranges":[{"startOffset":5070,"endOffset":8602,"count":0}],"isBlockCoverage":false},{"functionName":"diff_bisectSplit_","ranges":[{"startOffset":8946,"endOffset":9292,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonPrefix","ranges":[{"startOffset":9516,"endOffset":10360,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonOverlap_","ranges":[{"startOffset":10654,"endOffset":11835,"count":0}],"isBlockCoverage":false},{"functionName":"diff_commonSuffix","ranges":[{"startOffset":12050,"endOffset":12955,"count":0}],"isBlockCoverage":false},{"functionName":"diff_halfMatch_","ranges":[{"startOffset":13397,"endOffset":16552,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemantic","ranges":[{"startOffset":16712,"endOffset":21136,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupSemanticLossless","ranges":[{"startOffset":21599,"endOffset":25878,"count":0}],"isBlockCoverage":false},{"functionName":"diff_cleanupMerge","ranges":[{"startOffset":26143,"endOffset":33884,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_start","ranges":[{"startOffset":33886,"endOffset":33983,"count":0}],"isBlockCoverage":false},{"functionName":"is_surrogate_pair_end","ranges":[{"startOffset":33985,"endOffset":34080,"count":0}],"isBlockCoverage":false},{"functionName":"starts_with_pair_end","ranges":[{"startOffset":34082,"endOffset":34171,"count":0}],"isBlockCoverage":false},{"functionName":"ends_with_pair_start","ranges":[{"startOffset":34173,"endOffset":34277,"count":0}],"isBlockCoverage":false},{"functionName":"remove_empty_tuples","ranges":[{"startOffset":34279,"endOffset":34465,"count":0}],"isBlockCoverage":false},{"functionName":"make_edit_splice","ranges":[{"startOffset":34467,"endOffset":34771,"count":0}],"isBlockCoverage":false},{"functionName":"find_cursor_edit_diff","ranges":[{"startOffset":34773,"endOffset":38521,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":38523,"endOffset":38733,"count":0}],"isBlockCoverage":false}]},{"scriptId":"331","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/dataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":949,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":58,"endOffset":319,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":349,"endOffset":447,"count":0}],"isBlockCoverage":false}]},{"scriptId":"332","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/date.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2613,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":304,"endOffset":471,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":501,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"formatDate","ranges":[{"startOffset":682,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"DateValue","ranges":[{"startOffset":993,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1072,"endOffset":1333,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1337,"endOffset":2118,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2122,"endOffset":2253,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedDateValue","ranges":[{"startOffset":2460,"endOffset":2610,"count":0}],"isBlockCoverage":false}]},{"scriptId":"333","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/date-time/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":831,"count":1}],"isBlockCoverage":true},{"functionName":"dateTime","ranges":[{"startOffset":71,"endOffset":718,"count":0}],"isBlockCoverage":false}]},{"scriptId":"334","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/time-zone/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":343,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"335","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3605,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":331,"endOffset":608,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":638,"endOffset":733,"count":0}],"isBlockCoverage":false},{"functionName":"ErrorValue","ranges":[{"startOffset":869,"endOffset":938,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":942,"endOffset":1082,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1086,"endOffset":2193,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2197,"endOffset":2257,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedErrorValue","ranges":[{"startOffset":2400,"endOffset":2583,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2587,"endOffset":3430,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedErrorValue","ranges":[{"startOffset":3512,"endOffset":3602,"count":0}],"isBlockCoverage":false}]},{"scriptId":"336","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/isEnumerable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":171,"count":1}],"isBlockCoverage":true},{"functionName":"isEnumerable","ranges":[{"startOffset":14,"endOffset":140,"count":0}],"isBlockCoverage":false}]},{"scriptId":"337","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3272,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":377,"endOffset":600,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":630,"endOffset":728,"count":0}],"isBlockCoverage":false},{"functionName":"FunctionValue","ranges":[{"startOffset":870,"endOffset":939,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":943,"endOffset":1706,"count":0}],"isBlockCoverage":false},{"functionName":"DescribedFunctionValue","ranges":[{"startOffset":1858,"endOffset":1951,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1955,"endOffset":2203,"count":0}],"isBlockCoverage":false},{"functionName":"createPropertyRecursor","ranges":[{"startOffset":2207,"endOffset":2745,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2749,"endOffset":2809,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedFunctionValue","ranges":[{"startOffset":2897,"endOffset":2987,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2991,"endOffset":3205,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3209,"endOffset":3269,"count":0}],"isBlockCoverage":false}]},{"scriptId":"338","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/global.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":822,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":275,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":412,"endOffset":508,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":512,"endOffset":676,"count":0}],"isBlockCoverage":false}]},{"scriptId":"339","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1845,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"MapValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1028,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1032,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1229,"endOffset":1674,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedMapValue","ranges":[{"startOffset":1752,"endOffset":1842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"340","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1054,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":167,"endOffset":238,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":268,"endOffset":345,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":630,"endOffset":830,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":916,"endOffset":1051,"count":0}],"isBlockCoverage":false}]},{"scriptId":"341","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2733,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":219,"endOffset":402,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":432,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"getSortedFlags","ranges":[{"startOffset":617,"endOffset":773,"count":0}],"isBlockCoverage":false},{"functionName":"RegexpValue","ranges":[{"startOffset":824,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":930,"endOffset":1107,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1111,"endOffset":2317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":2321,"endOffset":2395,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedRegexpValue","ranges":[{"startOffset":2612,"endOffset":2730,"count":0}],"isBlockCoverage":false}]},{"scriptId":"342","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/complexValues/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1815,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":223,"endOffset":340,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":370,"endOffset":463,"count":0}],"isBlockCoverage":false},{"functionName":"SetValue","ranges":[{"startOffset":595,"endOffset":664,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":668,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":865,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1030,"endOffset":1090,"count":0}],"isBlockCoverage":false},{"functionName":"createIterableRecursor","ranges":[{"startOffset":1227,"endOffset":1644,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSetValue","ranges":[{"startOffset":1722,"endOffset":1812,"count":0}],"isBlockCoverage":false}]},{"scriptId":"343","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getCtor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1275,"count":1}],"isBlockCoverage":true},{"functionName":"getCtor","ranges":[{"startOffset":59,"endOffset":1249,"count":0}],"isBlockCoverage":false}]},{"scriptId":"344","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/getStringTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":721,"count":1},{"startOffset":467,"endOffset":720,"count":0}],"isBlockCoverage":true},{"functionName":"getStringTag","ranges":[{"startOffset":51,"endOffset":121,"count":1}],"isBlockCoverage":true},{"functionName":"isPromise","ranges":[{"startOffset":225,"endOffset":379,"count":0}],"isBlockCoverage":false},{"functionName":"getStringTagWithPromiseWorkaround","ranges":[{"startOffset":519,"endOffset":665,"count":0}],"isBlockCoverage":false}]},{"scriptId":"345","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/item.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7816,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":228,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeComplex","ranges":[{"startOffset":354,"endOffset":469,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":519,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePrimitive","ranges":[{"startOffset":653,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexItem","ranges":[{"startOffset":1017,"endOffset":1095,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1099,"endOffset":1171,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1175,"endOffset":1330,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":1334,"endOffset":1719,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1723,"endOffset":4317,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":4321,"endOffset":4361,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveItem","ranges":[{"startOffset":4536,"endOffset":4614,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":4618,"endOffset":4775,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4779,"endOffset":5334,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":5338,"endOffset":6853,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":6857,"endOffset":7602,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7606,"endOffset":7660,"count":0}],"isBlockCoverage":false}]},{"scriptId":"346","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/mapEntry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7305,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":318,"endOffset":585,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":615,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"mergeWithKey","ranges":[{"startOffset":974,"endOffset":1422,"count":0}],"isBlockCoverage":false},{"functionName":"MapEntry","ranges":[{"startOffset":1443,"endOffset":1635,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":1639,"endOffset":1916,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1920,"endOffset":2399,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":2403,"endOffset":3004,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3008,"endOffset":3349,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":3353,"endOffset":4200,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":4204,"endOffset":7086,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":7090,"endOffset":7164,"count":0}],"isBlockCoverage":false}]},{"scriptId":"347","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/themeUtils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5251,"count":1}],"isBlockCoverage":true},{"functionName":"freezeTheme","ranges":[{"startOffset":151,"endOffset":490,"count":1},{"startOffset":233,"endOffset":472,"count":42},{"startOffset":338,"endOffset":468,"count":120},{"startOffset":397,"endOffset":425,"count":118},{"startOffset":427,"endOffset":462,"count":41}],"isBlockCoverage":true},{"functionName":"normalizePlugins","ranges":[{"startOffset":2413,"endOffset":3165,"count":0}],"isBlockCoverage":false},{"functionName":"normalize","ranges":[{"startOffset":3205,"endOffset":4082,"count":0}],"isBlockCoverage":false},{"functionName":"addModifier","ranges":[{"startOffset":4146,"endOffset":4338,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiers","ranges":[{"startOffset":4446,"endOffset":5020,"count":0}],"isBlockCoverage":false},{"functionName":"applyModifiersToOriginal","ranges":[{"startOffset":5062,"endOffset":5190,"count":0}],"isBlockCoverage":false}]},{"scriptId":"348","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/cloneDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":679,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDeep","ranges":[{"startOffset":555,"endOffset":649,"count":0}],"isBlockCoverage":false}]},{"scriptId":"349","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseClone.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5609,"count":1}],"isBlockCoverage":true},{"functionName":"baseClone","ranges":[{"startOffset":3399,"endOffset":5579,"count":0}],"isBlockCoverage":false}]},{"scriptId":"350","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Stack.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":734,"count":1}],"isBlockCoverage":true},{"functionName":"Stack","ranges":[{"startOffset":402,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"351","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_ListCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"ListCache","ranges":[{"startOffset":376,"endOffset":594,"count":0}],"isBlockCoverage":false}]},{"scriptId":"352","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":218,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheClear","ranges":[{"startOffset":115,"endOffset":183,"count":0}],"isBlockCoverage":false}]},{"scriptId":"353","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":775,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheDelete","ranges":[{"startOffset":440,"endOffset":739,"count":0}],"isBlockCoverage":false}]},{"scriptId":"354","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assocIndexOf.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":487,"count":1}],"isBlockCoverage":true},{"functionName":"assocIndexOf","ranges":[{"startOffset":286,"endOffset":454,"count":0}],"isBlockCoverage":false}]},{"scriptId":"355","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":799,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":681,"endOffset":776,"count":0}],"isBlockCoverage":false}]},{"scriptId":"356","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":420,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheGet","ranges":[{"startOffset":240,"endOffset":387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"357","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":403,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheHas","ranges":[{"startOffset":292,"endOffset":370,"count":0}],"isBlockCoverage":false}]},{"scriptId":"358","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_listCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":553,"count":1}],"isBlockCoverage":true},{"functionName":"listCacheSet","ranges":[{"startOffset":292,"endOffset":520,"count":0}],"isBlockCoverage":false}]},{"scriptId":"359","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":254,"count":1}],"isBlockCoverage":true},{"functionName":"stackClear","ranges":[{"startOffset":148,"endOffset":223,"count":0}],"isBlockCoverage":false}]},{"scriptId":"360","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":405,"count":1}],"isBlockCoverage":true},{"functionName":"stackDelete","ranges":[{"startOffset":237,"endOffset":373,"count":0}],"isBlockCoverage":false}]},{"scriptId":"361","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":271,"count":1}],"isBlockCoverage":true},{"functionName":"stackGet","ranges":[{"startOffset":183,"endOffset":242,"count":0}],"isBlockCoverage":false}]},{"scriptId":"362","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":323,"count":1}],"isBlockCoverage":true},{"functionName":"stackHas","ranges":[{"startOffset":235,"endOffset":294,"count":0}],"isBlockCoverage":false}]},{"scriptId":"363","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_stackSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":853,"count":1}],"isBlockCoverage":true},{"functionName":"stackSet","ranges":[{"startOffset":436,"endOffset":824,"count":0}],"isBlockCoverage":false}]},{"scriptId":"364","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"365","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":483,"count":1}],"isBlockCoverage":true},{"functionName":"getNative","ranges":[{"startOffset":331,"endOffset":453,"count":7},{"startOffset":439,"endOffset":450,"count":0}],"isBlockCoverage":true}]},{"scriptId":"366","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsNative.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1417,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsNative","ranges":[{"startOffset":1182,"endOffset":1384,"count":7},{"startOffset":1256,"endOffset":1279,"count":0},{"startOffset":1327,"endOffset":1341,"count":0}],"isBlockCoverage":true}]},{"scriptId":"367","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isFunction.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":993,"count":1}],"isBlockCoverage":true},{"functionName":"isFunction","ranges":[{"startOffset":617,"endOffset":962,"count":7},{"startOffset":670,"endOffset":693,"count":0},{"startOffset":905,"endOffset":921,"count":0},{"startOffset":922,"endOffset":940,"count":0},{"startOffset":941,"endOffset":959,"count":0}],"isBlockCoverage":true}]},{"scriptId":"368","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":792,"count":1},{"startOffset":328,"endOffset":339,"count":0}],"isBlockCoverage":true},{"functionName":"baseGetTag","ranges":[{"startOffset":534,"endOffset":761,"count":13},{"startOffset":584,"endOffset":646,"count":0},{"startOffset":712,"endOffset":730,"count":5},{"startOffset":735,"endOffset":758,"count":8}],"isBlockCoverage":true}]},{"scriptId":"369","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true}]},{"scriptId":"370","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_root.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":300,"count":1},{"startOffset":119,"endOffset":126,"count":0},{"startOffset":127,"endOffset":152,"count":0},{"startOffset":153,"endOffset":160,"count":0},{"startOffset":234,"endOffset":245,"count":0},{"startOffset":246,"endOffset":274,"count":0}],"isBlockCoverage":true}]},{"scriptId":"371","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_freeGlobal.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":173,"count":1}],"isBlockCoverage":true}]},{"scriptId":"372","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getRawTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1139,"count":1},{"startOffset":488,"endOffset":499,"count":0}],"isBlockCoverage":true},{"functionName":"getRawTag","ranges":[{"startOffset":701,"endOffset":1109,"count":5},{"startOffset":899,"endOffset":911,"count":0},{"startOffset":995,"endOffset":1037,"count":0}],"isBlockCoverage":true}]},{"scriptId":"373","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_objectToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":565,"count":1}],"isBlockCoverage":true},{"functionName":"objectToString","ranges":[{"startOffset":453,"endOffset":530,"count":8}],"isBlockCoverage":true}]},{"scriptId":"374","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":733,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":581,"endOffset":704,"count":14}],"isBlockCoverage":true}]},{"scriptId":"375","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isMasked.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":564,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":116,"endOffset":268,"count":1},{"startOffset":166,"endOffset":184,"count":0},{"startOffset":185,"endOffset":212,"count":0},{"startOffset":234,"endOffset":260,"count":0}],"isBlockCoverage":true},{"functionName":"isMasked","ranges":[{"startOffset":461,"endOffset":535,"count":7},{"startOffset":509,"endOffset":532,"count":0}],"isBlockCoverage":true}]},{"scriptId":"376","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_coreJsData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":157,"count":1}],"isBlockCoverage":true}]},{"scriptId":"377","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_toSource.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":556,"count":1}],"isBlockCoverage":true},{"functionName":"toSource","ranges":[{"startOffset":339,"endOffset":527,"count":12},{"startOffset":441,"endOffset":508,"count":0},{"startOffset":512,"endOffset":526,"count":0}],"isBlockCoverage":true}]},{"scriptId":"378","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":325,"count":1}],"isBlockCoverage":true},{"functionName":"getValue","ranges":[{"startOffset":211,"endOffset":296,"count":7},{"startOffset":268,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"379","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_MapCache.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":869,"count":1}],"isBlockCoverage":true},{"functionName":"MapCache","ranges":[{"startOffset":389,"endOffset":606,"count":0}],"isBlockCoverage":false}]},{"scriptId":"380","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":393,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheClear","ranges":[{"startOffset":209,"endOffset":359,"count":0}],"isBlockCoverage":false}]},{"scriptId":"381","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Hash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":747,"count":1}],"isBlockCoverage":true},{"functionName":"Hash","ranges":[{"startOffset":319,"endOffset":532,"count":0}],"isBlockCoverage":false}]},{"scriptId":"382","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashClear.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":281,"count":1}],"isBlockCoverage":true},{"functionName":"hashClear","ranges":[{"startOffset":152,"endOffset":251,"count":0}],"isBlockCoverage":false}]},{"scriptId":"383","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":187,"count":1}],"isBlockCoverage":true}]},{"scriptId":"384","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":445,"count":1}],"isBlockCoverage":true},{"functionName":"hashDelete","ranges":[{"startOffset":279,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"385","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"hashGet","ranges":[{"startOffset":513,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"386","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":626,"count":1}],"isBlockCoverage":true},{"functionName":"hashHas","ranges":[{"startOffset":461,"endOffset":598,"count":0}],"isBlockCoverage":false}]},{"scriptId":"387","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_hashSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"hashSet","ranges":[{"startOffset":379,"endOffset":570,"count":0}],"isBlockCoverage":false}]},{"scriptId":"388","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheDelete.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":450,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheDelete","ranges":[{"startOffset":282,"endOffset":415,"count":0}],"isBlockCoverage":false}]},{"scriptId":"389","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getMapData.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":400,"count":1}],"isBlockCoverage":true},{"functionName":"getMapData","ranges":[{"startOffset":214,"endOffset":369,"count":0}],"isBlockCoverage":false}]},{"scriptId":"390","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isKeyable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":430,"count":1}],"isBlockCoverage":true},{"functionName":"isKeyable","ranges":[{"startOffset":201,"endOffset":400,"count":0}],"isBlockCoverage":false}]},{"scriptId":"391","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":330,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheGet","ranges":[{"startOffset":228,"endOffset":298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"392","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheHas.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheHas","ranges":[{"startOffset":280,"endOffset":350,"count":0}],"isBlockCoverage":false}]},{"scriptId":"393","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_mapCacheSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":489,"count":1}],"isBlockCoverage":true},{"functionName":"mapCacheSet","ranges":[{"startOffset":279,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"394","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayEach.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":537,"count":1}],"isBlockCoverage":true},{"functionName":"arrayEach","ranges":[{"startOffset":274,"endOffset":507,"count":0}],"isBlockCoverage":false}]},{"scriptId":"395","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":899,"count":1}],"isBlockCoverage":true},{"functionName":"assignValue","ranges":[{"startOffset":629,"endOffset":867,"count":0}],"isBlockCoverage":false}]},{"scriptId":"396","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":625,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignValue","ranges":[{"startOffset":314,"endOffset":589,"count":0}],"isBlockCoverage":false}]},{"scriptId":"397","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_defineProperty.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":64,"endOffset":194,"count":1},{"startOffset":180,"endOffset":192,"count":0}],"isBlockCoverage":true}]},{"scriptId":"398","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssign.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssign","ranges":[{"startOffset":339,"endOffset":439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"399","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1044,"count":1}],"isBlockCoverage":true},{"functionName":"copyObject","ranges":[{"startOffset":467,"endOffset":1013,"count":0}],"isBlockCoverage":false}]},{"scriptId":"400","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":884,"count":1}],"isBlockCoverage":true},{"functionName":"keys","ranges":[{"startOffset":761,"endOffset":859,"count":0}],"isBlockCoverage":false}]},{"scriptId":"401","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayLikeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1778,"count":1}],"isBlockCoverage":true},{"functionName":"arrayLikeKeys","ranges":[{"startOffset":697,"endOffset":1744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"402","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseTimes.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":504,"count":1}],"isBlockCoverage":true},{"functionName":"baseTimes","ranges":[{"startOffset":313,"endOffset":474,"count":0}],"isBlockCoverage":false}]},{"scriptId":"403","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1026,"count":1},{"startOffset":851,"endOffset":993,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":797,"endOffset":829,"count":1}],"isBlockCoverage":true},{"functionName":"isArguments","ranges":[{"startOffset":853,"endOffset":993,"count":0}],"isBlockCoverage":false}]},{"scriptId":"404","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsArguments.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsArguments","ranges":[{"startOffset":355,"endOffset":452,"count":1}],"isBlockCoverage":true}]},{"scriptId":"405","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isObjectLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"isObjectLike","ranges":[{"startOffset":497,"endOffset":581,"count":1}],"isBlockCoverage":true}]},{"scriptId":"406","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true}]},{"scriptId":"407","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1114,"count":1},{"startOffset":548,"endOffset":559,"count":0},{"startOffset":697,"endOffset":708,"count":0},{"startOffset":1072,"endOffset":1084,"count":0}],"isBlockCoverage":true}]},{"scriptId":"408","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubFalse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":280,"count":1}],"isBlockCoverage":true},{"functionName":"stubFalse","ranges":[{"startOffset":210,"endOffset":250,"count":0}],"isBlockCoverage":false}]},{"scriptId":"409","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIndex.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":759,"count":1}],"isBlockCoverage":true},{"functionName":"isIndex","ranges":[{"startOffset":456,"endOffset":731,"count":0}],"isBlockCoverage":false}]},{"scriptId":"410","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":695,"count":1},{"startOffset":643,"endOffset":661,"count":0}],"isBlockCoverage":true}]},{"scriptId":"411","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2222,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsTypedArray","ranges":[{"startOffset":2050,"endOffset":2185,"count":0}],"isBlockCoverage":false}]},{"scriptId":"412","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseUnary.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":332,"count":1}],"isBlockCoverage":true},{"functionName":"baseUnary","ranges":[{"startOffset":218,"endOffset":302,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":254,"endOffset":299,"count":0}],"isBlockCoverage":false}]},{"scriptId":"413","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nodeUtil.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":995,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":615,"endOffset":962,"count":1},{"startOffset":806,"endOffset":911,"count":0},{"startOffset":912,"endOffset":942,"count":0},{"startOffset":948,"endOffset":960,"count":0}],"isBlockCoverage":true}]},{"scriptId":"414","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":776,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeys","ranges":[{"startOffset":479,"endOffset":747,"count":0}],"isBlockCoverage":false}]},{"scriptId":"415","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":480,"count":1}],"isBlockCoverage":true},{"functionName":"isPrototype","ranges":[{"startOffset":273,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"416","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":204,"count":1}],"isBlockCoverage":true}]},{"scriptId":"417","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overArg.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":382,"count":1}],"isBlockCoverage":true},{"functionName":"overArg","ranges":[{"startOffset":254,"endOffset":354,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":299,"endOffset":351,"count":0}],"isBlockCoverage":false}]},{"scriptId":"418","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLike.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":830,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLike","ranges":[{"startOffset":695,"endOffset":798,"count":0}],"isBlockCoverage":false}]},{"scriptId":"419","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseAssignIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":482,"count":1}],"isBlockCoverage":true},{"functionName":"baseAssignIn","ranges":[{"startOffset":345,"endOffset":449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"420","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/keysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":778,"count":1}],"isBlockCoverage":true},{"functionName":"keysIn","ranges":[{"startOffset":643,"endOffset":751,"count":0}],"isBlockCoverage":false}]},{"scriptId":"421","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":870,"count":1}],"isBlockCoverage":true},{"functionName":"baseKeysIn","ranges":[{"startOffset":523,"endOffset":839,"count":0}],"isBlockCoverage":false}]},{"scriptId":"422","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_nativeKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":490,"count":1}],"isBlockCoverage":true},{"functionName":"nativeKeysIn","ranges":[{"startOffset":292,"endOffset":457,"count":0}],"isBlockCoverage":false}]},{"scriptId":"423","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1056,"count":1},{"startOffset":508,"endOffset":519,"count":0},{"startOffset":567,"endOffset":578,"count":0}],"isBlockCoverage":true},{"functionName":"cloneBuffer","ranges":[{"startOffset":783,"endOffset":1024,"count":0}],"isBlockCoverage":false}]},{"scriptId":"424","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copyArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"copyArray","ranges":[{"startOffset":219,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"425","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":446,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbols","ranges":[{"startOffset":317,"endOffset":414,"count":0}],"isBlockCoverage":false}]},{"scriptId":"426","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbols.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":886,"count":1},{"startOffset":624,"endOffset":635,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbols","ranges":[{"startOffset":638,"endOffset":854,"count":0}],"isBlockCoverage":false}]},{"scriptId":"427","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayFilter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":632,"count":1}],"isBlockCoverage":true},{"functionName":"arrayFilter","ranges":[{"startOffset":289,"endOffset":600,"count":0}],"isBlockCoverage":false}]},{"scriptId":"428","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/stubArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":390,"count":1}],"isBlockCoverage":true},{"functionName":"stubArray","ranges":[{"startOffset":323,"endOffset":360,"count":0}],"isBlockCoverage":false}]},{"scriptId":"429","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_copySymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":470,"count":1}],"isBlockCoverage":true},{"functionName":"copySymbolsIn","ranges":[{"startOffset":335,"endOffset":436,"count":0}],"isBlockCoverage":false}]},{"scriptId":"430","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getSymbolsIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":754,"count":1},{"startOffset":549,"endOffset":560,"count":0}],"isBlockCoverage":true},{"functionName":"getSymbolsIn","ranges":[{"startOffset":563,"endOffset":720,"count":0}],"isBlockCoverage":false}]},{"scriptId":"431","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_arrayPush.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":437,"count":1}],"isBlockCoverage":true},{"functionName":"arrayPush","ranges":[{"startOffset":200,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"432","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getPrototype.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":163,"count":1}],"isBlockCoverage":true}]},{"scriptId":"433","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":455,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeys","ranges":[{"startOffset":342,"endOffset":424,"count":0}],"isBlockCoverage":false}]},{"scriptId":"434","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseGetAllKeys.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":739,"count":1}],"isBlockCoverage":true},{"functionName":"baseGetAllKeys","ranges":[{"startOffset":537,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"435","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getAllKeysIn.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":488,"count":1}],"isBlockCoverage":true},{"functionName":"getAllKeysIn","ranges":[{"startOffset":367,"endOffset":455,"count":0}],"isBlockCoverage":false}]},{"scriptId":"436","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_getTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1838,"count":1},{"startOffset":1296,"endOffset":1811,"count":0}],"isBlockCoverage":true},{"functionName":"getTag","ranges":[{"startOffset":1309,"endOffset":1808,"count":0}],"isBlockCoverage":false}]},{"scriptId":"437","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_DataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true}]},{"scriptId":"438","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"439","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":195,"count":1}],"isBlockCoverage":true}]},{"scriptId":"440","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_WeakMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true}]},{"scriptId":"441","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":692,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneArray","ranges":[{"startOffset":329,"endOffset":657,"count":0}],"isBlockCoverage":false}]},{"scriptId":"442","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneByTag.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2261,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneByTag","ranges":[{"startOffset":1454,"endOffset":2226,"count":0}],"isBlockCoverage":false}]},{"scriptId":"443","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneArrayBuffer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":449,"count":1}],"isBlockCoverage":true},{"functionName":"cloneArrayBuffer","ranges":[{"startOffset":226,"endOffset":412,"count":0}],"isBlockCoverage":false}]},{"scriptId":"444","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_Uint8Array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":130,"count":1}],"isBlockCoverage":true}]},{"scriptId":"445","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneDataView.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":507,"count":1}],"isBlockCoverage":true},{"functionName":"cloneDataView","ranges":[{"startOffset":267,"endOffset":473,"count":0}],"isBlockCoverage":false}]},{"scriptId":"446","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneRegExp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":439,"count":1}],"isBlockCoverage":true},{"functionName":"cloneRegExp","ranges":[{"startOffset":243,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"447","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneSymbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":524,"count":1},{"startOffset":138,"endOffset":149,"count":0},{"startOffset":205,"endOffset":216,"count":0}],"isBlockCoverage":true},{"functionName":"cloneSymbol","ranges":[{"startOffset":394,"endOffset":492,"count":0}],"isBlockCoverage":false}]},{"scriptId":"448","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_cloneTypedArray.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":527,"count":1}],"isBlockCoverage":true},{"functionName":"cloneTypedArray","ranges":[{"startOffset":275,"endOffset":491,"count":0}],"isBlockCoverage":false}]},{"scriptId":"449","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_initCloneObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":486,"count":1}],"isBlockCoverage":true},{"functionName":"initCloneObject","ranges":[{"startOffset":290,"endOffset":450,"count":0}],"isBlockCoverage":false}]},{"scriptId":"450","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseCreate.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":686,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":355,"endOffset":651,"count":1}],"isBlockCoverage":true},{"functionName":"object","ranges":[{"startOffset":370,"endOffset":390,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":400,"endOffset":648,"count":0}],"isBlockCoverage":false}]},{"scriptId":"451","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"452","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsMap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsMap","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"453","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":613,"count":1},{"startOffset":575,"endOffset":586,"count":0}],"isBlockCoverage":true}]},{"scriptId":"454","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseIsSet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":478,"count":1}],"isBlockCoverage":true},{"functionName":"baseIsSet","ranges":[{"startOffset":362,"endOffset":448,"count":0}],"isBlockCoverage":false}]},{"scriptId":"455","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/merge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1220,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1115,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"456","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMerge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1328,"count":1}],"isBlockCoverage":true},{"functionName":"baseMerge","ranges":[{"startOffset":699,"endOffset":1298,"count":0}],"isBlockCoverage":false}]},{"scriptId":"457","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_assignMergeValue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"assignMergeValue","ranges":[{"startOffset":342,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"458","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"459","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createBaseFor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":648,"count":1}],"isBlockCoverage":true},{"functionName":"createBaseFor","ranges":[{"startOffset":217,"endOffset":614,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":262,"endOffset":611,"count":0}],"isBlockCoverage":false}]},{"scriptId":"460","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseMergeDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3069,"count":1}],"isBlockCoverage":true},{"functionName":"baseMergeDeep","ranges":[{"startOffset":1316,"endOffset":3035,"count":0}],"isBlockCoverage":false}]},{"scriptId":"461","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isArrayLikeObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":742,"count":1}],"isBlockCoverage":true},{"functionName":"isArrayLikeObject","ranges":[{"startOffset":615,"endOffset":704,"count":0}],"isBlockCoverage":false}]},{"scriptId":"462","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/isPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1650,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":1229,"endOffset":1616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"463","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_safeGet.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":456,"count":1}],"isBlockCoverage":true},{"functionName":"safeGet","ranges":[{"startOffset":243,"endOffset":428,"count":0}],"isBlockCoverage":false}]},{"scriptId":"464","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/toPlainObject.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":744,"count":1}],"isBlockCoverage":true},{"functionName":"toPlainObject","ranges":[{"startOffset":634,"endOffset":710,"count":0}],"isBlockCoverage":false}]},{"scriptId":"465","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_createAssigner.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1042,"count":1}],"isBlockCoverage":true},{"functionName":"createAssigner","ranges":[{"startOffset":272,"endOffset":1007,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":326,"endOffset":1003,"count":0}],"isBlockCoverage":false}]},{"scriptId":"466","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":559,"count":1}],"isBlockCoverage":true},{"functionName":"baseRest","ranges":[{"startOffset":430,"endOffset":530,"count":1}],"isBlockCoverage":true}]},{"scriptId":"467","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/identity.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":370,"count":1}],"isBlockCoverage":true},{"functionName":"identity","ranges":[{"startOffset":297,"endOffset":341,"count":0}],"isBlockCoverage":false}]},{"scriptId":"468","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_overRest.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1096,"count":1}],"isBlockCoverage":true},{"functionName":"overRest","ranges":[{"startOffset":503,"endOffset":1067,"count":1},{"startOffset":607,"endOffset":614,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":629,"endOffset":1064,"count":0}],"isBlockCoverage":false}]},{"scriptId":"469","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_apply.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":714,"count":1}],"isBlockCoverage":true},{"functionName":"apply","ranges":[{"startOffset":374,"endOffset":688,"count":0}],"isBlockCoverage":false}]},{"scriptId":"470","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_setToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":392,"count":1}],"isBlockCoverage":true}]},{"scriptId":"471","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseSetToString.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":641,"count":1},{"startOffset":412,"endOffset":422,"count":0}],"isBlockCoverage":true},{"functionName":"baseSetToString","ranges":[{"startOffset":425,"endOffset":604,"count":1}],"isBlockCoverage":true}]},{"scriptId":"472","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/constant.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":528,"count":1}],"isBlockCoverage":true},{"functionName":"constant","ranges":[{"startOffset":426,"endOffset":499,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":462,"endOffset":496,"count":0}],"isBlockCoverage":false}]},{"scriptId":"473","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_shortOut.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":941,"count":1}],"isBlockCoverage":true},{"functionName":"shortOut","ranges":[{"startOffset":534,"endOffset":912,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":609,"endOffset":909,"count":1},{"startOffset":752,"endOffset":830,"count":0}],"isBlockCoverage":true}]},{"scriptId":"474","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isIterateeCall.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":877,"count":1}],"isBlockCoverage":true},{"functionName":"isIterateeCall","ranges":[{"startOffset":514,"endOffset":842,"count":0}],"isBlockCoverage":false}]},{"scriptId":"475","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/pluginRegistry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6139,"count":1}],"isBlockCoverage":true},{"functionName":"PluginError","ranges":[{"startOffset":707,"endOffset":816,"count":0}],"isBlockCoverage":false},{"functionName":"PluginTypeError","ranges":[{"startOffset":864,"endOffset":977,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedApiError","ranges":[{"startOffset":1031,"endOffset":1159,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedError","ranges":[{"startOffset":1210,"endOffset":1344,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorTagError","ranges":[{"startOffset":1406,"endOffset":1596,"count":0}],"isBlockCoverage":false},{"functionName":"DuplicateDescriptorIdError","ranges":[{"startOffset":1657,"endOffset":1945,"count":0}],"isBlockCoverage":false},{"functionName":"verify","ranges":[{"startOffset":1949,"endOffset":2591,"count":0}],"isBlockCoverage":false},{"functionName":"modifyTheme","ranges":[{"startOffset":3525,"endOffset":3639,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":3641,"endOffset":5084,"count":0}],"isBlockCoverage":false},{"functionName":"getDeserializers","ranges":[{"startOffset":5104,"endOffset":5368,"count":0}],"isBlockCoverage":false},{"functionName":"getThemes","ranges":[{"startOffset":5414,"endOffset":5598,"count":0}],"isBlockCoverage":false},{"functionName":"getTryDescribeValues","ranges":[{"startOffset":5630,"endOffset":5734,"count":0}],"isBlockCoverage":false},{"functionName":"resolveDescriptorRef","ranges":[{"startOffset":5788,"endOffset":6086,"count":0}],"isBlockCoverage":false}]},{"scriptId":"476","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2616,"count":1}],"isBlockCoverage":true}]},{"scriptId":"477","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/re.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7690,"count":1}],"isBlockCoverage":true},{"functionName":"makeSafeRegex","ranges":[{"startOffset":950,"endOffset":1161,"count":40},{"startOffset":1015,"endOffset":1144,"count":120}],"isBlockCoverage":true},{"functionName":"createToken","ranges":[{"startOffset":1183,"endOffset":1459,"count":40},{"startOffset":1376,"endOffset":1381,"count":4},{"startOffset":1382,"endOffset":1393,"count":36},{"startOffset":1439,"endOffset":1444,"count":4},{"startOffset":1445,"endOffset":1456,"count":36}],"isBlockCoverage":true}]},{"scriptId":"478","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":859,"count":1},{"startOffset":233,"endOffset":279,"count":0}],"isBlockCoverage":true}]},{"scriptId":"479","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/debug.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":226,"count":1},{"startOffset":91,"endOffset":138,"count":0},{"startOffset":141,"endOffset":188,"count":0}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":143,"endOffset":188,"count":0}],"isBlockCoverage":false},{"functionName":"debug","ranges":[{"startOffset":193,"endOffset":201,"count":46}],"isBlockCoverage":true}]},{"scriptId":"480","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/semver.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8756,"count":1}],"isBlockCoverage":true},{"functionName":"SemVer","ranges":[{"startOffset":311,"endOffset":2238,"count":2},{"startOffset":416,"endOffset":621,"count":0},{"startOffset":660,"endOffset":761,"count":0},{"startOffset":800,"endOffset":900,"count":0},{"startOffset":1239,"endOffset":1252,"count":0},{"startOffset":1280,"endOffset":1344,"count":0},{"startOffset":1531,"endOffset":1589,"count":0},{"startOffset":1648,"endOffset":1706,"count":0},{"startOffset":1765,"endOffset":1823,"count":0},{"startOffset":1884,"endOffset":2170,"count":1},{"startOffset":2194,"endOffset":2211,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1970,"endOffset":2163,"count":1},{"startOffset":2137,"endOffset":2162,"count":0}],"isBlockCoverage":true},{"functionName":"format","ranges":[{"startOffset":2242,"endOffset":2438,"count":2},{"startOffset":2349,"endOffset":2410,"count":1}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":2442,"endOffset":2483,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2487,"endOffset":2877,"count":0}],"isBlockCoverage":false},{"functionName":"compareMain","ranges":[{"startOffset":2881,"endOffset":3172,"count":0}],"isBlockCoverage":false},{"functionName":"comparePre","ranges":[{"startOffset":3176,"endOffset":4027,"count":0}],"isBlockCoverage":false},{"functionName":"compareBuild","ranges":[{"startOffset":4031,"endOffset":4573,"count":0}],"isBlockCoverage":false},{"functionName":"inc","ranges":[{"startOffset":4726,"endOffset":8728,"count":0}],"isBlockCoverage":false}]},{"scriptId":"481","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/parse-options.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":324,"count":1}],"isBlockCoverage":true},{"functionName":"parseOptions","ranges":[{"startOffset":153,"endOffset":293,"count":4},{"startOffset":208,"endOffset":292,"count":0}],"isBlockCoverage":true}]},{"scriptId":"482","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/internal/identifiers.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":410,"count":1}],"isBlockCoverage":true},{"functionName":"compareIdentifiers","ranges":[{"startOffset":54,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"rcompareIdentifiers","ranges":[{"startOffset":308,"endOffset":342,"count":0}],"isBlockCoverage":false}]},{"scriptId":"483","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":317,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":58,"endOffset":292,"count":0}],"isBlockCoverage":false}]},{"scriptId":"484","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":162,"count":1}],"isBlockCoverage":true},{"functionName":"valid","ranges":[{"startOffset":47,"endOffset":138,"count":0}],"isBlockCoverage":false}]},{"scriptId":"485","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/clean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":191,"count":1}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":47,"endOffset":167,"count":0}],"isBlockCoverage":false}]},{"scriptId":"486","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/inc.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":464,"count":1}],"isBlockCoverage":true},{"functionName":"inc","ranges":[{"startOffset":57,"endOffset":442,"count":0}],"isBlockCoverage":false}]},{"scriptId":"487","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1612,"count":1}],"isBlockCoverage":true},{"functionName":"diff","ranges":[{"startOffset":50,"endOffset":1588,"count":0}],"isBlockCoverage":false}]},{"scriptId":"488","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/major.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"major","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"489","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/minor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"minor","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"490","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/patch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":122,"count":1}],"isBlockCoverage":true},{"functionName":"patch","ranges":[{"startOffset":58,"endOffset":98,"count":0}],"isBlockCoverage":false}]},{"scriptId":"491","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/prerelease.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":220,"count":1}],"isBlockCoverage":true},{"functionName":"prerelease","ranges":[{"startOffset":52,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"492","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":156,"count":1}],"isBlockCoverage":true},{"functionName":"compare","ranges":[{"startOffset":60,"endOffset":129,"count":0}],"isBlockCoverage":false}]},{"scriptId":"493","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rcompare.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"rcompare","ranges":[{"startOffset":54,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"494","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-loose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":118,"count":1}],"isBlockCoverage":true},{"functionName":"compareLoose","ranges":[{"startOffset":58,"endOffset":87,"count":0}],"isBlockCoverage":false}]},{"scriptId":"495","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/compare-build.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":267,"count":1}],"isBlockCoverage":true},{"functionName":"compareBuild","ranges":[{"startOffset":65,"endOffset":236,"count":0}],"isBlockCoverage":false}]},{"scriptId":"496","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/sort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":147,"count":1}],"isBlockCoverage":true},{"functionName":"sort","ranges":[{"startOffset":61,"endOffset":124,"count":0}],"isBlockCoverage":false}]},{"scriptId":"497","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/rsort.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":149,"count":1}],"isBlockCoverage":true},{"functionName":"rsort","ranges":[{"startOffset":62,"endOffset":125,"count":0}],"isBlockCoverage":false}]},{"scriptId":"498","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"gt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"499","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":110,"count":1}],"isBlockCoverage":true},{"functionName":"lt","ranges":[{"startOffset":48,"endOffset":89,"count":0}],"isBlockCoverage":false}]},{"scriptId":"500","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/eq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":112,"count":1}],"isBlockCoverage":true},{"functionName":"eq","ranges":[{"startOffset":48,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"501","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/neq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":114,"count":1}],"isBlockCoverage":true},{"functionName":"neq","ranges":[{"startOffset":49,"endOffset":92,"count":0}],"isBlockCoverage":false}]},{"scriptId":"502","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/gte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"gte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"503","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/lte.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":113,"count":1}],"isBlockCoverage":true},{"functionName":"lte","ranges":[{"startOffset":49,"endOffset":91,"count":0}],"isBlockCoverage":false}]},{"scriptId":"504","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/cmp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":947,"count":1}],"isBlockCoverage":true},{"functionName":"cmp","ranges":[{"startOffset":181,"endOffset":925,"count":0}],"isBlockCoverage":false}]},{"scriptId":"505","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/coerce.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1513,"count":1}],"isBlockCoverage":true},{"functionName":"coerce","ranges":[{"startOffset":145,"endOffset":1488,"count":0}],"isBlockCoverage":false}]},{"scriptId":"506","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/comparator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3617,"count":1}],"isBlockCoverage":true},{"functionName":"get ANY","ranges":[{"startOffset":100,"endOffset":131,"count":2}],"isBlockCoverage":true},{"functionName":"Comparator","ranges":[{"startOffset":135,"endOffset":682,"count":2},{"startOffset":238,"endOffset":358,"count":0},{"startOffset":556,"endOffset":585,"count":0}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":686,"endOffset":1182,"count":2},{"startOffset":734,"endOffset":757,"count":0},{"startOffset":818,"endOffset":882,"count":0},{"startOffset":930,"endOffset":934,"count":0},{"startOffset":966,"endOffset":998,"count":0},{"startOffset":1077,"endOffset":1108,"count":0}],"isBlockCoverage":true},{"functionName":"toString","ranges":[{"startOffset":1186,"endOffset":1225,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":1229,"endOffset":1609,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":1613,"endOffset":3323,"count":0}],"isBlockCoverage":false}]},{"scriptId":"507","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/classes/range.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":14514,"count":1}],"isBlockCoverage":true},{"functionName":"Range","ranges":[{"startOffset":55,"endOffset":2052,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2056,"endOffset":2197,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":2201,"endOffset":2240,"count":0}],"isBlockCoverage":false},{"functionName":"parseRange","ranges":[{"startOffset":2244,"endOffset":4527,"count":0}],"isBlockCoverage":false},{"functionName":"intersects","ranges":[{"startOffset":4531,"endOffset":5161,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":5229,"endOffset":5611,"count":0}],"isBlockCoverage":false},{"functionName":"isNullSet","ranges":[{"startOffset":6111,"endOffset":6138,"count":0}],"isBlockCoverage":false},{"functionName":"isAny","ranges":[{"startOffset":6153,"endOffset":6172,"count":0}],"isBlockCoverage":false},{"functionName":"isSatisfiable","ranges":[{"startOffset":6294,"endOffset":6700,"count":0}],"isBlockCoverage":false},{"functionName":"parseComparator","ranges":[{"startOffset":6870,"endOffset":7183,"count":0}],"isBlockCoverage":false},{"functionName":"isX","ranges":[{"startOffset":7197,"endOffset":7248,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTildes","ranges":[{"startOffset":7584,"endOffset":7707,"count":0}],"isBlockCoverage":false},{"functionName":"replaceTilde","ranges":[{"startOffset":7730,"endOffset":8404,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCarets","ranges":[{"startOffset":8697,"endOffset":8820,"count":0}],"isBlockCoverage":false},{"functionName":"replaceCaret","ranges":[{"startOffset":8843,"endOffset":10145,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRanges","ranges":[{"startOffset":10170,"endOffset":10323,"count":0}],"isBlockCoverage":false},{"functionName":"replaceXRange","ranges":[{"startOffset":10347,"endOffset":12047,"count":0}],"isBlockCoverage":false},{"functionName":"replaceStars","ranges":[{"startOffset":12193,"endOffset":12378,"count":0}],"isBlockCoverage":false},{"functionName":"replaceGTE0","ranges":[{"startOffset":12400,"endOffset":12555,"count":0}],"isBlockCoverage":false},{"functionName":"hyphenReplace","ranges":[{"startOffset":12797,"endOffset":13471,"count":0}],"isBlockCoverage":false},{"functionName":"testSet","ranges":[{"startOffset":13489,"endOffset":14513,"count":0}],"isBlockCoverage":false}]},{"scriptId":"508","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lru-cache/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8186,"count":1}],"isBlockCoverage":true},{"functionName":"naiveLength","ranges":[{"startOffset":510,"endOffset":517,"count":0}],"isBlockCoverage":false},{"functionName":"LRUCache","ranges":[{"startOffset":853,"endOffset":1751,"count":1},{"startOffset":920,"endOffset":946,"count":0},{"startOffset":972,"endOffset":984,"count":0},{"startOffset":1069,"endOffset":1125,"count":0},{"startOffset":1235,"endOffset":1246,"count":0},{"startOffset":1350,"endOffset":1363,"count":0},{"startOffset":1439,"endOffset":1476,"count":0},{"startOffset":1484,"endOffset":1530,"count":0}],"isBlockCoverage":true},{"functionName":"set max","ranges":[{"startOffset":1799,"endOffset":1969,"count":0}],"isBlockCoverage":false},{"functionName":"get max","ranges":[{"startOffset":1972,"endOffset":2009,"count":0}],"isBlockCoverage":false},{"functionName":"set allowStale","ranges":[{"startOffset":2013,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"get allowStale","ranges":[{"startOffset":2086,"endOffset":2138,"count":0}],"isBlockCoverage":false},{"functionName":"set maxAge","ranges":[{"startOffset":2142,"endOffset":2300,"count":0}],"isBlockCoverage":false},{"functionName":"get maxAge","ranges":[{"startOffset":2303,"endOffset":2347,"count":0}],"isBlockCoverage":false},{"functionName":"set lengthCalculator","ranges":[{"startOffset":2408,"endOffset":2765,"count":0}],"isBlockCoverage":false},{"functionName":"get lengthCalculator","ranges":[{"startOffset":2768,"endOffset":2826,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":2830,"endOffset":2867,"count":0}],"isBlockCoverage":false},{"functionName":"get itemCount","ranges":[{"startOffset":2870,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"rforEach","ranges":[{"startOffset":2923,"endOffset":3138,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":3142,"endOffset":3356,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":3360,"endOffset":3425,"count":0}],"isBlockCoverage":false},{"functionName":"values","ranges":[{"startOffset":3429,"endOffset":3498,"count":0}],"isBlockCoverage":false},{"functionName":"reset","ranges":[{"startOffset":3502,"endOffset":3858,"count":1},{"startOffset":3535,"endOffset":3560,"count":0},{"startOffset":3561,"endOffset":3593,"count":0},{"startOffset":3595,"endOffset":3673,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3626,"endOffset":3666,"count":0}],"isBlockCoverage":false},{"functionName":"dump","ranges":[{"startOffset":3862,"endOffset":4064,"count":0}],"isBlockCoverage":false},{"functionName":"dumpLru","ranges":[{"startOffset":4068,"endOffset":4110,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":4114,"endOffset":5376,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":5380,"endOffset":5513,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":5517,"endOffset":5564,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":5568,"endOffset":5617,"count":0}],"isBlockCoverage":false},{"functionName":"pop","ranges":[{"startOffset":5621,"endOffset":5746,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":5750,"endOffset":5801,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":5805,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"prune","ranges":[{"startOffset":6382,"endOffset":6459,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":6475,"endOffset":6871,"count":0}],"isBlockCoverage":false},{"functionName":"isStale","ranges":[{"startOffset":6889,"endOffset":7094,"count":0}],"isBlockCoverage":false},{"functionName":"trim","ranges":[{"startOffset":7109,"endOffset":7497,"count":0}],"isBlockCoverage":false},{"functionName":"del","ranges":[{"startOffset":7511,"endOffset":7738,"count":0}],"isBlockCoverage":false},{"functionName":"Entry","ranges":[{"startOffset":7756,"endOffset":7923,"count":0}],"isBlockCoverage":false},{"functionName":"forEachStep","ranges":[{"startOffset":7947,"endOffset":8158,"count":0}],"isBlockCoverage":false}]},{"scriptId":"509","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/yallist.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8411,"count":1},{"startOffset":8397,"endOffset":8410,"count":0}],"isBlockCoverage":true},{"functionName":"Yallist","ranges":[{"startOffset":85,"endOffset":517,"count":1},{"startOffset":163,"endOffset":193,"count":0},{"startOffset":263,"endOffset":300,"count":0},{"startOffset":302,"endOffset":371,"count":0},{"startOffset":403,"endOffset":500,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":321,"endOffset":366,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.removeNode","ranges":[{"startOffset":550,"endOffset":1001,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshiftNode","ranges":[{"startOffset":1035,"endOffset":1334,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pushNode","ranges":[{"startOffset":1365,"endOffset":1664,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.push","ranges":[{"startOffset":1691,"endOffset":1814,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.unshift","ranges":[{"startOffset":1844,"endOffset":1970,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.pop","ranges":[{"startOffset":1996,"endOffset":2224,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.shift","ranges":[{"startOffset":2252,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEach","ranges":[{"startOffset":2510,"endOffset":2691,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.forEachReverse","ranges":[{"startOffset":2728,"endOffset":2923,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.get","ranges":[{"startOffset":2949,"endOffset":3182,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.getReverse","ranges":[{"startOffset":3215,"endOffset":3448,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.map","ranges":[{"startOffset":3474,"endOffset":3690,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.mapReverse","ranges":[{"startOffset":3723,"endOffset":3939,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduce","ranges":[{"startOffset":3968,"endOffset":4363,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reduceReverse","ranges":[{"startOffset":4399,"endOffset":4808,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArray","ranges":[{"startOffset":4838,"endOffset":5018,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.toArrayReverse","ranges":[{"startOffset":5055,"endOffset":5235,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.slice","ranges":[{"startOffset":5263,"endOffset":5790,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.sliceReverse","ranges":[{"startOffset":5825,"endOffset":6362,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.splice","ranges":[{"startOffset":6391,"endOffset":7034,"count":0}],"isBlockCoverage":false},{"functionName":"Yallist.reverse","ranges":[{"startOffset":7064,"endOffset":7322,"count":0}],"isBlockCoverage":false},{"functionName":"insert","ranges":[{"startOffset":7324,"endOffset":7643,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":7645,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"unshift","ranges":[{"startOffset":7795,"endOffset":7946,"count":0}],"isBlockCoverage":false},{"functionName":"Node","ranges":[{"startOffset":7948,"endOffset":8300,"count":0}],"isBlockCoverage":false}]},{"scriptId":"510","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/yallist/iterator.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":207,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":30,"endOffset":206,"count":1}],"isBlockCoverage":true},{"functionName":"Yallist.","ranges":[{"startOffset":90,"endOffset":204,"count":0}],"isBlockCoverage":false}]},{"scriptId":"511","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/functions/satisfies.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":233,"count":1}],"isBlockCoverage":true},{"functionName":"satisfies","ranges":[{"startOffset":60,"endOffset":205,"count":0}],"isBlockCoverage":false}]},{"scriptId":"512","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/to-comparators.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":268,"count":1}],"isBlockCoverage":true},{"functionName":"toComparators","ranges":[{"startOffset":115,"endOffset":235,"count":0}],"isBlockCoverage":false}]},{"scriptId":"513","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/max-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":579,"count":1}],"isBlockCoverage":true},{"functionName":"maxSatisfying","ranges":[{"startOffset":109,"endOffset":547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"514","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-satisfying.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"minSatisfying","ranges":[{"startOffset":108,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"515","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/min-version.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1500,"count":1}],"isBlockCoverage":true},{"functionName":"minVersion","ranges":[{"startOffset":144,"endOffset":1471,"count":0}],"isBlockCoverage":false}]},{"scriptId":"516","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/valid.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":312,"count":1}],"isBlockCoverage":true},{"functionName":"validRange","ranges":[{"startOffset":61,"endOffset":283,"count":0}],"isBlockCoverage":false}]},{"scriptId":"517","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/outside.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2190,"count":1}],"isBlockCoverage":true},{"functionName":"outside","ranges":[{"startOffset":390,"endOffset":2163,"count":0}],"isBlockCoverage":false}]},{"scriptId":"518","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/gtr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":217,"count":1}],"isBlockCoverage":true},{"functionName":"gtr","ranges":[{"startOffset":129,"endOffset":195,"count":0}],"isBlockCoverage":false}]},{"scriptId":"519","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/ltr.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":213,"count":1}],"isBlockCoverage":true},{"functionName":"ltr","ranges":[{"startOffset":125,"endOffset":191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"520","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/intersects.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":210,"count":1}],"isBlockCoverage":true},{"functionName":"intersects","ranges":[{"startOffset":61,"endOffset":181,"count":0}],"isBlockCoverage":false}]},{"scriptId":"521","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/simplify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1341,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":329,"endOffset":1340,"count":0}],"isBlockCoverage":false}]},{"scriptId":"522","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/semver/ranges/subset.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7510,"count":1}],"isBlockCoverage":true},{"functionName":"subset","ranges":[{"startOffset":1996,"endOffset":2727,"count":0}],"isBlockCoverage":false},{"functionName":"simpleSubset","ranges":[{"startOffset":2869,"endOffset":6974,"count":0}],"isBlockCoverage":false},{"functionName":"higherGT","ranges":[{"startOffset":7025,"endOffset":7229,"count":0}],"isBlockCoverage":false},{"functionName":"lowerLT","ranges":[{"startOffset":7280,"endOffset":7484,"count":0}],"isBlockCoverage":false}]},{"scriptId":"523","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/property.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6165,"count":1}],"isBlockCoverage":true},{"functionName":"describeComplex","ranges":[{"startOffset":331,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeComplex","ranges":[{"startOffset":457,"endOffset":572,"count":0}],"isBlockCoverage":false},{"functionName":"describePrimitive","ranges":[{"startOffset":622,"endOffset":708,"count":0}],"isBlockCoverage":false},{"functionName":"deserializePrimitive","ranges":[{"startOffset":756,"endOffset":888,"count":0}],"isBlockCoverage":false},{"functionName":"Property","ranges":[{"startOffset":1125,"endOffset":1167,"count":0}],"isBlockCoverage":false},{"functionName":"compareKeys","ranges":[{"startOffset":1171,"endOffset":1692,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1696,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"ComplexProperty","ranges":[{"startOffset":2881,"endOffset":2949,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2953,"endOffset":3025,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":3029,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"formatShallow","ranges":[{"startOffset":3308,"endOffset":3811,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":3815,"endOffset":3853,"count":0}],"isBlockCoverage":false},{"functionName":"PrimitiveProperty","ranges":[{"startOffset":3981,"endOffset":4049,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":4053,"endOffset":4328,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":4332,"endOffset":5014,"count":0}],"isBlockCoverage":false},{"functionName":"diffDeep","ranges":[{"startOffset":5018,"endOffset":6023,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6027,"endOffset":6079,"count":0}],"isBlockCoverage":false}]},{"scriptId":"524","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/symbol.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2777,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":329,"endOffset":675,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":705,"endOffset":901,"count":0}],"isBlockCoverage":false},{"functionName":"SymbolValue","ranges":[{"startOffset":1012,"endOffset":1111,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":1115,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":1409,"endOffset":1540,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":1544,"endOffset":1651,"count":0}],"isBlockCoverage":false},{"functionName":"formatAsKey","ranges":[{"startOffset":1655,"endOffset":1788,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":1792,"endOffset":1956,"count":0}],"isBlockCoverage":false},{"functionName":"DeserializedSymbolValue","ranges":[{"startOffset":2159,"endOffset":2232,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":2236,"endOffset":2726,"count":0}],"isBlockCoverage":false},{"functionName":"formatString","ranges":[{"startOffset":2730,"endOffset":2774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"525","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-string-escape/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":644,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":17,"endOffset":643,"count":0}],"isBlockCoverage":false}]},{"scriptId":"526","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/well-known-symbols/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":800,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":672,"endOffset":689,"count":12}],"isBlockCoverage":true},{"functionName":"exports.isWellKnown","ranges":[{"startOffset":715,"endOffset":747,"count":0}],"isBlockCoverage":false},{"functionName":"exports.getLabel","ranges":[{"startOffset":767,"endOffset":799,"count":0}],"isBlockCoverage":false}]},{"scriptId":"527","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/bigInt.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":906,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"BigIntValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":714,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":718,"endOffset":758,"count":0}],"isBlockCoverage":false}]},{"scriptId":"528","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/boolean.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":931,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":286,"count":0}],"isBlockCoverage":false},{"functionName":"BooleanValue","ranges":[{"startOffset":425,"endOffset":473,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":477,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":737,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":741,"endOffset":781,"count":0}],"isBlockCoverage":false}]},{"scriptId":"529","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/null.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":737,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":273,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":406,"endOffset":497,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":501,"endOffset":593,"count":0}],"isBlockCoverage":false}]},{"scriptId":"530","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/number.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":969,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":285,"count":0}],"isBlockCoverage":false},{"functionName":"NumberValue","ranges":[{"startOffset":422,"endOffset":470,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":474,"endOffset":606,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":610,"endOffset":777,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":781,"endOffset":821,"count":0}],"isBlockCoverage":false}]},{"scriptId":"531","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/primitiveValues/undefined.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":772,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":224,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":421,"endOffset":512,"count":0}],"isBlockCoverage":false},{"functionName":"formatDeep","ranges":[{"startOffset":516,"endOffset":618,"count":0}],"isBlockCoverage":false}]},{"scriptId":"532","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/shouldCompareDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":573,"count":1}],"isBlockCoverage":true},{"functionName":"shouldCompareDeep","ranges":[{"startOffset":206,"endOffset":537,"count":0}],"isBlockCoverage":false}]},{"scriptId":"533","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/symbolProperties.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2759,"count":1}],"isBlockCoverage":true},{"functionName":"Comparable","ranges":[{"startOffset":247,"endOffset":348,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":352,"endOffset":533,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":537,"endOffset":1293,"count":0}],"isBlockCoverage":false},{"functionName":"prepareDiff","ranges":[{"startOffset":1297,"endOffset":2003,"count":0}],"isBlockCoverage":false},{"functionName":"Collector","ranges":[{"startOffset":2152,"endOffset":2288,"count":0}],"isBlockCoverage":false},{"functionName":"collectAll","ranges":[{"startOffset":2292,"endOffset":2538,"count":0}],"isBlockCoverage":false},{"functionName":"createRecursor","ranges":[{"startOffset":2542,"endOffset":2635,"count":0}],"isBlockCoverage":false}]},{"scriptId":"534","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/diff.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13805,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":630,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"compareComplexShape","ranges":[{"startOffset":642,"endOffset":1886,"count":0}],"isBlockCoverage":false},{"functionName":"diffDescriptors","ranges":[{"startOffset":1888,"endOffset":13605,"count":0}],"isBlockCoverage":false},{"functionName":"diff","ranges":[{"startOffset":13649,"endOffset":13784,"count":0}],"isBlockCoverage":false}]},{"scriptId":"535","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/Indenter.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":360,"count":1}],"isBlockCoverage":true},{"functionName":"Indenter","ranges":[{"startOffset":33,"endOffset":144,"count":1}],"isBlockCoverage":true},{"functionName":"increase","ranges":[{"startOffset":148,"endOffset":216,"count":0}],"isBlockCoverage":false},{"functionName":"decrease","ranges":[{"startOffset":220,"endOffset":288,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":292,"endOffset":331,"count":0}],"isBlockCoverage":false}]},{"scriptId":"536","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/format.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3075,"count":1}],"isBlockCoverage":true},{"functionName":"alwaysFormat","ranges":[{"startOffset":241,"endOffset":251,"count":0}],"isBlockCoverage":false},{"functionName":"formatDescriptor","ranges":[{"startOffset":295,"endOffset":2907,"count":0}],"isBlockCoverage":false},{"functionName":"format","ranges":[{"startOffset":2953,"endOffset":3050,"count":0}],"isBlockCoverage":false}]},{"scriptId":"537","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/serialize.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12422,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4159,"endOffset":4194,"count":31}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4241,"endOffset":4276,"count":31}],"isBlockCoverage":true},{"functionName":"DescriptorSerializationError","ranges":[{"startOffset":4333,"endOffset":4487,"count":0}],"isBlockCoverage":false},{"functionName":"MissingPluginError","ranges":[{"startOffset":4534,"endOffset":4722,"count":0}],"isBlockCoverage":false},{"functionName":"PointerLookupError","ranges":[{"startOffset":4769,"endOffset":4936,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedPluginError","ranges":[{"startOffset":4987,"endOffset":5271,"count":0}],"isBlockCoverage":false},{"functionName":"UnsupportedVersion","ranges":[{"startOffset":5373,"endOffset":5576,"count":0}],"isBlockCoverage":false},{"functionName":"shallowSerializeDescriptor","ranges":[{"startOffset":5580,"endOffset":5763,"count":0}],"isBlockCoverage":false},{"functionName":"serializeState","ranges":[{"startOffset":5765,"endOffset":6401,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":6403,"endOffset":8213,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeState","ranges":[{"startOffset":8245,"endOffset":8564,"count":0}],"isBlockCoverage":false},{"functionName":"shallowDeserializeDescriptor","ranges":[{"startOffset":8566,"endOffset":8761,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeRecord","ranges":[{"startOffset":8763,"endOffset":9449,"count":0}],"isBlockCoverage":false},{"functionName":"buildPluginMap","ranges":[{"startOffset":9451,"endOffset":10790,"count":0}],"isBlockCoverage":false},{"functionName":"deserialize","ranges":[{"startOffset":10792,"endOffset":12387,"count":0}],"isBlockCoverage":false}]},{"scriptId":"538","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/md5-hex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":406,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":66,"endOffset":404,"count":0}],"isBlockCoverage":false}]},{"scriptId":"539","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9570,"count":1}],"isBlockCoverage":true},{"functionName":"encodeInteger","ranges":[{"startOffset":689,"endOffset":828,"count":0}],"isBlockCoverage":false},{"functionName":"encodeValue","ranges":[{"startOffset":830,"endOffset":3045,"count":0}],"isBlockCoverage":false},{"functionName":"decodeValue","ranges":[{"startOffset":3047,"endOffset":5534,"count":0}],"isBlockCoverage":false},{"functionName":"buildBuffer","ranges":[{"startOffset":5536,"endOffset":6158,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":6160,"endOffset":7889,"count":0}],"isBlockCoverage":false},{"functionName":"decodePlugins","ranges":[{"startOffset":7915,"endOffset":8425,"count":0}],"isBlockCoverage":false},{"functionName":"decodeRecord","ranges":[{"startOffset":8465,"endOffset":9182,"count":0}],"isBlockCoverage":false},{"functionName":"extractVersion","ranges":[{"startOffset":9220,"endOffset":9288,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":9330,"endOffset":9545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"540","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/flattenDeep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":577,"count":1}],"isBlockCoverage":true},{"functionName":"flattenDeep","ranges":[{"startOffset":412,"endOffset":545,"count":0}],"isBlockCoverage":false}]},{"scriptId":"541","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_baseFlatten.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1201,"count":1}],"isBlockCoverage":true},{"functionName":"baseFlatten","ranges":[{"startOffset":568,"endOffset":1169,"count":0}],"isBlockCoverage":false}]},{"scriptId":"542","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/lodash/_isFlattenable.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1},{"startOffset":208,"endOffset":219,"count":0}],"isBlockCoverage":true},{"functionName":"isFlattenable","ranges":[{"startOffset":430,"endOffset":574,"count":0}],"isBlockCoverage":false}]},{"scriptId":"543","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/concordance/lib/metaDescriptors/pointer.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":617,"count":1}],"isBlockCoverage":true},{"functionName":"describe","ranges":[{"startOffset":63,"endOffset":120,"count":0}],"isBlockCoverage":false},{"functionName":"Pointer","ranges":[{"startOffset":249,"endOffset":297,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":392,"endOffset":435,"count":0}],"isBlockCoverage":false},{"functionName":"serialize","ranges":[{"startOffset":439,"endOffset":479,"count":0}],"isBlockCoverage":false}]},{"scriptId":"544","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-error/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":598,"count":1}],"isBlockCoverage":true},{"functionName":"isError","ranges":[{"startOffset":160,"endOffset":596,"count":0}],"isBlockCoverage":false}]},{"scriptId":"545","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7961,"count":1},{"startOffset":184,"endOffset":189,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":290,"endOffset":398,"count":70}],"isBlockCoverage":true},{"functionName":"StackUtils","ranges":[{"startOffset":581,"endOffset":1041,"count":2},{"startOffset":703,"endOffset":761,"count":1}],"isBlockCoverage":true},{"functionName":"nodeInternals","ranges":[{"startOffset":1052,"endOffset":1099,"count":3}],"isBlockCoverage":true},{"functionName":"clean","ranges":[{"startOffset":1103,"endOffset":2199,"count":0}],"isBlockCoverage":false},{"functionName":"captureString","ranges":[{"startOffset":2203,"endOffset":2601,"count":0}],"isBlockCoverage":false},{"functionName":"capture","ranges":[{"startOffset":2605,"endOffset":3178,"count":0}],"isBlockCoverage":false},{"functionName":"at","ranges":[{"startOffset":3182,"endOffset":4236,"count":0}],"isBlockCoverage":false},{"functionName":"parseLine","ranges":[{"startOffset":4240,"endOffset":6388,"count":0}],"isBlockCoverage":false},{"functionName":"setFile","ranges":[{"startOffset":6392,"endOffset":6629,"count":0}],"isBlockCoverage":false},{"functionName":"ignoredPackagesRegExp","ranges":[{"startOffset":6631,"endOffset":6913,"count":2},{"startOffset":6717,"endOffset":6912,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6778,"endOffset":6808,"count":3}],"isBlockCoverage":true}]},{"scriptId":"546","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/stack-utils/node_modules/escape-string-regexp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":236,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":85,"endOffset":234,"count":3},{"startOffset":130,"endOffset":178,"count":0}],"isBlockCoverage":true}]},{"scriptId":"547","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/cbor.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2598,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":2526,"endOffset":2597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"548","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/commented.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8911,"count":1}],"isBlockCoverage":true},{"functionName":"plural","ranges":[{"startOffset":242,"endOffset":310,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":1621,"endOffset":2061,"count":0}],"isBlockCoverage":false},{"functionName":"Commented","ranges":[{"startOffset":2313,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"_tag_24","ranges":[{"startOffset":3493,"endOffset":3678,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3682,"endOffset":3762,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3766,"endOffset":3890,"count":0}],"isBlockCoverage":false},{"functionName":"comment","ranges":[{"startOffset":4466,"endOffset":5155,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":5184,"endOffset":5277,"count":0}],"isBlockCoverage":false},{"functionName":"_on_read","ranges":[{"startOffset":5306,"endOffset":5625,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":5654,"endOffset":6378,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start_string","ranges":[{"startOffset":6407,"endOffset":6713,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":6742,"endOffset":7824,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":7853,"endOffset":7888,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":7918,"endOffset":8748,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":8777,"endOffset":8880,"count":0}],"isBlockCoverage":false}]},{"scriptId":"549","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8215,"count":1}],"isBlockCoverage":true},{"functionName":"exports.utf8","ranges":[{"startOffset":492,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isReadable","ranges":[{"startOffset":546,"endOffset":799,"count":0}],"isBlockCoverage":false},{"functionName":"isBufferish","ranges":[{"startOffset":823,"endOffset":1068,"count":0}],"isBlockCoverage":false},{"functionName":"bufferishToBuffer","ranges":[{"startOffset":1098,"endOffset":1356,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORint","ranges":[{"startOffset":1381,"endOffset":1905,"count":0}],"isBlockCoverage":false},{"functionName":"writeHalf","ranges":[{"startOffset":1927,"endOffset":4036,"count":0}],"isBlockCoverage":false},{"functionName":"parseHalf","ranges":[{"startOffset":4058,"endOffset":4391,"count":0}],"isBlockCoverage":false},{"functionName":"parseCBORfloat","ranges":[{"startOffset":4418,"endOffset":4687,"count":0}],"isBlockCoverage":false},{"functionName":"hex","ranges":[{"startOffset":4703,"endOffset":4772,"count":0}],"isBlockCoverage":false},{"functionName":"bin","ranges":[{"startOffset":4788,"endOffset":5042,"count":0}],"isBlockCoverage":false},{"functionName":"arrayEqual","ranges":[{"startOffset":5065,"endOffset":5279,"count":0}],"isBlockCoverage":false},{"functionName":"bufferToBigInt","ranges":[{"startOffset":5306,"endOffset":5382,"count":0}],"isBlockCoverage":false},{"functionName":"cborValueToString","ranges":[{"startOffset":5412,"endOffset":7059,"count":0}],"isBlockCoverage":false},{"functionName":"guessEncoding","ranges":[{"startOffset":7085,"endOffset":7418,"count":0}],"isBlockCoverage":false},{"functionName":"base64url","ranges":[{"startOffset":7657,"endOffset":7793,"count":0}],"isBlockCoverage":false},{"functionName":"base64","ranges":[{"startOffset":7965,"endOffset":8048,"count":0}],"isBlockCoverage":false},{"functionName":"isBigEndian","ranges":[{"startOffset":8072,"endOffset":8214,"count":0}],"isBlockCoverage":false}]},{"scriptId":"550","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/nofilter/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28585,"count":1}],"isBlockCoverage":true},{"functionName":"NoFilter","ranges":[{"startOffset":3473,"endOffset":5501,"count":0}],"isBlockCoverage":false},{"functionName":"isNoFilter","ranges":[{"startOffset":5664,"endOffset":5716,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":6159,"endOffset":6351,"count":0}],"isBlockCoverage":false},{"functionName":"concat","ranges":[{"startOffset":7149,"endOffset":8408,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":8437,"endOffset":8688,"count":0}],"isBlockCoverage":false},{"functionName":"_bufArray","ranges":[{"startOffset":8811,"endOffset":9199,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":9982,"endOffset":10504,"count":0}],"isBlockCoverage":false},{"functionName":"readFull","ranges":[{"startOffset":10957,"endOffset":12088,"count":0}],"isBlockCoverage":false},{"functionName":"promise","ranges":[{"startOffset":12421,"endOffset":12847,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":13163,"endOffset":13614,"count":0}],"isBlockCoverage":false},{"functionName":"equals","ranges":[{"startOffset":13827,"endOffset":13883,"count":0}],"isBlockCoverage":false},{"functionName":"slice","ranges":[{"startOffset":14414,"endOffset":14924,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":15137,"endOffset":15184,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":15588,"endOffset":15702,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":16207,"endOffset":16468,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16497,"endOffset":16823,"count":0}],"isBlockCoverage":false},{"functionName":"get length","ranges":[{"startOffset":16931,"endOffset":17040,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt","ranges":[{"startOffset":17265,"endOffset":17670,"count":0}],"isBlockCoverage":false},{"functionName":"readUBigInt","ranges":[{"startOffset":17884,"endOffset":18034,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt","ranges":[{"startOffset":18276,"endOffset":18596,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt8","ranges":[{"startOffset":18759,"endOffset":18841,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16LE","ranges":[{"startOffset":19026,"endOffset":19133,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt16BE","ranges":[{"startOffset":19315,"endOffset":19422,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32LE","ranges":[{"startOffset":19609,"endOffset":19716,"count":0}],"isBlockCoverage":false},{"functionName":"writeUInt32BE","ranges":[{"startOffset":19900,"endOffset":20007,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt8","ranges":[{"startOffset":20172,"endOffset":20253,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16LE","ranges":[{"startOffset":20438,"endOffset":20544,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt16BE","ranges":[{"startOffset":20726,"endOffset":20832,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32LE","ranges":[{"startOffset":21021,"endOffset":21127,"count":0}],"isBlockCoverage":false},{"functionName":"writeInt32BE","ranges":[{"startOffset":21313,"endOffset":21419,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatLE","ranges":[{"startOffset":21592,"endOffset":21697,"count":0}],"isBlockCoverage":false},{"functionName":"writeFloatBE","ranges":[{"startOffset":21867,"endOffset":21972,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleLE","ranges":[{"startOffset":22146,"endOffset":22253,"count":0}],"isBlockCoverage":false},{"functionName":"writeDoubleBE","ranges":[{"startOffset":22423,"endOffset":22530,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64LE","ranges":[{"startOffset":22705,"endOffset":22816,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigInt64BE","ranges":[{"startOffset":22988,"endOffset":23099,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64LE","ranges":[{"startOffset":23290,"endOffset":23403,"count":0}],"isBlockCoverage":false},{"functionName":"writeBigUInt64BE","ranges":[{"startOffset":23591,"endOffset":23704,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt8","ranges":[{"startOffset":23831,"endOffset":23955,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16LE","ranges":[{"startOffset":24101,"endOffset":24231,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt16BE","ranges":[{"startOffset":24377,"endOffset":24507,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32LE","ranges":[{"startOffset":24653,"endOffset":24783,"count":0}],"isBlockCoverage":false},{"functionName":"readUInt32BE","ranges":[{"startOffset":24929,"endOffset":25059,"count":0}],"isBlockCoverage":false},{"functionName":"readInt8","ranges":[{"startOffset":25183,"endOffset":25305,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16LE","ranges":[{"startOffset":25449,"endOffset":25577,"count":0}],"isBlockCoverage":false},{"functionName":"readInt16BE","ranges":[{"startOffset":25721,"endOffset":25849,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32LE","ranges":[{"startOffset":25993,"endOffset":26121,"count":0}],"isBlockCoverage":false},{"functionName":"readInt32BE","ranges":[{"startOffset":26265,"endOffset":26393,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatLE","ranges":[{"startOffset":26528,"endOffset":26656,"count":0}],"isBlockCoverage":false},{"functionName":"readFloatBE","ranges":[{"startOffset":26788,"endOffset":26916,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleLE","ranges":[{"startOffset":27051,"endOffset":27181,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleBE","ranges":[{"startOffset":27313,"endOffset":27443,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64LE","ranges":[{"startOffset":27586,"endOffset":27720,"count":0}],"isBlockCoverage":false},{"functionName":"readBigInt64BE","ranges":[{"startOffset":27860,"endOffset":27994,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64LE","ranges":[{"startOffset":28140,"endOffset":28276,"count":0}],"isBlockCoverage":false},{"functionName":"readBigUInt64BE","ranges":[{"startOffset":28419,"endOffset":28555,"count":0}],"isBlockCoverage":false}]},{"scriptId":"551","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1352,"count":1}],"isBlockCoverage":true}]},{"scriptId":"552","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/decoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20596,"count":1}],"isBlockCoverage":true},{"functionName":"parentArray","ranges":[{"startOffset":508,"endOffset":641,"count":0}],"isBlockCoverage":false},{"functionName":"parentBufferStream","ranges":[{"startOffset":643,"endOffset":785,"count":0}],"isBlockCoverage":false},{"functionName":"UnexpectedDataError","ranges":[{"startOffset":831,"endOffset":996,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeOptions","ranges":[{"startOffset":3420,"endOffset":3794,"count":0}],"isBlockCoverage":false},{"functionName":"Decoder","ranges":[{"startOffset":4237,"endOffset":4930,"count":0}],"isBlockCoverage":false},{"functionName":"nullcheck","ranges":[{"startOffset":5301,"endOffset":5710,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirstSync","ranges":[{"startOffset":6389,"endOffset":7548,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAllSync","ranges":[{"startOffset":8073,"endOffset":8838,"count":0}],"isBlockCoverage":false},{"functionName":"decodeFirst","ranges":[{"startOffset":9562,"endOffset":11046,"count":0}],"isBlockCoverage":false},{"functionName":"decodeAll","ranges":[{"startOffset":11770,"endOffset":12395,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":12433,"endOffset":12495,"count":0}],"isBlockCoverage":false},{"functionName":"_onRead","ranges":[{"startOffset":12574,"endOffset":12625,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":12867,"endOffset":20537,"count":0}],"isBlockCoverage":false}]},{"scriptId":"553","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/vendor/binary-parse-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2692,"count":1}],"isBlockCoverage":true},{"functionName":"BinaryParseStream","ranges":[{"startOffset":1100,"endOffset":1513,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":1517,"endOffset":2086,"count":0}],"isBlockCoverage":false},{"functionName":"_parse","ranges":[{"startOffset":2331,"endOffset":2462,"count":0}],"isBlockCoverage":false},{"functionName":"__restart","ranges":[{"startOffset":2466,"endOffset":2566,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":2570,"endOffset":2653,"count":0}],"isBlockCoverage":false}]},{"scriptId":"554","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/tagged.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":10762,"count":1},{"startOffset":7721,"endOffset":7750,"count":19}],"isBlockCoverage":true},{"functionName":"setBuffersToJSON","ranges":[{"startOffset":135,"endOffset":954,"count":0}],"isBlockCoverage":false},{"functionName":"b64this","ranges":[{"startOffset":956,"endOffset":1052,"count":0}],"isBlockCoverage":false},{"functionName":"b64urlThis","ranges":[{"startOffset":1054,"endOffset":1156,"count":0}],"isBlockCoverage":false},{"functionName":"hexThis","ranges":[{"startOffset":1158,"endOffset":1256,"count":0}],"isBlockCoverage":false},{"functionName":"swapEndian","ranges":[{"startOffset":1258,"endOffset":1667,"count":0}],"isBlockCoverage":false},{"functionName":"0","ranges":[{"startOffset":2409,"endOffset":2425,"count":0}],"isBlockCoverage":false},{"functionName":"1","ranges":[{"startOffset":2478,"endOffset":2501,"count":0}],"isBlockCoverage":false},{"functionName":"2","ranges":[{"startOffset":2548,"endOffset":2576,"count":0}],"isBlockCoverage":false},{"functionName":"3","ranges":[{"startOffset":2623,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"21","ranges":[{"startOffset":2752,"endOffset":2911,"count":0}],"isBlockCoverage":false},{"functionName":"22","ranges":[{"startOffset":2984,"endOffset":3137,"count":0}],"isBlockCoverage":false},{"functionName":"23","ranges":[{"startOffset":3218,"endOffset":3371,"count":0}],"isBlockCoverage":false},{"functionName":"32","ranges":[{"startOffset":3409,"endOffset":3424,"count":0}],"isBlockCoverage":false},{"functionName":"33","ranges":[{"startOffset":3468,"endOffset":4627,"count":0}],"isBlockCoverage":false},{"functionName":"34","ranges":[{"startOffset":4668,"endOffset":5867,"count":0}],"isBlockCoverage":false},{"functionName":"35","ranges":[{"startOffset":5920,"endOffset":5938,"count":0}],"isBlockCoverage":false},{"functionName":"258","ranges":[{"startOffset":6027,"endOffset":6042,"count":0}],"isBlockCoverage":false},{"functionName":"_toTypedArray","ranges":[{"startOffset":7009,"endOffset":7672,"count":0}],"isBlockCoverage":false},{"functionName":"Tagged","ranges":[{"startOffset":8277,"endOffset":8615,"count":0}],"isBlockCoverage":false},{"functionName":"toJSON","ranges":[{"startOffset":8619,"endOffset":8856,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":8953,"endOffset":9025,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":9189,"endOffset":9272,"count":0}],"isBlockCoverage":false},{"functionName":"convert","ranges":[{"startOffset":9824,"endOffset":10302,"count":0}],"isBlockCoverage":false},{"functionName":"get TAGS","ranges":[{"startOffset":10432,"endOffset":10472,"count":0}],"isBlockCoverage":false},{"functionName":"set TAGS","ranges":[{"startOffset":10483,"endOffset":10525,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":10642,"endOffset":10683,"count":1}],"isBlockCoverage":true}]},{"scriptId":"555","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/simple.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2695,"count":1}],"isBlockCoverage":true},{"functionName":"Simple","ranges":[{"startOffset":268,"endOffset":567,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":683,"endOffset":734,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":930,"endOffset":1026,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":1190,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"isSimple","ranges":[{"startOffset":1403,"endOffset":1455,"count":0}],"isBlockCoverage":false},{"functionName":"decode","ranges":[{"startOffset":2071,"endOffset":2667,"count":0}],"isBlockCoverage":false}]},{"scriptId":"556","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/diagnose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6617,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeOptions","ranges":[{"startOffset":1886,"endOffset":2262,"count":0}],"isBlockCoverage":false},{"functionName":"Diagnose","ranges":[{"startOffset":2529,"endOffset":3414,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":3418,"endOffset":3505,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":3509,"endOffset":3707,"count":0}],"isBlockCoverage":false},{"functionName":"diagnose","ranges":[{"startOffset":4122,"endOffset":4775,"count":0}],"isBlockCoverage":false},{"functionName":"_on_error","ranges":[{"startOffset":4804,"endOffset":4932,"count":0}],"isBlockCoverage":false},{"functionName":"_on_more","ranges":[{"startOffset":4954,"endOffset":5115,"count":0}],"isBlockCoverage":false},{"functionName":"_fore","ranges":[{"startOffset":5137,"endOffset":5507,"count":0}],"isBlockCoverage":false},{"functionName":"_on_value","ranges":[{"startOffset":5529,"endOffset":5751,"count":0}],"isBlockCoverage":false},{"functionName":"_on_start","ranges":[{"startOffset":5773,"endOffset":6194,"count":0}],"isBlockCoverage":false},{"functionName":"_on_stop","ranges":[{"startOffset":6216,"endOffset":6519,"count":0}],"isBlockCoverage":false},{"functionName":"_on_data","ranges":[{"startOffset":6541,"endOffset":6587,"count":0}],"isBlockCoverage":false}]},{"scriptId":"557","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/encoder.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":31613,"count":1}],"isBlockCoverage":true},{"functionName":"parseDateType","ranges":[{"startOffset":1747,"endOffset":2083,"count":0}],"isBlockCoverage":false},{"functionName":"Encoder","ranges":[{"startOffset":4631,"endOffset":6047,"count":0}],"isBlockCoverage":false},{"functionName":"_transform","ranges":[{"startOffset":6051,"endOffset":6261,"count":0}],"isBlockCoverage":false},{"functionName":"_flush","ranges":[{"startOffset":6318,"endOffset":6350,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt8","ranges":[{"startOffset":6470,"endOffset":6576,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt16BE","ranges":[{"startOffset":6698,"endOffset":6810,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUInt32BE","ranges":[{"startOffset":6935,"endOffset":7047,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloatBE","ranges":[{"startOffset":7176,"endOffset":7286,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDoubleBE","ranges":[{"startOffset":7416,"endOffset":7528,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNaN","ranges":[{"startOffset":7598,"endOffset":7644,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInfinity","ranges":[{"startOffset":7770,"endOffset":7876,"count":0}],"isBlockCoverage":false},{"functionName":"_pushFloat","ranges":[{"startOffset":8142,"endOffset":9321,"count":0}],"isBlockCoverage":false},{"functionName":"_pushInt","ranges":[{"startOffset":10074,"endOffset":10925,"count":0}],"isBlockCoverage":false},{"functionName":"_pushIntNum","ranges":[{"startOffset":11192,"endOffset":11409,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNumber","ranges":[{"startOffset":11531,"endOffset":11787,"count":0}],"isBlockCoverage":false},{"functionName":"_pushString","ranges":[{"startOffset":11900,"endOffset":12041,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoolean","ranges":[{"startOffset":12153,"endOffset":12223,"count":0}],"isBlockCoverage":false},{"functionName":"_pushUndefined","ranges":[{"startOffset":12330,"endOffset":12752,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNull","ranges":[{"startOffset":12854,"endOffset":12907,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTag","ranges":[{"startOffset":13024,"endOffset":13081,"count":0}],"isBlockCoverage":false},{"functionName":"_pushJSBigint","ranges":[{"startOffset":13194,"endOffset":13960,"count":0}],"isBlockCoverage":false},{"functionName":"_pushObject","ranges":[{"startOffset":14109,"endOffset":16394,"count":0}],"isBlockCoverage":false},{"functionName":"_encodeAll","ranges":[{"startOffset":16551,"endOffset":16756,"count":0}],"isBlockCoverage":false},{"functionName":"addSemanticType","ranges":[{"startOffset":17172,"endOffset":17565,"count":0}],"isBlockCoverage":false},{"functionName":"pushAny","ranges":[{"startOffset":17771,"endOffset":18684,"count":0}],"isBlockCoverage":false},{"functionName":"pushArray","ranges":[{"startOffset":18990,"endOffset":19516,"count":0}],"isBlockCoverage":false},{"functionName":"removeLoopDetectors","ranges":[{"startOffset":19662,"endOffset":19796,"count":0}],"isBlockCoverage":false},{"functionName":"_pushDate","ranges":[{"startOffset":19947,"endOffset":20619,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBuffer","ranges":[{"startOffset":20774,"endOffset":20870,"count":0}],"isBlockCoverage":false},{"functionName":"_pushNoFilter","ranges":[{"startOffset":21027,"endOffset":21129,"count":0}],"isBlockCoverage":false},{"functionName":"_pushRegexp","ranges":[{"startOffset":21284,"endOffset":21374,"count":0}],"isBlockCoverage":false},{"functionName":"_pushSet","ranges":[{"startOffset":21523,"endOffset":21783,"count":0}],"isBlockCoverage":false},{"functionName":"_pushURL","ranges":[{"startOffset":21932,"endOffset":22020,"count":0}],"isBlockCoverage":false},{"functionName":"_pushBoxed","ranges":[{"startOffset":22208,"endOffset":22272,"count":0}],"isBlockCoverage":false},{"functionName":"_pushMap","ranges":[{"startOffset":22469,"endOffset":24462,"count":0}],"isBlockCoverage":false},{"functionName":"_pushTypedArray","ranges":[{"startOffset":24627,"endOffset":25299,"count":0}],"isBlockCoverage":false},{"functionName":"_pushArrayBuffer","ranges":[{"startOffset":25460,"endOffset":25546,"count":0}],"isBlockCoverage":false},{"functionName":"encodeIndefinite","ranges":[{"startOffset":26458,"endOffset":28127,"count":0}],"isBlockCoverage":false},{"functionName":"encode","ranges":[{"startOffset":28344,"endOffset":28407,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCanonical","ranges":[{"startOffset":28646,"endOffset":28748,"count":0}],"isBlockCoverage":false},{"functionName":"encodeOne","ranges":[{"startOffset":29014,"endOffset":29093,"count":0}],"isBlockCoverage":false},{"functionName":"encodeAsync","ranges":[{"startOffset":29664,"endOffset":29981,"count":0}],"isBlockCoverage":false},{"functionName":"get SEMANTIC_TYPES","ranges":[{"startOffset":30115,"endOffset":30175,"count":0}],"isBlockCoverage":false},{"functionName":"set SEMANTIC_TYPES","ranges":[{"startOffset":30186,"endOffset":30248,"count":1}],"isBlockCoverage":true},{"functionName":"reset","ranges":[{"startOffset":30375,"endOffset":30437,"count":1}],"isBlockCoverage":true}]},{"scriptId":"558","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cbor/lib/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5186,"count":1}],"isBlockCoverage":true},{"functionName":"CborMap","ranges":[{"startOffset":952,"endOffset":999,"count":0}],"isBlockCoverage":false},{"functionName":"_encode","ranges":[{"startOffset":1035,"endOffset":1112,"count":0}],"isBlockCoverage":false},{"functionName":"_decode","ranges":[{"startOffset":1148,"endOffset":1216,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":1501,"endOffset":1558,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":1874,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"delete","ranges":[{"startOffset":2283,"endOffset":2346,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":2687,"endOffset":2744,"count":0}],"isBlockCoverage":false},{"functionName":"keys","ranges":[{"startOffset":2978,"endOffset":3064,"count":0}],"isBlockCoverage":false},{"functionName":"entries","ranges":[{"startOffset":3366,"endOffset":3472,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3725,"endOffset":3776,"count":0}],"isBlockCoverage":false},{"functionName":"forEach","ranges":[{"startOffset":4173,"endOffset":4393,"count":0}],"isBlockCoverage":false},{"functionName":"encodeCBOR","ranges":[{"startOffset":4557,"endOffset":5157,"count":0}],"isBlockCoverage":false}]},{"scriptId":"559","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/map-age-cleaner/dist/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3903,"count":1}],"isBlockCoverage":true},{"functionName":"__awaiter","ranges":[{"startOffset":58,"endOffset":613,"count":0}],"isBlockCoverage":false},{"functionName":"__importDefault","ranges":[{"startOffset":671,"endOffset":752,"count":1},{"startOffset":723,"endOffset":728,"count":0}],"isBlockCoverage":true},{"functionName":"mapAgeCleaner","ranges":[{"startOffset":872,"endOffset":3774,"count":0}],"isBlockCoverage":false}]},{"scriptId":"560","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/p-defer/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":177,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":31,"endOffset":175,"count":0}],"isBlockCoverage":false}]},{"scriptId":"561","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/lib/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6750,"count":1}],"isBlockCoverage":true},{"functionName":"getId","ranges":[{"startOffset":492,"endOffset":749,"count":1},{"startOffset":664,"endOffset":747,"count":0}],"isBlockCoverage":true},{"functionName":"getTmpname","ranges":[{"startOffset":774,"endOffset":976,"count":1}],"isBlockCoverage":true},{"functionName":"cleanupOnExit","ranges":[{"startOffset":978,"endOffset":1161,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1022,"endOffset":1159,"count":0}],"isBlockCoverage":false},{"functionName":"serializeActiveFile","ranges":[{"startOffset":1163,"endOffset":1550,"count":0}],"isBlockCoverage":false},{"functionName":"isChownErrOk","ranges":[{"startOffset":1633,"endOffset":1894,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileAsync","ranges":[{"startOffset":1896,"endOffset":4304,"count":0}],"isBlockCoverage":false},{"functionName":"writeFile","ranges":[{"startOffset":4306,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"writeFileSync","ranges":[{"startOffset":4680,"endOffset":6749,"count":1},{"startOffset":4766,"endOffset":4807,"count":0},{"startOffset":4903,"endOffset":4975,"count":0},{"startOffset":5036,"endOffset":5053,"count":0},{"startOffset":5447,"endOffset":5493,"count":0},{"startOffset":5671,"endOffset":5679,"count":0},{"startOffset":5713,"endOffset":5758,"count":0},{"startOffset":5793,"endOffset":5848,"count":0},{"startOffset":6170,"endOffset":6255,"count":0},{"startOffset":6351,"endOffset":6436,"count":0},{"startOffset":6525,"endOffset":6678,"count":0},{"startOffset":6720,"endOffset":6743,"count":0}],"isBlockCoverage":true}]},{"scriptId":"562","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/imurmurhash/imurmurhash.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4412,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":443,"endOffset":4407,"count":1},{"startOffset":4352,"endOffset":4405,"count":0}],"isBlockCoverage":true},{"functionName":"MurmurHash3","ranges":[{"startOffset":811,"endOffset":1083,"count":2},{"startOffset":889,"endOffset":895,"count":1},{"startOffset":896,"endOffset":903,"count":1},{"startOffset":963,"endOffset":980,"count":1},{"startOffset":982,"endOffset":1018,"count":1},{"startOffset":1044,"endOffset":1077,"count":1}],"isBlockCoverage":true},{"functionName":"MurmurHash3.hash","ranges":[{"startOffset":1254,"endOffset":3073,"count":4},{"startOffset":1433,"endOffset":1492,"count":3},{"startOffset":1488,"endOffset":1491,"count":0},{"startOffset":1505,"endOffset":1569,"count":3},{"startOffset":1527,"endOffset":1564,"count":2},{"startOffset":1565,"endOffset":1568,"count":1},{"startOffset":1582,"endOffset":1647,"count":3},{"startOffset":1604,"endOffset":1642,"count":2},{"startOffset":1643,"endOffset":1646,"count":1},{"startOffset":1698,"endOffset":1732,"count":3},{"startOffset":1733,"endOffset":1736,"count":1},{"startOffset":1768,"endOffset":1805,"count":3},{"startOffset":1806,"endOffset":1809,"count":1},{"startOffset":1931,"endOffset":3023,"count":3},{"startOffset":1981,"endOffset":2720,"count":22},{"startOffset":2348,"endOffset":2394,"count":3},{"startOffset":2394,"endOffset":2720,"count":19},{"startOffset":2790,"endOffset":2843,"count":1},{"startOffset":2860,"endOffset":2912,"count":1},{"startOffset":2929,"endOffset":2972,"count":1}],"isBlockCoverage":true},{"functionName":"MurmurHash3.result","ranges":[{"startOffset":3193,"endOffset":3797,"count":1}],"isBlockCoverage":true},{"functionName":"MurmurHash3.reset","ranges":[{"startOffset":3937,"endOffset":4078,"count":2},{"startOffset":3997,"endOffset":4003,"count":0}],"isBlockCoverage":true}]},{"scriptId":"563","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9435,"count":1},{"startOffset":8597,"endOffset":8623,"count":0}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":518,"endOffset":562,"count":0}],"isBlockCoverage":false},{"functionName":"processOk","ranges":[{"startOffset":585,"endOffset":952,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1130,"endOffset":2434,"count":1}],"isBlockCoverage":true},{"functionName":"Emitter","ranges":[{"startOffset":1325,"endOffset":1616,"count":1},{"startOffset":1375,"endOffset":1427,"count":0}],"isBlockCoverage":true},{"functionName":"on","ranges":[{"startOffset":1621,"endOffset":1676,"count":1}],"isBlockCoverage":true},{"functionName":"removeListener","ranges":[{"startOffset":1681,"endOffset":2040,"count":1},{"startOffset":1835,"endOffset":1866,"count":0},{"startOffset":1978,"endOffset":2034,"count":0}],"isBlockCoverage":true},{"functionName":"emit","ranges":[{"startOffset":2045,"endOffset":2432,"count":0}],"isBlockCoverage":false},{"functionName":"signalExitWrap","ranges":[{"startOffset":2483,"endOffset":2732,"count":1}],"isBlockCoverage":true},{"functionName":"onExit","ranges":[{"startOffset":2519,"endOffset":2592,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":2602,"endOffset":2655,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2665,"endOffset":2722,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":2788,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":2835,"endOffset":2845,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2850,"endOffset":2862,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2865,"endOffset":8403,"count":1},{"startOffset":3070,"endOffset":3080,"count":0}],"isBlockCoverage":true},{"functionName":"SignalExit","ranges":[{"startOffset":3269,"endOffset":5206,"count":1},{"startOffset":3467,"endOffset":5088,"count":17}],"isBlockCoverage":true},{"functionName":"SignalExit.#sigListeners.","ranges":[{"startOffset":3507,"endOffset":5077,"count":0}],"isBlockCoverage":false},{"functionName":"onExit","ranges":[{"startOffset":5211,"endOffset":5804,"count":1},{"startOffset":5299,"endOffset":5340,"count":0},{"startOffset":5466,"endOffset":5478,"count":0},{"startOffset":5479,"endOffset":5492,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5320,"endOffset":5329,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5552,"endOffset":5797,"count":1}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":5809,"endOffset":6637,"count":1},{"startOffset":5844,"endOffset":5875,"count":0},{"startOffset":6227,"endOffset":6419,"count":17},{"startOffset":6396,"endOffset":6409,"count":0}],"isBlockCoverage":true},{"functionName":"#process.emit","ranges":[{"startOffset":6449,"endOffset":6522,"count":17}],"isBlockCoverage":true},{"functionName":"#process.reallyExit","ranges":[{"startOffset":6559,"endOffset":6630,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":6642,"endOffset":7393,"count":1},{"startOffset":6680,"endOffset":6711,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6779,"endOffset":7227,"count":17},{"startOffset":6903,"endOffset":6994,"count":0},{"startOffset":7171,"endOffset":7184,"count":0}],"isBlockCoverage":true},{"functionName":"#processReallyExit","ranges":[{"startOffset":7398,"endOffset":7764,"count":0}],"isBlockCoverage":false},{"functionName":"#processEmit","ranges":[{"startOffset":7769,"endOffset":8401,"count":17},{"startOffset":7869,"endOffset":7896,"count":0},{"startOffset":7898,"endOffset":8314,"count":0}],"isBlockCoverage":true}]},{"scriptId":"564","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1560,"count":1}],"isBlockCoverage":true}]},{"scriptId":"565","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/slash.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"slash","ranges":[{"startOffset":1199,"endOffset":1364,"count":0}],"isBlockCoverage":false}]},{"scriptId":"566","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge2/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3241,"count":1}],"isBlockCoverage":true},{"functionName":"merge2","ranges":[{"startOffset":280,"endOffset":2663,"count":0}],"isBlockCoverage":false},{"functionName":"pauseStreams","ranges":[{"startOffset":2702,"endOffset":3240,"count":0}],"isBlockCoverage":false}]},{"scriptId":"567","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4091,"count":1},{"startOffset":3434,"endOffset":3452,"count":0}],"isBlockCoverage":true},{"functionName":"FastGlob","ranges":[{"startOffset":277,"endOffset":501,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":612,"endOffset":3423,"count":1}],"isBlockCoverage":true},{"functionName":"sync","ranges":[{"startOffset":763,"endOffset":946,"count":0}],"isBlockCoverage":false},{"functionName":"stream","ranges":[{"startOffset":977,"endOffset":1468,"count":0}],"isBlockCoverage":false},{"functionName":"generateTasks","ranges":[{"startOffset":1503,"endOffset":1746,"count":0}],"isBlockCoverage":false},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1795,"endOffset":2005,"count":0}],"isBlockCoverage":false},{"functionName":"escapePath","ranges":[{"startOffset":2060,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2217,"endOffset":2355,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2434,"endOffset":2864,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2461,"endOffset":2596,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":2644,"endOffset":2799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2936,"endOffset":3370,"count":1}],"isBlockCoverage":true},{"functionName":"escapePath","ranges":[{"startOffset":2963,"endOffset":3100,"count":0}],"isBlockCoverage":false},{"functionName":"convertPathToPattern","ranges":[{"startOffset":3148,"endOffset":3305,"count":0}],"isBlockCoverage":false},{"functionName":"getWorks","ranges":[{"startOffset":3455,"endOffset":3751,"count":1}],"isBlockCoverage":true},{"functionName":"assertPatternsInput","ranges":[{"startOffset":3752,"endOffset":4063,"count":1},{"startOffset":3961,"endOffset":4061,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3866,"endOffset":3934,"count":1}],"isBlockCoverage":true}]},{"scriptId":"568","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/managers/tasks.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5531,"count":1}],"isBlockCoverage":true},{"functionName":"generate","ranges":[{"startOffset":355,"endOffset":1133,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":699,"endOffset":760,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":815,"endOffset":877,"count":1}],"isBlockCoverage":true},{"functionName":"processPatterns","ranges":[{"startOffset":1163,"endOffset":2553,"count":2},{"startOffset":2226,"endOffset":2330,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2260,"endOffset":2322,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2491,"endOffset":2549,"count":15}],"isBlockCoverage":true},{"functionName":"convertPatternsToTasks","ranges":[{"startOffset":2825,"endOffset":3965,"count":2},{"startOffset":3718,"endOffset":3828,"count":0}],"isBlockCoverage":true},{"functionName":"getPositivePatterns","ranges":[{"startOffset":4023,"endOffset":4121,"count":1}],"isBlockCoverage":true},{"functionName":"getNegativePatternsAsPositive","ranges":[{"startOffset":4173,"endOffset":4410,"count":1}],"isBlockCoverage":true},{"functionName":"groupPatternsByBaseDirectory","ranges":[{"startOffset":4482,"endOffset":4868,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4581,"endOffset":4857,"count":1},{"startOffset":4702,"endOffset":4757,"count":0}],"isBlockCoverage":true},{"functionName":"convertPatternGroupsToTasks","ranges":[{"startOffset":4938,"endOffset":5147,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5043,"endOffset":5143,"count":1}],"isBlockCoverage":true},{"functionName":"convertPatternGroupToTask","ranges":[{"startOffset":5215,"endOffset":5467,"count":1}],"isBlockCoverage":true}]},{"scriptId":"569","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":596,"count":1}],"isBlockCoverage":true}]},{"scriptId":"570","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/array.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":608,"count":1}],"isBlockCoverage":true},{"functionName":"flatten","ranges":[{"startOffset":123,"endOffset":230,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":173,"endOffset":222,"count":1}],"isBlockCoverage":true},{"functionName":"splitWhen","ranges":[{"startOffset":258,"endOffset":576,"count":1},{"startOffset":376,"endOffset":555,"count":3},{"startOffset":407,"endOffset":481,"count":1},{"startOffset":481,"endOffset":549,"count":2}],"isBlockCoverage":true}]},{"scriptId":"571","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/errno.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":234,"count":1}],"isBlockCoverage":true},{"functionName":"isEnoentCodeError","ranges":[{"startOffset":113,"endOffset":186,"count":0}],"isBlockCoverage":false}]},{"scriptId":"572","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"573","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/path.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3010,"count":1},{"startOffset":2154,"endOffset":2173,"count":0},{"startOffset":2552,"endOffset":2581,"count":0}],"isBlockCoverage":true},{"functionName":"unixify","ranges":[{"startOffset":1352,"endOffset":1423,"count":0}],"isBlockCoverage":false},{"functionName":"makeAbsolute","ranges":[{"startOffset":1451,"endOffset":1531,"count":0}],"isBlockCoverage":false},{"functionName":"removeLeadingDotSegment","ranges":[{"startOffset":1569,"endOffset":2057,"count":30},{"startOffset":1831,"endOffset":2037,"count":0}],"isBlockCoverage":true},{"functionName":"escapeWindowsPath","ranges":[{"startOffset":2193,"endOffset":2303,"count":0}],"isBlockCoverage":false},{"functionName":"escapePosixPath","ranges":[{"startOffset":2351,"endOffset":2457,"count":0}],"isBlockCoverage":false},{"functionName":"convertWindowsPathToPattern","ranges":[{"startOffset":2611,"endOffset":2792,"count":0}],"isBlockCoverage":false},{"functionName":"convertPosixPathToPattern","ranges":[{"startOffset":2860,"endOffset":2946,"count":0}],"isBlockCoverage":false}]},{"scriptId":"574","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/pattern.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7965,"count":1}],"isBlockCoverage":true},{"functionName":"isStaticPattern","ranges":[{"startOffset":1465,"endOffset":1564,"count":13}],"isBlockCoverage":true},{"functionName":"isDynamicPattern","ranges":[{"startOffset":1608,"endOffset":2666,"count":17},{"startOffset":1946,"endOffset":1975,"count":0},{"startOffset":2209,"endOffset":2243,"count":12},{"startOffset":2245,"endOffset":2273,"count":5},{"startOffset":2273,"endOffset":2319,"count":12},{"startOffset":2319,"endOffset":2368,"count":9},{"startOffset":2369,"endOffset":2408,"count":9},{"startOffset":2410,"endOffset":2438,"count":3},{"startOffset":2438,"endOffset":2515,"count":9},{"startOffset":2517,"endOffset":2545,"count":0},{"startOffset":2545,"endOffset":2616,"count":9},{"startOffset":2618,"endOffset":2646,"count":0},{"startOffset":2646,"endOffset":2665,"count":9}],"isBlockCoverage":true},{"functionName":"hasBraceExpansion","ranges":[{"startOffset":2712,"endOffset":3145,"count":9},{"startOffset":2865,"endOffset":3144,"count":0}],"isBlockCoverage":true},{"functionName":"convertToPositivePattern","ranges":[{"startOffset":3146,"endOffset":3260,"count":14},{"startOffset":3229,"endOffset":3247,"count":0}],"isBlockCoverage":true},{"functionName":"convertToNegativePattern","ranges":[{"startOffset":3322,"endOffset":3394,"count":14}],"isBlockCoverage":true},{"functionName":"isNegativePattern","ranges":[{"startOffset":3456,"endOffset":3553,"count":16},{"startOffset":3529,"endOffset":3550,"count":0}],"isBlockCoverage":true},{"functionName":"isPositivePattern","ranges":[{"startOffset":3601,"endOffset":3680,"count":1}],"isBlockCoverage":true},{"functionName":"getNegativePatterns","ranges":[{"startOffset":3728,"endOffset":3817,"count":1}],"isBlockCoverage":true},{"functionName":"getPositivePatterns","ranges":[{"startOffset":3869,"endOffset":3958,"count":1}],"isBlockCoverage":true},{"functionName":"getPatternsInsideCurrentDirectory","ranges":[{"startOffset":4205,"endOffset":4347,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":4287,"endOffset":4343,"count":1}],"isBlockCoverage":true},{"functionName":"getPatternsOutsideCurrentDirectory","ranges":[{"startOffset":4631,"endOffset":4751,"count":2}],"isBlockCoverage":true},{"functionName":"isPatternRelatedToParentDirectory","ranges":[{"startOffset":4833,"endOffset":4955,"count":2}],"isBlockCoverage":true},{"functionName":"getBaseDirectory","ranges":[{"startOffset":5035,"endOffset":5133,"count":1}],"isBlockCoverage":true},{"functionName":"hasGlobStar","ranges":[{"startOffset":5179,"endOffset":5251,"count":3}],"isBlockCoverage":true},{"functionName":"endsWithSlashGlobStar","ranges":[{"startOffset":5287,"endOffset":5375,"count":14}],"isBlockCoverage":true},{"functionName":"isAffectDepthOfReadingPattern","ranges":[{"startOffset":5431,"endOffset":5599,"count":14},{"startOffset":5568,"endOffset":5596,"count":12}],"isBlockCoverage":true},{"functionName":"expandPatternsWithBraceExpansion","ranges":[{"startOffset":5671,"endOffset":5857,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":5752,"endOffset":5849,"count":15}],"isBlockCoverage":true},{"functionName":"expandBraceExpansion","ranges":[{"startOffset":5935,"endOffset":6463,"count":15}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6275,"endOffset":6304,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6432,"endOffset":6459,"count":15}],"isBlockCoverage":true},{"functionName":"getPatternParts","ranges":[{"startOffset":6517,"endOffset":7150,"count":1},{"startOffset":6826,"endOffset":6860,"count":0},{"startOffset":7058,"endOffset":7130,"count":0}],"isBlockCoverage":true},{"functionName":"makeRe","ranges":[{"startOffset":7194,"endOffset":7279,"count":29}],"isBlockCoverage":true},{"functionName":"convertPatternsToRe","ranges":[{"startOffset":7305,"endOffset":7420,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7379,"endOffset":7416,"count":26}],"isBlockCoverage":true},{"functionName":"matchAny","ranges":[{"startOffset":7472,"endOffset":7578,"count":42}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7538,"endOffset":7574,"count":315}],"isBlockCoverage":true},{"functionName":"removeDuplicateSlashes","ranges":[{"startOffset":7813,"endOffset":7907,"count":15}],"isBlockCoverage":true}]},{"scriptId":"575","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/glob-parent/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1120,"count":1}],"isBlockCoverage":true},{"functionName":"globParent","ranges":[{"startOffset":461,"endOffset":1118,"count":1},{"startOffset":623,"endOffset":633,"count":0},{"startOffset":634,"endOffset":659,"count":0},{"startOffset":661,"endOffset":707,"count":0},{"startOffset":812,"endOffset":835,"count":0},{"startOffset":956,"endOffset":994,"count":2}],"isBlockCoverage":true}]},{"scriptId":"576","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3628,"count":1}],"isBlockCoverage":true},{"functionName":"strictCheck","ranges":[{"startOffset":247,"endOffset":2745,"count":2},{"startOffset":285,"endOffset":307,"count":0},{"startOffset":488,"endOffset":2727,"count":12},{"startOffset":518,"endOffset":544,"count":1},{"startOffset":544,"endOffset":577,"count":11},{"startOffset":577,"endOffset":606,"count":0},{"startOffset":608,"endOffset":634,"count":0},{"startOffset":634,"endOffset":689,"count":11},{"startOffset":690,"endOffset":715,"count":0},{"startOffset":717,"endOffset":1133,"count":0},{"startOffset":1133,"endOffset":1187,"count":11},{"startOffset":1188,"endOffset":1213,"count":0},{"startOffset":1215,"endOffset":1473,"count":0},{"startOffset":1473,"endOffset":1527,"count":11},{"startOffset":1528,"endOffset":1553,"count":0},{"startOffset":1554,"endOffset":1585,"count":0},{"startOffset":1586,"endOffset":1611,"count":0},{"startOffset":1613,"endOffset":1871,"count":0},{"startOffset":1871,"endOffset":1919,"count":11},{"startOffset":1920,"endOffset":1945,"count":0},{"startOffset":1947,"endOffset":2383,"count":0},{"startOffset":2383,"endOffset":2414,"count":11},{"startOffset":2414,"endOffset":2695,"count":0},{"startOffset":2695,"endOffset":2723,"count":11},{"startOffset":2727,"endOffset":2744,"count":1}],"isBlockCoverage":true},{"functionName":"relaxedCheck","ranges":[{"startOffset":2767,"endOffset":3304,"count":0}],"isBlockCoverage":false},{"functionName":"isGlob","ranges":[{"startOffset":3324,"endOffset":3626,"count":2},{"startOffset":3401,"endOffset":3424,"count":0},{"startOffset":3448,"endOffset":3470,"count":0},{"startOffset":3542,"endOffset":3569,"count":0},{"startOffset":3571,"endOffset":3602,"count":0}],"isBlockCoverage":true}]},{"scriptId":"577","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-extglob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"isExtglob","ranges":[{"startOffset":168,"endOffset":439,"count":2},{"startOffset":239,"endOffset":262,"count":0},{"startOffset":332,"endOffset":420,"count":0}],"isBlockCoverage":true}]},{"scriptId":"578","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/micromatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":13741,"count":1}],"isBlockCoverage":true},{"functionName":"isEmptyString","ranges":[{"startOffset":187,"endOffset":220,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch","ranges":[{"startOffset":784,"endOffset":2129,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matcher","ranges":[{"startOffset":2781,"endOffset":2830,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.isMatch","ranges":[{"startOffset":3440,"endOffset":3501,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.not","ranges":[{"startOffset":4203,"endOffset":4640,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.contains","ranges":[{"startOffset":5367,"endOffset":5928,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.matchKeys","ranges":[{"startOffset":6706,"endOffset":6980,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.some","ranges":[{"startOffset":7765,"endOffset":8019,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.every","ranges":[{"startOffset":8890,"endOffset":9146,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.all","ranges":[{"startOffset":9947,"endOffset":10155,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.capture","ranges":[{"startOffset":10869,"endOffset":11165,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.makeRe","ranges":[{"startOffset":11617,"endOffset":11655,"count":29}],"isBlockCoverage":true},{"functionName":"micromatch.scan","ranges":[{"startOffset":12004,"endOffset":12040,"count":1}],"isBlockCoverage":true},{"functionName":"micromatch.parse","ranges":[{"startOffset":12432,"endOffset":12652,"count":0}],"isBlockCoverage":false},{"functionName":"micromatch.braces","ranges":[{"startOffset":13219,"endOffset":13456,"count":15},{"startOffset":13278,"endOffset":13319,"count":0},{"startOffset":13419,"endOffset":13455,"count":0}],"isBlockCoverage":true},{"functionName":"micromatch.braceExpand","ranges":[{"startOffset":13510,"endOffset":13679,"count":0}],"isBlockCoverage":false}]},{"scriptId":"579","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4375,"count":1}],"isBlockCoverage":true},{"functionName":"braces","ranges":[{"startOffset":543,"endOffset":1030,"count":0}],"isBlockCoverage":false},{"functionName":"braces.parse","ranges":[{"startOffset":1359,"endOffset":1405,"count":0}],"isBlockCoverage":false},{"functionName":"braces.stringify","ranges":[{"startOffset":1795,"endOffset":1959,"count":0}],"isBlockCoverage":false},{"functionName":"braces.compile","ranges":[{"startOffset":2407,"endOffset":2550,"count":0}],"isBlockCoverage":false},{"functionName":"braces.expand","ranges":[{"startOffset":3141,"endOffset":3541,"count":0}],"isBlockCoverage":false},{"functionName":"braces.create","ranges":[{"startOffset":4118,"endOffset":4319,"count":0}],"isBlockCoverage":false}]},{"scriptId":"580","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/stringify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":700,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":67,"endOffset":697,"count":0}],"isBlockCoverage":false}]},{"scriptId":"581","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2451,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isInteger","ranges":[{"startOffset":35,"endOffset":232,"count":0}],"isBlockCoverage":false},{"functionName":"exports.find","ranges":[{"startOffset":292,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"exports.exceedsLimit","ranges":[{"startOffset":419,"endOffset":626,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeNode","ranges":[{"startOffset":712,"endOffset":985,"count":0}],"isBlockCoverage":false},{"functionName":"exports.encloseBrace","ranges":[{"startOffset":1097,"endOffset":1266,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isInvalidBrace","ranges":[{"startOffset":1347,"endOffset":1680,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isOpenOrClose","ranges":[{"startOffset":1767,"endOffset":1906,"count":0}],"isBlockCoverage":false},{"functionName":"exports.reduce","ranges":[{"startOffset":1969,"endOffset":2127,"count":0}],"isBlockCoverage":false},{"functionName":"exports.flatten","ranges":[{"startOffset":2177,"endOffset":2449,"count":0}],"isBlockCoverage":false}]},{"scriptId":"582","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/compile.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1415,"count":1}],"isBlockCoverage":true},{"functionName":"compile","ranges":[{"startOffset":102,"endOffset":1386,"count":0}],"isBlockCoverage":false}]},{"scriptId":"583","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fill-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6315,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":265,"endOffset":334,"count":0}],"isBlockCoverage":false},{"functionName":"transform","ranges":[{"startOffset":355,"endOffset":439,"count":0}],"isBlockCoverage":false},{"functionName":"isValidValue","ranges":[{"startOffset":463,"endOffset":558,"count":0}],"isBlockCoverage":false},{"functionName":"isNumber","ranges":[{"startOffset":578,"endOffset":607,"count":0}],"isBlockCoverage":false},{"functionName":"zeros","ranges":[{"startOffset":624,"endOffset":817,"count":0}],"isBlockCoverage":false},{"functionName":"stringify","ranges":[{"startOffset":838,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"pad","ranges":[{"startOffset":1001,"endOffset":1295,"count":0}],"isBlockCoverage":false},{"functionName":"toMaxLen","ranges":[{"startOffset":1315,"endOffset":1552,"count":0}],"isBlockCoverage":false},{"functionName":"toSequence","ranges":[{"startOffset":1574,"endOffset":2208,"count":0}],"isBlockCoverage":false},{"functionName":"toRange","ranges":[{"startOffset":2227,"endOffset":2480,"count":0}],"isBlockCoverage":false},{"functionName":"toRegex","ranges":[{"startOffset":2499,"endOffset":2758,"count":0}],"isBlockCoverage":false},{"functionName":"rangeError","ranges":[{"startOffset":2780,"endOffset":2874,"count":0}],"isBlockCoverage":false},{"functionName":"invalidRange","ranges":[{"startOffset":2898,"endOffset":3008,"count":0}],"isBlockCoverage":false},{"functionName":"invalidStep","ranges":[{"startOffset":3031,"endOffset":3176,"count":0}],"isBlockCoverage":false},{"functionName":"fillNumbers","ranges":[{"startOffset":3199,"endOffset":4682,"count":0}],"isBlockCoverage":false},{"functionName":"fillLetters","ranges":[{"startOffset":4705,"endOffset":5486,"count":0}],"isBlockCoverage":false},{"functionName":"fill","ranges":[{"startOffset":5502,"endOffset":6289,"count":0}],"isBlockCoverage":false}]},{"scriptId":"584","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/to-regex-range/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6481,"count":1}],"isBlockCoverage":true},{"functionName":"toRegexRange","ranges":[{"startOffset":235,"endOffset":2177,"count":0}],"isBlockCoverage":false},{"functionName":"collatePatterns","ranges":[{"startOffset":2180,"endOffset":2554,"count":0}],"isBlockCoverage":false},{"functionName":"splitToRanges","ranges":[{"startOffset":2556,"endOffset":3037,"count":0}],"isBlockCoverage":false},{"functionName":"rangeToPattern","ranges":[{"startOffset":3159,"endOffset":3832,"count":0}],"isBlockCoverage":false},{"functionName":"splitToPatterns","ranges":[{"startOffset":3834,"endOffset":4632,"count":0}],"isBlockCoverage":false},{"functionName":"filterPatterns","ranges":[{"startOffset":4634,"endOffset":5094,"count":0}],"isBlockCoverage":false},{"functionName":"zip","ranges":[{"startOffset":5120,"endOffset":5233,"count":0}],"isBlockCoverage":false},{"functionName":"compare","ranges":[{"startOffset":5235,"endOffset":5298,"count":0}],"isBlockCoverage":false},{"functionName":"contains","ranges":[{"startOffset":5300,"endOffset":5380,"count":0}],"isBlockCoverage":false},{"functionName":"countNines","ranges":[{"startOffset":5382,"endOffset":5478,"count":0}],"isBlockCoverage":false},{"functionName":"countZeros","ranges":[{"startOffset":5480,"endOffset":5571,"count":0}],"isBlockCoverage":false},{"functionName":"toQuantifier","ranges":[{"startOffset":5573,"endOffset":5741,"count":0}],"isBlockCoverage":false},{"functionName":"toCharacterClass","ranges":[{"startOffset":5743,"endOffset":5837,"count":0}],"isBlockCoverage":false},{"functionName":"hasPadding","ranges":[{"startOffset":5839,"endOffset":5899,"count":0}],"isBlockCoverage":false},{"functionName":"padZeros","ranges":[{"startOffset":5901,"endOffset":6311,"count":0}],"isBlockCoverage":false},{"functionName":"toRegexRange.clearCache","ranges":[{"startOffset":6382,"endOffset":6413,"count":0}],"isBlockCoverage":false}]},{"scriptId":"585","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-number/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":411,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":184,"endOffset":409,"count":0}],"isBlockCoverage":false}]},{"scriptId":"586","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/expand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2780,"count":1}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":143,"endOffset":810,"count":0}],"isBlockCoverage":false},{"functionName":"expand","ranges":[{"startOffset":828,"endOffset":2752,"count":0}],"isBlockCoverage":false}]},{"scriptId":"587","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6913,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":576,"endOffset":6886,"count":0}],"isBlockCoverage":false}]},{"scriptId":"588","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/braces/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1593,"count":1}],"isBlockCoverage":true}]},{"scriptId":"589","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":60,"count":1}],"isBlockCoverage":true}]},{"scriptId":"590","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/picomatch.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9956,"count":1}],"isBlockCoverage":true},{"functionName":"isObject","ranges":[{"startOffset":204,"endOffset":264,"count":18},{"startOffset":242,"endOffset":264,"count":0}],"isBlockCoverage":true},{"functionName":"picomatch","ranges":[{"startOffset":1018,"endOffset":2836,"count":19},{"startOffset":1087,"endOffset":1365,"count":1},{"startOffset":1365,"endOffset":1400,"count":18},{"startOffset":1400,"endOffset":1414,"count":0},{"startOffset":1415,"endOffset":1428,"count":0},{"startOffset":1449,"endOffset":1490,"count":18},{"startOffset":1478,"endOffset":1489,"count":0},{"startOffset":1492,"endOffset":1567,"count":0},{"startOffset":1567,"endOffset":1597,"count":18},{"startOffset":1669,"endOffset":1705,"count":0},{"startOffset":1710,"endOffset":1756,"count":18},{"startOffset":1861,"endOffset":2015,"count":0},{"startOffset":2015,"endOffset":2783,"count":18},{"startOffset":2783,"endOffset":2815,"count":0},{"startOffset":2815,"endOffset":2835,"count":18}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1114,"endOffset":1161,"count":18}],"isBlockCoverage":true},{"functionName":"arrayMatcher","ranges":[{"startOffset":1189,"endOffset":1335,"count":0}],"isBlockCoverage":false},{"functionName":"isIgnored","ranges":[{"startOffset":1829,"endOffset":1840,"count":0}],"isBlockCoverage":false},{"functionName":"matcher","ranges":[{"startOffset":2035,"endOffset":2761,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.test","ranges":[{"startOffset":3384,"endOffset":4185,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.matchBase","ranges":[{"startOffset":4600,"endOffset":4787,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.isMatch","ranges":[{"startOffset":5423,"endOffset":5484,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.parse","ranges":[{"startOffset":5894,"endOffset":6062,"count":0}],"isBlockCoverage":false},{"functionName":"picomatch.scan","ranges":[{"startOffset":6697,"endOffset":6737,"count":1}],"isBlockCoverage":true},{"functionName":"picomatch.compileRe","ranges":[{"startOffset":7228,"endOffset":7738,"count":47},{"startOffset":7322,"endOffset":7352,"count":0},{"startOffset":7377,"endOffset":7382,"count":0},{"startOffset":7416,"endOffset":7420,"count":0},{"startOffset":7459,"endOffset":7463,"count":0},{"startOffset":7568,"endOffset":7607,"count":0},{"startOffset":7689,"endOffset":7719,"count":18}],"isBlockCoverage":true},{"functionName":"picomatch.makeRe","ranges":[{"startOffset":8611,"endOffset":9117,"count":47},{"startOffset":8724,"endOffset":8785,"count":0},{"startOffset":8895,"endOffset":8914,"count":27},{"startOffset":8917,"endOffset":8975,"count":27},{"startOffset":8999,"endOffset":9040,"count":44}],"isBlockCoverage":true},{"functionName":"picomatch.toRegex","ranges":[{"startOffset":9579,"endOffset":9807,"count":47},{"startOffset":9635,"endOffset":9640,"count":0},{"startOffset":9699,"endOffset":9704,"count":29},{"startOffset":9705,"endOffset":9709,"count":18},{"startOffset":9717,"endOffset":9805,"count":0}],"isBlockCoverage":true}]},{"scriptId":"591","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/scan.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":9189,"count":1}],"isBlockCoverage":true},{"functionName":"isPathSeparator","ranges":[{"startOffset":665,"endOffset":746,"count":1},{"startOffset":712,"endOffset":743,"count":0}],"isBlockCoverage":true},{"functionName":"depth","ranges":[{"startOffset":763,"endOffset":863,"count":0}],"isBlockCoverage":false},{"functionName":"scan","ranges":[{"startOffset":1512,"endOffset":9163,"count":1},{"startOffset":1557,"endOffset":1562,"count":0},{"startOffset":1640,"endOffset":1666,"count":0},{"startOffset":2352,"endOffset":6999,"count":10},{"startOffset":2429,"endOffset":2604,"count":0},{"startOffset":2671,"endOffset":3889,"count":0},{"startOffset":3928,"endOffset":4230,"count":2},{"startOffset":4067,"endOffset":4105,"count":1},{"startOffset":4105,"endOffset":4129,"count":0},{"startOffset":4131,"endOffset":4178,"count":0},{"startOffset":4178,"endOffset":4230,"count":1},{"startOffset":4230,"endOffset":5238,"count":8},{"startOffset":4380,"endOffset":4410,"count":5},{"startOffset":4419,"endOffset":4452,"count":5},{"startOffset":4488,"endOffset":4523,"count":3},{"startOffset":4525,"endOffset":5232,"count":0},{"startOffset":5238,"endOffset":5272,"count":8},{"startOffset":5272,"endOffset":5482,"count":3},{"startOffset":5308,"endOffset":5345,"count":1},{"startOffset":5463,"endOffset":5482,"count":0},{"startOffset":5482,"endOffset":5521,"count":5},{"startOffset":5521,"endOffset":5659,"count":0},{"startOffset":5659,"endOffset":5704,"count":5},{"startOffset":5704,"endOffset":6181,"count":0},{"startOffset":6181,"endOffset":6247,"count":5},{"startOffset":6248,"endOffset":6266,"count":0},{"startOffset":6268,"endOffset":6344,"count":0},{"startOffset":6344,"endOffset":6409,"count":5},{"startOffset":6411,"endOffset":6865,"count":0},{"startOffset":6865,"endOffset":6892,"count":5},{"startOffset":6892,"endOffset":6995,"count":0},{"startOffset":7028,"endOffset":7076,"count":0},{"startOffset":7150,"endOffset":7241,"count":0},{"startOffset":7365,"endOffset":7455,"count":0},{"startOffset":7652,"endOffset":7800,"count":0},{"startOffset":8011,"endOffset":8133,"count":0},{"startOffset":8161,"endOffset":8184,"count":0},{"startOffset":8259,"endOffset":8768,"count":2},{"startOffset":8287,"endOffset":8302,"count":1},{"startOffset":8303,"endOffset":8310,"count":1},{"startOffset":8404,"endOffset":8667,"count":0},{"startOffset":8688,"endOffset":8703,"count":1},{"startOffset":8920,"endOffset":9079,"count":0}],"isBlockCoverage":true},{"functionName":"eos","ranges":[{"startOffset":2171,"endOffset":2192,"count":0}],"isBlockCoverage":false},{"functionName":"peek","ranges":[{"startOffset":2209,"endOffset":2240,"count":3}],"isBlockCoverage":true},{"functionName":"advance","ranges":[{"startOffset":2260,"endOffset":2324,"count":10}],"isBlockCoverage":true}]},{"scriptId":"592","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/utils.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1885,"count":1}],"isBlockCoverage":true},{"functionName":"exports.isObject","ranges":[{"startOffset":242,"endOffset":311,"count":0}],"isBlockCoverage":false},{"functionName":"exports.hasRegexChars","ranges":[{"startOffset":337,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isRegexChar","ranges":[{"startOffset":397,"endOffset":450,"count":0}],"isBlockCoverage":false},{"functionName":"exports.escapeRegex","ranges":[{"startOffset":474,"endOffset":528,"count":0}],"isBlockCoverage":false},{"functionName":"exports.toPosixSlashes","ranges":[{"startOffset":555,"endOffset":595,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removeBackslashes","ranges":[{"startOffset":626,"endOffset":738,"count":0}],"isBlockCoverage":false},{"functionName":"exports.supportsLookbehinds","ranges":[{"startOffset":771,"endOffset":960,"count":0}],"isBlockCoverage":false},{"functionName":"exports.isWindows","ranges":[{"startOffset":983,"endOffset":1132,"count":89},{"startOffset":1010,"endOffset":1049,"count":71},{"startOffset":1051,"endOffset":1084,"count":0}],"isBlockCoverage":true},{"functionName":"exports.escapeLast","ranges":[{"startOffset":1156,"endOffset":1401,"count":0}],"isBlockCoverage":false},{"functionName":"exports.removePrefix","ranges":[{"startOffset":1427,"endOffset":1584,"count":71},{"startOffset":1505,"endOffset":1565,"count":0}],"isBlockCoverage":true},{"functionName":"exports.wrapOutput","ranges":[{"startOffset":1608,"endOffset":1883,"count":25},{"startOffset":1682,"endOffset":1686,"count":0},{"startOffset":1728,"endOffset":1732,"count":0},{"startOffset":1821,"endOffset":1864,"count":0}],"isBlockCoverage":true}]},{"scriptId":"593","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4448,"count":1}],"isBlockCoverage":true},{"functionName":"extglobChars","ranges":[{"startOffset":3985,"endOffset":4324,"count":44}],"isBlockCoverage":true},{"functionName":"globChars","ranges":[{"startOffset":4365,"endOffset":4444,"count":71},{"startOffset":4410,"endOffset":4425,"count":0}],"isBlockCoverage":true}]},{"scriptId":"594","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/picomatch/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27763,"count":1}],"isBlockCoverage":true},{"functionName":"expandRange","ranges":[{"startOffset":287,"endOffset":640,"count":0}],"isBlockCoverage":false},{"functionName":"syntaxError","ranges":[{"startOffset":713,"endOffset":819,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":950,"endOffset":25216,"count":44},{"startOffset":1005,"endOffset":1056,"count":0},{"startOffset":1179,"endOffset":1217,"count":0},{"startOffset":1276,"endOffset":1372,"count":0},{"startOffset":1500,"endOffset":1504,"count":0},{"startOffset":2109,"endOffset":2113,"count":13},{"startOffset":2114,"endOffset":2122,"count":31},{"startOffset":2154,"endOffset":2161,"count":13},{"startOffset":2162,"endOffset":2176,"count":31},{"startOffset":2210,"endOffset":2226,"count":0},{"startOffset":2256,"endOffset":2285,"count":0},{"startOffset":2357,"endOffset":2395,"count":26},{"startOffset":6907,"endOffset":8130,"count":25},{"startOffset":7704,"endOffset":7937,"count":0},{"startOffset":7964,"endOffset":7989,"count":10},{"startOffset":7991,"endOffset":8046,"count":0},{"startOffset":8130,"endOffset":8211,"count":19},{"startOffset":8211,"endOffset":24093,"count":100},{"startOffset":8265,"endOffset":8288,"count":0},{"startOffset":8357,"endOffset":9173,"count":0},{"startOffset":9319,"endOffset":9382,"count":0},{"startOffset":9384,"endOffset":10516,"count":0},{"startOffset":10659,"endOffset":10675,"count":0},{"startOffset":10677,"endOffset":10792,"count":0},{"startOffset":10855,"endOffset":11012,"count":0},{"startOffset":11073,"endOffset":11161,"count":0},{"startOffset":11186,"endOffset":11621,"count":0},{"startOffset":11686,"endOffset":12045,"count":0},{"startOffset":12070,"endOffset":13525,"count":0},{"startOffset":13580,"endOffset":13604,"count":0},{"startOffset":13606,"endOffset":13873,"count":0},{"startOffset":13898,"endOffset":15028,"count":0},{"startOffset":15083,"endOffset":15236,"count":0},{"startOffset":15292,"endOffset":15553,"count":0},{"startOffset":15610,"endOffset":16220,"count":22},{"startOffset":15901,"endOffset":15935,"count":0},{"startOffset":15937,"endOffset":16136,"count":0},{"startOffset":16220,"endOffset":16274,"count":78},{"startOffset":16274,"endOffset":16840,"count":5},{"startOffset":16303,"endOffset":16325,"count":0},{"startOffset":16327,"endOffset":16576,"count":0},{"startOffset":16647,"endOffset":16671,"count":0},{"startOffset":16673,"endOffset":16760,"count":0},{"startOffset":16840,"endOffset":16904,"count":73},{"startOffset":16904,"endOffset":17841,"count":0},{"startOffset":17841,"endOffset":17902,"count":73},{"startOffset":17902,"endOffset":18202,"count":0},{"startOffset":18202,"endOffset":18256,"count":73},{"startOffset":18256,"endOffset":18806,"count":0},{"startOffset":18806,"endOffset":18866,"count":73},{"startOffset":18866,"endOffset":19091,"count":0},{"startOffset":19091,"endOffset":19151,"count":73},{"startOffset":19151,"endOffset":19452,"count":25},{"startOffset":19195,"endOffset":19234,"count":0},{"startOffset":19452,"endOffset":19548,"count":48},{"startOffset":19550,"endOffset":19757,"count":0},{"startOffset":19757,"endOffset":19842,"count":48},{"startOffset":19844,"endOffset":19901,"count":0},{"startOffset":19901,"endOffset":19933,"count":48},{"startOffset":19933,"endOffset":23132,"count":18},{"startOffset":19971,"endOffset":20022,"count":0},{"startOffset":20133,"endOffset":20156,"count":4},{"startOffset":20189,"endOffset":20246,"count":14},{"startOffset":20278,"endOffset":20323,"count":0},{"startOffset":20325,"endOffset":20403,"count":0},{"startOffset":20444,"endOffset":20497,"count":0},{"startOffset":20539,"endOffset":20591,"count":0},{"startOffset":20612,"endOffset":20637,"count":0},{"startOffset":20638,"endOffset":20649,"count":0},{"startOffset":20650,"endOffset":20663,"count":0},{"startOffset":20665,"endOffset":20743,"count":0},{"startOffset":20820,"endOffset":20997,"count":0},{"startOffset":21030,"endOffset":21038,"count":4},{"startOffset":21040,"endOffset":21257,"count":0},{"startOffset":21292,"endOffset":21320,"count":14},{"startOffset":21321,"endOffset":21334,"count":14},{"startOffset":21335,"endOffset":21343,"count":14},{"startOffset":21345,"endOffset":21745,"count":4},{"startOffset":21568,"endOffset":21573,"count":0},{"startOffset":21745,"endOffset":21780,"count":14},{"startOffset":21780,"endOffset":21808,"count":10},{"startOffset":21809,"endOffset":21827,"count":10},{"startOffset":21829,"endOffset":22362,"count":10},{"startOffset":21877,"endOffset":21881,"count":0},{"startOffset":22362,"endOffset":22413,"count":4},{"startOffset":22415,"endOffset":22745,"count":4},{"startOffset":22745,"endOffset":23132,"count":0},{"startOffset":23132,"endOffset":23220,"count":30},{"startOffset":23220,"endOffset":23401,"count":0},{"startOffset":23401,"endOffset":23469,"count":30},{"startOffset":23470,"endOffset":23492,"count":0},{"startOffset":23494,"endOffset":23564,"count":0},{"startOffset":23564,"endOffset":23602,"count":30},{"startOffset":23602,"endOffset":23626,"count":26},{"startOffset":23627,"endOffset":23649,"count":0},{"startOffset":23651,"endOffset":24071,"count":30},{"startOffset":23684,"endOffset":23769,"count":0},{"startOffset":23798,"endOffset":23885,"count":5},{"startOffset":23885,"endOffset":23961,"count":25},{"startOffset":23989,"endOffset":24065,"count":12},{"startOffset":24071,"endOffset":24093,"count":30},{"startOffset":24093,"endOffset":24124,"count":19},{"startOffset":24124,"endOffset":24302,"count":0},{"startOffset":24302,"endOffset":24331,"count":19},{"startOffset":24331,"endOffset":24507,"count":0},{"startOffset":24507,"endOffset":24536,"count":19},{"startOffset":24536,"endOffset":24712,"count":0},{"startOffset":24712,"endOffset":24800,"count":19},{"startOffset":24773,"endOffset":24799,"count":7},{"startOffset":24802,"endOffset":24882,"count":12},{"startOffset":24882,"endOffset":24976,"count":19},{"startOffset":24976,"endOffset":25197,"count":0},{"startOffset":25197,"endOffset":25215,"count":19}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":1977,"endOffset":2081,"count":18},{"startOffset":2042,"endOffset":2054,"count":3},{"startOffset":2055,"endOffset":2068,"count":15}],"isBlockCoverage":true},{"functionName":"eos","ranges":[{"startOffset":2889,"endOffset":2918,"count":137}],"isBlockCoverage":true},{"functionName":"state.peek","ranges":[{"startOffset":2948,"endOffset":2981,"count":30}],"isBlockCoverage":true},{"functionName":"state.advance","ranges":[{"startOffset":3017,"endOffset":3049,"count":114},{"startOffset":3044,"endOffset":3049,"count":0}],"isBlockCoverage":true},{"functionName":"remaining","ranges":[{"startOffset":3071,"endOffset":3105,"count":73}],"isBlockCoverage":true},{"functionName":"consume","ranges":[{"startOffset":3125,"endOffset":3208,"count":126}],"isBlockCoverage":true},{"functionName":"append","ranges":[{"startOffset":3228,"endOffset":3339,"count":108},{"startOffset":3280,"endOffset":3294,"count":83},{"startOffset":3295,"endOffset":3308,"count":25}],"isBlockCoverage":true},{"functionName":"negate","ranges":[{"startOffset":3359,"endOffset":3635,"count":0}],"isBlockCoverage":false},{"functionName":"increment","ranges":[{"startOffset":3658,"endOffset":3712,"count":0}],"isBlockCoverage":false},{"functionName":"decrement","ranges":[{"startOffset":3735,"endOffset":3784,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":4109,"endOffset":5036,"count":108},{"startOffset":4152,"endOffset":4644,"count":14},{"startOffset":4193,"endOffset":4242,"count":0},{"startOffset":4309,"endOffset":4357,"count":0},{"startOffset":4392,"endOffset":4415,"count":0},{"startOffset":4416,"endOffset":4427,"count":0},{"startOffset":4428,"endOffset":4441,"count":0},{"startOffset":4443,"endOffset":4638,"count":0},{"startOffset":4670,"endOffset":4693,"count":0},{"startOffset":4695,"endOffset":4758,"count":0},{"startOffset":4778,"endOffset":4791,"count":12},{"startOffset":4843,"endOffset":4865,"count":22},{"startOffset":4867,"endOffset":4972,"count":0}],"isBlockCoverage":true},{"functionName":"extglobOpen","ranges":[{"startOffset":5061,"endOffset":5492,"count":0}],"isBlockCoverage":false},{"functionName":"extglobClose","ranges":[{"startOffset":5518,"endOffset":6805,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6999,"endOffset":7670,"count":18},{"startOffset":7066,"endOffset":7121,"count":0},{"startOffset":7148,"endOffset":7409,"count":0},{"startOffset":7436,"endOffset":7494,"count":15},{"startOffset":7494,"endOffset":7521,"count":3},{"startOffset":7521,"endOffset":7631,"count":0},{"startOffset":7631,"endOffset":7649,"count":3},{"startOffset":7649,"endOffset":7652,"count":0},{"startOffset":7653,"endOffset":7663,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7841,"endOffset":7921,"count":0}],"isBlockCoverage":false},{"functionName":"parse.fastpaths","ranges":[{"startOffset":25439,"endOffset":27736,"count":27},{"startOffset":25541,"endOffset":25579,"count":0},{"startOffset":25639,"endOffset":25735,"count":0},{"startOffset":26089,"endOffset":26098,"count":7},{"startOffset":26099,"endOffset":26107,"count":20},{"startOffset":26137,"endOffset":26152,"count":7},{"startOffset":26153,"endOffset":26161,"count":20},{"startOffset":26194,"endOffset":26198,"count":0},{"startOffset":26287,"endOffset":26294,"count":0},{"startOffset":26324,"endOffset":26353,"count":0},{"startOffset":27644,"endOffset":27674,"count":3},{"startOffset":27676,"endOffset":27716,"count":3}],"isBlockCoverage":true},{"functionName":"globstar","ranges":[{"startOffset":26374,"endOffset":26525,"count":2},{"startOffset":26418,"endOffset":26430,"count":0},{"startOffset":26486,"endOffset":26498,"count":1},{"startOffset":26499,"endOffset":26512,"count":1}],"isBlockCoverage":true},{"functionName":"create","ranges":[{"startOffset":26545,"endOffset":27545,"count":41},{"startOffset":26579,"endOffset":26633,"count":1},{"startOffset":26641,"endOffset":26702,"count":0},{"startOffset":26710,"endOffset":26787,"count":0},{"startOffset":26795,"endOffset":26885,"count":0},{"startOffset":26893,"endOffset":26942,"count":1},{"startOffset":26950,"endOffset":27056,"count":1},{"startOffset":27064,"endOffset":27193,"count":0},{"startOffset":27201,"endOffset":27311,"count":0},{"startOffset":27319,"endOffset":27535,"count":38},{"startOffset":27400,"endOffset":27407,"count":24},{"startOffset":27407,"endOffset":27471,"count":14},{"startOffset":27471,"endOffset":27478,"count":12},{"startOffset":27478,"endOffset":27535,"count":2}],"isBlockCoverage":true}]},{"scriptId":"595","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":629,"count":1}],"isBlockCoverage":true},{"functionName":"merge","ranges":[{"startOffset":135,"endOffset":499,"count":0}],"isBlockCoverage":false},{"functionName":"propagateCloseEventToSources","ranges":[{"startOffset":523,"endOffset":628,"count":0}],"isBlockCoverage":false}]},{"scriptId":"596","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/utils/string.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":298,"count":1}],"isBlockCoverage":true},{"functionName":"isString","ranges":[{"startOffset":122,"endOffset":188,"count":1}],"isBlockCoverage":true},{"functionName":"isEmpty","ranges":[{"startOffset":218,"endOffset":270,"count":1}],"isBlockCoverage":true}]},{"scriptId":"597","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":814,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderAsync","ranges":[{"startOffset":217,"endOffset":327,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":332,"endOffset":587,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":544,"endOffset":579,"count":12}],"isBlockCoverage":true},{"functionName":"api","ranges":[{"startOffset":592,"endOffset":778,"count":1},{"startOffset":712,"endOffset":777,"count":0}],"isBlockCoverage":true}]},{"scriptId":"598","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1213,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderAsync","ranges":[{"startOffset":246,"endOffset":402,"count":1}],"isBlockCoverage":true},{"functionName":"dynamic","ranges":[{"startOffset":407,"endOffset":750,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":459,"endOffset":742,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":525,"endOffset":730,"count":1},{"startOffset":640,"endOffset":716,"count":0}],"isBlockCoverage":true},{"functionName":"static","ranges":[{"startOffset":755,"endOffset":1179,"count":0}],"isBlockCoverage":false}]},{"scriptId":"599","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1390,"count":1}],"isBlockCoverage":true},{"functionName":"walk","ranges":[{"startOffset":378,"endOffset":710,"count":1},{"startOffset":503,"endOffset":615,"count":0}],"isBlockCoverage":true},{"functionName":"walkSync","ranges":[{"startOffset":732,"endOffset":926,"count":0}],"isBlockCoverage":false},{"functionName":"walkStream","ranges":[{"startOffset":956,"endOffset":1154,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":1188,"endOffset":1389,"count":1},{"startOffset":1292,"endOffset":1333,"count":0}],"isBlockCoverage":true}]},{"scriptId":"600","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":895,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncProvider","ranges":[{"startOffset":148,"endOffset":349,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":354,"endOffset":707,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":400,"endOffset":472,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":504,"endOffset":565,"count":12}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":595,"endOffset":670,"count":1}],"isBlockCoverage":true},{"functionName":"callFailureCallback","ranges":[{"startOffset":743,"endOffset":813,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":814,"endOffset":894,"count":1}],"isBlockCoverage":true}]},{"scriptId":"601","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3157,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncReader","ranges":[{"startOffset":318,"endOffset":816,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncReader._queue.drain","ranges":[{"startOffset":696,"endOffset":809,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":821,"endOffset":1045,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":922,"endOffset":1007,"count":1}],"isBlockCoverage":true},{"functionName":"get isDestroyed","ranges":[{"startOffset":1050,"endOffset":1109,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":1114,"endOffset":1308,"count":0}],"isBlockCoverage":false},{"functionName":"onEntry","ranges":[{"startOffset":1313,"endOffset":1383,"count":1}],"isBlockCoverage":true},{"functionName":"onError","ranges":[{"startOffset":1388,"endOffset":1460,"count":1}],"isBlockCoverage":true},{"functionName":"onEnd","ranges":[{"startOffset":1465,"endOffset":1533,"count":1}],"isBlockCoverage":true},{"functionName":"_pushToQueue","ranges":[{"startOffset":1538,"endOffset":1773,"count":7}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1653,"endOffset":1765,"count":7},{"startOffset":1698,"endOffset":1755,"count":0}],"isBlockCoverage":true},{"functionName":"_worker","ranges":[{"startOffset":1778,"endOffset":2168,"count":7}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1872,"endOffset":2160,"count":7},{"startOffset":1926,"endOffset":2005,"count":0},{"startOffset":2047,"endOffset":2115,"count":24}],"isBlockCoverage":true},{"functionName":"_handleError","ranges":[{"startOffset":2173,"endOffset":2423,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":2428,"endOffset":3049,"count":24},{"startOffset":2509,"endOffset":2540,"count":0},{"startOffset":2798,"endOffset":2845,"count":12},{"startOffset":2885,"endOffset":2944,"count":6},{"startOffset":2946,"endOffset":3043,"count":6},{"startOffset":3007,"endOffset":3018,"count":0}],"isBlockCoverage":true},{"functionName":"_emitEntry","ranges":[{"startOffset":3054,"endOffset":3123,"count":12}],"isBlockCoverage":true}]},{"scriptId":"602","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1009,"count":1}],"isBlockCoverage":true},{"functionName":"scandir","ranges":[{"startOffset":311,"endOffset":603,"count":7},{"startOffset":434,"endOffset":527,"count":0}],"isBlockCoverage":true},{"functionName":"scandirSync","ranges":[{"startOffset":631,"endOffset":771,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":807,"endOffset":1008,"count":7},{"startOffset":952,"endOffset":1007,"count":0}],"isBlockCoverage":true}]},{"scriptId":"603","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3686,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":346,"endOffset":598,"count":7},{"startOffset":552,"endOffset":597,"count":0}],"isBlockCoverage":true},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":620,"endOffset":1571,"count":7}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":743,"endOffset":1567,"count":7},{"startOffset":807,"endOffset":895,"count":0},{"startOffset":1151,"endOffset":1234,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":932,"endOffset":1105,"count":24}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1269,"endOffset":1313,"count":24}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1335,"endOffset":1559,"count":7},{"startOffset":1398,"endOffset":1494,"count":0}],"isBlockCoverage":true},{"functionName":"makeRplTaskEntry","ranges":[{"startOffset":1625,"endOffset":2247,"count":24}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1681,"endOffset":2244,"count":24},{"startOffset":1799,"endOffset":2243,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1837,"endOffset":2236,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":2248,"endOffset":3508,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":3536,"endOffset":3606,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":3607,"endOffset":3685,"count":7}],"isBlockCoverage":true}]},{"scriptId":"604","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":985,"count":1}],"isBlockCoverage":true},{"functionName":"stat","ranges":[{"startOffset":305,"endOffset":594,"count":0}],"isBlockCoverage":false},{"functionName":"statSync","ranges":[{"startOffset":616,"endOffset":753,"count":0}],"isBlockCoverage":false},{"functionName":"getSettings","ranges":[{"startOffset":783,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"605","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/async.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":1000,"count":0}],"isBlockCoverage":false},{"functionName":"callFailureCallback","ranges":[{"startOffset":1022,"endOffset":1092,"count":0}],"isBlockCoverage":false},{"functionName":"callSuccessCallback","ranges":[{"startOffset":1093,"endOffset":1171,"count":0}],"isBlockCoverage":false}]},{"scriptId":"606","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":619,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":100,"endOffset":597,"count":0}],"isBlockCoverage":false}]},{"scriptId":"607","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":696,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":135,"endOffset":558,"count":3}],"isBlockCoverage":true},{"functionName":"_getValue","ranges":[{"startOffset":563,"endOffset":665,"count":9},{"startOffset":642,"endOffset":650,"count":6},{"startOffset":651,"endOffset":658,"count":3}],"isBlockCoverage":true}]},{"scriptId":"608","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.stat/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":582,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":305,"endOffset":522,"count":3},{"startOffset":384,"endOffset":435,"count":0}],"isBlockCoverage":true}]},{"scriptId":"609","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/run-parallel/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1034,"count":1}],"isBlockCoverage":true},{"functionName":"runParallel","ranges":[{"startOffset":167,"endOffset":1033,"count":7},{"startOffset":329,"endOffset":413,"count":0},{"startOffset":706,"endOffset":739,"count":0},{"startOffset":755,"endOffset":883,"count":0}],"isBlockCoverage":true},{"functionName":"done","ranges":[{"startOffset":417,"endOffset":568,"count":7},{"startOffset":549,"endOffset":564,"count":0}],"isBlockCoverage":true},{"functionName":"end","ranges":[{"startOffset":443,"endOffset":513,"count":7}],"isBlockCoverage":true},{"functionName":"each","ranges":[{"startOffset":572,"endOffset":688,"count":24},{"startOffset":653,"endOffset":659,"count":17},{"startOffset":661,"endOffset":684,"count":7}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":788,"endOffset":878,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":922,"endOffset":1008,"count":24}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":954,"endOffset":1001,"count":24}],"isBlockCoverage":true}]},{"scriptId":"610","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/queue-microtask/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":402,"count":1},{"startOffset":210,"endOffset":218,"count":0},{"startOffset":283,"endOffset":401,"count":0}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":285,"endOffset":401,"count":0}],"isBlockCoverage":false}]},{"scriptId":"611","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":990,"count":1},{"startOffset":295,"endOffset":424,"count":0},{"startOffset":794,"endOffset":837,"count":0},{"startOffset":956,"endOffset":988,"count":0}],"isBlockCoverage":true}]},{"scriptId":"612","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":143,"count":1}],"isBlockCoverage":true}]},{"scriptId":"613","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/utils/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":756,"count":1}],"isBlockCoverage":true},{"functionName":"DirentFromStats","ranges":[{"startOffset":145,"endOffset":605,"count":0}],"isBlockCoverage":false},{"functionName":"createDirentFromStats","ranges":[{"startOffset":608,"endOffset":700,"count":0}],"isBlockCoverage":false}]},{"scriptId":"614","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":419,"count":1}],"isBlockCoverage":true},{"functionName":"joinPathSegments","ranges":[{"startOffset":112,"endOffset":373,"count":24},{"startOffset":312,"endOffset":341,"count":0}],"isBlockCoverage":true}]},{"scriptId":"615","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1990,"count":1}],"isBlockCoverage":true},{"functionName":"read","ranges":[{"startOffset":309,"endOffset":529,"count":0}],"isBlockCoverage":false},{"functionName":"readdirWithFileTypes","ranges":[{"startOffset":551,"endOffset":1357,"count":0}],"isBlockCoverage":false},{"functionName":"readdir","ranges":[{"startOffset":1411,"endOffset":1962,"count":0}],"isBlockCoverage":false}]},{"scriptId":"616","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1076,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":209,"endOffset":938,"count":1}],"isBlockCoverage":true},{"functionName":"_getValue","ranges":[{"startOffset":943,"endOffset":1045,"count":4},{"startOffset":1031,"endOffset":1038,"count":0}],"isBlockCoverage":true}]},{"scriptId":"617","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.scandir/out/adapters/fs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":640,"count":1}],"isBlockCoverage":true},{"functionName":"createFileSystemAdapter","ranges":[{"startOffset":363,"endOffset":580,"count":1},{"startOffset":442,"endOffset":493,"count":0}],"isBlockCoverage":true}]},{"scriptId":"618","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fastq/queue.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5617,"count":1}],"isBlockCoverage":true},{"functionName":"fastqueue","ranges":[{"startOffset":77,"endOffset":3391,"count":1},{"startOffset":261,"endOffset":334,"count":0}],"isBlockCoverage":true},{"functionName":"running","ranges":[{"startOffset":820,"endOffset":865,"count":0}],"isBlockCoverage":false},{"functionName":"pause","ranges":[{"startOffset":869,"endOffset":915,"count":0}],"isBlockCoverage":false},{"functionName":"length","ranges":[{"startOffset":919,"endOffset":1085,"count":0}],"isBlockCoverage":false},{"functionName":"getQueue","ranges":[{"startOffset":1089,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"resume","ranges":[{"startOffset":1274,"endOffset":1439,"count":0}],"isBlockCoverage":false},{"functionName":"idle","ranges":[{"startOffset":1443,"endOffset":1514,"count":0}],"isBlockCoverage":false},{"functionName":"push","ranges":[{"startOffset":1518,"endOffset":2083,"count":7},{"startOffset":1693,"endOffset":1700,"count":0},{"startOffset":1796,"endOffset":1991,"count":0}],"isBlockCoverage":true},{"functionName":"unshift","ranges":[{"startOffset":2087,"endOffset":2615,"count":0}],"isBlockCoverage":false},{"functionName":"release","ranges":[{"startOffset":2619,"endOffset":3123,"count":7},{"startOffset":2738,"endOffset":3065,"count":0},{"startOffset":3093,"endOffset":3119,"count":1}],"isBlockCoverage":true},{"functionName":"kill","ranges":[{"startOffset":3127,"endOffset":3213,"count":0}],"isBlockCoverage":false},{"functionName":"killAndDrain","ranges":[{"startOffset":3217,"endOffset":3328,"count":0}],"isBlockCoverage":false},{"functionName":"error","ranges":[{"startOffset":3332,"endOffset":3389,"count":0}],"isBlockCoverage":false},{"functionName":"noop","ranges":[{"startOffset":3393,"endOffset":3412,"count":0}],"isBlockCoverage":false},{"functionName":"Task","ranges":[{"startOffset":3414,"endOffset":3917,"count":7}],"isBlockCoverage":true},{"functionName":"worked","ranges":[{"startOffset":3602,"endOffset":3915,"count":7},{"startOffset":3807,"endOffset":3843,"count":0}],"isBlockCoverage":true},{"functionName":"queueAsPromised","ranges":[{"startOffset":3919,"endOffset":5547,"count":0}],"isBlockCoverage":false}]},{"scriptId":"619","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/reusify/reusify.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":454,"count":1}],"isBlockCoverage":true},{"functionName":"reusify","ranges":[{"startOffset":14,"endOffset":427,"count":1}],"isBlockCoverage":true},{"functionName":"get","ranges":[{"startOffset":99,"endOffset":307,"count":7},{"startOffset":163,"endOffset":196,"count":1},{"startOffset":196,"endOffset":258,"count":6}],"isBlockCoverage":true},{"functionName":"release","ranges":[{"startOffset":311,"endOffset":374,"count":7}],"isBlockCoverage":true}]},{"scriptId":"620","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1052,"count":1}],"isBlockCoverage":true},{"functionName":"isFatalError","ranges":[{"startOffset":199,"endOffset":350,"count":0}],"isBlockCoverage":false},{"functionName":"isAppliedFilter","ranges":[{"startOffset":388,"endOffset":476,"count":30}],"isBlockCoverage":true},{"functionName":"replacePathSegmentSeparator","ranges":[{"startOffset":520,"endOffset":633,"count":1}],"isBlockCoverage":true},{"functionName":"joinPathSegments","ranges":[{"startOffset":701,"endOffset":1006,"count":24},{"startOffset":764,"endOffset":789,"count":0},{"startOffset":945,"endOffset":974,"count":0}],"isBlockCoverage":true}]},{"scriptId":"621","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":358,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":132,"endOffset":329,"count":1}],"isBlockCoverage":true}]},{"scriptId":"622","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1021,"count":1}],"isBlockCoverage":true},{"functionName":"StreamProvider","ranges":[{"startOffset":185,"endOffset":630,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":635,"endOffset":984,"count":0}],"isBlockCoverage":false}]},{"scriptId":"623","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":407,"count":1}],"isBlockCoverage":true},{"functionName":"SyncProvider","ranges":[{"startOffset":145,"endOffset":317,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":322,"endOffset":372,"count":0}],"isBlockCoverage":false}]},{"scriptId":"624","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1911,"count":1}],"isBlockCoverage":true},{"functionName":"SyncReader","ranges":[{"startOffset":249,"endOffset":407,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":412,"endOffset":549,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToQueue","ranges":[{"startOffset":554,"endOffset":637,"count":0}],"isBlockCoverage":false},{"functionName":"_handleQueue","ranges":[{"startOffset":642,"endOffset":787,"count":0}],"isBlockCoverage":false},{"functionName":"_handleDirectory","ranges":[{"startOffset":792,"endOffset":1122,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":1127,"endOffset":1264,"count":0}],"isBlockCoverage":false},{"functionName":"_handleEntry","ranges":[{"startOffset":1269,"endOffset":1809,"count":0}],"isBlockCoverage":false},{"functionName":"_pushToStorage","ranges":[{"startOffset":1814,"endOffset":1878,"count":0}],"isBlockCoverage":false}]},{"scriptId":"625","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@nodelib/fs.walk/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1250,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":178,"endOffset":1112,"count":1}],"isBlockCoverage":true},{"functionName":"_getValue","ranges":[{"startOffset":1117,"endOffset":1219,"count":6},{"startOffset":1205,"endOffset":1212,"count":0}],"isBlockCoverage":true}]},{"scriptId":"626","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/reader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1063,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":205,"endOffset":518,"count":2}],"isBlockCoverage":true},{"functionName":"_getFullEntryPath","ranges":[{"startOffset":523,"endOffset":617,"count":0}],"isBlockCoverage":false},{"functionName":"_makeEntry","ranges":[{"startOffset":622,"endOffset":913,"count":0}],"isBlockCoverage":false},{"functionName":"_isFatalError","ranges":[{"startOffset":918,"endOffset":1034,"count":0}],"isBlockCoverage":false}]},{"scriptId":"627","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1870,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderStream","ranges":[{"startOffset":289,"endOffset":419,"count":1}],"isBlockCoverage":true},{"functionName":"dynamic","ranges":[{"startOffset":424,"endOffset":502,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":513,"endOffset":1270,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":1275,"endOffset":1579,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1584,"endOffset":1835,"count":0}],"isBlockCoverage":false}]},{"scriptId":"628","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/provider.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2000,"count":1}],"isBlockCoverage":true},{"functionName":"Provider","ranges":[{"startOffset":307,"endOffset":692,"count":1}],"isBlockCoverage":true},{"functionName":"_getRootDirectory","ranges":[{"startOffset":697,"endOffset":788,"count":1}],"isBlockCoverage":true},{"functionName":"_getReaderOptions","ranges":[{"startOffset":793,"endOffset":1554,"count":1},{"startOffset":862,"endOffset":866,"count":0}],"isBlockCoverage":true},{"functionName":"_getMicromatchOptions","ranges":[{"startOffset":1559,"endOffset":1969,"count":2}],"isBlockCoverage":true}]},{"scriptId":"629","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/deep.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2466,"count":1}],"isBlockCoverage":true},{"functionName":"DeepFilter","ranges":[{"startOffset":188,"endOffset":328,"count":1}],"isBlockCoverage":true},{"functionName":"getFilter","ranges":[{"startOffset":333,"endOffset":576,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":508,"endOffset":569,"count":6}],"isBlockCoverage":true},{"functionName":"_getMatcher","ranges":[{"startOffset":581,"endOffset":699,"count":1}],"isBlockCoverage":true},{"functionName":"_getNegativePatternsRe","ranges":[{"startOffset":704,"endOffset":956,"count":1}],"isBlockCoverage":true},{"functionName":"_filter","ranges":[{"startOffset":961,"endOffset":1444,"count":6},{"startOffset":1066,"endOffset":1103,"count":0},{"startOffset":1152,"endOffset":1189,"count":0},{"startOffset":1329,"endOffset":1366,"count":0}],"isBlockCoverage":true},{"functionName":"_isSkippedByDeep","ranges":[{"startOffset":1449,"endOffset":1754,"count":6},{"startOffset":1668,"endOffset":1753,"count":0}],"isBlockCoverage":true},{"functionName":"_getEntryLevel","ranges":[{"startOffset":1759,"endOffset":2043,"count":0}],"isBlockCoverage":false},{"functionName":"_isSkippedSymbolicLink","ranges":[{"startOffset":2048,"endOffset":2170,"count":6},{"startOffset":2131,"endOffset":2163,"count":0}],"isBlockCoverage":true},{"functionName":"_isSkippedByPositivePatterns","ranges":[{"startOffset":2175,"endOffset":2306,"count":6}],"isBlockCoverage":true},{"functionName":"_isSkippedByNegativePatterns","ranges":[{"startOffset":2311,"endOffset":2433,"count":6}],"isBlockCoverage":true}]},{"scriptId":"630","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/partial.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1421,"count":1}],"isBlockCoverage":true},{"functionName":"match","ranges":[{"startOffset":170,"endOffset":1384,"count":6},{"startOffset":877,"endOffset":1346,"count":0},{"startOffset":1356,"endOffset":1383,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":314,"endOffset":371,"count":6},{"startOffset":339,"endOffset":371,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":916,"endOffset":1276,"count":0}],"isBlockCoverage":false}]},{"scriptId":"631","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/matchers/matcher.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1568,"count":1}],"isBlockCoverage":true},{"functionName":"Matcher","ranges":[{"startOffset":135,"endOffset":379,"count":1}],"isBlockCoverage":true},{"functionName":"_fillStorage","ranges":[{"startOffset":384,"endOffset":773,"count":1}],"isBlockCoverage":true},{"functionName":"_getPatternSegments","ranges":[{"startOffset":778,"endOffset":1365,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":921,"endOffset":1357,"count":3},{"startOffset":1041,"endOffset":1170,"count":0}],"isBlockCoverage":true},{"functionName":"_splitSegmentsIntoSections","ranges":[{"startOffset":1370,"endOffset":1538,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1456,"endOffset":1530,"count":3}],"isBlockCoverage":true}]},{"scriptId":"632","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2686,"count":1}],"isBlockCoverage":true},{"functionName":"EntryFilter","ranges":[{"startOffset":139,"endOffset":311,"count":1}],"isBlockCoverage":true},{"functionName":"getFilter","ranges":[{"startOffset":316,"endOffset":667,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":606,"endOffset":660,"count":24}],"isBlockCoverage":true},{"functionName":"_filter","ranges":[{"startOffset":672,"endOffset":1468,"count":24},{"startOffset":857,"endOffset":894,"count":0},{"startOffset":935,"endOffset":970,"count":18},{"startOffset":972,"endOffset":1009,"count":6},{"startOffset":1009,"endOffset":1087,"count":18},{"startOffset":1087,"endOffset":1124,"count":0},{"startOffset":1124,"endOffset":1328,"count":18},{"startOffset":1364,"endOffset":1376,"count":18},{"startOffset":1378,"endOffset":1436,"count":12},{"startOffset":1436,"endOffset":1467,"count":18}],"isBlockCoverage":true},{"functionName":"_isDuplicateEntry","ranges":[{"startOffset":1473,"endOffset":1549,"count":24}],"isBlockCoverage":true},{"functionName":"_createIndexRecord","ranges":[{"startOffset":1554,"endOffset":1635,"count":12}],"isBlockCoverage":true},{"functionName":"_onlyFileFilter","ranges":[{"startOffset":1640,"endOffset":1737,"count":24}],"isBlockCoverage":true},{"functionName":"_onlyDirectoryFilter","ranges":[{"startOffset":1742,"endOffset":1855,"count":18},{"startOffset":1818,"endOffset":1848,"count":0}],"isBlockCoverage":true},{"functionName":"_isSkippedByAbsoluteNegativePatterns","ranges":[{"startOffset":1860,"endOffset":2145,"count":18},{"startOffset":1997,"endOffset":2144,"count":0}],"isBlockCoverage":true},{"functionName":"_isMatchToPatterns","ranges":[{"startOffset":2150,"endOffset":2652,"count":36},{"startOffset":2522,"endOffset":2536,"count":12},{"startOffset":2538,"endOffset":2620,"count":0}],"isBlockCoverage":true}]},{"scriptId":"633","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/filters/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":441,"count":1}],"isBlockCoverage":true},{"functionName":"ErrorFilter","ranges":[{"startOffset":139,"endOffset":205,"count":1}],"isBlockCoverage":true},{"functionName":"getFilter","ranges":[{"startOffset":210,"endOffset":285,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":239,"endOffset":278,"count":0}],"isBlockCoverage":false},{"functionName":"_isNonFatalError","ranges":[{"startOffset":290,"endOffset":407,"count":0}],"isBlockCoverage":false}]},{"scriptId":"634","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/transformers/entry.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":845,"count":1}],"isBlockCoverage":true},{"functionName":"EntryTransformer","ranges":[{"startOffset":144,"endOffset":210,"count":1}],"isBlockCoverage":true},{"functionName":"getTransformer","ranges":[{"startOffset":215,"endOffset":289,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":249,"endOffset":282,"count":12}],"isBlockCoverage":true},{"functionName":"_transform","ranges":[{"startOffset":294,"endOffset":806,"count":12},{"startOffset":386,"endOffset":528,"count":0},{"startOffset":572,"endOffset":601,"count":0},{"startOffset":603,"endOffset":643,"count":0},{"startOffset":724,"endOffset":805,"count":0}],"isBlockCoverage":true}]},{"scriptId":"635","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1198,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderStream","ranges":[{"startOffset":256,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":372,"endOffset":970,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":975,"endOffset":1161,"count":0}],"isBlockCoverage":false}]},{"scriptId":"636","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/providers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":779,"count":1}],"isBlockCoverage":true},{"functionName":"ProviderSync","ranges":[{"startOffset":214,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"read","ranges":[{"startOffset":328,"endOffset":553,"count":0}],"isBlockCoverage":false},{"functionName":"api","ranges":[{"startOffset":558,"endOffset":744,"count":0}],"isBlockCoverage":false}]},{"scriptId":"637","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/readers/sync.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1330,"count":1}],"isBlockCoverage":true},{"functionName":"ReaderSync","ranges":[{"startOffset":251,"endOffset":385,"count":0}],"isBlockCoverage":false},{"functionName":"dynamic","ranges":[{"startOffset":390,"endOffset":466,"count":0}],"isBlockCoverage":false},{"functionName":"static","ranges":[{"startOffset":477,"endOffset":878,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntry","ranges":[{"startOffset":883,"endOffset":1203,"count":0}],"isBlockCoverage":false},{"functionName":"_getStat","ranges":[{"startOffset":1208,"endOffset":1297,"count":0}],"isBlockCoverage":false}]},{"scriptId":"638","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/fast-glob/out/settings.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2849,"count":1}],"isBlockCoverage":true},{"functionName":"Settings","ranges":[{"startOffset":645,"endOffset":2584,"count":1},{"startOffset":2347,"endOffset":2394,"count":0},{"startOffset":2419,"endOffset":2466,"count":0}],"isBlockCoverage":true},{"functionName":"_getValue","ranges":[{"startOffset":2589,"endOffset":2675,"count":20},{"startOffset":2652,"endOffset":2659,"count":7},{"startOffset":2660,"endOffset":2668,"count":13}],"isBlockCoverage":true},{"functionName":"_getFileSystemMethods","ranges":[{"startOffset":2680,"endOffset":2818,"count":1}],"isBlockCoverage":true}]},{"scriptId":"639","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/dir-glob/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2304,"count":1}],"isBlockCoverage":true},{"functionName":"getExtensions","ranges":[{"startOffset":106,"endOffset":187,"count":0}],"isBlockCoverage":false},{"functionName":"getPath","ranges":[{"startOffset":206,"endOffset":351,"count":0}],"isBlockCoverage":false},{"functionName":"addExtensions","ranges":[{"startOffset":376,"endOffset":506,"count":0}],"isBlockCoverage":false},{"functionName":"getGlob","ranges":[{"startOffset":525,"endOffset":1324,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1344,"endOffset":1852,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.sync","ranges":[{"startOffset":1877,"endOffset":2302,"count":0}],"isBlockCoverage":false}]},{"scriptId":"640","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-type/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1176,"count":1}],"isBlockCoverage":true},{"functionName":"isType","ranges":[{"startOffset":78,"endOffset":444,"count":0}],"isBlockCoverage":false},{"functionName":"isTypeSync","ranges":[{"startOffset":446,"endOffset":770,"count":0}],"isBlockCoverage":false}]},{"scriptId":"641","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16073,"count":1},{"startOffset":15630,"endOffset":16072,"count":0}],"isBlockCoverage":true},{"functionName":"makeArray","ranges":[{"startOffset":41,"endOffset":135,"count":0}],"isBlockCoverage":false},{"functionName":"define","ranges":[{"startOffset":813,"endOffset":882,"count":0}],"isBlockCoverage":false},{"functionName":"RETURN_FALSE","ranges":[{"startOffset":952,"endOffset":963,"count":0}],"isBlockCoverage":false},{"functionName":"sanitizeRange","ranges":[{"startOffset":1090,"endOffset":1362,"count":0}],"isBlockCoverage":false},{"functionName":"cleanRangeBackSlash","ranges":[{"startOffset":1412,"endOffset":1500,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2321,"endOffset":2383,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":2438,"endOffset":2449,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3104,"endOffset":3125,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3213,"endOffset":3225,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3477,"endOffset":3486,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":3577,"endOffset":3588,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":4009,"endOffset":4028,"count":0}],"isBlockCoverage":false},{"functionName":"startingReplacer","ranges":[{"startOffset":4250,"endOffset":5144,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":5442,"endOffset":5912,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":6273,"endOffset":6593,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6787,"endOffset":6799,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6849,"endOffset":6861,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":7054,"endOffset":7539,"count":0}],"isBlockCoverage":false},{"functionName":"prefix","ranges":[{"startOffset":8102,"endOffset":8250,"count":0}],"isBlockCoverage":false},{"functionName":"REPLACERS","ranges":[{"startOffset":8311,"endOffset":8645,"count":0}],"isBlockCoverage":false},{"functionName":"makeRegex","ranges":[{"startOffset":8808,"endOffset":9130,"count":0}],"isBlockCoverage":false},{"functionName":"isString","ranges":[{"startOffset":9149,"endOffset":9187,"count":0}],"isBlockCoverage":false},{"functionName":"checkPattern","ranges":[{"startOffset":9294,"endOffset":9514,"count":0}],"isBlockCoverage":false},{"functionName":"splitPattern","ranges":[{"startOffset":9537,"endOffset":9582,"count":0}],"isBlockCoverage":false},{"functionName":"IgnoreRule","ranges":[{"startOffset":9605,"endOffset":9781,"count":0}],"isBlockCoverage":false},{"functionName":"createRule","ranges":[{"startOffset":9804,"endOffset":10534,"count":0}],"isBlockCoverage":false},{"functionName":"throwError","ranges":[{"startOffset":10555,"endOffset":10603,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath","ranges":[{"startOffset":10623,"endOffset":11159,"count":0}],"isBlockCoverage":false},{"functionName":"isNotRelative","ranges":[{"startOffset":11183,"endOffset":11225,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.convert","ranges":[{"startOffset":11287,"endOffset":11293,"count":0}],"isBlockCoverage":false},{"functionName":"Ignore","ranges":[{"startOffset":11312,"endOffset":11588,"count":0}],"isBlockCoverage":false},{"functionName":"_initCache","ranges":[{"startOffset":11592,"endOffset":11697,"count":0}],"isBlockCoverage":false},{"functionName":"_addPattern","ranges":[{"startOffset":11701,"endOffset":12031,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":12089,"endOffset":12416,"count":0}],"isBlockCoverage":false},{"functionName":"addPattern","ranges":[{"startOffset":12432,"endOffset":12487,"count":0}],"isBlockCoverage":false},{"functionName":"_testOne","ranges":[{"startOffset":13081,"endOffset":13588,"count":0}],"isBlockCoverage":false},{"functionName":"_test","ranges":[{"startOffset":13619,"endOffset":13965,"count":0}],"isBlockCoverage":false},{"functionName":"_t","ranges":[{"startOffset":13969,"endOffset":14755,"count":0}],"isBlockCoverage":false},{"functionName":"ignores","ranges":[{"startOffset":14759,"endOffset":14841,"count":0}],"isBlockCoverage":false},{"functionName":"createFilter","ranges":[{"startOffset":14845,"endOffset":14905,"count":0}],"isBlockCoverage":false},{"functionName":"filter","ranges":[{"startOffset":14909,"endOffset":14985,"count":0}],"isBlockCoverage":false},{"functionName":"test","ranges":[{"startOffset":15016,"endOffset":15084,"count":0}],"isBlockCoverage":false},{"functionName":"factory","ranges":[{"startOffset":15104,"endOffset":15134,"count":0}],"isBlockCoverage":false},{"functionName":"isPathValid","ranges":[{"startOffset":15156,"endOffset":15228,"count":0}],"isBlockCoverage":false},{"functionName":"makePosix","ranges":[{"startOffset":15691,"endOffset":15798,"count":0}],"isBlockCoverage":false},{"functionName":"checkPath.isNotRelative","ranges":[{"startOffset":15990,"endOffset":16070,"count":0}],"isBlockCoverage":false}]},{"scriptId":"642","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/glob-helpers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4053,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":547,"endOffset":575,"count":9}],"isBlockCoverage":true},{"functionName":"processMatchingPatterns","ranges":[{"startOffset":724,"endOffset":1373,"count":0}],"isBlockCoverage":false},{"functionName":"matchesIgnorePatterns","ranges":[{"startOffset":1466,"endOffset":1608,"count":0}],"isBlockCoverage":false},{"functionName":"classify","ranges":[{"startOffset":1611,"endOffset":1955,"count":0}],"isBlockCoverage":false},{"functionName":"hasExtension","ranges":[{"startOffset":2008,"endOffset":2078,"count":12}],"isBlockCoverage":true},{"functionName":"isHelperish","ranges":[{"startOffset":2119,"endOffset":2740,"count":0}],"isBlockCoverage":false},{"functionName":"matches","ranges":[{"startOffset":2778,"endOffset":2887,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeFileForMatching","ranges":[{"startOffset":2917,"endOffset":3395,"count":11},{"startOffset":2999,"endOffset":3045,"count":0},{"startOffset":3293,"endOffset":3312,"count":0}],"isBlockCoverage":true},{"functionName":"normalizePattern","ranges":[{"startOffset":3459,"endOffset":3856,"count":3},{"startOffset":3601,"endOffset":3633,"count":0},{"startOffset":3663,"endOffset":3701,"count":0},{"startOffset":3734,"endOffset":3765,"count":0},{"startOffset":3799,"endOffset":3836,"count":0}],"isBlockCoverage":true},{"functionName":"normalizePatterns","ranges":[{"startOffset":3904,"endOffset":4004,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":3964,"endOffset":4000,"count":3}],"isBlockCoverage":true}]},{"scriptId":"643","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ignore-by-default/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":816,"count":1}],"isBlockCoverage":true},{"functionName":"exports.directories","ranges":[{"startOffset":36,"endOffset":815,"count":1}],"isBlockCoverage":true}]},{"scriptId":"644","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ci-info/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2368,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":173,"endOffset":213,"count":47}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":276,"endOffset":1288,"count":47},{"startOffset":337,"endOffset":349,"count":2},{"startOffset":350,"endOffset":364,"count":45},{"startOffset":503,"endOffset":660,"count":0},{"startOffset":665,"endOffset":1191,"count":0},{"startOffset":1196,"endOffset":1282,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":391,"endOffset":436,"count":47}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1001,"endOffset":1055,"count":0}],"isBlockCoverage":false},{"functionName":"checkEnv","ranges":[{"startOffset":1824,"endOffset":2367,"count":47},{"startOffset":1902,"endOffset":1919,"count":42},{"startOffset":1919,"endOffset":2013,"count":5},{"startOffset":2013,"endOffset":2190,"count":1},{"startOffset":2190,"endOffset":2211,"count":4},{"startOffset":2211,"endOffset":2284,"count":1},{"startOffset":2284,"endOffset":2366,"count":3}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2237,"endOffset":2279,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2317,"endOffset":2364,"count":3}],"isBlockCoverage":true}]},{"scriptId":"645","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/now-and-timers.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":501,"count":1}],"isBlockCoverage":true},{"functionName":"setCappedTimeout","ranges":[{"startOffset":313,"endOffset":454,"count":1}],"isBlockCoverage":true}]},{"scriptId":"646","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/arrgv/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1874,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":17,"endOffset":1872,"count":0}],"isBlockCoverage":false}]},{"scriptId":"647","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/ava/lib/pkg.cjs","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":59,"count":1}],"isBlockCoverage":true}]},{"scriptId":"648","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/irregular-plurals/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":137,"count":1}],"isBlockCoverage":true}]},{"scriptId":"649","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/eastasianwidth/eastasianwidth.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":12067,"count":1},{"startOffset":49,"endOffset":83,"count":0}],"isBlockCoverage":true},{"functionName":"eaw.eastAsianWidth","ranges":[{"startOffset":139,"endOffset":10883,"count":0}],"isBlockCoverage":false},{"functionName":"eaw.characterLength","ranges":[{"startOffset":10908,"endOffset":11070,"count":0}],"isBlockCoverage":false},{"functionName":"stringToArray","ranges":[{"startOffset":11120,"endOffset":11235,"count":0}],"isBlockCoverage":false},{"functionName":"eaw.length","ranges":[{"startOffset":11250,"endOffset":11446,"count":0}],"isBlockCoverage":false},{"functionName":"eaw.slice","ranges":[{"startOffset":11461,"endOffset":12065,"count":0}],"isBlockCoverage":false}]},{"scriptId":"650","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cli-truncate/node_modules/emoji-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":15735,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":32,"endOffset":15733,"count":0}],"isBlockCoverage":false}]},{"scriptId":"651","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/serialize-error/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2233,"count":1}],"isBlockCoverage":true},{"functionName":"NonError","ranges":[{"startOffset":47,"endOffset":312,"count":0}],"isBlockCoverage":false},{"functionName":"_prepareSuperMessage","ranges":[{"startOffset":322,"endOffset":446,"count":0}],"isBlockCoverage":false},{"functionName":"destroyCircular","ranges":[{"startOffset":667,"endOffset":1434,"count":0}],"isBlockCoverage":false},{"functionName":"serializeError","ranges":[{"startOffset":1460,"endOffset":1862,"count":0}],"isBlockCoverage":false},{"functionName":"deserializeError","ranges":[{"startOffset":1890,"endOffset":2173,"count":0}],"isBlockCoverage":false}]},{"scriptId":"652","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":81,"count":1}],"isBlockCoverage":true}]},{"scriptId":"653","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1665,"count":1}],"isBlockCoverage":true},{"functionName":"deprecated","ranges":[{"startOffset":102,"endOffset":239,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":139,"endOffset":236,"count":0}],"isBlockCoverage":false}]},{"scriptId":"654","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/loader.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":44363,"count":1},{"startOffset":3399,"endOffset":3508,"count":256},{"startOffset":3450,"endOffset":3453,"count":18},{"startOffset":3454,"endOffset":3457,"count":238}],"isBlockCoverage":true},{"functionName":"_class","ranges":[{"startOffset":1033,"endOffset":1101,"count":0}],"isBlockCoverage":false},{"functionName":"is_EOL","ranges":[{"startOffset":1103,"endOffset":1180,"count":0}],"isBlockCoverage":false},{"functionName":"is_WHITE_SPACE","ranges":[{"startOffset":1182,"endOffset":1271,"count":0}],"isBlockCoverage":false},{"functionName":"is_WS_OR_EOL","ranges":[{"startOffset":1273,"endOffset":1435,"count":0}],"isBlockCoverage":false},{"functionName":"is_FLOW_INDICATOR","ranges":[{"startOffset":1437,"endOffset":1618,"count":0}],"isBlockCoverage":false},{"functionName":"fromHexCode","ranges":[{"startOffset":1620,"endOffset":1881,"count":0}],"isBlockCoverage":false},{"functionName":"escapedHexLen","ranges":[{"startOffset":1883,"endOffset":2041,"count":0}],"isBlockCoverage":false},{"functionName":"fromDecimalCode","ranges":[{"startOffset":2043,"endOffset":2163,"count":0}],"isBlockCoverage":false},{"functionName":"simpleEscapeSequence","ranges":[{"startOffset":2165,"endOffset":2942,"count":512},{"startOffset":2259,"endOffset":2267,"count":2},{"startOffset":2268,"endOffset":2939,"count":510},{"startOffset":2298,"endOffset":2306,"count":2},{"startOffset":2307,"endOffset":2939,"count":508},{"startOffset":2337,"endOffset":2345,"count":2},{"startOffset":2346,"endOffset":2939,"count":506},{"startOffset":2376,"endOffset":2384,"count":2},{"startOffset":2385,"endOffset":2939,"count":504},{"startOffset":2417,"endOffset":2425,"count":2},{"startOffset":2426,"endOffset":2939,"count":502},{"startOffset":2456,"endOffset":2464,"count":2},{"startOffset":2465,"endOffset":2939,"count":500},{"startOffset":2495,"endOffset":2503,"count":2},{"startOffset":2504,"endOffset":2939,"count":498},{"startOffset":2534,"endOffset":2542,"count":2},{"startOffset":2543,"endOffset":2939,"count":496},{"startOffset":2573,"endOffset":2581,"count":2},{"startOffset":2582,"endOffset":2939,"count":494},{"startOffset":2612,"endOffset":2620,"count":2},{"startOffset":2621,"endOffset":2939,"count":492},{"startOffset":2655,"endOffset":2660,"count":2},{"startOffset":2661,"endOffset":2939,"count":490},{"startOffset":2691,"endOffset":2699,"count":2},{"startOffset":2700,"endOffset":2939,"count":488},{"startOffset":2730,"endOffset":2735,"count":2},{"startOffset":2736,"endOffset":2939,"count":486},{"startOffset":2766,"endOffset":2774,"count":2},{"startOffset":2775,"endOffset":2939,"count":484},{"startOffset":2805,"endOffset":2813,"count":2},{"startOffset":2814,"endOffset":2939,"count":482},{"startOffset":2844,"endOffset":2852,"count":2},{"startOffset":2853,"endOffset":2939,"count":480},{"startOffset":2883,"endOffset":2893,"count":2},{"startOffset":2894,"endOffset":2939,"count":478},{"startOffset":2924,"endOffset":2934,"count":2},{"startOffset":2935,"endOffset":2939,"count":476}],"isBlockCoverage":true},{"functionName":"charFromCodepoint","ranges":[{"startOffset":2944,"endOffset":3261,"count":0}],"isBlockCoverage":false},{"functionName":"State","ranges":[{"startOffset":3511,"endOffset":4273,"count":0}],"isBlockCoverage":false},{"functionName":"generateError","ranges":[{"startOffset":4276,"endOffset":4467,"count":0}],"isBlockCoverage":false},{"functionName":"throwError","ranges":[{"startOffset":4469,"endOffset":4547,"count":0}],"isBlockCoverage":false},{"functionName":"throwWarning","ranges":[{"startOffset":4549,"endOffset":4682,"count":0}],"isBlockCoverage":false},{"functionName":"handleYamlDirective","ranges":[{"startOffset":4720,"endOffset":5525,"count":0}],"isBlockCoverage":false},{"functionName":"handleTagDirective","ranges":[{"startOffset":5535,"endOffset":6236,"count":0}],"isBlockCoverage":false},{"functionName":"captureSegment","ranges":[{"startOffset":6242,"endOffset":6927,"count":0}],"isBlockCoverage":false},{"functionName":"mergeMappings","ranges":[{"startOffset":6929,"endOffset":7453,"count":0}],"isBlockCoverage":false},{"functionName":"storeMappingPair","ranges":[{"startOffset":7455,"endOffset":9351,"count":0}],"isBlockCoverage":false},{"functionName":"readLineBreak","ranges":[{"startOffset":9353,"endOffset":9773,"count":0}],"isBlockCoverage":false},{"functionName":"skipSeparationSpace","ranges":[{"startOffset":9775,"endOffset":10698,"count":0}],"isBlockCoverage":false},{"functionName":"testDocumentSeparator","ranges":[{"startOffset":10700,"endOffset":11276,"count":0}],"isBlockCoverage":false},{"functionName":"writeFoldedLines","ranges":[{"startOffset":11278,"endOffset":11449,"count":0}],"isBlockCoverage":false},{"functionName":"readPlainScalar","ranges":[{"startOffset":11452,"endOffset":14180,"count":0}],"isBlockCoverage":false},{"functionName":"readSingleQuotedScalar","ranges":[{"startOffset":14182,"endOffset":15443,"count":0}],"isBlockCoverage":false},{"functionName":"readDoubleQuotedScalar","ranges":[{"startOffset":15445,"endOffset":17601,"count":0}],"isBlockCoverage":false},{"functionName":"readFlowCollection","ranges":[{"startOffset":17603,"endOffset":20297,"count":0}],"isBlockCoverage":false},{"functionName":"readBlockScalar","ranges":[{"startOffset":20299,"endOffset":24276,"count":0}],"isBlockCoverage":false},{"functionName":"readBlockSequence","ranges":[{"startOffset":24278,"endOffset":25639,"count":0}],"isBlockCoverage":false},{"functionName":"readBlockMapping","ranges":[{"startOffset":25641,"endOffset":30057,"count":0}],"isBlockCoverage":false},{"functionName":"readTagProperty","ranges":[{"startOffset":30059,"endOffset":32432,"count":0}],"isBlockCoverage":false},{"functionName":"readAnchorProperty","ranges":[{"startOffset":32434,"endOffset":33095,"count":0}],"isBlockCoverage":false},{"functionName":"readAlias","ranges":[{"startOffset":33097,"endOffset":33855,"count":0}],"isBlockCoverage":false},{"functionName":"composeNode","ranges":[{"startOffset":33857,"endOffset":39130,"count":0}],"isBlockCoverage":false},{"functionName":"readDocument","ranges":[{"startOffset":39132,"endOffset":42093,"count":0}],"isBlockCoverage":false},{"functionName":"loadDocuments","ranges":[{"startOffset":42096,"endOffset":43044,"count":0}],"isBlockCoverage":false},{"functionName":"loadAll","ranges":[{"startOffset":43047,"endOffset":43468,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":43471,"endOffset":43799,"count":0}],"isBlockCoverage":false},{"functionName":"safeLoadAll","ranges":[{"startOffset":43802,"endOffset":44087,"count":0}],"isBlockCoverage":false},{"functionName":"safeLoad","ranges":[{"startOffset":44090,"endOffset":44206,"count":0}],"isBlockCoverage":false}]},{"scriptId":"655","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1177,"count":1}],"isBlockCoverage":true},{"functionName":"isNothing","ranges":[{"startOffset":16,"endOffset":112,"count":0}],"isBlockCoverage":false},{"functionName":"isObject","ranges":[{"startOffset":115,"endOffset":207,"count":0}],"isBlockCoverage":false},{"functionName":"toArray","ranges":[{"startOffset":210,"endOffset":355,"count":0}],"isBlockCoverage":false},{"functionName":"extend","ranges":[{"startOffset":358,"endOffset":657,"count":0}],"isBlockCoverage":false},{"functionName":"repeat","ranges":[{"startOffset":660,"endOffset":812,"count":0}],"isBlockCoverage":false},{"functionName":"isNegativeZero","ranges":[{"startOffset":815,"endOffset":920,"count":0}],"isBlockCoverage":false}]},{"scriptId":"656","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/exception.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1024,"count":1}],"isBlockCoverage":true},{"functionName":"YAMLException","ranges":[{"startOffset":82,"endOffset":608,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":781,"endOffset":988,"count":0}],"isBlockCoverage":false}]},{"scriptId":"657","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/mark.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1562,"count":1}],"isBlockCoverage":true},{"functionName":"Mark","ranges":[{"startOffset":52,"endOffset":235,"count":0}],"isBlockCoverage":false},{"functionName":"getSnippet","ranges":[{"startOffset":266,"endOffset":1177,"count":0}],"isBlockCoverage":false},{"functionName":"toString","ranges":[{"startOffset":1207,"endOffset":1535,"count":0}],"isBlockCoverage":false}]},{"scriptId":"658","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":601,"count":1}],"isBlockCoverage":true}]},{"scriptId":"659","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/schema.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2753,"count":1}],"isBlockCoverage":true},{"functionName":"compileList","ranges":[{"startOffset":169,"endOffset":739,"count":30}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":260,"endOffset":347,"count":20}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":374,"endOffset":638,"count":46}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":418,"endOffset":601,"count":117},{"startOffset":506,"endOffset":547,"count":0},{"startOffset":549,"endOffset":595,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":665,"endOffset":735,"count":106}],"isBlockCoverage":true},{"functionName":"compileMap","ranges":[{"startOffset":742,"endOffset":1153,"count":5},{"startOffset":1086,"endOffset":1134,"count":10}],"isBlockCoverage":true},{"functionName":"collectType","ranges":[{"startOffset":908,"endOffset":1011,"count":46}],"isBlockCoverage":true},{"functionName":"Schema","ranges":[{"startOffset":1156,"endOffset":1785,"count":5},{"startOffset":1224,"endOffset":1229,"count":1},{"startOffset":1269,"endOffset":1274,"count":3},{"startOffset":1314,"endOffset":1319,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1346,"endOffset":1574,"count":6},{"startOffset":1386,"endOffset":1415,"count":0},{"startOffset":1417,"endOffset":1570,"count":0}],"isBlockCoverage":true},{"functionName":"createSchema","ranges":[{"startOffset":1829,"endOffset":2724,"count":0}],"isBlockCoverage":false}]},{"scriptId":"660","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/type.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1586,"count":1}],"isBlockCoverage":true},{"functionName":"compileStyleAliases","ranges":[{"startOffset":282,"endOffset":532,"count":16},{"startOffset":358,"endOffset":512,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":389,"endOffset":506,"count":4}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":433,"endOffset":498,"count":8}],"isBlockCoverage":true},{"functionName":"Type","ranges":[{"startOffset":534,"endOffset":1561,"count":16},{"startOffset":584,"endOffset":589,"count":0},{"startOffset":930,"endOffset":937,"count":0},{"startOffset":985,"endOffset":1016,"count":3},{"startOffset":1064,"endOffset":1099,"count":1},{"startOffset":1147,"endOffset":1154,"count":15},{"startOffset":1202,"endOffset":1209,"count":8},{"startOffset":1257,"endOffset":1264,"count":7},{"startOffset":1312,"endOffset":1319,"count":12},{"startOffset":1387,"endOffset":1394,"count":15},{"startOffset":1447,"endOffset":1559,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":623,"endOffset":820,"count":67},{"startOffset":696,"endOffset":816,"count":0}],"isBlockCoverage":true},{"functionName":"Type.resolve","ranges":[{"startOffset":988,"endOffset":1016,"count":0}],"isBlockCoverage":false},{"functionName":"Type.construct","ranges":[{"startOffset":1067,"endOffset":1099,"count":0}],"isBlockCoverage":false}]},{"scriptId":"661","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/schema/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":362,"count":1}],"isBlockCoverage":true}]},{"scriptId":"662","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/schema/json.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":586,"count":1}],"isBlockCoverage":true}]},{"scriptId":"663","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":278,"count":1}],"isBlockCoverage":true}]},{"scriptId":"664","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/type/str.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":189,"count":1}],"isBlockCoverage":true},{"functionName":"construct","ranges":[{"startOffset":131,"endOffset":184,"count":0}],"isBlockCoverage":false}]},{"scriptId":"665","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/type/seq.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":191,"count":1}],"isBlockCoverage":true},{"functionName":"construct","ranges":[{"startOffset":133,"endOffset":186,"count":0}],"isBlockCoverage":false}]},{"scriptId":"666","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/type/map.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":190,"count":1}],"isBlockCoverage":true},{"functionName":"construct","ranges":[{"startOffset":132,"endOffset":185,"count":0}],"isBlockCoverage":false}]},{"scriptId":"667","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/type/null.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":761,"count":1}],"isBlockCoverage":true},{"functionName":"resolveYamlNull","ranges":[{"startOffset":47,"endOffset":263,"count":0}],"isBlockCoverage":false},{"functionName":"constructYamlNull","ranges":[{"startOffset":265,"endOffset":312,"count":0}],"isBlockCoverage":false},{"functionName":"isNull","ranges":[{"startOffset":314,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"canonical","ranges":[{"startOffset":552,"endOffset":582,"count":0}],"isBlockCoverage":false},{"functionName":"lowercase","ranges":[{"startOffset":599,"endOffset":629,"count":0}],"isBlockCoverage":false},{"functionName":"uppercase","ranges":[{"startOffset":646,"endOffset":676,"count":0}],"isBlockCoverage":false},{"functionName":"camelcase","ranges":[{"startOffset":693,"endOffset":723,"count":0}],"isBlockCoverage":false}]},{"scriptId":"668","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/type/bool.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":971,"count":1}],"isBlockCoverage":true},{"functionName":"resolveYamlBoolean","ranges":[{"startOffset":47,"endOffset":313,"count":0}],"isBlockCoverage":false},{"functionName":"constructYamlBoolean","ranges":[{"startOffset":315,"endOffset":436,"count":0}],"isBlockCoverage":false},{"functionName":"isBoolean","ranges":[{"startOffset":438,"endOffset":540,"count":0}],"isBlockCoverage":false},{"functionName":"lowercase","ranges":[{"startOffset":734,"endOffset":789,"count":0}],"isBlockCoverage":false},{"functionName":"uppercase","ranges":[{"startOffset":806,"endOffset":861,"count":0}],"isBlockCoverage":false},{"functionName":"camelcase","ranges":[{"startOffset":878,"endOffset":933,"count":0}],"isBlockCoverage":false}]},{"scriptId":"669","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/type/int.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4066,"count":1}],"isBlockCoverage":true},{"functionName":"isHexCode","ranges":[{"startOffset":84,"endOffset":272,"count":0}],"isBlockCoverage":false},{"functionName":"isOctCode","ranges":[{"startOffset":274,"endOffset":352,"count":0}],"isBlockCoverage":false},{"functionName":"isDecCode","ranges":[{"startOffset":354,"endOffset":432,"count":0}],"isBlockCoverage":false},{"functionName":"resolveYamlInteger","ranges":[{"startOffset":434,"endOffset":2221,"count":0}],"isBlockCoverage":false},{"functionName":"constructYamlInteger","ranges":[{"startOffset":2223,"endOffset":3066,"count":0}],"isBlockCoverage":false},{"functionName":"isInteger","ranges":[{"startOffset":3068,"endOffset":3236,"count":0}],"isBlockCoverage":false},{"functionName":"binary","ranges":[{"startOffset":3431,"endOffset":3526,"count":0}],"isBlockCoverage":false},{"functionName":"octal","ranges":[{"startOffset":3545,"endOffset":3640,"count":0}],"isBlockCoverage":false},{"functionName":"decimal","ranges":[{"startOffset":3659,"endOffset":3702,"count":0}],"isBlockCoverage":false},{"functionName":"hexadecimal","ranges":[{"startOffset":3754,"endOffset":3880,"count":0}],"isBlockCoverage":false}]},{"scriptId":"670","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/type/float.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2840,"count":1}],"isBlockCoverage":true},{"functionName":"resolveYamlFloat","ranges":[{"startOffset":453,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"constructYamlFloat","ranges":[{"startOffset":751,"endOffset":1472,"count":0}],"isBlockCoverage":false},{"functionName":"representYamlFloat","ranges":[{"startOffset":1522,"endOffset":2449,"count":0}],"isBlockCoverage":false},{"functionName":"isFloat","ranges":[{"startOffset":2451,"endOffset":2616,"count":0}],"isBlockCoverage":false}]},{"scriptId":"671","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/type/timestamp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2571,"count":1}],"isBlockCoverage":true},{"functionName":"resolveYamlTimestamp","ranges":[{"startOffset":819,"endOffset":1028,"count":0}],"isBlockCoverage":false},{"functionName":"constructYamlTimestamp","ranges":[{"startOffset":1030,"endOffset":2274,"count":0}],"isBlockCoverage":false},{"functionName":"representYamlTimestamp","ranges":[{"startOffset":2276,"endOffset":2362,"count":0}],"isBlockCoverage":false}]},{"scriptId":"672","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/type/merge.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":230,"count":1}],"isBlockCoverage":true},{"functionName":"resolveYamlMerge","ranges":[{"startOffset":47,"endOffset":123,"count":0}],"isBlockCoverage":false}]},{"scriptId":"673","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/type/binary.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3274,"count":1},{"startOffset":207,"endOffset":220,"count":0}],"isBlockCoverage":true},{"functionName":"resolveYamlBinary","ranges":[{"startOffset":394,"endOffset":857,"count":0}],"isBlockCoverage":false},{"functionName":"constructYamlBinary","ranges":[{"startOffset":859,"endOffset":1964,"count":0}],"isBlockCoverage":false},{"functionName":"representYamlBinary","ranges":[{"startOffset":1966,"endOffset":2991,"count":0}],"isBlockCoverage":false},{"functionName":"isBinary","ranges":[{"startOffset":2993,"endOffset":3074,"count":0}],"isBlockCoverage":false}]},{"scriptId":"674","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/type/omap.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1023,"count":1}],"isBlockCoverage":true},{"functionName":"resolveYamlOmap","ranges":[{"startOffset":152,"endOffset":810,"count":0}],"isBlockCoverage":false},{"functionName":"constructYamlOmap","ranges":[{"startOffset":812,"endOffset":884,"count":0}],"isBlockCoverage":false}]},{"scriptId":"675","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/type/pairs.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1084,"count":1}],"isBlockCoverage":true},{"functionName":"resolveYamlPairs","ranges":[{"startOffset":91,"endOffset":569,"count":0}],"isBlockCoverage":false},{"functionName":"constructYamlPairs","ranges":[{"startOffset":571,"endOffset":942,"count":0}],"isBlockCoverage":false}]},{"scriptId":"676","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/type/set.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":547,"count":1}],"isBlockCoverage":true},{"functionName":"resolveYamlSet","ranges":[{"startOffset":103,"endOffset":339,"count":0}],"isBlockCoverage":false},{"functionName":"constructYamlSet","ranges":[{"startOffset":341,"endOffset":412,"count":0}],"isBlockCoverage":false}]},{"scriptId":"677","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/schema/default_full.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":610,"count":1}],"isBlockCoverage":true}]},{"scriptId":"678","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":573,"count":1}],"isBlockCoverage":true},{"functionName":"resolveJavascriptUndefined","ranges":[{"startOffset":50,"endOffset":106,"count":0}],"isBlockCoverage":false},{"functionName":"constructJavascriptUndefined","ranges":[{"startOffset":108,"endOffset":205,"count":0}],"isBlockCoverage":false},{"functionName":"representJavascriptUndefined","ranges":[{"startOffset":207,"endOffset":263,"count":0}],"isBlockCoverage":false},{"functionName":"isUndefined","ranges":[{"startOffset":265,"endOffset":337,"count":0}],"isBlockCoverage":false}]},{"scriptId":"679","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1572,"count":1}],"isBlockCoverage":true},{"functionName":"resolveJavascriptRegExp","ranges":[{"startOffset":50,"endOffset":661,"count":0}],"isBlockCoverage":false},{"functionName":"constructJavascriptRegExp","ranges":[{"startOffset":663,"endOffset":1013,"count":0}],"isBlockCoverage":false},{"functionName":"representJavascriptRegExp","ranges":[{"startOffset":1015,"endOffset":1249,"count":0}],"isBlockCoverage":false},{"functionName":"isRegExp","ranges":[{"startOffset":1251,"endOffset":1351,"count":0}],"isBlockCoverage":false}]},{"scriptId":"680","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/type/js/function.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2819,"count":1},{"startOffset":417,"endOffset":551,"count":0}],"isBlockCoverage":true},{"functionName":"resolveJavascriptFunction","ranges":[{"startOffset":588,"endOffset":1185,"count":0}],"isBlockCoverage":false},{"functionName":"constructJavascriptFunction","ranges":[{"startOffset":1187,"endOffset":2392,"count":0}],"isBlockCoverage":false},{"functionName":"representJavascriptFunction","ranges":[{"startOffset":2394,"endOffset":2482,"count":0}],"isBlockCoverage":false},{"functionName":"isFunction","ranges":[{"startOffset":2484,"endOffset":2588,"count":0}],"isBlockCoverage":false}]},{"scriptId":"681","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/esprima/dist/esprima.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":283563,"count":1}],"isBlockCoverage":true},{"functionName":"webpackUniversalModuleDefinition","ranges":[{"startOffset":1,"endOffset":393,"count":1},{"startOffset":179,"endOffset":391,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":401,"endOffset":283559,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":431,"endOffset":1679,"count":1}],"isBlockCoverage":true},{"functionName":"__webpack_require__","ranges":[{"startOffset":583,"endOffset":1304,"count":29},{"startOffset":746,"endOffset":788,"count":13},{"startOffset":788,"endOffset":1303,"count":16}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1782,"endOffset":6414,"count":1}],"isBlockCoverage":true},{"functionName":"parse","ranges":[{"startOffset":3454,"endOffset":5148,"count":0}],"isBlockCoverage":false},{"functionName":"parseModule","ranges":[{"startOffset":5174,"endOffset":5359,"count":0}],"isBlockCoverage":false},{"functionName":"parseScript","ranges":[{"startOffset":5397,"endOffset":5582,"count":0}],"isBlockCoverage":false},{"functionName":"tokenize","ranges":[{"startOffset":5620,"endOffset":6239,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":6430,"endOffset":12087,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":6622,"endOffset":12031,"count":1}],"isBlockCoverage":true},{"functionName":"CommentHandler","ranges":[{"startOffset":6641,"endOffset":6817,"count":0}],"isBlockCoverage":false},{"functionName":"CommentHandler.insertInnerComments","ranges":[{"startOffset":6870,"endOffset":7612,"count":0}],"isBlockCoverage":false},{"functionName":"CommentHandler.findTrailingComments","ranges":[{"startOffset":7667,"endOffset":8567,"count":0}],"isBlockCoverage":false},{"functionName":"CommentHandler.findLeadingComments","ranges":[{"startOffset":8621,"endOffset":9975,"count":0}],"isBlockCoverage":false},{"functionName":"CommentHandler.visitNode","ranges":[{"startOffset":10019,"endOffset":10674,"count":0}],"isBlockCoverage":false},{"functionName":"CommentHandler.visitComment","ranges":[{"startOffset":10721,"endOffset":11624,"count":0}],"isBlockCoverage":false},{"functionName":"CommentHandler.visit","ranges":[{"startOffset":11664,"endOffset":11999,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":12103,"endOffset":14977,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":14993,"endOffset":37274,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":15131,"endOffset":15583,"count":1},{"startOffset":15192,"endOffset":15280,"count":0},{"startOffset":15281,"endOffset":15367,"count":0}],"isBlockCoverage":true},{"functionName":"extendStatics","ranges":[{"startOffset":15243,"endOffset":15279,"count":0}],"isBlockCoverage":false},{"functionName":"extendStatics","ranges":[{"startOffset":15293,"endOffset":15367,"count":0}],"isBlockCoverage":false},{"functionName":"__extends","ranges":[{"startOffset":15381,"endOffset":15579,"count":1},{"startOffset":15512,"endOffset":15530,"count":0}],"isBlockCoverage":true},{"functionName":"__","ranges":[{"startOffset":15438,"endOffset":15477,"count":1}],"isBlockCoverage":true},{"functionName":"getQualifiedElementName","ranges":[{"startOffset":16121,"endOffset":16964,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":16983,"endOffset":37213,"count":1}],"isBlockCoverage":true},{"functionName":"JSXParser","ranges":[{"startOffset":17043,"endOffset":17163,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.parsePrimaryExpression","ranges":[{"startOffset":17214,"endOffset":17342,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.startJSX","ranges":[{"startOffset":17380,"endOffset":17655,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.finishJSX","ranges":[{"startOffset":17694,"endOffset":17779,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.reenterJSX","ranges":[{"startOffset":17819,"endOffset":18031,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.createJSXNode","ranges":[{"startOffset":18074,"endOffset":18306,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.createJSXChildNode","ranges":[{"startOffset":18354,"endOffset":18553,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.scanXHTMLEntity","ranges":[{"startOffset":18598,"endOffset":20638,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.lexJSX","ranges":[{"startOffset":20751,"endOffset":24524,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.nextJSXToken","ranges":[{"startOffset":24566,"endOffset":25162,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.nextJSXText","ranges":[{"startOffset":25203,"endOffset":26679,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.peekJSXToken","ranges":[{"startOffset":26721,"endOffset":26926,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.expectJSX","ranges":[{"startOffset":27079,"endOffset":27279,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.matchJSX","ranges":[{"startOffset":27393,"endOffset":27533,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.parseJSXIdentifier","ranges":[{"startOffset":27581,"endOffset":27872,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.parseJSXElementName","ranges":[{"startOffset":27921,"endOffset":28690,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.parseJSXAttributeName","ranges":[{"startOffset":28741,"endOffset":29257,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.parseJSXStringLiteralAttribute","ranges":[{"startOffset":29317,"endOffset":29649,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.parseJSXExpressionAttribute","ranges":[{"startOffset":29706,"endOffset":30137,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.parseJSXAttributeValue","ranges":[{"startOffset":30189,"endOffset":30381,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.parseJSXNameValueAttribute","ranges":[{"startOffset":30437,"endOffset":30784,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.parseJSXSpreadAttribute","ranges":[{"startOffset":30837,"endOffset":31153,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.parseJSXAttributes","ranges":[{"startOffset":31201,"endOffset":31528,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.parseJSXOpeningElement","ranges":[{"startOffset":31580,"endOffset":32022,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.parseJSXBoundaryElement","ranges":[{"startOffset":32075,"endOffset":32765,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.parseJSXEmptyExpression","ranges":[{"startOffset":32818,"endOffset":33178,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.parseJSXExpressionContainer","ranges":[{"startOffset":33235,"endOffset":33725,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.parseJSXChildren","ranges":[{"startOffset":33771,"endOffset":34484,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.parseComplexJSXElement","ranges":[{"startOffset":34536,"endOffset":36160,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.parseJSXElement","ranges":[{"startOffset":36205,"endOffset":36710,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.parseJSXRoot","ranges":[{"startOffset":36752,"endOffset":37033,"count":0}],"isBlockCoverage":false},{"functionName":"JSXParser.isStartOfExpression","ranges":[{"startOffset":37082,"endOffset":37186,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":37290,"endOffset":54312,"count":1}],"isBlockCoverage":true},{"functionName":"fromCodePoint","ranges":[{"startOffset":52324,"endOffset":52545,"count":0}],"isBlockCoverage":false},{"functionName":"isWhiteSpace","ranges":[{"startOffset":52622,"endOffset":52923,"count":0}],"isBlockCoverage":false},{"functionName":"isLineTerminator","ranges":[{"startOffset":53009,"endOffset":53117,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierStart","ranges":[{"startOffset":53206,"endOffset":53498,"count":0}],"isBlockCoverage":false},{"functionName":"isIdentifierPart","ranges":[{"startOffset":53523,"endOffset":53857,"count":0}],"isBlockCoverage":false},{"functionName":"isDecimalDigit","ranges":[{"startOffset":53950,"endOffset":54024,"count":0}],"isBlockCoverage":false},{"functionName":"isHexDigit","ranges":[{"startOffset":54043,"endOffset":54203,"count":0}],"isBlockCoverage":false},{"functionName":"isOctalDigit","ranges":[{"startOffset":54224,"endOffset":54298,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54328,"endOffset":57754,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":54570,"endOffset":54754,"count":1}],"isBlockCoverage":true},{"functionName":"JSXClosingElement","ranges":[{"startOffset":54589,"endOffset":54720,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":54826,"endOffset":55127,"count":1}],"isBlockCoverage":true},{"functionName":"JSXElement","ranges":[{"startOffset":54845,"endOffset":55100,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":55193,"endOffset":55349,"count":1}],"isBlockCoverage":true},{"functionName":"JSXEmptyExpression","ranges":[{"startOffset":55212,"endOffset":55314,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":55435,"endOffset":55652,"count":1}],"isBlockCoverage":true},{"functionName":"JSXExpressionContainer","ranges":[{"startOffset":55454,"endOffset":55613,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":55737,"endOffset":55909,"count":1}],"isBlockCoverage":true},{"functionName":"JSXIdentifier","ranges":[{"startOffset":55756,"endOffset":55879,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":55982,"endOffset":56223,"count":1}],"isBlockCoverage":true},{"functionName":"JSXMemberExpression","ranges":[{"startOffset":56001,"endOffset":56187,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":56301,"endOffset":56506,"count":1}],"isBlockCoverage":true},{"functionName":"JSXAttribute","ranges":[{"startOffset":56320,"endOffset":56477,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":56575,"endOffset":56807,"count":1}],"isBlockCoverage":true},{"functionName":"JSXNamespacedName","ranges":[{"startOffset":56594,"endOffset":56773,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":56886,"endOffset":57175,"count":1}],"isBlockCoverage":true},{"functionName":"JSXOpeningElement","ranges":[{"startOffset":56905,"endOffset":57141,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":57255,"endOffset":57454,"count":1}],"isBlockCoverage":true},{"functionName":"JSXSpreadAttribute","ranges":[{"startOffset":57274,"endOffset":57419,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":57525,"endOffset":57712,"count":1}],"isBlockCoverage":true},{"functionName":"JSXText","ranges":[{"startOffset":57544,"endOffset":57688,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":57770,"endOffset":58374,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":58390,"endOffset":80449,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":58626,"endOffset":58809,"count":1}],"isBlockCoverage":true},{"functionName":"ArrayExpression","ranges":[{"startOffset":58645,"endOffset":58777,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":58879,"endOffset":59053,"count":1}],"isBlockCoverage":true},{"functionName":"ArrayPattern","ranges":[{"startOffset":58898,"endOffset":59024,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59128,"endOffset":59500,"count":1}],"isBlockCoverage":true},{"functionName":"ArrowFunctionExpression","ranges":[{"startOffset":59147,"endOffset":59460,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59594,"endOffset":59861,"count":1}],"isBlockCoverage":true},{"functionName":"AssignmentExpression","ranges":[{"startOffset":59613,"endOffset":59824,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":59946,"endOffset":60159,"count":1}],"isBlockCoverage":true},{"functionName":"AssignmentPattern","ranges":[{"startOffset":59965,"endOffset":60125,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":60249,"endOffset":60630,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncArrowFunctionExpression","ranges":[{"startOffset":60268,"endOffset":60585,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":60738,"endOffset":61092,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncFunctionDeclaration","ranges":[{"startOffset":60757,"endOffset":61051,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61191,"endOffset":61542,"count":1}],"isBlockCoverage":true},{"functionName":"AsyncFunctionExpression","ranges":[{"startOffset":61210,"endOffset":61502,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61631,"endOffset":61814,"count":1}],"isBlockCoverage":true},{"functionName":"AwaitExpression","ranges":[{"startOffset":61650,"endOffset":61782,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":61888,"endOffset":62254,"count":1}],"isBlockCoverage":true},{"functionName":"BinaryExpression","ranges":[{"startOffset":61907,"endOffset":62221,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62328,"endOffset":62496,"count":1}],"isBlockCoverage":true},{"functionName":"BlockStatement","ranges":[{"startOffset":62347,"endOffset":62465,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62566,"endOffset":62737,"count":1}],"isBlockCoverage":true},{"functionName":"BreakStatement","ranges":[{"startOffset":62585,"endOffset":62706,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":62807,"endOffset":63019,"count":1}],"isBlockCoverage":true},{"functionName":"CallExpression","ranges":[{"startOffset":62826,"endOffset":62988,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63086,"endOffset":63281,"count":1}],"isBlockCoverage":true},{"functionName":"CatchClause","ranges":[{"startOffset":63105,"endOffset":63253,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63340,"endOffset":63493,"count":1}],"isBlockCoverage":true},{"functionName":"ClassBody","ranges":[{"startOffset":63359,"endOffset":63467,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63555,"endOffset":63807,"count":1}],"isBlockCoverage":true},{"functionName":"ClassDeclaration","ranges":[{"startOffset":63574,"endOffset":63774,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":63882,"endOffset":64131,"count":1}],"isBlockCoverage":true},{"functionName":"ClassExpression","ranges":[{"startOffset":63901,"endOffset":64099,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64213,"endOffset":64485,"count":1}],"isBlockCoverage":true},{"functionName":"ComputedMemberExpression","ranges":[{"startOffset":64232,"endOffset":64444,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64582,"endOffset":64870,"count":1}],"isBlockCoverage":true},{"functionName":"ConditionalExpression","ranges":[{"startOffset":64601,"endOffset":64832,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":64957,"endOffset":65137,"count":1}],"isBlockCoverage":true},{"functionName":"ContinueStatement","ranges":[{"startOffset":64976,"endOffset":65103,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":65216,"endOffset":65362,"count":1}],"isBlockCoverage":true},{"functionName":"DebuggerStatement","ranges":[{"startOffset":65235,"endOffset":65328,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":65433,"endOffset":65662,"count":1}],"isBlockCoverage":true},{"functionName":"Directive","ranges":[{"startOffset":65452,"endOffset":65636,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":65724,"endOffset":65931,"count":1}],"isBlockCoverage":true},{"functionName":"DoWhileStatement","ranges":[{"startOffset":65743,"endOffset":65898,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":66005,"endOffset":66142,"count":1}],"isBlockCoverage":true},{"functionName":"EmptyStatement","ranges":[{"startOffset":66024,"endOffset":66111,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":66218,"endOffset":66410,"count":1}],"isBlockCoverage":true},{"functionName":"ExportAllDeclaration","ranges":[{"startOffset":66237,"endOffset":66373,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":66502,"endOffset":66721,"count":1}],"isBlockCoverage":true},{"functionName":"ExportDefaultDeclaration","ranges":[{"startOffset":66521,"endOffset":66680,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":66819,"endOffset":67122,"count":1}],"isBlockCoverage":true},{"functionName":"ExportNamedDeclaration","ranges":[{"startOffset":66838,"endOffset":67083,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":67209,"endOffset":67428,"count":1}],"isBlockCoverage":true},{"functionName":"ExportSpecifier","ranges":[{"startOffset":67228,"endOffset":67396,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":67505,"endOffset":67706,"count":1}],"isBlockCoverage":true},{"functionName":"ExpressionStatement","ranges":[{"startOffset":67524,"endOffset":67670,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":67786,"endOffset":68051,"count":1}],"isBlockCoverage":true},{"functionName":"ForInStatement","ranges":[{"startOffset":67805,"endOffset":68020,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":68121,"endOffset":68358,"count":1}],"isBlockCoverage":true},{"functionName":"ForOfStatement","ranges":[{"startOffset":68140,"endOffset":68327,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":68426,"endOffset":68693,"count":1}],"isBlockCoverage":true},{"functionName":"ForStatement","ranges":[{"startOffset":68445,"endOffset":68664,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":68764,"endOffset":69124,"count":1}],"isBlockCoverage":true},{"functionName":"FunctionDeclaration","ranges":[{"startOffset":68783,"endOffset":69088,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":69208,"endOffset":69565,"count":1}],"isBlockCoverage":true},{"functionName":"FunctionExpression","ranges":[{"startOffset":69227,"endOffset":69530,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":69639,"endOffset":69795,"count":1}],"isBlockCoverage":true},{"functionName":"Identifier","ranges":[{"startOffset":69658,"endOffset":69768,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":69854,"endOffset":70112,"count":1}],"isBlockCoverage":true},{"functionName":"IfStatement","ranges":[{"startOffset":69873,"endOffset":70084,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":70179,"endOffset":70413,"count":1}],"isBlockCoverage":true},{"functionName":"ImportDeclaration","ranges":[{"startOffset":70198,"endOffset":70379,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":70497,"endOffset":70692,"count":1}],"isBlockCoverage":true},{"functionName":"ImportDefaultSpecifier","ranges":[{"startOffset":70516,"endOffset":70653,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":70788,"endOffset":70989,"count":1}],"isBlockCoverage":true},{"functionName":"ImportNamespaceSpecifier","ranges":[{"startOffset":70807,"endOffset":70948,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":71080,"endOffset":71299,"count":1}],"isBlockCoverage":true},{"functionName":"ImportSpecifier","ranges":[{"startOffset":71099,"endOffset":71267,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":71373,"endOffset":71583,"count":1}],"isBlockCoverage":true},{"functionName":"LabeledStatement","ranges":[{"startOffset":71392,"endOffset":71550,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":71650,"endOffset":71830,"count":1}],"isBlockCoverage":true},{"functionName":"Literal","ranges":[{"startOffset":71669,"endOffset":71806,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":71884,"endOffset":72091,"count":1}],"isBlockCoverage":true},{"functionName":"MetaProperty","ranges":[{"startOffset":71903,"endOffset":72062,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":72159,"endOffset":72487,"count":1}],"isBlockCoverage":true},{"functionName":"MethodDefinition","ranges":[{"startOffset":72178,"endOffset":72454,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":72553,"endOffset":72735,"count":1}],"isBlockCoverage":true},{"functionName":"Module","ranges":[{"startOffset":72572,"endOffset":72712,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":72788,"endOffset":72997,"count":1}],"isBlockCoverage":true},{"functionName":"NewExpression","ranges":[{"startOffset":72807,"endOffset":72967,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":73067,"endOffset":73259,"count":1}],"isBlockCoverage":true},{"functionName":"ObjectExpression","ranges":[{"startOffset":73086,"endOffset":73226,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":73332,"endOffset":73515,"count":1}],"isBlockCoverage":true},{"functionName":"ObjectPattern","ranges":[{"startOffset":73351,"endOffset":73485,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":73577,"endOffset":73925,"count":1}],"isBlockCoverage":true},{"functionName":"Property","ranges":[{"startOffset":73596,"endOffset":73900,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":73981,"endOffset":74245,"count":1}],"isBlockCoverage":true},{"functionName":"RegexLiteral","ranges":[{"startOffset":74000,"endOffset":74216,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":74308,"endOffset":74479,"count":1}],"isBlockCoverage":true},{"functionName":"RestElement","ranges":[{"startOffset":74327,"endOffset":74451,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":74544,"endOffset":74727,"count":1}],"isBlockCoverage":true},{"functionName":"ReturnStatement","ranges":[{"startOffset":74563,"endOffset":74695,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":74791,"endOffset":74973,"count":1}],"isBlockCoverage":true},{"functionName":"Script","ranges":[{"startOffset":74810,"endOffset":74950,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":75031,"endOffset":75232,"count":1}],"isBlockCoverage":true},{"functionName":"SequenceExpression","ranges":[{"startOffset":75050,"endOffset":75197,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":75309,"endOffset":75486,"count":1}],"isBlockCoverage":true},{"functionName":"SpreadElement","ranges":[{"startOffset":75328,"endOffset":75456,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":75562,"endOffset":75831,"count":1}],"isBlockCoverage":true},{"functionName":"StaticMemberExpression","ranges":[{"startOffset":75581,"endOffset":75792,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":75908,"endOffset":76018,"count":1}],"isBlockCoverage":true},{"functionName":"Super","ranges":[{"startOffset":75927,"endOffset":75996,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":76066,"endOffset":76273,"count":1}],"isBlockCoverage":true},{"functionName":"SwitchCase","ranges":[{"startOffset":76085,"endOffset":76246,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":76336,"endOffset":76567,"count":1}],"isBlockCoverage":true},{"functionName":"SwitchStatement","ranges":[{"startOffset":76355,"endOffset":76535,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":76649,"endOffset":76880,"count":1}],"isBlockCoverage":true},{"functionName":"TaggedTemplateExpression","ranges":[{"startOffset":76668,"endOffset":76839,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":76971,"endOffset":77178,"count":1}],"isBlockCoverage":true},{"functionName":"TemplateElement","ranges":[{"startOffset":76990,"endOffset":77146,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":77251,"endOffset":77482,"count":1}],"isBlockCoverage":true},{"functionName":"TemplateLiteral","ranges":[{"startOffset":77270,"endOffset":77450,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":77554,"endOffset":77691,"count":1}],"isBlockCoverage":true},{"functionName":"ThisExpression","ranges":[{"startOffset":77573,"endOffset":77660,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":77761,"endOffset":77941,"count":1}],"isBlockCoverage":true},{"functionName":"ThrowStatement","ranges":[{"startOffset":77780,"endOffset":77910,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":78009,"endOffset":78264,"count":1}],"isBlockCoverage":true},{"functionName":"TryStatement","ranges":[{"startOffset":78028,"endOffset":78235,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":78331,"endOffset":78588,"count":1}],"isBlockCoverage":true},{"functionName":"UnaryExpression","ranges":[{"startOffset":78350,"endOffset":78556,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":78662,"endOffset":78932,"count":1}],"isBlockCoverage":true},{"functionName":"UpdateExpression","ranges":[{"startOffset":78681,"endOffset":78899,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":79011,"endOffset":79251,"count":1}],"isBlockCoverage":true},{"functionName":"VariableDeclaration","ranges":[{"startOffset":79030,"endOffset":79215,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":79335,"endOffset":79542,"count":1}],"isBlockCoverage":true},{"functionName":"VariableDeclarator","ranges":[{"startOffset":79354,"endOffset":79507,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":79620,"endOffset":79821,"count":1}],"isBlockCoverage":true},{"functionName":"WhileStatement","ranges":[{"startOffset":79639,"endOffset":79790,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":79890,"endOffset":80094,"count":1}],"isBlockCoverage":true},{"functionName":"WithStatement","ranges":[{"startOffset":79909,"endOffset":80064,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":80163,"endOffset":80391,"count":1}],"isBlockCoverage":true},{"functionName":"YieldExpression","ranges":[{"startOffset":80182,"endOffset":80359,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":80465,"endOffset":219799,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":80960,"endOffset":219759,"count":1}],"isBlockCoverage":true},{"functionName":"Parser","ranges":[{"startOffset":80979,"endOffset":83817,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.throwError","ranges":[{"startOffset":83853,"endOffset":84501,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.tolerateError","ranges":[{"startOffset":84541,"endOffset":85188,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.unexpectedTokenError","ranges":[{"startOffset":85284,"endOffset":87286,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.throwUnexpectedToken","ranges":[{"startOffset":87333,"endOffset":87425,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.tolerateUnexpectedToken","ranges":[{"startOffset":87475,"endOffset":87589,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.collectComments","ranges":[{"startOffset":87631,"endOffset":89045,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.getTokenRaw","ranges":[{"startOffset":89145,"endOffset":89237,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.convertToken","ranges":[{"startOffset":89276,"endOffset":90145,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.nextToken","ranges":[{"startOffset":90181,"endOffset":91259,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.nextRegexToken","ranges":[{"startOffset":91300,"endOffset":91765,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.createNode","ranges":[{"startOffset":91802,"endOffset":91983,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.startNode","ranges":[{"startOffset":92019,"endOffset":92425,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.finalize","ranges":[{"startOffset":92460,"endOffset":93591,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.expect","ranges":[{"startOffset":93734,"endOffset":93931,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.expectCommaSeparator","ranges":[{"startOffset":94065,"endOffset":94671,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.expectKeyword","ranges":[{"startOffset":94818,"endOffset":95016,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.match","ranges":[{"startOffset":95120,"endOffset":95239,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.matchKeyword","ranges":[{"startOffset":95346,"endOffset":95466,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.matchContextualKeyword","ranges":[{"startOffset":95672,"endOffset":95795,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.matchAssign","ranges":[{"startOffset":95897,"endOffset":96423,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.isolateCoverGrammar","ranges":[{"startOffset":98342,"endOffset":99247,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.inheritCoverGrammar","ranges":[{"startOffset":99293,"endOffset":100148,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.consumeSemicolon","ranges":[{"startOffset":100191,"endOffset":100675,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parsePrimaryExpression","ranges":[{"startOffset":100787,"endOffset":105356,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseSpreadElement","ranges":[{"startOffset":105463,"endOffset":105694,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseArrayInitializer","ranges":[{"startOffset":105742,"endOffset":106729,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parsePropertyMethod","ranges":[{"startOffset":106838,"endOffset":107674,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parsePropertyMethodFunction","ranges":[{"startOffset":107728,"endOffset":108192,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parsePropertyMethodAsyncFunction","ranges":[{"startOffset":108251,"endOffset":108804,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseObjectPropertyKey","ranges":[{"startOffset":108853,"endOffset":110135,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.isPropertyKey","ranges":[{"startOffset":110175,"endOffset":110364,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseObjectProperty","ranges":[{"startOffset":110410,"endOffset":114056,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseObjectInitializer","ranges":[{"startOffset":114105,"endOffset":114577,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseTemplateHead","ranges":[{"startOffset":114683,"endOffset":115053,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseTemplateElement","ranges":[{"startOffset":115100,"endOffset":115482,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseTemplateLiteral","ranges":[{"startOffset":115529,"endOffset":115985,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.reinterpretExpressionAsPattern","ranges":[{"startOffset":116104,"endOffset":117632,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseGroupExpression","ranges":[{"startOffset":117679,"endOffset":123040,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseArguments","ranges":[{"startOffset":123152,"endOffset":123768,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.isIdentifierName","ranges":[{"startOffset":123811,"endOffset":124039,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseIdentifierName","ranges":[{"startOffset":124085,"endOffset":124358,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseNewExpression","ranges":[{"startOffset":124403,"endOffset":125438,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseAsyncArgument","ranges":[{"startOffset":125483,"endOffset":125638,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseAsyncArguments","ranges":[{"startOffset":125684,"endOffset":126293,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseLeftHandSideExpressionAllowCall","ranges":[{"startOffset":126356,"endOffset":129255,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseSuper","ranges":[{"startOffset":129292,"endOffset":129564,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseLeftHandSideExpression","ranges":[{"startOffset":129618,"endOffset":131154,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseUpdateExpression","ranges":[{"startOffset":131265,"endOffset":133260,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseAwaitExpression","ranges":[{"startOffset":133367,"endOffset":133579,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseUnaryExpression","ranges":[{"startOffset":133626,"endOffset":134681,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseExponentiationExpression","ranges":[{"startOffset":134737,"endOffset":135350,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.binaryPrecedence","ranges":[{"startOffset":135916,"endOffset":136363,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseBinaryExpression","ranges":[{"startOffset":136411,"endOffset":138743,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseConditionalExpression","ranges":[{"startOffset":138861,"endOffset":139681,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.checkPatternParam","ranges":[{"startOffset":139790,"endOffset":140958,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.reinterpretAsCoverFormalsList","ranges":[{"startOffset":141014,"endOffset":143231,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseAssignmentExpression","ranges":[{"startOffset":143283,"endOffset":148447,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseExpression","ranges":[{"startOffset":148548,"endOffset":149220,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseStatementListItem","ranges":[{"startOffset":149319,"endOffset":151010,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseBlock","ranges":[{"startOffset":151047,"endOffset":151420,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseLexicalBinding","ranges":[{"startOffset":151537,"endOffset":152709,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseBindingList","ranges":[{"startOffset":152752,"endOffset":153012,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.isLexicalDeclaration","ranges":[{"startOffset":153059,"endOffset":153591,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseLexicalDeclaration","ranges":[{"startOffset":153641,"endOffset":154051,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseBindingRestElement","ranges":[{"startOffset":154176,"endOffset":154392,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseArrayPattern","ranges":[{"startOffset":154436,"endOffset":155256,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parsePropertyPattern","ranges":[{"startOffset":155303,"endOffset":156701,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseObjectPattern","ranges":[{"startOffset":156746,"endOffset":157179,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parsePattern","ranges":[{"startOffset":157218,"endOffset":157843,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parsePatternWithDefault","ranges":[{"startOffset":157893,"endOffset":158482,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseVariableIdentifier","ranges":[{"startOffset":158595,"endOffset":159809,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseVariableDeclaration","ranges":[{"startOffset":159860,"endOffset":160613,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseVariableDeclarationList","ranges":[{"startOffset":160668,"endOffset":160979,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseVariableStatement","ranges":[{"startOffset":161028,"endOffset":161326,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseEmptyStatement","ranges":[{"startOffset":161432,"endOffset":161582,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseExpressionStatement","ranges":[{"startOffset":161698,"endOffset":161908,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseIfClause","ranges":[{"startOffset":162005,"endOffset":162213,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseIfStatement","ranges":[{"startOffset":162256,"endOffset":163034,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseDoWhileStatement","ranges":[{"startOffset":163145,"endOffset":163900,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseWhileStatement","ranges":[{"startOffset":164006,"endOffset":164750,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseForStatement","ranges":[{"startOffset":164925,"endOffset":172002,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseContinueStatement","ranges":[{"startOffset":172114,"endOffset":172877,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseBreakStatement","ranges":[{"startOffset":172983,"endOffset":173763,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseReturnStatement","ranges":[{"startOffset":173871,"endOffset":174535,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseWithStatement","ranges":[{"startOffset":174639,"endOffset":175329,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseSwitchCase","ranges":[{"startOffset":175432,"endOffset":176100,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseSwitchStatement","ranges":[{"startOffset":176147,"endOffset":177121,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseLabelledStatement","ranges":[{"startOffset":177234,"endOffset":178910,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseThrowStatement","ranges":[{"startOffset":179016,"endOffset":179386,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseCatchClause","ranges":[{"startOffset":179487,"endOffset":180519,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseFinallyClause","ranges":[{"startOffset":180564,"endOffset":180659,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseTryStatement","ranges":[{"startOffset":180703,"endOffset":181217,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseDebuggerStatement","ranges":[{"startOffset":181329,"endOffset":181530,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseStatement","ranges":[{"startOffset":181663,"endOffset":185092,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseFunctionSourceElements","ranges":[{"startOffset":185211,"endOffset":186265,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.validateParam","ranges":[{"startOffset":186305,"endOffset":187800,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseRestElement","ranges":[{"startOffset":187843,"endOffset":188285,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseFormalParameter","ranges":[{"startOffset":188332,"endOffset":188745,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseFormalParameters","ranges":[{"startOffset":188793,"endOffset":189689,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.matchAsyncFunction","ranges":[{"startOffset":189734,"endOffset":190180,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseFunctionDeclaration","ranges":[{"startOffset":190231,"endOffset":193016,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseFunctionExpression","ranges":[{"startOffset":193066,"endOffset":195897,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseDirective","ranges":[{"startOffset":196031,"endOffset":196440,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseDirectivePrologues","ranges":[{"startOffset":196490,"endOffset":197607,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.qualifiedPropertyName","ranges":[{"startOffset":197718,"endOffset":198204,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseGetterMethod","ranges":[{"startOffset":198248,"endOffset":198881,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseSetterMethod","ranges":[{"startOffset":198925,"endOffset":199724,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseGeneratorMethod","ranges":[{"startOffset":199771,"endOffset":200276,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.isStartOfExpression","ranges":[{"startOffset":200397,"endOffset":201392,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseYieldExpression","ranges":[{"startOffset":201439,"endOffset":202210,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseClassElement","ranges":[{"startOffset":202316,"endOffset":206243,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseClassElementList","ranges":[{"startOffset":206291,"endOffset":206695,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseClassBody","ranges":[{"startOffset":206736,"endOffset":206922,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseClassDeclaration","ranges":[{"startOffset":206970,"endOffset":207705,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseClassExpression","ranges":[{"startOffset":207752,"endOffset":208440,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseModule","ranges":[{"startOffset":208582,"endOffset":208989,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseScript","ranges":[{"startOffset":209027,"endOffset":209319,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseModuleSpecifier","ranges":[{"startOffset":209418,"endOffset":209780,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseImportSpecifier","ranges":[{"startOffset":209862,"endOffset":210730,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseNamedImports","ranges":[{"startOffset":210800,"endOffset":211125,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseImportDefaultSpecifier","ranges":[{"startOffset":211205,"endOffset":211390,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseImportNamespaceSpecifier","ranges":[{"startOffset":211477,"endOffset":211856,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseImportDeclaration","ranges":[{"startOffset":211905,"endOffset":214069,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseExportSpecifier","ranges":[{"startOffset":214168,"endOffset":214531,"count":0}],"isBlockCoverage":false},{"functionName":"Parser.parseExportDeclaration","ranges":[{"startOffset":214580,"endOffset":219735,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":219815,"endOffset":220392,"count":1}],"isBlockCoverage":true},{"functionName":"assert","ranges":[{"startOffset":220208,"endOffset":220356,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":220409,"endOffset":222353,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":220581,"endOffset":222301,"count":1}],"isBlockCoverage":true},{"functionName":"ErrorHandler","ranges":[{"startOffset":220600,"endOffset":220691,"count":0}],"isBlockCoverage":false},{"functionName":"ErrorHandler.recordError","ranges":[{"startOffset":220734,"endOffset":220793,"count":0}],"isBlockCoverage":false},{"functionName":"ErrorHandler.tolerate","ranges":[{"startOffset":220834,"endOffset":220991,"count":0}],"isBlockCoverage":false},{"functionName":"ErrorHandler.constructError","ranges":[{"startOffset":221038,"endOffset":221488,"count":0}],"isBlockCoverage":false},{"functionName":"ErrorHandler.createError","ranges":[{"startOffset":221532,"endOffset":221818,"count":0}],"isBlockCoverage":false},{"functionName":"ErrorHandler.throwError","ranges":[{"startOffset":221861,"endOffset":221974,"count":0}],"isBlockCoverage":false},{"functionName":"ErrorHandler.tolerateError","ranges":[{"startOffset":222020,"endOffset":222271,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":222370,"endOffset":226552,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":226569,"endOffset":270707,"count":1}],"isBlockCoverage":true},{"functionName":"hexValue","ranges":[{"startOffset":226825,"endOffset":226909,"count":0}],"isBlockCoverage":false},{"functionName":"octalValue","ranges":[{"startOffset":226911,"endOffset":226975,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":226992,"endOffset":270665,"count":1}],"isBlockCoverage":true},{"functionName":"Scanner","ranges":[{"startOffset":227011,"endOffset":227361,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.saveState","ranges":[{"startOffset":227397,"endOffset":227560,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.restoreState","ranges":[{"startOffset":227600,"endOffset":227748,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.eof","ranges":[{"startOffset":227779,"endOffset":227842,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.throwUnexpectedToken","ranges":[{"startOffset":227890,"endOffset":228125,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.tolerateUnexpectedToken","ranges":[{"startOffset":228176,"endOffset":228407,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.skipSingleLineComment","ranges":[{"startOffset":228509,"endOffset":230351,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.skipMultiLineComment","ranges":[{"startOffset":230399,"endOffset":232713,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.scanComments","ranges":[{"startOffset":232753,"endOffset":235458,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.isFutureReservedWord","ranges":[{"startOffset":235572,"endOffset":235820,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.isStrictModeReservedWord","ranges":[{"startOffset":235872,"endOffset":236271,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.isRestrictedWord","ranges":[{"startOffset":236315,"endOffset":236390,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.isKeyword","ranges":[{"startOffset":236480,"endOffset":237747,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.codePointAt","ranges":[{"startOffset":237786,"endOffset":238166,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.scanHexEscape","ranges":[{"startOffset":238207,"endOffset":238653,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.scanUnicodeCodePointEscape","ranges":[{"startOffset":238707,"endOffset":239324,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.getIdentifier","ranges":[{"startOffset":239365,"endOffset":240160,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.getComplexIdentifier","ranges":[{"startOffset":240208,"endOffset":242234,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.octalToDecimal","ranges":[{"startOffset":242276,"endOffset":243019,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.scanIdentifier","ranges":[{"startOffset":243124,"endOffset":244422,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.scanPunctuator","ranges":[{"startOffset":244520,"endOffset":247496,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.scanHexLiteral","ranges":[{"startOffset":247608,"endOffset":248362,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.scanBinaryLiteral","ranges":[{"startOffset":248407,"endOffset":249355,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.scanOctalLiteral","ranges":[{"startOffset":249399,"endOffset":250543,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.isImplicitOctalLiteral","ranges":[{"startOffset":250593,"endOffset":251065,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.scanNumericLiteral","ranges":[{"startOffset":251111,"endOffset":253971,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.scanStringLiteral","ranges":[{"startOffset":254085,"endOffset":258085,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.scanTemplate","ranges":[{"startOffset":258205,"endOffset":263282,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.testRegExp","ranges":[{"startOffset":263401,"endOffset":265134,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.scanRegExpBody","ranges":[{"startOffset":265176,"endOffset":266760,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.scanRegExpFlags","ranges":[{"startOffset":266803,"endOffset":268150,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.scanRegExp","ranges":[{"startOffset":268188,"endOffset":268709,"count":0}],"isBlockCoverage":false},{"functionName":"Scanner.lex","ranges":[{"startOffset":268740,"endOffset":270640,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":270724,"endOffset":271405,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":271422,"endOffset":277079,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":277096,"endOffset":283545,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":277370,"endOffset":280183,"count":1}],"isBlockCoverage":true},{"functionName":"Reader","ranges":[{"startOffset":277389,"endOffset":277481,"count":0}],"isBlockCoverage":false},{"functionName":"Reader.beforeFunctionExpression","ranges":[{"startOffset":277598,"endOffset":278148,"count":0}],"isBlockCoverage":false},{"functionName":"Reader.isRegexStart","ranges":[{"startOffset":278329,"endOffset":279685,"count":0}],"isBlockCoverage":false},{"functionName":"Reader.push","ranges":[{"startOffset":279716,"endOffset":280159,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":280206,"endOffset":283499,"count":1}],"isBlockCoverage":true},{"functionName":"Tokenizer","ranges":[{"startOffset":280225,"endOffset":280880,"count":0}],"isBlockCoverage":false},{"functionName":"Tokenizer.errors","ranges":[{"startOffset":280915,"endOffset":280977,"count":0}],"isBlockCoverage":false},{"functionName":"Tokenizer.getNextToken","ranges":[{"startOffset":281019,"endOffset":283472,"count":0}],"isBlockCoverage":false}]},{"scriptId":"682","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/js-yaml/lib/js-yaml/dumper.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":27398,"count":1}],"isBlockCoverage":true},{"functionName":"compileStyleMap","ranges":[{"startOffset":2172,"endOffset":2770,"count":0}],"isBlockCoverage":false},{"functionName":"encodeHex","ranges":[{"startOffset":2772,"endOffset":3279,"count":0}],"isBlockCoverage":false},{"functionName":"State","ranges":[{"startOffset":3281,"endOffset":4193,"count":0}],"isBlockCoverage":false},{"functionName":"indentString","ranges":[{"startOffset":4270,"endOffset":4798,"count":0}],"isBlockCoverage":false},{"functionName":"generateNextLine","ranges":[{"startOffset":4800,"endOffset":4901,"count":0}],"isBlockCoverage":false},{"functionName":"testImplicitResolving","ranges":[{"startOffset":4903,"endOffset":5177,"count":0}],"isBlockCoverage":false},{"functionName":"isWhitespace","ranges":[{"startOffset":5215,"endOffset":5288,"count":0}],"isBlockCoverage":false},{"functionName":"isPrintable","ranges":[{"startOffset":5546,"endOffset":5802,"count":0}],"isBlockCoverage":false},{"functionName":"isNsChar","ranges":[{"startOffset":6096,"endOffset":6284,"count":0}],"isBlockCoverage":false},{"functionName":"isPlainSafe","ranges":[{"startOffset":6366,"endOffset":6905,"count":0}],"isBlockCoverage":false},{"functionName":"isPlainSafeFirst","ranges":[{"startOffset":6984,"endOffset":7943,"count":0}],"isBlockCoverage":false},{"functionName":"needIndentIndicator","ranges":[{"startOffset":8008,"endOffset":8118,"count":0}],"isBlockCoverage":false},{"functionName":"chooseScalarStyle","ranges":[{"startOffset":8625,"endOffset":11155,"count":0}],"isBlockCoverage":false},{"functionName":"writeScalar","ranges":[{"startOffset":11576,"endOffset":13557,"count":0}],"isBlockCoverage":false},{"functionName":"blockHeader","ranges":[{"startOffset":13640,"endOffset":14075,"count":0}],"isBlockCoverage":false},{"functionName":"dropEndingNewline","ranges":[{"startOffset":14112,"endOffset":14226,"count":0}],"isBlockCoverage":false},{"functionName":"foldString","ranges":[{"startOffset":14386,"endOffset":15504,"count":0}],"isBlockCoverage":false},{"functionName":"foldLine","ranges":[{"startOffset":15721,"endOffset":17188,"count":0}],"isBlockCoverage":false},{"functionName":"escapeString","ranges":[{"startOffset":17225,"endOffset":18075,"count":0}],"isBlockCoverage":false},{"functionName":"writeFlowSequence","ranges":[{"startOffset":18077,"endOffset":18544,"count":0}],"isBlockCoverage":false},{"functionName":"writeBlockSequence","ranges":[{"startOffset":18546,"endOffset":19226,"count":0}],"isBlockCoverage":false},{"functionName":"writeFlowMapping","ranges":[{"startOffset":19228,"endOffset":20302,"count":0}],"isBlockCoverage":false},{"functionName":"writeBlockMapping","ranges":[{"startOffset":20304,"endOffset":22265,"count":0}],"isBlockCoverage":false},{"functionName":"detectType","ranges":[{"startOffset":22267,"endOffset":23349,"count":0}],"isBlockCoverage":false},{"functionName":"writeNode","ranges":[{"startOffset":23467,"endOffset":25778,"count":0}],"isBlockCoverage":false},{"functionName":"getDuplicateReferences","ranges":[{"startOffset":25780,"endOffset":26153,"count":0}],"isBlockCoverage":false},{"functionName":"inspectNode","ranges":[{"startOffset":26155,"endOffset":26966,"count":0}],"isBlockCoverage":false},{"functionName":"dump","ranges":[{"startOffset":26968,"endOffset":27210,"count":0}],"isBlockCoverage":false},{"functionName":"safeDump","ranges":[{"startOffset":27212,"endOffset":27328,"count":0}],"isBlockCoverage":false}]},{"scriptId":"683","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chokidar/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":28364,"count":1}],"isBlockCoverage":true},{"functionName":"arrify","ranges":[{"startOffset":1627,"endOffset":1681,"count":0}],"isBlockCoverage":false},{"functionName":"flatten","ranges":[{"startOffset":1699,"endOffset":1877,"count":0}],"isBlockCoverage":false},{"functionName":"unifyPaths","ranges":[{"startOffset":1899,"endOffset":2164,"count":0}],"isBlockCoverage":false},{"functionName":"toUnix","ranges":[{"startOffset":2322,"endOffset":2619,"count":0}],"isBlockCoverage":false},{"functionName":"normalizePathToUnix","ranges":[{"startOffset":2754,"endOffset":2803,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeIgnored","ranges":[{"startOffset":2831,"endOffset":3002,"count":0}],"isBlockCoverage":false},{"functionName":"getAbsolutePath","ranges":[{"startOffset":3029,"endOffset":3223,"count":0}],"isBlockCoverage":false},{"functionName":"undef","ranges":[{"startOffset":3240,"endOffset":3278,"count":0}],"isBlockCoverage":false},{"functionName":"DirEntry","ranges":[{"startOffset":3456,"endOffset":3612,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":3616,"endOffset":3745,"count":0}],"isBlockCoverage":false},{"functionName":"remove","ranges":[{"startOffset":3749,"endOffset":4084,"count":0}],"isBlockCoverage":false},{"functionName":"has","ranges":[{"startOffset":4088,"endOffset":4181,"count":0}],"isBlockCoverage":false},{"functionName":"getChildren","ranges":[{"startOffset":4227,"endOffset":4328,"count":0}],"isBlockCoverage":false},{"functionName":"dispose","ranges":[{"startOffset":4332,"endOffset":4473,"count":0}],"isBlockCoverage":false},{"functionName":"WatchHelper","ranges":[{"startOffset":4560,"endOffset":5278,"count":0}],"isBlockCoverage":false},{"functionName":"checkGlobSymlink","ranges":[{"startOffset":5282,"endOffset":5763,"count":0}],"isBlockCoverage":false},{"functionName":"entryPath","ranges":[{"startOffset":5767,"endOffset":5905,"count":0}],"isBlockCoverage":false},{"functionName":"filterPath","ranges":[{"startOffset":5909,"endOffset":6326,"count":0}],"isBlockCoverage":false},{"functionName":"getDirParts","ranges":[{"startOffset":6330,"endOffset":6644,"count":0}],"isBlockCoverage":false},{"functionName":"filterDir","ranges":[{"startOffset":6648,"endOffset":7167,"count":0}],"isBlockCoverage":false},{"functionName":"FSWatcher","ranges":[{"startOffset":7511,"endOffset":11137,"count":0}],"isBlockCoverage":false},{"functionName":"add","ranges":[{"startOffset":11450,"endOffset":13176,"count":0}],"isBlockCoverage":false},{"functionName":"unwatch","ranges":[{"startOffset":13387,"endOffset":14065,"count":0}],"isBlockCoverage":false},{"functionName":"close","ranges":[{"startOffset":14166,"endOffset":14930,"count":0}],"isBlockCoverage":false},{"functionName":"getWatched","ranges":[{"startOffset":15005,"endOffset":15255,"count":0}],"isBlockCoverage":false},{"functionName":"emitWithAll","ranges":[{"startOffset":15257,"endOffset":15361,"count":0}],"isBlockCoverage":false},{"functionName":"_emit","ranges":[{"startOffset":15770,"endOffset":18071,"count":0}],"isBlockCoverage":false},{"functionName":"_handleError","ranges":[{"startOffset":18246,"endOffset":18522,"count":0}],"isBlockCoverage":false},{"functionName":"_throttle","ranges":[{"startOffset":18818,"endOffset":19552,"count":0}],"isBlockCoverage":false},{"functionName":"_incrReadyCount","ranges":[{"startOffset":19554,"endOffset":19604,"count":0}],"isBlockCoverage":false},{"functionName":"_awaitWriteFinish","ranges":[{"startOffset":20051,"endOffset":21407,"count":0}],"isBlockCoverage":false},{"functionName":"_getGlobIgnored","ranges":[{"startOffset":21409,"endOffset":21473,"count":0}],"isBlockCoverage":false},{"functionName":"_isIgnored","ranges":[{"startOffset":21647,"endOffset":22247,"count":0}],"isBlockCoverage":false},{"functionName":"_isntIgnored","ranges":[{"startOffset":22249,"endOffset":22316,"count":0}],"isBlockCoverage":false},{"functionName":"_getWatchHelpers","ranges":[{"startOffset":22613,"endOffset":22852,"count":0}],"isBlockCoverage":false},{"functionName":"_getWatchedDir","ranges":[{"startOffset":23050,"endOffset":23318,"count":0}],"isBlockCoverage":false},{"functionName":"_hasReadPermissions","ranges":[{"startOffset":23583,"endOffset":23859,"count":0}],"isBlockCoverage":false},{"functionName":"_remove","ranges":[{"startOffset":24165,"endOffset":26854,"count":0}],"isBlockCoverage":false},{"functionName":"_closePath","ranges":[{"startOffset":26920,"endOffset":27060,"count":0}],"isBlockCoverage":false},{"functionName":"_closeFile","ranges":[{"startOffset":27130,"endOffset":27286,"count":0}],"isBlockCoverage":false},{"functionName":"_addPathCloser","ranges":[{"startOffset":27349,"endOffset":27532,"count":0}],"isBlockCoverage":false},{"functionName":"_readdirp","ranges":[{"startOffset":27534,"endOffset":27932,"count":0}],"isBlockCoverage":false},{"functionName":"watch","ranges":[{"startOffset":28233,"endOffset":28338,"count":0}],"isBlockCoverage":false}]},{"scriptId":"684","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/readdirp/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8876,"count":1},{"startOffset":1140,"endOffset":1181,"count":0}],"isBlockCoverage":true},{"functionName":"isNormalFlowError","ranges":[{"startOffset":942,"endOffset":985,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1055,"endOffset":1082,"count":2}],"isBlockCoverage":true},{"functionName":"normalizeFilter","ranges":[{"startOffset":1208,"endOffset":2067,"count":0}],"isBlockCoverage":false},{"functionName":"get defaultOptions","ranges":[{"startOffset":2119,"endOffset":2430,"count":0}],"isBlockCoverage":false},{"functionName":"ReaddirpStream","ranges":[{"startOffset":2434,"endOffset":3722,"count":0}],"isBlockCoverage":false},{"functionName":"_read","ranges":[{"startOffset":3726,"endOffset":5128,"count":0}],"isBlockCoverage":false},{"functionName":"_exploreDir","ranges":[{"startOffset":5132,"endOffset":5336,"count":0}],"isBlockCoverage":false},{"functionName":"_formatEntry","ranges":[{"startOffset":5340,"endOffset":5774,"count":0}],"isBlockCoverage":false},{"functionName":"_onError","ranges":[{"startOffset":5778,"endOffset":5924,"count":0}],"isBlockCoverage":false},{"functionName":"_getEntryType","ranges":[{"startOffset":5928,"endOffset":7108,"count":0}],"isBlockCoverage":false},{"functionName":"_includeAsFile","ranges":[{"startOffset":7112,"endOffset":7258,"count":0}],"isBlockCoverage":false},{"functionName":"readdirp","ranges":[{"startOffset":7820,"endOffset":8455,"count":0}],"isBlockCoverage":false},{"functionName":"readdirpPromise","ranges":[{"startOffset":8482,"endOffset":8738,"count":0}],"isBlockCoverage":false}]},{"scriptId":"685","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/anymatch/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3180,"count":1}],"isBlockCoverage":true},{"functionName":"arrify","ranges":[{"startOffset":432,"endOffset":477,"count":0}],"isBlockCoverage":false},{"functionName":"createPattern","ranges":[{"startOffset":598,"endOffset":944,"count":0}],"isBlockCoverage":false},{"functionName":"matchPatterns","ranges":[{"startOffset":1145,"endOffset":1958,"count":0}],"isBlockCoverage":false},{"functionName":"anymatch","ranges":[{"startOffset":2124,"endOffset":3121,"count":0}],"isBlockCoverage":false}]},{"scriptId":"686","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/normalize-path/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1024,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":176,"endOffset":1022,"count":0}],"isBlockCoverage":false}]},{"scriptId":"687","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chokidar/lib/nodefs-handler.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":20067,"count":1}],"isBlockCoverage":true},{"functionName":"foreach","ranges":[{"startOffset":725,"endOffset":818,"count":0}],"isBlockCoverage":false},{"functionName":"addAndConvert","ranges":[{"startOffset":843,"endOffset":1013,"count":0}],"isBlockCoverage":false},{"functionName":"clearItem","ranges":[{"startOffset":1034,"endOffset":1159,"count":0}],"isBlockCoverage":false},{"functionName":"delFromSet","ranges":[{"startOffset":1181,"endOffset":1362,"count":0}],"isBlockCoverage":false},{"functionName":"isEmptySet","ranges":[{"startOffset":1384,"endOffset":1435,"count":0}],"isBlockCoverage":false},{"functionName":"createFsWatchInstance","ranges":[{"startOffset":2240,"endOffset":2860,"count":0}],"isBlockCoverage":false},{"functionName":"fsWatchBroadcast","ranges":[{"startOffset":3167,"endOffset":3352,"count":0}],"isBlockCoverage":false},{"functionName":"setFsWatchListener","ranges":[{"startOffset":3691,"endOffset":5797,"count":0}],"isBlockCoverage":false},{"functionName":"setFsWatchFileListener","ranges":[{"startOffset":6374,"endOffset":8442,"count":0}],"isBlockCoverage":false},{"functionName":"NodeFsHandler","ranges":[{"startOffset":8539,"endOffset":8640,"count":0}],"isBlockCoverage":false},{"functionName":"_watchWithNodeFs","ranges":[{"startOffset":8844,"endOffset":9693,"count":0}],"isBlockCoverage":false},{"functionName":"_handleFile","ranges":[{"startOffset":9953,"endOffset":12010,"count":0}],"isBlockCoverage":false},{"functionName":"_handleSymlink","ranges":[{"startOffset":12337,"endOffset":13370,"count":0}],"isBlockCoverage":false},{"functionName":"_handleRead","ranges":[{"startOffset":13372,"endOffset":15882,"count":0}],"isBlockCoverage":false},{"functionName":"_handleDir","ranges":[{"startOffset":16330,"endOffset":17387,"count":0}],"isBlockCoverage":false},{"functionName":"_addToNodeFs","ranges":[{"startOffset":17835,"endOffset":20030,"count":0}],"isBlockCoverage":false}]},{"scriptId":"688","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-binary-path/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":239,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":164,"endOffset":237,"count":0}],"isBlockCoverage":false}]},{"scriptId":"689","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/binary-extensions/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":54,"count":1}],"isBlockCoverage":true}]},{"scriptId":"690","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chokidar/lib/constants.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1834,"count":1}],"isBlockCoverage":true},{"functionName":"exports.EMPTY_FN","ranges":[{"startOffset":1626,"endOffset":1634,"count":0}],"isBlockCoverage":false},{"functionName":"exports.IDENTITY_FN","ranges":[{"startOffset":1658,"endOffset":1668,"count":0}],"isBlockCoverage":false}]},{"scriptId":"691","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chokidar/lib/fsevents-handler.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":16274,"count":1},{"startOffset":243,"endOffset":264,"count":0},{"startOffset":282,"endOffset":561,"count":0}],"isBlockCoverage":true},{"functionName":"Depth","ranges":[{"startOffset":973,"endOffset":1018,"count":0}],"isBlockCoverage":false},{"functionName":"createFSEventsInstance","ranges":[{"startOffset":2064,"endOffset":2151,"count":0}],"isBlockCoverage":false},{"functionName":"setFSEventsListener","ranges":[{"startOffset":2552,"endOffset":4873,"count":0}],"isBlockCoverage":false},{"functionName":"couldConsolidate","ranges":[{"startOffset":4978,"endOffset":5217,"count":0}],"isBlockCoverage":false},{"functionName":"canUse","ranges":[{"startOffset":5294,"endOffset":5339,"count":0}],"isBlockCoverage":false},{"functionName":"calcDepth","ranges":[{"startOffset":5422,"endOffset":5544,"count":0}],"isBlockCoverage":false},{"functionName":"sameTypes","ranges":[{"startOffset":5680,"endOffset":5883,"count":0}],"isBlockCoverage":false},{"functionName":"FsEventsHandler","ranges":[{"startOffset":5981,"endOffset":6019,"count":0}],"isBlockCoverage":false},{"functionName":"checkIgnored","ranges":[{"startOffset":6020,"endOffset":6324,"count":0}],"isBlockCoverage":false},{"functionName":"addOrChange","ranges":[{"startOffset":6326,"endOffset":6555,"count":0}],"isBlockCoverage":false},{"functionName":"checkExists","ranges":[{"startOffset":6557,"endOffset":7223,"count":0}],"isBlockCoverage":false},{"functionName":"handleEvent","ranges":[{"startOffset":7225,"endOffset":8519,"count":0}],"isBlockCoverage":false},{"functionName":"_watchWithFsEvents","ranges":[{"startOffset":8907,"endOffset":10901,"count":0}],"isBlockCoverage":false},{"functionName":"_handleFsEventsSymlink","ranges":[{"startOffset":11236,"endOffset":12319,"count":0}],"isBlockCoverage":false},{"functionName":"emitAdd","ranges":[{"startOffset":12384,"endOffset":12857,"count":0}],"isBlockCoverage":false},{"functionName":"initWatch","ranges":[{"startOffset":12859,"endOffset":13124,"count":0}],"isBlockCoverage":false},{"functionName":"_addToFsEvents","ranges":[{"startOffset":13464,"endOffset":16203,"count":0}],"isBlockCoverage":false}]},{"scriptId":"692","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/debug/src/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":314,"count":1},{"startOffset":218,"endOffset":264,"count":0}],"isBlockCoverage":true}]},{"scriptId":"693","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/debug/src/node.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4685,"count":1},{"startOffset":816,"endOffset":832,"count":0},{"startOffset":1454,"endOffset":1555,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":334,"endOffset":342,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":1779,"endOffset":1819,"count":146}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1828,"endOffset":2286,"count":0}],"isBlockCoverage":false},{"functionName":"useColors","ranges":[{"startOffset":2362,"endOffset":2501,"count":1},{"startOffset":2425,"endOffset":2464,"count":0}],"isBlockCoverage":true},{"functionName":"formatArgs","ranges":[{"startOffset":2574,"endOffset":3008,"count":0}],"isBlockCoverage":false},{"functionName":"getDate","ranges":[{"startOffset":3010,"endOffset":3125,"count":0}],"isBlockCoverage":false},{"functionName":"log","ranges":[{"startOffset":3214,"endOffset":3298,"count":0}],"isBlockCoverage":false},{"functionName":"save","ranges":[{"startOffset":3379,"endOffset":3636,"count":1},{"startOffset":3424,"endOffset":3462,"count":0}],"isBlockCoverage":true},{"functionName":"load","ranges":[{"startOffset":3753,"endOffset":3799,"count":1}],"isBlockCoverage":true},{"functionName":"init","ranges":[{"startOffset":3964,"endOffset":4167,"count":1},{"startOffset":4100,"endOffset":4165,"count":0}],"isBlockCoverage":true},{"functionName":"formatters.o","ranges":[{"startOffset":4332,"endOffset":4488,"count":0}],"isBlockCoverage":false},{"functionName":"formatters.O","ranges":[{"startOffset":4581,"endOffset":4683,"count":0}],"isBlockCoverage":false}]},{"scriptId":"694","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/supports-color/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2748,"count":1},{"startOffset":250,"endOffset":270,"count":0},{"startOffset":374,"endOffset":394,"count":0},{"startOffset":422,"endOffset":646,"count":0}],"isBlockCoverage":true},{"functionName":"translateLevel","ranges":[{"startOffset":648,"endOffset":806,"count":2},{"startOffset":699,"endOffset":719,"count":0}],"isBlockCoverage":true},{"functionName":"supportsColor","ranges":[{"startOffset":808,"endOffset":2439,"count":2},{"startOffset":881,"endOffset":897,"count":0},{"startOffset":985,"endOffset":1001,"count":0},{"startOffset":1030,"endOffset":1046,"count":0},{"startOffset":1080,"endOffset":1107,"count":0},{"startOffset":1109,"endOffset":1125,"count":0},{"startOffset":1184,"endOffset":1202,"count":0},{"startOffset":1239,"endOffset":1594,"count":0},{"startOffset":1614,"endOffset":1794,"count":0},{"startOffset":1828,"endOffset":1909,"count":0},{"startOffset":1963,"endOffset":2438,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1706,"endOffset":1725,"count":0}],"isBlockCoverage":false},{"functionName":"getSupportLevel","ranges":[{"startOffset":2441,"endOffset":2570,"count":0}],"isBlockCoverage":false}]},{"scriptId":"695","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/has-flag/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":330,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":32,"endOffset":328,"count":16},{"startOffset":102,"endOffset":106,"count":0},{"startOffset":128,"endOffset":133,"count":0},{"startOffset":262,"endOffset":325,"count":0}],"isBlockCoverage":true}]},{"scriptId":"696","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/debug/src/common.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":6289,"count":1}],"isBlockCoverage":true},{"functionName":"setup","ranges":[{"startOffset":108,"endOffset":6263,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":422,"endOffset":464,"count":9}],"isBlockCoverage":true},{"functionName":"selectColor","ranges":[{"startOffset":1012,"endOffset":1290,"count":1},{"startOffset":1108,"endOffset":1213,"count":11}],"isBlockCoverage":true},{"functionName":"createDebug","ranges":[{"startOffset":1460,"endOffset":3626,"count":1}],"isBlockCoverage":true},{"functionName":"debug","ranges":[{"startOffset":1585,"endOffset":2796,"count":0}],"isBlockCoverage":false},{"functionName":"get","ranges":[{"startOffset":3149,"endOffset":3415,"count":0}],"isBlockCoverage":false},{"functionName":"set","ranges":[{"startOffset":3425,"endOffset":3460,"count":0}],"isBlockCoverage":false},{"functionName":"extend","ranges":[{"startOffset":3629,"endOffset":3832,"count":0}],"isBlockCoverage":false},{"functionName":"enable","ranges":[{"startOffset":3993,"endOffset":4609,"count":1},{"startOffset":4205,"endOffset":4217,"count":0},{"startOffset":4366,"endOffset":4602,"count":0}],"isBlockCoverage":true},{"functionName":"disable","ranges":[{"startOffset":4695,"endOffset":4920,"count":0}],"isBlockCoverage":false},{"functionName":"enabled","ranges":[{"startOffset":5063,"endOffset":5450,"count":0}],"isBlockCoverage":false},{"functionName":"toNamespace","ranges":[{"startOffset":5568,"endOffset":5704,"count":0}],"isBlockCoverage":false},{"functionName":"coerce","ranges":[{"startOffset":5793,"endOffset":5902,"count":0}],"isBlockCoverage":false},{"functionName":"destroy","ranges":[{"startOffset":6021,"endOffset":6197,"count":0}],"isBlockCoverage":false}]},{"scriptId":"697","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/debug/node_modules/ms/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3023,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":422,"endOffset":791,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":915,"endOffset":1998,"count":0}],"isBlockCoverage":false},{"functionName":"fmtShort","ranges":[{"startOffset":2096,"endOffset":2413,"count":0}],"isBlockCoverage":false},{"functionName":"fmtLong","ranges":[{"startOffset":2510,"endOffset":2846,"count":0}],"isBlockCoverage":false},{"functionName":"plural","ranges":[{"startOffset":2882,"endOffset":3022,"count":0}],"isBlockCoverage":false}]},{"scriptId":"698","url":"node:inspector","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5387,"count":1}],"isBlockCoverage":false},{"functionName":"Session","ranges":[{"startOffset":1233,"endOffset":1378,"count":0}],"isBlockCoverage":false},{"functionName":"connect","ranges":[{"startOffset":1468,"endOffset":1685,"count":0}],"isBlockCoverage":false},{"functionName":"connectToMainThread","ranges":[{"startOffset":1792,"endOffset":2128,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":2132,"endOffset":2810,"count":0}],"isBlockCoverage":false},{"functionName":"post","ranges":[{"startOffset":3005,"endOffset":3678,"count":0}],"isBlockCoverage":false},{"functionName":"disconnect","ranges":[{"startOffset":3822,"endOffset":4220,"count":0}],"isBlockCoverage":false},{"functionName":"inspectorOpen","ranges":[{"startOffset":4371,"endOffset":4993,"count":0}],"isBlockCoverage":false},{"functionName":"inspectorWaitForDebugger","ranges":[{"startOffset":5139,"endOffset":5246,"count":0}],"isBlockCoverage":false}]},{"scriptId":"699","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/@ava/typescript/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":8330,"count":1}],"isBlockCoverage":true},{"functionName":"isPlainObject","ranges":[{"startOffset":352,"endOffset":476,"count":2}],"isBlockCoverage":true},{"functionName":"validate","ranges":[{"startOffset":478,"endOffset":1131,"count":1},{"startOffset":562,"endOffset":943,"count":3},{"startOffset":672,"endOffset":810,"count":1},{"startOffset":691,"endOffset":792,"count":0},{"startOffset":810,"endOffset":841,"count":2},{"startOffset":841,"endOffset":940,"count":0},{"startOffset":985,"endOffset":1129,"count":2},{"startOffset":1024,"endOffset":1126,"count":0}],"isBlockCoverage":true},{"functionName":"compileTypeScript","ranges":[{"startOffset":1133,"endOffset":1260,"count":0}],"isBlockCoverage":false},{"functionName":"isValid","ranges":[{"startOffset":1321,"endOffset":1393,"count":1},{"startOffset":1368,"endOffset":1388,"count":0}],"isBlockCoverage":true},{"functionName":"isValid","ranges":[{"startOffset":1436,"endOffset":1654,"count":1},{"startOffset":1497,"endOffset":1521,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1568,"endOffset":1648,"count":2}],"isBlockCoverage":true},{"functionName":"isValid","ranges":[{"startOffset":1696,"endOffset":1911,"count":0}],"isBlockCoverage":false},{"functionName":"typescriptProvider","ranges":[{"startOffset":2093,"endOffset":8329,"count":1},{"startOffset":2251,"endOffset":2265,"count":0}],"isBlockCoverage":true},{"functionName":"main","ranges":[{"startOffset":2279,"endOffset":7324,"count":1},{"startOffset":2327,"endOffset":2410,"count":0},{"startOffset":3761,"endOffset":6533,"count":0}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2636,"endOffset":2740,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":2805,"endOffset":2835,"count":3}],"isBlockCoverage":true},{"functionName":"ignoreChange","ranges":[{"startOffset":2922,"endOffset":3101,"count":0}],"isBlockCoverage":false},{"functionName":"resolveTestFile","ranges":[{"startOffset":3109,"endOffset":3749,"count":0}],"isBlockCoverage":false},{"functionName":"interpretChange","ranges":[{"startOffset":3798,"endOffset":4337,"count":0}],"isBlockCoverage":false},{"functionName":"resolvePossibleOutOfBandCompilationSources","ranges":[{"startOffset":4345,"endOffset":6526,"count":0}],"isBlockCoverage":false},{"functionName":"compile","ranges":[{"startOffset":6571,"endOffset":6780,"count":1},{"startOffset":6617,"endOffset":6677,"count":0}],"isBlockCoverage":true},{"functionName":"get extensions","ranges":[{"startOffset":6787,"endOffset":6840,"count":1}],"isBlockCoverage":true},{"functionName":"updateGlobs","ranges":[{"startOffset":6847,"endOffset":7313,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7034,"endOffset":7050,"count":2}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":7186,"endOffset":7288,"count":2}],"isBlockCoverage":true},{"functionName":"worker","ranges":[{"startOffset":7329,"endOffset":8322,"count":0}],"isBlockCoverage":false}]},{"scriptId":"700","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":7897,"count":1}],"isBlockCoverage":true},{"functionName":"getEnv","ranges":[{"startOffset":955,"endOffset":1187,"count":0}],"isBlockCoverage":false},{"functionName":"handleArguments","ranges":[{"startOffset":1214,"endOffset":1941,"count":0}],"isBlockCoverage":false},{"functionName":"handleOutput","ranges":[{"startOffset":1965,"endOffset":2268,"count":0}],"isBlockCoverage":false},{"functionName":"execa","ranges":[{"startOffset":2278,"endOffset":4678,"count":0}],"isBlockCoverage":false},{"functionName":"execaSync","ranges":[{"startOffset":4687,"endOffset":6032,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptStdin","ranges":[{"startOffset":6063,"endOffset":6191,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeScriptOptions","ranges":[{"startOffset":6225,"endOffset":6316,"count":0}],"isBlockCoverage":false},{"functionName":"create$","ranges":[{"startOffset":6319,"endOffset":6973,"count":1}],"isBlockCoverage":true},{"functionName":"$","ranges":[{"startOffset":6348,"endOffset":6640,"count":0}],"isBlockCoverage":false},{"functionName":"$.sync","ranges":[{"startOffset":6652,"endOffset":6958,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommand","ranges":[{"startOffset":7011,"endOffset":7138,"count":0}],"isBlockCoverage":false},{"functionName":"execaCommandSync","ranges":[{"startOffset":7147,"endOffset":7282,"count":0}],"isBlockCoverage":false},{"functionName":"execaNode","ranges":[{"startOffset":7291,"endOffset":7896,"count":0}],"isBlockCoverage":false}]},{"scriptId":"701","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/strip-final-newline/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":347,"count":1}],"isBlockCoverage":true},{"functionName":"stripFinalNewline","ranges":[{"startOffset":15,"endOffset":346,"count":0}],"isBlockCoverage":false}]},{"scriptId":"702","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":938,"count":1}],"isBlockCoverage":true},{"functionName":"npmRunPath","ranges":[{"startOffset":134,"endOffset":741,"count":0}],"isBlockCoverage":false},{"functionName":"npmRunPathEnv","ranges":[{"startOffset":750,"endOffset":937,"count":0}],"isBlockCoverage":false}]},{"scriptId":"703","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/onetime/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1022,"count":1}],"isBlockCoverage":true},{"functionName":"onetime","ranges":[{"startOffset":95,"endOffset":767,"count":0}],"isBlockCoverage":false},{"functionName":"onetime.callCount","ranges":[{"startOffset":790,"endOffset":995,"count":0}],"isBlockCoverage":false}]},{"scriptId":"704","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/error.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2204,"count":1}],"isBlockCoverage":true},{"functionName":"getErrorPrefix","ranges":[{"startOffset":105,"endOffset":580,"count":0}],"isBlockCoverage":false},{"functionName":"makeError","ranges":[{"startOffset":608,"endOffset":2202,"count":0}],"isBlockCoverage":false}]},{"scriptId":"705","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stdio.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1157,"count":1}],"isBlockCoverage":true},{"functionName":"hasAlias","ranges":[{"startOffset":65,"endOffset":127,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdio","ranges":[{"startOffset":160,"endOffset":794,"count":0}],"isBlockCoverage":false},{"functionName":"normalizeStdioNode","ranges":[{"startOffset":879,"endOffset":1155,"count":0}],"isBlockCoverage":false}]},{"scriptId":"706","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/kill.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2983,"count":1}],"isBlockCoverage":true},{"functionName":"spawnedKill","ranges":[{"startOffset":214,"endOffset":367,"count":0}],"isBlockCoverage":false},{"functionName":"setKillTimeout","ranges":[{"startOffset":393,"endOffset":844,"count":0}],"isBlockCoverage":false},{"functionName":"shouldForceKill","ranges":[{"startOffset":871,"endOffset":986,"count":0}],"isBlockCoverage":false},{"functionName":"isSigterm","ranges":[{"startOffset":1007,"endOffset":1128,"count":0}],"isBlockCoverage":false},{"functionName":"getForceKillAfterTimeout","ranges":[{"startOffset":1164,"endOffset":1564,"count":0}],"isBlockCoverage":false},{"functionName":"spawnedCancel","ranges":[{"startOffset":1623,"endOffset":1736,"count":0}],"isBlockCoverage":false},{"functionName":"timeoutKill","ranges":[{"startOffset":1759,"endOffset":1888,"count":0}],"isBlockCoverage":false},{"functionName":"setupTimeout","ranges":[{"startOffset":1948,"endOffset":2417,"count":0}],"isBlockCoverage":false},{"functionName":"validateTimeout","ranges":[{"startOffset":2451,"endOffset":2675,"count":0}],"isBlockCoverage":false},{"functionName":"setExitHandler","ranges":[{"startOffset":2737,"endOffset":2981,"count":0}],"isBlockCoverage":false}]},{"scriptId":"707","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/pipe.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1194,"count":1}],"isBlockCoverage":true},{"functionName":"isExecaChildProcess","ranges":[{"startOffset":165,"endOffset":242,"count":0}],"isBlockCoverage":false},{"functionName":"pipeToTarget","ranges":[{"startOffset":266,"endOffset":826,"count":0}],"isBlockCoverage":false},{"functionName":"addPipeMethods","ranges":[{"startOffset":859,"endOffset":1192,"count":0}],"isBlockCoverage":false}]},{"scriptId":"708","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":2958,"count":1}],"isBlockCoverage":true},{"functionName":"validateInputOptions","ranges":[{"startOffset":198,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"getInputSync","ranges":[{"startOffset":347,"endOffset":495,"count":0}],"isBlockCoverage":false},{"functionName":"handleInputSync","ranges":[{"startOffset":576,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getInput","ranges":[{"startOffset":769,"endOffset":921,"count":0}],"isBlockCoverage":false},{"functionName":"handleInput","ranges":[{"startOffset":999,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"makeAllStream","ranges":[{"startOffset":1270,"endOffset":1518,"count":0}],"isBlockCoverage":false},{"functionName":"getBufferedData","ranges":[{"startOffset":1632,"endOffset":1940,"count":0}],"isBlockCoverage":false},{"functionName":"getStreamPromise","ranges":[{"startOffset":1968,"endOffset":2174,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedResult","ranges":[{"startOffset":2300,"endOffset":2956,"count":0}],"isBlockCoverage":false}]},{"scriptId":"709","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/promise.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1109,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":91,"endOffset":105,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":186,"endOffset":281,"count":3}],"isBlockCoverage":true},{"functionName":"mergePromise","ranges":[{"startOffset":376,"endOffset":749,"count":0}],"isBlockCoverage":false},{"functionName":"getSpawnedPromise","ranges":[{"startOffset":835,"endOffset":1107,"count":0}],"isBlockCoverage":false}]},{"scriptId":"710","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/command.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3071,"count":1}],"isBlockCoverage":true},{"functionName":"normalizeArgs","ranges":[{"startOffset":108,"endOffset":207,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArg","ranges":[{"startOffset":302,"endOffset":449,"count":0}],"isBlockCoverage":false},{"functionName":"joinCommand","ranges":[{"startOffset":479,"endOffset":530,"count":0}],"isBlockCoverage":false},{"functionName":"getEscapedCommand","ranges":[{"startOffset":566,"endOffset":644,"count":0}],"isBlockCoverage":false},{"functionName":"parseCommand","ranges":[{"startOffset":732,"endOffset":1182,"count":0}],"isBlockCoverage":false},{"functionName":"parseExpression","ranges":[{"startOffset":1209,"endOffset":1923,"count":0}],"isBlockCoverage":false},{"functionName":"concatTokens","ranges":[{"startOffset":1947,"endOffset":2173,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplate","ranges":[{"startOffset":2198,"endOffset":2832,"count":0}],"isBlockCoverage":false},{"functionName":"parseTemplates","ranges":[{"startOffset":2865,"endOffset":3068,"count":0}],"isBlockCoverage":false}]},{"scriptId":"711","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/execa/lib/verbose.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":575,"count":1}],"isBlockCoverage":true},{"functionName":"padField","ranges":[{"startOffset":148,"endOffset":204,"count":0}],"isBlockCoverage":false},{"functionName":"getTimestamp","ranges":[{"startOffset":228,"endOffset":413,"count":0}],"isBlockCoverage":false},{"functionName":"logCommand","ranges":[{"startOffset":442,"endOffset":573,"count":0}],"isBlockCoverage":false}]},{"scriptId":"712","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/npm-run-path/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":263,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":15,"endOffset":262,"count":0}],"isBlockCoverage":false}]},{"scriptId":"713","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/main.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1214,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalsByName","ranges":[{"startOffset":134,"endOffset":226,"count":1}],"isBlockCoverage":true},{"functionName":"getSignalByName","ranges":[{"startOffset":251,"endOffset":386,"count":69}],"isBlockCoverage":true},{"functionName":"getSignalsByNumber","ranges":[{"startOffset":465,"endOffset":652,"count":1}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":559,"endOffset":609,"count":65}],"isBlockCoverage":true},{"functionName":"getSignalByNumber","ranges":[{"startOffset":679,"endOffset":939,"count":65},{"startOffset":771,"endOffset":784,"count":3},{"startOffset":784,"endOffset":938,"count":62}],"isBlockCoverage":true},{"functionName":"findSignalByNumber","ranges":[{"startOffset":969,"endOffset":1161,"count":65},{"startOffset":1083,"endOffset":1101,"count":31},{"startOffset":1101,"endOffset":1160,"count":34}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1015,"endOffset":1057,"count":2919}],"isBlockCoverage":true},{"functionName":"","ranges":[{"startOffset":1123,"endOffset":1157,"count":1881}],"isBlockCoverage":true}]},{"scriptId":"714","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/is-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":746,"count":1}],"isBlockCoverage":true},{"functionName":"isStream","ranges":[{"startOffset":7,"endOffset":132,"count":0}],"isBlockCoverage":false},{"functionName":"isWritableStream","ranges":[{"startOffset":141,"endOffset":323,"count":0}],"isBlockCoverage":false},{"functionName":"isReadableStream","ranges":[{"startOffset":332,"endOffset":513,"count":0}],"isBlockCoverage":false},{"functionName":"isDuplexStream","ranges":[{"startOffset":522,"endOffset":621,"count":0}],"isBlockCoverage":false},{"functionName":"isTransformStream","ranges":[{"startOffset":630,"endOffset":745,"count":0}],"isBlockCoverage":false}]},{"scriptId":"715","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/realtime.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":353,"count":1}],"isBlockCoverage":true},{"functionName":"getRealtimeSignals","ranges":[{"startOffset":33,"endOffset":121,"count":2}],"isBlockCoverage":true},{"functionName":"getRealtimeSignal","ranges":[{"startOffset":148,"endOffset":306,"count":62}],"isBlockCoverage":true}]},{"scriptId":"716","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":603,"count":1}],"isBlockCoverage":true},{"functionName":"getSignals","ranges":[{"startOffset":139,"endOffset":274,"count":2}],"isBlockCoverage":true},{"functionName":"normalizeSignal","ranges":[{"startOffset":305,"endOffset":602,"count":138},{"startOffset":504,"endOffset":519,"count":66},{"startOffset":519,"endOffset":533,"count":72}],"isBlockCoverage":true}]},{"scriptId":"717","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/human-signals/build/src/core.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":4126,"count":1}],"isBlockCoverage":true}]},{"scriptId":"718","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1}],"isBlockCoverage":true},{"functionName":"spawn","ranges":[{"startOffset":131,"endOffset":589,"count":0}],"isBlockCoverage":false},{"functionName":"spawnSync","ranges":[{"startOffset":591,"endOffset":1038,"count":0}],"isBlockCoverage":false}]},{"scriptId":"719","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/parse.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3065,"count":1}],"isBlockCoverage":true},{"functionName":"detectShebang","ranges":[{"startOffset":354,"endOffset":659,"count":0}],"isBlockCoverage":false},{"functionName":"parseNonShell","ranges":[{"startOffset":661,"endOffset":2367,"count":0}],"isBlockCoverage":false},{"functionName":"parse","ranges":[{"startOffset":2369,"endOffset":3039,"count":0}],"isBlockCoverage":false}]},{"scriptId":"720","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/resolveCommand.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1557,"count":1}],"isBlockCoverage":true},{"functionName":"resolveCommandAttempt","ranges":[{"startOffset":118,"endOffset":1404,"count":0}],"isBlockCoverage":false},{"functionName":"resolveCommand","ranges":[{"startOffset":1406,"endOffset":1522,"count":0}],"isBlockCoverage":false}]},{"scriptId":"721","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/which/which.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":3163,"count":1},{"startOffset":177,"endOffset":182,"count":0}],"isBlockCoverage":true},{"functionName":"getNotFoundError","ranges":[{"startOffset":246,"endOffset":322,"count":0}],"isBlockCoverage":false},{"functionName":"getPathInfo","ranges":[{"startOffset":344,"endOffset":1152,"count":0}],"isBlockCoverage":false},{"functionName":"which","ranges":[{"startOffset":1168,"endOffset":2279,"count":0}],"isBlockCoverage":false},{"functionName":"whichSync","ranges":[{"startOffset":2299,"endOffset":3115,"count":0}],"isBlockCoverage":false}]},{"scriptId":"722","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1192,"count":1},{"startOffset":92,"endOffset":128,"count":0}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":211,"endOffset":928,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":930,"endOffset":1191,"count":0}],"isBlockCoverage":false}]},{"scriptId":"723","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/isexe/mode.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":909,"count":1}],"isBlockCoverage":true},{"functionName":"isexe","ranges":[{"startOffset":66,"endOffset":197,"count":0}],"isBlockCoverage":false},{"functionName":"sync","ranges":[{"startOffset":199,"endOffset":279,"count":0}],"isBlockCoverage":false},{"functionName":"checkStat","ranges":[{"startOffset":281,"endOffset":370,"count":0}],"isBlockCoverage":false},{"functionName":"checkMode","ranges":[{"startOffset":372,"endOffset":908,"count":0}],"isBlockCoverage":false}]},{"scriptId":"724","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/path-key/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":415,"count":1}],"isBlockCoverage":true},{"functionName":"pathKey","ranges":[{"startOffset":31,"endOffset":304,"count":0}],"isBlockCoverage":false}]},{"scriptId":"725","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/escape.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1172,"count":1}],"isBlockCoverage":true},{"functionName":"escapeCommand","ranges":[{"startOffset":121,"endOffset":241,"count":0}],"isBlockCoverage":false},{"functionName":"escapeArgument","ranges":[{"startOffset":243,"endOffset":1088,"count":0}],"isBlockCoverage":false}]},{"scriptId":"726","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/util/readShebang.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":549,"count":1}],"isBlockCoverage":true},{"functionName":"readShebang","ranges":[{"startOffset":93,"endOffset":517,"count":0}],"isBlockCoverage":false}]},{"scriptId":"727","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-command/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":387,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":79,"endOffset":385,"count":0}],"isBlockCoverage":false}]},{"scriptId":"728","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/shebang-regex/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":42,"count":1}],"isBlockCoverage":true}]},{"scriptId":"729","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/cross-spawn/lib/enoent.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1480,"count":1}],"isBlockCoverage":true},{"functionName":"notFoundError","ranges":[{"startOffset":60,"endOffset":358,"count":0}],"isBlockCoverage":false},{"functionName":"hookChildProcess","ranges":[{"startOffset":360,"endOffset":1023,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENT","ranges":[{"startOffset":1025,"endOffset":1195,"count":0}],"isBlockCoverage":false},{"functionName":"verifyENOENTSync","ranges":[{"startOffset":1197,"endOffset":1375,"count":0}],"isBlockCoverage":false}]},{"scriptId":"730","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":5708,"count":1},{"startOffset":778,"endOffset":844,"count":0},{"startOffset":1059,"endOffset":1089,"count":0},{"startOffset":1144,"endOffset":1195,"count":0}],"isBlockCoverage":true},{"functionName":"processOk","ranges":[{"startOffset":293,"endOffset":677,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":799,"endOffset":842,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports","ranges":[{"startOffset":1703,"endOffset":2301,"count":0}],"isBlockCoverage":false},{"functionName":"unload","ranges":[{"startOffset":2318,"endOffset":2676,"count":0}],"isBlockCoverage":false},{"functionName":"emit","ranges":[{"startOffset":2724,"endOffset":2919,"count":0}],"isBlockCoverage":false},{"functionName":"","ranges":[{"startOffset":3001,"endOffset":3890,"count":18}],"isBlockCoverage":true},{"functionName":"listener","ranges":[{"startOffset":3042,"endOffset":3886,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.signals","ranges":[{"startOffset":3920,"endOffset":3956,"count":0}],"isBlockCoverage":false},{"functionName":"load","ranges":[{"startOffset":3993,"endOffset":4602,"count":0}],"isBlockCoverage":false},{"functionName":"processReallyExit","ranges":[{"startOffset":4712,"endOffset":5108,"count":0}],"isBlockCoverage":false},{"functionName":"processEmit","ranges":[{"startOffset":5171,"endOffset":5705,"count":0}],"isBlockCoverage":false}]},{"scriptId":"731","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/signal-exit/signals.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1295,"count":1}],"isBlockCoverage":true}]},{"scriptId":"732","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":1489,"count":1}],"isBlockCoverage":true},{"functionName":"MaxBufferError","ranges":[{"startOffset":292,"endOffset":373,"count":0}],"isBlockCoverage":false},{"functionName":"getStream","ranges":[{"startOffset":377,"endOffset":1223,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.buffer","ranges":[{"startOffset":1277,"endOffset":1349,"count":0}],"isBlockCoverage":false},{"functionName":"module.exports.array","ranges":[{"startOffset":1374,"endOffset":1439,"count":0}],"isBlockCoverage":false}]},{"scriptId":"733","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/get-stream/buffer-stream.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":894,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":92,"endOffset":892,"count":0}],"isBlockCoverage":false}]},{"scriptId":"734","url":"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/merge-stream/index.js","functions":[{"functionName":"","ranges":[{"startOffset":0,"endOffset":885,"count":1}],"isBlockCoverage":true},{"functionName":"module.exports","ranges":[{"startOffset":76,"endOffset":884,"count":0}],"isBlockCoverage":false}]}],"timestamp":85118.594466,"source-map-cache":{"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chunkd/dist/chunkd.js":{"lineLengths":[13,62,38,30,42,35,59,51,47,1,25,24,34],"data":{"version":3,"file":"chunkd.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/chunkd/src/chunkd.ts"],"names":[],"mappings":";;AAAA,SAAwB,MAAM,CAC7B,KAAU,EACV,KAAa,EACb,KAAa;IAEb,IAAI,MAAM,GAAG,KAAK,CAAC,MAAM,CAAA;IACzB,IAAI,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,CAAA;IACrC,IAAI,SAAS,GAAG,MAAM,GAAG,KAAK,CAAA;IAC9B,IAAI,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,SAAS,CAAC,GAAG,KAAK,GAAG,IAAI,CAAA;IACtD,IAAI,KAAK,GAAG,IAAI,GAAG,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAE9C,OAAO,KAAK,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,KAAK,CAAC,CAAA;AAC3C,CAAC;AAZD,yBAYC;AAED,MAAM,CAAC,OAAO,GAAG,MAAM,CAAA"},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/index.js":{"lineLengths":[13,7,62,74,65,63,53,60,45,115,43,34,51,41,47,46,41,38,37,55,26,64,27,15,15,25,20,6,17,22,17,6,14,23,19,35,40,9,52,24,28,30,32,11,5,16,36,5,28,40,35,29,23,19,9,28,43,28,9,14,30,9,5,28,31,25,9,32,24,46,51,9,28,62,9,19,5,1,22,1,37,12,26,44,10,16,34,10,18,36,10,6,2,49,14,25,5,14,16,1,41,52,40,25,65,24,29,13,25,31,23,20,26,16,32,43,32,49,45,70,71,69,35,63,46,83,84,82,82,81,27,37,34,68,74,61,17,36,49,34,70,41,68,29,53,40,17,14,9,61,49,5,22,29,40,29,9,28,37,24,9,59,33,22,49,63,68,30,13,10,5,12,27,19,9,28,65,68,68,35,33,49,17,51,23,46,13,25,9,44,47,10,46,49,10,5,14,28,19,9,29,45,53,33,28,75,13,32,17,60,37,13,25,32,11,55,67,33,5,30,29,40,21,9,43,28,65,91,5,31,45,56,46,49,37,13,33,60,33,69,32,23,9,14,55,9,5,1,35,65,25,94,3,67,39,2,68,29,2,61,3,28,3,66,66,45,2,12,3,24,3,68,66,45,2,12,3,27,33],"data":{"version":3,"file":"index.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/index.ts"],"names":[],"mappings":";;;;AAAA,iEAAiE;AACjE,+DAA+D;AAC/D,qDAAqD;AACrD,4DAA4D;AAC5D,6CAAsC;AAC7B,wFADA,oBAAO,OACA;AAQhB,MAAM,SAAS,GAAG,CAAC,OAAY,EAAwB,EAAE,CACvD,CAAC,CAAC,OAAO;IACT,OAAO,OAAO,KAAK,QAAQ;IAC3B,OAAO,OAAO,CAAC,cAAc,KAAK,UAAU;IAC5C,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,UAAU,KAAK,UAAU;IACxC,OAAO,OAAO,CAAC,SAAS,KAAK,UAAU;IACvC,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU;IAClC,OAAO,OAAO,CAAC,GAAG,KAAK,QAAQ;IAC/B,OAAO,OAAO,CAAC,EAAE,KAAK,UAAU,CAAA;AAElC,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;AACtD,MAAM,MAAM,GAAqD,UAAU,CAAA;AAC3E,MAAM,oBAAoB,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;AAwB/D,2BAA2B;AAC3B,MAAM,OAAO;IACX,OAAO,GAAY;QACjB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,KAAK;KACZ,CAAA;IAED,SAAS,GAAc;QACrB,SAAS,EAAE,EAAE;QACb,IAAI,EAAE,EAAE;KACT,CAAA;IAED,KAAK,GAAW,CAAC,CAAA;IACjB,EAAE,GAAW,IAAI,CAAC,MAAM,EAAE,CAAA;IAE1B;QACE,IAAI,MAAM,CAAC,YAAY,CAAC,EAAE;YACxB,OAAO,MAAM,CAAC,YAAY,CAAC,CAAA;SAC5B;QACD,oBAAoB,CAAC,MAAM,EAAE,YAAY,EAAE;YACzC,KAAK,EAAE,IAAI;YACX,QAAQ,EAAE,KAAK;YACf,UAAU,EAAE,KAAK;YACjB,YAAY,EAAE,KAAK;SACpB,CAAC,CAAA;IACJ,CAAC;IAED,EAAE,CAAC,EAAa,EAAE,EAAW;QAC3B,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC7B,CAAC;IAED,cAAc,CAAC,EAAa,EAAE,EAAW;QACvC,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;QAC/B,MAAM,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;QAC1B,qBAAqB;QACrB,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE;YACZ,OAAM;SACP;QACD,oBAAoB;QACpB,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;YAChC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAA;SAChB;aAAM;YACL,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;SAClB;IACH,CAAC;IAED,IAAI,CACF,EAAa,EACb,IAA+B,EAC/B,MAA6B;QAE7B,IAAI,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;YACpB,OAAO,KAAK,CAAA;SACb;QACD,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,IAAI,CAAA;QACvB,IAAI,GAAG,GAAY,KAAK,CAAA;QACxB,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE;YACnC,GAAG,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,IAAI,IAAI,GAAG,CAAA;SACvC;QACD,IAAI,EAAE,KAAK,MAAM,EAAE;YACjB,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,GAAG,CAAA;SAClD;QACD,OAAO,GAAG,CAAA;IACZ,CAAC;CACF;AAED,MAAe,cAAc;CAI5B;AAED,MAAM,cAAc,GAAG,CAA2B,OAAU,EAAE,EAAE;IAC9D,OAAO;QACL,MAAM,CAAC,EAAW,EAAE,IAA+B;YACjD,OAAO,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;QACjC,CAAC;QACD,IAAI;YACF,OAAO,OAAO,CAAC,IAAI,EAAE,CAAA;QACvB,CAAC;QACD,MAAM;YACJ,OAAO,OAAO,CAAC,MAAM,EAAE,CAAA;QACzB,CAAC;KACF,CAAA;AACH,CAAC,CAAA;AAED,MAAM,kBAAmB,SAAQ,cAAc;IAC7C,MAAM;QACJ,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;IACjB,CAAC;IACD,IAAI,KAAI,CAAC;IACT,MAAM,KAAI,CAAC;CACZ;AAED,MAAM,UAAW,SAAQ,cAAc;IACrC,gDAAgD;IAChD,oCAAoC;IACpC,qBAAqB;IACrB,OAAO,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAA;IAC5D,oBAAoB;IACpB,QAAQ,GAAG,IAAI,OAAO,EAAE,CAAA;IACxB,QAAQ,CAAW;IACnB,oBAAoB,CAAmB;IACvC,0BAA0B,CAAyB;IAEnD,aAAa,GAA2C,EAAE,CAAA;IAC1D,OAAO,GAAY,KAAK,CAAA;IAExB,YAAY,OAAkB;QAC5B,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAA;QACvB,mCAAmC;QACnC,IAAI,CAAC,aAAa,GAAG,EAAE,CAAA;QACvB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,GAAG,EAAE;gBAC7B,sDAAsD;gBACtD,uDAAuD;gBACvD,qDAAqD;gBACrD,mBAAmB;gBACnB,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;gBAC9C,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAA;gBAC7B,mEAAmE;gBACnE,oEAAoE;gBACpE,kEAAkE;gBAClE,kEAAkE;gBAClE,iEAAiE;gBACjE,WAAW;gBACX,qBAAqB;gBACrB,MAAM,CAAC,GAAG,OAET,CAAA;gBACD,IACE,OAAO,CAAC,CAAC,uBAAuB,KAAK,QAAQ;oBAC7C,OAAO,CAAC,CAAC,uBAAuB,CAAC,KAAK,KAAK,QAAQ,EACnD;oBACA,KAAK,IAAI,CAAC,CAAC,uBAAuB,CAAC,KAAK,CAAA;iBACzC;gBACD,oBAAoB;gBACpB,IAAI,SAAS,CAAC,MAAM,KAAK,KAAK,EAAE;oBAC9B,IAAI,CAAC,MAAM,EAAE,CAAA;oBACb,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,CAAA;oBACjD,qBAAqB;oBACrB,MAAM,CAAC,GAAG,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAA;oBAC/C,IAAI,CAAC,GAAG;wBAAE,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;oBACtC,oBAAoB;iBACrB;YACH,CAAC,CAAA;SACF;QAED,IAAI,CAAC,0BAA0B,GAAG,OAAO,CAAC,UAAU,CAAA;QACpD,IAAI,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAA;IAC1C,CAAC;IAED,MAAM,CAAC,EAAW,EAAE,IAA+B;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,GAAG,EAAE,GAAE,CAAC,CAAA;SAChB;QACD,oBAAoB;QAEpB,IAAI,IAAI,CAAC,OAAO,KAAK,KAAK,EAAE;YAC1B,IAAI,CAAC,IAAI,EAAE,CAAA;SACZ;QAED,MAAM,EAAE,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAA;QAClD,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;QACxB,OAAO,GAAG,EAAE;YACV,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;YACpC,IACE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC;gBAC5C,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,MAAM,KAAK,CAAC,EACjD;gBACA,IAAI,CAAC,MAAM,EAAE,CAAA;aACd;QACH,CAAC,CAAA;IACH,CAAC;IAED,IAAI;QACF,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;QAEnB,yDAAyD;QACzD,4DAA4D;QAC5D,4DAA4D;QAC5D,2BAA2B;QAC3B,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;QAExB,KAAK,MAAM,GAAG,IAAI,oBAAO,EAAE;YACzB,IAAI;gBACF,MAAM,EAAE,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;gBAClC,IAAI,EAAE;oBAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;aAClC;YAAC,OAAO,CAAC,EAAE,GAAE;SACf;QAED,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,EAAU,EAAE,GAAG,CAAQ,EAAE,EAAE;YAC/C,OAAO,IAAI,CAAC,YAAY,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,CAAA;QACpC,CAAC,CAAA;QACD,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,CAAC,IAAgC,EAAE,EAAE;YAC9D,OAAO,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAA;QACtC,CAAC,CAAA;IACH,CAAC;IAED,MAAM;QACJ,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACjB,OAAM;SACP;QACD,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QAEpB,oBAAO,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACpB,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;YACxC,qBAAqB;YACrB,IAAI,CAAC,QAAQ,EAAE;gBACb,MAAM,IAAI,KAAK,CAAC,mCAAmC,GAAG,GAAG,CAAC,CAAA;aAC3D;YACD,oBAAoB;YACpB,IAAI;gBACF,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;gBAC3C,qBAAqB;aACtB;YAAC,OAAO,CAAC,EAAE,GAAE;YACd,oBAAoB;QACtB,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC,oBAAoB,CAAA;QAC9C,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,IAAI,CAAC,0BAA0B,CAAA;QAC1D,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAA;IAC1B,CAAC;IAED,kBAAkB,CAAC,IAAgC;QACjD,qBAAqB;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7B,OAAO,CAAC,CAAA;SACT;QACD,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,IAAI,CAAC,CAAA;QAClC,oBAAoB;QAEpB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;QACxD,OAAO,IAAI,CAAC,0BAA0B,CAAC,IAAI,CACzC,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,QAAQ,CAAC,QAAQ,CACvB,CAAA;IACH,CAAC;IAED,YAAY,CAAC,EAAU,EAAE,GAAG,IAAW;QACrC,MAAM,EAAE,GAAG,IAAI,CAAC,oBAAoB,CAAA;QACpC,IAAI,EAAE,KAAK,MAAM,IAAI,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC7C,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE;gBAC/B,IAAI,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;gBAChC,qBAAqB;aACtB;YACD,qBAAqB;YACrB,MAAM,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;YAC/C,qBAAqB;YACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;YACxD,oBAAoB;YACpB,OAAO,GAAG,CAAA;SACX;aAAM;YACL,OAAO,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;SAC3C;IACH,CAAC;CACF;AAED,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAA;AAClC,iEAAiE;AACjE,yBAAyB;AACZ,KA6BT,cAAc,CAChB,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,kBAAkB,EAAE,CACxE;AA9BC;;;;;;;;GAQG;AACH,cAAM;AAEN;;;;;;GAMG;AACH,YAAI;AAEJ;;;;;;GAMG;AACH,cAAM,aAGP","sourcesContent":["// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nimport { signals } from './signals.js'\nexport { signals }\n\n// just a loosened process type so we can do some evil things\ntype ProcessRE = NodeJS.Process & {\n reallyExit: (code?: number | undefined | null) => any\n emit: (ev: string, ...a: any[]) => any\n}\n\nconst processOk = (process: any): process is ProcessRE =>\n !!process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n\nconst kExitEmitter = Symbol.for('signal-exit emitter')\nconst global: typeof globalThis & { [kExitEmitter]?: Emitter } = globalThis\nconst ObjectDefineProperty = Object.defineProperty.bind(Object)\n\n/**\n * A function that takes an exit code and signal as arguments\n *\n * In the case of signal exits *only*, a return value of true\n * will indicate that the signal is being handled, and we should\n * not synthetically exit with the signal we received. Regardless\n * of the handler return value, the handler is unloaded when an\n * otherwise fatal signal is received, so you get exactly 1 shot\n * at it, unless you add another onExit handler at that point.\n *\n * In the case of numeric code exits, we may already have committed\n * to exiting the process, for example via a fatal exception or\n * unhandled promise rejection, so it is impossible to stop safely.\n */\nexport type Handler = (\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n) => true | void\ntype ExitEvent = 'afterExit' | 'exit'\ntype Emitted = { [k in ExitEvent]: boolean }\ntype Listeners = { [k in ExitEvent]: Handler[] }\n\n// teeny special purpose ee\nclass Emitter {\n emitted: Emitted = {\n afterExit: false,\n exit: false,\n }\n\n listeners: Listeners = {\n afterExit: [],\n exit: [],\n }\n\n count: number = 0\n id: number = Math.random()\n\n constructor() {\n if (global[kExitEmitter]) {\n return global[kExitEmitter]\n }\n ObjectDefineProperty(global, kExitEmitter, {\n value: this,\n writable: false,\n enumerable: false,\n configurable: false,\n })\n }\n\n on(ev: ExitEvent, fn: Handler) {\n this.listeners[ev].push(fn)\n }\n\n removeListener(ev: ExitEvent, fn: Handler) {\n const list = this.listeners[ev]\n const i = list.indexOf(fn)\n /* c8 ignore start */\n if (i === -1) {\n return\n }\n /* c8 ignore stop */\n if (i === 0 && list.length === 1) {\n list.length = 0\n } else {\n list.splice(i, 1)\n }\n }\n\n emit(\n ev: ExitEvent,\n code: number | null | undefined,\n signal: NodeJS.Signals | null\n ): boolean {\n if (this.emitted[ev]) {\n return false\n }\n this.emitted[ev] = true\n let ret: boolean = false\n for (const fn of this.listeners[ev]) {\n ret = fn(code, signal) === true || ret\n }\n if (ev === 'exit') {\n ret = this.emit('afterExit', code, signal) || ret\n }\n return ret\n }\n}\n\nabstract class SignalExitBase {\n abstract onExit(cb: Handler, opts?: { alwaysLast?: boolean }): () => void\n abstract load(): void\n abstract unload(): void\n}\n\nconst signalExitWrap = (handler: T) => {\n return {\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n return handler.onExit(cb, opts)\n },\n load() {\n return handler.load()\n },\n unload() {\n return handler.unload()\n },\n }\n}\n\nclass SignalExitFallback extends SignalExitBase {\n onExit() {\n return () => {}\n }\n load() {}\n unload() {}\n}\n\nclass SignalExit extends SignalExitBase {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n /* c8 ignore start */\n #hupSig = process.platform === 'win32' ? 'SIGINT' : 'SIGHUP'\n /* c8 ignore stop */\n #emitter = new Emitter()\n #process: ProcessRE\n #originalProcessEmit: ProcessRE['emit']\n #originalProcessReallyExit: ProcessRE['reallyExit']\n\n #sigListeners: { [k in NodeJS.Signals]?: () => void } = {}\n #loaded: boolean = false\n\n constructor(process: ProcessRE) {\n super()\n this.#process = process\n // { : , ... }\n this.#sigListeners = {}\n for (const sig of signals) {\n this.#sigListeners[sig] = () => {\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n const listeners = this.#process.listeners(sig)\n let { count } = this.#emitter\n // This is a workaround for the fact that signal-exit v3 and signal\n // exit v4 are not aware of each other, and each will attempt to let\n // the other handle it, so neither of them do. To correct this, we\n // detect if we're the only handler *except* for previous versions\n // of signal-exit, and increment by the count of listeners it has\n // created.\n /* c8 ignore start */\n const p = process as unknown as {\n __signal_exit_emitter__?: { count: number }\n }\n if (\n typeof p.__signal_exit_emitter__ === 'object' &&\n typeof p.__signal_exit_emitter__.count === 'number'\n ) {\n count += p.__signal_exit_emitter__.count\n }\n /* c8 ignore stop */\n if (listeners.length === count) {\n this.unload()\n const ret = this.#emitter.emit('exit', null, sig)\n /* c8 ignore start */\n const s = sig === 'SIGHUP' ? this.#hupSig : sig\n if (!ret) process.kill(process.pid, s)\n /* c8 ignore stop */\n }\n }\n }\n\n this.#originalProcessReallyExit = process.reallyExit\n this.#originalProcessEmit = process.emit\n }\n\n onExit(cb: Handler, opts?: { alwaysLast?: boolean }) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return () => {}\n }\n /* c8 ignore stop */\n\n if (this.#loaded === false) {\n this.load()\n }\n\n const ev = opts?.alwaysLast ? 'afterExit' : 'exit'\n this.#emitter.on(ev, cb)\n return () => {\n this.#emitter.removeListener(ev, cb)\n if (\n this.#emitter.listeners['exit'].length === 0 &&\n this.#emitter.listeners['afterExit'].length === 0\n ) {\n this.unload()\n }\n }\n }\n\n load() {\n if (this.#loaded) {\n return\n }\n this.#loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n this.#emitter.count += 1\n\n for (const sig of signals) {\n try {\n const fn = this.#sigListeners[sig]\n if (fn) this.#process.on(sig, fn)\n } catch (_) {}\n }\n\n this.#process.emit = (ev: string, ...a: any[]) => {\n return this.#processEmit(ev, ...a)\n }\n this.#process.reallyExit = (code?: number | null | undefined) => {\n return this.#processReallyExit(code)\n }\n }\n\n unload() {\n if (!this.#loaded) {\n return\n }\n this.#loaded = false\n\n signals.forEach(sig => {\n const listener = this.#sigListeners[sig]\n /* c8 ignore start */\n if (!listener) {\n throw new Error('Listener not defined for signal: ' + sig)\n }\n /* c8 ignore stop */\n try {\n this.#process.removeListener(sig, listener)\n /* c8 ignore start */\n } catch (_) {}\n /* c8 ignore stop */\n })\n this.#process.emit = this.#originalProcessEmit\n this.#process.reallyExit = this.#originalProcessReallyExit\n this.#emitter.count -= 1\n }\n\n #processReallyExit(code?: number | null | undefined) {\n /* c8 ignore start */\n if (!processOk(this.#process)) {\n return 0\n }\n this.#process.exitCode = code || 0\n /* c8 ignore stop */\n\n this.#emitter.emit('exit', this.#process.exitCode, null)\n return this.#originalProcessReallyExit.call(\n this.#process,\n this.#process.exitCode\n )\n }\n\n #processEmit(ev: string, ...args: any[]): any {\n const og = this.#originalProcessEmit\n if (ev === 'exit' && processOk(this.#process)) {\n if (typeof args[0] === 'number') {\n this.#process.exitCode = args[0]\n /* c8 ignore start */\n }\n /* c8 ignore start */\n const ret = og.call(this.#process, ev, ...args)\n /* c8 ignore start */\n this.#emitter.emit('exit', this.#process.exitCode, null)\n /* c8 ignore stop */\n return ret\n } else {\n return og.call(this.#process, ev, ...args)\n }\n }\n}\n\nconst process = globalThis.process\n// wrap so that we call the method on the actual handler, without\n// exporting it directly.\nexport const {\n /**\n * Called when the process is exiting, whether via signal, explicit\n * exit, or running out of stuff to do.\n *\n * If the global process object is not suitable for instrumentation,\n * then this will be a no-op.\n *\n * Returns a function that may be used to unload signal-exit.\n */\n onExit,\n\n /**\n * Load the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n load,\n\n /**\n * Unload the listeners. Likely you never need to call this, unless\n * doing a rather deep integration with signal-exit functionality.\n * Mostly exposed for the benefit of testing.\n *\n * @internal\n */\n unload,\n} = signalExitWrap(\n processOk(process) ? new SignalExit(process) : new SignalExitFallback()\n)\n"]},"url":null,"sourceURL":null},"file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/dist/cjs/signals.js":{"lineLengths":[13,62,25,3,47,2,54,54,53,55,28,2,55,54,52,2,54,49,2,56,52,55,36,2,54,50,54,13,3,21,52,35,133,61,14,16,6,1,35,68,1,35],"data":{"version":3,"file":"signals.js","sourceRoot":"","sources":["file:///home/nicolas/dev/node-fluent-ffmpeg/node_modules/write-file-atomic/node_modules/signal-exit/src/signals.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACU,QAAA,OAAO,GAAqB,EAAE,CAAA;AAC3C,eAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAA;AAE3C,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CACV,SAAS,EACT,SAAS,EACT,WAAW,EACX,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,EACR,SAAS,EACT,QAAQ;IACR,yDAAyD;IACzD,UAAU;IACV,YAAY;KACb,CAAA;CACF;AAED,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;IAChC,eAAO,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAA;CACxD","sourcesContent":["/**\n * This is not the set of all possible signals.\n *\n * It IS, however, the set of all signals that trigger\n * an exit on either Linux or BSD systems. Linux is a\n * superset of the signal names supported on BSD, and\n * the unknown signals just fail to register, so we can\n * catch that easily enough.\n *\n * Windows signals are a different set, since there are\n * signals that terminate Windows processes, but don't\n * terminate (or don't even exist) on Posix systems.\n *\n * Don't bother with SIGKILL. It's uncatchable, which\n * means that we can't fire any callbacks anyway.\n *\n * If a user does happen to register a handler on a non-\n * fatal signal like SIGWINCH or something, and then\n * exit, it'll end up firing `process.emit('exit')`, so\n * the handler will be fired anyway.\n *\n * SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n * artificially, inherently leave the process in a\n * state from which it is not safe to try and enter JS\n * listeners.\n */\nexport const signals: NodeJS.Signals[] = []\nsignals.push('SIGHUP', 'SIGINT', 'SIGTERM')\n\nif (process.platform !== 'win32') {\n signals.push(\n 'SIGALRM',\n 'SIGABRT',\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n signals.push('SIGIO', 'SIGPOLL', 'SIGPWR', 'SIGSTKFLT')\n}\n"]},"url":null,"sourceURL":null}}} \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/doc/FfmpegCommand.html b/node_modules/fluent-ffmpeg/doc/FfmpegCommand.html new file mode 100644 index 0000000..7a3e4f8 --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/FfmpegCommand.html @@ -0,0 +1,17913 @@ + + + + + JSDoc: Class: FfmpegCommand + + + + + + + + + + +
+ +

Class: FfmpegCommand

+ + + + + +
+ +
+

+ FfmpegCommand +

+ +
+ +
+
+ + + + +
+

new FfmpegCommand(input, options)

+ + +
+
+ + +
+

Create an ffmpeg command

+

Can be called with or without the 'new' operator, and the 'input' parameter +may be specified as 'options.source' instead (or passed later with the +addInput method).

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDescription
input + + +String +| + +ReadableStream + + + + + + <optional>
+ + + + + +

input file path or readable stream

options + + +Object + + + + + + <optional>
+ + + + + +

command options

+
Properties
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDefaultDescription
logger + + +Object + + + + + + <optional>
+ + + + + +
+ + <no logging> + +

logger object with 'error', 'warning', 'info' and 'debug' methods

niceness + + +Number + + + + + + <optional>
+ + + + + +
+ + 0 + +

ffmpeg process niceness, ignored on Windows

priority + + +Number + + + + + + <optional>
+ + + + + +
+ + 0 + +

alias for niceness

presets + + +String + + + + + + <optional>
+ + + + + +
+ + "fluent-ffmpeg/lib/presets" + +

directory to load presets from

preset + + +String + + + + + + <optional>
+ + + + + +
+ + "fluent-ffmpeg/lib/presets" + +

alias for presets

stdoutLines + + +String + + + + + + <optional>
+ + + + + +
+ + 100 + +

maximum lines of ffmpeg output to keep in memory, use 0 for unlimited

timeout + + +Number + + + + + + <optional>
+ + + + + +
+ + <no timeout> + +

ffmpeg processing timeout in seconds

source + + +String +| + +ReadableStream + + + + + + <optional>
+ + + + + +
+ + <no input> + +

alias for the input parameter

+
+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + +

Audio methods

+ +
+ +
+

audioBitrate(bitrate)

+ + +
+
+ + +
+

Specify audio bitrate

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
bitrate + + +String +| + +Number + + + +

audio bitrate in kbps (with an optional 'k' suffix)

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Alias:
+ + + withAudioBitrate + + +
+ + + +
+

audioChannels(channels)

+ + +
+
+ + +
+

Specify audio channel count

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
channels + + +Number + + + +

channel count

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Alias:
+ + + withAudioChannels + + +
+ + + +
+

audioCodec(codec)

+ + +
+
+ + +
+

Specify audio codec

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
codec + + +String + + + +

audio codec name

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Alias:
+ + + withAudioCodec + + +
+ + + +
+

audioFilter(filters)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

audioFilters(filters)

+ + +
+
+ + +
+

Specify custom audio filter(s)

+

Can be called both with one or many filters, or a filter array.

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
filters + + +String +| + +Array.<String> +| + +Array.<Object> + + + +

audio filter strings, string array or + filter specification array, each with the following properties:

+
Properties
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDescription
filter + + +String + + + + + + + + + +

filter name

options + + +String +| + +Array.<String> +| + +Object + + + + + + <optional>
+ + + + + +

filter option string, array, or object

+
+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + +
Examples:
+ +
command.audioFilters('filter1');
+ +
command.audioFilters('filter1', 'filter2=param1=value1:param2=value2');
+ +
command.audioFilters(['filter1', 'filter2']);
+ +
command.audioFilters([
+  {
+    filter: 'filter1'
+  },
+  {
+    filter: 'filter2',
+    options: 'param=value:param=value'
+  }
+]);
+ +
command.audioFilters(
+  {
+    filter: 'filter1',
+    options: ['value1', 'value2']
+  },
+  {
+    filter: 'filter2',
+    options: { param1: 'value1', param2: 'value2' }
+  }
+);
+ + + + +
Aliases:
+ + +
    + +
  • withAudioFilter
  • + +
  • withAudioFilters
  • + +
  • audioFilter
  • + +
+ + +
+ + + +
+

audioFrequency(freq)

+ + +
+
+ + +
+

Specify audio frequency

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
freq + + +Number + + + +

audio frequency in Hz

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Alias:
+ + + withAudioFrequency + + +
+ + + +
+

audioQuality(quality)

+ + +
+
+ + +
+

Specify audio quality

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
quality + + +Number + + + +

audio quality factor

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Alias:
+ + + withAudioQuality + + +
+ + + +
+

noAudio()

+ + +
+
+ + +
+

Disable audio in the output

+
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Alias:
+ + + withNoAudio + + +
+ + + +
+

withAudioBitrate(bitrate)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withAudioChannels(channels)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withAudioCodec(codec)

+ + +
+
+ + +
+ Alias for FfmpegCommand#audioCodec +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withAudioFilter(filters)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withAudioFilters(filters)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withAudioFrequency(freq)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withAudioQuality(quality)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withNoAudio()

+ + +
+
+ + +
+ Alias for FfmpegCommand#noAudio +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ +
+ +

Capabilities methods

+ +
+ +
+

availableCodecs(callback)

+ + +
+
+ + +
+

Query ffmpeg for available codecs

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
callback + + +FfmpegCommand~codecCallback + + + +

callback function

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + +
Alias:
+ + + getAvailableCodecs + + +
+ + + +
+

availableEncoders(callback)

+ + +
+
+ + +
+

Query ffmpeg for available encoders

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
callback + + +FfmpegCommand~encodersCallback + + + +

callback function

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + +
Alias:
+ + + getAvailableEncoders + + +
+ + + +
+

availableFilters(callback)

+ + +
+
+ + +
+

Query ffmpeg for available filters

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
callback + + +FfmpegCommand~filterCallback + + + +

callback function

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + +
Alias:
+ + + getAvailableFilters + + +
+ + + +
+

availableFormats(callback)

+ + +
+
+ + +
+

Query ffmpeg for available formats

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
callback + + +FfmpegCommand~formatCallback + + + +

callback function

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + +
Alias:
+ + + getAvailableFormats + + +
+ + + +
+

getAvailableCodecs(callback)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

getAvailableEncoders(callback)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

getAvailableFilters(callback)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

getAvailableFormats(callback)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ +
+ +

Custom options methods

+ +
+ +
+

addInputOption(options)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

addInputOptions(options)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

addOption(options)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

addOptions(options)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

addOutputOption(options)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

addOutputOptions(options)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

complexFilter(spec, map)

+ + +
+
+ + +
+

Specify a complex filtergraph

+

Calling this method will override any previously set filtergraph, but you can set +as many filters as needed in one call.

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDescription
spec + + +String +| + +Array + + + + + + + + + +

filtergraph string or array of filter specification + objects, each having the following properties:

+
Properties
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDescription
filter + + +String + + + + + + + + + +

filter name

inputs + + +String +| + +Array + + + + + + <optional>
+ + + + + +

(array of) input stream specifier(s) for the filter, + defaults to ffmpeg automatically choosing the first unused matching streams

outputs + + +String +| + +Array + + + + + + <optional>
+ + + + + +

(array of) output stream specifier(s) for the filter, + defaults to ffmpeg automatically assigning the output to the output file

options + + +Object +| + +String +| + +Array + + + + + + <optional>
+ + + + + +

filter options, can be omitted to not set any options

+
map + + +Array + + + + + + <optional>
+ + + + + +

(array of) stream specifier(s) from the graph to include in + ffmpeg output, defaults to ffmpeg automatically choosing the first matching streams.

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + +
Examples:
+ +

Overlay an image over a video (using a filtergraph string)

+ +
  ffmpeg()
+    .input('video.avi')
+    .input('image.png')
+    .complexFilter('[0:v][1:v]overlay[out]', ['out']);
+ +

Overlay an image over a video (using a filter array)

+ +
  ffmpeg()
+    .input('video.avi')
+    .input('image.png')
+    .complexFilter([{
+      filter: 'overlay',
+      inputs: ['0:v', '1:v'],
+      outputs: ['out']
+    }], ['out']);
+ +

Split video into RGB channels and output a 3x1 video with channels side to side

+ +
 ffmpeg()
+   .input('video.avi')
+   .complexFilter([
+     // Duplicate video stream 3 times into streams a, b, and c
+     { filter: 'split', options: '3', outputs: ['a', 'b', 'c'] },
+
+     // Create stream 'red' by cancelling green and blue channels from stream 'a'
+     { filter: 'lutrgb', options: { g: 0, b: 0 }, inputs: 'a', outputs: 'red' },
+
+     // Create stream 'green' by cancelling red and blue channels from stream 'b'
+     { filter: 'lutrgb', options: { r: 0, b: 0 }, inputs: 'b', outputs: 'green' },
+
+     // Create stream 'blue' by cancelling red and green channels from stream 'c'
+     { filter: 'lutrgb', options: { r: 0, g: 0 }, inputs: 'c', outputs: 'blue' },
+
+     // Pad stream 'red' to 3x width, keeping the video on the left, and name output 'padded'
+     { filter: 'pad', options: { w: 'iw*3', h: 'ih' }, inputs: 'red', outputs: 'padded' },
+
+     // Overlay 'green' onto 'padded', moving it to the center, and name output 'redgreen'
+     { filter: 'overlay', options: { x: 'w', y: 0 }, inputs: ['padded', 'green'], outputs: 'redgreen'},
+
+     // Overlay 'blue' onto 'redgreen', moving it to the right
+     { filter: 'overlay', options: { x: '2*w', y: 0 }, inputs: ['redgreen', 'blue']},
+   ]);
+ + + + +
Alias:
+ + + filterGraph + + +
+ + + +
+

filterGraph(spec, map)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

inputOption(options)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

inputOptions(options)

+ + +
+
+ + +
+

Add custom input option(s)

+

When passing a single string or an array, each string containing two +words is split (eg. inputOptions('-option value') is supported) for +compatibility reasons. This is not the case when passing more than +one argument.

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDescription
options + + +String + + + + + + + + + + <repeatable>
+ +

option string(s) or string array

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + +
Examples:
+ +
command.inputOptions('option1');
+ +
command.inputOptions('option1', 'option2');
+ +
command.inputOptions(['option1', 'option2']);
+ + + + +
Aliases:
+ + +
    + +
  • addInputOption
  • + +
  • addInputOptions
  • + +
  • withInputOption
  • + +
  • withInputOptions
  • + +
  • inputOption
  • + +
+ + +
+ + + +
+

outputOption(options)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

outputOptions(options)

+ + +
+
+ + +
+

Add custom output option(s)

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDescription
options + + +String + + + + + + + + + + <repeatable>
+ +

option string(s) or string array

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + +
Examples:
+ +
command.outputOptions('option1');
+ +
command.outputOptions('option1', 'option2');
+ +
command.outputOptions(['option1', 'option2']);
+ + + + +
Aliases:
+ + +
    + +
  • addOutputOption
  • + +
  • addOutputOptions
  • + +
  • addOption
  • + +
  • addOptions
  • + +
  • withOutputOption
  • + +
  • withOutputOptions
  • + +
  • withOption
  • + +
  • withOptions
  • + +
  • outputOption
  • + +
+ + +
+ + + +
+

withInputOption(options)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withInputOptions(options)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withOption(options)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withOptions(options)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withOutputOption(options)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withOutputOptions(options)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ +
+ +

Input methods

+ +
+ +
+

addInput(source)

+ + +
+
+ + +
+ Alias for FfmpegCommand#input +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

fpsInput(fps)

+ + +
+
+ + +
+ Alias for FfmpegCommand#inputFps +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

fromFormat(format)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

input(source)

+ + +
+
+ + +
+

Add an input to command

+

Also switches "current input", that is the input that will be affected +by subsequent input-related methods.

+

Note: only one stream input is supported for now.

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
source + + +String +| + +Readable + + + +

input file path or readable stream

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Aliases:
+ + +
    + +
  • mergeAdd
  • + +
  • addInput
  • + +
+ + +
+ + + +
+

inputFormat(format)

+ + +
+
+ + +
+

Specify input format for the last specified input

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
format + + +String + + + +

input format

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Aliases:
+ + +
    + +
  • withInputFormat
  • + +
  • fromFormat
  • + +
+ + +
+ + + +
+

inputFps(fps)

+ + +
+
+ + +
+

Specify input FPS for the last specified input +(only valid for raw video formats)

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
fps + + +Number + + + +

input FPS

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Aliases:
+ + +
    + +
  • withInputFps
  • + +
  • withInputFPS
  • + +
  • withFpsInput
  • + +
  • withFPSInput
  • + +
  • inputFPS
  • + +
  • inputFps
  • + +
  • fpsInput
  • + +
+ + +
+ + + +
+

inputFPS(fps)

+ + +
+
+ + +
+ Alias for FfmpegCommand#inputFps +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

inputFps(fps)

+ + +
+
+ + +
+ Alias for FfmpegCommand#inputFps +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

loop(duration)

+ + +
+
+ + +
+

Loop over the last specified input

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDescription
duration + + +String +| + +Number + + + + + + <optional>
+ + + + + +

loop duration in seconds or as a '[[hh:]mm:]ss[.xxx]' string

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
+ + + +
+

mergeAdd(source)

+ + +
+
+ + +
+ Alias for FfmpegCommand#input +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

native()

+ + +
+
+ + +
+

Use native framerate for the last specified input

+
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmmegCommand

+
+ + + + + + + + +
Aliases:
+ + +
    + +
  • nativeFramerate
  • + +
  • withNativeFramerate
  • + +
+ + +
+ + + +
+

nativeFramerate()

+ + +
+
+ + +
+ Alias for FfmpegCommand#native +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

seek(seek)

+ + +
+
+ + +
+

Specify output seek time

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
seek + + +String +| + +Number + + + +

seek time in seconds or as a '[hh:[mm:]]ss[.xxx]' string

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Alias:
+ + + seekOutput + + +
+ + + +
+

seekInput(seek)

+ + +
+
+ + +
+

Specify input seek time for the last specified input

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
seek + + +String +| + +Number + + + +

seek time in seconds or as a '[hh:[mm:]]ss[.xxx]' string

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Aliases:
+ + +
    + +
  • setStartTime
  • + +
  • seekTo
  • + +
+ + +
+ + + +
+

seekOutput(seek)

+ + +
+
+ + +
+ Alias for FfmpegCommand#seek +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

seekTo(seek)

+ + +
+
+ + +
+ Alias for FfmpegCommand#seekInput +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

setStartTime(seek)

+ + +
+
+ + +
+ Alias for FfmpegCommand#seekInput +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withFpsInput(fps)

+ + +
+
+ + +
+ Alias for FfmpegCommand#inputFps +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withFPSInput(fps)

+ + +
+
+ + +
+ Alias for FfmpegCommand#inputFps +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withInputFormat(format)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withInputFPS(fps)

+ + +
+
+ + +
+ Alias for FfmpegCommand#inputFps +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withInputFps(fps)

+ + +
+
+ + +
+ Alias for FfmpegCommand#inputFps +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withNativeFramerate()

+ + +
+
+ + +
+ Alias for FfmpegCommand#native +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ +
+ +

Metadata methods

+ +
+ +
+

ffprobe(index, options, callback)

+ + +
+
+ + +
+

Run ffprobe on last specified input

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDescription
index + + +Number + + + + + + <optional>
+ + + + <nullable>
+ + + +

0-based index of input to probe (defaults to last input)

options + + +Array.<String> + + + + + + <optional>
+ + + + <nullable>
+ + + +

array of output options to return

callback + + +FfmpegCommand~ffprobeCallback + + + + + + + + + +

callback function

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ +
+ +

Miscellaneous methods

+ +
+ +
+

preset(preset)

+ + +
+
+ + +
+

Use preset

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
preset + + +String +| + +function + + + +

preset name or preset function

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + +
Alias:
+ + + usingPreset + + +
+ + + +
+

usingPreset(preset)

+ + +
+
+ + +
+ Alias for FfmpegCommand#preset +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ +
+ +

Other methods

+ +
+ +
+

clone()

+ + +
+
+ + +
+

Clone an ffmpeg command

+

This method is useful when you want to process the same input multiple times. +It returns a new FfmpegCommand instance with the exact same options.

+

All options set after the clone() call will only be applied to the instance +it has been called on.

+
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + +
Example:
+ +
var command = ffmpeg('/path/to/source.avi')
+    .audioCodec('libfaac')
+    .videoCodec('libx264')
+    .format('mp4');
+
+  command.clone()
+    .size('320x200')
+    .save('/path/to/output-small.mp4');
+
+  command.clone()
+    .size('640x400')
+    .save('/path/to/output-medium.mp4');
+
+  command.save('/path/to/output-original-size.mp4');
+ + + + +
+ + + +
+

setFfmpegPath(ffmpegPath)

+ + +
+
+ + +
+

Manually define the ffmpeg binary full path.

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
ffmpegPath + + +String + + + +

The full path to the ffmpeg binary.

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
+ + + +
+

setFfprobePath(ffprobePath)

+ + +
+
+ + +
+

Manually define the ffprobe binary full path.

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
ffprobePath + + +String + + + +

The full path to the ffprobe binary.

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
+ + + +
+

setFlvtoolPath(flvtool)

+ + +
+
+ + +
+

Manually define the flvtool2/flvmeta binary full path.

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
flvtool + + +String + + + +

The full path to the flvtool2 or flvmeta binary.

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
+ +
+ +

Output methods

+ +
+ +
+

addOutput(target, pipeopts)

+ + +
+
+ + +
+ Alias for FfmpegCommand#output +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

duration(duration)

+ + +
+
+ + +
+

Set output duration

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
duration + + +String +| + +Number + + + +

duration in seconds or as a '[[hh:]mm:]ss[.xxx]' string

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Aliases:
+ + +
    + +
  • withDuration
  • + +
  • setDuration
  • + +
+ + +
+ + + +
+

flvmeta()

+ + +
+
+ + +
+

Run flvtool2/flvmeta on output

+
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Alias:
+ + + updateFlvMetadata + + +
+ + + +
+

format(format)

+ + +
+
+ + +
+

Set output format

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
format + + +String + + + +

output format name

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Aliases:
+ + +
    + +
  • toFormat
  • + +
  • withOutputFormat
  • + +
  • outputFormat
  • + +
+ + +
+ + + +
+

map(spec)

+ + +
+
+ + +
+

Add stream mapping to output

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
spec + + +String + + + +

stream specification string, with optional square brackets

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
+ + + +
+

output(target, pipeopts)

+ + +
+
+ + +
+

Add output

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDefaultDescription
target + + +String +| + +Writable + + + + + + + + + + + +

target file path or writable stream

pipeopts + + +Object + + + + + + <optional>
+ + + + + +
+ + {} + +

pipe options (only applies to streams)

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Alias:
+ + + addOutput + + +
+ + + +
+

outputFormat(format)

+ + +
+
+ + +
+ Alias for FfmpegCommand#format +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

setDuration(duration)

+ + +
+
+ + +
+ Alias for FfmpegCommand#duration +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

toFormat(format)

+ + +
+
+ + +
+ Alias for FfmpegCommand#format +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

updateFlvMetadata()

+ + +
+
+ + +
+ Alias for FfmpegCommand#flvmeta +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withDuration(duration)

+ + +
+
+ + +
+ Alias for FfmpegCommand#duration +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withOutputFormat(format)

+ + +
+
+ + +
+ Alias for FfmpegCommand#format +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ +
+ +

Processing methods

+ +
+ +
+

concat(target, options)

+ + +
+
+ + +
+

Merge (concatenate) inputs to a single file

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDescription
target + + +String +| + +Writable + + + + + + + + + +

output file or writable stream

options + + +Object + + + + + + <optional>
+ + + + + +

pipe options (only used when outputting to a writable stream)

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Aliases:
+ + +
    + +
  • concatenate
  • + +
  • mergeToFile
  • + +
+ + +
+ + + +
+

concatenate(target, options)

+ + +
+
+ + +
+ Alias for FfmpegCommand#concat +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

exec()

+ + +
+
+ + +
+ Alias for FfmpegCommand#run +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

execute()

+ + +
+
+ + +
+ Alias for FfmpegCommand#run +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

kill(signal)

+ + +
+
+ + +
+

Kill current ffmpeg process, if any

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDefaultDescription
signal + + +String + + + + + + <optional>
+ + + + + +
+ + SIGKILL + +

signal name

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
+ + + +
+

mergeToFile(target, options)

+ + +
+
+ + +
+ Alias for FfmpegCommand#concat +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

pipe(stream, options)

+ + +
+
+ + +
+

Execute ffmpeg command and save output to a stream

+

If 'stream' is not specified, a PassThrough stream is created and returned. +'options' will be used when piping ffmpeg output to the output stream +(@see http://nodejs.org/api/stream.html#stream_readable_pipe_destination_options)

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDefaultDescription
stream + + +stream.Writable + + + + + + <optional>
+ + + + + +
+ +

output stream

options + + +Object + + + + + + <optional>
+ + + + + +
+ + {} + +

pipe options

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

Output stream

+
+ + + + + + + + +
Aliases:
+ + +
    + +
  • stream
  • + +
  • writeToStream
  • + +
+ + +
+ + + +
+

renice(niceness)

+ + +
+
+ + +
+

Renice current and/or future ffmpeg processes

+

Ignored on Windows platforms.

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDefaultDescription
niceness + + +Number + + + + + + <optional>
+ + + + + +
+ + 0 + +

niceness value between -20 (highest priority) and 20 (lowest priority)

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
+ + + +
+

run()

+ + +
+
+ + +
+

Run ffmpeg command

+
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + +
Aliases:
+ + +
    + +
  • exec
  • + +
  • execute
  • + +
+ + +
+ + + +
+

save(output)

+ + +
+
+ + +
+

Execute ffmpeg command and save output to a file

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
output + + +String + + + +

file path

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Alias:
+ + + saveToFile + + +
+ + + +
+

saveToFile(output)

+ + +
+
+ + +
+ Alias for FfmpegCommand#save +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

screenshot(config, folder)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

screenshots(config, folder)

+ + +
+
+ + +
+

Generate images from a video

+

Note: this method makes the command emit a 'filenames' event with an array of +the generated image filenames.

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDefaultDescription
config + + +Number +| + +Object + + + + + + <optional>
+ + + + + +
+ + 1 + +

screenshot count or configuration object with + the following keys:

+
Properties
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDefaultDescription
count + + +Number + + + + + + <optional>
+ + + + + +
+ +

number of screenshots to take; using this option + takes screenshots at regular intervals (eg. count=4 would take screens at 20%, 40%, + 60% and 80% of the video length).

folder + + +String + + + + + + <optional>
+ + + + + +
+ + '.' + +

output folder

filename + + +String + + + + + + <optional>
+ + + + + +
+ + 'tn.png' + +

output filename pattern, may contain the following + tokens:

+
    +
  • '%s': offset in seconds
  • +
  • '%w': screenshot width
  • +
  • '%h': screenshot height
  • +
  • '%r': screenshot resolution (same as '%wx%h')
  • +
  • '%f': input filename
  • +
  • '%b': input basename (filename w/o extension)
  • +
  • '%i': index of screenshot in timemark array (can be zero-padded by using it like %000i)
  • +
timemarks + + +Array.<Number> +| + +Array.<String> + + + + + + <optional>
+ + + + + +
+ +

array of timemarks to take screenshots + at; each timemark may be a number of seconds, a '[[hh:]mm:]ss[.xxx]' string or a + 'XX%' string. Overrides 'count' if present.

timestamps + + +Array.<Number> +| + +Array.<String> + + + + + + <optional>
+ + + + + +
+ +

alias for 'timemarks'

fastSeek + + +Boolean + + + + + + <optional>
+ + + + + +
+ +

use fast seek (less accurate)

size + + +String + + + + + + <optional>
+ + + + + +
+ +

screenshot size, with the same syntax as FfmpegCommand#size

+
folder + + +String + + + + + + <optional>
+ + + + + +
+ +

output folder (legacy alias for 'config.folder')

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Aliases:
+ + +
    + +
  • takeScreenshots
  • + +
  • thumbnail
  • + +
  • thumbnails
  • + +
  • screenshot
  • + +
+ + +
+ + + +
+

stream(stream, options)

+ + +
+
+ + +
+ Alias for FfmpegCommand#pipe +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

takeScreenshots(config, folder)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

thumbnail(config, folder)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

thumbnails(config, folder)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

writeToStream(stream, options)

+ + +
+
+ + +
+ Alias for FfmpegCommand#pipe +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ +
+ +

Video methods

+ +
+ +
+

fps(fps)

+ + +
+
+ + +
+

Specify output FPS

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
fps + + +Number + + + +

output FPS

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Aliases:
+ + +
    + +
  • withOutputFps
  • + +
  • withOutputFPS
  • + +
  • withFpsOutput
  • + +
  • withFPSOutput
  • + +
  • withFps
  • + +
  • withFPS
  • + +
  • outputFPS
  • + +
  • outputFps
  • + +
  • fpsOutput
  • + +
  • FPSOutput
  • + +
  • FPS
  • + +
+ + +
+ + + +
+

FPS(fps)

+ + +
+
+ + +
+ Alias for FfmpegCommand#fps +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

fpsOutput(fps)

+ + +
+
+ + +
+ Alias for FfmpegCommand#fps +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

FPSOutput(fps)

+ + +
+
+ + +
+ Alias for FfmpegCommand#fps +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

frames(frames)

+ + +
+
+ + +
+

Only transcode a certain number of frames

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
frames + + +Number + + + +

frame count

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Aliases:
+ + +
    + +
  • takeFrames
  • + +
  • withFrames
  • + +
+ + +
+ + + +
+

noVideo()

+ + +
+
+ + +
+

Disable video in the output

+
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Alias:
+ + + withNoVideo + + +
+ + + +
+

outputFps(fps)

+ + +
+
+ + +
+ Alias for FfmpegCommand#fps +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

outputFPS(fps)

+ + +
+
+ + +
+ Alias for FfmpegCommand#fps +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

takeFrames(frames)

+ + +
+
+ + +
+ Alias for FfmpegCommand#frames +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

videoBitrate(bitrate, constant)

+ + +
+
+ + +
+

Specify video bitrate

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDefaultDescription
bitrate + + +String +| + +Number + + + + + + + + + + + +

video bitrate in kbps (with an optional 'k' suffix)

constant + + +Boolean + + + + + + <optional>
+ + + + + +
+ + false + +

enforce constant bitrate

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Alias:
+ + + withVideoBitrate + + +
+ + + +
+

videoCodec(codec)

+ + +
+
+ + +
+

Specify video codec

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
codec + + +String + + + +

video codec name

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Alias:
+ + + withVideoCodec + + +
+ + + +
+

videoFilter(filters)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

videoFilters(filters)

+ + +
+
+ + +
+

Specify custom video filter(s)

+

Can be called both with one or many filters, or a filter array.

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
filters + + +String +| + +Array.<String> +| + +Array.<Object> + + + +

video filter strings, string array or + filter specification array, each with the following properties:

+
Properties
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDescription
filter + + +String + + + + + + + + + +

filter name

options + + +String +| + +Array.<String> +| + +Object + + + + + + <optional>
+ + + + + +

filter option string, array, or object

+
+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + +
Examples:
+ +
command.videoFilters('filter1');
+ +
command.videoFilters('filter1', 'filter2=param1=value1:param2=value2');
+ +
command.videoFilters(['filter1', 'filter2']);
+ +
command.videoFilters([
+  {
+    filter: 'filter1'
+  },
+  {
+    filter: 'filter2',
+    options: 'param=value:param=value'
+  }
+]);
+ +
command.videoFilters(
+  {
+    filter: 'filter1',
+    options: ['value1', 'value2']
+  },
+  {
+    filter: 'filter2',
+    options: { param1: 'value1', param2: 'value2' }
+  }
+);
+ + + + +
Aliases:
+ + +
    + +
  • withVideoFilter
  • + +
  • withVideoFilters
  • + +
  • videoFilter
  • + +
+ + +
+ + + +
+

withFPS(fps)

+ + +
+
+ + +
+ Alias for FfmpegCommand#fps +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withFps(fps)

+ + +
+
+ + +
+ Alias for FfmpegCommand#fps +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withFPSOutput(fps)

+ + +
+
+ + +
+ Alias for FfmpegCommand#fps +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withFpsOutput(fps)

+ + +
+
+ + +
+ Alias for FfmpegCommand#fps +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withFrames(frames)

+ + +
+
+ + +
+ Alias for FfmpegCommand#frames +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withNoVideo()

+ + +
+
+ + +
+ Alias for FfmpegCommand#noVideo +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withOutputFps(fps)

+ + +
+
+ + +
+ Alias for FfmpegCommand#fps +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withOutputFPS(fps)

+ + +
+
+ + +
+ Alias for FfmpegCommand#fps +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withVideoBitrate(bitrate, constant)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withVideoCodec(codec)

+ + +
+
+ + +
+ Alias for FfmpegCommand#videoCodec +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withVideoFilter(filters)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withVideoFilters(filters)

+ + +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ +
+ +

Video size methods

+ +
+ +
+

applyAutoPad(pad, color)

+ + +
+
+ + +
+ Alias for FfmpegCommand#autopad +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

applyAutopad(pad, color)

+ + +
+
+ + +
+ Alias for FfmpegCommand#autopad +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

applyAutoPadding(pad, color)

+ + +
+
+ + +
+ Alias for FfmpegCommand#autopad +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

applyAutopadding(pad, color)

+ + +
+
+ + +
+ Alias for FfmpegCommand#autopad +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

aspect(aspect)

+ + +
+
+ + +
+

Set output aspect ratio

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
aspect + + +String +| + +Number + + + +

aspect ratio (number or 'X:Y' string)

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Aliases:
+ + +
    + +
  • withAspect
  • + +
  • withAspectRatio
  • + +
  • setAspect
  • + +
  • setAspectRatio
  • + +
  • aspectRatio
  • + +
+ + +
+ + + +
+

aspectRatio(aspect)

+ + +
+
+ + +
+ Alias for FfmpegCommand#aspect +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

autopad(pad, color)

+ + +
+
+ + +
+

Enable auto-padding the output

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDefaultDescription
pad + + +Boolean + + + + + + <optional>
+ + + + + +
+ + true + +

enable/disable auto-padding

color + + +String + + + + + + <optional>
+ + + + + +
+ + 'black' + +

pad color

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + +
Aliases:
+ + +
    + +
  • applyAutopadding
  • + +
  • applyAutoPadding
  • + +
  • applyAutopad
  • + +
  • applyAutoPad
  • + +
  • withAutopadding
  • + +
  • withAutoPadding
  • + +
  • withAutopad
  • + +
  • withAutoPad
  • + +
  • autoPad
  • + +
+ + +
+ + + +
+

autoPad(pad, color)

+ + +
+
+ + +
+ Alias for FfmpegCommand#autopad +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

keepDAR()

+ + +
+
+ + +
+

Keep display aspect ratio

+

This method is useful when converting an input with non-square pixels to an output format +that does not support non-square pixels. It rescales the input so that the display aspect +ratio is the same.

+
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Aliases:
+ + +
    + +
  • keepPixelAspect
  • + +
  • keepDisplayAspect
  • + +
  • keepDisplayAspectRatio
  • + +
+ + +
+ + + +
+

keepDisplayAspect()

+ + +
+
+ + +
+ Alias for FfmpegCommand#keepDAR +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

keepDisplayAspectRatio()

+ + +
+
+ + +
+ Alias for FfmpegCommand#keepDAR +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

keepPixelAspect()

+ + +
+
+ + +
+ Alias for FfmpegCommand#keepDAR +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

setAspect(aspect)

+ + +
+
+ + +
+ Alias for FfmpegCommand#aspect +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

setAspectRatio(aspect)

+ + +
+
+ + +
+ Alias for FfmpegCommand#aspect +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

setSize(size)

+ + +
+
+ + +
+ Alias for FfmpegCommand#size +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

size(size)

+ + +
+
+ + +
+

Set output size

+

The 'size' parameter can have one of 4 forms:

+
    +
  • 'X%': rescale to xx % of the original size
  • +
  • 'WxH': specify width and height
  • +
  • 'Wx?': specify width and compute height from input aspect ratio
  • +
  • '?xH': specify height and compute width from input aspect ratio
  • +
+

Note: both dimensions will be truncated to multiples of 2.

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
size + + +String + + + +

size string, eg. '33%', '320x240', '320x?', '?x240'

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

FfmpegCommand

+
+ + + + + + + + +
Aliases:
+ + +
    + +
  • withSize
  • + +
  • setSize
  • + +
+ + +
+ + + +
+

withAspect(aspect)

+ + +
+
+ + +
+ Alias for FfmpegCommand#aspect +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withAspectRatio(aspect)

+ + +
+
+ + +
+ Alias for FfmpegCommand#aspect +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withAutoPad(pad, color)

+ + +
+
+ + +
+ Alias for FfmpegCommand#autopad +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withAutopad(pad, color)

+ + +
+
+ + +
+ Alias for FfmpegCommand#autopad +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withAutopadding(pad, color)

+ + +
+
+ + +
+ Alias for FfmpegCommand#autopad +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withAutoPadding(pad, color)

+ + +
+
+ + +
+ Alias for FfmpegCommand#autopad +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

withSize(size)

+ + +
+
+ + +
+ Alias for FfmpegCommand#size +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ +
+ + + +

Type Definitions

+ +
+ +
+

codecCallback(err, codecs)

+ + +
+
+ + +
+

A callback passed to FfmpegCommand#availableCodecs.

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
err + + +Error +| + +null + + + +

error object or null if no error happened

codecs + + +Object + + + +

codec object with codec names as keys and the following + properties for each codec (more properties may be available depending on the + ffmpeg version used):

+
Properties
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
description + + +String + + + +

codec description

canDecode + + +Boolean + + + +

whether the codec is able to decode streams

canEncode + + +Boolean + + + +

whether the codec is able to encode streams

+
+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

encodersCallback(err, encoders)

+ + +
+
+ + +
+

A callback passed to FfmpegCommand#availableEncoders.

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
err + + +Error +| + +null + + + +

error object or null if no error happened

encoders + + +Object + + + +

encoders object with encoder names as keys and the following + properties for each encoder:

+
Properties
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
description + + +String + + + +

codec description

type + + +Boolean + + + +

"audio", "video" or "subtitle"

frameMT + + +Boolean + + + +

whether the encoder is able to do frame-level multithreading

sliceMT + + +Boolean + + + +

whether the encoder is able to do slice-level multithreading

experimental + + +Boolean + + + +

whether the encoder is experimental

drawHorizBand + + +Boolean + + + +

whether the encoder supports draw_horiz_band

directRendering + + +Boolean + + + +

whether the encoder supports direct encoding method 1

+
+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

ffprobeCallback(err, ffprobeData)

+ + +
+
+ + +
+

A callback passed to the FfmpegCommand#ffprobe method.

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
err + + +Error +| + +null + + + +

error object or null if no error happened

ffprobeData + + +Object + + + +

ffprobe output data; this object + has the same format as what the following command returns:

+
`ffprobe -print_format json -show_streams -show_format INPUTFILE`
+
Properties
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
streams + + +Array + + + +

stream information

format + + +Object + + + +

format information

+
+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

filterCallback(err, filters)

+ + +
+
+ + +
+

A callback passed to FfmpegCommand#availableFilters.

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
err + + +Error +| + +null + + + +

error object or null if no error happened

filters + + +Object + + + +

filter object with filter names as keys and the following + properties for each filter:

+
Properties
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
description + + +String + + + +

filter description

input + + +String + + + +

input type, one of 'audio', 'video' and 'none'

multipleInputs + + +Boolean + + + +

whether the filter supports multiple inputs

output + + +String + + + +

output type, one of 'audio', 'video' and 'none'

multipleOutputs + + +Boolean + + + +

whether the filter supports multiple outputs

+
+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

formatCallback(err, formats)

+ + +
+
+ + +
+

A callback passed to FfmpegCommand#availableFormats.

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
err + + +Error +| + +null + + + +

error object or null if no error happened

formats + + +Object + + + +

format object with format names as keys and the following + properties for each format:

+
Properties
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
description + + +String + + + +

format description

canDemux + + +Boolean + + + +

whether the format is able to demux streams from an input file

canMux + + +Boolean + + + +

whether the format is able to mux streams into an output file

+
+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ +
+ + + +

Events

+ +
+ +
+

codecData

+ + +
+
+ + +
+

Emitted when ffmpeg reports input codec data

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
codecData + + +Object + + + +

codec data object

+
Properties
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
format + + +String + + + +

input format name

audio + + +String + + + +

input audio codec name

audio_details + + +String + + + +

input audio codec parameters

video + + +String + + + +

input video codec name

video_details + + +String + + + +

input video codec parameters

+
+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

end

+ + +
+
+ + +
+

Emitted when a command finishes processing

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDescription
filenames|stdout + + +Array +| + +String +| + +null + + + + + + <optional>
+ + + + + +

generated filenames when taking screenshots, ffmpeg stdout when not outputting to a stream, null otherwise

stderr + + +String +| + +null + + + + + + + + + +

ffmpeg stderr

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

error

+ + +
+
+ + +
+

Emitted when an error happens when preparing or running a command

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
error + + +Error + + + +

error object

stdout + + +String +| + +null + + + +

ffmpeg stdout, unless outputting to a stream

stderr + + +String +| + +null + + + +

ffmpeg stderr

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

progress

+ + +
+
+ + +
+

Emitted when ffmpeg reports progress information

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
progress + + +Object + + + +

progress object

+
Properties
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDescription
frames + + +Number + + + + + + + + + +

number of frames transcoded

currentFps + + +Number + + + + + + + + + +

current processing speed in frames per second

currentKbps + + +Number + + + + + + + + + +

current output generation speed in kilobytes per second

targetSize + + +Number + + + + + + + + + +

current output file size

timemark + + +String + + + + + + + + + +

current video timemark

percent + + +Number + + + + + + <optional>
+ + + + + +

processing progress (may not be available depending on input)

+
+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

start

+ + +
+
+ + +
+

Emitted just after ffmpeg has been spawned.

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
command + + +String + + + +

ffmpeg command line

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + +
+

stderr

+ + +
+
+ + +
+

Emitted when ffmpeg outputs to stderr

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
line + + +String + + + +

stderr output line

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.4.0 on Sun May 01 2016 12:10:37 GMT+0200 (CEST) +
+ + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/doc/audio.js.html b/node_modules/fluent-ffmpeg/doc/audio.js.html new file mode 100644 index 0000000..38646b3 --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/audio.js.html @@ -0,0 +1,228 @@ + + + + + JSDoc: Source: options/audio.js + + + + + + + + + + +
+ +

Source: options/audio.js

+ + + + + +
+
+
/*jshint node:true*/
+'use strict';
+
+var utils = require('../utils');
+
+
+/*
+ *! Audio-related methods
+ */
+
+module.exports = function(proto) {
+  /**
+   * Disable audio in the output
+   *
+   * @method FfmpegCommand#noAudio
+   * @category Audio
+   * @aliases withNoAudio
+   * @return FfmpegCommand
+   */
+  proto.withNoAudio =
+  proto.noAudio = function() {
+    this._currentOutput.audio.clear();
+    this._currentOutput.audioFilters.clear();
+    this._currentOutput.audio('-an');
+
+    return this;
+  };
+
+
+  /**
+   * Specify audio codec
+   *
+   * @method FfmpegCommand#audioCodec
+   * @category Audio
+   * @aliases withAudioCodec
+   *
+   * @param {String} codec audio codec name
+   * @return FfmpegCommand
+   */
+  proto.withAudioCodec =
+  proto.audioCodec = function(codec) {
+    this._currentOutput.audio('-acodec', codec);
+
+    return this;
+  };
+
+
+  /**
+   * Specify audio bitrate
+   *
+   * @method FfmpegCommand#audioBitrate
+   * @category Audio
+   * @aliases withAudioBitrate
+   *
+   * @param {String|Number} bitrate audio bitrate in kbps (with an optional 'k' suffix)
+   * @return FfmpegCommand
+   */
+  proto.withAudioBitrate =
+  proto.audioBitrate = function(bitrate) {
+    this._currentOutput.audio('-b:a', ('' + bitrate).replace(/k?$/, 'k'));
+    return this;
+  };
+
+
+  /**
+   * Specify audio channel count
+   *
+   * @method FfmpegCommand#audioChannels
+   * @category Audio
+   * @aliases withAudioChannels
+   *
+   * @param {Number} channels channel count
+   * @return FfmpegCommand
+   */
+  proto.withAudioChannels =
+  proto.audioChannels = function(channels) {
+    this._currentOutput.audio('-ac', channels);
+    return this;
+  };
+
+
+  /**
+   * Specify audio frequency
+   *
+   * @method FfmpegCommand#audioFrequency
+   * @category Audio
+   * @aliases withAudioFrequency
+   *
+   * @param {Number} freq audio frequency in Hz
+   * @return FfmpegCommand
+   */
+  proto.withAudioFrequency =
+  proto.audioFrequency = function(freq) {
+    this._currentOutput.audio('-ar', freq);
+    return this;
+  };
+
+
+  /**
+   * Specify audio quality
+   *
+   * @method FfmpegCommand#audioQuality
+   * @category Audio
+   * @aliases withAudioQuality
+   *
+   * @param {Number} quality audio quality factor
+   * @return FfmpegCommand
+   */
+  proto.withAudioQuality =
+  proto.audioQuality = function(quality) {
+    this._currentOutput.audio('-aq', quality);
+    return this;
+  };
+
+
+  /**
+   * Specify custom audio filter(s)
+   *
+   * Can be called both with one or many filters, or a filter array.
+   *
+   * @example
+   * command.audioFilters('filter1');
+   *
+   * @example
+   * command.audioFilters('filter1', 'filter2=param1=value1:param2=value2');
+   *
+   * @example
+   * command.audioFilters(['filter1', 'filter2']);
+   *
+   * @example
+   * command.audioFilters([
+   *   {
+   *     filter: 'filter1'
+   *   },
+   *   {
+   *     filter: 'filter2',
+   *     options: 'param=value:param=value'
+   *   }
+   * ]);
+   *
+   * @example
+   * command.audioFilters(
+   *   {
+   *     filter: 'filter1',
+   *     options: ['value1', 'value2']
+   *   },
+   *   {
+   *     filter: 'filter2',
+   *     options: { param1: 'value1', param2: 'value2' }
+   *   }
+   * );
+   *
+   * @method FfmpegCommand#audioFilters
+   * @aliases withAudioFilter,withAudioFilters,audioFilter
+   * @category Audio
+   *
+   * @param {...String|String[]|Object[]} filters audio filter strings, string array or
+   *   filter specification array, each with the following properties:
+   * @param {String} filters.filter filter name
+   * @param {String|String[]|Object} [filters.options] filter option string, array, or object
+   * @return FfmpegCommand
+   */
+  proto.withAudioFilter =
+  proto.withAudioFilters =
+  proto.audioFilter =
+  proto.audioFilters = function(filters) {
+    if (arguments.length > 1) {
+      filters = [].slice.call(arguments);
+    }
+
+    if (!Array.isArray(filters)) {
+      filters = [filters];
+    }
+
+    this._currentOutput.audioFilters(utils.makeFilterStrings(filters));
+    return this;
+  };
+};
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.3.0-alpha5 on Tue Jul 08 2014 21:22:19 GMT+0200 (CEST) +
+ + + + + diff --git a/node_modules/fluent-ffmpeg/doc/capabilities.js.html b/node_modules/fluent-ffmpeg/doc/capabilities.js.html new file mode 100644 index 0000000..494eeac --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/capabilities.js.html @@ -0,0 +1,715 @@ + + + + + JSDoc: Source: capabilities.js + + + + + + + + + + +
+ +

Source: capabilities.js

+ + + + + +
+
+
/*jshint node:true*/
+'use strict';
+
+var fs = require('fs');
+var path = require('path');
+var async = require('async');
+var utils = require('./utils');
+
+/*
+ *! Capability helpers
+ */
+
+var avCodecRegexp = /^\s*([D ])([E ])([VAS])([S ])([D ])([T ]) ([^ ]+) +(.*)$/;
+var ffCodecRegexp = /^\s*([D\.])([E\.])([VAS])([I\.])([L\.])([S\.]) ([^ ]+) +(.*)$/;
+var ffEncodersRegexp = /\(encoders:([^\)]+)\)/;
+var ffDecodersRegexp = /\(decoders:([^\)]+)\)/;
+var encodersRegexp = /^\s*([VAS\.])([F\.])([S\.])([X\.])([B\.])([D\.]) ([^ ]+) +(.*)$/;
+var formatRegexp = /^\s*([D ])([E ])\s+([^ ]+)\s+(.*)$/;
+var lineBreakRegexp = /\r\n|\r|\n/;
+var filterRegexp = /^(?: [T\.][S\.][C\.] )?([^ ]+) +(AA?|VV?|\|)->(AA?|VV?|\|) +(.*)$/;
+
+var cache = {};
+
+module.exports = function(proto) {
+  /**
+   * Manually define the ffmpeg binary full path.
+   *
+   * @method FfmpegCommand#setFfmpegPath
+   *
+   * @param {String} ffmpegPath The full path to the ffmpeg binary.
+   * @return FfmpegCommand
+   */
+  proto.setFfmpegPath = function(ffmpegPath) {
+    cache.ffmpegPath = ffmpegPath;
+    return this;
+  };
+
+  /**
+   * Manually define the ffprobe binary full path.
+   *
+   * @method FfmpegCommand#setFfprobePath
+   *
+   * @param {String} ffprobePath The full path to the ffprobe binary.
+   * @return FfmpegCommand
+   */
+  proto.setFfprobePath = function(ffprobePath) {
+    cache.ffprobePath = ffprobePath;
+    return this;
+  };
+
+  /**
+   * Manually define the flvtool2/flvmeta binary full path.
+   *
+   * @method FfmpegCommand#setFlvtoolPath
+   *
+   * @param {String} flvtool The full path to the flvtool2 or flvmeta binary.
+   * @return FfmpegCommand
+   */
+  proto.setFlvtoolPath = function(flvtool) {
+    cache.flvtoolPath = flvtool;
+    return this;
+  };
+
+  /**
+   * Forget executable paths
+   *
+   * (only used for testing purposes)
+   *
+   * @method FfmpegCommand#_forgetPaths
+   * @private
+   */
+  proto._forgetPaths = function() {
+    delete cache.ffmpegPath;
+    delete cache.ffprobePath;
+    delete cache.flvtoolPath;
+  };
+
+  /**
+   * Check for ffmpeg availability
+   *
+   * If the FFMPEG_PATH environment variable is set, try to use it.
+   * If it is unset or incorrect, try to find ffmpeg in the PATH instead.
+   *
+   * @method FfmpegCommand#_getFfmpegPath
+   * @param {Function} callback callback with signature (err, path)
+   * @private
+   */
+  proto._getFfmpegPath = function(callback) {
+    if ('ffmpegPath' in cache) {
+      return callback(null, cache.ffmpegPath);
+    }
+
+    async.waterfall([
+      // Try FFMPEG_PATH
+      function(cb) {
+        if (process.env.FFMPEG_PATH) {
+          fs.exists(process.env.FFMPEG_PATH, function(exists) {
+            if (exists) {
+              cb(null, process.env.FFMPEG_PATH);
+            } else {
+              cb(null, '');
+            }
+          });
+        } else {
+          cb(null, '');
+        }
+      },
+
+      // Search in the PATH
+      function(ffmpeg, cb) {
+        if (ffmpeg.length) {
+          return cb(null, ffmpeg);
+        }
+
+        utils.which('ffmpeg', function(err, ffmpeg) {
+          cb(err, ffmpeg);
+        });
+      }
+    ], function(err, ffmpeg) {
+      if (err) {
+        callback(err);
+      } else {
+        callback(null, cache.ffmpegPath = (ffmpeg || ''));
+      }
+    });
+  };
+
+
+  /**
+   * Check for ffprobe availability
+   *
+   * If the FFPROBE_PATH environment variable is set, try to use it.
+   * If it is unset or incorrect, try to find ffprobe in the PATH instead.
+   * If this still fails, try to find ffprobe in the same directory as ffmpeg.
+   *
+   * @method FfmpegCommand#_getFfprobePath
+   * @param {Function} callback callback with signature (err, path)
+   * @private
+   */
+  proto._getFfprobePath = function(callback) {
+    var self = this;
+
+    if ('ffprobePath' in cache) {
+      return callback(null, cache.ffprobePath);
+    }
+
+    async.waterfall([
+      // Try FFPROBE_PATH
+      function(cb) {
+        if (process.env.FFPROBE_PATH) {
+          fs.exists(process.env.FFPROBE_PATH, function(exists) {
+            cb(null, exists ? process.env.FFPROBE_PATH : '');
+          });
+        } else {
+          cb(null, '');
+        }
+      },
+
+      // Search in the PATH
+      function(ffprobe, cb) {
+        if (ffprobe.length) {
+          return cb(null, ffprobe);
+        }
+
+        utils.which('ffprobe', function(err, ffprobe) {
+          cb(err, ffprobe);
+        });
+      },
+
+      // Search in the same directory as ffmpeg
+      function(ffprobe, cb) {
+        if (ffprobe.length) {
+          return cb(null, ffprobe);
+        }
+
+        self._getFfmpegPath(function(err, ffmpeg) {
+          if (err) {
+            cb(err);
+          } else if (ffmpeg.length) {
+            var name = utils.isWindows ? 'ffprobe.exe' : 'ffprobe';
+            var ffprobe = path.join(path.dirname(ffmpeg), name);
+            fs.exists(ffprobe, function(exists) {
+              cb(null, exists ? ffprobe : '');
+            });
+          } else {
+            cb(null, '');
+          }
+        });
+      }
+    ], function(err, ffprobe) {
+      if (err) {
+        callback(err);
+      } else {
+        callback(null, cache.ffprobePath = (ffprobe || ''));
+      }
+    });
+  };
+
+
+  /**
+   * Check for flvtool2/flvmeta availability
+   *
+   * If the FLVTOOL2_PATH or FLVMETA_PATH environment variable are set, try to use them.
+   * If both are either unset or incorrect, try to find flvtool2 or flvmeta in the PATH instead.
+   *
+   * @method FfmpegCommand#_getFlvtoolPath
+   * @param {Function} callback callback with signature (err, path)
+   * @private
+   */
+   proto._getFlvtoolPath = function(callback) {
+    if ('flvtoolPath' in cache) {
+      return callback(null, cache.flvtoolPath);
+    }
+
+    async.waterfall([
+      // Try FLVMETA_PATH
+      function(cb) {
+        if (process.env.FLVMETA_PATH) {
+          fs.exists(process.env.FLVMETA_PATH, function(exists) {
+            cb(null, exists ? process.env.FLVMETA_PATH : '');
+          });
+        } else {
+          cb(null, '');
+        }
+      },
+
+      // Try FLVTOOL2_PATH
+      function(flvtool, cb) {
+        if (flvtool.length) {
+          return cb(null, flvtool);
+        }
+
+        if (process.env.FLVTOOL2_PATH) {
+          fs.exists(process.env.FLVTOOL2_PATH, function(exists) {
+            cb(null, exists ? process.env.FLVTOOL2_PATH : '');
+          });
+        } else {
+          cb(null, '');
+        }
+      },
+
+      // Search for flvmeta in the PATH
+      function(flvtool, cb) {
+        if (flvtool.length) {
+          return cb(null, flvtool);
+        }
+
+        utils.which('flvmeta', function(err, flvmeta) {
+          cb(err, flvmeta);
+        });
+      },
+
+      // Search for flvtool2 in the PATH
+      function(flvtool, cb) {
+        if (flvtool.length) {
+          return cb(null, flvtool);
+        }
+
+        utils.which('flvtool2', function(err, flvtool2) {
+          cb(err, flvtool2);
+        });
+      },
+    ], function(err, flvtool) {
+      if (err) {
+        callback(err);
+      } else {
+        callback(null, cache.flvtoolPath = (flvtool || ''));
+      }
+    });
+  };
+
+
+  /**
+   * A callback passed to {@link FfmpegCommand#availableFilters}.
+   *
+   * @callback FfmpegCommand~filterCallback
+   * @param {Error|null} err error object or null if no error happened
+   * @param {Object} filters filter object with filter names as keys and the following
+   *   properties for each filter:
+   * @param {String} filters.description filter description
+   * @param {String} filters.input input type, one of 'audio', 'video' and 'none'
+   * @param {Boolean} filters.multipleInputs whether the filter supports multiple inputs
+   * @param {String} filters.output output type, one of 'audio', 'video' and 'none'
+   * @param {Boolean} filters.multipleOutputs whether the filter supports multiple outputs
+   */
+
+  /**
+   * Query ffmpeg for available filters
+   *
+   * @method FfmpegCommand#availableFilters
+   * @category Capabilities
+   * @aliases getAvailableFilters
+   *
+   * @param {FfmpegCommand~filterCallback} callback callback function
+   */
+  proto.availableFilters =
+  proto.getAvailableFilters = function(callback) {
+    if ('filters' in cache) {
+      return callback(null, cache.filters);
+    }
+
+    this._spawnFfmpeg(['-filters'], { captureStdout: true, stdoutLines: 0 }, function (err, stdoutRing) {
+      if (err) {
+        return callback(err);
+      }
+
+      var stdout = stdoutRing.get();
+      var lines = stdout.split('\n');
+      var data = {};
+      var types = { A: 'audio', V: 'video', '|': 'none' };
+
+      lines.forEach(function(line) {
+        var match = line.match(filterRegexp);
+        if (match) {
+          data[match[1]] = {
+            description: match[4],
+            input: types[match[2].charAt(0)],
+            multipleInputs: match[2].length > 1,
+            output: types[match[3].charAt(0)],
+            multipleOutputs: match[3].length > 1
+          };
+        }
+      });
+
+      callback(null, cache.filters = data);
+    });
+  };
+
+
+  /**
+   * A callback passed to {@link FfmpegCommand#availableCodecs}.
+   *
+   * @callback FfmpegCommand~codecCallback
+   * @param {Error|null} err error object or null if no error happened
+   * @param {Object} codecs codec object with codec names as keys and the following
+   *   properties for each codec (more properties may be available depending on the
+   *   ffmpeg version used):
+   * @param {String} codecs.description codec description
+   * @param {Boolean} codecs.canDecode whether the codec is able to decode streams
+   * @param {Boolean} codecs.canEncode whether the codec is able to encode streams
+   */
+
+  /**
+   * Query ffmpeg for available codecs
+   *
+   * @method FfmpegCommand#availableCodecs
+   * @category Capabilities
+   * @aliases getAvailableCodecs
+   *
+   * @param {FfmpegCommand~codecCallback} callback callback function
+   */
+  proto.availableCodecs =
+  proto.getAvailableCodecs = function(callback) {
+    if ('codecs' in cache) {
+      return callback(null, cache.codecs);
+    }
+
+    this._spawnFfmpeg(['-codecs'], { captureStdout: true, stdoutLines: 0 }, function(err, stdoutRing) {
+      if (err) {
+        return callback(err);
+      }
+
+      var stdout = stdoutRing.get();
+      var lines = stdout.split(lineBreakRegexp);
+      var data = {};
+
+      lines.forEach(function(line) {
+        var match = line.match(avCodecRegexp);
+        if (match && match[7] !== '=') {
+          data[match[7]] = {
+            type: { 'V': 'video', 'A': 'audio', 'S': 'subtitle' }[match[3]],
+            description: match[8],
+            canDecode: match[1] === 'D',
+            canEncode: match[2] === 'E',
+            drawHorizBand: match[4] === 'S',
+            directRendering: match[5] === 'D',
+            weirdFrameTruncation: match[6] === 'T'
+          };
+        }
+
+        match = line.match(ffCodecRegexp);
+        if (match && match[7] !== '=') {
+          var codecData = data[match[7]] = {
+            type: { 'V': 'video', 'A': 'audio', 'S': 'subtitle' }[match[3]],
+            description: match[8],
+            canDecode: match[1] === 'D',
+            canEncode: match[2] === 'E',
+            intraFrameOnly: match[4] === 'I',
+            isLossy: match[5] === 'L',
+            isLossless: match[6] === 'S'
+          };
+
+          var encoders = codecData.description.match(ffEncodersRegexp);
+          encoders = encoders ? encoders[1].trim().split(' ') : [];
+
+          var decoders = codecData.description.match(ffDecodersRegexp);
+          decoders = decoders ? decoders[1].trim().split(' ') : [];
+
+          if (encoders.length || decoders.length) {
+            var coderData = {};
+            utils.copy(codecData, coderData);
+            delete coderData.canEncode;
+            delete coderData.canDecode;
+
+            encoders.forEach(function(name) {
+              data[name] = {};
+              utils.copy(coderData, data[name]);
+              data[name].canEncode = true;
+            });
+
+            decoders.forEach(function(name) {
+              if (name in data) {
+                data[name].canDecode = true;
+              } else {
+                data[name] = {};
+                utils.copy(coderData, data[name]);
+                data[name].canDecode = true;
+              }
+            });
+          }
+        }
+      });
+
+      callback(null, cache.codecs = data);
+    });
+  };
+
+
+  /**
+   * A callback passed to {@link FfmpegCommand#availableEncoders}.
+   *
+   * @callback FfmpegCommand~encodersCallback
+   * @param {Error|null} err error object or null if no error happened
+   * @param {Object} encoders encoders object with encoder names as keys and the following
+   *   properties for each encoder:
+   * @param {String} encoders.description codec description
+   * @param {Boolean} encoders.type "audio", "video" or "subtitle"
+   * @param {Boolean} encoders.frameMT whether the encoder is able to do frame-level multithreading
+   * @param {Boolean} encoders.sliceMT whether the encoder is able to do slice-level multithreading
+   * @param {Boolean} encoders.experimental whether the encoder is experimental
+   * @param {Boolean} encoders.drawHorizBand whether the encoder supports draw_horiz_band
+   * @param {Boolean} encoders.directRendering whether the encoder supports direct encoding method 1
+   */
+
+  /**
+   * Query ffmpeg for available encoders
+   *
+   * @method FfmpegCommand#availableEncoders
+   * @category Capabilities
+   * @aliases getAvailableEncoders
+   *
+   * @param {FfmpegCommand~encodersCallback} callback callback function
+   */
+  proto.availableEncoders =
+  proto.getAvailableEncoders = function(callback) {
+    if ('encoders' in cache) {
+      return callback(null, cache.encoders);
+    }
+
+    this._spawnFfmpeg(['-encoders'], { captureStdout: true, stdoutLines: 0 }, function(err, stdoutRing) {
+      if (err) {
+        return callback(err);
+      }
+
+      var stdout = stdoutRing.get();
+      var lines = stdout.split(lineBreakRegexp);
+      var data = {};
+
+      lines.forEach(function(line) {
+        var match = line.match(encodersRegexp);
+        if (match && match[7] !== '=') {
+          data[match[7]] = {
+            type: { 'V': 'video', 'A': 'audio', 'S': 'subtitle' }[match[1]],
+            description: match[8],
+            frameMT: match[2] === 'F',
+            sliceMT: match[3] === 'S',
+            experimental: match[4] === 'X',
+            drawHorizBand: match[5] === 'B',
+            directRendering: match[6] === 'D'
+          };
+        }
+      });
+
+      callback(null, cache.encoders = data);
+    });
+  };
+
+
+  /**
+   * A callback passed to {@link FfmpegCommand#availableFormats}.
+   *
+   * @callback FfmpegCommand~formatCallback
+   * @param {Error|null} err error object or null if no error happened
+   * @param {Object} formats format object with format names as keys and the following
+   *   properties for each format:
+   * @param {String} formats.description format description
+   * @param {Boolean} formats.canDemux whether the format is able to demux streams from an input file
+   * @param {Boolean} formats.canMux whether the format is able to mux streams into an output file
+   */
+
+  /**
+   * Query ffmpeg for available formats
+   *
+   * @method FfmpegCommand#availableFormats
+   * @category Capabilities
+   * @aliases getAvailableFormats
+   *
+   * @param {FfmpegCommand~formatCallback} callback callback function
+   */
+  proto.availableFormats =
+  proto.getAvailableFormats = function(callback) {
+    if ('formats' in cache) {
+      return callback(null, cache.formats);
+    }
+
+    // Run ffmpeg -formats
+    this._spawnFfmpeg(['-formats'], { captureStdout: true, stdoutLines: 0 }, function (err, stdoutRing) {
+      if (err) {
+        return callback(err);
+      }
+
+      // Parse output
+      var stdout = stdoutRing.get();
+      var lines = stdout.split(lineBreakRegexp);
+      var data = {};
+
+      lines.forEach(function(line) {
+        var match = line.match(formatRegexp);
+        if (match) {
+          match[3].split(',').forEach(function(format) {
+            if (!(format in data)) {
+              data[format] = {
+                description: match[4],
+                canDemux: false,
+                canMux: false
+              };
+            }
+
+            if (match[1] === 'D') {
+              data[format].canDemux = true;
+            }
+            if (match[2] === 'E') {
+              data[format].canMux = true;
+            }
+          });
+        }
+      });
+
+      callback(null, cache.formats = data);
+    });
+  };
+
+
+  /**
+   * Check capabilities before executing a command
+   *
+   * Checks whether all used codecs and formats are indeed available
+   *
+   * @method FfmpegCommand#_checkCapabilities
+   * @param {Function} callback callback with signature (err)
+   * @private
+   */
+  proto._checkCapabilities = function(callback) {
+    var self = this;
+    async.waterfall([
+      // Get available formats
+      function(cb) {
+        self.availableFormats(cb);
+      },
+
+      // Check whether specified formats are available
+      function(formats, cb) {
+        var unavailable;
+
+        // Output format(s)
+        unavailable = self._outputs
+          .reduce(function(fmts, output) {
+            var format = output.options.find('-f', 1);
+            if (format) {
+              if (!(format[0] in formats) || !(formats[format[0]].canMux)) {
+                fmts.push(format);
+              }
+            }
+
+            return fmts;
+          }, []);
+
+        if (unavailable.length === 1) {
+          return cb(new Error('Output format ' + unavailable[0] + ' is not available'));
+        } else if (unavailable.length > 1) {
+          return cb(new Error('Output formats ' + unavailable.join(', ') + ' are not available'));
+        }
+
+        // Input format(s)
+        unavailable = self._inputs
+          .reduce(function(fmts, input) {
+            var format = input.options.find('-f', 1);
+            if (format) {
+              if (!(format[0] in formats) || !(formats[format[0]].canDemux)) {
+                fmts.push(format[0]);
+              }
+            }
+
+            return fmts;
+          }, []);
+
+        if (unavailable.length === 1) {
+          return cb(new Error('Input format ' + unavailable[0] + ' is not available'));
+        } else if (unavailable.length > 1) {
+          return cb(new Error('Input formats ' + unavailable.join(', ') + ' are not available'));
+        }
+
+        cb();
+      },
+
+      // Get available codecs
+      function(cb) {
+        self.availableEncoders(cb);
+      },
+
+      // Check whether specified codecs are available and add strict experimental options if needed
+      function(encoders, cb) {
+        var unavailable;
+
+        // Audio codec(s)
+        unavailable = self._outputs.reduce(function(cdcs, output) {
+          var acodec = output.audio.find('-acodec', 1);
+          if (acodec && acodec[0] !== 'copy') {
+            if (!(acodec[0] in encoders) || encoders[acodec[0]].type !== 'audio') {
+              cdcs.push(acodec[0]);
+            }
+          }
+
+          return cdcs;
+        }, []);
+
+        if (unavailable.length === 1) {
+          return cb(new Error('Audio codec ' + unavailable[0] + ' is not available'));
+        } else if (unavailable.length > 1) {
+          return cb(new Error('Audio codecs ' + unavailable.join(', ') + ' are not available'));
+        }
+
+        // Video codec(s)
+        unavailable = self._outputs.reduce(function(cdcs, output) {
+          var vcodec = output.video.find('-vcodec', 1);
+          if (vcodec && vcodec[0] !== 'copy') {
+            if (!(vcodec[0] in encoders) || encoders[vcodec[0]].type !== 'video') {
+              cdcs.push(vcodec[0]);
+            }
+          }
+
+          return cdcs;
+        }, []);
+
+        if (unavailable.length === 1) {
+          return cb(new Error('Video codec ' + unavailable[0] + ' is not available'));
+        } else if (unavailable.length > 1) {
+          return cb(new Error('Video codecs ' + unavailable.join(', ') + ' are not available'));
+        }
+
+        cb();
+      }
+    ], callback);
+  };
+};
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.4.0 on Sun May 01 2016 12:10:37 GMT+0200 (CEST) +
+ + + + + diff --git a/node_modules/fluent-ffmpeg/doc/custom.js.html b/node_modules/fluent-ffmpeg/doc/custom.js.html new file mode 100644 index 0000000..af7098c --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/custom.js.html @@ -0,0 +1,262 @@ + + + + + JSDoc: Source: options/custom.js + + + + + + + + + + +
+ +

Source: options/custom.js

+ + + + + +
+
+
/*jshint node:true*/
+'use strict';
+
+var utils = require('../utils');
+
+
+/*
+ *! Custom options methods
+ */
+
+module.exports = function(proto) {
+  /**
+   * Add custom input option(s)
+   *
+   * When passing a single string or an array, each string containing two
+   * words is split (eg. inputOptions('-option value') is supported) for
+   * compatibility reasons.  This is not the case when passing more than
+   * one argument.
+   *
+   * @example
+   * command.inputOptions('option1');
+   *
+   * @example
+   * command.inputOptions('option1', 'option2');
+   *
+   * @example
+   * command.inputOptions(['option1', 'option2']);
+   *
+   * @method FfmpegCommand#inputOptions
+   * @category Custom options
+   * @aliases addInputOption,addInputOptions,withInputOption,withInputOptions,inputOption
+   *
+   * @param {...String} options option string(s) or string array
+   * @return FfmpegCommand
+   */
+  proto.addInputOption =
+  proto.addInputOptions =
+  proto.withInputOption =
+  proto.withInputOptions =
+  proto.inputOption =
+  proto.inputOptions = function(options) {
+    if (!this._currentInput) {
+      throw new Error('No input specified');
+    }
+
+    var doSplit = true;
+
+    if (arguments.length > 1) {
+      options = [].slice.call(arguments);
+      doSplit = false;
+    }
+
+    if (!Array.isArray(options)) {
+      options = [options];
+    }
+
+    this._currentInput.options(options.reduce(function(options, option) {
+      var split = option.split(' ');
+
+      if (doSplit && split.length === 2) {
+        options.push(split[0], split[1]);
+      } else {
+        options.push(option);
+      }
+
+      return options;
+    }, []));
+    return this;
+  };
+
+
+  /**
+   * Add custom output option(s)
+   *
+   * @example
+   * command.outputOptions('option1');
+   *
+   * @example
+   * command.outputOptions('option1', 'option2');
+   *
+   * @example
+   * command.outputOptions(['option1', 'option2']);
+   *
+   * @method FfmpegCommand#outputOptions
+   * @category Custom options
+   * @aliases addOutputOption,addOutputOptions,addOption,addOptions,withOutputOption,withOutputOptions,withOption,withOptions,outputOption
+   *
+   * @param {...String} options option string(s) or string array
+   * @return FfmpegCommand
+   */
+  proto.addOutputOption =
+  proto.addOutputOptions =
+  proto.addOption =
+  proto.addOptions =
+  proto.withOutputOption =
+  proto.withOutputOptions =
+  proto.withOption =
+  proto.withOptions =
+  proto.outputOption =
+  proto.outputOptions = function(options) {
+    var doSplit = true;
+
+    if (arguments.length > 1) {
+      options = [].slice.call(arguments);
+      doSplit = false;
+    }
+
+    if (!Array.isArray(options)) {
+      options = [options];
+    }
+
+    this._currentOutput.options(options.reduce(function(options, option) {
+      var split = option.split(' ');
+
+      if (doSplit && split.length === 2) {
+        options.push(split[0], split[1]);
+      } else {
+        options.push(option);
+      }
+
+      return options;
+    }, []));
+    return this;
+  };
+
+
+  /**
+   * Specify a complex filtergraph
+   *
+   * Calling this method will override any previously set filtergraph, but you can set
+   * as many filters as needed in one call.
+   *
+   * @example <caption>Overlay an image over a video (using a filtergraph string)</caption>
+   *   ffmpeg()
+   *     .input('video.avi')
+   *     .input('image.png')
+   *     .complexFilter('[0:v][1:v]overlay[out]', ['out']);
+   *
+   * @example <caption>Overlay an image over a video (using a filter array)</caption>
+   *   ffmpeg()
+   *     .input('video.avi')
+   *     .input('image.png')
+   *     .complexFilter([{
+   *       filter: 'overlay',
+   *       inputs: ['0:v', '1:v'],
+   *       outputs: ['out']
+   *     }], ['out']);
+   *
+   * @example <caption>Split video into RGB channels and output a 3x1 video with channels side to side</caption>
+   *  ffmpeg()
+   *    .input('video.avi')
+   *    .complexFilter([
+   *      // Duplicate video stream 3 times into streams a, b, and c
+   *      { filter: 'split', options: '3', outputs: ['a', 'b', 'c'] },
+   *
+   *      // Create stream 'red' by cancelling green and blue channels from stream 'a'
+   *      { filter: 'lutrgb', options: { g: 0, b: 0 }, inputs: 'a', outputs: 'red' },
+   *
+   *      // Create stream 'green' by cancelling red and blue channels from stream 'b'
+   *      { filter: 'lutrgb', options: { r: 0, b: 0 }, inputs: 'b', outputs: 'green' },
+   *
+   *      // Create stream 'blue' by cancelling red and green channels from stream 'c'
+   *      { filter: 'lutrgb', options: { r: 0, g: 0 }, inputs: 'c', outputs: 'blue' },
+   *
+   *      // Pad stream 'red' to 3x width, keeping the video on the left, and name output 'padded'
+   *      { filter: 'pad', options: { w: 'iw*3', h: 'ih' }, inputs: 'red', outputs: 'padded' },
+   *
+   *      // Overlay 'green' onto 'padded', moving it to the center, and name output 'redgreen'
+   *      { filter: 'overlay', options: { x: 'w', y: 0 }, inputs: ['padded', 'green'], outputs: 'redgreen'},
+   *
+   *      // Overlay 'blue' onto 'redgreen', moving it to the right
+   *      { filter: 'overlay', options: { x: '2*w', y: 0 }, inputs: ['redgreen', 'blue']},
+   *    ]);
+   *
+   * @method FfmpegCommand#complexFilter
+   * @category Custom options
+   * @aliases filterGraph
+   *
+   * @param {String|Array} spec filtergraph string or array of filter specification
+   *   objects, each having the following properties:
+   * @param {String} spec.filter filter name
+   * @param {String|Array} [spec.inputs] (array of) input stream specifier(s) for the filter,
+   *   defaults to ffmpeg automatically choosing the first unused matching streams
+   * @param {String|Array} [spec.outputs] (array of) output stream specifier(s) for the filter,
+   *   defaults to ffmpeg automatically assigning the output to the output file
+   * @param {Object|String|Array} [spec.options] filter options, can be omitted to not set any options
+   * @param {Array} [map] (array of) stream specifier(s) from the graph to include in
+   *   ffmpeg output, defaults to ffmpeg automatically choosing the first matching streams.
+   * @return FfmpegCommand
+   */
+  proto.filterGraph =
+  proto.complexFilter = function(spec, map) {
+    this._complexFilters.clear();
+
+    if (!Array.isArray(spec)) {
+      spec = [spec];
+    }
+
+    this._complexFilters('-filter_complex', utils.makeFilterStrings(spec).join(';'));
+
+    if (Array.isArray(map)) {
+      var self = this;
+      map.forEach(function(streamSpec) {
+        self._complexFilters('-map', streamSpec.replace(utils.streamRegexp, '[$1]'));
+      });
+    } else if (typeof map === 'string') {
+      this._complexFilters('-map', map.replace(utils.streamRegexp, '[$1]'));
+    }
+
+    return this;
+  };
+};
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.3.0-alpha5 on Tue Jul 08 2014 21:22:19 GMT+0200 (CEST) +
+ + + + + diff --git a/node_modules/fluent-ffmpeg/doc/ffprobe.js.html b/node_modules/fluent-ffmpeg/doc/ffprobe.js.html new file mode 100644 index 0000000..0c60404 --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/ffprobe.js.html @@ -0,0 +1,311 @@ + + + + + JSDoc: Source: ffprobe.js + + + + + + + + + + +
+ +

Source: ffprobe.js

+ + + + + +
+
+
/*jshint node:true, laxcomma:true*/
+'use strict';
+
+var spawn = require('child_process').spawn;
+
+
+function legacyTag(key) { return key.match(/^TAG:/); }
+function legacyDisposition(key) { return key.match(/^DISPOSITION:/); }
+
+function parseFfprobeOutput(out) {
+  var lines = out.split(/\r\n|\r|\n/);
+
+  lines = lines.filter(function (line) {
+    return line.length > 0;
+  });
+
+  var data = {
+    streams: [],
+    format: {},
+    chapters: []
+  };
+
+  function parseBlock(name) {
+    var data = {};
+
+    var line = lines.shift();
+    while (typeof line !== 'undefined') {
+      if (line.toLowerCase() == '[/'+name+']') {
+        return data;
+      } else if (line.match(/^\[/)) {
+        line = lines.shift();
+        continue;
+      }
+
+      var kv = line.match(/^([^=]+)=(.*)$/);
+      if (kv) {
+        if (!(kv[1].match(/^TAG:/)) && kv[2].match(/^[0-9]+(\.[0-9]+)?$/)) {
+          data[kv[1]] = Number(kv[2]);
+        } else {
+          data[kv[1]] = kv[2];
+        }
+      }
+
+      line = lines.shift();
+    }
+
+    return data;
+  }
+
+  var line = lines.shift();
+  while (typeof line !== 'undefined') {
+    if (line.match(/^\[stream/i)) {
+      var stream = parseBlock('stream');
+      data.streams.push(stream);
+    } else if (line.match(/^\[chapter/i)) {
+      var chapter = parseBlock('chapter');
+      data.chapters.push(chapter);
+    } else if (line.toLowerCase() === '[format]') {
+      data.format = parseBlock('format');
+    }
+
+    line = lines.shift();
+  }
+
+  return data;
+}
+
+
+
+module.exports = function(proto) {
+  /**
+   * A callback passed to the {@link FfmpegCommand#ffprobe} method.
+   *
+   * @callback FfmpegCommand~ffprobeCallback
+   *
+   * @param {Error|null} err error object or null if no error happened
+   * @param {Object} ffprobeData ffprobe output data; this object
+   *   has the same format as what the following command returns:
+   *
+   *     `ffprobe -print_format json -show_streams -show_format INPUTFILE`
+   * @param {Array} ffprobeData.streams stream information
+   * @param {Object} ffprobeData.format format information
+   */
+
+  /**
+   * Run ffprobe on last specified input
+   *
+   * @method FfmpegCommand#ffprobe
+   * @category Metadata
+   *
+   * @param {?Number} [index] 0-based index of input to probe (defaults to last input)
+   * @param {?String[]} [options] array of output options to return
+   * @param {FfmpegCommand~ffprobeCallback} callback callback function
+   *
+   */
+  proto.ffprobe = function() {
+    var input, index = null, options = [], callback;
+
+    // the last argument should be the callback
+    var callback = arguments[arguments.length - 1];
+
+    var ended = false
+    function handleCallback(err, data) {
+      if (!ended) {
+        ended = true;
+        callback(err, data);
+      }
+    };
+
+    // map the arguments to the correct variable names
+    switch (arguments.length) {
+      case 3:
+        index = arguments[0];
+        options = arguments[1];
+        break;
+      case 2:
+        if (typeof arguments[0] === 'number') {
+          index = arguments[0];
+        } else if (Array.isArray(arguments[0])) {
+          options = arguments[0];
+        }
+        break;
+    }
+
+
+    if (index === null) {
+      if (!this._currentInput) {
+        return handleCallback(new Error('No input specified'));
+      }
+
+      input = this._currentInput;
+    } else {
+      input = this._inputs[index];
+
+      if (!input) {
+        return handleCallback(new Error('Invalid input index'));
+      }
+    }
+
+    // Find ffprobe
+    this._getFfprobePath(function(err, path) {
+      if (err) {
+        return handleCallback(err);
+      } else if (!path) {
+        return handleCallback(new Error('Cannot find ffprobe'));
+      }
+
+      var stdout = '';
+      var stdoutClosed = false;
+      var stderr = '';
+      var stderrClosed = false;
+
+      // Spawn ffprobe
+      var src = input.isStream ? 'pipe:0' : input.source;
+      var ffprobe = spawn(path, ['-show_streams', '-show_format'].concat(options, src));
+
+      if (input.isStream) {
+        // Skip errors on stdin. These get thrown when ffprobe is complete and
+        // there seems to be no way hook in and close stdin before it throws.
+        ffprobe.stdin.on('error', function(err) {
+          if (['ECONNRESET', 'EPIPE'].indexOf(err.code) >= 0) { return; }
+          handleCallback(err);
+        });
+
+        // Once ffprobe's input stream closes, we need no more data from the
+        // input
+        ffprobe.stdin.on('close', function() {
+            input.source.pause();
+            input.source.unpipe(ffprobe.stdin);
+        });
+
+        input.source.pipe(ffprobe.stdin);
+      }
+
+      ffprobe.on('error', callback);
+
+      // Ensure we wait for captured streams to end before calling callback
+      var exitError = null;
+      function handleExit(err) {
+        if (err) {
+          exitError = err;
+        }
+
+        if (processExited && stdoutClosed && stderrClosed) {
+          if (exitError) {
+            if (stderr) {
+              exitError.message += '\n' + stderr;
+            }
+
+            return handleCallback(exitError);
+          }
+
+          // Process output
+          var data = parseFfprobeOutput(stdout);
+
+          // Handle legacy output with "TAG:x" and "DISPOSITION:x" keys
+          [data.format].concat(data.streams).forEach(function(target) {
+            if (target) {
+              var legacyTagKeys = Object.keys(target).filter(legacyTag);
+
+              if (legacyTagKeys.length) {
+                target.tags = target.tags || {};
+
+                legacyTagKeys.forEach(function(tagKey) {
+                  target.tags[tagKey.substr(4)] = target[tagKey];
+                  delete target[tagKey];
+                });
+              }
+
+              var legacyDispositionKeys = Object.keys(target).filter(legacyDisposition);
+
+              if (legacyDispositionKeys.length) {
+                target.disposition = target.disposition || {};
+
+                legacyDispositionKeys.forEach(function(dispositionKey) {
+                  target.disposition[dispositionKey.substr(12)] = target[dispositionKey];
+                  delete target[dispositionKey];
+                });
+              }
+            }
+          });
+
+          handleCallback(null, data);
+        }
+      }
+
+      // Handle ffprobe exit
+      var processExited = false;
+      ffprobe.on('exit', function(code, signal) {
+        processExited = true;
+
+        if (code) {
+          handleExit(new Error('ffprobe exited with code ' + code));
+        } else if (signal) {
+          handleExit(new Error('ffprobe was killed with signal ' + signal));
+        } else {
+          handleExit();
+        }
+      });
+
+      // Handle stdout/stderr streams
+      ffprobe.stdout.on('data', function(data) {
+        stdout += data;
+      });
+
+      ffprobe.stdout.on('close', function() {
+        stdoutClosed = true;
+        handleExit();
+      });
+
+      ffprobe.stderr.on('data', function(data) {
+        stderr += data;
+      });
+
+      ffprobe.stderr.on('close', function() {
+        stderrClosed = true;
+        handleExit();
+      });
+    });
+  };
+};
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.4.0 on Sun May 01 2016 12:10:37 GMT+0200 (CEST) +
+ + + + + diff --git a/node_modules/fluent-ffmpeg/doc/fluent-ffmpeg.js.html b/node_modules/fluent-ffmpeg/doc/fluent-ffmpeg.js.html new file mode 100644 index 0000000..2387bf0 --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/fluent-ffmpeg.js.html @@ -0,0 +1,271 @@ + + + + + JSDoc: Source: fluent-ffmpeg.js + + + + + + + + + + +
+ +

Source: fluent-ffmpeg.js

+ + + + + +
+
+
/*jshint node:true*/
+'use strict';
+
+var path = require('path');
+var util = require('util');
+var EventEmitter = require('events').EventEmitter;
+
+var utils = require('./utils');
+var ARGLISTS = ['_global', '_audio', '_audioFilters', '_video', '_videoFilters', '_sizeFilters', '_complexFilters'];
+
+
+/**
+ * Create an ffmpeg command
+ *
+ * Can be called with or without the 'new' operator, and the 'input' parameter
+ * may be specified as 'options.source' instead (or passed later with the
+ * addInput method).
+ *
+ * @constructor
+ * @param {String|ReadableStream} [input] input file path or readable stream
+ * @param {Object} [options] command options
+ * @param {Object} [options.logger=<no logging>] logger object with 'error', 'warning', 'info' and 'debug' methods
+ * @param {Number} [options.niceness=0] ffmpeg process niceness, ignored on Windows
+ * @param {Number} [options.priority=0] alias for `niceness`
+ * @param {String} [options.presets="fluent-ffmpeg/lib/presets"] directory to load presets from
+ * @param {String} [options.preset="fluent-ffmpeg/lib/presets"] alias for `presets`
+ * @param {String} [options.stdoutLines=100] maximum lines of ffmpeg output to keep in memory, use 0 for unlimited
+ * @param {Number} [options.timeout=<no timeout>] ffmpeg processing timeout in seconds
+ * @param {String|ReadableStream} [options.source=<no input>] alias for the `input` parameter
+ */
+function FfmpegCommand(input, options) {
+  // Make 'new' optional
+  if (!(this instanceof FfmpegCommand)) {
+    return new FfmpegCommand(input, options);
+  }
+
+  EventEmitter.call(this);
+
+  if (typeof input === 'object' && !('readable' in input)) {
+    // Options object passed directly
+    options = input;
+  } else {
+    // Input passed first
+    options = options || {};
+    options.source = input;
+  }
+
+  // Add input if present
+  this._inputs = [];
+  if (options.source) {
+    this.input(options.source);
+  }
+
+  // Add target-less output for backwards compatibility
+  this._outputs = [];
+  this.output();
+
+  // Create argument lists
+  var self = this;
+  ['_global', '_complexFilters'].forEach(function(prop) {
+    self[prop] = utils.args();
+  });
+
+  // Set default option values
+  options.stdoutLines = 'stdoutLines' in options ? options.stdoutLines : 100;
+  options.presets = options.presets || options.preset || path.join(__dirname, 'presets');
+  options.niceness = options.niceness || options.priority || 0;
+
+  // Save options
+  this.options = options;
+
+  // Setup logger
+  this.logger = options.logger || {
+    debug: function() {},
+    info: function() {},
+    warn: function() {},
+    error: function() {}
+  };
+}
+util.inherits(FfmpegCommand, EventEmitter);
+module.exports = FfmpegCommand;
+
+
+/**
+ * Clone an ffmpeg command
+ *
+ * This method is useful when you want to process the same input multiple times.
+ * It returns a new FfmpegCommand instance with the exact same options.
+ *
+ * All options set _after_ the clone() call will only be applied to the instance
+ * it has been called on.
+ *
+ * @example
+ *   var command = ffmpeg('/path/to/source.avi')
+ *     .audioCodec('libfaac')
+ *     .videoCodec('libx264')
+ *     .format('mp4');
+ *
+ *   command.clone()
+ *     .size('320x200')
+ *     .save('/path/to/output-small.mp4');
+ *
+ *   command.clone()
+ *     .size('640x400')
+ *     .save('/path/to/output-medium.mp4');
+ *
+ *   command.save('/path/to/output-original-size.mp4');
+ *
+ * @method FfmpegCommand#clone
+ * @return FfmpegCommand
+ */
+FfmpegCommand.prototype.clone = function() {
+  var clone = new FfmpegCommand();
+  var self = this;
+
+  // Clone options and logger
+  clone.options = this.options;
+  clone.logger = this.logger;
+
+  // Clone inputs
+  clone._inputs = this._inputs.map(function(input) {
+    return {
+      source: input.source,
+      options: input.options.clone()
+    };
+  });
+
+  // Create first output
+  if ('target' in this._outputs[0]) {
+    // We have outputs set, don't clone them and create first output
+    clone._outputs = [];
+    clone.output();
+  } else {
+    // No outputs set, clone first output options
+    clone._outputs = [
+      clone._currentOutput = {
+        flags: {}
+      }
+    ];
+
+    ['audio', 'audioFilters', 'video', 'videoFilters', 'sizeFilters', 'options'].forEach(function(key) {
+      clone._currentOutput[key] = self._currentOutput[key].clone();
+    });
+
+    if (this._currentOutput.sizeData) {
+      clone._currentOutput.sizeData = {};
+      utils.copy(this._currentOutput.sizeData, clone._currentOutput.sizeData);
+    }
+
+    utils.copy(this._currentOutput.flags, clone._currentOutput.flags);
+  }
+
+  // Clone argument lists
+  ['_global', '_complexFilters'].forEach(function(prop) {
+    clone[prop] = self[prop].clone();
+  });
+
+  return clone;
+};
+
+
+/* Add methods from options submodules */
+
+require('./options/inputs')(FfmpegCommand.prototype);
+require('./options/audio')(FfmpegCommand.prototype);
+require('./options/video')(FfmpegCommand.prototype);
+require('./options/videosize')(FfmpegCommand.prototype);
+require('./options/output')(FfmpegCommand.prototype);
+require('./options/custom')(FfmpegCommand.prototype);
+require('./options/misc')(FfmpegCommand.prototype);
+
+
+/* Add processor methods */
+
+require('./processor')(FfmpegCommand.prototype);
+
+
+/* Add capabilities methods */
+
+require('./capabilities')(FfmpegCommand.prototype);
+
+FfmpegCommand.setFfmpegPath = function(path) {
+  (new FfmpegCommand()).setFfmpegPath(path);
+};
+
+FfmpegCommand.setFfprobePath = function(path) {
+  (new FfmpegCommand()).setFfprobePath(path);
+};
+
+FfmpegCommand.setFlvtoolPath = function(path) {
+  (new FfmpegCommand()).setFlvtoolPath(path);
+};
+
+FfmpegCommand.availableFilters =
+FfmpegCommand.getAvailableFilters = function(callback) {
+  (new FfmpegCommand()).availableFilters(callback);
+};
+
+FfmpegCommand.availableCodecs =
+FfmpegCommand.getAvailableCodecs = function(callback) {
+  (new FfmpegCommand()).availableCodecs(callback);
+};
+
+FfmpegCommand.availableFormats =
+FfmpegCommand.getAvailableFormats = function(callback) {
+  (new FfmpegCommand()).availableFormats(callback);
+};
+
+
+/* Add ffprobe methods */
+
+require('./ffprobe')(FfmpegCommand.prototype);
+
+FfmpegCommand.ffprobe = function(file) {
+  var instance = new FfmpegCommand(file);
+  instance.ffprobe.apply(instance, Array.prototype.slice.call(arguments, 1));
+};
+
+/* Add processing recipes */
+
+require('./recipes')(FfmpegCommand.prototype);
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.4.0 on Sun May 01 2016 12:10:37 GMT+0200 (CEST) +
+ + + + + diff --git a/node_modules/fluent-ffmpeg/doc/global.html b/node_modules/fluent-ffmpeg/doc/global.html new file mode 100644 index 0000000..9362b4e --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/global.html @@ -0,0 +1,932 @@ + + + + + JSDoc: Global + + + + + + + + + + +
+ +

Global

+ + + + + +
+ +
+

+ +

+ +
+ +
+
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + + + + + + + + + +

Methods

+ +
+ +
+

<private> createSizeFilters(command, key, value)

+ + +
+
+ + +
+

Recompute size filters

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
command + + +FfmpegCommand + + + +
key + + +String + + + +

newly-added parameter name ('size', 'aspect' or 'pad')

value + + +String + + + +

newly-added parameter value

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

filter string array

+
+ + + + + + +
+ + + +
+

<private> getScalePadFilters(width, height, aspect, color)

+ + +
+
+ + +
+

Return filters to pad video to width*height,

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
width + + +Number + + + +

output width

height + + +Number + + + +

output height

aspect + + +Number + + + +

video aspect ratio (without padding)

color + + +Number + + + +

padding color

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

scale/pad filters

+
+ + + + + + +
+ + + +
+

<private> parseProgressLine(line)

+ + +
+
+ + +
+

Parse progress line from ffmpeg stderr

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
line + + +String + + + +

progress line

+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

progress object

+
+ + + + + + +
+ + + +
+

<private> process(command, target, pipeOptions)

+ + +
+
+ + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDescription
command + + +FfmpegCommand + + + + + + + + + +
target + + +String +| + +Writable + + + + + + + + + +
pipeOptions + + +Object + + + + + + <optional>
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + +
+

<private> runFfprobe(command)

+ + +
+
+ + +
+

Run ffprobe asynchronously and store data in command

+
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
command + + +FfmpegCommand + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + + + +
+ +
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.3.0-alpha5 on Thu May 01 2014 13:29:29 GMT+0200 (CEST) +
+ + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/doc/index.html b/node_modules/fluent-ffmpeg/doc/index.html new file mode 100644 index 0000000..57a024c --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/index.html @@ -0,0 +1,973 @@ + + + + + JSDoc: Index + + + + + + + + + + +
+ +

Index

+ + + + + + + +

+ + + + + + + + + + + + + + +
+

Fluent ffmpeg-API for node.js

This library abstracts the complex command-line usage of ffmpeg into a fluent, easy to use node.js module. In order to be able to use this module, make sure you have ffmpeg installed on your system (including all necessary encoding libraries like libmp3lame or libx264).

+
+

This is the documentation for fluent-ffmpeg 2.x. +You can still access the code and documentation for fluent-ffmpeg 1.7 here.

+
+

Installation

Via npm:

+
$ npm install fluent-ffmpeg

Or as a submodule:

+
$ git submodule add git://github.com/schaermu/node-fluent-ffmpeg.git vendor/fluent-ffmpeg

Usage

You will find a lot of usage examples (including a real-time streaming example using flowplayer and express!) in the examples folder.

+

Prerequisites

ffmpeg and ffprobe

fluent-ffmpeg requires ffmpeg >= 0.9 to work. It may work with previous versions but several features won't be available (and the library is not tested with lower versions anylonger).

+

If the FFMPEG_PATH environment variable is set, fluent-ffmpeg will use it as the full path to the ffmpeg executable. Otherwise, it will attempt to call ffmpeg directly (so it should be in your PATH). You must also have ffprobe installed (it comes with ffmpeg in most distributions). Similarly, fluent-ffmpeg will use the FFPROBE_PATH environment variable if it is set, otherwise it will attempt to call it in the PATH.

+

Most features should work when using avconv and avprobe instead of ffmpeg and ffprobe, but they are not officially supported at the moment.

+

Windows users: most probably ffmpeg and ffprobe will not be in your %PATH, so you must set %FFMPEG_PATH and %FFPROBE_PATH.

+

Debian/Ubuntu users: the official repositories have the ffmpeg/ffprobe executable in the libav-tools package, and they are actually rebranded avconv/avprobe executables (avconv is a fork of ffmpeg). They should be mostly compatible, but should you encounter any issue, you may want to use the real ffmpeg instead. You can either compile it from source or find a pre-built .deb package at https://ffmpeg.org/download.html (For Ubuntu, the ppa:jon-severinsson/ffmpeg PPA provides recent builds).

+

flvtool2 or flvmeta

If you intend to encode FLV videos, you must have either flvtool2 or flvmeta installed and in your PATH or fluent-ffmpeg won't be able to produce streamable output files. If you set either the FLVTOOL2_PATH or FLVMETA_PATH, fluent-ffmpeg will try to use it instead of searching in the PATH.

+

Setting binary paths manually

Alternatively, you may set the ffmpeg, ffprobe and flvtool2/flvmeta binary paths manually by using the following API commands:

+
    +
  • Ffmpeg.setFfmpegPath(path) Argument path is a string with the full path to the ffmpeg binary.
  • +
  • Ffmpeg.setFfprobePath(path) Argument path is a string with the full path to the ffprobe binary.
  • +
  • Ffmpeg.setFlvtoolPath(path) Argument path is a string with the full path to the flvtool2 or flvmeta binary.
  • +
+

Creating an FFmpeg command

The fluent-ffmpeg module returns a constructor that you can use to instanciate FFmpeg commands.

+
var FfmpegCommand = require('fluent-ffmpeg');
+var command = new FfmpegCommand();

You can also use the constructor without the new operator.

+
var ffmpeg = require('fluent-ffmpeg');
+var command = ffmpeg();

You may pass an input file name or readable stream, a configuration object, or both to the constructor.

+
var command = ffmpeg('/path/to/file.avi');
+var command = ffmpeg(fs.createReadStream('/path/to/file.avi'));
+var command = ffmpeg({ option: "value", ... });
+var command = ffmpeg('/path/to/file.avi', { option: "value", ... });

The following options are available:

+
    +
  • source: input file name or readable stream (ignored if an input file is passed to the constructor)
  • +
  • timeout: ffmpeg timeout in seconds (defaults to no timeout)
  • +
  • preset or presets: directory to load module presets from (defaults to the lib/presets directory in fluent-ffmpeg tree)
  • +
  • niceness or priority: ffmpeg niceness value, between -20 and 20; ignored on Windows platforms (defaults to 0)
  • +
  • logger: logger object with debug(), info(), warn() and error() methods (defaults to no logging)
  • +
  • stdoutLines: maximum number of lines from ffmpeg stdout/stderr to keep in memory (defaults to 100, use 0 for unlimited storage)
  • +
+

Specifying inputs

You can add any number of inputs to an Ffmpeg command. An input can be:

+
    +
  • a file name (eg. /path/to/file.avi);
  • +
  • an image pattern (eg. /path/to/frame%03d.png);
  • +
  • a readable stream; only one input stream may be used for a command, but you can use both an input stream and one or several file names.
  • +
+
// Note that all fluent-ffmpeg methods are chainable
+ffmpeg('/path/to/input1.avi')
+  .input('/path/to/input2.avi')
+  .input(fs.createReadStream('/path/to/input3.avi'));
+
+// Passing an input to the constructor is the same as calling .input()
+ffmpeg()
+  .input('/path/to/input1.avi')
+  .input('/path/to/input2.avi');
+
+// Most methods have several aliases, here you may use addInput or mergeAdd instead
+ffmpeg()
+  .addInput('/path/to/frame%02d.png')
+  .addInput('/path/to/soundtrack.mp3');
+
+ffmpeg()
+  .mergeAdd('/path/to/input1.avi')
+  .mergeAdd('/path/to/input2.avi');

Input options

The following methods enable passing input-related options to ffmpeg. Each of these methods apply on the last input added (including the one passed to the constructor, if any). You must add an input before calling those, or an error will be thrown.

+

inputFormat(format): specify input format

Aliases: fromFormat(), withInputFormat().

+

This is only useful for raw inputs, as ffmpeg can determine the input format automatically.

+
ffmpeg()
+  .input('/dev/video0')
+  .inputFormat('mov')
+  .input('/path/to/file.avi')
+  .inputFormat('avi');

Fluent-ffmpeg checks for format availability before actually running the command, and throws an error when a specified input format is not available.

+

inputFPS(fps): specify input framerate

Aliases: withInputFps(), withInputFPS(), withFpsInput(), withFPSInput(), inputFps(), fpsInput(), FPSInput().

+

This is only valid for raw inputs, as ffmpeg can determine the input framerate automatically.

+
ffmpeg('/dev/video0').inputFPS(29.7);

native(): read input at native framerate

Aliases: nativeFramerate(), withNativeFramerate().

+
ffmpeg('/path/to/file.avi').native();

seekInput(time): set input start time

Alias: setStartTime().

+

Seeks an input and only start decoding at given time offset. The time argument may be a number (in seconds) or a timestamp string (with format [[hh:]mm:]ss[.xxx]).

+
ffmpeg('/path/to/file.avi').seekInput(134.5);
+ffmpeg('/path/to/file.avi').seekInput('2:14.500');

loop([duration]): loop over input

ffmpeg('/path/to/file.avi').loop();
+ffmpeg('/path/to/file.avi').loop(134.5);
+ffmpeg('/path/to/file.avi').loop('2:14.500');

inputOptions(option...): add custom input options

Aliases: inputOption(), addInputOption(), addInputOptions(), withInputOption(), withInputOptions().

+

This method allows passing any input-related option to ffmpeg. You can call it with a single argument to pass a single option, optionnaly with a space-separated parameter:

+
/* Single option */
+ffmpeg('/path/to/file.avi').inputOptions('-someOption');
+
+/* Single option with parameter */
+ffmpeg('/dev/video0').inputOptions('-r 24');

You may also pass multiple options at once by passing an array to the method:

+
ffmpeg('/path/to/file.avi').inputOptions([
+  '-option1',
+  '-option2 param2',
+  '-option3',
+  '-option4 param4'
+]);

Finally, you may also directly pass command line tokens as separate arguments to the method:

+
ffmpeg('/path/to/file.avi').inputOptions(
+  '-option1',
+  '-option2', 'param2',
+  '-option3',
+  '-option4', 'param4'
+);

Audio options

The following methods change the audio stream(s) in the produced output.

+

noAudio(): disable audio altogether

Aliases: withNoAudio().

+

Disables audio in the output and remove any previously set audio option.

+
ffmpeg('/path/to/file.avi').noAudio();

audioCodec(codec): set audio codec

Aliases: withAudioCodec().

+
ffmpeg('/path/to/file.avi').audioCodec('libmp3lame');

Fluent-ffmpeg checks for codec availability before actually running the command, and throws an error when a specified audio codec is not available.

+

audioBitrate(bitrate): set audio bitrate

Aliases: withAudioBitrate().

+

Sets the audio bitrate in kbps. The bitrate parameter may be a number or a string with an optional k suffix. This method is used to enforce a constant bitrate; use audioQuality() to encode using a variable bitrate.

+
ffmpeg('/path/to/file.avi').audioBitrate(128);
+ffmpeg('/path/to/file.avi').audioBitrate('128');
+ffmpeg('/path/to/file.avi').audioBitrate('128k');

audioChannels(count): set audio channel count

Aliases: withAudioChannels().

+
ffmpeg('/path/to/file.avi').audioChannels(2);

audioFrequency(freq): set audio frequency

Aliases: withAudioFrequency().

+

The freq parameter specifies the audio frequency in Hz.

+
ffmpeg('/path/to/file.avi').audioFrequency(22050);

audioQuality(quality): set audio quality

Aliases: withAudioQuality().

+

This method fixes a quality factor for the audio codec (VBR encoding). The quality scale depends on the actual codec used.

+
ffmpeg('/path/to/file.avi')
+  .audioCodec('libmp3lame')
+  .audioQuality(0);

audioFilters(filter...): add custom audio filters

Aliases: audioFilter(), withAudioFilter(), withAudioFilters().

+

This method enables adding custom audio filters. You may add multiple filters at once by passing either several arguments or an array. See the Ffmpeg documentation for available filters and their syntax.

+

Each filter pased to this method can be either a filter string (eg. volume=0.5) or a filter specification object with the following keys:

+
    +
  • filter: filter name
  • +
  • options: optional; either an option string for the filter (eg. n=-50dB:d=5), an options array for unnamed options (eg. ['-50dB', 5]) or an object mapping option names to values (eg. { n: '-50dB', d: 5 }). When options is not specified, the filter will be added without any options.
  • +
+
ffmpeg('/path/to/file.avi')
+  .audioFilters('volume=0.5')
+  .audioFilters('silencedetect=n=-50dB:d=5');
+
+ffmpeg('/path/to/file.avi')
+  .audioFilters('volume=0.5', 'silencedetect=n=-50dB:d=5');
+
+ffmpeg('/path/to/file.avi')
+  .audioFilters(['volume=0.5', 'silencedetect=n=-50dB:d=5']);
+
+ffmpeg('/path/to/file.avi')
+  .audioFilters([
+    {
+      filter: 'volume',
+      options: '0.5'
+    },
+    {
+      filter: 'silencedetect',
+      options: 'n=-50dB:d=5'
+    }
+  ]);
+
+ffmpeg('/path/to/file.avi')
+  .audioFilters(
+    {
+      filter: 'volume',
+      options: ['0.5']
+    },
+    {
+      filter: 'silencedetect',
+      options: { n: '-50dB', d: 5 }
+    }
+  ]);

Video options

The following methods change the video stream(s) in the produced output.

+

noVideo(): disable video altogether

Aliases: withNoVideo().

+

This method disables video output and removes any previously set video option.

+
ffmpeg('/path/to/file.avi').noVideo();

videoCodec(codec): set video codec

Aliases: withVideoCodec().

+
ffmpeg('/path/to/file.avi').videoCodec('libx264');

Fluent-ffmpeg checks for codec availability before actually running the command, and throws an error when a specified video codec is not available.

+

videoBitrate(bitrate[, constant=false]): set video bitrate

Aliases: withVideoBitrate().

+

Sets the target video bitrate in kbps. The bitrate argument may be a number or a string with an optional k suffix. The constant argument specifies whether a constant bitrate should be enforced (defaults to false).

+

Keep in mind that, depending on the codec used, enforcing a constant bitrate often comes at the cost of quality. The best way to have a constant video bitrate without losing too much quality is to use 2-pass encoding (see Fffmpeg documentation).

+
ffmpeg('/path/to/file.avi').videoBitrate(1000);
+ffmpeg('/path/to/file.avi').videoBitrate('1000');
+ffmpeg('/path/to/file.avi').videoBitrate('1000k');
+ffmpeg('/path/to/file.avi').videoBitrate('1000k', true);

videoFilters(filter...): add custom video filters

Aliases: videoFilter(), withVideoFilter(), withVideoFilters().

+

This method enables adding custom video filters. You may add multiple filters at once by passing either several arguments or an array. See the Ffmpeg documentation for available filters and their syntax.

+

Each filter pased to this method can be either a filter string (eg. fade=in:0:30) or a filter specification object with the following keys:

+
    +
  • filter: filter name
  • +
  • options: optional; either an option string for the filter (eg. in:0:30), an options array for unnamed options (eg. ['in', 0, 30]) or an object mapping option names to values (eg. { t: 'in', s: 0, n: 30 }). When options is not specified, the filter will be added without any options.
  • +
+
ffmpeg('/path/to/file.avi')
+  .videoFilters('fade=in:0:30')
+  .videoFilters('pad=640:480:0:40:violet');
+
+ffmpeg('/path/to/file.avi')
+  .videoFilters('fade=in:0:30', 'pad=640:480:0:40:violet');
+
+ffmpeg('/path/to/file.avi')
+  .videoFilters(['fade=in:0:30', 'pad=640:480:0:40:violet']);
+
+ffmpeg('/path/to/file.avi')
+  .videoFilters([
+    {
+      filter: 'fade',
+      options: 'in:0:30'
+    },
+    {
+      filter: 'pad',
+      options: '640:480:0:40:violet'
+    }
+  ]);
+
+ffmpeg('/path/to/file.avi')
+    .videoFilters(
+    {
+      filter: 'fade',
+      options: ['in', 0, 30]
+    },
+    {
+      filter: 'filter2',
+      options: { w: 640, h: 480, x: 0, y: 40, color: 'violet' }
+    }
+  );

fps(fps): set output framerate

Aliases: withOutputFps(), withOutputFPS(), withFpsOutput(), withFPSOutput(), withFps(), withFPS(), outputFPS(), outputFps(), fpsOutput(), FPSOutput(), FPS().

+
ffmpeg('/path/to/file.avi').fps(29.7);

frames(count): specify frame count

Aliases: takeFrames(), withFrames().

+

Set ffmpeg to only encode a certain number of frames.

+
ffmpeg('/path/to/file.avi').frames(240);

Video frame size options

The following methods enable resizing the output video frame size. They all work together to generate the appropriate video filters.

+

size(size): set output frame size

Aliases: videoSize(), withSize().

+

This method sets the output frame size. The size argument may have one of the following formats:

+
    +
  • 640x480: set a fixed output frame size. Unless autopad() is called, this may result in the video being stretched or squeezed to fit the requested size.
  • +
  • 640x?: set a fixed width and compute height automatically. If aspect() is also called, it is used to compute video height; otherwise it is computed so that the input aspect ratio is preserved.
  • +
  • ?x480: set a fixed height and compute width automatically. If aspect() is also called, it is used to compute video width; otherwise it is computed so that the input aspect ratio is preserved.
  • +
  • 50%: rescale both width and height to the given percentage. Aspect ratio is always preserved.
  • +
+

Note that for compatibility with some codecs, computed dimensions are always rounded down to multiples of 2.

+
ffmpeg('/path/to/file.avi').size('640x480');
+ffmpeg('/path/to/file.avi').size('640x?');
+ffmpeg('/path/to/file.avi').size('640x?').aspect('4:3');
+ffmpeg('/path/to/file.avi').size('50%');

aspect(aspect): set output frame aspect ratio

Aliases: withAspect(), withAspectRatio(), setAspect(), setAspectRatio(), aspectRatio().

+

This method enforces a specific output aspect ratio. The aspect argument may either be a number or a X:Y string.

+

Note that calls to aspect() are ignored when size() has been called with a fixed width and height or a percentage, and also when size() has not been called at all.

+
ffmpeg('/path/to/file.avi').size('640x?').aspect('4:3');
+ffmpeg('/path/to/file.avi').size('640x?').aspect(1.33333);

autopad([color='black']): enable auto-padding the output video

Aliases: applyAutopadding(), applyAutoPadding(), applyAutopad(), applyAutoPad(), withAutopadding(), withAutoPadding(), withAutopad(), withAutoPad(), autoPad().

+

This method enables applying auto-padding to the output video. The color parameter specifies which color to use for padding, and must be a color code or name supported by ffmpeg (defaults to 'black').

+

The behaviour of this method depends on calls made to other video size methods:

+
    +
  • when size() has been called with a percentage or has not been called, it is ignored;
  • +
  • when size() has been called with WxH, it adds padding so that the input aspect ratio is kept;
  • +
  • when size() has been called with either Wx? or ?xH, padding is only added if aspect() was called (otherwise the output dimensions are computed from the input aspect ratio and padding is not needed).
  • +
+
// No size specified, autopad() is ignored
+ffmpeg('/path/to/file.avi').autopad();
+
+// Adds padding to keep original aspect ratio.
+// - with a 640x400 input, 40 pixels of padding are added on both sides
+// - with a 600x480 input, 20 pixels of padding are added on top and bottom
+// - with a 320x200 input, video is scaled up to 640x400 and 40px of padding
+//   is added on both sides
+// - with a 320x240 input, video is scaled up to 640x480 and and no padding
+//   is needed
+ffmpeg('/path/to/file.avi').size('640x480').autopad();
+ffmpeg('/path/to/file.avi').size('640x480').autopad('white');
+ffmpeg('/path/to/file.avi').size('640x480').autopad('#35A5FF');
+
+// Size computed from input, autopad() is ignored
+ffmpeg('/path/to/file.avi').size('50%').autopad();
+ffmpeg('/path/to/file.avi').size('640x?').autopad();
+ffmpeg('/path/to/file.avi').size('?x480').autopad();
+
+// Calling .size('640x?').aspect('4:3') is similar to calling .size('640x480')
+// - with a 640x400 input, 40 pixels of padding are added on both sides
+// - with a 600x480 input, 20 pixels of padding are added on top and bottom
+// - with a 320x200 input, video is scaled up to 640x400 and 40px of padding
+//   is added on both sides
+// - with a 320x240 input, video is scaled up to 640x480 and and no padding
+//   is needed
+ffmpeg('/path/to/file.avi').size('640x?').aspect('4:3').autopad();
+ffmpeg('/path/to/file.avi').size('640x?').aspect('4:3').autopad('white');
+ffmpeg('/path/to/file.avi').size('640x?').aspect('4:3').autopad('#35A5FF');
+
+// Calling .size('?x480').aspect('4:3') is similar to calling .size('640x480')
+ffmpeg('/path/to/file.avi').size('?x480').aspect('4:3').autopad();
+ffmpeg('/path/to/file.avi').size('?x480').aspect('4:3').autopad('white');
+ffmpeg('/path/to/file.avi').size('?x480').aspect('4:3').autopad('#35A5FF');

For compatibility with previous fluent-ffmpeg versions, this method also accepts an additional boolean first argument, which specifies whether to apply auto-padding.

+
ffmpeg('/path/to/file.avi').size('640x480').autopad(true);
+ffmpeg('/path/to/file.avi').size('640x480').autopad(true, 'pink');

keepDAR(): force keeping display aspect ratio

Aliases: keepPixelAspect(), keepDisplayAspect(), keepDisplayAspectRatio().

+

This method is useful when converting an input with non-square pixels to an output format that does not support non-square pixels (eg. most image formats). It rescales the input so that the display aspect ratio is the same.

+
ffmpeg('/path/to/file.avi').keepDAR();

Specifying multiple outputs

output(target[, options]): add an output to the command

Aliases: addOutput().

+

Adds an output to the command. The target argument may be an output filename or a writable stream (but at most one output stream may be used with a single command).

+

When target is a stream, an additional options object may be passed. If it is present, it will be passed ffmpeg output stream pipe() method.

+

Adding an output switches the "current output" of the command, so that any fluent-ffmpeg method that applies to an output is indeed applied to the last output added. For backwards compatibility reasons, you may as well call those methods before adding the first output (in which case they will apply to the first output when it is added). Methods that apply to an output are all non-input-related methods, except for complexFilter(), which is global.

+

Also note that when calling output(), you should not use the save() or stream() (formerly saveToFile() and writeToStream()) methods, as they already add an output. Use the run() method to start processing.

+
var stream  = fs.createWriteStream('outputfile.divx');
+
+ffmpeg('/path/to/file.avi')
+  .output('outputfile.mp4')
+  .output(stream);
+
+ffmpeg('/path/to/file.avi')
+  // You may pass a pipe() options object when using a stream
+  .output(stream, { end:true });
+
+// Output-related methods apply to the last output added
+ffmpeg('/path/to/file.avi')
+
+  .output('outputfile.mp4')
+  .audioCodec('libfaac')
+  .videoCodec('libx264')
+  .size('320x200')
+
+  .output(stream)
+  .preset('divx')
+  .size('640x480');
+
+// Use the run() method to run commands with multiple outputs
+ffmpeg('/path/to/file.avi')
+  .output('outputfile.mp4')
+  .output(stream)
+  .on('end', function() {
+    console.log('Finished processing');
+  })
+  .run();

Output options

duration(time): set output duration

Aliases: withDuration(), setDuration().

+

Forces ffmpeg to stop transcoding after a specific output duration. The time parameter may be a number (in seconds) or a timestamp string (with format [[hh:]mm:]ss[.xxx]).

+
ffmpeg('/path/to/file.avi').duration(134.5);
+ffmpeg('/path/to/file.avi').duration('2:14.500');

seek(time): seek output

Aliases: seekOutput().

+

Seeks streams before encoding them into the output. This is different from calling seekInput() in that the offset will only apply to one output. This is also slower, as skipped frames will still be decoded (but dropped).

+

The time argument may be a number (in seconds) or a timestamp string (with format [[hh:]mm:]ss[.xxx]).

+
ffmpeg('/path/to/file.avi')
+  .seekInput('1:00')
+
+  .output('from-1m30s.avi')
+  .seek(30)
+
+  .output('from-1m40s.avi')
+  .seek('0:40');

format(format): set output format

Aliases: withOutputFormat(), toFormat(), outputFormat().

+
ffmpeg('/path/to/file.avi').format('flv');

flvmeta(): update FLV metadata after transcoding

Aliases: updateFlvMetadata().

+

Calling this method makes fluent-ffmpeg run flvmeta or flvtool2 on the output file to add FLV metadata and make files streamable. It does not work when outputting to a stream, and is only useful when outputting to FLV format.

+
ffmpeg('/path/to/file.avi').flvmeta().format('flv');

outputOptions(option...): add custom output options

Aliases: outputOption(), addOutputOption(), addOutputOptions(), withOutputOption(), withOutputOptions(), addOption(), addOptions().

+

This method allows passing any output-related option to ffmpeg. You can call it with a single argument to pass a single option, optionnaly with a space-separated parameter:

+
/* Single option */
+ffmpeg('/path/to/file.avi').outputOptions('-someOption');
+
+/* Single option with parameter */
+ffmpeg('/dev/video0').outputOptions('-r 24');

You may also pass multiple options at once by passing an array to the method:

+
ffmpeg('/path/to/file.avi').outputOptions([
+  '-option1',
+  '-option2 param2',
+  '-option3',
+  '-option4 param4'
+]);

Finally, you may also directly pass command line tokens as separate arguments to the method:

+
ffmpeg('/path/to/file.avi').outputOptions(
+  '-option1',
+  '-option2', 'param2',
+  '-option3',
+  '-option4', 'param4'
+);

Miscellaneous options

preset(preset): use fluent-ffmpeg preset

Aliases: usingPreset().

+

There are two kinds of presets supported by fluent-ffmpeg. The first one is preset modules; to use those, pass the preset name as the preset argument. Preset modules are loaded from the directory specified by the presets constructor option (defaults to the lib/presets fluent-ffmpeg subdirectory).

+
// Uses <path-to-fluent-ffmpeg>/lib/presets/divx.js
+ffmpeg('/path/to/file.avi').preset('divx');
+
+// Uses /my/presets/foo.js
+ffmpeg('/path/to/file.avi', { presets: '/my/presets' }).preset('foo');

Preset modules must export a load() function that takes an FfmpegCommand as an argument. fluent-ffmpeg comes with the following preset modules preinstalled:

+
    +
  • divx
  • +
  • flashvideo
  • +
  • podcast
  • +
+

Here is the code from the included divx preset as an example:

+
exports.load = function(ffmpeg) {
+  ffmpeg
+    .format('avi')
+    .videoBitrate('1024k')
+    .videoCodec('mpeg4')
+    .size('720x?')
+    .audioBitrate('128k')
+    .audioChannels(2)
+    .audioCodec('libmp3lame')
+    .outputOptions(['-vtag DIVX']);
+};

The second kind of preset is preset functions. To use those, pass a function which takes an FfmpegCommand as a parameter.

+
function myPreset(command) {
+  command.format('avi').size('720x?');
+}
+
+ffmpeg('/path/to/file.avi').preset(myPreset);

complexFilter(filters[, map]): set complex filtergraph

Aliases: filterGraph()

+

The complexFilter() method enables setting a complex filtergraph for a command. It expects a filter specification (or a filter specification array) and an optional output mapping parameter as arguments.

+

Filter specifications may be either plain ffmpeg filter strings (eg. split=3[a][b][c]) or objects with the following keys:

+
    +
  • filter: filter name
  • +
  • options: optional; either an option string for the filter (eg. in:0:30), an options array for unnamed options (eg. ['in', 0, 30]) or an object mapping option names to values (eg. { t: 'in', s: 0, n: 30 }). When options is not specified, the filter will be added without any options.
  • +
  • inputs: optional; input stream specifier(s) for the filter. The value may be either a single stream specifier string or an array of stream specifiers. Each specifier can be optionally enclosed in square brackets. When input streams are not specified, ffmpeg will use the first unused streams of the correct type.
  • +
  • outputs: optional; output stream specifier(s) for the filter. The value may be either a single stream specifier string or an array of stream specifiers. Each specifier can be optionally enclosed in square brackets.
  • +
+

The output mapping parameter specifies which stream(s) to include in the output from the filtergraph. It may be either a single stream specifier string or an array of stream specifiers. Each specifier can be optionally enclosed in square brackets. When this parameter is not present, ffmpeg will default to saving all unused outputs to the output file.

+

Note that only one complex filtergraph may be set on a given command. Calling complexFilter() again will override any previously set filtergraph, but you can set as many filters as needed in a single call.

+
ffmpeg('/path/to/file.avi')
+  .complexFilter([
+    // Rescale input stream into stream 'rescaled'
+    'scale=640:480[rescaled]',
+
+    // Duplicate rescaled stream 3 times into streams a, b, and c
+    {
+      filter: 'split', options: '3',
+      inputs: 'rescaled', outputs: ['a', 'b', 'c']
+    },
+
+    // Create stream 'red' by removing green and blue channels from stream 'a'
+    {
+      filter: 'lutrgb', options: { g: 0, b: 0 },
+      inputs: 'a', outputs: 'red'
+    },
+
+    // Create stream 'green' by removing red and blue channels from stream 'b'
+    {
+      filter: 'lutrgb', options: { r: 0, b: 0 },
+      inputs: 'b', outputs: 'green'
+    },
+
+    // Create stream 'blue' by removing red and green channels from stream 'c'
+    {
+      filter: 'lutrgb', options: { r: 0, g: 0 },
+      inputs: 'c', outputs: 'blue'
+    },
+
+    // Pad stream 'red' to 3x width, keeping the video on the left,
+    // and name output 'padded'
+    {
+      filter: 'pad', options: { w: 'iw*3', h: 'ih' },
+      inputs: 'red', outputs: 'padded'
+    },
+
+    // Overlay 'green' onto 'padded', moving it to the center,
+    // and name output 'redgreen'
+    {
+      filter: 'overlay', options: { x: 'w', y: 0 },
+      inputs: ['padded', 'green'], outputs: 'redgreen'
+    },
+
+    // Overlay 'blue' onto 'redgreen', moving it to the right
+    {
+      filter: 'overlay', options: { x: '2*w', y: 0 },
+      inputs: ['redgreen', 'blue'], outputs: 'output'
+    },
+  ], 'output');

Setting event handlers

Before actually running a command, you may want to set event listeners on it to be notified when it's done. The following events are available:

+

'start': ffmpeg process started

The start event is emitted just after ffmpeg has been spawned. It is emitted with the full command line used as an argument.

+
ffmpeg('/path/to/file.avi')
+  .on('start', function(commandLine) {
+    console.log('Spawned Ffmpeg with command: ' + commandLine);
+  });

'codecData': input codec data available

The codecData event is emitted when ffmpeg outputs codec information about its input streams. It is emitted with an object argument with the following keys:

+
    +
  • format: input format
  • +
  • duration: input duration
  • +
  • audio: audio codec
  • +
  • audio_details: audio encoding details
  • +
  • video: video codec
  • +
  • video_details: video encoding details
  • +
+
ffmpeg('/path/to/file.avi')
+  .on('codecData', function(data) {
+    console.log('Input is ' + data.audio + ' audio ' +
+      'with ' + data.video + ' video');
+  });

'progress': transcoding progress information

The progress event is emitted every time ffmpeg reports progress information. It is emitted with an object argument with the following keys:

+
    +
  • frames: total processed frame count
  • +
  • currentFps: framerate at which FFmpeg is currently processing
  • +
  • currentKbps: throughput at which FFmpeg is currently processing
  • +
  • targetSize: current size of the target file in kilobytes
  • +
  • timemark: the timestamp of the current frame in seconds
  • +
  • percent: an estimation of the progress percentage
  • +
+

Note that percent can be (very) inaccurate, as the only progress information fluent-ffmpeg gets from ffmpeg is the total number of frames written (and the corresponding duration). To estimate percentage, fluent-ffmpeg has to guess what the total output duration will be, and uses the first input added to the command to do so. In particular:

+
    +
  • percentage is not available when using an input stream
  • +
  • percentage may be wrong when using multiple inputs with different durations and the first one is not the longest
  • +
+
ffmpeg('/path/to/file.avi')
+  .on('progress', function(progress) {
+    console.log('Processing: ' + progress.percent + '% done');
+  });

'stderr': FFmpeg output

The stderr event is emitted every time FFmpeg outputs a line to stderr. It is emitted with a string containing the line of stderr (minus trailing new line characters).

+
ffmpeg('/path/to/file.avi')
+  .on('stderr', function(stderrLine) {
+    console.log('Stderr output: ' + stderrLine);
+  });

'error': transcoding error

The error event is emitted when an error occurs when running ffmpeg or when preparing its execution. It is emitted with an error object as an argument. If the error happened during ffmpeg execution, listeners will also receive two additional arguments containing ffmpegs stdout and stderr.

+

Warning: you should always set a handler for the error event, as node's default behaviour when an error event without any listeners is emitted is to output the error to the console and terminate the program.

+
ffmpeg('/path/to/file.avi')
+  .on('error', function(err, stdout, stderr) {
+    console.log('Cannot process video: ' + err.message);
+  });

'end': processing finished

The end event is emitted when processing has finished. Listeners receive ffmpeg standard output and standard error as arguments, except when generating thumbnails (see below), in which case they receive an array of the generated filenames.

+
ffmpeg('/path/to/file.avi')
+  .on('end', function(stdout, stderr) {
+    console.log('Transcoding succeeded !');
+  });

stdout is empty when the command outputs to a stream. Both stdout and stderr are limited by the stdoutLines option (defaults to 100 lines).

+

Starting FFmpeg processing

save(filename): save the output to a file

Aliases: saveToFile()

+

Starts ffmpeg processing and saves the output to a file.

+
ffmpeg('/path/to/file.avi')
+  .videoCodec('libx264')
+  .audioCodec('libmp3lame')
+  .size('320x240')
+  .on('error', function(err) {
+    console.log('An error occurred: ' + err.message);
+  })
+  .on('end', function() {
+    console.log('Processing finished !');
+  })
+  .save('/path/to/output.mp4');

Note: the save() method is actually syntactic sugar for calling both output() and run().

+

pipe([stream], [options]): pipe the output to a writable stream

Aliases: stream(), writeToStream().

+

Starts processing and pipes ffmpeg output to a writable stream. The options argument, if present, is passed to ffmpeg output stream's pipe() method (see nodejs documentation).

+
var outStream = fs.createWriteStream('/path/to/output.mp4');
+
+ffmpeg('/path/to/file.avi')
+  .videoCodec('libx264')
+  .audioCodec('libmp3lame')
+  .size('320x240')
+  .on('error', function(err) {
+    console.log('An error occurred: ' + err.message);
+  })
+  .on('end', function() {
+    console.log('Processing finished !');
+  })
+  .pipe(outStream, { end: true });

When no stream argument is present, the pipe() method returns a PassThrough stream, which you can pipe to somewhere else (or just listen to events on).

+

Note: this is only available with node >= 0.10.

+
var command = ffmpeg('/path/to/file.avi')
+  .videoCodec('libx264')
+  .audioCodec('libmp3lame')
+  .size('320x240')
+  .on('error', function(err) {
+    console.log('An error occurred: ' + err.message);
+  })
+  .on('end', function() {
+    console.log('Processing finished !');
+  });
+
+var ffstream = command.pipe();
+ffstream.on('data', function(chunk) {
+  console.log('ffmpeg just wrote ' + chunk.length + ' bytes');
+});

Note: the stream() method is actually syntactic sugar for calling both output() and run().

+

run(): start processing

Aliases: exec(), execute().

+

This method is mainly useful when producing multiple outputs (otherwise the save() or stream() methods are more straightforward). It starts processing with the specified outputs.

+

Warning: do not use run() when calling other processing methods (eg. save(), pipe() or screenshots()).

+
ffmpeg('/path/to/file.avi')
+  .output('screenshot.png')
+  .noAudio()
+  .seek('3:00')
+
+  .output('small.avi')
+  .audioCodec('copy')
+  .size('320x200')
+
+  .output('big.avi')
+  .audioCodec('copy')
+  .size('640x480')
+
+  .on('error', function(err) {
+    console.log('An error occurred: ' + err.message);
+  })
+  .on('end', function() {
+    console.log('Processing finished !');
+  })
+  .run();

mergeToFile(filename, tmpdir): concatenate multiple inputs

Use the input and mergeToFile methods on a command to concatenate multiple inputs to a single output file. The mergeToFile needs a temporary folder as its second argument.

+
ffmpeg('/path/to/part1.avi')
+  .input('/path/to/part2.avi')
+  .input('/path/to/part2.avi')
+  .on('error', function(err) {
+    console.log('An error occurred: ' + err.message);
+  })
+  .on('end', function() {
+    console.log('Merging finished !');
+  })
+  .mergeToFile('/path/to/merged.avi', '/path/to/tempDir');

screenshots(options[, dirname]): generate thumbnails

Aliases: thumbnail(), thumbnails(), screenshot(), takeScreenshots().

+

Use the screenshots method to extract one or several thumbnails and save them as PNG files. There are a few caveats with this implementation, though:

+
    +
  • It will not work on input streams.
  • +
  • Progress information reported by the progress event is not accurate.
  • +
  • It doesn't interract well with filters. In particular, don't use the size() method to resize thumbnails, use the size option instead.
  • +
+

The options argument is an object with the following keys:

+
    +
  • folder: output folder for generated image files. Defaults to the current folder.
  • +
  • filename: output filename pattern (see below). Defaults to "tn.png".
  • +
  • count: specifies how many thumbnails to generate. When using this option, thumbnails are generated at regular intervals in the video (for example, when requesting 3 thumbnails, at 25%, 50% and 75% of the video length). count is ignored when timemarks or timestamps is specified.
  • +
  • timemarks or timestamps: specifies an array of timestamps in the video where thumbnails should be taken. Each timestamp may be a number (in seconds), a percentage string (eg. "50%") or a timestamp string with format "hh:mm:ss.xxx" (where hours, minutes and milliseconds are both optional).
  • +
  • size: specifies a target size for thumbnails (with the same format as the .size() method). Note: you should not use the .size() method when generating thumbnails.
  • +
+

The filename option specifies a filename pattern for generated files. It may contain the following format tokens:

+
    +
  • '%s': offset in seconds
  • +
  • '%w': screenshot width
  • +
  • '%h': screenshot height
  • +
  • '%r': screenshot resolution (same as '%wx%h')
  • +
  • '%f': input filename
  • +
  • '%b': input basename (filename w/o extension)
  • +
  • '%i': index of screenshot in timemark array (can be zero-padded by using it like %000i)
  • +
+

If multiple timemarks are passed and no variable format token ('%s' or '%i') is specified in the filename pattern, _%i will be added automatically.

+

When generating thumbnails, an additional filenames event is dispatched with an array of generated filenames as an argument.

+
ffmpeg('/path/to/video.avi')
+  .on('filenames', function(filenames) {
+    console.log('Will generate ' + filenames.join(', '))
+  })
+  .on('end', function() {
+    console.log('Screenshots taken');
+  })
+  .screenshots({
+    // Will take screens at 20%, 40%, 60% and 80% of the video
+    count: 4,
+    folder: '/path/to/output'
+  });
+
+ffmpeg('/path/to/video.avi')
+  .screenshots({
+    timestamps: [30.5, '50%', '01:10.123'],
+    filename: 'thumbnail-at-%s-seconds.png',
+    folder: '/path/to/output',
+    size: '320x240'
+  });

Controlling the FFmpeg process

kill([signal='SIGKILL']): kill any running ffmpeg process

This method sends signal (defaults to 'SIGKILL') to the ffmpeg process. It only has sense when processing has started. Sending a signal that terminates the process will result in the error event being emitted.

+
var command = ffmpeg('/path/to/video.avi')
+  .videoCodec('libx264')
+  .audioCodec('libmp3lame')
+  .on('start', function() {
+    // Send SIGSTOP to suspend ffmpeg
+    command.kill('SIGSTOP');
+
+    doSomething(function() {
+      // Send SIGCONT to resume ffmpeg
+      command.kill('SIGCONT');
+    });
+  })
+  .save('/path/to/output.mp4');
+
+// Kill ffmpeg after 60 seconds anyway
+setTimeout(function() {
+  command.on('error', function() {
+    console.log('Ffmpeg has been killed');
+  });
+
+  command.kill();
+}, 60000);

renice([niceness=0]): change ffmpeg process priority

This method alters the niceness (priority) value of any running ffmpeg process (if any) and any process spawned in the future. The niceness parameter may range from -20 (highest priority) to 20 (lowest priority) and defaults to 0 (which is the default process niceness on most *nix systems).

+

Note: this method is ineffective on Windows platforms.

+
// Set startup niceness
+var command = ffmpeg('/path/to/file.avi')
+  .renice(5)
+  .save('/path/to/output.mp4');
+
+// Command takes too long, raise its priority
+setTimeout(function() {
+  command.renice(-5);
+}, 60000);

Reading video metadata

You can read metadata from any valid ffmpeg input file with the modules ffprobe method.

+
ffmpeg.ffprobe('/path/to/file.avi', function(err, metadata) {
+    console.dir(metadata);
+});

You may also call the ffprobe method on an FfmpegCommand to probe one of its input. You may pass a 0-based input number as a first argument to specify which input to read metadata from, otherwise the method will probe the last added input.

+
ffmpeg('/path/to/file1.avi')
+  .input('/path/to/file2.avi')
+  .ffprobe(function(err, data) {
+    console.log('file2 metadata:');
+    console.dir(data);
+  });
+
+ffmpeg('/path/to/file1.avi')
+  .input('/path/to/file2.avi')
+  .ffprobe(0, function(err, data) {
+    console.log('file1 metadata:');
+    console.dir(data);
+  });

Warning: ffprobe may be called with an input stream, but in this case it will consume data from the stream, and this data will no longer be available for ffmpeg. Using both ffprobe and a transcoding command on the same input stream will most likely fail unless the stream is a live stream. Only do this if you know what you're doing.

+

The returned object is the same that is returned by running the following command from your shell (depending on your ffmpeg version you may have to replace -of with -print_format) :

+
$ ffprobe -of json -show_streams -show_format /path/to/file.avi

It will contain information about the container (as a format key) and an array of streams (as a stream key). The format object and each stream object also contains metadata tags, depending on the format:

+
{
+  "streams": [
+    {
+      "index": 0,
+      "codec_name": "h264",
+      "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
+      "profile": "Constrained Baseline",
+      "codec_type": "video",
+      "codec_time_base": "1/48",
+      "codec_tag_string": "avc1",
+      "codec_tag": "0x31637661",
+      "width": 320,
+      "height": 180,
+      "has_b_frames": 0,
+      "sample_aspect_ratio": "1:1",
+      "display_aspect_ratio": "16:9",
+      "pix_fmt": "yuv420p",
+      "level": 13,
+      "r_frame_rate": "24/1",
+      "avg_frame_rate": "24/1",
+      "time_base": "1/24",
+      "start_pts": 0,
+      "start_time": "0.000000",
+      "duration_ts": 14315,
+      "duration": "596.458333",
+      "bit_rate": "702655",
+      "nb_frames": "14315",
+      "disposition": {
+        "default": 0,
+        "dub": 0,
+        "original": 0,
+        "comment": 0,
+        "lyrics": 0,
+        "karaoke": 0,
+        "forced": 0,
+        "hearing_impaired": 0,
+        "visual_impaired": 0,
+        "clean_effects": 0,
+        "attached_pic": 0
+      },
+      "tags": {
+        "creation_time": "1970-01-01 00:00:00",
+        "language": "und",
+        "handler_name": "\fVideoHandler"
+      }
+    },
+    {
+      "index": 1,
+      "codec_name": "aac",
+      "codec_long_name": "AAC (Advanced Audio Coding)",
+      "codec_type": "audio",
+      "codec_time_base": "1/48000",
+      "codec_tag_string": "mp4a",
+      "codec_tag": "0x6134706d",
+      "sample_fmt": "fltp",
+      "sample_rate": "48000",
+      "channels": 2,
+      "bits_per_sample": 0,
+      "r_frame_rate": "0/0",
+      "avg_frame_rate": "0/0",
+      "time_base": "1/48000",
+      "start_pts": 0,
+      "start_time": "0.000000",
+      "duration_ts": 28619776,
+      "duration": "596.245333",
+      "bit_rate": "159997",
+      "nb_frames": "27949",
+      "disposition": {
+        "default": 0,
+        "dub": 0,
+        "original": 0,
+        "comment": 0,
+        "lyrics": 0,
+        "karaoke": 0,
+        "forced": 0,
+        "hearing_impaired": 0,
+        "visual_impaired": 0,
+        "clean_effects": 0,
+        "attached_pic": 0
+      },
+      "tags": {
+        "creation_time": "1970-01-01 00:00:00",
+        "language": "und",
+        "handler_name": "\fSoundHandler"
+      }
+    }
+  ],
+  "format": {
+    "filename": "http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4",
+    "nb_streams": 2,
+    "format_name": "mov,mp4,m4a,3gp,3g2,mj2",
+    "format_long_name": "QuickTime / MOV",
+    "start_time": "0.000000",
+    "duration": "596.459000",
+    "size": "64657027",
+    "bit_rate": "867211",
+    "tags": {
+      "major_brand": "isom",
+      "minor_version": "512",
+      "compatible_brands": "mp41",
+      "creation_time": "1970-01-01 00:00:00",
+      "title": "Big Buck Bunny",
+      "artist": "Blender Foundation",
+      "composer": "Blender Foundation",
+      "date": "2008",
+      "encoder": "Lavf52.14.0"
+    }
+  }
+}

Querying ffmpeg capabilities

fluent-ffmpeg enables you to query your installed ffmpeg version for supported formats, codecs, encoders and filters.

+

+var Ffmpeg = require('fluent-ffmpeg');
+
+Ffmpeg.getAvailableFormats(function(err, formats) {
+  console.log('Available formats:');
+  console.dir(formats);
+});
+
+Ffmpeg.getAvailableCodecs(function(err, codecs) {
+  console.log('Available codecs:');
+  console.dir(codecs);
+});
+
+Ffmpeg.getAvailableEncoders(function(err, encoders) {
+  console.log('Available encoders:');
+  console.dir(encoders);
+});
+
+Ffmpeg.getAvailableFilters(function(err, filters) {
+  console.log("Available filters:");
+  console.dir(filters);
+});
+
+// Those methods can also be called on commands
+new Ffmpeg({ source: '/path/to/file.avi' })
+  .getAvailableCodecs(...);

These methods pass an object to their callback with keys for each available format, codec or filter.

+

The returned object for formats looks like:

+
{
+  ...
+  mp4: {
+    description: 'MP4 (MPEG-4 Part 14)',
+    canDemux: false,
+    canMux: true
+  },
+  ...
+}
    +
  • canDemux indicates whether ffmpeg is able to extract streams from (demux) this format
  • +
  • canMux indicates whether ffmpeg is able to write streams into (mux) this format
  • +
+

The returned object for codecs looks like:

+
{
+  ...
+  mp3: {
+    type: 'audio',
+    description: 'MP3 (MPEG audio layer 3)',
+    canDecode: true,
+    canEncode: true,
+    intraFrameOnly: false,
+    isLossy: true,
+    isLossless: false
+  },
+  ...
+}
    +
  • type indicates the codec type, either "audio", "video" or "subtitle"
  • +
  • canDecode tells whether ffmpeg is able to decode streams using this codec
  • +
  • canEncode tells whether ffmpeg is able to encode streams using this codec
  • +
+

Depending on your ffmpeg version (or if you use avconv instead) other keys may be present, for example:

+
    +
  • directRendering tells if codec can render directly in GPU RAM; useless for transcoding purposes
  • +
  • intraFrameOnly tells if codec can only work with I-frames
  • +
  • isLossy tells if codec can do lossy encoding/decoding
  • +
  • isLossless tells if codec can do lossless encoding/decoding
  • +
+

With some ffmpeg/avcodec versions, the description includes encoder/decoder mentions in the form "Foo codec (decoders: libdecodefoo) (encoders: libencodefoo)". In this case you will want to use those encoders/decoders instead (the codecs object returned by getAvailableCodecs will also include them).

+

The returned object for encoders looks like:

+
{
+  ...
+  libmp3lame: {
+    type: 'audio',
+    description: 'MP3 (MPEG audio layer 3) (codec mp3)',
+    frameMT: false,
+    sliceMT: false,
+    experimental: false,
+    drawHorizBand: false,
+    directRendering: false
+  },
+  ...
+}
    +
  • type indicates the encoder type, either "audio", "video" or "subtitle"
  • +
  • experimental indicates whether the encoder is experimental. When using such a codec, fluent-ffmpeg automatically adds the '-strict experimental' flag.
  • +
+

The returned object for filters looks like:

+
{
+  ...
+  scale: {
+    description: 'Scale the input video to width:height size and/or convert the image format.',
+    input: 'video',
+    multipleInputs: false,
+    output: 'video',
+    multipleOutputs: false
+  },
+  ...
+}
    +
  • input tells the input type this filter operates on, one of "audio", "video" or "none". When "none", the filter likely generates output from nothing
  • +
  • multipleInputs tells whether the filter can accept multiple inputs
  • +
  • output tells the output type this filter generates, one of "audio", "video" or "none". When "none", the filter has no output (sink only)
  • +
  • multipleInputs tells whether the filter can generate multiple outputs
  • +
+

Cloning an FfmpegCommand

You can create clones of an FfmpegCommand instance by calling the clone() method. The clone will be an exact copy of the original at the time it has been called (same inputs, same options, same event handlers, etc.). This is mainly useful when you want to apply different processing options on the same input.

+

Setting options, adding inputs or event handlers on a clone will not affect the original command.

+
// Create a command to convert source.avi to MP4
+var command = ffmpeg('/path/to/source.avi')
+  .audioCodec('libfaac')
+  .videoCodec('libx264')
+  .format('mp4');
+
+// Create a clone to save a small resized version
+command.clone()
+  .size('320x200')
+  .save('/path/to/output-small.mp4');
+
+// Create a clone to save a medium resized version
+command.clone()
+  .size('640x400')
+  .save('/path/to/output-medium.mp4');
+
+// Save a converted version with the original size
+command.save('/path/to/output-original-size.mp4');

Contributing

Contributions in any form are highly encouraged and welcome! Be it new or improved presets, optimized streaming code or just some cleanup. So start forking!

+

Code contributions

If you want to add new features or change the API, please submit an issue first to make sure no one else is already working on the same thing and discuss the implementation and API details with maintainers and users by creating an issue. When everything is settled down, you can submit a pull request.

+

When fixing bugs, you can directly submit a pull request.

+

Make sure to add tests for your features and bugfixes and update the documentation (see below) before submitting your code!

+

Documentation contributions

You can directly submit pull requests for documentation changes. Make sure to regenerate the documentation before submitting (see below).

+

Updating the documentation

When contributing API changes (new methods for example), be sure to update the README file and JSDoc comments in the code. fluent-ffmpeg comes with a plugin that enables two additional JSDoc tags:

+
    +
  • @aliases: document method aliases
  • +
+
/**
+ * ...
+ * @method FfmpegCommand#myMethod
+ * @aliases myMethodAlias,myOtherMethodAlias
+ */
    +
  • @category: set method category
  • +
+
/**
+ * ...
+ * @category Audio
+ */

You can regenerate the JSDoc documentation by running the following command:

+
$ make doc

To avoid polluting the commit history, make sure to only commit the regenerated JSDoc once and in a specific commit.

+

Running tests

To run unit tests, first make sure you installed npm dependencies (run npm install).

+
$ make test

If you want to re-generate the test coverage report (filed under test/coverage.html), run

+
$ make test-cov

Make sure your ffmpeg installation is up-to-date to prevent strange assertion errors because of missing codecs/bugfixes.

+

Main contributors

+

License

(The MIT License)

+

Copyright (c) 2011 Stefan Schaermeli <schaermu@gmail.com>

+

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

+

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

+

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+
+ + + + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.4.0 on Sun May 01 2016 12:10:37 GMT+0200 (CEST) +
+ + + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/doc/inputs.js.html b/node_modules/fluent-ffmpeg/doc/inputs.js.html new file mode 100644 index 0000000..e5d2cf7 --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/inputs.js.html @@ -0,0 +1,225 @@ + + + + + JSDoc: Source: options/inputs.js + + + + + + + + + + +
+ +

Source: options/inputs.js

+ + + + + +
+
+
/*jshint node:true*/
+'use strict';
+
+var utils = require('../utils');
+
+/*
+ *! Input-related methods
+ */
+
+module.exports = function(proto) {
+  /**
+   * Add an input to command
+   *
+   * Also switches "current input", that is the input that will be affected
+   * by subsequent input-related methods.
+   *
+   * Note: only one stream input is supported for now.
+   *
+   * @method FfmpegCommand#input
+   * @category Input
+   * @aliases mergeAdd,addInput
+   *
+   * @param {String|Readable} source input file path or readable stream
+   * @return FfmpegCommand
+   */
+  proto.mergeAdd =
+  proto.addInput =
+  proto.input = function(source) {
+    var isFile = false;
+
+    if (typeof source !== 'string') {
+      if (!('readable' in source) || !(source.readable)) {
+        throw new Error('Invalid input');
+      }
+
+      var hasInputStream = this._inputs.some(function(input) {
+        return typeof input.source !== 'string';
+      });
+
+      if (hasInputStream) {
+        throw new Error('Only one input stream is supported');
+      }
+
+      source.pause();
+    } else {
+      var protocol = source.match(/^([a-z]{2,}):/i);
+      isFile = !protocol || protocol[0] === 'file';
+    }
+
+    this._inputs.push(this._currentInput = {
+      source: source,
+      isFile: isFile,
+      options: utils.args()
+    });
+
+    return this;
+  };
+
+
+  /**
+   * Specify input format for the last specified input
+   *
+   * @method FfmpegCommand#inputFormat
+   * @category Input
+   * @aliases withInputFormat,fromFormat
+   *
+   * @param {String} format input format
+   * @return FfmpegCommand
+   */
+  proto.withInputFormat =
+  proto.inputFormat =
+  proto.fromFormat = function(format) {
+    if (!this._currentInput) {
+      throw new Error('No input specified');
+    }
+
+    this._currentInput.options('-f', format);
+    return this;
+  };
+
+
+  /**
+   * Specify input FPS for the last specified input
+   * (only valid for raw video formats)
+   *
+   * @method FfmpegCommand#inputFps
+   * @category Input
+   * @aliases withInputFps,withInputFPS,withFpsInput,withFPSInput,inputFPS,inputFps,fpsInput
+   *
+   * @param {Number} fps input FPS
+   * @return FfmpegCommand
+   */
+  proto.withInputFps =
+  proto.withInputFPS =
+  proto.withFpsInput =
+  proto.withFPSInput =
+  proto.inputFPS =
+  proto.inputFps =
+  proto.fpsInput =
+  proto.FPSInput = function(fps) {
+    if (!this._currentInput) {
+      throw new Error('No input specified');
+    }
+
+    this._currentInput.options('-r', fps);
+    return this;
+  };
+
+
+  /**
+   * Use native framerate for the last specified input
+   *
+   * @method FfmpegCommand#native
+   * @category Input
+   * @aliases nativeFramerate,withNativeFramerate
+   *
+   * @return FfmmegCommand
+   */
+  proto.nativeFramerate =
+  proto.withNativeFramerate =
+  proto.native = function() {
+    if (!this._currentInput) {
+      throw new Error('No input specified');
+    }
+
+    this._currentInput.options('-re');
+    return this;
+  };
+
+
+  /**
+   * Specify input seek time for the last specified input
+   *
+   * @method FfmpegCommand#seekInput
+   * @category Input
+   * @aliases setStartTime,seekTo
+   *
+   * @param {String|Number} seek seek time in seconds or as a '[hh:[mm:]]ss[.xxx]' string
+   * @return FfmpegCommand
+   */
+  proto.setStartTime =
+  proto.seekInput = function(seek) {
+    if (!this._currentInput) {
+      throw new Error('No input specified');
+    }
+
+    this._currentInput.options('-ss', seek);
+
+    return this;
+  };
+
+
+  /**
+   * Loop over the last specified input
+   *
+   * @method FfmpegCommand#loop
+   * @category Input
+   *
+   * @param {String|Number} [duration] loop duration in seconds or as a '[[hh:]mm:]ss[.xxx]' string
+   * @return FfmpegCommand
+   */
+  proto.loop = function(duration) {
+    if (!this._currentInput) {
+      throw new Error('No input specified');
+    }
+
+    this._currentInput.options('-loop', '1');
+
+    if (typeof duration !== 'undefined') {
+      this.duration(duration);
+    }
+
+    return this;
+  };
+};
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.3.0-alpha5 on Tue Jul 08 2014 21:22:19 GMT+0200 (CEST) +
+ + + + + diff --git a/node_modules/fluent-ffmpeg/doc/misc.js.html b/node_modules/fluent-ffmpeg/doc/misc.js.html new file mode 100644 index 0000000..6d0b7a3 --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/misc.js.html @@ -0,0 +1,91 @@ + + + + + JSDoc: Source: options/misc.js + + + + + + + + + + +
+ +

Source: options/misc.js

+ + + + + +
+
+
/*jshint node:true*/
+'use strict';
+
+var path = require('path');
+
+/*
+ *! Miscellaneous methods
+ */
+
+module.exports = function(proto) {
+  /**
+   * Use preset
+   *
+   * @method FfmpegCommand#preset
+   * @category Miscellaneous
+   * @aliases usingPreset
+   *
+   * @param {String|Function} preset preset name or preset function
+   */
+  proto.usingPreset =
+  proto.preset = function(preset) {
+    if (typeof preset === 'function') {
+      preset(this);
+    } else {
+      try {
+        var modulePath = path.join(this.options.presets, preset);
+        var module = require(modulePath);
+
+        if (typeof module.load === 'function') {
+          module.load(this);
+        } else {
+          throw new Error('preset ' + modulePath + ' has no load() function');
+        }
+      } catch (err) {
+        throw new Error('preset ' + modulePath + ' could not be loaded: ' + err.message);
+      }
+    }
+
+    return this;
+  };
+};
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.3.0-alpha5 on Tue Jul 08 2014 21:22:19 GMT+0200 (CEST) +
+ + + + + diff --git a/node_modules/fluent-ffmpeg/doc/options_audio.js.html b/node_modules/fluent-ffmpeg/doc/options_audio.js.html new file mode 100644 index 0000000..7a1681d --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/options_audio.js.html @@ -0,0 +1,228 @@ + + + + + JSDoc: Source: options/audio.js + + + + + + + + + + +
+ +

Source: options/audio.js

+ + + + + +
+
+
/*jshint node:true*/
+'use strict';
+
+var utils = require('../utils');
+
+
+/*
+ *! Audio-related methods
+ */
+
+module.exports = function(proto) {
+  /**
+   * Disable audio in the output
+   *
+   * @method FfmpegCommand#noAudio
+   * @category Audio
+   * @aliases withNoAudio
+   * @return FfmpegCommand
+   */
+  proto.withNoAudio =
+  proto.noAudio = function() {
+    this._currentOutput.audio.clear();
+    this._currentOutput.audioFilters.clear();
+    this._currentOutput.audio('-an');
+
+    return this;
+  };
+
+
+  /**
+   * Specify audio codec
+   *
+   * @method FfmpegCommand#audioCodec
+   * @category Audio
+   * @aliases withAudioCodec
+   *
+   * @param {String} codec audio codec name
+   * @return FfmpegCommand
+   */
+  proto.withAudioCodec =
+  proto.audioCodec = function(codec) {
+    this._currentOutput.audio('-acodec', codec);
+
+    return this;
+  };
+
+
+  /**
+   * Specify audio bitrate
+   *
+   * @method FfmpegCommand#audioBitrate
+   * @category Audio
+   * @aliases withAudioBitrate
+   *
+   * @param {String|Number} bitrate audio bitrate in kbps (with an optional 'k' suffix)
+   * @return FfmpegCommand
+   */
+  proto.withAudioBitrate =
+  proto.audioBitrate = function(bitrate) {
+    this._currentOutput.audio('-b:a', ('' + bitrate).replace(/k?$/, 'k'));
+    return this;
+  };
+
+
+  /**
+   * Specify audio channel count
+   *
+   * @method FfmpegCommand#audioChannels
+   * @category Audio
+   * @aliases withAudioChannels
+   *
+   * @param {Number} channels channel count
+   * @return FfmpegCommand
+   */
+  proto.withAudioChannels =
+  proto.audioChannels = function(channels) {
+    this._currentOutput.audio('-ac', channels);
+    return this;
+  };
+
+
+  /**
+   * Specify audio frequency
+   *
+   * @method FfmpegCommand#audioFrequency
+   * @category Audio
+   * @aliases withAudioFrequency
+   *
+   * @param {Number} freq audio frequency in Hz
+   * @return FfmpegCommand
+   */
+  proto.withAudioFrequency =
+  proto.audioFrequency = function(freq) {
+    this._currentOutput.audio('-ar', freq);
+    return this;
+  };
+
+
+  /**
+   * Specify audio quality
+   *
+   * @method FfmpegCommand#audioQuality
+   * @category Audio
+   * @aliases withAudioQuality
+   *
+   * @param {Number} quality audio quality factor
+   * @return FfmpegCommand
+   */
+  proto.withAudioQuality =
+  proto.audioQuality = function(quality) {
+    this._currentOutput.audio('-aq', quality);
+    return this;
+  };
+
+
+  /**
+   * Specify custom audio filter(s)
+   *
+   * Can be called both with one or many filters, or a filter array.
+   *
+   * @example
+   * command.audioFilters('filter1');
+   *
+   * @example
+   * command.audioFilters('filter1', 'filter2=param1=value1:param2=value2');
+   *
+   * @example
+   * command.audioFilters(['filter1', 'filter2']);
+   *
+   * @example
+   * command.audioFilters([
+   *   {
+   *     filter: 'filter1'
+   *   },
+   *   {
+   *     filter: 'filter2',
+   *     options: 'param=value:param=value'
+   *   }
+   * ]);
+   *
+   * @example
+   * command.audioFilters(
+   *   {
+   *     filter: 'filter1',
+   *     options: ['value1', 'value2']
+   *   },
+   *   {
+   *     filter: 'filter2',
+   *     options: { param1: 'value1', param2: 'value2' }
+   *   }
+   * );
+   *
+   * @method FfmpegCommand#audioFilters
+   * @aliases withAudioFilter,withAudioFilters,audioFilter
+   * @category Audio
+   *
+   * @param {...String|String[]|Object[]} filters audio filter strings, string array or
+   *   filter specification array, each with the following properties:
+   * @param {String} filters.filter filter name
+   * @param {String|String[]|Object} [filters.options] filter option string, array, or object
+   * @return FfmpegCommand
+   */
+  proto.withAudioFilter =
+  proto.withAudioFilters =
+  proto.audioFilter =
+  proto.audioFilters = function(filters) {
+    if (arguments.length > 1) {
+      filters = [].slice.call(arguments);
+    }
+
+    if (!Array.isArray(filters)) {
+      filters = [filters];
+    }
+
+    this._currentOutput.audioFilters(utils.makeFilterStrings(filters));
+    return this;
+  };
+};
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.4.0 on Sun May 01 2016 12:10:37 GMT+0200 (CEST) +
+ + + + + diff --git a/node_modules/fluent-ffmpeg/doc/options_custom.js.html b/node_modules/fluent-ffmpeg/doc/options_custom.js.html new file mode 100644 index 0000000..b903fe0 --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/options_custom.js.html @@ -0,0 +1,262 @@ + + + + + JSDoc: Source: options/custom.js + + + + + + + + + + +
+ +

Source: options/custom.js

+ + + + + +
+
+
/*jshint node:true*/
+'use strict';
+
+var utils = require('../utils');
+
+
+/*
+ *! Custom options methods
+ */
+
+module.exports = function(proto) {
+  /**
+   * Add custom input option(s)
+   *
+   * When passing a single string or an array, each string containing two
+   * words is split (eg. inputOptions('-option value') is supported) for
+   * compatibility reasons.  This is not the case when passing more than
+   * one argument.
+   *
+   * @example
+   * command.inputOptions('option1');
+   *
+   * @example
+   * command.inputOptions('option1', 'option2');
+   *
+   * @example
+   * command.inputOptions(['option1', 'option2']);
+   *
+   * @method FfmpegCommand#inputOptions
+   * @category Custom options
+   * @aliases addInputOption,addInputOptions,withInputOption,withInputOptions,inputOption
+   *
+   * @param {...String} options option string(s) or string array
+   * @return FfmpegCommand
+   */
+  proto.addInputOption =
+  proto.addInputOptions =
+  proto.withInputOption =
+  proto.withInputOptions =
+  proto.inputOption =
+  proto.inputOptions = function(options) {
+    if (!this._currentInput) {
+      throw new Error('No input specified');
+    }
+
+    var doSplit = true;
+
+    if (arguments.length > 1) {
+      options = [].slice.call(arguments);
+      doSplit = false;
+    }
+
+    if (!Array.isArray(options)) {
+      options = [options];
+    }
+
+    this._currentInput.options(options.reduce(function(options, option) {
+      var split = String(option).split(' ');
+
+      if (doSplit && split.length === 2) {
+        options.push(split[0], split[1]);
+      } else {
+        options.push(option);
+      }
+
+      return options;
+    }, []));
+    return this;
+  };
+
+
+  /**
+   * Add custom output option(s)
+   *
+   * @example
+   * command.outputOptions('option1');
+   *
+   * @example
+   * command.outputOptions('option1', 'option2');
+   *
+   * @example
+   * command.outputOptions(['option1', 'option2']);
+   *
+   * @method FfmpegCommand#outputOptions
+   * @category Custom options
+   * @aliases addOutputOption,addOutputOptions,addOption,addOptions,withOutputOption,withOutputOptions,withOption,withOptions,outputOption
+   *
+   * @param {...String} options option string(s) or string array
+   * @return FfmpegCommand
+   */
+  proto.addOutputOption =
+  proto.addOutputOptions =
+  proto.addOption =
+  proto.addOptions =
+  proto.withOutputOption =
+  proto.withOutputOptions =
+  proto.withOption =
+  proto.withOptions =
+  proto.outputOption =
+  proto.outputOptions = function(options) {
+    var doSplit = true;
+
+    if (arguments.length > 1) {
+      options = [].slice.call(arguments);
+      doSplit = false;
+    }
+
+    if (!Array.isArray(options)) {
+      options = [options];
+    }
+
+    this._currentOutput.options(options.reduce(function(options, option) {
+      var split = String(option).split(' ');
+
+      if (doSplit && split.length === 2) {
+        options.push(split[0], split[1]);
+      } else {
+        options.push(option);
+      }
+
+      return options;
+    }, []));
+    return this;
+  };
+
+
+  /**
+   * Specify a complex filtergraph
+   *
+   * Calling this method will override any previously set filtergraph, but you can set
+   * as many filters as needed in one call.
+   *
+   * @example <caption>Overlay an image over a video (using a filtergraph string)</caption>
+   *   ffmpeg()
+   *     .input('video.avi')
+   *     .input('image.png')
+   *     .complexFilter('[0:v][1:v]overlay[out]', ['out']);
+   *
+   * @example <caption>Overlay an image over a video (using a filter array)</caption>
+   *   ffmpeg()
+   *     .input('video.avi')
+   *     .input('image.png')
+   *     .complexFilter([{
+   *       filter: 'overlay',
+   *       inputs: ['0:v', '1:v'],
+   *       outputs: ['out']
+   *     }], ['out']);
+   *
+   * @example <caption>Split video into RGB channels and output a 3x1 video with channels side to side</caption>
+   *  ffmpeg()
+   *    .input('video.avi')
+   *    .complexFilter([
+   *      // Duplicate video stream 3 times into streams a, b, and c
+   *      { filter: 'split', options: '3', outputs: ['a', 'b', 'c'] },
+   *
+   *      // Create stream 'red' by cancelling green and blue channels from stream 'a'
+   *      { filter: 'lutrgb', options: { g: 0, b: 0 }, inputs: 'a', outputs: 'red' },
+   *
+   *      // Create stream 'green' by cancelling red and blue channels from stream 'b'
+   *      { filter: 'lutrgb', options: { r: 0, b: 0 }, inputs: 'b', outputs: 'green' },
+   *
+   *      // Create stream 'blue' by cancelling red and green channels from stream 'c'
+   *      { filter: 'lutrgb', options: { r: 0, g: 0 }, inputs: 'c', outputs: 'blue' },
+   *
+   *      // Pad stream 'red' to 3x width, keeping the video on the left, and name output 'padded'
+   *      { filter: 'pad', options: { w: 'iw*3', h: 'ih' }, inputs: 'red', outputs: 'padded' },
+   *
+   *      // Overlay 'green' onto 'padded', moving it to the center, and name output 'redgreen'
+   *      { filter: 'overlay', options: { x: 'w', y: 0 }, inputs: ['padded', 'green'], outputs: 'redgreen'},
+   *
+   *      // Overlay 'blue' onto 'redgreen', moving it to the right
+   *      { filter: 'overlay', options: { x: '2*w', y: 0 }, inputs: ['redgreen', 'blue']},
+   *    ]);
+   *
+   * @method FfmpegCommand#complexFilter
+   * @category Custom options
+   * @aliases filterGraph
+   *
+   * @param {String|Array} spec filtergraph string or array of filter specification
+   *   objects, each having the following properties:
+   * @param {String} spec.filter filter name
+   * @param {String|Array} [spec.inputs] (array of) input stream specifier(s) for the filter,
+   *   defaults to ffmpeg automatically choosing the first unused matching streams
+   * @param {String|Array} [spec.outputs] (array of) output stream specifier(s) for the filter,
+   *   defaults to ffmpeg automatically assigning the output to the output file
+   * @param {Object|String|Array} [spec.options] filter options, can be omitted to not set any options
+   * @param {Array} [map] (array of) stream specifier(s) from the graph to include in
+   *   ffmpeg output, defaults to ffmpeg automatically choosing the first matching streams.
+   * @return FfmpegCommand
+   */
+  proto.filterGraph =
+  proto.complexFilter = function(spec, map) {
+    this._complexFilters.clear();
+
+    if (!Array.isArray(spec)) {
+      spec = [spec];
+    }
+
+    this._complexFilters('-filter_complex', utils.makeFilterStrings(spec).join(';'));
+
+    if (Array.isArray(map)) {
+      var self = this;
+      map.forEach(function(streamSpec) {
+        self._complexFilters('-map', streamSpec.replace(utils.streamRegexp, '[$1]'));
+      });
+    } else if (typeof map === 'string') {
+      this._complexFilters('-map', map.replace(utils.streamRegexp, '[$1]'));
+    }
+
+    return this;
+  };
+};
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.4.0 on Sun May 01 2016 12:10:37 GMT+0200 (CEST) +
+ + + + + diff --git a/node_modules/fluent-ffmpeg/doc/options_inputs.js.html b/node_modules/fluent-ffmpeg/doc/options_inputs.js.html new file mode 100644 index 0000000..a3a64b8 --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/options_inputs.js.html @@ -0,0 +1,228 @@ + + + + + JSDoc: Source: options/inputs.js + + + + + + + + + + +
+ +

Source: options/inputs.js

+ + + + + +
+
+
/*jshint node:true*/
+'use strict';
+
+var utils = require('../utils');
+
+/*
+ *! Input-related methods
+ */
+
+module.exports = function(proto) {
+  /**
+   * Add an input to command
+   *
+   * Also switches "current input", that is the input that will be affected
+   * by subsequent input-related methods.
+   *
+   * Note: only one stream input is supported for now.
+   *
+   * @method FfmpegCommand#input
+   * @category Input
+   * @aliases mergeAdd,addInput
+   *
+   * @param {String|Readable} source input file path or readable stream
+   * @return FfmpegCommand
+   */
+  proto.mergeAdd =
+  proto.addInput =
+  proto.input = function(source) {
+    var isFile = false;
+    var isStream = false;
+
+    if (typeof source !== 'string') {
+      if (!('readable' in source) || !(source.readable)) {
+        throw new Error('Invalid input');
+      }
+
+      var hasInputStream = this._inputs.some(function(input) {
+        return input.isStream;
+      });
+
+      if (hasInputStream) {
+        throw new Error('Only one input stream is supported');
+      }
+
+      isStream = true;
+      source.pause();
+    } else {
+      var protocol = source.match(/^([a-z]{2,}):/i);
+      isFile = !protocol || protocol[0] === 'file';
+    }
+
+    this._inputs.push(this._currentInput = {
+      source: source,
+      isFile: isFile,
+      isStream: isStream,
+      options: utils.args()
+    });
+
+    return this;
+  };
+
+
+  /**
+   * Specify input format for the last specified input
+   *
+   * @method FfmpegCommand#inputFormat
+   * @category Input
+   * @aliases withInputFormat,fromFormat
+   *
+   * @param {String} format input format
+   * @return FfmpegCommand
+   */
+  proto.withInputFormat =
+  proto.inputFormat =
+  proto.fromFormat = function(format) {
+    if (!this._currentInput) {
+      throw new Error('No input specified');
+    }
+
+    this._currentInput.options('-f', format);
+    return this;
+  };
+
+
+  /**
+   * Specify input FPS for the last specified input
+   * (only valid for raw video formats)
+   *
+   * @method FfmpegCommand#inputFps
+   * @category Input
+   * @aliases withInputFps,withInputFPS,withFpsInput,withFPSInput,inputFPS,inputFps,fpsInput
+   *
+   * @param {Number} fps input FPS
+   * @return FfmpegCommand
+   */
+  proto.withInputFps =
+  proto.withInputFPS =
+  proto.withFpsInput =
+  proto.withFPSInput =
+  proto.inputFPS =
+  proto.inputFps =
+  proto.fpsInput =
+  proto.FPSInput = function(fps) {
+    if (!this._currentInput) {
+      throw new Error('No input specified');
+    }
+
+    this._currentInput.options('-r', fps);
+    return this;
+  };
+
+
+  /**
+   * Use native framerate for the last specified input
+   *
+   * @method FfmpegCommand#native
+   * @category Input
+   * @aliases nativeFramerate,withNativeFramerate
+   *
+   * @return FfmmegCommand
+   */
+  proto.nativeFramerate =
+  proto.withNativeFramerate =
+  proto.native = function() {
+    if (!this._currentInput) {
+      throw new Error('No input specified');
+    }
+
+    this._currentInput.options('-re');
+    return this;
+  };
+
+
+  /**
+   * Specify input seek time for the last specified input
+   *
+   * @method FfmpegCommand#seekInput
+   * @category Input
+   * @aliases setStartTime,seekTo
+   *
+   * @param {String|Number} seek seek time in seconds or as a '[hh:[mm:]]ss[.xxx]' string
+   * @return FfmpegCommand
+   */
+  proto.setStartTime =
+  proto.seekInput = function(seek) {
+    if (!this._currentInput) {
+      throw new Error('No input specified');
+    }
+
+    this._currentInput.options('-ss', seek);
+
+    return this;
+  };
+
+
+  /**
+   * Loop over the last specified input
+   *
+   * @method FfmpegCommand#loop
+   * @category Input
+   *
+   * @param {String|Number} [duration] loop duration in seconds or as a '[[hh:]mm:]ss[.xxx]' string
+   * @return FfmpegCommand
+   */
+  proto.loop = function(duration) {
+    if (!this._currentInput) {
+      throw new Error('No input specified');
+    }
+
+    this._currentInput.options('-loop', '1');
+
+    if (typeof duration !== 'undefined') {
+      this.duration(duration);
+    }
+
+    return this;
+  };
+};
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.4.0 on Sun May 01 2016 12:10:37 GMT+0200 (CEST) +
+ + + + + diff --git a/node_modules/fluent-ffmpeg/doc/options_misc.js.html b/node_modules/fluent-ffmpeg/doc/options_misc.js.html new file mode 100644 index 0000000..b1396aa --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/options_misc.js.html @@ -0,0 +1,91 @@ + + + + + JSDoc: Source: options/misc.js + + + + + + + + + + +
+ +

Source: options/misc.js

+ + + + + +
+
+
/*jshint node:true*/
+'use strict';
+
+var path = require('path');
+
+/*
+ *! Miscellaneous methods
+ */
+
+module.exports = function(proto) {
+  /**
+   * Use preset
+   *
+   * @method FfmpegCommand#preset
+   * @category Miscellaneous
+   * @aliases usingPreset
+   *
+   * @param {String|Function} preset preset name or preset function
+   */
+  proto.usingPreset =
+  proto.preset = function(preset) {
+    if (typeof preset === 'function') {
+      preset(this);
+    } else {
+      try {
+        var modulePath = path.join(this.options.presets, preset);
+        var module = require(modulePath);
+
+        if (typeof module.load === 'function') {
+          module.load(this);
+        } else {
+          throw new Error('preset ' + modulePath + ' has no load() function');
+        }
+      } catch (err) {
+        throw new Error('preset ' + modulePath + ' could not be loaded: ' + err.message);
+      }
+    }
+
+    return this;
+  };
+};
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.4.0 on Sun May 01 2016 12:10:37 GMT+0200 (CEST) +
+ + + + + diff --git a/node_modules/fluent-ffmpeg/doc/options_output.js.html b/node_modules/fluent-ffmpeg/doc/options_output.js.html new file mode 100644 index 0000000..1b07885 --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/options_output.js.html @@ -0,0 +1,212 @@ + + + + + JSDoc: Source: options/output.js + + + + + + + + + + +
+ +

Source: options/output.js

+ + + + + +
+
+
/*jshint node:true*/
+'use strict';
+
+var utils = require('../utils');
+
+
+/*
+ *! Output-related methods
+ */
+
+module.exports = function(proto) {
+  /**
+   * Add output
+   *
+   * @method FfmpegCommand#output
+   * @category Output
+   * @aliases addOutput
+   *
+   * @param {String|Writable} target target file path or writable stream
+   * @param {Object} [pipeopts={}] pipe options (only applies to streams)
+   * @return FfmpegCommand
+   */
+  proto.addOutput =
+  proto.output = function(target, pipeopts) {
+    var isFile = false;
+
+    if (!target && this._currentOutput) {
+      // No target is only allowed when called from constructor
+      throw new Error('Invalid output');
+    }
+
+    if (target && typeof target !== 'string') {
+      if (!('writable' in target) || !(target.writable)) {
+        throw new Error('Invalid output');
+      }
+    } else if (typeof target === 'string') {
+      var protocol = target.match(/^([a-z]{2,}):/i);
+      isFile = !protocol || protocol[0] === 'file';
+    }
+
+    if (target && !('target' in this._currentOutput)) {
+      // For backwards compatibility, set target for first output
+      this._currentOutput.target = target;
+      this._currentOutput.isFile = isFile;
+      this._currentOutput.pipeopts = pipeopts || {};
+    } else {
+      if (target && typeof target !== 'string') {
+        var hasOutputStream = this._outputs.some(function(output) {
+          return typeof output.target !== 'string';
+        });
+
+        if (hasOutputStream) {
+          throw new Error('Only one output stream is supported');
+        }
+      }
+
+      this._outputs.push(this._currentOutput = {
+        target: target,
+        isFile: isFile,
+        flags: {},
+        pipeopts: pipeopts || {}
+      });
+
+      var self = this;
+      ['audio', 'audioFilters', 'video', 'videoFilters', 'sizeFilters', 'options'].forEach(function(key) {
+        self._currentOutput[key] = utils.args();
+      });
+
+      if (!target) {
+        // Call from constructor: remove target key
+        delete this._currentOutput.target;
+      }
+    }
+
+    return this;
+  };
+
+
+  /**
+   * Specify output seek time
+   *
+   * @method FfmpegCommand#seek
+   * @category Input
+   * @aliases seekOutput
+   *
+   * @param {String|Number} seek seek time in seconds or as a '[hh:[mm:]]ss[.xxx]' string
+   * @return FfmpegCommand
+   */
+  proto.seekOutput =
+  proto.seek = function(seek) {
+    this._currentOutput.options('-ss', seek);
+    return this;
+  };
+
+
+  /**
+   * Set output duration
+   *
+   * @method FfmpegCommand#duration
+   * @category Output
+   * @aliases withDuration,setDuration
+   *
+   * @param {String|Number} duration duration in seconds or as a '[[hh:]mm:]ss[.xxx]' string
+   * @return FfmpegCommand
+   */
+  proto.withDuration =
+  proto.setDuration =
+  proto.duration = function(duration) {
+    this._currentOutput.options('-t', duration);
+    return this;
+  };
+
+
+  /**
+   * Set output format
+   *
+   * @method FfmpegCommand#format
+   * @category Output
+   * @aliases toFormat,withOutputFormat,outputFormat
+   *
+   * @param {String} format output format name
+   * @return FfmpegCommand
+   */
+  proto.toFormat =
+  proto.withOutputFormat =
+  proto.outputFormat =
+  proto.format = function(format) {
+    this._currentOutput.options('-f', format);
+    return this;
+  };
+
+
+  /**
+   * Add stream mapping to output
+   *
+   * @method FfmpegCommand#map
+   * @category Output
+   *
+   * @param {String} spec stream specification string, with optional square brackets
+   * @return FfmpegCommand
+   */
+  proto.map = function(spec) {
+    this._currentOutput.options('-map', spec.replace(utils.streamRegexp, '[$1]'));
+    return this;
+  };
+
+
+  /**
+   * Run flvtool2/flvmeta on output
+   *
+   * @method FfmpegCommand#flvmeta
+   * @category Output
+   * @aliases updateFlvMetadata
+   *
+   * @return FfmpegCommand
+   */
+  proto.updateFlvMetadata =
+  proto.flvmeta = function() {
+    this._currentOutput.flags.flvmeta = true;
+    return this;
+  };
+};
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.4.0 on Sun May 01 2016 12:10:37 GMT+0200 (CEST) +
+ + + + + diff --git a/node_modules/fluent-ffmpeg/doc/options_video.js.html b/node_modules/fluent-ffmpeg/doc/options_video.js.html new file mode 100644 index 0000000..0b229f6 --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/options_video.js.html @@ -0,0 +1,234 @@ + + + + + JSDoc: Source: options/video.js + + + + + + + + + + +
+ +

Source: options/video.js

+ + + + + +
+
+
/*jshint node:true*/
+'use strict';
+
+var utils = require('../utils');
+
+
+/*
+ *! Video-related methods
+ */
+
+module.exports = function(proto) {
+  /**
+   * Disable video in the output
+   *
+   * @method FfmpegCommand#noVideo
+   * @category Video
+   * @aliases withNoVideo
+   *
+   * @return FfmpegCommand
+   */
+  proto.withNoVideo =
+  proto.noVideo = function() {
+    this._currentOutput.video.clear();
+    this._currentOutput.videoFilters.clear();
+    this._currentOutput.video('-vn');
+
+    return this;
+  };
+
+
+  /**
+   * Specify video codec
+   *
+   * @method FfmpegCommand#videoCodec
+   * @category Video
+   * @aliases withVideoCodec
+   *
+   * @param {String} codec video codec name
+   * @return FfmpegCommand
+   */
+  proto.withVideoCodec =
+  proto.videoCodec = function(codec) {
+    this._currentOutput.video('-vcodec', codec);
+    return this;
+  };
+
+
+  /**
+   * Specify video bitrate
+   *
+   * @method FfmpegCommand#videoBitrate
+   * @category Video
+   * @aliases withVideoBitrate
+   *
+   * @param {String|Number} bitrate video bitrate in kbps (with an optional 'k' suffix)
+   * @param {Boolean} [constant=false] enforce constant bitrate
+   * @return FfmpegCommand
+   */
+  proto.withVideoBitrate =
+  proto.videoBitrate = function(bitrate, constant) {
+    bitrate = ('' + bitrate).replace(/k?$/, 'k');
+
+    this._currentOutput.video('-b:v', bitrate);
+    if (constant) {
+      this._currentOutput.video(
+        '-maxrate', bitrate,
+        '-minrate', bitrate,
+        '-bufsize', '3M'
+      );
+    }
+
+    return this;
+  };
+
+
+  /**
+   * Specify custom video filter(s)
+   *
+   * Can be called both with one or many filters, or a filter array.
+   *
+   * @example
+   * command.videoFilters('filter1');
+   *
+   * @example
+   * command.videoFilters('filter1', 'filter2=param1=value1:param2=value2');
+   *
+   * @example
+   * command.videoFilters(['filter1', 'filter2']);
+   *
+   * @example
+   * command.videoFilters([
+   *   {
+   *     filter: 'filter1'
+   *   },
+   *   {
+   *     filter: 'filter2',
+   *     options: 'param=value:param=value'
+   *   }
+   * ]);
+   *
+   * @example
+   * command.videoFilters(
+   *   {
+   *     filter: 'filter1',
+   *     options: ['value1', 'value2']
+   *   },
+   *   {
+   *     filter: 'filter2',
+   *     options: { param1: 'value1', param2: 'value2' }
+   *   }
+   * );
+   *
+   * @method FfmpegCommand#videoFilters
+   * @category Video
+   * @aliases withVideoFilter,withVideoFilters,videoFilter
+   *
+   * @param {...String|String[]|Object[]} filters video filter strings, string array or
+   *   filter specification array, each with the following properties:
+   * @param {String} filters.filter filter name
+   * @param {String|String[]|Object} [filters.options] filter option string, array, or object
+   * @return FfmpegCommand
+   */
+  proto.withVideoFilter =
+  proto.withVideoFilters =
+  proto.videoFilter =
+  proto.videoFilters = function(filters) {
+    if (arguments.length > 1) {
+      filters = [].slice.call(arguments);
+    }
+
+    if (!Array.isArray(filters)) {
+      filters = [filters];
+    }
+
+    this._currentOutput.videoFilters(utils.makeFilterStrings(filters));
+
+    return this;
+  };
+
+
+  /**
+   * Specify output FPS
+   *
+   * @method FfmpegCommand#fps
+   * @category Video
+   * @aliases withOutputFps,withOutputFPS,withFpsOutput,withFPSOutput,withFps,withFPS,outputFPS,outputFps,fpsOutput,FPSOutput,FPS
+   *
+   * @param {Number} fps output FPS
+   * @return FfmpegCommand
+   */
+  proto.withOutputFps =
+  proto.withOutputFPS =
+  proto.withFpsOutput =
+  proto.withFPSOutput =
+  proto.withFps =
+  proto.withFPS =
+  proto.outputFPS =
+  proto.outputFps =
+  proto.fpsOutput =
+  proto.FPSOutput =
+  proto.fps =
+  proto.FPS = function(fps) {
+    this._currentOutput.video('-r', fps);
+    return this;
+  };
+
+
+  /**
+   * Only transcode a certain number of frames
+   *
+   * @method FfmpegCommand#frames
+   * @category Video
+   * @aliases takeFrames,withFrames
+   *
+   * @param {Number} frames frame count
+   * @return FfmpegCommand
+   */
+  proto.takeFrames =
+  proto.withFrames =
+  proto.frames = function(frames) {
+    this._currentOutput.video('-vframes', frames);
+    return this;
+  };
+};
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.4.0 on Sun May 01 2016 12:10:37 GMT+0200 (CEST) +
+ + + + + diff --git a/node_modules/fluent-ffmpeg/doc/options_videosize.js.html b/node_modules/fluent-ffmpeg/doc/options_videosize.js.html new file mode 100644 index 0000000..82210d1 --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/options_videosize.js.html @@ -0,0 +1,341 @@ + + + + + JSDoc: Source: options/videosize.js + + + + + + + + + + +
+ +

Source: options/videosize.js

+ + + + + +
+
+
/*jshint node:true*/
+'use strict';
+
+/*
+ *! Size helpers
+ */
+
+
+/**
+ * Return filters to pad video to width*height,
+ *
+ * @param {Number} width output width
+ * @param {Number} height output height
+ * @param {Number} aspect video aspect ratio (without padding)
+ * @param {Number} color padding color
+ * @return scale/pad filters
+ * @private
+ */
+function getScalePadFilters(width, height, aspect, color) {
+  /*
+    let a be the input aspect ratio, A be the requested aspect ratio
+
+    if a > A, padding is done on top and bottom
+    if a < A, padding is done on left and right
+   */
+
+  return [
+    /*
+      In both cases, we first have to scale the input to match the requested size.
+      When using computed width/height, we truncate them to multiples of 2
+     */
+    {
+      filter: 'scale',
+      options: {
+        w: 'if(gt(a,' + aspect + '),' + width + ',trunc(' + height + '*a/2)*2)',
+        h: 'if(lt(a,' + aspect + '),' + height + ',trunc(' + width + '/a/2)*2)'
+      }
+    },
+
+    /*
+      Then we pad the scaled input to match the target size
+      (here iw and ih refer to the padding input, i.e the scaled output)
+     */
+
+    {
+      filter: 'pad',
+      options: {
+        w: width,
+        h: height,
+        x: 'if(gt(a,' + aspect + '),0,(' + width + '-iw)/2)',
+        y: 'if(lt(a,' + aspect + '),0,(' + height + '-ih)/2)',
+        color: color
+      }
+    }
+  ];
+}
+
+
+/**
+ * Recompute size filters
+ *
+ * @param {Object} output
+ * @param {String} key newly-added parameter name ('size', 'aspect' or 'pad')
+ * @param {String} value newly-added parameter value
+ * @return filter string array
+ * @private
+ */
+function createSizeFilters(output, key, value) {
+  // Store parameters
+  var data = output.sizeData = output.sizeData || {};
+  data[key] = value;
+
+  if (!('size' in data)) {
+    // No size requested, keep original size
+    return [];
+  }
+
+  // Try to match the different size string formats
+  var fixedSize = data.size.match(/([0-9]+)x([0-9]+)/);
+  var fixedWidth = data.size.match(/([0-9]+)x\?/);
+  var fixedHeight = data.size.match(/\?x([0-9]+)/);
+  var percentRatio = data.size.match(/\b([0-9]{1,3})%/);
+  var width, height, aspect;
+
+  if (percentRatio) {
+    var ratio = Number(percentRatio[1]) / 100;
+    return [{
+      filter: 'scale',
+      options: {
+        w: 'trunc(iw*' + ratio + '/2)*2',
+        h: 'trunc(ih*' + ratio + '/2)*2'
+      }
+    }];
+  } else if (fixedSize) {
+    // Round target size to multiples of 2
+    width = Math.round(Number(fixedSize[1]) / 2) * 2;
+    height = Math.round(Number(fixedSize[2]) / 2) * 2;
+
+    aspect = width / height;
+
+    if (data.pad) {
+      return getScalePadFilters(width, height, aspect, data.pad);
+    } else {
+      // No autopad requested, rescale to target size
+      return [{ filter: 'scale', options: { w: width, h: height }}];
+    }
+  } else if (fixedWidth || fixedHeight) {
+    if ('aspect' in data) {
+      // Specified aspect ratio
+      width = fixedWidth ? fixedWidth[1] : Math.round(Number(fixedHeight[1]) * data.aspect);
+      height = fixedHeight ? fixedHeight[1] : Math.round(Number(fixedWidth[1]) / data.aspect);
+
+      // Round to multiples of 2
+      width = Math.round(width / 2) * 2;
+      height = Math.round(height / 2) * 2;
+
+      if (data.pad) {
+        return getScalePadFilters(width, height, data.aspect, data.pad);
+      } else {
+        // No autopad requested, rescale to target size
+        return [{ filter: 'scale', options: { w: width, h: height }}];
+      }
+    } else {
+      // Keep input aspect ratio
+
+      if (fixedWidth) {
+        return [{
+          filter: 'scale',
+          options: {
+            w: Math.round(Number(fixedWidth[1]) / 2) * 2,
+            h: 'trunc(ow/a/2)*2'
+          }
+        }];
+      } else {
+        return [{
+          filter: 'scale',
+          options: {
+            w: 'trunc(oh*a/2)*2',
+            h: Math.round(Number(fixedHeight[1]) / 2) * 2
+          }
+        }];
+      }
+    }
+  } else {
+    throw new Error('Invalid size specified: ' + data.size);
+  }
+}
+
+
+/*
+ *! Video size-related methods
+ */
+
+module.exports = function(proto) {
+  /**
+   * Keep display aspect ratio
+   *
+   * This method is useful when converting an input with non-square pixels to an output format
+   * that does not support non-square pixels.  It rescales the input so that the display aspect
+   * ratio is the same.
+   *
+   * @method FfmpegCommand#keepDAR
+   * @category Video size
+   * @aliases keepPixelAspect,keepDisplayAspect,keepDisplayAspectRatio
+   *
+   * @return FfmpegCommand
+   */
+  proto.keepPixelAspect = // Only for compatibility, this is not about keeping _pixel_ aspect ratio
+  proto.keepDisplayAspect =
+  proto.keepDisplayAspectRatio =
+  proto.keepDAR = function() {
+    return this.videoFilters([
+      {
+        filter: 'scale',
+        options: {
+          w: 'if(gt(sar,1),iw*sar,iw)',
+          h: 'if(lt(sar,1),ih/sar,ih)'
+        }
+      },
+      {
+        filter: 'setsar',
+        options: '1'
+      }
+    ]);
+  };
+
+
+  /**
+   * Set output size
+   *
+   * The 'size' parameter can have one of 4 forms:
+   * - 'X%': rescale to xx % of the original size
+   * - 'WxH': specify width and height
+   * - 'Wx?': specify width and compute height from input aspect ratio
+   * - '?xH': specify height and compute width from input aspect ratio
+   *
+   * Note: both dimensions will be truncated to multiples of 2.
+   *
+   * @method FfmpegCommand#size
+   * @category Video size
+   * @aliases withSize,setSize
+   *
+   * @param {String} size size string, eg. '33%', '320x240', '320x?', '?x240'
+   * @return FfmpegCommand
+   */
+  proto.withSize =
+  proto.setSize =
+  proto.size = function(size) {
+    var filters = createSizeFilters(this._currentOutput, 'size', size);
+
+    this._currentOutput.sizeFilters.clear();
+    this._currentOutput.sizeFilters(filters);
+
+    return this;
+  };
+
+
+  /**
+   * Set output aspect ratio
+   *
+   * @method FfmpegCommand#aspect
+   * @category Video size
+   * @aliases withAspect,withAspectRatio,setAspect,setAspectRatio,aspectRatio
+   *
+   * @param {String|Number} aspect aspect ratio (number or 'X:Y' string)
+   * @return FfmpegCommand
+   */
+  proto.withAspect =
+  proto.withAspectRatio =
+  proto.setAspect =
+  proto.setAspectRatio =
+  proto.aspect =
+  proto.aspectRatio = function(aspect) {
+    var a = Number(aspect);
+    if (isNaN(a)) {
+      var match = aspect.match(/^(\d+):(\d+)$/);
+      if (match) {
+        a = Number(match[1]) / Number(match[2]);
+      } else {
+        throw new Error('Invalid aspect ratio: ' + aspect);
+      }
+    }
+
+    var filters = createSizeFilters(this._currentOutput, 'aspect', a);
+
+    this._currentOutput.sizeFilters.clear();
+    this._currentOutput.sizeFilters(filters);
+
+    return this;
+  };
+
+
+  /**
+   * Enable auto-padding the output
+   *
+   * @method FfmpegCommand#autopad
+   * @category Video size
+   * @aliases applyAutopadding,applyAutoPadding,applyAutopad,applyAutoPad,withAutopadding,withAutoPadding,withAutopad,withAutoPad,autoPad
+   *
+   * @param {Boolean} [pad=true] enable/disable auto-padding
+   * @param {String} [color='black'] pad color
+   */
+  proto.applyAutopadding =
+  proto.applyAutoPadding =
+  proto.applyAutopad =
+  proto.applyAutoPad =
+  proto.withAutopadding =
+  proto.withAutoPadding =
+  proto.withAutopad =
+  proto.withAutoPad =
+  proto.autoPad =
+  proto.autopad = function(pad, color) {
+    // Allow autopad(color)
+    if (typeof pad === 'string') {
+      color = pad;
+      pad = true;
+    }
+
+    // Allow autopad() and autopad(undefined, color)
+    if (typeof pad === 'undefined') {
+      pad = true;
+    }
+
+    var filters = createSizeFilters(this._currentOutput, 'pad', pad ? color || 'black' : false);
+
+    this._currentOutput.sizeFilters.clear();
+    this._currentOutput.sizeFilters(filters);
+
+    return this;
+  };
+};
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.4.0 on Sun May 01 2016 12:10:37 GMT+0200 (CEST) +
+ + + + + diff --git a/node_modules/fluent-ffmpeg/doc/output.js.html b/node_modules/fluent-ffmpeg/doc/output.js.html new file mode 100644 index 0000000..d2b2d17 --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/output.js.html @@ -0,0 +1,212 @@ + + + + + JSDoc: Source: options/output.js + + + + + + + + + + +
+ +

Source: options/output.js

+ + + + + +
+
+
/*jshint node:true*/
+'use strict';
+
+var utils = require('../utils');
+
+
+/*
+ *! Output-related methods
+ */
+
+module.exports = function(proto) {
+  /**
+   * Add output
+   *
+   * @method FfmpegCommand#output
+   * @category Output
+   * @aliases addOutput
+   *
+   * @param {String|Writable} target target file path or writable stream
+   * @param {Object} [pipeopts={}] pipe options (only applies to streams)
+   * @return FfmpegCommand
+   */
+  proto.addOutput =
+  proto.output = function(target, pipeopts) {
+    var isFile = false;
+
+    if (!target && this._currentOutput) {
+      // No target is only allowed when called from constructor
+      throw new Error('Invalid output');
+    }
+
+    if (target && typeof target !== 'string') {
+      if (!('writable' in target) || !(target.writable)) {
+        throw new Error('Invalid output');
+      }
+    } else if (typeof target === 'string') {
+      var protocol = target.match(/^([a-z]{2,}):/i);
+      isFile = !protocol || protocol[0] === 'file';
+    }
+
+    if (target && !('target' in this._currentOutput)) {
+      // For backwards compatibility, set target for first output
+      this._currentOutput.target = target;
+      this._currentOutput.isFile = isFile;
+      this._currentOutput.pipeopts = pipeopts || {};
+    } else {
+      if (target && typeof target !== 'string') {
+        var hasOutputStream = this._outputs.some(function(output) {
+          return typeof output.target !== 'string';
+        });
+
+        if (hasOutputStream) {
+          throw new Error('Only one output stream is supported');
+        }
+      }
+
+      this._outputs.push(this._currentOutput = {
+        target: target,
+        isFile: isFile,
+        flags: {},
+        pipeopts: pipeopts || {}
+      });
+
+      var self = this;
+      ['audio', 'audioFilters', 'video', 'videoFilters', 'sizeFilters', 'options'].forEach(function(key) {
+        self._currentOutput[key] = utils.args();
+      });
+
+      if (!target) {
+        // Call from constructor: remove target key
+        delete this._currentOutput.target;
+      }
+    }
+
+    return this;
+  };
+
+
+  /**
+   * Specify output seek time
+   *
+   * @method FfmpegCommand#seek
+   * @category Input
+   * @aliases seekOutput
+   *
+   * @param {String|Number} seek seek time in seconds or as a '[hh:[mm:]]ss[.xxx]' string
+   * @return FfmpegCommand
+   */
+  proto.seekOutput =
+  proto.seek = function(seek) {
+    this._currentOutput.options('-ss', seek);
+    return this;
+  };
+
+
+  /**
+   * Set output duration
+   *
+   * @method FfmpegCommand#duration
+   * @category Output
+   * @aliases withDuration,setDuration
+   *
+   * @param {String|Number} duration duration in seconds or as a '[[hh:]mm:]ss[.xxx]' string
+   * @return FfmpegCommand
+   */
+  proto.withDuration =
+  proto.setDuration =
+  proto.duration = function(duration) {
+    this._currentOutput.options('-t', duration);
+    return this;
+  };
+
+
+  /**
+   * Set output format
+   *
+   * @method FfmpegCommand#format
+   * @category Output
+   * @aliases toFormat,withOutputFormat,outputFormat
+   *
+   * @param {String} format output format name
+   * @return FfmpegCommand
+   */
+  proto.toFormat =
+  proto.withOutputFormat =
+  proto.outputFormat =
+  proto.format = function(format) {
+    this._currentOutput.options('-f', format);
+    return this;
+  };
+
+
+  /**
+   * Add stream mapping to output
+   *
+   * @method FfmpegCommand#map
+   * @category Output
+   *
+   * @param {String} spec stream specification string, with optional square brackets
+   * @return FfmpegCommand
+   */
+  proto.map = function(spec) {
+    this._currentOutput.options('-map', spec.replace(utils.streamRegexp, '[$1]'));
+    return this;
+  };
+
+
+  /**
+   * Run flvtool2/flvmeta on output
+   *
+   * @method FfmpegCommand#flvmeta
+   * @category Output
+   * @aliases updateFlvMetadata
+   *
+   * @return FfmpegCommand
+   */
+  proto.updateFlvMetadata =
+  proto.flvmeta = function() {
+    this._currentOutput.flags.flvmeta = true;
+    return this;
+  };
+};
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.3.0-alpha5 on Tue Jul 08 2014 21:22:19 GMT+0200 (CEST) +
+ + + + + diff --git a/node_modules/fluent-ffmpeg/doc/processor.js.html b/node_modules/fluent-ffmpeg/doc/processor.js.html new file mode 100644 index 0000000..6936f97 --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/processor.js.html @@ -0,0 +1,708 @@ + + + + + JSDoc: Source: processor.js + + + + + + + + + + +
+ +

Source: processor.js

+ + + + + +
+
+
/*jshint node:true*/
+'use strict';
+
+var spawn = require('child_process').spawn;
+var path = require('path');
+var fs = require('fs');
+var async = require('async');
+var utils = require('./utils');
+
+var nlRegexp = /\r\n|\r|\n/g;
+
+/*
+ *! Processor methods
+ */
+
+
+/**
+ * Run ffprobe asynchronously and store data in command
+ *
+ * @param {FfmpegCommand} command
+ * @private
+ */
+function runFfprobe(command) {
+  command.ffprobe(0, function(err, data) {
+    command._ffprobeData = data;
+  });
+}
+
+
+module.exports = function(proto) {
+  /**
+   * Emitted just after ffmpeg has been spawned.
+   *
+   * @event FfmpegCommand#start
+   * @param {String} command ffmpeg command line
+   */
+
+  /**
+   * Emitted when ffmpeg reports progress information
+   *
+   * @event FfmpegCommand#progress
+   * @param {Object} progress progress object
+   * @param {Number} progress.frames number of frames transcoded
+   * @param {Number} progress.currentFps current processing speed in frames per second
+   * @param {Number} progress.currentKbps current output generation speed in kilobytes per second
+   * @param {Number} progress.targetSize current output file size
+   * @param {String} progress.timemark current video timemark
+   * @param {Number} [progress.percent] processing progress (may not be available depending on input)
+   */
+
+  /**
+   * Emitted when ffmpeg outputs to stderr
+   *
+   * @event FfmpegCommand#stderr
+   * @param {String} line stderr output line
+   */
+
+  /**
+   * Emitted when ffmpeg reports input codec data
+   *
+   * @event FfmpegCommand#codecData
+   * @param {Object} codecData codec data object
+   * @param {String} codecData.format input format name
+   * @param {String} codecData.audio input audio codec name
+   * @param {String} codecData.audio_details input audio codec parameters
+   * @param {String} codecData.video input video codec name
+   * @param {String} codecData.video_details input video codec parameters
+   */
+
+  /**
+   * Emitted when an error happens when preparing or running a command
+   *
+   * @event FfmpegCommand#error
+   * @param {Error} error error object
+   * @param {String|null} stdout ffmpeg stdout, unless outputting to a stream
+   * @param {String|null} stderr ffmpeg stderr
+   */
+
+  /**
+   * Emitted when a command finishes processing
+   *
+   * @event FfmpegCommand#end
+   * @param {Array|String|null} [filenames|stdout] generated filenames when taking screenshots, ffmpeg stdout when not outputting to a stream, null otherwise
+   * @param {String|null} stderr ffmpeg stderr
+   */
+
+
+  /**
+   * Spawn an ffmpeg process
+   *
+   * The 'options' argument may contain the following keys:
+   * - 'niceness': specify process niceness, ignored on Windows (default: 0)
+   * - `cwd`: change working directory
+   * - 'captureStdout': capture stdout and pass it to 'endCB' as its 2nd argument (default: false)
+   * - 'stdoutLines': override command limit (default: use command limit)
+   *
+   * The 'processCB' callback, if present, is called as soon as the process is created and
+   * receives a nodejs ChildProcess object.  It may not be called at all if an error happens
+   * before spawning the process.
+   *
+   * The 'endCB' callback is called either when an error occurs or when the ffmpeg process finishes.
+   *
+   * @method FfmpegCommand#_spawnFfmpeg
+   * @param {Array} args ffmpeg command line argument list
+   * @param {Object} [options] spawn options (see above)
+   * @param {Function} [processCB] callback called with process object and stdout/stderr ring buffers when process has been created
+   * @param {Function} endCB callback called with error (if applicable) and stdout/stderr ring buffers when process finished
+   * @private
+   */
+  proto._spawnFfmpeg = function(args, options, processCB, endCB) {
+    // Enable omitting options
+    if (typeof options === 'function') {
+      endCB = processCB;
+      processCB = options;
+      options = {};
+    }
+
+    // Enable omitting processCB
+    if (typeof endCB === 'undefined') {
+      endCB = processCB;
+      processCB = function() {};
+    }
+
+    var maxLines = 'stdoutLines' in options ? options.stdoutLines : this.options.stdoutLines;
+
+    // Find ffmpeg
+    this._getFfmpegPath(function(err, command) {
+      if (err) {
+        return endCB(err);
+      } else if (!command || command.length === 0) {
+        return endCB(new Error('Cannot find ffmpeg'));
+      }
+
+      // Apply niceness
+      if (options.niceness && options.niceness !== 0 && !utils.isWindows) {
+        args.unshift('-n', options.niceness, command);
+        command = 'nice';
+      }
+
+      var stdoutRing = utils.linesRing(maxLines);
+      var stdoutClosed = false;
+
+      var stderrRing = utils.linesRing(maxLines);
+      var stderrClosed = false;
+
+      // Spawn process
+      var ffmpegProc = spawn(command, args, options);
+
+      if (ffmpegProc.stderr) {
+        ffmpegProc.stderr.setEncoding('utf8');
+      }
+
+      ffmpegProc.on('error', function(err) {
+        endCB(err);
+      });
+
+      // Ensure we wait for captured streams to end before calling endCB
+      var exitError = null;
+      function handleExit(err) {
+        if (err) {
+          exitError = err;
+        }
+
+        if (processExited && (stdoutClosed || !options.captureStdout) && stderrClosed) {
+          endCB(exitError, stdoutRing, stderrRing);
+        }
+      }
+
+      // Handle process exit
+      var processExited = false;
+      ffmpegProc.on('exit', function(code, signal) {
+        processExited = true;
+
+        if (signal) {
+          handleExit(new Error('ffmpeg was killed with signal ' + signal));
+        } else if (code) {
+          handleExit(new Error('ffmpeg exited with code ' + code));
+        } else {
+          handleExit();
+        }
+      });
+
+      // Capture stdout if specified
+      if (options.captureStdout) {
+        ffmpegProc.stdout.on('data', function(data) {
+          stdoutRing.append(data);
+        });
+
+        ffmpegProc.stdout.on('close', function() {
+          stdoutRing.close();
+          stdoutClosed = true;
+          handleExit();
+        });
+      }
+
+      // Capture stderr if specified
+      ffmpegProc.stderr.on('data', function(data) {
+        stderrRing.append(data);
+      });
+
+      ffmpegProc.stderr.on('close', function() {
+        stderrRing.close();
+        stderrClosed = true;
+        handleExit();
+      });
+
+      // Call process callback
+      processCB(ffmpegProc, stdoutRing, stderrRing);
+    });
+  };
+
+
+  /**
+   * Build the argument list for an ffmpeg command
+   *
+   * @method FfmpegCommand#_getArguments
+   * @return argument list
+   * @private
+   */
+  proto._getArguments = function() {
+    var complexFilters = this._complexFilters.get();
+
+    var fileOutput = this._outputs.some(function(output) {
+      return output.isFile;
+    });
+
+    return [].concat(
+        // Inputs and input options
+        this._inputs.reduce(function(args, input) {
+          var source = (typeof input.source === 'string') ? input.source : 'pipe:0';
+
+          // For each input, add input options, then '-i <source>'
+          return args.concat(
+            input.options.get(),
+            ['-i', source]
+          );
+        }, []),
+
+        // Global options
+        this._global.get(),
+
+        // Overwrite if we have file outputs
+        fileOutput ? ['-y'] : [],
+
+        // Complex filters
+        complexFilters,
+
+        // Outputs, filters and output options
+        this._outputs.reduce(function(args, output) {
+          var sizeFilters = utils.makeFilterStrings(output.sizeFilters.get());
+          var audioFilters = output.audioFilters.get();
+          var videoFilters = output.videoFilters.get().concat(sizeFilters);
+          var outputArg;
+
+          if (!output.target) {
+            outputArg = [];
+          } else if (typeof output.target === 'string') {
+            outputArg = [output.target];
+          } else {
+            outputArg = ['pipe:1'];
+          }
+
+          return args.concat(
+            output.audio.get(),
+            audioFilters.length ? ['-filter:a', audioFilters.join(',')] : [],
+            output.video.get(),
+            videoFilters.length ? ['-filter:v', videoFilters.join(',')] : [],
+            output.options.get(),
+            outputArg
+          );
+        }, [])
+      );
+  };
+
+
+  /**
+   * Prepare execution of an ffmpeg command
+   *
+   * Checks prerequisites for the execution of the command (codec/format availability, flvtool...),
+   * then builds the argument list for ffmpeg and pass them to 'callback'.
+   *
+   * @method FfmpegCommand#_prepare
+   * @param {Function} callback callback with signature (err, args)
+   * @param {Boolean} [readMetadata=false] read metadata before processing
+   * @private
+   */
+  proto._prepare = function(callback, readMetadata) {
+    var self = this;
+
+    async.waterfall([
+      // Check codecs and formats
+      function(cb) {
+        self._checkCapabilities(cb);
+      },
+
+      // Read metadata if required
+      function(cb) {
+        if (!readMetadata) {
+          return cb();
+        }
+
+        self.ffprobe(0, function(err, data) {
+          if (!err) {
+            self._ffprobeData = data;
+          }
+
+          cb();
+        });
+      },
+
+      // Check for flvtool2/flvmeta if necessary
+      function(cb) {
+        var flvmeta = self._outputs.some(function(output) {
+          // Remove flvmeta flag on non-file output
+          if (output.flags.flvmeta && !output.isFile) {
+            self.logger.warn('Updating flv metadata is only supported for files');
+            output.flags.flvmeta = false;
+          }
+
+          return output.flags.flvmeta;
+        });
+
+        if (flvmeta) {
+          self._getFlvtoolPath(function(err) {
+            cb(err);
+          });
+        } else {
+          cb();
+        }
+      },
+
+      // Build argument list
+      function(cb) {
+        var args;
+        try {
+          args = self._getArguments();
+        } catch(e) {
+          return cb(e);
+        }
+
+        cb(null, args);
+      },
+
+      // Add "-strict experimental" option where needed
+      function(args, cb) {
+        self.availableEncoders(function(err, encoders) {
+          for (var i = 0; i < args.length; i++) {
+            if (args[i] === '-acodec' || args[i] === '-vcodec') {
+              i++;
+
+              if ((args[i] in encoders) && encoders[args[i]].experimental) {
+                args.splice(i + 1, 0, '-strict', 'experimental');
+                i += 2;
+              }
+            }
+          }
+
+          cb(null, args);
+        });
+      }
+    ], callback);
+
+    if (!readMetadata) {
+      // Read metadata as soon as 'progress' listeners are added
+
+      if (this.listeners('progress').length > 0) {
+        // Read metadata in parallel
+        runFfprobe(this);
+      } else {
+        // Read metadata as soon as the first 'progress' listener is added
+        this.once('newListener', function(event) {
+          if (event === 'progress') {
+            runFfprobe(this);
+          }
+        });
+      }
+    }
+  };
+
+
+  /**
+   * Run ffmpeg command
+   *
+   * @method FfmpegCommand#run
+   * @category Processing
+   * @aliases exec,execute
+   */
+  proto.exec =
+  proto.execute =
+  proto.run = function() {
+    var self = this;
+
+    // Check if at least one output is present
+    var outputPresent = this._outputs.some(function(output) {
+      return 'target' in output;
+    });
+
+    if (!outputPresent) {
+      throw new Error('No output specified');
+    }
+
+    // Get output stream if any
+    var outputStream = this._outputs.filter(function(output) {
+      return typeof output.target !== 'string';
+    })[0];
+
+    // Get input stream if any
+    var inputStream = this._inputs.filter(function(input) {
+      return typeof input.source !== 'string';
+    })[0];
+
+    // Ensure we send 'end' or 'error' only once
+    var ended = false;
+    function emitEnd(err, stdout, stderr) {
+      if (!ended) {
+        ended = true;
+
+        if (err) {
+          self.emit('error', err, stdout, stderr);
+        } else {
+          self.emit('end', stdout, stderr);
+        }
+      }
+    }
+
+    self._prepare(function(err, args) {
+      if (err) {
+        return emitEnd(err);
+      }
+
+      // Run ffmpeg
+      self._spawnFfmpeg(
+        args,
+        {
+          captureStdout: !outputStream,
+          niceness: self.options.niceness,
+          cwd: self.options.cwd
+        },
+
+        function processCB(ffmpegProc, stdoutRing, stderrRing) {
+          self.ffmpegProc = ffmpegProc;
+          self.emit('start', 'ffmpeg ' + args.join(' '));
+
+          // Pipe input stream if any
+          if (inputStream) {
+            inputStream.source.on('error', function(err) {
+              emitEnd(new Error('Input stream error: ' + err.message));
+              ffmpegProc.kill();
+            });
+
+            inputStream.source.resume();
+            inputStream.source.pipe(ffmpegProc.stdin);
+
+            // Set stdin error handler on ffmpeg (prevents nodejs catching the error, but
+            // ffmpeg will fail anyway, so no need to actually handle anything)
+            ffmpegProc.stdin.on('error', function() {});
+          }
+
+          // Setup timeout if requested
+          var processTimer;
+          if (self.options.timeout) {
+            processTimer = setTimeout(function() {
+              var msg = 'process ran into a timeout (' + self.options.timeout + 's)';
+
+              emitEnd(new Error(msg), stdoutRing.get(), stderrRing.get());
+              ffmpegProc.kill();
+            }, self.options.timeout * 1000);
+          }
+
+
+          if (outputStream) {
+            // Pipe ffmpeg stdout to output stream
+            ffmpegProc.stdout.pipe(outputStream.target, outputStream.pipeopts);
+
+            // Handle output stream events
+            outputStream.target.on('close', function() {
+              self.logger.debug('Output stream closed, scheduling kill for ffmpgeg process');
+
+              // Don't kill process yet, to give a chance to ffmpeg to
+              // terminate successfully first  This is necessary because
+              // under load, the process 'exit' event sometimes happens
+              // after the output stream 'close' event.
+              setTimeout(function() {
+                emitEnd(new Error('Output stream closed'));
+                ffmpegProc.kill();
+              }, 20);
+            });
+
+            outputStream.target.on('error', function(err) {
+              self.logger.debug('Output stream error, killing ffmpgeg process');
+              emitEnd(new Error('Output stream error: ' + err.message), stdoutRing.get(), stderrRing.get());
+              ffmpegProc.kill();
+            });
+          }
+
+          // Setup stderr handling
+          if (stderrRing) {
+
+            // 'stderr' event
+            if (self.listeners('stderr').length) {
+              stderrRing.callback(function(line) {
+                self.emit('stderr', line);
+              });
+            }
+
+            // 'codecData' event
+            if (self.listeners('codecData').length) {
+              var codecDataSent = false;
+              var codecObject = {};
+
+              stderrRing.callback(function(line) {
+                if (!codecDataSent)
+                  codecDataSent = utils.extractCodecData(self, line, codecObject);
+              });
+            }
+
+            // 'progress' event
+            if (self.listeners('progress').length) {
+              var duration = 0;
+
+              if (self._ffprobeData && self._ffprobeData.format && self._ffprobeData.format.duration) {
+                duration = Number(self._ffprobeData.format.duration);
+              }
+
+              stderrRing.callback(function(line) {
+                utils.extractProgress(self, line, duration);
+              });
+            }
+          }
+        },
+
+        function endCB(err, stdoutRing, stderrRing) {
+          delete self.ffmpegProc;
+
+          if (err) {
+            if (err.message.match(/ffmpeg exited with code/)) {
+              // Add ffmpeg error message
+              err.message += ': ' + utils.extractError(stderrRing.get());
+            }
+
+            emitEnd(err, stdoutRing.get(), stderrRing.get());
+          } else {
+            // Find out which outputs need flv metadata
+            var flvmeta = self._outputs.filter(function(output) {
+              return output.flags.flvmeta;
+            });
+
+            if (flvmeta.length) {
+              self._getFlvtoolPath(function(err, flvtool) {
+                if (err) {
+                  return emitEnd(err);
+                }
+
+                async.each(
+                  flvmeta,
+                  function(output, cb) {
+                    spawn(flvtool, ['-U', output.target])
+                      .on('error', function(err) {
+                        cb(new Error('Error running ' + flvtool + ' on ' + output.target + ': ' + err.message));
+                      })
+                      .on('exit', function(code, signal) {
+                        if (code !== 0 || signal) {
+                          cb(
+                            new Error(flvtool + ' ' +
+                              (signal ? 'received signal ' + signal
+                                      : 'exited with code ' + code)) +
+                              ' when running on ' + output.target
+                          );
+                        } else {
+                          cb();
+                        }
+                      });
+                  },
+                  function(err) {
+                    if (err) {
+                      emitEnd(err);
+                    } else {
+                      emitEnd(null, stdoutRing.get(), stderrRing.get());
+                    }
+                  }
+                );
+              });
+            } else {
+              emitEnd(null, stdoutRing.get(), stderrRing.get());
+            }
+          }
+        }
+      );
+    });
+  };
+
+
+  /**
+   * Renice current and/or future ffmpeg processes
+   *
+   * Ignored on Windows platforms.
+   *
+   * @method FfmpegCommand#renice
+   * @category Processing
+   *
+   * @param {Number} [niceness=0] niceness value between -20 (highest priority) and 20 (lowest priority)
+   * @return FfmpegCommand
+   */
+  proto.renice = function(niceness) {
+    if (!utils.isWindows) {
+      niceness = niceness || 0;
+
+      if (niceness < -20 || niceness > 20) {
+        this.logger.warn('Invalid niceness value: ' + niceness + ', must be between -20 and 20');
+      }
+
+      niceness = Math.min(20, Math.max(-20, niceness));
+      this.options.niceness = niceness;
+
+      if (this.ffmpegProc) {
+        var logger = this.logger;
+        var pid = this.ffmpegProc.pid;
+        var renice = spawn('renice', [niceness, '-p', pid]);
+
+        renice.on('error', function(err) {
+          logger.warn('could not renice process ' + pid + ': ' + err.message);
+        });
+
+        renice.on('exit', function(code, signal) {
+          if (signal) {
+            logger.warn('could not renice process ' + pid + ': renice was killed by signal ' + signal);
+          } else if (code) {
+            logger.warn('could not renice process ' + pid + ': renice exited with ' + code);
+          } else {
+            logger.info('successfully reniced process ' + pid + ' to ' + niceness + ' niceness');
+          }
+        });
+      }
+    }
+
+    return this;
+  };
+
+
+  /**
+   * Kill current ffmpeg process, if any
+   *
+   * @method FfmpegCommand#kill
+   * @category Processing
+   *
+   * @param {String} [signal=SIGKILL] signal name
+   * @return FfmpegCommand
+   */
+  proto.kill = function(signal) {
+    if (!this.ffmpegProc) {
+      this.logger.warn('No running ffmpeg process, cannot send signal');
+    } else {
+      this.ffmpegProc.kill(signal || 'SIGKILL');
+    }
+
+    return this;
+  };
+};
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.4.0 on Sun May 01 2016 12:10:37 GMT+0200 (CEST) +
+ + + + + diff --git a/node_modules/fluent-ffmpeg/doc/recipes.js.html b/node_modules/fluent-ffmpeg/doc/recipes.js.html new file mode 100644 index 0000000..4bfc698 --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/recipes.js.html @@ -0,0 +1,506 @@ + + + + + JSDoc: Source: recipes.js + + + + + + + + + + +
+ +

Source: recipes.js

+ + + + + +
+
+
/*jshint node:true*/
+'use strict';
+
+var fs = require('fs');
+var path = require('path');
+var PassThrough = require('stream').PassThrough;
+var async = require('async');
+var utils = require('./utils');
+
+
+/*
+ * Useful recipes for commands
+ */
+
+module.exports = function recipes(proto) {
+  /**
+   * Execute ffmpeg command and save output to a file
+   *
+   * @method FfmpegCommand#save
+   * @category Processing
+   * @aliases saveToFile
+   *
+   * @param {String} output file path
+   * @return FfmpegCommand
+   */
+  proto.saveToFile =
+  proto.save = function(output) {
+    this.output(output).run();
+    return this;
+  };
+
+
+  /**
+   * Execute ffmpeg command and save output to a stream
+   *
+   * If 'stream' is not specified, a PassThrough stream is created and returned.
+   * 'options' will be used when piping ffmpeg output to the output stream
+   * (@see http://nodejs.org/api/stream.html#stream_readable_pipe_destination_options)
+   *
+   * @method FfmpegCommand#pipe
+   * @category Processing
+   * @aliases stream,writeToStream
+   *
+   * @param {stream.Writable} [stream] output stream
+   * @param {Object} [options={}] pipe options
+   * @return Output stream
+   */
+  proto.writeToStream =
+  proto.pipe =
+  proto.stream = function(stream, options) {
+    if (stream && !('writable' in stream)) {
+      options = stream;
+      stream = undefined;
+    }
+
+    if (!stream) {
+      if (process.version.match(/v0\.8\./)) {
+        throw new Error('PassThrough stream is not supported on node v0.8');
+      }
+
+      stream = new PassThrough();
+    }
+
+    this.output(stream, options).run();
+    return stream;
+  };
+
+
+  /**
+   * Generate images from a video
+   *
+   * Note: this method makes the command emit a 'filenames' event with an array of
+   * the generated image filenames.
+   *
+   * @method FfmpegCommand#screenshots
+   * @category Processing
+   * @aliases takeScreenshots,thumbnail,thumbnails,screenshot
+   *
+   * @param {Number|Object} [config=1] screenshot count or configuration object with
+   *   the following keys:
+   * @param {Number} [config.count] number of screenshots to take; using this option
+   *   takes screenshots at regular intervals (eg. count=4 would take screens at 20%, 40%,
+   *   60% and 80% of the video length).
+   * @param {String} [config.folder='.'] output folder
+   * @param {String} [config.filename='tn.png'] output filename pattern, may contain the following
+   *   tokens:
+   *   - '%s': offset in seconds
+   *   - '%w': screenshot width
+   *   - '%h': screenshot height
+   *   - '%r': screenshot resolution (same as '%wx%h')
+   *   - '%f': input filename
+   *   - '%b': input basename (filename w/o extension)
+   *   - '%i': index of screenshot in timemark array (can be zero-padded by using it like `%000i`)
+   * @param {Number[]|String[]} [config.timemarks] array of timemarks to take screenshots
+   *   at; each timemark may be a number of seconds, a '[[hh:]mm:]ss[.xxx]' string or a
+   *   'XX%' string.  Overrides 'count' if present.
+   * @param {Number[]|String[]} [config.timestamps] alias for 'timemarks'
+   * @param {Boolean} [config.fastSeek] use fast seek (less accurate)
+   * @param {String} [config.size] screenshot size, with the same syntax as {@link FfmpegCommand#size}
+   * @param {String} [folder] output folder (legacy alias for 'config.folder')
+   * @return FfmpegCommand
+   */
+  proto.takeScreenshots =
+  proto.thumbnail =
+  proto.thumbnails =
+  proto.screenshot =
+  proto.screenshots = function(config, folder) {
+    var self = this;
+    var source = this._currentInput.source;
+    config = config || { count: 1 };
+
+    // Accept a number of screenshots instead of a config object
+    if (typeof config === 'number') {
+      config = {
+        count: config
+      };
+    }
+
+    // Accept a second 'folder' parameter instead of config.folder
+    if (!('folder' in config)) {
+      config.folder = folder || '.';
+    }
+
+    // Accept 'timestamps' instead of 'timemarks'
+    if ('timestamps' in config) {
+      config.timemarks = config.timestamps;
+    }
+
+    // Compute timemarks from count if not present
+    if (!('timemarks' in config)) {
+      if (!config.count) {
+        throw new Error('Cannot take screenshots: neither a count nor a timemark list are specified');
+      }
+
+      var interval = 100 / (1 + config.count);
+      config.timemarks = [];
+      for (var i = 0; i < config.count; i++) {
+        config.timemarks.push((interval * (i + 1)) + '%');
+      }
+    }
+
+    // Parse size option
+    if ('size' in config) {
+      var fixedSize = config.size.match(/^(\d+)x(\d+)$/);
+      var fixedWidth = config.size.match(/^(\d+)x\?$/);
+      var fixedHeight = config.size.match(/^\?x(\d+)$/);
+      var percentSize = config.size.match(/^(\d+)%$/);
+
+      if (!fixedSize && !fixedWidth && !fixedHeight && !percentSize) {
+        throw new Error('Invalid size parameter: ' + config.size);
+      }
+    }
+
+    // Metadata helper
+    var metadata;
+    function getMetadata(cb) {
+      if (metadata) {
+        cb(null, metadata);
+      } else {
+        self.ffprobe(function(err, meta) {
+          metadata = meta;
+          cb(err, meta);
+        });
+      }
+    }
+
+    async.waterfall([
+      // Compute percent timemarks if any
+      function computeTimemarks(next) {
+        if (config.timemarks.some(function(t) { return ('' + t).match(/^[\d.]+%$/); })) {
+          if (typeof source !== 'string') {
+            return next(new Error('Cannot compute screenshot timemarks with an input stream, please specify fixed timemarks'));
+          }
+
+          getMetadata(function(err, meta) {
+            if (err) {
+              next(err);
+            } else {
+              // Select video stream with the highest resolution
+              var vstream = meta.streams.reduce(function(biggest, stream) {
+                if (stream.codec_type === 'video' && stream.width * stream.height > biggest.width * biggest.height) {
+                  return stream;
+                } else {
+                  return biggest;
+                }
+              }, { width: 0, height: 0 });
+
+              if (vstream.width === 0) {
+                return next(new Error('No video stream in input, cannot take screenshots'));
+              }
+
+              var duration = Number(vstream.duration);
+              if (isNaN(duration)) {
+                duration = Number(meta.format.duration);
+              }
+
+              if (isNaN(duration)) {
+                return next(new Error('Could not get input duration, please specify fixed timemarks'));
+              }
+
+              config.timemarks = config.timemarks.map(function(mark) {
+                if (('' + mark).match(/^([\d.]+)%$/)) {
+                  return duration * parseFloat(mark) / 100;
+                } else {
+                  return mark;
+                }
+              });
+
+              next();
+            }
+          });
+        } else {
+          next();
+        }
+      },
+
+      // Turn all timemarks into numbers and sort them
+      function normalizeTimemarks(next) {
+        config.timemarks = config.timemarks.map(function(mark) {
+          return utils.timemarkToSeconds(mark);
+        }).sort(function(a, b) { return a - b; });
+
+        next();
+      },
+
+      // Add '_%i' to pattern when requesting multiple screenshots and no variable token is present
+      function fixPattern(next) {
+        var pattern = config.filename || 'tn.png';
+
+        if (pattern.indexOf('.') === -1) {
+          pattern += '.png';
+        }
+
+        if (config.timemarks.length > 1 && !pattern.match(/%(s|0*i)/)) {
+          var ext = path.extname(pattern);
+          pattern = path.join(path.dirname(pattern), path.basename(pattern, ext) + '_%i' + ext);
+        }
+
+        next(null, pattern);
+      },
+
+      // Replace filename tokens (%f, %b) in pattern
+      function replaceFilenameTokens(pattern, next) {
+        if (pattern.match(/%[bf]/)) {
+          if (typeof source !== 'string') {
+            return next(new Error('Cannot replace %f or %b when using an input stream'));
+          }
+
+          pattern = pattern
+            .replace(/%f/g, path.basename(source))
+            .replace(/%b/g, path.basename(source, path.extname(source)));
+        }
+
+        next(null, pattern);
+      },
+
+      // Compute size if needed
+      function getSize(pattern, next) {
+        if (pattern.match(/%[whr]/)) {
+          if (fixedSize) {
+            return next(null, pattern, fixedSize[1], fixedSize[2]);
+          }
+
+          getMetadata(function(err, meta) {
+            if (err) {
+              return next(new Error('Could not determine video resolution to replace %w, %h or %r'));
+            }
+
+            var vstream = meta.streams.reduce(function(biggest, stream) {
+              if (stream.codec_type === 'video' && stream.width * stream.height > biggest.width * biggest.height) {
+                return stream;
+              } else {
+                return biggest;
+              }
+            }, { width: 0, height: 0 });
+
+            if (vstream.width === 0) {
+              return next(new Error('No video stream in input, cannot replace %w, %h or %r'));
+            }
+
+            var width = vstream.width;
+            var height = vstream.height;
+
+            if (fixedWidth) {
+              height = height * Number(fixedWidth[1]) / width;
+              width = Number(fixedWidth[1]);
+            } else if (fixedHeight) {
+              width = width * Number(fixedHeight[1]) / height;
+              height = Number(fixedHeight[1]);
+            } else if (percentSize) {
+              width = width * Number(percentSize[1]) / 100;
+              height = height * Number(percentSize[1]) / 100;
+            }
+
+            next(null, pattern, Math.round(width / 2) * 2, Math.round(height / 2) * 2);
+          });
+        } else {
+          next(null, pattern, -1, -1);
+        }
+      },
+
+      // Replace size tokens (%w, %h, %r) in pattern
+      function replaceSizeTokens(pattern, width, height, next) {
+        pattern = pattern
+          .replace(/%r/g, '%wx%h')
+          .replace(/%w/g, width)
+          .replace(/%h/g, height);
+
+        next(null, pattern);
+      },
+
+      // Replace variable tokens in pattern (%s, %i) and generate filename list
+      function replaceVariableTokens(pattern, next) {
+        var filenames = config.timemarks.map(function(t, i) {
+          return pattern
+            .replace(/%s/g, utils.timemarkToSeconds(t))
+            .replace(/%(0*)i/g, function(match, padding) {
+              var idx = '' + (i + 1);
+              return padding.substr(0, Math.max(0, padding.length + 1 - idx.length)) + idx;
+            });
+        });
+
+        self.emit('filenames', filenames);
+        next(null, filenames);
+      },
+
+      // Create output directory
+      function createDirectory(filenames, next) {
+        fs.exists(config.folder, function(exists) {
+          if (!exists) {
+            fs.mkdir(config.folder, function(err) {
+              if (err) {
+                next(err);
+              } else {
+                next(null, filenames);
+              }
+            });
+          } else {
+            next(null, filenames);
+          }
+        });
+      }
+    ], function runCommand(err, filenames) {
+      if (err) {
+        return self.emit('error', err);
+      }
+
+      var count = config.timemarks.length;
+      var split;
+      var filters = [split = {
+        filter: 'split',
+        options: count,
+        outputs: []
+      }];
+
+      if ('size' in config) {
+        // Set size to generate size filters
+        self.size(config.size);
+
+        // Get size filters and chain them with 'sizeN' stream names
+        var sizeFilters =  self._currentOutput.sizeFilters.get().map(function(f, i) {
+          if (i > 0) {
+            f.inputs = 'size' + (i - 1);
+          }
+
+          f.outputs = 'size' + i;
+
+          return f;
+        });
+
+        // Input last size filter output into split filter
+        split.inputs = 'size' + (sizeFilters.length - 1);
+
+        // Add size filters in front of split filter
+        filters = sizeFilters.concat(filters);
+
+        // Remove size filters
+        self._currentOutput.sizeFilters.clear();
+      }
+
+      var first = 0;
+      for (var i = 0; i < count; i++) {
+        var stream = 'screen' + i;
+        split.outputs.push(stream);
+
+        if (i === 0) {
+          first = config.timemarks[i];
+          self.seekInput(first);
+        }
+
+        self.output(path.join(config.folder, filenames[i]))
+          .frames(1)
+          .map(stream);
+
+        if (i > 0) {
+          self.seek(config.timemarks[i] - first);
+        }
+      }
+
+      self.complexFilter(filters);
+      self.run();
+    });
+
+    return this;
+  };
+
+
+  /**
+   * Merge (concatenate) inputs to a single file
+   *
+   * @method FfmpegCommand#concat
+   * @category Processing
+   * @aliases concatenate,mergeToFile
+   *
+   * @param {String|Writable} target output file or writable stream
+   * @param {Object} [options] pipe options (only used when outputting to a writable stream)
+   * @return FfmpegCommand
+   */
+  proto.mergeToFile =
+  proto.concatenate =
+  proto.concat = function(target, options) {
+    // Find out which streams are present in the first non-stream input
+    var fileInput = this._inputs.filter(function(input) {
+      return !input.isStream;
+    })[0];
+
+    var self = this;
+    this.ffprobe(this._inputs.indexOf(fileInput), function(err, data) {
+      if (err) {
+        return self.emit('error', err);
+      }
+
+      var hasAudioStreams = data.streams.some(function(stream) {
+        return stream.codec_type === 'audio';
+      });
+
+      var hasVideoStreams = data.streams.some(function(stream) {
+        return stream.codec_type === 'video';
+      });
+
+      // Setup concat filter and start processing
+      self.output(target, options)
+        .complexFilter({
+          filter: 'concat',
+          options: {
+            n: self._inputs.length,
+            v: hasVideoStreams ? 1 : 0,
+            a: hasAudioStreams ? 1 : 0
+          }
+        })
+        .run();
+    });
+
+    return this;
+  };
+};
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.4.0 on Sun May 01 2016 12:10:37 GMT+0200 (CEST) +
+ + + + + diff --git a/node_modules/fluent-ffmpeg/doc/scripts/linenumber.js b/node_modules/fluent-ffmpeg/doc/scripts/linenumber.js new file mode 100644 index 0000000..8d52f7e --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/scripts/linenumber.js @@ -0,0 +1,25 @@ +/*global document */ +(function() { + var source = document.getElementsByClassName('prettyprint source linenums'); + var i = 0; + var lineNumber = 0; + var lineId; + var lines; + var totalLines; + var anchorHash; + + if (source && source[0]) { + anchorHash = document.location.hash.substring(1); + lines = source[0].getElementsByTagName('li'); + totalLines = lines.length; + + for (; i < totalLines; i++) { + lineNumber++; + lineId = 'line' + lineNumber; + lines[i].id = lineId; + if (lineId === anchorHash) { + lines[i].className += ' selected'; + } + } + } +})(); diff --git a/node_modules/fluent-ffmpeg/doc/scripts/prettify/Apache-License-2.0.txt b/node_modules/fluent-ffmpeg/doc/scripts/prettify/Apache-License-2.0.txt new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/scripts/prettify/Apache-License-2.0.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/fluent-ffmpeg/doc/scripts/prettify/lang-css.js b/node_modules/fluent-ffmpeg/doc/scripts/prettify/lang-css.js new file mode 100644 index 0000000..041e1f5 --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/scripts/prettify/lang-css.js @@ -0,0 +1,2 @@ +PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", +/^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); diff --git a/node_modules/fluent-ffmpeg/doc/scripts/prettify/prettify.js b/node_modules/fluent-ffmpeg/doc/scripts/prettify/prettify.js new file mode 100644 index 0000000..eef5ad7 --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/scripts/prettify/prettify.js @@ -0,0 +1,28 @@ +var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; +(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a= +[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;ci[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m), +l=[],p={},d=0,g=e.length;d=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/, +q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/, +q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g, +"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a), +a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e} +for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"], +"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"], +H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"], +J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+ +I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]), +["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css", +/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}), +["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes", +hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p=0){var k=k.match(g),f,b;if(b= +!k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}p h2 { + margin-top: 6px; +} + +h3 +{ + font-size: 150%; + font-weight: bold; + letter-spacing: -0.01em; + margin-top: 16px; + margin: 50px 0 3px 0; +} + +h4 +{ + font-size: 130%; + font-weight: bold; + letter-spacing: -0.01em; + margin-top: 16px; + margin: 18px 0 3px 0; + color: #526492; +} + +h5, .container-overview .subsection-title +{ + font-size: 120%; + font-weight: bold; + letter-spacing: -0.01em; + margin: 8px 0 3px -16px; +} + +h6 +{ + font-size: 100%; + letter-spacing: -0.01em; + margin: 6px 0 3px 0; + font-style: italic; +} + +article > dl, article > pre { + margin-left: 2em; +} + +.ancestors { color: #999; } +.ancestors a +{ + color: #999 !important; + text-decoration: none; +} + +.important +{ + font-weight: bold; + color: #950B02; +} + +.yes-def { + text-indent: -1000px; +} + +.type-signature { + color: #aaa; +} + +.name, .signature { + font-family: Consolas, "Lucida Console", Monaco, monospace; +} + +.details { margin-top: 14px; border-left: 2px solid #DDD; } +.details dt { width:100px; float:left; padding-left: 10px; padding-top: 6px; } +.details dd { margin-left: 50px; } +.details ul { margin: 0; } +.details ul { list-style-type: none; } +.details li { margin-left: 30px; padding-top: 6px; } +.details pre.prettyprint { margin: 0 } +.details .object-value { padding-top: 0; } + +.description { + margin-bottom: 1em; + margin-left: -16px; + margin-top: 1em; +} + +.code-caption +{ + font-style: italic; + font-family: Palatino, 'Palatino Linotype', serif; + font-size: 107%; + margin: 0; +} + +.prettyprint +{ + border: 1px solid #ddd; + width: 80%; + overflow: auto; +} + +.prettyprint.source { + width: inherit; +} + +.prettyprint code +{ + font-family: Consolas, 'Lucida Console', Monaco, monospace; + font-size: 100%; + line-height: 18px; + display: block; + padding: 4px 12px; + margin: 0; + background-color: #fff; + color: #000; +} + +.prettyprint code span.line +{ + display: inline-block; +} + +.prettyprint.linenums +{ + padding-left: 70px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.prettyprint.linenums ol +{ + padding-left: 0; +} + +.prettyprint.linenums li +{ + border-left: 3px #ddd solid; +} + +.prettyprint.linenums li.selected, +.prettyprint.linenums li.selected * +{ + background-color: lightyellow; +} + +.prettyprint.linenums li * +{ + -webkit-user-select: text; + -moz-user-select: text; + -ms-user-select: text; + user-select: text; +} + +.params, .props +{ + border-spacing: 0; + border: 0; + border-collapse: collapse; +} + +.params .name, .props .name, .name code { + color: #526492; + font-family: Consolas, 'Lucida Console', Monaco, monospace; + font-size: 100%; +} + +.params td, .params th, .props td, .props th +{ + border: 1px solid #ddd; + margin: 0px; + text-align: left; + vertical-align: top; + padding: 4px 6px; + display: table-cell; +} + +.params thead tr, .props thead tr +{ + background-color: #ddd; + font-weight: bold; +} + +.params .params thead tr, .props .props thead tr +{ + background-color: #fff; + font-weight: bold; +} + +.params th, .props th { border-right: 1px solid #aaa; } +.params thead .last, .props thead .last { border-right: 1px solid #ddd; } + +.params td.description > p:first-child +{ + margin-top: 0; + padding-top: 0; +} + +.params td.description > p:last-child +{ + margin-bottom: 0; + padding-bottom: 0; +} + +.disabled { + color: #454545; +} diff --git a/node_modules/fluent-ffmpeg/doc/styles/prettify-jsdoc.css b/node_modules/fluent-ffmpeg/doc/styles/prettify-jsdoc.css new file mode 100644 index 0000000..5a2526e --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/styles/prettify-jsdoc.css @@ -0,0 +1,111 @@ +/* JSDoc prettify.js theme */ + +/* plain text */ +.pln { + color: #000000; + font-weight: normal; + font-style: normal; +} + +/* string content */ +.str { + color: #006400; + font-weight: normal; + font-style: normal; +} + +/* a keyword */ +.kwd { + color: #000000; + font-weight: bold; + font-style: normal; +} + +/* a comment */ +.com { + font-weight: normal; + font-style: italic; +} + +/* a type name */ +.typ { + color: #000000; + font-weight: normal; + font-style: normal; +} + +/* a literal value */ +.lit { + color: #006400; + font-weight: normal; + font-style: normal; +} + +/* punctuation */ +.pun { + color: #000000; + font-weight: bold; + font-style: normal; +} + +/* lisp open bracket */ +.opn { + color: #000000; + font-weight: bold; + font-style: normal; +} + +/* lisp close bracket */ +.clo { + color: #000000; + font-weight: bold; + font-style: normal; +} + +/* a markup tag name */ +.tag { + color: #006400; + font-weight: normal; + font-style: normal; +} + +/* a markup attribute name */ +.atn { + color: #006400; + font-weight: normal; + font-style: normal; +} + +/* a markup attribute value */ +.atv { + color: #006400; + font-weight: normal; + font-style: normal; +} + +/* a declaration */ +.dec { + color: #000000; + font-weight: bold; + font-style: normal; +} + +/* a variable name */ +.var { + color: #000000; + font-weight: normal; + font-style: normal; +} + +/* a function name */ +.fun { + color: #000000; + font-weight: bold; + font-style: normal; +} + +/* Specify class=linenums on a pre to get line numbering */ +ol.linenums { + margin-top: 0; + margin-bottom: 0; +} diff --git a/node_modules/fluent-ffmpeg/doc/styles/prettify-tomorrow.css b/node_modules/fluent-ffmpeg/doc/styles/prettify-tomorrow.css new file mode 100644 index 0000000..aa2908c --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/styles/prettify-tomorrow.css @@ -0,0 +1,132 @@ +/* Tomorrow Theme */ +/* Original theme - https://github.com/chriskempson/tomorrow-theme */ +/* Pretty printing styles. Used with prettify.js. */ +/* SPAN elements with the classes below are added by prettyprint. */ +/* plain text */ +.pln { + color: #4d4d4c; } + +@media screen { + /* string content */ + .str { + color: #718c00; } + + /* a keyword */ + .kwd { + color: #8959a8; } + + /* a comment */ + .com { + color: #8e908c; } + + /* a type name */ + .typ { + color: #4271ae; } + + /* a literal value */ + .lit { + color: #f5871f; } + + /* punctuation */ + .pun { + color: #4d4d4c; } + + /* lisp open bracket */ + .opn { + color: #4d4d4c; } + + /* lisp close bracket */ + .clo { + color: #4d4d4c; } + + /* a markup tag name */ + .tag { + color: #c82829; } + + /* a markup attribute name */ + .atn { + color: #f5871f; } + + /* a markup attribute value */ + .atv { + color: #3e999f; } + + /* a declaration */ + .dec { + color: #f5871f; } + + /* a variable name */ + .var { + color: #c82829; } + + /* a function name */ + .fun { + color: #4271ae; } } +/* Use higher contrast and text-weight for printable form. */ +@media print, projection { + .str { + color: #060; } + + .kwd { + color: #006; + font-weight: bold; } + + .com { + color: #600; + font-style: italic; } + + .typ { + color: #404; + font-weight: bold; } + + .lit { + color: #044; } + + .pun, .opn, .clo { + color: #440; } + + .tag { + color: #006; + font-weight: bold; } + + .atn { + color: #404; } + + .atv { + color: #060; } } +/* Style */ +/* +pre.prettyprint { + background: white; + font-family: Menlo, Monaco, Consolas, monospace; + font-size: 12px; + line-height: 1.5; + border: 1px solid #ccc; + padding: 10px; } +*/ + +/* Specify class=linenums on a pre to get line numbering */ +ol.linenums { + margin-top: 0; + margin-bottom: 0; } + +/* IE indents via margin-left */ +li.L0, +li.L1, +li.L2, +li.L3, +li.L4, +li.L5, +li.L6, +li.L7, +li.L8, +li.L9 { + /* */ } + +/* Alternate shading for lines */ +li.L1, +li.L3, +li.L5, +li.L7, +li.L9 { + /* */ } diff --git a/node_modules/fluent-ffmpeg/doc/utils.js.html b/node_modules/fluent-ffmpeg/doc/utils.js.html new file mode 100644 index 0000000..7fef79a --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/utils.js.html @@ -0,0 +1,505 @@ + + + + + JSDoc: Source: utils.js + + + + + + + + + + +
+ +

Source: utils.js

+ + + + + +
+
+
/*jshint node:true*/
+'use strict';
+
+var exec = require('child_process').exec;
+var isWindows = require('os').platform().match(/win(32|64)/);
+var which = require('which');
+
+var nlRegexp = /\r\n|\r|\n/g;
+var streamRegexp = /^\[?(.*?)\]?$/;
+var filterEscapeRegexp = /[,]/;
+var whichCache = {};
+
+/**
+ * Parse progress line from ffmpeg stderr
+ *
+ * @param {String} line progress line
+ * @return progress object
+ * @private
+ */
+function parseProgressLine(line) {
+  var progress = {};
+
+  // Remove all spaces after = and trim
+  line  = line.replace(/=\s+/g, '=').trim();
+  var progressParts = line.split(' ');
+
+  // Split every progress part by "=" to get key and value
+  for(var i = 0; i < progressParts.length; i++) {
+    var progressSplit = progressParts[i].split('=', 2);
+    var key = progressSplit[0];
+    var value = progressSplit[1];
+
+    // This is not a progress line
+    if(typeof value === 'undefined')
+      return null;
+
+    progress[key] = value;
+  }
+
+  return progress;
+}
+
+
+var utils = module.exports = {
+  isWindows: isWindows,
+  streamRegexp: streamRegexp,
+
+
+  /**
+   * Copy an object keys into another one
+   *
+   * @param {Object} source source object
+   * @param {Object} dest destination object
+   * @private
+   */
+  copy: function(source, dest) {
+    Object.keys(source).forEach(function(key) {
+      dest[key] = source[key];
+    });
+  },
+
+
+  /**
+   * Create an argument list
+   *
+   * Returns a function that adds new arguments to the list.
+   * It also has the following methods:
+   * - clear() empties the argument list
+   * - get() returns the argument list
+   * - find(arg, count) finds 'arg' in the list and return the following 'count' items, or undefined if not found
+   * - remove(arg, count) remove 'arg' in the list as well as the following 'count' items
+   *
+   * @private
+   */
+  args: function() {
+    var list = [];
+
+    // Append argument(s) to the list
+    var argfunc = function() {
+      if (arguments.length === 1 && Array.isArray(arguments[0])) {
+        list = list.concat(arguments[0]);
+      } else {
+        list = list.concat([].slice.call(arguments));
+      }
+    };
+
+    // Clear argument list
+    argfunc.clear = function() {
+      list = [];
+    };
+
+    // Return argument list
+    argfunc.get = function() {
+      return list;
+    };
+
+    // Find argument 'arg' in list, and if found, return an array of the 'count' items that follow it
+    argfunc.find = function(arg, count) {
+      var index = list.indexOf(arg);
+      if (index !== -1) {
+        return list.slice(index + 1, index + 1 + (count || 0));
+      }
+    };
+
+    // Find argument 'arg' in list, and if found, remove it as well as the 'count' items that follow it
+    argfunc.remove = function(arg, count) {
+      var index = list.indexOf(arg);
+      if (index !== -1) {
+        list.splice(index, (count || 0) + 1);
+      }
+    };
+
+    // Clone argument list
+    argfunc.clone = function() {
+      var cloned = utils.args();
+      cloned(list);
+      return cloned;
+    };
+
+    return argfunc;
+  },
+
+
+  /**
+   * Generate filter strings
+   *
+   * @param {String[]|Object[]} filters filter specifications. When using objects,
+   *   each must have the following properties:
+   * @param {String} filters.filter filter name
+   * @param {String|Array} [filters.inputs] (array of) input stream specifier(s) for the filter,
+   *   defaults to ffmpeg automatically choosing the first unused matching streams
+   * @param {String|Array} [filters.outputs] (array of) output stream specifier(s) for the filter,
+   *   defaults to ffmpeg automatically assigning the output to the output file
+   * @param {Object|String|Array} [filters.options] filter options, can be omitted to not set any options
+   * @return String[]
+   * @private
+   */
+  makeFilterStrings: function(filters) {
+    return filters.map(function(filterSpec) {
+      if (typeof filterSpec === 'string') {
+        return filterSpec;
+      }
+
+      var filterString = '';
+
+      // Filter string format is:
+      // [input1][input2]...filter[output1][output2]...
+      // The 'filter' part can optionaly have arguments:
+      //   filter=arg1:arg2:arg3
+      //   filter=arg1=v1:arg2=v2:arg3=v3
+
+      // Add inputs
+      if (Array.isArray(filterSpec.inputs)) {
+        filterString += filterSpec.inputs.map(function(streamSpec) {
+          return streamSpec.replace(streamRegexp, '[$1]');
+        }).join('');
+      } else if (typeof filterSpec.inputs === 'string') {
+        filterString += filterSpec.inputs.replace(streamRegexp, '[$1]');
+      }
+
+      // Add filter
+      filterString += filterSpec.filter;
+
+      // Add options
+      if (filterSpec.options) {
+        if (typeof filterSpec.options === 'string' || typeof filterSpec.options === 'number') {
+          // Option string
+          filterString += '=' + filterSpec.options;
+        } else if (Array.isArray(filterSpec.options)) {
+          // Option array (unnamed options)
+          filterString += '=' + filterSpec.options.map(function(option) {
+            if (typeof option === 'string' && option.match(filterEscapeRegexp)) {
+              return '\'' + option + '\'';
+            } else {
+              return option;
+            }
+          }).join(':');
+        } else if (Object.keys(filterSpec.options).length) {
+          // Option object (named options)
+          filterString += '=' + Object.keys(filterSpec.options).map(function(option) {
+            var value = filterSpec.options[option];
+
+            if (typeof value === 'string' && value.match(filterEscapeRegexp)) {
+              value = '\'' + value + '\'';
+            }
+
+            return option + '=' + value;
+          }).join(':');
+        }
+      }
+
+      // Add outputs
+      if (Array.isArray(filterSpec.outputs)) {
+        filterString += filterSpec.outputs.map(function(streamSpec) {
+          return streamSpec.replace(streamRegexp, '[$1]');
+        }).join('');
+      } else if (typeof filterSpec.outputs === 'string') {
+        filterString += filterSpec.outputs.replace(streamRegexp, '[$1]');
+      }
+
+      return filterString;
+    });
+  },
+
+
+  /**
+   * Search for an executable
+   *
+   * Uses 'which' or 'where' depending on platform
+   *
+   * @param {String} name executable name
+   * @param {Function} callback callback with signature (err, path)
+   * @private
+   */
+  which: function(name, callback) {
+    if (name in whichCache) {
+      return callback(null, whichCache[name]);
+    }
+
+    which(name, function(err, result){
+      if (err) {
+        // Treat errors as not found
+        return callback(null, whichCache[name] = '');
+      }
+      callback(null, whichCache[name] = result);
+    });
+  },
+
+
+  /**
+   * Convert a [[hh:]mm:]ss[.xxx] timemark into seconds
+   *
+   * @param {String} timemark timemark string
+   * @return Number
+   * @private
+   */
+  timemarkToSeconds: function(timemark) {
+    if (typeof timemark === 'number') {
+      return timemark;
+    }
+
+    if (timemark.indexOf(':') === -1 && timemark.indexOf('.') >= 0) {
+      return Number(timemark);
+    }
+
+    var parts = timemark.split(':');
+
+    // add seconds
+    var secs = Number(parts.pop());
+
+    if (parts.length) {
+      // add minutes
+      secs += Number(parts.pop()) * 60;
+    }
+
+    if (parts.length) {
+      // add hours
+      secs += Number(parts.pop()) * 3600;
+    }
+
+    return secs;
+  },
+
+
+  /**
+   * Extract codec data from ffmpeg stderr and emit 'codecData' event if appropriate
+   * Call it with an initially empty codec object once with each line of stderr output until it returns true
+   *
+   * @param {FfmpegCommand} command event emitter
+   * @param {String} stderrLine ffmpeg stderr output line
+   * @param {Object} codecObject object used to accumulate codec data between calls
+   * @return {Boolean} true if codec data is complete (and event was emitted), false otherwise
+   * @private
+   */
+  extractCodecData: function(command, stderrLine, codecsObject) {
+    var inputPattern = /Input #[0-9]+, ([^ ]+),/;
+    var durPattern = /Duration\: ([^,]+)/;
+    var audioPattern = /Audio\: (.*)/;
+    var videoPattern = /Video\: (.*)/;
+
+    if (!('inputStack' in codecsObject)) {
+      codecsObject.inputStack = [];
+      codecsObject.inputIndex = -1;
+      codecsObject.inInput = false;
+    }
+
+    var inputStack = codecsObject.inputStack;
+    var inputIndex = codecsObject.inputIndex;
+    var inInput = codecsObject.inInput;
+
+    var format, dur, audio, video;
+
+    if (format = stderrLine.match(inputPattern)) {
+      inInput = codecsObject.inInput = true;
+      inputIndex = codecsObject.inputIndex = codecsObject.inputIndex + 1;
+
+      inputStack[inputIndex] = { format: format[1], audio: '', video: '', duration: '' };
+    } else if (inInput && (dur = stderrLine.match(durPattern))) {
+      inputStack[inputIndex].duration = dur[1];
+    } else if (inInput && (audio = stderrLine.match(audioPattern))) {
+      audio = audio[1].split(', ');
+      inputStack[inputIndex].audio = audio[0];
+      inputStack[inputIndex].audio_details = audio;
+    } else if (inInput && (video = stderrLine.match(videoPattern))) {
+      video = video[1].split(', ');
+      inputStack[inputIndex].video = video[0];
+      inputStack[inputIndex].video_details = video;
+    } else if (/Output #\d+/.test(stderrLine)) {
+      inInput = codecsObject.inInput = false;
+    } else if (/Stream mapping:|Press (\[q\]|ctrl-c) to stop/.test(stderrLine)) {
+      command.emit.apply(command, ['codecData'].concat(inputStack));
+      return true;
+    }
+
+    return false;
+  },
+
+
+  /**
+   * Extract progress data from ffmpeg stderr and emit 'progress' event if appropriate
+   *
+   * @param {FfmpegCommand} command event emitter
+   * @param {String} stderrLine ffmpeg stderr data
+   * @param {Number} [duration=0] expected output duration in seconds
+   * @private
+   */
+  extractProgress: function(command, stderrLine, duration) {
+    var progress = parseProgressLine(stderrLine);
+
+    if (progress) {
+      // build progress report object
+      var ret = {
+        frames: parseInt(progress.frame, 10),
+        currentFps: parseInt(progress.fps, 10),
+        currentKbps: progress.bitrate ? parseFloat(progress.bitrate.replace('kbits/s', '')) : 0,
+        targetSize: parseInt(progress.size, 10),
+        timemark: progress.time
+      };
+
+      // calculate percent progress using duration
+      if (duration && duration > 0) {
+        ret.percent = (utils.timemarkToSeconds(ret.timemark) / duration) * 100;
+      }
+
+      command.emit('progress', ret);
+    }
+  },
+
+
+  /**
+   * Extract error message(s) from ffmpeg stderr
+   *
+   * @param {String} stderr ffmpeg stderr data
+   * @return {String}
+   * @private
+   */
+  extractError: function(stderr) {
+    // Only return the last stderr lines that don't start with a space or a square bracket
+    return stderr.split(nlRegexp).reduce(function(messages, message) {
+      if (message.charAt(0) === ' ' || message.charAt(0) === '[') {
+        return [];
+      } else {
+        messages.push(message);
+        return messages;
+      }
+    }, []).join('\n');
+  },
+
+
+  /**
+   * Creates a line ring buffer object with the following methods:
+   * - append(str) : appends a string or buffer
+   * - get() : returns the whole string
+   * - close() : prevents further append() calls and does a last call to callbacks
+   * - callback(cb) : calls cb for each line (incl. those already in the ring)
+   *
+   * @param {Numebr} maxLines maximum number of lines to store (<= 0 for unlimited)
+   */
+  linesRing: function(maxLines) {
+    var cbs = [];
+    var lines = [];
+    var current = null;
+    var closed = false
+    var max = maxLines - 1;
+
+    function emit(line) {
+      cbs.forEach(function(cb) { cb(line); });
+    }
+
+    return {
+      callback: function(cb) {
+        lines.forEach(function(l) { cb(l); });
+        cbs.push(cb);
+      },
+
+      append: function(str) {
+        if (closed) return;
+        if (str instanceof Buffer) str = '' + str;
+        if (!str || str.length === 0) return;
+
+        var newLines = str.split(nlRegexp);
+
+        if (newLines.length === 1) {
+          if (current !== null) {
+            current = current + newLines.shift();
+          } else {
+            current = newLines.shift();
+          }
+        } else {
+          if (current !== null) {
+            current = current + newLines.shift();
+            emit(current);
+            lines.push(current);
+          }
+
+          current = newLines.pop();
+
+          newLines.forEach(function(l) {
+            emit(l);
+            lines.push(l);
+          });
+
+          if (max > -1 && lines.length > max) {
+            lines.splice(0, lines.length - max);
+          }
+        }
+      },
+
+      get: function() {
+        if (current !== null) {
+          return lines.concat([current]).join('\n');
+        } else {
+          return lines.join('\n');
+        }
+      },
+
+      close: function() {
+        if (closed) return;
+
+        if (current !== null) {
+          emit(current);
+          lines.push(current);
+
+          if (max > -1 && lines.length > max) {
+            lines.shift();
+          }
+
+          current = null;
+        }
+
+        closed = true;
+      }
+    };
+  }
+};
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.4.0 on Sun May 01 2016 12:10:37 GMT+0200 (CEST) +
+ + + + + diff --git a/node_modules/fluent-ffmpeg/doc/video.js.html b/node_modules/fluent-ffmpeg/doc/video.js.html new file mode 100644 index 0000000..9d4089d --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/video.js.html @@ -0,0 +1,234 @@ + + + + + JSDoc: Source: options/video.js + + + + + + + + + + +
+ +

Source: options/video.js

+ + + + + +
+
+
/*jshint node:true*/
+'use strict';
+
+var utils = require('../utils');
+
+
+/*
+ *! Video-related methods
+ */
+
+module.exports = function(proto) {
+  /**
+   * Disable video in the output
+   *
+   * @method FfmpegCommand#noVideo
+   * @category Video
+   * @aliases withNoVideo
+   *
+   * @return FfmpegCommand
+   */
+  proto.withNoVideo =
+  proto.noVideo = function() {
+    this._currentOutput.video.clear();
+    this._currentOutput.videoFilters.clear();
+    this._currentOutput.video('-vn');
+
+    return this;
+  };
+
+
+  /**
+   * Specify video codec
+   *
+   * @method FfmpegCommand#videoCodec
+   * @category Video
+   * @aliases withVideoCodec
+   *
+   * @param {String} codec video codec name
+   * @return FfmpegCommand
+   */
+  proto.withVideoCodec =
+  proto.videoCodec = function(codec) {
+    this._currentOutput.video('-vcodec', codec);
+    return this;
+  };
+
+
+  /**
+   * Specify video bitrate
+   *
+   * @method FfmpegCommand#videoBitrate
+   * @category Video
+   * @aliases withVideoBitrate
+   *
+   * @param {String|Number} bitrate video bitrate in kbps (with an optional 'k' suffix)
+   * @param {Boolean} [constant=false] enforce constant bitrate
+   * @return FfmpegCommand
+   */
+  proto.withVideoBitrate =
+  proto.videoBitrate = function(bitrate, constant) {
+    bitrate = ('' + bitrate).replace(/k?$/, 'k');
+
+    this._currentOutput.video('-b:v', bitrate);
+    if (constant) {
+      this._currentOutput.video(
+        '-maxrate', bitrate,
+        '-minrate', bitrate,
+        '-bufsize', '3M'
+      );
+    }
+
+    return this;
+  };
+
+
+  /**
+   * Specify custom video filter(s)
+   *
+   * Can be called both with one or many filters, or a filter array.
+   *
+   * @example
+   * command.videoFilters('filter1');
+   *
+   * @example
+   * command.videoFilters('filter1', 'filter2=param1=value1:param2=value2');
+   *
+   * @example
+   * command.videoFilters(['filter1', 'filter2']);
+   *
+   * @example
+   * command.videoFilters([
+   *   {
+   *     filter: 'filter1'
+   *   },
+   *   {
+   *     filter: 'filter2',
+   *     options: 'param=value:param=value'
+   *   }
+   * ]);
+   *
+   * @example
+   * command.videoFilters(
+   *   {
+   *     filter: 'filter1',
+   *     options: ['value1', 'value2']
+   *   },
+   *   {
+   *     filter: 'filter2',
+   *     options: { param1: 'value1', param2: 'value2' }
+   *   }
+   * );
+   *
+   * @method FfmpegCommand#videoFilters
+   * @category Video
+   * @aliases withVideoFilter,withVideoFilters,videoFilter
+   *
+   * @param {...String|String[]|Object[]} filters video filter strings, string array or
+   *   filter specification array, each with the following properties:
+   * @param {String} filters.filter filter name
+   * @param {String|String[]|Object} [filters.options] filter option string, array, or object
+   * @return FfmpegCommand
+   */
+  proto.withVideoFilter =
+  proto.withVideoFilters =
+  proto.videoFilter =
+  proto.videoFilters = function(filters) {
+    if (arguments.length > 1) {
+      filters = [].slice.call(arguments);
+    }
+
+    if (!Array.isArray(filters)) {
+      filters = [filters];
+    }
+
+    this._currentOutput.videoFilters(utils.makeFilterStrings(filters));
+
+    return this;
+  };
+
+
+  /**
+   * Specify output FPS
+   *
+   * @method FfmpegCommand#fps
+   * @category Video
+   * @aliases withOutputFps,withOutputFPS,withFpsOutput,withFPSOutput,withFps,withFPS,outputFPS,outputFps,fpsOutput,FPSOutput,FPS
+   *
+   * @param {Number} fps output FPS
+   * @return FfmpegCommand
+   */
+  proto.withOutputFps =
+  proto.withOutputFPS =
+  proto.withFpsOutput =
+  proto.withFPSOutput =
+  proto.withFps =
+  proto.withFPS =
+  proto.outputFPS =
+  proto.outputFps =
+  proto.fpsOutput =
+  proto.FPSOutput =
+  proto.fps =
+  proto.FPS = function(fps) {
+    this._currentOutput.video('-r', fps);
+    return this;
+  };
+
+
+  /**
+   * Only transcode a certain number of frames
+   *
+   * @method FfmpegCommand#frames
+   * @category Video
+   * @aliases takeFrames,withFrames
+   *
+   * @param {Number} frames frame count
+   * @return FfmpegCommand
+   */
+  proto.takeFrames =
+  proto.withFrames =
+  proto.frames = function(frames) {
+    this._currentOutput.video('-vframes', frames);
+    return this;
+  };
+};
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.3.0-alpha5 on Tue Jul 08 2014 21:22:19 GMT+0200 (CEST) +
+ + + + + diff --git a/node_modules/fluent-ffmpeg/doc/videosize.js.html b/node_modules/fluent-ffmpeg/doc/videosize.js.html new file mode 100644 index 0000000..b94dfda --- /dev/null +++ b/node_modules/fluent-ffmpeg/doc/videosize.js.html @@ -0,0 +1,341 @@ + + + + + JSDoc: Source: options/videosize.js + + + + + + + + + + +
+ +

Source: options/videosize.js

+ + + + + +
+
+
/*jshint node:true*/
+'use strict';
+
+/*
+ *! Size helpers
+ */
+
+
+/**
+ * Return filters to pad video to width*height,
+ *
+ * @param {Number} width output width
+ * @param {Number} height output height
+ * @param {Number} aspect video aspect ratio (without padding)
+ * @param {Number} color padding color
+ * @return scale/pad filters
+ * @private
+ */
+function getScalePadFilters(width, height, aspect, color) {
+  /*
+    let a be the input aspect ratio, A be the requested aspect ratio
+
+    if a > A, padding is done on top and bottom
+    if a < A, padding is done on left and right
+   */
+
+  return [
+    /*
+      In both cases, we first have to scale the input to match the requested size.
+      When using computed width/height, we truncate them to multiples of 2
+     */
+    {
+      filter: 'scale',
+      options: {
+        w: 'if(gt(a,' + aspect + '),' + width + ',trunc(' + height + '*a/2)*2)',
+        h: 'if(lt(a,' + aspect + '),' + height + ',trunc(' + width + '/a/2)*2)'
+      }
+    },
+
+    /*
+      Then we pad the scaled input to match the target size
+      (here iw and ih refer to the padding input, i.e the scaled output)
+     */
+
+    {
+      filter: 'pad',
+      options: {
+        w: width,
+        h: height,
+        x: 'if(gt(a,' + aspect + '),0,(' + width + '-iw)/2)',
+        y: 'if(lt(a,' + aspect + '),0,(' + height + '-ih)/2)',
+        color: color
+      }
+    }
+  ];
+}
+
+
+/**
+ * Recompute size filters
+ *
+ * @param {Object} output
+ * @param {String} key newly-added parameter name ('size', 'aspect' or 'pad')
+ * @param {String} value newly-added parameter value
+ * @return filter string array
+ * @private
+ */
+function createSizeFilters(output, key, value) {
+  // Store parameters
+  var data = output.sizeData = output.sizeData || {};
+  data[key] = value;
+
+  if (!('size' in data)) {
+    // No size requested, keep original size
+    return [];
+  }
+
+  // Try to match the different size string formats
+  var fixedSize = data.size.match(/([0-9]+)x([0-9]+)/);
+  var fixedWidth = data.size.match(/([0-9]+)x\?/);
+  var fixedHeight = data.size.match(/\?x([0-9]+)/);
+  var percentRatio = data.size.match(/\b([0-9]{1,3})%/);
+  var width, height, aspect;
+
+  if (percentRatio) {
+    var ratio = Number(percentRatio[1]) / 100;
+    return [{
+      filter: 'scale',
+      options: {
+        w: 'trunc(iw*' + ratio + '/2)*2',
+        h: 'trunc(ih*' + ratio + '/2)*2'
+      }
+    }];
+  } else if (fixedSize) {
+    // Round target size to multiples of 2
+    width = Math.round(Number(fixedSize[1]) / 2) * 2;
+    height = Math.round(Number(fixedSize[2]) / 2) * 2;
+
+    aspect = width / height;
+
+    if (data.pad) {
+      return getScalePadFilters(width, height, aspect, data.pad);
+    } else {
+      // No autopad requested, rescale to target size
+      return [{ filter: 'scale', options: { w: width, h: height }}];
+    }
+  } else if (fixedWidth || fixedHeight) {
+    if ('aspect' in data) {
+      // Specified aspect ratio
+      width = fixedWidth ? fixedWidth[1] : Math.round(Number(fixedHeight[1]) * data.aspect);
+      height = fixedHeight ? fixedHeight[1] : Math.round(Number(fixedWidth[1]) / data.aspect);
+
+      // Round to multiples of 2
+      width = Math.round(width / 2) * 2;
+      height = Math.round(height / 2) * 2;
+
+      if (data.pad) {
+        return getScalePadFilters(width, height, data.aspect, data.pad);
+      } else {
+        // No autopad requested, rescale to target size
+        return [{ filter: 'scale', options: { w: width, h: height }}];
+      }
+    } else {
+      // Keep input aspect ratio
+
+      if (fixedWidth) {
+        return [{
+          filter: 'scale',
+          options: {
+            w: Math.round(Number(fixedWidth[1]) / 2) * 2,
+            h: 'trunc(ow/a/2)*2'
+          }
+        }];
+      } else {
+        return [{
+          filter: 'scale',
+          options: {
+            w: 'trunc(oh*a/2)*2',
+            h: Math.round(Number(fixedHeight[1]) / 2) * 2
+          }
+        }];
+      }
+    }
+  } else {
+    throw new Error('Invalid size specified: ' + data.size);
+  }
+}
+
+
+/*
+ *! Video size-related methods
+ */
+
+module.exports = function(proto) {
+  /**
+   * Keep display aspect ratio
+   *
+   * This method is useful when converting an input with non-square pixels to an output format
+   * that does not support non-square pixels.  It rescales the input so that the display aspect
+   * ratio is the same.
+   *
+   * @method FfmpegCommand#keepDAR
+   * @category Video size
+   * @aliases keepPixelAspect,keepDisplayAspect,keepDisplayAspectRatio
+   *
+   * @return FfmpegCommand
+   */
+  proto.keepPixelAspect = // Only for compatibility, this is not about keeping _pixel_ aspect ratio
+  proto.keepDisplayAspect =
+  proto.keepDisplayAspectRatio =
+  proto.keepDAR = function() {
+    return this.videoFilters([
+      {
+        filter: 'scale',
+        options: {
+          w: 'if(gt(sar,1),iw*sar,iw)',
+          h: 'if(lt(sar,1),ih/sar,ih)'
+        }
+      },
+      {
+        filter: 'setsar',
+        options: '1'
+      }
+    ]);
+  };
+
+
+  /**
+   * Set output size
+   *
+   * The 'size' parameter can have one of 4 forms:
+   * - 'X%': rescale to xx % of the original size
+   * - 'WxH': specify width and height
+   * - 'Wx?': specify width and compute height from input aspect ratio
+   * - '?xH': specify height and compute width from input aspect ratio
+   *
+   * Note: both dimensions will be truncated to multiples of 2.
+   *
+   * @method FfmpegCommand#size
+   * @category Video size
+   * @aliases withSize,setSize
+   *
+   * @param {String} size size string, eg. '33%', '320x240', '320x?', '?x240'
+   * @return FfmpegCommand
+   */
+  proto.withSize =
+  proto.setSize =
+  proto.size = function(size) {
+    var filters = createSizeFilters(this._currentOutput, 'size', size);
+
+    this._currentOutput.sizeFilters.clear();
+    this._currentOutput.sizeFilters(filters);
+
+    return this;
+  };
+
+
+  /**
+   * Set output aspect ratio
+   *
+   * @method FfmpegCommand#aspect
+   * @category Video size
+   * @aliases withAspect,withAspectRatio,setAspect,setAspectRatio,aspectRatio
+   *
+   * @param {String|Number} aspect aspect ratio (number or 'X:Y' string)
+   * @return FfmpegCommand
+   */
+  proto.withAspect =
+  proto.withAspectRatio =
+  proto.setAspect =
+  proto.setAspectRatio =
+  proto.aspect =
+  proto.aspectRatio = function(aspect) {
+    var a = Number(aspect);
+    if (isNaN(a)) {
+      var match = aspect.match(/^(\d+):(\d+)$/);
+      if (match) {
+        a = Number(match[1]) / Number(match[2]);
+      } else {
+        throw new Error('Invalid aspect ratio: ' + aspect);
+      }
+    }
+
+    var filters = createSizeFilters(this._currentOutput, 'aspect', a);
+
+    this._currentOutput.sizeFilters.clear();
+    this._currentOutput.sizeFilters(filters);
+
+    return this;
+  };
+
+
+  /**
+   * Enable auto-padding the output
+   *
+   * @method FfmpegCommand#autopad
+   * @category Video size
+   * @aliases applyAutopadding,applyAutoPadding,applyAutopad,applyAutoPad,withAutopadding,withAutoPadding,withAutopad,withAutoPad,autoPad
+   *
+   * @param {Boolean} [pad=true] enable/disable auto-padding
+   * @param {String} [color='black'] pad color
+   */
+  proto.applyAutopadding =
+  proto.applyAutoPadding =
+  proto.applyAutopad =
+  proto.applyAutoPad =
+  proto.withAutopadding =
+  proto.withAutoPadding =
+  proto.withAutopad =
+  proto.withAutoPad =
+  proto.autoPad =
+  proto.autopad = function(pad, color) {
+    // Allow autopad(color)
+    if (typeof pad === 'string') {
+      color = pad;
+      pad = true;
+    }
+
+    // Allow autopad() and autopad(undefined, color)
+    if (typeof pad === 'undefined') {
+      pad = true;
+    }
+
+    var filters = createSizeFilters(this._currentOutput, 'pad', pad ? color || 'black' : false);
+
+    this._currentOutput.sizeFilters.clear();
+    this._currentOutput.sizeFilters(filters);
+
+    return this;
+  };
+};
+
+
+
+ + + + +
+ + + +
+ +
+ Documentation generated by JSDoc 3.3.0-alpha5 on Tue Jul 08 2014 21:22:19 GMT+0200 (CEST) +
+ + + + + diff --git a/node_modules/fluent-ffmpeg/index.js b/node_modules/fluent-ffmpeg/index.js new file mode 100644 index 0000000..68a1522 --- /dev/null +++ b/node_modules/fluent-ffmpeg/index.js @@ -0,0 +1 @@ +module.exports = require('./lib/fluent-ffmpeg'); diff --git a/node_modules/fluent-ffmpeg/lib/capabilities.js b/node_modules/fluent-ffmpeg/lib/capabilities.js new file mode 100644 index 0000000..1c89c02 --- /dev/null +++ b/node_modules/fluent-ffmpeg/lib/capabilities.js @@ -0,0 +1,665 @@ +/*jshint node:true*/ +'use strict'; + +var fs = require('fs'); +var path = require('path'); +var async = require('async'); +var utils = require('./utils'); + +/* + *! Capability helpers + */ + +var avCodecRegexp = /^\s*([D ])([E ])([VAS])([S ])([D ])([T ]) ([^ ]+) +(.*)$/; +var ffCodecRegexp = /^\s*([D\.])([E\.])([VAS])([I\.])([L\.])([S\.]) ([^ ]+) +(.*)$/; +var ffEncodersRegexp = /\(encoders:([^\)]+)\)/; +var ffDecodersRegexp = /\(decoders:([^\)]+)\)/; +var encodersRegexp = /^\s*([VAS\.])([F\.])([S\.])([X\.])([B\.])([D\.]) ([^ ]+) +(.*)$/; +var formatRegexp = /^\s*([D ])([E ])\s+([^ ]+)\s+(.*)$/; +var lineBreakRegexp = /\r\n|\r|\n/; +var filterRegexp = /^(?: [T\.][S\.][C\.] )?([^ ]+) +(AA?|VV?|\|)->(AA?|VV?|\|) +(.*)$/; + +var cache = {}; + +module.exports = function(proto) { + /** + * Manually define the ffmpeg binary full path. + * + * @method FfmpegCommand#setFfmpegPath + * + * @param {String} ffmpegPath The full path to the ffmpeg binary. + * @return FfmpegCommand + */ + proto.setFfmpegPath = function(ffmpegPath) { + cache.ffmpegPath = ffmpegPath; + return this; + }; + + /** + * Manually define the ffprobe binary full path. + * + * @method FfmpegCommand#setFfprobePath + * + * @param {String} ffprobePath The full path to the ffprobe binary. + * @return FfmpegCommand + */ + proto.setFfprobePath = function(ffprobePath) { + cache.ffprobePath = ffprobePath; + return this; + }; + + /** + * Manually define the flvtool2/flvmeta binary full path. + * + * @method FfmpegCommand#setFlvtoolPath + * + * @param {String} flvtool The full path to the flvtool2 or flvmeta binary. + * @return FfmpegCommand + */ + proto.setFlvtoolPath = function(flvtool) { + cache.flvtoolPath = flvtool; + return this; + }; + + /** + * Forget executable paths + * + * (only used for testing purposes) + * + * @method FfmpegCommand#_forgetPaths + * @private + */ + proto._forgetPaths = function() { + delete cache.ffmpegPath; + delete cache.ffprobePath; + delete cache.flvtoolPath; + }; + + /** + * Check for ffmpeg availability + * + * If the FFMPEG_PATH environment variable is set, try to use it. + * If it is unset or incorrect, try to find ffmpeg in the PATH instead. + * + * @method FfmpegCommand#_getFfmpegPath + * @param {Function} callback callback with signature (err, path) + * @private + */ + proto._getFfmpegPath = function(callback) { + if ('ffmpegPath' in cache) { + return callback(null, cache.ffmpegPath); + } + + async.waterfall([ + // Try FFMPEG_PATH + function(cb) { + if (process.env.FFMPEG_PATH) { + fs.exists(process.env.FFMPEG_PATH, function(exists) { + if (exists) { + cb(null, process.env.FFMPEG_PATH); + } else { + cb(null, ''); + } + }); + } else { + cb(null, ''); + } + }, + + // Search in the PATH + function(ffmpeg, cb) { + if (ffmpeg.length) { + return cb(null, ffmpeg); + } + + utils.which('ffmpeg', function(err, ffmpeg) { + cb(err, ffmpeg); + }); + } + ], function(err, ffmpeg) { + if (err) { + callback(err); + } else { + callback(null, cache.ffmpegPath = (ffmpeg || '')); + } + }); + }; + + + /** + * Check for ffprobe availability + * + * If the FFPROBE_PATH environment variable is set, try to use it. + * If it is unset or incorrect, try to find ffprobe in the PATH instead. + * If this still fails, try to find ffprobe in the same directory as ffmpeg. + * + * @method FfmpegCommand#_getFfprobePath + * @param {Function} callback callback with signature (err, path) + * @private + */ + proto._getFfprobePath = function(callback) { + var self = this; + + if ('ffprobePath' in cache) { + return callback(null, cache.ffprobePath); + } + + async.waterfall([ + // Try FFPROBE_PATH + function(cb) { + if (process.env.FFPROBE_PATH) { + fs.exists(process.env.FFPROBE_PATH, function(exists) { + cb(null, exists ? process.env.FFPROBE_PATH : ''); + }); + } else { + cb(null, ''); + } + }, + + // Search in the PATH + function(ffprobe, cb) { + if (ffprobe.length) { + return cb(null, ffprobe); + } + + utils.which('ffprobe', function(err, ffprobe) { + cb(err, ffprobe); + }); + }, + + // Search in the same directory as ffmpeg + function(ffprobe, cb) { + if (ffprobe.length) { + return cb(null, ffprobe); + } + + self._getFfmpegPath(function(err, ffmpeg) { + if (err) { + cb(err); + } else if (ffmpeg.length) { + var name = utils.isWindows ? 'ffprobe.exe' : 'ffprobe'; + var ffprobe = path.join(path.dirname(ffmpeg), name); + fs.exists(ffprobe, function(exists) { + cb(null, exists ? ffprobe : ''); + }); + } else { + cb(null, ''); + } + }); + } + ], function(err, ffprobe) { + if (err) { + callback(err); + } else { + callback(null, cache.ffprobePath = (ffprobe || '')); + } + }); + }; + + + /** + * Check for flvtool2/flvmeta availability + * + * If the FLVTOOL2_PATH or FLVMETA_PATH environment variable are set, try to use them. + * If both are either unset or incorrect, try to find flvtool2 or flvmeta in the PATH instead. + * + * @method FfmpegCommand#_getFlvtoolPath + * @param {Function} callback callback with signature (err, path) + * @private + */ + proto._getFlvtoolPath = function(callback) { + if ('flvtoolPath' in cache) { + return callback(null, cache.flvtoolPath); + } + + async.waterfall([ + // Try FLVMETA_PATH + function(cb) { + if (process.env.FLVMETA_PATH) { + fs.exists(process.env.FLVMETA_PATH, function(exists) { + cb(null, exists ? process.env.FLVMETA_PATH : ''); + }); + } else { + cb(null, ''); + } + }, + + // Try FLVTOOL2_PATH + function(flvtool, cb) { + if (flvtool.length) { + return cb(null, flvtool); + } + + if (process.env.FLVTOOL2_PATH) { + fs.exists(process.env.FLVTOOL2_PATH, function(exists) { + cb(null, exists ? process.env.FLVTOOL2_PATH : ''); + }); + } else { + cb(null, ''); + } + }, + + // Search for flvmeta in the PATH + function(flvtool, cb) { + if (flvtool.length) { + return cb(null, flvtool); + } + + utils.which('flvmeta', function(err, flvmeta) { + cb(err, flvmeta); + }); + }, + + // Search for flvtool2 in the PATH + function(flvtool, cb) { + if (flvtool.length) { + return cb(null, flvtool); + } + + utils.which('flvtool2', function(err, flvtool2) { + cb(err, flvtool2); + }); + }, + ], function(err, flvtool) { + if (err) { + callback(err); + } else { + callback(null, cache.flvtoolPath = (flvtool || '')); + } + }); + }; + + + /** + * A callback passed to {@link FfmpegCommand#availableFilters}. + * + * @callback FfmpegCommand~filterCallback + * @param {Error|null} err error object or null if no error happened + * @param {Object} filters filter object with filter names as keys and the following + * properties for each filter: + * @param {String} filters.description filter description + * @param {String} filters.input input type, one of 'audio', 'video' and 'none' + * @param {Boolean} filters.multipleInputs whether the filter supports multiple inputs + * @param {String} filters.output output type, one of 'audio', 'video' and 'none' + * @param {Boolean} filters.multipleOutputs whether the filter supports multiple outputs + */ + + /** + * Query ffmpeg for available filters + * + * @method FfmpegCommand#availableFilters + * @category Capabilities + * @aliases getAvailableFilters + * + * @param {FfmpegCommand~filterCallback} callback callback function + */ + proto.availableFilters = + proto.getAvailableFilters = function(callback) { + if ('filters' in cache) { + return callback(null, cache.filters); + } + + this._spawnFfmpeg(['-filters'], { captureStdout: true, stdoutLines: 0 }, function (err, stdoutRing) { + if (err) { + return callback(err); + } + + var stdout = stdoutRing.get(); + var lines = stdout.split('\n'); + var data = {}; + var types = { A: 'audio', V: 'video', '|': 'none' }; + + lines.forEach(function(line) { + var match = line.match(filterRegexp); + if (match) { + data[match[1]] = { + description: match[4], + input: types[match[2].charAt(0)], + multipleInputs: match[2].length > 1, + output: types[match[3].charAt(0)], + multipleOutputs: match[3].length > 1 + }; + } + }); + + callback(null, cache.filters = data); + }); + }; + + + /** + * A callback passed to {@link FfmpegCommand#availableCodecs}. + * + * @callback FfmpegCommand~codecCallback + * @param {Error|null} err error object or null if no error happened + * @param {Object} codecs codec object with codec names as keys and the following + * properties for each codec (more properties may be available depending on the + * ffmpeg version used): + * @param {String} codecs.description codec description + * @param {Boolean} codecs.canDecode whether the codec is able to decode streams + * @param {Boolean} codecs.canEncode whether the codec is able to encode streams + */ + + /** + * Query ffmpeg for available codecs + * + * @method FfmpegCommand#availableCodecs + * @category Capabilities + * @aliases getAvailableCodecs + * + * @param {FfmpegCommand~codecCallback} callback callback function + */ + proto.availableCodecs = + proto.getAvailableCodecs = function(callback) { + if ('codecs' in cache) { + return callback(null, cache.codecs); + } + + this._spawnFfmpeg(['-codecs'], { captureStdout: true, stdoutLines: 0 }, function(err, stdoutRing) { + if (err) { + return callback(err); + } + + var stdout = stdoutRing.get(); + var lines = stdout.split(lineBreakRegexp); + var data = {}; + + lines.forEach(function(line) { + var match = line.match(avCodecRegexp); + if (match && match[7] !== '=') { + data[match[7]] = { + type: { 'V': 'video', 'A': 'audio', 'S': 'subtitle' }[match[3]], + description: match[8], + canDecode: match[1] === 'D', + canEncode: match[2] === 'E', + drawHorizBand: match[4] === 'S', + directRendering: match[5] === 'D', + weirdFrameTruncation: match[6] === 'T' + }; + } + + match = line.match(ffCodecRegexp); + if (match && match[7] !== '=') { + var codecData = data[match[7]] = { + type: { 'V': 'video', 'A': 'audio', 'S': 'subtitle' }[match[3]], + description: match[8], + canDecode: match[1] === 'D', + canEncode: match[2] === 'E', + intraFrameOnly: match[4] === 'I', + isLossy: match[5] === 'L', + isLossless: match[6] === 'S' + }; + + var encoders = codecData.description.match(ffEncodersRegexp); + encoders = encoders ? encoders[1].trim().split(' ') : []; + + var decoders = codecData.description.match(ffDecodersRegexp); + decoders = decoders ? decoders[1].trim().split(' ') : []; + + if (encoders.length || decoders.length) { + var coderData = {}; + utils.copy(codecData, coderData); + delete coderData.canEncode; + delete coderData.canDecode; + + encoders.forEach(function(name) { + data[name] = {}; + utils.copy(coderData, data[name]); + data[name].canEncode = true; + }); + + decoders.forEach(function(name) { + if (name in data) { + data[name].canDecode = true; + } else { + data[name] = {}; + utils.copy(coderData, data[name]); + data[name].canDecode = true; + } + }); + } + } + }); + + callback(null, cache.codecs = data); + }); + }; + + + /** + * A callback passed to {@link FfmpegCommand#availableEncoders}. + * + * @callback FfmpegCommand~encodersCallback + * @param {Error|null} err error object or null if no error happened + * @param {Object} encoders encoders object with encoder names as keys and the following + * properties for each encoder: + * @param {String} encoders.description codec description + * @param {Boolean} encoders.type "audio", "video" or "subtitle" + * @param {Boolean} encoders.frameMT whether the encoder is able to do frame-level multithreading + * @param {Boolean} encoders.sliceMT whether the encoder is able to do slice-level multithreading + * @param {Boolean} encoders.experimental whether the encoder is experimental + * @param {Boolean} encoders.drawHorizBand whether the encoder supports draw_horiz_band + * @param {Boolean} encoders.directRendering whether the encoder supports direct encoding method 1 + */ + + /** + * Query ffmpeg for available encoders + * + * @method FfmpegCommand#availableEncoders + * @category Capabilities + * @aliases getAvailableEncoders + * + * @param {FfmpegCommand~encodersCallback} callback callback function + */ + proto.availableEncoders = + proto.getAvailableEncoders = function(callback) { + if ('encoders' in cache) { + return callback(null, cache.encoders); + } + + this._spawnFfmpeg(['-encoders'], { captureStdout: true, stdoutLines: 0 }, function(err, stdoutRing) { + if (err) { + return callback(err); + } + + var stdout = stdoutRing.get(); + var lines = stdout.split(lineBreakRegexp); + var data = {}; + + lines.forEach(function(line) { + var match = line.match(encodersRegexp); + if (match && match[7] !== '=') { + data[match[7]] = { + type: { 'V': 'video', 'A': 'audio', 'S': 'subtitle' }[match[1]], + description: match[8], + frameMT: match[2] === 'F', + sliceMT: match[3] === 'S', + experimental: match[4] === 'X', + drawHorizBand: match[5] === 'B', + directRendering: match[6] === 'D' + }; + } + }); + + callback(null, cache.encoders = data); + }); + }; + + + /** + * A callback passed to {@link FfmpegCommand#availableFormats}. + * + * @callback FfmpegCommand~formatCallback + * @param {Error|null} err error object or null if no error happened + * @param {Object} formats format object with format names as keys and the following + * properties for each format: + * @param {String} formats.description format description + * @param {Boolean} formats.canDemux whether the format is able to demux streams from an input file + * @param {Boolean} formats.canMux whether the format is able to mux streams into an output file + */ + + /** + * Query ffmpeg for available formats + * + * @method FfmpegCommand#availableFormats + * @category Capabilities + * @aliases getAvailableFormats + * + * @param {FfmpegCommand~formatCallback} callback callback function + */ + proto.availableFormats = + proto.getAvailableFormats = function(callback) { + if ('formats' in cache) { + return callback(null, cache.formats); + } + + // Run ffmpeg -formats + this._spawnFfmpeg(['-formats'], { captureStdout: true, stdoutLines: 0 }, function (err, stdoutRing) { + if (err) { + return callback(err); + } + + // Parse output + var stdout = stdoutRing.get(); + var lines = stdout.split(lineBreakRegexp); + var data = {}; + + lines.forEach(function(line) { + var match = line.match(formatRegexp); + if (match) { + match[3].split(',').forEach(function(format) { + if (!(format in data)) { + data[format] = { + description: match[4], + canDemux: false, + canMux: false + }; + } + + if (match[1] === 'D') { + data[format].canDemux = true; + } + if (match[2] === 'E') { + data[format].canMux = true; + } + }); + } + }); + + callback(null, cache.formats = data); + }); + }; + + + /** + * Check capabilities before executing a command + * + * Checks whether all used codecs and formats are indeed available + * + * @method FfmpegCommand#_checkCapabilities + * @param {Function} callback callback with signature (err) + * @private + */ + proto._checkCapabilities = function(callback) { + var self = this; + async.waterfall([ + // Get available formats + function(cb) { + self.availableFormats(cb); + }, + + // Check whether specified formats are available + function(formats, cb) { + var unavailable; + + // Output format(s) + unavailable = self._outputs + .reduce(function(fmts, output) { + var format = output.options.find('-f', 1); + if (format) { + if (!(format[0] in formats) || !(formats[format[0]].canMux)) { + fmts.push(format); + } + } + + return fmts; + }, []); + + if (unavailable.length === 1) { + return cb(new Error('Output format ' + unavailable[0] + ' is not available')); + } else if (unavailable.length > 1) { + return cb(new Error('Output formats ' + unavailable.join(', ') + ' are not available')); + } + + // Input format(s) + unavailable = self._inputs + .reduce(function(fmts, input) { + var format = input.options.find('-f', 1); + if (format) { + if (!(format[0] in formats) || !(formats[format[0]].canDemux)) { + fmts.push(format[0]); + } + } + + return fmts; + }, []); + + if (unavailable.length === 1) { + return cb(new Error('Input format ' + unavailable[0] + ' is not available')); + } else if (unavailable.length > 1) { + return cb(new Error('Input formats ' + unavailable.join(', ') + ' are not available')); + } + + cb(); + }, + + // Get available codecs + function(cb) { + self.availableEncoders(cb); + }, + + // Check whether specified codecs are available and add strict experimental options if needed + function(encoders, cb) { + var unavailable; + + // Audio codec(s) + unavailable = self._outputs.reduce(function(cdcs, output) { + var acodec = output.audio.find('-acodec', 1); + if (acodec && acodec[0] !== 'copy') { + if (!(acodec[0] in encoders) || encoders[acodec[0]].type !== 'audio') { + cdcs.push(acodec[0]); + } + } + + return cdcs; + }, []); + + if (unavailable.length === 1) { + return cb(new Error('Audio codec ' + unavailable[0] + ' is not available')); + } else if (unavailable.length > 1) { + return cb(new Error('Audio codecs ' + unavailable.join(', ') + ' are not available')); + } + + // Video codec(s) + unavailable = self._outputs.reduce(function(cdcs, output) { + var vcodec = output.video.find('-vcodec', 1); + if (vcodec && vcodec[0] !== 'copy') { + if (!(vcodec[0] in encoders) || encoders[vcodec[0]].type !== 'video') { + cdcs.push(vcodec[0]); + } + } + + return cdcs; + }, []); + + if (unavailable.length === 1) { + return cb(new Error('Video codec ' + unavailable[0] + ' is not available')); + } else if (unavailable.length > 1) { + return cb(new Error('Video codecs ' + unavailable.join(', ') + ' are not available')); + } + + cb(); + } + ], callback); + }; +}; diff --git a/node_modules/fluent-ffmpeg/lib/ffprobe.js b/node_modules/fluent-ffmpeg/lib/ffprobe.js new file mode 100644 index 0000000..d24be85 --- /dev/null +++ b/node_modules/fluent-ffmpeg/lib/ffprobe.js @@ -0,0 +1,261 @@ +/*jshint node:true, laxcomma:true*/ +'use strict'; + +var spawn = require('child_process').spawn; + + +function legacyTag(key) { return key.match(/^TAG:/); } +function legacyDisposition(key) { return key.match(/^DISPOSITION:/); } + +function parseFfprobeOutput(out) { + var lines = out.split(/\r\n|\r|\n/); + + lines = lines.filter(function (line) { + return line.length > 0; + }); + + var data = { + streams: [], + format: {}, + chapters: [] + }; + + function parseBlock(name) { + var data = {}; + + var line = lines.shift(); + while (typeof line !== 'undefined') { + if (line.toLowerCase() == '[/'+name+']') { + return data; + } else if (line.match(/^\[/)) { + line = lines.shift(); + continue; + } + + var kv = line.match(/^([^=]+)=(.*)$/); + if (kv) { + if (!(kv[1].match(/^TAG:/)) && kv[2].match(/^[0-9]+(\.[0-9]+)?$/)) { + data[kv[1]] = Number(kv[2]); + } else { + data[kv[1]] = kv[2]; + } + } + + line = lines.shift(); + } + + return data; + } + + var line = lines.shift(); + while (typeof line !== 'undefined') { + if (line.match(/^\[stream/i)) { + var stream = parseBlock('stream'); + data.streams.push(stream); + } else if (line.match(/^\[chapter/i)) { + var chapter = parseBlock('chapter'); + data.chapters.push(chapter); + } else if (line.toLowerCase() === '[format]') { + data.format = parseBlock('format'); + } + + line = lines.shift(); + } + + return data; +} + + + +module.exports = function(proto) { + /** + * A callback passed to the {@link FfmpegCommand#ffprobe} method. + * + * @callback FfmpegCommand~ffprobeCallback + * + * @param {Error|null} err error object or null if no error happened + * @param {Object} ffprobeData ffprobe output data; this object + * has the same format as what the following command returns: + * + * `ffprobe -print_format json -show_streams -show_format INPUTFILE` + * @param {Array} ffprobeData.streams stream information + * @param {Object} ffprobeData.format format information + */ + + /** + * Run ffprobe on last specified input + * + * @method FfmpegCommand#ffprobe + * @category Metadata + * + * @param {?Number} [index] 0-based index of input to probe (defaults to last input) + * @param {?String[]} [options] array of output options to return + * @param {FfmpegCommand~ffprobeCallback} callback callback function + * + */ + proto.ffprobe = function() { + var input, index = null, options = [], callback; + + // the last argument should be the callback + var callback = arguments[arguments.length - 1]; + + var ended = false + function handleCallback(err, data) { + if (!ended) { + ended = true; + callback(err, data); + } + }; + + // map the arguments to the correct variable names + switch (arguments.length) { + case 3: + index = arguments[0]; + options = arguments[1]; + break; + case 2: + if (typeof arguments[0] === 'number') { + index = arguments[0]; + } else if (Array.isArray(arguments[0])) { + options = arguments[0]; + } + break; + } + + + if (index === null) { + if (!this._currentInput) { + return handleCallback(new Error('No input specified')); + } + + input = this._currentInput; + } else { + input = this._inputs[index]; + + if (!input) { + return handleCallback(new Error('Invalid input index')); + } + } + + // Find ffprobe + this._getFfprobePath(function(err, path) { + if (err) { + return handleCallback(err); + } else if (!path) { + return handleCallback(new Error('Cannot find ffprobe')); + } + + var stdout = ''; + var stdoutClosed = false; + var stderr = ''; + var stderrClosed = false; + + // Spawn ffprobe + var src = input.isStream ? 'pipe:0' : input.source; + var ffprobe = spawn(path, ['-show_streams', '-show_format'].concat(options, src), {windowsHide: true}); + + if (input.isStream) { + // Skip errors on stdin. These get thrown when ffprobe is complete and + // there seems to be no way hook in and close stdin before it throws. + ffprobe.stdin.on('error', function(err) { + if (['ECONNRESET', 'EPIPE', 'EOF'].indexOf(err.code) >= 0) { return; } + handleCallback(err); + }); + + // Once ffprobe's input stream closes, we need no more data from the + // input + ffprobe.stdin.on('close', function() { + input.source.pause(); + input.source.unpipe(ffprobe.stdin); + }); + + input.source.pipe(ffprobe.stdin); + } + + ffprobe.on('error', callback); + + // Ensure we wait for captured streams to end before calling callback + var exitError = null; + function handleExit(err) { + if (err) { + exitError = err; + } + + if (processExited && stdoutClosed && stderrClosed) { + if (exitError) { + if (stderr) { + exitError.message += '\n' + stderr; + } + + return handleCallback(exitError); + } + + // Process output + var data = parseFfprobeOutput(stdout); + + // Handle legacy output with "TAG:x" and "DISPOSITION:x" keys + [data.format].concat(data.streams).forEach(function(target) { + if (target) { + var legacyTagKeys = Object.keys(target).filter(legacyTag); + + if (legacyTagKeys.length) { + target.tags = target.tags || {}; + + legacyTagKeys.forEach(function(tagKey) { + target.tags[tagKey.substr(4)] = target[tagKey]; + delete target[tagKey]; + }); + } + + var legacyDispositionKeys = Object.keys(target).filter(legacyDisposition); + + if (legacyDispositionKeys.length) { + target.disposition = target.disposition || {}; + + legacyDispositionKeys.forEach(function(dispositionKey) { + target.disposition[dispositionKey.substr(12)] = target[dispositionKey]; + delete target[dispositionKey]; + }); + } + } + }); + + handleCallback(null, data); + } + } + + // Handle ffprobe exit + var processExited = false; + ffprobe.on('exit', function(code, signal) { + processExited = true; + + if (code) { + handleExit(new Error('ffprobe exited with code ' + code)); + } else if (signal) { + handleExit(new Error('ffprobe was killed with signal ' + signal)); + } else { + handleExit(); + } + }); + + // Handle stdout/stderr streams + ffprobe.stdout.on('data', function(data) { + stdout += data; + }); + + ffprobe.stdout.on('close', function() { + stdoutClosed = true; + handleExit(); + }); + + ffprobe.stderr.on('data', function(data) { + stderr += data; + }); + + ffprobe.stderr.on('close', function() { + stderrClosed = true; + handleExit(); + }); + }); + }; +}; diff --git a/node_modules/fluent-ffmpeg/lib/fluent-ffmpeg.js b/node_modules/fluent-ffmpeg/lib/fluent-ffmpeg.js new file mode 100644 index 0000000..7e64856 --- /dev/null +++ b/node_modules/fluent-ffmpeg/lib/fluent-ffmpeg.js @@ -0,0 +1,226 @@ +/*jshint node:true*/ +'use strict'; + +var path = require('path'); +var util = require('util'); +var EventEmitter = require('events').EventEmitter; + +var utils = require('./utils'); +var ARGLISTS = ['_global', '_audio', '_audioFilters', '_video', '_videoFilters', '_sizeFilters', '_complexFilters']; + + +/** + * Create an ffmpeg command + * + * Can be called with or without the 'new' operator, and the 'input' parameter + * may be specified as 'options.source' instead (or passed later with the + * addInput method). + * + * @constructor + * @param {String|ReadableStream} [input] input file path or readable stream + * @param {Object} [options] command options + * @param {Object} [options.logger=] logger object with 'error', 'warning', 'info' and 'debug' methods + * @param {Number} [options.niceness=0] ffmpeg process niceness, ignored on Windows + * @param {Number} [options.priority=0] alias for `niceness` + * @param {String} [options.presets="fluent-ffmpeg/lib/presets"] directory to load presets from + * @param {String} [options.preset="fluent-ffmpeg/lib/presets"] alias for `presets` + * @param {String} [options.stdoutLines=100] maximum lines of ffmpeg output to keep in memory, use 0 for unlimited + * @param {Number} [options.timeout=] ffmpeg processing timeout in seconds + * @param {String|ReadableStream} [options.source=] alias for the `input` parameter + */ +function FfmpegCommand(input, options) { + // Make 'new' optional + if (!(this instanceof FfmpegCommand)) { + return new FfmpegCommand(input, options); + } + + EventEmitter.call(this); + + if (typeof input === 'object' && !('readable' in input)) { + // Options object passed directly + options = input; + } else { + // Input passed first + options = options || {}; + options.source = input; + } + + // Add input if present + this._inputs = []; + if (options.source) { + this.input(options.source); + } + + // Add target-less output for backwards compatibility + this._outputs = []; + this.output(); + + // Create argument lists + var self = this; + ['_global', '_complexFilters'].forEach(function(prop) { + self[prop] = utils.args(); + }); + + // Set default option values + options.stdoutLines = 'stdoutLines' in options ? options.stdoutLines : 100; + options.presets = options.presets || options.preset || path.join(__dirname, 'presets'); + options.niceness = options.niceness || options.priority || 0; + + // Save options + this.options = options; + + // Setup logger + this.logger = options.logger || { + debug: function() {}, + info: function() {}, + warn: function() {}, + error: function() {} + }; +} +util.inherits(FfmpegCommand, EventEmitter); +module.exports = FfmpegCommand; + + +/** + * Clone an ffmpeg command + * + * This method is useful when you want to process the same input multiple times. + * It returns a new FfmpegCommand instance with the exact same options. + * + * All options set _after_ the clone() call will only be applied to the instance + * it has been called on. + * + * @example + * var command = ffmpeg('/path/to/source.avi') + * .audioCodec('libfaac') + * .videoCodec('libx264') + * .format('mp4'); + * + * command.clone() + * .size('320x200') + * .save('/path/to/output-small.mp4'); + * + * command.clone() + * .size('640x400') + * .save('/path/to/output-medium.mp4'); + * + * command.save('/path/to/output-original-size.mp4'); + * + * @method FfmpegCommand#clone + * @return FfmpegCommand + */ +FfmpegCommand.prototype.clone = function() { + var clone = new FfmpegCommand(); + var self = this; + + // Clone options and logger + clone.options = this.options; + clone.logger = this.logger; + + // Clone inputs + clone._inputs = this._inputs.map(function(input) { + return { + source: input.source, + options: input.options.clone() + }; + }); + + // Create first output + if ('target' in this._outputs[0]) { + // We have outputs set, don't clone them and create first output + clone._outputs = []; + clone.output(); + } else { + // No outputs set, clone first output options + clone._outputs = [ + clone._currentOutput = { + flags: {} + } + ]; + + ['audio', 'audioFilters', 'video', 'videoFilters', 'sizeFilters', 'options'].forEach(function(key) { + clone._currentOutput[key] = self._currentOutput[key].clone(); + }); + + if (this._currentOutput.sizeData) { + clone._currentOutput.sizeData = {}; + utils.copy(this._currentOutput.sizeData, clone._currentOutput.sizeData); + } + + utils.copy(this._currentOutput.flags, clone._currentOutput.flags); + } + + // Clone argument lists + ['_global', '_complexFilters'].forEach(function(prop) { + clone[prop] = self[prop].clone(); + }); + + return clone; +}; + + +/* Add methods from options submodules */ + +require('./options/inputs')(FfmpegCommand.prototype); +require('./options/audio')(FfmpegCommand.prototype); +require('./options/video')(FfmpegCommand.prototype); +require('./options/videosize')(FfmpegCommand.prototype); +require('./options/output')(FfmpegCommand.prototype); +require('./options/custom')(FfmpegCommand.prototype); +require('./options/misc')(FfmpegCommand.prototype); + + +/* Add processor methods */ + +require('./processor')(FfmpegCommand.prototype); + + +/* Add capabilities methods */ + +require('./capabilities')(FfmpegCommand.prototype); + +FfmpegCommand.setFfmpegPath = function(path) { + (new FfmpegCommand()).setFfmpegPath(path); +}; + +FfmpegCommand.setFfprobePath = function(path) { + (new FfmpegCommand()).setFfprobePath(path); +}; + +FfmpegCommand.setFlvtoolPath = function(path) { + (new FfmpegCommand()).setFlvtoolPath(path); +}; + +FfmpegCommand.availableFilters = +FfmpegCommand.getAvailableFilters = function(callback) { + (new FfmpegCommand()).availableFilters(callback); +}; + +FfmpegCommand.availableCodecs = +FfmpegCommand.getAvailableCodecs = function(callback) { + (new FfmpegCommand()).availableCodecs(callback); +}; + +FfmpegCommand.availableFormats = +FfmpegCommand.getAvailableFormats = function(callback) { + (new FfmpegCommand()).availableFormats(callback); +}; + +FfmpegCommand.availableEncoders = +FfmpegCommand.getAvailableEncoders = function(callback) { + (new FfmpegCommand()).availableEncoders(callback); +}; + + +/* Add ffprobe methods */ + +require('./ffprobe')(FfmpegCommand.prototype); + +FfmpegCommand.ffprobe = function(file) { + var instance = new FfmpegCommand(file); + instance.ffprobe.apply(instance, Array.prototype.slice.call(arguments, 1)); +}; + +/* Add processing recipes */ + +require('./recipes')(FfmpegCommand.prototype); diff --git a/node_modules/fluent-ffmpeg/lib/options/audio.js b/node_modules/fluent-ffmpeg/lib/options/audio.js new file mode 100644 index 0000000..607fdb3 --- /dev/null +++ b/node_modules/fluent-ffmpeg/lib/options/audio.js @@ -0,0 +1,178 @@ +/*jshint node:true*/ +'use strict'; + +var utils = require('../utils'); + + +/* + *! Audio-related methods + */ + +module.exports = function(proto) { + /** + * Disable audio in the output + * + * @method FfmpegCommand#noAudio + * @category Audio + * @aliases withNoAudio + * @return FfmpegCommand + */ + proto.withNoAudio = + proto.noAudio = function() { + this._currentOutput.audio.clear(); + this._currentOutput.audioFilters.clear(); + this._currentOutput.audio('-an'); + + return this; + }; + + + /** + * Specify audio codec + * + * @method FfmpegCommand#audioCodec + * @category Audio + * @aliases withAudioCodec + * + * @param {String} codec audio codec name + * @return FfmpegCommand + */ + proto.withAudioCodec = + proto.audioCodec = function(codec) { + this._currentOutput.audio('-acodec', codec); + + return this; + }; + + + /** + * Specify audio bitrate + * + * @method FfmpegCommand#audioBitrate + * @category Audio + * @aliases withAudioBitrate + * + * @param {String|Number} bitrate audio bitrate in kbps (with an optional 'k' suffix) + * @return FfmpegCommand + */ + proto.withAudioBitrate = + proto.audioBitrate = function(bitrate) { + this._currentOutput.audio('-b:a', ('' + bitrate).replace(/k?$/, 'k')); + return this; + }; + + + /** + * Specify audio channel count + * + * @method FfmpegCommand#audioChannels + * @category Audio + * @aliases withAudioChannels + * + * @param {Number} channels channel count + * @return FfmpegCommand + */ + proto.withAudioChannels = + proto.audioChannels = function(channels) { + this._currentOutput.audio('-ac', channels); + return this; + }; + + + /** + * Specify audio frequency + * + * @method FfmpegCommand#audioFrequency + * @category Audio + * @aliases withAudioFrequency + * + * @param {Number} freq audio frequency in Hz + * @return FfmpegCommand + */ + proto.withAudioFrequency = + proto.audioFrequency = function(freq) { + this._currentOutput.audio('-ar', freq); + return this; + }; + + + /** + * Specify audio quality + * + * @method FfmpegCommand#audioQuality + * @category Audio + * @aliases withAudioQuality + * + * @param {Number} quality audio quality factor + * @return FfmpegCommand + */ + proto.withAudioQuality = + proto.audioQuality = function(quality) { + this._currentOutput.audio('-aq', quality); + return this; + }; + + + /** + * Specify custom audio filter(s) + * + * Can be called both with one or many filters, or a filter array. + * + * @example + * command.audioFilters('filter1'); + * + * @example + * command.audioFilters('filter1', 'filter2=param1=value1:param2=value2'); + * + * @example + * command.audioFilters(['filter1', 'filter2']); + * + * @example + * command.audioFilters([ + * { + * filter: 'filter1' + * }, + * { + * filter: 'filter2', + * options: 'param=value:param=value' + * } + * ]); + * + * @example + * command.audioFilters( + * { + * filter: 'filter1', + * options: ['value1', 'value2'] + * }, + * { + * filter: 'filter2', + * options: { param1: 'value1', param2: 'value2' } + * } + * ); + * + * @method FfmpegCommand#audioFilters + * @aliases withAudioFilter,withAudioFilters,audioFilter + * @category Audio + * + * @param {...String|String[]|Object[]} filters audio filter strings, string array or + * filter specification array, each with the following properties: + * @param {String} filters.filter filter name + * @param {String|String[]|Object} [filters.options] filter option string, array, or object + * @return FfmpegCommand + */ + proto.withAudioFilter = + proto.withAudioFilters = + proto.audioFilter = + proto.audioFilters = function(filters) { + if (arguments.length > 1) { + filters = [].slice.call(arguments); + } + + if (!Array.isArray(filters)) { + filters = [filters]; + } + + this._currentOutput.audioFilters(utils.makeFilterStrings(filters)); + return this; + }; +}; diff --git a/node_modules/fluent-ffmpeg/lib/options/custom.js b/node_modules/fluent-ffmpeg/lib/options/custom.js new file mode 100644 index 0000000..d743566 --- /dev/null +++ b/node_modules/fluent-ffmpeg/lib/options/custom.js @@ -0,0 +1,212 @@ +/*jshint node:true*/ +'use strict'; + +var utils = require('../utils'); + + +/* + *! Custom options methods + */ + +module.exports = function(proto) { + /** + * Add custom input option(s) + * + * When passing a single string or an array, each string containing two + * words is split (eg. inputOptions('-option value') is supported) for + * compatibility reasons. This is not the case when passing more than + * one argument. + * + * @example + * command.inputOptions('option1'); + * + * @example + * command.inputOptions('option1', 'option2'); + * + * @example + * command.inputOptions(['option1', 'option2']); + * + * @method FfmpegCommand#inputOptions + * @category Custom options + * @aliases addInputOption,addInputOptions,withInputOption,withInputOptions,inputOption + * + * @param {...String} options option string(s) or string array + * @return FfmpegCommand + */ + proto.addInputOption = + proto.addInputOptions = + proto.withInputOption = + proto.withInputOptions = + proto.inputOption = + proto.inputOptions = function(options) { + if (!this._currentInput) { + throw new Error('No input specified'); + } + + var doSplit = true; + + if (arguments.length > 1) { + options = [].slice.call(arguments); + doSplit = false; + } + + if (!Array.isArray(options)) { + options = [options]; + } + + this._currentInput.options(options.reduce(function(options, option) { + var split = String(option).split(' '); + + if (doSplit && split.length === 2) { + options.push(split[0], split[1]); + } else { + options.push(option); + } + + return options; + }, [])); + return this; + }; + + + /** + * Add custom output option(s) + * + * @example + * command.outputOptions('option1'); + * + * @example + * command.outputOptions('option1', 'option2'); + * + * @example + * command.outputOptions(['option1', 'option2']); + * + * @method FfmpegCommand#outputOptions + * @category Custom options + * @aliases addOutputOption,addOutputOptions,addOption,addOptions,withOutputOption,withOutputOptions,withOption,withOptions,outputOption + * + * @param {...String} options option string(s) or string array + * @return FfmpegCommand + */ + proto.addOutputOption = + proto.addOutputOptions = + proto.addOption = + proto.addOptions = + proto.withOutputOption = + proto.withOutputOptions = + proto.withOption = + proto.withOptions = + proto.outputOption = + proto.outputOptions = function(options) { + var doSplit = true; + + if (arguments.length > 1) { + options = [].slice.call(arguments); + doSplit = false; + } + + if (!Array.isArray(options)) { + options = [options]; + } + + this._currentOutput.options(options.reduce(function(options, option) { + var split = String(option).split(' '); + + if (doSplit && split.length === 2) { + options.push(split[0], split[1]); + } else { + options.push(option); + } + + return options; + }, [])); + return this; + }; + + + /** + * Specify a complex filtergraph + * + * Calling this method will override any previously set filtergraph, but you can set + * as many filters as needed in one call. + * + * @example Overlay an image over a video (using a filtergraph string) + * ffmpeg() + * .input('video.avi') + * .input('image.png') + * .complexFilter('[0:v][1:v]overlay[out]', ['out']); + * + * @example Overlay an image over a video (using a filter array) + * ffmpeg() + * .input('video.avi') + * .input('image.png') + * .complexFilter([{ + * filter: 'overlay', + * inputs: ['0:v', '1:v'], + * outputs: ['out'] + * }], ['out']); + * + * @example Split video into RGB channels and output a 3x1 video with channels side to side + * ffmpeg() + * .input('video.avi') + * .complexFilter([ + * // Duplicate video stream 3 times into streams a, b, and c + * { filter: 'split', options: '3', outputs: ['a', 'b', 'c'] }, + * + * // Create stream 'red' by cancelling green and blue channels from stream 'a' + * { filter: 'lutrgb', options: { g: 0, b: 0 }, inputs: 'a', outputs: 'red' }, + * + * // Create stream 'green' by cancelling red and blue channels from stream 'b' + * { filter: 'lutrgb', options: { r: 0, b: 0 }, inputs: 'b', outputs: 'green' }, + * + * // Create stream 'blue' by cancelling red and green channels from stream 'c' + * { filter: 'lutrgb', options: { r: 0, g: 0 }, inputs: 'c', outputs: 'blue' }, + * + * // Pad stream 'red' to 3x width, keeping the video on the left, and name output 'padded' + * { filter: 'pad', options: { w: 'iw*3', h: 'ih' }, inputs: 'red', outputs: 'padded' }, + * + * // Overlay 'green' onto 'padded', moving it to the center, and name output 'redgreen' + * { filter: 'overlay', options: { x: 'w', y: 0 }, inputs: ['padded', 'green'], outputs: 'redgreen'}, + * + * // Overlay 'blue' onto 'redgreen', moving it to the right + * { filter: 'overlay', options: { x: '2*w', y: 0 }, inputs: ['redgreen', 'blue']}, + * ]); + * + * @method FfmpegCommand#complexFilter + * @category Custom options + * @aliases filterGraph + * + * @param {String|Array} spec filtergraph string or array of filter specification + * objects, each having the following properties: + * @param {String} spec.filter filter name + * @param {String|Array} [spec.inputs] (array of) input stream specifier(s) for the filter, + * defaults to ffmpeg automatically choosing the first unused matching streams + * @param {String|Array} [spec.outputs] (array of) output stream specifier(s) for the filter, + * defaults to ffmpeg automatically assigning the output to the output file + * @param {Object|String|Array} [spec.options] filter options, can be omitted to not set any options + * @param {Array} [map] (array of) stream specifier(s) from the graph to include in + * ffmpeg output, defaults to ffmpeg automatically choosing the first matching streams. + * @return FfmpegCommand + */ + proto.filterGraph = + proto.complexFilter = function(spec, map) { + this._complexFilters.clear(); + + if (!Array.isArray(spec)) { + spec = [spec]; + } + + this._complexFilters('-filter_complex', utils.makeFilterStrings(spec).join(';')); + + if (Array.isArray(map)) { + var self = this; + map.forEach(function(streamSpec) { + self._complexFilters('-map', streamSpec.replace(utils.streamRegexp, '[$1]')); + }); + } else if (typeof map === 'string') { + this._complexFilters('-map', map.replace(utils.streamRegexp, '[$1]')); + } + + return this; + }; +}; diff --git a/node_modules/fluent-ffmpeg/lib/options/inputs.js b/node_modules/fluent-ffmpeg/lib/options/inputs.js new file mode 100644 index 0000000..804a21a --- /dev/null +++ b/node_modules/fluent-ffmpeg/lib/options/inputs.js @@ -0,0 +1,178 @@ +/*jshint node:true*/ +'use strict'; + +var utils = require('../utils'); + +/* + *! Input-related methods + */ + +module.exports = function(proto) { + /** + * Add an input to command + * + * Also switches "current input", that is the input that will be affected + * by subsequent input-related methods. + * + * Note: only one stream input is supported for now. + * + * @method FfmpegCommand#input + * @category Input + * @aliases mergeAdd,addInput + * + * @param {String|Readable} source input file path or readable stream + * @return FfmpegCommand + */ + proto.mergeAdd = + proto.addInput = + proto.input = function(source) { + var isFile = false; + var isStream = false; + + if (typeof source !== 'string') { + if (!('readable' in source) || !(source.readable)) { + throw new Error('Invalid input'); + } + + var hasInputStream = this._inputs.some(function(input) { + return input.isStream; + }); + + if (hasInputStream) { + throw new Error('Only one input stream is supported'); + } + + isStream = true; + source.pause(); + } else { + var protocol = source.match(/^([a-z]{2,}):/i); + isFile = !protocol || protocol[0] === 'file'; + } + + this._inputs.push(this._currentInput = { + source: source, + isFile: isFile, + isStream: isStream, + options: utils.args() + }); + + return this; + }; + + + /** + * Specify input format for the last specified input + * + * @method FfmpegCommand#inputFormat + * @category Input + * @aliases withInputFormat,fromFormat + * + * @param {String} format input format + * @return FfmpegCommand + */ + proto.withInputFormat = + proto.inputFormat = + proto.fromFormat = function(format) { + if (!this._currentInput) { + throw new Error('No input specified'); + } + + this._currentInput.options('-f', format); + return this; + }; + + + /** + * Specify input FPS for the last specified input + * (only valid for raw video formats) + * + * @method FfmpegCommand#inputFps + * @category Input + * @aliases withInputFps,withInputFPS,withFpsInput,withFPSInput,inputFPS,inputFps,fpsInput + * + * @param {Number} fps input FPS + * @return FfmpegCommand + */ + proto.withInputFps = + proto.withInputFPS = + proto.withFpsInput = + proto.withFPSInput = + proto.inputFPS = + proto.inputFps = + proto.fpsInput = + proto.FPSInput = function(fps) { + if (!this._currentInput) { + throw new Error('No input specified'); + } + + this._currentInput.options('-r', fps); + return this; + }; + + + /** + * Use native framerate for the last specified input + * + * @method FfmpegCommand#native + * @category Input + * @aliases nativeFramerate,withNativeFramerate + * + * @return FfmmegCommand + */ + proto.nativeFramerate = + proto.withNativeFramerate = + proto.native = function() { + if (!this._currentInput) { + throw new Error('No input specified'); + } + + this._currentInput.options('-re'); + return this; + }; + + + /** + * Specify input seek time for the last specified input + * + * @method FfmpegCommand#seekInput + * @category Input + * @aliases setStartTime,seekTo + * + * @param {String|Number} seek seek time in seconds or as a '[hh:[mm:]]ss[.xxx]' string + * @return FfmpegCommand + */ + proto.setStartTime = + proto.seekInput = function(seek) { + if (!this._currentInput) { + throw new Error('No input specified'); + } + + this._currentInput.options('-ss', seek); + + return this; + }; + + + /** + * Loop over the last specified input + * + * @method FfmpegCommand#loop + * @category Input + * + * @param {String|Number} [duration] loop duration in seconds or as a '[[hh:]mm:]ss[.xxx]' string + * @return FfmpegCommand + */ + proto.loop = function(duration) { + if (!this._currentInput) { + throw new Error('No input specified'); + } + + this._currentInput.options('-loop', '1'); + + if (typeof duration !== 'undefined') { + this.duration(duration); + } + + return this; + }; +}; diff --git a/node_modules/fluent-ffmpeg/lib/options/misc.js b/node_modules/fluent-ffmpeg/lib/options/misc.js new file mode 100644 index 0000000..a92f7aa --- /dev/null +++ b/node_modules/fluent-ffmpeg/lib/options/misc.js @@ -0,0 +1,41 @@ +/*jshint node:true*/ +'use strict'; + +var path = require('path'); + +/* + *! Miscellaneous methods + */ + +module.exports = function(proto) { + /** + * Use preset + * + * @method FfmpegCommand#preset + * @category Miscellaneous + * @aliases usingPreset + * + * @param {String|Function} preset preset name or preset function + */ + proto.usingPreset = + proto.preset = function(preset) { + if (typeof preset === 'function') { + preset(this); + } else { + try { + var modulePath = path.join(this.options.presets, preset); + var module = require(modulePath); + + if (typeof module.load === 'function') { + module.load(this); + } else { + throw new Error('preset ' + modulePath + ' has no load() function'); + } + } catch (err) { + throw new Error('preset ' + modulePath + ' could not be loaded: ' + err.message); + } + } + + return this; + }; +}; diff --git a/node_modules/fluent-ffmpeg/lib/options/output.js b/node_modules/fluent-ffmpeg/lib/options/output.js new file mode 100644 index 0000000..da4f771 --- /dev/null +++ b/node_modules/fluent-ffmpeg/lib/options/output.js @@ -0,0 +1,162 @@ +/*jshint node:true*/ +'use strict'; + +var utils = require('../utils'); + + +/* + *! Output-related methods + */ + +module.exports = function(proto) { + /** + * Add output + * + * @method FfmpegCommand#output + * @category Output + * @aliases addOutput + * + * @param {String|Writable} target target file path or writable stream + * @param {Object} [pipeopts={}] pipe options (only applies to streams) + * @return FfmpegCommand + */ + proto.addOutput = + proto.output = function(target, pipeopts) { + var isFile = false; + + if (!target && this._currentOutput) { + // No target is only allowed when called from constructor + throw new Error('Invalid output'); + } + + if (target && typeof target !== 'string') { + if (!('writable' in target) || !(target.writable)) { + throw new Error('Invalid output'); + } + } else if (typeof target === 'string') { + var protocol = target.match(/^([a-z]{2,}):/i); + isFile = !protocol || protocol[0] === 'file'; + } + + if (target && !('target' in this._currentOutput)) { + // For backwards compatibility, set target for first output + this._currentOutput.target = target; + this._currentOutput.isFile = isFile; + this._currentOutput.pipeopts = pipeopts || {}; + } else { + if (target && typeof target !== 'string') { + var hasOutputStream = this._outputs.some(function(output) { + return typeof output.target !== 'string'; + }); + + if (hasOutputStream) { + throw new Error('Only one output stream is supported'); + } + } + + this._outputs.push(this._currentOutput = { + target: target, + isFile: isFile, + flags: {}, + pipeopts: pipeopts || {} + }); + + var self = this; + ['audio', 'audioFilters', 'video', 'videoFilters', 'sizeFilters', 'options'].forEach(function(key) { + self._currentOutput[key] = utils.args(); + }); + + if (!target) { + // Call from constructor: remove target key + delete this._currentOutput.target; + } + } + + return this; + }; + + + /** + * Specify output seek time + * + * @method FfmpegCommand#seek + * @category Input + * @aliases seekOutput + * + * @param {String|Number} seek seek time in seconds or as a '[hh:[mm:]]ss[.xxx]' string + * @return FfmpegCommand + */ + proto.seekOutput = + proto.seek = function(seek) { + this._currentOutput.options('-ss', seek); + return this; + }; + + + /** + * Set output duration + * + * @method FfmpegCommand#duration + * @category Output + * @aliases withDuration,setDuration + * + * @param {String|Number} duration duration in seconds or as a '[[hh:]mm:]ss[.xxx]' string + * @return FfmpegCommand + */ + proto.withDuration = + proto.setDuration = + proto.duration = function(duration) { + this._currentOutput.options('-t', duration); + return this; + }; + + + /** + * Set output format + * + * @method FfmpegCommand#format + * @category Output + * @aliases toFormat,withOutputFormat,outputFormat + * + * @param {String} format output format name + * @return FfmpegCommand + */ + proto.toFormat = + proto.withOutputFormat = + proto.outputFormat = + proto.format = function(format) { + this._currentOutput.options('-f', format); + return this; + }; + + + /** + * Add stream mapping to output + * + * @method FfmpegCommand#map + * @category Output + * + * @param {String} spec stream specification string, with optional square brackets + * @return FfmpegCommand + */ + proto.map = function(spec) { + this._currentOutput.options('-map', spec.replace(utils.streamRegexp, '[$1]')); + return this; + }; + + + /** + * Run flvtool2/flvmeta on output + * + * @method FfmpegCommand#flvmeta + * @category Output + * @aliases updateFlvMetadata + * + * @return FfmpegCommand + */ + proto.updateFlvMetadata = + proto.flvmeta = function() { + this._currentOutput.flags.flvmeta = true; + return this; + }; +}; diff --git a/node_modules/fluent-ffmpeg/lib/options/video.js b/node_modules/fluent-ffmpeg/lib/options/video.js new file mode 100644 index 0000000..bb13c66 --- /dev/null +++ b/node_modules/fluent-ffmpeg/lib/options/video.js @@ -0,0 +1,184 @@ +/*jshint node:true*/ +'use strict'; + +var utils = require('../utils'); + + +/* + *! Video-related methods + */ + +module.exports = function(proto) { + /** + * Disable video in the output + * + * @method FfmpegCommand#noVideo + * @category Video + * @aliases withNoVideo + * + * @return FfmpegCommand + */ + proto.withNoVideo = + proto.noVideo = function() { + this._currentOutput.video.clear(); + this._currentOutput.videoFilters.clear(); + this._currentOutput.video('-vn'); + + return this; + }; + + + /** + * Specify video codec + * + * @method FfmpegCommand#videoCodec + * @category Video + * @aliases withVideoCodec + * + * @param {String} codec video codec name + * @return FfmpegCommand + */ + proto.withVideoCodec = + proto.videoCodec = function(codec) { + this._currentOutput.video('-vcodec', codec); + return this; + }; + + + /** + * Specify video bitrate + * + * @method FfmpegCommand#videoBitrate + * @category Video + * @aliases withVideoBitrate + * + * @param {String|Number} bitrate video bitrate in kbps (with an optional 'k' suffix) + * @param {Boolean} [constant=false] enforce constant bitrate + * @return FfmpegCommand + */ + proto.withVideoBitrate = + proto.videoBitrate = function(bitrate, constant) { + bitrate = ('' + bitrate).replace(/k?$/, 'k'); + + this._currentOutput.video('-b:v', bitrate); + if (constant) { + this._currentOutput.video( + '-maxrate', bitrate, + '-minrate', bitrate, + '-bufsize', '3M' + ); + } + + return this; + }; + + + /** + * Specify custom video filter(s) + * + * Can be called both with one or many filters, or a filter array. + * + * @example + * command.videoFilters('filter1'); + * + * @example + * command.videoFilters('filter1', 'filter2=param1=value1:param2=value2'); + * + * @example + * command.videoFilters(['filter1', 'filter2']); + * + * @example + * command.videoFilters([ + * { + * filter: 'filter1' + * }, + * { + * filter: 'filter2', + * options: 'param=value:param=value' + * } + * ]); + * + * @example + * command.videoFilters( + * { + * filter: 'filter1', + * options: ['value1', 'value2'] + * }, + * { + * filter: 'filter2', + * options: { param1: 'value1', param2: 'value2' } + * } + * ); + * + * @method FfmpegCommand#videoFilters + * @category Video + * @aliases withVideoFilter,withVideoFilters,videoFilter + * + * @param {...String|String[]|Object[]} filters video filter strings, string array or + * filter specification array, each with the following properties: + * @param {String} filters.filter filter name + * @param {String|String[]|Object} [filters.options] filter option string, array, or object + * @return FfmpegCommand + */ + proto.withVideoFilter = + proto.withVideoFilters = + proto.videoFilter = + proto.videoFilters = function(filters) { + if (arguments.length > 1) { + filters = [].slice.call(arguments); + } + + if (!Array.isArray(filters)) { + filters = [filters]; + } + + this._currentOutput.videoFilters(utils.makeFilterStrings(filters)); + + return this; + }; + + + /** + * Specify output FPS + * + * @method FfmpegCommand#fps + * @category Video + * @aliases withOutputFps,withOutputFPS,withFpsOutput,withFPSOutput,withFps,withFPS,outputFPS,outputFps,fpsOutput,FPSOutput,FPS + * + * @param {Number} fps output FPS + * @return FfmpegCommand + */ + proto.withOutputFps = + proto.withOutputFPS = + proto.withFpsOutput = + proto.withFPSOutput = + proto.withFps = + proto.withFPS = + proto.outputFPS = + proto.outputFps = + proto.fpsOutput = + proto.FPSOutput = + proto.fps = + proto.FPS = function(fps) { + this._currentOutput.video('-r', fps); + return this; + }; + + + /** + * Only transcode a certain number of frames + * + * @method FfmpegCommand#frames + * @category Video + * @aliases takeFrames,withFrames + * + * @param {Number} frames frame count + * @return FfmpegCommand + */ + proto.takeFrames = + proto.withFrames = + proto.frames = function(frames) { + this._currentOutput.video('-vframes', frames); + return this; + }; +}; diff --git a/node_modules/fluent-ffmpeg/lib/options/videosize.js b/node_modules/fluent-ffmpeg/lib/options/videosize.js new file mode 100644 index 0000000..b175dcd --- /dev/null +++ b/node_modules/fluent-ffmpeg/lib/options/videosize.js @@ -0,0 +1,291 @@ +/*jshint node:true*/ +'use strict'; + +/* + *! Size helpers + */ + + +/** + * Return filters to pad video to width*height, + * + * @param {Number} width output width + * @param {Number} height output height + * @param {Number} aspect video aspect ratio (without padding) + * @param {Number} color padding color + * @return scale/pad filters + * @private + */ +function getScalePadFilters(width, height, aspect, color) { + /* + let a be the input aspect ratio, A be the requested aspect ratio + + if a > A, padding is done on top and bottom + if a < A, padding is done on left and right + */ + + return [ + /* + In both cases, we first have to scale the input to match the requested size. + When using computed width/height, we truncate them to multiples of 2 + */ + { + filter: 'scale', + options: { + w: 'if(gt(a,' + aspect + '),' + width + ',trunc(' + height + '*a/2)*2)', + h: 'if(lt(a,' + aspect + '),' + height + ',trunc(' + width + '/a/2)*2)' + } + }, + + /* + Then we pad the scaled input to match the target size + (here iw and ih refer to the padding input, i.e the scaled output) + */ + + { + filter: 'pad', + options: { + w: width, + h: height, + x: 'if(gt(a,' + aspect + '),0,(' + width + '-iw)/2)', + y: 'if(lt(a,' + aspect + '),0,(' + height + '-ih)/2)', + color: color + } + } + ]; +} + + +/** + * Recompute size filters + * + * @param {Object} output + * @param {String} key newly-added parameter name ('size', 'aspect' or 'pad') + * @param {String} value newly-added parameter value + * @return filter string array + * @private + */ +function createSizeFilters(output, key, value) { + // Store parameters + var data = output.sizeData = output.sizeData || {}; + data[key] = value; + + if (!('size' in data)) { + // No size requested, keep original size + return []; + } + + // Try to match the different size string formats + var fixedSize = data.size.match(/([0-9]+)x([0-9]+)/); + var fixedWidth = data.size.match(/([0-9]+)x\?/); + var fixedHeight = data.size.match(/\?x([0-9]+)/); + var percentRatio = data.size.match(/\b([0-9]{1,3})%/); + var width, height, aspect; + + if (percentRatio) { + var ratio = Number(percentRatio[1]) / 100; + return [{ + filter: 'scale', + options: { + w: 'trunc(iw*' + ratio + '/2)*2', + h: 'trunc(ih*' + ratio + '/2)*2' + } + }]; + } else if (fixedSize) { + // Round target size to multiples of 2 + width = Math.round(Number(fixedSize[1]) / 2) * 2; + height = Math.round(Number(fixedSize[2]) / 2) * 2; + + aspect = width / height; + + if (data.pad) { + return getScalePadFilters(width, height, aspect, data.pad); + } else { + // No autopad requested, rescale to target size + return [{ filter: 'scale', options: { w: width, h: height }}]; + } + } else if (fixedWidth || fixedHeight) { + if ('aspect' in data) { + // Specified aspect ratio + width = fixedWidth ? fixedWidth[1] : Math.round(Number(fixedHeight[1]) * data.aspect); + height = fixedHeight ? fixedHeight[1] : Math.round(Number(fixedWidth[1]) / data.aspect); + + // Round to multiples of 2 + width = Math.round(width / 2) * 2; + height = Math.round(height / 2) * 2; + + if (data.pad) { + return getScalePadFilters(width, height, data.aspect, data.pad); + } else { + // No autopad requested, rescale to target size + return [{ filter: 'scale', options: { w: width, h: height }}]; + } + } else { + // Keep input aspect ratio + + if (fixedWidth) { + return [{ + filter: 'scale', + options: { + w: Math.round(Number(fixedWidth[1]) / 2) * 2, + h: 'trunc(ow/a/2)*2' + } + }]; + } else { + return [{ + filter: 'scale', + options: { + w: 'trunc(oh*a/2)*2', + h: Math.round(Number(fixedHeight[1]) / 2) * 2 + } + }]; + } + } + } else { + throw new Error('Invalid size specified: ' + data.size); + } +} + + +/* + *! Video size-related methods + */ + +module.exports = function(proto) { + /** + * Keep display aspect ratio + * + * This method is useful when converting an input with non-square pixels to an output format + * that does not support non-square pixels. It rescales the input so that the display aspect + * ratio is the same. + * + * @method FfmpegCommand#keepDAR + * @category Video size + * @aliases keepPixelAspect,keepDisplayAspect,keepDisplayAspectRatio + * + * @return FfmpegCommand + */ + proto.keepPixelAspect = // Only for compatibility, this is not about keeping _pixel_ aspect ratio + proto.keepDisplayAspect = + proto.keepDisplayAspectRatio = + proto.keepDAR = function() { + return this.videoFilters([ + { + filter: 'scale', + options: { + w: 'if(gt(sar,1),iw*sar,iw)', + h: 'if(lt(sar,1),ih/sar,ih)' + } + }, + { + filter: 'setsar', + options: '1' + } + ]); + }; + + + /** + * Set output size + * + * The 'size' parameter can have one of 4 forms: + * - 'X%': rescale to xx % of the original size + * - 'WxH': specify width and height + * - 'Wx?': specify width and compute height from input aspect ratio + * - '?xH': specify height and compute width from input aspect ratio + * + * Note: both dimensions will be truncated to multiples of 2. + * + * @method FfmpegCommand#size + * @category Video size + * @aliases withSize,setSize + * + * @param {String} size size string, eg. '33%', '320x240', '320x?', '?x240' + * @return FfmpegCommand + */ + proto.withSize = + proto.setSize = + proto.size = function(size) { + var filters = createSizeFilters(this._currentOutput, 'size', size); + + this._currentOutput.sizeFilters.clear(); + this._currentOutput.sizeFilters(filters); + + return this; + }; + + + /** + * Set output aspect ratio + * + * @method FfmpegCommand#aspect + * @category Video size + * @aliases withAspect,withAspectRatio,setAspect,setAspectRatio,aspectRatio + * + * @param {String|Number} aspect aspect ratio (number or 'X:Y' string) + * @return FfmpegCommand + */ + proto.withAspect = + proto.withAspectRatio = + proto.setAspect = + proto.setAspectRatio = + proto.aspect = + proto.aspectRatio = function(aspect) { + var a = Number(aspect); + if (isNaN(a)) { + var match = aspect.match(/^(\d+):(\d+)$/); + if (match) { + a = Number(match[1]) / Number(match[2]); + } else { + throw new Error('Invalid aspect ratio: ' + aspect); + } + } + + var filters = createSizeFilters(this._currentOutput, 'aspect', a); + + this._currentOutput.sizeFilters.clear(); + this._currentOutput.sizeFilters(filters); + + return this; + }; + + + /** + * Enable auto-padding the output + * + * @method FfmpegCommand#autopad + * @category Video size + * @aliases applyAutopadding,applyAutoPadding,applyAutopad,applyAutoPad,withAutopadding,withAutoPadding,withAutopad,withAutoPad,autoPad + * + * @param {Boolean} [pad=true] enable/disable auto-padding + * @param {String} [color='black'] pad color + */ + proto.applyAutopadding = + proto.applyAutoPadding = + proto.applyAutopad = + proto.applyAutoPad = + proto.withAutopadding = + proto.withAutoPadding = + proto.withAutopad = + proto.withAutoPad = + proto.autoPad = + proto.autopad = function(pad, color) { + // Allow autopad(color) + if (typeof pad === 'string') { + color = pad; + pad = true; + } + + // Allow autopad() and autopad(undefined, color) + if (typeof pad === 'undefined') { + pad = true; + } + + var filters = createSizeFilters(this._currentOutput, 'pad', pad ? color || 'black' : false); + + this._currentOutput.sizeFilters.clear(); + this._currentOutput.sizeFilters(filters); + + return this; + }; +}; diff --git a/node_modules/fluent-ffmpeg/lib/presets/divx.js b/node_modules/fluent-ffmpeg/lib/presets/divx.js new file mode 100644 index 0000000..090571b --- /dev/null +++ b/node_modules/fluent-ffmpeg/lib/presets/divx.js @@ -0,0 +1,14 @@ +/*jshint node:true */ +'use strict'; + +exports.load = function(ffmpeg) { + ffmpeg + .format('avi') + .videoBitrate('1024k') + .videoCodec('mpeg4') + .size('720x?') + .audioBitrate('128k') + .audioChannels(2) + .audioCodec('libmp3lame') + .outputOptions(['-vtag DIVX']); +}; \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/lib/presets/flashvideo.js b/node_modules/fluent-ffmpeg/lib/presets/flashvideo.js new file mode 100644 index 0000000..22aef8e --- /dev/null +++ b/node_modules/fluent-ffmpeg/lib/presets/flashvideo.js @@ -0,0 +1,16 @@ +/*jshint node:true */ +'use strict'; + +exports.load = function(ffmpeg) { + ffmpeg + .format('flv') + .flvmeta() + .size('320x?') + .videoBitrate('512k') + .videoCodec('libx264') + .fps(24) + .audioBitrate('96k') + .audioCodec('aac') + .audioFrequency(22050) + .audioChannels(2); +}; diff --git a/node_modules/fluent-ffmpeg/lib/presets/podcast.js b/node_modules/fluent-ffmpeg/lib/presets/podcast.js new file mode 100644 index 0000000..a7a0dc1 --- /dev/null +++ b/node_modules/fluent-ffmpeg/lib/presets/podcast.js @@ -0,0 +1,16 @@ +/*jshint node:true */ +'use strict'; + +exports.load = function(ffmpeg) { + ffmpeg + .format('m4v') + .videoBitrate('512k') + .videoCodec('libx264') + .size('320x176') + .audioBitrate('128k') + .audioCodec('aac') + .audioChannels(1) + .outputOptions(['-flags', '+loop', '-cmp', '+chroma', '-partitions','+parti4x4+partp8x8+partb8x8', '-flags2', + '+mixed_refs', '-me_method umh', '-subq 5', '-bufsize 2M', '-rc_eq \'blurCplx^(1-qComp)\'', + '-qcomp 0.6', '-qmin 10', '-qmax 51', '-qdiff 4', '-level 13' ]); +}; diff --git a/node_modules/fluent-ffmpeg/lib/processor.js b/node_modules/fluent-ffmpeg/lib/processor.js new file mode 100644 index 0000000..36d980a --- /dev/null +++ b/node_modules/fluent-ffmpeg/lib/processor.js @@ -0,0 +1,662 @@ +/*jshint node:true*/ +'use strict'; + +var spawn = require('child_process').spawn; +var path = require('path'); +var fs = require('fs'); +var async = require('async'); +var utils = require('./utils'); + +/* + *! Processor methods + */ + + +/** + * Run ffprobe asynchronously and store data in command + * + * @param {FfmpegCommand} command + * @private + */ +function runFfprobe(command) { + const inputProbeIndex = 0; + if (command._inputs[inputProbeIndex].isStream) { + // Don't probe input streams as this will consume them + return; + } + command.ffprobe(inputProbeIndex, function(err, data) { + command._ffprobeData = data; + }); +} + + +module.exports = function(proto) { + /** + * Emitted just after ffmpeg has been spawned. + * + * @event FfmpegCommand#start + * @param {String} command ffmpeg command line + */ + + /** + * Emitted when ffmpeg reports progress information + * + * @event FfmpegCommand#progress + * @param {Object} progress progress object + * @param {Number} progress.frames number of frames transcoded + * @param {Number} progress.currentFps current processing speed in frames per second + * @param {Number} progress.currentKbps current output generation speed in kilobytes per second + * @param {Number} progress.targetSize current output file size + * @param {String} progress.timemark current video timemark + * @param {Number} [progress.percent] processing progress (may not be available depending on input) + */ + + /** + * Emitted when ffmpeg outputs to stderr + * + * @event FfmpegCommand#stderr + * @param {String} line stderr output line + */ + + /** + * Emitted when ffmpeg reports input codec data + * + * @event FfmpegCommand#codecData + * @param {Object} codecData codec data object + * @param {String} codecData.format input format name + * @param {String} codecData.audio input audio codec name + * @param {String} codecData.audio_details input audio codec parameters + * @param {String} codecData.video input video codec name + * @param {String} codecData.video_details input video codec parameters + */ + + /** + * Emitted when an error happens when preparing or running a command + * + * @event FfmpegCommand#error + * @param {Error} error error object, with optional properties 'inputStreamError' / 'outputStreamError' for errors on their respective streams + * @param {String|null} stdout ffmpeg stdout, unless outputting to a stream + * @param {String|null} stderr ffmpeg stderr + */ + + /** + * Emitted when a command finishes processing + * + * @event FfmpegCommand#end + * @param {Array|String|null} [filenames|stdout] generated filenames when taking screenshots, ffmpeg stdout when not outputting to a stream, null otherwise + * @param {String|null} stderr ffmpeg stderr + */ + + + /** + * Spawn an ffmpeg process + * + * The 'options' argument may contain the following keys: + * - 'niceness': specify process niceness, ignored on Windows (default: 0) + * - `cwd`: change working directory + * - 'captureStdout': capture stdout and pass it to 'endCB' as its 2nd argument (default: false) + * - 'stdoutLines': override command limit (default: use command limit) + * + * The 'processCB' callback, if present, is called as soon as the process is created and + * receives a nodejs ChildProcess object. It may not be called at all if an error happens + * before spawning the process. + * + * The 'endCB' callback is called either when an error occurs or when the ffmpeg process finishes. + * + * @method FfmpegCommand#_spawnFfmpeg + * @param {Array} args ffmpeg command line argument list + * @param {Object} [options] spawn options (see above) + * @param {Function} [processCB] callback called with process object and stdout/stderr ring buffers when process has been created + * @param {Function} endCB callback called with error (if applicable) and stdout/stderr ring buffers when process finished + * @private + */ + proto._spawnFfmpeg = function(args, options, processCB, endCB) { + // Enable omitting options + if (typeof options === 'function') { + endCB = processCB; + processCB = options; + options = {}; + } + + // Enable omitting processCB + if (typeof endCB === 'undefined') { + endCB = processCB; + processCB = function() {}; + } + + var maxLines = 'stdoutLines' in options ? options.stdoutLines : this.options.stdoutLines; + + // Find ffmpeg + this._getFfmpegPath(function(err, command) { + if (err) { + return endCB(err); + } else if (!command || command.length === 0) { + return endCB(new Error('Cannot find ffmpeg')); + } + + // Apply niceness + if (options.niceness && options.niceness !== 0 && !utils.isWindows) { + args.unshift('-n', options.niceness, command); + command = 'nice'; + } + + var stdoutRing = utils.linesRing(maxLines); + var stdoutClosed = false; + + var stderrRing = utils.linesRing(maxLines); + var stderrClosed = false; + + // Spawn process + var ffmpegProc = spawn(command, args, options); + + if (ffmpegProc.stderr) { + ffmpegProc.stderr.setEncoding('utf8'); + } + + ffmpegProc.on('error', function(err) { + endCB(err); + }); + + // Ensure we wait for captured streams to end before calling endCB + var exitError = null; + function handleExit(err) { + if (err) { + exitError = err; + } + + if (processExited && (stdoutClosed || !options.captureStdout) && stderrClosed) { + endCB(exitError, stdoutRing, stderrRing); + } + } + + // Handle process exit + var processExited = false; + ffmpegProc.on('exit', function(code, signal) { + processExited = true; + + if (signal) { + handleExit(new Error('ffmpeg was killed with signal ' + signal)); + } else if (code) { + handleExit(new Error('ffmpeg exited with code ' + code)); + } else { + handleExit(); + } + }); + + // Capture stdout if specified + if (options.captureStdout) { + ffmpegProc.stdout.on('data', function(data) { + stdoutRing.append(data); + }); + + ffmpegProc.stdout.on('close', function() { + stdoutRing.close(); + stdoutClosed = true; + handleExit(); + }); + } + + // Capture stderr if specified + ffmpegProc.stderr.on('data', function(data) { + stderrRing.append(data); + }); + + ffmpegProc.stderr.on('close', function() { + stderrRing.close(); + stderrClosed = true; + handleExit(); + }); + + // Call process callback + processCB(ffmpegProc, stdoutRing, stderrRing); + }); + }; + + + /** + * Build the argument list for an ffmpeg command + * + * @method FfmpegCommand#_getArguments + * @return argument list + * @private + */ + proto._getArguments = function() { + var complexFilters = this._complexFilters.get(); + + var fileOutput = this._outputs.some(function(output) { + return output.isFile; + }); + + return [].concat( + // Inputs and input options + this._inputs.reduce(function(args, input) { + var source = (typeof input.source === 'string') ? input.source : 'pipe:0'; + + // For each input, add input options, then '-i ' + return args.concat( + input.options.get(), + ['-i', source] + ); + }, []), + + // Global options + this._global.get(), + + // Overwrite if we have file outputs + fileOutput ? ['-y'] : [], + + // Complex filters + complexFilters, + + // Outputs, filters and output options + this._outputs.reduce(function(args, output) { + var sizeFilters = utils.makeFilterStrings(output.sizeFilters.get()); + var audioFilters = output.audioFilters.get(); + var videoFilters = output.videoFilters.get().concat(sizeFilters); + var outputArg; + + if (!output.target) { + outputArg = []; + } else if (typeof output.target === 'string') { + outputArg = [output.target]; + } else { + outputArg = ['pipe:1']; + } + + return args.concat( + output.audio.get(), + audioFilters.length ? ['-filter:a', audioFilters.join(',')] : [], + output.video.get(), + videoFilters.length ? ['-filter:v', videoFilters.join(',')] : [], + output.options.get(), + outputArg + ); + }, []) + ); + }; + + + /** + * Prepare execution of an ffmpeg command + * + * Checks prerequisites for the execution of the command (codec/format availability, flvtool...), + * then builds the argument list for ffmpeg and pass them to 'callback'. + * + * @method FfmpegCommand#_prepare + * @param {Function} callback callback with signature (err, args) + * @param {Boolean} [readMetadata=false] read metadata before processing + * @private + */ + proto._prepare = function(callback, readMetadata) { + var self = this; + + async.waterfall([ + // Check codecs and formats + function(cb) { + self._checkCapabilities(cb); + }, + + // Read metadata if required + function(cb) { + if (!readMetadata) { + return cb(); + } + + self.ffprobe(0, function(err, data) { + if (!err) { + self._ffprobeData = data; + } + + cb(); + }); + }, + + // Check for flvtool2/flvmeta if necessary + function(cb) { + var flvmeta = self._outputs.some(function(output) { + // Remove flvmeta flag on non-file output + if (output.flags.flvmeta && !output.isFile) { + self.logger.warn('Updating flv metadata is only supported for files'); + output.flags.flvmeta = false; + } + + return output.flags.flvmeta; + }); + + if (flvmeta) { + self._getFlvtoolPath(function(err) { + cb(err); + }); + } else { + cb(); + } + }, + + // Build argument list + function(cb) { + var args; + try { + args = self._getArguments(); + } catch(e) { + return cb(e); + } + + cb(null, args); + }, + + // Add "-strict experimental" option where needed + function(args, cb) { + self.availableEncoders(function(err, encoders) { + for (var i = 0; i < args.length; i++) { + if (args[i] === '-acodec' || args[i] === '-vcodec') { + i++; + + if ((args[i] in encoders) && encoders[args[i]].experimental) { + args.splice(i + 1, 0, '-strict', 'experimental'); + i += 2; + } + } + } + + cb(null, args); + }); + } + ], callback); + + if (!readMetadata) { + // Read metadata as soon as 'progress' listeners are added + + if (this.listeners('progress').length > 0) { + // Read metadata in parallel + runFfprobe(this); + } else { + // Read metadata as soon as the first 'progress' listener is added + this.once('newListener', function(event) { + if (event === 'progress') { + runFfprobe(this); + } + }); + } + } + }; + + + /** + * Run ffmpeg command + * + * @method FfmpegCommand#run + * @category Processing + * @aliases exec,execute + */ + proto.exec = + proto.execute = + proto.run = function() { + var self = this; + + // Check if at least one output is present + var outputPresent = this._outputs.some(function(output) { + return 'target' in output; + }); + + if (!outputPresent) { + throw new Error('No output specified'); + } + + // Get output stream if any + var outputStream = this._outputs.filter(function(output) { + return typeof output.target !== 'string'; + })[0]; + + // Get input stream if any + var inputStream = this._inputs.filter(function(input) { + return typeof input.source !== 'string'; + })[0]; + + // Ensure we send 'end' or 'error' only once + var ended = false; + function emitEnd(err, stdout, stderr) { + if (!ended) { + ended = true; + + if (err) { + self.emit('error', err, stdout, stderr); + } else { + self.emit('end', stdout, stderr); + } + } + } + + self._prepare(function(err, args) { + if (err) { + return emitEnd(err); + } + + // Run ffmpeg + self._spawnFfmpeg( + args, + { + captureStdout: !outputStream, + niceness: self.options.niceness, + cwd: self.options.cwd, + windowsHide: true + }, + + function processCB(ffmpegProc, stdoutRing, stderrRing) { + self.ffmpegProc = ffmpegProc; + self.emit('start', 'ffmpeg ' + args.join(' ')); + + // Pipe input stream if any + if (inputStream) { + inputStream.source.on('error', function(err) { + var reportingErr = new Error('Input stream error: ' + err.message); + reportingErr.inputStreamError = err; + emitEnd(reportingErr); + ffmpegProc.kill(); + }); + + inputStream.source.resume(); + inputStream.source.pipe(ffmpegProc.stdin); + + // Set stdin error handler on ffmpeg (prevents nodejs catching the error, but + // ffmpeg will fail anyway, so no need to actually handle anything) + ffmpegProc.stdin.on('error', function() {}); + } + + // Setup timeout if requested + if (self.options.timeout) { + self.processTimer = setTimeout(function() { + var msg = 'process ran into a timeout (' + self.options.timeout + 's)'; + + emitEnd(new Error(msg), stdoutRing.get(), stderrRing.get()); + ffmpegProc.kill(); + }, self.options.timeout * 1000); + } + + + if (outputStream) { + // Pipe ffmpeg stdout to output stream + ffmpegProc.stdout.pipe(outputStream.target, outputStream.pipeopts); + + // Handle output stream events + outputStream.target.on('close', function() { + self.logger.debug('Output stream closed, scheduling kill for ffmpeg process'); + + // Don't kill process yet, to give a chance to ffmpeg to + // terminate successfully first This is necessary because + // under load, the process 'exit' event sometimes happens + // after the output stream 'close' event. + setTimeout(function() { + emitEnd(new Error('Output stream closed')); + ffmpegProc.kill(); + }, 20); + }); + + outputStream.target.on('error', function(err) { + self.logger.debug('Output stream error, killing ffmpeg process'); + var reportingErr = new Error('Output stream error: ' + err.message); + reportingErr.outputStreamError = err; + emitEnd(reportingErr, stdoutRing.get(), stderrRing.get()); + ffmpegProc.kill('SIGKILL'); + }); + } + + // Setup stderr handling + if (stderrRing) { + + // 'stderr' event + if (self.listeners('stderr').length) { + stderrRing.callback(function(line) { + self.emit('stderr', line); + }); + } + + // 'codecData' event + if (self.listeners('codecData').length) { + var codecDataSent = false; + var codecObject = {}; + + stderrRing.callback(function(line) { + if (!codecDataSent) + codecDataSent = utils.extractCodecData(self, line, codecObject); + }); + } + + // 'progress' event + if (self.listeners('progress').length) { + stderrRing.callback(function(line) { + utils.extractProgress(self, line); + }); + } + } + }, + + function endCB(err, stdoutRing, stderrRing) { + clearTimeout(self.processTimer); + delete self.ffmpegProc; + + if (err) { + if (err.message.match(/ffmpeg exited with code/)) { + // Add ffmpeg error message + err.message += ': ' + utils.extractError(stderrRing.get()); + } + + emitEnd(err, stdoutRing.get(), stderrRing.get()); + } else { + // Find out which outputs need flv metadata + var flvmeta = self._outputs.filter(function(output) { + return output.flags.flvmeta; + }); + + if (flvmeta.length) { + self._getFlvtoolPath(function(err, flvtool) { + if (err) { + return emitEnd(err); + } + + async.each( + flvmeta, + function(output, cb) { + spawn(flvtool, ['-U', output.target], {windowsHide: true}) + .on('error', function(err) { + cb(new Error('Error running ' + flvtool + ' on ' + output.target + ': ' + err.message)); + }) + .on('exit', function(code, signal) { + if (code !== 0 || signal) { + cb( + new Error(flvtool + ' ' + + (signal ? 'received signal ' + signal + : 'exited with code ' + code)) + + ' when running on ' + output.target + ); + } else { + cb(); + } + }); + }, + function(err) { + if (err) { + emitEnd(err); + } else { + emitEnd(null, stdoutRing.get(), stderrRing.get()); + } + } + ); + }); + } else { + emitEnd(null, stdoutRing.get(), stderrRing.get()); + } + } + } + ); + }); + + return this; + }; + + + /** + * Renice current and/or future ffmpeg processes + * + * Ignored on Windows platforms. + * + * @method FfmpegCommand#renice + * @category Processing + * + * @param {Number} [niceness=0] niceness value between -20 (highest priority) and 20 (lowest priority) + * @return FfmpegCommand + */ + proto.renice = function(niceness) { + if (!utils.isWindows) { + niceness = niceness || 0; + + if (niceness < -20 || niceness > 20) { + this.logger.warn('Invalid niceness value: ' + niceness + ', must be between -20 and 20'); + } + + niceness = Math.min(20, Math.max(-20, niceness)); + this.options.niceness = niceness; + + if (this.ffmpegProc) { + var logger = this.logger; + var pid = this.ffmpegProc.pid; + var renice = spawn('renice', [niceness, '-p', pid], {windowsHide: true}); + + renice.on('error', function(err) { + logger.warn('could not renice process ' + pid + ': ' + err.message); + }); + + renice.on('exit', function(code, signal) { + if (signal) { + logger.warn('could not renice process ' + pid + ': renice was killed by signal ' + signal); + } else if (code) { + logger.warn('could not renice process ' + pid + ': renice exited with ' + code); + } else { + logger.info('successfully reniced process ' + pid + ' to ' + niceness + ' niceness'); + } + }); + } + } + + return this; + }; + + + /** + * Kill current ffmpeg process, if any + * + * @method FfmpegCommand#kill + * @category Processing + * + * @param {String} [signal=SIGKILL] signal name + * @return FfmpegCommand + */ + proto.kill = function(signal) { + if (!this.ffmpegProc) { + this.logger.warn('No running ffmpeg process, cannot send signal'); + } else { + this.ffmpegProc.kill(signal || 'SIGKILL'); + } + + return this; + }; +}; diff --git a/node_modules/fluent-ffmpeg/lib/recipes.js b/node_modules/fluent-ffmpeg/lib/recipes.js new file mode 100644 index 0000000..4ee1223 --- /dev/null +++ b/node_modules/fluent-ffmpeg/lib/recipes.js @@ -0,0 +1,456 @@ +/*jshint node:true*/ +'use strict'; + +var fs = require('fs'); +var path = require('path'); +var PassThrough = require('stream').PassThrough; +var async = require('async'); +var utils = require('./utils'); + + +/* + * Useful recipes for commands + */ + +module.exports = function recipes(proto) { + /** + * Execute ffmpeg command and save output to a file + * + * @method FfmpegCommand#save + * @category Processing + * @aliases saveToFile + * + * @param {String} output file path + * @return FfmpegCommand + */ + proto.saveToFile = + proto.save = function(output) { + this.output(output).run(); + return this; + }; + + + /** + * Execute ffmpeg command and save output to a stream + * + * If 'stream' is not specified, a PassThrough stream is created and returned. + * 'options' will be used when piping ffmpeg output to the output stream + * (@see http://nodejs.org/api/stream.html#stream_readable_pipe_destination_options) + * + * @method FfmpegCommand#pipe + * @category Processing + * @aliases stream,writeToStream + * + * @param {stream.Writable} [stream] output stream + * @param {Object} [options={}] pipe options + * @return Output stream + */ + proto.writeToStream = + proto.pipe = + proto.stream = function(stream, options) { + if (stream && !('writable' in stream)) { + options = stream; + stream = undefined; + } + + if (!stream) { + if (process.version.match(/v0\.8\./)) { + throw new Error('PassThrough stream is not supported on node v0.8'); + } + + stream = new PassThrough(); + } + + this.output(stream, options).run(); + return stream; + }; + + + /** + * Generate images from a video + * + * Note: this method makes the command emit a 'filenames' event with an array of + * the generated image filenames. + * + * @method FfmpegCommand#screenshots + * @category Processing + * @aliases takeScreenshots,thumbnail,thumbnails,screenshot + * + * @param {Number|Object} [config=1] screenshot count or configuration object with + * the following keys: + * @param {Number} [config.count] number of screenshots to take; using this option + * takes screenshots at regular intervals (eg. count=4 would take screens at 20%, 40%, + * 60% and 80% of the video length). + * @param {String} [config.folder='.'] output folder + * @param {String} [config.filename='tn.png'] output filename pattern, may contain the following + * tokens: + * - '%s': offset in seconds + * - '%w': screenshot width + * - '%h': screenshot height + * - '%r': screenshot resolution (same as '%wx%h') + * - '%f': input filename + * - '%b': input basename (filename w/o extension) + * - '%i': index of screenshot in timemark array (can be zero-padded by using it like `%000i`) + * @param {Number[]|String[]} [config.timemarks] array of timemarks to take screenshots + * at; each timemark may be a number of seconds, a '[[hh:]mm:]ss[.xxx]' string or a + * 'XX%' string. Overrides 'count' if present. + * @param {Number[]|String[]} [config.timestamps] alias for 'timemarks' + * @param {Boolean} [config.fastSeek] use fast seek (less accurate) + * @param {String} [config.size] screenshot size, with the same syntax as {@link FfmpegCommand#size} + * @param {String} [folder] output folder (legacy alias for 'config.folder') + * @return FfmpegCommand + */ + proto.takeScreenshots = + proto.thumbnail = + proto.thumbnails = + proto.screenshot = + proto.screenshots = function(config, folder) { + var self = this; + var source = this._currentInput.source; + config = config || { count: 1 }; + + // Accept a number of screenshots instead of a config object + if (typeof config === 'number') { + config = { + count: config + }; + } + + // Accept a second 'folder' parameter instead of config.folder + if (!('folder' in config)) { + config.folder = folder || '.'; + } + + // Accept 'timestamps' instead of 'timemarks' + if ('timestamps' in config) { + config.timemarks = config.timestamps; + } + + // Compute timemarks from count if not present + if (!('timemarks' in config)) { + if (!config.count) { + throw new Error('Cannot take screenshots: neither a count nor a timemark list are specified'); + } + + var interval = 100 / (1 + config.count); + config.timemarks = []; + for (var i = 0; i < config.count; i++) { + config.timemarks.push((interval * (i + 1)) + '%'); + } + } + + // Parse size option + if ('size' in config) { + var fixedSize = config.size.match(/^(\d+)x(\d+)$/); + var fixedWidth = config.size.match(/^(\d+)x\?$/); + var fixedHeight = config.size.match(/^\?x(\d+)$/); + var percentSize = config.size.match(/^(\d+)%$/); + + if (!fixedSize && !fixedWidth && !fixedHeight && !percentSize) { + throw new Error('Invalid size parameter: ' + config.size); + } + } + + // Metadata helper + var metadata; + function getMetadata(cb) { + if (metadata) { + cb(null, metadata); + } else { + self.ffprobe(function(err, meta) { + metadata = meta; + cb(err, meta); + }); + } + } + + async.waterfall([ + // Compute percent timemarks if any + function computeTimemarks(next) { + if (config.timemarks.some(function(t) { return ('' + t).match(/^[\d.]+%$/); })) { + if (typeof source !== 'string') { + return next(new Error('Cannot compute screenshot timemarks with an input stream, please specify fixed timemarks')); + } + + getMetadata(function(err, meta) { + if (err) { + next(err); + } else { + // Select video stream with the highest resolution + var vstream = meta.streams.reduce(function(biggest, stream) { + if (stream.codec_type === 'video' && stream.width * stream.height > biggest.width * biggest.height) { + return stream; + } else { + return biggest; + } + }, { width: 0, height: 0 }); + + if (vstream.width === 0) { + return next(new Error('No video stream in input, cannot take screenshots')); + } + + var duration = Number(vstream.duration); + if (isNaN(duration)) { + duration = Number(meta.format.duration); + } + + if (isNaN(duration)) { + return next(new Error('Could not get input duration, please specify fixed timemarks')); + } + + config.timemarks = config.timemarks.map(function(mark) { + if (('' + mark).match(/^([\d.]+)%$/)) { + return duration * parseFloat(mark) / 100; + } else { + return mark; + } + }); + + next(); + } + }); + } else { + next(); + } + }, + + // Turn all timemarks into numbers and sort them + function normalizeTimemarks(next) { + config.timemarks = config.timemarks.map(function(mark) { + return utils.timemarkToSeconds(mark); + }).sort(function(a, b) { return a - b; }); + + next(); + }, + + // Add '_%i' to pattern when requesting multiple screenshots and no variable token is present + function fixPattern(next) { + var pattern = config.filename || 'tn.png'; + + if (pattern.indexOf('.') === -1) { + pattern += '.png'; + } + + if (config.timemarks.length > 1 && !pattern.match(/%(s|0*i)/)) { + var ext = path.extname(pattern); + pattern = path.join(path.dirname(pattern), path.basename(pattern, ext) + '_%i' + ext); + } + + next(null, pattern); + }, + + // Replace filename tokens (%f, %b) in pattern + function replaceFilenameTokens(pattern, next) { + if (pattern.match(/%[bf]/)) { + if (typeof source !== 'string') { + return next(new Error('Cannot replace %f or %b when using an input stream')); + } + + pattern = pattern + .replace(/%f/g, path.basename(source)) + .replace(/%b/g, path.basename(source, path.extname(source))); + } + + next(null, pattern); + }, + + // Compute size if needed + function getSize(pattern, next) { + if (pattern.match(/%[whr]/)) { + if (fixedSize) { + return next(null, pattern, fixedSize[1], fixedSize[2]); + } + + getMetadata(function(err, meta) { + if (err) { + return next(new Error('Could not determine video resolution to replace %w, %h or %r')); + } + + var vstream = meta.streams.reduce(function(biggest, stream) { + if (stream.codec_type === 'video' && stream.width * stream.height > biggest.width * biggest.height) { + return stream; + } else { + return biggest; + } + }, { width: 0, height: 0 }); + + if (vstream.width === 0) { + return next(new Error('No video stream in input, cannot replace %w, %h or %r')); + } + + var width = vstream.width; + var height = vstream.height; + + if (fixedWidth) { + height = height * Number(fixedWidth[1]) / width; + width = Number(fixedWidth[1]); + } else if (fixedHeight) { + width = width * Number(fixedHeight[1]) / height; + height = Number(fixedHeight[1]); + } else if (percentSize) { + width = width * Number(percentSize[1]) / 100; + height = height * Number(percentSize[1]) / 100; + } + + next(null, pattern, Math.round(width / 2) * 2, Math.round(height / 2) * 2); + }); + } else { + next(null, pattern, -1, -1); + } + }, + + // Replace size tokens (%w, %h, %r) in pattern + function replaceSizeTokens(pattern, width, height, next) { + pattern = pattern + .replace(/%r/g, '%wx%h') + .replace(/%w/g, width) + .replace(/%h/g, height); + + next(null, pattern); + }, + + // Replace variable tokens in pattern (%s, %i) and generate filename list + function replaceVariableTokens(pattern, next) { + var filenames = config.timemarks.map(function(t, i) { + return pattern + .replace(/%s/g, utils.timemarkToSeconds(t)) + .replace(/%(0*)i/g, function(match, padding) { + var idx = '' + (i + 1); + return padding.substr(0, Math.max(0, padding.length + 1 - idx.length)) + idx; + }); + }); + + self.emit('filenames', filenames); + next(null, filenames); + }, + + // Create output directory + function createDirectory(filenames, next) { + fs.exists(config.folder, function(exists) { + if (!exists) { + fs.mkdir(config.folder, function(err) { + if (err) { + next(err); + } else { + next(null, filenames); + } + }); + } else { + next(null, filenames); + } + }); + } + ], function runCommand(err, filenames) { + if (err) { + return self.emit('error', err); + } + + var count = config.timemarks.length; + var split; + var filters = [split = { + filter: 'split', + options: count, + outputs: [] + }]; + + if ('size' in config) { + // Set size to generate size filters + self.size(config.size); + + // Get size filters and chain them with 'sizeN' stream names + var sizeFilters = self._currentOutput.sizeFilters.get().map(function(f, i) { + if (i > 0) { + f.inputs = 'size' + (i - 1); + } + + f.outputs = 'size' + i; + + return f; + }); + + // Input last size filter output into split filter + split.inputs = 'size' + (sizeFilters.length - 1); + + // Add size filters in front of split filter + filters = sizeFilters.concat(filters); + + // Remove size filters + self._currentOutput.sizeFilters.clear(); + } + + var first = 0; + for (var i = 0; i < count; i++) { + var stream = 'screen' + i; + split.outputs.push(stream); + + if (i === 0) { + first = config.timemarks[i]; + self.seekInput(first); + } + + self.output(path.join(config.folder, filenames[i])) + .frames(1) + .map(stream); + + if (i > 0) { + self.seek(config.timemarks[i] - first); + } + } + + self.complexFilter(filters); + self.run(); + }); + + return this; + }; + + + /** + * Merge (concatenate) inputs to a single file + * + * @method FfmpegCommand#concat + * @category Processing + * @aliases concatenate,mergeToFile + * + * @param {String|Writable} target output file or writable stream + * @param {Object} [options] pipe options (only used when outputting to a writable stream) + * @return FfmpegCommand + */ + proto.mergeToFile = + proto.concatenate = + proto.concat = function(target, options) { + // Find out which streams are present in the first non-stream input + var fileInput = this._inputs.filter(function(input) { + return !input.isStream; + })[0]; + + var self = this; + this.ffprobe(this._inputs.indexOf(fileInput), function(err, data) { + if (err) { + return self.emit('error', err); + } + + var hasAudioStreams = data.streams.some(function(stream) { + return stream.codec_type === 'audio'; + }); + + var hasVideoStreams = data.streams.some(function(stream) { + return stream.codec_type === 'video'; + }); + + // Setup concat filter and start processing + self.output(target, options) + .complexFilter({ + filter: 'concat', + options: { + n: self._inputs.length, + v: hasVideoStreams ? 1 : 0, + a: hasAudioStreams ? 1 : 0 + } + }) + .run(); + }); + + return this; + }; +}; diff --git a/node_modules/fluent-ffmpeg/lib/utils.js b/node_modules/fluent-ffmpeg/lib/utils.js new file mode 100644 index 0000000..96909db --- /dev/null +++ b/node_modules/fluent-ffmpeg/lib/utils.js @@ -0,0 +1,455 @@ +/*jshint node:true*/ +'use strict'; + +var exec = require('child_process').exec; +var isWindows = require('os').platform().match(/win(32|64)/); +var which = require('which'); + +var nlRegexp = /\r\n|\r|\n/g; +var streamRegexp = /^\[?(.*?)\]?$/; +var filterEscapeRegexp = /[,]/; +var whichCache = {}; + +/** + * Parse progress line from ffmpeg stderr + * + * @param {String} line progress line + * @return progress object + * @private + */ +function parseProgressLine(line) { + var progress = {}; + + // Remove all spaces after = and trim + line = line.replace(/=\s+/g, '=').trim(); + var progressParts = line.split(' '); + + // Split every progress part by "=" to get key and value + for(var i = 0; i < progressParts.length; i++) { + var progressSplit = progressParts[i].split('=', 2); + var key = progressSplit[0]; + var value = progressSplit[1]; + + // This is not a progress line + if(typeof value === 'undefined') + return null; + + progress[key] = value; + } + + return progress; +} + + +var utils = module.exports = { + isWindows: isWindows, + streamRegexp: streamRegexp, + + + /** + * Copy an object keys into another one + * + * @param {Object} source source object + * @param {Object} dest destination object + * @private + */ + copy: function(source, dest) { + Object.keys(source).forEach(function(key) { + dest[key] = source[key]; + }); + }, + + + /** + * Create an argument list + * + * Returns a function that adds new arguments to the list. + * It also has the following methods: + * - clear() empties the argument list + * - get() returns the argument list + * - find(arg, count) finds 'arg' in the list and return the following 'count' items, or undefined if not found + * - remove(arg, count) remove 'arg' in the list as well as the following 'count' items + * + * @private + */ + args: function() { + var list = []; + + // Append argument(s) to the list + var argfunc = function() { + if (arguments.length === 1 && Array.isArray(arguments[0])) { + list = list.concat(arguments[0]); + } else { + list = list.concat([].slice.call(arguments)); + } + }; + + // Clear argument list + argfunc.clear = function() { + list = []; + }; + + // Return argument list + argfunc.get = function() { + return list; + }; + + // Find argument 'arg' in list, and if found, return an array of the 'count' items that follow it + argfunc.find = function(arg, count) { + var index = list.indexOf(arg); + if (index !== -1) { + return list.slice(index + 1, index + 1 + (count || 0)); + } + }; + + // Find argument 'arg' in list, and if found, remove it as well as the 'count' items that follow it + argfunc.remove = function(arg, count) { + var index = list.indexOf(arg); + if (index !== -1) { + list.splice(index, (count || 0) + 1); + } + }; + + // Clone argument list + argfunc.clone = function() { + var cloned = utils.args(); + cloned(list); + return cloned; + }; + + return argfunc; + }, + + + /** + * Generate filter strings + * + * @param {String[]|Object[]} filters filter specifications. When using objects, + * each must have the following properties: + * @param {String} filters.filter filter name + * @param {String|Array} [filters.inputs] (array of) input stream specifier(s) for the filter, + * defaults to ffmpeg automatically choosing the first unused matching streams + * @param {String|Array} [filters.outputs] (array of) output stream specifier(s) for the filter, + * defaults to ffmpeg automatically assigning the output to the output file + * @param {Object|String|Array} [filters.options] filter options, can be omitted to not set any options + * @return String[] + * @private + */ + makeFilterStrings: function(filters) { + return filters.map(function(filterSpec) { + if (typeof filterSpec === 'string') { + return filterSpec; + } + + var filterString = ''; + + // Filter string format is: + // [input1][input2]...filter[output1][output2]... + // The 'filter' part can optionaly have arguments: + // filter=arg1:arg2:arg3 + // filter=arg1=v1:arg2=v2:arg3=v3 + + // Add inputs + if (Array.isArray(filterSpec.inputs)) { + filterString += filterSpec.inputs.map(function(streamSpec) { + return streamSpec.replace(streamRegexp, '[$1]'); + }).join(''); + } else if (typeof filterSpec.inputs === 'string') { + filterString += filterSpec.inputs.replace(streamRegexp, '[$1]'); + } + + // Add filter + filterString += filterSpec.filter; + + // Add options + if (filterSpec.options) { + if (typeof filterSpec.options === 'string' || typeof filterSpec.options === 'number') { + // Option string + filterString += '=' + filterSpec.options; + } else if (Array.isArray(filterSpec.options)) { + // Option array (unnamed options) + filterString += '=' + filterSpec.options.map(function(option) { + if (typeof option === 'string' && option.match(filterEscapeRegexp)) { + return '\'' + option + '\''; + } else { + return option; + } + }).join(':'); + } else if (Object.keys(filterSpec.options).length) { + // Option object (named options) + filterString += '=' + Object.keys(filterSpec.options).map(function(option) { + var value = filterSpec.options[option]; + + if (typeof value === 'string' && value.match(filterEscapeRegexp)) { + value = '\'' + value + '\''; + } + + return option + '=' + value; + }).join(':'); + } + } + + // Add outputs + if (Array.isArray(filterSpec.outputs)) { + filterString += filterSpec.outputs.map(function(streamSpec) { + return streamSpec.replace(streamRegexp, '[$1]'); + }).join(''); + } else if (typeof filterSpec.outputs === 'string') { + filterString += filterSpec.outputs.replace(streamRegexp, '[$1]'); + } + + return filterString; + }); + }, + + + /** + * Search for an executable + * + * Uses 'which' or 'where' depending on platform + * + * @param {String} name executable name + * @param {Function} callback callback with signature (err, path) + * @private + */ + which: function(name, callback) { + if (name in whichCache) { + return callback(null, whichCache[name]); + } + + which(name, function(err, result){ + if (err) { + // Treat errors as not found + return callback(null, whichCache[name] = ''); + } + callback(null, whichCache[name] = result); + }); + }, + + + /** + * Convert a [[hh:]mm:]ss[.xxx] timemark into seconds + * + * @param {String} timemark timemark string + * @return Number + * @private + */ + timemarkToSeconds: function(timemark) { + if (typeof timemark === 'number') { + return timemark; + } + + if (timemark.indexOf(':') === -1 && timemark.indexOf('.') >= 0) { + return Number(timemark); + } + + var parts = timemark.split(':'); + + // add seconds + var secs = Number(parts.pop()); + + if (parts.length) { + // add minutes + secs += Number(parts.pop()) * 60; + } + + if (parts.length) { + // add hours + secs += Number(parts.pop()) * 3600; + } + + return secs; + }, + + + /** + * Extract codec data from ffmpeg stderr and emit 'codecData' event if appropriate + * Call it with an initially empty codec object once with each line of stderr output until it returns true + * + * @param {FfmpegCommand} command event emitter + * @param {String} stderrLine ffmpeg stderr output line + * @param {Object} codecObject object used to accumulate codec data between calls + * @return {Boolean} true if codec data is complete (and event was emitted), false otherwise + * @private + */ + extractCodecData: function(command, stderrLine, codecsObject) { + var inputPattern = /Input #[0-9]+, ([^ ]+),/; + var durPattern = /Duration\: ([^,]+)/; + var audioPattern = /Audio\: (.*)/; + var videoPattern = /Video\: (.*)/; + + if (!('inputStack' in codecsObject)) { + codecsObject.inputStack = []; + codecsObject.inputIndex = -1; + codecsObject.inInput = false; + } + + var inputStack = codecsObject.inputStack; + var inputIndex = codecsObject.inputIndex; + var inInput = codecsObject.inInput; + + var format, dur, audio, video; + + if (format = stderrLine.match(inputPattern)) { + inInput = codecsObject.inInput = true; + inputIndex = codecsObject.inputIndex = codecsObject.inputIndex + 1; + + inputStack[inputIndex] = { format: format[1], audio: '', video: '', duration: '' }; + } else if (inInput && (dur = stderrLine.match(durPattern))) { + inputStack[inputIndex].duration = dur[1]; + } else if (inInput && (audio = stderrLine.match(audioPattern))) { + audio = audio[1].split(', '); + inputStack[inputIndex].audio = audio[0]; + inputStack[inputIndex].audio_details = audio; + } else if (inInput && (video = stderrLine.match(videoPattern))) { + video = video[1].split(', '); + inputStack[inputIndex].video = video[0]; + inputStack[inputIndex].video_details = video; + } else if (/Output #\d+/.test(stderrLine)) { + inInput = codecsObject.inInput = false; + } else if (/Stream mapping:|Press (\[q\]|ctrl-c) to stop/.test(stderrLine)) { + command.emit.apply(command, ['codecData'].concat(inputStack)); + return true; + } + + return false; + }, + + + /** + * Extract progress data from ffmpeg stderr and emit 'progress' event if appropriate + * + * @param {FfmpegCommand} command event emitter + * @param {String} stderrLine ffmpeg stderr data + * @private + */ + extractProgress: function(command, stderrLine) { + var progress = parseProgressLine(stderrLine); + + if (progress) { + // build progress report object + var ret = { + frames: parseInt(progress.frame, 10), + currentFps: parseInt(progress.fps, 10), + currentKbps: progress.bitrate ? parseFloat(progress.bitrate.replace('kbits/s', '')) : 0, + targetSize: parseInt(progress.size || progress.Lsize, 10), + timemark: progress.time + }; + + // calculate percent progress using duration + if (command._ffprobeData && command._ffprobeData.format && command._ffprobeData.format.duration) { + var duration = Number(command._ffprobeData.format.duration); + if (!isNaN(duration)) + ret.percent = (utils.timemarkToSeconds(ret.timemark) / duration) * 100; + } + command.emit('progress', ret); + } + }, + + + /** + * Extract error message(s) from ffmpeg stderr + * + * @param {String} stderr ffmpeg stderr data + * @return {String} + * @private + */ + extractError: function(stderr) { + // Only return the last stderr lines that don't start with a space or a square bracket + return stderr.split(nlRegexp).reduce(function(messages, message) { + if (message.charAt(0) === ' ' || message.charAt(0) === '[') { + return []; + } else { + messages.push(message); + return messages; + } + }, []).join('\n'); + }, + + + /** + * Creates a line ring buffer object with the following methods: + * - append(str) : appends a string or buffer + * - get() : returns the whole string + * - close() : prevents further append() calls and does a last call to callbacks + * - callback(cb) : calls cb for each line (incl. those already in the ring) + * + * @param {Number} maxLines maximum number of lines to store (<= 0 for unlimited) + */ + linesRing: function(maxLines) { + var cbs = []; + var lines = []; + var current = null; + var closed = false + var max = maxLines - 1; + + function emit(line) { + cbs.forEach(function(cb) { cb(line); }); + } + + return { + callback: function(cb) { + lines.forEach(function(l) { cb(l); }); + cbs.push(cb); + }, + + append: function(str) { + if (closed) return; + if (str instanceof Buffer) str = '' + str; + if (!str || str.length === 0) return; + + var newLines = str.split(nlRegexp); + + if (newLines.length === 1) { + if (current !== null) { + current = current + newLines.shift(); + } else { + current = newLines.shift(); + } + } else { + if (current !== null) { + current = current + newLines.shift(); + emit(current); + lines.push(current); + } + + current = newLines.pop(); + + newLines.forEach(function(l) { + emit(l); + lines.push(l); + }); + + if (max > -1 && lines.length > max) { + lines.splice(0, lines.length - max); + } + } + }, + + get: function() { + if (current !== null) { + return lines.concat([current]).join('\n'); + } else { + return lines.join('\n'); + } + }, + + close: function() { + if (closed) return; + + if (current !== null) { + emit(current); + lines.push(current); + + if (max > -1 && lines.length > max) { + lines.shift(); + } + + current = null; + } + + closed = true; + } + }; + } +}; diff --git a/node_modules/fluent-ffmpeg/package.json b/node_modules/fluent-ffmpeg/package.json new file mode 100644 index 0000000..5e91c25 --- /dev/null +++ b/node_modules/fluent-ffmpeg/package.json @@ -0,0 +1,39 @@ +{ + "name": "fluent-ffmpeg", + "version": "2.1.3", + "description": "A fluent API to FFMPEG (http://www.ffmpeg.org)", + "keywords": [ + "ffmpeg" + ], + "author": "Stefan Schaermeli ", + "contributors": [ + { + "name": "Felix Fichte", + "email": "spruce@space-ships.de" + } + ], + "license": "MIT", + "bugs": { + "mail": "schaermu@gmail.com", + "url": "http://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues" + }, + "repository": "git://github.com/fluent-ffmpeg/node-fluent-ffmpeg.git", + "devDependencies": { + "jsdoc": "^4.0.0", + "mocha": "^10.0.0", + "nyc": "^15.1.0", + "should": "^13.0.0" + }, + "dependencies": { + "async": "^0.2.9", + "which": "^1.1.1" + }, + "engines": { + "node": ">=18" + }, + "main": "index", + "scripts": { + "test": "NODE_ENV=test nyc mocha --require should --reporter spec", + "coverage": "nyc report --reporter=lcov" + } +} diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-aliases.js b/node_modules/fluent-ffmpeg/tools/jsdoc-aliases.js new file mode 100644 index 0000000..6c7e1e8 --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-aliases.js @@ -0,0 +1,58 @@ +/*jshint node:true*/ +'use strict'; + +function createAlias(doclet, alias) { + var clone = {}; + + Object.keys(doclet).forEach(function(key) { + clone[key] = doclet[key]; + }); + + if (alias.indexOf('#') !== -1) { + clone.longname = alias; + clone.memberof = alias.split('#')[0]; + clone.name = alias.split('#')[1]; + } else { + clone.longname = clone.memberof + '#' + alias; + clone.name = alias; + } + + delete clone.returns; + delete clone.examples; + delete clone.meta; + delete clone.aliases; + + clone.isAlias = true; + clone.description = 'Alias for ' + doclet.longname + ''; + + return clone; +} + +exports.handlers = { + parseComplete: function(e) { + var doclets = e.doclets.slice(); + + doclets.forEach(function(doclet) { + // Duplicate doclets with aliases + if (doclet.aliases) { + doclet.aliases.forEach(function(alias) { + e.doclets.push(createAlias(doclet, alias)); + }); + } + }); + } +}; + +exports.defineTags = function(dict) { + dict.defineTag('aliases', { + onTagged: function(doclet, tag) { + doclet.aliases = tag.text.split(','); + } + }); + + dict.defineTag('category', { + onTagged: function(doclet, tag) { + doclet.category = tag.text; + } + }); +}; \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-conf.json b/node_modules/fluent-ffmpeg/tools/jsdoc-conf.json new file mode 100644 index 0000000..1189081 --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-conf.json @@ -0,0 +1,23 @@ +{ + "opts": { + "recurse": true, + "verbose": true, + "destination": "doc", + "template": "tools/jsdoc-template" + }, + + "source": { + "include": ["README.md", "lib"], + "excludePattern": "lib\/presets" + }, + + "plugins": [ + "plugins/markdown", + "tools/jsdoc-aliases.js" + ], + + "markdown": { + "parser": "evilstreak", + "dialect": "Markuru" + } +} \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/README.md b/node_modules/fluent-ffmpeg/tools/jsdoc-template/README.md new file mode 100644 index 0000000..52b1a5e --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/README.md @@ -0,0 +1,3 @@ +The default template for JSDoc 3 uses: [the Taffy Database library](http://taffydb.com/) and the [Underscore Template library](http://documentcloud.github.com/underscore/#template). + +Updated for node-fluent-ffmpeg to handle @aliases and @category tags. \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/publish.js b/node_modules/fluent-ffmpeg/tools/jsdoc-template/publish.js new file mode 100644 index 0000000..3aefa37 --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/publish.js @@ -0,0 +1,626 @@ +/*global env: true */ +'use strict'; + +var template = require('jsdoc/template'), + fs = require('jsdoc/fs'), + path = require('jsdoc/path'), + taffy = require('taffydb').taffy, + logger = require('jsdoc/util/logger'), + helper = require('jsdoc/util/templateHelper'), + htmlsafe = helper.htmlsafe, + linkto = helper.linkto, + resolveAuthorLinks = helper.resolveAuthorLinks, + scopeToPunc = helper.scopeToPunc, + hasOwnProp = Object.prototype.hasOwnProperty, + data, + view, + outdir = env.opts.destination; + +function find(spec) { + return helper.find(data, spec); +} + +function tutoriallink(tutorial) { + return helper.toTutorial(tutorial, null, { tag: 'em', classname: 'disabled', prefix: 'Tutorial: ' }); +} + +function getAncestorLinks(doclet) { + return helper.getAncestorLinks(data, doclet); +} + +function getCategoryLink(className, cat) { + return '' + cat + ' methods'; +} + +function hashToLink(doclet, hash) { + if ( !/^(#.+)/.test(hash) ) { return hash; } + + var url = helper.createLink(doclet); + + url = url.replace(/(#.+|$)/, hash); + return '' + hash + ''; +} + +function needsSignature(doclet) { + var needsSig = false; + + // function and class definitions always get a signature + if (doclet.kind === 'function' || doclet.kind === 'class') { + needsSig = true; + } + // typedefs that contain functions get a signature, too + else if (doclet.kind === 'typedef' && doclet.type && doclet.type.names && + doclet.type.names.length) { + for (var i = 0, l = doclet.type.names.length; i < l; i++) { + if (doclet.type.names[i].toLowerCase() === 'function') { + needsSig = true; + break; + } + } + } + + return needsSig; +} + +function addSignatureParams(f) { + var params = helper.getSignatureParams(f, 'optional'); + + f.signature = (f.signature || '') + '('+params.join(', ')+')'; +} + +function addSignatureReturns(f) { + var returnTypes = helper.getSignatureReturns(f); + + f.signature = '' + (f.signature || '') + '' + + '' + + (returnTypes && returnTypes.length ? ' → {' + returnTypes.join('|') + '}' : '') + + ''; +} + +function addSignatureTypes(f) { + var types = helper.getSignatureTypes(f); + + f.signature = (f.signature || '') + ''+(types.length? ' :'+types.join('|') : '')+''; +} + +function addAttribs(f) { + var attribs = helper.getAttribs(f); + + f.attribs = '' + htmlsafe(attribs.length ? + // we want the template output to say 'abstract', not 'virtual' + '<' + attribs.join(', ').replace('virtual', 'abstract') + '> ' : '') + ''; +} + +function shortenPaths(files, commonPrefix) { + Object.keys(files).forEach(function(file) { + files[file].shortened = files[file].resolved.replace(commonPrefix, '') + // always use forward slashes + .replace(/\\/g, '/'); + }); + + return files; +} + +function getPathFromDoclet(doclet) { + if (!doclet.meta) { + return; + } + + return doclet.meta.path && doclet.meta.path !== 'null' ? + path.join(doclet.meta.path, doclet.meta.filename) : + doclet.meta.filename; +} + +function generate(title, docs, filename, resolveLinks) { + resolveLinks = resolveLinks === false ? false : true; + + var docData = { + title: title, + docs: docs + }; + + var outpath = path.join(outdir, filename), + html = view.render('container.tmpl', docData); + + if (resolveLinks) { + html = helper.resolveLinks(html); // turn {@link foo} into foo + } + + // Ensure
 tags have pretty print class
+    html = html.replace(/
/g, '
');
+
+    fs.writeFileSync(outpath, html, 'utf8');
+}
+
+function generateSourceFiles(sourceFiles, encoding) {
+    encoding = encoding || 'utf8';
+    Object.keys(sourceFiles).forEach(function(file) {
+        var source;
+        // links are keyed to the shortened path in each doclet's `meta.shortpath` property
+        var sourceOutfile = helper.getUniqueFilename(sourceFiles[file].shortened);
+        helper.registerLink(sourceFiles[file].shortened, sourceOutfile);
+
+        try {
+            source = {
+                kind: 'source',
+                code: helper.htmlsafe( fs.readFileSync(sourceFiles[file].resolved, encoding) )
+            };
+        }
+        catch(e) {
+            logger.error('Error while generating source file %s: %s', file, e.message);
+        }
+
+        generate('Source: ' + sourceFiles[file].shortened, [source], sourceOutfile,
+            false);
+    });
+}
+
+/**
+ * Look for classes or functions with the same name as modules (which indicates that the module
+ * exports only that class or function), then attach the classes or functions to the `module`
+ * property of the appropriate module doclets. The name of each class or function is also updated
+ * for display purposes. This function mutates the original arrays.
+ *
+ * @private
+ * @param {Array.} doclets - The array of classes and functions to
+ * check.
+ * @param {Array.} modules - The array of module doclets to search.
+ */
+function attachModuleSymbols(doclets, modules) {
+    var symbols = {};
+
+    // build a lookup table
+    doclets.forEach(function(symbol) {
+        symbols[symbol.longname] = symbol;
+    });
+
+    return modules.map(function(module) {
+        if (symbols[module.longname]) {
+            module.module = symbols[module.longname];
+            module.module.name = module.module.name.replace('module:', 'require("') + '")';
+        }
+    });
+}
+
+function buildReadmeNav(readme) {
+    var nav = '';
+
+    var prevLevel = '0';
+    nav += '
    '; + + readme = readme.replace(/([^<]*)<\/h[23]>/g, function(match, level, title) { + if (title.trim().length > 0) { + var titlelink = title.toLowerCase().replace(/[^a-z]/g, '-'); + + if (level === '2') { + if (prevLevel === '2' || prevLevel === '3') { + nav += '
'; + } + + nav += '
  • ' + title + '
    • '; + } else { + nav += '
    • ' + title + '
    • '; + } + + prevLevel = level; + match = '' + match; + } + + return match; + }); + + nav += '
    '; + return { nav: nav, readme: readme }; +} + +/** + * Create the navigation sidebar. + * @param {String} readmeNav The readme TOC + * @param {object} members The members that will be used to create the sidebar. + * @param {array} members.classes + * @param {array} members.externals + * @param {array} members.globals + * @param {array} members.mixins + * @param {array} members.modules + * @param {array} members.namespaces + * @param {array} members.tutorials + * @param {array} members.events + * @return {string} The HTML for the navigation sidebar. + */ +function buildNav(readmeNav, members) { + var nav = '

    Index

    ' + readmeNav, + seen = {}, + hasClassList = false, + classNav = '', + globalNav = ''; + + + + if (members.modules.length) { + nav += '

    Modules

      '; + members.modules.forEach(function(m) { + if ( !hasOwnProp.call(seen, m.longname) ) { + nav += '
    • '+linkto(m.longname, m.name)+'
    • '; + } + seen[m.longname] = true; + }); + + nav += '
    '; + } + + if (members.externals.length) { + nav += '

    Externals

      '; + members.externals.forEach(function(e) { + if ( !hasOwnProp.call(seen, e.longname) ) { + nav += '
    • '+linkto( e.longname, e.name.replace(/(^"|"$)/g, '') )+'
    • '; + } + seen[e.longname] = true; + }); + + nav += '
    '; + } + + if (members.classes.length) { + members.classes.forEach(function(c) { + if ( !hasOwnProp.call(seen, c.longname) ) { + classNav += '
  • '+linkto(c.longname, c.name)+'
  • '; + if (c.longname in members.categories) { + classNav += '
      ' + members.categories[c.longname].reduce(function(nav, cat) { + return nav + '
    • ' + getCategoryLink(c.longname, cat) + '
    • '; + }, '') + '
    '; + } + } + seen[c.longname] = true; + }); + + if (classNav !== '') { + nav += '

    Classes

      '; + nav += classNav; + nav += '
    '; + } + } + + /*if (members.events.length) { + nav += '

    Events

      '; + members.events.forEach(function(e) { + if ( !hasOwnProp.call(seen, e.longname) ) { + nav += '
    • '+linkto(e.longname, e.name)+'
    • '; + } + seen[e.longname] = true; + }); + + nav += '
    '; + }*/ + + if (members.namespaces.length) { + nav += '

    Namespaces

      '; + members.namespaces.forEach(function(n) { + if ( !hasOwnProp.call(seen, n.longname) ) { + nav += '
    • '+linkto(n.longname, n.name)+'
    • '; + } + seen[n.longname] = true; + }); + + nav += '
    '; + } + + if (members.mixins.length) { + nav += '

    Mixins

      '; + members.mixins.forEach(function(m) { + if ( !hasOwnProp.call(seen, m.longname) ) { + nav += '
    • '+linkto(m.longname, m.name)+'
    • '; + } + seen[m.longname] = true; + }); + + nav += '
    '; + } + + if (members.tutorials.length) { + nav += '

    Tutorials

      '; + members.tutorials.forEach(function(t) { + nav += '
    • '+tutoriallink(t.name)+'
    • '; + }); + + nav += '
    '; + } + + if (members.globals.length) { + members.globals.forEach(function(g) { + if ( g.kind !== 'typedef' && !hasOwnProp.call(seen, g.longname) ) { + globalNav += '
  • ' + linkto(g.longname, g.name) + '
  • '; + } + seen[g.longname] = true; + }); + + if (!globalNav) { + // turn the heading into a link so you can actually get to the global page + nav += '

    ' + linkto('global', 'Global') + '

    '; + } + else { + nav += '

    Global

      ' + globalNav + '
    '; + } + } + + return nav; +} + +/** + @param {TAFFY} taffyData See . + @param {object} opts + @param {Tutorial} tutorials + */ +exports.publish = function(taffyData, opts, tutorials) { + data = taffyData; + + var conf = env.conf.templates || {}; + conf['default'] = conf['default'] || {}; + + var templatePath = opts.template; + view = new template.Template(templatePath + '/tmpl'); + + // claim some special filenames in advance, so the All-Powerful Overseer of Filename Uniqueness + // doesn't try to hand them out later + var indexUrl = helper.getUniqueFilename('index'); + // don't call registerLink() on this one! 'index' is also a valid longname + + var globalUrl = helper.getUniqueFilename('global'); + helper.registerLink('global', globalUrl); + + // set up templating + view.layout = conf['default'].layoutFile ? + path.getResourcePath(path.dirname(conf['default'].layoutFile), + path.basename(conf['default'].layoutFile) ) : + 'layout.tmpl'; + + // set up tutorials for helper + helper.setTutorials(tutorials); + + data = helper.prune(data); + data.sort('longname, version, since'); + helper.addEventListeners(data); + + var sourceFiles = {}; + var sourceFilePaths = []; + data().each(function(doclet) { + doclet.attribs = ''; + + if (doclet.examples) { + doclet.examples = doclet.examples.map(function(example) { + var caption, code; + + if (example.match(/^\s*([\s\S]+?)<\/caption>(\s*[\n\r])([\s\S]+)$/i)) { + caption = RegExp.$1; + code = RegExp.$3; + } + + return { + caption: caption || '', + code: code || example + }; + }); + } + if (doclet.see) { + doclet.see.forEach(function(seeItem, i) { + doclet.see[i] = hashToLink(doclet, seeItem); + }); + } + + // build a list of source files + var sourcePath; + if (doclet.meta) { + sourcePath = getPathFromDoclet(doclet); + sourceFiles[sourcePath] = { + resolved: sourcePath, + shortened: null + }; + if (sourceFilePaths.indexOf(sourcePath) === -1) { + sourceFilePaths.push(sourcePath); + } + } + }); + + // update outdir if necessary, then create outdir + var packageInfo = ( find({kind: 'package'}) || [] ) [0]; + if (packageInfo && packageInfo.name) { + outdir = path.join(outdir, packageInfo.name, packageInfo.version); + } + fs.mkPath(outdir); + + // copy the template's static files to outdir + var fromDir = path.join(templatePath, 'static'); + var staticFiles = fs.ls(fromDir, 3); + + staticFiles.forEach(function(fileName) { + var toDir = fs.toDir( fileName.replace(fromDir, outdir) ); + fs.mkPath(toDir); + fs.copyFileSync(fileName, toDir); + }); + + // copy user-specified static files to outdir + var staticFilePaths; + var staticFileFilter; + var staticFileScanner; + if (conf['default'].staticFiles) { + staticFilePaths = conf['default'].staticFiles.paths || []; + staticFileFilter = new (require('jsdoc/src/filter')).Filter(conf['default'].staticFiles); + staticFileScanner = new (require('jsdoc/src/scanner')).Scanner(); + + staticFilePaths.forEach(function(filePath) { + var extraStaticFiles = staticFileScanner.scan([filePath], 10, staticFileFilter); + + extraStaticFiles.forEach(function(fileName) { + var sourcePath = fs.toDir(filePath); + var toDir = fs.toDir( fileName.replace(sourcePath, outdir) ); + fs.mkPath(toDir); + fs.copyFileSync(fileName, toDir); + }); + }); + } + + if (sourceFilePaths.length) { + sourceFiles = shortenPaths( sourceFiles, path.commonPrefix(sourceFilePaths) ); + } + data().each(function(doclet) { + var url = helper.createLink(doclet); + helper.registerLink(doclet.longname, url); + + // add a shortened version of the full path + var docletPath; + if (doclet.meta) { + docletPath = getPathFromDoclet(doclet); + docletPath = sourceFiles[docletPath].shortened; + if (docletPath) { + doclet.meta.shortpath = docletPath; + } + } + }); + + data().each(function(doclet) { + var url = helper.longnameToUrl[doclet.longname]; + + if (url.indexOf('#') > -1) { + doclet.id = helper.longnameToUrl[doclet.longname].split(/#/).pop(); + } + else { + doclet.id = doclet.name; + } + + if ( needsSignature(doclet) ) { + addSignatureParams(doclet); + addSignatureReturns(doclet); + addAttribs(doclet); + } + }); + + // do this after the urls have all been generated + data().each(function(doclet) { + doclet.ancestors = getAncestorLinks(doclet); + + if (doclet.kind === 'member') { + addSignatureTypes(doclet); + addAttribs(doclet); + } + + if (doclet.kind === 'constant') { + addSignatureTypes(doclet); + addAttribs(doclet); + doclet.kind = 'member'; + } + }); + + var members = helper.getMembers(data); + members.tutorials = tutorials.children; + members.categories = data('method').get().reduce(function(cats, method) { + if (!(method.memberof in cats)) { + cats[method.memberof] = []; + } + + var cat = method.category || 'Other'; + if (cats[method.memberof].indexOf(cat) === -1) { + cats[method.memberof].push(cat); + cats[method.memberof] = cats[method.memberof].sort(); + } + + return cats; + }, {}); + + // output pretty-printed source files by default + var outputSourceFiles = conf['default'] && conf['default'].outputSourceFiles !== false ? true : + false; + + // add template helpers + view.find = find; + view.linkto = linkto; + view.resolveAuthorLinks = resolveAuthorLinks; + view.tutoriallink = tutoriallink; + view.htmlsafe = htmlsafe; + view.outputSourceFiles = outputSourceFiles; + + // Build readme nav + var readmeNav = buildReadmeNav(opts.readme); + opts.readme = readmeNav.readme; + + // once for all + view.nav = buildNav(readmeNav.nav, members); + attachModuleSymbols( find({ kind: ['class', 'function'], longname: {left: 'module:'} }), + members.modules ); + + // generate the pretty-printed source files first so other pages can link to them + if (outputSourceFiles) { + generateSourceFiles(sourceFiles, opts.encoding); + } + + if (members.globals.length) { generate('Global', [{kind: 'globalobj'}], globalUrl); } + + // index page displays information from package.json and lists files + var files = find({kind: 'file'}), + packages = find({kind: 'package'}); + + generate('Index', + packages.concat( + [{kind: 'mainpage', readme: opts.readme, longname: (opts.mainpagetitle) ? opts.mainpagetitle : 'Main Page'}] + ).concat(files), + indexUrl); + + // set up the lists that we'll use to generate pages + var classes = taffy(members.classes); + var modules = taffy(members.modules); + var namespaces = taffy(members.namespaces); + var mixins = taffy(members.mixins); + var externals = taffy(members.externals); + + Object.keys(helper.longnameToUrl).forEach(function(longname) { + var myClasses = helper.find(classes, {longname: longname}); + if (myClasses.length) { + generate('Class: ' + myClasses[0].name, myClasses, helper.longnameToUrl[longname]); + } + + var myModules = helper.find(modules, {longname: longname}); + if (myModules.length) { + generate('Module: ' + myModules[0].name, myModules, helper.longnameToUrl[longname]); + } + + var myNamespaces = helper.find(namespaces, {longname: longname}); + if (myNamespaces.length) { + generate('Namespace: ' + myNamespaces[0].name, myNamespaces, helper.longnameToUrl[longname]); + } + + var myMixins = helper.find(mixins, {longname: longname}); + if (myMixins.length) { + generate('Mixin: ' + myMixins[0].name, myMixins, helper.longnameToUrl[longname]); + } + + var myExternals = helper.find(externals, {longname: longname}); + if (myExternals.length) { + generate('External: ' + myExternals[0].name, myExternals, helper.longnameToUrl[longname]); + } + }); + + // TODO: move the tutorial functions to templateHelper.js + function generateTutorial(title, tutorial, filename) { + var tutorialData = { + title: title, + header: tutorial.title, + content: tutorial.parse(), + children: tutorial.children + }; + + var tutorialPath = path.join(outdir, filename), + html = view.render('tutorial.tmpl', tutorialData); + + // yes, you can use {@link} in tutorials too! + html = helper.resolveLinks(html); // turn {@link foo} into foo + + fs.writeFileSync(tutorialPath, html, 'utf8'); + } + + // tutorials can have only one parent so there is no risk for loops + function saveChildren(node) { + node.children.forEach(function(child) { + generateTutorial('Tutorial: ' + child.title, child, helper.tutorialToUrl(child.name)); + saveChildren(child); + }); + } + saveChildren(tutorials); +}; diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/static/scripts/linenumber.js b/node_modules/fluent-ffmpeg/tools/jsdoc-template/static/scripts/linenumber.js new file mode 100644 index 0000000..8d52f7e --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/static/scripts/linenumber.js @@ -0,0 +1,25 @@ +/*global document */ +(function() { + var source = document.getElementsByClassName('prettyprint source linenums'); + var i = 0; + var lineNumber = 0; + var lineId; + var lines; + var totalLines; + var anchorHash; + + if (source && source[0]) { + anchorHash = document.location.hash.substring(1); + lines = source[0].getElementsByTagName('li'); + totalLines = lines.length; + + for (; i < totalLines; i++) { + lineNumber++; + lineId = 'line' + lineNumber; + lines[i].id = lineId; + if (lineId === anchorHash) { + lines[i].className += ' selected'; + } + } + } +})(); diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/static/scripts/prettify/Apache-License-2.0.txt b/node_modules/fluent-ffmpeg/tools/jsdoc-template/static/scripts/prettify/Apache-License-2.0.txt new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/static/scripts/prettify/Apache-License-2.0.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/static/scripts/prettify/lang-css.js b/node_modules/fluent-ffmpeg/tools/jsdoc-template/static/scripts/prettify/lang-css.js new file mode 100644 index 0000000..041e1f5 --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/static/scripts/prettify/lang-css.js @@ -0,0 +1,2 @@ +PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", +/^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/static/scripts/prettify/prettify.js b/node_modules/fluent-ffmpeg/tools/jsdoc-template/static/scripts/prettify/prettify.js new file mode 100644 index 0000000..eef5ad7 --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/static/scripts/prettify/prettify.js @@ -0,0 +1,28 @@ +var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; +(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a= +[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;ci[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m), +l=[],p={},d=0,g=e.length;d=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/, +q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/, +q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g, +"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a), +a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e} +for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"], +"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"], +H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"], +J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+ +I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]), +["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css", +/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}), +["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes", +hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p=0){var k=k.match(g),f,b;if(b= +!k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}p h2 { + margin-top: 6px; +} + +h3 +{ + font-size: 150%; + font-weight: bold; + letter-spacing: -0.01em; + margin-top: 16px; + margin: 50px 0 3px 0; +} + +h4 +{ + font-size: 130%; + font-weight: bold; + letter-spacing: -0.01em; + margin-top: 16px; + margin: 18px 0 3px 0; + color: #526492; +} + +h5, .container-overview .subsection-title +{ + font-size: 120%; + font-weight: bold; + letter-spacing: -0.01em; + margin: 8px 0 3px -16px; +} + +h6 +{ + font-size: 100%; + letter-spacing: -0.01em; + margin: 6px 0 3px 0; + font-style: italic; +} + +article > dl, article > pre { + margin-left: 2em; +} + +.ancestors { color: #999; } +.ancestors a +{ + color: #999 !important; + text-decoration: none; +} + +.important +{ + font-weight: bold; + color: #950B02; +} + +.yes-def { + text-indent: -1000px; +} + +.type-signature { + color: #aaa; +} + +.name, .signature { + font-family: Consolas, "Lucida Console", Monaco, monospace; +} + +.details { margin-top: 14px; border-left: 2px solid #DDD; } +.details dt { width:100px; float:left; padding-left: 10px; padding-top: 6px; } +.details dd { margin-left: 50px; } +.details ul { margin: 0; } +.details ul { list-style-type: none; } +.details li { margin-left: 30px; padding-top: 6px; } +.details pre.prettyprint { margin: 0 } +.details .object-value { padding-top: 0; } + +.description { + margin-bottom: 1em; + margin-left: -16px; + margin-top: 1em; +} + +.code-caption +{ + font-style: italic; + font-family: Palatino, 'Palatino Linotype', serif; + font-size: 107%; + margin: 0; +} + +.prettyprint +{ + border: 1px solid #ddd; + width: 80%; + overflow: auto; +} + +.prettyprint.source { + width: inherit; +} + +.prettyprint code +{ + font-family: Consolas, 'Lucida Console', Monaco, monospace; + font-size: 100%; + line-height: 18px; + display: block; + padding: 4px 12px; + margin: 0; + background-color: #fff; + color: #000; +} + +.prettyprint code span.line +{ + display: inline-block; +} + +.prettyprint.linenums +{ + padding-left: 70px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.prettyprint.linenums ol +{ + padding-left: 0; +} + +.prettyprint.linenums li +{ + border-left: 3px #ddd solid; +} + +.prettyprint.linenums li.selected, +.prettyprint.linenums li.selected * +{ + background-color: lightyellow; +} + +.prettyprint.linenums li * +{ + -webkit-user-select: text; + -moz-user-select: text; + -ms-user-select: text; + user-select: text; +} + +.params, .props +{ + border-spacing: 0; + border: 0; + border-collapse: collapse; +} + +.params .name, .props .name, .name code { + color: #526492; + font-family: Consolas, 'Lucida Console', Monaco, monospace; + font-size: 100%; +} + +.params td, .params th, .props td, .props th +{ + border: 1px solid #ddd; + margin: 0px; + text-align: left; + vertical-align: top; + padding: 4px 6px; + display: table-cell; +} + +.params thead tr, .props thead tr +{ + background-color: #ddd; + font-weight: bold; +} + +.params .params thead tr, .props .props thead tr +{ + background-color: #fff; + font-weight: bold; +} + +.params th, .props th { border-right: 1px solid #aaa; } +.params thead .last, .props thead .last { border-right: 1px solid #ddd; } + +.params td.description > p:first-child +{ + margin-top: 0; + padding-top: 0; +} + +.params td.description > p:last-child +{ + margin-bottom: 0; + padding-bottom: 0; +} + +.disabled { + color: #454545; +} diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/static/styles/prettify-jsdoc.css b/node_modules/fluent-ffmpeg/tools/jsdoc-template/static/styles/prettify-jsdoc.css new file mode 100644 index 0000000..5a2526e --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/static/styles/prettify-jsdoc.css @@ -0,0 +1,111 @@ +/* JSDoc prettify.js theme */ + +/* plain text */ +.pln { + color: #000000; + font-weight: normal; + font-style: normal; +} + +/* string content */ +.str { + color: #006400; + font-weight: normal; + font-style: normal; +} + +/* a keyword */ +.kwd { + color: #000000; + font-weight: bold; + font-style: normal; +} + +/* a comment */ +.com { + font-weight: normal; + font-style: italic; +} + +/* a type name */ +.typ { + color: #000000; + font-weight: normal; + font-style: normal; +} + +/* a literal value */ +.lit { + color: #006400; + font-weight: normal; + font-style: normal; +} + +/* punctuation */ +.pun { + color: #000000; + font-weight: bold; + font-style: normal; +} + +/* lisp open bracket */ +.opn { + color: #000000; + font-weight: bold; + font-style: normal; +} + +/* lisp close bracket */ +.clo { + color: #000000; + font-weight: bold; + font-style: normal; +} + +/* a markup tag name */ +.tag { + color: #006400; + font-weight: normal; + font-style: normal; +} + +/* a markup attribute name */ +.atn { + color: #006400; + font-weight: normal; + font-style: normal; +} + +/* a markup attribute value */ +.atv { + color: #006400; + font-weight: normal; + font-style: normal; +} + +/* a declaration */ +.dec { + color: #000000; + font-weight: bold; + font-style: normal; +} + +/* a variable name */ +.var { + color: #000000; + font-weight: normal; + font-style: normal; +} + +/* a function name */ +.fun { + color: #000000; + font-weight: bold; + font-style: normal; +} + +/* Specify class=linenums on a pre to get line numbering */ +ol.linenums { + margin-top: 0; + margin-bottom: 0; +} diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/static/styles/prettify-tomorrow.css b/node_modules/fluent-ffmpeg/tools/jsdoc-template/static/styles/prettify-tomorrow.css new file mode 100644 index 0000000..aa2908c --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/static/styles/prettify-tomorrow.css @@ -0,0 +1,132 @@ +/* Tomorrow Theme */ +/* Original theme - https://github.com/chriskempson/tomorrow-theme */ +/* Pretty printing styles. Used with prettify.js. */ +/* SPAN elements with the classes below are added by prettyprint. */ +/* plain text */ +.pln { + color: #4d4d4c; } + +@media screen { + /* string content */ + .str { + color: #718c00; } + + /* a keyword */ + .kwd { + color: #8959a8; } + + /* a comment */ + .com { + color: #8e908c; } + + /* a type name */ + .typ { + color: #4271ae; } + + /* a literal value */ + .lit { + color: #f5871f; } + + /* punctuation */ + .pun { + color: #4d4d4c; } + + /* lisp open bracket */ + .opn { + color: #4d4d4c; } + + /* lisp close bracket */ + .clo { + color: #4d4d4c; } + + /* a markup tag name */ + .tag { + color: #c82829; } + + /* a markup attribute name */ + .atn { + color: #f5871f; } + + /* a markup attribute value */ + .atv { + color: #3e999f; } + + /* a declaration */ + .dec { + color: #f5871f; } + + /* a variable name */ + .var { + color: #c82829; } + + /* a function name */ + .fun { + color: #4271ae; } } +/* Use higher contrast and text-weight for printable form. */ +@media print, projection { + .str { + color: #060; } + + .kwd { + color: #006; + font-weight: bold; } + + .com { + color: #600; + font-style: italic; } + + .typ { + color: #404; + font-weight: bold; } + + .lit { + color: #044; } + + .pun, .opn, .clo { + color: #440; } + + .tag { + color: #006; + font-weight: bold; } + + .atn { + color: #404; } + + .atv { + color: #060; } } +/* Style */ +/* +pre.prettyprint { + background: white; + font-family: Menlo, Monaco, Consolas, monospace; + font-size: 12px; + line-height: 1.5; + border: 1px solid #ccc; + padding: 10px; } +*/ + +/* Specify class=linenums on a pre to get line numbering */ +ol.linenums { + margin-top: 0; + margin-bottom: 0; } + +/* IE indents via margin-left */ +li.L0, +li.L1, +li.L2, +li.L3, +li.L4, +li.L5, +li.L6, +li.L7, +li.L8, +li.L9 { + /* */ } + +/* Alternate shading for lines */ +li.L1, +li.L3, +li.L5, +li.L7, +li.L9 { + /* */ } diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/aliases.tmpl b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/aliases.tmpl new file mode 100644 index 0000000..08461b6 --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/aliases.tmpl @@ -0,0 +1,12 @@ + + 1) { ?> +
      + +
    • + +
    + + + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/container.tmpl b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/container.tmpl new file mode 100644 index 0000000..e92a882 --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/container.tmpl @@ -0,0 +1,173 @@ + + + + + + + + +
    + +
    +

    + + + + + +

    + +
    + +
    + +
    +
    + + + + + + + + +
    + + + + + +

    Example 1? 's':'' ?>

    + + + +
    + + +

    Extends

    + +
      +
    • +
    + + + +

    Mixes In

    + +
      +
    • +
    + + + +

    Requires

    + +
      +
    • +
    + + + +

    Classes

    + +
    +
    +
    +
    + + + +

    Namespaces

    + +
    +
    +
    +
    + + + +

    Members

    + +
    + +
    + + + +

    + +
    + +
    + + + +

    Type Definitions

    + +
    + + + +
    + + + +

    Events

    + +
    + +
    + +
    + +
    + + + diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/details.tmpl b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/details.tmpl new file mode 100644 index 0000000..abe5e65 --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/details.tmpl @@ -0,0 +1,107 @@ +" + data.defaultvalue + ""; + defaultObjectClass = ' class="object-value"'; +} +?> +
    + + +
    Properties:
    + +
    + + + + +
    Version:
    +
    + + + +
    Since:
    +
    + + + +
    Inherited From:
    +
    • + +
    + + + +
    Deprecated:
    • Yes
      + + + +
      Author:
      +
      +
        +
      • +
      +
      + + + + + + + + +
      License:
      +
      + + + +
      Default Value:
      +
        + > +
      + + + +
      Source:
      +
      • + , +
      + + + +
      Tutorials:
      +
      +
        +
      • +
      +
      + + + +
      See:
      +
      +
        +
      • +
      +
      + + + +
      To Do:
      +
      +
        +
      • +
      +
      + +
      diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/example.tmpl b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/example.tmpl new file mode 100644 index 0000000..e87caa5 --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/example.tmpl @@ -0,0 +1,2 @@ + +
      diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/examples.tmpl b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/examples.tmpl new file mode 100644 index 0000000..04d975e --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/examples.tmpl @@ -0,0 +1,13 @@ + +

      + +
      + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/exceptions.tmpl b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/exceptions.tmpl new file mode 100644 index 0000000..78c4e25 --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/exceptions.tmpl @@ -0,0 +1,30 @@ + + +
      +
      +
      + +
      +
      +
      +
      +
      + Type +
      +
      + +
      +
      +
      +
      + +
      + + + + + +
      + diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/layout.tmpl b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/layout.tmpl new file mode 100644 index 0000000..92cd6ee --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/layout.tmpl @@ -0,0 +1,38 @@ + + + + + JSDoc: <?js= title ?> + + + + + + + + + + +
      + +

      + + +
      + + + +
      + +
      + Documentation generated by JSDoc on +
      + + + + + diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/mainpage.tmpl b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/mainpage.tmpl new file mode 100644 index 0000000..64e9e59 --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/mainpage.tmpl @@ -0,0 +1,14 @@ + + + +

      + + + +
      +
      +
      + diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/members.tmpl b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/members.tmpl new file mode 100644 index 0000000..0f99998 --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/members.tmpl @@ -0,0 +1,41 @@ + +
      +

      + + +

      + +
      +
      + +
      + +
      + + + +
      Type:
      +
        +
      • + +
      • +
      + + + + + +
      Fires:
      +
        +
      • +
      + + + +
      Example 1? 's':'' ?>
      + + +
      diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/method.tmpl b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/method.tmpl new file mode 100644 index 0000000..fb3920a --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/method.tmpl @@ -0,0 +1,102 @@ + +
      +

      + + +

      + +
      +
      + + +
      + +
      + + + +
      Type:
      +
        +
      • + +
      • +
      + + + +
      This:
      +
      + + + +
      Parameters:
      + + + + + + +
      Requires:
      +
        +
      • +
      + + + +
      Fires:
      +
        +
      • +
      + + + +
      Listens to Events:
      +
        +
      • +
      + + + +
      Listeners of This Event:
      +
        +
      • +
      + + + +
      Throws:
      + 1) { ?>
        +
      • +
      + + + + +
      Returns:
      + 1) { ?>
        +
      • +
      + + + + +
      Example 1? 's':'' ?>:
      + + + + +
      Alias 1 ? 'es' : '' ?>:
      + + +
      diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/params.tmpl b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/params.tmpl new file mode 100644 index 0000000..7478752 --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/params.tmpl @@ -0,0 +1,112 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeArgumentDefaultDescription
      + + + + + + <optional>
      + + + + <nullable>
      + + + + <repeatable>
      + +
      + + + + +
      Properties
      + +
      \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/properties.tmpl b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/properties.tmpl new file mode 100644 index 0000000..1dba575 --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/properties.tmpl @@ -0,0 +1,107 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeArgumentDefaultDescription
      + + + + + + <optional>
      + + + + <nullable>
      + +
      + + + + +
      Properties
      +
      \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/returns.tmpl b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/returns.tmpl new file mode 100644 index 0000000..d070459 --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/returns.tmpl @@ -0,0 +1,19 @@ + +
      + +
      + + + +
      +
      + Type +
      +
      + +
      +
      + \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/source.tmpl b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/source.tmpl new file mode 100644 index 0000000..e559b5d --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/source.tmpl @@ -0,0 +1,8 @@ + +
      +
      +
      +
      +
      \ No newline at end of file diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/tutorial.tmpl b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/tutorial.tmpl new file mode 100644 index 0000000..88a0ad5 --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/tutorial.tmpl @@ -0,0 +1,19 @@ +
      + +
      + 0) { ?> +
        +
      • +
      + + +

      +
      + +
      + +
      + +
      diff --git a/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/type.tmpl b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/type.tmpl new file mode 100644 index 0000000..ec2c6c0 --- /dev/null +++ b/node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl/type.tmpl @@ -0,0 +1,7 @@ + + +| + \ No newline at end of file diff --git a/node_modules/fn.name/.gitattributes b/node_modules/fn.name/.gitattributes new file mode 100644 index 0000000..1a6bd45 --- /dev/null +++ b/node_modules/fn.name/.gitattributes @@ -0,0 +1 @@ +package-lock.json binary diff --git a/node_modules/fn.name/.travis.yml b/node_modules/fn.name/.travis.yml new file mode 100644 index 0000000..dec0339 --- /dev/null +++ b/node_modules/fn.name/.travis.yml @@ -0,0 +1,10 @@ +language: node_js +node_js: + - "10" + - "8" + - "6" + - "4" +script: + - "npm run test-travis" +after_script: + - "npm install coveralls@2.11.x && cat coverage/lcov.info | coveralls" diff --git a/node_modules/fn.name/LICENSE b/node_modules/fn.name/LICENSE new file mode 100644 index 0000000..b68d272 --- /dev/null +++ b/node_modules/fn.name/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2015 Arnout Kazemier, Martijn Swaagman, the Contributors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/node_modules/fn.name/README.md b/node_modules/fn.name/README.md new file mode 100644 index 0000000..1b199ea --- /dev/null +++ b/node_modules/fn.name/README.md @@ -0,0 +1,42 @@ +# fn.name + +[![Version npm][version]](http://npm.im/fn.name)[![Build Status][build]](https://travis-ci.org/3rd-Eden/fn.name)[![Dependencies][david]](https://david-dm.org/3rd-Eden/fn.name)[![Coverage Status][cover]](https://coveralls.io/r/3rd-Eden/fn.name?branch=master) + +[version]: http://img.shields.io/npm/v/fn.name.svg?style=flat-square +[build]: http://img.shields.io/travis/3rd-Eden/fn.name/master.svg?style=flat-square +[david]: https://img.shields.io/david/3rd-Eden/fn.name.svg?style=flat-square +[cover]: http://img.shields.io/coveralls/3rd-Eden/fn.name/master.svg?style=flat-square + +Extract the name of a given function. Nothing more than that. + +## Installation + +This module is compatible with Browserify and Node.js and can be installed +using: + +``` +npm install --save fn.name +``` + +## Usage + +Using this module is super simple, it exposes the function directly on the +exports so it can be required as followed: + +```js +'use strict'; + +var name = require('fn.name'); +``` + +Now that we have the `name` function we can pass it functions: + +```js +console.log(name(function foo() {})) // foo +``` + +And that's it folks! + +## License + +MIT diff --git a/node_modules/fn.name/index.js b/node_modules/fn.name/index.js new file mode 100644 index 0000000..0fb0f59 --- /dev/null +++ b/node_modules/fn.name/index.js @@ -0,0 +1,42 @@ +'use strict'; + +var toString = Object.prototype.toString; + +/** + * Extract names from functions. + * + * @param {Function} fn The function who's name we need to extract. + * @returns {String} The name of the function. + * @public + */ +module.exports = function name(fn) { + if ('string' === typeof fn.displayName && fn.constructor.name) { + return fn.displayName; + } else if ('string' === typeof fn.name && fn.name) { + return fn.name; + } + + // + // Check to see if the constructor has a name. + // + if ( + 'object' === typeof fn + && fn.constructor + && 'string' === typeof fn.constructor.name + ) return fn.constructor.name; + + // + // toString the given function and attempt to parse it out of it, or determine + // the class. + // + var named = fn.toString() + , type = toString.call(fn).slice(8, -1); + + if ('Function' === type) { + named = named.substring(named.indexOf('(') + 1, named.indexOf(')')); + } else { + named = type; + } + + return named || 'anonymous'; +}; diff --git a/node_modules/fn.name/package.json b/node_modules/fn.name/package.json new file mode 100644 index 0000000..83cde5c --- /dev/null +++ b/node_modules/fn.name/package.json @@ -0,0 +1,37 @@ +{ + "name": "fn.name", + "version": "1.1.0", + "description": "Extract names from functions", + "main": "index.js", + "scripts": { + "test": "mocha test.js", + "watch": "mocha --watch test.js", + "coverage": "istanbul cover ./node_modules/.bin/_mocha -- test.js", + "test-travis": "istanbul cover node_modules/.bin/_mocha --report lcovonly -- test.js" + }, + "repository": { + "type": "git", + "url": "https://github.com/3rd-Eden/fn.name" + }, + "keywords": [ + "fn.name", + "function.name", + "name", + "function", + "extract", + "parse", + "names" + ], + "author": "Arnout Kazemier", + "license": "MIT", + "bugs": { + "url": "https://github.com/3rd-Eden/fn.name/issues" + }, + "devDependencies": { + "assume": "2.x.x", + "istanbul": "0.3.x", + "mocha": "5.x.x", + "pre-commit": "1.x.x" + }, + "homepage": "https://github.com/3rd-Eden/fn.name" +} diff --git a/node_modules/fn.name/test.js b/node_modules/fn.name/test.js new file mode 100644 index 0000000..b7d8f44 --- /dev/null +++ b/node_modules/fn.name/test.js @@ -0,0 +1,73 @@ +describe('fn.name', function () { + 'use strict'; + + var assume = require('assume') + , name = require('./'); + + it('is exported as a function', function () { + assume(name).is.a('function'); + }); + + it('can extract the name from a function declaration', function () { + function foobar() {} + + assume(name(foobar)).equals('foobar'); + }); + + it('can extract the name from a function expression', function () { + var a = function bar() {}; + + assume(name(a)).equals('bar'); + }); + + it('can be overriden using displayName', function () { + var a = function bar() {}; + a.displayName = 'bro'; + + assume(name(a)).equals('bro'); + }); + + it('works with constructed instances', function () { + function Bar(){} + + var foo = new Bar(); + + assume(name(foo)).equals('Bar'); + }); + + it('works with anonymous', function () { + assume(name(function () {})).equals('anonymous'); + }); + + it('returns the className if we were not given a function', function () { + assume(name('string')).equals('String'); + }); + + // + // Test if the env supports async functions, if so add a test to ensure + // that we will work with async functions. + // + var asyncfn = true; + try { new Function('return async function hello() {}')(); } + catch (e) { asyncfn = false; } + + if (asyncfn) it('detects the name of async functions', function () { + var fn = new Function('return async function hello() {}')(); + + assume(name(fn)).equals('hello'); + }); + + // + // Test that this env supports generators, if so add a test to ensure that + // we will work with generators. + // + var generators = true; + try { new Function('return function* generator() {}')(); } + catch (e) { generator = false; } + + if (generators) it('detecs the name of a generator', function () { + var fn = new Function('return function* hello() {}')(); + + assume(name(fn)).equals('hello'); + }); +}); diff --git a/node_modules/forwarded/HISTORY.md b/node_modules/forwarded/HISTORY.md new file mode 100644 index 0000000..381e6aa --- /dev/null +++ b/node_modules/forwarded/HISTORY.md @@ -0,0 +1,21 @@ +0.2.0 / 2021-05-31 +================== + + * Use `req.socket` over deprecated `req.connection` + +0.1.2 / 2017-09-14 +================== + + * perf: improve header parsing + * perf: reduce overhead when no `X-Forwarded-For` header + +0.1.1 / 2017-09-10 +================== + + * Fix trimming leading / trailing OWS + * perf: hoist regular expression + +0.1.0 / 2014-09-21 +================== + + * Initial release diff --git a/node_modules/forwarded/LICENSE b/node_modules/forwarded/LICENSE new file mode 100644 index 0000000..84441fb --- /dev/null +++ b/node_modules/forwarded/LICENSE @@ -0,0 +1,22 @@ +(The MIT License) + +Copyright (c) 2014-2017 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/forwarded/README.md b/node_modules/forwarded/README.md new file mode 100644 index 0000000..fdd220b --- /dev/null +++ b/node_modules/forwarded/README.md @@ -0,0 +1,57 @@ +# forwarded + +[![NPM Version][npm-image]][npm-url] +[![NPM Downloads][downloads-image]][downloads-url] +[![Node.js Version][node-version-image]][node-version-url] +[![Build Status][ci-image]][ci-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +Parse HTTP X-Forwarded-For header + +## Installation + +This is a [Node.js](https://nodejs.org/en/) module available through the +[npm registry](https://www.npmjs.com/). Installation is done using the +[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): + +```sh +$ npm install forwarded +``` + +## API + +```js +var forwarded = require('forwarded') +``` + +### forwarded(req) + +```js +var addresses = forwarded(req) +``` + +Parse the `X-Forwarded-For` header from the request. Returns an array +of the addresses, including the socket address for the `req`, in reverse +order (i.e. index `0` is the socket address and the last index is the +furthest address, typically the end-user). + +## Testing + +```sh +$ npm test +``` + +## License + +[MIT](LICENSE) + +[ci-image]: https://badgen.net/github/checks/jshttp/forwarded/master?label=ci +[ci-url]: https://github.com/jshttp/forwarded/actions?query=workflow%3Aci +[npm-image]: https://img.shields.io/npm/v/forwarded.svg +[npm-url]: https://npmjs.org/package/forwarded +[node-version-image]: https://img.shields.io/node/v/forwarded.svg +[node-version-url]: https://nodejs.org/en/download/ +[coveralls-image]: https://img.shields.io/coveralls/jshttp/forwarded/master.svg +[coveralls-url]: https://coveralls.io/r/jshttp/forwarded?branch=master +[downloads-image]: https://img.shields.io/npm/dm/forwarded.svg +[downloads-url]: https://npmjs.org/package/forwarded diff --git a/node_modules/forwarded/index.js b/node_modules/forwarded/index.js new file mode 100644 index 0000000..b2b6bdd --- /dev/null +++ b/node_modules/forwarded/index.js @@ -0,0 +1,90 @@ +/*! + * forwarded + * Copyright(c) 2014-2017 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module exports. + * @public + */ + +module.exports = forwarded + +/** + * Get all addresses in the request, using the `X-Forwarded-For` header. + * + * @param {object} req + * @return {array} + * @public + */ + +function forwarded (req) { + if (!req) { + throw new TypeError('argument req is required') + } + + // simple header parsing + var proxyAddrs = parse(req.headers['x-forwarded-for'] || '') + var socketAddr = getSocketAddr(req) + var addrs = [socketAddr].concat(proxyAddrs) + + // return all addresses + return addrs +} + +/** + * Get the socket address for a request. + * + * @param {object} req + * @return {string} + * @private + */ + +function getSocketAddr (req) { + return req.socket + ? req.socket.remoteAddress + : req.connection.remoteAddress +} + +/** + * Parse the X-Forwarded-For header. + * + * @param {string} header + * @private + */ + +function parse (header) { + var end = header.length + var list = [] + var start = header.length + + // gather addresses, backwards + for (var i = header.length - 1; i >= 0; i--) { + switch (header.charCodeAt(i)) { + case 0x20: /* */ + if (start === end) { + start = end = i + } + break + case 0x2c: /* , */ + if (start !== end) { + list.push(header.substring(start, end)) + } + start = end = i + break + default: + start = i + break + } + } + + // final address + if (start !== end) { + list.push(header.substring(start, end)) + } + + return list +} diff --git a/node_modules/forwarded/package.json b/node_modules/forwarded/package.json new file mode 100644 index 0000000..bf9c7d6 --- /dev/null +++ b/node_modules/forwarded/package.json @@ -0,0 +1,45 @@ +{ + "name": "forwarded", + "description": "Parse HTTP X-Forwarded-For header", + "version": "0.2.0", + "contributors": [ + "Douglas Christopher Wilson " + ], + "license": "MIT", + "keywords": [ + "x-forwarded-for", + "http", + "req" + ], + "repository": "jshttp/forwarded", + "devDependencies": { + "beautify-benchmark": "0.2.4", + "benchmark": "2.1.4", + "deep-equal": "1.0.1", + "eslint": "7.27.0", + "eslint-config-standard": "14.1.1", + "eslint-plugin-import": "2.23.4", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-promise": "4.3.1", + "eslint-plugin-standard": "4.1.0", + "mocha": "8.4.0", + "nyc": "15.1.0" + }, + "files": [ + "LICENSE", + "HISTORY.md", + "README.md", + "index.js" + ], + "engines": { + "node": ">= 0.6" + }, + "scripts": { + "bench": "node benchmark/index.js", + "lint": "eslint .", + "test": "mocha --reporter spec --bail --check-leaks test/", + "test-ci": "nyc --reporter=lcov --reporter=text npm test", + "test-cov": "nyc --reporter=html --reporter=text npm test", + "version": "node scripts/version-history.js && git add HISTORY.md" + } +} diff --git a/node_modules/fresh/HISTORY.md b/node_modules/fresh/HISTORY.md new file mode 100644 index 0000000..4586996 --- /dev/null +++ b/node_modules/fresh/HISTORY.md @@ -0,0 +1,70 @@ +0.5.2 / 2017-09-13 +================== + + * Fix regression matching multiple ETags in `If-None-Match` + * perf: improve `If-None-Match` token parsing + +0.5.1 / 2017-09-11 +================== + + * Fix handling of modified headers with invalid dates + * perf: improve ETag match loop + +0.5.0 / 2017-02-21 +================== + + * Fix incorrect result when `If-None-Match` has both `*` and ETags + * Fix weak `ETag` matching to match spec + * perf: delay reading header values until needed + * perf: skip checking modified time if ETag check failed + * perf: skip parsing `If-None-Match` when no `ETag` header + * perf: use `Date.parse` instead of `new Date` + +0.4.0 / 2017-02-05 +================== + + * Fix false detection of `no-cache` request directive + * perf: enable strict mode + * perf: hoist regular expressions + * perf: remove duplicate conditional + * perf: remove unnecessary boolean coercions + +0.3.0 / 2015-05-12 +================== + + * Add weak `ETag` matching support + +0.2.4 / 2014-09-07 +================== + + * Support Node.js 0.6 + +0.2.3 / 2014-09-07 +================== + + * Move repository to jshttp + +0.2.2 / 2014-02-19 +================== + + * Revert "Fix for blank page on Safari reload" + +0.2.1 / 2014-01-29 +================== + + * Fix for blank page on Safari reload + +0.2.0 / 2013-08-11 +================== + + * Return stale for `Cache-Control: no-cache` + +0.1.0 / 2012-06-15 +================== + + * Add `If-None-Match: *` support + +0.0.1 / 2012-06-10 +================== + + * Initial release diff --git a/node_modules/fresh/LICENSE b/node_modules/fresh/LICENSE new file mode 100644 index 0000000..1434ade --- /dev/null +++ b/node_modules/fresh/LICENSE @@ -0,0 +1,23 @@ +(The MIT License) + +Copyright (c) 2012 TJ Holowaychuk +Copyright (c) 2016-2017 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/fresh/README.md b/node_modules/fresh/README.md new file mode 100644 index 0000000..1c1c680 --- /dev/null +++ b/node_modules/fresh/README.md @@ -0,0 +1,119 @@ +# fresh + +[![NPM Version][npm-image]][npm-url] +[![NPM Downloads][downloads-image]][downloads-url] +[![Node.js Version][node-version-image]][node-version-url] +[![Build Status][travis-image]][travis-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +HTTP response freshness testing + +## Installation + +This is a [Node.js](https://nodejs.org/en/) module available through the +[npm registry](https://www.npmjs.com/). Installation is done using the +[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): + +``` +$ npm install fresh +``` + +## API + + + +```js +var fresh = require('fresh') +``` + +### fresh(reqHeaders, resHeaders) + +Check freshness of the response using request and response headers. + +When the response is still "fresh" in the client's cache `true` is +returned, otherwise `false` is returned to indicate that the client +cache is now stale and the full response should be sent. + +When a client sends the `Cache-Control: no-cache` request header to +indicate an end-to-end reload request, this module will return `false` +to make handling these requests transparent. + +## Known Issues + +This module is designed to only follow the HTTP specifications, not +to work-around all kinda of client bugs (especially since this module +typically does not recieve enough information to understand what the +client actually is). + +There is a known issue that in certain versions of Safari, Safari +will incorrectly make a request that allows this module to validate +freshness of the resource even when Safari does not have a +representation of the resource in the cache. The module +[jumanji](https://www.npmjs.com/package/jumanji) can be used in +an Express application to work-around this issue and also provides +links to further reading on this Safari bug. + +## Example + +### API usage + + + +```js +var reqHeaders = { 'if-none-match': '"foo"' } +var resHeaders = { 'etag': '"bar"' } +fresh(reqHeaders, resHeaders) +// => false + +var reqHeaders = { 'if-none-match': '"foo"' } +var resHeaders = { 'etag': '"foo"' } +fresh(reqHeaders, resHeaders) +// => true +``` + +### Using with Node.js http server + +```js +var fresh = require('fresh') +var http = require('http') + +var server = http.createServer(function (req, res) { + // perform server logic + // ... including adding ETag / Last-Modified response headers + + if (isFresh(req, res)) { + // client has a fresh copy of resource + res.statusCode = 304 + res.end() + return + } + + // send the resource + res.statusCode = 200 + res.end('hello, world!') +}) + +function isFresh (req, res) { + return fresh(req.headers, { + 'etag': res.getHeader('ETag'), + 'last-modified': res.getHeader('Last-Modified') + }) +} + +server.listen(3000) +``` + +## License + +[MIT](LICENSE) + +[npm-image]: https://img.shields.io/npm/v/fresh.svg +[npm-url]: https://npmjs.org/package/fresh +[node-version-image]: https://img.shields.io/node/v/fresh.svg +[node-version-url]: https://nodejs.org/en/ +[travis-image]: https://img.shields.io/travis/jshttp/fresh/master.svg +[travis-url]: https://travis-ci.org/jshttp/fresh +[coveralls-image]: https://img.shields.io/coveralls/jshttp/fresh/master.svg +[coveralls-url]: https://coveralls.io/r/jshttp/fresh?branch=master +[downloads-image]: https://img.shields.io/npm/dm/fresh.svg +[downloads-url]: https://npmjs.org/package/fresh diff --git a/node_modules/fresh/index.js b/node_modules/fresh/index.js new file mode 100644 index 0000000..d154f5a --- /dev/null +++ b/node_modules/fresh/index.js @@ -0,0 +1,137 @@ +/*! + * fresh + * Copyright(c) 2012 TJ Holowaychuk + * Copyright(c) 2016-2017 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * RegExp to check for no-cache token in Cache-Control. + * @private + */ + +var CACHE_CONTROL_NO_CACHE_REGEXP = /(?:^|,)\s*?no-cache\s*?(?:,|$)/ + +/** + * Module exports. + * @public + */ + +module.exports = fresh + +/** + * Check freshness of the response using request and response headers. + * + * @param {Object} reqHeaders + * @param {Object} resHeaders + * @return {Boolean} + * @public + */ + +function fresh (reqHeaders, resHeaders) { + // fields + var modifiedSince = reqHeaders['if-modified-since'] + var noneMatch = reqHeaders['if-none-match'] + + // unconditional request + if (!modifiedSince && !noneMatch) { + return false + } + + // Always return stale when Cache-Control: no-cache + // to support end-to-end reload requests + // https://tools.ietf.org/html/rfc2616#section-14.9.4 + var cacheControl = reqHeaders['cache-control'] + if (cacheControl && CACHE_CONTROL_NO_CACHE_REGEXP.test(cacheControl)) { + return false + } + + // if-none-match + if (noneMatch && noneMatch !== '*') { + var etag = resHeaders['etag'] + + if (!etag) { + return false + } + + var etagStale = true + var matches = parseTokenList(noneMatch) + for (var i = 0; i < matches.length; i++) { + var match = matches[i] + if (match === etag || match === 'W/' + etag || 'W/' + match === etag) { + etagStale = false + break + } + } + + if (etagStale) { + return false + } + } + + // if-modified-since + if (modifiedSince) { + var lastModified = resHeaders['last-modified'] + var modifiedStale = !lastModified || !(parseHttpDate(lastModified) <= parseHttpDate(modifiedSince)) + + if (modifiedStale) { + return false + } + } + + return true +} + +/** + * Parse an HTTP Date into a number. + * + * @param {string} date + * @private + */ + +function parseHttpDate (date) { + var timestamp = date && Date.parse(date) + + // istanbul ignore next: guard against date.js Date.parse patching + return typeof timestamp === 'number' + ? timestamp + : NaN +} + +/** + * Parse a HTTP token list. + * + * @param {string} str + * @private + */ + +function parseTokenList (str) { + var end = 0 + var list = [] + var start = 0 + + // gather tokens + for (var i = 0, len = str.length; i < len; i++) { + switch (str.charCodeAt(i)) { + case 0x20: /* */ + if (start === end) { + start = end = i + 1 + } + break + case 0x2c: /* , */ + list.push(str.substring(start, end)) + start = end = i + 1 + break + default: + end = i + 1 + break + } + } + + // final token + list.push(str.substring(start, end)) + + return list +} diff --git a/node_modules/fresh/package.json b/node_modules/fresh/package.json new file mode 100644 index 0000000..c2fa0f4 --- /dev/null +++ b/node_modules/fresh/package.json @@ -0,0 +1,46 @@ +{ + "name": "fresh", + "description": "HTTP response freshness testing", + "version": "0.5.2", + "author": "TJ Holowaychuk (http://tjholowaychuk.com)", + "contributors": [ + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)" + ], + "license": "MIT", + "keywords": [ + "fresh", + "http", + "conditional", + "cache" + ], + "repository": "jshttp/fresh", + "devDependencies": { + "beautify-benchmark": "0.2.4", + "benchmark": "2.1.4", + "eslint": "3.19.0", + "eslint-config-standard": "10.2.1", + "eslint-plugin-import": "2.7.0", + "eslint-plugin-markdown": "1.0.0-beta.6", + "eslint-plugin-node": "5.1.1", + "eslint-plugin-promise": "3.5.0", + "eslint-plugin-standard": "3.0.1", + "istanbul": "0.4.5", + "mocha": "1.21.5" + }, + "files": [ + "HISTORY.md", + "LICENSE", + "index.js" + ], + "engines": { + "node": ">= 0.6" + }, + "scripts": { + "bench": "node benchmark/index.js", + "lint": "eslint --plugin markdown --ext js,md .", + "test": "mocha --reporter spec --bail --check-leaks test/", + "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", + "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" + } +} diff --git a/node_modules/function-bind/.eslintrc b/node_modules/function-bind/.eslintrc new file mode 100644 index 0000000..71a054f --- /dev/null +++ b/node_modules/function-bind/.eslintrc @@ -0,0 +1,21 @@ +{ + "root": true, + + "extends": "@ljharb", + + "rules": { + "func-name-matching": 0, + "indent": [2, 4], + "no-new-func": [1], + }, + + "overrides": [ + { + "files": "test/**", + "rules": { + "max-lines-per-function": 0, + "strict": [0] + }, + }, + ], +} diff --git a/node_modules/function-bind/.github/FUNDING.yml b/node_modules/function-bind/.github/FUNDING.yml new file mode 100644 index 0000000..7448219 --- /dev/null +++ b/node_modules/function-bind/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [ljharb] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: npm/function-bind +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/function-bind/.github/SECURITY.md b/node_modules/function-bind/.github/SECURITY.md new file mode 100644 index 0000000..82e4285 --- /dev/null +++ b/node_modules/function-bind/.github/SECURITY.md @@ -0,0 +1,3 @@ +# Security + +Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report. diff --git a/node_modules/function-bind/.nycrc b/node_modules/function-bind/.nycrc new file mode 100644 index 0000000..1826526 --- /dev/null +++ b/node_modules/function-bind/.nycrc @@ -0,0 +1,13 @@ +{ + "all": true, + "check-coverage": false, + "reporter": ["text-summary", "text", "html", "json"], + "lines": 86, + "statements": 85.93, + "functions": 82.43, + "branches": 76.06, + "exclude": [ + "coverage", + "test" + ] +} diff --git a/node_modules/function-bind/CHANGELOG.md b/node_modules/function-bind/CHANGELOG.md new file mode 100644 index 0000000..f9e6cc0 --- /dev/null +++ b/node_modules/function-bind/CHANGELOG.md @@ -0,0 +1,136 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.1.2](https://github.com/ljharb/function-bind/compare/v1.1.1...v1.1.2) - 2023-10-12 + +### Merged + +- Point to the correct file [`#16`](https://github.com/ljharb/function-bind/pull/16) + +### Commits + +- [Tests] migrate tests to Github Actions [`4f8b57c`](https://github.com/ljharb/function-bind/commit/4f8b57c02f2011fe9ae353d5e74e8745f0988af8) +- [Tests] remove `jscs` [`90eb2ed`](https://github.com/ljharb/function-bind/commit/90eb2edbeefd5b76cd6c3a482ea3454db169b31f) +- [meta] update `.gitignore` [`53fcdc3`](https://github.com/ljharb/function-bind/commit/53fcdc371cd66634d6e9b71c836a50f437e89fed) +- [Tests] up to `node` `v11.10`, `v10.15`, `v9.11`, `v8.15`, `v6.16`, `v4.9`; use `nvm install-latest-npm`; run audit script in tests [`1fe8f6e`](https://github.com/ljharb/function-bind/commit/1fe8f6e9aed0dfa8d8b3cdbd00c7f5ea0cd2b36e) +- [meta] add `auto-changelog` [`1921fcb`](https://github.com/ljharb/function-bind/commit/1921fcb5b416b63ffc4acad051b6aad5722f777d) +- [Robustness] remove runtime dependency on all builtins except `.apply` [`f743e61`](https://github.com/ljharb/function-bind/commit/f743e61aa6bb2360358c04d4884c9db853d118b7) +- Docs: enable badges; update wording [`503cb12`](https://github.com/ljharb/function-bind/commit/503cb12d998b5f91822776c73332c7adcd6355dd) +- [readme] update badges [`290c5db`](https://github.com/ljharb/function-bind/commit/290c5dbbbda7264efaeb886552a374b869a4bb48) +- [Tests] switch to nyc for coverage [`ea360ba`](https://github.com/ljharb/function-bind/commit/ea360ba907fc2601ed18d01a3827fa2d3533cdf8) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`cae5e9e`](https://github.com/ljharb/function-bind/commit/cae5e9e07a5578dc6df26c03ee22851ce05b943c) +- [meta] add `funding` field; create FUNDING.yml [`c9f4274`](https://github.com/ljharb/function-bind/commit/c9f4274aa80ea3aae9657a3938fdba41a3b04ca6) +- [Tests] fix eslint errors from #15 [`f69aaa2`](https://github.com/ljharb/function-bind/commit/f69aaa2beb2fdab4415bfb885760a699d0b9c964) +- [actions] fix permissions [`99a0cd9`](https://github.com/ljharb/function-bind/commit/99a0cd9f3b5bac223a0d572f081834cd73314be7) +- [meta] use `npmignore` to autogenerate an npmignore file [`f03b524`](https://github.com/ljharb/function-bind/commit/f03b524ca91f75a109a5d062f029122c86ecd1ae) +- [Dev Deps] update `@ljharb/eslint‑config`, `eslint`, `tape` [`7af9300`](https://github.com/ljharb/function-bind/commit/7af930023ae2ce7645489532821e4fbbcd7a2280) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `covert`, `tape` [`64a9127`](https://github.com/ljharb/function-bind/commit/64a9127ab0bd331b93d6572eaf6e9971967fc08c) +- [Tests] use `aud` instead of `npm audit` [`e75069c`](https://github.com/ljharb/function-bind/commit/e75069c50010a8fcce2a9ce2324934c35fdb4386) +- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`d03555c`](https://github.com/ljharb/function-bind/commit/d03555ca59dea3b71ce710045e4303b9e2619e28) +- [meta] add `safe-publish-latest` [`9c8f809`](https://github.com/ljharb/function-bind/commit/9c8f8092aed027d7e80c94f517aa892385b64f09) +- [Dev Deps] update `@ljharb/eslint-config`, `tape` [`baf6893`](https://github.com/ljharb/function-bind/commit/baf6893e27f5b59abe88bc1995e6f6ed1e527397) +- [meta] create SECURITY.md [`4db1779`](https://github.com/ljharb/function-bind/commit/4db17799f1f28ae294cb95e0081ca2b591c3911b) +- [Tests] add `npm run audit` [`c8b38ec`](https://github.com/ljharb/function-bind/commit/c8b38ec40ed3f85dabdee40ed4148f1748375bc2) +- Revert "Point to the correct file" [`05cdf0f`](https://github.com/ljharb/function-bind/commit/05cdf0fa205c6a3c5ba40bbedd1dfa9874f915c9) + +## [v1.1.1](https://github.com/ljharb/function-bind/compare/v1.1.0...v1.1.1) - 2017-08-28 + +### Commits + +- [Tests] up to `node` `v8`; newer npm breaks on older node; fix scripts [`817f7d2`](https://github.com/ljharb/function-bind/commit/817f7d28470fdbff8ef608d4d565dd4d1430bc5e) +- [Dev Deps] update `eslint`, `jscs`, `tape`, `@ljharb/eslint-config` [`854288b`](https://github.com/ljharb/function-bind/commit/854288b1b6f5c555f89aceb9eff1152510262084) +- [Dev Deps] update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`83e639f`](https://github.com/ljharb/function-bind/commit/83e639ff74e6cd6921285bccec22c1bcf72311bd) +- Only apps should have lockfiles [`5ed97f5`](https://github.com/ljharb/function-bind/commit/5ed97f51235c17774e0832e122abda0f3229c908) +- Use a SPDX-compliant “license” field. [`5feefea`](https://github.com/ljharb/function-bind/commit/5feefea0dc0193993e83e5df01ded424403a5381) + +## [v1.1.0](https://github.com/ljharb/function-bind/compare/v1.0.2...v1.1.0) - 2016-02-14 + +### Commits + +- Update `eslint`, `tape`; use my personal shared `eslint` config [`9c9062a`](https://github.com/ljharb/function-bind/commit/9c9062abbe9dd70b59ea2c3a3c3a81f29b457097) +- Add `npm run eslint` [`dd96c56`](https://github.com/ljharb/function-bind/commit/dd96c56720034a3c1ffee10b8a59a6f7c53e24ad) +- [New] return the native `bind` when available. [`82186e0`](https://github.com/ljharb/function-bind/commit/82186e03d73e580f95ff167e03f3582bed90ed72) +- [Dev Deps] update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`a3dd767`](https://github.com/ljharb/function-bind/commit/a3dd76720c795cb7f4586b0544efabf8aa107b8b) +- Update `eslint` [`3dae2f7`](https://github.com/ljharb/function-bind/commit/3dae2f7423de30a2d20313ddb1edc19660142fe9) +- Update `tape`, `covert`, `jscs` [`a181eee`](https://github.com/ljharb/function-bind/commit/a181eee0cfa24eb229c6e843a971f36e060a2f6a) +- [Tests] up to `node` `v5.6`, `v4.3` [`964929a`](https://github.com/ljharb/function-bind/commit/964929a6a4ddb36fb128de2bcc20af5e4f22e1ed) +- Test up to `io.js` `v2.1` [`2be7310`](https://github.com/ljharb/function-bind/commit/2be7310f2f74886a7124ca925be411117d41d5ea) +- Update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`45f3d68`](https://github.com/ljharb/function-bind/commit/45f3d6865c6ca93726abcef54febe009087af101) +- [Dev Deps] update `tape`, `jscs` [`6e1340d`](https://github.com/ljharb/function-bind/commit/6e1340d94642deaecad3e717825db641af4f8b1f) +- [Tests] up to `io.js` `v3.3`, `node` `v4.1` [`d9bad2b`](https://github.com/ljharb/function-bind/commit/d9bad2b778b1b3a6dd2876087b88b3acf319f8cc) +- Update `eslint` [`935590c`](https://github.com/ljharb/function-bind/commit/935590caa024ab356102e4858e8fc315b2ccc446) +- [Dev Deps] update `jscs`, `eslint`, `@ljharb/eslint-config` [`8c9a1ef`](https://github.com/ljharb/function-bind/commit/8c9a1efd848e5167887aa8501857a0940a480c57) +- Test on `io.js` `v2.2` [`9a3a38c`](https://github.com/ljharb/function-bind/commit/9a3a38c92013aed6e108666e7bd40969b84ac86e) +- Run `travis-ci` tests on `iojs` and `node` v0.12; speed up builds; allow 0.8 failures. [`69afc26`](https://github.com/ljharb/function-bind/commit/69afc2617405b147dd2a8d8ae73ca9e9283f18b4) +- [Dev Deps] Update `tape`, `eslint` [`36c1be0`](https://github.com/ljharb/function-bind/commit/36c1be0ab12b45fe5df6b0fdb01a5d5137fd0115) +- Update `tape`, `jscs` [`98d8303`](https://github.com/ljharb/function-bind/commit/98d8303cd5ca1c6b8f985469f86b0d44d7d45f6e) +- Update `jscs` [`9633a4e`](https://github.com/ljharb/function-bind/commit/9633a4e9fbf82051c240855166e468ba8ba0846f) +- Update `tape`, `jscs` [`c80ef0f`](https://github.com/ljharb/function-bind/commit/c80ef0f46efc9791e76fa50de4414092ac147831) +- Test up to `io.js` `v3.0` [`7e2c853`](https://github.com/ljharb/function-bind/commit/7e2c8537d52ab9cf5a655755561d8917684c0df4) +- Test on `io.js` `v2.4` [`5a199a2`](https://github.com/ljharb/function-bind/commit/5a199a27ba46795ba5eaf0845d07d4b8232895c9) +- Test on `io.js` `v2.3` [`a511b88`](https://github.com/ljharb/function-bind/commit/a511b8896de0bddf3b56862daa416c701f4d0453) +- Fixing a typo from 822b4e1938db02dc9584aa434fd3a45cb20caf43 [`732d6b6`](https://github.com/ljharb/function-bind/commit/732d6b63a9b33b45230e630dbcac7a10855d3266) +- Update `jscs` [`da52a48`](https://github.com/ljharb/function-bind/commit/da52a4886c06d6490f46ae30b15e4163ba08905d) +- Lock covert to v1.0.0. [`d6150fd`](https://github.com/ljharb/function-bind/commit/d6150fda1e6f486718ebdeff823333d9e48e7430) + +## [v1.0.2](https://github.com/ljharb/function-bind/compare/v1.0.1...v1.0.2) - 2014-10-04 + +## [v1.0.1](https://github.com/ljharb/function-bind/compare/v1.0.0...v1.0.1) - 2014-10-03 + +### Merged + +- make CI build faster [`#3`](https://github.com/ljharb/function-bind/pull/3) + +### Commits + +- Using my standard jscs.json [`d8ee94c`](https://github.com/ljharb/function-bind/commit/d8ee94c993eff0a84cf5744fe6a29627f5cffa1a) +- Adding `npm run lint` [`7571ab7`](https://github.com/ljharb/function-bind/commit/7571ab7dfdbd99b25a1dbb2d232622bd6f4f9c10) +- Using consistent indentation [`e91a1b1`](https://github.com/ljharb/function-bind/commit/e91a1b13a61e99ec1e530e299b55508f74218a95) +- Updating jscs [`7e17892`](https://github.com/ljharb/function-bind/commit/7e1789284bc629bc9c1547a61c9b227bbd8c7a65) +- Using consistent quotes [`c50b57f`](https://github.com/ljharb/function-bind/commit/c50b57fcd1c5ec38320979c837006069ebe02b77) +- Adding keywords [`cb94631`](https://github.com/ljharb/function-bind/commit/cb946314eed35f21186a25fb42fc118772f9ee00) +- Directly export a function expression instead of using a declaration, and relying on hoisting. [`5a33c5f`](https://github.com/ljharb/function-bind/commit/5a33c5f45642de180e0d207110bf7d1843ceb87c) +- Naming npm URL and badge in README; use SVG [`2aef8fc`](https://github.com/ljharb/function-bind/commit/2aef8fcb79d54e63a58ae557c4e60949e05d5e16) +- Naming deps URLs in README [`04228d7`](https://github.com/ljharb/function-bind/commit/04228d766670ee45ca24e98345c1f6a7621065b5) +- Naming travis-ci URLs in README; using SVG [`62c810c`](https://github.com/ljharb/function-bind/commit/62c810c2f54ced956cd4d4ab7b793055addfe36e) +- Make sure functions are invoked correctly (also passing coverage tests) [`2b289b4`](https://github.com/ljharb/function-bind/commit/2b289b4dfbf037ffcfa4dc95eb540f6165e9e43a) +- Removing the strict mode pragmas; they make tests fail. [`1aa701d`](https://github.com/ljharb/function-bind/commit/1aa701d199ddc3782476e8f7eef82679be97b845) +- Adding myself as a contributor [`85fd57b`](https://github.com/ljharb/function-bind/commit/85fd57b0860e5a7af42de9a287f3f265fc6d72fc) +- Adding strict mode pragmas [`915b08e`](https://github.com/ljharb/function-bind/commit/915b08e084c86a722eafe7245e21db74aa21ca4c) +- Adding devDeps URLs to README [`4ccc731`](https://github.com/ljharb/function-bind/commit/4ccc73112c1769859e4ca3076caf4086b3cba2cd) +- Fixing the description. [`a7a472c`](https://github.com/ljharb/function-bind/commit/a7a472cf649af515c635cf560fc478fbe48999c8) +- Using a function expression instead of a function declaration. [`b5d3e4e`](https://github.com/ljharb/function-bind/commit/b5d3e4ea6aaffc63888953eeb1fbc7ff45f1fa14) +- Updating tape [`f086be6`](https://github.com/ljharb/function-bind/commit/f086be6029fb56dde61a258c1340600fa174d1e0) +- Updating jscs [`5f9bdb3`](https://github.com/ljharb/function-bind/commit/5f9bdb375ab13ba48f30852aab94029520c54d71) +- Updating jscs [`9b409ba`](https://github.com/ljharb/function-bind/commit/9b409ba6118e23395a4e5d83ef39152aab9d3bfc) +- Run coverage as part of tests. [`8e1b6d4`](https://github.com/ljharb/function-bind/commit/8e1b6d459f047d1bd4fee814e01247c984c80bd0) +- Run linter as part of tests [`c1ca83f`](https://github.com/ljharb/function-bind/commit/c1ca83f832df94587d09e621beba682fabfaa987) +- Updating covert [`701e837`](https://github.com/ljharb/function-bind/commit/701e83774b57b4d3ef631e1948143f43a72f4bb9) + +## [v1.0.0](https://github.com/ljharb/function-bind/compare/v0.2.0...v1.0.0) - 2014-08-09 + +### Commits + +- Make sure old and unstable nodes don't fail Travis [`27adca3`](https://github.com/ljharb/function-bind/commit/27adca34a4ab6ad67b6dfde43942a1b103ce4d75) +- Fixing an issue when the bound function is called as a constructor in ES3. [`e20122d`](https://github.com/ljharb/function-bind/commit/e20122d267d92ce553859b280cbbea5d27c07731) +- Adding `npm run coverage` [`a2e29c4`](https://github.com/ljharb/function-bind/commit/a2e29c4ecaef9e2f6cd1603e868c139073375502) +- Updating tape [`b741168`](https://github.com/ljharb/function-bind/commit/b741168b12b235b1717ff696087645526b69213c) +- Upgrading tape [`63631a0`](https://github.com/ljharb/function-bind/commit/63631a04c7fbe97cc2fa61829cc27246d6986f74) +- Updating tape [`363cb46`](https://github.com/ljharb/function-bind/commit/363cb46dafb23cb3e347729a22f9448051d78464) + +## v0.2.0 - 2014-03-23 + +### Commits + +- Updating test coverage to match es5-shim. [`aa94d44`](https://github.com/ljharb/function-bind/commit/aa94d44b8f9d7f69f10e060db7709aa7a694e5d4) +- initial [`942ee07`](https://github.com/ljharb/function-bind/commit/942ee07e94e542d91798137bc4b80b926137e066) +- Setting the bound function's length properly. [`079f46a`](https://github.com/ljharb/function-bind/commit/079f46a2d3515b7c0b308c2c13fceb641f97ca25) +- Ensuring that some older browsers will throw when given a regex. [`36ac55b`](https://github.com/ljharb/function-bind/commit/36ac55b87f460d4330253c92870aa26fbfe8227f) +- Removing npm scripts that don't have dependencies [`9d2be60`](https://github.com/ljharb/function-bind/commit/9d2be600002cb8bc8606f8f3585ad3e05868c750) +- Updating tape [`297a4ac`](https://github.com/ljharb/function-bind/commit/297a4acc5464db381940aafb194d1c88f4e678f3) +- Skipping length tests for now. [`d9891ea`](https://github.com/ljharb/function-bind/commit/d9891ea4d2aaffa69f408339cdd61ff740f70565) +- don't take my tea [`dccd930`](https://github.com/ljharb/function-bind/commit/dccd930bfd60ea10cb178d28c97550c3bc8c1e07) diff --git a/node_modules/function-bind/LICENSE b/node_modules/function-bind/LICENSE new file mode 100644 index 0000000..62d6d23 --- /dev/null +++ b/node_modules/function-bind/LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2013 Raynos. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + diff --git a/node_modules/function-bind/README.md b/node_modules/function-bind/README.md new file mode 100644 index 0000000..814c20b --- /dev/null +++ b/node_modules/function-bind/README.md @@ -0,0 +1,46 @@ +# function-bind [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] + +[![dependency status][deps-svg]][deps-url] +[![dev dependency status][dev-deps-svg]][dev-deps-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +Implementation of function.prototype.bind + +Old versions of phantomjs, Internet Explorer < 9, and node < 0.6 don't support `Function.prototype.bind`. + +## Example + +```js +Function.prototype.bind = require("function-bind") +``` + +## Installation + +`npm install function-bind` + +## Contributors + + - Raynos + +## MIT Licenced + +[package-url]: https://npmjs.org/package/function-bind +[npm-version-svg]: https://versionbadg.es/Raynos/function-bind.svg +[deps-svg]: https://david-dm.org/Raynos/function-bind.svg +[deps-url]: https://david-dm.org/Raynos/function-bind +[dev-deps-svg]: https://david-dm.org/Raynos/function-bind/dev-status.svg +[dev-deps-url]: https://david-dm.org/Raynos/function-bind#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/function-bind.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/function-bind.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/function-bind.svg +[downloads-url]: https://npm-stat.com/charts.html?package=function-bind +[codecov-image]: https://codecov.io/gh/Raynos/function-bind/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/Raynos/function-bind/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/Raynos/function-bind +[actions-url]: https://github.com/Raynos/function-bind/actions diff --git a/node_modules/function-bind/implementation.js b/node_modules/function-bind/implementation.js new file mode 100644 index 0000000..fd4384c --- /dev/null +++ b/node_modules/function-bind/implementation.js @@ -0,0 +1,84 @@ +'use strict'; + +/* eslint no-invalid-this: 1 */ + +var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; +var toStr = Object.prototype.toString; +var max = Math.max; +var funcType = '[object Function]'; + +var concatty = function concatty(a, b) { + var arr = []; + + for (var i = 0; i < a.length; i += 1) { + arr[i] = a[i]; + } + for (var j = 0; j < b.length; j += 1) { + arr[j + a.length] = b[j]; + } + + return arr; +}; + +var slicy = function slicy(arrLike, offset) { + var arr = []; + for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) { + arr[j] = arrLike[i]; + } + return arr; +}; + +var joiny = function (arr, joiner) { + var str = ''; + for (var i = 0; i < arr.length; i += 1) { + str += arr[i]; + if (i + 1 < arr.length) { + str += joiner; + } + } + return str; +}; + +module.exports = function bind(that) { + var target = this; + if (typeof target !== 'function' || toStr.apply(target) !== funcType) { + throw new TypeError(ERROR_MESSAGE + target); + } + var args = slicy(arguments, 1); + + var bound; + var binder = function () { + if (this instanceof bound) { + var result = target.apply( + this, + concatty(args, arguments) + ); + if (Object(result) === result) { + return result; + } + return this; + } + return target.apply( + that, + concatty(args, arguments) + ); + + }; + + var boundLength = max(0, target.length - args.length); + var boundArgs = []; + for (var i = 0; i < boundLength; i++) { + boundArgs[i] = '$' + i; + } + + bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder); + + if (target.prototype) { + var Empty = function Empty() {}; + Empty.prototype = target.prototype; + bound.prototype = new Empty(); + Empty.prototype = null; + } + + return bound; +}; diff --git a/node_modules/function-bind/index.js b/node_modules/function-bind/index.js new file mode 100644 index 0000000..3bb6b96 --- /dev/null +++ b/node_modules/function-bind/index.js @@ -0,0 +1,5 @@ +'use strict'; + +var implementation = require('./implementation'); + +module.exports = Function.prototype.bind || implementation; diff --git a/node_modules/function-bind/package.json b/node_modules/function-bind/package.json new file mode 100644 index 0000000..6185963 --- /dev/null +++ b/node_modules/function-bind/package.json @@ -0,0 +1,87 @@ +{ + "name": "function-bind", + "version": "1.1.2", + "description": "Implementation of Function.prototype.bind", + "keywords": [ + "function", + "bind", + "shim", + "es5" + ], + "author": "Raynos ", + "repository": { + "type": "git", + "url": "https://github.com/Raynos/function-bind.git" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "main": "index", + "homepage": "https://github.com/Raynos/function-bind", + "contributors": [ + { + "name": "Raynos" + }, + { + "name": "Jordan Harband", + "url": "https://github.com/ljharb" + } + ], + "bugs": { + "url": "https://github.com/Raynos/function-bind/issues", + "email": "raynos2@gmail.com" + }, + "devDependencies": { + "@ljharb/eslint-config": "^21.1.0", + "aud": "^2.0.3", + "auto-changelog": "^2.4.0", + "eslint": "=8.8.0", + "in-publish": "^2.0.1", + "npmignore": "^0.3.0", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.7.1" + }, + "license": "MIT", + "scripts": { + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepack": "npmignore --auto --commentLines=autogenerated", + "pretest": "npm run lint", + "test": "npm run tests-only", + "posttest": "aud --production", + "tests-only": "nyc tape 'test/**/*.js'", + "lint": "eslint --ext=js,mjs .", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "testling": { + "files": "test/index.js", + "browsers": [ + "ie/8..latest", + "firefox/16..latest", + "firefox/nightly", + "chrome/22..latest", + "chrome/canary", + "opera/12..latest", + "opera/next", + "safari/5.1..latest", + "ipad/6.0..latest", + "iphone/6.0..latest", + "android-browser/4.2..latest" + ] + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + } +} diff --git a/node_modules/function-bind/test/.eslintrc b/node_modules/function-bind/test/.eslintrc new file mode 100644 index 0000000..8a56d5b --- /dev/null +++ b/node_modules/function-bind/test/.eslintrc @@ -0,0 +1,9 @@ +{ + "rules": { + "array-bracket-newline": 0, + "array-element-newline": 0, + "max-statements-per-line": [2, { "max": 2 }], + "no-invalid-this": 0, + "no-magic-numbers": 0, + } +} diff --git a/node_modules/function-bind/test/index.js b/node_modules/function-bind/test/index.js new file mode 100644 index 0000000..2edecce --- /dev/null +++ b/node_modules/function-bind/test/index.js @@ -0,0 +1,252 @@ +// jscs:disable requireUseStrict + +var test = require('tape'); + +var functionBind = require('../implementation'); +var getCurrentContext = function () { return this; }; + +test('functionBind is a function', function (t) { + t.equal(typeof functionBind, 'function'); + t.end(); +}); + +test('non-functions', function (t) { + var nonFunctions = [true, false, [], {}, 42, 'foo', NaN, /a/g]; + t.plan(nonFunctions.length); + for (var i = 0; i < nonFunctions.length; ++i) { + try { functionBind.call(nonFunctions[i]); } catch (ex) { + t.ok(ex instanceof TypeError, 'throws when given ' + String(nonFunctions[i])); + } + } + t.end(); +}); + +test('without a context', function (t) { + t.test('binds properly', function (st) { + var args, context; + var namespace = { + func: functionBind.call(function () { + args = Array.prototype.slice.call(arguments); + context = this; + }) + }; + namespace.func(1, 2, 3); + st.deepEqual(args, [1, 2, 3]); + st.equal(context, getCurrentContext.call()); + st.end(); + }); + + t.test('binds properly, and still supplies bound arguments', function (st) { + var args, context; + var namespace = { + func: functionBind.call(function () { + args = Array.prototype.slice.call(arguments); + context = this; + }, undefined, 1, 2, 3) + }; + namespace.func(4, 5, 6); + st.deepEqual(args, [1, 2, 3, 4, 5, 6]); + st.equal(context, getCurrentContext.call()); + st.end(); + }); + + t.test('returns properly', function (st) { + var args; + var namespace = { + func: functionBind.call(function () { + args = Array.prototype.slice.call(arguments); + return this; + }, null) + }; + var context = namespace.func(1, 2, 3); + st.equal(context, getCurrentContext.call(), 'returned context is namespaced context'); + st.deepEqual(args, [1, 2, 3], 'passed arguments are correct'); + st.end(); + }); + + t.test('returns properly with bound arguments', function (st) { + var args; + var namespace = { + func: functionBind.call(function () { + args = Array.prototype.slice.call(arguments); + return this; + }, null, 1, 2, 3) + }; + var context = namespace.func(4, 5, 6); + st.equal(context, getCurrentContext.call(), 'returned context is namespaced context'); + st.deepEqual(args, [1, 2, 3, 4, 5, 6], 'passed arguments are correct'); + st.end(); + }); + + t.test('called as a constructor', function (st) { + var thunkify = function (value) { + return function () { return value; }; + }; + st.test('returns object value', function (sst) { + var expectedReturnValue = [1, 2, 3]; + var Constructor = functionBind.call(thunkify(expectedReturnValue), null); + var result = new Constructor(); + sst.equal(result, expectedReturnValue); + sst.end(); + }); + + st.test('does not return primitive value', function (sst) { + var Constructor = functionBind.call(thunkify(42), null); + var result = new Constructor(); + sst.notEqual(result, 42); + sst.end(); + }); + + st.test('object from bound constructor is instance of original and bound constructor', function (sst) { + var A = function (x) { + this.name = x || 'A'; + }; + var B = functionBind.call(A, null, 'B'); + + var result = new B(); + sst.ok(result instanceof B, 'result is instance of bound constructor'); + sst.ok(result instanceof A, 'result is instance of original constructor'); + sst.end(); + }); + + st.end(); + }); + + t.end(); +}); + +test('with a context', function (t) { + t.test('with no bound arguments', function (st) { + var args, context; + var boundContext = {}; + var namespace = { + func: functionBind.call(function () { + args = Array.prototype.slice.call(arguments); + context = this; + }, boundContext) + }; + namespace.func(1, 2, 3); + st.equal(context, boundContext, 'binds a context properly'); + st.deepEqual(args, [1, 2, 3], 'supplies passed arguments'); + st.end(); + }); + + t.test('with bound arguments', function (st) { + var args, context; + var boundContext = {}; + var namespace = { + func: functionBind.call(function () { + args = Array.prototype.slice.call(arguments); + context = this; + }, boundContext, 1, 2, 3) + }; + namespace.func(4, 5, 6); + st.equal(context, boundContext, 'binds a context properly'); + st.deepEqual(args, [1, 2, 3, 4, 5, 6], 'supplies bound and passed arguments'); + st.end(); + }); + + t.test('returns properly', function (st) { + var boundContext = {}; + var args; + var namespace = { + func: functionBind.call(function () { + args = Array.prototype.slice.call(arguments); + return this; + }, boundContext) + }; + var context = namespace.func(1, 2, 3); + st.equal(context, boundContext, 'returned context is bound context'); + st.notEqual(context, getCurrentContext.call(), 'returned context is not lexical context'); + st.deepEqual(args, [1, 2, 3], 'passed arguments are correct'); + st.end(); + }); + + t.test('returns properly with bound arguments', function (st) { + var boundContext = {}; + var args; + var namespace = { + func: functionBind.call(function () { + args = Array.prototype.slice.call(arguments); + return this; + }, boundContext, 1, 2, 3) + }; + var context = namespace.func(4, 5, 6); + st.equal(context, boundContext, 'returned context is bound context'); + st.notEqual(context, getCurrentContext.call(), 'returned context is not lexical context'); + st.deepEqual(args, [1, 2, 3, 4, 5, 6], 'passed arguments are correct'); + st.end(); + }); + + t.test('passes the correct arguments when called as a constructor', function (st) { + var expected = { name: 'Correct' }; + var namespace = { + Func: functionBind.call(function (arg) { + return arg; + }, { name: 'Incorrect' }) + }; + var returned = new namespace.Func(expected); + st.equal(returned, expected, 'returns the right arg when called as a constructor'); + st.end(); + }); + + t.test('has the new instance\'s context when called as a constructor', function (st) { + var actualContext; + var expectedContext = { foo: 'bar' }; + var namespace = { + Func: functionBind.call(function () { + actualContext = this; + }, expectedContext) + }; + var result = new namespace.Func(); + st.equal(result instanceof namespace.Func, true); + st.notEqual(actualContext, expectedContext); + st.end(); + }); + + t.end(); +}); + +test('bound function length', function (t) { + t.test('sets a correct length without thisArg', function (st) { + var subject = functionBind.call(function (a, b, c) { return a + b + c; }); + st.equal(subject.length, 3); + st.equal(subject(1, 2, 3), 6); + st.end(); + }); + + t.test('sets a correct length with thisArg', function (st) { + var subject = functionBind.call(function (a, b, c) { return a + b + c; }, {}); + st.equal(subject.length, 3); + st.equal(subject(1, 2, 3), 6); + st.end(); + }); + + t.test('sets a correct length without thisArg and first argument', function (st) { + var subject = functionBind.call(function (a, b, c) { return a + b + c; }, undefined, 1); + st.equal(subject.length, 2); + st.equal(subject(2, 3), 6); + st.end(); + }); + + t.test('sets a correct length with thisArg and first argument', function (st) { + var subject = functionBind.call(function (a, b, c) { return a + b + c; }, {}, 1); + st.equal(subject.length, 2); + st.equal(subject(2, 3), 6); + st.end(); + }); + + t.test('sets a correct length without thisArg and too many arguments', function (st) { + var subject = functionBind.call(function (a, b, c) { return a + b + c; }, undefined, 1, 2, 3, 4); + st.equal(subject.length, 0); + st.equal(subject(), 6); + st.end(); + }); + + t.test('sets a correct length with thisArg and too many arguments', function (st) { + var subject = functionBind.call(function (a, b, c) { return a + b + c; }, {}, 1, 2, 3, 4); + st.equal(subject.length, 0); + st.equal(subject(), 6); + st.end(); + }); +}); diff --git a/node_modules/get-intrinsic/.eslintrc b/node_modules/get-intrinsic/.eslintrc new file mode 100644 index 0000000..235fb79 --- /dev/null +++ b/node_modules/get-intrinsic/.eslintrc @@ -0,0 +1,42 @@ +{ + "root": true, + + "extends": "@ljharb", + + "env": { + "es6": true, + "es2017": true, + "es2020": true, + "es2021": true, + "es2022": true, + }, + + "globals": { + "Float16Array": false, + }, + + "rules": { + "array-bracket-newline": 0, + "complexity": 0, + "eqeqeq": [2, "allow-null"], + "func-name-matching": 0, + "id-length": 0, + "max-lines": 0, + "max-lines-per-function": [2, 90], + "max-params": [2, 4], + "max-statements": 0, + "max-statements-per-line": [2, { "max": 2 }], + "multiline-comment-style": 0, + "no-magic-numbers": 0, + "sort-keys": 0, + }, + + "overrides": [ + { + "files": "test/**", + "rules": { + "new-cap": 0, + }, + }, + ], +} diff --git a/node_modules/get-intrinsic/.github/FUNDING.yml b/node_modules/get-intrinsic/.github/FUNDING.yml new file mode 100644 index 0000000..8e8da0d --- /dev/null +++ b/node_modules/get-intrinsic/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [ljharb] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: npm/get-intrinsic +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/get-intrinsic/.nycrc b/node_modules/get-intrinsic/.nycrc new file mode 100644 index 0000000..bdd626c --- /dev/null +++ b/node_modules/get-intrinsic/.nycrc @@ -0,0 +1,9 @@ +{ + "all": true, + "check-coverage": false, + "reporter": ["text-summary", "text", "html", "json"], + "exclude": [ + "coverage", + "test" + ] +} diff --git a/node_modules/get-intrinsic/CHANGELOG.md b/node_modules/get-intrinsic/CHANGELOG.md new file mode 100644 index 0000000..ce1dd98 --- /dev/null +++ b/node_modules/get-intrinsic/CHANGELOG.md @@ -0,0 +1,186 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.3.0](https://github.com/ljharb/get-intrinsic/compare/v1.2.7...v1.3.0) - 2025-02-22 + +### Commits + +- [Dev Deps] update `es-abstract`, `es-value-fixtures`, `for-each`, `object-inspect` [`9b61553`](https://github.com/ljharb/get-intrinsic/commit/9b61553c587f1c1edbd435597e88c7d387da97dd) +- [Deps] update `call-bind-apply-helpers`, `es-object-atoms`, `get-proto` [`a341fee`](https://github.com/ljharb/get-intrinsic/commit/a341fee0f39a403b0f0069e82c97642d5eb11043) +- [New] add `Float16Array` [`de22116`](https://github.com/ljharb/get-intrinsic/commit/de22116b492fb989a0341bceb6e573abfaed73dc) + +## [v1.2.7](https://github.com/ljharb/get-intrinsic/compare/v1.2.6...v1.2.7) - 2025-01-02 + +### Commits + +- [Refactor] use `get-proto` directly [`00ab955`](https://github.com/ljharb/get-intrinsic/commit/00ab95546a0980c8ad42a84253daaa8d2adcedf9) +- [Deps] update `math-intrinsics` [`c716cdd`](https://github.com/ljharb/get-intrinsic/commit/c716cdd6bbe36b438057025561b8bb5a879ac8a0) +- [Dev Deps] update `call-bound`, `es-abstract` [`dc648a6`](https://github.com/ljharb/get-intrinsic/commit/dc648a67eb359037dff8d8619bfa71d86debccb1) + +## [v1.2.6](https://github.com/ljharb/get-intrinsic/compare/v1.2.5...v1.2.6) - 2024-12-11 + +### Commits + +- [Refactor] use `math-intrinsics` [`841be86`](https://github.com/ljharb/get-intrinsic/commit/841be8641a9254c4c75483b30c8871b5d5065926) +- [Refactor] use `es-object-atoms` [`42057df`](https://github.com/ljharb/get-intrinsic/commit/42057dfa16f66f64787e66482af381cc6f31d2c1) +- [Deps] update `call-bind-apply-helpers` [`45afa24`](https://github.com/ljharb/get-intrinsic/commit/45afa24a9ee4d6d3c172db1f555b16cb27843ef4) +- [Dev Deps] update `call-bound` [`9cba9c6`](https://github.com/ljharb/get-intrinsic/commit/9cba9c6e70212bc163b7a5529cb25df46071646f) + +## [v1.2.5](https://github.com/ljharb/get-intrinsic/compare/v1.2.4...v1.2.5) - 2024-12-06 + +### Commits + +- [actions] split out node 10-20, and 20+ [`6e2b9dd`](https://github.com/ljharb/get-intrinsic/commit/6e2b9dd23902665681ebe453256ccfe21d7966f0) +- [Refactor] use `dunder-proto` and `call-bind-apply-helpers` instead of `has-proto` [`c095d17`](https://github.com/ljharb/get-intrinsic/commit/c095d179ad0f4fbfff20c8a3e0cb4fe668018998) +- [Refactor] use `gopd` [`9841d5b`](https://github.com/ljharb/get-intrinsic/commit/9841d5b35f7ab4fd2d193f0c741a50a077920e90) +- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `es-abstract`, `es-value-fixtures`, `gopd`, `mock-property`, `object-inspect`, `tape` [`2d07e01`](https://github.com/ljharb/get-intrinsic/commit/2d07e01310cee2cbaedfead6903df128b1f5d425) +- [Deps] update `gopd`, `has-proto`, `has-symbols`, `hasown` [`974d8bf`](https://github.com/ljharb/get-intrinsic/commit/974d8bf5baad7939eef35c25cc1dd88c10a30fa6) +- [Dev Deps] update `call-bind`, `es-abstract`, `tape` [`df9dde1`](https://github.com/ljharb/get-intrinsic/commit/df9dde178186631ab8a3165ede056549918ce4bc) +- [Refactor] cache `es-define-property` as well [`43ef543`](https://github.com/ljharb/get-intrinsic/commit/43ef543cb02194401420e3a914a4ca9168691926) +- [Deps] update `has-proto`, `has-symbols`, `hasown` [`ad4949d`](https://github.com/ljharb/get-intrinsic/commit/ad4949d5467316505aad89bf75f9417ed782f7af) +- [Tests] use `call-bound` directly [`ad5c406`](https://github.com/ljharb/get-intrinsic/commit/ad5c4069774bfe90e520a35eead5fe5ca9d69e80) +- [Deps] update `has-proto`, `hasown` [`45414ca`](https://github.com/ljharb/get-intrinsic/commit/45414caa312333a2798953682c68f85c550627dd) +- [Tests] replace `aud` with `npm audit` [`18d3509`](https://github.com/ljharb/get-intrinsic/commit/18d3509f79460e7924da70409ee81e5053087523) +- [Deps] update `es-define-property` [`aadaa3b`](https://github.com/ljharb/get-intrinsic/commit/aadaa3b2188d77ad9bff394ce5d4249c49eb21f5) +- [Dev Deps] add missing peer dep [`c296a16`](https://github.com/ljharb/get-intrinsic/commit/c296a16246d0c9a5981944f4cc5cf61fbda0cf6a) + +## [v1.2.4](https://github.com/ljharb/get-intrinsic/compare/v1.2.3...v1.2.4) - 2024-02-05 + +### Commits + +- [Refactor] use all 7 <+ ES6 Errors from `es-errors` [`bcac811`](https://github.com/ljharb/get-intrinsic/commit/bcac811abdc1c982e12abf848a410d6aae148d14) + +## [v1.2.3](https://github.com/ljharb/get-intrinsic/compare/v1.2.2...v1.2.3) - 2024-02-03 + +### Commits + +- [Refactor] use `es-errors`, so things that only need those do not need `get-intrinsic` [`f11db9c`](https://github.com/ljharb/get-intrinsic/commit/f11db9c4fb97d87bbd53d3c73ac6b3db3613ad3b) +- [Dev Deps] update `aud`, `es-abstract`, `mock-property`, `npmignore` [`b7ac7d1`](https://github.com/ljharb/get-intrinsic/commit/b7ac7d1616fefb03877b1aed0c8f8d61aad32b6c) +- [meta] simplify `exports` [`faa0cc6`](https://github.com/ljharb/get-intrinsic/commit/faa0cc618e2830ffb51a8202490b0c215d965cbc) +- [meta] add missing `engines.node` [`774dd0b`](https://github.com/ljharb/get-intrinsic/commit/774dd0b3e8f741c3f05a6322d124d6087f146af1) +- [Dev Deps] update `tape` [`5828e8e`](https://github.com/ljharb/get-intrinsic/commit/5828e8e4a04e69312e87a36c0ea39428a7a4c3d8) +- [Robustness] use null objects for lookups [`eb9a11f`](https://github.com/ljharb/get-intrinsic/commit/eb9a11fa9eb3e13b193fcc05a7fb814341b1a7b7) +- [meta] add `sideEffects` flag [`89bcc7a`](https://github.com/ljharb/get-intrinsic/commit/89bcc7a42e19bf07b7c21e3094d5ab177109e6d2) + +## [v1.2.2](https://github.com/ljharb/get-intrinsic/compare/v1.2.1...v1.2.2) - 2023-10-20 + +### Commits + +- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `call-bind`, `es-abstract`, `mock-property`, `object-inspect`, `tape` [`f51bcf2`](https://github.com/ljharb/get-intrinsic/commit/f51bcf26412d58d17ce17c91c9afd0ad271f0762) +- [Refactor] use `hasown` instead of `has` [`18d14b7`](https://github.com/ljharb/get-intrinsic/commit/18d14b799bea6b5765e1cec91890830cbcdb0587) +- [Deps] update `function-bind` [`6e109c8`](https://github.com/ljharb/get-intrinsic/commit/6e109c81e03804cc5e7824fb64353cdc3d8ee2c7) + +## [v1.2.1](https://github.com/ljharb/get-intrinsic/compare/v1.2.0...v1.2.1) - 2023-05-13 + +### Commits + +- [Fix] avoid a crash in envs without `__proto__` [`7bad8d0`](https://github.com/ljharb/get-intrinsic/commit/7bad8d061bf8721733b58b73a2565af2b6756b64) +- [Dev Deps] update `es-abstract` [`c60e6b7`](https://github.com/ljharb/get-intrinsic/commit/c60e6b7b4cf9660c7f27ed970970fd55fac48dc5) + +## [v1.2.0](https://github.com/ljharb/get-intrinsic/compare/v1.1.3...v1.2.0) - 2023-01-19 + +### Commits + +- [actions] update checkout action [`ca6b12f`](https://github.com/ljharb/get-intrinsic/commit/ca6b12f31eaacea4ea3b055e744cd61623385ffb) +- [Dev Deps] update `@ljharb/eslint-config`, `es-abstract`, `object-inspect`, `tape` [`41a3727`](https://github.com/ljharb/get-intrinsic/commit/41a3727d0026fa04273ae216a5f8e12eefd72da8) +- [Fix] ensure `Error.prototype` is undeniable [`c511e97`](https://github.com/ljharb/get-intrinsic/commit/c511e97ae99c764c4524b540dee7a70757af8da3) +- [Dev Deps] update `aud`, `es-abstract`, `tape` [`1bef8a8`](https://github.com/ljharb/get-intrinsic/commit/1bef8a8fd439ebb80863199b6189199e0851ac67) +- [Dev Deps] update `aud`, `es-abstract` [`0d41f16`](https://github.com/ljharb/get-intrinsic/commit/0d41f16bcd500bc28b7bfc98043ebf61ea081c26) +- [New] add `BigInt64Array` and `BigUint64Array` [`a6cca25`](https://github.com/ljharb/get-intrinsic/commit/a6cca25f29635889b7e9bd669baf9e04be90e48c) +- [Tests] use `gopd` [`ecf7722`](https://github.com/ljharb/get-intrinsic/commit/ecf7722240d15cfd16edda06acf63359c10fb9bd) + +## [v1.1.3](https://github.com/ljharb/get-intrinsic/compare/v1.1.2...v1.1.3) - 2022-09-12 + +### Commits + +- [Dev Deps] update `es-abstract`, `es-value-fixtures`, `tape` [`07ff291`](https://github.com/ljharb/get-intrinsic/commit/07ff291816406ebe5a12d7f16965bde0942dd688) +- [Fix] properly check for % signs [`50ac176`](https://github.com/ljharb/get-intrinsic/commit/50ac1760fe99c227e64eabde76e9c0e44cd881b5) + +## [v1.1.2](https://github.com/ljharb/get-intrinsic/compare/v1.1.1...v1.1.2) - 2022-06-08 + +### Fixed + +- [Fix] properly validate against extra % signs [`#16`](https://github.com/ljharb/get-intrinsic/issues/16) + +### Commits + +- [actions] reuse common workflows [`0972547`](https://github.com/ljharb/get-intrinsic/commit/0972547efd0abc863fe4c445a6ca7eb4f8c6901d) +- [meta] use `npmignore` to autogenerate an npmignore file [`5ba0b51`](https://github.com/ljharb/get-intrinsic/commit/5ba0b51d8d8d4f1c31d426d74abc0770fd106bad) +- [actions] use `node/install` instead of `node/run`; use `codecov` action [`c364492`](https://github.com/ljharb/get-intrinsic/commit/c364492af4af51333e6f81c0bf21fd3d602c3661) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `es-abstract`, `object-inspect`, `tape` [`dc04dad`](https://github.com/ljharb/get-intrinsic/commit/dc04dad86f6e5608775a2640cb0db5927ae29ed9) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `es-abstract`, `object-inspect`, `safe-publish-latest`, `tape` [`1c14059`](https://github.com/ljharb/get-intrinsic/commit/1c1405984e86dd2dc9366c15d8a0294a96a146a5) +- [Tests] use `mock-property` [`b396ef0`](https://github.com/ljharb/get-intrinsic/commit/b396ef05bb73b1d699811abd64b0d9b97997fdda) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `object-inspect`, `tape` [`c2c758d`](https://github.com/ljharb/get-intrinsic/commit/c2c758d3b90af4fef0a76910d8d3c292ec8d1d3e) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `es-abstract`, `es-value-fixtures`, `object-inspect`, `tape` [`29e3c09`](https://github.com/ljharb/get-intrinsic/commit/29e3c091c2bf3e17099969847e8729d0e46896de) +- [actions] update codecov uploader [`8cbc141`](https://github.com/ljharb/get-intrinsic/commit/8cbc1418940d7a8941f3a7985cbc4ac095c5e13d) +- [Dev Deps] update `@ljharb/eslint-config`, `es-abstract`, `es-value-fixtures`, `object-inspect`, `tape` [`10b6f5c`](https://github.com/ljharb/get-intrinsic/commit/10b6f5c02593fb3680c581d696ac124e30652932) +- [readme] add github actions/codecov badges [`4e25400`](https://github.com/ljharb/get-intrinsic/commit/4e25400d9f51ae9eb059cbe22d9144e70ea214e8) +- [Tests] use `for-each` instead of `foreach` [`c05b957`](https://github.com/ljharb/get-intrinsic/commit/c05b957ad9a7bc7721af7cc9e9be1edbfe057496) +- [Dev Deps] update `es-abstract` [`29b05ae`](https://github.com/ljharb/get-intrinsic/commit/29b05aec3e7330e9ad0b8e0f685a9112c20cdd97) +- [meta] use `prepublishOnly` script for npm 7+ [`95c285d`](https://github.com/ljharb/get-intrinsic/commit/95c285da810516057d3bbfa871176031af38f05d) +- [Deps] update `has-symbols` [`593cb4f`](https://github.com/ljharb/get-intrinsic/commit/593cb4fb38e7922e40e42c183f45274b636424cd) +- [readme] fix repo URLs [`1c8305b`](https://github.com/ljharb/get-intrinsic/commit/1c8305b5365827c9b6fc785434aac0e1328ff2f5) +- [Deps] update `has-symbols` [`c7138b6`](https://github.com/ljharb/get-intrinsic/commit/c7138b6c6d73132d859471fb8c13304e1e7c8b20) +- [Dev Deps] remove unused `has-bigints` [`bd63aff`](https://github.com/ljharb/get-intrinsic/commit/bd63aff6ad8f3a986c557fcda2914187bdaab359) + +## [v1.1.1](https://github.com/ljharb/get-intrinsic/compare/v1.1.0...v1.1.1) - 2021-02-03 + +### Fixed + +- [meta] export `./package.json` [`#9`](https://github.com/ljharb/get-intrinsic/issues/9) + +### Commits + +- [readme] flesh out the readme; use `evalmd` [`d12f12c`](https://github.com/ljharb/get-intrinsic/commit/d12f12c15345a0a0772cc65a7c64369529abd614) +- [eslint] set up proper globals config [`5a8c098`](https://github.com/ljharb/get-intrinsic/commit/5a8c0984e3319d1ac0e64b102f8ec18b64e79f36) +- [Dev Deps] update `eslint` [`7b9a5c0`](https://github.com/ljharb/get-intrinsic/commit/7b9a5c0d31a90ca1a1234181c74988fb046701cd) + +## [v1.1.0](https://github.com/ljharb/get-intrinsic/compare/v1.0.2...v1.1.0) - 2021-01-25 + +### Fixed + +- [Refactor] delay `Function` eval until syntax-derived values are requested [`#3`](https://github.com/ljharb/get-intrinsic/issues/3) + +### Commits + +- [Tests] migrate tests to Github Actions [`2ab762b`](https://github.com/ljharb/get-intrinsic/commit/2ab762b48164aea8af37a40ba105bbc8246ab8c4) +- [meta] do not publish github action workflow files [`5e7108e`](https://github.com/ljharb/get-intrinsic/commit/5e7108e4768b244d48d9567ba4f8a6cab9c65b8e) +- [Tests] add some coverage [`01ac7a8`](https://github.com/ljharb/get-intrinsic/commit/01ac7a87ac29738567e8524cd8c9e026b1fa8cb3) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `call-bind`, `es-abstract`, `tape`; add `call-bind` [`911b672`](https://github.com/ljharb/get-intrinsic/commit/911b672fbffae433a96924c6ce013585e425f4b7) +- [Refactor] rearrange evalled constructors a bit [`7e7e4bf`](https://github.com/ljharb/get-intrinsic/commit/7e7e4bf583f3799c8ac1c6c5e10d2cb553957347) +- [meta] add Automatic Rebase and Require Allow Edits workflows [`0199968`](https://github.com/ljharb/get-intrinsic/commit/01999687a263ffce0a3cb011dfbcb761754aedbc) + +## [v1.0.2](https://github.com/ljharb/get-intrinsic/compare/v1.0.1...v1.0.2) - 2020-12-17 + +### Commits + +- [Fix] Throw for non‑existent intrinsics [`68f873b`](https://github.com/ljharb/get-intrinsic/commit/68f873b013c732a05ad6f5fc54f697e55515461b) +- [Fix] Throw for non‑existent segments in the intrinsic path [`8325dee`](https://github.com/ljharb/get-intrinsic/commit/8325deee43128f3654d3399aa9591741ebe17b21) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `has-bigints`, `object-inspect` [`0c227a7`](https://github.com/ljharb/get-intrinsic/commit/0c227a7d8b629166f25715fd242553892e458525) +- [meta] do not lint coverage output [`70d2419`](https://github.com/ljharb/get-intrinsic/commit/70d24199b620043cd9110fc5f426d214ebe21dc9) + +## [v1.0.1](https://github.com/ljharb/get-intrinsic/compare/v1.0.0...v1.0.1) - 2020-10-30 + +### Commits + +- [Tests] gather coverage data on every job [`d1d280d`](https://github.com/ljharb/get-intrinsic/commit/d1d280dec714e3f0519cc877dbcb193057d9cac6) +- [Fix] add missing dependencies [`5031771`](https://github.com/ljharb/get-intrinsic/commit/5031771bb1095b38be88ce7c41d5de88718e432e) +- [Tests] use `es-value-fixtures` [`af48765`](https://github.com/ljharb/get-intrinsic/commit/af48765a23c5323fb0b6b38dbf00eb5099c7bebc) + +## v1.0.0 - 2020-10-29 + +### Commits + +- Implementation [`bbce57c`](https://github.com/ljharb/get-intrinsic/commit/bbce57c6f33d05b2d8d3efa273ceeb3ee01127bb) +- Tests [`17b4f0d`](https://github.com/ljharb/get-intrinsic/commit/17b4f0d56dea6b4059b56fc30ef3ee4d9500ebc2) +- Initial commit [`3153294`](https://github.com/ljharb/get-intrinsic/commit/31532948de363b0a27dd9fd4649e7b7028ec4b44) +- npm init [`fb326c4`](https://github.com/ljharb/get-intrinsic/commit/fb326c4d2817c8419ec31de1295f06bb268a7902) +- [meta] add Automatic Rebase and Require Allow Edits workflows [`48862fb`](https://github.com/ljharb/get-intrinsic/commit/48862fb2508c8f6a57968e6d08b7c883afc9d550) +- [meta] add `auto-changelog` [`5f28ad0`](https://github.com/ljharb/get-intrinsic/commit/5f28ad019e060a353d8028f9f2591a9cc93074a1) +- [meta] add "funding"; create `FUNDING.yml` [`c2bbdde`](https://github.com/ljharb/get-intrinsic/commit/c2bbddeba73a875be61484ee4680b129a6d4e0a1) +- [Tests] add `npm run lint` [`0a84b98`](https://github.com/ljharb/get-intrinsic/commit/0a84b98b22b7cf7a748666f705b0003a493c35fd) +- Only apps should have lockfiles [`9586c75`](https://github.com/ljharb/get-intrinsic/commit/9586c75866c1ee678e4d5d4dbbdef6997e511b05) diff --git a/node_modules/get-intrinsic/LICENSE b/node_modules/get-intrinsic/LICENSE new file mode 100644 index 0000000..48f05d0 --- /dev/null +++ b/node_modules/get-intrinsic/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/get-intrinsic/README.md b/node_modules/get-intrinsic/README.md new file mode 100644 index 0000000..3aa0bba --- /dev/null +++ b/node_modules/get-intrinsic/README.md @@ -0,0 +1,71 @@ +# get-intrinsic [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![dependency status][deps-svg]][deps-url] +[![dev dependency status][dev-deps-svg]][dev-deps-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +Get and robustly cache all JS language-level intrinsics at first require time. + +See the syntax described [in the JS spec](https://tc39.es/ecma262/#sec-well-known-intrinsic-objects) for reference. + +## Example + +```js +var GetIntrinsic = require('get-intrinsic'); +var assert = require('assert'); + +// static methods +assert.equal(GetIntrinsic('%Math.pow%'), Math.pow); +assert.equal(Math.pow(2, 3), 8); +assert.equal(GetIntrinsic('%Math.pow%')(2, 3), 8); +delete Math.pow; +assert.equal(GetIntrinsic('%Math.pow%')(2, 3), 8); + +// instance methods +var arr = [1]; +assert.equal(GetIntrinsic('%Array.prototype.push%'), Array.prototype.push); +assert.deepEqual(arr, [1]); + +arr.push(2); +assert.deepEqual(arr, [1, 2]); + +GetIntrinsic('%Array.prototype.push%').call(arr, 3); +assert.deepEqual(arr, [1, 2, 3]); + +delete Array.prototype.push; +GetIntrinsic('%Array.prototype.push%').call(arr, 4); +assert.deepEqual(arr, [1, 2, 3, 4]); + +// missing features +delete JSON.parse; // to simulate a real intrinsic that is missing in the environment +assert.throws(() => GetIntrinsic('%JSON.parse%')); +assert.equal(undefined, GetIntrinsic('%JSON.parse%', true)); +``` + +## Tests +Simply clone the repo, `npm install`, and run `npm test` + +## Security + +Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report. + +[package-url]: https://npmjs.org/package/get-intrinsic +[npm-version-svg]: https://versionbadg.es/ljharb/get-intrinsic.svg +[deps-svg]: https://david-dm.org/ljharb/get-intrinsic.svg +[deps-url]: https://david-dm.org/ljharb/get-intrinsic +[dev-deps-svg]: https://david-dm.org/ljharb/get-intrinsic/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/get-intrinsic#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/get-intrinsic.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/get-intrinsic.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/get-intrinsic.svg +[downloads-url]: https://npm-stat.com/charts.html?package=get-intrinsic +[codecov-image]: https://codecov.io/gh/ljharb/get-intrinsic/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/get-intrinsic/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/get-intrinsic +[actions-url]: https://github.com/ljharb/get-intrinsic/actions diff --git a/node_modules/get-intrinsic/index.js b/node_modules/get-intrinsic/index.js new file mode 100644 index 0000000..bd1d94b --- /dev/null +++ b/node_modules/get-intrinsic/index.js @@ -0,0 +1,378 @@ +'use strict'; + +var undefined; + +var $Object = require('es-object-atoms'); + +var $Error = require('es-errors'); +var $EvalError = require('es-errors/eval'); +var $RangeError = require('es-errors/range'); +var $ReferenceError = require('es-errors/ref'); +var $SyntaxError = require('es-errors/syntax'); +var $TypeError = require('es-errors/type'); +var $URIError = require('es-errors/uri'); + +var abs = require('math-intrinsics/abs'); +var floor = require('math-intrinsics/floor'); +var max = require('math-intrinsics/max'); +var min = require('math-intrinsics/min'); +var pow = require('math-intrinsics/pow'); +var round = require('math-intrinsics/round'); +var sign = require('math-intrinsics/sign'); + +var $Function = Function; + +// eslint-disable-next-line consistent-return +var getEvalledConstructor = function (expressionSyntax) { + try { + return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')(); + } catch (e) {} +}; + +var $gOPD = require('gopd'); +var $defineProperty = require('es-define-property'); + +var throwTypeError = function () { + throw new $TypeError(); +}; +var ThrowTypeError = $gOPD + ? (function () { + try { + // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties + arguments.callee; // IE 8 does not throw here + return throwTypeError; + } catch (calleeThrows) { + try { + // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '') + return $gOPD(arguments, 'callee').get; + } catch (gOPDthrows) { + return throwTypeError; + } + } + }()) + : throwTypeError; + +var hasSymbols = require('has-symbols')(); + +var getProto = require('get-proto'); +var $ObjectGPO = require('get-proto/Object.getPrototypeOf'); +var $ReflectGPO = require('get-proto/Reflect.getPrototypeOf'); + +var $apply = require('call-bind-apply-helpers/functionApply'); +var $call = require('call-bind-apply-helpers/functionCall'); + +var needsEval = {}; + +var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array); + +var INTRINSICS = { + __proto__: null, + '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError, + '%Array%': Array, + '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer, + '%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined, + '%AsyncFromSyncIteratorPrototype%': undefined, + '%AsyncFunction%': needsEval, + '%AsyncGenerator%': needsEval, + '%AsyncGeneratorFunction%': needsEval, + '%AsyncIteratorPrototype%': needsEval, + '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics, + '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt, + '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array, + '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array, + '%Boolean%': Boolean, + '%DataView%': typeof DataView === 'undefined' ? undefined : DataView, + '%Date%': Date, + '%decodeURI%': decodeURI, + '%decodeURIComponent%': decodeURIComponent, + '%encodeURI%': encodeURI, + '%encodeURIComponent%': encodeURIComponent, + '%Error%': $Error, + '%eval%': eval, // eslint-disable-line no-eval + '%EvalError%': $EvalError, + '%Float16Array%': typeof Float16Array === 'undefined' ? undefined : Float16Array, + '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array, + '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array, + '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry, + '%Function%': $Function, + '%GeneratorFunction%': needsEval, + '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array, + '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array, + '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array, + '%isFinite%': isFinite, + '%isNaN%': isNaN, + '%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined, + '%JSON%': typeof JSON === 'object' ? JSON : undefined, + '%Map%': typeof Map === 'undefined' ? undefined : Map, + '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()), + '%Math%': Math, + '%Number%': Number, + '%Object%': $Object, + '%Object.getOwnPropertyDescriptor%': $gOPD, + '%parseFloat%': parseFloat, + '%parseInt%': parseInt, + '%Promise%': typeof Promise === 'undefined' ? undefined : Promise, + '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy, + '%RangeError%': $RangeError, + '%ReferenceError%': $ReferenceError, + '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect, + '%RegExp%': RegExp, + '%Set%': typeof Set === 'undefined' ? undefined : Set, + '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()), + '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer, + '%String%': String, + '%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined, + '%Symbol%': hasSymbols ? Symbol : undefined, + '%SyntaxError%': $SyntaxError, + '%ThrowTypeError%': ThrowTypeError, + '%TypedArray%': TypedArray, + '%TypeError%': $TypeError, + '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array, + '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray, + '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array, + '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array, + '%URIError%': $URIError, + '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap, + '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef, + '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet, + + '%Function.prototype.call%': $call, + '%Function.prototype.apply%': $apply, + '%Object.defineProperty%': $defineProperty, + '%Object.getPrototypeOf%': $ObjectGPO, + '%Math.abs%': abs, + '%Math.floor%': floor, + '%Math.max%': max, + '%Math.min%': min, + '%Math.pow%': pow, + '%Math.round%': round, + '%Math.sign%': sign, + '%Reflect.getPrototypeOf%': $ReflectGPO +}; + +if (getProto) { + try { + null.error; // eslint-disable-line no-unused-expressions + } catch (e) { + // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229 + var errorProto = getProto(getProto(e)); + INTRINSICS['%Error.prototype%'] = errorProto; + } +} + +var doEval = function doEval(name) { + var value; + if (name === '%AsyncFunction%') { + value = getEvalledConstructor('async function () {}'); + } else if (name === '%GeneratorFunction%') { + value = getEvalledConstructor('function* () {}'); + } else if (name === '%AsyncGeneratorFunction%') { + value = getEvalledConstructor('async function* () {}'); + } else if (name === '%AsyncGenerator%') { + var fn = doEval('%AsyncGeneratorFunction%'); + if (fn) { + value = fn.prototype; + } + } else if (name === '%AsyncIteratorPrototype%') { + var gen = doEval('%AsyncGenerator%'); + if (gen && getProto) { + value = getProto(gen.prototype); + } + } + + INTRINSICS[name] = value; + + return value; +}; + +var LEGACY_ALIASES = { + __proto__: null, + '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'], + '%ArrayPrototype%': ['Array', 'prototype'], + '%ArrayProto_entries%': ['Array', 'prototype', 'entries'], + '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'], + '%ArrayProto_keys%': ['Array', 'prototype', 'keys'], + '%ArrayProto_values%': ['Array', 'prototype', 'values'], + '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'], + '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'], + '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'], + '%BooleanPrototype%': ['Boolean', 'prototype'], + '%DataViewPrototype%': ['DataView', 'prototype'], + '%DatePrototype%': ['Date', 'prototype'], + '%ErrorPrototype%': ['Error', 'prototype'], + '%EvalErrorPrototype%': ['EvalError', 'prototype'], + '%Float32ArrayPrototype%': ['Float32Array', 'prototype'], + '%Float64ArrayPrototype%': ['Float64Array', 'prototype'], + '%FunctionPrototype%': ['Function', 'prototype'], + '%Generator%': ['GeneratorFunction', 'prototype'], + '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'], + '%Int8ArrayPrototype%': ['Int8Array', 'prototype'], + '%Int16ArrayPrototype%': ['Int16Array', 'prototype'], + '%Int32ArrayPrototype%': ['Int32Array', 'prototype'], + '%JSONParse%': ['JSON', 'parse'], + '%JSONStringify%': ['JSON', 'stringify'], + '%MapPrototype%': ['Map', 'prototype'], + '%NumberPrototype%': ['Number', 'prototype'], + '%ObjectPrototype%': ['Object', 'prototype'], + '%ObjProto_toString%': ['Object', 'prototype', 'toString'], + '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'], + '%PromisePrototype%': ['Promise', 'prototype'], + '%PromiseProto_then%': ['Promise', 'prototype', 'then'], + '%Promise_all%': ['Promise', 'all'], + '%Promise_reject%': ['Promise', 'reject'], + '%Promise_resolve%': ['Promise', 'resolve'], + '%RangeErrorPrototype%': ['RangeError', 'prototype'], + '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'], + '%RegExpPrototype%': ['RegExp', 'prototype'], + '%SetPrototype%': ['Set', 'prototype'], + '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'], + '%StringPrototype%': ['String', 'prototype'], + '%SymbolPrototype%': ['Symbol', 'prototype'], + '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'], + '%TypedArrayPrototype%': ['TypedArray', 'prototype'], + '%TypeErrorPrototype%': ['TypeError', 'prototype'], + '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'], + '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'], + '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'], + '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'], + '%URIErrorPrototype%': ['URIError', 'prototype'], + '%WeakMapPrototype%': ['WeakMap', 'prototype'], + '%WeakSetPrototype%': ['WeakSet', 'prototype'] +}; + +var bind = require('function-bind'); +var hasOwn = require('hasown'); +var $concat = bind.call($call, Array.prototype.concat); +var $spliceApply = bind.call($apply, Array.prototype.splice); +var $replace = bind.call($call, String.prototype.replace); +var $strSlice = bind.call($call, String.prototype.slice); +var $exec = bind.call($call, RegExp.prototype.exec); + +/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ +var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; +var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */ +var stringToPath = function stringToPath(string) { + var first = $strSlice(string, 0, 1); + var last = $strSlice(string, -1); + if (first === '%' && last !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`'); + } else if (last === '%' && first !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`'); + } + var result = []; + $replace(string, rePropName, function (match, number, quote, subString) { + result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match; + }); + return result; +}; +/* end adaptation */ + +var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { + var intrinsicName = name; + var alias; + if (hasOwn(LEGACY_ALIASES, intrinsicName)) { + alias = LEGACY_ALIASES[intrinsicName]; + intrinsicName = '%' + alias[0] + '%'; + } + + if (hasOwn(INTRINSICS, intrinsicName)) { + var value = INTRINSICS[intrinsicName]; + if (value === needsEval) { + value = doEval(intrinsicName); + } + if (typeof value === 'undefined' && !allowMissing) { + throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!'); + } + + return { + alias: alias, + name: intrinsicName, + value: value + }; + } + + throw new $SyntaxError('intrinsic ' + name + ' does not exist!'); +}; + +module.exports = function GetIntrinsic(name, allowMissing) { + if (typeof name !== 'string' || name.length === 0) { + throw new $TypeError('intrinsic name must be a non-empty string'); + } + if (arguments.length > 1 && typeof allowMissing !== 'boolean') { + throw new $TypeError('"allowMissing" argument must be a boolean'); + } + + if ($exec(/^%?[^%]*%?$/, name) === null) { + throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name'); + } + var parts = stringToPath(name); + var intrinsicBaseName = parts.length > 0 ? parts[0] : ''; + + var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing); + var intrinsicRealName = intrinsic.name; + var value = intrinsic.value; + var skipFurtherCaching = false; + + var alias = intrinsic.alias; + if (alias) { + intrinsicBaseName = alias[0]; + $spliceApply(parts, $concat([0, 1], alias)); + } + + for (var i = 1, isOwn = true; i < parts.length; i += 1) { + var part = parts[i]; + var first = $strSlice(part, 0, 1); + var last = $strSlice(part, -1); + if ( + ( + (first === '"' || first === "'" || first === '`') + || (last === '"' || last === "'" || last === '`') + ) + && first !== last + ) { + throw new $SyntaxError('property names with quotes must have matching quotes'); + } + if (part === 'constructor' || !isOwn) { + skipFurtherCaching = true; + } + + intrinsicBaseName += '.' + part; + intrinsicRealName = '%' + intrinsicBaseName + '%'; + + if (hasOwn(INTRINSICS, intrinsicRealName)) { + value = INTRINSICS[intrinsicRealName]; + } else if (value != null) { + if (!(part in value)) { + if (!allowMissing) { + throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.'); + } + return void undefined; + } + if ($gOPD && (i + 1) >= parts.length) { + var desc = $gOPD(value, part); + isOwn = !!desc; + + // By convention, when a data property is converted to an accessor + // property to emulate a data property that does not suffer from + // the override mistake, that accessor's getter is marked with + // an `originalValue` property. Here, when we detect this, we + // uphold the illusion by pretending to see that original data + // property, i.e., returning the value rather than the getter + // itself. + if (isOwn && 'get' in desc && !('originalValue' in desc.get)) { + value = desc.get; + } else { + value = value[part]; + } + } else { + isOwn = hasOwn(value, part); + value = value[part]; + } + + if (isOwn && !skipFurtherCaching) { + INTRINSICS[intrinsicRealName] = value; + } + } + } + return value; +}; diff --git a/node_modules/get-intrinsic/package.json b/node_modules/get-intrinsic/package.json new file mode 100644 index 0000000..2828e73 --- /dev/null +++ b/node_modules/get-intrinsic/package.json @@ -0,0 +1,97 @@ +{ + "name": "get-intrinsic", + "version": "1.3.0", + "description": "Get and robustly cache all JS language-level intrinsics at first require time", + "main": "index.js", + "exports": { + ".": "./index.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "prelint": "evalmd README.md", + "lint": "eslint --ext=.js,.mjs .", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@'>= 10.2' audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/get-intrinsic.git" + }, + "keywords": [ + "javascript", + "ecmascript", + "es", + "js", + "intrinsic", + "getintrinsic", + "es-abstract" + ], + "author": "Jordan Harband ", + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/get-intrinsic/issues" + }, + "homepage": "https://github.com/ljharb/get-intrinsic#readme", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "devDependencies": { + "@ljharb/eslint-config": "^21.1.1", + "auto-changelog": "^2.5.0", + "call-bound": "^1.0.3", + "encoding": "^0.1.13", + "es-abstract": "^1.23.9", + "es-value-fixtures": "^1.7.1", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "for-each": "^0.3.5", + "make-async-function": "^1.0.0", + "make-async-generator-function": "^1.0.0", + "make-generator-function": "^2.0.0", + "mock-property": "^1.1.0", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "object-inspect": "^1.13.4", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "testling": { + "files": "test/GetIntrinsic.js" + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} diff --git a/node_modules/get-intrinsic/test/GetIntrinsic.js b/node_modules/get-intrinsic/test/GetIntrinsic.js new file mode 100644 index 0000000..d9c0f30 --- /dev/null +++ b/node_modules/get-intrinsic/test/GetIntrinsic.js @@ -0,0 +1,274 @@ +'use strict'; + +var GetIntrinsic = require('../'); + +var test = require('tape'); +var forEach = require('for-each'); +var debug = require('object-inspect'); +var generatorFns = require('make-generator-function')(); +var asyncFns = require('make-async-function').list(); +var asyncGenFns = require('make-async-generator-function')(); +var mockProperty = require('mock-property'); + +var callBound = require('call-bound'); +var v = require('es-value-fixtures'); +var $gOPD = require('gopd'); +var DefinePropertyOrThrow = require('es-abstract/2023/DefinePropertyOrThrow'); + +var $isProto = callBound('%Object.prototype.isPrototypeOf%'); + +test('export', function (t) { + t.equal(typeof GetIntrinsic, 'function', 'it is a function'); + t.equal(GetIntrinsic.length, 2, 'function has length of 2'); + + t.end(); +}); + +test('throws', function (t) { + t['throws']( + function () { GetIntrinsic('not an intrinsic'); }, + SyntaxError, + 'nonexistent intrinsic throws a syntax error' + ); + + t['throws']( + function () { GetIntrinsic(''); }, + TypeError, + 'empty string intrinsic throws a type error' + ); + + t['throws']( + function () { GetIntrinsic('.'); }, + SyntaxError, + '"just a dot" intrinsic throws a syntax error' + ); + + t['throws']( + function () { GetIntrinsic('%String'); }, + SyntaxError, + 'Leading % without trailing % throws a syntax error' + ); + + t['throws']( + function () { GetIntrinsic('String%'); }, + SyntaxError, + 'Trailing % without leading % throws a syntax error' + ); + + t['throws']( + function () { GetIntrinsic("String['prototype]"); }, + SyntaxError, + 'Dynamic property access is disallowed for intrinsics (unterminated string)' + ); + + t['throws']( + function () { GetIntrinsic('%Proxy.prototype.undefined%'); }, + TypeError, + "Throws when middle part doesn't exist (%Proxy.prototype.undefined%)" + ); + + t['throws']( + function () { GetIntrinsic('%Array.prototype%garbage%'); }, + SyntaxError, + 'Throws with extra percent signs' + ); + + t['throws']( + function () { GetIntrinsic('%Array.prototype%push%'); }, + SyntaxError, + 'Throws with extra percent signs, even on an existing intrinsic' + ); + + forEach(v.nonStrings, function (nonString) { + t['throws']( + function () { GetIntrinsic(nonString); }, + TypeError, + debug(nonString) + ' is not a String' + ); + }); + + forEach(v.nonBooleans, function (nonBoolean) { + t['throws']( + function () { GetIntrinsic('%', nonBoolean); }, + TypeError, + debug(nonBoolean) + ' is not a Boolean' + ); + }); + + forEach([ + 'toString', + 'propertyIsEnumerable', + 'hasOwnProperty' + ], function (objectProtoMember) { + t['throws']( + function () { GetIntrinsic(objectProtoMember); }, + SyntaxError, + debug(objectProtoMember) + ' is not an intrinsic' + ); + }); + + t.end(); +}); + +test('base intrinsics', function (t) { + t.equal(GetIntrinsic('%Object%'), Object, '%Object% yields Object'); + t.equal(GetIntrinsic('Object'), Object, 'Object yields Object'); + t.equal(GetIntrinsic('%Array%'), Array, '%Array% yields Array'); + t.equal(GetIntrinsic('Array'), Array, 'Array yields Array'); + + t.end(); +}); + +test('dotted paths', function (t) { + t.equal(GetIntrinsic('%Object.prototype.toString%'), Object.prototype.toString, '%Object.prototype.toString% yields Object.prototype.toString'); + t.equal(GetIntrinsic('Object.prototype.toString'), Object.prototype.toString, 'Object.prototype.toString yields Object.prototype.toString'); + t.equal(GetIntrinsic('%Array.prototype.push%'), Array.prototype.push, '%Array.prototype.push% yields Array.prototype.push'); + t.equal(GetIntrinsic('Array.prototype.push'), Array.prototype.push, 'Array.prototype.push yields Array.prototype.push'); + + test('underscore paths are aliases for dotted paths', { skip: !Object.isFrozen || Object.isFrozen(Object.prototype) }, function (st) { + var original = GetIntrinsic('%ObjProto_toString%'); + + forEach([ + '%Object.prototype.toString%', + 'Object.prototype.toString', + '%ObjectPrototype.toString%', + 'ObjectPrototype.toString', + '%ObjProto_toString%', + 'ObjProto_toString' + ], function (name) { + DefinePropertyOrThrow(Object.prototype, 'toString', { + '[[Value]]': function toString() { + return original.apply(this, arguments); + } + }); + st.equal(GetIntrinsic(name), original, name + ' yields original Object.prototype.toString'); + }); + + DefinePropertyOrThrow(Object.prototype, 'toString', { '[[Value]]': original }); + st.end(); + }); + + test('dotted paths cache', { skip: !Object.isFrozen || Object.isFrozen(Object.prototype) }, function (st) { + var original = GetIntrinsic('%Object.prototype.propertyIsEnumerable%'); + + forEach([ + '%Object.prototype.propertyIsEnumerable%', + 'Object.prototype.propertyIsEnumerable', + '%ObjectPrototype.propertyIsEnumerable%', + 'ObjectPrototype.propertyIsEnumerable' + ], function (name) { + var restore = mockProperty(Object.prototype, 'propertyIsEnumerable', { + value: function propertyIsEnumerable() { + return original.apply(this, arguments); + } + }); + st.equal(GetIntrinsic(name), original, name + ' yields cached Object.prototype.propertyIsEnumerable'); + + restore(); + }); + + st.end(); + }); + + test('dotted path reports correct error', function (st) { + st['throws'](function () { + GetIntrinsic('%NonExistentIntrinsic.prototype.property%'); + }, /%NonExistentIntrinsic%/, 'The base intrinsic of %NonExistentIntrinsic.prototype.property% is %NonExistentIntrinsic%'); + + st['throws'](function () { + GetIntrinsic('%NonExistentIntrinsicPrototype.property%'); + }, /%NonExistentIntrinsicPrototype%/, 'The base intrinsic of %NonExistentIntrinsicPrototype.property% is %NonExistentIntrinsicPrototype%'); + + st.end(); + }); + + t.end(); +}); + +test('accessors', { skip: !$gOPD || typeof Map !== 'function' }, function (t) { + var actual = $gOPD(Map.prototype, 'size'); + t.ok(actual, 'Map.prototype.size has a descriptor'); + t.equal(typeof actual.get, 'function', 'Map.prototype.size has a getter function'); + t.equal(GetIntrinsic('%Map.prototype.size%'), actual.get, '%Map.prototype.size% yields the getter for it'); + t.equal(GetIntrinsic('Map.prototype.size'), actual.get, 'Map.prototype.size yields the getter for it'); + + t.end(); +}); + +test('generator functions', { skip: !generatorFns.length }, function (t) { + var $GeneratorFunction = GetIntrinsic('%GeneratorFunction%'); + var $GeneratorFunctionPrototype = GetIntrinsic('%Generator%'); + var $GeneratorPrototype = GetIntrinsic('%GeneratorPrototype%'); + + forEach(generatorFns, function (genFn) { + var fnName = genFn.name; + fnName = fnName ? "'" + fnName + "'" : 'genFn'; + + t.ok(genFn instanceof $GeneratorFunction, fnName + ' instanceof %GeneratorFunction%'); + t.ok($isProto($GeneratorFunctionPrototype, genFn), '%Generator% is prototype of ' + fnName); + t.ok($isProto($GeneratorPrototype, genFn.prototype), '%GeneratorPrototype% is prototype of ' + fnName + '.prototype'); + }); + + t.end(); +}); + +test('async functions', { skip: !asyncFns.length }, function (t) { + var $AsyncFunction = GetIntrinsic('%AsyncFunction%'); + var $AsyncFunctionPrototype = GetIntrinsic('%AsyncFunctionPrototype%'); + + forEach(asyncFns, function (asyncFn) { + var fnName = asyncFn.name; + fnName = fnName ? "'" + fnName + "'" : 'asyncFn'; + + t.ok(asyncFn instanceof $AsyncFunction, fnName + ' instanceof %AsyncFunction%'); + t.ok($isProto($AsyncFunctionPrototype, asyncFn), '%AsyncFunctionPrototype% is prototype of ' + fnName); + }); + + t.end(); +}); + +test('async generator functions', { skip: asyncGenFns.length === 0 }, function (t) { + var $AsyncGeneratorFunction = GetIntrinsic('%AsyncGeneratorFunction%'); + var $AsyncGeneratorFunctionPrototype = GetIntrinsic('%AsyncGenerator%'); + var $AsyncGeneratorPrototype = GetIntrinsic('%AsyncGeneratorPrototype%'); + + forEach(asyncGenFns, function (asyncGenFn) { + var fnName = asyncGenFn.name; + fnName = fnName ? "'" + fnName + "'" : 'asyncGenFn'; + + t.ok(asyncGenFn instanceof $AsyncGeneratorFunction, fnName + ' instanceof %AsyncGeneratorFunction%'); + t.ok($isProto($AsyncGeneratorFunctionPrototype, asyncGenFn), '%AsyncGenerator% is prototype of ' + fnName); + t.ok($isProto($AsyncGeneratorPrototype, asyncGenFn.prototype), '%AsyncGeneratorPrototype% is prototype of ' + fnName + '.prototype'); + }); + + t.end(); +}); + +test('%ThrowTypeError%', function (t) { + var $ThrowTypeError = GetIntrinsic('%ThrowTypeError%'); + + t.equal(typeof $ThrowTypeError, 'function', 'is a function'); + t['throws']( + $ThrowTypeError, + TypeError, + '%ThrowTypeError% throws a TypeError' + ); + + t.end(); +}); + +test('allowMissing', { skip: asyncGenFns.length > 0 }, function (t) { + t['throws']( + function () { GetIntrinsic('%AsyncGeneratorPrototype%'); }, + TypeError, + 'throws when missing' + ); + + t.equal( + GetIntrinsic('%AsyncGeneratorPrototype%', true), + undefined, + 'does not throw when allowMissing' + ); + + t.end(); +}); diff --git a/node_modules/get-proto/.eslintrc b/node_modules/get-proto/.eslintrc new file mode 100644 index 0000000..1d21a8a --- /dev/null +++ b/node_modules/get-proto/.eslintrc @@ -0,0 +1,10 @@ +{ + "root": true, + + "extends": "@ljharb", + + "rules": { + "id-length": "off", + "sort-keys": "off", + }, +} diff --git a/node_modules/get-proto/.github/FUNDING.yml b/node_modules/get-proto/.github/FUNDING.yml new file mode 100644 index 0000000..93183ef --- /dev/null +++ b/node_modules/get-proto/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [ljharb] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: npm/get-proto +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/get-proto/.nycrc b/node_modules/get-proto/.nycrc new file mode 100644 index 0000000..bdd626c --- /dev/null +++ b/node_modules/get-proto/.nycrc @@ -0,0 +1,9 @@ +{ + "all": true, + "check-coverage": false, + "reporter": ["text-summary", "text", "html", "json"], + "exclude": [ + "coverage", + "test" + ] +} diff --git a/node_modules/get-proto/CHANGELOG.md b/node_modules/get-proto/CHANGELOG.md new file mode 100644 index 0000000..5860229 --- /dev/null +++ b/node_modules/get-proto/CHANGELOG.md @@ -0,0 +1,21 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.0.1](https://github.com/ljharb/get-proto/compare/v1.0.0...v1.0.1) - 2025-01-02 + +### Commits + +- [Fix] for the `Object.getPrototypeOf` window, throw for non-objects [`7fe6508`](https://github.com/ljharb/get-proto/commit/7fe6508b71419ebe1976bedb86001d1feaeaa49a) + +## v1.0.0 - 2025-01-01 + +### Commits + +- Initial implementation, tests, readme, types [`5c70775`](https://github.com/ljharb/get-proto/commit/5c707751e81c3deeb2cf980d185fc7fd43611415) +- Initial commit [`7c65c2a`](https://github.com/ljharb/get-proto/commit/7c65c2ad4e33d5dae2f219ebe1a046ae2256972c) +- npm init [`0b8cf82`](https://github.com/ljharb/get-proto/commit/0b8cf824c9634e4a34ef7dd2a2cdc5be6ac79518) +- Only apps should have lockfiles [`a6d1bff`](https://github.com/ljharb/get-proto/commit/a6d1bffc364f5828377cea7194558b2dbef7aea2) diff --git a/node_modules/get-proto/LICENSE b/node_modules/get-proto/LICENSE new file mode 100644 index 0000000..eeabd1c --- /dev/null +++ b/node_modules/get-proto/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/get-proto/Object.getPrototypeOf.d.ts b/node_modules/get-proto/Object.getPrototypeOf.d.ts new file mode 100644 index 0000000..028b3ff --- /dev/null +++ b/node_modules/get-proto/Object.getPrototypeOf.d.ts @@ -0,0 +1,5 @@ +declare function getProto(object: O): object | null; + +declare const x: typeof getProto | null; + +export = x; \ No newline at end of file diff --git a/node_modules/get-proto/Object.getPrototypeOf.js b/node_modules/get-proto/Object.getPrototypeOf.js new file mode 100644 index 0000000..c2cbbdf --- /dev/null +++ b/node_modules/get-proto/Object.getPrototypeOf.js @@ -0,0 +1,6 @@ +'use strict'; + +var $Object = require('es-object-atoms'); + +/** @type {import('./Object.getPrototypeOf')} */ +module.exports = $Object.getPrototypeOf || null; diff --git a/node_modules/get-proto/README.md b/node_modules/get-proto/README.md new file mode 100644 index 0000000..f8b4cce --- /dev/null +++ b/node_modules/get-proto/README.md @@ -0,0 +1,50 @@ +# get-proto [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +Robustly get the [[Prototype]] of an object. Uses the best available method. + +## Getting started + +```sh +npm install --save get-proto +``` + +## Usage/Examples + +```js +const assert = require('assert'); +const getProto = require('get-proto'); + +const a = { a: 1, b: 2, [Symbol.toStringTag]: 'foo' }; +const b = { c: 3, __proto__: a }; + +assert.equal(getProto(b), a); +assert.equal(getProto(a), Object.prototype); +assert.equal(getProto({ __proto__: null }), null); +``` + +## Tests + +Clone the repo, `npm install`, and run `npm test` + +[package-url]: https://npmjs.org/package/get-proto +[npm-version-svg]: https://versionbadg.es/ljharb/get-proto.svg +[deps-svg]: https://david-dm.org/ljharb/get-proto.svg +[deps-url]: https://david-dm.org/ljharb/get-proto +[dev-deps-svg]: https://david-dm.org/ljharb/get-proto/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/get-proto#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/get-proto.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/get-proto.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/get-proto.svg +[downloads-url]: https://npm-stat.com/charts.html?package=get-proto +[codecov-image]: https://codecov.io/gh/ljharb/get-proto/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/get-proto/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/get-proto +[actions-url]: https://github.com/ljharb/get-proto/actions diff --git a/node_modules/get-proto/Reflect.getPrototypeOf.d.ts b/node_modules/get-proto/Reflect.getPrototypeOf.d.ts new file mode 100644 index 0000000..2388fe0 --- /dev/null +++ b/node_modules/get-proto/Reflect.getPrototypeOf.d.ts @@ -0,0 +1,3 @@ +declare const x: typeof Reflect.getPrototypeOf | null; + +export = x; \ No newline at end of file diff --git a/node_modules/get-proto/Reflect.getPrototypeOf.js b/node_modules/get-proto/Reflect.getPrototypeOf.js new file mode 100644 index 0000000..e6c51be --- /dev/null +++ b/node_modules/get-proto/Reflect.getPrototypeOf.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./Reflect.getPrototypeOf')} */ +module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null; diff --git a/node_modules/get-proto/index.d.ts b/node_modules/get-proto/index.d.ts new file mode 100644 index 0000000..2c021f3 --- /dev/null +++ b/node_modules/get-proto/index.d.ts @@ -0,0 +1,5 @@ +declare function getProto(object: O): object | null; + +declare const x: typeof getProto | null; + +export = x; diff --git a/node_modules/get-proto/index.js b/node_modules/get-proto/index.js new file mode 100644 index 0000000..7e5747b --- /dev/null +++ b/node_modules/get-proto/index.js @@ -0,0 +1,27 @@ +'use strict'; + +var reflectGetProto = require('./Reflect.getPrototypeOf'); +var originalGetProto = require('./Object.getPrototypeOf'); + +var getDunderProto = require('dunder-proto/get'); + +/** @type {import('.')} */ +module.exports = reflectGetProto + ? function getProto(O) { + // @ts-expect-error TS can't narrow inside a closure, for some reason + return reflectGetProto(O); + } + : originalGetProto + ? function getProto(O) { + if (!O || (typeof O !== 'object' && typeof O !== 'function')) { + throw new TypeError('getProto: not an object'); + } + // @ts-expect-error TS can't narrow inside a closure, for some reason + return originalGetProto(O); + } + : getDunderProto + ? function getProto(O) { + // @ts-expect-error TS can't narrow inside a closure, for some reason + return getDunderProto(O); + } + : null; diff --git a/node_modules/get-proto/package.json b/node_modules/get-proto/package.json new file mode 100644 index 0000000..9c35cec --- /dev/null +++ b/node_modules/get-proto/package.json @@ -0,0 +1,81 @@ +{ + "name": "get-proto", + "version": "1.0.1", + "description": "Robustly get the [[Prototype]] of an object", + "main": "index.js", + "exports": { + ".": "./index.js", + "./Reflect.getPrototypeOf": "./Reflect.getPrototypeOf.js", + "./Object.getPrototypeOf": "./Object.getPrototypeOf.js", + "./package.json": "./package.json" + }, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "pretest": "npm run --silent lint", + "test": "npm run tests-only", + "posttest": "npx npm@\">=10.2\" audit --production", + "tests-only": "nyc tape 'test/**/*.js'", + "prelint": "evalmd README.md", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc && attw -P", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/get-proto.git" + }, + "keywords": [ + "get", + "proto", + "prototype", + "getPrototypeOf", + "[[Prototype]]" + ], + "author": "Jordan Harband ", + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/get-proto/issues" + }, + "homepage": "https://github.com/ljharb/get-proto#readme", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.2", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.3", + "@types/tape": "^5.8.0", + "auto-changelog": "^2.5.0", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "engines": { + "node": ">= 0.4" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "testling": { + "files": "test/index.js" + } +} diff --git a/node_modules/get-proto/test/index.js b/node_modules/get-proto/test/index.js new file mode 100644 index 0000000..5a2ece2 --- /dev/null +++ b/node_modules/get-proto/test/index.js @@ -0,0 +1,68 @@ +'use strict'; + +var test = require('tape'); + +var getProto = require('../'); + +test('getProto', function (t) { + t.equal(typeof getProto, 'function', 'is a function'); + + t.test('can get', { skip: !getProto }, function (st) { + if (getProto) { // TS doesn't understand tape's skip + var proto = { b: 2 }; + st.equal(getProto(proto), Object.prototype, 'proto: returns the [[Prototype]]'); + + st.test('nullish value', function (s2t) { + // @ts-expect-error + s2t['throws'](function () { return getProto(undefined); }, TypeError, 'undefined is not an object'); + // @ts-expect-error + s2t['throws'](function () { return getProto(null); }, TypeError, 'null is not an object'); + s2t.end(); + }); + + // @ts-expect-error + st['throws'](function () { getProto(true); }, 'throws for true'); + // @ts-expect-error + st['throws'](function () { getProto(false); }, 'throws for false'); + // @ts-expect-error + st['throws'](function () { getProto(42); }, 'throws for 42'); + // @ts-expect-error + st['throws'](function () { getProto(NaN); }, 'throws for NaN'); + // @ts-expect-error + st['throws'](function () { getProto(0); }, 'throws for +0'); + // @ts-expect-error + st['throws'](function () { getProto(-0); }, 'throws for -0'); + // @ts-expect-error + st['throws'](function () { getProto(Infinity); }, 'throws for ∞'); + // @ts-expect-error + st['throws'](function () { getProto(-Infinity); }, 'throws for -∞'); + // @ts-expect-error + st['throws'](function () { getProto(''); }, 'throws for empty string'); + // @ts-expect-error + st['throws'](function () { getProto('foo'); }, 'throws for non-empty string'); + st.equal(getProto(/a/g), RegExp.prototype); + st.equal(getProto(new Date()), Date.prototype); + st.equal(getProto(function () {}), Function.prototype); + st.equal(getProto([]), Array.prototype); + st.equal(getProto({}), Object.prototype); + + var nullObject = { __proto__: null }; + if ('toString' in nullObject) { + st.comment('no null objects in this engine'); + st.equal(getProto(nullObject), Object.prototype, '"null" object has Object.prototype as [[Prototype]]'); + } else { + st.equal(getProto(nullObject), null, 'null object has null [[Prototype]]'); + } + } + + st.end(); + }); + + t.test('can not get', { skip: !!getProto }, function (st) { + st.equal(getProto, null); + + st.end(); + }); + + t.end(); +}); diff --git a/node_modules/get-proto/tsconfig.json b/node_modules/get-proto/tsconfig.json new file mode 100644 index 0000000..60fb90e --- /dev/null +++ b/node_modules/get-proto/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "@ljharb/tsconfig", + "compilerOptions": { + //"target": "es2021", + }, + "exclude": [ + "coverage", + ], +} diff --git a/node_modules/gopd/.eslintrc b/node_modules/gopd/.eslintrc new file mode 100644 index 0000000..e2550c0 --- /dev/null +++ b/node_modules/gopd/.eslintrc @@ -0,0 +1,16 @@ +{ + "root": true, + + "extends": "@ljharb", + + "rules": { + "func-style": [2, "declaration"], + "id-length": 0, + "multiline-comment-style": 0, + "new-cap": [2, { + "capIsNewExceptions": [ + "GetIntrinsic", + ], + }], + }, +} diff --git a/node_modules/gopd/.github/FUNDING.yml b/node_modules/gopd/.github/FUNDING.yml new file mode 100644 index 0000000..94a44a8 --- /dev/null +++ b/node_modules/gopd/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [ljharb] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: npm/gopd +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/gopd/CHANGELOG.md b/node_modules/gopd/CHANGELOG.md new file mode 100644 index 0000000..87f5727 --- /dev/null +++ b/node_modules/gopd/CHANGELOG.md @@ -0,0 +1,45 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.2.0](https://github.com/ljharb/gopd/compare/v1.1.0...v1.2.0) - 2024-12-03 + +### Commits + +- [New] add `gOPD` entry point; remove `get-intrinsic` [`5b61232`](https://github.com/ljharb/gopd/commit/5b61232dedea4591a314bcf16101b1961cee024e) + +## [v1.1.0](https://github.com/ljharb/gopd/compare/v1.0.1...v1.1.0) - 2024-11-29 + +### Commits + +- [New] add types [`f585e39`](https://github.com/ljharb/gopd/commit/f585e397886d270e4ba84e53d226e4f9ca2eb0e6) +- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `tape` [`0b8e4fd`](https://github.com/ljharb/gopd/commit/0b8e4fded64397a7726a9daa144a6cc9a5e2edfa) +- [Dev Deps] update `aud`, `npmignore`, `tape` [`48378b2`](https://github.com/ljharb/gopd/commit/48378b2443f09a4f7efbd0fb6c3ee845a6cabcf3) +- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`78099ee`](https://github.com/ljharb/gopd/commit/78099eeed41bfdc134c912280483689cc8861c31) +- [Tests] replace `aud` with `npm audit` [`4e0d0ac`](https://github.com/ljharb/gopd/commit/4e0d0ac47619d24a75318a8e1f543ee04b2a2632) +- [meta] add missing `engines.node` [`1443316`](https://github.com/ljharb/gopd/commit/14433165d07835c680155b3dfd62d9217d735eca) +- [Deps] update `get-intrinsic` [`eee5f51`](https://github.com/ljharb/gopd/commit/eee5f51769f3dbaf578b70e2a3199116b01aa670) +- [Deps] update `get-intrinsic` [`550c378`](https://github.com/ljharb/gopd/commit/550c3780e3a9c77b62565712a001b4ed64ea61f5) +- [Dev Deps] add missing peer dep [`8c2ecf8`](https://github.com/ljharb/gopd/commit/8c2ecf848122e4e30abfc5b5086fb48b390dce75) + +## [v1.0.1](https://github.com/ljharb/gopd/compare/v1.0.0...v1.0.1) - 2022-11-01 + +### Commits + +- [Fix] actually export gOPD instead of dP [`4b624bf`](https://github.com/ljharb/gopd/commit/4b624bfbeff788c5e3ff16d9443a83627847234f) + +## v1.0.0 - 2022-11-01 + +### Commits + +- Initial implementation, tests, readme [`0911e01`](https://github.com/ljharb/gopd/commit/0911e012cd642092bd88b732c161c58bf4f20bea) +- Initial commit [`b84e33f`](https://github.com/ljharb/gopd/commit/b84e33f5808a805ac57ff88d4247ad935569acbe) +- [actions] add reusable workflows [`12ae28a`](https://github.com/ljharb/gopd/commit/12ae28ae5f50f86e750215b6e2188901646d0119) +- npm init [`280118b`](https://github.com/ljharb/gopd/commit/280118badb45c80b4483836b5cb5315bddf6e582) +- [meta] add `auto-changelog` [`bb78de5`](https://github.com/ljharb/gopd/commit/bb78de5639a180747fb290c28912beaaf1615709) +- [meta] create FUNDING.yml; add `funding` in package.json [`11c22e6`](https://github.com/ljharb/gopd/commit/11c22e6355bb01f24e7fac4c9bb3055eb5b25002) +- [meta] use `npmignore` to autogenerate an npmignore file [`4f4537a`](https://github.com/ljharb/gopd/commit/4f4537a843b39f698c52f072845092e6fca345bb) +- Only apps should have lockfiles [`c567022`](https://github.com/ljharb/gopd/commit/c567022a18573aa7951cf5399445d9840e23e98b) diff --git a/node_modules/gopd/LICENSE b/node_modules/gopd/LICENSE new file mode 100644 index 0000000..6abfe14 --- /dev/null +++ b/node_modules/gopd/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/gopd/README.md b/node_modules/gopd/README.md new file mode 100644 index 0000000..784e56a --- /dev/null +++ b/node_modules/gopd/README.md @@ -0,0 +1,40 @@ +# gopd [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation. + +## Usage + +```javascript +var gOPD = require('gopd'); +var assert = require('assert'); + +if (gOPD) { + assert.equal(typeof gOPD, 'function', 'descriptors supported'); + // use gOPD like Object.getOwnPropertyDescriptor here +} else { + assert.ok(!gOPD, 'descriptors not supported'); +} +``` + +[package-url]: https://npmjs.org/package/gopd +[npm-version-svg]: https://versionbadg.es/ljharb/gopd.svg +[deps-svg]: https://david-dm.org/ljharb/gopd.svg +[deps-url]: https://david-dm.org/ljharb/gopd +[dev-deps-svg]: https://david-dm.org/ljharb/gopd/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/gopd#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/gopd.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/gopd.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/gopd.svg +[downloads-url]: https://npm-stat.com/charts.html?package=gopd +[codecov-image]: https://codecov.io/gh/ljharb/gopd/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/gopd/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/gopd +[actions-url]: https://github.com/ljharb/gopd/actions diff --git a/node_modules/gopd/gOPD.d.ts b/node_modules/gopd/gOPD.d.ts new file mode 100644 index 0000000..def48a3 --- /dev/null +++ b/node_modules/gopd/gOPD.d.ts @@ -0,0 +1 @@ +export = Object.getOwnPropertyDescriptor; diff --git a/node_modules/gopd/gOPD.js b/node_modules/gopd/gOPD.js new file mode 100644 index 0000000..cf9616c --- /dev/null +++ b/node_modules/gopd/gOPD.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./gOPD')} */ +module.exports = Object.getOwnPropertyDescriptor; diff --git a/node_modules/gopd/index.d.ts b/node_modules/gopd/index.d.ts new file mode 100644 index 0000000..e228065 --- /dev/null +++ b/node_modules/gopd/index.d.ts @@ -0,0 +1,5 @@ +declare function gOPD(obj: O, prop: K): PropertyDescriptor | undefined; + +declare const fn: typeof gOPD | undefined | null; + +export = fn; \ No newline at end of file diff --git a/node_modules/gopd/index.js b/node_modules/gopd/index.js new file mode 100644 index 0000000..a4081b0 --- /dev/null +++ b/node_modules/gopd/index.js @@ -0,0 +1,15 @@ +'use strict'; + +/** @type {import('.')} */ +var $gOPD = require('./gOPD'); + +if ($gOPD) { + try { + $gOPD([], 'length'); + } catch (e) { + // IE 8 has a broken gOPD + $gOPD = null; + } +} + +module.exports = $gOPD; diff --git a/node_modules/gopd/package.json b/node_modules/gopd/package.json new file mode 100644 index 0000000..01c5ffa --- /dev/null +++ b/node_modules/gopd/package.json @@ -0,0 +1,77 @@ +{ + "name": "gopd", + "version": "1.2.0", + "description": "`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.", + "main": "index.js", + "exports": { + ".": "./index.js", + "./gOPD": "./gOPD.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prelint": "tsc -p . && attw -P", + "lint": "eslint --ext=js,mjs .", + "postlint": "evalmd README.md", + "pretest": "npm run lint", + "tests-only": "tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@'>=10.2' audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/gopd.git" + }, + "keywords": [ + "ecmascript", + "javascript", + "getownpropertydescriptor", + "property", + "descriptor" + ], + "author": "Jordan Harband ", + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/gopd/issues" + }, + "homepage": "https://github.com/ljharb/gopd#readme", + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.0", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.0", + "@types/tape": "^5.6.5", + "auto-changelog": "^2.5.0", + "encoding": "^0.1.13", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} diff --git a/node_modules/gopd/test/index.js b/node_modules/gopd/test/index.js new file mode 100644 index 0000000..6f43453 --- /dev/null +++ b/node_modules/gopd/test/index.js @@ -0,0 +1,36 @@ +'use strict'; + +var test = require('tape'); +var gOPD = require('../'); + +test('gOPD', function (t) { + t.test('supported', { skip: !gOPD }, function (st) { + st.equal(typeof gOPD, 'function', 'is a function'); + + var obj = { x: 1 }; + st.ok('x' in obj, 'property exists'); + + // @ts-expect-error TS can't figure out narrowing from `skip` + var desc = gOPD(obj, 'x'); + st.deepEqual( + desc, + { + configurable: true, + enumerable: true, + value: 1, + writable: true + }, + 'descriptor is as expected' + ); + + st.end(); + }); + + t.test('not supported', { skip: !!gOPD }, function (st) { + st.notOk(gOPD, 'is falsy'); + + st.end(); + }); + + t.end(); +}); diff --git a/node_modules/gopd/tsconfig.json b/node_modules/gopd/tsconfig.json new file mode 100644 index 0000000..d9a6668 --- /dev/null +++ b/node_modules/gopd/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "@ljharb/tsconfig", + "compilerOptions": { + "target": "es2021", + }, + "exclude": [ + "coverage", + ], +} diff --git a/node_modules/has-symbols/.eslintrc b/node_modules/has-symbols/.eslintrc new file mode 100644 index 0000000..2d9a66a --- /dev/null +++ b/node_modules/has-symbols/.eslintrc @@ -0,0 +1,11 @@ +{ + "root": true, + + "extends": "@ljharb", + + "rules": { + "max-statements-per-line": [2, { "max": 2 }], + "no-magic-numbers": 0, + "multiline-comment-style": 0, + } +} diff --git a/node_modules/has-symbols/.github/FUNDING.yml b/node_modules/has-symbols/.github/FUNDING.yml new file mode 100644 index 0000000..04cf87e --- /dev/null +++ b/node_modules/has-symbols/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [ljharb] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: npm/has-symbols +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/has-symbols/.nycrc b/node_modules/has-symbols/.nycrc new file mode 100644 index 0000000..bdd626c --- /dev/null +++ b/node_modules/has-symbols/.nycrc @@ -0,0 +1,9 @@ +{ + "all": true, + "check-coverage": false, + "reporter": ["text-summary", "text", "html", "json"], + "exclude": [ + "coverage", + "test" + ] +} diff --git a/node_modules/has-symbols/CHANGELOG.md b/node_modules/has-symbols/CHANGELOG.md new file mode 100644 index 0000000..cc3cf83 --- /dev/null +++ b/node_modules/has-symbols/CHANGELOG.md @@ -0,0 +1,91 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.1.0](https://github.com/inspect-js/has-symbols/compare/v1.0.3...v1.1.0) - 2024-12-02 + +### Commits + +- [actions] update workflows [`548c0bf`](https://github.com/inspect-js/has-symbols/commit/548c0bf8c9b1235458df7a1c0490b0064647a282) +- [actions] further shard; update action deps [`bec56bb`](https://github.com/inspect-js/has-symbols/commit/bec56bb0fb44b43a786686b944875a3175cf3ff3) +- [meta] use `npmignore` to autogenerate an npmignore file [`ac81032`](https://github.com/inspect-js/has-symbols/commit/ac81032809157e0a079e5264e9ce9b6f1275777e) +- [New] add types [`6469cbf`](https://github.com/inspect-js/has-symbols/commit/6469cbff1866cfe367b2b3d181d9296ec14b2a3d) +- [actions] update rebase action to use reusable workflow [`9c9d4d0`](https://github.com/inspect-js/has-symbols/commit/9c9d4d0d8938e4b267acdf8e421f4e92d1716d72) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`adb5887`](https://github.com/inspect-js/has-symbols/commit/adb5887ca9444849b08beb5caaa9e1d42320cdfb) +- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`13ec198`](https://github.com/inspect-js/has-symbols/commit/13ec198ec80f1993a87710af1606a1970b22c7cb) +- [Dev Deps] update `auto-changelog`, `core-js`, `tape` [`941be52`](https://github.com/inspect-js/has-symbols/commit/941be5248387cab1da72509b22acf3fdb223f057) +- [Tests] replace `aud` with `npm audit` [`74f49e9`](https://github.com/inspect-js/has-symbols/commit/74f49e9a9d17a443020784234a1c53ce765b3559) +- [Dev Deps] update `npmignore` [`9c0ac04`](https://github.com/inspect-js/has-symbols/commit/9c0ac0452a834f4c2a4b54044f2d6a89f17e9a70) +- [Dev Deps] add missing peer dep [`52337a5`](https://github.com/inspect-js/has-symbols/commit/52337a5621cced61f846f2afdab7707a8132cc12) + +## [v1.0.3](https://github.com/inspect-js/has-symbols/compare/v1.0.2...v1.0.3) - 2022-03-01 + +### Commits + +- [actions] use `node/install` instead of `node/run`; use `codecov` action [`518b28f`](https://github.com/inspect-js/has-symbols/commit/518b28f6c5a516cbccae30794e40aa9f738b1693) +- [meta] add `bugs` and `homepage` fields; reorder package.json [`c480b13`](https://github.com/inspect-js/has-symbols/commit/c480b13fd6802b557e1cef9749872cb5fdeef744) +- [actions] reuse common workflows [`01d0ee0`](https://github.com/inspect-js/has-symbols/commit/01d0ee0a8d97c0947f5edb73eb722027a77b2b07) +- [actions] update codecov uploader [`6424ebe`](https://github.com/inspect-js/has-symbols/commit/6424ebe86b2c9c7c3d2e9bd4413a4e4f168cb275) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`dfa7e7f`](https://github.com/inspect-js/has-symbols/commit/dfa7e7ff38b594645d8c8222aab895157fa7e282) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape` [`0c8d436`](https://github.com/inspect-js/has-symbols/commit/0c8d43685c45189cea9018191d4fd7eca91c9d02) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`9026554`](https://github.com/inspect-js/has-symbols/commit/902655442a1bf88e72b42345494ef0c60f5d36ab) +- [readme] add actions and codecov badges [`eaa9682`](https://github.com/inspect-js/has-symbols/commit/eaa9682f990f481d3acf7a1c7600bec36f7b3adc) +- [Dev Deps] update `eslint`, `tape` [`bc7a3ba`](https://github.com/inspect-js/has-symbols/commit/bc7a3ba46f27b7743f8a2579732d59d1b9ac791e) +- [Dev Deps] update `eslint`, `auto-changelog` [`0ace00a`](https://github.com/inspect-js/has-symbols/commit/0ace00af08a88cdd1e6ce0d60357d941c60c2d9f) +- [meta] use `prepublishOnly` script for npm 7+ [`093f72b`](https://github.com/inspect-js/has-symbols/commit/093f72bc2b0ed00c781f444922a5034257bf561d) +- [Tests] test on all 16 minors [`9b80d3d`](https://github.com/inspect-js/has-symbols/commit/9b80d3d9102529f04c20ec5b1fcc6e38426c6b03) + +## [v1.0.2](https://github.com/inspect-js/has-symbols/compare/v1.0.1...v1.0.2) - 2021-02-27 + +### Fixed + +- [Fix] use a universal way to get the original Symbol [`#11`](https://github.com/inspect-js/has-symbols/issues/11) + +### Commits + +- [Tests] migrate tests to Github Actions [`90ae798`](https://github.com/inspect-js/has-symbols/commit/90ae79820bdfe7bc703d67f5f3c5e205f98556d3) +- [meta] do not publish github action workflow files [`29e60a1`](https://github.com/inspect-js/has-symbols/commit/29e60a1b7c25c7f1acf7acff4a9320d0d10c49b4) +- [Tests] run `nyc` on all tests [`8476b91`](https://github.com/inspect-js/has-symbols/commit/8476b915650d360915abe2522505abf4b0e8f0ae) +- [readme] fix repo URLs, remove defunct badges [`126288e`](https://github.com/inspect-js/has-symbols/commit/126288ecc1797c0a40247a6b78bcb2e0bc5d7036) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `core-js`, `get-own-property-symbols` [`d84bdfa`](https://github.com/inspect-js/has-symbols/commit/d84bdfa48ac5188abbb4904b42614cd6c030940a) +- [Tests] fix linting errors [`0df3070`](https://github.com/inspect-js/has-symbols/commit/0df3070b981b6c9f2ee530c09189a7f5c6def839) +- [actions] add "Allow Edits" workflow [`1e6bc29`](https://github.com/inspect-js/has-symbols/commit/1e6bc29b188f32b9648657b07eda08504be5aa9c) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`36cea2a`](https://github.com/inspect-js/has-symbols/commit/36cea2addd4e6ec435f35a2656b4e9ef82498e9b) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`1278338`](https://github.com/inspect-js/has-symbols/commit/127833801865fbc2cc8979beb9ca869c7bfe8222) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`1493254`](https://github.com/inspect-js/has-symbols/commit/1493254eda13db5fb8fc5e4a3e8324b3d196029d) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `core-js` [`b090bf2`](https://github.com/inspect-js/has-symbols/commit/b090bf214d3679a30edc1e2d729d466ab5183e1d) +- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`4addb7a`](https://github.com/inspect-js/has-symbols/commit/4addb7ab4dc73f927ae99928d68817554fc21dc0) +- [Dev Deps] update `auto-changelog`, `tape` [`81d0baf`](https://github.com/inspect-js/has-symbols/commit/81d0baf3816096a89a8558e8043895f7a7d10d8b) +- [Dev Deps] update `auto-changelog`; add `aud` [`1a4e561`](https://github.com/inspect-js/has-symbols/commit/1a4e5612c25d91c3a03d509721d02630bc4fe3da) +- [readme] remove unused testling URLs [`3000941`](https://github.com/inspect-js/has-symbols/commit/3000941f958046e923ed8152edb1ef4a599e6fcc) +- [Tests] only audit prod deps [`692e974`](https://github.com/inspect-js/has-symbols/commit/692e9743c912410e9440207631a643a34b4741a1) +- [Dev Deps] update `@ljharb/eslint-config` [`51c946c`](https://github.com/inspect-js/has-symbols/commit/51c946c7f6baa793ec5390bb5a45cdce16b4ba76) + +## [v1.0.1](https://github.com/inspect-js/has-symbols/compare/v1.0.0...v1.0.1) - 2019-11-16 + +### Commits + +- [Tests] use shared travis-ci configs [`ce396c9`](https://github.com/inspect-js/has-symbols/commit/ce396c9419ff11c43d0da5d05cdbb79f7fb42229) +- [Tests] up to `node` `v12.4`, `v11.15`, `v10.15`, `v9.11`, `v8.15`, `v7.10`, `v6.17`, `v4.9`; use `nvm install-latest-npm` [`0690732`](https://github.com/inspect-js/has-symbols/commit/0690732801f47ab429f39ba1962f522d5c462d6b) +- [meta] add `auto-changelog` [`2163d0b`](https://github.com/inspect-js/has-symbols/commit/2163d0b7f36343076b8f947cd1667dd1750f26fc) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `core-js`, `safe-publish-latest`, `tape` [`8e0951f`](https://github.com/inspect-js/has-symbols/commit/8e0951f1a7a2e52068222b7bb73511761e6e4d9c) +- [actions] add automatic rebasing / merge commit blocking [`b09cdb7`](https://github.com/inspect-js/has-symbols/commit/b09cdb7cd7ee39e7a769878f56e2d6066f5ccd1d) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `core-js`, `get-own-property-symbols`, `tape` [`1dd42cd`](https://github.com/inspect-js/has-symbols/commit/1dd42cd86183ed0c50f99b1062345c458babca91) +- [meta] create FUNDING.yml [`aa57a17`](https://github.com/inspect-js/has-symbols/commit/aa57a17b19708906d1927f821ea8e73394d84ca4) +- Only apps should have lockfiles [`a2d8bea`](https://github.com/inspect-js/has-symbols/commit/a2d8bea23a97d15c09eaf60f5b107fcf9a4d57aa) +- [Tests] use `npx aud` instead of `nsp` or `npm audit` with hoops [`9e96cb7`](https://github.com/inspect-js/has-symbols/commit/9e96cb783746cbed0c10ef78e599a8eaa7ebe193) +- [meta] add `funding` field [`a0b32cf`](https://github.com/inspect-js/has-symbols/commit/a0b32cf68e803f963c1639b6d47b0a9d6440bab0) +- [Dev Deps] update `safe-publish-latest` [`cb9f0a5`](https://github.com/inspect-js/has-symbols/commit/cb9f0a521a3a1790f1064d437edd33bb6c3d6af0) + +## v1.0.0 - 2016-09-19 + +### Commits + +- Tests. [`ecb6eb9`](https://github.com/inspect-js/has-symbols/commit/ecb6eb934e4883137f3f93b965ba5e0a98df430d) +- package.json [`88a337c`](https://github.com/inspect-js/has-symbols/commit/88a337cee0864a0da35f5d19e69ff0ef0150e46a) +- Initial commit [`42e1e55`](https://github.com/inspect-js/has-symbols/commit/42e1e5502536a2b8ac529c9443984acd14836b1c) +- Initial implementation. [`33f5cc6`](https://github.com/inspect-js/has-symbols/commit/33f5cc6cdff86e2194b081ee842bfdc63caf43fb) +- read me [`01f1170`](https://github.com/inspect-js/has-symbols/commit/01f1170188ff7cb1558aa297f6ba5b516c6d7b0c) diff --git a/node_modules/has-symbols/LICENSE b/node_modules/has-symbols/LICENSE new file mode 100644 index 0000000..df31cbf --- /dev/null +++ b/node_modules/has-symbols/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2016 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/has-symbols/README.md b/node_modules/has-symbols/README.md new file mode 100644 index 0000000..33905f0 --- /dev/null +++ b/node_modules/has-symbols/README.md @@ -0,0 +1,46 @@ +# has-symbols [![Version Badge][2]][1] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![dependency status][5]][6] +[![dev dependency status][7]][8] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][11]][1] + +Determine if the JS environment has Symbol support. Supports spec, or shams. + +## Example + +```js +var hasSymbols = require('has-symbols'); + +hasSymbols() === true; // if the environment has native Symbol support. Not polyfillable, not forgeable. + +var hasSymbolsKinda = require('has-symbols/shams'); +hasSymbolsKinda() === true; // if the environment has a Symbol sham that mostly follows the spec. +``` + +## Supported Symbol shams + - get-own-property-symbols [npm](https://www.npmjs.com/package/get-own-property-symbols) | [github](https://github.com/WebReflection/get-own-property-symbols) + - core-js [npm](https://www.npmjs.com/package/core-js) | [github](https://github.com/zloirock/core-js) + +## Tests +Simply clone the repo, `npm install`, and run `npm test` + +[1]: https://npmjs.org/package/has-symbols +[2]: https://versionbadg.es/inspect-js/has-symbols.svg +[5]: https://david-dm.org/inspect-js/has-symbols.svg +[6]: https://david-dm.org/inspect-js/has-symbols +[7]: https://david-dm.org/inspect-js/has-symbols/dev-status.svg +[8]: https://david-dm.org/inspect-js/has-symbols#info=devDependencies +[11]: https://nodei.co/npm/has-symbols.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/has-symbols.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/has-symbols.svg +[downloads-url]: https://npm-stat.com/charts.html?package=has-symbols +[codecov-image]: https://codecov.io/gh/inspect-js/has-symbols/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/inspect-js/has-symbols/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/has-symbols +[actions-url]: https://github.com/inspect-js/has-symbols/actions diff --git a/node_modules/has-symbols/index.d.ts b/node_modules/has-symbols/index.d.ts new file mode 100644 index 0000000..9b98595 --- /dev/null +++ b/node_modules/has-symbols/index.d.ts @@ -0,0 +1,3 @@ +declare function hasNativeSymbols(): boolean; + +export = hasNativeSymbols; \ No newline at end of file diff --git a/node_modules/has-symbols/index.js b/node_modules/has-symbols/index.js new file mode 100644 index 0000000..fa65265 --- /dev/null +++ b/node_modules/has-symbols/index.js @@ -0,0 +1,14 @@ +'use strict'; + +var origSymbol = typeof Symbol !== 'undefined' && Symbol; +var hasSymbolSham = require('./shams'); + +/** @type {import('.')} */ +module.exports = function hasNativeSymbols() { + if (typeof origSymbol !== 'function') { return false; } + if (typeof Symbol !== 'function') { return false; } + if (typeof origSymbol('foo') !== 'symbol') { return false; } + if (typeof Symbol('bar') !== 'symbol') { return false; } + + return hasSymbolSham(); +}; diff --git a/node_modules/has-symbols/package.json b/node_modules/has-symbols/package.json new file mode 100644 index 0000000..d835e20 --- /dev/null +++ b/node_modules/has-symbols/package.json @@ -0,0 +1,111 @@ +{ + "name": "has-symbols", + "version": "1.1.0", + "description": "Determine if the JS environment has Symbol support. Supports spec, or shams.", + "main": "index.js", + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "pretest": "npm run --silent lint", + "test": "npm run tests-only", + "posttest": "npx npm@'>=10.2' audit --production", + "tests-only": "npm run test:stock && npm run test:shams", + "test:stock": "nyc node test", + "test:staging": "nyc node --harmony --es-staging test", + "test:shams": "npm run --silent test:shams:getownpropertysymbols && npm run --silent test:shams:corejs", + "test:shams:corejs": "nyc node test/shams/core-js.js", + "test:shams:getownpropertysymbols": "nyc node test/shams/get-own-property-symbols.js", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc -p . && attw -P", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git://github.com/inspect-js/has-symbols.git" + }, + "keywords": [ + "Symbol", + "symbols", + "typeof", + "sham", + "polyfill", + "native", + "core-js", + "ES6" + ], + "author": { + "name": "Jordan Harband", + "email": "ljharb@gmail.com", + "url": "http://ljharb.codes" + }, + "contributors": [ + { + "name": "Jordan Harband", + "email": "ljharb@gmail.com", + "url": "http://ljharb.codes" + } + ], + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/has-symbols/issues" + }, + "homepage": "https://github.com/ljharb/has-symbols#readme", + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.0", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.0", + "@types/core-js": "^2.5.8", + "@types/tape": "^5.6.5", + "auto-changelog": "^2.5.0", + "core-js": "^2.6.12", + "encoding": "^0.1.13", + "eslint": "=8.8.0", + "get-own-property-symbols": "^0.9.5", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "testling": { + "files": "test/index.js", + "browsers": [ + "iexplore/6.0..latest", + "firefox/3.0..6.0", + "firefox/15.0..latest", + "firefox/nightly", + "chrome/4.0..10.0", + "chrome/20.0..latest", + "chrome/canary", + "opera/10.0..latest", + "opera/next", + "safari/4.0..latest", + "ipad/6.0..latest", + "iphone/6.0..latest", + "android-browser/4.2" + ] + }, + "engines": { + "node": ">= 0.4" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows", + "types" + ] + } +} diff --git a/node_modules/has-symbols/shams.d.ts b/node_modules/has-symbols/shams.d.ts new file mode 100644 index 0000000..8d0bf24 --- /dev/null +++ b/node_modules/has-symbols/shams.d.ts @@ -0,0 +1,3 @@ +declare function hasSymbolShams(): boolean; + +export = hasSymbolShams; \ No newline at end of file diff --git a/node_modules/has-symbols/shams.js b/node_modules/has-symbols/shams.js new file mode 100644 index 0000000..f97b474 --- /dev/null +++ b/node_modules/has-symbols/shams.js @@ -0,0 +1,45 @@ +'use strict'; + +/** @type {import('./shams')} */ +/* eslint complexity: [2, 18], max-statements: [2, 33] */ +module.exports = function hasSymbols() { + if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } + if (typeof Symbol.iterator === 'symbol') { return true; } + + /** @type {{ [k in symbol]?: unknown }} */ + var obj = {}; + var sym = Symbol('test'); + var symObj = Object(sym); + if (typeof sym === 'string') { return false; } + + if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } + if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } + + // temp disabled per https://github.com/ljharb/object.assign/issues/17 + // if (sym instanceof Symbol) { return false; } + // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 + // if (!(symObj instanceof Symbol)) { return false; } + + // if (typeof Symbol.prototype.toString !== 'function') { return false; } + // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; } + + var symVal = 42; + obj[sym] = symVal; + for (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop + if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } + + if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } + + var syms = Object.getOwnPropertySymbols(obj); + if (syms.length !== 1 || syms[0] !== sym) { return false; } + + if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } + + if (typeof Object.getOwnPropertyDescriptor === 'function') { + // eslint-disable-next-line no-extra-parens + var descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym)); + if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } + } + + return true; +}; diff --git a/node_modules/has-symbols/test/index.js b/node_modules/has-symbols/test/index.js new file mode 100644 index 0000000..352129c --- /dev/null +++ b/node_modules/has-symbols/test/index.js @@ -0,0 +1,22 @@ +'use strict'; + +var test = require('tape'); +var hasSymbols = require('../'); +var runSymbolTests = require('./tests'); + +test('interface', function (t) { + t.equal(typeof hasSymbols, 'function', 'is a function'); + t.equal(typeof hasSymbols(), 'boolean', 'returns a boolean'); + t.end(); +}); + +test('Symbols are supported', { skip: !hasSymbols() }, function (t) { + runSymbolTests(t); + t.end(); +}); + +test('Symbols are not supported', { skip: hasSymbols() }, function (t) { + t.equal(typeof Symbol, 'undefined', 'global Symbol is undefined'); + t.equal(typeof Object.getOwnPropertySymbols, 'undefined', 'Object.getOwnPropertySymbols does not exist'); + t.end(); +}); diff --git a/node_modules/has-symbols/test/shams/core-js.js b/node_modules/has-symbols/test/shams/core-js.js new file mode 100644 index 0000000..1a29024 --- /dev/null +++ b/node_modules/has-symbols/test/shams/core-js.js @@ -0,0 +1,29 @@ +'use strict'; + +var test = require('tape'); + +if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { + test('has native Symbol support', function (t) { + t.equal(typeof Symbol, 'function'); + t.equal(typeof Symbol(), 'symbol'); + t.end(); + }); + // @ts-expect-error TS is stupid and doesn't know about top level return + return; +} + +var hasSymbols = require('../../shams'); + +test('polyfilled Symbols', function (t) { + /* eslint-disable global-require */ + t.equal(hasSymbols(), false, 'hasSymbols is false before polyfilling'); + require('core-js/fn/symbol'); + require('core-js/fn/symbol/to-string-tag'); + + require('../tests')(t); + + var hasSymbolsAfter = hasSymbols(); + t.equal(hasSymbolsAfter, true, 'hasSymbols is true after polyfilling'); + /* eslint-enable global-require */ + t.end(); +}); diff --git a/node_modules/has-symbols/test/shams/get-own-property-symbols.js b/node_modules/has-symbols/test/shams/get-own-property-symbols.js new file mode 100644 index 0000000..e0296f8 --- /dev/null +++ b/node_modules/has-symbols/test/shams/get-own-property-symbols.js @@ -0,0 +1,29 @@ +'use strict'; + +var test = require('tape'); + +if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { + test('has native Symbol support', function (t) { + t.equal(typeof Symbol, 'function'); + t.equal(typeof Symbol(), 'symbol'); + t.end(); + }); + // @ts-expect-error TS is stupid and doesn't know about top level return + return; +} + +var hasSymbols = require('../../shams'); + +test('polyfilled Symbols', function (t) { + /* eslint-disable global-require */ + t.equal(hasSymbols(), false, 'hasSymbols is false before polyfilling'); + + require('get-own-property-symbols'); + + require('../tests')(t); + + var hasSymbolsAfter = hasSymbols(); + t.equal(hasSymbolsAfter, true, 'hasSymbols is true after polyfilling'); + /* eslint-enable global-require */ + t.end(); +}); diff --git a/node_modules/has-symbols/test/tests.js b/node_modules/has-symbols/test/tests.js new file mode 100644 index 0000000..66a2cb8 --- /dev/null +++ b/node_modules/has-symbols/test/tests.js @@ -0,0 +1,58 @@ +'use strict'; + +/** @type {(t: import('tape').Test) => false | void} */ +// eslint-disable-next-line consistent-return +module.exports = function runSymbolTests(t) { + t.equal(typeof Symbol, 'function', 'global Symbol is a function'); + + if (typeof Symbol !== 'function') { return false; } + + t.notEqual(Symbol(), Symbol(), 'two symbols are not equal'); + + /* + t.equal( + Symbol.prototype.toString.call(Symbol('foo')), + Symbol.prototype.toString.call(Symbol('foo')), + 'two symbols with the same description stringify the same' + ); + */ + + /* + var foo = Symbol('foo'); + + t.notEqual( + String(foo), + String(Symbol('bar')), + 'two symbols with different descriptions do not stringify the same' + ); + */ + + t.equal(typeof Symbol.prototype.toString, 'function', 'Symbol#toString is a function'); + // t.equal(String(foo), Symbol.prototype.toString.call(foo), 'Symbol#toString equals String of the same symbol'); + + t.equal(typeof Object.getOwnPropertySymbols, 'function', 'Object.getOwnPropertySymbols is a function'); + + /** @type {{ [k in symbol]?: unknown }} */ + var obj = {}; + var sym = Symbol('test'); + var symObj = Object(sym); + t.notEqual(typeof sym, 'string', 'Symbol is not a string'); + t.equal(Object.prototype.toString.call(sym), '[object Symbol]', 'symbol primitive Object#toStrings properly'); + t.equal(Object.prototype.toString.call(symObj), '[object Symbol]', 'symbol primitive Object#toStrings properly'); + + var symVal = 42; + obj[sym] = symVal; + // eslint-disable-next-line no-restricted-syntax, no-unused-vars + for (var _ in obj) { t.fail('symbol property key was found in for..in of object'); } + + t.deepEqual(Object.keys(obj), [], 'no enumerable own keys on symbol-valued object'); + t.deepEqual(Object.getOwnPropertyNames(obj), [], 'no own names on symbol-valued object'); + t.deepEqual(Object.getOwnPropertySymbols(obj), [sym], 'one own symbol on symbol-valued object'); + t.equal(Object.prototype.propertyIsEnumerable.call(obj, sym), true, 'symbol is enumerable'); + t.deepEqual(Object.getOwnPropertyDescriptor(obj, sym), { + configurable: true, + enumerable: true, + value: 42, + writable: true + }, 'property descriptor is correct'); +}; diff --git a/node_modules/has-symbols/tsconfig.json b/node_modules/has-symbols/tsconfig.json new file mode 100644 index 0000000..ba99af4 --- /dev/null +++ b/node_modules/has-symbols/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "@ljharb/tsconfig", + "compilerOptions": { + "target": "ES2021", + "maxNodeModuleJsDepth": 0, + }, + "exclude": [ + "coverage" + ] +} diff --git a/node_modules/hasown/.eslintrc b/node_modules/hasown/.eslintrc new file mode 100644 index 0000000..3b5d9e9 --- /dev/null +++ b/node_modules/hasown/.eslintrc @@ -0,0 +1,5 @@ +{ + "root": true, + + "extends": "@ljharb", +} diff --git a/node_modules/hasown/.github/FUNDING.yml b/node_modules/hasown/.github/FUNDING.yml new file mode 100644 index 0000000..d68c8b7 --- /dev/null +++ b/node_modules/hasown/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [ljharb] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: npm/hasown +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with a single custom sponsorship URL diff --git a/node_modules/hasown/.nycrc b/node_modules/hasown/.nycrc new file mode 100644 index 0000000..1826526 --- /dev/null +++ b/node_modules/hasown/.nycrc @@ -0,0 +1,13 @@ +{ + "all": true, + "check-coverage": false, + "reporter": ["text-summary", "text", "html", "json"], + "lines": 86, + "statements": 85.93, + "functions": 82.43, + "branches": 76.06, + "exclude": [ + "coverage", + "test" + ] +} diff --git a/node_modules/hasown/CHANGELOG.md b/node_modules/hasown/CHANGELOG.md new file mode 100644 index 0000000..2b0a980 --- /dev/null +++ b/node_modules/hasown/CHANGELOG.md @@ -0,0 +1,40 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v2.0.2](https://github.com/inspect-js/hasOwn/compare/v2.0.1...v2.0.2) - 2024-03-10 + +### Commits + +- [types] use shared config [`68e9d4d`](https://github.com/inspect-js/hasOwn/commit/68e9d4dab6facb4f05f02c6baea94a3f2a4e44b2) +- [actions] remove redundant finisher; use reusable workflow [`241a68e`](https://github.com/inspect-js/hasOwn/commit/241a68e13ea1fe52bec5ba7f74144befc31fae7b) +- [Tests] increase coverage [`4125c0d`](https://github.com/inspect-js/hasOwn/commit/4125c0d6121db56ae30e38346dfb0c000b04f0a7) +- [Tests] skip `npm ls` in old node due to TS [`01b9282`](https://github.com/inspect-js/hasOwn/commit/01b92822f9971dea031eafdd14767df41d61c202) +- [types] improve predicate type [`d340f85`](https://github.com/inspect-js/hasOwn/commit/d340f85ce02e286ef61096cbbb6697081d40a12b) +- [Dev Deps] update `tape` [`70089fc`](https://github.com/inspect-js/hasOwn/commit/70089fcf544e64acc024cbe60f5a9b00acad86de) +- [Tests] use `@arethetypeswrong/cli` [`50b272c`](https://github.com/inspect-js/hasOwn/commit/50b272c829f40d053a3dd91c9796e0ac0b2af084) + +## [v2.0.1](https://github.com/inspect-js/hasOwn/compare/v2.0.0...v2.0.1) - 2024-02-10 + +### Commits + +- [types] use a handwritten d.ts file; fix exported type [`012b989`](https://github.com/inspect-js/hasOwn/commit/012b9898ccf91dc441e2ebf594ff70270a5fda58) +- [Dev Deps] update `@types/function-bind`, `@types/mock-property`, `@types/tape`, `aud`, `mock-property`, `npmignore`, `tape`, `typescript` [`977a56f`](https://github.com/inspect-js/hasOwn/commit/977a56f51a1f8b20566f3c471612137894644025) +- [meta] add `sideEffects` flag [`3a60b7b`](https://github.com/inspect-js/hasOwn/commit/3a60b7bf42fccd8c605e5f145a6fcc83b13cb46f) + +## [v2.0.0](https://github.com/inspect-js/hasOwn/compare/v1.0.1...v2.0.0) - 2023-10-19 + +### Commits + +- revamped implementation, tests, readme [`72bf8b3`](https://github.com/inspect-js/hasOwn/commit/72bf8b338e77a638f0a290c63ffaed18339c36b4) +- [meta] revamp package.json [`079775f`](https://github.com/inspect-js/hasOwn/commit/079775fb1ec72c1c6334069593617a0be3847458) +- Only apps should have lockfiles [`6640e23`](https://github.com/inspect-js/hasOwn/commit/6640e233d1bb8b65260880f90787637db157d215) + +## v1.0.1 - 2023-10-10 + +### Commits + +- Initial commit [`8dbfde6`](https://github.com/inspect-js/hasOwn/commit/8dbfde6e8fb0ebb076fab38d138f2984eb340a62) diff --git a/node_modules/hasown/LICENSE b/node_modules/hasown/LICENSE new file mode 100644 index 0000000..0314929 --- /dev/null +++ b/node_modules/hasown/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) Jordan Harband and contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/hasown/README.md b/node_modules/hasown/README.md new file mode 100644 index 0000000..f759b8a --- /dev/null +++ b/node_modules/hasown/README.md @@ -0,0 +1,40 @@ +# hasown [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +A robust, ES3 compatible, "has own property" predicate. + +## Example + +```js +const assert = require('assert'); +const hasOwn = require('hasown'); + +assert.equal(hasOwn({}, 'toString'), false); +assert.equal(hasOwn([], 'length'), true); +assert.equal(hasOwn({ a: 42 }, 'a'), true); +``` + +## Tests +Simply clone the repo, `npm install`, and run `npm test` + +[package-url]: https://npmjs.org/package/hasown +[npm-version-svg]: https://versionbadg.es/inspect-js/hasown.svg +[deps-svg]: https://david-dm.org/inspect-js/hasOwn.svg +[deps-url]: https://david-dm.org/inspect-js/hasOwn +[dev-deps-svg]: https://david-dm.org/inspect-js/hasOwn/dev-status.svg +[dev-deps-url]: https://david-dm.org/inspect-js/hasOwn#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/hasown.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/hasown.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/hasown.svg +[downloads-url]: https://npm-stat.com/charts.html?package=hasown +[codecov-image]: https://codecov.io/gh/inspect-js/hasOwn/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/inspect-js/hasOwn/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/hasOwn +[actions-url]: https://github.com/inspect-js/hasOwn/actions diff --git a/node_modules/hasown/index.d.ts b/node_modules/hasown/index.d.ts new file mode 100644 index 0000000..aafdf3b --- /dev/null +++ b/node_modules/hasown/index.d.ts @@ -0,0 +1,3 @@ +declare function hasOwn(o: O, p: K): o is O & Record; + +export = hasOwn; diff --git a/node_modules/hasown/index.js b/node_modules/hasown/index.js new file mode 100644 index 0000000..34e6059 --- /dev/null +++ b/node_modules/hasown/index.js @@ -0,0 +1,8 @@ +'use strict'; + +var call = Function.prototype.call; +var $hasOwn = Object.prototype.hasOwnProperty; +var bind = require('function-bind'); + +/** @type {import('.')} */ +module.exports = bind.call(call, $hasOwn); diff --git a/node_modules/hasown/package.json b/node_modules/hasown/package.json new file mode 100644 index 0000000..8502e13 --- /dev/null +++ b/node_modules/hasown/package.json @@ -0,0 +1,92 @@ +{ + "name": "hasown", + "version": "2.0.2", + "description": "A robust, ES3 compatible, \"has own property\" predicate.", + "main": "index.js", + "exports": { + ".": "./index.js", + "./package.json": "./package.json" + }, + "types": "index.d.ts", + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "prelint": "evalmd README.md", + "lint": "eslint --ext=js,mjs .", + "postlint": "npm run tsc", + "pretest": "npm run lint", + "tsc": "tsc -p .", + "posttsc": "attw -P", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "aud --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/inspect-js/hasOwn.git" + }, + "keywords": [ + "has", + "hasOwnProperty", + "hasOwn", + "has-own", + "own", + "has", + "property", + "in", + "javascript", + "ecmascript" + ], + "author": "Jordan Harband ", + "license": "MIT", + "bugs": { + "url": "https://github.com/inspect-js/hasOwn/issues" + }, + "homepage": "https://github.com/inspect-js/hasOwn#readme", + "dependencies": { + "function-bind": "^1.1.2" + }, + "devDependencies": { + "@arethetypeswrong/cli": "^0.15.1", + "@ljharb/eslint-config": "^21.1.0", + "@ljharb/tsconfig": "^0.2.0", + "@types/function-bind": "^1.1.10", + "@types/mock-property": "^1.0.2", + "@types/tape": "^5.6.4", + "aud": "^2.0.4", + "auto-changelog": "^2.4.0", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "in-publish": "^2.0.1", + "mock-property": "^1.0.3", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.7.5", + "typescript": "next" + }, + "engines": { + "node": ">= 0.4" + }, + "testling": { + "files": "test/index.js" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows", + "test" + ] + } +} diff --git a/node_modules/hasown/tsconfig.json b/node_modules/hasown/tsconfig.json new file mode 100644 index 0000000..0930c56 --- /dev/null +++ b/node_modules/hasown/tsconfig.json @@ -0,0 +1,6 @@ +{ + "extends": "@ljharb/tsconfig", + "exclude": [ + "coverage", + ], +} diff --git a/node_modules/http-errors/HISTORY.md b/node_modules/http-errors/HISTORY.md new file mode 100644 index 0000000..3d81d26 --- /dev/null +++ b/node_modules/http-errors/HISTORY.md @@ -0,0 +1,186 @@ +2.0.1 / 2025-11-20 +================== + + * deps: use tilde notation for dependencies + * deps: update statuses to 2.0.2 + +2.0.0 / 2021-12-17 +================== + + * Drop support for Node.js 0.6 + * Remove `I'mateapot` export; use `ImATeapot` instead + * Remove support for status being non-first argument + * Rename `UnorderedCollection` constructor to `TooEarly` + * deps: depd@2.0.0 + - Replace internal `eval` usage with `Function` constructor + - Use instance methods on `process` to check for listeners + * deps: statuses@2.0.1 + - Fix messaging casing of `418 I'm a Teapot` + - Remove code 306 + - Rename `425 Unordered Collection` to standard `425 Too Early` + +2021-11-14 / 1.8.1 +================== + + * deps: toidentifier@1.0.1 + +2020-06-29 / 1.8.0 +================== + + * Add `isHttpError` export to determine if value is an HTTP error + * deps: setprototypeof@1.2.0 + +2019-06-24 / 1.7.3 +================== + + * deps: inherits@2.0.4 + +2019-02-18 / 1.7.2 +================== + + * deps: setprototypeof@1.1.1 + +2018-09-08 / 1.7.1 +================== + + * Fix error creating objects in some environments + +2018-07-30 / 1.7.0 +================== + + * Set constructor name when possible + * Use `toidentifier` module to make class names + * deps: statuses@'>= 1.5.0 < 2' + +2018-03-29 / 1.6.3 +================== + + * deps: depd@~1.1.2 + - perf: remove argument reassignment + * deps: setprototypeof@1.1.0 + * deps: statuses@'>= 1.4.0 < 2' + +2017-08-04 / 1.6.2 +================== + + * deps: depd@1.1.1 + - Remove unnecessary `Buffer` loading + +2017-02-20 / 1.6.1 +================== + + * deps: setprototypeof@1.0.3 + - Fix shim for old browsers + +2017-02-14 / 1.6.0 +================== + + * Accept custom 4xx and 5xx status codes in factory + * Add deprecation message to `"I'mateapot"` export + * Deprecate passing status code as anything except first argument in factory + * Deprecate using non-error status codes + * Make `message` property enumerable for `HttpError`s + +2016-11-16 / 1.5.1 +================== + + * deps: inherits@2.0.3 + - Fix issue loading in browser + * deps: setprototypeof@1.0.2 + * deps: statuses@'>= 1.3.1 < 2' + +2016-05-18 / 1.5.0 +================== + + * Support new code `421 Misdirected Request` + * Use `setprototypeof` module to replace `__proto__` setting + * deps: statuses@'>= 1.3.0 < 2' + - Add `421 Misdirected Request` + - perf: enable strict mode + * perf: enable strict mode + +2016-01-28 / 1.4.0 +================== + + * Add `HttpError` export, for `err instanceof createError.HttpError` + * deps: inherits@2.0.1 + * deps: statuses@'>= 1.2.1 < 2' + - Fix message for status 451 + - Remove incorrect nginx status code + +2015-02-02 / 1.3.1 +================== + + * Fix regression where status can be overwritten in `createError` `props` + +2015-02-01 / 1.3.0 +================== + + * Construct errors using defined constructors from `createError` + * Fix error names that are not identifiers + - `createError["I'mateapot"]` is now `createError.ImATeapot` + * Set a meaningful `name` property on constructed errors + +2014-12-09 / 1.2.8 +================== + + * Fix stack trace from exported function + * Remove `arguments.callee` usage + +2014-10-14 / 1.2.7 +================== + + * Remove duplicate line + +2014-10-02 / 1.2.6 +================== + + * Fix `expose` to be `true` for `ClientError` constructor + +2014-09-28 / 1.2.5 +================== + + * deps: statuses@1 + +2014-09-21 / 1.2.4 +================== + + * Fix dependency version to work with old `npm`s + +2014-09-21 / 1.2.3 +================== + + * deps: statuses@~1.1.0 + +2014-09-21 / 1.2.2 +================== + + * Fix publish error + +2014-09-21 / 1.2.1 +================== + + * Support Node.js 0.6 + * Use `inherits` instead of `util` + +2014-09-09 / 1.2.0 +================== + + * Fix the way inheriting functions + * Support `expose` being provided in properties argument + +2014-09-08 / 1.1.0 +================== + + * Default status to 500 + * Support provided `error` to extend + +2014-09-08 / 1.0.1 +================== + + * Fix accepting string message + +2014-09-08 / 1.0.0 +================== + + * Initial release diff --git a/node_modules/http-errors/LICENSE b/node_modules/http-errors/LICENSE new file mode 100644 index 0000000..82af4df --- /dev/null +++ b/node_modules/http-errors/LICENSE @@ -0,0 +1,23 @@ + +The MIT License (MIT) + +Copyright (c) 2014 Jonathan Ong me@jongleberry.com +Copyright (c) 2016 Douglas Christopher Wilson doug@somethingdoug.com + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_modules/http-errors/README.md b/node_modules/http-errors/README.md new file mode 100644 index 0000000..a8b7330 --- /dev/null +++ b/node_modules/http-errors/README.md @@ -0,0 +1,169 @@ +# http-errors + +[![NPM Version][npm-version-image]][npm-url] +[![NPM Downloads][npm-downloads-image]][node-url] +[![Node.js Version][node-image]][node-url] +[![Build Status][ci-image]][ci-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +Create HTTP errors for Express, Koa, Connect, etc. with ease. + +## Install + +This is a [Node.js](https://nodejs.org/en/) module available through the +[npm registry](https://www.npmjs.com/). Installation is done using the +[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): + +```console +$ npm install http-errors +``` + +## Example + +```js +var createError = require('http-errors') +var express = require('express') +var app = express() + +app.use(function (req, res, next) { + if (!req.user) return next(createError(401, 'Please login to view this page.')) + next() +}) +``` + +## API + +This is the current API, currently extracted from Koa and subject to change. + +### Error Properties + +- `expose` - can be used to signal if `message` should be sent to the client, + defaulting to `false` when `status` >= 500 +- `headers` - can be an object of header names to values to be sent to the + client, defaulting to `undefined`. When defined, the key names should all + be lower-cased +- `message` - the traditional error message, which should be kept short and all + single line +- `status` - the status code of the error, mirroring `statusCode` for general + compatibility +- `statusCode` - the status code of the error, defaulting to `500` + +### createError([status], [message], [properties]) + +Create a new error object with the given message `msg`. +The error object inherits from `createError.HttpError`. + +```js +var err = createError(404, 'This video does not exist!') +``` + +- `status: 500` - the status code as a number +- `message` - the message of the error, defaulting to node's text for that status code. +- `properties` - custom properties to attach to the object + +### createError([status], [error], [properties]) + +Extend the given `error` object with `createError.HttpError` +properties. This will not alter the inheritance of the given +`error` object, and the modified `error` object is the +return value. + + + +```js +fs.readFile('foo.txt', function (err, buf) { + if (err) { + if (err.code === 'ENOENT') { + var httpError = createError(404, err, { expose: false }) + } else { + var httpError = createError(500, err) + } + } +}) +``` + +- `status` - the status code as a number +- `error` - the error object to extend +- `properties` - custom properties to attach to the object + +### createError.isHttpError(val) + +Determine if the provided `val` is an `HttpError`. This will return `true` +if the error inherits from the `HttpError` constructor of this module or +matches the "duck type" for an error this module creates. All outputs from +the `createError` factory will return `true` for this function, including +if an non-`HttpError` was passed into the factory. + +### new createError\[code || name\](\[msg]\)) + +Create a new error object with the given message `msg`. +The error object inherits from `createError.HttpError`. + +```js +var err = new createError.NotFound() +``` + +- `code` - the status code as a number +- `name` - the name of the error as a "bumpy case", i.e. `NotFound` or `InternalServerError`. + +#### List of all constructors + +|Status Code|Constructor Name | +|-----------|-----------------------------| +|400 |BadRequest | +|401 |Unauthorized | +|402 |PaymentRequired | +|403 |Forbidden | +|404 |NotFound | +|405 |MethodNotAllowed | +|406 |NotAcceptable | +|407 |ProxyAuthenticationRequired | +|408 |RequestTimeout | +|409 |Conflict | +|410 |Gone | +|411 |LengthRequired | +|412 |PreconditionFailed | +|413 |PayloadTooLarge | +|414 |URITooLong | +|415 |UnsupportedMediaType | +|416 |RangeNotSatisfiable | +|417 |ExpectationFailed | +|418 |ImATeapot | +|421 |MisdirectedRequest | +|422 |UnprocessableEntity | +|423 |Locked | +|424 |FailedDependency | +|425 |TooEarly | +|426 |UpgradeRequired | +|428 |PreconditionRequired | +|429 |TooManyRequests | +|431 |RequestHeaderFieldsTooLarge | +|451 |UnavailableForLegalReasons | +|500 |InternalServerError | +|501 |NotImplemented | +|502 |BadGateway | +|503 |ServiceUnavailable | +|504 |GatewayTimeout | +|505 |HTTPVersionNotSupported | +|506 |VariantAlsoNegotiates | +|507 |InsufficientStorage | +|508 |LoopDetected | +|509 |BandwidthLimitExceeded | +|510 |NotExtended | +|511 |NetworkAuthenticationRequired| + +## License + +[MIT](LICENSE) + +[ci-image]: https://badgen.net/github/checks/jshttp/http-errors/master?label=ci +[ci-url]: https://github.com/jshttp/http-errors/actions?query=workflow%3Aci +[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/http-errors/master +[coveralls-url]: https://coveralls.io/r/jshttp/http-errors?branch=master +[node-image]: https://badgen.net/npm/node/http-errors +[node-url]: https://nodejs.org/en/download +[npm-downloads-image]: https://badgen.net/npm/dm/http-errors +[npm-url]: https://npmjs.org/package/http-errors +[npm-version-image]: https://badgen.net/npm/v/http-errors +[travis-image]: https://badgen.net/travis/jshttp/http-errors/master +[travis-url]: https://travis-ci.org/jshttp/http-errors diff --git a/node_modules/http-errors/index.js b/node_modules/http-errors/index.js new file mode 100644 index 0000000..82271f6 --- /dev/null +++ b/node_modules/http-errors/index.js @@ -0,0 +1,290 @@ +/*! + * http-errors + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2016 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + * @private + */ + +var deprecate = require('depd')('http-errors') +var setPrototypeOf = require('setprototypeof') +var statuses = require('statuses') +var inherits = require('inherits') +var toIdentifier = require('toidentifier') + +/** + * Module exports. + * @public + */ + +module.exports = createError +module.exports.HttpError = createHttpErrorConstructor() +module.exports.isHttpError = createIsHttpErrorFunction(module.exports.HttpError) + +// Populate exports for all constructors +populateConstructorExports(module.exports, statuses.codes, module.exports.HttpError) + +/** + * Get the code class of a status code. + * @private + */ + +function codeClass (status) { + return Number(String(status).charAt(0) + '00') +} + +/** + * Create a new HTTP Error. + * + * @returns {Error} + * @public + */ + +function createError () { + // so much arity going on ~_~ + var err + var msg + var status = 500 + var props = {} + for (var i = 0; i < arguments.length; i++) { + var arg = arguments[i] + var type = typeof arg + if (type === 'object' && arg instanceof Error) { + err = arg + status = err.status || err.statusCode || status + } else if (type === 'number' && i === 0) { + status = arg + } else if (type === 'string') { + msg = arg + } else if (type === 'object') { + props = arg + } else { + throw new TypeError('argument #' + (i + 1) + ' unsupported type ' + type) + } + } + + if (typeof status === 'number' && (status < 400 || status >= 600)) { + deprecate('non-error status code; use only 4xx or 5xx status codes') + } + + if (typeof status !== 'number' || + (!statuses.message[status] && (status < 400 || status >= 600))) { + status = 500 + } + + // constructor + var HttpError = createError[status] || createError[codeClass(status)] + + if (!err) { + // create error + err = HttpError + ? new HttpError(msg) + : new Error(msg || statuses.message[status]) + Error.captureStackTrace(err, createError) + } + + if (!HttpError || !(err instanceof HttpError) || err.status !== status) { + // add properties to generic error + err.expose = status < 500 + err.status = err.statusCode = status + } + + for (var key in props) { + if (key !== 'status' && key !== 'statusCode') { + err[key] = props[key] + } + } + + return err +} + +/** + * Create HTTP error abstract base class. + * @private + */ + +function createHttpErrorConstructor () { + function HttpError () { + throw new TypeError('cannot construct abstract class') + } + + inherits(HttpError, Error) + + return HttpError +} + +/** + * Create a constructor for a client error. + * @private + */ + +function createClientErrorConstructor (HttpError, name, code) { + var className = toClassName(name) + + function ClientError (message) { + // create the error object + var msg = message != null ? message : statuses.message[code] + var err = new Error(msg) + + // capture a stack trace to the construction point + Error.captureStackTrace(err, ClientError) + + // adjust the [[Prototype]] + setPrototypeOf(err, ClientError.prototype) + + // redefine the error message + Object.defineProperty(err, 'message', { + enumerable: true, + configurable: true, + value: msg, + writable: true + }) + + // redefine the error name + Object.defineProperty(err, 'name', { + enumerable: false, + configurable: true, + value: className, + writable: true + }) + + return err + } + + inherits(ClientError, HttpError) + nameFunc(ClientError, className) + + ClientError.prototype.status = code + ClientError.prototype.statusCode = code + ClientError.prototype.expose = true + + return ClientError +} + +/** + * Create function to test is a value is a HttpError. + * @private + */ + +function createIsHttpErrorFunction (HttpError) { + return function isHttpError (val) { + if (!val || typeof val !== 'object') { + return false + } + + if (val instanceof HttpError) { + return true + } + + return val instanceof Error && + typeof val.expose === 'boolean' && + typeof val.statusCode === 'number' && val.status === val.statusCode + } +} + +/** + * Create a constructor for a server error. + * @private + */ + +function createServerErrorConstructor (HttpError, name, code) { + var className = toClassName(name) + + function ServerError (message) { + // create the error object + var msg = message != null ? message : statuses.message[code] + var err = new Error(msg) + + // capture a stack trace to the construction point + Error.captureStackTrace(err, ServerError) + + // adjust the [[Prototype]] + setPrototypeOf(err, ServerError.prototype) + + // redefine the error message + Object.defineProperty(err, 'message', { + enumerable: true, + configurable: true, + value: msg, + writable: true + }) + + // redefine the error name + Object.defineProperty(err, 'name', { + enumerable: false, + configurable: true, + value: className, + writable: true + }) + + return err + } + + inherits(ServerError, HttpError) + nameFunc(ServerError, className) + + ServerError.prototype.status = code + ServerError.prototype.statusCode = code + ServerError.prototype.expose = false + + return ServerError +} + +/** + * Set the name of a function, if possible. + * @private + */ + +function nameFunc (func, name) { + var desc = Object.getOwnPropertyDescriptor(func, 'name') + + if (desc && desc.configurable) { + desc.value = name + Object.defineProperty(func, 'name', desc) + } +} + +/** + * Populate the exports object with constructors for every error class. + * @private + */ + +function populateConstructorExports (exports, codes, HttpError) { + codes.forEach(function forEachCode (code) { + var CodeError + var name = toIdentifier(statuses.message[code]) + + switch (codeClass(code)) { + case 400: + CodeError = createClientErrorConstructor(HttpError, name, code) + break + case 500: + CodeError = createServerErrorConstructor(HttpError, name, code) + break + } + + if (CodeError) { + // export the constructor + exports[code] = CodeError + exports[name] = CodeError + } + }) +} + +/** + * Get a class name from a name identifier. + * + * @param {string} name + * @returns {string} + * @private + */ + +function toClassName (name) { + return name.slice(-5) === 'Error' ? name : name + 'Error' +} diff --git a/node_modules/http-errors/package.json b/node_modules/http-errors/package.json new file mode 100644 index 0000000..4b46d62 --- /dev/null +++ b/node_modules/http-errors/package.json @@ -0,0 +1,54 @@ +{ + "name": "http-errors", + "description": "Create HTTP error objects", + "version": "2.0.1", + "author": "Jonathan Ong (http://jongleberry.com)", + "contributors": [ + "Alan Plum ", + "Douglas Christopher Wilson " + ], + "license": "MIT", + "repository": "jshttp/http-errors", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + }, + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + }, + "devDependencies": { + "eslint": "7.32.0", + "eslint-config-standard": "14.1.1", + "eslint-plugin-import": "2.32.0", + "eslint-plugin-markdown": "2.2.1", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-promise": "5.2.0", + "eslint-plugin-standard": "4.1.0", + "mocha": "9.1.3", + "nyc": "15.1.0" + }, + "engines": { + "node": ">= 0.8" + }, + "scripts": { + "lint": "eslint . && node ./scripts/lint-readme-list.js", + "test": "mocha --reporter spec", + "test-ci": "nyc --reporter=lcov --reporter=text npm test", + "test-cov": "nyc --reporter=html --reporter=text npm test", + "version": "node scripts/version-history.js && git add HISTORY.md" + }, + "keywords": [ + "http", + "error" + ], + "files": [ + "index.js", + "HISTORY.md", + "LICENSE", + "README.md" + ] +} diff --git a/node_modules/iconv-lite/Changelog.md b/node_modules/iconv-lite/Changelog.md new file mode 100644 index 0000000..f252313 --- /dev/null +++ b/node_modules/iconv-lite/Changelog.md @@ -0,0 +1,162 @@ +# 0.4.24 / 2018-08-22 + + * Added MIK encoding (#196, by @Ivan-Kalatchev) + + +# 0.4.23 / 2018-05-07 + + * Fix deprecation warning in Node v10 due to the last usage of `new Buffer` (#185, by @felixbuenemann) + * Switched from NodeBuffer to Buffer in typings (#155 by @felixfbecker, #186 by @larssn) + + +# 0.4.22 / 2018-05-05 + + * Use older semver style for dependencies to be compatible with Node version 0.10 (#182, by @dougwilson) + * Fix tests to accomodate fixes in Node v10 (#182, by @dougwilson) + + +# 0.4.21 / 2018-04-06 + + * Fix encoding canonicalization (#156) + * Fix the paths in the "browser" field in package.json (#174 by @LMLB) + * Removed "contributors" section in package.json - see Git history instead. + + +# 0.4.20 / 2018-04-06 + + * Updated `new Buffer()` usages with recommended replacements as it's being deprecated in Node v10 (#176, #178 by @ChALkeR) + + +# 0.4.19 / 2017-09-09 + + * Fixed iso8859-1 codec regression in handling untranslatable characters (#162, caused by #147) + * Re-generated windows1255 codec, because it was updated in iconv project + * Fixed grammar in error message when iconv-lite is loaded with encoding other than utf8 + + +# 0.4.18 / 2017-06-13 + + * Fixed CESU-8 regression in Node v8. + + +# 0.4.17 / 2017-04-22 + + * Updated typescript definition file to support Angular 2 AoT mode (#153 by @larssn) + + +# 0.4.16 / 2017-04-22 + + * Added support for React Native (#150) + * Changed iso8859-1 encoding to usine internal 'binary' encoding, as it's the same thing (#147 by @mscdex) + * Fixed typo in Readme (#138 by @jiangzhuo) + * Fixed build for Node v6.10+ by making correct version comparison + * Added a warning if iconv-lite is loaded not as utf-8 (see #142) + + +# 0.4.15 / 2016-11-21 + + * Fixed typescript type definition (#137) + + +# 0.4.14 / 2016-11-20 + + * Preparation for v1.0 + * Added Node v6 and latest Node versions to Travis CI test rig + * Deprecated Node v0.8 support + * Typescript typings (@larssn) + * Fix encoding of Euro character in GB 18030 (inspired by @lygstate) + * Add ms prefix to dbcs windows encodings (@rokoroku) + + +# 0.4.13 / 2015-10-01 + + * Fix silly mistake in deprecation notice. + + +# 0.4.12 / 2015-09-26 + + * Node v4 support: + * Added CESU-8 decoding (#106) + * Added deprecation notice for `extendNodeEncodings` + * Added Travis tests for Node v4 and io.js latest (#105 by @Mithgol) + + +# 0.4.11 / 2015-07-03 + + * Added CESU-8 encoding. + + +# 0.4.10 / 2015-05-26 + + * Changed UTF-16 endianness heuristic to take into account any ASCII chars, not + just spaces. This should minimize the importance of "default" endianness. + + +# 0.4.9 / 2015-05-24 + + * Streamlined BOM handling: strip BOM by default, add BOM when encoding if + addBOM: true. Added docs to Readme. + * UTF16 now uses UTF16-LE by default. + * Fixed minor issue with big5 encoding. + * Added io.js testing on Travis; updated node-iconv version to test against. + Now we just skip testing SBCS encodings that node-iconv doesn't support. + * (internal refactoring) Updated codec interface to use classes. + * Use strict mode in all files. + + +# 0.4.8 / 2015-04-14 + + * added alias UNICODE-1-1-UTF-7 for UTF-7 encoding (#94) + + +# 0.4.7 / 2015-02-05 + + * stop official support of Node.js v0.8. Should still work, but no guarantees. + reason: Packages needed for testing are hard to get on Travis CI. + * work in environment where Object.prototype is monkey patched with enumerable + props (#89). + + +# 0.4.6 / 2015-01-12 + + * fix rare aliases of single-byte encodings (thanks @mscdex) + * double the timeout for dbcs tests to make them less flaky on travis + + +# 0.4.5 / 2014-11-20 + + * fix windows-31j and x-sjis encoding support (@nleush) + * minor fix: undefined variable reference when internal error happens + + +# 0.4.4 / 2014-07-16 + + * added encodings UTF-7 (RFC2152) and UTF-7-IMAP (RFC3501 Section 5.1.3) + * fixed streaming base64 encoding + + +# 0.4.3 / 2014-06-14 + + * added encodings UTF-16BE and UTF-16 with BOM + + +# 0.4.2 / 2014-06-12 + + * don't throw exception if `extendNodeEncodings()` is called more than once + + +# 0.4.1 / 2014-06-11 + + * codepage 808 added + + +# 0.4.0 / 2014-06-10 + + * code is rewritten from scratch + * all widespread encodings are supported + * streaming interface added + * browserify compatibility added + * (optional) extend core primitive encodings to make usage even simpler + * moved from vows to mocha as the testing framework + + diff --git a/node_modules/iconv-lite/LICENSE b/node_modules/iconv-lite/LICENSE new file mode 100644 index 0000000..d518d83 --- /dev/null +++ b/node_modules/iconv-lite/LICENSE @@ -0,0 +1,21 @@ +Copyright (c) 2011 Alexander Shtuchkin + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/node_modules/iconv-lite/README.md b/node_modules/iconv-lite/README.md new file mode 100644 index 0000000..c981c37 --- /dev/null +++ b/node_modules/iconv-lite/README.md @@ -0,0 +1,156 @@ +## Pure JS character encoding conversion [![Build Status](https://travis-ci.org/ashtuchkin/iconv-lite.svg?branch=master)](https://travis-ci.org/ashtuchkin/iconv-lite) + + * Doesn't need native code compilation. Works on Windows and in sandboxed environments like [Cloud9](http://c9.io). + * Used in popular projects like [Express.js (body_parser)](https://github.com/expressjs/body-parser), + [Grunt](http://gruntjs.com/), [Nodemailer](http://www.nodemailer.com/), [Yeoman](http://yeoman.io/) and others. + * Faster than [node-iconv](https://github.com/bnoordhuis/node-iconv) (see below for performance comparison). + * Intuitive encode/decode API + * Streaming support for Node v0.10+ + * [Deprecated] Can extend Node.js primitives (buffers, streams) to support all iconv-lite encodings. + * In-browser usage via [Browserify](https://github.com/substack/node-browserify) (~180k gzip compressed with Buffer shim included). + * Typescript [type definition file](https://github.com/ashtuchkin/iconv-lite/blob/master/lib/index.d.ts) included. + * React Native is supported (need to explicitly `npm install` two more modules: `buffer` and `stream`). + * License: MIT. + +[![NPM Stats](https://nodei.co/npm/iconv-lite.png?downloads=true&downloadRank=true)](https://npmjs.org/packages/iconv-lite/) + +## Usage +### Basic API +```javascript +var iconv = require('iconv-lite'); + +// Convert from an encoded buffer to js string. +str = iconv.decode(Buffer.from([0x68, 0x65, 0x6c, 0x6c, 0x6f]), 'win1251'); + +// Convert from js string to an encoded buffer. +buf = iconv.encode("Sample input string", 'win1251'); + +// Check if encoding is supported +iconv.encodingExists("us-ascii") +``` + +### Streaming API (Node v0.10+) +```javascript + +// Decode stream (from binary stream to js strings) +http.createServer(function(req, res) { + var converterStream = iconv.decodeStream('win1251'); + req.pipe(converterStream); + + converterStream.on('data', function(str) { + console.log(str); // Do something with decoded strings, chunk-by-chunk. + }); +}); + +// Convert encoding streaming example +fs.createReadStream('file-in-win1251.txt') + .pipe(iconv.decodeStream('win1251')) + .pipe(iconv.encodeStream('ucs2')) + .pipe(fs.createWriteStream('file-in-ucs2.txt')); + +// Sugar: all encode/decode streams have .collect(cb) method to accumulate data. +http.createServer(function(req, res) { + req.pipe(iconv.decodeStream('win1251')).collect(function(err, body) { + assert(typeof body == 'string'); + console.log(body); // full request body string + }); +}); +``` + +### [Deprecated] Extend Node.js own encodings +> NOTE: This doesn't work on latest Node versions. See [details](https://github.com/ashtuchkin/iconv-lite/wiki/Node-v4-compatibility). + +```javascript +// After this call all Node basic primitives will understand iconv-lite encodings. +iconv.extendNodeEncodings(); + +// Examples: +buf = new Buffer(str, 'win1251'); +buf.write(str, 'gbk'); +str = buf.toString('latin1'); +assert(Buffer.isEncoding('iso-8859-15')); +Buffer.byteLength(str, 'us-ascii'); + +http.createServer(function(req, res) { + req.setEncoding('big5'); + req.collect(function(err, body) { + console.log(body); + }); +}); + +fs.createReadStream("file.txt", "shift_jis"); + +// External modules are also supported (if they use Node primitives, which they probably do). +request = require('request'); +request({ + url: "http://github.com/", + encoding: "cp932" +}); + +// To remove extensions +iconv.undoExtendNodeEncodings(); +``` + +## Supported encodings + + * All node.js native encodings: utf8, ucs2 / utf16-le, ascii, binary, base64, hex. + * Additional unicode encodings: utf16, utf16-be, utf-7, utf-7-imap. + * All widespread singlebyte encodings: Windows 125x family, ISO-8859 family, + IBM/DOS codepages, Macintosh family, KOI8 family, all others supported by iconv library. + Aliases like 'latin1', 'us-ascii' also supported. + * All widespread multibyte encodings: CP932, CP936, CP949, CP950, GB2312, GBK, GB18030, Big5, Shift_JIS, EUC-JP. + +See [all supported encodings on wiki](https://github.com/ashtuchkin/iconv-lite/wiki/Supported-Encodings). + +Most singlebyte encodings are generated automatically from [node-iconv](https://github.com/bnoordhuis/node-iconv). Thank you Ben Noordhuis and libiconv authors! + +Multibyte encodings are generated from [Unicode.org mappings](http://www.unicode.org/Public/MAPPINGS/) and [WHATWG Encoding Standard mappings](http://encoding.spec.whatwg.org/). Thank you, respective authors! + + +## Encoding/decoding speed + +Comparison with node-iconv module (1000x256kb, on MacBook Pro, Core i5/2.6 GHz, Node v0.12.0). +Note: your results may vary, so please always check on your hardware. + + operation iconv@2.1.4 iconv-lite@0.4.7 + ---------------------------------------------------------- + encode('win1251') ~96 Mb/s ~320 Mb/s + decode('win1251') ~95 Mb/s ~246 Mb/s + +## BOM handling + + * Decoding: BOM is stripped by default, unless overridden by passing `stripBOM: false` in options + (f.ex. `iconv.decode(buf, enc, {stripBOM: false})`). + A callback might also be given as a `stripBOM` parameter - it'll be called if BOM character was actually found. + * If you want to detect UTF-8 BOM when decoding other encodings, use [node-autodetect-decoder-stream](https://github.com/danielgindi/node-autodetect-decoder-stream) module. + * Encoding: No BOM added, unless overridden by `addBOM: true` option. + +## UTF-16 Encodings + +This library supports UTF-16LE, UTF-16BE and UTF-16 encodings. First two are straightforward, but UTF-16 is trying to be +smart about endianness in the following ways: + * Decoding: uses BOM and 'spaces heuristic' to determine input endianness. Default is UTF-16LE, but can be + overridden with `defaultEncoding: 'utf-16be'` option. Strips BOM unless `stripBOM: false`. + * Encoding: uses UTF-16LE and writes BOM by default. Use `addBOM: false` to override. + +## Other notes + +When decoding, be sure to supply a Buffer to decode() method, otherwise [bad things usually happen](https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding). +Untranslatable characters are set to � or ?. No transliteration is currently supported. +Node versions 0.10.31 and 0.11.13 are buggy, don't use them (see #65, #77). + +## Testing + +```bash +$ git clone git@github.com:ashtuchkin/iconv-lite.git +$ cd iconv-lite +$ npm install +$ npm test + +$ # To view performance: +$ node test/performance.js + +$ # To view test coverage: +$ npm run coverage +$ open coverage/lcov-report/index.html +``` diff --git a/node_modules/iconv-lite/encodings/dbcs-codec.js b/node_modules/iconv-lite/encodings/dbcs-codec.js new file mode 100644 index 0000000..1fe3e16 --- /dev/null +++ b/node_modules/iconv-lite/encodings/dbcs-codec.js @@ -0,0 +1,555 @@ +"use strict"; +var Buffer = require("safer-buffer").Buffer; + +// Multibyte codec. In this scheme, a character is represented by 1 or more bytes. +// Our codec supports UTF-16 surrogates, extensions for GB18030 and unicode sequences. +// To save memory and loading time, we read table files only when requested. + +exports._dbcs = DBCSCodec; + +var UNASSIGNED = -1, + GB18030_CODE = -2, + SEQ_START = -10, + NODE_START = -1000, + UNASSIGNED_NODE = new Array(0x100), + DEF_CHAR = -1; + +for (var i = 0; i < 0x100; i++) + UNASSIGNED_NODE[i] = UNASSIGNED; + + +// Class DBCSCodec reads and initializes mapping tables. +function DBCSCodec(codecOptions, iconv) { + this.encodingName = codecOptions.encodingName; + if (!codecOptions) + throw new Error("DBCS codec is called without the data.") + if (!codecOptions.table) + throw new Error("Encoding '" + this.encodingName + "' has no data."); + + // Load tables. + var mappingTable = codecOptions.table(); + + + // Decode tables: MBCS -> Unicode. + + // decodeTables is a trie, encoded as an array of arrays of integers. Internal arrays are trie nodes and all have len = 256. + // Trie root is decodeTables[0]. + // Values: >= 0 -> unicode character code. can be > 0xFFFF + // == UNASSIGNED -> unknown/unassigned sequence. + // == GB18030_CODE -> this is the end of a GB18030 4-byte sequence. + // <= NODE_START -> index of the next node in our trie to process next byte. + // <= SEQ_START -> index of the start of a character code sequence, in decodeTableSeq. + this.decodeTables = []; + this.decodeTables[0] = UNASSIGNED_NODE.slice(0); // Create root node. + + // Sometimes a MBCS char corresponds to a sequence of unicode chars. We store them as arrays of integers here. + this.decodeTableSeq = []; + + // Actual mapping tables consist of chunks. Use them to fill up decode tables. + for (var i = 0; i < mappingTable.length; i++) + this._addDecodeChunk(mappingTable[i]); + + this.defaultCharUnicode = iconv.defaultCharUnicode; + + + // Encode tables: Unicode -> DBCS. + + // `encodeTable` is array mapping from unicode char to encoded char. All its values are integers for performance. + // Because it can be sparse, it is represented as array of buckets by 256 chars each. Bucket can be null. + // Values: >= 0 -> it is a normal char. Write the value (if <=256 then 1 byte, if <=65536 then 2 bytes, etc.). + // == UNASSIGNED -> no conversion found. Output a default char. + // <= SEQ_START -> it's an index in encodeTableSeq, see below. The character starts a sequence. + this.encodeTable = []; + + // `encodeTableSeq` is used when a sequence of unicode characters is encoded as a single code. We use a tree of + // objects where keys correspond to characters in sequence and leafs are the encoded dbcs values. A special DEF_CHAR key + // means end of sequence (needed when one sequence is a strict subsequence of another). + // Objects are kept separately from encodeTable to increase performance. + this.encodeTableSeq = []; + + // Some chars can be decoded, but need not be encoded. + var skipEncodeChars = {}; + if (codecOptions.encodeSkipVals) + for (var i = 0; i < codecOptions.encodeSkipVals.length; i++) { + var val = codecOptions.encodeSkipVals[i]; + if (typeof val === 'number') + skipEncodeChars[val] = true; + else + for (var j = val.from; j <= val.to; j++) + skipEncodeChars[j] = true; + } + + // Use decode trie to recursively fill out encode tables. + this._fillEncodeTable(0, 0, skipEncodeChars); + + // Add more encoding pairs when needed. + if (codecOptions.encodeAdd) { + for (var uChar in codecOptions.encodeAdd) + if (Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd, uChar)) + this._setEncodeChar(uChar.charCodeAt(0), codecOptions.encodeAdd[uChar]); + } + + this.defCharSB = this.encodeTable[0][iconv.defaultCharSingleByte.charCodeAt(0)]; + if (this.defCharSB === UNASSIGNED) this.defCharSB = this.encodeTable[0]['?']; + if (this.defCharSB === UNASSIGNED) this.defCharSB = "?".charCodeAt(0); + + + // Load & create GB18030 tables when needed. + if (typeof codecOptions.gb18030 === 'function') { + this.gb18030 = codecOptions.gb18030(); // Load GB18030 ranges. + + // Add GB18030 decode tables. + var thirdByteNodeIdx = this.decodeTables.length; + var thirdByteNode = this.decodeTables[thirdByteNodeIdx] = UNASSIGNED_NODE.slice(0); + + var fourthByteNodeIdx = this.decodeTables.length; + var fourthByteNode = this.decodeTables[fourthByteNodeIdx] = UNASSIGNED_NODE.slice(0); + + for (var i = 0x81; i <= 0xFE; i++) { + var secondByteNodeIdx = NODE_START - this.decodeTables[0][i]; + var secondByteNode = this.decodeTables[secondByteNodeIdx]; + for (var j = 0x30; j <= 0x39; j++) + secondByteNode[j] = NODE_START - thirdByteNodeIdx; + } + for (var i = 0x81; i <= 0xFE; i++) + thirdByteNode[i] = NODE_START - fourthByteNodeIdx; + for (var i = 0x30; i <= 0x39; i++) + fourthByteNode[i] = GB18030_CODE + } +} + +DBCSCodec.prototype.encoder = DBCSEncoder; +DBCSCodec.prototype.decoder = DBCSDecoder; + +// Decoder helpers +DBCSCodec.prototype._getDecodeTrieNode = function(addr) { + var bytes = []; + for (; addr > 0; addr >>= 8) + bytes.push(addr & 0xFF); + if (bytes.length == 0) + bytes.push(0); + + var node = this.decodeTables[0]; + for (var i = bytes.length-1; i > 0; i--) { // Traverse nodes deeper into the trie. + var val = node[bytes[i]]; + + if (val == UNASSIGNED) { // Create new node. + node[bytes[i]] = NODE_START - this.decodeTables.length; + this.decodeTables.push(node = UNASSIGNED_NODE.slice(0)); + } + else if (val <= NODE_START) { // Existing node. + node = this.decodeTables[NODE_START - val]; + } + else + throw new Error("Overwrite byte in " + this.encodingName + ", addr: " + addr.toString(16)); + } + return node; +} + + +DBCSCodec.prototype._addDecodeChunk = function(chunk) { + // First element of chunk is the hex mbcs code where we start. + var curAddr = parseInt(chunk[0], 16); + + // Choose the decoding node where we'll write our chars. + var writeTable = this._getDecodeTrieNode(curAddr); + curAddr = curAddr & 0xFF; + + // Write all other elements of the chunk to the table. + for (var k = 1; k < chunk.length; k++) { + var part = chunk[k]; + if (typeof part === "string") { // String, write as-is. + for (var l = 0; l < part.length;) { + var code = part.charCodeAt(l++); + if (0xD800 <= code && code < 0xDC00) { // Decode surrogate + var codeTrail = part.charCodeAt(l++); + if (0xDC00 <= codeTrail && codeTrail < 0xE000) + writeTable[curAddr++] = 0x10000 + (code - 0xD800) * 0x400 + (codeTrail - 0xDC00); + else + throw new Error("Incorrect surrogate pair in " + this.encodingName + " at chunk " + chunk[0]); + } + else if (0x0FF0 < code && code <= 0x0FFF) { // Character sequence (our own encoding used) + var len = 0xFFF - code + 2; + var seq = []; + for (var m = 0; m < len; m++) + seq.push(part.charCodeAt(l++)); // Simple variation: don't support surrogates or subsequences in seq. + + writeTable[curAddr++] = SEQ_START - this.decodeTableSeq.length; + this.decodeTableSeq.push(seq); + } + else + writeTable[curAddr++] = code; // Basic char + } + } + else if (typeof part === "number") { // Integer, meaning increasing sequence starting with prev character. + var charCode = writeTable[curAddr - 1] + 1; + for (var l = 0; l < part; l++) + writeTable[curAddr++] = charCode++; + } + else + throw new Error("Incorrect type '" + typeof part + "' given in " + this.encodingName + " at chunk " + chunk[0]); + } + if (curAddr > 0xFF) + throw new Error("Incorrect chunk in " + this.encodingName + " at addr " + chunk[0] + ": too long" + curAddr); +} + +// Encoder helpers +DBCSCodec.prototype._getEncodeBucket = function(uCode) { + var high = uCode >> 8; // This could be > 0xFF because of astral characters. + if (this.encodeTable[high] === undefined) + this.encodeTable[high] = UNASSIGNED_NODE.slice(0); // Create bucket on demand. + return this.encodeTable[high]; +} + +DBCSCodec.prototype._setEncodeChar = function(uCode, dbcsCode) { + var bucket = this._getEncodeBucket(uCode); + var low = uCode & 0xFF; + if (bucket[low] <= SEQ_START) + this.encodeTableSeq[SEQ_START-bucket[low]][DEF_CHAR] = dbcsCode; // There's already a sequence, set a single-char subsequence of it. + else if (bucket[low] == UNASSIGNED) + bucket[low] = dbcsCode; +} + +DBCSCodec.prototype._setEncodeSequence = function(seq, dbcsCode) { + + // Get the root of character tree according to first character of the sequence. + var uCode = seq[0]; + var bucket = this._getEncodeBucket(uCode); + var low = uCode & 0xFF; + + var node; + if (bucket[low] <= SEQ_START) { + // There's already a sequence with - use it. + node = this.encodeTableSeq[SEQ_START-bucket[low]]; + } + else { + // There was no sequence object - allocate a new one. + node = {}; + if (bucket[low] !== UNASSIGNED) node[DEF_CHAR] = bucket[low]; // If a char was set before - make it a single-char subsequence. + bucket[low] = SEQ_START - this.encodeTableSeq.length; + this.encodeTableSeq.push(node); + } + + // Traverse the character tree, allocating new nodes as needed. + for (var j = 1; j < seq.length-1; j++) { + var oldVal = node[uCode]; + if (typeof oldVal === 'object') + node = oldVal; + else { + node = node[uCode] = {} + if (oldVal !== undefined) + node[DEF_CHAR] = oldVal + } + } + + // Set the leaf to given dbcsCode. + uCode = seq[seq.length-1]; + node[uCode] = dbcsCode; +} + +DBCSCodec.prototype._fillEncodeTable = function(nodeIdx, prefix, skipEncodeChars) { + var node = this.decodeTables[nodeIdx]; + for (var i = 0; i < 0x100; i++) { + var uCode = node[i]; + var mbCode = prefix + i; + if (skipEncodeChars[mbCode]) + continue; + + if (uCode >= 0) + this._setEncodeChar(uCode, mbCode); + else if (uCode <= NODE_START) + this._fillEncodeTable(NODE_START - uCode, mbCode << 8, skipEncodeChars); + else if (uCode <= SEQ_START) + this._setEncodeSequence(this.decodeTableSeq[SEQ_START - uCode], mbCode); + } +} + + + +// == Encoder ================================================================== + +function DBCSEncoder(options, codec) { + // Encoder state + this.leadSurrogate = -1; + this.seqObj = undefined; + + // Static data + this.encodeTable = codec.encodeTable; + this.encodeTableSeq = codec.encodeTableSeq; + this.defaultCharSingleByte = codec.defCharSB; + this.gb18030 = codec.gb18030; +} + +DBCSEncoder.prototype.write = function(str) { + var newBuf = Buffer.alloc(str.length * (this.gb18030 ? 4 : 3)), + leadSurrogate = this.leadSurrogate, + seqObj = this.seqObj, nextChar = -1, + i = 0, j = 0; + + while (true) { + // 0. Get next character. + if (nextChar === -1) { + if (i == str.length) break; + var uCode = str.charCodeAt(i++); + } + else { + var uCode = nextChar; + nextChar = -1; + } + + // 1. Handle surrogates. + if (0xD800 <= uCode && uCode < 0xE000) { // Char is one of surrogates. + if (uCode < 0xDC00) { // We've got lead surrogate. + if (leadSurrogate === -1) { + leadSurrogate = uCode; + continue; + } else { + leadSurrogate = uCode; + // Double lead surrogate found. + uCode = UNASSIGNED; + } + } else { // We've got trail surrogate. + if (leadSurrogate !== -1) { + uCode = 0x10000 + (leadSurrogate - 0xD800) * 0x400 + (uCode - 0xDC00); + leadSurrogate = -1; + } else { + // Incomplete surrogate pair - only trail surrogate found. + uCode = UNASSIGNED; + } + + } + } + else if (leadSurrogate !== -1) { + // Incomplete surrogate pair - only lead surrogate found. + nextChar = uCode; uCode = UNASSIGNED; // Write an error, then current char. + leadSurrogate = -1; + } + + // 2. Convert uCode character. + var dbcsCode = UNASSIGNED; + if (seqObj !== undefined && uCode != UNASSIGNED) { // We are in the middle of the sequence + var resCode = seqObj[uCode]; + if (typeof resCode === 'object') { // Sequence continues. + seqObj = resCode; + continue; + + } else if (typeof resCode == 'number') { // Sequence finished. Write it. + dbcsCode = resCode; + + } else if (resCode == undefined) { // Current character is not part of the sequence. + + // Try default character for this sequence + resCode = seqObj[DEF_CHAR]; + if (resCode !== undefined) { + dbcsCode = resCode; // Found. Write it. + nextChar = uCode; // Current character will be written too in the next iteration. + + } else { + // TODO: What if we have no default? (resCode == undefined) + // Then, we should write first char of the sequence as-is and try the rest recursively. + // Didn't do it for now because no encoding has this situation yet. + // Currently, just skip the sequence and write current char. + } + } + seqObj = undefined; + } + else if (uCode >= 0) { // Regular character + var subtable = this.encodeTable[uCode >> 8]; + if (subtable !== undefined) + dbcsCode = subtable[uCode & 0xFF]; + + if (dbcsCode <= SEQ_START) { // Sequence start + seqObj = this.encodeTableSeq[SEQ_START-dbcsCode]; + continue; + } + + if (dbcsCode == UNASSIGNED && this.gb18030) { + // Use GB18030 algorithm to find character(s) to write. + var idx = findIdx(this.gb18030.uChars, uCode); + if (idx != -1) { + var dbcsCode = this.gb18030.gbChars[idx] + (uCode - this.gb18030.uChars[idx]); + newBuf[j++] = 0x81 + Math.floor(dbcsCode / 12600); dbcsCode = dbcsCode % 12600; + newBuf[j++] = 0x30 + Math.floor(dbcsCode / 1260); dbcsCode = dbcsCode % 1260; + newBuf[j++] = 0x81 + Math.floor(dbcsCode / 10); dbcsCode = dbcsCode % 10; + newBuf[j++] = 0x30 + dbcsCode; + continue; + } + } + } + + // 3. Write dbcsCode character. + if (dbcsCode === UNASSIGNED) + dbcsCode = this.defaultCharSingleByte; + + if (dbcsCode < 0x100) { + newBuf[j++] = dbcsCode; + } + else if (dbcsCode < 0x10000) { + newBuf[j++] = dbcsCode >> 8; // high byte + newBuf[j++] = dbcsCode & 0xFF; // low byte + } + else { + newBuf[j++] = dbcsCode >> 16; + newBuf[j++] = (dbcsCode >> 8) & 0xFF; + newBuf[j++] = dbcsCode & 0xFF; + } + } + + this.seqObj = seqObj; + this.leadSurrogate = leadSurrogate; + return newBuf.slice(0, j); +} + +DBCSEncoder.prototype.end = function() { + if (this.leadSurrogate === -1 && this.seqObj === undefined) + return; // All clean. Most often case. + + var newBuf = Buffer.alloc(10), j = 0; + + if (this.seqObj) { // We're in the sequence. + var dbcsCode = this.seqObj[DEF_CHAR]; + if (dbcsCode !== undefined) { // Write beginning of the sequence. + if (dbcsCode < 0x100) { + newBuf[j++] = dbcsCode; + } + else { + newBuf[j++] = dbcsCode >> 8; // high byte + newBuf[j++] = dbcsCode & 0xFF; // low byte + } + } else { + // See todo above. + } + this.seqObj = undefined; + } + + if (this.leadSurrogate !== -1) { + // Incomplete surrogate pair - only lead surrogate found. + newBuf[j++] = this.defaultCharSingleByte; + this.leadSurrogate = -1; + } + + return newBuf.slice(0, j); +} + +// Export for testing +DBCSEncoder.prototype.findIdx = findIdx; + + +// == Decoder ================================================================== + +function DBCSDecoder(options, codec) { + // Decoder state + this.nodeIdx = 0; + this.prevBuf = Buffer.alloc(0); + + // Static data + this.decodeTables = codec.decodeTables; + this.decodeTableSeq = codec.decodeTableSeq; + this.defaultCharUnicode = codec.defaultCharUnicode; + this.gb18030 = codec.gb18030; +} + +DBCSDecoder.prototype.write = function(buf) { + var newBuf = Buffer.alloc(buf.length*2), + nodeIdx = this.nodeIdx, + prevBuf = this.prevBuf, prevBufOffset = this.prevBuf.length, + seqStart = -this.prevBuf.length, // idx of the start of current parsed sequence. + uCode; + + if (prevBufOffset > 0) // Make prev buf overlap a little to make it easier to slice later. + prevBuf = Buffer.concat([prevBuf, buf.slice(0, 10)]); + + for (var i = 0, j = 0; i < buf.length; i++) { + var curByte = (i >= 0) ? buf[i] : prevBuf[i + prevBufOffset]; + + // Lookup in current trie node. + var uCode = this.decodeTables[nodeIdx][curByte]; + + if (uCode >= 0) { + // Normal character, just use it. + } + else if (uCode === UNASSIGNED) { // Unknown char. + // TODO: Callback with seq. + //var curSeq = (seqStart >= 0) ? buf.slice(seqStart, i+1) : prevBuf.slice(seqStart + prevBufOffset, i+1 + prevBufOffset); + i = seqStart; // Try to parse again, after skipping first byte of the sequence ('i' will be incremented by 'for' cycle). + uCode = this.defaultCharUnicode.charCodeAt(0); + } + else if (uCode === GB18030_CODE) { + var curSeq = (seqStart >= 0) ? buf.slice(seqStart, i+1) : prevBuf.slice(seqStart + prevBufOffset, i+1 + prevBufOffset); + var ptr = (curSeq[0]-0x81)*12600 + (curSeq[1]-0x30)*1260 + (curSeq[2]-0x81)*10 + (curSeq[3]-0x30); + var idx = findIdx(this.gb18030.gbChars, ptr); + uCode = this.gb18030.uChars[idx] + ptr - this.gb18030.gbChars[idx]; + } + else if (uCode <= NODE_START) { // Go to next trie node. + nodeIdx = NODE_START - uCode; + continue; + } + else if (uCode <= SEQ_START) { // Output a sequence of chars. + var seq = this.decodeTableSeq[SEQ_START - uCode]; + for (var k = 0; k < seq.length - 1; k++) { + uCode = seq[k]; + newBuf[j++] = uCode & 0xFF; + newBuf[j++] = uCode >> 8; + } + uCode = seq[seq.length-1]; + } + else + throw new Error("iconv-lite internal error: invalid decoding table value " + uCode + " at " + nodeIdx + "/" + curByte); + + // Write the character to buffer, handling higher planes using surrogate pair. + if (uCode > 0xFFFF) { + uCode -= 0x10000; + var uCodeLead = 0xD800 + Math.floor(uCode / 0x400); + newBuf[j++] = uCodeLead & 0xFF; + newBuf[j++] = uCodeLead >> 8; + + uCode = 0xDC00 + uCode % 0x400; + } + newBuf[j++] = uCode & 0xFF; + newBuf[j++] = uCode >> 8; + + // Reset trie node. + nodeIdx = 0; seqStart = i+1; + } + + this.nodeIdx = nodeIdx; + this.prevBuf = (seqStart >= 0) ? buf.slice(seqStart) : prevBuf.slice(seqStart + prevBufOffset); + return newBuf.slice(0, j).toString('ucs2'); +} + +DBCSDecoder.prototype.end = function() { + var ret = ''; + + // Try to parse all remaining chars. + while (this.prevBuf.length > 0) { + // Skip 1 character in the buffer. + ret += this.defaultCharUnicode; + var buf = this.prevBuf.slice(1); + + // Parse remaining as usual. + this.prevBuf = Buffer.alloc(0); + this.nodeIdx = 0; + if (buf.length > 0) + ret += this.write(buf); + } + + this.nodeIdx = 0; + return ret; +} + +// Binary search for GB18030. Returns largest i such that table[i] <= val. +function findIdx(table, val) { + if (table[0] > val) + return -1; + + var l = 0, r = table.length; + while (l < r-1) { // always table[l] <= val < table[r] + var mid = l + Math.floor((r-l+1)/2); + if (table[mid] <= val) + l = mid; + else + r = mid; + } + return l; +} + diff --git a/node_modules/iconv-lite/encodings/dbcs-data.js b/node_modules/iconv-lite/encodings/dbcs-data.js new file mode 100644 index 0000000..4b61914 --- /dev/null +++ b/node_modules/iconv-lite/encodings/dbcs-data.js @@ -0,0 +1,176 @@ +"use strict"; + +// Description of supported double byte encodings and aliases. +// Tables are not require()-d until they are needed to speed up library load. +// require()-s are direct to support Browserify. + +module.exports = { + + // == Japanese/ShiftJIS ==================================================== + // All japanese encodings are based on JIS X set of standards: + // JIS X 0201 - Single-byte encoding of ASCII + ¥ + Kana chars at 0xA1-0xDF. + // JIS X 0208 - Main set of 6879 characters, placed in 94x94 plane, to be encoded by 2 bytes. + // Has several variations in 1978, 1983, 1990 and 1997. + // JIS X 0212 - Supplementary plane of 6067 chars in 94x94 plane. 1990. Effectively dead. + // JIS X 0213 - Extension and modern replacement of 0208 and 0212. Total chars: 11233. + // 2 planes, first is superset of 0208, second - revised 0212. + // Introduced in 2000, revised 2004. Some characters are in Unicode Plane 2 (0x2xxxx) + + // Byte encodings are: + // * Shift_JIS: Compatible with 0201, uses not defined chars in top half as lead bytes for double-byte + // encoding of 0208. Lead byte ranges: 0x81-0x9F, 0xE0-0xEF; Trail byte ranges: 0x40-0x7E, 0x80-0x9E, 0x9F-0xFC. + // Windows CP932 is a superset of Shift_JIS. Some companies added more chars, notably KDDI. + // * EUC-JP: Up to 3 bytes per character. Used mostly on *nixes. + // 0x00-0x7F - lower part of 0201 + // 0x8E, 0xA1-0xDF - upper part of 0201 + // (0xA1-0xFE)x2 - 0208 plane (94x94). + // 0x8F, (0xA1-0xFE)x2 - 0212 plane (94x94). + // * JIS X 208: 7-bit, direct encoding of 0208. Byte ranges: 0x21-0x7E (94 values). Uncommon. + // Used as-is in ISO2022 family. + // * ISO2022-JP: Stateful encoding, with escape sequences to switch between ASCII, + // 0201-1976 Roman, 0208-1978, 0208-1983. + // * ISO2022-JP-1: Adds esc seq for 0212-1990. + // * ISO2022-JP-2: Adds esc seq for GB2313-1980, KSX1001-1992, ISO8859-1, ISO8859-7. + // * ISO2022-JP-3: Adds esc seq for 0201-1976 Kana set, 0213-2000 Planes 1, 2. + // * ISO2022-JP-2004: Adds 0213-2004 Plane 1. + // + // After JIS X 0213 appeared, Shift_JIS-2004, EUC-JISX0213 and ISO2022-JP-2004 followed, with just changing the planes. + // + // Overall, it seems that it's a mess :( http://www8.plala.or.jp/tkubota1/unicode-symbols-map2.html + + 'shiftjis': { + type: '_dbcs', + table: function() { return require('./tables/shiftjis.json') }, + encodeAdd: {'\u00a5': 0x5C, '\u203E': 0x7E}, + encodeSkipVals: [{from: 0xED40, to: 0xF940}], + }, + 'csshiftjis': 'shiftjis', + 'mskanji': 'shiftjis', + 'sjis': 'shiftjis', + 'windows31j': 'shiftjis', + 'ms31j': 'shiftjis', + 'xsjis': 'shiftjis', + 'windows932': 'shiftjis', + 'ms932': 'shiftjis', + '932': 'shiftjis', + 'cp932': 'shiftjis', + + 'eucjp': { + type: '_dbcs', + table: function() { return require('./tables/eucjp.json') }, + encodeAdd: {'\u00a5': 0x5C, '\u203E': 0x7E}, + }, + + // TODO: KDDI extension to Shift_JIS + // TODO: IBM CCSID 942 = CP932, but F0-F9 custom chars and other char changes. + // TODO: IBM CCSID 943 = Shift_JIS = CP932 with original Shift_JIS lower 128 chars. + + + // == Chinese/GBK ========================================================== + // http://en.wikipedia.org/wiki/GBK + // We mostly implement W3C recommendation: https://www.w3.org/TR/encoding/#gbk-encoder + + // Oldest GB2312 (1981, ~7600 chars) is a subset of CP936 + 'gb2312': 'cp936', + 'gb231280': 'cp936', + 'gb23121980': 'cp936', + 'csgb2312': 'cp936', + 'csiso58gb231280': 'cp936', + 'euccn': 'cp936', + + // Microsoft's CP936 is a subset and approximation of GBK. + 'windows936': 'cp936', + 'ms936': 'cp936', + '936': 'cp936', + 'cp936': { + type: '_dbcs', + table: function() { return require('./tables/cp936.json') }, + }, + + // GBK (~22000 chars) is an extension of CP936 that added user-mapped chars and some other. + 'gbk': { + type: '_dbcs', + table: function() { return require('./tables/cp936.json').concat(require('./tables/gbk-added.json')) }, + }, + 'xgbk': 'gbk', + 'isoir58': 'gbk', + + // GB18030 is an algorithmic extension of GBK. + // Main source: https://www.w3.org/TR/encoding/#gbk-encoder + // http://icu-project.org/docs/papers/gb18030.html + // http://source.icu-project.org/repos/icu/data/trunk/charset/data/xml/gb-18030-2000.xml + // http://www.khngai.com/chinese/charmap/tblgbk.php?page=0 + 'gb18030': { + type: '_dbcs', + table: function() { return require('./tables/cp936.json').concat(require('./tables/gbk-added.json')) }, + gb18030: function() { return require('./tables/gb18030-ranges.json') }, + encodeSkipVals: [0x80], + encodeAdd: {'€': 0xA2E3}, + }, + + 'chinese': 'gb18030', + + + // == Korean =============================================================== + // EUC-KR, KS_C_5601 and KS X 1001 are exactly the same. + 'windows949': 'cp949', + 'ms949': 'cp949', + '949': 'cp949', + 'cp949': { + type: '_dbcs', + table: function() { return require('./tables/cp949.json') }, + }, + + 'cseuckr': 'cp949', + 'csksc56011987': 'cp949', + 'euckr': 'cp949', + 'isoir149': 'cp949', + 'korean': 'cp949', + 'ksc56011987': 'cp949', + 'ksc56011989': 'cp949', + 'ksc5601': 'cp949', + + + // == Big5/Taiwan/Hong Kong ================================================ + // There are lots of tables for Big5 and cp950. Please see the following links for history: + // http://moztw.org/docs/big5/ http://www.haible.de/bruno/charsets/conversion-tables/Big5.html + // Variations, in roughly number of defined chars: + // * Windows CP 950: Microsoft variant of Big5. Canonical: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP950.TXT + // * Windows CP 951: Microsoft variant of Big5-HKSCS-2001. Seems to be never public. http://me.abelcheung.org/articles/research/what-is-cp951/ + // * Big5-2003 (Taiwan standard) almost superset of cp950. + // * Unicode-at-on (UAO) / Mozilla 1.8. Falling out of use on the Web. Not supported by other browsers. + // * Big5-HKSCS (-2001, -2004, -2008). Hong Kong standard. + // many unicode code points moved from PUA to Supplementary plane (U+2XXXX) over the years. + // Plus, it has 4 combining sequences. + // Seems that Mozilla refused to support it for 10 yrs. https://bugzilla.mozilla.org/show_bug.cgi?id=162431 https://bugzilla.mozilla.org/show_bug.cgi?id=310299 + // because big5-hkscs is the only encoding to include astral characters in non-algorithmic way. + // Implementations are not consistent within browsers; sometimes labeled as just big5. + // MS Internet Explorer switches from big5 to big5-hkscs when a patch applied. + // Great discussion & recap of what's going on https://bugzilla.mozilla.org/show_bug.cgi?id=912470#c31 + // In the encoder, it might make sense to support encoding old PUA mappings to Big5 bytes seq-s. + // Official spec: http://www.ogcio.gov.hk/en/business/tech_promotion/ccli/terms/doc/2003cmp_2008.txt + // http://www.ogcio.gov.hk/tc/business/tech_promotion/ccli/terms/doc/hkscs-2008-big5-iso.txt + // + // Current understanding of how to deal with Big5(-HKSCS) is in the Encoding Standard, http://encoding.spec.whatwg.org/#big5-encoder + // Unicode mapping (http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT) is said to be wrong. + + 'windows950': 'cp950', + 'ms950': 'cp950', + '950': 'cp950', + 'cp950': { + type: '_dbcs', + table: function() { return require('./tables/cp950.json') }, + }, + + // Big5 has many variations and is an extension of cp950. We use Encoding Standard's as a consensus. + 'big5': 'big5hkscs', + 'big5hkscs': { + type: '_dbcs', + table: function() { return require('./tables/cp950.json').concat(require('./tables/big5-added.json')) }, + encodeSkipVals: [0xa2cc], + }, + + 'cnbig5': 'big5hkscs', + 'csbig5': 'big5hkscs', + 'xxbig5': 'big5hkscs', +}; diff --git a/node_modules/iconv-lite/encodings/index.js b/node_modules/iconv-lite/encodings/index.js new file mode 100644 index 0000000..e304003 --- /dev/null +++ b/node_modules/iconv-lite/encodings/index.js @@ -0,0 +1,22 @@ +"use strict"; + +// Update this array if you add/rename/remove files in this directory. +// We support Browserify by skipping automatic module discovery and requiring modules directly. +var modules = [ + require("./internal"), + require("./utf16"), + require("./utf7"), + require("./sbcs-codec"), + require("./sbcs-data"), + require("./sbcs-data-generated"), + require("./dbcs-codec"), + require("./dbcs-data"), +]; + +// Put all encoding/alias/codec definitions to single object and export it. +for (var i = 0; i < modules.length; i++) { + var module = modules[i]; + for (var enc in module) + if (Object.prototype.hasOwnProperty.call(module, enc)) + exports[enc] = module[enc]; +} diff --git a/node_modules/iconv-lite/encodings/internal.js b/node_modules/iconv-lite/encodings/internal.js new file mode 100644 index 0000000..05ce38b --- /dev/null +++ b/node_modules/iconv-lite/encodings/internal.js @@ -0,0 +1,188 @@ +"use strict"; +var Buffer = require("safer-buffer").Buffer; + +// Export Node.js internal encodings. + +module.exports = { + // Encodings + utf8: { type: "_internal", bomAware: true}, + cesu8: { type: "_internal", bomAware: true}, + unicode11utf8: "utf8", + + ucs2: { type: "_internal", bomAware: true}, + utf16le: "ucs2", + + binary: { type: "_internal" }, + base64: { type: "_internal" }, + hex: { type: "_internal" }, + + // Codec. + _internal: InternalCodec, +}; + +//------------------------------------------------------------------------------ + +function InternalCodec(codecOptions, iconv) { + this.enc = codecOptions.encodingName; + this.bomAware = codecOptions.bomAware; + + if (this.enc === "base64") + this.encoder = InternalEncoderBase64; + else if (this.enc === "cesu8") { + this.enc = "utf8"; // Use utf8 for decoding. + this.encoder = InternalEncoderCesu8; + + // Add decoder for versions of Node not supporting CESU-8 + if (Buffer.from('eda0bdedb2a9', 'hex').toString() !== '💩') { + this.decoder = InternalDecoderCesu8; + this.defaultCharUnicode = iconv.defaultCharUnicode; + } + } +} + +InternalCodec.prototype.encoder = InternalEncoder; +InternalCodec.prototype.decoder = InternalDecoder; + +//------------------------------------------------------------------------------ + +// We use node.js internal decoder. Its signature is the same as ours. +var StringDecoder = require('string_decoder').StringDecoder; + +if (!StringDecoder.prototype.end) // Node v0.8 doesn't have this method. + StringDecoder.prototype.end = function() {}; + + +function InternalDecoder(options, codec) { + StringDecoder.call(this, codec.enc); +} + +InternalDecoder.prototype = StringDecoder.prototype; + + +//------------------------------------------------------------------------------ +// Encoder is mostly trivial + +function InternalEncoder(options, codec) { + this.enc = codec.enc; +} + +InternalEncoder.prototype.write = function(str) { + return Buffer.from(str, this.enc); +} + +InternalEncoder.prototype.end = function() { +} + + +//------------------------------------------------------------------------------ +// Except base64 encoder, which must keep its state. + +function InternalEncoderBase64(options, codec) { + this.prevStr = ''; +} + +InternalEncoderBase64.prototype.write = function(str) { + str = this.prevStr + str; + var completeQuads = str.length - (str.length % 4); + this.prevStr = str.slice(completeQuads); + str = str.slice(0, completeQuads); + + return Buffer.from(str, "base64"); +} + +InternalEncoderBase64.prototype.end = function() { + return Buffer.from(this.prevStr, "base64"); +} + + +//------------------------------------------------------------------------------ +// CESU-8 encoder is also special. + +function InternalEncoderCesu8(options, codec) { +} + +InternalEncoderCesu8.prototype.write = function(str) { + var buf = Buffer.alloc(str.length * 3), bufIdx = 0; + for (var i = 0; i < str.length; i++) { + var charCode = str.charCodeAt(i); + // Naive implementation, but it works because CESU-8 is especially easy + // to convert from UTF-16 (which all JS strings are encoded in). + if (charCode < 0x80) + buf[bufIdx++] = charCode; + else if (charCode < 0x800) { + buf[bufIdx++] = 0xC0 + (charCode >>> 6); + buf[bufIdx++] = 0x80 + (charCode & 0x3f); + } + else { // charCode will always be < 0x10000 in javascript. + buf[bufIdx++] = 0xE0 + (charCode >>> 12); + buf[bufIdx++] = 0x80 + ((charCode >>> 6) & 0x3f); + buf[bufIdx++] = 0x80 + (charCode & 0x3f); + } + } + return buf.slice(0, bufIdx); +} + +InternalEncoderCesu8.prototype.end = function() { +} + +//------------------------------------------------------------------------------ +// CESU-8 decoder is not implemented in Node v4.0+ + +function InternalDecoderCesu8(options, codec) { + this.acc = 0; + this.contBytes = 0; + this.accBytes = 0; + this.defaultCharUnicode = codec.defaultCharUnicode; +} + +InternalDecoderCesu8.prototype.write = function(buf) { + var acc = this.acc, contBytes = this.contBytes, accBytes = this.accBytes, + res = ''; + for (var i = 0; i < buf.length; i++) { + var curByte = buf[i]; + if ((curByte & 0xC0) !== 0x80) { // Leading byte + if (contBytes > 0) { // Previous code is invalid + res += this.defaultCharUnicode; + contBytes = 0; + } + + if (curByte < 0x80) { // Single-byte code + res += String.fromCharCode(curByte); + } else if (curByte < 0xE0) { // Two-byte code + acc = curByte & 0x1F; + contBytes = 1; accBytes = 1; + } else if (curByte < 0xF0) { // Three-byte code + acc = curByte & 0x0F; + contBytes = 2; accBytes = 1; + } else { // Four or more are not supported for CESU-8. + res += this.defaultCharUnicode; + } + } else { // Continuation byte + if (contBytes > 0) { // We're waiting for it. + acc = (acc << 6) | (curByte & 0x3f); + contBytes--; accBytes++; + if (contBytes === 0) { + // Check for overlong encoding, but support Modified UTF-8 (encoding NULL as C0 80) + if (accBytes === 2 && acc < 0x80 && acc > 0) + res += this.defaultCharUnicode; + else if (accBytes === 3 && acc < 0x800) + res += this.defaultCharUnicode; + else + // Actually add character. + res += String.fromCharCode(acc); + } + } else { // Unexpected continuation byte + res += this.defaultCharUnicode; + } + } + } + this.acc = acc; this.contBytes = contBytes; this.accBytes = accBytes; + return res; +} + +InternalDecoderCesu8.prototype.end = function() { + var res = 0; + if (this.contBytes > 0) + res += this.defaultCharUnicode; + return res; +} diff --git a/node_modules/iconv-lite/encodings/sbcs-codec.js b/node_modules/iconv-lite/encodings/sbcs-codec.js new file mode 100644 index 0000000..abac5ff --- /dev/null +++ b/node_modules/iconv-lite/encodings/sbcs-codec.js @@ -0,0 +1,72 @@ +"use strict"; +var Buffer = require("safer-buffer").Buffer; + +// Single-byte codec. Needs a 'chars' string parameter that contains 256 or 128 chars that +// correspond to encoded bytes (if 128 - then lower half is ASCII). + +exports._sbcs = SBCSCodec; +function SBCSCodec(codecOptions, iconv) { + if (!codecOptions) + throw new Error("SBCS codec is called without the data.") + + // Prepare char buffer for decoding. + if (!codecOptions.chars || (codecOptions.chars.length !== 128 && codecOptions.chars.length !== 256)) + throw new Error("Encoding '"+codecOptions.type+"' has incorrect 'chars' (must be of len 128 or 256)"); + + if (codecOptions.chars.length === 128) { + var asciiString = ""; + for (var i = 0; i < 128; i++) + asciiString += String.fromCharCode(i); + codecOptions.chars = asciiString + codecOptions.chars; + } + + this.decodeBuf = Buffer.from(codecOptions.chars, 'ucs2'); + + // Encoding buffer. + var encodeBuf = Buffer.alloc(65536, iconv.defaultCharSingleByte.charCodeAt(0)); + + for (var i = 0; i < codecOptions.chars.length; i++) + encodeBuf[codecOptions.chars.charCodeAt(i)] = i; + + this.encodeBuf = encodeBuf; +} + +SBCSCodec.prototype.encoder = SBCSEncoder; +SBCSCodec.prototype.decoder = SBCSDecoder; + + +function SBCSEncoder(options, codec) { + this.encodeBuf = codec.encodeBuf; +} + +SBCSEncoder.prototype.write = function(str) { + var buf = Buffer.alloc(str.length); + for (var i = 0; i < str.length; i++) + buf[i] = this.encodeBuf[str.charCodeAt(i)]; + + return buf; +} + +SBCSEncoder.prototype.end = function() { +} + + +function SBCSDecoder(options, codec) { + this.decodeBuf = codec.decodeBuf; +} + +SBCSDecoder.prototype.write = function(buf) { + // Strings are immutable in JS -> we use ucs2 buffer to speed up computations. + var decodeBuf = this.decodeBuf; + var newBuf = Buffer.alloc(buf.length*2); + var idx1 = 0, idx2 = 0; + for (var i = 0; i < buf.length; i++) { + idx1 = buf[i]*2; idx2 = i*2; + newBuf[idx2] = decodeBuf[idx1]; + newBuf[idx2+1] = decodeBuf[idx1+1]; + } + return newBuf.toString('ucs2'); +} + +SBCSDecoder.prototype.end = function() { +} diff --git a/node_modules/iconv-lite/encodings/sbcs-data-generated.js b/node_modules/iconv-lite/encodings/sbcs-data-generated.js new file mode 100644 index 0000000..9b48236 --- /dev/null +++ b/node_modules/iconv-lite/encodings/sbcs-data-generated.js @@ -0,0 +1,451 @@ +"use strict"; + +// Generated data for sbcs codec. Don't edit manually. Regenerate using generation/gen-sbcs.js script. +module.exports = { + "437": "cp437", + "737": "cp737", + "775": "cp775", + "850": "cp850", + "852": "cp852", + "855": "cp855", + "856": "cp856", + "857": "cp857", + "858": "cp858", + "860": "cp860", + "861": "cp861", + "862": "cp862", + "863": "cp863", + "864": "cp864", + "865": "cp865", + "866": "cp866", + "869": "cp869", + "874": "windows874", + "922": "cp922", + "1046": "cp1046", + "1124": "cp1124", + "1125": "cp1125", + "1129": "cp1129", + "1133": "cp1133", + "1161": "cp1161", + "1162": "cp1162", + "1163": "cp1163", + "1250": "windows1250", + "1251": "windows1251", + "1252": "windows1252", + "1253": "windows1253", + "1254": "windows1254", + "1255": "windows1255", + "1256": "windows1256", + "1257": "windows1257", + "1258": "windows1258", + "28591": "iso88591", + "28592": "iso88592", + "28593": "iso88593", + "28594": "iso88594", + "28595": "iso88595", + "28596": "iso88596", + "28597": "iso88597", + "28598": "iso88598", + "28599": "iso88599", + "28600": "iso885910", + "28601": "iso885911", + "28603": "iso885913", + "28604": "iso885914", + "28605": "iso885915", + "28606": "iso885916", + "windows874": { + "type": "_sbcs", + "chars": "€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" + }, + "win874": "windows874", + "cp874": "windows874", + "windows1250": { + "type": "_sbcs", + "chars": "€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙" + }, + "win1250": "windows1250", + "cp1250": "windows1250", + "windows1251": { + "type": "_sbcs", + "chars": "ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя" + }, + "win1251": "windows1251", + "cp1251": "windows1251", + "windows1252": { + "type": "_sbcs", + "chars": "€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + }, + "win1252": "windows1252", + "cp1252": "windows1252", + "windows1253": { + "type": "_sbcs", + "chars": "€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�" + }, + "win1253": "windows1253", + "cp1253": "windows1253", + "windows1254": { + "type": "_sbcs", + "chars": "€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ" + }, + "win1254": "windows1254", + "cp1254": "windows1254", + "windows1255": { + "type": "_sbcs", + "chars": "€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�" + }, + "win1255": "windows1255", + "cp1255": "windows1255", + "windows1256": { + "type": "_sbcs", + "chars": "€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے" + }, + "win1256": "windows1256", + "cp1256": "windows1256", + "windows1257": { + "type": "_sbcs", + "chars": "€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙" + }, + "win1257": "windows1257", + "cp1257": "windows1257", + "windows1258": { + "type": "_sbcs", + "chars": "€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ" + }, + "win1258": "windows1258", + "cp1258": "windows1258", + "iso88591": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + }, + "cp28591": "iso88591", + "iso88592": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙" + }, + "cp28592": "iso88592", + "iso88593": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ħ˘£¤�Ĥ§¨İŞĞĴ­�ݰħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙" + }, + "cp28593": "iso88593", + "iso88594": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĸŖ¤Ĩϧ¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙" + }, + "cp28594": "iso88594", + "iso88595": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ" + }, + "cp28595": "iso88595", + "iso88596": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������" + }, + "cp28596": "iso88596", + "iso88597": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�" + }, + "cp28597": "iso88597", + "iso88598": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�" + }, + "cp28598": "iso88598", + "iso88599": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ" + }, + "cp28599": "iso88599", + "iso885910": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĒĢĪĨͧĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ" + }, + "cp28600": "iso885910", + "iso885911": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" + }, + "cp28601": "iso885911", + "iso885913": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’" + }, + "cp28603": "iso885913", + "iso885914": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ" + }, + "cp28604": "iso885914", + "iso885915": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + }, + "cp28605": "iso885915", + "iso885916": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄąŁ€„Чš©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ" + }, + "cp28606": "iso885916", + "cp437": { + "type": "_sbcs", + "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + "ibm437": "cp437", + "csibm437": "cp437", + "cp737": { + "type": "_sbcs", + "chars": "ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ " + }, + "ibm737": "cp737", + "csibm737": "cp737", + "cp775": { + "type": "_sbcs", + "chars": "ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ " + }, + "ibm775": "cp775", + "csibm775": "cp775", + "cp850": { + "type": "_sbcs", + "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ " + }, + "ibm850": "cp850", + "csibm850": "cp850", + "cp852": { + "type": "_sbcs", + "chars": "ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ " + }, + "ibm852": "cp852", + "csibm852": "cp852", + "cp855": { + "type": "_sbcs", + "chars": "ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ " + }, + "ibm855": "cp855", + "csibm855": "cp855", + "cp856": { + "type": "_sbcs", + "chars": "אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ " + }, + "ibm856": "cp856", + "csibm856": "cp856", + "cp857": { + "type": "_sbcs", + "chars": "ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ " + }, + "ibm857": "cp857", + "csibm857": "cp857", + "cp858": { + "type": "_sbcs", + "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ " + }, + "ibm858": "cp858", + "csibm858": "cp858", + "cp860": { + "type": "_sbcs", + "chars": "ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + "ibm860": "cp860", + "csibm860": "cp860", + "cp861": { + "type": "_sbcs", + "chars": "ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + "ibm861": "cp861", + "csibm861": "cp861", + "cp862": { + "type": "_sbcs", + "chars": "אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + "ibm862": "cp862", + "csibm862": "cp862", + "cp863": { + "type": "_sbcs", + "chars": "ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + "ibm863": "cp863", + "csibm863": "cp863", + "cp864": { + "type": "_sbcs", + "chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�" + }, + "ibm864": "cp864", + "csibm864": "cp864", + "cp865": { + "type": "_sbcs", + "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + "ibm865": "cp865", + "csibm865": "cp865", + "cp866": { + "type": "_sbcs", + "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ " + }, + "ibm866": "cp866", + "csibm866": "cp866", + "cp869": { + "type": "_sbcs", + "chars": "������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ " + }, + "ibm869": "cp869", + "csibm869": "cp869", + "cp922": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖרÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ" + }, + "ibm922": "cp922", + "csibm922": "cp922", + "cp1046": { + "type": "_sbcs", + "chars": "ﺈ×÷ﹱˆ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�" + }, + "ibm1046": "cp1046", + "csibm1046": "cp1046", + "cp1124": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ" + }, + "ibm1124": "cp1124", + "csibm1124": "cp1124", + "cp1125": { + "type": "_sbcs", + "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ " + }, + "ibm1125": "cp1125", + "csibm1125": "cp1125", + "cp1129": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ" + }, + "ibm1129": "cp1129", + "csibm1129": "cp1129", + "cp1133": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�" + }, + "ibm1133": "cp1133", + "csibm1133": "cp1133", + "cp1161": { + "type": "_sbcs", + "chars": "��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ " + }, + "ibm1161": "cp1161", + "csibm1161": "cp1161", + "cp1162": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" + }, + "ibm1162": "cp1162", + "csibm1162": "cp1162", + "cp1163": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ" + }, + "ibm1163": "cp1163", + "csibm1163": "cp1163", + "maccroatian": { + "type": "_sbcs", + "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ" + }, + "maccyrillic": { + "type": "_sbcs", + "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤" + }, + "macgreek": { + "type": "_sbcs", + "chars": "Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�" + }, + "maciceland": { + "type": "_sbcs", + "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" + }, + "macroman": { + "type": "_sbcs", + "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" + }, + "macromania": { + "type": "_sbcs", + "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" + }, + "macthai": { + "type": "_sbcs", + "chars": "«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����" + }, + "macturkish": { + "type": "_sbcs", + "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ" + }, + "macukraine": { + "type": "_sbcs", + "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤" + }, + "koi8r": { + "type": "_sbcs", + "chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ" + }, + "koi8u": { + "type": "_sbcs", + "chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ" + }, + "koi8ru": { + "type": "_sbcs", + "chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ" + }, + "koi8t": { + "type": "_sbcs", + "chars": "қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ" + }, + "armscii8": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�" + }, + "rk1048": { + "type": "_sbcs", + "chars": "ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя" + }, + "tcvn": { + "type": "_sbcs", + "chars": "\u0000ÚỤ\u0003ỪỬỮ\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010ỨỰỲỶỸÝỴ\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ" + }, + "georgianacademy": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + }, + "georgianps": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + }, + "pt154": { + "type": "_sbcs", + "chars": "ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя" + }, + "viscii": { + "type": "_sbcs", + "chars": "\u0000\u0001Ẳ\u0003\u0004ẴẪ\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013Ỷ\u0015\u0016\u0017\u0018Ỹ\u001a\u001b\u001c\u001dỴ\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ" + }, + "iso646cn": { + "type": "_sbcs", + "chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������" + }, + "iso646jp": { + "type": "_sbcs", + "chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������" + }, + "hproman8": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�" + }, + "macintosh": { + "type": "_sbcs", + "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" + }, + "ascii": { + "type": "_sbcs", + "chars": "��������������������������������������������������������������������������������������������������������������������������������" + }, + "tis620": { + "type": "_sbcs", + "chars": "���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" + } +} \ No newline at end of file diff --git a/node_modules/iconv-lite/encodings/sbcs-data.js b/node_modules/iconv-lite/encodings/sbcs-data.js new file mode 100644 index 0000000..fdb81a3 --- /dev/null +++ b/node_modules/iconv-lite/encodings/sbcs-data.js @@ -0,0 +1,174 @@ +"use strict"; + +// Manually added data to be used by sbcs codec in addition to generated one. + +module.exports = { + // Not supported by iconv, not sure why. + "10029": "maccenteuro", + "maccenteuro": { + "type": "_sbcs", + "chars": "ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ" + }, + + "808": "cp808", + "ibm808": "cp808", + "cp808": { + "type": "_sbcs", + "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ " + }, + + "mik": { + "type": "_sbcs", + "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + + // Aliases of generated encodings. + "ascii8bit": "ascii", + "usascii": "ascii", + "ansix34": "ascii", + "ansix341968": "ascii", + "ansix341986": "ascii", + "csascii": "ascii", + "cp367": "ascii", + "ibm367": "ascii", + "isoir6": "ascii", + "iso646us": "ascii", + "iso646irv": "ascii", + "us": "ascii", + + "latin1": "iso88591", + "latin2": "iso88592", + "latin3": "iso88593", + "latin4": "iso88594", + "latin5": "iso88599", + "latin6": "iso885910", + "latin7": "iso885913", + "latin8": "iso885914", + "latin9": "iso885915", + "latin10": "iso885916", + + "csisolatin1": "iso88591", + "csisolatin2": "iso88592", + "csisolatin3": "iso88593", + "csisolatin4": "iso88594", + "csisolatincyrillic": "iso88595", + "csisolatinarabic": "iso88596", + "csisolatingreek" : "iso88597", + "csisolatinhebrew": "iso88598", + "csisolatin5": "iso88599", + "csisolatin6": "iso885910", + + "l1": "iso88591", + "l2": "iso88592", + "l3": "iso88593", + "l4": "iso88594", + "l5": "iso88599", + "l6": "iso885910", + "l7": "iso885913", + "l8": "iso885914", + "l9": "iso885915", + "l10": "iso885916", + + "isoir14": "iso646jp", + "isoir57": "iso646cn", + "isoir100": "iso88591", + "isoir101": "iso88592", + "isoir109": "iso88593", + "isoir110": "iso88594", + "isoir144": "iso88595", + "isoir127": "iso88596", + "isoir126": "iso88597", + "isoir138": "iso88598", + "isoir148": "iso88599", + "isoir157": "iso885910", + "isoir166": "tis620", + "isoir179": "iso885913", + "isoir199": "iso885914", + "isoir203": "iso885915", + "isoir226": "iso885916", + + "cp819": "iso88591", + "ibm819": "iso88591", + + "cyrillic": "iso88595", + + "arabic": "iso88596", + "arabic8": "iso88596", + "ecma114": "iso88596", + "asmo708": "iso88596", + + "greek" : "iso88597", + "greek8" : "iso88597", + "ecma118" : "iso88597", + "elot928" : "iso88597", + + "hebrew": "iso88598", + "hebrew8": "iso88598", + + "turkish": "iso88599", + "turkish8": "iso88599", + + "thai": "iso885911", + "thai8": "iso885911", + + "celtic": "iso885914", + "celtic8": "iso885914", + "isoceltic": "iso885914", + + "tis6200": "tis620", + "tis62025291": "tis620", + "tis62025330": "tis620", + + "10000": "macroman", + "10006": "macgreek", + "10007": "maccyrillic", + "10079": "maciceland", + "10081": "macturkish", + + "cspc8codepage437": "cp437", + "cspc775baltic": "cp775", + "cspc850multilingual": "cp850", + "cspcp852": "cp852", + "cspc862latinhebrew": "cp862", + "cpgr": "cp869", + + "msee": "cp1250", + "mscyrl": "cp1251", + "msansi": "cp1252", + "msgreek": "cp1253", + "msturk": "cp1254", + "mshebr": "cp1255", + "msarab": "cp1256", + "winbaltrim": "cp1257", + + "cp20866": "koi8r", + "20866": "koi8r", + "ibm878": "koi8r", + "cskoi8r": "koi8r", + + "cp21866": "koi8u", + "21866": "koi8u", + "ibm1168": "koi8u", + + "strk10482002": "rk1048", + + "tcvn5712": "tcvn", + "tcvn57121": "tcvn", + + "gb198880": "iso646cn", + "cn": "iso646cn", + + "csiso14jisc6220ro": "iso646jp", + "jisc62201969ro": "iso646jp", + "jp": "iso646jp", + + "cshproman8": "hproman8", + "r8": "hproman8", + "roman8": "hproman8", + "xroman8": "hproman8", + "ibm1051": "hproman8", + + "mac": "macintosh", + "csmacintosh": "macintosh", +}; + diff --git a/node_modules/iconv-lite/encodings/tables/big5-added.json b/node_modules/iconv-lite/encodings/tables/big5-added.json new file mode 100644 index 0000000..3c3d3c2 --- /dev/null +++ b/node_modules/iconv-lite/encodings/tables/big5-added.json @@ -0,0 +1,122 @@ +[ +["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"], +["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"], +["87a1","𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋"], +["8840","㇀",4,"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒ࿿Ê̄Ế࿿Ê̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ"], +["88a1","ǜü࿿ê̄ế࿿ê̌ềêɡ⏚⏛"], +["8940","𪎩𡅅"], +["8943","攊"], +["8946","丽滝鵎釟"], +["894c","𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮"], +["89a1","琑糼緍楆竉刧"], +["89ab","醌碸酞肼"], +["89b0","贋胶𠧧"], +["89b5","肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁"], +["89c1","溚舾甙"], +["89c5","䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅"], +["8a40","𧶄唥"], +["8a43","𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓"], +["8a64","𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕"], +["8a76","䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯"], +["8aa1","𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱"], +["8aac","䠋𠆩㿺塳𢶍"], +["8ab2","𤗈𠓼𦂗𠽌𠶖啹䂻䎺"], +["8abb","䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃"], +["8ac9","𪘁𠸉𢫏𢳉"], +["8ace","𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻"], +["8adf","𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌"], +["8af6","𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭"], +["8b40","𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹"], +["8b55","𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑"], +["8ba1","𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁"], +["8bde","𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢"], +["8c40","倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋"], +["8ca1","𣏹椙橃𣱣泿"], +["8ca7","爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚"], +["8cc9","顨杫䉶圽"], +["8cce","藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶"], +["8ce6","峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻"], +["8d40","𠮟"], +["8d42","𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱"], +["8da1","㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘"], +["8e40","𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎"], +["8ea1","繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛"], +["8f40","蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖"], +["8fa1","𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起"], +["9040","趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛"], +["90a1","𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜"], +["9140","𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈"], +["91a1","鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨"], +["9240","𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘"], +["92a1","働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃"], +["9340","媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍"], +["93a1","摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋"], +["9440","銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻"], +["94a1","㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡"], +["9540","𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂"], +["95a1","衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰"], +["9640","桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸"], +["96a1","𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉"], +["9740","愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫"], +["97a1","𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎"], +["9840","𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦"], +["98a1","咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃"], +["9940","䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚"], +["99a1","䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿"], +["9a40","鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺"], +["9aa1","黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪"], +["9b40","𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌"], +["9b62","𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎"], +["9ba1","椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊"], +["9c40","嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶"], +["9ca1","㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏"], +["9d40","𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁"], +["9da1","辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢"], +["9e40","𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺"], +["9ea1","鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭"], +["9ead","𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹"], +["9ec5","㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲"], +["9ef5","噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼"], +["9f40","籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱"], +["9f4f","凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰"], +["9fa1","椬叚鰊鴂䰻陁榀傦畆𡝭駚剳"], +["9fae","酙隁酜"], +["9fb2","酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽"], +["9fc1","𤤙盖鮝个𠳔莾衂"], +["9fc9","届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳"], +["9fdb","歒酼龥鮗頮颴骺麨麄煺笔"], +["9fe7","毺蠘罸"], +["9feb","嘠𪙊蹷齓"], +["9ff0","跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇"], +["a040","𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷"], +["a055","𡠻𦸅"], +["a058","詾𢔛"], +["a05b","惽癧髗鵄鍮鮏蟵"], +["a063","蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽"], +["a073","坟慯抦戹拎㩜懢厪𣏵捤栂㗒"], +["a0a1","嵗𨯂迚𨸹"], +["a0a6","僙𡵆礆匲阸𠼻䁥"], +["a0ae","矾"], +["a0b0","糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦"], +["a0d4","覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷"], +["a0e2","罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫"], +["a3c0","␀",31,"␡"], +["c6a1","①",9,"⑴",9,"ⅰ",9,"丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー[]✽ぁ",23], +["c740","す",58,"ァアィイ"], +["c7a1","ゥ",81,"А",5,"ЁЖ",4], +["c840","Л",26,"ёж",25,"⇧↸↹㇏𠃌乚𠂊刂䒑"], +["c8a1","龰冈龱𧘇"], +["c8cd","¬¦'"㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣"], +["c8f5","ʃɐɛɔɵœøŋʊɪ"], +["f9fe","■"], +["fa40","𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸"], +["faa1","鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍"], +["fb40","𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙"], +["fba1","𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂"], +["fc40","廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷"], +["fca1","𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝"], +["fd40","𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀"], +["fda1","𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎"], +["fe40","鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌"], +["fea1","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"] +] diff --git a/node_modules/iconv-lite/encodings/tables/cp936.json b/node_modules/iconv-lite/encodings/tables/cp936.json new file mode 100644 index 0000000..49ddb9a --- /dev/null +++ b/node_modules/iconv-lite/encodings/tables/cp936.json @@ -0,0 +1,264 @@ +[ +["0","\u0000",127,"€"], +["8140","丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪",5,"乲乴",9,"乿",6,"亇亊"], +["8180","亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂",6,"伋伌伒",4,"伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾",4,"佄佅佇",5,"佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢"], +["8240","侤侫侭侰",4,"侶",8,"俀俁係俆俇俈俉俋俌俍俒",4,"俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿",11], +["8280","個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯",10,"倻倽倿偀偁偂偄偅偆偉偊偋偍偐",4,"偖偗偘偙偛偝",7,"偦",5,"偭",8,"偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎",20,"傤傦傪傫傭",4,"傳",6,"傼"], +["8340","傽",17,"僐",5,"僗僘僙僛",10,"僨僩僪僫僯僰僱僲僴僶",4,"僼",9,"儈"], +["8380","儉儊儌",5,"儓",13,"儢",28,"兂兇兊兌兎兏児兒兓兗兘兙兛兝",4,"兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦",4,"冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒",5], +["8440","凘凙凚凜凞凟凢凣凥",5,"凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄",5,"剋剎剏剒剓剕剗剘"], +["8480","剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳",9,"剾劀劃",4,"劉",6,"劑劒劔",6,"劜劤劥劦劧劮劯劰労",9,"勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務",5,"勠勡勢勣勥",10,"勱",7,"勻勼勽匁匂匃匄匇匉匊匋匌匎"], +["8540","匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯",9,"匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏"], +["8580","厐",4,"厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯",6,"厷厸厹厺厼厽厾叀參",4,"収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝",4,"呣呥呧呩",7,"呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡"], +["8640","咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠",4,"哫哬哯哰哱哴",5,"哻哾唀唂唃唄唅唈唊",4,"唒唓唕",5,"唜唝唞唟唡唥唦"], +["8680","唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋",4,"啑啒啓啔啗",4,"啝啞啟啠啢啣啨啩啫啯",5,"啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠",6,"喨",8,"喲喴営喸喺喼喿",4,"嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗",4,"嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸",4,"嗿嘂嘃嘄嘅"], +["8740","嘆嘇嘊嘋嘍嘐",7,"嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀",11,"噏",4,"噕噖噚噛噝",4], +["8780","噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽",7,"嚇",6,"嚐嚑嚒嚔",14,"嚤",10,"嚰",6,"嚸嚹嚺嚻嚽",12,"囋",8,"囕囖囘囙囜団囥",5,"囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國",6], +["8840","園",9,"圝圞圠圡圢圤圥圦圧圫圱圲圴",4,"圼圽圿坁坃坄坅坆坈坉坋坒",4,"坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀"], +["8880","垁垇垈垉垊垍",4,"垔",6,"垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹",8,"埄",6,"埌埍埐埑埓埖埗埛埜埞埡埢埣埥",7,"埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥",4,"堫",4,"報堲堳場堶",7], +["8940","堾",5,"塅",6,"塎塏塐塒塓塕塖塗塙",4,"塟",5,"塦",4,"塭",16,"塿墂墄墆墇墈墊墋墌"], +["8980","墍",4,"墔",4,"墛墜墝墠",7,"墪",17,"墽墾墿壀壂壃壄壆",10,"壒壓壔壖",13,"壥",5,"壭壯壱売壴壵壷壸壺",7,"夃夅夆夈",4,"夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻"], +["8a40","夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛",4,"奡奣奤奦",12,"奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦"], +["8a80","妧妬妭妰妱妳",5,"妺妼妽妿",6,"姇姈姉姌姍姎姏姕姖姙姛姞",4,"姤姦姧姩姪姫姭",11,"姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪",6,"娳娵娷",4,"娽娾娿婁",4,"婇婈婋",9,"婖婗婘婙婛",5], +["8b40","婡婣婤婥婦婨婩婫",8,"婸婹婻婼婽婾媀",17,"媓",6,"媜",13,"媫媬"], +["8b80","媭",4,"媴媶媷媹",4,"媿嫀嫃",5,"嫊嫋嫍",4,"嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬",4,"嫲",22,"嬊",11,"嬘",25,"嬳嬵嬶嬸",7,"孁",6], +["8c40","孈",7,"孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏"], +["8c80","寑寔",8,"寠寢寣實寧審",4,"寯寱",6,"寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧",6,"屰屲",6,"屻屼屽屾岀岃",4,"岉岊岋岎岏岒岓岕岝",4,"岤",4], +["8d40","岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅",5,"峌",5,"峓",5,"峚",6,"峢峣峧峩峫峬峮峯峱",9,"峼",4], +["8d80","崁崄崅崈",5,"崏",4,"崕崗崘崙崚崜崝崟",4,"崥崨崪崫崬崯",4,"崵",7,"崿",7,"嵈嵉嵍",10,"嵙嵚嵜嵞",10,"嵪嵭嵮嵰嵱嵲嵳嵵",12,"嶃",21,"嶚嶛嶜嶞嶟嶠"], +["8e40","嶡",21,"嶸",12,"巆",6,"巎",12,"巜巟巠巣巤巪巬巭"], +["8e80","巰巵巶巸",4,"巿帀帄帇帉帊帋帍帎帒帓帗帞",7,"帨",4,"帯帰帲",4,"帹帺帾帿幀幁幃幆",5,"幍",6,"幖",4,"幜幝幟幠幣",14,"幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨",4,"庮",4,"庴庺庻庼庽庿",6], +["8f40","廆廇廈廋",5,"廔廕廗廘廙廚廜",11,"廩廫",8,"廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤"], +["8f80","弨弫弬弮弰弲",6,"弻弽弾弿彁",14,"彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢",5,"復徫徬徯",5,"徶徸徹徺徻徾",4,"忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇"], +["9040","怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰",4,"怶",4,"怽怾恀恄",6,"恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀"], +["9080","悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽",7,"惇惈惉惌",4,"惒惓惔惖惗惙惛惞惡",4,"惪惱惲惵惷惸惻",4,"愂愃愄愅愇愊愋愌愐",4,"愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬",18,"慀",6], +["9140","慇慉態慍慏慐慒慓慔慖",6,"慞慟慠慡慣慤慥慦慩",6,"慱慲慳慴慶慸",18,"憌憍憏",4,"憕"], +["9180","憖",6,"憞",8,"憪憫憭",9,"憸",5,"憿懀懁懃",4,"應懌",4,"懓懕",16,"懧",13,"懶",8,"戀",5,"戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸",4,"扂扄扅扆扊"], +["9240","扏扐払扖扗扙扚扜",6,"扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋",5,"抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁"], +["9280","拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳",5,"挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖",7,"捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙",6,"採掤掦掫掯掱掲掵掶掹掻掽掿揀"], +["9340","揁揂揃揅揇揈揊揋揌揑揓揔揕揗",6,"揟揢揤",4,"揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆",4,"損搎搑搒搕",5,"搝搟搢搣搤"], +["9380","搥搧搨搩搫搮",5,"搵",4,"搻搼搾摀摂摃摉摋",6,"摓摕摖摗摙",4,"摟",7,"摨摪摫摬摮",9,"摻",6,"撃撆撈",8,"撓撔撗撘撚撛撜撝撟",4,"撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆",6,"擏擑擓擔擕擖擙據"], +["9440","擛擜擝擟擠擡擣擥擧",24,"攁",7,"攊",7,"攓",4,"攙",8], +["9480","攢攣攤攦",4,"攬攭攰攱攲攳攷攺攼攽敀",4,"敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數",14,"斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱",7,"斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘",7,"旡旣旤旪旫"], +["9540","旲旳旴旵旸旹旻",4,"昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷",4,"昽昿晀時晄",6,"晍晎晐晑晘"], +["9580","晙晛晜晝晞晠晢晣晥晧晩",4,"晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘",4,"暞",8,"暩",4,"暯",4,"暵暶暷暸暺暻暼暽暿",25,"曚曞",7,"曧曨曪",5,"曱曵曶書曺曻曽朁朂會"], +["9640","朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠",5,"朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗",4,"杝杢杣杤杦杧杫杬杮東杴杶"], +["9680","杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹",7,"柂柅",9,"柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵",7,"柾栁栂栃栄栆栍栐栒栔栕栘",4,"栞栟栠栢",6,"栫",6,"栴栵栶栺栻栿桇桋桍桏桒桖",5], +["9740","桜桝桞桟桪桬",7,"桵桸",8,"梂梄梇",7,"梐梑梒梔梕梖梘",9,"梣梤梥梩梪梫梬梮梱梲梴梶梷梸"], +["9780","梹",6,"棁棃",5,"棊棌棎棏棐棑棓棔棖棗棙棛",4,"棡棢棤",9,"棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆",4,"椌椏椑椓",11,"椡椢椣椥",7,"椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃",16,"楕楖楘楙楛楜楟"], +["9840","楡楢楤楥楧楨楩楪楬業楯楰楲",4,"楺楻楽楾楿榁榃榅榊榋榌榎",5,"榖榗榙榚榝",9,"榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽"], +["9880","榾榿槀槂",7,"構槍槏槑槒槓槕",5,"槜槝槞槡",11,"槮槯槰槱槳",9,"槾樀",9,"樋",11,"標",5,"樠樢",5,"権樫樬樭樮樰樲樳樴樶",6,"樿",4,"橅橆橈",7,"橑",6,"橚"], +["9940","橜",4,"橢橣橤橦",10,"橲",6,"橺橻橽橾橿檁檂檃檅",8,"檏檒",4,"檘",7,"檡",5], +["9980","檧檨檪檭",114,"欥欦欨",6], +["9a40","欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍",11,"歚",7,"歨歩歫",13,"歺歽歾歿殀殅殈"], +["9a80","殌殎殏殐殑殔殕殗殘殙殜",4,"殢",7,"殫",7,"殶殸",6,"毀毃毄毆",4,"毌毎毐毑毘毚毜",4,"毢",7,"毬毭毮毰毱毲毴毶毷毸毺毻毼毾",6,"氈",4,"氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋",4,"汑汒汓汖汘"], +["9b40","汙汚汢汣汥汦汧汫",4,"汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘"], +["9b80","泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟",5,"洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽",4,"涃涄涆涇涊涋涍涏涐涒涖",4,"涜涢涥涬涭涰涱涳涴涶涷涹",5,"淁淂淃淈淉淊"], +["9c40","淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽",7,"渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵"], +["9c80","渶渷渹渻",7,"湅",7,"湏湐湑湒湕湗湙湚湜湝湞湠",10,"湬湭湯",14,"満溁溂溄溇溈溊",4,"溑",6,"溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪",5], +["9d40","滰滱滲滳滵滶滷滸滺",7,"漃漄漅漇漈漊",4,"漐漑漒漖",9,"漡漢漣漥漦漧漨漬漮漰漲漴漵漷",6,"漿潀潁潂"], +["9d80","潃潄潅潈潉潊潌潎",9,"潙潚潛潝潟潠潡潣潤潥潧",5,"潯潰潱潳潵潶潷潹潻潽",6,"澅澆澇澊澋澏",12,"澝澞澟澠澢",4,"澨",10,"澴澵澷澸澺",5,"濁濃",5,"濊",6,"濓",10,"濟濢濣濤濥"], +["9e40","濦",7,"濰",32,"瀒",7,"瀜",6,"瀤",6], +["9e80","瀫",9,"瀶瀷瀸瀺",17,"灍灎灐",13,"灟",11,"灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞",12,"炰炲炴炵炶為炾炿烄烅烆烇烉烋",12,"烚"], +["9f40","烜烝烞烠烡烢烣烥烪烮烰",6,"烸烺烻烼烾",10,"焋",4,"焑焒焔焗焛",10,"焧",7,"焲焳焴"], +["9f80","焵焷",13,"煆煇煈煉煋煍煏",12,"煝煟",4,"煥煩",4,"煯煰煱煴煵煶煷煹煻煼煾",5,"熅",4,"熋熌熍熎熐熑熒熓熕熖熗熚",4,"熡",6,"熩熪熫熭",5,"熴熶熷熸熺",8,"燄",9,"燏",4], +["a040","燖",9,"燡燢燣燤燦燨",5,"燯",9,"燺",11,"爇",19], +["a080","爛爜爞",9,"爩爫爭爮爯爲爳爴爺爼爾牀",6,"牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅",4,"犌犎犐犑犓",11,"犠",11,"犮犱犲犳犵犺",6,"狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛"], +["a1a1"," 、。·ˉˇ¨〃々—~‖…‘’“”〔〕〈",7,"〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓"], +["a2a1","ⅰ",9], +["a2b1","⒈",19,"⑴",19,"①",9], +["a2e5","㈠",9], +["a2f1","Ⅰ",11], +["a3a1","!"#¥%",88," ̄"], +["a4a1","ぁ",82], +["a5a1","ァ",85], +["a6a1","Α",16,"Σ",6], +["a6c1","α",16,"σ",6], +["a6e0","︵︶︹︺︿﹀︽︾﹁﹂﹃﹄"], +["a6ee","︻︼︷︸︱"], +["a6f4","︳︴"], +["a7a1","А",5,"ЁЖ",25], +["a7d1","а",5,"ёж",25], +["a840","ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═",35,"▁",6], +["a880","█",7,"▓▔▕▼▽◢◣◤◥☉⊕〒〝〞"], +["a8a1","āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ"], +["a8bd","ńň"], +["a8c0","ɡ"], +["a8c5","ㄅ",36], +["a940","〡",8,"㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰¬¦"], +["a959","℡㈱"], +["a95c","‐"], +["a960","ー゛゜ヽヾ〆ゝゞ﹉",9,"﹔﹕﹖﹗﹙",8], +["a980","﹢",4,"﹨﹩﹪﹫"], +["a996","〇"], +["a9a4","─",75], +["aa40","狜狝狟狢",5,"狪狫狵狶狹狽狾狿猀猂猄",5,"猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀",8], +["aa80","獉獊獋獌獎獏獑獓獔獕獖獘",7,"獡",10,"獮獰獱"], +["ab40","獲",11,"獿",4,"玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣",5,"玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃",4], +["ab80","珋珌珎珒",6,"珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳",4], +["ac40","珸",10,"琄琇琈琋琌琍琎琑",8,"琜",5,"琣琤琧琩琫琭琯琱琲琷",4,"琽琾琿瑀瑂",11], +["ac80","瑎",6,"瑖瑘瑝瑠",12,"瑮瑯瑱",4,"瑸瑹瑺"], +["ad40","瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑",10,"璝璟",7,"璪",15,"璻",12], +["ad80","瓈",9,"瓓",8,"瓝瓟瓡瓥瓧",6,"瓰瓱瓲"], +["ae40","瓳瓵瓸",6,"甀甁甂甃甅",7,"甎甐甒甔甕甖甗甛甝甞甠",4,"甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘"], +["ae80","畝",7,"畧畨畩畫",6,"畳畵當畷畺",4,"疀疁疂疄疅疇"], +["af40","疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦",4,"疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇"], +["af80","瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄"], +["b040","癅",6,"癎",5,"癕癗",4,"癝癟癠癡癢癤",6,"癬癭癮癰",7,"癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛"], +["b080","皜",7,"皥",8,"皯皰皳皵",9,"盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥"], +["b140","盄盇盉盋盌盓盕盙盚盜盝盞盠",4,"盦",7,"盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎",10,"眛眜眝眞眡眣眤眥眧眪眫"], +["b180","眬眮眰",4,"眹眻眽眾眿睂睄睅睆睈",7,"睒",7,"睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳"], +["b240","睝睞睟睠睤睧睩睪睭",11,"睺睻睼瞁瞂瞃瞆",5,"瞏瞐瞓",11,"瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶",4], +["b280","瞼瞾矀",12,"矎",8,"矘矙矚矝",4,"矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖"], +["b340","矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃",5,"砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚"], +["b380","硛硜硞",11,"硯",7,"硸硹硺硻硽",6,"场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚"], +["b440","碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨",7,"碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚",9], +["b480","磤磥磦磧磩磪磫磭",4,"磳磵磶磸磹磻",5,"礂礃礄礆",6,"础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮"], +["b540","礍",5,"礔",9,"礟",4,"礥",14,"礵",4,"礽礿祂祃祄祅祇祊",8,"祔祕祘祙祡祣"], +["b580","祤祦祩祪祫祬祮祰",6,"祹祻",4,"禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠"], +["b640","禓",6,"禛",11,"禨",10,"禴",4,"禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙",5,"秠秡秢秥秨秪"], +["b680","秬秮秱",6,"秹秺秼秾秿稁稄稅稇稈稉稊稌稏",4,"稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二"], +["b740","稝稟稡稢稤",14,"稴稵稶稸稺稾穀",5,"穇",9,"穒",4,"穘",16], +["b780","穩",6,"穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服"], +["b840","窣窤窧窩窪窫窮",4,"窴",10,"竀",10,"竌",9,"竗竘竚竛竜竝竡竢竤竧",5,"竮竰竱竲竳"], +["b880","竴",4,"竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹"], +["b940","笯笰笲笴笵笶笷笹笻笽笿",5,"筆筈筊筍筎筓筕筗筙筜筞筟筡筣",10,"筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆",6,"箎箏"], +["b980","箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹",7,"篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈"], +["ba40","篅篈築篊篋篍篎篏篐篒篔",4,"篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲",4,"篸篹篺篻篽篿",7,"簈簉簊簍簎簐",5,"簗簘簙"], +["ba80","簚",4,"簠",5,"簨簩簫",12,"簹",5,"籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖"], +["bb40","籃",9,"籎",36,"籵",5,"籾",9], +["bb80","粈粊",6,"粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴",4,"粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕"], +["bc40","粿糀糂糃糄糆糉糋糎",6,"糘糚糛糝糞糡",6,"糩",5,"糰",7,"糹糺糼",13,"紋",5], +["bc80","紑",14,"紡紣紤紥紦紨紩紪紬紭紮細",6,"肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件"], +["bd40","紷",54,"絯",7], +["bd80","絸",32,"健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸"], +["be40","継",12,"綧",6,"綯",42], +["be80","線",32,"尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻"], +["bf40","緻",62], +["bf80","縺縼",4,"繂",4,"繈",21,"俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀"], +["c040","繞",35,"纃",23,"纜纝纞"], +["c080","纮纴纻纼绖绤绬绹缊缐缞缷缹缻",6,"罃罆",9,"罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐"], +["c140","罖罙罛罜罝罞罠罣",4,"罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂",7,"羋羍羏",4,"羕",4,"羛羜羠羢羣羥羦羨",6,"羱"], +["c180","羳",4,"羺羻羾翀翂翃翄翆翇翈翉翋翍翏",4,"翖翗翙",5,"翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿"], +["c240","翤翧翨翪翫翬翭翯翲翴",6,"翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫",5,"耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗"], +["c280","聙聛",13,"聫",5,"聲",11,"隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫"], +["c340","聾肁肂肅肈肊肍",5,"肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇",4,"胏",6,"胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋"], +["c380","脌脕脗脙脛脜脝脟",12,"脭脮脰脳脴脵脷脹",4,"脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸"], +["c440","腀",5,"腇腉腍腎腏腒腖腗腘腛",4,"腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃",4,"膉膋膌膍膎膐膒",5,"膙膚膞",4,"膤膥"], +["c480","膧膩膫",7,"膴",5,"膼膽膾膿臄臅臇臈臉臋臍",6,"摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁"], +["c540","臔",14,"臤臥臦臨臩臫臮",4,"臵",5,"臽臿舃與",4,"舎舏舑舓舕",5,"舝舠舤舥舦舧舩舮舲舺舼舽舿"], +["c580","艀艁艂艃艅艆艈艊艌艍艎艐",7,"艙艛艜艝艞艠",7,"艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗"], +["c640","艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸"], +["c680","苺苼",4,"茊茋茍茐茒茓茖茘茙茝",9,"茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐"], +["c740","茾茿荁荂荄荅荈荊",4,"荓荕",4,"荝荢荰",6,"荹荺荾",6,"莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡",6,"莬莭莮"], +["c780","莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠"], +["c840","菮華菳",4,"菺菻菼菾菿萀萂萅萇萈萉萊萐萒",5,"萙萚萛萞",5,"萩",7,"萲",5,"萹萺萻萾",7,"葇葈葉"], +["c880","葊",6,"葒",4,"葘葝葞葟葠葢葤",4,"葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁"], +["c940","葽",4,"蒃蒄蒅蒆蒊蒍蒏",7,"蒘蒚蒛蒝蒞蒟蒠蒢",12,"蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗"], +["c980","蓘",4,"蓞蓡蓢蓤蓧",4,"蓭蓮蓯蓱",10,"蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳"], +["ca40","蔃",8,"蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢",8,"蔭",9,"蔾",4,"蕄蕅蕆蕇蕋",10], +["ca80","蕗蕘蕚蕛蕜蕝蕟",4,"蕥蕦蕧蕩",8,"蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱"], +["cb40","薂薃薆薈",6,"薐",10,"薝",6,"薥薦薧薩薫薬薭薱",5,"薸薺",6,"藂",6,"藊",4,"藑藒"], +["cb80","藔藖",5,"藝",6,"藥藦藧藨藪",14,"恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔"], +["cc40","藹藺藼藽藾蘀",4,"蘆",10,"蘒蘓蘔蘕蘗",15,"蘨蘪",13,"蘹蘺蘻蘽蘾蘿虀"], +["cc80","虁",11,"虒虓處",4,"虛虜虝號虠虡虣",7,"獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃"], +["cd40","虭虯虰虲",6,"蚃",6,"蚎",4,"蚔蚖",5,"蚞",4,"蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻",4,"蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜"], +["cd80","蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威"], +["ce40","蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀",6,"蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚",5,"蝡蝢蝦",7,"蝯蝱蝲蝳蝵"], +["ce80","蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎",4,"螔螕螖螘",6,"螠",4,"巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺"], +["cf40","螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁",4,"蟇蟈蟉蟌",4,"蟔",6,"蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯",9], +["cf80","蟺蟻蟼蟽蟿蠀蠁蠂蠄",5,"蠋",7,"蠔蠗蠘蠙蠚蠜",4,"蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓"], +["d040","蠤",13,"蠳",5,"蠺蠻蠽蠾蠿衁衂衃衆",5,"衎",5,"衕衖衘衚",6,"衦衧衪衭衯衱衳衴衵衶衸衹衺"], +["d080","衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗",4,"袝",4,"袣袥",5,"小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄"], +["d140","袬袮袯袰袲",4,"袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚",4,"裠裡裦裧裩",6,"裲裵裶裷裺裻製裿褀褁褃",5], +["d180","褉褋",4,"褑褔",4,"褜",4,"褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶"], +["d240","褸",8,"襂襃襅",24,"襠",5,"襧",19,"襼"], +["d280","襽襾覀覂覄覅覇",26,"摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐"], +["d340","覢",30,"觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴",6], +["d380","觻",4,"訁",5,"計",21,"印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉"], +["d440","訞",31,"訿",8,"詉",21], +["d480","詟",25,"詺",6,"浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧"], +["d540","誁",7,"誋",7,"誔",46], +["d580","諃",32,"铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政"], +["d640","諤",34,"謈",27], +["d680","謤謥謧",30,"帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑"], +["d740","譆",31,"譧",4,"譭",25], +["d780","讇",24,"讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座"], +["d840","谸",8,"豂豃豄豅豈豊豋豍",7,"豖豗豘豙豛",5,"豣",6,"豬",6,"豴豵豶豷豻",6,"貃貄貆貇"], +["d880","貈貋貍",6,"貕貖貗貙",20,"亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝"], +["d940","貮",62], +["d980","賭",32,"佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼"], +["da40","贎",14,"贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸",8,"趂趃趆趇趈趉趌",4,"趒趓趕",9,"趠趡"], +["da80","趢趤",12,"趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺"], +["db40","跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾",6,"踆踇踈踋踍踎踐踑踒踓踕",7,"踠踡踤",4,"踫踭踰踲踳踴踶踷踸踻踼踾"], +["db80","踿蹃蹅蹆蹌",4,"蹓",5,"蹚",11,"蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝"], +["dc40","蹳蹵蹷",4,"蹽蹾躀躂躃躄躆躈",6,"躑躒躓躕",6,"躝躟",11,"躭躮躰躱躳",6,"躻",7], +["dc80","軃",10,"軏",21,"堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥"], +["dd40","軥",62], +["dd80","輤",32,"荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺"], +["de40","轅",32,"轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆"], +["de80","迉",4,"迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖"], +["df40","這逜連逤逥逧",5,"逰",4,"逷逹逺逽逿遀遃遅遆遈",4,"過達違遖遙遚遜",5,"遤遦遧適遪遫遬遯",4,"遶",6,"遾邁"], +["df80","還邅邆邇邉邊邌",4,"邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼"], +["e040","郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅",19,"鄚鄛鄜"], +["e080","鄝鄟鄠鄡鄤",10,"鄰鄲",6,"鄺",8,"酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼"], +["e140","酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀",4,"醆醈醊醎醏醓",6,"醜",5,"醤",5,"醫醬醰醱醲醳醶醷醸醹醻"], +["e180","醼",10,"釈釋釐釒",9,"針",8,"帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺"], +["e240","釦",62], +["e280","鈥",32,"狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧",5,"饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂"], +["e340","鉆",45,"鉵",16], +["e380","銆",7,"銏",24,"恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾"], +["e440","銨",5,"銯",24,"鋉",31], +["e480","鋩",32,"洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑"], +["e540","錊",51,"錿",10], +["e580","鍊",31,"鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣"], +["e640","鍬",34,"鎐",27], +["e680","鎬",29,"鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩"], +["e740","鏎",7,"鏗",54], +["e780","鐎",32,"纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡",6,"缪缫缬缭缯",4,"缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬"], +["e840","鐯",14,"鐿",43,"鑬鑭鑮鑯"], +["e880","鑰",20,"钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹"], +["e940","锧锳锽镃镈镋镕镚镠镮镴镵長",7,"門",42], +["e980","閫",32,"椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋"], +["ea40","闌",27,"闬闿阇阓阘阛阞阠阣",6,"阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗"], +["ea80","陘陙陚陜陝陞陠陣陥陦陫陭",4,"陳陸",12,"隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰"], +["eb40","隌階隑隒隓隕隖隚際隝",9,"隨",7,"隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖",9,"雡",6,"雫"], +["eb80","雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗",4,"霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻"], +["ec40","霡",8,"霫霬霮霯霱霳",4,"霺霻霼霽霿",18,"靔靕靗靘靚靜靝靟靣靤靦靧靨靪",7], +["ec80","靲靵靷",4,"靽",7,"鞆",4,"鞌鞎鞏鞐鞓鞕鞖鞗鞙",4,"臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐"], +["ed40","鞞鞟鞡鞢鞤",6,"鞬鞮鞰鞱鞳鞵",46], +["ed80","韤韥韨韮",4,"韴韷",23,"怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨"], +["ee40","頏",62], +["ee80","顎",32,"睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶",4,"钼钽钿铄铈",6,"铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪"], +["ef40","顯",5,"颋颎颒颕颙颣風",37,"飏飐飔飖飗飛飜飝飠",4], +["ef80","飥飦飩",30,"铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒",4,"锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤",8,"镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔"], +["f040","餈",4,"餎餏餑",28,"餯",26], +["f080","饊",9,"饖",12,"饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨",4,"鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦",6,"鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙"], +["f140","馌馎馚",10,"馦馧馩",47], +["f180","駙",32,"瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃"], +["f240","駺",62], +["f280","騹",32,"颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒"], +["f340","驚",17,"驲骃骉骍骎骔骕骙骦骩",6,"骲骳骴骵骹骻骽骾骿髃髄髆",4,"髍髎髏髐髒體髕髖髗髙髚髛髜"], +["f380","髝髞髠髢髣髤髥髧髨髩髪髬髮髰",8,"髺髼",6,"鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋"], +["f440","鬇鬉",5,"鬐鬑鬒鬔",10,"鬠鬡鬢鬤",10,"鬰鬱鬳",7,"鬽鬾鬿魀魆魊魋魌魎魐魒魓魕",5], +["f480","魛",32,"簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤"], +["f540","魼",62], +["f580","鮻",32,"酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜"], +["f640","鯜",62], +["f680","鰛",32,"觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅",5,"龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞",5,"鲥",4,"鲫鲭鲮鲰",7,"鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋"], +["f740","鰼",62], +["f780","鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾",4,"鳈鳉鳑鳒鳚鳛鳠鳡鳌",4,"鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄"], +["f840","鳣",62], +["f880","鴢",32], +["f940","鵃",62], +["f980","鶂",32], +["fa40","鶣",62], +["fa80","鷢",32], +["fb40","鸃",27,"鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴",9,"麀"], +["fb80","麁麃麄麅麆麉麊麌",5,"麔",8,"麞麠",5,"麧麨麩麪"], +["fc40","麫",8,"麵麶麷麹麺麼麿",4,"黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰",8,"黺黽黿",6], +["fc80","鼆",4,"鼌鼏鼑鼒鼔鼕鼖鼘鼚",5,"鼡鼣",8,"鼭鼮鼰鼱"], +["fd40","鼲",4,"鼸鼺鼼鼿",4,"齅",10,"齒",38], +["fd80","齹",5,"龁龂龍",11,"龜龝龞龡",4,"郎凉秊裏隣"], +["fe40","兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩"] +] diff --git a/node_modules/iconv-lite/encodings/tables/cp949.json b/node_modules/iconv-lite/encodings/tables/cp949.json new file mode 100644 index 0000000..2022a00 --- /dev/null +++ b/node_modules/iconv-lite/encodings/tables/cp949.json @@ -0,0 +1,273 @@ +[ +["0","\u0000",127], +["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"], +["8161","갵갶갷갺갻갽갾갿걁",9,"걌걎",5,"걕"], +["8181","걖걗걙걚걛걝",18,"걲걳걵걶걹걻",4,"겂겇겈겍겎겏겑겒겓겕",6,"겞겢",5,"겫겭겮겱",6,"겺겾겿곀곂곃곅곆곇곉곊곋곍",7,"곖곘",7,"곢곣곥곦곩곫곭곮곲곴곷",4,"곾곿괁괂괃괅괇",4,"괎괐괒괓"], +["8241","괔괕괖괗괙괚괛괝괞괟괡",7,"괪괫괮",5], +["8261","괶괷괹괺괻괽",6,"굆굈굊",5,"굑굒굓굕굖굗"], +["8281","굙",7,"굢굤",7,"굮굯굱굲굷굸굹굺굾궀궃",4,"궊궋궍궎궏궑",10,"궞",5,"궥",17,"궸",7,"귂귃귅귆귇귉",6,"귒귔",7,"귝귞귟귡귢귣귥",18], +["8341","귺귻귽귾긂",5,"긊긌긎",5,"긕",7], +["8361","긝",18,"긲긳긵긶긹긻긼"], +["8381","긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗",4,"깞깢깣깤깦깧깪깫깭깮깯깱",6,"깺깾",5,"꺆",5,"꺍",46,"꺿껁껂껃껅",6,"껎껒",5,"껚껛껝",8], +["8441","껦껧껩껪껬껮",5,"껵껶껷껹껺껻껽",8], +["8461","꼆꼉꼊꼋꼌꼎꼏꼑",18], +["8481","꼤",7,"꼮꼯꼱꼳꼵",6,"꼾꽀꽄꽅꽆꽇꽊",5,"꽑",10,"꽞",5,"꽦",18,"꽺",5,"꾁꾂꾃꾅꾆꾇꾉",6,"꾒꾓꾔꾖",5,"꾝",26,"꾺꾻꾽꾾"], +["8541","꾿꿁",5,"꿊꿌꿏",4,"꿕",6,"꿝",4], +["8561","꿢",5,"꿪",5,"꿲꿳꿵꿶꿷꿹",6,"뀂뀃"], +["8581","뀅",6,"뀍뀎뀏뀑뀒뀓뀕",6,"뀞",9,"뀩",26,"끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞",29,"끾끿낁낂낃낅",6,"낎낐낒",5,"낛낝낞낣낤"], +["8641","낥낦낧낪낰낲낶낷낹낺낻낽",6,"냆냊",5,"냒"], +["8661","냓냕냖냗냙",6,"냡냢냣냤냦",10], +["8681","냱",22,"넊넍넎넏넑넔넕넖넗넚넞",4,"넦넧넩넪넫넭",6,"넶넺",5,"녂녃녅녆녇녉",6,"녒녓녖녗녙녚녛녝녞녟녡",22,"녺녻녽녾녿놁놃",4,"놊놌놎놏놐놑놕놖놗놙놚놛놝"], +["8741","놞",9,"놩",15], +["8761","놹",18,"뇍뇎뇏뇑뇒뇓뇕"], +["8781","뇖",5,"뇞뇠",7,"뇪뇫뇭뇮뇯뇱",7,"뇺뇼뇾",5,"눆눇눉눊눍",6,"눖눘눚",5,"눡",18,"눵",6,"눽",26,"뉙뉚뉛뉝뉞뉟뉡",6,"뉪",4], +["8841","뉯",4,"뉶",5,"뉽",6,"늆늇늈늊",4], +["8861","늏늒늓늕늖늗늛",4,"늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷"], +["8881","늸",15,"닊닋닍닎닏닑닓",4,"닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉",6,"댒댖",5,"댝",54,"덗덙덚덝덠덡덢덣"], +["8941","덦덨덪덬덭덯덲덳덵덶덷덹",6,"뎂뎆",5,"뎍"], +["8961","뎎뎏뎑뎒뎓뎕",10,"뎢",5,"뎩뎪뎫뎭"], +["8981","뎮",21,"돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩",18,"돽",18,"됑",6,"됙됚됛됝됞됟됡",6,"됪됬",7,"됵",15], +["8a41","둅",10,"둒둓둕둖둗둙",6,"둢둤둦"], +["8a61","둧",4,"둭",18,"뒁뒂"], +["8a81","뒃",4,"뒉",19,"뒞",5,"뒥뒦뒧뒩뒪뒫뒭",7,"뒶뒸뒺",5,"듁듂듃듅듆듇듉",6,"듑듒듓듔듖",5,"듞듟듡듢듥듧",4,"듮듰듲",5,"듹",26,"딖딗딙딚딝"], +["8b41","딞",5,"딦딫",4,"딲딳딵딶딷딹",6,"땂땆"], +["8b61","땇땈땉땊땎땏땑땒땓땕",6,"땞땢",8], +["8b81","땫",52,"떢떣떥떦떧떩떬떭떮떯떲떶",4,"떾떿뗁뗂뗃뗅",6,"뗎뗒",5,"뗙",18,"뗭",18], +["8c41","똀",15,"똒똓똕똖똗똙",4], +["8c61","똞",6,"똦",5,"똭",6,"똵",5], +["8c81","똻",12,"뙉",26,"뙥뙦뙧뙩",50,"뚞뚟뚡뚢뚣뚥",5,"뚭뚮뚯뚰뚲",16], +["8d41","뛃",16,"뛕",8], +["8d61","뛞",17,"뛱뛲뛳뛵뛶뛷뛹뛺"], +["8d81","뛻",4,"뜂뜃뜄뜆",33,"뜪뜫뜭뜮뜱",6,"뜺뜼",7,"띅띆띇띉띊띋띍",6,"띖",9,"띡띢띣띥띦띧띩",6,"띲띴띶",5,"띾띿랁랂랃랅",6,"랎랓랔랕랚랛랝랞"], +["8e41","랟랡",6,"랪랮",5,"랶랷랹",8], +["8e61","럂",4,"럈럊",19], +["8e81","럞",13,"럮럯럱럲럳럵",6,"럾렂",4,"렊렋렍렎렏렑",6,"렚렜렞",5,"렦렧렩렪렫렭",6,"렶렺",5,"롁롂롃롅",11,"롒롔",7,"롞롟롡롢롣롥",6,"롮롰롲",5,"롹롺롻롽",7], +["8f41","뢅",7,"뢎",17], +["8f61","뢠",7,"뢩",6,"뢱뢲뢳뢵뢶뢷뢹",4], +["8f81","뢾뢿룂룄룆",5,"룍룎룏룑룒룓룕",7,"룞룠룢",5,"룪룫룭룮룯룱",6,"룺룼룾",5,"뤅",18,"뤙",6,"뤡",26,"뤾뤿륁륂륃륅",6,"륍륎륐륒",5], +["9041","륚륛륝륞륟륡",6,"륪륬륮",5,"륶륷륹륺륻륽"], +["9061","륾",5,"릆릈릋릌릏",15], +["9081","릟",12,"릮릯릱릲릳릵",6,"릾맀맂",5,"맊맋맍맓",4,"맚맜맟맠맢맦맧맩맪맫맭",6,"맶맻",4,"먂",5,"먉",11,"먖",33,"먺먻먽먾먿멁멃멄멅멆"], +["9141","멇멊멌멏멐멑멒멖멗멙멚멛멝",6,"멦멪",5], +["9161","멲멳멵멶멷멹",9,"몆몈몉몊몋몍",5], +["9181","몓",20,"몪몭몮몯몱몳",4,"몺몼몾",5,"뫅뫆뫇뫉",14,"뫚",33,"뫽뫾뫿묁묂묃묅",7,"묎묐묒",5,"묙묚묛묝묞묟묡",6], +["9241","묨묪묬",7,"묷묹묺묿",4,"뭆뭈뭊뭋뭌뭎뭑뭒"], +["9261","뭓뭕뭖뭗뭙",7,"뭢뭤",7,"뭭",4], +["9281","뭲",21,"뮉뮊뮋뮍뮎뮏뮑",18,"뮥뮦뮧뮩뮪뮫뮭",6,"뮵뮶뮸",7,"믁믂믃믅믆믇믉",6,"믑믒믔",35,"믺믻믽믾밁"], +["9341","밃",4,"밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵"], +["9361","밶밷밹",6,"뱂뱆뱇뱈뱊뱋뱎뱏뱑",8], +["9381","뱚뱛뱜뱞",37,"벆벇벉벊벍벏",4,"벖벘벛",4,"벢벣벥벦벩",6,"벲벶",5,"벾벿볁볂볃볅",7,"볎볒볓볔볖볗볙볚볛볝",22,"볷볹볺볻볽"], +["9441","볾",5,"봆봈봊",5,"봑봒봓봕",8], +["9461","봞",5,"봥",6,"봭",12], +["9481","봺",5,"뵁",6,"뵊뵋뵍뵎뵏뵑",6,"뵚",9,"뵥뵦뵧뵩",22,"붂붃붅붆붋",4,"붒붔붖붗붘붛붝",6,"붥",10,"붱",6,"붹",24], +["9541","뷒뷓뷖뷗뷙뷚뷛뷝",11,"뷪",5,"뷱"], +["9561","뷲뷳뷵뷶뷷뷹",6,"븁븂븄븆",5,"븎븏븑븒븓"], +["9581","븕",6,"븞븠",35,"빆빇빉빊빋빍빏",4,"빖빘빜빝빞빟빢빣빥빦빧빩빫",4,"빲빶",4,"빾빿뺁뺂뺃뺅",6,"뺎뺒",5,"뺚",13,"뺩",14], +["9641","뺸",23,"뻒뻓"], +["9661","뻕뻖뻙",6,"뻡뻢뻦",5,"뻭",8], +["9681","뻶",10,"뼂",5,"뼊",13,"뼚뼞",33,"뽂뽃뽅뽆뽇뽉",6,"뽒뽓뽔뽖",44], +["9741","뾃",16,"뾕",8], +["9761","뾞",17,"뾱",7], +["9781","뾹",11,"뿆",5,"뿎뿏뿑뿒뿓뿕",6,"뿝뿞뿠뿢",89,"쀽쀾쀿"], +["9841","쁀",16,"쁒",5,"쁙쁚쁛"], +["9861","쁝쁞쁟쁡",6,"쁪",15], +["9881","쁺",21,"삒삓삕삖삗삙",6,"삢삤삦",5,"삮삱삲삷",4,"삾샂샃샄샆샇샊샋샍샎샏샑",6,"샚샞",5,"샦샧샩샪샫샭",6,"샶샸샺",5,"섁섂섃섅섆섇섉",6,"섑섒섓섔섖",5,"섡섢섥섨섩섪섫섮"], +["9941","섲섳섴섵섷섺섻섽섾섿셁",6,"셊셎",5,"셖셗"], +["9961","셙셚셛셝",6,"셦셪",5,"셱셲셳셵셶셷셹셺셻"], +["9981","셼",8,"솆",5,"솏솑솒솓솕솗",4,"솞솠솢솣솤솦솧솪솫솭솮솯솱",11,"솾",5,"쇅쇆쇇쇉쇊쇋쇍",6,"쇕쇖쇙",6,"쇡쇢쇣쇥쇦쇧쇩",6,"쇲쇴",7,"쇾쇿숁숂숃숅",6,"숎숐숒",5,"숚숛숝숞숡숢숣"], +["9a41","숤숥숦숧숪숬숮숰숳숵",16], +["9a61","쉆쉇쉉",6,"쉒쉓쉕쉖쉗쉙",6,"쉡쉢쉣쉤쉦"], +["9a81","쉧",4,"쉮쉯쉱쉲쉳쉵",6,"쉾슀슂",5,"슊",5,"슑",6,"슙슚슜슞",5,"슦슧슩슪슫슮",5,"슶슸슺",33,"싞싟싡싢싥",5,"싮싰싲싳싴싵싷싺싽싾싿쌁",6,"쌊쌋쌎쌏"], +["9b41","쌐쌑쌒쌖쌗쌙쌚쌛쌝",6,"쌦쌧쌪",8], +["9b61","쌳",17,"썆",7], +["9b81","썎",25,"썪썫썭썮썯썱썳",4,"썺썻썾",5,"쎅쎆쎇쎉쎊쎋쎍",50,"쏁",22,"쏚"], +["9c41","쏛쏝쏞쏡쏣",4,"쏪쏫쏬쏮",5,"쏶쏷쏹",5], +["9c61","쏿",8,"쐉",6,"쐑",9], +["9c81","쐛",8,"쐥",6,"쐭쐮쐯쐱쐲쐳쐵",6,"쐾",9,"쑉",26,"쑦쑧쑩쑪쑫쑭",6,"쑶쑷쑸쑺",5,"쒁",18,"쒕",6,"쒝",12], +["9d41","쒪",13,"쒹쒺쒻쒽",8], +["9d61","쓆",25], +["9d81","쓠",8,"쓪",5,"쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂",9,"씍씎씏씑씒씓씕",6,"씝",10,"씪씫씭씮씯씱",6,"씺씼씾",5,"앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩",6,"앲앶",5,"앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔"], +["9e41","얖얙얚얛얝얞얟얡",7,"얪",9,"얶"], +["9e61","얷얺얿",4,"엋엍엏엒엓엕엖엗엙",6,"엢엤엦엧"], +["9e81","엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑",6,"옚옝",6,"옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉",6,"왒왖",5,"왞왟왡",10,"왭왮왰왲",5,"왺왻왽왾왿욁",6,"욊욌욎",5,"욖욗욙욚욛욝",6,"욦"], +["9f41","욨욪",5,"욲욳욵욶욷욻",4,"웂웄웆",5,"웎"], +["9f61","웏웑웒웓웕",6,"웞웟웢",5,"웪웫웭웮웯웱웲"], +["9f81","웳",4,"웺웻웼웾",5,"윆윇윉윊윋윍",6,"윖윘윚",5,"윢윣윥윦윧윩",6,"윲윴윶윸윹윺윻윾윿읁읂읃읅",4,"읋읎읐읙읚읛읝읞읟읡",6,"읩읪읬",7,"읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛",4,"잢잧",4,"잮잯잱잲잳잵잶잷"], +["a041","잸잹잺잻잾쟂",5,"쟊쟋쟍쟏쟑",6,"쟙쟚쟛쟜"], +["a061","쟞",5,"쟥쟦쟧쟩쟪쟫쟭",13], +["a081","쟻",4,"젂젃젅젆젇젉젋",4,"젒젔젗",4,"젞젟젡젢젣젥",6,"젮젰젲",5,"젹젺젻젽젾젿졁",6,"졊졋졎",5,"졕",26,"졲졳졵졶졷졹졻",4,"좂좄좈좉좊좎",5,"좕",7,"좞좠좢좣좤"], +["a141","좥좦좧좩",18,"좾좿죀죁"], +["a161","죂죃죅죆죇죉죊죋죍",6,"죖죘죚",5,"죢죣죥"], +["a181","죦",14,"죶",5,"죾죿줁줂줃줇",4,"줎 、。·‥…¨〃­―∥\∼‘’“”〔〕〈",9,"±×÷≠≤≥∞∴°′″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨¬"], +["a241","줐줒",5,"줙",18], +["a261","줭",6,"줵",18], +["a281","쥈",7,"쥒쥓쥕쥖쥗쥙",6,"쥢쥤",7,"쥭쥮쥯⇒⇔∀∃´~ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®"], +["a341","쥱쥲쥳쥵",6,"쥽",10,"즊즋즍즎즏"], +["a361","즑",6,"즚즜즞",16], +["a381","즯",16,"짂짃짅짆짉짋",4,"짒짔짗짘짛!",58,"₩]",32," ̄"], +["a441","짞짟짡짣짥짦짨짩짪짫짮짲",5,"짺짻짽짾짿쨁쨂쨃쨄"], +["a461","쨅쨆쨇쨊쨎",5,"쨕쨖쨗쨙",12], +["a481","쨦쨧쨨쨪",28,"ㄱ",93], +["a541","쩇",4,"쩎쩏쩑쩒쩓쩕",6,"쩞쩢",5,"쩩쩪"], +["a561","쩫",17,"쩾",5,"쪅쪆"], +["a581","쪇",16,"쪙",14,"ⅰ",9], +["a5b0","Ⅰ",9], +["a5c1","Α",16,"Σ",6], +["a5e1","α",16,"σ",6], +["a641","쪨",19,"쪾쪿쫁쫂쫃쫅"], +["a661","쫆",5,"쫎쫐쫒쫔쫕쫖쫗쫚",5,"쫡",6], +["a681","쫨쫩쫪쫫쫭",6,"쫵",18,"쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃",7], +["a741","쬋",4,"쬑쬒쬓쬕쬖쬗쬙",6,"쬢",7], +["a761","쬪",22,"쭂쭃쭄"], +["a781","쭅쭆쭇쭊쭋쭍쭎쭏쭑",6,"쭚쭛쭜쭞",5,"쭥",7,"㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙",9,"㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰",9,"㎀",4,"㎺",5,"㎐",4,"Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆"], +["a841","쭭",10,"쭺",14], +["a861","쮉",18,"쮝",6], +["a881","쮤",19,"쮹",11,"ÆÐªĦ"], +["a8a6","IJ"], +["a8a8","ĿŁØŒºÞŦŊ"], +["a8b1","㉠",27,"ⓐ",25,"①",14,"½⅓⅔¼¾⅛⅜⅝⅞"], +["a941","쯅",14,"쯕",10], +["a961","쯠쯡쯢쯣쯥쯦쯨쯪",18], +["a981","쯽",14,"찎찏찑찒찓찕",6,"찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀",27,"⒜",25,"⑴",14,"¹²³⁴ⁿ₁₂₃₄"], +["aa41","찥찦찪찫찭찯찱",6,"찺찿",4,"챆챇챉챊챋챍챎"], +["aa61","챏",4,"챖챚",5,"챡챢챣챥챧챩",6,"챱챲"], +["aa81","챳챴챶",29,"ぁ",82], +["ab41","첔첕첖첗첚첛첝첞첟첡",6,"첪첮",5,"첶첷첹"], +["ab61","첺첻첽",6,"쳆쳈쳊",5,"쳑쳒쳓쳕",5], +["ab81","쳛",8,"쳥",6,"쳭쳮쳯쳱",12,"ァ",85], +["ac41","쳾쳿촀촂",5,"촊촋촍촎촏촑",6,"촚촜촞촟촠"], +["ac61","촡촢촣촥촦촧촩촪촫촭",11,"촺",4], +["ac81","촿",28,"쵝쵞쵟А",5,"ЁЖ",25], +["acd1","а",5,"ёж",25], +["ad41","쵡쵢쵣쵥",6,"쵮쵰쵲",5,"쵹",7], +["ad61","춁",6,"춉",10,"춖춗춙춚춛춝춞춟"], +["ad81","춠춡춢춣춦춨춪",5,"춱",18,"췅"], +["ae41","췆",5,"췍췎췏췑",16], +["ae61","췢",5,"췩췪췫췭췮췯췱",6,"췺췼췾",4], +["ae81","츃츅츆츇츉츊츋츍",6,"츕츖츗츘츚",5,"츢츣츥츦츧츩츪츫"], +["af41","츬츭츮츯츲츴츶",19], +["af61","칊",13,"칚칛칝칞칢",5,"칪칬"], +["af81","칮",5,"칶칷칹칺칻칽",6,"캆캈캊",5,"캒캓캕캖캗캙"], +["b041","캚",5,"캢캦",5,"캮",12], +["b061","캻",5,"컂",19], +["b081","컖",13,"컦컧컩컪컭",6,"컶컺",5,"가각간갇갈갉갊감",7,"같",4,"갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆"], +["b141","켂켃켅켆켇켉",6,"켒켔켖",5,"켝켞켟켡켢켣"], +["b161","켥",6,"켮켲",5,"켹",11], +["b181","콅",14,"콖콗콙콚콛콝",6,"콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸"], +["b241","콭콮콯콲콳콵콶콷콹",6,"쾁쾂쾃쾄쾆",5,"쾍"], +["b261","쾎",18,"쾢",5,"쾩"], +["b281","쾪",5,"쾱",18,"쿅",6,"깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙"], +["b341","쿌",19,"쿢쿣쿥쿦쿧쿩"], +["b361","쿪",5,"쿲쿴쿶",5,"쿽쿾쿿퀁퀂퀃퀅",5], +["b381","퀋",5,"퀒",5,"퀙",19,"끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫",4,"낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝"], +["b441","퀮",5,"퀶퀷퀹퀺퀻퀽",6,"큆큈큊",5], +["b461","큑큒큓큕큖큗큙",6,"큡",10,"큮큯"], +["b481","큱큲큳큵",6,"큾큿킀킂",18,"뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫",4,"닳담답닷",4,"닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥"], +["b541","킕",14,"킦킧킩킪킫킭",5], +["b561","킳킶킸킺",5,"탂탃탅탆탇탊",5,"탒탖",4], +["b581","탛탞탟탡탢탣탥",6,"탮탲",5,"탹",11,"덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸"], +["b641","턅",7,"턎",17], +["b661","턠",15,"턲턳턵턶턷턹턻턼턽턾"], +["b681","턿텂텆",5,"텎텏텑텒텓텕",6,"텞텠텢",5,"텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗"], +["b741","텮",13,"텽",6,"톅톆톇톉톊"], +["b761","톋",20,"톢톣톥톦톧"], +["b781","톩",6,"톲톴톶톷톸톹톻톽톾톿퇁",14,"래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩"], +["b841","퇐",7,"퇙",17], +["b861","퇫",8,"퇵퇶퇷퇹",13], +["b881","툈툊",5,"툑",24,"륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많",4,"맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼"], +["b941","툪툫툮툯툱툲툳툵",6,"툾퉀퉂",5,"퉉퉊퉋퉌"], +["b961","퉍",14,"퉝",6,"퉥퉦퉧퉨"], +["b981","퉩",22,"튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바",4,"받",4,"밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗"], +["ba41","튍튎튏튒튓튔튖",5,"튝튞튟튡튢튣튥",6,"튭"], +["ba61","튮튯튰튲",5,"튺튻튽튾틁틃",4,"틊틌",5], +["ba81","틒틓틕틖틗틙틚틛틝",6,"틦",9,"틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤"], +["bb41","틻",4,"팂팄팆",5,"팏팑팒팓팕팗",4,"팞팢팣"], +["bb61","팤팦팧팪팫팭팮팯팱",6,"팺팾",5,"퍆퍇퍈퍉"], +["bb81","퍊",31,"빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤"], +["bc41","퍪",17,"퍾퍿펁펂펃펅펆펇"], +["bc61","펈펉펊펋펎펒",5,"펚펛펝펞펟펡",6,"펪펬펮"], +["bc81","펯",4,"펵펶펷펹펺펻펽",6,"폆폇폊",5,"폑",5,"샥샨샬샴샵샷샹섀섄섈섐섕서",4,"섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭"], +["bd41","폗폙",7,"폢폤",7,"폮폯폱폲폳폵폶폷"], +["bd61","폸폹폺폻폾퐀퐂",5,"퐉",13], +["bd81","퐗",5,"퐞",25,"숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰"], +["be41","퐸",7,"푁푂푃푅",14], +["be61","푔",7,"푝푞푟푡푢푣푥",7,"푮푰푱푲"], +["be81","푳",4,"푺푻푽푾풁풃",4,"풊풌풎",5,"풕",8,"쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄",6,"엌엎"], +["bf41","풞",10,"풪",14], +["bf61","풹",18,"퓍퓎퓏퓑퓒퓓퓕"], +["bf81","퓖",5,"퓝퓞퓠",7,"퓩퓪퓫퓭퓮퓯퓱",6,"퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염",5,"옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨"], +["c041","퓾",5,"픅픆픇픉픊픋픍",6,"픖픘",5], +["c061","픞",25], +["c081","픸픹픺픻픾픿핁핂핃핅",6,"핎핐핒",5,"핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응",7,"읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊"], +["c141","핤핦핧핪핬핮",5,"핶핷핹핺핻핽",6,"햆햊햋"], +["c161","햌햍햎햏햑",19,"햦햧"], +["c181","햨",31,"점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓"], +["c241","헊헋헍헎헏헑헓",4,"헚헜헞",5,"헦헧헩헪헫헭헮"], +["c261","헯",4,"헶헸헺",5,"혂혃혅혆혇혉",6,"혒"], +["c281","혖",5,"혝혞혟혡혢혣혥",7,"혮",9,"혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻"], +["c341","혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝",4], +["c361","홢",4,"홨홪",5,"홲홳홵",11], +["c381","횁횂횄횆",5,"횎횏횑횒횓횕",7,"횞횠횢",5,"횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층"], +["c441","횫횭횮횯횱",7,"횺횼",7,"훆훇훉훊훋"], +["c461","훍훎훏훐훒훓훕훖훘훚",5,"훡훢훣훥훦훧훩",4], +["c481","훮훯훱훲훳훴훶",5,"훾훿휁휂휃휅",11,"휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼"], +["c541","휕휖휗휚휛휝휞휟휡",6,"휪휬휮",5,"휶휷휹"], +["c561","휺휻휽",6,"흅흆흈흊",5,"흒흓흕흚",4], +["c581","흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵",6,"흾흿힀힂",5,"힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜"], +["c641","힍힎힏힑",6,"힚힜힞",5], +["c6a1","퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁"], +["c7a1","퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠"], +["c8a1","혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝"], +["caa1","伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕"], +["cba1","匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢"], +["cca1","瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械"], +["cda1","棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜"], +["cea1","科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾"], +["cfa1","區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴"], +["d0a1","鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣"], +["d1a1","朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩",5,"那樂",4,"諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉"], +["d2a1","納臘蠟衲囊娘廊",4,"乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧",5,"駑魯",10,"濃籠聾膿農惱牢磊腦賂雷尿壘",7,"嫩訥杻紐勒",5,"能菱陵尼泥匿溺多茶"], +["d3a1","丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃"], +["d4a1","棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅"], +["d5a1","蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣"], +["d6a1","煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼"], +["d7a1","遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬"], +["d8a1","立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅"], +["d9a1","蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文"], +["daa1","汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑"], +["dba1","發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖"], +["dca1","碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦"], +["dda1","孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥"], +["dea1","脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索"], +["dfa1","傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署"], +["e0a1","胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬"], +["e1a1","聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁"], +["e2a1","戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧"], +["e3a1","嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁"], +["e4a1","沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額"], +["e5a1","櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬"], +["e6a1","旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒"], +["e7a1","簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳"], +["e8a1","烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療"], +["e9a1","窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓"], +["eaa1","運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜"], +["eba1","濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼"], +["eca1","議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄"], +["eda1","立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長"], +["eea1","障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱"], +["efa1","煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖"], +["f0a1","靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫"], +["f1a1","踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只"], +["f2a1","咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯"], +["f3a1","鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策"], +["f4a1","責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢"], +["f5a1","椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃"], +["f6a1","贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託"], +["f7a1","鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑"], +["f8a1","阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃"], +["f9a1","品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航"], +["faa1","行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型"], +["fba1","形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵"], +["fca1","禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆"], +["fda1","爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰"] +] diff --git a/node_modules/iconv-lite/encodings/tables/cp950.json b/node_modules/iconv-lite/encodings/tables/cp950.json new file mode 100644 index 0000000..d8bc871 --- /dev/null +++ b/node_modules/iconv-lite/encodings/tables/cp950.json @@ -0,0 +1,177 @@ +[ +["0","\u0000",127], +["a140"," ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚"], +["a1a1","﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢",4,"~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/"], +["a240","\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁",7,"▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭"], +["a2a1","╮╰╯═╞╪╡◢◣◥◤╱╲╳0",9,"Ⅰ",9,"〡",8,"十卄卅A",25,"a",21], +["a340","wxyzΑ",16,"Σ",6,"α",16,"σ",6,"ㄅ",10], +["a3a1","ㄐ",25,"˙ˉˊˇˋ"], +["a3e1","€"], +["a440","一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才"], +["a4a1","丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙"], +["a540","世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外"], +["a5a1","央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全"], +["a640","共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年"], +["a6a1","式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣"], +["a740","作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍"], +["a7a1","均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠"], +["a840","杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒"], +["a8a1","芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵"], +["a940","咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居"], +["a9a1","屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊"], +["aa40","昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠"], +["aaa1","炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附"], +["ab40","陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品"], +["aba1","哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷"], +["ac40","拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗"], +["aca1","活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄"], +["ad40","耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥"], +["ada1","迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪"], +["ae40","哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙"], +["aea1","恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓"], +["af40","浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷"], +["afa1","砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃"], +["b040","虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡"], +["b0a1","陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀"], +["b140","娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽"], +["b1a1","情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺"], +["b240","毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶"], +["b2a1","瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼"], +["b340","莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途"], +["b3a1","部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠"], +["b440","婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍"], +["b4a1","插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋"], +["b540","溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘"], +["b5a1","窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁"], +["b640","詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑"], +["b6a1","間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼"], +["b740","媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業"], +["b7a1","楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督"], +["b840","睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫"], +["b8a1","腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊"], +["b940","辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴"], +["b9a1","飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇"], +["ba40","愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢"], +["baa1","滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬"], +["bb40","罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤"], +["bba1","說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜"], +["bc40","劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂"], +["bca1","慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃"], +["bd40","瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯"], +["bda1","翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞"], +["be40","輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉"], +["bea1","鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡"], +["bf40","濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊"], +["bfa1","縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚"], +["c040","錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇"], +["c0a1","嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬"], +["c140","瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪"], +["c1a1","薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁"], +["c240","駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘"], +["c2a1","癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦"], +["c340","鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸"], +["c3a1","獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類"], +["c440","願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼"], +["c4a1","纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴"], +["c540","護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬"], +["c5a1","禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒"], +["c640","讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲"], +["c940","乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕"], +["c9a1","氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋"], +["ca40","汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘"], +["caa1","吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇"], +["cb40","杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓"], +["cba1","芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢"], +["cc40","坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋"], +["cca1","怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲"], +["cd40","泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺"], +["cda1","矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏"], +["ce40","哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛"], +["cea1","峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺"], +["cf40","柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂"], +["cfa1","洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀"], +["d040","穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪"], +["d0a1","苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱"], +["d140","唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧"], +["d1a1","恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤"], +["d240","毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸"], +["d2a1","牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐"], +["d340","笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢"], +["d3a1","荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐"], +["d440","酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅"], +["d4a1","唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏"], +["d540","崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟"], +["d5a1","捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉"], +["d640","淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏"], +["d6a1","痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟"], +["d740","耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷"], +["d7a1","蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪"], +["d840","釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷"], +["d8a1","堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔"], +["d940","惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒"], +["d9a1","晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞"], +["da40","湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖"], +["daa1","琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥"], +["db40","罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳"], +["dba1","菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺"], +["dc40","軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈"], +["dca1","隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆"], +["dd40","媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤"], +["dda1","搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼"], +["de40","毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓"], +["dea1","煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓"], +["df40","稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯"], +["dfa1","腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤"], +["e040","觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿"], +["e0a1","遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠"], +["e140","凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠"], +["e1a1","寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉"], +["e240","榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊"], +["e2a1","漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓"], +["e340","禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞"], +["e3a1","耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻"], +["e440","裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍"], +["e4a1","銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘"], +["e540","噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉"], +["e5a1","憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒"], +["e640","澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙"], +["e6a1","獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟"], +["e740","膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢"], +["e7a1","蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧"], +["e840","踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓"], +["e8a1","銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮"], +["e940","噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺"], +["e9a1","憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸"], +["ea40","澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙"], +["eaa1","瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘"], +["eb40","蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠"], +["eba1","諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌"], +["ec40","錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕"], +["eca1","魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎"], +["ed40","檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶"], +["eda1","瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞"], +["ee40","蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞"], +["eea1","謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜"], +["ef40","鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰"], +["efa1","鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶"], +["f040","璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒"], +["f0a1","臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧"], +["f140","蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪"], +["f1a1","鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰"], +["f240","徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛"], +["f2a1","礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕"], +["f340","譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦"], +["f3a1","鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲"], +["f440","嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩"], +["f4a1","禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿"], +["f540","鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛"], +["f5a1","鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥"], +["f640","蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺"], +["f6a1","騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚"], +["f740","糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊"], +["f7a1","驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾"], +["f840","讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏"], +["f8a1","齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚"], +["f940","纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊"], +["f9a1","龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"] +] diff --git a/node_modules/iconv-lite/encodings/tables/eucjp.json b/node_modules/iconv-lite/encodings/tables/eucjp.json new file mode 100644 index 0000000..4fa61ca --- /dev/null +++ b/node_modules/iconv-lite/encodings/tables/eucjp.json @@ -0,0 +1,182 @@ +[ +["0","\u0000",127], +["8ea1","。",62], +["a1a1"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇"], +["a2a1","◆□■△▲▽▼※〒→←↑↓〓"], +["a2ba","∈∋⊆⊇⊂⊃∪∩"], +["a2ca","∧∨¬⇒⇔∀∃"], +["a2dc","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"], +["a2f2","ʼn♯♭♪†‡¶"], +["a2fe","◯"], +["a3b0","0",9], +["a3c1","A",25], +["a3e1","a",25], +["a4a1","ぁ",82], +["a5a1","ァ",85], +["a6a1","Α",16,"Σ",6], +["a6c1","α",16,"σ",6], +["a7a1","А",5,"ЁЖ",25], +["a7d1","а",5,"ёж",25], +["a8a1","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"], +["ada1","①",19,"Ⅰ",9], +["adc0","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"], +["addf","㍻〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"], +["b0a1","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"], +["b1a1","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応"], +["b2a1","押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"], +["b3a1","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱"], +["b4a1","粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"], +["b5a1","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京"], +["b6a1","供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"], +["b7a1","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲"], +["b8a1","検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"], +["b9a1","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込"], +["baa1","此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"], +["bba1","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時"], +["bca1","次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"], +["bda1","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償"], +["bea1","勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"], +["bfa1","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾"], +["c0a1","澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"], +["c1a1","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎"], +["c2a1","臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"], +["c3a1","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵"], +["c4a1","帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"], +["c5a1","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到"], +["c6a1","董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"], +["c7a1","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦"], +["c8a1","函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"], +["c9a1","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服"], +["caa1","福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"], +["cba1","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満"], +["cca1","漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"], +["cda1","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃"], +["cea1","痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"], +["cfa1","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"], +["d0a1","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"], +["d1a1","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨"], +["d2a1","辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"], +["d3a1","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉"], +["d4a1","圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"], +["d5a1","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓"], +["d6a1","屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"], +["d7a1","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚"], +["d8a1","悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"], +["d9a1","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼"], +["daa1","據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"], +["dba1","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍"], +["dca1","棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"], +["dda1","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾"], +["dea1","沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"], +["dfa1","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼"], +["e0a1","燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"], +["e1a1","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰"], +["e2a1","癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"], +["e3a1","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐"], +["e4a1","筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"], +["e5a1","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺"], +["e6a1","罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"], +["e7a1","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙"], +["e8a1","茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"], +["e9a1","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙"], +["eaa1","蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"], +["eba1","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫"], +["eca1","譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"], +["eda1","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸"], +["eea1","遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"], +["efa1","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞"], +["f0a1","陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"], +["f1a1","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷"], +["f2a1","髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"], +["f3a1","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠"], +["f4a1","堯槇遙瑤凜熙"], +["f9a1","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德"], +["faa1","忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"], +["fba1","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚"], +["fca1","釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"], +["fcf1","ⅰ",9,"¬¦'""], +["8fa2af","˘ˇ¸˙˝¯˛˚~΄΅"], +["8fa2c2","¡¦¿"], +["8fa2eb","ºª©®™¤№"], +["8fa6e1","ΆΈΉΊΪ"], +["8fa6e7","Ό"], +["8fa6e9","ΎΫ"], +["8fa6ec","Ώ"], +["8fa6f1","άέήίϊΐόςύϋΰώ"], +["8fa7c2","Ђ",10,"ЎЏ"], +["8fa7f2","ђ",10,"ўџ"], +["8fa9a1","ÆĐ"], +["8fa9a4","Ħ"], +["8fa9a6","IJ"], +["8fa9a8","ŁĿ"], +["8fa9ab","ŊØŒ"], +["8fa9af","ŦÞ"], +["8fa9c1","æđðħıijĸłŀʼnŋøœßŧþ"], +["8faaa1","ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈËÊĚĖĒĘ"], +["8faaba","ĜĞĢĠĤÍÌÏÎǏİĪĮĨĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙǕŴÝŸŶŹŽŻ"], +["8faba1","áàäâăǎāąåãćĉčçċďéèëêěėēęǵĝğ"], +["8fabbd","ġĥíìïîǐ"], +["8fabc5","īįĩĵķĺľļńňņñóòöôǒőōõŕřŗśŝšşťţúùüûŭǔűūųůũǘǜǚǖŵýÿŷźžż"], +["8fb0a1","丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄"], +["8fb1a1","侅侉侊侌侎侐侒侓侔侗侙侚侞侟侲侷侹侻侼侽侾俀俁俅俆俈俉俋俌俍俏俒俜俠俢俰俲俼俽俿倀倁倄倇倊倌倎倐倓倗倘倛倜倝倞倢倧倮倰倲倳倵偀偁偂偅偆偊偌偎偑偒偓偗偙偟偠偢偣偦偧偪偭偰偱倻傁傃傄傆傊傎傏傐"], +["8fb2a1","傒傓傔傖傛傜傞",4,"傪傯傰傹傺傽僀僃僄僇僌僎僐僓僔僘僜僝僟僢僤僦僨僩僯僱僶僺僾儃儆儇儈儋儌儍儎僲儐儗儙儛儜儝儞儣儧儨儬儭儯儱儳儴儵儸儹兂兊兏兓兕兗兘兟兤兦兾冃冄冋冎冘冝冡冣冭冸冺冼冾冿凂"], +["8fb3a1","凈减凑凒凓凕凘凞凢凥凮凲凳凴凷刁刂刅划刓刕刖刘刢刨刱刲刵刼剅剉剕剗剘剚剜剟剠剡剦剮剷剸剹劀劂劅劊劌劓劕劖劗劘劚劜劤劥劦劧劯劰劶劷劸劺劻劽勀勄勆勈勌勏勑勔勖勛勜勡勥勨勩勪勬勰勱勴勶勷匀匃匊匋"], +["8fb4a1","匌匑匓匘匛匜匞匟匥匧匨匩匫匬匭匰匲匵匼匽匾卂卌卋卙卛卡卣卥卬卭卲卹卾厃厇厈厎厓厔厙厝厡厤厪厫厯厲厴厵厷厸厺厽叀叅叏叒叓叕叚叝叞叠另叧叵吂吓吚吡吧吨吪启吱吴吵呃呄呇呍呏呞呢呤呦呧呩呫呭呮呴呿"], +["8fb5a1","咁咃咅咈咉咍咑咕咖咜咟咡咦咧咩咪咭咮咱咷咹咺咻咿哆哊响哎哠哪哬哯哶哼哾哿唀唁唅唈唉唌唍唎唕唪唫唲唵唶唻唼唽啁啇啉啊啍啐啑啘啚啛啞啠啡啤啦啿喁喂喆喈喎喏喑喒喓喔喗喣喤喭喲喿嗁嗃嗆嗉嗋嗌嗎嗑嗒"], +["8fb6a1","嗓嗗嗘嗛嗞嗢嗩嗶嗿嘅嘈嘊嘍",5,"嘙嘬嘰嘳嘵嘷嘹嘻嘼嘽嘿噀噁噃噄噆噉噋噍噏噔噞噠噡噢噣噦噩噭噯噱噲噵嚄嚅嚈嚋嚌嚕嚙嚚嚝嚞嚟嚦嚧嚨嚩嚫嚬嚭嚱嚳嚷嚾囅囉囊囋囏囐囌囍囙囜囝囟囡囤",4,"囱囫园"], +["8fb7a1","囶囷圁圂圇圊圌圑圕圚圛圝圠圢圣圤圥圩圪圬圮圯圳圴圽圾圿坅坆坌坍坒坢坥坧坨坫坭",4,"坳坴坵坷坹坺坻坼坾垁垃垌垔垗垙垚垜垝垞垟垡垕垧垨垩垬垸垽埇埈埌埏埕埝埞埤埦埧埩埭埰埵埶埸埽埾埿堃堄堈堉埡"], +["8fb8a1","堌堍堛堞堟堠堦堧堭堲堹堿塉塌塍塏塐塕塟塡塤塧塨塸塼塿墀墁墇墈墉墊墌墍墏墐墔墖墝墠墡墢墦墩墱墲壄墼壂壈壍壎壐壒壔壖壚壝壡壢壩壳夅夆夋夌夒夓夔虁夝夡夣夤夨夯夰夳夵夶夿奃奆奒奓奙奛奝奞奟奡奣奫奭"], +["8fb9a1","奯奲奵奶她奻奼妋妌妎妒妕妗妟妤妧妭妮妯妰妳妷妺妼姁姃姄姈姊姍姒姝姞姟姣姤姧姮姯姱姲姴姷娀娄娌娍娎娒娓娞娣娤娧娨娪娭娰婄婅婇婈婌婐婕婞婣婥婧婭婷婺婻婾媋媐媓媖媙媜媞媟媠媢媧媬媱媲媳媵媸媺媻媿"], +["8fbaa1","嫄嫆嫈嫏嫚嫜嫠嫥嫪嫮嫵嫶嫽嬀嬁嬈嬗嬴嬙嬛嬝嬡嬥嬭嬸孁孋孌孒孖孞孨孮孯孼孽孾孿宁宄宆宊宎宐宑宓宔宖宨宩宬宭宯宱宲宷宺宼寀寁寍寏寖",4,"寠寯寱寴寽尌尗尞尟尣尦尩尫尬尮尰尲尵尶屙屚屜屢屣屧屨屩"], +["8fbba1","屭屰屴屵屺屻屼屽岇岈岊岏岒岝岟岠岢岣岦岪岲岴岵岺峉峋峒峝峗峮峱峲峴崁崆崍崒崫崣崤崦崧崱崴崹崽崿嵂嵃嵆嵈嵕嵑嵙嵊嵟嵠嵡嵢嵤嵪嵭嵰嵹嵺嵾嵿嶁嶃嶈嶊嶒嶓嶔嶕嶙嶛嶟嶠嶧嶫嶰嶴嶸嶹巃巇巋巐巎巘巙巠巤"], +["8fbca1","巩巸巹帀帇帍帒帔帕帘帟帠帮帨帲帵帾幋幐幉幑幖幘幛幜幞幨幪",4,"幰庀庋庎庢庤庥庨庪庬庱庳庽庾庿廆廌廋廎廑廒廔廕廜廞廥廫异弆弇弈弎弙弜弝弡弢弣弤弨弫弬弮弰弴弶弻弽弿彀彄彅彇彍彐彔彘彛彠彣彤彧"], +["8fbda1","彯彲彴彵彸彺彽彾徉徍徏徖徜徝徢徧徫徤徬徯徰徱徸忄忇忈忉忋忐",4,"忞忡忢忨忩忪忬忭忮忯忲忳忶忺忼怇怊怍怓怔怗怘怚怟怤怭怳怵恀恇恈恉恌恑恔恖恗恝恡恧恱恾恿悂悆悈悊悎悑悓悕悘悝悞悢悤悥您悰悱悷"], +["8fbea1","悻悾惂惄惈惉惊惋惎惏惔惕惙惛惝惞惢惥惲惵惸惼惽愂愇愊愌愐",4,"愖愗愙愜愞愢愪愫愰愱愵愶愷愹慁慅慆慉慞慠慬慲慸慻慼慿憀憁憃憄憋憍憒憓憗憘憜憝憟憠憥憨憪憭憸憹憼懀懁懂懎懏懕懜懝懞懟懡懢懧懩懥"], +["8fbfa1","懬懭懯戁戃戄戇戓戕戜戠戢戣戧戩戫戹戽扂扃扄扆扌扐扑扒扔扖扚扜扤扭扯扳扺扽抍抎抏抐抦抨抳抶抷抺抾抿拄拎拕拖拚拪拲拴拼拽挃挄挊挋挍挐挓挖挘挩挪挭挵挶挹挼捁捂捃捄捆捊捋捎捒捓捔捘捛捥捦捬捭捱捴捵"], +["8fc0a1","捸捼捽捿掂掄掇掊掐掔掕掙掚掞掤掦掭掮掯掽揁揅揈揎揑揓揔揕揜揠揥揪揬揲揳揵揸揹搉搊搐搒搔搘搞搠搢搤搥搩搪搯搰搵搽搿摋摏摑摒摓摔摚摛摜摝摟摠摡摣摭摳摴摻摽撅撇撏撐撑撘撙撛撝撟撡撣撦撨撬撳撽撾撿"], +["8fc1a1","擄擉擊擋擌擎擐擑擕擗擤擥擩擪擭擰擵擷擻擿攁攄攈攉攊攏攓攔攖攙攛攞攟攢攦攩攮攱攺攼攽敃敇敉敐敒敔敟敠敧敫敺敽斁斅斊斒斕斘斝斠斣斦斮斲斳斴斿旂旈旉旎旐旔旖旘旟旰旲旴旵旹旾旿昀昄昈昉昍昑昒昕昖昝"], +["8fc2a1","昞昡昢昣昤昦昩昪昫昬昮昰昱昳昹昷晀晅晆晊晌晑晎晗晘晙晛晜晠晡曻晪晫晬晾晳晵晿晷晸晹晻暀晼暋暌暍暐暒暙暚暛暜暟暠暤暭暱暲暵暻暿曀曂曃曈曌曎曏曔曛曟曨曫曬曮曺朅朇朎朓朙朜朠朢朳朾杅杇杈杌杔杕杝"], +["8fc3a1","杦杬杮杴杶杻极构枎枏枑枓枖枘枙枛枰枱枲枵枻枼枽柹柀柂柃柅柈柉柒柗柙柜柡柦柰柲柶柷桒栔栙栝栟栨栧栬栭栯栰栱栳栻栿桄桅桊桌桕桗桘桛桫桮",4,"桵桹桺桻桼梂梄梆梈梖梘梚梜梡梣梥梩梪梮梲梻棅棈棌棏"], +["8fc4a1","棐棑棓棖棙棜棝棥棨棪棫棬棭棰棱棵棶棻棼棽椆椉椊椐椑椓椖椗椱椳椵椸椻楂楅楉楎楗楛楣楤楥楦楨楩楬楰楱楲楺楻楿榀榍榒榖榘榡榥榦榨榫榭榯榷榸榺榼槅槈槑槖槗槢槥槮槯槱槳槵槾樀樁樃樏樑樕樚樝樠樤樨樰樲"], +["8fc5a1","樴樷樻樾樿橅橆橉橊橎橐橑橒橕橖橛橤橧橪橱橳橾檁檃檆檇檉檋檑檛檝檞檟檥檫檯檰檱檴檽檾檿櫆櫉櫈櫌櫐櫔櫕櫖櫜櫝櫤櫧櫬櫰櫱櫲櫼櫽欂欃欆欇欉欏欐欑欗欛欞欤欨欫欬欯欵欶欻欿歆歊歍歒歖歘歝歠歧歫歮歰歵歽"], +["8fc6a1","歾殂殅殗殛殟殠殢殣殨殩殬殭殮殰殸殹殽殾毃毄毉毌毖毚毡毣毦毧毮毱毷毹毿氂氄氅氉氍氎氐氒氙氟氦氧氨氬氮氳氵氶氺氻氿汊汋汍汏汒汔汙汛汜汫汭汯汴汶汸汹汻沅沆沇沉沔沕沗沘沜沟沰沲沴泂泆泍泏泐泑泒泔泖"], +["8fc7a1","泚泜泠泧泩泫泬泮泲泴洄洇洊洎洏洑洓洚洦洧洨汧洮洯洱洹洼洿浗浞浟浡浥浧浯浰浼涂涇涑涒涔涖涗涘涪涬涴涷涹涽涿淄淈淊淎淏淖淛淝淟淠淢淥淩淯淰淴淶淼渀渄渞渢渧渲渶渹渻渼湄湅湈湉湋湏湑湒湓湔湗湜湝湞"], +["8fc8a1","湢湣湨湳湻湽溍溓溙溠溧溭溮溱溳溻溿滀滁滃滇滈滊滍滎滏滫滭滮滹滻滽漄漈漊漌漍漖漘漚漛漦漩漪漯漰漳漶漻漼漭潏潑潒潓潗潙潚潝潞潡潢潨潬潽潾澃澇澈澋澌澍澐澒澓澔澖澚澟澠澥澦澧澨澮澯澰澵澶澼濅濇濈濊"], +["8fc9a1","濚濞濨濩濰濵濹濼濽瀀瀅瀆瀇瀍瀗瀠瀣瀯瀴瀷瀹瀼灃灄灈灉灊灋灔灕灝灞灎灤灥灬灮灵灶灾炁炅炆炔",4,"炛炤炫炰炱炴炷烊烑烓烔烕烖烘烜烤烺焃",4,"焋焌焏焞焠焫焭焯焰焱焸煁煅煆煇煊煋煐煒煗煚煜煞煠"], +["8fcaa1","煨煹熀熅熇熌熒熚熛熠熢熯熰熲熳熺熿燀燁燄燋燌燓燖燙燚燜燸燾爀爇爈爉爓爗爚爝爟爤爫爯爴爸爹牁牂牃牅牎牏牐牓牕牖牚牜牞牠牣牨牫牮牯牱牷牸牻牼牿犄犉犍犎犓犛犨犭犮犱犴犾狁狇狉狌狕狖狘狟狥狳狴狺狻"], +["8fcba1","狾猂猄猅猇猋猍猒猓猘猙猞猢猤猧猨猬猱猲猵猺猻猽獃獍獐獒獖獘獝獞獟獠獦獧獩獫獬獮獯獱獷獹獼玀玁玃玅玆玎玐玓玕玗玘玜玞玟玠玢玥玦玪玫玭玵玷玹玼玽玿珅珆珉珋珌珏珒珓珖珙珝珡珣珦珧珩珴珵珷珹珺珻珽"], +["8fcca1","珿琀琁琄琇琊琑琚琛琤琦琨",9,"琹瑀瑃瑄瑆瑇瑋瑍瑑瑒瑗瑝瑢瑦瑧瑨瑫瑭瑮瑱瑲璀璁璅璆璇璉璏璐璑璒璘璙璚璜璟璠璡璣璦璨璩璪璫璮璯璱璲璵璹璻璿瓈瓉瓌瓐瓓瓘瓚瓛瓞瓟瓤瓨瓪瓫瓯瓴瓺瓻瓼瓿甆"], +["8fcda1","甒甖甗甠甡甤甧甩甪甯甶甹甽甾甿畀畃畇畈畎畐畒畗畞畟畡畯畱畹",5,"疁疅疐疒疓疕疙疜疢疤疴疺疿痀痁痄痆痌痎痏痗痜痟痠痡痤痧痬痮痯痱痹瘀瘂瘃瘄瘇瘈瘊瘌瘏瘒瘓瘕瘖瘙瘛瘜瘝瘞瘣瘥瘦瘩瘭瘲瘳瘵瘸瘹"], +["8fcea1","瘺瘼癊癀癁癃癄癅癉癋癕癙癟癤癥癭癮癯癱癴皁皅皌皍皕皛皜皝皟皠皢",6,"皪皭皽盁盅盉盋盌盎盔盙盠盦盨盬盰盱盶盹盼眀眆眊眎眒眔眕眗眙眚眜眢眨眭眮眯眴眵眶眹眽眾睂睅睆睊睍睎睏睒睖睗睜睞睟睠睢"], +["8fcfa1","睤睧睪睬睰睲睳睴睺睽瞀瞄瞌瞍瞔瞕瞖瞚瞟瞢瞧瞪瞮瞯瞱瞵瞾矃矉矑矒矕矙矞矟矠矤矦矪矬矰矱矴矸矻砅砆砉砍砎砑砝砡砢砣砭砮砰砵砷硃硄硇硈硌硎硒硜硞硠硡硣硤硨硪确硺硾碊碏碔碘碡碝碞碟碤碨碬碭碰碱碲碳"], +["8fd0a1","碻碽碿磇磈磉磌磎磒磓磕磖磤磛磟磠磡磦磪磲磳礀磶磷磺磻磿礆礌礐礚礜礞礟礠礥礧礩礭礱礴礵礻礽礿祄祅祆祊祋祏祑祔祘祛祜祧祩祫祲祹祻祼祾禋禌禑禓禔禕禖禘禛禜禡禨禩禫禯禱禴禸离秂秄秇秈秊秏秔秖秚秝秞"], +["8fd1a1","秠秢秥秪秫秭秱秸秼稂稃稇稉稊稌稑稕稛稞稡稧稫稭稯稰稴稵稸稹稺穄穅穇穈穌穕穖穙穜穝穟穠穥穧穪穭穵穸穾窀窂窅窆窊窋窐窑窔窞窠窣窬窳窵窹窻窼竆竉竌竎竑竛竨竩竫竬竱竴竻竽竾笇笔笟笣笧笩笪笫笭笮笯笰"], +["8fd2a1","笱笴笽笿筀筁筇筎筕筠筤筦筩筪筭筯筲筳筷箄箉箎箐箑箖箛箞箠箥箬箯箰箲箵箶箺箻箼箽篂篅篈篊篔篖篗篙篚篛篨篪篲篴篵篸篹篺篼篾簁簂簃簄簆簉簋簌簎簏簙簛簠簥簦簨簬簱簳簴簶簹簺籆籊籕籑籒籓籙",5], +["8fd3a1","籡籣籧籩籭籮籰籲籹籼籽粆粇粏粔粞粠粦粰粶粷粺粻粼粿糄糇糈糉糍糏糓糔糕糗糙糚糝糦糩糫糵紃紇紈紉紏紑紒紓紖紝紞紣紦紪紭紱紼紽紾絀絁絇絈絍絑絓絗絙絚絜絝絥絧絪絰絸絺絻絿綁綂綃綅綆綈綋綌綍綑綖綗綝"], +["8fd4a1","綞綦綧綪綳綶綷綹緂",4,"緌緍緎緗緙縀緢緥緦緪緫緭緱緵緶緹緺縈縐縑縕縗縜縝縠縧縨縬縭縯縳縶縿繄繅繇繎繐繒繘繟繡繢繥繫繮繯繳繸繾纁纆纇纊纍纑纕纘纚纝纞缼缻缽缾缿罃罄罇罏罒罓罛罜罝罡罣罤罥罦罭"], +["8fd5a1","罱罽罾罿羀羋羍羏羐羑羖羗羜羡羢羦羪羭羴羼羿翀翃翈翎翏翛翟翣翥翨翬翮翯翲翺翽翾翿耇耈耊耍耎耏耑耓耔耖耝耞耟耠耤耦耬耮耰耴耵耷耹耺耼耾聀聄聠聤聦聭聱聵肁肈肎肜肞肦肧肫肸肹胈胍胏胒胔胕胗胘胠胭胮"], +["8fd6a1","胰胲胳胶胹胺胾脃脋脖脗脘脜脞脠脤脧脬脰脵脺脼腅腇腊腌腒腗腠腡腧腨腩腭腯腷膁膐膄膅膆膋膎膖膘膛膞膢膮膲膴膻臋臃臅臊臎臏臕臗臛臝臞臡臤臫臬臰臱臲臵臶臸臹臽臿舀舃舏舓舔舙舚舝舡舢舨舲舴舺艃艄艅艆"], +["8fd7a1","艋艎艏艑艖艜艠艣艧艭艴艻艽艿芀芁芃芄芇芉芊芎芑芔芖芘芚芛芠芡芣芤芧芨芩芪芮芰芲芴芷芺芼芾芿苆苐苕苚苠苢苤苨苪苭苯苶苷苽苾茀茁茇茈茊茋荔茛茝茞茟茡茢茬茭茮茰茳茷茺茼茽荂荃荄荇荍荎荑荕荖荗荰荸"], +["8fd8a1","荽荿莀莂莄莆莍莒莔莕莘莙莛莜莝莦莧莩莬莾莿菀菇菉菏菐菑菔菝荓菨菪菶菸菹菼萁萆萊萏萑萕萙莭萯萹葅葇葈葊葍葏葑葒葖葘葙葚葜葠葤葥葧葪葰葳葴葶葸葼葽蒁蒅蒒蒓蒕蒞蒦蒨蒩蒪蒯蒱蒴蒺蒽蒾蓀蓂蓇蓈蓌蓏蓓"], +["8fd9a1","蓜蓧蓪蓯蓰蓱蓲蓷蔲蓺蓻蓽蔂蔃蔇蔌蔎蔐蔜蔞蔢蔣蔤蔥蔧蔪蔫蔯蔳蔴蔶蔿蕆蕏",4,"蕖蕙蕜",6,"蕤蕫蕯蕹蕺蕻蕽蕿薁薅薆薉薋薌薏薓薘薝薟薠薢薥薧薴薶薷薸薼薽薾薿藂藇藊藋藎薭藘藚藟藠藦藨藭藳藶藼"], +["8fdaa1","藿蘀蘄蘅蘍蘎蘐蘑蘒蘘蘙蘛蘞蘡蘧蘩蘶蘸蘺蘼蘽虀虂虆虒虓虖虗虘虙虝虠",4,"虩虬虯虵虶虷虺蚍蚑蚖蚘蚚蚜蚡蚦蚧蚨蚭蚱蚳蚴蚵蚷蚸蚹蚿蛀蛁蛃蛅蛑蛒蛕蛗蛚蛜蛠蛣蛥蛧蚈蛺蛼蛽蜄蜅蜇蜋蜎蜏蜐蜓蜔蜙蜞蜟蜡蜣"], +["8fdba1","蜨蜮蜯蜱蜲蜹蜺蜼蜽蜾蝀蝃蝅蝍蝘蝝蝡蝤蝥蝯蝱蝲蝻螃",6,"螋螌螐螓螕螗螘螙螞螠螣螧螬螭螮螱螵螾螿蟁蟈蟉蟊蟎蟕蟖蟙蟚蟜蟟蟢蟣蟤蟪蟫蟭蟱蟳蟸蟺蟿蠁蠃蠆蠉蠊蠋蠐蠙蠒蠓蠔蠘蠚蠛蠜蠞蠟蠨蠭蠮蠰蠲蠵"], +["8fdca1","蠺蠼衁衃衅衈衉衊衋衎衑衕衖衘衚衜衟衠衤衩衱衹衻袀袘袚袛袜袟袠袨袪袺袽袾裀裊",4,"裑裒裓裛裞裧裯裰裱裵裷褁褆褍褎褏褕褖褘褙褚褜褠褦褧褨褰褱褲褵褹褺褾襀襂襅襆襉襏襒襗襚襛襜襡襢襣襫襮襰襳襵襺"], +["8fdda1","襻襼襽覉覍覐覔覕覛覜覟覠覥覰覴覵覶覷覼觔",4,"觥觩觫觭觱觳觶觹觽觿訄訅訇訏訑訒訔訕訞訠訢訤訦訫訬訯訵訷訽訾詀詃詅詇詉詍詎詓詖詗詘詜詝詡詥詧詵詶詷詹詺詻詾詿誀誃誆誋誏誐誒誖誗誙誟誧誩誮誯誳"], +["8fdea1","誶誷誻誾諃諆諈諉諊諑諓諔諕諗諝諟諬諰諴諵諶諼諿謅謆謋謑謜謞謟謊謭謰謷謼譂",4,"譈譒譓譔譙譍譞譣譭譶譸譹譼譾讁讄讅讋讍讏讔讕讜讞讟谸谹谽谾豅豇豉豋豏豑豓豔豗豘豛豝豙豣豤豦豨豩豭豳豵豶豻豾貆"], +["8fdfa1","貇貋貐貒貓貙貛貜貤貹貺賅賆賉賋賏賖賕賙賝賡賨賬賯賰賲賵賷賸賾賿贁贃贉贒贗贛赥赩赬赮赿趂趄趈趍趐趑趕趞趟趠趦趫趬趯趲趵趷趹趻跀跅跆跇跈跊跎跑跔跕跗跙跤跥跧跬跰趼跱跲跴跽踁踄踅踆踋踑踔踖踠踡踢"], +["8fe0a1","踣踦踧踱踳踶踷踸踹踽蹀蹁蹋蹍蹎蹏蹔蹛蹜蹝蹞蹡蹢蹩蹬蹭蹯蹰蹱蹹蹺蹻躂躃躉躐躒躕躚躛躝躞躢躧躩躭躮躳躵躺躻軀軁軃軄軇軏軑軔軜軨軮軰軱軷軹軺軭輀輂輇輈輏輐輖輗輘輞輠輡輣輥輧輨輬輭輮輴輵輶輷輺轀轁"], +["8fe1a1","轃轇轏轑",4,"轘轝轞轥辝辠辡辤辥辦辵辶辸达迀迁迆迊迋迍运迒迓迕迠迣迤迨迮迱迵迶迻迾适逄逈逌逘逛逨逩逯逪逬逭逳逴逷逿遃遄遌遛遝遢遦遧遬遰遴遹邅邈邋邌邎邐邕邗邘邙邛邠邡邢邥邰邲邳邴邶邽郌邾郃"], +["8fe2a1","郄郅郇郈郕郗郘郙郜郝郟郥郒郶郫郯郰郴郾郿鄀鄄鄅鄆鄈鄍鄐鄔鄖鄗鄘鄚鄜鄞鄠鄥鄢鄣鄧鄩鄮鄯鄱鄴鄶鄷鄹鄺鄼鄽酃酇酈酏酓酗酙酚酛酡酤酧酭酴酹酺酻醁醃醅醆醊醎醑醓醔醕醘醞醡醦醨醬醭醮醰醱醲醳醶醻醼醽醿"], +["8fe3a1","釂釃釅釓釔釗釙釚釞釤釥釩釪釬",5,"釷釹釻釽鈀鈁鈄鈅鈆鈇鈉鈊鈌鈐鈒鈓鈖鈘鈜鈝鈣鈤鈥鈦鈨鈮鈯鈰鈳鈵鈶鈸鈹鈺鈼鈾鉀鉂鉃鉆鉇鉊鉍鉎鉏鉑鉘鉙鉜鉝鉠鉡鉥鉧鉨鉩鉮鉯鉰鉵",4,"鉻鉼鉽鉿銈銉銊銍銎銒銗"], +["8fe4a1","銙銟銠銤銥銧銨銫銯銲銶銸銺銻銼銽銿",4,"鋅鋆鋇鋈鋋鋌鋍鋎鋐鋓鋕鋗鋘鋙鋜鋝鋟鋠鋡鋣鋥鋧鋨鋬鋮鋰鋹鋻鋿錀錂錈錍錑錔錕錜錝錞錟錡錤錥錧錩錪錳錴錶錷鍇鍈鍉鍐鍑鍒鍕鍗鍘鍚鍞鍤鍥鍧鍩鍪鍭鍯鍰鍱鍳鍴鍶"], +["8fe5a1","鍺鍽鍿鎀鎁鎂鎈鎊鎋鎍鎏鎒鎕鎘鎛鎞鎡鎣鎤鎦鎨鎫鎴鎵鎶鎺鎩鏁鏄鏅鏆鏇鏉",4,"鏓鏙鏜鏞鏟鏢鏦鏧鏹鏷鏸鏺鏻鏽鐁鐂鐄鐈鐉鐍鐎鐏鐕鐖鐗鐟鐮鐯鐱鐲鐳鐴鐻鐿鐽鑃鑅鑈鑊鑌鑕鑙鑜鑟鑡鑣鑨鑫鑭鑮鑯鑱鑲钄钃镸镹"], +["8fe6a1","镾閄閈閌閍閎閝閞閟閡閦閩閫閬閴閶閺閽閿闆闈闉闋闐闑闒闓闙闚闝闞闟闠闤闦阝阞阢阤阥阦阬阱阳阷阸阹阺阼阽陁陒陔陖陗陘陡陮陴陻陼陾陿隁隂隃隄隉隑隖隚隝隟隤隥隦隩隮隯隳隺雊雒嶲雘雚雝雞雟雩雯雱雺霂"], +["8fe7a1","霃霅霉霚霛霝霡霢霣霨霱霳靁靃靊靎靏靕靗靘靚靛靣靧靪靮靳靶靷靸靻靽靿鞀鞉鞕鞖鞗鞙鞚鞞鞟鞢鞬鞮鞱鞲鞵鞶鞸鞹鞺鞼鞾鞿韁韄韅韇韉韊韌韍韎韐韑韔韗韘韙韝韞韠韛韡韤韯韱韴韷韸韺頇頊頙頍頎頔頖頜頞頠頣頦"], +["8fe8a1","頫頮頯頰頲頳頵頥頾顄顇顊顑顒顓顖顗顙顚顢顣顥顦顪顬颫颭颮颰颴颷颸颺颻颿飂飅飈飌飡飣飥飦飧飪飳飶餂餇餈餑餕餖餗餚餛餜餟餢餦餧餫餱",4,"餹餺餻餼饀饁饆饇饈饍饎饔饘饙饛饜饞饟饠馛馝馟馦馰馱馲馵"], +["8fe9a1","馹馺馽馿駃駉駓駔駙駚駜駞駧駪駫駬駰駴駵駹駽駾騂騃騄騋騌騐騑騖騞騠騢騣騤騧騭騮騳騵騶騸驇驁驄驊驋驌驎驑驔驖驝骪骬骮骯骲骴骵骶骹骻骾骿髁髃髆髈髎髐髒髕髖髗髛髜髠髤髥髧髩髬髲髳髵髹髺髽髿",4], +["8feaa1","鬄鬅鬈鬉鬋鬌鬍鬎鬐鬒鬖鬙鬛鬜鬠鬦鬫鬭鬳鬴鬵鬷鬹鬺鬽魈魋魌魕魖魗魛魞魡魣魥魦魨魪",4,"魳魵魷魸魹魿鮀鮄鮅鮆鮇鮉鮊鮋鮍鮏鮐鮔鮚鮝鮞鮦鮧鮩鮬鮰鮱鮲鮷鮸鮻鮼鮾鮿鯁鯇鯈鯎鯐鯗鯘鯝鯟鯥鯧鯪鯫鯯鯳鯷鯸"], +["8feba1","鯹鯺鯽鯿鰀鰂鰋鰏鰑鰖鰘鰙鰚鰜鰞鰢鰣鰦",4,"鰱鰵鰶鰷鰽鱁鱃鱄鱅鱉鱊鱎鱏鱐鱓鱔鱖鱘鱛鱝鱞鱟鱣鱩鱪鱜鱫鱨鱮鱰鱲鱵鱷鱻鳦鳲鳷鳹鴋鴂鴑鴗鴘鴜鴝鴞鴯鴰鴲鴳鴴鴺鴼鵅鴽鵂鵃鵇鵊鵓鵔鵟鵣鵢鵥鵩鵪鵫鵰鵶鵷鵻"], +["8feca1","鵼鵾鶃鶄鶆鶊鶍鶎鶒鶓鶕鶖鶗鶘鶡鶪鶬鶮鶱鶵鶹鶼鶿鷃鷇鷉鷊鷔鷕鷖鷗鷚鷞鷟鷠鷥鷧鷩鷫鷮鷰鷳鷴鷾鸊鸂鸇鸎鸐鸑鸒鸕鸖鸙鸜鸝鹺鹻鹼麀麂麃麄麅麇麎麏麖麘麛麞麤麨麬麮麯麰麳麴麵黆黈黋黕黟黤黧黬黭黮黰黱黲黵"], +["8feda1","黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃",4,"齓齕齖齗齘齚齝齞齨齩齭",4,"齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥"] +] diff --git a/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json b/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json new file mode 100644 index 0000000..85c6934 --- /dev/null +++ b/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json @@ -0,0 +1 @@ +{"uChars":[128,165,169,178,184,216,226,235,238,244,248,251,253,258,276,284,300,325,329,334,364,463,465,467,469,471,473,475,477,506,594,610,712,716,730,930,938,962,970,1026,1104,1106,8209,8215,8218,8222,8231,8241,8244,8246,8252,8365,8452,8454,8458,8471,8482,8556,8570,8596,8602,8713,8720,8722,8726,8731,8737,8740,8742,8748,8751,8760,8766,8777,8781,8787,8802,8808,8816,8854,8858,8870,8896,8979,9322,9372,9548,9588,9616,9622,9634,9652,9662,9672,9676,9680,9702,9735,9738,9793,9795,11906,11909,11913,11917,11928,11944,11947,11951,11956,11960,11964,11979,12284,12292,12312,12319,12330,12351,12436,12447,12535,12543,12586,12842,12850,12964,13200,13215,13218,13253,13263,13267,13270,13384,13428,13727,13839,13851,14617,14703,14801,14816,14964,15183,15471,15585,16471,16736,17208,17325,17330,17374,17623,17997,18018,18212,18218,18301,18318,18760,18811,18814,18820,18823,18844,18848,18872,19576,19620,19738,19887,40870,59244,59336,59367,59413,59417,59423,59431,59437,59443,59452,59460,59478,59493,63789,63866,63894,63976,63986,64016,64018,64021,64025,64034,64037,64042,65074,65093,65107,65112,65127,65132,65375,65510,65536],"gbChars":[0,36,38,45,50,81,89,95,96,100,103,104,105,109,126,133,148,172,175,179,208,306,307,308,309,310,311,312,313,341,428,443,544,545,558,741,742,749,750,805,819,820,7922,7924,7925,7927,7934,7943,7944,7945,7950,8062,8148,8149,8152,8164,8174,8236,8240,8262,8264,8374,8380,8381,8384,8388,8390,8392,8393,8394,8396,8401,8406,8416,8419,8424,8437,8439,8445,8482,8485,8496,8521,8603,8936,8946,9046,9050,9063,9066,9076,9092,9100,9108,9111,9113,9131,9162,9164,9218,9219,11329,11331,11334,11336,11346,11361,11363,11366,11370,11372,11375,11389,11682,11686,11687,11692,11694,11714,11716,11723,11725,11730,11736,11982,11989,12102,12336,12348,12350,12384,12393,12395,12397,12510,12553,12851,12962,12973,13738,13823,13919,13933,14080,14298,14585,14698,15583,15847,16318,16434,16438,16481,16729,17102,17122,17315,17320,17402,17418,17859,17909,17911,17915,17916,17936,17939,17961,18664,18703,18814,18962,19043,33469,33470,33471,33484,33485,33490,33497,33501,33505,33513,33520,33536,33550,37845,37921,37948,38029,38038,38064,38065,38066,38069,38075,38076,38078,39108,39109,39113,39114,39115,39116,39265,39394,189000]} \ No newline at end of file diff --git a/node_modules/iconv-lite/encodings/tables/gbk-added.json b/node_modules/iconv-lite/encodings/tables/gbk-added.json new file mode 100644 index 0000000..8abfa9f --- /dev/null +++ b/node_modules/iconv-lite/encodings/tables/gbk-added.json @@ -0,0 +1,55 @@ +[ +["a140","",62], +["a180","",32], +["a240","",62], +["a280","",32], +["a2ab","",5], +["a2e3","€"], +["a2ef",""], +["a2fd",""], +["a340","",62], +["a380","",31," "], +["a440","",62], +["a480","",32], +["a4f4","",10], +["a540","",62], +["a580","",32], +["a5f7","",7], +["a640","",62], +["a680","",32], +["a6b9","",7], +["a6d9","",6], +["a6ec",""], +["a6f3",""], +["a6f6","",8], +["a740","",62], +["a780","",32], +["a7c2","",14], +["a7f2","",12], +["a896","",10], +["a8bc",""], +["a8bf","ǹ"], +["a8c1",""], +["a8ea","",20], +["a958",""], +["a95b",""], +["a95d",""], +["a989","〾⿰",11], +["a997","",12], +["a9f0","",14], +["aaa1","",93], +["aba1","",93], +["aca1","",93], +["ada1","",93], +["aea1","",93], +["afa1","",93], +["d7fa","",4], +["f8a1","",93], +["f9a1","",93], +["faa1","",93], +["fba1","",93], +["fca1","",93], +["fda1","",93], +["fe50","⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"], +["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93] +] diff --git a/node_modules/iconv-lite/encodings/tables/shiftjis.json b/node_modules/iconv-lite/encodings/tables/shiftjis.json new file mode 100644 index 0000000..5a3a43c --- /dev/null +++ b/node_modules/iconv-lite/encodings/tables/shiftjis.json @@ -0,0 +1,125 @@ +[ +["0","\u0000",128], +["a1","。",62], +["8140"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×"], +["8180","÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓"], +["81b8","∈∋⊆⊇⊂⊃∪∩"], +["81c8","∧∨¬⇒⇔∀∃"], +["81da","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"], +["81f0","ʼn♯♭♪†‡¶"], +["81fc","◯"], +["824f","0",9], +["8260","A",25], +["8281","a",25], +["829f","ぁ",82], +["8340","ァ",62], +["8380","ム",22], +["839f","Α",16,"Σ",6], +["83bf","α",16,"σ",6], +["8440","А",5,"ЁЖ",25], +["8470","а",5,"ёж",7], +["8480","о",17], +["849f","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"], +["8740","①",19,"Ⅰ",9], +["875f","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"], +["877e","㍻"], +["8780","〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"], +["889f","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"], +["8940","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円"], +["8980","園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"], +["8a40","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫"], +["8a80","橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"], +["8b40","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救"], +["8b80","朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"], +["8c40","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨"], +["8c80","劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"], +["8d40","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降"], +["8d80","項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"], +["8e40","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止"], +["8e80","死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"], +["8f40","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳"], +["8f80","準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"], +["9040","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨"], +["9080","逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"], +["9140","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻"], +["9180","操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"], +["9240","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄"], +["9280","逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"], +["9340","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬"], +["9380","凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"], +["9440","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅"], +["9480","楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"], +["9540","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷"], +["9580","斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"], +["9640","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆"], +["9680","摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"], +["9740","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲"], +["9780","沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"], +["9840","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"], +["989f","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"], +["9940","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭"], +["9980","凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"], +["9a40","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸"], +["9a80","噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"], +["9b40","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀"], +["9b80","它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"], +["9c40","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠"], +["9c80","怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"], +["9d40","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫"], +["9d80","捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"], +["9e40","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎"], +["9e80","梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"], +["9f40","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯"], +["9f80","麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"], +["e040","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝"], +["e080","烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"], +["e140","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿"], +["e180","痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"], +["e240","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰"], +["e280","窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"], +["e340","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷"], +["e380","縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"], +["e440","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤"], +["e480","艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"], +["e540","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬"], +["e580","蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"], +["e640","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧"], +["e680","諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"], +["e740","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜"], +["e780","轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"], +["e840","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙"], +["e880","閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"], +["e940","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃"], +["e980","騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"], +["ea40","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯"], +["ea80","黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙"], +["ed40","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏"], +["ed80","塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"], +["ee40","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙"], +["ee80","蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"], +["eeef","ⅰ",9,"¬¦'""], +["f040","",62], +["f080","",124], +["f140","",62], +["f180","",124], +["f240","",62], +["f280","",124], +["f340","",62], +["f380","",124], +["f440","",62], +["f480","",124], +["f540","",62], +["f580","",124], +["f640","",62], +["f680","",124], +["f740","",62], +["f780","",124], +["f840","",62], +["f880","",124], +["f940",""], +["fa40","ⅰ",9,"Ⅰ",9,"¬¦'"㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊"], +["fa80","兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯"], +["fb40","涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神"], +["fb80","祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙"], +["fc40","髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"] +] diff --git a/node_modules/iconv-lite/encodings/utf16.js b/node_modules/iconv-lite/encodings/utf16.js new file mode 100644 index 0000000..54765ae --- /dev/null +++ b/node_modules/iconv-lite/encodings/utf16.js @@ -0,0 +1,177 @@ +"use strict"; +var Buffer = require("safer-buffer").Buffer; + +// Note: UTF16-LE (or UCS2) codec is Node.js native. See encodings/internal.js + +// == UTF16-BE codec. ========================================================== + +exports.utf16be = Utf16BECodec; +function Utf16BECodec() { +} + +Utf16BECodec.prototype.encoder = Utf16BEEncoder; +Utf16BECodec.prototype.decoder = Utf16BEDecoder; +Utf16BECodec.prototype.bomAware = true; + + +// -- Encoding + +function Utf16BEEncoder() { +} + +Utf16BEEncoder.prototype.write = function(str) { + var buf = Buffer.from(str, 'ucs2'); + for (var i = 0; i < buf.length; i += 2) { + var tmp = buf[i]; buf[i] = buf[i+1]; buf[i+1] = tmp; + } + return buf; +} + +Utf16BEEncoder.prototype.end = function() { +} + + +// -- Decoding + +function Utf16BEDecoder() { + this.overflowByte = -1; +} + +Utf16BEDecoder.prototype.write = function(buf) { + if (buf.length == 0) + return ''; + + var buf2 = Buffer.alloc(buf.length + 1), + i = 0, j = 0; + + if (this.overflowByte !== -1) { + buf2[0] = buf[0]; + buf2[1] = this.overflowByte; + i = 1; j = 2; + } + + for (; i < buf.length-1; i += 2, j+= 2) { + buf2[j] = buf[i+1]; + buf2[j+1] = buf[i]; + } + + this.overflowByte = (i == buf.length-1) ? buf[buf.length-1] : -1; + + return buf2.slice(0, j).toString('ucs2'); +} + +Utf16BEDecoder.prototype.end = function() { +} + + +// == UTF-16 codec ============================================================= +// Decoder chooses automatically from UTF-16LE and UTF-16BE using BOM and space-based heuristic. +// Defaults to UTF-16LE, as it's prevalent and default in Node. +// http://en.wikipedia.org/wiki/UTF-16 and http://encoding.spec.whatwg.org/#utf-16le +// Decoder default can be changed: iconv.decode(buf, 'utf16', {defaultEncoding: 'utf-16be'}); + +// Encoder uses UTF-16LE and prepends BOM (which can be overridden with addBOM: false). + +exports.utf16 = Utf16Codec; +function Utf16Codec(codecOptions, iconv) { + this.iconv = iconv; +} + +Utf16Codec.prototype.encoder = Utf16Encoder; +Utf16Codec.prototype.decoder = Utf16Decoder; + + +// -- Encoding (pass-through) + +function Utf16Encoder(options, codec) { + options = options || {}; + if (options.addBOM === undefined) + options.addBOM = true; + this.encoder = codec.iconv.getEncoder('utf-16le', options); +} + +Utf16Encoder.prototype.write = function(str) { + return this.encoder.write(str); +} + +Utf16Encoder.prototype.end = function() { + return this.encoder.end(); +} + + +// -- Decoding + +function Utf16Decoder(options, codec) { + this.decoder = null; + this.initialBytes = []; + this.initialBytesLen = 0; + + this.options = options || {}; + this.iconv = codec.iconv; +} + +Utf16Decoder.prototype.write = function(buf) { + if (!this.decoder) { + // Codec is not chosen yet. Accumulate initial bytes. + this.initialBytes.push(buf); + this.initialBytesLen += buf.length; + + if (this.initialBytesLen < 16) // We need more bytes to use space heuristic (see below) + return ''; + + // We have enough bytes -> detect endianness. + var buf = Buffer.concat(this.initialBytes), + encoding = detectEncoding(buf, this.options.defaultEncoding); + this.decoder = this.iconv.getDecoder(encoding, this.options); + this.initialBytes.length = this.initialBytesLen = 0; + } + + return this.decoder.write(buf); +} + +Utf16Decoder.prototype.end = function() { + if (!this.decoder) { + var buf = Buffer.concat(this.initialBytes), + encoding = detectEncoding(buf, this.options.defaultEncoding); + this.decoder = this.iconv.getDecoder(encoding, this.options); + + var res = this.decoder.write(buf), + trail = this.decoder.end(); + + return trail ? (res + trail) : res; + } + return this.decoder.end(); +} + +function detectEncoding(buf, defaultEncoding) { + var enc = defaultEncoding || 'utf-16le'; + + if (buf.length >= 2) { + // Check BOM. + if (buf[0] == 0xFE && buf[1] == 0xFF) // UTF-16BE BOM + enc = 'utf-16be'; + else if (buf[0] == 0xFF && buf[1] == 0xFE) // UTF-16LE BOM + enc = 'utf-16le'; + else { + // No BOM found. Try to deduce encoding from initial content. + // Most of the time, the content has ASCII chars (U+00**), but the opposite (U+**00) is uncommon. + // So, we count ASCII as if it was LE or BE, and decide from that. + var asciiCharsLE = 0, asciiCharsBE = 0, // Counts of chars in both positions + _len = Math.min(buf.length - (buf.length % 2), 64); // Len is always even. + + for (var i = 0; i < _len; i += 2) { + if (buf[i] === 0 && buf[i+1] !== 0) asciiCharsBE++; + if (buf[i] !== 0 && buf[i+1] === 0) asciiCharsLE++; + } + + if (asciiCharsBE > asciiCharsLE) + enc = 'utf-16be'; + else if (asciiCharsBE < asciiCharsLE) + enc = 'utf-16le'; + } + } + + return enc; +} + + diff --git a/node_modules/iconv-lite/encodings/utf7.js b/node_modules/iconv-lite/encodings/utf7.js new file mode 100644 index 0000000..b7631c2 --- /dev/null +++ b/node_modules/iconv-lite/encodings/utf7.js @@ -0,0 +1,290 @@ +"use strict"; +var Buffer = require("safer-buffer").Buffer; + +// UTF-7 codec, according to https://tools.ietf.org/html/rfc2152 +// See also below a UTF-7-IMAP codec, according to http://tools.ietf.org/html/rfc3501#section-5.1.3 + +exports.utf7 = Utf7Codec; +exports.unicode11utf7 = 'utf7'; // Alias UNICODE-1-1-UTF-7 +function Utf7Codec(codecOptions, iconv) { + this.iconv = iconv; +}; + +Utf7Codec.prototype.encoder = Utf7Encoder; +Utf7Codec.prototype.decoder = Utf7Decoder; +Utf7Codec.prototype.bomAware = true; + + +// -- Encoding + +var nonDirectChars = /[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g; + +function Utf7Encoder(options, codec) { + this.iconv = codec.iconv; +} + +Utf7Encoder.prototype.write = function(str) { + // Naive implementation. + // Non-direct chars are encoded as "+-"; single "+" char is encoded as "+-". + return Buffer.from(str.replace(nonDirectChars, function(chunk) { + return "+" + (chunk === '+' ? '' : + this.iconv.encode(chunk, 'utf16-be').toString('base64').replace(/=+$/, '')) + + "-"; + }.bind(this))); +} + +Utf7Encoder.prototype.end = function() { +} + + +// -- Decoding + +function Utf7Decoder(options, codec) { + this.iconv = codec.iconv; + this.inBase64 = false; + this.base64Accum = ''; +} + +var base64Regex = /[A-Za-z0-9\/+]/; +var base64Chars = []; +for (var i = 0; i < 256; i++) + base64Chars[i] = base64Regex.test(String.fromCharCode(i)); + +var plusChar = '+'.charCodeAt(0), + minusChar = '-'.charCodeAt(0), + andChar = '&'.charCodeAt(0); + +Utf7Decoder.prototype.write = function(buf) { + var res = "", lastI = 0, + inBase64 = this.inBase64, + base64Accum = this.base64Accum; + + // The decoder is more involved as we must handle chunks in stream. + + for (var i = 0; i < buf.length; i++) { + if (!inBase64) { // We're in direct mode. + // Write direct chars until '+' + if (buf[i] == plusChar) { + res += this.iconv.decode(buf.slice(lastI, i), "ascii"); // Write direct chars. + lastI = i+1; + inBase64 = true; + } + } else { // We decode base64. + if (!base64Chars[buf[i]]) { // Base64 ended. + if (i == lastI && buf[i] == minusChar) {// "+-" -> "+" + res += "+"; + } else { + var b64str = base64Accum + buf.slice(lastI, i).toString(); + res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be"); + } + + if (buf[i] != minusChar) // Minus is absorbed after base64. + i--; + + lastI = i+1; + inBase64 = false; + base64Accum = ''; + } + } + } + + if (!inBase64) { + res += this.iconv.decode(buf.slice(lastI), "ascii"); // Write direct chars. + } else { + var b64str = base64Accum + buf.slice(lastI).toString(); + + var canBeDecoded = b64str.length - (b64str.length % 8); // Minimal chunk: 2 quads -> 2x3 bytes -> 3 chars. + base64Accum = b64str.slice(canBeDecoded); // The rest will be decoded in future. + b64str = b64str.slice(0, canBeDecoded); + + res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be"); + } + + this.inBase64 = inBase64; + this.base64Accum = base64Accum; + + return res; +} + +Utf7Decoder.prototype.end = function() { + var res = ""; + if (this.inBase64 && this.base64Accum.length > 0) + res = this.iconv.decode(Buffer.from(this.base64Accum, 'base64'), "utf16-be"); + + this.inBase64 = false; + this.base64Accum = ''; + return res; +} + + +// UTF-7-IMAP codec. +// RFC3501 Sec. 5.1.3 Modified UTF-7 (http://tools.ietf.org/html/rfc3501#section-5.1.3) +// Differences: +// * Base64 part is started by "&" instead of "+" +// * Direct characters are 0x20-0x7E, except "&" (0x26) +// * In Base64, "," is used instead of "/" +// * Base64 must not be used to represent direct characters. +// * No implicit shift back from Base64 (should always end with '-') +// * String must end in non-shifted position. +// * "-&" while in base64 is not allowed. + + +exports.utf7imap = Utf7IMAPCodec; +function Utf7IMAPCodec(codecOptions, iconv) { + this.iconv = iconv; +}; + +Utf7IMAPCodec.prototype.encoder = Utf7IMAPEncoder; +Utf7IMAPCodec.prototype.decoder = Utf7IMAPDecoder; +Utf7IMAPCodec.prototype.bomAware = true; + + +// -- Encoding + +function Utf7IMAPEncoder(options, codec) { + this.iconv = codec.iconv; + this.inBase64 = false; + this.base64Accum = Buffer.alloc(6); + this.base64AccumIdx = 0; +} + +Utf7IMAPEncoder.prototype.write = function(str) { + var inBase64 = this.inBase64, + base64Accum = this.base64Accum, + base64AccumIdx = this.base64AccumIdx, + buf = Buffer.alloc(str.length*5 + 10), bufIdx = 0; + + for (var i = 0; i < str.length; i++) { + var uChar = str.charCodeAt(i); + if (0x20 <= uChar && uChar <= 0x7E) { // Direct character or '&'. + if (inBase64) { + if (base64AccumIdx > 0) { + bufIdx += buf.write(base64Accum.slice(0, base64AccumIdx).toString('base64').replace(/\//g, ',').replace(/=+$/, ''), bufIdx); + base64AccumIdx = 0; + } + + buf[bufIdx++] = minusChar; // Write '-', then go to direct mode. + inBase64 = false; + } + + if (!inBase64) { + buf[bufIdx++] = uChar; // Write direct character + + if (uChar === andChar) // Ampersand -> '&-' + buf[bufIdx++] = minusChar; + } + + } else { // Non-direct character + if (!inBase64) { + buf[bufIdx++] = andChar; // Write '&', then go to base64 mode. + inBase64 = true; + } + if (inBase64) { + base64Accum[base64AccumIdx++] = uChar >> 8; + base64Accum[base64AccumIdx++] = uChar & 0xFF; + + if (base64AccumIdx == base64Accum.length) { + bufIdx += buf.write(base64Accum.toString('base64').replace(/\//g, ','), bufIdx); + base64AccumIdx = 0; + } + } + } + } + + this.inBase64 = inBase64; + this.base64AccumIdx = base64AccumIdx; + + return buf.slice(0, bufIdx); +} + +Utf7IMAPEncoder.prototype.end = function() { + var buf = Buffer.alloc(10), bufIdx = 0; + if (this.inBase64) { + if (this.base64AccumIdx > 0) { + bufIdx += buf.write(this.base64Accum.slice(0, this.base64AccumIdx).toString('base64').replace(/\//g, ',').replace(/=+$/, ''), bufIdx); + this.base64AccumIdx = 0; + } + + buf[bufIdx++] = minusChar; // Write '-', then go to direct mode. + this.inBase64 = false; + } + + return buf.slice(0, bufIdx); +} + + +// -- Decoding + +function Utf7IMAPDecoder(options, codec) { + this.iconv = codec.iconv; + this.inBase64 = false; + this.base64Accum = ''; +} + +var base64IMAPChars = base64Chars.slice(); +base64IMAPChars[','.charCodeAt(0)] = true; + +Utf7IMAPDecoder.prototype.write = function(buf) { + var res = "", lastI = 0, + inBase64 = this.inBase64, + base64Accum = this.base64Accum; + + // The decoder is more involved as we must handle chunks in stream. + // It is forgiving, closer to standard UTF-7 (for example, '-' is optional at the end). + + for (var i = 0; i < buf.length; i++) { + if (!inBase64) { // We're in direct mode. + // Write direct chars until '&' + if (buf[i] == andChar) { + res += this.iconv.decode(buf.slice(lastI, i), "ascii"); // Write direct chars. + lastI = i+1; + inBase64 = true; + } + } else { // We decode base64. + if (!base64IMAPChars[buf[i]]) { // Base64 ended. + if (i == lastI && buf[i] == minusChar) { // "&-" -> "&" + res += "&"; + } else { + var b64str = base64Accum + buf.slice(lastI, i).toString().replace(/,/g, '/'); + res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be"); + } + + if (buf[i] != minusChar) // Minus may be absorbed after base64. + i--; + + lastI = i+1; + inBase64 = false; + base64Accum = ''; + } + } + } + + if (!inBase64) { + res += this.iconv.decode(buf.slice(lastI), "ascii"); // Write direct chars. + } else { + var b64str = base64Accum + buf.slice(lastI).toString().replace(/,/g, '/'); + + var canBeDecoded = b64str.length - (b64str.length % 8); // Minimal chunk: 2 quads -> 2x3 bytes -> 3 chars. + base64Accum = b64str.slice(canBeDecoded); // The rest will be decoded in future. + b64str = b64str.slice(0, canBeDecoded); + + res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be"); + } + + this.inBase64 = inBase64; + this.base64Accum = base64Accum; + + return res; +} + +Utf7IMAPDecoder.prototype.end = function() { + var res = ""; + if (this.inBase64 && this.base64Accum.length > 0) + res = this.iconv.decode(Buffer.from(this.base64Accum, 'base64'), "utf16-be"); + + this.inBase64 = false; + this.base64Accum = ''; + return res; +} + + diff --git a/node_modules/iconv-lite/lib/bom-handling.js b/node_modules/iconv-lite/lib/bom-handling.js new file mode 100644 index 0000000..1050872 --- /dev/null +++ b/node_modules/iconv-lite/lib/bom-handling.js @@ -0,0 +1,52 @@ +"use strict"; + +var BOMChar = '\uFEFF'; + +exports.PrependBOM = PrependBOMWrapper +function PrependBOMWrapper(encoder, options) { + this.encoder = encoder; + this.addBOM = true; +} + +PrependBOMWrapper.prototype.write = function(str) { + if (this.addBOM) { + str = BOMChar + str; + this.addBOM = false; + } + + return this.encoder.write(str); +} + +PrependBOMWrapper.prototype.end = function() { + return this.encoder.end(); +} + + +//------------------------------------------------------------------------------ + +exports.StripBOM = StripBOMWrapper; +function StripBOMWrapper(decoder, options) { + this.decoder = decoder; + this.pass = false; + this.options = options || {}; +} + +StripBOMWrapper.prototype.write = function(buf) { + var res = this.decoder.write(buf); + if (this.pass || !res) + return res; + + if (res[0] === BOMChar) { + res = res.slice(1); + if (typeof this.options.stripBOM === 'function') + this.options.stripBOM(); + } + + this.pass = true; + return res; +} + +StripBOMWrapper.prototype.end = function() { + return this.decoder.end(); +} + diff --git a/node_modules/iconv-lite/lib/extend-node.js b/node_modules/iconv-lite/lib/extend-node.js new file mode 100644 index 0000000..87f5394 --- /dev/null +++ b/node_modules/iconv-lite/lib/extend-node.js @@ -0,0 +1,217 @@ +"use strict"; +var Buffer = require("buffer").Buffer; +// Note: not polyfilled with safer-buffer on a purpose, as overrides Buffer + +// == Extend Node primitives to use iconv-lite ================================= + +module.exports = function (iconv) { + var original = undefined; // Place to keep original methods. + + // Node authors rewrote Buffer internals to make it compatible with + // Uint8Array and we cannot patch key functions since then. + // Note: this does use older Buffer API on a purpose + iconv.supportsNodeEncodingsExtension = !(Buffer.from || new Buffer(0) instanceof Uint8Array); + + iconv.extendNodeEncodings = function extendNodeEncodings() { + if (original) return; + original = {}; + + if (!iconv.supportsNodeEncodingsExtension) { + console.error("ACTION NEEDED: require('iconv-lite').extendNodeEncodings() is not supported in your version of Node"); + console.error("See more info at https://github.com/ashtuchkin/iconv-lite/wiki/Node-v4-compatibility"); + return; + } + + var nodeNativeEncodings = { + 'hex': true, 'utf8': true, 'utf-8': true, 'ascii': true, 'binary': true, + 'base64': true, 'ucs2': true, 'ucs-2': true, 'utf16le': true, 'utf-16le': true, + }; + + Buffer.isNativeEncoding = function(enc) { + return enc && nodeNativeEncodings[enc.toLowerCase()]; + } + + // -- SlowBuffer ----------------------------------------------------------- + var SlowBuffer = require('buffer').SlowBuffer; + + original.SlowBufferToString = SlowBuffer.prototype.toString; + SlowBuffer.prototype.toString = function(encoding, start, end) { + encoding = String(encoding || 'utf8').toLowerCase(); + + // Use native conversion when possible + if (Buffer.isNativeEncoding(encoding)) + return original.SlowBufferToString.call(this, encoding, start, end); + + // Otherwise, use our decoding method. + if (typeof start == 'undefined') start = 0; + if (typeof end == 'undefined') end = this.length; + return iconv.decode(this.slice(start, end), encoding); + } + + original.SlowBufferWrite = SlowBuffer.prototype.write; + SlowBuffer.prototype.write = function(string, offset, length, encoding) { + // Support both (string, offset, length, encoding) + // and the legacy (string, encoding, offset, length) + if (isFinite(offset)) { + if (!isFinite(length)) { + encoding = length; + length = undefined; + } + } else { // legacy + var swap = encoding; + encoding = offset; + offset = length; + length = swap; + } + + offset = +offset || 0; + var remaining = this.length - offset; + if (!length) { + length = remaining; + } else { + length = +length; + if (length > remaining) { + length = remaining; + } + } + encoding = String(encoding || 'utf8').toLowerCase(); + + // Use native conversion when possible + if (Buffer.isNativeEncoding(encoding)) + return original.SlowBufferWrite.call(this, string, offset, length, encoding); + + if (string.length > 0 && (length < 0 || offset < 0)) + throw new RangeError('attempt to write beyond buffer bounds'); + + // Otherwise, use our encoding method. + var buf = iconv.encode(string, encoding); + if (buf.length < length) length = buf.length; + buf.copy(this, offset, 0, length); + return length; + } + + // -- Buffer --------------------------------------------------------------- + + original.BufferIsEncoding = Buffer.isEncoding; + Buffer.isEncoding = function(encoding) { + return Buffer.isNativeEncoding(encoding) || iconv.encodingExists(encoding); + } + + original.BufferByteLength = Buffer.byteLength; + Buffer.byteLength = SlowBuffer.byteLength = function(str, encoding) { + encoding = String(encoding || 'utf8').toLowerCase(); + + // Use native conversion when possible + if (Buffer.isNativeEncoding(encoding)) + return original.BufferByteLength.call(this, str, encoding); + + // Slow, I know, but we don't have a better way yet. + return iconv.encode(str, encoding).length; + } + + original.BufferToString = Buffer.prototype.toString; + Buffer.prototype.toString = function(encoding, start, end) { + encoding = String(encoding || 'utf8').toLowerCase(); + + // Use native conversion when possible + if (Buffer.isNativeEncoding(encoding)) + return original.BufferToString.call(this, encoding, start, end); + + // Otherwise, use our decoding method. + if (typeof start == 'undefined') start = 0; + if (typeof end == 'undefined') end = this.length; + return iconv.decode(this.slice(start, end), encoding); + } + + original.BufferWrite = Buffer.prototype.write; + Buffer.prototype.write = function(string, offset, length, encoding) { + var _offset = offset, _length = length, _encoding = encoding; + // Support both (string, offset, length, encoding) + // and the legacy (string, encoding, offset, length) + if (isFinite(offset)) { + if (!isFinite(length)) { + encoding = length; + length = undefined; + } + } else { // legacy + var swap = encoding; + encoding = offset; + offset = length; + length = swap; + } + + encoding = String(encoding || 'utf8').toLowerCase(); + + // Use native conversion when possible + if (Buffer.isNativeEncoding(encoding)) + return original.BufferWrite.call(this, string, _offset, _length, _encoding); + + offset = +offset || 0; + var remaining = this.length - offset; + if (!length) { + length = remaining; + } else { + length = +length; + if (length > remaining) { + length = remaining; + } + } + + if (string.length > 0 && (length < 0 || offset < 0)) + throw new RangeError('attempt to write beyond buffer bounds'); + + // Otherwise, use our encoding method. + var buf = iconv.encode(string, encoding); + if (buf.length < length) length = buf.length; + buf.copy(this, offset, 0, length); + return length; + + // TODO: Set _charsWritten. + } + + + // -- Readable ------------------------------------------------------------- + if (iconv.supportsStreams) { + var Readable = require('stream').Readable; + + original.ReadableSetEncoding = Readable.prototype.setEncoding; + Readable.prototype.setEncoding = function setEncoding(enc, options) { + // Use our own decoder, it has the same interface. + // We cannot use original function as it doesn't handle BOM-s. + this._readableState.decoder = iconv.getDecoder(enc, options); + this._readableState.encoding = enc; + } + + Readable.prototype.collect = iconv._collect; + } + } + + // Remove iconv-lite Node primitive extensions. + iconv.undoExtendNodeEncodings = function undoExtendNodeEncodings() { + if (!iconv.supportsNodeEncodingsExtension) + return; + if (!original) + throw new Error("require('iconv-lite').undoExtendNodeEncodings(): Nothing to undo; extendNodeEncodings() is not called.") + + delete Buffer.isNativeEncoding; + + var SlowBuffer = require('buffer').SlowBuffer; + + SlowBuffer.prototype.toString = original.SlowBufferToString; + SlowBuffer.prototype.write = original.SlowBufferWrite; + + Buffer.isEncoding = original.BufferIsEncoding; + Buffer.byteLength = original.BufferByteLength; + Buffer.prototype.toString = original.BufferToString; + Buffer.prototype.write = original.BufferWrite; + + if (iconv.supportsStreams) { + var Readable = require('stream').Readable; + + Readable.prototype.setEncoding = original.ReadableSetEncoding; + delete Readable.prototype.collect; + } + + original = undefined; + } +} diff --git a/node_modules/iconv-lite/lib/index.d.ts b/node_modules/iconv-lite/lib/index.d.ts new file mode 100644 index 0000000..0547eb3 --- /dev/null +++ b/node_modules/iconv-lite/lib/index.d.ts @@ -0,0 +1,24 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + * REQUIREMENT: This definition is dependent on the @types/node definition. + * Install with `npm install @types/node --save-dev` + *--------------------------------------------------------------------------------------------*/ + +declare module 'iconv-lite' { + export function decode(buffer: Buffer, encoding: string, options?: Options): string; + + export function encode(content: string, encoding: string, options?: Options): Buffer; + + export function encodingExists(encoding: string): boolean; + + export function decodeStream(encoding: string, options?: Options): NodeJS.ReadWriteStream; + + export function encodeStream(encoding: string, options?: Options): NodeJS.ReadWriteStream; +} + +export interface Options { + stripBOM?: boolean; + addBOM?: boolean; + defaultEncoding?: string; +} diff --git a/node_modules/iconv-lite/lib/index.js b/node_modules/iconv-lite/lib/index.js new file mode 100644 index 0000000..5391919 --- /dev/null +++ b/node_modules/iconv-lite/lib/index.js @@ -0,0 +1,153 @@ +"use strict"; + +// Some environments don't have global Buffer (e.g. React Native). +// Solution would be installing npm modules "buffer" and "stream" explicitly. +var Buffer = require("safer-buffer").Buffer; + +var bomHandling = require("./bom-handling"), + iconv = module.exports; + +// All codecs and aliases are kept here, keyed by encoding name/alias. +// They are lazy loaded in `iconv.getCodec` from `encodings/index.js`. +iconv.encodings = null; + +// Characters emitted in case of error. +iconv.defaultCharUnicode = '�'; +iconv.defaultCharSingleByte = '?'; + +// Public API. +iconv.encode = function encode(str, encoding, options) { + str = "" + (str || ""); // Ensure string. + + var encoder = iconv.getEncoder(encoding, options); + + var res = encoder.write(str); + var trail = encoder.end(); + + return (trail && trail.length > 0) ? Buffer.concat([res, trail]) : res; +} + +iconv.decode = function decode(buf, encoding, options) { + if (typeof buf === 'string') { + if (!iconv.skipDecodeWarning) { + console.error('Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding'); + iconv.skipDecodeWarning = true; + } + + buf = Buffer.from("" + (buf || ""), "binary"); // Ensure buffer. + } + + var decoder = iconv.getDecoder(encoding, options); + + var res = decoder.write(buf); + var trail = decoder.end(); + + return trail ? (res + trail) : res; +} + +iconv.encodingExists = function encodingExists(enc) { + try { + iconv.getCodec(enc); + return true; + } catch (e) { + return false; + } +} + +// Legacy aliases to convert functions +iconv.toEncoding = iconv.encode; +iconv.fromEncoding = iconv.decode; + +// Search for a codec in iconv.encodings. Cache codec data in iconv._codecDataCache. +iconv._codecDataCache = {}; +iconv.getCodec = function getCodec(encoding) { + if (!iconv.encodings) + iconv.encodings = require("../encodings"); // Lazy load all encoding definitions. + + // Canonicalize encoding name: strip all non-alphanumeric chars and appended year. + var enc = iconv._canonicalizeEncoding(encoding); + + // Traverse iconv.encodings to find actual codec. + var codecOptions = {}; + while (true) { + var codec = iconv._codecDataCache[enc]; + if (codec) + return codec; + + var codecDef = iconv.encodings[enc]; + + switch (typeof codecDef) { + case "string": // Direct alias to other encoding. + enc = codecDef; + break; + + case "object": // Alias with options. Can be layered. + for (var key in codecDef) + codecOptions[key] = codecDef[key]; + + if (!codecOptions.encodingName) + codecOptions.encodingName = enc; + + enc = codecDef.type; + break; + + case "function": // Codec itself. + if (!codecOptions.encodingName) + codecOptions.encodingName = enc; + + // The codec function must load all tables and return object with .encoder and .decoder methods. + // It'll be called only once (for each different options object). + codec = new codecDef(codecOptions, iconv); + + iconv._codecDataCache[codecOptions.encodingName] = codec; // Save it to be reused later. + return codec; + + default: + throw new Error("Encoding not recognized: '" + encoding + "' (searched as: '"+enc+"')"); + } + } +} + +iconv._canonicalizeEncoding = function(encoding) { + // Canonicalize encoding name: strip all non-alphanumeric chars and appended year. + return (''+encoding).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g, ""); +} + +iconv.getEncoder = function getEncoder(encoding, options) { + var codec = iconv.getCodec(encoding), + encoder = new codec.encoder(options, codec); + + if (codec.bomAware && options && options.addBOM) + encoder = new bomHandling.PrependBOM(encoder, options); + + return encoder; +} + +iconv.getDecoder = function getDecoder(encoding, options) { + var codec = iconv.getCodec(encoding), + decoder = new codec.decoder(options, codec); + + if (codec.bomAware && !(options && options.stripBOM === false)) + decoder = new bomHandling.StripBOM(decoder, options); + + return decoder; +} + + +// Load extensions in Node. All of them are omitted in Browserify build via 'browser' field in package.json. +var nodeVer = typeof process !== 'undefined' && process.versions && process.versions.node; +if (nodeVer) { + + // Load streaming support in Node v0.10+ + var nodeVerArr = nodeVer.split(".").map(Number); + if (nodeVerArr[0] > 0 || nodeVerArr[1] >= 10) { + require("./streams")(iconv); + } + + // Load Node primitive extensions. + require("./extend-node")(iconv); +} + +if ("Ā" != "\u0100") { + console.error("iconv-lite warning: javascript files use encoding different from utf-8. See https://github.com/ashtuchkin/iconv-lite/wiki/Javascript-source-file-encodings for more info."); +} diff --git a/node_modules/iconv-lite/lib/streams.js b/node_modules/iconv-lite/lib/streams.js new file mode 100644 index 0000000..4409552 --- /dev/null +++ b/node_modules/iconv-lite/lib/streams.js @@ -0,0 +1,121 @@ +"use strict"; + +var Buffer = require("buffer").Buffer, + Transform = require("stream").Transform; + + +// == Exports ================================================================== +module.exports = function(iconv) { + + // Additional Public API. + iconv.encodeStream = function encodeStream(encoding, options) { + return new IconvLiteEncoderStream(iconv.getEncoder(encoding, options), options); + } + + iconv.decodeStream = function decodeStream(encoding, options) { + return new IconvLiteDecoderStream(iconv.getDecoder(encoding, options), options); + } + + iconv.supportsStreams = true; + + + // Not published yet. + iconv.IconvLiteEncoderStream = IconvLiteEncoderStream; + iconv.IconvLiteDecoderStream = IconvLiteDecoderStream; + iconv._collect = IconvLiteDecoderStream.prototype.collect; +}; + + +// == Encoder stream ======================================================= +function IconvLiteEncoderStream(conv, options) { + this.conv = conv; + options = options || {}; + options.decodeStrings = false; // We accept only strings, so we don't need to decode them. + Transform.call(this, options); +} + +IconvLiteEncoderStream.prototype = Object.create(Transform.prototype, { + constructor: { value: IconvLiteEncoderStream } +}); + +IconvLiteEncoderStream.prototype._transform = function(chunk, encoding, done) { + if (typeof chunk != 'string') + return done(new Error("Iconv encoding stream needs strings as its input.")); + try { + var res = this.conv.write(chunk); + if (res && res.length) this.push(res); + done(); + } + catch (e) { + done(e); + } +} + +IconvLiteEncoderStream.prototype._flush = function(done) { + try { + var res = this.conv.end(); + if (res && res.length) this.push(res); + done(); + } + catch (e) { + done(e); + } +} + +IconvLiteEncoderStream.prototype.collect = function(cb) { + var chunks = []; + this.on('error', cb); + this.on('data', function(chunk) { chunks.push(chunk); }); + this.on('end', function() { + cb(null, Buffer.concat(chunks)); + }); + return this; +} + + +// == Decoder stream ======================================================= +function IconvLiteDecoderStream(conv, options) { + this.conv = conv; + options = options || {}; + options.encoding = this.encoding = 'utf8'; // We output strings. + Transform.call(this, options); +} + +IconvLiteDecoderStream.prototype = Object.create(Transform.prototype, { + constructor: { value: IconvLiteDecoderStream } +}); + +IconvLiteDecoderStream.prototype._transform = function(chunk, encoding, done) { + if (!Buffer.isBuffer(chunk)) + return done(new Error("Iconv decoding stream needs buffers as its input.")); + try { + var res = this.conv.write(chunk); + if (res && res.length) this.push(res, this.encoding); + done(); + } + catch (e) { + done(e); + } +} + +IconvLiteDecoderStream.prototype._flush = function(done) { + try { + var res = this.conv.end(); + if (res && res.length) this.push(res, this.encoding); + done(); + } + catch (e) { + done(e); + } +} + +IconvLiteDecoderStream.prototype.collect = function(cb) { + var res = ''; + this.on('error', cb); + this.on('data', function(chunk) { res += chunk; }); + this.on('end', function() { + cb(null, res); + }); + return this; +} + diff --git a/node_modules/iconv-lite/package.json b/node_modules/iconv-lite/package.json new file mode 100644 index 0000000..a7c74fc --- /dev/null +++ b/node_modules/iconv-lite/package.json @@ -0,0 +1,46 @@ +{ + "name": "iconv-lite", + "description": "Convert character encodings in pure javascript.", + "version": "0.4.24", + "license": "MIT", + "keywords": [ + "iconv", + "convert", + "charset", + "icu" + ], + "author": "Alexander Shtuchkin ", + "main": "./lib/index.js", + "typings": "./lib/index.d.ts", + "homepage": "https://github.com/ashtuchkin/iconv-lite", + "bugs": "https://github.com/ashtuchkin/iconv-lite/issues", + "repository": { + "type": "git", + "url": "git://github.com/ashtuchkin/iconv-lite.git" + }, + "engines": { + "node": ">=0.10.0" + }, + "scripts": { + "coverage": "istanbul cover _mocha -- --grep .", + "coverage-open": "open coverage/lcov-report/index.html", + "test": "mocha --reporter spec --grep ." + }, + "browser": { + "./lib/extend-node": false, + "./lib/streams": false + }, + "devDependencies": { + "mocha": "^3.1.0", + "request": "~2.87.0", + "unorm": "*", + "errto": "*", + "async": "*", + "istanbul": "*", + "semver": "*", + "iconv": "*" + }, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + } +} diff --git a/node_modules/inherits/LICENSE b/node_modules/inherits/LICENSE new file mode 100644 index 0000000..dea3013 --- /dev/null +++ b/node_modules/inherits/LICENSE @@ -0,0 +1,16 @@ +The ISC License + +Copyright (c) Isaac Z. Schlueter + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + diff --git a/node_modules/inherits/README.md b/node_modules/inherits/README.md new file mode 100644 index 0000000..b1c5665 --- /dev/null +++ b/node_modules/inherits/README.md @@ -0,0 +1,42 @@ +Browser-friendly inheritance fully compatible with standard node.js +[inherits](http://nodejs.org/api/util.html#util_util_inherits_constructor_superconstructor). + +This package exports standard `inherits` from node.js `util` module in +node environment, but also provides alternative browser-friendly +implementation through [browser +field](https://gist.github.com/shtylman/4339901). Alternative +implementation is a literal copy of standard one located in standalone +module to avoid requiring of `util`. It also has a shim for old +browsers with no `Object.create` support. + +While keeping you sure you are using standard `inherits` +implementation in node.js environment, it allows bundlers such as +[browserify](https://github.com/substack/node-browserify) to not +include full `util` package to your client code if all you need is +just `inherits` function. It worth, because browser shim for `util` +package is large and `inherits` is often the single function you need +from it. + +It's recommended to use this package instead of +`require('util').inherits` for any code that has chances to be used +not only in node.js but in browser too. + +## usage + +```js +var inherits = require('inherits'); +// then use exactly as the standard one +``` + +## note on version ~1.0 + +Version ~1.0 had completely different motivation and is not compatible +neither with 2.0 nor with standard node.js `inherits`. + +If you are using version ~1.0 and planning to switch to ~2.0, be +careful: + +* new version uses `super_` instead of `super` for referencing + superclass +* new version overwrites current prototype while old one preserves any + existing fields on it diff --git a/node_modules/inherits/inherits.js b/node_modules/inherits/inherits.js new file mode 100644 index 0000000..f71f2d9 --- /dev/null +++ b/node_modules/inherits/inherits.js @@ -0,0 +1,9 @@ +try { + var util = require('util'); + /* istanbul ignore next */ + if (typeof util.inherits !== 'function') throw ''; + module.exports = util.inherits; +} catch (e) { + /* istanbul ignore next */ + module.exports = require('./inherits_browser.js'); +} diff --git a/node_modules/inherits/inherits_browser.js b/node_modules/inherits/inherits_browser.js new file mode 100644 index 0000000..86bbb3d --- /dev/null +++ b/node_modules/inherits/inherits_browser.js @@ -0,0 +1,27 @@ +if (typeof Object.create === 'function') { + // implementation from standard node.js 'util' module + module.exports = function inherits(ctor, superCtor) { + if (superCtor) { + ctor.super_ = superCtor + ctor.prototype = Object.create(superCtor.prototype, { + constructor: { + value: ctor, + enumerable: false, + writable: true, + configurable: true + } + }) + } + }; +} else { + // old school shim for old browsers + module.exports = function inherits(ctor, superCtor) { + if (superCtor) { + ctor.super_ = superCtor + var TempCtor = function () {} + TempCtor.prototype = superCtor.prototype + ctor.prototype = new TempCtor() + ctor.prototype.constructor = ctor + } + } +} diff --git a/node_modules/inherits/package.json b/node_modules/inherits/package.json new file mode 100644 index 0000000..37b4366 --- /dev/null +++ b/node_modules/inherits/package.json @@ -0,0 +1,29 @@ +{ + "name": "inherits", + "description": "Browser-friendly inheritance fully compatible with standard node.js inherits()", + "version": "2.0.4", + "keywords": [ + "inheritance", + "class", + "klass", + "oop", + "object-oriented", + "inherits", + "browser", + "browserify" + ], + "main": "./inherits.js", + "browser": "./inherits_browser.js", + "repository": "git://github.com/isaacs/inherits", + "license": "ISC", + "scripts": { + "test": "tap" + }, + "devDependencies": { + "tap": "^14.2.4" + }, + "files": [ + "inherits.js", + "inherits_browser.js" + ] +} diff --git a/node_modules/ioredis/LICENSE b/node_modules/ioredis/LICENSE new file mode 100644 index 0000000..1d4bd28 --- /dev/null +++ b/node_modules/ioredis/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2015-2022 Zihua Li + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/ioredis/README.md b/node_modules/ioredis/README.md new file mode 100644 index 0000000..2b33d38 --- /dev/null +++ b/node_modules/ioredis/README.md @@ -0,0 +1,1498 @@ +[![ioredis](https://cdn.jsdelivr.net/gh/redis/ioredis@b5e8c74/logo.svg)](https://github.com/redis/ioredis) + +[![Build Status](https://github.com/redis/ioredis/actions/workflows/release.yml/badge.svg?branch=main)](https://github.com/redis/ioredis/actions/workflows/release.yml?query=branch%3Amain) +[![Coverage Status](https://coveralls.io/repos/github/luin/ioredis/badge.svg?branch=main)](https://coveralls.io/github/luin/ioredis?branch=main) +[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) +[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) + +[![Discord](https://img.shields.io/discord/697882427875393627.svg?style=social&logo=discord)](https://discord.gg/redis) +[![Twitch](https://img.shields.io/twitch/status/redisinc?style=social)](https://www.twitch.tv/redisinc) +[![YouTube](https://img.shields.io/youtube/channel/views/UCD78lHSwYqMlyetR0_P4Vig?style=social)](https://www.youtube.com/redisinc) +[![Twitter](https://img.shields.io/twitter/follow/redisinc?style=social)](https://twitter.com/redisinc) + +A robust, performance-focused and full-featured [Redis](http://redis.io) client for [Node.js](https://nodejs.org). + +Supports Redis >= 2.6.12. Completely compatible with Redis 7.x. + +ioredis is a stable project and maintenance is done on a best-effort basis for relevant issues (contributions to ioredis will still be evaluated, reviewed, and merged when they benefit the project). For new projects, node-redis is the recommended client library. [node-redis](https://github.com/redis/node-redis) is the open-source (MIT license) Redis JavaScript client library redesigned from the ground up and actively maintained. [node-redis](https://github.com/redis/node-redis) supports new (hash-field expiration) and future commands and the capabilities available in Redis Stack and Redis 8 (search, JSON, time-series, probabilistic data structures). + +# Features + +ioredis is a robust, full-featured Redis client that is +used in the world's biggest online commerce company [Alibaba](http://www.alibaba.com/) and many other awesome companies. + +0. Full-featured. It supports [Cluster](http://redis.io/topics/cluster-tutorial), [Sentinel](https://redis.io/docs/latest/operate/oss_and_stack/management/sentinel/), [Streams](https://redis.io/topics/streams-intro), [Pipelining](http://redis.io/topics/pipelining), and of course [Lua scripting](http://redis.io/commands/eval), [Redis Functions](https://redis.io/topics/functions-intro), [Pub/Sub](http://redis.io/topics/pubsub) (with the support of binary messages). +1. High performance 🚀. +2. Delightful API 😄. It works with Node callbacks and Native promises. +3. Transformation of command arguments and replies. +4. Transparent key prefixing. +5. Abstraction for Lua scripting, allowing you to [define custom commands](https://github.com/redis/ioredis#lua-scripting). +6. Supports [binary data](https://github.com/redis/ioredis#handle-binary-data). +7. Supports [TLS](https://github.com/redis/ioredis#tls-options) 🔒. +8. Supports offline queue and ready checking. +9. Supports ES6 types, such as `Map` and `Set`. +10. Supports GEO commands 📍. +11. Supports Redis ACL. +12. Sophisticated error handling strategy. +13. Supports NAT mapping. +14. Supports autopipelining. + +**100% written in TypeScript and official declarations are provided:** + +TypeScript Screenshot + +# Versions + +| Version | Branch | Node.js Version | Redis Version | +| -------------- | ------ | --------------- | --------------- | +| 5.x.x (latest) | main | >= 12 | 2.6.12 ~ latest | +| 4.x.x | v4 | >= 8 | 2.6.12 ~ 7 | + +Refer to [CHANGELOG.md](CHANGELOG.md) for features and bug fixes introduced in v5. + +🚀 [Upgrading from v4 to v5](https://github.com/redis/ioredis/wiki/Upgrading-from-v4-to-v5) + +# Links + +- [API Documentation](https://redis.github.io/ioredis/) ([Redis](https://redis.github.io/ioredis/classes/Redis.html), [Cluster](https://redis.github.io/ioredis/classes/Cluster.html)) +- [Changelog](CHANGELOG.md) + +
      + +# Quick Start + +## Install + +```shell +npm install ioredis +``` + +In a TypeScript project, you may want to add TypeScript declarations for Node.js: + +```shell +npm install --save-dev @types/node +``` + +## Basic Usage + +```javascript +// Import ioredis. +// You can also use `import { Redis } from "ioredis"` +// if your project is a TypeScript project, +// Note that `import Redis from "ioredis"` is still supported, +// but will be deprecated in the next major version. +const Redis = require("ioredis"); + +// Create a Redis instance. +// By default, it will connect to localhost:6379. +// We are going to cover how to specify connection options soon. +const redis = new Redis(); + +redis.set("mykey", "value"); // Returns a promise which resolves to "OK" when the command succeeds. + +// ioredis supports the node.js callback style +redis.get("mykey", (err, result) => { + if (err) { + console.error(err); + } else { + console.log(result); // Prints "value" + } +}); + +// Or ioredis returns a promise if the last argument isn't a function +redis.get("mykey").then((result) => { + console.log(result); // Prints "value" +}); + +redis.zadd("sortedSet", 1, "one", 2, "dos", 4, "quatro", 3, "three"); +redis.zrange("sortedSet", 0, 2, "WITHSCORES").then((elements) => { + // ["one", "1", "dos", "2", "three", "3"] as if the command was `redis> ZRANGE sortedSet 0 2 WITHSCORES` + console.log(elements); +}); + +// All arguments are passed directly to the redis server, +// so technically ioredis supports all Redis commands. +// The format is: redis[SOME_REDIS_COMMAND_IN_LOWERCASE](ARGUMENTS_ARE_JOINED_INTO_COMMAND_STRING) +// so the following statement is equivalent to the CLI: `redis> SET mykey hello EX 10` +redis.set("mykey", "hello", "EX", 10); +``` + +See the `examples/` folder for more examples. For example: + +- [TTL](examples/ttl.js) +- [Strings](examples/string.js) +- [Hashes](examples/hash.js) +- [Lists](examples/list.js) +- [Sets](examples/set.js) +- [Sorted Sets](examples/zset.js) +- [Streams](examples/stream.js) +- [Redis Modules](examples/module.js) e.g. RedisJSON + +All Redis commands are supported. See [the documentation](https://redis.github.io/ioredis/classes/Redis.html) for details. + +## Connect to Redis + +When a new `Redis` instance is created, +a connection to Redis will be created at the same time. +You can specify which Redis to connect to by: + +```javascript +new Redis(); // Connect to 127.0.0.1:6379 +new Redis(6380); // 127.0.0.1:6380 +new Redis(6379, "192.168.1.1"); // 192.168.1.1:6379 +new Redis("/tmp/redis.sock"); +new Redis({ + port: 6379, // Redis port + host: "127.0.0.1", // Redis host + username: "default", // needs Redis >= 6 + password: "my-top-secret", + db: 0, // Defaults to 0 +}); +``` + +You can also specify connection options as a [`redis://` URL](http://www.iana.org/assignments/uri-schemes/prov/redis) or [`rediss://` URL](https://www.iana.org/assignments/uri-schemes/prov/rediss) when using [TLS encryption](#tls-options): + +```javascript +// Connect to 127.0.0.1:6380, db 4, using password "authpassword": +new Redis("redis://:authpassword@127.0.0.1:6380/4"); + +// Username can also be passed via URI. +new Redis("redis://username:authpassword@127.0.0.1:6380/4"); +``` + +See [API Documentation](https://redis.github.io/ioredis/index.html#RedisOptions) for all available options. + +## Pub/Sub + +Redis provides several commands for developers to implement the [Publish–subscribe pattern](https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern). There are two roles in this pattern: publisher and subscriber. Publishers are not programmed to send their messages to specific subscribers. Rather, published messages are characterized into channels, without knowledge of what (if any) subscribers there may be. + +By leveraging Node.js's built-in events module, ioredis makes pub/sub very straightforward to use. Below is a simple example that consists of two files, one is publisher.js that publishes messages to a channel, the other is subscriber.js that listens for messages on specific channels. + +```javascript +// publisher.js + +const Redis = require("ioredis"); +const redis = new Redis(); + +setInterval(() => { + const message = { foo: Math.random() }; + // Publish to my-channel-1 or my-channel-2 randomly. + const channel = `my-channel-${1 + Math.round(Math.random())}`; + + // Message can be either a string or a buffer + redis.publish(channel, JSON.stringify(message)); + console.log("Published %s to %s", message, channel); +}, 1000); +``` + +```javascript +// subscriber.js + +const Redis = require("ioredis"); +const redis = new Redis(); + +redis.subscribe("my-channel-1", "my-channel-2", (err, count) => { + if (err) { + // Just like other commands, subscribe() can fail for some reasons, + // ex network issues. + console.error("Failed to subscribe: %s", err.message); + } else { + // `count` represents the number of channels this client are currently subscribed to. + console.log( + `Subscribed successfully! This client is currently subscribed to ${count} channels.` + ); + } +}); + +redis.on("message", (channel, message) => { + console.log(`Received ${message} from ${channel}`); +}); + +// There's also an event called 'messageBuffer', which is the same as 'message' except +// it returns buffers instead of strings. +// It's useful when the messages are binary data. +redis.on("messageBuffer", (channel, message) => { + // Both `channel` and `message` are buffers. + console.log(channel, message); +}); +``` + +It's worth noticing that a connection (aka a `Redis` instance) can't play both roles at the same time. More specifically, when a client issues `subscribe()` or `psubscribe()`, it enters the "subscriber" mode. From that point, only commands that modify the subscription set are valid. Namely, they are: `subscribe`, `psubscribe`, `unsubscribe`, `punsubscribe`, `ping`, and `quit`. When the subscription set is empty (via `unsubscribe`/`punsubscribe`), the connection is put back into the regular mode. + +If you want to do pub/sub in the same file/process, you should create a separate connection: + +```javascript +const Redis = require("ioredis"); +const sub = new Redis(); +const pub = new Redis(); + +sub.subscribe(/* ... */); // From now, `sub` enters the subscriber mode. +sub.on("message" /* ... */); + +setInterval(() => { + // `pub` can be used to publish messages, or send other regular commands (e.g. `hgetall`) + // because it's not in the subscriber mode. + pub.publish(/* ... */); +}, 1000); +``` + +`PSUBSCRIBE` is also supported in a similar way when you want to subscribe all channels whose name matches a pattern: + +```javascript +redis.psubscribe("pat?ern", (err, count) => {}); + +// Event names are "pmessage"/"pmessageBuffer" instead of "message/messageBuffer". +redis.on("pmessage", (pattern, channel, message) => {}); +redis.on("pmessageBuffer", (pattern, channel, message) => {}); +``` + +## Streams + +Redis v5 introduces a new data type called streams. It doubles as a communication channel for building streaming architectures and as a log-like data structure for persisting data. With ioredis, the usage can be pretty straightforward. Say we have a producer publishes messages to a stream with `redis.xadd("mystream", "*", "randomValue", Math.random())` (You may find the [official documentation of Streams](https://redis.io/topics/streams-intro) as a starter to understand the parameters used), to consume the messages, we'll have a consumer with the following code: + +```javascript +const Redis = require("ioredis"); +const redis = new Redis(); + +const processMessage = (message) => { + console.log("Id: %s. Data: %O", message[0], message[1]); +}; + +async function listenForMessage(lastId = "$") { + // `results` is an array, each element of which corresponds to a key. + // Because we only listen to one key (mystream) here, `results` only contains + // a single element. See more: https://redis.io/commands/xread#return-value + const results = await redis.xread("BLOCK", 0, "STREAMS", "mystream", lastId); + const [key, messages] = results[0]; // `key` equals to "mystream" + + messages.forEach(processMessage); + + // Pass the last id of the results to the next round. + await listenForMessage(messages[messages.length - 1][0]); +} + +listenForMessage(); +``` + +## Expiration + +Redis can set a timeout to expire your key, after the timeout has expired the key will be automatically deleted. (You can find the [official Expire documentation](https://redis.io/commands/expire/) to understand better the different parameters you can use), to set your key to expire in 60 seconds, we will have the following code: + +```javascript +redis.set("key", "data", "EX", 60); +// Equivalent to redis command "SET key data EX 60", because on ioredis set method, +// all arguments are passed directly to the redis server. +``` + +## Handle Binary Data + +Binary data support is out of the box. Pass buffers to send binary data: + +```javascript +redis.set("foo", Buffer.from([0x62, 0x75, 0x66])); +``` + +Every command that returns a [bulk string](https://redis.io/docs/reference/protocol-spec/#resp-bulk-strings) +has a variant command with a `Buffer` suffix. The variant command returns a buffer instead of a UTF-8 string: + +```javascript +const result = await redis.getBuffer("foo"); +// result is `` +``` + +It's worth noticing that you don't need the `Buffer` suffix variant in order to **send** binary data. That means +in most case you should just use `redis.set()` instead of `redis.setBuffer()` unless you want to get the old value +with the `GET` parameter: + +```javascript +const result = await redis.setBuffer("foo", "new value", "GET"); +// result is `` as `GET` indicates returning the old value. +``` + +## Pipelining + +If you want to send a batch of commands (e.g. > 5), you can use pipelining to queue +the commands in memory and then send them to Redis all at once. This way the performance improves by 50%~300% (See [benchmark section](#benchmarks)). + +`redis.pipeline()` creates a `Pipeline` instance. You can call any Redis +commands on it just like the `Redis` instance. The commands are queued in memory +and flushed to Redis by calling the `exec` method: + +```javascript +const pipeline = redis.pipeline(); +pipeline.set("foo", "bar"); +pipeline.del("cc"); +pipeline.exec((err, results) => { + // `err` is always null, and `results` is an array of responses + // corresponding to the sequence of queued commands. + // Each response follows the format `[err, result]`. +}); + +// You can even chain the commands: +redis + .pipeline() + .set("foo", "bar") + .del("cc") + .exec((err, results) => {}); + +// `exec` also returns a Promise: +const promise = redis.pipeline().set("foo", "bar").get("foo").exec(); +promise.then((result) => { + // result === [[null, 'OK'], [null, 'bar']] +}); +``` + +Each chained command can also have a callback, which will be invoked when the command +gets a reply: + +```javascript +redis + .pipeline() + .set("foo", "bar") + .get("foo", (err, result) => { + // result === 'bar' + }) + .exec((err, result) => { + // result[1][1] === 'bar' + }); +``` + +In addition to adding commands to the `pipeline` queue individually, you can also pass an array of commands and arguments to the constructor: + +```javascript +redis + .pipeline([ + ["set", "foo", "bar"], + ["get", "foo"], + ]) + .exec(() => { + /* ... */ + }); +``` + +`#length` property shows how many commands in the pipeline: + +```javascript +const length = redis.pipeline().set("foo", "bar").get("foo").length; +// length === 2 +``` + +## Transaction + +Most of the time, the transaction commands `multi` & `exec` are used together with pipeline. +Therefore, when `multi` is called, a `Pipeline` instance is created automatically by default, +so you can use `multi` just like `pipeline`: + +```javascript +redis + .multi() + .set("foo", "bar") + .get("foo") + .exec((err, results) => { + // results === [[null, 'OK'], [null, 'bar']] + }); +``` + +If there's a syntax error in the transaction's command chain (e.g. wrong number of arguments, wrong command name, etc), +then none of the commands would be executed, and an error is returned: + +```javascript +redis + .multi() + .set("foo") + .set("foo", "new value") + .exec((err, results) => { + // err: + // { [ReplyError: EXECABORT Transaction discarded because of previous errors.] + // name: 'ReplyError', + // message: 'EXECABORT Transaction discarded because of previous errors.', + // command: { name: 'exec', args: [] }, + // previousErrors: + // [ { [ReplyError: ERR wrong number of arguments for 'set' command] + // name: 'ReplyError', + // message: 'ERR wrong number of arguments for \'set\' command', + // command: [Object] } ] } + }); +``` + +In terms of the interface, `multi` differs from `pipeline` in that when specifying a callback +to each chained command, the queueing state is passed to the callback instead of the result of the command: + +```javascript +redis + .multi() + .set("foo", "bar", (err, result) => { + // result === 'QUEUED' + }) + .exec(/* ... */); +``` + +If you want to use transaction without pipeline, pass `{ pipeline: false }` to `multi`, +and every command will be sent to Redis immediately without waiting for an `exec` invocation: + +```javascript +redis.multi({ pipeline: false }); +redis.set("foo", "bar"); +redis.get("foo"); +redis.exec((err, result) => { + // result === [[null, 'OK'], [null, 'bar']] +}); +``` + +The constructor of `multi` also accepts a batch of commands: + +```javascript +redis + .multi([ + ["set", "foo", "bar"], + ["get", "foo"], + ]) + .exec(() => { + /* ... */ + }); +``` + +Inline transactions are supported by pipeline, which means you can group a subset of commands +in the pipeline into a transaction: + +```javascript +redis + .pipeline() + .get("foo") + .multi() + .set("foo", "bar") + .get("foo") + .exec() + .get("foo") + .exec(); +``` + +## Lua Scripting + +ioredis supports all of the scripting commands such as `EVAL`, `EVALSHA` and `SCRIPT`. +However, it's tedious to use in real world scenarios since developers have to take +care of script caching and to detect when to use `EVAL` and when to use `EVALSHA`. +ioredis exposes a `defineCommand` method to make scripting much easier to use: + +```javascript +const redis = new Redis(); + +// This will define a command myecho: +redis.defineCommand("myecho", { + numberOfKeys: 2, + lua: "return {KEYS[1],KEYS[2],ARGV[1],ARGV[2]}", +}); + +// Now `myecho` can be used just like any other ordinary command, +// and ioredis will try to use `EVALSHA` internally when possible for better performance. +redis.myecho("k1", "k2", "a1", "a2", (err, result) => { + // result === ['k1', 'k2', 'a1', 'a2'] +}); + +// `myechoBuffer` is also defined automatically to return buffers instead of strings: +redis.myechoBuffer("k1", "k2", "a1", "a2", (err, result) => { + // result[0] equals to Buffer.from('k1'); +}); + +// And of course it works with pipeline: +redis.pipeline().set("foo", "bar").myecho("k1", "k2", "a1", "a2").exec(); +``` + +### Dynamic Keys + +If the number of keys can't be determined when defining a command, you can +omit the `numberOfKeys` property and pass the number of keys as the first argument +when you call the command: + +```javascript +redis.defineCommand("echoDynamicKeyNumber", { + lua: "return {KEYS[1],KEYS[2],ARGV[1],ARGV[2]}", +}); + +// Now you have to pass the number of keys as the first argument every time +// you invoke the `echoDynamicKeyNumber` command: +redis.echoDynamicKeyNumber(2, "k1", "k2", "a1", "a2", (err, result) => { + // result === ['k1', 'k2', 'a1', 'a2'] +}); +``` + +### As Constructor Options + +Besides `defineCommand()`, you can also define custom commands with the `scripts` constructor option: + +```javascript +const redis = new Redis({ + scripts: { + myecho: { + numberOfKeys: 2, + lua: "return {KEYS[1],KEYS[2],ARGV[1],ARGV[2]}", + }, + }, +}); +``` + +### TypeScript Usages + +You can refer to [the example](examples/typescript/scripts.ts) for how to declare your custom commands. + +## Transparent Key Prefixing + +This feature allows you to specify a string that will automatically be prepended +to all the keys in a command, which makes it easier to manage your key +namespaces. + +**Warning** This feature won't apply to commands like [KEYS](http://redis.io/commands/KEYS) and [SCAN](http://redis.io/commands/scan) that take patterns rather than actual keys([#239](https://github.com/redis/ioredis/issues/239)), +and this feature also won't apply to the replies of commands even if they are key names ([#325](https://github.com/redis/ioredis/issues/325)). + +```javascript +const fooRedis = new Redis({ keyPrefix: "foo:" }); +fooRedis.set("bar", "baz"); // Actually sends SET foo:bar baz + +fooRedis.defineCommand("myecho", { + numberOfKeys: 2, + lua: "return {KEYS[1],KEYS[2],ARGV[1],ARGV[2]}", +}); + +// Works well with pipelining/transaction +fooRedis + .pipeline() + // Sends SORT foo:list BY foo:weight_*->fieldname + .sort("list", "BY", "weight_*->fieldname") + // Supports custom commands + // Sends EVALSHA xxx foo:k1 foo:k2 a1 a2 + .myecho("k1", "k2", "a1", "a2") + .exec(); +``` + +## Transforming Arguments & Replies + +Most Redis commands take one or more Strings as arguments, +and replies are sent back as a single String or an Array of Strings. However, sometimes +you may want something different. For instance, it would be more convenient if the `HGETALL` +command returns a hash (e.g. `{ key: val1, key2: v2 }`) rather than an array of key values (e.g. `[key1, val1, key2, val2]`). + +ioredis has a flexible system for transforming arguments and replies. There are two types +of transformers, argument transformer and reply transformer: + +```javascript +const Redis = require("ioredis"); + +// Here's the built-in argument transformer converting +// hmset('key', { k1: 'v1', k2: 'v2' }) +// or +// hmset('key', new Map([['k1', 'v1'], ['k2', 'v2']])) +// into +// hmset('key', 'k1', 'v1', 'k2', 'v2') +Redis.Command.setArgumentTransformer("hmset", (args) => { + if (args.length === 2) { + if (args[1] instanceof Map) { + // utils is a internal module of ioredis + return [args[0], ...utils.convertMapToArray(args[1])]; + } + if (typeof args[1] === "object" && args[1] !== null) { + return [args[0], ...utils.convertObjectToArray(args[1])]; + } + } + return args; +}); + +// Here's the built-in reply transformer converting the HGETALL reply +// ['k1', 'v1', 'k2', 'v2'] +// into +// { k1: 'v1', 'k2': 'v2' } +Redis.Command.setReplyTransformer("hgetall", (result) => { + if (Array.isArray(result)) { + const obj = {}; + for (let i = 0; i < result.length; i += 2) { + obj[result[i]] = result[i + 1]; + } + return obj; + } + return result; +}); +``` + +There are three built-in transformers, two argument transformers for `hmset` & `mset` and +a reply transformer for `hgetall`. Transformers for `hmset` and `hgetall` were mentioned +above, and the transformer for `mset` is similar to the one for `hmset`: + +```javascript +redis.mset({ k1: "v1", k2: "v2" }); +redis.get("k1", (err, result) => { + // result === 'v1'; +}); + +redis.mset( + new Map([ + ["k3", "v3"], + ["k4", "v4"], + ]) +); +redis.get("k3", (err, result) => { + // result === 'v3'; +}); +``` + +Another useful example of a reply transformer is one that changes `hgetall` to return array of arrays instead of objects which avoids an unwanted conversation of hash keys to strings when dealing with binary hash keys: + +```javascript +Redis.Command.setReplyTransformer("hgetall", (result) => { + const arr = []; + for (let i = 0; i < result.length; i += 2) { + arr.push([result[i], result[i + 1]]); + } + return arr; +}); +redis.hset("h1", Buffer.from([0x01]), Buffer.from([0x02])); +redis.hset("h1", Buffer.from([0x03]), Buffer.from([0x04])); +redis.hgetallBuffer("h1", (err, result) => { + // result === [ [ , ], [ , ] ]; +}); +``` + +## Monitor + +Redis supports the MONITOR command, +which lets you see all commands received by the Redis server across all client connections, +including from other client libraries and other computers. + +The `monitor` method returns a monitor instance. +After you send the MONITOR command, no other commands are valid on that connection. ioredis will emit a monitor event for every new monitor message that comes across. +The callback for the monitor event takes a timestamp from the Redis server and an array of command arguments. + +Here is a simple example: + +```javascript +redis.monitor((err, monitor) => { + monitor.on("monitor", (time, args, source, database) => {}); +}); +``` + +Here is another example illustrating an `async` function and `monitor.disconnect()`: + +```javascript +async () => { + const monitor = await redis.monitor(); + monitor.on("monitor", console.log); + // Any other tasks + monitor.disconnect(); +}; +``` + +## Streamify Scanning + +Redis 2.8 added the `SCAN` command to incrementally iterate through the keys in the database. It's different from `KEYS` in that +`SCAN` only returns a small number of elements each call, so it can be used in production without the downside +of blocking the server for a long time. However, it requires recording the cursor on the client side each time +the `SCAN` command is called in order to iterate through all the keys correctly. Since it's a relatively common use case, ioredis +provides a streaming interface for the `SCAN` command to make things much easier. A readable stream can be created by calling `scanStream`: + +```javascript +const redis = new Redis(); +// Create a readable stream (object mode) +const stream = redis.scanStream(); +stream.on("data", (resultKeys) => { + // `resultKeys` is an array of strings representing key names. + // Note that resultKeys may contain 0 keys, and that it will sometimes + // contain duplicates due to SCAN's implementation in Redis. + for (let i = 0; i < resultKeys.length; i++) { + console.log(resultKeys[i]); + } +}); +stream.on("end", () => { + console.log("all keys have been visited"); +}); +``` + +`scanStream` accepts an option, with which you can specify the `MATCH` pattern, the `TYPE` filter, and the `COUNT` argument: + +```javascript +const stream = redis.scanStream({ + // only returns keys following the pattern of `user:*` + match: "user:*", + // only return objects that match a given type, + // (requires Redis >= 6.0) + type: "zset", + // returns approximately 100 elements per call + count: 100, +}); +``` + +Just like other commands, `scanStream` has a binary version `scanBufferStream`, which returns an array of buffers. It's useful when +the key names are not utf8 strings. + +There are also `hscanStream`, `zscanStream` and `sscanStream` to iterate through elements in a hash, zset and set. The interface of each is +similar to `scanStream` except the first argument is the key name: + +```javascript +const stream = redis.zscanStream("myhash", { + match: "age:??", +}); +``` +The `hscanStream` also accepts the `noValues` option to specify whether Redis should return only the keys in the hash table without their corresponding values. +```javascript +const stream = redis.hscanStream("myhash", { + match: "age:??", + noValues: true, +}); +``` +You can learn more from the [Redis documentation](http://redis.io/commands/scan). + +**Useful Tips** +It's pretty common that doing an async task in the `data` handler. We'd like the scanning process to be paused until the async task to be finished. `Stream#pause()` and `Stream#resume()` do the trick. For example if we want to migrate data in Redis to MySQL: + +```javascript +const stream = redis.scanStream(); +stream.on("data", (resultKeys) => { + // Pause the stream from scanning more keys until we've migrated the current keys. + stream.pause(); + + Promise.all(resultKeys.map(migrateKeyToMySQL)).then(() => { + // Resume the stream here. + stream.resume(); + }); +}); + +stream.on("end", () => { + console.log("done migration"); +}); +``` + +## Auto-reconnect + +By default, ioredis will try to reconnect when the connection to Redis is lost +except when the connection is closed manually by `redis.disconnect()` or `redis.quit()`. + +It's very flexible to control how long to wait to reconnect after disconnection +using the `retryStrategy` option: + +```javascript +const redis = new Redis({ + // This is the default value of `retryStrategy` + retryStrategy(times) { + const delay = Math.min(times * 50, 2000); + return delay; + }, +}); +``` + +`retryStrategy` is a function that will be called when the connection is lost. +The argument `times` means this is the nth reconnection being made and +the return value represents how long (in ms) to wait to reconnect. When the +return value isn't a number, ioredis will stop trying to reconnect, and the connection +will be lost forever if the user doesn't call `redis.connect()` manually. + +When reconnected, the client will auto subscribe to channels that the previous connection subscribed to. +This behavior can be disabled by setting the `autoResubscribe` option to `false`. + +And if the previous connection has some unfulfilled commands (most likely blocking commands such as `brpop` and `blpop`), +the client will resend them when reconnected. This behavior can be disabled by setting the `autoResendUnfulfilledCommands` option to `false`. + +By default, all pending commands will be flushed with an error every 20 retry attempts. That makes sure commands won't wait forever when the connection is down. You can change this behavior by setting `maxRetriesPerRequest`: + +```javascript +const redis = new Redis({ + maxRetriesPerRequest: 1, +}); +``` + +Set maxRetriesPerRequest to `null` to disable this behavior, and every command will wait forever until the connection is alive again (which is the default behavior before ioredis v4). + +### Blocking Command Timeout + +ioredis can apply a client-side timeout to blocking commands (such as `blpop`, `brpop`, `bzpopmin`, `bzmpop`, `blmpop`, `xread`, `xreadgroup`, etc.). This protects against scenarios where the TCP connection becomes a zombie (e.g., due to a silent network failure like a Docker network disconnect) and Redis never replies. + +This feature is **opt-in**. It is **disabled by default** and is only enabled +when `blockingTimeout` is set to a positive number of milliseconds. If +`blockingTimeout` is omitted, `0`, or negative (for example `-1`), ioredis +does not arm any client-side timeouts for blocking commands and their +behavior matches Redis exactly. + +```javascript +const redis = new Redis({ + blockingTimeout: 30000, // Enable blocking timeout protection +}); +``` + +When enabled: +- For commands with a finite timeout (e.g., `blpop("key", 5)`), ioredis sets a client-side deadline based on the command's timeout plus a small grace period (`blockingTimeoutGrace`, default 100ms). If no reply arrives before the deadline, the command resolves with `null`—the same value Redis returns when a blocking command times out normally. +- For commands that block forever (e.g., `timeout = 0` or `BLOCK 0`), the `blockingTimeout` value is used as a safety net. + +### Reconnect on Error + +Besides auto-reconnect when the connection is closed, ioredis supports reconnecting on certain Redis errors using the `reconnectOnError` option. Here's an example that will reconnect when receiving `READONLY` error: + +```javascript +const redis = new Redis({ + reconnectOnError(err) { + const targetError = "READONLY"; + if (err.message.includes(targetError)) { + // Only reconnect when the error contains "READONLY" + return true; // or `return 1;` + } + }, +}); +``` + +This feature is useful when using Amazon ElastiCache instances with Auto-failover disabled. On these instances, test your `reconnectOnError` handler by manually promoting the replica node to the primary role using the AWS console. The following writes fail with the error `READONLY`. Using `reconnectOnError`, we can force the connection to reconnect on this error in order to connect to the new master. Furthermore, if the `reconnectOnError` returns `2`, ioredis will resend the failed command after reconnecting. + +On ElastiCache instances with Auto-failover enabled, `reconnectOnError` does not execute. Instead of returning a Redis error, AWS closes all connections to the master endpoint until the new primary node is ready. ioredis reconnects via `retryStrategy` instead of `reconnectOnError` after about a minute. On ElastiCache instances with Auto-failover enabled, test failover events with the `Failover primary` option in the AWS console. + +## Connection Events + +The Redis instance will emit some events about the state of the connection to the Redis server. + +| Event | Description | +| :----------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| connect | emits when a connection is established to the Redis server. | +| ready | If `enableReadyCheck` is `true`, client will emit `ready` when the server reports that it is ready to receive commands (e.g. finish loading data from disk).
      Otherwise, `ready` will be emitted immediately right after the `connect` event. | +| error | emits when an error occurs while connecting.
      However, ioredis emits all `error` events silently (only emits when there's at least one listener) so that your application won't crash if you're not listening to the `error` event.
      When `redis.connect()` is explicitly called the error will also be rejected from the returned promise, in addition to emitting it. If `redis.connect()` is not called explicitly and `lazyConnect` is true, ioredis will try to connect automatically on the first command and emit the `error` event silently. | +| close | emits when an established Redis server connection has closed. | +| reconnecting | emits after `close` when a reconnection will be made. The argument of the event is the time (in ms) before reconnecting. | +| end | emits after `close` when no more reconnections will be made, or the connection is failed to establish. | +| wait | emits when `lazyConnect` is set and will wait for the first command to be called before connecting. | + +You can also check out the `Redis#status` property to get the current connection status. + +Besides the above connection events, there are several other custom events: + +| Event | Description | +| :----- | :------------------------------------------------------------------ | +| select | emits when the database changed. The argument is the new db number. | + +## Offline Queue + +When a command can't be processed by Redis (being sent before the `ready` event), by default, it's added to the offline queue and will be +executed when it can be processed. You can disable this feature by setting the `enableOfflineQueue` +option to `false`: + +```javascript +const redis = new Redis({ enableOfflineQueue: false }); +``` + +## TLS Options + +Redis doesn't support TLS natively, however if the redis server you want to connect to is hosted behind a TLS proxy (e.g. [stunnel](https://www.stunnel.org/)) or is offered by a PaaS service that supports TLS connection (e.g. [Redis.com](https://redis.com/)), you can set the `tls` option: + +```javascript +const redis = new Redis({ + host: "localhost", + tls: { + // Refer to `tls.connect()` section in + // https://nodejs.org/api/tls.html + // for all supported options + ca: fs.readFileSync("cert.pem"), + }, +}); +``` + +Alternatively, specify the connection through a [`rediss://` URL](https://www.iana.org/assignments/uri-schemes/prov/rediss). + +```javascript +const redis = new Redis("rediss://redis.my-service.com"); +``` + +If you do not want to use a connection string, you can also specify an empty `tls: {}` object: + +```javascript +const redis = new Redis({ + host: "redis.my-service.com", + tls: {}, +}); +``` + +### TLS Profiles + +> **Warning** +> TLS profiles described in this section are going to be deprecated in the next major version. Please provide TLS options explicitly. + +To make it easier to configure we provide a few pre-configured TLS profiles that can be specified by setting the `tls` option to the profile's name or specifying a `tls.profile` option in case you need to customize some values of the profile. + +Profiles: + +- `RedisCloudFixed`: Contains the CA for [Redis.com](https://redis.com/) Cloud fixed subscriptions +- `RedisCloudFlexible`: Contains the CA for [Redis.com](https://redis.com/) Cloud flexible subscriptions + +```javascript +const redis = new Redis({ + host: "localhost", + tls: "RedisCloudFixed", +}); + +const redisWithClientCertificate = new Redis({ + host: "localhost", + tls: { + profile: "RedisCloudFixed", + key: "123", + }, +}); +``` + +
      + +## Sentinel + +ioredis supports Sentinel out of the box. It works transparently as all features that work when +you connect to a single node also work when you connect to a sentinel group. Make sure to run Redis >= 2.8.12 if you want to use this feature. Sentinels have a default port of 26379. + +To connect using Sentinel, use: + +```javascript +const redis = new Redis({ + sentinels: [ + { host: "localhost", port: 26379 }, + { host: "localhost", port: 26380 }, + ], + name: "mymaster", +}); + +redis.set("foo", "bar"); +``` + +The arguments passed to the constructor are different from the ones you use to connect to a single node, where: + +- `name` identifies a group of Redis instances composed of a master and one or more slaves (`mymaster` in the example); +- `sentinelPassword` (optional) password for Sentinel instances. +- `sentinels` are a list of sentinels to connect to. The list does not need to enumerate all your sentinel instances, but a few so that if one is down the client will try the next one. +- `role` (optional) with a value of `slave` will return a random slave from the Sentinel group. +- `preferredSlaves` (optional) can be used to prefer a particular slave or set of slaves based on priority. It accepts a function or array. +- `enableTLSForSentinelMode` (optional) set to true if connecting to sentinel instances that are encrypted + +ioredis **guarantees** that the node you connected to is always a master even after a failover. When a failover happens, instead of trying to reconnect to the failed node (which will be demoted to slave when it's available again), ioredis will ask sentinels for the new master node and connect to it. All commands sent during the failover are queued and will be executed when the new connection is established so that none of the commands will be lost. + +It's possible to connect to a slave instead of a master by specifying the option `role` with the value of `slave` and ioredis will try to connect to a random slave of the specified master, with the guarantee that the connected node is always a slave. If the current node is promoted to master due to a failover, ioredis will disconnect from it and ask the sentinels for another slave node to connect to. + +If you specify the option `preferredSlaves` along with `role: 'slave'` ioredis will attempt to use this value when selecting the slave from the pool of available slaves. The value of `preferredSlaves` should either be a function that accepts an array of available slaves and returns a single result, or an array of slave values priorities by the lowest `prio` value first with a default value of `1`. + +```javascript +// available slaves format +const availableSlaves = [{ ip: "127.0.0.1", port: "31231", flags: "slave" }]; + +// preferredSlaves array format +let preferredSlaves = [ + { ip: "127.0.0.1", port: "31231", prio: 1 }, + { ip: "127.0.0.1", port: "31232", prio: 2 }, +]; + +// preferredSlaves function format +preferredSlaves = function (availableSlaves) { + for (let i = 0; i < availableSlaves.length; i++) { + const slave = availableSlaves[i]; + if (slave.ip === "127.0.0.1") { + if (slave.port === "31234") { + return slave; + } + } + } + // if no preferred slaves are available a random one is used + return false; +}; + +const redis = new Redis({ + sentinels: [ + { host: "127.0.0.1", port: 26379 }, + { host: "127.0.0.1", port: 26380 }, + ], + name: "mymaster", + role: "slave", + preferredSlaves: preferredSlaves, +}); +``` + +Besides the `retryStrategy` option, there's also a `sentinelRetryStrategy` in Sentinel mode which will be invoked when all the sentinel nodes are unreachable during connecting. If `sentinelRetryStrategy` returns a valid delay time, ioredis will try to reconnect from scratch. The default value of `sentinelRetryStrategy` is: + +```javascript +function (times) { + const delay = Math.min(times * 10, 1000); + return delay; +} +``` + +## Cluster + +Redis Cluster provides a way to run a Redis installation where data is automatically sharded across multiple Redis nodes. +You can connect to a Redis Cluster like this: + +```javascript +const Redis = require("ioredis"); + +const cluster = new Redis.Cluster([ + { + port: 6380, + host: "127.0.0.1", + }, + { + port: 6381, + host: "127.0.0.1", + }, +]); + +cluster.set("foo", "bar"); +cluster.get("foo", (err, res) => { + // res === 'bar' +}); +``` + +`Cluster` constructor accepts two arguments, where: + +0. The first argument is a list of nodes of the cluster you want to connect to. + Just like Sentinel, the list does not need to enumerate all your cluster nodes, + but a few so that if one is unreachable the client will try the next one, and the client will discover other nodes automatically when at least one node is connected. +1. The second argument is the options, where: + + - `clusterRetryStrategy`: When none of the startup nodes are reachable, `clusterRetryStrategy` will be invoked. When a number is returned, + ioredis will try to reconnect to the startup nodes from scratch after the specified delay (in ms). Otherwise, an error of "None of startup nodes is available" will be returned. + The default value of this option is: + + ```javascript + function (times) { + const delay = Math.min(100 + times * 2, 2000); + return delay; + } + ``` + + It's possible to modify the `startupNodes` property in order to switch to another set of nodes here: + + ```javascript + function (times) { + this.startupNodes = [{ port: 6790, host: '127.0.0.1' }]; + return Math.min(100 + times * 2, 2000); + } + ``` + + - `dnsLookup`: Alternative DNS lookup function (`dns.lookup()` is used by default). It may be useful to override this in special cases, such as when AWS ElastiCache used with TLS enabled. + - `enableOfflineQueue`: Similar to the `enableOfflineQueue` option of `Redis` class. + - `enableReadyCheck`: When enabled, "ready" event will only be emitted when `CLUSTER INFO` command + reporting the cluster is ready for handling commands. Otherwise, it will be emitted immediately after "connect" is emitted. + - `scaleReads`: Config where to send the read queries. See below for more details. + - `maxRedirections`: When a cluster related error (e.g. `MOVED`, `ASK` and `CLUSTERDOWN` etc.) is received, the client will redirect the + command to another node. This option limits the max redirections allowed when sending a command. The default value is `16`. + - `retryDelayOnFailover`: If the target node is disconnected when sending a command, + ioredis will retry after the specified delay. The default value is `100`. You should make sure `retryDelayOnFailover * maxRedirections > cluster-node-timeout` + to insure that no command will fail during a failover. + - `retryDelayOnClusterDown`: When a cluster is down, all commands will be rejected with the error of `CLUSTERDOWN`. If this option is a number (by default, it is `100`), the client + will resend the commands after the specified time (in ms). + - `retryDelayOnTryAgain`: If this option is a number (by default, it is `100`), the client + will resend the commands rejected with `TRYAGAIN` error after the specified time (in ms). + - `retryDelayOnMoved`: By default, this value is `0` (in ms), which means when a `MOVED` error is received, the client will resend + the command instantly to the node returned together with the `MOVED` error. However, sometimes it takes time for a cluster to become + state stabilized after a failover, so adding a delay before resending can prevent a ping pong effect. + - `redisOptions`: Default options passed to the constructor of `Redis` when connecting to a node. + - `slotsRefreshTimeout`: Milliseconds before a timeout occurs while refreshing slots from the cluster (default `1000`). + - `slotsRefreshInterval`: Milliseconds between every automatic slots refresh (by default, it is disabled). + +### Read-Write Splitting + +A typical redis cluster contains three or more masters and several slaves for each master. It's possible to scale out redis cluster by sending read queries to slaves and write queries to masters by setting the `scaleReads` option. + +`scaleReads` is "master" by default, which means ioredis will never send any queries to slaves. There are other three available options: + +1. "all": Send write queries to masters and read queries to masters or slaves randomly. +2. "slave": Send write queries to masters and read queries to slaves. +3. a custom `function(nodes, command): node`: Will choose the custom function to select to which node to send read queries (write queries keep being sent to master). The first node in `nodes` is always the master serving the relevant slots. If the function returns an array of nodes, a random node of that list will be selected. + +For example: + +```javascript +const cluster = new Redis.Cluster( + [ + /* nodes */ + ], + { + scaleReads: "slave", + } +); +cluster.set("foo", "bar"); // This query will be sent to one of the masters. +cluster.get("foo", (err, res) => { + // This query will be sent to one of the slaves. +}); +``` + +**NB** In the code snippet above, the `res` may not be equal to "bar" because of the lag of replication between the master and slaves. + +### Running Commands to Multiple Nodes + +Every command will be sent to exactly one node. For commands containing keys, (e.g. `GET`, `SET` and `HGETALL`), ioredis sends them to the node that serving the keys, and for other commands not containing keys, (e.g. `INFO`, `KEYS` and `FLUSHDB`), ioredis sends them to a random node. + +Sometimes you may want to send a command to multiple nodes (masters or slaves) of the cluster, you can get the nodes via `Cluster#nodes()` method. + +`Cluster#nodes()` accepts a parameter role, which can be "master", "slave" and "all" (default), and returns an array of `Redis` instance. For example: + +```javascript +// Send `FLUSHDB` command to all slaves: +const slaves = cluster.nodes("slave"); +Promise.all(slaves.map((node) => node.flushdb())); + +// Get keys of all the masters: +const masters = cluster.nodes("master"); +Promise.all( + masters + .map((node) => node.keys()) + .then((keys) => { + // keys: [['key1', 'key2'], ['key3', 'key4']] + }) +); +``` + +### NAT Mapping + +Sometimes the cluster is hosted within a internal network that can only be accessed via a NAT (Network Address Translation) instance. See [Accessing ElastiCache from outside AWS](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/accessing-elasticache.html) as an example. + +You can specify nat mapping rules via `natMap` option: + +```javascript +const cluster = new Redis.Cluster( + [ + { + host: "203.0.113.73", + port: 30001, + }, + ], + { + natMap: { + "10.0.1.230:30001": { host: "203.0.113.73", port: 30001 }, + "10.0.1.231:30001": { host: "203.0.113.73", port: 30002 }, + "10.0.1.232:30001": { host: "203.0.113.73", port: 30003 }, + }, + } +); +``` + +Or you can specify this parameter through function: +```javascript +const cluster = new Redis.Cluster( + [ + { + host: "203.0.113.73", + port: 30001, + }, + ], + { + natMap: (key) => { + if(key.includes('30001')) { + return { host: "203.0.113.73", port: 30001 }; + } + + return null; + }, + } +); +``` + +This option is also useful when the cluster is running inside a Docker container. +Also it works for Clusters in cloud infrastructure where cluster nodes connected through dedicated subnet. + +Specifying through may be useful if you don't know concrete internal host and know only node port. + +### Transaction and Pipeline in Cluster Mode + +Almost all features that are supported by `Redis` are also supported by `Redis.Cluster`, e.g. custom commands, transaction and pipeline. +However there are some differences when using transaction and pipeline in Cluster mode: + +0. All keys in a pipeline should belong to slots served by the same node, since ioredis sends all commands in a pipeline to the same node. +1. You can't use `multi` without pipeline (aka `cluster.multi({ pipeline: false })`). This is because when you call `cluster.multi({ pipeline: false })`, ioredis doesn't know which node the `multi` command should be sent to. + +When any commands in a pipeline receives a `MOVED` or `ASK` error, ioredis will resend the whole pipeline to the specified node automatically if all of the following conditions are satisfied: + +0. All errors received in the pipeline are the same. For example, we won't resend the pipeline if we got two `MOVED` errors pointing to different nodes. +1. All commands executed successfully are readonly commands. This makes sure that resending the pipeline won't have side effects. + +### Pub/Sub + +Pub/Sub in cluster mode works exactly as the same as in standalone mode. Internally, when a node of the cluster receives a message, it will broadcast the message to the other nodes. ioredis makes sure that each message will only be received once by strictly subscribing one node at the same time. + +```javascript +const nodes = [ + /* nodes */ +]; +const pub = new Redis.Cluster(nodes); +const sub = new Redis.Cluster(nodes); +sub.on("message", (channel, message) => { + console.log(channel, message); +}); + +sub.subscribe("news", () => { + pub.publish("news", "highlights"); +}); +``` + +### Sharded Pub/Sub + +For sharded Pub/Sub, use the `spublish` and `ssubscribe` commands instead of the traditional `publish` and `subscribe`. With the old commands, the Redis cluster handles message propagation behind the scenes, allowing you to publish or subscribe to any node without considering sharding. However, this approach has scalability limitations that are addressed with sharded Pub/Sub. Here’s what you need to know: + +1. Instead of a single subscriber connection, there is now one subscriber connection per shard. Because of the potential overhead, you can enable or disable the use of the cluster subscriber group with the `shardedSubscribers` option. By default, this option is set to `false`, meaning sharded subscriptions are disabled. You should enable this option when establishing your cluster connection before using `ssubscribe`. +2. All channel names that you pass to a single `ssubscribe` need to map to the same hash slot. You can call `ssubscribe` multiple times on the same cluster client instance to subscribe to channels across slots. The cluster's subscriber group takes care of forwarding the `ssubscribe` command to the shard that is responsible for the channels. + +The following basic example shows you how to use sharded Pub/Sub: + +```javascript +const cluster: Cluster = new Cluster([{host: host, port: port}], {shardedSubscribers: true}); + +//Register the callback +cluster.on("smessage", (channel, message) => { + console.log(message); +}); + + +//Subscribe to the channels on the same slot +cluster.ssubscribe("channel{my}:1", "channel{my}:2").then( ( count: number ) => { + console.log(count); +}).catch( (err) => { + console.log(err); +}); + +//Publish a message +cluster.spublish("channel{my}:1", "This is a test message to my first channel.").then((value: number) => { + console.log("Published a message to channel{my}:1"); +}); +``` + + +### Events + +| Event | Description | +| :----------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| connect | emits when a connection is established to the Redis server. | +| ready | emits when `CLUSTER INFO` reporting the cluster is able to receive commands (if `enableReadyCheck` is `true`) or immediately after `connect` event (if `enableReadyCheck` is false). | +| error | emits when an error occurs while connecting with a property of `lastNodeError` representing the last node error received. This event is emitted silently (only emitting if there's at least one listener). | +| close | emits when an established Redis server connection has closed. | +| reconnecting | emits after `close` when a reconnection will be made. The argument of the event is the time (in ms) before reconnecting. | +| end | emits after `close` when no more reconnections will be made. | +| +node | emits when a new node is connected. | +| -node | emits when a node is disconnected. | +| node error | emits when an error occurs when connecting to a node. The second argument indicates the address of the node. | + +### Password + +Setting the `password` option to access password-protected clusters: + +```javascript +const Redis = require("ioredis"); +const cluster = new Redis.Cluster(nodes, { + redisOptions: { + password: "your-cluster-password", + }, +}); +``` + +If some of nodes in the cluster using a different password, you should specify them in the first parameter: + +```javascript +const Redis = require("ioredis"); +const cluster = new Redis.Cluster( + [ + // Use password "password-for-30001" for 30001 + { port: 30001, password: "password-for-30001" }, + // Don't use password when accessing 30002 + { port: 30002, password: null }, + // Other nodes will use "fallback-password" + ], + { + redisOptions: { + password: "fallback-password", + }, + } +); +``` + +### Special Note: Aws Elasticache Clusters with TLS + +AWS ElastiCache for Redis (Clustered Mode) supports TLS encryption. If you use +this, you may encounter errors with invalid certificates. To resolve this +issue, construct the `Cluster` with the `dnsLookup` option as follows: + +```javascript +const cluster = new Redis.Cluster( + [ + { + host: "clustercfg.myCluster.abcdefg.xyz.cache.amazonaws.com", + port: 6379, + }, + ], + { + dnsLookup: (address, callback) => callback(null, address), + redisOptions: { + tls: {}, + }, + } +); +``` + +
      + +## Autopipelining + +In standard mode, when you issue multiple commands, ioredis sends them to the server one by one. As described in Redis pipeline documentation, this is a suboptimal use of the network link, especially when such link is not very performant. + +The TCP and network overhead negatively affects performance. Commands are stuck in the send queue until the previous ones are correctly delivered to the server. This is a problem known as Head-Of-Line blocking (HOL). + +ioredis supports a feature called “auto pipelining”. It can be enabled by setting the option `enableAutoPipelining` to `true`. No other code change is necessary. + +In auto pipelining mode, all commands issued during an event loop are enqueued in a pipeline automatically managed by ioredis. At the end of the iteration, the pipeline is executed and thus all commands are sent to the server at the same time. + +This feature can dramatically improve throughput and avoids HOL blocking. In our benchmarks, the improvement was between 35% and 50%. + +While an automatic pipeline is executing, all new commands will be enqueued in a new pipeline which will be executed as soon as the previous finishes. + +When using Redis Cluster, one pipeline per node is created. Commands are assigned to pipelines according to which node serves the slot. + +A pipeline will thus contain commands using different slots but that ultimately are assigned to the same node. + +Note that the same slot limitation within a single command still holds, as it is a Redis limitation. + +### Example of Automatic Pipeline Enqueuing + +This sample code uses ioredis with automatic pipeline enabled. + +```javascript +const Redis = require("./built"); +const http = require("http"); + +const db = new Redis({ enableAutoPipelining: true }); + +const server = http.createServer((request, response) => { + const key = new URL(request.url, "https://localhost:3000/").searchParams.get( + "key" + ); + + db.get(key, (err, value) => { + response.writeHead(200, { "Content-Type": "text/plain" }); + response.end(value); + }); +}); + +server.listen(3000); +``` + +When Node receives requests, it schedules them to be processed in one or more iterations of the events loop. + +All commands issued by requests processing during one iteration of the loop will be wrapped in a pipeline automatically created by ioredis. + +In the example above, the pipeline will have the following contents: + +``` +GET key1 +GET key2 +GET key3 +... +GET keyN +``` + +When all events in the current loop have been processed, the pipeline is executed and thus all commands are sent to the server at the same time. + +While waiting for pipeline response from Redis, Node will still be able to process requests. All commands issued by request handler will be enqueued in a new automatically created pipeline. This pipeline will not be sent to the server yet. + +As soon as a previous automatic pipeline has received all responses from the server, the new pipeline is immediately sent without waiting for the events loop iteration to finish. + +This approach increases the utilization of the network link, reduces the TCP overhead and idle times and therefore improves throughput. + +### Benchmarks + +Here's some of the results of our tests for a single node. + +Each iteration of the test runs 1000 random commands on the server. + +| | Samples | Result | Tolerance | +| ------------------------- | ------- | ------------- | --------- | +| default | 1000 | 174.62 op/sec | ± 0.45 % | +| enableAutoPipelining=true | 1500 | 233.33 op/sec | ± 0.88 % | + +And here's the same test for a cluster of 3 masters and 3 replicas: + +| | Samples | Result | Tolerance | +| ------------------------- | ------- | ------------- | --------- | +| default | 1000 | 164.05 op/sec | ± 0.42 % | +| enableAutoPipelining=true | 3000 | 235.31 op/sec | ± 0.94 % | + +# Error Handling + +All the errors returned by the Redis server are instances of `ReplyError`, which can be accessed via `Redis`: + +```javascript +const Redis = require("ioredis"); +const redis = new Redis(); +// This command causes a reply error since the SET command requires two arguments. +redis.set("foo", (err) => { + err instanceof Redis.ReplyError; +}); +``` + +This is the error stack of the `ReplyError`: + +``` +ReplyError: ERR wrong number of arguments for 'set' command + at ReplyParser._parseResult (/app/node_modules/ioredis/lib/parsers/javascript.js:60:14) + at ReplyParser.execute (/app/node_modules/ioredis/lib/parsers/javascript.js:178:20) + at Socket. (/app/node_modules/ioredis/lib/redis/event_handler.js:99:22) + at Socket.emit (events.js:97:17) + at readableAddChunk (_stream_readable.js:143:16) + at Socket.Readable.push (_stream_readable.js:106:10) + at TCP.onread (net.js:509:20) +``` + +By default, the error stack doesn't make any sense because the whole stack happens in the ioredis +module itself, not in your code. So it's not easy to find out where the error happens in your code. +ioredis provides an option `showFriendlyErrorStack` to solve the problem. When you enable +`showFriendlyErrorStack`, ioredis will optimize the error stack for you: + +```javascript +const Redis = require("ioredis"); +const redis = new Redis({ showFriendlyErrorStack: true }); +redis.set("foo"); +``` + +And the output will be: + +``` +ReplyError: ERR wrong number of arguments for 'set' command + at Object. (/app/index.js:3:7) + at Module._compile (module.js:446:26) + at Object.Module._extensions..js (module.js:464:10) + at Module.load (module.js:341:32) + at Function.Module._load (module.js:296:12) + at Function.Module.runMain (module.js:487:10) + at startup (node.js:111:16) + at node.js:799:3 +``` + +This time the stack tells you that the error happens on the third line in your code. Pretty sweet! +However, it would decrease the performance significantly to optimize the error stack. So by +default, this option is disabled and can only be used for debugging purposes. You **shouldn't** use this feature in a production environment. + +# Running tests + +Start a Redis server on 127.0.0.1:6379, and then: + +```shell +npm test +``` + +`FLUSH ALL` will be invoked after each test, so make sure there's no valuable data in it before running tests. + +If your testing environment does not let you spin up a Redis server [ioredis-mock](https://github.com/stipsan/ioredis-mock) is a drop-in replacement you can use in your tests. It aims to behave identically to ioredis connected to a Redis server so that your integration tests is easier to write and of better quality. + +# Debug + +You can set the `DEBUG` env to `ioredis:*` to print debug info: + +```shell +$ DEBUG=ioredis:* node app.js +``` + +# Join in! + +I'm happy to receive bug reports, fixes, documentation enhancements, and any other improvements. + +And since I'm not a native English speaker, if you find any grammar mistakes in the documentation, please also let me know. :) + +# Contributors + +This project exists thanks to all the people who contribute: + + + +# License + +MIT + +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fluin%2Fioredis.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fluin%2Fioredis?ref=badge_large) diff --git a/node_modules/ioredis/built/Command.d.ts b/node_modules/ioredis/built/Command.d.ts new file mode 100644 index 0000000..1121bb8 --- /dev/null +++ b/node_modules/ioredis/built/Command.d.ts @@ -0,0 +1,165 @@ +/// +import { Callback, Respondable, CommandParameter } from "./types"; +export declare type ArgumentType = string | Buffer | number | (string | Buffer | number | any[])[]; +interface CommandOptions { + /** + * Set the encoding of the reply, by default buffer will be returned. + */ + replyEncoding?: BufferEncoding | null; + errorStack?: Error; + keyPrefix?: string; + /** + * Force the command to be readOnly so it will also execute on slaves + */ + readOnly?: boolean; +} +declare type ArgumentTransformer = (args: any[]) => any[]; +declare type ReplyTransformer = (reply: any) => any; +export interface CommandNameFlags { + VALID_IN_SUBSCRIBER_MODE: [ + "subscribe", + "psubscribe", + "unsubscribe", + "punsubscribe", + "ssubscribe", + "sunsubscribe", + "ping", + "quit" + ]; + VALID_IN_MONITOR_MODE: ["monitor", "auth"]; + ENTER_SUBSCRIBER_MODE: ["subscribe", "psubscribe", "ssubscribe"]; + EXIT_SUBSCRIBER_MODE: ["unsubscribe", "punsubscribe", "sunsubscribe"]; + WILL_DISCONNECT: ["quit"]; + HANDSHAKE_COMMANDS: ["auth", "select", "client", "readonly", "info"]; + IGNORE_RECONNECT_ON_ERROR: ["client"]; + BLOCKING_COMMANDS: [ + "blpop", + "brpop", + "brpoplpush", + "blmove", + "bzpopmin", + "bzpopmax", + "bzmpop", + "blmpop", + "xread", + "xreadgroup" + ]; + LAST_ARG_TIMEOUT_COMMANDS: [ + "blpop", + "brpop", + "brpoplpush", + "blmove", + "bzpopmin", + "bzpopmax" + ]; + FIRST_ARG_TIMEOUT_COMMANDS: ["bzmpop", "blmpop"]; + BLOCK_OPTION_COMMANDS: ["xread", "xreadgroup"]; +} +/** + * Command instance + * + * It's rare that you need to create a Command instance yourself. + * + * ```js + * var infoCommand = new Command('info', null, function (err, result) { + * console.log('result', result); + * }); + * + * redis.sendCommand(infoCommand); + * + * // When no callback provided, Command instance will have a `promise` property, + * // which will resolve/reject with the result of the command. + * var getCommand = new Command('get', ['foo']); + * getCommand.promise.then(function (result) { + * console.log('result', result); + * }); + * ``` + */ +export default class Command implements Respondable { + name: string; + static FLAGS: { + [key in keyof CommandNameFlags]: CommandNameFlags[key]; + }; + private static flagMap?; + private static _transformer; + /** + * Check whether the command has the flag + */ + static checkFlag(flagName: T, commandName: string): commandName is CommandNameFlags[T][number]; + static setArgumentTransformer(name: string, func: ArgumentTransformer): void; + static setReplyTransformer(name: string, func: ReplyTransformer): void; + private static getFlagMap; + ignore?: boolean; + isReadOnly?: boolean; + args: CommandParameter[]; + inTransaction: boolean; + pipelineIndex?: number; + isResolved: boolean; + reject: (err: Error) => void; + resolve: (result: any) => void; + promise: Promise; + private replyEncoding; + private errorStack; + private bufferMode; + private callback; + private transformed; + private _commandTimeoutTimer?; + private _blockingTimeoutTimer?; + private _blockingDeadline?; + private slot?; + private keys?; + /** + * Creates an instance of Command. + * @param name Command name + * @param args An array of command arguments + * @param options + * @param callback The callback that handles the response. + * If omit, the response will be handled via Promise + */ + constructor(name: string, args?: Array, options?: CommandOptions, callback?: Callback); + getSlot(): number; + getKeys(): Array; + /** + * Convert command to writable buffer or string + */ + toWritable(_socket: object): string | Buffer; + stringifyArguments(): void; + /** + * Convert buffer/buffer[] to string/string[], + * and apply reply transformer. + */ + transformReply(result: Buffer | Buffer[]): string | string[] | Buffer | Buffer[]; + /** + * Set the wait time before terminating the attempt to execute a command + * and generating an error. + */ + setTimeout(ms: number): void; + /** + * Set a timeout for blocking commands. + * When the timeout expires, the command resolves with null (matching Redis behavior). + * This handles the case of undetectable network failures (e.g., docker network disconnect) + * where the TCP connection becomes a zombie and no close event fires. + */ + setBlockingTimeout(ms: number): void; + /** + * Extract the blocking timeout from the command arguments. + * + * @returns The timeout in seconds, null for indefinite blocking (timeout of 0), + * or undefined if this is not a blocking command + */ + extractBlockingTimeout(): number | null | undefined; + /** + * Clear the command and blocking timers + */ + private _clearTimers; + private initPromise; + /** + * Iterate through the command arguments that are considered keys. + */ + private _iterateKeys; + /** + * Convert the value from buffer to the target encoding. + */ + private _convertValue; +} +export {}; diff --git a/node_modules/ioredis/built/Command.js b/node_modules/ioredis/built/Command.js new file mode 100644 index 0000000..5069820 --- /dev/null +++ b/node_modules/ioredis/built/Command.js @@ -0,0 +1,449 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const commands_1 = require("@ioredis/commands"); +const calculateSlot = require("cluster-key-slot"); +const standard_as_callback_1 = require("standard-as-callback"); +const utils_1 = require("./utils"); +const argumentParsers_1 = require("./utils/argumentParsers"); +/** + * Command instance + * + * It's rare that you need to create a Command instance yourself. + * + * ```js + * var infoCommand = new Command('info', null, function (err, result) { + * console.log('result', result); + * }); + * + * redis.sendCommand(infoCommand); + * + * // When no callback provided, Command instance will have a `promise` property, + * // which will resolve/reject with the result of the command. + * var getCommand = new Command('get', ['foo']); + * getCommand.promise.then(function (result) { + * console.log('result', result); + * }); + * ``` + */ +class Command { + /** + * Creates an instance of Command. + * @param name Command name + * @param args An array of command arguments + * @param options + * @param callback The callback that handles the response. + * If omit, the response will be handled via Promise + */ + constructor(name, args = [], options = {}, callback) { + this.name = name; + this.inTransaction = false; + this.isResolved = false; + this.transformed = false; + this.replyEncoding = options.replyEncoding; + this.errorStack = options.errorStack; + this.args = args.flat(); + this.callback = callback; + this.initPromise(); + if (options.keyPrefix) { + // @ts-expect-error + const isBufferKeyPrefix = options.keyPrefix instanceof Buffer; + // @ts-expect-error + let keyPrefixBuffer = isBufferKeyPrefix + ? options.keyPrefix + : null; + this._iterateKeys((key) => { + if (key instanceof Buffer) { + if (keyPrefixBuffer === null) { + keyPrefixBuffer = Buffer.from(options.keyPrefix); + } + return Buffer.concat([keyPrefixBuffer, key]); + } + else if (isBufferKeyPrefix) { + // @ts-expect-error + return Buffer.concat([options.keyPrefix, Buffer.from(String(key))]); + } + return options.keyPrefix + key; + }); + } + if (options.readOnly) { + this.isReadOnly = true; + } + } + /** + * Check whether the command has the flag + */ + static checkFlag(flagName, commandName) { + commandName = commandName.toLowerCase(); + return !!this.getFlagMap()[flagName][commandName]; + } + static setArgumentTransformer(name, func) { + this._transformer.argument[name] = func; + } + static setReplyTransformer(name, func) { + this._transformer.reply[name] = func; + } + static getFlagMap() { + if (!this.flagMap) { + this.flagMap = Object.keys(Command.FLAGS).reduce((map, flagName) => { + map[flagName] = {}; + Command.FLAGS[flagName].forEach((commandName) => { + map[flagName][commandName] = true; + }); + return map; + }, {}); + } + return this.flagMap; + } + getSlot() { + if (typeof this.slot === "undefined") { + const key = this.getKeys()[0]; + this.slot = key == null ? null : calculateSlot(key); + } + return this.slot; + } + getKeys() { + return this._iterateKeys(); + } + /** + * Convert command to writable buffer or string + */ + toWritable(_socket) { + let result; + const commandStr = "*" + + (this.args.length + 1) + + "\r\n$" + + Buffer.byteLength(this.name) + + "\r\n" + + this.name + + "\r\n"; + if (this.bufferMode) { + const buffers = new MixedBuffers(); + buffers.push(commandStr); + for (let i = 0; i < this.args.length; ++i) { + const arg = this.args[i]; + if (arg instanceof Buffer) { + if (arg.length === 0) { + buffers.push("$0\r\n\r\n"); + } + else { + buffers.push("$" + arg.length + "\r\n"); + buffers.push(arg); + buffers.push("\r\n"); + } + } + else { + buffers.push("$" + + Buffer.byteLength(arg) + + "\r\n" + + arg + + "\r\n"); + } + } + result = buffers.toBuffer(); + } + else { + result = commandStr; + for (let i = 0; i < this.args.length; ++i) { + const arg = this.args[i]; + result += + "$" + + Buffer.byteLength(arg) + + "\r\n" + + arg + + "\r\n"; + } + } + return result; + } + stringifyArguments() { + for (let i = 0; i < this.args.length; ++i) { + const arg = this.args[i]; + if (typeof arg === "string") { + // buffers and strings don't need any transformation + } + else if (arg instanceof Buffer) { + this.bufferMode = true; + } + else { + this.args[i] = (0, utils_1.toArg)(arg); + } + } + } + /** + * Convert buffer/buffer[] to string/string[], + * and apply reply transformer. + */ + transformReply(result) { + if (this.replyEncoding) { + result = (0, utils_1.convertBufferToString)(result, this.replyEncoding); + } + const transformer = Command._transformer.reply[this.name]; + if (transformer) { + result = transformer(result); + } + return result; + } + /** + * Set the wait time before terminating the attempt to execute a command + * and generating an error. + */ + setTimeout(ms) { + if (!this._commandTimeoutTimer) { + this._commandTimeoutTimer = setTimeout(() => { + if (!this.isResolved) { + this.reject(new Error("Command timed out")); + } + }, ms); + } + } + /** + * Set a timeout for blocking commands. + * When the timeout expires, the command resolves with null (matching Redis behavior). + * This handles the case of undetectable network failures (e.g., docker network disconnect) + * where the TCP connection becomes a zombie and no close event fires. + */ + setBlockingTimeout(ms) { + if (ms <= 0) { + return; + } + // Clear existing timer if any (can happen when command moves from offline to command queue) + if (this._blockingTimeoutTimer) { + clearTimeout(this._blockingTimeoutTimer); + this._blockingTimeoutTimer = undefined; + } + const now = Date.now(); + // First call: establish absolute deadline + if (this._blockingDeadline === undefined) { + this._blockingDeadline = now + ms; + } + // Check if we've already exceeded the deadline + const remaining = this._blockingDeadline - now; + if (remaining <= 0) { + // Resolve with null to indicate timeout (same as Redis behavior) + this.resolve(null); + return; + } + this._blockingTimeoutTimer = setTimeout(() => { + if (this.isResolved) { + this._blockingTimeoutTimer = undefined; + return; + } + this._blockingTimeoutTimer = undefined; + // Timeout expired - resolve with null (same as Redis behavior when blocking command times out) + this.resolve(null); + }, remaining); + } + /** + * Extract the blocking timeout from the command arguments. + * + * @returns The timeout in seconds, null for indefinite blocking (timeout of 0), + * or undefined if this is not a blocking command + */ + extractBlockingTimeout() { + const args = this.args; + if (!args || args.length === 0) { + return undefined; + } + const name = this.name.toLowerCase(); + if (Command.checkFlag("LAST_ARG_TIMEOUT_COMMANDS", name)) { + return (0, argumentParsers_1.parseSecondsArgument)(args[args.length - 1]); + } + if (Command.checkFlag("FIRST_ARG_TIMEOUT_COMMANDS", name)) { + return (0, argumentParsers_1.parseSecondsArgument)(args[0]); + } + if (Command.checkFlag("BLOCK_OPTION_COMMANDS", name)) { + return (0, argumentParsers_1.parseBlockOption)(args); + } + return undefined; + } + /** + * Clear the command and blocking timers + */ + _clearTimers() { + const existingTimer = this._commandTimeoutTimer; + if (existingTimer) { + clearTimeout(existingTimer); + delete this._commandTimeoutTimer; + } + const blockingTimer = this._blockingTimeoutTimer; + if (blockingTimer) { + clearTimeout(blockingTimer); + delete this._blockingTimeoutTimer; + } + } + initPromise() { + const promise = new Promise((resolve, reject) => { + if (!this.transformed) { + this.transformed = true; + const transformer = Command._transformer.argument[this.name]; + if (transformer) { + this.args = transformer(this.args); + } + this.stringifyArguments(); + } + this.resolve = this._convertValue(resolve); + this.reject = (err) => { + this._clearTimers(); + if (this.errorStack) { + reject((0, utils_1.optimizeErrorStack)(err, this.errorStack.stack, __dirname)); + } + else { + reject(err); + } + }; + }); + this.promise = (0, standard_as_callback_1.default)(promise, this.callback); + } + /** + * Iterate through the command arguments that are considered keys. + */ + _iterateKeys(transform = (key) => key) { + if (typeof this.keys === "undefined") { + this.keys = []; + if ((0, commands_1.exists)(this.name, { caseInsensitive: true })) { + // @ts-expect-error + const keyIndexes = (0, commands_1.getKeyIndexes)(this.name, this.args, { + nameCaseInsensitive: true, + }); + for (const index of keyIndexes) { + this.args[index] = transform(this.args[index]); + this.keys.push(this.args[index]); + } + } + } + return this.keys; + } + /** + * Convert the value from buffer to the target encoding. + */ + _convertValue(resolve) { + return (value) => { + try { + this._clearTimers(); + resolve(this.transformReply(value)); + this.isResolved = true; + } + catch (err) { + this.reject(err); + } + return this.promise; + }; + } +} +exports.default = Command; +Command.FLAGS = { + VALID_IN_SUBSCRIBER_MODE: [ + "subscribe", + "psubscribe", + "unsubscribe", + "punsubscribe", + "ssubscribe", + "sunsubscribe", + "ping", + "quit", + ], + VALID_IN_MONITOR_MODE: ["monitor", "auth"], + ENTER_SUBSCRIBER_MODE: ["subscribe", "psubscribe", "ssubscribe"], + EXIT_SUBSCRIBER_MODE: ["unsubscribe", "punsubscribe", "sunsubscribe"], + WILL_DISCONNECT: ["quit"], + HANDSHAKE_COMMANDS: ["auth", "select", "client", "readonly", "info"], + IGNORE_RECONNECT_ON_ERROR: ["client"], + BLOCKING_COMMANDS: [ + "blpop", + "brpop", + "brpoplpush", + "blmove", + "bzpopmin", + "bzpopmax", + "bzmpop", + "blmpop", + "xread", + "xreadgroup", + ], + LAST_ARG_TIMEOUT_COMMANDS: [ + "blpop", + "brpop", + "brpoplpush", + "blmove", + "bzpopmin", + "bzpopmax", + ], + FIRST_ARG_TIMEOUT_COMMANDS: ["bzmpop", "blmpop"], + BLOCK_OPTION_COMMANDS: ["xread", "xreadgroup"], +}; +Command._transformer = { + argument: {}, + reply: {}, +}; +const msetArgumentTransformer = function (args) { + if (args.length === 1) { + if (args[0] instanceof Map) { + return (0, utils_1.convertMapToArray)(args[0]); + } + if (typeof args[0] === "object" && args[0] !== null) { + return (0, utils_1.convertObjectToArray)(args[0]); + } + } + return args; +}; +const hsetArgumentTransformer = function (args) { + if (args.length === 2) { + if (args[1] instanceof Map) { + return [args[0]].concat((0, utils_1.convertMapToArray)(args[1])); + } + if (typeof args[1] === "object" && args[1] !== null) { + return [args[0]].concat((0, utils_1.convertObjectToArray)(args[1])); + } + } + return args; +}; +Command.setArgumentTransformer("mset", msetArgumentTransformer); +Command.setArgumentTransformer("msetnx", msetArgumentTransformer); +Command.setArgumentTransformer("hset", hsetArgumentTransformer); +Command.setArgumentTransformer("hmset", hsetArgumentTransformer); +Command.setReplyTransformer("hgetall", function (result) { + if (Array.isArray(result)) { + const obj = {}; + for (let i = 0; i < result.length; i += 2) { + const key = result[i]; + const value = result[i + 1]; + if (key in obj) { + // can only be truthy if the property is special somehow, like '__proto__' or 'constructor' + // https://github.com/luin/ioredis/issues/1267 + Object.defineProperty(obj, key, { + value, + configurable: true, + enumerable: true, + writable: true, + }); + } + else { + obj[key] = value; + } + } + return obj; + } + return result; +}); +class MixedBuffers { + constructor() { + this.length = 0; + this.items = []; + } + push(x) { + this.length += Buffer.byteLength(x); + this.items.push(x); + } + toBuffer() { + const result = Buffer.allocUnsafe(this.length); + let offset = 0; + for (const item of this.items) { + const length = Buffer.byteLength(item); + Buffer.isBuffer(item) + ? item.copy(result, offset) + : result.write(item, offset, length); + offset += length; + } + return result; + } +} diff --git a/node_modules/ioredis/built/DataHandler.d.ts b/node_modules/ioredis/built/DataHandler.d.ts new file mode 100644 index 0000000..93e97d9 --- /dev/null +++ b/node_modules/ioredis/built/DataHandler.d.ts @@ -0,0 +1,37 @@ +/// +import { NetStream, CommandItem } from "./types"; +import Deque = require("denque"); +import { EventEmitter } from "events"; +import SubscriptionSet from "./SubscriptionSet"; +export interface Condition { + select: number; + auth?: string | [string, string]; + subscriber: false | SubscriptionSet; +} +export declare type FlushQueueOptions = { + offlineQueue?: boolean; + commandQueue?: boolean; +}; +export interface DataHandledable extends EventEmitter { + stream: NetStream; + status: string; + condition: Condition | null; + commandQueue: Deque; + disconnect(reconnect: boolean): void; + recoverFromFatalError(commandError: Error, err: Error, options: FlushQueueOptions): void; + handleReconnection(err: Error, item: CommandItem): void; +} +interface ParserOptions { + stringNumbers: boolean; +} +export default class DataHandler { + private redis; + constructor(redis: DataHandledable, parserOptions: ParserOptions); + private returnFatalError; + private returnError; + private returnReply; + private handleSubscriberReply; + private handleMonitorReply; + private shiftCommand; +} +export {}; diff --git a/node_modules/ioredis/built/DataHandler.js b/node_modules/ioredis/built/DataHandler.js new file mode 100644 index 0000000..7f95466 --- /dev/null +++ b/node_modules/ioredis/built/DataHandler.js @@ -0,0 +1,224 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const Command_1 = require("./Command"); +const utils_1 = require("./utils"); +const RedisParser = require("redis-parser"); +const SubscriptionSet_1 = require("./SubscriptionSet"); +const debug = (0, utils_1.Debug)("dataHandler"); +class DataHandler { + constructor(redis, parserOptions) { + this.redis = redis; + const parser = new RedisParser({ + stringNumbers: parserOptions.stringNumbers, + returnBuffers: true, + returnError: (err) => { + this.returnError(err); + }, + returnFatalError: (err) => { + this.returnFatalError(err); + }, + returnReply: (reply) => { + this.returnReply(reply); + }, + }); + // prependListener ensures the parser receives and processes data before socket timeout checks are performed + redis.stream.prependListener("data", (data) => { + parser.execute(data); + }); + // prependListener() doesn't enable flowing mode automatically - we need to resume the stream manually + redis.stream.resume(); + } + returnFatalError(err) { + err.message += ". Please report this."; + this.redis.recoverFromFatalError(err, err, { offlineQueue: false }); + } + returnError(err) { + const item = this.shiftCommand(err); + if (!item) { + return; + } + err.command = { + name: item.command.name, + args: item.command.args, + }; + if (item.command.name == "ssubscribe" && err.message.includes("MOVED")) { + this.redis.emit("moved"); + return; + } + this.redis.handleReconnection(err, item); + } + returnReply(reply) { + if (this.handleMonitorReply(reply)) { + return; + } + if (this.handleSubscriberReply(reply)) { + return; + } + const item = this.shiftCommand(reply); + if (!item) { + return; + } + if (Command_1.default.checkFlag("ENTER_SUBSCRIBER_MODE", item.command.name)) { + this.redis.condition.subscriber = new SubscriptionSet_1.default(); + this.redis.condition.subscriber.add(item.command.name, reply[1].toString()); + if (!fillSubCommand(item.command, reply[2])) { + this.redis.commandQueue.unshift(item); + } + } + else if (Command_1.default.checkFlag("EXIT_SUBSCRIBER_MODE", item.command.name)) { + if (!fillUnsubCommand(item.command, reply[2])) { + this.redis.commandQueue.unshift(item); + } + } + else { + item.command.resolve(reply); + } + } + handleSubscriberReply(reply) { + if (!this.redis.condition.subscriber) { + return false; + } + const replyType = Array.isArray(reply) ? reply[0].toString() : null; + debug('receive reply "%s" in subscriber mode', replyType); + switch (replyType) { + case "message": + if (this.redis.listeners("message").length > 0) { + // Check if there're listeners to avoid unnecessary `toString()`. + this.redis.emit("message", reply[1].toString(), reply[2] ? reply[2].toString() : ""); + } + this.redis.emit("messageBuffer", reply[1], reply[2]); + break; + case "pmessage": { + const pattern = reply[1].toString(); + if (this.redis.listeners("pmessage").length > 0) { + this.redis.emit("pmessage", pattern, reply[2].toString(), reply[3].toString()); + } + this.redis.emit("pmessageBuffer", pattern, reply[2], reply[3]); + break; + } + case "smessage": { + if (this.redis.listeners("smessage").length > 0) { + this.redis.emit("smessage", reply[1].toString(), reply[2] ? reply[2].toString() : ""); + } + this.redis.emit("smessageBuffer", reply[1], reply[2]); + break; + } + case "ssubscribe": + case "subscribe": + case "psubscribe": { + const channel = reply[1].toString(); + this.redis.condition.subscriber.add(replyType, channel); + const item = this.shiftCommand(reply); + if (!item) { + return; + } + if (!fillSubCommand(item.command, reply[2])) { + this.redis.commandQueue.unshift(item); + } + break; + } + case "sunsubscribe": + case "unsubscribe": + case "punsubscribe": { + const channel = reply[1] ? reply[1].toString() : null; + if (channel) { + this.redis.condition.subscriber.del(replyType, channel); + } + const count = reply[2]; + if (Number(count) === 0) { + this.redis.condition.subscriber = false; + } + const item = this.shiftCommand(reply); + if (!item) { + return; + } + if (!fillUnsubCommand(item.command, count)) { + this.redis.commandQueue.unshift(item); + } + break; + } + default: { + const item = this.shiftCommand(reply); + if (!item) { + return; + } + item.command.resolve(reply); + } + } + return true; + } + handleMonitorReply(reply) { + if (this.redis.status !== "monitoring") { + return false; + } + const replyStr = reply.toString(); + if (replyStr === "OK") { + // Valid commands in the monitoring mode are AUTH and MONITOR, + // both of which always reply with 'OK'. + // So if we got an 'OK', we can make certain that + // the reply is made to AUTH & MONITOR. + return false; + } + // Since commands sent in the monitoring mode will trigger an exception, + // any replies we received in the monitoring mode should consider to be + // realtime monitor data instead of result of commands. + const len = replyStr.indexOf(" "); + const timestamp = replyStr.slice(0, len); + const argIndex = replyStr.indexOf('"'); + const args = replyStr + .slice(argIndex + 1, -1) + .split('" "') + .map((elem) => elem.replace(/\\"/g, '"')); + const dbAndSource = replyStr.slice(len + 2, argIndex - 2).split(" "); + this.redis.emit("monitor", timestamp, args, dbAndSource[1], dbAndSource[0]); + return true; + } + shiftCommand(reply) { + const item = this.redis.commandQueue.shift(); + if (!item) { + const message = "Command queue state error. If you can reproduce this, please report it."; + const error = new Error(message + + (reply instanceof Error + ? ` Last error: ${reply.message}` + : ` Last reply: ${reply.toString()}`)); + this.redis.emit("error", error); + return null; + } + return item; + } +} +exports.default = DataHandler; +const remainingRepliesMap = new WeakMap(); +function fillSubCommand(command, count) { + let remainingReplies = remainingRepliesMap.has(command) + ? remainingRepliesMap.get(command) + : command.args.length; + remainingReplies -= 1; + if (remainingReplies <= 0) { + command.resolve(count); + remainingRepliesMap.delete(command); + return true; + } + remainingRepliesMap.set(command, remainingReplies); + return false; +} +function fillUnsubCommand(command, count) { + let remainingReplies = remainingRepliesMap.has(command) + ? remainingRepliesMap.get(command) + : command.args.length; + if (remainingReplies === 0) { + if (Number(count) === 0) { + remainingRepliesMap.delete(command); + command.resolve(count); + return true; + } + return false; + } + remainingReplies -= 1; + if (remainingReplies <= 0) { + command.resolve(count); + return true; + } + remainingRepliesMap.set(command, remainingReplies); + return false; +} diff --git a/node_modules/ioredis/built/Pipeline.d.ts b/node_modules/ioredis/built/Pipeline.d.ts new file mode 100644 index 0000000..8503d72 --- /dev/null +++ b/node_modules/ioredis/built/Pipeline.d.ts @@ -0,0 +1,31 @@ +import Redis from "./Redis"; +import Cluster from "./cluster"; +import Command from "./Command"; +import Commander from "./utils/Commander"; +declare class Pipeline extends Commander<{ + type: "pipeline"; +}> { + redis: Redis | Cluster; + isCluster: boolean; + isPipeline: boolean; + leftRedirections: { + value?: number; + }; + promise: Promise; + resolve: (result: unknown) => void; + reject: (error: Error) => void; + private replyPending; + private _queue; + private _result; + private _transactions; + private _shaToScript; + private preferKey; + constructor(redis: Redis | Cluster); + fillResult(value: unknown[], position: number): void; + sendCommand(command: Command): unknown; + addBatch(commands: any): this; +} +export default Pipeline; +interface Pipeline { + length: number; +} diff --git a/node_modules/ioredis/built/Pipeline.js b/node_modules/ioredis/built/Pipeline.js new file mode 100644 index 0000000..c1c4566 --- /dev/null +++ b/node_modules/ioredis/built/Pipeline.js @@ -0,0 +1,342 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const calculateSlot = require("cluster-key-slot"); +const commands_1 = require("@ioredis/commands"); +const standard_as_callback_1 = require("standard-as-callback"); +const util_1 = require("util"); +const Command_1 = require("./Command"); +const utils_1 = require("./utils"); +const Commander_1 = require("./utils/Commander"); +/* + This function derives from the cluster-key-slot implementation. + Instead of checking that all keys have the same slot, it checks that all slots are served by the same set of nodes. + If this is satisfied, it returns the first key's slot. +*/ +function generateMultiWithNodes(redis, keys) { + const slot = calculateSlot(keys[0]); + const target = redis._groupsBySlot[slot]; + for (let i = 1; i < keys.length; i++) { + if (redis._groupsBySlot[calculateSlot(keys[i])] !== target) { + return -1; + } + } + return slot; +} +class Pipeline extends Commander_1.default { + constructor(redis) { + super(); + this.redis = redis; + this.isPipeline = true; + this.replyPending = 0; + this._queue = []; + this._result = []; + this._transactions = 0; + this._shaToScript = {}; + this.isCluster = + this.redis.constructor.name === "Cluster" || this.redis.isCluster; + this.options = redis.options; + Object.keys(redis.scriptsSet).forEach((name) => { + const script = redis.scriptsSet[name]; + this._shaToScript[script.sha] = script; + this[name] = redis[name]; + this[name + "Buffer"] = redis[name + "Buffer"]; + }); + redis.addedBuiltinSet.forEach((name) => { + this[name] = redis[name]; + this[name + "Buffer"] = redis[name + "Buffer"]; + }); + this.promise = new Promise((resolve, reject) => { + this.resolve = resolve; + this.reject = reject; + }); + const _this = this; + Object.defineProperty(this, "length", { + get: function () { + return _this._queue.length; + }, + }); + } + fillResult(value, position) { + if (this._queue[position].name === "exec" && Array.isArray(value[1])) { + const execLength = value[1].length; + for (let i = 0; i < execLength; i++) { + if (value[1][i] instanceof Error) { + continue; + } + const cmd = this._queue[position - (execLength - i)]; + try { + value[1][i] = cmd.transformReply(value[1][i]); + } + catch (err) { + value[1][i] = err; + } + } + } + this._result[position] = value; + if (--this.replyPending) { + return; + } + if (this.isCluster) { + let retriable = true; + let commonError; + for (let i = 0; i < this._result.length; ++i) { + const error = this._result[i][0]; + const command = this._queue[i]; + if (error) { + if (command.name === "exec" && + error.message === + "EXECABORT Transaction discarded because of previous errors.") { + continue; + } + if (!commonError) { + commonError = { + name: error.name, + message: error.message, + }; + } + else if (commonError.name !== error.name || + commonError.message !== error.message) { + retriable = false; + break; + } + } + else if (!command.inTransaction) { + const isReadOnly = (0, commands_1.exists)(command.name, { caseInsensitive: true }) && + (0, commands_1.hasFlag)(command.name, "readonly", { nameCaseInsensitive: true }); + if (!isReadOnly) { + retriable = false; + break; + } + } + } + if (commonError && retriable) { + const _this = this; + const errv = commonError.message.split(" "); + const queue = this._queue; + let inTransaction = false; + this._queue = []; + for (let i = 0; i < queue.length; ++i) { + if (errv[0] === "ASK" && + !inTransaction && + queue[i].name !== "asking" && + (!queue[i - 1] || queue[i - 1].name !== "asking")) { + const asking = new Command_1.default("asking"); + asking.ignore = true; + this.sendCommand(asking); + } + queue[i].initPromise(); + this.sendCommand(queue[i]); + inTransaction = queue[i].inTransaction; + } + let matched = true; + if (typeof this.leftRedirections === "undefined") { + this.leftRedirections = {}; + } + const exec = function () { + _this.exec(); + }; + const cluster = this.redis; + cluster.handleError(commonError, this.leftRedirections, { + moved: function (_slot, key) { + _this.preferKey = key; + if (cluster.slots[errv[1]]) { + if (cluster.slots[errv[1]][0] !== key) { + cluster.slots[errv[1]] = [key]; + } + } + else { + cluster.slots[errv[1]] = [key]; + } + cluster._groupsBySlot[errv[1]] = + cluster._groupsIds[cluster.slots[errv[1]].join(";")]; + cluster.refreshSlotsCache(); + _this.exec(); + }, + ask: function (_slot, key) { + _this.preferKey = key; + _this.exec(); + }, + tryagain: exec, + clusterDown: exec, + connectionClosed: exec, + maxRedirections: () => { + matched = false; + }, + defaults: () => { + matched = false; + }, + }); + if (matched) { + return; + } + } + } + let ignoredCount = 0; + for (let i = 0; i < this._queue.length - ignoredCount; ++i) { + if (this._queue[i + ignoredCount].ignore) { + ignoredCount += 1; + } + this._result[i] = this._result[i + ignoredCount]; + } + this.resolve(this._result.slice(0, this._result.length - ignoredCount)); + } + sendCommand(command) { + if (this._transactions > 0) { + command.inTransaction = true; + } + const position = this._queue.length; + command.pipelineIndex = position; + command.promise + .then((result) => { + this.fillResult([null, result], position); + }) + .catch((error) => { + this.fillResult([error], position); + }); + this._queue.push(command); + return this; + } + addBatch(commands) { + let command, commandName, args; + for (let i = 0; i < commands.length; ++i) { + command = commands[i]; + commandName = command[0]; + args = command.slice(1); + this[commandName].apply(this, args); + } + return this; + } +} +exports.default = Pipeline; +// @ts-expect-error +const multi = Pipeline.prototype.multi; +// @ts-expect-error +Pipeline.prototype.multi = function () { + this._transactions += 1; + return multi.apply(this, arguments); +}; +// @ts-expect-error +const execBuffer = Pipeline.prototype.execBuffer; +// @ts-expect-error +Pipeline.prototype.execBuffer = (0, util_1.deprecate)(function () { + if (this._transactions > 0) { + this._transactions -= 1; + } + return execBuffer.apply(this, arguments); +}, "Pipeline#execBuffer: Use Pipeline#exec instead"); +// NOTE: To avoid an unhandled promise rejection, this will unconditionally always return this.promise, +// which always has the rejection handled by standard-as-callback +// adding the provided rejection callback. +// +// If a different promise instance were returned, that promise would cause its own unhandled promise rejection +// errors, even if that promise unconditionally resolved to **the resolved value of** this.promise. +Pipeline.prototype.exec = function (callback) { + // Wait for the cluster to be connected, since we need nodes information before continuing + if (this.isCluster && !this.redis.slots.length) { + if (this.redis.status === "wait") + this.redis.connect().catch(utils_1.noop); + if (callback && !this.nodeifiedPromise) { + this.nodeifiedPromise = true; + (0, standard_as_callback_1.default)(this.promise, callback); + } + this.redis.delayUntilReady((err) => { + if (err) { + this.reject(err); + return; + } + this.exec(callback); + }); + return this.promise; + } + if (this._transactions > 0) { + this._transactions -= 1; + return execBuffer.apply(this, arguments); + } + if (!this.nodeifiedPromise) { + this.nodeifiedPromise = true; + (0, standard_as_callback_1.default)(this.promise, callback); + } + if (!this._queue.length) { + this.resolve([]); + } + let pipelineSlot; + if (this.isCluster) { + // List of the first key for each command + const sampleKeys = []; + for (let i = 0; i < this._queue.length; i++) { + const keys = this._queue[i].getKeys(); + if (keys.length) { + sampleKeys.push(keys[0]); + } + // For each command, check that the keys belong to the same slot + if (keys.length && calculateSlot.generateMulti(keys) < 0) { + this.reject(new Error("All the keys in a pipeline command should belong to the same slot")); + return this.promise; + } + } + if (sampleKeys.length) { + pipelineSlot = generateMultiWithNodes(this.redis, sampleKeys); + if (pipelineSlot < 0) { + this.reject(new Error("All keys in the pipeline should belong to the same slots allocation group")); + return this.promise; + } + } + else { + // Send the pipeline to a random node + pipelineSlot = (Math.random() * 16384) | 0; + } + } + const _this = this; + execPipeline(); + return this.promise; + function execPipeline() { + let writePending = (_this.replyPending = _this._queue.length); + let node; + if (_this.isCluster) { + node = { + slot: pipelineSlot, + redis: _this.redis.connectionPool.nodes.all[_this.preferKey], + }; + } + let data = ""; + let buffers; + const stream = { + isPipeline: true, + destination: _this.isCluster ? node : { redis: _this.redis }, + write(writable) { + if (typeof writable !== "string") { + if (!buffers) { + buffers = []; + } + if (data) { + buffers.push(Buffer.from(data, "utf8")); + data = ""; + } + buffers.push(writable); + } + else { + data += writable; + } + if (!--writePending) { + if (buffers) { + if (data) { + buffers.push(Buffer.from(data, "utf8")); + } + stream.destination.redis.stream.write(Buffer.concat(buffers)); + } + else { + stream.destination.redis.stream.write(data); + } + // Reset writePending for resending + writePending = _this._queue.length; + data = ""; + buffers = undefined; + } + }, + }; + for (let i = 0; i < _this._queue.length; ++i) { + _this.redis.sendCommand(_this._queue[i], stream, node); + } + return _this.promise; + } +}; diff --git a/node_modules/ioredis/built/Redis.d.ts b/node_modules/ioredis/built/Redis.d.ts new file mode 100644 index 0000000..5cc73b0 --- /dev/null +++ b/node_modules/ioredis/built/Redis.d.ts @@ -0,0 +1,232 @@ +/// +import { EventEmitter } from "events"; +import Cluster from "./cluster"; +import Command from "./Command"; +import { DataHandledable, FlushQueueOptions, Condition } from "./DataHandler"; +import { RedisOptions } from "./redis/RedisOptions"; +import ScanStream from "./ScanStream"; +import { Transaction } from "./transaction"; +import { Callback, CommandItem, NetStream, ScanStreamOptions, WriteableStream } from "./types"; +import Commander from "./utils/Commander"; +import Deque = require("denque"); +declare type RedisStatus = "wait" | "reconnecting" | "connecting" | "connect" | "ready" | "close" | "end"; +/** + * This is the major component of ioredis. + * Use it to connect to a standalone Redis server or Sentinels. + * + * ```typescript + * const redis = new Redis(); // Default port is 6379 + * async function main() { + * redis.set("foo", "bar"); + * redis.get("foo", (err, result) => { + * // `result` should be "bar" + * console.log(err, result); + * }); + * // Or use Promise + * const result = await redis.get("foo"); + * } + * ``` + */ +declare class Redis extends Commander implements DataHandledable { + static Cluster: typeof Cluster; + static Command: typeof Command; + /** + * Default options + */ + private static defaultOptions; + /** + * Create a Redis instance. + * This is the same as `new Redis()` but is included for compatibility with node-redis. + */ + static createClient(...args: ConstructorParameters): Redis; + options: RedisOptions; + status: RedisStatus; + /** + * @ignore + */ + stream: NetStream; + /** + * @ignore + */ + isCluster: boolean; + /** + * @ignore + */ + condition: Condition | null; + /** + * @ignore + */ + commandQueue: Deque; + private connector; + private reconnectTimeout; + private offlineQueue; + private connectionEpoch; + private retryAttempts; + private manuallyClosing; + private socketTimeoutTimer; + private _autoPipelines; + private _runningAutoPipelines; + constructor(port: number, host: string, options: RedisOptions); + constructor(path: string, options: RedisOptions); + constructor(port: number, options: RedisOptions); + constructor(port: number, host: string); + constructor(options: RedisOptions); + constructor(port: number); + constructor(path: string); + constructor(); + get autoPipelineQueueSize(): number; + /** + * Create a connection to Redis. + * This method will be invoked automatically when creating a new Redis instance + * unless `lazyConnect: true` is passed. + * + * When calling this method manually, a Promise is returned, which will + * be resolved when the connection status is ready. The promise can reject + * if the connection fails, times out, or if Redis is already connecting/connected. + */ + connect(callback?: Callback): Promise; + /** + * Disconnect from Redis. + * + * This method closes the connection immediately, + * and may lose some pending replies that haven't written to client. + * If you want to wait for the pending replies, use Redis#quit instead. + */ + disconnect(reconnect?: boolean): void; + /** + * Disconnect from Redis. + * + * @deprecated + */ + end(): void; + /** + * Create a new instance with the same options as the current one. + * + * @example + * ```js + * var redis = new Redis(6380); + * var anotherRedis = redis.duplicate(); + * ``` + */ + duplicate(override?: Partial): Redis; + /** + * Mode of the connection. + * + * One of `"normal"`, `"subscriber"`, or `"monitor"`. When the connection is + * not in `"normal"` mode, certain commands are not allowed. + */ + get mode(): "normal" | "subscriber" | "monitor"; + /** + * Listen for all requests received by the server in real time. + * + * This command will create a new connection to Redis and send a + * MONITOR command via the new connection in order to avoid disturbing + * the current connection. + * + * @param callback The callback function. If omit, a promise will be returned. + * @example + * ```js + * var redis = new Redis(); + * redis.monitor(function (err, monitor) { + * // Entering monitoring mode. + * monitor.on('monitor', function (time, args, source, database) { + * console.log(time + ": " + util.inspect(args)); + * }); + * }); + * + * // supports promise as well as other commands + * redis.monitor().then(function (monitor) { + * monitor.on('monitor', function (time, args, source, database) { + * console.log(time + ": " + util.inspect(args)); + * }); + * }); + * ``` + */ + monitor(callback?: Callback): Promise; + /** + * Send a command to Redis + * + * This method is used internally and in most cases you should not + * use it directly. If you need to send a command that is not supported + * by the library, you can use the `call` method: + * + * ```js + * const redis = new Redis(); + * + * redis.call('set', 'foo', 'bar'); + * // or + * redis.call(['set', 'foo', 'bar']); + * ``` + * + * @ignore + */ + sendCommand(command: Command, stream?: WriteableStream): unknown; + private getBlockingTimeoutInMs; + private getConfiguredBlockingTimeout; + private setSocketTimeout; + scanStream(options?: ScanStreamOptions): ScanStream; + scanBufferStream(options?: ScanStreamOptions): ScanStream; + sscanStream(key: string, options?: ScanStreamOptions): ScanStream; + sscanBufferStream(key: string, options?: ScanStreamOptions): ScanStream; + hscanStream(key: string, options?: ScanStreamOptions): ScanStream; + hscanBufferStream(key: string, options?: ScanStreamOptions): ScanStream; + zscanStream(key: string, options?: ScanStreamOptions): ScanStream; + zscanBufferStream(key: string, options?: ScanStreamOptions): ScanStream; + /** + * Emit only when there's at least one listener. + * + * @ignore + */ + silentEmit(eventName: string, arg?: unknown): boolean; + /** + * @ignore + */ + recoverFromFatalError(_commandError: Error, err: Error, options: FlushQueueOptions): void; + /** + * @ignore + */ + handleReconnection(err: Error, item: CommandItem): void; + /** + * Get description of the connection. Used for debugging. + */ + private _getDescription; + private resetCommandQueue; + private resetOfflineQueue; + private parseOptions; + /** + * Change instance's status + */ + private setStatus; + private createScanStream; + /** + * Flush offline queue and command queue with error. + * + * @param error The error object to send to the commands + * @param options options + */ + private flushQueue; + /** + * Check whether Redis has finished loading the persistent data and is able to + * process commands. + */ + private _readyCheck; +} +interface Redis extends EventEmitter { + on(event: "message", cb: (channel: string, message: string) => void): this; + once(event: "message", cb: (channel: string, message: string) => void): this; + on(event: "messageBuffer", cb: (channel: Buffer, message: Buffer) => void): this; + once(event: "messageBuffer", cb: (channel: Buffer, message: Buffer) => void): this; + on(event: "pmessage", cb: (pattern: string, channel: string, message: string) => void): this; + once(event: "pmessage", cb: (pattern: string, channel: string, message: string) => void): this; + on(event: "pmessageBuffer", cb: (pattern: string, channel: Buffer, message: Buffer) => void): this; + once(event: "pmessageBuffer", cb: (pattern: string, channel: Buffer, message: Buffer) => void): this; + on(event: "error", cb: (error: Error) => void): this; + once(event: "error", cb: (error: Error) => void): this; + on(event: RedisStatus, cb: () => void): this; + once(event: RedisStatus, cb: () => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; +} +interface Redis extends Transaction { +} +export default Redis; diff --git a/node_modules/ioredis/built/Redis.js b/node_modules/ioredis/built/Redis.js new file mode 100644 index 0000000..6c9bdfd --- /dev/null +++ b/node_modules/ioredis/built/Redis.js @@ -0,0 +1,745 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const commands_1 = require("@ioredis/commands"); +const events_1 = require("events"); +const standard_as_callback_1 = require("standard-as-callback"); +const cluster_1 = require("./cluster"); +const Command_1 = require("./Command"); +const connectors_1 = require("./connectors"); +const SentinelConnector_1 = require("./connectors/SentinelConnector"); +const eventHandler = require("./redis/event_handler"); +const RedisOptions_1 = require("./redis/RedisOptions"); +const ScanStream_1 = require("./ScanStream"); +const transaction_1 = require("./transaction"); +const utils_1 = require("./utils"); +const applyMixin_1 = require("./utils/applyMixin"); +const Commander_1 = require("./utils/Commander"); +const lodash_1 = require("./utils/lodash"); +const Deque = require("denque"); +const debug = (0, utils_1.Debug)("redis"); +/** + * This is the major component of ioredis. + * Use it to connect to a standalone Redis server or Sentinels. + * + * ```typescript + * const redis = new Redis(); // Default port is 6379 + * async function main() { + * redis.set("foo", "bar"); + * redis.get("foo", (err, result) => { + * // `result` should be "bar" + * console.log(err, result); + * }); + * // Or use Promise + * const result = await redis.get("foo"); + * } + * ``` + */ +class Redis extends Commander_1.default { + constructor(arg1, arg2, arg3) { + super(); + this.status = "wait"; + /** + * @ignore + */ + this.isCluster = false; + this.reconnectTimeout = null; + this.connectionEpoch = 0; + this.retryAttempts = 0; + this.manuallyClosing = false; + // Prepare autopipelines structures + this._autoPipelines = new Map(); + this._runningAutoPipelines = new Set(); + this.parseOptions(arg1, arg2, arg3); + events_1.EventEmitter.call(this); + this.resetCommandQueue(); + this.resetOfflineQueue(); + if (this.options.Connector) { + this.connector = new this.options.Connector(this.options); + } + else if (this.options.sentinels) { + const sentinelConnector = new SentinelConnector_1.default(this.options); + sentinelConnector.emitter = this; + this.connector = sentinelConnector; + } + else { + this.connector = new connectors_1.StandaloneConnector(this.options); + } + if (this.options.scripts) { + Object.entries(this.options.scripts).forEach(([name, definition]) => { + this.defineCommand(name, definition); + }); + } + // end(or wait) -> connecting -> connect -> ready -> end + if (this.options.lazyConnect) { + this.setStatus("wait"); + } + else { + this.connect().catch(lodash_1.noop); + } + } + /** + * Create a Redis instance. + * This is the same as `new Redis()` but is included for compatibility with node-redis. + */ + static createClient(...args) { + return new Redis(...args); + } + get autoPipelineQueueSize() { + let queued = 0; + for (const pipeline of this._autoPipelines.values()) { + queued += pipeline.length; + } + return queued; + } + /** + * Create a connection to Redis. + * This method will be invoked automatically when creating a new Redis instance + * unless `lazyConnect: true` is passed. + * + * When calling this method manually, a Promise is returned, which will + * be resolved when the connection status is ready. The promise can reject + * if the connection fails, times out, or if Redis is already connecting/connected. + */ + connect(callback) { + const promise = new Promise((resolve, reject) => { + if (this.status === "connecting" || + this.status === "connect" || + this.status === "ready") { + reject(new Error("Redis is already connecting/connected")); + return; + } + this.connectionEpoch += 1; + this.setStatus("connecting"); + const { options } = this; + this.condition = { + select: options.db, + auth: options.username + ? [options.username, options.password] + : options.password, + subscriber: false, + }; + const _this = this; + (0, standard_as_callback_1.default)(this.connector.connect(function (type, err) { + _this.silentEmit(type, err); + }), function (err, stream) { + if (err) { + _this.flushQueue(err); + _this.silentEmit("error", err); + reject(err); + _this.setStatus("end"); + return; + } + let CONNECT_EVENT = options.tls ? "secureConnect" : "connect"; + if ("sentinels" in options && + options.sentinels && + !options.enableTLSForSentinelMode) { + CONNECT_EVENT = "connect"; + } + _this.stream = stream; + if (options.noDelay) { + stream.setNoDelay(true); + } + // Node ignores setKeepAlive before connect, therefore we wait for the event: + // https://github.com/nodejs/node/issues/31663 + if (typeof options.keepAlive === "number") { + if (stream.connecting) { + stream.once(CONNECT_EVENT, () => { + stream.setKeepAlive(true, options.keepAlive); + }); + } + else { + stream.setKeepAlive(true, options.keepAlive); + } + } + if (stream.connecting) { + stream.once(CONNECT_EVENT, eventHandler.connectHandler(_this)); + if (options.connectTimeout) { + /* + * Typically, Socket#setTimeout(0) will clear the timer + * set before. However, in some platforms (Electron 3.x~4.x), + * the timer will not be cleared. So we introduce a variable here. + * + * See https://github.com/electron/electron/issues/14915 + */ + let connectTimeoutCleared = false; + stream.setTimeout(options.connectTimeout, function () { + if (connectTimeoutCleared) { + return; + } + stream.setTimeout(0); + stream.destroy(); + const err = new Error("connect ETIMEDOUT"); + // @ts-expect-error + err.errorno = "ETIMEDOUT"; + // @ts-expect-error + err.code = "ETIMEDOUT"; + // @ts-expect-error + err.syscall = "connect"; + eventHandler.errorHandler(_this)(err); + }); + stream.once(CONNECT_EVENT, function () { + connectTimeoutCleared = true; + stream.setTimeout(0); + }); + } + } + else if (stream.destroyed) { + const firstError = _this.connector.firstError; + if (firstError) { + process.nextTick(() => { + eventHandler.errorHandler(_this)(firstError); + }); + } + process.nextTick(eventHandler.closeHandler(_this)); + } + else { + process.nextTick(eventHandler.connectHandler(_this)); + } + if (!stream.destroyed) { + stream.once("error", eventHandler.errorHandler(_this)); + stream.once("close", eventHandler.closeHandler(_this)); + } + const connectionReadyHandler = function () { + _this.removeListener("close", connectionCloseHandler); + resolve(); + }; + var connectionCloseHandler = function () { + _this.removeListener("ready", connectionReadyHandler); + reject(new Error(utils_1.CONNECTION_CLOSED_ERROR_MSG)); + }; + _this.once("ready", connectionReadyHandler); + _this.once("close", connectionCloseHandler); + }); + }); + return (0, standard_as_callback_1.default)(promise, callback); + } + /** + * Disconnect from Redis. + * + * This method closes the connection immediately, + * and may lose some pending replies that haven't written to client. + * If you want to wait for the pending replies, use Redis#quit instead. + */ + disconnect(reconnect = false) { + if (!reconnect) { + this.manuallyClosing = true; + } + if (this.reconnectTimeout && !reconnect) { + clearTimeout(this.reconnectTimeout); + this.reconnectTimeout = null; + } + if (this.status === "wait") { + eventHandler.closeHandler(this)(); + } + else { + this.connector.disconnect(); + } + } + /** + * Disconnect from Redis. + * + * @deprecated + */ + end() { + this.disconnect(); + } + /** + * Create a new instance with the same options as the current one. + * + * @example + * ```js + * var redis = new Redis(6380); + * var anotherRedis = redis.duplicate(); + * ``` + */ + duplicate(override) { + return new Redis({ ...this.options, ...override }); + } + /** + * Mode of the connection. + * + * One of `"normal"`, `"subscriber"`, or `"monitor"`. When the connection is + * not in `"normal"` mode, certain commands are not allowed. + */ + get mode() { + var _a; + return this.options.monitor + ? "monitor" + : ((_a = this.condition) === null || _a === void 0 ? void 0 : _a.subscriber) + ? "subscriber" + : "normal"; + } + /** + * Listen for all requests received by the server in real time. + * + * This command will create a new connection to Redis and send a + * MONITOR command via the new connection in order to avoid disturbing + * the current connection. + * + * @param callback The callback function. If omit, a promise will be returned. + * @example + * ```js + * var redis = new Redis(); + * redis.monitor(function (err, monitor) { + * // Entering monitoring mode. + * monitor.on('monitor', function (time, args, source, database) { + * console.log(time + ": " + util.inspect(args)); + * }); + * }); + * + * // supports promise as well as other commands + * redis.monitor().then(function (monitor) { + * monitor.on('monitor', function (time, args, source, database) { + * console.log(time + ": " + util.inspect(args)); + * }); + * }); + * ``` + */ + monitor(callback) { + const monitorInstance = this.duplicate({ + monitor: true, + lazyConnect: false, + }); + return (0, standard_as_callback_1.default)(new Promise(function (resolve, reject) { + monitorInstance.once("error", reject); + monitorInstance.once("monitoring", function () { + resolve(monitorInstance); + }); + }), callback); + } + /** + * Send a command to Redis + * + * This method is used internally and in most cases you should not + * use it directly. If you need to send a command that is not supported + * by the library, you can use the `call` method: + * + * ```js + * const redis = new Redis(); + * + * redis.call('set', 'foo', 'bar'); + * // or + * redis.call(['set', 'foo', 'bar']); + * ``` + * + * @ignore + */ + sendCommand(command, stream) { + var _a, _b; + if (this.status === "wait") { + this.connect().catch(lodash_1.noop); + } + if (this.status === "end") { + command.reject(new Error(utils_1.CONNECTION_CLOSED_ERROR_MSG)); + return command.promise; + } + if (((_a = this.condition) === null || _a === void 0 ? void 0 : _a.subscriber) && + !Command_1.default.checkFlag("VALID_IN_SUBSCRIBER_MODE", command.name)) { + command.reject(new Error("Connection in subscriber mode, only subscriber commands may be used")); + return command.promise; + } + if (typeof this.options.commandTimeout === "number") { + command.setTimeout(this.options.commandTimeout); + } + const blockingTimeout = this.getBlockingTimeoutInMs(command); + let writable = this.status === "ready" || + (!stream && + this.status === "connect" && + (0, commands_1.exists)(command.name, { caseInsensitive: true }) && + ((0, commands_1.hasFlag)(command.name, "loading", { nameCaseInsensitive: true }) || + Command_1.default.checkFlag("HANDSHAKE_COMMANDS", command.name))); + if (!this.stream) { + writable = false; + } + else if (!this.stream.writable) { + writable = false; + // @ts-expect-error + } + else if (this.stream._writableState && this.stream._writableState.ended) { + // TODO: We should be able to remove this as the PR has already been merged. + // https://github.com/iojs/io.js/pull/1217 + writable = false; + } + if (!writable) { + if (!this.options.enableOfflineQueue) { + command.reject(new Error("Stream isn't writeable and enableOfflineQueue options is false")); + return command.promise; + } + if (command.name === "quit" && this.offlineQueue.length === 0) { + this.disconnect(); + command.resolve(Buffer.from("OK")); + return command.promise; + } + // @ts-expect-error + if (debug.enabled) { + debug("queue command[%s]: %d -> %s(%o)", this._getDescription(), this.condition.select, command.name, command.args); + } + this.offlineQueue.push({ + command: command, + stream: stream, + select: this.condition.select, + }); + // For blocking commands in the offline queue, arm a client-side timeout + // only when blockingTimeout is configured. Without this option, queued + // blocking commands may wait indefinitely on a dead connection. + if (Command_1.default.checkFlag("BLOCKING_COMMANDS", command.name)) { + const offlineTimeout = this.getConfiguredBlockingTimeout(); + if (offlineTimeout !== undefined) { + command.setBlockingTimeout(offlineTimeout); + } + } + } + else { + // @ts-expect-error + if (debug.enabled) { + debug("write command[%s]: %d -> %s(%o)", this._getDescription(), (_b = this.condition) === null || _b === void 0 ? void 0 : _b.select, command.name, command.args); + } + if (stream) { + if ("isPipeline" in stream && stream.isPipeline) { + stream.write(command.toWritable(stream.destination.redis.stream)); + } + else { + stream.write(command.toWritable(stream)); + } + } + else { + this.stream.write(command.toWritable(this.stream)); + } + this.commandQueue.push({ + command: command, + stream: stream, + select: this.condition.select, + }); + if (blockingTimeout !== undefined) { + command.setBlockingTimeout(blockingTimeout); + } + if (Command_1.default.checkFlag("WILL_DISCONNECT", command.name)) { + this.manuallyClosing = true; + } + if (this.options.socketTimeout !== undefined && this.socketTimeoutTimer === undefined) { + this.setSocketTimeout(); + } + } + if (command.name === "select" && (0, utils_1.isInt)(command.args[0])) { + const db = parseInt(command.args[0], 10); + if (this.condition.select !== db) { + this.condition.select = db; + this.emit("select", db); + debug("switch to db [%d]", this.condition.select); + } + } + return command.promise; + } + getBlockingTimeoutInMs(command) { + var _a; + if (!Command_1.default.checkFlag("BLOCKING_COMMANDS", command.name)) { + return undefined; + } + // Feature is opt-in: only enabled when blockingTimeout is set to a positive number + const configuredTimeout = this.getConfiguredBlockingTimeout(); + if (configuredTimeout === undefined) { + return undefined; + } + const timeout = command.extractBlockingTimeout(); + if (typeof timeout === "number") { + if (timeout > 0) { + // Finite timeout from command args - add grace period + return timeout + ((_a = this.options.blockingTimeoutGrace) !== null && _a !== void 0 ? _a : RedisOptions_1.DEFAULT_REDIS_OPTIONS.blockingTimeoutGrace); + } + // Command has timeout=0 (block forever), use blockingTimeout option as safety net + return configuredTimeout; + } + if (timeout === null) { + // No BLOCK option found (e.g., XREAD without BLOCK), use blockingTimeout as safety net + return configuredTimeout; + } + return undefined; + } + getConfiguredBlockingTimeout() { + if (typeof this.options.blockingTimeout === "number" && + this.options.blockingTimeout > 0) { + return this.options.blockingTimeout; + } + return undefined; + } + setSocketTimeout() { + this.socketTimeoutTimer = setTimeout(() => { + this.stream.destroy(new Error(`Socket timeout. Expecting data, but didn't receive any in ${this.options.socketTimeout}ms.`)); + this.socketTimeoutTimer = undefined; + }, this.options.socketTimeout); + // this handler must run after the "data" handler in "DataHandler" + // so that `this.commandQueue.length` will be updated + this.stream.once("data", () => { + clearTimeout(this.socketTimeoutTimer); + this.socketTimeoutTimer = undefined; + if (this.commandQueue.length === 0) + return; + this.setSocketTimeout(); + }); + } + scanStream(options) { + return this.createScanStream("scan", { options }); + } + scanBufferStream(options) { + return this.createScanStream("scanBuffer", { options }); + } + sscanStream(key, options) { + return this.createScanStream("sscan", { key, options }); + } + sscanBufferStream(key, options) { + return this.createScanStream("sscanBuffer", { key, options }); + } + hscanStream(key, options) { + return this.createScanStream("hscan", { key, options }); + } + hscanBufferStream(key, options) { + return this.createScanStream("hscanBuffer", { key, options }); + } + zscanStream(key, options) { + return this.createScanStream("zscan", { key, options }); + } + zscanBufferStream(key, options) { + return this.createScanStream("zscanBuffer", { key, options }); + } + /** + * Emit only when there's at least one listener. + * + * @ignore + */ + silentEmit(eventName, arg) { + let error; + if (eventName === "error") { + error = arg; + if (this.status === "end") { + return; + } + if (this.manuallyClosing) { + // ignore connection related errors when manually disconnecting + if (error instanceof Error && + (error.message === utils_1.CONNECTION_CLOSED_ERROR_MSG || + // @ts-expect-error + error.syscall === "connect" || + // @ts-expect-error + error.syscall === "read")) { + return; + } + } + } + if (this.listeners(eventName).length > 0) { + return this.emit.apply(this, arguments); + } + if (error && error instanceof Error) { + console.error("[ioredis] Unhandled error event:", error.stack); + } + return false; + } + /** + * @ignore + */ + recoverFromFatalError(_commandError, err, options) { + this.flushQueue(err, options); + this.silentEmit("error", err); + this.disconnect(true); + } + /** + * @ignore + */ + handleReconnection(err, item) { + var _a; + let needReconnect = false; + if (this.options.reconnectOnError && + !Command_1.default.checkFlag("IGNORE_RECONNECT_ON_ERROR", item.command.name)) { + needReconnect = this.options.reconnectOnError(err); + } + switch (needReconnect) { + case 1: + case true: + if (this.status !== "reconnecting") { + this.disconnect(true); + } + item.command.reject(err); + break; + case 2: + if (this.status !== "reconnecting") { + this.disconnect(true); + } + if (((_a = this.condition) === null || _a === void 0 ? void 0 : _a.select) !== item.select && + item.command.name !== "select") { + this.select(item.select); + } + // TODO + // @ts-expect-error + this.sendCommand(item.command); + break; + default: + item.command.reject(err); + } + } + /** + * Get description of the connection. Used for debugging. + */ + _getDescription() { + let description; + if ("path" in this.options && this.options.path) { + description = this.options.path; + } + else if (this.stream && + this.stream.remoteAddress && + this.stream.remotePort) { + description = this.stream.remoteAddress + ":" + this.stream.remotePort; + } + else if ("host" in this.options && this.options.host) { + description = this.options.host + ":" + this.options.port; + } + else { + // Unexpected + description = ""; + } + if (this.options.connectionName) { + description += ` (${this.options.connectionName})`; + } + return description; + } + resetCommandQueue() { + this.commandQueue = new Deque(); + } + resetOfflineQueue() { + this.offlineQueue = new Deque(); + } + parseOptions(...args) { + const options = {}; + let isTls = false; + for (let i = 0; i < args.length; ++i) { + const arg = args[i]; + if (arg === null || typeof arg === "undefined") { + continue; + } + if (typeof arg === "object") { + (0, lodash_1.defaults)(options, arg); + } + else if (typeof arg === "string") { + (0, lodash_1.defaults)(options, (0, utils_1.parseURL)(arg)); + if (arg.startsWith("rediss://")) { + isTls = true; + } + } + else if (typeof arg === "number") { + options.port = arg; + } + else { + throw new Error("Invalid argument " + arg); + } + } + if (isTls) { + (0, lodash_1.defaults)(options, { tls: true }); + } + (0, lodash_1.defaults)(options, Redis.defaultOptions); + if (typeof options.port === "string") { + options.port = parseInt(options.port, 10); + } + if (typeof options.db === "string") { + options.db = parseInt(options.db, 10); + } + // @ts-expect-error + this.options = (0, utils_1.resolveTLSProfile)(options); + } + /** + * Change instance's status + */ + setStatus(status, arg) { + // @ts-expect-error + if (debug.enabled) { + debug("status[%s]: %s -> %s", this._getDescription(), this.status || "[empty]", status); + } + this.status = status; + process.nextTick(this.emit.bind(this, status, arg)); + } + createScanStream(command, { key, options = {} }) { + return new ScanStream_1.default({ + objectMode: true, + key: key, + redis: this, + command: command, + ...options, + }); + } + /** + * Flush offline queue and command queue with error. + * + * @param error The error object to send to the commands + * @param options options + */ + flushQueue(error, options) { + options = (0, lodash_1.defaults)({}, options, { + offlineQueue: true, + commandQueue: true, + }); + let item; + if (options.offlineQueue) { + while ((item = this.offlineQueue.shift())) { + item.command.reject(error); + } + } + if (options.commandQueue) { + if (this.commandQueue.length > 0) { + if (this.stream) { + this.stream.removeAllListeners("data"); + } + while ((item = this.commandQueue.shift())) { + item.command.reject(error); + } + } + } + } + /** + * Check whether Redis has finished loading the persistent data and is able to + * process commands. + */ + _readyCheck(callback) { + const _this = this; + this.info(function (err, res) { + if (err) { + if (err.message && err.message.includes("NOPERM")) { + console.warn(`Skipping the ready check because INFO command fails: "${err.message}". You can disable ready check with "enableReadyCheck". More: https://github.com/luin/ioredis/wiki/Disable-ready-check.`); + return callback(null, {}); + } + return callback(err); + } + if (typeof res !== "string") { + return callback(null, res); + } + const info = {}; + const lines = res.split("\r\n"); + for (let i = 0; i < lines.length; ++i) { + const [fieldName, ...fieldValueParts] = lines[i].split(":"); + const fieldValue = fieldValueParts.join(":"); + if (fieldValue) { + info[fieldName] = fieldValue; + } + } + if (!info.loading || info.loading === "0") { + callback(null, info); + } + else { + const loadingEtaMs = (info.loading_eta_seconds || 1) * 1000; + const retryTime = _this.options.maxLoadingRetryTime && + _this.options.maxLoadingRetryTime < loadingEtaMs + ? _this.options.maxLoadingRetryTime + : loadingEtaMs; + debug("Redis server still loading, trying again in " + retryTime + "ms"); + setTimeout(function () { + _this._readyCheck(callback); + }, retryTime); + } + }).catch(lodash_1.noop); + } +} +Redis.Cluster = cluster_1.default; +Redis.Command = Command_1.default; +/** + * Default options + */ +Redis.defaultOptions = RedisOptions_1.DEFAULT_REDIS_OPTIONS; +(0, applyMixin_1.default)(Redis, events_1.EventEmitter); +(0, transaction_1.addTransactionSupport)(Redis.prototype); +exports.default = Redis; diff --git a/node_modules/ioredis/built/ScanStream.d.ts b/node_modules/ioredis/built/ScanStream.d.ts new file mode 100644 index 0000000..38c3803 --- /dev/null +++ b/node_modules/ioredis/built/ScanStream.d.ts @@ -0,0 +1,23 @@ +/// +import { Readable, ReadableOptions } from "stream"; +interface Options extends ReadableOptions { + key?: string; + match?: string; + type?: string; + command: string; + redis: any; + count?: string | number; + noValues?: boolean; +} +/** + * Convenient class to convert the process of scanning keys to a readable stream. + */ +export default class ScanStream extends Readable { + private opt; + private _redisCursor; + private _redisDrained; + constructor(opt: Options); + _read(): void; + close(): void; +} +export {}; diff --git a/node_modules/ioredis/built/ScanStream.js b/node_modules/ioredis/built/ScanStream.js new file mode 100644 index 0000000..3abecaf --- /dev/null +++ b/node_modules/ioredis/built/ScanStream.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const stream_1 = require("stream"); +/** + * Convenient class to convert the process of scanning keys to a readable stream. + */ +class ScanStream extends stream_1.Readable { + constructor(opt) { + super(opt); + this.opt = opt; + this._redisCursor = "0"; + this._redisDrained = false; + } + _read() { + if (this._redisDrained) { + this.push(null); + return; + } + const args = [this._redisCursor]; + if (this.opt.key) { + args.unshift(this.opt.key); + } + if (this.opt.match) { + args.push("MATCH", this.opt.match); + } + if (this.opt.type) { + args.push("TYPE", this.opt.type); + } + if (this.opt.count) { + args.push("COUNT", String(this.opt.count)); + } + if (this.opt.noValues) { + args.push("NOVALUES"); + } + this.opt.redis[this.opt.command](args, (err, res) => { + if (err) { + this.emit("error", err); + return; + } + this._redisCursor = res[0] instanceof Buffer ? res[0].toString() : res[0]; + if (this._redisCursor === "0") { + this._redisDrained = true; + } + this.push(res[1]); + }); + } + close() { + this._redisDrained = true; + } +} +exports.default = ScanStream; diff --git a/node_modules/ioredis/built/Script.d.ts b/node_modules/ioredis/built/Script.d.ts new file mode 100644 index 0000000..b17f4d8 --- /dev/null +++ b/node_modules/ioredis/built/Script.d.ts @@ -0,0 +1,11 @@ +import { Callback } from "./types"; +export default class Script { + private lua; + private numberOfKeys; + private keyPrefix; + private readOnly; + private sha; + private Command; + constructor(lua: string, numberOfKeys?: number | null, keyPrefix?: string, readOnly?: boolean); + execute(container: any, args: any[], options: any, callback?: Callback): any; +} diff --git a/node_modules/ioredis/built/Script.js b/node_modules/ioredis/built/Script.js new file mode 100644 index 0000000..34ea485 --- /dev/null +++ b/node_modules/ioredis/built/Script.js @@ -0,0 +1,62 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const crypto_1 = require("crypto"); +const Command_1 = require("./Command"); +const standard_as_callback_1 = require("standard-as-callback"); +class Script { + constructor(lua, numberOfKeys = null, keyPrefix = "", readOnly = false) { + this.lua = lua; + this.numberOfKeys = numberOfKeys; + this.keyPrefix = keyPrefix; + this.readOnly = readOnly; + this.sha = (0, crypto_1.createHash)("sha1").update(lua).digest("hex"); + const sha = this.sha; + const socketHasScriptLoaded = new WeakSet(); + this.Command = class CustomScriptCommand extends Command_1.default { + toWritable(socket) { + const origReject = this.reject; + this.reject = (err) => { + if (err.message.indexOf("NOSCRIPT") !== -1) { + socketHasScriptLoaded.delete(socket); + } + origReject.call(this, err); + }; + if (!socketHasScriptLoaded.has(socket)) { + socketHasScriptLoaded.add(socket); + this.name = "eval"; + this.args[0] = lua; + } + else if (this.name === "eval") { + this.name = "evalsha"; + this.args[0] = sha; + } + return super.toWritable(socket); + } + }; + } + execute(container, args, options, callback) { + if (typeof this.numberOfKeys === "number") { + args.unshift(this.numberOfKeys); + } + if (this.keyPrefix) { + options.keyPrefix = this.keyPrefix; + } + if (this.readOnly) { + options.readOnly = true; + } + const evalsha = new this.Command("evalsha", [this.sha, ...args], options); + evalsha.promise = evalsha.promise.catch((err) => { + if (err.message.indexOf("NOSCRIPT") === -1) { + throw err; + } + // Resend the same custom evalsha command that gets transformed + // to an eval in case it's not loaded yet on the connection. + const resend = new this.Command("evalsha", [this.sha, ...args], options); + const client = container.isPipeline ? container.redis : container; + return client.sendCommand(resend); + }); + (0, standard_as_callback_1.default)(evalsha.promise, callback); + return container.sendCommand(evalsha); + } +} +exports.default = Script; diff --git a/node_modules/ioredis/built/SubscriptionSet.d.ts b/node_modules/ioredis/built/SubscriptionSet.d.ts new file mode 100644 index 0000000..2b5c7cc --- /dev/null +++ b/node_modules/ioredis/built/SubscriptionSet.d.ts @@ -0,0 +1,14 @@ +import { CommandNameFlags } from "./Command"; +declare type AddSet = CommandNameFlags["ENTER_SUBSCRIBER_MODE"][number]; +declare type DelSet = CommandNameFlags["EXIT_SUBSCRIBER_MODE"][number]; +/** + * Tiny class to simplify dealing with subscription set + */ +export default class SubscriptionSet { + private set; + add(set: AddSet, channel: string): void; + del(set: DelSet, channel: string): void; + channels(set: AddSet | DelSet): string[]; + isEmpty(): boolean; +} +export {}; diff --git a/node_modules/ioredis/built/SubscriptionSet.js b/node_modules/ioredis/built/SubscriptionSet.js new file mode 100644 index 0000000..df39e61 --- /dev/null +++ b/node_modules/ioredis/built/SubscriptionSet.js @@ -0,0 +1,41 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +/** + * Tiny class to simplify dealing with subscription set + */ +class SubscriptionSet { + constructor() { + this.set = { + subscribe: {}, + psubscribe: {}, + ssubscribe: {}, + }; + } + add(set, channel) { + this.set[mapSet(set)][channel] = true; + } + del(set, channel) { + delete this.set[mapSet(set)][channel]; + } + channels(set) { + return Object.keys(this.set[mapSet(set)]); + } + isEmpty() { + return (this.channels("subscribe").length === 0 && + this.channels("psubscribe").length === 0 && + this.channels("ssubscribe").length === 0); + } +} +exports.default = SubscriptionSet; +function mapSet(set) { + if (set === "unsubscribe") { + return "subscribe"; + } + if (set === "punsubscribe") { + return "psubscribe"; + } + if (set === "sunsubscribe") { + return "ssubscribe"; + } + return set; +} diff --git a/node_modules/ioredis/built/autoPipelining.d.ts b/node_modules/ioredis/built/autoPipelining.d.ts new file mode 100644 index 0000000..64505fc --- /dev/null +++ b/node_modules/ioredis/built/autoPipelining.d.ts @@ -0,0 +1,8 @@ +/// +import { ArgumentType } from "./Command"; +export declare const kExec: unique symbol; +export declare const kCallbacks: unique symbol; +export declare const notAllowedAutoPipelineCommands: string[]; +export declare function shouldUseAutoPipelining(client: any, functionName: string, commandName: string): boolean; +export declare function getFirstValueInFlattenedArray(args: ArgumentType[]): string | Buffer | number | null | undefined; +export declare function executeWithAutoPipelining(client: any, functionName: string, commandName: string, args: ArgumentType[], callback: any): Promise; diff --git a/node_modules/ioredis/built/autoPipelining.js b/node_modules/ioredis/built/autoPipelining.js new file mode 100644 index 0000000..b3d416a --- /dev/null +++ b/node_modules/ioredis/built/autoPipelining.js @@ -0,0 +1,167 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.executeWithAutoPipelining = exports.getFirstValueInFlattenedArray = exports.shouldUseAutoPipelining = exports.notAllowedAutoPipelineCommands = exports.kCallbacks = exports.kExec = void 0; +const lodash_1 = require("./utils/lodash"); +const calculateSlot = require("cluster-key-slot"); +const standard_as_callback_1 = require("standard-as-callback"); +const commands_1 = require("@ioredis/commands"); +exports.kExec = Symbol("exec"); +exports.kCallbacks = Symbol("callbacks"); +exports.notAllowedAutoPipelineCommands = [ + "auth", + "info", + "script", + "quit", + "cluster", + "pipeline", + "multi", + "subscribe", + "psubscribe", + "unsubscribe", + "unpsubscribe", + "select", + "client", +]; +function executeAutoPipeline(client, slotKey) { + /* + If a pipeline is already executing, keep queueing up commands + since ioredis won't serve two pipelines at the same time + */ + if (client._runningAutoPipelines.has(slotKey)) { + return; + } + if (!client._autoPipelines.has(slotKey)) { + /* + Rare edge case. Somehow, something has deleted this running autopipeline in an immediate + call to executeAutoPipeline. + + Maybe the callback in the pipeline.exec is sometimes called in the same tick, + e.g. if redis is disconnected? + */ + return; + } + client._runningAutoPipelines.add(slotKey); + // Get the pipeline and immediately delete it so that new commands are queued on a new pipeline + const pipeline = client._autoPipelines.get(slotKey); + client._autoPipelines.delete(slotKey); + const callbacks = pipeline[exports.kCallbacks]; + // Stop keeping a reference to callbacks immediately after the callbacks stop being used. + // This allows the GC to reclaim objects referenced by callbacks, especially with 16384 slots + // in Redis.Cluster + pipeline[exports.kCallbacks] = null; + // Perform the call + pipeline.exec(function (err, results) { + client._runningAutoPipelines.delete(slotKey); + /* + Invoke all callback in nextTick so the stack is cleared + and callbacks can throw errors without affecting other callbacks. + */ + if (err) { + for (let i = 0; i < callbacks.length; i++) { + process.nextTick(callbacks[i], err); + } + } + else { + for (let i = 0; i < callbacks.length; i++) { + process.nextTick(callbacks[i], ...results[i]); + } + } + // If there is another pipeline on the same node, immediately execute it without waiting for nextTick + if (client._autoPipelines.has(slotKey)) { + executeAutoPipeline(client, slotKey); + } + }); +} +function shouldUseAutoPipelining(client, functionName, commandName) { + return (functionName && + client.options.enableAutoPipelining && + !client.isPipeline && + !exports.notAllowedAutoPipelineCommands.includes(commandName) && + !client.options.autoPipeliningIgnoredCommands.includes(commandName)); +} +exports.shouldUseAutoPipelining = shouldUseAutoPipelining; +function getFirstValueInFlattenedArray(args) { + for (let i = 0; i < args.length; i++) { + const arg = args[i]; + if (typeof arg === "string") { + return arg; + } + else if (Array.isArray(arg) || (0, lodash_1.isArguments)(arg)) { + if (arg.length === 0) { + continue; + } + return arg[0]; + } + const flattened = [arg].flat(); + if (flattened.length > 0) { + return flattened[0]; + } + } + return undefined; +} +exports.getFirstValueInFlattenedArray = getFirstValueInFlattenedArray; +function executeWithAutoPipelining(client, functionName, commandName, args, callback) { + // On cluster mode let's wait for slots to be available + if (client.isCluster && !client.slots.length) { + if (client.status === "wait") + client.connect().catch(lodash_1.noop); + return (0, standard_as_callback_1.default)(new Promise(function (resolve, reject) { + client.delayUntilReady((err) => { + if (err) { + reject(err); + return; + } + executeWithAutoPipelining(client, functionName, commandName, args, null).then(resolve, reject); + }); + }), callback); + } + // If we have slot information, we can improve routing by grouping slots served by the same subset of nodes + // Note that the first value in args may be a (possibly empty) array. + // ioredis will only flatten one level of the array, in the Command constructor. + const prefix = client.options.keyPrefix || ""; + let slotKey = client.isCluster + ? client.slots[calculateSlot(`${prefix}${getFirstValueInFlattenedArray(args)}`)].join(",") + : "main"; + // When scaleReads is enabled, separate read and write commands into different pipelines + // so they can be routed to replicas and masters respectively + if (client.isCluster && client.options.scaleReads !== "master") { + const isReadOnly = (0, commands_1.exists)(commandName) && (0, commands_1.hasFlag)(commandName, "readonly"); + slotKey += isReadOnly ? ":read" : ":write"; + } + if (!client._autoPipelines.has(slotKey)) { + const pipeline = client.pipeline(); + pipeline[exports.kExec] = false; + pipeline[exports.kCallbacks] = []; + client._autoPipelines.set(slotKey, pipeline); + } + const pipeline = client._autoPipelines.get(slotKey); + /* + Mark the pipeline as scheduled. + The symbol will make sure that the pipeline is only scheduled once per tick. + New commands are appended to an already scheduled pipeline. + */ + if (!pipeline[exports.kExec]) { + pipeline[exports.kExec] = true; + /* + Deferring with setImmediate so we have a chance to capture multiple + commands that can be scheduled by I/O events already in the event loop queue. + */ + setImmediate(executeAutoPipeline, client, slotKey); + } + // Create the promise which will execute the command in the pipeline. + const autoPipelinePromise = new Promise(function (resolve, reject) { + pipeline[exports.kCallbacks].push(function (err, value) { + if (err) { + reject(err); + return; + } + resolve(value); + }); + if (functionName === "call") { + args.unshift(commandName); + } + pipeline[functionName](...args); + }); + return (0, standard_as_callback_1.default)(autoPipelinePromise, callback); +} +exports.executeWithAutoPipelining = executeWithAutoPipelining; diff --git a/node_modules/ioredis/built/cluster/ClusterOptions.d.ts b/node_modules/ioredis/built/cluster/ClusterOptions.d.ts new file mode 100644 index 0000000..80c7e2c --- /dev/null +++ b/node_modules/ioredis/built/cluster/ClusterOptions.d.ts @@ -0,0 +1,172 @@ +/// +import { SrvRecord } from "dns"; +import { RedisOptions } from "../redis/RedisOptions"; +import { CommanderOptions } from "../utils/Commander"; +import { NodeRole } from "./util"; +export declare type DNSResolveSrvFunction = (hostname: string, callback: (err: NodeJS.ErrnoException | null | undefined, records?: SrvRecord[]) => void) => void; +export declare type DNSLookupFunction = (hostname: string, callback: (err: NodeJS.ErrnoException | null | undefined, address: string, family?: number) => void) => void; +export declare type NatMapFunction = (key: string) => { + host: string; + port: number; +} | null; +export declare type NatMap = { + [key: string]: { + host: string; + port: number; + }; +} | NatMapFunction; +/** + * Options for Cluster constructor + */ +export interface ClusterOptions extends CommanderOptions { + /** + * See "Quick Start" section. + * + * @default (times) => Math.min(100 + times * 2, 2000) + */ + clusterRetryStrategy?: ((times: number, reason?: Error) => number | void | null) | undefined; + /** + * See Redis class. + * + * @default true + */ + enableOfflineQueue?: boolean | undefined; + /** + * When enabled, ioredis only emits "ready" event when `CLUSTER INFO` + * command reporting the cluster is ready for handling commands. + * + * @default true + */ + enableReadyCheck?: boolean | undefined; + /** + * Scale reads to the node with the specified role. + * + * @default "master" + */ + scaleReads?: NodeRole | Function | undefined; + /** + * When a MOVED or ASK error is received, client will redirect the + * command to another node. + * This option limits the max redirections allowed to send a command. + * + * @default 16 + */ + maxRedirections?: number | undefined; + /** + * When an error is received when sending a command (e.g. + * "Connection is closed." when the target Redis node is down), client will retry + * if `retryDelayOnFailover` is valid delay time (in ms). + * + * @default 100 + */ + retryDelayOnFailover?: number | undefined; + /** + * When a CLUSTERDOWN error is received, client will retry + * if `retryDelayOnClusterDown` is valid delay time (in ms). + * + * @default 100 + */ + retryDelayOnClusterDown?: number | undefined; + /** + * When a TRYAGAIN error is received, client will retry + * if `retryDelayOnTryAgain` is valid delay time (in ms). + * + * @default 100 + */ + retryDelayOnTryAgain?: number | undefined; + /** + * By default, this value is 0, which means when a `MOVED` error is received, + * the client will resend the command instantly to the node returned together with + * the `MOVED` error. However, sometimes it takes time for a cluster to become + * state stabilized after a failover, so adding a delay before resending can + * prevent a ping pong effect. + * + * @default 0 + */ + retryDelayOnMoved?: number | undefined; + /** + * The milliseconds before a timeout occurs while refreshing + * slots from the cluster. + * + * @default 1000 + */ + slotsRefreshTimeout?: number | undefined; + /** + * The milliseconds between every automatic slots refresh. + * + * @default 5000 + */ + slotsRefreshInterval?: number | undefined; + /** + * Use sharded subscribers instead of a single subscriber. + * + * If sharded subscribers are used, then one additional subscriber connection per master node + * is established. If you don't plan to use SPUBLISH/SSUBSCRIBE, then this should be disabled. + * + * @default false + */ + shardedSubscribers?: boolean | undefined; + /** + * Passed to the constructor of `Redis` + * + * @default null + */ + redisOptions?: Omit | undefined; + /** + * By default, When a new Cluster instance is created, + * it will connect to the Redis cluster automatically. + * If you want to keep the instance disconnected until the first command is called, + * set this option to `true`. + * + * @default false + */ + lazyConnect?: boolean | undefined; + /** + * Discover nodes using SRV records + * + * @default false + */ + useSRVRecords?: boolean | undefined; + /** + * SRV records will be resolved via this function. + * + * You may provide a custom `resolveSrv` function when you want to customize + * the cache behavior of the default function. + * + * @default require('dns').resolveSrv + */ + resolveSrv?: DNSResolveSrvFunction | undefined; + /** + * Hostnames will be resolved to IP addresses via this function. + * This is needed when the addresses of startup nodes are hostnames instead + * of IPs. + * + * You may provide a custom `lookup` function when you want to customize + * the cache behavior of the default function. + * + * @default require('dns').lookup + */ + dnsLookup?: DNSLookupFunction | undefined; + natMap?: NatMap | undefined; + /** + * See Redis class. + * + * @default false + */ + enableAutoPipelining?: boolean | undefined; + /** + * See Redis class. + * + * @default [] + */ + autoPipeliningIgnoredCommands?: string[] | undefined; + /** + * Custom LUA commands + */ + scripts?: Record | undefined; +} +export declare const DEFAULT_CLUSTER_OPTIONS: ClusterOptions; diff --git a/node_modules/ioredis/built/cluster/ClusterOptions.js b/node_modules/ioredis/built/cluster/ClusterOptions.js new file mode 100644 index 0000000..8c3e2e5 --- /dev/null +++ b/node_modules/ioredis/built/cluster/ClusterOptions.js @@ -0,0 +1,22 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DEFAULT_CLUSTER_OPTIONS = void 0; +const dns_1 = require("dns"); +exports.DEFAULT_CLUSTER_OPTIONS = { + clusterRetryStrategy: (times) => Math.min(100 + times * 2, 2000), + enableOfflineQueue: true, + enableReadyCheck: true, + scaleReads: "master", + maxRedirections: 16, + retryDelayOnMoved: 0, + retryDelayOnFailover: 100, + retryDelayOnClusterDown: 100, + retryDelayOnTryAgain: 100, + slotsRefreshTimeout: 1000, + useSRVRecords: false, + resolveSrv: dns_1.resolveSrv, + dnsLookup: dns_1.lookup, + enableAutoPipelining: false, + autoPipeliningIgnoredCommands: [], + shardedSubscribers: false, +}; diff --git a/node_modules/ioredis/built/cluster/ClusterSubscriber.d.ts b/node_modules/ioredis/built/cluster/ClusterSubscriber.d.ts new file mode 100644 index 0000000..93a221a --- /dev/null +++ b/node_modules/ioredis/built/cluster/ClusterSubscriber.d.ts @@ -0,0 +1,29 @@ +/// +import { EventEmitter } from "events"; +import ConnectionPool from "./ConnectionPool"; +export default class ClusterSubscriber { + private connectionPool; + private emitter; + private isSharded; + private started; + private subscriber; + private lastActiveSubscriber; + private slotRange; + constructor(connectionPool: ConnectionPool, emitter: EventEmitter, isSharded?: boolean); + getInstance(): any; + /** + * Associate this subscriber to a specific slot range. + * + * Returns the range or an empty array if the slot range couldn't be associated. + * + * BTW: This is more for debugging and testing purposes. + * + * @param range + */ + associateSlotRange(range: number[]): number[]; + start(): void; + stop(): void; + isStarted(): boolean; + private onSubscriberEnd; + private selectSubscriber; +} diff --git a/node_modules/ioredis/built/cluster/ClusterSubscriber.js b/node_modules/ioredis/built/cluster/ClusterSubscriber.js new file mode 100644 index 0000000..ceb02cd --- /dev/null +++ b/node_modules/ioredis/built/cluster/ClusterSubscriber.js @@ -0,0 +1,223 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const util_1 = require("./util"); +const utils_1 = require("../utils"); +const Redis_1 = require("../Redis"); +const debug = (0, utils_1.Debug)("cluster:subscriber"); +class ClusterSubscriber { + constructor(connectionPool, emitter, isSharded = false) { + this.connectionPool = connectionPool; + this.emitter = emitter; + this.isSharded = isSharded; + this.started = false; + //There is only one connection for the entire pool + this.subscriber = null; + //The slot range for which this subscriber is responsible + this.slotRange = []; + this.onSubscriberEnd = () => { + if (!this.started) { + debug("subscriber has disconnected, but ClusterSubscriber is not started, so not reconnecting."); + return; + } + // If the subscriber closes whilst it's still the active connection, + // we might as well try to connecting to a new node if possible to + // minimise the number of missed publishes. + debug("subscriber has disconnected, selecting a new one..."); + this.selectSubscriber(); + }; + // If the current node we're using as the subscriber disappears + // from the node pool for some reason, we will select a new one + // to connect to. + // Note that this event is only triggered if the connection to + // the node has been used; cluster subscriptions are setup with + // lazyConnect = true. It's possible for the subscriber node to + // disappear without this method being called! + // See https://github.com/luin/ioredis/pull/1589 + this.connectionPool.on("-node", (_, key) => { + if (!this.started || !this.subscriber) { + return; + } + if ((0, util_1.getNodeKey)(this.subscriber.options) === key) { + debug("subscriber has left, selecting a new one..."); + this.selectSubscriber(); + } + }); + this.connectionPool.on("+node", () => { + if (!this.started || this.subscriber) { + return; + } + debug("a new node is discovered and there is no subscriber, selecting a new one..."); + this.selectSubscriber(); + }); + } + getInstance() { + return this.subscriber; + } + /** + * Associate this subscriber to a specific slot range. + * + * Returns the range or an empty array if the slot range couldn't be associated. + * + * BTW: This is more for debugging and testing purposes. + * + * @param range + */ + associateSlotRange(range) { + if (this.isSharded) { + this.slotRange = range; + } + return this.slotRange; + } + start() { + this.started = true; + this.selectSubscriber(); + debug("started"); + } + stop() { + this.started = false; + if (this.subscriber) { + this.subscriber.disconnect(); + this.subscriber = null; + } + } + isStarted() { + return this.started; + } + selectSubscriber() { + const lastActiveSubscriber = this.lastActiveSubscriber; + // Disconnect the previous subscriber even if there + // will not be a new one. + if (lastActiveSubscriber) { + lastActiveSubscriber.off("end", this.onSubscriberEnd); + lastActiveSubscriber.disconnect(); + } + if (this.subscriber) { + this.subscriber.off("end", this.onSubscriberEnd); + this.subscriber.disconnect(); + } + const sampleNode = (0, utils_1.sample)(this.connectionPool.getNodes()); + if (!sampleNode) { + debug("selecting subscriber failed since there is no node discovered in the cluster yet"); + this.subscriber = null; + return; + } + const { options } = sampleNode; + debug("selected a subscriber %s:%s", options.host, options.port); + /* + * Create a specialized Redis connection for the subscription. + * Note that auto reconnection is enabled here. + * + * `enableReadyCheck` is also enabled because although subscription is allowed + * while redis is loading data from the disk, we can check if the password + * provided for the subscriber is correct, and if not, the current subscriber + * will be disconnected and a new subscriber will be selected. + */ + let connectionPrefix = "subscriber"; + if (this.isSharded) + connectionPrefix = "ssubscriber"; + this.subscriber = new Redis_1.default({ + port: options.port, + host: options.host, + username: options.username, + password: options.password, + enableReadyCheck: true, + connectionName: (0, util_1.getConnectionName)(connectionPrefix, options.connectionName), + lazyConnect: true, + tls: options.tls, + // Don't try to reconnect the subscriber connection. If the connection fails + // we will get an end event (handled below), at which point we'll pick a new + // node from the pool and try to connect to that as the subscriber connection. + retryStrategy: null, + }); + // Ignore the errors since they're handled in the connection pool. + this.subscriber.on("error", utils_1.noop); + this.subscriber.on("moved", () => { + this.emitter.emit("forceRefresh"); + }); + // The node we lost connection to may not come back up in a + // reasonable amount of time (e.g. a slave that's taken down + // for maintainence), we could potentially miss many published + // messages so we should reconnect as quickly as possible, to + // a different node if needed. + this.subscriber.once("end", this.onSubscriberEnd); + // Re-subscribe previous channels + const previousChannels = { subscribe: [], psubscribe: [], ssubscribe: [] }; + if (lastActiveSubscriber) { + const condition = lastActiveSubscriber.condition || lastActiveSubscriber.prevCondition; + if (condition && condition.subscriber) { + previousChannels.subscribe = condition.subscriber.channels("subscribe"); + previousChannels.psubscribe = + condition.subscriber.channels("psubscribe"); + previousChannels.ssubscribe = + condition.subscriber.channels("ssubscribe"); + } + } + if (previousChannels.subscribe.length || + previousChannels.psubscribe.length || + previousChannels.ssubscribe.length) { + let pending = 0; + for (const type of ["subscribe", "psubscribe", "ssubscribe"]) { + const channels = previousChannels[type]; + if (channels.length == 0) { + continue; + } + debug("%s %d channels", type, channels.length); + if (type === "ssubscribe") { + for (const channel of channels) { + pending += 1; + this.subscriber[type](channel) + .then(() => { + if (!--pending) { + this.lastActiveSubscriber = this.subscriber; + } + }) + .catch(() => { + // TODO: should probably disconnect the subscriber and try again. + debug("failed to ssubscribe to channel: %s", channel); + }); + } + } + else { + pending += 1; + this.subscriber[type](channels) + .then(() => { + if (!--pending) { + this.lastActiveSubscriber = this.subscriber; + } + }) + .catch(() => { + // TODO: should probably disconnect the subscriber and try again. + debug("failed to %s %d channels", type, channels.length); + }); + } + } + } + else { + this.lastActiveSubscriber = this.subscriber; + } + for (const event of [ + "message", + "messageBuffer", + ]) { + this.subscriber.on(event, (arg1, arg2) => { + this.emitter.emit(event, arg1, arg2); + }); + } + for (const event of ["pmessage", "pmessageBuffer"]) { + this.subscriber.on(event, (arg1, arg2, arg3) => { + this.emitter.emit(event, arg1, arg2, arg3); + }); + } + if (this.isSharded == true) { + for (const event of [ + "smessage", + "smessageBuffer", + ]) { + this.subscriber.on(event, (arg1, arg2) => { + this.emitter.emit(event, arg1, arg2); + }); + } + } + } +} +exports.default = ClusterSubscriber; diff --git a/node_modules/ioredis/built/cluster/ClusterSubscriberGroup.d.ts b/node_modules/ioredis/built/cluster/ClusterSubscriberGroup.d.ts new file mode 100644 index 0000000..496b96d --- /dev/null +++ b/node_modules/ioredis/built/cluster/ClusterSubscriberGroup.d.ts @@ -0,0 +1,108 @@ +/// +import * as EventEmitter from "events"; +import ShardedSubscriber from "./ShardedSubscriber"; +import { ClusterOptions } from "./ClusterOptions"; +/** + * Redis distinguishes between "normal" and sharded PubSub. When using the normal PubSub feature, + * exactly one subscriber exists per cluster instance because the Redis cluster bus forwards + * messages between shards. Sharded PubSub removes this limitation by making each shard + * responsible for its own messages. + * + * This class coordinates one ShardedSubscriber per master node in the cluster, providing + * sharded PubSub support while keeping the public API backward compatible. + */ +export default class ClusterSubscriberGroup { + private readonly subscriberGroupEmitter; + private readonly options; + private shardedSubscribers; + private clusterSlots; + private subscriberToSlotsIndex; + private channels; + private failedAttemptsByNode; + private isResetting; + private pendingReset; + private static readonly MAX_RETRY_ATTEMPTS; + private static readonly MAX_BACKOFF_MS; + private static readonly BASE_BACKOFF_MS; + /** + * Register callbacks + * + * @param cluster + */ + constructor(subscriberGroupEmitter: EventEmitter, options: ClusterOptions); + /** + * Get the responsible subscriber. + * + * @param slot + */ + getResponsibleSubscriber(slot: number): ShardedSubscriber | undefined; + /** + * Adds a channel for which this subscriber group is responsible + * + * @param channels + */ + addChannels(channels: (string | Buffer)[]): number; + /** + * Removes channels for which the subscriber group is responsible by optionally unsubscribing + * @param channels + */ + removeChannels(channels: (string | Buffer)[]): number; + /** + * Disconnect all subscribers and clear some of the internal state. + */ + stop(): void; + /** + * Start all not yet started subscribers + */ + start(): Promise; + /** + * Resets the subscriber group by disconnecting all subscribers that are no longer needed and connecting new ones. + */ + reset(clusterSlots: string[][], clusterNodes: any[]): Promise; + /** + * Refreshes the subscriber-related slot ranges + * + * Returns false if no refresh was needed + * + * @param targetSlots + */ + private _refreshSlots; + /** + * Resubscribes to the previous channels + * + * @private + */ + private _resubscribe; + /** + * Deep equality of the cluster slots objects + * + * @param other + * @private + */ + private _slotsAreEqual; + /** + * Checks if any subscribers are in an unhealthy state. + * + * A subscriber is considered unhealthy if: + * - It exists but is not started (failed/disconnected) + * - It's missing entirely for a node that should have one + * + * @returns true if any subscribers need to be recreated + */ + private hasUnhealthySubscribers; + /** + * Handles failed subscriber connections by emitting an event to refresh the slots cache + * after a backoff period. + * + * @param error + * @param nodeKey + */ + private handleSubscriberConnectFailed; + /** + * Handles successful subscriber connections by resetting the failed attempts counter. + * + * @param nodeKey + */ + private handleSubscriberConnectSucceeded; + private shouldStartSubscriber; +} diff --git a/node_modules/ioredis/built/cluster/ClusterSubscriberGroup.js b/node_modules/ioredis/built/cluster/ClusterSubscriberGroup.js new file mode 100644 index 0000000..8f524a8 --- /dev/null +++ b/node_modules/ioredis/built/cluster/ClusterSubscriberGroup.js @@ -0,0 +1,373 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const utils_1 = require("../utils"); +const util_1 = require("./util"); +const calculateSlot = require("cluster-key-slot"); +const ShardedSubscriber_1 = require("./ShardedSubscriber"); +const debug = (0, utils_1.Debug)("cluster:subscriberGroup"); +/** + * Redis distinguishes between "normal" and sharded PubSub. When using the normal PubSub feature, + * exactly one subscriber exists per cluster instance because the Redis cluster bus forwards + * messages between shards. Sharded PubSub removes this limitation by making each shard + * responsible for its own messages. + * + * This class coordinates one ShardedSubscriber per master node in the cluster, providing + * sharded PubSub support while keeping the public API backward compatible. + */ +class ClusterSubscriberGroup { + /** + * Register callbacks + * + * @param cluster + */ + constructor(subscriberGroupEmitter, options) { + this.subscriberGroupEmitter = subscriberGroupEmitter; + this.options = options; + this.shardedSubscribers = new Map(); + this.clusterSlots = []; + // Simple [min, max] slot ranges aren't enough because you can migrate single slots + this.subscriberToSlotsIndex = new Map(); + this.channels = new Map(); + this.failedAttemptsByNode = new Map(); + // Only latest pending reset kept; throttled by refreshSlotsCache's isRefreshing + backoff delay + this.isResetting = false; + this.pendingReset = null; + /** + * Handles failed subscriber connections by emitting an event to refresh the slots cache + * after a backoff period. + * + * @param error + * @param nodeKey + */ + this.handleSubscriberConnectFailed = (error, nodeKey) => { + const currentAttempts = this.failedAttemptsByNode.get(nodeKey) || 0; + const failedAttempts = currentAttempts + 1; + this.failedAttemptsByNode.set(nodeKey, failedAttempts); + const attempts = Math.min(failedAttempts, ClusterSubscriberGroup.MAX_RETRY_ATTEMPTS); + const backoff = Math.min(ClusterSubscriberGroup.BASE_BACKOFF_MS * 2 ** attempts, ClusterSubscriberGroup.MAX_BACKOFF_MS); + const jitter = Math.floor((Math.random() - 0.5) * (backoff * 0.5)); + const delay = Math.max(0, backoff + jitter); + debug("Failed to connect subscriber for %s. Refreshing slots in %dms", nodeKey, delay); + this.subscriberGroupEmitter.emit("subscriberConnectFailed", { + delay, + error, + }); + }; + /** + * Handles successful subscriber connections by resetting the failed attempts counter. + * + * @param nodeKey + */ + this.handleSubscriberConnectSucceeded = (nodeKey) => { + this.failedAttemptsByNode.delete(nodeKey); + }; + } + /** + * Get the responsible subscriber. + * + * @param slot + */ + getResponsibleSubscriber(slot) { + const nodeKey = this.clusterSlots[slot][0]; + const sub = this.shardedSubscribers.get(nodeKey); + if (sub && sub.subscriberStatus === "idle") { + sub + .start() + .then(() => { + this.handleSubscriberConnectSucceeded(sub.getNodeKey()); + }) + .catch((err) => { + this.handleSubscriberConnectFailed(err, sub.getNodeKey()); + }); + } + return sub; + } + /** + * Adds a channel for which this subscriber group is responsible + * + * @param channels + */ + addChannels(channels) { + const slot = calculateSlot(channels[0]); + // Check if the all channels belong to the same slot and otherwise reject the operation + for (const c of channels) { + if (calculateSlot(c) !== slot) { + return -1; + } + } + const currChannels = this.channels.get(slot); + if (!currChannels) { + this.channels.set(slot, channels); + } + else { + this.channels.set(slot, currChannels.concat(channels)); + } + return Array.from(this.channels.values()).reduce((sum, array) => sum + array.length, 0); + } + /** + * Removes channels for which the subscriber group is responsible by optionally unsubscribing + * @param channels + */ + removeChannels(channels) { + const slot = calculateSlot(channels[0]); + // Check if the all channels belong to the same slot and otherwise reject the operation + for (const c of channels) { + if (calculateSlot(c) !== slot) { + return -1; + } + } + const slotChannels = this.channels.get(slot); + if (slotChannels) { + const updatedChannels = slotChannels.filter((c) => !channels.includes(c)); + this.channels.set(slot, updatedChannels); + } + return Array.from(this.channels.values()).reduce((sum, array) => sum + array.length, 0); + } + /** + * Disconnect all subscribers and clear some of the internal state. + */ + stop() { + for (const s of this.shardedSubscribers.values()) { + s.stop(); + } + // Clear subscriber instances and pending operations. + // Channels are preserved for resubscription on reconnect. + this.pendingReset = null; + this.shardedSubscribers.clear(); + this.subscriberToSlotsIndex.clear(); + } + /** + * Start all not yet started subscribers + */ + start() { + const startPromises = []; + for (const s of this.shardedSubscribers.values()) { + if (this.shouldStartSubscriber(s)) { + startPromises.push(s + .start() + .then(() => { + this.handleSubscriberConnectSucceeded(s.getNodeKey()); + }) + .catch((err) => { + this.handleSubscriberConnectFailed(err, s.getNodeKey()); + })); + this.subscriberGroupEmitter.emit("+subscriber"); + } + } + return Promise.all(startPromises); + } + /** + * Resets the subscriber group by disconnecting all subscribers that are no longer needed and connecting new ones. + */ + async reset(clusterSlots, clusterNodes) { + if (this.isResetting) { + this.pendingReset = { slots: clusterSlots, nodes: clusterNodes }; + return; + } + this.isResetting = true; + try { + const hasTopologyChanged = this._refreshSlots(clusterSlots); + const hasFailedSubscribers = this.hasUnhealthySubscribers(); + if (!hasTopologyChanged && !hasFailedSubscribers) { + debug("No topology change detected or failed subscribers. Skipping reset."); + return; + } + // For each of the sharded subscribers + for (const [nodeKey, shardedSubscriber] of this.shardedSubscribers) { + if ( + // If the subscriber is still responsible for a slot range and is healthy then keep it + this.subscriberToSlotsIndex.has(nodeKey) && + shardedSubscriber.isHealthy()) { + debug("Skipping deleting subscriber for %s", nodeKey); + continue; + } + debug("Removing subscriber for %s", nodeKey); + // Otherwise stop the subscriber and remove it + shardedSubscriber.stop(); + this.shardedSubscribers.delete(nodeKey); + this.subscriberGroupEmitter.emit("-subscriber"); + } + const startPromises = []; + // For each node in slots cache + for (const [nodeKey, _] of this.subscriberToSlotsIndex) { + const existingSubscriber = this.shardedSubscribers.get(nodeKey); + // If we already have a subscriber for this node, only ensure it is healthy + // when it now owns slots with active channel subscriptions. + if (existingSubscriber && existingSubscriber.isHealthy()) { + debug("Skipping creating new subscriber for %s", nodeKey); + if (!existingSubscriber.isStarted() && + this.shouldStartSubscriber(existingSubscriber)) { + startPromises.push(existingSubscriber + .start() + .then(() => { + this.handleSubscriberConnectSucceeded(nodeKey); + }) + .catch((error) => { + this.handleSubscriberConnectFailed(error, nodeKey); + })); + } + continue; + } + // If we have an existing subscriber but it is not healthy, stop it + if (existingSubscriber && !existingSubscriber.isHealthy()) { + debug("Replacing subscriber for %s", nodeKey); + existingSubscriber.stop(); + this.shardedSubscribers.delete(nodeKey); + this.subscriberGroupEmitter.emit("-subscriber"); + } + debug("Creating new subscriber for %s", nodeKey); + // Otherwise create a new subscriber + const redis = clusterNodes.find((node) => { + return (0, util_1.getNodeKey)(node.options) === nodeKey; + }); + if (!redis) { + debug("Failed to find node for key %s", nodeKey); + continue; + } + const sub = new ShardedSubscriber_1.default(this.subscriberGroupEmitter, redis.options, this.options.redisOptions); + this.shardedSubscribers.set(nodeKey, sub); + if (this.shouldStartSubscriber(sub)) { + startPromises.push(sub + .start() + .then(() => { + this.handleSubscriberConnectSucceeded(nodeKey); + }) + .catch((error) => { + this.handleSubscriberConnectFailed(error, nodeKey); + })); + } + this.subscriberGroupEmitter.emit("+subscriber"); + } + // It's vital to await the start promises before resubscribing + // Otherwise we might try to resubscribe to a subscriber that is not yet connected + // This can cause a race condition + await Promise.all(startPromises); + this._resubscribe(); + this.subscriberGroupEmitter.emit("subscribersReady"); + } + finally { + this.isResetting = false; + if (this.pendingReset) { + const { slots, nodes } = this.pendingReset; + this.pendingReset = null; + await this.reset(slots, nodes); + } + } + } + /** + * Refreshes the subscriber-related slot ranges + * + * Returns false if no refresh was needed + * + * @param targetSlots + */ + _refreshSlots(targetSlots) { + //If there was an actual change, then reassign the slot ranges + // Also rebuild if subscriberToSlotsIndex is empty (e.g., after stop() was called) + if (this._slotsAreEqual(targetSlots) && this.subscriberToSlotsIndex.size > 0) { + debug("Nothing to refresh because the new cluster map is equal to the previous one."); + return false; + } + debug("Refreshing the slots of the subscriber group."); + //Rebuild the slots index + this.subscriberToSlotsIndex = new Map(); + for (let slot = 0; slot < targetSlots.length; slot++) { + const node = targetSlots[slot][0]; + if (!this.subscriberToSlotsIndex.has(node)) { + this.subscriberToSlotsIndex.set(node, []); + } + this.subscriberToSlotsIndex.get(node).push(Number(slot)); + } + //Update the cached slots map + this.clusterSlots = JSON.parse(JSON.stringify(targetSlots)); + return true; + } + /** + * Resubscribes to the previous channels + * + * @private + */ + _resubscribe() { + if (this.shardedSubscribers) { + this.shardedSubscribers.forEach((s, nodeKey) => { + const subscriberSlots = this.subscriberToSlotsIndex.get(nodeKey); + if (subscriberSlots) { + //Resubscribe on the underlying connection + subscriberSlots.forEach((ss) => { + //Might return null if being disconnected + const redis = s.getInstance(); + const channels = this.channels.get(ss); + if (channels && channels.length > 0) { + if (!redis || redis.status === "end") { + return; + } + if (redis.status === "ready") { + redis.ssubscribe(...channels).catch((err) => { + // TODO: Should we emit an error event here? + debug("Failed to ssubscribe on node %s: %s", nodeKey, err); + }); + } + else { + redis.once("ready", () => { + redis.ssubscribe(...channels).catch((err) => { + // TODO: Should we emit an error event here? + debug("Failed to ssubscribe on node %s: %s", nodeKey, err); + }); + }); + } + } + }); + } + }); + } + } + /** + * Deep equality of the cluster slots objects + * + * @param other + * @private + */ + _slotsAreEqual(other) { + if (this.clusterSlots === undefined) { + return false; + } + else { + return JSON.stringify(this.clusterSlots) === JSON.stringify(other); + } + } + /** + * Checks if any subscribers are in an unhealthy state. + * + * A subscriber is considered unhealthy if: + * - It exists but is not started (failed/disconnected) + * - It's missing entirely for a node that should have one + * + * @returns true if any subscribers need to be recreated + */ + hasUnhealthySubscribers() { + const hasFailedSubscribers = Array.from(this.shardedSubscribers.values()).some((sub) => !sub.isHealthy()); + const hasMissingSubscribers = Array.from(this.subscriberToSlotsIndex.keys()).some((nodeKey) => !this.shardedSubscribers.has(nodeKey)); + return hasFailedSubscribers || hasMissingSubscribers; + } + shouldStartSubscriber(sub) { + if (sub.isStarted()) { + return false; + } + if (!sub.isLazyConnect()) { + return true; + } + const subscriberSlots = this.subscriberToSlotsIndex.get(sub.getNodeKey()); + if (!subscriberSlots) { + return false; + } + return subscriberSlots.some((slot) => { + const channels = this.channels.get(slot); + return Boolean(channels && channels.length > 0); + }); + } +} +exports.default = ClusterSubscriberGroup; +// Retry strategy +ClusterSubscriberGroup.MAX_RETRY_ATTEMPTS = 10; +ClusterSubscriberGroup.MAX_BACKOFF_MS = 2000; +ClusterSubscriberGroup.BASE_BACKOFF_MS = 100; diff --git a/node_modules/ioredis/built/cluster/ConnectionPool.d.ts b/node_modules/ioredis/built/cluster/ConnectionPool.d.ts new file mode 100644 index 0000000..0de5d7a --- /dev/null +++ b/node_modules/ioredis/built/cluster/ConnectionPool.d.ts @@ -0,0 +1,37 @@ +/// +import { EventEmitter } from "events"; +import { RedisOptions, NodeKey, NodeRole } from "./util"; +import Redis from "../Redis"; +export default class ConnectionPool extends EventEmitter { + private redisOptions; + private nodes; + private specifiedOptions; + constructor(redisOptions: any); + getNodes(role?: NodeRole): Redis[]; + getInstanceByKey(key: NodeKey): Redis; + getSampleInstance(role: NodeRole): Redis; + /** + * Add a master node to the pool + * @param node + */ + addMasterNode(node: RedisOptions): boolean; + /** + * Creates a Redis connection instance from the node options + * @param node + * @param readOnly + */ + createRedisFromOptions(node: RedisOptions, readOnly: boolean): Redis; + /** + * Find or create a connection to the node + */ + findOrCreate(node: RedisOptions, readOnly?: boolean): Redis; + /** + * Reset the pool with a set of nodes. + * The old node will be removed. + */ + reset(nodes: RedisOptions[]): void; + /** + * Remove a node from the pool. + */ + private removeNode; +} diff --git a/node_modules/ioredis/built/cluster/ConnectionPool.js b/node_modules/ioredis/built/cluster/ConnectionPool.js new file mode 100644 index 0000000..4fef1b8 --- /dev/null +++ b/node_modules/ioredis/built/cluster/ConnectionPool.js @@ -0,0 +1,154 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const events_1 = require("events"); +const utils_1 = require("../utils"); +const util_1 = require("./util"); +const Redis_1 = require("../Redis"); +const debug = (0, utils_1.Debug)("cluster:connectionPool"); +class ConnectionPool extends events_1.EventEmitter { + constructor(redisOptions) { + super(); + this.redisOptions = redisOptions; + // master + slave = all + this.nodes = { + all: {}, + master: {}, + slave: {}, + }; + this.specifiedOptions = {}; + } + getNodes(role = "all") { + const nodes = this.nodes[role]; + return Object.keys(nodes).map((key) => nodes[key]); + } + getInstanceByKey(key) { + return this.nodes.all[key]; + } + getSampleInstance(role) { + const keys = Object.keys(this.nodes[role]); + const sampleKey = (0, utils_1.sample)(keys); + return this.nodes[role][sampleKey]; + } + /** + * Add a master node to the pool + * @param node + */ + addMasterNode(node) { + const key = (0, util_1.getNodeKey)(node.options); + const redis = this.createRedisFromOptions(node, node.options.readOnly); + //Master nodes aren't read-only + if (!node.options.readOnly) { + this.nodes.all[key] = redis; + this.nodes.master[key] = redis; + return true; + } + return false; + } + /** + * Creates a Redis connection instance from the node options + * @param node + * @param readOnly + */ + createRedisFromOptions(node, readOnly) { + const redis = new Redis_1.default((0, utils_1.defaults)({ + // Never try to reconnect when a node is lose, + // instead, waiting for a `MOVED` error and + // fetch the slots again. + retryStrategy: null, + // Offline queue should be enabled so that + // we don't need to wait for the `ready` event + // before sending commands to the node. + enableOfflineQueue: true, + readOnly: readOnly, + }, node, this.redisOptions, { lazyConnect: true })); + return redis; + } + /** + * Find or create a connection to the node + */ + findOrCreate(node, readOnly = false) { + const key = (0, util_1.getNodeKey)(node); + readOnly = Boolean(readOnly); + if (this.specifiedOptions[key]) { + Object.assign(node, this.specifiedOptions[key]); + } + else { + this.specifiedOptions[key] = node; + } + let redis; + if (this.nodes.all[key]) { + redis = this.nodes.all[key]; + if (redis.options.readOnly !== readOnly) { + redis.options.readOnly = readOnly; + debug("Change role of %s to %s", key, readOnly ? "slave" : "master"); + redis[readOnly ? "readonly" : "readwrite"]().catch(utils_1.noop); + if (readOnly) { + delete this.nodes.master[key]; + this.nodes.slave[key] = redis; + } + else { + delete this.nodes.slave[key]; + this.nodes.master[key] = redis; + } + } + } + else { + debug("Connecting to %s as %s", key, readOnly ? "slave" : "master"); + redis = this.createRedisFromOptions(node, readOnly); + this.nodes.all[key] = redis; + this.nodes[readOnly ? "slave" : "master"][key] = redis; + redis.once("end", () => { + this.removeNode(key); + this.emit("-node", redis, key); + if (!Object.keys(this.nodes.all).length) { + this.emit("drain"); + } + }); + this.emit("+node", redis, key); + redis.on("error", function (error) { + this.emit("nodeError", error, key); + }); + } + return redis; + } + /** + * Reset the pool with a set of nodes. + * The old node will be removed. + */ + reset(nodes) { + debug("Reset with %O", nodes); + const newNodes = {}; + nodes.forEach((node) => { + const key = (0, util_1.getNodeKey)(node); + // Don't override the existing (master) node + // when the current one is slave. + if (!(node.readOnly && newNodes[key])) { + newNodes[key] = node; + } + }); + Object.keys(this.nodes.all).forEach((key) => { + if (!newNodes[key]) { + debug("Disconnect %s because the node does not hold any slot", key); + this.nodes.all[key].disconnect(); + this.removeNode(key); + } + }); + Object.keys(newNodes).forEach((key) => { + const node = newNodes[key]; + this.findOrCreate(node, node.readOnly); + }); + } + /** + * Remove a node from the pool. + */ + removeNode(key) { + const { nodes } = this; + if (nodes.all[key]) { + debug("Remove %s from the pool", key); + delete nodes.all[key]; + } + delete nodes.master[key]; + delete nodes.slave[key]; + } +} +exports.default = ConnectionPool; diff --git a/node_modules/ioredis/built/cluster/DelayQueue.d.ts b/node_modules/ioredis/built/cluster/DelayQueue.d.ts new file mode 100644 index 0000000..2d64896 --- /dev/null +++ b/node_modules/ioredis/built/cluster/DelayQueue.d.ts @@ -0,0 +1,20 @@ +export interface DelayQueueOptions { + callback?: Function; + timeout: number; +} +/** + * Queue that runs items after specified duration + */ +export default class DelayQueue { + private queues; + private timeouts; + /** + * Add a new item to the queue + * + * @param bucket bucket name + * @param item function that will run later + * @param options + */ + push(bucket: string, item: Function, options: DelayQueueOptions): void; + private execute; +} diff --git a/node_modules/ioredis/built/cluster/DelayQueue.js b/node_modules/ioredis/built/cluster/DelayQueue.js new file mode 100644 index 0000000..e17df51 --- /dev/null +++ b/node_modules/ioredis/built/cluster/DelayQueue.js @@ -0,0 +1,53 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const utils_1 = require("../utils"); +const Deque = require("denque"); +const debug = (0, utils_1.Debug)("delayqueue"); +/** + * Queue that runs items after specified duration + */ +class DelayQueue { + constructor() { + this.queues = {}; + this.timeouts = {}; + } + /** + * Add a new item to the queue + * + * @param bucket bucket name + * @param item function that will run later + * @param options + */ + push(bucket, item, options) { + const callback = options.callback || process.nextTick; + if (!this.queues[bucket]) { + this.queues[bucket] = new Deque(); + } + const queue = this.queues[bucket]; + queue.push(item); + if (!this.timeouts[bucket]) { + this.timeouts[bucket] = setTimeout(() => { + callback(() => { + this.timeouts[bucket] = null; + this.execute(bucket); + }); + }, options.timeout); + } + } + execute(bucket) { + const queue = this.queues[bucket]; + if (!queue) { + return; + } + const { length } = queue; + if (!length) { + return; + } + debug("send %d commands in %s queue", length, bucket); + this.queues[bucket] = null; + while (queue.length > 0) { + queue.shift()(); + } + } +} +exports.default = DelayQueue; diff --git a/node_modules/ioredis/built/cluster/ShardedSubscriber.d.ts b/node_modules/ioredis/built/cluster/ShardedSubscriber.d.ts new file mode 100644 index 0000000..921bcdb --- /dev/null +++ b/node_modules/ioredis/built/cluster/ShardedSubscriber.d.ts @@ -0,0 +1,36 @@ +/// +import EventEmitter = require("events"); +import { RedisOptions } from "./util"; +import Redis from "../Redis"; +import { ClusterOptions } from "./ClusterOptions"; +declare const SubscriberStatus: { + readonly IDLE: "idle"; + readonly STARTING: "starting"; + readonly CONNECTED: "connected"; + readonly STOPPING: "stopping"; + readonly ENDED: "ended"; +}; +declare type SubscriberStatus = typeof SubscriberStatus[keyof typeof SubscriberStatus]; +export default class ShardedSubscriber { + private readonly emitter; + private readonly nodeKey; + private status; + private instance; + private connectPromise; + private lazyConnect; + private readonly messageListeners; + constructor(emitter: EventEmitter, options: RedisOptions, redisOptions?: ClusterOptions["redisOptions"]); + start(): Promise; + stop(): void; + isStarted(): boolean; + get subscriberStatus(): SubscriberStatus; + isHealthy(): boolean; + getInstance(): Redis | null; + getNodeKey(): string; + isLazyConnect(): boolean; + private onEnd; + private onError; + private onMoved; + private updateStatus; +} +export {}; diff --git a/node_modules/ioredis/built/cluster/ShardedSubscriber.js b/node_modules/ioredis/built/cluster/ShardedSubscriber.js new file mode 100644 index 0000000..163fb63 --- /dev/null +++ b/node_modules/ioredis/built/cluster/ShardedSubscriber.js @@ -0,0 +1,147 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const util_1 = require("./util"); +const utils_1 = require("../utils"); +const Redis_1 = require("../Redis"); +const debug = (0, utils_1.Debug)("cluster:subscriberGroup:shardedSubscriber"); +const SubscriberStatus = { + IDLE: "idle", + STARTING: "starting", + CONNECTED: "connected", + STOPPING: "stopping", + ENDED: "ended", +}; +const ALLOWED_STATUS_UPDATES = { + [SubscriberStatus.IDLE]: [ + SubscriberStatus.STARTING, + SubscriberStatus.STOPPING, + SubscriberStatus.ENDED, + ], + [SubscriberStatus.STARTING]: [ + SubscriberStatus.CONNECTED, + SubscriberStatus.STOPPING, + SubscriberStatus.ENDED, + ], + [SubscriberStatus.CONNECTED]: [ + SubscriberStatus.STOPPING, + SubscriberStatus.ENDED, + ], + [SubscriberStatus.STOPPING]: [SubscriberStatus.ENDED], + [SubscriberStatus.ENDED]: [], +}; +class ShardedSubscriber { + constructor(emitter, options, redisOptions) { + var _a; + this.emitter = emitter; + this.status = SubscriberStatus.IDLE; + this.instance = null; + this.connectPromise = null; + // Store listener references for cleanup + this.messageListeners = new Map(); + this.onEnd = () => { + this.updateStatus(SubscriberStatus.ENDED); + this.emitter.emit("-node", this.instance, this.nodeKey); + }; + this.onError = (error) => { + this.emitter.emit("nodeError", error, this.nodeKey); + }; + this.onMoved = () => { + this.emitter.emit("moved"); + }; + this.instance = new Redis_1.default((0, utils_1.defaults)({ + enableReadyCheck: false, + enableOfflineQueue: true, + connectionName: (0, util_1.getConnectionName)("ssubscriber", options.connectionName), + /** + * Disable auto reconnection for subscribers. + * The ClusterSubscriberGroup will handle the reconnection. + */ + retryStrategy: null, + lazyConnect: true, + }, options, redisOptions)); + this.lazyConnect = (_a = redisOptions === null || redisOptions === void 0 ? void 0 : redisOptions.lazyConnect) !== null && _a !== void 0 ? _a : true; + this.nodeKey = (0, util_1.getNodeKey)(options); + // Register listeners + this.instance.on("end", this.onEnd); + this.instance.on("error", this.onError); + this.instance.on("moved", this.onMoved); + for (const event of ["smessage", "smessageBuffer"]) { + const listener = (...args) => { + this.emitter.emit(event, ...args); + }; + this.messageListeners.set(event, listener); + this.instance.on(event, listener); + } + } + async start() { + if (this.connectPromise) { + return this.connectPromise; + } + if (this.status === SubscriberStatus.STARTING || + this.status === SubscriberStatus.CONNECTED) { + return; + } + if (this.status === SubscriberStatus.ENDED || !this.instance) { + throw new Error(`Sharded subscriber ${this.nodeKey} cannot be restarted once ended.`); + } + this.updateStatus(SubscriberStatus.STARTING); + this.connectPromise = this.instance.connect(); + try { + await this.connectPromise; + this.updateStatus(SubscriberStatus.CONNECTED); + } + catch (err) { + this.updateStatus(SubscriberStatus.ENDED); + throw err; + } + finally { + this.connectPromise = null; + } + } + stop() { + this.updateStatus(SubscriberStatus.STOPPING); + if (this.instance) { + this.instance.disconnect(); + this.instance.removeAllListeners(); + this.messageListeners.clear(); + this.instance = null; + } + this.updateStatus(SubscriberStatus.ENDED); + debug("stopped %s", this.nodeKey); + } + isStarted() { + return [ + SubscriberStatus.CONNECTED, + SubscriberStatus.STARTING, + ].includes(this.status); + } + get subscriberStatus() { + return this.status; + } + isHealthy() { + return ((this.status === SubscriberStatus.IDLE || + this.status === SubscriberStatus.CONNECTED || + this.status === SubscriberStatus.STARTING) && + this.instance !== null); + } + getInstance() { + return this.instance; + } + getNodeKey() { + return this.nodeKey; + } + isLazyConnect() { + return this.lazyConnect; + } + updateStatus(nextStatus) { + if (this.status === nextStatus) { + return; + } + if (!ALLOWED_STATUS_UPDATES[this.status].includes(nextStatus)) { + debug("Invalid status transition for %s: %s -> %s", this.nodeKey, this.status, nextStatus); + return; + } + this.status = nextStatus; + } +} +exports.default = ShardedSubscriber; diff --git a/node_modules/ioredis/built/cluster/index.d.ts b/node_modules/ioredis/built/cluster/index.d.ts new file mode 100644 index 0000000..3f5e1b4 --- /dev/null +++ b/node_modules/ioredis/built/cluster/index.d.ts @@ -0,0 +1,163 @@ +/// +import { EventEmitter } from "events"; +import Command from "../Command"; +import Redis from "../Redis"; +import ScanStream from "../ScanStream"; +import { Transaction } from "../transaction"; +import { Callback, ScanStreamOptions, WriteableStream } from "../types"; +import Commander from "../utils/Commander"; +import { ClusterOptions } from "./ClusterOptions"; +import { NodeKey, NodeRole } from "./util"; +export declare type ClusterNode = string | number | { + host?: string | undefined; + port?: number | undefined; +}; +declare type ClusterStatus = "end" | "close" | "wait" | "connecting" | "connect" | "ready" | "reconnecting" | "disconnecting"; +/** + * Client for the official Redis Cluster + */ +declare class Cluster extends Commander { + options: ClusterOptions; + slots: NodeKey[][]; + status: ClusterStatus; + /** + * @ignore + */ + _groupsIds: { + [key: string]: number; + }; + /** + * @ignore + */ + _groupsBySlot: number[]; + /** + * @ignore + */ + isCluster: boolean; + private startupNodes; + private connectionPool; + private manuallyClosing; + private retryAttempts; + private delayQueue; + private offlineQueue; + private subscriber; + private shardedSubscribers; + private slotsTimer; + private reconnectTimeout; + private isRefreshing; + private _refreshSlotsCacheCallbacks; + private _autoPipelines; + private _runningAutoPipelines; + private _readyDelayedCallbacks; + private subscriberGroupEmitter; + /** + * Every time Cluster#connect() is called, this value will be + * auto-incrementing. The purpose of this value is used for + * discarding previous connect attampts when creating a new + * connection. + */ + private connectionEpoch; + /** + * Creates an instance of Cluster. + */ + constructor(startupNodes: ClusterNode[], options?: ClusterOptions); + /** + * Connect to a cluster + */ + connect(): Promise; + /** + * Disconnect from every node in the cluster. + */ + disconnect(reconnect?: boolean): void; + /** + * Quit the cluster gracefully. + */ + quit(callback?: Callback<"OK">): Promise<"OK">; + /** + * Create a new instance with the same startup nodes and options as the current one. + * + * @example + * ```js + * var cluster = new Redis.Cluster([{ host: "127.0.0.1", port: "30001" }]); + * var anotherCluster = cluster.duplicate(); + * ``` + */ + duplicate(overrideStartupNodes?: any[], overrideOptions?: {}): Cluster; + /** + * Get nodes with the specified role + */ + nodes(role?: NodeRole): Redis[]; + /** + * This is needed in order not to install a listener for each auto pipeline + * + * @ignore + */ + delayUntilReady(callback: Callback): void; + /** + * Get the number of commands queued in automatic pipelines. + * + * This is not available (and returns 0) until the cluster is connected and slots information have been received. + */ + get autoPipelineQueueSize(): number; + /** + * Refresh the slot cache + * + * @ignore + */ + refreshSlotsCache(callback?: Callback): void; + /** + * @ignore + */ + sendCommand(command: Command, stream?: WriteableStream, node?: any): unknown; + sscanStream(key: string, options?: ScanStreamOptions): ScanStream; + sscanBufferStream(key: string, options?: ScanStreamOptions): ScanStream; + hscanStream(key: string, options?: ScanStreamOptions): ScanStream; + hscanBufferStream(key: string, options?: ScanStreamOptions): ScanStream; + zscanStream(key: string, options?: ScanStreamOptions): ScanStream; + zscanBufferStream(key: string, options?: ScanStreamOptions): ScanStream; + /** + * @ignore + */ + handleError(error: Error, ttl: { + value?: any; + }, handlers: any): void; + private resetOfflineQueue; + private clearNodesRefreshInterval; + private resetNodesRefreshInterval; + /** + * Change cluster instance's status + */ + private setStatus; + /** + * Called when closed to check whether a reconnection should be made + */ + private handleCloseEvent; + /** + * Flush offline queue with error. + */ + private flushQueue; + private executeOfflineCommands; + private natMapper; + private getInfoFromNode; + private invokeReadyDelayedCallbacks; + /** + * Check whether Cluster is able to process commands + */ + private readyCheck; + private resolveSrv; + private dnsLookup; + /** + * Normalize startup nodes, and resolving hostnames to IPs. + * + * This process happens every time when #connect() is called since + * #startupNodes and DNS records may chanage. + */ + private resolveStartupNodeHostnames; + private createScanStream; + private createShardedSubscriberGroup; +} +interface Cluster extends EventEmitter { +} +interface Cluster extends Transaction { +} +export default Cluster; diff --git a/node_modules/ioredis/built/cluster/index.js b/node_modules/ioredis/built/cluster/index.js new file mode 100644 index 0000000..1c8d57b --- /dev/null +++ b/node_modules/ioredis/built/cluster/index.js @@ -0,0 +1,937 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const commands_1 = require("@ioredis/commands"); +const events_1 = require("events"); +const redis_errors_1 = require("redis-errors"); +const standard_as_callback_1 = require("standard-as-callback"); +const Command_1 = require("../Command"); +const ClusterAllFailedError_1 = require("../errors/ClusterAllFailedError"); +const Redis_1 = require("../Redis"); +const ScanStream_1 = require("../ScanStream"); +const transaction_1 = require("../transaction"); +const utils_1 = require("../utils"); +const applyMixin_1 = require("../utils/applyMixin"); +const Commander_1 = require("../utils/Commander"); +const ClusterOptions_1 = require("./ClusterOptions"); +const ClusterSubscriber_1 = require("./ClusterSubscriber"); +const ConnectionPool_1 = require("./ConnectionPool"); +const DelayQueue_1 = require("./DelayQueue"); +const util_1 = require("./util"); +const Deque = require("denque"); +const ClusterSubscriberGroup_1 = require("./ClusterSubscriberGroup"); +const debug = (0, utils_1.Debug)("cluster"); +const REJECT_OVERWRITTEN_COMMANDS = new WeakSet(); +/** + * Client for the official Redis Cluster + */ +class Cluster extends Commander_1.default { + /** + * Creates an instance of Cluster. + */ + //TODO: Add an option that enables or disables sharded PubSub + constructor(startupNodes, options = {}) { + super(); + this.slots = []; + /** + * @ignore + */ + this._groupsIds = {}; + /** + * @ignore + */ + this._groupsBySlot = Array(16384); + /** + * @ignore + */ + this.isCluster = true; + this.retryAttempts = 0; + this.delayQueue = new DelayQueue_1.default(); + this.offlineQueue = new Deque(); + this.isRefreshing = false; + this._refreshSlotsCacheCallbacks = []; + this._autoPipelines = new Map(); + this._runningAutoPipelines = new Set(); + this._readyDelayedCallbacks = []; + /** + * Every time Cluster#connect() is called, this value will be + * auto-incrementing. The purpose of this value is used for + * discarding previous connect attampts when creating a new + * connection. + */ + this.connectionEpoch = 0; + events_1.EventEmitter.call(this); + this.startupNodes = startupNodes; + this.options = (0, utils_1.defaults)({}, options, ClusterOptions_1.DEFAULT_CLUSTER_OPTIONS, this.options); + if (this.options.shardedSubscribers) { + this.createShardedSubscriberGroup(); + } + if (this.options.redisOptions && + this.options.redisOptions.keyPrefix && + !this.options.keyPrefix) { + this.options.keyPrefix = this.options.redisOptions.keyPrefix; + } + // validate options + if (typeof this.options.scaleReads !== "function" && + ["all", "master", "slave"].indexOf(this.options.scaleReads) === -1) { + throw new Error('Invalid option scaleReads "' + + this.options.scaleReads + + '". Expected "all", "master", "slave" or a custom function'); + } + this.connectionPool = new ConnectionPool_1.default(this.options.redisOptions); + this.connectionPool.on("-node", (redis, key) => { + this.emit("-node", redis); + }); + this.connectionPool.on("+node", (redis) => { + this.emit("+node", redis); + }); + this.connectionPool.on("drain", () => { + this.setStatus("close"); + }); + this.connectionPool.on("nodeError", (error, key) => { + this.emit("node error", error, key); + }); + this.subscriber = new ClusterSubscriber_1.default(this.connectionPool, this); + if (this.options.scripts) { + Object.entries(this.options.scripts).forEach(([name, definition]) => { + this.defineCommand(name, definition); + }); + } + if (this.options.lazyConnect) { + this.setStatus("wait"); + } + else { + this.connect().catch((err) => { + debug("connecting failed: %s", err); + }); + } + } + /** + * Connect to a cluster + */ + connect() { + return new Promise((resolve, reject) => { + if (this.status === "connecting" || + this.status === "connect" || + this.status === "ready") { + reject(new Error("Redis is already connecting/connected")); + return; + } + const epoch = ++this.connectionEpoch; + this.setStatus("connecting"); + this.resolveStartupNodeHostnames() + .then((nodes) => { + if (this.connectionEpoch !== epoch) { + debug("discard connecting after resolving startup nodes because epoch not match: %d != %d", epoch, this.connectionEpoch); + reject(new redis_errors_1.RedisError("Connection is discarded because a new connection is made")); + return; + } + if (this.status !== "connecting") { + debug("discard connecting after resolving startup nodes because the status changed to %s", this.status); + reject(new redis_errors_1.RedisError("Connection is aborted")); + return; + } + this.connectionPool.reset(nodes); + if (this.options.shardedSubscribers) { + this.shardedSubscribers + .reset(this.slots, this.connectionPool.getNodes("all")) + .catch((err) => { + // TODO should we emit an error event here? + debug("Error while starting subscribers: %s", err); + }); + } + const readyHandler = () => { + this.setStatus("ready"); + this.retryAttempts = 0; + this.executeOfflineCommands(); + this.resetNodesRefreshInterval(); + resolve(); + }; + let closeListener = undefined; + const refreshListener = () => { + this.invokeReadyDelayedCallbacks(undefined); + this.removeListener("close", closeListener); + this.manuallyClosing = false; + this.setStatus("connect"); + if (this.options.enableReadyCheck) { + this.readyCheck((err, fail) => { + if (err || fail) { + debug("Ready check failed (%s). Reconnecting...", err || fail); + if (this.status === "connect") { + this.disconnect(true); + } + } + else { + readyHandler(); + } + }); + } + else { + readyHandler(); + } + }; + closeListener = () => { + const error = new Error("None of startup nodes is available"); + this.removeListener("refresh", refreshListener); + this.invokeReadyDelayedCallbacks(error); + reject(error); + }; + this.once("refresh", refreshListener); + this.once("close", closeListener); + this.once("close", this.handleCloseEvent.bind(this)); + this.refreshSlotsCache((err) => { + if (err && err.message === ClusterAllFailedError_1.default.defaultMessage) { + Redis_1.default.prototype.silentEmit.call(this, "error", err); + this.connectionPool.reset([]); + } + }); + this.subscriber.start(); + if (this.options.shardedSubscribers) { + this.shardedSubscribers.start().catch((err) => { + // TODO should we emit an error event here? + debug("Error while starting subscribers: %s", err); + }); + } + }) + .catch((err) => { + this.setStatus("close"); + this.handleCloseEvent(err); + this.invokeReadyDelayedCallbacks(err); + reject(err); + }); + }); + } + /** + * Disconnect from every node in the cluster. + */ + disconnect(reconnect = false) { + const status = this.status; + this.setStatus("disconnecting"); + if (!reconnect) { + this.manuallyClosing = true; + } + if (this.reconnectTimeout && !reconnect) { + clearTimeout(this.reconnectTimeout); + this.reconnectTimeout = null; + debug("Canceled reconnecting attempts"); + } + this.clearNodesRefreshInterval(); + this.subscriber.stop(); + if (this.options.shardedSubscribers) { + this.shardedSubscribers.stop(); + } + if (status === "wait") { + this.setStatus("close"); + this.handleCloseEvent(); + } + else { + this.connectionPool.reset([]); + } + } + /** + * Quit the cluster gracefully. + */ + quit(callback) { + const status = this.status; + this.setStatus("disconnecting"); + this.manuallyClosing = true; + if (this.reconnectTimeout) { + clearTimeout(this.reconnectTimeout); + this.reconnectTimeout = null; + } + this.clearNodesRefreshInterval(); + this.subscriber.stop(); + if (this.options.shardedSubscribers) { + this.shardedSubscribers.stop(); + } + if (status === "wait") { + const ret = (0, standard_as_callback_1.default)(Promise.resolve("OK"), callback); + // use setImmediate to make sure "close" event + // being emitted after quit() is returned + setImmediate(function () { + this.setStatus("close"); + this.handleCloseEvent(); + }.bind(this)); + return ret; + } + return (0, standard_as_callback_1.default)(Promise.all(this.nodes().map((node) => node.quit().catch((err) => { + // Ignore the error caused by disconnecting since + // we're disconnecting... + if (err.message === utils_1.CONNECTION_CLOSED_ERROR_MSG) { + return "OK"; + } + throw err; + }))).then(() => "OK"), callback); + } + /** + * Create a new instance with the same startup nodes and options as the current one. + * + * @example + * ```js + * var cluster = new Redis.Cluster([{ host: "127.0.0.1", port: "30001" }]); + * var anotherCluster = cluster.duplicate(); + * ``` + */ + duplicate(overrideStartupNodes = [], overrideOptions = {}) { + const startupNodes = overrideStartupNodes.length > 0 + ? overrideStartupNodes + : this.startupNodes.slice(0); + const options = Object.assign({}, this.options, overrideOptions); + return new Cluster(startupNodes, options); + } + /** + * Get nodes with the specified role + */ + nodes(role = "all") { + if (role !== "all" && role !== "master" && role !== "slave") { + throw new Error('Invalid role "' + role + '". Expected "all", "master" or "slave"'); + } + return this.connectionPool.getNodes(role); + } + /** + * This is needed in order not to install a listener for each auto pipeline + * + * @ignore + */ + delayUntilReady(callback) { + this._readyDelayedCallbacks.push(callback); + } + /** + * Get the number of commands queued in automatic pipelines. + * + * This is not available (and returns 0) until the cluster is connected and slots information have been received. + */ + get autoPipelineQueueSize() { + let queued = 0; + for (const pipeline of this._autoPipelines.values()) { + queued += pipeline.length; + } + return queued; + } + /** + * Refresh the slot cache + * + * @ignore + */ + refreshSlotsCache(callback) { + if (callback) { + this._refreshSlotsCacheCallbacks.push(callback); + } + if (this.isRefreshing) { + return; + } + this.isRefreshing = true; + const _this = this; + const wrapper = (error) => { + this.isRefreshing = false; + for (const callback of this._refreshSlotsCacheCallbacks) { + callback(error); + } + this._refreshSlotsCacheCallbacks = []; + }; + const nodes = (0, utils_1.shuffle)(this.connectionPool.getNodes()); + let lastNodeError = null; + function tryNode(index) { + if (index === nodes.length) { + const error = new ClusterAllFailedError_1.default(ClusterAllFailedError_1.default.defaultMessage, lastNodeError); + return wrapper(error); + } + const node = nodes[index]; + const key = `${node.options.host}:${node.options.port}`; + debug("getting slot cache from %s", key); + _this.getInfoFromNode(node, function (err) { + switch (_this.status) { + case "close": + case "end": + return wrapper(new Error("Cluster is disconnected.")); + case "disconnecting": + return wrapper(new Error("Cluster is disconnecting.")); + } + if (err) { + _this.emit("node error", err, key); + lastNodeError = err; + tryNode(index + 1); + } + else { + _this.emit("refresh"); + wrapper(); + } + }); + } + tryNode(0); + } + /** + * @ignore + */ + sendCommand(command, stream, node) { + if (this.status === "wait") { + this.connect().catch(utils_1.noop); + } + if (this.status === "end") { + command.reject(new Error(utils_1.CONNECTION_CLOSED_ERROR_MSG)); + return command.promise; + } + let to = this.options.scaleReads; + if (to !== "master") { + const isCommandReadOnly = command.isReadOnly || + ((0, commands_1.exists)(command.name) && (0, commands_1.hasFlag)(command.name, "readonly")); + if (!isCommandReadOnly) { + to = "master"; + } + } + let targetSlot = node ? node.slot : command.getSlot(); + const ttl = {}; + const _this = this; + if (!node && !REJECT_OVERWRITTEN_COMMANDS.has(command)) { + REJECT_OVERWRITTEN_COMMANDS.add(command); + const reject = command.reject; + command.reject = function (err) { + const partialTry = tryConnection.bind(null, true); + _this.handleError(err, ttl, { + moved: function (slot, key) { + debug("command %s is moved to %s", command.name, key); + targetSlot = Number(slot); + if (_this.slots[slot]) { + _this.slots[slot][0] = key; + } + else { + _this.slots[slot] = [key]; + } + _this._groupsBySlot[slot] = + _this._groupsIds[_this.slots[slot].join(";")]; + _this.connectionPool.findOrCreate(_this.natMapper(key)); + tryConnection(); + debug("refreshing slot caches... (triggered by MOVED error)"); + _this.refreshSlotsCache(); + }, + ask: function (slot, key) { + debug("command %s is required to ask %s:%s", command.name, key); + const mapped = _this.natMapper(key); + _this.connectionPool.findOrCreate(mapped); + tryConnection(false, `${mapped.host}:${mapped.port}`); + }, + tryagain: partialTry, + clusterDown: partialTry, + connectionClosed: partialTry, + maxRedirections: function (redirectionError) { + reject.call(command, redirectionError); + }, + defaults: function () { + reject.call(command, err); + }, + }); + }; + } + tryConnection(); + function tryConnection(random, asking) { + if (_this.status === "end") { + command.reject(new redis_errors_1.AbortError("Cluster is ended.")); + return; + } + let redis; + if (_this.status === "ready" || command.name === "cluster") { + if (node && node.redis) { + redis = node.redis; + } + else if (Command_1.default.checkFlag("ENTER_SUBSCRIBER_MODE", command.name) || + Command_1.default.checkFlag("EXIT_SUBSCRIBER_MODE", command.name)) { + if (_this.options.shardedSubscribers && + (command.name == "ssubscribe" || command.name == "sunsubscribe")) { + const sub = _this.shardedSubscribers.getResponsibleSubscriber(targetSlot); + if (!sub) { + command.reject(new redis_errors_1.AbortError(`No sharded subscriber for slot: ${targetSlot}`)); + return; + } + let status = -1; + if (command.name == "ssubscribe") { + status = _this.shardedSubscribers.addChannels(command.getKeys()); + } + if (command.name == "sunsubscribe") { + status = _this.shardedSubscribers.removeChannels(command.getKeys()); + } + if (status !== -1) { + redis = sub.getInstance(); + } + else { + command.reject(new redis_errors_1.AbortError("Possible CROSSSLOT error: All channels must hash to the same slot")); + } + } + else { + redis = _this.subscriber.getInstance(); + } + if (!redis) { + command.reject(new redis_errors_1.AbortError("No subscriber for the cluster")); + return; + } + } + else { + if (!random) { + if (typeof targetSlot === "number" && _this.slots[targetSlot]) { + const nodeKeys = _this.slots[targetSlot]; + if (typeof to === "function") { + const nodes = nodeKeys.map(function (key) { + return _this.connectionPool.getInstanceByKey(key); + }); + redis = to(nodes, command); + if (Array.isArray(redis)) { + redis = (0, utils_1.sample)(redis); + } + if (!redis) { + redis = nodes[0]; + } + } + else { + let key; + if (to === "all") { + key = (0, utils_1.sample)(nodeKeys); + } + else if (to === "slave" && nodeKeys.length > 1) { + key = (0, utils_1.sample)(nodeKeys, 1); + } + else { + key = nodeKeys[0]; + } + redis = _this.connectionPool.getInstanceByKey(key); + } + } + if (asking) { + redis = _this.connectionPool.getInstanceByKey(asking); + redis.asking(); + } + } + if (!redis) { + redis = + (typeof to === "function" + ? null + : _this.connectionPool.getSampleInstance(to)) || + _this.connectionPool.getSampleInstance("all"); + } + } + if (node && !node.redis) { + node.redis = redis; + } + } + if (redis) { + redis.sendCommand(command, stream); + } + else if (_this.options.enableOfflineQueue) { + _this.offlineQueue.push({ + command: command, + stream: stream, + node: node, + }); + } + else { + command.reject(new Error("Cluster isn't ready and enableOfflineQueue options is false")); + } + } + return command.promise; + } + sscanStream(key, options) { + return this.createScanStream("sscan", { key, options }); + } + sscanBufferStream(key, options) { + return this.createScanStream("sscanBuffer", { key, options }); + } + hscanStream(key, options) { + return this.createScanStream("hscan", { key, options }); + } + hscanBufferStream(key, options) { + return this.createScanStream("hscanBuffer", { key, options }); + } + zscanStream(key, options) { + return this.createScanStream("zscan", { key, options }); + } + zscanBufferStream(key, options) { + return this.createScanStream("zscanBuffer", { key, options }); + } + /** + * @ignore + */ + handleError(error, ttl, handlers) { + if (typeof ttl.value === "undefined") { + ttl.value = this.options.maxRedirections; + } + else { + ttl.value -= 1; + } + if (ttl.value <= 0) { + handlers.maxRedirections(new Error("Too many Cluster redirections. Last error: " + error)); + return; + } + const errv = error.message.split(" "); + if (errv[0] === "MOVED") { + const timeout = this.options.retryDelayOnMoved; + if (timeout && typeof timeout === "number") { + this.delayQueue.push("moved", handlers.moved.bind(null, errv[1], errv[2]), { timeout }); + } + else { + handlers.moved(errv[1], errv[2]); + } + } + else if (errv[0] === "ASK") { + handlers.ask(errv[1], errv[2]); + } + else if (errv[0] === "TRYAGAIN") { + this.delayQueue.push("tryagain", handlers.tryagain, { + timeout: this.options.retryDelayOnTryAgain, + }); + } + else if (errv[0] === "CLUSTERDOWN" && + this.options.retryDelayOnClusterDown > 0) { + this.delayQueue.push("clusterdown", handlers.connectionClosed, { + timeout: this.options.retryDelayOnClusterDown, + callback: this.refreshSlotsCache.bind(this), + }); + } + else if (error.message === utils_1.CONNECTION_CLOSED_ERROR_MSG && + this.options.retryDelayOnFailover > 0 && + this.status === "ready") { + this.delayQueue.push("failover", handlers.connectionClosed, { + timeout: this.options.retryDelayOnFailover, + callback: this.refreshSlotsCache.bind(this), + }); + } + else { + handlers.defaults(); + } + } + resetOfflineQueue() { + this.offlineQueue = new Deque(); + } + clearNodesRefreshInterval() { + if (this.slotsTimer) { + clearTimeout(this.slotsTimer); + this.slotsTimer = null; + } + } + resetNodesRefreshInterval() { + if (this.slotsTimer || !this.options.slotsRefreshInterval) { + return; + } + const nextRound = () => { + this.slotsTimer = setTimeout(() => { + debug('refreshing slot caches... (triggered by "slotsRefreshInterval" option)'); + this.refreshSlotsCache(() => { + nextRound(); + }); + }, this.options.slotsRefreshInterval); + }; + nextRound(); + } + /** + * Change cluster instance's status + */ + setStatus(status) { + debug("status: %s -> %s", this.status || "[empty]", status); + this.status = status; + process.nextTick(() => { + this.emit(status); + }); + } + /** + * Called when closed to check whether a reconnection should be made + */ + handleCloseEvent(reason) { + var _a; + if (reason) { + debug("closed because %s", reason); + } + let retryDelay; + if (!this.manuallyClosing && + typeof this.options.clusterRetryStrategy === "function") { + retryDelay = this.options.clusterRetryStrategy.call(this, ++this.retryAttempts, reason); + } + if (typeof retryDelay === "number") { + this.setStatus("reconnecting"); + this.reconnectTimeout = setTimeout(() => { + this.reconnectTimeout = null; + debug("Cluster is disconnected. Retrying after %dms", retryDelay); + this.connect().catch(function (err) { + debug("Got error %s when reconnecting. Ignoring...", err); + }); + }, retryDelay); + } + else { + if (this.options.shardedSubscribers) { + (_a = this.subscriberGroupEmitter) === null || _a === void 0 ? void 0 : _a.removeAllListeners(); + } + this.setStatus("end"); + this.flushQueue(new Error("None of startup nodes is available")); + } + } + /** + * Flush offline queue with error. + */ + flushQueue(error) { + let item; + while ((item = this.offlineQueue.shift())) { + item.command.reject(error); + } + } + executeOfflineCommands() { + if (this.offlineQueue.length) { + debug("send %d commands in offline queue", this.offlineQueue.length); + const offlineQueue = this.offlineQueue; + this.resetOfflineQueue(); + let item; + while ((item = offlineQueue.shift())) { + this.sendCommand(item.command, item.stream, item.node); + } + } + } + natMapper(nodeKey) { + const key = typeof nodeKey === "string" + ? nodeKey + : `${nodeKey.host}:${nodeKey.port}`; + let mapped = null; + if (this.options.natMap && typeof this.options.natMap === "function") { + mapped = this.options.natMap(key); + } + else if (this.options.natMap && typeof this.options.natMap === "object") { + mapped = this.options.natMap[key]; + } + if (mapped) { + debug("NAT mapping %s -> %O", key, mapped); + return Object.assign({}, mapped); + } + return typeof nodeKey === "string" + ? (0, util_1.nodeKeyToRedisOptions)(nodeKey) + : nodeKey; + } + getInfoFromNode(redis, callback) { + if (!redis) { + return callback(new Error("Node is disconnected")); + } + // Use a duplication of the connection to avoid + // timeouts when the connection is in the blocking + // mode (e.g. waiting for BLPOP). + const duplicatedConnection = redis.duplicate({ + enableOfflineQueue: true, + enableReadyCheck: false, + retryStrategy: null, + connectionName: (0, util_1.getConnectionName)("refresher", this.options.redisOptions && this.options.redisOptions.connectionName), + }); + // Ignore error events since we will handle + // exceptions for the CLUSTER SLOTS command. + duplicatedConnection.on("error", utils_1.noop); + duplicatedConnection.cluster("SLOTS", (0, utils_1.timeout)((err, result) => { + duplicatedConnection.disconnect(); + if (err) { + debug("error encountered running CLUSTER.SLOTS: %s", err); + return callback(err); + } + if (this.status === "disconnecting" || + this.status === "close" || + this.status === "end") { + debug("ignore CLUSTER.SLOTS results (count: %d) since cluster status is %s", result.length, this.status); + callback(); + return; + } + const nodes = []; + debug("cluster slots result count: %d", result.length); + for (let i = 0; i < result.length; ++i) { + const items = result[i]; + const slotRangeStart = items[0]; + const slotRangeEnd = items[1]; + const keys = []; + for (let j = 2; j < items.length; j++) { + if (!items[j][0]) { + continue; + } + const node = this.natMapper({ + host: items[j][0], + port: items[j][1], + }); + node.readOnly = j !== 2; + nodes.push(node); + keys.push(node.host + ":" + node.port); + } + debug("cluster slots result [%d]: slots %d~%d served by %s", i, slotRangeStart, slotRangeEnd, keys); + for (let slot = slotRangeStart; slot <= slotRangeEnd; slot++) { + this.slots[slot] = keys; + } + } + // Assign to each node keys a numeric value to make autopipeline comparison faster. + this._groupsIds = Object.create(null); + let j = 0; + for (let i = 0; i < 16384; i++) { + const target = (this.slots[i] || []).join(";"); + if (!target.length) { + this._groupsBySlot[i] = undefined; + continue; + } + if (!this._groupsIds[target]) { + this._groupsIds[target] = ++j; + } + this._groupsBySlot[i] = this._groupsIds[target]; + } + this.connectionPool.reset(nodes); + if (this.options.shardedSubscribers) { + this.shardedSubscribers + .reset(this.slots, this.connectionPool.getNodes("all")) + .catch((err) => { + // TODO should we emit an error event here? + debug("Error while starting subscribers: %s", err); + }); + } + callback(); + }, this.options.slotsRefreshTimeout)); + } + invokeReadyDelayedCallbacks(err) { + for (const c of this._readyDelayedCallbacks) { + process.nextTick(c, err); + } + this._readyDelayedCallbacks = []; + } + /** + * Check whether Cluster is able to process commands + */ + readyCheck(callback) { + this.cluster("INFO", (err, res) => { + if (err) { + return callback(err); + } + if (typeof res !== "string") { + return callback(); + } + let state; + const lines = res.split("\r\n"); + for (let i = 0; i < lines.length; ++i) { + const parts = lines[i].split(":"); + if (parts[0] === "cluster_state") { + state = parts[1]; + break; + } + } + if (state === "fail") { + debug("cluster state not ok (%s)", state); + callback(null, state); + } + else { + callback(); + } + }); + } + resolveSrv(hostname) { + return new Promise((resolve, reject) => { + this.options.resolveSrv(hostname, (err, records) => { + if (err) { + return reject(err); + } + const self = this, groupedRecords = (0, util_1.groupSrvRecords)(records), sortedKeys = Object.keys(groupedRecords).sort((a, b) => parseInt(a) - parseInt(b)); + function tryFirstOne(err) { + if (!sortedKeys.length) { + return reject(err); + } + const key = sortedKeys[0], group = groupedRecords[key], record = (0, util_1.weightSrvRecords)(group); + if (!group.records.length) { + sortedKeys.shift(); + } + self.dnsLookup(record.name).then((host) => resolve({ + host, + port: record.port, + }), tryFirstOne); + } + tryFirstOne(); + }); + }); + } + dnsLookup(hostname) { + return new Promise((resolve, reject) => { + this.options.dnsLookup(hostname, (err, address) => { + if (err) { + debug("failed to resolve hostname %s to IP: %s", hostname, err.message); + reject(err); + } + else { + debug("resolved hostname %s to IP %s", hostname, address); + resolve(address); + } + }); + }); + } + /** + * Normalize startup nodes, and resolving hostnames to IPs. + * + * This process happens every time when #connect() is called since + * #startupNodes and DNS records may chanage. + */ + async resolveStartupNodeHostnames() { + if (!Array.isArray(this.startupNodes) || this.startupNodes.length === 0) { + throw new Error("`startupNodes` should contain at least one node."); + } + const startupNodes = (0, util_1.normalizeNodeOptions)(this.startupNodes); + const hostnames = (0, util_1.getUniqueHostnamesFromOptions)(startupNodes); + if (hostnames.length === 0) { + return startupNodes; + } + const configs = await Promise.all(hostnames.map((this.options.useSRVRecords ? this.resolveSrv : this.dnsLookup).bind(this))); + const hostnameToConfig = (0, utils_1.zipMap)(hostnames, configs); + return startupNodes.map((node) => { + const config = hostnameToConfig.get(node.host); + if (!config) { + return node; + } + if (this.options.useSRVRecords) { + return Object.assign({}, node, config); + } + return Object.assign({}, node, { host: config }); + }); + } + createScanStream(command, { key, options = {} }) { + return new ScanStream_1.default({ + objectMode: true, + key: key, + redis: this, + command: command, + ...options, + }); + } + createShardedSubscriberGroup() { + this.subscriberGroupEmitter = new events_1.EventEmitter(); + this.shardedSubscribers = new ClusterSubscriberGroup_1.default(this.subscriberGroupEmitter, this.options); + // Error handler used only for sharded-subscriber-triggered slots cache refreshes. + // Normal (non-subscriber) connections are created with lazyConnect: true and can + // become zombied. For sharded subscribers, a ClusterAllFailedError means + // we have lost all nodes from the subscriber perspective and must tear down. + const refreshSlotsCacheCallback = (err) => { + // Disconnect only when refreshing the slots cache fails with ClusterAllFailedError + if (err instanceof ClusterAllFailedError_1.default) { + this.disconnect(true); + } + }; + this.subscriberGroupEmitter.on("-node", (redis, nodeKey) => { + this.emit("-node", redis, nodeKey); + this.refreshSlotsCache(refreshSlotsCacheCallback); + }); + this.subscriberGroupEmitter.on("subscriberConnectFailed", ({ delay, error }) => { + this.emit("error", error); + setTimeout(() => { + this.refreshSlotsCache(refreshSlotsCacheCallback); + }, delay); + }); + this.subscriberGroupEmitter.on("moved", () => { + this.refreshSlotsCache(refreshSlotsCacheCallback); + }); + this.subscriberGroupEmitter.on("-subscriber", () => { + this.emit("-subscriber"); + }); + this.subscriberGroupEmitter.on("+subscriber", () => { + this.emit("+subscriber"); + }); + this.subscriberGroupEmitter.on("nodeError", (error, nodeKey) => { + this.emit("nodeError", error, nodeKey); + }); + this.subscriberGroupEmitter.on("subscribersReady", () => { + this.emit("subscribersReady"); + }); + for (const event of ["smessage", "smessageBuffer"]) { + this.subscriberGroupEmitter.on(event, (arg1, arg2, arg3) => { + this.emit(event, arg1, arg2, arg3); + }); + } + } +} +(0, applyMixin_1.default)(Cluster, events_1.EventEmitter); +(0, transaction_1.addTransactionSupport)(Cluster.prototype); +exports.default = Cluster; diff --git a/node_modules/ioredis/built/cluster/util.d.ts b/node_modules/ioredis/built/cluster/util.d.ts new file mode 100644 index 0000000..d8629c3 --- /dev/null +++ b/node_modules/ioredis/built/cluster/util.d.ts @@ -0,0 +1,25 @@ +/// +import { SrvRecord } from "dns"; +export declare type NodeKey = string; +export declare type NodeRole = "master" | "slave" | "all"; +export interface RedisOptions { + port: number; + host: string; + username?: string | undefined; + password?: string | undefined; + [key: string]: any; +} +export interface SrvRecordsGroup { + totalWeight: number; + records: SrvRecord[]; +} +export interface GroupedSrvRecords { + [key: number]: SrvRecordsGroup; +} +export declare function getNodeKey(node: RedisOptions): NodeKey; +export declare function nodeKeyToRedisOptions(nodeKey: NodeKey): RedisOptions; +export declare function normalizeNodeOptions(nodes: Array): RedisOptions[]; +export declare function getUniqueHostnamesFromOptions(nodes: RedisOptions[]): string[]; +export declare function groupSrvRecords(records: SrvRecord[]): GroupedSrvRecords; +export declare function weightSrvRecords(recordsGroup: SrvRecordsGroup): SrvRecord; +export declare function getConnectionName(component: any, nodeConnectionName: any): string; diff --git a/node_modules/ioredis/built/cluster/util.js b/node_modules/ioredis/built/cluster/util.js new file mode 100644 index 0000000..e3a779b --- /dev/null +++ b/node_modules/ioredis/built/cluster/util.js @@ -0,0 +1,100 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getConnectionName = exports.weightSrvRecords = exports.groupSrvRecords = exports.getUniqueHostnamesFromOptions = exports.normalizeNodeOptions = exports.nodeKeyToRedisOptions = exports.getNodeKey = void 0; +const utils_1 = require("../utils"); +const net_1 = require("net"); +function getNodeKey(node) { + node.port = node.port || 6379; + node.host = node.host || "127.0.0.1"; + return node.host + ":" + node.port; +} +exports.getNodeKey = getNodeKey; +function nodeKeyToRedisOptions(nodeKey) { + const portIndex = nodeKey.lastIndexOf(":"); + if (portIndex === -1) { + throw new Error(`Invalid node key ${nodeKey}`); + } + return { + host: nodeKey.slice(0, portIndex), + port: Number(nodeKey.slice(portIndex + 1)), + }; +} +exports.nodeKeyToRedisOptions = nodeKeyToRedisOptions; +function normalizeNodeOptions(nodes) { + return nodes.map((node) => { + const options = {}; + if (typeof node === "object") { + Object.assign(options, node); + } + else if (typeof node === "string") { + Object.assign(options, (0, utils_1.parseURL)(node)); + } + else if (typeof node === "number") { + options.port = node; + } + else { + throw new Error("Invalid argument " + node); + } + if (typeof options.port === "string") { + options.port = parseInt(options.port, 10); + } + // Cluster mode only support db 0 + delete options.db; + if (!options.port) { + options.port = 6379; + } + if (!options.host) { + options.host = "127.0.0.1"; + } + return (0, utils_1.resolveTLSProfile)(options); + }); +} +exports.normalizeNodeOptions = normalizeNodeOptions; +function getUniqueHostnamesFromOptions(nodes) { + const uniqueHostsMap = {}; + nodes.forEach((node) => { + uniqueHostsMap[node.host] = true; + }); + return Object.keys(uniqueHostsMap).filter((host) => !(0, net_1.isIP)(host)); +} +exports.getUniqueHostnamesFromOptions = getUniqueHostnamesFromOptions; +function groupSrvRecords(records) { + const recordsByPriority = {}; + for (const record of records) { + if (!recordsByPriority.hasOwnProperty(record.priority)) { + recordsByPriority[record.priority] = { + totalWeight: record.weight, + records: [record], + }; + } + else { + recordsByPriority[record.priority].totalWeight += record.weight; + recordsByPriority[record.priority].records.push(record); + } + } + return recordsByPriority; +} +exports.groupSrvRecords = groupSrvRecords; +function weightSrvRecords(recordsGroup) { + if (recordsGroup.records.length === 1) { + recordsGroup.totalWeight = 0; + return recordsGroup.records.shift(); + } + // + `recordsGroup.records.length` to support `weight` 0 + const random = Math.floor(Math.random() * (recordsGroup.totalWeight + recordsGroup.records.length)); + let total = 0; + for (const [i, record] of recordsGroup.records.entries()) { + total += 1 + record.weight; + if (total > random) { + recordsGroup.totalWeight -= record.weight; + recordsGroup.records.splice(i, 1); + return record; + } + } +} +exports.weightSrvRecords = weightSrvRecords; +function getConnectionName(component, nodeConnectionName) { + const prefix = `ioredis-cluster(${component})`; + return nodeConnectionName ? `${prefix}:${nodeConnectionName}` : prefix; +} +exports.getConnectionName = getConnectionName; diff --git a/node_modules/ioredis/built/connectors/AbstractConnector.d.ts b/node_modules/ioredis/built/connectors/AbstractConnector.d.ts new file mode 100644 index 0000000..14bdbaa --- /dev/null +++ b/node_modules/ioredis/built/connectors/AbstractConnector.d.ts @@ -0,0 +1,12 @@ +import { NetStream } from "../types"; +export declare type ErrorEmitter = (type: string, err: Error) => void; +export default abstract class AbstractConnector { + firstError?: Error; + protected connecting: boolean; + protected stream: NetStream; + private disconnectTimeout; + constructor(disconnectTimeout: number); + check(info: any): boolean; + disconnect(): void; + abstract connect(_: ErrorEmitter): Promise; +} diff --git a/node_modules/ioredis/built/connectors/AbstractConnector.js b/node_modules/ioredis/built/connectors/AbstractConnector.js new file mode 100644 index 0000000..2e2151d --- /dev/null +++ b/node_modules/ioredis/built/connectors/AbstractConnector.js @@ -0,0 +1,26 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const utils_1 = require("../utils"); +const debug = (0, utils_1.Debug)("AbstractConnector"); +class AbstractConnector { + constructor(disconnectTimeout) { + this.connecting = false; + this.disconnectTimeout = disconnectTimeout; + } + check(info) { + return true; + } + disconnect() { + this.connecting = false; + if (this.stream) { + const stream = this.stream; // Make sure callbacks refer to the same instance + const timeout = setTimeout(() => { + debug("stream %s:%s still open, destroying it", stream.remoteAddress, stream.remotePort); + stream.destroy(); + }, this.disconnectTimeout); + stream.on("close", () => clearTimeout(timeout)); + stream.end(); + } + } +} +exports.default = AbstractConnector; diff --git a/node_modules/ioredis/built/connectors/ConnectorConstructor.d.ts b/node_modules/ioredis/built/connectors/ConnectorConstructor.d.ts new file mode 100644 index 0000000..2f332ae --- /dev/null +++ b/node_modules/ioredis/built/connectors/ConnectorConstructor.d.ts @@ -0,0 +1,5 @@ +import AbstractConnector from "./AbstractConnector"; +interface ConnectorConstructor { + new (options: unknown): AbstractConnector; +} +export default ConnectorConstructor; diff --git a/node_modules/ioredis/built/connectors/ConnectorConstructor.js b/node_modules/ioredis/built/connectors/ConnectorConstructor.js new file mode 100644 index 0000000..c8ad2e5 --- /dev/null +++ b/node_modules/ioredis/built/connectors/ConnectorConstructor.js @@ -0,0 +1,2 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/node_modules/ioredis/built/connectors/SentinelConnector/FailoverDetector.d.ts b/node_modules/ioredis/built/connectors/SentinelConnector/FailoverDetector.d.ts new file mode 100644 index 0000000..abd44e5 --- /dev/null +++ b/node_modules/ioredis/built/connectors/SentinelConnector/FailoverDetector.d.ts @@ -0,0 +1,11 @@ +import SentinelConnector from "./index"; +import { Sentinel } from "./types"; +export declare class FailoverDetector { + private connector; + private sentinels; + private isDisconnected; + constructor(connector: SentinelConnector, sentinels: Sentinel[]); + cleanup(): void; + subscribe(): Promise; + private disconnect; +} diff --git a/node_modules/ioredis/built/connectors/SentinelConnector/FailoverDetector.js b/node_modules/ioredis/built/connectors/SentinelConnector/FailoverDetector.js new file mode 100644 index 0000000..8db28d0 --- /dev/null +++ b/node_modules/ioredis/built/connectors/SentinelConnector/FailoverDetector.js @@ -0,0 +1,45 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.FailoverDetector = void 0; +const utils_1 = require("../../utils"); +const debug = (0, utils_1.Debug)("FailoverDetector"); +const CHANNEL_NAME = "+switch-master"; +class FailoverDetector { + // sentinels can't be used for regular commands after this + constructor(connector, sentinels) { + this.isDisconnected = false; + this.connector = connector; + this.sentinels = sentinels; + } + cleanup() { + this.isDisconnected = true; + for (const sentinel of this.sentinels) { + sentinel.client.disconnect(); + } + } + async subscribe() { + debug("Starting FailoverDetector"); + const promises = []; + for (const sentinel of this.sentinels) { + const promise = sentinel.client.subscribe(CHANNEL_NAME).catch((err) => { + debug("Failed to subscribe to failover messages on sentinel %s:%s (%s)", sentinel.address.host || "127.0.0.1", sentinel.address.port || 26739, err.message); + }); + promises.push(promise); + sentinel.client.on("message", (channel) => { + if (!this.isDisconnected && channel === CHANNEL_NAME) { + this.disconnect(); + } + }); + } + await Promise.all(promises); + } + disconnect() { + // Avoid disconnecting more than once per failover. + // A new FailoverDetector will be created after reconnecting. + this.isDisconnected = true; + debug("Failover detected, disconnecting"); + // Will call this.cleanup() + this.connector.disconnect(); + } +} +exports.FailoverDetector = FailoverDetector; diff --git a/node_modules/ioredis/built/connectors/SentinelConnector/SentinelIterator.d.ts b/node_modules/ioredis/built/connectors/SentinelConnector/SentinelIterator.d.ts new file mode 100644 index 0000000..fbe5f34 --- /dev/null +++ b/node_modules/ioredis/built/connectors/SentinelConnector/SentinelIterator.d.ts @@ -0,0 +1,13 @@ +import { SentinelAddress } from "./types"; +export default class SentinelIterator implements Iterator> { + private cursor; + private sentinels; + constructor(sentinels: Array>); + next(): { + done: boolean; + value: Partial; + }; + reset(moveCurrentEndpointToFirst: boolean): void; + add(sentinel: SentinelAddress): boolean; + toString(): string; +} diff --git a/node_modules/ioredis/built/connectors/SentinelConnector/SentinelIterator.js b/node_modules/ioredis/built/connectors/SentinelConnector/SentinelIterator.js new file mode 100644 index 0000000..3399bae --- /dev/null +++ b/node_modules/ioredis/built/connectors/SentinelConnector/SentinelIterator.js @@ -0,0 +1,37 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +function isSentinelEql(a, b) { + return ((a.host || "127.0.0.1") === (b.host || "127.0.0.1") && + (a.port || 26379) === (b.port || 26379)); +} +class SentinelIterator { + constructor(sentinels) { + this.cursor = 0; + this.sentinels = sentinels.slice(0); + } + next() { + const done = this.cursor >= this.sentinels.length; + return { done, value: done ? undefined : this.sentinels[this.cursor++] }; + } + reset(moveCurrentEndpointToFirst) { + if (moveCurrentEndpointToFirst && + this.sentinels.length > 1 && + this.cursor !== 1) { + this.sentinels.unshift(...this.sentinels.splice(this.cursor - 1)); + } + this.cursor = 0; + } + add(sentinel) { + for (let i = 0; i < this.sentinels.length; i++) { + if (isSentinelEql(sentinel, this.sentinels[i])) { + return false; + } + } + this.sentinels.push(sentinel); + return true; + } + toString() { + return `${JSON.stringify(this.sentinels)} @${this.cursor}`; + } +} +exports.default = SentinelIterator; diff --git a/node_modules/ioredis/built/connectors/SentinelConnector/index.d.ts b/node_modules/ioredis/built/connectors/SentinelConnector/index.d.ts new file mode 100644 index 0000000..66660e5 --- /dev/null +++ b/node_modules/ioredis/built/connectors/SentinelConnector/index.d.ts @@ -0,0 +1,72 @@ +/// +import { EventEmitter } from "events"; +import { NatMap } from "../../cluster/ClusterOptions"; +import { ConnectionOptions } from "tls"; +import SentinelIterator from "./SentinelIterator"; +import { SentinelAddress } from "./types"; +import AbstractConnector, { ErrorEmitter } from "../AbstractConnector"; +import { NetStream } from "../../types"; +interface AddressFromResponse { + port: string; + ip: string; + flags?: string | undefined; +} +declare type PreferredSlaves = ((slaves: AddressFromResponse[]) => AddressFromResponse | null) | Array<{ + port: string; + ip: string; + prio?: number | undefined; +}> | { + port: string; + ip: string; + prio?: number | undefined; +}; +export { SentinelAddress, SentinelIterator }; +export interface SentinelConnectionOptions { + /** + * Master group name of the Sentinel + */ + name?: string | undefined; + /** + * @default "master" + */ + role?: "master" | "slave" | undefined; + tls?: ConnectionOptions | undefined; + sentinelUsername?: string | undefined; + sentinelPassword?: string | undefined; + sentinels?: Array> | undefined; + sentinelRetryStrategy?: ((retryAttempts: number) => number | void | null) | undefined; + sentinelReconnectStrategy?: ((retryAttempts: number) => number | void | null) | undefined; + preferredSlaves?: PreferredSlaves | undefined; + connectTimeout?: number | undefined; + disconnectTimeout?: number | undefined; + sentinelCommandTimeout?: number | undefined; + enableTLSForSentinelMode?: boolean | undefined; + sentinelTLS?: ConnectionOptions | undefined; + natMap?: NatMap | undefined; + updateSentinels?: boolean | undefined; + /** + * @default 10 + */ + sentinelMaxConnections?: number | undefined; + failoverDetector?: boolean | undefined; +} +export default class SentinelConnector extends AbstractConnector { + protected options: SentinelConnectionOptions; + emitter: EventEmitter | null; + protected sentinelIterator: SentinelIterator; + private retryAttempts; + private failoverDetector; + constructor(options: SentinelConnectionOptions); + check(info: { + role?: string; + }): boolean; + disconnect(): void; + connect(eventEmitter: ErrorEmitter): Promise; + private updateSentinels; + private resolveMaster; + private resolveSlave; + private sentinelNatResolve; + private connectToSentinel; + private resolve; + private initFailoverDetector; +} diff --git a/node_modules/ioredis/built/connectors/SentinelConnector/index.js b/node_modules/ioredis/built/connectors/SentinelConnector/index.js new file mode 100644 index 0000000..5cb4b48 --- /dev/null +++ b/node_modules/ioredis/built/connectors/SentinelConnector/index.js @@ -0,0 +1,305 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SentinelIterator = void 0; +const net_1 = require("net"); +const utils_1 = require("../../utils"); +const tls_1 = require("tls"); +const SentinelIterator_1 = require("./SentinelIterator"); +exports.SentinelIterator = SentinelIterator_1.default; +const AbstractConnector_1 = require("../AbstractConnector"); +const Redis_1 = require("../../Redis"); +const FailoverDetector_1 = require("./FailoverDetector"); +const debug = (0, utils_1.Debug)("SentinelConnector"); +class SentinelConnector extends AbstractConnector_1.default { + constructor(options) { + super(options.disconnectTimeout); + this.options = options; + this.emitter = null; + this.failoverDetector = null; + if (!this.options.sentinels.length) { + throw new Error("Requires at least one sentinel to connect to."); + } + if (!this.options.name) { + throw new Error("Requires the name of master."); + } + this.sentinelIterator = new SentinelIterator_1.default(this.options.sentinels); + } + check(info) { + const roleMatches = !info.role || this.options.role === info.role; + if (!roleMatches) { + debug("role invalid, expected %s, but got %s", this.options.role, info.role); + // Start from the next item. + // Note that `reset` will move the cursor to the previous element, + // so we advance two steps here. + this.sentinelIterator.next(); + this.sentinelIterator.next(); + this.sentinelIterator.reset(true); + } + return roleMatches; + } + disconnect() { + super.disconnect(); + if (this.failoverDetector) { + this.failoverDetector.cleanup(); + } + } + connect(eventEmitter) { + this.connecting = true; + this.retryAttempts = 0; + let lastError; + const connectToNext = async () => { + const endpoint = this.sentinelIterator.next(); + if (endpoint.done) { + this.sentinelIterator.reset(false); + const retryDelay = typeof this.options.sentinelRetryStrategy === "function" + ? this.options.sentinelRetryStrategy(++this.retryAttempts) + : null; + let errorMsg = typeof retryDelay !== "number" + ? "All sentinels are unreachable and retry is disabled." + : `All sentinels are unreachable. Retrying from scratch after ${retryDelay}ms.`; + if (lastError) { + errorMsg += ` Last error: ${lastError.message}`; + } + debug(errorMsg); + const error = new Error(errorMsg); + if (typeof retryDelay === "number") { + eventEmitter("error", error); + await new Promise((resolve) => setTimeout(resolve, retryDelay)); + return connectToNext(); + } + else { + throw error; + } + } + let resolved = null; + let err = null; + try { + resolved = await this.resolve(endpoint.value); + } + catch (error) { + err = error; + } + if (!this.connecting) { + throw new Error(utils_1.CONNECTION_CLOSED_ERROR_MSG); + } + const endpointAddress = endpoint.value.host + ":" + endpoint.value.port; + if (resolved) { + debug("resolved: %s:%s from sentinel %s", resolved.host, resolved.port, endpointAddress); + if (this.options.enableTLSForSentinelMode && this.options.tls) { + Object.assign(resolved, this.options.tls); + this.stream = (0, tls_1.connect)(resolved); + this.stream.once("secureConnect", this.initFailoverDetector.bind(this)); + } + else { + this.stream = (0, net_1.createConnection)(resolved); + this.stream.once("connect", this.initFailoverDetector.bind(this)); + } + this.stream.once("error", (err) => { + this.firstError = err; + }); + return this.stream; + } + else { + const errorMsg = err + ? "failed to connect to sentinel " + + endpointAddress + + " because " + + err.message + : "connected to sentinel " + + endpointAddress + + " successfully, but got an invalid reply: " + + resolved; + debug(errorMsg); + eventEmitter("sentinelError", new Error(errorMsg)); + if (err) { + lastError = err; + } + return connectToNext(); + } + }; + return connectToNext(); + } + async updateSentinels(client) { + if (!this.options.updateSentinels) { + return; + } + const result = await client.sentinel("sentinels", this.options.name); + if (!Array.isArray(result)) { + return; + } + result + .map(utils_1.packObject) + .forEach((sentinel) => { + const flags = sentinel.flags ? sentinel.flags.split(",") : []; + if (flags.indexOf("disconnected") === -1 && + sentinel.ip && + sentinel.port) { + const endpoint = this.sentinelNatResolve(addressResponseToAddress(sentinel)); + if (this.sentinelIterator.add(endpoint)) { + debug("adding sentinel %s:%s", endpoint.host, endpoint.port); + } + } + }); + debug("Updated internal sentinels: %s", this.sentinelIterator); + } + async resolveMaster(client) { + const result = await client.sentinel("get-master-addr-by-name", this.options.name); + await this.updateSentinels(client); + return this.sentinelNatResolve(Array.isArray(result) + ? { host: result[0], port: Number(result[1]) } + : null); + } + async resolveSlave(client) { + const result = await client.sentinel("slaves", this.options.name); + if (!Array.isArray(result)) { + return null; + } + const availableSlaves = result + .map(utils_1.packObject) + .filter((slave) => slave.flags && !slave.flags.match(/(disconnected|s_down|o_down)/)); + return this.sentinelNatResolve(selectPreferredSentinel(availableSlaves, this.options.preferredSlaves)); + } + sentinelNatResolve(item) { + if (!item || !this.options.natMap) + return item; + const key = `${item.host}:${item.port}`; + let result = item; + if (typeof this.options.natMap === "function") { + result = this.options.natMap(key) || item; + } + else if (typeof this.options.natMap === "object") { + result = this.options.natMap[key] || item; + } + return result; + } + connectToSentinel(endpoint, options) { + const redis = new Redis_1.default({ + port: endpoint.port || 26379, + host: endpoint.host, + username: this.options.sentinelUsername || null, + password: this.options.sentinelPassword || null, + family: endpoint.family || + // @ts-expect-error + ("path" in this.options && this.options.path + ? undefined + : // @ts-expect-error + this.options.family), + tls: this.options.sentinelTLS, + retryStrategy: null, + enableReadyCheck: false, + connectTimeout: this.options.connectTimeout, + commandTimeout: this.options.sentinelCommandTimeout, + ...options, + }); + // @ts-expect-error + return redis; + } + async resolve(endpoint) { + const client = this.connectToSentinel(endpoint); + // ignore the errors since resolve* methods will handle them + client.on("error", noop); + try { + if (this.options.role === "slave") { + return await this.resolveSlave(client); + } + else { + return await this.resolveMaster(client); + } + } + finally { + client.disconnect(); + } + } + async initFailoverDetector() { + var _a; + if (!this.options.failoverDetector) { + return; + } + // Move the current sentinel to the first position + this.sentinelIterator.reset(true); + const sentinels = []; + // In case of a large amount of sentinels, limit the number of concurrent connections + while (sentinels.length < this.options.sentinelMaxConnections) { + const { done, value } = this.sentinelIterator.next(); + if (done) { + break; + } + const client = this.connectToSentinel(value, { + lazyConnect: true, + retryStrategy: this.options.sentinelReconnectStrategy, + }); + client.on("reconnecting", () => { + var _a; + // Tests listen to this event + (_a = this.emitter) === null || _a === void 0 ? void 0 : _a.emit("sentinelReconnecting"); + }); + sentinels.push({ address: value, client }); + } + this.sentinelIterator.reset(false); + if (this.failoverDetector) { + // Clean up previous detector + this.failoverDetector.cleanup(); + } + this.failoverDetector = new FailoverDetector_1.FailoverDetector(this, sentinels); + await this.failoverDetector.subscribe(); + // Tests listen to this event + (_a = this.emitter) === null || _a === void 0 ? void 0 : _a.emit("failoverSubscribed"); + } +} +exports.default = SentinelConnector; +function selectPreferredSentinel(availableSlaves, preferredSlaves) { + if (availableSlaves.length === 0) { + return null; + } + let selectedSlave; + if (typeof preferredSlaves === "function") { + selectedSlave = preferredSlaves(availableSlaves); + } + else if (preferredSlaves !== null && typeof preferredSlaves === "object") { + const preferredSlavesArray = Array.isArray(preferredSlaves) + ? preferredSlaves + : [preferredSlaves]; + // sort by priority + preferredSlavesArray.sort((a, b) => { + // default the priority to 1 + if (!a.prio) { + a.prio = 1; + } + if (!b.prio) { + b.prio = 1; + } + // lowest priority first + if (a.prio < b.prio) { + return -1; + } + if (a.prio > b.prio) { + return 1; + } + return 0; + }); + // loop over preferred slaves and return the first match + for (let p = 0; p < preferredSlavesArray.length; p++) { + for (let a = 0; a < availableSlaves.length; a++) { + const slave = availableSlaves[a]; + if (slave.ip === preferredSlavesArray[p].ip) { + if (slave.port === preferredSlavesArray[p].port) { + selectedSlave = slave; + break; + } + } + } + if (selectedSlave) { + break; + } + } + } + // if none of the preferred slaves are available, a random available slave is returned + if (!selectedSlave) { + selectedSlave = (0, utils_1.sample)(availableSlaves); + } + return addressResponseToAddress(selectedSlave); +} +function addressResponseToAddress(input) { + return { host: input.ip, port: Number(input.port) }; +} +function noop() { } diff --git a/node_modules/ioredis/built/connectors/SentinelConnector/types.d.ts b/node_modules/ioredis/built/connectors/SentinelConnector/types.d.ts new file mode 100644 index 0000000..4734cdc --- /dev/null +++ b/node_modules/ioredis/built/connectors/SentinelConnector/types.d.ts @@ -0,0 +1,21 @@ +import { RedisOptions } from "../../redis/RedisOptions"; +export interface SentinelAddress { + port: number; + host: string; + family?: number; +} +export interface RedisClient { + options: RedisOptions; + sentinel(subcommand: "sentinels", name: string): Promise; + sentinel(subcommand: "get-master-addr-by-name", name: string): Promise; + sentinel(subcommand: "slaves", name: string): Promise; + subscribe(...channelNames: string[]): Promise; + on(event: "message", callback: (channel: string, message: string) => void): void; + on(event: "error", callback: (error: Error) => void): void; + on(event: "reconnecting", callback: () => void): void; + disconnect(): void; +} +export interface Sentinel { + address: Partial; + client: RedisClient; +} diff --git a/node_modules/ioredis/built/connectors/SentinelConnector/types.js b/node_modules/ioredis/built/connectors/SentinelConnector/types.js new file mode 100644 index 0000000..c8ad2e5 --- /dev/null +++ b/node_modules/ioredis/built/connectors/SentinelConnector/types.js @@ -0,0 +1,2 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/node_modules/ioredis/built/connectors/StandaloneConnector.d.ts b/node_modules/ioredis/built/connectors/StandaloneConnector.d.ts new file mode 100644 index 0000000..45fb552 --- /dev/null +++ b/node_modules/ioredis/built/connectors/StandaloneConnector.d.ts @@ -0,0 +1,17 @@ +/// +import { IpcNetConnectOpts, TcpNetConnectOpts } from "net"; +import { ConnectionOptions } from "tls"; +import { NetStream } from "../types"; +import AbstractConnector, { ErrorEmitter } from "./AbstractConnector"; +declare type TcpOptions = Pick; +declare type IpcOptions = Pick; +export declare type StandaloneConnectionOptions = Partial & { + disconnectTimeout?: number | undefined; + tls?: ConnectionOptions | undefined; +}; +export default class StandaloneConnector extends AbstractConnector { + protected options: StandaloneConnectionOptions; + constructor(options: StandaloneConnectionOptions); + connect(_: ErrorEmitter): Promise; +} +export {}; diff --git a/node_modules/ioredis/built/connectors/StandaloneConnector.js b/node_modules/ioredis/built/connectors/StandaloneConnector.js new file mode 100644 index 0000000..d17c91a --- /dev/null +++ b/node_modules/ioredis/built/connectors/StandaloneConnector.js @@ -0,0 +1,69 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const net_1 = require("net"); +const tls_1 = require("tls"); +const utils_1 = require("../utils"); +const AbstractConnector_1 = require("./AbstractConnector"); +class StandaloneConnector extends AbstractConnector_1.default { + constructor(options) { + super(options.disconnectTimeout); + this.options = options; + } + connect(_) { + const { options } = this; + this.connecting = true; + let connectionOptions; + if ("path" in options && options.path) { + connectionOptions = { + path: options.path, + }; + } + else { + connectionOptions = {}; + if ("port" in options && options.port != null) { + connectionOptions.port = options.port; + } + if ("host" in options && options.host != null) { + connectionOptions.host = options.host; + } + if ("family" in options && options.family != null) { + connectionOptions.family = options.family; + } + } + if (options.tls) { + Object.assign(connectionOptions, options.tls); + } + // TODO: + // We use native Promise here since other Promise + // implementation may use different schedulers that + // cause issue when the stream is resolved in the + // next tick. + // Should use the provided promise in the next major + // version and do not connect before resolved. + return new Promise((resolve, reject) => { + process.nextTick(() => { + if (!this.connecting) { + reject(new Error(utils_1.CONNECTION_CLOSED_ERROR_MSG)); + return; + } + try { + if (options.tls) { + this.stream = (0, tls_1.connect)(connectionOptions); + } + else { + this.stream = (0, net_1.createConnection)(connectionOptions); + } + } + catch (err) { + reject(err); + return; + } + this.stream.once("error", (err) => { + this.firstError = err; + }); + resolve(this.stream); + }); + }); + } +} +exports.default = StandaloneConnector; diff --git a/node_modules/ioredis/built/connectors/index.d.ts b/node_modules/ioredis/built/connectors/index.d.ts new file mode 100644 index 0000000..fa74d6f --- /dev/null +++ b/node_modules/ioredis/built/connectors/index.d.ts @@ -0,0 +1,3 @@ +import StandaloneConnector from "./StandaloneConnector"; +import SentinelConnector from "./SentinelConnector"; +export { StandaloneConnector, SentinelConnector }; diff --git a/node_modules/ioredis/built/connectors/index.js b/node_modules/ioredis/built/connectors/index.js new file mode 100644 index 0000000..49a03a2 --- /dev/null +++ b/node_modules/ioredis/built/connectors/index.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SentinelConnector = exports.StandaloneConnector = void 0; +const StandaloneConnector_1 = require("./StandaloneConnector"); +exports.StandaloneConnector = StandaloneConnector_1.default; +const SentinelConnector_1 = require("./SentinelConnector"); +exports.SentinelConnector = SentinelConnector_1.default; diff --git a/node_modules/ioredis/built/constants/TLSProfiles.d.ts b/node_modules/ioredis/built/constants/TLSProfiles.d.ts new file mode 100644 index 0000000..7547966 --- /dev/null +++ b/node_modules/ioredis/built/constants/TLSProfiles.d.ts @@ -0,0 +1,9 @@ +declare const TLSProfiles: { + readonly RedisCloudFixed: { + readonly ca: "-----BEGIN CERTIFICATE-----\nMIIDTzCCAjegAwIBAgIJAKSVpiDswLcwMA0GCSqGSIb3DQEBBQUAMD4xFjAUBgNV\nBAoMDUdhcmFudGlhIERhdGExJDAiBgNVBAMMG1NTTCBDZXJ0aWZpY2F0aW9uIEF1\ndGhvcml0eTAeFw0xMzEwMDExMjE0NTVaFw0yMzA5MjkxMjE0NTVaMD4xFjAUBgNV\nBAoMDUdhcmFudGlhIERhdGExJDAiBgNVBAMMG1NTTCBDZXJ0aWZpY2F0aW9uIEF1\ndGhvcml0eTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALZqkh/DczWP\nJnxnHLQ7QL0T4B4CDKWBKCcisriGbA6ZePWVNo4hfKQC6JrzfR+081NeD6VcWUiz\nrmd+jtPhIY4c+WVQYm5PKaN6DT1imYdxQw7aqO5j2KUCEh/cznpLxeSHoTxlR34E\nQwF28Wl3eg2vc5ct8LjU3eozWVk3gb7alx9mSA2SgmuX5lEQawl++rSjsBStemY2\nBDwOpAMXIrdEyP/cVn8mkvi/BDs5M5G+09j0gfhyCzRWMQ7Hn71u1eolRxwVxgi3\nTMn+/vTaFSqxKjgck6zuAYjBRPaHe7qLxHNr1So/Mc9nPy+3wHebFwbIcnUojwbp\n4nctkWbjb2cCAwEAAaNQME4wHQYDVR0OBBYEFP1whtcrydmW3ZJeuSoKZIKjze3w\nMB8GA1UdIwQYMBaAFP1whtcrydmW3ZJeuSoKZIKjze3wMAwGA1UdEwQFMAMBAf8w\nDQYJKoZIhvcNAQEFBQADggEBAG2erXhwRAa7+ZOBs0B6X57Hwyd1R4kfmXcs0rta\nlbPpvgULSiB+TCbf3EbhJnHGyvdCY1tvlffLjdA7HJ0PCOn+YYLBA0pTU/dyvrN6\nSu8NuS5yubnt9mb13nDGYo1rnt0YRfxN+8DM3fXIVr038A30UlPX2Ou1ExFJT0MZ\nuFKY6ZvLdI6/1cbgmguMlAhM+DhKyV6Sr5699LM3zqeI816pZmlREETYkGr91q7k\nBpXJu/dtHaGxg1ZGu6w/PCsYGUcECWENYD4VQPd8N32JjOfu6vEgoEAwfPP+3oGp\nZ4m3ewACcWOAenqflb+cQYC4PsF7qbXDmRaWrbKntOlZ3n0=\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\nMIIGMTCCBBmgAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwajELMAkGA1UEBhMCVVMx\nCzAJBgNVBAgMAkNBMQswCQYDVQQHDAJDQTESMBAGA1UECgwJUmVkaXNMYWJzMS0w\nKwYDVQQDDCRSZWRpc0xhYnMgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcN\nMTgwMjI1MTUzNzM3WhcNMjgwMjIzMTUzNzM3WjBfMQswCQYDVQQGEwJVUzELMAkG\nA1UECAwCQ0ExEjAQBgNVBAoMCVJlZGlzTGFiczEvMC0GA1UEAwwmUkNQIEludGVy\nbWVkaWF0ZSBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUA\nA4ICDwAwggIKAoICAQDf9dqbxc8Bq7Ctq9rWcxrGNKKHivqLAFpPq02yLPx6fsOv\nTq7GsDChAYBBc4v7Y2Ap9RD5Vs3dIhEANcnolf27QwrG9RMnnvzk8pCvp1o6zSU4\nVuOE1W66/O1/7e2rVxyrnTcP7UgK43zNIXu7+tiAqWsO92uSnuMoGPGpeaUm1jym\nhjWKtkAwDFSqvHY+XL5qDVBEjeUe+WHkYUg40cAXjusAqgm2hZt29c2wnVrxW25W\nP0meNlzHGFdA2AC5z54iRiqj57dTfBTkHoBczQxcyw6hhzxZQ4e5I5zOKjXXEhZN\nr0tA3YC14CTabKRus/JmZieyZzRgEy2oti64tmLYTqSlAD78pRL40VNoaSYetXLw\nhhNsXCHgWaY6d5bLOc/aIQMAV5oLvZQKvuXAF1IDmhPA+bZbpWipp0zagf1P1H3s\nUzsMdn2KM0ejzgotbtNlj5TcrVwpmvE3ktvUAuA+hi3FkVx1US+2Gsp5x4YOzJ7u\nP1WPk6ShF0JgnJH2ILdj6kttTWwFzH17keSFICWDfH/+kM+k7Y1v3EXMQXE7y0T9\nMjvJskz6d/nv+sQhY04xt64xFMGTnZjlJMzfQNi7zWFLTZnDD0lPowq7l3YiPoTT\nt5Xky83lu0KZsZBo0WlWaDG00gLVdtRgVbcuSWxpi5BdLb1kRab66JptWjxwXQID\nAQABo4HrMIHoMDoGA1UdHwQzMDEwL6AtoCuGKWh0dHBzOi8vcmwtY2Etc2VydmVy\nLnJlZGlzbGFicy5jb20vdjEvY3JsMEYGCCsGAQUFBwEBBDowODA2BggrBgEFBQcw\nAYYqaHR0cHM6Ly9ybC1jYS1zZXJ2ZXIucmVkaXNsYWJzLmNvbS92MS9vY3NwMB0G\nA1UdDgQWBBQHar5OKvQUpP2qWt6mckzToeCOHDAfBgNVHSMEGDAWgBQi42wH6hM4\nL2sujEvLM0/u8lRXTzASBgNVHRMBAf8ECDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIB\nhjANBgkqhkiG9w0BAQsFAAOCAgEAirEn/iTsAKyhd+pu2W3Z5NjCko4NPU0EYUbr\nAP7+POK2rzjIrJO3nFYQ/LLuC7KCXG+2qwan2SAOGmqWst13Y+WHp44Kae0kaChW\nvcYLXXSoGQGC8QuFSNUdaeg3RbMDYFT04dOkqufeWVccoHVxyTSg9eD8LZuHn5jw\n7QDLiEECBmIJHk5Eeo2TAZrx4Yx6ufSUX5HeVjlAzqwtAqdt99uCJ/EL8bgpWbe+\nXoSpvUv0SEC1I1dCAhCKAvRlIOA6VBcmzg5Am12KzkqTul12/VEFIgzqu0Zy2Jbc\nAUPrYVu/+tOGXQaijy7YgwH8P8n3s7ZeUa1VABJHcxrxYduDDJBLZi+MjheUDaZ1\njQRHYevI2tlqeSBqdPKG4zBY5lS0GiAlmuze5oENt0P3XboHoZPHiqcK3VECgTVh\n/BkJcuudETSJcZDmQ8YfoKfBzRQNg2sv/hwvUv73Ss51Sco8GEt2lD8uEdib1Q6z\nzDT5lXJowSzOD5ZA9OGDjnSRL+2riNtKWKEqvtEG3VBJoBzu9GoxbAc7wIZLxmli\niF5a/Zf5X+UXD3s4TMmy6C4QZJpAA2egsSQCnraWO2ULhh7iXMysSkF/nzVfZn43\niqpaB8++9a37hWq14ZmOv0TJIDz//b2+KC4VFXWQ5W5QC6whsjT+OlG4p5ZYG0jo\n616pxqo=\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\nMIIFujCCA6KgAwIBAgIJAJ1aTT1lu2ScMA0GCSqGSIb3DQEBCwUAMGoxCzAJBgNV\nBAYTAlVTMQswCQYDVQQIDAJDQTELMAkGA1UEBwwCQ0ExEjAQBgNVBAoMCVJlZGlz\nTGFiczEtMCsGA1UEAwwkUmVkaXNMYWJzIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9y\naXR5MB4XDTE4MDIyNTE1MjA0MloXDTM4MDIyMDE1MjA0MlowajELMAkGA1UEBhMC\nVVMxCzAJBgNVBAgMAkNBMQswCQYDVQQHDAJDQTESMBAGA1UECgwJUmVkaXNMYWJz\nMS0wKwYDVQQDDCRSZWRpc0xhYnMgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkw\nggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDLEjXy7YrbN5Waau5cd6g1\nG5C2tMmeTpZ0duFAPxNU4oE3RHS5gGiok346fUXuUxbZ6QkuzeN2/2Z+RmRcJhQY\nDm0ZgdG4x59An1TJfnzKKoWj8ISmoHS/TGNBdFzXV7FYNLBuqZouqePI6ReC6Qhl\npp45huV32Q3a6IDrrvx7Wo5ZczEQeFNbCeCOQYNDdTmCyEkHqc2AGo8eoIlSTutT\nULOC7R5gzJVTS0e1hesQ7jmqHjbO+VQS1NAL4/5K6cuTEqUl+XhVhPdLWBXJQ5ag\n54qhX4v+ojLzeU1R/Vc6NjMvVtptWY6JihpgplprN0Yh2556ewcXMeturcKgXfGJ\nxeYzsjzXerEjrVocX5V8BNrg64NlifzTMKNOOv4fVZszq1SIHR8F9ROrqiOdh8iC\nJpUbLpXH9hWCSEO6VRMB2xJoKu3cgl63kF30s77x7wLFMEHiwsQRKxooE1UhgS9K\n2sO4TlQ1eWUvFvHSTVDQDlGQ6zu4qjbOpb3Q8bQwoK+ai2alkXVR4Ltxe9QlgYK3\nStsnPhruzZGA0wbXdpw0bnM+YdlEm5ffSTpNIfgHeaa7Dtb801FtA71ZlH7A6TaI\nSIQuUST9EKmv7xrJyx0W1pGoPOLw5T029aTjnICSLdtV9bLwysrLhIYG5bnPq78B\ncS+jZHFGzD7PUVGQD01nOQIDAQABo2MwYTAdBgNVHQ4EFgQUIuNsB+oTOC9rLoxL\nyzNP7vJUV08wHwYDVR0jBBgwFoAUIuNsB+oTOC9rLoxLyzNP7vJUV08wDwYDVR0T\nAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAYYwDQYJKoZIhvcNAQELBQADggIBAHfg\nz5pMNUAKdMzK1aS1EDdK9yKz4qicILz5czSLj1mC7HKDRy8cVADUxEICis++CsCu\nrYOvyCVergHQLREcxPq4rc5Nq1uj6J6649NEeh4WazOOjL4ZfQ1jVznMbGy+fJm3\n3Hoelv6jWRG9iqeJZja7/1s6YC6bWymI/OY1e4wUKeNHAo+Vger7MlHV+RuabaX+\nhSJ8bJAM59NCM7AgMTQpJCncrcdLeceYniGy5Q/qt2b5mJkQVkIdy4TPGGB+AXDJ\nD0q3I/JDRkDUFNFdeW0js7fHdsvCR7O3tJy5zIgEV/o/BCkmJVtuwPYOrw/yOlKj\nTY/U7ATAx9VFF6/vYEOMYSmrZlFX+98L6nJtwDqfLB5VTltqZ4H/KBxGE3IRSt9l\nFXy40U+LnXzhhW+7VBAvyYX8GEXhHkKU8Gqk1xitrqfBXY74xKgyUSTolFSfFVgj\nmcM/X4K45bka+qpkj7Kfv/8D4j6aZekwhN2ly6hhC1SmQ8qjMjpG/mrWOSSHZFmf\nybu9iD2AYHeIOkshIl6xYIa++Q/00/vs46IzAbQyriOi0XxlSMMVtPx0Q3isp+ji\nn8Mq9eOuxYOEQ4of8twUkUDd528iwGtEdwf0Q01UyT84S62N8AySl1ZBKXJz6W4F\nUhWfa/HQYOAPDdEjNgnVwLI23b8t0TozyCWw7q8h\n-----END CERTIFICATE-----\n\n-----BEGIN CERTIFICATE-----\nMIIEjzCCA3egAwIBAgIQe55B/ALCKJDZtdNT8kD6hTANBgkqhkiG9w0BAQsFADBM\nMSAwHgYDVQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xv\nYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2lnbjAeFw0yMjAxMjYxMjAwMDBaFw0y\nNTAxMjYwMDAwMDBaMFgxCzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWdu\nIG52LXNhMS4wLAYDVQQDEyVHbG9iYWxTaWduIEF0bGFzIFIzIE9WIFRMUyBDQSAy\nMDIyIFEyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmGmg1LW9b7Lf\n8zDD83yBDTEkt+FOxKJZqF4veWc5KZsQj9HfnUS2e5nj/E+JImlGPsQuoiosLuXD\nBVBNAMcUFa11buFMGMeEMwiTmCXoXRrXQmH0qjpOfKgYc5gHG3BsRGaRrf7VR4eg\nofNMG9wUBw4/g/TT7+bQJdA4NfE7Y4d5gEryZiBGB/swaX6Jp/8MF4TgUmOWmalK\ndZCKyb4sPGQFRTtElk67F7vU+wdGcrcOx1tDcIB0ncjLPMnaFicagl+daWGsKqTh\ncounQb6QJtYHa91KvCfKWocMxQ7OIbB5UARLPmC4CJ1/f8YFm35ebfzAeULYdGXu\njE9CLor0OwIDAQABo4IBXzCCAVswDgYDVR0PAQH/BAQDAgGGMB0GA1UdJQQWMBQG\nCCsGAQUFBwMBBggrBgEFBQcDAjASBgNVHRMBAf8ECDAGAQH/AgEAMB0GA1UdDgQW\nBBSH5Zq7a7B/t95GfJWkDBpA8HHqdjAfBgNVHSMEGDAWgBSP8Et/qC5FJK5NUPpj\nmove4t0bvDB7BggrBgEFBQcBAQRvMG0wLgYIKwYBBQUHMAGGImh0dHA6Ly9vY3Nw\nMi5nbG9iYWxzaWduLmNvbS9yb290cjMwOwYIKwYBBQUHMAKGL2h0dHA6Ly9zZWN1\ncmUuZ2xvYmFsc2lnbi5jb20vY2FjZXJ0L3Jvb3QtcjMuY3J0MDYGA1UdHwQvMC0w\nK6ApoCeGJWh0dHA6Ly9jcmwuZ2xvYmFsc2lnbi5jb20vcm9vdC1yMy5jcmwwIQYD\nVR0gBBowGDAIBgZngQwBAgIwDAYKKwYBBAGgMgoBAjANBgkqhkiG9w0BAQsFAAOC\nAQEAKRic9/f+nmhQU/wz04APZLjgG5OgsuUOyUEZjKVhNGDwxGTvKhyXGGAMW2B/\n3bRi+aElpXwoxu3pL6fkElbX3B0BeS5LoDtxkyiVEBMZ8m+sXbocwlPyxrPbX6mY\n0rVIvnuUeBH8X0L5IwfpNVvKnBIilTbcebfHyXkPezGwz7E1yhUULjJFm2bt0SdX\ny+4X/WeiiYIv+fTVgZZgl+/2MKIsu/qdBJc3f3TvJ8nz+Eax1zgZmww+RSQWeOj3\n15Iw6Z5FX+NwzY/Ab+9PosR5UosSeq+9HhtaxZttXG1nVh+avYPGYddWmiMT90J5\nZgKnO/Fx2hBgTxhOTMYaD312kg==\n-----END CERTIFICATE-----\n\n-----BEGIN CERTIFICATE-----\nMIIDXzCCAkegAwIBAgILBAAAAAABIVhTCKIwDQYJKoZIhvcNAQELBQAwTDEgMB4G\nA1UECxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjMxEzARBgNVBAoTCkdsb2JhbFNp\nZ24xEzARBgNVBAMTCkdsb2JhbFNpZ24wHhcNMDkwMzE4MTAwMDAwWhcNMjkwMzE4\nMTAwMDAwWjBMMSAwHgYDVQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEG\nA1UEChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2lnbjCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBAMwldpB5BngiFvXAg7aEyiie/QV2EcWtiHL8\nRgJDx7KKnQRfJMsuS+FggkbhUqsMgUdwbN1k0ev1LKMPgj0MK66X17YUhhB5uzsT\ngHeMCOFJ0mpiLx9e+pZo34knlTifBtc+ycsmWQ1z3rDI6SYOgxXG71uL0gRgykmm\nKPZpO/bLyCiR5Z2KYVc3rHQU3HTgOu5yLy6c+9C7v/U9AOEGM+iCK65TpjoWc4zd\nQQ4gOsC0p6Hpsk+QLjJg6VfLuQSSaGjlOCZgdbKfd/+RFO+uIEn8rUAVSNECMWEZ\nXriX7613t2Saer9fwRPvm2L7DWzgVGkWqQPabumDk3F2xmmFghcCAwEAAaNCMEAw\nDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFI/wS3+o\nLkUkrk1Q+mOai97i3Ru8MA0GCSqGSIb3DQEBCwUAA4IBAQBLQNvAUKr+yAzv95ZU\nRUm7lgAJQayzE4aGKAczymvmdLm6AC2upArT9fHxD4q/c2dKg8dEe3jgr25sbwMp\njjM5RcOO5LlXbKr8EpbsU8Yt5CRsuZRj+9xTaGdWPoO4zzUhw8lo/s7awlOqzJCK\n6fBdRoyV3XpYKBovHd7NADdBj+1EbddTKJd+82cEHhXXipa0095MJ6RMG3NzdvQX\nmcIfeg7jLQitChws/zyrVQ4PkX4268NXSb7hLi18YIvDQVETI53O9zJrlAGomecs\nMx86OyXShkDOOyyGeMlhLxS67ttVb9+E7gUJTb0o2HLO02JQZR7rkpeDMdmztcpH\nWD9f\n-----END CERTIFICATE-----"; + }; + readonly RedisCloudFlexible: { + readonly ca: "-----BEGIN CERTIFICATE-----\nMIIDTzCCAjegAwIBAgIJAKSVpiDswLcwMA0GCSqGSIb3DQEBBQUAMD4xFjAUBgNV\nBAoMDUdhcmFudGlhIERhdGExJDAiBgNVBAMMG1NTTCBDZXJ0aWZpY2F0aW9uIEF1\ndGhvcml0eTAeFw0xMzEwMDExMjE0NTVaFw0yMzA5MjkxMjE0NTVaMD4xFjAUBgNV\nBAoMDUdhcmFudGlhIERhdGExJDAiBgNVBAMMG1NTTCBDZXJ0aWZpY2F0aW9uIEF1\ndGhvcml0eTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALZqkh/DczWP\nJnxnHLQ7QL0T4B4CDKWBKCcisriGbA6ZePWVNo4hfKQC6JrzfR+081NeD6VcWUiz\nrmd+jtPhIY4c+WVQYm5PKaN6DT1imYdxQw7aqO5j2KUCEh/cznpLxeSHoTxlR34E\nQwF28Wl3eg2vc5ct8LjU3eozWVk3gb7alx9mSA2SgmuX5lEQawl++rSjsBStemY2\nBDwOpAMXIrdEyP/cVn8mkvi/BDs5M5G+09j0gfhyCzRWMQ7Hn71u1eolRxwVxgi3\nTMn+/vTaFSqxKjgck6zuAYjBRPaHe7qLxHNr1So/Mc9nPy+3wHebFwbIcnUojwbp\n4nctkWbjb2cCAwEAAaNQME4wHQYDVR0OBBYEFP1whtcrydmW3ZJeuSoKZIKjze3w\nMB8GA1UdIwQYMBaAFP1whtcrydmW3ZJeuSoKZIKjze3wMAwGA1UdEwQFMAMBAf8w\nDQYJKoZIhvcNAQEFBQADggEBAG2erXhwRAa7+ZOBs0B6X57Hwyd1R4kfmXcs0rta\nlbPpvgULSiB+TCbf3EbhJnHGyvdCY1tvlffLjdA7HJ0PCOn+YYLBA0pTU/dyvrN6\nSu8NuS5yubnt9mb13nDGYo1rnt0YRfxN+8DM3fXIVr038A30UlPX2Ou1ExFJT0MZ\nuFKY6ZvLdI6/1cbgmguMlAhM+DhKyV6Sr5699LM3zqeI816pZmlREETYkGr91q7k\nBpXJu/dtHaGxg1ZGu6w/PCsYGUcECWENYD4VQPd8N32JjOfu6vEgoEAwfPP+3oGp\nZ4m3ewACcWOAenqflb+cQYC4PsF7qbXDmRaWrbKntOlZ3n0=\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\nMIIGMTCCBBmgAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwajELMAkGA1UEBhMCVVMx\nCzAJBgNVBAgMAkNBMQswCQYDVQQHDAJDQTESMBAGA1UECgwJUmVkaXNMYWJzMS0w\nKwYDVQQDDCRSZWRpc0xhYnMgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcN\nMTgwMjI1MTUzNzM3WhcNMjgwMjIzMTUzNzM3WjBfMQswCQYDVQQGEwJVUzELMAkG\nA1UECAwCQ0ExEjAQBgNVBAoMCVJlZGlzTGFiczEvMC0GA1UEAwwmUkNQIEludGVy\nbWVkaWF0ZSBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUA\nA4ICDwAwggIKAoICAQDf9dqbxc8Bq7Ctq9rWcxrGNKKHivqLAFpPq02yLPx6fsOv\nTq7GsDChAYBBc4v7Y2Ap9RD5Vs3dIhEANcnolf27QwrG9RMnnvzk8pCvp1o6zSU4\nVuOE1W66/O1/7e2rVxyrnTcP7UgK43zNIXu7+tiAqWsO92uSnuMoGPGpeaUm1jym\nhjWKtkAwDFSqvHY+XL5qDVBEjeUe+WHkYUg40cAXjusAqgm2hZt29c2wnVrxW25W\nP0meNlzHGFdA2AC5z54iRiqj57dTfBTkHoBczQxcyw6hhzxZQ4e5I5zOKjXXEhZN\nr0tA3YC14CTabKRus/JmZieyZzRgEy2oti64tmLYTqSlAD78pRL40VNoaSYetXLw\nhhNsXCHgWaY6d5bLOc/aIQMAV5oLvZQKvuXAF1IDmhPA+bZbpWipp0zagf1P1H3s\nUzsMdn2KM0ejzgotbtNlj5TcrVwpmvE3ktvUAuA+hi3FkVx1US+2Gsp5x4YOzJ7u\nP1WPk6ShF0JgnJH2ILdj6kttTWwFzH17keSFICWDfH/+kM+k7Y1v3EXMQXE7y0T9\nMjvJskz6d/nv+sQhY04xt64xFMGTnZjlJMzfQNi7zWFLTZnDD0lPowq7l3YiPoTT\nt5Xky83lu0KZsZBo0WlWaDG00gLVdtRgVbcuSWxpi5BdLb1kRab66JptWjxwXQID\nAQABo4HrMIHoMDoGA1UdHwQzMDEwL6AtoCuGKWh0dHBzOi8vcmwtY2Etc2VydmVy\nLnJlZGlzbGFicy5jb20vdjEvY3JsMEYGCCsGAQUFBwEBBDowODA2BggrBgEFBQcw\nAYYqaHR0cHM6Ly9ybC1jYS1zZXJ2ZXIucmVkaXNsYWJzLmNvbS92MS9vY3NwMB0G\nA1UdDgQWBBQHar5OKvQUpP2qWt6mckzToeCOHDAfBgNVHSMEGDAWgBQi42wH6hM4\nL2sujEvLM0/u8lRXTzASBgNVHRMBAf8ECDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIB\nhjANBgkqhkiG9w0BAQsFAAOCAgEAirEn/iTsAKyhd+pu2W3Z5NjCko4NPU0EYUbr\nAP7+POK2rzjIrJO3nFYQ/LLuC7KCXG+2qwan2SAOGmqWst13Y+WHp44Kae0kaChW\nvcYLXXSoGQGC8QuFSNUdaeg3RbMDYFT04dOkqufeWVccoHVxyTSg9eD8LZuHn5jw\n7QDLiEECBmIJHk5Eeo2TAZrx4Yx6ufSUX5HeVjlAzqwtAqdt99uCJ/EL8bgpWbe+\nXoSpvUv0SEC1I1dCAhCKAvRlIOA6VBcmzg5Am12KzkqTul12/VEFIgzqu0Zy2Jbc\nAUPrYVu/+tOGXQaijy7YgwH8P8n3s7ZeUa1VABJHcxrxYduDDJBLZi+MjheUDaZ1\njQRHYevI2tlqeSBqdPKG4zBY5lS0GiAlmuze5oENt0P3XboHoZPHiqcK3VECgTVh\n/BkJcuudETSJcZDmQ8YfoKfBzRQNg2sv/hwvUv73Ss51Sco8GEt2lD8uEdib1Q6z\nzDT5lXJowSzOD5ZA9OGDjnSRL+2riNtKWKEqvtEG3VBJoBzu9GoxbAc7wIZLxmli\niF5a/Zf5X+UXD3s4TMmy6C4QZJpAA2egsSQCnraWO2ULhh7iXMysSkF/nzVfZn43\niqpaB8++9a37hWq14ZmOv0TJIDz//b2+KC4VFXWQ5W5QC6whsjT+OlG4p5ZYG0jo\n616pxqo=\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\nMIIFujCCA6KgAwIBAgIJAJ1aTT1lu2ScMA0GCSqGSIb3DQEBCwUAMGoxCzAJBgNV\nBAYTAlVTMQswCQYDVQQIDAJDQTELMAkGA1UEBwwCQ0ExEjAQBgNVBAoMCVJlZGlz\nTGFiczEtMCsGA1UEAwwkUmVkaXNMYWJzIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9y\naXR5MB4XDTE4MDIyNTE1MjA0MloXDTM4MDIyMDE1MjA0MlowajELMAkGA1UEBhMC\nVVMxCzAJBgNVBAgMAkNBMQswCQYDVQQHDAJDQTESMBAGA1UECgwJUmVkaXNMYWJz\nMS0wKwYDVQQDDCRSZWRpc0xhYnMgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkw\nggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDLEjXy7YrbN5Waau5cd6g1\nG5C2tMmeTpZ0duFAPxNU4oE3RHS5gGiok346fUXuUxbZ6QkuzeN2/2Z+RmRcJhQY\nDm0ZgdG4x59An1TJfnzKKoWj8ISmoHS/TGNBdFzXV7FYNLBuqZouqePI6ReC6Qhl\npp45huV32Q3a6IDrrvx7Wo5ZczEQeFNbCeCOQYNDdTmCyEkHqc2AGo8eoIlSTutT\nULOC7R5gzJVTS0e1hesQ7jmqHjbO+VQS1NAL4/5K6cuTEqUl+XhVhPdLWBXJQ5ag\n54qhX4v+ojLzeU1R/Vc6NjMvVtptWY6JihpgplprN0Yh2556ewcXMeturcKgXfGJ\nxeYzsjzXerEjrVocX5V8BNrg64NlifzTMKNOOv4fVZszq1SIHR8F9ROrqiOdh8iC\nJpUbLpXH9hWCSEO6VRMB2xJoKu3cgl63kF30s77x7wLFMEHiwsQRKxooE1UhgS9K\n2sO4TlQ1eWUvFvHSTVDQDlGQ6zu4qjbOpb3Q8bQwoK+ai2alkXVR4Ltxe9QlgYK3\nStsnPhruzZGA0wbXdpw0bnM+YdlEm5ffSTpNIfgHeaa7Dtb801FtA71ZlH7A6TaI\nSIQuUST9EKmv7xrJyx0W1pGoPOLw5T029aTjnICSLdtV9bLwysrLhIYG5bnPq78B\ncS+jZHFGzD7PUVGQD01nOQIDAQABo2MwYTAdBgNVHQ4EFgQUIuNsB+oTOC9rLoxL\nyzNP7vJUV08wHwYDVR0jBBgwFoAUIuNsB+oTOC9rLoxLyzNP7vJUV08wDwYDVR0T\nAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAYYwDQYJKoZIhvcNAQELBQADggIBAHfg\nz5pMNUAKdMzK1aS1EDdK9yKz4qicILz5czSLj1mC7HKDRy8cVADUxEICis++CsCu\nrYOvyCVergHQLREcxPq4rc5Nq1uj6J6649NEeh4WazOOjL4ZfQ1jVznMbGy+fJm3\n3Hoelv6jWRG9iqeJZja7/1s6YC6bWymI/OY1e4wUKeNHAo+Vger7MlHV+RuabaX+\nhSJ8bJAM59NCM7AgMTQpJCncrcdLeceYniGy5Q/qt2b5mJkQVkIdy4TPGGB+AXDJ\nD0q3I/JDRkDUFNFdeW0js7fHdsvCR7O3tJy5zIgEV/o/BCkmJVtuwPYOrw/yOlKj\nTY/U7ATAx9VFF6/vYEOMYSmrZlFX+98L6nJtwDqfLB5VTltqZ4H/KBxGE3IRSt9l\nFXy40U+LnXzhhW+7VBAvyYX8GEXhHkKU8Gqk1xitrqfBXY74xKgyUSTolFSfFVgj\nmcM/X4K45bka+qpkj7Kfv/8D4j6aZekwhN2ly6hhC1SmQ8qjMjpG/mrWOSSHZFmf\nybu9iD2AYHeIOkshIl6xYIa++Q/00/vs46IzAbQyriOi0XxlSMMVtPx0Q3isp+ji\nn8Mq9eOuxYOEQ4of8twUkUDd528iwGtEdwf0Q01UyT84S62N8AySl1ZBKXJz6W4F\nUhWfa/HQYOAPDdEjNgnVwLI23b8t0TozyCWw7q8h\n-----END CERTIFICATE-----\n\n-----BEGIN CERTIFICATE-----\nMIIEjzCCA3egAwIBAgIQe55B/ALCKJDZtdNT8kD6hTANBgkqhkiG9w0BAQsFADBM\nMSAwHgYDVQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xv\nYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2lnbjAeFw0yMjAxMjYxMjAwMDBaFw0y\nNTAxMjYwMDAwMDBaMFgxCzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWdu\nIG52LXNhMS4wLAYDVQQDEyVHbG9iYWxTaWduIEF0bGFzIFIzIE9WIFRMUyBDQSAy\nMDIyIFEyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmGmg1LW9b7Lf\n8zDD83yBDTEkt+FOxKJZqF4veWc5KZsQj9HfnUS2e5nj/E+JImlGPsQuoiosLuXD\nBVBNAMcUFa11buFMGMeEMwiTmCXoXRrXQmH0qjpOfKgYc5gHG3BsRGaRrf7VR4eg\nofNMG9wUBw4/g/TT7+bQJdA4NfE7Y4d5gEryZiBGB/swaX6Jp/8MF4TgUmOWmalK\ndZCKyb4sPGQFRTtElk67F7vU+wdGcrcOx1tDcIB0ncjLPMnaFicagl+daWGsKqTh\ncounQb6QJtYHa91KvCfKWocMxQ7OIbB5UARLPmC4CJ1/f8YFm35ebfzAeULYdGXu\njE9CLor0OwIDAQABo4IBXzCCAVswDgYDVR0PAQH/BAQDAgGGMB0GA1UdJQQWMBQG\nCCsGAQUFBwMBBggrBgEFBQcDAjASBgNVHRMBAf8ECDAGAQH/AgEAMB0GA1UdDgQW\nBBSH5Zq7a7B/t95GfJWkDBpA8HHqdjAfBgNVHSMEGDAWgBSP8Et/qC5FJK5NUPpj\nmove4t0bvDB7BggrBgEFBQcBAQRvMG0wLgYIKwYBBQUHMAGGImh0dHA6Ly9vY3Nw\nMi5nbG9iYWxzaWduLmNvbS9yb290cjMwOwYIKwYBBQUHMAKGL2h0dHA6Ly9zZWN1\ncmUuZ2xvYmFsc2lnbi5jb20vY2FjZXJ0L3Jvb3QtcjMuY3J0MDYGA1UdHwQvMC0w\nK6ApoCeGJWh0dHA6Ly9jcmwuZ2xvYmFsc2lnbi5jb20vcm9vdC1yMy5jcmwwIQYD\nVR0gBBowGDAIBgZngQwBAgIwDAYKKwYBBAGgMgoBAjANBgkqhkiG9w0BAQsFAAOC\nAQEAKRic9/f+nmhQU/wz04APZLjgG5OgsuUOyUEZjKVhNGDwxGTvKhyXGGAMW2B/\n3bRi+aElpXwoxu3pL6fkElbX3B0BeS5LoDtxkyiVEBMZ8m+sXbocwlPyxrPbX6mY\n0rVIvnuUeBH8X0L5IwfpNVvKnBIilTbcebfHyXkPezGwz7E1yhUULjJFm2bt0SdX\ny+4X/WeiiYIv+fTVgZZgl+/2MKIsu/qdBJc3f3TvJ8nz+Eax1zgZmww+RSQWeOj3\n15Iw6Z5FX+NwzY/Ab+9PosR5UosSeq+9HhtaxZttXG1nVh+avYPGYddWmiMT90J5\nZgKnO/Fx2hBgTxhOTMYaD312kg==\n-----END CERTIFICATE-----\n\n-----BEGIN CERTIFICATE-----\nMIIDXzCCAkegAwIBAgILBAAAAAABIVhTCKIwDQYJKoZIhvcNAQELBQAwTDEgMB4G\nA1UECxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjMxEzARBgNVBAoTCkdsb2JhbFNp\nZ24xEzARBgNVBAMTCkdsb2JhbFNpZ24wHhcNMDkwMzE4MTAwMDAwWhcNMjkwMzE4\nMTAwMDAwWjBMMSAwHgYDVQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEG\nA1UEChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2lnbjCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBAMwldpB5BngiFvXAg7aEyiie/QV2EcWtiHL8\nRgJDx7KKnQRfJMsuS+FggkbhUqsMgUdwbN1k0ev1LKMPgj0MK66X17YUhhB5uzsT\ngHeMCOFJ0mpiLx9e+pZo34knlTifBtc+ycsmWQ1z3rDI6SYOgxXG71uL0gRgykmm\nKPZpO/bLyCiR5Z2KYVc3rHQU3HTgOu5yLy6c+9C7v/U9AOEGM+iCK65TpjoWc4zd\nQQ4gOsC0p6Hpsk+QLjJg6VfLuQSSaGjlOCZgdbKfd/+RFO+uIEn8rUAVSNECMWEZ\nXriX7613t2Saer9fwRPvm2L7DWzgVGkWqQPabumDk3F2xmmFghcCAwEAAaNCMEAw\nDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFI/wS3+o\nLkUkrk1Q+mOai97i3Ru8MA0GCSqGSIb3DQEBCwUAA4IBAQBLQNvAUKr+yAzv95ZU\nRUm7lgAJQayzE4aGKAczymvmdLm6AC2upArT9fHxD4q/c2dKg8dEe3jgr25sbwMp\njjM5RcOO5LlXbKr8EpbsU8Yt5CRsuZRj+9xTaGdWPoO4zzUhw8lo/s7awlOqzJCK\n6fBdRoyV3XpYKBovHd7NADdBj+1EbddTKJd+82cEHhXXipa0095MJ6RMG3NzdvQX\nmcIfeg7jLQitChws/zyrVQ4PkX4268NXSb7hLi18YIvDQVETI53O9zJrlAGomecs\nMx86OyXShkDOOyyGeMlhLxS67ttVb9+E7gUJTb0o2HLO02JQZR7rkpeDMdmztcpH\nWD9f\n-----END CERTIFICATE-----"; + }; +}; +export default TLSProfiles; diff --git a/node_modules/ioredis/built/constants/TLSProfiles.js b/node_modules/ioredis/built/constants/TLSProfiles.js new file mode 100644 index 0000000..f90760d --- /dev/null +++ b/node_modules/ioredis/built/constants/TLSProfiles.js @@ -0,0 +1,149 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +/** + * TLS settings for Redis Cloud. Updated on 2022-08-19. + */ +const RedisCloudCA = `-----BEGIN CERTIFICATE----- +MIIDTzCCAjegAwIBAgIJAKSVpiDswLcwMA0GCSqGSIb3DQEBBQUAMD4xFjAUBgNV +BAoMDUdhcmFudGlhIERhdGExJDAiBgNVBAMMG1NTTCBDZXJ0aWZpY2F0aW9uIEF1 +dGhvcml0eTAeFw0xMzEwMDExMjE0NTVaFw0yMzA5MjkxMjE0NTVaMD4xFjAUBgNV +BAoMDUdhcmFudGlhIERhdGExJDAiBgNVBAMMG1NTTCBDZXJ0aWZpY2F0aW9uIEF1 +dGhvcml0eTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALZqkh/DczWP +JnxnHLQ7QL0T4B4CDKWBKCcisriGbA6ZePWVNo4hfKQC6JrzfR+081NeD6VcWUiz +rmd+jtPhIY4c+WVQYm5PKaN6DT1imYdxQw7aqO5j2KUCEh/cznpLxeSHoTxlR34E +QwF28Wl3eg2vc5ct8LjU3eozWVk3gb7alx9mSA2SgmuX5lEQawl++rSjsBStemY2 +BDwOpAMXIrdEyP/cVn8mkvi/BDs5M5G+09j0gfhyCzRWMQ7Hn71u1eolRxwVxgi3 +TMn+/vTaFSqxKjgck6zuAYjBRPaHe7qLxHNr1So/Mc9nPy+3wHebFwbIcnUojwbp +4nctkWbjb2cCAwEAAaNQME4wHQYDVR0OBBYEFP1whtcrydmW3ZJeuSoKZIKjze3w +MB8GA1UdIwQYMBaAFP1whtcrydmW3ZJeuSoKZIKjze3wMAwGA1UdEwQFMAMBAf8w +DQYJKoZIhvcNAQEFBQADggEBAG2erXhwRAa7+ZOBs0B6X57Hwyd1R4kfmXcs0rta +lbPpvgULSiB+TCbf3EbhJnHGyvdCY1tvlffLjdA7HJ0PCOn+YYLBA0pTU/dyvrN6 +Su8NuS5yubnt9mb13nDGYo1rnt0YRfxN+8DM3fXIVr038A30UlPX2Ou1ExFJT0MZ +uFKY6ZvLdI6/1cbgmguMlAhM+DhKyV6Sr5699LM3zqeI816pZmlREETYkGr91q7k +BpXJu/dtHaGxg1ZGu6w/PCsYGUcECWENYD4VQPd8N32JjOfu6vEgoEAwfPP+3oGp +Z4m3ewACcWOAenqflb+cQYC4PsF7qbXDmRaWrbKntOlZ3n0= +-----END CERTIFICATE----- +-----BEGIN CERTIFICATE----- +MIIGMTCCBBmgAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwajELMAkGA1UEBhMCVVMx +CzAJBgNVBAgMAkNBMQswCQYDVQQHDAJDQTESMBAGA1UECgwJUmVkaXNMYWJzMS0w +KwYDVQQDDCRSZWRpc0xhYnMgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcN +MTgwMjI1MTUzNzM3WhcNMjgwMjIzMTUzNzM3WjBfMQswCQYDVQQGEwJVUzELMAkG +A1UECAwCQ0ExEjAQBgNVBAoMCVJlZGlzTGFiczEvMC0GA1UEAwwmUkNQIEludGVy +bWVkaWF0ZSBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUA +A4ICDwAwggIKAoICAQDf9dqbxc8Bq7Ctq9rWcxrGNKKHivqLAFpPq02yLPx6fsOv +Tq7GsDChAYBBc4v7Y2Ap9RD5Vs3dIhEANcnolf27QwrG9RMnnvzk8pCvp1o6zSU4 +VuOE1W66/O1/7e2rVxyrnTcP7UgK43zNIXu7+tiAqWsO92uSnuMoGPGpeaUm1jym +hjWKtkAwDFSqvHY+XL5qDVBEjeUe+WHkYUg40cAXjusAqgm2hZt29c2wnVrxW25W +P0meNlzHGFdA2AC5z54iRiqj57dTfBTkHoBczQxcyw6hhzxZQ4e5I5zOKjXXEhZN +r0tA3YC14CTabKRus/JmZieyZzRgEy2oti64tmLYTqSlAD78pRL40VNoaSYetXLw +hhNsXCHgWaY6d5bLOc/aIQMAV5oLvZQKvuXAF1IDmhPA+bZbpWipp0zagf1P1H3s +UzsMdn2KM0ejzgotbtNlj5TcrVwpmvE3ktvUAuA+hi3FkVx1US+2Gsp5x4YOzJ7u +P1WPk6ShF0JgnJH2ILdj6kttTWwFzH17keSFICWDfH/+kM+k7Y1v3EXMQXE7y0T9 +MjvJskz6d/nv+sQhY04xt64xFMGTnZjlJMzfQNi7zWFLTZnDD0lPowq7l3YiPoTT +t5Xky83lu0KZsZBo0WlWaDG00gLVdtRgVbcuSWxpi5BdLb1kRab66JptWjxwXQID +AQABo4HrMIHoMDoGA1UdHwQzMDEwL6AtoCuGKWh0dHBzOi8vcmwtY2Etc2VydmVy +LnJlZGlzbGFicy5jb20vdjEvY3JsMEYGCCsGAQUFBwEBBDowODA2BggrBgEFBQcw +AYYqaHR0cHM6Ly9ybC1jYS1zZXJ2ZXIucmVkaXNsYWJzLmNvbS92MS9vY3NwMB0G +A1UdDgQWBBQHar5OKvQUpP2qWt6mckzToeCOHDAfBgNVHSMEGDAWgBQi42wH6hM4 +L2sujEvLM0/u8lRXTzASBgNVHRMBAf8ECDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIB +hjANBgkqhkiG9w0BAQsFAAOCAgEAirEn/iTsAKyhd+pu2W3Z5NjCko4NPU0EYUbr +AP7+POK2rzjIrJO3nFYQ/LLuC7KCXG+2qwan2SAOGmqWst13Y+WHp44Kae0kaChW +vcYLXXSoGQGC8QuFSNUdaeg3RbMDYFT04dOkqufeWVccoHVxyTSg9eD8LZuHn5jw +7QDLiEECBmIJHk5Eeo2TAZrx4Yx6ufSUX5HeVjlAzqwtAqdt99uCJ/EL8bgpWbe+ +XoSpvUv0SEC1I1dCAhCKAvRlIOA6VBcmzg5Am12KzkqTul12/VEFIgzqu0Zy2Jbc +AUPrYVu/+tOGXQaijy7YgwH8P8n3s7ZeUa1VABJHcxrxYduDDJBLZi+MjheUDaZ1 +jQRHYevI2tlqeSBqdPKG4zBY5lS0GiAlmuze5oENt0P3XboHoZPHiqcK3VECgTVh +/BkJcuudETSJcZDmQ8YfoKfBzRQNg2sv/hwvUv73Ss51Sco8GEt2lD8uEdib1Q6z +zDT5lXJowSzOD5ZA9OGDjnSRL+2riNtKWKEqvtEG3VBJoBzu9GoxbAc7wIZLxmli +iF5a/Zf5X+UXD3s4TMmy6C4QZJpAA2egsSQCnraWO2ULhh7iXMysSkF/nzVfZn43 +iqpaB8++9a37hWq14ZmOv0TJIDz//b2+KC4VFXWQ5W5QC6whsjT+OlG4p5ZYG0jo +616pxqo= +-----END CERTIFICATE----- +-----BEGIN CERTIFICATE----- +MIIFujCCA6KgAwIBAgIJAJ1aTT1lu2ScMA0GCSqGSIb3DQEBCwUAMGoxCzAJBgNV +BAYTAlVTMQswCQYDVQQIDAJDQTELMAkGA1UEBwwCQ0ExEjAQBgNVBAoMCVJlZGlz +TGFiczEtMCsGA1UEAwwkUmVkaXNMYWJzIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9y +aXR5MB4XDTE4MDIyNTE1MjA0MloXDTM4MDIyMDE1MjA0MlowajELMAkGA1UEBhMC +VVMxCzAJBgNVBAgMAkNBMQswCQYDVQQHDAJDQTESMBAGA1UECgwJUmVkaXNMYWJz +MS0wKwYDVQQDDCRSZWRpc0xhYnMgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkw +ggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDLEjXy7YrbN5Waau5cd6g1 +G5C2tMmeTpZ0duFAPxNU4oE3RHS5gGiok346fUXuUxbZ6QkuzeN2/2Z+RmRcJhQY +Dm0ZgdG4x59An1TJfnzKKoWj8ISmoHS/TGNBdFzXV7FYNLBuqZouqePI6ReC6Qhl +pp45huV32Q3a6IDrrvx7Wo5ZczEQeFNbCeCOQYNDdTmCyEkHqc2AGo8eoIlSTutT +ULOC7R5gzJVTS0e1hesQ7jmqHjbO+VQS1NAL4/5K6cuTEqUl+XhVhPdLWBXJQ5ag +54qhX4v+ojLzeU1R/Vc6NjMvVtptWY6JihpgplprN0Yh2556ewcXMeturcKgXfGJ +xeYzsjzXerEjrVocX5V8BNrg64NlifzTMKNOOv4fVZszq1SIHR8F9ROrqiOdh8iC +JpUbLpXH9hWCSEO6VRMB2xJoKu3cgl63kF30s77x7wLFMEHiwsQRKxooE1UhgS9K +2sO4TlQ1eWUvFvHSTVDQDlGQ6zu4qjbOpb3Q8bQwoK+ai2alkXVR4Ltxe9QlgYK3 +StsnPhruzZGA0wbXdpw0bnM+YdlEm5ffSTpNIfgHeaa7Dtb801FtA71ZlH7A6TaI +SIQuUST9EKmv7xrJyx0W1pGoPOLw5T029aTjnICSLdtV9bLwysrLhIYG5bnPq78B +cS+jZHFGzD7PUVGQD01nOQIDAQABo2MwYTAdBgNVHQ4EFgQUIuNsB+oTOC9rLoxL +yzNP7vJUV08wHwYDVR0jBBgwFoAUIuNsB+oTOC9rLoxLyzNP7vJUV08wDwYDVR0T +AQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAYYwDQYJKoZIhvcNAQELBQADggIBAHfg +z5pMNUAKdMzK1aS1EDdK9yKz4qicILz5czSLj1mC7HKDRy8cVADUxEICis++CsCu +rYOvyCVergHQLREcxPq4rc5Nq1uj6J6649NEeh4WazOOjL4ZfQ1jVznMbGy+fJm3 +3Hoelv6jWRG9iqeJZja7/1s6YC6bWymI/OY1e4wUKeNHAo+Vger7MlHV+RuabaX+ +hSJ8bJAM59NCM7AgMTQpJCncrcdLeceYniGy5Q/qt2b5mJkQVkIdy4TPGGB+AXDJ +D0q3I/JDRkDUFNFdeW0js7fHdsvCR7O3tJy5zIgEV/o/BCkmJVtuwPYOrw/yOlKj +TY/U7ATAx9VFF6/vYEOMYSmrZlFX+98L6nJtwDqfLB5VTltqZ4H/KBxGE3IRSt9l +FXy40U+LnXzhhW+7VBAvyYX8GEXhHkKU8Gqk1xitrqfBXY74xKgyUSTolFSfFVgj +mcM/X4K45bka+qpkj7Kfv/8D4j6aZekwhN2ly6hhC1SmQ8qjMjpG/mrWOSSHZFmf +ybu9iD2AYHeIOkshIl6xYIa++Q/00/vs46IzAbQyriOi0XxlSMMVtPx0Q3isp+ji +n8Mq9eOuxYOEQ4of8twUkUDd528iwGtEdwf0Q01UyT84S62N8AySl1ZBKXJz6W4F +UhWfa/HQYOAPDdEjNgnVwLI23b8t0TozyCWw7q8h +-----END CERTIFICATE----- + +-----BEGIN CERTIFICATE----- +MIIEjzCCA3egAwIBAgIQe55B/ALCKJDZtdNT8kD6hTANBgkqhkiG9w0BAQsFADBM +MSAwHgYDVQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xv +YmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2lnbjAeFw0yMjAxMjYxMjAwMDBaFw0y +NTAxMjYwMDAwMDBaMFgxCzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWdu +IG52LXNhMS4wLAYDVQQDEyVHbG9iYWxTaWduIEF0bGFzIFIzIE9WIFRMUyBDQSAy +MDIyIFEyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmGmg1LW9b7Lf +8zDD83yBDTEkt+FOxKJZqF4veWc5KZsQj9HfnUS2e5nj/E+JImlGPsQuoiosLuXD +BVBNAMcUFa11buFMGMeEMwiTmCXoXRrXQmH0qjpOfKgYc5gHG3BsRGaRrf7VR4eg +ofNMG9wUBw4/g/TT7+bQJdA4NfE7Y4d5gEryZiBGB/swaX6Jp/8MF4TgUmOWmalK +dZCKyb4sPGQFRTtElk67F7vU+wdGcrcOx1tDcIB0ncjLPMnaFicagl+daWGsKqTh +counQb6QJtYHa91KvCfKWocMxQ7OIbB5UARLPmC4CJ1/f8YFm35ebfzAeULYdGXu +jE9CLor0OwIDAQABo4IBXzCCAVswDgYDVR0PAQH/BAQDAgGGMB0GA1UdJQQWMBQG +CCsGAQUFBwMBBggrBgEFBQcDAjASBgNVHRMBAf8ECDAGAQH/AgEAMB0GA1UdDgQW +BBSH5Zq7a7B/t95GfJWkDBpA8HHqdjAfBgNVHSMEGDAWgBSP8Et/qC5FJK5NUPpj +move4t0bvDB7BggrBgEFBQcBAQRvMG0wLgYIKwYBBQUHMAGGImh0dHA6Ly9vY3Nw +Mi5nbG9iYWxzaWduLmNvbS9yb290cjMwOwYIKwYBBQUHMAKGL2h0dHA6Ly9zZWN1 +cmUuZ2xvYmFsc2lnbi5jb20vY2FjZXJ0L3Jvb3QtcjMuY3J0MDYGA1UdHwQvMC0w +K6ApoCeGJWh0dHA6Ly9jcmwuZ2xvYmFsc2lnbi5jb20vcm9vdC1yMy5jcmwwIQYD +VR0gBBowGDAIBgZngQwBAgIwDAYKKwYBBAGgMgoBAjANBgkqhkiG9w0BAQsFAAOC +AQEAKRic9/f+nmhQU/wz04APZLjgG5OgsuUOyUEZjKVhNGDwxGTvKhyXGGAMW2B/ +3bRi+aElpXwoxu3pL6fkElbX3B0BeS5LoDtxkyiVEBMZ8m+sXbocwlPyxrPbX6mY +0rVIvnuUeBH8X0L5IwfpNVvKnBIilTbcebfHyXkPezGwz7E1yhUULjJFm2bt0SdX +y+4X/WeiiYIv+fTVgZZgl+/2MKIsu/qdBJc3f3TvJ8nz+Eax1zgZmww+RSQWeOj3 +15Iw6Z5FX+NwzY/Ab+9PosR5UosSeq+9HhtaxZttXG1nVh+avYPGYddWmiMT90J5 +ZgKnO/Fx2hBgTxhOTMYaD312kg== +-----END CERTIFICATE----- + +-----BEGIN CERTIFICATE----- +MIIDXzCCAkegAwIBAgILBAAAAAABIVhTCKIwDQYJKoZIhvcNAQELBQAwTDEgMB4G +A1UECxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjMxEzARBgNVBAoTCkdsb2JhbFNp +Z24xEzARBgNVBAMTCkdsb2JhbFNpZ24wHhcNMDkwMzE4MTAwMDAwWhcNMjkwMzE4 +MTAwMDAwWjBMMSAwHgYDVQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEG +A1UEChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2lnbjCCASIwDQYJKoZI +hvcNAQEBBQADggEPADCCAQoCggEBAMwldpB5BngiFvXAg7aEyiie/QV2EcWtiHL8 +RgJDx7KKnQRfJMsuS+FggkbhUqsMgUdwbN1k0ev1LKMPgj0MK66X17YUhhB5uzsT +gHeMCOFJ0mpiLx9e+pZo34knlTifBtc+ycsmWQ1z3rDI6SYOgxXG71uL0gRgykmm +KPZpO/bLyCiR5Z2KYVc3rHQU3HTgOu5yLy6c+9C7v/U9AOEGM+iCK65TpjoWc4zd +QQ4gOsC0p6Hpsk+QLjJg6VfLuQSSaGjlOCZgdbKfd/+RFO+uIEn8rUAVSNECMWEZ +XriX7613t2Saer9fwRPvm2L7DWzgVGkWqQPabumDk3F2xmmFghcCAwEAAaNCMEAw +DgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFI/wS3+o +LkUkrk1Q+mOai97i3Ru8MA0GCSqGSIb3DQEBCwUAA4IBAQBLQNvAUKr+yAzv95ZU +RUm7lgAJQayzE4aGKAczymvmdLm6AC2upArT9fHxD4q/c2dKg8dEe3jgr25sbwMp +jjM5RcOO5LlXbKr8EpbsU8Yt5CRsuZRj+9xTaGdWPoO4zzUhw8lo/s7awlOqzJCK +6fBdRoyV3XpYKBovHd7NADdBj+1EbddTKJd+82cEHhXXipa0095MJ6RMG3NzdvQX +mcIfeg7jLQitChws/zyrVQ4PkX4268NXSb7hLi18YIvDQVETI53O9zJrlAGomecs +Mx86OyXShkDOOyyGeMlhLxS67ttVb9+E7gUJTb0o2HLO02JQZR7rkpeDMdmztcpH +WD9f +-----END CERTIFICATE-----`; +const TLSProfiles = { + RedisCloudFixed: { ca: RedisCloudCA }, + RedisCloudFlexible: { ca: RedisCloudCA }, +}; +exports.default = TLSProfiles; diff --git a/node_modules/ioredis/built/errors/ClusterAllFailedError.d.ts b/node_modules/ioredis/built/errors/ClusterAllFailedError.d.ts new file mode 100644 index 0000000..870640f --- /dev/null +++ b/node_modules/ioredis/built/errors/ClusterAllFailedError.d.ts @@ -0,0 +1,7 @@ +import { RedisError } from "redis-errors"; +export default class ClusterAllFailedError extends RedisError { + lastNodeError: RedisError; + static defaultMessage: string; + constructor(message: any, lastNodeError: RedisError); + get name(): string; +} diff --git a/node_modules/ioredis/built/errors/ClusterAllFailedError.js b/node_modules/ioredis/built/errors/ClusterAllFailedError.js new file mode 100644 index 0000000..c223f16 --- /dev/null +++ b/node_modules/ioredis/built/errors/ClusterAllFailedError.js @@ -0,0 +1,15 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const redis_errors_1 = require("redis-errors"); +class ClusterAllFailedError extends redis_errors_1.RedisError { + constructor(message, lastNodeError) { + super(message); + this.lastNodeError = lastNodeError; + Error.captureStackTrace(this, this.constructor); + } + get name() { + return this.constructor.name; + } +} +exports.default = ClusterAllFailedError; +ClusterAllFailedError.defaultMessage = "Failed to refresh slots cache."; diff --git a/node_modules/ioredis/built/errors/MaxRetriesPerRequestError.d.ts b/node_modules/ioredis/built/errors/MaxRetriesPerRequestError.d.ts new file mode 100644 index 0000000..9c4b4e5 --- /dev/null +++ b/node_modules/ioredis/built/errors/MaxRetriesPerRequestError.d.ts @@ -0,0 +1,5 @@ +import { AbortError } from "redis-errors"; +export default class MaxRetriesPerRequestError extends AbortError { + constructor(maxRetriesPerRequest: number); + get name(): string; +} diff --git a/node_modules/ioredis/built/errors/MaxRetriesPerRequestError.js b/node_modules/ioredis/built/errors/MaxRetriesPerRequestError.js new file mode 100644 index 0000000..d8c8e1d --- /dev/null +++ b/node_modules/ioredis/built/errors/MaxRetriesPerRequestError.js @@ -0,0 +1,14 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const redis_errors_1 = require("redis-errors"); +class MaxRetriesPerRequestError extends redis_errors_1.AbortError { + constructor(maxRetriesPerRequest) { + const message = `Reached the max retries per request limit (which is ${maxRetriesPerRequest}). Refer to "maxRetriesPerRequest" option for details.`; + super(message); + Error.captureStackTrace(this, this.constructor); + } + get name() { + return this.constructor.name; + } +} +exports.default = MaxRetriesPerRequestError; diff --git a/node_modules/ioredis/built/errors/index.d.ts b/node_modules/ioredis/built/errors/index.d.ts new file mode 100644 index 0000000..6d25308 --- /dev/null +++ b/node_modules/ioredis/built/errors/index.d.ts @@ -0,0 +1,2 @@ +import MaxRetriesPerRequestError from "./MaxRetriesPerRequestError"; +export { MaxRetriesPerRequestError }; diff --git a/node_modules/ioredis/built/errors/index.js b/node_modules/ioredis/built/errors/index.js new file mode 100644 index 0000000..02b72a9 --- /dev/null +++ b/node_modules/ioredis/built/errors/index.js @@ -0,0 +1,5 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.MaxRetriesPerRequestError = void 0; +const MaxRetriesPerRequestError_1 = require("./MaxRetriesPerRequestError"); +exports.MaxRetriesPerRequestError = MaxRetriesPerRequestError_1.default; diff --git a/node_modules/ioredis/built/index.d.ts b/node_modules/ioredis/built/index.d.ts new file mode 100644 index 0000000..d98fa59 --- /dev/null +++ b/node_modules/ioredis/built/index.d.ts @@ -0,0 +1,43 @@ +export { default } from "./Redis"; +export { default as Redis } from "./Redis"; +export { default as Cluster } from "./cluster"; +/** + * @ignore + */ +export { default as Command } from "./Command"; +/** + * @ignore + */ +export { default as RedisCommander, Result, ClientContext, } from "./utils/RedisCommander"; +/** + * @ignore + */ +export { default as ScanStream } from "./ScanStream"; +/** + * @ignore + */ +export { default as Pipeline } from "./Pipeline"; +/** + * @ignore + */ +export { default as AbstractConnector } from "./connectors/AbstractConnector"; +/** + * @ignore + */ +export { default as SentinelConnector, SentinelIterator, } from "./connectors/SentinelConnector"; +/** + * @ignore + */ +export { Callback } from "./types"; +export { SentinelAddress, SentinelConnectionOptions, } from "./connectors/SentinelConnector"; +export { StandaloneConnectionOptions } from "./connectors/StandaloneConnector"; +export { RedisOptions, CommonRedisOptions } from "./redis/RedisOptions"; +export { ClusterNode } from "./cluster"; +export { ClusterOptions, DNSLookupFunction, DNSResolveSrvFunction, NatMap, } from "./cluster/ClusterOptions"; +export { NodeRole } from "./cluster/util"; +export type { RedisKey, RedisValue, ChainableCommander, } from "./utils/RedisCommander"; +export declare const ReplyError: any; +/** + * @ignore + */ +export declare function print(err: Error | null, reply?: any): void; diff --git a/node_modules/ioredis/built/index.js b/node_modules/ioredis/built/index.js new file mode 100644 index 0000000..24a1895 --- /dev/null +++ b/node_modules/ioredis/built/index.js @@ -0,0 +1,62 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.print = exports.ReplyError = exports.SentinelIterator = exports.SentinelConnector = exports.AbstractConnector = exports.Pipeline = exports.ScanStream = exports.Command = exports.Cluster = exports.Redis = exports.default = void 0; +exports = module.exports = require("./Redis").default; +var Redis_1 = require("./Redis"); +Object.defineProperty(exports, "default", { enumerable: true, get: function () { return Redis_1.default; } }); +var Redis_2 = require("./Redis"); +Object.defineProperty(exports, "Redis", { enumerable: true, get: function () { return Redis_2.default; } }); +var cluster_1 = require("./cluster"); +Object.defineProperty(exports, "Cluster", { enumerable: true, get: function () { return cluster_1.default; } }); +/** + * @ignore + */ +var Command_1 = require("./Command"); +Object.defineProperty(exports, "Command", { enumerable: true, get: function () { return Command_1.default; } }); +/** + * @ignore + */ +var ScanStream_1 = require("./ScanStream"); +Object.defineProperty(exports, "ScanStream", { enumerable: true, get: function () { return ScanStream_1.default; } }); +/** + * @ignore + */ +var Pipeline_1 = require("./Pipeline"); +Object.defineProperty(exports, "Pipeline", { enumerable: true, get: function () { return Pipeline_1.default; } }); +/** + * @ignore + */ +var AbstractConnector_1 = require("./connectors/AbstractConnector"); +Object.defineProperty(exports, "AbstractConnector", { enumerable: true, get: function () { return AbstractConnector_1.default; } }); +/** + * @ignore + */ +var SentinelConnector_1 = require("./connectors/SentinelConnector"); +Object.defineProperty(exports, "SentinelConnector", { enumerable: true, get: function () { return SentinelConnector_1.default; } }); +Object.defineProperty(exports, "SentinelIterator", { enumerable: true, get: function () { return SentinelConnector_1.SentinelIterator; } }); +// No TS typings +exports.ReplyError = require("redis-errors").ReplyError; +/** + * @ignore + */ +Object.defineProperty(exports, "Promise", { + get() { + console.warn("ioredis v5 does not support plugging third-party Promise library anymore. Native Promise will be used."); + return Promise; + }, + set(_lib) { + console.warn("ioredis v5 does not support plugging third-party Promise library anymore. Native Promise will be used."); + }, +}); +/** + * @ignore + */ +function print(err, reply) { + if (err) { + console.log("Error: " + err); + } + else { + console.log("Reply: " + reply); + } +} +exports.print = print; diff --git a/node_modules/ioredis/built/redis/RedisOptions.d.ts b/node_modules/ioredis/built/redis/RedisOptions.d.ts new file mode 100644 index 0000000..6242728 --- /dev/null +++ b/node_modules/ioredis/built/redis/RedisOptions.d.ts @@ -0,0 +1,197 @@ +import { CommanderOptions } from "../utils/Commander"; +import ConnectorConstructor from "../connectors/ConnectorConstructor"; +import { SentinelConnectionOptions } from "../connectors/SentinelConnector"; +import { StandaloneConnectionOptions } from "../connectors/StandaloneConnector"; +export declare type ReconnectOnError = (err: Error) => boolean | 1 | 2; +export interface CommonRedisOptions extends CommanderOptions { + Connector?: ConnectorConstructor | undefined; + retryStrategy?: ((times: number) => number | void | null) | undefined; + /** + * If a command does not return a reply within a set number of milliseconds, + * a "Command timed out" error will be thrown. + */ + commandTimeout?: number | undefined; + /** + * Enables client-side timeout protection for blocking commands when set + * to a positive number. If `blockingTimeout` is undefined, `0`, or + * negative (e.g. `-1`), the protection is disabled and no client-side + * timers are installed for blocking commands. + */ + blockingTimeout?: number | undefined; + /** + * Grace period (ms) added to blocking command timeouts. Only used when + * `blockingTimeout` is a positive number. Defaults to 100ms. + */ + blockingTimeoutGrace?: number | undefined; + /** + * If the socket does not receive data within a set number of milliseconds: + * 1. the socket is considered "dead" and will be destroyed + * 2. the client will reject any running commands (altought they might have been processed by the server) + * 3. the reconnect strategy will kick in (depending on the configuration) + */ + socketTimeout?: number | undefined; + /** + * Enable/disable keep-alive functionality. + * @link https://nodejs.org/api/net.html#socketsetkeepaliveenable-initialdelay + * @default 0 + */ + keepAlive?: number | undefined; + /** + * Enable/disable the use of Nagle's algorithm. + * @link https://nodejs.org/api/net.html#socketsetnodelaynodelay + * @default true + */ + noDelay?: boolean | undefined; + /** + * Set the name of the connection to make it easier to identity the connection + * in client list. + * @link https://redis.io/commands/client-setname + */ + connectionName?: string | undefined; + /** + * If true, skips setting library info via CLIENT SETINFO. + * @link https://redis.io/docs/latest/commands/client-setinfo/ + * @default false + */ + disableClientInfo?: boolean | undefined; + /** + * Tag to append to the library name in CLIENT SETINFO (ioredis(tag)). + * @link https://redis.io/docs/latest/commands/client-setinfo/ + * @default undefined + */ + clientInfoTag?: string | undefined; + /** + * If set, client will send AUTH command with the value of this option as the first argument when connected. + * This is supported since Redis 6. + */ + username?: string | undefined; + /** + * If set, client will send AUTH command with the value of this option when connected. + */ + password?: string | undefined; + /** + * Database index to use. + * + * @default 0 + */ + db?: number | undefined; + /** + * When the client reconnects, channels subscribed in the previous connection will be + * resubscribed automatically if `autoResubscribe` is `true`. + * @default true + */ + autoResubscribe?: boolean | undefined; + /** + * Whether or not to resend unfulfilled commands on reconnect. + * Unfulfilled commands are most likely to be blocking commands such as `brpop` or `blpop`. + * @default true + */ + autoResendUnfulfilledCommands?: boolean | undefined; + /** + * Whether or not to reconnect on certain Redis errors. + * This options by default is `null`, which means it should never reconnect on Redis errors. + * You can pass a function that accepts an Redis error, and returns: + * - `true` or `1` to trigger a reconnection. + * - `false` or `0` to not reconnect. + * - `2` to reconnect and resend the failed command (who triggered the error) after reconnection. + * @example + * ```js + * const redis = new Redis({ + * reconnectOnError(err) { + * const targetError = "READONLY"; + * if (err.message.includes(targetError)) { + * // Only reconnect when the error contains "READONLY" + * return true; // or `return 1;` + * } + * }, + * }); + * ``` + * @default null + */ + reconnectOnError?: ReconnectOnError | null | undefined; + /** + * @default false + */ + readOnly?: boolean | undefined; + /** + * When enabled, numbers returned by Redis will be converted to JavaScript strings instead of numbers. + * This is necessary if you want to handle big numbers (above `Number.MAX_SAFE_INTEGER` === 2^53). + * @default false + */ + stringNumbers?: boolean | undefined; + /** + * How long the client will wait before killing a socket due to inactivity during initial connection. + * @default 10000 + */ + connectTimeout?: number | undefined; + /** + * This option is used internally when you call `redis.monitor()` to tell Redis + * to enter the monitor mode when the connection is established. + * + * @default false + */ + monitor?: boolean | undefined; + /** + * The commands that don't get a reply due to the connection to the server is lost are + * put into a queue and will be resent on reconnect (if allowed by the `retryStrategy` option). + * This option is used to configure how many reconnection attempts should be allowed before + * the queue is flushed with a `MaxRetriesPerRequestError` error. + * Set this options to `null` instead of a number to let commands wait forever + * until the connection is alive again. + * + * @default 20 + */ + maxRetriesPerRequest?: number | null | undefined; + /** + * @default 10000 + */ + maxLoadingRetryTime?: number | undefined; + /** + * @default false + */ + enableAutoPipelining?: boolean | undefined; + /** + * @default [] + */ + autoPipeliningIgnoredCommands?: string[] | undefined; + offlineQueue?: boolean | undefined; + commandQueue?: boolean | undefined; + /** + * + * By default, if the connection to Redis server has not been established, commands are added to a queue + * and are executed once the connection is "ready" (when `enableReadyCheck` is true, "ready" means + * the Redis server has loaded the database from disk, otherwise means the connection to the Redis + * server has been established). If this option is false, when execute the command when the connection + * isn't ready, an error will be returned. + * + * @default true + */ + enableOfflineQueue?: boolean | undefined; + /** + * The client will sent an INFO command to check whether the server is still loading data from the disk ( + * which happens when the server is just launched) when the connection is established, and only wait until + * the loading process is finished before emitting the `ready` event. + * + * @default true + */ + enableReadyCheck?: boolean | undefined; + /** + * When a Redis instance is initialized, a connection to the server is immediately established. Set this to + * true will delay the connection to the server until the first command is sent or `redis.connect()` is called + * explicitly. When `redis.connect()` is called explicitly, a Promise is returned, which will be resolved + * when the connection is ready or rejected when it fails. The rejection should be handled by the user. + * + * @default false + */ + lazyConnect?: boolean | undefined; + /** + * @default undefined + */ + scripts?: Record | undefined; +} +export declare type RedisOptions = CommonRedisOptions & SentinelConnectionOptions & StandaloneConnectionOptions; +export declare const DEFAULT_REDIS_OPTIONS: RedisOptions; diff --git a/node_modules/ioredis/built/redis/RedisOptions.js b/node_modules/ioredis/built/redis/RedisOptions.js new file mode 100644 index 0000000..99ee7dc --- /dev/null +++ b/node_modules/ioredis/built/redis/RedisOptions.js @@ -0,0 +1,58 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DEFAULT_REDIS_OPTIONS = void 0; +exports.DEFAULT_REDIS_OPTIONS = { + // Connection + port: 6379, + host: "localhost", + family: 0, + connectTimeout: 10000, + disconnectTimeout: 2000, + retryStrategy: function (times) { + return Math.min(times * 50, 2000); + }, + keepAlive: 0, + noDelay: true, + connectionName: null, + disableClientInfo: false, + clientInfoTag: undefined, + // Sentinel + sentinels: null, + name: null, + role: "master", + sentinelRetryStrategy: function (times) { + return Math.min(times * 10, 1000); + }, + sentinelReconnectStrategy: function () { + // This strategy only applies when sentinels are used for detecting + // a failover, not during initial master resolution. + // The deployment can still function when some of the sentinels are down + // for a long period of time, so we may not want to attempt reconnection + // very often. Therefore the default interval is fairly long (1 minute). + return 60000; + }, + natMap: null, + enableTLSForSentinelMode: false, + updateSentinels: true, + failoverDetector: false, + // Status + username: null, + password: null, + db: 0, + // Others + enableOfflineQueue: true, + enableReadyCheck: true, + autoResubscribe: true, + autoResendUnfulfilledCommands: true, + lazyConnect: false, + keyPrefix: "", + reconnectOnError: null, + readOnly: false, + stringNumbers: false, + maxRetriesPerRequest: 20, + maxLoadingRetryTime: 10000, + enableAutoPipelining: false, + autoPipeliningIgnoredCommands: [], + sentinelMaxConnections: 10, + blockingTimeoutGrace: 100, +}; diff --git a/node_modules/ioredis/built/redis/event_handler.d.ts b/node_modules/ioredis/built/redis/event_handler.d.ts new file mode 100644 index 0000000..1ce79dd --- /dev/null +++ b/node_modules/ioredis/built/redis/event_handler.d.ts @@ -0,0 +1,4 @@ +export declare function connectHandler(self: any): () => void; +export declare function closeHandler(self: any): () => void; +export declare function errorHandler(self: any): (error: any) => void; +export declare function readyHandler(self: any): () => void; diff --git a/node_modules/ioredis/built/redis/event_handler.js b/node_modules/ioredis/built/redis/event_handler.js new file mode 100644 index 0000000..ba8b1dc --- /dev/null +++ b/node_modules/ioredis/built/redis/event_handler.js @@ -0,0 +1,315 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.readyHandler = exports.errorHandler = exports.closeHandler = exports.connectHandler = void 0; +const redis_errors_1 = require("redis-errors"); +const Command_1 = require("../Command"); +const errors_1 = require("../errors"); +const utils_1 = require("../utils"); +const DataHandler_1 = require("../DataHandler"); +const debug = (0, utils_1.Debug)("connection"); +function connectHandler(self) { + return function () { + var _a; + self.setStatus("connect"); + self.resetCommandQueue(); + // AUTH command should be processed before any other commands + let flushed = false; + const { connectionEpoch } = self; + if (self.condition.auth) { + self.auth(self.condition.auth, function (err) { + if (connectionEpoch !== self.connectionEpoch) { + return; + } + if (err) { + if (err.message.indexOf("no password is set") !== -1) { + console.warn("[WARN] Redis server does not require a password, but a password was supplied."); + } + else if (err.message.indexOf("without any password configured for the default user") !== -1) { + console.warn("[WARN] This Redis server's `default` user does not require a password, but a password was supplied"); + } + else if (err.message.indexOf("wrong number of arguments for 'auth' command") !== -1) { + console.warn(`[ERROR] The server returned "wrong number of arguments for 'auth' command". You are probably passing both username and password to Redis version 5 or below. You should only pass the 'password' option for Redis version 5 and under.`); + } + else { + flushed = true; + self.recoverFromFatalError(err, err); + } + } + }); + } + if (self.condition.select) { + self.select(self.condition.select).catch((err) => { + // If the node is in cluster mode, select is disallowed. + // In this case, reconnect won't help. + self.silentEmit("error", err); + }); + } + /* + No need to keep the reference of DataHandler here + because we don't need to do the cleanup. + `Stream#end()` will remove all listeners for us. + */ + new DataHandler_1.default(self, { + stringNumbers: self.options.stringNumbers, + }); + const clientCommandPromises = []; + if (self.options.connectionName) { + debug("set the connection name [%s]", self.options.connectionName); + clientCommandPromises.push(self.client("setname", self.options.connectionName).catch(utils_1.noop)); + } + if (!self.options.disableClientInfo) { + debug("set the client info"); + clientCommandPromises.push((0, utils_1.getPackageMeta)() + .then((packageMeta) => { + return self + .client("SETINFO", "LIB-VER", packageMeta.version) + .catch(utils_1.noop); + }) + .catch(utils_1.noop)); + clientCommandPromises.push(self + .client("SETINFO", "LIB-NAME", ((_a = self.options) === null || _a === void 0 ? void 0 : _a.clientInfoTag) + ? `ioredis(${self.options.clientInfoTag})` + : "ioredis") + .catch(utils_1.noop)); + } + Promise.all(clientCommandPromises) + .catch(utils_1.noop) + .finally(() => { + if (!self.options.enableReadyCheck) { + exports.readyHandler(self)(); + } + if (self.options.enableReadyCheck) { + self._readyCheck(function (err, info) { + if (connectionEpoch !== self.connectionEpoch) { + return; + } + if (err) { + if (!flushed) { + self.recoverFromFatalError(new Error("Ready check failed: " + err.message), err); + } + } + else { + if (self.connector.check(info)) { + exports.readyHandler(self)(); + } + else { + self.disconnect(true); + } + } + }); + } + }); + }; +} +exports.connectHandler = connectHandler; +function abortError(command) { + const err = new redis_errors_1.AbortError("Command aborted due to connection close"); + err.command = { + name: command.name, + args: command.args, + }; + return err; +} +// If a contiguous set of pipeline commands starts from index zero then they +// can be safely reattempted. If however we have a chain of pipelined commands +// starting at index 1 or more it means we received a partial response before +// the connection close and those pipelined commands must be aborted. For +// example, if the queue looks like this: [2, 3, 4, 0, 1, 2] then after +// aborting and purging we'll have a queue that looks like this: [0, 1, 2] +function abortIncompletePipelines(commandQueue) { + var _a; + let expectedIndex = 0; + for (let i = 0; i < commandQueue.length;) { + const command = (_a = commandQueue.peekAt(i)) === null || _a === void 0 ? void 0 : _a.command; + const pipelineIndex = command.pipelineIndex; + if (pipelineIndex === undefined || pipelineIndex === 0) { + expectedIndex = 0; + } + if (pipelineIndex !== undefined && pipelineIndex !== expectedIndex++) { + commandQueue.remove(i, 1); + command.reject(abortError(command)); + continue; + } + i++; + } +} +// If only a partial transaction result was received before connection close, +// we have to abort any transaction fragments that may have ended up in the +// offline queue +function abortTransactionFragments(commandQueue) { + var _a; + for (let i = 0; i < commandQueue.length;) { + const command = (_a = commandQueue.peekAt(i)) === null || _a === void 0 ? void 0 : _a.command; + if (command.name === "multi") { + break; + } + if (command.name === "exec") { + commandQueue.remove(i, 1); + command.reject(abortError(command)); + break; + } + if (command.inTransaction) { + commandQueue.remove(i, 1); + command.reject(abortError(command)); + } + else { + i++; + } + } +} +function closeHandler(self) { + return function () { + const prevStatus = self.status; + self.setStatus("close"); + if (self.commandQueue.length) { + abortIncompletePipelines(self.commandQueue); + } + if (self.offlineQueue.length) { + abortTransactionFragments(self.offlineQueue); + } + if (prevStatus === "ready") { + if (!self.prevCondition) { + self.prevCondition = self.condition; + } + if (self.commandQueue.length) { + self.prevCommandQueue = self.commandQueue; + } + } + if (self.manuallyClosing) { + self.manuallyClosing = false; + debug("skip reconnecting since the connection is manually closed."); + return close(); + } + if (typeof self.options.retryStrategy !== "function") { + debug("skip reconnecting because `retryStrategy` is not a function"); + return close(); + } + const retryDelay = self.options.retryStrategy(++self.retryAttempts); + if (typeof retryDelay !== "number") { + debug("skip reconnecting because `retryStrategy` doesn't return a number"); + return close(); + } + debug("reconnect in %sms", retryDelay); + self.setStatus("reconnecting", retryDelay); + self.reconnectTimeout = setTimeout(function () { + self.reconnectTimeout = null; + self.connect().catch(utils_1.noop); + }, retryDelay); + const { maxRetriesPerRequest } = self.options; + if (typeof maxRetriesPerRequest === "number") { + if (maxRetriesPerRequest < 0) { + debug("maxRetriesPerRequest is negative, ignoring..."); + } + else { + const remainder = self.retryAttempts % (maxRetriesPerRequest + 1); + if (remainder === 0) { + debug("reach maxRetriesPerRequest limitation, flushing command queue..."); + self.flushQueue(new errors_1.MaxRetriesPerRequestError(maxRetriesPerRequest)); + } + } + } + }; + function close() { + self.setStatus("end"); + self.flushQueue(new Error(utils_1.CONNECTION_CLOSED_ERROR_MSG)); + } +} +exports.closeHandler = closeHandler; +function errorHandler(self) { + return function (error) { + debug("error: %s", error); + self.silentEmit("error", error); + }; +} +exports.errorHandler = errorHandler; +function readyHandler(self) { + return function () { + self.setStatus("ready"); + self.retryAttempts = 0; + if (self.options.monitor) { + self.call("monitor").then(() => self.setStatus("monitoring"), (error) => self.emit("error", error)); + const { sendCommand } = self; + self.sendCommand = function (command) { + if (Command_1.default.checkFlag("VALID_IN_MONITOR_MODE", command.name)) { + return sendCommand.call(self, command); + } + command.reject(new Error("Connection is in monitoring mode, can't process commands.")); + return command.promise; + }; + self.once("close", function () { + delete self.sendCommand; + }); + return; + } + const finalSelect = self.prevCondition + ? self.prevCondition.select + : self.condition.select; + if (self.options.readOnly) { + debug("set the connection to readonly mode"); + self.readonly().catch(utils_1.noop); + } + if (self.prevCondition) { + const condition = self.prevCondition; + self.prevCondition = null; + if (condition.subscriber && self.options.autoResubscribe) { + // We re-select the previous db first since + // `SELECT` command is not valid in sub mode. + if (self.condition.select !== finalSelect) { + debug("connect to db [%d]", finalSelect); + self.select(finalSelect); + } + const subscribeChannels = condition.subscriber.channels("subscribe"); + if (subscribeChannels.length) { + debug("subscribe %d channels", subscribeChannels.length); + self.subscribe(subscribeChannels); + } + const psubscribeChannels = condition.subscriber.channels("psubscribe"); + if (psubscribeChannels.length) { + debug("psubscribe %d channels", psubscribeChannels.length); + self.psubscribe(psubscribeChannels); + } + const ssubscribeChannels = condition.subscriber.channels("ssubscribe"); + if (ssubscribeChannels.length) { + debug("ssubscribe %s", ssubscribeChannels.length); + for (const channel of ssubscribeChannels) { + self.ssubscribe(channel); + } + } + } + } + if (self.prevCommandQueue) { + if (self.options.autoResendUnfulfilledCommands) { + debug("resend %d unfulfilled commands", self.prevCommandQueue.length); + while (self.prevCommandQueue.length > 0) { + const item = self.prevCommandQueue.shift(); + if (item.select !== self.condition.select && + item.command.name !== "select") { + self.select(item.select); + } + self.sendCommand(item.command, item.stream); + } + } + else { + self.prevCommandQueue = null; + } + } + if (self.offlineQueue.length) { + debug("send %d commands in offline queue", self.offlineQueue.length); + const offlineQueue = self.offlineQueue; + self.resetOfflineQueue(); + while (offlineQueue.length > 0) { + const item = offlineQueue.shift(); + if (item.select !== self.condition.select && + item.command.name !== "select") { + self.select(item.select); + } + self.sendCommand(item.command, item.stream); + } + } + if (self.condition.select !== finalSelect) { + debug("connect to db [%d]", finalSelect); + self.select(finalSelect); + } + }; +} +exports.readyHandler = readyHandler; diff --git a/node_modules/ioredis/built/transaction.d.ts b/node_modules/ioredis/built/transaction.d.ts new file mode 100644 index 0000000..d499f25 --- /dev/null +++ b/node_modules/ioredis/built/transaction.d.ts @@ -0,0 +1,13 @@ +import { ChainableCommander } from "./utils/RedisCommander"; +export interface Transaction { + pipeline(commands?: unknown[][]): ChainableCommander; + multi(options: { + pipeline: false; + }): Promise<"OK">; + multi(): ChainableCommander; + multi(options: { + pipeline: true; + }): ChainableCommander; + multi(commands?: unknown[][]): ChainableCommander; +} +export declare function addTransactionSupport(redis: any): void; diff --git a/node_modules/ioredis/built/transaction.js b/node_modules/ioredis/built/transaction.js new file mode 100644 index 0000000..468fa8f --- /dev/null +++ b/node_modules/ioredis/built/transaction.js @@ -0,0 +1,93 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.addTransactionSupport = void 0; +const utils_1 = require("./utils"); +const standard_as_callback_1 = require("standard-as-callback"); +const Pipeline_1 = require("./Pipeline"); +function addTransactionSupport(redis) { + redis.pipeline = function (commands) { + const pipeline = new Pipeline_1.default(this); + if (Array.isArray(commands)) { + pipeline.addBatch(commands); + } + return pipeline; + }; + const { multi } = redis; + redis.multi = function (commands, options) { + if (typeof options === "undefined" && !Array.isArray(commands)) { + options = commands; + commands = null; + } + if (options && options.pipeline === false) { + return multi.call(this); + } + const pipeline = new Pipeline_1.default(this); + // @ts-expect-error + pipeline.multi(); + if (Array.isArray(commands)) { + pipeline.addBatch(commands); + } + const exec = pipeline.exec; + pipeline.exec = function (callback) { + // Wait for the cluster to be connected, since we need nodes information before continuing + if (this.isCluster && !this.redis.slots.length) { + if (this.redis.status === "wait") + this.redis.connect().catch(utils_1.noop); + return (0, standard_as_callback_1.default)(new Promise((resolve, reject) => { + this.redis.delayUntilReady((err) => { + if (err) { + reject(err); + return; + } + this.exec(pipeline).then(resolve, reject); + }); + }), callback); + } + if (this._transactions > 0) { + exec.call(pipeline); + } + // Returns directly when the pipeline + // has been called multiple times (retries). + if (this.nodeifiedPromise) { + return exec.call(pipeline); + } + const promise = exec.call(pipeline); + return (0, standard_as_callback_1.default)(promise.then(function (result) { + const execResult = result[result.length - 1]; + if (typeof execResult === "undefined") { + throw new Error("Pipeline cannot be used to send any commands when the `exec()` has been called on it."); + } + if (execResult[0]) { + execResult[0].previousErrors = []; + for (let i = 0; i < result.length - 1; ++i) { + if (result[i][0]) { + execResult[0].previousErrors.push(result[i][0]); + } + } + throw execResult[0]; + } + return (0, utils_1.wrapMultiResult)(execResult[1]); + }), callback); + }; + // @ts-expect-error + const { execBuffer } = pipeline; + // @ts-expect-error + pipeline.execBuffer = function (callback) { + if (this._transactions > 0) { + execBuffer.call(pipeline); + } + return pipeline.exec(callback); + }; + return pipeline; + }; + const { exec } = redis; + redis.exec = function (callback) { + return (0, standard_as_callback_1.default)(exec.call(this).then(function (results) { + if (Array.isArray(results)) { + results = (0, utils_1.wrapMultiResult)(results); + } + return results; + }), callback); + }; +} +exports.addTransactionSupport = addTransactionSupport; diff --git a/node_modules/ioredis/built/types.d.ts b/node_modules/ioredis/built/types.d.ts new file mode 100644 index 0000000..e6d95a9 --- /dev/null +++ b/node_modules/ioredis/built/types.d.ts @@ -0,0 +1,33 @@ +/// +import { Socket } from "net"; +import { TLSSocket } from "tls"; +export declare type Callback = (err?: Error | null, result?: T) => void; +export declare type NetStream = Socket | TLSSocket; +export declare type CommandParameter = string | Buffer | number | any[]; +export interface Respondable { + name: string; + args: CommandParameter[]; + resolve(result: any): void; + reject(error: Error): void; +} +export interface PipelineWriteableStream { + isPipeline: true; + write(data: string | Buffer): unknown; + destination: { + redis: { + stream: NetStream; + }; + }; +} +export declare type WriteableStream = NetStream | PipelineWriteableStream; +export interface CommandItem { + command: Respondable; + stream: WriteableStream; + select: number; +} +export interface ScanStreamOptions { + match?: string; + type?: string; + count?: number; + noValues?: boolean; +} diff --git a/node_modules/ioredis/built/types.js b/node_modules/ioredis/built/types.js new file mode 100644 index 0000000..c8ad2e5 --- /dev/null +++ b/node_modules/ioredis/built/types.js @@ -0,0 +1,2 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/node_modules/ioredis/built/utils/Commander.d.ts b/node_modules/ioredis/built/utils/Commander.d.ts new file mode 100644 index 0000000..cbee525 --- /dev/null +++ b/node_modules/ioredis/built/utils/Commander.d.ts @@ -0,0 +1,50 @@ +import Command from "../Command"; +import { WriteableStream } from "../types"; +import RedisCommander, { ClientContext } from "./RedisCommander"; +export interface CommanderOptions { + keyPrefix?: string | undefined; + showFriendlyErrorStack?: boolean | undefined; +} +declare class Commander { + options: CommanderOptions; + /** + * @ignore + */ + scriptsSet: {}; + /** + * @ignore + */ + addedBuiltinSet: Set; + /** + * Return supported builtin commands + */ + getBuiltinCommands(): string[]; + /** + * Create a builtin command + */ + createBuiltinCommand(commandName: string): { + string: any; + buffer: any; + }; + /** + * Create add builtin command + */ + addBuiltinCommand(commandName: string): void; + /** + * Define a custom command using lua script + */ + defineCommand(name: string, definition: { + lua: string; + numberOfKeys?: number; + readOnly?: boolean; + }): void; + /** + * @ignore + */ + sendCommand(command: Command, stream?: WriteableStream, node?: unknown): unknown; +} +interface Commander extends RedisCommander { +} +export default Commander; diff --git a/node_modules/ioredis/built/utils/Commander.js b/node_modules/ioredis/built/utils/Commander.js new file mode 100644 index 0000000..31a9155 --- /dev/null +++ b/node_modules/ioredis/built/utils/Commander.js @@ -0,0 +1,117 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const commands_1 = require("@ioredis/commands"); +const autoPipelining_1 = require("../autoPipelining"); +const Command_1 = require("../Command"); +const Script_1 = require("../Script"); +// eslint-disable-next-line @typescript-eslint/no-unused-vars +class Commander { + constructor() { + this.options = {}; + /** + * @ignore + */ + this.scriptsSet = {}; + /** + * @ignore + */ + this.addedBuiltinSet = new Set(); + } + /** + * Return supported builtin commands + */ + getBuiltinCommands() { + return commands.slice(0); + } + /** + * Create a builtin command + */ + createBuiltinCommand(commandName) { + return { + string: generateFunction(null, commandName, "utf8"), + buffer: generateFunction(null, commandName, null), + }; + } + /** + * Create add builtin command + */ + addBuiltinCommand(commandName) { + this.addedBuiltinSet.add(commandName); + this[commandName] = generateFunction(commandName, commandName, "utf8"); + this[commandName + "Buffer"] = generateFunction(commandName + "Buffer", commandName, null); + } + /** + * Define a custom command using lua script + */ + defineCommand(name, definition) { + const script = new Script_1.default(definition.lua, definition.numberOfKeys, this.options.keyPrefix, definition.readOnly); + this.scriptsSet[name] = script; + this[name] = generateScriptingFunction(name, name, script, "utf8"); + this[name + "Buffer"] = generateScriptingFunction(name + "Buffer", name, script, null); + } + /** + * @ignore + */ + sendCommand(command, stream, node) { + throw new Error('"sendCommand" is not implemented'); + } +} +const commands = commands_1.list.filter((command) => command !== "monitor"); +commands.push("sentinel"); +commands.forEach(function (commandName) { + Commander.prototype[commandName] = generateFunction(commandName, commandName, "utf8"); + Commander.prototype[commandName + "Buffer"] = generateFunction(commandName + "Buffer", commandName, null); +}); +Commander.prototype.call = generateFunction("call", "utf8"); +Commander.prototype.callBuffer = generateFunction("callBuffer", null); +// @ts-expect-error +Commander.prototype.send_command = Commander.prototype.call; +function generateFunction(functionName, _commandName, _encoding) { + if (typeof _encoding === "undefined") { + _encoding = _commandName; + _commandName = null; + } + return function (...args) { + const commandName = (_commandName || args.shift()); + let callback = args[args.length - 1]; + if (typeof callback === "function") { + args.pop(); + } + else { + callback = undefined; + } + const options = { + errorStack: this.options.showFriendlyErrorStack ? new Error() : undefined, + keyPrefix: this.options.keyPrefix, + replyEncoding: _encoding, + }; + // No auto pipeline, use regular command sending + if (!(0, autoPipelining_1.shouldUseAutoPipelining)(this, functionName, commandName)) { + return this.sendCommand( + // @ts-expect-error + new Command_1.default(commandName, args, options, callback)); + } + // Create a new pipeline and make sure it's scheduled + return (0, autoPipelining_1.executeWithAutoPipelining)(this, functionName, commandName, + // @ts-expect-error + args, callback); + }; +} +function generateScriptingFunction(functionName, commandName, script, encoding) { + return function (...args) { + const callback = typeof args[args.length - 1] === "function" ? args.pop() : undefined; + const options = { + replyEncoding: encoding, + }; + if (this.options.showFriendlyErrorStack) { + options.errorStack = new Error(); + } + // No auto pipeline, use regular command sending + if (!(0, autoPipelining_1.shouldUseAutoPipelining)(this, functionName, commandName)) { + return script.execute(this, args, options, callback); + } + // Create a new pipeline and make sure it's scheduled + return (0, autoPipelining_1.executeWithAutoPipelining)(this, functionName, commandName, args, callback); + }; +} +exports.default = Commander; diff --git a/node_modules/ioredis/built/utils/RedisCommander.d.ts b/node_modules/ioredis/built/utils/RedisCommander.d.ts new file mode 100644 index 0000000..4074af3 --- /dev/null +++ b/node_modules/ioredis/built/utils/RedisCommander.d.ts @@ -0,0 +1,8950 @@ +/** + * This file is generated by @ioredis/interface-generator. + * Don't edit it manually. Instead, run `npm run generate` to update + * this file. + */ +/// +import { Callback } from "../types"; +export declare type RedisKey = string | Buffer; +export declare type RedisValue = string | Buffer | number; +export interface ResultTypes { + default: Promise; + pipeline: ChainableCommander; +} +export interface ChainableCommander extends RedisCommander<{ + type: "pipeline"; +}> { + length: number; +} +export declare type ClientContext = { + type: keyof ResultTypes; +}; +export declare type Result = ResultTypes[Context["type"]]; +interface RedisCommander { + /** + * Call arbitrary commands. + * + * `redis.call('set', 'foo', 'bar')` is the same as `redis.set('foo', 'bar')`, + * so the only case you need to use this method is when the command is not + * supported by ioredis. + * + * ```ts + * redis.call('set', 'foo', 'bar'); + * redis.call('get', 'foo', (err, value) => { + * // value === 'bar' + * }); + * ``` + */ + call(command: string, callback?: Callback): Result; + call(command: string, args: (string | Buffer | number)[], callback?: Callback): Result; + call(...args: [ + command: string, + ...args: (string | Buffer | number)[], + callback: Callback + ]): Result; + call(...args: [command: string, ...args: (string | Buffer | number)[]]): Result; + callBuffer(command: string, callback?: Callback): Result; + callBuffer(command: string, args: (string | Buffer | number)[], callback?: Callback): Result; + callBuffer(...args: [ + command: string, + ...args: (string | Buffer | number)[], + callback: Callback + ]): Result; + callBuffer(...args: [command: string, ...args: (string | Buffer | number)[]]): Result; + /** + * List the ACL categories or the commands inside a category + * - _group_: server + * - _complexity_: O(1) since the categories and commands are a fixed set. + * - _since_: 6.0.0 + */ + acl(subcommand: "CAT", callback?: Callback): Result; + acl(subcommand: "CAT", categoryname: string | Buffer, callback?: Callback): Result; + /** + * Remove the specified ACL users and the associated rules + * - _group_: server + * - _complexity_: O(1) amortized time considering the typical user. + * - _since_: 6.0.0 + */ + acl(...args: [ + subcommand: "DELUSER", + ...usernames: (string | Buffer)[], + callback: Callback + ]): Result; + acl(...args: [subcommand: "DELUSER", ...usernames: (string | Buffer)[]]): Result; + /** + * Returns whether the user can execute the given command without executing the command. + * - _group_: server + * - _complexity_: O(1). + * - _since_: 7.0.0 + */ + acl(subcommand: "DRYRUN", username: string | Buffer, command: string | Buffer, callback?: Callback): Result; + aclBuffer(subcommand: "DRYRUN", username: string | Buffer, command: string | Buffer, callback?: Callback): Result; + acl(...args: [ + subcommand: "DRYRUN", + username: string | Buffer, + command: string | Buffer, + ...args: (string | Buffer | number)[], + callback: Callback + ]): Result; + aclBuffer(...args: [ + subcommand: "DRYRUN", + username: string | Buffer, + command: string | Buffer, + ...args: (string | Buffer | number)[], + callback: Callback + ]): Result; + acl(...args: [ + subcommand: "DRYRUN", + username: string | Buffer, + command: string | Buffer, + ...args: (string | Buffer | number)[] + ]): Result; + aclBuffer(...args: [ + subcommand: "DRYRUN", + username: string | Buffer, + command: string | Buffer, + ...args: (string | Buffer | number)[] + ]): Result; + /** + * Generate a pseudorandom secure password to use for ACL users + * - _group_: server + * - _complexity_: O(1) + * - _since_: 6.0.0 + */ + acl(subcommand: "GENPASS", callback?: Callback): Result; + aclBuffer(subcommand: "GENPASS", callback?: Callback): Result; + acl(subcommand: "GENPASS", bits: number | string, callback?: Callback): Result; + aclBuffer(subcommand: "GENPASS", bits: number | string, callback?: Callback): Result; + /** + * Get the rules for a specific ACL user + * - _group_: server + * - _complexity_: O(N). Where N is the number of password, command and pattern rules that the user has. + * - _since_: 6.0.0 + */ + acl(subcommand: "GETUSER", username: string | Buffer, callback?: Callback): Result; + aclBuffer(subcommand: "GETUSER", username: string | Buffer, callback?: Callback): Result; + /** + * Show helpful text about the different subcommands + * - _group_: server + * - _complexity_: O(1) + * - _since_: 6.0.0 + */ + acl(subcommand: "HELP", callback?: Callback): Result; + /** + * List the current ACL rules in ACL config file format + * - _group_: server + * - _complexity_: O(N). Where N is the number of configured users. + * - _since_: 6.0.0 + */ + acl(subcommand: "LIST", callback?: Callback): Result; + aclBuffer(subcommand: "LIST", callback?: Callback): Result; + /** + * Reload the ACLs from the configured ACL file + * - _group_: server + * - _complexity_: O(N). Where N is the number of configured users. + * - _since_: 6.0.0 + */ + acl(subcommand: "LOAD", callback?: Callback<"OK">): Result<"OK", Context>; + /** + * List latest events denied because of ACLs in place + * - _group_: server + * - _complexity_: O(N) with N being the number of entries shown. + * - _since_: 6.0.0 + */ + acl(subcommand: "LOG", callback?: Callback): Result; + acl(subcommand: "LOG", count: number | string, callback?: Callback): Result; + acl(subcommand: "LOG", reset: "RESET", callback?: Callback): Result; + /** + * Save the current ACL rules in the configured ACL file + * - _group_: server + * - _complexity_: O(N). Where N is the number of configured users. + * - _since_: 6.0.0 + */ + acl(subcommand: "SAVE", callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Modify or create the rules for a specific ACL user + * - _group_: server + * - _complexity_: O(N). Where N is the number of rules provided. + * - _since_: 6.0.0 + */ + acl(subcommand: "SETUSER", username: string | Buffer, callback?: Callback<"OK">): Result<"OK", Context>; + acl(...args: [ + subcommand: "SETUSER", + username: string | Buffer, + ...rules: (string | Buffer)[], + callback: Callback<"OK"> + ]): Result<"OK", Context>; + acl(...args: [ + subcommand: "SETUSER", + username: string | Buffer, + ...rules: (string | Buffer)[] + ]): Result<"OK", Context>; + /** + * List the username of all the configured ACL rules + * - _group_: server + * - _complexity_: O(N). Where N is the number of configured users. + * - _since_: 6.0.0 + */ + acl(subcommand: "USERS", callback?: Callback): Result; + aclBuffer(subcommand: "USERS", callback?: Callback): Result; + /** + * Return the name of the user associated to the current connection + * - _group_: server + * - _complexity_: O(1) + * - _since_: 6.0.0 + */ + acl(subcommand: "WHOAMI", callback?: Callback): Result; + aclBuffer(subcommand: "WHOAMI", callback?: Callback): Result; + /** + * Append a value to a key + * - _group_: string + * - _complexity_: O(1). The amortized time complexity is O(1) assuming the appended value is small and the already present value is of any size, since the dynamic string library used by Redis will double the free space available on every reallocation. + * - _since_: 2.0.0 + */ + append(key: RedisKey, value: string | Buffer | number, callback?: Callback): Result; + /** + * Sent by cluster clients after an -ASK redirect + * - _group_: cluster + * - _complexity_: O(1) + * - _since_: 3.0.0 + */ + asking(callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Authenticate to the server + * - _group_: connection + * - _complexity_: O(N) where N is the number of passwords defined for the user + * - _since_: 1.0.0 + */ + auth(password: string | Buffer, callback?: Callback<"OK">): Result<"OK", Context>; + auth(username: string | Buffer, password: string | Buffer, callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Asynchronously rewrite the append-only file + * - _group_: server + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + bgrewriteaof(callback?: Callback): Result; + bgrewriteaofBuffer(callback?: Callback): Result; + /** + * Asynchronously save the dataset to disk + * - _group_: server + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + bgsave(callback?: Callback<"OK">): Result<"OK", Context>; + bgsave(schedule: "SCHEDULE", callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Count set bits in a string + * - _group_: bitmap + * - _complexity_: O(N) + * - _since_: 2.6.0 + */ + bitcount(key: RedisKey, callback?: Callback): Result; + bitcount(key: RedisKey, start: number | string, end: number | string, callback?: Callback): Result; + bitcount(key: RedisKey, start: number | string, end: number | string, byte: "BYTE", callback?: Callback): Result; + bitcount(key: RedisKey, start: number | string, end: number | string, bit: "BIT", callback?: Callback): Result; + /** + * Perform arbitrary bitfield integer operations on strings + * - _group_: bitmap + * - _complexity_: O(1) for each subcommand specified + * - _since_: 3.2.0 + */ + bitfield(key: RedisKey, encodingOffsetToken: "GET", encoding: string | Buffer, offset: number | string, callback?: Callback): Result; + bitfield(key: RedisKey, encodingOffsetValueToken: "SET", encoding: string | Buffer, offset: number | string, value: number | string, callback?: Callback): Result; + bitfield(key: RedisKey, encodingOffsetIncrementToken: "INCRBY", encoding: string | Buffer, offset: number | string, increment: number | string, callback?: Callback): Result; + bitfield(key: RedisKey, overflow: "OVERFLOW", wrap: "WRAP", encodingOffsetValueToken: "SET", encoding: string | Buffer, offset: number | string, value: number | string, callback?: Callback): Result; + bitfield(key: RedisKey, overflow: "OVERFLOW", wrap: "WRAP", encodingOffsetIncrementToken: "INCRBY", encoding: string | Buffer, offset: number | string, increment: number | string, callback?: Callback): Result; + bitfield(key: RedisKey, overflow: "OVERFLOW", sat: "SAT", encodingOffsetValueToken: "SET", encoding: string | Buffer, offset: number | string, value: number | string, callback?: Callback): Result; + bitfield(key: RedisKey, overflow: "OVERFLOW", sat: "SAT", encodingOffsetIncrementToken: "INCRBY", encoding: string | Buffer, offset: number | string, increment: number | string, callback?: Callback): Result; + bitfield(key: RedisKey, overflow: "OVERFLOW", fail: "FAIL", encodingOffsetValueToken: "SET", encoding: string | Buffer, offset: number | string, value: number | string, callback?: Callback): Result; + bitfield(key: RedisKey, overflow: "OVERFLOW", fail: "FAIL", encodingOffsetIncrementToken: "INCRBY", encoding: string | Buffer, offset: number | string, increment: number | string, callback?: Callback): Result; + /** + * Perform arbitrary bitfield integer operations on strings. Read-only variant of BITFIELD + * - _group_: bitmap + * - _complexity_: O(1) for each subcommand specified + * - _since_: 6.0.0 + */ + bitfield_ro(...args: [ + key: RedisKey, + encodingOffsetToken: "GET", + ...encodingOffsets: (string | Buffer | number)[], + callback: Callback + ]): Result; + bitfield_ro(...args: [ + key: RedisKey, + encodingOffsetToken: "GET", + ...encodingOffsets: (string | Buffer | number)[] + ]): Result; + /** + * Perform bitwise operations between strings + * - _group_: bitmap + * - _complexity_: O(N) + * - _since_: 2.6.0 + */ + bitop(...args: [ + operation: string | Buffer, + destkey: RedisKey, + ...keys: RedisKey[], + callback: Callback + ]): Result; + bitop(...args: [ + operation: string | Buffer, + destkey: RedisKey, + keys: RedisKey[], + callback: Callback + ]): Result; + bitop(...args: [ + operation: string | Buffer, + destkey: RedisKey, + ...keys: RedisKey[] + ]): Result; + bitop(...args: [operation: string | Buffer, destkey: RedisKey, keys: RedisKey[]]): Result; + /** + * Find first bit set or clear in a string + * - _group_: bitmap + * - _complexity_: O(N) + * - _since_: 2.8.7 + */ + bitpos(key: RedisKey, bit: number | string, callback?: Callback): Result; + bitpos(key: RedisKey, bit: number | string, start: number | string, callback?: Callback): Result; + bitpos(key: RedisKey, bit: number | string, start: number | string, end: number | string, callback?: Callback): Result; + bitpos(key: RedisKey, bit: number | string, start: number | string, end: number | string, byte: "BYTE", callback?: Callback): Result; + bitpos(key: RedisKey, bit: number | string, start: number | string, end: number | string, bit1: "BIT", callback?: Callback): Result; + /** + * Pop an element from a list, push it to another list and return it; or block until one is available + * - _group_: list + * - _complexity_: O(1) + * - _since_: 6.2.0 + */ + blmove(source: RedisKey, destination: RedisKey, left: "LEFT", left1: "LEFT", timeout: number | string, callback?: Callback): Result; + blmoveBuffer(source: RedisKey, destination: RedisKey, left: "LEFT", left1: "LEFT", timeout: number | string, callback?: Callback): Result; + blmove(source: RedisKey, destination: RedisKey, left: "LEFT", right: "RIGHT", timeout: number | string, callback?: Callback): Result; + blmoveBuffer(source: RedisKey, destination: RedisKey, left: "LEFT", right: "RIGHT", timeout: number | string, callback?: Callback): Result; + blmove(source: RedisKey, destination: RedisKey, right: "RIGHT", left: "LEFT", timeout: number | string, callback?: Callback): Result; + blmoveBuffer(source: RedisKey, destination: RedisKey, right: "RIGHT", left: "LEFT", timeout: number | string, callback?: Callback): Result; + blmove(source: RedisKey, destination: RedisKey, right: "RIGHT", right1: "RIGHT", timeout: number | string, callback?: Callback): Result; + blmoveBuffer(source: RedisKey, destination: RedisKey, right: "RIGHT", right1: "RIGHT", timeout: number | string, callback?: Callback): Result; + /** + * Pop elements from a list, or block until one is available + * - _group_: list + * - _complexity_: O(N+M) where N is the number of provided keys and M is the number of elements returned. + * - _since_: 7.0.0 + */ + blmpop(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + left: "LEFT", + callback: Callback<[key: string, members: string[]] | null> + ]): Result<[key: string, members: string[]] | null, Context>; + blmpopBuffer(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + left: "LEFT", + callback: Callback<[key: Buffer, members: Buffer[]] | null> + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + blmpop(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + left: "LEFT", + callback: Callback<[key: string, members: string[]] | null> + ]): Result<[key: string, members: string[]] | null, Context>; + blmpopBuffer(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + left: "LEFT", + callback: Callback<[key: Buffer, members: Buffer[]] | null> + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + blmpop(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + left: "LEFT" + ]): Result<[key: string, members: string[]] | null, Context>; + blmpopBuffer(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + left: "LEFT" + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + blmpop(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + left: "LEFT" + ]): Result<[key: string, members: string[]] | null, Context>; + blmpopBuffer(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + left: "LEFT" + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + blmpop(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + left: "LEFT", + countToken: "COUNT", + count: number | string, + callback: Callback<[key: string, members: string[]] | null> + ]): Result<[key: string, members: string[]] | null, Context>; + blmpopBuffer(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + left: "LEFT", + countToken: "COUNT", + count: number | string, + callback: Callback<[key: Buffer, members: Buffer[]] | null> + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + blmpop(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + left: "LEFT", + countToken: "COUNT", + count: number | string, + callback: Callback<[key: string, members: string[]] | null> + ]): Result<[key: string, members: string[]] | null, Context>; + blmpopBuffer(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + left: "LEFT", + countToken: "COUNT", + count: number | string, + callback: Callback<[key: Buffer, members: Buffer[]] | null> + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + blmpop(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + left: "LEFT", + countToken: "COUNT", + count: number | string + ]): Result<[key: string, members: string[]] | null, Context>; + blmpopBuffer(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + left: "LEFT", + countToken: "COUNT", + count: number | string + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + blmpop(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + left: "LEFT", + countToken: "COUNT", + count: number | string + ]): Result<[key: string, members: string[]] | null, Context>; + blmpopBuffer(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + left: "LEFT", + countToken: "COUNT", + count: number | string + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + blmpop(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + right: "RIGHT", + callback: Callback<[key: string, members: string[]] | null> + ]): Result<[key: string, members: string[]] | null, Context>; + blmpopBuffer(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + right: "RIGHT", + callback: Callback<[key: Buffer, members: Buffer[]] | null> + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + blmpop(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + right: "RIGHT", + callback: Callback<[key: string, members: string[]] | null> + ]): Result<[key: string, members: string[]] | null, Context>; + blmpopBuffer(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + right: "RIGHT", + callback: Callback<[key: Buffer, members: Buffer[]] | null> + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + blmpop(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + right: "RIGHT" + ]): Result<[key: string, members: string[]] | null, Context>; + blmpopBuffer(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + right: "RIGHT" + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + blmpop(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + right: "RIGHT" + ]): Result<[key: string, members: string[]] | null, Context>; + blmpopBuffer(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + right: "RIGHT" + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + blmpop(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + right: "RIGHT", + countToken: "COUNT", + count: number | string, + callback: Callback<[key: string, members: string[]] | null> + ]): Result<[key: string, members: string[]] | null, Context>; + blmpopBuffer(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + right: "RIGHT", + countToken: "COUNT", + count: number | string, + callback: Callback<[key: Buffer, members: Buffer[]] | null> + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + blmpop(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + right: "RIGHT", + countToken: "COUNT", + count: number | string, + callback: Callback<[key: string, members: string[]] | null> + ]): Result<[key: string, members: string[]] | null, Context>; + blmpopBuffer(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + right: "RIGHT", + countToken: "COUNT", + count: number | string, + callback: Callback<[key: Buffer, members: Buffer[]] | null> + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + blmpop(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + right: "RIGHT", + countToken: "COUNT", + count: number | string + ]): Result<[key: string, members: string[]] | null, Context>; + blmpopBuffer(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + right: "RIGHT", + countToken: "COUNT", + count: number | string + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + blmpop(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + right: "RIGHT", + countToken: "COUNT", + count: number | string + ]): Result<[key: string, members: string[]] | null, Context>; + blmpopBuffer(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + right: "RIGHT", + countToken: "COUNT", + count: number | string + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + /** + * Remove and get the first element in a list, or block until one is available + * - _group_: list + * - _complexity_: O(N) where N is the number of provided keys. + * - _since_: 2.0.0 + */ + blpop(...args: [ + ...keys: RedisKey[], + timeout: number | string, + callback: Callback<[string, string] | null> + ]): Result<[string, string] | null, Context>; + blpopBuffer(...args: [ + ...keys: RedisKey[], + timeout: number | string, + callback: Callback<[Buffer, Buffer] | null> + ]): Result<[Buffer, Buffer] | null, Context>; + blpop(...args: [ + keys: RedisKey[], + timeout: number | string, + callback: Callback<[string, string] | null> + ]): Result<[string, string] | null, Context>; + blpopBuffer(...args: [ + keys: RedisKey[], + timeout: number | string, + callback: Callback<[Buffer, Buffer] | null> + ]): Result<[Buffer, Buffer] | null, Context>; + blpop(...args: [...keys: RedisKey[], timeout: number | string]): Result<[string, string] | null, Context>; + blpopBuffer(...args: [...keys: RedisKey[], timeout: number | string]): Result<[Buffer, Buffer] | null, Context>; + blpop(...args: [keys: RedisKey[], timeout: number | string]): Result<[string, string] | null, Context>; + blpopBuffer(...args: [keys: RedisKey[], timeout: number | string]): Result<[Buffer, Buffer] | null, Context>; + /** + * Remove and get the last element in a list, or block until one is available + * - _group_: list + * - _complexity_: O(N) where N is the number of provided keys. + * - _since_: 2.0.0 + */ + brpop(...args: [ + ...keys: RedisKey[], + timeout: number | string, + callback: Callback<[string, string] | null> + ]): Result<[string, string] | null, Context>; + brpopBuffer(...args: [ + ...keys: RedisKey[], + timeout: number | string, + callback: Callback<[Buffer, Buffer] | null> + ]): Result<[Buffer, Buffer] | null, Context>; + brpop(...args: [ + keys: RedisKey[], + timeout: number | string, + callback: Callback<[string, string] | null> + ]): Result<[string, string] | null, Context>; + brpopBuffer(...args: [ + keys: RedisKey[], + timeout: number | string, + callback: Callback<[Buffer, Buffer] | null> + ]): Result<[Buffer, Buffer] | null, Context>; + brpop(...args: [...keys: RedisKey[], timeout: number | string]): Result<[string, string] | null, Context>; + brpopBuffer(...args: [...keys: RedisKey[], timeout: number | string]): Result<[Buffer, Buffer] | null, Context>; + brpop(...args: [keys: RedisKey[], timeout: number | string]): Result<[string, string] | null, Context>; + brpopBuffer(...args: [keys: RedisKey[], timeout: number | string]): Result<[Buffer, Buffer] | null, Context>; + /** + * Pop an element from a list, push it to another list and return it; or block until one is available + * - _group_: list + * - _complexity_: O(1) + * - _since_: 2.2.0 + */ + brpoplpush(source: RedisKey, destination: RedisKey, timeout: number | string, callback?: Callback): Result; + brpoplpushBuffer(source: RedisKey, destination: RedisKey, timeout: number | string, callback?: Callback): Result; + /** + * Remove and return members with scores in a sorted set or block until one is available + * - _group_: sorted-set + * - _complexity_: O(K) + O(N*log(M)) where K is the number of provided keys, N being the number of elements in the sorted set, and M being the number of elements popped. + * - _since_: 7.0.0 + */ + bzmpop(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + min: "MIN", + callback: Callback + ]): Result; + bzmpop(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + min: "MIN", + callback: Callback + ]): Result; + bzmpop(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + min: "MIN" + ]): Result; + bzmpop(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + min: "MIN" + ]): Result; + bzmpop(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + min: "MIN", + countToken: "COUNT", + count: number | string, + callback: Callback + ]): Result; + bzmpop(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + min: "MIN", + countToken: "COUNT", + count: number | string, + callback: Callback + ]): Result; + bzmpop(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + min: "MIN", + countToken: "COUNT", + count: number | string + ]): Result; + bzmpop(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + min: "MIN", + countToken: "COUNT", + count: number | string + ]): Result; + bzmpop(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + max: "MAX", + callback: Callback + ]): Result; + bzmpop(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + max: "MAX", + callback: Callback + ]): Result; + bzmpop(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + max: "MAX" + ]): Result; + bzmpop(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + max: "MAX" + ]): Result; + bzmpop(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + max: "MAX", + countToken: "COUNT", + count: number | string, + callback: Callback + ]): Result; + bzmpop(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + max: "MAX", + countToken: "COUNT", + count: number | string, + callback: Callback + ]): Result; + bzmpop(...args: [ + timeout: number | string, + numkeys: number | string, + ...keys: RedisKey[], + max: "MAX", + countToken: "COUNT", + count: number | string + ]): Result; + bzmpop(...args: [ + timeout: number | string, + numkeys: number | string, + keys: RedisKey[], + max: "MAX", + countToken: "COUNT", + count: number | string + ]): Result; + /** + * Remove and return the member with the highest score from one or more sorted sets, or block until one is available + * - _group_: sorted-set + * - _complexity_: O(log(N)) with N being the number of elements in the sorted set. + * - _since_: 5.0.0 + */ + bzpopmax(...args: [ + ...keys: RedisKey[], + timeout: number | string, + callback: Callback<[key: string, member: string, score: string] | null> + ]): Result<[key: string, member: string, score: string] | null, Context>; + bzpopmaxBuffer(...args: [ + ...keys: RedisKey[], + timeout: number | string, + callback: Callback<[key: Buffer, member: Buffer, score: Buffer] | null> + ]): Result<[key: Buffer, member: Buffer, score: Buffer] | null, Context>; + bzpopmax(...args: [ + keys: RedisKey[], + timeout: number | string, + callback: Callback<[key: string, member: string, score: string] | null> + ]): Result<[key: string, member: string, score: string] | null, Context>; + bzpopmaxBuffer(...args: [ + keys: RedisKey[], + timeout: number | string, + callback: Callback<[key: Buffer, member: Buffer, score: Buffer] | null> + ]): Result<[key: Buffer, member: Buffer, score: Buffer] | null, Context>; + bzpopmax(...args: [...keys: RedisKey[], timeout: number | string]): Result<[key: string, member: string, score: string] | null, Context>; + bzpopmaxBuffer(...args: [...keys: RedisKey[], timeout: number | string]): Result<[key: Buffer, member: Buffer, score: Buffer] | null, Context>; + bzpopmax(...args: [keys: RedisKey[], timeout: number | string]): Result<[key: string, member: string, score: string] | null, Context>; + bzpopmaxBuffer(...args: [keys: RedisKey[], timeout: number | string]): Result<[key: Buffer, member: Buffer, score: Buffer] | null, Context>; + /** + * Remove and return the member with the lowest score from one or more sorted sets, or block until one is available + * - _group_: sorted-set + * - _complexity_: O(log(N)) with N being the number of elements in the sorted set. + * - _since_: 5.0.0 + */ + bzpopmin(...args: [ + ...keys: RedisKey[], + timeout: number | string, + callback: Callback<[key: string, member: string, score: string] | null> + ]): Result<[key: string, member: string, score: string] | null, Context>; + bzpopminBuffer(...args: [ + ...keys: RedisKey[], + timeout: number | string, + callback: Callback<[key: Buffer, member: Buffer, score: Buffer] | null> + ]): Result<[key: Buffer, member: Buffer, score: Buffer] | null, Context>; + bzpopmin(...args: [ + keys: RedisKey[], + timeout: number | string, + callback: Callback<[key: string, member: string, score: string] | null> + ]): Result<[key: string, member: string, score: string] | null, Context>; + bzpopminBuffer(...args: [ + keys: RedisKey[], + timeout: number | string, + callback: Callback<[key: Buffer, member: Buffer, score: Buffer] | null> + ]): Result<[key: Buffer, member: Buffer, score: Buffer] | null, Context>; + bzpopmin(...args: [...keys: RedisKey[], timeout: number | string]): Result<[key: string, member: string, score: string] | null, Context>; + bzpopminBuffer(...args: [...keys: RedisKey[], timeout: number | string]): Result<[key: Buffer, member: Buffer, score: Buffer] | null, Context>; + bzpopmin(...args: [keys: RedisKey[], timeout: number | string]): Result<[key: string, member: string, score: string] | null, Context>; + bzpopminBuffer(...args: [keys: RedisKey[], timeout: number | string]): Result<[key: Buffer, member: Buffer, score: Buffer] | null, Context>; + /** + * Instruct the server about tracking or not keys in the next request + * - _group_: connection + * - _complexity_: O(1) + * - _since_: 6.0.0 + */ + client(subcommand: "CACHING", yes: "YES", callback?: Callback<"OK">): Result<"OK", Context>; + client(subcommand: "CACHING", no: "NO", callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Get the current connection name + * - _group_: connection + * - _complexity_: O(1) + * - _since_: 2.6.9 + */ + client(subcommand: "GETNAME", callback?: Callback): Result; + clientBuffer(subcommand: "GETNAME", callback?: Callback): Result; + /** + * Get tracking notifications redirection client ID if any + * - _group_: connection + * - _complexity_: O(1) + * - _since_: 6.0.0 + */ + client(subcommand: "GETREDIR", callback?: Callback): Result; + /** + * Show helpful text about the different subcommands + * - _group_: connection + * - _complexity_: O(1) + * - _since_: 5.0.0 + */ + client(subcommand: "HELP", callback?: Callback): Result; + /** + * Returns the client ID for the current connection + * - _group_: connection + * - _complexity_: O(1) + * - _since_: 5.0.0 + */ + client(subcommand: "ID", callback?: Callback): Result; + /** + * Returns information about the current client connection. + * - _group_: connection + * - _complexity_: O(1) + * - _since_: 6.2.0 + */ + client(subcommand: "INFO", callback?: Callback): Result; + clientBuffer(subcommand: "INFO", callback?: Callback): Result; + /** + * Kill the connection of a client + * - _group_: connection + * - _complexity_: O(N) where N is the number of client connections + * - _since_: 2.4.0 + */ + client(...args: [ + subcommand: "KILL", + ...args: RedisValue[], + callback: Callback + ]): Result; + client(...args: [subcommand: "KILL", ...args: RedisValue[]]): Result; + /** + * Get the list of client connections + * - _group_: connection + * - _complexity_: O(N) where N is the number of client connections + * - _since_: 2.4.0 + */ + client(subcommand: "LIST", callback?: Callback): Result; + client(...args: [ + subcommand: "LIST", + idToken: "ID", + ...clientIds: (number | string)[], + callback: Callback + ]): Result; + client(...args: [ + subcommand: "LIST", + idToken: "ID", + ...clientIds: (number | string)[] + ]): Result; + client(subcommand: "LIST", type: "TYPE", normal: "NORMAL", callback?: Callback): Result; + client(...args: [ + subcommand: "LIST", + type: "TYPE", + normal: "NORMAL", + idToken: "ID", + ...clientIds: (number | string)[], + callback: Callback + ]): Result; + client(...args: [ + subcommand: "LIST", + type: "TYPE", + normal: "NORMAL", + idToken: "ID", + ...clientIds: (number | string)[] + ]): Result; + client(subcommand: "LIST", type: "TYPE", master: "MASTER", callback?: Callback): Result; + client(...args: [ + subcommand: "LIST", + type: "TYPE", + master: "MASTER", + idToken: "ID", + ...clientIds: (number | string)[], + callback: Callback + ]): Result; + client(...args: [ + subcommand: "LIST", + type: "TYPE", + master: "MASTER", + idToken: "ID", + ...clientIds: (number | string)[] + ]): Result; + client(subcommand: "LIST", type: "TYPE", replica: "REPLICA", callback?: Callback): Result; + client(...args: [ + subcommand: "LIST", + type: "TYPE", + replica: "REPLICA", + idToken: "ID", + ...clientIds: (number | string)[], + callback: Callback + ]): Result; + client(...args: [ + subcommand: "LIST", + type: "TYPE", + replica: "REPLICA", + idToken: "ID", + ...clientIds: (number | string)[] + ]): Result; + client(subcommand: "LIST", type: "TYPE", pubsub: "PUBSUB", callback?: Callback): Result; + client(...args: [ + subcommand: "LIST", + type: "TYPE", + pubsub: "PUBSUB", + idToken: "ID", + ...clientIds: (number | string)[], + callback: Callback + ]): Result; + client(...args: [ + subcommand: "LIST", + type: "TYPE", + pubsub: "PUBSUB", + idToken: "ID", + ...clientIds: (number | string)[] + ]): Result; + /** + * Set client eviction mode for the current connection + * - _group_: connection + * - _complexity_: O(1) + * - _since_: 7.0.0 + */ + client(subcommand: "NO-EVICT", on: "ON", callback?: Callback): Result; + client(subcommand: "NO-EVICT", off: "OFF", callback?: Callback): Result; + /** + * Stop processing commands from clients for some time + * - _group_: connection + * - _complexity_: O(1) + * - _since_: 2.9.50 + */ + client(subcommand: "PAUSE", timeout: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + client(subcommand: "PAUSE", timeout: number | string, write: "WRITE", callback?: Callback<"OK">): Result<"OK", Context>; + client(subcommand: "PAUSE", timeout: number | string, all: "ALL", callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Instruct the server whether to reply to commands + * - _group_: connection + * - _complexity_: O(1) + * - _since_: 3.2.0 + */ + client(subcommand: "REPLY", on: "ON", callback?: Callback): Result; + client(subcommand: "REPLY", off: "OFF", callback?: Callback): Result; + client(subcommand: "REPLY", skip: "SKIP", callback?: Callback): Result; + /** + * Set the current connection name + * - _group_: connection + * - _complexity_: O(1) + * - _since_: 2.6.9 + */ + client(subcommand: "SETNAME", connectionName: string | Buffer, callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Enable or disable server assisted client side caching support + * - _group_: connection + * - _complexity_: O(1). Some options may introduce additional complexity. + * - _since_: 6.0.0 + */ + client(...args: [ + subcommand: "TRACKING", + ...args: RedisValue[], + callback: Callback + ]): Result; + client(...args: [subcommand: "TRACKING", ...args: RedisValue[]]): Result; + /** + * Return information about server assisted client side caching for the current connection + * - _group_: connection + * - _complexity_: O(1) + * - _since_: 6.2.0 + */ + client(subcommand: "TRACKINGINFO", callback?: Callback): Result; + clientBuffer(subcommand: "TRACKINGINFO", callback?: Callback): Result; + /** + * Unblock a client blocked in a blocking command from a different connection + * - _group_: connection + * - _complexity_: O(log N) where N is the number of client connections + * - _since_: 5.0.0 + */ + client(subcommand: "UNBLOCK", clientId: number | string, callback?: Callback): Result; + client(subcommand: "UNBLOCK", clientId: number | string, timeout: "TIMEOUT", callback?: Callback): Result; + client(subcommand: "UNBLOCK", clientId: number | string, error: "ERROR", callback?: Callback): Result; + /** + * Resume processing of clients that were paused + * - _group_: connection + * - _complexity_: O(N) Where N is the number of paused clients + * - _since_: 6.2.0 + */ + client(subcommand: "UNPAUSE", callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Assign new hash slots to receiving node + * - _group_: cluster + * - _complexity_: O(N) where N is the total number of hash slot arguments + * - _since_: 3.0.0 + */ + cluster(...args: [ + subcommand: "ADDSLOTS", + ...slots: (number | string)[], + callback: Callback<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [ + host: string, + port: number, + nodeId: string, + info: unknown[] + ][] + ][]> + ]): Result<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [host: string, port: number, nodeId: string, info: unknown[]][] + ][], Context>; + cluster(...args: [ + subcommand: "ADDSLOTS", + slots: (number | string)[], + callback: Callback<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [ + host: string, + port: number, + nodeId: string, + info: unknown[] + ][] + ][]> + ]): Result<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [host: string, port: number, nodeId: string, info: unknown[]][] + ][], Context>; + cluster(...args: [subcommand: "ADDSLOTS", ...slots: (number | string)[]]): Result<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [host: string, port: number, nodeId: string, info: unknown[]][] + ][], Context>; + cluster(...args: [subcommand: "ADDSLOTS", slots: (number | string)[]]): Result<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [host: string, port: number, nodeId: string, info: unknown[]][] + ][], Context>; + /** + * Assign new hash slots to receiving node + * - _group_: cluster + * - _complexity_: O(N) where N is the total number of the slots between the start slot and end slot arguments. + * - _since_: 7.0.0 + */ + cluster(...args: [ + subcommand: "ADDSLOTSRANGE", + ...startSlotEndSlots: (string | number)[], + callback: Callback<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [ + host: string, + port: number, + nodeId: string, + info: unknown[] + ][] + ][]> + ]): Result<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [host: string, port: number, nodeId: string, info: unknown[]][] + ][], Context>; + cluster(...args: [ + subcommand: "ADDSLOTSRANGE", + ...startSlotEndSlots: (string | number)[] + ]): Result<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [host: string, port: number, nodeId: string, info: unknown[]][] + ][], Context>; + /** + * Advance the cluster config epoch + * - _group_: cluster + * - _complexity_: O(1) + * - _since_: 3.0.0 + */ + cluster(subcommand: "BUMPEPOCH", callback?: Callback<"BUMPED" | "STILL">): Result<"BUMPED" | "STILL", Context>; + /** + * Return the number of failure reports active for a given node + * - _group_: cluster + * - _complexity_: O(N) where N is the number of failure reports + * - _since_: 3.0.0 + */ + cluster(subcommand: "COUNT-FAILURE-REPORTS", nodeId: string | Buffer | number, callback?: Callback): Result; + /** + * Return the number of local keys in the specified hash slot + * - _group_: cluster + * - _complexity_: O(1) + * - _since_: 3.0.0 + */ + cluster(subcommand: "COUNTKEYSINSLOT", slot: number | string, callback?: Callback): Result; + /** + * Set hash slots as unbound in receiving node + * - _group_: cluster + * - _complexity_: O(N) where N is the total number of hash slot arguments + * - _since_: 3.0.0 + */ + cluster(...args: [ + subcommand: "DELSLOTS", + ...slots: (number | string)[], + callback: Callback<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [ + host: string, + port: number, + nodeId: string, + info: unknown[] + ][] + ][]> + ]): Result<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [host: string, port: number, nodeId: string, info: unknown[]][] + ][], Context>; + cluster(...args: [ + subcommand: "DELSLOTS", + slots: (number | string)[], + callback: Callback<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [ + host: string, + port: number, + nodeId: string, + info: unknown[] + ][] + ][]> + ]): Result<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [host: string, port: number, nodeId: string, info: unknown[]][] + ][], Context>; + cluster(...args: [subcommand: "DELSLOTS", ...slots: (number | string)[]]): Result<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [host: string, port: number, nodeId: string, info: unknown[]][] + ][], Context>; + cluster(...args: [subcommand: "DELSLOTS", slots: (number | string)[]]): Result<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [host: string, port: number, nodeId: string, info: unknown[]][] + ][], Context>; + /** + * Set hash slots as unbound in receiving node + * - _group_: cluster + * - _complexity_: O(N) where N is the total number of the slots between the start slot and end slot arguments. + * - _since_: 7.0.0 + */ + cluster(...args: [ + subcommand: "DELSLOTSRANGE", + ...startSlotEndSlots: (string | number)[], + callback: Callback<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [ + host: string, + port: number, + nodeId: string, + info: unknown[] + ][] + ][]> + ]): Result<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [host: string, port: number, nodeId: string, info: unknown[]][] + ][], Context>; + cluster(...args: [ + subcommand: "DELSLOTSRANGE", + ...startSlotEndSlots: (string | number)[] + ]): Result<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [host: string, port: number, nodeId: string, info: unknown[]][] + ][], Context>; + /** + * Forces a replica to perform a manual failover of its master. + * - _group_: cluster + * - _complexity_: O(1) + * - _since_: 3.0.0 + */ + cluster(subcommand: "FAILOVER", callback?: Callback<"OK">): Result<"OK", Context>; + cluster(subcommand: "FAILOVER", force: "FORCE", callback?: Callback<"OK">): Result<"OK", Context>; + cluster(subcommand: "FAILOVER", takeover: "TAKEOVER", callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Delete a node's own slots information + * - _group_: cluster + * - _complexity_: O(1) + * - _since_: 3.0.0 + */ + cluster(subcommand: "FLUSHSLOTS", callback?: Callback<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [ + host: string, + port: number, + nodeId: string, + info: unknown[] + ][] + ][]>): Result<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [host: string, port: number, nodeId: string, info: unknown[]][] + ][], Context>; + /** + * Remove a node from the nodes table + * - _group_: cluster + * - _complexity_: O(1) + * - _since_: 3.0.0 + */ + cluster(subcommand: "FORGET", nodeId: string | Buffer | number, callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Return local key names in the specified hash slot + * - _group_: cluster + * - _complexity_: O(log(N)) where N is the number of requested keys + * - _since_: 3.0.0 + */ + cluster(subcommand: "GETKEYSINSLOT", slot: number | string, count: number | string, callback?: Callback): Result; + /** + * Show helpful text about the different subcommands + * - _group_: cluster + * - _complexity_: O(1) + * - _since_: 5.0.0 + */ + cluster(subcommand: "HELP", callback?: Callback): Result; + /** + * Provides info about Redis Cluster node state + * - _group_: cluster + * - _complexity_: O(1) + * - _since_: 3.0.0 + */ + cluster(subcommand: "INFO", callback?: Callback): Result; + /** + * Returns the hash slot of the specified key + * - _group_: cluster + * - _complexity_: O(N) where N is the number of bytes in the key + * - _since_: 3.0.0 + */ + cluster(subcommand: "KEYSLOT", key: string | Buffer, callback?: Callback): Result; + /** + * Returns a list of all TCP links to and from peer nodes in cluster + * - _group_: cluster + * - _complexity_: O(N) where N is the total number of Cluster nodes + * - _since_: 7.0.0 + */ + cluster(subcommand: "LINKS", callback?: Callback): Result; + /** + * Force a node cluster to handshake with another node + * - _group_: cluster + * - _complexity_: O(1) + * - _since_: 3.0.0 + */ + cluster(subcommand: "MEET", ip: string | Buffer, port: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Return the node id + * - _group_: cluster + * - _complexity_: O(1) + * - _since_: 3.0.0 + */ + cluster(subcommand: "MYID", callback?: Callback): Result; + /** + * Get Cluster config for the node + * - _group_: cluster + * - _complexity_: O(N) where N is the total number of Cluster nodes + * - _since_: 3.0.0 + */ + cluster(subcommand: "NODES", callback?: Callback): Result; + /** + * List replica nodes of the specified master node + * - _group_: cluster + * - _complexity_: O(1) + * - _since_: 5.0.0 + */ + cluster(subcommand: "REPLICAS", nodeId: string | Buffer | number, callback?: Callback): Result; + /** + * Reconfigure a node as a replica of the specified master node + * - _group_: cluster + * - _complexity_: O(1) + * - _since_: 3.0.0 + */ + cluster(subcommand: "REPLICATE", nodeId: string | Buffer | number, callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Reset a Redis Cluster node + * - _group_: cluster + * - _complexity_: O(N) where N is the number of known nodes. The command may execute a FLUSHALL as a side effect. + * - _since_: 3.0.0 + */ + cluster(subcommand: "RESET", callback?: Callback<"OK">): Result<"OK", Context>; + cluster(subcommand: "RESET", hard: "HARD", callback?: Callback<"OK">): Result<"OK", Context>; + cluster(subcommand: "RESET", soft: "SOFT", callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Forces the node to save cluster state on disk + * - _group_: cluster + * - _complexity_: O(1) + * - _since_: 3.0.0 + */ + cluster(subcommand: "SAVECONFIG", callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Set the configuration epoch in a new node + * - _group_: cluster + * - _complexity_: O(1) + * - _since_: 3.0.0 + */ + cluster(subcommand: "SET-CONFIG-EPOCH", configEpoch: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Bind a hash slot to a specific node + * - _group_: cluster + * - _complexity_: O(1) + * - _since_: 3.0.0 + */ + cluster(subcommand: "SETSLOT", slot: number | string, nodeIdToken: "IMPORTING", nodeId: string | Buffer | number, callback?: Callback<"OK">): Result<"OK", Context>; + cluster(subcommand: "SETSLOT", slot: number | string, nodeIdToken: "MIGRATING", nodeId: string | Buffer | number, callback?: Callback<"OK">): Result<"OK", Context>; + cluster(subcommand: "SETSLOT", slot: number | string, nodeIdToken: "NODE", nodeId: string | Buffer | number, callback?: Callback<"OK">): Result<"OK", Context>; + cluster(subcommand: "SETSLOT", slot: number | string, stable: "STABLE", callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Get array of cluster slots to node mappings + * - _group_: cluster + * - _complexity_: O(N) where N is the total number of cluster nodes + * - _since_: 7.0.0 + */ + cluster(subcommand: "SHARDS", callback?: Callback): Result; + /** + * List replica nodes of the specified master node + * - _group_: cluster + * - _complexity_: O(1) + * - _since_: 3.0.0 + */ + cluster(subcommand: "SLAVES", nodeId: string | Buffer | number, callback?: Callback): Result; + /** + * Get array of Cluster slot to node mappings + * - _group_: cluster + * - _complexity_: O(N) where N is the total number of Cluster nodes + * - _since_: 3.0.0 + */ + cluster(subcommand: "SLOTS", callback?: Callback<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [ + host: string, + port: number, + nodeId: string, + info: unknown[] + ][] + ][]>): Result<[ + startSlotRange: number, + endSlotRange: number, + ...nodes: [host: string, port: number, nodeId: string, info: unknown[]][] + ][], Context>; + /** + * Get total number of Redis commands + * - _group_: server + * - _complexity_: O(1) + * - _since_: 2.8.13 + */ + command(subcommand: "COUNT", callback?: Callback): Result; + /** + * Get array of specific Redis command documentation + * - _group_: server + * - _complexity_: O(N) where N is the number of commands to look up + * - _since_: 7.0.0 + */ + command(subcommand: "DOCS", callback?: Callback): Result; + command(...args: [ + subcommand: "DOCS", + ...commandNames: (string | Buffer)[], + callback: Callback + ]): Result; + command(...args: [subcommand: "DOCS", ...commandNames: (string | Buffer)[]]): Result; + /** + * Extract keys given a full Redis command + * - _group_: server + * - _complexity_: O(N) where N is the number of arguments to the command + * - _since_: 2.8.13 + */ + command(subcommand: "GETKEYS", callback?: Callback): Result; + /** + * Extract keys and access flags given a full Redis command + * - _group_: server + * - _complexity_: O(N) where N is the number of arguments to the command + * - _since_: 7.0.0 + */ + command(subcommand: "GETKEYSANDFLAGS", callback?: Callback): Result; + /** + * Show helpful text about the different subcommands + * - _group_: server + * - _complexity_: O(1) + * - _since_: 5.0.0 + */ + command(subcommand: "HELP", callback?: Callback): Result; + /** + * Get array of specific Redis command details, or all when no argument is given. + * - _group_: server + * - _complexity_: O(N) where N is the number of commands to look up + * - _since_: 2.8.13 + */ + command(subcommand: "INFO", callback?: Callback): Result; + command(...args: [ + subcommand: "INFO", + ...commandNames: (string | Buffer)[], + callback: Callback + ]): Result; + command(...args: [subcommand: "INFO", ...commandNames: (string | Buffer)[]]): Result; + /** + * Get an array of Redis command names + * - _group_: server + * - _complexity_: O(N) where N is the total number of Redis commands + * - _since_: 7.0.0 + */ + command(subcommand: "LIST", callback?: Callback): Result; + command(subcommand: "LIST", filterby: "FILTERBY", moduleNameToken: "MODULE", moduleName: string | Buffer, callback?: Callback): Result; + command(subcommand: "LIST", filterby: "FILTERBY", categoryToken: "ACLCAT", category: string | Buffer, callback?: Callback): Result; + command(subcommand: "LIST", filterby: "FILTERBY", patternToken: "PATTERN", pattern: string, callback?: Callback): Result; + /** + * Get the values of configuration parameters + * - _group_: server + * - _complexity_: O(N) when N is the number of configuration parameters provided + * - _since_: 2.0.0 + */ + config(...args: [ + subcommand: "GET", + ...parameters: (string | Buffer)[], + callback: Callback + ]): Result; + config(...args: [subcommand: "GET", ...parameters: (string | Buffer)[]]): Result; + /** + * Show helpful text about the different subcommands + * - _group_: server + * - _complexity_: O(1) + * - _since_: 5.0.0 + */ + config(subcommand: "HELP", callback?: Callback): Result; + /** + * Reset the stats returned by INFO + * - _group_: server + * - _complexity_: O(1) + * - _since_: 2.0.0 + */ + config(subcommand: "RESETSTAT", callback?: Callback): Result; + /** + * Rewrite the configuration file with the in memory configuration + * - _group_: server + * - _complexity_: O(1) + * - _since_: 2.8.0 + */ + config(subcommand: "REWRITE", callback?: Callback): Result; + /** + * Set configuration parameters to the given values + * - _group_: server + * - _complexity_: O(N) when N is the number of configuration parameters provided + * - _since_: 2.0.0 + */ + config(...args: [ + subcommand: "SET", + ...parameterValues: (string | Buffer | number)[], + callback: Callback + ]): Result; + config(...args: [ + subcommand: "SET", + ...parameterValues: (string | Buffer | number)[] + ]): Result; + /** + * Copy a key + * - _group_: generic + * - _complexity_: O(N) worst case for collections, where N is the number of nested items. O(1) for string values. + * - _since_: 6.2.0 + */ + copy(source: RedisKey, destination: RedisKey, callback?: Callback): Result; + copy(source: RedisKey, destination: RedisKey, replace: "REPLACE", callback?: Callback): Result; + copy(source: RedisKey, destination: RedisKey, destinationDbToken: "DB", destinationDb: number | string, callback?: Callback): Result; + copy(source: RedisKey, destination: RedisKey, destinationDbToken: "DB", destinationDb: number | string, replace: "REPLACE", callback?: Callback): Result; + /** + * Return the number of keys in the selected database + * - _group_: server + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + dbsize(callback?: Callback): Result; + /** + * A container for debugging commands + * - _group_: server + * - _complexity_: Depends on subcommand. + * - _since_: 1.0.0 + */ + debug(subcommand: string, callback?: Callback): Result; + debug(...args: [ + subcommand: string, + ...args: (string | Buffer | number)[], + callback: Callback + ]): Result; + debug(...args: [subcommand: string, ...args: (string | Buffer | number)[]]): Result; + /** + * Decrement the integer value of a key by one + * - _group_: string + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + decr(key: RedisKey, callback?: Callback): Result; + /** + * Decrement the integer value of a key by the given number + * - _group_: string + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + decrby(key: RedisKey, decrement: number | string, callback?: Callback): Result; + /** + * Delete a key + * - _group_: generic + * - _complexity_: O(N) where N is the number of keys that will be removed. When a key to remove holds a value other than a string, the individual complexity for this key is O(M) where M is the number of elements in the list, set, sorted set or hash. Removing a single key that holds a string value is O(1). + * - _since_: 1.0.0 + */ + del(...args: [...keys: RedisKey[], callback: Callback]): Result; + del(...args: [keys: RedisKey[], callback: Callback]): Result; + del(...args: [...keys: RedisKey[]]): Result; + del(...args: [keys: RedisKey[]]): Result; + /** + * Discard all commands issued after MULTI + * - _group_: transactions + * - _complexity_: O(N), when N is the number of queued commands + * - _since_: 2.0.0 + */ + discard(callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Return a serialized version of the value stored at the specified key. + * - _group_: generic + * - _complexity_: O(1) to access the key and additional O(N*M) to serialize it, where N is the number of Redis objects composing the value and M their average size. For small string values the time complexity is thus O(1)+O(1*M) where M is small, so simply O(1). + * - _since_: 2.6.0 + */ + dump(key: RedisKey, callback?: Callback): Result; + dumpBuffer(key: RedisKey, callback?: Callback): Result; + /** + * Echo the given string + * - _group_: connection + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + echo(message: string | Buffer, callback?: Callback): Result; + echoBuffer(message: string | Buffer, callback?: Callback): Result; + /** + * Execute a Lua script server side + * - _group_: scripting + * - _complexity_: Depends on the script that is executed. + * - _since_: 2.6.0 + */ + eval(script: string | Buffer, numkeys: number | string, callback?: Callback): Result; + eval(...args: [ + script: string | Buffer, + numkeys: number | string, + ...args: (string | Buffer | number)[], + callback: Callback + ]): Result; + eval(...args: [ + script: string | Buffer, + numkeys: number | string, + ...args: (string | Buffer | number)[] + ]): Result; + eval(...args: [ + script: string | Buffer, + numkeys: number | string, + ...keys: RedisKey[], + callback: Callback + ]): Result; + eval(...args: [ + script: string | Buffer, + numkeys: number | string, + keys: RedisKey[], + callback: Callback + ]): Result; + eval(...args: [ + script: string | Buffer, + numkeys: number | string, + ...keys: RedisKey[] + ]): Result; + eval(...args: [ + script: string | Buffer, + numkeys: number | string, + keys: RedisKey[] + ]): Result; + eval(...args: [ + script: string | Buffer, + numkeys: number | string, + ...args: RedisValue[], + callback: Callback + ]): Result; + eval(...args: [ + script: string | Buffer, + numkeys: number | string, + ...args: RedisValue[] + ]): Result; + /** + * Execute a read-only Lua script server side + * - _group_: scripting + * - _complexity_: Depends on the script that is executed. + * - _since_: 7.0.0 + */ + eval_ro(...args: [ + script: string | Buffer, + numkeys: number | string, + ...args: RedisValue[], + callback: Callback + ]): Result; + eval_ro(...args: [ + script: string | Buffer, + numkeys: number | string, + ...args: RedisValue[] + ]): Result; + /** + * Execute a Lua script server side + * - _group_: scripting + * - _complexity_: Depends on the script that is executed. + * - _since_: 2.6.0 + */ + evalsha(sha1: string | Buffer, numkeys: number | string, callback?: Callback): Result; + evalsha(...args: [ + sha1: string | Buffer, + numkeys: number | string, + ...args: (string | Buffer | number)[], + callback: Callback + ]): Result; + evalsha(...args: [ + sha1: string | Buffer, + numkeys: number | string, + ...args: (string | Buffer | number)[] + ]): Result; + evalsha(...args: [ + sha1: string | Buffer, + numkeys: number | string, + ...keys: RedisKey[], + callback: Callback + ]): Result; + evalsha(...args: [ + sha1: string | Buffer, + numkeys: number | string, + keys: RedisKey[], + callback: Callback + ]): Result; + evalsha(...args: [ + sha1: string | Buffer, + numkeys: number | string, + ...keys: RedisKey[] + ]): Result; + evalsha(...args: [sha1: string | Buffer, numkeys: number | string, keys: RedisKey[]]): Result; + evalsha(...args: [ + sha1: string | Buffer, + numkeys: number | string, + ...args: RedisValue[], + callback: Callback + ]): Result; + evalsha(...args: [ + sha1: string | Buffer, + numkeys: number | string, + ...args: RedisValue[] + ]): Result; + /** + * Execute a read-only Lua script server side + * - _group_: scripting + * - _complexity_: Depends on the script that is executed. + * - _since_: 7.0.0 + */ + evalsha_ro(...args: [ + sha1: string | Buffer, + numkeys: number | string, + ...args: RedisValue[], + callback: Callback + ]): Result; + evalsha_ro(...args: [ + sha1: string | Buffer, + numkeys: number | string, + ...args: RedisValue[] + ]): Result; + /** + * Execute all commands issued after MULTI + * - _group_: transactions + * - _complexity_: Depends on commands in the transaction + * - _since_: 1.2.0 + */ + exec(callback?: Callback<[error: Error | null, result: unknown][] | null>): Promise<[error: Error | null, result: unknown][] | null>; + /** + * Determine if a key exists + * - _group_: generic + * - _complexity_: O(N) where N is the number of keys to check. + * - _since_: 1.0.0 + */ + exists(...args: [...keys: RedisKey[], callback: Callback]): Result; + exists(...args: [keys: RedisKey[], callback: Callback]): Result; + exists(...args: [...keys: RedisKey[]]): Result; + exists(...args: [keys: RedisKey[]]): Result; + /** + * Set a key's time to live in seconds + * - _group_: generic + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + expire(key: RedisKey, seconds: number | string, callback?: Callback): Result; + expire(key: RedisKey, seconds: number | string, nx: "NX", callback?: Callback): Result; + expire(key: RedisKey, seconds: number | string, xx: "XX", callback?: Callback): Result; + expire(key: RedisKey, seconds: number | string, gt: "GT", callback?: Callback): Result; + expire(key: RedisKey, seconds: number | string, lt: "LT", callback?: Callback): Result; + /** + * Set the expiration for a key as a UNIX timestamp + * - _group_: generic + * - _complexity_: O(1) + * - _since_: 1.2.0 + */ + expireat(key: RedisKey, unixTimeSeconds: number | string, callback?: Callback): Result; + expireat(key: RedisKey, unixTimeSeconds: number | string, nx: "NX", callback?: Callback): Result; + expireat(key: RedisKey, unixTimeSeconds: number | string, xx: "XX", callback?: Callback): Result; + expireat(key: RedisKey, unixTimeSeconds: number | string, gt: "GT", callback?: Callback): Result; + expireat(key: RedisKey, unixTimeSeconds: number | string, lt: "LT", callback?: Callback): Result; + /** + * Get the expiration Unix timestamp for a key + * - _group_: generic + * - _complexity_: O(1) + * - _since_: 7.0.0 + */ + expiretime(key: RedisKey, callback?: Callback): Result; + /** + * Start a coordinated failover between this server and one of its replicas. + * - _group_: server + * - _complexity_: O(1) + * - _since_: 6.2.0 + */ + failover(callback?: Callback<"OK">): Result<"OK", Context>; + failover(millisecondsToken: "TIMEOUT", milliseconds: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + failover(abort: "ABORT", callback?: Callback<"OK">): Result<"OK", Context>; + failover(abort: "ABORT", millisecondsToken: "TIMEOUT", milliseconds: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + failover(targetToken: "TO", host: string | Buffer, port: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + failover(targetToken: "TO", host: string | Buffer, port: number | string, millisecondsToken: "TIMEOUT", milliseconds: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + failover(targetToken: "TO", host: string | Buffer, port: number | string, abort: "ABORT", callback?: Callback<"OK">): Result<"OK", Context>; + failover(targetToken: "TO", host: string | Buffer, port: number | string, abort: "ABORT", millisecondsToken: "TIMEOUT", milliseconds: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + failover(targetToken: "TO", host: string | Buffer, port: number | string, force: "FORCE", callback?: Callback<"OK">): Result<"OK", Context>; + failover(targetToken: "TO", host: string | Buffer, port: number | string, force: "FORCE", millisecondsToken: "TIMEOUT", milliseconds: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + failover(targetToken: "TO", host: string | Buffer, port: number | string, force: "FORCE", abort: "ABORT", callback?: Callback<"OK">): Result<"OK", Context>; + failover(targetToken: "TO", host: string | Buffer, port: number | string, force: "FORCE", abort: "ABORT", millisecondsToken: "TIMEOUT", milliseconds: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Invoke a function + * - _group_: scripting + * - _complexity_: Depends on the function that is executed. + * - _since_: 7.0.0 + */ + fcall(...args: [ + function: string | Buffer, + numkeys: number | string, + ...args: RedisValue[], + callback: Callback + ]): Result; + fcall(...args: [ + function: string | Buffer, + numkeys: number | string, + ...args: RedisValue[] + ]): Result; + /** + * Invoke a read-only function + * - _group_: scripting + * - _complexity_: Depends on the function that is executed. + * - _since_: 7.0.0 + */ + fcall_ro(...args: [ + function: string | Buffer, + numkeys: number | string, + ...args: RedisValue[], + callback: Callback + ]): Result; + fcall_ro(...args: [ + function: string | Buffer, + numkeys: number | string, + ...args: RedisValue[] + ]): Result; + /** + * Remove all keys from all databases + * - _group_: server + * - _complexity_: O(N) where N is the total number of keys in all databases + * - _since_: 1.0.0 + */ + flushall(callback?: Callback<"OK">): Result<"OK", Context>; + flushall(async: "ASYNC", callback?: Callback<"OK">): Result<"OK", Context>; + flushall(sync: "SYNC", callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Remove all keys from the current database + * - _group_: server + * - _complexity_: O(N) where N is the number of keys in the selected database + * - _since_: 1.0.0 + */ + flushdb(callback?: Callback<"OK">): Result<"OK", Context>; + flushdb(async: "ASYNC", callback?: Callback<"OK">): Result<"OK", Context>; + flushdb(sync: "SYNC", callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Delete a function by name + * - _group_: scripting + * - _complexity_: O(1) + * - _since_: 7.0.0 + */ + function(subcommand: "DELETE", libraryName: string | Buffer, callback?: Callback): Result; + functionBuffer(subcommand: "DELETE", libraryName: string | Buffer, callback?: Callback): Result; + /** + * Dump all functions into a serialized binary payload + * - _group_: scripting + * - _complexity_: O(N) where N is the number of functions + * - _since_: 7.0.0 + */ + function(subcommand: "DUMP", callback?: Callback): Result; + functionBuffer(subcommand: "DUMP", callback?: Callback): Result; + /** + * Deleting all functions + * - _group_: scripting + * - _complexity_: O(N) where N is the number of functions deleted + * - _since_: 7.0.0 + */ + function(subcommand: "FLUSH", callback?: Callback): Result; + functionBuffer(subcommand: "FLUSH", callback?: Callback): Result; + function(subcommand: "FLUSH", async: "ASYNC", callback?: Callback): Result; + functionBuffer(subcommand: "FLUSH", async: "ASYNC", callback?: Callback): Result; + function(subcommand: "FLUSH", sync: "SYNC", callback?: Callback): Result; + functionBuffer(subcommand: "FLUSH", sync: "SYNC", callback?: Callback): Result; + /** + * Show helpful text about the different subcommands + * - _group_: scripting + * - _complexity_: O(1) + * - _since_: 7.0.0 + */ + function(subcommand: "HELP", callback?: Callback): Result; + /** + * Kill the function currently in execution. + * - _group_: scripting + * - _complexity_: O(1) + * - _since_: 7.0.0 + */ + function(subcommand: "KILL", callback?: Callback): Result; + functionBuffer(subcommand: "KILL", callback?: Callback): Result; + /** + * List information about all the functions + * - _group_: scripting + * - _complexity_: O(N) where N is the number of functions + * - _since_: 7.0.0 + */ + function(subcommand: "LIST", callback?: Callback): Result; + function(subcommand: "LIST", withcode: "WITHCODE", callback?: Callback): Result; + function(subcommand: "LIST", libraryNamePatternToken: "LIBRARYNAME", libraryNamePattern: string | Buffer, callback?: Callback): Result; + function(subcommand: "LIST", libraryNamePatternToken: "LIBRARYNAME", libraryNamePattern: string | Buffer, withcode: "WITHCODE", callback?: Callback): Result; + /** + * Create a function with the given arguments (name, code, description) + * - _group_: scripting + * - _complexity_: O(1) (considering compilation time is redundant) + * - _since_: 7.0.0 + */ + function(subcommand: "LOAD", functionCode: string | Buffer, callback?: Callback): Result; + functionBuffer(subcommand: "LOAD", functionCode: string | Buffer, callback?: Callback): Result; + function(subcommand: "LOAD", replace: "REPLACE", functionCode: string | Buffer, callback?: Callback): Result; + functionBuffer(subcommand: "LOAD", replace: "REPLACE", functionCode: string | Buffer, callback?: Callback): Result; + /** + * Restore all the functions on the given payload + * - _group_: scripting + * - _complexity_: O(N) where N is the number of functions on the payload + * - _since_: 7.0.0 + */ + function(subcommand: "RESTORE", serializedValue: string | Buffer | number, callback?: Callback): Result; + functionBuffer(subcommand: "RESTORE", serializedValue: string | Buffer | number, callback?: Callback): Result; + function(subcommand: "RESTORE", serializedValue: string | Buffer | number, flush: "FLUSH", callback?: Callback): Result; + functionBuffer(subcommand: "RESTORE", serializedValue: string | Buffer | number, flush: "FLUSH", callback?: Callback): Result; + function(subcommand: "RESTORE", serializedValue: string | Buffer | number, append: "APPEND", callback?: Callback): Result; + functionBuffer(subcommand: "RESTORE", serializedValue: string | Buffer | number, append: "APPEND", callback?: Callback): Result; + function(subcommand: "RESTORE", serializedValue: string | Buffer | number, replace: "REPLACE", callback?: Callback): Result; + functionBuffer(subcommand: "RESTORE", serializedValue: string | Buffer | number, replace: "REPLACE", callback?: Callback): Result; + /** + * Return information about the function currently running (name, description, duration) + * - _group_: scripting + * - _complexity_: O(1) + * - _since_: 7.0.0 + */ + function(subcommand: "STATS", callback?: Callback): Result; + /** + * Add one or more geospatial items in the geospatial index represented using a sorted set + * - _group_: geo + * - _complexity_: O(log(N)) for each item added, where N is the number of elements in the sorted set. + * - _since_: 3.2.0 + */ + geoadd(...args: [ + key: RedisKey, + ...longitudeLatitudeMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + geoadd(...args: [ + key: RedisKey, + ...longitudeLatitudeMembers: (string | Buffer | number)[] + ]): Result; + geoadd(...args: [ + key: RedisKey, + ch: "CH", + ...longitudeLatitudeMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + geoadd(...args: [ + key: RedisKey, + ch: "CH", + ...longitudeLatitudeMembers: (string | Buffer | number)[] + ]): Result; + geoadd(...args: [ + key: RedisKey, + nx: "NX", + ...longitudeLatitudeMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + geoadd(...args: [ + key: RedisKey, + nx: "NX", + ...longitudeLatitudeMembers: (string | Buffer | number)[] + ]): Result; + geoadd(...args: [ + key: RedisKey, + nx: "NX", + ch: "CH", + ...longitudeLatitudeMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + geoadd(...args: [ + key: RedisKey, + nx: "NX", + ch: "CH", + ...longitudeLatitudeMembers: (string | Buffer | number)[] + ]): Result; + geoadd(...args: [ + key: RedisKey, + xx: "XX", + ...longitudeLatitudeMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + geoadd(...args: [ + key: RedisKey, + xx: "XX", + ...longitudeLatitudeMembers: (string | Buffer | number)[] + ]): Result; + geoadd(...args: [ + key: RedisKey, + xx: "XX", + ch: "CH", + ...longitudeLatitudeMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + geoadd(...args: [ + key: RedisKey, + xx: "XX", + ch: "CH", + ...longitudeLatitudeMembers: (string | Buffer | number)[] + ]): Result; + /** + * Returns the distance between two members of a geospatial index + * - _group_: geo + * - _complexity_: O(log(N)) + * - _since_: 3.2.0 + */ + geodist(key: RedisKey, member1: string | Buffer | number, member2: string | Buffer | number, callback?: Callback): Result; + geodistBuffer(key: RedisKey, member1: string | Buffer | number, member2: string | Buffer | number, callback?: Callback): Result; + geodist(key: RedisKey, member1: string | Buffer | number, member2: string | Buffer | number, m: "M", callback?: Callback): Result; + geodistBuffer(key: RedisKey, member1: string | Buffer | number, member2: string | Buffer | number, m: "M", callback?: Callback): Result; + geodist(key: RedisKey, member1: string | Buffer | number, member2: string | Buffer | number, km: "KM", callback?: Callback): Result; + geodistBuffer(key: RedisKey, member1: string | Buffer | number, member2: string | Buffer | number, km: "KM", callback?: Callback): Result; + geodist(key: RedisKey, member1: string | Buffer | number, member2: string | Buffer | number, ft: "FT", callback?: Callback): Result; + geodistBuffer(key: RedisKey, member1: string | Buffer | number, member2: string | Buffer | number, ft: "FT", callback?: Callback): Result; + geodist(key: RedisKey, member1: string | Buffer | number, member2: string | Buffer | number, mi: "MI", callback?: Callback): Result; + geodistBuffer(key: RedisKey, member1: string | Buffer | number, member2: string | Buffer | number, mi: "MI", callback?: Callback): Result; + /** + * Returns members of a geospatial index as standard geohash strings + * - _group_: geo + * - _complexity_: O(log(N)) for each member requested, where N is the number of elements in the sorted set. + * - _since_: 3.2.0 + */ + geohash(...args: [ + key: RedisKey, + ...members: (string | Buffer | number)[], + callback: Callback + ]): Result; + geohashBuffer(...args: [ + key: RedisKey, + ...members: (string | Buffer | number)[], + callback: Callback + ]): Result; + geohash(...args: [ + key: RedisKey, + members: (string | Buffer | number)[], + callback: Callback + ]): Result; + geohashBuffer(...args: [ + key: RedisKey, + members: (string | Buffer | number)[], + callback: Callback + ]): Result; + geohash(...args: [key: RedisKey, ...members: (string | Buffer | number)[]]): Result; + geohashBuffer(...args: [key: RedisKey, ...members: (string | Buffer | number)[]]): Result; + geohash(...args: [key: RedisKey, members: (string | Buffer | number)[]]): Result; + geohashBuffer(...args: [key: RedisKey, members: (string | Buffer | number)[]]): Result; + /** + * Returns longitude and latitude of members of a geospatial index + * - _group_: geo + * - _complexity_: O(N) where N is the number of members requested. + * - _since_: 3.2.0 + */ + geopos(...args: [ + key: RedisKey, + ...members: (string | Buffer | number)[], + callback: Callback<([longitude: string, latitude: string] | null)[]> + ]): Result<([longitude: string, latitude: string] | null)[], Context>; + geopos(...args: [ + key: RedisKey, + members: (string | Buffer | number)[], + callback: Callback<([longitude: string, latitude: string] | null)[]> + ]): Result<([longitude: string, latitude: string] | null)[], Context>; + geopos(...args: [key: RedisKey, ...members: (string | Buffer | number)[]]): Result<([longitude: string, latitude: string] | null)[], Context>; + geopos(...args: [key: RedisKey, members: (string | Buffer | number)[]]): Result<([longitude: string, latitude: string] | null)[], Context>; + /** + * Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a point + * - _group_: geo + * - _complexity_: O(N+log(M)) where N is the number of elements inside the bounding box of the circular area delimited by center and radius and M is the number of items inside the index. + * - _since_: 3.2.0 + */ + georadius(...args: [ + key: RedisKey, + longitude: number | string, + latitude: number | string, + radius: number | string, + ...args: RedisValue[], + callback: Callback + ]): Result; + georadius(...args: [ + key: RedisKey, + longitude: number | string, + latitude: number | string, + radius: number | string, + ...args: RedisValue[] + ]): Result; + /** + * A read-only variant for GEORADIUS + * - _group_: geo + * - _complexity_: O(N+log(M)) where N is the number of elements inside the bounding box of the circular area delimited by center and radius and M is the number of items inside the index. + * - _since_: 3.2.10 + */ + georadius_ro(...args: [ + key: RedisKey, + longitude: number | string, + latitude: number | string, + radius: number | string, + ...args: RedisValue[], + callback: Callback + ]): Result; + georadius_ro(...args: [ + key: RedisKey, + longitude: number | string, + latitude: number | string, + radius: number | string, + ...args: RedisValue[] + ]): Result; + /** + * Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a member + * - _group_: geo + * - _complexity_: O(N+log(M)) where N is the number of elements inside the bounding box of the circular area delimited by center and radius and M is the number of items inside the index. + * - _since_: 3.2.0 + */ + georadiusbymember(...args: [ + key: RedisKey, + member: string | Buffer | number, + radius: number | string, + ...args: RedisValue[], + callback: Callback + ]): Result; + georadiusbymember(...args: [ + key: RedisKey, + member: string | Buffer | number, + radius: number | string, + ...args: RedisValue[] + ]): Result; + /** + * A read-only variant for GEORADIUSBYMEMBER + * - _group_: geo + * - _complexity_: O(N+log(M)) where N is the number of elements inside the bounding box of the circular area delimited by center and radius and M is the number of items inside the index. + * - _since_: 3.2.10 + */ + georadiusbymember_ro(...args: [ + key: RedisKey, + member: string | Buffer | number, + radius: number | string, + ...args: RedisValue[], + callback: Callback + ]): Result; + georadiusbymember_ro(...args: [ + key: RedisKey, + member: string | Buffer | number, + radius: number | string, + ...args: RedisValue[] + ]): Result; + /** + * Query a sorted set representing a geospatial index to fetch members inside an area of a box or a circle. + * - _group_: geo + * - _complexity_: O(N+log(M)) where N is the number of elements in the grid-aligned bounding box area around the shape provided as the filter and M is the number of items inside the shape + * - _since_: 6.2.0 + */ + geosearch(...args: [ + key: RedisKey, + ...args: RedisValue[], + callback: Callback + ]): Result; + geosearch(...args: [key: RedisKey, ...args: RedisValue[]]): Result; + /** + * Query a sorted set representing a geospatial index to fetch members inside an area of a box or a circle, and store the result in another key. + * - _group_: geo + * - _complexity_: O(N+log(M)) where N is the number of elements in the grid-aligned bounding box area around the shape provided as the filter and M is the number of items inside the shape + * - _since_: 6.2.0 + */ + geosearchstore(...args: [ + destination: RedisKey, + source: RedisKey, + ...args: RedisValue[], + callback: Callback + ]): Result; + geosearchstore(...args: [destination: RedisKey, source: RedisKey, ...args: RedisValue[]]): Result; + /** + * Get the value of a key + * - _group_: string + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + get(key: RedisKey, callback?: Callback): Result; + getBuffer(key: RedisKey, callback?: Callback): Result; + /** + * Returns the bit value at offset in the string value stored at key + * - _group_: bitmap + * - _complexity_: O(1) + * - _since_: 2.2.0 + */ + getbit(key: RedisKey, offset: number | string, callback?: Callback): Result; + /** + * Get the value of a key and delete the key + * - _group_: string + * - _complexity_: O(1) + * - _since_: 6.2.0 + */ + getdel(key: RedisKey, callback?: Callback): Result; + getdelBuffer(key: RedisKey, callback?: Callback): Result; + /** + * Get the value of a key and optionally set its expiration + * - _group_: string + * - _complexity_: O(1) + * - _since_: 6.2.0 + */ + getex(key: RedisKey, callback?: Callback): Result; + getexBuffer(key: RedisKey, callback?: Callback): Result; + getex(key: RedisKey, secondsToken: "EX", seconds: number | string, callback?: Callback): Result; + getexBuffer(key: RedisKey, secondsToken: "EX", seconds: number | string, callback?: Callback): Result; + getex(key: RedisKey, millisecondsToken: "PX", milliseconds: number | string, callback?: Callback): Result; + getexBuffer(key: RedisKey, millisecondsToken: "PX", milliseconds: number | string, callback?: Callback): Result; + getex(key: RedisKey, unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, callback?: Callback): Result; + getexBuffer(key: RedisKey, unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, callback?: Callback): Result; + getex(key: RedisKey, unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, callback?: Callback): Result; + getexBuffer(key: RedisKey, unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, callback?: Callback): Result; + getex(key: RedisKey, persist: "PERSIST", callback?: Callback): Result; + getexBuffer(key: RedisKey, persist: "PERSIST", callback?: Callback): Result; + /** + * Get a substring of the string stored at a key + * - _group_: string + * - _complexity_: O(N) where N is the length of the returned string. The complexity is ultimately determined by the returned length, but because creating a substring from an existing string is very cheap, it can be considered O(1) for small strings. + * - _since_: 2.4.0 + */ + getrange(key: RedisKey, start: number | string, end: number | string, callback?: Callback): Result; + getrangeBuffer(key: RedisKey, start: number | string, end: number | string, callback?: Callback): Result; + /** + * Set the string value of a key and return its old value + * - _group_: string + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + getset(key: RedisKey, value: string | Buffer | number, callback?: Callback): Result; + getsetBuffer(key: RedisKey, value: string | Buffer | number, callback?: Callback): Result; + /** + * Delete one or more hash fields + * - _group_: hash + * - _complexity_: O(N) where N is the number of fields to be removed. + * - _since_: 2.0.0 + */ + hdel(...args: [ + key: RedisKey, + ...fields: (string | Buffer)[], + callback: Callback + ]): Result; + hdel(...args: [key: RedisKey, ...fields: (string | Buffer)[]]): Result; + /** + * Handshake with Redis + * - _group_: connection + * - _complexity_: O(1) + * - _since_: 6.0.0 + */ + hello(callback?: Callback): Result; + hello(protover: number | string, callback?: Callback): Result; + hello(protover: number | string, clientnameToken: "SETNAME", clientname: string | Buffer, callback?: Callback): Result; + hello(protover: number | string, usernamePasswordToken: "AUTH", username: string | Buffer, password: string | Buffer, callback?: Callback): Result; + hello(protover: number | string, usernamePasswordToken: "AUTH", username: string | Buffer, password: string | Buffer, clientnameToken: "SETNAME", clientname: string | Buffer, callback?: Callback): Result; + /** + * Determine if a hash field exists + * - _group_: hash + * - _complexity_: O(1) + * - _since_: 2.0.0 + */ + hexists(key: RedisKey, field: string | Buffer, callback?: Callback): Result; + /** + * Set expiry for hash field using relative time to expire (seconds) + * - _group_: hash + * - _complexity_: O(N) where N is the number of specified fields + * - _since_: 7.4.0 + */ + hexpire(...args: [key: RedisKey, seconds: number | string, fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hexpire(...args: [key: RedisKey, seconds: number | string, fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result; + hexpire(...args: [key: RedisKey, seconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hexpire(...args: [key: RedisKey, seconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result; + hexpire(...args: [key: RedisKey, seconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hexpire(...args: [key: RedisKey, seconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result; + hexpire(...args: [key: RedisKey, seconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hexpire(...args: [key: RedisKey, seconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result; + hexpire(...args: [key: RedisKey, seconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hexpire(...args: [key: RedisKey, seconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result; + /** + * Set expiry for hash field using an absolute Unix timestamp (seconds) + * - _group_: hash + * - _complexity_: O(N) where N is the number of specified fields + * - _since_: 7.4.0 + */ + hexpireat(...args: [key: RedisKey, unixTimeSeconds: number | string, fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hexpireat(...args: [key: RedisKey, unixTimeSeconds: number | string, fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result; + hexpireat(...args: [key: RedisKey, unixTimeSeconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hexpireat(...args: [key: RedisKey, unixTimeSeconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result; + hexpireat(...args: [key: RedisKey, unixTimeSeconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hexpireat(...args: [key: RedisKey, unixTimeSeconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result; + hexpireat(...args: [key: RedisKey, unixTimeSeconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hexpireat(...args: [key: RedisKey, unixTimeSeconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result; + hexpireat(...args: [key: RedisKey, unixTimeSeconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hexpireat(...args: [key: RedisKey, unixTimeSeconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result; + /** + * Returns the expiration time of a hash field as a Unix timestamp, in seconds. + * - _group_: hash + * - _complexity_: O(N) where N is the number of specified fields + * - _since_: 7.4.0 + */ + hexpiretime(...args: [key: RedisKey, fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hexpiretime(...args: [key: RedisKey, fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result; + /** + * Get the value of a hash field + * - _group_: hash + * - _complexity_: O(1) + * - _since_: 2.0.0 + */ + hget(key: RedisKey, field: string | Buffer, callback?: Callback): Result; + hgetBuffer(key: RedisKey, field: string | Buffer, callback?: Callback): Result; + /** + * Get all the fields and values in a hash + * - _group_: hash + * - _complexity_: O(N) where N is the size of the hash. + * - _since_: 2.0.0 + */ + hgetall(key: RedisKey, callback?: Callback>): Result, Context>; + hgetallBuffer(key: RedisKey, callback?: Callback>): Result, Context>; + /** + * Returns the value of a field and deletes it from the hash. + * - _group_: hash + * - _complexity_: O(N) where N is the number of specified fields + * - _since_: 8.0.0 + */ + hgetdel(...args: [key: RedisKey, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback<(string | null)[]>]): Result<(string | null)[], Context>; + hgetdelBuffer(...args: [key: RedisKey, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback<(Buffer | null)[]>]): Result<(Buffer | null)[], Context>; + hgetdel(...args: [key: RedisKey, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result<(string | null)[], Context>; + hgetdelBuffer(...args: [key: RedisKey, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result<(Buffer | null)[], Context>; + /** + * Get the value of one or more fields of a given hash key, and optionally set their expiration. + * - _group_: hash + * - _complexity_: O(N) where N is the number of specified fields + * - _since_: 8.0.0 + */ + hgetex(...args: [key: RedisKey, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback<(string | null)[]>]): Result<(string | null)[], Context>; + hgetexBuffer(...args: [key: RedisKey, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback<(Buffer | null)[]>]): Result<(Buffer | null)[], Context>; + hgetex(...args: [key: RedisKey, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result<(string | null)[], Context>; + hgetexBuffer(...args: [key: RedisKey, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result<(Buffer | null)[], Context>; + hgetex(...args: [key: RedisKey, secondsToken: "EX", seconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback<(string | null)[]>]): Result<(string | null)[], Context>; + hgetexBuffer(...args: [key: RedisKey, secondsToken: "EX", seconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback<(Buffer | null)[]>]): Result<(Buffer | null)[], Context>; + hgetex(...args: [key: RedisKey, secondsToken: "EX", seconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result<(string | null)[], Context>; + hgetexBuffer(...args: [key: RedisKey, secondsToken: "EX", seconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result<(Buffer | null)[], Context>; + hgetex(...args: [key: RedisKey, millisecondsToken: "PX", milliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback<(string | null)[]>]): Result<(string | null)[], Context>; + hgetexBuffer(...args: [key: RedisKey, millisecondsToken: "PX", milliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback<(Buffer | null)[]>]): Result<(Buffer | null)[], Context>; + hgetex(...args: [key: RedisKey, millisecondsToken: "PX", milliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result<(string | null)[], Context>; + hgetexBuffer(...args: [key: RedisKey, millisecondsToken: "PX", milliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result<(Buffer | null)[], Context>; + hgetex(...args: [key: RedisKey, unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback<(string | null)[]>]): Result<(string | null)[], Context>; + hgetexBuffer(...args: [key: RedisKey, unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback<(Buffer | null)[]>]): Result<(Buffer | null)[], Context>; + hgetex(...args: [key: RedisKey, unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result<(string | null)[], Context>; + hgetexBuffer(...args: [key: RedisKey, unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result<(Buffer | null)[], Context>; + hgetex(...args: [key: RedisKey, unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback<(string | null)[]>]): Result<(string | null)[], Context>; + hgetexBuffer(...args: [key: RedisKey, unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback<(Buffer | null)[]>]): Result<(Buffer | null)[], Context>; + hgetex(...args: [key: RedisKey, unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result<(string | null)[], Context>; + hgetexBuffer(...args: [key: RedisKey, unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result<(Buffer | null)[], Context>; + hgetex(...args: [key: RedisKey, persist: "PERSIST", fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback<(string | null)[]>]): Result<(string | null)[], Context>; + hgetexBuffer(...args: [key: RedisKey, persist: "PERSIST", fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback<(Buffer | null)[]>]): Result<(Buffer | null)[], Context>; + hgetex(...args: [key: RedisKey, persist: "PERSIST", fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result<(string | null)[], Context>; + hgetexBuffer(...args: [key: RedisKey, persist: "PERSIST", fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result<(Buffer | null)[], Context>; + /** + * Increment the integer value of a hash field by the given number + * - _group_: hash + * - _complexity_: O(1) + * - _since_: 2.0.0 + */ + hincrby(key: RedisKey, field: string | Buffer, increment: number | string, callback?: Callback): Result; + /** + * Increment the float value of a hash field by the given amount + * - _group_: hash + * - _complexity_: O(1) + * - _since_: 2.6.0 + */ + hincrbyfloat(key: RedisKey, field: string | Buffer, increment: number | string, callback?: Callback): Result; + hincrbyfloatBuffer(key: RedisKey, field: string | Buffer, increment: number | string, callback?: Callback): Result; + /** + * Get all the fields in a hash + * - _group_: hash + * - _complexity_: O(N) where N is the size of the hash. + * - _since_: 2.0.0 + */ + hkeys(key: RedisKey, callback?: Callback): Result; + hkeysBuffer(key: RedisKey, callback?: Callback): Result; + /** + * Get the number of fields in a hash + * - _group_: hash + * - _complexity_: O(1) + * - _since_: 2.0.0 + */ + hlen(key: RedisKey, callback?: Callback): Result; + /** + * Get the values of all the given hash fields + * - _group_: hash + * - _complexity_: O(N) where N is the number of fields being requested. + * - _since_: 2.0.0 + */ + hmget(...args: [ + key: RedisKey, + ...fields: (string | Buffer)[], + callback: Callback<(string | null)[]> + ]): Result<(string | null)[], Context>; + hmgetBuffer(...args: [ + key: RedisKey, + ...fields: (string | Buffer)[], + callback: Callback<(Buffer | null)[]> + ]): Result<(Buffer | null)[], Context>; + hmget(...args: [key: RedisKey, ...fields: (string | Buffer)[]]): Result<(string | null)[], Context>; + hmgetBuffer(...args: [key: RedisKey, ...fields: (string | Buffer)[]]): Result<(Buffer | null)[], Context>; + /** + * Set multiple hash fields to multiple values + * - _group_: hash + * - _complexity_: O(N) where N is the number of fields being set. + * - _since_: 2.0.0 + */ + hmset(key: RedisKey, object: object, callback?: Callback<"OK">): Result<"OK", Context>; + hmset(key: RedisKey, map: Map, callback?: Callback<"OK">): Result<"OK", Context>; + hmset(...args: [ + key: RedisKey, + ...fieldValues: (string | Buffer | number)[], + callback: Callback<"OK"> + ]): Result<"OK", Context>; + hmset(...args: [key: RedisKey, ...fieldValues: (string | Buffer | number)[]]): Result<"OK", Context>; + /** + * Removes the expiration time for each specified field + * - _group_: hash + * - _complexity_: O(N) where N is the number of specified fields + * - _since_: 7.4.0 + */ + hpersist(...args: [key: RedisKey, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hpersist(...args: [key: RedisKey, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result; + /** + * Set expiry for hash field using relative time to expire (milliseconds) + * - _group_: hash + * - _complexity_: O(N) where N is the number of specified fields + * - _since_: 7.4.0 + */ + hpexpire(...args: [key: RedisKey, milliseconds: number | string, fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hpexpire(...args: [key: RedisKey, milliseconds: number | string, fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result; + hpexpire(...args: [key: RedisKey, milliseconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hpexpire(...args: [key: RedisKey, milliseconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result; + hpexpire(...args: [key: RedisKey, milliseconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hpexpire(...args: [key: RedisKey, milliseconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result; + hpexpire(...args: [key: RedisKey, milliseconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hpexpire(...args: [key: RedisKey, milliseconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result; + hpexpire(...args: [key: RedisKey, milliseconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hpexpire(...args: [key: RedisKey, milliseconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result; + /** + * Set expiry for hash field using an absolute Unix timestamp (milliseconds) + * - _group_: hash + * - _complexity_: O(N) where N is the number of specified fields + * - _since_: 7.4.0 + */ + hpexpireat(...args: [key: RedisKey, unixTimeMilliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hpexpireat(...args: [key: RedisKey, unixTimeMilliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result; + hpexpireat(...args: [key: RedisKey, unixTimeMilliseconds: number | string, nx: "NX", fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hpexpireat(...args: [key: RedisKey, unixTimeMilliseconds: number | string, nx: "NX", fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result; + hpexpireat(...args: [key: RedisKey, unixTimeMilliseconds: number | string, xx: "XX", fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hpexpireat(...args: [key: RedisKey, unixTimeMilliseconds: number | string, xx: "XX", fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result; + hpexpireat(...args: [key: RedisKey, unixTimeMilliseconds: number | string, gt: "GT", fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hpexpireat(...args: [key: RedisKey, unixTimeMilliseconds: number | string, gt: "GT", fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result; + hpexpireat(...args: [key: RedisKey, unixTimeMilliseconds: number | string, lt: "LT", fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hpexpireat(...args: [key: RedisKey, unixTimeMilliseconds: number | string, lt: "LT", fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result; + /** + * Returns the expiration time of a hash field as a Unix timestamp, in msec. + * - _group_: hash + * - _complexity_: O(N) where N is the number of specified fields + * - _since_: 7.4.0 + */ + hpexpiretime(...args: [key: RedisKey, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hpexpiretime(...args: [key: RedisKey, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result; + /** + * Returns the TTL in milliseconds of a hash field. + * - _group_: hash + * - _complexity_: O(N) where N is the number of specified fields + * - _since_: 7.4.0 + */ + hpttl(...args: [key: RedisKey, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + hpttl(...args: [key: RedisKey, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result; + /** + * Get one or multiple random fields from a hash + * - _group_: hash + * - _complexity_: O(N) where N is the number of fields returned + * - _since_: 6.2.0 + */ + hrandfield(key: RedisKey, callback?: Callback): Result; + hrandfieldBuffer(key: RedisKey, callback?: Callback): Result; + hrandfield(key: RedisKey, count: number | string, callback?: Callback): Result; + hrandfieldBuffer(key: RedisKey, count: number | string, callback?: Callback): Result; + hrandfield(key: RedisKey, count: number | string, withvalues: "WITHVALUES", callback?: Callback): Result; + hrandfieldBuffer(key: RedisKey, count: number | string, withvalues: "WITHVALUES", callback?: Callback): Result; + /** + * Incrementally iterate hash fields and associated values + * - _group_: hash + * - _complexity_: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection.. + * - _since_: 2.8.0 + */ + hscan(key: RedisKey, cursor: number | string, callback?: Callback<[cursor: string, elements: string[]]>): Result<[cursor: string, elements: string[]], Context>; + hscanBuffer(key: RedisKey, cursor: number | string, callback?: Callback<[cursor: Buffer, elements: Buffer[]]>): Result<[cursor: Buffer, elements: Buffer[]], Context>; + hscan(key: RedisKey, cursor: number | string, countToken: "COUNT", count: number | string, callback?: Callback<[cursor: string, elements: string[]]>): Result<[cursor: string, elements: string[]], Context>; + hscanBuffer(key: RedisKey, cursor: number | string, countToken: "COUNT", count: number | string, callback?: Callback<[cursor: Buffer, elements: Buffer[]]>): Result<[cursor: Buffer, elements: Buffer[]], Context>; + hscan(key: RedisKey, cursor: number | string, patternToken: "MATCH", pattern: string, callback?: Callback<[cursor: string, elements: string[]]>): Result<[cursor: string, elements: string[]], Context>; + hscanBuffer(key: RedisKey, cursor: number | string, patternToken: "MATCH", pattern: string, callback?: Callback<[cursor: Buffer, elements: Buffer[]]>): Result<[cursor: Buffer, elements: Buffer[]], Context>; + hscan(key: RedisKey, cursor: number | string, patternToken: "MATCH", pattern: string, countToken: "COUNT", count: number | string, callback?: Callback<[cursor: string, elements: string[]]>): Result<[cursor: string, elements: string[]], Context>; + hscanBuffer(key: RedisKey, cursor: number | string, patternToken: "MATCH", pattern: string, countToken: "COUNT", count: number | string, callback?: Callback<[cursor: Buffer, elements: Buffer[]]>): Result<[cursor: Buffer, elements: Buffer[]], Context>; + /** + * Set the string value of a hash field + * - _group_: hash + * - _complexity_: O(1) for each field/value pair added, so O(N) to add N field/value pairs when the command is called with multiple field/value pairs. + * - _since_: 2.0.0 + */ + hset(key: RedisKey, object: object, callback?: Callback): Result; + hset(key: RedisKey, map: Map, callback?: Callback): Result; + hset(...args: [ + key: RedisKey, + ...fieldValues: (string | Buffer | number)[], + callback: Callback + ]): Result; + hset(...args: [key: RedisKey, ...fieldValues: (string | Buffer | number)[]]): Result; + /** + * Set the value of one or more fields of a given hash key, and optionally set their expiration. + * - _group_: hash + * - _complexity_: O(N) where N is the number of fields being set. + * - _since_: 8.0.0 + */ + hsetex(...args: [key: RedisKey, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[], callback: Callback]): Result; + hsetex(...args: [key: RedisKey, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[]]): Result; + hsetex(...args: [key: RedisKey, secondsToken: "EX", seconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[], callback: Callback]): Result; + hsetex(...args: [key: RedisKey, secondsToken: "EX", seconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[]]): Result; + hsetex(...args: [key: RedisKey, millisecondsToken: "PX", milliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[], callback: Callback]): Result; + hsetex(...args: [key: RedisKey, millisecondsToken: "PX", milliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[]]): Result; + hsetex(...args: [key: RedisKey, unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[], callback: Callback]): Result; + hsetex(...args: [key: RedisKey, unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[]]): Result; + hsetex(...args: [key: RedisKey, unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[], callback: Callback]): Result; + hsetex(...args: [key: RedisKey, unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[]]): Result; + hsetex(...args: [key: RedisKey, keepttl: "KEEPTTL", fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[], callback: Callback]): Result; + hsetex(...args: [key: RedisKey, keepttl: "KEEPTTL", fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[]]): Result; + hsetex(...args: [key: RedisKey, fnx: "FNX", fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[], callback: Callback]): Result; + hsetex(...args: [key: RedisKey, fnx: "FNX", fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[]]): Result; + hsetex(...args: [key: RedisKey, fnx: "FNX", secondsToken: "EX", seconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[], callback: Callback]): Result; + hsetex(...args: [key: RedisKey, fnx: "FNX", secondsToken: "EX", seconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[]]): Result; + hsetex(...args: [key: RedisKey, fnx: "FNX", millisecondsToken: "PX", milliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[], callback: Callback]): Result; + hsetex(...args: [key: RedisKey, fnx: "FNX", millisecondsToken: "PX", milliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[]]): Result; + hsetex(...args: [key: RedisKey, fnx: "FNX", unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[], callback: Callback]): Result; + hsetex(...args: [key: RedisKey, fnx: "FNX", unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[]]): Result; + hsetex(...args: [key: RedisKey, fnx: "FNX", unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[], callback: Callback]): Result; + hsetex(...args: [key: RedisKey, fnx: "FNX", unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[]]): Result; + hsetex(...args: [key: RedisKey, fnx: "FNX", keepttl: "KEEPTTL", fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[], callback: Callback]): Result; + hsetex(...args: [key: RedisKey, fnx: "FNX", keepttl: "KEEPTTL", fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[]]): Result; + hsetex(...args: [key: RedisKey, fxx: "FXX", fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[], callback: Callback]): Result; + hsetex(...args: [key: RedisKey, fxx: "FXX", fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[]]): Result; + hsetex(...args: [key: RedisKey, fxx: "FXX", secondsToken: "EX", seconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[], callback: Callback]): Result; + hsetex(...args: [key: RedisKey, fxx: "FXX", secondsToken: "EX", seconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[]]): Result; + hsetex(...args: [key: RedisKey, fxx: "FXX", millisecondsToken: "PX", milliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[], callback: Callback]): Result; + hsetex(...args: [key: RedisKey, fxx: "FXX", millisecondsToken: "PX", milliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[]]): Result; + hsetex(...args: [key: RedisKey, fxx: "FXX", unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[], callback: Callback]): Result; + hsetex(...args: [key: RedisKey, fxx: "FXX", unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[]]): Result; + hsetex(...args: [key: RedisKey, fxx: "FXX", unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[], callback: Callback]): Result; + hsetex(...args: [key: RedisKey, fxx: "FXX", unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[]]): Result; + hsetex(...args: [key: RedisKey, fxx: "FXX", keepttl: "KEEPTTL", fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[], callback: Callback]): Result; + hsetex(...args: [key: RedisKey, fxx: "FXX", keepttl: "KEEPTTL", fieldsToken: "FIELDS", numfields: number | string, ...data: (string | Buffer | number)[]]): Result; + /** + * Set the value of a hash field, only if the field does not exist + * - _group_: hash + * - _complexity_: O(1) + * - _since_: 2.0.0 + */ + hsetnx(key: RedisKey, field: string | Buffer, value: string | Buffer | number, callback?: Callback): Result; + /** + * Get the length of the value of a hash field + * - _group_: hash + * - _complexity_: O(1) + * - _since_: 3.2.0 + */ + hstrlen(key: RedisKey, field: string | Buffer, callback?: Callback): Result; + /** + * Returns the TTL in seconds of a hash field. + * - _group_: hash + * - _complexity_: O(N) where N is the number of specified fields + * - _since_: 7.4.0 + */ + httl(...args: [key: RedisKey, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result; + httl(...args: [key: RedisKey, fieldsToken: "FIELDS", numfields: number | string, ...fields: (string | Buffer)[]]): Result; + /** + * Get all the values in a hash + * - _group_: hash + * - _complexity_: O(N) where N is the size of the hash. + * - _since_: 2.0.0 + */ + hvals(key: RedisKey, callback?: Callback): Result; + hvalsBuffer(key: RedisKey, callback?: Callback): Result; + /** + * Increment the integer value of a key by one + * - _group_: string + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + incr(key: RedisKey, callback?: Callback): Result; + /** + * Increment the integer value of a key by the given amount + * - _group_: string + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + incrby(key: RedisKey, increment: number | string, callback?: Callback): Result; + /** + * Increment the float value of a key by the given amount + * - _group_: string + * - _complexity_: O(1) + * - _since_: 2.6.0 + */ + incrbyfloat(key: RedisKey, increment: number | string, callback?: Callback): Result; + /** + * Get information and statistics about the server + * - _group_: server + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + info(callback?: Callback): Result; + info(...args: [...sections: (string | Buffer)[], callback: Callback]): Result; + info(...args: [...sections: (string | Buffer)[]]): Result; + /** + * Find all keys matching the given pattern + * - _group_: generic + * - _complexity_: O(N) with N being the number of keys in the database, under the assumption that the key names in the database and the given pattern have limited length. + * - _since_: 1.0.0 + */ + keys(pattern: string, callback?: Callback): Result; + keysBuffer(pattern: string, callback?: Callback): Result; + /** + * Get the UNIX time stamp of the last successful save to disk + * - _group_: server + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + lastsave(callback?: Callback): Result; + /** + * Return a human readable latency analysis report. + * - _group_: server + * - _complexity_: O(1) + * - _since_: 2.8.13 + */ + latency(subcommand: "DOCTOR", callback?: Callback): Result; + /** + * Return a latency graph for the event. + * - _group_: server + * - _complexity_: O(1) + * - _since_: 2.8.13 + */ + latency(subcommand: "GRAPH", event: string | Buffer, callback?: Callback): Result; + /** + * Show helpful text about the different subcommands. + * - _group_: server + * - _complexity_: O(1) + * - _since_: 2.8.13 + */ + latency(subcommand: "HELP", callback?: Callback): Result; + /** + * Return the cumulative distribution of latencies of a subset of commands or all. + * - _group_: server + * - _complexity_: O(N) where N is the number of commands with latency information being retrieved. + * - _since_: 7.0.0 + */ + latency(subcommand: "HISTOGRAM", callback?: Callback): Result; + latency(...args: [ + subcommand: "HISTOGRAM", + ...commands: (string | Buffer)[], + callback: Callback + ]): Result; + latency(...args: [subcommand: "HISTOGRAM", ...commands: (string | Buffer)[]]): Result; + /** + * Return timestamp-latency samples for the event. + * - _group_: server + * - _complexity_: O(1) + * - _since_: 2.8.13 + */ + latency(subcommand: "HISTORY", event: string | Buffer, callback?: Callback): Result; + /** + * Return the latest latency samples for all events. + * - _group_: server + * - _complexity_: O(1) + * - _since_: 2.8.13 + */ + latency(subcommand: "LATEST", callback?: Callback): Result; + /** + * Reset latency data for one or more events. + * - _group_: server + * - _complexity_: O(1) + * - _since_: 2.8.13 + */ + latency(subcommand: "RESET", callback?: Callback): Result; + latency(...args: [ + subcommand: "RESET", + ...events: (string | Buffer)[], + callback: Callback + ]): Result; + latency(...args: [subcommand: "RESET", ...events: (string | Buffer)[]]): Result; + /** + * Find longest common substring + * - _group_: string + * - _complexity_: O(N*M) where N and M are the lengths of s1 and s2, respectively + * - _since_: 7.0.0 + */ + lcs(key1: RedisKey, key2: RedisKey, callback?: Callback): Result; + lcs(key1: RedisKey, key2: RedisKey, withmatchlen: "WITHMATCHLEN", callback?: Callback): Result; + lcs(key1: RedisKey, key2: RedisKey, lenToken: "MINMATCHLEN", len: number | string, callback?: Callback): Result; + lcs(key1: RedisKey, key2: RedisKey, lenToken: "MINMATCHLEN", len: number | string, withmatchlen: "WITHMATCHLEN", callback?: Callback): Result; + lcs(key1: RedisKey, key2: RedisKey, idx: "IDX", callback?: Callback): Result; + lcs(key1: RedisKey, key2: RedisKey, idx: "IDX", withmatchlen: "WITHMATCHLEN", callback?: Callback): Result; + lcs(key1: RedisKey, key2: RedisKey, idx: "IDX", lenToken: "MINMATCHLEN", len: number | string, callback?: Callback): Result; + lcs(key1: RedisKey, key2: RedisKey, idx: "IDX", lenToken: "MINMATCHLEN", len: number | string, withmatchlen: "WITHMATCHLEN", callback?: Callback): Result; + lcs(key1: RedisKey, key2: RedisKey, len: "LEN", callback?: Callback): Result; + lcs(key1: RedisKey, key2: RedisKey, len: "LEN", withmatchlen: "WITHMATCHLEN", callback?: Callback): Result; + lcs(key1: RedisKey, key2: RedisKey, len: "LEN", lenToken: "MINMATCHLEN", len1: number | string, callback?: Callback): Result; + lcs(key1: RedisKey, key2: RedisKey, len: "LEN", lenToken: "MINMATCHLEN", len1: number | string, withmatchlen: "WITHMATCHLEN", callback?: Callback): Result; + lcs(key1: RedisKey, key2: RedisKey, len: "LEN", idx: "IDX", callback?: Callback): Result; + lcs(key1: RedisKey, key2: RedisKey, len: "LEN", idx: "IDX", withmatchlen: "WITHMATCHLEN", callback?: Callback): Result; + lcs(key1: RedisKey, key2: RedisKey, len: "LEN", idx: "IDX", lenToken: "MINMATCHLEN", len1: number | string, callback?: Callback): Result; + lcs(key1: RedisKey, key2: RedisKey, len: "LEN", idx: "IDX", lenToken: "MINMATCHLEN", len1: number | string, withmatchlen: "WITHMATCHLEN", callback?: Callback): Result; + /** + * Get an element from a list by its index + * - _group_: list + * - _complexity_: O(N) where N is the number of elements to traverse to get to the element at index. This makes asking for the first or the last element of the list O(1). + * - _since_: 1.0.0 + */ + lindex(key: RedisKey, index: number | string, callback?: Callback): Result; + lindexBuffer(key: RedisKey, index: number | string, callback?: Callback): Result; + /** + * Insert an element before or after another element in a list + * - _group_: list + * - _complexity_: O(N) where N is the number of elements to traverse before seeing the value pivot. This means that inserting somewhere on the left end on the list (head) can be considered O(1) and inserting somewhere on the right end (tail) is O(N). + * - _since_: 2.2.0 + */ + linsert(key: RedisKey, before: "BEFORE", pivot: string | Buffer | number, element: string | Buffer | number, callback?: Callback): Result; + linsert(key: RedisKey, after: "AFTER", pivot: string | Buffer | number, element: string | Buffer | number, callback?: Callback): Result; + /** + * Get the length of a list + * - _group_: list + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + llen(key: RedisKey, callback?: Callback): Result; + /** + * Pop an element from a list, push it to another list and return it + * - _group_: list + * - _complexity_: O(1) + * - _since_: 6.2.0 + */ + lmove(source: RedisKey, destination: RedisKey, left: "LEFT", left1: "LEFT", callback?: Callback): Result; + lmoveBuffer(source: RedisKey, destination: RedisKey, left: "LEFT", left1: "LEFT", callback?: Callback): Result; + lmove(source: RedisKey, destination: RedisKey, left: "LEFT", right: "RIGHT", callback?: Callback): Result; + lmoveBuffer(source: RedisKey, destination: RedisKey, left: "LEFT", right: "RIGHT", callback?: Callback): Result; + lmove(source: RedisKey, destination: RedisKey, right: "RIGHT", left: "LEFT", callback?: Callback): Result; + lmoveBuffer(source: RedisKey, destination: RedisKey, right: "RIGHT", left: "LEFT", callback?: Callback): Result; + lmove(source: RedisKey, destination: RedisKey, right: "RIGHT", right1: "RIGHT", callback?: Callback): Result; + lmoveBuffer(source: RedisKey, destination: RedisKey, right: "RIGHT", right1: "RIGHT", callback?: Callback): Result; + /** + * Pop elements from a list + * - _group_: list + * - _complexity_: O(N+M) where N is the number of provided keys and M is the number of elements returned. + * - _since_: 7.0.0 + */ + lmpop(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + left: "LEFT", + callback: Callback<[key: string, members: string[]] | null> + ]): Result<[key: string, members: string[]] | null, Context>; + lmpopBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + left: "LEFT", + callback: Callback<[key: Buffer, members: Buffer[]] | null> + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + lmpop(...args: [ + numkeys: number | string, + keys: RedisKey[], + left: "LEFT", + callback: Callback<[key: string, members: string[]] | null> + ]): Result<[key: string, members: string[]] | null, Context>; + lmpopBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + left: "LEFT", + callback: Callback<[key: Buffer, members: Buffer[]] | null> + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + lmpop(...args: [numkeys: number | string, ...keys: RedisKey[], left: "LEFT"]): Result<[key: string, members: string[]] | null, Context>; + lmpopBuffer(...args: [numkeys: number | string, ...keys: RedisKey[], left: "LEFT"]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + lmpop(...args: [numkeys: number | string, keys: RedisKey[], left: "LEFT"]): Result<[key: string, members: string[]] | null, Context>; + lmpopBuffer(...args: [numkeys: number | string, keys: RedisKey[], left: "LEFT"]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + lmpop(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + left: "LEFT", + countToken: "COUNT", + count: number | string, + callback: Callback<[key: string, members: string[]] | null> + ]): Result<[key: string, members: string[]] | null, Context>; + lmpopBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + left: "LEFT", + countToken: "COUNT", + count: number | string, + callback: Callback<[key: Buffer, members: Buffer[]] | null> + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + lmpop(...args: [ + numkeys: number | string, + keys: RedisKey[], + left: "LEFT", + countToken: "COUNT", + count: number | string, + callback: Callback<[key: string, members: string[]] | null> + ]): Result<[key: string, members: string[]] | null, Context>; + lmpopBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + left: "LEFT", + countToken: "COUNT", + count: number | string, + callback: Callback<[key: Buffer, members: Buffer[]] | null> + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + lmpop(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + left: "LEFT", + countToken: "COUNT", + count: number | string + ]): Result<[key: string, members: string[]] | null, Context>; + lmpopBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + left: "LEFT", + countToken: "COUNT", + count: number | string + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + lmpop(...args: [ + numkeys: number | string, + keys: RedisKey[], + left: "LEFT", + countToken: "COUNT", + count: number | string + ]): Result<[key: string, members: string[]] | null, Context>; + lmpopBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + left: "LEFT", + countToken: "COUNT", + count: number | string + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + lmpop(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + right: "RIGHT", + callback: Callback<[key: string, members: string[]] | null> + ]): Result<[key: string, members: string[]] | null, Context>; + lmpopBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + right: "RIGHT", + callback: Callback<[key: Buffer, members: Buffer[]] | null> + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + lmpop(...args: [ + numkeys: number | string, + keys: RedisKey[], + right: "RIGHT", + callback: Callback<[key: string, members: string[]] | null> + ]): Result<[key: string, members: string[]] | null, Context>; + lmpopBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + right: "RIGHT", + callback: Callback<[key: Buffer, members: Buffer[]] | null> + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + lmpop(...args: [numkeys: number | string, ...keys: RedisKey[], right: "RIGHT"]): Result<[key: string, members: string[]] | null, Context>; + lmpopBuffer(...args: [numkeys: number | string, ...keys: RedisKey[], right: "RIGHT"]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + lmpop(...args: [numkeys: number | string, keys: RedisKey[], right: "RIGHT"]): Result<[key: string, members: string[]] | null, Context>; + lmpopBuffer(...args: [numkeys: number | string, keys: RedisKey[], right: "RIGHT"]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + lmpop(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + right: "RIGHT", + countToken: "COUNT", + count: number | string, + callback: Callback<[key: string, members: string[]] | null> + ]): Result<[key: string, members: string[]] | null, Context>; + lmpopBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + right: "RIGHT", + countToken: "COUNT", + count: number | string, + callback: Callback<[key: Buffer, members: Buffer[]] | null> + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + lmpop(...args: [ + numkeys: number | string, + keys: RedisKey[], + right: "RIGHT", + countToken: "COUNT", + count: number | string, + callback: Callback<[key: string, members: string[]] | null> + ]): Result<[key: string, members: string[]] | null, Context>; + lmpopBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + right: "RIGHT", + countToken: "COUNT", + count: number | string, + callback: Callback<[key: Buffer, members: Buffer[]] | null> + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + lmpop(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + right: "RIGHT", + countToken: "COUNT", + count: number | string + ]): Result<[key: string, members: string[]] | null, Context>; + lmpopBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + right: "RIGHT", + countToken: "COUNT", + count: number | string + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + lmpop(...args: [ + numkeys: number | string, + keys: RedisKey[], + right: "RIGHT", + countToken: "COUNT", + count: number | string + ]): Result<[key: string, members: string[]] | null, Context>; + lmpopBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + right: "RIGHT", + countToken: "COUNT", + count: number | string + ]): Result<[key: Buffer, members: Buffer[]] | null, Context>; + /** + * Display some computer art and the Redis version + * - _group_: server + * - _complexity_: undefined + * - _since_: 5.0.0 + */ + lolwut(callback?: Callback): Result; + lolwut(versionToken: "VERSION", version: number | string, callback?: Callback): Result; + /** + * Remove and get the first elements in a list + * - _group_: list + * - _complexity_: O(N) where N is the number of elements returned + * - _since_: 1.0.0 + */ + lpop(key: RedisKey, callback?: Callback): Result; + lpopBuffer(key: RedisKey, callback?: Callback): Result; + lpop(key: RedisKey, count: number | string, callback?: Callback): Result; + lpopBuffer(key: RedisKey, count: number | string, callback?: Callback): Result; + /** + * Return the index of matching elements on a list + * - _group_: list + * - _complexity_: O(N) where N is the number of elements in the list, for the average case. When searching for elements near the head or the tail of the list, or when the MAXLEN option is provided, the command may run in constant time. + * - _since_: 6.0.6 + */ + lpos(key: RedisKey, element: string | Buffer | number, callback?: Callback): Result; + lpos(key: RedisKey, element: string | Buffer | number, lenToken: "MAXLEN", len: number | string, callback?: Callback): Result; + lpos(key: RedisKey, element: string | Buffer | number, numMatchesToken: "COUNT", numMatches: number | string, callback?: Callback): Result; + lpos(key: RedisKey, element: string | Buffer | number, numMatchesToken: "COUNT", numMatches: number | string, lenToken: "MAXLEN", len: number | string, callback?: Callback): Result; + lpos(key: RedisKey, element: string | Buffer | number, rankToken: "RANK", rank: number | string, callback?: Callback): Result; + lpos(key: RedisKey, element: string | Buffer | number, rankToken: "RANK", rank: number | string, lenToken: "MAXLEN", len: number | string, callback?: Callback): Result; + lpos(key: RedisKey, element: string | Buffer | number, rankToken: "RANK", rank: number | string, numMatchesToken: "COUNT", numMatches: number | string, callback?: Callback): Result; + lpos(key: RedisKey, element: string | Buffer | number, rankToken: "RANK", rank: number | string, numMatchesToken: "COUNT", numMatches: number | string, lenToken: "MAXLEN", len: number | string, callback?: Callback): Result; + /** + * Prepend one or multiple elements to a list + * - _group_: list + * - _complexity_: O(1) for each element added, so O(N) to add N elements when the command is called with multiple arguments. + * - _since_: 1.0.0 + */ + lpush(...args: [ + key: RedisKey, + ...elements: (string | Buffer | number)[], + callback: Callback + ]): Result; + lpush(...args: [key: RedisKey, ...elements: (string | Buffer | number)[]]): Result; + /** + * Prepend an element to a list, only if the list exists + * - _group_: list + * - _complexity_: O(1) for each element added, so O(N) to add N elements when the command is called with multiple arguments. + * - _since_: 2.2.0 + */ + lpushx(...args: [ + key: RedisKey, + ...elements: (string | Buffer | number)[], + callback: Callback + ]): Result; + lpushx(...args: [key: RedisKey, ...elements: (string | Buffer | number)[]]): Result; + /** + * Get a range of elements from a list + * - _group_: list + * - _complexity_: O(S+N) where S is the distance of start offset from HEAD for small lists, from nearest end (HEAD or TAIL) for large lists; and N is the number of elements in the specified range. + * - _since_: 1.0.0 + */ + lrange(key: RedisKey, start: number | string, stop: number | string, callback?: Callback): Result; + lrangeBuffer(key: RedisKey, start: number | string, stop: number | string, callback?: Callback): Result; + /** + * Remove elements from a list + * - _group_: list + * - _complexity_: O(N+M) where N is the length of the list and M is the number of elements removed. + * - _since_: 1.0.0 + */ + lrem(key: RedisKey, count: number | string, element: string | Buffer | number, callback?: Callback): Result; + /** + * Set the value of an element in a list by its index + * - _group_: list + * - _complexity_: O(N) where N is the length of the list. Setting either the first or the last element of the list is O(1). + * - _since_: 1.0.0 + */ + lset(key: RedisKey, index: number | string, element: string | Buffer | number, callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Trim a list to the specified range + * - _group_: list + * - _complexity_: O(N) where N is the number of elements to be removed by the operation. + * - _since_: 1.0.0 + */ + ltrim(key: RedisKey, start: number | string, stop: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Outputs memory problems report + * - _group_: server + * - _complexity_: O(1) + * - _since_: 4.0.0 + */ + memory(subcommand: "DOCTOR", callback?: Callback): Result; + /** + * Show helpful text about the different subcommands + * - _group_: server + * - _complexity_: O(1) + * - _since_: 4.0.0 + */ + memory(subcommand: "HELP", callback?: Callback): Result; + /** + * Show allocator internal stats + * - _group_: server + * - _complexity_: Depends on how much memory is allocated, could be slow + * - _since_: 4.0.0 + */ + memory(subcommand: "MALLOC-STATS", callback?: Callback): Result; + /** + * Ask the allocator to release memory + * - _group_: server + * - _complexity_: Depends on how much memory is allocated, could be slow + * - _since_: 4.0.0 + */ + memory(subcommand: "PURGE", callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Show memory usage details + * - _group_: server + * - _complexity_: O(1) + * - _since_: 4.0.0 + */ + memory(subcommand: "STATS", callback?: Callback): Result; + /** + * Estimate the memory usage of a key + * - _group_: server + * - _complexity_: O(N) where N is the number of samples. + * - _since_: 4.0.0 + */ + memory(subcommand: "USAGE", key: RedisKey, callback?: Callback): Result; + memory(subcommand: "USAGE", key: RedisKey, countToken: "SAMPLES", count: number | string, callback?: Callback): Result; + /** + * Get the values of all the given keys + * - _group_: string + * - _complexity_: O(N) where N is the number of keys to retrieve. + * - _since_: 1.0.0 + */ + mget(...args: [...keys: RedisKey[], callback: Callback<(string | null)[]>]): Result<(string | null)[], Context>; + mgetBuffer(...args: [...keys: RedisKey[], callback: Callback<(Buffer | null)[]>]): Result<(Buffer | null)[], Context>; + mget(...args: [keys: RedisKey[], callback: Callback<(string | null)[]>]): Result<(string | null)[], Context>; + mgetBuffer(...args: [keys: RedisKey[], callback: Callback<(Buffer | null)[]>]): Result<(Buffer | null)[], Context>; + mget(...args: [...keys: RedisKey[]]): Result<(string | null)[], Context>; + mgetBuffer(...args: [...keys: RedisKey[]]): Result<(Buffer | null)[], Context>; + mget(...args: [keys: RedisKey[]]): Result<(string | null)[], Context>; + mgetBuffer(...args: [keys: RedisKey[]]): Result<(Buffer | null)[], Context>; + /** + * Atomically transfer a key from a Redis instance to another one. + * - _group_: generic + * - _complexity_: This command actually executes a DUMP+DEL in the source instance, and a RESTORE in the target instance. See the pages of these commands for time complexity. Also an O(N) data transfer between the two instances is performed. + * - _since_: 2.6.0 + */ + migrate(...args: [ + host: string | Buffer, + port: number | string, + ...args: RedisValue[], + callback: Callback<"OK"> + ]): Result<"OK", Context>; + migrate(...args: [ + host: string | Buffer, + port: number | string, + ...args: RedisValue[] + ]): Result<"OK", Context>; + /** + * Show helpful text about the different subcommands + * - _group_: server + * - _complexity_: O(1) + * - _since_: 5.0.0 + */ + module(subcommand: "HELP", callback?: Callback): Result; + /** + * List all modules loaded by the server + * - _group_: server + * - _complexity_: O(N) where N is the number of loaded modules. + * - _since_: 4.0.0 + */ + module(subcommand: "LIST", callback?: Callback): Result; + /** + * Load a module + * - _group_: server + * - _complexity_: O(1) + * - _since_: 4.0.0 + */ + module(subcommand: "LOAD", path: string | Buffer, callback?: Callback): Result; + module(...args: [ + subcommand: "LOAD", + path: string | Buffer, + ...args: (string | Buffer | number)[], + callback: Callback + ]): Result; + module(...args: [ + subcommand: "LOAD", + path: string | Buffer, + ...args: (string | Buffer | number)[] + ]): Result; + /** + * Load a module with extended parameters + * - _group_: server + * - _complexity_: O(1) + * - _since_: 7.0.0 + */ + module(subcommand: "LOADEX", path: string | Buffer, callback?: Callback): Result; + module(...args: [ + subcommand: "LOADEX", + path: string | Buffer, + argsToken: "ARGS", + ...args: (string | Buffer | number)[], + callback: Callback + ]): Result; + module(...args: [ + subcommand: "LOADEX", + path: string | Buffer, + argsToken: "ARGS", + ...args: (string | Buffer | number)[] + ]): Result; + module(...args: [ + subcommand: "LOADEX", + path: string | Buffer, + configsToken: "CONFIG", + ...configs: (string | Buffer | number)[], + callback: Callback + ]): Result; + module(...args: [ + subcommand: "LOADEX", + path: string | Buffer, + configsToken: "CONFIG", + ...configs: (string | Buffer | number)[] + ]): Result; + module(...args: [ + subcommand: "LOADEX", + path: string | Buffer, + configsToken: "CONFIG", + ...args: RedisValue[], + callback: Callback + ]): Result; + module(...args: [ + subcommand: "LOADEX", + path: string | Buffer, + configsToken: "CONFIG", + ...args: RedisValue[] + ]): Result; + /** + * Unload a module + * - _group_: server + * - _complexity_: O(1) + * - _since_: 4.0.0 + */ + module(subcommand: "UNLOAD", name: string | Buffer, callback?: Callback): Result; + /** + * Move a key to another database + * - _group_: generic + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + move(key: RedisKey, db: number | string, callback?: Callback): Result; + /** + * Set multiple keys to multiple values + * - _group_: string + * - _complexity_: O(N) where N is the number of keys to set. + * - _since_: 1.0.1 + */ + mset(object: object, callback?: Callback<"OK">): Result<"OK", Context>; + mset(map: Map, callback?: Callback<"OK">): Result<"OK", Context>; + mset(...args: [ + ...keyValues: (RedisKey | string | Buffer | number)[], + callback: Callback<"OK"> + ]): Result<"OK", Context>; + mset(...args: [...keyValues: (RedisKey | string | Buffer | number)[]]): Result<"OK", Context>; + /** + * Set multiple keys to multiple values, only if none of the keys exist + * - _group_: string + * - _complexity_: O(N) where N is the number of keys to set. + * - _since_: 1.0.1 + */ + msetnx(object: object, callback?: Callback<"OK">): Result<"OK", Context>; + msetnx(map: Map, callback?: Callback<"OK">): Result<"OK", Context>; + msetnx(...args: [ + ...keyValues: (RedisKey | string | Buffer | number)[], + callback: Callback + ]): Result; + msetnx(...args: [...keyValues: (RedisKey | string | Buffer | number)[]]): Result; + /** + * Inspect the internal encoding of a Redis object + * - _group_: generic + * - _complexity_: O(1) + * - _since_: 2.2.3 + */ + object(subcommand: "ENCODING", key: RedisKey, callback?: Callback): Result; + /** + * Get the logarithmic access frequency counter of a Redis object + * - _group_: generic + * - _complexity_: O(1) + * - _since_: 4.0.0 + */ + object(subcommand: "FREQ", key: RedisKey, callback?: Callback): Result; + /** + * Show helpful text about the different subcommands + * - _group_: generic + * - _complexity_: O(1) + * - _since_: 6.2.0 + */ + object(subcommand: "HELP", callback?: Callback): Result; + /** + * Get the time since a Redis object was last accessed + * - _group_: generic + * - _complexity_: O(1) + * - _since_: 2.2.3 + */ + object(subcommand: "IDLETIME", key: RedisKey, callback?: Callback): Result; + /** + * Get the number of references to the value of the key + * - _group_: generic + * - _complexity_: O(1) + * - _since_: 2.2.3 + */ + object(subcommand: "REFCOUNT", key: RedisKey, callback?: Callback): Result; + /** + * Remove the expiration from a key + * - _group_: generic + * - _complexity_: O(1) + * - _since_: 2.2.0 + */ + persist(key: RedisKey, callback?: Callback): Result; + /** + * Set a key's time to live in milliseconds + * - _group_: generic + * - _complexity_: O(1) + * - _since_: 2.6.0 + */ + pexpire(key: RedisKey, milliseconds: number | string, callback?: Callback): Result; + pexpire(key: RedisKey, milliseconds: number | string, nx: "NX", callback?: Callback): Result; + pexpire(key: RedisKey, milliseconds: number | string, xx: "XX", callback?: Callback): Result; + pexpire(key: RedisKey, milliseconds: number | string, gt: "GT", callback?: Callback): Result; + pexpire(key: RedisKey, milliseconds: number | string, lt: "LT", callback?: Callback): Result; + /** + * Set the expiration for a key as a UNIX timestamp specified in milliseconds + * - _group_: generic + * - _complexity_: O(1) + * - _since_: 2.6.0 + */ + pexpireat(key: RedisKey, unixTimeMilliseconds: number | string, callback?: Callback): Result; + pexpireat(key: RedisKey, unixTimeMilliseconds: number | string, nx: "NX", callback?: Callback): Result; + pexpireat(key: RedisKey, unixTimeMilliseconds: number | string, xx: "XX", callback?: Callback): Result; + pexpireat(key: RedisKey, unixTimeMilliseconds: number | string, gt: "GT", callback?: Callback): Result; + pexpireat(key: RedisKey, unixTimeMilliseconds: number | string, lt: "LT", callback?: Callback): Result; + /** + * Get the expiration Unix timestamp for a key in milliseconds + * - _group_: generic + * - _complexity_: O(1) + * - _since_: 7.0.0 + */ + pexpiretime(key: RedisKey, callback?: Callback): Result; + /** + * Adds the specified elements to the specified HyperLogLog. + * - _group_: hyperloglog + * - _complexity_: O(1) to add every element. + * - _since_: 2.8.9 + */ + pfadd(key: RedisKey, callback?: Callback): Result; + pfadd(...args: [ + key: RedisKey, + ...elements: (string | Buffer | number)[], + callback: Callback + ]): Result; + pfadd(...args: [key: RedisKey, ...elements: (string | Buffer | number)[]]): Result; + /** + * Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s). + * - _group_: hyperloglog + * - _complexity_: O(1) with a very small average constant time when called with a single key. O(N) with N being the number of keys, and much bigger constant times, when called with multiple keys. + * - _since_: 2.8.9 + */ + pfcount(...args: [...keys: RedisKey[], callback: Callback]): Result; + pfcount(...args: [keys: RedisKey[], callback: Callback]): Result; + pfcount(...args: [...keys: RedisKey[]]): Result; + pfcount(...args: [keys: RedisKey[]]): Result; + /** + * Internal commands for debugging HyperLogLog values + * - _group_: hyperloglog + * - _complexity_: N/A + * - _since_: 2.8.9 + */ + pfdebug(subcommand: string | Buffer, key: RedisKey, callback?: Callback): Result; + /** + * Merge N different HyperLogLogs into a single one. + * - _group_: hyperloglog + * - _complexity_: O(N) to merge N HyperLogLogs, but with high constant times. + * - _since_: 2.8.9 + */ + pfmerge(...args: [ + destkey: RedisKey, + ...sourcekeys: RedisKey[], + callback: Callback<"OK"> + ]): Result<"OK", Context>; + pfmerge(...args: [ + destkey: RedisKey, + sourcekeys: RedisKey[], + callback: Callback<"OK"> + ]): Result<"OK", Context>; + pfmerge(...args: [destkey: RedisKey, ...sourcekeys: RedisKey[]]): Result<"OK", Context>; + pfmerge(...args: [destkey: RedisKey, sourcekeys: RedisKey[]]): Result<"OK", Context>; + /** + * An internal command for testing HyperLogLog values + * - _group_: hyperloglog + * - _complexity_: N/A + * - _since_: 2.8.9 + */ + pfselftest(callback?: Callback): Result; + /** + * Ping the server + * - _group_: connection + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + ping(callback?: Callback<"PONG">): Result<"PONG", Context>; + ping(message: string | Buffer, callback?: Callback): Result; + pingBuffer(message: string | Buffer, callback?: Callback): Result; + /** + * Set the value and expiration in milliseconds of a key + * - _group_: string + * - _complexity_: O(1) + * - _since_: 2.6.0 + */ + psetex(key: RedisKey, milliseconds: number | string, value: string | Buffer | number, callback?: Callback): Result; + /** + * Listen for messages published to channels matching the given patterns + * - _group_: pubsub + * - _complexity_: O(N) where N is the number of patterns the client is already subscribed to. + * - _since_: 2.0.0 + */ + psubscribe(...args: [...patterns: string[], callback: Callback]): Result; + psubscribe(...args: [...patterns: string[]]): Result; + /** + * Internal command used for replication + * - _group_: server + * - _complexity_: undefined + * - _since_: 2.8.0 + */ + psync(replicationid: string | Buffer | number, offset: number | string, callback?: Callback): Result; + /** + * Get the time to live for a key in milliseconds + * - _group_: generic + * - _complexity_: O(1) + * - _since_: 2.6.0 + */ + pttl(key: RedisKey, callback?: Callback): Result; + /** + * Post a message to a channel + * - _group_: pubsub + * - _complexity_: O(N+M) where N is the number of clients subscribed to the receiving channel and M is the total number of subscribed patterns (by any client). + * - _since_: 2.0.0 + */ + publish(channel: string | Buffer, message: string | Buffer, callback?: Callback): Result; + /** + * List active channels + * - _group_: pubsub + * - _complexity_: O(N) where N is the number of active channels, and assuming constant time pattern matching (relatively short channels and patterns) + * - _since_: 2.8.0 + */ + pubsub(subcommand: "CHANNELS", callback?: Callback): Result; + pubsub(subcommand: "CHANNELS", pattern: string, callback?: Callback): Result; + /** + * Show helpful text about the different subcommands + * - _group_: pubsub + * - _complexity_: O(1) + * - _since_: 6.2.0 + */ + pubsub(subcommand: "HELP", callback?: Callback): Result; + /** + * Get the count of unique patterns pattern subscriptions + * - _group_: pubsub + * - _complexity_: O(1) + * - _since_: 2.8.0 + */ + pubsub(subcommand: "NUMPAT", callback?: Callback): Result; + /** + * Get the count of subscribers for channels + * - _group_: pubsub + * - _complexity_: O(N) for the NUMSUB subcommand, where N is the number of requested channels + * - _since_: 2.8.0 + */ + pubsub(subcommand: "NUMSUB", callback?: Callback): Result; + pubsub(...args: [ + subcommand: "NUMSUB", + ...channels: (string | Buffer)[], + callback: Callback + ]): Result; + pubsub(...args: [subcommand: "NUMSUB", ...channels: (string | Buffer)[]]): Result; + /** + * List active shard channels + * - _group_: pubsub + * - _complexity_: O(N) where N is the number of active shard channels, and assuming constant time pattern matching (relatively short shard channels). + * - _since_: 7.0.0 + */ + pubsub(subcommand: "SHARDCHANNELS", callback?: Callback): Result; + pubsub(subcommand: "SHARDCHANNELS", pattern: string, callback?: Callback): Result; + /** + * Get the count of subscribers for shard channels + * - _group_: pubsub + * - _complexity_: O(N) for the SHARDNUMSUB subcommand, where N is the number of requested shard channels + * - _since_: 7.0.0 + */ + pubsub(subcommand: "SHARDNUMSUB", callback?: Callback): Result; + pubsub(...args: [ + subcommand: "SHARDNUMSUB", + ...shardchannels: (string | Buffer)[], + callback: Callback + ]): Result; + pubsub(...args: [subcommand: "SHARDNUMSUB", ...shardchannels: (string | Buffer)[]]): Result; + /** + * Stop listening for messages posted to channels matching the given patterns + * - _group_: pubsub + * - _complexity_: O(N+M) where N is the number of patterns the client is already subscribed and M is the number of total patterns subscribed in the system (by any client). + * - _since_: 2.0.0 + */ + punsubscribe(callback?: Callback): Result; + punsubscribe(...args: [...patterns: string[], callback: Callback]): Result; + punsubscribe(...args: [...patterns: string[]]): Result; + /** + * Close the connection + * - _group_: connection + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + quit(callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Return a random key from the keyspace + * - _group_: generic + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + randomkey(callback?: Callback): Result; + randomkeyBuffer(callback?: Callback): Result; + /** + * Enables read queries for a connection to a cluster replica node + * - _group_: cluster + * - _complexity_: O(1) + * - _since_: 3.0.0 + */ + readonly(callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Disables read queries for a connection to a cluster replica node + * - _group_: cluster + * - _complexity_: O(1) + * - _since_: 3.0.0 + */ + readwrite(callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Rename a key + * - _group_: generic + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + rename(key: RedisKey, newkey: RedisKey, callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Rename a key, only if the new key does not exist + * - _group_: generic + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + renamenx(key: RedisKey, newkey: RedisKey, callback?: Callback): Result; + /** + * An internal command for configuring the replication stream + * - _group_: server + * - _complexity_: O(1) + * - _since_: 3.0.0 + */ + replconf(callback?: Callback): Result; + /** + * Make the server a replica of another instance, or promote it as master. + * - _group_: server + * - _complexity_: O(1) + * - _since_: 5.0.0 + */ + replicaof(host: string | Buffer, port: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Reset the connection + * - _group_: connection + * - _complexity_: O(1) + * - _since_: 6.2.0 + */ + reset(callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Create a key using the provided serialized value, previously obtained using DUMP. + * - _group_: generic + * - _complexity_: O(1) to create the new key and additional O(N*M) to reconstruct the serialized value, where N is the number of Redis objects composing the value and M their average size. For small string values the time complexity is thus O(1)+O(1*M) where M is small, so simply O(1). However for sorted set values the complexity is O(N*M*log(N)) because inserting values into sorted sets is O(log(N)). + * - _since_: 2.6.0 + */ + restore(key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, callback?: Callback<"OK">): Result<"OK", Context>; + restore(key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, frequencyToken: "FREQ", frequency: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + restore(key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, secondsToken: "IDLETIME", seconds: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + restore(key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, secondsToken: "IDLETIME", seconds: number | string, frequencyToken: "FREQ", frequency: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + restore(key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, absttl: "ABSTTL", callback?: Callback<"OK">): Result<"OK", Context>; + restore(key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, absttl: "ABSTTL", frequencyToken: "FREQ", frequency: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + restore(key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, absttl: "ABSTTL", secondsToken: "IDLETIME", seconds: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + restore(key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, absttl: "ABSTTL", secondsToken: "IDLETIME", seconds: number | string, frequencyToken: "FREQ", frequency: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + restore(key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, replace: "REPLACE", callback?: Callback<"OK">): Result<"OK", Context>; + restore(key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, replace: "REPLACE", frequencyToken: "FREQ", frequency: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + restore(key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, replace: "REPLACE", secondsToken: "IDLETIME", seconds: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + restore(key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, replace: "REPLACE", secondsToken: "IDLETIME", seconds: number | string, frequencyToken: "FREQ", frequency: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + restore(key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, replace: "REPLACE", absttl: "ABSTTL", callback?: Callback<"OK">): Result<"OK", Context>; + restore(key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, replace: "REPLACE", absttl: "ABSTTL", frequencyToken: "FREQ", frequency: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + restore(key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, replace: "REPLACE", absttl: "ABSTTL", secondsToken: "IDLETIME", seconds: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + restore(key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, replace: "REPLACE", absttl: "ABSTTL", secondsToken: "IDLETIME", seconds: number | string, frequencyToken: "FREQ", frequency: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + /** + * An internal command for migrating keys in a cluster + * - _group_: server + * - _complexity_: O(1) to create the new key and additional O(N*M) to reconstruct the serialized value, where N is the number of Redis objects composing the value and M their average size. For small string values the time complexity is thus O(1)+O(1*M) where M is small, so simply O(1). However for sorted set values the complexity is O(N*M*log(N)) because inserting values into sorted sets is O(log(N)). + * - _since_: 3.0.0 + */ + ["restore-asking"](key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, callback?: Callback): Result; + ["restore-asking"](key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, frequencyToken: "FREQ", frequency: number | string, callback?: Callback): Result; + ["restore-asking"](key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, secondsToken: "IDLETIME", seconds: number | string, callback?: Callback): Result; + ["restore-asking"](key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, secondsToken: "IDLETIME", seconds: number | string, frequencyToken: "FREQ", frequency: number | string, callback?: Callback): Result; + ["restore-asking"](key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, absttl: "ABSTTL", callback?: Callback): Result; + ["restore-asking"](key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, absttl: "ABSTTL", frequencyToken: "FREQ", frequency: number | string, callback?: Callback): Result; + ["restore-asking"](key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, absttl: "ABSTTL", secondsToken: "IDLETIME", seconds: number | string, callback?: Callback): Result; + ["restore-asking"](key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, absttl: "ABSTTL", secondsToken: "IDLETIME", seconds: number | string, frequencyToken: "FREQ", frequency: number | string, callback?: Callback): Result; + ["restore-asking"](key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, replace: "REPLACE", callback?: Callback): Result; + ["restore-asking"](key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, replace: "REPLACE", frequencyToken: "FREQ", frequency: number | string, callback?: Callback): Result; + ["restore-asking"](key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, replace: "REPLACE", secondsToken: "IDLETIME", seconds: number | string, callback?: Callback): Result; + ["restore-asking"](key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, replace: "REPLACE", secondsToken: "IDLETIME", seconds: number | string, frequencyToken: "FREQ", frequency: number | string, callback?: Callback): Result; + ["restore-asking"](key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, replace: "REPLACE", absttl: "ABSTTL", callback?: Callback): Result; + ["restore-asking"](key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, replace: "REPLACE", absttl: "ABSTTL", frequencyToken: "FREQ", frequency: number | string, callback?: Callback): Result; + ["restore-asking"](key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, replace: "REPLACE", absttl: "ABSTTL", secondsToken: "IDLETIME", seconds: number | string, callback?: Callback): Result; + ["restore-asking"](key: RedisKey, ttl: number | string, serializedValue: string | Buffer | number, replace: "REPLACE", absttl: "ABSTTL", secondsToken: "IDLETIME", seconds: number | string, frequencyToken: "FREQ", frequency: number | string, callback?: Callback): Result; + /** + * Return the role of the instance in the context of replication + * - _group_: server + * - _complexity_: O(1) + * - _since_: 2.8.12 + */ + role(callback?: Callback): Result; + /** + * Remove and get the last elements in a list + * - _group_: list + * - _complexity_: O(N) where N is the number of elements returned + * - _since_: 1.0.0 + */ + rpop(key: RedisKey, callback?: Callback): Result; + rpopBuffer(key: RedisKey, callback?: Callback): Result; + rpop(key: RedisKey, count: number | string, callback?: Callback): Result; + rpopBuffer(key: RedisKey, count: number | string, callback?: Callback): Result; + /** + * Remove the last element in a list, prepend it to another list and return it + * - _group_: list + * - _complexity_: O(1) + * - _since_: 1.2.0 + */ + rpoplpush(source: RedisKey, destination: RedisKey, callback?: Callback): Result; + rpoplpushBuffer(source: RedisKey, destination: RedisKey, callback?: Callback): Result; + /** + * Append one or multiple elements to a list + * - _group_: list + * - _complexity_: O(1) for each element added, so O(N) to add N elements when the command is called with multiple arguments. + * - _since_: 1.0.0 + */ + rpush(...args: [ + key: RedisKey, + ...elements: (string | Buffer | number)[], + callback: Callback + ]): Result; + rpush(...args: [key: RedisKey, ...elements: (string | Buffer | number)[]]): Result; + /** + * Append an element to a list, only if the list exists + * - _group_: list + * - _complexity_: O(1) for each element added, so O(N) to add N elements when the command is called with multiple arguments. + * - _since_: 2.2.0 + */ + rpushx(...args: [ + key: RedisKey, + ...elements: (string | Buffer | number)[], + callback: Callback + ]): Result; + rpushx(...args: [key: RedisKey, ...elements: (string | Buffer | number)[]]): Result; + /** + * Add one or more members to a set + * - _group_: set + * - _complexity_: O(1) for each element added, so O(N) to add N elements when the command is called with multiple arguments. + * - _since_: 1.0.0 + */ + sadd(...args: [ + key: RedisKey, + ...members: (string | Buffer | number)[], + callback: Callback + ]): Result; + sadd(...args: [ + key: RedisKey, + members: (string | Buffer | number)[], + callback: Callback + ]): Result; + sadd(...args: [key: RedisKey, ...members: (string | Buffer | number)[]]): Result; + sadd(...args: [key: RedisKey, members: (string | Buffer | number)[]]): Result; + /** + * Synchronously save the dataset to disk + * - _group_: server + * - _complexity_: O(N) where N is the total number of keys in all databases + * - _since_: 1.0.0 + */ + save(callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Incrementally iterate the keys space + * - _group_: generic + * - _complexity_: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection. + * - _since_: 2.8.0 + */ + scan(cursor: number | string, callback?: Callback<[cursor: string, elements: string[]]>): Result<[cursor: string, elements: string[]], Context>; + scanBuffer(cursor: number | string, callback?: Callback<[cursor: Buffer, elements: Buffer[]]>): Result<[cursor: Buffer, elements: Buffer[]], Context>; + scan(cursor: number | string, typeToken: "TYPE", type: string | Buffer, callback?: Callback<[cursor: string, elements: string[]]>): Result<[cursor: string, elements: string[]], Context>; + scanBuffer(cursor: number | string, typeToken: "TYPE", type: string | Buffer, callback?: Callback<[cursor: Buffer, elements: Buffer[]]>): Result<[cursor: Buffer, elements: Buffer[]], Context>; + scan(cursor: number | string, countToken: "COUNT", count: number | string, callback?: Callback<[cursor: string, elements: string[]]>): Result<[cursor: string, elements: string[]], Context>; + scanBuffer(cursor: number | string, countToken: "COUNT", count: number | string, callback?: Callback<[cursor: Buffer, elements: Buffer[]]>): Result<[cursor: Buffer, elements: Buffer[]], Context>; + scan(cursor: number | string, countToken: "COUNT", count: number | string, typeToken: "TYPE", type: string | Buffer, callback?: Callback<[cursor: string, elements: string[]]>): Result<[cursor: string, elements: string[]], Context>; + scanBuffer(cursor: number | string, countToken: "COUNT", count: number | string, typeToken: "TYPE", type: string | Buffer, callback?: Callback<[cursor: Buffer, elements: Buffer[]]>): Result<[cursor: Buffer, elements: Buffer[]], Context>; + scan(cursor: number | string, patternToken: "MATCH", pattern: string, callback?: Callback<[cursor: string, elements: string[]]>): Result<[cursor: string, elements: string[]], Context>; + scanBuffer(cursor: number | string, patternToken: "MATCH", pattern: string, callback?: Callback<[cursor: Buffer, elements: Buffer[]]>): Result<[cursor: Buffer, elements: Buffer[]], Context>; + scan(cursor: number | string, patternToken: "MATCH", pattern: string, typeToken: "TYPE", type: string | Buffer, callback?: Callback<[cursor: string, elements: string[]]>): Result<[cursor: string, elements: string[]], Context>; + scanBuffer(cursor: number | string, patternToken: "MATCH", pattern: string, typeToken: "TYPE", type: string | Buffer, callback?: Callback<[cursor: Buffer, elements: Buffer[]]>): Result<[cursor: Buffer, elements: Buffer[]], Context>; + scan(cursor: number | string, patternToken: "MATCH", pattern: string, countToken: "COUNT", count: number | string, callback?: Callback<[cursor: string, elements: string[]]>): Result<[cursor: string, elements: string[]], Context>; + scanBuffer(cursor: number | string, patternToken: "MATCH", pattern: string, countToken: "COUNT", count: number | string, callback?: Callback<[cursor: Buffer, elements: Buffer[]]>): Result<[cursor: Buffer, elements: Buffer[]], Context>; + scan(cursor: number | string, patternToken: "MATCH", pattern: string, countToken: "COUNT", count: number | string, typeToken: "TYPE", type: string | Buffer, callback?: Callback<[cursor: string, elements: string[]]>): Result<[cursor: string, elements: string[]], Context>; + scanBuffer(cursor: number | string, patternToken: "MATCH", pattern: string, countToken: "COUNT", count: number | string, typeToken: "TYPE", type: string | Buffer, callback?: Callback<[cursor: Buffer, elements: Buffer[]]>): Result<[cursor: Buffer, elements: Buffer[]], Context>; + /** + * Get the number of members in a set + * - _group_: set + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + scard(key: RedisKey, callback?: Callback): Result; + /** + * Set the debug mode for executed scripts. + * - _group_: scripting + * - _complexity_: O(1) + * - _since_: 3.2.0 + */ + script(subcommand: "DEBUG", yes: "YES", callback?: Callback): Result; + script(subcommand: "DEBUG", sync: "SYNC", callback?: Callback): Result; + script(subcommand: "DEBUG", no: "NO", callback?: Callback): Result; + /** + * Check existence of scripts in the script cache. + * - _group_: scripting + * - _complexity_: O(N) with N being the number of scripts to check (so checking a single script is an O(1) operation). + * - _since_: 2.6.0 + */ + script(...args: [ + subcommand: "EXISTS", + ...sha1s: (string | Buffer)[], + callback: Callback + ]): Result; + script(...args: [subcommand: "EXISTS", ...sha1s: (string | Buffer)[]]): Result; + /** + * Remove all the scripts from the script cache. + * - _group_: scripting + * - _complexity_: O(N) with N being the number of scripts in cache + * - _since_: 2.6.0 + */ + script(subcommand: "FLUSH", callback?: Callback): Result; + script(subcommand: "FLUSH", async: "ASYNC", callback?: Callback): Result; + script(subcommand: "FLUSH", sync: "SYNC", callback?: Callback): Result; + /** + * Show helpful text about the different subcommands + * - _group_: scripting + * - _complexity_: O(1) + * - _since_: 5.0.0 + */ + script(subcommand: "HELP", callback?: Callback): Result; + /** + * Kill the script currently in execution. + * - _group_: scripting + * - _complexity_: O(1) + * - _since_: 2.6.0 + */ + script(subcommand: "KILL", callback?: Callback): Result; + /** + * Load the specified Lua script into the script cache. + * - _group_: scripting + * - _complexity_: O(N) with N being the length in bytes of the script body. + * - _since_: 2.6.0 + */ + script(subcommand: "LOAD", script: string | Buffer, callback?: Callback): Result; + /** + * Subtract multiple sets + * - _group_: set + * - _complexity_: O(N) where N is the total number of elements in all given sets. + * - _since_: 1.0.0 + */ + sdiff(...args: [...keys: RedisKey[], callback: Callback]): Result; + sdiffBuffer(...args: [...keys: RedisKey[], callback: Callback]): Result; + sdiff(...args: [keys: RedisKey[], callback: Callback]): Result; + sdiffBuffer(...args: [keys: RedisKey[], callback: Callback]): Result; + sdiff(...args: [...keys: RedisKey[]]): Result; + sdiffBuffer(...args: [...keys: RedisKey[]]): Result; + sdiff(...args: [keys: RedisKey[]]): Result; + sdiffBuffer(...args: [keys: RedisKey[]]): Result; + /** + * Subtract multiple sets and store the resulting set in a key + * - _group_: set + * - _complexity_: O(N) where N is the total number of elements in all given sets. + * - _since_: 1.0.0 + */ + sdiffstore(...args: [ + destination: RedisKey, + ...keys: RedisKey[], + callback: Callback + ]): Result; + sdiffstore(...args: [ + destination: RedisKey, + keys: RedisKey[], + callback: Callback + ]): Result; + sdiffstore(...args: [destination: RedisKey, ...keys: RedisKey[]]): Result; + sdiffstore(...args: [destination: RedisKey, keys: RedisKey[]]): Result; + /** + * Change the selected database for the current connection + * - _group_: connection + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + select(index: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Set the string value of a key + * - _group_: string + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + set(key: RedisKey, value: string | Buffer | number, callback?: Callback<"OK">): Result<"OK", Context>; + set(key: RedisKey, value: string | Buffer | number, get: "GET", callback?: Callback): Result; + setBuffer(key: RedisKey, value: string | Buffer | number, get: "GET", callback?: Callback): Result; + set(key: RedisKey, value: string | Buffer | number, nx: "NX", callback?: Callback<"OK" | null>): Result<"OK" | null, Context>; + set(key: RedisKey, value: string | Buffer | number, nx: "NX", get: "GET", callback?: Callback): Result; + setBuffer(key: RedisKey, value: string | Buffer | number, nx: "NX", get: "GET", callback?: Callback): Result; + set(key: RedisKey, value: string | Buffer | number, xx: "XX", callback?: Callback<"OK" | null>): Result<"OK" | null, Context>; + set(key: RedisKey, value: string | Buffer | number, xx: "XX", get: "GET", callback?: Callback): Result; + setBuffer(key: RedisKey, value: string | Buffer | number, xx: "XX", get: "GET", callback?: Callback): Result; + set(key: RedisKey, value: string | Buffer | number, secondsToken: "EX", seconds: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + set(key: RedisKey, value: string | Buffer | number, secondsToken: "EX", seconds: number | string, get: "GET", callback?: Callback): Result; + setBuffer(key: RedisKey, value: string | Buffer | number, secondsToken: "EX", seconds: number | string, get: "GET", callback?: Callback): Result; + set(key: RedisKey, value: string | Buffer | number, secondsToken: "EX", seconds: number | string, nx: "NX", callback?: Callback<"OK" | null>): Result<"OK" | null, Context>; + set(key: RedisKey, value: string | Buffer | number, secondsToken: "EX", seconds: number | string, nx: "NX", get: "GET", callback?: Callback): Result; + setBuffer(key: RedisKey, value: string | Buffer | number, secondsToken: "EX", seconds: number | string, nx: "NX", get: "GET", callback?: Callback): Result; + set(key: RedisKey, value: string | Buffer | number, secondsToken: "EX", seconds: number | string, xx: "XX", callback?: Callback<"OK" | null>): Result<"OK" | null, Context>; + set(key: RedisKey, value: string | Buffer | number, secondsToken: "EX", seconds: number | string, xx: "XX", get: "GET", callback?: Callback): Result; + setBuffer(key: RedisKey, value: string | Buffer | number, secondsToken: "EX", seconds: number | string, xx: "XX", get: "GET", callback?: Callback): Result; + set(key: RedisKey, value: string | Buffer | number, millisecondsToken: "PX", milliseconds: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + set(key: RedisKey, value: string | Buffer | number, millisecondsToken: "PX", milliseconds: number | string, get: "GET", callback?: Callback): Result; + setBuffer(key: RedisKey, value: string | Buffer | number, millisecondsToken: "PX", milliseconds: number | string, get: "GET", callback?: Callback): Result; + set(key: RedisKey, value: string | Buffer | number, millisecondsToken: "PX", milliseconds: number | string, nx: "NX", callback?: Callback<"OK" | null>): Result<"OK" | null, Context>; + set(key: RedisKey, value: string | Buffer | number, millisecondsToken: "PX", milliseconds: number | string, nx: "NX", get: "GET", callback?: Callback): Result; + setBuffer(key: RedisKey, value: string | Buffer | number, millisecondsToken: "PX", milliseconds: number | string, nx: "NX", get: "GET", callback?: Callback): Result; + set(key: RedisKey, value: string | Buffer | number, millisecondsToken: "PX", milliseconds: number | string, xx: "XX", callback?: Callback<"OK" | null>): Result<"OK" | null, Context>; + set(key: RedisKey, value: string | Buffer | number, millisecondsToken: "PX", milliseconds: number | string, xx: "XX", get: "GET", callback?: Callback): Result; + setBuffer(key: RedisKey, value: string | Buffer | number, millisecondsToken: "PX", milliseconds: number | string, xx: "XX", get: "GET", callback?: Callback): Result; + set(key: RedisKey, value: string | Buffer | number, unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + set(key: RedisKey, value: string | Buffer | number, unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, get: "GET", callback?: Callback): Result; + setBuffer(key: RedisKey, value: string | Buffer | number, unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, get: "GET", callback?: Callback): Result; + set(key: RedisKey, value: string | Buffer | number, unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, nx: "NX", callback?: Callback<"OK" | null>): Result<"OK" | null, Context>; + set(key: RedisKey, value: string | Buffer | number, unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, nx: "NX", get: "GET", callback?: Callback): Result; + setBuffer(key: RedisKey, value: string | Buffer | number, unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, nx: "NX", get: "GET", callback?: Callback): Result; + set(key: RedisKey, value: string | Buffer | number, unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, xx: "XX", callback?: Callback<"OK" | null>): Result<"OK" | null, Context>; + set(key: RedisKey, value: string | Buffer | number, unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, xx: "XX", get: "GET", callback?: Callback): Result; + setBuffer(key: RedisKey, value: string | Buffer | number, unixTimeSecondsToken: "EXAT", unixTimeSeconds: number | string, xx: "XX", get: "GET", callback?: Callback): Result; + set(key: RedisKey, value: string | Buffer | number, unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + set(key: RedisKey, value: string | Buffer | number, unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, get: "GET", callback?: Callback): Result; + setBuffer(key: RedisKey, value: string | Buffer | number, unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, get: "GET", callback?: Callback): Result; + set(key: RedisKey, value: string | Buffer | number, unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, nx: "NX", callback?: Callback<"OK" | null>): Result<"OK" | null, Context>; + set(key: RedisKey, value: string | Buffer | number, unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, nx: "NX", get: "GET", callback?: Callback): Result; + setBuffer(key: RedisKey, value: string | Buffer | number, unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, nx: "NX", get: "GET", callback?: Callback): Result; + set(key: RedisKey, value: string | Buffer | number, unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, xx: "XX", callback?: Callback<"OK" | null>): Result<"OK" | null, Context>; + set(key: RedisKey, value: string | Buffer | number, unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, xx: "XX", get: "GET", callback?: Callback): Result; + setBuffer(key: RedisKey, value: string | Buffer | number, unixTimeMillisecondsToken: "PXAT", unixTimeMilliseconds: number | string, xx: "XX", get: "GET", callback?: Callback): Result; + set(key: RedisKey, value: string | Buffer | number, keepttl: "KEEPTTL", callback?: Callback<"OK">): Result<"OK", Context>; + set(key: RedisKey, value: string | Buffer | number, keepttl: "KEEPTTL", get: "GET", callback?: Callback): Result; + setBuffer(key: RedisKey, value: string | Buffer | number, keepttl: "KEEPTTL", get: "GET", callback?: Callback): Result; + set(key: RedisKey, value: string | Buffer | number, keepttl: "KEEPTTL", nx: "NX", callback?: Callback<"OK" | null>): Result<"OK" | null, Context>; + set(key: RedisKey, value: string | Buffer | number, keepttl: "KEEPTTL", nx: "NX", get: "GET", callback?: Callback): Result; + setBuffer(key: RedisKey, value: string | Buffer | number, keepttl: "KEEPTTL", nx: "NX", get: "GET", callback?: Callback): Result; + set(key: RedisKey, value: string | Buffer | number, keepttl: "KEEPTTL", xx: "XX", callback?: Callback<"OK" | null>): Result<"OK" | null, Context>; + set(key: RedisKey, value: string | Buffer | number, keepttl: "KEEPTTL", xx: "XX", get: "GET", callback?: Callback): Result; + setBuffer(key: RedisKey, value: string | Buffer | number, keepttl: "KEEPTTL", xx: "XX", get: "GET", callback?: Callback): Result; + /** + * Sets or clears the bit at offset in the string value stored at key + * - _group_: bitmap + * - _complexity_: O(1) + * - _since_: 2.2.0 + */ + setbit(key: RedisKey, offset: number | string, value: number | string, callback?: Callback): Result; + /** + * Set the value and expiration of a key + * - _group_: string + * - _complexity_: O(1) + * - _since_: 2.0.0 + */ + setex(key: RedisKey, seconds: number | string, value: string | Buffer | number, callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Set the value of a key, only if the key does not exist + * - _group_: string + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + setnx(key: RedisKey, value: string | Buffer | number, callback?: Callback): Result; + /** + * Overwrite part of a string at key starting at the specified offset + * - _group_: string + * - _complexity_: O(1), not counting the time taken to copy the new string in place. Usually, this string is very small so the amortized complexity is O(1). Otherwise, complexity is O(M) with M being the length of the value argument. + * - _since_: 2.2.0 + */ + setrange(key: RedisKey, offset: number | string, value: string | Buffer | number, callback?: Callback): Result; + /** + * Synchronously save the dataset to disk and then shut down the server + * - _group_: server + * - _complexity_: O(N) when saving, where N is the total number of keys in all databases when saving data, otherwise O(1) + * - _since_: 1.0.0 + */ + shutdown(callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(abort: "ABORT", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(force: "FORCE", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(force: "FORCE", abort: "ABORT", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(now: "NOW", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(now: "NOW", abort: "ABORT", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(now: "NOW", force: "FORCE", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(now: "NOW", force: "FORCE", abort: "ABORT", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(nosave: "NOSAVE", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(nosave: "NOSAVE", abort: "ABORT", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(nosave: "NOSAVE", force: "FORCE", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(nosave: "NOSAVE", force: "FORCE", abort: "ABORT", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(nosave: "NOSAVE", now: "NOW", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(nosave: "NOSAVE", now: "NOW", abort: "ABORT", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(nosave: "NOSAVE", now: "NOW", force: "FORCE", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(nosave: "NOSAVE", now: "NOW", force: "FORCE", abort: "ABORT", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(save: "SAVE", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(save: "SAVE", abort: "ABORT", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(save: "SAVE", force: "FORCE", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(save: "SAVE", force: "FORCE", abort: "ABORT", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(save: "SAVE", now: "NOW", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(save: "SAVE", now: "NOW", abort: "ABORT", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(save: "SAVE", now: "NOW", force: "FORCE", callback?: Callback<"OK">): Result<"OK", Context>; + shutdown(save: "SAVE", now: "NOW", force: "FORCE", abort: "ABORT", callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Intersect multiple sets + * - _group_: set + * - _complexity_: O(N*M) worst case where N is the cardinality of the smallest set and M is the number of sets. + * - _since_: 1.0.0 + */ + sinter(...args: [...keys: RedisKey[], callback: Callback]): Result; + sinterBuffer(...args: [...keys: RedisKey[], callback: Callback]): Result; + sinter(...args: [keys: RedisKey[], callback: Callback]): Result; + sinterBuffer(...args: [keys: RedisKey[], callback: Callback]): Result; + sinter(...args: [...keys: RedisKey[]]): Result; + sinterBuffer(...args: [...keys: RedisKey[]]): Result; + sinter(...args: [keys: RedisKey[]]): Result; + sinterBuffer(...args: [keys: RedisKey[]]): Result; + /** + * Intersect multiple sets and return the cardinality of the result + * - _group_: set + * - _complexity_: O(N*M) worst case where N is the cardinality of the smallest set and M is the number of sets. + * - _since_: 7.0.0 + */ + sintercard(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + callback: Callback + ]): Result; + sintercard(...args: [ + numkeys: number | string, + keys: RedisKey[], + callback: Callback + ]): Result; + sintercard(...args: [numkeys: number | string, ...keys: RedisKey[]]): Result; + sintercard(...args: [numkeys: number | string, keys: RedisKey[]]): Result; + sintercard(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + limitToken: "LIMIT", + limit: number | string, + callback: Callback + ]): Result; + sintercard(...args: [ + numkeys: number | string, + keys: RedisKey[], + limitToken: "LIMIT", + limit: number | string, + callback: Callback + ]): Result; + sintercard(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + limitToken: "LIMIT", + limit: number | string + ]): Result; + sintercard(...args: [ + numkeys: number | string, + keys: RedisKey[], + limitToken: "LIMIT", + limit: number | string + ]): Result; + /** + * Intersect multiple sets and store the resulting set in a key + * - _group_: set + * - _complexity_: O(N*M) worst case where N is the cardinality of the smallest set and M is the number of sets. + * - _since_: 1.0.0 + */ + sinterstore(...args: [ + destination: RedisKey, + ...keys: RedisKey[], + callback: Callback + ]): Result; + sinterstore(...args: [ + destination: RedisKey, + keys: RedisKey[], + callback: Callback + ]): Result; + sinterstore(...args: [destination: RedisKey, ...keys: RedisKey[]]): Result; + sinterstore(...args: [destination: RedisKey, keys: RedisKey[]]): Result; + /** + * Determine if a given value is a member of a set + * - _group_: set + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + sismember(key: RedisKey, member: string | Buffer | number, callback?: Callback): Result; + /** + * Make the server a replica of another instance, or promote it as master. + * - _group_: server + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + slaveof(host: string | Buffer, port: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Get the slow log's entries + * - _group_: server + * - _complexity_: O(N) where N is the number of entries returned + * - _since_: 2.2.12 + */ + slowlog(subcommand: "GET", callback?: Callback): Result; + slowlog(subcommand: "GET", count: number | string, callback?: Callback): Result; + /** + * Show helpful text about the different subcommands + * - _group_: server + * - _complexity_: O(1) + * - _since_: 6.2.0 + */ + slowlog(subcommand: "HELP", callback?: Callback): Result; + /** + * Get the slow log's length + * - _group_: server + * - _complexity_: O(1) + * - _since_: 2.2.12 + */ + slowlog(subcommand: "LEN", callback?: Callback): Result; + /** + * Clear all entries from the slow log + * - _group_: server + * - _complexity_: O(N) where N is the number of entries in the slowlog + * - _since_: 2.2.12 + */ + slowlog(subcommand: "RESET", callback?: Callback): Result; + /** + * Get all the members in a set + * - _group_: set + * - _complexity_: O(N) where N is the set cardinality. + * - _since_: 1.0.0 + */ + smembers(key: RedisKey, callback?: Callback): Result; + smembersBuffer(key: RedisKey, callback?: Callback): Result; + /** + * Returns the membership associated with the given elements for a set + * - _group_: set + * - _complexity_: O(N) where N is the number of elements being checked for membership + * - _since_: 6.2.0 + */ + smismember(...args: [ + key: RedisKey, + ...members: (string | Buffer | number)[], + callback: Callback + ]): Result; + smismember(...args: [ + key: RedisKey, + members: (string | Buffer | number)[], + callback: Callback + ]): Result; + smismember(...args: [key: RedisKey, ...members: (string | Buffer | number)[]]): Result; + smismember(...args: [key: RedisKey, members: (string | Buffer | number)[]]): Result; + /** + * Move a member from one set to another + * - _group_: set + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + smove(source: RedisKey, destination: RedisKey, member: string | Buffer | number, callback?: Callback): Result; + /** + * Sort the elements in a list, set or sorted set + * - _group_: generic + * - _complexity_: O(N+M*log(M)) where N is the number of elements in the list or set to sort, and M the number of returned elements. When the elements are not sorted, complexity is O(N). + * - _since_: 1.0.0 + */ + sort(...args: [key: RedisKey, ...args: RedisValue[], callback: Callback]): Result; + sort(...args: [key: RedisKey, ...args: RedisValue[]]): Result; + /** + * Sort the elements in a list, set or sorted set. Read-only variant of SORT. + * - _group_: generic + * - _complexity_: O(N+M*log(M)) where N is the number of elements in the list or set to sort, and M the number of returned elements. When the elements are not sorted, complexity is O(N). + * - _since_: 7.0.0 + */ + sort_ro(key: RedisKey, callback?: Callback): Result; + sort_ro(key: RedisKey, alpha: "ALPHA", callback?: Callback): Result; + sort_ro(key: RedisKey, asc: "ASC", callback?: Callback): Result; + sort_ro(key: RedisKey, asc: "ASC", alpha: "ALPHA", callback?: Callback): Result; + sort_ro(key: RedisKey, desc: "DESC", callback?: Callback): Result; + sort_ro(key: RedisKey, desc: "DESC", alpha: "ALPHA", callback?: Callback): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "GET", + ...patterns: string[], + callback: Callback + ]): Result; + sort_ro(...args: [key: RedisKey, patternToken: "GET", ...patterns: string[]]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "GET", + ...patterns: string[], + alpha: "ALPHA", + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "GET", + ...patterns: string[], + alpha: "ALPHA" + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "GET", + ...patterns: string[], + asc: "ASC", + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "GET", + ...patterns: string[], + asc: "ASC" + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "GET", + ...patterns: string[], + asc: "ASC", + alpha: "ALPHA", + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "GET", + ...patterns: string[], + asc: "ASC", + alpha: "ALPHA" + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "GET", + ...patterns: string[], + desc: "DESC", + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "GET", + ...patterns: string[], + desc: "DESC" + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "GET", + ...patterns: string[], + desc: "DESC", + alpha: "ALPHA", + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "GET", + ...patterns: string[], + desc: "DESC", + alpha: "ALPHA" + ]): Result; + sort_ro(key: RedisKey, offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + sort_ro(key: RedisKey, offsetCountToken: "LIMIT", offset: number | string, count: number | string, alpha: "ALPHA", callback?: Callback): Result; + sort_ro(key: RedisKey, offsetCountToken: "LIMIT", offset: number | string, count: number | string, asc: "ASC", callback?: Callback): Result; + sort_ro(key: RedisKey, offsetCountToken: "LIMIT", offset: number | string, count: number | string, asc: "ASC", alpha: "ALPHA", callback?: Callback): Result; + sort_ro(key: RedisKey, offsetCountToken: "LIMIT", offset: number | string, count: number | string, desc: "DESC", callback?: Callback): Result; + sort_ro(key: RedisKey, offsetCountToken: "LIMIT", offset: number | string, count: number | string, desc: "DESC", alpha: "ALPHA", callback?: Callback): Result; + sort_ro(...args: [ + key: RedisKey, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken: "GET", + ...patterns: string[], + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken: "GET", + ...patterns: string[] + ]): Result; + sort_ro(...args: [ + key: RedisKey, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken: "GET", + ...patterns: string[], + alpha: "ALPHA", + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken: "GET", + ...patterns: string[], + alpha: "ALPHA" + ]): Result; + sort_ro(...args: [ + key: RedisKey, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken: "GET", + ...patterns: string[], + asc: "ASC", + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken: "GET", + ...patterns: string[], + asc: "ASC" + ]): Result; + sort_ro(...args: [ + key: RedisKey, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken: "GET", + ...patterns: string[], + asc: "ASC", + alpha: "ALPHA", + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken: "GET", + ...patterns: string[], + asc: "ASC", + alpha: "ALPHA" + ]): Result; + sort_ro(...args: [ + key: RedisKey, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken: "GET", + ...patterns: string[], + desc: "DESC", + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken: "GET", + ...patterns: string[], + desc: "DESC" + ]): Result; + sort_ro(...args: [ + key: RedisKey, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken: "GET", + ...patterns: string[], + desc: "DESC", + alpha: "ALPHA", + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken: "GET", + ...patterns: string[], + desc: "DESC", + alpha: "ALPHA" + ]): Result; + sort_ro(key: RedisKey, patternToken: "BY", pattern: string, callback?: Callback): Result; + sort_ro(key: RedisKey, patternToken: "BY", pattern: string, alpha: "ALPHA", callback?: Callback): Result; + sort_ro(key: RedisKey, patternToken: "BY", pattern: string, asc: "ASC", callback?: Callback): Result; + sort_ro(key: RedisKey, patternToken: "BY", pattern: string, asc: "ASC", alpha: "ALPHA", callback?: Callback): Result; + sort_ro(key: RedisKey, patternToken: "BY", pattern: string, desc: "DESC", callback?: Callback): Result; + sort_ro(key: RedisKey, patternToken: "BY", pattern: string, desc: "DESC", alpha: "ALPHA", callback?: Callback): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + patternToken1: "GET", + ...pattern1s: string[], + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + patternToken1: "GET", + ...pattern1s: string[] + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + patternToken1: "GET", + ...pattern1s: string[], + alpha: "ALPHA", + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + patternToken1: "GET", + ...pattern1s: string[], + alpha: "ALPHA" + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + patternToken1: "GET", + ...pattern1s: string[], + asc: "ASC", + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + patternToken1: "GET", + ...pattern1s: string[], + asc: "ASC" + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + patternToken1: "GET", + ...pattern1s: string[], + asc: "ASC", + alpha: "ALPHA", + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + patternToken1: "GET", + ...pattern1s: string[], + asc: "ASC", + alpha: "ALPHA" + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + patternToken1: "GET", + ...pattern1s: string[], + desc: "DESC", + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + patternToken1: "GET", + ...pattern1s: string[], + desc: "DESC" + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + patternToken1: "GET", + ...pattern1s: string[], + desc: "DESC", + alpha: "ALPHA", + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + patternToken1: "GET", + ...pattern1s: string[], + desc: "DESC", + alpha: "ALPHA" + ]): Result; + sort_ro(key: RedisKey, patternToken: "BY", pattern: string, offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + sort_ro(key: RedisKey, patternToken: "BY", pattern: string, offsetCountToken: "LIMIT", offset: number | string, count: number | string, alpha: "ALPHA", callback?: Callback): Result; + sort_ro(key: RedisKey, patternToken: "BY", pattern: string, offsetCountToken: "LIMIT", offset: number | string, count: number | string, asc: "ASC", callback?: Callback): Result; + sort_ro(key: RedisKey, patternToken: "BY", pattern: string, offsetCountToken: "LIMIT", offset: number | string, count: number | string, asc: "ASC", alpha: "ALPHA", callback?: Callback): Result; + sort_ro(key: RedisKey, patternToken: "BY", pattern: string, offsetCountToken: "LIMIT", offset: number | string, count: number | string, desc: "DESC", callback?: Callback): Result; + sort_ro(key: RedisKey, patternToken: "BY", pattern: string, offsetCountToken: "LIMIT", offset: number | string, count: number | string, desc: "DESC", alpha: "ALPHA", callback?: Callback): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken1: "GET", + ...pattern1s: string[], + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken1: "GET", + ...pattern1s: string[] + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken1: "GET", + ...pattern1s: string[], + alpha: "ALPHA", + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken1: "GET", + ...pattern1s: string[], + alpha: "ALPHA" + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken1: "GET", + ...pattern1s: string[], + asc: "ASC", + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken1: "GET", + ...pattern1s: string[], + asc: "ASC" + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken1: "GET", + ...pattern1s: string[], + asc: "ASC", + alpha: "ALPHA", + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken1: "GET", + ...pattern1s: string[], + asc: "ASC", + alpha: "ALPHA" + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken1: "GET", + ...pattern1s: string[], + desc: "DESC", + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken1: "GET", + ...pattern1s: string[], + desc: "DESC" + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken1: "GET", + ...pattern1s: string[], + desc: "DESC", + alpha: "ALPHA", + callback: Callback + ]): Result; + sort_ro(...args: [ + key: RedisKey, + patternToken: "BY", + pattern: string, + offsetCountToken: "LIMIT", + offset: number | string, + count: number | string, + patternToken1: "GET", + ...pattern1s: string[], + desc: "DESC", + alpha: "ALPHA" + ]): Result; + /** + * Remove and return one or multiple random members from a set + * - _group_: set + * - _complexity_: Without the count argument O(1), otherwise O(N) where N is the value of the passed count. + * - _since_: 1.0.0 + */ + spop(key: RedisKey, callback?: Callback): Result; + spopBuffer(key: RedisKey, callback?: Callback): Result; + spop(key: RedisKey, count: number | string, callback?: Callback): Result; + spopBuffer(key: RedisKey, count: number | string, callback?: Callback): Result; + /** + * Post a message to a shard channel + * - _group_: pubsub + * - _complexity_: O(N) where N is the number of clients subscribed to the receiving shard channel. + * - _since_: 7.0.0 + */ + spublish(shardchannel: string | Buffer, message: string | Buffer, callback?: Callback): Result; + /** + * Get one or multiple random members from a set + * - _group_: set + * - _complexity_: Without the count argument O(1), otherwise O(N) where N is the absolute value of the passed count. + * - _since_: 1.0.0 + */ + srandmember(key: RedisKey, callback?: Callback): Result; + srandmemberBuffer(key: RedisKey, callback?: Callback): Result; + srandmember(key: RedisKey, count: number | string, callback?: Callback): Result; + srandmemberBuffer(key: RedisKey, count: number | string, callback?: Callback): Result; + /** + * Remove one or more members from a set + * - _group_: set + * - _complexity_: O(N) where N is the number of members to be removed. + * - _since_: 1.0.0 + */ + srem(...args: [ + key: RedisKey, + ...members: (string | Buffer | number)[], + callback: Callback + ]): Result; + srem(...args: [ + key: RedisKey, + members: (string | Buffer | number)[], + callback: Callback + ]): Result; + srem(...args: [key: RedisKey, ...members: (string | Buffer | number)[]]): Result; + srem(...args: [key: RedisKey, members: (string | Buffer | number)[]]): Result; + /** + * Incrementally iterate Set elements + * - _group_: set + * - _complexity_: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection.. + * - _since_: 2.8.0 + */ + sscan(key: RedisKey, cursor: number | string, callback?: Callback<[cursor: string, elements: string[]]>): Result<[cursor: string, elements: string[]], Context>; + sscanBuffer(key: RedisKey, cursor: number | string, callback?: Callback<[cursor: Buffer, elements: Buffer[]]>): Result<[cursor: Buffer, elements: Buffer[]], Context>; + sscan(key: RedisKey, cursor: number | string, countToken: "COUNT", count: number | string, callback?: Callback<[cursor: string, elements: string[]]>): Result<[cursor: string, elements: string[]], Context>; + sscanBuffer(key: RedisKey, cursor: number | string, countToken: "COUNT", count: number | string, callback?: Callback<[cursor: Buffer, elements: Buffer[]]>): Result<[cursor: Buffer, elements: Buffer[]], Context>; + sscan(key: RedisKey, cursor: number | string, patternToken: "MATCH", pattern: string, callback?: Callback<[cursor: string, elements: string[]]>): Result<[cursor: string, elements: string[]], Context>; + sscanBuffer(key: RedisKey, cursor: number | string, patternToken: "MATCH", pattern: string, callback?: Callback<[cursor: Buffer, elements: Buffer[]]>): Result<[cursor: Buffer, elements: Buffer[]], Context>; + sscan(key: RedisKey, cursor: number | string, patternToken: "MATCH", pattern: string, countToken: "COUNT", count: number | string, callback?: Callback<[cursor: string, elements: string[]]>): Result<[cursor: string, elements: string[]], Context>; + sscanBuffer(key: RedisKey, cursor: number | string, patternToken: "MATCH", pattern: string, countToken: "COUNT", count: number | string, callback?: Callback<[cursor: Buffer, elements: Buffer[]]>): Result<[cursor: Buffer, elements: Buffer[]], Context>; + /** + * Listen for messages published to the given shard channels + * - _group_: pubsub + * - _complexity_: O(N) where N is the number of shard channels to subscribe to. + * - _since_: 7.0.0 + */ + ssubscribe(...args: [ + ...shardchannels: (string | Buffer)[], + callback: Callback + ]): Result; + ssubscribe(...args: [...shardchannels: (string | Buffer)[]]): Result; + /** + * Get the length of the value stored in a key + * - _group_: string + * - _complexity_: O(1) + * - _since_: 2.2.0 + */ + strlen(key: RedisKey, callback?: Callback): Result; + /** + * Listen for messages published to the given channels + * - _group_: pubsub + * - _complexity_: O(N) where N is the number of channels to subscribe to. + * - _since_: 2.0.0 + */ + subscribe(...args: [...channels: (string | Buffer)[], callback: Callback]): Result; + subscribe(...args: [...channels: (string | Buffer)[]]): Result; + /** + * Get a substring of the string stored at a key + * - _group_: string + * - _complexity_: O(N) where N is the length of the returned string. The complexity is ultimately determined by the returned length, but because creating a substring from an existing string is very cheap, it can be considered O(1) for small strings. + * - _since_: 1.0.0 + */ + substr(key: RedisKey, start: number | string, end: number | string, callback?: Callback): Result; + /** + * Add multiple sets + * - _group_: set + * - _complexity_: O(N) where N is the total number of elements in all given sets. + * - _since_: 1.0.0 + */ + sunion(...args: [...keys: RedisKey[], callback: Callback]): Result; + sunionBuffer(...args: [...keys: RedisKey[], callback: Callback]): Result; + sunion(...args: [keys: RedisKey[], callback: Callback]): Result; + sunionBuffer(...args: [keys: RedisKey[], callback: Callback]): Result; + sunion(...args: [...keys: RedisKey[]]): Result; + sunionBuffer(...args: [...keys: RedisKey[]]): Result; + sunion(...args: [keys: RedisKey[]]): Result; + sunionBuffer(...args: [keys: RedisKey[]]): Result; + /** + * Add multiple sets and store the resulting set in a key + * - _group_: set + * - _complexity_: O(N) where N is the total number of elements in all given sets. + * - _since_: 1.0.0 + */ + sunionstore(...args: [ + destination: RedisKey, + ...keys: RedisKey[], + callback: Callback + ]): Result; + sunionstore(...args: [ + destination: RedisKey, + keys: RedisKey[], + callback: Callback + ]): Result; + sunionstore(...args: [destination: RedisKey, ...keys: RedisKey[]]): Result; + sunionstore(...args: [destination: RedisKey, keys: RedisKey[]]): Result; + /** + * Stop listening for messages posted to the given shard channels + * - _group_: pubsub + * - _complexity_: O(N) where N is the number of clients already subscribed to a shard channel. + * - _since_: 7.0.0 + */ + sunsubscribe(callback?: Callback): Result; + sunsubscribe(...args: [ + ...shardchannels: (string | Buffer)[], + callback: Callback + ]): Result; + sunsubscribe(...args: [...shardchannels: (string | Buffer)[]]): Result; + /** + * Swaps two Redis databases + * - _group_: server + * - _complexity_: O(N) where N is the count of clients watching or blocking on keys from both databases. + * - _since_: 4.0.0 + */ + swapdb(index1: number | string, index2: number | string, callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Internal command used for replication + * - _group_: server + * - _complexity_: undefined + * - _since_: 1.0.0 + */ + sync(callback?: Callback): Result; + /** + * Return the current server time + * - _group_: server + * - _complexity_: O(1) + * - _since_: 2.6.0 + */ + time(callback?: Callback): Result; + /** + * Alters the last access time of a key(s). Returns the number of existing keys specified. + * - _group_: generic + * - _complexity_: O(N) where N is the number of keys that will be touched. + * - _since_: 3.2.1 + */ + touch(...args: [...keys: RedisKey[], callback: Callback]): Result; + touch(...args: [keys: RedisKey[], callback: Callback]): Result; + touch(...args: [...keys: RedisKey[]]): Result; + touch(...args: [keys: RedisKey[]]): Result; + /** + * Get the time to live for a key in seconds + * - _group_: generic + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + ttl(key: RedisKey, callback?: Callback): Result; + /** + * Determine the type stored at key + * - _group_: generic + * - _complexity_: O(1) + * - _since_: 1.0.0 + */ + type(key: RedisKey, callback?: Callback): Result; + /** + * Delete a key asynchronously in another thread. Otherwise it is just as DEL, but non blocking. + * - _group_: generic + * - _complexity_: O(1) for each key removed regardless of its size. Then the command does O(N) work in a different thread in order to reclaim memory, where N is the number of allocations the deleted objects where composed of. + * - _since_: 4.0.0 + */ + unlink(...args: [...keys: RedisKey[], callback: Callback]): Result; + unlink(...args: [keys: RedisKey[], callback: Callback]): Result; + unlink(...args: [...keys: RedisKey[]]): Result; + unlink(...args: [keys: RedisKey[]]): Result; + /** + * Stop listening for messages posted to the given channels + * - _group_: pubsub + * - _complexity_: O(N) where N is the number of clients already subscribed to a channel. + * - _since_: 2.0.0 + */ + unsubscribe(callback?: Callback): Result; + unsubscribe(...args: [...channels: (string | Buffer)[], callback: Callback]): Result; + unsubscribe(...args: [...channels: (string | Buffer)[]]): Result; + /** + * Forget about all watched keys + * - _group_: transactions + * - _complexity_: O(1) + * - _since_: 2.2.0 + */ + unwatch(callback?: Callback<"OK">): Result<"OK", Context>; + /** + * Wait for the synchronous replication of all the write commands sent in the context of the current connection + * - _group_: generic + * - _complexity_: O(1) + * - _since_: 3.0.0 + */ + wait(numreplicas: number | string, timeout: number | string, callback?: Callback): Result; + /** + * Watch the given keys to determine execution of the MULTI/EXEC block + * - _group_: transactions + * - _complexity_: O(1) for every key. + * - _since_: 2.2.0 + */ + watch(...args: [...keys: RedisKey[], callback: Callback<"OK">]): Result<"OK", Context>; + watch(...args: [keys: RedisKey[], callback: Callback<"OK">]): Result<"OK", Context>; + watch(...args: [...keys: RedisKey[]]): Result<"OK", Context>; + watch(...args: [keys: RedisKey[]]): Result<"OK", Context>; + /** + * Marks a pending message as correctly processed, effectively removing it from the pending entries list of the consumer group. Return value of the command is the number of messages successfully acknowledged, that is, the IDs we were actually able to resolve in the PEL. + * - _group_: stream + * - _complexity_: O(1) for each message ID processed. + * - _since_: 5.0.0 + */ + xack(...args: [ + key: RedisKey, + group: string | Buffer, + ...ids: (string | Buffer | number)[], + callback: Callback + ]): Result; + xack(...args: [ + key: RedisKey, + group: string | Buffer, + ...ids: (string | Buffer | number)[] + ]): Result; + /** + * Appends a new entry to a stream + * - _group_: stream + * - _complexity_: O(1) when adding a new entry, O(N) when trimming where N being the number of entries evicted. + * - _since_: 5.0.0 + */ + xadd(...args: [ + key: RedisKey, + ...args: RedisValue[], + callback: Callback + ]): Result; + xaddBuffer(...args: [ + key: RedisKey, + ...args: RedisValue[], + callback: Callback + ]): Result; + xadd(...args: [key: RedisKey, ...args: RedisValue[]]): Result; + xaddBuffer(...args: [key: RedisKey, ...args: RedisValue[]]): Result; + /** + * Changes (or acquires) ownership of messages in a consumer group, as if the messages were delivered to the specified consumer. + * - _group_: stream + * - _complexity_: O(1) if COUNT is small. + * - _since_: 6.2.0 + */ + xautoclaim(key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, start: string | Buffer | number, callback?: Callback): Result; + xautoclaim(key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, start: string | Buffer | number, justid: "JUSTID", callback?: Callback): Result; + xautoclaim(key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, start: string | Buffer | number, countToken: "COUNT", count: number | string, callback?: Callback): Result; + xautoclaim(key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, start: string | Buffer | number, countToken: "COUNT", count: number | string, justid: "JUSTID", callback?: Callback): Result; + /** + * Changes (or acquires) ownership of a message in a consumer group, as if the message was delivered to the specified consumer. + * - _group_: stream + * - _complexity_: O(log N) with N being the number of messages in the PEL of the consumer group. + * - _since_: 5.0.0 + */ + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[] + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + justid: "JUSTID", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + justid: "JUSTID" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + force: "FORCE", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + force: "FORCE" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + force: "FORCE", + justid: "JUSTID", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + force: "FORCE", + justid: "JUSTID" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + countToken: "RETRYCOUNT", + count: number | string, + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + countToken: "RETRYCOUNT", + count: number | string + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + countToken: "RETRYCOUNT", + count: number | string, + justid: "JUSTID", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + countToken: "RETRYCOUNT", + count: number | string, + justid: "JUSTID" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + countToken: "RETRYCOUNT", + count: number | string, + force: "FORCE", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + countToken: "RETRYCOUNT", + count: number | string, + force: "FORCE" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + countToken: "RETRYCOUNT", + count: number | string, + force: "FORCE", + justid: "JUSTID", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + countToken: "RETRYCOUNT", + count: number | string, + force: "FORCE", + justid: "JUSTID" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + justid: "JUSTID", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + justid: "JUSTID" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + force: "FORCE", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + force: "FORCE" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + force: "FORCE", + justid: "JUSTID", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + force: "FORCE", + justid: "JUSTID" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + countToken: "RETRYCOUNT", + count: number | string, + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + countToken: "RETRYCOUNT", + count: number | string + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + countToken: "RETRYCOUNT", + count: number | string, + justid: "JUSTID", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + countToken: "RETRYCOUNT", + count: number | string, + justid: "JUSTID" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + countToken: "RETRYCOUNT", + count: number | string, + force: "FORCE", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + countToken: "RETRYCOUNT", + count: number | string, + force: "FORCE" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + countToken: "RETRYCOUNT", + count: number | string, + force: "FORCE", + justid: "JUSTID", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + countToken: "RETRYCOUNT", + count: number | string, + force: "FORCE", + justid: "JUSTID" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + justid: "JUSTID", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + justid: "JUSTID" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + force: "FORCE", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + force: "FORCE" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + force: "FORCE", + justid: "JUSTID", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + force: "FORCE", + justid: "JUSTID" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + countToken: "RETRYCOUNT", + count: number | string, + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + countToken: "RETRYCOUNT", + count: number | string + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + countToken: "RETRYCOUNT", + count: number | string, + justid: "JUSTID", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + countToken: "RETRYCOUNT", + count: number | string, + justid: "JUSTID" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + countToken: "RETRYCOUNT", + count: number | string, + force: "FORCE", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + countToken: "RETRYCOUNT", + count: number | string, + force: "FORCE" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + countToken: "RETRYCOUNT", + count: number | string, + force: "FORCE", + justid: "JUSTID", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + countToken: "RETRYCOUNT", + count: number | string, + force: "FORCE", + justid: "JUSTID" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + justid: "JUSTID", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + justid: "JUSTID" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + force: "FORCE", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + force: "FORCE" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + force: "FORCE", + justid: "JUSTID", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + force: "FORCE", + justid: "JUSTID" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + countToken: "RETRYCOUNT", + count: number | string, + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + countToken: "RETRYCOUNT", + count: number | string + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + countToken: "RETRYCOUNT", + count: number | string, + justid: "JUSTID", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + countToken: "RETRYCOUNT", + count: number | string, + justid: "JUSTID" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + countToken: "RETRYCOUNT", + count: number | string, + force: "FORCE", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + countToken: "RETRYCOUNT", + count: number | string, + force: "FORCE" + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + countToken: "RETRYCOUNT", + count: number | string, + force: "FORCE", + justid: "JUSTID", + callback: Callback + ]): Result; + xclaim(...args: [ + key: RedisKey, + group: string | Buffer, + consumer: string | Buffer, + minIdleTime: string | Buffer | number, + ...ids: (string | Buffer | number)[], + msToken: "IDLE", + ms: number | string, + unixTimeMillisecondsToken: "TIME", + unixTimeMilliseconds: number | string, + countToken: "RETRYCOUNT", + count: number | string, + force: "FORCE", + justid: "JUSTID" + ]): Result; + /** + * Removes the specified entries from the stream. Returns the number of items actually deleted, that may be different from the number of IDs passed in case certain IDs do not exist. + * - _group_: stream + * - _complexity_: O(1) for each single item to delete in the stream, regardless of the stream size. + * - _since_: 5.0.0 + */ + xdel(...args: [ + key: RedisKey, + ...ids: (string | Buffer | number)[], + callback: Callback + ]): Result; + xdel(...args: [key: RedisKey, ...ids: (string | Buffer | number)[]]): Result; + /** + * Deletes one or multiple entries from the stream. + * - _group_: stream + * - _complexity_: O(1) for each single item to delete in the stream, regardless of the stream size. + * - _since_: 8.2.0 + */ + xdelex(...args: [ + key: RedisKey, + idsToken: "IDS", + numids: number | string, + ...ids: (string | Buffer | number)[], + callback: Callback + ]): Result; + xdelex(...args: [ + key: RedisKey, + idsToken: "IDS", + numids: number | string, + ...ids: (string | Buffer | number)[] + ]): Result; + xdelex(...args: [ + key: RedisKey, + keepref: "KEEPREF", + idsToken: "IDS", + numids: number | string, + ...ids: (string | Buffer | number)[], + callback: Callback + ]): Result; + xdelex(...args: [ + key: RedisKey, + keepref: "KEEPREF", + idsToken: "IDS", + numids: number | string, + ...ids: (string | Buffer | number)[] + ]): Result; + xdelex(...args: [ + key: RedisKey, + delref: "DELREF", + idsToken: "IDS", + numids: number | string, + ...ids: (string | Buffer | number)[], + callback: Callback + ]): Result; + xdelex(...args: [ + key: RedisKey, + delref: "DELREF", + idsToken: "IDS", + numids: number | string, + ...ids: (string | Buffer | number)[] + ]): Result; + xdelex(...args: [ + key: RedisKey, + acked: "ACKED", + idsToken: "IDS", + numids: number | string, + ...ids: (string | Buffer | number)[], + callback: Callback + ]): Result; + xdelex(...args: [ + key: RedisKey, + acked: "ACKED", + idsToken: "IDS", + numids: number | string, + ...ids: (string | Buffer | number)[] + ]): Result; + /** + * Create a consumer group. + * - _group_: stream + * - _complexity_: O(1) + * - _since_: 5.0.0 + */ + xgroup(subcommand: "CREATE", key: RedisKey, groupname: string | Buffer, id: string | Buffer | number, callback?: Callback): Result; + xgroup(subcommand: "CREATE", key: RedisKey, groupname: string | Buffer, id: string | Buffer | number, entriesReadToken: "ENTRIESREAD", entriesRead: number | string, callback?: Callback): Result; + xgroup(subcommand: "CREATE", key: RedisKey, groupname: string | Buffer, id: string | Buffer | number, mkstream: "MKSTREAM", callback?: Callback): Result; + xgroup(subcommand: "CREATE", key: RedisKey, groupname: string | Buffer, id: string | Buffer | number, mkstream: "MKSTREAM", entriesReadToken: "ENTRIESREAD", entriesRead: number | string, callback?: Callback): Result; + xgroup(subcommand: "CREATE", key: RedisKey, groupname: string | Buffer, newId: "$", callback?: Callback): Result; + xgroup(subcommand: "CREATE", key: RedisKey, groupname: string | Buffer, newId: "$", entriesReadToken: "ENTRIESREAD", entriesRead: number | string, callback?: Callback): Result; + xgroup(subcommand: "CREATE", key: RedisKey, groupname: string | Buffer, newId: "$", mkstream: "MKSTREAM", callback?: Callback): Result; + xgroup(subcommand: "CREATE", key: RedisKey, groupname: string | Buffer, newId: "$", mkstream: "MKSTREAM", entriesReadToken: "ENTRIESREAD", entriesRead: number | string, callback?: Callback): Result; + /** + * Create a consumer in a consumer group. + * - _group_: stream + * - _complexity_: O(1) + * - _since_: 6.2.0 + */ + xgroup(subcommand: "CREATECONSUMER", key: RedisKey, groupname: string | Buffer, consumername: string | Buffer, callback?: Callback): Result; + /** + * Delete a consumer from a consumer group. + * - _group_: stream + * - _complexity_: O(1) + * - _since_: 5.0.0 + */ + xgroup(subcommand: "DELCONSUMER", key: RedisKey, groupname: string | Buffer, consumername: string | Buffer, callback?: Callback): Result; + /** + * Destroy a consumer group. + * - _group_: stream + * - _complexity_: O(N) where N is the number of entries in the group's pending entries list (PEL). + * - _since_: 5.0.0 + */ + xgroup(subcommand: "DESTROY", key: RedisKey, groupname: string | Buffer, callback?: Callback): Result; + /** + * Show helpful text about the different subcommands + * - _group_: stream + * - _complexity_: O(1) + * - _since_: 5.0.0 + */ + xgroup(subcommand: "HELP", callback?: Callback): Result; + /** + * Set a consumer group to an arbitrary last delivered ID value. + * - _group_: stream + * - _complexity_: O(1) + * - _since_: 5.0.0 + */ + xgroup(subcommand: "SETID", key: RedisKey, groupname: string | Buffer, id: string | Buffer | number, callback?: Callback): Result; + xgroup(subcommand: "SETID", key: RedisKey, groupname: string | Buffer, id: string | Buffer | number, entriesReadToken: "ENTRIESREAD", entriesRead: number | string, callback?: Callback): Result; + xgroup(subcommand: "SETID", key: RedisKey, groupname: string | Buffer, newId: "$", callback?: Callback): Result; + xgroup(subcommand: "SETID", key: RedisKey, groupname: string | Buffer, newId: "$", entriesReadToken: "ENTRIESREAD", entriesRead: number | string, callback?: Callback): Result; + /** + * List the consumers in a consumer group + * - _group_: stream + * - _complexity_: O(1) + * - _since_: 5.0.0 + */ + xinfo(subcommand: "CONSUMERS", key: RedisKey, groupname: string | Buffer, callback?: Callback): Result; + /** + * List the consumer groups of a stream + * - _group_: stream + * - _complexity_: O(1) + * - _since_: 5.0.0 + */ + xinfo(subcommand: "GROUPS", key: RedisKey, callback?: Callback): Result; + /** + * Show helpful text about the different subcommands + * - _group_: stream + * - _complexity_: O(1) + * - _since_: 5.0.0 + */ + xinfo(subcommand: "HELP", callback?: Callback): Result; + /** + * Get information about a stream + * - _group_: stream + * - _complexity_: O(1) + * - _since_: 5.0.0 + */ + xinfo(subcommand: "STREAM", key: RedisKey, callback?: Callback): Result; + xinfo(subcommand: "STREAM", key: RedisKey, fullToken: "FULL", callback?: Callback): Result; + xinfo(subcommand: "STREAM", key: RedisKey, fullToken: "FULL", countToken: "COUNT", count: number | string, callback?: Callback): Result; + /** + * Return the number of entries in a stream + * - _group_: stream + * - _complexity_: O(1) + * - _since_: 5.0.0 + */ + xlen(key: RedisKey, callback?: Callback): Result; + /** + * Return information and entries from a stream consumer group pending entries list, that are messages fetched but never acknowledged. + * - _group_: stream + * - _complexity_: O(N) with N being the number of elements returned, so asking for a small fixed number of entries per call is O(1). O(M), where M is the total number of entries scanned when used with the IDLE filter. When the command returns just the summary and the list of consumers is small, it runs in O(1) time; otherwise, an additional O(N) time for iterating every consumer. + * - _since_: 5.0.0 + */ + xpending(key: RedisKey, group: string | Buffer, callback?: Callback): Result; + xpending(key: RedisKey, group: string | Buffer, start: string | Buffer | number, end: string | Buffer | number, count: number | string, callback?: Callback): Result; + xpending(key: RedisKey, group: string | Buffer, start: string | Buffer | number, end: string | Buffer | number, count: number | string, consumer: string | Buffer, callback?: Callback): Result; + xpending(key: RedisKey, group: string | Buffer, minIdleTimeToken: "IDLE", minIdleTime: number | string, start: string | Buffer | number, end: string | Buffer | number, count: number | string, callback?: Callback): Result; + xpending(key: RedisKey, group: string | Buffer, minIdleTimeToken: "IDLE", minIdleTime: number | string, start: string | Buffer | number, end: string | Buffer | number, count: number | string, consumer: string | Buffer, callback?: Callback): Result; + /** + * Return a range of elements in a stream, with IDs matching the specified IDs interval + * - _group_: stream + * - _complexity_: O(N) with N being the number of elements being returned. If N is constant (e.g. always asking for the first 10 elements with COUNT), you can consider it O(1). + * - _since_: 5.0.0 + */ + xrange(key: RedisKey, start: string | Buffer | number, end: string | Buffer | number, callback?: Callback<[id: string, fields: string[]][]>): Result<[id: string, fields: string[]][], Context>; + xrangeBuffer(key: RedisKey, start: string | Buffer | number, end: string | Buffer | number, callback?: Callback<[id: Buffer, fields: Buffer[]][]>): Result<[id: Buffer, fields: Buffer[]][], Context>; + xrange(key: RedisKey, start: string | Buffer | number, end: string | Buffer | number, countToken: "COUNT", count: number | string, callback?: Callback<[id: string, fields: string[]][]>): Result<[id: string, fields: string[]][], Context>; + xrangeBuffer(key: RedisKey, start: string | Buffer | number, end: string | Buffer | number, countToken: "COUNT", count: number | string, callback?: Callback<[id: Buffer, fields: Buffer[]][]>): Result<[id: Buffer, fields: Buffer[]][], Context>; + /** + * Return never seen elements in multiple streams, with IDs greater than the ones reported by the caller for each stream. Can block. + * - _group_: stream + * - _complexity_: For each stream mentioned: O(N) with N being the number of elements being returned, it means that XREAD-ing with a fixed COUNT is O(1). Note that when the BLOCK option is used, XADD will pay O(M) time in order to serve the M clients blocked on the stream getting new data. + * - _since_: 5.0.0 + */ + xread(...args: [ + streamsToken: "STREAMS", + ...args: RedisValue[], + callback: Callback<[ + key: string, + items: [id: string, fields: string[]][] + ][] | null> + ]): Result<[ + key: string, + items: [id: string, fields: string[]][] + ][] | null, Context>; + xreadBuffer(...args: [ + streamsToken: "STREAMS", + ...args: RedisValue[], + callback: Callback<[ + key: Buffer, + items: [id: Buffer, fields: Buffer[]][] + ][] | null> + ]): Result<[ + key: Buffer, + items: [id: Buffer, fields: Buffer[]][] + ][] | null, Context>; + xread(...args: [streamsToken: "STREAMS", ...args: RedisValue[]]): Result<[ + key: string, + items: [id: string, fields: string[]][] + ][] | null, Context>; + xreadBuffer(...args: [streamsToken: "STREAMS", ...args: RedisValue[]]): Result<[ + key: Buffer, + items: [id: Buffer, fields: Buffer[]][] + ][] | null, Context>; + xread(...args: [ + millisecondsToken: "BLOCK", + milliseconds: number | string, + streamsToken: "STREAMS", + ...args: RedisValue[], + callback: Callback<[ + key: string, + items: [id: string, fields: string[]][] + ][] | null> + ]): Result<[ + key: string, + items: [id: string, fields: string[]][] + ][] | null, Context>; + xreadBuffer(...args: [ + millisecondsToken: "BLOCK", + milliseconds: number | string, + streamsToken: "STREAMS", + ...args: RedisValue[], + callback: Callback<[ + key: Buffer, + items: [id: Buffer, fields: Buffer[]][] + ][] | null> + ]): Result<[ + key: Buffer, + items: [id: Buffer, fields: Buffer[]][] + ][] | null, Context>; + xread(...args: [ + millisecondsToken: "BLOCK", + milliseconds: number | string, + streamsToken: "STREAMS", + ...args: RedisValue[] + ]): Result<[ + key: string, + items: [id: string, fields: string[]][] + ][] | null, Context>; + xreadBuffer(...args: [ + millisecondsToken: "BLOCK", + milliseconds: number | string, + streamsToken: "STREAMS", + ...args: RedisValue[] + ]): Result<[ + key: Buffer, + items: [id: Buffer, fields: Buffer[]][] + ][] | null, Context>; + xread(...args: [ + countToken: "COUNT", + count: number | string, + streamsToken: "STREAMS", + ...args: RedisValue[], + callback: Callback<[ + key: string, + items: [id: string, fields: string[]][] + ][] | null> + ]): Result<[ + key: string, + items: [id: string, fields: string[]][] + ][] | null, Context>; + xreadBuffer(...args: [ + countToken: "COUNT", + count: number | string, + streamsToken: "STREAMS", + ...args: RedisValue[], + callback: Callback<[ + key: Buffer, + items: [id: Buffer, fields: Buffer[]][] + ][] | null> + ]): Result<[ + key: Buffer, + items: [id: Buffer, fields: Buffer[]][] + ][] | null, Context>; + xread(...args: [ + countToken: "COUNT", + count: number | string, + streamsToken: "STREAMS", + ...args: RedisValue[] + ]): Result<[ + key: string, + items: [id: string, fields: string[]][] + ][] | null, Context>; + xreadBuffer(...args: [ + countToken: "COUNT", + count: number | string, + streamsToken: "STREAMS", + ...args: RedisValue[] + ]): Result<[ + key: Buffer, + items: [id: Buffer, fields: Buffer[]][] + ][] | null, Context>; + xread(...args: [ + countToken: "COUNT", + count: number | string, + millisecondsToken: "BLOCK", + milliseconds: number | string, + streamsToken: "STREAMS", + ...args: RedisValue[], + callback: Callback<[ + key: string, + items: [id: string, fields: string[]][] + ][] | null> + ]): Result<[ + key: string, + items: [id: string, fields: string[]][] + ][] | null, Context>; + xreadBuffer(...args: [ + countToken: "COUNT", + count: number | string, + millisecondsToken: "BLOCK", + milliseconds: number | string, + streamsToken: "STREAMS", + ...args: RedisValue[], + callback: Callback<[ + key: Buffer, + items: [id: Buffer, fields: Buffer[]][] + ][] | null> + ]): Result<[ + key: Buffer, + items: [id: Buffer, fields: Buffer[]][] + ][] | null, Context>; + xread(...args: [ + countToken: "COUNT", + count: number | string, + millisecondsToken: "BLOCK", + milliseconds: number | string, + streamsToken: "STREAMS", + ...args: RedisValue[] + ]): Result<[ + key: string, + items: [id: string, fields: string[]][] + ][] | null, Context>; + xreadBuffer(...args: [ + countToken: "COUNT", + count: number | string, + millisecondsToken: "BLOCK", + milliseconds: number | string, + streamsToken: "STREAMS", + ...args: RedisValue[] + ]): Result<[ + key: Buffer, + items: [id: Buffer, fields: Buffer[]][] + ][] | null, Context>; + /** + * Return new entries from a stream using a consumer group, or access the history of the pending entries for a given consumer. Can block. + * - _group_: stream + * - _complexity_: For each stream mentioned: O(M) with M being the number of elements returned. If M is constant (e.g. always asking for the first 10 elements with COUNT), you can consider it O(1). On the other side when XREADGROUP blocks, XADD will pay the O(N) time in order to serve the N clients blocked on the stream getting new data. + * - _since_: 5.0.0 + */ + xreadgroup(...args: [ + groupConsumerToken: "GROUP", + group: string | Buffer, + consumer: string | Buffer, + streamsToken: "STREAMS", + ...args: RedisValue[], + callback: Callback + ]): Result; + xreadgroup(...args: [ + groupConsumerToken: "GROUP", + group: string | Buffer, + consumer: string | Buffer, + streamsToken: "STREAMS", + ...args: RedisValue[] + ]): Result; + xreadgroup(...args: [ + groupConsumerToken: "GROUP", + group: string | Buffer, + consumer: string | Buffer, + noack: "NOACK", + streamsToken: "STREAMS", + ...args: RedisValue[], + callback: Callback + ]): Result; + xreadgroup(...args: [ + groupConsumerToken: "GROUP", + group: string | Buffer, + consumer: string | Buffer, + noack: "NOACK", + streamsToken: "STREAMS", + ...args: RedisValue[] + ]): Result; + xreadgroup(...args: [ + groupConsumerToken: "GROUP", + group: string | Buffer, + consumer: string | Buffer, + millisecondsToken: "BLOCK", + milliseconds: number | string, + streamsToken: "STREAMS", + ...args: RedisValue[], + callback: Callback + ]): Result; + xreadgroup(...args: [ + groupConsumerToken: "GROUP", + group: string | Buffer, + consumer: string | Buffer, + millisecondsToken: "BLOCK", + milliseconds: number | string, + streamsToken: "STREAMS", + ...args: RedisValue[] + ]): Result; + xreadgroup(...args: [ + groupConsumerToken: "GROUP", + group: string | Buffer, + consumer: string | Buffer, + millisecondsToken: "BLOCK", + milliseconds: number | string, + noack: "NOACK", + streamsToken: "STREAMS", + ...args: RedisValue[], + callback: Callback + ]): Result; + xreadgroup(...args: [ + groupConsumerToken: "GROUP", + group: string | Buffer, + consumer: string | Buffer, + millisecondsToken: "BLOCK", + milliseconds: number | string, + noack: "NOACK", + streamsToken: "STREAMS", + ...args: RedisValue[] + ]): Result; + xreadgroup(...args: [ + groupConsumerToken: "GROUP", + group: string | Buffer, + consumer: string | Buffer, + countToken: "COUNT", + count: number | string, + streamsToken: "STREAMS", + ...args: RedisValue[], + callback: Callback + ]): Result; + xreadgroup(...args: [ + groupConsumerToken: "GROUP", + group: string | Buffer, + consumer: string | Buffer, + countToken: "COUNT", + count: number | string, + streamsToken: "STREAMS", + ...args: RedisValue[] + ]): Result; + xreadgroup(...args: [ + groupConsumerToken: "GROUP", + group: string | Buffer, + consumer: string | Buffer, + countToken: "COUNT", + count: number | string, + noack: "NOACK", + streamsToken: "STREAMS", + ...args: RedisValue[], + callback: Callback + ]): Result; + xreadgroup(...args: [ + groupConsumerToken: "GROUP", + group: string | Buffer, + consumer: string | Buffer, + countToken: "COUNT", + count: number | string, + noack: "NOACK", + streamsToken: "STREAMS", + ...args: RedisValue[] + ]): Result; + xreadgroup(...args: [ + groupConsumerToken: "GROUP", + group: string | Buffer, + consumer: string | Buffer, + countToken: "COUNT", + count: number | string, + millisecondsToken: "BLOCK", + milliseconds: number | string, + streamsToken: "STREAMS", + ...args: RedisValue[], + callback: Callback + ]): Result; + xreadgroup(...args: [ + groupConsumerToken: "GROUP", + group: string | Buffer, + consumer: string | Buffer, + countToken: "COUNT", + count: number | string, + millisecondsToken: "BLOCK", + milliseconds: number | string, + streamsToken: "STREAMS", + ...args: RedisValue[] + ]): Result; + xreadgroup(...args: [ + groupConsumerToken: "GROUP", + group: string | Buffer, + consumer: string | Buffer, + countToken: "COUNT", + count: number | string, + millisecondsToken: "BLOCK", + milliseconds: number | string, + noack: "NOACK", + streamsToken: "STREAMS", + ...args: RedisValue[], + callback: Callback + ]): Result; + xreadgroup(...args: [ + groupConsumerToken: "GROUP", + group: string | Buffer, + consumer: string | Buffer, + countToken: "COUNT", + count: number | string, + millisecondsToken: "BLOCK", + milliseconds: number | string, + noack: "NOACK", + streamsToken: "STREAMS", + ...args: RedisValue[] + ]): Result; + /** + * Return a range of elements in a stream, with IDs matching the specified IDs interval, in reverse order (from greater to smaller IDs) compared to XRANGE + * - _group_: stream + * - _complexity_: O(N) with N being the number of elements returned. If N is constant (e.g. always asking for the first 10 elements with COUNT), you can consider it O(1). + * - _since_: 5.0.0 + */ + xrevrange(key: RedisKey, end: string | Buffer | number, start: string | Buffer | number, callback?: Callback<[id: string, fields: string[]][]>): Result<[id: string, fields: string[]][], Context>; + xrevrangeBuffer(key: RedisKey, end: string | Buffer | number, start: string | Buffer | number, callback?: Callback<[id: Buffer, fields: Buffer[]][]>): Result<[id: Buffer, fields: Buffer[]][], Context>; + xrevrange(key: RedisKey, end: string | Buffer | number, start: string | Buffer | number, countToken: "COUNT", count: number | string, callback?: Callback<[id: string, fields: string[]][]>): Result<[id: string, fields: string[]][], Context>; + xrevrangeBuffer(key: RedisKey, end: string | Buffer | number, start: string | Buffer | number, countToken: "COUNT", count: number | string, callback?: Callback<[id: Buffer, fields: Buffer[]][]>): Result<[id: Buffer, fields: Buffer[]][], Context>; + /** + * An internal command for replicating stream values + * - _group_: stream + * - _complexity_: O(1) + * - _since_: 5.0.0 + */ + xsetid(key: RedisKey, lastId: string | Buffer | number, callback?: Callback): Result; + xsetid(key: RedisKey, lastId: string | Buffer | number, maxDeletedEntryIdToken: "MAXDELETEDID", maxDeletedEntryId: string | Buffer | number, callback?: Callback): Result; + xsetid(key: RedisKey, lastId: string | Buffer | number, entriesAddedToken: "ENTRIESADDED", entriesAdded: number | string, callback?: Callback): Result; + xsetid(key: RedisKey, lastId: string | Buffer | number, entriesAddedToken: "ENTRIESADDED", entriesAdded: number | string, maxDeletedEntryIdToken: "MAXDELETEDID", maxDeletedEntryId: string | Buffer | number, callback?: Callback): Result; + /** + * Deletes messages from the beginning of a stream. + * - _group_: stream + * - _complexity_: O(N), with N being the number of evicted entries. Constant times are very small however, since entries are organized in macro nodes containing multiple entries that can be released with a single deallocation. + * - _since_: 5.0.0 + */ + xtrim(key: RedisKey, maxlen: "MAXLEN", threshold: string | Buffer | number, callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", threshold: string | Buffer | number, keepref: "KEEPREF", callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", threshold: string | Buffer | number, delref: "DELREF", callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", threshold: string | Buffer | number, acked: "ACKED", callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, keepref: "KEEPREF", callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, delref: "DELREF", callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, acked: "ACKED", callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", equal: "=", threshold: string | Buffer | number, callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", equal: "=", threshold: string | Buffer | number, keepref: "KEEPREF", callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", equal: "=", threshold: string | Buffer | number, delref: "DELREF", callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", equal: "=", threshold: string | Buffer | number, acked: "ACKED", callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", equal: "=", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", equal: "=", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, keepref: "KEEPREF", callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", equal: "=", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, delref: "DELREF", callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", equal: "=", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, acked: "ACKED", callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", approximately: "~", threshold: string | Buffer | number, callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", approximately: "~", threshold: string | Buffer | number, keepref: "KEEPREF", callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", approximately: "~", threshold: string | Buffer | number, delref: "DELREF", callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", approximately: "~", threshold: string | Buffer | number, acked: "ACKED", callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", approximately: "~", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", approximately: "~", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, keepref: "KEEPREF", callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", approximately: "~", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, delref: "DELREF", callback?: Callback): Result; + xtrim(key: RedisKey, maxlen: "MAXLEN", approximately: "~", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, acked: "ACKED", callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", threshold: string | Buffer | number, callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", threshold: string | Buffer | number, keepref: "KEEPREF", callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", threshold: string | Buffer | number, delref: "DELREF", callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", threshold: string | Buffer | number, acked: "ACKED", callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, keepref: "KEEPREF", callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, delref: "DELREF", callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, acked: "ACKED", callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", equal: "=", threshold: string | Buffer | number, callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", equal: "=", threshold: string | Buffer | number, keepref: "KEEPREF", callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", equal: "=", threshold: string | Buffer | number, delref: "DELREF", callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", equal: "=", threshold: string | Buffer | number, acked: "ACKED", callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", equal: "=", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", equal: "=", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, keepref: "KEEPREF", callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", equal: "=", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, delref: "DELREF", callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", equal: "=", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, acked: "ACKED", callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", approximately: "~", threshold: string | Buffer | number, callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", approximately: "~", threshold: string | Buffer | number, keepref: "KEEPREF", callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", approximately: "~", threshold: string | Buffer | number, delref: "DELREF", callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", approximately: "~", threshold: string | Buffer | number, acked: "ACKED", callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", approximately: "~", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", approximately: "~", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, keepref: "KEEPREF", callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", approximately: "~", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, delref: "DELREF", callback?: Callback): Result; + xtrim(key: RedisKey, minid: "MINID", approximately: "~", threshold: string | Buffer | number, countToken: "LIMIT", count: number | string, acked: "ACKED", callback?: Callback): Result; + /** + * Add one or more members to a sorted set, or update its score if it already exists + * - _group_: sorted-set + * - _complexity_: O(log(N)) for each item added, where N is the number of elements in the sorted set. + * - _since_: 1.2.0 + */ + zadd(...args: [ + key: RedisKey, + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [key: RedisKey, ...scoreMembers: (string | Buffer | number)[]]): Result; + zadd(...args: [ + key: RedisKey, + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + ch: "CH", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + ch: "CH", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + gt: "GT", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + gt: "GT", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + gt: "GT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + gt: "GT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + gt: "GT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + gt: "GT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + gt: "GT", + ch: "CH", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + gt: "GT", + ch: "CH", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + gt: "GT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + gt: "GT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + gt: "GT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + gt: "GT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + lt: "LT", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + lt: "LT", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + lt: "LT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + lt: "LT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + lt: "LT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + lt: "LT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + lt: "LT", + ch: "CH", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + lt: "LT", + ch: "CH", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + lt: "LT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + lt: "LT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + lt: "LT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + lt: "LT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + nx: "NX", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + nx: "NX", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + ch: "CH", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + ch: "CH", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + nx: "NX", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + nx: "NX", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + gt: "GT", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + gt: "GT", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + gt: "GT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + nx: "NX", + gt: "GT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + gt: "GT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + nx: "NX", + gt: "GT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + gt: "GT", + ch: "CH", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + gt: "GT", + ch: "CH", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + gt: "GT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + nx: "NX", + gt: "GT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + gt: "GT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + nx: "NX", + gt: "GT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + lt: "LT", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + lt: "LT", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + lt: "LT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + nx: "NX", + lt: "LT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + lt: "LT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + nx: "NX", + lt: "LT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + lt: "LT", + ch: "CH", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + lt: "LT", + ch: "CH", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + lt: "LT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + nx: "NX", + lt: "LT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + nx: "NX", + lt: "LT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + nx: "NX", + lt: "LT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + xx: "XX", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + xx: "XX", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + ch: "CH", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + ch: "CH", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + xx: "XX", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + xx: "XX", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + gt: "GT", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + gt: "GT", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + gt: "GT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + xx: "XX", + gt: "GT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + gt: "GT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + xx: "XX", + gt: "GT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + gt: "GT", + ch: "CH", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + gt: "GT", + ch: "CH", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + gt: "GT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + xx: "XX", + gt: "GT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + gt: "GT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + xx: "XX", + gt: "GT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + lt: "LT", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + lt: "LT", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + lt: "LT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + xx: "XX", + lt: "LT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + lt: "LT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + xx: "XX", + lt: "LT", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + lt: "LT", + ch: "CH", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + lt: "LT", + ch: "CH", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + lt: "LT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + xx: "XX", + lt: "LT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[], + callback: Callback + ]): Result; + zadd(...args: [ + key: RedisKey, + xx: "XX", + lt: "LT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + zaddBuffer(...args: [ + key: RedisKey, + xx: "XX", + lt: "LT", + ch: "CH", + incr: "INCR", + ...scoreMembers: (string | Buffer | number)[] + ]): Result; + /** + * Get the number of members in a sorted set + * - _group_: sorted-set + * - _complexity_: O(1) + * - _since_: 1.2.0 + */ + zcard(key: RedisKey, callback?: Callback): Result; + /** + * Count the members in a sorted set with scores within the given values + * - _group_: sorted-set + * - _complexity_: O(log(N)) with N being the number of elements in the sorted set. + * - _since_: 2.0.0 + */ + zcount(key: RedisKey, min: number | string, max: number | string, callback?: Callback): Result; + /** + * Subtract multiple sorted sets + * - _group_: sorted-set + * - _complexity_: O(L + (N-K)log(N)) worst case where L is the total number of elements in all the sets, N is the size of the first set, and K is the size of the result set. + * - _since_: 6.2.0 + */ + zdiff(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + callback: Callback + ]): Result; + zdiffBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + callback: Callback + ]): Result; + zdiff(...args: [ + numkeys: number | string, + keys: RedisKey[], + callback: Callback + ]): Result; + zdiffBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + callback: Callback + ]): Result; + zdiff(...args: [numkeys: number | string, ...keys: RedisKey[]]): Result; + zdiffBuffer(...args: [numkeys: number | string, ...keys: RedisKey[]]): Result; + zdiff(...args: [numkeys: number | string, keys: RedisKey[]]): Result; + zdiffBuffer(...args: [numkeys: number | string, keys: RedisKey[]]): Result; + zdiff(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zdiffBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zdiff(...args: [ + numkeys: number | string, + keys: RedisKey[], + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zdiffBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zdiff(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + withscores: "WITHSCORES" + ]): Result; + zdiffBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + withscores: "WITHSCORES" + ]): Result; + zdiff(...args: [ + numkeys: number | string, + keys: RedisKey[], + withscores: "WITHSCORES" + ]): Result; + zdiffBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + withscores: "WITHSCORES" + ]): Result; + /** + * Subtract multiple sorted sets and store the resulting sorted set in a new key + * - _group_: sorted-set + * - _complexity_: O(L + (N-K)log(N)) worst case where L is the total number of elements in all the sets, N is the size of the first set, and K is the size of the result set. + * - _since_: 6.2.0 + */ + zdiffstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...keys: RedisKey[], + callback: Callback + ]): Result; + zdiffstore(...args: [ + destination: RedisKey, + numkeys: number | string, + keys: RedisKey[], + callback: Callback + ]): Result; + zdiffstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...keys: RedisKey[] + ]): Result; + zdiffstore(...args: [destination: RedisKey, numkeys: number | string, keys: RedisKey[]]): Result; + /** + * Increment the score of a member in a sorted set + * - _group_: sorted-set + * - _complexity_: O(log(N)) where N is the number of elements in the sorted set. + * - _since_: 1.2.0 + */ + zincrby(key: RedisKey, increment: number | string, member: string | Buffer | number, callback?: Callback): Result; + zincrbyBuffer(key: RedisKey, increment: number | string, member: string | Buffer | number, callback?: Callback): Result; + /** + * Intersect multiple sorted sets + * - _group_: sorted-set + * - _complexity_: O(N*K)+O(M*log(M)) worst case with N being the smallest input sorted set, K being the number of input sorted sets and M being the number of elements in the resulting sorted set. + * - _since_: 6.2.0 + */ + zinter(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + keys: RedisKey[], + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + callback: Callback + ]): Result; + zinter(...args: [numkeys: number | string, ...keys: RedisKey[]]): Result; + zinterBuffer(...args: [numkeys: number | string, ...keys: RedisKey[]]): Result; + zinter(...args: [numkeys: number | string, keys: RedisKey[]]): Result; + zinterBuffer(...args: [numkeys: number | string, keys: RedisKey[]]): Result; + zinter(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + keys: RedisKey[], + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + withscores: "WITHSCORES" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + withscores: "WITHSCORES" + ]): Result; + zinter(...args: [ + numkeys: number | string, + keys: RedisKey[], + withscores: "WITHSCORES" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + withscores: "WITHSCORES" + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM" + ]): Result; + zinter(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM" + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES" + ]): Result; + zinter(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES" + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN" + ]): Result; + zinter(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN" + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES" + ]): Result; + zinter(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES" + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX" + ]): Result; + zinter(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX" + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES" + ]): Result; + zinter(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES" + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...args: RedisValue[], + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + callback: Callback + ]): Result; + zinter(...args: [numkeys: number | string, ...args: RedisValue[]]): Result; + zinterBuffer(...args: [numkeys: number | string, ...args: RedisValue[]]): Result; + zinter(...args: [ + numkeys: number | string, + ...args: RedisValue[], + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...args: RedisValue[], + withscores: "WITHSCORES" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + withscores: "WITHSCORES" + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + sum: "SUM", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + sum: "SUM", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + sum: "SUM" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + sum: "SUM" + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES" + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + min: "MIN", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + min: "MIN", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + min: "MIN" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + min: "MIN" + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES" + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + max: "MAX", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + max: "MAX", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + max: "MAX" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + max: "MAX" + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zinter(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES" + ]): Result; + zinterBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES" + ]): Result; + /** + * Intersect multiple sorted sets and return the cardinality of the result + * - _group_: sorted-set + * - _complexity_: O(N*K) worst case with N being the smallest input sorted set, K being the number of input sorted sets. + * - _since_: 7.0.0 + */ + zintercard(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + callback: Callback + ]): Result; + zintercard(...args: [ + numkeys: number | string, + keys: RedisKey[], + callback: Callback + ]): Result; + zintercard(...args: [numkeys: number | string, ...keys: RedisKey[]]): Result; + zintercard(...args: [numkeys: number | string, keys: RedisKey[]]): Result; + zintercard(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + limitToken: "LIMIT", + limit: number | string, + callback: Callback + ]): Result; + zintercard(...args: [ + numkeys: number | string, + keys: RedisKey[], + limitToken: "LIMIT", + limit: number | string, + callback: Callback + ]): Result; + zintercard(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + limitToken: "LIMIT", + limit: number | string + ]): Result; + zintercard(...args: [ + numkeys: number | string, + keys: RedisKey[], + limitToken: "LIMIT", + limit: number | string + ]): Result; + /** + * Intersect multiple sorted sets and store the resulting sorted set in a new key + * - _group_: sorted-set + * - _complexity_: O(N*K)+O(M*log(M)) worst case with N being the smallest input sorted set, K being the number of input sorted sets and M being the number of elements in the resulting sorted set. + * - _since_: 2.0.0 + */ + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...keys: RedisKey[], + callback: Callback + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + keys: RedisKey[], + callback: Callback + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...keys: RedisKey[] + ]): Result; + zinterstore(...args: [destination: RedisKey, numkeys: number | string, keys: RedisKey[]]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + callback: Callback + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + callback: Callback + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM" + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM" + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + callback: Callback + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + callback: Callback + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN" + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN" + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + callback: Callback + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + callback: Callback + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX" + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX" + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...args: RedisValue[], + callback: Callback + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...args: RedisValue[] + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + sum: "SUM", + callback: Callback + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + sum: "SUM" + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + min: "MIN", + callback: Callback + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + min: "MIN" + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + max: "MAX", + callback: Callback + ]): Result; + zinterstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + max: "MAX" + ]): Result; + /** + * Count the number of members in a sorted set between a given lexicographical range + * - _group_: sorted-set + * - _complexity_: O(log(N)) with N being the number of elements in the sorted set. + * - _since_: 2.8.9 + */ + zlexcount(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, callback?: Callback): Result; + /** + * Remove and return members with scores in a sorted set + * - _group_: sorted-set + * - _complexity_: O(K) + O(N*log(M)) where K is the number of provided keys, N being the number of elements in the sorted set, and M being the number of elements popped. + * - _since_: 7.0.0 + */ + zmpop(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + min: "MIN", + callback: Callback + ]): Result; + zmpop(...args: [ + numkeys: number | string, + keys: RedisKey[], + min: "MIN", + callback: Callback + ]): Result; + zmpop(...args: [numkeys: number | string, ...keys: RedisKey[], min: "MIN"]): Result; + zmpop(...args: [numkeys: number | string, keys: RedisKey[], min: "MIN"]): Result; + zmpop(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + min: "MIN", + countToken: "COUNT", + count: number | string, + callback: Callback + ]): Result; + zmpop(...args: [ + numkeys: number | string, + keys: RedisKey[], + min: "MIN", + countToken: "COUNT", + count: number | string, + callback: Callback + ]): Result; + zmpop(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + min: "MIN", + countToken: "COUNT", + count: number | string + ]): Result; + zmpop(...args: [ + numkeys: number | string, + keys: RedisKey[], + min: "MIN", + countToken: "COUNT", + count: number | string + ]): Result; + zmpop(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + max: "MAX", + callback: Callback + ]): Result; + zmpop(...args: [ + numkeys: number | string, + keys: RedisKey[], + max: "MAX", + callback: Callback + ]): Result; + zmpop(...args: [numkeys: number | string, ...keys: RedisKey[], max: "MAX"]): Result; + zmpop(...args: [numkeys: number | string, keys: RedisKey[], max: "MAX"]): Result; + zmpop(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + max: "MAX", + countToken: "COUNT", + count: number | string, + callback: Callback + ]): Result; + zmpop(...args: [ + numkeys: number | string, + keys: RedisKey[], + max: "MAX", + countToken: "COUNT", + count: number | string, + callback: Callback + ]): Result; + zmpop(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + max: "MAX", + countToken: "COUNT", + count: number | string + ]): Result; + zmpop(...args: [ + numkeys: number | string, + keys: RedisKey[], + max: "MAX", + countToken: "COUNT", + count: number | string + ]): Result; + /** + * Get the score associated with the given members in a sorted set + * - _group_: sorted-set + * - _complexity_: O(N) where N is the number of members being requested. + * - _since_: 6.2.0 + */ + zmscore(...args: [ + key: RedisKey, + ...members: (string | Buffer | number)[], + callback: Callback<(string | null)[]> + ]): Result<(string | null)[], Context>; + zmscoreBuffer(...args: [ + key: RedisKey, + ...members: (string | Buffer | number)[], + callback: Callback<(Buffer | null)[]> + ]): Result<(Buffer | null)[], Context>; + zmscore(...args: [ + key: RedisKey, + members: (string | Buffer | number)[], + callback: Callback<(string | null)[]> + ]): Result<(string | null)[], Context>; + zmscoreBuffer(...args: [ + key: RedisKey, + members: (string | Buffer | number)[], + callback: Callback<(Buffer | null)[]> + ]): Result<(Buffer | null)[], Context>; + zmscore(...args: [key: RedisKey, ...members: (string | Buffer | number)[]]): Result<(string | null)[], Context>; + zmscoreBuffer(...args: [key: RedisKey, ...members: (string | Buffer | number)[]]): Result<(Buffer | null)[], Context>; + zmscore(...args: [key: RedisKey, members: (string | Buffer | number)[]]): Result<(string | null)[], Context>; + zmscoreBuffer(...args: [key: RedisKey, members: (string | Buffer | number)[]]): Result<(Buffer | null)[], Context>; + /** + * Remove and return members with the highest scores in a sorted set + * - _group_: sorted-set + * - _complexity_: O(log(N)*M) with N being the number of elements in the sorted set, and M being the number of elements popped. + * - _since_: 5.0.0 + */ + zpopmax(key: RedisKey, callback?: Callback): Result; + zpopmaxBuffer(key: RedisKey, callback?: Callback): Result; + zpopmax(key: RedisKey, count: number | string, callback?: Callback): Result; + zpopmaxBuffer(key: RedisKey, count: number | string, callback?: Callback): Result; + /** + * Remove and return members with the lowest scores in a sorted set + * - _group_: sorted-set + * - _complexity_: O(log(N)*M) with N being the number of elements in the sorted set, and M being the number of elements popped. + * - _since_: 5.0.0 + */ + zpopmin(key: RedisKey, callback?: Callback): Result; + zpopminBuffer(key: RedisKey, callback?: Callback): Result; + zpopmin(key: RedisKey, count: number | string, callback?: Callback): Result; + zpopminBuffer(key: RedisKey, count: number | string, callback?: Callback): Result; + /** + * Get one or multiple random elements from a sorted set + * - _group_: sorted-set + * - _complexity_: O(N) where N is the number of elements returned + * - _since_: 6.2.0 + */ + zrandmember(key: RedisKey, callback?: Callback): Result; + zrandmemberBuffer(key: RedisKey, callback?: Callback): Result; + zrandmember(key: RedisKey, count: number | string, callback?: Callback): Result; + zrandmemberBuffer(key: RedisKey, count: number | string, callback?: Callback): Result; + zrandmember(key: RedisKey, count: number | string, withscores: "WITHSCORES", callback?: Callback): Result; + zrandmemberBuffer(key: RedisKey, count: number | string, withscores: "WITHSCORES", callback?: Callback): Result; + /** + * Return a range of members in a sorted set + * - _group_: sorted-set + * - _complexity_: O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements returned. + * - _since_: 1.2.0 + */ + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, withscores: "WITHSCORES", callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, withscores: "WITHSCORES", callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, offsetCountToken: "LIMIT", offset: number | string, count: number | string, withscores: "WITHSCORES", callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, offsetCountToken: "LIMIT", offset: number | string, count: number | string, withscores: "WITHSCORES", callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, rev: "REV", callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, rev: "REV", callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, rev: "REV", withscores: "WITHSCORES", callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, rev: "REV", withscores: "WITHSCORES", callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, rev: "REV", offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, rev: "REV", offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, rev: "REV", offsetCountToken: "LIMIT", offset: number | string, count: number | string, withscores: "WITHSCORES", callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, rev: "REV", offsetCountToken: "LIMIT", offset: number | string, count: number | string, withscores: "WITHSCORES", callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, byscore: "BYSCORE", callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, byscore: "BYSCORE", callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, byscore: "BYSCORE", withscores: "WITHSCORES", callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, byscore: "BYSCORE", withscores: "WITHSCORES", callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, byscore: "BYSCORE", offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, byscore: "BYSCORE", offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, byscore: "BYSCORE", offsetCountToken: "LIMIT", offset: number | string, count: number | string, withscores: "WITHSCORES", callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, byscore: "BYSCORE", offsetCountToken: "LIMIT", offset: number | string, count: number | string, withscores: "WITHSCORES", callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, byscore: "BYSCORE", rev: "REV", callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, byscore: "BYSCORE", rev: "REV", callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, byscore: "BYSCORE", rev: "REV", withscores: "WITHSCORES", callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, byscore: "BYSCORE", rev: "REV", withscores: "WITHSCORES", callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, byscore: "BYSCORE", rev: "REV", offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, byscore: "BYSCORE", rev: "REV", offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, byscore: "BYSCORE", rev: "REV", offsetCountToken: "LIMIT", offset: number | string, count: number | string, withscores: "WITHSCORES", callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, byscore: "BYSCORE", rev: "REV", offsetCountToken: "LIMIT", offset: number | string, count: number | string, withscores: "WITHSCORES", callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, bylex: "BYLEX", callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, bylex: "BYLEX", callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, bylex: "BYLEX", withscores: "WITHSCORES", callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, bylex: "BYLEX", withscores: "WITHSCORES", callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, bylex: "BYLEX", offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, bylex: "BYLEX", offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, bylex: "BYLEX", offsetCountToken: "LIMIT", offset: number | string, count: number | string, withscores: "WITHSCORES", callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, bylex: "BYLEX", offsetCountToken: "LIMIT", offset: number | string, count: number | string, withscores: "WITHSCORES", callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, bylex: "BYLEX", rev: "REV", callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, bylex: "BYLEX", rev: "REV", callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, bylex: "BYLEX", rev: "REV", withscores: "WITHSCORES", callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, bylex: "BYLEX", rev: "REV", withscores: "WITHSCORES", callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, bylex: "BYLEX", rev: "REV", offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, bylex: "BYLEX", rev: "REV", offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrange(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, bylex: "BYLEX", rev: "REV", offsetCountToken: "LIMIT", offset: number | string, count: number | string, withscores: "WITHSCORES", callback?: Callback): Result; + zrangeBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, bylex: "BYLEX", rev: "REV", offsetCountToken: "LIMIT", offset: number | string, count: number | string, withscores: "WITHSCORES", callback?: Callback): Result; + /** + * Return a range of members in a sorted set, by lexicographical range + * - _group_: sorted-set + * - _complexity_: O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements being returned. If M is constant (e.g. always asking for the first 10 elements with LIMIT), you can consider it O(log(N)). + * - _since_: 2.8.9 + */ + zrangebylex(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, callback?: Callback): Result; + zrangebylexBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, callback?: Callback): Result; + zrangebylex(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrangebylexBuffer(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + /** + * Return a range of members in a sorted set, by score + * - _group_: sorted-set + * - _complexity_: O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements being returned. If M is constant (e.g. always asking for the first 10 elements with LIMIT), you can consider it O(log(N)). + * - _since_: 1.0.5 + */ + zrangebyscore(key: RedisKey, min: number | string, max: number | string, callback?: Callback): Result; + zrangebyscoreBuffer(key: RedisKey, min: number | string, max: number | string, callback?: Callback): Result; + zrangebyscore(key: RedisKey, min: number | string, max: number | string, offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrangebyscoreBuffer(key: RedisKey, min: number | string, max: number | string, offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrangebyscore(key: RedisKey, min: number | string, max: number | string, withscores: "WITHSCORES", callback?: Callback): Result; + zrangebyscoreBuffer(key: RedisKey, min: number | string, max: number | string, withscores: "WITHSCORES", callback?: Callback): Result; + zrangebyscore(key: RedisKey, min: number | string, max: number | string, withscores: "WITHSCORES", offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrangebyscoreBuffer(key: RedisKey, min: number | string, max: number | string, withscores: "WITHSCORES", offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + /** + * Store a range of members from sorted set into another key + * - _group_: sorted-set + * - _complexity_: O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements stored into the destination key. + * - _since_: 6.2.0 + */ + zrangestore(dst: RedisKey, src: RedisKey, min: string | Buffer | number, max: string | Buffer | number, callback?: Callback): Result; + zrangestore(dst: RedisKey, src: RedisKey, min: string | Buffer | number, max: string | Buffer | number, offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrangestore(dst: RedisKey, src: RedisKey, min: string | Buffer | number, max: string | Buffer | number, rev: "REV", callback?: Callback): Result; + zrangestore(dst: RedisKey, src: RedisKey, min: string | Buffer | number, max: string | Buffer | number, rev: "REV", offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrangestore(dst: RedisKey, src: RedisKey, min: string | Buffer | number, max: string | Buffer | number, byscore: "BYSCORE", callback?: Callback): Result; + zrangestore(dst: RedisKey, src: RedisKey, min: string | Buffer | number, max: string | Buffer | number, byscore: "BYSCORE", offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrangestore(dst: RedisKey, src: RedisKey, min: string | Buffer | number, max: string | Buffer | number, byscore: "BYSCORE", rev: "REV", callback?: Callback): Result; + zrangestore(dst: RedisKey, src: RedisKey, min: string | Buffer | number, max: string | Buffer | number, byscore: "BYSCORE", rev: "REV", offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrangestore(dst: RedisKey, src: RedisKey, min: string | Buffer | number, max: string | Buffer | number, bylex: "BYLEX", callback?: Callback): Result; + zrangestore(dst: RedisKey, src: RedisKey, min: string | Buffer | number, max: string | Buffer | number, bylex: "BYLEX", offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrangestore(dst: RedisKey, src: RedisKey, min: string | Buffer | number, max: string | Buffer | number, bylex: "BYLEX", rev: "REV", callback?: Callback): Result; + zrangestore(dst: RedisKey, src: RedisKey, min: string | Buffer | number, max: string | Buffer | number, bylex: "BYLEX", rev: "REV", offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + /** + * Determine the index of a member in a sorted set + * - _group_: sorted-set + * - _complexity_: O(log(N)) + * - _since_: 2.0.0 + */ + zrank(key: RedisKey, member: string | Buffer | number, callback?: Callback): Result; + /** + * Remove one or more members from a sorted set + * - _group_: sorted-set + * - _complexity_: O(M*log(N)) with N being the number of elements in the sorted set and M the number of elements to be removed. + * - _since_: 1.2.0 + */ + zrem(...args: [ + key: RedisKey, + ...members: (string | Buffer | number)[], + callback: Callback + ]): Result; + zrem(...args: [ + key: RedisKey, + members: (string | Buffer | number)[], + callback: Callback + ]): Result; + zrem(...args: [key: RedisKey, ...members: (string | Buffer | number)[]]): Result; + zrem(...args: [key: RedisKey, members: (string | Buffer | number)[]]): Result; + /** + * Remove all members in a sorted set between the given lexicographical range + * - _group_: sorted-set + * - _complexity_: O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements removed by the operation. + * - _since_: 2.8.9 + */ + zremrangebylex(key: RedisKey, min: string | Buffer | number, max: string | Buffer | number, callback?: Callback): Result; + /** + * Remove all members in a sorted set within the given indexes + * - _group_: sorted-set + * - _complexity_: O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements removed by the operation. + * - _since_: 2.0.0 + */ + zremrangebyrank(key: RedisKey, start: number | string, stop: number | string, callback?: Callback): Result; + /** + * Remove all members in a sorted set within the given scores + * - _group_: sorted-set + * - _complexity_: O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements removed by the operation. + * - _since_: 1.2.0 + */ + zremrangebyscore(key: RedisKey, min: number | string, max: number | string, callback?: Callback): Result; + /** + * Return a range of members in a sorted set, by index, with scores ordered from high to low + * - _group_: sorted-set + * - _complexity_: O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements returned. + * - _since_: 1.2.0 + */ + zrevrange(key: RedisKey, start: number | string, stop: number | string, callback?: Callback): Result; + zrevrangeBuffer(key: RedisKey, start: number | string, stop: number | string, callback?: Callback): Result; + zrevrange(key: RedisKey, start: number | string, stop: number | string, withscores: "WITHSCORES", callback?: Callback): Result; + zrevrangeBuffer(key: RedisKey, start: number | string, stop: number | string, withscores: "WITHSCORES", callback?: Callback): Result; + /** + * Return a range of members in a sorted set, by lexicographical range, ordered from higher to lower strings. + * - _group_: sorted-set + * - _complexity_: O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements being returned. If M is constant (e.g. always asking for the first 10 elements with LIMIT), you can consider it O(log(N)). + * - _since_: 2.8.9 + */ + zrevrangebylex(key: RedisKey, max: string | Buffer | number, min: string | Buffer | number, callback?: Callback): Result; + zrevrangebylexBuffer(key: RedisKey, max: string | Buffer | number, min: string | Buffer | number, callback?: Callback): Result; + zrevrangebylex(key: RedisKey, max: string | Buffer | number, min: string | Buffer | number, offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrevrangebylexBuffer(key: RedisKey, max: string | Buffer | number, min: string | Buffer | number, offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + /** + * Return a range of members in a sorted set, by score, with scores ordered from high to low + * - _group_: sorted-set + * - _complexity_: O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements being returned. If M is constant (e.g. always asking for the first 10 elements with LIMIT), you can consider it O(log(N)). + * - _since_: 2.2.0 + */ + zrevrangebyscore(key: RedisKey, max: number | string, min: number | string, callback?: Callback): Result; + zrevrangebyscoreBuffer(key: RedisKey, max: number | string, min: number | string, callback?: Callback): Result; + zrevrangebyscore(key: RedisKey, max: number | string, min: number | string, offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrevrangebyscoreBuffer(key: RedisKey, max: number | string, min: number | string, offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrevrangebyscore(key: RedisKey, max: number | string, min: number | string, withscores: "WITHSCORES", callback?: Callback): Result; + zrevrangebyscoreBuffer(key: RedisKey, max: number | string, min: number | string, withscores: "WITHSCORES", callback?: Callback): Result; + zrevrangebyscore(key: RedisKey, max: number | string, min: number | string, withscores: "WITHSCORES", offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + zrevrangebyscoreBuffer(key: RedisKey, max: number | string, min: number | string, withscores: "WITHSCORES", offsetCountToken: "LIMIT", offset: number | string, count: number | string, callback?: Callback): Result; + /** + * Determine the index of a member in a sorted set, with scores ordered from high to low + * - _group_: sorted-set + * - _complexity_: O(log(N)) + * - _since_: 2.0.0 + */ + zrevrank(key: RedisKey, member: string | Buffer | number, callback?: Callback): Result; + /** + * Incrementally iterate sorted sets elements and associated scores + * - _group_: sorted-set + * - _complexity_: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection.. + * - _since_: 2.8.0 + */ + zscan(key: RedisKey, cursor: number | string, callback?: Callback<[cursor: string, elements: string[]]>): Result<[cursor: string, elements: string[]], Context>; + zscanBuffer(key: RedisKey, cursor: number | string, callback?: Callback<[cursor: Buffer, elements: Buffer[]]>): Result<[cursor: Buffer, elements: Buffer[]], Context>; + zscan(key: RedisKey, cursor: number | string, countToken: "COUNT", count: number | string, callback?: Callback<[cursor: string, elements: string[]]>): Result<[cursor: string, elements: string[]], Context>; + zscanBuffer(key: RedisKey, cursor: number | string, countToken: "COUNT", count: number | string, callback?: Callback<[cursor: Buffer, elements: Buffer[]]>): Result<[cursor: Buffer, elements: Buffer[]], Context>; + zscan(key: RedisKey, cursor: number | string, patternToken: "MATCH", pattern: string, callback?: Callback<[cursor: string, elements: string[]]>): Result<[cursor: string, elements: string[]], Context>; + zscanBuffer(key: RedisKey, cursor: number | string, patternToken: "MATCH", pattern: string, callback?: Callback<[cursor: Buffer, elements: Buffer[]]>): Result<[cursor: Buffer, elements: Buffer[]], Context>; + zscan(key: RedisKey, cursor: number | string, patternToken: "MATCH", pattern: string, countToken: "COUNT", count: number | string, callback?: Callback<[cursor: string, elements: string[]]>): Result<[cursor: string, elements: string[]], Context>; + zscanBuffer(key: RedisKey, cursor: number | string, patternToken: "MATCH", pattern: string, countToken: "COUNT", count: number | string, callback?: Callback<[cursor: Buffer, elements: Buffer[]]>): Result<[cursor: Buffer, elements: Buffer[]], Context>; + /** + * Get the score associated with the given member in a sorted set + * - _group_: sorted-set + * - _complexity_: O(1) + * - _since_: 1.2.0 + */ + zscore(key: RedisKey, member: string | Buffer | number, callback?: Callback): Result; + zscoreBuffer(key: RedisKey, member: string | Buffer | number, callback?: Callback): Result; + /** + * Add multiple sorted sets + * - _group_: sorted-set + * - _complexity_: O(N)+O(M*log(M)) with N being the sum of the sizes of the input sorted sets, and M being the number of elements in the resulting sorted set. + * - _since_: 6.2.0 + */ + zunion(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + keys: RedisKey[], + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + callback: Callback + ]): Result; + zunion(...args: [numkeys: number | string, ...keys: RedisKey[]]): Result; + zunionBuffer(...args: [numkeys: number | string, ...keys: RedisKey[]]): Result; + zunion(...args: [numkeys: number | string, keys: RedisKey[]]): Result; + zunionBuffer(...args: [numkeys: number | string, keys: RedisKey[]]): Result; + zunion(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + keys: RedisKey[], + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + withscores: "WITHSCORES" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + withscores: "WITHSCORES" + ]): Result; + zunion(...args: [ + numkeys: number | string, + keys: RedisKey[], + withscores: "WITHSCORES" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + withscores: "WITHSCORES" + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM" + ]): Result; + zunion(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM" + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES" + ]): Result; + zunion(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES" + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN" + ]): Result; + zunion(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN" + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES" + ]): Result; + zunion(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES" + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX" + ]): Result; + zunion(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX" + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES" + ]): Result; + zunion(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES" + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...args: RedisValue[], + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + callback: Callback + ]): Result; + zunion(...args: [numkeys: number | string, ...args: RedisValue[]]): Result; + zunionBuffer(...args: [numkeys: number | string, ...args: RedisValue[]]): Result; + zunion(...args: [ + numkeys: number | string, + ...args: RedisValue[], + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...args: RedisValue[], + withscores: "WITHSCORES" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + withscores: "WITHSCORES" + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + sum: "SUM", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + sum: "SUM", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + sum: "SUM" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + sum: "SUM" + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + sum: "SUM", + withscores: "WITHSCORES" + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + min: "MIN", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + min: "MIN", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + min: "MIN" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + min: "MIN" + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + min: "MIN", + withscores: "WITHSCORES" + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + max: "MAX", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + max: "MAX", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + max: "MAX" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + max: "MAX" + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES", + callback: Callback + ]): Result; + zunion(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES" + ]): Result; + zunionBuffer(...args: [ + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + max: "MAX", + withscores: "WITHSCORES" + ]): Result; + /** + * Add multiple sorted sets and store the resulting sorted set in a new key + * - _group_: sorted-set + * - _complexity_: O(N)+O(M log(M)) with N being the sum of the sizes of the input sorted sets, and M being the number of elements in the resulting sorted set. + * - _since_: 2.0.0 + */ + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...keys: RedisKey[], + callback: Callback + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + keys: RedisKey[], + callback: Callback + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...keys: RedisKey[] + ]): Result; + zunionstore(...args: [destination: RedisKey, numkeys: number | string, keys: RedisKey[]]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + callback: Callback + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM", + callback: Callback + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM" + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + sum: "SUM" + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + callback: Callback + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN", + callback: Callback + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN" + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + min: "MIN" + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + callback: Callback + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX", + callback: Callback + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX" + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + keys: RedisKey[], + aggregate: "AGGREGATE", + max: "MAX" + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...args: RedisValue[], + callback: Callback + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...args: RedisValue[] + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + sum: "SUM", + callback: Callback + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + sum: "SUM" + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + min: "MIN", + callback: Callback + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + min: "MIN" + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + max: "MAX", + callback: Callback + ]): Result; + zunionstore(...args: [ + destination: RedisKey, + numkeys: number | string, + ...args: RedisValue[], + aggregate: "AGGREGATE", + max: "MAX" + ]): Result; +} +export default RedisCommander; diff --git a/node_modules/ioredis/built/utils/RedisCommander.js b/node_modules/ioredis/built/utils/RedisCommander.js new file mode 100644 index 0000000..c7431fc --- /dev/null +++ b/node_modules/ioredis/built/utils/RedisCommander.js @@ -0,0 +1,7 @@ +"use strict"; +/** + * This file is generated by @ioredis/interface-generator. + * Don't edit it manually. Instead, run `npm run generate` to update + * this file. + */ +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/node_modules/ioredis/built/utils/applyMixin.d.ts b/node_modules/ioredis/built/utils/applyMixin.d.ts new file mode 100644 index 0000000..cf5cdb4 --- /dev/null +++ b/node_modules/ioredis/built/utils/applyMixin.d.ts @@ -0,0 +1,3 @@ +declare type Constructor = new (...args: any[]) => void; +declare function applyMixin(derivedConstructor: Constructor, mixinConstructor: Constructor): void; +export default applyMixin; diff --git a/node_modules/ioredis/built/utils/applyMixin.js b/node_modules/ioredis/built/utils/applyMixin.js new file mode 100644 index 0000000..0b2d5b9 --- /dev/null +++ b/node_modules/ioredis/built/utils/applyMixin.js @@ -0,0 +1,8 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +function applyMixin(derivedConstructor, mixinConstructor) { + Object.getOwnPropertyNames(mixinConstructor.prototype).forEach((name) => { + Object.defineProperty(derivedConstructor.prototype, name, Object.getOwnPropertyDescriptor(mixinConstructor.prototype, name)); + }); +} +exports.default = applyMixin; diff --git a/node_modules/ioredis/built/utils/argumentParsers.d.ts b/node_modules/ioredis/built/utils/argumentParsers.d.ts new file mode 100644 index 0000000..c451e14 --- /dev/null +++ b/node_modules/ioredis/built/utils/argumentParsers.d.ts @@ -0,0 +1,14 @@ +import { CommandParameter } from "../types"; +/** + * Parses a command parameter as seconds and converts to milliseconds. + * @param arg - The command parameter representing seconds + * @returns The value in milliseconds, 0 if value is <= 0, or undefined if parsing fails + */ +export declare const parseSecondsArgument: (arg: CommandParameter | undefined) => number | undefined; +/** + * Parses the BLOCK option from Redis command arguments (e.g., XREAD, XREADGROUP). + * @param args - Array of command parameters to search for the BLOCK option + * @returns The block duration in milliseconds, 0 if duration is <= 0, + * null if BLOCK option is not found, or undefined if BLOCK is found but duration is invalid + */ +export declare const parseBlockOption: (args: CommandParameter[]) => number | null | undefined; diff --git a/node_modules/ioredis/built/utils/argumentParsers.js b/node_modules/ioredis/built/utils/argumentParsers.js new file mode 100644 index 0000000..7a80605 --- /dev/null +++ b/node_modules/ioredis/built/utils/argumentParsers.js @@ -0,0 +1,74 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseBlockOption = exports.parseSecondsArgument = void 0; +/** + * Parses a command parameter to a number. + * @param arg - The command parameter to parse (number, string, or Buffer) + * @returns The parsed number, or undefined if parsing fails or arg is undefined + */ +const parseNumberArgument = (arg) => { + if (typeof arg === "number") { + return arg; + } + if (Buffer.isBuffer(arg)) { + return parseNumberArgument(arg.toString()); + } + if (typeof arg === "string") { + const value = Number(arg); + return Number.isFinite(value) ? value : undefined; + } + return undefined; +}; +/** + * Parses a command parameter to a string. + * @param arg - The command parameter to parse (string or Buffer) + * @returns The parsed string, or undefined if arg is not a string/Buffer or is undefined + */ +const parseStringArgument = (arg) => { + if (typeof arg === "string") { + return arg; + } + if (Buffer.isBuffer(arg)) { + return arg.toString(); + } + return undefined; +}; +/** + * Parses a command parameter as seconds and converts to milliseconds. + * @param arg - The command parameter representing seconds + * @returns The value in milliseconds, 0 if value is <= 0, or undefined if parsing fails + */ +const parseSecondsArgument = (arg) => { + const value = parseNumberArgument(arg); + if (value === undefined) { + return undefined; + } + if (value <= 0) { + return 0; + } + return value * 1000; +}; +exports.parseSecondsArgument = parseSecondsArgument; +/** + * Parses the BLOCK option from Redis command arguments (e.g., XREAD, XREADGROUP). + * @param args - Array of command parameters to search for the BLOCK option + * @returns The block duration in milliseconds, 0 if duration is <= 0, + * null if BLOCK option is not found, or undefined if BLOCK is found but duration is invalid + */ +const parseBlockOption = (args) => { + for (let i = 0; i < args.length; i++) { + const token = parseStringArgument(args[i]); + if (token && token.toLowerCase() === "block") { + const duration = parseNumberArgument(args[i + 1]); + if (duration === undefined) { + return undefined; + } + if (duration <= 0) { + return 0; + } + return duration; + } + } + return null; +}; +exports.parseBlockOption = parseBlockOption; diff --git a/node_modules/ioredis/built/utils/debug.d.ts b/node_modules/ioredis/built/utils/debug.d.ts new file mode 100644 index 0000000..e73b378 --- /dev/null +++ b/node_modules/ioredis/built/utils/debug.d.ts @@ -0,0 +1,16 @@ +declare const MAX_ARGUMENT_LENGTH = 200; +/** + * helper function that tried to get a string value for + * arbitrary "debug" arg + */ +declare function getStringValue(v: any): string | void; +/** + * helper function that redacts a string representation of a "debug" arg + */ +declare function genRedactedString(str: string, maxLen: number): string; +/** + * a wrapper for the `debug` module, used to generate + * "debug functions" that trim the values in their output + */ +export default function genDebugFunction(namespace: string): (...args: any[]) => void; +export { MAX_ARGUMENT_LENGTH, getStringValue, genRedactedString }; diff --git a/node_modules/ioredis/built/utils/debug.js b/node_modules/ioredis/built/utils/debug.js new file mode 100644 index 0000000..6613511 --- /dev/null +++ b/node_modules/ioredis/built/utils/debug.js @@ -0,0 +1,95 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.genRedactedString = exports.getStringValue = exports.MAX_ARGUMENT_LENGTH = void 0; +const debug_1 = require("debug"); +const MAX_ARGUMENT_LENGTH = 200; +exports.MAX_ARGUMENT_LENGTH = MAX_ARGUMENT_LENGTH; +const NAMESPACE_PREFIX = "ioredis"; +/** + * helper function that tried to get a string value for + * arbitrary "debug" arg + */ +function getStringValue(v) { + if (v === null) { + return; + } + switch (typeof v) { + case "boolean": + return; + case "number": + return; + case "object": + if (Buffer.isBuffer(v)) { + return v.toString("hex"); + } + if (Array.isArray(v)) { + return v.join(","); + } + try { + return JSON.stringify(v); + } + catch (e) { + return; + } + case "string": + return v; + } +} +exports.getStringValue = getStringValue; +/** + * helper function that redacts a string representation of a "debug" arg + */ +function genRedactedString(str, maxLen) { + const { length } = str; + return length <= maxLen + ? str + : str.slice(0, maxLen) + ' ... '; +} +exports.genRedactedString = genRedactedString; +/** + * a wrapper for the `debug` module, used to generate + * "debug functions" that trim the values in their output + */ +function genDebugFunction(namespace) { + const fn = (0, debug_1.default)(`${NAMESPACE_PREFIX}:${namespace}`); + function wrappedDebug(...args) { + if (!fn.enabled) { + return; // no-op + } + // we skip the first arg because that is the message + for (let i = 1; i < args.length; i++) { + const str = getStringValue(args[i]); + if (typeof str === "string" && str.length > MAX_ARGUMENT_LENGTH) { + args[i] = genRedactedString(str, MAX_ARGUMENT_LENGTH); + } + } + return fn.apply(null, args); + } + Object.defineProperties(wrappedDebug, { + namespace: { + get() { + return fn.namespace; + }, + }, + enabled: { + get() { + return fn.enabled; + }, + }, + destroy: { + get() { + return fn.destroy; + }, + }, + log: { + get() { + return fn.log; + }, + set(l) { + fn.log = l; + }, + }, + }); + return wrappedDebug; +} +exports.default = genDebugFunction; diff --git a/node_modules/ioredis/built/utils/index.d.ts b/node_modules/ioredis/built/utils/index.d.ts new file mode 100644 index 0000000..8c0772e --- /dev/null +++ b/node_modules/ioredis/built/utils/index.d.ts @@ -0,0 +1,124 @@ +/// +import { defaults, noop } from "./lodash"; +import { Callback } from "../types"; +import Debug from "./debug"; +/** + * Convert a buffer to string, supports buffer array + * + * @example + * ```js + * const input = [Buffer.from('foo'), [Buffer.from('bar')]] + * const res = convertBufferToString(input, 'utf8') + * expect(res).to.eql(['foo', ['bar']]) + * ``` + */ +export declare function convertBufferToString(value: any, encoding?: BufferEncoding): any; +/** + * Convert a list of results to node-style + * + * @example + * ```js + * const input = ['a', 'b', new Error('c'), 'd'] + * const output = exports.wrapMultiResult(input) + * expect(output).to.eql([[null, 'a'], [null, 'b'], [new Error('c')], [null, 'd']) + * ``` + */ +export declare function wrapMultiResult(arr: unknown[] | null): unknown[][] | null; +/** + * Detect if the argument is a int + * @example + * ```js + * > isInt('123') + * true + * > isInt('123.3') + * false + * > isInt('1x') + * false + * > isInt(123) + * true + * > isInt(true) + * false + * ``` + */ +export declare function isInt(value: any): value is string; +/** + * Pack an array to an Object + * + * @example + * ```js + * > packObject(['a', 'b', 'c', 'd']) + * { a: 'b', c: 'd' } + * ``` + */ +export declare function packObject(array: any[]): Record; +/** + * Return a callback with timeout + */ +export declare function timeout(callback: Callback, timeout: number): Callback; +/** + * Convert an object to an array + * @example + * ```js + * > convertObjectToArray({ a: '1' }) + * ['a', '1'] + * ``` + */ +export declare function convertObjectToArray(obj: Record): (string | T)[]; +/** + * Convert a map to an array + * @example + * ```js + * > convertMapToArray(new Map([[1, '2']])) + * [1, '2'] + * ``` + */ +export declare function convertMapToArray(map: Map): (K | V)[]; +/** + * Convert a non-string arg to a string + */ +export declare function toArg(arg: any): string; +/** + * Optimize error stack + * + * @param error actually error + * @param friendlyStack the stack that more meaningful + * @param filterPath only show stacks with the specified path + */ +export declare function optimizeErrorStack(error: Error, friendlyStack: string, filterPath: string): Error; +/** + * Parse the redis protocol url + */ +export declare function parseURL(url: string): Record; +interface TLSOptions { + port: number; + host: string; + [key: string]: any; +} +/** + * Resolve TLS profile shortcut in connection options + */ +export declare function resolveTLSProfile(options: TLSOptions): TLSOptions; +/** + * Get a random element from `array` + */ +export declare function sample(array: T[], from?: number): T; +/** + * Shuffle the array using the Fisher-Yates Shuffle. + * This method will mutate the original array. + */ +export declare function shuffle(array: T[]): T[]; +/** + * Error message for connection being disconnected + */ +export declare const CONNECTION_CLOSED_ERROR_MSG = "Connection is closed."; +export declare function zipMap(keys: K[], values: V[]): Map; +/** + * Retrieves cached package metadata from package.json. + * + * @internal + * @returns {Promise<{version: string} | null>} Package metadata or null if unavailable + */ +export declare function getPackageMeta(): Promise<{ + version: string; +}>; +export { Debug, defaults, noop }; diff --git a/node_modules/ioredis/built/utils/index.js b/node_modules/ioredis/built/utils/index.js new file mode 100644 index 0000000..cabc98a --- /dev/null +++ b/node_modules/ioredis/built/utils/index.js @@ -0,0 +1,332 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.noop = exports.defaults = exports.Debug = exports.getPackageMeta = exports.zipMap = exports.CONNECTION_CLOSED_ERROR_MSG = exports.shuffle = exports.sample = exports.resolveTLSProfile = exports.parseURL = exports.optimizeErrorStack = exports.toArg = exports.convertMapToArray = exports.convertObjectToArray = exports.timeout = exports.packObject = exports.isInt = exports.wrapMultiResult = exports.convertBufferToString = void 0; +const fs_1 = require("fs"); +const path_1 = require("path"); +const url_1 = require("url"); +const lodash_1 = require("./lodash"); +Object.defineProperty(exports, "defaults", { enumerable: true, get: function () { return lodash_1.defaults; } }); +Object.defineProperty(exports, "noop", { enumerable: true, get: function () { return lodash_1.noop; } }); +const debug_1 = require("./debug"); +exports.Debug = debug_1.default; +const TLSProfiles_1 = require("../constants/TLSProfiles"); +/** + * Convert a buffer to string, supports buffer array + * + * @example + * ```js + * const input = [Buffer.from('foo'), [Buffer.from('bar')]] + * const res = convertBufferToString(input, 'utf8') + * expect(res).to.eql(['foo', ['bar']]) + * ``` + */ +function convertBufferToString(value, encoding) { + if (value instanceof Buffer) { + return value.toString(encoding); + } + if (Array.isArray(value)) { + const length = value.length; + const res = Array(length); + for (let i = 0; i < length; ++i) { + res[i] = + value[i] instanceof Buffer && encoding === "utf8" + ? value[i].toString() + : convertBufferToString(value[i], encoding); + } + return res; + } + return value; +} +exports.convertBufferToString = convertBufferToString; +/** + * Convert a list of results to node-style + * + * @example + * ```js + * const input = ['a', 'b', new Error('c'), 'd'] + * const output = exports.wrapMultiResult(input) + * expect(output).to.eql([[null, 'a'], [null, 'b'], [new Error('c')], [null, 'd']) + * ``` + */ +function wrapMultiResult(arr) { + // When using WATCH/EXEC transactions, the EXEC will return + // a null instead of an array + if (!arr) { + return null; + } + const result = []; + const length = arr.length; + for (let i = 0; i < length; ++i) { + const item = arr[i]; + if (item instanceof Error) { + result.push([item]); + } + else { + result.push([null, item]); + } + } + return result; +} +exports.wrapMultiResult = wrapMultiResult; +/** + * Detect if the argument is a int + * @example + * ```js + * > isInt('123') + * true + * > isInt('123.3') + * false + * > isInt('1x') + * false + * > isInt(123) + * true + * > isInt(true) + * false + * ``` + */ +function isInt(value) { + const x = parseFloat(value); + return !isNaN(value) && (x | 0) === x; +} +exports.isInt = isInt; +/** + * Pack an array to an Object + * + * @example + * ```js + * > packObject(['a', 'b', 'c', 'd']) + * { a: 'b', c: 'd' } + * ``` + */ +function packObject(array) { + const result = {}; + const length = array.length; + for (let i = 1; i < length; i += 2) { + result[array[i - 1]] = array[i]; + } + return result; +} +exports.packObject = packObject; +/** + * Return a callback with timeout + */ +function timeout(callback, timeout) { + let timer = null; + const run = function () { + if (timer) { + clearTimeout(timer); + timer = null; + callback.apply(this, arguments); + } + }; + timer = setTimeout(run, timeout, new Error("timeout")); + return run; +} +exports.timeout = timeout; +/** + * Convert an object to an array + * @example + * ```js + * > convertObjectToArray({ a: '1' }) + * ['a', '1'] + * ``` + */ +function convertObjectToArray(obj) { + const result = []; + const keys = Object.keys(obj); // Object.entries requires node 7+ + for (let i = 0, l = keys.length; i < l; i++) { + result.push(keys[i], obj[keys[i]]); + } + return result; +} +exports.convertObjectToArray = convertObjectToArray; +/** + * Convert a map to an array + * @example + * ```js + * > convertMapToArray(new Map([[1, '2']])) + * [1, '2'] + * ``` + */ +function convertMapToArray(map) { + const result = []; + let pos = 0; + map.forEach(function (value, key) { + result[pos] = key; + result[pos + 1] = value; + pos += 2; + }); + return result; +} +exports.convertMapToArray = convertMapToArray; +/** + * Convert a non-string arg to a string + */ +function toArg(arg) { + if (arg === null || typeof arg === "undefined") { + return ""; + } + return String(arg); +} +exports.toArg = toArg; +/** + * Optimize error stack + * + * @param error actually error + * @param friendlyStack the stack that more meaningful + * @param filterPath only show stacks with the specified path + */ +function optimizeErrorStack(error, friendlyStack, filterPath) { + const stacks = friendlyStack.split("\n"); + let lines = ""; + let i; + for (i = 1; i < stacks.length; ++i) { + if (stacks[i].indexOf(filterPath) === -1) { + break; + } + } + for (let j = i; j < stacks.length; ++j) { + lines += "\n" + stacks[j]; + } + if (error.stack) { + const pos = error.stack.indexOf("\n"); + error.stack = error.stack.slice(0, pos) + lines; + } + return error; +} +exports.optimizeErrorStack = optimizeErrorStack; +/** + * Parse the redis protocol url + */ +function parseURL(url) { + if (isInt(url)) { + return { port: url }; + } + let parsed = (0, url_1.parse)(url, true, true); + if (!parsed.slashes && url[0] !== "/") { + url = "//" + url; + parsed = (0, url_1.parse)(url, true, true); + } + const options = parsed.query || {}; + const result = {}; + if (parsed.auth) { + const index = parsed.auth.indexOf(":"); + result.username = index === -1 ? parsed.auth : parsed.auth.slice(0, index); + result.password = index === -1 ? "" : parsed.auth.slice(index + 1); + } + if (parsed.pathname) { + if (parsed.protocol === "redis:" || parsed.protocol === "rediss:") { + if (parsed.pathname.length > 1) { + result.db = parsed.pathname.slice(1); + } + } + else { + result.path = parsed.pathname; + } + } + if (parsed.host) { + result.host = parsed.hostname; + } + if (parsed.port) { + result.port = parsed.port; + } + if (typeof options.family === "string") { + const intFamily = Number.parseInt(options.family, 10); + if (!Number.isNaN(intFamily)) { + result.family = intFamily; + } + } + (0, lodash_1.defaults)(result, options); + return result; +} +exports.parseURL = parseURL; +/** + * Resolve TLS profile shortcut in connection options + */ +function resolveTLSProfile(options) { + let tls = options === null || options === void 0 ? void 0 : options.tls; + if (typeof tls === "string") + tls = { profile: tls }; + const profile = TLSProfiles_1.default[tls === null || tls === void 0 ? void 0 : tls.profile]; + if (profile) { + tls = Object.assign({}, profile, tls); + delete tls.profile; + options = Object.assign({}, options, { tls }); + } + return options; +} +exports.resolveTLSProfile = resolveTLSProfile; +/** + * Get a random element from `array` + */ +function sample(array, from = 0) { + const length = array.length; + if (from >= length) { + return null; + } + return array[from + Math.floor(Math.random() * (length - from))]; +} +exports.sample = sample; +/** + * Shuffle the array using the Fisher-Yates Shuffle. + * This method will mutate the original array. + */ +function shuffle(array) { + let counter = array.length; + // While there are elements in the array + while (counter > 0) { + // Pick a random index + const index = Math.floor(Math.random() * counter); + // Decrease counter by 1 + counter--; + // And swap the last element with it + [array[counter], array[index]] = [array[index], array[counter]]; + } + return array; +} +exports.shuffle = shuffle; +/** + * Error message for connection being disconnected + */ +exports.CONNECTION_CLOSED_ERROR_MSG = "Connection is closed."; +function zipMap(keys, values) { + const map = new Map(); + keys.forEach((key, index) => { + map.set(key, values[index]); + }); + return map; +} +exports.zipMap = zipMap; +/** + * Memoized package metadata to avoid repeated file system reads. + * + * @internal + */ +let cachedPackageMeta = null; +/** + * Retrieves cached package metadata from package.json. + * + * @internal + * @returns {Promise<{version: string} | null>} Package metadata or null if unavailable + */ +async function getPackageMeta() { + if (cachedPackageMeta) { + return cachedPackageMeta; + } + try { + const filePath = (0, path_1.resolve)(__dirname, "..", "..", "package.json"); + const data = await fs_1.promises.readFile(filePath, "utf8"); + const parsed = JSON.parse(data); + cachedPackageMeta = { + version: parsed.version, + }; + return cachedPackageMeta; + } + catch (err) { + cachedPackageMeta = { + version: "error-fetching-version", + }; + return cachedPackageMeta; + } +} +exports.getPackageMeta = getPackageMeta; diff --git a/node_modules/ioredis/built/utils/lodash.d.ts b/node_modules/ioredis/built/utils/lodash.d.ts new file mode 100644 index 0000000..683e214 --- /dev/null +++ b/node_modules/ioredis/built/utils/lodash.d.ts @@ -0,0 +1,4 @@ +import defaults = require("lodash.defaults"); +import isArguments = require("lodash.isarguments"); +export declare function noop(): void; +export { defaults, isArguments }; diff --git a/node_modules/ioredis/built/utils/lodash.js b/node_modules/ioredis/built/utils/lodash.js new file mode 100644 index 0000000..5f5eccd --- /dev/null +++ b/node_modules/ioredis/built/utils/lodash.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.isArguments = exports.defaults = exports.noop = void 0; +const defaults = require("lodash.defaults"); +exports.defaults = defaults; +const isArguments = require("lodash.isarguments"); +exports.isArguments = isArguments; +function noop() { } +exports.noop = noop; diff --git a/node_modules/ioredis/node_modules/debug/LICENSE b/node_modules/ioredis/node_modules/debug/LICENSE new file mode 100644 index 0000000..1a9820e --- /dev/null +++ b/node_modules/ioredis/node_modules/debug/LICENSE @@ -0,0 +1,20 @@ +(The MIT License) + +Copyright (c) 2014-2017 TJ Holowaychuk +Copyright (c) 2018-2021 Josh Junon + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software +and associated documentation files (the 'Software'), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial +portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/node_modules/ioredis/node_modules/debug/README.md b/node_modules/ioredis/node_modules/debug/README.md new file mode 100644 index 0000000..9ebdfbf --- /dev/null +++ b/node_modules/ioredis/node_modules/debug/README.md @@ -0,0 +1,481 @@ +# debug +[![OpenCollective](https://opencollective.com/debug/backers/badge.svg)](#backers) +[![OpenCollective](https://opencollective.com/debug/sponsors/badge.svg)](#sponsors) + + + +A tiny JavaScript debugging utility modelled after Node.js core's debugging +technique. Works in Node.js and web browsers. + +## Installation + +```bash +$ npm install debug +``` + +## Usage + +`debug` exposes a function; simply pass this function the name of your module, and it will return a decorated version of `console.error` for you to pass debug statements to. This will allow you to toggle the debug output for different parts of your module as well as the module as a whole. + +Example [_app.js_](./examples/node/app.js): + +```js +var debug = require('debug')('http') + , http = require('http') + , name = 'My App'; + +// fake app + +debug('booting %o', name); + +http.createServer(function(req, res){ + debug(req.method + ' ' + req.url); + res.end('hello\n'); +}).listen(3000, function(){ + debug('listening'); +}); + +// fake worker of some kind + +require('./worker'); +``` + +Example [_worker.js_](./examples/node/worker.js): + +```js +var a = require('debug')('worker:a') + , b = require('debug')('worker:b'); + +function work() { + a('doing lots of uninteresting work'); + setTimeout(work, Math.random() * 1000); +} + +work(); + +function workb() { + b('doing some work'); + setTimeout(workb, Math.random() * 2000); +} + +workb(); +``` + +The `DEBUG` environment variable is then used to enable these based on space or +comma-delimited names. + +Here are some examples: + +screen shot 2017-08-08 at 12 53 04 pm +screen shot 2017-08-08 at 12 53 38 pm +screen shot 2017-08-08 at 12 53 25 pm + +#### Windows command prompt notes + +##### CMD + +On Windows the environment variable is set using the `set` command. + +```cmd +set DEBUG=*,-not_this +``` + +Example: + +```cmd +set DEBUG=* & node app.js +``` + +##### PowerShell (VS Code default) + +PowerShell uses different syntax to set environment variables. + +```cmd +$env:DEBUG = "*,-not_this" +``` + +Example: + +```cmd +$env:DEBUG='app';node app.js +``` + +Then, run the program to be debugged as usual. + +npm script example: +```js + "windowsDebug": "@powershell -Command $env:DEBUG='*';node app.js", +``` + +## Namespace Colors + +Every debug instance has a color generated for it based on its namespace name. +This helps when visually parsing the debug output to identify which debug instance +a debug line belongs to. + +#### Node.js + +In Node.js, colors are enabled when stderr is a TTY. You also _should_ install +the [`supports-color`](https://npmjs.org/supports-color) module alongside debug, +otherwise debug will only use a small handful of basic colors. + + + +#### Web Browser + +Colors are also enabled on "Web Inspectors" that understand the `%c` formatting +option. These are WebKit web inspectors, Firefox ([since version +31](https://hacks.mozilla.org/2014/05/editable-box-model-multiple-selection-sublime-text-keys-much-more-firefox-developer-tools-episode-31/)) +and the Firebug plugin for Firefox (any version). + + + + +## Millisecond diff + +When actively developing an application it can be useful to see when the time spent between one `debug()` call and the next. Suppose for example you invoke `debug()` before requesting a resource, and after as well, the "+NNNms" will show you how much time was spent between calls. + + + +When stdout is not a TTY, `Date#toISOString()` is used, making it more useful for logging the debug information as shown below: + + + + +## Conventions + +If you're using this in one or more of your libraries, you _should_ use the name of your library so that developers may toggle debugging as desired without guessing names. If you have more than one debuggers you _should_ prefix them with your library name and use ":" to separate features. For example "bodyParser" from Connect would then be "connect:bodyParser". If you append a "*" to the end of your name, it will always be enabled regardless of the setting of the DEBUG environment variable. You can then use it for normal output as well as debug output. + +## Wildcards + +The `*` character may be used as a wildcard. Suppose for example your library has +debuggers named "connect:bodyParser", "connect:compress", "connect:session", +instead of listing all three with +`DEBUG=connect:bodyParser,connect:compress,connect:session`, you may simply do +`DEBUG=connect:*`, or to run everything using this module simply use `DEBUG=*`. + +You can also exclude specific debuggers by prefixing them with a "-" character. +For example, `DEBUG=*,-connect:*` would include all debuggers except those +starting with "connect:". + +## Environment Variables + +When running through Node.js, you can set a few environment variables that will +change the behavior of the debug logging: + +| Name | Purpose | +|-----------|-------------------------------------------------| +| `DEBUG` | Enables/disables specific debugging namespaces. | +| `DEBUG_HIDE_DATE` | Hide date from debug output (non-TTY). | +| `DEBUG_COLORS`| Whether or not to use colors in the debug output. | +| `DEBUG_DEPTH` | Object inspection depth. | +| `DEBUG_SHOW_HIDDEN` | Shows hidden properties on inspected objects. | + + +__Note:__ The environment variables beginning with `DEBUG_` end up being +converted into an Options object that gets used with `%o`/`%O` formatters. +See the Node.js documentation for +[`util.inspect()`](https://nodejs.org/api/util.html#util_util_inspect_object_options) +for the complete list. + +## Formatters + +Debug uses [printf-style](https://wikipedia.org/wiki/Printf_format_string) formatting. +Below are the officially supported formatters: + +| Formatter | Representation | +|-----------|----------------| +| `%O` | Pretty-print an Object on multiple lines. | +| `%o` | Pretty-print an Object all on a single line. | +| `%s` | String. | +| `%d` | Number (both integer and float). | +| `%j` | JSON. Replaced with the string '[Circular]' if the argument contains circular references. | +| `%%` | Single percent sign ('%'). This does not consume an argument. | + + +### Custom formatters + +You can add custom formatters by extending the `debug.formatters` object. +For example, if you wanted to add support for rendering a Buffer as hex with +`%h`, you could do something like: + +```js +const createDebug = require('debug') +createDebug.formatters.h = (v) => { + return v.toString('hex') +} + +// …elsewhere +const debug = createDebug('foo') +debug('this is hex: %h', new Buffer('hello world')) +// foo this is hex: 68656c6c6f20776f726c6421 +0ms +``` + + +## Browser Support + +You can build a browser-ready script using [browserify](https://github.com/substack/node-browserify), +or just use the [browserify-as-a-service](https://wzrd.in/) [build](https://wzrd.in/standalone/debug@latest), +if you don't want to build it yourself. + +Debug's enable state is currently persisted by `localStorage`. +Consider the situation shown below where you have `worker:a` and `worker:b`, +and wish to debug both. You can enable this using `localStorage.debug`: + +```js +localStorage.debug = 'worker:*' +``` + +And then refresh the page. + +```js +a = debug('worker:a'); +b = debug('worker:b'); + +setInterval(function(){ + a('doing some work'); +}, 1000); + +setInterval(function(){ + b('doing some work'); +}, 1200); +``` + +In Chromium-based web browsers (e.g. Brave, Chrome, and Electron), the JavaScript console will—by default—only show messages logged by `debug` if the "Verbose" log level is _enabled_. + + + +## Output streams + + By default `debug` will log to stderr, however this can be configured per-namespace by overriding the `log` method: + +Example [_stdout.js_](./examples/node/stdout.js): + +```js +var debug = require('debug'); +var error = debug('app:error'); + +// by default stderr is used +error('goes to stderr!'); + +var log = debug('app:log'); +// set this namespace to log via console.log +log.log = console.log.bind(console); // don't forget to bind to console! +log('goes to stdout'); +error('still goes to stderr!'); + +// set all output to go via console.info +// overrides all per-namespace log settings +debug.log = console.info.bind(console); +error('now goes to stdout via console.info'); +log('still goes to stdout, but via console.info now'); +``` + +## Extend +You can simply extend debugger +```js +const log = require('debug')('auth'); + +//creates new debug instance with extended namespace +const logSign = log.extend('sign'); +const logLogin = log.extend('login'); + +log('hello'); // auth hello +logSign('hello'); //auth:sign hello +logLogin('hello'); //auth:login hello +``` + +## Set dynamically + +You can also enable debug dynamically by calling the `enable()` method : + +```js +let debug = require('debug'); + +console.log(1, debug.enabled('test')); + +debug.enable('test'); +console.log(2, debug.enabled('test')); + +debug.disable(); +console.log(3, debug.enabled('test')); + +``` + +print : +``` +1 false +2 true +3 false +``` + +Usage : +`enable(namespaces)` +`namespaces` can include modes separated by a colon and wildcards. + +Note that calling `enable()` completely overrides previously set DEBUG variable : + +``` +$ DEBUG=foo node -e 'var dbg = require("debug"); dbg.enable("bar"); console.log(dbg.enabled("foo"))' +=> false +``` + +`disable()` + +Will disable all namespaces. The functions returns the namespaces currently +enabled (and skipped). This can be useful if you want to disable debugging +temporarily without knowing what was enabled to begin with. + +For example: + +```js +let debug = require('debug'); +debug.enable('foo:*,-foo:bar'); +let namespaces = debug.disable(); +debug.enable(namespaces); +``` + +Note: There is no guarantee that the string will be identical to the initial +enable string, but semantically they will be identical. + +## Checking whether a debug target is enabled + +After you've created a debug instance, you can determine whether or not it is +enabled by checking the `enabled` property: + +```javascript +const debug = require('debug')('http'); + +if (debug.enabled) { + // do stuff... +} +``` + +You can also manually toggle this property to force the debug instance to be +enabled or disabled. + +## Usage in child processes + +Due to the way `debug` detects if the output is a TTY or not, colors are not shown in child processes when `stderr` is piped. A solution is to pass the `DEBUG_COLORS=1` environment variable to the child process. +For example: + +```javascript +worker = fork(WORKER_WRAP_PATH, [workerPath], { + stdio: [ + /* stdin: */ 0, + /* stdout: */ 'pipe', + /* stderr: */ 'pipe', + 'ipc', + ], + env: Object.assign({}, process.env, { + DEBUG_COLORS: 1 // without this settings, colors won't be shown + }), +}); + +worker.stderr.pipe(process.stderr, { end: false }); +``` + + +## Authors + + - TJ Holowaychuk + - Nathan Rajlich + - Andrew Rhyne + - Josh Junon + +## Backers + +Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/debug#backer)] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +## Sponsors + +Become a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/debug#sponsor)] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +## License + +(The MIT License) + +Copyright (c) 2014-2017 TJ Holowaychuk <tj@vision-media.ca> +Copyright (c) 2018-2021 Josh Junon + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/ioredis/node_modules/debug/package.json b/node_modules/ioredis/node_modules/debug/package.json new file mode 100644 index 0000000..ee8abb5 --- /dev/null +++ b/node_modules/ioredis/node_modules/debug/package.json @@ -0,0 +1,64 @@ +{ + "name": "debug", + "version": "4.4.3", + "repository": { + "type": "git", + "url": "git://github.com/debug-js/debug.git" + }, + "description": "Lightweight debugging utility for Node.js and the browser", + "keywords": [ + "debug", + "log", + "debugger" + ], + "files": [ + "src", + "LICENSE", + "README.md" + ], + "author": "Josh Junon (https://github.com/qix-)", + "contributors": [ + "TJ Holowaychuk ", + "Nathan Rajlich (http://n8.io)", + "Andrew Rhyne " + ], + "license": "MIT", + "scripts": { + "lint": "xo", + "test": "npm run test:node && npm run test:browser && npm run lint", + "test:node": "mocha test.js test.node.js", + "test:browser": "karma start --single-run", + "test:coverage": "cat ./coverage/lcov.info | coveralls" + }, + "dependencies": { + "ms": "^2.1.3" + }, + "devDependencies": { + "brfs": "^2.0.1", + "browserify": "^16.2.3", + "coveralls": "^3.0.2", + "karma": "^3.1.4", + "karma-browserify": "^6.0.0", + "karma-chrome-launcher": "^2.2.0", + "karma-mocha": "^1.3.0", + "mocha": "^5.2.0", + "mocha-lcov-reporter": "^1.2.0", + "sinon": "^14.0.0", + "xo": "^0.23.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + }, + "main": "./src/index.js", + "browser": "./src/browser.js", + "engines": { + "node": ">=6.0" + }, + "xo": { + "rules": { + "import/extensions": "off" + } + } +} diff --git a/node_modules/ioredis/node_modules/debug/src/browser.js b/node_modules/ioredis/node_modules/debug/src/browser.js new file mode 100644 index 0000000..5993451 --- /dev/null +++ b/node_modules/ioredis/node_modules/debug/src/browser.js @@ -0,0 +1,272 @@ +/* eslint-env browser */ + +/** + * This is the web browser implementation of `debug()`. + */ + +exports.formatArgs = formatArgs; +exports.save = save; +exports.load = load; +exports.useColors = useColors; +exports.storage = localstorage(); +exports.destroy = (() => { + let warned = false; + + return () => { + if (!warned) { + warned = true; + console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); + } + }; +})(); + +/** + * Colors. + */ + +exports.colors = [ + '#0000CC', + '#0000FF', + '#0033CC', + '#0033FF', + '#0066CC', + '#0066FF', + '#0099CC', + '#0099FF', + '#00CC00', + '#00CC33', + '#00CC66', + '#00CC99', + '#00CCCC', + '#00CCFF', + '#3300CC', + '#3300FF', + '#3333CC', + '#3333FF', + '#3366CC', + '#3366FF', + '#3399CC', + '#3399FF', + '#33CC00', + '#33CC33', + '#33CC66', + '#33CC99', + '#33CCCC', + '#33CCFF', + '#6600CC', + '#6600FF', + '#6633CC', + '#6633FF', + '#66CC00', + '#66CC33', + '#9900CC', + '#9900FF', + '#9933CC', + '#9933FF', + '#99CC00', + '#99CC33', + '#CC0000', + '#CC0033', + '#CC0066', + '#CC0099', + '#CC00CC', + '#CC00FF', + '#CC3300', + '#CC3333', + '#CC3366', + '#CC3399', + '#CC33CC', + '#CC33FF', + '#CC6600', + '#CC6633', + '#CC9900', + '#CC9933', + '#CCCC00', + '#CCCC33', + '#FF0000', + '#FF0033', + '#FF0066', + '#FF0099', + '#FF00CC', + '#FF00FF', + '#FF3300', + '#FF3333', + '#FF3366', + '#FF3399', + '#FF33CC', + '#FF33FF', + '#FF6600', + '#FF6633', + '#FF9900', + '#FF9933', + '#FFCC00', + '#FFCC33' +]; + +/** + * Currently only WebKit-based Web Inspectors, Firefox >= v31, + * and the Firebug extension (any Firefox version) are known + * to support "%c" CSS customizations. + * + * TODO: add a `localStorage` variable to explicitly enable/disable colors + */ + +// eslint-disable-next-line complexity +function useColors() { + // NB: In an Electron preload script, document will be defined but not fully + // initialized. Since we know we're in Chrome, we'll just detect this case + // explicitly + if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) { + return true; + } + + // Internet Explorer and Edge do not support colors. + if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) { + return false; + } + + let m; + + // Is webkit? http://stackoverflow.com/a/16459606/376773 + // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 + // eslint-disable-next-line no-return-assign + return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) || + // Is firebug? http://stackoverflow.com/a/398120/376773 + (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) || + // Is firefox >= v31? + // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages + (typeof navigator !== 'undefined' && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31) || + // Double check webkit in userAgent just in case we are in a worker + (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)); +} + +/** + * Colorize log arguments if enabled. + * + * @api public + */ + +function formatArgs(args) { + args[0] = (this.useColors ? '%c' : '') + + this.namespace + + (this.useColors ? ' %c' : ' ') + + args[0] + + (this.useColors ? '%c ' : ' ') + + '+' + module.exports.humanize(this.diff); + + if (!this.useColors) { + return; + } + + const c = 'color: ' + this.color; + args.splice(1, 0, c, 'color: inherit'); + + // The final "%c" is somewhat tricky, because there could be other + // arguments passed either before or after the %c, so we need to + // figure out the correct index to insert the CSS into + let index = 0; + let lastC = 0; + args[0].replace(/%[a-zA-Z%]/g, match => { + if (match === '%%') { + return; + } + index++; + if (match === '%c') { + // We only are interested in the *last* %c + // (the user may have provided their own) + lastC = index; + } + }); + + args.splice(lastC, 0, c); +} + +/** + * Invokes `console.debug()` when available. + * No-op when `console.debug` is not a "function". + * If `console.debug` is not available, falls back + * to `console.log`. + * + * @api public + */ +exports.log = console.debug || console.log || (() => {}); + +/** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ +function save(namespaces) { + try { + if (namespaces) { + exports.storage.setItem('debug', namespaces); + } else { + exports.storage.removeItem('debug'); + } + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } +} + +/** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ +function load() { + let r; + try { + r = exports.storage.getItem('debug') || exports.storage.getItem('DEBUG') ; + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } + + // If debug isn't set in LS, and we're in Electron, try to load $DEBUG + if (!r && typeof process !== 'undefined' && 'env' in process) { + r = process.env.DEBUG; + } + + return r; +} + +/** + * Localstorage attempts to return the localstorage. + * + * This is necessary because safari throws + * when a user disables cookies/localstorage + * and you attempt to access it. + * + * @return {LocalStorage} + * @api private + */ + +function localstorage() { + try { + // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context + // The Browser also has localStorage in the global context. + return localStorage; + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } +} + +module.exports = require('./common')(exports); + +const {formatters} = module.exports; + +/** + * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. + */ + +formatters.j = function (v) { + try { + return JSON.stringify(v); + } catch (error) { + return '[UnexpectedJSONParseError]: ' + error.message; + } +}; diff --git a/node_modules/ioredis/node_modules/debug/src/common.js b/node_modules/ioredis/node_modules/debug/src/common.js new file mode 100644 index 0000000..141cb57 --- /dev/null +++ b/node_modules/ioredis/node_modules/debug/src/common.js @@ -0,0 +1,292 @@ + +/** + * This is the common logic for both the Node.js and web browser + * implementations of `debug()`. + */ + +function setup(env) { + createDebug.debug = createDebug; + createDebug.default = createDebug; + createDebug.coerce = coerce; + createDebug.disable = disable; + createDebug.enable = enable; + createDebug.enabled = enabled; + createDebug.humanize = require('ms'); + createDebug.destroy = destroy; + + Object.keys(env).forEach(key => { + createDebug[key] = env[key]; + }); + + /** + * The currently active debug mode names, and names to skip. + */ + + createDebug.names = []; + createDebug.skips = []; + + /** + * Map of special "%n" handling functions, for the debug "format" argument. + * + * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". + */ + createDebug.formatters = {}; + + /** + * Selects a color for a debug namespace + * @param {String} namespace The namespace string for the debug instance to be colored + * @return {Number|String} An ANSI color code for the given namespace + * @api private + */ + function selectColor(namespace) { + let hash = 0; + + for (let i = 0; i < namespace.length; i++) { + hash = ((hash << 5) - hash) + namespace.charCodeAt(i); + hash |= 0; // Convert to 32bit integer + } + + return createDebug.colors[Math.abs(hash) % createDebug.colors.length]; + } + createDebug.selectColor = selectColor; + + /** + * Create a debugger with the given `namespace`. + * + * @param {String} namespace + * @return {Function} + * @api public + */ + function createDebug(namespace) { + let prevTime; + let enableOverride = null; + let namespacesCache; + let enabledCache; + + function debug(...args) { + // Disabled? + if (!debug.enabled) { + return; + } + + const self = debug; + + // Set `diff` timestamp + const curr = Number(new Date()); + const ms = curr - (prevTime || curr); + self.diff = ms; + self.prev = prevTime; + self.curr = curr; + prevTime = curr; + + args[0] = createDebug.coerce(args[0]); + + if (typeof args[0] !== 'string') { + // Anything else let's inspect with %O + args.unshift('%O'); + } + + // Apply any `formatters` transformations + let index = 0; + args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => { + // If we encounter an escaped % then don't increase the array index + if (match === '%%') { + return '%'; + } + index++; + const formatter = createDebug.formatters[format]; + if (typeof formatter === 'function') { + const val = args[index]; + match = formatter.call(self, val); + + // Now we need to remove `args[index]` since it's inlined in the `format` + args.splice(index, 1); + index--; + } + return match; + }); + + // Apply env-specific formatting (colors, etc.) + createDebug.formatArgs.call(self, args); + + const logFn = self.log || createDebug.log; + logFn.apply(self, args); + } + + debug.namespace = namespace; + debug.useColors = createDebug.useColors(); + debug.color = createDebug.selectColor(namespace); + debug.extend = extend; + debug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release. + + Object.defineProperty(debug, 'enabled', { + enumerable: true, + configurable: false, + get: () => { + if (enableOverride !== null) { + return enableOverride; + } + if (namespacesCache !== createDebug.namespaces) { + namespacesCache = createDebug.namespaces; + enabledCache = createDebug.enabled(namespace); + } + + return enabledCache; + }, + set: v => { + enableOverride = v; + } + }); + + // Env-specific initialization logic for debug instances + if (typeof createDebug.init === 'function') { + createDebug.init(debug); + } + + return debug; + } + + function extend(namespace, delimiter) { + const newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace); + newDebug.log = this.log; + return newDebug; + } + + /** + * Enables a debug mode by namespaces. This can include modes + * separated by a colon and wildcards. + * + * @param {String} namespaces + * @api public + */ + function enable(namespaces) { + createDebug.save(namespaces); + createDebug.namespaces = namespaces; + + createDebug.names = []; + createDebug.skips = []; + + const split = (typeof namespaces === 'string' ? namespaces : '') + .trim() + .replace(/\s+/g, ',') + .split(',') + .filter(Boolean); + + for (const ns of split) { + if (ns[0] === '-') { + createDebug.skips.push(ns.slice(1)); + } else { + createDebug.names.push(ns); + } + } + } + + /** + * Checks if the given string matches a namespace template, honoring + * asterisks as wildcards. + * + * @param {String} search + * @param {String} template + * @return {Boolean} + */ + function matchesTemplate(search, template) { + let searchIndex = 0; + let templateIndex = 0; + let starIndex = -1; + let matchIndex = 0; + + while (searchIndex < search.length) { + if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === '*')) { + // Match character or proceed with wildcard + if (template[templateIndex] === '*') { + starIndex = templateIndex; + matchIndex = searchIndex; + templateIndex++; // Skip the '*' + } else { + searchIndex++; + templateIndex++; + } + } else if (starIndex !== -1) { // eslint-disable-line no-negated-condition + // Backtrack to the last '*' and try to match more characters + templateIndex = starIndex + 1; + matchIndex++; + searchIndex = matchIndex; + } else { + return false; // No match + } + } + + // Handle trailing '*' in template + while (templateIndex < template.length && template[templateIndex] === '*') { + templateIndex++; + } + + return templateIndex === template.length; + } + + /** + * Disable debug output. + * + * @return {String} namespaces + * @api public + */ + function disable() { + const namespaces = [ + ...createDebug.names, + ...createDebug.skips.map(namespace => '-' + namespace) + ].join(','); + createDebug.enable(''); + return namespaces; + } + + /** + * Returns true if the given mode name is enabled, false otherwise. + * + * @param {String} name + * @return {Boolean} + * @api public + */ + function enabled(name) { + for (const skip of createDebug.skips) { + if (matchesTemplate(name, skip)) { + return false; + } + } + + for (const ns of createDebug.names) { + if (matchesTemplate(name, ns)) { + return true; + } + } + + return false; + } + + /** + * Coerce `val`. + * + * @param {Mixed} val + * @return {Mixed} + * @api private + */ + function coerce(val) { + if (val instanceof Error) { + return val.stack || val.message; + } + return val; + } + + /** + * XXX DO NOT USE. This is a temporary stub function. + * XXX It WILL be removed in the next major release. + */ + function destroy() { + console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); + } + + createDebug.enable(createDebug.load()); + + return createDebug; +} + +module.exports = setup; diff --git a/node_modules/ioredis/node_modules/debug/src/index.js b/node_modules/ioredis/node_modules/debug/src/index.js new file mode 100644 index 0000000..bf4c57f --- /dev/null +++ b/node_modules/ioredis/node_modules/debug/src/index.js @@ -0,0 +1,10 @@ +/** + * Detect Electron renderer / nwjs process, which is node, but we should + * treat as a browser. + */ + +if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) { + module.exports = require('./browser.js'); +} else { + module.exports = require('./node.js'); +} diff --git a/node_modules/ioredis/node_modules/debug/src/node.js b/node_modules/ioredis/node_modules/debug/src/node.js new file mode 100644 index 0000000..715560a --- /dev/null +++ b/node_modules/ioredis/node_modules/debug/src/node.js @@ -0,0 +1,263 @@ +/** + * Module dependencies. + */ + +const tty = require('tty'); +const util = require('util'); + +/** + * This is the Node.js implementation of `debug()`. + */ + +exports.init = init; +exports.log = log; +exports.formatArgs = formatArgs; +exports.save = save; +exports.load = load; +exports.useColors = useColors; +exports.destroy = util.deprecate( + () => {}, + 'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.' +); + +/** + * Colors. + */ + +exports.colors = [6, 2, 3, 4, 5, 1]; + +try { + // Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json) + // eslint-disable-next-line import/no-extraneous-dependencies + const supportsColor = require('supports-color'); + + if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) { + exports.colors = [ + 20, + 21, + 26, + 27, + 32, + 33, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 56, + 57, + 62, + 63, + 68, + 69, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 92, + 93, + 98, + 99, + 112, + 113, + 128, + 129, + 134, + 135, + 148, + 149, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 170, + 171, + 172, + 173, + 178, + 179, + 184, + 185, + 196, + 197, + 198, + 199, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 214, + 215, + 220, + 221 + ]; + } +} catch (error) { + // Swallow - we only care if `supports-color` is available; it doesn't have to be. +} + +/** + * Build up the default `inspectOpts` object from the environment variables. + * + * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js + */ + +exports.inspectOpts = Object.keys(process.env).filter(key => { + return /^debug_/i.test(key); +}).reduce((obj, key) => { + // Camel-case + const prop = key + .substring(6) + .toLowerCase() + .replace(/_([a-z])/g, (_, k) => { + return k.toUpperCase(); + }); + + // Coerce string value into JS value + let val = process.env[key]; + if (/^(yes|on|true|enabled)$/i.test(val)) { + val = true; + } else if (/^(no|off|false|disabled)$/i.test(val)) { + val = false; + } else if (val === 'null') { + val = null; + } else { + val = Number(val); + } + + obj[prop] = val; + return obj; +}, {}); + +/** + * Is stdout a TTY? Colored output is enabled when `true`. + */ + +function useColors() { + return 'colors' in exports.inspectOpts ? + Boolean(exports.inspectOpts.colors) : + tty.isatty(process.stderr.fd); +} + +/** + * Adds ANSI color escape codes if enabled. + * + * @api public + */ + +function formatArgs(args) { + const {namespace: name, useColors} = this; + + if (useColors) { + const c = this.color; + const colorCode = '\u001B[3' + (c < 8 ? c : '8;5;' + c); + const prefix = ` ${colorCode};1m${name} \u001B[0m`; + + args[0] = prefix + args[0].split('\n').join('\n' + prefix); + args.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\u001B[0m'); + } else { + args[0] = getDate() + name + ' ' + args[0]; + } +} + +function getDate() { + if (exports.inspectOpts.hideDate) { + return ''; + } + return new Date().toISOString() + ' '; +} + +/** + * Invokes `util.formatWithOptions()` with the specified arguments and writes to stderr. + */ + +function log(...args) { + return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + '\n'); +} + +/** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ +function save(namespaces) { + if (namespaces) { + process.env.DEBUG = namespaces; + } else { + // If you set a process.env field to null or undefined, it gets cast to the + // string 'null' or 'undefined'. Just delete instead. + delete process.env.DEBUG; + } +} + +/** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ + +function load() { + return process.env.DEBUG; +} + +/** + * Init logic for `debug` instances. + * + * Create a new `inspectOpts` object in case `useColors` is set + * differently for a particular `debug` instance. + */ + +function init(debug) { + debug.inspectOpts = {}; + + const keys = Object.keys(exports.inspectOpts); + for (let i = 0; i < keys.length; i++) { + debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; + } +} + +module.exports = require('./common')(exports); + +const {formatters} = module.exports; + +/** + * Map %o to `util.inspect()`, all on a single line. + */ + +formatters.o = function (v) { + this.inspectOpts.colors = this.useColors; + return util.inspect(v, this.inspectOpts) + .split('\n') + .map(str => str.trim()) + .join(' '); +}; + +/** + * Map %O to `util.inspect()`, allowing multiple lines if needed. + */ + +formatters.O = function (v) { + this.inspectOpts.colors = this.useColors; + return util.inspect(v, this.inspectOpts); +}; diff --git a/node_modules/ioredis/node_modules/ms/index.js b/node_modules/ioredis/node_modules/ms/index.js new file mode 100644 index 0000000..ea734fb --- /dev/null +++ b/node_modules/ioredis/node_modules/ms/index.js @@ -0,0 +1,162 @@ +/** + * Helpers. + */ + +var s = 1000; +var m = s * 60; +var h = m * 60; +var d = h * 24; +var w = d * 7; +var y = d * 365.25; + +/** + * Parse or format the given `val`. + * + * Options: + * + * - `long` verbose formatting [false] + * + * @param {String|Number} val + * @param {Object} [options] + * @throws {Error} throw an error if val is not a non-empty string or a number + * @return {String|Number} + * @api public + */ + +module.exports = function (val, options) { + options = options || {}; + var type = typeof val; + if (type === 'string' && val.length > 0) { + return parse(val); + } else if (type === 'number' && isFinite(val)) { + return options.long ? fmtLong(val) : fmtShort(val); + } + throw new Error( + 'val is not a non-empty string or a valid number. val=' + + JSON.stringify(val) + ); +}; + +/** + * Parse the given `str` and return milliseconds. + * + * @param {String} str + * @return {Number} + * @api private + */ + +function parse(str) { + str = String(str); + if (str.length > 100) { + return; + } + var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec( + str + ); + if (!match) { + return; + } + var n = parseFloat(match[1]); + var type = (match[2] || 'ms').toLowerCase(); + switch (type) { + case 'years': + case 'year': + case 'yrs': + case 'yr': + case 'y': + return n * y; + case 'weeks': + case 'week': + case 'w': + return n * w; + case 'days': + case 'day': + case 'd': + return n * d; + case 'hours': + case 'hour': + case 'hrs': + case 'hr': + case 'h': + return n * h; + case 'minutes': + case 'minute': + case 'mins': + case 'min': + case 'm': + return n * m; + case 'seconds': + case 'second': + case 'secs': + case 'sec': + case 's': + return n * s; + case 'milliseconds': + case 'millisecond': + case 'msecs': + case 'msec': + case 'ms': + return n; + default: + return undefined; + } +} + +/** + * Short format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + +function fmtShort(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return Math.round(ms / d) + 'd'; + } + if (msAbs >= h) { + return Math.round(ms / h) + 'h'; + } + if (msAbs >= m) { + return Math.round(ms / m) + 'm'; + } + if (msAbs >= s) { + return Math.round(ms / s) + 's'; + } + return ms + 'ms'; +} + +/** + * Long format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + +function fmtLong(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return plural(ms, msAbs, d, 'day'); + } + if (msAbs >= h) { + return plural(ms, msAbs, h, 'hour'); + } + if (msAbs >= m) { + return plural(ms, msAbs, m, 'minute'); + } + if (msAbs >= s) { + return plural(ms, msAbs, s, 'second'); + } + return ms + ' ms'; +} + +/** + * Pluralization helper. + */ + +function plural(ms, msAbs, n, name) { + var isPlural = msAbs >= n * 1.5; + return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); +} diff --git a/node_modules/ioredis/node_modules/ms/license.md b/node_modules/ioredis/node_modules/ms/license.md new file mode 100644 index 0000000..fa5d39b --- /dev/null +++ b/node_modules/ioredis/node_modules/ms/license.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 Vercel, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/ioredis/node_modules/ms/package.json b/node_modules/ioredis/node_modules/ms/package.json new file mode 100644 index 0000000..4997189 --- /dev/null +++ b/node_modules/ioredis/node_modules/ms/package.json @@ -0,0 +1,38 @@ +{ + "name": "ms", + "version": "2.1.3", + "description": "Tiny millisecond conversion utility", + "repository": "vercel/ms", + "main": "./index", + "files": [ + "index.js" + ], + "scripts": { + "precommit": "lint-staged", + "lint": "eslint lib/* bin/*", + "test": "mocha tests.js" + }, + "eslintConfig": { + "extends": "eslint:recommended", + "env": { + "node": true, + "es6": true + } + }, + "lint-staged": { + "*.js": [ + "npm run lint", + "prettier --single-quote --write", + "git add" + ] + }, + "license": "MIT", + "devDependencies": { + "eslint": "4.18.2", + "expect.js": "0.3.1", + "husky": "0.14.3", + "lint-staged": "5.0.0", + "mocha": "4.0.1", + "prettier": "2.0.5" + } +} diff --git a/node_modules/ioredis/node_modules/ms/readme.md b/node_modules/ioredis/node_modules/ms/readme.md new file mode 100644 index 0000000..0fc1abb --- /dev/null +++ b/node_modules/ioredis/node_modules/ms/readme.md @@ -0,0 +1,59 @@ +# ms + +![CI](https://github.com/vercel/ms/workflows/CI/badge.svg) + +Use this package to easily convert various time formats to milliseconds. + +## Examples + +```js +ms('2 days') // 172800000 +ms('1d') // 86400000 +ms('10h') // 36000000 +ms('2.5 hrs') // 9000000 +ms('2h') // 7200000 +ms('1m') // 60000 +ms('5s') // 5000 +ms('1y') // 31557600000 +ms('100') // 100 +ms('-3 days') // -259200000 +ms('-1h') // -3600000 +ms('-200') // -200 +``` + +### Convert from Milliseconds + +```js +ms(60000) // "1m" +ms(2 * 60000) // "2m" +ms(-3 * 60000) // "-3m" +ms(ms('10 hours')) // "10h" +``` + +### Time Format Written-Out + +```js +ms(60000, { long: true }) // "1 minute" +ms(2 * 60000, { long: true }) // "2 minutes" +ms(-3 * 60000, { long: true }) // "-3 minutes" +ms(ms('10 hours'), { long: true }) // "10 hours" +``` + +## Features + +- Works both in [Node.js](https://nodejs.org) and in the browser +- If a number is supplied to `ms`, a string with a unit is returned +- If a string that contains the number is supplied, it returns it as a number (e.g.: it returns `100` for `'100'`) +- If you pass a string with a number and a valid unit, the number of equivalent milliseconds is returned + +## Related Packages + +- [ms.macro](https://github.com/knpwrs/ms.macro) - Run `ms` as a macro at build-time. + +## Caught a Bug? + +1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device +2. Link the package to the global module directory: `npm link` +3. Within the module you want to test your local development instance of ms, just link it to the dependencies: `npm link ms`. Instead of the default one from npm, Node.js will now use your clone of ms! + +As always, you can run the tests using: `npm test` diff --git a/node_modules/ioredis/package.json b/node_modules/ioredis/package.json new file mode 100644 index 0000000..84d530f --- /dev/null +++ b/node_modules/ioredis/package.json @@ -0,0 +1,102 @@ +{ + "name": "ioredis", + "version": "5.10.1", + "description": "A robust, performance-focused and full-featured Redis client for Node.js.", + "main": "./built/index.js", + "types": "./built/index.d.ts", + "files": [ + "built/" + ], + "scripts": { + "docker:setup": "docker compose -f test/docker-compose.yml up -d --wait", + "docker:teardown": "docker compose -f test/docker-compose.yml down --volumes --remove-orphans", + "test:tsd": "npm run build && tsd", + "test:js": "TS_NODE_TRANSPILE_ONLY=true NODE_ENV=test mocha --no-experimental-strip-types \"test/helpers/*.ts\" \"test/unit/**/*.ts\" \"test/functional/**/*.ts\"", + "test:cov": "nyc npm run test:js", + "test:cluster": "TS_NODE_TRANSPILE_ONLY=true NODE_ENV=test mocha --no-experimental-strip-types \"test/cluster/**/*.ts\"", + "test": "npm run test:js && npm run test:tsd", + "lint": "eslint --ext .js,.ts ./lib", + "docs": "npx typedoc --logLevel Error --excludeExternals --excludeProtected --excludePrivate --readme none lib/index.ts", + "format": "prettier --write \"{,!(node_modules)/**/}*.{js,ts}\"", + "format-check": "prettier --check \"{,!(node_modules)/**/}*.{js,ts}\"", + "build": "rm -rf built && tsc", + "prepublishOnly": "npm run build", + "semantic-release": "semantic-release" + }, + "repository": { + "type": "git", + "url": "git://github.com/luin/ioredis.git" + }, + "keywords": [ + "redis", + "cluster", + "sentinel", + "pipelining" + ], + "tsd": { + "directory": "test/typing" + }, + "author": "Zihua Li (http://zihua.li)", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/ioredis" + }, + "dependencies": { + "@ioredis/commands": "1.5.1", + "cluster-key-slot": "^1.1.0", + "debug": "^4.3.4", + "denque": "^2.1.0", + "lodash.defaults": "^4.2.0", + "lodash.isarguments": "^3.1.0", + "redis-errors": "^1.2.0", + "redis-parser": "^3.0.0", + "standard-as-callback": "^2.1.0" + }, + "devDependencies": { + "@ioredis/interface-generator": "^1.3.0", + "@semantic-release/changelog": "^6.0.1", + "@semantic-release/commit-analyzer": "^9.0.2", + "@semantic-release/git": "^10.0.1", + "@types/chai": "^4.3.0", + "@types/chai-as-promised": "^7.1.5", + "@types/debug": "^4.1.5", + "@types/lodash.defaults": "^4.2.7", + "@types/lodash.isarguments": "^3.1.7", + "@types/mocha": "^9.1.0", + "@types/node": "^14.18.12", + "@types/redis-errors": "^1.2.1", + "@types/sinon": "^10.0.11", + "@typescript-eslint/eslint-plugin": "^5.48.1", + "@typescript-eslint/parser": "^5.48.1", + "chai": "^4.3.6", + "chai-as-promised": "^7.1.1", + "eslint": "^8.31.0", + "eslint-config-prettier": "^8.6.0", + "mocha": "^9.2.1", + "nyc": "^15.1.0", + "prettier": "^2.6.1", + "semantic-release": "^19.0.2", + "server-destroy": "^1.0.1", + "sinon": "^13.0.1", + "ts-node": "^10.4.0", + "tsd": "^0.19.1", + "typedoc": "^0.22.18", + "typescript": "^4.6.3", + "uuid": "^9.0.0" + }, + "nyc": { + "reporter": [ + "lcov" + ] + }, + "engines": { + "node": ">=12.22.0" + }, + "mocha": { + "exit": true, + "timeout": 8000, + "recursive": true, + "require": "ts-node/register" + } +} diff --git a/node_modules/ipaddr.js/LICENSE b/node_modules/ipaddr.js/LICENSE new file mode 100644 index 0000000..f6b37b5 --- /dev/null +++ b/node_modules/ipaddr.js/LICENSE @@ -0,0 +1,19 @@ +Copyright (C) 2011-2017 whitequark + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_modules/ipaddr.js/README.md b/node_modules/ipaddr.js/README.md new file mode 100644 index 0000000..f57725b --- /dev/null +++ b/node_modules/ipaddr.js/README.md @@ -0,0 +1,233 @@ +# ipaddr.js — an IPv6 and IPv4 address manipulation library [![Build Status](https://travis-ci.org/whitequark/ipaddr.js.svg)](https://travis-ci.org/whitequark/ipaddr.js) + +ipaddr.js is a small (1.9K minified and gzipped) library for manipulating +IP addresses in JavaScript environments. It runs on both CommonJS runtimes +(e.g. [nodejs]) and in a web browser. + +ipaddr.js allows you to verify and parse string representation of an IP +address, match it against a CIDR range or range list, determine if it falls +into some reserved ranges (examples include loopback and private ranges), +and convert between IPv4 and IPv4-mapped IPv6 addresses. + +[nodejs]: http://nodejs.org + +## Installation + +`npm install ipaddr.js` + +or + +`bower install ipaddr.js` + +## API + +ipaddr.js defines one object in the global scope: `ipaddr`. In CommonJS, +it is exported from the module: + +```js +var ipaddr = require('ipaddr.js'); +``` + +The API consists of several global methods and two classes: ipaddr.IPv6 and ipaddr.IPv4. + +### Global methods + +There are three global methods defined: `ipaddr.isValid`, `ipaddr.parse` and +`ipaddr.process`. All of them receive a string as a single parameter. + +The `ipaddr.isValid` method returns `true` if the address is a valid IPv4 or +IPv6 address, and `false` otherwise. It does not throw any exceptions. + +The `ipaddr.parse` method returns an object representing the IP address, +or throws an `Error` if the passed string is not a valid representation of an +IP address. + +The `ipaddr.process` method works just like the `ipaddr.parse` one, but it +automatically converts IPv4-mapped IPv6 addresses to their IPv4 counterparts +before returning. It is useful when you have a Node.js instance listening +on an IPv6 socket, and the `net.ivp6.bindv6only` sysctl parameter (or its +equivalent on non-Linux OS) is set to 0. In this case, you can accept IPv4 +connections on your IPv6-only socket, but the remote address will be mangled. +Use `ipaddr.process` method to automatically demangle it. + +### Object representation + +Parsing methods return an object which descends from `ipaddr.IPv6` or +`ipaddr.IPv4`. These objects share some properties, but most of them differ. + +#### Shared properties + +One can determine the type of address by calling `addr.kind()`. It will return +either `"ipv6"` or `"ipv4"`. + +An address can be converted back to its string representation with `addr.toString()`. +Note that this method: + * does not return the original string used to create the object (in fact, there is + no way of getting that string) + * returns a compact representation (when it is applicable) + +A `match(range, bits)` method can be used to check if the address falls into a +certain CIDR range. +Note that an address can be (obviously) matched only against an address of the same type. + +For example: + +```js +var addr = ipaddr.parse("2001:db8:1234::1"); +var range = ipaddr.parse("2001:db8::"); + +addr.match(range, 32); // => true +``` + +Alternatively, `match` can also be called as `match([range, bits])`. In this way, +it can be used together with the `parseCIDR(string)` method, which parses an IP +address together with a CIDR range. + +For example: + +```js +var addr = ipaddr.parse("2001:db8:1234::1"); + +addr.match(ipaddr.parseCIDR("2001:db8::/32")); // => true +``` + +A `range()` method returns one of predefined names for several special ranges defined +by IP protocols. The exact names (and their respective CIDR ranges) can be looked up +in the source: [IPv6 ranges] and [IPv4 ranges]. Some common ones include `"unicast"` +(the default one) and `"reserved"`. + +You can match against your own range list by using +`ipaddr.subnetMatch(address, rangeList, defaultName)` method. It can work with a mix of IPv6 or IPv4 addresses, and accepts a name-to-subnet map as the range list. For example: + +```js +var rangeList = { + documentationOnly: [ ipaddr.parse('2001:db8::'), 32 ], + tunnelProviders: [ + [ ipaddr.parse('2001:470::'), 32 ], // he.net + [ ipaddr.parse('2001:5c0::'), 32 ] // freenet6 + ] +}; +ipaddr.subnetMatch(ipaddr.parse('2001:470:8:66::1'), rangeList, 'unknown'); // => "tunnelProviders" +``` + +The addresses can be converted to their byte representation with `toByteArray()`. +(Actually, JavaScript mostly does not know about byte buffers. They are emulated with +arrays of numbers, each in range of 0..255.) + +```js +var bytes = ipaddr.parse('2a00:1450:8007::68').toByteArray(); // ipv6.google.com +bytes // => [42, 0x00, 0x14, 0x50, 0x80, 0x07, 0x00, , 0x00, 0x68 ] +``` + +The `ipaddr.IPv4` and `ipaddr.IPv6` objects have some methods defined, too. All of them +have the same interface for both protocols, and are similar to global methods. + +`ipaddr.IPvX.isValid(string)` can be used to check if the string is a valid address +for particular protocol, and `ipaddr.IPvX.parse(string)` is the error-throwing parser. + +`ipaddr.IPvX.isValid(string)` uses the same format for parsing as the POSIX `inet_ntoa` function, which accepts unusual formats like `0xc0.168.1.1` or `0x10000000`. The function `ipaddr.IPv4.isValidFourPartDecimal(string)` validates the IPv4 address and also ensures that it is written in four-part decimal format. + +[IPv6 ranges]: https://github.com/whitequark/ipaddr.js/blob/master/src/ipaddr.coffee#L186 +[IPv4 ranges]: https://github.com/whitequark/ipaddr.js/blob/master/src/ipaddr.coffee#L71 + +#### IPv6 properties + +Sometimes you will want to convert IPv6 not to a compact string representation (with +the `::` substitution); the `toNormalizedString()` method will return an address where +all zeroes are explicit. + +For example: + +```js +var addr = ipaddr.parse("2001:0db8::0001"); +addr.toString(); // => "2001:db8::1" +addr.toNormalizedString(); // => "2001:db8:0:0:0:0:0:1" +``` + +The `isIPv4MappedAddress()` method will return `true` if this address is an IPv4-mapped +one, and `toIPv4Address()` will return an IPv4 object address. + +To access the underlying binary representation of the address, use `addr.parts`. + +```js +var addr = ipaddr.parse("2001:db8:10::1234:DEAD"); +addr.parts // => [0x2001, 0xdb8, 0x10, 0, 0, 0, 0x1234, 0xdead] +``` + +A IPv6 zone index can be accessed via `addr.zoneId`: + +```js +var addr = ipaddr.parse("2001:db8::%eth0"); +addr.zoneId // => 'eth0' +``` + +#### IPv4 properties + +`toIPv4MappedAddress()` will return a corresponding IPv4-mapped IPv6 address. + +To access the underlying representation of the address, use `addr.octets`. + +```js +var addr = ipaddr.parse("192.168.1.1"); +addr.octets // => [192, 168, 1, 1] +``` + +`prefixLengthFromSubnetMask()` will return a CIDR prefix length for a valid IPv4 netmask or +null if the netmask is not valid. + +```js +ipaddr.IPv4.parse('255.255.255.240').prefixLengthFromSubnetMask() == 28 +ipaddr.IPv4.parse('255.192.164.0').prefixLengthFromSubnetMask() == null +``` + +`subnetMaskFromPrefixLength()` will return an IPv4 netmask for a valid CIDR prefix length. + +```js +ipaddr.IPv4.subnetMaskFromPrefixLength(24) == "255.255.255.0" +ipaddr.IPv4.subnetMaskFromPrefixLength(29) == "255.255.255.248" +``` + +`broadcastAddressFromCIDR()` will return the broadcast address for a given IPv4 interface and netmask in CIDR notation. +```js +ipaddr.IPv4.broadcastAddressFromCIDR("172.0.0.1/24") == "172.0.0.255" +``` +`networkAddressFromCIDR()` will return the network address for a given IPv4 interface and netmask in CIDR notation. +```js +ipaddr.IPv4.networkAddressFromCIDR("172.0.0.1/24") == "172.0.0.0" +``` + +#### Conversion + +IPv4 and IPv6 can be converted bidirectionally to and from network byte order (MSB) byte arrays. + +The `fromByteArray()` method will take an array and create an appropriate IPv4 or IPv6 object +if the input satisfies the requirements. For IPv4 it has to be an array of four 8-bit values, +while for IPv6 it has to be an array of sixteen 8-bit values. + +For example: +```js +var addr = ipaddr.fromByteArray([0x7f, 0, 0, 1]); +addr.toString(); // => "127.0.0.1" +``` + +or + +```js +var addr = ipaddr.fromByteArray([0x20, 1, 0xd, 0xb8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]) +addr.toString(); // => "2001:db8::1" +``` + +Both objects also offer a `toByteArray()` method, which returns an array in network byte order (MSB). + +For example: +```js +var addr = ipaddr.parse("127.0.0.1"); +addr.toByteArray(); // => [0x7f, 0, 0, 1] +``` + +or + +```js +var addr = ipaddr.parse("2001:db8::1"); +addr.toByteArray(); // => [0x20, 1, 0xd, 0xb8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1] +``` diff --git a/node_modules/ipaddr.js/ipaddr.min.js b/node_modules/ipaddr.js/ipaddr.min.js new file mode 100644 index 0000000..b54a7cc --- /dev/null +++ b/node_modules/ipaddr.js/ipaddr.min.js @@ -0,0 +1 @@ +(function(){var r,t,n,e,i,o,a,s;t={},s=this,"undefined"!=typeof module&&null!==module&&module.exports?module.exports=t:s.ipaddr=t,a=function(r,t,n,e){var i,o;if(r.length!==t.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");for(i=0;e>0;){if((o=n-e)<0&&(o=0),r[i]>>o!=t[i]>>o)return!1;e-=n,i+=1}return!0},t.subnetMatch=function(r,t,n){var e,i,o,a,s;null==n&&(n="unicast");for(o in t)for(!(a=t[o])[0]||a[0]instanceof Array||(a=[a]),e=0,i=a.length;e=0;t=n+=-1){if(!((e=this.octets[t])in a))return null;if(o=a[e],i&&0!==o)return null;8!==o&&(i=!0),r+=o}return 32-r},r}(),n="(0?\\d+|0x[a-f0-9]+)",e={fourOctet:new RegExp("^"+n+"\\."+n+"\\."+n+"\\."+n+"$","i"),longValue:new RegExp("^"+n+"$","i")},t.IPv4.parser=function(r){var t,n,i,o,a;if(n=function(r){return"0"===r[0]&&"x"!==r[1]?parseInt(r,8):parseInt(r)},t=r.match(e.fourOctet))return function(){var r,e,o,a;for(a=[],r=0,e=(o=t.slice(1,6)).length;r4294967295||a<0)throw new Error("ipaddr: address outside defined range");return function(){var r,t;for(t=[],o=r=0;r<=24;o=r+=8)t.push(a>>o&255);return t}().reverse()}return null},t.IPv6=function(){function r(r,t){var n,e,i,o,a,s;if(16===r.length)for(this.parts=[],n=e=0;e<=14;n=e+=2)this.parts.push(r[n]<<8|r[n+1]);else{if(8!==r.length)throw new Error("ipaddr: ipv6 part count should be 8 or 16");this.parts=r}for(i=0,o=(s=this.parts).length;it&&(r=n.index,t=n[0].length);return t<0?i:i.substring(0,r)+"::"+i.substring(r+t)},r.prototype.toByteArray=function(){var r,t,n,e,i;for(r=[],t=0,n=(i=this.parts).length;t>8),r.push(255&e);return r},r.prototype.toNormalizedString=function(){var r,t,n;return r=function(){var r,n,e,i;for(i=[],r=0,n=(e=this.parts).length;r>8,255&r,n>>8,255&n])},r.prototype.prefixLengthFromSubnetMask=function(){var r,t,n,e,i,o,a;for(a={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0},r=0,i=!1,t=n=7;n>=0;t=n+=-1){if(!((e=this.parts[t])in a))return null;if(o=a[e],i&&0!==o)return null;16!==o&&(i=!0),r+=o}return 128-r},r}(),i="(?:[0-9a-f]+::?)+",o={zoneIndex:new RegExp("%[0-9a-z]{1,}","i"),native:new RegExp("^(::)?("+i+")?([0-9a-f]+)?(::)?(%[0-9a-z]{1,})?$","i"),transitional:new RegExp("^((?:"+i+")|(?:::)(?:"+i+")?)"+n+"\\."+n+"\\."+n+"\\."+n+"(%[0-9a-z]{1,})?$","i")},r=function(r,t){var n,e,i,a,s,p;if(r.indexOf("::")!==r.lastIndexOf("::"))return null;for((p=(r.match(o.zoneIndex)||[])[0])&&(p=p.substring(1),r=r.replace(/%.+$/,"")),n=0,e=-1;(e=r.indexOf(":",e+1))>=0;)n++;if("::"===r.substr(0,2)&&n--,"::"===r.substr(-2,2)&&n--,n>t)return null;for(s=t-n,a=":";s--;)a+="0:";return":"===(r=r.replace("::",a))[0]&&(r=r.slice(1)),":"===r[r.length-1]&&(r=r.slice(0,-1)),t=function(){var t,n,e,o;for(o=[],t=0,n=(e=r.split(":")).length;t=0&&t<=32)return e=[this.parse(n[1]),t],Object.defineProperty(e,"toString",{value:function(){return this.join("/")}}),e;throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},t.IPv4.subnetMaskFromPrefixLength=function(r){var t,n,e;if((r=parseInt(r))<0||r>32)throw new Error("ipaddr: invalid IPv4 prefix length");for(e=[0,0,0,0],n=0,t=Math.floor(r/8);n=0&&t<=128)return e=[this.parse(n[1]),t],Object.defineProperty(e,"toString",{value:function(){return this.join("/")}}),e;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},t.isValid=function(r){return t.IPv6.isValid(r)||t.IPv4.isValid(r)},t.parse=function(r){if(t.IPv6.isValid(r))return t.IPv6.parse(r);if(t.IPv4.isValid(r))return t.IPv4.parse(r);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")},t.parseCIDR=function(r){try{return t.IPv6.parseCIDR(r)}catch(n){n;try{return t.IPv4.parseCIDR(r)}catch(r){throw r,new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},t.fromByteArray=function(r){var n;if(4===(n=r.length))return new t.IPv4(r);if(16===n)return new t.IPv6(r);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},t.process=function(r){var t;return t=this.parse(r),"ipv6"===t.kind()&&t.isIPv4MappedAddress()?t.toIPv4Address():t}}).call(this); \ No newline at end of file diff --git a/node_modules/ipaddr.js/lib/ipaddr.js b/node_modules/ipaddr.js/lib/ipaddr.js new file mode 100644 index 0000000..18bd93b --- /dev/null +++ b/node_modules/ipaddr.js/lib/ipaddr.js @@ -0,0 +1,673 @@ +(function() { + var expandIPv6, ipaddr, ipv4Part, ipv4Regexes, ipv6Part, ipv6Regexes, matchCIDR, root, zoneIndex; + + ipaddr = {}; + + root = this; + + if ((typeof module !== "undefined" && module !== null) && module.exports) { + module.exports = ipaddr; + } else { + root['ipaddr'] = ipaddr; + } + + matchCIDR = function(first, second, partSize, cidrBits) { + var part, shift; + if (first.length !== second.length) { + throw new Error("ipaddr: cannot match CIDR for objects with different lengths"); + } + part = 0; + while (cidrBits > 0) { + shift = partSize - cidrBits; + if (shift < 0) { + shift = 0; + } + if (first[part] >> shift !== second[part] >> shift) { + return false; + } + cidrBits -= partSize; + part += 1; + } + return true; + }; + + ipaddr.subnetMatch = function(address, rangeList, defaultName) { + var k, len, rangeName, rangeSubnets, subnet; + if (defaultName == null) { + defaultName = 'unicast'; + } + for (rangeName in rangeList) { + rangeSubnets = rangeList[rangeName]; + if (rangeSubnets[0] && !(rangeSubnets[0] instanceof Array)) { + rangeSubnets = [rangeSubnets]; + } + for (k = 0, len = rangeSubnets.length; k < len; k++) { + subnet = rangeSubnets[k]; + if (address.kind() === subnet[0].kind()) { + if (address.match.apply(address, subnet)) { + return rangeName; + } + } + } + } + return defaultName; + }; + + ipaddr.IPv4 = (function() { + function IPv4(octets) { + var k, len, octet; + if (octets.length !== 4) { + throw new Error("ipaddr: ipv4 octet count should be 4"); + } + for (k = 0, len = octets.length; k < len; k++) { + octet = octets[k]; + if (!((0 <= octet && octet <= 255))) { + throw new Error("ipaddr: ipv4 octet should fit in 8 bits"); + } + } + this.octets = octets; + } + + IPv4.prototype.kind = function() { + return 'ipv4'; + }; + + IPv4.prototype.toString = function() { + return this.octets.join("."); + }; + + IPv4.prototype.toNormalizedString = function() { + return this.toString(); + }; + + IPv4.prototype.toByteArray = function() { + return this.octets.slice(0); + }; + + IPv4.prototype.match = function(other, cidrRange) { + var ref; + if (cidrRange === void 0) { + ref = other, other = ref[0], cidrRange = ref[1]; + } + if (other.kind() !== 'ipv4') { + throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one"); + } + return matchCIDR(this.octets, other.octets, 8, cidrRange); + }; + + IPv4.prototype.SpecialRanges = { + unspecified: [[new IPv4([0, 0, 0, 0]), 8]], + broadcast: [[new IPv4([255, 255, 255, 255]), 32]], + multicast: [[new IPv4([224, 0, 0, 0]), 4]], + linkLocal: [[new IPv4([169, 254, 0, 0]), 16]], + loopback: [[new IPv4([127, 0, 0, 0]), 8]], + carrierGradeNat: [[new IPv4([100, 64, 0, 0]), 10]], + "private": [[new IPv4([10, 0, 0, 0]), 8], [new IPv4([172, 16, 0, 0]), 12], [new IPv4([192, 168, 0, 0]), 16]], + reserved: [[new IPv4([192, 0, 0, 0]), 24], [new IPv4([192, 0, 2, 0]), 24], [new IPv4([192, 88, 99, 0]), 24], [new IPv4([198, 51, 100, 0]), 24], [new IPv4([203, 0, 113, 0]), 24], [new IPv4([240, 0, 0, 0]), 4]] + }; + + IPv4.prototype.range = function() { + return ipaddr.subnetMatch(this, this.SpecialRanges); + }; + + IPv4.prototype.toIPv4MappedAddress = function() { + return ipaddr.IPv6.parse("::ffff:" + (this.toString())); + }; + + IPv4.prototype.prefixLengthFromSubnetMask = function() { + var cidr, i, k, octet, stop, zeros, zerotable; + zerotable = { + 0: 8, + 128: 7, + 192: 6, + 224: 5, + 240: 4, + 248: 3, + 252: 2, + 254: 1, + 255: 0 + }; + cidr = 0; + stop = false; + for (i = k = 3; k >= 0; i = k += -1) { + octet = this.octets[i]; + if (octet in zerotable) { + zeros = zerotable[octet]; + if (stop && zeros !== 0) { + return null; + } + if (zeros !== 8) { + stop = true; + } + cidr += zeros; + } else { + return null; + } + } + return 32 - cidr; + }; + + return IPv4; + + })(); + + ipv4Part = "(0?\\d+|0x[a-f0-9]+)"; + + ipv4Regexes = { + fourOctet: new RegExp("^" + ipv4Part + "\\." + ipv4Part + "\\." + ipv4Part + "\\." + ipv4Part + "$", 'i'), + longValue: new RegExp("^" + ipv4Part + "$", 'i') + }; + + ipaddr.IPv4.parser = function(string) { + var match, parseIntAuto, part, shift, value; + parseIntAuto = function(string) { + if (string[0] === "0" && string[1] !== "x") { + return parseInt(string, 8); + } else { + return parseInt(string); + } + }; + if (match = string.match(ipv4Regexes.fourOctet)) { + return (function() { + var k, len, ref, results; + ref = match.slice(1, 6); + results = []; + for (k = 0, len = ref.length; k < len; k++) { + part = ref[k]; + results.push(parseIntAuto(part)); + } + return results; + })(); + } else if (match = string.match(ipv4Regexes.longValue)) { + value = parseIntAuto(match[1]); + if (value > 0xffffffff || value < 0) { + throw new Error("ipaddr: address outside defined range"); + } + return ((function() { + var k, results; + results = []; + for (shift = k = 0; k <= 24; shift = k += 8) { + results.push((value >> shift) & 0xff); + } + return results; + })()).reverse(); + } else { + return null; + } + }; + + ipaddr.IPv6 = (function() { + function IPv6(parts, zoneId) { + var i, k, l, len, part, ref; + if (parts.length === 16) { + this.parts = []; + for (i = k = 0; k <= 14; i = k += 2) { + this.parts.push((parts[i] << 8) | parts[i + 1]); + } + } else if (parts.length === 8) { + this.parts = parts; + } else { + throw new Error("ipaddr: ipv6 part count should be 8 or 16"); + } + ref = this.parts; + for (l = 0, len = ref.length; l < len; l++) { + part = ref[l]; + if (!((0 <= part && part <= 0xffff))) { + throw new Error("ipaddr: ipv6 part should fit in 16 bits"); + } + } + if (zoneId) { + this.zoneId = zoneId; + } + } + + IPv6.prototype.kind = function() { + return 'ipv6'; + }; + + IPv6.prototype.toString = function() { + return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/, '::'); + }; + + IPv6.prototype.toRFC5952String = function() { + var bestMatchIndex, bestMatchLength, match, regex, string; + regex = /((^|:)(0(:|$)){2,})/g; + string = this.toNormalizedString(); + bestMatchIndex = 0; + bestMatchLength = -1; + while ((match = regex.exec(string))) { + if (match[0].length > bestMatchLength) { + bestMatchIndex = match.index; + bestMatchLength = match[0].length; + } + } + if (bestMatchLength < 0) { + return string; + } + return string.substring(0, bestMatchIndex) + '::' + string.substring(bestMatchIndex + bestMatchLength); + }; + + IPv6.prototype.toByteArray = function() { + var bytes, k, len, part, ref; + bytes = []; + ref = this.parts; + for (k = 0, len = ref.length; k < len; k++) { + part = ref[k]; + bytes.push(part >> 8); + bytes.push(part & 0xff); + } + return bytes; + }; + + IPv6.prototype.toNormalizedString = function() { + var addr, part, suffix; + addr = ((function() { + var k, len, ref, results; + ref = this.parts; + results = []; + for (k = 0, len = ref.length; k < len; k++) { + part = ref[k]; + results.push(part.toString(16)); + } + return results; + }).call(this)).join(":"); + suffix = ''; + if (this.zoneId) { + suffix = '%' + this.zoneId; + } + return addr + suffix; + }; + + IPv6.prototype.toFixedLengthString = function() { + var addr, part, suffix; + addr = ((function() { + var k, len, ref, results; + ref = this.parts; + results = []; + for (k = 0, len = ref.length; k < len; k++) { + part = ref[k]; + results.push(part.toString(16).padStart(4, '0')); + } + return results; + }).call(this)).join(":"); + suffix = ''; + if (this.zoneId) { + suffix = '%' + this.zoneId; + } + return addr + suffix; + }; + + IPv6.prototype.match = function(other, cidrRange) { + var ref; + if (cidrRange === void 0) { + ref = other, other = ref[0], cidrRange = ref[1]; + } + if (other.kind() !== 'ipv6') { + throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one"); + } + return matchCIDR(this.parts, other.parts, 16, cidrRange); + }; + + IPv6.prototype.SpecialRanges = { + unspecified: [new IPv6([0, 0, 0, 0, 0, 0, 0, 0]), 128], + linkLocal: [new IPv6([0xfe80, 0, 0, 0, 0, 0, 0, 0]), 10], + multicast: [new IPv6([0xff00, 0, 0, 0, 0, 0, 0, 0]), 8], + loopback: [new IPv6([0, 0, 0, 0, 0, 0, 0, 1]), 128], + uniqueLocal: [new IPv6([0xfc00, 0, 0, 0, 0, 0, 0, 0]), 7], + ipv4Mapped: [new IPv6([0, 0, 0, 0, 0, 0xffff, 0, 0]), 96], + rfc6145: [new IPv6([0, 0, 0, 0, 0xffff, 0, 0, 0]), 96], + rfc6052: [new IPv6([0x64, 0xff9b, 0, 0, 0, 0, 0, 0]), 96], + '6to4': [new IPv6([0x2002, 0, 0, 0, 0, 0, 0, 0]), 16], + teredo: [new IPv6([0x2001, 0, 0, 0, 0, 0, 0, 0]), 32], + reserved: [[new IPv6([0x2001, 0xdb8, 0, 0, 0, 0, 0, 0]), 32]] + }; + + IPv6.prototype.range = function() { + return ipaddr.subnetMatch(this, this.SpecialRanges); + }; + + IPv6.prototype.isIPv4MappedAddress = function() { + return this.range() === 'ipv4Mapped'; + }; + + IPv6.prototype.toIPv4Address = function() { + var high, low, ref; + if (!this.isIPv4MappedAddress()) { + throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4"); + } + ref = this.parts.slice(-2), high = ref[0], low = ref[1]; + return new ipaddr.IPv4([high >> 8, high & 0xff, low >> 8, low & 0xff]); + }; + + IPv6.prototype.prefixLengthFromSubnetMask = function() { + var cidr, i, k, part, stop, zeros, zerotable; + zerotable = { + 0: 16, + 32768: 15, + 49152: 14, + 57344: 13, + 61440: 12, + 63488: 11, + 64512: 10, + 65024: 9, + 65280: 8, + 65408: 7, + 65472: 6, + 65504: 5, + 65520: 4, + 65528: 3, + 65532: 2, + 65534: 1, + 65535: 0 + }; + cidr = 0; + stop = false; + for (i = k = 7; k >= 0; i = k += -1) { + part = this.parts[i]; + if (part in zerotable) { + zeros = zerotable[part]; + if (stop && zeros !== 0) { + return null; + } + if (zeros !== 16) { + stop = true; + } + cidr += zeros; + } else { + return null; + } + } + return 128 - cidr; + }; + + return IPv6; + + })(); + + ipv6Part = "(?:[0-9a-f]+::?)+"; + + zoneIndex = "%[0-9a-z]{1,}"; + + ipv6Regexes = { + zoneIndex: new RegExp(zoneIndex, 'i'), + "native": new RegExp("^(::)?(" + ipv6Part + ")?([0-9a-f]+)?(::)?(" + zoneIndex + ")?$", 'i'), + transitional: new RegExp(("^((?:" + ipv6Part + ")|(?:::)(?:" + ipv6Part + ")?)") + (ipv4Part + "\\." + ipv4Part + "\\." + ipv4Part + "\\." + ipv4Part) + ("(" + zoneIndex + ")?$"), 'i') + }; + + expandIPv6 = function(string, parts) { + var colonCount, lastColon, part, replacement, replacementCount, zoneId; + if (string.indexOf('::') !== string.lastIndexOf('::')) { + return null; + } + zoneId = (string.match(ipv6Regexes['zoneIndex']) || [])[0]; + if (zoneId) { + zoneId = zoneId.substring(1); + string = string.replace(/%.+$/, ''); + } + colonCount = 0; + lastColon = -1; + while ((lastColon = string.indexOf(':', lastColon + 1)) >= 0) { + colonCount++; + } + if (string.substr(0, 2) === '::') { + colonCount--; + } + if (string.substr(-2, 2) === '::') { + colonCount--; + } + if (colonCount > parts) { + return null; + } + replacementCount = parts - colonCount; + replacement = ':'; + while (replacementCount--) { + replacement += '0:'; + } + string = string.replace('::', replacement); + if (string[0] === ':') { + string = string.slice(1); + } + if (string[string.length - 1] === ':') { + string = string.slice(0, -1); + } + parts = (function() { + var k, len, ref, results; + ref = string.split(":"); + results = []; + for (k = 0, len = ref.length; k < len; k++) { + part = ref[k]; + results.push(parseInt(part, 16)); + } + return results; + })(); + return { + parts: parts, + zoneId: zoneId + }; + }; + + ipaddr.IPv6.parser = function(string) { + var addr, k, len, match, octet, octets, zoneId; + if (ipv6Regexes['native'].test(string)) { + return expandIPv6(string, 8); + } else if (match = string.match(ipv6Regexes['transitional'])) { + zoneId = match[6] || ''; + addr = expandIPv6(match[1].slice(0, -1) + zoneId, 6); + if (addr.parts) { + octets = [parseInt(match[2]), parseInt(match[3]), parseInt(match[4]), parseInt(match[5])]; + for (k = 0, len = octets.length; k < len; k++) { + octet = octets[k]; + if (!((0 <= octet && octet <= 255))) { + return null; + } + } + addr.parts.push(octets[0] << 8 | octets[1]); + addr.parts.push(octets[2] << 8 | octets[3]); + return { + parts: addr.parts, + zoneId: addr.zoneId + }; + } + } + return null; + }; + + ipaddr.IPv4.isIPv4 = ipaddr.IPv6.isIPv6 = function(string) { + return this.parser(string) !== null; + }; + + ipaddr.IPv4.isValid = function(string) { + var e; + try { + new this(this.parser(string)); + return true; + } catch (error1) { + e = error1; + return false; + } + }; + + ipaddr.IPv4.isValidFourPartDecimal = function(string) { + if (ipaddr.IPv4.isValid(string) && string.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/)) { + return true; + } else { + return false; + } + }; + + ipaddr.IPv6.isValid = function(string) { + var addr, e; + if (typeof string === "string" && string.indexOf(":") === -1) { + return false; + } + try { + addr = this.parser(string); + new this(addr.parts, addr.zoneId); + return true; + } catch (error1) { + e = error1; + return false; + } + }; + + ipaddr.IPv4.parse = function(string) { + var parts; + parts = this.parser(string); + if (parts === null) { + throw new Error("ipaddr: string is not formatted like ip address"); + } + return new this(parts); + }; + + ipaddr.IPv6.parse = function(string) { + var addr; + addr = this.parser(string); + if (addr.parts === null) { + throw new Error("ipaddr: string is not formatted like ip address"); + } + return new this(addr.parts, addr.zoneId); + }; + + ipaddr.IPv4.parseCIDR = function(string) { + var maskLength, match, parsed; + if (match = string.match(/^(.+)\/(\d+)$/)) { + maskLength = parseInt(match[2]); + if (maskLength >= 0 && maskLength <= 32) { + parsed = [this.parse(match[1]), maskLength]; + Object.defineProperty(parsed, 'toString', { + value: function() { + return this.join('/'); + } + }); + return parsed; + } + } + throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range"); + }; + + ipaddr.IPv4.subnetMaskFromPrefixLength = function(prefix) { + var filledOctetCount, j, octets; + prefix = parseInt(prefix); + if (prefix < 0 || prefix > 32) { + throw new Error('ipaddr: invalid IPv4 prefix length'); + } + octets = [0, 0, 0, 0]; + j = 0; + filledOctetCount = Math.floor(prefix / 8); + while (j < filledOctetCount) { + octets[j] = 255; + j++; + } + if (filledOctetCount < 4) { + octets[filledOctetCount] = Math.pow(2, prefix % 8) - 1 << 8 - (prefix % 8); + } + return new this(octets); + }; + + ipaddr.IPv4.broadcastAddressFromCIDR = function(string) { + var cidr, error, i, ipInterfaceOctets, octets, subnetMaskOctets; + try { + cidr = this.parseCIDR(string); + ipInterfaceOctets = cidr[0].toByteArray(); + subnetMaskOctets = this.subnetMaskFromPrefixLength(cidr[1]).toByteArray(); + octets = []; + i = 0; + while (i < 4) { + octets.push(parseInt(ipInterfaceOctets[i], 10) | parseInt(subnetMaskOctets[i], 10) ^ 255); + i++; + } + return new this(octets); + } catch (error1) { + error = error1; + throw new Error('ipaddr: the address does not have IPv4 CIDR format'); + } + }; + + ipaddr.IPv4.networkAddressFromCIDR = function(string) { + var cidr, error, i, ipInterfaceOctets, octets, subnetMaskOctets; + try { + cidr = this.parseCIDR(string); + ipInterfaceOctets = cidr[0].toByteArray(); + subnetMaskOctets = this.subnetMaskFromPrefixLength(cidr[1]).toByteArray(); + octets = []; + i = 0; + while (i < 4) { + octets.push(parseInt(ipInterfaceOctets[i], 10) & parseInt(subnetMaskOctets[i], 10)); + i++; + } + return new this(octets); + } catch (error1) { + error = error1; + throw new Error('ipaddr: the address does not have IPv4 CIDR format'); + } + }; + + ipaddr.IPv6.parseCIDR = function(string) { + var maskLength, match, parsed; + if (match = string.match(/^(.+)\/(\d+)$/)) { + maskLength = parseInt(match[2]); + if (maskLength >= 0 && maskLength <= 128) { + parsed = [this.parse(match[1]), maskLength]; + Object.defineProperty(parsed, 'toString', { + value: function() { + return this.join('/'); + } + }); + return parsed; + } + } + throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range"); + }; + + ipaddr.isValid = function(string) { + return ipaddr.IPv6.isValid(string) || ipaddr.IPv4.isValid(string); + }; + + ipaddr.parse = function(string) { + if (ipaddr.IPv6.isValid(string)) { + return ipaddr.IPv6.parse(string); + } else if (ipaddr.IPv4.isValid(string)) { + return ipaddr.IPv4.parse(string); + } else { + throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format"); + } + }; + + ipaddr.parseCIDR = function(string) { + var e; + try { + return ipaddr.IPv6.parseCIDR(string); + } catch (error1) { + e = error1; + try { + return ipaddr.IPv4.parseCIDR(string); + } catch (error1) { + e = error1; + throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format"); + } + } + }; + + ipaddr.fromByteArray = function(bytes) { + var length; + length = bytes.length; + if (length === 4) { + return new ipaddr.IPv4(bytes); + } else if (length === 16) { + return new ipaddr.IPv6(bytes); + } else { + throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address"); + } + }; + + ipaddr.process = function(string) { + var addr; + addr = this.parse(string); + if (addr.kind() === 'ipv6' && addr.isIPv4MappedAddress()) { + return addr.toIPv4Address(); + } else { + return addr; + } + }; + +}).call(this); diff --git a/node_modules/ipaddr.js/lib/ipaddr.js.d.ts b/node_modules/ipaddr.js/lib/ipaddr.js.d.ts new file mode 100644 index 0000000..52174b6 --- /dev/null +++ b/node_modules/ipaddr.js/lib/ipaddr.js.d.ts @@ -0,0 +1,68 @@ +declare module "ipaddr.js" { + type IPv4Range = 'unicast' | 'unspecified' | 'broadcast' | 'multicast' | 'linkLocal' | 'loopback' | 'carrierGradeNat' | 'private' | 'reserved'; + type IPv6Range = 'unicast' | 'unspecified' | 'linkLocal' | 'multicast' | 'loopback' | 'uniqueLocal' | 'ipv4Mapped' | 'rfc6145' | 'rfc6052' | '6to4' | 'teredo' | 'reserved'; + + interface RangeList { + [name: string]: [T, number] | [T, number][]; + } + + // Common methods/properties for IPv4 and IPv6 classes. + class IP { + prefixLengthFromSubnetMask(): number | null; + toByteArray(): number[]; + toNormalizedString(): string; + toString(): string; + } + + namespace Address { + export function isValid(addr: string): boolean; + export function fromByteArray(bytes: number[]): IPv4 | IPv6; + export function parse(addr: string): IPv4 | IPv6; + export function parseCIDR(mask: string): [IPv4 | IPv6, number]; + export function process(addr: string): IPv4 | IPv6; + export function subnetMatch(addr: IPv4, rangeList: RangeList, defaultName?: string): string; + export function subnetMatch(addr: IPv6, rangeList: RangeList, defaultName?: string): string; + + export class IPv4 extends IP { + static broadcastAddressFromCIDR(addr: string): IPv4; + static isIPv4(addr: string): boolean; + static isValidFourPartDecimal(addr: string): boolean; + static isValid(addr: string): boolean; + static networkAddressFromCIDR(addr: string): IPv4; + static parse(addr: string): IPv4; + static parseCIDR(addr: string): [IPv4, number]; + static subnetMaskFromPrefixLength(prefix: number): IPv4; + constructor(octets: number[]); + octets: number[] + + kind(): 'ipv4'; + match(addr: IPv4, bits: number): boolean; + match(mask: [IPv4, number]): boolean; + range(): IPv4Range; + subnetMatch(rangeList: RangeList, defaultName?: string): string; + toIPv4MappedAddress(): IPv6; + } + + export class IPv6 extends IP { + static broadcastAddressFromCIDR(addr: string): IPv6; + static isIPv6(addr: string): boolean; + static isValid(addr: string): boolean; + static parse(addr: string): IPv6; + static parseCIDR(addr: string): [IPv6, number]; + static subnetMaskFromPrefixLength(prefix: number): IPv6; + constructor(parts: number[]); + parts: number[] + zoneId?: string + + isIPv4MappedAddress(): boolean; + kind(): 'ipv6'; + match(addr: IPv6, bits: number): boolean; + match(mask: [IPv6, number]): boolean; + range(): IPv6Range; + subnetMatch(rangeList: RangeList, defaultName?: string): string; + toIPv4Address(): IPv4; + } + } + + export = Address; +} diff --git a/node_modules/ipaddr.js/package.json b/node_modules/ipaddr.js/package.json new file mode 100644 index 0000000..f4d3547 --- /dev/null +++ b/node_modules/ipaddr.js/package.json @@ -0,0 +1,35 @@ +{ + "name": "ipaddr.js", + "description": "A library for manipulating IPv4 and IPv6 addresses in JavaScript.", + "version": "1.9.1", + "author": "whitequark ", + "directories": { + "lib": "./lib" + }, + "dependencies": {}, + "devDependencies": { + "coffee-script": "~1.12.6", + "nodeunit": "^0.11.3", + "uglify-js": "~3.0.19" + }, + "scripts": { + "test": "cake build test" + }, + "files": [ + "lib/", + "LICENSE", + "ipaddr.min.js" + ], + "keywords": [ + "ip", + "ipv4", + "ipv6" + ], + "repository": "git://github.com/whitequark/ipaddr.js", + "main": "./lib/ipaddr.js", + "engines": { + "node": ">= 0.10" + }, + "license": "MIT", + "types": "./lib/ipaddr.js.d.ts" +} diff --git a/node_modules/is-stream/index.d.ts b/node_modules/is-stream/index.d.ts new file mode 100644 index 0000000..eee2e83 --- /dev/null +++ b/node_modules/is-stream/index.d.ts @@ -0,0 +1,79 @@ +import * as stream from 'stream'; + +declare const isStream: { + /** + @returns Whether `stream` is a [`Stream`](https://nodejs.org/api/stream.html#stream_stream). + + @example + ``` + import * as fs from 'fs'; + import isStream = require('is-stream'); + + isStream(fs.createReadStream('unicorn.png')); + //=> true + + isStream({}); + //=> false + ``` + */ + (stream: unknown): stream is stream.Stream; + + /** + @returns Whether `stream` is a [`stream.Writable`](https://nodejs.org/api/stream.html#stream_class_stream_writable). + + @example + ``` + import * as fs from 'fs'; + import isStream = require('is-stream'); + + isStream.writable(fs.createWriteStrem('unicorn.txt')); + //=> true + ``` + */ + writable(stream: unknown): stream is stream.Writable; + + /** + @returns Whether `stream` is a [`stream.Readable`](https://nodejs.org/api/stream.html#stream_class_stream_readable). + + @example + ``` + import * as fs from 'fs'; + import isStream = require('is-stream'); + + isStream.readable(fs.createReadStream('unicorn.png')); + //=> true + ``` + */ + readable(stream: unknown): stream is stream.Readable; + + /** + @returns Whether `stream` is a [`stream.Duplex`](https://nodejs.org/api/stream.html#stream_class_stream_duplex). + + @example + ``` + import {Duplex} from 'stream'; + import isStream = require('is-stream'); + + isStream.duplex(new Duplex()); + //=> true + ``` + */ + duplex(stream: unknown): stream is stream.Duplex; + + /** + @returns Whether `stream` is a [`stream.Transform`](https://nodejs.org/api/stream.html#stream_class_stream_transform). + + @example + ``` + import * as fs from 'fs'; + import Stringify = require('streaming-json-stringify'); + import isStream = require('is-stream'); + + isStream.transform(Stringify()); + //=> true + ``` + */ + transform(input: unknown): input is stream.Transform; +}; + +export = isStream; diff --git a/node_modules/is-stream/index.js b/node_modules/is-stream/index.js new file mode 100644 index 0000000..2e43434 --- /dev/null +++ b/node_modules/is-stream/index.js @@ -0,0 +1,28 @@ +'use strict'; + +const isStream = stream => + stream !== null && + typeof stream === 'object' && + typeof stream.pipe === 'function'; + +isStream.writable = stream => + isStream(stream) && + stream.writable !== false && + typeof stream._write === 'function' && + typeof stream._writableState === 'object'; + +isStream.readable = stream => + isStream(stream) && + stream.readable !== false && + typeof stream._read === 'function' && + typeof stream._readableState === 'object'; + +isStream.duplex = stream => + isStream.writable(stream) && + isStream.readable(stream); + +isStream.transform = stream => + isStream.duplex(stream) && + typeof stream._transform === 'function'; + +module.exports = isStream; diff --git a/node_modules/is-stream/license b/node_modules/is-stream/license new file mode 100644 index 0000000..fa7ceba --- /dev/null +++ b/node_modules/is-stream/license @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) Sindre Sorhus (https://sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/is-stream/package.json b/node_modules/is-stream/package.json new file mode 100644 index 0000000..c3b5673 --- /dev/null +++ b/node_modules/is-stream/package.json @@ -0,0 +1,42 @@ +{ + "name": "is-stream", + "version": "2.0.1", + "description": "Check if something is a Node.js stream", + "license": "MIT", + "repository": "sindresorhus/is-stream", + "funding": "https://github.com/sponsors/sindresorhus", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "engines": { + "node": ">=8" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "keywords": [ + "stream", + "type", + "streams", + "writable", + "readable", + "duplex", + "transform", + "check", + "detect", + "is" + ], + "devDependencies": { + "@types/node": "^11.13.6", + "ava": "^1.4.1", + "tempy": "^0.3.0", + "tsd": "^0.7.2", + "xo": "^0.24.0" + } +} diff --git a/node_modules/is-stream/readme.md b/node_modules/is-stream/readme.md new file mode 100644 index 0000000..19308e7 --- /dev/null +++ b/node_modules/is-stream/readme.md @@ -0,0 +1,60 @@ +# is-stream + +> Check if something is a [Node.js stream](https://nodejs.org/api/stream.html) + +## Install + +``` +$ npm install is-stream +``` + +## Usage + +```js +const fs = require('fs'); +const isStream = require('is-stream'); + +isStream(fs.createReadStream('unicorn.png')); +//=> true + +isStream({}); +//=> false +``` + +## API + +### isStream(stream) + +Returns a `boolean` for whether it's a [`Stream`](https://nodejs.org/api/stream.html#stream_stream). + +#### isStream.writable(stream) + +Returns a `boolean` for whether it's a [`stream.Writable`](https://nodejs.org/api/stream.html#stream_class_stream_writable). + +#### isStream.readable(stream) + +Returns a `boolean` for whether it's a [`stream.Readable`](https://nodejs.org/api/stream.html#stream_class_stream_readable). + +#### isStream.duplex(stream) + +Returns a `boolean` for whether it's a [`stream.Duplex`](https://nodejs.org/api/stream.html#stream_class_stream_duplex). + +#### isStream.transform(stream) + +Returns a `boolean` for whether it's a [`stream.Transform`](https://nodejs.org/api/stream.html#stream_class_stream_transform). + +## Related + +- [is-file-stream](https://github.com/jamestalmage/is-file-stream) - Detect if a stream is a file stream + +--- + +
      + + Get professional support for this package with a Tidelift subscription + +
      + + Tidelift helps make open source sustainable for maintainers while giving companies
      assurances about security, maintenance, and licensing for their dependencies. +
      +
      diff --git a/node_modules/isexe/.npmignore b/node_modules/isexe/.npmignore new file mode 100644 index 0000000..c1cb757 --- /dev/null +++ b/node_modules/isexe/.npmignore @@ -0,0 +1,2 @@ +.nyc_output/ +coverage/ diff --git a/node_modules/isexe/LICENSE b/node_modules/isexe/LICENSE new file mode 100644 index 0000000..19129e3 --- /dev/null +++ b/node_modules/isexe/LICENSE @@ -0,0 +1,15 @@ +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/node_modules/isexe/README.md b/node_modules/isexe/README.md new file mode 100644 index 0000000..35769e8 --- /dev/null +++ b/node_modules/isexe/README.md @@ -0,0 +1,51 @@ +# isexe + +Minimal module to check if a file is executable, and a normal file. + +Uses `fs.stat` and tests against the `PATHEXT` environment variable on +Windows. + +## USAGE + +```javascript +var isexe = require('isexe') +isexe('some-file-name', function (err, isExe) { + if (err) { + console.error('probably file does not exist or something', err) + } else if (isExe) { + console.error('this thing can be run') + } else { + console.error('cannot be run') + } +}) + +// same thing but synchronous, throws errors +var isExe = isexe.sync('some-file-name') + +// treat errors as just "not executable" +isexe('maybe-missing-file', { ignoreErrors: true }, callback) +var isExe = isexe.sync('maybe-missing-file', { ignoreErrors: true }) +``` + +## API + +### `isexe(path, [options], [callback])` + +Check if the path is executable. If no callback provided, and a +global `Promise` object is available, then a Promise will be returned. + +Will raise whatever errors may be raised by `fs.stat`, unless +`options.ignoreErrors` is set to true. + +### `isexe.sync(path, [options])` + +Same as `isexe` but returns the value and throws any errors raised. + +### Options + +* `ignoreErrors` Treat all errors as "no, this is not executable", but + don't raise them. +* `uid` Number to use as the user id +* `gid` Number to use as the group id +* `pathExt` List of path extensions to use instead of `PATHEXT` + environment variable on Windows. diff --git a/node_modules/isexe/index.js b/node_modules/isexe/index.js new file mode 100644 index 0000000..553fb32 --- /dev/null +++ b/node_modules/isexe/index.js @@ -0,0 +1,57 @@ +var fs = require('fs') +var core +if (process.platform === 'win32' || global.TESTING_WINDOWS) { + core = require('./windows.js') +} else { + core = require('./mode.js') +} + +module.exports = isexe +isexe.sync = sync + +function isexe (path, options, cb) { + if (typeof options === 'function') { + cb = options + options = {} + } + + if (!cb) { + if (typeof Promise !== 'function') { + throw new TypeError('callback not provided') + } + + return new Promise(function (resolve, reject) { + isexe(path, options || {}, function (er, is) { + if (er) { + reject(er) + } else { + resolve(is) + } + }) + }) + } + + core(path, options || {}, function (er, is) { + // ignore EACCES because that just means we aren't allowed to run it + if (er) { + if (er.code === 'EACCES' || options && options.ignoreErrors) { + er = null + is = false + } + } + cb(er, is) + }) +} + +function sync (path, options) { + // my kingdom for a filtered catch + try { + return core.sync(path, options || {}) + } catch (er) { + if (options && options.ignoreErrors || er.code === 'EACCES') { + return false + } else { + throw er + } + } +} diff --git a/node_modules/isexe/mode.js b/node_modules/isexe/mode.js new file mode 100644 index 0000000..1995ea4 --- /dev/null +++ b/node_modules/isexe/mode.js @@ -0,0 +1,41 @@ +module.exports = isexe +isexe.sync = sync + +var fs = require('fs') + +function isexe (path, options, cb) { + fs.stat(path, function (er, stat) { + cb(er, er ? false : checkStat(stat, options)) + }) +} + +function sync (path, options) { + return checkStat(fs.statSync(path), options) +} + +function checkStat (stat, options) { + return stat.isFile() && checkMode(stat, options) +} + +function checkMode (stat, options) { + var mod = stat.mode + var uid = stat.uid + var gid = stat.gid + + var myUid = options.uid !== undefined ? + options.uid : process.getuid && process.getuid() + var myGid = options.gid !== undefined ? + options.gid : process.getgid && process.getgid() + + var u = parseInt('100', 8) + var g = parseInt('010', 8) + var o = parseInt('001', 8) + var ug = u | g + + var ret = (mod & o) || + (mod & g) && gid === myGid || + (mod & u) && uid === myUid || + (mod & ug) && myUid === 0 + + return ret +} diff --git a/node_modules/isexe/package.json b/node_modules/isexe/package.json new file mode 100644 index 0000000..e452689 --- /dev/null +++ b/node_modules/isexe/package.json @@ -0,0 +1,31 @@ +{ + "name": "isexe", + "version": "2.0.0", + "description": "Minimal module to check if a file is executable.", + "main": "index.js", + "directories": { + "test": "test" + }, + "devDependencies": { + "mkdirp": "^0.5.1", + "rimraf": "^2.5.0", + "tap": "^10.3.0" + }, + "scripts": { + "test": "tap test/*.js --100", + "preversion": "npm test", + "postversion": "npm publish", + "postpublish": "git push origin --all; git push origin --tags" + }, + "author": "Isaac Z. Schlueter (http://blog.izs.me/)", + "license": "ISC", + "repository": { + "type": "git", + "url": "git+https://github.com/isaacs/isexe.git" + }, + "keywords": [], + "bugs": { + "url": "https://github.com/isaacs/isexe/issues" + }, + "homepage": "https://github.com/isaacs/isexe#readme" +} diff --git a/node_modules/isexe/test/basic.js b/node_modules/isexe/test/basic.js new file mode 100644 index 0000000..d926df6 --- /dev/null +++ b/node_modules/isexe/test/basic.js @@ -0,0 +1,221 @@ +var t = require('tap') +var fs = require('fs') +var path = require('path') +var fixture = path.resolve(__dirname, 'fixtures') +var meow = fixture + '/meow.cat' +var mine = fixture + '/mine.cat' +var ours = fixture + '/ours.cat' +var fail = fixture + '/fail.false' +var noent = fixture + '/enoent.exe' +var mkdirp = require('mkdirp') +var rimraf = require('rimraf') + +var isWindows = process.platform === 'win32' +var hasAccess = typeof fs.access === 'function' +var winSkip = isWindows && 'windows' +var accessSkip = !hasAccess && 'no fs.access function' +var hasPromise = typeof Promise === 'function' +var promiseSkip = !hasPromise && 'no global Promise' + +function reset () { + delete require.cache[require.resolve('../')] + return require('../') +} + +t.test('setup fixtures', function (t) { + rimraf.sync(fixture) + mkdirp.sync(fixture) + fs.writeFileSync(meow, '#!/usr/bin/env cat\nmeow\n') + fs.chmodSync(meow, parseInt('0755', 8)) + fs.writeFileSync(fail, '#!/usr/bin/env false\n') + fs.chmodSync(fail, parseInt('0644', 8)) + fs.writeFileSync(mine, '#!/usr/bin/env cat\nmine\n') + fs.chmodSync(mine, parseInt('0744', 8)) + fs.writeFileSync(ours, '#!/usr/bin/env cat\nours\n') + fs.chmodSync(ours, parseInt('0754', 8)) + t.end() +}) + +t.test('promise', { skip: promiseSkip }, function (t) { + var isexe = reset() + t.test('meow async', function (t) { + isexe(meow).then(function (is) { + t.ok(is) + t.end() + }) + }) + t.test('fail async', function (t) { + isexe(fail).then(function (is) { + t.notOk(is) + t.end() + }) + }) + t.test('noent async', function (t) { + isexe(noent).catch(function (er) { + t.ok(er) + t.end() + }) + }) + t.test('noent ignore async', function (t) { + isexe(noent, { ignoreErrors: true }).then(function (is) { + t.notOk(is) + t.end() + }) + }) + t.end() +}) + +t.test('no promise', function (t) { + global.Promise = null + var isexe = reset() + t.throws('try to meow a promise', function () { + isexe(meow) + }) + t.end() +}) + +t.test('access', { skip: accessSkip || winSkip }, function (t) { + runTest(t) +}) + +t.test('mode', { skip: winSkip }, function (t) { + delete fs.access + delete fs.accessSync + var isexe = reset() + t.ok(isexe.sync(ours, { uid: 0, gid: 0 })) + t.ok(isexe.sync(mine, { uid: 0, gid: 0 })) + runTest(t) +}) + +t.test('windows', function (t) { + global.TESTING_WINDOWS = true + var pathExt = '.EXE;.CAT;.CMD;.COM' + t.test('pathExt option', function (t) { + runTest(t, { pathExt: '.EXE;.CAT;.CMD;.COM' }) + }) + t.test('pathExt env', function (t) { + process.env.PATHEXT = pathExt + runTest(t) + }) + t.test('no pathExt', function (t) { + // with a pathExt of '', any filename is fine. + // so the "fail" one would still pass. + runTest(t, { pathExt: '', skipFail: true }) + }) + t.test('pathext with empty entry', function (t) { + // with a pathExt of '', any filename is fine. + // so the "fail" one would still pass. + runTest(t, { pathExt: ';' + pathExt, skipFail: true }) + }) + t.end() +}) + +t.test('cleanup', function (t) { + rimraf.sync(fixture) + t.end() +}) + +function runTest (t, options) { + var isexe = reset() + + var optionsIgnore = Object.create(options || {}) + optionsIgnore.ignoreErrors = true + + if (!options || !options.skipFail) { + t.notOk(isexe.sync(fail, options)) + } + t.notOk(isexe.sync(noent, optionsIgnore)) + if (!options) { + t.ok(isexe.sync(meow)) + } else { + t.ok(isexe.sync(meow, options)) + } + + t.ok(isexe.sync(mine, options)) + t.ok(isexe.sync(ours, options)) + t.throws(function () { + isexe.sync(noent, options) + }) + + t.test('meow async', function (t) { + if (!options) { + isexe(meow, function (er, is) { + if (er) { + throw er + } + t.ok(is) + t.end() + }) + } else { + isexe(meow, options, function (er, is) { + if (er) { + throw er + } + t.ok(is) + t.end() + }) + } + }) + + t.test('mine async', function (t) { + isexe(mine, options, function (er, is) { + if (er) { + throw er + } + t.ok(is) + t.end() + }) + }) + + t.test('ours async', function (t) { + isexe(ours, options, function (er, is) { + if (er) { + throw er + } + t.ok(is) + t.end() + }) + }) + + if (!options || !options.skipFail) { + t.test('fail async', function (t) { + isexe(fail, options, function (er, is) { + if (er) { + throw er + } + t.notOk(is) + t.end() + }) + }) + } + + t.test('noent async', function (t) { + isexe(noent, options, function (er, is) { + t.ok(er) + t.notOk(is) + t.end() + }) + }) + + t.test('noent ignore async', function (t) { + isexe(noent, optionsIgnore, function (er, is) { + if (er) { + throw er + } + t.notOk(is) + t.end() + }) + }) + + t.test('directory is not executable', function (t) { + isexe(__dirname, options, function (er, is) { + if (er) { + throw er + } + t.notOk(is) + t.end() + }) + }) + + t.end() +} diff --git a/node_modules/isexe/windows.js b/node_modules/isexe/windows.js new file mode 100644 index 0000000..3499673 --- /dev/null +++ b/node_modules/isexe/windows.js @@ -0,0 +1,42 @@ +module.exports = isexe +isexe.sync = sync + +var fs = require('fs') + +function checkPathExt (path, options) { + var pathext = options.pathExt !== undefined ? + options.pathExt : process.env.PATHEXT + + if (!pathext) { + return true + } + + pathext = pathext.split(';') + if (pathext.indexOf('') !== -1) { + return true + } + for (var i = 0; i < pathext.length; i++) { + var p = pathext[i].toLowerCase() + if (p && path.substr(-p.length).toLowerCase() === p) { + return true + } + } + return false +} + +function checkStat (stat, path, options) { + if (!stat.isSymbolicLink() && !stat.isFile()) { + return false + } + return checkPathExt(path, options) +} + +function isexe (path, options, cb) { + fs.stat(path, function (er, stat) { + cb(er, er ? false : checkStat(stat, path, options)) + }) +} + +function sync (path, options) { + return checkStat(fs.statSync(path), path, options) +} diff --git a/node_modules/kuler/.travis.yml b/node_modules/kuler/.travis.yml new file mode 100644 index 0000000..5f98e90 --- /dev/null +++ b/node_modules/kuler/.travis.yml @@ -0,0 +1,5 @@ +language: node_js +node_js: + - "9" + - "8" + - "6" diff --git a/node_modules/kuler/LICENSE b/node_modules/kuler/LICENSE new file mode 100644 index 0000000..d57b787 --- /dev/null +++ b/node_modules/kuler/LICENSE @@ -0,0 +1,7 @@ +Copyright 2014 Arnout Kazemier + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/kuler/README.md b/node_modules/kuler/README.md new file mode 100644 index 0000000..d9a4cb8 --- /dev/null +++ b/node_modules/kuler/README.md @@ -0,0 +1,40 @@ +# kuler + +Kuler is small and nifty node module that allows you to create terminal based +colors using hex color codes, just like you're used to doing in your CSS. We're +in a modern world now and terminals support more than 16 colors so we are stupid +to not take advantage of this. + +## Installation + +The package is released in the public npm registry and can be installed by +running: + +``` +npm install --save kuler +``` + +## Usage + +To color a string simply pass it the string you want to have colored as first +argument and the color as hex as second argument: + +```js +'use strict'; + +const kuler = require('kuler'); +const str = kuler('foo', '#FF6600'); +``` + +The color code sequence is automatically terminated at the end of the string so +the colors do no bleed to other pieces of text. So doing: + +```js +console.log(kuler('red', '#F00'), 'normal'); +``` + +Will work without any issues. + +## License + +[MIT](LICENSE) diff --git a/node_modules/kuler/index.js b/node_modules/kuler/index.js new file mode 100644 index 0000000..bff36ae --- /dev/null +++ b/node_modules/kuler/index.js @@ -0,0 +1,118 @@ +'use strict'; + +/** + * Kuler: Color text using CSS colors + * + * @constructor + * @param {String} text The text that needs to be styled + * @param {String} color Optional color for alternate API. + * @api public + */ +function Kuler(text, color) { + if (color) return (new Kuler(text)).style(color); + if (!(this instanceof Kuler)) return new Kuler(text); + + this.text = text; +} + +/** + * ANSI color codes. + * + * @type {String} + * @private + */ +Kuler.prototype.prefix = '\x1b['; +Kuler.prototype.suffix = 'm'; + +/** + * Parse a hex color string and parse it to it's RGB equiv. + * + * @param {String} color + * @returns {Array} + * @api private + */ +Kuler.prototype.hex = function hex(color) { + color = color[0] === '#' ? color.substring(1) : color; + + // + // Pre-parse for shorthand hex colors. + // + if (color.length === 3) { + color = color.split(''); + + color[5] = color[2]; // F60##0 + color[4] = color[2]; // F60#00 + color[3] = color[1]; // F60600 + color[2] = color[1]; // F66600 + color[1] = color[0]; // FF6600 + + color = color.join(''); + } + + var r = color.substring(0, 2) + , g = color.substring(2, 4) + , b = color.substring(4, 6); + + return [ parseInt(r, 16), parseInt(g, 16), parseInt(b, 16) ]; +}; + +/** + * Transform a 255 RGB value to an RGV code. + * + * @param {Number} r Red color channel. + * @param {Number} g Green color channel. + * @param {Number} b Blue color channel. + * @returns {String} + * @api public + */ +Kuler.prototype.rgb = function rgb(r, g, b) { + var red = r / 255 * 5 + , green = g / 255 * 5 + , blue = b / 255 * 5; + + return this.ansi(red, green, blue); +}; + +/** + * Turns RGB 0-5 values into a single ANSI code. + * + * @param {Number} r Red color channel. + * @param {Number} g Green color channel. + * @param {Number} b Blue color channel. + * @returns {String} + * @api public + */ +Kuler.prototype.ansi = function ansi(r, g, b) { + var red = Math.round(r) + , green = Math.round(g) + , blue = Math.round(b); + + return 16 + (red * 36) + (green * 6) + blue; +}; + +/** + * Marks an end of color sequence. + * + * @returns {String} Reset sequence. + * @api public + */ +Kuler.prototype.reset = function reset() { + return this.prefix +'39;49'+ this.suffix; +}; + +/** + * Colour the terminal using CSS. + * + * @param {String} color The HEX color code. + * @returns {String} the escape code. + * @api public + */ +Kuler.prototype.style = function style(color) { + return this.prefix +'38;5;'+ this.rgb.apply(this, this.hex(color)) + this.suffix + this.text + this.reset(); +}; + + +// +// Expose the actual interface. +// +module.exports = Kuler; diff --git a/node_modules/kuler/package.json b/node_modules/kuler/package.json new file mode 100644 index 0000000..fe85abc --- /dev/null +++ b/node_modules/kuler/package.json @@ -0,0 +1,34 @@ +{ + "name": "kuler", + "version": "2.0.0", + "description": "Color your terminal using CSS/hex color codes", + "main": "index.js", + "scripts": { + "test": "mocha test.js" + }, + "repository": { + "type": "git", + "url": "https://github.com/3rd-Eden/kuler" + }, + "keywords": [ + "kuler", + "ansi", + "color", + "colour", + "chalk", + "css", + "hex", + "rgb", + "rgv" + ], + "author": "Arnout Kazemier", + "license": "MIT", + "bugs": { + "url": "https://github.com/3rd-Eden/kuler/issues" + }, + "homepage": "https://github.com/3rd-Eden/kuler", + "devDependencies": { + "assume": "^2.0.1", + "mocha": "^5.1.1" + } +} diff --git a/node_modules/kuler/test.js b/node_modules/kuler/test.js new file mode 100644 index 0000000..c0b1a5b --- /dev/null +++ b/node_modules/kuler/test.js @@ -0,0 +1,23 @@ +const { it, describe } = require('mocha'); +const assume = require('assume'); +const kuler = require('./'); + +describe('kuler', function () { + it('renders colors in the terminal', function () { + console.log(' VISUAL INSPECTION'); + console.log(' '+ kuler('red').style('F00')); + console.log(' '+ kuler('black').style('#000')); + console.log(' '+ kuler('white').style('#FFFFFF')); + console.log(' '+ kuler('lime').style('AAFF5B')); + console.log(' '+ kuler('violet').style('#ee82ee')); + console.log(' '+ kuler('purple').style('#800080')); + console.log(' '+ kuler('purple').style('#800080'), 'correctly reset to normal color'); + console.log(' '+ kuler('green', '#008000')); + }); + + describe('#style', function () { + it('has a style method', function () { + assume(kuler('what').style).is.a('function'); + }); + }); +}); diff --git a/node_modules/lodash.defaults/LICENSE b/node_modules/lodash.defaults/LICENSE new file mode 100644 index 0000000..e0c69d5 --- /dev/null +++ b/node_modules/lodash.defaults/LICENSE @@ -0,0 +1,47 @@ +Copyright jQuery Foundation and other contributors + +Based on Underscore.js, copyright Jeremy Ashkenas, +DocumentCloud and Investigative Reporters & Editors + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/lodash/lodash + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code displayed within the prose of the +documentation. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +Files located in the node_modules and vendor directories are externally +maintained libraries used by this software which have their own +licenses; we recommend you read them, as their terms may differ from the +terms above. diff --git a/node_modules/lodash.defaults/README.md b/node_modules/lodash.defaults/README.md new file mode 100644 index 0000000..a129849 --- /dev/null +++ b/node_modules/lodash.defaults/README.md @@ -0,0 +1,18 @@ +# lodash.defaults v4.2.0 + +The [lodash](https://lodash.com/) method `_.defaults` exported as a [Node.js](https://nodejs.org/) module. + +## Installation + +Using npm: +```bash +$ {sudo -H} npm i -g npm +$ npm i --save lodash.defaults +``` + +In Node.js: +```js +var defaults = require('lodash.defaults'); +``` + +See the [documentation](https://lodash.com/docs#defaults) or [package source](https://github.com/lodash/lodash/blob/4.2.0-npm-packages/lodash.defaults) for more details. diff --git a/node_modules/lodash.defaults/index.js b/node_modules/lodash.defaults/index.js new file mode 100644 index 0000000..25eba9c --- /dev/null +++ b/node_modules/lodash.defaults/index.js @@ -0,0 +1,668 @@ +/** + * lodash (Custom Build) + * Build: `lodash modularize exports="npm" -o ./` + * Copyright jQuery Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */ + +/** Used as references for various `Number` constants. */ +var MAX_SAFE_INTEGER = 9007199254740991; + +/** `Object#toString` result references. */ +var argsTag = '[object Arguments]', + funcTag = '[object Function]', + genTag = '[object GeneratorFunction]'; + +/** Used to detect unsigned integer values. */ +var reIsUint = /^(?:0|[1-9]\d*)$/; + +/** + * A faster alternative to `Function#apply`, this function invokes `func` + * with the `this` binding of `thisArg` and the arguments of `args`. + * + * @private + * @param {Function} func The function to invoke. + * @param {*} thisArg The `this` binding of `func`. + * @param {Array} args The arguments to invoke `func` with. + * @returns {*} Returns the result of `func`. + */ +function apply(func, thisArg, args) { + switch (args.length) { + case 0: return func.call(thisArg); + case 1: return func.call(thisArg, args[0]); + case 2: return func.call(thisArg, args[0], args[1]); + case 3: return func.call(thisArg, args[0], args[1], args[2]); + } + return func.apply(thisArg, args); +} + +/** + * The base implementation of `_.times` without support for iteratee shorthands + * or max array length checks. + * + * @private + * @param {number} n The number of times to invoke `iteratee`. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array} Returns the array of results. + */ +function baseTimes(n, iteratee) { + var index = -1, + result = Array(n); + + while (++index < n) { + result[index] = iteratee(index); + } + return result; +} + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ +var objectToString = objectProto.toString; + +/** Built-in value references. */ +var propertyIsEnumerable = objectProto.propertyIsEnumerable; + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMax = Math.max; + +/** + * Creates an array of the enumerable property names of the array-like `value`. + * + * @private + * @param {*} value The value to query. + * @param {boolean} inherited Specify returning inherited property names. + * @returns {Array} Returns the array of property names. + */ +function arrayLikeKeys(value, inherited) { + // Safari 8.1 makes `arguments.callee` enumerable in strict mode. + // Safari 9 makes `arguments.length` enumerable in strict mode. + var result = (isArray(value) || isArguments(value)) + ? baseTimes(value.length, String) + : []; + + var length = result.length, + skipIndexes = !!length; + + for (var key in value) { + if ((inherited || hasOwnProperty.call(value, key)) && + !(skipIndexes && (key == 'length' || isIndex(key, length)))) { + result.push(key); + } + } + return result; +} + +/** + * Used by `_.defaults` to customize its `_.assignIn` use. + * + * @private + * @param {*} objValue The destination value. + * @param {*} srcValue The source value. + * @param {string} key The key of the property to assign. + * @param {Object} object The parent object of `objValue`. + * @returns {*} Returns the value to assign. + */ +function assignInDefaults(objValue, srcValue, key, object) { + if (objValue === undefined || + (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) { + return srcValue; + } + return objValue; +} + +/** + * Assigns `value` to `key` of `object` if the existing value is not equivalent + * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * for equality comparisons. + * + * @private + * @param {Object} object The object to modify. + * @param {string} key The key of the property to assign. + * @param {*} value The value to assign. + */ +function assignValue(object, key, value) { + var objValue = object[key]; + if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || + (value === undefined && !(key in object))) { + object[key] = value; + } +} + +/** + * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. + */ +function baseKeysIn(object) { + if (!isObject(object)) { + return nativeKeysIn(object); + } + var isProto = isPrototype(object), + result = []; + + for (var key in object) { + if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) { + result.push(key); + } + } + return result; +} + +/** + * The base implementation of `_.rest` which doesn't validate or coerce arguments. + * + * @private + * @param {Function} func The function to apply a rest parameter to. + * @param {number} [start=func.length-1] The start position of the rest parameter. + * @returns {Function} Returns the new function. + */ +function baseRest(func, start) { + start = nativeMax(start === undefined ? (func.length - 1) : start, 0); + return function() { + var args = arguments, + index = -1, + length = nativeMax(args.length - start, 0), + array = Array(length); + + while (++index < length) { + array[index] = args[start + index]; + } + index = -1; + var otherArgs = Array(start + 1); + while (++index < start) { + otherArgs[index] = args[index]; + } + otherArgs[start] = array; + return apply(func, this, otherArgs); + }; +} + +/** + * Copies properties of `source` to `object`. + * + * @private + * @param {Object} source The object to copy properties from. + * @param {Array} props The property identifiers to copy. + * @param {Object} [object={}] The object to copy properties to. + * @param {Function} [customizer] The function to customize copied values. + * @returns {Object} Returns `object`. + */ +function copyObject(source, props, object, customizer) { + object || (object = {}); + + var index = -1, + length = props.length; + + while (++index < length) { + var key = props[index]; + + var newValue = customizer + ? customizer(object[key], source[key], key, object, source) + : undefined; + + assignValue(object, key, newValue === undefined ? source[key] : newValue); + } + return object; +} + +/** + * Creates a function like `_.assign`. + * + * @private + * @param {Function} assigner The function to assign values. + * @returns {Function} Returns the new assigner function. + */ +function createAssigner(assigner) { + return baseRest(function(object, sources) { + var index = -1, + length = sources.length, + customizer = length > 1 ? sources[length - 1] : undefined, + guard = length > 2 ? sources[2] : undefined; + + customizer = (assigner.length > 3 && typeof customizer == 'function') + ? (length--, customizer) + : undefined; + + if (guard && isIterateeCall(sources[0], sources[1], guard)) { + customizer = length < 3 ? undefined : customizer; + length = 1; + } + object = Object(object); + while (++index < length) { + var source = sources[index]; + if (source) { + assigner(object, source, index, customizer); + } + } + return object; + }); +} + +/** + * Checks if `value` is a valid array-like index. + * + * @private + * @param {*} value The value to check. + * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index. + * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. + */ +function isIndex(value, length) { + length = length == null ? MAX_SAFE_INTEGER : length; + return !!length && + (typeof value == 'number' || reIsUint.test(value)) && + (value > -1 && value % 1 == 0 && value < length); +} + +/** + * Checks if the given arguments are from an iteratee call. + * + * @private + * @param {*} value The potential iteratee value argument. + * @param {*} index The potential iteratee index or key argument. + * @param {*} object The potential iteratee object argument. + * @returns {boolean} Returns `true` if the arguments are from an iteratee call, + * else `false`. + */ +function isIterateeCall(value, index, object) { + if (!isObject(object)) { + return false; + } + var type = typeof index; + if (type == 'number' + ? (isArrayLike(object) && isIndex(index, object.length)) + : (type == 'string' && index in object) + ) { + return eq(object[index], value); + } + return false; +} + +/** + * Checks if `value` is likely a prototype object. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. + */ +function isPrototype(value) { + var Ctor = value && value.constructor, + proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto; + + return value === proto; +} + +/** + * This function is like + * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) + * except that it includes inherited enumerable properties. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. + */ +function nativeKeysIn(object) { + var result = []; + if (object != null) { + for (var key in Object(object)) { + result.push(key); + } + } + return result; +} + +/** + * Performs a + * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * comparison between two values to determine if they are equivalent. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {boolean} Returns `true` if the values are equivalent, else `false`. + * @example + * + * var object = { 'a': 1 }; + * var other = { 'a': 1 }; + * + * _.eq(object, object); + * // => true + * + * _.eq(object, other); + * // => false + * + * _.eq('a', 'a'); + * // => true + * + * _.eq('a', Object('a')); + * // => false + * + * _.eq(NaN, NaN); + * // => true + */ +function eq(value, other) { + return value === other || (value !== value && other !== other); +} + +/** + * Checks if `value` is likely an `arguments` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an `arguments` object, + * else `false`. + * @example + * + * _.isArguments(function() { return arguments; }()); + * // => true + * + * _.isArguments([1, 2, 3]); + * // => false + */ +function isArguments(value) { + // Safari 8.1 makes `arguments.callee` enumerable in strict mode. + return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') && + (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag); +} + +/** + * Checks if `value` is classified as an `Array` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array, else `false`. + * @example + * + * _.isArray([1, 2, 3]); + * // => true + * + * _.isArray(document.body.children); + * // => false + * + * _.isArray('abc'); + * // => false + * + * _.isArray(_.noop); + * // => false + */ +var isArray = Array.isArray; + +/** + * Checks if `value` is array-like. A value is considered array-like if it's + * not a function and has a `value.length` that's an integer greater than or + * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is array-like, else `false`. + * @example + * + * _.isArrayLike([1, 2, 3]); + * // => true + * + * _.isArrayLike(document.body.children); + * // => true + * + * _.isArrayLike('abc'); + * // => true + * + * _.isArrayLike(_.noop); + * // => false + */ +function isArrayLike(value) { + return value != null && isLength(value.length) && !isFunction(value); +} + +/** + * This method is like `_.isArrayLike` except that it also checks if `value` + * is an object. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array-like object, + * else `false`. + * @example + * + * _.isArrayLikeObject([1, 2, 3]); + * // => true + * + * _.isArrayLikeObject(document.body.children); + * // => true + * + * _.isArrayLikeObject('abc'); + * // => false + * + * _.isArrayLikeObject(_.noop); + * // => false + */ +function isArrayLikeObject(value) { + return isObjectLike(value) && isArrayLike(value); +} + +/** + * Checks if `value` is classified as a `Function` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a function, else `false`. + * @example + * + * _.isFunction(_); + * // => true + * + * _.isFunction(/abc/); + * // => false + */ +function isFunction(value) { + // The use of `Object#toString` avoids issues with the `typeof` operator + // in Safari 8-9 which returns 'object' for typed array and other constructors. + var tag = isObject(value) ? objectToString.call(value) : ''; + return tag == funcTag || tag == genTag; +} + +/** + * Checks if `value` is a valid array-like length. + * + * **Note:** This method is loosely based on + * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. + * @example + * + * _.isLength(3); + * // => true + * + * _.isLength(Number.MIN_VALUE); + * // => false + * + * _.isLength(Infinity); + * // => false + * + * _.isLength('3'); + * // => false + */ +function isLength(value) { + return typeof value == 'number' && + value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; +} + +/** + * Checks if `value` is the + * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) + * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an object, else `false`. + * @example + * + * _.isObject({}); + * // => true + * + * _.isObject([1, 2, 3]); + * // => true + * + * _.isObject(_.noop); + * // => true + * + * _.isObject(null); + * // => false + */ +function isObject(value) { + var type = typeof value; + return !!value && (type == 'object' || type == 'function'); +} + +/** + * Checks if `value` is object-like. A value is object-like if it's not `null` + * and has a `typeof` result of "object". + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is object-like, else `false`. + * @example + * + * _.isObjectLike({}); + * // => true + * + * _.isObjectLike([1, 2, 3]); + * // => true + * + * _.isObjectLike(_.noop); + * // => false + * + * _.isObjectLike(null); + * // => false + */ +function isObjectLike(value) { + return !!value && typeof value == 'object'; +} + +/** + * This method is like `_.assignIn` except that it accepts `customizer` + * which is invoked to produce the assigned values. If `customizer` returns + * `undefined`, assignment is handled by the method instead. The `customizer` + * is invoked with five arguments: (objValue, srcValue, key, object, source). + * + * **Note:** This method mutates `object`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @alias extendWith + * @category Object + * @param {Object} object The destination object. + * @param {...Object} sources The source objects. + * @param {Function} [customizer] The function to customize assigned values. + * @returns {Object} Returns `object`. + * @see _.assignWith + * @example + * + * function customizer(objValue, srcValue) { + * return _.isUndefined(objValue) ? srcValue : objValue; + * } + * + * var defaults = _.partialRight(_.assignInWith, customizer); + * + * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); + * // => { 'a': 1, 'b': 2 } + */ +var assignInWith = createAssigner(function(object, source, srcIndex, customizer) { + copyObject(source, keysIn(source), object, customizer); +}); + +/** + * Assigns own and inherited enumerable string keyed properties of source + * objects to the destination object for all destination properties that + * resolve to `undefined`. Source objects are applied from left to right. + * Once a property is set, additional values of the same property are ignored. + * + * **Note:** This method mutates `object`. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The destination object. + * @param {...Object} [sources] The source objects. + * @returns {Object} Returns `object`. + * @see _.defaultsDeep + * @example + * + * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); + * // => { 'a': 1, 'b': 2 } + */ +var defaults = baseRest(function(args) { + args.push(undefined, assignInDefaults); + return apply(assignInWith, undefined, args); +}); + +/** + * Creates an array of the own and inherited enumerable property names of `object`. + * + * **Note:** Non-object values are coerced to objects. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Object + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.keysIn(new Foo); + * // => ['a', 'b', 'c'] (iteration order is not guaranteed) + */ +function keysIn(object) { + return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object); +} + +module.exports = defaults; diff --git a/node_modules/lodash.defaults/package.json b/node_modules/lodash.defaults/package.json new file mode 100644 index 0000000..3c49784 --- /dev/null +++ b/node_modules/lodash.defaults/package.json @@ -0,0 +1,17 @@ +{ + "name": "lodash.defaults", + "version": "4.2.0", + "description": "The lodash method `_.defaults` exported as a module.", + "homepage": "https://lodash.com/", + "icon": "https://lodash.com/icon.svg", + "license": "MIT", + "keywords": "lodash-modularized, defaults", + "author": "John-David Dalton (http://allyoucanleet.com/)", + "contributors": [ + "John-David Dalton (http://allyoucanleet.com/)", + "Blaine Bublitz (https://github.com/phated)", + "Mathias Bynens (https://mathiasbynens.be/)" + ], + "repository": "lodash/lodash", + "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" } +} diff --git a/node_modules/lodash.isarguments/LICENSE b/node_modules/lodash.isarguments/LICENSE new file mode 100644 index 0000000..e0c69d5 --- /dev/null +++ b/node_modules/lodash.isarguments/LICENSE @@ -0,0 +1,47 @@ +Copyright jQuery Foundation and other contributors + +Based on Underscore.js, copyright Jeremy Ashkenas, +DocumentCloud and Investigative Reporters & Editors + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/lodash/lodash + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code displayed within the prose of the +documentation. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +Files located in the node_modules and vendor directories are externally +maintained libraries used by this software which have their own +licenses; we recommend you read them, as their terms may differ from the +terms above. diff --git a/node_modules/lodash.isarguments/README.md b/node_modules/lodash.isarguments/README.md new file mode 100644 index 0000000..eb95fe1 --- /dev/null +++ b/node_modules/lodash.isarguments/README.md @@ -0,0 +1,18 @@ +# lodash.isarguments v3.1.0 + +The [lodash](https://lodash.com/) method `_.isArguments` exported as a [Node.js](https://nodejs.org/) module. + +## Installation + +Using npm: +```bash +$ {sudo -H} npm i -g npm +$ npm i --save lodash.isarguments +``` + +In Node.js: +```js +var isArguments = require('lodash.isarguments'); +``` + +See the [documentation](https://lodash.com/docs#isArguments) or [package source](https://github.com/lodash/lodash/blob/3.1.0-npm-packages/lodash.isarguments) for more details. diff --git a/node_modules/lodash.isarguments/index.js b/node_modules/lodash.isarguments/index.js new file mode 100644 index 0000000..042dac5 --- /dev/null +++ b/node_modules/lodash.isarguments/index.js @@ -0,0 +1,229 @@ +/** + * lodash (Custom Build) + * Build: `lodash modularize exports="npm" -o ./` + * Copyright jQuery Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */ + +/** Used as references for various `Number` constants. */ +var MAX_SAFE_INTEGER = 9007199254740991; + +/** `Object#toString` result references. */ +var argsTag = '[object Arguments]', + funcTag = '[object Function]', + genTag = '[object GeneratorFunction]'; + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ +var objectToString = objectProto.toString; + +/** Built-in value references. */ +var propertyIsEnumerable = objectProto.propertyIsEnumerable; + +/** + * Checks if `value` is likely an `arguments` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an `arguments` object, + * else `false`. + * @example + * + * _.isArguments(function() { return arguments; }()); + * // => true + * + * _.isArguments([1, 2, 3]); + * // => false + */ +function isArguments(value) { + // Safari 8.1 makes `arguments.callee` enumerable in strict mode. + return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') && + (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag); +} + +/** + * Checks if `value` is array-like. A value is considered array-like if it's + * not a function and has a `value.length` that's an integer greater than or + * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is array-like, else `false`. + * @example + * + * _.isArrayLike([1, 2, 3]); + * // => true + * + * _.isArrayLike(document.body.children); + * // => true + * + * _.isArrayLike('abc'); + * // => true + * + * _.isArrayLike(_.noop); + * // => false + */ +function isArrayLike(value) { + return value != null && isLength(value.length) && !isFunction(value); +} + +/** + * This method is like `_.isArrayLike` except that it also checks if `value` + * is an object. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array-like object, + * else `false`. + * @example + * + * _.isArrayLikeObject([1, 2, 3]); + * // => true + * + * _.isArrayLikeObject(document.body.children); + * // => true + * + * _.isArrayLikeObject('abc'); + * // => false + * + * _.isArrayLikeObject(_.noop); + * // => false + */ +function isArrayLikeObject(value) { + return isObjectLike(value) && isArrayLike(value); +} + +/** + * Checks if `value` is classified as a `Function` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a function, else `false`. + * @example + * + * _.isFunction(_); + * // => true + * + * _.isFunction(/abc/); + * // => false + */ +function isFunction(value) { + // The use of `Object#toString` avoids issues with the `typeof` operator + // in Safari 8-9 which returns 'object' for typed array and other constructors. + var tag = isObject(value) ? objectToString.call(value) : ''; + return tag == funcTag || tag == genTag; +} + +/** + * Checks if `value` is a valid array-like length. + * + * **Note:** This method is loosely based on + * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. + * @example + * + * _.isLength(3); + * // => true + * + * _.isLength(Number.MIN_VALUE); + * // => false + * + * _.isLength(Infinity); + * // => false + * + * _.isLength('3'); + * // => false + */ +function isLength(value) { + return typeof value == 'number' && + value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; +} + +/** + * Checks if `value` is the + * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) + * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an object, else `false`. + * @example + * + * _.isObject({}); + * // => true + * + * _.isObject([1, 2, 3]); + * // => true + * + * _.isObject(_.noop); + * // => true + * + * _.isObject(null); + * // => false + */ +function isObject(value) { + var type = typeof value; + return !!value && (type == 'object' || type == 'function'); +} + +/** + * Checks if `value` is object-like. A value is object-like if it's not `null` + * and has a `typeof` result of "object". + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is object-like, else `false`. + * @example + * + * _.isObjectLike({}); + * // => true + * + * _.isObjectLike([1, 2, 3]); + * // => true + * + * _.isObjectLike(_.noop); + * // => false + * + * _.isObjectLike(null); + * // => false + */ +function isObjectLike(value) { + return !!value && typeof value == 'object'; +} + +module.exports = isArguments; diff --git a/node_modules/lodash.isarguments/package.json b/node_modules/lodash.isarguments/package.json new file mode 100644 index 0000000..3d32280 --- /dev/null +++ b/node_modules/lodash.isarguments/package.json @@ -0,0 +1,17 @@ +{ + "name": "lodash.isarguments", + "version": "3.1.0", + "description": "The lodash method `_.isArguments` exported as a module.", + "homepage": "https://lodash.com/", + "icon": "https://lodash.com/icon.svg", + "license": "MIT", + "keywords": "lodash-modularized, isarguments", + "author": "John-David Dalton (http://allyoucanleet.com/)", + "contributors": [ + "John-David Dalton (http://allyoucanleet.com/)", + "Blaine Bublitz (https://github.com/phated)", + "Mathias Bynens (https://mathiasbynens.be/)" + ], + "repository": "lodash/lodash", + "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" } +} diff --git a/node_modules/logform/.babelrc b/node_modules/logform/.babelrc new file mode 100644 index 0000000..1320b9a --- /dev/null +++ b/node_modules/logform/.babelrc @@ -0,0 +1,3 @@ +{ + "presets": ["@babel/preset-env"] +} diff --git a/node_modules/logform/.eslintrc b/node_modules/logform/.eslintrc new file mode 100644 index 0000000..3960796 --- /dev/null +++ b/node_modules/logform/.eslintrc @@ -0,0 +1,7 @@ +{ + "extends": "@dabh/eslint-config-populist", + "rules": { + "no-undefined": 0, + "strict": 0 + } +} diff --git a/node_modules/logform/.gitattributes b/node_modules/logform/.gitattributes new file mode 100644 index 0000000..1a6bd45 --- /dev/null +++ b/node_modules/logform/.gitattributes @@ -0,0 +1 @@ +package-lock.json binary diff --git a/node_modules/logform/CHANGELOG.md b/node_modules/logform/CHANGELOG.md new file mode 100644 index 0000000..ef91bc4 --- /dev/null +++ b/node_modules/logform/CHANGELOG.md @@ -0,0 +1,309 @@ +# CHANGELOG + +### [2.5.1](https://github.com/winstonjs/logform/compare/v2.5.0...v2.5.1) +**2023/02/07** +## Bugfix +The triple-beam types package has been promoted to a full dependency, by first-time contributor @carboneater (Thanks!) +in https://github.com/winstonjs/logform/pull/243 to fix https://github.com/winstonjs/logform/issues/242. + +### [2.5.0](https://github.com/winstonjs/logform/compare/v2.4.2...v2.5.0) +**2023/02/06** +## Most Important: +* Now incompatible with TypeScript < 4.4 due to [PR #240](https://github.com/winstonjs/logform/pull/240), as pointed out in [#244](https://github.com/winstonjs/logform/issues/244). + +## Improvements +All the improvements in this release are from first-time contributors - thanks for your contributions! +* Feature - optionally include Error.cause property by @davidnbooth in https://github.com/winstonjs/logform/pull/226 +* Add triple beam properties to types by @robinpokorny in https://github.com/winstonjs/logform/pull/194 +* TransformableInfo should support symbols as keys by @dancrumb in https://github.com/winstonjs/logform/pull/240 + +## Dependency updates by @dependabot +* Bump @babel/cli from 7.18.6 to 7.19.3 by @dependabot in https://github.com/winstonjs/logform/pull/214 +* Bump @babel/core from 7.18.6 to 7.20.12 by @dependabot in https://github.com/winstonjs/logform/pull/212 +and https://github.com/winstonjs/logform/pull/237 +* Bump @babel/preset-env from 7.18.6 to 7.20.2 by @dependabot in https://github.com/winstonjs/logform/pull/217 +and https://github.com/winstonjs/logform/pull/225 +* Bump eslint from 8.19.0 to 8.33.0 by @dependabot in https://github.com/winstonjs/logform/pull/215 +and https://github.com/winstonjs/logform/pull/241 +* Bump mocha from 10.0.0 to 10.2.0 by @dependabot in https://github.com/winstonjs/logform/pull/218 +and https://github.com/winstonjs/logform/pull/232 +* Bump safe-stable-stringify from 2.3.1 to 2.4.2 by @dependabot in https://github.com/winstonjs/logform/pull/206 +and https://github.com/winstonjs/logform/pull/235 + +### [2.4.2](https://github.com/winstonjs/logform/compare/v2.4.1...v2.4.2) +**2022/07/05** +## Bugfixes +This patch-level release includes a fix for a crash on attempt to uncolorize Symbol. +Thanks to @Alexsey for that first contribution in https://github.com/winstonjs/logform/pull/188. + +## Maintainability updates: +Line break styles were changed to be LF (instead of CRLF) more consistently so that linter warnings +aren't drowned out by notes about that. + +## Dependency updates by @dependabot +* @babel/cli from 7.17.10 to 7.18.6 in https://github.com/winstonjs/logform/pull/187 +* @babel/core from 7.18.5 to 7.18.6 in https://github.com/winstonjs/logform/pull/185 +* @babel/preset-env from 7.18.2 to 7.18.6 in https://github.com/winstonjs/logform/pull/184 +* eslint from 8.18.0 to 8.19.0 in https://github.com/winstonjs/logform/pull/186 + +### 2.4.1 +**2022/06/21** + +- [#178] Change TransformableInfo message prop to any: Loosening types to fix #172 (thanks, @gregbair!) +- [#149] Adopted issue templates for reporting issues, affects GitHub project management only (thanks, @maverick1872!) +- Updated dependencies, from dependabot + +### 2.4.0 +**2022/02/12** + +- Updated all dependencies +- [#135] Use CLI levels (not NPM levels) in `CliFormat` (this was likely a typo originally) +- [#134] Expose `safe-stable-stringify` 2.x options as parameters in `JsonOptions` + +### 2.3.2 +**2022/01/09** + +This update, which also used up version number 2.3.1, pinned the version of the `colors` dependency +due to vandalism by a developer of that package, as noted [here](https://www.bleepingcomputer.com/news/security/dev-corrupts-npm-libs-colors-and-faker-breaking-thousands-of-apps/). +[As discussed in the `winston` package](https://github.com/winstonjs/winston/issues/2011), all users should update to this (or a later version, should one exist) ASAP. + +### 2.3.0 +**2021/09/21** + +- Update dependencies +- Removing some superfluous semicolons & commas lint +- Avoid dynamic requires [#117] +- Replace JSON stringify library "fast-safe-stringify" by "safe-stable-stringify" [#98] +- More correctly format errors even if the “message” property is enumerable [#101] +- Fix errors and ms export for browsers [#106] + +### 2.2.0 +**2020/06/21** + +- [#90], [#91] Add option for using stable stringify when formatting as JSON. +- [#84] Add replacer for BigInt on JSON formatter. +- [#79] Timestamp format type definitions can accept functions. +- Update dependencies and fix most of the oustanding npm audit notices. + +### 2.1.2 +**2019/01/31** + +- [#74] Remove all internal symbols before invoking `util.inspect`. + - Related to [#31]. + +### 2.1.1 +**2019/01/29** + +- [#71] Bump logform to be consistent with winston. + - Fixes https://github.com/winstonjs/winston/issues/1584 + +### 2.1.0 +**2019/01/07** + +- [#59], [#68], [#69] Add error normalizing format. +- [#65] When MESSAGE symbol has a value and `{ all: true }` is set, colorize the entire serialized message. + +### 2.0.0 +**2018/12/23** + +- **BREAKING** [#57] Try better fix for [winston#1485]. See: + [New `splat` behavior`](#new-splat-behavior) below. +- [#54] Fix typo in `README.md` +- [#55] Strip info[LEVEL] in prettyPrint. Fixes [#31]. +- [#56] Document built-in formats. +- [#64] Add TypeScript definitions for all format options. + Relates to [#9] and [#48]. + +#### New `splat` behavior + +Previously `splat` would have added a `meta` property for any additional +`info[SPLAT]` beyond the expected number of tokens. + +**As of `logform@2.0.0`,** `format.splat` assumes additional splat paramters +(aka "metas") are objects and merges enumerable properties into the `info`. +e.g. + +``` js +const { format } = require('logform'); +const { splat } = format; +const { MESSAGE, LEVEL, SPLAT } = require('triple-beam'); + +console.log( + // Expects two tokens, but three splat parameters provided. + splat().transform({ + level: 'info', + message: 'Let us %s for %j', + [LEVEL]: 'info', + [MESSAGE]: 'Let us %s for %j', + [SPLAT]: ['objects', { label: 'sure' }, { thisIsMeta: 'wut' }] + }) +); + +// logform@1.x behavior: +// Added "meta" property. +// +// { level: 'info', +// message: 'Let us objects for {"label":"sure"}', +// meta: { thisIsMeta: 'wut' }, +// [Symbol(level)]: 'info', +// [Symbol(message)]: 'Let us %s for %j', +// [Symbol(splat)]: [ 'objects', { label: 'sure' } ] } + +// logform@2.x behavior: +// Enumerable properties assigned into `info`. +// +// { level: 'info', +// message: 'Let us objects for {"label":"sure"}', +// thisIsMeta: 'wut', +// [Symbol(level)]: 'info', +// [Symbol(message)]: 'Let us %s for %j', +// [Symbol(splat)]: [ 'objects', { label: 'sure' } ] } +``` + +The reason for this change is to be consistent with how `winston` itself +handles `meta` objects in its variable-arity conventions. + +**BE ADVISED** previous "metas" that _were not objects_ will very likely lead +to odd behavior. e.g. + +``` js +const { format } = require('logform'); +const { splat } = format; +const { MESSAGE, LEVEL, SPLAT } = require('triple-beam'); + +console.log( + // Expects two tokens, but three splat parameters provided. + splat().transform({ + level: 'info', + message: 'Let us %s for %j', + [LEVEL]: 'info', + [MESSAGE]: 'Let us %s for %j', + // !!NOTICE!! Additional parameters are a string and an Array + [SPLAT]: ['objects', { label: 'sure' }, 'lol', ['ok', 'why']] + }) +); + +// logform@1.x behavior: +// Added "meta" property. +// +// { level: 'info', +// message: 'Let us objects for {"label":"sure"}', +// meta: ['lol', ['ok', 'why']], +// [Symbol(level)]: 'info', +// [Symbol(message)]: 'Let us %s for %j', +// [Symbol(splat)]: [ 'objects', { label: 'sure' } ] } + +// logform@2.x behavior: Enumerable properties assigned into `info`. +// **Strings and Arrays only have NUMERIC enumerable properties!** +// +// { '0': 'ok', +// '1': 'why', +// '2': 'l', +// level: 'info', +// message: 'Let us objects for {"label":"sure"}', +// [Symbol(level)]: 'info', +// [Symbol(message)]: 'Let us %s for %j', +// [Symbol(splat)]: [ 'objects', { label: 'sure' } ] } +``` + +### 1.10.0 +**2018/09/17** + +- [#52] Add types field in package.json. +- [#46], [#49] Changes for splat when there are no tokens present and no splat present. +- [#47], [#53] Expose transpiled code for Browser-only scenarios. + +### 1.9.1 +**2018/06/26** + +- [#39] Don't break when there are % placeholders but no values. +- [#42] Only set `meta` when non-zero additional `SPLAT` arguments are + provided. (Fixes [winstonjs/winston#1358]). + +### 1.9.0 +**2018/06/12** + +- [#38] Migrate functionality from winston Logger to splat format. +- [#37] Match expectations from `winston@2.x` for padLevels. Create a correct `Cli` format with initial state. (Fixes [#36]). + +### 1.8.0 +**2018/06/11** + +- [#35] Use `fast-safe-stringify` for perf and to support circular refs. +- [#34] Colorize level symbol. + +### 1.7.0 +**2018/05/24** + +- [#28] Use more es6-features across the board. +- [#30] Fix combine return value. +- [#29] Add metadata function to format namespace. + +### 1.6.0 +**2018/04/25** + +- [#25] Implement padLevels format. +- [#26] Update `dependencies` and add `node@10` to the travis build of the project. +- [#27] Refactor logform to use triple-beam. + +### 1.5.0 +**2018/04/22** + +- [#23], (@ChrisAlderson) Add ms format to support '+N ms' format. Fixes #20. +- [#24], (@aneilbaboo) Fix `webpack` warnings. +- Add `.travis.yml`. + +### 1.4.2 +**2018/04/19** + +- [#22], (@Jasu) Fix compilation on Babel 6. + +### 1.4.1 +**2018/04/06** + +- [#21], (@dabh) Add tsconfig.json. Fixes #19. + +### 1.4.0 +**2018/03/23** + +- [#14] @iamkirkbater Added Initial Metadata Support. +- Correct JSDoc for printf.js. Fixes #10. + +### 1.3.0 +**2018/03/16** + +- [#18] Expose browser.js for rollup and the like. Fixes [#5]. +- [#13] @dabh Use new version of colors. +- [#15] @dabh Add Typescript typings (ported from DefinitelyTyped). +- [#17], [#16] Fix error messages other typos. + +### 1.2.2 +**2017/12/05** + +- [#4], [#11] Fix timestamp and replace `date-fns` with `fecha` (with test cases) [`@ChrisAlderson`]. + +### 1.2.1 +**2017/10/01** + +- [#3] Strip `info.splat` in `format.simple` to avoid double inclusion. + +### 1.2.0 +**2017/09/30** + +- Transition from `info.raw` to `info[Symbol.for('message')]`. +- Finish `README.md` except for full list of all built-in formats. +- 100% coverage for everything except for `{ align, cli, padLevels }`. + +### 1.1.0 +**2017/09/29** + +- [#2] Add baseline expected formats that were previously exposed as options to `common.log` in `winston@2.x` and below. +- [#2] Introduce `format.combine` to remove inconsistency in behavior between `format(fn0)` and `format(fn0, ...moreFns)`. +- [#2] `README.md` now covers all of the basics for `logform`. + +### 1.0.0 +**2017/09/26** + +- Initial release. + +[winstonjs/winston#1358]: https://github.com/winstonjs/winston/issues/1358 diff --git a/node_modules/logform/LICENSE b/node_modules/logform/LICENSE new file mode 100644 index 0000000..c20a404 --- /dev/null +++ b/node_modules/logform/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 Charlie Robbins & the Contributors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/logform/README.md b/node_modules/logform/README.md new file mode 100644 index 0000000..f58fe8b --- /dev/null +++ b/node_modules/logform/README.md @@ -0,0 +1,653 @@ +# logform + +A mutable object-based log format designed for chaining & objectMode streams. + +``` js +const { format } = require('logform'); + +const alignedWithColorsAndTime = format.combine( + format.colorize(), + format.timestamp(), + format.align(), + format.printf(info => `${info.timestamp} ${info.level}: ${info.message}`) +); +``` + +- [`info` Objects](#info-objects) +- [Understanding formats](#understanding-formats) + - [Combining formats](#combining-formats) + - [Filtering `info` objects](#filtering-info-objects) +- [Formats](#formats) + - [Align](#align) + - [CLI](#cli) + - [Colorize](#colorize) + - [Combine](#combine) + - [Errors](#errors) + - [JSON](#json) + - [Label](#label) + - [Logstash](#logstash) + - [Metadata](#metadata) + - [PadLevels](#padlevels) + - [PrettyPrint](#prettyprint) + - [Printf](#printf) + - [Simple](#simple) + - [Splat](#splat) + - [Timestamp](#timestamp) + - [Uncolorize](#uncolorize) + +## `info` Objects + +The `info` parameter provided to a given format represents a single log +message. The object itself is mutable. Every `info` must have at least the +`level` and `message` properties: + +``` js +const info = { + level: 'info', // Level of the logging message + message: 'Hey! Log something?' // Descriptive message being logged. +} +``` + +Properties **besides level and message** are considered as "`meta`". i.e.: + +``` js +const { level, message, ...meta } = info; +``` + +Several of the formats in `logform` itself add additional properties: + +| Property | Format added by | Description | +| ----------- | --------------- | ----------- | +| `splat` | `splat()` | String interpolation splat for `%d %s`-style messages. | +| `timestamp` | `timestamp()` | timestamp the message was received. | +| `label` | `label()` | Custom label associated with each message. | +| `ms` | `ms()` | Number of milliseconds since the previous log message. | + +As a consumer you may add whatever properties you wish – _internal state is +maintained by `Symbol` properties:_ + +- `Symbol.for('level')` _**(READ-ONLY)**:_ equal to `level` property. + **Is treated as immutable by all code.** +- `Symbol.for('message'):` complete string message set by "finalizing formats": + - `json` + - `logstash` + - `printf` + - `prettyPrint` + - `simple` +- `Symbol.for('splat')`: additional string interpolation arguments. _Used + exclusively by `splat()` format._ + +These Symbols are stored in another package: `triple-beam` so that all +consumers of `logform` can have the same Symbol reference. i.e.: + +``` js +const { LEVEL, MESSAGE, SPLAT } = require('triple-beam'); + +console.log(LEVEL === Symbol.for('level')); +// true + +console.log(MESSAGE === Symbol.for('message')); +// true + +console.log(SPLAT === Symbol.for('splat')); +// true +``` + +## Understanding formats + +Formats are prototypal objects (i.e. class instances) that define a single method: `transform(info, opts)` and return the mutated `info` + +- `info`: an object representing the log message. +- `opts`: setting specific to the current instance of the format. + +They are expected to return one of two things: + +- **An `info` Object** representing the modified `info` argument. Object references need not be preserved if immutability is preferred. All current built-in formats consider `info` mutable, but [immutablejs] is being considered for future releases. +- **A falsey value** indicating that the `info` argument should be ignored by the caller. (See: [Filtering `info` Objects](#filtering-info-objects)) below. + +`logform.format` is designed to be as simple as possible. To define a new format simple pass it a `transform(info, opts)` function to get a new `Format`. + +The named `Format` returned can be used to create as many copies of the given `Format` as desired: + +``` js +const { format } = require('logform'); + +const volume = format((info, opts) => { + if (opts.yell) { + info.message = info.message.toUpperCase(); + } else if (opts.whisper) { + info.message = info.message.toLowerCase(); + } + + return info; +}); + +// `volume` is now a function that returns instances of the format. +const scream = volume({ yell: true }); +console.dir(scream.transform({ + level: 'info', + message: `sorry for making you YELL in your head!` +}, scream.options)); +// { +// level: 'info' +// message: 'SORRY FOR MAKING YOU YELL IN YOUR HEAD!' +// } + +// `volume` can be used multiple times to create different formats. +const whisper = volume({ whisper: true }); +console.dir(whisper.transform({ + level: 'info', + message: `WHY ARE THEY MAKING US YELL SO MUCH!` +}), whisper.options); +// { +// level: 'info' +// message: 'why are they making us yell so much!' +// } +``` + +### Combining formats + +Any number of formats may be combined into a single format using `format.combine`. Since `format.combine` takes no `opts`, as a convenience it returns pre-created instance of the combined format. + +``` js +const { format } = require('logform'); +const { combine, timestamp, label } = format; + +const labelTimestamp = combine( + label({ label: 'right meow!' }), + timestamp() +); + +const info = labelTimestamp.transform({ + level: 'info', + message: 'What time is the testing at?' +}); + +console.dir(info); +// { level: 'info', +// message: 'What time is the testing at?', +// label: 'right meow!', +// timestamp: '2017-09-30T03:57:26.875Z' } +``` + +### Filtering `info` Objects + +If you wish to filter out a given `info` Object completely then simply return a falsey value. + +``` js +const ignorePrivate = format((info, opts) => { + if (info.private) { return false; } + return info; +}); + +console.dir(ignorePrivate.transform({ + level: 'error', + message: 'Public error to share' +})); +// { level: 'error', message: 'Public error to share' } + +console.dir(ignorePrivate.transform({ + level: 'error', + private: true, + message: 'This is super secret - hide it.' +})); +// false +``` + +Use of `format.combine` will respect any falsey values return and stop evaluation of later formats in the series. For example: + +``` js +const { format } = require('logform'); +const { combine, timestamp, label } = format; + +const willNeverThrow = format.combine( + format(info => { return false })(), // Ignores everything + format(info => { throw new Error('Never reached') })() +); + +console.dir(willNeverThrow.transform({ + level: 'info', + message: 'wow such testing' +})) +``` + +## Formats + +### Align + +The `align` format adds a `\t` delimiter before the message to align it in the same place. + +```js +const { format } = require('logform'); + +const alignFormat = format.align(); + +const info = alignFormat.transform({ + level: 'info', + message: 'my message' +}); + +console.log(info); +// { level: 'info', message: '\tmy message' } +``` + +This was previously exposed as `{ align: true }` in `winston < 3.0.0`. + +### CLI + +The `cli` format is a combination of the `colorize` and the `padLevels` formats. It turns a log `info` object into the same format previously available in `winston.cli()` in `winston < 3.0.0`. + +```js +const { format } = require('logform'); +const LEVEL = Symbol.for('level'); + +const cliFormat = format.cli({ colors: { info: 'blue' }}); + +const info = cliFormat.transform({ + [LEVEL]: 'info', + level: 'info', + message: 'my message' +}, { all: true }); + +console.log(info); +// { level: '\u001b[34minfo\u001b[39m', +// message: '\u001b[34m my message\u001b[39m', +// [Symbol(level)]: 'info', +// [Symbol(message)]: +// '\u001b[34minfo\u001b[39m:\u001b[34m my message\u001b[39m' } +``` + +### Colorize + +The `colorize` format adds different colors depending on the log level to the message and/or level. +It accepts the following options: + +* **level**: If set to `true` the color will be applied to the `level`. +* **all**: If set to `true` the color will be applied to the `message` and `level`. +* **message**: If set to `true` the color will be applied to the `message`. +* **colors**: An object containing the colors for the log levels. For example: `{ info: 'blue', error: 'red' }` + +```js +const { format } = require('logform'); +const LEVEL = Symbol.for('level'); + +const colorizeFormat = format.colorize({ colors: { info: 'blue' }}); + +const info = colorizeFormat.transform({ + [LEVEL]: 'info', + level: 'info', + message: 'my message' +}, { all: true }); + +console.log(info); +// { level: '\u001b[34minfo\u001b[39m', +// message: '\u001b[34mmy message\u001b[39m', +// [Symbol(level)]: 'info' } +``` + +This was previously exposed as `{ colorize: true }` to transports in `winston < 3.0.0`. + +### Combine + +The `combine` Format allows to combine multiple formats: + +```js +const { format } = require('logform'); +const { combine, timestamp, json } = format; + +const jsonWithTimestamp = combine( + timestamp(), + json() +); + +const info = jsonWithTimestamp.transform({ + level: 'info', + message: 'my message' +}); + +console.log(info); +// { level: 'info', +// message: 'my message', +// timestamp: '2018-10-02T15:03:14.230Z', +// [Symbol(message)]: +// '{"level":"info","message":"my message","timestamp":"2018-10-02T15:03:14.230Z"}' } +``` + +### Errors + +The `errors` format allows you to pass in an instance of a JavaScript `Error` +directly to the logger. It allows you to specify whether not to include the +stack-trace. + +```js +const { format } = require('logform'); +const { errors } = format; + +const errorsFormat = errors({ stack: true }) + +const info = errorsFormat.transform(new Error('Oh no!')); + +console.log(info); +// Error: Oh no! +// at repl:1:13 +// at ContextifyScript.Script.runInThisContext (vm.js:50:33) +// at REPLServer.defaultEval (repl.js:240:29) +// at bound (domain.js:301:14) +// at REPLServer.runBound [as eval] (domain.js:314:12) +// at REPLServer.onLine (repl.js:468:10) +// at emitOne (events.js:121:20) +// at REPLServer.emit (events.js:211:7) +// at REPLServer.Interface._onLine (readline.js:282:10) +// at REPLServer.Interface._line (readline.js:631:8) +``` + +It will also handle `{ message }` properties as `Error` instances: + +```js +const { format } = require('logform'); +const { errors } = format; + +const errorsFormat = errors({ stack: true }) + +const info = errorsFormat.transform({ + message: new Error('Oh no!') +}); + +console.log(info); +// Error: Oh no! +// at repl:1:13 +// at ContextifyScript.Script.runInThisContext (vm.js:50:33) +// at REPLServer.defaultEval (repl.js:240:29) +// at bound (domain.js:301:14) +// at REPLServer.runBound [as eval] (domain.js:314:12) +// at REPLServer.onLine (repl.js:468:10) +// at emitOne (events.js:121:20) +// at REPLServer.emit (events.js:211:7) +// at REPLServer.Interface._onLine (readline.js:282:10) +// at REPLServer.Interface._line (readline.js:631:8) +``` + +### JSON + +The `json` format uses `safe-stable-stringify` to finalize the message. +It accepts the following options: + +* **replacer**: A function that influences how the `info` is stringified. +* **space**: The number of white space used to format the json. + +```js +const { format } = require('logform'); + +const jsonFormat = format.json(); + +const info = jsonFormat.transform({ + level: 'info', + message: 'my message', +}); +console.log(info); +// { level: 'info', +// message: 'my message', +// [Symbol(message)]: '{"level":"info","message":"my message"}' } +``` + +This was previously exposed as `{ json: true }` to transports in `winston < 3.0.0`. + +### Label + +The `label` format adds the specified `label` before the message or adds it to the `info` object. +It accepts the following options: + +* **label**: A label to be added before the message. +* **message**: If set to `true` the `label` will be added to `info.message`. If set to `false` the `label` will be added as `info.label`. + +```js +const { format } = require('logform'); + +const labelFormat = format.label(); + +const info = labelFormat.transform({ + level: 'info', + message: 'my message' +}, { label: 'my label', message: true }); + +console.log(info); +// { level: 'info', message: '[my label] my message' } +``` + +This was previously exposed as `{ label: 'my label' }` to transports in `winston < 3.0.0`. + +### Logstash + +The `logstash` Format turns a log `info` object into pure JSON with the appropriate logstash options. + +```js +const { format } = require('logform'); +const { logstash, combine, timestamp } = format; + +const logstashFormat = combine( + timestamp(), + logstash() +); + +const info = logstashFormat.transform({ + level: 'info', + message: 'my message' +}); + +console.log(info); +// { level: 'info', +// [Symbol(message)]: +// '{"@message":"my message","@timestamp":"2018-10-02T11:04:52.915Z","@fields":{"level":"info"}}' } +``` + +This was previously exposed as `{ logstash: true }` to transports in `winston < 3.0.0`. + +### Metadata + +The `metadata` format adds a metadata object to collect extraneous data, similar to the metadata object in winston 2.x. +It accepts the following options: + +* **key**: The name of the key used for the metadata object. Defaults to `metadata`. +* **fillExcept**: An array of keys that should not be added to the metadata object. +* **fillWith**: An array of keys that will be added to the metadata object. + +```js +const { format } = require('logform'); + +const metadataFormat = format.metadata(); + +const info = metadataFormat.transform({ + level: 'info', + message: 'my message', + meta: 42 +}); + +console.log(info); +// { level: 'info', message: 'my message', metadata: { meta: 42 } } +``` + +### PadLevels + +The `padLevels` format pads levels to be the same length. + +```js +const { format } = require('logform'); +const LEVEL = Symbol.for('level'); + +const padLevelsFormat = format.padLevels(); + +const info = padLevelsFormat.transform({ + [LEVEL]: 'info', + message: 'my message' +}); + +console.log(info); +// { message: ' my message', [Symbol(level)]: 'info' } +``` + +This was previously exposed as `{ padLevels: true }` to transports in `winston < 3.0.0`. + +### PrettyPrint + +The `prettyPrint` format finalizes the message using `util.inspect`. +It accepts the following options: + +* **depth**: A `number` that specifies the maximum depth of the `info` object being stringified by `util.inspect`. Defaults to `2`. +* **colorize**: Colorizes the message if set to `true`. Defaults to `false`. + +The `prettyPrint` format should not be used in production because it may impact performance negatively and block the event loop. + +> **NOTE:** the `LEVEL`, `MESSAGE`, and `SPLAT` symbols are stripped from the +> output message _by design._ + +This was previously exposed as `{ prettyPrint: true }` to transports in `winston < 3.0.0`. + +```js +const { format } = require('logform'); + +const prettyPrintFormat = format.prettyPrint(); + +const info = prettyPrintFormat.transform({ + [LEVEL]: 'info', + level: 'info', + message: 'my message' +}); + +console.log(info); +// { level: 'info', +// message: 'my message', +// [Symbol(level)]: 'info', +// [Symbol(message)]: '{ level: \'info\', message: \'my message\' }' } +``` + +### Printf + +The `printf` format allows to create a custom logging format: + +```js +const { format } = require('logform'); + +const myFormat = format.printf((info) => { + return `${info.level} ${info.message}`; +}) + +const info = myFormat.transform({ + level: 'info', + message: 'my message' +}); + +console.log(info); +// { level: 'info', +// message: 'my message', +// [Symbol(message)]: 'info my message' } +``` + +### Simple + +The `simple` format finalizes the `info` object using the format: `level: message stringifiedRest`. +```js +const { format } = require('logform'); +const MESSAGE = Symbol.for('message'); + +const simpleFormat = format.simple(); + +const info = simpleFormat.transform({ + level: 'info', + message: 'my message', + number: 123 +}); +console.log(info[MESSAGE]); +// info: my message {number:123} +``` + +### Splat + +The `splat` format transforms the message by using `util.format` to complete any `info.message` provided it has string interpolation tokens. + +```js +const { format } = require('logform'); + +const splatFormat = format.splat(); + +const info = splatFormat.transform({ + level: 'info', + message: 'my message %s', + splat: ['test'] +}); + +console.log(info); +// { level: 'info', message: 'my message test', splat: [ 'test' ] } +``` + +Any additional splat parameters beyond those needed for the `%` tokens +(aka "metas") are assumed to be objects. Their enumerable properties are +merged into the `info`. + +```js +const { format } = require('logform'); + +const splatFormat = format.splat(); + +const info = splatFormat.transform({ + level: 'info', + message: 'my message %s', + splat: ['test', { thisIsMeta: true }] +}); + +console.log(info); +// { level: 'info', +// message: 'my message test', +// thisIsMeta: true, +// splat: [ 'test' ] } +``` + +This was previously exposed implicitly in `winston < 3.0.0`. + +### Timestamp + +The `timestamp` format adds a timestamp to the info. +It accepts the following options: + +* **format**: Either the format as a string accepted by the [fecha](https://github.com/taylorhakes/fecha) module or a function that returns a formatted date. If no format is provided `new Date().toISOString()` will be used. +* **alias**: The name of an alias for the timestamp property, that will be added to the `info` object. + +```js +const { format } = require('logform'); + +const timestampFormat = format.timestamp(); + +const info = timestampFormat.transform({ + level: 'info', + message: 'my message' +}); + +console.log(info); +// { level: 'info', +// message: 'my message', +// timestamp: '2018-10-02T11:47:02.682Z' } +``` + +It was previously available in `winston < 3.0.0` as `{ timestamp: true }` and `{ timestamp: function:String }`. + + +### Uncolorize + +The `uncolorize` format strips colors from `info` objects. +It accepts the following options: + +* **level**: Disables the uncolorize format for `info.level` if set to `false`. +* **message**: Disables the uncolorize format for `info.message` if set to `false`. +* **raw**: Disables the uncolorize format for `info[MESSAGE]` if set to `false`. + +This was previously exposed as `{ stripColors: true }` to transports in `winston < 3.0.0`. + +## Tests + +Tests are written with `mocha`, `assume`, and `nyc`. They can be run with `npm`: + +``` +npm test +``` + +##### LICENSE: MIT +##### AUTHOR: [Charlie Robbins](https://github.com/indexzero) diff --git a/node_modules/logform/align.js b/node_modules/logform/align.js new file mode 100644 index 0000000..358514b --- /dev/null +++ b/node_modules/logform/align.js @@ -0,0 +1,14 @@ +'use strict'; + +const format = require('./format'); + +/* + * function align (info) + * Returns a new instance of the align Format which adds a `\t` + * delimiter before the message to properly align it in the same place. + * It was previously { align: true } in winston < 3.0.0 + */ +module.exports = format(info => { + info.message = `\t${info.message}`; + return info; +}); diff --git a/node_modules/logform/browser.js b/node_modules/logform/browser.js new file mode 100644 index 0000000..843044b --- /dev/null +++ b/node_modules/logform/browser.js @@ -0,0 +1,38 @@ +'use strict'; + +/* + * @api public + * @property {function} format + * Both the construction method and set of exposed + * formats. + */ +const format = exports.format = require('././format'); + +/* + * @api public + * @method {function} levels + * Registers the specified levels with logform. + */ +exports.levels = require('././levels'); + +// +// Setup all transports as eager-loaded exports +// so that they are static for the bundlers. +// +Object.defineProperty(format, 'align', { value: require('./align') }); +Object.defineProperty(format, 'cli', { value: require('./cli') }); +Object.defineProperty(format, 'colorize', { value: require('./colorize') }); +Object.defineProperty(format, 'combine', { value: require('./combine') }); +Object.defineProperty(format, 'errors', { value: require('./errors') }); +Object.defineProperty(format, 'json', { value: require('./json') }); +Object.defineProperty(format, 'label', { value: require('./label') }); +Object.defineProperty(format, 'logstash', { value: require('./logstash') }); +Object.defineProperty(format, 'metadata', { value: require('./metadata') }); +Object.defineProperty(format, 'ms', { value: require('./ms') }); +Object.defineProperty(format, 'padLevels', { value: require('./pad-levels') }); +Object.defineProperty(format, 'prettyPrint', { value: require('./pretty-print') }); +Object.defineProperty(format, 'printf', { value: require('./printf') }); +Object.defineProperty(format, 'simple', { value: require('./simple') }); +Object.defineProperty(format, 'splat', { value: require('./splat') }); +Object.defineProperty(format, 'timestamp', { value: require('./timestamp') }); +Object.defineProperty(format, 'uncolorize', { value: require('./uncolorize') }); diff --git a/node_modules/logform/cli.js b/node_modules/logform/cli.js new file mode 100644 index 0000000..4fc74b7 --- /dev/null +++ b/node_modules/logform/cli.js @@ -0,0 +1,52 @@ +'use strict'; + +const { Colorizer } = require('./colorize'); +const { Padder } = require('./pad-levels'); +const { configs, MESSAGE } = require('triple-beam'); + + +/** + * Cli format class that handles initial state for a a separate + * Colorizer and Padder instance. + */ +class CliFormat { + constructor(opts = {}) { + if (!opts.levels) { + opts.levels = configs.cli.levels; + } + + this.colorizer = new Colorizer(opts); + this.padder = new Padder(opts); + this.options = opts; + } + + /* + * function transform (info, opts) + * Attempts to both: + * 1. Pad the { level } + * 2. Colorize the { level, message } + * of the given `logform` info object depending on the `opts`. + */ + transform(info, opts) { + this.colorizer.transform( + this.padder.transform(info, opts), + opts + ); + + info[MESSAGE] = `${info.level}:${info.message}`; + return info; + } +} + +/* + * function cli (opts) + * Returns a new instance of the CLI format that turns a log + * `info` object into the same format previously available + * in `winston.cli()` in `winston < 3.0.0`. + */ +module.exports = opts => new CliFormat(opts); + +// +// Attach the CliFormat for registration purposes +// +module.exports.Format = CliFormat; diff --git a/node_modules/logform/colorize.js b/node_modules/logform/colorize.js new file mode 100644 index 0000000..0186c6e --- /dev/null +++ b/node_modules/logform/colorize.js @@ -0,0 +1,122 @@ +'use strict'; + +const colors = require('@colors/colors/safe'); +const { LEVEL, MESSAGE } = require('triple-beam'); + +// +// Fix colors not appearing in non-tty environments +// +colors.enabled = true; + +/** + * @property {RegExp} hasSpace + * Simple regex to check for presence of spaces. + */ +const hasSpace = /\s+/; + +/* + * Colorizer format. Wraps the `level` and/or `message` properties + * of the `info` objects with ANSI color codes based on a few options. + */ +class Colorizer { + constructor(opts = {}) { + if (opts.colors) { + this.addColors(opts.colors); + } + + this.options = opts; + } + + /* + * Adds the colors Object to the set of allColors + * known by the Colorizer + * + * @param {Object} colors Set of color mappings to add. + */ + static addColors(clrs) { + const nextColors = Object.keys(clrs).reduce((acc, level) => { + acc[level] = hasSpace.test(clrs[level]) + ? clrs[level].split(hasSpace) + : clrs[level]; + + return acc; + }, {}); + + Colorizer.allColors = Object.assign({}, Colorizer.allColors || {}, nextColors); + return Colorizer.allColors; + } + + /* + * Adds the colors Object to the set of allColors + * known by the Colorizer + * + * @param {Object} colors Set of color mappings to add. + */ + addColors(clrs) { + return Colorizer.addColors(clrs); + } + + /* + * function colorize (lookup, level, message) + * Performs multi-step colorization using @colors/colors/safe + */ + colorize(lookup, level, message) { + if (typeof message === 'undefined') { + message = level; + } + + // + // If the color for the level is just a string + // then attempt to colorize the message with it. + // + if (!Array.isArray(Colorizer.allColors[lookup])) { + return colors[Colorizer.allColors[lookup]](message); + } + + // + // If it is an Array then iterate over that Array, applying + // the colors function for each item. + // + for (let i = 0, len = Colorizer.allColors[lookup].length; i < len; i++) { + message = colors[Colorizer.allColors[lookup][i]](message); + } + + return message; + } + + /* + * function transform (info, opts) + * Attempts to colorize the { level, message } of the given + * `logform` info object. + */ + transform(info, opts) { + if (opts.all && typeof info[MESSAGE] === 'string') { + info[MESSAGE] = this.colorize(info[LEVEL], info.level, info[MESSAGE]); + } + + if (opts.level || opts.all || !opts.message) { + info.level = this.colorize(info[LEVEL], info.level); + } + + if (opts.all || opts.message) { + info.message = this.colorize(info[LEVEL], info.level, info.message); + } + + return info; + } +} + +/* + * function colorize (info) + * Returns a new instance of the colorize Format that applies + * level colors to `info` objects. This was previously exposed + * as { colorize: true } to transports in `winston < 3.0.0`. + */ +module.exports = opts => new Colorizer(opts); + +// +// Attach the Colorizer for registration purposes +// +module.exports.Colorizer + = module.exports.Format + = Colorizer; diff --git a/node_modules/logform/combine.js b/node_modules/logform/combine.js new file mode 100644 index 0000000..975482c --- /dev/null +++ b/node_modules/logform/combine.js @@ -0,0 +1,66 @@ +'use strict'; + +const format = require('./format'); + +/* + * function cascade(formats) + * Returns a function that invokes the `._format` function in-order + * for the specified set of `formats`. In this manner we say that Formats + * are "pipe-like", but not a pure pumpify implementation. Since there is no back + * pressure we can remove all of the "readable" plumbing in Node streams. + */ +function cascade(formats) { + if (!formats.every(isValidFormat)) { + return; + } + + return info => { + let obj = info; + for (let i = 0; i < formats.length; i++) { + obj = formats[i].transform(obj, formats[i].options); + if (!obj) { + return false; + } + } + + return obj; + }; +} + +/* + * function isValidFormat(format) + * If the format does not define a `transform` function throw an error + * with more detailed usage. + */ +function isValidFormat(fmt) { + if (typeof fmt.transform !== 'function') { + throw new Error([ + 'No transform function found on format. Did you create a format instance?', + 'const myFormat = format(formatFn);', + 'const instance = myFormat();' + ].join('\n')); + } + + return true; +} + +/* + * function combine (info) + * Returns a new instance of the combine Format which combines the specified + * formats into a new format. This is similar to a pipe-chain in transform streams. + * We choose to combine the prototypes this way because there is no back pressure in + * an in-memory transform chain. + */ +module.exports = (...formats) => { + const combinedFormat = format(cascade(formats)); + const instance = combinedFormat(); + instance.Format = combinedFormat.Format; + return instance; +}; + +// +// Export the cascade method for use in cli and other +// combined formats that should not be assumed to be +// singletons. +// +module.exports.cascade = cascade; diff --git a/node_modules/logform/dist/align.js b/node_modules/logform/dist/align.js new file mode 100644 index 0000000..b1ef3c0 --- /dev/null +++ b/node_modules/logform/dist/align.js @@ -0,0 +1,14 @@ +'use strict'; + +var format = require('./format'); + +/* + * function align (info) + * Returns a new instance of the align Format which adds a `\t` + * delimiter before the message to properly align it in the same place. + * It was previously { align: true } in winston < 3.0.0 + */ +module.exports = format(function (info) { + info.message = "\t".concat(info.message); + return info; +}); \ No newline at end of file diff --git a/node_modules/logform/dist/browser.js b/node_modules/logform/dist/browser.js new file mode 100644 index 0000000..064b19b --- /dev/null +++ b/node_modules/logform/dist/browser.js @@ -0,0 +1,72 @@ +'use strict'; + +/* + * @api public + * @property {function} format + * Both the construction method and set of exposed + * formats. + */ +var format = exports.format = require('././format'); + +/* + * @api public + * @method {function} levels + * Registers the specified levels with logform. + */ +exports.levels = require('././levels'); + +// +// Setup all transports as eager-loaded exports +// so that they are static for the bundlers. +// +Object.defineProperty(format, 'align', { + value: require('./align') +}); +Object.defineProperty(format, 'cli', { + value: require('./cli') +}); +Object.defineProperty(format, 'colorize', { + value: require('./colorize') +}); +Object.defineProperty(format, 'combine', { + value: require('./combine') +}); +Object.defineProperty(format, 'errors', { + value: require('./errors') +}); +Object.defineProperty(format, 'json', { + value: require('./json') +}); +Object.defineProperty(format, 'label', { + value: require('./label') +}); +Object.defineProperty(format, 'logstash', { + value: require('./logstash') +}); +Object.defineProperty(format, 'metadata', { + value: require('./metadata') +}); +Object.defineProperty(format, 'ms', { + value: require('./ms') +}); +Object.defineProperty(format, 'padLevels', { + value: require('./pad-levels') +}); +Object.defineProperty(format, 'prettyPrint', { + value: require('./pretty-print') +}); +Object.defineProperty(format, 'printf', { + value: require('./printf') +}); +Object.defineProperty(format, 'simple', { + value: require('./simple') +}); +Object.defineProperty(format, 'splat', { + value: require('./splat') +}); +Object.defineProperty(format, 'timestamp', { + value: require('./timestamp') +}); +Object.defineProperty(format, 'uncolorize', { + value: require('./uncolorize') +}); \ No newline at end of file diff --git a/node_modules/logform/dist/cli.js b/node_modules/logform/dist/cli.js new file mode 100644 index 0000000..18dfa2d --- /dev/null +++ b/node_modules/logform/dist/cli.js @@ -0,0 +1,62 @@ +'use strict'; + +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); } +function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } } +function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; } +function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } +function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } +var _require = require('./colorize'), + Colorizer = _require.Colorizer; +var _require2 = require('./pad-levels'), + Padder = _require2.Padder; +var _require3 = require('triple-beam'), + configs = _require3.configs, + MESSAGE = _require3.MESSAGE; + +/** + * Cli format class that handles initial state for a a separate + * Colorizer and Padder instance. + */ +var CliFormat = /*#__PURE__*/function () { + function CliFormat() { + var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + _classCallCheck(this, CliFormat); + if (!opts.levels) { + opts.levels = configs.cli.levels; + } + this.colorizer = new Colorizer(opts); + this.padder = new Padder(opts); + this.options = opts; + } + + /* + * function transform (info, opts) + * Attempts to both: + * 1. Pad the { level } + * 2. Colorize the { level, message } + * of the given `logform` info object depending on the `opts`. + */ + return _createClass(CliFormat, [{ + key: "transform", + value: function transform(info, opts) { + this.colorizer.transform(this.padder.transform(info, opts), opts); + info[MESSAGE] = "".concat(info.level, ":").concat(info.message); + return info; + } + }]); +}(); +/* + * function cli (opts) + * Returns a new instance of the CLI format that turns a log + * `info` object into the same format previously available + * in `winston.cli()` in `winston < 3.0.0`. + */ +module.exports = function (opts) { + return new CliFormat(opts); +}; + +// +// Attach the CliFormat for registration purposes +// +module.exports.Format = CliFormat; \ No newline at end of file diff --git a/node_modules/logform/dist/colorize.js b/node_modules/logform/dist/colorize.js new file mode 100644 index 0000000..c30f987 --- /dev/null +++ b/node_modules/logform/dist/colorize.js @@ -0,0 +1,131 @@ +'use strict'; + +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); } +function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } } +function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; } +function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } +function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } +var colors = require('@colors/colors/safe'); +var _require = require('triple-beam'), + LEVEL = _require.LEVEL, + MESSAGE = _require.MESSAGE; + +// +// Fix colors not appearing in non-tty environments +// +colors.enabled = true; + +/** + * @property {RegExp} hasSpace + * Simple regex to check for presence of spaces. + */ +var hasSpace = /\s+/; + +/* + * Colorizer format. Wraps the `level` and/or `message` properties + * of the `info` objects with ANSI color codes based on a few options. + */ +var Colorizer = /*#__PURE__*/function () { + function Colorizer() { + var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + _classCallCheck(this, Colorizer); + if (opts.colors) { + this.addColors(opts.colors); + } + this.options = opts; + } + + /* + * Adds the colors Object to the set of allColors + * known by the Colorizer + * + * @param {Object} colors Set of color mappings to add. + */ + return _createClass(Colorizer, [{ + key: "addColors", + value: + /* + * Adds the colors Object to the set of allColors + * known by the Colorizer + * + * @param {Object} colors Set of color mappings to add. + */ + function addColors(clrs) { + return Colorizer.addColors(clrs); + } + + /* + * function colorize (lookup, level, message) + * Performs multi-step colorization using @colors/colors/safe + */ + }, { + key: "colorize", + value: function colorize(lookup, level, message) { + if (typeof message === 'undefined') { + message = level; + } + + // + // If the color for the level is just a string + // then attempt to colorize the message with it. + // + if (!Array.isArray(Colorizer.allColors[lookup])) { + return colors[Colorizer.allColors[lookup]](message); + } + + // + // If it is an Array then iterate over that Array, applying + // the colors function for each item. + // + for (var i = 0, len = Colorizer.allColors[lookup].length; i < len; i++) { + message = colors[Colorizer.allColors[lookup][i]](message); + } + return message; + } + + /* + * function transform (info, opts) + * Attempts to colorize the { level, message } of the given + * `logform` info object. + */ + }, { + key: "transform", + value: function transform(info, opts) { + if (opts.all && typeof info[MESSAGE] === 'string') { + info[MESSAGE] = this.colorize(info[LEVEL], info.level, info[MESSAGE]); + } + if (opts.level || opts.all || !opts.message) { + info.level = this.colorize(info[LEVEL], info.level); + } + if (opts.all || opts.message) { + info.message = this.colorize(info[LEVEL], info.level, info.message); + } + return info; + } + }], [{ + key: "addColors", + value: function addColors(clrs) { + var nextColors = Object.keys(clrs).reduce(function (acc, level) { + acc[level] = hasSpace.test(clrs[level]) ? clrs[level].split(hasSpace) : clrs[level]; + return acc; + }, {}); + Colorizer.allColors = Object.assign({}, Colorizer.allColors || {}, nextColors); + return Colorizer.allColors; + } + }]); +}(); +/* + * function colorize (info) + * Returns a new instance of the colorize Format that applies + * level colors to `info` objects. This was previously exposed + * as { colorize: true } to transports in `winston < 3.0.0`. + */ +module.exports = function (opts) { + return new Colorizer(opts); +}; + +// +// Attach the Colorizer for registration purposes +// +module.exports.Colorizer = module.exports.Format = Colorizer; \ No newline at end of file diff --git a/node_modules/logform/dist/combine.js b/node_modules/logform/dist/combine.js new file mode 100644 index 0000000..d513b60 --- /dev/null +++ b/node_modules/logform/dist/combine.js @@ -0,0 +1,62 @@ +'use strict'; + +var format = require('./format'); + +/* + * function cascade(formats) + * Returns a function that invokes the `._format` function in-order + * for the specified set of `formats`. In this manner we say that Formats + * are "pipe-like", but not a pure pumpify implementation. Since there is no back + * pressure we can remove all of the "readable" plumbing in Node streams. + */ +function cascade(formats) { + if (!formats.every(isValidFormat)) { + return; + } + return function (info) { + var obj = info; + for (var i = 0; i < formats.length; i++) { + obj = formats[i].transform(obj, formats[i].options); + if (!obj) { + return false; + } + } + return obj; + }; +} + +/* + * function isValidFormat(format) + * If the format does not define a `transform` function throw an error + * with more detailed usage. + */ +function isValidFormat(fmt) { + if (typeof fmt.transform !== 'function') { + throw new Error(['No transform function found on format. Did you create a format instance?', 'const myFormat = format(formatFn);', 'const instance = myFormat();'].join('\n')); + } + return true; +} + +/* + * function combine (info) + * Returns a new instance of the combine Format which combines the specified + * formats into a new format. This is similar to a pipe-chain in transform streams. + * We choose to combine the prototypes this way because there is no back pressure in + * an in-memory transform chain. + */ +module.exports = function () { + for (var _len = arguments.length, formats = new Array(_len), _key = 0; _key < _len; _key++) { + formats[_key] = arguments[_key]; + } + var combinedFormat = format(cascade(formats)); + var instance = combinedFormat(); + instance.Format = combinedFormat.Format; + return instance; +}; + +// +// Export the cascade method for use in cli and other +// combined formats that should not be assumed to be +// singletons. +// +module.exports.cascade = cascade; \ No newline at end of file diff --git a/node_modules/logform/dist/errors.js b/node_modules/logform/dist/errors.js new file mode 100644 index 0000000..98c75d5 --- /dev/null +++ b/node_modules/logform/dist/errors.js @@ -0,0 +1,44 @@ +/* eslint no-undefined: 0 */ +'use strict'; + +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; } +function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } +function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } +var format = require('./format'); +var _require = require('triple-beam'), + LEVEL = _require.LEVEL, + MESSAGE = _require.MESSAGE; + +/* + * function errors (info) + * If the `message` property of the `info` object is an instance of `Error`, + * replace the `Error` object its own `message` property. + * + * Optionally, the Error's `stack` and/or `cause` properties can also be appended to the `info` object. + */ +module.exports = format(function (einfo, _ref) { + var stack = _ref.stack, + cause = _ref.cause; + if (einfo instanceof Error) { + var info = Object.assign({}, einfo, _defineProperty(_defineProperty(_defineProperty({ + level: einfo.level + }, LEVEL, einfo[LEVEL] || einfo.level), "message", einfo.message), MESSAGE, einfo[MESSAGE] || einfo.message)); + if (stack) info.stack = einfo.stack; + if (cause) info.cause = einfo.cause; + return info; + } + if (!(einfo.message instanceof Error)) return einfo; + + // Assign all enumerable properties and the + // message property from the error provided. + var err = einfo.message; + Object.assign(einfo, err); + einfo.message = err.message; + einfo[MESSAGE] = err.message; + + // Assign the stack and/or cause if requested. + if (stack) einfo.stack = err.stack; + if (cause) einfo.cause = err.cause; + return einfo; +}); \ No newline at end of file diff --git a/node_modules/logform/dist/format.js b/node_modules/logform/dist/format.js new file mode 100644 index 0000000..efecb7c --- /dev/null +++ b/node_modules/logform/dist/format.js @@ -0,0 +1,70 @@ +'use strict'; + +/* + * Displays a helpful message and the source of + * the format when it is invalid. + */ +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } } +function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; } +function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } +function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } +function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); } +function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); } +function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); } +function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } +function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); } +function _wrapNativeSuper(t) { var r = "function" == typeof Map ? new Map() : void 0; return _wrapNativeSuper = function _wrapNativeSuper(t) { if (null === t || !_isNativeFunction(t)) return t; if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function"); if (void 0 !== r) { if (r.has(t)) return r.get(t); r.set(t, Wrapper); } function Wrapper() { return _construct(t, arguments, _getPrototypeOf(this).constructor); } return Wrapper.prototype = Object.create(t.prototype, { constructor: { value: Wrapper, enumerable: !1, writable: !0, configurable: !0 } }), _setPrototypeOf(Wrapper, t); }, _wrapNativeSuper(t); } +function _construct(t, e, r) { if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); var o = [null]; o.push.apply(o, e); var p = new (t.bind.apply(t, o))(); return r && _setPrototypeOf(p, r.prototype), p; } +function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } +function _isNativeFunction(t) { try { return -1 !== Function.toString.call(t).indexOf("[native code]"); } catch (n) { return "function" == typeof t; } } +function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); } +function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); } +var InvalidFormatError = /*#__PURE__*/function (_Error) { + function InvalidFormatError(formatFn) { + var _this; + _classCallCheck(this, InvalidFormatError); + _this = _callSuper(this, InvalidFormatError, ["Format functions must be synchronous taking a two arguments: (info, opts)\nFound: ".concat(formatFn.toString().split('\n')[0], "\n")]); + Error.captureStackTrace(_this, InvalidFormatError); + return _this; + } + _inherits(InvalidFormatError, _Error); + return _createClass(InvalidFormatError); +}(/*#__PURE__*/_wrapNativeSuper(Error)); +/* + * function format (formatFn) + * Returns a create function for the `formatFn`. + */ +module.exports = function (formatFn) { + if (formatFn.length > 2) { + throw new InvalidFormatError(formatFn); + } + + /* + * function Format (options) + * Base prototype which calls a `_format` + * function and pushes the result. + */ + function Format() { + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + this.options = options; + } + Format.prototype.transform = formatFn; + + // + // Create a function which returns new instances of + // FormatWrap for simple syntax like: + // + // require('winston').formats.json(); + // + function createFormatWrap(opts) { + return new Format(opts); + } + + // + // Expose the FormatWrap through the create function + // for testability. + // + createFormatWrap.Format = Format; + return createFormatWrap; +}; \ No newline at end of file diff --git a/node_modules/logform/dist/index.js b/node_modules/logform/dist/index.js new file mode 100644 index 0000000..9d5087f --- /dev/null +++ b/node_modules/logform/dist/index.js @@ -0,0 +1,86 @@ +'use strict'; + +/* + * @api public + * @property {function} format + * Both the construction method and set of exposed + * formats. + */ +var format = exports.format = require('./format'); + +/* + * @api public + * @method {function} levels + * Registers the specified levels with logform. + */ +exports.levels = require('./levels'); + +/* + * @api private + * method {function} exposeFormat + * Exposes a sub-format on the main format object + * as a lazy-loaded getter. + */ +function exposeFormat(name, requireFormat) { + Object.defineProperty(format, name, { + get: function get() { + return requireFormat(); + }, + configurable: true + }); +} + +// +// Setup all transports as lazy-loaded getters. +// +exposeFormat('align', function () { + return require('./align'); +}); +exposeFormat('errors', function () { + return require('./errors'); +}); +exposeFormat('cli', function () { + return require('./cli'); +}); +exposeFormat('combine', function () { + return require('./combine'); +}); +exposeFormat('colorize', function () { + return require('./colorize'); +}); +exposeFormat('json', function () { + return require('./json'); +}); +exposeFormat('label', function () { + return require('./label'); +}); +exposeFormat('logstash', function () { + return require('./logstash'); +}); +exposeFormat('metadata', function () { + return require('./metadata'); +}); +exposeFormat('ms', function () { + return require('./ms'); +}); +exposeFormat('padLevels', function () { + return require('./pad-levels'); +}); +exposeFormat('prettyPrint', function () { + return require('./pretty-print'); +}); +exposeFormat('printf', function () { + return require('./printf'); +}); +exposeFormat('simple', function () { + return require('./simple'); +}); +exposeFormat('splat', function () { + return require('./splat'); +}); +exposeFormat('timestamp', function () { + return require('./timestamp'); +}); +exposeFormat('uncolorize', function () { + return require('./uncolorize'); +}); \ No newline at end of file diff --git a/node_modules/logform/dist/json.js b/node_modules/logform/dist/json.js new file mode 100644 index 0000000..f1e91bb --- /dev/null +++ b/node_modules/logform/dist/json.js @@ -0,0 +1,30 @@ +'use strict'; + +var format = require('./format'); +var _require = require('triple-beam'), + MESSAGE = _require.MESSAGE; +var stringify = require('safe-stable-stringify'); + +/* + * function replacer (key, value) + * Handles proper stringification of Buffer and bigint output. + */ +function replacer(key, value) { + // safe-stable-stringify does support BigInt, however, it doesn't wrap the value in quotes. + // Leading to a loss in fidelity if the resulting string is parsed. + // It would also be a breaking change for logform. + if (typeof value === 'bigint') return value.toString(); + return value; +} + +/* + * function json (info) + * Returns a new instance of the JSON format that turns a log `info` + * object into pure JSON. This was previously exposed as { json: true } + * to transports in `winston < 3.0.0`. + */ +module.exports = format(function (info, opts) { + var jsonStringify = stringify.configure(opts); + info[MESSAGE] = jsonStringify(info, opts.replacer || replacer, opts.space); + return info; +}); \ No newline at end of file diff --git a/node_modules/logform/dist/label.js b/node_modules/logform/dist/label.js new file mode 100644 index 0000000..8786b00 --- /dev/null +++ b/node_modules/logform/dist/label.js @@ -0,0 +1,18 @@ +'use strict'; + +var format = require('./format'); + +/* + * function label (info) + * Returns a new instance of the label Format which adds the specified + * `opts.label` before the message. This was previously exposed as + * { label: 'my label' } to transports in `winston < 3.0.0`. + */ +module.exports = format(function (info, opts) { + if (opts.message) { + info.message = "[".concat(opts.label, "] ").concat(info.message); + return info; + } + info.label = opts.label; + return info; +}); \ No newline at end of file diff --git a/node_modules/logform/dist/levels.js b/node_modules/logform/dist/levels.js new file mode 100644 index 0000000..6d83cf1 --- /dev/null +++ b/node_modules/logform/dist/levels.js @@ -0,0 +1,13 @@ +'use strict'; + +var _require = require('./colorize'), + Colorizer = _require.Colorizer; + +/* + * Simple method to register colors with a simpler require + * path within the module. + */ +module.exports = function (config) { + Colorizer.addColors(config.colors || config); + return config; +}; \ No newline at end of file diff --git a/node_modules/logform/dist/logstash.js b/node_modules/logform/dist/logstash.js new file mode 100644 index 0000000..37b211f --- /dev/null +++ b/node_modules/logform/dist/logstash.js @@ -0,0 +1,28 @@ +'use strict'; + +var format = require('./format'); +var _require = require('triple-beam'), + MESSAGE = _require.MESSAGE; +var jsonStringify = require('safe-stable-stringify'); + +/* + * function logstash (info) + * Returns a new instance of the LogStash Format that turns a + * log `info` object into pure JSON with the appropriate logstash + * options. This was previously exposed as { logstash: true } + * to transports in `winston < 3.0.0`. + */ +module.exports = format(function (info) { + var logstash = {}; + if (info.message) { + logstash['@message'] = info.message; + delete info.message; + } + if (info.timestamp) { + logstash['@timestamp'] = info.timestamp; + delete info.timestamp; + } + logstash['@fields'] = info; + info[MESSAGE] = jsonStringify(logstash); + return info; +}); \ No newline at end of file diff --git a/node_modules/logform/dist/metadata.js b/node_modules/logform/dist/metadata.js new file mode 100644 index 0000000..b751ea2 --- /dev/null +++ b/node_modules/logform/dist/metadata.js @@ -0,0 +1,56 @@ +'use strict'; + +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; } +function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } +function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } +var format = require('./format'); +function fillExcept(info, fillExceptKeys, metadataKey) { + var savedKeys = fillExceptKeys.reduce(function (acc, key) { + acc[key] = info[key]; + delete info[key]; + return acc; + }, {}); + var metadata = Object.keys(info).reduce(function (acc, key) { + acc[key] = info[key]; + delete info[key]; + return acc; + }, {}); + Object.assign(info, savedKeys, _defineProperty({}, metadataKey, metadata)); + return info; +} +function fillWith(info, fillWithKeys, metadataKey) { + info[metadataKey] = fillWithKeys.reduce(function (acc, key) { + acc[key] = info[key]; + delete info[key]; + return acc; + }, {}); + return info; +} + +/** + * Adds in a "metadata" object to collect extraneous data, similar to the metadata + * object in winston 2.x. + */ +module.exports = format(function (info) { + var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var metadataKey = 'metadata'; + if (opts.key) { + metadataKey = opts.key; + } + var fillExceptKeys = []; + if (!opts.fillExcept && !opts.fillWith) { + fillExceptKeys.push('level'); + fillExceptKeys.push('message'); + } + if (opts.fillExcept) { + fillExceptKeys = opts.fillExcept; + } + if (fillExceptKeys.length > 0) { + return fillExcept(info, fillExceptKeys, metadataKey); + } + if (opts.fillWith) { + return fillWith(info, opts.fillWith, metadataKey); + } + return info; +}); \ No newline at end of file diff --git a/node_modules/logform/dist/ms.js b/node_modules/logform/dist/ms.js new file mode 100644 index 0000000..4d80889 --- /dev/null +++ b/node_modules/logform/dist/ms.js @@ -0,0 +1,18 @@ +'use strict'; + +var _this = void 0; +var format = require('./format'); +var ms = require('ms'); + +/* + * function ms (info) + * Returns an `info` with a `ms` property. The `ms` property holds the Value + * of the time difference between two calls in milliseconds. + */ +module.exports = format(function (info) { + var curr = +new Date(); + _this.diff = curr - (_this.prevTime || curr); + _this.prevTime = curr; + info.ms = "+".concat(ms(_this.diff)); + return info; +}); \ No newline at end of file diff --git a/node_modules/logform/dist/pad-levels.js b/node_modules/logform/dist/pad-levels.js new file mode 100644 index 0000000..e28b830 --- /dev/null +++ b/node_modules/logform/dist/pad-levels.js @@ -0,0 +1,110 @@ +/* eslint no-unused-vars: 0 */ +'use strict'; + +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); } +function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } +function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } } +function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); } +function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); } +function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; } +function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); } +function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } } +function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; } +function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } +function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } +var _require = require('triple-beam'), + configs = _require.configs, + LEVEL = _require.LEVEL, + MESSAGE = _require.MESSAGE; +var Padder = /*#__PURE__*/function () { + function Padder() { + var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : { + levels: configs.npm.levels + }; + _classCallCheck(this, Padder); + this.paddings = Padder.paddingForLevels(opts.levels, opts.filler); + this.options = opts; + } + + /** + * Returns the maximum length of keys in the specified `levels` Object. + * @param {Object} levels Set of all levels to calculate longest level against. + * @returns {Number} Maximum length of the longest level string. + */ + return _createClass(Padder, [{ + key: "transform", + value: + /** + * Prepends the padding onto the `message` based on the `LEVEL` of + * the `info`. This is based on the behavior of `winston@2` which also + * prepended the level onto the message. + * + * See: https://github.com/winstonjs/winston/blob/2.x/lib/winston/logger.js#L198-L201 + * + * @param {Info} info Logform info object + * @param {Object} opts Options passed along to this instance. + * @returns {Info} Modified logform info object. + */ + function transform(info, opts) { + info.message = "".concat(this.paddings[info[LEVEL]]).concat(info.message); + if (info[MESSAGE]) { + info[MESSAGE] = "".concat(this.paddings[info[LEVEL]]).concat(info[MESSAGE]); + } + return info; + } + }], [{ + key: "getLongestLevel", + value: function getLongestLevel(levels) { + var lvls = Object.keys(levels).map(function (level) { + return level.length; + }); + return Math.max.apply(Math, _toConsumableArray(lvls)); + } + + /** + * Returns the padding for the specified `level` assuming that the + * maximum length of all levels it's associated with is `maxLength`. + * @param {String} level Level to calculate padding for. + * @param {String} filler Repeatable text to use for padding. + * @param {Number} maxLength Length of the longest level + * @returns {String} Padding string for the `level` + */ + }, { + key: "paddingForLevel", + value: function paddingForLevel(level, filler, maxLength) { + var targetLen = maxLength + 1 - level.length; + var rep = Math.floor(targetLen / filler.length); + var padding = "".concat(filler).concat(filler.repeat(rep)); + return padding.slice(0, targetLen); + } + + /** + * Returns an object with the string paddings for the given `levels` + * using the specified `filler`. + * @param {Object} levels Set of all levels to calculate padding for. + * @param {String} filler Repeatable text to use for padding. + * @returns {Object} Mapping of level to desired padding. + */ + }, { + key: "paddingForLevels", + value: function paddingForLevels(levels) { + var filler = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ' '; + var maxLength = Padder.getLongestLevel(levels); + return Object.keys(levels).reduce(function (acc, level) { + acc[level] = Padder.paddingForLevel(level, filler, maxLength); + return acc; + }, {}); + } + }]); +}(); +/* + * function padLevels (info) + * Returns a new instance of the padLevels Format which pads + * levels to be the same length. This was previously exposed as + * { padLevels: true } to transports in `winston < 3.0.0`. + */ +module.exports = function (opts) { + return new Padder(opts); +}; +module.exports.Padder = module.exports.Format = Padder; \ No newline at end of file diff --git a/node_modules/logform/dist/pretty-print.js b/node_modules/logform/dist/pretty-print.js new file mode 100644 index 0000000..3161e6d --- /dev/null +++ b/node_modules/logform/dist/pretty-print.js @@ -0,0 +1,32 @@ +'use strict'; + +var inspect = require('util').inspect; +var format = require('./format'); +var _require = require('triple-beam'), + LEVEL = _require.LEVEL, + MESSAGE = _require.MESSAGE, + SPLAT = _require.SPLAT; + +/* + * function prettyPrint (info) + * Returns a new instance of the prettyPrint Format that "prettyPrint" + * serializes `info` objects. This was previously exposed as + * { prettyPrint: true } to transports in `winston < 3.0.0`. + */ +module.exports = format(function (info) { + var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + // + // info[{LEVEL, MESSAGE, SPLAT}] are enumerable here. Since they + // are internal, we remove them before util.inspect so they + // are not printed. + // + var stripped = Object.assign({}, info); + + // Remark (indexzero): update this technique in April 2019 + // when node@6 is EOL + delete stripped[LEVEL]; + delete stripped[MESSAGE]; + delete stripped[SPLAT]; + info[MESSAGE] = inspect(stripped, false, opts.depth || null, opts.colorize); + return info; +}); \ No newline at end of file diff --git a/node_modules/logform/dist/printf.js b/node_modules/logform/dist/printf.js new file mode 100644 index 0000000..c7792c4 --- /dev/null +++ b/node_modules/logform/dist/printf.js @@ -0,0 +1,33 @@ +'use strict'; + +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); } +function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } } +function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; } +function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } +function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } +var _require = require('triple-beam'), + MESSAGE = _require.MESSAGE; +var Printf = /*#__PURE__*/function () { + function Printf(templateFn) { + _classCallCheck(this, Printf); + this.template = templateFn; + } + return _createClass(Printf, [{ + key: "transform", + value: function transform(info) { + info[MESSAGE] = this.template(info); + return info; + } + }]); +}(); +/* + * function printf (templateFn) + * Returns a new instance of the printf Format that creates an + * intermediate prototype to store the template string-based formatter + * function. + */ +module.exports = function (opts) { + return new Printf(opts); +}; +module.exports.Printf = module.exports.Format = Printf; \ No newline at end of file diff --git a/node_modules/logform/dist/simple.js b/node_modules/logform/dist/simple.js new file mode 100644 index 0000000..48514fb --- /dev/null +++ b/node_modules/logform/dist/simple.js @@ -0,0 +1,32 @@ +/* eslint no-undefined: 0 */ +'use strict'; + +var format = require('./format'); +var _require = require('triple-beam'), + MESSAGE = _require.MESSAGE; +var jsonStringify = require('safe-stable-stringify'); + +/* + * function simple (info) + * Returns a new instance of the simple format TransformStream + * which writes a simple representation of logs. + * + * const { level, message, splat, ...rest } = info; + * + * ${level}: ${message} if rest is empty + * ${level}: ${message} ${JSON.stringify(rest)} otherwise + */ +module.exports = format(function (info) { + var stringifiedRest = jsonStringify(Object.assign({}, info, { + level: undefined, + message: undefined, + splat: undefined + })); + var padding = info.padding && info.padding[info.level] || ''; + if (stringifiedRest !== '{}') { + info[MESSAGE] = "".concat(info.level, ":").concat(padding, " ").concat(info.message, " ").concat(stringifiedRest); + } else { + info[MESSAGE] = "".concat(info.level, ":").concat(padding, " ").concat(info.message); + } + return info; +}); \ No newline at end of file diff --git a/node_modules/logform/dist/splat.js b/node_modules/logform/dist/splat.js new file mode 100644 index 0000000..5c0a019 --- /dev/null +++ b/node_modules/logform/dist/splat.js @@ -0,0 +1,143 @@ +'use strict'; + +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); } +function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } +function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } } +function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); } +function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); } +function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; } +function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); } +function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } } +function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; } +function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } +function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } +var util = require('util'); +var _require = require('triple-beam'), + SPLAT = _require.SPLAT; + +/** + * Captures the number of format (i.e. %s strings) in a given string. + * Based on `util.format`, see Node.js source: + * https://github.com/nodejs/node/blob/b1c8f15c5f169e021f7c46eb7b219de95fe97603/lib/util.js#L201-L230 + * @type {RegExp} + */ +var formatRegExp = /%[scdjifoO%]/g; + +/** + * Captures the number of escaped % signs in a format string (i.e. %s strings). + * @type {RegExp} + */ +var escapedPercent = /%%/g; +var Splatter = /*#__PURE__*/function () { + function Splatter(opts) { + _classCallCheck(this, Splatter); + this.options = opts; + } + + /** + * Check to see if tokens <= splat.length, assign { splat, meta } into the + * `info` accordingly, and write to this instance. + * + * @param {Info} info Logform info message. + * @param {String[]} tokens Set of string interpolation tokens. + * @returns {Info} Modified info message + * @private + */ + return _createClass(Splatter, [{ + key: "_splat", + value: function _splat(info, tokens) { + var msg = info.message; + var splat = info[SPLAT] || info.splat || []; + var percents = msg.match(escapedPercent); + var escapes = percents && percents.length || 0; + + // The expected splat is the number of tokens minus the number of escapes + // e.g. + // - { expectedSplat: 3 } '%d %s %j' + // - { expectedSplat: 5 } '[%s] %d%% %d%% %s %j' + // + // Any "meta" will be arugments in addition to the expected splat size + // regardless of type. e.g. + // + // logger.log('info', '%d%% %s %j', 100, 'wow', { such: 'js' }, { thisIsMeta: true }); + // would result in splat of four (4), but only three (3) are expected. Therefore: + // + // extraSplat = 3 - 4 = -1 + // metas = [100, 'wow', { such: 'js' }, { thisIsMeta: true }].splice(-1, -1 * -1); + // splat = [100, 'wow', { such: 'js' }] + var expectedSplat = tokens.length - escapes; + var extraSplat = expectedSplat - splat.length; + var metas = extraSplat < 0 ? splat.splice(extraSplat, -1 * extraSplat) : []; + + // Now that { splat } has been separated from any potential { meta }. we + // can assign this to the `info` object and write it to our format stream. + // If the additional metas are **NOT** objects or **LACK** enumerable properties + // you are going to have a bad time. + var metalen = metas.length; + if (metalen) { + for (var i = 0; i < metalen; i++) { + Object.assign(info, metas[i]); + } + } + info.message = util.format.apply(util, [msg].concat(_toConsumableArray(splat))); + return info; + } + + /** + * Transforms the `info` message by using `util.format` to complete + * any `info.message` provided it has string interpolation tokens. + * If no tokens exist then `info` is immutable. + * + * @param {Info} info Logform info message. + * @param {Object} opts Options for this instance. + * @returns {Info} Modified info message + */ + }, { + key: "transform", + value: function transform(info) { + var msg = info.message; + var splat = info[SPLAT] || info.splat; + + // No need to process anything if splat is undefined + if (!splat || !splat.length) { + return info; + } + + // Extract tokens, if none available default to empty array to + // ensure consistancy in expected results + var tokens = msg && msg.match && msg.match(formatRegExp); + + // This condition will take care of inputs with info[SPLAT] + // but no tokens present + if (!tokens && (splat || splat.length)) { + var metas = splat.length > 1 ? splat.splice(0) : splat; + + // Now that { splat } has been separated from any potential { meta }. we + // can assign this to the `info` object and write it to our format stream. + // If the additional metas are **NOT** objects or **LACK** enumerable properties + // you are going to have a bad time. + var metalen = metas.length; + if (metalen) { + for (var i = 0; i < metalen; i++) { + Object.assign(info, metas[i]); + } + } + return info; + } + if (tokens) { + return this._splat(info, tokens); + } + return info; + } + }]); +}(); +/* + * function splat (info) + * Returns a new instance of the splat format TransformStream + * which performs string interpolation from `info` objects. This was + * previously exposed implicitly in `winston < 3.0.0`. + */ +module.exports = function (opts) { + return new Splatter(opts); +}; \ No newline at end of file diff --git a/node_modules/logform/dist/timestamp.js b/node_modules/logform/dist/timestamp.js new file mode 100644 index 0000000..247b377 --- /dev/null +++ b/node_modules/logform/dist/timestamp.js @@ -0,0 +1,26 @@ +'use strict'; + +var fecha = require('fecha'); +var format = require('./format'); + +/* + * function timestamp (info) + * Returns a new instance of the timestamp Format which adds a timestamp + * to the info. It was previously available in winston < 3.0.0 as: + * + * - { timestamp: true } // `new Date.toISOString()` + * - { timestamp: function:String } // Value returned by `timestamp()` + */ +module.exports = format(function (info) { + var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + if (opts.format) { + info.timestamp = typeof opts.format === 'function' ? opts.format() : fecha.format(new Date(), opts.format); + } + if (!info.timestamp) { + info.timestamp = new Date().toISOString(); + } + if (opts.alias) { + info[opts.alias] = info.timestamp; + } + return info; +}); \ No newline at end of file diff --git a/node_modules/logform/dist/uncolorize.js b/node_modules/logform/dist/uncolorize.js new file mode 100644 index 0000000..9b2625b --- /dev/null +++ b/node_modules/logform/dist/uncolorize.js @@ -0,0 +1,25 @@ +'use strict'; + +var colors = require('@colors/colors/safe'); +var format = require('./format'); +var _require = require('triple-beam'), + MESSAGE = _require.MESSAGE; + +/* + * function uncolorize (info) + * Returns a new instance of the uncolorize Format that strips colors + * from `info` objects. This was previously exposed as { stripColors: true } + * to transports in `winston < 3.0.0`. + */ +module.exports = format(function (info, opts) { + if (opts.level !== false) { + info.level = colors.strip(info.level); + } + if (opts.message !== false) { + info.message = colors.strip(String(info.message)); + } + if (opts.raw !== false && info[MESSAGE]) { + info[MESSAGE] = colors.strip(String(info[MESSAGE])); + } + return info; +}); \ No newline at end of file diff --git a/node_modules/logform/errors.js b/node_modules/logform/errors.js new file mode 100644 index 0000000..b1d163b --- /dev/null +++ b/node_modules/logform/errors.js @@ -0,0 +1,41 @@ +/* eslint no-undefined: 0 */ +'use strict'; + +const format = require('./format'); +const { LEVEL, MESSAGE } = require('triple-beam'); + +/* + * function errors (info) + * If the `message` property of the `info` object is an instance of `Error`, + * replace the `Error` object its own `message` property. + * + * Optionally, the Error's `stack` and/or `cause` properties can also be appended to the `info` object. + */ +module.exports = format((einfo, { stack, cause }) => { + if (einfo instanceof Error) { + const info = Object.assign({}, einfo, { + level: einfo.level, + [LEVEL]: einfo[LEVEL] || einfo.level, + message: einfo.message, + [MESSAGE]: einfo[MESSAGE] || einfo.message + }); + + if (stack) info.stack = einfo.stack; + if (cause) info.cause = einfo.cause; + return info; + } + + if (!(einfo.message instanceof Error)) return einfo; + + // Assign all enumerable properties and the + // message property from the error provided. + const err = einfo.message; + Object.assign(einfo, err); + einfo.message = err.message; + einfo[MESSAGE] = err.message; + + // Assign the stack and/or cause if requested. + if (stack) einfo.stack = err.stack; + if (cause) einfo.cause = err.cause; + return einfo; +}); diff --git a/node_modules/logform/format.js b/node_modules/logform/format.js new file mode 100644 index 0000000..c2294b6 --- /dev/null +++ b/node_modules/logform/format.js @@ -0,0 +1,52 @@ +'use strict'; + +/* + * Displays a helpful message and the source of + * the format when it is invalid. + */ +class InvalidFormatError extends Error { + constructor(formatFn) { + super(`Format functions must be synchronous taking a two arguments: (info, opts) +Found: ${formatFn.toString().split('\n')[0]}\n`); + + Error.captureStackTrace(this, InvalidFormatError); + } +} + +/* + * function format (formatFn) + * Returns a create function for the `formatFn`. + */ +module.exports = formatFn => { + if (formatFn.length > 2) { + throw new InvalidFormatError(formatFn); + } + + /* + * function Format (options) + * Base prototype which calls a `_format` + * function and pushes the result. + */ + function Format(options = {}) { + this.options = options; + } + + Format.prototype.transform = formatFn; + + // + // Create a function which returns new instances of + // FormatWrap for simple syntax like: + // + // require('winston').formats.json(); + // + function createFormatWrap(opts) { + return new Format(opts); + } + + // + // Expose the FormatWrap through the create function + // for testability. + // + createFormatWrap.Format = Format; + return createFormatWrap; +}; diff --git a/node_modules/logform/index.d.ts b/node_modules/logform/index.d.ts new file mode 100644 index 0000000..0d1c8ac --- /dev/null +++ b/node_modules/logform/index.d.ts @@ -0,0 +1,201 @@ +// Type definitions for logform 2.x +// Project: https://github.com/winstonjs/logform +// Definitions by: DABH +// Definitions: https://github.com/winstonjs/logform +// TypeScript Version: 2.2 +import {LEVEL, MESSAGE, SPLAT} from 'triple-beam' + +export interface TransformableInfo { + level: string; + message: unknown; + [LEVEL]?: string; + [MESSAGE]?: unknown; + [SPLAT]?: unknown; + [key: string | symbol]: unknown; +} + +export type TransformFunction = (info: TransformableInfo, opts?: unknown) => TransformableInfo | boolean; +export type Colors = { [key: string]: string | string[] }; // tslint:disable-line interface-over-type-literal +export type FormatWrap = (opts?: unknown) => Format; + +export class Format { + constructor(opts?: object); + + options?: object; + transform: TransformFunction; +} + +export class Colorizer extends Format { + constructor(opts?: object); + + createColorize: (opts?: object) => Colorizer; + addColors: (colors: Colors) => Colors; + colorize: (level: string, message: string) => string; +} + +export function format(transform: TransformFunction): FormatWrap; + +export function levels(config: object): object; + +export namespace format { + function align(): Format; + function cli(opts?: CliOptions): Format; + function colorize(opts?: ColorizeOptions): Colorizer; + function combine(...formats: Format[]): Format; + function errors(opts?: object): Format; + function json(opts?: JsonOptions): Format; + function label(opts?: LabelOptions): Format; + function logstash(): Format; + function metadata(opts?: MetadataOptions): Format; + function ms(): Format; + function padLevels(opts?: PadLevelsOptions): Format; + function prettyPrint(opts?: PrettyPrintOptions): Format; + function printf(templateFunction: (info: TransformableInfo) => string): Format; + function simple(): Format; + function splat(): Format; + function timestamp(opts?: TimestampOptions): Format; + function uncolorize(opts?: UncolorizeOptions): Format; +} + +export interface CliOptions extends ColorizeOptions, PadLevelsOptions { } + +export interface ColorizeOptions { + /** + * If set to `true` the color will be applied to the `level`. + */ + level?: boolean; + /** + * If set to `true` the color will be applied to the `message` and `level`. + */ + all?: boolean; + /** + * If set to `true` the color will be applied to the `message`. + */ + message?: boolean; + /** + * An object containing the colors for the log levels. For example: `{ info: 'blue', error: 'red' }`. + */ + colors?: Record; +} + +export interface JsonOptions { + /** + * A function that influences how the `info` is stringified. + */ + replacer?: (this: unknown, key: string, value: unknown) => unknown; + /** + * The number of white space used to format the json. + */ + space?: number; + + // The following options come from safe-stable-stringify + // https://github.com/BridgeAR/safe-stable-stringify/blob/main/index.d.ts + + /** + * If `true`, bigint values are converted to a number. Otherwise, they are ignored. + * This option is ignored by default as Logform stringifies BigInt in the default replacer. + * @default true + */ + bigint?: boolean, + /** + * Defines the value for circular references. + * Set to `undefined`, circular properties are not serialized (array entries are replaced with null). + * Set to `Error`, to throw on circular references. + * @default "[Circular]" + */ + circularValue?: string | null | TypeErrorConstructor | ErrorConstructor, + /** + * If `true`, guarantee a deterministic key order instead of relying on the insertion order. + * @default true + */ + deterministic?: boolean, + /** + * Maximum number of entries to serialize per object (at least one). + * The serialized output contains information about how many entries have not been serialized. + * Ignored properties are counted as well (e.g., properties with symbol values). + * Using the array replacer overrules this option. + * @default Infinity + */ + maximumBreadth?: number, + /** + * Maximum number of object nesting levels (at least 1) that will be serialized. + * Objects at the maximum level are serialized as `"[Object]"` and arrays as `"[Array]"`. + * @default Infinity + */ + maximumDepth?: number, +} + +export interface LabelOptions { + /** + * A label to be added before the message. + */ + label?: string; + /** + * If set to `true` the `label` will be added to `info.message`. If set to `false` the `label` + * will be added as `info.label`. + */ + message?: boolean; +} + +export interface MetadataOptions { + /** + * The name of the key used for the metadata object. Defaults to `metadata`. + */ + key?: string; + /** + * An array of keys that should not be added to the metadata object. + */ + fillExcept?: string[]; + /** + * An array of keys that will be added to the metadata object. + */ + fillWith?: string[]; +} + +export interface PadLevelsOptions { + /** + * Log levels. Defaults to `configs.npm.levels` from [triple-beam](https://github.com/winstonjs/triple-beam) + * module. + */ + levels?: Record; +} + +export interface PrettyPrintOptions { + /** + * A `number` that specifies the maximum depth of the `info` object being stringified by + * `util.inspect`. Defaults to `2`. + */ + depth?: number; + /** + * Colorizes the message if set to `true`. Defaults to `false`. + */ + colorize?: boolean; +} + +export interface TimestampOptions { + /** + * Either the format as a string accepted by the [fecha](https://github.com/taylorhakes/fecha) + * module or a function that returns a formatted date. If no format is provided `new + * Date().toISOString()` will be used. + */ + format?: string | (() => string); + /** + * The name of an alias for the timestamp property, that will be added to the `info` object. + */ + alias?: string; +} + +export interface UncolorizeOptions { + /** + * Disables the uncolorize format for `info.level` if set to `false`. + */ + level?: boolean; + /** + * Disables the uncolorize format for `info.message` if set to `false`. + */ + message?: boolean; + /** + * Disables the uncolorize format for `info[MESSAGE]` if set to `false`. + */ + raw?: boolean; +} diff --git a/node_modules/logform/index.js b/node_modules/logform/index.js new file mode 100644 index 0000000..0edfc05 --- /dev/null +++ b/node_modules/logform/index.js @@ -0,0 +1,52 @@ +'use strict'; + +/* + * @api public + * @property {function} format + * Both the construction method and set of exposed + * formats. + */ +const format = exports.format = require('./format'); + +/* + * @api public + * @method {function} levels + * Registers the specified levels with logform. + */ +exports.levels = require('./levels'); + +/* + * @api private + * method {function} exposeFormat + * Exposes a sub-format on the main format object + * as a lazy-loaded getter. + */ +function exposeFormat(name, requireFormat) { + Object.defineProperty(format, name, { + get() { + return requireFormat(); + }, + configurable: true + }); +} + +// +// Setup all transports as lazy-loaded getters. +// +exposeFormat('align', function () { return require('./align'); }); +exposeFormat('errors', function () { return require('./errors'); }); +exposeFormat('cli', function () { return require('./cli'); }); +exposeFormat('combine', function () { return require('./combine'); }); +exposeFormat('colorize', function () { return require('./colorize'); }); +exposeFormat('json', function () { return require('./json'); }); +exposeFormat('label', function () { return require('./label'); }); +exposeFormat('logstash', function () { return require('./logstash'); }); +exposeFormat('metadata', function () { return require('./metadata'); }); +exposeFormat('ms', function () { return require('./ms'); }); +exposeFormat('padLevels', function () { return require('./pad-levels'); }); +exposeFormat('prettyPrint', function () { return require('./pretty-print'); }); +exposeFormat('printf', function () { return require('./printf'); }); +exposeFormat('simple', function () { return require('./simple'); }); +exposeFormat('splat', function () { return require('./splat'); }); +exposeFormat('timestamp', function () { return require('./timestamp'); }); +exposeFormat('uncolorize', function () { return require('./uncolorize'); }); diff --git a/node_modules/logform/json.js b/node_modules/logform/json.js new file mode 100644 index 0000000..fb91c97 --- /dev/null +++ b/node_modules/logform/json.js @@ -0,0 +1,30 @@ +'use strict'; + +const format = require('./format'); +const { MESSAGE } = require('triple-beam'); +const stringify = require('safe-stable-stringify'); + +/* + * function replacer (key, value) + * Handles proper stringification of Buffer and bigint output. + */ +function replacer(key, value) { + // safe-stable-stringify does support BigInt, however, it doesn't wrap the value in quotes. + // Leading to a loss in fidelity if the resulting string is parsed. + // It would also be a breaking change for logform. + if (typeof value === 'bigint') + return value.toString(); + return value; +} + +/* + * function json (info) + * Returns a new instance of the JSON format that turns a log `info` + * object into pure JSON. This was previously exposed as { json: true } + * to transports in `winston < 3.0.0`. + */ +module.exports = format((info, opts) => { + const jsonStringify = stringify.configure(opts); + info[MESSAGE] = jsonStringify(info, opts.replacer || replacer, opts.space); + return info; +}); diff --git a/node_modules/logform/label.js b/node_modules/logform/label.js new file mode 100644 index 0000000..e6127fd --- /dev/null +++ b/node_modules/logform/label.js @@ -0,0 +1,19 @@ +'use strict'; + +const format = require('./format'); + +/* + * function label (info) + * Returns a new instance of the label Format which adds the specified + * `opts.label` before the message. This was previously exposed as + * { label: 'my label' } to transports in `winston < 3.0.0`. + */ +module.exports = format((info, opts) => { + if (opts.message) { + info.message = `[${opts.label}] ${info.message}`; + return info; + } + + info.label = opts.label; + return info; +}); diff --git a/node_modules/logform/levels.js b/node_modules/logform/levels.js new file mode 100644 index 0000000..5a7345c --- /dev/null +++ b/node_modules/logform/levels.js @@ -0,0 +1,12 @@ +'use strict'; + +const { Colorizer } = require('./colorize'); + +/* + * Simple method to register colors with a simpler require + * path within the module. + */ +module.exports = config => { + Colorizer.addColors(config.colors || config); + return config; +}; diff --git a/node_modules/logform/logstash.js b/node_modules/logform/logstash.js new file mode 100644 index 0000000..3493733 --- /dev/null +++ b/node_modules/logform/logstash.js @@ -0,0 +1,29 @@ +'use strict'; + +const format = require('./format'); +const { MESSAGE } = require('triple-beam'); +const jsonStringify = require('safe-stable-stringify'); + +/* + * function logstash (info) + * Returns a new instance of the LogStash Format that turns a + * log `info` object into pure JSON with the appropriate logstash + * options. This was previously exposed as { logstash: true } + * to transports in `winston < 3.0.0`. + */ +module.exports = format(info => { + const logstash = {}; + if (info.message) { + logstash['@message'] = info.message; + delete info.message; + } + + if (info.timestamp) { + logstash['@timestamp'] = info.timestamp; + delete info.timestamp; + } + + logstash['@fields'] = info; + info[MESSAGE] = jsonStringify(logstash); + return info; +}); diff --git a/node_modules/logform/metadata.js b/node_modules/logform/metadata.js new file mode 100644 index 0000000..dc796db --- /dev/null +++ b/node_modules/logform/metadata.js @@ -0,0 +1,61 @@ +'use strict'; + +const format = require('./format'); + +function fillExcept(info, fillExceptKeys, metadataKey) { + const savedKeys = fillExceptKeys.reduce((acc, key) => { + acc[key] = info[key]; + delete info[key]; + return acc; + }, {}); + const metadata = Object.keys(info).reduce((acc, key) => { + acc[key] = info[key]; + delete info[key]; + return acc; + }, {}); + + Object.assign(info, savedKeys, { + [metadataKey]: metadata + }); + return info; +} + +function fillWith(info, fillWithKeys, metadataKey) { + info[metadataKey] = fillWithKeys.reduce((acc, key) => { + acc[key] = info[key]; + delete info[key]; + return acc; + }, {}); + return info; +} + +/** + * Adds in a "metadata" object to collect extraneous data, similar to the metadata + * object in winston 2.x. + */ +module.exports = format((info, opts = {}) => { + let metadataKey = 'metadata'; + if (opts.key) { + metadataKey = opts.key; + } + + let fillExceptKeys = []; + if (!opts.fillExcept && !opts.fillWith) { + fillExceptKeys.push('level'); + fillExceptKeys.push('message'); + } + + if (opts.fillExcept) { + fillExceptKeys = opts.fillExcept; + } + + if (fillExceptKeys.length > 0) { + return fillExcept(info, fillExceptKeys, metadataKey); + } + + if (opts.fillWith) { + return fillWith(info, opts.fillWith, metadataKey); + } + + return info; +}); diff --git a/node_modules/logform/ms.js b/node_modules/logform/ms.js new file mode 100644 index 0000000..88830fa --- /dev/null +++ b/node_modules/logform/ms.js @@ -0,0 +1,18 @@ +'use strict'; + +const format = require('./format'); +const ms = require('ms'); + +/* + * function ms (info) + * Returns an `info` with a `ms` property. The `ms` property holds the Value + * of the time difference between two calls in milliseconds. + */ +module.exports = format(info => { + const curr = +new Date(); + this.diff = curr - (this.prevTime || curr); + this.prevTime = curr; + info.ms = `+${ms(this.diff)}`; + + return info; +}); diff --git a/node_modules/logform/node_modules/ms/index.js b/node_modules/logform/node_modules/ms/index.js new file mode 100644 index 0000000..ea734fb --- /dev/null +++ b/node_modules/logform/node_modules/ms/index.js @@ -0,0 +1,162 @@ +/** + * Helpers. + */ + +var s = 1000; +var m = s * 60; +var h = m * 60; +var d = h * 24; +var w = d * 7; +var y = d * 365.25; + +/** + * Parse or format the given `val`. + * + * Options: + * + * - `long` verbose formatting [false] + * + * @param {String|Number} val + * @param {Object} [options] + * @throws {Error} throw an error if val is not a non-empty string or a number + * @return {String|Number} + * @api public + */ + +module.exports = function (val, options) { + options = options || {}; + var type = typeof val; + if (type === 'string' && val.length > 0) { + return parse(val); + } else if (type === 'number' && isFinite(val)) { + return options.long ? fmtLong(val) : fmtShort(val); + } + throw new Error( + 'val is not a non-empty string or a valid number. val=' + + JSON.stringify(val) + ); +}; + +/** + * Parse the given `str` and return milliseconds. + * + * @param {String} str + * @return {Number} + * @api private + */ + +function parse(str) { + str = String(str); + if (str.length > 100) { + return; + } + var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec( + str + ); + if (!match) { + return; + } + var n = parseFloat(match[1]); + var type = (match[2] || 'ms').toLowerCase(); + switch (type) { + case 'years': + case 'year': + case 'yrs': + case 'yr': + case 'y': + return n * y; + case 'weeks': + case 'week': + case 'w': + return n * w; + case 'days': + case 'day': + case 'd': + return n * d; + case 'hours': + case 'hour': + case 'hrs': + case 'hr': + case 'h': + return n * h; + case 'minutes': + case 'minute': + case 'mins': + case 'min': + case 'm': + return n * m; + case 'seconds': + case 'second': + case 'secs': + case 'sec': + case 's': + return n * s; + case 'milliseconds': + case 'millisecond': + case 'msecs': + case 'msec': + case 'ms': + return n; + default: + return undefined; + } +} + +/** + * Short format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + +function fmtShort(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return Math.round(ms / d) + 'd'; + } + if (msAbs >= h) { + return Math.round(ms / h) + 'h'; + } + if (msAbs >= m) { + return Math.round(ms / m) + 'm'; + } + if (msAbs >= s) { + return Math.round(ms / s) + 's'; + } + return ms + 'ms'; +} + +/** + * Long format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + +function fmtLong(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return plural(ms, msAbs, d, 'day'); + } + if (msAbs >= h) { + return plural(ms, msAbs, h, 'hour'); + } + if (msAbs >= m) { + return plural(ms, msAbs, m, 'minute'); + } + if (msAbs >= s) { + return plural(ms, msAbs, s, 'second'); + } + return ms + ' ms'; +} + +/** + * Pluralization helper. + */ + +function plural(ms, msAbs, n, name) { + var isPlural = msAbs >= n * 1.5; + return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); +} diff --git a/node_modules/logform/node_modules/ms/license.md b/node_modules/logform/node_modules/ms/license.md new file mode 100644 index 0000000..fa5d39b --- /dev/null +++ b/node_modules/logform/node_modules/ms/license.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 Vercel, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/logform/node_modules/ms/package.json b/node_modules/logform/node_modules/ms/package.json new file mode 100644 index 0000000..4997189 --- /dev/null +++ b/node_modules/logform/node_modules/ms/package.json @@ -0,0 +1,38 @@ +{ + "name": "ms", + "version": "2.1.3", + "description": "Tiny millisecond conversion utility", + "repository": "vercel/ms", + "main": "./index", + "files": [ + "index.js" + ], + "scripts": { + "precommit": "lint-staged", + "lint": "eslint lib/* bin/*", + "test": "mocha tests.js" + }, + "eslintConfig": { + "extends": "eslint:recommended", + "env": { + "node": true, + "es6": true + } + }, + "lint-staged": { + "*.js": [ + "npm run lint", + "prettier --single-quote --write", + "git add" + ] + }, + "license": "MIT", + "devDependencies": { + "eslint": "4.18.2", + "expect.js": "0.3.1", + "husky": "0.14.3", + "lint-staged": "5.0.0", + "mocha": "4.0.1", + "prettier": "2.0.5" + } +} diff --git a/node_modules/logform/node_modules/ms/readme.md b/node_modules/logform/node_modules/ms/readme.md new file mode 100644 index 0000000..0fc1abb --- /dev/null +++ b/node_modules/logform/node_modules/ms/readme.md @@ -0,0 +1,59 @@ +# ms + +![CI](https://github.com/vercel/ms/workflows/CI/badge.svg) + +Use this package to easily convert various time formats to milliseconds. + +## Examples + +```js +ms('2 days') // 172800000 +ms('1d') // 86400000 +ms('10h') // 36000000 +ms('2.5 hrs') // 9000000 +ms('2h') // 7200000 +ms('1m') // 60000 +ms('5s') // 5000 +ms('1y') // 31557600000 +ms('100') // 100 +ms('-3 days') // -259200000 +ms('-1h') // -3600000 +ms('-200') // -200 +``` + +### Convert from Milliseconds + +```js +ms(60000) // "1m" +ms(2 * 60000) // "2m" +ms(-3 * 60000) // "-3m" +ms(ms('10 hours')) // "10h" +``` + +### Time Format Written-Out + +```js +ms(60000, { long: true }) // "1 minute" +ms(2 * 60000, { long: true }) // "2 minutes" +ms(-3 * 60000, { long: true }) // "-3 minutes" +ms(ms('10 hours'), { long: true }) // "10 hours" +``` + +## Features + +- Works both in [Node.js](https://nodejs.org) and in the browser +- If a number is supplied to `ms`, a string with a unit is returned +- If a string that contains the number is supplied, it returns it as a number (e.g.: it returns `100` for `'100'`) +- If you pass a string with a number and a valid unit, the number of equivalent milliseconds is returned + +## Related Packages + +- [ms.macro](https://github.com/knpwrs/ms.macro) - Run `ms` as a macro at build-time. + +## Caught a Bug? + +1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device +2. Link the package to the global module directory: `npm link` +3. Within the module you want to test your local development instance of ms, just link it to the dependencies: `npm link ms`. Instead of the default one from npm, Node.js will now use your clone of ms! + +As always, you can run the tests using: `npm test` diff --git a/node_modules/logform/package.json b/node_modules/logform/package.json new file mode 100644 index 0000000..6bd588f --- /dev/null +++ b/node_modules/logform/package.json @@ -0,0 +1,53 @@ +{ + "name": "logform", + "version": "2.7.0", + "description": "An mutable object-based log format designed for chaining & objectMode streams.", + "main": "index.js", + "browser": "dist/browser.js", + "scripts": { + "lint": "eslint *.js test/*.js examples/*.js --resolve-plugins-relative-to ./node_modules/@dabh/eslint-config-populist", + "pretest": "npm run lint && npm run build", + "test": "nyc mocha test/*.test.js", + "build": "rimraf dist && babel *.js -d ./dist", + "prepublishOnly": "npm run build" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/winstonjs/logform.git" + }, + "keywords": [ + "winston", + "logging", + "format", + "winstonjs" + ], + "author": "Charlie Robbins ", + "license": "MIT", + "bugs": { + "url": "https://github.com/winstonjs/logform/issues" + }, + "homepage": "https://github.com/winstonjs/logform#readme", + "dependencies": { + "@colors/colors": "1.6.0", + "@types/triple-beam": "^1.3.2", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + }, + "devDependencies": { + "@babel/cli": "^7.10.3", + "@babel/core": "^7.10.3", + "@babel/preset-env": "^7.10.3", + "@dabh/eslint-config-populist": "^5.0.0", + "assume": "^2.2.0", + "eslint": "^8.8.0", + "mocha": "^10.0.0", + "nyc": "^17.1.0", + "rimraf": "^5.0.5" + }, + "types": "./index.d.ts", + "engines": { + "node": ">= 12.0.0" + } +} diff --git a/node_modules/logform/pad-levels.js b/node_modules/logform/pad-levels.js new file mode 100644 index 0000000..7db5a9d --- /dev/null +++ b/node_modules/logform/pad-levels.js @@ -0,0 +1,83 @@ +/* eslint no-unused-vars: 0 */ +'use strict'; + +const { configs, LEVEL, MESSAGE } = require('triple-beam'); + +class Padder { + constructor(opts = { levels: configs.npm.levels }) { + this.paddings = Padder.paddingForLevels(opts.levels, opts.filler); + this.options = opts; + } + + /** + * Returns the maximum length of keys in the specified `levels` Object. + * @param {Object} levels Set of all levels to calculate longest level against. + * @returns {Number} Maximum length of the longest level string. + */ + static getLongestLevel(levels) { + const lvls = Object.keys(levels).map(level => level.length); + return Math.max(...lvls); + } + + /** + * Returns the padding for the specified `level` assuming that the + * maximum length of all levels it's associated with is `maxLength`. + * @param {String} level Level to calculate padding for. + * @param {String} filler Repeatable text to use for padding. + * @param {Number} maxLength Length of the longest level + * @returns {String} Padding string for the `level` + */ + static paddingForLevel(level, filler, maxLength) { + const targetLen = maxLength + 1 - level.length; + const rep = Math.floor(targetLen / filler.length); + const padding = `${filler}${filler.repeat(rep)}`; + return padding.slice(0, targetLen); + } + + /** + * Returns an object with the string paddings for the given `levels` + * using the specified `filler`. + * @param {Object} levels Set of all levels to calculate padding for. + * @param {String} filler Repeatable text to use for padding. + * @returns {Object} Mapping of level to desired padding. + */ + static paddingForLevels(levels, filler = ' ') { + const maxLength = Padder.getLongestLevel(levels); + return Object.keys(levels).reduce((acc, level) => { + acc[level] = Padder.paddingForLevel(level, filler, maxLength); + return acc; + }, {}); + } + + /** + * Prepends the padding onto the `message` based on the `LEVEL` of + * the `info`. This is based on the behavior of `winston@2` which also + * prepended the level onto the message. + * + * See: https://github.com/winstonjs/winston/blob/2.x/lib/winston/logger.js#L198-L201 + * + * @param {Info} info Logform info object + * @param {Object} opts Options passed along to this instance. + * @returns {Info} Modified logform info object. + */ + transform(info, opts) { + info.message = `${this.paddings[info[LEVEL]]}${info.message}`; + if (info[MESSAGE]) { + info[MESSAGE] = `${this.paddings[info[LEVEL]]}${info[MESSAGE]}`; + } + + return info; + } +} + +/* + * function padLevels (info) + * Returns a new instance of the padLevels Format which pads + * levels to be the same length. This was previously exposed as + * { padLevels: true } to transports in `winston < 3.0.0`. + */ +module.exports = opts => new Padder(opts); + +module.exports.Padder + = module.exports.Format + = Padder; diff --git a/node_modules/logform/pretty-print.js b/node_modules/logform/pretty-print.js new file mode 100644 index 0000000..2ad3dbe --- /dev/null +++ b/node_modules/logform/pretty-print.js @@ -0,0 +1,29 @@ +'use strict'; + +const inspect = require('util').inspect; +const format = require('./format'); +const { LEVEL, MESSAGE, SPLAT } = require('triple-beam'); + +/* + * function prettyPrint (info) + * Returns a new instance of the prettyPrint Format that "prettyPrint" + * serializes `info` objects. This was previously exposed as + * { prettyPrint: true } to transports in `winston < 3.0.0`. + */ +module.exports = format((info, opts = {}) => { + // + // info[{LEVEL, MESSAGE, SPLAT}] are enumerable here. Since they + // are internal, we remove them before util.inspect so they + // are not printed. + // + const stripped = Object.assign({}, info); + + // Remark (indexzero): update this technique in April 2019 + // when node@6 is EOL + delete stripped[LEVEL]; + delete stripped[MESSAGE]; + delete stripped[SPLAT]; + + info[MESSAGE] = inspect(stripped, false, opts.depth || null, opts.colorize); + return info; +}); diff --git a/node_modules/logform/printf.js b/node_modules/logform/printf.js new file mode 100644 index 0000000..4e60bbc --- /dev/null +++ b/node_modules/logform/printf.js @@ -0,0 +1,26 @@ +'use strict'; + +const { MESSAGE } = require('triple-beam'); + +class Printf { + constructor(templateFn) { + this.template = templateFn; + } + + transform(info) { + info[MESSAGE] = this.template(info); + return info; + } +} + +/* + * function printf (templateFn) + * Returns a new instance of the printf Format that creates an + * intermediate prototype to store the template string-based formatter + * function. + */ +module.exports = opts => new Printf(opts); + +module.exports.Printf + = module.exports.Format + = Printf; diff --git a/node_modules/logform/simple.js b/node_modules/logform/simple.js new file mode 100644 index 0000000..af3254b --- /dev/null +++ b/node_modules/logform/simple.js @@ -0,0 +1,33 @@ +/* eslint no-undefined: 0 */ +'use strict'; + +const format = require('./format'); +const { MESSAGE } = require('triple-beam'); +const jsonStringify = require('safe-stable-stringify'); + +/* + * function simple (info) + * Returns a new instance of the simple format TransformStream + * which writes a simple representation of logs. + * + * const { level, message, splat, ...rest } = info; + * + * ${level}: ${message} if rest is empty + * ${level}: ${message} ${JSON.stringify(rest)} otherwise + */ +module.exports = format(info => { + const stringifiedRest = jsonStringify(Object.assign({}, info, { + level: undefined, + message: undefined, + splat: undefined + })); + + const padding = info.padding && info.padding[info.level] || ''; + if (stringifiedRest !== '{}') { + info[MESSAGE] = `${info.level}:${padding} ${info.message} ${stringifiedRest}`; + } else { + info[MESSAGE] = `${info.level}:${padding} ${info.message}`; + } + + return info; +}); diff --git a/node_modules/logform/splat.js b/node_modules/logform/splat.js new file mode 100644 index 0000000..08ff6f7 --- /dev/null +++ b/node_modules/logform/splat.js @@ -0,0 +1,132 @@ +'use strict'; + +const util = require('util'); +const { SPLAT } = require('triple-beam'); + +/** + * Captures the number of format (i.e. %s strings) in a given string. + * Based on `util.format`, see Node.js source: + * https://github.com/nodejs/node/blob/b1c8f15c5f169e021f7c46eb7b219de95fe97603/lib/util.js#L201-L230 + * @type {RegExp} + */ +const formatRegExp = /%[scdjifoO%]/g; + +/** + * Captures the number of escaped % signs in a format string (i.e. %s strings). + * @type {RegExp} + */ +const escapedPercent = /%%/g; + +class Splatter { + constructor(opts) { + this.options = opts; + } + + /** + * Check to see if tokens <= splat.length, assign { splat, meta } into the + * `info` accordingly, and write to this instance. + * + * @param {Info} info Logform info message. + * @param {String[]} tokens Set of string interpolation tokens. + * @returns {Info} Modified info message + * @private + */ + _splat(info, tokens) { + const msg = info.message; + const splat = info[SPLAT] || info.splat || []; + const percents = msg.match(escapedPercent); + const escapes = percents && percents.length || 0; + + // The expected splat is the number of tokens minus the number of escapes + // e.g. + // - { expectedSplat: 3 } '%d %s %j' + // - { expectedSplat: 5 } '[%s] %d%% %d%% %s %j' + // + // Any "meta" will be arugments in addition to the expected splat size + // regardless of type. e.g. + // + // logger.log('info', '%d%% %s %j', 100, 'wow', { such: 'js' }, { thisIsMeta: true }); + // would result in splat of four (4), but only three (3) are expected. Therefore: + // + // extraSplat = 3 - 4 = -1 + // metas = [100, 'wow', { such: 'js' }, { thisIsMeta: true }].splice(-1, -1 * -1); + // splat = [100, 'wow', { such: 'js' }] + const expectedSplat = tokens.length - escapes; + const extraSplat = expectedSplat - splat.length; + const metas = extraSplat < 0 + ? splat.splice(extraSplat, -1 * extraSplat) + : []; + + // Now that { splat } has been separated from any potential { meta }. we + // can assign this to the `info` object and write it to our format stream. + // If the additional metas are **NOT** objects or **LACK** enumerable properties + // you are going to have a bad time. + const metalen = metas.length; + if (metalen) { + for (let i = 0; i < metalen; i++) { + Object.assign(info, metas[i]); + } + } + + info.message = util.format(msg, ...splat); + return info; + } + + /** + * Transforms the `info` message by using `util.format` to complete + * any `info.message` provided it has string interpolation tokens. + * If no tokens exist then `info` is immutable. + * + * @param {Info} info Logform info message. + * @param {Object} opts Options for this instance. + * @returns {Info} Modified info message + */ + transform(info) { + const msg = info.message; + const splat = info[SPLAT] || info.splat; + + // No need to process anything if splat is undefined + if (!splat || !splat.length) { + return info; + } + + // Extract tokens, if none available default to empty array to + // ensure consistancy in expected results + const tokens = msg && msg.match && msg.match(formatRegExp); + + // This condition will take care of inputs with info[SPLAT] + // but no tokens present + if (!tokens && (splat || splat.length)) { + const metas = splat.length > 1 + ? splat.splice(0) + : splat; + + // Now that { splat } has been separated from any potential { meta }. we + // can assign this to the `info` object and write it to our format stream. + // If the additional metas are **NOT** objects or **LACK** enumerable properties + // you are going to have a bad time. + const metalen = metas.length; + if (metalen) { + for (let i = 0; i < metalen; i++) { + Object.assign(info, metas[i]); + } + } + + return info; + } + + if (tokens) { + return this._splat(info, tokens); + } + + return info; + } +} + +/* + * function splat (info) + * Returns a new instance of the splat format TransformStream + * which performs string interpolation from `info` objects. This was + * previously exposed implicitly in `winston < 3.0.0`. + */ +module.exports = opts => new Splatter(opts); diff --git a/node_modules/logform/timestamp.js b/node_modules/logform/timestamp.js new file mode 100644 index 0000000..706e488 --- /dev/null +++ b/node_modules/logform/timestamp.js @@ -0,0 +1,30 @@ +'use strict'; + +const fecha = require('fecha'); +const format = require('./format'); + +/* + * function timestamp (info) + * Returns a new instance of the timestamp Format which adds a timestamp + * to the info. It was previously available in winston < 3.0.0 as: + * + * - { timestamp: true } // `new Date.toISOString()` + * - { timestamp: function:String } // Value returned by `timestamp()` + */ +module.exports = format((info, opts = {}) => { + if (opts.format) { + info.timestamp = typeof opts.format === 'function' + ? opts.format() + : fecha.format(new Date(), opts.format); + } + + if (!info.timestamp) { + info.timestamp = new Date().toISOString(); + } + + if (opts.alias) { + info[opts.alias] = info.timestamp; + } + + return info; +}); diff --git a/node_modules/logform/tsconfig.json b/node_modules/logform/tsconfig.json new file mode 100644 index 0000000..1d494cf --- /dev/null +++ b/node_modules/logform/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts" + ] +} diff --git a/node_modules/logform/uncolorize.js b/node_modules/logform/uncolorize.js new file mode 100644 index 0000000..c3c020f --- /dev/null +++ b/node_modules/logform/uncolorize.js @@ -0,0 +1,27 @@ +'use strict'; + +const colors = require('@colors/colors/safe'); +const format = require('./format'); +const { MESSAGE } = require('triple-beam'); + +/* + * function uncolorize (info) + * Returns a new instance of the uncolorize Format that strips colors + * from `info` objects. This was previously exposed as { stripColors: true } + * to transports in `winston < 3.0.0`. + */ +module.exports = format((info, opts) => { + if (opts.level !== false) { + info.level = colors.strip(info.level); + } + + if (opts.message !== false) { + info.message = colors.strip(String(info.message)); + } + + if (opts.raw !== false && info[MESSAGE]) { + info[MESSAGE] = colors.strip(String(info[MESSAGE])); + } + + return info; +}); diff --git a/node_modules/math-intrinsics/.eslintrc b/node_modules/math-intrinsics/.eslintrc new file mode 100644 index 0000000..d90a1bc --- /dev/null +++ b/node_modules/math-intrinsics/.eslintrc @@ -0,0 +1,16 @@ +{ + "root": true, + + "extends": "@ljharb", + + "rules": { + "eqeqeq": ["error", "allow-null"], + "id-length": "off", + "new-cap": ["error", { + "capIsNewExceptions": [ + "RequireObjectCoercible", + "ToObject", + ], + }], + }, +} diff --git a/node_modules/math-intrinsics/.github/FUNDING.yml b/node_modules/math-intrinsics/.github/FUNDING.yml new file mode 100644 index 0000000..868f4ff --- /dev/null +++ b/node_modules/math-intrinsics/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [ljharb] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: npm/math-intrinsics +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with a single custom sponsorship URL diff --git a/node_modules/math-intrinsics/CHANGELOG.md b/node_modules/math-intrinsics/CHANGELOG.md new file mode 100644 index 0000000..9cf48f5 --- /dev/null +++ b/node_modules/math-intrinsics/CHANGELOG.md @@ -0,0 +1,24 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.1.0](https://github.com/es-shims/math-intrinsics/compare/v1.0.0...v1.1.0) - 2024-12-18 + +### Commits + +- [New] add `round` [`7cfb044`](https://github.com/es-shims/math-intrinsics/commit/7cfb04460c0fbdf1ca101eecbac3f59d11994130) +- [Tests] add attw [`e96be8f`](https://github.com/es-shims/math-intrinsics/commit/e96be8fbf58449eafe976446a0470e6ea561ad8d) +- [Dev Deps] update `@types/tape` [`30d0023`](https://github.com/es-shims/math-intrinsics/commit/30d00234ce8a3fa0094a61cd55d6686eb91e36ec) + +## v1.0.0 - 2024-12-11 + +### Commits + +- Initial implementation, tests, readme, types [`b898caa`](https://github.com/es-shims/math-intrinsics/commit/b898caae94e9994a94a42b8740f7bbcfd0a868fe) +- Initial commit [`02745b0`](https://github.com/es-shims/math-intrinsics/commit/02745b03a62255af8a332771987b55d127538d9c) +- [New] add `constants/maxArrayLength`, `mod` [`b978178`](https://github.com/es-shims/math-intrinsics/commit/b978178a57685bd23ed1c7efe2137f3784f5fcc5) +- npm init [`a39fc57`](https://github.com/es-shims/math-intrinsics/commit/a39fc57e5639a645d0bd52a0dc56202480223be2) +- Only apps should have lockfiles [`9451580`](https://github.com/es-shims/math-intrinsics/commit/94515800fb34db4f3cc7e99290042d45609ac7bd) diff --git a/node_modules/math-intrinsics/LICENSE b/node_modules/math-intrinsics/LICENSE new file mode 100644 index 0000000..34995e7 --- /dev/null +++ b/node_modules/math-intrinsics/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 ECMAScript Shims + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/math-intrinsics/README.md b/node_modules/math-intrinsics/README.md new file mode 100644 index 0000000..4a66dcf --- /dev/null +++ b/node_modules/math-intrinsics/README.md @@ -0,0 +1,50 @@ +# math-intrinsics [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +ES Math-related intrinsics and helpers, robustly cached. + + - `abs` + - `floor` + - `isFinite` + - `isInteger` + - `isNaN` + - `isNegativeZero` + - `max` + - `min` + - `mod` + - `pow` + - `round` + - `sign` + - `constants/maxArrayLength` + - `constants/maxSafeInteger` + - `constants/maxValue` + + +## Tests +Simply clone the repo, `npm install`, and run `npm test` + +## Security + +Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report. + +[package-url]: https://npmjs.org/package/math-intrinsics +[npm-version-svg]: https://versionbadg.es/es-shims/math-intrinsics.svg +[deps-svg]: https://david-dm.org/es-shims/math-intrinsics.svg +[deps-url]: https://david-dm.org/es-shims/math-intrinsics +[dev-deps-svg]: https://david-dm.org/es-shims/math-intrinsics/dev-status.svg +[dev-deps-url]: https://david-dm.org/es-shims/math-intrinsics#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/math-intrinsics.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/math-intrinsics.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/es-object.svg +[downloads-url]: https://npm-stat.com/charts.html?package=math-intrinsics +[codecov-image]: https://codecov.io/gh/es-shims/math-intrinsics/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/es-shims/math-intrinsics/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/math-intrinsics +[actions-url]: https://github.com/es-shims/math-intrinsics/actions diff --git a/node_modules/math-intrinsics/abs.d.ts b/node_modules/math-intrinsics/abs.d.ts new file mode 100644 index 0000000..14ad9c6 --- /dev/null +++ b/node_modules/math-intrinsics/abs.d.ts @@ -0,0 +1 @@ +export = Math.abs; \ No newline at end of file diff --git a/node_modules/math-intrinsics/abs.js b/node_modules/math-intrinsics/abs.js new file mode 100644 index 0000000..a751424 --- /dev/null +++ b/node_modules/math-intrinsics/abs.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./abs')} */ +module.exports = Math.abs; diff --git a/node_modules/math-intrinsics/constants/maxArrayLength.d.ts b/node_modules/math-intrinsics/constants/maxArrayLength.d.ts new file mode 100644 index 0000000..b92d46b --- /dev/null +++ b/node_modules/math-intrinsics/constants/maxArrayLength.d.ts @@ -0,0 +1,3 @@ +declare const MAX_ARRAY_LENGTH: 4294967295; + +export = MAX_ARRAY_LENGTH; \ No newline at end of file diff --git a/node_modules/math-intrinsics/constants/maxArrayLength.js b/node_modules/math-intrinsics/constants/maxArrayLength.js new file mode 100644 index 0000000..cfc6aff --- /dev/null +++ b/node_modules/math-intrinsics/constants/maxArrayLength.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./maxArrayLength')} */ +module.exports = 4294967295; // Math.pow(2, 32) - 1; diff --git a/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts b/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts new file mode 100644 index 0000000..fee3f62 --- /dev/null +++ b/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts @@ -0,0 +1,3 @@ +declare const MAX_SAFE_INTEGER: 9007199254740991; + +export = MAX_SAFE_INTEGER; \ No newline at end of file diff --git a/node_modules/math-intrinsics/constants/maxSafeInteger.js b/node_modules/math-intrinsics/constants/maxSafeInteger.js new file mode 100644 index 0000000..b568ad3 --- /dev/null +++ b/node_modules/math-intrinsics/constants/maxSafeInteger.js @@ -0,0 +1,5 @@ +'use strict'; + +/** @type {import('./maxSafeInteger')} */ +// eslint-disable-next-line no-extra-parens +module.exports = /** @type {import('./maxSafeInteger')} */ (Number.MAX_SAFE_INTEGER) || 9007199254740991; // Math.pow(2, 53) - 1; diff --git a/node_modules/math-intrinsics/constants/maxValue.d.ts b/node_modules/math-intrinsics/constants/maxValue.d.ts new file mode 100644 index 0000000..292cb82 --- /dev/null +++ b/node_modules/math-intrinsics/constants/maxValue.d.ts @@ -0,0 +1,3 @@ +declare const MAX_VALUE: 1.7976931348623157e+308; + +export = MAX_VALUE; diff --git a/node_modules/math-intrinsics/constants/maxValue.js b/node_modules/math-intrinsics/constants/maxValue.js new file mode 100644 index 0000000..a2202dc --- /dev/null +++ b/node_modules/math-intrinsics/constants/maxValue.js @@ -0,0 +1,5 @@ +'use strict'; + +/** @type {import('./maxValue')} */ +// eslint-disable-next-line no-extra-parens +module.exports = /** @type {import('./maxValue')} */ (Number.MAX_VALUE) || 1.7976931348623157e+308; diff --git a/node_modules/math-intrinsics/floor.d.ts b/node_modules/math-intrinsics/floor.d.ts new file mode 100644 index 0000000..9265236 --- /dev/null +++ b/node_modules/math-intrinsics/floor.d.ts @@ -0,0 +1 @@ +export = Math.floor; \ No newline at end of file diff --git a/node_modules/math-intrinsics/floor.js b/node_modules/math-intrinsics/floor.js new file mode 100644 index 0000000..ab0e5d7 --- /dev/null +++ b/node_modules/math-intrinsics/floor.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./floor')} */ +module.exports = Math.floor; diff --git a/node_modules/math-intrinsics/isFinite.d.ts b/node_modules/math-intrinsics/isFinite.d.ts new file mode 100644 index 0000000..6daae33 --- /dev/null +++ b/node_modules/math-intrinsics/isFinite.d.ts @@ -0,0 +1,3 @@ +declare function isFinite(x: unknown): x is number | bigint; + +export = isFinite; \ No newline at end of file diff --git a/node_modules/math-intrinsics/isFinite.js b/node_modules/math-intrinsics/isFinite.js new file mode 100644 index 0000000..b201a5a --- /dev/null +++ b/node_modules/math-intrinsics/isFinite.js @@ -0,0 +1,12 @@ +'use strict'; + +var $isNaN = require('./isNaN'); + +/** @type {import('./isFinite')} */ +module.exports = function isFinite(x) { + return (typeof x === 'number' || typeof x === 'bigint') + && !$isNaN(x) + && x !== Infinity + && x !== -Infinity; +}; + diff --git a/node_modules/math-intrinsics/isInteger.d.ts b/node_modules/math-intrinsics/isInteger.d.ts new file mode 100644 index 0000000..13935a8 --- /dev/null +++ b/node_modules/math-intrinsics/isInteger.d.ts @@ -0,0 +1,3 @@ +declare function isInteger(argument: unknown): argument is number; + +export = isInteger; \ No newline at end of file diff --git a/node_modules/math-intrinsics/isInteger.js b/node_modules/math-intrinsics/isInteger.js new file mode 100644 index 0000000..4b1b9a5 --- /dev/null +++ b/node_modules/math-intrinsics/isInteger.js @@ -0,0 +1,16 @@ +'use strict'; + +var $abs = require('./abs'); +var $floor = require('./floor'); + +var $isNaN = require('./isNaN'); +var $isFinite = require('./isFinite'); + +/** @type {import('./isInteger')} */ +module.exports = function isInteger(argument) { + if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) { + return false; + } + var absValue = $abs(argument); + return $floor(absValue) === absValue; +}; diff --git a/node_modules/math-intrinsics/isNaN.d.ts b/node_modules/math-intrinsics/isNaN.d.ts new file mode 100644 index 0000000..c1d4c55 --- /dev/null +++ b/node_modules/math-intrinsics/isNaN.d.ts @@ -0,0 +1 @@ +export = Number.isNaN; \ No newline at end of file diff --git a/node_modules/math-intrinsics/isNaN.js b/node_modules/math-intrinsics/isNaN.js new file mode 100644 index 0000000..e36475c --- /dev/null +++ b/node_modules/math-intrinsics/isNaN.js @@ -0,0 +1,6 @@ +'use strict'; + +/** @type {import('./isNaN')} */ +module.exports = Number.isNaN || function isNaN(a) { + return a !== a; +}; diff --git a/node_modules/math-intrinsics/isNegativeZero.d.ts b/node_modules/math-intrinsics/isNegativeZero.d.ts new file mode 100644 index 0000000..7ad8819 --- /dev/null +++ b/node_modules/math-intrinsics/isNegativeZero.d.ts @@ -0,0 +1,3 @@ +declare function isNegativeZero(x: unknown): boolean; + +export = isNegativeZero; \ No newline at end of file diff --git a/node_modules/math-intrinsics/isNegativeZero.js b/node_modules/math-intrinsics/isNegativeZero.js new file mode 100644 index 0000000..b69adcc --- /dev/null +++ b/node_modules/math-intrinsics/isNegativeZero.js @@ -0,0 +1,6 @@ +'use strict'; + +/** @type {import('./isNegativeZero')} */ +module.exports = function isNegativeZero(x) { + return x === 0 && 1 / x === 1 / -0; +}; diff --git a/node_modules/math-intrinsics/max.d.ts b/node_modules/math-intrinsics/max.d.ts new file mode 100644 index 0000000..ad6f43e --- /dev/null +++ b/node_modules/math-intrinsics/max.d.ts @@ -0,0 +1 @@ +export = Math.max; \ No newline at end of file diff --git a/node_modules/math-intrinsics/max.js b/node_modules/math-intrinsics/max.js new file mode 100644 index 0000000..edb55df --- /dev/null +++ b/node_modules/math-intrinsics/max.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./max')} */ +module.exports = Math.max; diff --git a/node_modules/math-intrinsics/min.d.ts b/node_modules/math-intrinsics/min.d.ts new file mode 100644 index 0000000..fd90f2d --- /dev/null +++ b/node_modules/math-intrinsics/min.d.ts @@ -0,0 +1 @@ +export = Math.min; \ No newline at end of file diff --git a/node_modules/math-intrinsics/min.js b/node_modules/math-intrinsics/min.js new file mode 100644 index 0000000..5a4a7c7 --- /dev/null +++ b/node_modules/math-intrinsics/min.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./min')} */ +module.exports = Math.min; diff --git a/node_modules/math-intrinsics/mod.d.ts b/node_modules/math-intrinsics/mod.d.ts new file mode 100644 index 0000000..549dbd4 --- /dev/null +++ b/node_modules/math-intrinsics/mod.d.ts @@ -0,0 +1,3 @@ +declare function mod(number: number, modulo: number): number; + +export = mod; \ No newline at end of file diff --git a/node_modules/math-intrinsics/mod.js b/node_modules/math-intrinsics/mod.js new file mode 100644 index 0000000..4a98362 --- /dev/null +++ b/node_modules/math-intrinsics/mod.js @@ -0,0 +1,9 @@ +'use strict'; + +var $floor = require('./floor'); + +/** @type {import('./mod')} */ +module.exports = function mod(number, modulo) { + var remain = number % modulo; + return $floor(remain >= 0 ? remain : remain + modulo); +}; diff --git a/node_modules/math-intrinsics/package.json b/node_modules/math-intrinsics/package.json new file mode 100644 index 0000000..0676273 --- /dev/null +++ b/node_modules/math-intrinsics/package.json @@ -0,0 +1,86 @@ +{ + "name": "math-intrinsics", + "version": "1.1.0", + "description": "ES Math-related intrinsics and helpers, robustly cached.", + "main": false, + "exports": { + "./abs": "./abs.js", + "./floor": "./floor.js", + "./isFinite": "./isFinite.js", + "./isInteger": "./isInteger.js", + "./isNaN": "./isNaN.js", + "./isNegativeZero": "./isNegativeZero.js", + "./max": "./max.js", + "./min": "./min.js", + "./mod": "./mod.js", + "./pow": "./pow.js", + "./sign": "./sign.js", + "./round": "./round.js", + "./constants/maxArrayLength": "./constants/maxArrayLength.js", + "./constants/maxSafeInteger": "./constants/maxSafeInteger.js", + "./constants/maxValue": "./constants/maxValue.js", + "./package.json": "./package.json" + }, + "sideEffects": false, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "pretest": "npm run lint", + "test": "npm run tests-only", + "tests-only": "nyc tape 'test/**/*.js'", + "posttest": "npx npm@'>= 10.2' audit --production", + "prelint": "evalmd README.md && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc && attw -P", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/es-shims/math-intrinsics.git" + }, + "author": "Jordan Harband ", + "license": "MIT", + "bugs": { + "url": "https://github.com/es-shims/math-intrinsics/issues" + }, + "homepage": "https://github.com/es-shims/math-intrinsics#readme", + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.1", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.2", + "@types/for-each": "^0.3.3", + "@types/object-inspect": "^1.13.0", + "@types/tape": "^5.8.0", + "auto-changelog": "^2.5.0", + "eclint": "^2.8.1", + "es-value-fixtures": "^1.5.0", + "eslint": "^8.8.0", + "evalmd": "^0.0.19", + "for-each": "^0.3.3", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "object-inspect": "^1.13.3", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} diff --git a/node_modules/math-intrinsics/pow.d.ts b/node_modules/math-intrinsics/pow.d.ts new file mode 100644 index 0000000..5873c44 --- /dev/null +++ b/node_modules/math-intrinsics/pow.d.ts @@ -0,0 +1 @@ +export = Math.pow; \ No newline at end of file diff --git a/node_modules/math-intrinsics/pow.js b/node_modules/math-intrinsics/pow.js new file mode 100644 index 0000000..c0a4103 --- /dev/null +++ b/node_modules/math-intrinsics/pow.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./pow')} */ +module.exports = Math.pow; diff --git a/node_modules/math-intrinsics/round.d.ts b/node_modules/math-intrinsics/round.d.ts new file mode 100644 index 0000000..da1fde3 --- /dev/null +++ b/node_modules/math-intrinsics/round.d.ts @@ -0,0 +1 @@ +export = Math.round; \ No newline at end of file diff --git a/node_modules/math-intrinsics/round.js b/node_modules/math-intrinsics/round.js new file mode 100644 index 0000000..b792156 --- /dev/null +++ b/node_modules/math-intrinsics/round.js @@ -0,0 +1,4 @@ +'use strict'; + +/** @type {import('./round')} */ +module.exports = Math.round; diff --git a/node_modules/math-intrinsics/sign.d.ts b/node_modules/math-intrinsics/sign.d.ts new file mode 100644 index 0000000..c49ceca --- /dev/null +++ b/node_modules/math-intrinsics/sign.d.ts @@ -0,0 +1,3 @@ +declare function sign(x: number): number; + +export = sign; \ No newline at end of file diff --git a/node_modules/math-intrinsics/sign.js b/node_modules/math-intrinsics/sign.js new file mode 100644 index 0000000..9e5173c --- /dev/null +++ b/node_modules/math-intrinsics/sign.js @@ -0,0 +1,11 @@ +'use strict'; + +var $isNaN = require('./isNaN'); + +/** @type {import('./sign')} */ +module.exports = function sign(number) { + if ($isNaN(number) || number === 0) { + return number; + } + return number < 0 ? -1 : +1; +}; diff --git a/node_modules/math-intrinsics/test/index.js b/node_modules/math-intrinsics/test/index.js new file mode 100644 index 0000000..0f90a5d --- /dev/null +++ b/node_modules/math-intrinsics/test/index.js @@ -0,0 +1,192 @@ +'use strict'; + +var test = require('tape'); +var v = require('es-value-fixtures'); +var forEach = require('for-each'); +var inspect = require('object-inspect'); + +var abs = require('../abs'); +var floor = require('../floor'); +var isFinite = require('../isFinite'); +var isInteger = require('../isInteger'); +var isNaN = require('../isNaN'); +var isNegativeZero = require('../isNegativeZero'); +var max = require('../max'); +var min = require('../min'); +var mod = require('../mod'); +var pow = require('../pow'); +var round = require('../round'); +var sign = require('../sign'); + +var maxArrayLength = require('../constants/maxArrayLength'); +var maxSafeInteger = require('../constants/maxSafeInteger'); +var maxValue = require('../constants/maxValue'); + +test('abs', function (t) { + t.equal(abs(-1), 1, 'abs(-1) === 1'); + t.equal(abs(+1), 1, 'abs(+1) === 1'); + t.equal(abs(+0), +0, 'abs(+0) === +0'); + t.equal(abs(-0), +0, 'abs(-0) === +0'); + + t.end(); +}); + +test('floor', function (t) { + t.equal(floor(-1.1), -2, 'floor(-1.1) === -2'); + t.equal(floor(+1.1), 1, 'floor(+1.1) === 1'); + t.equal(floor(+0), +0, 'floor(+0) === +0'); + t.equal(floor(-0), -0, 'floor(-0) === -0'); + t.equal(floor(-Infinity), -Infinity, 'floor(-Infinity) === -Infinity'); + t.equal(floor(Number(Infinity)), Number(Infinity), 'floor(+Infinity) === +Infinity'); + t.equal(floor(NaN), NaN, 'floor(NaN) === NaN'); + t.equal(floor(0), +0, 'floor(0) === +0'); + t.equal(floor(-0), -0, 'floor(-0) === -0'); + t.equal(floor(1), 1, 'floor(1) === 1'); + t.equal(floor(-1), -1, 'floor(-1) === -1'); + t.equal(floor(1.1), 1, 'floor(1.1) === 1'); + t.equal(floor(-1.1), -2, 'floor(-1.1) === -2'); + t.equal(floor(maxValue), maxValue, 'floor(maxValue) === maxValue'); + t.equal(floor(maxSafeInteger), maxSafeInteger, 'floor(maxSafeInteger) === maxSafeInteger'); + + t.end(); +}); + +test('isFinite', function (t) { + t.equal(isFinite(0), true, 'isFinite(+0) === true'); + t.equal(isFinite(-0), true, 'isFinite(-0) === true'); + t.equal(isFinite(1), true, 'isFinite(1) === true'); + t.equal(isFinite(Infinity), false, 'isFinite(Infinity) === false'); + t.equal(isFinite(-Infinity), false, 'isFinite(-Infinity) === false'); + t.equal(isFinite(NaN), false, 'isFinite(NaN) === false'); + + forEach(v.nonNumbers, function (nonNumber) { + t.equal(isFinite(nonNumber), false, 'isFinite(' + inspect(nonNumber) + ') === false'); + }); + + t.end(); +}); + +test('isInteger', function (t) { + forEach([].concat( + // @ts-expect-error TS sucks with concat + v.nonNumbers, + v.nonIntegerNumbers + ), function (nonInteger) { + t.equal(isInteger(nonInteger), false, 'isInteger(' + inspect(nonInteger) + ') === false'); + }); + + t.end(); +}); + +test('isNaN', function (t) { + forEach([].concat( + // @ts-expect-error TS sucks with concat + v.nonNumbers, + v.infinities, + v.zeroes, + v.integerNumbers + ), function (nonNaN) { + t.equal(isNaN(nonNaN), false, 'isNaN(' + inspect(nonNaN) + ') === false'); + }); + + t.equal(isNaN(NaN), true, 'isNaN(NaN) === true'); + + t.end(); +}); + +test('isNegativeZero', function (t) { + t.equal(isNegativeZero(-0), true, 'isNegativeZero(-0) === true'); + t.equal(isNegativeZero(+0), false, 'isNegativeZero(+0) === false'); + t.equal(isNegativeZero(1), false, 'isNegativeZero(1) === false'); + t.equal(isNegativeZero(-1), false, 'isNegativeZero(-1) === false'); + t.equal(isNegativeZero(NaN), false, 'isNegativeZero(NaN) === false'); + t.equal(isNegativeZero(Infinity), false, 'isNegativeZero(Infinity) === false'); + t.equal(isNegativeZero(-Infinity), false, 'isNegativeZero(-Infinity) === false'); + + forEach(v.nonNumbers, function (nonNumber) { + t.equal(isNegativeZero(nonNumber), false, 'isNegativeZero(' + inspect(nonNumber) + ') === false'); + }); + + t.end(); +}); + +test('max', function (t) { + t.equal(max(1, 2), 2, 'max(1, 2) === 2'); + t.equal(max(1, 2, 3), 3, 'max(1, 2, 3) === 3'); + t.equal(max(1, 2, 3, 4), 4, 'max(1, 2, 3, 4) === 4'); + t.equal(max(1, 2, 3, 4, 5), 5, 'max(1, 2, 3, 4, 5) === 5'); + t.equal(max(1, 2, 3, 4, 5, 6), 6, 'max(1, 2, 3, 4, 5, 6) === 6'); + t.equal(max(1, 2, 3, 4, 5, 6, 7), 7, 'max(1, 2, 3, 4, 5, 6, 7) === 7'); + + t.end(); +}); + +test('min', function (t) { + t.equal(min(1, 2), 1, 'min(1, 2) === 1'); + t.equal(min(1, 2, 3), 1, 'min(1, 2, 3) === 1'); + t.equal(min(1, 2, 3, 4), 1, 'min(1, 2, 3, 4) === 1'); + t.equal(min(1, 2, 3, 4, 5), 1, 'min(1, 2, 3, 4, 5) === 1'); + t.equal(min(1, 2, 3, 4, 5, 6), 1, 'min(1, 2, 3, 4, 5, 6) === 1'); + + t.end(); +}); + +test('mod', function (t) { + t.equal(mod(1, 2), 1, 'mod(1, 2) === 1'); + t.equal(mod(2, 2), 0, 'mod(2, 2) === 0'); + t.equal(mod(3, 2), 1, 'mod(3, 2) === 1'); + t.equal(mod(4, 2), 0, 'mod(4, 2) === 0'); + t.equal(mod(5, 2), 1, 'mod(5, 2) === 1'); + t.equal(mod(6, 2), 0, 'mod(6, 2) === 0'); + t.equal(mod(7, 2), 1, 'mod(7, 2) === 1'); + t.equal(mod(8, 2), 0, 'mod(8, 2) === 0'); + t.equal(mod(9, 2), 1, 'mod(9, 2) === 1'); + t.equal(mod(10, 2), 0, 'mod(10, 2) === 0'); + t.equal(mod(11, 2), 1, 'mod(11, 2) === 1'); + + t.end(); +}); + +test('pow', function (t) { + t.equal(pow(2, 2), 4, 'pow(2, 2) === 4'); + t.equal(pow(2, 3), 8, 'pow(2, 3) === 8'); + t.equal(pow(2, 4), 16, 'pow(2, 4) === 16'); + t.equal(pow(2, 5), 32, 'pow(2, 5) === 32'); + t.equal(pow(2, 6), 64, 'pow(2, 6) === 64'); + t.equal(pow(2, 7), 128, 'pow(2, 7) === 128'); + t.equal(pow(2, 8), 256, 'pow(2, 8) === 256'); + t.equal(pow(2, 9), 512, 'pow(2, 9) === 512'); + t.equal(pow(2, 10), 1024, 'pow(2, 10) === 1024'); + + t.end(); +}); + +test('round', function (t) { + t.equal(round(1.1), 1, 'round(1.1) === 1'); + t.equal(round(1.5), 2, 'round(1.5) === 2'); + t.equal(round(1.9), 2, 'round(1.9) === 2'); + + t.end(); +}); + +test('sign', function (t) { + t.equal(sign(-1), -1, 'sign(-1) === -1'); + t.equal(sign(+1), +1, 'sign(+1) === +1'); + t.equal(sign(+0), +0, 'sign(+0) === +0'); + t.equal(sign(-0), -0, 'sign(-0) === -0'); + t.equal(sign(NaN), NaN, 'sign(NaN) === NaN'); + t.equal(sign(Infinity), +1, 'sign(Infinity) === +1'); + t.equal(sign(-Infinity), -1, 'sign(-Infinity) === -1'); + t.equal(sign(maxValue), +1, 'sign(maxValue) === +1'); + t.equal(sign(maxSafeInteger), +1, 'sign(maxSafeInteger) === +1'); + + t.end(); +}); + +test('constants', function (t) { + t.equal(typeof maxArrayLength, 'number', 'typeof maxArrayLength === "number"'); + t.equal(typeof maxSafeInteger, 'number', 'typeof maxSafeInteger === "number"'); + t.equal(typeof maxValue, 'number', 'typeof maxValue === "number"'); + + t.end(); +}); diff --git a/node_modules/math-intrinsics/tsconfig.json b/node_modules/math-intrinsics/tsconfig.json new file mode 100644 index 0000000..b131000 --- /dev/null +++ b/node_modules/math-intrinsics/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "@ljharb/tsconfig", +} diff --git a/node_modules/media-typer/HISTORY.md b/node_modules/media-typer/HISTORY.md new file mode 100644 index 0000000..62c2003 --- /dev/null +++ b/node_modules/media-typer/HISTORY.md @@ -0,0 +1,22 @@ +0.3.0 / 2014-09-07 +================== + + * Support Node.js 0.6 + * Throw error when parameter format invalid on parse + +0.2.0 / 2014-06-18 +================== + + * Add `typer.format()` to format media types + +0.1.0 / 2014-06-17 +================== + + * Accept `req` as argument to `parse` + * Accept `res` as argument to `parse` + * Parse media type with extra LWS between type and first parameter + +0.0.0 / 2014-06-13 +================== + + * Initial implementation diff --git a/node_modules/media-typer/LICENSE b/node_modules/media-typer/LICENSE new file mode 100644 index 0000000..b7dce6c --- /dev/null +++ b/node_modules/media-typer/LICENSE @@ -0,0 +1,22 @@ +(The MIT License) + +Copyright (c) 2014 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/media-typer/README.md b/node_modules/media-typer/README.md new file mode 100644 index 0000000..d8df623 --- /dev/null +++ b/node_modules/media-typer/README.md @@ -0,0 +1,81 @@ +# media-typer + +[![NPM Version][npm-image]][npm-url] +[![NPM Downloads][downloads-image]][downloads-url] +[![Node.js Version][node-version-image]][node-version-url] +[![Build Status][travis-image]][travis-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +Simple RFC 6838 media type parser + +## Installation + +```sh +$ npm install media-typer +``` + +## API + +```js +var typer = require('media-typer') +``` + +### typer.parse(string) + +```js +var obj = typer.parse('image/svg+xml; charset=utf-8') +``` + +Parse a media type string. This will return an object with the following +properties (examples are shown for the string `'image/svg+xml; charset=utf-8'`): + + - `type`: The type of the media type (always lower case). Example: `'image'` + + - `subtype`: The subtype of the media type (always lower case). Example: `'svg'` + + - `suffix`: The suffix of the media type (always lower case). Example: `'xml'` + + - `parameters`: An object of the parameters in the media type (name of parameter always lower case). Example: `{charset: 'utf-8'}` + +### typer.parse(req) + +```js +var obj = typer.parse(req) +``` + +Parse the `content-type` header from the given `req`. Short-cut for +`typer.parse(req.headers['content-type'])`. + +### typer.parse(res) + +```js +var obj = typer.parse(res) +``` + +Parse the `content-type` header set on the given `res`. Short-cut for +`typer.parse(res.getHeader('content-type'))`. + +### typer.format(obj) + +```js +var obj = typer.format({type: 'image', subtype: 'svg', suffix: 'xml'}) +``` + +Format an object into a media type string. This will return a string of the +mime type for the given object. For the properties of the object, see the +documentation for `typer.parse(string)`. + +## License + +[MIT](LICENSE) + +[npm-image]: https://img.shields.io/npm/v/media-typer.svg?style=flat +[npm-url]: https://npmjs.org/package/media-typer +[node-version-image]: https://img.shields.io/badge/node.js-%3E%3D_0.6-brightgreen.svg?style=flat +[node-version-url]: http://nodejs.org/download/ +[travis-image]: https://img.shields.io/travis/jshttp/media-typer.svg?style=flat +[travis-url]: https://travis-ci.org/jshttp/media-typer +[coveralls-image]: https://img.shields.io/coveralls/jshttp/media-typer.svg?style=flat +[coveralls-url]: https://coveralls.io/r/jshttp/media-typer +[downloads-image]: https://img.shields.io/npm/dm/media-typer.svg?style=flat +[downloads-url]: https://npmjs.org/package/media-typer diff --git a/node_modules/media-typer/index.js b/node_modules/media-typer/index.js new file mode 100644 index 0000000..07f7295 --- /dev/null +++ b/node_modules/media-typer/index.js @@ -0,0 +1,270 @@ +/*! + * media-typer + * Copyright(c) 2014 Douglas Christopher Wilson + * MIT Licensed + */ + +/** + * RegExp to match *( ";" parameter ) in RFC 2616 sec 3.7 + * + * parameter = token "=" ( token | quoted-string ) + * token = 1* + * separators = "(" | ")" | "<" | ">" | "@" + * | "," | ";" | ":" | "\" | <"> + * | "/" | "[" | "]" | "?" | "=" + * | "{" | "}" | SP | HT + * quoted-string = ( <"> *(qdtext | quoted-pair ) <"> ) + * qdtext = > + * quoted-pair = "\" CHAR + * CHAR = + * TEXT = + * LWS = [CRLF] 1*( SP | HT ) + * CRLF = CR LF + * CR = + * LF = + * SP = + * SHT = + * CTL = + * OCTET = + */ +var paramRegExp = /; *([!#$%&'\*\+\-\.0-9A-Z\^_`a-z\|~]+) *= *("(?:[ !\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u0020-\u007e])*"|[!#$%&'\*\+\-\.0-9A-Z\^_`a-z\|~]+) */g; +var textRegExp = /^[\u0020-\u007e\u0080-\u00ff]+$/ +var tokenRegExp = /^[!#$%&'\*\+\-\.0-9A-Z\^_`a-z\|~]+$/ + +/** + * RegExp to match quoted-pair in RFC 2616 + * + * quoted-pair = "\" CHAR + * CHAR = + */ +var qescRegExp = /\\([\u0000-\u007f])/g; + +/** + * RegExp to match chars that must be quoted-pair in RFC 2616 + */ +var quoteRegExp = /([\\"])/g; + +/** + * RegExp to match type in RFC 6838 + * + * type-name = restricted-name + * subtype-name = restricted-name + * restricted-name = restricted-name-first *126restricted-name-chars + * restricted-name-first = ALPHA / DIGIT + * restricted-name-chars = ALPHA / DIGIT / "!" / "#" / + * "$" / "&" / "-" / "^" / "_" + * restricted-name-chars =/ "." ; Characters before first dot always + * ; specify a facet name + * restricted-name-chars =/ "+" ; Characters after last plus always + * ; specify a structured syntax suffix + * ALPHA = %x41-5A / %x61-7A ; A-Z / a-z + * DIGIT = %x30-39 ; 0-9 + */ +var subtypeNameRegExp = /^[A-Za-z0-9][A-Za-z0-9!#$&^_.-]{0,126}$/ +var typeNameRegExp = /^[A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126}$/ +var typeRegExp = /^ *([A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126})\/([A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}) *$/; + +/** + * Module exports. + */ + +exports.format = format +exports.parse = parse + +/** + * Format object to media type. + * + * @param {object} obj + * @return {string} + * @api public + */ + +function format(obj) { + if (!obj || typeof obj !== 'object') { + throw new TypeError('argument obj is required') + } + + var parameters = obj.parameters + var subtype = obj.subtype + var suffix = obj.suffix + var type = obj.type + + if (!type || !typeNameRegExp.test(type)) { + throw new TypeError('invalid type') + } + + if (!subtype || !subtypeNameRegExp.test(subtype)) { + throw new TypeError('invalid subtype') + } + + // format as type/subtype + var string = type + '/' + subtype + + // append +suffix + if (suffix) { + if (!typeNameRegExp.test(suffix)) { + throw new TypeError('invalid suffix') + } + + string += '+' + suffix + } + + // append parameters + if (parameters && typeof parameters === 'object') { + var param + var params = Object.keys(parameters).sort() + + for (var i = 0; i < params.length; i++) { + param = params[i] + + if (!tokenRegExp.test(param)) { + throw new TypeError('invalid parameter name') + } + + string += '; ' + param + '=' + qstring(parameters[param]) + } + } + + return string +} + +/** + * Parse media type to object. + * + * @param {string|object} string + * @return {Object} + * @api public + */ + +function parse(string) { + if (!string) { + throw new TypeError('argument string is required') + } + + // support req/res-like objects as argument + if (typeof string === 'object') { + string = getcontenttype(string) + } + + if (typeof string !== 'string') { + throw new TypeError('argument string is required to be a string') + } + + var index = string.indexOf(';') + var type = index !== -1 + ? string.substr(0, index) + : string + + var key + var match + var obj = splitType(type) + var params = {} + var value + + paramRegExp.lastIndex = index + + while (match = paramRegExp.exec(string)) { + if (match.index !== index) { + throw new TypeError('invalid parameter format') + } + + index += match[0].length + key = match[1].toLowerCase() + value = match[2] + + if (value[0] === '"') { + // remove quotes and escapes + value = value + .substr(1, value.length - 2) + .replace(qescRegExp, '$1') + } + + params[key] = value + } + + if (index !== -1 && index !== string.length) { + throw new TypeError('invalid parameter format') + } + + obj.parameters = params + + return obj +} + +/** + * Get content-type from req/res objects. + * + * @param {object} + * @return {Object} + * @api private + */ + +function getcontenttype(obj) { + if (typeof obj.getHeader === 'function') { + // res-like + return obj.getHeader('content-type') + } + + if (typeof obj.headers === 'object') { + // req-like + return obj.headers && obj.headers['content-type'] + } +} + +/** + * Quote a string if necessary. + * + * @param {string} val + * @return {string} + * @api private + */ + +function qstring(val) { + var str = String(val) + + // no need to quote tokens + if (tokenRegExp.test(str)) { + return str + } + + if (str.length > 0 && !textRegExp.test(str)) { + throw new TypeError('invalid parameter value') + } + + return '"' + str.replace(quoteRegExp, '\\$1') + '"' +} + +/** + * Simply "type/subtype+siffx" into parts. + * + * @param {string} string + * @return {Object} + * @api private + */ + +function splitType(string) { + var match = typeRegExp.exec(string.toLowerCase()) + + if (!match) { + throw new TypeError('invalid media type') + } + + var type = match[1] + var subtype = match[2] + var suffix + + // suffix after last + + var index = subtype.lastIndexOf('+') + if (index !== -1) { + suffix = subtype.substr(index + 1) + subtype = subtype.substr(0, index) + } + + var obj = { + type: type, + subtype: subtype, + suffix: suffix + } + + return obj +} diff --git a/node_modules/media-typer/package.json b/node_modules/media-typer/package.json new file mode 100644 index 0000000..8cf3ebc --- /dev/null +++ b/node_modules/media-typer/package.json @@ -0,0 +1,26 @@ +{ + "name": "media-typer", + "description": "Simple RFC 6838 media type parser and formatter", + "version": "0.3.0", + "author": "Douglas Christopher Wilson ", + "license": "MIT", + "repository": "jshttp/media-typer", + "devDependencies": { + "istanbul": "0.3.2", + "mocha": "~1.21.4", + "should": "~4.0.4" + }, + "files": [ + "LICENSE", + "HISTORY.md", + "index.js" + ], + "engines": { + "node": ">= 0.6" + }, + "scripts": { + "test": "mocha --reporter spec --check-leaks --bail test/", + "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", + "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" + } +} diff --git a/node_modules/merge-descriptors/HISTORY.md b/node_modules/merge-descriptors/HISTORY.md new file mode 100644 index 0000000..486771f --- /dev/null +++ b/node_modules/merge-descriptors/HISTORY.md @@ -0,0 +1,21 @@ +1.0.1 / 2016-01-17 +================== + + * perf: enable strict mode + +1.0.0 / 2015-03-01 +================== + + * Add option to only add new descriptors + * Add simple argument validation + * Add jsdoc to source file + +0.0.2 / 2013-12-14 +================== + + * Move repository to `component` organization + +0.0.1 / 2013-10-29 +================== + + * Initial release diff --git a/node_modules/merge-descriptors/LICENSE b/node_modules/merge-descriptors/LICENSE new file mode 100644 index 0000000..274bfd8 --- /dev/null +++ b/node_modules/merge-descriptors/LICENSE @@ -0,0 +1,23 @@ +(The MIT License) + +Copyright (c) 2013 Jonathan Ong +Copyright (c) 2015 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/merge-descriptors/README.md b/node_modules/merge-descriptors/README.md new file mode 100644 index 0000000..3403f4a --- /dev/null +++ b/node_modules/merge-descriptors/README.md @@ -0,0 +1,49 @@ +# merge-descriptors + +[![NPM Version][npm-image]][npm-url] +[![NPM Downloads][downloads-image]][downloads-url] +[![Build Status][travis-image]][travis-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +Merge objects using descriptors. + +```js +var thing = { + get name() { + return 'jon' + } +} + +var animal = { + +} + +merge(animal, thing) + +animal.name === 'jon' +``` + +## API + +### merge(destination, source) + +Redefines `destination`'s descriptors with `source`'s. The return value is the +`destination` object. + +### merge(destination, source, false) + +Defines `source`'s descriptors on `destination` if `destination` does not have +a descriptor by the same name. The return value is the `destination` object. + +## License + +[MIT](LICENSE) + +[npm-image]: https://img.shields.io/npm/v/merge-descriptors.svg +[npm-url]: https://npmjs.org/package/merge-descriptors +[travis-image]: https://img.shields.io/travis/component/merge-descriptors/master.svg +[travis-url]: https://travis-ci.org/component/merge-descriptors +[coveralls-image]: https://img.shields.io/coveralls/component/merge-descriptors/master.svg +[coveralls-url]: https://coveralls.io/r/component/merge-descriptors?branch=master +[downloads-image]: https://img.shields.io/npm/dm/merge-descriptors.svg +[downloads-url]: https://npmjs.org/package/merge-descriptors diff --git a/node_modules/merge-descriptors/index.js b/node_modules/merge-descriptors/index.js new file mode 100644 index 0000000..f22ebab --- /dev/null +++ b/node_modules/merge-descriptors/index.js @@ -0,0 +1,60 @@ +/*! + * merge-descriptors + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module exports. + * @public + */ + +module.exports = merge + +/** + * Module variables. + * @private + */ + +var hasOwnProperty = Object.prototype.hasOwnProperty + +/** + * Merge the property descriptors of `src` into `dest` + * + * @param {object} dest Object to add descriptors to + * @param {object} src Object to clone descriptors from + * @param {boolean} [redefine=true] Redefine `dest` properties with `src` properties + * @returns {object} Reference to dest + * @public + */ + +function merge (dest, src, redefine) { + if (!dest) { + throw new TypeError('argument dest is required') + } + + if (!src) { + throw new TypeError('argument src is required') + } + + if (redefine === undefined) { + // Default to true + redefine = true + } + + Object.getOwnPropertyNames(src).forEach(function forEachOwnPropertyName (name) { + if (!redefine && hasOwnProperty.call(dest, name)) { + // Skip descriptor + return + } + + // Copy descriptor + var descriptor = Object.getOwnPropertyDescriptor(src, name) + Object.defineProperty(dest, name, descriptor) + }) + + return dest +} diff --git a/node_modules/merge-descriptors/package.json b/node_modules/merge-descriptors/package.json new file mode 100644 index 0000000..aa9af0a --- /dev/null +++ b/node_modules/merge-descriptors/package.json @@ -0,0 +1,39 @@ +{ + "name": "merge-descriptors", + "description": "Merge objects using descriptors", + "version": "1.0.3", + "author": { + "name": "Jonathan Ong", + "email": "me@jongleberry.com", + "url": "http://jongleberry.com", + "twitter": "https://twitter.com/jongleberry" + }, + "contributors": [ + "Douglas Christopher Wilson ", + "Mike Grabowski " + ], + "license": "MIT", + "repository": "sindresorhus/merge-descriptors", + "funding": "https://github.com/sponsors/sindresorhus", + "devDependencies": { + "eslint": "5.9.0", + "eslint-config-standard": "12.0.0", + "eslint-plugin-import": "2.14.0", + "eslint-plugin-node": "7.0.1", + "eslint-plugin-promise": "4.0.1", + "eslint-plugin-standard": "4.0.0", + "mocha": "5.2.0", + "nyc": "13.1.0" + }, + "files": [ + "HISTORY.md", + "LICENSE", + "README.md", + "index.js" + ], + "scripts": { + "lint": "eslint .", + "test": "mocha test/", + "test-cov": "nyc --reporter=html --reporter=text npm test" + } +} diff --git a/node_modules/methods/HISTORY.md b/node_modules/methods/HISTORY.md new file mode 100644 index 0000000..c0ecf07 --- /dev/null +++ b/node_modules/methods/HISTORY.md @@ -0,0 +1,29 @@ +1.1.2 / 2016-01-17 +================== + + * perf: enable strict mode + +1.1.1 / 2014-12-30 +================== + + * Improve `browserify` support + +1.1.0 / 2014-07-05 +================== + + * Add `CONNECT` method + +1.0.1 / 2014-06-02 +================== + + * Fix module to work with harmony transform + +1.0.0 / 2014-05-08 +================== + + * Add `PURGE` method + +0.1.0 / 2013-10-28 +================== + + * Add `http.METHODS` support diff --git a/node_modules/methods/LICENSE b/node_modules/methods/LICENSE new file mode 100644 index 0000000..220dc1a --- /dev/null +++ b/node_modules/methods/LICENSE @@ -0,0 +1,24 @@ +(The MIT License) + +Copyright (c) 2013-2014 TJ Holowaychuk +Copyright (c) 2015-2016 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/node_modules/methods/README.md b/node_modules/methods/README.md new file mode 100644 index 0000000..672a32b --- /dev/null +++ b/node_modules/methods/README.md @@ -0,0 +1,51 @@ +# Methods + +[![NPM Version][npm-image]][npm-url] +[![NPM Downloads][downloads-image]][downloads-url] +[![Node.js Version][node-version-image]][node-version-url] +[![Build Status][travis-image]][travis-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +HTTP verbs that Node.js core's HTTP parser supports. + +This module provides an export that is just like `http.METHODS` from Node.js core, +with the following differences: + + * All method names are lower-cased. + * Contains a fallback list of methods for Node.js versions that do not have a + `http.METHODS` export (0.10 and lower). + * Provides the fallback list when using tools like `browserify` without pulling + in the `http` shim module. + +## Install + +```bash +$ npm install methods +``` + +## API + +```js +var methods = require('methods') +``` + +### methods + +This is an array of lower-cased method names that Node.js supports. If Node.js +provides the `http.METHODS` export, then this is the same array lower-cased, +otherwise it is a snapshot of the verbs from Node.js 0.10. + +## License + +[MIT](LICENSE) + +[npm-image]: https://img.shields.io/npm/v/methods.svg?style=flat +[npm-url]: https://npmjs.org/package/methods +[node-version-image]: https://img.shields.io/node/v/methods.svg?style=flat +[node-version-url]: https://nodejs.org/en/download/ +[travis-image]: https://img.shields.io/travis/jshttp/methods.svg?style=flat +[travis-url]: https://travis-ci.org/jshttp/methods +[coveralls-image]: https://img.shields.io/coveralls/jshttp/methods.svg?style=flat +[coveralls-url]: https://coveralls.io/r/jshttp/methods?branch=master +[downloads-image]: https://img.shields.io/npm/dm/methods.svg?style=flat +[downloads-url]: https://npmjs.org/package/methods diff --git a/node_modules/methods/index.js b/node_modules/methods/index.js new file mode 100644 index 0000000..667a50b --- /dev/null +++ b/node_modules/methods/index.js @@ -0,0 +1,69 @@ +/*! + * methods + * Copyright(c) 2013-2014 TJ Holowaychuk + * Copyright(c) 2015-2016 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict'; + +/** + * Module dependencies. + * @private + */ + +var http = require('http'); + +/** + * Module exports. + * @public + */ + +module.exports = getCurrentNodeMethods() || getBasicNodeMethods(); + +/** + * Get the current Node.js methods. + * @private + */ + +function getCurrentNodeMethods() { + return http.METHODS && http.METHODS.map(function lowerCaseMethod(method) { + return method.toLowerCase(); + }); +} + +/** + * Get the "basic" Node.js methods, a snapshot from Node.js 0.10. + * @private + */ + +function getBasicNodeMethods() { + return [ + 'get', + 'post', + 'put', + 'head', + 'delete', + 'options', + 'trace', + 'copy', + 'lock', + 'mkcol', + 'move', + 'purge', + 'propfind', + 'proppatch', + 'unlock', + 'report', + 'mkactivity', + 'checkout', + 'merge', + 'm-search', + 'notify', + 'subscribe', + 'unsubscribe', + 'patch', + 'search', + 'connect' + ]; +} diff --git a/node_modules/methods/package.json b/node_modules/methods/package.json new file mode 100644 index 0000000..c4ce6f0 --- /dev/null +++ b/node_modules/methods/package.json @@ -0,0 +1,36 @@ +{ + "name": "methods", + "description": "HTTP methods that node supports", + "version": "1.1.2", + "contributors": [ + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)", + "TJ Holowaychuk (http://tjholowaychuk.com)" + ], + "license": "MIT", + "repository": "jshttp/methods", + "devDependencies": { + "istanbul": "0.4.1", + "mocha": "1.21.5" + }, + "files": [ + "index.js", + "HISTORY.md", + "LICENSE" + ], + "engines": { + "node": ">= 0.6" + }, + "scripts": { + "test": "mocha --reporter spec --bail --check-leaks test/", + "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", + "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" + }, + "browser": { + "http": false + }, + "keywords": [ + "http", + "methods" + ] +} diff --git a/node_modules/mime-db/HISTORY.md b/node_modules/mime-db/HISTORY.md new file mode 100644 index 0000000..7436f64 --- /dev/null +++ b/node_modules/mime-db/HISTORY.md @@ -0,0 +1,507 @@ +1.52.0 / 2022-02-21 +=================== + + * Add extensions from IANA for more `image/*` types + * Add extension `.asc` to `application/pgp-keys` + * Add extensions to various XML types + * Add new upstream MIME types + +1.51.0 / 2021-11-08 +=================== + + * Add new upstream MIME types + * Mark `image/vnd.microsoft.icon` as compressible + * Mark `image/vnd.ms-dds` as compressible + +1.50.0 / 2021-09-15 +=================== + + * Add deprecated iWorks mime types and extensions + * Add new upstream MIME types + +1.49.0 / 2021-07-26 +=================== + + * Add extension `.trig` to `application/trig` + * Add new upstream MIME types + +1.48.0 / 2021-05-30 +=================== + + * Add extension `.mvt` to `application/vnd.mapbox-vector-tile` + * Add new upstream MIME types + * Mark `text/yaml` as compressible + +1.47.0 / 2021-04-01 +=================== + + * Add new upstream MIME types + * Remove ambigious extensions from IANA for `application/*+xml` types + * Update primary extension to `.es` for `application/ecmascript` + +1.46.0 / 2021-02-13 +=================== + + * Add extension `.amr` to `audio/amr` + * Add extension `.m4s` to `video/iso.segment` + * Add extension `.opus` to `audio/ogg` + * Add new upstream MIME types + +1.45.0 / 2020-09-22 +=================== + + * Add `application/ubjson` with extension `.ubj` + * Add `image/avif` with extension `.avif` + * Add `image/ktx2` with extension `.ktx2` + * Add extension `.dbf` to `application/vnd.dbf` + * Add extension `.rar` to `application/vnd.rar` + * Add extension `.td` to `application/urc-targetdesc+xml` + * Add new upstream MIME types + * Fix extension of `application/vnd.apple.keynote` to be `.key` + +1.44.0 / 2020-04-22 +=================== + + * Add charsets from IANA + * Add extension `.cjs` to `application/node` + * Add new upstream MIME types + +1.43.0 / 2020-01-05 +=================== + + * Add `application/x-keepass2` with extension `.kdbx` + * Add extension `.mxmf` to `audio/mobile-xmf` + * Add extensions from IANA for `application/*+xml` types + * Add new upstream MIME types + +1.42.0 / 2019-09-25 +=================== + + * Add `image/vnd.ms-dds` with extension `.dds` + * Add new upstream MIME types + * Remove compressible from `multipart/mixed` + +1.41.0 / 2019-08-30 +=================== + + * Add new upstream MIME types + * Add `application/toml` with extension `.toml` + * Mark `font/ttf` as compressible + +1.40.0 / 2019-04-20 +=================== + + * Add extensions from IANA for `model/*` types + * Add `text/mdx` with extension `.mdx` + +1.39.0 / 2019-04-04 +=================== + + * Add extensions `.siv` and `.sieve` to `application/sieve` + * Add new upstream MIME types + +1.38.0 / 2019-02-04 +=================== + + * Add extension `.nq` to `application/n-quads` + * Add extension `.nt` to `application/n-triples` + * Add new upstream MIME types + * Mark `text/less` as compressible + +1.37.0 / 2018-10-19 +=================== + + * Add extensions to HEIC image types + * Add new upstream MIME types + +1.36.0 / 2018-08-20 +=================== + + * Add Apple file extensions from IANA + * Add extensions from IANA for `image/*` types + * Add new upstream MIME types + +1.35.0 / 2018-07-15 +=================== + + * Add extension `.owl` to `application/rdf+xml` + * Add new upstream MIME types + - Removes extension `.woff` from `application/font-woff` + +1.34.0 / 2018-06-03 +=================== + + * Add extension `.csl` to `application/vnd.citationstyles.style+xml` + * Add extension `.es` to `application/ecmascript` + * Add new upstream MIME types + * Add `UTF-8` as default charset for `text/turtle` + * Mark all XML-derived types as compressible + +1.33.0 / 2018-02-15 +=================== + + * Add extensions from IANA for `message/*` types + * Add new upstream MIME types + * Fix some incorrect OOXML types + * Remove `application/font-woff2` + +1.32.0 / 2017-11-29 +=================== + + * Add new upstream MIME types + * Update `text/hjson` to registered `application/hjson` + * Add `text/shex` with extension `.shex` + +1.31.0 / 2017-10-25 +=================== + + * Add `application/raml+yaml` with extension `.raml` + * Add `application/wasm` with extension `.wasm` + * Add new `font` type from IANA + * Add new upstream font extensions + * Add new upstream MIME types + * Add extensions for JPEG-2000 images + +1.30.0 / 2017-08-27 +=================== + + * Add `application/vnd.ms-outlook` + * Add `application/x-arj` + * Add extension `.mjs` to `application/javascript` + * Add glTF types and extensions + * Add new upstream MIME types + * Add `text/x-org` + * Add VirtualBox MIME types + * Fix `source` records for `video/*` types that are IANA + * Update `font/opentype` to registered `font/otf` + +1.29.0 / 2017-07-10 +=================== + + * Add `application/fido.trusted-apps+json` + * Add extension `.wadl` to `application/vnd.sun.wadl+xml` + * Add new upstream MIME types + * Add `UTF-8` as default charset for `text/css` + +1.28.0 / 2017-05-14 +=================== + + * Add new upstream MIME types + * Add extension `.gz` to `application/gzip` + * Update extensions `.md` and `.markdown` to be `text/markdown` + +1.27.0 / 2017-03-16 +=================== + + * Add new upstream MIME types + * Add `image/apng` with extension `.apng` + +1.26.0 / 2017-01-14 +=================== + + * Add new upstream MIME types + * Add extension `.geojson` to `application/geo+json` + +1.25.0 / 2016-11-11 +=================== + + * Add new upstream MIME types + +1.24.0 / 2016-09-18 +=================== + + * Add `audio/mp3` + * Add new upstream MIME types + +1.23.0 / 2016-05-01 +=================== + + * Add new upstream MIME types + * Add extension `.3gpp` to `audio/3gpp` + +1.22.0 / 2016-02-15 +=================== + + * Add `text/slim` + * Add extension `.rng` to `application/xml` + * Add new upstream MIME types + * Fix extension of `application/dash+xml` to be `.mpd` + * Update primary extension to `.m4a` for `audio/mp4` + +1.21.0 / 2016-01-06 +=================== + + * Add Google document types + * Add new upstream MIME types + +1.20.0 / 2015-11-10 +=================== + + * Add `text/x-suse-ymp` + * Add new upstream MIME types + +1.19.0 / 2015-09-17 +=================== + + * Add `application/vnd.apple.pkpass` + * Add new upstream MIME types + +1.18.0 / 2015-09-03 +=================== + + * Add new upstream MIME types + +1.17.0 / 2015-08-13 +=================== + + * Add `application/x-msdos-program` + * Add `audio/g711-0` + * Add `image/vnd.mozilla.apng` + * Add extension `.exe` to `application/x-msdos-program` + +1.16.0 / 2015-07-29 +=================== + + * Add `application/vnd.uri-map` + +1.15.0 / 2015-07-13 +=================== + + * Add `application/x-httpd-php` + +1.14.0 / 2015-06-25 +=================== + + * Add `application/scim+json` + * Add `application/vnd.3gpp.ussd+xml` + * Add `application/vnd.biopax.rdf+xml` + * Add `text/x-processing` + +1.13.0 / 2015-06-07 +=================== + + * Add nginx as a source + * Add `application/x-cocoa` + * Add `application/x-java-archive-diff` + * Add `application/x-makeself` + * Add `application/x-perl` + * Add `application/x-pilot` + * Add `application/x-redhat-package-manager` + * Add `application/x-sea` + * Add `audio/x-m4a` + * Add `audio/x-realaudio` + * Add `image/x-jng` + * Add `text/mathml` + +1.12.0 / 2015-06-05 +=================== + + * Add `application/bdoc` + * Add `application/vnd.hyperdrive+json` + * Add `application/x-bdoc` + * Add extension `.rtf` to `text/rtf` + +1.11.0 / 2015-05-31 +=================== + + * Add `audio/wav` + * Add `audio/wave` + * Add extension `.litcoffee` to `text/coffeescript` + * Add extension `.sfd-hdstx` to `application/vnd.hydrostatix.sof-data` + * Add extension `.n-gage` to `application/vnd.nokia.n-gage.symbian.install` + +1.10.0 / 2015-05-19 +=================== + + * Add `application/vnd.balsamiq.bmpr` + * Add `application/vnd.microsoft.portable-executable` + * Add `application/x-ns-proxy-autoconfig` + +1.9.1 / 2015-04-19 +================== + + * Remove `.json` extension from `application/manifest+json` + - This is causing bugs downstream + +1.9.0 / 2015-04-19 +================== + + * Add `application/manifest+json` + * Add `application/vnd.micro+json` + * Add `image/vnd.zbrush.pcx` + * Add `image/x-ms-bmp` + +1.8.0 / 2015-03-13 +================== + + * Add `application/vnd.citationstyles.style+xml` + * Add `application/vnd.fastcopy-disk-image` + * Add `application/vnd.gov.sk.xmldatacontainer+xml` + * Add extension `.jsonld` to `application/ld+json` + +1.7.0 / 2015-02-08 +================== + + * Add `application/vnd.gerber` + * Add `application/vnd.msa-disk-image` + +1.6.1 / 2015-02-05 +================== + + * Community extensions ownership transferred from `node-mime` + +1.6.0 / 2015-01-29 +================== + + * Add `application/jose` + * Add `application/jose+json` + * Add `application/json-seq` + * Add `application/jwk+json` + * Add `application/jwk-set+json` + * Add `application/jwt` + * Add `application/rdap+json` + * Add `application/vnd.gov.sk.e-form+xml` + * Add `application/vnd.ims.imsccv1p3` + +1.5.0 / 2014-12-30 +================== + + * Add `application/vnd.oracle.resource+json` + * Fix various invalid MIME type entries + - `application/mbox+xml` + - `application/oscp-response` + - `application/vwg-multiplexed` + - `audio/g721` + +1.4.0 / 2014-12-21 +================== + + * Add `application/vnd.ims.imsccv1p2` + * Fix various invalid MIME type entries + - `application/vnd-acucobol` + - `application/vnd-curl` + - `application/vnd-dart` + - `application/vnd-dxr` + - `application/vnd-fdf` + - `application/vnd-mif` + - `application/vnd-sema` + - `application/vnd-wap-wmlc` + - `application/vnd.adobe.flash-movie` + - `application/vnd.dece-zip` + - `application/vnd.dvb_service` + - `application/vnd.micrografx-igx` + - `application/vnd.sealed-doc` + - `application/vnd.sealed-eml` + - `application/vnd.sealed-mht` + - `application/vnd.sealed-ppt` + - `application/vnd.sealed-tiff` + - `application/vnd.sealed-xls` + - `application/vnd.sealedmedia.softseal-html` + - `application/vnd.sealedmedia.softseal-pdf` + - `application/vnd.wap-slc` + - `application/vnd.wap-wbxml` + - `audio/vnd.sealedmedia.softseal-mpeg` + - `image/vnd-djvu` + - `image/vnd-svf` + - `image/vnd-wap-wbmp` + - `image/vnd.sealed-png` + - `image/vnd.sealedmedia.softseal-gif` + - `image/vnd.sealedmedia.softseal-jpg` + - `model/vnd-dwf` + - `model/vnd.parasolid.transmit-binary` + - `model/vnd.parasolid.transmit-text` + - `text/vnd-a` + - `text/vnd-curl` + - `text/vnd.wap-wml` + * Remove example template MIME types + - `application/example` + - `audio/example` + - `image/example` + - `message/example` + - `model/example` + - `multipart/example` + - `text/example` + - `video/example` + +1.3.1 / 2014-12-16 +================== + + * Fix missing extensions + - `application/json5` + - `text/hjson` + +1.3.0 / 2014-12-07 +================== + + * Add `application/a2l` + * Add `application/aml` + * Add `application/atfx` + * Add `application/atxml` + * Add `application/cdfx+xml` + * Add `application/dii` + * Add `application/json5` + * Add `application/lxf` + * Add `application/mf4` + * Add `application/vnd.apache.thrift.compact` + * Add `application/vnd.apache.thrift.json` + * Add `application/vnd.coffeescript` + * Add `application/vnd.enphase.envoy` + * Add `application/vnd.ims.imsccv1p1` + * Add `text/csv-schema` + * Add `text/hjson` + * Add `text/markdown` + * Add `text/yaml` + +1.2.0 / 2014-11-09 +================== + + * Add `application/cea` + * Add `application/dit` + * Add `application/vnd.gov.sk.e-form+zip` + * Add `application/vnd.tmd.mediaflex.api+xml` + * Type `application/epub+zip` is now IANA-registered + +1.1.2 / 2014-10-23 +================== + + * Rebuild database for `application/x-www-form-urlencoded` change + +1.1.1 / 2014-10-20 +================== + + * Mark `application/x-www-form-urlencoded` as compressible. + +1.1.0 / 2014-09-28 +================== + + * Add `application/font-woff2` + +1.0.3 / 2014-09-25 +================== + + * Fix engine requirement in package + +1.0.2 / 2014-09-25 +================== + + * Add `application/coap-group+json` + * Add `application/dcd` + * Add `application/vnd.apache.thrift.binary` + * Add `image/vnd.tencent.tap` + * Mark all JSON-derived types as compressible + * Update `text/vtt` data + +1.0.1 / 2014-08-30 +================== + + * Fix extension ordering + +1.0.0 / 2014-08-30 +================== + + * Add `application/atf` + * Add `application/merge-patch+json` + * Add `multipart/x-mixed-replace` + * Add `source: 'apache'` metadata + * Add `source: 'iana'` metadata + * Remove badly-assumed charset data diff --git a/node_modules/mime-db/LICENSE b/node_modules/mime-db/LICENSE new file mode 100644 index 0000000..0751cb1 --- /dev/null +++ b/node_modules/mime-db/LICENSE @@ -0,0 +1,23 @@ +(The MIT License) + +Copyright (c) 2014 Jonathan Ong +Copyright (c) 2015-2022 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/mime-db/README.md b/node_modules/mime-db/README.md new file mode 100644 index 0000000..5a8fcfe --- /dev/null +++ b/node_modules/mime-db/README.md @@ -0,0 +1,100 @@ +# mime-db + +[![NPM Version][npm-version-image]][npm-url] +[![NPM Downloads][npm-downloads-image]][npm-url] +[![Node.js Version][node-image]][node-url] +[![Build Status][ci-image]][ci-url] +[![Coverage Status][coveralls-image]][coveralls-url] + +This is a large database of mime types and information about them. +It consists of a single, public JSON file and does not include any logic, +allowing it to remain as un-opinionated as possible with an API. +It aggregates data from the following sources: + +- http://www.iana.org/assignments/media-types/media-types.xhtml +- http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types +- http://hg.nginx.org/nginx/raw-file/default/conf/mime.types + +## Installation + +```bash +npm install mime-db +``` + +### Database Download + +If you're crazy enough to use this in the browser, you can just grab the +JSON file using [jsDelivr](https://www.jsdelivr.com/). It is recommended to +replace `master` with [a release tag](https://github.com/jshttp/mime-db/tags) +as the JSON format may change in the future. + +``` +https://cdn.jsdelivr.net/gh/jshttp/mime-db@master/db.json +``` + +## Usage + +```js +var db = require('mime-db') + +// grab data on .js files +var data = db['application/javascript'] +``` + +## Data Structure + +The JSON file is a map lookup for lowercased mime types. +Each mime type has the following properties: + +- `.source` - where the mime type is defined. + If not set, it's probably a custom media type. + - `apache` - [Apache common media types](http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types) + - `iana` - [IANA-defined media types](http://www.iana.org/assignments/media-types/media-types.xhtml) + - `nginx` - [nginx media types](http://hg.nginx.org/nginx/raw-file/default/conf/mime.types) +- `.extensions[]` - known extensions associated with this mime type. +- `.compressible` - whether a file of this type can be gzipped. +- `.charset` - the default charset associated with this type, if any. + +If unknown, every property could be `undefined`. + +## Contributing + +To edit the database, only make PRs against `src/custom-types.json` or +`src/custom-suffix.json`. + +The `src/custom-types.json` file is a JSON object with the MIME type as the +keys and the values being an object with the following keys: + +- `compressible` - leave out if you don't know, otherwise `true`/`false` to + indicate whether the data represented by the type is typically compressible. +- `extensions` - include an array of file extensions that are associated with + the type. +- `notes` - human-readable notes about the type, typically what the type is. +- `sources` - include an array of URLs of where the MIME type and the associated + extensions are sourced from. This needs to be a [primary source](https://en.wikipedia.org/wiki/Primary_source); + links to type aggregating sites and Wikipedia are _not acceptable_. + +To update the build, run `npm run build`. + +### Adding Custom Media Types + +The best way to get new media types included in this library is to register +them with the IANA. The community registration procedure is outlined in +[RFC 6838 section 5](http://tools.ietf.org/html/rfc6838#section-5). Types +registered with the IANA are automatically pulled into this library. + +If that is not possible / feasible, they can be added directly here as a +"custom" type. To do this, it is required to have a primary source that +definitively lists the media type. If an extension is going to be listed as +associateed with this media type, the source must definitively link the +media type and extension as well. + +[ci-image]: https://badgen.net/github/checks/jshttp/mime-db/master?label=ci +[ci-url]: https://github.com/jshttp/mime-db/actions?query=workflow%3Aci +[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/mime-db/master +[coveralls-url]: https://coveralls.io/r/jshttp/mime-db?branch=master +[node-image]: https://badgen.net/npm/node/mime-db +[node-url]: https://nodejs.org/en/download +[npm-downloads-image]: https://badgen.net/npm/dm/mime-db +[npm-url]: https://npmjs.org/package/mime-db +[npm-version-image]: https://badgen.net/npm/v/mime-db diff --git a/node_modules/mime-db/db.json b/node_modules/mime-db/db.json new file mode 100644 index 0000000..eb9c42c --- /dev/null +++ b/node_modules/mime-db/db.json @@ -0,0 +1,8519 @@ +{ + "application/1d-interleaved-parityfec": { + "source": "iana" + }, + "application/3gpdash-qoe-report+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/3gpp-ims+xml": { + "source": "iana", + "compressible": true + }, + "application/3gpphal+json": { + "source": "iana", + "compressible": true + }, + "application/3gpphalforms+json": { + "source": "iana", + "compressible": true + }, + "application/a2l": { + "source": "iana" + }, + "application/ace+cbor": { + "source": "iana" + }, + "application/activemessage": { + "source": "iana" + }, + "application/activity+json": { + "source": "iana", + "compressible": true + }, + "application/alto-costmap+json": { + "source": "iana", + "compressible": true + }, + "application/alto-costmapfilter+json": { + "source": "iana", + "compressible": true + }, + "application/alto-directory+json": { + "source": "iana", + "compressible": true + }, + "application/alto-endpointcost+json": { + "source": "iana", + "compressible": true + }, + "application/alto-endpointcostparams+json": { + "source": "iana", + "compressible": true + }, + "application/alto-endpointprop+json": { + "source": "iana", + "compressible": true + }, + "application/alto-endpointpropparams+json": { + "source": "iana", + "compressible": true + }, + "application/alto-error+json": { + "source": "iana", + "compressible": true + }, + "application/alto-networkmap+json": { + "source": "iana", + "compressible": true + }, + "application/alto-networkmapfilter+json": { + "source": "iana", + "compressible": true + }, + "application/alto-updatestreamcontrol+json": { + "source": "iana", + "compressible": true + }, + "application/alto-updatestreamparams+json": { + "source": "iana", + "compressible": true + }, + "application/aml": { + "source": "iana" + }, + "application/andrew-inset": { + "source": "iana", + "extensions": ["ez"] + }, + "application/applefile": { + "source": "iana" + }, + "application/applixware": { + "source": "apache", + "extensions": ["aw"] + }, + "application/at+jwt": { + "source": "iana" + }, + "application/atf": { + "source": "iana" + }, + "application/atfx": { + "source": "iana" + }, + "application/atom+xml": { + "source": "iana", + "compressible": true, + "extensions": ["atom"] + }, + "application/atomcat+xml": { + "source": "iana", + "compressible": true, + "extensions": ["atomcat"] + }, + "application/atomdeleted+xml": { + "source": "iana", + "compressible": true, + "extensions": ["atomdeleted"] + }, + "application/atomicmail": { + "source": "iana" + }, + "application/atomsvc+xml": { + "source": "iana", + "compressible": true, + "extensions": ["atomsvc"] + }, + "application/atsc-dwd+xml": { + "source": "iana", + "compressible": true, + "extensions": ["dwd"] + }, + "application/atsc-dynamic-event-message": { + "source": "iana" + }, + "application/atsc-held+xml": { + "source": "iana", + "compressible": true, + "extensions": ["held"] + }, + "application/atsc-rdt+json": { + "source": "iana", + "compressible": true + }, + "application/atsc-rsat+xml": { + "source": "iana", + "compressible": true, + "extensions": ["rsat"] + }, + "application/atxml": { + "source": "iana" + }, + "application/auth-policy+xml": { + "source": "iana", + "compressible": true + }, + "application/bacnet-xdd+zip": { + "source": "iana", + "compressible": false + }, + "application/batch-smtp": { + "source": "iana" + }, + "application/bdoc": { + "compressible": false, + "extensions": ["bdoc"] + }, + "application/beep+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/calendar+json": { + "source": "iana", + "compressible": true + }, + "application/calendar+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xcs"] + }, + "application/call-completion": { + "source": "iana" + }, + "application/cals-1840": { + "source": "iana" + }, + "application/captive+json": { + "source": "iana", + "compressible": true + }, + "application/cbor": { + "source": "iana" + }, + "application/cbor-seq": { + "source": "iana" + }, + "application/cccex": { + "source": "iana" + }, + "application/ccmp+xml": { + "source": "iana", + "compressible": true + }, + "application/ccxml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["ccxml"] + }, + "application/cdfx+xml": { + "source": "iana", + "compressible": true, + "extensions": ["cdfx"] + }, + "application/cdmi-capability": { + "source": "iana", + "extensions": ["cdmia"] + }, + "application/cdmi-container": { + "source": "iana", + "extensions": ["cdmic"] + }, + "application/cdmi-domain": { + "source": "iana", + "extensions": ["cdmid"] + }, + "application/cdmi-object": { + "source": "iana", + "extensions": ["cdmio"] + }, + "application/cdmi-queue": { + "source": "iana", + "extensions": ["cdmiq"] + }, + "application/cdni": { + "source": "iana" + }, + "application/cea": { + "source": "iana" + }, + "application/cea-2018+xml": { + "source": "iana", + "compressible": true + }, + "application/cellml+xml": { + "source": "iana", + "compressible": true + }, + "application/cfw": { + "source": "iana" + }, + "application/city+json": { + "source": "iana", + "compressible": true + }, + "application/clr": { + "source": "iana" + }, + "application/clue+xml": { + "source": "iana", + "compressible": true + }, + "application/clue_info+xml": { + "source": "iana", + "compressible": true + }, + "application/cms": { + "source": "iana" + }, + "application/cnrp+xml": { + "source": "iana", + "compressible": true + }, + "application/coap-group+json": { + "source": "iana", + "compressible": true + }, + "application/coap-payload": { + "source": "iana" + }, + "application/commonground": { + "source": "iana" + }, + "application/conference-info+xml": { + "source": "iana", + "compressible": true + }, + "application/cose": { + "source": "iana" + }, + "application/cose-key": { + "source": "iana" + }, + "application/cose-key-set": { + "source": "iana" + }, + "application/cpl+xml": { + "source": "iana", + "compressible": true, + "extensions": ["cpl"] + }, + "application/csrattrs": { + "source": "iana" + }, + "application/csta+xml": { + "source": "iana", + "compressible": true + }, + "application/cstadata+xml": { + "source": "iana", + "compressible": true + }, + "application/csvm+json": { + "source": "iana", + "compressible": true + }, + "application/cu-seeme": { + "source": "apache", + "extensions": ["cu"] + }, + "application/cwt": { + "source": "iana" + }, + "application/cybercash": { + "source": "iana" + }, + "application/dart": { + "compressible": true + }, + "application/dash+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mpd"] + }, + "application/dash-patch+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mpp"] + }, + "application/dashdelta": { + "source": "iana" + }, + "application/davmount+xml": { + "source": "iana", + "compressible": true, + "extensions": ["davmount"] + }, + "application/dca-rft": { + "source": "iana" + }, + "application/dcd": { + "source": "iana" + }, + "application/dec-dx": { + "source": "iana" + }, + "application/dialog-info+xml": { + "source": "iana", + "compressible": true + }, + "application/dicom": { + "source": "iana" + }, + "application/dicom+json": { + "source": "iana", + "compressible": true + }, + "application/dicom+xml": { + "source": "iana", + "compressible": true + }, + "application/dii": { + "source": "iana" + }, + "application/dit": { + "source": "iana" + }, + "application/dns": { + "source": "iana" + }, + "application/dns+json": { + "source": "iana", + "compressible": true + }, + "application/dns-message": { + "source": "iana" + }, + "application/docbook+xml": { + "source": "apache", + "compressible": true, + "extensions": ["dbk"] + }, + "application/dots+cbor": { + "source": "iana" + }, + "application/dskpp+xml": { + "source": "iana", + "compressible": true + }, + "application/dssc+der": { + "source": "iana", + "extensions": ["dssc"] + }, + "application/dssc+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xdssc"] + }, + "application/dvcs": { + "source": "iana" + }, + "application/ecmascript": { + "source": "iana", + "compressible": true, + "extensions": ["es","ecma"] + }, + "application/edi-consent": { + "source": "iana" + }, + "application/edi-x12": { + "source": "iana", + "compressible": false + }, + "application/edifact": { + "source": "iana", + "compressible": false + }, + "application/efi": { + "source": "iana" + }, + "application/elm+json": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/elm+xml": { + "source": "iana", + "compressible": true + }, + "application/emergencycalldata.cap+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/emergencycalldata.comment+xml": { + "source": "iana", + "compressible": true + }, + "application/emergencycalldata.control+xml": { + "source": "iana", + "compressible": true + }, + "application/emergencycalldata.deviceinfo+xml": { + "source": "iana", + "compressible": true + }, + "application/emergencycalldata.ecall.msd": { + "source": "iana" + }, + "application/emergencycalldata.providerinfo+xml": { + "source": "iana", + "compressible": true + }, + "application/emergencycalldata.serviceinfo+xml": { + "source": "iana", + "compressible": true + }, + "application/emergencycalldata.subscriberinfo+xml": { + "source": "iana", + "compressible": true + }, + "application/emergencycalldata.veds+xml": { + "source": "iana", + "compressible": true + }, + "application/emma+xml": { + "source": "iana", + "compressible": true, + "extensions": ["emma"] + }, + "application/emotionml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["emotionml"] + }, + "application/encaprtp": { + "source": "iana" + }, + "application/epp+xml": { + "source": "iana", + "compressible": true + }, + "application/epub+zip": { + "source": "iana", + "compressible": false, + "extensions": ["epub"] + }, + "application/eshop": { + "source": "iana" + }, + "application/exi": { + "source": "iana", + "extensions": ["exi"] + }, + "application/expect-ct-report+json": { + "source": "iana", + "compressible": true + }, + "application/express": { + "source": "iana", + "extensions": ["exp"] + }, + "application/fastinfoset": { + "source": "iana" + }, + "application/fastsoap": { + "source": "iana" + }, + "application/fdt+xml": { + "source": "iana", + "compressible": true, + "extensions": ["fdt"] + }, + "application/fhir+json": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/fhir+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/fido.trusted-apps+json": { + "compressible": true + }, + "application/fits": { + "source": "iana" + }, + "application/flexfec": { + "source": "iana" + }, + "application/font-sfnt": { + "source": "iana" + }, + "application/font-tdpfr": { + "source": "iana", + "extensions": ["pfr"] + }, + "application/font-woff": { + "source": "iana", + "compressible": false + }, + "application/framework-attributes+xml": { + "source": "iana", + "compressible": true + }, + "application/geo+json": { + "source": "iana", + "compressible": true, + "extensions": ["geojson"] + }, + "application/geo+json-seq": { + "source": "iana" + }, + "application/geopackage+sqlite3": { + "source": "iana" + }, + "application/geoxacml+xml": { + "source": "iana", + "compressible": true + }, + "application/gltf-buffer": { + "source": "iana" + }, + "application/gml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["gml"] + }, + "application/gpx+xml": { + "source": "apache", + "compressible": true, + "extensions": ["gpx"] + }, + "application/gxf": { + "source": "apache", + "extensions": ["gxf"] + }, + "application/gzip": { + "source": "iana", + "compressible": false, + "extensions": ["gz"] + }, + "application/h224": { + "source": "iana" + }, + "application/held+xml": { + "source": "iana", + "compressible": true + }, + "application/hjson": { + "extensions": ["hjson"] + }, + "application/http": { + "source": "iana" + }, + "application/hyperstudio": { + "source": "iana", + "extensions": ["stk"] + }, + "application/ibe-key-request+xml": { + "source": "iana", + "compressible": true + }, + "application/ibe-pkg-reply+xml": { + "source": "iana", + "compressible": true + }, + "application/ibe-pp-data": { + "source": "iana" + }, + "application/iges": { + "source": "iana" + }, + "application/im-iscomposing+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/index": { + "source": "iana" + }, + "application/index.cmd": { + "source": "iana" + }, + "application/index.obj": { + "source": "iana" + }, + "application/index.response": { + "source": "iana" + }, + "application/index.vnd": { + "source": "iana" + }, + "application/inkml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["ink","inkml"] + }, + "application/iotp": { + "source": "iana" + }, + "application/ipfix": { + "source": "iana", + "extensions": ["ipfix"] + }, + "application/ipp": { + "source": "iana" + }, + "application/isup": { + "source": "iana" + }, + "application/its+xml": { + "source": "iana", + "compressible": true, + "extensions": ["its"] + }, + "application/java-archive": { + "source": "apache", + "compressible": false, + "extensions": ["jar","war","ear"] + }, + "application/java-serialized-object": { + "source": "apache", + "compressible": false, + "extensions": ["ser"] + }, + "application/java-vm": { + "source": "apache", + "compressible": false, + "extensions": ["class"] + }, + "application/javascript": { + "source": "iana", + "charset": "UTF-8", + "compressible": true, + "extensions": ["js","mjs"] + }, + "application/jf2feed+json": { + "source": "iana", + "compressible": true + }, + "application/jose": { + "source": "iana" + }, + "application/jose+json": { + "source": "iana", + "compressible": true + }, + "application/jrd+json": { + "source": "iana", + "compressible": true + }, + "application/jscalendar+json": { + "source": "iana", + "compressible": true + }, + "application/json": { + "source": "iana", + "charset": "UTF-8", + "compressible": true, + "extensions": ["json","map"] + }, + "application/json-patch+json": { + "source": "iana", + "compressible": true + }, + "application/json-seq": { + "source": "iana" + }, + "application/json5": { + "extensions": ["json5"] + }, + "application/jsonml+json": { + "source": "apache", + "compressible": true, + "extensions": ["jsonml"] + }, + "application/jwk+json": { + "source": "iana", + "compressible": true + }, + "application/jwk-set+json": { + "source": "iana", + "compressible": true + }, + "application/jwt": { + "source": "iana" + }, + "application/kpml-request+xml": { + "source": "iana", + "compressible": true + }, + "application/kpml-response+xml": { + "source": "iana", + "compressible": true + }, + "application/ld+json": { + "source": "iana", + "compressible": true, + "extensions": ["jsonld"] + }, + "application/lgr+xml": { + "source": "iana", + "compressible": true, + "extensions": ["lgr"] + }, + "application/link-format": { + "source": "iana" + }, + "application/load-control+xml": { + "source": "iana", + "compressible": true + }, + "application/lost+xml": { + "source": "iana", + "compressible": true, + "extensions": ["lostxml"] + }, + "application/lostsync+xml": { + "source": "iana", + "compressible": true + }, + "application/lpf+zip": { + "source": "iana", + "compressible": false + }, + "application/lxf": { + "source": "iana" + }, + "application/mac-binhex40": { + "source": "iana", + "extensions": ["hqx"] + }, + "application/mac-compactpro": { + "source": "apache", + "extensions": ["cpt"] + }, + "application/macwriteii": { + "source": "iana" + }, + "application/mads+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mads"] + }, + "application/manifest+json": { + "source": "iana", + "charset": "UTF-8", + "compressible": true, + "extensions": ["webmanifest"] + }, + "application/marc": { + "source": "iana", + "extensions": ["mrc"] + }, + "application/marcxml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mrcx"] + }, + "application/mathematica": { + "source": "iana", + "extensions": ["ma","nb","mb"] + }, + "application/mathml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mathml"] + }, + "application/mathml-content+xml": { + "source": "iana", + "compressible": true + }, + "application/mathml-presentation+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-associated-procedure-description+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-deregister+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-envelope+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-msk+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-msk-response+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-protection-description+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-reception-report+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-register+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-register-response+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-schedule+xml": { + "source": "iana", + "compressible": true + }, + "application/mbms-user-service-description+xml": { + "source": "iana", + "compressible": true + }, + "application/mbox": { + "source": "iana", + "extensions": ["mbox"] + }, + "application/media-policy-dataset+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mpf"] + }, + "application/media_control+xml": { + "source": "iana", + "compressible": true + }, + "application/mediaservercontrol+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mscml"] + }, + "application/merge-patch+json": { + "source": "iana", + "compressible": true + }, + "application/metalink+xml": { + "source": "apache", + "compressible": true, + "extensions": ["metalink"] + }, + "application/metalink4+xml": { + "source": "iana", + "compressible": true, + "extensions": ["meta4"] + }, + "application/mets+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mets"] + }, + "application/mf4": { + "source": "iana" + }, + "application/mikey": { + "source": "iana" + }, + "application/mipc": { + "source": "iana" + }, + "application/missing-blocks+cbor-seq": { + "source": "iana" + }, + "application/mmt-aei+xml": { + "source": "iana", + "compressible": true, + "extensions": ["maei"] + }, + "application/mmt-usd+xml": { + "source": "iana", + "compressible": true, + "extensions": ["musd"] + }, + "application/mods+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mods"] + }, + "application/moss-keys": { + "source": "iana" + }, + "application/moss-signature": { + "source": "iana" + }, + "application/mosskey-data": { + "source": "iana" + }, + "application/mosskey-request": { + "source": "iana" + }, + "application/mp21": { + "source": "iana", + "extensions": ["m21","mp21"] + }, + "application/mp4": { + "source": "iana", + "extensions": ["mp4s","m4p"] + }, + "application/mpeg4-generic": { + "source": "iana" + }, + "application/mpeg4-iod": { + "source": "iana" + }, + "application/mpeg4-iod-xmt": { + "source": "iana" + }, + "application/mrb-consumer+xml": { + "source": "iana", + "compressible": true + }, + "application/mrb-publish+xml": { + "source": "iana", + "compressible": true + }, + "application/msc-ivr+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/msc-mixer+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/msword": { + "source": "iana", + "compressible": false, + "extensions": ["doc","dot"] + }, + "application/mud+json": { + "source": "iana", + "compressible": true + }, + "application/multipart-core": { + "source": "iana" + }, + "application/mxf": { + "source": "iana", + "extensions": ["mxf"] + }, + "application/n-quads": { + "source": "iana", + "extensions": ["nq"] + }, + "application/n-triples": { + "source": "iana", + "extensions": ["nt"] + }, + "application/nasdata": { + "source": "iana" + }, + "application/news-checkgroups": { + "source": "iana", + "charset": "US-ASCII" + }, + "application/news-groupinfo": { + "source": "iana", + "charset": "US-ASCII" + }, + "application/news-transmission": { + "source": "iana" + }, + "application/nlsml+xml": { + "source": "iana", + "compressible": true + }, + "application/node": { + "source": "iana", + "extensions": ["cjs"] + }, + "application/nss": { + "source": "iana" + }, + "application/oauth-authz-req+jwt": { + "source": "iana" + }, + "application/oblivious-dns-message": { + "source": "iana" + }, + "application/ocsp-request": { + "source": "iana" + }, + "application/ocsp-response": { + "source": "iana" + }, + "application/octet-stream": { + "source": "iana", + "compressible": false, + "extensions": ["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"] + }, + "application/oda": { + "source": "iana", + "extensions": ["oda"] + }, + "application/odm+xml": { + "source": "iana", + "compressible": true + }, + "application/odx": { + "source": "iana" + }, + "application/oebps-package+xml": { + "source": "iana", + "compressible": true, + "extensions": ["opf"] + }, + "application/ogg": { + "source": "iana", + "compressible": false, + "extensions": ["ogx"] + }, + "application/omdoc+xml": { + "source": "apache", + "compressible": true, + "extensions": ["omdoc"] + }, + "application/onenote": { + "source": "apache", + "extensions": ["onetoc","onetoc2","onetmp","onepkg"] + }, + "application/opc-nodeset+xml": { + "source": "iana", + "compressible": true + }, + "application/oscore": { + "source": "iana" + }, + "application/oxps": { + "source": "iana", + "extensions": ["oxps"] + }, + "application/p21": { + "source": "iana" + }, + "application/p21+zip": { + "source": "iana", + "compressible": false + }, + "application/p2p-overlay+xml": { + "source": "iana", + "compressible": true, + "extensions": ["relo"] + }, + "application/parityfec": { + "source": "iana" + }, + "application/passport": { + "source": "iana" + }, + "application/patch-ops-error+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xer"] + }, + "application/pdf": { + "source": "iana", + "compressible": false, + "extensions": ["pdf"] + }, + "application/pdx": { + "source": "iana" + }, + "application/pem-certificate-chain": { + "source": "iana" + }, + "application/pgp-encrypted": { + "source": "iana", + "compressible": false, + "extensions": ["pgp"] + }, + "application/pgp-keys": { + "source": "iana", + "extensions": ["asc"] + }, + "application/pgp-signature": { + "source": "iana", + "extensions": ["asc","sig"] + }, + "application/pics-rules": { + "source": "apache", + "extensions": ["prf"] + }, + "application/pidf+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/pidf-diff+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/pkcs10": { + "source": "iana", + "extensions": ["p10"] + }, + "application/pkcs12": { + "source": "iana" + }, + "application/pkcs7-mime": { + "source": "iana", + "extensions": ["p7m","p7c"] + }, + "application/pkcs7-signature": { + "source": "iana", + "extensions": ["p7s"] + }, + "application/pkcs8": { + "source": "iana", + "extensions": ["p8"] + }, + "application/pkcs8-encrypted": { + "source": "iana" + }, + "application/pkix-attr-cert": { + "source": "iana", + "extensions": ["ac"] + }, + "application/pkix-cert": { + "source": "iana", + "extensions": ["cer"] + }, + "application/pkix-crl": { + "source": "iana", + "extensions": ["crl"] + }, + "application/pkix-pkipath": { + "source": "iana", + "extensions": ["pkipath"] + }, + "application/pkixcmp": { + "source": "iana", + "extensions": ["pki"] + }, + "application/pls+xml": { + "source": "iana", + "compressible": true, + "extensions": ["pls"] + }, + "application/poc-settings+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/postscript": { + "source": "iana", + "compressible": true, + "extensions": ["ai","eps","ps"] + }, + "application/ppsp-tracker+json": { + "source": "iana", + "compressible": true + }, + "application/problem+json": { + "source": "iana", + "compressible": true + }, + "application/problem+xml": { + "source": "iana", + "compressible": true + }, + "application/provenance+xml": { + "source": "iana", + "compressible": true, + "extensions": ["provx"] + }, + "application/prs.alvestrand.titrax-sheet": { + "source": "iana" + }, + "application/prs.cww": { + "source": "iana", + "extensions": ["cww"] + }, + "application/prs.cyn": { + "source": "iana", + "charset": "7-BIT" + }, + "application/prs.hpub+zip": { + "source": "iana", + "compressible": false + }, + "application/prs.nprend": { + "source": "iana" + }, + "application/prs.plucker": { + "source": "iana" + }, + "application/prs.rdf-xml-crypt": { + "source": "iana" + }, + "application/prs.xsf+xml": { + "source": "iana", + "compressible": true + }, + "application/pskc+xml": { + "source": "iana", + "compressible": true, + "extensions": ["pskcxml"] + }, + "application/pvd+json": { + "source": "iana", + "compressible": true + }, + "application/qsig": { + "source": "iana" + }, + "application/raml+yaml": { + "compressible": true, + "extensions": ["raml"] + }, + "application/raptorfec": { + "source": "iana" + }, + "application/rdap+json": { + "source": "iana", + "compressible": true + }, + "application/rdf+xml": { + "source": "iana", + "compressible": true, + "extensions": ["rdf","owl"] + }, + "application/reginfo+xml": { + "source": "iana", + "compressible": true, + "extensions": ["rif"] + }, + "application/relax-ng-compact-syntax": { + "source": "iana", + "extensions": ["rnc"] + }, + "application/remote-printing": { + "source": "iana" + }, + "application/reputon+json": { + "source": "iana", + "compressible": true + }, + "application/resource-lists+xml": { + "source": "iana", + "compressible": true, + "extensions": ["rl"] + }, + "application/resource-lists-diff+xml": { + "source": "iana", + "compressible": true, + "extensions": ["rld"] + }, + "application/rfc+xml": { + "source": "iana", + "compressible": true + }, + "application/riscos": { + "source": "iana" + }, + "application/rlmi+xml": { + "source": "iana", + "compressible": true + }, + "application/rls-services+xml": { + "source": "iana", + "compressible": true, + "extensions": ["rs"] + }, + "application/route-apd+xml": { + "source": "iana", + "compressible": true, + "extensions": ["rapd"] + }, + "application/route-s-tsid+xml": { + "source": "iana", + "compressible": true, + "extensions": ["sls"] + }, + "application/route-usd+xml": { + "source": "iana", + "compressible": true, + "extensions": ["rusd"] + }, + "application/rpki-ghostbusters": { + "source": "iana", + "extensions": ["gbr"] + }, + "application/rpki-manifest": { + "source": "iana", + "extensions": ["mft"] + }, + "application/rpki-publication": { + "source": "iana" + }, + "application/rpki-roa": { + "source": "iana", + "extensions": ["roa"] + }, + "application/rpki-updown": { + "source": "iana" + }, + "application/rsd+xml": { + "source": "apache", + "compressible": true, + "extensions": ["rsd"] + }, + "application/rss+xml": { + "source": "apache", + "compressible": true, + "extensions": ["rss"] + }, + "application/rtf": { + "source": "iana", + "compressible": true, + "extensions": ["rtf"] + }, + "application/rtploopback": { + "source": "iana" + }, + "application/rtx": { + "source": "iana" + }, + "application/samlassertion+xml": { + "source": "iana", + "compressible": true + }, + "application/samlmetadata+xml": { + "source": "iana", + "compressible": true + }, + "application/sarif+json": { + "source": "iana", + "compressible": true + }, + "application/sarif-external-properties+json": { + "source": "iana", + "compressible": true + }, + "application/sbe": { + "source": "iana" + }, + "application/sbml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["sbml"] + }, + "application/scaip+xml": { + "source": "iana", + "compressible": true + }, + "application/scim+json": { + "source": "iana", + "compressible": true + }, + "application/scvp-cv-request": { + "source": "iana", + "extensions": ["scq"] + }, + "application/scvp-cv-response": { + "source": "iana", + "extensions": ["scs"] + }, + "application/scvp-vp-request": { + "source": "iana", + "extensions": ["spq"] + }, + "application/scvp-vp-response": { + "source": "iana", + "extensions": ["spp"] + }, + "application/sdp": { + "source": "iana", + "extensions": ["sdp"] + }, + "application/secevent+jwt": { + "source": "iana" + }, + "application/senml+cbor": { + "source": "iana" + }, + "application/senml+json": { + "source": "iana", + "compressible": true + }, + "application/senml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["senmlx"] + }, + "application/senml-etch+cbor": { + "source": "iana" + }, + "application/senml-etch+json": { + "source": "iana", + "compressible": true + }, + "application/senml-exi": { + "source": "iana" + }, + "application/sensml+cbor": { + "source": "iana" + }, + "application/sensml+json": { + "source": "iana", + "compressible": true + }, + "application/sensml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["sensmlx"] + }, + "application/sensml-exi": { + "source": "iana" + }, + "application/sep+xml": { + "source": "iana", + "compressible": true + }, + "application/sep-exi": { + "source": "iana" + }, + "application/session-info": { + "source": "iana" + }, + "application/set-payment": { + "source": "iana" + }, + "application/set-payment-initiation": { + "source": "iana", + "extensions": ["setpay"] + }, + "application/set-registration": { + "source": "iana" + }, + "application/set-registration-initiation": { + "source": "iana", + "extensions": ["setreg"] + }, + "application/sgml": { + "source": "iana" + }, + "application/sgml-open-catalog": { + "source": "iana" + }, + "application/shf+xml": { + "source": "iana", + "compressible": true, + "extensions": ["shf"] + }, + "application/sieve": { + "source": "iana", + "extensions": ["siv","sieve"] + }, + "application/simple-filter+xml": { + "source": "iana", + "compressible": true + }, + "application/simple-message-summary": { + "source": "iana" + }, + "application/simplesymbolcontainer": { + "source": "iana" + }, + "application/sipc": { + "source": "iana" + }, + "application/slate": { + "source": "iana" + }, + "application/smil": { + "source": "iana" + }, + "application/smil+xml": { + "source": "iana", + "compressible": true, + "extensions": ["smi","smil"] + }, + "application/smpte336m": { + "source": "iana" + }, + "application/soap+fastinfoset": { + "source": "iana" + }, + "application/soap+xml": { + "source": "iana", + "compressible": true + }, + "application/sparql-query": { + "source": "iana", + "extensions": ["rq"] + }, + "application/sparql-results+xml": { + "source": "iana", + "compressible": true, + "extensions": ["srx"] + }, + "application/spdx+json": { + "source": "iana", + "compressible": true + }, + "application/spirits-event+xml": { + "source": "iana", + "compressible": true + }, + "application/sql": { + "source": "iana" + }, + "application/srgs": { + "source": "iana", + "extensions": ["gram"] + }, + "application/srgs+xml": { + "source": "iana", + "compressible": true, + "extensions": ["grxml"] + }, + "application/sru+xml": { + "source": "iana", + "compressible": true, + "extensions": ["sru"] + }, + "application/ssdl+xml": { + "source": "apache", + "compressible": true, + "extensions": ["ssdl"] + }, + "application/ssml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["ssml"] + }, + "application/stix+json": { + "source": "iana", + "compressible": true + }, + "application/swid+xml": { + "source": "iana", + "compressible": true, + "extensions": ["swidtag"] + }, + "application/tamp-apex-update": { + "source": "iana" + }, + "application/tamp-apex-update-confirm": { + "source": "iana" + }, + "application/tamp-community-update": { + "source": "iana" + }, + "application/tamp-community-update-confirm": { + "source": "iana" + }, + "application/tamp-error": { + "source": "iana" + }, + "application/tamp-sequence-adjust": { + "source": "iana" + }, + "application/tamp-sequence-adjust-confirm": { + "source": "iana" + }, + "application/tamp-status-query": { + "source": "iana" + }, + "application/tamp-status-response": { + "source": "iana" + }, + "application/tamp-update": { + "source": "iana" + }, + "application/tamp-update-confirm": { + "source": "iana" + }, + "application/tar": { + "compressible": true + }, + "application/taxii+json": { + "source": "iana", + "compressible": true + }, + "application/td+json": { + "source": "iana", + "compressible": true + }, + "application/tei+xml": { + "source": "iana", + "compressible": true, + "extensions": ["tei","teicorpus"] + }, + "application/tetra_isi": { + "source": "iana" + }, + "application/thraud+xml": { + "source": "iana", + "compressible": true, + "extensions": ["tfi"] + }, + "application/timestamp-query": { + "source": "iana" + }, + "application/timestamp-reply": { + "source": "iana" + }, + "application/timestamped-data": { + "source": "iana", + "extensions": ["tsd"] + }, + "application/tlsrpt+gzip": { + "source": "iana" + }, + "application/tlsrpt+json": { + "source": "iana", + "compressible": true + }, + "application/tnauthlist": { + "source": "iana" + }, + "application/token-introspection+jwt": { + "source": "iana" + }, + "application/toml": { + "compressible": true, + "extensions": ["toml"] + }, + "application/trickle-ice-sdpfrag": { + "source": "iana" + }, + "application/trig": { + "source": "iana", + "extensions": ["trig"] + }, + "application/ttml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["ttml"] + }, + "application/tve-trigger": { + "source": "iana" + }, + "application/tzif": { + "source": "iana" + }, + "application/tzif-leap": { + "source": "iana" + }, + "application/ubjson": { + "compressible": false, + "extensions": ["ubj"] + }, + "application/ulpfec": { + "source": "iana" + }, + "application/urc-grpsheet+xml": { + "source": "iana", + "compressible": true + }, + "application/urc-ressheet+xml": { + "source": "iana", + "compressible": true, + "extensions": ["rsheet"] + }, + "application/urc-targetdesc+xml": { + "source": "iana", + "compressible": true, + "extensions": ["td"] + }, + "application/urc-uisocketdesc+xml": { + "source": "iana", + "compressible": true + }, + "application/vcard+json": { + "source": "iana", + "compressible": true + }, + "application/vcard+xml": { + "source": "iana", + "compressible": true + }, + "application/vemmi": { + "source": "iana" + }, + "application/vividence.scriptfile": { + "source": "apache" + }, + "application/vnd.1000minds.decision-model+xml": { + "source": "iana", + "compressible": true, + "extensions": ["1km"] + }, + "application/vnd.3gpp-prose+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp-prose-pc3ch+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp-v2x-local-service-information": { + "source": "iana" + }, + "application/vnd.3gpp.5gnas": { + "source": "iana" + }, + "application/vnd.3gpp.access-transfer-events+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.bsf+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.gmop+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.gtpc": { + "source": "iana" + }, + "application/vnd.3gpp.interworking-data": { + "source": "iana" + }, + "application/vnd.3gpp.lpp": { + "source": "iana" + }, + "application/vnd.3gpp.mc-signalling-ear": { + "source": "iana" + }, + "application/vnd.3gpp.mcdata-affiliation-command+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcdata-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcdata-payload": { + "source": "iana" + }, + "application/vnd.3gpp.mcdata-service-config+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcdata-signalling": { + "source": "iana" + }, + "application/vnd.3gpp.mcdata-ue-config+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcdata-user-profile+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-affiliation-command+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-floor-request+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-location-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-mbms-usage-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-service-config+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-signed+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-ue-config+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-ue-init-config+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcptt-user-profile+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcvideo-affiliation-command+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcvideo-affiliation-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcvideo-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcvideo-location-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcvideo-mbms-usage-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcvideo-service-config+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcvideo-transmission-request+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcvideo-ue-config+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mcvideo-user-profile+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.mid-call+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.ngap": { + "source": "iana" + }, + "application/vnd.3gpp.pfcp": { + "source": "iana" + }, + "application/vnd.3gpp.pic-bw-large": { + "source": "iana", + "extensions": ["plb"] + }, + "application/vnd.3gpp.pic-bw-small": { + "source": "iana", + "extensions": ["psb"] + }, + "application/vnd.3gpp.pic-bw-var": { + "source": "iana", + "extensions": ["pvb"] + }, + "application/vnd.3gpp.s1ap": { + "source": "iana" + }, + "application/vnd.3gpp.sms": { + "source": "iana" + }, + "application/vnd.3gpp.sms+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.srvcc-ext+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.srvcc-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.state-and-event-info+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp.ussd+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp2.bcmcsinfo+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.3gpp2.sms": { + "source": "iana" + }, + "application/vnd.3gpp2.tcap": { + "source": "iana", + "extensions": ["tcap"] + }, + "application/vnd.3lightssoftware.imagescal": { + "source": "iana" + }, + "application/vnd.3m.post-it-notes": { + "source": "iana", + "extensions": ["pwn"] + }, + "application/vnd.accpac.simply.aso": { + "source": "iana", + "extensions": ["aso"] + }, + "application/vnd.accpac.simply.imp": { + "source": "iana", + "extensions": ["imp"] + }, + "application/vnd.acucobol": { + "source": "iana", + "extensions": ["acu"] + }, + "application/vnd.acucorp": { + "source": "iana", + "extensions": ["atc","acutc"] + }, + "application/vnd.adobe.air-application-installer-package+zip": { + "source": "apache", + "compressible": false, + "extensions": ["air"] + }, + "application/vnd.adobe.flash.movie": { + "source": "iana" + }, + "application/vnd.adobe.formscentral.fcdt": { + "source": "iana", + "extensions": ["fcdt"] + }, + "application/vnd.adobe.fxp": { + "source": "iana", + "extensions": ["fxp","fxpl"] + }, + "application/vnd.adobe.partial-upload": { + "source": "iana" + }, + "application/vnd.adobe.xdp+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xdp"] + }, + "application/vnd.adobe.xfdf": { + "source": "iana", + "extensions": ["xfdf"] + }, + "application/vnd.aether.imp": { + "source": "iana" + }, + "application/vnd.afpc.afplinedata": { + "source": "iana" + }, + "application/vnd.afpc.afplinedata-pagedef": { + "source": "iana" + }, + "application/vnd.afpc.cmoca-cmresource": { + "source": "iana" + }, + "application/vnd.afpc.foca-charset": { + "source": "iana" + }, + "application/vnd.afpc.foca-codedfont": { + "source": "iana" + }, + "application/vnd.afpc.foca-codepage": { + "source": "iana" + }, + "application/vnd.afpc.modca": { + "source": "iana" + }, + "application/vnd.afpc.modca-cmtable": { + "source": "iana" + }, + "application/vnd.afpc.modca-formdef": { + "source": "iana" + }, + "application/vnd.afpc.modca-mediummap": { + "source": "iana" + }, + "application/vnd.afpc.modca-objectcontainer": { + "source": "iana" + }, + "application/vnd.afpc.modca-overlay": { + "source": "iana" + }, + "application/vnd.afpc.modca-pagesegment": { + "source": "iana" + }, + "application/vnd.age": { + "source": "iana", + "extensions": ["age"] + }, + "application/vnd.ah-barcode": { + "source": "iana" + }, + "application/vnd.ahead.space": { + "source": "iana", + "extensions": ["ahead"] + }, + "application/vnd.airzip.filesecure.azf": { + "source": "iana", + "extensions": ["azf"] + }, + "application/vnd.airzip.filesecure.azs": { + "source": "iana", + "extensions": ["azs"] + }, + "application/vnd.amadeus+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.amazon.ebook": { + "source": "apache", + "extensions": ["azw"] + }, + "application/vnd.amazon.mobi8-ebook": { + "source": "iana" + }, + "application/vnd.americandynamics.acc": { + "source": "iana", + "extensions": ["acc"] + }, + "application/vnd.amiga.ami": { + "source": "iana", + "extensions": ["ami"] + }, + "application/vnd.amundsen.maze+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.android.ota": { + "source": "iana" + }, + "application/vnd.android.package-archive": { + "source": "apache", + "compressible": false, + "extensions": ["apk"] + }, + "application/vnd.anki": { + "source": "iana" + }, + "application/vnd.anser-web-certificate-issue-initiation": { + "source": "iana", + "extensions": ["cii"] + }, + "application/vnd.anser-web-funds-transfer-initiation": { + "source": "apache", + "extensions": ["fti"] + }, + "application/vnd.antix.game-component": { + "source": "iana", + "extensions": ["atx"] + }, + "application/vnd.apache.arrow.file": { + "source": "iana" + }, + "application/vnd.apache.arrow.stream": { + "source": "iana" + }, + "application/vnd.apache.thrift.binary": { + "source": "iana" + }, + "application/vnd.apache.thrift.compact": { + "source": "iana" + }, + "application/vnd.apache.thrift.json": { + "source": "iana" + }, + "application/vnd.api+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.aplextor.warrp+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.apothekende.reservation+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.apple.installer+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mpkg"] + }, + "application/vnd.apple.keynote": { + "source": "iana", + "extensions": ["key"] + }, + "application/vnd.apple.mpegurl": { + "source": "iana", + "extensions": ["m3u8"] + }, + "application/vnd.apple.numbers": { + "source": "iana", + "extensions": ["numbers"] + }, + "application/vnd.apple.pages": { + "source": "iana", + "extensions": ["pages"] + }, + "application/vnd.apple.pkpass": { + "compressible": false, + "extensions": ["pkpass"] + }, + "application/vnd.arastra.swi": { + "source": "iana" + }, + "application/vnd.aristanetworks.swi": { + "source": "iana", + "extensions": ["swi"] + }, + "application/vnd.artisan+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.artsquare": { + "source": "iana" + }, + "application/vnd.astraea-software.iota": { + "source": "iana", + "extensions": ["iota"] + }, + "application/vnd.audiograph": { + "source": "iana", + "extensions": ["aep"] + }, + "application/vnd.autopackage": { + "source": "iana" + }, + "application/vnd.avalon+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.avistar+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.balsamiq.bmml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["bmml"] + }, + "application/vnd.balsamiq.bmpr": { + "source": "iana" + }, + "application/vnd.banana-accounting": { + "source": "iana" + }, + "application/vnd.bbf.usp.error": { + "source": "iana" + }, + "application/vnd.bbf.usp.msg": { + "source": "iana" + }, + "application/vnd.bbf.usp.msg+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.bekitzur-stech+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.bint.med-content": { + "source": "iana" + }, + "application/vnd.biopax.rdf+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.blink-idb-value-wrapper": { + "source": "iana" + }, + "application/vnd.blueice.multipass": { + "source": "iana", + "extensions": ["mpm"] + }, + "application/vnd.bluetooth.ep.oob": { + "source": "iana" + }, + "application/vnd.bluetooth.le.oob": { + "source": "iana" + }, + "application/vnd.bmi": { + "source": "iana", + "extensions": ["bmi"] + }, + "application/vnd.bpf": { + "source": "iana" + }, + "application/vnd.bpf3": { + "source": "iana" + }, + "application/vnd.businessobjects": { + "source": "iana", + "extensions": ["rep"] + }, + "application/vnd.byu.uapi+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.cab-jscript": { + "source": "iana" + }, + "application/vnd.canon-cpdl": { + "source": "iana" + }, + "application/vnd.canon-lips": { + "source": "iana" + }, + "application/vnd.capasystems-pg+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.cendio.thinlinc.clientconf": { + "source": "iana" + }, + "application/vnd.century-systems.tcp_stream": { + "source": "iana" + }, + "application/vnd.chemdraw+xml": { + "source": "iana", + "compressible": true, + "extensions": ["cdxml"] + }, + "application/vnd.chess-pgn": { + "source": "iana" + }, + "application/vnd.chipnuts.karaoke-mmd": { + "source": "iana", + "extensions": ["mmd"] + }, + "application/vnd.ciedi": { + "source": "iana" + }, + "application/vnd.cinderella": { + "source": "iana", + "extensions": ["cdy"] + }, + "application/vnd.cirpack.isdn-ext": { + "source": "iana" + }, + "application/vnd.citationstyles.style+xml": { + "source": "iana", + "compressible": true, + "extensions": ["csl"] + }, + "application/vnd.claymore": { + "source": "iana", + "extensions": ["cla"] + }, + "application/vnd.cloanto.rp9": { + "source": "iana", + "extensions": ["rp9"] + }, + "application/vnd.clonk.c4group": { + "source": "iana", + "extensions": ["c4g","c4d","c4f","c4p","c4u"] + }, + "application/vnd.cluetrust.cartomobile-config": { + "source": "iana", + "extensions": ["c11amc"] + }, + "application/vnd.cluetrust.cartomobile-config-pkg": { + "source": "iana", + "extensions": ["c11amz"] + }, + "application/vnd.coffeescript": { + "source": "iana" + }, + "application/vnd.collabio.xodocuments.document": { + "source": "iana" + }, + "application/vnd.collabio.xodocuments.document-template": { + "source": "iana" + }, + "application/vnd.collabio.xodocuments.presentation": { + "source": "iana" + }, + "application/vnd.collabio.xodocuments.presentation-template": { + "source": "iana" + }, + "application/vnd.collabio.xodocuments.spreadsheet": { + "source": "iana" + }, + "application/vnd.collabio.xodocuments.spreadsheet-template": { + "source": "iana" + }, + "application/vnd.collection+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.collection.doc+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.collection.next+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.comicbook+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.comicbook-rar": { + "source": "iana" + }, + "application/vnd.commerce-battelle": { + "source": "iana" + }, + "application/vnd.commonspace": { + "source": "iana", + "extensions": ["csp"] + }, + "application/vnd.contact.cmsg": { + "source": "iana", + "extensions": ["cdbcmsg"] + }, + "application/vnd.coreos.ignition+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.cosmocaller": { + "source": "iana", + "extensions": ["cmc"] + }, + "application/vnd.crick.clicker": { + "source": "iana", + "extensions": ["clkx"] + }, + "application/vnd.crick.clicker.keyboard": { + "source": "iana", + "extensions": ["clkk"] + }, + "application/vnd.crick.clicker.palette": { + "source": "iana", + "extensions": ["clkp"] + }, + "application/vnd.crick.clicker.template": { + "source": "iana", + "extensions": ["clkt"] + }, + "application/vnd.crick.clicker.wordbank": { + "source": "iana", + "extensions": ["clkw"] + }, + "application/vnd.criticaltools.wbs+xml": { + "source": "iana", + "compressible": true, + "extensions": ["wbs"] + }, + "application/vnd.cryptii.pipe+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.crypto-shade-file": { + "source": "iana" + }, + "application/vnd.cryptomator.encrypted": { + "source": "iana" + }, + "application/vnd.cryptomator.vault": { + "source": "iana" + }, + "application/vnd.ctc-posml": { + "source": "iana", + "extensions": ["pml"] + }, + "application/vnd.ctct.ws+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.cups-pdf": { + "source": "iana" + }, + "application/vnd.cups-postscript": { + "source": "iana" + }, + "application/vnd.cups-ppd": { + "source": "iana", + "extensions": ["ppd"] + }, + "application/vnd.cups-raster": { + "source": "iana" + }, + "application/vnd.cups-raw": { + "source": "iana" + }, + "application/vnd.curl": { + "source": "iana" + }, + "application/vnd.curl.car": { + "source": "apache", + "extensions": ["car"] + }, + "application/vnd.curl.pcurl": { + "source": "apache", + "extensions": ["pcurl"] + }, + "application/vnd.cyan.dean.root+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.cybank": { + "source": "iana" + }, + "application/vnd.cyclonedx+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.cyclonedx+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.d2l.coursepackage1p0+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.d3m-dataset": { + "source": "iana" + }, + "application/vnd.d3m-problem": { + "source": "iana" + }, + "application/vnd.dart": { + "source": "iana", + "compressible": true, + "extensions": ["dart"] + }, + "application/vnd.data-vision.rdz": { + "source": "iana", + "extensions": ["rdz"] + }, + "application/vnd.datapackage+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.dataresource+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.dbf": { + "source": "iana", + "extensions": ["dbf"] + }, + "application/vnd.debian.binary-package": { + "source": "iana" + }, + "application/vnd.dece.data": { + "source": "iana", + "extensions": ["uvf","uvvf","uvd","uvvd"] + }, + "application/vnd.dece.ttml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["uvt","uvvt"] + }, + "application/vnd.dece.unspecified": { + "source": "iana", + "extensions": ["uvx","uvvx"] + }, + "application/vnd.dece.zip": { + "source": "iana", + "extensions": ["uvz","uvvz"] + }, + "application/vnd.denovo.fcselayout-link": { + "source": "iana", + "extensions": ["fe_launch"] + }, + "application/vnd.desmume.movie": { + "source": "iana" + }, + "application/vnd.dir-bi.plate-dl-nosuffix": { + "source": "iana" + }, + "application/vnd.dm.delegation+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.dna": { + "source": "iana", + "extensions": ["dna"] + }, + "application/vnd.document+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.dolby.mlp": { + "source": "apache", + "extensions": ["mlp"] + }, + "application/vnd.dolby.mobile.1": { + "source": "iana" + }, + "application/vnd.dolby.mobile.2": { + "source": "iana" + }, + "application/vnd.doremir.scorecloud-binary-document": { + "source": "iana" + }, + "application/vnd.dpgraph": { + "source": "iana", + "extensions": ["dpg"] + }, + "application/vnd.dreamfactory": { + "source": "iana", + "extensions": ["dfac"] + }, + "application/vnd.drive+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.ds-keypoint": { + "source": "apache", + "extensions": ["kpxx"] + }, + "application/vnd.dtg.local": { + "source": "iana" + }, + "application/vnd.dtg.local.flash": { + "source": "iana" + }, + "application/vnd.dtg.local.html": { + "source": "iana" + }, + "application/vnd.dvb.ait": { + "source": "iana", + "extensions": ["ait"] + }, + "application/vnd.dvb.dvbisl+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.dvb.dvbj": { + "source": "iana" + }, + "application/vnd.dvb.esgcontainer": { + "source": "iana" + }, + "application/vnd.dvb.ipdcdftnotifaccess": { + "source": "iana" + }, + "application/vnd.dvb.ipdcesgaccess": { + "source": "iana" + }, + "application/vnd.dvb.ipdcesgaccess2": { + "source": "iana" + }, + "application/vnd.dvb.ipdcesgpdd": { + "source": "iana" + }, + "application/vnd.dvb.ipdcroaming": { + "source": "iana" + }, + "application/vnd.dvb.iptv.alfec-base": { + "source": "iana" + }, + "application/vnd.dvb.iptv.alfec-enhancement": { + "source": "iana" + }, + "application/vnd.dvb.notif-aggregate-root+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.dvb.notif-container+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.dvb.notif-generic+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.dvb.notif-ia-msglist+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.dvb.notif-ia-registration-request+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.dvb.notif-ia-registration-response+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.dvb.notif-init+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.dvb.pfr": { + "source": "iana" + }, + "application/vnd.dvb.service": { + "source": "iana", + "extensions": ["svc"] + }, + "application/vnd.dxr": { + "source": "iana" + }, + "application/vnd.dynageo": { + "source": "iana", + "extensions": ["geo"] + }, + "application/vnd.dzr": { + "source": "iana" + }, + "application/vnd.easykaraoke.cdgdownload": { + "source": "iana" + }, + "application/vnd.ecdis-update": { + "source": "iana" + }, + "application/vnd.ecip.rlp": { + "source": "iana" + }, + "application/vnd.eclipse.ditto+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.ecowin.chart": { + "source": "iana", + "extensions": ["mag"] + }, + "application/vnd.ecowin.filerequest": { + "source": "iana" + }, + "application/vnd.ecowin.fileupdate": { + "source": "iana" + }, + "application/vnd.ecowin.series": { + "source": "iana" + }, + "application/vnd.ecowin.seriesrequest": { + "source": "iana" + }, + "application/vnd.ecowin.seriesupdate": { + "source": "iana" + }, + "application/vnd.efi.img": { + "source": "iana" + }, + "application/vnd.efi.iso": { + "source": "iana" + }, + "application/vnd.emclient.accessrequest+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.enliven": { + "source": "iana", + "extensions": ["nml"] + }, + "application/vnd.enphase.envoy": { + "source": "iana" + }, + "application/vnd.eprints.data+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.epson.esf": { + "source": "iana", + "extensions": ["esf"] + }, + "application/vnd.epson.msf": { + "source": "iana", + "extensions": ["msf"] + }, + "application/vnd.epson.quickanime": { + "source": "iana", + "extensions": ["qam"] + }, + "application/vnd.epson.salt": { + "source": "iana", + "extensions": ["slt"] + }, + "application/vnd.epson.ssf": { + "source": "iana", + "extensions": ["ssf"] + }, + "application/vnd.ericsson.quickcall": { + "source": "iana" + }, + "application/vnd.espass-espass+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.eszigno3+xml": { + "source": "iana", + "compressible": true, + "extensions": ["es3","et3"] + }, + "application/vnd.etsi.aoc+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.asic-e+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.etsi.asic-s+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.etsi.cug+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.iptvcommand+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.iptvdiscovery+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.iptvprofile+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.iptvsad-bc+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.iptvsad-cod+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.iptvsad-npvr+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.iptvservice+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.iptvsync+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.iptvueprofile+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.mcid+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.mheg5": { + "source": "iana" + }, + "application/vnd.etsi.overload-control-policy-dataset+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.pstn+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.sci+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.simservs+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.timestamp-token": { + "source": "iana" + }, + "application/vnd.etsi.tsl+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.etsi.tsl.der": { + "source": "iana" + }, + "application/vnd.eu.kasparian.car+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.eudora.data": { + "source": "iana" + }, + "application/vnd.evolv.ecig.profile": { + "source": "iana" + }, + "application/vnd.evolv.ecig.settings": { + "source": "iana" + }, + "application/vnd.evolv.ecig.theme": { + "source": "iana" + }, + "application/vnd.exstream-empower+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.exstream-package": { + "source": "iana" + }, + "application/vnd.ezpix-album": { + "source": "iana", + "extensions": ["ez2"] + }, + "application/vnd.ezpix-package": { + "source": "iana", + "extensions": ["ez3"] + }, + "application/vnd.f-secure.mobile": { + "source": "iana" + }, + "application/vnd.familysearch.gedcom+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.fastcopy-disk-image": { + "source": "iana" + }, + "application/vnd.fdf": { + "source": "iana", + "extensions": ["fdf"] + }, + "application/vnd.fdsn.mseed": { + "source": "iana", + "extensions": ["mseed"] + }, + "application/vnd.fdsn.seed": { + "source": "iana", + "extensions": ["seed","dataless"] + }, + "application/vnd.ffsns": { + "source": "iana" + }, + "application/vnd.ficlab.flb+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.filmit.zfc": { + "source": "iana" + }, + "application/vnd.fints": { + "source": "iana" + }, + "application/vnd.firemonkeys.cloudcell": { + "source": "iana" + }, + "application/vnd.flographit": { + "source": "iana", + "extensions": ["gph"] + }, + "application/vnd.fluxtime.clip": { + "source": "iana", + "extensions": ["ftc"] + }, + "application/vnd.font-fontforge-sfd": { + "source": "iana" + }, + "application/vnd.framemaker": { + "source": "iana", + "extensions": ["fm","frame","maker","book"] + }, + "application/vnd.frogans.fnc": { + "source": "iana", + "extensions": ["fnc"] + }, + "application/vnd.frogans.ltf": { + "source": "iana", + "extensions": ["ltf"] + }, + "application/vnd.fsc.weblaunch": { + "source": "iana", + "extensions": ["fsc"] + }, + "application/vnd.fujifilm.fb.docuworks": { + "source": "iana" + }, + "application/vnd.fujifilm.fb.docuworks.binder": { + "source": "iana" + }, + "application/vnd.fujifilm.fb.docuworks.container": { + "source": "iana" + }, + "application/vnd.fujifilm.fb.jfi+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.fujitsu.oasys": { + "source": "iana", + "extensions": ["oas"] + }, + "application/vnd.fujitsu.oasys2": { + "source": "iana", + "extensions": ["oa2"] + }, + "application/vnd.fujitsu.oasys3": { + "source": "iana", + "extensions": ["oa3"] + }, + "application/vnd.fujitsu.oasysgp": { + "source": "iana", + "extensions": ["fg5"] + }, + "application/vnd.fujitsu.oasysprs": { + "source": "iana", + "extensions": ["bh2"] + }, + "application/vnd.fujixerox.art-ex": { + "source": "iana" + }, + "application/vnd.fujixerox.art4": { + "source": "iana" + }, + "application/vnd.fujixerox.ddd": { + "source": "iana", + "extensions": ["ddd"] + }, + "application/vnd.fujixerox.docuworks": { + "source": "iana", + "extensions": ["xdw"] + }, + "application/vnd.fujixerox.docuworks.binder": { + "source": "iana", + "extensions": ["xbd"] + }, + "application/vnd.fujixerox.docuworks.container": { + "source": "iana" + }, + "application/vnd.fujixerox.hbpl": { + "source": "iana" + }, + "application/vnd.fut-misnet": { + "source": "iana" + }, + "application/vnd.futoin+cbor": { + "source": "iana" + }, + "application/vnd.futoin+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.fuzzysheet": { + "source": "iana", + "extensions": ["fzs"] + }, + "application/vnd.genomatix.tuxedo": { + "source": "iana", + "extensions": ["txd"] + }, + "application/vnd.gentics.grd+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.geo+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.geocube+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.geogebra.file": { + "source": "iana", + "extensions": ["ggb"] + }, + "application/vnd.geogebra.slides": { + "source": "iana" + }, + "application/vnd.geogebra.tool": { + "source": "iana", + "extensions": ["ggt"] + }, + "application/vnd.geometry-explorer": { + "source": "iana", + "extensions": ["gex","gre"] + }, + "application/vnd.geonext": { + "source": "iana", + "extensions": ["gxt"] + }, + "application/vnd.geoplan": { + "source": "iana", + "extensions": ["g2w"] + }, + "application/vnd.geospace": { + "source": "iana", + "extensions": ["g3w"] + }, + "application/vnd.gerber": { + "source": "iana" + }, + "application/vnd.globalplatform.card-content-mgt": { + "source": "iana" + }, + "application/vnd.globalplatform.card-content-mgt-response": { + "source": "iana" + }, + "application/vnd.gmx": { + "source": "iana", + "extensions": ["gmx"] + }, + "application/vnd.google-apps.document": { + "compressible": false, + "extensions": ["gdoc"] + }, + "application/vnd.google-apps.presentation": { + "compressible": false, + "extensions": ["gslides"] + }, + "application/vnd.google-apps.spreadsheet": { + "compressible": false, + "extensions": ["gsheet"] + }, + "application/vnd.google-earth.kml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["kml"] + }, + "application/vnd.google-earth.kmz": { + "source": "iana", + "compressible": false, + "extensions": ["kmz"] + }, + "application/vnd.gov.sk.e-form+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.gov.sk.e-form+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.gov.sk.xmldatacontainer+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.grafeq": { + "source": "iana", + "extensions": ["gqf","gqs"] + }, + "application/vnd.gridmp": { + "source": "iana" + }, + "application/vnd.groove-account": { + "source": "iana", + "extensions": ["gac"] + }, + "application/vnd.groove-help": { + "source": "iana", + "extensions": ["ghf"] + }, + "application/vnd.groove-identity-message": { + "source": "iana", + "extensions": ["gim"] + }, + "application/vnd.groove-injector": { + "source": "iana", + "extensions": ["grv"] + }, + "application/vnd.groove-tool-message": { + "source": "iana", + "extensions": ["gtm"] + }, + "application/vnd.groove-tool-template": { + "source": "iana", + "extensions": ["tpl"] + }, + "application/vnd.groove-vcard": { + "source": "iana", + "extensions": ["vcg"] + }, + "application/vnd.hal+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.hal+xml": { + "source": "iana", + "compressible": true, + "extensions": ["hal"] + }, + "application/vnd.handheld-entertainment+xml": { + "source": "iana", + "compressible": true, + "extensions": ["zmm"] + }, + "application/vnd.hbci": { + "source": "iana", + "extensions": ["hbci"] + }, + "application/vnd.hc+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.hcl-bireports": { + "source": "iana" + }, + "application/vnd.hdt": { + "source": "iana" + }, + "application/vnd.heroku+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.hhe.lesson-player": { + "source": "iana", + "extensions": ["les"] + }, + "application/vnd.hl7cda+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/vnd.hl7v2+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/vnd.hp-hpgl": { + "source": "iana", + "extensions": ["hpgl"] + }, + "application/vnd.hp-hpid": { + "source": "iana", + "extensions": ["hpid"] + }, + "application/vnd.hp-hps": { + "source": "iana", + "extensions": ["hps"] + }, + "application/vnd.hp-jlyt": { + "source": "iana", + "extensions": ["jlt"] + }, + "application/vnd.hp-pcl": { + "source": "iana", + "extensions": ["pcl"] + }, + "application/vnd.hp-pclxl": { + "source": "iana", + "extensions": ["pclxl"] + }, + "application/vnd.httphone": { + "source": "iana" + }, + "application/vnd.hydrostatix.sof-data": { + "source": "iana", + "extensions": ["sfd-hdstx"] + }, + "application/vnd.hyper+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.hyper-item+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.hyperdrive+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.hzn-3d-crossword": { + "source": "iana" + }, + "application/vnd.ibm.afplinedata": { + "source": "iana" + }, + "application/vnd.ibm.electronic-media": { + "source": "iana" + }, + "application/vnd.ibm.minipay": { + "source": "iana", + "extensions": ["mpy"] + }, + "application/vnd.ibm.modcap": { + "source": "iana", + "extensions": ["afp","listafp","list3820"] + }, + "application/vnd.ibm.rights-management": { + "source": "iana", + "extensions": ["irm"] + }, + "application/vnd.ibm.secure-container": { + "source": "iana", + "extensions": ["sc"] + }, + "application/vnd.iccprofile": { + "source": "iana", + "extensions": ["icc","icm"] + }, + "application/vnd.ieee.1905": { + "source": "iana" + }, + "application/vnd.igloader": { + "source": "iana", + "extensions": ["igl"] + }, + "application/vnd.imagemeter.folder+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.imagemeter.image+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.immervision-ivp": { + "source": "iana", + "extensions": ["ivp"] + }, + "application/vnd.immervision-ivu": { + "source": "iana", + "extensions": ["ivu"] + }, + "application/vnd.ims.imsccv1p1": { + "source": "iana" + }, + "application/vnd.ims.imsccv1p2": { + "source": "iana" + }, + "application/vnd.ims.imsccv1p3": { + "source": "iana" + }, + "application/vnd.ims.lis.v2.result+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.ims.lti.v2.toolconsumerprofile+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.ims.lti.v2.toolproxy+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.ims.lti.v2.toolproxy.id+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.ims.lti.v2.toolsettings+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.ims.lti.v2.toolsettings.simple+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.informedcontrol.rms+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.informix-visionary": { + "source": "iana" + }, + "application/vnd.infotech.project": { + "source": "iana" + }, + "application/vnd.infotech.project+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.innopath.wamp.notification": { + "source": "iana" + }, + "application/vnd.insors.igm": { + "source": "iana", + "extensions": ["igm"] + }, + "application/vnd.intercon.formnet": { + "source": "iana", + "extensions": ["xpw","xpx"] + }, + "application/vnd.intergeo": { + "source": "iana", + "extensions": ["i2g"] + }, + "application/vnd.intertrust.digibox": { + "source": "iana" + }, + "application/vnd.intertrust.nncp": { + "source": "iana" + }, + "application/vnd.intu.qbo": { + "source": "iana", + "extensions": ["qbo"] + }, + "application/vnd.intu.qfx": { + "source": "iana", + "extensions": ["qfx"] + }, + "application/vnd.iptc.g2.catalogitem+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.iptc.g2.conceptitem+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.iptc.g2.knowledgeitem+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.iptc.g2.newsitem+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.iptc.g2.newsmessage+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.iptc.g2.packageitem+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.iptc.g2.planningitem+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.ipunplugged.rcprofile": { + "source": "iana", + "extensions": ["rcprofile"] + }, + "application/vnd.irepository.package+xml": { + "source": "iana", + "compressible": true, + "extensions": ["irp"] + }, + "application/vnd.is-xpr": { + "source": "iana", + "extensions": ["xpr"] + }, + "application/vnd.isac.fcs": { + "source": "iana", + "extensions": ["fcs"] + }, + "application/vnd.iso11783-10+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.jam": { + "source": "iana", + "extensions": ["jam"] + }, + "application/vnd.japannet-directory-service": { + "source": "iana" + }, + "application/vnd.japannet-jpnstore-wakeup": { + "source": "iana" + }, + "application/vnd.japannet-payment-wakeup": { + "source": "iana" + }, + "application/vnd.japannet-registration": { + "source": "iana" + }, + "application/vnd.japannet-registration-wakeup": { + "source": "iana" + }, + "application/vnd.japannet-setstore-wakeup": { + "source": "iana" + }, + "application/vnd.japannet-verification": { + "source": "iana" + }, + "application/vnd.japannet-verification-wakeup": { + "source": "iana" + }, + "application/vnd.jcp.javame.midlet-rms": { + "source": "iana", + "extensions": ["rms"] + }, + "application/vnd.jisp": { + "source": "iana", + "extensions": ["jisp"] + }, + "application/vnd.joost.joda-archive": { + "source": "iana", + "extensions": ["joda"] + }, + "application/vnd.jsk.isdn-ngn": { + "source": "iana" + }, + "application/vnd.kahootz": { + "source": "iana", + "extensions": ["ktz","ktr"] + }, + "application/vnd.kde.karbon": { + "source": "iana", + "extensions": ["karbon"] + }, + "application/vnd.kde.kchart": { + "source": "iana", + "extensions": ["chrt"] + }, + "application/vnd.kde.kformula": { + "source": "iana", + "extensions": ["kfo"] + }, + "application/vnd.kde.kivio": { + "source": "iana", + "extensions": ["flw"] + }, + "application/vnd.kde.kontour": { + "source": "iana", + "extensions": ["kon"] + }, + "application/vnd.kde.kpresenter": { + "source": "iana", + "extensions": ["kpr","kpt"] + }, + "application/vnd.kde.kspread": { + "source": "iana", + "extensions": ["ksp"] + }, + "application/vnd.kde.kword": { + "source": "iana", + "extensions": ["kwd","kwt"] + }, + "application/vnd.kenameaapp": { + "source": "iana", + "extensions": ["htke"] + }, + "application/vnd.kidspiration": { + "source": "iana", + "extensions": ["kia"] + }, + "application/vnd.kinar": { + "source": "iana", + "extensions": ["kne","knp"] + }, + "application/vnd.koan": { + "source": "iana", + "extensions": ["skp","skd","skt","skm"] + }, + "application/vnd.kodak-descriptor": { + "source": "iana", + "extensions": ["sse"] + }, + "application/vnd.las": { + "source": "iana" + }, + "application/vnd.las.las+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.las.las+xml": { + "source": "iana", + "compressible": true, + "extensions": ["lasxml"] + }, + "application/vnd.laszip": { + "source": "iana" + }, + "application/vnd.leap+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.liberty-request+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.llamagraphics.life-balance.desktop": { + "source": "iana", + "extensions": ["lbd"] + }, + "application/vnd.llamagraphics.life-balance.exchange+xml": { + "source": "iana", + "compressible": true, + "extensions": ["lbe"] + }, + "application/vnd.logipipe.circuit+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.loom": { + "source": "iana" + }, + "application/vnd.lotus-1-2-3": { + "source": "iana", + "extensions": ["123"] + }, + "application/vnd.lotus-approach": { + "source": "iana", + "extensions": ["apr"] + }, + "application/vnd.lotus-freelance": { + "source": "iana", + "extensions": ["pre"] + }, + "application/vnd.lotus-notes": { + "source": "iana", + "extensions": ["nsf"] + }, + "application/vnd.lotus-organizer": { + "source": "iana", + "extensions": ["org"] + }, + "application/vnd.lotus-screencam": { + "source": "iana", + "extensions": ["scm"] + }, + "application/vnd.lotus-wordpro": { + "source": "iana", + "extensions": ["lwp"] + }, + "application/vnd.macports.portpkg": { + "source": "iana", + "extensions": ["portpkg"] + }, + "application/vnd.mapbox-vector-tile": { + "source": "iana", + "extensions": ["mvt"] + }, + "application/vnd.marlin.drm.actiontoken+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.marlin.drm.conftoken+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.marlin.drm.license+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.marlin.drm.mdcf": { + "source": "iana" + }, + "application/vnd.mason+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.maxar.archive.3tz+zip": { + "source": "iana", + "compressible": false + }, + "application/vnd.maxmind.maxmind-db": { + "source": "iana" + }, + "application/vnd.mcd": { + "source": "iana", + "extensions": ["mcd"] + }, + "application/vnd.medcalcdata": { + "source": "iana", + "extensions": ["mc1"] + }, + "application/vnd.mediastation.cdkey": { + "source": "iana", + "extensions": ["cdkey"] + }, + "application/vnd.meridian-slingshot": { + "source": "iana" + }, + "application/vnd.mfer": { + "source": "iana", + "extensions": ["mwf"] + }, + "application/vnd.mfmp": { + "source": "iana", + "extensions": ["mfm"] + }, + "application/vnd.micro+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.micrografx.flo": { + "source": "iana", + "extensions": ["flo"] + }, + "application/vnd.micrografx.igx": { + "source": "iana", + "extensions": ["igx"] + }, + "application/vnd.microsoft.portable-executable": { + "source": "iana" + }, + "application/vnd.microsoft.windows.thumbnail-cache": { + "source": "iana" + }, + "application/vnd.miele+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.mif": { + "source": "iana", + "extensions": ["mif"] + }, + "application/vnd.minisoft-hp3000-save": { + "source": "iana" + }, + "application/vnd.mitsubishi.misty-guard.trustweb": { + "source": "iana" + }, + "application/vnd.mobius.daf": { + "source": "iana", + "extensions": ["daf"] + }, + "application/vnd.mobius.dis": { + "source": "iana", + "extensions": ["dis"] + }, + "application/vnd.mobius.mbk": { + "source": "iana", + "extensions": ["mbk"] + }, + "application/vnd.mobius.mqy": { + "source": "iana", + "extensions": ["mqy"] + }, + "application/vnd.mobius.msl": { + "source": "iana", + "extensions": ["msl"] + }, + "application/vnd.mobius.plc": { + "source": "iana", + "extensions": ["plc"] + }, + "application/vnd.mobius.txf": { + "source": "iana", + "extensions": ["txf"] + }, + "application/vnd.mophun.application": { + "source": "iana", + "extensions": ["mpn"] + }, + "application/vnd.mophun.certificate": { + "source": "iana", + "extensions": ["mpc"] + }, + "application/vnd.motorola.flexsuite": { + "source": "iana" + }, + "application/vnd.motorola.flexsuite.adsi": { + "source": "iana" + }, + "application/vnd.motorola.flexsuite.fis": { + "source": "iana" + }, + "application/vnd.motorola.flexsuite.gotap": { + "source": "iana" + }, + "application/vnd.motorola.flexsuite.kmr": { + "source": "iana" + }, + "application/vnd.motorola.flexsuite.ttc": { + "source": "iana" + }, + "application/vnd.motorola.flexsuite.wem": { + "source": "iana" + }, + "application/vnd.motorola.iprm": { + "source": "iana" + }, + "application/vnd.mozilla.xul+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xul"] + }, + "application/vnd.ms-3mfdocument": { + "source": "iana" + }, + "application/vnd.ms-artgalry": { + "source": "iana", + "extensions": ["cil"] + }, + "application/vnd.ms-asf": { + "source": "iana" + }, + "application/vnd.ms-cab-compressed": { + "source": "iana", + "extensions": ["cab"] + }, + "application/vnd.ms-color.iccprofile": { + "source": "apache" + }, + "application/vnd.ms-excel": { + "source": "iana", + "compressible": false, + "extensions": ["xls","xlm","xla","xlc","xlt","xlw"] + }, + "application/vnd.ms-excel.addin.macroenabled.12": { + "source": "iana", + "extensions": ["xlam"] + }, + "application/vnd.ms-excel.sheet.binary.macroenabled.12": { + "source": "iana", + "extensions": ["xlsb"] + }, + "application/vnd.ms-excel.sheet.macroenabled.12": { + "source": "iana", + "extensions": ["xlsm"] + }, + "application/vnd.ms-excel.template.macroenabled.12": { + "source": "iana", + "extensions": ["xltm"] + }, + "application/vnd.ms-fontobject": { + "source": "iana", + "compressible": true, + "extensions": ["eot"] + }, + "application/vnd.ms-htmlhelp": { + "source": "iana", + "extensions": ["chm"] + }, + "application/vnd.ms-ims": { + "source": "iana", + "extensions": ["ims"] + }, + "application/vnd.ms-lrm": { + "source": "iana", + "extensions": ["lrm"] + }, + "application/vnd.ms-office.activex+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.ms-officetheme": { + "source": "iana", + "extensions": ["thmx"] + }, + "application/vnd.ms-opentype": { + "source": "apache", + "compressible": true + }, + "application/vnd.ms-outlook": { + "compressible": false, + "extensions": ["msg"] + }, + "application/vnd.ms-package.obfuscated-opentype": { + "source": "apache" + }, + "application/vnd.ms-pki.seccat": { + "source": "apache", + "extensions": ["cat"] + }, + "application/vnd.ms-pki.stl": { + "source": "apache", + "extensions": ["stl"] + }, + "application/vnd.ms-playready.initiator+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.ms-powerpoint": { + "source": "iana", + "compressible": false, + "extensions": ["ppt","pps","pot"] + }, + "application/vnd.ms-powerpoint.addin.macroenabled.12": { + "source": "iana", + "extensions": ["ppam"] + }, + "application/vnd.ms-powerpoint.presentation.macroenabled.12": { + "source": "iana", + "extensions": ["pptm"] + }, + "application/vnd.ms-powerpoint.slide.macroenabled.12": { + "source": "iana", + "extensions": ["sldm"] + }, + "application/vnd.ms-powerpoint.slideshow.macroenabled.12": { + "source": "iana", + "extensions": ["ppsm"] + }, + "application/vnd.ms-powerpoint.template.macroenabled.12": { + "source": "iana", + "extensions": ["potm"] + }, + "application/vnd.ms-printdevicecapabilities+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.ms-printing.printticket+xml": { + "source": "apache", + "compressible": true + }, + "application/vnd.ms-printschematicket+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.ms-project": { + "source": "iana", + "extensions": ["mpp","mpt"] + }, + "application/vnd.ms-tnef": { + "source": "iana" + }, + "application/vnd.ms-windows.devicepairing": { + "source": "iana" + }, + "application/vnd.ms-windows.nwprinting.oob": { + "source": "iana" + }, + "application/vnd.ms-windows.printerpairing": { + "source": "iana" + }, + "application/vnd.ms-windows.wsd.oob": { + "source": "iana" + }, + "application/vnd.ms-wmdrm.lic-chlg-req": { + "source": "iana" + }, + "application/vnd.ms-wmdrm.lic-resp": { + "source": "iana" + }, + "application/vnd.ms-wmdrm.meter-chlg-req": { + "source": "iana" + }, + "application/vnd.ms-wmdrm.meter-resp": { + "source": "iana" + }, + "application/vnd.ms-word.document.macroenabled.12": { + "source": "iana", + "extensions": ["docm"] + }, + "application/vnd.ms-word.template.macroenabled.12": { + "source": "iana", + "extensions": ["dotm"] + }, + "application/vnd.ms-works": { + "source": "iana", + "extensions": ["wps","wks","wcm","wdb"] + }, + "application/vnd.ms-wpl": { + "source": "iana", + "extensions": ["wpl"] + }, + "application/vnd.ms-xpsdocument": { + "source": "iana", + "compressible": false, + "extensions": ["xps"] + }, + "application/vnd.msa-disk-image": { + "source": "iana" + }, + "application/vnd.mseq": { + "source": "iana", + "extensions": ["mseq"] + }, + "application/vnd.msign": { + "source": "iana" + }, + "application/vnd.multiad.creator": { + "source": "iana" + }, + "application/vnd.multiad.creator.cif": { + "source": "iana" + }, + "application/vnd.music-niff": { + "source": "iana" + }, + "application/vnd.musician": { + "source": "iana", + "extensions": ["mus"] + }, + "application/vnd.muvee.style": { + "source": "iana", + "extensions": ["msty"] + }, + "application/vnd.mynfc": { + "source": "iana", + "extensions": ["taglet"] + }, + "application/vnd.nacamar.ybrid+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.ncd.control": { + "source": "iana" + }, + "application/vnd.ncd.reference": { + "source": "iana" + }, + "application/vnd.nearst.inv+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.nebumind.line": { + "source": "iana" + }, + "application/vnd.nervana": { + "source": "iana" + }, + "application/vnd.netfpx": { + "source": "iana" + }, + "application/vnd.neurolanguage.nlu": { + "source": "iana", + "extensions": ["nlu"] + }, + "application/vnd.nimn": { + "source": "iana" + }, + "application/vnd.nintendo.nitro.rom": { + "source": "iana" + }, + "application/vnd.nintendo.snes.rom": { + "source": "iana" + }, + "application/vnd.nitf": { + "source": "iana", + "extensions": ["ntf","nitf"] + }, + "application/vnd.noblenet-directory": { + "source": "iana", + "extensions": ["nnd"] + }, + "application/vnd.noblenet-sealer": { + "source": "iana", + "extensions": ["nns"] + }, + "application/vnd.noblenet-web": { + "source": "iana", + "extensions": ["nnw"] + }, + "application/vnd.nokia.catalogs": { + "source": "iana" + }, + "application/vnd.nokia.conml+wbxml": { + "source": "iana" + }, + "application/vnd.nokia.conml+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.nokia.iptv.config+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.nokia.isds-radio-presets": { + "source": "iana" + }, + "application/vnd.nokia.landmark+wbxml": { + "source": "iana" + }, + "application/vnd.nokia.landmark+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.nokia.landmarkcollection+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.nokia.n-gage.ac+xml": { + "source": "iana", + "compressible": true, + "extensions": ["ac"] + }, + "application/vnd.nokia.n-gage.data": { + "source": "iana", + "extensions": ["ngdat"] + }, + "application/vnd.nokia.n-gage.symbian.install": { + "source": "iana", + "extensions": ["n-gage"] + }, + "application/vnd.nokia.ncd": { + "source": "iana" + }, + "application/vnd.nokia.pcd+wbxml": { + "source": "iana" + }, + "application/vnd.nokia.pcd+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.nokia.radio-preset": { + "source": "iana", + "extensions": ["rpst"] + }, + "application/vnd.nokia.radio-presets": { + "source": "iana", + "extensions": ["rpss"] + }, + "application/vnd.novadigm.edm": { + "source": "iana", + "extensions": ["edm"] + }, + "application/vnd.novadigm.edx": { + "source": "iana", + "extensions": ["edx"] + }, + "application/vnd.novadigm.ext": { + "source": "iana", + "extensions": ["ext"] + }, + "application/vnd.ntt-local.content-share": { + "source": "iana" + }, + "application/vnd.ntt-local.file-transfer": { + "source": "iana" + }, + "application/vnd.ntt-local.ogw_remote-access": { + "source": "iana" + }, + "application/vnd.ntt-local.sip-ta_remote": { + "source": "iana" + }, + "application/vnd.ntt-local.sip-ta_tcp_stream": { + "source": "iana" + }, + "application/vnd.oasis.opendocument.chart": { + "source": "iana", + "extensions": ["odc"] + }, + "application/vnd.oasis.opendocument.chart-template": { + "source": "iana", + "extensions": ["otc"] + }, + "application/vnd.oasis.opendocument.database": { + "source": "iana", + "extensions": ["odb"] + }, + "application/vnd.oasis.opendocument.formula": { + "source": "iana", + "extensions": ["odf"] + }, + "application/vnd.oasis.opendocument.formula-template": { + "source": "iana", + "extensions": ["odft"] + }, + "application/vnd.oasis.opendocument.graphics": { + "source": "iana", + "compressible": false, + "extensions": ["odg"] + }, + "application/vnd.oasis.opendocument.graphics-template": { + "source": "iana", + "extensions": ["otg"] + }, + "application/vnd.oasis.opendocument.image": { + "source": "iana", + "extensions": ["odi"] + }, + "application/vnd.oasis.opendocument.image-template": { + "source": "iana", + "extensions": ["oti"] + }, + "application/vnd.oasis.opendocument.presentation": { + "source": "iana", + "compressible": false, + "extensions": ["odp"] + }, + "application/vnd.oasis.opendocument.presentation-template": { + "source": "iana", + "extensions": ["otp"] + }, + "application/vnd.oasis.opendocument.spreadsheet": { + "source": "iana", + "compressible": false, + "extensions": ["ods"] + }, + "application/vnd.oasis.opendocument.spreadsheet-template": { + "source": "iana", + "extensions": ["ots"] + }, + "application/vnd.oasis.opendocument.text": { + "source": "iana", + "compressible": false, + "extensions": ["odt"] + }, + "application/vnd.oasis.opendocument.text-master": { + "source": "iana", + "extensions": ["odm"] + }, + "application/vnd.oasis.opendocument.text-template": { + "source": "iana", + "extensions": ["ott"] + }, + "application/vnd.oasis.opendocument.text-web": { + "source": "iana", + "extensions": ["oth"] + }, + "application/vnd.obn": { + "source": "iana" + }, + "application/vnd.ocf+cbor": { + "source": "iana" + }, + "application/vnd.oci.image.manifest.v1+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.oftn.l10n+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.oipf.contentaccessdownload+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oipf.contentaccessstreaming+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oipf.cspg-hexbinary": { + "source": "iana" + }, + "application/vnd.oipf.dae.svg+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oipf.dae.xhtml+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oipf.mippvcontrolmessage+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oipf.pae.gem": { + "source": "iana" + }, + "application/vnd.oipf.spdiscovery+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oipf.spdlist+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oipf.ueprofile+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oipf.userprofile+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.olpc-sugar": { + "source": "iana", + "extensions": ["xo"] + }, + "application/vnd.oma-scws-config": { + "source": "iana" + }, + "application/vnd.oma-scws-http-request": { + "source": "iana" + }, + "application/vnd.oma-scws-http-response": { + "source": "iana" + }, + "application/vnd.oma.bcast.associated-procedure-parameter+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.bcast.drm-trigger+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.bcast.imd+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.bcast.ltkm": { + "source": "iana" + }, + "application/vnd.oma.bcast.notification+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.bcast.provisioningtrigger": { + "source": "iana" + }, + "application/vnd.oma.bcast.sgboot": { + "source": "iana" + }, + "application/vnd.oma.bcast.sgdd+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.bcast.sgdu": { + "source": "iana" + }, + "application/vnd.oma.bcast.simple-symbol-container": { + "source": "iana" + }, + "application/vnd.oma.bcast.smartcard-trigger+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.bcast.sprov+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.bcast.stkm": { + "source": "iana" + }, + "application/vnd.oma.cab-address-book+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.cab-feature-handler+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.cab-pcc+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.cab-subs-invite+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.cab-user-prefs+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.dcd": { + "source": "iana" + }, + "application/vnd.oma.dcdc": { + "source": "iana" + }, + "application/vnd.oma.dd2+xml": { + "source": "iana", + "compressible": true, + "extensions": ["dd2"] + }, + "application/vnd.oma.drm.risd+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.group-usage-list+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.lwm2m+cbor": { + "source": "iana" + }, + "application/vnd.oma.lwm2m+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.lwm2m+tlv": { + "source": "iana" + }, + "application/vnd.oma.pal+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.poc.detailed-progress-report+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.poc.final-report+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.poc.groups+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.poc.invocation-descriptor+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.poc.optimized-progress-report+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.push": { + "source": "iana" + }, + "application/vnd.oma.scidm.messages+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oma.xcap-directory+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.omads-email+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/vnd.omads-file+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/vnd.omads-folder+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/vnd.omaloc-supl-init": { + "source": "iana" + }, + "application/vnd.onepager": { + "source": "iana" + }, + "application/vnd.onepagertamp": { + "source": "iana" + }, + "application/vnd.onepagertamx": { + "source": "iana" + }, + "application/vnd.onepagertat": { + "source": "iana" + }, + "application/vnd.onepagertatp": { + "source": "iana" + }, + "application/vnd.onepagertatx": { + "source": "iana" + }, + "application/vnd.openblox.game+xml": { + "source": "iana", + "compressible": true, + "extensions": ["obgx"] + }, + "application/vnd.openblox.game-binary": { + "source": "iana" + }, + "application/vnd.openeye.oeb": { + "source": "iana" + }, + "application/vnd.openofficeorg.extension": { + "source": "apache", + "extensions": ["oxt"] + }, + "application/vnd.openstreetmap.data+xml": { + "source": "iana", + "compressible": true, + "extensions": ["osm"] + }, + "application/vnd.opentimestamps.ots": { + "source": "iana" + }, + "application/vnd.openxmlformats-officedocument.custom-properties+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.customxmlproperties+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.drawing+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.drawingml.chart+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.extended-properties+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.comments+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.presentation": { + "source": "iana", + "compressible": false, + "extensions": ["pptx"] + }, + "application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.presprops+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.slide": { + "source": "iana", + "extensions": ["sldx"] + }, + "application/vnd.openxmlformats-officedocument.presentationml.slide+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.slideshow": { + "source": "iana", + "extensions": ["ppsx"] + }, + "application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.tags+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.template": { + "source": "iana", + "extensions": ["potx"] + }, + "application/vnd.openxmlformats-officedocument.presentationml.template.main+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": { + "source": "iana", + "compressible": false, + "extensions": ["xlsx"] + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.template": { + "source": "iana", + "extensions": ["xltx"] + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.theme+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.themeoverride+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.vmldrawing": { + "source": "iana" + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.document": { + "source": "iana", + "compressible": false, + "extensions": ["docx"] + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.template": { + "source": "iana", + "extensions": ["dotx"] + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-package.core-properties+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.openxmlformats-package.relationships+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oracle.resource+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.orange.indata": { + "source": "iana" + }, + "application/vnd.osa.netdeploy": { + "source": "iana" + }, + "application/vnd.osgeo.mapguide.package": { + "source": "iana", + "extensions": ["mgp"] + }, + "application/vnd.osgi.bundle": { + "source": "iana" + }, + "application/vnd.osgi.dp": { + "source": "iana", + "extensions": ["dp"] + }, + "application/vnd.osgi.subsystem": { + "source": "iana", + "extensions": ["esa"] + }, + "application/vnd.otps.ct-kip+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.oxli.countgraph": { + "source": "iana" + }, + "application/vnd.pagerduty+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.palm": { + "source": "iana", + "extensions": ["pdb","pqa","oprc"] + }, + "application/vnd.panoply": { + "source": "iana" + }, + "application/vnd.paos.xml": { + "source": "iana" + }, + "application/vnd.patentdive": { + "source": "iana" + }, + "application/vnd.patientecommsdoc": { + "source": "iana" + }, + "application/vnd.pawaafile": { + "source": "iana", + "extensions": ["paw"] + }, + "application/vnd.pcos": { + "source": "iana" + }, + "application/vnd.pg.format": { + "source": "iana", + "extensions": ["str"] + }, + "application/vnd.pg.osasli": { + "source": "iana", + "extensions": ["ei6"] + }, + "application/vnd.piaccess.application-licence": { + "source": "iana" + }, + "application/vnd.picsel": { + "source": "iana", + "extensions": ["efif"] + }, + "application/vnd.pmi.widget": { + "source": "iana", + "extensions": ["wg"] + }, + "application/vnd.poc.group-advertisement+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.pocketlearn": { + "source": "iana", + "extensions": ["plf"] + }, + "application/vnd.powerbuilder6": { + "source": "iana", + "extensions": ["pbd"] + }, + "application/vnd.powerbuilder6-s": { + "source": "iana" + }, + "application/vnd.powerbuilder7": { + "source": "iana" + }, + "application/vnd.powerbuilder7-s": { + "source": "iana" + }, + "application/vnd.powerbuilder75": { + "source": "iana" + }, + "application/vnd.powerbuilder75-s": { + "source": "iana" + }, + "application/vnd.preminet": { + "source": "iana" + }, + "application/vnd.previewsystems.box": { + "source": "iana", + "extensions": ["box"] + }, + "application/vnd.proteus.magazine": { + "source": "iana", + "extensions": ["mgz"] + }, + "application/vnd.psfs": { + "source": "iana" + }, + "application/vnd.publishare-delta-tree": { + "source": "iana", + "extensions": ["qps"] + }, + "application/vnd.pvi.ptid1": { + "source": "iana", + "extensions": ["ptid"] + }, + "application/vnd.pwg-multiplexed": { + "source": "iana" + }, + "application/vnd.pwg-xhtml-print+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.qualcomm.brew-app-res": { + "source": "iana" + }, + "application/vnd.quarantainenet": { + "source": "iana" + }, + "application/vnd.quark.quarkxpress": { + "source": "iana", + "extensions": ["qxd","qxt","qwd","qwt","qxl","qxb"] + }, + "application/vnd.quobject-quoxdocument": { + "source": "iana" + }, + "application/vnd.radisys.moml+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-audit+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-audit-conf+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-audit-conn+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-audit-dialog+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-audit-stream+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-conf+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-dialog+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-dialog-base+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-dialog-fax-detect+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-dialog-fax-sendrecv+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-dialog-group+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-dialog-speech+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.radisys.msml-dialog-transform+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.rainstor.data": { + "source": "iana" + }, + "application/vnd.rapid": { + "source": "iana" + }, + "application/vnd.rar": { + "source": "iana", + "extensions": ["rar"] + }, + "application/vnd.realvnc.bed": { + "source": "iana", + "extensions": ["bed"] + }, + "application/vnd.recordare.musicxml": { + "source": "iana", + "extensions": ["mxl"] + }, + "application/vnd.recordare.musicxml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["musicxml"] + }, + "application/vnd.renlearn.rlprint": { + "source": "iana" + }, + "application/vnd.resilient.logic": { + "source": "iana" + }, + "application/vnd.restful+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.rig.cryptonote": { + "source": "iana", + "extensions": ["cryptonote"] + }, + "application/vnd.rim.cod": { + "source": "apache", + "extensions": ["cod"] + }, + "application/vnd.rn-realmedia": { + "source": "apache", + "extensions": ["rm"] + }, + "application/vnd.rn-realmedia-vbr": { + "source": "apache", + "extensions": ["rmvb"] + }, + "application/vnd.route66.link66+xml": { + "source": "iana", + "compressible": true, + "extensions": ["link66"] + }, + "application/vnd.rs-274x": { + "source": "iana" + }, + "application/vnd.ruckus.download": { + "source": "iana" + }, + "application/vnd.s3sms": { + "source": "iana" + }, + "application/vnd.sailingtracker.track": { + "source": "iana", + "extensions": ["st"] + }, + "application/vnd.sar": { + "source": "iana" + }, + "application/vnd.sbm.cid": { + "source": "iana" + }, + "application/vnd.sbm.mid2": { + "source": "iana" + }, + "application/vnd.scribus": { + "source": "iana" + }, + "application/vnd.sealed.3df": { + "source": "iana" + }, + "application/vnd.sealed.csf": { + "source": "iana" + }, + "application/vnd.sealed.doc": { + "source": "iana" + }, + "application/vnd.sealed.eml": { + "source": "iana" + }, + "application/vnd.sealed.mht": { + "source": "iana" + }, + "application/vnd.sealed.net": { + "source": "iana" + }, + "application/vnd.sealed.ppt": { + "source": "iana" + }, + "application/vnd.sealed.tiff": { + "source": "iana" + }, + "application/vnd.sealed.xls": { + "source": "iana" + }, + "application/vnd.sealedmedia.softseal.html": { + "source": "iana" + }, + "application/vnd.sealedmedia.softseal.pdf": { + "source": "iana" + }, + "application/vnd.seemail": { + "source": "iana", + "extensions": ["see"] + }, + "application/vnd.seis+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.sema": { + "source": "iana", + "extensions": ["sema"] + }, + "application/vnd.semd": { + "source": "iana", + "extensions": ["semd"] + }, + "application/vnd.semf": { + "source": "iana", + "extensions": ["semf"] + }, + "application/vnd.shade-save-file": { + "source": "iana" + }, + "application/vnd.shana.informed.formdata": { + "source": "iana", + "extensions": ["ifm"] + }, + "application/vnd.shana.informed.formtemplate": { + "source": "iana", + "extensions": ["itp"] + }, + "application/vnd.shana.informed.interchange": { + "source": "iana", + "extensions": ["iif"] + }, + "application/vnd.shana.informed.package": { + "source": "iana", + "extensions": ["ipk"] + }, + "application/vnd.shootproof+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.shopkick+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.shp": { + "source": "iana" + }, + "application/vnd.shx": { + "source": "iana" + }, + "application/vnd.sigrok.session": { + "source": "iana" + }, + "application/vnd.simtech-mindmapper": { + "source": "iana", + "extensions": ["twd","twds"] + }, + "application/vnd.siren+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.smaf": { + "source": "iana", + "extensions": ["mmf"] + }, + "application/vnd.smart.notebook": { + "source": "iana" + }, + "application/vnd.smart.teacher": { + "source": "iana", + "extensions": ["teacher"] + }, + "application/vnd.snesdev-page-table": { + "source": "iana" + }, + "application/vnd.software602.filler.form+xml": { + "source": "iana", + "compressible": true, + "extensions": ["fo"] + }, + "application/vnd.software602.filler.form-xml-zip": { + "source": "iana" + }, + "application/vnd.solent.sdkm+xml": { + "source": "iana", + "compressible": true, + "extensions": ["sdkm","sdkd"] + }, + "application/vnd.spotfire.dxp": { + "source": "iana", + "extensions": ["dxp"] + }, + "application/vnd.spotfire.sfs": { + "source": "iana", + "extensions": ["sfs"] + }, + "application/vnd.sqlite3": { + "source": "iana" + }, + "application/vnd.sss-cod": { + "source": "iana" + }, + "application/vnd.sss-dtf": { + "source": "iana" + }, + "application/vnd.sss-ntf": { + "source": "iana" + }, + "application/vnd.stardivision.calc": { + "source": "apache", + "extensions": ["sdc"] + }, + "application/vnd.stardivision.draw": { + "source": "apache", + "extensions": ["sda"] + }, + "application/vnd.stardivision.impress": { + "source": "apache", + "extensions": ["sdd"] + }, + "application/vnd.stardivision.math": { + "source": "apache", + "extensions": ["smf"] + }, + "application/vnd.stardivision.writer": { + "source": "apache", + "extensions": ["sdw","vor"] + }, + "application/vnd.stardivision.writer-global": { + "source": "apache", + "extensions": ["sgl"] + }, + "application/vnd.stepmania.package": { + "source": "iana", + "extensions": ["smzip"] + }, + "application/vnd.stepmania.stepchart": { + "source": "iana", + "extensions": ["sm"] + }, + "application/vnd.street-stream": { + "source": "iana" + }, + "application/vnd.sun.wadl+xml": { + "source": "iana", + "compressible": true, + "extensions": ["wadl"] + }, + "application/vnd.sun.xml.calc": { + "source": "apache", + "extensions": ["sxc"] + }, + "application/vnd.sun.xml.calc.template": { + "source": "apache", + "extensions": ["stc"] + }, + "application/vnd.sun.xml.draw": { + "source": "apache", + "extensions": ["sxd"] + }, + "application/vnd.sun.xml.draw.template": { + "source": "apache", + "extensions": ["std"] + }, + "application/vnd.sun.xml.impress": { + "source": "apache", + "extensions": ["sxi"] + }, + "application/vnd.sun.xml.impress.template": { + "source": "apache", + "extensions": ["sti"] + }, + "application/vnd.sun.xml.math": { + "source": "apache", + "extensions": ["sxm"] + }, + "application/vnd.sun.xml.writer": { + "source": "apache", + "extensions": ["sxw"] + }, + "application/vnd.sun.xml.writer.global": { + "source": "apache", + "extensions": ["sxg"] + }, + "application/vnd.sun.xml.writer.template": { + "source": "apache", + "extensions": ["stw"] + }, + "application/vnd.sus-calendar": { + "source": "iana", + "extensions": ["sus","susp"] + }, + "application/vnd.svd": { + "source": "iana", + "extensions": ["svd"] + }, + "application/vnd.swiftview-ics": { + "source": "iana" + }, + "application/vnd.sycle+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.syft+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.symbian.install": { + "source": "apache", + "extensions": ["sis","sisx"] + }, + "application/vnd.syncml+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true, + "extensions": ["xsm"] + }, + "application/vnd.syncml.dm+wbxml": { + "source": "iana", + "charset": "UTF-8", + "extensions": ["bdm"] + }, + "application/vnd.syncml.dm+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true, + "extensions": ["xdm"] + }, + "application/vnd.syncml.dm.notification": { + "source": "iana" + }, + "application/vnd.syncml.dmddf+wbxml": { + "source": "iana" + }, + "application/vnd.syncml.dmddf+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true, + "extensions": ["ddf"] + }, + "application/vnd.syncml.dmtnds+wbxml": { + "source": "iana" + }, + "application/vnd.syncml.dmtnds+xml": { + "source": "iana", + "charset": "UTF-8", + "compressible": true + }, + "application/vnd.syncml.ds.notification": { + "source": "iana" + }, + "application/vnd.tableschema+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.tao.intent-module-archive": { + "source": "iana", + "extensions": ["tao"] + }, + "application/vnd.tcpdump.pcap": { + "source": "iana", + "extensions": ["pcap","cap","dmp"] + }, + "application/vnd.think-cell.ppttc+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.tmd.mediaflex.api+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.tml": { + "source": "iana" + }, + "application/vnd.tmobile-livetv": { + "source": "iana", + "extensions": ["tmo"] + }, + "application/vnd.tri.onesource": { + "source": "iana" + }, + "application/vnd.trid.tpt": { + "source": "iana", + "extensions": ["tpt"] + }, + "application/vnd.triscape.mxs": { + "source": "iana", + "extensions": ["mxs"] + }, + "application/vnd.trueapp": { + "source": "iana", + "extensions": ["tra"] + }, + "application/vnd.truedoc": { + "source": "iana" + }, + "application/vnd.ubisoft.webplayer": { + "source": "iana" + }, + "application/vnd.ufdl": { + "source": "iana", + "extensions": ["ufd","ufdl"] + }, + "application/vnd.uiq.theme": { + "source": "iana", + "extensions": ["utz"] + }, + "application/vnd.umajin": { + "source": "iana", + "extensions": ["umj"] + }, + "application/vnd.unity": { + "source": "iana", + "extensions": ["unityweb"] + }, + "application/vnd.uoml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["uoml"] + }, + "application/vnd.uplanet.alert": { + "source": "iana" + }, + "application/vnd.uplanet.alert-wbxml": { + "source": "iana" + }, + "application/vnd.uplanet.bearer-choice": { + "source": "iana" + }, + "application/vnd.uplanet.bearer-choice-wbxml": { + "source": "iana" + }, + "application/vnd.uplanet.cacheop": { + "source": "iana" + }, + "application/vnd.uplanet.cacheop-wbxml": { + "source": "iana" + }, + "application/vnd.uplanet.channel": { + "source": "iana" + }, + "application/vnd.uplanet.channel-wbxml": { + "source": "iana" + }, + "application/vnd.uplanet.list": { + "source": "iana" + }, + "application/vnd.uplanet.list-wbxml": { + "source": "iana" + }, + "application/vnd.uplanet.listcmd": { + "source": "iana" + }, + "application/vnd.uplanet.listcmd-wbxml": { + "source": "iana" + }, + "application/vnd.uplanet.signal": { + "source": "iana" + }, + "application/vnd.uri-map": { + "source": "iana" + }, + "application/vnd.valve.source.material": { + "source": "iana" + }, + "application/vnd.vcx": { + "source": "iana", + "extensions": ["vcx"] + }, + "application/vnd.vd-study": { + "source": "iana" + }, + "application/vnd.vectorworks": { + "source": "iana" + }, + "application/vnd.vel+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.verimatrix.vcas": { + "source": "iana" + }, + "application/vnd.veritone.aion+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.veryant.thin": { + "source": "iana" + }, + "application/vnd.ves.encrypted": { + "source": "iana" + }, + "application/vnd.vidsoft.vidconference": { + "source": "iana" + }, + "application/vnd.visio": { + "source": "iana", + "extensions": ["vsd","vst","vss","vsw"] + }, + "application/vnd.visionary": { + "source": "iana", + "extensions": ["vis"] + }, + "application/vnd.vividence.scriptfile": { + "source": "iana" + }, + "application/vnd.vsf": { + "source": "iana", + "extensions": ["vsf"] + }, + "application/vnd.wap.sic": { + "source": "iana" + }, + "application/vnd.wap.slc": { + "source": "iana" + }, + "application/vnd.wap.wbxml": { + "source": "iana", + "charset": "UTF-8", + "extensions": ["wbxml"] + }, + "application/vnd.wap.wmlc": { + "source": "iana", + "extensions": ["wmlc"] + }, + "application/vnd.wap.wmlscriptc": { + "source": "iana", + "extensions": ["wmlsc"] + }, + "application/vnd.webturbo": { + "source": "iana", + "extensions": ["wtb"] + }, + "application/vnd.wfa.dpp": { + "source": "iana" + }, + "application/vnd.wfa.p2p": { + "source": "iana" + }, + "application/vnd.wfa.wsc": { + "source": "iana" + }, + "application/vnd.windows.devicepairing": { + "source": "iana" + }, + "application/vnd.wmc": { + "source": "iana" + }, + "application/vnd.wmf.bootstrap": { + "source": "iana" + }, + "application/vnd.wolfram.mathematica": { + "source": "iana" + }, + "application/vnd.wolfram.mathematica.package": { + "source": "iana" + }, + "application/vnd.wolfram.player": { + "source": "iana", + "extensions": ["nbp"] + }, + "application/vnd.wordperfect": { + "source": "iana", + "extensions": ["wpd"] + }, + "application/vnd.wqd": { + "source": "iana", + "extensions": ["wqd"] + }, + "application/vnd.wrq-hp3000-labelled": { + "source": "iana" + }, + "application/vnd.wt.stf": { + "source": "iana", + "extensions": ["stf"] + }, + "application/vnd.wv.csp+wbxml": { + "source": "iana" + }, + "application/vnd.wv.csp+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.wv.ssp+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.xacml+json": { + "source": "iana", + "compressible": true + }, + "application/vnd.xara": { + "source": "iana", + "extensions": ["xar"] + }, + "application/vnd.xfdl": { + "source": "iana", + "extensions": ["xfdl"] + }, + "application/vnd.xfdl.webform": { + "source": "iana" + }, + "application/vnd.xmi+xml": { + "source": "iana", + "compressible": true + }, + "application/vnd.xmpie.cpkg": { + "source": "iana" + }, + "application/vnd.xmpie.dpkg": { + "source": "iana" + }, + "application/vnd.xmpie.plan": { + "source": "iana" + }, + "application/vnd.xmpie.ppkg": { + "source": "iana" + }, + "application/vnd.xmpie.xlim": { + "source": "iana" + }, + "application/vnd.yamaha.hv-dic": { + "source": "iana", + "extensions": ["hvd"] + }, + "application/vnd.yamaha.hv-script": { + "source": "iana", + "extensions": ["hvs"] + }, + "application/vnd.yamaha.hv-voice": { + "source": "iana", + "extensions": ["hvp"] + }, + "application/vnd.yamaha.openscoreformat": { + "source": "iana", + "extensions": ["osf"] + }, + "application/vnd.yamaha.openscoreformat.osfpvg+xml": { + "source": "iana", + "compressible": true, + "extensions": ["osfpvg"] + }, + "application/vnd.yamaha.remote-setup": { + "source": "iana" + }, + "application/vnd.yamaha.smaf-audio": { + "source": "iana", + "extensions": ["saf"] + }, + "application/vnd.yamaha.smaf-phrase": { + "source": "iana", + "extensions": ["spf"] + }, + "application/vnd.yamaha.through-ngn": { + "source": "iana" + }, + "application/vnd.yamaha.tunnel-udpencap": { + "source": "iana" + }, + "application/vnd.yaoweme": { + "source": "iana" + }, + "application/vnd.yellowriver-custom-menu": { + "source": "iana", + "extensions": ["cmp"] + }, + "application/vnd.youtube.yt": { + "source": "iana" + }, + "application/vnd.zul": { + "source": "iana", + "extensions": ["zir","zirz"] + }, + "application/vnd.zzazz.deck+xml": { + "source": "iana", + "compressible": true, + "extensions": ["zaz"] + }, + "application/voicexml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["vxml"] + }, + "application/voucher-cms+json": { + "source": "iana", + "compressible": true + }, + "application/vq-rtcpxr": { + "source": "iana" + }, + "application/wasm": { + "source": "iana", + "compressible": true, + "extensions": ["wasm"] + }, + "application/watcherinfo+xml": { + "source": "iana", + "compressible": true, + "extensions": ["wif"] + }, + "application/webpush-options+json": { + "source": "iana", + "compressible": true + }, + "application/whoispp-query": { + "source": "iana" + }, + "application/whoispp-response": { + "source": "iana" + }, + "application/widget": { + "source": "iana", + "extensions": ["wgt"] + }, + "application/winhlp": { + "source": "apache", + "extensions": ["hlp"] + }, + "application/wita": { + "source": "iana" + }, + "application/wordperfect5.1": { + "source": "iana" + }, + "application/wsdl+xml": { + "source": "iana", + "compressible": true, + "extensions": ["wsdl"] + }, + "application/wspolicy+xml": { + "source": "iana", + "compressible": true, + "extensions": ["wspolicy"] + }, + "application/x-7z-compressed": { + "source": "apache", + "compressible": false, + "extensions": ["7z"] + }, + "application/x-abiword": { + "source": "apache", + "extensions": ["abw"] + }, + "application/x-ace-compressed": { + "source": "apache", + "extensions": ["ace"] + }, + "application/x-amf": { + "source": "apache" + }, + "application/x-apple-diskimage": { + "source": "apache", + "extensions": ["dmg"] + }, + "application/x-arj": { + "compressible": false, + "extensions": ["arj"] + }, + "application/x-authorware-bin": { + "source": "apache", + "extensions": ["aab","x32","u32","vox"] + }, + "application/x-authorware-map": { + "source": "apache", + "extensions": ["aam"] + }, + "application/x-authorware-seg": { + "source": "apache", + "extensions": ["aas"] + }, + "application/x-bcpio": { + "source": "apache", + "extensions": ["bcpio"] + }, + "application/x-bdoc": { + "compressible": false, + "extensions": ["bdoc"] + }, + "application/x-bittorrent": { + "source": "apache", + "extensions": ["torrent"] + }, + "application/x-blorb": { + "source": "apache", + "extensions": ["blb","blorb"] + }, + "application/x-bzip": { + "source": "apache", + "compressible": false, + "extensions": ["bz"] + }, + "application/x-bzip2": { + "source": "apache", + "compressible": false, + "extensions": ["bz2","boz"] + }, + "application/x-cbr": { + "source": "apache", + "extensions": ["cbr","cba","cbt","cbz","cb7"] + }, + "application/x-cdlink": { + "source": "apache", + "extensions": ["vcd"] + }, + "application/x-cfs-compressed": { + "source": "apache", + "extensions": ["cfs"] + }, + "application/x-chat": { + "source": "apache", + "extensions": ["chat"] + }, + "application/x-chess-pgn": { + "source": "apache", + "extensions": ["pgn"] + }, + "application/x-chrome-extension": { + "extensions": ["crx"] + }, + "application/x-cocoa": { + "source": "nginx", + "extensions": ["cco"] + }, + "application/x-compress": { + "source": "apache" + }, + "application/x-conference": { + "source": "apache", + "extensions": ["nsc"] + }, + "application/x-cpio": { + "source": "apache", + "extensions": ["cpio"] + }, + "application/x-csh": { + "source": "apache", + "extensions": ["csh"] + }, + "application/x-deb": { + "compressible": false + }, + "application/x-debian-package": { + "source": "apache", + "extensions": ["deb","udeb"] + }, + "application/x-dgc-compressed": { + "source": "apache", + "extensions": ["dgc"] + }, + "application/x-director": { + "source": "apache", + "extensions": ["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"] + }, + "application/x-doom": { + "source": "apache", + "extensions": ["wad"] + }, + "application/x-dtbncx+xml": { + "source": "apache", + "compressible": true, + "extensions": ["ncx"] + }, + "application/x-dtbook+xml": { + "source": "apache", + "compressible": true, + "extensions": ["dtb"] + }, + "application/x-dtbresource+xml": { + "source": "apache", + "compressible": true, + "extensions": ["res"] + }, + "application/x-dvi": { + "source": "apache", + "compressible": false, + "extensions": ["dvi"] + }, + "application/x-envoy": { + "source": "apache", + "extensions": ["evy"] + }, + "application/x-eva": { + "source": "apache", + "extensions": ["eva"] + }, + "application/x-font-bdf": { + "source": "apache", + "extensions": ["bdf"] + }, + "application/x-font-dos": { + "source": "apache" + }, + "application/x-font-framemaker": { + "source": "apache" + }, + "application/x-font-ghostscript": { + "source": "apache", + "extensions": ["gsf"] + }, + "application/x-font-libgrx": { + "source": "apache" + }, + "application/x-font-linux-psf": { + "source": "apache", + "extensions": ["psf"] + }, + "application/x-font-pcf": { + "source": "apache", + "extensions": ["pcf"] + }, + "application/x-font-snf": { + "source": "apache", + "extensions": ["snf"] + }, + "application/x-font-speedo": { + "source": "apache" + }, + "application/x-font-sunos-news": { + "source": "apache" + }, + "application/x-font-type1": { + "source": "apache", + "extensions": ["pfa","pfb","pfm","afm"] + }, + "application/x-font-vfont": { + "source": "apache" + }, + "application/x-freearc": { + "source": "apache", + "extensions": ["arc"] + }, + "application/x-futuresplash": { + "source": "apache", + "extensions": ["spl"] + }, + "application/x-gca-compressed": { + "source": "apache", + "extensions": ["gca"] + }, + "application/x-glulx": { + "source": "apache", + "extensions": ["ulx"] + }, + "application/x-gnumeric": { + "source": "apache", + "extensions": ["gnumeric"] + }, + "application/x-gramps-xml": { + "source": "apache", + "extensions": ["gramps"] + }, + "application/x-gtar": { + "source": "apache", + "extensions": ["gtar"] + }, + "application/x-gzip": { + "source": "apache" + }, + "application/x-hdf": { + "source": "apache", + "extensions": ["hdf"] + }, + "application/x-httpd-php": { + "compressible": true, + "extensions": ["php"] + }, + "application/x-install-instructions": { + "source": "apache", + "extensions": ["install"] + }, + "application/x-iso9660-image": { + "source": "apache", + "extensions": ["iso"] + }, + "application/x-iwork-keynote-sffkey": { + "extensions": ["key"] + }, + "application/x-iwork-numbers-sffnumbers": { + "extensions": ["numbers"] + }, + "application/x-iwork-pages-sffpages": { + "extensions": ["pages"] + }, + "application/x-java-archive-diff": { + "source": "nginx", + "extensions": ["jardiff"] + }, + "application/x-java-jnlp-file": { + "source": "apache", + "compressible": false, + "extensions": ["jnlp"] + }, + "application/x-javascript": { + "compressible": true + }, + "application/x-keepass2": { + "extensions": ["kdbx"] + }, + "application/x-latex": { + "source": "apache", + "compressible": false, + "extensions": ["latex"] + }, + "application/x-lua-bytecode": { + "extensions": ["luac"] + }, + "application/x-lzh-compressed": { + "source": "apache", + "extensions": ["lzh","lha"] + }, + "application/x-makeself": { + "source": "nginx", + "extensions": ["run"] + }, + "application/x-mie": { + "source": "apache", + "extensions": ["mie"] + }, + "application/x-mobipocket-ebook": { + "source": "apache", + "extensions": ["prc","mobi"] + }, + "application/x-mpegurl": { + "compressible": false + }, + "application/x-ms-application": { + "source": "apache", + "extensions": ["application"] + }, + "application/x-ms-shortcut": { + "source": "apache", + "extensions": ["lnk"] + }, + "application/x-ms-wmd": { + "source": "apache", + "extensions": ["wmd"] + }, + "application/x-ms-wmz": { + "source": "apache", + "extensions": ["wmz"] + }, + "application/x-ms-xbap": { + "source": "apache", + "extensions": ["xbap"] + }, + "application/x-msaccess": { + "source": "apache", + "extensions": ["mdb"] + }, + "application/x-msbinder": { + "source": "apache", + "extensions": ["obd"] + }, + "application/x-mscardfile": { + "source": "apache", + "extensions": ["crd"] + }, + "application/x-msclip": { + "source": "apache", + "extensions": ["clp"] + }, + "application/x-msdos-program": { + "extensions": ["exe"] + }, + "application/x-msdownload": { + "source": "apache", + "extensions": ["exe","dll","com","bat","msi"] + }, + "application/x-msmediaview": { + "source": "apache", + "extensions": ["mvb","m13","m14"] + }, + "application/x-msmetafile": { + "source": "apache", + "extensions": ["wmf","wmz","emf","emz"] + }, + "application/x-msmoney": { + "source": "apache", + "extensions": ["mny"] + }, + "application/x-mspublisher": { + "source": "apache", + "extensions": ["pub"] + }, + "application/x-msschedule": { + "source": "apache", + "extensions": ["scd"] + }, + "application/x-msterminal": { + "source": "apache", + "extensions": ["trm"] + }, + "application/x-mswrite": { + "source": "apache", + "extensions": ["wri"] + }, + "application/x-netcdf": { + "source": "apache", + "extensions": ["nc","cdf"] + }, + "application/x-ns-proxy-autoconfig": { + "compressible": true, + "extensions": ["pac"] + }, + "application/x-nzb": { + "source": "apache", + "extensions": ["nzb"] + }, + "application/x-perl": { + "source": "nginx", + "extensions": ["pl","pm"] + }, + "application/x-pilot": { + "source": "nginx", + "extensions": ["prc","pdb"] + }, + "application/x-pkcs12": { + "source": "apache", + "compressible": false, + "extensions": ["p12","pfx"] + }, + "application/x-pkcs7-certificates": { + "source": "apache", + "extensions": ["p7b","spc"] + }, + "application/x-pkcs7-certreqresp": { + "source": "apache", + "extensions": ["p7r"] + }, + "application/x-pki-message": { + "source": "iana" + }, + "application/x-rar-compressed": { + "source": "apache", + "compressible": false, + "extensions": ["rar"] + }, + "application/x-redhat-package-manager": { + "source": "nginx", + "extensions": ["rpm"] + }, + "application/x-research-info-systems": { + "source": "apache", + "extensions": ["ris"] + }, + "application/x-sea": { + "source": "nginx", + "extensions": ["sea"] + }, + "application/x-sh": { + "source": "apache", + "compressible": true, + "extensions": ["sh"] + }, + "application/x-shar": { + "source": "apache", + "extensions": ["shar"] + }, + "application/x-shockwave-flash": { + "source": "apache", + "compressible": false, + "extensions": ["swf"] + }, + "application/x-silverlight-app": { + "source": "apache", + "extensions": ["xap"] + }, + "application/x-sql": { + "source": "apache", + "extensions": ["sql"] + }, + "application/x-stuffit": { + "source": "apache", + "compressible": false, + "extensions": ["sit"] + }, + "application/x-stuffitx": { + "source": "apache", + "extensions": ["sitx"] + }, + "application/x-subrip": { + "source": "apache", + "extensions": ["srt"] + }, + "application/x-sv4cpio": { + "source": "apache", + "extensions": ["sv4cpio"] + }, + "application/x-sv4crc": { + "source": "apache", + "extensions": ["sv4crc"] + }, + "application/x-t3vm-image": { + "source": "apache", + "extensions": ["t3"] + }, + "application/x-tads": { + "source": "apache", + "extensions": ["gam"] + }, + "application/x-tar": { + "source": "apache", + "compressible": true, + "extensions": ["tar"] + }, + "application/x-tcl": { + "source": "apache", + "extensions": ["tcl","tk"] + }, + "application/x-tex": { + "source": "apache", + "extensions": ["tex"] + }, + "application/x-tex-tfm": { + "source": "apache", + "extensions": ["tfm"] + }, + "application/x-texinfo": { + "source": "apache", + "extensions": ["texinfo","texi"] + }, + "application/x-tgif": { + "source": "apache", + "extensions": ["obj"] + }, + "application/x-ustar": { + "source": "apache", + "extensions": ["ustar"] + }, + "application/x-virtualbox-hdd": { + "compressible": true, + "extensions": ["hdd"] + }, + "application/x-virtualbox-ova": { + "compressible": true, + "extensions": ["ova"] + }, + "application/x-virtualbox-ovf": { + "compressible": true, + "extensions": ["ovf"] + }, + "application/x-virtualbox-vbox": { + "compressible": true, + "extensions": ["vbox"] + }, + "application/x-virtualbox-vbox-extpack": { + "compressible": false, + "extensions": ["vbox-extpack"] + }, + "application/x-virtualbox-vdi": { + "compressible": true, + "extensions": ["vdi"] + }, + "application/x-virtualbox-vhd": { + "compressible": true, + "extensions": ["vhd"] + }, + "application/x-virtualbox-vmdk": { + "compressible": true, + "extensions": ["vmdk"] + }, + "application/x-wais-source": { + "source": "apache", + "extensions": ["src"] + }, + "application/x-web-app-manifest+json": { + "compressible": true, + "extensions": ["webapp"] + }, + "application/x-www-form-urlencoded": { + "source": "iana", + "compressible": true + }, + "application/x-x509-ca-cert": { + "source": "iana", + "extensions": ["der","crt","pem"] + }, + "application/x-x509-ca-ra-cert": { + "source": "iana" + }, + "application/x-x509-next-ca-cert": { + "source": "iana" + }, + "application/x-xfig": { + "source": "apache", + "extensions": ["fig"] + }, + "application/x-xliff+xml": { + "source": "apache", + "compressible": true, + "extensions": ["xlf"] + }, + "application/x-xpinstall": { + "source": "apache", + "compressible": false, + "extensions": ["xpi"] + }, + "application/x-xz": { + "source": "apache", + "extensions": ["xz"] + }, + "application/x-zmachine": { + "source": "apache", + "extensions": ["z1","z2","z3","z4","z5","z6","z7","z8"] + }, + "application/x400-bp": { + "source": "iana" + }, + "application/xacml+xml": { + "source": "iana", + "compressible": true + }, + "application/xaml+xml": { + "source": "apache", + "compressible": true, + "extensions": ["xaml"] + }, + "application/xcap-att+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xav"] + }, + "application/xcap-caps+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xca"] + }, + "application/xcap-diff+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xdf"] + }, + "application/xcap-el+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xel"] + }, + "application/xcap-error+xml": { + "source": "iana", + "compressible": true + }, + "application/xcap-ns+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xns"] + }, + "application/xcon-conference-info+xml": { + "source": "iana", + "compressible": true + }, + "application/xcon-conference-info-diff+xml": { + "source": "iana", + "compressible": true + }, + "application/xenc+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xenc"] + }, + "application/xhtml+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xhtml","xht"] + }, + "application/xhtml-voice+xml": { + "source": "apache", + "compressible": true + }, + "application/xliff+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xlf"] + }, + "application/xml": { + "source": "iana", + "compressible": true, + "extensions": ["xml","xsl","xsd","rng"] + }, + "application/xml-dtd": { + "source": "iana", + "compressible": true, + "extensions": ["dtd"] + }, + "application/xml-external-parsed-entity": { + "source": "iana" + }, + "application/xml-patch+xml": { + "source": "iana", + "compressible": true + }, + "application/xmpp+xml": { + "source": "iana", + "compressible": true + }, + "application/xop+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xop"] + }, + "application/xproc+xml": { + "source": "apache", + "compressible": true, + "extensions": ["xpl"] + }, + "application/xslt+xml": { + "source": "iana", + "compressible": true, + "extensions": ["xsl","xslt"] + }, + "application/xspf+xml": { + "source": "apache", + "compressible": true, + "extensions": ["xspf"] + }, + "application/xv+xml": { + "source": "iana", + "compressible": true, + "extensions": ["mxml","xhvml","xvml","xvm"] + }, + "application/yang": { + "source": "iana", + "extensions": ["yang"] + }, + "application/yang-data+json": { + "source": "iana", + "compressible": true + }, + "application/yang-data+xml": { + "source": "iana", + "compressible": true + }, + "application/yang-patch+json": { + "source": "iana", + "compressible": true + }, + "application/yang-patch+xml": { + "source": "iana", + "compressible": true + }, + "application/yin+xml": { + "source": "iana", + "compressible": true, + "extensions": ["yin"] + }, + "application/zip": { + "source": "iana", + "compressible": false, + "extensions": ["zip"] + }, + "application/zlib": { + "source": "iana" + }, + "application/zstd": { + "source": "iana" + }, + "audio/1d-interleaved-parityfec": { + "source": "iana" + }, + "audio/32kadpcm": { + "source": "iana" + }, + "audio/3gpp": { + "source": "iana", + "compressible": false, + "extensions": ["3gpp"] + }, + "audio/3gpp2": { + "source": "iana" + }, + "audio/aac": { + "source": "iana" + }, + "audio/ac3": { + "source": "iana" + }, + "audio/adpcm": { + "source": "apache", + "extensions": ["adp"] + }, + "audio/amr": { + "source": "iana", + "extensions": ["amr"] + }, + "audio/amr-wb": { + "source": "iana" + }, + "audio/amr-wb+": { + "source": "iana" + }, + "audio/aptx": { + "source": "iana" + }, + "audio/asc": { + "source": "iana" + }, + "audio/atrac-advanced-lossless": { + "source": "iana" + }, + "audio/atrac-x": { + "source": "iana" + }, + "audio/atrac3": { + "source": "iana" + }, + "audio/basic": { + "source": "iana", + "compressible": false, + "extensions": ["au","snd"] + }, + "audio/bv16": { + "source": "iana" + }, + "audio/bv32": { + "source": "iana" + }, + "audio/clearmode": { + "source": "iana" + }, + "audio/cn": { + "source": "iana" + }, + "audio/dat12": { + "source": "iana" + }, + "audio/dls": { + "source": "iana" + }, + "audio/dsr-es201108": { + "source": "iana" + }, + "audio/dsr-es202050": { + "source": "iana" + }, + "audio/dsr-es202211": { + "source": "iana" + }, + "audio/dsr-es202212": { + "source": "iana" + }, + "audio/dv": { + "source": "iana" + }, + "audio/dvi4": { + "source": "iana" + }, + "audio/eac3": { + "source": "iana" + }, + "audio/encaprtp": { + "source": "iana" + }, + "audio/evrc": { + "source": "iana" + }, + "audio/evrc-qcp": { + "source": "iana" + }, + "audio/evrc0": { + "source": "iana" + }, + "audio/evrc1": { + "source": "iana" + }, + "audio/evrcb": { + "source": "iana" + }, + "audio/evrcb0": { + "source": "iana" + }, + "audio/evrcb1": { + "source": "iana" + }, + "audio/evrcnw": { + "source": "iana" + }, + "audio/evrcnw0": { + "source": "iana" + }, + "audio/evrcnw1": { + "source": "iana" + }, + "audio/evrcwb": { + "source": "iana" + }, + "audio/evrcwb0": { + "source": "iana" + }, + "audio/evrcwb1": { + "source": "iana" + }, + "audio/evs": { + "source": "iana" + }, + "audio/flexfec": { + "source": "iana" + }, + "audio/fwdred": { + "source": "iana" + }, + "audio/g711-0": { + "source": "iana" + }, + "audio/g719": { + "source": "iana" + }, + "audio/g722": { + "source": "iana" + }, + "audio/g7221": { + "source": "iana" + }, + "audio/g723": { + "source": "iana" + }, + "audio/g726-16": { + "source": "iana" + }, + "audio/g726-24": { + "source": "iana" + }, + "audio/g726-32": { + "source": "iana" + }, + "audio/g726-40": { + "source": "iana" + }, + "audio/g728": { + "source": "iana" + }, + "audio/g729": { + "source": "iana" + }, + "audio/g7291": { + "source": "iana" + }, + "audio/g729d": { + "source": "iana" + }, + "audio/g729e": { + "source": "iana" + }, + "audio/gsm": { + "source": "iana" + }, + "audio/gsm-efr": { + "source": "iana" + }, + "audio/gsm-hr-08": { + "source": "iana" + }, + "audio/ilbc": { + "source": "iana" + }, + "audio/ip-mr_v2.5": { + "source": "iana" + }, + "audio/isac": { + "source": "apache" + }, + "audio/l16": { + "source": "iana" + }, + "audio/l20": { + "source": "iana" + }, + "audio/l24": { + "source": "iana", + "compressible": false + }, + "audio/l8": { + "source": "iana" + }, + "audio/lpc": { + "source": "iana" + }, + "audio/melp": { + "source": "iana" + }, + "audio/melp1200": { + "source": "iana" + }, + "audio/melp2400": { + "source": "iana" + }, + "audio/melp600": { + "source": "iana" + }, + "audio/mhas": { + "source": "iana" + }, + "audio/midi": { + "source": "apache", + "extensions": ["mid","midi","kar","rmi"] + }, + "audio/mobile-xmf": { + "source": "iana", + "extensions": ["mxmf"] + }, + "audio/mp3": { + "compressible": false, + "extensions": ["mp3"] + }, + "audio/mp4": { + "source": "iana", + "compressible": false, + "extensions": ["m4a","mp4a"] + }, + "audio/mp4a-latm": { + "source": "iana" + }, + "audio/mpa": { + "source": "iana" + }, + "audio/mpa-robust": { + "source": "iana" + }, + "audio/mpeg": { + "source": "iana", + "compressible": false, + "extensions": ["mpga","mp2","mp2a","mp3","m2a","m3a"] + }, + "audio/mpeg4-generic": { + "source": "iana" + }, + "audio/musepack": { + "source": "apache" + }, + "audio/ogg": { + "source": "iana", + "compressible": false, + "extensions": ["oga","ogg","spx","opus"] + }, + "audio/opus": { + "source": "iana" + }, + "audio/parityfec": { + "source": "iana" + }, + "audio/pcma": { + "source": "iana" + }, + "audio/pcma-wb": { + "source": "iana" + }, + "audio/pcmu": { + "source": "iana" + }, + "audio/pcmu-wb": { + "source": "iana" + }, + "audio/prs.sid": { + "source": "iana" + }, + "audio/qcelp": { + "source": "iana" + }, + "audio/raptorfec": { + "source": "iana" + }, + "audio/red": { + "source": "iana" + }, + "audio/rtp-enc-aescm128": { + "source": "iana" + }, + "audio/rtp-midi": { + "source": "iana" + }, + "audio/rtploopback": { + "source": "iana" + }, + "audio/rtx": { + "source": "iana" + }, + "audio/s3m": { + "source": "apache", + "extensions": ["s3m"] + }, + "audio/scip": { + "source": "iana" + }, + "audio/silk": { + "source": "apache", + "extensions": ["sil"] + }, + "audio/smv": { + "source": "iana" + }, + "audio/smv-qcp": { + "source": "iana" + }, + "audio/smv0": { + "source": "iana" + }, + "audio/sofa": { + "source": "iana" + }, + "audio/sp-midi": { + "source": "iana" + }, + "audio/speex": { + "source": "iana" + }, + "audio/t140c": { + "source": "iana" + }, + "audio/t38": { + "source": "iana" + }, + "audio/telephone-event": { + "source": "iana" + }, + "audio/tetra_acelp": { + "source": "iana" + }, + "audio/tetra_acelp_bb": { + "source": "iana" + }, + "audio/tone": { + "source": "iana" + }, + "audio/tsvcis": { + "source": "iana" + }, + "audio/uemclip": { + "source": "iana" + }, + "audio/ulpfec": { + "source": "iana" + }, + "audio/usac": { + "source": "iana" + }, + "audio/vdvi": { + "source": "iana" + }, + "audio/vmr-wb": { + "source": "iana" + }, + "audio/vnd.3gpp.iufp": { + "source": "iana" + }, + "audio/vnd.4sb": { + "source": "iana" + }, + "audio/vnd.audiokoz": { + "source": "iana" + }, + "audio/vnd.celp": { + "source": "iana" + }, + "audio/vnd.cisco.nse": { + "source": "iana" + }, + "audio/vnd.cmles.radio-events": { + "source": "iana" + }, + "audio/vnd.cns.anp1": { + "source": "iana" + }, + "audio/vnd.cns.inf1": { + "source": "iana" + }, + "audio/vnd.dece.audio": { + "source": "iana", + "extensions": ["uva","uvva"] + }, + "audio/vnd.digital-winds": { + "source": "iana", + "extensions": ["eol"] + }, + "audio/vnd.dlna.adts": { + "source": "iana" + }, + "audio/vnd.dolby.heaac.1": { + "source": "iana" + }, + "audio/vnd.dolby.heaac.2": { + "source": "iana" + }, + "audio/vnd.dolby.mlp": { + "source": "iana" + }, + "audio/vnd.dolby.mps": { + "source": "iana" + }, + "audio/vnd.dolby.pl2": { + "source": "iana" + }, + "audio/vnd.dolby.pl2x": { + "source": "iana" + }, + "audio/vnd.dolby.pl2z": { + "source": "iana" + }, + "audio/vnd.dolby.pulse.1": { + "source": "iana" + }, + "audio/vnd.dra": { + "source": "iana", + "extensions": ["dra"] + }, + "audio/vnd.dts": { + "source": "iana", + "extensions": ["dts"] + }, + "audio/vnd.dts.hd": { + "source": "iana", + "extensions": ["dtshd"] + }, + "audio/vnd.dts.uhd": { + "source": "iana" + }, + "audio/vnd.dvb.file": { + "source": "iana" + }, + "audio/vnd.everad.plj": { + "source": "iana" + }, + "audio/vnd.hns.audio": { + "source": "iana" + }, + "audio/vnd.lucent.voice": { + "source": "iana", + "extensions": ["lvp"] + }, + "audio/vnd.ms-playready.media.pya": { + "source": "iana", + "extensions": ["pya"] + }, + "audio/vnd.nokia.mobile-xmf": { + "source": "iana" + }, + "audio/vnd.nortel.vbk": { + "source": "iana" + }, + "audio/vnd.nuera.ecelp4800": { + "source": "iana", + "extensions": ["ecelp4800"] + }, + "audio/vnd.nuera.ecelp7470": { + "source": "iana", + "extensions": ["ecelp7470"] + }, + "audio/vnd.nuera.ecelp9600": { + "source": "iana", + "extensions": ["ecelp9600"] + }, + "audio/vnd.octel.sbc": { + "source": "iana" + }, + "audio/vnd.presonus.multitrack": { + "source": "iana" + }, + "audio/vnd.qcelp": { + "source": "iana" + }, + "audio/vnd.rhetorex.32kadpcm": { + "source": "iana" + }, + "audio/vnd.rip": { + "source": "iana", + "extensions": ["rip"] + }, + "audio/vnd.rn-realaudio": { + "compressible": false + }, + "audio/vnd.sealedmedia.softseal.mpeg": { + "source": "iana" + }, + "audio/vnd.vmx.cvsd": { + "source": "iana" + }, + "audio/vnd.wave": { + "compressible": false + }, + "audio/vorbis": { + "source": "iana", + "compressible": false + }, + "audio/vorbis-config": { + "source": "iana" + }, + "audio/wav": { + "compressible": false, + "extensions": ["wav"] + }, + "audio/wave": { + "compressible": false, + "extensions": ["wav"] + }, + "audio/webm": { + "source": "apache", + "compressible": false, + "extensions": ["weba"] + }, + "audio/x-aac": { + "source": "apache", + "compressible": false, + "extensions": ["aac"] + }, + "audio/x-aiff": { + "source": "apache", + "extensions": ["aif","aiff","aifc"] + }, + "audio/x-caf": { + "source": "apache", + "compressible": false, + "extensions": ["caf"] + }, + "audio/x-flac": { + "source": "apache", + "extensions": ["flac"] + }, + "audio/x-m4a": { + "source": "nginx", + "extensions": ["m4a"] + }, + "audio/x-matroska": { + "source": "apache", + "extensions": ["mka"] + }, + "audio/x-mpegurl": { + "source": "apache", + "extensions": ["m3u"] + }, + "audio/x-ms-wax": { + "source": "apache", + "extensions": ["wax"] + }, + "audio/x-ms-wma": { + "source": "apache", + "extensions": ["wma"] + }, + "audio/x-pn-realaudio": { + "source": "apache", + "extensions": ["ram","ra"] + }, + "audio/x-pn-realaudio-plugin": { + "source": "apache", + "extensions": ["rmp"] + }, + "audio/x-realaudio": { + "source": "nginx", + "extensions": ["ra"] + }, + "audio/x-tta": { + "source": "apache" + }, + "audio/x-wav": { + "source": "apache", + "extensions": ["wav"] + }, + "audio/xm": { + "source": "apache", + "extensions": ["xm"] + }, + "chemical/x-cdx": { + "source": "apache", + "extensions": ["cdx"] + }, + "chemical/x-cif": { + "source": "apache", + "extensions": ["cif"] + }, + "chemical/x-cmdf": { + "source": "apache", + "extensions": ["cmdf"] + }, + "chemical/x-cml": { + "source": "apache", + "extensions": ["cml"] + }, + "chemical/x-csml": { + "source": "apache", + "extensions": ["csml"] + }, + "chemical/x-pdb": { + "source": "apache" + }, + "chemical/x-xyz": { + "source": "apache", + "extensions": ["xyz"] + }, + "font/collection": { + "source": "iana", + "extensions": ["ttc"] + }, + "font/otf": { + "source": "iana", + "compressible": true, + "extensions": ["otf"] + }, + "font/sfnt": { + "source": "iana" + }, + "font/ttf": { + "source": "iana", + "compressible": true, + "extensions": ["ttf"] + }, + "font/woff": { + "source": "iana", + "extensions": ["woff"] + }, + "font/woff2": { + "source": "iana", + "extensions": ["woff2"] + }, + "image/aces": { + "source": "iana", + "extensions": ["exr"] + }, + "image/apng": { + "compressible": false, + "extensions": ["apng"] + }, + "image/avci": { + "source": "iana", + "extensions": ["avci"] + }, + "image/avcs": { + "source": "iana", + "extensions": ["avcs"] + }, + "image/avif": { + "source": "iana", + "compressible": false, + "extensions": ["avif"] + }, + "image/bmp": { + "source": "iana", + "compressible": true, + "extensions": ["bmp"] + }, + "image/cgm": { + "source": "iana", + "extensions": ["cgm"] + }, + "image/dicom-rle": { + "source": "iana", + "extensions": ["drle"] + }, + "image/emf": { + "source": "iana", + "extensions": ["emf"] + }, + "image/fits": { + "source": "iana", + "extensions": ["fits"] + }, + "image/g3fax": { + "source": "iana", + "extensions": ["g3"] + }, + "image/gif": { + "source": "iana", + "compressible": false, + "extensions": ["gif"] + }, + "image/heic": { + "source": "iana", + "extensions": ["heic"] + }, + "image/heic-sequence": { + "source": "iana", + "extensions": ["heics"] + }, + "image/heif": { + "source": "iana", + "extensions": ["heif"] + }, + "image/heif-sequence": { + "source": "iana", + "extensions": ["heifs"] + }, + "image/hej2k": { + "source": "iana", + "extensions": ["hej2"] + }, + "image/hsj2": { + "source": "iana", + "extensions": ["hsj2"] + }, + "image/ief": { + "source": "iana", + "extensions": ["ief"] + }, + "image/jls": { + "source": "iana", + "extensions": ["jls"] + }, + "image/jp2": { + "source": "iana", + "compressible": false, + "extensions": ["jp2","jpg2"] + }, + "image/jpeg": { + "source": "iana", + "compressible": false, + "extensions": ["jpeg","jpg","jpe"] + }, + "image/jph": { + "source": "iana", + "extensions": ["jph"] + }, + "image/jphc": { + "source": "iana", + "extensions": ["jhc"] + }, + "image/jpm": { + "source": "iana", + "compressible": false, + "extensions": ["jpm"] + }, + "image/jpx": { + "source": "iana", + "compressible": false, + "extensions": ["jpx","jpf"] + }, + "image/jxr": { + "source": "iana", + "extensions": ["jxr"] + }, + "image/jxra": { + "source": "iana", + "extensions": ["jxra"] + }, + "image/jxrs": { + "source": "iana", + "extensions": ["jxrs"] + }, + "image/jxs": { + "source": "iana", + "extensions": ["jxs"] + }, + "image/jxsc": { + "source": "iana", + "extensions": ["jxsc"] + }, + "image/jxsi": { + "source": "iana", + "extensions": ["jxsi"] + }, + "image/jxss": { + "source": "iana", + "extensions": ["jxss"] + }, + "image/ktx": { + "source": "iana", + "extensions": ["ktx"] + }, + "image/ktx2": { + "source": "iana", + "extensions": ["ktx2"] + }, + "image/naplps": { + "source": "iana" + }, + "image/pjpeg": { + "compressible": false + }, + "image/png": { + "source": "iana", + "compressible": false, + "extensions": ["png"] + }, + "image/prs.btif": { + "source": "iana", + "extensions": ["btif"] + }, + "image/prs.pti": { + "source": "iana", + "extensions": ["pti"] + }, + "image/pwg-raster": { + "source": "iana" + }, + "image/sgi": { + "source": "apache", + "extensions": ["sgi"] + }, + "image/svg+xml": { + "source": "iana", + "compressible": true, + "extensions": ["svg","svgz"] + }, + "image/t38": { + "source": "iana", + "extensions": ["t38"] + }, + "image/tiff": { + "source": "iana", + "compressible": false, + "extensions": ["tif","tiff"] + }, + "image/tiff-fx": { + "source": "iana", + "extensions": ["tfx"] + }, + "image/vnd.adobe.photoshop": { + "source": "iana", + "compressible": true, + "extensions": ["psd"] + }, + "image/vnd.airzip.accelerator.azv": { + "source": "iana", + "extensions": ["azv"] + }, + "image/vnd.cns.inf2": { + "source": "iana" + }, + "image/vnd.dece.graphic": { + "source": "iana", + "extensions": ["uvi","uvvi","uvg","uvvg"] + }, + "image/vnd.djvu": { + "source": "iana", + "extensions": ["djvu","djv"] + }, + "image/vnd.dvb.subtitle": { + "source": "iana", + "extensions": ["sub"] + }, + "image/vnd.dwg": { + "source": "iana", + "extensions": ["dwg"] + }, + "image/vnd.dxf": { + "source": "iana", + "extensions": ["dxf"] + }, + "image/vnd.fastbidsheet": { + "source": "iana", + "extensions": ["fbs"] + }, + "image/vnd.fpx": { + "source": "iana", + "extensions": ["fpx"] + }, + "image/vnd.fst": { + "source": "iana", + "extensions": ["fst"] + }, + "image/vnd.fujixerox.edmics-mmr": { + "source": "iana", + "extensions": ["mmr"] + }, + "image/vnd.fujixerox.edmics-rlc": { + "source": "iana", + "extensions": ["rlc"] + }, + "image/vnd.globalgraphics.pgb": { + "source": "iana" + }, + "image/vnd.microsoft.icon": { + "source": "iana", + "compressible": true, + "extensions": ["ico"] + }, + "image/vnd.mix": { + "source": "iana" + }, + "image/vnd.mozilla.apng": { + "source": "iana" + }, + "image/vnd.ms-dds": { + "compressible": true, + "extensions": ["dds"] + }, + "image/vnd.ms-modi": { + "source": "iana", + "extensions": ["mdi"] + }, + "image/vnd.ms-photo": { + "source": "apache", + "extensions": ["wdp"] + }, + "image/vnd.net-fpx": { + "source": "iana", + "extensions": ["npx"] + }, + "image/vnd.pco.b16": { + "source": "iana", + "extensions": ["b16"] + }, + "image/vnd.radiance": { + "source": "iana" + }, + "image/vnd.sealed.png": { + "source": "iana" + }, + "image/vnd.sealedmedia.softseal.gif": { + "source": "iana" + }, + "image/vnd.sealedmedia.softseal.jpg": { + "source": "iana" + }, + "image/vnd.svf": { + "source": "iana" + }, + "image/vnd.tencent.tap": { + "source": "iana", + "extensions": ["tap"] + }, + "image/vnd.valve.source.texture": { + "source": "iana", + "extensions": ["vtf"] + }, + "image/vnd.wap.wbmp": { + "source": "iana", + "extensions": ["wbmp"] + }, + "image/vnd.xiff": { + "source": "iana", + "extensions": ["xif"] + }, + "image/vnd.zbrush.pcx": { + "source": "iana", + "extensions": ["pcx"] + }, + "image/webp": { + "source": "apache", + "extensions": ["webp"] + }, + "image/wmf": { + "source": "iana", + "extensions": ["wmf"] + }, + "image/x-3ds": { + "source": "apache", + "extensions": ["3ds"] + }, + "image/x-cmu-raster": { + "source": "apache", + "extensions": ["ras"] + }, + "image/x-cmx": { + "source": "apache", + "extensions": ["cmx"] + }, + "image/x-freehand": { + "source": "apache", + "extensions": ["fh","fhc","fh4","fh5","fh7"] + }, + "image/x-icon": { + "source": "apache", + "compressible": true, + "extensions": ["ico"] + }, + "image/x-jng": { + "source": "nginx", + "extensions": ["jng"] + }, + "image/x-mrsid-image": { + "source": "apache", + "extensions": ["sid"] + }, + "image/x-ms-bmp": { + "source": "nginx", + "compressible": true, + "extensions": ["bmp"] + }, + "image/x-pcx": { + "source": "apache", + "extensions": ["pcx"] + }, + "image/x-pict": { + "source": "apache", + "extensions": ["pic","pct"] + }, + "image/x-portable-anymap": { + "source": "apache", + "extensions": ["pnm"] + }, + "image/x-portable-bitmap": { + "source": "apache", + "extensions": ["pbm"] + }, + "image/x-portable-graymap": { + "source": "apache", + "extensions": ["pgm"] + }, + "image/x-portable-pixmap": { + "source": "apache", + "extensions": ["ppm"] + }, + "image/x-rgb": { + "source": "apache", + "extensions": ["rgb"] + }, + "image/x-tga": { + "source": "apache", + "extensions": ["tga"] + }, + "image/x-xbitmap": { + "source": "apache", + "extensions": ["xbm"] + }, + "image/x-xcf": { + "compressible": false + }, + "image/x-xpixmap": { + "source": "apache", + "extensions": ["xpm"] + }, + "image/x-xwindowdump": { + "source": "apache", + "extensions": ["xwd"] + }, + "message/cpim": { + "source": "iana" + }, + "message/delivery-status": { + "source": "iana" + }, + "message/disposition-notification": { + "source": "iana", + "extensions": [ + "disposition-notification" + ] + }, + "message/external-body": { + "source": "iana" + }, + "message/feedback-report": { + "source": "iana" + }, + "message/global": { + "source": "iana", + "extensions": ["u8msg"] + }, + "message/global-delivery-status": { + "source": "iana", + "extensions": ["u8dsn"] + }, + "message/global-disposition-notification": { + "source": "iana", + "extensions": ["u8mdn"] + }, + "message/global-headers": { + "source": "iana", + "extensions": ["u8hdr"] + }, + "message/http": { + "source": "iana", + "compressible": false + }, + "message/imdn+xml": { + "source": "iana", + "compressible": true + }, + "message/news": { + "source": "iana" + }, + "message/partial": { + "source": "iana", + "compressible": false + }, + "message/rfc822": { + "source": "iana", + "compressible": true, + "extensions": ["eml","mime"] + }, + "message/s-http": { + "source": "iana" + }, + "message/sip": { + "source": "iana" + }, + "message/sipfrag": { + "source": "iana" + }, + "message/tracking-status": { + "source": "iana" + }, + "message/vnd.si.simp": { + "source": "iana" + }, + "message/vnd.wfa.wsc": { + "source": "iana", + "extensions": ["wsc"] + }, + "model/3mf": { + "source": "iana", + "extensions": ["3mf"] + }, + "model/e57": { + "source": "iana" + }, + "model/gltf+json": { + "source": "iana", + "compressible": true, + "extensions": ["gltf"] + }, + "model/gltf-binary": { + "source": "iana", + "compressible": true, + "extensions": ["glb"] + }, + "model/iges": { + "source": "iana", + "compressible": false, + "extensions": ["igs","iges"] + }, + "model/mesh": { + "source": "iana", + "compressible": false, + "extensions": ["msh","mesh","silo"] + }, + "model/mtl": { + "source": "iana", + "extensions": ["mtl"] + }, + "model/obj": { + "source": "iana", + "extensions": ["obj"] + }, + "model/step": { + "source": "iana" + }, + "model/step+xml": { + "source": "iana", + "compressible": true, + "extensions": ["stpx"] + }, + "model/step+zip": { + "source": "iana", + "compressible": false, + "extensions": ["stpz"] + }, + "model/step-xml+zip": { + "source": "iana", + "compressible": false, + "extensions": ["stpxz"] + }, + "model/stl": { + "source": "iana", + "extensions": ["stl"] + }, + "model/vnd.collada+xml": { + "source": "iana", + "compressible": true, + "extensions": ["dae"] + }, + "model/vnd.dwf": { + "source": "iana", + "extensions": ["dwf"] + }, + "model/vnd.flatland.3dml": { + "source": "iana" + }, + "model/vnd.gdl": { + "source": "iana", + "extensions": ["gdl"] + }, + "model/vnd.gs-gdl": { + "source": "apache" + }, + "model/vnd.gs.gdl": { + "source": "iana" + }, + "model/vnd.gtw": { + "source": "iana", + "extensions": ["gtw"] + }, + "model/vnd.moml+xml": { + "source": "iana", + "compressible": true + }, + "model/vnd.mts": { + "source": "iana", + "extensions": ["mts"] + }, + "model/vnd.opengex": { + "source": "iana", + "extensions": ["ogex"] + }, + "model/vnd.parasolid.transmit.binary": { + "source": "iana", + "extensions": ["x_b"] + }, + "model/vnd.parasolid.transmit.text": { + "source": "iana", + "extensions": ["x_t"] + }, + "model/vnd.pytha.pyox": { + "source": "iana" + }, + "model/vnd.rosette.annotated-data-model": { + "source": "iana" + }, + "model/vnd.sap.vds": { + "source": "iana", + "extensions": ["vds"] + }, + "model/vnd.usdz+zip": { + "source": "iana", + "compressible": false, + "extensions": ["usdz"] + }, + "model/vnd.valve.source.compiled-map": { + "source": "iana", + "extensions": ["bsp"] + }, + "model/vnd.vtu": { + "source": "iana", + "extensions": ["vtu"] + }, + "model/vrml": { + "source": "iana", + "compressible": false, + "extensions": ["wrl","vrml"] + }, + "model/x3d+binary": { + "source": "apache", + "compressible": false, + "extensions": ["x3db","x3dbz"] + }, + "model/x3d+fastinfoset": { + "source": "iana", + "extensions": ["x3db"] + }, + "model/x3d+vrml": { + "source": "apache", + "compressible": false, + "extensions": ["x3dv","x3dvz"] + }, + "model/x3d+xml": { + "source": "iana", + "compressible": true, + "extensions": ["x3d","x3dz"] + }, + "model/x3d-vrml": { + "source": "iana", + "extensions": ["x3dv"] + }, + "multipart/alternative": { + "source": "iana", + "compressible": false + }, + "multipart/appledouble": { + "source": "iana" + }, + "multipart/byteranges": { + "source": "iana" + }, + "multipart/digest": { + "source": "iana" + }, + "multipart/encrypted": { + "source": "iana", + "compressible": false + }, + "multipart/form-data": { + "source": "iana", + "compressible": false + }, + "multipart/header-set": { + "source": "iana" + }, + "multipart/mixed": { + "source": "iana" + }, + "multipart/multilingual": { + "source": "iana" + }, + "multipart/parallel": { + "source": "iana" + }, + "multipart/related": { + "source": "iana", + "compressible": false + }, + "multipart/report": { + "source": "iana" + }, + "multipart/signed": { + "source": "iana", + "compressible": false + }, + "multipart/vnd.bint.med-plus": { + "source": "iana" + }, + "multipart/voice-message": { + "source": "iana" + }, + "multipart/x-mixed-replace": { + "source": "iana" + }, + "text/1d-interleaved-parityfec": { + "source": "iana" + }, + "text/cache-manifest": { + "source": "iana", + "compressible": true, + "extensions": ["appcache","manifest"] + }, + "text/calendar": { + "source": "iana", + "extensions": ["ics","ifb"] + }, + "text/calender": { + "compressible": true + }, + "text/cmd": { + "compressible": true + }, + "text/coffeescript": { + "extensions": ["coffee","litcoffee"] + }, + "text/cql": { + "source": "iana" + }, + "text/cql-expression": { + "source": "iana" + }, + "text/cql-identifier": { + "source": "iana" + }, + "text/css": { + "source": "iana", + "charset": "UTF-8", + "compressible": true, + "extensions": ["css"] + }, + "text/csv": { + "source": "iana", + "compressible": true, + "extensions": ["csv"] + }, + "text/csv-schema": { + "source": "iana" + }, + "text/directory": { + "source": "iana" + }, + "text/dns": { + "source": "iana" + }, + "text/ecmascript": { + "source": "iana" + }, + "text/encaprtp": { + "source": "iana" + }, + "text/enriched": { + "source": "iana" + }, + "text/fhirpath": { + "source": "iana" + }, + "text/flexfec": { + "source": "iana" + }, + "text/fwdred": { + "source": "iana" + }, + "text/gff3": { + "source": "iana" + }, + "text/grammar-ref-list": { + "source": "iana" + }, + "text/html": { + "source": "iana", + "compressible": true, + "extensions": ["html","htm","shtml"] + }, + "text/jade": { + "extensions": ["jade"] + }, + "text/javascript": { + "source": "iana", + "compressible": true + }, + "text/jcr-cnd": { + "source": "iana" + }, + "text/jsx": { + "compressible": true, + "extensions": ["jsx"] + }, + "text/less": { + "compressible": true, + "extensions": ["less"] + }, + "text/markdown": { + "source": "iana", + "compressible": true, + "extensions": ["markdown","md"] + }, + "text/mathml": { + "source": "nginx", + "extensions": ["mml"] + }, + "text/mdx": { + "compressible": true, + "extensions": ["mdx"] + }, + "text/mizar": { + "source": "iana" + }, + "text/n3": { + "source": "iana", + "charset": "UTF-8", + "compressible": true, + "extensions": ["n3"] + }, + "text/parameters": { + "source": "iana", + "charset": "UTF-8" + }, + "text/parityfec": { + "source": "iana" + }, + "text/plain": { + "source": "iana", + "compressible": true, + "extensions": ["txt","text","conf","def","list","log","in","ini"] + }, + "text/provenance-notation": { + "source": "iana", + "charset": "UTF-8" + }, + "text/prs.fallenstein.rst": { + "source": "iana" + }, + "text/prs.lines.tag": { + "source": "iana", + "extensions": ["dsc"] + }, + "text/prs.prop.logic": { + "source": "iana" + }, + "text/raptorfec": { + "source": "iana" + }, + "text/red": { + "source": "iana" + }, + "text/rfc822-headers": { + "source": "iana" + }, + "text/richtext": { + "source": "iana", + "compressible": true, + "extensions": ["rtx"] + }, + "text/rtf": { + "source": "iana", + "compressible": true, + "extensions": ["rtf"] + }, + "text/rtp-enc-aescm128": { + "source": "iana" + }, + "text/rtploopback": { + "source": "iana" + }, + "text/rtx": { + "source": "iana" + }, + "text/sgml": { + "source": "iana", + "extensions": ["sgml","sgm"] + }, + "text/shaclc": { + "source": "iana" + }, + "text/shex": { + "source": "iana", + "extensions": ["shex"] + }, + "text/slim": { + "extensions": ["slim","slm"] + }, + "text/spdx": { + "source": "iana", + "extensions": ["spdx"] + }, + "text/strings": { + "source": "iana" + }, + "text/stylus": { + "extensions": ["stylus","styl"] + }, + "text/t140": { + "source": "iana" + }, + "text/tab-separated-values": { + "source": "iana", + "compressible": true, + "extensions": ["tsv"] + }, + "text/troff": { + "source": "iana", + "extensions": ["t","tr","roff","man","me","ms"] + }, + "text/turtle": { + "source": "iana", + "charset": "UTF-8", + "extensions": ["ttl"] + }, + "text/ulpfec": { + "source": "iana" + }, + "text/uri-list": { + "source": "iana", + "compressible": true, + "extensions": ["uri","uris","urls"] + }, + "text/vcard": { + "source": "iana", + "compressible": true, + "extensions": ["vcard"] + }, + "text/vnd.a": { + "source": "iana" + }, + "text/vnd.abc": { + "source": "iana" + }, + "text/vnd.ascii-art": { + "source": "iana" + }, + "text/vnd.curl": { + "source": "iana", + "extensions": ["curl"] + }, + "text/vnd.curl.dcurl": { + "source": "apache", + "extensions": ["dcurl"] + }, + "text/vnd.curl.mcurl": { + "source": "apache", + "extensions": ["mcurl"] + }, + "text/vnd.curl.scurl": { + "source": "apache", + "extensions": ["scurl"] + }, + "text/vnd.debian.copyright": { + "source": "iana", + "charset": "UTF-8" + }, + "text/vnd.dmclientscript": { + "source": "iana" + }, + "text/vnd.dvb.subtitle": { + "source": "iana", + "extensions": ["sub"] + }, + "text/vnd.esmertec.theme-descriptor": { + "source": "iana", + "charset": "UTF-8" + }, + "text/vnd.familysearch.gedcom": { + "source": "iana", + "extensions": ["ged"] + }, + "text/vnd.ficlab.flt": { + "source": "iana" + }, + "text/vnd.fly": { + "source": "iana", + "extensions": ["fly"] + }, + "text/vnd.fmi.flexstor": { + "source": "iana", + "extensions": ["flx"] + }, + "text/vnd.gml": { + "source": "iana" + }, + "text/vnd.graphviz": { + "source": "iana", + "extensions": ["gv"] + }, + "text/vnd.hans": { + "source": "iana" + }, + "text/vnd.hgl": { + "source": "iana" + }, + "text/vnd.in3d.3dml": { + "source": "iana", + "extensions": ["3dml"] + }, + "text/vnd.in3d.spot": { + "source": "iana", + "extensions": ["spot"] + }, + "text/vnd.iptc.newsml": { + "source": "iana" + }, + "text/vnd.iptc.nitf": { + "source": "iana" + }, + "text/vnd.latex-z": { + "source": "iana" + }, + "text/vnd.motorola.reflex": { + "source": "iana" + }, + "text/vnd.ms-mediapackage": { + "source": "iana" + }, + "text/vnd.net2phone.commcenter.command": { + "source": "iana" + }, + "text/vnd.radisys.msml-basic-layout": { + "source": "iana" + }, + "text/vnd.senx.warpscript": { + "source": "iana" + }, + "text/vnd.si.uricatalogue": { + "source": "iana" + }, + "text/vnd.sosi": { + "source": "iana" + }, + "text/vnd.sun.j2me.app-descriptor": { + "source": "iana", + "charset": "UTF-8", + "extensions": ["jad"] + }, + "text/vnd.trolltech.linguist": { + "source": "iana", + "charset": "UTF-8" + }, + "text/vnd.wap.si": { + "source": "iana" + }, + "text/vnd.wap.sl": { + "source": "iana" + }, + "text/vnd.wap.wml": { + "source": "iana", + "extensions": ["wml"] + }, + "text/vnd.wap.wmlscript": { + "source": "iana", + "extensions": ["wmls"] + }, + "text/vtt": { + "source": "iana", + "charset": "UTF-8", + "compressible": true, + "extensions": ["vtt"] + }, + "text/x-asm": { + "source": "apache", + "extensions": ["s","asm"] + }, + "text/x-c": { + "source": "apache", + "extensions": ["c","cc","cxx","cpp","h","hh","dic"] + }, + "text/x-component": { + "source": "nginx", + "extensions": ["htc"] + }, + "text/x-fortran": { + "source": "apache", + "extensions": ["f","for","f77","f90"] + }, + "text/x-gwt-rpc": { + "compressible": true + }, + "text/x-handlebars-template": { + "extensions": ["hbs"] + }, + "text/x-java-source": { + "source": "apache", + "extensions": ["java"] + }, + "text/x-jquery-tmpl": { + "compressible": true + }, + "text/x-lua": { + "extensions": ["lua"] + }, + "text/x-markdown": { + "compressible": true, + "extensions": ["mkd"] + }, + "text/x-nfo": { + "source": "apache", + "extensions": ["nfo"] + }, + "text/x-opml": { + "source": "apache", + "extensions": ["opml"] + }, + "text/x-org": { + "compressible": true, + "extensions": ["org"] + }, + "text/x-pascal": { + "source": "apache", + "extensions": ["p","pas"] + }, + "text/x-processing": { + "compressible": true, + "extensions": ["pde"] + }, + "text/x-sass": { + "extensions": ["sass"] + }, + "text/x-scss": { + "extensions": ["scss"] + }, + "text/x-setext": { + "source": "apache", + "extensions": ["etx"] + }, + "text/x-sfv": { + "source": "apache", + "extensions": ["sfv"] + }, + "text/x-suse-ymp": { + "compressible": true, + "extensions": ["ymp"] + }, + "text/x-uuencode": { + "source": "apache", + "extensions": ["uu"] + }, + "text/x-vcalendar": { + "source": "apache", + "extensions": ["vcs"] + }, + "text/x-vcard": { + "source": "apache", + "extensions": ["vcf"] + }, + "text/xml": { + "source": "iana", + "compressible": true, + "extensions": ["xml"] + }, + "text/xml-external-parsed-entity": { + "source": "iana" + }, + "text/yaml": { + "compressible": true, + "extensions": ["yaml","yml"] + }, + "video/1d-interleaved-parityfec": { + "source": "iana" + }, + "video/3gpp": { + "source": "iana", + "extensions": ["3gp","3gpp"] + }, + "video/3gpp-tt": { + "source": "iana" + }, + "video/3gpp2": { + "source": "iana", + "extensions": ["3g2"] + }, + "video/av1": { + "source": "iana" + }, + "video/bmpeg": { + "source": "iana" + }, + "video/bt656": { + "source": "iana" + }, + "video/celb": { + "source": "iana" + }, + "video/dv": { + "source": "iana" + }, + "video/encaprtp": { + "source": "iana" + }, + "video/ffv1": { + "source": "iana" + }, + "video/flexfec": { + "source": "iana" + }, + "video/h261": { + "source": "iana", + "extensions": ["h261"] + }, + "video/h263": { + "source": "iana", + "extensions": ["h263"] + }, + "video/h263-1998": { + "source": "iana" + }, + "video/h263-2000": { + "source": "iana" + }, + "video/h264": { + "source": "iana", + "extensions": ["h264"] + }, + "video/h264-rcdo": { + "source": "iana" + }, + "video/h264-svc": { + "source": "iana" + }, + "video/h265": { + "source": "iana" + }, + "video/iso.segment": { + "source": "iana", + "extensions": ["m4s"] + }, + "video/jpeg": { + "source": "iana", + "extensions": ["jpgv"] + }, + "video/jpeg2000": { + "source": "iana" + }, + "video/jpm": { + "source": "apache", + "extensions": ["jpm","jpgm"] + }, + "video/jxsv": { + "source": "iana" + }, + "video/mj2": { + "source": "iana", + "extensions": ["mj2","mjp2"] + }, + "video/mp1s": { + "source": "iana" + }, + "video/mp2p": { + "source": "iana" + }, + "video/mp2t": { + "source": "iana", + "extensions": ["ts"] + }, + "video/mp4": { + "source": "iana", + "compressible": false, + "extensions": ["mp4","mp4v","mpg4"] + }, + "video/mp4v-es": { + "source": "iana" + }, + "video/mpeg": { + "source": "iana", + "compressible": false, + "extensions": ["mpeg","mpg","mpe","m1v","m2v"] + }, + "video/mpeg4-generic": { + "source": "iana" + }, + "video/mpv": { + "source": "iana" + }, + "video/nv": { + "source": "iana" + }, + "video/ogg": { + "source": "iana", + "compressible": false, + "extensions": ["ogv"] + }, + "video/parityfec": { + "source": "iana" + }, + "video/pointer": { + "source": "iana" + }, + "video/quicktime": { + "source": "iana", + "compressible": false, + "extensions": ["qt","mov"] + }, + "video/raptorfec": { + "source": "iana" + }, + "video/raw": { + "source": "iana" + }, + "video/rtp-enc-aescm128": { + "source": "iana" + }, + "video/rtploopback": { + "source": "iana" + }, + "video/rtx": { + "source": "iana" + }, + "video/scip": { + "source": "iana" + }, + "video/smpte291": { + "source": "iana" + }, + "video/smpte292m": { + "source": "iana" + }, + "video/ulpfec": { + "source": "iana" + }, + "video/vc1": { + "source": "iana" + }, + "video/vc2": { + "source": "iana" + }, + "video/vnd.cctv": { + "source": "iana" + }, + "video/vnd.dece.hd": { + "source": "iana", + "extensions": ["uvh","uvvh"] + }, + "video/vnd.dece.mobile": { + "source": "iana", + "extensions": ["uvm","uvvm"] + }, + "video/vnd.dece.mp4": { + "source": "iana" + }, + "video/vnd.dece.pd": { + "source": "iana", + "extensions": ["uvp","uvvp"] + }, + "video/vnd.dece.sd": { + "source": "iana", + "extensions": ["uvs","uvvs"] + }, + "video/vnd.dece.video": { + "source": "iana", + "extensions": ["uvv","uvvv"] + }, + "video/vnd.directv.mpeg": { + "source": "iana" + }, + "video/vnd.directv.mpeg-tts": { + "source": "iana" + }, + "video/vnd.dlna.mpeg-tts": { + "source": "iana" + }, + "video/vnd.dvb.file": { + "source": "iana", + "extensions": ["dvb"] + }, + "video/vnd.fvt": { + "source": "iana", + "extensions": ["fvt"] + }, + "video/vnd.hns.video": { + "source": "iana" + }, + "video/vnd.iptvforum.1dparityfec-1010": { + "source": "iana" + }, + "video/vnd.iptvforum.1dparityfec-2005": { + "source": "iana" + }, + "video/vnd.iptvforum.2dparityfec-1010": { + "source": "iana" + }, + "video/vnd.iptvforum.2dparityfec-2005": { + "source": "iana" + }, + "video/vnd.iptvforum.ttsavc": { + "source": "iana" + }, + "video/vnd.iptvforum.ttsmpeg2": { + "source": "iana" + }, + "video/vnd.motorola.video": { + "source": "iana" + }, + "video/vnd.motorola.videop": { + "source": "iana" + }, + "video/vnd.mpegurl": { + "source": "iana", + "extensions": ["mxu","m4u"] + }, + "video/vnd.ms-playready.media.pyv": { + "source": "iana", + "extensions": ["pyv"] + }, + "video/vnd.nokia.interleaved-multimedia": { + "source": "iana" + }, + "video/vnd.nokia.mp4vr": { + "source": "iana" + }, + "video/vnd.nokia.videovoip": { + "source": "iana" + }, + "video/vnd.objectvideo": { + "source": "iana" + }, + "video/vnd.radgamettools.bink": { + "source": "iana" + }, + "video/vnd.radgamettools.smacker": { + "source": "iana" + }, + "video/vnd.sealed.mpeg1": { + "source": "iana" + }, + "video/vnd.sealed.mpeg4": { + "source": "iana" + }, + "video/vnd.sealed.swf": { + "source": "iana" + }, + "video/vnd.sealedmedia.softseal.mov": { + "source": "iana" + }, + "video/vnd.uvvu.mp4": { + "source": "iana", + "extensions": ["uvu","uvvu"] + }, + "video/vnd.vivo": { + "source": "iana", + "extensions": ["viv"] + }, + "video/vnd.youtube.yt": { + "source": "iana" + }, + "video/vp8": { + "source": "iana" + }, + "video/vp9": { + "source": "iana" + }, + "video/webm": { + "source": "apache", + "compressible": false, + "extensions": ["webm"] + }, + "video/x-f4v": { + "source": "apache", + "extensions": ["f4v"] + }, + "video/x-fli": { + "source": "apache", + "extensions": ["fli"] + }, + "video/x-flv": { + "source": "apache", + "compressible": false, + "extensions": ["flv"] + }, + "video/x-m4v": { + "source": "apache", + "extensions": ["m4v"] + }, + "video/x-matroska": { + "source": "apache", + "compressible": false, + "extensions": ["mkv","mk3d","mks"] + }, + "video/x-mng": { + "source": "apache", + "extensions": ["mng"] + }, + "video/x-ms-asf": { + "source": "apache", + "extensions": ["asf","asx"] + }, + "video/x-ms-vob": { + "source": "apache", + "extensions": ["vob"] + }, + "video/x-ms-wm": { + "source": "apache", + "extensions": ["wm"] + }, + "video/x-ms-wmv": { + "source": "apache", + "compressible": false, + "extensions": ["wmv"] + }, + "video/x-ms-wmx": { + "source": "apache", + "extensions": ["wmx"] + }, + "video/x-ms-wvx": { + "source": "apache", + "extensions": ["wvx"] + }, + "video/x-msvideo": { + "source": "apache", + "extensions": ["avi"] + }, + "video/x-sgi-movie": { + "source": "apache", + "extensions": ["movie"] + }, + "video/x-smv": { + "source": "apache", + "extensions": ["smv"] + }, + "x-conference/x-cooltalk": { + "source": "apache", + "extensions": ["ice"] + }, + "x-shader/x-fragment": { + "compressible": true + }, + "x-shader/x-vertex": { + "compressible": true + } +} diff --git a/node_modules/mime-db/index.js b/node_modules/mime-db/index.js new file mode 100644 index 0000000..ec2be30 --- /dev/null +++ b/node_modules/mime-db/index.js @@ -0,0 +1,12 @@ +/*! + * mime-db + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015-2022 Douglas Christopher Wilson + * MIT Licensed + */ + +/** + * Module exports. + */ + +module.exports = require('./db.json') diff --git a/node_modules/mime-db/package.json b/node_modules/mime-db/package.json new file mode 100644 index 0000000..32c14b8 --- /dev/null +++ b/node_modules/mime-db/package.json @@ -0,0 +1,60 @@ +{ + "name": "mime-db", + "description": "Media Type Database", + "version": "1.52.0", + "contributors": [ + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)", + "Robert Kieffer (http://github.com/broofa)" + ], + "license": "MIT", + "keywords": [ + "mime", + "db", + "type", + "types", + "database", + "charset", + "charsets" + ], + "repository": "jshttp/mime-db", + "devDependencies": { + "bluebird": "3.7.2", + "co": "4.6.0", + "cogent": "1.0.1", + "csv-parse": "4.16.3", + "eslint": "7.32.0", + "eslint-config-standard": "15.0.1", + "eslint-plugin-import": "2.25.4", + "eslint-plugin-markdown": "2.2.1", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-promise": "5.1.1", + "eslint-plugin-standard": "4.1.0", + "gnode": "0.1.2", + "media-typer": "1.1.0", + "mocha": "9.2.1", + "nyc": "15.1.0", + "raw-body": "2.5.0", + "stream-to-array": "2.3.0" + }, + "files": [ + "HISTORY.md", + "LICENSE", + "README.md", + "db.json", + "index.js" + ], + "engines": { + "node": ">= 0.6" + }, + "scripts": { + "build": "node scripts/build", + "fetch": "node scripts/fetch-apache && gnode scripts/fetch-iana && node scripts/fetch-nginx", + "lint": "eslint .", + "test": "mocha --reporter spec --bail --check-leaks test/", + "test-ci": "nyc --reporter=lcov --reporter=text npm test", + "test-cov": "nyc --reporter=html --reporter=text npm test", + "update": "npm run fetch && npm run build", + "version": "node scripts/version-history.js && git add HISTORY.md" + } +} diff --git a/node_modules/mime-types/HISTORY.md b/node_modules/mime-types/HISTORY.md new file mode 100644 index 0000000..c5043b7 --- /dev/null +++ b/node_modules/mime-types/HISTORY.md @@ -0,0 +1,397 @@ +2.1.35 / 2022-03-12 +=================== + + * deps: mime-db@1.52.0 + - Add extensions from IANA for more `image/*` types + - Add extension `.asc` to `application/pgp-keys` + - Add extensions to various XML types + - Add new upstream MIME types + +2.1.34 / 2021-11-08 +=================== + + * deps: mime-db@1.51.0 + - Add new upstream MIME types + +2.1.33 / 2021-10-01 +=================== + + * deps: mime-db@1.50.0 + - Add deprecated iWorks mime types and extensions + - Add new upstream MIME types + +2.1.32 / 2021-07-27 +=================== + + * deps: mime-db@1.49.0 + - Add extension `.trig` to `application/trig` + - Add new upstream MIME types + +2.1.31 / 2021-06-01 +=================== + + * deps: mime-db@1.48.0 + - Add extension `.mvt` to `application/vnd.mapbox-vector-tile` + - Add new upstream MIME types + +2.1.30 / 2021-04-02 +=================== + + * deps: mime-db@1.47.0 + - Add extension `.amr` to `audio/amr` + - Remove ambigious extensions from IANA for `application/*+xml` types + - Update primary extension to `.es` for `application/ecmascript` + +2.1.29 / 2021-02-17 +=================== + + * deps: mime-db@1.46.0 + - Add extension `.amr` to `audio/amr` + - Add extension `.m4s` to `video/iso.segment` + - Add extension `.opus` to `audio/ogg` + - Add new upstream MIME types + +2.1.28 / 2021-01-01 +=================== + + * deps: mime-db@1.45.0 + - Add `application/ubjson` with extension `.ubj` + - Add `image/avif` with extension `.avif` + - Add `image/ktx2` with extension `.ktx2` + - Add extension `.dbf` to `application/vnd.dbf` + - Add extension `.rar` to `application/vnd.rar` + - Add extension `.td` to `application/urc-targetdesc+xml` + - Add new upstream MIME types + - Fix extension of `application/vnd.apple.keynote` to be `.key` + +2.1.27 / 2020-04-23 +=================== + + * deps: mime-db@1.44.0 + - Add charsets from IANA + - Add extension `.cjs` to `application/node` + - Add new upstream MIME types + +2.1.26 / 2020-01-05 +=================== + + * deps: mime-db@1.43.0 + - Add `application/x-keepass2` with extension `.kdbx` + - Add extension `.mxmf` to `audio/mobile-xmf` + - Add extensions from IANA for `application/*+xml` types + - Add new upstream MIME types + +2.1.25 / 2019-11-12 +=================== + + * deps: mime-db@1.42.0 + - Add new upstream MIME types + - Add `application/toml` with extension `.toml` + - Add `image/vnd.ms-dds` with extension `.dds` + +2.1.24 / 2019-04-20 +=================== + + * deps: mime-db@1.40.0 + - Add extensions from IANA for `model/*` types + - Add `text/mdx` with extension `.mdx` + +2.1.23 / 2019-04-17 +=================== + + * deps: mime-db@~1.39.0 + - Add extensions `.siv` and `.sieve` to `application/sieve` + - Add new upstream MIME types + +2.1.22 / 2019-02-14 +=================== + + * deps: mime-db@~1.38.0 + - Add extension `.nq` to `application/n-quads` + - Add extension `.nt` to `application/n-triples` + - Add new upstream MIME types + +2.1.21 / 2018-10-19 +=================== + + * deps: mime-db@~1.37.0 + - Add extensions to HEIC image types + - Add new upstream MIME types + +2.1.20 / 2018-08-26 +=================== + + * deps: mime-db@~1.36.0 + - Add Apple file extensions from IANA + - Add extensions from IANA for `image/*` types + - Add new upstream MIME types + +2.1.19 / 2018-07-17 +=================== + + * deps: mime-db@~1.35.0 + - Add extension `.csl` to `application/vnd.citationstyles.style+xml` + - Add extension `.es` to `application/ecmascript` + - Add extension `.owl` to `application/rdf+xml` + - Add new upstream MIME types + - Add UTF-8 as default charset for `text/turtle` + +2.1.18 / 2018-02-16 +=================== + + * deps: mime-db@~1.33.0 + - Add `application/raml+yaml` with extension `.raml` + - Add `application/wasm` with extension `.wasm` + - Add `text/shex` with extension `.shex` + - Add extensions for JPEG-2000 images + - Add extensions from IANA for `message/*` types + - Add new upstream MIME types + - Update font MIME types + - Update `text/hjson` to registered `application/hjson` + +2.1.17 / 2017-09-01 +=================== + + * deps: mime-db@~1.30.0 + - Add `application/vnd.ms-outlook` + - Add `application/x-arj` + - Add extension `.mjs` to `application/javascript` + - Add glTF types and extensions + - Add new upstream MIME types + - Add `text/x-org` + - Add VirtualBox MIME types + - Fix `source` records for `video/*` types that are IANA + - Update `font/opentype` to registered `font/otf` + +2.1.16 / 2017-07-24 +=================== + + * deps: mime-db@~1.29.0 + - Add `application/fido.trusted-apps+json` + - Add extension `.wadl` to `application/vnd.sun.wadl+xml` + - Add extension `.gz` to `application/gzip` + - Add new upstream MIME types + - Update extensions `.md` and `.markdown` to be `text/markdown` + +2.1.15 / 2017-03-23 +=================== + + * deps: mime-db@~1.27.0 + - Add new mime types + - Add `image/apng` + +2.1.14 / 2017-01-14 +=================== + + * deps: mime-db@~1.26.0 + - Add new mime types + +2.1.13 / 2016-11-18 +=================== + + * deps: mime-db@~1.25.0 + - Add new mime types + +2.1.12 / 2016-09-18 +=================== + + * deps: mime-db@~1.24.0 + - Add new mime types + - Add `audio/mp3` + +2.1.11 / 2016-05-01 +=================== + + * deps: mime-db@~1.23.0 + - Add new mime types + +2.1.10 / 2016-02-15 +=================== + + * deps: mime-db@~1.22.0 + - Add new mime types + - Fix extension of `application/dash+xml` + - Update primary extension for `audio/mp4` + +2.1.9 / 2016-01-06 +================== + + * deps: mime-db@~1.21.0 + - Add new mime types + +2.1.8 / 2015-11-30 +================== + + * deps: mime-db@~1.20.0 + - Add new mime types + +2.1.7 / 2015-09-20 +================== + + * deps: mime-db@~1.19.0 + - Add new mime types + +2.1.6 / 2015-09-03 +================== + + * deps: mime-db@~1.18.0 + - Add new mime types + +2.1.5 / 2015-08-20 +================== + + * deps: mime-db@~1.17.0 + - Add new mime types + +2.1.4 / 2015-07-30 +================== + + * deps: mime-db@~1.16.0 + - Add new mime types + +2.1.3 / 2015-07-13 +================== + + * deps: mime-db@~1.15.0 + - Add new mime types + +2.1.2 / 2015-06-25 +================== + + * deps: mime-db@~1.14.0 + - Add new mime types + +2.1.1 / 2015-06-08 +================== + + * perf: fix deopt during mapping + +2.1.0 / 2015-06-07 +================== + + * Fix incorrectly treating extension-less file name as extension + - i.e. `'path/to/json'` will no longer return `application/json` + * Fix `.charset(type)` to accept parameters + * Fix `.charset(type)` to match case-insensitive + * Improve generation of extension to MIME mapping + * Refactor internals for readability and no argument reassignment + * Prefer `application/*` MIME types from the same source + * Prefer any type over `application/octet-stream` + * deps: mime-db@~1.13.0 + - Add nginx as a source + - Add new mime types + +2.0.14 / 2015-06-06 +=================== + + * deps: mime-db@~1.12.0 + - Add new mime types + +2.0.13 / 2015-05-31 +=================== + + * deps: mime-db@~1.11.0 + - Add new mime types + +2.0.12 / 2015-05-19 +=================== + + * deps: mime-db@~1.10.0 + - Add new mime types + +2.0.11 / 2015-05-05 +=================== + + * deps: mime-db@~1.9.1 + - Add new mime types + +2.0.10 / 2015-03-13 +=================== + + * deps: mime-db@~1.8.0 + - Add new mime types + +2.0.9 / 2015-02-09 +================== + + * deps: mime-db@~1.7.0 + - Add new mime types + - Community extensions ownership transferred from `node-mime` + +2.0.8 / 2015-01-29 +================== + + * deps: mime-db@~1.6.0 + - Add new mime types + +2.0.7 / 2014-12-30 +================== + + * deps: mime-db@~1.5.0 + - Add new mime types + - Fix various invalid MIME type entries + +2.0.6 / 2014-12-30 +================== + + * deps: mime-db@~1.4.0 + - Add new mime types + - Fix various invalid MIME type entries + - Remove example template MIME types + +2.0.5 / 2014-12-29 +================== + + * deps: mime-db@~1.3.1 + - Fix missing extensions + +2.0.4 / 2014-12-10 +================== + + * deps: mime-db@~1.3.0 + - Add new mime types + +2.0.3 / 2014-11-09 +================== + + * deps: mime-db@~1.2.0 + - Add new mime types + +2.0.2 / 2014-09-28 +================== + + * deps: mime-db@~1.1.0 + - Add new mime types + - Update charsets + +2.0.1 / 2014-09-07 +================== + + * Support Node.js 0.6 + +2.0.0 / 2014-09-02 +================== + + * Use `mime-db` + * Remove `.define()` + +1.0.2 / 2014-08-04 +================== + + * Set charset=utf-8 for `text/javascript` + +1.0.1 / 2014-06-24 +================== + + * Add `text/jsx` type + +1.0.0 / 2014-05-12 +================== + + * Return `false` for unknown types + * Set charset=utf-8 for `application/json` + +0.1.0 / 2014-05-02 +================== + + * Initial release diff --git a/node_modules/mime-types/LICENSE b/node_modules/mime-types/LICENSE new file mode 100644 index 0000000..0616607 --- /dev/null +++ b/node_modules/mime-types/LICENSE @@ -0,0 +1,23 @@ +(The MIT License) + +Copyright (c) 2014 Jonathan Ong +Copyright (c) 2015 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/mime-types/README.md b/node_modules/mime-types/README.md new file mode 100644 index 0000000..48d2fb4 --- /dev/null +++ b/node_modules/mime-types/README.md @@ -0,0 +1,113 @@ +# mime-types + +[![NPM Version][npm-version-image]][npm-url] +[![NPM Downloads][npm-downloads-image]][npm-url] +[![Node.js Version][node-version-image]][node-version-url] +[![Build Status][ci-image]][ci-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +The ultimate javascript content-type utility. + +Similar to [the `mime@1.x` module](https://www.npmjs.com/package/mime), except: + +- __No fallbacks.__ Instead of naively returning the first available type, + `mime-types` simply returns `false`, so do + `var type = mime.lookup('unrecognized') || 'application/octet-stream'`. +- No `new Mime()` business, so you could do `var lookup = require('mime-types').lookup`. +- No `.define()` functionality +- Bug fixes for `.lookup(path)` + +Otherwise, the API is compatible with `mime` 1.x. + +## Install + +This is a [Node.js](https://nodejs.org/en/) module available through the +[npm registry](https://www.npmjs.com/). Installation is done using the +[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): + +```sh +$ npm install mime-types +``` + +## Adding Types + +All mime types are based on [mime-db](https://www.npmjs.com/package/mime-db), +so open a PR there if you'd like to add mime types. + +## API + +```js +var mime = require('mime-types') +``` + +All functions return `false` if input is invalid or not found. + +### mime.lookup(path) + +Lookup the content-type associated with a file. + +```js +mime.lookup('json') // 'application/json' +mime.lookup('.md') // 'text/markdown' +mime.lookup('file.html') // 'text/html' +mime.lookup('folder/file.js') // 'application/javascript' +mime.lookup('folder/.htaccess') // false + +mime.lookup('cats') // false +``` + +### mime.contentType(type) + +Create a full content-type header given a content-type or extension. +When given an extension, `mime.lookup` is used to get the matching +content-type, otherwise the given content-type is used. Then if the +content-type does not already have a `charset` parameter, `mime.charset` +is used to get the default charset and add to the returned content-type. + +```js +mime.contentType('markdown') // 'text/x-markdown; charset=utf-8' +mime.contentType('file.json') // 'application/json; charset=utf-8' +mime.contentType('text/html') // 'text/html; charset=utf-8' +mime.contentType('text/html; charset=iso-8859-1') // 'text/html; charset=iso-8859-1' + +// from a full path +mime.contentType(path.extname('/path/to/file.json')) // 'application/json; charset=utf-8' +``` + +### mime.extension(type) + +Get the default extension for a content-type. + +```js +mime.extension('application/octet-stream') // 'bin' +``` + +### mime.charset(type) + +Lookup the implied default charset of a content-type. + +```js +mime.charset('text/markdown') // 'UTF-8' +``` + +### var type = mime.types[extension] + +A map of content-types by extension. + +### [extensions...] = mime.extensions[type] + +A map of extensions by content-type. + +## License + +[MIT](LICENSE) + +[ci-image]: https://badgen.net/github/checks/jshttp/mime-types/master?label=ci +[ci-url]: https://github.com/jshttp/mime-types/actions/workflows/ci.yml +[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/mime-types/master +[coveralls-url]: https://coveralls.io/r/jshttp/mime-types?branch=master +[node-version-image]: https://badgen.net/npm/node/mime-types +[node-version-url]: https://nodejs.org/en/download +[npm-downloads-image]: https://badgen.net/npm/dm/mime-types +[npm-url]: https://npmjs.org/package/mime-types +[npm-version-image]: https://badgen.net/npm/v/mime-types diff --git a/node_modules/mime-types/index.js b/node_modules/mime-types/index.js new file mode 100644 index 0000000..b9f34d5 --- /dev/null +++ b/node_modules/mime-types/index.js @@ -0,0 +1,188 @@ +/*! + * mime-types + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + * @private + */ + +var db = require('mime-db') +var extname = require('path').extname + +/** + * Module variables. + * @private + */ + +var EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/ +var TEXT_TYPE_REGEXP = /^text\//i + +/** + * Module exports. + * @public + */ + +exports.charset = charset +exports.charsets = { lookup: charset } +exports.contentType = contentType +exports.extension = extension +exports.extensions = Object.create(null) +exports.lookup = lookup +exports.types = Object.create(null) + +// Populate the extensions/types maps +populateMaps(exports.extensions, exports.types) + +/** + * Get the default charset for a MIME type. + * + * @param {string} type + * @return {boolean|string} + */ + +function charset (type) { + if (!type || typeof type !== 'string') { + return false + } + + // TODO: use media-typer + var match = EXTRACT_TYPE_REGEXP.exec(type) + var mime = match && db[match[1].toLowerCase()] + + if (mime && mime.charset) { + return mime.charset + } + + // default text/* to utf-8 + if (match && TEXT_TYPE_REGEXP.test(match[1])) { + return 'UTF-8' + } + + return false +} + +/** + * Create a full Content-Type header given a MIME type or extension. + * + * @param {string} str + * @return {boolean|string} + */ + +function contentType (str) { + // TODO: should this even be in this module? + if (!str || typeof str !== 'string') { + return false + } + + var mime = str.indexOf('/') === -1 + ? exports.lookup(str) + : str + + if (!mime) { + return false + } + + // TODO: use content-type or other module + if (mime.indexOf('charset') === -1) { + var charset = exports.charset(mime) + if (charset) mime += '; charset=' + charset.toLowerCase() + } + + return mime +} + +/** + * Get the default extension for a MIME type. + * + * @param {string} type + * @return {boolean|string} + */ + +function extension (type) { + if (!type || typeof type !== 'string') { + return false + } + + // TODO: use media-typer + var match = EXTRACT_TYPE_REGEXP.exec(type) + + // get extensions + var exts = match && exports.extensions[match[1].toLowerCase()] + + if (!exts || !exts.length) { + return false + } + + return exts[0] +} + +/** + * Lookup the MIME type for a file path/extension. + * + * @param {string} path + * @return {boolean|string} + */ + +function lookup (path) { + if (!path || typeof path !== 'string') { + return false + } + + // get the extension ("ext" or ".ext" or full path) + var extension = extname('x.' + path) + .toLowerCase() + .substr(1) + + if (!extension) { + return false + } + + return exports.types[extension] || false +} + +/** + * Populate the extensions and types maps. + * @private + */ + +function populateMaps (extensions, types) { + // source preference (least -> most) + var preference = ['nginx', 'apache', undefined, 'iana'] + + Object.keys(db).forEach(function forEachMimeType (type) { + var mime = db[type] + var exts = mime.extensions + + if (!exts || !exts.length) { + return + } + + // mime -> extensions + extensions[type] = exts + + // extension -> mime + for (var i = 0; i < exts.length; i++) { + var extension = exts[i] + + if (types[extension]) { + var from = preference.indexOf(db[types[extension]].source) + var to = preference.indexOf(mime.source) + + if (types[extension] !== 'application/octet-stream' && + (from > to || (from === to && types[extension].substr(0, 12) === 'application/'))) { + // skip the remapping + continue + } + } + + // set the extension -> mime + types[extension] = type + } + }) +} diff --git a/node_modules/mime-types/package.json b/node_modules/mime-types/package.json new file mode 100644 index 0000000..bbef696 --- /dev/null +++ b/node_modules/mime-types/package.json @@ -0,0 +1,44 @@ +{ + "name": "mime-types", + "description": "The ultimate javascript content-type utility.", + "version": "2.1.35", + "contributors": [ + "Douglas Christopher Wilson ", + "Jeremiah Senkpiel (https://searchbeam.jit.su)", + "Jonathan Ong (http://jongleberry.com)" + ], + "license": "MIT", + "keywords": [ + "mime", + "types" + ], + "repository": "jshttp/mime-types", + "dependencies": { + "mime-db": "1.52.0" + }, + "devDependencies": { + "eslint": "7.32.0", + "eslint-config-standard": "14.1.1", + "eslint-plugin-import": "2.25.4", + "eslint-plugin-markdown": "2.2.1", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-promise": "5.2.0", + "eslint-plugin-standard": "4.1.0", + "mocha": "9.2.2", + "nyc": "15.1.0" + }, + "files": [ + "HISTORY.md", + "LICENSE", + "index.js" + ], + "engines": { + "node": ">= 0.6" + }, + "scripts": { + "lint": "eslint .", + "test": "mocha --reporter spec test/test.js", + "test-ci": "nyc --reporter=lcov --reporter=text npm test", + "test-cov": "nyc --reporter=html --reporter=text npm test" + } +} diff --git a/node_modules/mime/.npmignore b/node_modules/mime/.npmignore new file mode 100644 index 0000000..e69de29 diff --git a/node_modules/mime/CHANGELOG.md b/node_modules/mime/CHANGELOG.md new file mode 100644 index 0000000..f127535 --- /dev/null +++ b/node_modules/mime/CHANGELOG.md @@ -0,0 +1,164 @@ +# Changelog + +## v1.6.0 (24/11/2017) +*No changelog for this release.* + +--- + +## v2.0.4 (24/11/2017) +- [**closed**] Switch to mime-score module for resolving extension contention issues. [#182](https://github.com/broofa/node-mime/issues/182) +- [**closed**] Update mime-db to 1.31.0 in v1.x branch [#181](https://github.com/broofa/node-mime/issues/181) + +--- + +## v1.5.0 (22/11/2017) +- [**closed**] need ES5 version ready in npm package [#179](https://github.com/broofa/node-mime/issues/179) +- [**closed**] mime-db no trace of iWork - pages / numbers / etc. [#178](https://github.com/broofa/node-mime/issues/178) +- [**closed**] How it works in brownser ? [#176](https://github.com/broofa/node-mime/issues/176) +- [**closed**] Missing `./Mime` [#175](https://github.com/broofa/node-mime/issues/175) +- [**closed**] Vulnerable Regular Expression [#167](https://github.com/broofa/node-mime/issues/167) + +--- + +## v2.0.3 (25/09/2017) +*No changelog for this release.* + +--- + +## v1.4.1 (25/09/2017) +- [**closed**] Issue when bundling with webpack [#172](https://github.com/broofa/node-mime/issues/172) + +--- + +## v2.0.2 (15/09/2017) +- [**V2**] fs.readFileSync is not a function [#165](https://github.com/broofa/node-mime/issues/165) +- [**closed**] The extension for video/quicktime should map to .mov, not .qt [#164](https://github.com/broofa/node-mime/issues/164) +- [**V2**] [v2 Feedback request] Mime class API [#163](https://github.com/broofa/node-mime/issues/163) +- [**V2**] [v2 Feedback request] Resolving conflicts over extensions [#162](https://github.com/broofa/node-mime/issues/162) +- [**V2**] Allow callers to load module with official, full, or no defined types. [#161](https://github.com/broofa/node-mime/issues/161) +- [**V2**] Use "facets" to resolve extension conflicts [#160](https://github.com/broofa/node-mime/issues/160) +- [**V2**] Remove fs and path dependencies [#152](https://github.com/broofa/node-mime/issues/152) +- [**V2**] Default content-type should not be application/octet-stream [#139](https://github.com/broofa/node-mime/issues/139) +- [**V2**] reset mime-types [#124](https://github.com/broofa/node-mime/issues/124) +- [**V2**] Extensionless paths should return null or false [#113](https://github.com/broofa/node-mime/issues/113) + +--- + +## v2.0.1 (14/09/2017) +- [**closed**] Changelog for v2.0 does not mention breaking changes [#171](https://github.com/broofa/node-mime/issues/171) +- [**closed**] MIME breaking with 'class' declaration as it is without 'use strict mode' [#170](https://github.com/broofa/node-mime/issues/170) + +--- + +## v2.0.0 (12/09/2017) +- [**closed**] woff and woff2 [#168](https://github.com/broofa/node-mime/issues/168) + +--- + +## v1.4.0 (28/08/2017) +- [**closed**] support for ac3 voc files [#159](https://github.com/broofa/node-mime/issues/159) +- [**closed**] Help understanding change from application/xml to text/xml [#158](https://github.com/broofa/node-mime/issues/158) +- [**closed**] no longer able to override mimetype [#157](https://github.com/broofa/node-mime/issues/157) +- [**closed**] application/vnd.adobe.photoshop [#147](https://github.com/broofa/node-mime/issues/147) +- [**closed**] Directories should appear as something other than application/octet-stream [#135](https://github.com/broofa/node-mime/issues/135) +- [**closed**] requested features [#131](https://github.com/broofa/node-mime/issues/131) +- [**closed**] Make types.json loading optional? [#129](https://github.com/broofa/node-mime/issues/129) +- [**closed**] Cannot find module './types.json' [#120](https://github.com/broofa/node-mime/issues/120) +- [**V2**] .wav files show up as "audio/x-wav" instead of "audio/x-wave" [#118](https://github.com/broofa/node-mime/issues/118) +- [**closed**] Don't be a pain in the ass for node community [#108](https://github.com/broofa/node-mime/issues/108) +- [**closed**] don't make default_type global [#78](https://github.com/broofa/node-mime/issues/78) +- [**closed**] mime.extension() fails if the content-type is parameterized [#74](https://github.com/broofa/node-mime/issues/74) + +--- + +## v1.3.6 (11/05/2017) +- [**closed**] .md should be text/markdown as of March 2016 [#154](https://github.com/broofa/node-mime/issues/154) +- [**closed**] Error while installing mime [#153](https://github.com/broofa/node-mime/issues/153) +- [**closed**] application/manifest+json [#149](https://github.com/broofa/node-mime/issues/149) +- [**closed**] Dynamic adaptive streaming over HTTP (DASH) file extension typo [#141](https://github.com/broofa/node-mime/issues/141) +- [**closed**] charsets image/png undefined [#140](https://github.com/broofa/node-mime/issues/140) +- [**closed**] Mime-db dependency out of date [#130](https://github.com/broofa/node-mime/issues/130) +- [**closed**] how to support plist? [#126](https://github.com/broofa/node-mime/issues/126) +- [**closed**] how does .types file format look like? [#123](https://github.com/broofa/node-mime/issues/123) +- [**closed**] Feature: support for expanding MIME patterns [#121](https://github.com/broofa/node-mime/issues/121) +- [**closed**] DEBUG_MIME doesn't work [#117](https://github.com/broofa/node-mime/issues/117) + +--- + +## v1.3.4 (06/02/2015) +*No changelog for this release.* + +--- + +## v1.3.3 (06/02/2015) +*No changelog for this release.* + +--- + +## v1.3.1 (05/02/2015) +- [**closed**] Consider adding support for Handlebars .hbs file ending [#111](https://github.com/broofa/node-mime/issues/111) +- [**closed**] Consider adding support for hjson. [#110](https://github.com/broofa/node-mime/issues/110) +- [**closed**] Add mime type for Opus audio files [#94](https://github.com/broofa/node-mime/issues/94) +- [**closed**] Consider making the `Requesting New Types` information more visible [#77](https://github.com/broofa/node-mime/issues/77) + +--- + +## v1.3.0 (05/02/2015) +- [**closed**] Add common name? [#114](https://github.com/broofa/node-mime/issues/114) +- [**closed**] application/x-yaml [#104](https://github.com/broofa/node-mime/issues/104) +- [**closed**] Add mime type for WOFF file format 2.0 [#102](https://github.com/broofa/node-mime/issues/102) +- [**closed**] application/x-msi for .msi [#99](https://github.com/broofa/node-mime/issues/99) +- [**closed**] Add mimetype for gettext translation files [#98](https://github.com/broofa/node-mime/issues/98) +- [**closed**] collaborators [#88](https://github.com/broofa/node-mime/issues/88) +- [**closed**] getting errot in installation of mime module...any1 can help? [#87](https://github.com/broofa/node-mime/issues/87) +- [**closed**] should application/json's charset be utf8? [#86](https://github.com/broofa/node-mime/issues/86) +- [**closed**] Add "license" and "licenses" to package.json [#81](https://github.com/broofa/node-mime/issues/81) +- [**closed**] lookup with extension-less file on Windows returns wrong type [#68](https://github.com/broofa/node-mime/issues/68) + +--- + +## v1.2.11 (15/08/2013) +- [**closed**] Update mime.types [#65](https://github.com/broofa/node-mime/issues/65) +- [**closed**] Publish a new version [#63](https://github.com/broofa/node-mime/issues/63) +- [**closed**] README should state upfront that "application/octet-stream" is default for unknown extension [#55](https://github.com/broofa/node-mime/issues/55) +- [**closed**] Suggested improvement to the charset API [#52](https://github.com/broofa/node-mime/issues/52) + +--- + +## v1.2.10 (25/07/2013) +- [**closed**] Mime type for woff files should be application/font-woff and not application/x-font-woff [#62](https://github.com/broofa/node-mime/issues/62) +- [**closed**] node.types in conflict with mime.types [#51](https://github.com/broofa/node-mime/issues/51) + +--- + +## v1.2.9 (17/01/2013) +- [**closed**] Please update "mime" NPM [#49](https://github.com/broofa/node-mime/issues/49) +- [**closed**] Please add semicolon [#46](https://github.com/broofa/node-mime/issues/46) +- [**closed**] parse full mime types [#43](https://github.com/broofa/node-mime/issues/43) + +--- + +## v1.2.8 (10/01/2013) +- [**closed**] /js directory mime is application/javascript. Is it correct? [#47](https://github.com/broofa/node-mime/issues/47) +- [**closed**] Add mime types for lua code. [#45](https://github.com/broofa/node-mime/issues/45) + +--- + +## v1.2.7 (19/10/2012) +- [**closed**] cannot install 1.2.7 via npm [#41](https://github.com/broofa/node-mime/issues/41) +- [**closed**] Transfer ownership to @broofa [#36](https://github.com/broofa/node-mime/issues/36) +- [**closed**] it's wrong to set charset to UTF-8 for text [#30](https://github.com/broofa/node-mime/issues/30) +- [**closed**] Allow multiple instances of MIME types container [#27](https://github.com/broofa/node-mime/issues/27) + +--- + +## v1.2.5 (16/02/2012) +- [**closed**] When looking up a types, check hasOwnProperty [#23](https://github.com/broofa/node-mime/issues/23) +- [**closed**] Bump version to 1.2.2 [#18](https://github.com/broofa/node-mime/issues/18) +- [**closed**] No license [#16](https://github.com/broofa/node-mime/issues/16) +- [**closed**] Some types missing that are used by html5/css3 [#13](https://github.com/broofa/node-mime/issues/13) +- [**closed**] npm install fails for 1.2.1 [#12](https://github.com/broofa/node-mime/issues/12) +- [**closed**] image/pjpeg + image/x-png [#10](https://github.com/broofa/node-mime/issues/10) +- [**closed**] symlink [#8](https://github.com/broofa/node-mime/issues/8) +- [**closed**] gzip [#2](https://github.com/broofa/node-mime/issues/2) +- [**closed**] ALL CAPS filenames return incorrect mime type [#1](https://github.com/broofa/node-mime/issues/1) diff --git a/node_modules/mime/LICENSE b/node_modules/mime/LICENSE new file mode 100644 index 0000000..d3f46f7 --- /dev/null +++ b/node_modules/mime/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2010 Benjamin Thomas, Robert Kieffer + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_modules/mime/README.md b/node_modules/mime/README.md new file mode 100644 index 0000000..506fbe5 --- /dev/null +++ b/node_modules/mime/README.md @@ -0,0 +1,90 @@ +# mime + +Comprehensive MIME type mapping API based on mime-db module. + +## Install + +Install with [npm](http://github.com/isaacs/npm): + + npm install mime + +## Contributing / Testing + + npm run test + +## Command Line + + mime [path_string] + +E.g. + + > mime scripts/jquery.js + application/javascript + +## API - Queries + +### mime.lookup(path) +Get the mime type associated with a file, if no mime type is found `application/octet-stream` is returned. Performs a case-insensitive lookup using the extension in `path` (the substring after the last '/' or '.'). E.g. + +```js +var mime = require('mime'); + +mime.lookup('/path/to/file.txt'); // => 'text/plain' +mime.lookup('file.txt'); // => 'text/plain' +mime.lookup('.TXT'); // => 'text/plain' +mime.lookup('htm'); // => 'text/html' +``` + +### mime.default_type +Sets the mime type returned when `mime.lookup` fails to find the extension searched for. (Default is `application/octet-stream`.) + +### mime.extension(type) +Get the default extension for `type` + +```js +mime.extension('text/html'); // => 'html' +mime.extension('application/octet-stream'); // => 'bin' +``` + +### mime.charsets.lookup() + +Map mime-type to charset + +```js +mime.charsets.lookup('text/plain'); // => 'UTF-8' +``` + +(The logic for charset lookups is pretty rudimentary. Feel free to suggest improvements.) + +## API - Defining Custom Types + +Custom type mappings can be added on a per-project basis via the following APIs. + +### mime.define() + +Add custom mime/extension mappings + +```js +mime.define({ + 'text/x-some-format': ['x-sf', 'x-sft', 'x-sfml'], + 'application/x-my-type': ['x-mt', 'x-mtt'], + // etc ... +}); + +mime.lookup('x-sft'); // => 'text/x-some-format' +``` + +The first entry in the extensions array is returned by `mime.extension()`. E.g. + +```js +mime.extension('text/x-some-format'); // => 'x-sf' +``` + +### mime.load(filepath) + +Load mappings from an Apache ".types" format file + +```js +mime.load('./my_project.types'); +``` +The .types file format is simple - See the `types` dir for examples. diff --git a/node_modules/mime/cli.js b/node_modules/mime/cli.js new file mode 100644 index 0000000..20b1ffe --- /dev/null +++ b/node_modules/mime/cli.js @@ -0,0 +1,8 @@ +#!/usr/bin/env node + +var mime = require('./mime.js'); +var file = process.argv[2]; +var type = mime.lookup(file); + +process.stdout.write(type + '\n'); + diff --git a/node_modules/mime/mime.js b/node_modules/mime/mime.js new file mode 100644 index 0000000..d7efbde --- /dev/null +++ b/node_modules/mime/mime.js @@ -0,0 +1,108 @@ +var path = require('path'); +var fs = require('fs'); + +function Mime() { + // Map of extension -> mime type + this.types = Object.create(null); + + // Map of mime type -> extension + this.extensions = Object.create(null); +} + +/** + * Define mimetype -> extension mappings. Each key is a mime-type that maps + * to an array of extensions associated with the type. The first extension is + * used as the default extension for the type. + * + * e.g. mime.define({'audio/ogg', ['oga', 'ogg', 'spx']}); + * + * @param map (Object) type definitions + */ +Mime.prototype.define = function (map) { + for (var type in map) { + var exts = map[type]; + for (var i = 0; i < exts.length; i++) { + if (process.env.DEBUG_MIME && this.types[exts[i]]) { + console.warn((this._loading || "define()").replace(/.*\//, ''), 'changes "' + exts[i] + '" extension type from ' + + this.types[exts[i]] + ' to ' + type); + } + + this.types[exts[i]] = type; + } + + // Default extension is the first one we encounter + if (!this.extensions[type]) { + this.extensions[type] = exts[0]; + } + } +}; + +/** + * Load an Apache2-style ".types" file + * + * This may be called multiple times (it's expected). Where files declare + * overlapping types/extensions, the last file wins. + * + * @param file (String) path of file to load. + */ +Mime.prototype.load = function(file) { + this._loading = file; + // Read file and split into lines + var map = {}, + content = fs.readFileSync(file, 'ascii'), + lines = content.split(/[\r\n]+/); + + lines.forEach(function(line) { + // Clean up whitespace/comments, and split into fields + var fields = line.replace(/\s*#.*|^\s*|\s*$/g, '').split(/\s+/); + map[fields.shift()] = fields; + }); + + this.define(map); + + this._loading = null; +}; + +/** + * Lookup a mime type based on extension + */ +Mime.prototype.lookup = function(path, fallback) { + var ext = path.replace(/^.*[\.\/\\]/, '').toLowerCase(); + + return this.types[ext] || fallback || this.default_type; +}; + +/** + * Return file extension associated with a mime type + */ +Mime.prototype.extension = function(mimeType) { + var type = mimeType.match(/^\s*([^;\s]*)(?:;|\s|$)/)[1].toLowerCase(); + return this.extensions[type]; +}; + +// Default instance +var mime = new Mime(); + +// Define built-in types +mime.define(require('./types.json')); + +// Default type +mime.default_type = mime.lookup('bin'); + +// +// Additional API specific to the default instance +// + +mime.Mime = Mime; + +/** + * Lookup a charset based on mime type. + */ +mime.charsets = { + lookup: function(mimeType, fallback) { + // Assume text types are utf8 + return (/^text\/|^application\/(javascript|json)/).test(mimeType) ? 'UTF-8' : fallback; + } +}; + +module.exports = mime; diff --git a/node_modules/mime/package.json b/node_modules/mime/package.json new file mode 100644 index 0000000..6bd24bc --- /dev/null +++ b/node_modules/mime/package.json @@ -0,0 +1,44 @@ +{ + "author": { + "name": "Robert Kieffer", + "url": "http://github.com/broofa", + "email": "robert@broofa.com" + }, + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + }, + "contributors": [ + { + "name": "Benjamin Thomas", + "url": "http://github.com/bentomas", + "email": "benjamin@benjaminthomas.org" + } + ], + "description": "A comprehensive library for mime-type mapping", + "license": "MIT", + "dependencies": {}, + "devDependencies": { + "github-release-notes": "0.13.1", + "mime-db": "1.31.0", + "mime-score": "1.1.0" + }, + "scripts": { + "prepare": "node src/build.js", + "changelog": "gren changelog --tags=all --generate --override", + "test": "node src/test.js" + }, + "keywords": [ + "util", + "mime" + ], + "main": "mime.js", + "name": "mime", + "repository": { + "url": "https://github.com/broofa/node-mime", + "type": "git" + }, + "version": "1.6.0" +} diff --git a/node_modules/mime/src/build.js b/node_modules/mime/src/build.js new file mode 100644 index 0000000..4928e48 --- /dev/null +++ b/node_modules/mime/src/build.js @@ -0,0 +1,53 @@ +#!/usr/bin/env node + +'use strict'; + +const fs = require('fs'); +const path = require('path'); +const mimeScore = require('mime-score'); + +let db = require('mime-db'); +let chalk = require('chalk'); + +const STANDARD_FACET_SCORE = 900; + +const byExtension = {}; + +// Clear out any conflict extensions in mime-db +for (let type in db) { + let entry = db[type]; + entry.type = type; + + if (!entry.extensions) continue; + + entry.extensions.forEach(ext => { + if (ext in byExtension) { + const e0 = entry; + const e1 = byExtension[ext]; + e0.pri = mimeScore(e0.type, e0.source); + e1.pri = mimeScore(e1.type, e1.source); + + let drop = e0.pri < e1.pri ? e0 : e1; + let keep = e0.pri >= e1.pri ? e0 : e1; + drop.extensions = drop.extensions.filter(e => e !== ext); + + console.log(`${ext}: Keeping ${chalk.green(keep.type)} (${keep.pri}), dropping ${chalk.red(drop.type)} (${drop.pri})`); + } + byExtension[ext] = entry; + }); +} + +function writeTypesFile(types, path) { + fs.writeFileSync(path, JSON.stringify(types)); +} + +// Segregate into standard and non-standard types based on facet per +// https://tools.ietf.org/html/rfc6838#section-3.1 +const types = {}; + +Object.keys(db).sort().forEach(k => { + const entry = db[k]; + types[entry.type] = entry.extensions; +}); + +writeTypesFile(types, path.join(__dirname, '..', 'types.json')); diff --git a/node_modules/mime/src/test.js b/node_modules/mime/src/test.js new file mode 100644 index 0000000..42958a2 --- /dev/null +++ b/node_modules/mime/src/test.js @@ -0,0 +1,60 @@ +/** + * Usage: node test.js + */ + +var mime = require('../mime'); +var assert = require('assert'); +var path = require('path'); + +// +// Test mime lookups +// + +assert.equal('text/plain', mime.lookup('text.txt')); // normal file +assert.equal('text/plain', mime.lookup('TEXT.TXT')); // uppercase +assert.equal('text/plain', mime.lookup('dir/text.txt')); // dir + file +assert.equal('text/plain', mime.lookup('.text.txt')); // hidden file +assert.equal('text/plain', mime.lookup('.txt')); // nameless +assert.equal('text/plain', mime.lookup('txt')); // extension-only +assert.equal('text/plain', mime.lookup('/txt')); // extension-less () +assert.equal('text/plain', mime.lookup('\\txt')); // Windows, extension-less +assert.equal('application/octet-stream', mime.lookup('text.nope')); // unrecognized +assert.equal('fallback', mime.lookup('text.fallback', 'fallback')); // alternate default + +// +// Test extensions +// + +assert.equal('txt', mime.extension(mime.types.text)); +assert.equal('html', mime.extension(mime.types.htm)); +assert.equal('bin', mime.extension('application/octet-stream')); +assert.equal('bin', mime.extension('application/octet-stream ')); +assert.equal('html', mime.extension(' text/html; charset=UTF-8')); +assert.equal('html', mime.extension('text/html; charset=UTF-8 ')); +assert.equal('html', mime.extension('text/html; charset=UTF-8')); +assert.equal('html', mime.extension('text/html ; charset=UTF-8')); +assert.equal('html', mime.extension('text/html;charset=UTF-8')); +assert.equal('html', mime.extension('text/Html;charset=UTF-8')); +assert.equal(undefined, mime.extension('unrecognized')); + +// +// Test node.types lookups +// + +assert.equal('font/woff', mime.lookup('file.woff')); +assert.equal('application/octet-stream', mime.lookup('file.buffer')); +// TODO: Uncomment once #157 is resolved +// assert.equal('audio/mp4', mime.lookup('file.m4a')); +assert.equal('font/otf', mime.lookup('file.otf')); + +// +// Test charsets +// + +assert.equal('UTF-8', mime.charsets.lookup('text/plain')); +assert.equal('UTF-8', mime.charsets.lookup(mime.types.js)); +assert.equal('UTF-8', mime.charsets.lookup(mime.types.json)); +assert.equal(undefined, mime.charsets.lookup(mime.types.bin)); +assert.equal('fallback', mime.charsets.lookup('application/octet-stream', 'fallback')); + +console.log('\nAll tests passed'); diff --git a/node_modules/mime/types.json b/node_modules/mime/types.json new file mode 100644 index 0000000..bec78ab --- /dev/null +++ b/node_modules/mime/types.json @@ -0,0 +1 @@ +{"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomsvc+xml":["atomsvc"],"application/bdoc":["bdoc"],"application/ccxml+xml":["ccxml"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/font-tdpfr":["pfr"],"application/font-woff":[],"application/font-woff2":[],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/prs.cww":["cww"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":[],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":[],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":[],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":[],"application/x-msdownload":["com","bat"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["wmf","emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":[],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"application/xaml+xml":["xaml"],"application/xcap-diff+xml":["xdf"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":[],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mp3":[],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/wav":["wav"],"audio/wave":[],"audio/webm":["weba"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":[],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":[],"audio/x-wav":[],"audio/xm":["xm"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/g3fax":["g3"],"image/gif":["gif"],"image/ief":["ief"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/ktx":["ktx"],"image/png":["png"],"image/prs.btif":["btif"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/tiff":["tiff","tif"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":[],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/webp":["webp"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":[],"image/x-pcx":["pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/rfc822":["eml","mime"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.vtu":["vtu"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["x3db","x3dbz"],"model/x3d+vrml":["x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/hjson":["hjson"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/prs.lines.tag":["dsc"],"text/richtext":["rtx"],"text/rtf":[],"text/sgml":["sgml","sgm"],"text/slim":["slim","slm"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/vtt":["vtt"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":[],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"text/xml":[],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/jpeg":["jpgv"],"video/jpm":["jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/webm":["webm"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]} \ No newline at end of file diff --git a/node_modules/moment/CHANGELOG.md b/node_modules/moment/CHANGELOG.md new file mode 100644 index 0000000..90933d6 --- /dev/null +++ b/node_modules/moment/CHANGELOG.md @@ -0,0 +1,996 @@ +Changelog +========= + +### 2.30.1 +* Release Dec 27, 2023 +* Revert https://github.com/moment/moment/pull/5827, because it's breaking + a lot of TS code. + +### 2.30.0 [Full changelog](https://gist.github.com/ichernev/e277bcd1f0eeabb834f60a777237925a) +* Release Dec 26, 2023 + +### 2.29.4 + +* Release Jul 6, 2022 + * [#6015](https://github.com/moment/moment/pull/6015) [bugfix] Fix ReDoS in preprocessRFC2822 regex + +### 2.29.3 [Full changelog](https://gist.github.com/ichernev/edebd440f49adcaec72e5e77b791d8be) + +* Release Apr 17, 2022 + * [#5995](https://github.com/moment/moment/pull/5995) [bugfix] Remove const usage + * [#5990](https://github.com/moment/moment/pull/5990) misc: fix advisory link + + +### 2.29.2 [See full changelog](https://gist.github.com/ichernev/1904b564f6679d9aac1ae08ce13bc45c) + +* Release Apr 3 2022 + +Address https://github.com/moment/moment/security/advisories/GHSA-8hfj-j24r-96c4 + +### 2.29.1 [See full changelog](https://gist.github.com/marwahaha/cc478ba01a1292ab4bd4e861d164d99b) + +* Release Oct 6, 2020 + +Updated deprecation message, bugfix in hi locale + +### 2.29.0 [See full changelog](https://gist.github.com/marwahaha/b0111718641a6461800066549957ec14) + +* Release Sept 22, 2020 + +New locales (es-mx, bn-bd). +Minor bugfixes and locale improvements. +More tests. +Moment is in maintenance mode. Read more at this link: +https://momentjs.com/docs/#/-project-status/ + +### 2.28.0 [See full changelog](https://gist.github.com/marwahaha/028fd6c2b2470b2804857cfd63c0e94f) + +* Release Sept 13, 2020 + +Fix bug where .format() modifies original instance, and locale updates + +### 2.27.0 [See full changelog](https://gist.github.com/marwahaha/5100c9c2f42019067b1f6cefc333daa7) + +* Release June 18, 2020 + +Added Turkmen locale, other locale improvements, slight TypeScript fixes + +### 2.26.0 [See full changelog](https://gist.github.com/marwahaha/0725c40740560854a849b096ea7b7590) + +* Release May 19, 2020 + +TypeScript fixes and many locale improvements + +### 2.25.3 + +* Release May 4, 2020 + +Remove package.json module property. It looks like webpack behaves differently +for modules loaded via module vs jsnext:main. + +### 2.25.2 + +* Release May 4, 2020 + +This release includes ES Module bundled moment, separate from it's source code +under dist/ folder. This might alleviate issues with finding the `./locale +subfolder for loading locales. This might also mean now webpack will bundle all +locales automatically, unless told otherwise. + +### 2.25.1 + +* Release May 1, 2020 + +This is a quick patch release to address some of the issues raised after +releasing 2.25.0. + +* [2e268635](https://github.com/moment/moment/commit/2e268635) [misc] Revert #5269 due to webpack warning +* [226799e1](https://github.com/moment/moment/commit/226799e1) [locale] fil: Fix metadata comment +* [a83a521](https://github.com/moment/moment/commit/a83a521) [bugfix] Fix typeoff usages +* [e324334](https://github.com/moment/moment/commit/e324334) [pkg] Add ts3.1-typings in npm package +* [28cc23e](https://github.com/moment/moment/commit/28cc23e) [misc] Remove deleted generated locale en-SG + +### 2.25.0 [See full changelog](https://gist.github.com/ichernev/6148e64df2427e455b10ce6a18de1a65) + +* Release May 1, 2020 + +* [#4611](https://github.com/moment/moment/issues/4611) [022dc038](https://github.com/moment/moment/commit/022dc038) [feature] Support for strict string parsing, fixes [#2469](https://github.com/moment/moment/issues/2469) +* [#4599](https://github.com/moment/moment/issues/4599) [4b615b9d](https://github.com/moment/moment/commit/4b615b9d) [feature] Add support for eras in en and jp +* [#4296](https://github.com/moment/moment/issues/4296) [757d4ff8](https://github.com/moment/moment/commit/757d4ff8) [feature] Accept custom relative thresholds in duration.humanize + +* 18 bigfixes +* 36 locale fixes +* 5 new locales (oc-lnc, zh-mo, en-in, gom-deva, fil) + +### 2.24.0 [See full changelog](https://gist.github.com/marwahaha/12366fe45bee328f33acf125d4cd540e) + +* Release Jan 21, 2019 + +* [#4338](https://github.com/moment/moment/pull/4338) [bugfix] Fix startOf/endOf DST issues while boosting performance +* [#4553](https://github.com/moment/moment/pull/4553) [feature] Add localeSort param to Locale weekday methods +* [#4887](https://github.com/moment/moment/pull/4887) [bugfix] Make Duration#as work with quarters +* 3 new locales (it-ch, ga, en-SG) +* Lots of locale improvements + +### 2.23.0 [See full changelog](https://gist.github.com/marwahaha/eadb7ac11b761290399a576f8b2419a5) + +* Release Dec 12, 2018 + +* [#4863](https://github.com/moment/moment/pull/4863) [new locale] added Kurdish language (ku) +* [#4417](https://github.com/moment/moment/pull/4417) [bugfix] isBetween should return false for invalid dates +* [#4700](https://github.com/moment/moment/pull/4700) [bugfix] Fix [#4698](https://github.com/moment/moment/pull/4698): Use ISO WeekYear for HTML5_FMT.WEEK +* [#4563](https://github.com/moment/moment/pull/4563) [feature] Fix [#4518](https://github.com/moment/moment/pull/4518): Add support to add/subtract ISO weeks +* other locale changes, build process changes, typos + +### 2.22.2 [See full changelog](https://gist.github.com/marwahaha/4d992c13c2dbc0f59d4d8acae1dc6d3a) + +* Release May 31, 2018 + +* [#4564](https://github.com/moment/moment/pull/4564) [bugfix] Avoid using trim() +* [#4453](https://github.com/moment/moment/pull/4453) [bugfix] Treat periods as periods, not regex-anything period, for weekday parsing in strict mode. +* Minor locale improvements (pa-in, be, az) + +### 2.22.1 [See full changelog](https://gist.github.com/marwahaha/ff2cd13d0eda08afb7a237b10aae558c) + +* Release Apr 14, 2018 + +* [#4495](https://github.com/moment/moment/pull/4495) [bugfix] Added HTML5_FMT to moment.d.ts +* Minor locale improvements +* QUnit upgrade and coveralls reporting + +### 2.22.0 [See full changelog](https://gist.github.com/marwahaha/ae895025dac3f0641fa9ec2e36d282bb) + +* Release Mar 30, 2018 + +* [#4423](https://github.com/moment/moment/pull/4423) [new locale] Added Mongolian locale mn +* Various locale improvements +* Minor misc changes + +### 2.21.0 [See full changelog](https://gist.github.com/marwahaha/80d19ef882b71df1948df7865efdd40e) + +* Release Mar 2, 2018 + +* [#4391](https://github.com/moment/moment/pull/4391) [bugfix] Fix [#4390](https://github.com/moment/moment/pull/4390): use offset properly in toISOString +* [#4310](https://github.com/moment/moment/pull/4310) [bugfix] Fix [#3883](https://github.com/moment/moment/pull/3883) lazy load parentLocale in defineLocale, fallback to global if missing +* [#4085](https://github.com/moment/moment/pull/4085) [misc] Print console warning when setting non-existent locales +* [#4371](https://github.com/moment/moment/pull/4371) [misc] fix deprecated rollup options +* New locales: ug-cn, en-il, tg +* Various locale improvements + +### 2.20.1 [See changelog](https://gist.github.com/marwahaha/d72c1cb22076373be889b16272cbd187) + +* Release Dec 18, 2017 + +* [#4359](https://github.com/moment/moment/pull/4359) [locale] Fix Arabic locale for months (again) +* [#4357](https://github.com/moment/moment/pull/4357) [misc] Add optional parameter keepOffset to toISOString + +### 2.20.0 [See full changelog](https://gist.github.com/marwahaha/e0d4135fbf8bb75fa85c4aa2bddc5031) + +* Release Dec 16, 2017 + +* [#4312](https://github.com/moment/moment/pull/4312) [bugfix] Fix [#4251](https://github.com/moment/moment/pull/4251): Avoid RFC2822 in utc() test +* [#4240](https://github.com/moment/moment/pull/4240) [bugfix] Fix incorrect strict parsing with full-width parentheses +* [#4341](https://github.com/moment/moment/pull/4341) [feature] Prevent toISOString converting to UTC (issue [#1751](https://github.com/moment/moment/pull/1751)) +* [#4154](https://github.com/moment/moment/pull/4154) [feature] add format constants to support output to HTML5 input type formats (see [#3928](https://github.com/moment/moment/pull/3928)) +* [#4143](https://github.com/moment/moment/pull/4143) [new locale] mt: Maltese language +* [#4183](https://github.com/moment/moment/pull/4183) [locale] Relative seconds i18n +* Various other locale improvements + +### 2.19.4 [See changelog](https://gist.github.com/marwahaha/d3b7b0ddf4bdae512244f16e8cc59efb) + +* Release Dec 10, 2017 + +* [#4332](https://github.com/moment/moment/pull/4332) [bugfix] Fix weekday verification for UTC and offset days (fixes [#4227](https://github.com/moment/moment/pull/4227)) +* [#4336](https://github.com/moment/moment/pull/4336) [bugfix] Fix [#4334](https://github.com/moment/moment/pull/4334): Remove unused function call argument +* [#4246](https://github.com/moment/moment/pull/4246) [misc] Add 'ss' relative time key to typescript definition + +### 2.19.3 [See changelog](https://gist.github.com/marwahaha/3654006bc0c2e522451c08d12c0bfabf) + +* Release Nov 29, 2017 + +* [#4326](https://github.com/moment/moment/pull/4326) [bugfix] Fix for ReDOS vulnerability (see [#4163](https://github.com/moment/moment/issues/4163)) +* [#4289](https://github.com/moment/moment/pull/4289) [misc] Fix spelling and formatting for U.S. for es-us + +### 2.19.2 [See changelog (it's the same >:D)](https://gist.github.com/ichernev/76b1a3f33d3a8ff9665ce434a45221d0) + +* Release Nov 11, 2017 + +* [#4255](https://github.com/moment/moment/pull/4255) [bugfix] Fix year setter for random days in a leap year, fixes [#4238](https://github.com/moment/moment/issues/4238) +* [#4242](https://github.com/moment/moment/pull/4242) [bugfix] updateLocale now tries to load parent, fixes [#3626](https://github.com/moment/moment/issues/3626) + +### 2.19.1 + +* Release Oct 11, 2017 + +Make react native and webpack both work +* #4225 #4226 #4232 + +### 2.19.0 [See full changelog](https://gist.github.com/ichernev/5f3f4eb02761b4f765a0cccf02cec603) + +* Release Oct 10, 2017 + +## Fix React Native 0.49+ crash +* [#4213](https://github.com/moment/moment/pull/4213) [critical] Rename dynamic + require to avoid React Native crash +* [#4214](https://github.com/moment/moment/pull/4214) [fixup] Move require + rename inside try/catch, fixes + [#4213](https://github.com/moment/moment/issues/4213) + +## Features + +* [#3735](https://github.com/moment/moment/pull/3735) [feature] Ignore NaN values in setters +* [#4106](https://github.com/moment/moment/pull/4106) [fixup] Drop isNumeric utility fn, fixes [#3735](https://github.com/moment/moment/issues/3735) +* [#4080](https://github.com/moment/moment/pull/4080) [feature] Implement a clone method for durations, fixes [#4078](https://github.com/moment/moment/issues/4078) +* [#4215](https://github.com/moment/moment/pull/4215) [misc] TS: Add duration.clone(), for [#4080](https://github.com/moment/moment/issues/4080) + +## Packaging + +* [#4003](https://github.com/moment/moment/pull/4003) [pkg] bower: Remove tests from package +* [#3904](https://github.com/moment/moment/pull/3904) [pkg] jsnext:main -> module in package.json +* [#4060](https://github.com/moment/moment/pull/4060) [pkg] Account for new rollup interface + +Bugfixes, new locales, locale fixes etc... + +### 2.18.1 + +* Release Mar 22, 2017 + +* [#3853](https://github.com/moment/moment/pull/3853) [misc] Fix invalid whitespace character causing inability to parse + moment.js + +### 2.18.0 [See full changelog](https://gist.github.com/ichernev/78920c5a1e419fb28c6e4546d1b7235c) + +* Release Mar 18, 2017 + +## Features + +* [#3708](https://github.com/moment/moment/pull/3708) [feature] RFC2822 parsing +* [#3611](https://github.com/moment/moment/pull/3611) [feature] Durations gain validity +* [#3738](https://github.com/moment/moment/pull/3738) [feature] Enable relative time for multiple seconds, request [#2558](https://github.com/moment/moment/issues/2558) +* [#3766](https://github.com/moment/moment/pull/3766) [feature] Add support for k and kk format parsing + +## Bugfixes + +* [#3643](https://github.com/moment/moment/pull/3643) [bugfix] Fixes [#3520](https://github.com/moment/moment/issues/3520), parseZone incorrectly handled minutes under 16 +* [#3710](https://github.com/moment/moment/pull/3710) [bugfix] Fixes [#3632](https://github.com/moment/moment/issues/3632), toISOString returns null for invalid date +* [#3787](https://github.com/moment/moment/pull/3787) [bugfix] Fixes [#3717](https://github.com/moment/moment/issues/3717), ensure day-of-year is non-zero +* [#3780](https://github.com/moment/moment/pull/3780) [bugfix] Fixes [#3765](https://github.com/moment/moment/issues/3765): Ensure year 0 is formatted with YYYY +* [#3806](https://github.com/moment/moment/pull/3806) [bugfix] Fixes [#3805](https://github.com/moment/moment/issues/3805), fix locale month getters for standalone/format cases + +7 new locales, many locale improvements and some misc changes + +### 2.17.1 [Also available here](https://gist.github.com/ichernev/f38280b2b29c4932914a6d3a4e50bfb2) +* Release Dec 03, 2016 + +* [#3638](https://github.com/moment/moment/pull/3638) [misc] TS: Make typescript definitions work with 1.x +* [#3628](https://github.com/moment/moment/pull/3628) [misc] Adds "sign CLA" link to `CONTRIBUTING.md` +* [#3640](https://github.com/moment/moment/pull/3640) [misc] Fix locale issues + +### 2.17.0 [Also available here](https://gist.github.com/ichernev/ed58f76fb95205eeac653d719972b90c) +* Release Nov 22, 2016 + +* [#3435](https://github.com/moment/moment/pull/3435) [new locale] yo: Yoruba (Nigeria) locale +* [#3595](https://github.com/moment/moment/pull/3595) [bugfix] Fix accidental reference to global "value" variable +* [#3506](https://github.com/moment/moment/pull/3506) [bugfix] Fix invalid moments returning valid dates to method calls +* [#3563](https://github.com/moment/moment/pull/3563) [locale] ca: Change future relative time +* [#3504](https://github.com/moment/moment/pull/3504) [tests] Fixes [#3463](https://github.com/moment/moment/issues/3463), parseZone not handling Z correctly (tests only) +* [#3591](https://github.com/moment/moment/pull/3591) [misc] typescript: update typescript to 2.0.8, add strictNullChecks=true +* [#3597](https://github.com/moment/moment/pull/3597) [misc] Fixed capitalization in nuget spec + +### 2.16.0 [See full changelog](https://gist.github.com/ichernev/17bffc1005a032cb1a8ac4c1558b4994) +* Release Nov 9, 2016 + +## Features +* [#3530](https://github.com/moment/moment/pull/3530) [feature] Check whether input is date before checking if format is array +* [#3515](https://github.com/moment/moment/pull/3515) [feature] Fix [#2300](https://github.com/moment/moment/issues/2300): Default to current week. + +## Bugfixes +* [#3546](https://github.com/moment/moment/pull/3546) [bugfix] Implement lazy-loading of child locales with missing prents +* [#3523](https://github.com/moment/moment/pull/3523) [bugfix] parseZone should handle UTC +* [#3502](https://github.com/moment/moment/pull/3502) [bugfix] Fix [#3500](https://github.com/moment/moment/issues/3500): ISO 8601 parsing should match the full string, not the beginning of the string. +* [#3581](https://github.com/moment/moment/pull/3581) [bugfix] Fix parseZone, redo [#3504](https://github.com/moment/moment/issues/3504), fix [#3463](https://github.com/moment/moment/issues/3463) + +## New Locales +* [#3416](https://github.com/moment/moment/pull/3416) [new locale] nl-be: Dutch (Belgium) locale +* [#3393](https://github.com/moment/moment/pull/3393) [new locale] ar-dz: Arabic (Algeria) locale +* [#3342](https://github.com/moment/moment/pull/3342) [new locale] tet: Tetun Dili (East Timor) locale + +And more locale, build and typescript improvements + +### 2.15.2 +* Release Oct 23, 2016 +* [#3525](https://github.com/moment/moment/pull/3525) Speedup month standalone/format regexes **(IMPORTANT)** +* [#3466](https://github.com/moment/moment/pull/3466) Fix typo of Javanese + +### 2.15.1 +* Release Sept 20, 2016 +* [#3438](https://github.com/moment/moment/pull/3438) Fix locale autoload, revert [#3344](https://github.com/moment/moment/pull/3344) + +### 2.15.0 [See full changelog](https://gist.github.com/ichernev/10e1c5bf647545c72ca30e9628a09ed3) +- Release Sept 12, 2016 + +## New Locales +* [#3255](https://github.com/moment/moment/pull/3255) [new locale] mi: Maori language +* [#3267](https://github.com/moment/moment/pull/3267) [new locale] ar-ly: Arabic (Libya) locale +* [#3333](https://github.com/moment/moment/pull/3333) [new locale] zh-hk: Chinese (Hong Kong) locale + +## Bugfixes +* [#3276](https://github.com/moment/moment/pull/3276) [bugfix] duration: parser: Support ms durations in .NET syntax +* [#3312](https://github.com/moment/moment/pull/3312) [bugfix] locales: Enable locale-data getters without moment (fixes [#3284](https://github.com/moment/moment/issues/3284)) +* [#3381](https://github.com/moment/moment/pull/3381) [bugfix] parsing: Fix parseZone without timezone in string, fixes [#3083](https://github.com/moment/moment/issues/3083) +* [#3383](https://github.com/moment/moment/pull/3383) [bugfix] toJSON: Fix isValid so that toJSON works after a moment is frozen +* [#3427](https://github.com/moment/moment/pull/3427) [bugfix] ie8: Fix IE8 (regression in 2.14.x) + +## Packaging +* [#3299](https://github.com/moment/moment/pull/3299) [pkg] npm: Do not include .npmignore in npm package +* [#3273](https://github.com/moment/moment/pull/3273) [pkg] jspm: Include moment.d.ts file in package +* [#3344](https://github.com/moment/moment/pull/3344) [pkg] exports: use module.require for nodejs + +Also some locale and typescript improvements + +### 2.14.1 +- Release July 20, 2016 +* [#3280](https://github.com/moment/moment/pull/3280) Fix typescript definitions + + +### 2.14.0 [See full changelog](https://gist.github.com/ichernev/812e79ac36a7829a22598fe964bfc18a) + +- Release July 20, 2016 + +## New Features +* [#3233](https://github.com/moment/moment/pull/3233) Introduce month.isFormat for format/standalone discovery +* [#2848](https://github.com/moment/moment/pull/2848) Allow user to get/set the rounding method used when calculating relative time +* [#3112](https://github.com/moment/moment/pull/3112) optimize configFromStringAndFormat +* [#3147](https://github.com/moment/moment/pull/3147) Call calendar format function with moment context +* [#3160](https://github.com/moment/moment/pull/3160) deprecate isDSTShifted +* [#3175](https://github.com/moment/moment/pull/3175) make moment calendar extensible with ad-hoc options +* [#3191](https://github.com/moment/moment/pull/3191) toDate returns a copy of the internal date object +* [#3192](https://github.com/moment/moment/pull/3192) Adding support for rollup import. +* [#3238](https://github.com/moment/moment/pull/3238) Handle empty object and empty array for creation as now +* [#3082](https://github.com/moment/moment/pull/3082) Use relative AMD moment dependency + +## Bugfixes +* [#3241](https://github.com/moment/moment/pull/3241) Escape all 24 mixed pieces, not only first 12 in computeMonthsParse +* [#3008](https://github.com/moment/moment/pull/3008) Object setter orders sets based on size of unit +* [#3177](https://github.com/moment/moment/pull/3177) Bug Fix [#2704](https://github.com/moment/moment/pull/2704) - isoWeekday(String) inconsistent with isoWeekday(Number) +* [#3230](https://github.com/moment/moment/pull/3230) fix passing date with format string to ignore format string +* [#3232](https://github.com/moment/moment/pull/3232) Fix negative 0 in certain diff cases +* [#3235](https://github.com/moment/moment/pull/3235) Use proper locale inheritance for the base locale, fixes [#3137](https://github.com/moment/moment/pull/3137) + +Plus es-do locale and locale bugfixes + +### 2.13.0 [See full changelog](https://gist.github.com/ichernev/0132fcf5b61f7fc140b0bb0090480d49) +- Release April 18, 2016 + +## Enhancements: +* [#2982](https://github.com/moment/moment/pull/2982) Add 'date' as alias to 'day' for startOf() and endOf(). +* [#2955](https://github.com/moment/moment/pull/2955) Add parsing negative components in durations when ISO 8601 +* [#2991](https://github.com/moment/moment/pull/2991) isBetween support for both open and closed intervals +* [#3105](https://github.com/moment/moment/pull/3105) Add localeSorted argument to weekday listers +* [#3102](https://github.com/moment/moment/pull/3102) Add k and kk formatting tokens + +## Bugfixes +* [#3109](https://github.com/moment/moment/pull/3109) Fix [#1756](https://github.com/moment/moment/issues/1756) Resolved thread-safe issue on server side. +* [#3078](https://github.com/moment/moment/pull/3078) Fix parsing for months/weekdays with weird characters +* [#3098](https://github.com/moment/moment/pull/3098) Use Z suffix when in UTC mode ([#3020](https://github.com/moment/moment/issues/3020)) +* [#2995](https://github.com/moment/moment/pull/2995) Fix floating point rounding errors in durations +* [#3059](https://github.com/moment/moment/pull/3059) fix bug where diff returns -0 in month-related diffs +* [#3045](https://github.com/moment/moment/pull/3045) Fix mistaking any input for 'a' token +* [#2877](https://github.com/moment/moment/pull/2877) Use explicit .valueOf() calls instead of coercion +* [#3036](https://github.com/moment/moment/pull/3036) Year setter should keep time when DST changes + +Plus 3 new locales and locale fixes. + +### 2.12.0 [See full changelog](https://gist.github.com/ichernev/6e5bfdf8d6522fc4ac73) + +- Release March 7, 2016 + +## Enhancements: +* [#2932](https://github.com/moment/moment/pull/2932) List loaded locales +* [#2818](https://github.com/moment/moment/pull/2818) Parse ISO-8061 duration containing both day and week values +* [#2774](https://github.com/moment/moment/pull/2774) Implement locale inheritance and locale updating + +## Bugfixes: +* [#2970](https://github.com/moment/moment/pull/2970) change add subtract to handle decimal values by rounding +* [#2887](https://github.com/moment/moment/pull/2887) Fix toJSON casting of invalid moment +* [#2897](https://github.com/moment/moment/pull/2897) parse string arguments for month() correctly, closes #2884 +* [#2946](https://github.com/moment/moment/pull/2946) Fix usage suggestions for min and max + +## New locales: +* [#2917](https://github.com/moment/moment/pull/2917) Locale Punjabi(Gurmukhi) India format conversion + +And more + +### 2.11.2 (Fix ReDoS attack vector) + +- Release February 7, 2016 + +* [#2939](https://github.com/moment/moment/pull/2939) use full-string match to speed up aspnet regex match + +### 2.11.1 [See full changelog](https://gist.github.com/ichernev/8ec3ee25b749b4cff3c2) + +- Release January 9, 2016 + +## Bugfixes: +* [#2881](https://github.com/moment/moment/pull/2881) Revert "Merge pull request #2746 from mbad0la:develop" Sep->Sept +* [#2868](https://github.com/moment/moment/pull/2868) Add format and parse token Y, so it actually works +* [#2865](https://github.com/moment/moment/pull/2865) Use typeof checks for undefined for global variables +* [#2858](https://github.com/moment/moment/pull/2858) Fix Date mocking regression introduced in 2.11.0 +* [#2864](https://github.com/moment/moment/pull/2864) Include changelog in npm release +* [#2830](https://github.com/moment/moment/pull/2830) dep: add grunt-cli +* [#2869](https://github.com/moment/moment/pull/2869) Fix months parsing for some locales + +### 2.11.0 [See full changelog](https://gist.github.com/ichernev/6594bc29719dde6b2f66) + +- Release January 4, 2016 + +* [#2624](https://github.com/moment/moment/pull/2624) Proper handling of invalid moments +* [#2634](https://github.com/moment/moment/pull/2634) Fix strict month parsing issue in cs,ru,sk +* [#2735](https://github.com/moment/moment/pull/2735) Reset the locale back to 'en' after defining all locales in min/locales.js +* [#2702](https://github.com/moment/moment/pull/2702) Week rework +* [#2746](https://github.com/moment/moment/pull/2746) Changed September Abbreviation to "Sept" in locale-specific english + files and default locale file +* [#2646](https://github.com/moment/moment/pull/2646) Fix [#2645](https://github.com/moment/moment/pull/2645) - invalid dates pre-1970 + +* [#2641](https://github.com/moment/moment/pull/2641) Implement basic format and comma as ms separator in ISO 8601 +* [#2665](https://github.com/moment/moment/pull/2665) Implement stricter weekday parsing +* [#2700](https://github.com/moment/moment/pull/2700) Add [Hh]mm and [Hh]mmss formatting tokens, so you can parse 123 with + hmm for example +* [#2565](https://github.com/moment/moment/pull/2565) [#2835](https://github.com/moment/moment/pull/2835) Expose arguments used for moment creation with creationData + (fix [#2443](https://github.com/moment/moment/pull/2443)) +* [#2648](https://github.com/moment/moment/pull/2648) fix issue [#2640](https://github.com/moment/moment/pull/2640): support instanceof operator +* [#2709](https://github.com/moment/moment/pull/2709) Add isSameOrAfter and isSameOrBefore comparison methods +* [#2721](https://github.com/moment/moment/pull/2721) Fix moment creation from object with strings values +* [#2740](https://github.com/moment/moment/pull/2740) Enable 'd hh:mm:ss.sss' format for durations +* [#2766](https://github.com/moment/moment/pull/2766) [#2833](https://github.com/moment/moment/pull/2833) Alternate Clock Source Support + +### 2.10.6 + +- Release July 28, 2015 + +[#2515](https://github.com/moment/moment/pull/2515) Fix regression introduced +in `2.10.5` related to `moment.ISO_8601` parsing. + +### 2.10.5 [See full changelog](https://gist.github.com/ichernev/6ec13ac7efc396da44b2) + +- Release July 26, 2015 + +Important changes: +* [#2357](https://github.com/moment/moment/pull/2357) Improve unit bubbling for ISO dates + this fixes day to year conversions to work around end-of-year (~365 days). As + a side effect 365 days is 11 months and 30 days, and 366 days is one year. +* [#2438](https://github.com/moment/moment/pull/2438) Fix inconsistent moment.min and moment.max results + Return invalid result if any of the inputs is invalid +* [#2494](https://github.com/moment/moment/pull/2494) Fix two digit year parsing with YYYY format + This brings the benefits of YY to YYYY +* [#2368](https://github.com/moment/moment/pull/2368) perf: use faster form of copying dates, across the board improvement + + +### 2.10.3 [See full changelog](https://gist.github.com/ichernev/f264b9bed5b00f8b1b7f) + +- Release May 13, 2015 + +* add `moment.fn.to` and `moment.fn.toNow` (similar to `from` and `fromNow`) +* new locales (Sinhalese (si), Montenegrin (me), Javanese (ja)) +* performance improvements + +### 2.10.2 + +- Release April 9, 2015 + +* fixed moment-with-locales in browser env caused by esperanto change + +### 2.10.1 + +* regression: Add moment.duration.fn back + +### 2.10.0 + +Ported code to es6 modules. + +### 2.9.0 [See full changelog](https://gist.github.com/ichernev/0c9a9b49951111a27ce7) + +- Release January 8, 2015 + +languages: +* [2104](https://github.com/moment/moment/issues/2104) Frisian (fy) language file with unit test +* [2097](https://github.com/moment/moment/issues/2097) add ar-tn locale + +deprecations: +* [2074](https://github.com/moment/moment/issues/2074) Implement `moment.fn.utcOffset`, deprecate `moment.fn.zone` + +features: +* [2088](https://github.com/moment/moment/issues/2088) add moment.fn.isBetween +* [2054](https://github.com/moment/moment/issues/2054) Call updateOffset when creating moment (needed for default timezone in + moment-timezone) +* [1893](https://github.com/moment/moment/issues/1893) Add moment.isDate method +* [1825](https://github.com/moment/moment/issues/1825) Implement toJSON function on Duration +* [1809](https://github.com/moment/moment/issues/1809) Allowing moment.set() to accept a hash of units +* [2128](https://github.com/moment/moment/issues/2128) Add firstDayOfWeek, firstDayOfYear locale getters +* [2131](https://github.com/moment/moment/issues/2131) Add quarter diff support + +Some bugfixes and language improvements -- [full changelog](https://gist.github.com/ichernev/0c9a9b49951111a27ce7) + +### 2.8.4 [See full changelog](https://gist.github.com/ichernev/a4fcb0a46d74e4b9b996) + +- Release November 19, 2014 + +Features: + +* [#2000](https://github.com/moment/moment/issues/2000) Add LTS localised format that includes seconds +* [#1960](https://github.com/moment/moment/issues/1960) added formatToken 'x' for unix offset in milliseconds #1938 +* [#1965](https://github.com/moment/moment/issues/1965) Support 24:00:00.000 to mean next day, at midnight. +* [#2002](https://github.com/moment/moment/issues/2002) Accept 'date' key when creating moment with object +* [#2009](https://github.com/moment/moment/issues/2009) Use native toISOString when we can + +Some bugfixes and language improvements -- [full changelog](https://gist.github.com/ichernev/a4fcb0a46d74e4b9b996) + +### 2.8.3 + +- Release September 5, 2014 + +Bugfixes: + +* [#1801](https://github.com/moment/moment/issues/1801) proper pluralization for Arabic +* [#1833](https://github.com/moment/moment/issues/1833) improve spm integration +* [#1871](https://github.com/moment/moment/issues/1871) fix zone bug caused by Firefox 24 +* [#1882](https://github.com/moment/moment/issues/1882) Use hh:mm in Czech +* [#1883](https://github.com/moment/moment/issues/1883) Fix 2.8.0 regression in duration as conversions +* [#1890](https://github.com/moment/moment/issues/1890) Faster travis builds +* [#1892](https://github.com/moment/moment/issues/1892) Faster isBefore/After/Same +* [#1848](https://github.com/moment/moment/issues/1848) Fix flaky month diffs +* [#1895](https://github.com/moment/moment/issues/1895) Fix 2.8.0 regression in moment.utc with format array +* [#1896](https://github.com/moment/moment/issues/1896) Support setting invalid instance locale (noop) +* [#1897](https://github.com/moment/moment/issues/1897) Support moment([str]) in addition to moment([int]) + +### 2.8.2 + +- Release August 22, 2014 + +Minor bugfixes: + +* [#1874](https://github.com/moment/moment/issues/1874) use `Object.prototype.hasOwnProperty` + instead of `obj.hasOwnProperty` (ie8 bug) +* [#1873](https://github.com/moment/moment/issues/1873) add `duration#toString()` +* [#1859](https://github.com/moment/moment/issues/1859) better month/weekday names in norwegian +* [#1812](https://github.com/moment/moment/issues/1812) meridiem parsing for greek +* [#1804](https://github.com/moment/moment/issues/1804) spanish del -> de +* [#1800](https://github.com/moment/moment/issues/1800) korean LT improvement + +### 2.8.1 + +- Release August 1, 2014 + +* bugfix [#1813](https://github.com/moment/moment/issues/1813): fix moment().lang([key]) incompatibility + +### 2.8.0 [See changelog](https://gist.github.com/ichernev/ac3899324a5fa6c8c9b4) + +- Release July 31, 2014 + +* incompatible changes + * [#1761](https://github.com/moment/moment/issues/1761): moments created without a language are no longer following the global language, in case it changes. Only newly created moments take the global language by default. In case you're affected by this, wait, comment on [#1797](https://github.com/moment/moment/issues/1797) and wait for a proper reimplementation + * [#1642](https://github.com/moment/moment/issues/1642): 45 days is no longer "a month" according to humanize, cutoffs for month, and year have changed. Hopefully your code does not depend on a particular answer from humanize (which it shouldn't anyway) + * [#1784](https://github.com/moment/moment/issues/1784): if you use the human readable English datetime format in a weird way (like storing them in a database) that would break when the format changes you're at risk. + +* deprecations (old behavior will be dropped in 3.0) + * [#1761](https://github.com/moment/moment/issues/1761) `lang` is renamed to `locale`, `langData` -> `localeData`. Also there is now `defineLocale` that should be used when creating new locales + * [#1763](https://github.com/moment/moment/issues/1763) `add(unit, value)` and `subtract(unit, value)` are now deprecated. Use `add(value, unit)` and `subtract(value, unit)` instead. + * [#1759](https://github.com/moment/moment/issues/1759) rename `duration.toIsoString` to `duration.toISOString`. The js standard library and moment's `toISOString` follow that convention. + +* new locales + * [#1789](https://github.com/moment/moment/issues/1789) Tibetan (bo) + * [#1786](https://github.com/moment/moment/issues/1786) Africaans (af) + * [#1778](https://github.com/moment/moment/issues/1778) Burmese (my) + * [#1727](https://github.com/moment/moment/issues/1727) Belarusian (be) + +* bugfixes, locale bugfixes, performance improvements, features + +### 2.7.0 [See changelog](https://gist.github.com/ichernev/b0a3d456d5a84c9901d7) + +- Release June 12, 2014 + +* new languages + + * [#1678](https://github.com/moment/moment/issues/1678) Bengali (bn) + * [#1628](https://github.com/moment/moment/issues/1628) Azerbaijani (az) + * [#1633](https://github.com/moment/moment/issues/1633) Arabic, Saudi Arabia (ar-sa) + * [#1648](https://github.com/moment/moment/issues/1648) Austrian German (de-at) + +* features + + * [#1663](https://github.com/moment/moment/issues/1663) configurable relative time thresholds + * [#1554](https://github.com/moment/moment/issues/1554) support anchor time in moment.calendar + * [#1693](https://github.com/moment/moment/issues/1693) support moment.ISO_8601 as parsing format + * [#1637](https://github.com/moment/moment/issues/1637) add moment.min and moment.max and deprecate min/max instance methods + * [#1704](https://github.com/moment/moment/issues/1704) support string value in add/subtract + * [#1647](https://github.com/moment/moment/issues/1647) add spm support (package manager) + +* bugfixes + +### 2.6.0 [See changelog](https://gist.github.com/ichernev/10544682) + +- Release April 12 , 2014 + +* languages + * [#1529](https://github.com/moment/moment/issues/1529) Serbian-Cyrillic (sr-cyr) + * [#1544](https://github.com/moment/moment/issues/1544), [#1546](https://github.com/moment/moment/issues/1546) Khmer Cambodia (km) + +* features + * [#1419](https://github.com/moment/moment/issues/1419), [#1468](https://github.com/moment/moment/issues/1468), [#1467](https://github.com/moment/moment/issues/1467), [#1546](https://github.com/moment/moment/issues/1546) better handling of timezone-d moments around DST + * [#1462](https://github.com/moment/moment/issues/1462) add weeksInYear and isoWeeksInYear + * [#1475](https://github.com/moment/moment/issues/1475) support ordinal parsing + * [#1499](https://github.com/moment/moment/issues/1499) composer support + * [#1577](https://github.com/moment/moment/issues/1577), [#1604](https://github.com/moment/moment/issues/1604) put Date parsing in moment.createFromInputFallback so it can be properly deprecated and controlled in the future + * [#1545](https://github.com/moment/moment/issues/1545) extract two-digit year parsing in moment.parseTwoDigitYear, so it can be overwritten + * [#1590](https://github.com/moment/moment/issues/1590) (see [#1574](https://github.com/moment/moment/issues/1574)) set AMD global before module definition to better support non AMD module dependencies used in AMD environment + * [#1589](https://github.com/moment/moment/issues/1589) remove global in Node.JS environment (was not working before, nobody complained, was scheduled for removal anyway) + * [#1586](https://github.com/moment/moment/issues/1586) support quarter setting and parsing + +* 18 bugs fixed + +### 2.5.1 + +- Release January 22, 2014 + +* languages + * [#1392](https://github.com/moment/moment/issues/1392) Armenian (hy-am) + +* bugfixes + * [#1429](https://github.com/moment/moment/issues/1429) fixes [#1423](https://github.com/moment/moment/issues/1423) weird chrome-32 bug with js object creation + * [#1421](https://github.com/moment/moment/issues/1421) remove html entities from Welsh + * [#1418](https://github.com/moment/moment/issues/1418) fixes [#1401](https://github.com/moment/moment/issues/1401) improved non-padded tokens in strict matching + * [#1417](https://github.com/moment/moment/issues/1417) fixes [#1404](https://github.com/moment/moment/issues/1404) handle buggy moment object created by property cloning + * [#1398](https://github.com/moment/moment/issues/1398) fixes [#1397](https://github.com/moment/moment/issues/1397) fix Arabic-like week number parsing + * [#1396](https://github.com/moment/moment/issues/1396) add leftZeroFill(4) to GGGG and gggg formats + * [#1373](https://github.com/moment/moment/issues/1373) use lowercase for months and days in Catalan + +* testing + * [#1374](https://github.com/moment/moment/issues/1374) run tests on multiple browser/os combos via SauceLabs and Travis + +### 2.5.0 [See changelog](https://gist.github.com/ichernev/8104451) + +- Release Dec 24, 2013 + +* New languages + * Luxemburish (lb) [1247](https://github.com/moment/moment/issues/1247) + * Serbian (rs) [1319](https://github.com/moment/moment/issues/1319) + * Tamil (ta) [1324](https://github.com/moment/moment/issues/1324) + * Macedonian (mk) [1337](https://github.com/moment/moment/issues/1337) + +* Features + * [1311](https://github.com/moment/moment/issues/1311) Add quarter getter and format token `Q` + * [1303](https://github.com/moment/moment/issues/1303) strict parsing now respects number of digits per token (fix [1196](https://github.com/moment/moment/issues/1196)) + * 0d30bb7 add jspm support + * [1347](https://github.com/moment/moment/issues/1347) improve zone parsing + * [1362](https://github.com/moment/moment/issues/1362) support merideam parsing in Korean + +* 22 bugfixes + +### 2.4.0 + +- Release Oct 27, 2013 + +* **Deprecate** globally exported moment, will be removed in next major +* New languages + * Farose (fo) [#1206](https://github.com/moment/moment/issues/1206) + * Tagalog/Filipino (tl-ph) [#1197](https://github.com/moment/moment/issues/1197) + * Welsh (cy) [#1215](https://github.com/moment/moment/issues/1215) +* Bugfixes + * properly handle Z at the end of iso RegExp [#1187](https://github.com/moment/moment/issues/1187) + * chinese meridian time improvements [#1076](https://github.com/moment/moment/issues/1076) + * fix language tests [#1177](https://github.com/moment/moment/issues/1177) + * remove some failing tests (that should have never existed :)) + [#1185](https://github.com/moment/moment/issues/1185) + [#1183](https://github.com/moment/moment/issues/1183) + * handle russian noun cases in weird cases [#1195](https://github.com/moment/moment/issues/1195) + +### 2.3.1 + +- Release Oct 9, 2013 + +Removed a trailing comma [1169] and fixed a bug with `months`, `weekdays` getters [#1171](https://github.com/moment/moment/issues/1171). + +### 2.3.0 [See changelog](https://gist.github.com/ichernev/6864354) + +- Release Oct 7, 2013 + +Changed isValid, added strict parsing. +Week tokens parsing. + +### 2.2.1 + +- Release Sep 12, 2013 + +Fixed bug in string prototype test. +Updated authors and contributors. + +### 2.2.0 [See changelog](https://gist.github.com/ichernev/00f837a9baf46a3565e4) + +- Release Sep 11, 2013 + +Added bower support. + +Language files now use UMD. + +Creating moment defaults to current date/month/year. + +Added a bundle of moment and all language files. + +### 2.1.0 [See changelog](https://gist.github.com/timrwood/b8c2d90d528eddb53ab5) + +- Release Jul 8, 2013 + +Added better week support. + +Added ability to set offset with `moment#zone`. + +Added ability to set month or weekday from a string. + +Added `moment#min` and `moment#max` + +### 2.0.0 [See changelog](https://gist.github.com/timrwood/e72f2eef320ed9e37c51) + +- Release Feb 9, 2013 + +Added short form localized tokens. + +Added ability to define language a string should be parsed in. + +Added support for reversed add/subtract arguments. + +Added support for `endOf('week')` and `startOf('week')`. + +Fixed the logic for `moment#diff(Moment, 'months')` and `moment#diff(Moment, 'years')` + +`moment#diff` now floors instead of rounds. + +Normalized `moment#toString`. + +Added `isSame`, `isAfter`, and `isBefore` methods. + +Added better week support. + +Added `moment#toJSON` + +Bugfix: Fixed parsing of first century dates + +Bugfix: Parsing 10Sep2001 should work as expected + +Bugfix: Fixed weirdness with `moment.utc()` parsing. + +Changed language ordinal method to return the number + ordinal instead of just the ordinal. + +Changed two digit year parsing cutoff to match strptime. + +Removed `moment#sod` and `moment#eod` in favor of `moment#startOf` and `moment#endOf`. + +Removed `moment.humanizeDuration()` in favor of `moment.duration().humanize()`. + +Removed the lang data objects from the top level namespace. + +Duplicate `Date` passed to `moment()` instead of referencing it. + +### 1.7.2 [See discussion](https://github.com/timrwood/moment/issues/456) + +- Release Oct 2, 2012 + +Bugfixes + +### 1.7.1 [See discussion](https://github.com/timrwood/moment/issues/384) + +- Release Oct 1, 2012 + +Bugfixes + +### 1.7.0 [See discussion](https://github.com/timrwood/moment/issues/288) + +- Release Jul 26, 2012 + +Added `moment.fn.endOf()` and `moment.fn.startOf()`. + +Added validation via `moment.fn.isValid()`. + +Made formatting method 3x faster. http://jsperf.com/momentjs-cached-format-functions + +Add support for month/weekday callbacks in `moment.fn.format()` + +Added instance specific languages. + +Added two letter weekday abbreviations with the formatting token `dd`. + +Various language updates. + +Various bugfixes. + +### 1.6.0 [See discussion](https://github.com/timrwood/moment/pull/268) + +- Release Apr 26, 2012 + +Added Durations. + +Revamped parser to support parsing non-separated strings (YYYYMMDD vs YYYY-MM-DD). + +Added support for millisecond parsing and formatting tokens (S SS SSS) + +Added a getter for `moment.lang()` + +Various bugfixes. + +There are a few things deprecated in the 1.6.0 release. + +1. The format tokens `z` and `zz` (timezone abbreviations like EST CST MST etc) will no longer be supported. Due to inconsistent browser support, we are unable to consistently produce this value. See [this issue](https://github.com/timrwood/moment/issues/162) for more background. + +2. The method `moment.fn.native` is deprecated in favor of `moment.fn.toDate`. There continue to be issues with Google Closure Compiler throwing errors when using `native`, even in valid instances. + +3. The way to customize am/pm strings is being changed. This would only affect you if you created a custom language file. For more information, see [this issue](https://github.com/timrwood/moment/pull/222). + +### 1.5.0 [See milestone](https://github.com/timrwood/moment/issues?milestone=10&page=1&state=closed) + +- Release Mar 20, 2012 + +Added UTC mode. + +Added automatic ISO8601 parsing. + +Various bugfixes. + +### 1.4.0 [See milestone](https://github.com/timrwood/moment/issues?milestone=8&state=closed) + +- Release Feb 4, 2012 + +Added `moment.fn.toDate` as a replacement for `moment.fn.native`. + +Added `moment.fn.sod` and `moment.fn.eod` to get the start and end of day. + +Various bugfixes. + +### 1.3.0 [See milestone](https://github.com/timrwood/moment/issues?milestone=7&state=closed) + +- Release Jan 5, 2012 + +Added support for parsing month names in the current language. + +Added escape blocks for parsing tokens. + +Added `moment.fn.calendar` to format strings like 'Today 2:30 PM', 'Tomorrow 1:25 AM', and 'Last Sunday 4:30 AM'. + +Added `moment.fn.day` as a setter. + +Various bugfixes + +### 1.2.0 [See milestone](https://github.com/timrwood/moment/issues?milestone=4&state=closed) + +- Release Dec 7, 2011 + +Added timezones to parser and formatter. + +Added `moment.fn.isDST`. + +Added `moment.fn.zone` to get the timezone offset in minutes. + +### 1.1.2 [See milestone](https://github.com/timrwood/moment/issues?milestone=6&state=closed) + +- Release Nov 18, 2011 + +Various bugfixes + +### 1.1.1 [See milestone](https://github.com/timrwood/moment/issues?milestone=5&state=closed) + +- Release Nov 12, 2011 + +Added time specific diffs (months, days, hours, etc) + +### 1.1.0 + +- Release Oct 28, 2011 + +Added `moment.fn.format` localized masks. 'L LL LLL LLLL' [issue 29](https://github.com/timrwood/moment/pull/29) + +Fixed [issue 31](https://github.com/timrwood/moment/pull/31). + +### 1.0.1 + +- Release Oct 18, 2011 + +Added `moment.version` to get the current version. + +Removed `window !== undefined` when checking if module exists to support browserify. [issue 25](https://github.com/timrwood/moment/pull/25) + +### 1.0.0 + +- Release + +Added convenience methods for getting and setting date parts. + +Added better support for `moment.add()`. + +Added better lang support in NodeJS. + +Renamed library from underscore.date to Moment.js + +### 0.6.1 + +- Release Oct 12, 2011 + +Added Portuguese, Italian, and French language support + +### 0.6.0 + +- Release Sep 21, 2011 + +Added _date.lang() support. +Added support for passing multiple formats to try to parse a date. _date("07-10-1986", ["MM-DD-YYYY", "YYYY-MM-DD"]); +Made parse from string and single format 25% faster. + +### 0.5.2 + +- Release Jul 11, 2011 + +Bugfix for [issue 8](https://github.com/timrwood/underscore.date/pull/8) and [issue 9](https://github.com/timrwood/underscore.date/pull/9). + +### 0.5.1 + +- Release Jun 17, 2011 + +Bugfix for [issue 5](https://github.com/timrwood/underscore.date/pull/5). + +### 0.5.0 + +- Release Jun 13, 2011 + +Dropped the redundant `_date.date()` in favor of `_date()`. +Removed `_date.now()`, as it is a duplicate of `_date()` with no parameters. +Removed `_date.isLeapYear(yearNumber)`. Use `_date([yearNumber]).isLeapYear()` instead. +Exposed customization options through the `_date.relativeTime`, `_date.weekdays`, `_date.weekdaysShort`, `_date.months`, `_date.monthsShort`, and `_date.ordinal` variables instead of the `_date.customize()` function. + +### 0.4.1 + +- Release May 9, 2011 + +Added date input formats for input strings. + +### 0.4.0 + +- Release May 9, 2011 + +Added underscore.date to npm. Removed dependencies on underscore. + +### 0.3.2 + +- Release Apr 9, 2011 + +Added `'z'` and `'zz'` to `_.date().format()`. Cleaned up some redundant code to trim off some bytes. + +### 0.3.1 + +- Release Mar 25, 2011 + +Cleaned up the namespace. Moved all date manipulation and display functions to the _.date() object. + +### 0.3.0 + +- Release Mar 25, 2011 + +Switched to the Underscore methodology of not mucking with the native objects' prototypes. +Made chaining possible. + +### 0.2.1 + +- Release + +Changed date names to be a more pseudo standardized 'dddd, MMMM Do YYYY, h:mm:ss a'. +Added `Date.prototype` functions `add`, `subtract`, `isdst`, and `isleapyear`. + +### 0.2.0 + +- Release + +Changed function names to be more concise. +Changed date format from php date format to custom format. + +### 0.1.0 + +- Release + +Initial release + diff --git a/node_modules/moment/LICENSE b/node_modules/moment/LICENSE new file mode 100644 index 0000000..8618b73 --- /dev/null +++ b/node_modules/moment/LICENSE @@ -0,0 +1,22 @@ +Copyright (c) JS Foundation and other contributors + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/moment/README.md b/node_modules/moment/README.md new file mode 100644 index 0000000..38e61bb --- /dev/null +++ b/node_modules/moment/README.md @@ -0,0 +1,55 @@ +# [Moment.js](http://momentjs.com/) + +[![NPM version][npm-version-image]][npm-url] +[![NPM downloads][npm-downloads-image]][npm-downloads-url] +[![MIT License][license-image]][license-url] +[![Build Status][travis-image]][travis-url] +[![Coverage Status][coveralls-image]][coveralls-url] +[![FOSSA Status][fossa-badge-image]][fossa-badge-url] +[![SemVer compatibility][semver-image]][semver-url] + +A JavaScript date library for parsing, validating, manipulating, and formatting dates. + +## Project Status + +Moment.js is a legacy project, now in maintenance mode. In most cases, you should choose a different library. + +For more details and recommendations, please see [Project Status](https://momentjs.com/docs/#/-project-status/) in the docs. + +*Thank you.* + +## Resources + +- [Documentation](https://momentjs.com/docs/) +- [Changelog](CHANGELOG.md) +- [Stack Overflow](https://stackoverflow.com/questions/tagged/momentjs) + +## License + +Moment.js is freely distributable under the terms of the [MIT license][license-url]. + +[![FOSSA Status][fossa-large-image]][fossa-large-url] + +[license-image]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat +[license-url]: LICENSE + +[npm-url]: https://npmjs.org/package/moment +[npm-version-image]: https://img.shields.io/npm/v/moment.svg?style=flat + +[npm-downloads-image]: https://img.shields.io/npm/dm/moment.svg?style=flat +[npm-downloads-url]: https://npmcharts.com/compare/moment?minimal=true + +[travis-url]: https://travis-ci.org/moment/moment +[travis-image]: https://img.shields.io/travis/moment/moment/develop.svg?style=flat + +[coveralls-image]: https://coveralls.io/repos/moment/moment/badge.svg?branch=develop +[coveralls-url]: https://coveralls.io/r/moment/moment?branch=develop + +[fossa-badge-image]: https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment.svg?type=shield +[fossa-badge-url]: https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment?ref=badge_shield + +[fossa-large-image]: https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment.svg?type=large +[fossa-large-url]: https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment?ref=badge_large + +[semver-image]: https://api.dependabot.com/badges/compatibility_score?dependency-name=moment&package-manager=npm_and_yarn&version-scheme=semver +[semver-url]: https://dependabot.com/compatibility-score.html?dependency-name=moment&package-manager=npm_and_yarn&version-scheme=semver diff --git a/node_modules/moment/dist/locale/af.js b/node_modules/moment/dist/locale/af.js new file mode 100644 index 0000000..374d853 --- /dev/null +++ b/node_modules/moment/dist/locale/af.js @@ -0,0 +1,71 @@ +//! moment.js locale configuration +//! locale : Afrikaans [af] +//! author : Werner Mollentze : https://github.com/wernerm + +import moment from '../moment'; + +export default moment.defineLocale('af', { + months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'), + weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split( + '_' + ), + weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'), + weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'), + meridiemParse: /vm|nm/i, + isPM: function (input) { + return /^nm$/i.test(input); + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'vm' : 'VM'; + } else { + return isLower ? 'nm' : 'NM'; + } + }, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Vandag om] LT', + nextDay: '[Môre om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[Gister om] LT', + lastWeek: '[Laas] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'oor %s', + past: '%s gelede', + s: "'n paar sekondes", + ss: '%d sekondes', + m: "'n minuut", + mm: '%d minute', + h: "'n uur", + hh: '%d ure', + d: "'n dag", + dd: '%d dae', + M: "'n maand", + MM: '%d maande', + y: "'n jaar", + yy: '%d jaar', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); // Thanks to Joris Röling : https://github.com/jjupiter + }, + week: { + dow: 1, // Maandag is die eerste dag van die week. + doy: 4, // Die week wat die 4de Januarie bevat is die eerste week van die jaar. + }, +}); diff --git a/node_modules/moment/dist/locale/ar-dz.js b/node_modules/moment/dist/locale/ar-dz.js new file mode 100644 index 0000000..61a41e7 --- /dev/null +++ b/node_modules/moment/dist/locale/ar-dz.js @@ -0,0 +1,156 @@ +//! moment.js locale configuration +//! locale : Arabic (Algeria) [ar-dz] +//! author : Amine Roukh: https://github.com/Amine27 +//! author : Abdel Said: https://github.com/abdelsaid +//! author : Ahmed Elkhatib +//! author : forabi https://github.com/forabi +//! author : Noureddine LOUAHEDJ : https://github.com/noureddinem + +import moment from '../moment'; + +var pluralForm = function (n) { + return n === 0 + ? 0 + : n === 1 + ? 1 + : n === 2 + ? 2 + : n % 100 >= 3 && n % 100 <= 10 + ? 3 + : n % 100 >= 11 + ? 4 + : 5; + }, + plurals = { + s: [ + 'أقل من ثانية', + 'ثانية واحدة', + ['ثانيتان', 'ثانيتين'], + '%d ثوان', + '%d ثانية', + '%d ثانية', + ], + m: [ + 'أقل من دقيقة', + 'دقيقة واحدة', + ['دقيقتان', 'دقيقتين'], + '%d دقائق', + '%d دقيقة', + '%d دقيقة', + ], + h: [ + 'أقل من ساعة', + 'ساعة واحدة', + ['ساعتان', 'ساعتين'], + '%d ساعات', + '%d ساعة', + '%d ساعة', + ], + d: [ + 'أقل من يوم', + 'يوم واحد', + ['يومان', 'يومين'], + '%d أيام', + '%d يومًا', + '%d يوم', + ], + M: [ + 'أقل من شهر', + 'شهر واحد', + ['شهران', 'شهرين'], + '%d أشهر', + '%d شهرا', + '%d شهر', + ], + y: [ + 'أقل من عام', + 'عام واحد', + ['عامان', 'عامين'], + '%d أعوام', + '%d عامًا', + '%d عام', + ], + }, + pluralize = function (u) { + return function (number, withoutSuffix, string, isFuture) { + var f = pluralForm(number), + str = plurals[u][pluralForm(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }, + months = [ + 'جانفي', + 'فيفري', + 'مارس', + 'أفريل', + 'ماي', + 'جوان', + 'جويلية', + 'أوت', + 'سبتمبر', + 'أكتوبر', + 'نوفمبر', + 'ديسمبر', + ]; + +export default moment.defineLocale('ar-dz', { + months: months, + monthsShort: months, + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/\u200FM/\u200FYYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم عند الساعة] LT', + nextDay: '[غدًا عند الساعة] LT', + nextWeek: 'dddd [عند الساعة] LT', + lastDay: '[أمس عند الساعة] LT', + lastWeek: 'dddd [عند الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'بعد %s', + past: 'منذ %s', + s: pluralize('s'), + ss: pluralize('s'), + m: pluralize('m'), + mm: pluralize('m'), + h: pluralize('h'), + hh: pluralize('h'), + d: pluralize('d'), + dd: pluralize('d'), + M: pluralize('M'), + MM: pluralize('M'), + y: pluralize('y'), + yy: pluralize('y'), + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ar-kw.js b/node_modules/moment/dist/locale/ar-kw.js new file mode 100644 index 0000000..c2b0f87 --- /dev/null +++ b/node_modules/moment/dist/locale/ar-kw.js @@ -0,0 +1,55 @@ +//! moment.js locale configuration +//! locale : Arabic (Kuwait) [ar-kw] +//! author : Nusret Parlak: https://github.com/nusretparlak + +import moment from '../moment'; + +export default moment.defineLocale('ar-kw', { + months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_' + ), + monthsShort: + 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_' + ), + weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ar-ly.js b/node_modules/moment/dist/locale/ar-ly.js new file mode 100644 index 0000000..88d5ef5 --- /dev/null +++ b/node_modules/moment/dist/locale/ar-ly.js @@ -0,0 +1,171 @@ +//! moment.js locale configuration +//! locale : Arabic (Libya) [ar-ly] +//! author : Ali Hmer: https://github.com/kikoanis + +import moment from '../moment'; + +var symbolMap = { + 1: '1', + 2: '2', + 3: '3', + 4: '4', + 5: '5', + 6: '6', + 7: '7', + 8: '8', + 9: '9', + 0: '0', + }, + pluralForm = function (n) { + return n === 0 + ? 0 + : n === 1 + ? 1 + : n === 2 + ? 2 + : n % 100 >= 3 && n % 100 <= 10 + ? 3 + : n % 100 >= 11 + ? 4 + : 5; + }, + plurals = { + s: [ + 'أقل من ثانية', + 'ثانية واحدة', + ['ثانيتان', 'ثانيتين'], + '%d ثوان', + '%d ثانية', + '%d ثانية', + ], + m: [ + 'أقل من دقيقة', + 'دقيقة واحدة', + ['دقيقتان', 'دقيقتين'], + '%d دقائق', + '%d دقيقة', + '%d دقيقة', + ], + h: [ + 'أقل من ساعة', + 'ساعة واحدة', + ['ساعتان', 'ساعتين'], + '%d ساعات', + '%d ساعة', + '%d ساعة', + ], + d: [ + 'أقل من يوم', + 'يوم واحد', + ['يومان', 'يومين'], + '%d أيام', + '%d يومًا', + '%d يوم', + ], + M: [ + 'أقل من شهر', + 'شهر واحد', + ['شهران', 'شهرين'], + '%d أشهر', + '%d شهرا', + '%d شهر', + ], + y: [ + 'أقل من عام', + 'عام واحد', + ['عامان', 'عامين'], + '%d أعوام', + '%d عامًا', + '%d عام', + ], + }, + pluralize = function (u) { + return function (number, withoutSuffix, string, isFuture) { + var f = pluralForm(number), + str = plurals[u][pluralForm(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }, + months = [ + 'يناير', + 'فبراير', + 'مارس', + 'أبريل', + 'مايو', + 'يونيو', + 'يوليو', + 'أغسطس', + 'سبتمبر', + 'أكتوبر', + 'نوفمبر', + 'ديسمبر', + ]; + +export default moment.defineLocale('ar-ly', { + months: months, + monthsShort: months, + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/\u200FM/\u200FYYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم عند الساعة] LT', + nextDay: '[غدًا عند الساعة] LT', + nextWeek: 'dddd [عند الساعة] LT', + lastDay: '[أمس عند الساعة] LT', + lastWeek: 'dddd [عند الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'بعد %s', + past: 'منذ %s', + s: pluralize('s'), + ss: pluralize('s'), + m: pluralize('m'), + mm: pluralize('m'), + h: pluralize('h'), + hh: pluralize('h'), + d: pluralize('d'), + dd: pluralize('d'), + M: pluralize('M'), + MM: pluralize('M'), + y: pluralize('y'), + yy: pluralize('y'), + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ar-ma.js b/node_modules/moment/dist/locale/ar-ma.js new file mode 100644 index 0000000..4010aa0 --- /dev/null +++ b/node_modules/moment/dist/locale/ar-ma.js @@ -0,0 +1,56 @@ +//! moment.js locale configuration +//! locale : Arabic (Morocco) [ar-ma] +//! author : ElFadili Yassine : https://github.com/ElFadiliY +//! author : Abdel Said : https://github.com/abdelsaid + +import moment from '../moment'; + +export default moment.defineLocale('ar-ma', { + months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_' + ), + monthsShort: + 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_' + ), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ar-ps.js b/node_modules/moment/dist/locale/ar-ps.js new file mode 100644 index 0000000..143da7d --- /dev/null +++ b/node_modules/moment/dist/locale/ar-ps.js @@ -0,0 +1,112 @@ +//! moment.js locale configuration +//! locale : Arabic (Palestine) [ar-ps] +//! author : Majd Al-Shihabi : https://github.com/majdal + +import moment from '../moment'; + +var symbolMap = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }; + +export default moment.defineLocale('ar-ps', { + months: 'كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل'.split( + '_' + ), + monthsShort: + 'ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١'.split('_'), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + preparse: function (string) { + return string + .replace(/[٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }) + .split('') // reversed since negative lookbehind not supported everywhere + .reverse() + .join('') + .replace(/[١٢](?![\u062a\u0643])/g, function (match) { + return numberMap[match]; + }) + .split('') + .reverse() + .join('') + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ar-sa.js b/node_modules/moment/dist/locale/ar-sa.js new file mode 100644 index 0000000..4505ea1 --- /dev/null +++ b/node_modules/moment/dist/locale/ar-sa.js @@ -0,0 +1,105 @@ +//! moment.js locale configuration +//! locale : Arabic (Saudi Arabia) [ar-sa] +//! author : Suhail Alkowaileet : https://github.com/xsoh + +import moment from '../moment'; + +var symbolMap = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }; + +export default moment.defineLocale('ar-sa', { + months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_' + ), + monthsShort: + 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_' + ), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + preparse: function (string) { + return string + .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }) + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ar-tn.js b/node_modules/moment/dist/locale/ar-tn.js new file mode 100644 index 0000000..0f416ae --- /dev/null +++ b/node_modules/moment/dist/locale/ar-tn.js @@ -0,0 +1,55 @@ +//! moment.js locale configuration +//! locale : Arabic (Tunisia) [ar-tn] +//! author : Nader Toukabri : https://github.com/naderio + +import moment from '../moment'; + +export default moment.defineLocale('ar-tn', { + months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_' + ), + monthsShort: + 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_' + ), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ar.js b/node_modules/moment/dist/locale/ar.js new file mode 100644 index 0000000..846e491 --- /dev/null +++ b/node_modules/moment/dist/locale/ar.js @@ -0,0 +1,189 @@ +//! moment.js locale configuration +//! locale : Arabic [ar] +//! author : Abdel Said: https://github.com/abdelsaid +//! author : Ahmed Elkhatib +//! author : forabi https://github.com/forabi + +import moment from '../moment'; + +var symbolMap = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }, + pluralForm = function (n) { + return n === 0 + ? 0 + : n === 1 + ? 1 + : n === 2 + ? 2 + : n % 100 >= 3 && n % 100 <= 10 + ? 3 + : n % 100 >= 11 + ? 4 + : 5; + }, + plurals = { + s: [ + 'أقل من ثانية', + 'ثانية واحدة', + ['ثانيتان', 'ثانيتين'], + '%d ثوان', + '%d ثانية', + '%d ثانية', + ], + m: [ + 'أقل من دقيقة', + 'دقيقة واحدة', + ['دقيقتان', 'دقيقتين'], + '%d دقائق', + '%d دقيقة', + '%d دقيقة', + ], + h: [ + 'أقل من ساعة', + 'ساعة واحدة', + ['ساعتان', 'ساعتين'], + '%d ساعات', + '%d ساعة', + '%d ساعة', + ], + d: [ + 'أقل من يوم', + 'يوم واحد', + ['يومان', 'يومين'], + '%d أيام', + '%d يومًا', + '%d يوم', + ], + M: [ + 'أقل من شهر', + 'شهر واحد', + ['شهران', 'شهرين'], + '%d أشهر', + '%d شهرا', + '%d شهر', + ], + y: [ + 'أقل من عام', + 'عام واحد', + ['عامان', 'عامين'], + '%d أعوام', + '%d عامًا', + '%d عام', + ], + }, + pluralize = function (u) { + return function (number, withoutSuffix, string, isFuture) { + var f = pluralForm(number), + str = plurals[u][pluralForm(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }, + months = [ + 'يناير', + 'فبراير', + 'مارس', + 'أبريل', + 'مايو', + 'يونيو', + 'يوليو', + 'أغسطس', + 'سبتمبر', + 'أكتوبر', + 'نوفمبر', + 'ديسمبر', + ]; + +export default moment.defineLocale('ar', { + months: months, + monthsShort: months, + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/\u200FM/\u200FYYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم عند الساعة] LT', + nextDay: '[غدًا عند الساعة] LT', + nextWeek: 'dddd [عند الساعة] LT', + lastDay: '[أمس عند الساعة] LT', + lastWeek: 'dddd [عند الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'بعد %s', + past: 'منذ %s', + s: pluralize('s'), + ss: pluralize('s'), + m: pluralize('m'), + mm: pluralize('m'), + h: pluralize('h'), + hh: pluralize('h'), + d: pluralize('d'), + dd: pluralize('d'), + M: pluralize('M'), + MM: pluralize('M'), + y: pluralize('y'), + yy: pluralize('y'), + }, + preparse: function (string) { + return string + .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }) + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/az.js b/node_modules/moment/dist/locale/az.js new file mode 100644 index 0000000..2e06aa1 --- /dev/null +++ b/node_modules/moment/dist/locale/az.js @@ -0,0 +1,102 @@ +//! moment.js locale configuration +//! locale : Azerbaijani [az] +//! author : topchiyev : https://github.com/topchiyev + +import moment from '../moment'; + +var suffixes = { + 1: '-inci', + 5: '-inci', + 8: '-inci', + 70: '-inci', + 80: '-inci', + 2: '-nci', + 7: '-nci', + 20: '-nci', + 50: '-nci', + 3: '-üncü', + 4: '-üncü', + 100: '-üncü', + 6: '-ncı', + 9: '-uncu', + 10: '-uncu', + 30: '-uncu', + 60: '-ıncı', + 90: '-ıncı', +}; + +export default moment.defineLocale('az', { + months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split( + '_' + ), + monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'), + weekdays: + 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split( + '_' + ), + weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'), + weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[bugün saat] LT', + nextDay: '[sabah saat] LT', + nextWeek: '[gələn həftə] dddd [saat] LT', + lastDay: '[dünən] LT', + lastWeek: '[keçən həftə] dddd [saat] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s sonra', + past: '%s əvvəl', + s: 'bir neçə saniyə', + ss: '%d saniyə', + m: 'bir dəqiqə', + mm: '%d dəqiqə', + h: 'bir saat', + hh: '%d saat', + d: 'bir gün', + dd: '%d gün', + M: 'bir ay', + MM: '%d ay', + y: 'bir il', + yy: '%d il', + }, + meridiemParse: /gecə|səhər|gündüz|axşam/, + isPM: function (input) { + return /^(gündüz|axşam)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'gecə'; + } else if (hour < 12) { + return 'səhər'; + } else if (hour < 17) { + return 'gündüz'; + } else { + return 'axşam'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/, + ordinal: function (number) { + if (number === 0) { + // special case for zero + return number + '-ıncı'; + } + var a = number % 10, + b = (number % 100) - a, + c = number >= 100 ? 100 : null; + return number + (suffixes[a] || suffixes[b] || suffixes[c]); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/be.js b/node_modules/moment/dist/locale/be.js new file mode 100644 index 0000000..39e97a2 --- /dev/null +++ b/node_modules/moment/dist/locale/be.js @@ -0,0 +1,142 @@ +//! moment.js locale configuration +//! locale : Belarusian [be] +//! author : Dmitry Demidov : https://github.com/demidov91 +//! author: Praleska: http://praleska.pro/ +//! Author : Menelion Elensúle : https://github.com/Oire + +import moment from '../moment'; + +function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 + ? forms[0] + : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) + ? forms[1] + : forms[2]; +} +function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд', + mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін', + hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін', + dd: 'дзень_дні_дзён', + MM: 'месяц_месяцы_месяцаў', + yy: 'год_гады_гадоў', + }; + if (key === 'm') { + return withoutSuffix ? 'хвіліна' : 'хвіліну'; + } else if (key === 'h') { + return withoutSuffix ? 'гадзіна' : 'гадзіну'; + } else { + return number + ' ' + plural(format[key], +number); + } +} + +export default moment.defineLocale('be', { + months: { + format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split( + '_' + ), + standalone: + 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split( + '_' + ), + }, + monthsShort: + 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'), + weekdays: { + format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split( + '_' + ), + standalone: + 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split( + '_' + ), + isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/, + }, + weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'), + weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY г.', + LLL: 'D MMMM YYYY г., HH:mm', + LLLL: 'dddd, D MMMM YYYY г., HH:mm', + }, + calendar: { + sameDay: '[Сёння ў] LT', + nextDay: '[Заўтра ў] LT', + lastDay: '[Учора ў] LT', + nextWeek: function () { + return '[У] dddd [ў] LT'; + }, + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 5: + case 6: + return '[У мінулую] dddd [ў] LT'; + case 1: + case 2: + case 4: + return '[У мінулы] dddd [ў] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'праз %s', + past: '%s таму', + s: 'некалькі секунд', + m: relativeTimeWithPlural, + mm: relativeTimeWithPlural, + h: relativeTimeWithPlural, + hh: relativeTimeWithPlural, + d: 'дзень', + dd: relativeTimeWithPlural, + M: 'месяц', + MM: relativeTimeWithPlural, + y: 'год', + yy: relativeTimeWithPlural, + }, + meridiemParse: /ночы|раніцы|дня|вечара/, + isPM: function (input) { + return /^(дня|вечара)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ночы'; + } else if (hour < 12) { + return 'раніцы'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечара'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + case 'w': + case 'W': + return (number % 10 === 2 || number % 10 === 3) && + number % 100 !== 12 && + number % 100 !== 13 + ? number + '-і' + : number + '-ы'; + case 'D': + return number + '-га'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/bg.js b/node_modules/moment/dist/locale/bg.js new file mode 100644 index 0000000..e8b060f --- /dev/null +++ b/node_modules/moment/dist/locale/bg.js @@ -0,0 +1,87 @@ +//! moment.js locale configuration +//! locale : Bulgarian [bg] +//! author : Krasen Borisov : https://github.com/kraz + +import moment from '../moment'; + +export default moment.defineLocale('bg', { + months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split( + '_' + ), + monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'), + weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split( + '_' + ), + weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'), + weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[Днес в] LT', + nextDay: '[Утре в] LT', + nextWeek: 'dddd [в] LT', + lastDay: '[Вчера в] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 6: + return '[Миналата] dddd [в] LT'; + case 1: + case 2: + case 4: + case 5: + return '[Миналия] dddd [в] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'след %s', + past: 'преди %s', + s: 'няколко секунди', + ss: '%d секунди', + m: 'минута', + mm: '%d минути', + h: 'час', + hh: '%d часа', + d: 'ден', + dd: '%d дена', + w: 'седмица', + ww: '%d седмици', + M: 'месец', + MM: '%d месеца', + y: 'година', + yy: '%d години', + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, + ordinal: function (number) { + var lastDigit = number % 10, + last2Digits = number % 100; + if (number === 0) { + return number + '-ев'; + } else if (last2Digits === 0) { + return number + '-ен'; + } else if (last2Digits > 10 && last2Digits < 20) { + return number + '-ти'; + } else if (lastDigit === 1) { + return number + '-ви'; + } else if (lastDigit === 2) { + return number + '-ри'; + } else if (lastDigit === 7 || lastDigit === 8) { + return number + '-ми'; + } else { + return number + '-ти'; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/bm.js b/node_modules/moment/dist/locale/bm.js new file mode 100644 index 0000000..037d018 --- /dev/null +++ b/node_modules/moment/dist/locale/bm.js @@ -0,0 +1,52 @@ +//! moment.js locale configuration +//! locale : Bambara [bm] +//! author : Estelle Comment : https://github.com/estellecomment +// Language contact person : Abdoufata Kane : https://github.com/abdoufata + +import moment from '../moment'; + +export default moment.defineLocale('bm', { + months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split( + '_' + ), + monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'), + weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'), + weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'), + weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'MMMM [tile] D [san] YYYY', + LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm', + LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm', + }, + calendar: { + sameDay: '[Bi lɛrɛ] LT', + nextDay: '[Sini lɛrɛ] LT', + nextWeek: 'dddd [don lɛrɛ] LT', + lastDay: '[Kunu lɛrɛ] LT', + lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s kɔnɔ', + past: 'a bɛ %s bɔ', + s: 'sanga dama dama', + ss: 'sekondi %d', + m: 'miniti kelen', + mm: 'miniti %d', + h: 'lɛrɛ kelen', + hh: 'lɛrɛ %d', + d: 'tile kelen', + dd: 'tile %d', + M: 'kalo kelen', + MM: 'kalo %d', + y: 'san kelen', + yy: 'san %d', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/bn-bd.js b/node_modules/moment/dist/locale/bn-bd.js new file mode 100644 index 0000000..054f44f --- /dev/null +++ b/node_modules/moment/dist/locale/bn-bd.js @@ -0,0 +1,129 @@ +//! moment.js locale configuration +//! locale : Bengali (Bangladesh) [bn-bd] +//! author : Asraf Hossain Patoary : https://github.com/ashwoolford + +import moment from '../moment'; + +var symbolMap = { + 1: '১', + 2: '২', + 3: '৩', + 4: '৪', + 5: '৫', + 6: '৬', + 7: '৭', + 8: '৮', + 9: '৯', + 0: '০', + }, + numberMap = { + '১': '1', + '২': '2', + '৩': '3', + '৪': '4', + '৫': '5', + '৬': '6', + '৭': '7', + '৮': '8', + '৯': '9', + '০': '0', + }; + +export default moment.defineLocale('bn-bd', { + months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split( + '_' + ), + monthsShort: + 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split( + '_' + ), + weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split( + '_' + ), + weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'), + weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'), + longDateFormat: { + LT: 'A h:mm সময়', + LTS: 'A h:mm:ss সময়', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm সময়', + LLLL: 'dddd, D MMMM YYYY, A h:mm সময়', + }, + calendar: { + sameDay: '[আজ] LT', + nextDay: '[আগামীকাল] LT', + nextWeek: 'dddd, LT', + lastDay: '[গতকাল] LT', + lastWeek: '[গত] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s পরে', + past: '%s আগে', + s: 'কয়েক সেকেন্ড', + ss: '%d সেকেন্ড', + m: 'এক মিনিট', + mm: '%d মিনিট', + h: 'এক ঘন্টা', + hh: '%d ঘন্টা', + d: 'এক দিন', + dd: '%d দিন', + M: 'এক মাস', + MM: '%d মাস', + y: 'এক বছর', + yy: '%d বছর', + }, + preparse: function (string) { + return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + + meridiemParse: /রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'রাত') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ভোর') { + return hour; + } else if (meridiem === 'সকাল') { + return hour; + } else if (meridiem === 'দুপুর') { + return hour >= 3 ? hour : hour + 12; + } else if (meridiem === 'বিকাল') { + return hour + 12; + } else if (meridiem === 'সন্ধ্যা') { + return hour + 12; + } + }, + + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'রাত'; + } else if (hour < 6) { + return 'ভোর'; + } else if (hour < 12) { + return 'সকাল'; + } else if (hour < 15) { + return 'দুপুর'; + } else if (hour < 18) { + return 'বিকাল'; + } else if (hour < 20) { + return 'সন্ধ্যা'; + } else { + return 'রাত'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/bn.js b/node_modules/moment/dist/locale/bn.js new file mode 100644 index 0000000..14ba050 --- /dev/null +++ b/node_modules/moment/dist/locale/bn.js @@ -0,0 +1,119 @@ +//! moment.js locale configuration +//! locale : Bengali [bn] +//! author : Kaushik Gandhi : https://github.com/kaushikgandhi + +import moment from '../moment'; + +var symbolMap = { + 1: '১', + 2: '২', + 3: '৩', + 4: '৪', + 5: '৫', + 6: '৬', + 7: '৭', + 8: '৮', + 9: '৯', + 0: '০', + }, + numberMap = { + '১': '1', + '২': '2', + '৩': '3', + '৪': '4', + '৫': '5', + '৬': '6', + '৭': '7', + '৮': '8', + '৯': '9', + '০': '0', + }; + +export default moment.defineLocale('bn', { + months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split( + '_' + ), + monthsShort: + 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split( + '_' + ), + weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split( + '_' + ), + weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'), + weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'), + longDateFormat: { + LT: 'A h:mm সময়', + LTS: 'A h:mm:ss সময়', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm সময়', + LLLL: 'dddd, D MMMM YYYY, A h:mm সময়', + }, + calendar: { + sameDay: '[আজ] LT', + nextDay: '[আগামীকাল] LT', + nextWeek: 'dddd, LT', + lastDay: '[গতকাল] LT', + lastWeek: '[গত] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s পরে', + past: '%s আগে', + s: 'কয়েক সেকেন্ড', + ss: '%d সেকেন্ড', + m: 'এক মিনিট', + mm: '%d মিনিট', + h: 'এক ঘন্টা', + hh: '%d ঘন্টা', + d: 'এক দিন', + dd: '%d দিন', + M: 'এক মাস', + MM: '%d মাস', + y: 'এক বছর', + yy: '%d বছর', + }, + preparse: function (string) { + return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + (meridiem === 'রাত' && hour >= 4) || + (meridiem === 'দুপুর' && hour < 5) || + meridiem === 'বিকাল' + ) { + return hour + 12; + } else { + return hour; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'রাত'; + } else if (hour < 10) { + return 'সকাল'; + } else if (hour < 17) { + return 'দুপুর'; + } else if (hour < 20) { + return 'বিকাল'; + } else { + return 'রাত'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/bo.js b/node_modules/moment/dist/locale/bo.js new file mode 100644 index 0000000..4fbca2e --- /dev/null +++ b/node_modules/moment/dist/locale/bo.js @@ -0,0 +1,124 @@ +//! moment.js locale configuration +//! locale : Tibetan [bo] +//! author : Thupten N. Chakrishar : https://github.com/vajradog + +import moment from '../moment'; + +var symbolMap = { + 1: '༡', + 2: '༢', + 3: '༣', + 4: '༤', + 5: '༥', + 6: '༦', + 7: '༧', + 8: '༨', + 9: '༩', + 0: '༠', + }, + numberMap = { + '༡': '1', + '༢': '2', + '༣': '3', + '༤': '4', + '༥': '5', + '༦': '6', + '༧': '7', + '༨': '8', + '༩': '9', + '༠': '0', + }; + +export default moment.defineLocale('bo', { + months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split( + '_' + ), + monthsShort: + 'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split( + '_' + ), + monthsShortRegex: /^(ཟླ་\d{1,2})/, + monthsParseExact: true, + weekdays: + 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split( + '_' + ), + weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split( + '_' + ), + weekdaysMin: 'ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm', + }, + calendar: { + sameDay: '[དི་རིང] LT', + nextDay: '[སང་ཉིན] LT', + nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT', + lastDay: '[ཁ་སང] LT', + lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ལ་', + past: '%s སྔན་ལ', + s: 'ལམ་སང', + ss: '%d སྐར་ཆ།', + m: 'སྐར་མ་གཅིག', + mm: '%d སྐར་མ', + h: 'ཆུ་ཚོད་གཅིག', + hh: '%d ཆུ་ཚོད', + d: 'ཉིན་གཅིག', + dd: '%d ཉིན་', + M: 'ཟླ་བ་གཅིག', + MM: '%d ཟླ་བ', + y: 'ལོ་གཅིག', + yy: '%d ལོ', + }, + preparse: function (string) { + return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + (meridiem === 'མཚན་མོ' && hour >= 4) || + (meridiem === 'ཉིན་གུང' && hour < 5) || + meridiem === 'དགོང་དག' + ) { + return hour + 12; + } else { + return hour; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'མཚན་མོ'; + } else if (hour < 10) { + return 'ཞོགས་ཀས'; + } else if (hour < 17) { + return 'ཉིན་གུང'; + } else if (hour < 20) { + return 'དགོང་དག'; + } else { + return 'མཚན་མོ'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/br.js b/node_modules/moment/dist/locale/br.js new file mode 100644 index 0000000..a7dda49 --- /dev/null +++ b/node_modules/moment/dist/locale/br.js @@ -0,0 +1,168 @@ +//! moment.js locale configuration +//! locale : Breton [br] +//! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou + +import moment from '../moment'; + +function relativeTimeWithMutation(number, withoutSuffix, key) { + var format = { + mm: 'munutenn', + MM: 'miz', + dd: 'devezh', + }; + return number + ' ' + mutation(format[key], number); +} +function specialMutationForYears(number) { + switch (lastNumber(number)) { + case 1: + case 3: + case 4: + case 5: + case 9: + return number + ' bloaz'; + default: + return number + ' vloaz'; + } +} +function lastNumber(number) { + if (number > 9) { + return lastNumber(number % 10); + } + return number; +} +function mutation(text, number) { + if (number === 2) { + return softMutation(text); + } + return text; +} +function softMutation(text) { + var mutationTable = { + m: 'v', + b: 'v', + d: 'z', + }; + if (mutationTable[text.charAt(0)] === undefined) { + return text; + } + return mutationTable[text.charAt(0)] + text.substring(1); +} + +var monthsParse = [ + /^gen/i, + /^c[ʼ\']hwe/i, + /^meu/i, + /^ebr/i, + /^mae/i, + /^(mez|eve)/i, + /^gou/i, + /^eos/i, + /^gwe/i, + /^her/i, + /^du/i, + /^ker/i, + ], + monthsRegex = + /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i, + monthsStrictRegex = + /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i, + monthsShortStrictRegex = + /^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i, + fullWeekdaysParse = [ + /^sul/i, + /^lun/i, + /^meurzh/i, + /^merc[ʼ\']her/i, + /^yaou/i, + /^gwener/i, + /^sadorn/i, + ], + shortWeekdaysParse = [ + /^Sul/i, + /^Lun/i, + /^Meu/i, + /^Mer/i, + /^Yao/i, + /^Gwe/i, + /^Sad/i, + ], + minWeekdaysParse = [ + /^Su/i, + /^Lu/i, + /^Me([^r]|$)/i, + /^Mer/i, + /^Ya/i, + /^Gw/i, + /^Sa/i, + ]; + +export default moment.defineLocale('br', { + months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split( + '_' + ), + monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'), + weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'), + weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'), + weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'), + weekdaysParse: minWeekdaysParse, + fullWeekdaysParse: fullWeekdaysParse, + shortWeekdaysParse: shortWeekdaysParse, + minWeekdaysParse: minWeekdaysParse, + + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: monthsStrictRegex, + monthsShortStrictRegex: monthsShortStrictRegex, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [a viz] MMMM YYYY', + LLL: 'D [a viz] MMMM YYYY HH:mm', + LLLL: 'dddd, D [a viz] MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Hiziv da] LT', + nextDay: '[Warcʼhoazh da] LT', + nextWeek: 'dddd [da] LT', + lastDay: '[Decʼh da] LT', + lastWeek: 'dddd [paset da] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'a-benn %s', + past: '%s ʼzo', + s: 'un nebeud segondennoù', + ss: '%d eilenn', + m: 'ur vunutenn', + mm: relativeTimeWithMutation, + h: 'un eur', + hh: '%d eur', + d: 'un devezh', + dd: relativeTimeWithMutation, + M: 'ur miz', + MM: relativeTimeWithMutation, + y: 'ur bloaz', + yy: specialMutationForYears, + }, + dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/, + ordinal: function (number) { + var output = number === 1 ? 'añ' : 'vet'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + meridiemParse: /a.m.|g.m./, // goude merenn | a-raok merenn + isPM: function (token) { + return token === 'g.m.'; + }, + meridiem: function (hour, minute, isLower) { + return hour < 12 ? 'a.m.' : 'g.m.'; + }, +}); diff --git a/node_modules/moment/dist/locale/bs.js b/node_modules/moment/dist/locale/bs.js new file mode 100644 index 0000000..5235fe9 --- /dev/null +++ b/node_modules/moment/dist/locale/bs.js @@ -0,0 +1,160 @@ +//! moment.js locale configuration +//! locale : Bosnian [bs] +//! author : Nedim Cholich : https://github.com/frontyard +//! author : Rasid Redzic : https://github.com/rasidre +//! based on (hr) translation by Bojan Marković + +import moment from '../moment'; + +function processRelativeTime(number, withoutSuffix, key, isFuture) { + switch (key) { + case 'm': + return withoutSuffix + ? 'jedna minuta' + : isFuture + ? 'jednu minutu' + : 'jedne minute'; + } +} + +function translate(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'ss': + if (number === 1) { + result += 'sekunda'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sekunde'; + } else { + result += 'sekundi'; + } + return result; + case 'mm': + if (number === 1) { + result += 'minuta'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'minute'; + } else { + result += 'minuta'; + } + return result; + case 'h': + return withoutSuffix ? 'jedan sat' : 'jedan sat'; + case 'hh': + if (number === 1) { + result += 'sat'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sata'; + } else { + result += 'sati'; + } + return result; + case 'dd': + if (number === 1) { + result += 'dan'; + } else { + result += 'dana'; + } + return result; + case 'MM': + if (number === 1) { + result += 'mjesec'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'mjeseca'; + } else { + result += 'mjeseci'; + } + return result; + case 'yy': + if (number === 1) { + result += 'godina'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'godine'; + } else { + result += 'godina'; + } + return result; + } +} + +export default moment.defineLocale('bs', { + months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split( + '_' + ), + monthsShort: + 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( + '_' + ), + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sutra u] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay: '[jučer u] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + return '[prošlu] dddd [u] LT'; + case 6: + return '[prošle] [subote] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prošli] dddd [u] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'prije %s', + s: 'par sekundi', + ss: translate, + m: processRelativeTime, + mm: translate, + h: translate, + hh: translate, + d: 'dan', + dd: translate, + M: 'mjesec', + MM: translate, + y: 'godinu', + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ca.js b/node_modules/moment/dist/locale/ca.js new file mode 100644 index 0000000..c356211 --- /dev/null +++ b/node_modules/moment/dist/locale/ca.js @@ -0,0 +1,100 @@ +//! moment.js locale configuration +//! locale : Catalan [ca] +//! author : Juan G. Hurtado : https://github.com/juanghurtado + +import moment from '../moment'; + +export default moment.defineLocale('ca', { + months: { + standalone: + 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split( + '_' + ), + format: "de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split( + '_' + ), + isFormat: /D[oD]?(\s)+MMMM/, + }, + monthsShort: + 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split( + '_' + ), + weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'), + weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [de] YYYY', + ll: 'D MMM YYYY', + LLL: 'D MMMM [de] YYYY [a les] H:mm', + lll: 'D MMM YYYY, H:mm', + LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm', + llll: 'ddd D MMM YYYY, H:mm', + }, + calendar: { + sameDay: function () { + return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + nextDay: function () { + return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + lastDay: function () { + return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [passat a ' + + (this.hours() !== 1 ? 'les' : 'la') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: "d'aquí %s", + past: 'fa %s', + s: 'uns segons', + ss: '%d segons', + m: 'un minut', + mm: '%d minuts', + h: 'una hora', + hh: '%d hores', + d: 'un dia', + dd: '%d dies', + M: 'un mes', + MM: '%d mesos', + y: 'un any', + yy: '%d anys', + }, + dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/, + ordinal: function (number, period) { + var output = + number === 1 + ? 'r' + : number === 2 + ? 'n' + : number === 3 + ? 'r' + : number === 4 + ? 't' + : 'è'; + if (period === 'w' || period === 'W') { + output = 'a'; + } + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/cs.js b/node_modules/moment/dist/locale/cs.js new file mode 100644 index 0000000..bf5dd09 --- /dev/null +++ b/node_modules/moment/dist/locale/cs.js @@ -0,0 +1,181 @@ +//! moment.js locale configuration +//! locale : Czech [cs] +//! author : petrbela : https://github.com/petrbela + +import moment from '../moment'; + +var months = { + standalone: + 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split( + '_' + ), + format: 'ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince'.split( + '_' + ), + isFormat: /DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/, + }, + monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'), + monthsParse = [ + /^led/i, + /^úno/i, + /^bře/i, + /^dub/i, + /^kvě/i, + /^(čvn|červen$|června)/i, + /^(čvc|červenec|července)/i, + /^srp/i, + /^zář/i, + /^říj/i, + /^lis/i, + /^pro/i, + ], + // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched. + // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'. + monthsRegex = + /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i; + +function plural(n) { + return n > 1 && n < 5 && ~~(n / 10) !== 1; +} +function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': // a few seconds / in a few seconds / a few seconds ago + return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami'; + case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'sekundy' : 'sekund'); + } else { + return result + 'sekundami'; + } + case 'm': // a minute / in a minute / a minute ago + return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou'; + case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'minuty' : 'minut'); + } else { + return result + 'minutami'; + } + case 'h': // an hour / in an hour / an hour ago + return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou'; + case 'hh': // 9 hours / in 9 hours / 9 hours ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'hodiny' : 'hodin'); + } else { + return result + 'hodinami'; + } + case 'd': // a day / in a day / a day ago + return withoutSuffix || isFuture ? 'den' : 'dnem'; + case 'dd': // 9 days / in 9 days / 9 days ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'dny' : 'dní'); + } else { + return result + 'dny'; + } + case 'M': // a month / in a month / a month ago + return withoutSuffix || isFuture ? 'měsíc' : 'měsícem'; + case 'MM': // 9 months / in 9 months / 9 months ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'měsíce' : 'měsíců'); + } else { + return result + 'měsíci'; + } + case 'y': // a year / in a year / a year ago + return withoutSuffix || isFuture ? 'rok' : 'rokem'; + case 'yy': // 9 years / in 9 years / 9 years ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'roky' : 'let'); + } else { + return result + 'lety'; + } + } +} + +export default moment.defineLocale('cs', { + months: months, + monthsShort: monthsShort, + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched. + // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'. + monthsStrictRegex: + /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i, + monthsShortStrictRegex: + /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'), + weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'), + weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd D. MMMM YYYY H:mm', + l: 'D. M. YYYY', + }, + calendar: { + sameDay: '[dnes v] LT', + nextDay: '[zítra v] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[v neděli v] LT'; + case 1: + case 2: + return '[v] dddd [v] LT'; + case 3: + return '[ve středu v] LT'; + case 4: + return '[ve čtvrtek v] LT'; + case 5: + return '[v pátek v] LT'; + case 6: + return '[v sobotu v] LT'; + } + }, + lastDay: '[včera v] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[minulou neděli v] LT'; + case 1: + case 2: + return '[minulé] dddd [v] LT'; + case 3: + return '[minulou středu v] LT'; + case 4: + case 5: + return '[minulý] dddd [v] LT'; + case 6: + return '[minulou sobotu v] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'před %s', + s: translate, + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/cv.js b/node_modules/moment/dist/locale/cv.js new file mode 100644 index 0000000..06c196a --- /dev/null +++ b/node_modules/moment/dist/locale/cv.js @@ -0,0 +1,63 @@ +//! moment.js locale configuration +//! locale : Chuvash [cv] +//! author : Anatoly Mironov : https://github.com/mirontoli + +import moment from '../moment'; + +export default moment.defineLocale('cv', { + months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split( + '_' + ), + monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'), + weekdays: + 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split( + '_' + ), + weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'), + weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]', + LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm', + LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm', + }, + calendar: { + sameDay: '[Паян] LT [сехетре]', + nextDay: '[Ыран] LT [сехетре]', + lastDay: '[Ӗнер] LT [сехетре]', + nextWeek: '[Ҫитес] dddd LT [сехетре]', + lastWeek: '[Иртнӗ] dddd LT [сехетре]', + sameElse: 'L', + }, + relativeTime: { + future: function (output) { + var affix = /сехет$/i.exec(output) + ? 'рен' + : /ҫул$/i.exec(output) + ? 'тан' + : 'ран'; + return output + affix; + }, + past: '%s каялла', + s: 'пӗр-ик ҫеккунт', + ss: '%d ҫеккунт', + m: 'пӗр минут', + mm: '%d минут', + h: 'пӗр сехет', + hh: '%d сехет', + d: 'пӗр кун', + dd: '%d кун', + M: 'пӗр уйӑх', + MM: '%d уйӑх', + y: 'пӗр ҫул', + yy: '%d ҫул', + }, + dayOfMonthOrdinalParse: /\d{1,2}-мӗш/, + ordinal: '%d-мӗш', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/cy.js b/node_modules/moment/dist/locale/cy.js new file mode 100644 index 0000000..e12344a --- /dev/null +++ b/node_modules/moment/dist/locale/cy.js @@ -0,0 +1,98 @@ +//! moment.js locale configuration +//! locale : Welsh [cy] +//! author : Robert Allen : https://github.com/robgallen +//! author : https://github.com/ryangreaves + +import moment from '../moment'; + +export default moment.defineLocale('cy', { + months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split( + '_' + ), + monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split( + '_' + ), + weekdays: + 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split( + '_' + ), + weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'), + weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'), + weekdaysParseExact: true, + // time formats are the same as en-gb + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Heddiw am] LT', + nextDay: '[Yfory am] LT', + nextWeek: 'dddd [am] LT', + lastDay: '[Ddoe am] LT', + lastWeek: 'dddd [diwethaf am] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'mewn %s', + past: '%s yn ôl', + s: 'ychydig eiliadau', + ss: '%d eiliad', + m: 'munud', + mm: '%d munud', + h: 'awr', + hh: '%d awr', + d: 'diwrnod', + dd: '%d diwrnod', + M: 'mis', + MM: '%d mis', + y: 'blwyddyn', + yy: '%d flynedd', + }, + dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/, + // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh + ordinal: function (number) { + var b = number, + output = '', + lookup = [ + '', + 'af', + 'il', + 'ydd', + 'ydd', + 'ed', + 'ed', + 'ed', + 'fed', + 'fed', + 'fed', // 1af to 10fed + 'eg', + 'fed', + 'eg', + 'eg', + 'fed', + 'eg', + 'eg', + 'fed', + 'eg', + 'fed', // 11eg to 20fed + ]; + if (b > 20) { + if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) { + output = 'fed'; // not 30ain, 70ain or 90ain + } else { + output = 'ain'; + } + } else if (b > 0) { + output = lookup[b]; + } + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/da.js b/node_modules/moment/dist/locale/da.js new file mode 100644 index 0000000..d1fc181 --- /dev/null +++ b/node_modules/moment/dist/locale/da.js @@ -0,0 +1,53 @@ +//! moment.js locale configuration +//! locale : Danish [da] +//! author : Ulrik Nielsen : https://github.com/mrbase + +import moment from '../moment'; + +export default moment.defineLocale('da', { + months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), + weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), + weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'), + weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm', + }, + calendar: { + sameDay: '[i dag kl.] LT', + nextDay: '[i morgen kl.] LT', + nextWeek: 'på dddd [kl.] LT', + lastDay: '[i går kl.] LT', + lastWeek: '[i] dddd[s kl.] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'om %s', + past: '%s siden', + s: 'få sekunder', + ss: '%d sekunder', + m: 'et minut', + mm: '%d minutter', + h: 'en time', + hh: '%d timer', + d: 'en dag', + dd: '%d dage', + M: 'en måned', + MM: '%d måneder', + y: 'et år', + yy: '%d år', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/de-at.js b/node_modules/moment/dist/locale/de-at.js new file mode 100644 index 0000000..8318fec --- /dev/null +++ b/node_modules/moment/dist/locale/de-at.js @@ -0,0 +1,79 @@ +//! moment.js locale configuration +//! locale : German (Austria) [de-at] +//! author : lluchs : https://github.com/lluchs +//! author: Menelion Elensúle: https://github.com/Oire +//! author : Martin Groller : https://github.com/MadMG +//! author : Mikolaj Dadela : https://github.com/mik01aj + +import moment from '../moment'; + +function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + m: ['eine Minute', 'einer Minute'], + h: ['eine Stunde', 'einer Stunde'], + d: ['ein Tag', 'einem Tag'], + dd: [number + ' Tage', number + ' Tagen'], + w: ['eine Woche', 'einer Woche'], + M: ['ein Monat', 'einem Monat'], + MM: [number + ' Monate', number + ' Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: [number + ' Jahre', number + ' Jahren'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; +} + +export default moment.defineLocale('de-at', { + months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_' + ), + monthsShort: + 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + monthsParseExact: true, + weekdays: + 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( + '_' + ), + weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[heute um] LT [Uhr]', + sameElse: 'L', + nextDay: '[morgen um] LT [Uhr]', + nextWeek: 'dddd [um] LT [Uhr]', + lastDay: '[gestern um] LT [Uhr]', + lastWeek: '[letzten] dddd [um] LT [Uhr]', + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: 'ein paar Sekunden', + ss: '%d Sekunden', + m: processRelativeTime, + mm: '%d Minuten', + h: processRelativeTime, + hh: '%d Stunden', + d: processRelativeTime, + dd: processRelativeTime, + w: processRelativeTime, + ww: '%d Wochen', + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/de-ch.js b/node_modules/moment/dist/locale/de-ch.js new file mode 100644 index 0000000..4e67507 --- /dev/null +++ b/node_modules/moment/dist/locale/de-ch.js @@ -0,0 +1,78 @@ +//! moment.js locale configuration +//! locale : German (Switzerland) [de-ch] +//! author : sschueller : https://github.com/sschueller + +// based on: https://www.bk.admin.ch/dokumentation/sprachen/04915/05016/index.html?lang=de# + +import moment from '../moment'; + +function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + m: ['eine Minute', 'einer Minute'], + h: ['eine Stunde', 'einer Stunde'], + d: ['ein Tag', 'einem Tag'], + dd: [number + ' Tage', number + ' Tagen'], + w: ['eine Woche', 'einer Woche'], + M: ['ein Monat', 'einem Monat'], + MM: [number + ' Monate', number + ' Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: [number + ' Jahre', number + ' Jahren'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; +} + +export default moment.defineLocale('de-ch', { + months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_' + ), + monthsShort: + 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + monthsParseExact: true, + weekdays: + 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( + '_' + ), + weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[heute um] LT [Uhr]', + sameElse: 'L', + nextDay: '[morgen um] LT [Uhr]', + nextWeek: 'dddd [um] LT [Uhr]', + lastDay: '[gestern um] LT [Uhr]', + lastWeek: '[letzten] dddd [um] LT [Uhr]', + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: 'ein paar Sekunden', + ss: '%d Sekunden', + m: processRelativeTime, + mm: '%d Minuten', + h: processRelativeTime, + hh: '%d Stunden', + d: processRelativeTime, + dd: processRelativeTime, + w: processRelativeTime, + ww: '%d Wochen', + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/de.js b/node_modules/moment/dist/locale/de.js new file mode 100644 index 0000000..cb9c8d5 --- /dev/null +++ b/node_modules/moment/dist/locale/de.js @@ -0,0 +1,78 @@ +//! moment.js locale configuration +//! locale : German [de] +//! author : lluchs : https://github.com/lluchs +//! author: Menelion Elensúle: https://github.com/Oire +//! author : Mikolaj Dadela : https://github.com/mik01aj + +import moment from '../moment'; + +function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + m: ['eine Minute', 'einer Minute'], + h: ['eine Stunde', 'einer Stunde'], + d: ['ein Tag', 'einem Tag'], + dd: [number + ' Tage', number + ' Tagen'], + w: ['eine Woche', 'einer Woche'], + M: ['ein Monat', 'einem Monat'], + MM: [number + ' Monate', number + ' Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: [number + ' Jahre', number + ' Jahren'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; +} + +export default moment.defineLocale('de', { + months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_' + ), + monthsShort: + 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + monthsParseExact: true, + weekdays: + 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( + '_' + ), + weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[heute um] LT [Uhr]', + sameElse: 'L', + nextDay: '[morgen um] LT [Uhr]', + nextWeek: 'dddd [um] LT [Uhr]', + lastDay: '[gestern um] LT [Uhr]', + lastWeek: '[letzten] dddd [um] LT [Uhr]', + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: 'ein paar Sekunden', + ss: '%d Sekunden', + m: processRelativeTime, + mm: '%d Minuten', + h: processRelativeTime, + hh: '%d Stunden', + d: processRelativeTime, + dd: processRelativeTime, + w: processRelativeTime, + ww: '%d Wochen', + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/dv.js b/node_modules/moment/dist/locale/dv.js new file mode 100644 index 0000000..26520d4 --- /dev/null +++ b/node_modules/moment/dist/locale/dv.js @@ -0,0 +1,90 @@ +//! moment.js locale configuration +//! locale : Maldivian [dv] +//! author : Jawish Hameed : https://github.com/jawish + +import moment from '../moment'; + +var months = [ + 'ޖެނުއަރީ', + 'ފެބްރުއަރީ', + 'މާރިޗު', + 'އޭޕްރީލު', + 'މޭ', + 'ޖޫން', + 'ޖުލައި', + 'އޯގަސްޓު', + 'ސެޕްޓެމްބަރު', + 'އޮކްޓޯބަރު', + 'ނޮވެމްބަރު', + 'ޑިސެމްބަރު', + ], + weekdays = [ + 'އާދިއްތަ', + 'ހޯމަ', + 'އަންގާރަ', + 'ބުދަ', + 'ބުރާސްފަތި', + 'ހުކުރު', + 'ހޮނިހިރު', + ]; + +export default moment.defineLocale('dv', { + months: months, + monthsShort: months, + weekdays: weekdays, + weekdaysShort: weekdays, + weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/M/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /މކ|މފ/, + isPM: function (input) { + return 'މފ' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'މކ'; + } else { + return 'މފ'; + } + }, + calendar: { + sameDay: '[މިއަދު] LT', + nextDay: '[މާދަމާ] LT', + nextWeek: 'dddd LT', + lastDay: '[އިއްޔެ] LT', + lastWeek: '[ފާއިތުވި] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ތެރޭގައި %s', + past: 'ކުރިން %s', + s: 'ސިކުންތުކޮޅެއް', + ss: 'd% ސިކުންތު', + m: 'މިނިޓެއް', + mm: 'މިނިޓު %d', + h: 'ގަޑިއިރެއް', + hh: 'ގަޑިއިރު %d', + d: 'ދުވަހެއް', + dd: 'ދުވަސް %d', + M: 'މަހެއް', + MM: 'މަސް %d', + y: 'އަހަރެއް', + yy: 'އަހަރު %d', + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + dow: 7, // Sunday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/el.js b/node_modules/moment/dist/locale/el.js new file mode 100644 index 0000000..8a596f1 --- /dev/null +++ b/node_modules/moment/dist/locale/el.js @@ -0,0 +1,106 @@ +//! moment.js locale configuration +//! locale : Greek [el] +//! author : Aggelos Karalias : https://github.com/mehiel + +import moment from '../moment'; + +function isFunction(input) { + return ( + (typeof Function !== 'undefined' && input instanceof Function) || + Object.prototype.toString.call(input) === '[object Function]' + ); +} + +export default moment.defineLocale('el', { + monthsNominativeEl: + 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split( + '_' + ), + monthsGenitiveEl: + 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split( + '_' + ), + months: function (momentToFormat, format) { + if (!momentToFormat) { + return this._monthsNominativeEl; + } else if ( + typeof format === 'string' && + /D/.test(format.substring(0, format.indexOf('MMMM'))) + ) { + // if there is a day number before 'MMMM' + return this._monthsGenitiveEl[momentToFormat.month()]; + } else { + return this._monthsNominativeEl[momentToFormat.month()]; + } + }, + monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'), + weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split( + '_' + ), + weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'), + weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'), + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'μμ' : 'ΜΜ'; + } else { + return isLower ? 'πμ' : 'ΠΜ'; + } + }, + isPM: function (input) { + return (input + '').toLowerCase()[0] === 'μ'; + }, + meridiemParse: /[ΠΜ]\.?Μ?\.?/i, + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendarEl: { + sameDay: '[Σήμερα {}] LT', + nextDay: '[Αύριο {}] LT', + nextWeek: 'dddd [{}] LT', + lastDay: '[Χθες {}] LT', + lastWeek: function () { + switch (this.day()) { + case 6: + return '[το προηγούμενο] dddd [{}] LT'; + default: + return '[την προηγούμενη] dddd [{}] LT'; + } + }, + sameElse: 'L', + }, + calendar: function (key, mom) { + var output = this._calendarEl[key], + hours = mom && mom.hours(); + if (isFunction(output)) { + output = output.apply(mom); + } + return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις'); + }, + relativeTime: { + future: 'σε %s', + past: '%s πριν', + s: 'λίγα δευτερόλεπτα', + ss: '%d δευτερόλεπτα', + m: 'ένα λεπτό', + mm: '%d λεπτά', + h: 'μία ώρα', + hh: '%d ώρες', + d: 'μία μέρα', + dd: '%d μέρες', + M: 'ένας μήνας', + MM: '%d μήνες', + y: 'ένας χρόνος', + yy: '%d χρόνια', + }, + dayOfMonthOrdinalParse: /\d{1,2}η/, + ordinal: '%dη', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4st is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/en-au.js b/node_modules/moment/dist/locale/en-au.js new file mode 100644 index 0000000..301e9db --- /dev/null +++ b/node_modules/moment/dist/locale/en-au.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : English (Australia) [en-au] +//! author : Jared Morse : https://github.com/jarcoal + +import moment from '../moment'; + +export default moment.defineLocale('en-au', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/en-ca.js b/node_modules/moment/dist/locale/en-ca.js new file mode 100644 index 0000000..8099e04 --- /dev/null +++ b/node_modules/moment/dist/locale/en-ca.js @@ -0,0 +1,64 @@ +//! moment.js locale configuration +//! locale : English (Canada) [en-ca] +//! author : Jonathan Abourbih : https://github.com/jonbca + +import moment from '../moment'; + +export default moment.defineLocale('en-ca', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'YYYY-MM-DD', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY h:mm A', + LLLL: 'dddd, MMMM D, YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, +}); diff --git a/node_modules/moment/dist/locale/en-gb.js b/node_modules/moment/dist/locale/en-gb.js new file mode 100644 index 0000000..acd544a --- /dev/null +++ b/node_modules/moment/dist/locale/en-gb.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : English (United Kingdom) [en-gb] +//! author : Chris Gedrim : https://github.com/chrisgedrim + +import moment from '../moment'; + +export default moment.defineLocale('en-gb', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/en-ie.js b/node_modules/moment/dist/locale/en-ie.js new file mode 100644 index 0000000..8e79f63 --- /dev/null +++ b/node_modules/moment/dist/locale/en-ie.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : English (Ireland) [en-ie] +//! author : Chris Cartlidge : https://github.com/chriscartlidge + +import moment from '../moment'; + +export default moment.defineLocale('en-ie', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/en-il.js b/node_modules/moment/dist/locale/en-il.js new file mode 100644 index 0000000..94908df --- /dev/null +++ b/node_modules/moment/dist/locale/en-il.js @@ -0,0 +1,64 @@ +//! moment.js locale configuration +//! locale : English (Israel) [en-il] +//! author : Chris Gedrim : https://github.com/chrisgedrim + +import moment from '../moment'; + +export default moment.defineLocale('en-il', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, +}); diff --git a/node_modules/moment/dist/locale/en-in.js b/node_modules/moment/dist/locale/en-in.js new file mode 100644 index 0000000..f685176 --- /dev/null +++ b/node_modules/moment/dist/locale/en-in.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : English (India) [en-in] +//! author : Jatin Agrawal : https://github.com/jatinag22 + +import moment from '../moment'; + +export default moment.defineLocale('en-in', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 1st is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/en-nz.js b/node_modules/moment/dist/locale/en-nz.js new file mode 100644 index 0000000..66c9bfc --- /dev/null +++ b/node_modules/moment/dist/locale/en-nz.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : English (New Zealand) [en-nz] +//! author : Luke McGregor : https://github.com/lukemcgregor + +import moment from '../moment'; + +export default moment.defineLocale('en-nz', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/en-sg.js b/node_modules/moment/dist/locale/en-sg.js new file mode 100644 index 0000000..b36bda4 --- /dev/null +++ b/node_modules/moment/dist/locale/en-sg.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : English (Singapore) [en-sg] +//! author : Matthew Castrillon-Madrigal : https://github.com/techdimension + +import moment from '../moment'; + +export default moment.defineLocale('en-sg', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/eo.js b/node_modules/moment/dist/locale/eo.js new file mode 100644 index 0000000..38d494a --- /dev/null +++ b/node_modules/moment/dist/locale/eo.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : Esperanto [eo] +//! author : Colin Dean : https://github.com/colindean +//! author : Mia Nordentoft Imperatori : https://github.com/miestasmia +//! comment : miestasmia corrected the translation by colindean +//! comment : Vivakvo corrected the translation by colindean and miestasmia + +import moment from '../moment'; + +export default moment.defineLocale('eo', { + months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split( + '_' + ), + monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec'.split('_'), + weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'), + weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'), + weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: '[la] D[-an de] MMMM, YYYY', + LLL: '[la] D[-an de] MMMM, YYYY HH:mm', + LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm', + llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm', + }, + meridiemParse: /[ap]\.t\.m/i, + isPM: function (input) { + return input.charAt(0).toLowerCase() === 'p'; + }, + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'p.t.m.' : 'P.T.M.'; + } else { + return isLower ? 'a.t.m.' : 'A.T.M.'; + } + }, + calendar: { + sameDay: '[Hodiaŭ je] LT', + nextDay: '[Morgaŭ je] LT', + nextWeek: 'dddd[n je] LT', + lastDay: '[Hieraŭ je] LT', + lastWeek: '[pasintan] dddd[n je] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'post %s', + past: 'antaŭ %s', + s: 'kelkaj sekundoj', + ss: '%d sekundoj', + m: 'unu minuto', + mm: '%d minutoj', + h: 'unu horo', + hh: '%d horoj', + d: 'unu tago', //ne 'diurno', ĉar estas uzita por proksimumo + dd: '%d tagoj', + M: 'unu monato', + MM: '%d monatoj', + y: 'unu jaro', + yy: '%d jaroj', + }, + dayOfMonthOrdinalParse: /\d{1,2}a/, + ordinal: '%da', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/es-do.js b/node_modules/moment/dist/locale/es-do.js new file mode 100644 index 0000000..8c3ccfd --- /dev/null +++ b/node_modules/moment/dist/locale/es-do.js @@ -0,0 +1,108 @@ +//! moment.js locale configuration +//! locale : Spanish (Dominican Republic) [es-do] + +import moment from '../moment'; + +var monthsShortDot = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + +export default moment.defineLocale('es-do', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot; + } else if (/-MMM-/.test(format)) { + return monthsShort[m.month()]; + } else { + return monthsShortDot[m.month()]; + } + }, + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY h:mm A', + LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/es-mx.js b/node_modules/moment/dist/locale/es-mx.js new file mode 100644 index 0000000..43dd7cc --- /dev/null +++ b/node_modules/moment/dist/locale/es-mx.js @@ -0,0 +1,110 @@ +//! moment.js locale configuration +//! locale : Spanish (Mexico) [es-mx] +//! author : JC Franco : https://github.com/jcfranco + +import moment from '../moment'; + +var monthsShortDot = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + +export default moment.defineLocale('es-mx', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot; + } else if (/-MMM-/.test(format)) { + return monthsShort[m.month()]; + } else { + return monthsShortDot[m.month()]; + } + }, + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 0, // Sunday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + invalidDate: 'Fecha inválida', +}); diff --git a/node_modules/moment/dist/locale/es-us.js b/node_modules/moment/dist/locale/es-us.js new file mode 100644 index 0000000..bac8cd8 --- /dev/null +++ b/node_modules/moment/dist/locale/es-us.js @@ -0,0 +1,110 @@ +//! moment.js locale configuration +//! locale : Spanish (United States) [es-us] +//! author : bustta : https://github.com/bustta +//! author : chrisrodz : https://github.com/chrisrodz + +import moment from '../moment'; + +var monthsShortDot = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + +export default moment.defineLocale('es-us', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot; + } else if (/-MMM-/.test(format)) { + return monthsShort[m.month()]; + } else { + return monthsShortDot[m.month()]; + } + }, + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'MM/DD/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY h:mm A', + LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/es.js b/node_modules/moment/dist/locale/es.js new file mode 100644 index 0000000..a3428ad --- /dev/null +++ b/node_modules/moment/dist/locale/es.js @@ -0,0 +1,110 @@ +//! moment.js locale configuration +//! locale : Spanish [es] +//! author : Julio Napurí : https://github.com/julionc + +import moment from '../moment'; + +var monthsShortDot = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + +export default moment.defineLocale('es', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot; + } else if (/-MMM-/.test(format)) { + return monthsShort[m.month()]; + } else { + return monthsShortDot[m.month()]; + } + }, + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + invalidDate: 'Fecha inválida', +}); diff --git a/node_modules/moment/dist/locale/et.js b/node_modules/moment/dist/locale/et.js new file mode 100644 index 0000000..5da4ec4 --- /dev/null +++ b/node_modules/moment/dist/locale/et.js @@ -0,0 +1,78 @@ +//! moment.js locale configuration +//! locale : Estonian [et] +//! author : Henry Kehlmann : https://github.com/madhenry +//! improvements : Illimar Tambek : https://github.com/ragulka + +import moment from '../moment'; + +function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'], + ss: [number + 'sekundi', number + 'sekundit'], + m: ['ühe minuti', 'üks minut'], + mm: [number + ' minuti', number + ' minutit'], + h: ['ühe tunni', 'tund aega', 'üks tund'], + hh: [number + ' tunni', number + ' tundi'], + d: ['ühe päeva', 'üks päev'], + M: ['kuu aja', 'kuu aega', 'üks kuu'], + MM: [number + ' kuu', number + ' kuud'], + y: ['ühe aasta', 'aasta', 'üks aasta'], + yy: [number + ' aasta', number + ' aastat'], + }; + if (withoutSuffix) { + return format[key][2] ? format[key][2] : format[key][1]; + } + return isFuture ? format[key][0] : format[key][1]; +} + +export default moment.defineLocale('et', { + months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split( + '_' + ), + monthsShort: + 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'), + weekdays: + 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split( + '_' + ), + weekdaysShort: 'P_E_T_K_N_R_L'.split('_'), + weekdaysMin: 'P_E_T_K_N_R_L'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[Täna,] LT', + nextDay: '[Homme,] LT', + nextWeek: '[Järgmine] dddd LT', + lastDay: '[Eile,] LT', + lastWeek: '[Eelmine] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s pärast', + past: '%s tagasi', + s: processRelativeTime, + ss: processRelativeTime, + m: processRelativeTime, + mm: processRelativeTime, + h: processRelativeTime, + hh: processRelativeTime, + d: processRelativeTime, + dd: '%d päeva', + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/eu.js b/node_modules/moment/dist/locale/eu.js new file mode 100644 index 0000000..261a17b --- /dev/null +++ b/node_modules/moment/dist/locale/eu.js @@ -0,0 +1,65 @@ +//! moment.js locale configuration +//! locale : Basque [eu] +//! author : Eneko Illarramendi : https://github.com/eillarra + +import moment from '../moment'; + +export default moment.defineLocale('eu', { + months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split( + '_' + ), + monthsShort: + 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split( + '_' + ), + weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'), + weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY[ko] MMMM[ren] D[a]', + LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm', + LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm', + l: 'YYYY-M-D', + ll: 'YYYY[ko] MMM D[a]', + lll: 'YYYY[ko] MMM D[a] HH:mm', + llll: 'ddd, YYYY[ko] MMM D[a] HH:mm', + }, + calendar: { + sameDay: '[gaur] LT[etan]', + nextDay: '[bihar] LT[etan]', + nextWeek: 'dddd LT[etan]', + lastDay: '[atzo] LT[etan]', + lastWeek: '[aurreko] dddd LT[etan]', + sameElse: 'L', + }, + relativeTime: { + future: '%s barru', + past: 'duela %s', + s: 'segundo batzuk', + ss: '%d segundo', + m: 'minutu bat', + mm: '%d minutu', + h: 'ordu bat', + hh: '%d ordu', + d: 'egun bat', + dd: '%d egun', + M: 'hilabete bat', + MM: '%d hilabete', + y: 'urte bat', + yy: '%d urte', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/fa.js b/node_modules/moment/dist/locale/fa.js new file mode 100644 index 0000000..52ffb72 --- /dev/null +++ b/node_modules/moment/dist/locale/fa.js @@ -0,0 +1,113 @@ +//! moment.js locale configuration +//! locale : Persian [fa] +//! author : Ebrahim Byagowi : https://github.com/ebraminio + +import moment from '../moment'; + +var symbolMap = { + 1: '۱', + 2: '۲', + 3: '۳', + 4: '۴', + 5: '۵', + 6: '۶', + 7: '۷', + 8: '۸', + 9: '۹', + 0: '۰', + }, + numberMap = { + '۱': '1', + '۲': '2', + '۳': '3', + '۴': '4', + '۵': '5', + '۶': '6', + '۷': '7', + '۸': '8', + '۹': '9', + '۰': '0', + }; + +export default moment.defineLocale('fa', { + months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split( + '_' + ), + monthsShort: + 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split( + '_' + ), + weekdays: + 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split( + '_' + ), + weekdaysShort: + 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split( + '_' + ), + weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + meridiemParse: /قبل از ظهر|بعد از ظهر/, + isPM: function (input) { + return /بعد از ظهر/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'قبل از ظهر'; + } else { + return 'بعد از ظهر'; + } + }, + calendar: { + sameDay: '[امروز ساعت] LT', + nextDay: '[فردا ساعت] LT', + nextWeek: 'dddd [ساعت] LT', + lastDay: '[دیروز ساعت] LT', + lastWeek: 'dddd [پیش] [ساعت] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'در %s', + past: '%s پیش', + s: 'چند ثانیه', + ss: '%d ثانیه', + m: 'یک دقیقه', + mm: '%d دقیقه', + h: 'یک ساعت', + hh: '%d ساعت', + d: 'یک روز', + dd: '%d روز', + M: 'یک ماه', + MM: '%d ماه', + y: 'یک سال', + yy: '%d سال', + }, + preparse: function (string) { + return string + .replace(/[۰-۹]/g, function (match) { + return numberMap[match]; + }) + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + dayOfMonthOrdinalParse: /\d{1,2}م/, + ordinal: '%dم', + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/fi.js b/node_modules/moment/dist/locale/fi.js new file mode 100644 index 0000000..2e20bff --- /dev/null +++ b/node_modules/moment/dist/locale/fi.js @@ -0,0 +1,124 @@ +//! moment.js locale configuration +//! locale : Finnish [fi] +//! author : Tarmo Aidantausta : https://github.com/bleadof + +import moment from '../moment'; + +var numbersPast = + 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split( + ' ' + ), + numbersFuture = [ + 'nolla', + 'yhden', + 'kahden', + 'kolmen', + 'neljän', + 'viiden', + 'kuuden', + numbersPast[7], + numbersPast[8], + numbersPast[9], + ]; +function translate(number, withoutSuffix, key, isFuture) { + var result = ''; + switch (key) { + case 's': + return isFuture ? 'muutaman sekunnin' : 'muutama sekunti'; + case 'ss': + result = isFuture ? 'sekunnin' : 'sekuntia'; + break; + case 'm': + return isFuture ? 'minuutin' : 'minuutti'; + case 'mm': + result = isFuture ? 'minuutin' : 'minuuttia'; + break; + case 'h': + return isFuture ? 'tunnin' : 'tunti'; + case 'hh': + result = isFuture ? 'tunnin' : 'tuntia'; + break; + case 'd': + return isFuture ? 'päivän' : 'päivä'; + case 'dd': + result = isFuture ? 'päivän' : 'päivää'; + break; + case 'M': + return isFuture ? 'kuukauden' : 'kuukausi'; + case 'MM': + result = isFuture ? 'kuukauden' : 'kuukautta'; + break; + case 'y': + return isFuture ? 'vuoden' : 'vuosi'; + case 'yy': + result = isFuture ? 'vuoden' : 'vuotta'; + break; + } + result = verbalNumber(number, isFuture) + ' ' + result; + return result; +} +function verbalNumber(number, isFuture) { + return number < 10 + ? isFuture + ? numbersFuture[number] + : numbersPast[number] + : number; +} + +export default moment.defineLocale('fi', { + months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split( + '_' + ), + monthsShort: + 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split( + '_' + ), + weekdays: + 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split( + '_' + ), + weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'), + weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD.MM.YYYY', + LL: 'Do MMMM[ta] YYYY', + LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm', + LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm', + l: 'D.M.YYYY', + ll: 'Do MMM YYYY', + lll: 'Do MMM YYYY, [klo] HH.mm', + llll: 'ddd, Do MMM YYYY, [klo] HH.mm', + }, + calendar: { + sameDay: '[tänään] [klo] LT', + nextDay: '[huomenna] [klo] LT', + nextWeek: 'dddd [klo] LT', + lastDay: '[eilen] [klo] LT', + lastWeek: '[viime] dddd[na] [klo] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s päästä', + past: '%s sitten', + s: translate, + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/fil.js b/node_modules/moment/dist/locale/fil.js new file mode 100644 index 0000000..e0447aa --- /dev/null +++ b/node_modules/moment/dist/locale/fil.js @@ -0,0 +1,58 @@ +//! moment.js locale configuration +//! locale : Filipino [fil] +//! author : Dan Hagman : https://github.com/hagmandan +//! author : Matthew Co : https://github.com/matthewdeeco + +import moment from '../moment'; + +export default moment.defineLocale('fil', { + months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split( + '_' + ), + monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), + weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split( + '_' + ), + weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), + weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'MM/D/YYYY', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY HH:mm', + LLLL: 'dddd, MMMM DD, YYYY HH:mm', + }, + calendar: { + sameDay: 'LT [ngayong araw]', + nextDay: '[Bukas ng] LT', + nextWeek: 'LT [sa susunod na] dddd', + lastDay: 'LT [kahapon]', + lastWeek: 'LT [noong nakaraang] dddd', + sameElse: 'L', + }, + relativeTime: { + future: 'sa loob ng %s', + past: '%s ang nakalipas', + s: 'ilang segundo', + ss: '%d segundo', + m: 'isang minuto', + mm: '%d minuto', + h: 'isang oras', + hh: '%d oras', + d: 'isang araw', + dd: '%d araw', + M: 'isang buwan', + MM: '%d buwan', + y: 'isang taon', + yy: '%d taon', + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: function (number) { + return number; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/fo.js b/node_modules/moment/dist/locale/fo.js new file mode 100644 index 0000000..c8fd0bc --- /dev/null +++ b/node_modules/moment/dist/locale/fo.js @@ -0,0 +1,57 @@ +//! moment.js locale configuration +//! locale : Faroese [fo] +//! author : Ragnar Johannesen : https://github.com/ragnar123 +//! author : Kristian Sakarisson : https://github.com/sakarisson + +import moment from '../moment'; + +export default moment.defineLocale('fo', { + months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), + weekdays: + 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split( + '_' + ), + weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'), + weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D. MMMM, YYYY HH:mm', + }, + calendar: { + sameDay: '[Í dag kl.] LT', + nextDay: '[Í morgin kl.] LT', + nextWeek: 'dddd [kl.] LT', + lastDay: '[Í gjár kl.] LT', + lastWeek: '[síðstu] dddd [kl] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'um %s', + past: '%s síðani', + s: 'fá sekund', + ss: '%d sekundir', + m: 'ein minuttur', + mm: '%d minuttir', + h: 'ein tími', + hh: '%d tímar', + d: 'ein dagur', + dd: '%d dagar', + M: 'ein mánaður', + MM: '%d mánaðir', + y: 'eitt ár', + yy: '%d ár', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/fr-ca.js b/node_modules/moment/dist/locale/fr-ca.js new file mode 100644 index 0000000..6187291 --- /dev/null +++ b/node_modules/moment/dist/locale/fr-ca.js @@ -0,0 +1,70 @@ +//! moment.js locale configuration +//! locale : French (Canada) [fr-ca] +//! author : Jonathan Abourbih : https://github.com/jonbca + +import moment from '../moment'; + +export default moment.defineLocale('fr-ca', { + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( + '_' + ), + monthsShort: + 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Aujourd’hui à] LT', + nextDay: '[Demain à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[Hier à] LT', + lastWeek: 'dddd [dernier à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + ss: '%d secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, + ordinal: function (number, period) { + switch (period) { + // Words with masculine grammatical gender: mois, trimestre, jour + default: + case 'M': + case 'Q': + case 'D': + case 'DDD': + case 'd': + return number + (number === 1 ? 'er' : 'e'); + + // Words with feminine grammatical gender: semaine + case 'w': + case 'W': + return number + (number === 1 ? 're' : 'e'); + } + }, +}); diff --git a/node_modules/moment/dist/locale/fr-ch.js b/node_modules/moment/dist/locale/fr-ch.js new file mode 100644 index 0000000..2cc90d8 --- /dev/null +++ b/node_modules/moment/dist/locale/fr-ch.js @@ -0,0 +1,74 @@ +//! moment.js locale configuration +//! locale : French (Switzerland) [fr-ch] +//! author : Gaspard Bucher : https://github.com/gaspard + +import moment from '../moment'; + +export default moment.defineLocale('fr-ch', { + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( + '_' + ), + monthsShort: + 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Aujourd’hui à] LT', + nextDay: '[Demain à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[Hier à] LT', + lastWeek: 'dddd [dernier à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + ss: '%d secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, + ordinal: function (number, period) { + switch (period) { + // Words with masculine grammatical gender: mois, trimestre, jour + default: + case 'M': + case 'Q': + case 'D': + case 'DDD': + case 'd': + return number + (number === 1 ? 'er' : 'e'); + + // Words with feminine grammatical gender: semaine + case 'w': + case 'W': + return number + (number === 1 ? 're' : 'e'); + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/fr.js b/node_modules/moment/dist/locale/fr.js new file mode 100644 index 0000000..a3afb4b --- /dev/null +++ b/node_modules/moment/dist/locale/fr.js @@ -0,0 +1,108 @@ +//! moment.js locale configuration +//! locale : French [fr] +//! author : John Fischer : https://github.com/jfroffice + +import moment from '../moment'; + +var monthsStrictRegex = + /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, + monthsShortStrictRegex = + /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i, + monthsRegex = + /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, + monthsParse = [ + /^janv/i, + /^févr/i, + /^mars/i, + /^avr/i, + /^mai/i, + /^juin/i, + /^juil/i, + /^août/i, + /^sept/i, + /^oct/i, + /^nov/i, + /^déc/i, + ]; + +export default moment.defineLocale('fr', { + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( + '_' + ), + monthsShort: + 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( + '_' + ), + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: monthsStrictRegex, + monthsShortStrictRegex: monthsShortStrictRegex, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Aujourd’hui à] LT', + nextDay: '[Demain à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[Hier à] LT', + lastWeek: 'dddd [dernier à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + ss: '%d secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + w: 'une semaine', + ww: '%d semaines', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(er|)/, + ordinal: function (number, period) { + switch (period) { + // TODO: Return 'e' when day of month > 1. Move this case inside + // block for masculine words below. + // See https://github.com/moment/moment/issues/3375 + case 'D': + return number + (number === 1 ? 'er' : ''); + + // Words with masculine grammatical gender: mois, trimestre, jour + default: + case 'M': + case 'Q': + case 'DDD': + case 'd': + return number + (number === 1 ? 'er' : 'e'); + + // Words with feminine grammatical gender: semaine + case 'w': + case 'W': + return number + (number === 1 ? 're' : 'e'); + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/fy.js b/node_modules/moment/dist/locale/fy.js new file mode 100644 index 0000000..4844587 --- /dev/null +++ b/node_modules/moment/dist/locale/fy.js @@ -0,0 +1,75 @@ +//! moment.js locale configuration +//! locale : Frisian [fy] +//! author : Robin van der Vliet : https://github.com/robin0van0der0v + +import moment from '../moment'; + +var monthsShortWithDots = + 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'), + monthsShortWithoutDots = + 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'); + +export default moment.defineLocale('fy', { + months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortWithDots; + } else if (/-MMM-/.test(format)) { + return monthsShortWithoutDots[m.month()]; + } else { + return monthsShortWithDots[m.month()]; + } + }, + monthsParseExact: true, + weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split( + '_' + ), + weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'), + weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[hjoed om] LT', + nextDay: '[moarn om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[juster om] LT', + lastWeek: '[ôfrûne] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'oer %s', + past: '%s lyn', + s: 'in pear sekonden', + ss: '%d sekonden', + m: 'ien minút', + mm: '%d minuten', + h: 'ien oere', + hh: '%d oeren', + d: 'ien dei', + dd: '%d dagen', + M: 'ien moanne', + MM: '%d moannen', + y: 'ien jier', + yy: '%d jierren', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ga.js b/node_modules/moment/dist/locale/ga.js new file mode 100644 index 0000000..7f36fb6 --- /dev/null +++ b/node_modules/moment/dist/locale/ga.js @@ -0,0 +1,95 @@ +//! moment.js locale configuration +//! locale : Irish or Irish Gaelic [ga] +//! author : André Silva : https://github.com/askpt + +import moment from '../moment'; + +var months = [ + 'Eanáir', + 'Feabhra', + 'Márta', + 'Aibreán', + 'Bealtaine', + 'Meitheamh', + 'Iúil', + 'Lúnasa', + 'Meán Fómhair', + 'Deireadh Fómhair', + 'Samhain', + 'Nollaig', + ], + monthsShort = [ + 'Ean', + 'Feabh', + 'Márt', + 'Aib', + 'Beal', + 'Meith', + 'Iúil', + 'Lún', + 'M.F.', + 'D.F.', + 'Samh', + 'Noll', + ], + weekdays = [ + 'Dé Domhnaigh', + 'Dé Luain', + 'Dé Máirt', + 'Dé Céadaoin', + 'Déardaoin', + 'Dé hAoine', + 'Dé Sathairn', + ], + weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'], + weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa']; + +export default moment.defineLocale('ga', { + months: months, + monthsShort: monthsShort, + monthsParseExact: true, + weekdays: weekdays, + weekdaysShort: weekdaysShort, + weekdaysMin: weekdaysMin, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Inniu ag] LT', + nextDay: '[Amárach ag] LT', + nextWeek: 'dddd [ag] LT', + lastDay: '[Inné ag] LT', + lastWeek: 'dddd [seo caite] [ag] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'i %s', + past: '%s ó shin', + s: 'cúpla soicind', + ss: '%d soicind', + m: 'nóiméad', + mm: '%d nóiméad', + h: 'uair an chloig', + hh: '%d uair an chloig', + d: 'lá', + dd: '%d lá', + M: 'mí', + MM: '%d míonna', + y: 'bliain', + yy: '%d bliain', + }, + dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/, + ordinal: function (number) { + var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/gd.js b/node_modules/moment/dist/locale/gd.js new file mode 100644 index 0000000..81f735b --- /dev/null +++ b/node_modules/moment/dist/locale/gd.js @@ -0,0 +1,95 @@ +//! moment.js locale configuration +//! locale : Scottish Gaelic [gd] +//! author : Jon Ashdown : https://github.com/jonashdown + +import moment from '../moment'; + +var months = [ + 'Am Faoilleach', + 'An Gearran', + 'Am Màrt', + 'An Giblean', + 'An Cèitean', + 'An t-Ògmhios', + 'An t-Iuchar', + 'An Lùnastal', + 'An t-Sultain', + 'An Dàmhair', + 'An t-Samhain', + 'An Dùbhlachd', + ], + monthsShort = [ + 'Faoi', + 'Gear', + 'Màrt', + 'Gibl', + 'Cèit', + 'Ògmh', + 'Iuch', + 'Lùn', + 'Sult', + 'Dàmh', + 'Samh', + 'Dùbh', + ], + weekdays = [ + 'Didòmhnaich', + 'Diluain', + 'Dimàirt', + 'Diciadain', + 'Diardaoin', + 'Dihaoine', + 'Disathairne', + ], + weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'], + weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa']; + +export default moment.defineLocale('gd', { + months: months, + monthsShort: monthsShort, + monthsParseExact: true, + weekdays: weekdays, + weekdaysShort: weekdaysShort, + weekdaysMin: weekdaysMin, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[An-diugh aig] LT', + nextDay: '[A-màireach aig] LT', + nextWeek: 'dddd [aig] LT', + lastDay: '[An-dè aig] LT', + lastWeek: 'dddd [seo chaidh] [aig] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ann an %s', + past: 'bho chionn %s', + s: 'beagan diogan', + ss: '%d diogan', + m: 'mionaid', + mm: '%d mionaidean', + h: 'uair', + hh: '%d uairean', + d: 'latha', + dd: '%d latha', + M: 'mìos', + MM: '%d mìosan', + y: 'bliadhna', + yy: '%d bliadhna', + }, + dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/, + ordinal: function (number) { + var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/gl.js b/node_modules/moment/dist/locale/gl.js new file mode 100644 index 0000000..980591c --- /dev/null +++ b/node_modules/moment/dist/locale/gl.js @@ -0,0 +1,75 @@ +//! moment.js locale configuration +//! locale : Galician [gl] +//! author : Juan G. Hurtado : https://github.com/juanghurtado + +import moment from '../moment'; + +export default moment.defineLocale('gl', { + months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split( + '_' + ), + monthsShort: + 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', + }, + calendar: { + sameDay: function () { + return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT'; + }, + nextDay: function () { + return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT'; + }, + nextWeek: function () { + return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT'; + }, + lastDay: function () { + return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT'; + }, + lastWeek: function () { + return ( + '[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: function (str) { + if (str.indexOf('un') === 0) { + return 'n' + str; + } + return 'en ' + str; + }, + past: 'hai %s', + s: 'uns segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'unha hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + M: 'un mes', + MM: '%d meses', + y: 'un ano', + yy: '%d anos', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/gom-deva.js b/node_modules/moment/dist/locale/gom-deva.js new file mode 100644 index 0000000..294e358 --- /dev/null +++ b/node_modules/moment/dist/locale/gom-deva.js @@ -0,0 +1,126 @@ +//! moment.js locale configuration +//! locale : Konkani Devanagari script [gom-deva] +//! author : The Discoverer : https://github.com/WikiDiscoverer + +import moment from '../moment'; + +function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + s: ['थोडया सॅकंडांनी', 'थोडे सॅकंड'], + ss: [number + ' सॅकंडांनी', number + ' सॅकंड'], + m: ['एका मिणटान', 'एक मिनूट'], + mm: [number + ' मिणटांनी', number + ' मिणटां'], + h: ['एका वरान', 'एक वर'], + hh: [number + ' वरांनी', number + ' वरां'], + d: ['एका दिसान', 'एक दीस'], + dd: [number + ' दिसांनी', number + ' दीस'], + M: ['एका म्हयन्यान', 'एक म्हयनो'], + MM: [number + ' म्हयन्यानी', number + ' म्हयने'], + y: ['एका वर्सान', 'एक वर्स'], + yy: [number + ' वर्सांनी', number + ' वर्सां'], + }; + return isFuture ? format[key][0] : format[key][1]; +} + +export default moment.defineLocale('gom-deva', { + months: { + standalone: + 'जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split( + '_' + ), + format: 'जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या'.split( + '_' + ), + isFormat: /MMMM(\s)+D[oD]?/, + }, + monthsShort: + 'जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार'.split('_'), + weekdaysShort: 'आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.'.split('_'), + weekdaysMin: 'आ_सो_मं_बु_ब्रे_सु_शे'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'A h:mm [वाजतां]', + LTS: 'A h:mm:ss [वाजतां]', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY A h:mm [वाजतां]', + LLLL: 'dddd, MMMM Do, YYYY, A h:mm [वाजतां]', + llll: 'ddd, D MMM YYYY, A h:mm [वाजतां]', + }, + calendar: { + sameDay: '[आयज] LT', + nextDay: '[फाल्यां] LT', + nextWeek: '[फुडलो] dddd[,] LT', + lastDay: '[काल] LT', + lastWeek: '[फाटलो] dddd[,] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s', + past: '%s आदीं', + s: processRelativeTime, + ss: processRelativeTime, + m: processRelativeTime, + mm: processRelativeTime, + h: processRelativeTime, + hh: processRelativeTime, + d: processRelativeTime, + dd: processRelativeTime, + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}(वेर)/, + ordinal: function (number, period) { + switch (period) { + // the ordinal 'वेर' only applies to day of the month + case 'D': + return number + 'वेर'; + default: + case 'M': + case 'Q': + case 'DDD': + case 'd': + case 'w': + case 'W': + return number; + } + }, + week: { + dow: 0, // Sunday is the first day of the week + doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4) + }, + meridiemParse: /राती|सकाळीं|दनपारां|सांजे/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'राती') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'सकाळीं') { + return hour; + } else if (meridiem === 'दनपारां') { + return hour > 12 ? hour : hour + 12; + } else if (meridiem === 'सांजे') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'राती'; + } else if (hour < 12) { + return 'सकाळीं'; + } else if (hour < 16) { + return 'दनपारां'; + } else if (hour < 20) { + return 'सांजे'; + } else { + return 'राती'; + } + }, +}); diff --git a/node_modules/moment/dist/locale/gom-latn.js b/node_modules/moment/dist/locale/gom-latn.js new file mode 100644 index 0000000..d237161 --- /dev/null +++ b/node_modules/moment/dist/locale/gom-latn.js @@ -0,0 +1,124 @@ +//! moment.js locale configuration +//! locale : Konkani Latin script [gom-latn] +//! author : The Discoverer : https://github.com/WikiDiscoverer + +import moment from '../moment'; + +function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + s: ['thoddea sekondamni', 'thodde sekond'], + ss: [number + ' sekondamni', number + ' sekond'], + m: ['eka mintan', 'ek minut'], + mm: [number + ' mintamni', number + ' mintam'], + h: ['eka voran', 'ek vor'], + hh: [number + ' voramni', number + ' voram'], + d: ['eka disan', 'ek dis'], + dd: [number + ' disamni', number + ' dis'], + M: ['eka mhoinean', 'ek mhoino'], + MM: [number + ' mhoineamni', number + ' mhoine'], + y: ['eka vorsan', 'ek voros'], + yy: [number + ' vorsamni', number + ' vorsam'], + }; + return isFuture ? format[key][0] : format[key][1]; +} + +export default moment.defineLocale('gom-latn', { + months: { + standalone: + 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split( + '_' + ), + format: 'Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea'.split( + '_' + ), + isFormat: /MMMM(\s)+D[oD]?/, + }, + monthsShort: + 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'), + monthsParseExact: true, + weekdays: "Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split('_'), + weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'), + weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'A h:mm [vazta]', + LTS: 'A h:mm:ss [vazta]', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY A h:mm [vazta]', + LLLL: 'dddd, MMMM Do, YYYY, A h:mm [vazta]', + llll: 'ddd, D MMM YYYY, A h:mm [vazta]', + }, + calendar: { + sameDay: '[Aiz] LT', + nextDay: '[Faleam] LT', + nextWeek: '[Fuddlo] dddd[,] LT', + lastDay: '[Kal] LT', + lastWeek: '[Fattlo] dddd[,] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s', + past: '%s adim', + s: processRelativeTime, + ss: processRelativeTime, + m: processRelativeTime, + mm: processRelativeTime, + h: processRelativeTime, + hh: processRelativeTime, + d: processRelativeTime, + dd: processRelativeTime, + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}(er)/, + ordinal: function (number, period) { + switch (period) { + // the ordinal 'er' only applies to day of the month + case 'D': + return number + 'er'; + default: + case 'M': + case 'Q': + case 'DDD': + case 'd': + case 'w': + case 'W': + return number; + } + }, + week: { + dow: 0, // Sunday is the first day of the week + doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4) + }, + meridiemParse: /rati|sokallim|donparam|sanje/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'rati') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'sokallim') { + return hour; + } else if (meridiem === 'donparam') { + return hour > 12 ? hour : hour + 12; + } else if (meridiem === 'sanje') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'rati'; + } else if (hour < 12) { + return 'sokallim'; + } else if (hour < 16) { + return 'donparam'; + } else if (hour < 20) { + return 'sanje'; + } else { + return 'rati'; + } + }, +}); diff --git a/node_modules/moment/dist/locale/gu.js b/node_modules/moment/dist/locale/gu.js new file mode 100644 index 0000000..d432d2c --- /dev/null +++ b/node_modules/moment/dist/locale/gu.js @@ -0,0 +1,122 @@ +//! moment.js locale configuration +//! locale : Gujarati [gu] +//! author : Kaushik Thanki : https://github.com/Kaushik1987 + +import moment from '../moment'; + +var symbolMap = { + 1: '૧', + 2: '૨', + 3: '૩', + 4: '૪', + 5: '૫', + 6: '૬', + 7: '૭', + 8: '૮', + 9: '૯', + 0: '૦', + }, + numberMap = { + '૧': '1', + '૨': '2', + '૩': '3', + '૪': '4', + '૫': '5', + '૬': '6', + '૭': '7', + '૮': '8', + '૯': '9', + '૦': '0', + }; + +export default moment.defineLocale('gu', { + months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split( + '_' + ), + monthsShort: + 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split( + '_' + ), + weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'), + weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'), + longDateFormat: { + LT: 'A h:mm વાગ્યે', + LTS: 'A h:mm:ss વાગ્યે', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm વાગ્યે', + LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે', + }, + calendar: { + sameDay: '[આજ] LT', + nextDay: '[કાલે] LT', + nextWeek: 'dddd, LT', + lastDay: '[ગઇકાલે] LT', + lastWeek: '[પાછલા] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s મા', + past: '%s પહેલા', + s: 'અમુક પળો', + ss: '%d સેકંડ', + m: 'એક મિનિટ', + mm: '%d મિનિટ', + h: 'એક કલાક', + hh: '%d કલાક', + d: 'એક દિવસ', + dd: '%d દિવસ', + M: 'એક મહિનો', + MM: '%d મહિનો', + y: 'એક વર્ષ', + yy: '%d વર્ષ', + }, + preparse: function (string) { + return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // Gujarati notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati. + meridiemParse: /રાત|બપોર|સવાર|સાંજ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'રાત') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'સવાર') { + return hour; + } else if (meridiem === 'બપોર') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'સાંજ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'રાત'; + } else if (hour < 10) { + return 'સવાર'; + } else if (hour < 17) { + return 'બપોર'; + } else if (hour < 20) { + return 'સાંજ'; + } else { + return 'રાત'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/he.js b/node_modules/moment/dist/locale/he.js new file mode 100644 index 0000000..08add2c --- /dev/null +++ b/node_modules/moment/dist/locale/he.js @@ -0,0 +1,94 @@ +//! moment.js locale configuration +//! locale : Hebrew [he] +//! author : Tomer Cohen : https://github.com/tomer +//! author : Moshe Simantov : https://github.com/DevelopmentIL +//! author : Tal Ater : https://github.com/TalAter + +import moment from '../moment'; + +export default moment.defineLocale('he', { + months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split( + '_' + ), + monthsShort: + 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'), + weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'), + weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'), + weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [ב]MMMM YYYY', + LLL: 'D [ב]MMMM YYYY HH:mm', + LLLL: 'dddd, D [ב]MMMM YYYY HH:mm', + l: 'D/M/YYYY', + ll: 'D MMM YYYY', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd, D MMM YYYY HH:mm', + }, + calendar: { + sameDay: '[היום ב־]LT', + nextDay: '[מחר ב־]LT', + nextWeek: 'dddd [בשעה] LT', + lastDay: '[אתמול ב־]LT', + lastWeek: '[ביום] dddd [האחרון בשעה] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'בעוד %s', + past: 'לפני %s', + s: 'מספר שניות', + ss: '%d שניות', + m: 'דקה', + mm: '%d דקות', + h: 'שעה', + hh: function (number) { + if (number === 2) { + return 'שעתיים'; + } + return number + ' שעות'; + }, + d: 'יום', + dd: function (number) { + if (number === 2) { + return 'יומיים'; + } + return number + ' ימים'; + }, + M: 'חודש', + MM: function (number) { + if (number === 2) { + return 'חודשיים'; + } + return number + ' חודשים'; + }, + y: 'שנה', + yy: function (number) { + if (number === 2) { + return 'שנתיים'; + } else if (number % 10 === 0 && number !== 10) { + return number + ' שנה'; + } + return number + ' שנים'; + }, + }, + meridiemParse: + /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i, + isPM: function (input) { + return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 5) { + return 'לפנות בוקר'; + } else if (hour < 10) { + return 'בבוקר'; + } else if (hour < 12) { + return isLower ? 'לפנה"צ' : 'לפני הצהריים'; + } else if (hour < 18) { + return isLower ? 'אחה"צ' : 'אחרי הצהריים'; + } else { + return 'בערב'; + } + }, +}); diff --git a/node_modules/moment/dist/locale/hi.js b/node_modules/moment/dist/locale/hi.js new file mode 100644 index 0000000..2e3a973 --- /dev/null +++ b/node_modules/moment/dist/locale/hi.js @@ -0,0 +1,168 @@ +//! moment.js locale configuration +//! locale : Hindi [hi] +//! author : Mayank Singhal : https://github.com/mayanksinghal + +import moment from '../moment'; + +var symbolMap = { + 1: '१', + 2: '२', + 3: '३', + 4: '४', + 5: '५', + 6: '६', + 7: '७', + 8: '८', + 9: '९', + 0: '०', + }, + numberMap = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0', + }, + monthsParse = [ + /^जन/i, + /^फ़र|फर/i, + /^मार्च/i, + /^अप्रै/i, + /^मई/i, + /^जून/i, + /^जुल/i, + /^अग/i, + /^सितं|सित/i, + /^अक्टू/i, + /^नव|नवं/i, + /^दिसं|दिस/i, + ], + shortMonthsParse = [ + /^जन/i, + /^फ़र/i, + /^मार्च/i, + /^अप्रै/i, + /^मई/i, + /^जून/i, + /^जुल/i, + /^अग/i, + /^सित/i, + /^अक्टू/i, + /^नव/i, + /^दिस/i, + ]; + +export default moment.defineLocale('hi', { + months: { + format: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split( + '_' + ), + standalone: + 'जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर'.split( + '_' + ), + }, + monthsShort: + 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'), + weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'), + weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'), + longDateFormat: { + LT: 'A h:mm बजे', + LTS: 'A h:mm:ss बजे', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm बजे', + LLLL: 'dddd, D MMMM YYYY, A h:mm बजे', + }, + + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: shortMonthsParse, + + monthsRegex: + /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i, + + monthsShortRegex: + /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i, + + monthsStrictRegex: + /^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i, + + monthsShortStrictRegex: + /^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i, + + calendar: { + sameDay: '[आज] LT', + nextDay: '[कल] LT', + nextWeek: 'dddd, LT', + lastDay: '[कल] LT', + lastWeek: '[पिछले] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s में', + past: '%s पहले', + s: 'कुछ ही क्षण', + ss: '%d सेकंड', + m: 'एक मिनट', + mm: '%d मिनट', + h: 'एक घंटा', + hh: '%d घंटे', + d: 'एक दिन', + dd: '%d दिन', + M: 'एक महीने', + MM: '%d महीने', + y: 'एक वर्ष', + yy: '%d वर्ष', + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // Hindi notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi. + meridiemParse: /रात|सुबह|दोपहर|शाम/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'रात') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'सुबह') { + return hour; + } else if (meridiem === 'दोपहर') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'शाम') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'रात'; + } else if (hour < 10) { + return 'सुबह'; + } else if (hour < 17) { + return 'दोपहर'; + } else if (hour < 20) { + return 'शाम'; + } else { + return 'रात'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/hr.js b/node_modules/moment/dist/locale/hr.js new file mode 100644 index 0000000..48c1e9e --- /dev/null +++ b/node_modules/moment/dist/locale/hr.js @@ -0,0 +1,156 @@ +//! moment.js locale configuration +//! locale : Croatian [hr] +//! author : Bojan Marković : https://github.com/bmarkovic + +import moment from '../moment'; + +function translate(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'ss': + if (number === 1) { + result += 'sekunda'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sekunde'; + } else { + result += 'sekundi'; + } + return result; + case 'm': + return withoutSuffix ? 'jedna minuta' : 'jedne minute'; + case 'mm': + if (number === 1) { + result += 'minuta'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'minute'; + } else { + result += 'minuta'; + } + return result; + case 'h': + return withoutSuffix ? 'jedan sat' : 'jednog sata'; + case 'hh': + if (number === 1) { + result += 'sat'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sata'; + } else { + result += 'sati'; + } + return result; + case 'dd': + if (number === 1) { + result += 'dan'; + } else { + result += 'dana'; + } + return result; + case 'MM': + if (number === 1) { + result += 'mjesec'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'mjeseca'; + } else { + result += 'mjeseci'; + } + return result; + case 'yy': + if (number === 1) { + result += 'godina'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'godine'; + } else { + result += 'godina'; + } + return result; + } +} + +export default moment.defineLocale('hr', { + months: { + format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split( + '_' + ), + standalone: + 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split( + '_' + ), + }, + monthsShort: + 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( + '_' + ), + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'Do MMMM YYYY', + LLL: 'Do MMMM YYYY H:mm', + LLLL: 'dddd, Do MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sutra u] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay: '[jučer u] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[prošlu] [nedjelju] [u] LT'; + case 3: + return '[prošlu] [srijedu] [u] LT'; + case 6: + return '[prošle] [subote] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prošli] dddd [u] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'prije %s', + s: 'par sekundi', + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: 'dan', + dd: translate, + M: 'mjesec', + MM: translate, + y: 'godinu', + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/hu.js b/node_modules/moment/dist/locale/hu.js new file mode 100644 index 0000000..f2f5981 --- /dev/null +++ b/node_modules/moment/dist/locale/hu.js @@ -0,0 +1,118 @@ +//! moment.js locale configuration +//! locale : Hungarian [hu] +//! author : Adam Brunner : https://github.com/adambrunner +//! author : Peter Viszt : https://github.com/passatgt + +import moment from '../moment'; + +var weekEndings = + 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' '); +function translate(number, withoutSuffix, key, isFuture) { + var num = number; + switch (key) { + case 's': + return isFuture || withoutSuffix + ? 'néhány másodperc' + : 'néhány másodperce'; + case 'ss': + return num + (isFuture || withoutSuffix) + ? ' másodperc' + : ' másodperce'; + case 'm': + return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce'); + case 'mm': + return num + (isFuture || withoutSuffix ? ' perc' : ' perce'); + case 'h': + return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája'); + case 'hh': + return num + (isFuture || withoutSuffix ? ' óra' : ' órája'); + case 'd': + return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja'); + case 'dd': + return num + (isFuture || withoutSuffix ? ' nap' : ' napja'); + case 'M': + return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); + case 'MM': + return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); + case 'y': + return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve'); + case 'yy': + return num + (isFuture || withoutSuffix ? ' év' : ' éve'); + } + return ''; +} +function week(isFuture) { + return ( + (isFuture ? '' : '[múlt] ') + + '[' + + weekEndings[this.day()] + + '] LT[-kor]' + ); +} + +export default moment.defineLocale('hu', { + months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split( + '_' + ), + monthsShort: + 'jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'), + weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'), + weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'YYYY.MM.DD.', + LL: 'YYYY. MMMM D.', + LLL: 'YYYY. MMMM D. H:mm', + LLLL: 'YYYY. MMMM D., dddd H:mm', + }, + meridiemParse: /de|du/i, + isPM: function (input) { + return input.charAt(1).toLowerCase() === 'u'; + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower === true ? 'de' : 'DE'; + } else { + return isLower === true ? 'du' : 'DU'; + } + }, + calendar: { + sameDay: '[ma] LT[-kor]', + nextDay: '[holnap] LT[-kor]', + nextWeek: function () { + return week.call(this, true); + }, + lastDay: '[tegnap] LT[-kor]', + lastWeek: function () { + return week.call(this, false); + }, + sameElse: 'L', + }, + relativeTime: { + future: '%s múlva', + past: '%s', + s: translate, + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/hy-am.js b/node_modules/moment/dist/locale/hy-am.js new file mode 100644 index 0000000..283cfbd --- /dev/null +++ b/node_modules/moment/dist/locale/hy-am.js @@ -0,0 +1,94 @@ +//! moment.js locale configuration +//! locale : Armenian [hy-am] +//! author : Armendarabyan : https://github.com/armendarabyan + +import moment from '../moment'; + +export default moment.defineLocale('hy-am', { + months: { + format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split( + '_' + ), + standalone: + 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split( + '_' + ), + }, + monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'), + weekdays: + 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split( + '_' + ), + weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), + weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY թ.', + LLL: 'D MMMM YYYY թ., HH:mm', + LLLL: 'dddd, D MMMM YYYY թ., HH:mm', + }, + calendar: { + sameDay: '[այսօր] LT', + nextDay: '[վաղը] LT', + lastDay: '[երեկ] LT', + nextWeek: function () { + return 'dddd [օրը ժամը] LT'; + }, + lastWeek: function () { + return '[անցած] dddd [օրը ժամը] LT'; + }, + sameElse: 'L', + }, + relativeTime: { + future: '%s հետո', + past: '%s առաջ', + s: 'մի քանի վայրկյան', + ss: '%d վայրկյան', + m: 'րոպե', + mm: '%d րոպե', + h: 'ժամ', + hh: '%d ժամ', + d: 'օր', + dd: '%d օր', + M: 'ամիս', + MM: '%d ամիս', + y: 'տարի', + yy: '%d տարի', + }, + meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/, + isPM: function (input) { + return /^(ցերեկվա|երեկոյան)$/.test(input); + }, + meridiem: function (hour) { + if (hour < 4) { + return 'գիշերվա'; + } else if (hour < 12) { + return 'առավոտվա'; + } else if (hour < 17) { + return 'ցերեկվա'; + } else { + return 'երեկոյան'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/, + ordinal: function (number, period) { + switch (period) { + case 'DDD': + case 'w': + case 'W': + case 'DDDo': + if (number === 1) { + return number + '-ին'; + } + return number + '-րդ'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/id.js b/node_modules/moment/dist/locale/id.js new file mode 100644 index 0000000..3260e1c --- /dev/null +++ b/node_modules/moment/dist/locale/id.js @@ -0,0 +1,76 @@ +//! moment.js locale configuration +//! locale : Indonesian [id] +//! author : Mohammad Satrio Utomo : https://github.com/tyok +//! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan + +import moment from '../moment'; + +export default moment.defineLocale('id', { + months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'), + weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'), + weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'), + weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /pagi|siang|sore|malam/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'siang') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'sore' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'siang'; + } else if (hours < 19) { + return 'sore'; + } else { + return 'malam'; + } + }, + calendar: { + sameDay: '[Hari ini pukul] LT', + nextDay: '[Besok pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kemarin pukul] LT', + lastWeek: 'dddd [lalu pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lalu', + s: 'beberapa detik', + ss: '%d detik', + m: 'semenit', + mm: '%d menit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun', + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/is.js b/node_modules/moment/dist/locale/is.js new file mode 100644 index 0000000..d2c6f47 --- /dev/null +++ b/node_modules/moment/dist/locale/is.js @@ -0,0 +1,140 @@ +//! moment.js locale configuration +//! locale : Icelandic [is] +//! author : Hinrik Örn Sigurðsson : https://github.com/hinrik + +import moment from '../moment'; + +function plural(n) { + if (n % 100 === 11) { + return true; + } else if (n % 10 === 1) { + return false; + } + return true; +} +function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': + return withoutSuffix || isFuture + ? 'nokkrar sekúndur' + : 'nokkrum sekúndum'; + case 'ss': + if (plural(number)) { + return ( + result + + (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum') + ); + } + return result + 'sekúnda'; + case 'm': + return withoutSuffix ? 'mínúta' : 'mínútu'; + case 'mm': + if (plural(number)) { + return ( + result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum') + ); + } else if (withoutSuffix) { + return result + 'mínúta'; + } + return result + 'mínútu'; + case 'hh': + if (plural(number)) { + return ( + result + + (withoutSuffix || isFuture + ? 'klukkustundir' + : 'klukkustundum') + ); + } + return result + 'klukkustund'; + case 'd': + if (withoutSuffix) { + return 'dagur'; + } + return isFuture ? 'dag' : 'degi'; + case 'dd': + if (plural(number)) { + if (withoutSuffix) { + return result + 'dagar'; + } + return result + (isFuture ? 'daga' : 'dögum'); + } else if (withoutSuffix) { + return result + 'dagur'; + } + return result + (isFuture ? 'dag' : 'degi'); + case 'M': + if (withoutSuffix) { + return 'mánuður'; + } + return isFuture ? 'mánuð' : 'mánuði'; + case 'MM': + if (plural(number)) { + if (withoutSuffix) { + return result + 'mánuðir'; + } + return result + (isFuture ? 'mánuði' : 'mánuðum'); + } else if (withoutSuffix) { + return result + 'mánuður'; + } + return result + (isFuture ? 'mánuð' : 'mánuði'); + case 'y': + return withoutSuffix || isFuture ? 'ár' : 'ári'; + case 'yy': + if (plural(number)) { + return result + (withoutSuffix || isFuture ? 'ár' : 'árum'); + } + return result + (withoutSuffix || isFuture ? 'ár' : 'ári'); + } +} + +export default moment.defineLocale('is', { + months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'), + weekdays: + 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split( + '_' + ), + weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'), + weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] H:mm', + LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm', + }, + calendar: { + sameDay: '[í dag kl.] LT', + nextDay: '[á morgun kl.] LT', + nextWeek: 'dddd [kl.] LT', + lastDay: '[í gær kl.] LT', + lastWeek: '[síðasta] dddd [kl.] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'eftir %s', + past: 'fyrir %s síðan', + s: translate, + ss: translate, + m: translate, + mm: translate, + h: 'klukkustund', + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/it-ch.js b/node_modules/moment/dist/locale/it-ch.js new file mode 100644 index 0000000..3437453 --- /dev/null +++ b/node_modules/moment/dist/locale/it-ch.js @@ -0,0 +1,64 @@ +//! moment.js locale configuration +//! locale : Italian (Switzerland) [it-ch] +//! author : xfh : https://github.com/xfh + +import moment from '../moment'; + +export default moment.defineLocale('it-ch', { + months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split( + '_' + ), + monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), + weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split( + '_' + ), + weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'), + weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Oggi alle] LT', + nextDay: '[Domani alle] LT', + nextWeek: 'dddd [alle] LT', + lastDay: '[Ieri alle] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[la scorsa] dddd [alle] LT'; + default: + return '[lo scorso] dddd [alle] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: function (s) { + return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s; + }, + past: '%s fa', + s: 'alcuni secondi', + ss: '%d secondi', + m: 'un minuto', + mm: '%d minuti', + h: "un'ora", + hh: '%d ore', + d: 'un giorno', + dd: '%d giorni', + M: 'un mese', + MM: '%d mesi', + y: 'un anno', + yy: '%d anni', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/it.js b/node_modules/moment/dist/locale/it.js new file mode 100644 index 0000000..0aa5721 --- /dev/null +++ b/node_modules/moment/dist/locale/it.js @@ -0,0 +1,106 @@ +//! moment.js locale configuration +//! locale : Italian [it] +//! author : Lorenzo : https://github.com/aliem +//! author: Mattia Larentis: https://github.com/nostalgiaz +//! author: Marco : https://github.com/Manfre98 + +import moment from '../moment'; + +export default moment.defineLocale('it', { + months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split( + '_' + ), + monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), + weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split( + '_' + ), + weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'), + weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: function () { + return ( + '[Oggi a' + + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + + ']LT' + ); + }, + nextDay: function () { + return ( + '[Domani a' + + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + + ']LT' + ); + }, + nextWeek: function () { + return ( + 'dddd [a' + + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + + ']LT' + ); + }, + lastDay: function () { + return ( + '[Ieri a' + + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + + ']LT' + ); + }, + lastWeek: function () { + switch (this.day()) { + case 0: + return ( + '[La scorsa] dddd [a' + + (this.hours() > 1 + ? 'lle ' + : this.hours() === 0 + ? ' ' + : "ll'") + + ']LT' + ); + default: + return ( + '[Lo scorso] dddd [a' + + (this.hours() > 1 + ? 'lle ' + : this.hours() === 0 + ? ' ' + : "ll'") + + ']LT' + ); + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'tra %s', + past: '%s fa', + s: 'alcuni secondi', + ss: '%d secondi', + m: 'un minuto', + mm: '%d minuti', + h: "un'ora", + hh: '%d ore', + d: 'un giorno', + dd: '%d giorni', + w: 'una settimana', + ww: '%d settimane', + M: 'un mese', + MM: '%d mesi', + y: 'un anno', + yy: '%d anni', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ja.js b/node_modules/moment/dist/locale/ja.js new file mode 100644 index 0000000..abe921a --- /dev/null +++ b/node_modules/moment/dist/locale/ja.js @@ -0,0 +1,148 @@ +//! moment.js locale configuration +//! locale : Japanese [ja] +//! author : LI Long : https://github.com/baryon + +import moment from '../moment'; + +export default moment.defineLocale('ja', { + eras: [ + { + since: '2019-05-01', + offset: 1, + name: '令和', + narrow: '㋿', + abbr: 'R', + }, + { + since: '1989-01-08', + until: '2019-04-30', + offset: 1, + name: '平成', + narrow: '㍻', + abbr: 'H', + }, + { + since: '1926-12-25', + until: '1989-01-07', + offset: 1, + name: '昭和', + narrow: '㍼', + abbr: 'S', + }, + { + since: '1912-07-30', + until: '1926-12-24', + offset: 1, + name: '大正', + narrow: '㍽', + abbr: 'T', + }, + { + since: '1873-01-01', + until: '1912-07-29', + offset: 6, + name: '明治', + narrow: '㍾', + abbr: 'M', + }, + { + since: '0001-01-01', + until: '1873-12-31', + offset: 1, + name: '西暦', + narrow: 'AD', + abbr: 'AD', + }, + { + since: '0000-12-31', + until: -Infinity, + offset: 1, + name: '紀元前', + narrow: 'BC', + abbr: 'BC', + }, + ], + eraYearOrdinalRegex: /(元|\d+)年/, + eraYearOrdinalParse: function (input, match) { + return match[1] === '元' ? 1 : parseInt(match[1] || input, 10); + }, + months: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'), + weekdaysShort: '日_月_火_水_木_金_土'.split('_'), + weekdaysMin: '日_月_火_水_木_金_土'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日 dddd HH:mm', + l: 'YYYY/MM/DD', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日(ddd) HH:mm', + }, + meridiemParse: /午前|午後/i, + isPM: function (input) { + return input === '午後'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return '午前'; + } else { + return '午後'; + } + }, + calendar: { + sameDay: '[今日] LT', + nextDay: '[明日] LT', + nextWeek: function (now) { + if (now.week() !== this.week()) { + return '[来週]dddd LT'; + } else { + return 'dddd LT'; + } + }, + lastDay: '[昨日] LT', + lastWeek: function (now) { + if (this.week() !== now.week()) { + return '[先週]dddd LT'; + } else { + return 'dddd LT'; + } + }, + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}日/, + ordinal: function (number, period) { + switch (period) { + case 'y': + return number === 1 ? '元年' : number + '年'; + case 'd': + case 'D': + case 'DDD': + return number + '日'; + default: + return number; + } + }, + relativeTime: { + future: '%s後', + past: '%s前', + s: '数秒', + ss: '%d秒', + m: '1分', + mm: '%d分', + h: '1時間', + hh: '%d時間', + d: '1日', + dd: '%d日', + M: '1ヶ月', + MM: '%dヶ月', + y: '1年', + yy: '%d年', + }, +}); diff --git a/node_modules/moment/dist/locale/jv.js b/node_modules/moment/dist/locale/jv.js new file mode 100644 index 0000000..b52f48d --- /dev/null +++ b/node_modules/moment/dist/locale/jv.js @@ -0,0 +1,76 @@ +//! moment.js locale configuration +//! locale : Javanese [jv] +//! author : Rony Lantip : https://github.com/lantip +//! reference: http://jv.wikipedia.org/wiki/Basa_Jawa + +import moment from '../moment'; + +export default moment.defineLocale('jv', { + months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'), + weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'), + weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'), + weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /enjing|siyang|sonten|ndalu/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'enjing') { + return hour; + } else if (meridiem === 'siyang') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'sonten' || meridiem === 'ndalu') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'enjing'; + } else if (hours < 15) { + return 'siyang'; + } else if (hours < 19) { + return 'sonten'; + } else { + return 'ndalu'; + } + }, + calendar: { + sameDay: '[Dinten puniko pukul] LT', + nextDay: '[Mbenjang pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kala wingi pukul] LT', + lastWeek: 'dddd [kepengker pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'wonten ing %s', + past: '%s ingkang kepengker', + s: 'sawetawis detik', + ss: '%d detik', + m: 'setunggal menit', + mm: '%d menit', + h: 'setunggal jam', + hh: '%d jam', + d: 'sedinten', + dd: '%d dinten', + M: 'sewulan', + MM: '%d wulan', + y: 'setaun', + yy: '%d taun', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ka.js b/node_modules/moment/dist/locale/ka.js new file mode 100644 index 0000000..15b6ead --- /dev/null +++ b/node_modules/moment/dist/locale/ka.js @@ -0,0 +1,92 @@ +//! moment.js locale configuration +//! locale : Georgian [ka] +//! author : Irakli Janiashvili : https://github.com/IrakliJani + +import moment from '../moment'; + +export default moment.defineLocale('ka', { + months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split( + '_' + ), + monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'), + weekdays: { + standalone: + 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split( + '_' + ), + format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split( + '_' + ), + isFormat: /(წინა|შემდეგ)/, + }, + weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'), + weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[დღეს] LT[-ზე]', + nextDay: '[ხვალ] LT[-ზე]', + lastDay: '[გუშინ] LT[-ზე]', + nextWeek: '[შემდეგ] dddd LT[-ზე]', + lastWeek: '[წინა] dddd LT-ზე', + sameElse: 'L', + }, + relativeTime: { + future: function (s) { + return s.replace( + /(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/, + function ($0, $1, $2) { + return $2 === 'ი' ? $1 + 'ში' : $1 + $2 + 'ში'; + } + ); + }, + past: function (s) { + if (/(წამი|წუთი|საათი|დღე|თვე)/.test(s)) { + return s.replace(/(ი|ე)$/, 'ის წინ'); + } + if (/წელი/.test(s)) { + return s.replace(/წელი$/, 'წლის წინ'); + } + return s; + }, + s: 'რამდენიმე წამი', + ss: '%d წამი', + m: 'წუთი', + mm: '%d წუთი', + h: 'საათი', + hh: '%d საათი', + d: 'დღე', + dd: '%d დღე', + M: 'თვე', + MM: '%d თვე', + y: 'წელი', + yy: '%d წელი', + }, + dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/, + ordinal: function (number) { + if (number === 0) { + return number; + } + if (number === 1) { + return number + '-ლი'; + } + if ( + number < 20 || + (number <= 100 && number % 20 === 0) || + number % 100 === 0 + ) { + return 'მე-' + number; + } + return number + '-ე'; + }, + week: { + dow: 1, + doy: 7, + }, +}); diff --git a/node_modules/moment/dist/locale/kk.js b/node_modules/moment/dist/locale/kk.js new file mode 100644 index 0000000..9cab152 --- /dev/null +++ b/node_modules/moment/dist/locale/kk.js @@ -0,0 +1,82 @@ +//! moment.js locale configuration +//! locale : Kazakh [kk] +//! authors : Nurlan Rakhimzhanov : https://github.com/nurlan + +import moment from '../moment'; + +var suffixes = { + 0: '-ші', + 1: '-ші', + 2: '-ші', + 3: '-ші', + 4: '-ші', + 5: '-ші', + 6: '-шы', + 7: '-ші', + 8: '-ші', + 9: '-шы', + 10: '-шы', + 20: '-шы', + 30: '-шы', + 40: '-шы', + 50: '-ші', + 60: '-шы', + 70: '-ші', + 80: '-ші', + 90: '-шы', + 100: '-ші', +}; + +export default moment.defineLocale('kk', { + months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split( + '_' + ), + monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'), + weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split( + '_' + ), + weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'), + weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Бүгін сағат] LT', + nextDay: '[Ертең сағат] LT', + nextWeek: 'dddd [сағат] LT', + lastDay: '[Кеше сағат] LT', + lastWeek: '[Өткен аптаның] dddd [сағат] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ішінде', + past: '%s бұрын', + s: 'бірнеше секунд', + ss: '%d секунд', + m: 'бір минут', + mm: '%d минут', + h: 'бір сағат', + hh: '%d сағат', + d: 'бір күн', + dd: '%d күн', + M: 'бір ай', + MM: '%d ай', + y: 'бір жыл', + yy: '%d жыл', + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/, + ordinal: function (number) { + var a = number % 10, + b = number >= 100 ? 100 : null; + return number + (suffixes[number] || suffixes[a] || suffixes[b]); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/km.js b/node_modules/moment/dist/locale/km.js new file mode 100644 index 0000000..984c4dc --- /dev/null +++ b/node_modules/moment/dist/locale/km.js @@ -0,0 +1,103 @@ +//! moment.js locale configuration +//! locale : Cambodian [km] +//! author : Kruy Vanna : https://github.com/kruyvanna + +import moment from '../moment'; + +var symbolMap = { + 1: '១', + 2: '២', + 3: '៣', + 4: '៤', + 5: '៥', + 6: '៦', + 7: '៧', + 8: '៨', + 9: '៩', + 0: '០', + }, + numberMap = { + '១': '1', + '២': '2', + '៣': '3', + '៤': '4', + '៥': '5', + '៦': '6', + '៧': '7', + '៨': '8', + '៩': '9', + '០': '0', + }; + +export default moment.defineLocale('km', { + months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split( + '_' + ), + monthsShort: + 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split( + '_' + ), + weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), + weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'), + weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + meridiemParse: /ព្រឹក|ល្ងាច/, + isPM: function (input) { + return input === 'ល្ងាច'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ព្រឹក'; + } else { + return 'ល្ងាច'; + } + }, + calendar: { + sameDay: '[ថ្ងៃនេះ ម៉ោង] LT', + nextDay: '[ស្អែក ម៉ោង] LT', + nextWeek: 'dddd [ម៉ោង] LT', + lastDay: '[ម្សិលមិញ ម៉ោង] LT', + lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%sទៀត', + past: '%sមុន', + s: 'ប៉ុន្មានវិនាទី', + ss: '%d វិនាទី', + m: 'មួយនាទី', + mm: '%d នាទី', + h: 'មួយម៉ោង', + hh: '%d ម៉ោង', + d: 'មួយថ្ងៃ', + dd: '%d ថ្ងៃ', + M: 'មួយខែ', + MM: '%d ខែ', + y: 'មួយឆ្នាំ', + yy: '%d ឆ្នាំ', + }, + dayOfMonthOrdinalParse: /ទី\d{1,2}/, + ordinal: 'ទី%d', + preparse: function (string) { + return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/kn.js b/node_modules/moment/dist/locale/kn.js new file mode 100644 index 0000000..e7cb354 --- /dev/null +++ b/node_modules/moment/dist/locale/kn.js @@ -0,0 +1,124 @@ +//! moment.js locale configuration +//! locale : Kannada [kn] +//! author : Rajeev Naik : https://github.com/rajeevnaikte + +import moment from '../moment'; + +var symbolMap = { + 1: '೧', + 2: '೨', + 3: '೩', + 4: '೪', + 5: '೫', + 6: '೬', + 7: '೭', + 8: '೮', + 9: '೯', + 0: '೦', + }, + numberMap = { + '೧': '1', + '೨': '2', + '೩': '3', + '೪': '4', + '೫': '5', + '೬': '6', + '೭': '7', + '೮': '8', + '೯': '9', + '೦': '0', + }; + +export default moment.defineLocale('kn', { + months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split( + '_' + ), + monthsShort: + 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split( + '_' + ), + weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'), + weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm', + }, + calendar: { + sameDay: '[ಇಂದು] LT', + nextDay: '[ನಾಳೆ] LT', + nextWeek: 'dddd, LT', + lastDay: '[ನಿನ್ನೆ] LT', + lastWeek: '[ಕೊನೆಯ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ನಂತರ', + past: '%s ಹಿಂದೆ', + s: 'ಕೆಲವು ಕ್ಷಣಗಳು', + ss: '%d ಸೆಕೆಂಡುಗಳು', + m: 'ಒಂದು ನಿಮಿಷ', + mm: '%d ನಿಮಿಷ', + h: 'ಒಂದು ಗಂಟೆ', + hh: '%d ಗಂಟೆ', + d: 'ಒಂದು ದಿನ', + dd: '%d ದಿನ', + M: 'ಒಂದು ತಿಂಗಳು', + MM: '%d ತಿಂಗಳು', + y: 'ಒಂದು ವರ್ಷ', + yy: '%d ವರ್ಷ', + }, + preparse: function (string) { + return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ರಾತ್ರಿ') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') { + return hour; + } else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'ಸಂಜೆ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ರಾತ್ರಿ'; + } else if (hour < 10) { + return 'ಬೆಳಿಗ್ಗೆ'; + } else if (hour < 17) { + return 'ಮಧ್ಯಾಹ್ನ'; + } else if (hour < 20) { + return 'ಸಂಜೆ'; + } else { + return 'ರಾತ್ರಿ'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}(ನೇ)/, + ordinal: function (number) { + return number + 'ನೇ'; + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ko.js b/node_modules/moment/dist/locale/ko.js new file mode 100644 index 0000000..c45f3e3 --- /dev/null +++ b/node_modules/moment/dist/locale/ko.js @@ -0,0 +1,75 @@ +//! moment.js locale configuration +//! locale : Korean [ko] +//! author : Kyungwook, Park : https://github.com/kyungw00k +//! author : Jeeeyul Lee + +import moment from '../moment'; + +export default moment.defineLocale('ko', { + months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), + monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split( + '_' + ), + weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'), + weekdaysShort: '일_월_화_수_목_금_토'.split('_'), + weekdaysMin: '일_월_화_수_목_금_토'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'YYYY.MM.DD.', + LL: 'YYYY년 MMMM D일', + LLL: 'YYYY년 MMMM D일 A h:mm', + LLLL: 'YYYY년 MMMM D일 dddd A h:mm', + l: 'YYYY.MM.DD.', + ll: 'YYYY년 MMMM D일', + lll: 'YYYY년 MMMM D일 A h:mm', + llll: 'YYYY년 MMMM D일 dddd A h:mm', + }, + calendar: { + sameDay: '오늘 LT', + nextDay: '내일 LT', + nextWeek: 'dddd LT', + lastDay: '어제 LT', + lastWeek: '지난주 dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s 후', + past: '%s 전', + s: '몇 초', + ss: '%d초', + m: '1분', + mm: '%d분', + h: '한 시간', + hh: '%d시간', + d: '하루', + dd: '%d일', + M: '한 달', + MM: '%d달', + y: '일 년', + yy: '%d년', + }, + dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '일'; + case 'M': + return number + '월'; + case 'w': + case 'W': + return number + '주'; + default: + return number; + } + }, + meridiemParse: /오전|오후/, + isPM: function (token) { + return token === '오후'; + }, + meridiem: function (hour, minute, isUpper) { + return hour < 12 ? '오전' : '오후'; + }, +}); diff --git a/node_modules/moment/dist/locale/ku-kmr.js b/node_modules/moment/dist/locale/ku-kmr.js new file mode 100644 index 0000000..87ad603 --- /dev/null +++ b/node_modules/moment/dist/locale/ku-kmr.js @@ -0,0 +1,121 @@ +//! moment.js locale configuration +//! locale : Northern Kurdish [ku-kmr] +//! authors : Mazlum Özdogan : https://github.com/mergehez + +// All rules except for month names are according to +// the spelling rules which are defined in the book 'Rêbera Rastnivîsînê' from Komxebata Kurmancîyê. +// Komxebata Kurmancîyê is a work group that studied different uses in Kurdish language (Kurmanji/Northern Kurdish), +// chose one of alternatives as standard and publish them via their book. +// There are 18 Kurdish linguists in the group. +// The group was formed by Mesopotamia Foundation + +import moment from '../moment'; + +function processRelativeTime(num, withoutSuffix, key, isFuture) { + var format = { + s: ['çend sanîye', 'çend sanîyeyan'], + ss: [num + ' sanîye', num + ' sanîyeyan'], + m: ['deqîqeyek', 'deqîqeyekê'], + mm: [num + ' deqîqe', num + ' deqîqeyan'], + h: ['saetek', 'saetekê'], + hh: [num + ' saet', num + ' saetan'], + d: ['rojek', 'rojekê'], + dd: [num + ' roj', num + ' rojan'], + w: ['hefteyek', 'hefteyekê'], + ww: [num + ' hefte', num + ' hefteyan'], + M: ['mehek', 'mehekê'], + MM: [num + ' meh', num + ' mehan'], + y: ['salek', 'salekê'], + yy: [num + ' sal', num + ' salan'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; +} +// function obliqueNumSuffix(num) { +// if(num.includes(':')) +// num = parseInt(num.split(':')[0]); +// else +// num = parseInt(num); +// return num == 0 || num % 10 == 1 ? 'ê' +// : (num > 10 && num % 10 == 0 ? 'î' : 'an'); +// } +function ezafeNumSuffix(num) { + num = '' + num; + var l = num.substring(num.length - 1), + ll = num.length > 1 ? num.substring(num.length - 2) : ''; + if ( + !(ll == 12 || ll == 13) && + (l == '2' || l == '3' || ll == '50' || l == '70' || l == '80') + ) + return 'yê'; + return 'ê'; +} + +export default moment.defineLocale('ku-kmr', { + // According to the spelling rules defined by the work group of Weqfa Mezopotamyayê (Mesopotamia Foundation) + // this should be: 'Kanûna Paşîn_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Çirîya Pêşîn_Çirîya Paşîn_Kanûna Pêşîn' + // But the names below are more well known and handy + months: 'Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar'.split( + '_' + ), + monthsShort: 'Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber'.split('_'), + monthsParseExact: true, + weekdays: 'Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî'.split('_'), + weekdaysShort: 'Yek_Du_Sê_Çar_Pên_În_Şem'.split('_'), + weekdaysMin: 'Ye_Du_Sê_Ça_Pê_În_Şe'.split('_'), + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'bn' : 'BN'; + } else { + return isLower ? 'pn' : 'PN'; + } + }, + meridiemParse: /bn|BN|pn|PN/, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'Do MMMM[a] YYYY[an]', + LLL: 'Do MMMM[a] YYYY[an] HH:mm', + LLLL: 'dddd, Do MMMM[a] YYYY[an] HH:mm', + ll: 'Do MMM[.] YYYY[an]', + lll: 'Do MMM[.] YYYY[an] HH:mm', + llll: 'ddd[.], Do MMM[.] YYYY[an] HH:mm', + }, + calendar: { + sameDay: '[Îro di saet] LT [de]', + nextDay: '[Sibê di saet] LT [de]', + nextWeek: 'dddd [di saet] LT [de]', + lastDay: '[Duh di saet] LT [de]', + lastWeek: 'dddd[a borî di saet] LT [de]', + sameElse: 'L', + }, + relativeTime: { + future: 'di %s de', + past: 'berî %s', + s: processRelativeTime, + ss: processRelativeTime, + m: processRelativeTime, + mm: processRelativeTime, + h: processRelativeTime, + hh: processRelativeTime, + d: processRelativeTime, + dd: processRelativeTime, + w: processRelativeTime, + ww: processRelativeTime, + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}(?:yê|ê|\.)/, + ordinal: function (num, period) { + var p = period.toLowerCase(); + if (p.includes('w') || p.includes('m')) return num + '.'; + + return num + ezafeNumSuffix(num); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ku.js b/node_modules/moment/dist/locale/ku.js new file mode 100644 index 0000000..e705f01 --- /dev/null +++ b/node_modules/moment/dist/locale/ku.js @@ -0,0 +1,118 @@ +//! moment.js locale configuration +//! locale : Kurdish [ku] +//! author : Shahram Mebashar : https://github.com/ShahramMebashar + +import moment from '../moment'; + +var symbolMap = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }, + months = [ + 'کانونی دووەم', + 'شوبات', + 'ئازار', + 'نیسان', + 'ئایار', + 'حوزەیران', + 'تەمموز', + 'ئاب', + 'ئەیلوول', + 'تشرینی یەكەم', + 'تشرینی دووەم', + 'كانونی یەکەم', + ]; + +export default moment.defineLocale('ku', { + months: months, + monthsShort: months, + weekdays: + 'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split( + '_' + ), + weekdaysShort: + 'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split('_'), + weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + meridiemParse: /ئێواره‌|به‌یانی/, + isPM: function (input) { + return /ئێواره‌/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'به‌یانی'; + } else { + return 'ئێواره‌'; + } + }, + calendar: { + sameDay: '[ئه‌مرۆ كاتژمێر] LT', + nextDay: '[به‌یانی كاتژمێر] LT', + nextWeek: 'dddd [كاتژمێر] LT', + lastDay: '[دوێنێ كاتژمێر] LT', + lastWeek: 'dddd [كاتژمێر] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'له‌ %s', + past: '%s', + s: 'چه‌ند چركه‌یه‌ك', + ss: 'چركه‌ %d', + m: 'یه‌ك خوله‌ك', + mm: '%d خوله‌ك', + h: 'یه‌ك كاتژمێر', + hh: '%d كاتژمێر', + d: 'یه‌ك ڕۆژ', + dd: '%d ڕۆژ', + M: 'یه‌ك مانگ', + MM: '%d مانگ', + y: 'یه‌ك ساڵ', + yy: '%d ساڵ', + }, + preparse: function (string) { + return string + .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }) + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ky.js b/node_modules/moment/dist/locale/ky.js new file mode 100644 index 0000000..2108d09 --- /dev/null +++ b/node_modules/moment/dist/locale/ky.js @@ -0,0 +1,84 @@ +//! moment.js locale configuration +//! locale : Kyrgyz [ky] +//! author : Chyngyz Arystan uulu : https://github.com/chyngyz + +import moment from '../moment'; + +var suffixes = { + 0: '-чү', + 1: '-чи', + 2: '-чи', + 3: '-чү', + 4: '-чү', + 5: '-чи', + 6: '-чы', + 7: '-чи', + 8: '-чи', + 9: '-чу', + 10: '-чу', + 20: '-чы', + 30: '-чу', + 40: '-чы', + 50: '-чү', + 60: '-чы', + 70: '-чи', + 80: '-чи', + 90: '-чу', + 100: '-чү', +}; + +export default moment.defineLocale('ky', { + months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split( + '_' + ), + monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split( + '_' + ), + weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split( + '_' + ), + weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'), + weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Бүгүн саат] LT', + nextDay: '[Эртең саат] LT', + nextWeek: 'dddd [саат] LT', + lastDay: '[Кечээ саат] LT', + lastWeek: '[Өткөн аптанын] dddd [күнү] [саат] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ичинде', + past: '%s мурун', + s: 'бирнече секунд', + ss: '%d секунд', + m: 'бир мүнөт', + mm: '%d мүнөт', + h: 'бир саат', + hh: '%d саат', + d: 'бир күн', + dd: '%d күн', + M: 'бир ай', + MM: '%d ай', + y: 'бир жыл', + yy: '%d жыл', + }, + dayOfMonthOrdinalParse: /\d{1,2}-(чи|чы|чү|чу)/, + ordinal: function (number) { + var a = number % 10, + b = number >= 100 ? 100 : null; + return number + (suffixes[number] || suffixes[a] || suffixes[b]); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/lb.js b/node_modules/moment/dist/locale/lb.js new file mode 100644 index 0000000..f01e662 --- /dev/null +++ b/node_modules/moment/dist/locale/lb.js @@ -0,0 +1,137 @@ +//! moment.js locale configuration +//! locale : Luxembourgish [lb] +//! author : mweimerskirch : https://github.com/mweimerskirch +//! author : David Raison : https://github.com/kwisatz + +import moment from '../moment'; + +function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + m: ['eng Minutt', 'enger Minutt'], + h: ['eng Stonn', 'enger Stonn'], + d: ['een Dag', 'engem Dag'], + M: ['ee Mount', 'engem Mount'], + y: ['ee Joer', 'engem Joer'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; +} +function processFutureTime(string) { + var number = string.substr(0, string.indexOf(' ')); + if (eifelerRegelAppliesToNumber(number)) { + return 'a ' + string; + } + return 'an ' + string; +} +function processPastTime(string) { + var number = string.substr(0, string.indexOf(' ')); + if (eifelerRegelAppliesToNumber(number)) { + return 'viru ' + string; + } + return 'virun ' + string; +} +/** + * Returns true if the word before the given number loses the '-n' ending. + * e.g. 'an 10 Deeg' but 'a 5 Deeg' + * + * @param number {integer} + * @returns {boolean} + */ +function eifelerRegelAppliesToNumber(number) { + number = parseInt(number, 10); + if (isNaN(number)) { + return false; + } + if (number < 0) { + // Negative Number --> always true + return true; + } else if (number < 10) { + // Only 1 digit + if (4 <= number && number <= 7) { + return true; + } + return false; + } else if (number < 100) { + // 2 digits + var lastDigit = number % 10, + firstDigit = number / 10; + if (lastDigit === 0) { + return eifelerRegelAppliesToNumber(firstDigit); + } + return eifelerRegelAppliesToNumber(lastDigit); + } else if (number < 10000) { + // 3 or 4 digits --> recursively check first digit + while (number >= 10) { + number = number / 10; + } + return eifelerRegelAppliesToNumber(number); + } else { + // Anything larger than 4 digits: recursively check first n-3 digits + number = number / 1000; + return eifelerRegelAppliesToNumber(number); + } +} + +export default moment.defineLocale('lb', { + months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_' + ), + monthsShort: + 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split( + '_' + ), + weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm [Auer]', + LTS: 'H:mm:ss [Auer]', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm [Auer]', + LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]', + }, + calendar: { + sameDay: '[Haut um] LT', + sameElse: 'L', + nextDay: '[Muer um] LT', + nextWeek: 'dddd [um] LT', + lastDay: '[Gëschter um] LT', + lastWeek: function () { + // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule + switch (this.day()) { + case 2: + case 4: + return '[Leschten] dddd [um] LT'; + default: + return '[Leschte] dddd [um] LT'; + } + }, + }, + relativeTime: { + future: processFutureTime, + past: processPastTime, + s: 'e puer Sekonnen', + ss: '%d Sekonnen', + m: processRelativeTime, + mm: '%d Minutten', + h: processRelativeTime, + hh: '%d Stonnen', + d: processRelativeTime, + dd: '%d Deeg', + M: processRelativeTime, + MM: '%d Méint', + y: processRelativeTime, + yy: '%d Joer', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/lo.js b/node_modules/moment/dist/locale/lo.js new file mode 100644 index 0000000..cd6cc20 --- /dev/null +++ b/node_modules/moment/dist/locale/lo.js @@ -0,0 +1,66 @@ +//! moment.js locale configuration +//! locale : Lao [lo] +//! author : Ryan Hart : https://github.com/ryanhart2 + +import moment from '../moment'; + +export default moment.defineLocale('lo', { + months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split( + '_' + ), + monthsShort: + 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split( + '_' + ), + weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), + weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), + weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'ວັນdddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/, + isPM: function (input) { + return input === 'ຕອນແລງ'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ຕອນເຊົ້າ'; + } else { + return 'ຕອນແລງ'; + } + }, + calendar: { + sameDay: '[ມື້ນີ້ເວລາ] LT', + nextDay: '[ມື້ອື່ນເວລາ] LT', + nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT', + lastDay: '[ມື້ວານນີ້ເວລາ] LT', + lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ອີກ %s', + past: '%sຜ່ານມາ', + s: 'ບໍ່ເທົ່າໃດວິນາທີ', + ss: '%d ວິນາທີ', + m: '1 ນາທີ', + mm: '%d ນາທີ', + h: '1 ຊົ່ວໂມງ', + hh: '%d ຊົ່ວໂມງ', + d: '1 ມື້', + dd: '%d ມື້', + M: '1 ເດືອນ', + MM: '%d ເດືອນ', + y: '1 ປີ', + yy: '%d ປີ', + }, + dayOfMonthOrdinalParse: /(ທີ່)\d{1,2}/, + ordinal: function (number) { + return 'ທີ່' + number; + }, +}); diff --git a/node_modules/moment/dist/locale/lt.js b/node_modules/moment/dist/locale/lt.js new file mode 100644 index 0000000..83c1595 --- /dev/null +++ b/node_modules/moment/dist/locale/lt.js @@ -0,0 +1,125 @@ +//! moment.js locale configuration +//! locale : Lithuanian [lt] +//! author : Mindaugas Mozūras : https://github.com/mmozuras + +import moment from '../moment'; + +var units = { + ss: 'sekundė_sekundžių_sekundes', + m: 'minutė_minutės_minutę', + mm: 'minutės_minučių_minutes', + h: 'valanda_valandos_valandą', + hh: 'valandos_valandų_valandas', + d: 'diena_dienos_dieną', + dd: 'dienos_dienų_dienas', + M: 'mėnuo_mėnesio_mėnesį', + MM: 'mėnesiai_mėnesių_mėnesius', + y: 'metai_metų_metus', + yy: 'metai_metų_metus', +}; +function translateSeconds(number, withoutSuffix, key, isFuture) { + if (withoutSuffix) { + return 'kelios sekundės'; + } else { + return isFuture ? 'kelių sekundžių' : 'kelias sekundes'; + } +} +function translateSingular(number, withoutSuffix, key, isFuture) { + return withoutSuffix + ? forms(key)[0] + : isFuture + ? forms(key)[1] + : forms(key)[2]; +} +function special(number) { + return number % 10 === 0 || (number > 10 && number < 20); +} +function forms(key) { + return units[key].split('_'); +} +function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + if (number === 1) { + return ( + result + translateSingular(number, withoutSuffix, key[0], isFuture) + ); + } else if (withoutSuffix) { + return result + (special(number) ? forms(key)[1] : forms(key)[0]); + } else { + if (isFuture) { + return result + forms(key)[1]; + } else { + return result + (special(number) ? forms(key)[1] : forms(key)[2]); + } + } +} +export default moment.defineLocale('lt', { + months: { + format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split( + '_' + ), + standalone: + 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split( + '_' + ), + isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/, + }, + monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'), + weekdays: { + format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split( + '_' + ), + standalone: + 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split( + '_' + ), + isFormat: /dddd HH:mm/, + }, + weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'), + weekdaysMin: 'S_P_A_T_K_Pn_Š'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY [m.] MMMM D [d.]', + LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]', + l: 'YYYY-MM-DD', + ll: 'YYYY [m.] MMMM D [d.]', + lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]', + }, + calendar: { + sameDay: '[Šiandien] LT', + nextDay: '[Rytoj] LT', + nextWeek: 'dddd LT', + lastDay: '[Vakar] LT', + lastWeek: '[Praėjusį] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: 'po %s', + past: 'prieš %s', + s: translateSeconds, + ss: translate, + m: translateSingular, + mm: translate, + h: translateSingular, + hh: translate, + d: translateSingular, + dd: translate, + M: translateSingular, + MM: translate, + y: translateSingular, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}-oji/, + ordinal: function (number) { + return number + '-oji'; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/lv.js b/node_modules/moment/dist/locale/lv.js new file mode 100644 index 0000000..3a89653 --- /dev/null +++ b/node_modules/moment/dist/locale/lv.js @@ -0,0 +1,94 @@ +//! moment.js locale configuration +//! locale : Latvian [lv] +//! author : Kristaps Karlsons : https://github.com/skakri +//! author : Jānis Elmeris : https://github.com/JanisE + +import moment from '../moment'; + +var units = { + ss: 'sekundes_sekundēm_sekunde_sekundes'.split('_'), + m: 'minūtes_minūtēm_minūte_minūtes'.split('_'), + mm: 'minūtes_minūtēm_minūte_minūtes'.split('_'), + h: 'stundas_stundām_stunda_stundas'.split('_'), + hh: 'stundas_stundām_stunda_stundas'.split('_'), + d: 'dienas_dienām_diena_dienas'.split('_'), + dd: 'dienas_dienām_diena_dienas'.split('_'), + M: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'), + MM: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'), + y: 'gada_gadiem_gads_gadi'.split('_'), + yy: 'gada_gadiem_gads_gadi'.split('_'), +}; +/** + * @param withoutSuffix boolean true = a length of time; false = before/after a period of time. + */ +function format(forms, number, withoutSuffix) { + if (withoutSuffix) { + // E.g. "21 minūte", "3 minūtes". + return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3]; + } else { + // E.g. "21 minūtes" as in "pēc 21 minūtes". + // E.g. "3 minūtēm" as in "pēc 3 minūtēm". + return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1]; + } +} +function relativeTimeWithPlural(number, withoutSuffix, key) { + return number + ' ' + format(units[key], number, withoutSuffix); +} +function relativeTimeWithSingular(number, withoutSuffix, key) { + return format(units[key], number, withoutSuffix); +} +function relativeSeconds(number, withoutSuffix) { + return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm'; +} + +export default moment.defineLocale('lv', { + months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'), + weekdays: + 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split( + '_' + ), + weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'), + weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY.', + LL: 'YYYY. [gada] D. MMMM', + LLL: 'YYYY. [gada] D. MMMM, HH:mm', + LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm', + }, + calendar: { + sameDay: '[Šodien pulksten] LT', + nextDay: '[Rīt pulksten] LT', + nextWeek: 'dddd [pulksten] LT', + lastDay: '[Vakar pulksten] LT', + lastWeek: '[Pagājušā] dddd [pulksten] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'pēc %s', + past: 'pirms %s', + s: relativeSeconds, + ss: relativeTimeWithPlural, + m: relativeTimeWithSingular, + mm: relativeTimeWithPlural, + h: relativeTimeWithSingular, + hh: relativeTimeWithPlural, + d: relativeTimeWithSingular, + dd: relativeTimeWithPlural, + M: relativeTimeWithSingular, + MM: relativeTimeWithPlural, + y: relativeTimeWithSingular, + yy: relativeTimeWithPlural, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/me.js b/node_modules/moment/dist/locale/me.js new file mode 100644 index 0000000..e22c8d9 --- /dev/null +++ b/node_modules/moment/dist/locale/me.js @@ -0,0 +1,117 @@ +//! moment.js locale configuration +//! locale : Montenegrin [me] +//! author : Miodrag Nikač : https://github.com/miodragnikac + +import moment from '../moment'; + +var translator = { + words: { + //Different grammatical cases + ss: ['sekund', 'sekunda', 'sekundi'], + m: ['jedan minut', 'jednog minuta'], + mm: ['minut', 'minuta', 'minuta'], + h: ['jedan sat', 'jednog sata'], + hh: ['sat', 'sata', 'sati'], + dd: ['dan', 'dana', 'dana'], + MM: ['mjesec', 'mjeseca', 'mjeseci'], + yy: ['godina', 'godine', 'godina'], + }, + correctGrammaticalCase: function (number, wordKey) { + return number === 1 + ? wordKey[0] + : number >= 2 && number <= 4 + ? wordKey[1] + : wordKey[2]; + }, + translate: function (number, withoutSuffix, key) { + var wordKey = translator.words[key]; + if (key.length === 1) { + return withoutSuffix ? wordKey[0] : wordKey[1]; + } else { + return ( + number + + ' ' + + translator.correctGrammaticalCase(number, wordKey) + ); + } + }, +}; + +export default moment.defineLocale('me', { + months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split( + '_' + ), + monthsShort: + 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), + monthsParseExact: true, + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( + '_' + ), + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sjutra u] LT', + + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay: '[juče u] LT', + lastWeek: function () { + var lastWeekDays = [ + '[prošle] [nedjelje] [u] LT', + '[prošlog] [ponedjeljka] [u] LT', + '[prošlog] [utorka] [u] LT', + '[prošle] [srijede] [u] LT', + '[prošlog] [četvrtka] [u] LT', + '[prošlog] [petka] [u] LT', + '[prošle] [subote] [u] LT', + ]; + return lastWeekDays[this.day()]; + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'prije %s', + s: 'nekoliko sekundi', + ss: translator.translate, + m: translator.translate, + mm: translator.translate, + h: translator.translate, + hh: translator.translate, + d: 'dan', + dd: translator.translate, + M: 'mjesec', + MM: translator.translate, + y: 'godinu', + yy: translator.translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/mi.js b/node_modules/moment/dist/locale/mi.js new file mode 100644 index 0000000..635a56a --- /dev/null +++ b/node_modules/moment/dist/locale/mi.js @@ -0,0 +1,60 @@ +//! moment.js locale configuration +//! locale : Maori [mi] +//! author : John Corrigan : https://github.com/johnideal + +import moment from '../moment'; + +export default moment.defineLocale('mi', { + months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split( + '_' + ), + monthsShort: + 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split( + '_' + ), + monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i, + weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'), + weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), + weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [i] HH:mm', + LLLL: 'dddd, D MMMM YYYY [i] HH:mm', + }, + calendar: { + sameDay: '[i teie mahana, i] LT', + nextDay: '[apopo i] LT', + nextWeek: 'dddd [i] LT', + lastDay: '[inanahi i] LT', + lastWeek: 'dddd [whakamutunga i] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'i roto i %s', + past: '%s i mua', + s: 'te hēkona ruarua', + ss: '%d hēkona', + m: 'he meneti', + mm: '%d meneti', + h: 'te haora', + hh: '%d haora', + d: 'he ra', + dd: '%d ra', + M: 'he marama', + MM: '%d marama', + y: 'he tau', + yy: '%d tau', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/mk.js b/node_modules/moment/dist/locale/mk.js new file mode 100644 index 0000000..f3ecad7 --- /dev/null +++ b/node_modules/moment/dist/locale/mk.js @@ -0,0 +1,85 @@ +//! moment.js locale configuration +//! locale : Macedonian [mk] +//! author : Borislav Mickov : https://github.com/B0k0 +//! author : Sashko Todorov : https://github.com/bkyceh +import moment from '../moment'; + +export default moment.defineLocale('mk', { + months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split( + '_' + ), + monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'), + weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split( + '_' + ), + weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'), + weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[Денес во] LT', + nextDay: '[Утре во] LT', + nextWeek: '[Во] dddd [во] LT', + lastDay: '[Вчера во] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 6: + return '[Изминатата] dddd [во] LT'; + case 1: + case 2: + case 4: + case 5: + return '[Изминатиот] dddd [во] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'за %s', + past: 'пред %s', + s: 'неколку секунди', + ss: '%d секунди', + m: 'една минута', + mm: '%d минути', + h: 'еден час', + hh: '%d часа', + d: 'еден ден', + dd: '%d дена', + M: 'еден месец', + MM: '%d месеци', + y: 'една година', + yy: '%d години', + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, + ordinal: function (number) { + var lastDigit = number % 10, + last2Digits = number % 100; + if (number === 0) { + return number + '-ев'; + } else if (last2Digits === 0) { + return number + '-ен'; + } else if (last2Digits > 10 && last2Digits < 20) { + return number + '-ти'; + } else if (lastDigit === 1) { + return number + '-ви'; + } else if (lastDigit === 2) { + return number + '-ри'; + } else if (lastDigit === 7 || lastDigit === 8) { + return number + '-ми'; + } else { + return number + '-ти'; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ml.js b/node_modules/moment/dist/locale/ml.js new file mode 100644 index 0000000..5df6ae4 --- /dev/null +++ b/node_modules/moment/dist/locale/ml.js @@ -0,0 +1,82 @@ +//! moment.js locale configuration +//! locale : Malayalam [ml] +//! author : Floyd Pink : https://github.com/floydpink + +import moment from '../moment'; + +export default moment.defineLocale('ml', { + months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split( + '_' + ), + monthsShort: + 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split( + '_' + ), + weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'), + weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'), + longDateFormat: { + LT: 'A h:mm -നു', + LTS: 'A h:mm:ss -നു', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm -നു', + LLLL: 'dddd, D MMMM YYYY, A h:mm -നു', + }, + calendar: { + sameDay: '[ഇന്ന്] LT', + nextDay: '[നാളെ] LT', + nextWeek: 'dddd, LT', + lastDay: '[ഇന്നലെ] LT', + lastWeek: '[കഴിഞ്ഞ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s കഴിഞ്ഞ്', + past: '%s മുൻപ്', + s: 'അൽപ നിമിഷങ്ങൾ', + ss: '%d സെക്കൻഡ്', + m: 'ഒരു മിനിറ്റ്', + mm: '%d മിനിറ്റ്', + h: 'ഒരു മണിക്കൂർ', + hh: '%d മണിക്കൂർ', + d: 'ഒരു ദിവസം', + dd: '%d ദിവസം', + M: 'ഒരു മാസം', + MM: '%d മാസം', + y: 'ഒരു വർഷം', + yy: '%d വർഷം', + }, + meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + (meridiem === 'രാത്രി' && hour >= 4) || + meridiem === 'ഉച്ച കഴിഞ്ഞ്' || + meridiem === 'വൈകുന്നേരം' + ) { + return hour + 12; + } else { + return hour; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'രാത്രി'; + } else if (hour < 12) { + return 'രാവിലെ'; + } else if (hour < 17) { + return 'ഉച്ച കഴിഞ്ഞ്'; + } else if (hour < 20) { + return 'വൈകുന്നേരം'; + } else { + return 'രാത്രി'; + } + }, +}); diff --git a/node_modules/moment/dist/locale/mn.js b/node_modules/moment/dist/locale/mn.js new file mode 100644 index 0000000..36cf69f --- /dev/null +++ b/node_modules/moment/dist/locale/mn.js @@ -0,0 +1,100 @@ +//! moment.js locale configuration +//! locale : Mongolian [mn] +//! author : Javkhlantugs Nyamdorj : https://github.com/javkhaanj7 + +import moment from '../moment'; + +function translate(number, withoutSuffix, key, isFuture) { + switch (key) { + case 's': + return withoutSuffix ? 'хэдхэн секунд' : 'хэдхэн секундын'; + case 'ss': + return number + (withoutSuffix ? ' секунд' : ' секундын'); + case 'm': + case 'mm': + return number + (withoutSuffix ? ' минут' : ' минутын'); + case 'h': + case 'hh': + return number + (withoutSuffix ? ' цаг' : ' цагийн'); + case 'd': + case 'dd': + return number + (withoutSuffix ? ' өдөр' : ' өдрийн'); + case 'M': + case 'MM': + return number + (withoutSuffix ? ' сар' : ' сарын'); + case 'y': + case 'yy': + return number + (withoutSuffix ? ' жил' : ' жилийн'); + default: + return number; + } +} + +export default moment.defineLocale('mn', { + months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split( + '_' + ), + monthsShort: + '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'), + weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'), + weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY оны MMMMын D', + LLL: 'YYYY оны MMMMын D HH:mm', + LLLL: 'dddd, YYYY оны MMMMын D HH:mm', + }, + meridiemParse: /ҮӨ|ҮХ/i, + isPM: function (input) { + return input === 'ҮХ'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ҮӨ'; + } else { + return 'ҮХ'; + } + }, + calendar: { + sameDay: '[Өнөөдөр] LT', + nextDay: '[Маргааш] LT', + nextWeek: '[Ирэх] dddd LT', + lastDay: '[Өчигдөр] LT', + lastWeek: '[Өнгөрсөн] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s дараа', + past: '%s өмнө', + s: translate, + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2} өдөр/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + ' өдөр'; + default: + return number; + } + }, +}); diff --git a/node_modules/moment/dist/locale/mr.js b/node_modules/moment/dist/locale/mr.js new file mode 100644 index 0000000..d174909 --- /dev/null +++ b/node_modules/moment/dist/locale/mr.js @@ -0,0 +1,203 @@ +//! moment.js locale configuration +//! locale : Marathi [mr] +//! author : Harshad Kale : https://github.com/kalehv +//! author : Vivek Athalye : https://github.com/vnathalye + +import moment from '../moment'; + +var symbolMap = { + 1: '१', + 2: '२', + 3: '३', + 4: '४', + 5: '५', + 6: '६', + 7: '७', + 8: '८', + 9: '९', + 0: '०', + }, + numberMap = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0', + }; + +function relativeTimeMr(number, withoutSuffix, string, isFuture) { + var output = ''; + if (withoutSuffix) { + switch (string) { + case 's': + output = 'काही सेकंद'; + break; + case 'ss': + output = '%d सेकंद'; + break; + case 'm': + output = 'एक मिनिट'; + break; + case 'mm': + output = '%d मिनिटे'; + break; + case 'h': + output = 'एक तास'; + break; + case 'hh': + output = '%d तास'; + break; + case 'd': + output = 'एक दिवस'; + break; + case 'dd': + output = '%d दिवस'; + break; + case 'M': + output = 'एक महिना'; + break; + case 'MM': + output = '%d महिने'; + break; + case 'y': + output = 'एक वर्ष'; + break; + case 'yy': + output = '%d वर्षे'; + break; + } + } else { + switch (string) { + case 's': + output = 'काही सेकंदां'; + break; + case 'ss': + output = '%d सेकंदां'; + break; + case 'm': + output = 'एका मिनिटा'; + break; + case 'mm': + output = '%d मिनिटां'; + break; + case 'h': + output = 'एका तासा'; + break; + case 'hh': + output = '%d तासां'; + break; + case 'd': + output = 'एका दिवसा'; + break; + case 'dd': + output = '%d दिवसां'; + break; + case 'M': + output = 'एका महिन्या'; + break; + case 'MM': + output = '%d महिन्यां'; + break; + case 'y': + output = 'एका वर्षा'; + break; + case 'yy': + output = '%d वर्षां'; + break; + } + } + return output.replace(/%d/i, number); +} + +export default moment.defineLocale('mr', { + months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split( + '_' + ), + monthsShort: + 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'), + weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'), + longDateFormat: { + LT: 'A h:mm वाजता', + LTS: 'A h:mm:ss वाजता', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm वाजता', + LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता', + }, + calendar: { + sameDay: '[आज] LT', + nextDay: '[उद्या] LT', + nextWeek: 'dddd, LT', + lastDay: '[काल] LT', + lastWeek: '[मागील] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%sमध्ये', + past: '%sपूर्वी', + s: relativeTimeMr, + ss: relativeTimeMr, + m: relativeTimeMr, + mm: relativeTimeMr, + h: relativeTimeMr, + hh: relativeTimeMr, + d: relativeTimeMr, + dd: relativeTimeMr, + M: relativeTimeMr, + MM: relativeTimeMr, + y: relativeTimeMr, + yy: relativeTimeMr, + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'पहाटे' || meridiem === 'सकाळी') { + return hour; + } else if ( + meridiem === 'दुपारी' || + meridiem === 'सायंकाळी' || + meridiem === 'रात्री' + ) { + return hour >= 12 ? hour : hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour >= 0 && hour < 6) { + return 'पहाटे'; + } else if (hour < 12) { + return 'सकाळी'; + } else if (hour < 17) { + return 'दुपारी'; + } else if (hour < 20) { + return 'सायंकाळी'; + } else { + return 'रात्री'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ms-my.js b/node_modules/moment/dist/locale/ms-my.js new file mode 100644 index 0000000..f8adf98 --- /dev/null +++ b/node_modules/moment/dist/locale/ms-my.js @@ -0,0 +1,76 @@ +//! moment.js locale configuration +//! locale : Malay [ms-my] +//! note : DEPRECATED, the correct one is [ms] +//! author : Weldan Jamili : https://github.com/weldan + +import moment from '../moment'; + +export default moment.defineLocale('ms-my', { + months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), + weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), + weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /pagi|tengahari|petang|malam/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'tengahari') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'petang' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'tengahari'; + } else if (hours < 19) { + return 'petang'; + } else { + return 'malam'; + } + }, + calendar: { + sameDay: '[Hari ini pukul] LT', + nextDay: '[Esok pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kelmarin pukul] LT', + lastWeek: 'dddd [lepas pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lepas', + s: 'beberapa saat', + ss: '%d saat', + m: 'seminit', + mm: '%d minit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ms.js b/node_modules/moment/dist/locale/ms.js new file mode 100644 index 0000000..335cc90 --- /dev/null +++ b/node_modules/moment/dist/locale/ms.js @@ -0,0 +1,75 @@ +//! moment.js locale configuration +//! locale : Malay [ms] +//! author : Weldan Jamili : https://github.com/weldan + +import moment from '../moment'; + +export default moment.defineLocale('ms', { + months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), + weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), + weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /pagi|tengahari|petang|malam/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'tengahari') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'petang' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'tengahari'; + } else if (hours < 19) { + return 'petang'; + } else { + return 'malam'; + } + }, + calendar: { + sameDay: '[Hari ini pukul] LT', + nextDay: '[Esok pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kelmarin pukul] LT', + lastWeek: 'dddd [lepas pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lepas', + s: 'beberapa saat', + ss: '%d saat', + m: 'seminit', + mm: '%d minit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/mt.js b/node_modules/moment/dist/locale/mt.js new file mode 100644 index 0000000..850cf6a --- /dev/null +++ b/node_modules/moment/dist/locale/mt.js @@ -0,0 +1,56 @@ +//! moment.js locale configuration +//! locale : Maltese (Malta) [mt] +//! author : Alessandro Maruccia : https://github.com/alesma + +import moment from '../moment'; + +export default moment.defineLocale('mt', { + months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split( + '_' + ), + monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'), + weekdays: + 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split( + '_' + ), + weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'), + weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Illum fil-]LT', + nextDay: '[Għada fil-]LT', + nextWeek: 'dddd [fil-]LT', + lastDay: '[Il-bieraħ fil-]LT', + lastWeek: 'dddd [li għadda] [fil-]LT', + sameElse: 'L', + }, + relativeTime: { + future: 'f’ %s', + past: '%s ilu', + s: 'ftit sekondi', + ss: '%d sekondi', + m: 'minuta', + mm: '%d minuti', + h: 'siegħa', + hh: '%d siegħat', + d: 'ġurnata', + dd: '%d ġranet', + M: 'xahar', + MM: '%d xhur', + y: 'sena', + yy: '%d sni', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/my.js b/node_modules/moment/dist/locale/my.js new file mode 100644 index 0000000..034b221 --- /dev/null +++ b/node_modules/moment/dist/locale/my.js @@ -0,0 +1,91 @@ +//! moment.js locale configuration +//! locale : Burmese [my] +//! author : Squar team, mysquar.com +//! author : David Rossellat : https://github.com/gholadr +//! author : Tin Aung Lin : https://github.com/thanyawzinmin + +import moment from '../moment'; + +var symbolMap = { + 1: '၁', + 2: '၂', + 3: '၃', + 4: '၄', + 5: '၅', + 6: '၆', + 7: '၇', + 8: '၈', + 9: '၉', + 0: '၀', + }, + numberMap = { + '၁': '1', + '၂': '2', + '၃': '3', + '၄': '4', + '၅': '5', + '၆': '6', + '၇': '7', + '၈': '8', + '၉': '9', + '၀': '0', + }; + +export default moment.defineLocale('my', { + months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split( + '_' + ), + monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'), + weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split( + '_' + ), + weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), + weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), + + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[ယနေ.] LT [မှာ]', + nextDay: '[မနက်ဖြန်] LT [မှာ]', + nextWeek: 'dddd LT [မှာ]', + lastDay: '[မနေ.က] LT [မှာ]', + lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]', + sameElse: 'L', + }, + relativeTime: { + future: 'လာမည့် %s မှာ', + past: 'လွန်ခဲ့သော %s က', + s: 'စက္ကန်.အနည်းငယ်', + ss: '%d စက္ကန့်', + m: 'တစ်မိနစ်', + mm: '%d မိနစ်', + h: 'တစ်နာရီ', + hh: '%d နာရီ', + d: 'တစ်ရက်', + dd: '%d ရက်', + M: 'တစ်လ', + MM: '%d လ', + y: 'တစ်နှစ်', + yy: '%d နှစ်', + }, + preparse: function (string) { + return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/nb.js b/node_modules/moment/dist/locale/nb.js new file mode 100644 index 0000000..cce3aaa --- /dev/null +++ b/node_modules/moment/dist/locale/nb.js @@ -0,0 +1,60 @@ +//! moment.js locale configuration +//! locale : Norwegian Bokmål [nb] +//! authors : Espen Hovlandsdal : https://github.com/rexxars +//! Sigurd Gartmann : https://github.com/sigurdga +//! Stephen Ramthun : https://github.com/stephenramthun + +import moment from '../moment'; + +export default moment.defineLocale('nb', { + months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split( + '_' + ), + monthsShort: + 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'), + monthsParseExact: true, + weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), + weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'), + weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] HH:mm', + LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm', + }, + calendar: { + sameDay: '[i dag kl.] LT', + nextDay: '[i morgen kl.] LT', + nextWeek: 'dddd [kl.] LT', + lastDay: '[i går kl.] LT', + lastWeek: '[forrige] dddd [kl.] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'om %s', + past: '%s siden', + s: 'noen sekunder', + ss: '%d sekunder', + m: 'ett minutt', + mm: '%d minutter', + h: 'én time', + hh: '%d timer', + d: 'én dag', + dd: '%d dager', + w: 'én uke', + ww: '%d uker', + M: 'én måned', + MM: '%d måneder', + y: 'ett år', + yy: '%d år', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ne.js b/node_modules/moment/dist/locale/ne.js new file mode 100644 index 0000000..1f0a0ed --- /dev/null +++ b/node_modules/moment/dist/locale/ne.js @@ -0,0 +1,121 @@ +//! moment.js locale configuration +//! locale : Nepalese [ne] +//! author : suvash : https://github.com/suvash + +import moment from '../moment'; + +var symbolMap = { + 1: '१', + 2: '२', + 3: '३', + 4: '४', + 5: '५', + 6: '६', + 7: '७', + 8: '८', + 9: '९', + 0: '०', + }, + numberMap = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0', + }; + +export default moment.defineLocale('ne', { + months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split( + '_' + ), + monthsShort: + 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split( + '_' + ), + weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'), + weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'Aको h:mm बजे', + LTS: 'Aको h:mm:ss बजे', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, Aको h:mm बजे', + LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे', + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /राति|बिहान|दिउँसो|साँझ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'राति') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'बिहान') { + return hour; + } else if (meridiem === 'दिउँसो') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'साँझ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 3) { + return 'राति'; + } else if (hour < 12) { + return 'बिहान'; + } else if (hour < 16) { + return 'दिउँसो'; + } else if (hour < 20) { + return 'साँझ'; + } else { + return 'राति'; + } + }, + calendar: { + sameDay: '[आज] LT', + nextDay: '[भोलि] LT', + nextWeek: '[आउँदो] dddd[,] LT', + lastDay: '[हिजो] LT', + lastWeek: '[गएको] dddd[,] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%sमा', + past: '%s अगाडि', + s: 'केही क्षण', + ss: '%d सेकेण्ड', + m: 'एक मिनेट', + mm: '%d मिनेट', + h: 'एक घण्टा', + hh: '%d घण्टा', + d: 'एक दिन', + dd: '%d दिन', + M: 'एक महिना', + MM: '%d महिना', + y: 'एक बर्ष', + yy: '%d बर्ष', + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/nl-be.js b/node_modules/moment/dist/locale/nl-be.js new file mode 100644 index 0000000..e495ff1 --- /dev/null +++ b/node_modules/moment/dist/locale/nl-be.js @@ -0,0 +1,102 @@ +//! moment.js locale configuration +//! locale : Dutch (Belgium) [nl-be] +//! author : Joris Röling : https://github.com/jorisroling +//! author : Jacob Middag : https://github.com/middagj + +import moment from '../moment'; + +var monthsShortWithDots = + 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'), + monthsShortWithoutDots = + 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'), + monthsParse = [ + /^jan/i, + /^feb/i, + /^(maart|mrt\.?)$/i, + /^apr/i, + /^mei$/i, + /^jun[i.]?$/i, + /^jul[i.]?$/i, + /^aug/i, + /^sep/i, + /^okt/i, + /^nov/i, + /^dec/i, + ], + monthsRegex = + /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; + +export default moment.defineLocale('nl-be', { + months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortWithDots; + } else if (/-MMM-/.test(format)) { + return monthsShortWithoutDots[m.month()]; + } else { + return monthsShortWithDots[m.month()]; + } + }, + + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: + /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i, + monthsShortStrictRegex: + /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, + + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + + weekdays: + 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), + weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), + weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[vandaag om] LT', + nextDay: '[morgen om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[gisteren om] LT', + lastWeek: '[afgelopen] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'over %s', + past: '%s geleden', + s: 'een paar seconden', + ss: '%d seconden', + m: 'één minuut', + mm: '%d minuten', + h: 'één uur', + hh: '%d uur', + d: 'één dag', + dd: '%d dagen', + M: 'één maand', + MM: '%d maanden', + y: 'één jaar', + yy: '%d jaar', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/nl.js b/node_modules/moment/dist/locale/nl.js new file mode 100644 index 0000000..b6d83c3 --- /dev/null +++ b/node_modules/moment/dist/locale/nl.js @@ -0,0 +1,104 @@ +//! moment.js locale configuration +//! locale : Dutch [nl] +//! author : Joris Röling : https://github.com/jorisroling +//! author : Jacob Middag : https://github.com/middagj + +import moment from '../moment'; + +var monthsShortWithDots = + 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'), + monthsShortWithoutDots = + 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'), + monthsParse = [ + /^jan/i, + /^feb/i, + /^(maart|mrt\.?)$/i, + /^apr/i, + /^mei$/i, + /^jun[i.]?$/i, + /^jul[i.]?$/i, + /^aug/i, + /^sep/i, + /^okt/i, + /^nov/i, + /^dec/i, + ], + monthsRegex = + /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; + +export default moment.defineLocale('nl', { + months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortWithDots; + } else if (/-MMM-/.test(format)) { + return monthsShortWithoutDots[m.month()]; + } else { + return monthsShortWithDots[m.month()]; + } + }, + + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: + /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i, + monthsShortStrictRegex: + /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, + + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + + weekdays: + 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), + weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), + weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[vandaag om] LT', + nextDay: '[morgen om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[gisteren om] LT', + lastWeek: '[afgelopen] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'over %s', + past: '%s geleden', + s: 'een paar seconden', + ss: '%d seconden', + m: 'één minuut', + mm: '%d minuten', + h: 'één uur', + hh: '%d uur', + d: 'één dag', + dd: '%d dagen', + w: 'één week', + ww: '%d weken', + M: 'één maand', + MM: '%d maanden', + y: 'één jaar', + yy: '%d jaar', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/nn.js b/node_modules/moment/dist/locale/nn.js new file mode 100644 index 0000000..0da1150 --- /dev/null +++ b/node_modules/moment/dist/locale/nn.js @@ -0,0 +1,59 @@ +//! moment.js locale configuration +//! locale : Nynorsk [nn] +//! authors : https://github.com/mechuwind +//! Stephen Ramthun : https://github.com/stephenramthun + +import moment from '../moment'; + +export default moment.defineLocale('nn', { + months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split( + '_' + ), + monthsShort: + 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'), + monthsParseExact: true, + weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'), + weekdaysShort: 'su._må._ty._on._to._fr._lau.'.split('_'), + weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] H:mm', + LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm', + }, + calendar: { + sameDay: '[I dag klokka] LT', + nextDay: '[I morgon klokka] LT', + nextWeek: 'dddd [klokka] LT', + lastDay: '[I går klokka] LT', + lastWeek: '[Føregåande] dddd [klokka] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'om %s', + past: '%s sidan', + s: 'nokre sekund', + ss: '%d sekund', + m: 'eit minutt', + mm: '%d minutt', + h: 'ein time', + hh: '%d timar', + d: 'ein dag', + dd: '%d dagar', + w: 'ei veke', + ww: '%d veker', + M: 'ein månad', + MM: '%d månader', + y: 'eit år', + yy: '%d år', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/oc-lnc.js b/node_modules/moment/dist/locale/oc-lnc.js new file mode 100644 index 0000000..2e67d73 --- /dev/null +++ b/node_modules/moment/dist/locale/oc-lnc.js @@ -0,0 +1,85 @@ +//! moment.js locale configuration +//! locale : Occitan, lengadocian dialecte [oc-lnc] +//! author : Quentin PAGÈS : https://github.com/Quenty31 + +import moment from '../moment'; + +export default moment.defineLocale('oc-lnc', { + months: { + standalone: + 'genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split( + '_' + ), + format: "de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split( + '_' + ), + isFormat: /D[oD]?(\s)+MMMM/, + }, + monthsShort: + 'gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split( + '_' + ), + weekdaysShort: 'dg._dl._dm._dc._dj._dv._ds.'.split('_'), + weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [de] YYYY', + ll: 'D MMM YYYY', + LLL: 'D MMMM [de] YYYY [a] H:mm', + lll: 'D MMM YYYY, H:mm', + LLLL: 'dddd D MMMM [de] YYYY [a] H:mm', + llll: 'ddd D MMM YYYY, H:mm', + }, + calendar: { + sameDay: '[uèi a] LT', + nextDay: '[deman a] LT', + nextWeek: 'dddd [a] LT', + lastDay: '[ièr a] LT', + lastWeek: 'dddd [passat a] LT', + sameElse: 'L', + }, + relativeTime: { + future: "d'aquí %s", + past: 'fa %s', + s: 'unas segondas', + ss: '%d segondas', + m: 'una minuta', + mm: '%d minutas', + h: 'una ora', + hh: '%d oras', + d: 'un jorn', + dd: '%d jorns', + M: 'un mes', + MM: '%d meses', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/, + ordinal: function (number, period) { + var output = + number === 1 + ? 'r' + : number === 2 + ? 'n' + : number === 3 + ? 'r' + : number === 4 + ? 't' + : 'è'; + if (period === 'w' || period === 'W') { + output = 'a'; + } + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, + }, +}); diff --git a/node_modules/moment/dist/locale/pa-in.js b/node_modules/moment/dist/locale/pa-in.js new file mode 100644 index 0000000..e39dbd5 --- /dev/null +++ b/node_modules/moment/dist/locale/pa-in.js @@ -0,0 +1,122 @@ +//! moment.js locale configuration +//! locale : Punjabi (India) [pa-in] +//! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit + +import moment from '../moment'; + +var symbolMap = { + 1: '੧', + 2: '੨', + 3: '੩', + 4: '੪', + 5: '੫', + 6: '੬', + 7: '੭', + 8: '੮', + 9: '੯', + 0: '੦', + }, + numberMap = { + '੧': '1', + '੨': '2', + '੩': '3', + '੪': '4', + '੫': '5', + '੬': '6', + '੭': '7', + '੮': '8', + '੯': '9', + '੦': '0', + }; + +export default moment.defineLocale('pa-in', { + // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi. + months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split( + '_' + ), + monthsShort: + 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split( + '_' + ), + weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split( + '_' + ), + weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), + weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), + longDateFormat: { + LT: 'A h:mm ਵਜੇ', + LTS: 'A h:mm:ss ਵਜੇ', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm ਵਜੇ', + LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ', + }, + calendar: { + sameDay: '[ਅਜ] LT', + nextDay: '[ਕਲ] LT', + nextWeek: '[ਅਗਲਾ] dddd, LT', + lastDay: '[ਕਲ] LT', + lastWeek: '[ਪਿਛਲੇ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ਵਿੱਚ', + past: '%s ਪਿਛਲੇ', + s: 'ਕੁਝ ਸਕਿੰਟ', + ss: '%d ਸਕਿੰਟ', + m: 'ਇਕ ਮਿੰਟ', + mm: '%d ਮਿੰਟ', + h: 'ਇੱਕ ਘੰਟਾ', + hh: '%d ਘੰਟੇ', + d: 'ਇੱਕ ਦਿਨ', + dd: '%d ਦਿਨ', + M: 'ਇੱਕ ਮਹੀਨਾ', + MM: '%d ਮਹੀਨੇ', + y: 'ਇੱਕ ਸਾਲ', + yy: '%d ਸਾਲ', + }, + preparse: function (string) { + return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // Punjabi notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi. + meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ਰਾਤ') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ਸਵੇਰ') { + return hour; + } else if (meridiem === 'ਦੁਪਹਿਰ') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'ਸ਼ਾਮ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ਰਾਤ'; + } else if (hour < 10) { + return 'ਸਵੇਰ'; + } else if (hour < 17) { + return 'ਦੁਪਹਿਰ'; + } else if (hour < 20) { + return 'ਸ਼ਾਮ'; + } else { + return 'ਰਾਤ'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/pl.js b/node_modules/moment/dist/locale/pl.js new file mode 100644 index 0000000..0608c0d --- /dev/null +++ b/node_modules/moment/dist/locale/pl.js @@ -0,0 +1,140 @@ +//! moment.js locale configuration +//! locale : Polish [pl] +//! author : Rafal Hirsz : https://github.com/evoL + +import moment from '../moment'; + +var monthsNominative = + 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split( + '_' + ), + monthsSubjective = + 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split( + '_' + ), + monthsParse = [ + /^sty/i, + /^lut/i, + /^mar/i, + /^kwi/i, + /^maj/i, + /^cze/i, + /^lip/i, + /^sie/i, + /^wrz/i, + /^paź/i, + /^lis/i, + /^gru/i, + ]; +function plural(n) { + return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1; +} +function translate(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'ss': + return result + (plural(number) ? 'sekundy' : 'sekund'); + case 'm': + return withoutSuffix ? 'minuta' : 'minutę'; + case 'mm': + return result + (plural(number) ? 'minuty' : 'minut'); + case 'h': + return withoutSuffix ? 'godzina' : 'godzinę'; + case 'hh': + return result + (plural(number) ? 'godziny' : 'godzin'); + case 'ww': + return result + (plural(number) ? 'tygodnie' : 'tygodni'); + case 'MM': + return result + (plural(number) ? 'miesiące' : 'miesięcy'); + case 'yy': + return result + (plural(number) ? 'lata' : 'lat'); + } +} + +export default moment.defineLocale('pl', { + months: function (momentToFormat, format) { + if (!momentToFormat) { + return monthsNominative; + } else if (/D MMMM/.test(format)) { + return monthsSubjective[momentToFormat.month()]; + } else { + return monthsNominative[momentToFormat.month()]; + } + }, + monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'), + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: + 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'), + weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'), + weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Dziś o] LT', + nextDay: '[Jutro o] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[W niedzielę o] LT'; + + case 2: + return '[We wtorek o] LT'; + + case 3: + return '[W środę o] LT'; + + case 6: + return '[W sobotę o] LT'; + + default: + return '[W] dddd [o] LT'; + } + }, + lastDay: '[Wczoraj o] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[W zeszłą niedzielę o] LT'; + case 3: + return '[W zeszłą środę o] LT'; + case 6: + return '[W zeszłą sobotę o] LT'; + default: + return '[W zeszły] dddd [o] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: '%s temu', + s: 'kilka sekund', + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: '1 dzień', + dd: '%d dni', + w: 'tydzień', + ww: translate, + M: 'miesiąc', + MM: translate, + y: 'rok', + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/pt-br.js b/node_modules/moment/dist/locale/pt-br.js new file mode 100644 index 0000000..eb9aa64 --- /dev/null +++ b/node_modules/moment/dist/locale/pt-br.js @@ -0,0 +1,58 @@ +//! moment.js locale configuration +//! locale : Portuguese (Brazil) [pt-br] +//! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira + +import moment from '../moment'; + +export default moment.defineLocale('pt-br', { + months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split( + '_' + ), + monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), + weekdays: + 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split( + '_' + ), + weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'), + weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY [às] HH:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm', + }, + calendar: { + sameDay: '[Hoje às] LT', + nextDay: '[Amanhã às] LT', + nextWeek: 'dddd [às] LT', + lastDay: '[Ontem às] LT', + lastWeek: function () { + return this.day() === 0 || this.day() === 6 + ? '[Último] dddd [às] LT' // Saturday + Sunday + : '[Última] dddd [às] LT'; // Monday - Friday + }, + sameElse: 'L', + }, + relativeTime: { + future: 'em %s', + past: 'há %s', + s: 'poucos segundos', + ss: '%d segundos', + m: 'um minuto', + mm: '%d minutos', + h: 'uma hora', + hh: '%d horas', + d: 'um dia', + dd: '%d dias', + M: 'um mês', + MM: '%d meses', + y: 'um ano', + yy: '%d anos', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + invalidDate: 'Data inválida', +}); diff --git a/node_modules/moment/dist/locale/pt.js b/node_modules/moment/dist/locale/pt.js new file mode 100644 index 0000000..d9b6055 --- /dev/null +++ b/node_modules/moment/dist/locale/pt.js @@ -0,0 +1,63 @@ +//! moment.js locale configuration +//! locale : Portuguese [pt] +//! author : Jefferson : https://github.com/jalex79 + +import moment from '../moment'; + +export default moment.defineLocale('pt', { + months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split( + '_' + ), + monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), + weekdays: + 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split( + '_' + ), + weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), + weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY HH:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm', + }, + calendar: { + sameDay: '[Hoje às] LT', + nextDay: '[Amanhã às] LT', + nextWeek: 'dddd [às] LT', + lastDay: '[Ontem às] LT', + lastWeek: function () { + return this.day() === 0 || this.day() === 6 + ? '[Último] dddd [às] LT' // Saturday + Sunday + : '[Última] dddd [às] LT'; // Monday - Friday + }, + sameElse: 'L', + }, + relativeTime: { + future: 'em %s', + past: 'há %s', + s: 'segundos', + ss: '%d segundos', + m: 'um minuto', + mm: '%d minutos', + h: 'uma hora', + hh: '%d horas', + d: 'um dia', + dd: '%d dias', + w: 'uma semana', + ww: '%d semanas', + M: 'um mês', + MM: '%d meses', + y: 'um ano', + yy: '%d anos', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ro.js b/node_modules/moment/dist/locale/ro.js new file mode 100644 index 0000000..d5bc5ea --- /dev/null +++ b/node_modules/moment/dist/locale/ro.js @@ -0,0 +1,76 @@ +//! moment.js locale configuration +//! locale : Romanian [ro] +//! author : Vlad Gurdiga : https://github.com/gurdiga +//! author : Valentin Agachi : https://github.com/avaly +//! author : Emanuel Cepoi : https://github.com/cepem + +import moment from '../moment'; + +function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + ss: 'secunde', + mm: 'minute', + hh: 'ore', + dd: 'zile', + ww: 'săptămâni', + MM: 'luni', + yy: 'ani', + }, + separator = ' '; + if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) { + separator = ' de '; + } + return number + separator + format[key]; +} + +export default moment.defineLocale('ro', { + months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split( + '_' + ), + monthsShort: + 'ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'), + weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'), + weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[azi la] LT', + nextDay: '[mâine la] LT', + nextWeek: 'dddd [la] LT', + lastDay: '[ieri la] LT', + lastWeek: '[fosta] dddd [la] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'peste %s', + past: '%s în urmă', + s: 'câteva secunde', + ss: relativeTimeWithPlural, + m: 'un minut', + mm: relativeTimeWithPlural, + h: 'o oră', + hh: relativeTimeWithPlural, + d: 'o zi', + dd: relativeTimeWithPlural, + w: 'o săptămână', + ww: relativeTimeWithPlural, + M: 'o lună', + MM: relativeTimeWithPlural, + y: 'un an', + yy: relativeTimeWithPlural, + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ru.js b/node_modules/moment/dist/locale/ru.js new file mode 100644 index 0000000..d214850 --- /dev/null +++ b/node_modules/moment/dist/locale/ru.js @@ -0,0 +1,213 @@ +//! moment.js locale configuration +//! locale : Russian [ru] +//! author : Viktorminator : https://github.com/Viktorminator +//! author : Menelion Elensúle : https://github.com/Oire +//! author : Коренберг Марк : https://github.com/socketpair + +import moment from '../moment'; + +function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 + ? forms[0] + : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) + ? forms[1] + : forms[2]; +} +function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд', + mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут', + hh: 'час_часа_часов', + dd: 'день_дня_дней', + ww: 'неделя_недели_недель', + MM: 'месяц_месяца_месяцев', + yy: 'год_года_лет', + }; + if (key === 'm') { + return withoutSuffix ? 'минута' : 'минуту'; + } else { + return number + ' ' + plural(format[key], +number); + } +} +var monthsParse = [ + /^янв/i, + /^фев/i, + /^мар/i, + /^апр/i, + /^ма[йя]/i, + /^июн/i, + /^июл/i, + /^авг/i, + /^сен/i, + /^окт/i, + /^ноя/i, + /^дек/i, +]; + +// http://new.gramota.ru/spravka/rules/139-prop : § 103 +// Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637 +// CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753 +export default moment.defineLocale('ru', { + months: { + format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split( + '_' + ), + standalone: + 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split( + '_' + ), + }, + monthsShort: { + // по CLDR именно "июл." и "июн.", но какой смысл менять букву на точку? + format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split( + '_' + ), + standalone: + 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split( + '_' + ), + }, + weekdays: { + standalone: + 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split( + '_' + ), + format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split( + '_' + ), + isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/, + }, + weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'), + weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'), + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + + // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки + monthsRegex: + /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, + + // копия предыдущего + monthsShortRegex: + /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, + + // полные названия с падежами + monthsStrictRegex: + /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i, + + // Выражение, которое соответствует только сокращённым формам + monthsShortStrictRegex: + /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY г.', + LLL: 'D MMMM YYYY г., H:mm', + LLLL: 'dddd, D MMMM YYYY г., H:mm', + }, + calendar: { + sameDay: '[Сегодня, в] LT', + nextDay: '[Завтра, в] LT', + lastDay: '[Вчера, в] LT', + nextWeek: function (now) { + if (now.week() !== this.week()) { + switch (this.day()) { + case 0: + return '[В следующее] dddd, [в] LT'; + case 1: + case 2: + case 4: + return '[В следующий] dddd, [в] LT'; + case 3: + case 5: + case 6: + return '[В следующую] dddd, [в] LT'; + } + } else { + if (this.day() === 2) { + return '[Во] dddd, [в] LT'; + } else { + return '[В] dddd, [в] LT'; + } + } + }, + lastWeek: function (now) { + if (now.week() !== this.week()) { + switch (this.day()) { + case 0: + return '[В прошлое] dddd, [в] LT'; + case 1: + case 2: + case 4: + return '[В прошлый] dddd, [в] LT'; + case 3: + case 5: + case 6: + return '[В прошлую] dddd, [в] LT'; + } + } else { + if (this.day() === 2) { + return '[Во] dddd, [в] LT'; + } else { + return '[В] dddd, [в] LT'; + } + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'через %s', + past: '%s назад', + s: 'несколько секунд', + ss: relativeTimeWithPlural, + m: relativeTimeWithPlural, + mm: relativeTimeWithPlural, + h: 'час', + hh: relativeTimeWithPlural, + d: 'день', + dd: relativeTimeWithPlural, + w: 'неделя', + ww: relativeTimeWithPlural, + M: 'месяц', + MM: relativeTimeWithPlural, + y: 'год', + yy: relativeTimeWithPlural, + }, + meridiemParse: /ночи|утра|дня|вечера/i, + isPM: function (input) { + return /^(дня|вечера)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ночи'; + } else if (hour < 12) { + return 'утра'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечера'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + return number + '-й'; + case 'D': + return number + '-го'; + case 'w': + case 'W': + return number + '-я'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/sd.js b/node_modules/moment/dist/locale/sd.js new file mode 100644 index 0000000..20f1059 --- /dev/null +++ b/node_modules/moment/dist/locale/sd.js @@ -0,0 +1,81 @@ +//! moment.js locale configuration +//! locale : Sindhi [sd] +//! author : Narain Sagar : https://github.com/narainsagar + +import moment from '../moment'; + +var months = [ + 'جنوري', + 'فيبروري', + 'مارچ', + 'اپريل', + 'مئي', + 'جون', + 'جولاءِ', + 'آگسٽ', + 'سيپٽمبر', + 'آڪٽوبر', + 'نومبر', + 'ڊسمبر', + ], + days = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر']; + +export default moment.defineLocale('sd', { + months: months, + monthsShort: months, + weekdays: days, + weekdaysShort: days, + weekdaysMin: days, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd، D MMMM YYYY HH:mm', + }, + meridiemParse: /صبح|شام/, + isPM: function (input) { + return 'شام' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'صبح'; + } + return 'شام'; + }, + calendar: { + sameDay: '[اڄ] LT', + nextDay: '[سڀاڻي] LT', + nextWeek: 'dddd [اڳين هفتي تي] LT', + lastDay: '[ڪالهه] LT', + lastWeek: '[گزريل هفتي] dddd [تي] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s پوء', + past: '%s اڳ', + s: 'چند سيڪنڊ', + ss: '%d سيڪنڊ', + m: 'هڪ منٽ', + mm: '%d منٽ', + h: 'هڪ ڪلاڪ', + hh: '%d ڪلاڪ', + d: 'هڪ ڏينهن', + dd: '%d ڏينهن', + M: 'هڪ مهينو', + MM: '%d مهينا', + y: 'هڪ سال', + yy: '%d سال', + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/se.js b/node_modules/moment/dist/locale/se.js new file mode 100644 index 0000000..e8eec58 --- /dev/null +++ b/node_modules/moment/dist/locale/se.js @@ -0,0 +1,57 @@ +//! moment.js locale configuration +//! locale : Northern Sami [se] +//! authors : Bård Rolstad Henriksen : https://github.com/karamell + +import moment from '../moment'; + +export default moment.defineLocale('se', { + months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split( + '_' + ), + monthsShort: + 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'), + weekdays: + 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split( + '_' + ), + weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'), + weekdaysMin: 's_v_m_g_d_b_L'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'MMMM D. [b.] YYYY', + LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm', + LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm', + }, + calendar: { + sameDay: '[otne ti] LT', + nextDay: '[ihttin ti] LT', + nextWeek: 'dddd [ti] LT', + lastDay: '[ikte ti] LT', + lastWeek: '[ovddit] dddd [ti] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s geažes', + past: 'maŋit %s', + s: 'moadde sekunddat', + ss: '%d sekunddat', + m: 'okta minuhta', + mm: '%d minuhtat', + h: 'okta diimmu', + hh: '%d diimmut', + d: 'okta beaivi', + dd: '%d beaivvit', + M: 'okta mánnu', + MM: '%d mánut', + y: 'okta jahki', + yy: '%d jagit', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/si.js b/node_modules/moment/dist/locale/si.js new file mode 100644 index 0000000..0f2498c --- /dev/null +++ b/node_modules/moment/dist/locale/si.js @@ -0,0 +1,69 @@ +//! moment.js locale configuration +//! locale : Sinhalese [si] +//! author : Sampath Sitinamaluwa : https://github.com/sampathsris + +import moment from '../moment'; + +/*jshint -W100*/ +export default moment.defineLocale('si', { + months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split( + '_' + ), + monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split( + '_' + ), + weekdays: + 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split( + '_' + ), + weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'), + weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'a h:mm', + LTS: 'a h:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY MMMM D', + LLL: 'YYYY MMMM D, a h:mm', + LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss', + }, + calendar: { + sameDay: '[අද] LT[ට]', + nextDay: '[හෙට] LT[ට]', + nextWeek: 'dddd LT[ට]', + lastDay: '[ඊයේ] LT[ට]', + lastWeek: '[පසුගිය] dddd LT[ට]', + sameElse: 'L', + }, + relativeTime: { + future: '%sකින්', + past: '%sකට පෙර', + s: 'තත්පර කිහිපය', + ss: 'තත්පර %d', + m: 'මිනිත්තුව', + mm: 'මිනිත්තු %d', + h: 'පැය', + hh: 'පැය %d', + d: 'දිනය', + dd: 'දින %d', + M: 'මාසය', + MM: 'මාස %d', + y: 'වසර', + yy: 'වසර %d', + }, + dayOfMonthOrdinalParse: /\d{1,2} වැනි/, + ordinal: function (number) { + return number + ' වැනි'; + }, + meridiemParse: /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./, + isPM: function (input) { + return input === 'ප.ව.' || input === 'පස් වරු'; + }, + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'ප.ව.' : 'පස් වරු'; + } else { + return isLower ? 'පෙ.ව.' : 'පෙර වරු'; + } + }, +}); diff --git a/node_modules/moment/dist/locale/sk.js b/node_modules/moment/dist/locale/sk.js new file mode 100644 index 0000000..7162ed6 --- /dev/null +++ b/node_modules/moment/dist/locale/sk.js @@ -0,0 +1,145 @@ +//! moment.js locale configuration +//! locale : Slovak [sk] +//! author : Martin Minka : https://github.com/k2s +//! based on work of petrbela : https://github.com/petrbela + +import moment from '../moment'; + +var months = + 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split( + '_' + ), + monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_'); +function plural(n) { + return n > 1 && n < 5; +} +function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': // a few seconds / in a few seconds / a few seconds ago + return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami'; + case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'sekundy' : 'sekúnd'); + } else { + return result + 'sekundami'; + } + case 'm': // a minute / in a minute / a minute ago + return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou'; + case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'minúty' : 'minút'); + } else { + return result + 'minútami'; + } + case 'h': // an hour / in an hour / an hour ago + return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou'; + case 'hh': // 9 hours / in 9 hours / 9 hours ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'hodiny' : 'hodín'); + } else { + return result + 'hodinami'; + } + case 'd': // a day / in a day / a day ago + return withoutSuffix || isFuture ? 'deň' : 'dňom'; + case 'dd': // 9 days / in 9 days / 9 days ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'dni' : 'dní'); + } else { + return result + 'dňami'; + } + case 'M': // a month / in a month / a month ago + return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom'; + case 'MM': // 9 months / in 9 months / 9 months ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'mesiace' : 'mesiacov'); + } else { + return result + 'mesiacmi'; + } + case 'y': // a year / in a year / a year ago + return withoutSuffix || isFuture ? 'rok' : 'rokom'; + case 'yy': // 9 years / in 9 years / 9 years ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'roky' : 'rokov'); + } else { + return result + 'rokmi'; + } + } +} + +export default moment.defineLocale('sk', { + months: months, + monthsShort: monthsShort, + weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'), + weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'), + weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[dnes o] LT', + nextDay: '[zajtra o] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[v nedeľu o] LT'; + case 1: + case 2: + return '[v] dddd [o] LT'; + case 3: + return '[v stredu o] LT'; + case 4: + return '[vo štvrtok o] LT'; + case 5: + return '[v piatok o] LT'; + case 6: + return '[v sobotu o] LT'; + } + }, + lastDay: '[včera o] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[minulú nedeľu o] LT'; + case 1: + case 2: + return '[minulý] dddd [o] LT'; + case 3: + return '[minulú stredu o] LT'; + case 4: + case 5: + return '[minulý] dddd [o] LT'; + case 6: + return '[minulú sobotu o] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'pred %s', + s: translate, + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/sl.js b/node_modules/moment/dist/locale/sl.js new file mode 100644 index 0000000..0290a8e --- /dev/null +++ b/node_modules/moment/dist/locale/sl.js @@ -0,0 +1,171 @@ +//! moment.js locale configuration +//! locale : Slovenian [sl] +//! author : Robert Sedovšek : https://github.com/sedovsek + +import moment from '../moment'; + +function processRelativeTime(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': + return withoutSuffix || isFuture + ? 'nekaj sekund' + : 'nekaj sekundami'; + case 'ss': + if (number === 1) { + result += withoutSuffix ? 'sekundo' : 'sekundi'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'sekundi' : 'sekundah'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah'; + } else { + result += 'sekund'; + } + return result; + case 'm': + return withoutSuffix ? 'ena minuta' : 'eno minuto'; + case 'mm': + if (number === 1) { + result += withoutSuffix ? 'minuta' : 'minuto'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'minuti' : 'minutama'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'minute' : 'minutami'; + } else { + result += withoutSuffix || isFuture ? 'minut' : 'minutami'; + } + return result; + case 'h': + return withoutSuffix ? 'ena ura' : 'eno uro'; + case 'hh': + if (number === 1) { + result += withoutSuffix ? 'ura' : 'uro'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'uri' : 'urama'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'ure' : 'urami'; + } else { + result += withoutSuffix || isFuture ? 'ur' : 'urami'; + } + return result; + case 'd': + return withoutSuffix || isFuture ? 'en dan' : 'enim dnem'; + case 'dd': + if (number === 1) { + result += withoutSuffix || isFuture ? 'dan' : 'dnem'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'dni' : 'dnevoma'; + } else { + result += withoutSuffix || isFuture ? 'dni' : 'dnevi'; + } + return result; + case 'M': + return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem'; + case 'MM': + if (number === 1) { + result += withoutSuffix || isFuture ? 'mesec' : 'mesecem'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'meseca' : 'mesecema'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'mesece' : 'meseci'; + } else { + result += withoutSuffix || isFuture ? 'mesecev' : 'meseci'; + } + return result; + case 'y': + return withoutSuffix || isFuture ? 'eno leto' : 'enim letom'; + case 'yy': + if (number === 1) { + result += withoutSuffix || isFuture ? 'leto' : 'letom'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'leti' : 'letoma'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'leta' : 'leti'; + } else { + result += withoutSuffix || isFuture ? 'let' : 'leti'; + } + return result; + } +} + +export default moment.defineLocale('sl', { + months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split( + '_' + ), + monthsShort: + 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'), + weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'), + weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD. MM. YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[danes ob] LT', + nextDay: '[jutri ob] LT', + + nextWeek: function () { + switch (this.day()) { + case 0: + return '[v] [nedeljo] [ob] LT'; + case 3: + return '[v] [sredo] [ob] LT'; + case 6: + return '[v] [soboto] [ob] LT'; + case 1: + case 2: + case 4: + case 5: + return '[v] dddd [ob] LT'; + } + }, + lastDay: '[včeraj ob] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[prejšnjo] [nedeljo] [ob] LT'; + case 3: + return '[prejšnjo] [sredo] [ob] LT'; + case 6: + return '[prejšnjo] [soboto] [ob] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prejšnji] dddd [ob] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'čez %s', + past: 'pred %s', + s: processRelativeTime, + ss: processRelativeTime, + m: processRelativeTime, + mm: processRelativeTime, + h: processRelativeTime, + hh: processRelativeTime, + d: processRelativeTime, + dd: processRelativeTime, + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/sq.js b/node_modules/moment/dist/locale/sq.js new file mode 100644 index 0000000..3b3bcfa --- /dev/null +++ b/node_modules/moment/dist/locale/sq.js @@ -0,0 +1,65 @@ +//! moment.js locale configuration +//! locale : Albanian [sq] +//! author : Flakërim Ismani : https://github.com/flakerimi +//! author : Menelion Elensúle : https://github.com/Oire +//! author : Oerd Cukalla : https://github.com/oerd + +import moment from '../moment'; + +export default moment.defineLocale('sq', { + months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split( + '_' + ), + monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'), + weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split( + '_' + ), + weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'), + weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'), + weekdaysParseExact: true, + meridiemParse: /PD|MD/, + isPM: function (input) { + return input.charAt(0) === 'M'; + }, + meridiem: function (hours, minutes, isLower) { + return hours < 12 ? 'PD' : 'MD'; + }, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Sot në] LT', + nextDay: '[Nesër në] LT', + nextWeek: 'dddd [në] LT', + lastDay: '[Dje në] LT', + lastWeek: 'dddd [e kaluar në] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'në %s', + past: '%s më parë', + s: 'disa sekonda', + ss: '%d sekonda', + m: 'një minutë', + mm: '%d minuta', + h: 'një orë', + hh: '%d orë', + d: 'një ditë', + dd: '%d ditë', + M: 'një muaj', + MM: '%d muaj', + y: 'një vit', + yy: '%d vite', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/sr-cyrl.js b/node_modules/moment/dist/locale/sr-cyrl.js new file mode 100644 index 0000000..5e05810 --- /dev/null +++ b/node_modules/moment/dist/locale/sr-cyrl.js @@ -0,0 +1,127 @@ +//! moment.js locale configuration +//! locale : Serbian Cyrillic [sr-cyrl] +//! author : Milan Janačković : https://github.com/milan-j +//! author : Stefan Crnjaković : https://github.com/crnjakovic + +import moment from '../moment'; + +var translator = { + words: { + //Different grammatical cases + ss: ['секунда', 'секунде', 'секунди'], + m: ['један минут', 'једног минута'], + mm: ['минут', 'минута', 'минута'], + h: ['један сат', 'једног сата'], + hh: ['сат', 'сата', 'сати'], + d: ['један дан', 'једног дана'], + dd: ['дан', 'дана', 'дана'], + M: ['један месец', 'једног месеца'], + MM: ['месец', 'месеца', 'месеци'], + y: ['једну годину', 'једне године'], + yy: ['годину', 'године', 'година'], + }, + correctGrammaticalCase: function (number, wordKey) { + if ( + number % 10 >= 1 && + number % 10 <= 4 && + (number % 100 < 10 || number % 100 >= 20) + ) { + return number % 10 === 1 ? wordKey[0] : wordKey[1]; + } + return wordKey[2]; + }, + translate: function (number, withoutSuffix, key, isFuture) { + var wordKey = translator.words[key], + word; + + if (key.length === 1) { + // Nominativ + if (key === 'y' && withoutSuffix) return 'једна година'; + return isFuture || withoutSuffix ? wordKey[0] : wordKey[1]; + } + + word = translator.correctGrammaticalCase(number, wordKey); + // Nominativ + if (key === 'yy' && withoutSuffix && word === 'годину') { + return number + ' година'; + } + + return number + ' ' + word; + }, +}; + +export default moment.defineLocale('sr-cyrl', { + months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split( + '_' + ), + monthsShort: + 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'), + monthsParseExact: true, + weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'), + weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'), + weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D. M. YYYY.', + LL: 'D. MMMM YYYY.', + LLL: 'D. MMMM YYYY. H:mm', + LLLL: 'dddd, D. MMMM YYYY. H:mm', + }, + calendar: { + sameDay: '[данас у] LT', + nextDay: '[сутра у] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[у] [недељу] [у] LT'; + case 3: + return '[у] [среду] [у] LT'; + case 6: + return '[у] [суботу] [у] LT'; + case 1: + case 2: + case 4: + case 5: + return '[у] dddd [у] LT'; + } + }, + lastDay: '[јуче у] LT', + lastWeek: function () { + var lastWeekDays = [ + '[прошле] [недеље] [у] LT', + '[прошлог] [понедељка] [у] LT', + '[прошлог] [уторка] [у] LT', + '[прошле] [среде] [у] LT', + '[прошлог] [четвртка] [у] LT', + '[прошлог] [петка] [у] LT', + '[прошле] [суботе] [у] LT', + ]; + return lastWeekDays[this.day()]; + }, + sameElse: 'L', + }, + relativeTime: { + future: 'за %s', + past: 'пре %s', + s: 'неколико секунди', + ss: translator.translate, + m: translator.translate, + mm: translator.translate, + h: translator.translate, + hh: translator.translate, + d: translator.translate, + dd: translator.translate, + M: translator.translate, + MM: translator.translate, + y: translator.translate, + yy: translator.translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 1st is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/sr.js b/node_modules/moment/dist/locale/sr.js new file mode 100644 index 0000000..a407ec7 --- /dev/null +++ b/node_modules/moment/dist/locale/sr.js @@ -0,0 +1,129 @@ +//! moment.js locale configuration +//! locale : Serbian [sr] +//! author : Milan Janačković : https://github.com/milan-j +//! author : Stefan Crnjaković : https://github.com/crnjakovic + +import moment from '../moment'; + +var translator = { + words: { + //Different grammatical cases + ss: ['sekunda', 'sekunde', 'sekundi'], + m: ['jedan minut', 'jednog minuta'], + mm: ['minut', 'minuta', 'minuta'], + h: ['jedan sat', 'jednog sata'], + hh: ['sat', 'sata', 'sati'], + d: ['jedan dan', 'jednog dana'], + dd: ['dan', 'dana', 'dana'], + M: ['jedan mesec', 'jednog meseca'], + MM: ['mesec', 'meseca', 'meseci'], + y: ['jednu godinu', 'jedne godine'], + yy: ['godinu', 'godine', 'godina'], + }, + correctGrammaticalCase: function (number, wordKey) { + if ( + number % 10 >= 1 && + number % 10 <= 4 && + (number % 100 < 10 || number % 100 >= 20) + ) { + return number % 10 === 1 ? wordKey[0] : wordKey[1]; + } + return wordKey[2]; + }, + translate: function (number, withoutSuffix, key, isFuture) { + var wordKey = translator.words[key], + word; + + if (key.length === 1) { + // Nominativ + if (key === 'y' && withoutSuffix) return 'jedna godina'; + return isFuture || withoutSuffix ? wordKey[0] : wordKey[1]; + } + + word = translator.correctGrammaticalCase(number, wordKey); + // Nominativ + if (key === 'yy' && withoutSuffix && word === 'godinu') { + return number + ' godina'; + } + + return number + ' ' + word; + }, +}; + +export default moment.defineLocale('sr', { + months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split( + '_' + ), + monthsShort: + 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), + monthsParseExact: true, + weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split( + '_' + ), + weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D. M. YYYY.', + LL: 'D. MMMM YYYY.', + LLL: 'D. MMMM YYYY. H:mm', + LLLL: 'dddd, D. MMMM YYYY. H:mm', + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sutra u] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedelju] [u] LT'; + case 3: + return '[u] [sredu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay: '[juče u] LT', + lastWeek: function () { + var lastWeekDays = [ + '[prošle] [nedelje] [u] LT', + '[prošlog] [ponedeljka] [u] LT', + '[prošlog] [utorka] [u] LT', + '[prošle] [srede] [u] LT', + '[prošlog] [četvrtka] [u] LT', + '[prošlog] [petka] [u] LT', + '[prošle] [subote] [u] LT', + ]; + return lastWeekDays[this.day()]; + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'pre %s', + s: 'nekoliko sekundi', + ss: translator.translate, + m: translator.translate, + mm: translator.translate, + h: translator.translate, + hh: translator.translate, + d: translator.translate, + dd: translator.translate, + M: translator.translate, + MM: translator.translate, + y: translator.translate, + yy: translator.translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ss.js b/node_modules/moment/dist/locale/ss.js new file mode 100644 index 0000000..60db499 --- /dev/null +++ b/node_modules/moment/dist/locale/ss.js @@ -0,0 +1,84 @@ +//! moment.js locale configuration +//! locale : siSwati [ss] +//! author : Nicolai Davies : https://github.com/nicolaidavies + +import moment from '../moment'; + +export default moment.defineLocale('ss', { + months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split( + '_' + ), + monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'), + weekdays: + 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split( + '_' + ), + weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'), + weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Namuhla nga] LT', + nextDay: '[Kusasa nga] LT', + nextWeek: 'dddd [nga] LT', + lastDay: '[Itolo nga] LT', + lastWeek: 'dddd [leliphelile] [nga] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'nga %s', + past: 'wenteka nga %s', + s: 'emizuzwana lomcane', + ss: '%d mzuzwana', + m: 'umzuzu', + mm: '%d emizuzu', + h: 'lihora', + hh: '%d emahora', + d: 'lilanga', + dd: '%d emalanga', + M: 'inyanga', + MM: '%d tinyanga', + y: 'umnyaka', + yy: '%d iminyaka', + }, + meridiemParse: /ekuseni|emini|entsambama|ebusuku/, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'ekuseni'; + } else if (hours < 15) { + return 'emini'; + } else if (hours < 19) { + return 'entsambama'; + } else { + return 'ebusuku'; + } + }, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ekuseni') { + return hour; + } else if (meridiem === 'emini') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') { + if (hour === 0) { + return 0; + } + return hour + 12; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: '%d', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/sv.js b/node_modules/moment/dist/locale/sv.js new file mode 100644 index 0000000..4a37cdb --- /dev/null +++ b/node_modules/moment/dist/locale/sv.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : Swedish [sv] +//! author : Jens Alm : https://github.com/ulmus + +import moment from '../moment'; + +export default moment.defineLocale('sv', { + months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), + weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'), + weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'), + weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [kl.] HH:mm', + LLLL: 'dddd D MMMM YYYY [kl.] HH:mm', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd D MMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Idag] LT', + nextDay: '[Imorgon] LT', + lastDay: '[Igår] LT', + nextWeek: '[På] dddd LT', + lastWeek: '[I] dddd[s] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'om %s', + past: 'för %s sedan', + s: 'några sekunder', + ss: '%d sekunder', + m: 'en minut', + mm: '%d minuter', + h: 'en timme', + hh: '%d timmar', + d: 'en dag', + dd: '%d dagar', + M: 'en månad', + MM: '%d månader', + y: 'ett år', + yy: '%d år', + }, + dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? ':e' + : b === 1 + ? ':a' + : b === 2 + ? ':a' + : b === 3 + ? ':e' + : ':e'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/sw.js b/node_modules/moment/dist/locale/sw.js new file mode 100644 index 0000000..35a2668 --- /dev/null +++ b/node_modules/moment/dist/locale/sw.js @@ -0,0 +1,55 @@ +//! moment.js locale configuration +//! locale : Swahili [sw] +//! author : Fahad Kassim : https://github.com/fadsel + +import moment from '../moment'; + +export default moment.defineLocale('sw', { + months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'), + weekdays: + 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split( + '_' + ), + weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'), + weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'hh:mm A', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[leo saa] LT', + nextDay: '[kesho saa] LT', + nextWeek: '[wiki ijayo] dddd [saat] LT', + lastDay: '[jana] LT', + lastWeek: '[wiki iliyopita] dddd [saat] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s baadaye', + past: 'tokea %s', + s: 'hivi punde', + ss: 'sekunde %d', + m: 'dakika moja', + mm: 'dakika %d', + h: 'saa limoja', + hh: 'masaa %d', + d: 'siku moja', + dd: 'siku %d', + M: 'mwezi mmoja', + MM: 'miezi %d', + y: 'mwaka mmoja', + yy: 'miaka %d', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ta.js b/node_modules/moment/dist/locale/ta.js new file mode 100644 index 0000000..fdfa1ba --- /dev/null +++ b/node_modules/moment/dist/locale/ta.js @@ -0,0 +1,131 @@ +//! moment.js locale configuration +//! locale : Tamil [ta] +//! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404 + +import moment from '../moment'; + +var symbolMap = { + 1: '௧', + 2: '௨', + 3: '௩', + 4: '௪', + 5: '௫', + 6: '௬', + 7: '௭', + 8: '௮', + 9: '௯', + 0: '௦', + }, + numberMap = { + '௧': '1', + '௨': '2', + '௩': '3', + '௪': '4', + '௫': '5', + '௬': '6', + '௭': '7', + '௮': '8', + '௯': '9', + '௦': '0', + }; + +export default moment.defineLocale('ta', { + months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split( + '_' + ), + monthsShort: + 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split( + '_' + ), + weekdays: + 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split( + '_' + ), + weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split( + '_' + ), + weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, HH:mm', + LLLL: 'dddd, D MMMM YYYY, HH:mm', + }, + calendar: { + sameDay: '[இன்று] LT', + nextDay: '[நாளை] LT', + nextWeek: 'dddd, LT', + lastDay: '[நேற்று] LT', + lastWeek: '[கடந்த வாரம்] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s இல்', + past: '%s முன்', + s: 'ஒரு சில விநாடிகள்', + ss: '%d விநாடிகள்', + m: 'ஒரு நிமிடம்', + mm: '%d நிமிடங்கள்', + h: 'ஒரு மணி நேரம்', + hh: '%d மணி நேரம்', + d: 'ஒரு நாள்', + dd: '%d நாட்கள்', + M: 'ஒரு மாதம்', + MM: '%d மாதங்கள்', + y: 'ஒரு வருடம்', + yy: '%d ஆண்டுகள்', + }, + dayOfMonthOrdinalParse: /\d{1,2}வது/, + ordinal: function (number) { + return number + 'வது'; + }, + preparse: function (string) { + return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // refer http://ta.wikipedia.org/s/1er1 + meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/, + meridiem: function (hour, minute, isLower) { + if (hour < 2) { + return ' யாமம்'; + } else if (hour < 6) { + return ' வைகறை'; // வைகறை + } else if (hour < 10) { + return ' காலை'; // காலை + } else if (hour < 14) { + return ' நண்பகல்'; // நண்பகல் + } else if (hour < 18) { + return ' எற்பாடு'; // எற்பாடு + } else if (hour < 22) { + return ' மாலை'; // மாலை + } else { + return ' யாமம்'; + } + }, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'யாமம்') { + return hour < 2 ? hour : hour + 12; + } else if (meridiem === 'வைகறை' || meridiem === 'காலை') { + return hour; + } else if (meridiem === 'நண்பகல்') { + return hour >= 10 ? hour : hour + 12; + } else { + return hour + 12; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/te.js b/node_modules/moment/dist/locale/te.js new file mode 100644 index 0000000..56f9f16 --- /dev/null +++ b/node_modules/moment/dist/locale/te.js @@ -0,0 +1,88 @@ +//! moment.js locale configuration +//! locale : Telugu [te] +//! author : Krishna Chaitanya Thota : https://github.com/kcthota + +import moment from '../moment'; + +export default moment.defineLocale('te', { + months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split( + '_' + ), + monthsShort: + 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split( + '_' + ), + weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'), + weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm', + }, + calendar: { + sameDay: '[నేడు] LT', + nextDay: '[రేపు] LT', + nextWeek: 'dddd, LT', + lastDay: '[నిన్న] LT', + lastWeek: '[గత] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s లో', + past: '%s క్రితం', + s: 'కొన్ని క్షణాలు', + ss: '%d సెకన్లు', + m: 'ఒక నిమిషం', + mm: '%d నిమిషాలు', + h: 'ఒక గంట', + hh: '%d గంటలు', + d: 'ఒక రోజు', + dd: '%d రోజులు', + M: 'ఒక నెల', + MM: '%d నెలలు', + y: 'ఒక సంవత్సరం', + yy: '%d సంవత్సరాలు', + }, + dayOfMonthOrdinalParse: /\d{1,2}వ/, + ordinal: '%dవ', + meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'రాత్రి') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ఉదయం') { + return hour; + } else if (meridiem === 'మధ్యాహ్నం') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'సాయంత్రం') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'రాత్రి'; + } else if (hour < 10) { + return 'ఉదయం'; + } else if (hour < 17) { + return 'మధ్యాహ్నం'; + } else if (hour < 20) { + return 'సాయంత్రం'; + } else { + return 'రాత్రి'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/tet.js b/node_modules/moment/dist/locale/tet.js new file mode 100644 index 0000000..5f7d95c --- /dev/null +++ b/node_modules/moment/dist/locale/tet.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : Tetun Dili (East Timor) [tet] +//! author : Joshua Brooks : https://github.com/joshbrooks +//! author : Onorio De J. Afonso : https://github.com/marobo +//! author : Sonia Simoes : https://github.com/soniasimoes + +import moment from '../moment'; + +export default moment.defineLocale('tet', { + months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split( + '_' + ), + monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), + weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'), + weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'), + weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Ohin iha] LT', + nextDay: '[Aban iha] LT', + nextWeek: 'dddd [iha] LT', + lastDay: '[Horiseik iha] LT', + lastWeek: 'dddd [semana kotuk] [iha] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'iha %s', + past: '%s liuba', + s: 'segundu balun', + ss: 'segundu %d', + m: 'minutu ida', + mm: 'minutu %d', + h: 'oras ida', + hh: 'oras %d', + d: 'loron ida', + dd: 'loron %d', + M: 'fulan ida', + MM: 'fulan %d', + y: 'tinan ida', + yy: 'tinan %d', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/tg.js b/node_modules/moment/dist/locale/tg.js new file mode 100644 index 0000000..60d33c7 --- /dev/null +++ b/node_modules/moment/dist/locale/tg.js @@ -0,0 +1,117 @@ +//! moment.js locale configuration +//! locale : Tajik [tg] +//! author : Orif N. Jr. : https://github.com/orif-jr + +import moment from '../moment'; + +var suffixes = { + 0: '-ум', + 1: '-ум', + 2: '-юм', + 3: '-юм', + 4: '-ум', + 5: '-ум', + 6: '-ум', + 7: '-ум', + 8: '-ум', + 9: '-ум', + 10: '-ум', + 12: '-ум', + 13: '-ум', + 20: '-ум', + 30: '-юм', + 40: '-ум', + 50: '-ум', + 60: '-ум', + 70: '-ум', + 80: '-ум', + 90: '-ум', + 100: '-ум', +}; + +export default moment.defineLocale('tg', { + months: { + format: 'январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри'.split( + '_' + ), + standalone: + 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split( + '_' + ), + }, + monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'), + weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split( + '_' + ), + weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'), + weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Имрӯз соати] LT', + nextDay: '[Фардо соати] LT', + lastDay: '[Дирӯз соати] LT', + nextWeek: 'dddd[и] [ҳафтаи оянда соати] LT', + lastWeek: 'dddd[и] [ҳафтаи гузашта соати] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'баъди %s', + past: '%s пеш', + s: 'якчанд сония', + m: 'як дақиқа', + mm: '%d дақиқа', + h: 'як соат', + hh: '%d соат', + d: 'як рӯз', + dd: '%d рӯз', + M: 'як моҳ', + MM: '%d моҳ', + y: 'як сол', + yy: '%d сол', + }, + meridiemParse: /шаб|субҳ|рӯз|бегоҳ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'шаб') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'субҳ') { + return hour; + } else if (meridiem === 'рӯз') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'бегоҳ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'шаб'; + } else if (hour < 11) { + return 'субҳ'; + } else if (hour < 16) { + return 'рӯз'; + } else if (hour < 19) { + return 'бегоҳ'; + } else { + return 'шаб'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ум|юм)/, + ordinal: function (number) { + var a = number % 10, + b = number >= 100 ? 100 : null; + return number + (suffixes[number] || suffixes[a] || suffixes[b]); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 1th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/th.js b/node_modules/moment/dist/locale/th.js new file mode 100644 index 0000000..b3a5560 --- /dev/null +++ b/node_modules/moment/dist/locale/th.js @@ -0,0 +1,65 @@ +//! moment.js locale configuration +//! locale : Thai [th] +//! author : Kridsada Thanabulpong : https://github.com/sirn + +import moment from '../moment'; + +export default moment.defineLocale('th', { + months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split( + '_' + ), + monthsShort: + 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'), + weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference + weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY เวลา H:mm', + LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm', + }, + meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/, + isPM: function (input) { + return input === 'หลังเที่ยง'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ก่อนเที่ยง'; + } else { + return 'หลังเที่ยง'; + } + }, + calendar: { + sameDay: '[วันนี้ เวลา] LT', + nextDay: '[พรุ่งนี้ เวลา] LT', + nextWeek: 'dddd[หน้า เวลา] LT', + lastDay: '[เมื่อวานนี้ เวลา] LT', + lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'อีก %s', + past: '%sที่แล้ว', + s: 'ไม่กี่วินาที', + ss: '%d วินาที', + m: '1 นาที', + mm: '%d นาที', + h: '1 ชั่วโมง', + hh: '%d ชั่วโมง', + d: '1 วัน', + dd: '%d วัน', + w: '1 สัปดาห์', + ww: '%d สัปดาห์', + M: '1 เดือน', + MM: '%d เดือน', + y: '1 ปี', + yy: '%d ปี', + }, +}); diff --git a/node_modules/moment/dist/locale/tk.js b/node_modules/moment/dist/locale/tk.js new file mode 100644 index 0000000..b26f99e --- /dev/null +++ b/node_modules/moment/dist/locale/tk.js @@ -0,0 +1,91 @@ +//! moment.js locale configuration +//! locale : Turkmen [tk] +//! author : Atamyrat Abdyrahmanov : https://github.com/atamyratabdy + +import moment from '../moment'; + +var suffixes = { + 1: "'inji", + 5: "'inji", + 8: "'inji", + 70: "'inji", + 80: "'inji", + 2: "'nji", + 7: "'nji", + 20: "'nji", + 50: "'nji", + 3: "'ünji", + 4: "'ünji", + 100: "'ünji", + 6: "'njy", + 9: "'unjy", + 10: "'unjy", + 30: "'unjy", + 60: "'ynjy", + 90: "'ynjy", +}; + +export default moment.defineLocale('tk', { + months: 'Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr'.split( + '_' + ), + monthsShort: 'Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek'.split('_'), + weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe'.split( + '_' + ), + weekdaysShort: 'Ýek_Duş_Siş_Çar_Pen_Ann_Şen'.split('_'), + weekdaysMin: 'Ýk_Dş_Sş_Çr_Pn_An_Şn'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[bugün sagat] LT', + nextDay: '[ertir sagat] LT', + nextWeek: '[indiki] dddd [sagat] LT', + lastDay: '[düýn] LT', + lastWeek: '[geçen] dddd [sagat] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s soň', + past: '%s öň', + s: 'birnäçe sekunt', + m: 'bir minut', + mm: '%d minut', + h: 'bir sagat', + hh: '%d sagat', + d: 'bir gün', + dd: '%d gün', + M: 'bir aý', + MM: '%d aý', + y: 'bir ýyl', + yy: '%d ýyl', + }, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'Do': + case 'DD': + return number; + default: + if (number === 0) { + // special case for zero + return number + "'unjy"; + } + var a = number % 10, + b = (number % 100) - a, + c = number >= 100 ? 100 : null; + return number + (suffixes[a] || suffixes[b] || suffixes[c]); + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/tl-ph.js b/node_modules/moment/dist/locale/tl-ph.js new file mode 100644 index 0000000..581d74a --- /dev/null +++ b/node_modules/moment/dist/locale/tl-ph.js @@ -0,0 +1,57 @@ +//! moment.js locale configuration +//! locale : Tagalog (Philippines) [tl-ph] +//! author : Dan Hagman : https://github.com/hagmandan + +import moment from '../moment'; + +export default moment.defineLocale('tl-ph', { + months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split( + '_' + ), + monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), + weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split( + '_' + ), + weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), + weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'MM/D/YYYY', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY HH:mm', + LLLL: 'dddd, MMMM DD, YYYY HH:mm', + }, + calendar: { + sameDay: 'LT [ngayong araw]', + nextDay: '[Bukas ng] LT', + nextWeek: 'LT [sa susunod na] dddd', + lastDay: 'LT [kahapon]', + lastWeek: 'LT [noong nakaraang] dddd', + sameElse: 'L', + }, + relativeTime: { + future: 'sa loob ng %s', + past: '%s ang nakalipas', + s: 'ilang segundo', + ss: '%d segundo', + m: 'isang minuto', + mm: '%d minuto', + h: 'isang oras', + hh: '%d oras', + d: 'isang araw', + dd: '%d araw', + M: 'isang buwan', + MM: '%d buwan', + y: 'isang taon', + yy: '%d taon', + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: function (number) { + return number; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/tlh.js b/node_modules/moment/dist/locale/tlh.js new file mode 100644 index 0000000..ccc5d29 --- /dev/null +++ b/node_modules/moment/dist/locale/tlh.js @@ -0,0 +1,124 @@ +//! moment.js locale configuration +//! locale : Klingon [tlh] +//! author : Dominika Kruk : https://github.com/amaranthrose + +import moment from '../moment'; + +var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_'); + +function translateFuture(output) { + var time = output; + time = + output.indexOf('jaj') !== -1 + ? time.slice(0, -3) + 'leS' + : output.indexOf('jar') !== -1 + ? time.slice(0, -3) + 'waQ' + : output.indexOf('DIS') !== -1 + ? time.slice(0, -3) + 'nem' + : time + ' pIq'; + return time; +} + +function translatePast(output) { + var time = output; + time = + output.indexOf('jaj') !== -1 + ? time.slice(0, -3) + 'Hu’' + : output.indexOf('jar') !== -1 + ? time.slice(0, -3) + 'wen' + : output.indexOf('DIS') !== -1 + ? time.slice(0, -3) + 'ben' + : time + ' ret'; + return time; +} + +function translate(number, withoutSuffix, string, isFuture) { + var numberNoun = numberAsNoun(number); + switch (string) { + case 'ss': + return numberNoun + ' lup'; + case 'mm': + return numberNoun + ' tup'; + case 'hh': + return numberNoun + ' rep'; + case 'dd': + return numberNoun + ' jaj'; + case 'MM': + return numberNoun + ' jar'; + case 'yy': + return numberNoun + ' DIS'; + } +} + +function numberAsNoun(number) { + var hundred = Math.floor((number % 1000) / 100), + ten = Math.floor((number % 100) / 10), + one = number % 10, + word = ''; + if (hundred > 0) { + word += numbersNouns[hundred] + 'vatlh'; + } + if (ten > 0) { + word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH'; + } + if (one > 0) { + word += (word !== '' ? ' ' : '') + numbersNouns[one]; + } + return word === '' ? 'pagh' : word; +} + +export default moment.defineLocale('tlh', { + months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split( + '_' + ), + monthsShort: + 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split( + '_' + ), + weekdaysShort: + 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + weekdaysMin: + 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[DaHjaj] LT', + nextDay: '[wa’leS] LT', + nextWeek: 'LLL', + lastDay: '[wa’Hu’] LT', + lastWeek: 'LLL', + sameElse: 'L', + }, + relativeTime: { + future: translateFuture, + past: translatePast, + s: 'puS lup', + ss: translate, + m: 'wa’ tup', + mm: translate, + h: 'wa’ rep', + hh: translate, + d: 'wa’ jaj', + dd: translate, + M: 'wa’ jar', + MM: translate, + y: 'wa’ DIS', + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/tr.js b/node_modules/moment/dist/locale/tr.js new file mode 100644 index 0000000..c5abbdc --- /dev/null +++ b/node_modules/moment/dist/locale/tr.js @@ -0,0 +1,106 @@ +//! moment.js locale configuration +//! locale : Turkish [tr] +//! authors : Erhan Gundogan : https://github.com/erhangundogan, +//! Burak Yiğit Kaya: https://github.com/BYK + +import moment from '../moment'; + +var suffixes = { + 1: "'inci", + 5: "'inci", + 8: "'inci", + 70: "'inci", + 80: "'inci", + 2: "'nci", + 7: "'nci", + 20: "'nci", + 50: "'nci", + 3: "'üncü", + 4: "'üncü", + 100: "'üncü", + 6: "'ncı", + 9: "'uncu", + 10: "'uncu", + 30: "'uncu", + 60: "'ıncı", + 90: "'ıncı", +}; + +export default moment.defineLocale('tr', { + months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split( + '_' + ), + monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'), + weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split( + '_' + ), + weekdaysShort: 'Paz_Pzt_Sal_Çar_Per_Cum_Cmt'.split('_'), + weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'), + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'öö' : 'ÖÖ'; + } else { + return isLower ? 'ös' : 'ÖS'; + } + }, + meridiemParse: /öö|ÖÖ|ös|ÖS/, + isPM: function (input) { + return input === 'ös' || input === 'ÖS'; + }, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[bugün saat] LT', + nextDay: '[yarın saat] LT', + nextWeek: '[gelecek] dddd [saat] LT', + lastDay: '[dün] LT', + lastWeek: '[geçen] dddd [saat] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s sonra', + past: '%s önce', + s: 'birkaç saniye', + ss: '%d saniye', + m: 'bir dakika', + mm: '%d dakika', + h: 'bir saat', + hh: '%d saat', + d: 'bir gün', + dd: '%d gün', + w: 'bir hafta', + ww: '%d hafta', + M: 'bir ay', + MM: '%d ay', + y: 'bir yıl', + yy: '%d yıl', + }, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'Do': + case 'DD': + return number; + default: + if (number === 0) { + // special case for zero + return number + "'ıncı"; + } + var a = number % 10, + b = (number % 100) - a, + c = number >= 100 ? 100 : null; + return number + (suffixes[a] || suffixes[b] || suffixes[c]); + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/tzl.js b/node_modules/moment/dist/locale/tzl.js new file mode 100644 index 0000000..5447082 --- /dev/null +++ b/node_modules/moment/dist/locale/tzl.js @@ -0,0 +1,89 @@ +//! moment.js locale configuration +//! locale : Talossan [tzl] +//! author : Robin van der Vliet : https://github.com/robin0van0der0v +//! author : Iustì Canun + +import moment from '../moment'; + +// After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals. +// This is currently too difficult (maybe even impossible) to add. +export default moment.defineLocale('tzl', { + months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split( + '_' + ), + monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'), + weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'), + weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'), + weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM [dallas] YYYY', + LLL: 'D. MMMM [dallas] YYYY HH.mm', + LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm', + }, + meridiemParse: /d\'o|d\'a/i, + isPM: function (input) { + return "d'o" === input.toLowerCase(); + }, + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? "d'o" : "D'O"; + } else { + return isLower ? "d'a" : "D'A"; + } + }, + calendar: { + sameDay: '[oxhi à] LT', + nextDay: '[demà à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[ieiri à] LT', + lastWeek: '[sür el] dddd [lasteu à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'osprei %s', + past: 'ja%s', + s: processRelativeTime, + ss: processRelativeTime, + m: processRelativeTime, + mm: processRelativeTime, + h: processRelativeTime, + hh: processRelativeTime, + d: processRelativeTime, + dd: processRelativeTime, + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); + +function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + s: ['viensas secunds', "'iensas secunds"], + ss: [number + ' secunds', '' + number + ' secunds'], + m: ["'n míut", "'iens míut"], + mm: [number + ' míuts', '' + number + ' míuts'], + h: ["'n þora", "'iensa þora"], + hh: [number + ' þoras', '' + number + ' þoras'], + d: ["'n ziua", "'iensa ziua"], + dd: [number + ' ziuas', '' + number + ' ziuas'], + M: ["'n mes", "'iens mes"], + MM: [number + ' mesen', '' + number + ' mesen'], + y: ["'n ar", "'iens ar"], + yy: [number + ' ars', '' + number + ' ars'], + }; + return isFuture + ? format[key][0] + : withoutSuffix + ? format[key][0] + : format[key][1]; +} diff --git a/node_modules/moment/dist/locale/tzm-latn.js b/node_modules/moment/dist/locale/tzm-latn.js new file mode 100644 index 0000000..6a427d8 --- /dev/null +++ b/node_modules/moment/dist/locale/tzm-latn.js @@ -0,0 +1,54 @@ +//! moment.js locale configuration +//! locale : Central Atlas Tamazight Latin [tzm-latn] +//! author : Abdel Said : https://github.com/abdelsaid + +import moment from '../moment'; + +export default moment.defineLocale('tzm-latn', { + months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split( + '_' + ), + monthsShort: + 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split( + '_' + ), + weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[asdkh g] LT', + nextDay: '[aska g] LT', + nextWeek: 'dddd [g] LT', + lastDay: '[assant g] LT', + lastWeek: 'dddd [g] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dadkh s yan %s', + past: 'yan %s', + s: 'imik', + ss: '%d imik', + m: 'minuḍ', + mm: '%d minuḍ', + h: 'saɛa', + hh: '%d tassaɛin', + d: 'ass', + dd: '%d ossan', + M: 'ayowr', + MM: '%d iyyirn', + y: 'asgas', + yy: '%d isgasn', + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/tzm.js b/node_modules/moment/dist/locale/tzm.js new file mode 100644 index 0000000..1e5d597 --- /dev/null +++ b/node_modules/moment/dist/locale/tzm.js @@ -0,0 +1,54 @@ +//! moment.js locale configuration +//! locale : Central Atlas Tamazight [tzm] +//! author : Abdel Said : https://github.com/abdelsaid + +import moment from '../moment'; + +export default moment.defineLocale('tzm', { + months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split( + '_' + ), + monthsShort: + 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split( + '_' + ), + weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[ⴰⵙⴷⵅ ⴴ] LT', + nextDay: '[ⴰⵙⴽⴰ ⴴ] LT', + nextWeek: 'dddd [ⴴ] LT', + lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT', + lastWeek: 'dddd [ⴴ] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s', + past: 'ⵢⴰⵏ %s', + s: 'ⵉⵎⵉⴽ', + ss: '%d ⵉⵎⵉⴽ', + m: 'ⵎⵉⵏⵓⴺ', + mm: '%d ⵎⵉⵏⵓⴺ', + h: 'ⵙⴰⵄⴰ', + hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ', + d: 'ⴰⵙⵙ', + dd: '%d oⵙⵙⴰⵏ', + M: 'ⴰⵢoⵓⵔ', + MM: '%d ⵉⵢⵢⵉⵔⵏ', + y: 'ⴰⵙⴳⴰⵙ', + yy: '%d ⵉⵙⴳⴰⵙⵏ', + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ug-cn.js b/node_modules/moment/dist/locale/ug-cn.js new file mode 100644 index 0000000..ad6fa94 --- /dev/null +++ b/node_modules/moment/dist/locale/ug-cn.js @@ -0,0 +1,111 @@ +//! moment.js locale configuration +//! locale : Uyghur (China) [ug-cn] +//! author: boyaq : https://github.com/boyaq + +import moment from '../moment'; + +export default moment.defineLocale('ug-cn', { + months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split( + '_' + ), + monthsShort: + 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split( + '_' + ), + weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split( + '_' + ), + weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'), + weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى', + LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm', + LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm', + }, + meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + meridiem === 'يېرىم كېچە' || + meridiem === 'سەھەر' || + meridiem === 'چۈشتىن بۇرۇن' + ) { + return hour; + } else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') { + return hour + 12; + } else { + return hour >= 11 ? hour : hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return 'يېرىم كېچە'; + } else if (hm < 900) { + return 'سەھەر'; + } else if (hm < 1130) { + return 'چۈشتىن بۇرۇن'; + } else if (hm < 1230) { + return 'چۈش'; + } else if (hm < 1800) { + return 'چۈشتىن كېيىن'; + } else { + return 'كەچ'; + } + }, + calendar: { + sameDay: '[بۈگۈن سائەت] LT', + nextDay: '[ئەتە سائەت] LT', + nextWeek: '[كېلەركى] dddd [سائەت] LT', + lastDay: '[تۆنۈگۈن] LT', + lastWeek: '[ئالدىنقى] dddd [سائەت] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s كېيىن', + past: '%s بۇرۇن', + s: 'نەچچە سېكونت', + ss: '%d سېكونت', + m: 'بىر مىنۇت', + mm: '%d مىنۇت', + h: 'بىر سائەت', + hh: '%d سائەت', + d: 'بىر كۈن', + dd: '%d كۈن', + M: 'بىر ئاي', + MM: '%d ئاي', + y: 'بىر يىل', + yy: '%d يىل', + }, + + dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '-كۈنى'; + case 'w': + case 'W': + return number + '-ھەپتە'; + default: + return number; + } + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效 + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 1st is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/uk.js b/node_modules/moment/dist/locale/uk.js new file mode 100644 index 0000000..670ffcc --- /dev/null +++ b/node_modules/moment/dist/locale/uk.js @@ -0,0 +1,167 @@ +//! moment.js locale configuration +//! locale : Ukrainian [uk] +//! author : zemlanin : https://github.com/zemlanin +//! Author : Menelion Elensúle : https://github.com/Oire + +import moment from '../moment'; + +function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 + ? forms[0] + : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) + ? forms[1] + : forms[2]; +} +function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд', + mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин', + hh: withoutSuffix ? 'година_години_годин' : 'годину_години_годин', + dd: 'день_дні_днів', + MM: 'місяць_місяці_місяців', + yy: 'рік_роки_років', + }; + if (key === 'm') { + return withoutSuffix ? 'хвилина' : 'хвилину'; + } else if (key === 'h') { + return withoutSuffix ? 'година' : 'годину'; + } else { + return number + ' ' + plural(format[key], +number); + } +} +function weekdaysCaseReplace(m, format) { + var weekdays = { + nominative: + 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split( + '_' + ), + accusative: + 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split( + '_' + ), + genitive: + 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split( + '_' + ), + }, + nounCase; + + if (m === true) { + return weekdays['nominative'] + .slice(1, 7) + .concat(weekdays['nominative'].slice(0, 1)); + } + if (!m) { + return weekdays['nominative']; + } + + nounCase = /(\[[ВвУу]\]) ?dddd/.test(format) + ? 'accusative' + : /\[?(?:минулої|наступної)? ?\] ?dddd/.test(format) + ? 'genitive' + : 'nominative'; + return weekdays[nounCase][m.day()]; +} +function processHoursFunction(str) { + return function () { + return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT'; + }; +} + +export default moment.defineLocale('uk', { + months: { + format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split( + '_' + ), + standalone: + 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split( + '_' + ), + }, + monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split( + '_' + ), + weekdays: weekdaysCaseReplace, + weekdaysShort: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY р.', + LLL: 'D MMMM YYYY р., HH:mm', + LLLL: 'dddd, D MMMM YYYY р., HH:mm', + }, + calendar: { + sameDay: processHoursFunction('[Сьогодні '), + nextDay: processHoursFunction('[Завтра '), + lastDay: processHoursFunction('[Вчора '), + nextWeek: processHoursFunction('[У] dddd ['), + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 5: + case 6: + return processHoursFunction('[Минулої] dddd [').call(this); + case 1: + case 2: + case 4: + return processHoursFunction('[Минулого] dddd [').call(this); + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'за %s', + past: '%s тому', + s: 'декілька секунд', + ss: relativeTimeWithPlural, + m: relativeTimeWithPlural, + mm: relativeTimeWithPlural, + h: 'годину', + hh: relativeTimeWithPlural, + d: 'день', + dd: relativeTimeWithPlural, + M: 'місяць', + MM: relativeTimeWithPlural, + y: 'рік', + yy: relativeTimeWithPlural, + }, + // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason + meridiemParse: /ночі|ранку|дня|вечора/, + isPM: function (input) { + return /^(дня|вечора)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ночі'; + } else if (hour < 12) { + return 'ранку'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечора'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + case 'w': + case 'W': + return number + '-й'; + case 'D': + return number + '-го'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/ur.js b/node_modules/moment/dist/locale/ur.js new file mode 100644 index 0000000..ca5e252 --- /dev/null +++ b/node_modules/moment/dist/locale/ur.js @@ -0,0 +1,82 @@ +//! moment.js locale configuration +//! locale : Urdu [ur] +//! author : Sawood Alam : https://github.com/ibnesayeed +//! author : Zack : https://github.com/ZackVision + +import moment from '../moment'; + +var months = [ + 'جنوری', + 'فروری', + 'مارچ', + 'اپریل', + 'مئی', + 'جون', + 'جولائی', + 'اگست', + 'ستمبر', + 'اکتوبر', + 'نومبر', + 'دسمبر', + ], + days = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ']; + +export default moment.defineLocale('ur', { + months: months, + monthsShort: months, + weekdays: days, + weekdaysShort: days, + weekdaysMin: days, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd، D MMMM YYYY HH:mm', + }, + meridiemParse: /صبح|شام/, + isPM: function (input) { + return 'شام' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'صبح'; + } + return 'شام'; + }, + calendar: { + sameDay: '[آج بوقت] LT', + nextDay: '[کل بوقت] LT', + nextWeek: 'dddd [بوقت] LT', + lastDay: '[گذشتہ روز بوقت] LT', + lastWeek: '[گذشتہ] dddd [بوقت] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s بعد', + past: '%s قبل', + s: 'چند سیکنڈ', + ss: '%d سیکنڈ', + m: 'ایک منٹ', + mm: '%d منٹ', + h: 'ایک گھنٹہ', + hh: '%d گھنٹے', + d: 'ایک دن', + dd: '%d دن', + M: 'ایک ماہ', + MM: '%d ماہ', + y: 'ایک سال', + yy: '%d سال', + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/uz-latn.js b/node_modules/moment/dist/locale/uz-latn.js new file mode 100644 index 0000000..a2d577e --- /dev/null +++ b/node_modules/moment/dist/locale/uz-latn.js @@ -0,0 +1,54 @@ +//! moment.js locale configuration +//! locale : Uzbek Latin [uz-latn] +//! author : Rasulbek Mirzayev : github.com/Rasulbeeek + +import moment from '../moment'; + +export default moment.defineLocale('uz-latn', { + months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split( + '_' + ), + monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'), + weekdays: + 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split( + '_' + ), + weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'), + weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'D MMMM YYYY, dddd HH:mm', + }, + calendar: { + sameDay: '[Bugun soat] LT [da]', + nextDay: '[Ertaga] LT [da]', + nextWeek: 'dddd [kuni soat] LT [da]', + lastDay: '[Kecha soat] LT [da]', + lastWeek: "[O'tgan] dddd [kuni soat] LT [da]", + sameElse: 'L', + }, + relativeTime: { + future: 'Yaqin %s ichida', + past: 'Bir necha %s oldin', + s: 'soniya', + ss: '%d soniya', + m: 'bir daqiqa', + mm: '%d daqiqa', + h: 'bir soat', + hh: '%d soat', + d: 'bir kun', + dd: '%d kun', + M: 'bir oy', + MM: '%d oy', + y: 'bir yil', + yy: '%d yil', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/uz.js b/node_modules/moment/dist/locale/uz.js new file mode 100644 index 0000000..03914dd --- /dev/null +++ b/node_modules/moment/dist/locale/uz.js @@ -0,0 +1,51 @@ +//! moment.js locale configuration +//! locale : Uzbek [uz] +//! author : Sardor Muminov : https://github.com/muminoff + +import moment from '../moment'; + +export default moment.defineLocale('uz', { + months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split( + '_' + ), + monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'), + weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'), + weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'), + weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'D MMMM YYYY, dddd HH:mm', + }, + calendar: { + sameDay: '[Бугун соат] LT [да]', + nextDay: '[Эртага] LT [да]', + nextWeek: 'dddd [куни соат] LT [да]', + lastDay: '[Кеча соат] LT [да]', + lastWeek: '[Утган] dddd [куни соат] LT [да]', + sameElse: 'L', + }, + relativeTime: { + future: 'Якин %s ичида', + past: 'Бир неча %s олдин', + s: 'фурсат', + ss: '%d фурсат', + m: 'бир дакика', + mm: '%d дакика', + h: 'бир соат', + hh: '%d соат', + d: 'бир кун', + dd: '%d кун', + M: 'бир ой', + MM: '%d ой', + y: 'бир йил', + yy: '%d йил', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/vi.js b/node_modules/moment/dist/locale/vi.js new file mode 100644 index 0000000..2b11cf6 --- /dev/null +++ b/node_modules/moment/dist/locale/vi.js @@ -0,0 +1,80 @@ +//! moment.js locale configuration +//! locale : Vietnamese [vi] +//! author : Bang Nguyen : https://github.com/bangnk +//! author : Chien Kira : https://github.com/chienkira + +import moment from '../moment'; + +export default moment.defineLocale('vi', { + months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split( + '_' + ), + monthsShort: + 'Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split( + '_' + ), + weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'), + weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'), + weekdaysParseExact: true, + meridiemParse: /sa|ch/i, + isPM: function (input) { + return /^ch$/i.test(input); + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'sa' : 'SA'; + } else { + return isLower ? 'ch' : 'CH'; + } + }, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [năm] YYYY', + LLL: 'D MMMM [năm] YYYY HH:mm', + LLLL: 'dddd, D MMMM [năm] YYYY HH:mm', + l: 'DD/M/YYYY', + ll: 'D MMM YYYY', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd, D MMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Hôm nay lúc] LT', + nextDay: '[Ngày mai lúc] LT', + nextWeek: 'dddd [tuần tới lúc] LT', + lastDay: '[Hôm qua lúc] LT', + lastWeek: 'dddd [tuần trước lúc] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s tới', + past: '%s trước', + s: 'vài giây', + ss: '%d giây', + m: 'một phút', + mm: '%d phút', + h: 'một giờ', + hh: '%d giờ', + d: 'một ngày', + dd: '%d ngày', + w: 'một tuần', + ww: '%d tuần', + M: 'một tháng', + MM: '%d tháng', + y: 'một năm', + yy: '%d năm', + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: function (number) { + return number; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/x-pseudo.js b/node_modules/moment/dist/locale/x-pseudo.js new file mode 100644 index 0000000..90df555 --- /dev/null +++ b/node_modules/moment/dist/locale/x-pseudo.js @@ -0,0 +1,73 @@ +//! moment.js locale configuration +//! locale : Pseudo [x-pseudo] +//! author : Andrew Hood : https://github.com/andrewhood125 + +import moment from '../moment'; + +export default moment.defineLocale('x-pseudo', { + months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split( + '_' + ), + monthsShort: + 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split( + '_' + ), + weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'), + weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[T~ódá~ý át] LT', + nextDay: '[T~ómó~rró~w át] LT', + nextWeek: 'dddd [át] LT', + lastDay: '[Ý~ést~érdá~ý át] LT', + lastWeek: '[L~ást] dddd [át] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'í~ñ %s', + past: '%s á~gó', + s: 'á ~féw ~sécó~ñds', + ss: '%d s~écóñ~ds', + m: 'á ~míñ~úté', + mm: '%d m~íñú~tés', + h: 'á~ñ hó~úr', + hh: '%d h~óúrs', + d: 'á ~dáý', + dd: '%d d~áýs', + M: 'á ~móñ~th', + MM: '%d m~óñt~hs', + y: 'á ~ýéár', + yy: '%d ý~éárs', + }, + dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/yo.js b/node_modules/moment/dist/locale/yo.js new file mode 100644 index 0000000..2fcb6e4 --- /dev/null +++ b/node_modules/moment/dist/locale/yo.js @@ -0,0 +1,53 @@ +//! moment.js locale configuration +//! locale : Yoruba Nigeria [yo] +//! author : Atolagbe Abisoye : https://github.com/andela-batolagbe + +import moment from '../moment'; + +export default moment.defineLocale('yo', { + months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split( + '_' + ), + monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'), + weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'), + weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'), + weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Ònì ni] LT', + nextDay: '[Ọ̀la ni] LT', + nextWeek: "dddd [Ọsẹ̀ tón'bọ] [ni] LT", + lastDay: '[Àna ni] LT', + lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ní %s', + past: '%s kọjá', + s: 'ìsẹjú aayá die', + ss: 'aayá %d', + m: 'ìsẹjú kan', + mm: 'ìsẹjú %d', + h: 'wákati kan', + hh: 'wákati %d', + d: 'ọjọ́ kan', + dd: 'ọjọ́ %d', + M: 'osù kan', + MM: 'osù %d', + y: 'ọdún kan', + yy: 'ọdún %d', + }, + dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/, + ordinal: 'ọjọ́ %d', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/zh-cn.js b/node_modules/moment/dist/locale/zh-cn.js new file mode 100644 index 0000000..2345ee6 --- /dev/null +++ b/node_modules/moment/dist/locale/zh-cn.js @@ -0,0 +1,120 @@ +//! moment.js locale configuration +//! locale : Chinese (China) [zh-cn] +//! author : suupic : https://github.com/suupic +//! author : Zeno Zeng : https://github.com/zenozeng +//! author : uu109 : https://github.com/uu109 + +import moment from '../moment'; + +export default moment.defineLocale('zh-cn', { + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_' + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日Ah点mm分', + LLLL: 'YYYY年M月D日ddddAh点mm分', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm', + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } else { + // '中午' + return hour >= 11 ? hour : hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar: { + sameDay: '[今天]LT', + nextDay: '[明天]LT', + nextWeek: function (now) { + if (now.week() !== this.week()) { + return '[下]dddLT'; + } else { + return '[本]dddLT'; + } + }, + lastDay: '[昨天]LT', + lastWeek: function (now) { + if (this.week() !== now.week()) { + return '[上]dddLT'; + } else { + return '[本]dddLT'; + } + }, + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '周'; + default: + return number; + } + }, + relativeTime: { + future: '%s后', + past: '%s前', + s: '几秒', + ss: '%d 秒', + m: '1 分钟', + mm: '%d 分钟', + h: '1 小时', + hh: '%d 小时', + d: '1 天', + dd: '%d 天', + w: '1 周', + ww: '%d 周', + M: '1 个月', + MM: '%d 个月', + y: '1 年', + yy: '%d 年', + }, + week: { + // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效 + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/dist/locale/zh-hk.js b/node_modules/moment/dist/locale/zh-hk.js new file mode 100644 index 0000000..78a1019 --- /dev/null +++ b/node_modules/moment/dist/locale/zh-hk.js @@ -0,0 +1,101 @@ +//! moment.js locale configuration +//! locale : Chinese (Hong Kong) [zh-hk] +//! author : Ben : https://github.com/ben-lin +//! author : Chris Lam : https://github.com/hehachris +//! author : Konstantin : https://github.com/skfd +//! author : Anthony : https://github.com/anthonylau + +import moment from '../moment'; + +export default moment.defineLocale('zh-hk', { + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_' + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日dddd HH:mm', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm', + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '中午') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1200) { + return '上午'; + } else if (hm === 1200) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar: { + sameDay: '[今天]LT', + nextDay: '[明天]LT', + nextWeek: '[下]ddddLT', + lastDay: '[昨天]LT', + lastWeek: '[上]ddddLT', + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '週'; + default: + return number; + } + }, + relativeTime: { + future: '%s後', + past: '%s前', + s: '幾秒', + ss: '%d 秒', + m: '1 分鐘', + mm: '%d 分鐘', + h: '1 小時', + hh: '%d 小時', + d: '1 天', + dd: '%d 天', + M: '1 個月', + MM: '%d 個月', + y: '1 年', + yy: '%d 年', + }, +}); diff --git a/node_modules/moment/dist/locale/zh-mo.js b/node_modules/moment/dist/locale/zh-mo.js new file mode 100644 index 0000000..9ed795d --- /dev/null +++ b/node_modules/moment/dist/locale/zh-mo.js @@ -0,0 +1,100 @@ +//! moment.js locale configuration +//! locale : Chinese (Macau) [zh-mo] +//! author : Ben : https://github.com/ben-lin +//! author : Chris Lam : https://github.com/hehachris +//! author : Tan Yuanhong : https://github.com/le0tan + +import moment from '../moment'; + +export default moment.defineLocale('zh-mo', { + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_' + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日dddd HH:mm', + l: 'D/M/YYYY', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm', + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '中午') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar: { + sameDay: '[今天] LT', + nextDay: '[明天] LT', + nextWeek: '[下]dddd LT', + lastDay: '[昨天] LT', + lastWeek: '[上]dddd LT', + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '週'; + default: + return number; + } + }, + relativeTime: { + future: '%s內', + past: '%s前', + s: '幾秒', + ss: '%d 秒', + m: '1 分鐘', + mm: '%d 分鐘', + h: '1 小時', + hh: '%d 小時', + d: '1 天', + dd: '%d 天', + M: '1 個月', + MM: '%d 個月', + y: '1 年', + yy: '%d 年', + }, +}); diff --git a/node_modules/moment/dist/locale/zh-tw.js b/node_modules/moment/dist/locale/zh-tw.js new file mode 100644 index 0000000..aa98ab1 --- /dev/null +++ b/node_modules/moment/dist/locale/zh-tw.js @@ -0,0 +1,99 @@ +//! moment.js locale configuration +//! locale : Chinese (Taiwan) [zh-tw] +//! author : Ben : https://github.com/ben-lin +//! author : Chris Lam : https://github.com/hehachris + +import moment from '../moment'; + +export default moment.defineLocale('zh-tw', { + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_' + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日dddd HH:mm', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm', + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '中午') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar: { + sameDay: '[今天] LT', + nextDay: '[明天] LT', + nextWeek: '[下]dddd LT', + lastDay: '[昨天] LT', + lastWeek: '[上]dddd LT', + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '週'; + default: + return number; + } + }, + relativeTime: { + future: '%s後', + past: '%s前', + s: '幾秒', + ss: '%d 秒', + m: '1 分鐘', + mm: '%d 分鐘', + h: '1 小時', + hh: '%d 小時', + d: '1 天', + dd: '%d 天', + M: '1 個月', + MM: '%d 個月', + y: '1 年', + yy: '%d 年', + }, +}); diff --git a/node_modules/moment/dist/moment.js b/node_modules/moment/dist/moment.js new file mode 100644 index 0000000..956eeb3 --- /dev/null +++ b/node_modules/moment/dist/moment.js @@ -0,0 +1,5680 @@ +//! moment.js +//! version : 2.30.1 +//! authors : Tim Wood, Iskren Chernev, Moment.js contributors +//! license : MIT +//! momentjs.com + +var hookCallback; + +function hooks() { + return hookCallback.apply(null, arguments); +} + +// This is done to register the method called with moment() +// without creating circular dependencies. +function setHookCallback(callback) { + hookCallback = callback; +} + +function isArray(input) { + return ( + input instanceof Array || + Object.prototype.toString.call(input) === '[object Array]' + ); +} + +function isObject(input) { + // IE8 will treat undefined and null as object if it wasn't for + // input != null + return ( + input != null && + Object.prototype.toString.call(input) === '[object Object]' + ); +} + +function hasOwnProp(a, b) { + return Object.prototype.hasOwnProperty.call(a, b); +} + +function isObjectEmpty(obj) { + if (Object.getOwnPropertyNames) { + return Object.getOwnPropertyNames(obj).length === 0; + } else { + var k; + for (k in obj) { + if (hasOwnProp(obj, k)) { + return false; + } + } + return true; + } +} + +function isUndefined(input) { + return input === void 0; +} + +function isNumber(input) { + return ( + typeof input === 'number' || + Object.prototype.toString.call(input) === '[object Number]' + ); +} + +function isDate(input) { + return ( + input instanceof Date || + Object.prototype.toString.call(input) === '[object Date]' + ); +} + +function map(arr, fn) { + var res = [], + i, + arrLen = arr.length; + for (i = 0; i < arrLen; ++i) { + res.push(fn(arr[i], i)); + } + return res; +} + +function extend(a, b) { + for (var i in b) { + if (hasOwnProp(b, i)) { + a[i] = b[i]; + } + } + + if (hasOwnProp(b, 'toString')) { + a.toString = b.toString; + } + + if (hasOwnProp(b, 'valueOf')) { + a.valueOf = b.valueOf; + } + + return a; +} + +function createUTC(input, format, locale, strict) { + return createLocalOrUTC(input, format, locale, strict, true).utc(); +} + +function defaultParsingFlags() { + // We need to deep clone this object. + return { + empty: false, + unusedTokens: [], + unusedInput: [], + overflow: -2, + charsLeftOver: 0, + nullInput: false, + invalidEra: null, + invalidMonth: null, + invalidFormat: false, + userInvalidated: false, + iso: false, + parsedDateParts: [], + era: null, + meridiem: null, + rfc2822: false, + weekdayMismatch: false, + }; +} + +function getParsingFlags(m) { + if (m._pf == null) { + m._pf = defaultParsingFlags(); + } + return m._pf; +} + +var some; +if (Array.prototype.some) { + some = Array.prototype.some; +} else { + some = function (fun) { + var t = Object(this), + len = t.length >>> 0, + i; + + for (i = 0; i < len; i++) { + if (i in t && fun.call(this, t[i], i, t)) { + return true; + } + } + + return false; + }; +} + +function isValid(m) { + var flags = null, + parsedParts = false, + isNowValid = m._d && !isNaN(m._d.getTime()); + if (isNowValid) { + flags = getParsingFlags(m); + parsedParts = some.call(flags.parsedDateParts, function (i) { + return i != null; + }); + isNowValid = + flags.overflow < 0 && + !flags.empty && + !flags.invalidEra && + !flags.invalidMonth && + !flags.invalidWeekday && + !flags.weekdayMismatch && + !flags.nullInput && + !flags.invalidFormat && + !flags.userInvalidated && + (!flags.meridiem || (flags.meridiem && parsedParts)); + if (m._strict) { + isNowValid = + isNowValid && + flags.charsLeftOver === 0 && + flags.unusedTokens.length === 0 && + flags.bigHour === undefined; + } + } + if (Object.isFrozen == null || !Object.isFrozen(m)) { + m._isValid = isNowValid; + } else { + return isNowValid; + } + return m._isValid; +} + +function createInvalid(flags) { + var m = createUTC(NaN); + if (flags != null) { + extend(getParsingFlags(m), flags); + } else { + getParsingFlags(m).userInvalidated = true; + } + + return m; +} + +// Plugins that add properties should also add the key here (null value), +// so we can properly clone ourselves. +var momentProperties = (hooks.momentProperties = []), + updateInProgress = false; + +function copyConfig(to, from) { + var i, + prop, + val, + momentPropertiesLen = momentProperties.length; + + if (!isUndefined(from._isAMomentObject)) { + to._isAMomentObject = from._isAMomentObject; + } + if (!isUndefined(from._i)) { + to._i = from._i; + } + if (!isUndefined(from._f)) { + to._f = from._f; + } + if (!isUndefined(from._l)) { + to._l = from._l; + } + if (!isUndefined(from._strict)) { + to._strict = from._strict; + } + if (!isUndefined(from._tzm)) { + to._tzm = from._tzm; + } + if (!isUndefined(from._isUTC)) { + to._isUTC = from._isUTC; + } + if (!isUndefined(from._offset)) { + to._offset = from._offset; + } + if (!isUndefined(from._pf)) { + to._pf = getParsingFlags(from); + } + if (!isUndefined(from._locale)) { + to._locale = from._locale; + } + + if (momentPropertiesLen > 0) { + for (i = 0; i < momentPropertiesLen; i++) { + prop = momentProperties[i]; + val = from[prop]; + if (!isUndefined(val)) { + to[prop] = val; + } + } + } + + return to; +} + +// Moment prototype object +function Moment(config) { + copyConfig(this, config); + this._d = new Date(config._d != null ? config._d.getTime() : NaN); + if (!this.isValid()) { + this._d = new Date(NaN); + } + // Prevent infinite loop in case updateOffset creates new moment + // objects. + if (updateInProgress === false) { + updateInProgress = true; + hooks.updateOffset(this); + updateInProgress = false; + } +} + +function isMoment(obj) { + return ( + obj instanceof Moment || (obj != null && obj._isAMomentObject != null) + ); +} + +function warn(msg) { + if ( + hooks.suppressDeprecationWarnings === false && + typeof console !== 'undefined' && + console.warn + ) { + console.warn('Deprecation warning: ' + msg); + } +} + +function deprecate(msg, fn) { + var firstTime = true; + + return extend(function () { + if (hooks.deprecationHandler != null) { + hooks.deprecationHandler(null, msg); + } + if (firstTime) { + var args = [], + arg, + i, + key, + argLen = arguments.length; + for (i = 0; i < argLen; i++) { + arg = ''; + if (typeof arguments[i] === 'object') { + arg += '\n[' + i + '] '; + for (key in arguments[0]) { + if (hasOwnProp(arguments[0], key)) { + arg += key + ': ' + arguments[0][key] + ', '; + } + } + arg = arg.slice(0, -2); // Remove trailing comma and space + } else { + arg = arguments[i]; + } + args.push(arg); + } + warn( + msg + + '\nArguments: ' + + Array.prototype.slice.call(args).join('') + + '\n' + + new Error().stack + ); + firstTime = false; + } + return fn.apply(this, arguments); + }, fn); +} + +var deprecations = {}; + +function deprecateSimple(name, msg) { + if (hooks.deprecationHandler != null) { + hooks.deprecationHandler(name, msg); + } + if (!deprecations[name]) { + warn(msg); + deprecations[name] = true; + } +} + +hooks.suppressDeprecationWarnings = false; +hooks.deprecationHandler = null; + +function isFunction(input) { + return ( + (typeof Function !== 'undefined' && input instanceof Function) || + Object.prototype.toString.call(input) === '[object Function]' + ); +} + +function set(config) { + var prop, i; + for (i in config) { + if (hasOwnProp(config, i)) { + prop = config[i]; + if (isFunction(prop)) { + this[i] = prop; + } else { + this['_' + i] = prop; + } + } + } + this._config = config; + // Lenient ordinal parsing accepts just a number in addition to + // number + (possibly) stuff coming from _dayOfMonthOrdinalParse. + // TODO: Remove "ordinalParse" fallback in next major release. + this._dayOfMonthOrdinalParseLenient = new RegExp( + (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + + '|' + + /\d{1,2}/.source + ); +} + +function mergeConfigs(parentConfig, childConfig) { + var res = extend({}, parentConfig), + prop; + for (prop in childConfig) { + if (hasOwnProp(childConfig, prop)) { + if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) { + res[prop] = {}; + extend(res[prop], parentConfig[prop]); + extend(res[prop], childConfig[prop]); + } else if (childConfig[prop] != null) { + res[prop] = childConfig[prop]; + } else { + delete res[prop]; + } + } + } + for (prop in parentConfig) { + if ( + hasOwnProp(parentConfig, prop) && + !hasOwnProp(childConfig, prop) && + isObject(parentConfig[prop]) + ) { + // make sure changes to properties don't modify parent config + res[prop] = extend({}, res[prop]); + } + } + return res; +} + +function Locale(config) { + if (config != null) { + this.set(config); + } +} + +var keys; + +if (Object.keys) { + keys = Object.keys; +} else { + keys = function (obj) { + var i, + res = []; + for (i in obj) { + if (hasOwnProp(obj, i)) { + res.push(i); + } + } + return res; + }; +} + +var defaultCalendar = { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', +}; + +function calendar(key, mom, now) { + var output = this._calendar[key] || this._calendar['sameElse']; + return isFunction(output) ? output.call(mom, now) : output; +} + +function zeroFill(number, targetLength, forceSign) { + var absNumber = '' + Math.abs(number), + zerosToFill = targetLength - absNumber.length, + sign = number >= 0; + return ( + (sign ? (forceSign ? '+' : '') : '-') + + Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + + absNumber + ); +} + +var formattingTokens = + /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, + localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, + formatFunctions = {}, + formatTokenFunctions = {}; + +// token: 'M' +// padded: ['MM', 2] +// ordinal: 'Mo' +// callback: function () { this.month() + 1 } +function addFormatToken(token, padded, ordinal, callback) { + var func = callback; + if (typeof callback === 'string') { + func = function () { + return this[callback](); + }; + } + if (token) { + formatTokenFunctions[token] = func; + } + if (padded) { + formatTokenFunctions[padded[0]] = function () { + return zeroFill(func.apply(this, arguments), padded[1], padded[2]); + }; + } + if (ordinal) { + formatTokenFunctions[ordinal] = function () { + return this.localeData().ordinal( + func.apply(this, arguments), + token + ); + }; + } +} + +function removeFormattingTokens(input) { + if (input.match(/\[[\s\S]/)) { + return input.replace(/^\[|\]$/g, ''); + } + return input.replace(/\\/g, ''); +} + +function makeFormatFunction(format) { + var array = format.match(formattingTokens), + i, + length; + + for (i = 0, length = array.length; i < length; i++) { + if (formatTokenFunctions[array[i]]) { + array[i] = formatTokenFunctions[array[i]]; + } else { + array[i] = removeFormattingTokens(array[i]); + } + } + + return function (mom) { + var output = '', + i; + for (i = 0; i < length; i++) { + output += isFunction(array[i]) + ? array[i].call(mom, format) + : array[i]; + } + return output; + }; +} + +// format date using native date object +function formatMoment(m, format) { + if (!m.isValid()) { + return m.localeData().invalidDate(); + } + + format = expandFormat(format, m.localeData()); + formatFunctions[format] = + formatFunctions[format] || makeFormatFunction(format); + + return formatFunctions[format](m); +} + +function expandFormat(format, locale) { + var i = 5; + + function replaceLongDateFormatTokens(input) { + return locale.longDateFormat(input) || input; + } + + localFormattingTokens.lastIndex = 0; + while (i >= 0 && localFormattingTokens.test(format)) { + format = format.replace( + localFormattingTokens, + replaceLongDateFormatTokens + ); + localFormattingTokens.lastIndex = 0; + i -= 1; + } + + return format; +} + +var defaultLongDateFormat = { + LTS: 'h:mm:ss A', + LT: 'h:mm A', + L: 'MM/DD/YYYY', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY h:mm A', + LLLL: 'dddd, MMMM D, YYYY h:mm A', +}; + +function longDateFormat(key) { + var format = this._longDateFormat[key], + formatUpper = this._longDateFormat[key.toUpperCase()]; + + if (format || !formatUpper) { + return format; + } + + this._longDateFormat[key] = formatUpper + .match(formattingTokens) + .map(function (tok) { + if ( + tok === 'MMMM' || + tok === 'MM' || + tok === 'DD' || + tok === 'dddd' + ) { + return tok.slice(1); + } + return tok; + }) + .join(''); + + return this._longDateFormat[key]; +} + +var defaultInvalidDate = 'Invalid date'; + +function invalidDate() { + return this._invalidDate; +} + +var defaultOrdinal = '%d', + defaultDayOfMonthOrdinalParse = /\d{1,2}/; + +function ordinal(number) { + return this._ordinal.replace('%d', number); +} + +var defaultRelativeTime = { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + w: 'a week', + ww: '%d weeks', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', +}; + +function relativeTime(number, withoutSuffix, string, isFuture) { + var output = this._relativeTime[string]; + return isFunction(output) + ? output(number, withoutSuffix, string, isFuture) + : output.replace(/%d/i, number); +} + +function pastFuture(diff, output) { + var format = this._relativeTime[diff > 0 ? 'future' : 'past']; + return isFunction(format) ? format(output) : format.replace(/%s/i, output); +} + +var aliases = { + D: 'date', + dates: 'date', + date: 'date', + d: 'day', + days: 'day', + day: 'day', + e: 'weekday', + weekdays: 'weekday', + weekday: 'weekday', + E: 'isoWeekday', + isoweekdays: 'isoWeekday', + isoweekday: 'isoWeekday', + DDD: 'dayOfYear', + dayofyears: 'dayOfYear', + dayofyear: 'dayOfYear', + h: 'hour', + hours: 'hour', + hour: 'hour', + ms: 'millisecond', + milliseconds: 'millisecond', + millisecond: 'millisecond', + m: 'minute', + minutes: 'minute', + minute: 'minute', + M: 'month', + months: 'month', + month: 'month', + Q: 'quarter', + quarters: 'quarter', + quarter: 'quarter', + s: 'second', + seconds: 'second', + second: 'second', + gg: 'weekYear', + weekyears: 'weekYear', + weekyear: 'weekYear', + GG: 'isoWeekYear', + isoweekyears: 'isoWeekYear', + isoweekyear: 'isoWeekYear', + w: 'week', + weeks: 'week', + week: 'week', + W: 'isoWeek', + isoweeks: 'isoWeek', + isoweek: 'isoWeek', + y: 'year', + years: 'year', + year: 'year', +}; + +function normalizeUnits(units) { + return typeof units === 'string' + ? aliases[units] || aliases[units.toLowerCase()] + : undefined; +} + +function normalizeObjectUnits(inputObject) { + var normalizedInput = {}, + normalizedProp, + prop; + + for (prop in inputObject) { + if (hasOwnProp(inputObject, prop)) { + normalizedProp = normalizeUnits(prop); + if (normalizedProp) { + normalizedInput[normalizedProp] = inputObject[prop]; + } + } + } + + return normalizedInput; +} + +var priorities = { + date: 9, + day: 11, + weekday: 11, + isoWeekday: 11, + dayOfYear: 4, + hour: 13, + millisecond: 16, + minute: 14, + month: 8, + quarter: 7, + second: 15, + weekYear: 1, + isoWeekYear: 1, + week: 5, + isoWeek: 5, + year: 1, +}; + +function getPrioritizedUnits(unitsObj) { + var units = [], + u; + for (u in unitsObj) { + if (hasOwnProp(unitsObj, u)) { + units.push({ unit: u, priority: priorities[u] }); + } + } + units.sort(function (a, b) { + return a.priority - b.priority; + }); + return units; +} + +var match1 = /\d/, // 0 - 9 + match2 = /\d\d/, // 00 - 99 + match3 = /\d{3}/, // 000 - 999 + match4 = /\d{4}/, // 0000 - 9999 + match6 = /[+-]?\d{6}/, // -999999 - 999999 + match1to2 = /\d\d?/, // 0 - 99 + match3to4 = /\d\d\d\d?/, // 999 - 9999 + match5to6 = /\d\d\d\d\d\d?/, // 99999 - 999999 + match1to3 = /\d{1,3}/, // 0 - 999 + match1to4 = /\d{1,4}/, // 0 - 9999 + match1to6 = /[+-]?\d{1,6}/, // -999999 - 999999 + matchUnsigned = /\d+/, // 0 - inf + matchSigned = /[+-]?\d+/, // -inf - inf + matchOffset = /Z|[+-]\d\d:?\d\d/gi, // +00:00 -00:00 +0000 -0000 or Z + matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi, // +00 -00 +00:00 -00:00 +0000 -0000 or Z + matchTimestamp = /[+-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123 + // any word (or two) characters or numbers including two/three word month in arabic. + // includes scottish gaelic two word and hyphenated months + matchWord = + /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, + match1to2NoLeadingZero = /^[1-9]\d?/, // 1-99 + match1to2HasZero = /^([1-9]\d|\d)/, // 0-99 + regexes; + +regexes = {}; + +function addRegexToken(token, regex, strictRegex) { + regexes[token] = isFunction(regex) + ? regex + : function (isStrict, localeData) { + return isStrict && strictRegex ? strictRegex : regex; + }; +} + +function getParseRegexForToken(token, config) { + if (!hasOwnProp(regexes, token)) { + return new RegExp(unescapeFormat(token)); + } + + return regexes[token](config._strict, config._locale); +} + +// Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript +function unescapeFormat(s) { + return regexEscape( + s + .replace('\\', '') + .replace( + /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, + function (matched, p1, p2, p3, p4) { + return p1 || p2 || p3 || p4; + } + ) + ); +} + +function regexEscape(s) { + return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); +} + +function absFloor(number) { + if (number < 0) { + // -0 -> 0 + return Math.ceil(number) || 0; + } else { + return Math.floor(number); + } +} + +function toInt(argumentForCoercion) { + var coercedNumber = +argumentForCoercion, + value = 0; + + if (coercedNumber !== 0 && isFinite(coercedNumber)) { + value = absFloor(coercedNumber); + } + + return value; +} + +var tokens = {}; + +function addParseToken(token, callback) { + var i, + func = callback, + tokenLen; + if (typeof token === 'string') { + token = [token]; + } + if (isNumber(callback)) { + func = function (input, array) { + array[callback] = toInt(input); + }; + } + tokenLen = token.length; + for (i = 0; i < tokenLen; i++) { + tokens[token[i]] = func; + } +} + +function addWeekParseToken(token, callback) { + addParseToken(token, function (input, array, config, token) { + config._w = config._w || {}; + callback(input, config._w, config, token); + }); +} + +function addTimeToArrayFromToken(token, input, config) { + if (input != null && hasOwnProp(tokens, token)) { + tokens[token](input, config._a, config, token); + } +} + +function isLeapYear(year) { + return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; +} + +var YEAR = 0, + MONTH = 1, + DATE = 2, + HOUR = 3, + MINUTE = 4, + SECOND = 5, + MILLISECOND = 6, + WEEK = 7, + WEEKDAY = 8; + +// FORMATTING + +addFormatToken('Y', 0, 0, function () { + var y = this.year(); + return y <= 9999 ? zeroFill(y, 4) : '+' + y; +}); + +addFormatToken(0, ['YY', 2], 0, function () { + return this.year() % 100; +}); + +addFormatToken(0, ['YYYY', 4], 0, 'year'); +addFormatToken(0, ['YYYYY', 5], 0, 'year'); +addFormatToken(0, ['YYYYYY', 6, true], 0, 'year'); + +// PARSING + +addRegexToken('Y', matchSigned); +addRegexToken('YY', match1to2, match2); +addRegexToken('YYYY', match1to4, match4); +addRegexToken('YYYYY', match1to6, match6); +addRegexToken('YYYYYY', match1to6, match6); + +addParseToken(['YYYYY', 'YYYYYY'], YEAR); +addParseToken('YYYY', function (input, array) { + array[YEAR] = + input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input); +}); +addParseToken('YY', function (input, array) { + array[YEAR] = hooks.parseTwoDigitYear(input); +}); +addParseToken('Y', function (input, array) { + array[YEAR] = parseInt(input, 10); +}); + +// HELPERS + +function daysInYear(year) { + return isLeapYear(year) ? 366 : 365; +} + +// HOOKS + +hooks.parseTwoDigitYear = function (input) { + return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); +}; + +// MOMENTS + +var getSetYear = makeGetSet('FullYear', true); + +function getIsLeapYear() { + return isLeapYear(this.year()); +} + +function makeGetSet(unit, keepTime) { + return function (value) { + if (value != null) { + set$1(this, unit, value); + hooks.updateOffset(this, keepTime); + return this; + } else { + return get(this, unit); + } + }; +} + +function get(mom, unit) { + if (!mom.isValid()) { + return NaN; + } + + var d = mom._d, + isUTC = mom._isUTC; + + switch (unit) { + case 'Milliseconds': + return isUTC ? d.getUTCMilliseconds() : d.getMilliseconds(); + case 'Seconds': + return isUTC ? d.getUTCSeconds() : d.getSeconds(); + case 'Minutes': + return isUTC ? d.getUTCMinutes() : d.getMinutes(); + case 'Hours': + return isUTC ? d.getUTCHours() : d.getHours(); + case 'Date': + return isUTC ? d.getUTCDate() : d.getDate(); + case 'Day': + return isUTC ? d.getUTCDay() : d.getDay(); + case 'Month': + return isUTC ? d.getUTCMonth() : d.getMonth(); + case 'FullYear': + return isUTC ? d.getUTCFullYear() : d.getFullYear(); + default: + return NaN; // Just in case + } +} + +function set$1(mom, unit, value) { + var d, isUTC, year, month, date; + + if (!mom.isValid() || isNaN(value)) { + return; + } + + d = mom._d; + isUTC = mom._isUTC; + + switch (unit) { + case 'Milliseconds': + return void (isUTC + ? d.setUTCMilliseconds(value) + : d.setMilliseconds(value)); + case 'Seconds': + return void (isUTC ? d.setUTCSeconds(value) : d.setSeconds(value)); + case 'Minutes': + return void (isUTC ? d.setUTCMinutes(value) : d.setMinutes(value)); + case 'Hours': + return void (isUTC ? d.setUTCHours(value) : d.setHours(value)); + case 'Date': + return void (isUTC ? d.setUTCDate(value) : d.setDate(value)); + // case 'Day': // Not real + // return void (isUTC ? d.setUTCDay(value) : d.setDay(value)); + // case 'Month': // Not used because we need to pass two variables + // return void (isUTC ? d.setUTCMonth(value) : d.setMonth(value)); + case 'FullYear': + break; // See below ... + default: + return; // Just in case + } + + year = value; + month = mom.month(); + date = mom.date(); + date = date === 29 && month === 1 && !isLeapYear(year) ? 28 : date; + void (isUTC + ? d.setUTCFullYear(year, month, date) + : d.setFullYear(year, month, date)); +} + +// MOMENTS + +function stringGet(units) { + units = normalizeUnits(units); + if (isFunction(this[units])) { + return this[units](); + } + return this; +} + +function stringSet(units, value) { + if (typeof units === 'object') { + units = normalizeObjectUnits(units); + var prioritized = getPrioritizedUnits(units), + i, + prioritizedLen = prioritized.length; + for (i = 0; i < prioritizedLen; i++) { + this[prioritized[i].unit](units[prioritized[i].unit]); + } + } else { + units = normalizeUnits(units); + if (isFunction(this[units])) { + return this[units](value); + } + } + return this; +} + +function mod(n, x) { + return ((n % x) + x) % x; +} + +var indexOf; + +if (Array.prototype.indexOf) { + indexOf = Array.prototype.indexOf; +} else { + indexOf = function (o) { + // I know + var i; + for (i = 0; i < this.length; ++i) { + if (this[i] === o) { + return i; + } + } + return -1; + }; +} + +function daysInMonth(year, month) { + if (isNaN(year) || isNaN(month)) { + return NaN; + } + var modMonth = mod(month, 12); + year += (month - modMonth) / 12; + return modMonth === 1 + ? isLeapYear(year) + ? 29 + : 28 + : 31 - ((modMonth % 7) % 2); +} + +// FORMATTING + +addFormatToken('M', ['MM', 2], 'Mo', function () { + return this.month() + 1; +}); + +addFormatToken('MMM', 0, 0, function (format) { + return this.localeData().monthsShort(this, format); +}); + +addFormatToken('MMMM', 0, 0, function (format) { + return this.localeData().months(this, format); +}); + +// PARSING + +addRegexToken('M', match1to2, match1to2NoLeadingZero); +addRegexToken('MM', match1to2, match2); +addRegexToken('MMM', function (isStrict, locale) { + return locale.monthsShortRegex(isStrict); +}); +addRegexToken('MMMM', function (isStrict, locale) { + return locale.monthsRegex(isStrict); +}); + +addParseToken(['M', 'MM'], function (input, array) { + array[MONTH] = toInt(input) - 1; +}); + +addParseToken(['MMM', 'MMMM'], function (input, array, config, token) { + var month = config._locale.monthsParse(input, token, config._strict); + // if we didn't find a month name, mark the date as invalid. + if (month != null) { + array[MONTH] = month; + } else { + getParsingFlags(config).invalidMonth = input; + } +}); + +// LOCALES + +var defaultLocaleMonths = + 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + defaultLocaleMonthsShort = + 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, + defaultMonthsShortRegex = matchWord, + defaultMonthsRegex = matchWord; + +function localeMonths(m, format) { + if (!m) { + return isArray(this._months) + ? this._months + : this._months['standalone']; + } + return isArray(this._months) + ? this._months[m.month()] + : this._months[ + (this._months.isFormat || MONTHS_IN_FORMAT).test(format) + ? 'format' + : 'standalone' + ][m.month()]; +} + +function localeMonthsShort(m, format) { + if (!m) { + return isArray(this._monthsShort) + ? this._monthsShort + : this._monthsShort['standalone']; + } + return isArray(this._monthsShort) + ? this._monthsShort[m.month()] + : this._monthsShort[ + MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone' + ][m.month()]; +} + +function handleStrictParse(monthName, format, strict) { + var i, + ii, + mom, + llc = monthName.toLocaleLowerCase(); + if (!this._monthsParse) { + // this is not used + this._monthsParse = []; + this._longMonthsParse = []; + this._shortMonthsParse = []; + for (i = 0; i < 12; ++i) { + mom = createUTC([2000, i]); + this._shortMonthsParse[i] = this.monthsShort( + mom, + '' + ).toLocaleLowerCase(); + this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase(); + } + } + + if (strict) { + if (format === 'MMM') { + ii = indexOf.call(this._shortMonthsParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf.call(this._longMonthsParse, llc); + return ii !== -1 ? ii : null; + } + } else { + if (format === 'MMM') { + ii = indexOf.call(this._shortMonthsParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._longMonthsParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf.call(this._longMonthsParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._shortMonthsParse, llc); + return ii !== -1 ? ii : null; + } + } +} + +function localeMonthsParse(monthName, format, strict) { + var i, mom, regex; + + if (this._monthsParseExact) { + return handleStrictParse.call(this, monthName, format, strict); + } + + if (!this._monthsParse) { + this._monthsParse = []; + this._longMonthsParse = []; + this._shortMonthsParse = []; + } + + // TODO: add sorting + // Sorting makes sure if one month (or abbr) is a prefix of another + // see sorting in computeMonthsParse + for (i = 0; i < 12; i++) { + // make the regex if we don't have it already + mom = createUTC([2000, i]); + if (strict && !this._longMonthsParse[i]) { + this._longMonthsParse[i] = new RegExp( + '^' + this.months(mom, '').replace('.', '') + '$', + 'i' + ); + this._shortMonthsParse[i] = new RegExp( + '^' + this.monthsShort(mom, '').replace('.', '') + '$', + 'i' + ); + } + if (!strict && !this._monthsParse[i]) { + regex = + '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, ''); + this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i'); + } + // test the regex + if ( + strict && + format === 'MMMM' && + this._longMonthsParse[i].test(monthName) + ) { + return i; + } else if ( + strict && + format === 'MMM' && + this._shortMonthsParse[i].test(monthName) + ) { + return i; + } else if (!strict && this._monthsParse[i].test(monthName)) { + return i; + } + } +} + +// MOMENTS + +function setMonth(mom, value) { + if (!mom.isValid()) { + // No op + return mom; + } + + if (typeof value === 'string') { + if (/^\d+$/.test(value)) { + value = toInt(value); + } else { + value = mom.localeData().monthsParse(value); + // TODO: Another silent failure? + if (!isNumber(value)) { + return mom; + } + } + } + + var month = value, + date = mom.date(); + + date = date < 29 ? date : Math.min(date, daysInMonth(mom.year(), month)); + void (mom._isUTC + ? mom._d.setUTCMonth(month, date) + : mom._d.setMonth(month, date)); + return mom; +} + +function getSetMonth(value) { + if (value != null) { + setMonth(this, value); + hooks.updateOffset(this, true); + return this; + } else { + return get(this, 'Month'); + } +} + +function getDaysInMonth() { + return daysInMonth(this.year(), this.month()); +} + +function monthsShortRegex(isStrict) { + if (this._monthsParseExact) { + if (!hasOwnProp(this, '_monthsRegex')) { + computeMonthsParse.call(this); + } + if (isStrict) { + return this._monthsShortStrictRegex; + } else { + return this._monthsShortRegex; + } + } else { + if (!hasOwnProp(this, '_monthsShortRegex')) { + this._monthsShortRegex = defaultMonthsShortRegex; + } + return this._monthsShortStrictRegex && isStrict + ? this._monthsShortStrictRegex + : this._monthsShortRegex; + } +} + +function monthsRegex(isStrict) { + if (this._monthsParseExact) { + if (!hasOwnProp(this, '_monthsRegex')) { + computeMonthsParse.call(this); + } + if (isStrict) { + return this._monthsStrictRegex; + } else { + return this._monthsRegex; + } + } else { + if (!hasOwnProp(this, '_monthsRegex')) { + this._monthsRegex = defaultMonthsRegex; + } + return this._monthsStrictRegex && isStrict + ? this._monthsStrictRegex + : this._monthsRegex; + } +} + +function computeMonthsParse() { + function cmpLenRev(a, b) { + return b.length - a.length; + } + + var shortPieces = [], + longPieces = [], + mixedPieces = [], + i, + mom, + shortP, + longP; + for (i = 0; i < 12; i++) { + // make the regex if we don't have it already + mom = createUTC([2000, i]); + shortP = regexEscape(this.monthsShort(mom, '')); + longP = regexEscape(this.months(mom, '')); + shortPieces.push(shortP); + longPieces.push(longP); + mixedPieces.push(longP); + mixedPieces.push(shortP); + } + // Sorting makes sure if one month (or abbr) is a prefix of another it + // will match the longer piece. + shortPieces.sort(cmpLenRev); + longPieces.sort(cmpLenRev); + mixedPieces.sort(cmpLenRev); + + this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); + this._monthsShortRegex = this._monthsRegex; + this._monthsStrictRegex = new RegExp( + '^(' + longPieces.join('|') + ')', + 'i' + ); + this._monthsShortStrictRegex = new RegExp( + '^(' + shortPieces.join('|') + ')', + 'i' + ); +} + +function createDate(y, m, d, h, M, s, ms) { + // can't just apply() to create a date: + // https://stackoverflow.com/q/181348 + var date; + // the date constructor remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0) { + // preserve leap years using a full 400 year cycle, then reset + date = new Date(y + 400, m, d, h, M, s, ms); + if (isFinite(date.getFullYear())) { + date.setFullYear(y); + } + } else { + date = new Date(y, m, d, h, M, s, ms); + } + + return date; +} + +function createUTCDate(y) { + var date, args; + // the Date.UTC function remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0) { + args = Array.prototype.slice.call(arguments); + // preserve leap years using a full 400 year cycle, then reset + args[0] = y + 400; + date = new Date(Date.UTC.apply(null, args)); + if (isFinite(date.getUTCFullYear())) { + date.setUTCFullYear(y); + } + } else { + date = new Date(Date.UTC.apply(null, arguments)); + } + + return date; +} + +// start-of-first-week - start-of-year +function firstWeekOffset(year, dow, doy) { + var // first-week day -- which january is always in the first week (4 for iso, 1 for other) + fwd = 7 + dow - doy, + // first-week day local weekday -- which local weekday is fwd + fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7; + + return -fwdlw + fwd - 1; +} + +// https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday +function dayOfYearFromWeeks(year, week, weekday, dow, doy) { + var localWeekday = (7 + weekday - dow) % 7, + weekOffset = firstWeekOffset(year, dow, doy), + dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset, + resYear, + resDayOfYear; + + if (dayOfYear <= 0) { + resYear = year - 1; + resDayOfYear = daysInYear(resYear) + dayOfYear; + } else if (dayOfYear > daysInYear(year)) { + resYear = year + 1; + resDayOfYear = dayOfYear - daysInYear(year); + } else { + resYear = year; + resDayOfYear = dayOfYear; + } + + return { + year: resYear, + dayOfYear: resDayOfYear, + }; +} + +function weekOfYear(mom, dow, doy) { + var weekOffset = firstWeekOffset(mom.year(), dow, doy), + week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1, + resWeek, + resYear; + + if (week < 1) { + resYear = mom.year() - 1; + resWeek = week + weeksInYear(resYear, dow, doy); + } else if (week > weeksInYear(mom.year(), dow, doy)) { + resWeek = week - weeksInYear(mom.year(), dow, doy); + resYear = mom.year() + 1; + } else { + resYear = mom.year(); + resWeek = week; + } + + return { + week: resWeek, + year: resYear, + }; +} + +function weeksInYear(year, dow, doy) { + var weekOffset = firstWeekOffset(year, dow, doy), + weekOffsetNext = firstWeekOffset(year + 1, dow, doy); + return (daysInYear(year) - weekOffset + weekOffsetNext) / 7; +} + +// FORMATTING + +addFormatToken('w', ['ww', 2], 'wo', 'week'); +addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek'); + +// PARSING + +addRegexToken('w', match1to2, match1to2NoLeadingZero); +addRegexToken('ww', match1to2, match2); +addRegexToken('W', match1to2, match1to2NoLeadingZero); +addRegexToken('WW', match1to2, match2); + +addWeekParseToken( + ['w', 'ww', 'W', 'WW'], + function (input, week, config, token) { + week[token.substr(0, 1)] = toInt(input); + } +); + +// HELPERS + +// LOCALES + +function localeWeek(mom) { + return weekOfYear(mom, this._week.dow, this._week.doy).week; +} + +var defaultLocaleWeek = { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. +}; + +function localeFirstDayOfWeek() { + return this._week.dow; +} + +function localeFirstDayOfYear() { + return this._week.doy; +} + +// MOMENTS + +function getSetWeek(input) { + var week = this.localeData().week(this); + return input == null ? week : this.add((input - week) * 7, 'd'); +} + +function getSetISOWeek(input) { + var week = weekOfYear(this, 1, 4).week; + return input == null ? week : this.add((input - week) * 7, 'd'); +} + +// FORMATTING + +addFormatToken('d', 0, 'do', 'day'); + +addFormatToken('dd', 0, 0, function (format) { + return this.localeData().weekdaysMin(this, format); +}); + +addFormatToken('ddd', 0, 0, function (format) { + return this.localeData().weekdaysShort(this, format); +}); + +addFormatToken('dddd', 0, 0, function (format) { + return this.localeData().weekdays(this, format); +}); + +addFormatToken('e', 0, 0, 'weekday'); +addFormatToken('E', 0, 0, 'isoWeekday'); + +// PARSING + +addRegexToken('d', match1to2); +addRegexToken('e', match1to2); +addRegexToken('E', match1to2); +addRegexToken('dd', function (isStrict, locale) { + return locale.weekdaysMinRegex(isStrict); +}); +addRegexToken('ddd', function (isStrict, locale) { + return locale.weekdaysShortRegex(isStrict); +}); +addRegexToken('dddd', function (isStrict, locale) { + return locale.weekdaysRegex(isStrict); +}); + +addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) { + var weekday = config._locale.weekdaysParse(input, token, config._strict); + // if we didn't get a weekday name, mark the date as invalid + if (weekday != null) { + week.d = weekday; + } else { + getParsingFlags(config).invalidWeekday = input; + } +}); + +addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) { + week[token] = toInt(input); +}); + +// HELPERS + +function parseWeekday(input, locale) { + if (typeof input !== 'string') { + return input; + } + + if (!isNaN(input)) { + return parseInt(input, 10); + } + + input = locale.weekdaysParse(input); + if (typeof input === 'number') { + return input; + } + + return null; +} + +function parseIsoWeekday(input, locale) { + if (typeof input === 'string') { + return locale.weekdaysParse(input) % 7 || 7; + } + return isNaN(input) ? null : input; +} + +// LOCALES +function shiftWeekdays(ws, n) { + return ws.slice(n, 7).concat(ws.slice(0, n)); +} + +var defaultLocaleWeekdays = + 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + defaultWeekdaysRegex = matchWord, + defaultWeekdaysShortRegex = matchWord, + defaultWeekdaysMinRegex = matchWord; + +function localeWeekdays(m, format) { + var weekdays = isArray(this._weekdays) + ? this._weekdays + : this._weekdays[ + m && m !== true && this._weekdays.isFormat.test(format) + ? 'format' + : 'standalone' + ]; + return m === true + ? shiftWeekdays(weekdays, this._week.dow) + : m + ? weekdays[m.day()] + : weekdays; +} + +function localeWeekdaysShort(m) { + return m === true + ? shiftWeekdays(this._weekdaysShort, this._week.dow) + : m + ? this._weekdaysShort[m.day()] + : this._weekdaysShort; +} + +function localeWeekdaysMin(m) { + return m === true + ? shiftWeekdays(this._weekdaysMin, this._week.dow) + : m + ? this._weekdaysMin[m.day()] + : this._weekdaysMin; +} + +function handleStrictParse$1(weekdayName, format, strict) { + var i, + ii, + mom, + llc = weekdayName.toLocaleLowerCase(); + if (!this._weekdaysParse) { + this._weekdaysParse = []; + this._shortWeekdaysParse = []; + this._minWeekdaysParse = []; + + for (i = 0; i < 7; ++i) { + mom = createUTC([2000, 1]).day(i); + this._minWeekdaysParse[i] = this.weekdaysMin( + mom, + '' + ).toLocaleLowerCase(); + this._shortWeekdaysParse[i] = this.weekdaysShort( + mom, + '' + ).toLocaleLowerCase(); + this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase(); + } + } + + if (strict) { + if (format === 'dddd') { + ii = indexOf.call(this._weekdaysParse, llc); + return ii !== -1 ? ii : null; + } else if (format === 'ddd') { + ii = indexOf.call(this._shortWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf.call(this._minWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } + } else { + if (format === 'dddd') { + ii = indexOf.call(this._weekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._shortWeekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._minWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } else if (format === 'ddd') { + ii = indexOf.call(this._shortWeekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._weekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._minWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf.call(this._minWeekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._weekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._shortWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } + } +} + +function localeWeekdaysParse(weekdayName, format, strict) { + var i, mom, regex; + + if (this._weekdaysParseExact) { + return handleStrictParse$1.call(this, weekdayName, format, strict); + } + + if (!this._weekdaysParse) { + this._weekdaysParse = []; + this._minWeekdaysParse = []; + this._shortWeekdaysParse = []; + this._fullWeekdaysParse = []; + } + + for (i = 0; i < 7; i++) { + // make the regex if we don't have it already + + mom = createUTC([2000, 1]).day(i); + if (strict && !this._fullWeekdaysParse[i]) { + this._fullWeekdaysParse[i] = new RegExp( + '^' + this.weekdays(mom, '').replace('.', '\\.?') + '$', + 'i' + ); + this._shortWeekdaysParse[i] = new RegExp( + '^' + this.weekdaysShort(mom, '').replace('.', '\\.?') + '$', + 'i' + ); + this._minWeekdaysParse[i] = new RegExp( + '^' + this.weekdaysMin(mom, '').replace('.', '\\.?') + '$', + 'i' + ); + } + if (!this._weekdaysParse[i]) { + regex = + '^' + + this.weekdays(mom, '') + + '|^' + + this.weekdaysShort(mom, '') + + '|^' + + this.weekdaysMin(mom, ''); + this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i'); + } + // test the regex + if ( + strict && + format === 'dddd' && + this._fullWeekdaysParse[i].test(weekdayName) + ) { + return i; + } else if ( + strict && + format === 'ddd' && + this._shortWeekdaysParse[i].test(weekdayName) + ) { + return i; + } else if ( + strict && + format === 'dd' && + this._minWeekdaysParse[i].test(weekdayName) + ) { + return i; + } else if (!strict && this._weekdaysParse[i].test(weekdayName)) { + return i; + } + } +} + +// MOMENTS + +function getSetDayOfWeek(input) { + if (!this.isValid()) { + return input != null ? this : NaN; + } + + var day = get(this, 'Day'); + if (input != null) { + input = parseWeekday(input, this.localeData()); + return this.add(input - day, 'd'); + } else { + return day; + } +} + +function getSetLocaleDayOfWeek(input) { + if (!this.isValid()) { + return input != null ? this : NaN; + } + var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7; + return input == null ? weekday : this.add(input - weekday, 'd'); +} + +function getSetISODayOfWeek(input) { + if (!this.isValid()) { + return input != null ? this : NaN; + } + + // behaves the same as moment#day except + // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6) + // as a setter, sunday should belong to the previous week. + + if (input != null) { + var weekday = parseIsoWeekday(input, this.localeData()); + return this.day(this.day() % 7 ? weekday : weekday - 7); + } else { + return this.day() || 7; + } +} + +function weekdaysRegex(isStrict) { + if (this._weekdaysParseExact) { + if (!hasOwnProp(this, '_weekdaysRegex')) { + computeWeekdaysParse.call(this); + } + if (isStrict) { + return this._weekdaysStrictRegex; + } else { + return this._weekdaysRegex; + } + } else { + if (!hasOwnProp(this, '_weekdaysRegex')) { + this._weekdaysRegex = defaultWeekdaysRegex; + } + return this._weekdaysStrictRegex && isStrict + ? this._weekdaysStrictRegex + : this._weekdaysRegex; + } +} + +function weekdaysShortRegex(isStrict) { + if (this._weekdaysParseExact) { + if (!hasOwnProp(this, '_weekdaysRegex')) { + computeWeekdaysParse.call(this); + } + if (isStrict) { + return this._weekdaysShortStrictRegex; + } else { + return this._weekdaysShortRegex; + } + } else { + if (!hasOwnProp(this, '_weekdaysShortRegex')) { + this._weekdaysShortRegex = defaultWeekdaysShortRegex; + } + return this._weekdaysShortStrictRegex && isStrict + ? this._weekdaysShortStrictRegex + : this._weekdaysShortRegex; + } +} + +function weekdaysMinRegex(isStrict) { + if (this._weekdaysParseExact) { + if (!hasOwnProp(this, '_weekdaysRegex')) { + computeWeekdaysParse.call(this); + } + if (isStrict) { + return this._weekdaysMinStrictRegex; + } else { + return this._weekdaysMinRegex; + } + } else { + if (!hasOwnProp(this, '_weekdaysMinRegex')) { + this._weekdaysMinRegex = defaultWeekdaysMinRegex; + } + return this._weekdaysMinStrictRegex && isStrict + ? this._weekdaysMinStrictRegex + : this._weekdaysMinRegex; + } +} + +function computeWeekdaysParse() { + function cmpLenRev(a, b) { + return b.length - a.length; + } + + var minPieces = [], + shortPieces = [], + longPieces = [], + mixedPieces = [], + i, + mom, + minp, + shortp, + longp; + for (i = 0; i < 7; i++) { + // make the regex if we don't have it already + mom = createUTC([2000, 1]).day(i); + minp = regexEscape(this.weekdaysMin(mom, '')); + shortp = regexEscape(this.weekdaysShort(mom, '')); + longp = regexEscape(this.weekdays(mom, '')); + minPieces.push(minp); + shortPieces.push(shortp); + longPieces.push(longp); + mixedPieces.push(minp); + mixedPieces.push(shortp); + mixedPieces.push(longp); + } + // Sorting makes sure if one weekday (or abbr) is a prefix of another it + // will match the longer piece. + minPieces.sort(cmpLenRev); + shortPieces.sort(cmpLenRev); + longPieces.sort(cmpLenRev); + mixedPieces.sort(cmpLenRev); + + this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); + this._weekdaysShortRegex = this._weekdaysRegex; + this._weekdaysMinRegex = this._weekdaysRegex; + + this._weekdaysStrictRegex = new RegExp( + '^(' + longPieces.join('|') + ')', + 'i' + ); + this._weekdaysShortStrictRegex = new RegExp( + '^(' + shortPieces.join('|') + ')', + 'i' + ); + this._weekdaysMinStrictRegex = new RegExp( + '^(' + minPieces.join('|') + ')', + 'i' + ); +} + +// FORMATTING + +function hFormat() { + return this.hours() % 12 || 12; +} + +function kFormat() { + return this.hours() || 24; +} + +addFormatToken('H', ['HH', 2], 0, 'hour'); +addFormatToken('h', ['hh', 2], 0, hFormat); +addFormatToken('k', ['kk', 2], 0, kFormat); + +addFormatToken('hmm', 0, 0, function () { + return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2); +}); + +addFormatToken('hmmss', 0, 0, function () { + return ( + '' + + hFormat.apply(this) + + zeroFill(this.minutes(), 2) + + zeroFill(this.seconds(), 2) + ); +}); + +addFormatToken('Hmm', 0, 0, function () { + return '' + this.hours() + zeroFill(this.minutes(), 2); +}); + +addFormatToken('Hmmss', 0, 0, function () { + return ( + '' + + this.hours() + + zeroFill(this.minutes(), 2) + + zeroFill(this.seconds(), 2) + ); +}); + +function meridiem(token, lowercase) { + addFormatToken(token, 0, 0, function () { + return this.localeData().meridiem( + this.hours(), + this.minutes(), + lowercase + ); + }); +} + +meridiem('a', true); +meridiem('A', false); + +// PARSING + +function matchMeridiem(isStrict, locale) { + return locale._meridiemParse; +} + +addRegexToken('a', matchMeridiem); +addRegexToken('A', matchMeridiem); +addRegexToken('H', match1to2, match1to2HasZero); +addRegexToken('h', match1to2, match1to2NoLeadingZero); +addRegexToken('k', match1to2, match1to2NoLeadingZero); +addRegexToken('HH', match1to2, match2); +addRegexToken('hh', match1to2, match2); +addRegexToken('kk', match1to2, match2); + +addRegexToken('hmm', match3to4); +addRegexToken('hmmss', match5to6); +addRegexToken('Hmm', match3to4); +addRegexToken('Hmmss', match5to6); + +addParseToken(['H', 'HH'], HOUR); +addParseToken(['k', 'kk'], function (input, array, config) { + var kInput = toInt(input); + array[HOUR] = kInput === 24 ? 0 : kInput; +}); +addParseToken(['a', 'A'], function (input, array, config) { + config._isPm = config._locale.isPM(input); + config._meridiem = input; +}); +addParseToken(['h', 'hh'], function (input, array, config) { + array[HOUR] = toInt(input); + getParsingFlags(config).bigHour = true; +}); +addParseToken('hmm', function (input, array, config) { + var pos = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos)); + array[MINUTE] = toInt(input.substr(pos)); + getParsingFlags(config).bigHour = true; +}); +addParseToken('hmmss', function (input, array, config) { + var pos1 = input.length - 4, + pos2 = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos1)); + array[MINUTE] = toInt(input.substr(pos1, 2)); + array[SECOND] = toInt(input.substr(pos2)); + getParsingFlags(config).bigHour = true; +}); +addParseToken('Hmm', function (input, array, config) { + var pos = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos)); + array[MINUTE] = toInt(input.substr(pos)); +}); +addParseToken('Hmmss', function (input, array, config) { + var pos1 = input.length - 4, + pos2 = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos1)); + array[MINUTE] = toInt(input.substr(pos1, 2)); + array[SECOND] = toInt(input.substr(pos2)); +}); + +// LOCALES + +function localeIsPM(input) { + // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays + // Using charAt should be more compatible. + return (input + '').toLowerCase().charAt(0) === 'p'; +} + +var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i, + // Setting the hour should keep the time, because the user explicitly + // specified which hour they want. So trying to maintain the same hour (in + // a new timezone) makes sense. Adding/subtracting hours does not follow + // this rule. + getSetHour = makeGetSet('Hours', true); + +function localeMeridiem(hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'pm' : 'PM'; + } else { + return isLower ? 'am' : 'AM'; + } +} + +var baseConfig = { + calendar: defaultCalendar, + longDateFormat: defaultLongDateFormat, + invalidDate: defaultInvalidDate, + ordinal: defaultOrdinal, + dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse, + relativeTime: defaultRelativeTime, + + months: defaultLocaleMonths, + monthsShort: defaultLocaleMonthsShort, + + week: defaultLocaleWeek, + + weekdays: defaultLocaleWeekdays, + weekdaysMin: defaultLocaleWeekdaysMin, + weekdaysShort: defaultLocaleWeekdaysShort, + + meridiemParse: defaultLocaleMeridiemParse, +}; + +// internal storage for locale config files +var locales = {}, + localeFamilies = {}, + globalLocale; + +function commonPrefix(arr1, arr2) { + var i, + minl = Math.min(arr1.length, arr2.length); + for (i = 0; i < minl; i += 1) { + if (arr1[i] !== arr2[i]) { + return i; + } + } + return minl; +} + +function normalizeLocale(key) { + return key ? key.toLowerCase().replace('_', '-') : key; +} + +// pick the locale from the array +// try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each +// substring from most specific to least, but move to the next array item if it's a more specific variant than the current root +function chooseLocale(names) { + var i = 0, + j, + next, + locale, + split; + + while (i < names.length) { + split = normalizeLocale(names[i]).split('-'); + j = split.length; + next = normalizeLocale(names[i + 1]); + next = next ? next.split('-') : null; + while (j > 0) { + locale = loadLocale(split.slice(0, j).join('-')); + if (locale) { + return locale; + } + if ( + next && + next.length >= j && + commonPrefix(split, next) >= j - 1 + ) { + //the next array item is better than a shallower substring of this one + break; + } + j--; + } + i++; + } + return globalLocale; +} + +function isLocaleNameSane(name) { + // Prevent names that look like filesystem paths, i.e contain '/' or '\' + // Ensure name is available and function returns boolean + return !!(name && name.match('^[^/\\\\]*$')); +} + +function loadLocale(name) { + var oldLocale = null, + aliasedRequire; + // TODO: Find a better way to register and load all the locales in Node + if ( + locales[name] === undefined && + typeof module !== 'undefined' && + module && + module.exports && + isLocaleNameSane(name) + ) { + try { + oldLocale = globalLocale._abbr; + aliasedRequire = require; + aliasedRequire('./locale/' + name); + getSetGlobalLocale(oldLocale); + } catch (e) { + // mark as not found to avoid repeating expensive file require call causing high CPU + // when trying to find en-US, en_US, en-us for every format call + locales[name] = null; // null means not found + } + } + return locales[name]; +} + +// This function will load locale and then set the global locale. If +// no arguments are passed in, it will simply return the current global +// locale key. +function getSetGlobalLocale(key, values) { + var data; + if (key) { + if (isUndefined(values)) { + data = getLocale(key); + } else { + data = defineLocale(key, values); + } + + if (data) { + // moment.duration._locale = moment._locale = data; + globalLocale = data; + } else { + if (typeof console !== 'undefined' && console.warn) { + //warn user if arguments are passed but the locale could not be set + console.warn( + 'Locale ' + key + ' not found. Did you forget to load it?' + ); + } + } + } + + return globalLocale._abbr; +} + +function defineLocale(name, config) { + if (config !== null) { + var locale, + parentConfig = baseConfig; + config.abbr = name; + if (locales[name] != null) { + deprecateSimple( + 'defineLocaleOverride', + 'use moment.updateLocale(localeName, config) to change ' + + 'an existing locale. moment.defineLocale(localeName, ' + + 'config) should only be used for creating a new locale ' + + 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.' + ); + parentConfig = locales[name]._config; + } else if (config.parentLocale != null) { + if (locales[config.parentLocale] != null) { + parentConfig = locales[config.parentLocale]._config; + } else { + locale = loadLocale(config.parentLocale); + if (locale != null) { + parentConfig = locale._config; + } else { + if (!localeFamilies[config.parentLocale]) { + localeFamilies[config.parentLocale] = []; + } + localeFamilies[config.parentLocale].push({ + name: name, + config: config, + }); + return null; + } + } + } + locales[name] = new Locale(mergeConfigs(parentConfig, config)); + + if (localeFamilies[name]) { + localeFamilies[name].forEach(function (x) { + defineLocale(x.name, x.config); + }); + } + + // backwards compat for now: also set the locale + // make sure we set the locale AFTER all child locales have been + // created, so we won't end up with the child locale set. + getSetGlobalLocale(name); + + return locales[name]; + } else { + // useful for testing + delete locales[name]; + return null; + } +} + +function updateLocale(name, config) { + if (config != null) { + var locale, + tmpLocale, + parentConfig = baseConfig; + + if (locales[name] != null && locales[name].parentLocale != null) { + // Update existing child locale in-place to avoid memory-leaks + locales[name].set(mergeConfigs(locales[name]._config, config)); + } else { + // MERGE + tmpLocale = loadLocale(name); + if (tmpLocale != null) { + parentConfig = tmpLocale._config; + } + config = mergeConfigs(parentConfig, config); + if (tmpLocale == null) { + // updateLocale is called for creating a new locale + // Set abbr so it will have a name (getters return + // undefined otherwise). + config.abbr = name; + } + locale = new Locale(config); + locale.parentLocale = locales[name]; + locales[name] = locale; + } + + // backwards compat for now: also set the locale + getSetGlobalLocale(name); + } else { + // pass null for config to unupdate, useful for tests + if (locales[name] != null) { + if (locales[name].parentLocale != null) { + locales[name] = locales[name].parentLocale; + if (name === getSetGlobalLocale()) { + getSetGlobalLocale(name); + } + } else if (locales[name] != null) { + delete locales[name]; + } + } + } + return locales[name]; +} + +// returns locale data +function getLocale(key) { + var locale; + + if (key && key._locale && key._locale._abbr) { + key = key._locale._abbr; + } + + if (!key) { + return globalLocale; + } + + if (!isArray(key)) { + //short-circuit everything else + locale = loadLocale(key); + if (locale) { + return locale; + } + key = [key]; + } + + return chooseLocale(key); +} + +function listLocales() { + return keys(locales); +} + +function checkOverflow(m) { + var overflow, + a = m._a; + + if (a && getParsingFlags(m).overflow === -2) { + overflow = + a[MONTH] < 0 || a[MONTH] > 11 + ? MONTH + : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) + ? DATE + : a[HOUR] < 0 || + a[HOUR] > 24 || + (a[HOUR] === 24 && + (a[MINUTE] !== 0 || + a[SECOND] !== 0 || + a[MILLISECOND] !== 0)) + ? HOUR + : a[MINUTE] < 0 || a[MINUTE] > 59 + ? MINUTE + : a[SECOND] < 0 || a[SECOND] > 59 + ? SECOND + : a[MILLISECOND] < 0 || a[MILLISECOND] > 999 + ? MILLISECOND + : -1; + + if ( + getParsingFlags(m)._overflowDayOfYear && + (overflow < YEAR || overflow > DATE) + ) { + overflow = DATE; + } + if (getParsingFlags(m)._overflowWeeks && overflow === -1) { + overflow = WEEK; + } + if (getParsingFlags(m)._overflowWeekday && overflow === -1) { + overflow = WEEKDAY; + } + + getParsingFlags(m).overflow = overflow; + } + + return m; +} + +// iso 8601 regex +// 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00) +var extendedIsoRegex = + /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, + basicIsoRegex = + /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, + tzRegex = /Z|[+-]\d\d(?::?\d\d)?/, + isoDates = [ + ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/], + ['YYYY-MM-DD', /\d{4}-\d\d-\d\d/], + ['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/], + ['GGGG-[W]WW', /\d{4}-W\d\d/, false], + ['YYYY-DDD', /\d{4}-\d{3}/], + ['YYYY-MM', /\d{4}-\d\d/, false], + ['YYYYYYMMDD', /[+-]\d{10}/], + ['YYYYMMDD', /\d{8}/], + ['GGGG[W]WWE', /\d{4}W\d{3}/], + ['GGGG[W]WW', /\d{4}W\d{2}/, false], + ['YYYYDDD', /\d{7}/], + ['YYYYMM', /\d{6}/, false], + ['YYYY', /\d{4}/, false], + ], + // iso time formats and regexes + isoTimes = [ + ['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/], + ['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/], + ['HH:mm:ss', /\d\d:\d\d:\d\d/], + ['HH:mm', /\d\d:\d\d/], + ['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/], + ['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/], + ['HHmmss', /\d\d\d\d\d\d/], + ['HHmm', /\d\d\d\d/], + ['HH', /\d\d/], + ], + aspNetJsonRegex = /^\/?Date\((-?\d+)/i, + // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3 + rfc2822 = + /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, + obsOffsets = { + UT: 0, + GMT: 0, + EDT: -4 * 60, + EST: -5 * 60, + CDT: -5 * 60, + CST: -6 * 60, + MDT: -6 * 60, + MST: -7 * 60, + PDT: -7 * 60, + PST: -8 * 60, + }; + +// date from iso format +function configFromISO(config) { + var i, + l, + string = config._i, + match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string), + allowTime, + dateFormat, + timeFormat, + tzFormat, + isoDatesLen = isoDates.length, + isoTimesLen = isoTimes.length; + + if (match) { + getParsingFlags(config).iso = true; + for (i = 0, l = isoDatesLen; i < l; i++) { + if (isoDates[i][1].exec(match[1])) { + dateFormat = isoDates[i][0]; + allowTime = isoDates[i][2] !== false; + break; + } + } + if (dateFormat == null) { + config._isValid = false; + return; + } + if (match[3]) { + for (i = 0, l = isoTimesLen; i < l; i++) { + if (isoTimes[i][1].exec(match[3])) { + // match[2] should be 'T' or space + timeFormat = (match[2] || ' ') + isoTimes[i][0]; + break; + } + } + if (timeFormat == null) { + config._isValid = false; + return; + } + } + if (!allowTime && timeFormat != null) { + config._isValid = false; + return; + } + if (match[4]) { + if (tzRegex.exec(match[4])) { + tzFormat = 'Z'; + } else { + config._isValid = false; + return; + } + } + config._f = dateFormat + (timeFormat || '') + (tzFormat || ''); + configFromStringAndFormat(config); + } else { + config._isValid = false; + } +} + +function extractFromRFC2822Strings( + yearStr, + monthStr, + dayStr, + hourStr, + minuteStr, + secondStr +) { + var result = [ + untruncateYear(yearStr), + defaultLocaleMonthsShort.indexOf(monthStr), + parseInt(dayStr, 10), + parseInt(hourStr, 10), + parseInt(minuteStr, 10), + ]; + + if (secondStr) { + result.push(parseInt(secondStr, 10)); + } + + return result; +} + +function untruncateYear(yearStr) { + var year = parseInt(yearStr, 10); + if (year <= 49) { + return 2000 + year; + } else if (year <= 999) { + return 1900 + year; + } + return year; +} + +function preprocessRFC2822(s) { + // Remove comments and folding whitespace and replace multiple-spaces with a single space + return s + .replace(/\([^()]*\)|[\n\t]/g, ' ') + .replace(/(\s\s+)/g, ' ') + .replace(/^\s\s*/, '') + .replace(/\s\s*$/, ''); +} + +function checkWeekday(weekdayStr, parsedInput, config) { + if (weekdayStr) { + // TODO: Replace the vanilla JS Date object with an independent day-of-week check. + var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr), + weekdayActual = new Date( + parsedInput[0], + parsedInput[1], + parsedInput[2] + ).getDay(); + if (weekdayProvided !== weekdayActual) { + getParsingFlags(config).weekdayMismatch = true; + config._isValid = false; + return false; + } + } + return true; +} + +function calculateOffset(obsOffset, militaryOffset, numOffset) { + if (obsOffset) { + return obsOffsets[obsOffset]; + } else if (militaryOffset) { + // the only allowed military tz is Z + return 0; + } else { + var hm = parseInt(numOffset, 10), + m = hm % 100, + h = (hm - m) / 100; + return h * 60 + m; + } +} + +// date and time from ref 2822 format +function configFromRFC2822(config) { + var match = rfc2822.exec(preprocessRFC2822(config._i)), + parsedArray; + if (match) { + parsedArray = extractFromRFC2822Strings( + match[4], + match[3], + match[2], + match[5], + match[6], + match[7] + ); + if (!checkWeekday(match[1], parsedArray, config)) { + return; + } + + config._a = parsedArray; + config._tzm = calculateOffset(match[8], match[9], match[10]); + + config._d = createUTCDate.apply(null, config._a); + config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm); + + getParsingFlags(config).rfc2822 = true; + } else { + config._isValid = false; + } +} + +// date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict +function configFromString(config) { + var matched = aspNetJsonRegex.exec(config._i); + if (matched !== null) { + config._d = new Date(+matched[1]); + return; + } + + configFromISO(config); + if (config._isValid === false) { + delete config._isValid; + } else { + return; + } + + configFromRFC2822(config); + if (config._isValid === false) { + delete config._isValid; + } else { + return; + } + + if (config._strict) { + config._isValid = false; + } else { + // Final attempt, use Input Fallback + hooks.createFromInputFallback(config); + } +} + +hooks.createFromInputFallback = deprecate( + 'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + + 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + + 'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.', + function (config) { + config._d = new Date(config._i + (config._useUTC ? ' UTC' : '')); + } +); + +// Pick the first defined of two or three arguments. +function defaults(a, b, c) { + if (a != null) { + return a; + } + if (b != null) { + return b; + } + return c; +} + +function currentDateArray(config) { + // hooks is actually the exported moment object + var nowValue = new Date(hooks.now()); + if (config._useUTC) { + return [ + nowValue.getUTCFullYear(), + nowValue.getUTCMonth(), + nowValue.getUTCDate(), + ]; + } + return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()]; +} + +// convert an array to a date. +// the array should mirror the parameters below +// note: all values past the year are optional and will default to the lowest possible value. +// [year, month, day , hour, minute, second, millisecond] +function configFromArray(config) { + var i, + date, + input = [], + currentDate, + expectedWeekday, + yearToUse; + + if (config._d) { + return; + } + + currentDate = currentDateArray(config); + + //compute day of the year from weeks and weekdays + if (config._w && config._a[DATE] == null && config._a[MONTH] == null) { + dayOfYearFromWeekInfo(config); + } + + //if the day of the year is set, figure out what it is + if (config._dayOfYear != null) { + yearToUse = defaults(config._a[YEAR], currentDate[YEAR]); + + if ( + config._dayOfYear > daysInYear(yearToUse) || + config._dayOfYear === 0 + ) { + getParsingFlags(config)._overflowDayOfYear = true; + } + + date = createUTCDate(yearToUse, 0, config._dayOfYear); + config._a[MONTH] = date.getUTCMonth(); + config._a[DATE] = date.getUTCDate(); + } + + // Default to current date. + // * if no year, month, day of month are given, default to today + // * if day of month is given, default month and year + // * if month is given, default only year + // * if year is given, don't default anything + for (i = 0; i < 3 && config._a[i] == null; ++i) { + config._a[i] = input[i] = currentDate[i]; + } + + // Zero out whatever was not defaulted, including time + for (; i < 7; i++) { + config._a[i] = input[i] = + config._a[i] == null ? (i === 2 ? 1 : 0) : config._a[i]; + } + + // Check for 24:00:00.000 + if ( + config._a[HOUR] === 24 && + config._a[MINUTE] === 0 && + config._a[SECOND] === 0 && + config._a[MILLISECOND] === 0 + ) { + config._nextDay = true; + config._a[HOUR] = 0; + } + + config._d = (config._useUTC ? createUTCDate : createDate).apply( + null, + input + ); + expectedWeekday = config._useUTC + ? config._d.getUTCDay() + : config._d.getDay(); + + // Apply timezone offset from input. The actual utcOffset can be changed + // with parseZone. + if (config._tzm != null) { + config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm); + } + + if (config._nextDay) { + config._a[HOUR] = 24; + } + + // check for mismatching day of week + if ( + config._w && + typeof config._w.d !== 'undefined' && + config._w.d !== expectedWeekday + ) { + getParsingFlags(config).weekdayMismatch = true; + } +} + +function dayOfYearFromWeekInfo(config) { + var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek; + + w = config._w; + if (w.GG != null || w.W != null || w.E != null) { + dow = 1; + doy = 4; + + // TODO: We need to take the current isoWeekYear, but that depends on + // how we interpret now (local, utc, fixed offset). So create + // a now version of current config (take local/utc/offset flags, and + // create now). + weekYear = defaults( + w.GG, + config._a[YEAR], + weekOfYear(createLocal(), 1, 4).year + ); + week = defaults(w.W, 1); + weekday = defaults(w.E, 1); + if (weekday < 1 || weekday > 7) { + weekdayOverflow = true; + } + } else { + dow = config._locale._week.dow; + doy = config._locale._week.doy; + + curWeek = weekOfYear(createLocal(), dow, doy); + + weekYear = defaults(w.gg, config._a[YEAR], curWeek.year); + + // Default to current week. + week = defaults(w.w, curWeek.week); + + if (w.d != null) { + // weekday -- low day numbers are considered next week + weekday = w.d; + if (weekday < 0 || weekday > 6) { + weekdayOverflow = true; + } + } else if (w.e != null) { + // local weekday -- counting starts from beginning of week + weekday = w.e + dow; + if (w.e < 0 || w.e > 6) { + weekdayOverflow = true; + } + } else { + // default to beginning of week + weekday = dow; + } + } + if (week < 1 || week > weeksInYear(weekYear, dow, doy)) { + getParsingFlags(config)._overflowWeeks = true; + } else if (weekdayOverflow != null) { + getParsingFlags(config)._overflowWeekday = true; + } else { + temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy); + config._a[YEAR] = temp.year; + config._dayOfYear = temp.dayOfYear; + } +} + +// constant that refers to the ISO standard +hooks.ISO_8601 = function () {}; + +// constant that refers to the RFC 2822 form +hooks.RFC_2822 = function () {}; + +// date from string and format string +function configFromStringAndFormat(config) { + // TODO: Move this to another part of the creation flow to prevent circular deps + if (config._f === hooks.ISO_8601) { + configFromISO(config); + return; + } + if (config._f === hooks.RFC_2822) { + configFromRFC2822(config); + return; + } + config._a = []; + getParsingFlags(config).empty = true; + + // This array is used to make a Date, either with `new Date` or `Date.UTC` + var string = '' + config._i, + i, + parsedInput, + tokens, + token, + skipped, + stringLength = string.length, + totalParsedInputLength = 0, + era, + tokenLen; + + tokens = + expandFormat(config._f, config._locale).match(formattingTokens) || []; + tokenLen = tokens.length; + for (i = 0; i < tokenLen; i++) { + token = tokens[i]; + parsedInput = (string.match(getParseRegexForToken(token, config)) || + [])[0]; + if (parsedInput) { + skipped = string.substr(0, string.indexOf(parsedInput)); + if (skipped.length > 0) { + getParsingFlags(config).unusedInput.push(skipped); + } + string = string.slice( + string.indexOf(parsedInput) + parsedInput.length + ); + totalParsedInputLength += parsedInput.length; + } + // don't parse if it's not a known token + if (formatTokenFunctions[token]) { + if (parsedInput) { + getParsingFlags(config).empty = false; + } else { + getParsingFlags(config).unusedTokens.push(token); + } + addTimeToArrayFromToken(token, parsedInput, config); + } else if (config._strict && !parsedInput) { + getParsingFlags(config).unusedTokens.push(token); + } + } + + // add remaining unparsed input length to the string + getParsingFlags(config).charsLeftOver = + stringLength - totalParsedInputLength; + if (string.length > 0) { + getParsingFlags(config).unusedInput.push(string); + } + + // clear _12h flag if hour is <= 12 + if ( + config._a[HOUR] <= 12 && + getParsingFlags(config).bigHour === true && + config._a[HOUR] > 0 + ) { + getParsingFlags(config).bigHour = undefined; + } + + getParsingFlags(config).parsedDateParts = config._a.slice(0); + getParsingFlags(config).meridiem = config._meridiem; + // handle meridiem + config._a[HOUR] = meridiemFixWrap( + config._locale, + config._a[HOUR], + config._meridiem + ); + + // handle era + era = getParsingFlags(config).era; + if (era !== null) { + config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]); + } + + configFromArray(config); + checkOverflow(config); +} + +function meridiemFixWrap(locale, hour, meridiem) { + var isPm; + + if (meridiem == null) { + // nothing to do + return hour; + } + if (locale.meridiemHour != null) { + return locale.meridiemHour(hour, meridiem); + } else if (locale.isPM != null) { + // Fallback + isPm = locale.isPM(meridiem); + if (isPm && hour < 12) { + hour += 12; + } + if (!isPm && hour === 12) { + hour = 0; + } + return hour; + } else { + // this is not supposed to happen + return hour; + } +} + +// date from string and array of format strings +function configFromStringAndArray(config) { + var tempConfig, + bestMoment, + scoreToBeat, + i, + currentScore, + validFormatFound, + bestFormatIsValid = false, + configfLen = config._f.length; + + if (configfLen === 0) { + getParsingFlags(config).invalidFormat = true; + config._d = new Date(NaN); + return; + } + + for (i = 0; i < configfLen; i++) { + currentScore = 0; + validFormatFound = false; + tempConfig = copyConfig({}, config); + if (config._useUTC != null) { + tempConfig._useUTC = config._useUTC; + } + tempConfig._f = config._f[i]; + configFromStringAndFormat(tempConfig); + + if (isValid(tempConfig)) { + validFormatFound = true; + } + + // if there is any input that was not parsed add a penalty for that format + currentScore += getParsingFlags(tempConfig).charsLeftOver; + + //or tokens + currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10; + + getParsingFlags(tempConfig).score = currentScore; + + if (!bestFormatIsValid) { + if ( + scoreToBeat == null || + currentScore < scoreToBeat || + validFormatFound + ) { + scoreToBeat = currentScore; + bestMoment = tempConfig; + if (validFormatFound) { + bestFormatIsValid = true; + } + } + } else { + if (currentScore < scoreToBeat) { + scoreToBeat = currentScore; + bestMoment = tempConfig; + } + } + } + + extend(config, bestMoment || tempConfig); +} + +function configFromObject(config) { + if (config._d) { + return; + } + + var i = normalizeObjectUnits(config._i), + dayOrDate = i.day === undefined ? i.date : i.day; + config._a = map( + [i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond], + function (obj) { + return obj && parseInt(obj, 10); + } + ); + + configFromArray(config); +} + +function createFromConfig(config) { + var res = new Moment(checkOverflow(prepareConfig(config))); + if (res._nextDay) { + // Adding is smart enough around DST + res.add(1, 'd'); + res._nextDay = undefined; + } + + return res; +} + +function prepareConfig(config) { + var input = config._i, + format = config._f; + + config._locale = config._locale || getLocale(config._l); + + if (input === null || (format === undefined && input === '')) { + return createInvalid({ nullInput: true }); + } + + if (typeof input === 'string') { + config._i = input = config._locale.preparse(input); + } + + if (isMoment(input)) { + return new Moment(checkOverflow(input)); + } else if (isDate(input)) { + config._d = input; + } else if (isArray(format)) { + configFromStringAndArray(config); + } else if (format) { + configFromStringAndFormat(config); + } else { + configFromInput(config); + } + + if (!isValid(config)) { + config._d = null; + } + + return config; +} + +function configFromInput(config) { + var input = config._i; + if (isUndefined(input)) { + config._d = new Date(hooks.now()); + } else if (isDate(input)) { + config._d = new Date(input.valueOf()); + } else if (typeof input === 'string') { + configFromString(config); + } else if (isArray(input)) { + config._a = map(input.slice(0), function (obj) { + return parseInt(obj, 10); + }); + configFromArray(config); + } else if (isObject(input)) { + configFromObject(config); + } else if (isNumber(input)) { + // from milliseconds + config._d = new Date(input); + } else { + hooks.createFromInputFallback(config); + } +} + +function createLocalOrUTC(input, format, locale, strict, isUTC) { + var c = {}; + + if (format === true || format === false) { + strict = format; + format = undefined; + } + + if (locale === true || locale === false) { + strict = locale; + locale = undefined; + } + + if ( + (isObject(input) && isObjectEmpty(input)) || + (isArray(input) && input.length === 0) + ) { + input = undefined; + } + // object construction must be done this way. + // https://github.com/moment/moment/issues/1423 + c._isAMomentObject = true; + c._useUTC = c._isUTC = isUTC; + c._l = locale; + c._i = input; + c._f = format; + c._strict = strict; + + return createFromConfig(c); +} + +function createLocal(input, format, locale, strict) { + return createLocalOrUTC(input, format, locale, strict, false); +} + +var prototypeMin = deprecate( + 'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', + function () { + var other = createLocal.apply(null, arguments); + if (this.isValid() && other.isValid()) { + return other < this ? this : other; + } else { + return createInvalid(); + } + } + ), + prototypeMax = deprecate( + 'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', + function () { + var other = createLocal.apply(null, arguments); + if (this.isValid() && other.isValid()) { + return other > this ? this : other; + } else { + return createInvalid(); + } + } + ); + +// Pick a moment m from moments so that m[fn](other) is true for all +// other. This relies on the function fn to be transitive. +// +// moments should either be an array of moment objects or an array, whose +// first element is an array of moment objects. +function pickBy(fn, moments) { + var res, i; + if (moments.length === 1 && isArray(moments[0])) { + moments = moments[0]; + } + if (!moments.length) { + return createLocal(); + } + res = moments[0]; + for (i = 1; i < moments.length; ++i) { + if (!moments[i].isValid() || moments[i][fn](res)) { + res = moments[i]; + } + } + return res; +} + +// TODO: Use [].sort instead? +function min() { + var args = [].slice.call(arguments, 0); + + return pickBy('isBefore', args); +} + +function max() { + var args = [].slice.call(arguments, 0); + + return pickBy('isAfter', args); +} + +var now = function () { + return Date.now ? Date.now() : +new Date(); +}; + +var ordering = [ + 'year', + 'quarter', + 'month', + 'week', + 'day', + 'hour', + 'minute', + 'second', + 'millisecond', +]; + +function isDurationValid(m) { + var key, + unitHasDecimal = false, + i, + orderLen = ordering.length; + for (key in m) { + if ( + hasOwnProp(m, key) && + !( + indexOf.call(ordering, key) !== -1 && + (m[key] == null || !isNaN(m[key])) + ) + ) { + return false; + } + } + + for (i = 0; i < orderLen; ++i) { + if (m[ordering[i]]) { + if (unitHasDecimal) { + return false; // only allow non-integers for smallest unit + } + if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) { + unitHasDecimal = true; + } + } + } + + return true; +} + +function isValid$1() { + return this._isValid; +} + +function createInvalid$1() { + return createDuration(NaN); +} + +function Duration(duration) { + var normalizedInput = normalizeObjectUnits(duration), + years = normalizedInput.year || 0, + quarters = normalizedInput.quarter || 0, + months = normalizedInput.month || 0, + weeks = normalizedInput.week || normalizedInput.isoWeek || 0, + days = normalizedInput.day || 0, + hours = normalizedInput.hour || 0, + minutes = normalizedInput.minute || 0, + seconds = normalizedInput.second || 0, + milliseconds = normalizedInput.millisecond || 0; + + this._isValid = isDurationValid(normalizedInput); + + // representation for dateAddRemove + this._milliseconds = + +milliseconds + + seconds * 1e3 + // 1000 + minutes * 6e4 + // 1000 * 60 + hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978 + // Because of dateAddRemove treats 24 hours as different from a + // day when working around DST, we need to store them separately + this._days = +days + weeks * 7; + // It is impossible to translate months into days without knowing + // which months you are are talking about, so we have to store + // it separately. + this._months = +months + quarters * 3 + years * 12; + + this._data = {}; + + this._locale = getLocale(); + + this._bubble(); +} + +function isDuration(obj) { + return obj instanceof Duration; +} + +function absRound(number) { + if (number < 0) { + return Math.round(-1 * number) * -1; + } else { + return Math.round(number); + } +} + +// compare two arrays, return the number of differences +function compareArrays(array1, array2, dontConvert) { + var len = Math.min(array1.length, array2.length), + lengthDiff = Math.abs(array1.length - array2.length), + diffs = 0, + i; + for (i = 0; i < len; i++) { + if ( + (dontConvert && array1[i] !== array2[i]) || + (!dontConvert && toInt(array1[i]) !== toInt(array2[i])) + ) { + diffs++; + } + } + return diffs + lengthDiff; +} + +// FORMATTING + +function offset(token, separator) { + addFormatToken(token, 0, 0, function () { + var offset = this.utcOffset(), + sign = '+'; + if (offset < 0) { + offset = -offset; + sign = '-'; + } + return ( + sign + + zeroFill(~~(offset / 60), 2) + + separator + + zeroFill(~~offset % 60, 2) + ); + }); +} + +offset('Z', ':'); +offset('ZZ', ''); + +// PARSING + +addRegexToken('Z', matchShortOffset); +addRegexToken('ZZ', matchShortOffset); +addParseToken(['Z', 'ZZ'], function (input, array, config) { + config._useUTC = true; + config._tzm = offsetFromString(matchShortOffset, input); +}); + +// HELPERS + +// timezone chunker +// '+10:00' > ['10', '00'] +// '-1530' > ['-15', '30'] +var chunkOffset = /([\+\-]|\d\d)/gi; + +function offsetFromString(matcher, string) { + var matches = (string || '').match(matcher), + chunk, + parts, + minutes; + + if (matches === null) { + return null; + } + + chunk = matches[matches.length - 1] || []; + parts = (chunk + '').match(chunkOffset) || ['-', 0, 0]; + minutes = +(parts[1] * 60) + toInt(parts[2]); + + return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes; +} + +// Return a moment from input, that is local/utc/zone equivalent to model. +function cloneWithOffset(input, model) { + var res, diff; + if (model._isUTC) { + res = model.clone(); + diff = + (isMoment(input) || isDate(input) + ? input.valueOf() + : createLocal(input).valueOf()) - res.valueOf(); + // Use low-level api, because this fn is low-level api. + res._d.setTime(res._d.valueOf() + diff); + hooks.updateOffset(res, false); + return res; + } else { + return createLocal(input).local(); + } +} + +function getDateOffset(m) { + // On Firefox.24 Date#getTimezoneOffset returns a floating point. + // https://github.com/moment/moment/pull/1871 + return -Math.round(m._d.getTimezoneOffset()); +} + +// HOOKS + +// This function will be called whenever a moment is mutated. +// It is intended to keep the offset in sync with the timezone. +hooks.updateOffset = function () {}; + +// MOMENTS + +// keepLocalTime = true means only change the timezone, without +// affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]--> +// 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset +// +0200, so we adjust the time as needed, to be valid. +// +// Keeping the time actually adds/subtracts (one hour) +// from the actual represented time. That is why we call updateOffset +// a second time. In case it wants us to change the offset again +// _changeInProgress == true case, then we have to adjust, because +// there is no such time in the given timezone. +function getSetOffset(input, keepLocalTime, keepMinutes) { + var offset = this._offset || 0, + localAdjust; + if (!this.isValid()) { + return input != null ? this : NaN; + } + if (input != null) { + if (typeof input === 'string') { + input = offsetFromString(matchShortOffset, input); + if (input === null) { + return this; + } + } else if (Math.abs(input) < 16 && !keepMinutes) { + input = input * 60; + } + if (!this._isUTC && keepLocalTime) { + localAdjust = getDateOffset(this); + } + this._offset = input; + this._isUTC = true; + if (localAdjust != null) { + this.add(localAdjust, 'm'); + } + if (offset !== input) { + if (!keepLocalTime || this._changeInProgress) { + addSubtract( + this, + createDuration(input - offset, 'm'), + 1, + false + ); + } else if (!this._changeInProgress) { + this._changeInProgress = true; + hooks.updateOffset(this, true); + this._changeInProgress = null; + } + } + return this; + } else { + return this._isUTC ? offset : getDateOffset(this); + } +} + +function getSetZone(input, keepLocalTime) { + if (input != null) { + if (typeof input !== 'string') { + input = -input; + } + + this.utcOffset(input, keepLocalTime); + + return this; + } else { + return -this.utcOffset(); + } +} + +function setOffsetToUTC(keepLocalTime) { + return this.utcOffset(0, keepLocalTime); +} + +function setOffsetToLocal(keepLocalTime) { + if (this._isUTC) { + this.utcOffset(0, keepLocalTime); + this._isUTC = false; + + if (keepLocalTime) { + this.subtract(getDateOffset(this), 'm'); + } + } + return this; +} + +function setOffsetToParsedOffset() { + if (this._tzm != null) { + this.utcOffset(this._tzm, false, true); + } else if (typeof this._i === 'string') { + var tZone = offsetFromString(matchOffset, this._i); + if (tZone != null) { + this.utcOffset(tZone); + } else { + this.utcOffset(0, true); + } + } + return this; +} + +function hasAlignedHourOffset(input) { + if (!this.isValid()) { + return false; + } + input = input ? createLocal(input).utcOffset() : 0; + + return (this.utcOffset() - input) % 60 === 0; +} + +function isDaylightSavingTime() { + return ( + this.utcOffset() > this.clone().month(0).utcOffset() || + this.utcOffset() > this.clone().month(5).utcOffset() + ); +} + +function isDaylightSavingTimeShifted() { + if (!isUndefined(this._isDSTShifted)) { + return this._isDSTShifted; + } + + var c = {}, + other; + + copyConfig(c, this); + c = prepareConfig(c); + + if (c._a) { + other = c._isUTC ? createUTC(c._a) : createLocal(c._a); + this._isDSTShifted = + this.isValid() && compareArrays(c._a, other.toArray()) > 0; + } else { + this._isDSTShifted = false; + } + + return this._isDSTShifted; +} + +function isLocal() { + return this.isValid() ? !this._isUTC : false; +} + +function isUtcOffset() { + return this.isValid() ? this._isUTC : false; +} + +function isUtc() { + return this.isValid() ? this._isUTC && this._offset === 0 : false; +} + +// ASP.NET json date format regex +var aspNetRegex = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, + // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html + // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere + // and further modified to allow for strings containing both week and day + isoRegex = + /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; + +function createDuration(input, key) { + var duration = input, + // matching against regexp is expensive, do it on demand + match = null, + sign, + ret, + diffRes; + + if (isDuration(input)) { + duration = { + ms: input._milliseconds, + d: input._days, + M: input._months, + }; + } else if (isNumber(input) || !isNaN(+input)) { + duration = {}; + if (key) { + duration[key] = +input; + } else { + duration.milliseconds = +input; + } + } else if ((match = aspNetRegex.exec(input))) { + sign = match[1] === '-' ? -1 : 1; + duration = { + y: 0, + d: toInt(match[DATE]) * sign, + h: toInt(match[HOUR]) * sign, + m: toInt(match[MINUTE]) * sign, + s: toInt(match[SECOND]) * sign, + ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign, // the millisecond decimal point is included in the match + }; + } else if ((match = isoRegex.exec(input))) { + sign = match[1] === '-' ? -1 : 1; + duration = { + y: parseIso(match[2], sign), + M: parseIso(match[3], sign), + w: parseIso(match[4], sign), + d: parseIso(match[5], sign), + h: parseIso(match[6], sign), + m: parseIso(match[7], sign), + s: parseIso(match[8], sign), + }; + } else if (duration == null) { + // checks for null or undefined + duration = {}; + } else if ( + typeof duration === 'object' && + ('from' in duration || 'to' in duration) + ) { + diffRes = momentsDifference( + createLocal(duration.from), + createLocal(duration.to) + ); + + duration = {}; + duration.ms = diffRes.milliseconds; + duration.M = diffRes.months; + } + + ret = new Duration(duration); + + if (isDuration(input) && hasOwnProp(input, '_locale')) { + ret._locale = input._locale; + } + + if (isDuration(input) && hasOwnProp(input, '_isValid')) { + ret._isValid = input._isValid; + } + + return ret; +} + +createDuration.fn = Duration.prototype; +createDuration.invalid = createInvalid$1; + +function parseIso(inp, sign) { + // We'd normally use ~~inp for this, but unfortunately it also + // converts floats to ints. + // inp may be undefined, so careful calling replace on it. + var res = inp && parseFloat(inp.replace(',', '.')); + // apply sign while we're at it + return (isNaN(res) ? 0 : res) * sign; +} + +function positiveMomentsDifference(base, other) { + var res = {}; + + res.months = + other.month() - base.month() + (other.year() - base.year()) * 12; + if (base.clone().add(res.months, 'M').isAfter(other)) { + --res.months; + } + + res.milliseconds = +other - +base.clone().add(res.months, 'M'); + + return res; +} + +function momentsDifference(base, other) { + var res; + if (!(base.isValid() && other.isValid())) { + return { milliseconds: 0, months: 0 }; + } + + other = cloneWithOffset(other, base); + if (base.isBefore(other)) { + res = positiveMomentsDifference(base, other); + } else { + res = positiveMomentsDifference(other, base); + res.milliseconds = -res.milliseconds; + res.months = -res.months; + } + + return res; +} + +// TODO: remove 'name' arg after deprecation is removed +function createAdder(direction, name) { + return function (val, period) { + var dur, tmp; + //invert the arguments, but complain about it + if (period !== null && !isNaN(+period)) { + deprecateSimple( + name, + 'moment().' + + name + + '(period, number) is deprecated. Please use moment().' + + name + + '(number, period). ' + + 'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.' + ); + tmp = val; + val = period; + period = tmp; + } + + dur = createDuration(val, period); + addSubtract(this, dur, direction); + return this; + }; +} + +function addSubtract(mom, duration, isAdding, updateOffset) { + var milliseconds = duration._milliseconds, + days = absRound(duration._days), + months = absRound(duration._months); + + if (!mom.isValid()) { + // No op + return; + } + + updateOffset = updateOffset == null ? true : updateOffset; + + if (months) { + setMonth(mom, get(mom, 'Month') + months * isAdding); + } + if (days) { + set$1(mom, 'Date', get(mom, 'Date') + days * isAdding); + } + if (milliseconds) { + mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding); + } + if (updateOffset) { + hooks.updateOffset(mom, days || months); + } +} + +var add = createAdder(1, 'add'), + subtract = createAdder(-1, 'subtract'); + +function isString(input) { + return typeof input === 'string' || input instanceof String; +} + +// type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined +function isMomentInput(input) { + return ( + isMoment(input) || + isDate(input) || + isString(input) || + isNumber(input) || + isNumberOrStringArray(input) || + isMomentInputObject(input) || + input === null || + input === undefined + ); +} + +function isMomentInputObject(input) { + var objectTest = isObject(input) && !isObjectEmpty(input), + propertyTest = false, + properties = [ + 'years', + 'year', + 'y', + 'months', + 'month', + 'M', + 'days', + 'day', + 'd', + 'dates', + 'date', + 'D', + 'hours', + 'hour', + 'h', + 'minutes', + 'minute', + 'm', + 'seconds', + 'second', + 's', + 'milliseconds', + 'millisecond', + 'ms', + ], + i, + property, + propertyLen = properties.length; + + for (i = 0; i < propertyLen; i += 1) { + property = properties[i]; + propertyTest = propertyTest || hasOwnProp(input, property); + } + + return objectTest && propertyTest; +} + +function isNumberOrStringArray(input) { + var arrayTest = isArray(input), + dataTypeTest = false; + if (arrayTest) { + dataTypeTest = + input.filter(function (item) { + return !isNumber(item) && isString(input); + }).length === 0; + } + return arrayTest && dataTypeTest; +} + +function isCalendarSpec(input) { + var objectTest = isObject(input) && !isObjectEmpty(input), + propertyTest = false, + properties = [ + 'sameDay', + 'nextDay', + 'lastDay', + 'nextWeek', + 'lastWeek', + 'sameElse', + ], + i, + property; + + for (i = 0; i < properties.length; i += 1) { + property = properties[i]; + propertyTest = propertyTest || hasOwnProp(input, property); + } + + return objectTest && propertyTest; +} + +function getCalendarFormat(myMoment, now) { + var diff = myMoment.diff(now, 'days', true); + return diff < -6 + ? 'sameElse' + : diff < -1 + ? 'lastWeek' + : diff < 0 + ? 'lastDay' + : diff < 1 + ? 'sameDay' + : diff < 2 + ? 'nextDay' + : diff < 7 + ? 'nextWeek' + : 'sameElse'; +} + +function calendar$1(time, formats) { + // Support for single parameter, formats only overload to the calendar function + if (arguments.length === 1) { + if (!arguments[0]) { + time = undefined; + formats = undefined; + } else if (isMomentInput(arguments[0])) { + time = arguments[0]; + formats = undefined; + } else if (isCalendarSpec(arguments[0])) { + formats = arguments[0]; + time = undefined; + } + } + // We want to compare the start of today, vs this. + // Getting start-of-today depends on whether we're local/utc/offset or not. + var now = time || createLocal(), + sod = cloneWithOffset(now, this).startOf('day'), + format = hooks.calendarFormat(this, sod) || 'sameElse', + output = + formats && + (isFunction(formats[format]) + ? formats[format].call(this, now) + : formats[format]); + + return this.format( + output || this.localeData().calendar(format, this, createLocal(now)) + ); +} + +function clone() { + return new Moment(this); +} + +function isAfter(input, units) { + var localInput = isMoment(input) ? input : createLocal(input); + if (!(this.isValid() && localInput.isValid())) { + return false; + } + units = normalizeUnits(units) || 'millisecond'; + if (units === 'millisecond') { + return this.valueOf() > localInput.valueOf(); + } else { + return localInput.valueOf() < this.clone().startOf(units).valueOf(); + } +} + +function isBefore(input, units) { + var localInput = isMoment(input) ? input : createLocal(input); + if (!(this.isValid() && localInput.isValid())) { + return false; + } + units = normalizeUnits(units) || 'millisecond'; + if (units === 'millisecond') { + return this.valueOf() < localInput.valueOf(); + } else { + return this.clone().endOf(units).valueOf() < localInput.valueOf(); + } +} + +function isBetween(from, to, units, inclusivity) { + var localFrom = isMoment(from) ? from : createLocal(from), + localTo = isMoment(to) ? to : createLocal(to); + if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) { + return false; + } + inclusivity = inclusivity || '()'; + return ( + (inclusivity[0] === '(' + ? this.isAfter(localFrom, units) + : !this.isBefore(localFrom, units)) && + (inclusivity[1] === ')' + ? this.isBefore(localTo, units) + : !this.isAfter(localTo, units)) + ); +} + +function isSame(input, units) { + var localInput = isMoment(input) ? input : createLocal(input), + inputMs; + if (!(this.isValid() && localInput.isValid())) { + return false; + } + units = normalizeUnits(units) || 'millisecond'; + if (units === 'millisecond') { + return this.valueOf() === localInput.valueOf(); + } else { + inputMs = localInput.valueOf(); + return ( + this.clone().startOf(units).valueOf() <= inputMs && + inputMs <= this.clone().endOf(units).valueOf() + ); + } +} + +function isSameOrAfter(input, units) { + return this.isSame(input, units) || this.isAfter(input, units); +} + +function isSameOrBefore(input, units) { + return this.isSame(input, units) || this.isBefore(input, units); +} + +function diff(input, units, asFloat) { + var that, zoneDelta, output; + + if (!this.isValid()) { + return NaN; + } + + that = cloneWithOffset(input, this); + + if (!that.isValid()) { + return NaN; + } + + zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4; + + units = normalizeUnits(units); + + switch (units) { + case 'year': + output = monthDiff(this, that) / 12; + break; + case 'month': + output = monthDiff(this, that); + break; + case 'quarter': + output = monthDiff(this, that) / 3; + break; + case 'second': + output = (this - that) / 1e3; + break; // 1000 + case 'minute': + output = (this - that) / 6e4; + break; // 1000 * 60 + case 'hour': + output = (this - that) / 36e5; + break; // 1000 * 60 * 60 + case 'day': + output = (this - that - zoneDelta) / 864e5; + break; // 1000 * 60 * 60 * 24, negate dst + case 'week': + output = (this - that - zoneDelta) / 6048e5; + break; // 1000 * 60 * 60 * 24 * 7, negate dst + default: + output = this - that; + } + + return asFloat ? output : absFloor(output); +} + +function monthDiff(a, b) { + if (a.date() < b.date()) { + // end-of-month calculations work correct when the start month has more + // days than the end month. + return -monthDiff(b, a); + } + // difference in months + var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()), + // b is in (anchor - 1 month, anchor + 1 month) + anchor = a.clone().add(wholeMonthDiff, 'months'), + anchor2, + adjust; + + if (b - anchor < 0) { + anchor2 = a.clone().add(wholeMonthDiff - 1, 'months'); + // linear across the month + adjust = (b - anchor) / (anchor - anchor2); + } else { + anchor2 = a.clone().add(wholeMonthDiff + 1, 'months'); + // linear across the month + adjust = (b - anchor) / (anchor2 - anchor); + } + + //check for negative zero, return zero if negative zero + return -(wholeMonthDiff + adjust) || 0; +} + +hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ'; +hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]'; + +function toString() { + return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ'); +} + +function toISOString(keepOffset) { + if (!this.isValid()) { + return null; + } + var utc = keepOffset !== true, + m = utc ? this.clone().utc() : this; + if (m.year() < 0 || m.year() > 9999) { + return formatMoment( + m, + utc + ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]' + : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ' + ); + } + if (isFunction(Date.prototype.toISOString)) { + // native implementation is ~50x faster, use it when we can + if (utc) { + return this.toDate().toISOString(); + } else { + return new Date(this.valueOf() + this.utcOffset() * 60 * 1000) + .toISOString() + .replace('Z', formatMoment(m, 'Z')); + } + } + return formatMoment( + m, + utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ' + ); +} + +/** + * Return a human readable representation of a moment that can + * also be evaluated to get a new moment which is the same + * + * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects + */ +function inspect() { + if (!this.isValid()) { + return 'moment.invalid(/* ' + this._i + ' */)'; + } + var func = 'moment', + zone = '', + prefix, + year, + datetime, + suffix; + if (!this.isLocal()) { + func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone'; + zone = 'Z'; + } + prefix = '[' + func + '("]'; + year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY'; + datetime = '-MM-DD[T]HH:mm:ss.SSS'; + suffix = zone + '[")]'; + + return this.format(prefix + year + datetime + suffix); +} + +function format(inputString) { + if (!inputString) { + inputString = this.isUtc() + ? hooks.defaultFormatUtc + : hooks.defaultFormat; + } + var output = formatMoment(this, inputString); + return this.localeData().postformat(output); +} + +function from(time, withoutSuffix) { + if ( + this.isValid() && + ((isMoment(time) && time.isValid()) || createLocal(time).isValid()) + ) { + return createDuration({ to: this, from: time }) + .locale(this.locale()) + .humanize(!withoutSuffix); + } else { + return this.localeData().invalidDate(); + } +} + +function fromNow(withoutSuffix) { + return this.from(createLocal(), withoutSuffix); +} + +function to(time, withoutSuffix) { + if ( + this.isValid() && + ((isMoment(time) && time.isValid()) || createLocal(time).isValid()) + ) { + return createDuration({ from: this, to: time }) + .locale(this.locale()) + .humanize(!withoutSuffix); + } else { + return this.localeData().invalidDate(); + } +} + +function toNow(withoutSuffix) { + return this.to(createLocal(), withoutSuffix); +} + +// If passed a locale key, it will set the locale for this +// instance. Otherwise, it will return the locale configuration +// variables for this instance. +function locale(key) { + var newLocaleData; + + if (key === undefined) { + return this._locale._abbr; + } else { + newLocaleData = getLocale(key); + if (newLocaleData != null) { + this._locale = newLocaleData; + } + return this; + } +} + +var lang = deprecate( + 'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.', + function (key) { + if (key === undefined) { + return this.localeData(); + } else { + return this.locale(key); + } + } +); + +function localeData() { + return this._locale; +} + +var MS_PER_SECOND = 1000, + MS_PER_MINUTE = 60 * MS_PER_SECOND, + MS_PER_HOUR = 60 * MS_PER_MINUTE, + MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR; + +// actual modulo - handles negative numbers (for dates before 1970): +function mod$1(dividend, divisor) { + return ((dividend % divisor) + divisor) % divisor; +} + +function localStartOfDate(y, m, d) { + // the date constructor remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0) { + // preserve leap years using a full 400 year cycle, then reset + return new Date(y + 400, m, d) - MS_PER_400_YEARS; + } else { + return new Date(y, m, d).valueOf(); + } +} + +function utcStartOfDate(y, m, d) { + // Date.UTC remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0) { + // preserve leap years using a full 400 year cycle, then reset + return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS; + } else { + return Date.UTC(y, m, d); + } +} + +function startOf(units) { + var time, startOfDate; + units = normalizeUnits(units); + if (units === undefined || units === 'millisecond' || !this.isValid()) { + return this; + } + + startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate; + + switch (units) { + case 'year': + time = startOfDate(this.year(), 0, 1); + break; + case 'quarter': + time = startOfDate( + this.year(), + this.month() - (this.month() % 3), + 1 + ); + break; + case 'month': + time = startOfDate(this.year(), this.month(), 1); + break; + case 'week': + time = startOfDate( + this.year(), + this.month(), + this.date() - this.weekday() + ); + break; + case 'isoWeek': + time = startOfDate( + this.year(), + this.month(), + this.date() - (this.isoWeekday() - 1) + ); + break; + case 'day': + case 'date': + time = startOfDate(this.year(), this.month(), this.date()); + break; + case 'hour': + time = this._d.valueOf(); + time -= mod$1( + time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), + MS_PER_HOUR + ); + break; + case 'minute': + time = this._d.valueOf(); + time -= mod$1(time, MS_PER_MINUTE); + break; + case 'second': + time = this._d.valueOf(); + time -= mod$1(time, MS_PER_SECOND); + break; + } + + this._d.setTime(time); + hooks.updateOffset(this, true); + return this; +} + +function endOf(units) { + var time, startOfDate; + units = normalizeUnits(units); + if (units === undefined || units === 'millisecond' || !this.isValid()) { + return this; + } + + startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate; + + switch (units) { + case 'year': + time = startOfDate(this.year() + 1, 0, 1) - 1; + break; + case 'quarter': + time = + startOfDate( + this.year(), + this.month() - (this.month() % 3) + 3, + 1 + ) - 1; + break; + case 'month': + time = startOfDate(this.year(), this.month() + 1, 1) - 1; + break; + case 'week': + time = + startOfDate( + this.year(), + this.month(), + this.date() - this.weekday() + 7 + ) - 1; + break; + case 'isoWeek': + time = + startOfDate( + this.year(), + this.month(), + this.date() - (this.isoWeekday() - 1) + 7 + ) - 1; + break; + case 'day': + case 'date': + time = startOfDate(this.year(), this.month(), this.date() + 1) - 1; + break; + case 'hour': + time = this._d.valueOf(); + time += + MS_PER_HOUR - + mod$1( + time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), + MS_PER_HOUR + ) - + 1; + break; + case 'minute': + time = this._d.valueOf(); + time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1; + break; + case 'second': + time = this._d.valueOf(); + time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1; + break; + } + + this._d.setTime(time); + hooks.updateOffset(this, true); + return this; +} + +function valueOf() { + return this._d.valueOf() - (this._offset || 0) * 60000; +} + +function unix() { + return Math.floor(this.valueOf() / 1000); +} + +function toDate() { + return new Date(this.valueOf()); +} + +function toArray() { + var m = this; + return [ + m.year(), + m.month(), + m.date(), + m.hour(), + m.minute(), + m.second(), + m.millisecond(), + ]; +} + +function toObject() { + var m = this; + return { + years: m.year(), + months: m.month(), + date: m.date(), + hours: m.hours(), + minutes: m.minutes(), + seconds: m.seconds(), + milliseconds: m.milliseconds(), + }; +} + +function toJSON() { + // new Date(NaN).toJSON() === null + return this.isValid() ? this.toISOString() : null; +} + +function isValid$2() { + return isValid(this); +} + +function parsingFlags() { + return extend({}, getParsingFlags(this)); +} + +function invalidAt() { + return getParsingFlags(this).overflow; +} + +function creationData() { + return { + input: this._i, + format: this._f, + locale: this._locale, + isUTC: this._isUTC, + strict: this._strict, + }; +} + +addFormatToken('N', 0, 0, 'eraAbbr'); +addFormatToken('NN', 0, 0, 'eraAbbr'); +addFormatToken('NNN', 0, 0, 'eraAbbr'); +addFormatToken('NNNN', 0, 0, 'eraName'); +addFormatToken('NNNNN', 0, 0, 'eraNarrow'); + +addFormatToken('y', ['y', 1], 'yo', 'eraYear'); +addFormatToken('y', ['yy', 2], 0, 'eraYear'); +addFormatToken('y', ['yyy', 3], 0, 'eraYear'); +addFormatToken('y', ['yyyy', 4], 0, 'eraYear'); + +addRegexToken('N', matchEraAbbr); +addRegexToken('NN', matchEraAbbr); +addRegexToken('NNN', matchEraAbbr); +addRegexToken('NNNN', matchEraName); +addRegexToken('NNNNN', matchEraNarrow); + +addParseToken( + ['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], + function (input, array, config, token) { + var era = config._locale.erasParse(input, token, config._strict); + if (era) { + getParsingFlags(config).era = era; + } else { + getParsingFlags(config).invalidEra = input; + } + } +); + +addRegexToken('y', matchUnsigned); +addRegexToken('yy', matchUnsigned); +addRegexToken('yyy', matchUnsigned); +addRegexToken('yyyy', matchUnsigned); +addRegexToken('yo', matchEraYearOrdinal); + +addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR); +addParseToken(['yo'], function (input, array, config, token) { + var match; + if (config._locale._eraYearOrdinalRegex) { + match = input.match(config._locale._eraYearOrdinalRegex); + } + + if (config._locale.eraYearOrdinalParse) { + array[YEAR] = config._locale.eraYearOrdinalParse(input, match); + } else { + array[YEAR] = parseInt(input, 10); + } +}); + +function localeEras(m, format) { + var i, + l, + date, + eras = this._eras || getLocale('en')._eras; + for (i = 0, l = eras.length; i < l; ++i) { + switch (typeof eras[i].since) { + case 'string': + // truncate time + date = hooks(eras[i].since).startOf('day'); + eras[i].since = date.valueOf(); + break; + } + + switch (typeof eras[i].until) { + case 'undefined': + eras[i].until = +Infinity; + break; + case 'string': + // truncate time + date = hooks(eras[i].until).startOf('day').valueOf(); + eras[i].until = date.valueOf(); + break; + } + } + return eras; +} + +function localeErasParse(eraName, format, strict) { + var i, + l, + eras = this.eras(), + name, + abbr, + narrow; + eraName = eraName.toUpperCase(); + + for (i = 0, l = eras.length; i < l; ++i) { + name = eras[i].name.toUpperCase(); + abbr = eras[i].abbr.toUpperCase(); + narrow = eras[i].narrow.toUpperCase(); + + if (strict) { + switch (format) { + case 'N': + case 'NN': + case 'NNN': + if (abbr === eraName) { + return eras[i]; + } + break; + + case 'NNNN': + if (name === eraName) { + return eras[i]; + } + break; + + case 'NNNNN': + if (narrow === eraName) { + return eras[i]; + } + break; + } + } else if ([name, abbr, narrow].indexOf(eraName) >= 0) { + return eras[i]; + } + } +} + +function localeErasConvertYear(era, year) { + var dir = era.since <= era.until ? +1 : -1; + if (year === undefined) { + return hooks(era.since).year(); + } else { + return hooks(era.since).year() + (year - era.offset) * dir; + } +} + +function getEraName() { + var i, + l, + val, + eras = this.localeData().eras(); + for (i = 0, l = eras.length; i < l; ++i) { + // truncate time + val = this.clone().startOf('day').valueOf(); + + if (eras[i].since <= val && val <= eras[i].until) { + return eras[i].name; + } + if (eras[i].until <= val && val <= eras[i].since) { + return eras[i].name; + } + } + + return ''; +} + +function getEraNarrow() { + var i, + l, + val, + eras = this.localeData().eras(); + for (i = 0, l = eras.length; i < l; ++i) { + // truncate time + val = this.clone().startOf('day').valueOf(); + + if (eras[i].since <= val && val <= eras[i].until) { + return eras[i].narrow; + } + if (eras[i].until <= val && val <= eras[i].since) { + return eras[i].narrow; + } + } + + return ''; +} + +function getEraAbbr() { + var i, + l, + val, + eras = this.localeData().eras(); + for (i = 0, l = eras.length; i < l; ++i) { + // truncate time + val = this.clone().startOf('day').valueOf(); + + if (eras[i].since <= val && val <= eras[i].until) { + return eras[i].abbr; + } + if (eras[i].until <= val && val <= eras[i].since) { + return eras[i].abbr; + } + } + + return ''; +} + +function getEraYear() { + var i, + l, + dir, + val, + eras = this.localeData().eras(); + for (i = 0, l = eras.length; i < l; ++i) { + dir = eras[i].since <= eras[i].until ? +1 : -1; + + // truncate time + val = this.clone().startOf('day').valueOf(); + + if ( + (eras[i].since <= val && val <= eras[i].until) || + (eras[i].until <= val && val <= eras[i].since) + ) { + return ( + (this.year() - hooks(eras[i].since).year()) * dir + + eras[i].offset + ); + } + } + + return this.year(); +} + +function erasNameRegex(isStrict) { + if (!hasOwnProp(this, '_erasNameRegex')) { + computeErasParse.call(this); + } + return isStrict ? this._erasNameRegex : this._erasRegex; +} + +function erasAbbrRegex(isStrict) { + if (!hasOwnProp(this, '_erasAbbrRegex')) { + computeErasParse.call(this); + } + return isStrict ? this._erasAbbrRegex : this._erasRegex; +} + +function erasNarrowRegex(isStrict) { + if (!hasOwnProp(this, '_erasNarrowRegex')) { + computeErasParse.call(this); + } + return isStrict ? this._erasNarrowRegex : this._erasRegex; +} + +function matchEraAbbr(isStrict, locale) { + return locale.erasAbbrRegex(isStrict); +} + +function matchEraName(isStrict, locale) { + return locale.erasNameRegex(isStrict); +} + +function matchEraNarrow(isStrict, locale) { + return locale.erasNarrowRegex(isStrict); +} + +function matchEraYearOrdinal(isStrict, locale) { + return locale._eraYearOrdinalRegex || matchUnsigned; +} + +function computeErasParse() { + var abbrPieces = [], + namePieces = [], + narrowPieces = [], + mixedPieces = [], + i, + l, + erasName, + erasAbbr, + erasNarrow, + eras = this.eras(); + + for (i = 0, l = eras.length; i < l; ++i) { + erasName = regexEscape(eras[i].name); + erasAbbr = regexEscape(eras[i].abbr); + erasNarrow = regexEscape(eras[i].narrow); + + namePieces.push(erasName); + abbrPieces.push(erasAbbr); + narrowPieces.push(erasNarrow); + mixedPieces.push(erasName); + mixedPieces.push(erasAbbr); + mixedPieces.push(erasNarrow); + } + + this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); + this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i'); + this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i'); + this._erasNarrowRegex = new RegExp( + '^(' + narrowPieces.join('|') + ')', + 'i' + ); +} + +// FORMATTING + +addFormatToken(0, ['gg', 2], 0, function () { + return this.weekYear() % 100; +}); + +addFormatToken(0, ['GG', 2], 0, function () { + return this.isoWeekYear() % 100; +}); + +function addWeekYearFormatToken(token, getter) { + addFormatToken(0, [token, token.length], 0, getter); +} + +addWeekYearFormatToken('gggg', 'weekYear'); +addWeekYearFormatToken('ggggg', 'weekYear'); +addWeekYearFormatToken('GGGG', 'isoWeekYear'); +addWeekYearFormatToken('GGGGG', 'isoWeekYear'); + +// ALIASES + +// PARSING + +addRegexToken('G', matchSigned); +addRegexToken('g', matchSigned); +addRegexToken('GG', match1to2, match2); +addRegexToken('gg', match1to2, match2); +addRegexToken('GGGG', match1to4, match4); +addRegexToken('gggg', match1to4, match4); +addRegexToken('GGGGG', match1to6, match6); +addRegexToken('ggggg', match1to6, match6); + +addWeekParseToken( + ['gggg', 'ggggg', 'GGGG', 'GGGGG'], + function (input, week, config, token) { + week[token.substr(0, 2)] = toInt(input); + } +); + +addWeekParseToken(['gg', 'GG'], function (input, week, config, token) { + week[token] = hooks.parseTwoDigitYear(input); +}); + +// MOMENTS + +function getSetWeekYear(input) { + return getSetWeekYearHelper.call( + this, + input, + this.week(), + this.weekday() + this.localeData()._week.dow, + this.localeData()._week.dow, + this.localeData()._week.doy + ); +} + +function getSetISOWeekYear(input) { + return getSetWeekYearHelper.call( + this, + input, + this.isoWeek(), + this.isoWeekday(), + 1, + 4 + ); +} + +function getISOWeeksInYear() { + return weeksInYear(this.year(), 1, 4); +} + +function getISOWeeksInISOWeekYear() { + return weeksInYear(this.isoWeekYear(), 1, 4); +} + +function getWeeksInYear() { + var weekInfo = this.localeData()._week; + return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy); +} + +function getWeeksInWeekYear() { + var weekInfo = this.localeData()._week; + return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy); +} + +function getSetWeekYearHelper(input, week, weekday, dow, doy) { + var weeksTarget; + if (input == null) { + return weekOfYear(this, dow, doy).year; + } else { + weeksTarget = weeksInYear(input, dow, doy); + if (week > weeksTarget) { + week = weeksTarget; + } + return setWeekAll.call(this, input, week, weekday, dow, doy); + } +} + +function setWeekAll(weekYear, week, weekday, dow, doy) { + var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy), + date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear); + + this.year(date.getUTCFullYear()); + this.month(date.getUTCMonth()); + this.date(date.getUTCDate()); + return this; +} + +// FORMATTING + +addFormatToken('Q', 0, 'Qo', 'quarter'); + +// PARSING + +addRegexToken('Q', match1); +addParseToken('Q', function (input, array) { + array[MONTH] = (toInt(input) - 1) * 3; +}); + +// MOMENTS + +function getSetQuarter(input) { + return input == null + ? Math.ceil((this.month() + 1) / 3) + : this.month((input - 1) * 3 + (this.month() % 3)); +} + +// FORMATTING + +addFormatToken('D', ['DD', 2], 'Do', 'date'); + +// PARSING + +addRegexToken('D', match1to2, match1to2NoLeadingZero); +addRegexToken('DD', match1to2, match2); +addRegexToken('Do', function (isStrict, locale) { + // TODO: Remove "ordinalParse" fallback in next major release. + return isStrict + ? locale._dayOfMonthOrdinalParse || locale._ordinalParse + : locale._dayOfMonthOrdinalParseLenient; +}); + +addParseToken(['D', 'DD'], DATE); +addParseToken('Do', function (input, array) { + array[DATE] = toInt(input.match(match1to2)[0]); +}); + +// MOMENTS + +var getSetDayOfMonth = makeGetSet('Date', true); + +// FORMATTING + +addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear'); + +// PARSING + +addRegexToken('DDD', match1to3); +addRegexToken('DDDD', match3); +addParseToken(['DDD', 'DDDD'], function (input, array, config) { + config._dayOfYear = toInt(input); +}); + +// HELPERS + +// MOMENTS + +function getSetDayOfYear(input) { + var dayOfYear = + Math.round( + (this.clone().startOf('day') - this.clone().startOf('year')) / 864e5 + ) + 1; + return input == null ? dayOfYear : this.add(input - dayOfYear, 'd'); +} + +// FORMATTING + +addFormatToken('m', ['mm', 2], 0, 'minute'); + +// PARSING + +addRegexToken('m', match1to2, match1to2HasZero); +addRegexToken('mm', match1to2, match2); +addParseToken(['m', 'mm'], MINUTE); + +// MOMENTS + +var getSetMinute = makeGetSet('Minutes', false); + +// FORMATTING + +addFormatToken('s', ['ss', 2], 0, 'second'); + +// PARSING + +addRegexToken('s', match1to2, match1to2HasZero); +addRegexToken('ss', match1to2, match2); +addParseToken(['s', 'ss'], SECOND); + +// MOMENTS + +var getSetSecond = makeGetSet('Seconds', false); + +// FORMATTING + +addFormatToken('S', 0, 0, function () { + return ~~(this.millisecond() / 100); +}); + +addFormatToken(0, ['SS', 2], 0, function () { + return ~~(this.millisecond() / 10); +}); + +addFormatToken(0, ['SSS', 3], 0, 'millisecond'); +addFormatToken(0, ['SSSS', 4], 0, function () { + return this.millisecond() * 10; +}); +addFormatToken(0, ['SSSSS', 5], 0, function () { + return this.millisecond() * 100; +}); +addFormatToken(0, ['SSSSSS', 6], 0, function () { + return this.millisecond() * 1000; +}); +addFormatToken(0, ['SSSSSSS', 7], 0, function () { + return this.millisecond() * 10000; +}); +addFormatToken(0, ['SSSSSSSS', 8], 0, function () { + return this.millisecond() * 100000; +}); +addFormatToken(0, ['SSSSSSSSS', 9], 0, function () { + return this.millisecond() * 1000000; +}); + +// PARSING + +addRegexToken('S', match1to3, match1); +addRegexToken('SS', match1to3, match2); +addRegexToken('SSS', match1to3, match3); + +var token, getSetMillisecond; +for (token = 'SSSS'; token.length <= 9; token += 'S') { + addRegexToken(token, matchUnsigned); +} + +function parseMs(input, array) { + array[MILLISECOND] = toInt(('0.' + input) * 1000); +} + +for (token = 'S'; token.length <= 9; token += 'S') { + addParseToken(token, parseMs); +} + +getSetMillisecond = makeGetSet('Milliseconds', false); + +// FORMATTING + +addFormatToken('z', 0, 0, 'zoneAbbr'); +addFormatToken('zz', 0, 0, 'zoneName'); + +// MOMENTS + +function getZoneAbbr() { + return this._isUTC ? 'UTC' : ''; +} + +function getZoneName() { + return this._isUTC ? 'Coordinated Universal Time' : ''; +} + +var proto = Moment.prototype; + +proto.add = add; +proto.calendar = calendar$1; +proto.clone = clone; +proto.diff = diff; +proto.endOf = endOf; +proto.format = format; +proto.from = from; +proto.fromNow = fromNow; +proto.to = to; +proto.toNow = toNow; +proto.get = stringGet; +proto.invalidAt = invalidAt; +proto.isAfter = isAfter; +proto.isBefore = isBefore; +proto.isBetween = isBetween; +proto.isSame = isSame; +proto.isSameOrAfter = isSameOrAfter; +proto.isSameOrBefore = isSameOrBefore; +proto.isValid = isValid$2; +proto.lang = lang; +proto.locale = locale; +proto.localeData = localeData; +proto.max = prototypeMax; +proto.min = prototypeMin; +proto.parsingFlags = parsingFlags; +proto.set = stringSet; +proto.startOf = startOf; +proto.subtract = subtract; +proto.toArray = toArray; +proto.toObject = toObject; +proto.toDate = toDate; +proto.toISOString = toISOString; +proto.inspect = inspect; +if (typeof Symbol !== 'undefined' && Symbol.for != null) { + proto[Symbol.for('nodejs.util.inspect.custom')] = function () { + return 'Moment<' + this.format() + '>'; + }; +} +proto.toJSON = toJSON; +proto.toString = toString; +proto.unix = unix; +proto.valueOf = valueOf; +proto.creationData = creationData; +proto.eraName = getEraName; +proto.eraNarrow = getEraNarrow; +proto.eraAbbr = getEraAbbr; +proto.eraYear = getEraYear; +proto.year = getSetYear; +proto.isLeapYear = getIsLeapYear; +proto.weekYear = getSetWeekYear; +proto.isoWeekYear = getSetISOWeekYear; +proto.quarter = proto.quarters = getSetQuarter; +proto.month = getSetMonth; +proto.daysInMonth = getDaysInMonth; +proto.week = proto.weeks = getSetWeek; +proto.isoWeek = proto.isoWeeks = getSetISOWeek; +proto.weeksInYear = getWeeksInYear; +proto.weeksInWeekYear = getWeeksInWeekYear; +proto.isoWeeksInYear = getISOWeeksInYear; +proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear; +proto.date = getSetDayOfMonth; +proto.day = proto.days = getSetDayOfWeek; +proto.weekday = getSetLocaleDayOfWeek; +proto.isoWeekday = getSetISODayOfWeek; +proto.dayOfYear = getSetDayOfYear; +proto.hour = proto.hours = getSetHour; +proto.minute = proto.minutes = getSetMinute; +proto.second = proto.seconds = getSetSecond; +proto.millisecond = proto.milliseconds = getSetMillisecond; +proto.utcOffset = getSetOffset; +proto.utc = setOffsetToUTC; +proto.local = setOffsetToLocal; +proto.parseZone = setOffsetToParsedOffset; +proto.hasAlignedHourOffset = hasAlignedHourOffset; +proto.isDST = isDaylightSavingTime; +proto.isLocal = isLocal; +proto.isUtcOffset = isUtcOffset; +proto.isUtc = isUtc; +proto.isUTC = isUtc; +proto.zoneAbbr = getZoneAbbr; +proto.zoneName = getZoneName; +proto.dates = deprecate( + 'dates accessor is deprecated. Use date instead.', + getSetDayOfMonth +); +proto.months = deprecate( + 'months accessor is deprecated. Use month instead', + getSetMonth +); +proto.years = deprecate( + 'years accessor is deprecated. Use year instead', + getSetYear +); +proto.zone = deprecate( + 'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', + getSetZone +); +proto.isDSTShifted = deprecate( + 'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', + isDaylightSavingTimeShifted +); + +function createUnix(input) { + return createLocal(input * 1000); +} + +function createInZone() { + return createLocal.apply(null, arguments).parseZone(); +} + +function preParsePostFormat(string) { + return string; +} + +var proto$1 = Locale.prototype; + +proto$1.calendar = calendar; +proto$1.longDateFormat = longDateFormat; +proto$1.invalidDate = invalidDate; +proto$1.ordinal = ordinal; +proto$1.preparse = preParsePostFormat; +proto$1.postformat = preParsePostFormat; +proto$1.relativeTime = relativeTime; +proto$1.pastFuture = pastFuture; +proto$1.set = set; +proto$1.eras = localeEras; +proto$1.erasParse = localeErasParse; +proto$1.erasConvertYear = localeErasConvertYear; +proto$1.erasAbbrRegex = erasAbbrRegex; +proto$1.erasNameRegex = erasNameRegex; +proto$1.erasNarrowRegex = erasNarrowRegex; + +proto$1.months = localeMonths; +proto$1.monthsShort = localeMonthsShort; +proto$1.monthsParse = localeMonthsParse; +proto$1.monthsRegex = monthsRegex; +proto$1.monthsShortRegex = monthsShortRegex; +proto$1.week = localeWeek; +proto$1.firstDayOfYear = localeFirstDayOfYear; +proto$1.firstDayOfWeek = localeFirstDayOfWeek; + +proto$1.weekdays = localeWeekdays; +proto$1.weekdaysMin = localeWeekdaysMin; +proto$1.weekdaysShort = localeWeekdaysShort; +proto$1.weekdaysParse = localeWeekdaysParse; + +proto$1.weekdaysRegex = weekdaysRegex; +proto$1.weekdaysShortRegex = weekdaysShortRegex; +proto$1.weekdaysMinRegex = weekdaysMinRegex; + +proto$1.isPM = localeIsPM; +proto$1.meridiem = localeMeridiem; + +function get$1(format, index, field, setter) { + var locale = getLocale(), + utc = createUTC().set(setter, index); + return locale[field](utc, format); +} + +function listMonthsImpl(format, index, field) { + if (isNumber(format)) { + index = format; + format = undefined; + } + + format = format || ''; + + if (index != null) { + return get$1(format, index, field, 'month'); + } + + var i, + out = []; + for (i = 0; i < 12; i++) { + out[i] = get$1(format, i, field, 'month'); + } + return out; +} + +// () +// (5) +// (fmt, 5) +// (fmt) +// (true) +// (true, 5) +// (true, fmt, 5) +// (true, fmt) +function listWeekdaysImpl(localeSorted, format, index, field) { + if (typeof localeSorted === 'boolean') { + if (isNumber(format)) { + index = format; + format = undefined; + } + + format = format || ''; + } else { + format = localeSorted; + index = format; + localeSorted = false; + + if (isNumber(format)) { + index = format; + format = undefined; + } + + format = format || ''; + } + + var locale = getLocale(), + shift = localeSorted ? locale._week.dow : 0, + i, + out = []; + + if (index != null) { + return get$1(format, (index + shift) % 7, field, 'day'); + } + + for (i = 0; i < 7; i++) { + out[i] = get$1(format, (i + shift) % 7, field, 'day'); + } + return out; +} + +function listMonths(format, index) { + return listMonthsImpl(format, index, 'months'); +} + +function listMonthsShort(format, index) { + return listMonthsImpl(format, index, 'monthsShort'); +} + +function listWeekdays(localeSorted, format, index) { + return listWeekdaysImpl(localeSorted, format, index, 'weekdays'); +} + +function listWeekdaysShort(localeSorted, format, index) { + return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort'); +} + +function listWeekdaysMin(localeSorted, format, index) { + return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin'); +} + +getSetGlobalLocale('en', { + eras: [ + { + since: '0001-01-01', + until: +Infinity, + offset: 1, + name: 'Anno Domini', + narrow: 'AD', + abbr: 'AD', + }, + { + since: '0000-12-31', + until: -Infinity, + offset: 1, + name: 'Before Christ', + narrow: 'BC', + abbr: 'BC', + }, + ], + dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, + ordinal: function (number) { + var b = number % 10, + output = + toInt((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, +}); + +// Side effect imports + +hooks.lang = deprecate( + 'moment.lang is deprecated. Use moment.locale instead.', + getSetGlobalLocale +); +hooks.langData = deprecate( + 'moment.langData is deprecated. Use moment.localeData instead.', + getLocale +); + +var mathAbs = Math.abs; + +function abs() { + var data = this._data; + + this._milliseconds = mathAbs(this._milliseconds); + this._days = mathAbs(this._days); + this._months = mathAbs(this._months); + + data.milliseconds = mathAbs(data.milliseconds); + data.seconds = mathAbs(data.seconds); + data.minutes = mathAbs(data.minutes); + data.hours = mathAbs(data.hours); + data.months = mathAbs(data.months); + data.years = mathAbs(data.years); + + return this; +} + +function addSubtract$1(duration, input, value, direction) { + var other = createDuration(input, value); + + duration._milliseconds += direction * other._milliseconds; + duration._days += direction * other._days; + duration._months += direction * other._months; + + return duration._bubble(); +} + +// supports only 2.0-style add(1, 's') or add(duration) +function add$1(input, value) { + return addSubtract$1(this, input, value, 1); +} + +// supports only 2.0-style subtract(1, 's') or subtract(duration) +function subtract$1(input, value) { + return addSubtract$1(this, input, value, -1); +} + +function absCeil(number) { + if (number < 0) { + return Math.floor(number); + } else { + return Math.ceil(number); + } +} + +function bubble() { + var milliseconds = this._milliseconds, + days = this._days, + months = this._months, + data = this._data, + seconds, + minutes, + hours, + years, + monthsFromDays; + + // if we have a mix of positive and negative values, bubble down first + // check: https://github.com/moment/moment/issues/2166 + if ( + !( + (milliseconds >= 0 && days >= 0 && months >= 0) || + (milliseconds <= 0 && days <= 0 && months <= 0) + ) + ) { + milliseconds += absCeil(monthsToDays(months) + days) * 864e5; + days = 0; + months = 0; + } + + // The following code bubbles up values, see the tests for + // examples of what that means. + data.milliseconds = milliseconds % 1000; + + seconds = absFloor(milliseconds / 1000); + data.seconds = seconds % 60; + + minutes = absFloor(seconds / 60); + data.minutes = minutes % 60; + + hours = absFloor(minutes / 60); + data.hours = hours % 24; + + days += absFloor(hours / 24); + + // convert days to months + monthsFromDays = absFloor(daysToMonths(days)); + months += monthsFromDays; + days -= absCeil(monthsToDays(monthsFromDays)); + + // 12 months -> 1 year + years = absFloor(months / 12); + months %= 12; + + data.days = days; + data.months = months; + data.years = years; + + return this; +} + +function daysToMonths(days) { + // 400 years have 146097 days (taking into account leap year rules) + // 400 years have 12 months === 4800 + return (days * 4800) / 146097; +} + +function monthsToDays(months) { + // the reverse of daysToMonths + return (months * 146097) / 4800; +} + +function as(units) { + if (!this.isValid()) { + return NaN; + } + var days, + months, + milliseconds = this._milliseconds; + + units = normalizeUnits(units); + + if (units === 'month' || units === 'quarter' || units === 'year') { + days = this._days + milliseconds / 864e5; + months = this._months + daysToMonths(days); + switch (units) { + case 'month': + return months; + case 'quarter': + return months / 3; + case 'year': + return months / 12; + } + } else { + // handle milliseconds separately because of floating point math errors (issue #1867) + days = this._days + Math.round(monthsToDays(this._months)); + switch (units) { + case 'week': + return days / 7 + milliseconds / 6048e5; + case 'day': + return days + milliseconds / 864e5; + case 'hour': + return days * 24 + milliseconds / 36e5; + case 'minute': + return days * 1440 + milliseconds / 6e4; + case 'second': + return days * 86400 + milliseconds / 1000; + // Math.floor prevents floating point math errors here + case 'millisecond': + return Math.floor(days * 864e5) + milliseconds; + default: + throw new Error('Unknown unit ' + units); + } + } +} + +function makeAs(alias) { + return function () { + return this.as(alias); + }; +} + +var asMilliseconds = makeAs('ms'), + asSeconds = makeAs('s'), + asMinutes = makeAs('m'), + asHours = makeAs('h'), + asDays = makeAs('d'), + asWeeks = makeAs('w'), + asMonths = makeAs('M'), + asQuarters = makeAs('Q'), + asYears = makeAs('y'), + valueOf$1 = asMilliseconds; + +function clone$1() { + return createDuration(this); +} + +function get$2(units) { + units = normalizeUnits(units); + return this.isValid() ? this[units + 's']() : NaN; +} + +function makeGetter(name) { + return function () { + return this.isValid() ? this._data[name] : NaN; + }; +} + +var milliseconds = makeGetter('milliseconds'), + seconds = makeGetter('seconds'), + minutes = makeGetter('minutes'), + hours = makeGetter('hours'), + days = makeGetter('days'), + months = makeGetter('months'), + years = makeGetter('years'); + +function weeks() { + return absFloor(this.days() / 7); +} + +var round = Math.round, + thresholds = { + ss: 44, // a few seconds to seconds + s: 45, // seconds to minute + m: 45, // minutes to hour + h: 22, // hours to day + d: 26, // days to month/week + w: null, // weeks to month + M: 11, // months to year + }; + +// helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize +function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) { + return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture); +} + +function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) { + var duration = createDuration(posNegDuration).abs(), + seconds = round(duration.as('s')), + minutes = round(duration.as('m')), + hours = round(duration.as('h')), + days = round(duration.as('d')), + months = round(duration.as('M')), + weeks = round(duration.as('w')), + years = round(duration.as('y')), + a = + (seconds <= thresholds.ss && ['s', seconds]) || + (seconds < thresholds.s && ['ss', seconds]) || + (minutes <= 1 && ['m']) || + (minutes < thresholds.m && ['mm', minutes]) || + (hours <= 1 && ['h']) || + (hours < thresholds.h && ['hh', hours]) || + (days <= 1 && ['d']) || + (days < thresholds.d && ['dd', days]); + + if (thresholds.w != null) { + a = + a || + (weeks <= 1 && ['w']) || + (weeks < thresholds.w && ['ww', weeks]); + } + a = a || + (months <= 1 && ['M']) || + (months < thresholds.M && ['MM', months]) || + (years <= 1 && ['y']) || ['yy', years]; + + a[2] = withoutSuffix; + a[3] = +posNegDuration > 0; + a[4] = locale; + return substituteTimeAgo.apply(null, a); +} + +// This function allows you to set the rounding function for relative time strings +function getSetRelativeTimeRounding(roundingFunction) { + if (roundingFunction === undefined) { + return round; + } + if (typeof roundingFunction === 'function') { + round = roundingFunction; + return true; + } + return false; +} + +// This function allows you to set a threshold for relative time strings +function getSetRelativeTimeThreshold(threshold, limit) { + if (thresholds[threshold] === undefined) { + return false; + } + if (limit === undefined) { + return thresholds[threshold]; + } + thresholds[threshold] = limit; + if (threshold === 's') { + thresholds.ss = limit - 1; + } + return true; +} + +function humanize(argWithSuffix, argThresholds) { + if (!this.isValid()) { + return this.localeData().invalidDate(); + } + + var withSuffix = false, + th = thresholds, + locale, + output; + + if (typeof argWithSuffix === 'object') { + argThresholds = argWithSuffix; + argWithSuffix = false; + } + if (typeof argWithSuffix === 'boolean') { + withSuffix = argWithSuffix; + } + if (typeof argThresholds === 'object') { + th = Object.assign({}, thresholds, argThresholds); + if (argThresholds.s != null && argThresholds.ss == null) { + th.ss = argThresholds.s - 1; + } + } + + locale = this.localeData(); + output = relativeTime$1(this, !withSuffix, th, locale); + + if (withSuffix) { + output = locale.pastFuture(+this, output); + } + + return locale.postformat(output); +} + +var abs$1 = Math.abs; + +function sign(x) { + return (x > 0) - (x < 0) || +x; +} + +function toISOString$1() { + // for ISO strings we do not use the normal bubbling rules: + // * milliseconds bubble up until they become hours + // * days do not bubble at all + // * months bubble up until they become years + // This is because there is no context-free conversion between hours and days + // (think of clock changes) + // and also not between days and months (28-31 days per month) + if (!this.isValid()) { + return this.localeData().invalidDate(); + } + + var seconds = abs$1(this._milliseconds) / 1000, + days = abs$1(this._days), + months = abs$1(this._months), + minutes, + hours, + years, + s, + total = this.asSeconds(), + totalSign, + ymSign, + daysSign, + hmsSign; + + if (!total) { + // this is the same as C#'s (Noda) and python (isodate)... + // but not other JS (goog.date) + return 'P0D'; + } + + // 3600 seconds -> 60 minutes -> 1 hour + minutes = absFloor(seconds / 60); + hours = absFloor(minutes / 60); + seconds %= 60; + minutes %= 60; + + // 12 months -> 1 year + years = absFloor(months / 12); + months %= 12; + + // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js + s = seconds ? seconds.toFixed(3).replace(/\.?0+$/, '') : ''; + + totalSign = total < 0 ? '-' : ''; + ymSign = sign(this._months) !== sign(total) ? '-' : ''; + daysSign = sign(this._days) !== sign(total) ? '-' : ''; + hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : ''; + + return ( + totalSign + + 'P' + + (years ? ymSign + years + 'Y' : '') + + (months ? ymSign + months + 'M' : '') + + (days ? daysSign + days + 'D' : '') + + (hours || minutes || seconds ? 'T' : '') + + (hours ? hmsSign + hours + 'H' : '') + + (minutes ? hmsSign + minutes + 'M' : '') + + (seconds ? hmsSign + s + 'S' : '') + ); +} + +var proto$2 = Duration.prototype; + +proto$2.isValid = isValid$1; +proto$2.abs = abs; +proto$2.add = add$1; +proto$2.subtract = subtract$1; +proto$2.as = as; +proto$2.asMilliseconds = asMilliseconds; +proto$2.asSeconds = asSeconds; +proto$2.asMinutes = asMinutes; +proto$2.asHours = asHours; +proto$2.asDays = asDays; +proto$2.asWeeks = asWeeks; +proto$2.asMonths = asMonths; +proto$2.asQuarters = asQuarters; +proto$2.asYears = asYears; +proto$2.valueOf = valueOf$1; +proto$2._bubble = bubble; +proto$2.clone = clone$1; +proto$2.get = get$2; +proto$2.milliseconds = milliseconds; +proto$2.seconds = seconds; +proto$2.minutes = minutes; +proto$2.hours = hours; +proto$2.days = days; +proto$2.weeks = weeks; +proto$2.months = months; +proto$2.years = years; +proto$2.humanize = humanize; +proto$2.toISOString = toISOString$1; +proto$2.toString = toISOString$1; +proto$2.toJSON = toISOString$1; +proto$2.locale = locale; +proto$2.localeData = localeData; + +proto$2.toIsoString = deprecate( + 'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', + toISOString$1 +); +proto$2.lang = lang; + +// FORMATTING + +addFormatToken('X', 0, 0, 'unix'); +addFormatToken('x', 0, 0, 'valueOf'); + +// PARSING + +addRegexToken('x', matchSigned); +addRegexToken('X', matchTimestamp); +addParseToken('X', function (input, array, config) { + config._d = new Date(parseFloat(input) * 1000); +}); +addParseToken('x', function (input, array, config) { + config._d = new Date(toInt(input)); +}); + +//! moment.js + +hooks.version = '2.30.1'; + +setHookCallback(createLocal); + +hooks.fn = proto; +hooks.min = min; +hooks.max = max; +hooks.now = now; +hooks.utc = createUTC; +hooks.unix = createUnix; +hooks.months = listMonths; +hooks.isDate = isDate; +hooks.locale = getSetGlobalLocale; +hooks.invalid = createInvalid; +hooks.duration = createDuration; +hooks.isMoment = isMoment; +hooks.weekdays = listWeekdays; +hooks.parseZone = createInZone; +hooks.localeData = getLocale; +hooks.isDuration = isDuration; +hooks.monthsShort = listMonthsShort; +hooks.weekdaysMin = listWeekdaysMin; +hooks.defineLocale = defineLocale; +hooks.updateLocale = updateLocale; +hooks.locales = listLocales; +hooks.weekdaysShort = listWeekdaysShort; +hooks.normalizeUnits = normalizeUnits; +hooks.relativeTimeRounding = getSetRelativeTimeRounding; +hooks.relativeTimeThreshold = getSetRelativeTimeThreshold; +hooks.calendarFormat = getCalendarFormat; +hooks.prototype = proto; + +// currently HTML5 input type only supports 24-hour formats +hooks.HTML5_FMT = { + DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', // + DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', // + DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', // + DATE: 'YYYY-MM-DD', // + TIME: 'HH:mm', // + TIME_SECONDS: 'HH:mm:ss', // + TIME_MS: 'HH:mm:ss.SSS', // + WEEK: 'GGGG-[W]WW', // + MONTH: 'YYYY-MM', // +}; + +export default hooks; diff --git a/node_modules/moment/ender.js b/node_modules/moment/ender.js new file mode 100644 index 0000000..71462a7 --- /dev/null +++ b/node_modules/moment/ender.js @@ -0,0 +1 @@ +$.ender({ moment: require('moment') }) diff --git a/node_modules/moment/locale/af.js b/node_modules/moment/locale/af.js new file mode 100644 index 0000000..e77b15b --- /dev/null +++ b/node_modules/moment/locale/af.js @@ -0,0 +1,82 @@ +//! moment.js locale configuration +//! locale : Afrikaans [af] +//! author : Werner Mollentze : https://github.com/wernerm + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var af = moment.defineLocale('af', { + months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'), + weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split( + '_' + ), + weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'), + weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'), + meridiemParse: /vm|nm/i, + isPM: function (input) { + return /^nm$/i.test(input); + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'vm' : 'VM'; + } else { + return isLower ? 'nm' : 'NM'; + } + }, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Vandag om] LT', + nextDay: '[Môre om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[Gister om] LT', + lastWeek: '[Laas] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'oor %s', + past: '%s gelede', + s: "'n paar sekondes", + ss: '%d sekondes', + m: "'n minuut", + mm: '%d minute', + h: "'n uur", + hh: '%d ure', + d: "'n dag", + dd: '%d dae', + M: "'n maand", + MM: '%d maande', + y: "'n jaar", + yy: '%d jaar', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); // Thanks to Joris Röling : https://github.com/jjupiter + }, + week: { + dow: 1, // Maandag is die eerste dag van die week. + doy: 4, // Die week wat die 4de Januarie bevat is die eerste week van die jaar. + }, + }); + + return af; + +}))); diff --git a/node_modules/moment/locale/ar-dz.js b/node_modules/moment/locale/ar-dz.js new file mode 100644 index 0000000..8f9e149 --- /dev/null +++ b/node_modules/moment/locale/ar-dz.js @@ -0,0 +1,167 @@ +//! moment.js locale configuration +//! locale : Arabic (Algeria) [ar-dz] +//! author : Amine Roukh: https://github.com/Amine27 +//! author : Abdel Said: https://github.com/abdelsaid +//! author : Ahmed Elkhatib +//! author : forabi https://github.com/forabi +//! author : Noureddine LOUAHEDJ : https://github.com/noureddinem + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var pluralForm = function (n) { + return n === 0 + ? 0 + : n === 1 + ? 1 + : n === 2 + ? 2 + : n % 100 >= 3 && n % 100 <= 10 + ? 3 + : n % 100 >= 11 + ? 4 + : 5; + }, + plurals = { + s: [ + 'أقل من ثانية', + 'ثانية واحدة', + ['ثانيتان', 'ثانيتين'], + '%d ثوان', + '%d ثانية', + '%d ثانية', + ], + m: [ + 'أقل من دقيقة', + 'دقيقة واحدة', + ['دقيقتان', 'دقيقتين'], + '%d دقائق', + '%d دقيقة', + '%d دقيقة', + ], + h: [ + 'أقل من ساعة', + 'ساعة واحدة', + ['ساعتان', 'ساعتين'], + '%d ساعات', + '%d ساعة', + '%d ساعة', + ], + d: [ + 'أقل من يوم', + 'يوم واحد', + ['يومان', 'يومين'], + '%d أيام', + '%d يومًا', + '%d يوم', + ], + M: [ + 'أقل من شهر', + 'شهر واحد', + ['شهران', 'شهرين'], + '%d أشهر', + '%d شهرا', + '%d شهر', + ], + y: [ + 'أقل من عام', + 'عام واحد', + ['عامان', 'عامين'], + '%d أعوام', + '%d عامًا', + '%d عام', + ], + }, + pluralize = function (u) { + return function (number, withoutSuffix, string, isFuture) { + var f = pluralForm(number), + str = plurals[u][pluralForm(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }, + months = [ + 'جانفي', + 'فيفري', + 'مارس', + 'أفريل', + 'ماي', + 'جوان', + 'جويلية', + 'أوت', + 'سبتمبر', + 'أكتوبر', + 'نوفمبر', + 'ديسمبر', + ]; + + var arDz = moment.defineLocale('ar-dz', { + months: months, + monthsShort: months, + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/\u200FM/\u200FYYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم عند الساعة] LT', + nextDay: '[غدًا عند الساعة] LT', + nextWeek: 'dddd [عند الساعة] LT', + lastDay: '[أمس عند الساعة] LT', + lastWeek: 'dddd [عند الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'بعد %s', + past: 'منذ %s', + s: pluralize('s'), + ss: pluralize('s'), + m: pluralize('m'), + mm: pluralize('m'), + h: pluralize('h'), + hh: pluralize('h'), + d: pluralize('d'), + dd: pluralize('d'), + M: pluralize('M'), + MM: pluralize('M'), + y: pluralize('y'), + yy: pluralize('y'), + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return arDz; + +}))); diff --git a/node_modules/moment/locale/ar-kw.js b/node_modules/moment/locale/ar-kw.js new file mode 100644 index 0000000..c6ecef8 --- /dev/null +++ b/node_modules/moment/locale/ar-kw.js @@ -0,0 +1,66 @@ +//! moment.js locale configuration +//! locale : Arabic (Kuwait) [ar-kw] +//! author : Nusret Parlak: https://github.com/nusretparlak + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var arKw = moment.defineLocale('ar-kw', { + months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_' + ), + monthsShort: + 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_' + ), + weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + return arKw; + +}))); diff --git a/node_modules/moment/locale/ar-ly.js b/node_modules/moment/locale/ar-ly.js new file mode 100644 index 0000000..0ec9ec8 --- /dev/null +++ b/node_modules/moment/locale/ar-ly.js @@ -0,0 +1,182 @@ +//! moment.js locale configuration +//! locale : Arabic (Libya) [ar-ly] +//! author : Ali Hmer: https://github.com/kikoanis + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '1', + 2: '2', + 3: '3', + 4: '4', + 5: '5', + 6: '6', + 7: '7', + 8: '8', + 9: '9', + 0: '0', + }, + pluralForm = function (n) { + return n === 0 + ? 0 + : n === 1 + ? 1 + : n === 2 + ? 2 + : n % 100 >= 3 && n % 100 <= 10 + ? 3 + : n % 100 >= 11 + ? 4 + : 5; + }, + plurals = { + s: [ + 'أقل من ثانية', + 'ثانية واحدة', + ['ثانيتان', 'ثانيتين'], + '%d ثوان', + '%d ثانية', + '%d ثانية', + ], + m: [ + 'أقل من دقيقة', + 'دقيقة واحدة', + ['دقيقتان', 'دقيقتين'], + '%d دقائق', + '%d دقيقة', + '%d دقيقة', + ], + h: [ + 'أقل من ساعة', + 'ساعة واحدة', + ['ساعتان', 'ساعتين'], + '%d ساعات', + '%d ساعة', + '%d ساعة', + ], + d: [ + 'أقل من يوم', + 'يوم واحد', + ['يومان', 'يومين'], + '%d أيام', + '%d يومًا', + '%d يوم', + ], + M: [ + 'أقل من شهر', + 'شهر واحد', + ['شهران', 'شهرين'], + '%d أشهر', + '%d شهرا', + '%d شهر', + ], + y: [ + 'أقل من عام', + 'عام واحد', + ['عامان', 'عامين'], + '%d أعوام', + '%d عامًا', + '%d عام', + ], + }, + pluralize = function (u) { + return function (number, withoutSuffix, string, isFuture) { + var f = pluralForm(number), + str = plurals[u][pluralForm(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }, + months = [ + 'يناير', + 'فبراير', + 'مارس', + 'أبريل', + 'مايو', + 'يونيو', + 'يوليو', + 'أغسطس', + 'سبتمبر', + 'أكتوبر', + 'نوفمبر', + 'ديسمبر', + ]; + + var arLy = moment.defineLocale('ar-ly', { + months: months, + monthsShort: months, + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/\u200FM/\u200FYYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم عند الساعة] LT', + nextDay: '[غدًا عند الساعة] LT', + nextWeek: 'dddd [عند الساعة] LT', + lastDay: '[أمس عند الساعة] LT', + lastWeek: 'dddd [عند الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'بعد %s', + past: 'منذ %s', + s: pluralize('s'), + ss: pluralize('s'), + m: pluralize('m'), + mm: pluralize('m'), + h: pluralize('h'), + hh: pluralize('h'), + d: pluralize('d'), + dd: pluralize('d'), + M: pluralize('M'), + MM: pluralize('M'), + y: pluralize('y'), + yy: pluralize('y'), + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + return arLy; + +}))); diff --git a/node_modules/moment/locale/ar-ma.js b/node_modules/moment/locale/ar-ma.js new file mode 100644 index 0000000..11f061a --- /dev/null +++ b/node_modules/moment/locale/ar-ma.js @@ -0,0 +1,67 @@ +//! moment.js locale configuration +//! locale : Arabic (Morocco) [ar-ma] +//! author : ElFadili Yassine : https://github.com/ElFadiliY +//! author : Abdel Said : https://github.com/abdelsaid + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var arMa = moment.defineLocale('ar-ma', { + months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_' + ), + monthsShort: + 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_' + ), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return arMa; + +}))); diff --git a/node_modules/moment/locale/ar-ps.js b/node_modules/moment/locale/ar-ps.js new file mode 100644 index 0000000..4533bfa --- /dev/null +++ b/node_modules/moment/locale/ar-ps.js @@ -0,0 +1,123 @@ +//! moment.js locale configuration +//! locale : Arabic (Palestine) [ar-ps] +//! author : Majd Al-Shihabi : https://github.com/majdal + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }; + + var arPs = moment.defineLocale('ar-ps', { + months: 'كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل'.split( + '_' + ), + monthsShort: + 'ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١'.split('_'), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + preparse: function (string) { + return string + .replace(/[٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }) + .split('') // reversed since negative lookbehind not supported everywhere + .reverse() + .join('') + .replace(/[١٢](?![\u062a\u0643])/g, function (match) { + return numberMap[match]; + }) + .split('') + .reverse() + .join('') + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + return arPs; + +}))); diff --git a/node_modules/moment/locale/ar-sa.js b/node_modules/moment/locale/ar-sa.js new file mode 100644 index 0000000..e329df0 --- /dev/null +++ b/node_modules/moment/locale/ar-sa.js @@ -0,0 +1,116 @@ +//! moment.js locale configuration +//! locale : Arabic (Saudi Arabia) [ar-sa] +//! author : Suhail Alkowaileet : https://github.com/xsoh + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }; + + var arSa = moment.defineLocale('ar-sa', { + months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_' + ), + monthsShort: + 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_' + ), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + preparse: function (string) { + return string + .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }) + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + return arSa; + +}))); diff --git a/node_modules/moment/locale/ar-tn.js b/node_modules/moment/locale/ar-tn.js new file mode 100644 index 0000000..a390ed2 --- /dev/null +++ b/node_modules/moment/locale/ar-tn.js @@ -0,0 +1,66 @@ +//! moment.js locale configuration +//! locale : Arabic (Tunisia) [ar-tn] +//! author : Nader Toukabri : https://github.com/naderio + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var arTn = moment.defineLocale('ar-tn', { + months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_' + ), + monthsShort: + 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_' + ), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return arTn; + +}))); diff --git a/node_modules/moment/locale/ar.js b/node_modules/moment/locale/ar.js new file mode 100644 index 0000000..5bfb057 --- /dev/null +++ b/node_modules/moment/locale/ar.js @@ -0,0 +1,200 @@ +//! moment.js locale configuration +//! locale : Arabic [ar] +//! author : Abdel Said: https://github.com/abdelsaid +//! author : Ahmed Elkhatib +//! author : forabi https://github.com/forabi + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }, + pluralForm = function (n) { + return n === 0 + ? 0 + : n === 1 + ? 1 + : n === 2 + ? 2 + : n % 100 >= 3 && n % 100 <= 10 + ? 3 + : n % 100 >= 11 + ? 4 + : 5; + }, + plurals = { + s: [ + 'أقل من ثانية', + 'ثانية واحدة', + ['ثانيتان', 'ثانيتين'], + '%d ثوان', + '%d ثانية', + '%d ثانية', + ], + m: [ + 'أقل من دقيقة', + 'دقيقة واحدة', + ['دقيقتان', 'دقيقتين'], + '%d دقائق', + '%d دقيقة', + '%d دقيقة', + ], + h: [ + 'أقل من ساعة', + 'ساعة واحدة', + ['ساعتان', 'ساعتين'], + '%d ساعات', + '%d ساعة', + '%d ساعة', + ], + d: [ + 'أقل من يوم', + 'يوم واحد', + ['يومان', 'يومين'], + '%d أيام', + '%d يومًا', + '%d يوم', + ], + M: [ + 'أقل من شهر', + 'شهر واحد', + ['شهران', 'شهرين'], + '%d أشهر', + '%d شهرا', + '%d شهر', + ], + y: [ + 'أقل من عام', + 'عام واحد', + ['عامان', 'عامين'], + '%d أعوام', + '%d عامًا', + '%d عام', + ], + }, + pluralize = function (u) { + return function (number, withoutSuffix, string, isFuture) { + var f = pluralForm(number), + str = plurals[u][pluralForm(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }, + months = [ + 'يناير', + 'فبراير', + 'مارس', + 'أبريل', + 'مايو', + 'يونيو', + 'يوليو', + 'أغسطس', + 'سبتمبر', + 'أكتوبر', + 'نوفمبر', + 'ديسمبر', + ]; + + var ar = moment.defineLocale('ar', { + months: months, + monthsShort: months, + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/\u200FM/\u200FYYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم عند الساعة] LT', + nextDay: '[غدًا عند الساعة] LT', + nextWeek: 'dddd [عند الساعة] LT', + lastDay: '[أمس عند الساعة] LT', + lastWeek: 'dddd [عند الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'بعد %s', + past: 'منذ %s', + s: pluralize('s'), + ss: pluralize('s'), + m: pluralize('m'), + mm: pluralize('m'), + h: pluralize('h'), + hh: pluralize('h'), + d: pluralize('d'), + dd: pluralize('d'), + M: pluralize('M'), + MM: pluralize('M'), + y: pluralize('y'), + yy: pluralize('y'), + }, + preparse: function (string) { + return string + .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }) + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + return ar; + +}))); diff --git a/node_modules/moment/locale/az.js b/node_modules/moment/locale/az.js new file mode 100644 index 0000000..472bee1 --- /dev/null +++ b/node_modules/moment/locale/az.js @@ -0,0 +1,113 @@ +//! moment.js locale configuration +//! locale : Azerbaijani [az] +//! author : topchiyev : https://github.com/topchiyev + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var suffixes = { + 1: '-inci', + 5: '-inci', + 8: '-inci', + 70: '-inci', + 80: '-inci', + 2: '-nci', + 7: '-nci', + 20: '-nci', + 50: '-nci', + 3: '-üncü', + 4: '-üncü', + 100: '-üncü', + 6: '-ncı', + 9: '-uncu', + 10: '-uncu', + 30: '-uncu', + 60: '-ıncı', + 90: '-ıncı', + }; + + var az = moment.defineLocale('az', { + months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split( + '_' + ), + monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'), + weekdays: + 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split( + '_' + ), + weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'), + weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[bugün saat] LT', + nextDay: '[sabah saat] LT', + nextWeek: '[gələn həftə] dddd [saat] LT', + lastDay: '[dünən] LT', + lastWeek: '[keçən həftə] dddd [saat] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s sonra', + past: '%s əvvəl', + s: 'bir neçə saniyə', + ss: '%d saniyə', + m: 'bir dəqiqə', + mm: '%d dəqiqə', + h: 'bir saat', + hh: '%d saat', + d: 'bir gün', + dd: '%d gün', + M: 'bir ay', + MM: '%d ay', + y: 'bir il', + yy: '%d il', + }, + meridiemParse: /gecə|səhər|gündüz|axşam/, + isPM: function (input) { + return /^(gündüz|axşam)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'gecə'; + } else if (hour < 12) { + return 'səhər'; + } else if (hour < 17) { + return 'gündüz'; + } else { + return 'axşam'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/, + ordinal: function (number) { + if (number === 0) { + // special case for zero + return number + '-ıncı'; + } + var a = number % 10, + b = (number % 100) - a, + c = number >= 100 ? 100 : null; + return number + (suffixes[a] || suffixes[b] || suffixes[c]); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return az; + +}))); diff --git a/node_modules/moment/locale/be.js b/node_modules/moment/locale/be.js new file mode 100644 index 0000000..fd7e772 --- /dev/null +++ b/node_modules/moment/locale/be.js @@ -0,0 +1,153 @@ +//! moment.js locale configuration +//! locale : Belarusian [be] +//! author : Dmitry Demidov : https://github.com/demidov91 +//! author: Praleska: http://praleska.pro/ +//! Author : Menelion Elensúle : https://github.com/Oire + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 + ? forms[0] + : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) + ? forms[1] + : forms[2]; + } + function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд', + mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін', + hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін', + dd: 'дзень_дні_дзён', + MM: 'месяц_месяцы_месяцаў', + yy: 'год_гады_гадоў', + }; + if (key === 'm') { + return withoutSuffix ? 'хвіліна' : 'хвіліну'; + } else if (key === 'h') { + return withoutSuffix ? 'гадзіна' : 'гадзіну'; + } else { + return number + ' ' + plural(format[key], +number); + } + } + + var be = moment.defineLocale('be', { + months: { + format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split( + '_' + ), + standalone: + 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split( + '_' + ), + }, + monthsShort: + 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'), + weekdays: { + format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split( + '_' + ), + standalone: + 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split( + '_' + ), + isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/, + }, + weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'), + weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY г.', + LLL: 'D MMMM YYYY г., HH:mm', + LLLL: 'dddd, D MMMM YYYY г., HH:mm', + }, + calendar: { + sameDay: '[Сёння ў] LT', + nextDay: '[Заўтра ў] LT', + lastDay: '[Учора ў] LT', + nextWeek: function () { + return '[У] dddd [ў] LT'; + }, + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 5: + case 6: + return '[У мінулую] dddd [ў] LT'; + case 1: + case 2: + case 4: + return '[У мінулы] dddd [ў] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'праз %s', + past: '%s таму', + s: 'некалькі секунд', + m: relativeTimeWithPlural, + mm: relativeTimeWithPlural, + h: relativeTimeWithPlural, + hh: relativeTimeWithPlural, + d: 'дзень', + dd: relativeTimeWithPlural, + M: 'месяц', + MM: relativeTimeWithPlural, + y: 'год', + yy: relativeTimeWithPlural, + }, + meridiemParse: /ночы|раніцы|дня|вечара/, + isPM: function (input) { + return /^(дня|вечара)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ночы'; + } else if (hour < 12) { + return 'раніцы'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечара'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + case 'w': + case 'W': + return (number % 10 === 2 || number % 10 === 3) && + number % 100 !== 12 && + number % 100 !== 13 + ? number + '-і' + : number + '-ы'; + case 'D': + return number + '-га'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return be; + +}))); diff --git a/node_modules/moment/locale/bg.js b/node_modules/moment/locale/bg.js new file mode 100644 index 0000000..5a1bda8 --- /dev/null +++ b/node_modules/moment/locale/bg.js @@ -0,0 +1,98 @@ +//! moment.js locale configuration +//! locale : Bulgarian [bg] +//! author : Krasen Borisov : https://github.com/kraz + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var bg = moment.defineLocale('bg', { + months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split( + '_' + ), + monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'), + weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split( + '_' + ), + weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'), + weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[Днес в] LT', + nextDay: '[Утре в] LT', + nextWeek: 'dddd [в] LT', + lastDay: '[Вчера в] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 6: + return '[Миналата] dddd [в] LT'; + case 1: + case 2: + case 4: + case 5: + return '[Миналия] dddd [в] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'след %s', + past: 'преди %s', + s: 'няколко секунди', + ss: '%d секунди', + m: 'минута', + mm: '%d минути', + h: 'час', + hh: '%d часа', + d: 'ден', + dd: '%d дена', + w: 'седмица', + ww: '%d седмици', + M: 'месец', + MM: '%d месеца', + y: 'година', + yy: '%d години', + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, + ordinal: function (number) { + var lastDigit = number % 10, + last2Digits = number % 100; + if (number === 0) { + return number + '-ев'; + } else if (last2Digits === 0) { + return number + '-ен'; + } else if (last2Digits > 10 && last2Digits < 20) { + return number + '-ти'; + } else if (lastDigit === 1) { + return number + '-ви'; + } else if (lastDigit === 2) { + return number + '-ри'; + } else if (lastDigit === 7 || lastDigit === 8) { + return number + '-ми'; + } else { + return number + '-ти'; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return bg; + +}))); diff --git a/node_modules/moment/locale/bm.js b/node_modules/moment/locale/bm.js new file mode 100644 index 0000000..302410c --- /dev/null +++ b/node_modules/moment/locale/bm.js @@ -0,0 +1,62 @@ +//! moment.js locale configuration +//! locale : Bambara [bm] +//! author : Estelle Comment : https://github.com/estellecomment + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var bm = moment.defineLocale('bm', { + months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split( + '_' + ), + monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'), + weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'), + weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'), + weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'MMMM [tile] D [san] YYYY', + LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm', + LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm', + }, + calendar: { + sameDay: '[Bi lɛrɛ] LT', + nextDay: '[Sini lɛrɛ] LT', + nextWeek: 'dddd [don lɛrɛ] LT', + lastDay: '[Kunu lɛrɛ] LT', + lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s kɔnɔ', + past: 'a bɛ %s bɔ', + s: 'sanga dama dama', + ss: 'sekondi %d', + m: 'miniti kelen', + mm: 'miniti %d', + h: 'lɛrɛ kelen', + hh: 'lɛrɛ %d', + d: 'tile kelen', + dd: 'tile %d', + M: 'kalo kelen', + MM: 'kalo %d', + y: 'san kelen', + yy: 'san %d', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return bm; + +}))); diff --git a/node_modules/moment/locale/bn-bd.js b/node_modules/moment/locale/bn-bd.js new file mode 100644 index 0000000..1154aa4 --- /dev/null +++ b/node_modules/moment/locale/bn-bd.js @@ -0,0 +1,140 @@ +//! moment.js locale configuration +//! locale : Bengali (Bangladesh) [bn-bd] +//! author : Asraf Hossain Patoary : https://github.com/ashwoolford + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '১', + 2: '২', + 3: '৩', + 4: '৪', + 5: '৫', + 6: '৬', + 7: '৭', + 8: '৮', + 9: '৯', + 0: '০', + }, + numberMap = { + '১': '1', + '২': '2', + '৩': '3', + '৪': '4', + '৫': '5', + '৬': '6', + '৭': '7', + '৮': '8', + '৯': '9', + '০': '0', + }; + + var bnBd = moment.defineLocale('bn-bd', { + months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split( + '_' + ), + monthsShort: + 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split( + '_' + ), + weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split( + '_' + ), + weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'), + weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'), + longDateFormat: { + LT: 'A h:mm সময়', + LTS: 'A h:mm:ss সময়', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm সময়', + LLLL: 'dddd, D MMMM YYYY, A h:mm সময়', + }, + calendar: { + sameDay: '[আজ] LT', + nextDay: '[আগামীকাল] LT', + nextWeek: 'dddd, LT', + lastDay: '[গতকাল] LT', + lastWeek: '[গত] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s পরে', + past: '%s আগে', + s: 'কয়েক সেকেন্ড', + ss: '%d সেকেন্ড', + m: 'এক মিনিট', + mm: '%d মিনিট', + h: 'এক ঘন্টা', + hh: '%d ঘন্টা', + d: 'এক দিন', + dd: '%d দিন', + M: 'এক মাস', + MM: '%d মাস', + y: 'এক বছর', + yy: '%d বছর', + }, + preparse: function (string) { + return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + + meridiemParse: /রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'রাত') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ভোর') { + return hour; + } else if (meridiem === 'সকাল') { + return hour; + } else if (meridiem === 'দুপুর') { + return hour >= 3 ? hour : hour + 12; + } else if (meridiem === 'বিকাল') { + return hour + 12; + } else if (meridiem === 'সন্ধ্যা') { + return hour + 12; + } + }, + + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'রাত'; + } else if (hour < 6) { + return 'ভোর'; + } else if (hour < 12) { + return 'সকাল'; + } else if (hour < 15) { + return 'দুপুর'; + } else if (hour < 18) { + return 'বিকাল'; + } else if (hour < 20) { + return 'সন্ধ্যা'; + } else { + return 'রাত'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + return bnBd; + +}))); diff --git a/node_modules/moment/locale/bn.js b/node_modules/moment/locale/bn.js new file mode 100644 index 0000000..e5e3e5f --- /dev/null +++ b/node_modules/moment/locale/bn.js @@ -0,0 +1,130 @@ +//! moment.js locale configuration +//! locale : Bengali [bn] +//! author : Kaushik Gandhi : https://github.com/kaushikgandhi + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '১', + 2: '২', + 3: '৩', + 4: '৪', + 5: '৫', + 6: '৬', + 7: '৭', + 8: '৮', + 9: '৯', + 0: '০', + }, + numberMap = { + '১': '1', + '২': '2', + '৩': '3', + '৪': '4', + '৫': '5', + '৬': '6', + '৭': '7', + '৮': '8', + '৯': '9', + '০': '0', + }; + + var bn = moment.defineLocale('bn', { + months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split( + '_' + ), + monthsShort: + 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split( + '_' + ), + weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split( + '_' + ), + weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'), + weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'), + longDateFormat: { + LT: 'A h:mm সময়', + LTS: 'A h:mm:ss সময়', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm সময়', + LLLL: 'dddd, D MMMM YYYY, A h:mm সময়', + }, + calendar: { + sameDay: '[আজ] LT', + nextDay: '[আগামীকাল] LT', + nextWeek: 'dddd, LT', + lastDay: '[গতকাল] LT', + lastWeek: '[গত] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s পরে', + past: '%s আগে', + s: 'কয়েক সেকেন্ড', + ss: '%d সেকেন্ড', + m: 'এক মিনিট', + mm: '%d মিনিট', + h: 'এক ঘন্টা', + hh: '%d ঘন্টা', + d: 'এক দিন', + dd: '%d দিন', + M: 'এক মাস', + MM: '%d মাস', + y: 'এক বছর', + yy: '%d বছর', + }, + preparse: function (string) { + return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + (meridiem === 'রাত' && hour >= 4) || + (meridiem === 'দুপুর' && hour < 5) || + meridiem === 'বিকাল' + ) { + return hour + 12; + } else { + return hour; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'রাত'; + } else if (hour < 10) { + return 'সকাল'; + } else if (hour < 17) { + return 'দুপুর'; + } else if (hour < 20) { + return 'বিকাল'; + } else { + return 'রাত'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + return bn; + +}))); diff --git a/node_modules/moment/locale/bo.js b/node_modules/moment/locale/bo.js new file mode 100644 index 0000000..c4a7c52 --- /dev/null +++ b/node_modules/moment/locale/bo.js @@ -0,0 +1,135 @@ +//! moment.js locale configuration +//! locale : Tibetan [bo] +//! author : Thupten N. Chakrishar : https://github.com/vajradog + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '༡', + 2: '༢', + 3: '༣', + 4: '༤', + 5: '༥', + 6: '༦', + 7: '༧', + 8: '༨', + 9: '༩', + 0: '༠', + }, + numberMap = { + '༡': '1', + '༢': '2', + '༣': '3', + '༤': '4', + '༥': '5', + '༦': '6', + '༧': '7', + '༨': '8', + '༩': '9', + '༠': '0', + }; + + var bo = moment.defineLocale('bo', { + months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split( + '_' + ), + monthsShort: + 'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split( + '_' + ), + monthsShortRegex: /^(ཟླ་\d{1,2})/, + monthsParseExact: true, + weekdays: + 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split( + '_' + ), + weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split( + '_' + ), + weekdaysMin: 'ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm', + }, + calendar: { + sameDay: '[དི་རིང] LT', + nextDay: '[སང་ཉིན] LT', + nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT', + lastDay: '[ཁ་སང] LT', + lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ལ་', + past: '%s སྔན་ལ', + s: 'ལམ་སང', + ss: '%d སྐར་ཆ།', + m: 'སྐར་མ་གཅིག', + mm: '%d སྐར་མ', + h: 'ཆུ་ཚོད་གཅིག', + hh: '%d ཆུ་ཚོད', + d: 'ཉིན་གཅིག', + dd: '%d ཉིན་', + M: 'ཟླ་བ་གཅིག', + MM: '%d ཟླ་བ', + y: 'ལོ་གཅིག', + yy: '%d ལོ', + }, + preparse: function (string) { + return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + (meridiem === 'མཚན་མོ' && hour >= 4) || + (meridiem === 'ཉིན་གུང' && hour < 5) || + meridiem === 'དགོང་དག' + ) { + return hour + 12; + } else { + return hour; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'མཚན་མོ'; + } else if (hour < 10) { + return 'ཞོགས་ཀས'; + } else if (hour < 17) { + return 'ཉིན་གུང'; + } else if (hour < 20) { + return 'དགོང་དག'; + } else { + return 'མཚན་མོ'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + return bo; + +}))); diff --git a/node_modules/moment/locale/br.js b/node_modules/moment/locale/br.js new file mode 100644 index 0000000..bd047fe --- /dev/null +++ b/node_modules/moment/locale/br.js @@ -0,0 +1,179 @@ +//! moment.js locale configuration +//! locale : Breton [br] +//! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function relativeTimeWithMutation(number, withoutSuffix, key) { + var format = { + mm: 'munutenn', + MM: 'miz', + dd: 'devezh', + }; + return number + ' ' + mutation(format[key], number); + } + function specialMutationForYears(number) { + switch (lastNumber(number)) { + case 1: + case 3: + case 4: + case 5: + case 9: + return number + ' bloaz'; + default: + return number + ' vloaz'; + } + } + function lastNumber(number) { + if (number > 9) { + return lastNumber(number % 10); + } + return number; + } + function mutation(text, number) { + if (number === 2) { + return softMutation(text); + } + return text; + } + function softMutation(text) { + var mutationTable = { + m: 'v', + b: 'v', + d: 'z', + }; + if (mutationTable[text.charAt(0)] === undefined) { + return text; + } + return mutationTable[text.charAt(0)] + text.substring(1); + } + + var monthsParse = [ + /^gen/i, + /^c[ʼ\']hwe/i, + /^meu/i, + /^ebr/i, + /^mae/i, + /^(mez|eve)/i, + /^gou/i, + /^eos/i, + /^gwe/i, + /^her/i, + /^du/i, + /^ker/i, + ], + monthsRegex = + /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i, + monthsStrictRegex = + /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i, + monthsShortStrictRegex = + /^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i, + fullWeekdaysParse = [ + /^sul/i, + /^lun/i, + /^meurzh/i, + /^merc[ʼ\']her/i, + /^yaou/i, + /^gwener/i, + /^sadorn/i, + ], + shortWeekdaysParse = [ + /^Sul/i, + /^Lun/i, + /^Meu/i, + /^Mer/i, + /^Yao/i, + /^Gwe/i, + /^Sad/i, + ], + minWeekdaysParse = [ + /^Su/i, + /^Lu/i, + /^Me([^r]|$)/i, + /^Mer/i, + /^Ya/i, + /^Gw/i, + /^Sa/i, + ]; + + var br = moment.defineLocale('br', { + months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split( + '_' + ), + monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'), + weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'), + weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'), + weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'), + weekdaysParse: minWeekdaysParse, + fullWeekdaysParse: fullWeekdaysParse, + shortWeekdaysParse: shortWeekdaysParse, + minWeekdaysParse: minWeekdaysParse, + + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: monthsStrictRegex, + monthsShortStrictRegex: monthsShortStrictRegex, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [a viz] MMMM YYYY', + LLL: 'D [a viz] MMMM YYYY HH:mm', + LLLL: 'dddd, D [a viz] MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Hiziv da] LT', + nextDay: '[Warcʼhoazh da] LT', + nextWeek: 'dddd [da] LT', + lastDay: '[Decʼh da] LT', + lastWeek: 'dddd [paset da] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'a-benn %s', + past: '%s ʼzo', + s: 'un nebeud segondennoù', + ss: '%d eilenn', + m: 'ur vunutenn', + mm: relativeTimeWithMutation, + h: 'un eur', + hh: '%d eur', + d: 'un devezh', + dd: relativeTimeWithMutation, + M: 'ur miz', + MM: relativeTimeWithMutation, + y: 'ur bloaz', + yy: specialMutationForYears, + }, + dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/, + ordinal: function (number) { + var output = number === 1 ? 'añ' : 'vet'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + meridiemParse: /a.m.|g.m./, // goude merenn | a-raok merenn + isPM: function (token) { + return token === 'g.m.'; + }, + meridiem: function (hour, minute, isLower) { + return hour < 12 ? 'a.m.' : 'g.m.'; + }, + }); + + return br; + +}))); diff --git a/node_modules/moment/locale/bs.js b/node_modules/moment/locale/bs.js new file mode 100644 index 0000000..55a4d80 --- /dev/null +++ b/node_modules/moment/locale/bs.js @@ -0,0 +1,171 @@ +//! moment.js locale configuration +//! locale : Bosnian [bs] +//! author : Nedim Cholich : https://github.com/frontyard +//! author : Rasid Redzic : https://github.com/rasidre +//! based on (hr) translation by Bojan Marković + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + switch (key) { + case 'm': + return withoutSuffix + ? 'jedna minuta' + : isFuture + ? 'jednu minutu' + : 'jedne minute'; + } + } + + function translate(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'ss': + if (number === 1) { + result += 'sekunda'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sekunde'; + } else { + result += 'sekundi'; + } + return result; + case 'mm': + if (number === 1) { + result += 'minuta'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'minute'; + } else { + result += 'minuta'; + } + return result; + case 'h': + return withoutSuffix ? 'jedan sat' : 'jedan sat'; + case 'hh': + if (number === 1) { + result += 'sat'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sata'; + } else { + result += 'sati'; + } + return result; + case 'dd': + if (number === 1) { + result += 'dan'; + } else { + result += 'dana'; + } + return result; + case 'MM': + if (number === 1) { + result += 'mjesec'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'mjeseca'; + } else { + result += 'mjeseci'; + } + return result; + case 'yy': + if (number === 1) { + result += 'godina'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'godine'; + } else { + result += 'godina'; + } + return result; + } + } + + var bs = moment.defineLocale('bs', { + months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split( + '_' + ), + monthsShort: + 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( + '_' + ), + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sutra u] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay: '[jučer u] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + return '[prošlu] dddd [u] LT'; + case 6: + return '[prošle] [subote] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prošli] dddd [u] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'prije %s', + s: 'par sekundi', + ss: translate, + m: processRelativeTime, + mm: translate, + h: translate, + hh: translate, + d: 'dan', + dd: translate, + M: 'mjesec', + MM: translate, + y: 'godinu', + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return bs; + +}))); diff --git a/node_modules/moment/locale/ca.js b/node_modules/moment/locale/ca.js new file mode 100644 index 0000000..50f264c --- /dev/null +++ b/node_modules/moment/locale/ca.js @@ -0,0 +1,111 @@ +//! moment.js locale configuration +//! locale : Catalan [ca] +//! author : Juan G. Hurtado : https://github.com/juanghurtado + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var ca = moment.defineLocale('ca', { + months: { + standalone: + 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split( + '_' + ), + format: "de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split( + '_' + ), + isFormat: /D[oD]?(\s)+MMMM/, + }, + monthsShort: + 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split( + '_' + ), + weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'), + weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [de] YYYY', + ll: 'D MMM YYYY', + LLL: 'D MMMM [de] YYYY [a les] H:mm', + lll: 'D MMM YYYY, H:mm', + LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm', + llll: 'ddd D MMM YYYY, H:mm', + }, + calendar: { + sameDay: function () { + return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + nextDay: function () { + return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + lastDay: function () { + return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [passat a ' + + (this.hours() !== 1 ? 'les' : 'la') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: "d'aquí %s", + past: 'fa %s', + s: 'uns segons', + ss: '%d segons', + m: 'un minut', + mm: '%d minuts', + h: 'una hora', + hh: '%d hores', + d: 'un dia', + dd: '%d dies', + M: 'un mes', + MM: '%d mesos', + y: 'un any', + yy: '%d anys', + }, + dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/, + ordinal: function (number, period) { + var output = + number === 1 + ? 'r' + : number === 2 + ? 'n' + : number === 3 + ? 'r' + : number === 4 + ? 't' + : 'è'; + if (period === 'w' || period === 'W') { + output = 'a'; + } + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return ca; + +}))); diff --git a/node_modules/moment/locale/cs.js b/node_modules/moment/locale/cs.js new file mode 100644 index 0000000..7cd8832 --- /dev/null +++ b/node_modules/moment/locale/cs.js @@ -0,0 +1,192 @@ +//! moment.js locale configuration +//! locale : Czech [cs] +//! author : petrbela : https://github.com/petrbela + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var months = { + standalone: + 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split( + '_' + ), + format: 'ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince'.split( + '_' + ), + isFormat: /DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/, + }, + monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'), + monthsParse = [ + /^led/i, + /^úno/i, + /^bře/i, + /^dub/i, + /^kvě/i, + /^(čvn|červen$|června)/i, + /^(čvc|červenec|července)/i, + /^srp/i, + /^zář/i, + /^říj/i, + /^lis/i, + /^pro/i, + ], + // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched. + // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'. + monthsRegex = + /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i; + + function plural(n) { + return n > 1 && n < 5 && ~~(n / 10) !== 1; + } + function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': // a few seconds / in a few seconds / a few seconds ago + return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami'; + case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'sekundy' : 'sekund'); + } else { + return result + 'sekundami'; + } + case 'm': // a minute / in a minute / a minute ago + return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou'; + case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'minuty' : 'minut'); + } else { + return result + 'minutami'; + } + case 'h': // an hour / in an hour / an hour ago + return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou'; + case 'hh': // 9 hours / in 9 hours / 9 hours ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'hodiny' : 'hodin'); + } else { + return result + 'hodinami'; + } + case 'd': // a day / in a day / a day ago + return withoutSuffix || isFuture ? 'den' : 'dnem'; + case 'dd': // 9 days / in 9 days / 9 days ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'dny' : 'dní'); + } else { + return result + 'dny'; + } + case 'M': // a month / in a month / a month ago + return withoutSuffix || isFuture ? 'měsíc' : 'měsícem'; + case 'MM': // 9 months / in 9 months / 9 months ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'měsíce' : 'měsíců'); + } else { + return result + 'měsíci'; + } + case 'y': // a year / in a year / a year ago + return withoutSuffix || isFuture ? 'rok' : 'rokem'; + case 'yy': // 9 years / in 9 years / 9 years ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'roky' : 'let'); + } else { + return result + 'lety'; + } + } + } + + var cs = moment.defineLocale('cs', { + months: months, + monthsShort: monthsShort, + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched. + // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'. + monthsStrictRegex: + /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i, + monthsShortStrictRegex: + /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'), + weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'), + weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd D. MMMM YYYY H:mm', + l: 'D. M. YYYY', + }, + calendar: { + sameDay: '[dnes v] LT', + nextDay: '[zítra v] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[v neděli v] LT'; + case 1: + case 2: + return '[v] dddd [v] LT'; + case 3: + return '[ve středu v] LT'; + case 4: + return '[ve čtvrtek v] LT'; + case 5: + return '[v pátek v] LT'; + case 6: + return '[v sobotu v] LT'; + } + }, + lastDay: '[včera v] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[minulou neděli v] LT'; + case 1: + case 2: + return '[minulé] dddd [v] LT'; + case 3: + return '[minulou středu v] LT'; + case 4: + case 5: + return '[minulý] dddd [v] LT'; + case 6: + return '[minulou sobotu v] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'před %s', + s: translate, + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return cs; + +}))); diff --git a/node_modules/moment/locale/cv.js b/node_modules/moment/locale/cv.js new file mode 100644 index 0000000..6749d48 --- /dev/null +++ b/node_modules/moment/locale/cv.js @@ -0,0 +1,74 @@ +//! moment.js locale configuration +//! locale : Chuvash [cv] +//! author : Anatoly Mironov : https://github.com/mirontoli + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var cv = moment.defineLocale('cv', { + months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split( + '_' + ), + monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'), + weekdays: + 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split( + '_' + ), + weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'), + weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]', + LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm', + LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm', + }, + calendar: { + sameDay: '[Паян] LT [сехетре]', + nextDay: '[Ыран] LT [сехетре]', + lastDay: '[Ӗнер] LT [сехетре]', + nextWeek: '[Ҫитес] dddd LT [сехетре]', + lastWeek: '[Иртнӗ] dddd LT [сехетре]', + sameElse: 'L', + }, + relativeTime: { + future: function (output) { + var affix = /сехет$/i.exec(output) + ? 'рен' + : /ҫул$/i.exec(output) + ? 'тан' + : 'ран'; + return output + affix; + }, + past: '%s каялла', + s: 'пӗр-ик ҫеккунт', + ss: '%d ҫеккунт', + m: 'пӗр минут', + mm: '%d минут', + h: 'пӗр сехет', + hh: '%d сехет', + d: 'пӗр кун', + dd: '%d кун', + M: 'пӗр уйӑх', + MM: '%d уйӑх', + y: 'пӗр ҫул', + yy: '%d ҫул', + }, + dayOfMonthOrdinalParse: /\d{1,2}-мӗш/, + ordinal: '%d-мӗш', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return cv; + +}))); diff --git a/node_modules/moment/locale/cy.js b/node_modules/moment/locale/cy.js new file mode 100644 index 0000000..3b987f2 --- /dev/null +++ b/node_modules/moment/locale/cy.js @@ -0,0 +1,109 @@ +//! moment.js locale configuration +//! locale : Welsh [cy] +//! author : Robert Allen : https://github.com/robgallen +//! author : https://github.com/ryangreaves + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var cy = moment.defineLocale('cy', { + months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split( + '_' + ), + monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split( + '_' + ), + weekdays: + 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split( + '_' + ), + weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'), + weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'), + weekdaysParseExact: true, + // time formats are the same as en-gb + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Heddiw am] LT', + nextDay: '[Yfory am] LT', + nextWeek: 'dddd [am] LT', + lastDay: '[Ddoe am] LT', + lastWeek: 'dddd [diwethaf am] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'mewn %s', + past: '%s yn ôl', + s: 'ychydig eiliadau', + ss: '%d eiliad', + m: 'munud', + mm: '%d munud', + h: 'awr', + hh: '%d awr', + d: 'diwrnod', + dd: '%d diwrnod', + M: 'mis', + MM: '%d mis', + y: 'blwyddyn', + yy: '%d flynedd', + }, + dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/, + // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh + ordinal: function (number) { + var b = number, + output = '', + lookup = [ + '', + 'af', + 'il', + 'ydd', + 'ydd', + 'ed', + 'ed', + 'ed', + 'fed', + 'fed', + 'fed', // 1af to 10fed + 'eg', + 'fed', + 'eg', + 'eg', + 'fed', + 'eg', + 'eg', + 'fed', + 'eg', + 'fed', // 11eg to 20fed + ]; + if (b > 20) { + if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) { + output = 'fed'; // not 30ain, 70ain or 90ain + } else { + output = 'ain'; + } + } else if (b > 0) { + output = lookup[b]; + } + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return cy; + +}))); diff --git a/node_modules/moment/locale/da.js b/node_modules/moment/locale/da.js new file mode 100644 index 0000000..2ed0583 --- /dev/null +++ b/node_modules/moment/locale/da.js @@ -0,0 +1,64 @@ +//! moment.js locale configuration +//! locale : Danish [da] +//! author : Ulrik Nielsen : https://github.com/mrbase + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var da = moment.defineLocale('da', { + months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), + weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), + weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'), + weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm', + }, + calendar: { + sameDay: '[i dag kl.] LT', + nextDay: '[i morgen kl.] LT', + nextWeek: 'på dddd [kl.] LT', + lastDay: '[i går kl.] LT', + lastWeek: '[i] dddd[s kl.] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'om %s', + past: '%s siden', + s: 'få sekunder', + ss: '%d sekunder', + m: 'et minut', + mm: '%d minutter', + h: 'en time', + hh: '%d timer', + d: 'en dag', + dd: '%d dage', + M: 'en måned', + MM: '%d måneder', + y: 'et år', + yy: '%d år', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return da; + +}))); diff --git a/node_modules/moment/locale/de-at.js b/node_modules/moment/locale/de-at.js new file mode 100644 index 0000000..7c31302 --- /dev/null +++ b/node_modules/moment/locale/de-at.js @@ -0,0 +1,90 @@ +//! moment.js locale configuration +//! locale : German (Austria) [de-at] +//! author : lluchs : https://github.com/lluchs +//! author: Menelion Elensúle: https://github.com/Oire +//! author : Martin Groller : https://github.com/MadMG +//! author : Mikolaj Dadela : https://github.com/mik01aj + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + m: ['eine Minute', 'einer Minute'], + h: ['eine Stunde', 'einer Stunde'], + d: ['ein Tag', 'einem Tag'], + dd: [number + ' Tage', number + ' Tagen'], + w: ['eine Woche', 'einer Woche'], + M: ['ein Monat', 'einem Monat'], + MM: [number + ' Monate', number + ' Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: [number + ' Jahre', number + ' Jahren'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + + var deAt = moment.defineLocale('de-at', { + months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_' + ), + monthsShort: + 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + monthsParseExact: true, + weekdays: + 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( + '_' + ), + weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[heute um] LT [Uhr]', + sameElse: 'L', + nextDay: '[morgen um] LT [Uhr]', + nextWeek: 'dddd [um] LT [Uhr]', + lastDay: '[gestern um] LT [Uhr]', + lastWeek: '[letzten] dddd [um] LT [Uhr]', + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: 'ein paar Sekunden', + ss: '%d Sekunden', + m: processRelativeTime, + mm: '%d Minuten', + h: processRelativeTime, + hh: '%d Stunden', + d: processRelativeTime, + dd: processRelativeTime, + w: processRelativeTime, + ww: '%d Wochen', + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return deAt; + +}))); diff --git a/node_modules/moment/locale/de-ch.js b/node_modules/moment/locale/de-ch.js new file mode 100644 index 0000000..10fed17 --- /dev/null +++ b/node_modules/moment/locale/de-ch.js @@ -0,0 +1,87 @@ +//! moment.js locale configuration +//! locale : German (Switzerland) [de-ch] +//! author : sschueller : https://github.com/sschueller + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + m: ['eine Minute', 'einer Minute'], + h: ['eine Stunde', 'einer Stunde'], + d: ['ein Tag', 'einem Tag'], + dd: [number + ' Tage', number + ' Tagen'], + w: ['eine Woche', 'einer Woche'], + M: ['ein Monat', 'einem Monat'], + MM: [number + ' Monate', number + ' Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: [number + ' Jahre', number + ' Jahren'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + + var deCh = moment.defineLocale('de-ch', { + months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_' + ), + monthsShort: + 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + monthsParseExact: true, + weekdays: + 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( + '_' + ), + weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[heute um] LT [Uhr]', + sameElse: 'L', + nextDay: '[morgen um] LT [Uhr]', + nextWeek: 'dddd [um] LT [Uhr]', + lastDay: '[gestern um] LT [Uhr]', + lastWeek: '[letzten] dddd [um] LT [Uhr]', + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: 'ein paar Sekunden', + ss: '%d Sekunden', + m: processRelativeTime, + mm: '%d Minuten', + h: processRelativeTime, + hh: '%d Stunden', + d: processRelativeTime, + dd: processRelativeTime, + w: processRelativeTime, + ww: '%d Wochen', + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return deCh; + +}))); diff --git a/node_modules/moment/locale/de.js b/node_modules/moment/locale/de.js new file mode 100644 index 0000000..cc061eb --- /dev/null +++ b/node_modules/moment/locale/de.js @@ -0,0 +1,89 @@ +//! moment.js locale configuration +//! locale : German [de] +//! author : lluchs : https://github.com/lluchs +//! author: Menelion Elensúle: https://github.com/Oire +//! author : Mikolaj Dadela : https://github.com/mik01aj + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + m: ['eine Minute', 'einer Minute'], + h: ['eine Stunde', 'einer Stunde'], + d: ['ein Tag', 'einem Tag'], + dd: [number + ' Tage', number + ' Tagen'], + w: ['eine Woche', 'einer Woche'], + M: ['ein Monat', 'einem Monat'], + MM: [number + ' Monate', number + ' Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: [number + ' Jahre', number + ' Jahren'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + + var de = moment.defineLocale('de', { + months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_' + ), + monthsShort: + 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + monthsParseExact: true, + weekdays: + 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( + '_' + ), + weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[heute um] LT [Uhr]', + sameElse: 'L', + nextDay: '[morgen um] LT [Uhr]', + nextWeek: 'dddd [um] LT [Uhr]', + lastDay: '[gestern um] LT [Uhr]', + lastWeek: '[letzten] dddd [um] LT [Uhr]', + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: 'ein paar Sekunden', + ss: '%d Sekunden', + m: processRelativeTime, + mm: '%d Minuten', + h: processRelativeTime, + hh: '%d Stunden', + d: processRelativeTime, + dd: processRelativeTime, + w: processRelativeTime, + ww: '%d Wochen', + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return de; + +}))); diff --git a/node_modules/moment/locale/dv.js b/node_modules/moment/locale/dv.js new file mode 100644 index 0000000..e6cc8f6 --- /dev/null +++ b/node_modules/moment/locale/dv.js @@ -0,0 +1,101 @@ +//! moment.js locale configuration +//! locale : Maldivian [dv] +//! author : Jawish Hameed : https://github.com/jawish + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var months = [ + 'ޖެނުއަރީ', + 'ފެބްރުއަރީ', + 'މާރިޗު', + 'އޭޕްރީލު', + 'މޭ', + 'ޖޫން', + 'ޖުލައި', + 'އޯގަސްޓު', + 'ސެޕްޓެމްބަރު', + 'އޮކްޓޯބަރު', + 'ނޮވެމްބަރު', + 'ޑިސެމްބަރު', + ], + weekdays = [ + 'އާދިއްތަ', + 'ހޯމަ', + 'އަންގާރަ', + 'ބުދަ', + 'ބުރާސްފަތި', + 'ހުކުރު', + 'ހޮނިހިރު', + ]; + + var dv = moment.defineLocale('dv', { + months: months, + monthsShort: months, + weekdays: weekdays, + weekdaysShort: weekdays, + weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/M/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /މކ|މފ/, + isPM: function (input) { + return 'މފ' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'މކ'; + } else { + return 'މފ'; + } + }, + calendar: { + sameDay: '[މިއަދު] LT', + nextDay: '[މާދަމާ] LT', + nextWeek: 'dddd LT', + lastDay: '[އިއްޔެ] LT', + lastWeek: '[ފާއިތުވި] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ތެރޭގައި %s', + past: 'ކުރިން %s', + s: 'ސިކުންތުކޮޅެއް', + ss: 'd% ސިކުންތު', + m: 'މިނިޓެއް', + mm: 'މިނިޓު %d', + h: 'ގަޑިއިރެއް', + hh: 'ގަޑިއިރު %d', + d: 'ދުވަހެއް', + dd: 'ދުވަސް %d', + M: 'މަހެއް', + MM: 'މަސް %d', + y: 'އަހަރެއް', + yy: 'އަހަރު %d', + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + dow: 7, // Sunday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + return dv; + +}))); diff --git a/node_modules/moment/locale/el.js b/node_modules/moment/locale/el.js new file mode 100644 index 0000000..a147859 --- /dev/null +++ b/node_modules/moment/locale/el.js @@ -0,0 +1,117 @@ +//! moment.js locale configuration +//! locale : Greek [el] +//! author : Aggelos Karalias : https://github.com/mehiel + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function isFunction(input) { + return ( + (typeof Function !== 'undefined' && input instanceof Function) || + Object.prototype.toString.call(input) === '[object Function]' + ); + } + + var el = moment.defineLocale('el', { + monthsNominativeEl: + 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split( + '_' + ), + monthsGenitiveEl: + 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split( + '_' + ), + months: function (momentToFormat, format) { + if (!momentToFormat) { + return this._monthsNominativeEl; + } else if ( + typeof format === 'string' && + /D/.test(format.substring(0, format.indexOf('MMMM'))) + ) { + // if there is a day number before 'MMMM' + return this._monthsGenitiveEl[momentToFormat.month()]; + } else { + return this._monthsNominativeEl[momentToFormat.month()]; + } + }, + monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'), + weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split( + '_' + ), + weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'), + weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'), + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'μμ' : 'ΜΜ'; + } else { + return isLower ? 'πμ' : 'ΠΜ'; + } + }, + isPM: function (input) { + return (input + '').toLowerCase()[0] === 'μ'; + }, + meridiemParse: /[ΠΜ]\.?Μ?\.?/i, + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendarEl: { + sameDay: '[Σήμερα {}] LT', + nextDay: '[Αύριο {}] LT', + nextWeek: 'dddd [{}] LT', + lastDay: '[Χθες {}] LT', + lastWeek: function () { + switch (this.day()) { + case 6: + return '[το προηγούμενο] dddd [{}] LT'; + default: + return '[την προηγούμενη] dddd [{}] LT'; + } + }, + sameElse: 'L', + }, + calendar: function (key, mom) { + var output = this._calendarEl[key], + hours = mom && mom.hours(); + if (isFunction(output)) { + output = output.apply(mom); + } + return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις'); + }, + relativeTime: { + future: 'σε %s', + past: '%s πριν', + s: 'λίγα δευτερόλεπτα', + ss: '%d δευτερόλεπτα', + m: 'ένα λεπτό', + mm: '%d λεπτά', + h: 'μία ώρα', + hh: '%d ώρες', + d: 'μία μέρα', + dd: '%d μέρες', + M: 'ένας μήνας', + MM: '%d μήνες', + y: 'ένας χρόνος', + yy: '%d χρόνια', + }, + dayOfMonthOrdinalParse: /\d{1,2}η/, + ordinal: '%dη', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4st is the first week of the year. + }, + }); + + return el; + +}))); diff --git a/node_modules/moment/locale/en-au.js b/node_modules/moment/locale/en-au.js new file mode 100644 index 0000000..869f51d --- /dev/null +++ b/node_modules/moment/locale/en-au.js @@ -0,0 +1,79 @@ +//! moment.js locale configuration +//! locale : English (Australia) [en-au] +//! author : Jared Morse : https://github.com/jarcoal + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var enAu = moment.defineLocale('en-au', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return enAu; + +}))); diff --git a/node_modules/moment/locale/en-ca.js b/node_modules/moment/locale/en-ca.js new file mode 100644 index 0000000..29a3390 --- /dev/null +++ b/node_modules/moment/locale/en-ca.js @@ -0,0 +1,75 @@ +//! moment.js locale configuration +//! locale : English (Canada) [en-ca] +//! author : Jonathan Abourbih : https://github.com/jonbca + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var enCa = moment.defineLocale('en-ca', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'YYYY-MM-DD', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY h:mm A', + LLLL: 'dddd, MMMM D, YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + }); + + return enCa; + +}))); diff --git a/node_modules/moment/locale/en-gb.js b/node_modules/moment/locale/en-gb.js new file mode 100644 index 0000000..a159749 --- /dev/null +++ b/node_modules/moment/locale/en-gb.js @@ -0,0 +1,79 @@ +//! moment.js locale configuration +//! locale : English (United Kingdom) [en-gb] +//! author : Chris Gedrim : https://github.com/chrisgedrim + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var enGb = moment.defineLocale('en-gb', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return enGb; + +}))); diff --git a/node_modules/moment/locale/en-ie.js b/node_modules/moment/locale/en-ie.js new file mode 100644 index 0000000..bbde281 --- /dev/null +++ b/node_modules/moment/locale/en-ie.js @@ -0,0 +1,79 @@ +//! moment.js locale configuration +//! locale : English (Ireland) [en-ie] +//! author : Chris Cartlidge : https://github.com/chriscartlidge + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var enIe = moment.defineLocale('en-ie', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return enIe; + +}))); diff --git a/node_modules/moment/locale/en-il.js b/node_modules/moment/locale/en-il.js new file mode 100644 index 0000000..c9c567a --- /dev/null +++ b/node_modules/moment/locale/en-il.js @@ -0,0 +1,75 @@ +//! moment.js locale configuration +//! locale : English (Israel) [en-il] +//! author : Chris Gedrim : https://github.com/chrisgedrim + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var enIl = moment.defineLocale('en-il', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + }); + + return enIl; + +}))); diff --git a/node_modules/moment/locale/en-in.js b/node_modules/moment/locale/en-in.js new file mode 100644 index 0000000..c10fb4b --- /dev/null +++ b/node_modules/moment/locale/en-in.js @@ -0,0 +1,79 @@ +//! moment.js locale configuration +//! locale : English (India) [en-in] +//! author : Jatin Agrawal : https://github.com/jatinag22 + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var enIn = moment.defineLocale('en-in', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 1st is the first week of the year. + }, + }); + + return enIn; + +}))); diff --git a/node_modules/moment/locale/en-nz.js b/node_modules/moment/locale/en-nz.js new file mode 100644 index 0000000..3a9d88f --- /dev/null +++ b/node_modules/moment/locale/en-nz.js @@ -0,0 +1,79 @@ +//! moment.js locale configuration +//! locale : English (New Zealand) [en-nz] +//! author : Luke McGregor : https://github.com/lukemcgregor + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var enNz = moment.defineLocale('en-nz', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return enNz; + +}))); diff --git a/node_modules/moment/locale/en-sg.js b/node_modules/moment/locale/en-sg.js new file mode 100644 index 0000000..f7805ad --- /dev/null +++ b/node_modules/moment/locale/en-sg.js @@ -0,0 +1,79 @@ +//! moment.js locale configuration +//! locale : English (Singapore) [en-sg] +//! author : Matthew Castrillon-Madrigal : https://github.com/techdimension + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var enSg = moment.defineLocale('en-sg', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return enSg; + +}))); diff --git a/node_modules/moment/locale/eo.js b/node_modules/moment/locale/eo.js new file mode 100644 index 0000000..799dad0 --- /dev/null +++ b/node_modules/moment/locale/eo.js @@ -0,0 +1,79 @@ +//! moment.js locale configuration +//! locale : Esperanto [eo] +//! author : Colin Dean : https://github.com/colindean +//! author : Mia Nordentoft Imperatori : https://github.com/miestasmia +//! comment : miestasmia corrected the translation by colindean +//! comment : Vivakvo corrected the translation by colindean and miestasmia + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var eo = moment.defineLocale('eo', { + months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split( + '_' + ), + monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec'.split('_'), + weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'), + weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'), + weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: '[la] D[-an de] MMMM, YYYY', + LLL: '[la] D[-an de] MMMM, YYYY HH:mm', + LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm', + llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm', + }, + meridiemParse: /[ap]\.t\.m/i, + isPM: function (input) { + return input.charAt(0).toLowerCase() === 'p'; + }, + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'p.t.m.' : 'P.T.M.'; + } else { + return isLower ? 'a.t.m.' : 'A.T.M.'; + } + }, + calendar: { + sameDay: '[Hodiaŭ je] LT', + nextDay: '[Morgaŭ je] LT', + nextWeek: 'dddd[n je] LT', + lastDay: '[Hieraŭ je] LT', + lastWeek: '[pasintan] dddd[n je] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'post %s', + past: 'antaŭ %s', + s: 'kelkaj sekundoj', + ss: '%d sekundoj', + m: 'unu minuto', + mm: '%d minutoj', + h: 'unu horo', + hh: '%d horoj', + d: 'unu tago', //ne 'diurno', ĉar estas uzita por proksimumo + dd: '%d tagoj', + M: 'unu monato', + MM: '%d monatoj', + y: 'unu jaro', + yy: '%d jaroj', + }, + dayOfMonthOrdinalParse: /\d{1,2}a/, + ordinal: '%da', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return eo; + +}))); diff --git a/node_modules/moment/locale/es-do.js b/node_modules/moment/locale/es-do.js new file mode 100644 index 0000000..8a557c3 --- /dev/null +++ b/node_modules/moment/locale/es-do.js @@ -0,0 +1,119 @@ +//! moment.js locale configuration +//! locale : Spanish (Dominican Republic) [es-do] + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var monthsShortDot = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + + var esDo = moment.defineLocale('es-do', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot; + } else if (/-MMM-/.test(format)) { + return monthsShort[m.month()]; + } else { + return monthsShortDot[m.month()]; + } + }, + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY h:mm A', + LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return esDo; + +}))); diff --git a/node_modules/moment/locale/es-mx.js b/node_modules/moment/locale/es-mx.js new file mode 100644 index 0000000..a233e40 --- /dev/null +++ b/node_modules/moment/locale/es-mx.js @@ -0,0 +1,121 @@ +//! moment.js locale configuration +//! locale : Spanish (Mexico) [es-mx] +//! author : JC Franco : https://github.com/jcfranco + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var monthsShortDot = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + + var esMx = moment.defineLocale('es-mx', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot; + } else if (/-MMM-/.test(format)) { + return monthsShort[m.month()]; + } else { + return monthsShortDot[m.month()]; + } + }, + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 0, // Sunday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + invalidDate: 'Fecha inválida', + }); + + return esMx; + +}))); diff --git a/node_modules/moment/locale/es-us.js b/node_modules/moment/locale/es-us.js new file mode 100644 index 0000000..2c52254 --- /dev/null +++ b/node_modules/moment/locale/es-us.js @@ -0,0 +1,121 @@ +//! moment.js locale configuration +//! locale : Spanish (United States) [es-us] +//! author : bustta : https://github.com/bustta +//! author : chrisrodz : https://github.com/chrisrodz + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var monthsShortDot = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + + var esUs = moment.defineLocale('es-us', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot; + } else if (/-MMM-/.test(format)) { + return monthsShort[m.month()]; + } else { + return monthsShortDot[m.month()]; + } + }, + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'MM/DD/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY h:mm A', + LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + return esUs; + +}))); diff --git a/node_modules/moment/locale/es.js b/node_modules/moment/locale/es.js new file mode 100644 index 0000000..7fc4628 --- /dev/null +++ b/node_modules/moment/locale/es.js @@ -0,0 +1,121 @@ +//! moment.js locale configuration +//! locale : Spanish [es] +//! author : Julio Napurí : https://github.com/julionc + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var monthsShortDot = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + + var es = moment.defineLocale('es', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot; + } else if (/-MMM-/.test(format)) { + return monthsShort[m.month()]; + } else { + return monthsShortDot[m.month()]; + } + }, + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + invalidDate: 'Fecha inválida', + }); + + return es; + +}))); diff --git a/node_modules/moment/locale/et.js b/node_modules/moment/locale/et.js new file mode 100644 index 0000000..7c8760d --- /dev/null +++ b/node_modules/moment/locale/et.js @@ -0,0 +1,89 @@ +//! moment.js locale configuration +//! locale : Estonian [et] +//! author : Henry Kehlmann : https://github.com/madhenry +//! improvements : Illimar Tambek : https://github.com/ragulka + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'], + ss: [number + 'sekundi', number + 'sekundit'], + m: ['ühe minuti', 'üks minut'], + mm: [number + ' minuti', number + ' minutit'], + h: ['ühe tunni', 'tund aega', 'üks tund'], + hh: [number + ' tunni', number + ' tundi'], + d: ['ühe päeva', 'üks päev'], + M: ['kuu aja', 'kuu aega', 'üks kuu'], + MM: [number + ' kuu', number + ' kuud'], + y: ['ühe aasta', 'aasta', 'üks aasta'], + yy: [number + ' aasta', number + ' aastat'], + }; + if (withoutSuffix) { + return format[key][2] ? format[key][2] : format[key][1]; + } + return isFuture ? format[key][0] : format[key][1]; + } + + var et = moment.defineLocale('et', { + months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split( + '_' + ), + monthsShort: + 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'), + weekdays: + 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split( + '_' + ), + weekdaysShort: 'P_E_T_K_N_R_L'.split('_'), + weekdaysMin: 'P_E_T_K_N_R_L'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[Täna,] LT', + nextDay: '[Homme,] LT', + nextWeek: '[Järgmine] dddd LT', + lastDay: '[Eile,] LT', + lastWeek: '[Eelmine] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s pärast', + past: '%s tagasi', + s: processRelativeTime, + ss: processRelativeTime, + m: processRelativeTime, + mm: processRelativeTime, + h: processRelativeTime, + hh: processRelativeTime, + d: processRelativeTime, + dd: '%d päeva', + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return et; + +}))); diff --git a/node_modules/moment/locale/eu.js b/node_modules/moment/locale/eu.js new file mode 100644 index 0000000..ca2e547 --- /dev/null +++ b/node_modules/moment/locale/eu.js @@ -0,0 +1,76 @@ +//! moment.js locale configuration +//! locale : Basque [eu] +//! author : Eneko Illarramendi : https://github.com/eillarra + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var eu = moment.defineLocale('eu', { + months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split( + '_' + ), + monthsShort: + 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split( + '_' + ), + weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'), + weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY[ko] MMMM[ren] D[a]', + LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm', + LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm', + l: 'YYYY-M-D', + ll: 'YYYY[ko] MMM D[a]', + lll: 'YYYY[ko] MMM D[a] HH:mm', + llll: 'ddd, YYYY[ko] MMM D[a] HH:mm', + }, + calendar: { + sameDay: '[gaur] LT[etan]', + nextDay: '[bihar] LT[etan]', + nextWeek: 'dddd LT[etan]', + lastDay: '[atzo] LT[etan]', + lastWeek: '[aurreko] dddd LT[etan]', + sameElse: 'L', + }, + relativeTime: { + future: '%s barru', + past: 'duela %s', + s: 'segundo batzuk', + ss: '%d segundo', + m: 'minutu bat', + mm: '%d minutu', + h: 'ordu bat', + hh: '%d ordu', + d: 'egun bat', + dd: '%d egun', + M: 'hilabete bat', + MM: '%d hilabete', + y: 'urte bat', + yy: '%d urte', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return eu; + +}))); diff --git a/node_modules/moment/locale/fa.js b/node_modules/moment/locale/fa.js new file mode 100644 index 0000000..845757b --- /dev/null +++ b/node_modules/moment/locale/fa.js @@ -0,0 +1,124 @@ +//! moment.js locale configuration +//! locale : Persian [fa] +//! author : Ebrahim Byagowi : https://github.com/ebraminio + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '۱', + 2: '۲', + 3: '۳', + 4: '۴', + 5: '۵', + 6: '۶', + 7: '۷', + 8: '۸', + 9: '۹', + 0: '۰', + }, + numberMap = { + '۱': '1', + '۲': '2', + '۳': '3', + '۴': '4', + '۵': '5', + '۶': '6', + '۷': '7', + '۸': '8', + '۹': '9', + '۰': '0', + }; + + var fa = moment.defineLocale('fa', { + months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split( + '_' + ), + monthsShort: + 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split( + '_' + ), + weekdays: + 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split( + '_' + ), + weekdaysShort: + 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split( + '_' + ), + weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + meridiemParse: /قبل از ظهر|بعد از ظهر/, + isPM: function (input) { + return /بعد از ظهر/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'قبل از ظهر'; + } else { + return 'بعد از ظهر'; + } + }, + calendar: { + sameDay: '[امروز ساعت] LT', + nextDay: '[فردا ساعت] LT', + nextWeek: 'dddd [ساعت] LT', + lastDay: '[دیروز ساعت] LT', + lastWeek: 'dddd [پیش] [ساعت] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'در %s', + past: '%s پیش', + s: 'چند ثانیه', + ss: '%d ثانیه', + m: 'یک دقیقه', + mm: '%d دقیقه', + h: 'یک ساعت', + hh: '%d ساعت', + d: 'یک روز', + dd: '%d روز', + M: 'یک ماه', + MM: '%d ماه', + y: 'یک سال', + yy: '%d سال', + }, + preparse: function (string) { + return string + .replace(/[۰-۹]/g, function (match) { + return numberMap[match]; + }) + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + dayOfMonthOrdinalParse: /\d{1,2}م/, + ordinal: '%dم', + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + return fa; + +}))); diff --git a/node_modules/moment/locale/fi.js b/node_modules/moment/locale/fi.js new file mode 100644 index 0000000..07e57cf --- /dev/null +++ b/node_modules/moment/locale/fi.js @@ -0,0 +1,135 @@ +//! moment.js locale configuration +//! locale : Finnish [fi] +//! author : Tarmo Aidantausta : https://github.com/bleadof + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var numbersPast = + 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split( + ' ' + ), + numbersFuture = [ + 'nolla', + 'yhden', + 'kahden', + 'kolmen', + 'neljän', + 'viiden', + 'kuuden', + numbersPast[7], + numbersPast[8], + numbersPast[9], + ]; + function translate(number, withoutSuffix, key, isFuture) { + var result = ''; + switch (key) { + case 's': + return isFuture ? 'muutaman sekunnin' : 'muutama sekunti'; + case 'ss': + result = isFuture ? 'sekunnin' : 'sekuntia'; + break; + case 'm': + return isFuture ? 'minuutin' : 'minuutti'; + case 'mm': + result = isFuture ? 'minuutin' : 'minuuttia'; + break; + case 'h': + return isFuture ? 'tunnin' : 'tunti'; + case 'hh': + result = isFuture ? 'tunnin' : 'tuntia'; + break; + case 'd': + return isFuture ? 'päivän' : 'päivä'; + case 'dd': + result = isFuture ? 'päivän' : 'päivää'; + break; + case 'M': + return isFuture ? 'kuukauden' : 'kuukausi'; + case 'MM': + result = isFuture ? 'kuukauden' : 'kuukautta'; + break; + case 'y': + return isFuture ? 'vuoden' : 'vuosi'; + case 'yy': + result = isFuture ? 'vuoden' : 'vuotta'; + break; + } + result = verbalNumber(number, isFuture) + ' ' + result; + return result; + } + function verbalNumber(number, isFuture) { + return number < 10 + ? isFuture + ? numbersFuture[number] + : numbersPast[number] + : number; + } + + var fi = moment.defineLocale('fi', { + months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split( + '_' + ), + monthsShort: + 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split( + '_' + ), + weekdays: + 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split( + '_' + ), + weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'), + weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD.MM.YYYY', + LL: 'Do MMMM[ta] YYYY', + LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm', + LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm', + l: 'D.M.YYYY', + ll: 'Do MMM YYYY', + lll: 'Do MMM YYYY, [klo] HH.mm', + llll: 'ddd, Do MMM YYYY, [klo] HH.mm', + }, + calendar: { + sameDay: '[tänään] [klo] LT', + nextDay: '[huomenna] [klo] LT', + nextWeek: 'dddd [klo] LT', + lastDay: '[eilen] [klo] LT', + lastWeek: '[viime] dddd[na] [klo] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s päästä', + past: '%s sitten', + s: translate, + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return fi; + +}))); diff --git a/node_modules/moment/locale/fil.js b/node_modules/moment/locale/fil.js new file mode 100644 index 0000000..13103e8 --- /dev/null +++ b/node_modules/moment/locale/fil.js @@ -0,0 +1,69 @@ +//! moment.js locale configuration +//! locale : Filipino [fil] +//! author : Dan Hagman : https://github.com/hagmandan +//! author : Matthew Co : https://github.com/matthewdeeco + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var fil = moment.defineLocale('fil', { + months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split( + '_' + ), + monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), + weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split( + '_' + ), + weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), + weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'MM/D/YYYY', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY HH:mm', + LLLL: 'dddd, MMMM DD, YYYY HH:mm', + }, + calendar: { + sameDay: 'LT [ngayong araw]', + nextDay: '[Bukas ng] LT', + nextWeek: 'LT [sa susunod na] dddd', + lastDay: 'LT [kahapon]', + lastWeek: 'LT [noong nakaraang] dddd', + sameElse: 'L', + }, + relativeTime: { + future: 'sa loob ng %s', + past: '%s ang nakalipas', + s: 'ilang segundo', + ss: '%d segundo', + m: 'isang minuto', + mm: '%d minuto', + h: 'isang oras', + hh: '%d oras', + d: 'isang araw', + dd: '%d araw', + M: 'isang buwan', + MM: '%d buwan', + y: 'isang taon', + yy: '%d taon', + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: function (number) { + return number; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return fil; + +}))); diff --git a/node_modules/moment/locale/fo.js b/node_modules/moment/locale/fo.js new file mode 100644 index 0000000..217fcfb --- /dev/null +++ b/node_modules/moment/locale/fo.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : Faroese [fo] +//! author : Ragnar Johannesen : https://github.com/ragnar123 +//! author : Kristian Sakarisson : https://github.com/sakarisson + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var fo = moment.defineLocale('fo', { + months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), + weekdays: + 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split( + '_' + ), + weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'), + weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D. MMMM, YYYY HH:mm', + }, + calendar: { + sameDay: '[Í dag kl.] LT', + nextDay: '[Í morgin kl.] LT', + nextWeek: 'dddd [kl.] LT', + lastDay: '[Í gjár kl.] LT', + lastWeek: '[síðstu] dddd [kl] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'um %s', + past: '%s síðani', + s: 'fá sekund', + ss: '%d sekundir', + m: 'ein minuttur', + mm: '%d minuttir', + h: 'ein tími', + hh: '%d tímar', + d: 'ein dagur', + dd: '%d dagar', + M: 'ein mánaður', + MM: '%d mánaðir', + y: 'eitt ár', + yy: '%d ár', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return fo; + +}))); diff --git a/node_modules/moment/locale/fr-ca.js b/node_modules/moment/locale/fr-ca.js new file mode 100644 index 0000000..7d48fd7 --- /dev/null +++ b/node_modules/moment/locale/fr-ca.js @@ -0,0 +1,81 @@ +//! moment.js locale configuration +//! locale : French (Canada) [fr-ca] +//! author : Jonathan Abourbih : https://github.com/jonbca + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var frCa = moment.defineLocale('fr-ca', { + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( + '_' + ), + monthsShort: + 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Aujourd’hui à] LT', + nextDay: '[Demain à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[Hier à] LT', + lastWeek: 'dddd [dernier à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + ss: '%d secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, + ordinal: function (number, period) { + switch (period) { + // Words with masculine grammatical gender: mois, trimestre, jour + default: + case 'M': + case 'Q': + case 'D': + case 'DDD': + case 'd': + return number + (number === 1 ? 'er' : 'e'); + + // Words with feminine grammatical gender: semaine + case 'w': + case 'W': + return number + (number === 1 ? 're' : 'e'); + } + }, + }); + + return frCa; + +}))); diff --git a/node_modules/moment/locale/fr-ch.js b/node_modules/moment/locale/fr-ch.js new file mode 100644 index 0000000..c28d81c --- /dev/null +++ b/node_modules/moment/locale/fr-ch.js @@ -0,0 +1,85 @@ +//! moment.js locale configuration +//! locale : French (Switzerland) [fr-ch] +//! author : Gaspard Bucher : https://github.com/gaspard + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var frCh = moment.defineLocale('fr-ch', { + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( + '_' + ), + monthsShort: + 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Aujourd’hui à] LT', + nextDay: '[Demain à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[Hier à] LT', + lastWeek: 'dddd [dernier à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + ss: '%d secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, + ordinal: function (number, period) { + switch (period) { + // Words with masculine grammatical gender: mois, trimestre, jour + default: + case 'M': + case 'Q': + case 'D': + case 'DDD': + case 'd': + return number + (number === 1 ? 'er' : 'e'); + + // Words with feminine grammatical gender: semaine + case 'w': + case 'W': + return number + (number === 1 ? 're' : 'e'); + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return frCh; + +}))); diff --git a/node_modules/moment/locale/fr.js b/node_modules/moment/locale/fr.js new file mode 100644 index 0000000..4e5536b --- /dev/null +++ b/node_modules/moment/locale/fr.js @@ -0,0 +1,119 @@ +//! moment.js locale configuration +//! locale : French [fr] +//! author : John Fischer : https://github.com/jfroffice + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var monthsStrictRegex = + /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, + monthsShortStrictRegex = + /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i, + monthsRegex = + /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, + monthsParse = [ + /^janv/i, + /^févr/i, + /^mars/i, + /^avr/i, + /^mai/i, + /^juin/i, + /^juil/i, + /^août/i, + /^sept/i, + /^oct/i, + /^nov/i, + /^déc/i, + ]; + + var fr = moment.defineLocale('fr', { + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( + '_' + ), + monthsShort: + 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( + '_' + ), + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: monthsStrictRegex, + monthsShortStrictRegex: monthsShortStrictRegex, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Aujourd’hui à] LT', + nextDay: '[Demain à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[Hier à] LT', + lastWeek: 'dddd [dernier à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + ss: '%d secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + w: 'une semaine', + ww: '%d semaines', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(er|)/, + ordinal: function (number, period) { + switch (period) { + // TODO: Return 'e' when day of month > 1. Move this case inside + // block for masculine words below. + // See https://github.com/moment/moment/issues/3375 + case 'D': + return number + (number === 1 ? 'er' : ''); + + // Words with masculine grammatical gender: mois, trimestre, jour + default: + case 'M': + case 'Q': + case 'DDD': + case 'd': + return number + (number === 1 ? 'er' : 'e'); + + // Words with feminine grammatical gender: semaine + case 'w': + case 'W': + return number + (number === 1 ? 're' : 'e'); + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return fr; + +}))); diff --git a/node_modules/moment/locale/fy.js b/node_modules/moment/locale/fy.js new file mode 100644 index 0000000..46cac08 --- /dev/null +++ b/node_modules/moment/locale/fy.js @@ -0,0 +1,86 @@ +//! moment.js locale configuration +//! locale : Frisian [fy] +//! author : Robin van der Vliet : https://github.com/robin0van0der0v + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var monthsShortWithDots = + 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'), + monthsShortWithoutDots = + 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'); + + var fy = moment.defineLocale('fy', { + months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortWithDots; + } else if (/-MMM-/.test(format)) { + return monthsShortWithoutDots[m.month()]; + } else { + return monthsShortWithDots[m.month()]; + } + }, + monthsParseExact: true, + weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split( + '_' + ), + weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'), + weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[hjoed om] LT', + nextDay: '[moarn om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[juster om] LT', + lastWeek: '[ôfrûne] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'oer %s', + past: '%s lyn', + s: 'in pear sekonden', + ss: '%d sekonden', + m: 'ien minút', + mm: '%d minuten', + h: 'ien oere', + hh: '%d oeren', + d: 'ien dei', + dd: '%d dagen', + M: 'ien moanne', + MM: '%d moannen', + y: 'ien jier', + yy: '%d jierren', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return fy; + +}))); diff --git a/node_modules/moment/locale/ga.js b/node_modules/moment/locale/ga.js new file mode 100644 index 0000000..96f988c --- /dev/null +++ b/node_modules/moment/locale/ga.js @@ -0,0 +1,106 @@ +//! moment.js locale configuration +//! locale : Irish or Irish Gaelic [ga] +//! author : André Silva : https://github.com/askpt + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var months = [ + 'Eanáir', + 'Feabhra', + 'Márta', + 'Aibreán', + 'Bealtaine', + 'Meitheamh', + 'Iúil', + 'Lúnasa', + 'Meán Fómhair', + 'Deireadh Fómhair', + 'Samhain', + 'Nollaig', + ], + monthsShort = [ + 'Ean', + 'Feabh', + 'Márt', + 'Aib', + 'Beal', + 'Meith', + 'Iúil', + 'Lún', + 'M.F.', + 'D.F.', + 'Samh', + 'Noll', + ], + weekdays = [ + 'Dé Domhnaigh', + 'Dé Luain', + 'Dé Máirt', + 'Dé Céadaoin', + 'Déardaoin', + 'Dé hAoine', + 'Dé Sathairn', + ], + weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'], + weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa']; + + var ga = moment.defineLocale('ga', { + months: months, + monthsShort: monthsShort, + monthsParseExact: true, + weekdays: weekdays, + weekdaysShort: weekdaysShort, + weekdaysMin: weekdaysMin, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Inniu ag] LT', + nextDay: '[Amárach ag] LT', + nextWeek: 'dddd [ag] LT', + lastDay: '[Inné ag] LT', + lastWeek: 'dddd [seo caite] [ag] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'i %s', + past: '%s ó shin', + s: 'cúpla soicind', + ss: '%d soicind', + m: 'nóiméad', + mm: '%d nóiméad', + h: 'uair an chloig', + hh: '%d uair an chloig', + d: 'lá', + dd: '%d lá', + M: 'mí', + MM: '%d míonna', + y: 'bliain', + yy: '%d bliain', + }, + dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/, + ordinal: function (number) { + var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return ga; + +}))); diff --git a/node_modules/moment/locale/gd.js b/node_modules/moment/locale/gd.js new file mode 100644 index 0000000..b053838 --- /dev/null +++ b/node_modules/moment/locale/gd.js @@ -0,0 +1,106 @@ +//! moment.js locale configuration +//! locale : Scottish Gaelic [gd] +//! author : Jon Ashdown : https://github.com/jonashdown + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var months = [ + 'Am Faoilleach', + 'An Gearran', + 'Am Màrt', + 'An Giblean', + 'An Cèitean', + 'An t-Ògmhios', + 'An t-Iuchar', + 'An Lùnastal', + 'An t-Sultain', + 'An Dàmhair', + 'An t-Samhain', + 'An Dùbhlachd', + ], + monthsShort = [ + 'Faoi', + 'Gear', + 'Màrt', + 'Gibl', + 'Cèit', + 'Ògmh', + 'Iuch', + 'Lùn', + 'Sult', + 'Dàmh', + 'Samh', + 'Dùbh', + ], + weekdays = [ + 'Didòmhnaich', + 'Diluain', + 'Dimàirt', + 'Diciadain', + 'Diardaoin', + 'Dihaoine', + 'Disathairne', + ], + weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'], + weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa']; + + var gd = moment.defineLocale('gd', { + months: months, + monthsShort: monthsShort, + monthsParseExact: true, + weekdays: weekdays, + weekdaysShort: weekdaysShort, + weekdaysMin: weekdaysMin, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[An-diugh aig] LT', + nextDay: '[A-màireach aig] LT', + nextWeek: 'dddd [aig] LT', + lastDay: '[An-dè aig] LT', + lastWeek: 'dddd [seo chaidh] [aig] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ann an %s', + past: 'bho chionn %s', + s: 'beagan diogan', + ss: '%d diogan', + m: 'mionaid', + mm: '%d mionaidean', + h: 'uair', + hh: '%d uairean', + d: 'latha', + dd: '%d latha', + M: 'mìos', + MM: '%d mìosan', + y: 'bliadhna', + yy: '%d bliadhna', + }, + dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/, + ordinal: function (number) { + var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return gd; + +}))); diff --git a/node_modules/moment/locale/gl.js b/node_modules/moment/locale/gl.js new file mode 100644 index 0000000..16dcb5a --- /dev/null +++ b/node_modules/moment/locale/gl.js @@ -0,0 +1,86 @@ +//! moment.js locale configuration +//! locale : Galician [gl] +//! author : Juan G. Hurtado : https://github.com/juanghurtado + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var gl = moment.defineLocale('gl', { + months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split( + '_' + ), + monthsShort: + 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', + }, + calendar: { + sameDay: function () { + return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT'; + }, + nextDay: function () { + return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT'; + }, + nextWeek: function () { + return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT'; + }, + lastDay: function () { + return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT'; + }, + lastWeek: function () { + return ( + '[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: function (str) { + if (str.indexOf('un') === 0) { + return 'n' + str; + } + return 'en ' + str; + }, + past: 'hai %s', + s: 'uns segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'unha hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + M: 'un mes', + MM: '%d meses', + y: 'un ano', + yy: '%d anos', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return gl; + +}))); diff --git a/node_modules/moment/locale/gom-deva.js b/node_modules/moment/locale/gom-deva.js new file mode 100644 index 0000000..ae93d0d --- /dev/null +++ b/node_modules/moment/locale/gom-deva.js @@ -0,0 +1,137 @@ +//! moment.js locale configuration +//! locale : Konkani Devanagari script [gom-deva] +//! author : The Discoverer : https://github.com/WikiDiscoverer + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + s: ['थोडया सॅकंडांनी', 'थोडे सॅकंड'], + ss: [number + ' सॅकंडांनी', number + ' सॅकंड'], + m: ['एका मिणटान', 'एक मिनूट'], + mm: [number + ' मिणटांनी', number + ' मिणटां'], + h: ['एका वरान', 'एक वर'], + hh: [number + ' वरांनी', number + ' वरां'], + d: ['एका दिसान', 'एक दीस'], + dd: [number + ' दिसांनी', number + ' दीस'], + M: ['एका म्हयन्यान', 'एक म्हयनो'], + MM: [number + ' म्हयन्यानी', number + ' म्हयने'], + y: ['एका वर्सान', 'एक वर्स'], + yy: [number + ' वर्सांनी', number + ' वर्सां'], + }; + return isFuture ? format[key][0] : format[key][1]; + } + + var gomDeva = moment.defineLocale('gom-deva', { + months: { + standalone: + 'जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split( + '_' + ), + format: 'जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या'.split( + '_' + ), + isFormat: /MMMM(\s)+D[oD]?/, + }, + monthsShort: + 'जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार'.split('_'), + weekdaysShort: 'आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.'.split('_'), + weekdaysMin: 'आ_सो_मं_बु_ब्रे_सु_शे'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'A h:mm [वाजतां]', + LTS: 'A h:mm:ss [वाजतां]', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY A h:mm [वाजतां]', + LLLL: 'dddd, MMMM Do, YYYY, A h:mm [वाजतां]', + llll: 'ddd, D MMM YYYY, A h:mm [वाजतां]', + }, + calendar: { + sameDay: '[आयज] LT', + nextDay: '[फाल्यां] LT', + nextWeek: '[फुडलो] dddd[,] LT', + lastDay: '[काल] LT', + lastWeek: '[फाटलो] dddd[,] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s', + past: '%s आदीं', + s: processRelativeTime, + ss: processRelativeTime, + m: processRelativeTime, + mm: processRelativeTime, + h: processRelativeTime, + hh: processRelativeTime, + d: processRelativeTime, + dd: processRelativeTime, + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}(वेर)/, + ordinal: function (number, period) { + switch (period) { + // the ordinal 'वेर' only applies to day of the month + case 'D': + return number + 'वेर'; + default: + case 'M': + case 'Q': + case 'DDD': + case 'd': + case 'w': + case 'W': + return number; + } + }, + week: { + dow: 0, // Sunday is the first day of the week + doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4) + }, + meridiemParse: /राती|सकाळीं|दनपारां|सांजे/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'राती') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'सकाळीं') { + return hour; + } else if (meridiem === 'दनपारां') { + return hour > 12 ? hour : hour + 12; + } else if (meridiem === 'सांजे') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'राती'; + } else if (hour < 12) { + return 'सकाळीं'; + } else if (hour < 16) { + return 'दनपारां'; + } else if (hour < 20) { + return 'सांजे'; + } else { + return 'राती'; + } + }, + }); + + return gomDeva; + +}))); diff --git a/node_modules/moment/locale/gom-latn.js b/node_modules/moment/locale/gom-latn.js new file mode 100644 index 0000000..93cbe15 --- /dev/null +++ b/node_modules/moment/locale/gom-latn.js @@ -0,0 +1,135 @@ +//! moment.js locale configuration +//! locale : Konkani Latin script [gom-latn] +//! author : The Discoverer : https://github.com/WikiDiscoverer + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + s: ['thoddea sekondamni', 'thodde sekond'], + ss: [number + ' sekondamni', number + ' sekond'], + m: ['eka mintan', 'ek minut'], + mm: [number + ' mintamni', number + ' mintam'], + h: ['eka voran', 'ek vor'], + hh: [number + ' voramni', number + ' voram'], + d: ['eka disan', 'ek dis'], + dd: [number + ' disamni', number + ' dis'], + M: ['eka mhoinean', 'ek mhoino'], + MM: [number + ' mhoineamni', number + ' mhoine'], + y: ['eka vorsan', 'ek voros'], + yy: [number + ' vorsamni', number + ' vorsam'], + }; + return isFuture ? format[key][0] : format[key][1]; + } + + var gomLatn = moment.defineLocale('gom-latn', { + months: { + standalone: + 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split( + '_' + ), + format: 'Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea'.split( + '_' + ), + isFormat: /MMMM(\s)+D[oD]?/, + }, + monthsShort: + 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'), + monthsParseExact: true, + weekdays: "Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split('_'), + weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'), + weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'A h:mm [vazta]', + LTS: 'A h:mm:ss [vazta]', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY A h:mm [vazta]', + LLLL: 'dddd, MMMM Do, YYYY, A h:mm [vazta]', + llll: 'ddd, D MMM YYYY, A h:mm [vazta]', + }, + calendar: { + sameDay: '[Aiz] LT', + nextDay: '[Faleam] LT', + nextWeek: '[Fuddlo] dddd[,] LT', + lastDay: '[Kal] LT', + lastWeek: '[Fattlo] dddd[,] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s', + past: '%s adim', + s: processRelativeTime, + ss: processRelativeTime, + m: processRelativeTime, + mm: processRelativeTime, + h: processRelativeTime, + hh: processRelativeTime, + d: processRelativeTime, + dd: processRelativeTime, + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}(er)/, + ordinal: function (number, period) { + switch (period) { + // the ordinal 'er' only applies to day of the month + case 'D': + return number + 'er'; + default: + case 'M': + case 'Q': + case 'DDD': + case 'd': + case 'w': + case 'W': + return number; + } + }, + week: { + dow: 0, // Sunday is the first day of the week + doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4) + }, + meridiemParse: /rati|sokallim|donparam|sanje/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'rati') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'sokallim') { + return hour; + } else if (meridiem === 'donparam') { + return hour > 12 ? hour : hour + 12; + } else if (meridiem === 'sanje') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'rati'; + } else if (hour < 12) { + return 'sokallim'; + } else if (hour < 16) { + return 'donparam'; + } else if (hour < 20) { + return 'sanje'; + } else { + return 'rati'; + } + }, + }); + + return gomLatn; + +}))); diff --git a/node_modules/moment/locale/gu.js b/node_modules/moment/locale/gu.js new file mode 100644 index 0000000..6583f77 --- /dev/null +++ b/node_modules/moment/locale/gu.js @@ -0,0 +1,133 @@ +//! moment.js locale configuration +//! locale : Gujarati [gu] +//! author : Kaushik Thanki : https://github.com/Kaushik1987 + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '૧', + 2: '૨', + 3: '૩', + 4: '૪', + 5: '૫', + 6: '૬', + 7: '૭', + 8: '૮', + 9: '૯', + 0: '૦', + }, + numberMap = { + '૧': '1', + '૨': '2', + '૩': '3', + '૪': '4', + '૫': '5', + '૬': '6', + '૭': '7', + '૮': '8', + '૯': '9', + '૦': '0', + }; + + var gu = moment.defineLocale('gu', { + months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split( + '_' + ), + monthsShort: + 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split( + '_' + ), + weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'), + weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'), + longDateFormat: { + LT: 'A h:mm વાગ્યે', + LTS: 'A h:mm:ss વાગ્યે', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm વાગ્યે', + LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે', + }, + calendar: { + sameDay: '[આજ] LT', + nextDay: '[કાલે] LT', + nextWeek: 'dddd, LT', + lastDay: '[ગઇકાલે] LT', + lastWeek: '[પાછલા] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s મા', + past: '%s પહેલા', + s: 'અમુક પળો', + ss: '%d સેકંડ', + m: 'એક મિનિટ', + mm: '%d મિનિટ', + h: 'એક કલાક', + hh: '%d કલાક', + d: 'એક દિવસ', + dd: '%d દિવસ', + M: 'એક મહિનો', + MM: '%d મહિનો', + y: 'એક વર્ષ', + yy: '%d વર્ષ', + }, + preparse: function (string) { + return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // Gujarati notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati. + meridiemParse: /રાત|બપોર|સવાર|સાંજ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'રાત') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'સવાર') { + return hour; + } else if (meridiem === 'બપોર') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'સાંજ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'રાત'; + } else if (hour < 10) { + return 'સવાર'; + } else if (hour < 17) { + return 'બપોર'; + } else if (hour < 20) { + return 'સાંજ'; + } else { + return 'રાત'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + return gu; + +}))); diff --git a/node_modules/moment/locale/he.js b/node_modules/moment/locale/he.js new file mode 100644 index 0000000..e19a0f9 --- /dev/null +++ b/node_modules/moment/locale/he.js @@ -0,0 +1,105 @@ +//! moment.js locale configuration +//! locale : Hebrew [he] +//! author : Tomer Cohen : https://github.com/tomer +//! author : Moshe Simantov : https://github.com/DevelopmentIL +//! author : Tal Ater : https://github.com/TalAter + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var he = moment.defineLocale('he', { + months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split( + '_' + ), + monthsShort: + 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'), + weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'), + weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'), + weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [ב]MMMM YYYY', + LLL: 'D [ב]MMMM YYYY HH:mm', + LLLL: 'dddd, D [ב]MMMM YYYY HH:mm', + l: 'D/M/YYYY', + ll: 'D MMM YYYY', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd, D MMM YYYY HH:mm', + }, + calendar: { + sameDay: '[היום ב־]LT', + nextDay: '[מחר ב־]LT', + nextWeek: 'dddd [בשעה] LT', + lastDay: '[אתמול ב־]LT', + lastWeek: '[ביום] dddd [האחרון בשעה] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'בעוד %s', + past: 'לפני %s', + s: 'מספר שניות', + ss: '%d שניות', + m: 'דקה', + mm: '%d דקות', + h: 'שעה', + hh: function (number) { + if (number === 2) { + return 'שעתיים'; + } + return number + ' שעות'; + }, + d: 'יום', + dd: function (number) { + if (number === 2) { + return 'יומיים'; + } + return number + ' ימים'; + }, + M: 'חודש', + MM: function (number) { + if (number === 2) { + return 'חודשיים'; + } + return number + ' חודשים'; + }, + y: 'שנה', + yy: function (number) { + if (number === 2) { + return 'שנתיים'; + } else if (number % 10 === 0 && number !== 10) { + return number + ' שנה'; + } + return number + ' שנים'; + }, + }, + meridiemParse: + /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i, + isPM: function (input) { + return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 5) { + return 'לפנות בוקר'; + } else if (hour < 10) { + return 'בבוקר'; + } else if (hour < 12) { + return isLower ? 'לפנה"צ' : 'לפני הצהריים'; + } else if (hour < 18) { + return isLower ? 'אחה"צ' : 'אחרי הצהריים'; + } else { + return 'בערב'; + } + }, + }); + + return he; + +}))); diff --git a/node_modules/moment/locale/hi.js b/node_modules/moment/locale/hi.js new file mode 100644 index 0000000..56515bd --- /dev/null +++ b/node_modules/moment/locale/hi.js @@ -0,0 +1,179 @@ +//! moment.js locale configuration +//! locale : Hindi [hi] +//! author : Mayank Singhal : https://github.com/mayanksinghal + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '१', + 2: '२', + 3: '३', + 4: '४', + 5: '५', + 6: '६', + 7: '७', + 8: '८', + 9: '९', + 0: '०', + }, + numberMap = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0', + }, + monthsParse = [ + /^जन/i, + /^फ़र|फर/i, + /^मार्च/i, + /^अप्रै/i, + /^मई/i, + /^जून/i, + /^जुल/i, + /^अग/i, + /^सितं|सित/i, + /^अक्टू/i, + /^नव|नवं/i, + /^दिसं|दिस/i, + ], + shortMonthsParse = [ + /^जन/i, + /^फ़र/i, + /^मार्च/i, + /^अप्रै/i, + /^मई/i, + /^जून/i, + /^जुल/i, + /^अग/i, + /^सित/i, + /^अक्टू/i, + /^नव/i, + /^दिस/i, + ]; + + var hi = moment.defineLocale('hi', { + months: { + format: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split( + '_' + ), + standalone: + 'जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर'.split( + '_' + ), + }, + monthsShort: + 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'), + weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'), + weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'), + longDateFormat: { + LT: 'A h:mm बजे', + LTS: 'A h:mm:ss बजे', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm बजे', + LLLL: 'dddd, D MMMM YYYY, A h:mm बजे', + }, + + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: shortMonthsParse, + + monthsRegex: + /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i, + + monthsShortRegex: + /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i, + + monthsStrictRegex: + /^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i, + + monthsShortStrictRegex: + /^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i, + + calendar: { + sameDay: '[आज] LT', + nextDay: '[कल] LT', + nextWeek: 'dddd, LT', + lastDay: '[कल] LT', + lastWeek: '[पिछले] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s में', + past: '%s पहले', + s: 'कुछ ही क्षण', + ss: '%d सेकंड', + m: 'एक मिनट', + mm: '%d मिनट', + h: 'एक घंटा', + hh: '%d घंटे', + d: 'एक दिन', + dd: '%d दिन', + M: 'एक महीने', + MM: '%d महीने', + y: 'एक वर्ष', + yy: '%d वर्ष', + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // Hindi notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi. + meridiemParse: /रात|सुबह|दोपहर|शाम/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'रात') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'सुबह') { + return hour; + } else if (meridiem === 'दोपहर') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'शाम') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'रात'; + } else if (hour < 10) { + return 'सुबह'; + } else if (hour < 17) { + return 'दोपहर'; + } else if (hour < 20) { + return 'शाम'; + } else { + return 'रात'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + return hi; + +}))); diff --git a/node_modules/moment/locale/hr.js b/node_modules/moment/locale/hr.js new file mode 100644 index 0000000..f41cce0 --- /dev/null +++ b/node_modules/moment/locale/hr.js @@ -0,0 +1,167 @@ +//! moment.js locale configuration +//! locale : Croatian [hr] +//! author : Bojan Marković : https://github.com/bmarkovic + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function translate(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'ss': + if (number === 1) { + result += 'sekunda'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sekunde'; + } else { + result += 'sekundi'; + } + return result; + case 'm': + return withoutSuffix ? 'jedna minuta' : 'jedne minute'; + case 'mm': + if (number === 1) { + result += 'minuta'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'minute'; + } else { + result += 'minuta'; + } + return result; + case 'h': + return withoutSuffix ? 'jedan sat' : 'jednog sata'; + case 'hh': + if (number === 1) { + result += 'sat'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sata'; + } else { + result += 'sati'; + } + return result; + case 'dd': + if (number === 1) { + result += 'dan'; + } else { + result += 'dana'; + } + return result; + case 'MM': + if (number === 1) { + result += 'mjesec'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'mjeseca'; + } else { + result += 'mjeseci'; + } + return result; + case 'yy': + if (number === 1) { + result += 'godina'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'godine'; + } else { + result += 'godina'; + } + return result; + } + } + + var hr = moment.defineLocale('hr', { + months: { + format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split( + '_' + ), + standalone: + 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split( + '_' + ), + }, + monthsShort: + 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( + '_' + ), + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'Do MMMM YYYY', + LLL: 'Do MMMM YYYY H:mm', + LLLL: 'dddd, Do MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sutra u] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay: '[jučer u] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[prošlu] [nedjelju] [u] LT'; + case 3: + return '[prošlu] [srijedu] [u] LT'; + case 6: + return '[prošle] [subote] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prošli] dddd [u] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'prije %s', + s: 'par sekundi', + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: 'dan', + dd: translate, + M: 'mjesec', + MM: translate, + y: 'godinu', + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return hr; + +}))); diff --git a/node_modules/moment/locale/hu.js b/node_modules/moment/locale/hu.js new file mode 100644 index 0000000..162959d --- /dev/null +++ b/node_modules/moment/locale/hu.js @@ -0,0 +1,129 @@ +//! moment.js locale configuration +//! locale : Hungarian [hu] +//! author : Adam Brunner : https://github.com/adambrunner +//! author : Peter Viszt : https://github.com/passatgt + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var weekEndings = + 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' '); + function translate(number, withoutSuffix, key, isFuture) { + var num = number; + switch (key) { + case 's': + return isFuture || withoutSuffix + ? 'néhány másodperc' + : 'néhány másodperce'; + case 'ss': + return num + (isFuture || withoutSuffix) + ? ' másodperc' + : ' másodperce'; + case 'm': + return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce'); + case 'mm': + return num + (isFuture || withoutSuffix ? ' perc' : ' perce'); + case 'h': + return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája'); + case 'hh': + return num + (isFuture || withoutSuffix ? ' óra' : ' órája'); + case 'd': + return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja'); + case 'dd': + return num + (isFuture || withoutSuffix ? ' nap' : ' napja'); + case 'M': + return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); + case 'MM': + return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); + case 'y': + return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve'); + case 'yy': + return num + (isFuture || withoutSuffix ? ' év' : ' éve'); + } + return ''; + } + function week(isFuture) { + return ( + (isFuture ? '' : '[múlt] ') + + '[' + + weekEndings[this.day()] + + '] LT[-kor]' + ); + } + + var hu = moment.defineLocale('hu', { + months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split( + '_' + ), + monthsShort: + 'jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'), + weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'), + weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'YYYY.MM.DD.', + LL: 'YYYY. MMMM D.', + LLL: 'YYYY. MMMM D. H:mm', + LLLL: 'YYYY. MMMM D., dddd H:mm', + }, + meridiemParse: /de|du/i, + isPM: function (input) { + return input.charAt(1).toLowerCase() === 'u'; + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower === true ? 'de' : 'DE'; + } else { + return isLower === true ? 'du' : 'DU'; + } + }, + calendar: { + sameDay: '[ma] LT[-kor]', + nextDay: '[holnap] LT[-kor]', + nextWeek: function () { + return week.call(this, true); + }, + lastDay: '[tegnap] LT[-kor]', + lastWeek: function () { + return week.call(this, false); + }, + sameElse: 'L', + }, + relativeTime: { + future: '%s múlva', + past: '%s', + s: translate, + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return hu; + +}))); diff --git a/node_modules/moment/locale/hy-am.js b/node_modules/moment/locale/hy-am.js new file mode 100644 index 0000000..9c65b1e --- /dev/null +++ b/node_modules/moment/locale/hy-am.js @@ -0,0 +1,105 @@ +//! moment.js locale configuration +//! locale : Armenian [hy-am] +//! author : Armendarabyan : https://github.com/armendarabyan + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var hyAm = moment.defineLocale('hy-am', { + months: { + format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split( + '_' + ), + standalone: + 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split( + '_' + ), + }, + monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'), + weekdays: + 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split( + '_' + ), + weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), + weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY թ.', + LLL: 'D MMMM YYYY թ., HH:mm', + LLLL: 'dddd, D MMMM YYYY թ., HH:mm', + }, + calendar: { + sameDay: '[այսօր] LT', + nextDay: '[վաղը] LT', + lastDay: '[երեկ] LT', + nextWeek: function () { + return 'dddd [օրը ժամը] LT'; + }, + lastWeek: function () { + return '[անցած] dddd [օրը ժամը] LT'; + }, + sameElse: 'L', + }, + relativeTime: { + future: '%s հետո', + past: '%s առաջ', + s: 'մի քանի վայրկյան', + ss: '%d վայրկյան', + m: 'րոպե', + mm: '%d րոպե', + h: 'ժամ', + hh: '%d ժամ', + d: 'օր', + dd: '%d օր', + M: 'ամիս', + MM: '%d ամիս', + y: 'տարի', + yy: '%d տարի', + }, + meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/, + isPM: function (input) { + return /^(ցերեկվա|երեկոյան)$/.test(input); + }, + meridiem: function (hour) { + if (hour < 4) { + return 'գիշերվա'; + } else if (hour < 12) { + return 'առավոտվա'; + } else if (hour < 17) { + return 'ցերեկվա'; + } else { + return 'երեկոյան'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/, + ordinal: function (number, period) { + switch (period) { + case 'DDD': + case 'w': + case 'W': + case 'DDDo': + if (number === 1) { + return number + '-ին'; + } + return number + '-րդ'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return hyAm; + +}))); diff --git a/node_modules/moment/locale/id.js b/node_modules/moment/locale/id.js new file mode 100644 index 0000000..9f8ff0a --- /dev/null +++ b/node_modules/moment/locale/id.js @@ -0,0 +1,87 @@ +//! moment.js locale configuration +//! locale : Indonesian [id] +//! author : Mohammad Satrio Utomo : https://github.com/tyok +//! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var id = moment.defineLocale('id', { + months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'), + weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'), + weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'), + weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /pagi|siang|sore|malam/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'siang') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'sore' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'siang'; + } else if (hours < 19) { + return 'sore'; + } else { + return 'malam'; + } + }, + calendar: { + sameDay: '[Hari ini pukul] LT', + nextDay: '[Besok pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kemarin pukul] LT', + lastWeek: 'dddd [lalu pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lalu', + s: 'beberapa detik', + ss: '%d detik', + m: 'semenit', + mm: '%d menit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun', + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + return id; + +}))); diff --git a/node_modules/moment/locale/is.js b/node_modules/moment/locale/is.js new file mode 100644 index 0000000..0252006 --- /dev/null +++ b/node_modules/moment/locale/is.js @@ -0,0 +1,151 @@ +//! moment.js locale configuration +//! locale : Icelandic [is] +//! author : Hinrik Örn Sigurðsson : https://github.com/hinrik + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function plural(n) { + if (n % 100 === 11) { + return true; + } else if (n % 10 === 1) { + return false; + } + return true; + } + function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': + return withoutSuffix || isFuture + ? 'nokkrar sekúndur' + : 'nokkrum sekúndum'; + case 'ss': + if (plural(number)) { + return ( + result + + (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum') + ); + } + return result + 'sekúnda'; + case 'm': + return withoutSuffix ? 'mínúta' : 'mínútu'; + case 'mm': + if (plural(number)) { + return ( + result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum') + ); + } else if (withoutSuffix) { + return result + 'mínúta'; + } + return result + 'mínútu'; + case 'hh': + if (plural(number)) { + return ( + result + + (withoutSuffix || isFuture + ? 'klukkustundir' + : 'klukkustundum') + ); + } + return result + 'klukkustund'; + case 'd': + if (withoutSuffix) { + return 'dagur'; + } + return isFuture ? 'dag' : 'degi'; + case 'dd': + if (plural(number)) { + if (withoutSuffix) { + return result + 'dagar'; + } + return result + (isFuture ? 'daga' : 'dögum'); + } else if (withoutSuffix) { + return result + 'dagur'; + } + return result + (isFuture ? 'dag' : 'degi'); + case 'M': + if (withoutSuffix) { + return 'mánuður'; + } + return isFuture ? 'mánuð' : 'mánuði'; + case 'MM': + if (plural(number)) { + if (withoutSuffix) { + return result + 'mánuðir'; + } + return result + (isFuture ? 'mánuði' : 'mánuðum'); + } else if (withoutSuffix) { + return result + 'mánuður'; + } + return result + (isFuture ? 'mánuð' : 'mánuði'); + case 'y': + return withoutSuffix || isFuture ? 'ár' : 'ári'; + case 'yy': + if (plural(number)) { + return result + (withoutSuffix || isFuture ? 'ár' : 'árum'); + } + return result + (withoutSuffix || isFuture ? 'ár' : 'ári'); + } + } + + var is = moment.defineLocale('is', { + months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'), + weekdays: + 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split( + '_' + ), + weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'), + weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] H:mm', + LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm', + }, + calendar: { + sameDay: '[í dag kl.] LT', + nextDay: '[á morgun kl.] LT', + nextWeek: 'dddd [kl.] LT', + lastDay: '[í gær kl.] LT', + lastWeek: '[síðasta] dddd [kl.] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'eftir %s', + past: 'fyrir %s síðan', + s: translate, + ss: translate, + m: translate, + mm: translate, + h: 'klukkustund', + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return is; + +}))); diff --git a/node_modules/moment/locale/it-ch.js b/node_modules/moment/locale/it-ch.js new file mode 100644 index 0000000..8042827 --- /dev/null +++ b/node_modules/moment/locale/it-ch.js @@ -0,0 +1,75 @@ +//! moment.js locale configuration +//! locale : Italian (Switzerland) [it-ch] +//! author : xfh : https://github.com/xfh + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var itCh = moment.defineLocale('it-ch', { + months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split( + '_' + ), + monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), + weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split( + '_' + ), + weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'), + weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Oggi alle] LT', + nextDay: '[Domani alle] LT', + nextWeek: 'dddd [alle] LT', + lastDay: '[Ieri alle] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[la scorsa] dddd [alle] LT'; + default: + return '[lo scorso] dddd [alle] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: function (s) { + return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s; + }, + past: '%s fa', + s: 'alcuni secondi', + ss: '%d secondi', + m: 'un minuto', + mm: '%d minuti', + h: "un'ora", + hh: '%d ore', + d: 'un giorno', + dd: '%d giorni', + M: 'un mese', + MM: '%d mesi', + y: 'un anno', + yy: '%d anni', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return itCh; + +}))); diff --git a/node_modules/moment/locale/it.js b/node_modules/moment/locale/it.js new file mode 100644 index 0000000..910e005 --- /dev/null +++ b/node_modules/moment/locale/it.js @@ -0,0 +1,117 @@ +//! moment.js locale configuration +//! locale : Italian [it] +//! author : Lorenzo : https://github.com/aliem +//! author: Mattia Larentis: https://github.com/nostalgiaz +//! author: Marco : https://github.com/Manfre98 + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var it = moment.defineLocale('it', { + months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split( + '_' + ), + monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), + weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split( + '_' + ), + weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'), + weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: function () { + return ( + '[Oggi a' + + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + + ']LT' + ); + }, + nextDay: function () { + return ( + '[Domani a' + + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + + ']LT' + ); + }, + nextWeek: function () { + return ( + 'dddd [a' + + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + + ']LT' + ); + }, + lastDay: function () { + return ( + '[Ieri a' + + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + + ']LT' + ); + }, + lastWeek: function () { + switch (this.day()) { + case 0: + return ( + '[La scorsa] dddd [a' + + (this.hours() > 1 + ? 'lle ' + : this.hours() === 0 + ? ' ' + : "ll'") + + ']LT' + ); + default: + return ( + '[Lo scorso] dddd [a' + + (this.hours() > 1 + ? 'lle ' + : this.hours() === 0 + ? ' ' + : "ll'") + + ']LT' + ); + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'tra %s', + past: '%s fa', + s: 'alcuni secondi', + ss: '%d secondi', + m: 'un minuto', + mm: '%d minuti', + h: "un'ora", + hh: '%d ore', + d: 'un giorno', + dd: '%d giorni', + w: 'una settimana', + ww: '%d settimane', + M: 'un mese', + MM: '%d mesi', + y: 'un anno', + yy: '%d anni', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return it; + +}))); diff --git a/node_modules/moment/locale/ja.js b/node_modules/moment/locale/ja.js new file mode 100644 index 0000000..88d8454 --- /dev/null +++ b/node_modules/moment/locale/ja.js @@ -0,0 +1,159 @@ +//! moment.js locale configuration +//! locale : Japanese [ja] +//! author : LI Long : https://github.com/baryon + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var ja = moment.defineLocale('ja', { + eras: [ + { + since: '2019-05-01', + offset: 1, + name: '令和', + narrow: '㋿', + abbr: 'R', + }, + { + since: '1989-01-08', + until: '2019-04-30', + offset: 1, + name: '平成', + narrow: '㍻', + abbr: 'H', + }, + { + since: '1926-12-25', + until: '1989-01-07', + offset: 1, + name: '昭和', + narrow: '㍼', + abbr: 'S', + }, + { + since: '1912-07-30', + until: '1926-12-24', + offset: 1, + name: '大正', + narrow: '㍽', + abbr: 'T', + }, + { + since: '1873-01-01', + until: '1912-07-29', + offset: 6, + name: '明治', + narrow: '㍾', + abbr: 'M', + }, + { + since: '0001-01-01', + until: '1873-12-31', + offset: 1, + name: '西暦', + narrow: 'AD', + abbr: 'AD', + }, + { + since: '0000-12-31', + until: -Infinity, + offset: 1, + name: '紀元前', + narrow: 'BC', + abbr: 'BC', + }, + ], + eraYearOrdinalRegex: /(元|\d+)年/, + eraYearOrdinalParse: function (input, match) { + return match[1] === '元' ? 1 : parseInt(match[1] || input, 10); + }, + months: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'), + weekdaysShort: '日_月_火_水_木_金_土'.split('_'), + weekdaysMin: '日_月_火_水_木_金_土'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日 dddd HH:mm', + l: 'YYYY/MM/DD', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日(ddd) HH:mm', + }, + meridiemParse: /午前|午後/i, + isPM: function (input) { + return input === '午後'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return '午前'; + } else { + return '午後'; + } + }, + calendar: { + sameDay: '[今日] LT', + nextDay: '[明日] LT', + nextWeek: function (now) { + if (now.week() !== this.week()) { + return '[来週]dddd LT'; + } else { + return 'dddd LT'; + } + }, + lastDay: '[昨日] LT', + lastWeek: function (now) { + if (this.week() !== now.week()) { + return '[先週]dddd LT'; + } else { + return 'dddd LT'; + } + }, + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}日/, + ordinal: function (number, period) { + switch (period) { + case 'y': + return number === 1 ? '元年' : number + '年'; + case 'd': + case 'D': + case 'DDD': + return number + '日'; + default: + return number; + } + }, + relativeTime: { + future: '%s後', + past: '%s前', + s: '数秒', + ss: '%d秒', + m: '1分', + mm: '%d分', + h: '1時間', + hh: '%d時間', + d: '1日', + dd: '%d日', + M: '1ヶ月', + MM: '%dヶ月', + y: '1年', + yy: '%d年', + }, + }); + + return ja; + +}))); diff --git a/node_modules/moment/locale/jv.js b/node_modules/moment/locale/jv.js new file mode 100644 index 0000000..ab6655f --- /dev/null +++ b/node_modules/moment/locale/jv.js @@ -0,0 +1,87 @@ +//! moment.js locale configuration +//! locale : Javanese [jv] +//! author : Rony Lantip : https://github.com/lantip +//! reference: http://jv.wikipedia.org/wiki/Basa_Jawa + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var jv = moment.defineLocale('jv', { + months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'), + weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'), + weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'), + weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /enjing|siyang|sonten|ndalu/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'enjing') { + return hour; + } else if (meridiem === 'siyang') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'sonten' || meridiem === 'ndalu') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'enjing'; + } else if (hours < 15) { + return 'siyang'; + } else if (hours < 19) { + return 'sonten'; + } else { + return 'ndalu'; + } + }, + calendar: { + sameDay: '[Dinten puniko pukul] LT', + nextDay: '[Mbenjang pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kala wingi pukul] LT', + lastWeek: 'dddd [kepengker pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'wonten ing %s', + past: '%s ingkang kepengker', + s: 'sawetawis detik', + ss: '%d detik', + m: 'setunggal menit', + mm: '%d menit', + h: 'setunggal jam', + hh: '%d jam', + d: 'sedinten', + dd: '%d dinten', + M: 'sewulan', + MM: '%d wulan', + y: 'setaun', + yy: '%d taun', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return jv; + +}))); diff --git a/node_modules/moment/locale/ka.js b/node_modules/moment/locale/ka.js new file mode 100644 index 0000000..6357669 --- /dev/null +++ b/node_modules/moment/locale/ka.js @@ -0,0 +1,103 @@ +//! moment.js locale configuration +//! locale : Georgian [ka] +//! author : Irakli Janiashvili : https://github.com/IrakliJani + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var ka = moment.defineLocale('ka', { + months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split( + '_' + ), + monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'), + weekdays: { + standalone: + 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split( + '_' + ), + format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split( + '_' + ), + isFormat: /(წინა|შემდეგ)/, + }, + weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'), + weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[დღეს] LT[-ზე]', + nextDay: '[ხვალ] LT[-ზე]', + lastDay: '[გუშინ] LT[-ზე]', + nextWeek: '[შემდეგ] dddd LT[-ზე]', + lastWeek: '[წინა] dddd LT-ზე', + sameElse: 'L', + }, + relativeTime: { + future: function (s) { + return s.replace( + /(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/, + function ($0, $1, $2) { + return $2 === 'ი' ? $1 + 'ში' : $1 + $2 + 'ში'; + } + ); + }, + past: function (s) { + if (/(წამი|წუთი|საათი|დღე|თვე)/.test(s)) { + return s.replace(/(ი|ე)$/, 'ის წინ'); + } + if (/წელი/.test(s)) { + return s.replace(/წელი$/, 'წლის წინ'); + } + return s; + }, + s: 'რამდენიმე წამი', + ss: '%d წამი', + m: 'წუთი', + mm: '%d წუთი', + h: 'საათი', + hh: '%d საათი', + d: 'დღე', + dd: '%d დღე', + M: 'თვე', + MM: '%d თვე', + y: 'წელი', + yy: '%d წელი', + }, + dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/, + ordinal: function (number) { + if (number === 0) { + return number; + } + if (number === 1) { + return number + '-ლი'; + } + if ( + number < 20 || + (number <= 100 && number % 20 === 0) || + number % 100 === 0 + ) { + return 'მე-' + number; + } + return number + '-ე'; + }, + week: { + dow: 1, + doy: 7, + }, + }); + + return ka; + +}))); diff --git a/node_modules/moment/locale/kk.js b/node_modules/moment/locale/kk.js new file mode 100644 index 0000000..38f2e8c --- /dev/null +++ b/node_modules/moment/locale/kk.js @@ -0,0 +1,93 @@ +//! moment.js locale configuration +//! locale : Kazakh [kk] +//! authors : Nurlan Rakhimzhanov : https://github.com/nurlan + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var suffixes = { + 0: '-ші', + 1: '-ші', + 2: '-ші', + 3: '-ші', + 4: '-ші', + 5: '-ші', + 6: '-шы', + 7: '-ші', + 8: '-ші', + 9: '-шы', + 10: '-шы', + 20: '-шы', + 30: '-шы', + 40: '-шы', + 50: '-ші', + 60: '-шы', + 70: '-ші', + 80: '-ші', + 90: '-шы', + 100: '-ші', + }; + + var kk = moment.defineLocale('kk', { + months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split( + '_' + ), + monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'), + weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split( + '_' + ), + weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'), + weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Бүгін сағат] LT', + nextDay: '[Ертең сағат] LT', + nextWeek: 'dddd [сағат] LT', + lastDay: '[Кеше сағат] LT', + lastWeek: '[Өткен аптаның] dddd [сағат] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ішінде', + past: '%s бұрын', + s: 'бірнеше секунд', + ss: '%d секунд', + m: 'бір минут', + mm: '%d минут', + h: 'бір сағат', + hh: '%d сағат', + d: 'бір күн', + dd: '%d күн', + M: 'бір ай', + MM: '%d ай', + y: 'бір жыл', + yy: '%d жыл', + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/, + ordinal: function (number) { + var a = number % 10, + b = number >= 100 ? 100 : null; + return number + (suffixes[number] || suffixes[a] || suffixes[b]); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return kk; + +}))); diff --git a/node_modules/moment/locale/km.js b/node_modules/moment/locale/km.js new file mode 100644 index 0000000..5306436 --- /dev/null +++ b/node_modules/moment/locale/km.js @@ -0,0 +1,114 @@ +//! moment.js locale configuration +//! locale : Cambodian [km] +//! author : Kruy Vanna : https://github.com/kruyvanna + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '១', + 2: '២', + 3: '៣', + 4: '៤', + 5: '៥', + 6: '៦', + 7: '៧', + 8: '៨', + 9: '៩', + 0: '០', + }, + numberMap = { + '១': '1', + '២': '2', + '៣': '3', + '៤': '4', + '៥': '5', + '៦': '6', + '៧': '7', + '៨': '8', + '៩': '9', + '០': '0', + }; + + var km = moment.defineLocale('km', { + months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split( + '_' + ), + monthsShort: + 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split( + '_' + ), + weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), + weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'), + weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + meridiemParse: /ព្រឹក|ល្ងាច/, + isPM: function (input) { + return input === 'ល្ងាច'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ព្រឹក'; + } else { + return 'ល្ងាច'; + } + }, + calendar: { + sameDay: '[ថ្ងៃនេះ ម៉ោង] LT', + nextDay: '[ស្អែក ម៉ោង] LT', + nextWeek: 'dddd [ម៉ោង] LT', + lastDay: '[ម្សិលមិញ ម៉ោង] LT', + lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%sទៀត', + past: '%sមុន', + s: 'ប៉ុន្មានវិនាទី', + ss: '%d វិនាទី', + m: 'មួយនាទី', + mm: '%d នាទី', + h: 'មួយម៉ោង', + hh: '%d ម៉ោង', + d: 'មួយថ្ងៃ', + dd: '%d ថ្ងៃ', + M: 'មួយខែ', + MM: '%d ខែ', + y: 'មួយឆ្នាំ', + yy: '%d ឆ្នាំ', + }, + dayOfMonthOrdinalParse: /ទី\d{1,2}/, + ordinal: 'ទី%d', + preparse: function (string) { + return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return km; + +}))); diff --git a/node_modules/moment/locale/kn.js b/node_modules/moment/locale/kn.js new file mode 100644 index 0000000..5fe70b0 --- /dev/null +++ b/node_modules/moment/locale/kn.js @@ -0,0 +1,135 @@ +//! moment.js locale configuration +//! locale : Kannada [kn] +//! author : Rajeev Naik : https://github.com/rajeevnaikte + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '೧', + 2: '೨', + 3: '೩', + 4: '೪', + 5: '೫', + 6: '೬', + 7: '೭', + 8: '೮', + 9: '೯', + 0: '೦', + }, + numberMap = { + '೧': '1', + '೨': '2', + '೩': '3', + '೪': '4', + '೫': '5', + '೬': '6', + '೭': '7', + '೮': '8', + '೯': '9', + '೦': '0', + }; + + var kn = moment.defineLocale('kn', { + months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split( + '_' + ), + monthsShort: + 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split( + '_' + ), + weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'), + weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm', + }, + calendar: { + sameDay: '[ಇಂದು] LT', + nextDay: '[ನಾಳೆ] LT', + nextWeek: 'dddd, LT', + lastDay: '[ನಿನ್ನೆ] LT', + lastWeek: '[ಕೊನೆಯ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ನಂತರ', + past: '%s ಹಿಂದೆ', + s: 'ಕೆಲವು ಕ್ಷಣಗಳು', + ss: '%d ಸೆಕೆಂಡುಗಳು', + m: 'ಒಂದು ನಿಮಿಷ', + mm: '%d ನಿಮಿಷ', + h: 'ಒಂದು ಗಂಟೆ', + hh: '%d ಗಂಟೆ', + d: 'ಒಂದು ದಿನ', + dd: '%d ದಿನ', + M: 'ಒಂದು ತಿಂಗಳು', + MM: '%d ತಿಂಗಳು', + y: 'ಒಂದು ವರ್ಷ', + yy: '%d ವರ್ಷ', + }, + preparse: function (string) { + return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ರಾತ್ರಿ') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') { + return hour; + } else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'ಸಂಜೆ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ರಾತ್ರಿ'; + } else if (hour < 10) { + return 'ಬೆಳಿಗ್ಗೆ'; + } else if (hour < 17) { + return 'ಮಧ್ಯಾಹ್ನ'; + } else if (hour < 20) { + return 'ಸಂಜೆ'; + } else { + return 'ರಾತ್ರಿ'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}(ನೇ)/, + ordinal: function (number) { + return number + 'ನೇ'; + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + return kn; + +}))); diff --git a/node_modules/moment/locale/ko.js b/node_modules/moment/locale/ko.js new file mode 100644 index 0000000..c81c13e --- /dev/null +++ b/node_modules/moment/locale/ko.js @@ -0,0 +1,86 @@ +//! moment.js locale configuration +//! locale : Korean [ko] +//! author : Kyungwook, Park : https://github.com/kyungw00k +//! author : Jeeeyul Lee + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var ko = moment.defineLocale('ko', { + months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), + monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split( + '_' + ), + weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'), + weekdaysShort: '일_월_화_수_목_금_토'.split('_'), + weekdaysMin: '일_월_화_수_목_금_토'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'YYYY.MM.DD.', + LL: 'YYYY년 MMMM D일', + LLL: 'YYYY년 MMMM D일 A h:mm', + LLLL: 'YYYY년 MMMM D일 dddd A h:mm', + l: 'YYYY.MM.DD.', + ll: 'YYYY년 MMMM D일', + lll: 'YYYY년 MMMM D일 A h:mm', + llll: 'YYYY년 MMMM D일 dddd A h:mm', + }, + calendar: { + sameDay: '오늘 LT', + nextDay: '내일 LT', + nextWeek: 'dddd LT', + lastDay: '어제 LT', + lastWeek: '지난주 dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s 후', + past: '%s 전', + s: '몇 초', + ss: '%d초', + m: '1분', + mm: '%d분', + h: '한 시간', + hh: '%d시간', + d: '하루', + dd: '%d일', + M: '한 달', + MM: '%d달', + y: '일 년', + yy: '%d년', + }, + dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '일'; + case 'M': + return number + '월'; + case 'w': + case 'W': + return number + '주'; + default: + return number; + } + }, + meridiemParse: /오전|오후/, + isPM: function (token) { + return token === '오후'; + }, + meridiem: function (hour, minute, isUpper) { + return hour < 12 ? '오전' : '오후'; + }, + }); + + return ko; + +}))); diff --git a/node_modules/moment/locale/ku-kmr.js b/node_modules/moment/locale/ku-kmr.js new file mode 100644 index 0000000..8ba23ed --- /dev/null +++ b/node_modules/moment/locale/ku-kmr.js @@ -0,0 +1,125 @@ +//! moment.js locale configuration +//! locale : Northern Kurdish [ku-kmr] +//! authors : Mazlum Özdogan : https://github.com/mergehez + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function processRelativeTime(num, withoutSuffix, key, isFuture) { + var format = { + s: ['çend sanîye', 'çend sanîyeyan'], + ss: [num + ' sanîye', num + ' sanîyeyan'], + m: ['deqîqeyek', 'deqîqeyekê'], + mm: [num + ' deqîqe', num + ' deqîqeyan'], + h: ['saetek', 'saetekê'], + hh: [num + ' saet', num + ' saetan'], + d: ['rojek', 'rojekê'], + dd: [num + ' roj', num + ' rojan'], + w: ['hefteyek', 'hefteyekê'], + ww: [num + ' hefte', num + ' hefteyan'], + M: ['mehek', 'mehekê'], + MM: [num + ' meh', num + ' mehan'], + y: ['salek', 'salekê'], + yy: [num + ' sal', num + ' salan'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + // function obliqueNumSuffix(num) { + // if(num.includes(':')) + // num = parseInt(num.split(':')[0]); + // else + // num = parseInt(num); + // return num == 0 || num % 10 == 1 ? 'ê' + // : (num > 10 && num % 10 == 0 ? 'î' : 'an'); + // } + function ezafeNumSuffix(num) { + num = '' + num; + var l = num.substring(num.length - 1), + ll = num.length > 1 ? num.substring(num.length - 2) : ''; + if ( + !(ll == 12 || ll == 13) && + (l == '2' || l == '3' || ll == '50' || l == '70' || l == '80') + ) + return 'yê'; + return 'ê'; + } + + var kuKmr = moment.defineLocale('ku-kmr', { + // According to the spelling rules defined by the work group of Weqfa Mezopotamyayê (Mesopotamia Foundation) + // this should be: 'Kanûna Paşîn_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Çirîya Pêşîn_Çirîya Paşîn_Kanûna Pêşîn' + // But the names below are more well known and handy + months: 'Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar'.split( + '_' + ), + monthsShort: 'Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber'.split('_'), + monthsParseExact: true, + weekdays: 'Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî'.split('_'), + weekdaysShort: 'Yek_Du_Sê_Çar_Pên_În_Şem'.split('_'), + weekdaysMin: 'Ye_Du_Sê_Ça_Pê_În_Şe'.split('_'), + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'bn' : 'BN'; + } else { + return isLower ? 'pn' : 'PN'; + } + }, + meridiemParse: /bn|BN|pn|PN/, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'Do MMMM[a] YYYY[an]', + LLL: 'Do MMMM[a] YYYY[an] HH:mm', + LLLL: 'dddd, Do MMMM[a] YYYY[an] HH:mm', + ll: 'Do MMM[.] YYYY[an]', + lll: 'Do MMM[.] YYYY[an] HH:mm', + llll: 'ddd[.], Do MMM[.] YYYY[an] HH:mm', + }, + calendar: { + sameDay: '[Îro di saet] LT [de]', + nextDay: '[Sibê di saet] LT [de]', + nextWeek: 'dddd [di saet] LT [de]', + lastDay: '[Duh di saet] LT [de]', + lastWeek: 'dddd[a borî di saet] LT [de]', + sameElse: 'L', + }, + relativeTime: { + future: 'di %s de', + past: 'berî %s', + s: processRelativeTime, + ss: processRelativeTime, + m: processRelativeTime, + mm: processRelativeTime, + h: processRelativeTime, + hh: processRelativeTime, + d: processRelativeTime, + dd: processRelativeTime, + w: processRelativeTime, + ww: processRelativeTime, + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}(?:yê|ê|\.)/, + ordinal: function (num, period) { + var p = period.toLowerCase(); + if (p.includes('w') || p.includes('m')) return num + '.'; + + return num + ezafeNumSuffix(num); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return kuKmr; + +}))); diff --git a/node_modules/moment/locale/ku.js b/node_modules/moment/locale/ku.js new file mode 100644 index 0000000..71c56a1 --- /dev/null +++ b/node_modules/moment/locale/ku.js @@ -0,0 +1,129 @@ +//! moment.js locale configuration +//! locale : Kurdish [ku] +//! author : Shahram Mebashar : https://github.com/ShahramMebashar + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }, + months = [ + 'کانونی دووەم', + 'شوبات', + 'ئازار', + 'نیسان', + 'ئایار', + 'حوزەیران', + 'تەمموز', + 'ئاب', + 'ئەیلوول', + 'تشرینی یەكەم', + 'تشرینی دووەم', + 'كانونی یەکەم', + ]; + + var ku = moment.defineLocale('ku', { + months: months, + monthsShort: months, + weekdays: + 'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split( + '_' + ), + weekdaysShort: + 'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split('_'), + weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + meridiemParse: /ئێواره‌|به‌یانی/, + isPM: function (input) { + return /ئێواره‌/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'به‌یانی'; + } else { + return 'ئێواره‌'; + } + }, + calendar: { + sameDay: '[ئه‌مرۆ كاتژمێر] LT', + nextDay: '[به‌یانی كاتژمێر] LT', + nextWeek: 'dddd [كاتژمێر] LT', + lastDay: '[دوێنێ كاتژمێر] LT', + lastWeek: 'dddd [كاتژمێر] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'له‌ %s', + past: '%s', + s: 'چه‌ند چركه‌یه‌ك', + ss: 'چركه‌ %d', + m: 'یه‌ك خوله‌ك', + mm: '%d خوله‌ك', + h: 'یه‌ك كاتژمێر', + hh: '%d كاتژمێر', + d: 'یه‌ك ڕۆژ', + dd: '%d ڕۆژ', + M: 'یه‌ك مانگ', + MM: '%d مانگ', + y: 'یه‌ك ساڵ', + yy: '%d ساڵ', + }, + preparse: function (string) { + return string + .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }) + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + return ku; + +}))); diff --git a/node_modules/moment/locale/ky.js b/node_modules/moment/locale/ky.js new file mode 100644 index 0000000..6dce606 --- /dev/null +++ b/node_modules/moment/locale/ky.js @@ -0,0 +1,95 @@ +//! moment.js locale configuration +//! locale : Kyrgyz [ky] +//! author : Chyngyz Arystan uulu : https://github.com/chyngyz + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var suffixes = { + 0: '-чү', + 1: '-чи', + 2: '-чи', + 3: '-чү', + 4: '-чү', + 5: '-чи', + 6: '-чы', + 7: '-чи', + 8: '-чи', + 9: '-чу', + 10: '-чу', + 20: '-чы', + 30: '-чу', + 40: '-чы', + 50: '-чү', + 60: '-чы', + 70: '-чи', + 80: '-чи', + 90: '-чу', + 100: '-чү', + }; + + var ky = moment.defineLocale('ky', { + months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split( + '_' + ), + monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split( + '_' + ), + weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split( + '_' + ), + weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'), + weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Бүгүн саат] LT', + nextDay: '[Эртең саат] LT', + nextWeek: 'dddd [саат] LT', + lastDay: '[Кечээ саат] LT', + lastWeek: '[Өткөн аптанын] dddd [күнү] [саат] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ичинде', + past: '%s мурун', + s: 'бирнече секунд', + ss: '%d секунд', + m: 'бир мүнөт', + mm: '%d мүнөт', + h: 'бир саат', + hh: '%d саат', + d: 'бир күн', + dd: '%d күн', + M: 'бир ай', + MM: '%d ай', + y: 'бир жыл', + yy: '%d жыл', + }, + dayOfMonthOrdinalParse: /\d{1,2}-(чи|чы|чү|чу)/, + ordinal: function (number) { + var a = number % 10, + b = number >= 100 ? 100 : null; + return number + (suffixes[number] || suffixes[a] || suffixes[b]); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return ky; + +}))); diff --git a/node_modules/moment/locale/lb.js b/node_modules/moment/locale/lb.js new file mode 100644 index 0000000..ffcb758 --- /dev/null +++ b/node_modules/moment/locale/lb.js @@ -0,0 +1,148 @@ +//! moment.js locale configuration +//! locale : Luxembourgish [lb] +//! author : mweimerskirch : https://github.com/mweimerskirch +//! author : David Raison : https://github.com/kwisatz + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + m: ['eng Minutt', 'enger Minutt'], + h: ['eng Stonn', 'enger Stonn'], + d: ['een Dag', 'engem Dag'], + M: ['ee Mount', 'engem Mount'], + y: ['ee Joer', 'engem Joer'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + function processFutureTime(string) { + var number = string.substr(0, string.indexOf(' ')); + if (eifelerRegelAppliesToNumber(number)) { + return 'a ' + string; + } + return 'an ' + string; + } + function processPastTime(string) { + var number = string.substr(0, string.indexOf(' ')); + if (eifelerRegelAppliesToNumber(number)) { + return 'viru ' + string; + } + return 'virun ' + string; + } + /** + * Returns true if the word before the given number loses the '-n' ending. + * e.g. 'an 10 Deeg' but 'a 5 Deeg' + * + * @param number {integer} + * @returns {boolean} + */ + function eifelerRegelAppliesToNumber(number) { + number = parseInt(number, 10); + if (isNaN(number)) { + return false; + } + if (number < 0) { + // Negative Number --> always true + return true; + } else if (number < 10) { + // Only 1 digit + if (4 <= number && number <= 7) { + return true; + } + return false; + } else if (number < 100) { + // 2 digits + var lastDigit = number % 10, + firstDigit = number / 10; + if (lastDigit === 0) { + return eifelerRegelAppliesToNumber(firstDigit); + } + return eifelerRegelAppliesToNumber(lastDigit); + } else if (number < 10000) { + // 3 or 4 digits --> recursively check first digit + while (number >= 10) { + number = number / 10; + } + return eifelerRegelAppliesToNumber(number); + } else { + // Anything larger than 4 digits: recursively check first n-3 digits + number = number / 1000; + return eifelerRegelAppliesToNumber(number); + } + } + + var lb = moment.defineLocale('lb', { + months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_' + ), + monthsShort: + 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split( + '_' + ), + weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm [Auer]', + LTS: 'H:mm:ss [Auer]', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm [Auer]', + LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]', + }, + calendar: { + sameDay: '[Haut um] LT', + sameElse: 'L', + nextDay: '[Muer um] LT', + nextWeek: 'dddd [um] LT', + lastDay: '[Gëschter um] LT', + lastWeek: function () { + // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule + switch (this.day()) { + case 2: + case 4: + return '[Leschten] dddd [um] LT'; + default: + return '[Leschte] dddd [um] LT'; + } + }, + }, + relativeTime: { + future: processFutureTime, + past: processPastTime, + s: 'e puer Sekonnen', + ss: '%d Sekonnen', + m: processRelativeTime, + mm: '%d Minutten', + h: processRelativeTime, + hh: '%d Stonnen', + d: processRelativeTime, + dd: '%d Deeg', + M: processRelativeTime, + MM: '%d Méint', + y: processRelativeTime, + yy: '%d Joer', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return lb; + +}))); diff --git a/node_modules/moment/locale/lo.js b/node_modules/moment/locale/lo.js new file mode 100644 index 0000000..18fc666 --- /dev/null +++ b/node_modules/moment/locale/lo.js @@ -0,0 +1,77 @@ +//! moment.js locale configuration +//! locale : Lao [lo] +//! author : Ryan Hart : https://github.com/ryanhart2 + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var lo = moment.defineLocale('lo', { + months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split( + '_' + ), + monthsShort: + 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split( + '_' + ), + weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), + weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), + weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'ວັນdddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/, + isPM: function (input) { + return input === 'ຕອນແລງ'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ຕອນເຊົ້າ'; + } else { + return 'ຕອນແລງ'; + } + }, + calendar: { + sameDay: '[ມື້ນີ້ເວລາ] LT', + nextDay: '[ມື້ອື່ນເວລາ] LT', + nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT', + lastDay: '[ມື້ວານນີ້ເວລາ] LT', + lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ອີກ %s', + past: '%sຜ່ານມາ', + s: 'ບໍ່ເທົ່າໃດວິນາທີ', + ss: '%d ວິນາທີ', + m: '1 ນາທີ', + mm: '%d ນາທີ', + h: '1 ຊົ່ວໂມງ', + hh: '%d ຊົ່ວໂມງ', + d: '1 ມື້', + dd: '%d ມື້', + M: '1 ເດືອນ', + MM: '%d ເດືອນ', + y: '1 ປີ', + yy: '%d ປີ', + }, + dayOfMonthOrdinalParse: /(ທີ່)\d{1,2}/, + ordinal: function (number) { + return 'ທີ່' + number; + }, + }); + + return lo; + +}))); diff --git a/node_modules/moment/locale/lt.js b/node_modules/moment/locale/lt.js new file mode 100644 index 0000000..4140cf8 --- /dev/null +++ b/node_modules/moment/locale/lt.js @@ -0,0 +1,136 @@ +//! moment.js locale configuration +//! locale : Lithuanian [lt] +//! author : Mindaugas Mozūras : https://github.com/mmozuras + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var units = { + ss: 'sekundė_sekundžių_sekundes', + m: 'minutė_minutės_minutę', + mm: 'minutės_minučių_minutes', + h: 'valanda_valandos_valandą', + hh: 'valandos_valandų_valandas', + d: 'diena_dienos_dieną', + dd: 'dienos_dienų_dienas', + M: 'mėnuo_mėnesio_mėnesį', + MM: 'mėnesiai_mėnesių_mėnesius', + y: 'metai_metų_metus', + yy: 'metai_metų_metus', + }; + function translateSeconds(number, withoutSuffix, key, isFuture) { + if (withoutSuffix) { + return 'kelios sekundės'; + } else { + return isFuture ? 'kelių sekundžių' : 'kelias sekundes'; + } + } + function translateSingular(number, withoutSuffix, key, isFuture) { + return withoutSuffix + ? forms(key)[0] + : isFuture + ? forms(key)[1] + : forms(key)[2]; + } + function special(number) { + return number % 10 === 0 || (number > 10 && number < 20); + } + function forms(key) { + return units[key].split('_'); + } + function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + if (number === 1) { + return ( + result + translateSingular(number, withoutSuffix, key[0], isFuture) + ); + } else if (withoutSuffix) { + return result + (special(number) ? forms(key)[1] : forms(key)[0]); + } else { + if (isFuture) { + return result + forms(key)[1]; + } else { + return result + (special(number) ? forms(key)[1] : forms(key)[2]); + } + } + } + var lt = moment.defineLocale('lt', { + months: { + format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split( + '_' + ), + standalone: + 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split( + '_' + ), + isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/, + }, + monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'), + weekdays: { + format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split( + '_' + ), + standalone: + 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split( + '_' + ), + isFormat: /dddd HH:mm/, + }, + weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'), + weekdaysMin: 'S_P_A_T_K_Pn_Š'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY [m.] MMMM D [d.]', + LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]', + l: 'YYYY-MM-DD', + ll: 'YYYY [m.] MMMM D [d.]', + lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]', + }, + calendar: { + sameDay: '[Šiandien] LT', + nextDay: '[Rytoj] LT', + nextWeek: 'dddd LT', + lastDay: '[Vakar] LT', + lastWeek: '[Praėjusį] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: 'po %s', + past: 'prieš %s', + s: translateSeconds, + ss: translate, + m: translateSingular, + mm: translate, + h: translateSingular, + hh: translate, + d: translateSingular, + dd: translate, + M: translateSingular, + MM: translate, + y: translateSingular, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}-oji/, + ordinal: function (number) { + return number + '-oji'; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return lt; + +}))); diff --git a/node_modules/moment/locale/lv.js b/node_modules/moment/locale/lv.js new file mode 100644 index 0000000..109fdfe --- /dev/null +++ b/node_modules/moment/locale/lv.js @@ -0,0 +1,105 @@ +//! moment.js locale configuration +//! locale : Latvian [lv] +//! author : Kristaps Karlsons : https://github.com/skakri +//! author : Jānis Elmeris : https://github.com/JanisE + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var units = { + ss: 'sekundes_sekundēm_sekunde_sekundes'.split('_'), + m: 'minūtes_minūtēm_minūte_minūtes'.split('_'), + mm: 'minūtes_minūtēm_minūte_minūtes'.split('_'), + h: 'stundas_stundām_stunda_stundas'.split('_'), + hh: 'stundas_stundām_stunda_stundas'.split('_'), + d: 'dienas_dienām_diena_dienas'.split('_'), + dd: 'dienas_dienām_diena_dienas'.split('_'), + M: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'), + MM: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'), + y: 'gada_gadiem_gads_gadi'.split('_'), + yy: 'gada_gadiem_gads_gadi'.split('_'), + }; + /** + * @param withoutSuffix boolean true = a length of time; false = before/after a period of time. + */ + function format(forms, number, withoutSuffix) { + if (withoutSuffix) { + // E.g. "21 minūte", "3 minūtes". + return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3]; + } else { + // E.g. "21 minūtes" as in "pēc 21 minūtes". + // E.g. "3 minūtēm" as in "pēc 3 minūtēm". + return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1]; + } + } + function relativeTimeWithPlural(number, withoutSuffix, key) { + return number + ' ' + format(units[key], number, withoutSuffix); + } + function relativeTimeWithSingular(number, withoutSuffix, key) { + return format(units[key], number, withoutSuffix); + } + function relativeSeconds(number, withoutSuffix) { + return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm'; + } + + var lv = moment.defineLocale('lv', { + months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'), + weekdays: + 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split( + '_' + ), + weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'), + weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY.', + LL: 'YYYY. [gada] D. MMMM', + LLL: 'YYYY. [gada] D. MMMM, HH:mm', + LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm', + }, + calendar: { + sameDay: '[Šodien pulksten] LT', + nextDay: '[Rīt pulksten] LT', + nextWeek: 'dddd [pulksten] LT', + lastDay: '[Vakar pulksten] LT', + lastWeek: '[Pagājušā] dddd [pulksten] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'pēc %s', + past: 'pirms %s', + s: relativeSeconds, + ss: relativeTimeWithPlural, + m: relativeTimeWithSingular, + mm: relativeTimeWithPlural, + h: relativeTimeWithSingular, + hh: relativeTimeWithPlural, + d: relativeTimeWithSingular, + dd: relativeTimeWithPlural, + M: relativeTimeWithSingular, + MM: relativeTimeWithPlural, + y: relativeTimeWithSingular, + yy: relativeTimeWithPlural, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return lv; + +}))); diff --git a/node_modules/moment/locale/me.js b/node_modules/moment/locale/me.js new file mode 100644 index 0000000..9b2583d --- /dev/null +++ b/node_modules/moment/locale/me.js @@ -0,0 +1,128 @@ +//! moment.js locale configuration +//! locale : Montenegrin [me] +//! author : Miodrag Nikač : https://github.com/miodragnikac + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var translator = { + words: { + //Different grammatical cases + ss: ['sekund', 'sekunda', 'sekundi'], + m: ['jedan minut', 'jednog minuta'], + mm: ['minut', 'minuta', 'minuta'], + h: ['jedan sat', 'jednog sata'], + hh: ['sat', 'sata', 'sati'], + dd: ['dan', 'dana', 'dana'], + MM: ['mjesec', 'mjeseca', 'mjeseci'], + yy: ['godina', 'godine', 'godina'], + }, + correctGrammaticalCase: function (number, wordKey) { + return number === 1 + ? wordKey[0] + : number >= 2 && number <= 4 + ? wordKey[1] + : wordKey[2]; + }, + translate: function (number, withoutSuffix, key) { + var wordKey = translator.words[key]; + if (key.length === 1) { + return withoutSuffix ? wordKey[0] : wordKey[1]; + } else { + return ( + number + + ' ' + + translator.correctGrammaticalCase(number, wordKey) + ); + } + }, + }; + + var me = moment.defineLocale('me', { + months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split( + '_' + ), + monthsShort: + 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), + monthsParseExact: true, + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( + '_' + ), + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sjutra u] LT', + + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay: '[juče u] LT', + lastWeek: function () { + var lastWeekDays = [ + '[prošle] [nedjelje] [u] LT', + '[prošlog] [ponedjeljka] [u] LT', + '[prošlog] [utorka] [u] LT', + '[prošle] [srijede] [u] LT', + '[prošlog] [četvrtka] [u] LT', + '[prošlog] [petka] [u] LT', + '[prošle] [subote] [u] LT', + ]; + return lastWeekDays[this.day()]; + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'prije %s', + s: 'nekoliko sekundi', + ss: translator.translate, + m: translator.translate, + mm: translator.translate, + h: translator.translate, + hh: translator.translate, + d: 'dan', + dd: translator.translate, + M: 'mjesec', + MM: translator.translate, + y: 'godinu', + yy: translator.translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return me; + +}))); diff --git a/node_modules/moment/locale/mi.js b/node_modules/moment/locale/mi.js new file mode 100644 index 0000000..f95f9cb --- /dev/null +++ b/node_modules/moment/locale/mi.js @@ -0,0 +1,71 @@ +//! moment.js locale configuration +//! locale : Maori [mi] +//! author : John Corrigan : https://github.com/johnideal + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var mi = moment.defineLocale('mi', { + months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split( + '_' + ), + monthsShort: + 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split( + '_' + ), + monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i, + weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'), + weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), + weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [i] HH:mm', + LLLL: 'dddd, D MMMM YYYY [i] HH:mm', + }, + calendar: { + sameDay: '[i teie mahana, i] LT', + nextDay: '[apopo i] LT', + nextWeek: 'dddd [i] LT', + lastDay: '[inanahi i] LT', + lastWeek: 'dddd [whakamutunga i] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'i roto i %s', + past: '%s i mua', + s: 'te hēkona ruarua', + ss: '%d hēkona', + m: 'he meneti', + mm: '%d meneti', + h: 'te haora', + hh: '%d haora', + d: 'he ra', + dd: '%d ra', + M: 'he marama', + MM: '%d marama', + y: 'he tau', + yy: '%d tau', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return mi; + +}))); diff --git a/node_modules/moment/locale/mk.js b/node_modules/moment/locale/mk.js new file mode 100644 index 0000000..c66500d --- /dev/null +++ b/node_modules/moment/locale/mk.js @@ -0,0 +1,97 @@ +//! moment.js locale configuration +//! locale : Macedonian [mk] +//! author : Borislav Mickov : https://github.com/B0k0 +//! author : Sashko Todorov : https://github.com/bkyceh + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var mk = moment.defineLocale('mk', { + months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split( + '_' + ), + monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'), + weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split( + '_' + ), + weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'), + weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[Денес во] LT', + nextDay: '[Утре во] LT', + nextWeek: '[Во] dddd [во] LT', + lastDay: '[Вчера во] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 6: + return '[Изминатата] dddd [во] LT'; + case 1: + case 2: + case 4: + case 5: + return '[Изминатиот] dddd [во] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'за %s', + past: 'пред %s', + s: 'неколку секунди', + ss: '%d секунди', + m: 'една минута', + mm: '%d минути', + h: 'еден час', + hh: '%d часа', + d: 'еден ден', + dd: '%d дена', + M: 'еден месец', + MM: '%d месеци', + y: 'една година', + yy: '%d години', + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, + ordinal: function (number) { + var lastDigit = number % 10, + last2Digits = number % 100; + if (number === 0) { + return number + '-ев'; + } else if (last2Digits === 0) { + return number + '-ен'; + } else if (last2Digits > 10 && last2Digits < 20) { + return number + '-ти'; + } else if (lastDigit === 1) { + return number + '-ви'; + } else if (lastDigit === 2) { + return number + '-ри'; + } else if (lastDigit === 7 || lastDigit === 8) { + return number + '-ми'; + } else { + return number + '-ти'; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return mk; + +}))); diff --git a/node_modules/moment/locale/ml.js b/node_modules/moment/locale/ml.js new file mode 100644 index 0000000..6a7298c --- /dev/null +++ b/node_modules/moment/locale/ml.js @@ -0,0 +1,93 @@ +//! moment.js locale configuration +//! locale : Malayalam [ml] +//! author : Floyd Pink : https://github.com/floydpink + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var ml = moment.defineLocale('ml', { + months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split( + '_' + ), + monthsShort: + 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split( + '_' + ), + weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'), + weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'), + longDateFormat: { + LT: 'A h:mm -നു', + LTS: 'A h:mm:ss -നു', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm -നു', + LLLL: 'dddd, D MMMM YYYY, A h:mm -നു', + }, + calendar: { + sameDay: '[ഇന്ന്] LT', + nextDay: '[നാളെ] LT', + nextWeek: 'dddd, LT', + lastDay: '[ഇന്നലെ] LT', + lastWeek: '[കഴിഞ്ഞ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s കഴിഞ്ഞ്', + past: '%s മുൻപ്', + s: 'അൽപ നിമിഷങ്ങൾ', + ss: '%d സെക്കൻഡ്', + m: 'ഒരു മിനിറ്റ്', + mm: '%d മിനിറ്റ്', + h: 'ഒരു മണിക്കൂർ', + hh: '%d മണിക്കൂർ', + d: 'ഒരു ദിവസം', + dd: '%d ദിവസം', + M: 'ഒരു മാസം', + MM: '%d മാസം', + y: 'ഒരു വർഷം', + yy: '%d വർഷം', + }, + meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + (meridiem === 'രാത്രി' && hour >= 4) || + meridiem === 'ഉച്ച കഴിഞ്ഞ്' || + meridiem === 'വൈകുന്നേരം' + ) { + return hour + 12; + } else { + return hour; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'രാത്രി'; + } else if (hour < 12) { + return 'രാവിലെ'; + } else if (hour < 17) { + return 'ഉച്ച കഴിഞ്ഞ്'; + } else if (hour < 20) { + return 'വൈകുന്നേരം'; + } else { + return 'രാത്രി'; + } + }, + }); + + return ml; + +}))); diff --git a/node_modules/moment/locale/mn.js b/node_modules/moment/locale/mn.js new file mode 100644 index 0000000..a37b792 --- /dev/null +++ b/node_modules/moment/locale/mn.js @@ -0,0 +1,111 @@ +//! moment.js locale configuration +//! locale : Mongolian [mn] +//! author : Javkhlantugs Nyamdorj : https://github.com/javkhaanj7 + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function translate(number, withoutSuffix, key, isFuture) { + switch (key) { + case 's': + return withoutSuffix ? 'хэдхэн секунд' : 'хэдхэн секундын'; + case 'ss': + return number + (withoutSuffix ? ' секунд' : ' секундын'); + case 'm': + case 'mm': + return number + (withoutSuffix ? ' минут' : ' минутын'); + case 'h': + case 'hh': + return number + (withoutSuffix ? ' цаг' : ' цагийн'); + case 'd': + case 'dd': + return number + (withoutSuffix ? ' өдөр' : ' өдрийн'); + case 'M': + case 'MM': + return number + (withoutSuffix ? ' сар' : ' сарын'); + case 'y': + case 'yy': + return number + (withoutSuffix ? ' жил' : ' жилийн'); + default: + return number; + } + } + + var mn = moment.defineLocale('mn', { + months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split( + '_' + ), + monthsShort: + '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'), + weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'), + weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY оны MMMMын D', + LLL: 'YYYY оны MMMMын D HH:mm', + LLLL: 'dddd, YYYY оны MMMMын D HH:mm', + }, + meridiemParse: /ҮӨ|ҮХ/i, + isPM: function (input) { + return input === 'ҮХ'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ҮӨ'; + } else { + return 'ҮХ'; + } + }, + calendar: { + sameDay: '[Өнөөдөр] LT', + nextDay: '[Маргааш] LT', + nextWeek: '[Ирэх] dddd LT', + lastDay: '[Өчигдөр] LT', + lastWeek: '[Өнгөрсөн] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s дараа', + past: '%s өмнө', + s: translate, + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2} өдөр/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + ' өдөр'; + default: + return number; + } + }, + }); + + return mn; + +}))); diff --git a/node_modules/moment/locale/mr.js b/node_modules/moment/locale/mr.js new file mode 100644 index 0000000..73d5762 --- /dev/null +++ b/node_modules/moment/locale/mr.js @@ -0,0 +1,214 @@ +//! moment.js locale configuration +//! locale : Marathi [mr] +//! author : Harshad Kale : https://github.com/kalehv +//! author : Vivek Athalye : https://github.com/vnathalye + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '१', + 2: '२', + 3: '३', + 4: '४', + 5: '५', + 6: '६', + 7: '७', + 8: '८', + 9: '९', + 0: '०', + }, + numberMap = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0', + }; + + function relativeTimeMr(number, withoutSuffix, string, isFuture) { + var output = ''; + if (withoutSuffix) { + switch (string) { + case 's': + output = 'काही सेकंद'; + break; + case 'ss': + output = '%d सेकंद'; + break; + case 'm': + output = 'एक मिनिट'; + break; + case 'mm': + output = '%d मिनिटे'; + break; + case 'h': + output = 'एक तास'; + break; + case 'hh': + output = '%d तास'; + break; + case 'd': + output = 'एक दिवस'; + break; + case 'dd': + output = '%d दिवस'; + break; + case 'M': + output = 'एक महिना'; + break; + case 'MM': + output = '%d महिने'; + break; + case 'y': + output = 'एक वर्ष'; + break; + case 'yy': + output = '%d वर्षे'; + break; + } + } else { + switch (string) { + case 's': + output = 'काही सेकंदां'; + break; + case 'ss': + output = '%d सेकंदां'; + break; + case 'm': + output = 'एका मिनिटा'; + break; + case 'mm': + output = '%d मिनिटां'; + break; + case 'h': + output = 'एका तासा'; + break; + case 'hh': + output = '%d तासां'; + break; + case 'd': + output = 'एका दिवसा'; + break; + case 'dd': + output = '%d दिवसां'; + break; + case 'M': + output = 'एका महिन्या'; + break; + case 'MM': + output = '%d महिन्यां'; + break; + case 'y': + output = 'एका वर्षा'; + break; + case 'yy': + output = '%d वर्षां'; + break; + } + } + return output.replace(/%d/i, number); + } + + var mr = moment.defineLocale('mr', { + months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split( + '_' + ), + monthsShort: + 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'), + weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'), + longDateFormat: { + LT: 'A h:mm वाजता', + LTS: 'A h:mm:ss वाजता', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm वाजता', + LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता', + }, + calendar: { + sameDay: '[आज] LT', + nextDay: '[उद्या] LT', + nextWeek: 'dddd, LT', + lastDay: '[काल] LT', + lastWeek: '[मागील] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%sमध्ये', + past: '%sपूर्वी', + s: relativeTimeMr, + ss: relativeTimeMr, + m: relativeTimeMr, + mm: relativeTimeMr, + h: relativeTimeMr, + hh: relativeTimeMr, + d: relativeTimeMr, + dd: relativeTimeMr, + M: relativeTimeMr, + MM: relativeTimeMr, + y: relativeTimeMr, + yy: relativeTimeMr, + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'पहाटे' || meridiem === 'सकाळी') { + return hour; + } else if ( + meridiem === 'दुपारी' || + meridiem === 'सायंकाळी' || + meridiem === 'रात्री' + ) { + return hour >= 12 ? hour : hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour >= 0 && hour < 6) { + return 'पहाटे'; + } else if (hour < 12) { + return 'सकाळी'; + } else if (hour < 17) { + return 'दुपारी'; + } else if (hour < 20) { + return 'सायंकाळी'; + } else { + return 'रात्री'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + return mr; + +}))); diff --git a/node_modules/moment/locale/ms-my.js b/node_modules/moment/locale/ms-my.js new file mode 100644 index 0000000..8d66c2b --- /dev/null +++ b/node_modules/moment/locale/ms-my.js @@ -0,0 +1,87 @@ +//! moment.js locale configuration +//! locale : Malay [ms-my] +//! note : DEPRECATED, the correct one is [ms] +//! author : Weldan Jamili : https://github.com/weldan + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var msMy = moment.defineLocale('ms-my', { + months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), + weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), + weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /pagi|tengahari|petang|malam/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'tengahari') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'petang' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'tengahari'; + } else if (hours < 19) { + return 'petang'; + } else { + return 'malam'; + } + }, + calendar: { + sameDay: '[Hari ini pukul] LT', + nextDay: '[Esok pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kelmarin pukul] LT', + lastWeek: 'dddd [lepas pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lepas', + s: 'beberapa saat', + ss: '%d saat', + m: 'seminit', + mm: '%d minit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return msMy; + +}))); diff --git a/node_modules/moment/locale/ms.js b/node_modules/moment/locale/ms.js new file mode 100644 index 0000000..37782fb --- /dev/null +++ b/node_modules/moment/locale/ms.js @@ -0,0 +1,86 @@ +//! moment.js locale configuration +//! locale : Malay [ms] +//! author : Weldan Jamili : https://github.com/weldan + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var ms = moment.defineLocale('ms', { + months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), + weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), + weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /pagi|tengahari|petang|malam/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'tengahari') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'petang' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'tengahari'; + } else if (hours < 19) { + return 'petang'; + } else { + return 'malam'; + } + }, + calendar: { + sameDay: '[Hari ini pukul] LT', + nextDay: '[Esok pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kelmarin pukul] LT', + lastWeek: 'dddd [lepas pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lepas', + s: 'beberapa saat', + ss: '%d saat', + m: 'seminit', + mm: '%d minit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return ms; + +}))); diff --git a/node_modules/moment/locale/mt.js b/node_modules/moment/locale/mt.js new file mode 100644 index 0000000..94b2559 --- /dev/null +++ b/node_modules/moment/locale/mt.js @@ -0,0 +1,67 @@ +//! moment.js locale configuration +//! locale : Maltese (Malta) [mt] +//! author : Alessandro Maruccia : https://github.com/alesma + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var mt = moment.defineLocale('mt', { + months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split( + '_' + ), + monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'), + weekdays: + 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split( + '_' + ), + weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'), + weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Illum fil-]LT', + nextDay: '[Għada fil-]LT', + nextWeek: 'dddd [fil-]LT', + lastDay: '[Il-bieraħ fil-]LT', + lastWeek: 'dddd [li għadda] [fil-]LT', + sameElse: 'L', + }, + relativeTime: { + future: 'f’ %s', + past: '%s ilu', + s: 'ftit sekondi', + ss: '%d sekondi', + m: 'minuta', + mm: '%d minuti', + h: 'siegħa', + hh: '%d siegħat', + d: 'ġurnata', + dd: '%d ġranet', + M: 'xahar', + MM: '%d xhur', + y: 'sena', + yy: '%d sni', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return mt; + +}))); diff --git a/node_modules/moment/locale/my.js b/node_modules/moment/locale/my.js new file mode 100644 index 0000000..c1ef2df --- /dev/null +++ b/node_modules/moment/locale/my.js @@ -0,0 +1,102 @@ +//! moment.js locale configuration +//! locale : Burmese [my] +//! author : Squar team, mysquar.com +//! author : David Rossellat : https://github.com/gholadr +//! author : Tin Aung Lin : https://github.com/thanyawzinmin + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '၁', + 2: '၂', + 3: '၃', + 4: '၄', + 5: '၅', + 6: '၆', + 7: '၇', + 8: '၈', + 9: '၉', + 0: '၀', + }, + numberMap = { + '၁': '1', + '၂': '2', + '၃': '3', + '၄': '4', + '၅': '5', + '၆': '6', + '၇': '7', + '၈': '8', + '၉': '9', + '၀': '0', + }; + + var my = moment.defineLocale('my', { + months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split( + '_' + ), + monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'), + weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split( + '_' + ), + weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), + weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), + + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[ယနေ.] LT [မှာ]', + nextDay: '[မနက်ဖြန်] LT [မှာ]', + nextWeek: 'dddd LT [မှာ]', + lastDay: '[မနေ.က] LT [မှာ]', + lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]', + sameElse: 'L', + }, + relativeTime: { + future: 'လာမည့် %s မှာ', + past: 'လွန်ခဲ့သော %s က', + s: 'စက္ကန်.အနည်းငယ်', + ss: '%d စက္ကန့်', + m: 'တစ်မိနစ်', + mm: '%d မိနစ်', + h: 'တစ်နာရီ', + hh: '%d နာရီ', + d: 'တစ်ရက်', + dd: '%d ရက်', + M: 'တစ်လ', + MM: '%d လ', + y: 'တစ်နှစ်', + yy: '%d နှစ်', + }, + preparse: function (string) { + return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return my; + +}))); diff --git a/node_modules/moment/locale/nb.js b/node_modules/moment/locale/nb.js new file mode 100644 index 0000000..1f271aa --- /dev/null +++ b/node_modules/moment/locale/nb.js @@ -0,0 +1,71 @@ +//! moment.js locale configuration +//! locale : Norwegian Bokmål [nb] +//! authors : Espen Hovlandsdal : https://github.com/rexxars +//! Sigurd Gartmann : https://github.com/sigurdga +//! Stephen Ramthun : https://github.com/stephenramthun + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var nb = moment.defineLocale('nb', { + months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split( + '_' + ), + monthsShort: + 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'), + monthsParseExact: true, + weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), + weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'), + weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] HH:mm', + LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm', + }, + calendar: { + sameDay: '[i dag kl.] LT', + nextDay: '[i morgen kl.] LT', + nextWeek: 'dddd [kl.] LT', + lastDay: '[i går kl.] LT', + lastWeek: '[forrige] dddd [kl.] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'om %s', + past: '%s siden', + s: 'noen sekunder', + ss: '%d sekunder', + m: 'ett minutt', + mm: '%d minutter', + h: 'én time', + hh: '%d timer', + d: 'én dag', + dd: '%d dager', + w: 'én uke', + ww: '%d uker', + M: 'én måned', + MM: '%d måneder', + y: 'ett år', + yy: '%d år', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return nb; + +}))); diff --git a/node_modules/moment/locale/ne.js b/node_modules/moment/locale/ne.js new file mode 100644 index 0000000..d455e00 --- /dev/null +++ b/node_modules/moment/locale/ne.js @@ -0,0 +1,132 @@ +//! moment.js locale configuration +//! locale : Nepalese [ne] +//! author : suvash : https://github.com/suvash + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '१', + 2: '२', + 3: '३', + 4: '४', + 5: '५', + 6: '६', + 7: '७', + 8: '८', + 9: '९', + 0: '०', + }, + numberMap = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0', + }; + + var ne = moment.defineLocale('ne', { + months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split( + '_' + ), + monthsShort: + 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split( + '_' + ), + weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'), + weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'Aको h:mm बजे', + LTS: 'Aको h:mm:ss बजे', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, Aको h:mm बजे', + LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे', + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /राति|बिहान|दिउँसो|साँझ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'राति') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'बिहान') { + return hour; + } else if (meridiem === 'दिउँसो') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'साँझ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 3) { + return 'राति'; + } else if (hour < 12) { + return 'बिहान'; + } else if (hour < 16) { + return 'दिउँसो'; + } else if (hour < 20) { + return 'साँझ'; + } else { + return 'राति'; + } + }, + calendar: { + sameDay: '[आज] LT', + nextDay: '[भोलि] LT', + nextWeek: '[आउँदो] dddd[,] LT', + lastDay: '[हिजो] LT', + lastWeek: '[गएको] dddd[,] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%sमा', + past: '%s अगाडि', + s: 'केही क्षण', + ss: '%d सेकेण्ड', + m: 'एक मिनेट', + mm: '%d मिनेट', + h: 'एक घण्टा', + hh: '%d घण्टा', + d: 'एक दिन', + dd: '%d दिन', + M: 'एक महिना', + MM: '%d महिना', + y: 'एक बर्ष', + yy: '%d बर्ष', + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + return ne; + +}))); diff --git a/node_modules/moment/locale/nl-be.js b/node_modules/moment/locale/nl-be.js new file mode 100644 index 0000000..a35546f --- /dev/null +++ b/node_modules/moment/locale/nl-be.js @@ -0,0 +1,113 @@ +//! moment.js locale configuration +//! locale : Dutch (Belgium) [nl-be] +//! author : Joris Röling : https://github.com/jorisroling +//! author : Jacob Middag : https://github.com/middagj + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var monthsShortWithDots = + 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'), + monthsShortWithoutDots = + 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'), + monthsParse = [ + /^jan/i, + /^feb/i, + /^(maart|mrt\.?)$/i, + /^apr/i, + /^mei$/i, + /^jun[i.]?$/i, + /^jul[i.]?$/i, + /^aug/i, + /^sep/i, + /^okt/i, + /^nov/i, + /^dec/i, + ], + monthsRegex = + /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; + + var nlBe = moment.defineLocale('nl-be', { + months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortWithDots; + } else if (/-MMM-/.test(format)) { + return monthsShortWithoutDots[m.month()]; + } else { + return monthsShortWithDots[m.month()]; + } + }, + + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: + /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i, + monthsShortStrictRegex: + /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, + + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + + weekdays: + 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), + weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), + weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[vandaag om] LT', + nextDay: '[morgen om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[gisteren om] LT', + lastWeek: '[afgelopen] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'over %s', + past: '%s geleden', + s: 'een paar seconden', + ss: '%d seconden', + m: 'één minuut', + mm: '%d minuten', + h: 'één uur', + hh: '%d uur', + d: 'één dag', + dd: '%d dagen', + M: 'één maand', + MM: '%d maanden', + y: 'één jaar', + yy: '%d jaar', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return nlBe; + +}))); diff --git a/node_modules/moment/locale/nl.js b/node_modules/moment/locale/nl.js new file mode 100644 index 0000000..a285c04 --- /dev/null +++ b/node_modules/moment/locale/nl.js @@ -0,0 +1,115 @@ +//! moment.js locale configuration +//! locale : Dutch [nl] +//! author : Joris Röling : https://github.com/jorisroling +//! author : Jacob Middag : https://github.com/middagj + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var monthsShortWithDots = + 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'), + monthsShortWithoutDots = + 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'), + monthsParse = [ + /^jan/i, + /^feb/i, + /^(maart|mrt\.?)$/i, + /^apr/i, + /^mei$/i, + /^jun[i.]?$/i, + /^jul[i.]?$/i, + /^aug/i, + /^sep/i, + /^okt/i, + /^nov/i, + /^dec/i, + ], + monthsRegex = + /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; + + var nl = moment.defineLocale('nl', { + months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortWithDots; + } else if (/-MMM-/.test(format)) { + return monthsShortWithoutDots[m.month()]; + } else { + return monthsShortWithDots[m.month()]; + } + }, + + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: + /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i, + monthsShortStrictRegex: + /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, + + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + + weekdays: + 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), + weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), + weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[vandaag om] LT', + nextDay: '[morgen om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[gisteren om] LT', + lastWeek: '[afgelopen] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'over %s', + past: '%s geleden', + s: 'een paar seconden', + ss: '%d seconden', + m: 'één minuut', + mm: '%d minuten', + h: 'één uur', + hh: '%d uur', + d: 'één dag', + dd: '%d dagen', + w: 'één week', + ww: '%d weken', + M: 'één maand', + MM: '%d maanden', + y: 'één jaar', + yy: '%d jaar', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return nl; + +}))); diff --git a/node_modules/moment/locale/nn.js b/node_modules/moment/locale/nn.js new file mode 100644 index 0000000..c65268e --- /dev/null +++ b/node_modules/moment/locale/nn.js @@ -0,0 +1,70 @@ +//! moment.js locale configuration +//! locale : Nynorsk [nn] +//! authors : https://github.com/mechuwind +//! Stephen Ramthun : https://github.com/stephenramthun + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var nn = moment.defineLocale('nn', { + months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split( + '_' + ), + monthsShort: + 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'), + monthsParseExact: true, + weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'), + weekdaysShort: 'su._må._ty._on._to._fr._lau.'.split('_'), + weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] H:mm', + LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm', + }, + calendar: { + sameDay: '[I dag klokka] LT', + nextDay: '[I morgon klokka] LT', + nextWeek: 'dddd [klokka] LT', + lastDay: '[I går klokka] LT', + lastWeek: '[Føregåande] dddd [klokka] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'om %s', + past: '%s sidan', + s: 'nokre sekund', + ss: '%d sekund', + m: 'eit minutt', + mm: '%d minutt', + h: 'ein time', + hh: '%d timar', + d: 'ein dag', + dd: '%d dagar', + w: 'ei veke', + ww: '%d veker', + M: 'ein månad', + MM: '%d månader', + y: 'eit år', + yy: '%d år', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return nn; + +}))); diff --git a/node_modules/moment/locale/oc-lnc.js b/node_modules/moment/locale/oc-lnc.js new file mode 100644 index 0000000..a6a8c91 --- /dev/null +++ b/node_modules/moment/locale/oc-lnc.js @@ -0,0 +1,96 @@ +//! moment.js locale configuration +//! locale : Occitan, lengadocian dialecte [oc-lnc] +//! author : Quentin PAGÈS : https://github.com/Quenty31 + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var ocLnc = moment.defineLocale('oc-lnc', { + months: { + standalone: + 'genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split( + '_' + ), + format: "de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split( + '_' + ), + isFormat: /D[oD]?(\s)+MMMM/, + }, + monthsShort: + 'gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split( + '_' + ), + weekdaysShort: 'dg._dl._dm._dc._dj._dv._ds.'.split('_'), + weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [de] YYYY', + ll: 'D MMM YYYY', + LLL: 'D MMMM [de] YYYY [a] H:mm', + lll: 'D MMM YYYY, H:mm', + LLLL: 'dddd D MMMM [de] YYYY [a] H:mm', + llll: 'ddd D MMM YYYY, H:mm', + }, + calendar: { + sameDay: '[uèi a] LT', + nextDay: '[deman a] LT', + nextWeek: 'dddd [a] LT', + lastDay: '[ièr a] LT', + lastWeek: 'dddd [passat a] LT', + sameElse: 'L', + }, + relativeTime: { + future: "d'aquí %s", + past: 'fa %s', + s: 'unas segondas', + ss: '%d segondas', + m: 'una minuta', + mm: '%d minutas', + h: 'una ora', + hh: '%d oras', + d: 'un jorn', + dd: '%d jorns', + M: 'un mes', + MM: '%d meses', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/, + ordinal: function (number, period) { + var output = + number === 1 + ? 'r' + : number === 2 + ? 'n' + : number === 3 + ? 'r' + : number === 4 + ? 't' + : 'è'; + if (period === 'w' || period === 'W') { + output = 'a'; + } + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, + }, + }); + + return ocLnc; + +}))); diff --git a/node_modules/moment/locale/pa-in.js b/node_modules/moment/locale/pa-in.js new file mode 100644 index 0000000..d57eb75 --- /dev/null +++ b/node_modules/moment/locale/pa-in.js @@ -0,0 +1,133 @@ +//! moment.js locale configuration +//! locale : Punjabi (India) [pa-in] +//! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '੧', + 2: '੨', + 3: '੩', + 4: '੪', + 5: '੫', + 6: '੬', + 7: '੭', + 8: '੮', + 9: '੯', + 0: '੦', + }, + numberMap = { + '੧': '1', + '੨': '2', + '੩': '3', + '੪': '4', + '੫': '5', + '੬': '6', + '੭': '7', + '੮': '8', + '੯': '9', + '੦': '0', + }; + + var paIn = moment.defineLocale('pa-in', { + // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi. + months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split( + '_' + ), + monthsShort: + 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split( + '_' + ), + weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split( + '_' + ), + weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), + weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), + longDateFormat: { + LT: 'A h:mm ਵਜੇ', + LTS: 'A h:mm:ss ਵਜੇ', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm ਵਜੇ', + LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ', + }, + calendar: { + sameDay: '[ਅਜ] LT', + nextDay: '[ਕਲ] LT', + nextWeek: '[ਅਗਲਾ] dddd, LT', + lastDay: '[ਕਲ] LT', + lastWeek: '[ਪਿਛਲੇ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ਵਿੱਚ', + past: '%s ਪਿਛਲੇ', + s: 'ਕੁਝ ਸਕਿੰਟ', + ss: '%d ਸਕਿੰਟ', + m: 'ਇਕ ਮਿੰਟ', + mm: '%d ਮਿੰਟ', + h: 'ਇੱਕ ਘੰਟਾ', + hh: '%d ਘੰਟੇ', + d: 'ਇੱਕ ਦਿਨ', + dd: '%d ਦਿਨ', + M: 'ਇੱਕ ਮਹੀਨਾ', + MM: '%d ਮਹੀਨੇ', + y: 'ਇੱਕ ਸਾਲ', + yy: '%d ਸਾਲ', + }, + preparse: function (string) { + return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // Punjabi notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi. + meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ਰਾਤ') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ਸਵੇਰ') { + return hour; + } else if (meridiem === 'ਦੁਪਹਿਰ') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'ਸ਼ਾਮ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ਰਾਤ'; + } else if (hour < 10) { + return 'ਸਵੇਰ'; + } else if (hour < 17) { + return 'ਦੁਪਹਿਰ'; + } else if (hour < 20) { + return 'ਸ਼ਾਮ'; + } else { + return 'ਰਾਤ'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + return paIn; + +}))); diff --git a/node_modules/moment/locale/pl.js b/node_modules/moment/locale/pl.js new file mode 100644 index 0000000..0750bb3 --- /dev/null +++ b/node_modules/moment/locale/pl.js @@ -0,0 +1,151 @@ +//! moment.js locale configuration +//! locale : Polish [pl] +//! author : Rafal Hirsz : https://github.com/evoL + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var monthsNominative = + 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split( + '_' + ), + monthsSubjective = + 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split( + '_' + ), + monthsParse = [ + /^sty/i, + /^lut/i, + /^mar/i, + /^kwi/i, + /^maj/i, + /^cze/i, + /^lip/i, + /^sie/i, + /^wrz/i, + /^paź/i, + /^lis/i, + /^gru/i, + ]; + function plural(n) { + return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1; + } + function translate(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'ss': + return result + (plural(number) ? 'sekundy' : 'sekund'); + case 'm': + return withoutSuffix ? 'minuta' : 'minutę'; + case 'mm': + return result + (plural(number) ? 'minuty' : 'minut'); + case 'h': + return withoutSuffix ? 'godzina' : 'godzinę'; + case 'hh': + return result + (plural(number) ? 'godziny' : 'godzin'); + case 'ww': + return result + (plural(number) ? 'tygodnie' : 'tygodni'); + case 'MM': + return result + (plural(number) ? 'miesiące' : 'miesięcy'); + case 'yy': + return result + (plural(number) ? 'lata' : 'lat'); + } + } + + var pl = moment.defineLocale('pl', { + months: function (momentToFormat, format) { + if (!momentToFormat) { + return monthsNominative; + } else if (/D MMMM/.test(format)) { + return monthsSubjective[momentToFormat.month()]; + } else { + return monthsNominative[momentToFormat.month()]; + } + }, + monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'), + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: + 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'), + weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'), + weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Dziś o] LT', + nextDay: '[Jutro o] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[W niedzielę o] LT'; + + case 2: + return '[We wtorek o] LT'; + + case 3: + return '[W środę o] LT'; + + case 6: + return '[W sobotę o] LT'; + + default: + return '[W] dddd [o] LT'; + } + }, + lastDay: '[Wczoraj o] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[W zeszłą niedzielę o] LT'; + case 3: + return '[W zeszłą środę o] LT'; + case 6: + return '[W zeszłą sobotę o] LT'; + default: + return '[W zeszły] dddd [o] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: '%s temu', + s: 'kilka sekund', + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: '1 dzień', + dd: '%d dni', + w: 'tydzień', + ww: translate, + M: 'miesiąc', + MM: translate, + y: 'rok', + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return pl; + +}))); diff --git a/node_modules/moment/locale/pt-br.js b/node_modules/moment/locale/pt-br.js new file mode 100644 index 0000000..ee123bd --- /dev/null +++ b/node_modules/moment/locale/pt-br.js @@ -0,0 +1,69 @@ +//! moment.js locale configuration +//! locale : Portuguese (Brazil) [pt-br] +//! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var ptBr = moment.defineLocale('pt-br', { + months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split( + '_' + ), + monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), + weekdays: + 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split( + '_' + ), + weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'), + weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY [às] HH:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm', + }, + calendar: { + sameDay: '[Hoje às] LT', + nextDay: '[Amanhã às] LT', + nextWeek: 'dddd [às] LT', + lastDay: '[Ontem às] LT', + lastWeek: function () { + return this.day() === 0 || this.day() === 6 + ? '[Último] dddd [às] LT' // Saturday + Sunday + : '[Última] dddd [às] LT'; // Monday - Friday + }, + sameElse: 'L', + }, + relativeTime: { + future: 'em %s', + past: 'há %s', + s: 'poucos segundos', + ss: '%d segundos', + m: 'um minuto', + mm: '%d minutos', + h: 'uma hora', + hh: '%d horas', + d: 'um dia', + dd: '%d dias', + M: 'um mês', + MM: '%d meses', + y: 'um ano', + yy: '%d anos', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + invalidDate: 'Data inválida', + }); + + return ptBr; + +}))); diff --git a/node_modules/moment/locale/pt.js b/node_modules/moment/locale/pt.js new file mode 100644 index 0000000..a113ed7 --- /dev/null +++ b/node_modules/moment/locale/pt.js @@ -0,0 +1,74 @@ +//! moment.js locale configuration +//! locale : Portuguese [pt] +//! author : Jefferson : https://github.com/jalex79 + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var pt = moment.defineLocale('pt', { + months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split( + '_' + ), + monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), + weekdays: + 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split( + '_' + ), + weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), + weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY HH:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm', + }, + calendar: { + sameDay: '[Hoje às] LT', + nextDay: '[Amanhã às] LT', + nextWeek: 'dddd [às] LT', + lastDay: '[Ontem às] LT', + lastWeek: function () { + return this.day() === 0 || this.day() === 6 + ? '[Último] dddd [às] LT' // Saturday + Sunday + : '[Última] dddd [às] LT'; // Monday - Friday + }, + sameElse: 'L', + }, + relativeTime: { + future: 'em %s', + past: 'há %s', + s: 'segundos', + ss: '%d segundos', + m: 'um minuto', + mm: '%d minutos', + h: 'uma hora', + hh: '%d horas', + d: 'um dia', + dd: '%d dias', + w: 'uma semana', + ww: '%d semanas', + M: 'um mês', + MM: '%d meses', + y: 'um ano', + yy: '%d anos', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return pt; + +}))); diff --git a/node_modules/moment/locale/ro.js b/node_modules/moment/locale/ro.js new file mode 100644 index 0000000..c2a9dd8 --- /dev/null +++ b/node_modules/moment/locale/ro.js @@ -0,0 +1,87 @@ +//! moment.js locale configuration +//! locale : Romanian [ro] +//! author : Vlad Gurdiga : https://github.com/gurdiga +//! author : Valentin Agachi : https://github.com/avaly +//! author : Emanuel Cepoi : https://github.com/cepem + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + ss: 'secunde', + mm: 'minute', + hh: 'ore', + dd: 'zile', + ww: 'săptămâni', + MM: 'luni', + yy: 'ani', + }, + separator = ' '; + if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) { + separator = ' de '; + } + return number + separator + format[key]; + } + + var ro = moment.defineLocale('ro', { + months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split( + '_' + ), + monthsShort: + 'ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'), + weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'), + weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[azi la] LT', + nextDay: '[mâine la] LT', + nextWeek: 'dddd [la] LT', + lastDay: '[ieri la] LT', + lastWeek: '[fosta] dddd [la] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'peste %s', + past: '%s în urmă', + s: 'câteva secunde', + ss: relativeTimeWithPlural, + m: 'un minut', + mm: relativeTimeWithPlural, + h: 'o oră', + hh: relativeTimeWithPlural, + d: 'o zi', + dd: relativeTimeWithPlural, + w: 'o săptămână', + ww: relativeTimeWithPlural, + M: 'o lună', + MM: relativeTimeWithPlural, + y: 'un an', + yy: relativeTimeWithPlural, + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return ro; + +}))); diff --git a/node_modules/moment/locale/ru.js b/node_modules/moment/locale/ru.js new file mode 100644 index 0000000..d313eae --- /dev/null +++ b/node_modules/moment/locale/ru.js @@ -0,0 +1,224 @@ +//! moment.js locale configuration +//! locale : Russian [ru] +//! author : Viktorminator : https://github.com/Viktorminator +//! author : Menelion Elensúle : https://github.com/Oire +//! author : Коренберг Марк : https://github.com/socketpair + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 + ? forms[0] + : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) + ? forms[1] + : forms[2]; + } + function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд', + mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут', + hh: 'час_часа_часов', + dd: 'день_дня_дней', + ww: 'неделя_недели_недель', + MM: 'месяц_месяца_месяцев', + yy: 'год_года_лет', + }; + if (key === 'm') { + return withoutSuffix ? 'минута' : 'минуту'; + } else { + return number + ' ' + plural(format[key], +number); + } + } + var monthsParse = [ + /^янв/i, + /^фев/i, + /^мар/i, + /^апр/i, + /^ма[йя]/i, + /^июн/i, + /^июл/i, + /^авг/i, + /^сен/i, + /^окт/i, + /^ноя/i, + /^дек/i, + ]; + + // http://new.gramota.ru/spravka/rules/139-prop : § 103 + // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637 + // CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753 + var ru = moment.defineLocale('ru', { + months: { + format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split( + '_' + ), + standalone: + 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split( + '_' + ), + }, + monthsShort: { + // по CLDR именно "июл." и "июн.", но какой смысл менять букву на точку? + format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split( + '_' + ), + standalone: + 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split( + '_' + ), + }, + weekdays: { + standalone: + 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split( + '_' + ), + format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split( + '_' + ), + isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/, + }, + weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'), + weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'), + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + + // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки + monthsRegex: + /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, + + // копия предыдущего + monthsShortRegex: + /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, + + // полные названия с падежами + monthsStrictRegex: + /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i, + + // Выражение, которое соответствует только сокращённым формам + monthsShortStrictRegex: + /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY г.', + LLL: 'D MMMM YYYY г., H:mm', + LLLL: 'dddd, D MMMM YYYY г., H:mm', + }, + calendar: { + sameDay: '[Сегодня, в] LT', + nextDay: '[Завтра, в] LT', + lastDay: '[Вчера, в] LT', + nextWeek: function (now) { + if (now.week() !== this.week()) { + switch (this.day()) { + case 0: + return '[В следующее] dddd, [в] LT'; + case 1: + case 2: + case 4: + return '[В следующий] dddd, [в] LT'; + case 3: + case 5: + case 6: + return '[В следующую] dddd, [в] LT'; + } + } else { + if (this.day() === 2) { + return '[Во] dddd, [в] LT'; + } else { + return '[В] dddd, [в] LT'; + } + } + }, + lastWeek: function (now) { + if (now.week() !== this.week()) { + switch (this.day()) { + case 0: + return '[В прошлое] dddd, [в] LT'; + case 1: + case 2: + case 4: + return '[В прошлый] dddd, [в] LT'; + case 3: + case 5: + case 6: + return '[В прошлую] dddd, [в] LT'; + } + } else { + if (this.day() === 2) { + return '[Во] dddd, [в] LT'; + } else { + return '[В] dddd, [в] LT'; + } + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'через %s', + past: '%s назад', + s: 'несколько секунд', + ss: relativeTimeWithPlural, + m: relativeTimeWithPlural, + mm: relativeTimeWithPlural, + h: 'час', + hh: relativeTimeWithPlural, + d: 'день', + dd: relativeTimeWithPlural, + w: 'неделя', + ww: relativeTimeWithPlural, + M: 'месяц', + MM: relativeTimeWithPlural, + y: 'год', + yy: relativeTimeWithPlural, + }, + meridiemParse: /ночи|утра|дня|вечера/i, + isPM: function (input) { + return /^(дня|вечера)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ночи'; + } else if (hour < 12) { + return 'утра'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечера'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + return number + '-й'; + case 'D': + return number + '-го'; + case 'w': + case 'W': + return number + '-я'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return ru; + +}))); diff --git a/node_modules/moment/locale/sd.js b/node_modules/moment/locale/sd.js new file mode 100644 index 0000000..56ff8c7 --- /dev/null +++ b/node_modules/moment/locale/sd.js @@ -0,0 +1,92 @@ +//! moment.js locale configuration +//! locale : Sindhi [sd] +//! author : Narain Sagar : https://github.com/narainsagar + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var months = [ + 'جنوري', + 'فيبروري', + 'مارچ', + 'اپريل', + 'مئي', + 'جون', + 'جولاءِ', + 'آگسٽ', + 'سيپٽمبر', + 'آڪٽوبر', + 'نومبر', + 'ڊسمبر', + ], + days = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر']; + + var sd = moment.defineLocale('sd', { + months: months, + monthsShort: months, + weekdays: days, + weekdaysShort: days, + weekdaysMin: days, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd، D MMMM YYYY HH:mm', + }, + meridiemParse: /صبح|شام/, + isPM: function (input) { + return 'شام' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'صبح'; + } + return 'شام'; + }, + calendar: { + sameDay: '[اڄ] LT', + nextDay: '[سڀاڻي] LT', + nextWeek: 'dddd [اڳين هفتي تي] LT', + lastDay: '[ڪالهه] LT', + lastWeek: '[گزريل هفتي] dddd [تي] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s پوء', + past: '%s اڳ', + s: 'چند سيڪنڊ', + ss: '%d سيڪنڊ', + m: 'هڪ منٽ', + mm: '%d منٽ', + h: 'هڪ ڪلاڪ', + hh: '%d ڪلاڪ', + d: 'هڪ ڏينهن', + dd: '%d ڏينهن', + M: 'هڪ مهينو', + MM: '%d مهينا', + y: 'هڪ سال', + yy: '%d سال', + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return sd; + +}))); diff --git a/node_modules/moment/locale/se.js b/node_modules/moment/locale/se.js new file mode 100644 index 0000000..289929a --- /dev/null +++ b/node_modules/moment/locale/se.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : Northern Sami [se] +//! authors : Bård Rolstad Henriksen : https://github.com/karamell + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var se = moment.defineLocale('se', { + months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split( + '_' + ), + monthsShort: + 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'), + weekdays: + 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split( + '_' + ), + weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'), + weekdaysMin: 's_v_m_g_d_b_L'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'MMMM D. [b.] YYYY', + LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm', + LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm', + }, + calendar: { + sameDay: '[otne ti] LT', + nextDay: '[ihttin ti] LT', + nextWeek: 'dddd [ti] LT', + lastDay: '[ikte ti] LT', + lastWeek: '[ovddit] dddd [ti] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s geažes', + past: 'maŋit %s', + s: 'moadde sekunddat', + ss: '%d sekunddat', + m: 'okta minuhta', + mm: '%d minuhtat', + h: 'okta diimmu', + hh: '%d diimmut', + d: 'okta beaivi', + dd: '%d beaivvit', + M: 'okta mánnu', + MM: '%d mánut', + y: 'okta jahki', + yy: '%d jagit', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return se; + +}))); diff --git a/node_modules/moment/locale/si.js b/node_modules/moment/locale/si.js new file mode 100644 index 0000000..4421d04 --- /dev/null +++ b/node_modules/moment/locale/si.js @@ -0,0 +1,80 @@ +//! moment.js locale configuration +//! locale : Sinhalese [si] +//! author : Sampath Sitinamaluwa : https://github.com/sampathsris + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + /*jshint -W100*/ + var si = moment.defineLocale('si', { + months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split( + '_' + ), + monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split( + '_' + ), + weekdays: + 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split( + '_' + ), + weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'), + weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'a h:mm', + LTS: 'a h:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY MMMM D', + LLL: 'YYYY MMMM D, a h:mm', + LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss', + }, + calendar: { + sameDay: '[අද] LT[ට]', + nextDay: '[හෙට] LT[ට]', + nextWeek: 'dddd LT[ට]', + lastDay: '[ඊයේ] LT[ට]', + lastWeek: '[පසුගිය] dddd LT[ට]', + sameElse: 'L', + }, + relativeTime: { + future: '%sකින්', + past: '%sකට පෙර', + s: 'තත්පර කිහිපය', + ss: 'තත්පර %d', + m: 'මිනිත්තුව', + mm: 'මිනිත්තු %d', + h: 'පැය', + hh: 'පැය %d', + d: 'දිනය', + dd: 'දින %d', + M: 'මාසය', + MM: 'මාස %d', + y: 'වසර', + yy: 'වසර %d', + }, + dayOfMonthOrdinalParse: /\d{1,2} වැනි/, + ordinal: function (number) { + return number + ' වැනි'; + }, + meridiemParse: /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./, + isPM: function (input) { + return input === 'ප.ව.' || input === 'පස් වරු'; + }, + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'ප.ව.' : 'පස් වරු'; + } else { + return isLower ? 'පෙ.ව.' : 'පෙර වරු'; + } + }, + }); + + return si; + +}))); diff --git a/node_modules/moment/locale/sk.js b/node_modules/moment/locale/sk.js new file mode 100644 index 0000000..99edae7 --- /dev/null +++ b/node_modules/moment/locale/sk.js @@ -0,0 +1,156 @@ +//! moment.js locale configuration +//! locale : Slovak [sk] +//! author : Martin Minka : https://github.com/k2s +//! based on work of petrbela : https://github.com/petrbela + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var months = + 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split( + '_' + ), + monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_'); + function plural(n) { + return n > 1 && n < 5; + } + function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': // a few seconds / in a few seconds / a few seconds ago + return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami'; + case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'sekundy' : 'sekúnd'); + } else { + return result + 'sekundami'; + } + case 'm': // a minute / in a minute / a minute ago + return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou'; + case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'minúty' : 'minút'); + } else { + return result + 'minútami'; + } + case 'h': // an hour / in an hour / an hour ago + return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou'; + case 'hh': // 9 hours / in 9 hours / 9 hours ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'hodiny' : 'hodín'); + } else { + return result + 'hodinami'; + } + case 'd': // a day / in a day / a day ago + return withoutSuffix || isFuture ? 'deň' : 'dňom'; + case 'dd': // 9 days / in 9 days / 9 days ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'dni' : 'dní'); + } else { + return result + 'dňami'; + } + case 'M': // a month / in a month / a month ago + return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom'; + case 'MM': // 9 months / in 9 months / 9 months ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'mesiace' : 'mesiacov'); + } else { + return result + 'mesiacmi'; + } + case 'y': // a year / in a year / a year ago + return withoutSuffix || isFuture ? 'rok' : 'rokom'; + case 'yy': // 9 years / in 9 years / 9 years ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'roky' : 'rokov'); + } else { + return result + 'rokmi'; + } + } + } + + var sk = moment.defineLocale('sk', { + months: months, + monthsShort: monthsShort, + weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'), + weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'), + weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[dnes o] LT', + nextDay: '[zajtra o] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[v nedeľu o] LT'; + case 1: + case 2: + return '[v] dddd [o] LT'; + case 3: + return '[v stredu o] LT'; + case 4: + return '[vo štvrtok o] LT'; + case 5: + return '[v piatok o] LT'; + case 6: + return '[v sobotu o] LT'; + } + }, + lastDay: '[včera o] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[minulú nedeľu o] LT'; + case 1: + case 2: + return '[minulý] dddd [o] LT'; + case 3: + return '[minulú stredu o] LT'; + case 4: + case 5: + return '[minulý] dddd [o] LT'; + case 6: + return '[minulú sobotu o] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'pred %s', + s: translate, + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return sk; + +}))); diff --git a/node_modules/moment/locale/sl.js b/node_modules/moment/locale/sl.js new file mode 100644 index 0000000..38f1210 --- /dev/null +++ b/node_modules/moment/locale/sl.js @@ -0,0 +1,182 @@ +//! moment.js locale configuration +//! locale : Slovenian [sl] +//! author : Robert Sedovšek : https://github.com/sedovsek + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': + return withoutSuffix || isFuture + ? 'nekaj sekund' + : 'nekaj sekundami'; + case 'ss': + if (number === 1) { + result += withoutSuffix ? 'sekundo' : 'sekundi'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'sekundi' : 'sekundah'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah'; + } else { + result += 'sekund'; + } + return result; + case 'm': + return withoutSuffix ? 'ena minuta' : 'eno minuto'; + case 'mm': + if (number === 1) { + result += withoutSuffix ? 'minuta' : 'minuto'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'minuti' : 'minutama'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'minute' : 'minutami'; + } else { + result += withoutSuffix || isFuture ? 'minut' : 'minutami'; + } + return result; + case 'h': + return withoutSuffix ? 'ena ura' : 'eno uro'; + case 'hh': + if (number === 1) { + result += withoutSuffix ? 'ura' : 'uro'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'uri' : 'urama'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'ure' : 'urami'; + } else { + result += withoutSuffix || isFuture ? 'ur' : 'urami'; + } + return result; + case 'd': + return withoutSuffix || isFuture ? 'en dan' : 'enim dnem'; + case 'dd': + if (number === 1) { + result += withoutSuffix || isFuture ? 'dan' : 'dnem'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'dni' : 'dnevoma'; + } else { + result += withoutSuffix || isFuture ? 'dni' : 'dnevi'; + } + return result; + case 'M': + return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem'; + case 'MM': + if (number === 1) { + result += withoutSuffix || isFuture ? 'mesec' : 'mesecem'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'meseca' : 'mesecema'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'mesece' : 'meseci'; + } else { + result += withoutSuffix || isFuture ? 'mesecev' : 'meseci'; + } + return result; + case 'y': + return withoutSuffix || isFuture ? 'eno leto' : 'enim letom'; + case 'yy': + if (number === 1) { + result += withoutSuffix || isFuture ? 'leto' : 'letom'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'leti' : 'letoma'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'leta' : 'leti'; + } else { + result += withoutSuffix || isFuture ? 'let' : 'leti'; + } + return result; + } + } + + var sl = moment.defineLocale('sl', { + months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split( + '_' + ), + monthsShort: + 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'), + weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'), + weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD. MM. YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[danes ob] LT', + nextDay: '[jutri ob] LT', + + nextWeek: function () { + switch (this.day()) { + case 0: + return '[v] [nedeljo] [ob] LT'; + case 3: + return '[v] [sredo] [ob] LT'; + case 6: + return '[v] [soboto] [ob] LT'; + case 1: + case 2: + case 4: + case 5: + return '[v] dddd [ob] LT'; + } + }, + lastDay: '[včeraj ob] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[prejšnjo] [nedeljo] [ob] LT'; + case 3: + return '[prejšnjo] [sredo] [ob] LT'; + case 6: + return '[prejšnjo] [soboto] [ob] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prejšnji] dddd [ob] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'čez %s', + past: 'pred %s', + s: processRelativeTime, + ss: processRelativeTime, + m: processRelativeTime, + mm: processRelativeTime, + h: processRelativeTime, + hh: processRelativeTime, + d: processRelativeTime, + dd: processRelativeTime, + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return sl; + +}))); diff --git a/node_modules/moment/locale/sq.js b/node_modules/moment/locale/sq.js new file mode 100644 index 0000000..154e3d6 --- /dev/null +++ b/node_modules/moment/locale/sq.js @@ -0,0 +1,76 @@ +//! moment.js locale configuration +//! locale : Albanian [sq] +//! author : Flakërim Ismani : https://github.com/flakerimi +//! author : Menelion Elensúle : https://github.com/Oire +//! author : Oerd Cukalla : https://github.com/oerd + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var sq = moment.defineLocale('sq', { + months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split( + '_' + ), + monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'), + weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split( + '_' + ), + weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'), + weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'), + weekdaysParseExact: true, + meridiemParse: /PD|MD/, + isPM: function (input) { + return input.charAt(0) === 'M'; + }, + meridiem: function (hours, minutes, isLower) { + return hours < 12 ? 'PD' : 'MD'; + }, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Sot në] LT', + nextDay: '[Nesër në] LT', + nextWeek: 'dddd [në] LT', + lastDay: '[Dje në] LT', + lastWeek: 'dddd [e kaluar në] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'në %s', + past: '%s më parë', + s: 'disa sekonda', + ss: '%d sekonda', + m: 'një minutë', + mm: '%d minuta', + h: 'një orë', + hh: '%d orë', + d: 'një ditë', + dd: '%d ditë', + M: 'një muaj', + MM: '%d muaj', + y: 'një vit', + yy: '%d vite', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return sq; + +}))); diff --git a/node_modules/moment/locale/sr-cyrl.js b/node_modules/moment/locale/sr-cyrl.js new file mode 100644 index 0000000..9da10fa --- /dev/null +++ b/node_modules/moment/locale/sr-cyrl.js @@ -0,0 +1,138 @@ +//! moment.js locale configuration +//! locale : Serbian Cyrillic [sr-cyrl] +//! author : Milan Janačković : https://github.com/milan-j +//! author : Stefan Crnjaković : https://github.com/crnjakovic + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var translator = { + words: { + //Different grammatical cases + ss: ['секунда', 'секунде', 'секунди'], + m: ['један минут', 'једног минута'], + mm: ['минут', 'минута', 'минута'], + h: ['један сат', 'једног сата'], + hh: ['сат', 'сата', 'сати'], + d: ['један дан', 'једног дана'], + dd: ['дан', 'дана', 'дана'], + M: ['један месец', 'једног месеца'], + MM: ['месец', 'месеца', 'месеци'], + y: ['једну годину', 'једне године'], + yy: ['годину', 'године', 'година'], + }, + correctGrammaticalCase: function (number, wordKey) { + if ( + number % 10 >= 1 && + number % 10 <= 4 && + (number % 100 < 10 || number % 100 >= 20) + ) { + return number % 10 === 1 ? wordKey[0] : wordKey[1]; + } + return wordKey[2]; + }, + translate: function (number, withoutSuffix, key, isFuture) { + var wordKey = translator.words[key], + word; + + if (key.length === 1) { + // Nominativ + if (key === 'y' && withoutSuffix) return 'једна година'; + return isFuture || withoutSuffix ? wordKey[0] : wordKey[1]; + } + + word = translator.correctGrammaticalCase(number, wordKey); + // Nominativ + if (key === 'yy' && withoutSuffix && word === 'годину') { + return number + ' година'; + } + + return number + ' ' + word; + }, + }; + + var srCyrl = moment.defineLocale('sr-cyrl', { + months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split( + '_' + ), + monthsShort: + 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'), + monthsParseExact: true, + weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'), + weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'), + weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D. M. YYYY.', + LL: 'D. MMMM YYYY.', + LLL: 'D. MMMM YYYY. H:mm', + LLLL: 'dddd, D. MMMM YYYY. H:mm', + }, + calendar: { + sameDay: '[данас у] LT', + nextDay: '[сутра у] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[у] [недељу] [у] LT'; + case 3: + return '[у] [среду] [у] LT'; + case 6: + return '[у] [суботу] [у] LT'; + case 1: + case 2: + case 4: + case 5: + return '[у] dddd [у] LT'; + } + }, + lastDay: '[јуче у] LT', + lastWeek: function () { + var lastWeekDays = [ + '[прошле] [недеље] [у] LT', + '[прошлог] [понедељка] [у] LT', + '[прошлог] [уторка] [у] LT', + '[прошле] [среде] [у] LT', + '[прошлог] [четвртка] [у] LT', + '[прошлог] [петка] [у] LT', + '[прошле] [суботе] [у] LT', + ]; + return lastWeekDays[this.day()]; + }, + sameElse: 'L', + }, + relativeTime: { + future: 'за %s', + past: 'пре %s', + s: 'неколико секунди', + ss: translator.translate, + m: translator.translate, + mm: translator.translate, + h: translator.translate, + hh: translator.translate, + d: translator.translate, + dd: translator.translate, + M: translator.translate, + MM: translator.translate, + y: translator.translate, + yy: translator.translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 1st is the first week of the year. + }, + }); + + return srCyrl; + +}))); diff --git a/node_modules/moment/locale/sr.js b/node_modules/moment/locale/sr.js new file mode 100644 index 0000000..8f53e7c --- /dev/null +++ b/node_modules/moment/locale/sr.js @@ -0,0 +1,140 @@ +//! moment.js locale configuration +//! locale : Serbian [sr] +//! author : Milan Janačković : https://github.com/milan-j +//! author : Stefan Crnjaković : https://github.com/crnjakovic + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var translator = { + words: { + //Different grammatical cases + ss: ['sekunda', 'sekunde', 'sekundi'], + m: ['jedan minut', 'jednog minuta'], + mm: ['minut', 'minuta', 'minuta'], + h: ['jedan sat', 'jednog sata'], + hh: ['sat', 'sata', 'sati'], + d: ['jedan dan', 'jednog dana'], + dd: ['dan', 'dana', 'dana'], + M: ['jedan mesec', 'jednog meseca'], + MM: ['mesec', 'meseca', 'meseci'], + y: ['jednu godinu', 'jedne godine'], + yy: ['godinu', 'godine', 'godina'], + }, + correctGrammaticalCase: function (number, wordKey) { + if ( + number % 10 >= 1 && + number % 10 <= 4 && + (number % 100 < 10 || number % 100 >= 20) + ) { + return number % 10 === 1 ? wordKey[0] : wordKey[1]; + } + return wordKey[2]; + }, + translate: function (number, withoutSuffix, key, isFuture) { + var wordKey = translator.words[key], + word; + + if (key.length === 1) { + // Nominativ + if (key === 'y' && withoutSuffix) return 'jedna godina'; + return isFuture || withoutSuffix ? wordKey[0] : wordKey[1]; + } + + word = translator.correctGrammaticalCase(number, wordKey); + // Nominativ + if (key === 'yy' && withoutSuffix && word === 'godinu') { + return number + ' godina'; + } + + return number + ' ' + word; + }, + }; + + var sr = moment.defineLocale('sr', { + months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split( + '_' + ), + monthsShort: + 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), + monthsParseExact: true, + weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split( + '_' + ), + weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D. M. YYYY.', + LL: 'D. MMMM YYYY.', + LLL: 'D. MMMM YYYY. H:mm', + LLLL: 'dddd, D. MMMM YYYY. H:mm', + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sutra u] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedelju] [u] LT'; + case 3: + return '[u] [sredu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay: '[juče u] LT', + lastWeek: function () { + var lastWeekDays = [ + '[prošle] [nedelje] [u] LT', + '[prošlog] [ponedeljka] [u] LT', + '[prošlog] [utorka] [u] LT', + '[prošle] [srede] [u] LT', + '[prošlog] [četvrtka] [u] LT', + '[prošlog] [petka] [u] LT', + '[prošle] [subote] [u] LT', + ]; + return lastWeekDays[this.day()]; + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'pre %s', + s: 'nekoliko sekundi', + ss: translator.translate, + m: translator.translate, + mm: translator.translate, + h: translator.translate, + hh: translator.translate, + d: translator.translate, + dd: translator.translate, + M: translator.translate, + MM: translator.translate, + y: translator.translate, + yy: translator.translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return sr; + +}))); diff --git a/node_modules/moment/locale/ss.js b/node_modules/moment/locale/ss.js new file mode 100644 index 0000000..ce8a657 --- /dev/null +++ b/node_modules/moment/locale/ss.js @@ -0,0 +1,95 @@ +//! moment.js locale configuration +//! locale : siSwati [ss] +//! author : Nicolai Davies : https://github.com/nicolaidavies + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var ss = moment.defineLocale('ss', { + months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split( + '_' + ), + monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'), + weekdays: + 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split( + '_' + ), + weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'), + weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Namuhla nga] LT', + nextDay: '[Kusasa nga] LT', + nextWeek: 'dddd [nga] LT', + lastDay: '[Itolo nga] LT', + lastWeek: 'dddd [leliphelile] [nga] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'nga %s', + past: 'wenteka nga %s', + s: 'emizuzwana lomcane', + ss: '%d mzuzwana', + m: 'umzuzu', + mm: '%d emizuzu', + h: 'lihora', + hh: '%d emahora', + d: 'lilanga', + dd: '%d emalanga', + M: 'inyanga', + MM: '%d tinyanga', + y: 'umnyaka', + yy: '%d iminyaka', + }, + meridiemParse: /ekuseni|emini|entsambama|ebusuku/, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'ekuseni'; + } else if (hours < 15) { + return 'emini'; + } else if (hours < 19) { + return 'entsambama'; + } else { + return 'ebusuku'; + } + }, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ekuseni') { + return hour; + } else if (meridiem === 'emini') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') { + if (hour === 0) { + return 0; + } + return hour + 12; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: '%d', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return ss; + +}))); diff --git a/node_modules/moment/locale/sv.js b/node_modules/moment/locale/sv.js new file mode 100644 index 0000000..5962e87 --- /dev/null +++ b/node_modules/moment/locale/sv.js @@ -0,0 +1,79 @@ +//! moment.js locale configuration +//! locale : Swedish [sv] +//! author : Jens Alm : https://github.com/ulmus + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var sv = moment.defineLocale('sv', { + months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), + weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'), + weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'), + weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [kl.] HH:mm', + LLLL: 'dddd D MMMM YYYY [kl.] HH:mm', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd D MMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Idag] LT', + nextDay: '[Imorgon] LT', + lastDay: '[Igår] LT', + nextWeek: '[På] dddd LT', + lastWeek: '[I] dddd[s] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'om %s', + past: 'för %s sedan', + s: 'några sekunder', + ss: '%d sekunder', + m: 'en minut', + mm: '%d minuter', + h: 'en timme', + hh: '%d timmar', + d: 'en dag', + dd: '%d dagar', + M: 'en månad', + MM: '%d månader', + y: 'ett år', + yy: '%d år', + }, + dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? ':e' + : b === 1 + ? ':a' + : b === 2 + ? ':a' + : b === 3 + ? ':e' + : ':e'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return sv; + +}))); diff --git a/node_modules/moment/locale/sw.js b/node_modules/moment/locale/sw.js new file mode 100644 index 0000000..1a5ac64 --- /dev/null +++ b/node_modules/moment/locale/sw.js @@ -0,0 +1,66 @@ +//! moment.js locale configuration +//! locale : Swahili [sw] +//! author : Fahad Kassim : https://github.com/fadsel + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var sw = moment.defineLocale('sw', { + months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'), + weekdays: + 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split( + '_' + ), + weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'), + weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'hh:mm A', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[leo saa] LT', + nextDay: '[kesho saa] LT', + nextWeek: '[wiki ijayo] dddd [saat] LT', + lastDay: '[jana] LT', + lastWeek: '[wiki iliyopita] dddd [saat] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s baadaye', + past: 'tokea %s', + s: 'hivi punde', + ss: 'sekunde %d', + m: 'dakika moja', + mm: 'dakika %d', + h: 'saa limoja', + hh: 'masaa %d', + d: 'siku moja', + dd: 'siku %d', + M: 'mwezi mmoja', + MM: 'miezi %d', + y: 'mwaka mmoja', + yy: 'miaka %d', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return sw; + +}))); diff --git a/node_modules/moment/locale/ta.js b/node_modules/moment/locale/ta.js new file mode 100644 index 0000000..0f28832 --- /dev/null +++ b/node_modules/moment/locale/ta.js @@ -0,0 +1,142 @@ +//! moment.js locale configuration +//! locale : Tamil [ta] +//! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404 + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '௧', + 2: '௨', + 3: '௩', + 4: '௪', + 5: '௫', + 6: '௬', + 7: '௭', + 8: '௮', + 9: '௯', + 0: '௦', + }, + numberMap = { + '௧': '1', + '௨': '2', + '௩': '3', + '௪': '4', + '௫': '5', + '௬': '6', + '௭': '7', + '௮': '8', + '௯': '9', + '௦': '0', + }; + + var ta = moment.defineLocale('ta', { + months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split( + '_' + ), + monthsShort: + 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split( + '_' + ), + weekdays: + 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split( + '_' + ), + weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split( + '_' + ), + weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, HH:mm', + LLLL: 'dddd, D MMMM YYYY, HH:mm', + }, + calendar: { + sameDay: '[இன்று] LT', + nextDay: '[நாளை] LT', + nextWeek: 'dddd, LT', + lastDay: '[நேற்று] LT', + lastWeek: '[கடந்த வாரம்] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s இல்', + past: '%s முன்', + s: 'ஒரு சில விநாடிகள்', + ss: '%d விநாடிகள்', + m: 'ஒரு நிமிடம்', + mm: '%d நிமிடங்கள்', + h: 'ஒரு மணி நேரம்', + hh: '%d மணி நேரம்', + d: 'ஒரு நாள்', + dd: '%d நாட்கள்', + M: 'ஒரு மாதம்', + MM: '%d மாதங்கள்', + y: 'ஒரு வருடம்', + yy: '%d ஆண்டுகள்', + }, + dayOfMonthOrdinalParse: /\d{1,2}வது/, + ordinal: function (number) { + return number + 'வது'; + }, + preparse: function (string) { + return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // refer http://ta.wikipedia.org/s/1er1 + meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/, + meridiem: function (hour, minute, isLower) { + if (hour < 2) { + return ' யாமம்'; + } else if (hour < 6) { + return ' வைகறை'; // வைகறை + } else if (hour < 10) { + return ' காலை'; // காலை + } else if (hour < 14) { + return ' நண்பகல்'; // நண்பகல் + } else if (hour < 18) { + return ' எற்பாடு'; // எற்பாடு + } else if (hour < 22) { + return ' மாலை'; // மாலை + } else { + return ' யாமம்'; + } + }, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'யாமம்') { + return hour < 2 ? hour : hour + 12; + } else if (meridiem === 'வைகறை' || meridiem === 'காலை') { + return hour; + } else if (meridiem === 'நண்பகல்') { + return hour >= 10 ? hour : hour + 12; + } else { + return hour + 12; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + return ta; + +}))); diff --git a/node_modules/moment/locale/te.js b/node_modules/moment/locale/te.js new file mode 100644 index 0000000..85bab7e --- /dev/null +++ b/node_modules/moment/locale/te.js @@ -0,0 +1,99 @@ +//! moment.js locale configuration +//! locale : Telugu [te] +//! author : Krishna Chaitanya Thota : https://github.com/kcthota + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var te = moment.defineLocale('te', { + months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split( + '_' + ), + monthsShort: + 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split( + '_' + ), + weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'), + weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm', + }, + calendar: { + sameDay: '[నేడు] LT', + nextDay: '[రేపు] LT', + nextWeek: 'dddd, LT', + lastDay: '[నిన్న] LT', + lastWeek: '[గత] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s లో', + past: '%s క్రితం', + s: 'కొన్ని క్షణాలు', + ss: '%d సెకన్లు', + m: 'ఒక నిమిషం', + mm: '%d నిమిషాలు', + h: 'ఒక గంట', + hh: '%d గంటలు', + d: 'ఒక రోజు', + dd: '%d రోజులు', + M: 'ఒక నెల', + MM: '%d నెలలు', + y: 'ఒక సంవత్సరం', + yy: '%d సంవత్సరాలు', + }, + dayOfMonthOrdinalParse: /\d{1,2}వ/, + ordinal: '%dవ', + meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'రాత్రి') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ఉదయం') { + return hour; + } else if (meridiem === 'మధ్యాహ్నం') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'సాయంత్రం') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'రాత్రి'; + } else if (hour < 10) { + return 'ఉదయం'; + } else if (hour < 17) { + return 'మధ్యాహ్నం'; + } else if (hour < 20) { + return 'సాయంత్రం'; + } else { + return 'రాత్రి'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + return te; + +}))); diff --git a/node_modules/moment/locale/tet.js b/node_modules/moment/locale/tet.js new file mode 100644 index 0000000..5c62c6c --- /dev/null +++ b/node_modules/moment/locale/tet.js @@ -0,0 +1,79 @@ +//! moment.js locale configuration +//! locale : Tetun Dili (East Timor) [tet] +//! author : Joshua Brooks : https://github.com/joshbrooks +//! author : Onorio De J. Afonso : https://github.com/marobo +//! author : Sonia Simoes : https://github.com/soniasimoes + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var tet = moment.defineLocale('tet', { + months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split( + '_' + ), + monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), + weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'), + weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'), + weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Ohin iha] LT', + nextDay: '[Aban iha] LT', + nextWeek: 'dddd [iha] LT', + lastDay: '[Horiseik iha] LT', + lastWeek: 'dddd [semana kotuk] [iha] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'iha %s', + past: '%s liuba', + s: 'segundu balun', + ss: 'segundu %d', + m: 'minutu ida', + mm: 'minutu %d', + h: 'oras ida', + hh: 'oras %d', + d: 'loron ida', + dd: 'loron %d', + M: 'fulan ida', + MM: 'fulan %d', + y: 'tinan ida', + yy: 'tinan %d', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return tet; + +}))); diff --git a/node_modules/moment/locale/tg.js b/node_modules/moment/locale/tg.js new file mode 100644 index 0000000..bde72ad --- /dev/null +++ b/node_modules/moment/locale/tg.js @@ -0,0 +1,128 @@ +//! moment.js locale configuration +//! locale : Tajik [tg] +//! author : Orif N. Jr. : https://github.com/orif-jr + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var suffixes = { + 0: '-ум', + 1: '-ум', + 2: '-юм', + 3: '-юм', + 4: '-ум', + 5: '-ум', + 6: '-ум', + 7: '-ум', + 8: '-ум', + 9: '-ум', + 10: '-ум', + 12: '-ум', + 13: '-ум', + 20: '-ум', + 30: '-юм', + 40: '-ум', + 50: '-ум', + 60: '-ум', + 70: '-ум', + 80: '-ум', + 90: '-ум', + 100: '-ум', + }; + + var tg = moment.defineLocale('tg', { + months: { + format: 'январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри'.split( + '_' + ), + standalone: + 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split( + '_' + ), + }, + monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'), + weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split( + '_' + ), + weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'), + weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Имрӯз соати] LT', + nextDay: '[Фардо соати] LT', + lastDay: '[Дирӯз соати] LT', + nextWeek: 'dddd[и] [ҳафтаи оянда соати] LT', + lastWeek: 'dddd[и] [ҳафтаи гузашта соати] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'баъди %s', + past: '%s пеш', + s: 'якчанд сония', + m: 'як дақиқа', + mm: '%d дақиқа', + h: 'як соат', + hh: '%d соат', + d: 'як рӯз', + dd: '%d рӯз', + M: 'як моҳ', + MM: '%d моҳ', + y: 'як сол', + yy: '%d сол', + }, + meridiemParse: /шаб|субҳ|рӯз|бегоҳ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'шаб') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'субҳ') { + return hour; + } else if (meridiem === 'рӯз') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'бегоҳ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'шаб'; + } else if (hour < 11) { + return 'субҳ'; + } else if (hour < 16) { + return 'рӯз'; + } else if (hour < 19) { + return 'бегоҳ'; + } else { + return 'шаб'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ум|юм)/, + ordinal: function (number) { + var a = number % 10, + b = number >= 100 ? 100 : null; + return number + (suffixes[number] || suffixes[a] || suffixes[b]); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 1th is the first week of the year. + }, + }); + + return tg; + +}))); diff --git a/node_modules/moment/locale/th.js b/node_modules/moment/locale/th.js new file mode 100644 index 0000000..f83bad9 --- /dev/null +++ b/node_modules/moment/locale/th.js @@ -0,0 +1,76 @@ +//! moment.js locale configuration +//! locale : Thai [th] +//! author : Kridsada Thanabulpong : https://github.com/sirn + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var th = moment.defineLocale('th', { + months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split( + '_' + ), + monthsShort: + 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'), + weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference + weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY เวลา H:mm', + LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm', + }, + meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/, + isPM: function (input) { + return input === 'หลังเที่ยง'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ก่อนเที่ยง'; + } else { + return 'หลังเที่ยง'; + } + }, + calendar: { + sameDay: '[วันนี้ เวลา] LT', + nextDay: '[พรุ่งนี้ เวลา] LT', + nextWeek: 'dddd[หน้า เวลา] LT', + lastDay: '[เมื่อวานนี้ เวลา] LT', + lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'อีก %s', + past: '%sที่แล้ว', + s: 'ไม่กี่วินาที', + ss: '%d วินาที', + m: '1 นาที', + mm: '%d นาที', + h: '1 ชั่วโมง', + hh: '%d ชั่วโมง', + d: '1 วัน', + dd: '%d วัน', + w: '1 สัปดาห์', + ww: '%d สัปดาห์', + M: '1 เดือน', + MM: '%d เดือน', + y: '1 ปี', + yy: '%d ปี', + }, + }); + + return th; + +}))); diff --git a/node_modules/moment/locale/tk.js b/node_modules/moment/locale/tk.js new file mode 100644 index 0000000..24d4ede --- /dev/null +++ b/node_modules/moment/locale/tk.js @@ -0,0 +1,102 @@ +//! moment.js locale configuration +//! locale : Turkmen [tk] +//! author : Atamyrat Abdyrahmanov : https://github.com/atamyratabdy + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var suffixes = { + 1: "'inji", + 5: "'inji", + 8: "'inji", + 70: "'inji", + 80: "'inji", + 2: "'nji", + 7: "'nji", + 20: "'nji", + 50: "'nji", + 3: "'ünji", + 4: "'ünji", + 100: "'ünji", + 6: "'njy", + 9: "'unjy", + 10: "'unjy", + 30: "'unjy", + 60: "'ynjy", + 90: "'ynjy", + }; + + var tk = moment.defineLocale('tk', { + months: 'Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr'.split( + '_' + ), + monthsShort: 'Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek'.split('_'), + weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe'.split( + '_' + ), + weekdaysShort: 'Ýek_Duş_Siş_Çar_Pen_Ann_Şen'.split('_'), + weekdaysMin: 'Ýk_Dş_Sş_Çr_Pn_An_Şn'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[bugün sagat] LT', + nextDay: '[ertir sagat] LT', + nextWeek: '[indiki] dddd [sagat] LT', + lastDay: '[düýn] LT', + lastWeek: '[geçen] dddd [sagat] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s soň', + past: '%s öň', + s: 'birnäçe sekunt', + m: 'bir minut', + mm: '%d minut', + h: 'bir sagat', + hh: '%d sagat', + d: 'bir gün', + dd: '%d gün', + M: 'bir aý', + MM: '%d aý', + y: 'bir ýyl', + yy: '%d ýyl', + }, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'Do': + case 'DD': + return number; + default: + if (number === 0) { + // special case for zero + return number + "'unjy"; + } + var a = number % 10, + b = (number % 100) - a, + c = number >= 100 ? 100 : null; + return number + (suffixes[a] || suffixes[b] || suffixes[c]); + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return tk; + +}))); diff --git a/node_modules/moment/locale/tl-ph.js b/node_modules/moment/locale/tl-ph.js new file mode 100644 index 0000000..871b078 --- /dev/null +++ b/node_modules/moment/locale/tl-ph.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : Tagalog (Philippines) [tl-ph] +//! author : Dan Hagman : https://github.com/hagmandan + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var tlPh = moment.defineLocale('tl-ph', { + months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split( + '_' + ), + monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), + weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split( + '_' + ), + weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), + weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'MM/D/YYYY', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY HH:mm', + LLLL: 'dddd, MMMM DD, YYYY HH:mm', + }, + calendar: { + sameDay: 'LT [ngayong araw]', + nextDay: '[Bukas ng] LT', + nextWeek: 'LT [sa susunod na] dddd', + lastDay: 'LT [kahapon]', + lastWeek: 'LT [noong nakaraang] dddd', + sameElse: 'L', + }, + relativeTime: { + future: 'sa loob ng %s', + past: '%s ang nakalipas', + s: 'ilang segundo', + ss: '%d segundo', + m: 'isang minuto', + mm: '%d minuto', + h: 'isang oras', + hh: '%d oras', + d: 'isang araw', + dd: '%d araw', + M: 'isang buwan', + MM: '%d buwan', + y: 'isang taon', + yy: '%d taon', + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: function (number) { + return number; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return tlPh; + +}))); diff --git a/node_modules/moment/locale/tlh.js b/node_modules/moment/locale/tlh.js new file mode 100644 index 0000000..ed61731 --- /dev/null +++ b/node_modules/moment/locale/tlh.js @@ -0,0 +1,135 @@ +//! moment.js locale configuration +//! locale : Klingon [tlh] +//! author : Dominika Kruk : https://github.com/amaranthrose + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_'); + + function translateFuture(output) { + var time = output; + time = + output.indexOf('jaj') !== -1 + ? time.slice(0, -3) + 'leS' + : output.indexOf('jar') !== -1 + ? time.slice(0, -3) + 'waQ' + : output.indexOf('DIS') !== -1 + ? time.slice(0, -3) + 'nem' + : time + ' pIq'; + return time; + } + + function translatePast(output) { + var time = output; + time = + output.indexOf('jaj') !== -1 + ? time.slice(0, -3) + 'Hu’' + : output.indexOf('jar') !== -1 + ? time.slice(0, -3) + 'wen' + : output.indexOf('DIS') !== -1 + ? time.slice(0, -3) + 'ben' + : time + ' ret'; + return time; + } + + function translate(number, withoutSuffix, string, isFuture) { + var numberNoun = numberAsNoun(number); + switch (string) { + case 'ss': + return numberNoun + ' lup'; + case 'mm': + return numberNoun + ' tup'; + case 'hh': + return numberNoun + ' rep'; + case 'dd': + return numberNoun + ' jaj'; + case 'MM': + return numberNoun + ' jar'; + case 'yy': + return numberNoun + ' DIS'; + } + } + + function numberAsNoun(number) { + var hundred = Math.floor((number % 1000) / 100), + ten = Math.floor((number % 100) / 10), + one = number % 10, + word = ''; + if (hundred > 0) { + word += numbersNouns[hundred] + 'vatlh'; + } + if (ten > 0) { + word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH'; + } + if (one > 0) { + word += (word !== '' ? ' ' : '') + numbersNouns[one]; + } + return word === '' ? 'pagh' : word; + } + + var tlh = moment.defineLocale('tlh', { + months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split( + '_' + ), + monthsShort: + 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split( + '_' + ), + weekdaysShort: + 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + weekdaysMin: + 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[DaHjaj] LT', + nextDay: '[wa’leS] LT', + nextWeek: 'LLL', + lastDay: '[wa’Hu’] LT', + lastWeek: 'LLL', + sameElse: 'L', + }, + relativeTime: { + future: translateFuture, + past: translatePast, + s: 'puS lup', + ss: translate, + m: 'wa’ tup', + mm: translate, + h: 'wa’ rep', + hh: translate, + d: 'wa’ jaj', + dd: translate, + M: 'wa’ jar', + MM: translate, + y: 'wa’ DIS', + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return tlh; + +}))); diff --git a/node_modules/moment/locale/tr.js b/node_modules/moment/locale/tr.js new file mode 100644 index 0000000..663778e --- /dev/null +++ b/node_modules/moment/locale/tr.js @@ -0,0 +1,117 @@ +//! moment.js locale configuration +//! locale : Turkish [tr] +//! authors : Erhan Gundogan : https://github.com/erhangundogan, +//! Burak Yiğit Kaya: https://github.com/BYK + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var suffixes = { + 1: "'inci", + 5: "'inci", + 8: "'inci", + 70: "'inci", + 80: "'inci", + 2: "'nci", + 7: "'nci", + 20: "'nci", + 50: "'nci", + 3: "'üncü", + 4: "'üncü", + 100: "'üncü", + 6: "'ncı", + 9: "'uncu", + 10: "'uncu", + 30: "'uncu", + 60: "'ıncı", + 90: "'ıncı", + }; + + var tr = moment.defineLocale('tr', { + months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split( + '_' + ), + monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'), + weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split( + '_' + ), + weekdaysShort: 'Paz_Pzt_Sal_Çar_Per_Cum_Cmt'.split('_'), + weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'), + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'öö' : 'ÖÖ'; + } else { + return isLower ? 'ös' : 'ÖS'; + } + }, + meridiemParse: /öö|ÖÖ|ös|ÖS/, + isPM: function (input) { + return input === 'ös' || input === 'ÖS'; + }, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[bugün saat] LT', + nextDay: '[yarın saat] LT', + nextWeek: '[gelecek] dddd [saat] LT', + lastDay: '[dün] LT', + lastWeek: '[geçen] dddd [saat] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s sonra', + past: '%s önce', + s: 'birkaç saniye', + ss: '%d saniye', + m: 'bir dakika', + mm: '%d dakika', + h: 'bir saat', + hh: '%d saat', + d: 'bir gün', + dd: '%d gün', + w: 'bir hafta', + ww: '%d hafta', + M: 'bir ay', + MM: '%d ay', + y: 'bir yıl', + yy: '%d yıl', + }, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'Do': + case 'DD': + return number; + default: + if (number === 0) { + // special case for zero + return number + "'ıncı"; + } + var a = number % 10, + b = (number % 100) - a, + c = number >= 100 ? 100 : null; + return number + (suffixes[a] || suffixes[b] || suffixes[c]); + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return tr; + +}))); diff --git a/node_modules/moment/locale/tzl.js b/node_modules/moment/locale/tzl.js new file mode 100644 index 0000000..43ad139 --- /dev/null +++ b/node_modules/moment/locale/tzl.js @@ -0,0 +1,100 @@ +//! moment.js locale configuration +//! locale : Talossan [tzl] +//! author : Robin van der Vliet : https://github.com/robin0van0der0v +//! author : Iustì Canun + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals. + // This is currently too difficult (maybe even impossible) to add. + var tzl = moment.defineLocale('tzl', { + months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split( + '_' + ), + monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'), + weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'), + weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'), + weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM [dallas] YYYY', + LLL: 'D. MMMM [dallas] YYYY HH.mm', + LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm', + }, + meridiemParse: /d\'o|d\'a/i, + isPM: function (input) { + return "d'o" === input.toLowerCase(); + }, + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? "d'o" : "D'O"; + } else { + return isLower ? "d'a" : "D'A"; + } + }, + calendar: { + sameDay: '[oxhi à] LT', + nextDay: '[demà à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[ieiri à] LT', + lastWeek: '[sür el] dddd [lasteu à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'osprei %s', + past: 'ja%s', + s: processRelativeTime, + ss: processRelativeTime, + m: processRelativeTime, + mm: processRelativeTime, + h: processRelativeTime, + hh: processRelativeTime, + d: processRelativeTime, + dd: processRelativeTime, + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + s: ['viensas secunds', "'iensas secunds"], + ss: [number + ' secunds', '' + number + ' secunds'], + m: ["'n míut", "'iens míut"], + mm: [number + ' míuts', '' + number + ' míuts'], + h: ["'n þora", "'iensa þora"], + hh: [number + ' þoras', '' + number + ' þoras'], + d: ["'n ziua", "'iensa ziua"], + dd: [number + ' ziuas', '' + number + ' ziuas'], + M: ["'n mes", "'iens mes"], + MM: [number + ' mesen', '' + number + ' mesen'], + y: ["'n ar", "'iens ar"], + yy: [number + ' ars', '' + number + ' ars'], + }; + return isFuture + ? format[key][0] + : withoutSuffix + ? format[key][0] + : format[key][1]; + } + + return tzl; + +}))); diff --git a/node_modules/moment/locale/tzm-latn.js b/node_modules/moment/locale/tzm-latn.js new file mode 100644 index 0000000..34425a7 --- /dev/null +++ b/node_modules/moment/locale/tzm-latn.js @@ -0,0 +1,65 @@ +//! moment.js locale configuration +//! locale : Central Atlas Tamazight Latin [tzm-latn] +//! author : Abdel Said : https://github.com/abdelsaid + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var tzmLatn = moment.defineLocale('tzm-latn', { + months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split( + '_' + ), + monthsShort: + 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split( + '_' + ), + weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[asdkh g] LT', + nextDay: '[aska g] LT', + nextWeek: 'dddd [g] LT', + lastDay: '[assant g] LT', + lastWeek: 'dddd [g] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dadkh s yan %s', + past: 'yan %s', + s: 'imik', + ss: '%d imik', + m: 'minuḍ', + mm: '%d minuḍ', + h: 'saɛa', + hh: '%d tassaɛin', + d: 'ass', + dd: '%d ossan', + M: 'ayowr', + MM: '%d iyyirn', + y: 'asgas', + yy: '%d isgasn', + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + return tzmLatn; + +}))); diff --git a/node_modules/moment/locale/tzm.js b/node_modules/moment/locale/tzm.js new file mode 100644 index 0000000..5db61f9 --- /dev/null +++ b/node_modules/moment/locale/tzm.js @@ -0,0 +1,65 @@ +//! moment.js locale configuration +//! locale : Central Atlas Tamazight [tzm] +//! author : Abdel Said : https://github.com/abdelsaid + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var tzm = moment.defineLocale('tzm', { + months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split( + '_' + ), + monthsShort: + 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split( + '_' + ), + weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[ⴰⵙⴷⵅ ⴴ] LT', + nextDay: '[ⴰⵙⴽⴰ ⴴ] LT', + nextWeek: 'dddd [ⴴ] LT', + lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT', + lastWeek: 'dddd [ⴴ] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s', + past: 'ⵢⴰⵏ %s', + s: 'ⵉⵎⵉⴽ', + ss: '%d ⵉⵎⵉⴽ', + m: 'ⵎⵉⵏⵓⴺ', + mm: '%d ⵎⵉⵏⵓⴺ', + h: 'ⵙⴰⵄⴰ', + hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ', + d: 'ⴰⵙⵙ', + dd: '%d oⵙⵙⴰⵏ', + M: 'ⴰⵢoⵓⵔ', + MM: '%d ⵉⵢⵢⵉⵔⵏ', + y: 'ⴰⵙⴳⴰⵙ', + yy: '%d ⵉⵙⴳⴰⵙⵏ', + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + return tzm; + +}))); diff --git a/node_modules/moment/locale/ug-cn.js b/node_modules/moment/locale/ug-cn.js new file mode 100644 index 0000000..5efffdd --- /dev/null +++ b/node_modules/moment/locale/ug-cn.js @@ -0,0 +1,122 @@ +//! moment.js locale configuration +//! locale : Uyghur (China) [ug-cn] +//! author: boyaq : https://github.com/boyaq + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var ugCn = moment.defineLocale('ug-cn', { + months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split( + '_' + ), + monthsShort: + 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split( + '_' + ), + weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split( + '_' + ), + weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'), + weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى', + LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm', + LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm', + }, + meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + meridiem === 'يېرىم كېچە' || + meridiem === 'سەھەر' || + meridiem === 'چۈشتىن بۇرۇن' + ) { + return hour; + } else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') { + return hour + 12; + } else { + return hour >= 11 ? hour : hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return 'يېرىم كېچە'; + } else if (hm < 900) { + return 'سەھەر'; + } else if (hm < 1130) { + return 'چۈشتىن بۇرۇن'; + } else if (hm < 1230) { + return 'چۈش'; + } else if (hm < 1800) { + return 'چۈشتىن كېيىن'; + } else { + return 'كەچ'; + } + }, + calendar: { + sameDay: '[بۈگۈن سائەت] LT', + nextDay: '[ئەتە سائەت] LT', + nextWeek: '[كېلەركى] dddd [سائەت] LT', + lastDay: '[تۆنۈگۈن] LT', + lastWeek: '[ئالدىنقى] dddd [سائەت] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s كېيىن', + past: '%s بۇرۇن', + s: 'نەچچە سېكونت', + ss: '%d سېكونت', + m: 'بىر مىنۇت', + mm: '%d مىنۇت', + h: 'بىر سائەت', + hh: '%d سائەت', + d: 'بىر كۈن', + dd: '%d كۈن', + M: 'بىر ئاي', + MM: '%d ئاي', + y: 'بىر يىل', + yy: '%d يىل', + }, + + dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '-كۈنى'; + case 'w': + case 'W': + return number + '-ھەپتە'; + default: + return number; + } + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效 + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 1st is the first week of the year. + }, + }); + + return ugCn; + +}))); diff --git a/node_modules/moment/locale/uk.js b/node_modules/moment/locale/uk.js new file mode 100644 index 0000000..f5fd352 --- /dev/null +++ b/node_modules/moment/locale/uk.js @@ -0,0 +1,178 @@ +//! moment.js locale configuration +//! locale : Ukrainian [uk] +//! author : zemlanin : https://github.com/zemlanin +//! Author : Menelion Elensúle : https://github.com/Oire + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 + ? forms[0] + : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) + ? forms[1] + : forms[2]; + } + function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд', + mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин', + hh: withoutSuffix ? 'година_години_годин' : 'годину_години_годин', + dd: 'день_дні_днів', + MM: 'місяць_місяці_місяців', + yy: 'рік_роки_років', + }; + if (key === 'm') { + return withoutSuffix ? 'хвилина' : 'хвилину'; + } else if (key === 'h') { + return withoutSuffix ? 'година' : 'годину'; + } else { + return number + ' ' + plural(format[key], +number); + } + } + function weekdaysCaseReplace(m, format) { + var weekdays = { + nominative: + 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split( + '_' + ), + accusative: + 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split( + '_' + ), + genitive: + 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split( + '_' + ), + }, + nounCase; + + if (m === true) { + return weekdays['nominative'] + .slice(1, 7) + .concat(weekdays['nominative'].slice(0, 1)); + } + if (!m) { + return weekdays['nominative']; + } + + nounCase = /(\[[ВвУу]\]) ?dddd/.test(format) + ? 'accusative' + : /\[?(?:минулої|наступної)? ?\] ?dddd/.test(format) + ? 'genitive' + : 'nominative'; + return weekdays[nounCase][m.day()]; + } + function processHoursFunction(str) { + return function () { + return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT'; + }; + } + + var uk = moment.defineLocale('uk', { + months: { + format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split( + '_' + ), + standalone: + 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split( + '_' + ), + }, + monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split( + '_' + ), + weekdays: weekdaysCaseReplace, + weekdaysShort: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY р.', + LLL: 'D MMMM YYYY р., HH:mm', + LLLL: 'dddd, D MMMM YYYY р., HH:mm', + }, + calendar: { + sameDay: processHoursFunction('[Сьогодні '), + nextDay: processHoursFunction('[Завтра '), + lastDay: processHoursFunction('[Вчора '), + nextWeek: processHoursFunction('[У] dddd ['), + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 5: + case 6: + return processHoursFunction('[Минулої] dddd [').call(this); + case 1: + case 2: + case 4: + return processHoursFunction('[Минулого] dddd [').call(this); + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'за %s', + past: '%s тому', + s: 'декілька секунд', + ss: relativeTimeWithPlural, + m: relativeTimeWithPlural, + mm: relativeTimeWithPlural, + h: 'годину', + hh: relativeTimeWithPlural, + d: 'день', + dd: relativeTimeWithPlural, + M: 'місяць', + MM: relativeTimeWithPlural, + y: 'рік', + yy: relativeTimeWithPlural, + }, + // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason + meridiemParse: /ночі|ранку|дня|вечора/, + isPM: function (input) { + return /^(дня|вечора)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ночі'; + } else if (hour < 12) { + return 'ранку'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечора'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + case 'w': + case 'W': + return number + '-й'; + case 'D': + return number + '-го'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return uk; + +}))); diff --git a/node_modules/moment/locale/ur.js b/node_modules/moment/locale/ur.js new file mode 100644 index 0000000..9720dcf --- /dev/null +++ b/node_modules/moment/locale/ur.js @@ -0,0 +1,93 @@ +//! moment.js locale configuration +//! locale : Urdu [ur] +//! author : Sawood Alam : https://github.com/ibnesayeed +//! author : Zack : https://github.com/ZackVision + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var months = [ + 'جنوری', + 'فروری', + 'مارچ', + 'اپریل', + 'مئی', + 'جون', + 'جولائی', + 'اگست', + 'ستمبر', + 'اکتوبر', + 'نومبر', + 'دسمبر', + ], + days = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ']; + + var ur = moment.defineLocale('ur', { + months: months, + monthsShort: months, + weekdays: days, + weekdaysShort: days, + weekdaysMin: days, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd، D MMMM YYYY HH:mm', + }, + meridiemParse: /صبح|شام/, + isPM: function (input) { + return 'شام' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'صبح'; + } + return 'شام'; + }, + calendar: { + sameDay: '[آج بوقت] LT', + nextDay: '[کل بوقت] LT', + nextWeek: 'dddd [بوقت] LT', + lastDay: '[گذشتہ روز بوقت] LT', + lastWeek: '[گذشتہ] dddd [بوقت] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s بعد', + past: '%s قبل', + s: 'چند سیکنڈ', + ss: '%d سیکنڈ', + m: 'ایک منٹ', + mm: '%d منٹ', + h: 'ایک گھنٹہ', + hh: '%d گھنٹے', + d: 'ایک دن', + dd: '%d دن', + M: 'ایک ماہ', + MM: '%d ماہ', + y: 'ایک سال', + yy: '%d سال', + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return ur; + +}))); diff --git a/node_modules/moment/locale/uz-latn.js b/node_modules/moment/locale/uz-latn.js new file mode 100644 index 0000000..af08e60 --- /dev/null +++ b/node_modules/moment/locale/uz-latn.js @@ -0,0 +1,65 @@ +//! moment.js locale configuration +//! locale : Uzbek Latin [uz-latn] +//! author : Rasulbek Mirzayev : github.com/Rasulbeeek + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var uzLatn = moment.defineLocale('uz-latn', { + months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split( + '_' + ), + monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'), + weekdays: + 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split( + '_' + ), + weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'), + weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'D MMMM YYYY, dddd HH:mm', + }, + calendar: { + sameDay: '[Bugun soat] LT [da]', + nextDay: '[Ertaga] LT [da]', + nextWeek: 'dddd [kuni soat] LT [da]', + lastDay: '[Kecha soat] LT [da]', + lastWeek: "[O'tgan] dddd [kuni soat] LT [da]", + sameElse: 'L', + }, + relativeTime: { + future: 'Yaqin %s ichida', + past: 'Bir necha %s oldin', + s: 'soniya', + ss: '%d soniya', + m: 'bir daqiqa', + mm: '%d daqiqa', + h: 'bir soat', + hh: '%d soat', + d: 'bir kun', + dd: '%d kun', + M: 'bir oy', + MM: '%d oy', + y: 'bir yil', + yy: '%d yil', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return uzLatn; + +}))); diff --git a/node_modules/moment/locale/uz.js b/node_modules/moment/locale/uz.js new file mode 100644 index 0000000..a8a87fc --- /dev/null +++ b/node_modules/moment/locale/uz.js @@ -0,0 +1,62 @@ +//! moment.js locale configuration +//! locale : Uzbek [uz] +//! author : Sardor Muminov : https://github.com/muminoff + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var uz = moment.defineLocale('uz', { + months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split( + '_' + ), + monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'), + weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'), + weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'), + weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'D MMMM YYYY, dddd HH:mm', + }, + calendar: { + sameDay: '[Бугун соат] LT [да]', + nextDay: '[Эртага] LT [да]', + nextWeek: 'dddd [куни соат] LT [да]', + lastDay: '[Кеча соат] LT [да]', + lastWeek: '[Утган] dddd [куни соат] LT [да]', + sameElse: 'L', + }, + relativeTime: { + future: 'Якин %s ичида', + past: 'Бир неча %s олдин', + s: 'фурсат', + ss: '%d фурсат', + m: 'бир дакика', + mm: '%d дакика', + h: 'бир соат', + hh: '%d соат', + d: 'бир кун', + dd: '%d кун', + M: 'бир ой', + MM: '%d ой', + y: 'бир йил', + yy: '%d йил', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return uz; + +}))); diff --git a/node_modules/moment/locale/vi.js b/node_modules/moment/locale/vi.js new file mode 100644 index 0000000..fb6b4b4 --- /dev/null +++ b/node_modules/moment/locale/vi.js @@ -0,0 +1,91 @@ +//! moment.js locale configuration +//! locale : Vietnamese [vi] +//! author : Bang Nguyen : https://github.com/bangnk +//! author : Chien Kira : https://github.com/chienkira + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var vi = moment.defineLocale('vi', { + months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split( + '_' + ), + monthsShort: + 'Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split( + '_' + ), + weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'), + weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'), + weekdaysParseExact: true, + meridiemParse: /sa|ch/i, + isPM: function (input) { + return /^ch$/i.test(input); + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'sa' : 'SA'; + } else { + return isLower ? 'ch' : 'CH'; + } + }, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [năm] YYYY', + LLL: 'D MMMM [năm] YYYY HH:mm', + LLLL: 'dddd, D MMMM [năm] YYYY HH:mm', + l: 'DD/M/YYYY', + ll: 'D MMM YYYY', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd, D MMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Hôm nay lúc] LT', + nextDay: '[Ngày mai lúc] LT', + nextWeek: 'dddd [tuần tới lúc] LT', + lastDay: '[Hôm qua lúc] LT', + lastWeek: 'dddd [tuần trước lúc] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s tới', + past: '%s trước', + s: 'vài giây', + ss: '%d giây', + m: 'một phút', + mm: '%d phút', + h: 'một giờ', + hh: '%d giờ', + d: 'một ngày', + dd: '%d ngày', + w: 'một tuần', + ww: '%d tuần', + M: 'một tháng', + MM: '%d tháng', + y: 'một năm', + yy: '%d năm', + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: function (number) { + return number; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return vi; + +}))); diff --git a/node_modules/moment/locale/x-pseudo.js b/node_modules/moment/locale/x-pseudo.js new file mode 100644 index 0000000..a46e1d7 --- /dev/null +++ b/node_modules/moment/locale/x-pseudo.js @@ -0,0 +1,84 @@ +//! moment.js locale configuration +//! locale : Pseudo [x-pseudo] +//! author : Andrew Hood : https://github.com/andrewhood125 + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var xPseudo = moment.defineLocale('x-pseudo', { + months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split( + '_' + ), + monthsShort: + 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split( + '_' + ), + weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'), + weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[T~ódá~ý át] LT', + nextDay: '[T~ómó~rró~w át] LT', + nextWeek: 'dddd [át] LT', + lastDay: '[Ý~ést~érdá~ý át] LT', + lastWeek: '[L~ást] dddd [át] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'í~ñ %s', + past: '%s á~gó', + s: 'á ~féw ~sécó~ñds', + ss: '%d s~écóñ~ds', + m: 'á ~míñ~úté', + mm: '%d m~íñú~tés', + h: 'á~ñ hó~úr', + hh: '%d h~óúrs', + d: 'á ~dáý', + dd: '%d d~áýs', + M: 'á ~móñ~th', + MM: '%d m~óñt~hs', + y: 'á ~ýéár', + yy: '%d ý~éárs', + }, + dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return xPseudo; + +}))); diff --git a/node_modules/moment/locale/yo.js b/node_modules/moment/locale/yo.js new file mode 100644 index 0000000..9fe818b --- /dev/null +++ b/node_modules/moment/locale/yo.js @@ -0,0 +1,64 @@ +//! moment.js locale configuration +//! locale : Yoruba Nigeria [yo] +//! author : Atolagbe Abisoye : https://github.com/andela-batolagbe + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var yo = moment.defineLocale('yo', { + months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split( + '_' + ), + monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'), + weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'), + weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'), + weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Ònì ni] LT', + nextDay: '[Ọ̀la ni] LT', + nextWeek: "dddd [Ọsẹ̀ tón'bọ] [ni] LT", + lastDay: '[Àna ni] LT', + lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ní %s', + past: '%s kọjá', + s: 'ìsẹjú aayá die', + ss: 'aayá %d', + m: 'ìsẹjú kan', + mm: 'ìsẹjú %d', + h: 'wákati kan', + hh: 'wákati %d', + d: 'ọjọ́ kan', + dd: 'ọjọ́ %d', + M: 'osù kan', + MM: 'osù %d', + y: 'ọdún kan', + yy: 'ọdún %d', + }, + dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/, + ordinal: 'ọjọ́ %d', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return yo; + +}))); diff --git a/node_modules/moment/locale/zh-cn.js b/node_modules/moment/locale/zh-cn.js new file mode 100644 index 0000000..c14ca47 --- /dev/null +++ b/node_modules/moment/locale/zh-cn.js @@ -0,0 +1,131 @@ +//! moment.js locale configuration +//! locale : Chinese (China) [zh-cn] +//! author : suupic : https://github.com/suupic +//! author : Zeno Zeng : https://github.com/zenozeng +//! author : uu109 : https://github.com/uu109 + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var zhCn = moment.defineLocale('zh-cn', { + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_' + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日Ah点mm分', + LLLL: 'YYYY年M月D日ddddAh点mm分', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm', + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } else { + // '中午' + return hour >= 11 ? hour : hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar: { + sameDay: '[今天]LT', + nextDay: '[明天]LT', + nextWeek: function (now) { + if (now.week() !== this.week()) { + return '[下]dddLT'; + } else { + return '[本]dddLT'; + } + }, + lastDay: '[昨天]LT', + lastWeek: function (now) { + if (this.week() !== now.week()) { + return '[上]dddLT'; + } else { + return '[本]dddLT'; + } + }, + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '周'; + default: + return number; + } + }, + relativeTime: { + future: '%s后', + past: '%s前', + s: '几秒', + ss: '%d 秒', + m: '1 分钟', + mm: '%d 分钟', + h: '1 小时', + hh: '%d 小时', + d: '1 天', + dd: '%d 天', + w: '1 周', + ww: '%d 周', + M: '1 个月', + MM: '%d 个月', + y: '1 年', + yy: '%d 年', + }, + week: { + // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效 + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return zhCn; + +}))); diff --git a/node_modules/moment/locale/zh-hk.js b/node_modules/moment/locale/zh-hk.js new file mode 100644 index 0000000..de900fd --- /dev/null +++ b/node_modules/moment/locale/zh-hk.js @@ -0,0 +1,112 @@ +//! moment.js locale configuration +//! locale : Chinese (Hong Kong) [zh-hk] +//! author : Ben : https://github.com/ben-lin +//! author : Chris Lam : https://github.com/hehachris +//! author : Konstantin : https://github.com/skfd +//! author : Anthony : https://github.com/anthonylau + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var zhHk = moment.defineLocale('zh-hk', { + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_' + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日dddd HH:mm', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm', + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '中午') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1200) { + return '上午'; + } else if (hm === 1200) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar: { + sameDay: '[今天]LT', + nextDay: '[明天]LT', + nextWeek: '[下]ddddLT', + lastDay: '[昨天]LT', + lastWeek: '[上]ddddLT', + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '週'; + default: + return number; + } + }, + relativeTime: { + future: '%s後', + past: '%s前', + s: '幾秒', + ss: '%d 秒', + m: '1 分鐘', + mm: '%d 分鐘', + h: '1 小時', + hh: '%d 小時', + d: '1 天', + dd: '%d 天', + M: '1 個月', + MM: '%d 個月', + y: '1 年', + yy: '%d 年', + }, + }); + + return zhHk; + +}))); diff --git a/node_modules/moment/locale/zh-mo.js b/node_modules/moment/locale/zh-mo.js new file mode 100644 index 0000000..b32feab --- /dev/null +++ b/node_modules/moment/locale/zh-mo.js @@ -0,0 +1,111 @@ +//! moment.js locale configuration +//! locale : Chinese (Macau) [zh-mo] +//! author : Ben : https://github.com/ben-lin +//! author : Chris Lam : https://github.com/hehachris +//! author : Tan Yuanhong : https://github.com/le0tan + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var zhMo = moment.defineLocale('zh-mo', { + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_' + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日dddd HH:mm', + l: 'D/M/YYYY', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm', + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '中午') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar: { + sameDay: '[今天] LT', + nextDay: '[明天] LT', + nextWeek: '[下]dddd LT', + lastDay: '[昨天] LT', + lastWeek: '[上]dddd LT', + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '週'; + default: + return number; + } + }, + relativeTime: { + future: '%s內', + past: '%s前', + s: '幾秒', + ss: '%d 秒', + m: '1 分鐘', + mm: '%d 分鐘', + h: '1 小時', + hh: '%d 小時', + d: '1 天', + dd: '%d 天', + M: '1 個月', + MM: '%d 個月', + y: '1 年', + yy: '%d 年', + }, + }); + + return zhMo; + +}))); diff --git a/node_modules/moment/locale/zh-tw.js b/node_modules/moment/locale/zh-tw.js new file mode 100644 index 0000000..4f80ece --- /dev/null +++ b/node_modules/moment/locale/zh-tw.js @@ -0,0 +1,110 @@ +//! moment.js locale configuration +//! locale : Chinese (Taiwan) [zh-tw] +//! author : Ben : https://github.com/ben-lin +//! author : Chris Lam : https://github.com/hehachris + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var zhTw = moment.defineLocale('zh-tw', { + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_' + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日dddd HH:mm', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm', + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '中午') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar: { + sameDay: '[今天] LT', + nextDay: '[明天] LT', + nextWeek: '[下]dddd LT', + lastDay: '[昨天] LT', + lastWeek: '[上]dddd LT', + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '週'; + default: + return number; + } + }, + relativeTime: { + future: '%s後', + past: '%s前', + s: '幾秒', + ss: '%d 秒', + m: '1 分鐘', + mm: '%d 分鐘', + h: '1 小時', + hh: '%d 小時', + d: '1 天', + dd: '%d 天', + M: '1 個月', + MM: '%d 個月', + y: '1 年', + yy: '%d 年', + }, + }); + + return zhTw; + +}))); diff --git a/node_modules/moment/min/locales.js b/node_modules/moment/min/locales.js new file mode 100644 index 0000000..19ba0f9 --- /dev/null +++ b/node_modules/moment/min/locales.js @@ -0,0 +1,12800 @@ +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + moment.defineLocale('af', { + months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'), + weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split( + '_' + ), + weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'), + weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'), + meridiemParse: /vm|nm/i, + isPM: function (input) { + return /^nm$/i.test(input); + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'vm' : 'VM'; + } else { + return isLower ? 'nm' : 'NM'; + } + }, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Vandag om] LT', + nextDay: '[Môre om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[Gister om] LT', + lastWeek: '[Laas] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'oor %s', + past: '%s gelede', + s: "'n paar sekondes", + ss: '%d sekondes', + m: "'n minuut", + mm: '%d minute', + h: "'n uur", + hh: '%d ure', + d: "'n dag", + dd: '%d dae', + M: "'n maand", + MM: '%d maande', + y: "'n jaar", + yy: '%d jaar', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); // Thanks to Joris Röling : https://github.com/jjupiter + }, + week: { + dow: 1, // Maandag is die eerste dag van die week. + doy: 4, // Die week wat die 4de Januarie bevat is die eerste week van die jaar. + }, + }); + + //! moment.js locale configuration + + var pluralForm = function (n) { + return n === 0 + ? 0 + : n === 1 + ? 1 + : n === 2 + ? 2 + : n % 100 >= 3 && n % 100 <= 10 + ? 3 + : n % 100 >= 11 + ? 4 + : 5; + }, + plurals = { + s: [ + 'أقل من ثانية', + 'ثانية واحدة', + ['ثانيتان', 'ثانيتين'], + '%d ثوان', + '%d ثانية', + '%d ثانية', + ], + m: [ + 'أقل من دقيقة', + 'دقيقة واحدة', + ['دقيقتان', 'دقيقتين'], + '%d دقائق', + '%d دقيقة', + '%d دقيقة', + ], + h: [ + 'أقل من ساعة', + 'ساعة واحدة', + ['ساعتان', 'ساعتين'], + '%d ساعات', + '%d ساعة', + '%d ساعة', + ], + d: [ + 'أقل من يوم', + 'يوم واحد', + ['يومان', 'يومين'], + '%d أيام', + '%d يومًا', + '%d يوم', + ], + M: [ + 'أقل من شهر', + 'شهر واحد', + ['شهران', 'شهرين'], + '%d أشهر', + '%d شهرا', + '%d شهر', + ], + y: [ + 'أقل من عام', + 'عام واحد', + ['عامان', 'عامين'], + '%d أعوام', + '%d عامًا', + '%d عام', + ], + }, + pluralize = function (u) { + return function (number, withoutSuffix, string, isFuture) { + var f = pluralForm(number), + str = plurals[u][pluralForm(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }, + months = [ + 'جانفي', + 'فيفري', + 'مارس', + 'أفريل', + 'ماي', + 'جوان', + 'جويلية', + 'أوت', + 'سبتمبر', + 'أكتوبر', + 'نوفمبر', + 'ديسمبر', + ]; + + moment.defineLocale('ar-dz', { + months: months, + monthsShort: months, + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/\u200FM/\u200FYYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم عند الساعة] LT', + nextDay: '[غدًا عند الساعة] LT', + nextWeek: 'dddd [عند الساعة] LT', + lastDay: '[أمس عند الساعة] LT', + lastWeek: 'dddd [عند الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'بعد %s', + past: 'منذ %s', + s: pluralize('s'), + ss: pluralize('s'), + m: pluralize('m'), + mm: pluralize('m'), + h: pluralize('h'), + hh: pluralize('h'), + d: pluralize('d'), + dd: pluralize('d'), + M: pluralize('M'), + MM: pluralize('M'), + y: pluralize('y'), + yy: pluralize('y'), + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('ar-kw', { + months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_' + ), + monthsShort: + 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_' + ), + weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap = { + 1: '1', + 2: '2', + 3: '3', + 4: '4', + 5: '5', + 6: '6', + 7: '7', + 8: '8', + 9: '9', + 0: '0', + }, + pluralForm$1 = function (n) { + return n === 0 + ? 0 + : n === 1 + ? 1 + : n === 2 + ? 2 + : n % 100 >= 3 && n % 100 <= 10 + ? 3 + : n % 100 >= 11 + ? 4 + : 5; + }, + plurals$1 = { + s: [ + 'أقل من ثانية', + 'ثانية واحدة', + ['ثانيتان', 'ثانيتين'], + '%d ثوان', + '%d ثانية', + '%d ثانية', + ], + m: [ + 'أقل من دقيقة', + 'دقيقة واحدة', + ['دقيقتان', 'دقيقتين'], + '%d دقائق', + '%d دقيقة', + '%d دقيقة', + ], + h: [ + 'أقل من ساعة', + 'ساعة واحدة', + ['ساعتان', 'ساعتين'], + '%d ساعات', + '%d ساعة', + '%d ساعة', + ], + d: [ + 'أقل من يوم', + 'يوم واحد', + ['يومان', 'يومين'], + '%d أيام', + '%d يومًا', + '%d يوم', + ], + M: [ + 'أقل من شهر', + 'شهر واحد', + ['شهران', 'شهرين'], + '%d أشهر', + '%d شهرا', + '%d شهر', + ], + y: [ + 'أقل من عام', + 'عام واحد', + ['عامان', 'عامين'], + '%d أعوام', + '%d عامًا', + '%d عام', + ], + }, + pluralize$1 = function (u) { + return function (number, withoutSuffix, string, isFuture) { + var f = pluralForm$1(number), + str = plurals$1[u][pluralForm$1(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }, + months$1 = [ + 'يناير', + 'فبراير', + 'مارس', + 'أبريل', + 'مايو', + 'يونيو', + 'يوليو', + 'أغسطس', + 'سبتمبر', + 'أكتوبر', + 'نوفمبر', + 'ديسمبر', + ]; + + moment.defineLocale('ar-ly', { + months: months$1, + monthsShort: months$1, + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/\u200FM/\u200FYYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم عند الساعة] LT', + nextDay: '[غدًا عند الساعة] LT', + nextWeek: 'dddd [عند الساعة] LT', + lastDay: '[أمس عند الساعة] LT', + lastWeek: 'dddd [عند الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'بعد %s', + past: 'منذ %s', + s: pluralize$1('s'), + ss: pluralize$1('s'), + m: pluralize$1('m'), + mm: pluralize$1('m'), + h: pluralize$1('h'), + hh: pluralize$1('h'), + d: pluralize$1('d'), + dd: pluralize$1('d'), + M: pluralize$1('M'), + MM: pluralize$1('M'), + y: pluralize$1('y'), + yy: pluralize$1('y'), + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('ar-ma', { + months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_' + ), + monthsShort: + 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_' + ), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$1 = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }; + + moment.defineLocale('ar-ps', { + months: 'كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل'.split( + '_' + ), + monthsShort: + 'ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١'.split('_'), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + preparse: function (string) { + return string + .replace(/[٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }) + .split('') // reversed since negative lookbehind not supported everywhere + .reverse() + .join('') + .replace(/[١٢](?![\u062a\u0643])/g, function (match) { + return numberMap[match]; + }) + .split('') + .reverse() + .join('') + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap$1[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$2 = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap$1 = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }; + + moment.defineLocale('ar-sa', { + months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_' + ), + monthsShort: + 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_' + ), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + preparse: function (string) { + return string + .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap$1[match]; + }) + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap$2[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('ar-tn', { + months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_' + ), + monthsShort: + 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_' + ), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$3 = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap$2 = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }, + pluralForm$2 = function (n) { + return n === 0 + ? 0 + : n === 1 + ? 1 + : n === 2 + ? 2 + : n % 100 >= 3 && n % 100 <= 10 + ? 3 + : n % 100 >= 11 + ? 4 + : 5; + }, + plurals$2 = { + s: [ + 'أقل من ثانية', + 'ثانية واحدة', + ['ثانيتان', 'ثانيتين'], + '%d ثوان', + '%d ثانية', + '%d ثانية', + ], + m: [ + 'أقل من دقيقة', + 'دقيقة واحدة', + ['دقيقتان', 'دقيقتين'], + '%d دقائق', + '%d دقيقة', + '%d دقيقة', + ], + h: [ + 'أقل من ساعة', + 'ساعة واحدة', + ['ساعتان', 'ساعتين'], + '%d ساعات', + '%d ساعة', + '%d ساعة', + ], + d: [ + 'أقل من يوم', + 'يوم واحد', + ['يومان', 'يومين'], + '%d أيام', + '%d يومًا', + '%d يوم', + ], + M: [ + 'أقل من شهر', + 'شهر واحد', + ['شهران', 'شهرين'], + '%d أشهر', + '%d شهرا', + '%d شهر', + ], + y: [ + 'أقل من عام', + 'عام واحد', + ['عامان', 'عامين'], + '%d أعوام', + '%d عامًا', + '%d عام', + ], + }, + pluralize$2 = function (u) { + return function (number, withoutSuffix, string, isFuture) { + var f = pluralForm$2(number), + str = plurals$2[u][pluralForm$2(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }, + months$2 = [ + 'يناير', + 'فبراير', + 'مارس', + 'أبريل', + 'مايو', + 'يونيو', + 'يوليو', + 'أغسطس', + 'سبتمبر', + 'أكتوبر', + 'نوفمبر', + 'ديسمبر', + ]; + + moment.defineLocale('ar', { + months: months$2, + monthsShort: months$2, + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/\u200FM/\u200FYYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم عند الساعة] LT', + nextDay: '[غدًا عند الساعة] LT', + nextWeek: 'dddd [عند الساعة] LT', + lastDay: '[أمس عند الساعة] LT', + lastWeek: 'dddd [عند الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'بعد %s', + past: 'منذ %s', + s: pluralize$2('s'), + ss: pluralize$2('s'), + m: pluralize$2('m'), + mm: pluralize$2('m'), + h: pluralize$2('h'), + hh: pluralize$2('h'), + d: pluralize$2('d'), + dd: pluralize$2('d'), + M: pluralize$2('M'), + MM: pluralize$2('M'), + y: pluralize$2('y'), + yy: pluralize$2('y'), + }, + preparse: function (string) { + return string + .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap$2[match]; + }) + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap$3[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var suffixes = { + 1: '-inci', + 5: '-inci', + 8: '-inci', + 70: '-inci', + 80: '-inci', + 2: '-nci', + 7: '-nci', + 20: '-nci', + 50: '-nci', + 3: '-üncü', + 4: '-üncü', + 100: '-üncü', + 6: '-ncı', + 9: '-uncu', + 10: '-uncu', + 30: '-uncu', + 60: '-ıncı', + 90: '-ıncı', + }; + + moment.defineLocale('az', { + months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split( + '_' + ), + monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'), + weekdays: + 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split( + '_' + ), + weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'), + weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[bugün saat] LT', + nextDay: '[sabah saat] LT', + nextWeek: '[gələn həftə] dddd [saat] LT', + lastDay: '[dünən] LT', + lastWeek: '[keçən həftə] dddd [saat] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s sonra', + past: '%s əvvəl', + s: 'bir neçə saniyə', + ss: '%d saniyə', + m: 'bir dəqiqə', + mm: '%d dəqiqə', + h: 'bir saat', + hh: '%d saat', + d: 'bir gün', + dd: '%d gün', + M: 'bir ay', + MM: '%d ay', + y: 'bir il', + yy: '%d il', + }, + meridiemParse: /gecə|səhər|gündüz|axşam/, + isPM: function (input) { + return /^(gündüz|axşam)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'gecə'; + } else if (hour < 12) { + return 'səhər'; + } else if (hour < 17) { + return 'gündüz'; + } else { + return 'axşam'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/, + ordinal: function (number) { + if (number === 0) { + // special case for zero + return number + '-ıncı'; + } + var a = number % 10, + b = (number % 100) - a, + c = number >= 100 ? 100 : null; + return number + (suffixes[a] || suffixes[b] || suffixes[c]); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 + ? forms[0] + : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) + ? forms[1] + : forms[2]; + } + function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд', + mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін', + hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін', + dd: 'дзень_дні_дзён', + MM: 'месяц_месяцы_месяцаў', + yy: 'год_гады_гадоў', + }; + if (key === 'm') { + return withoutSuffix ? 'хвіліна' : 'хвіліну'; + } else if (key === 'h') { + return withoutSuffix ? 'гадзіна' : 'гадзіну'; + } else { + return number + ' ' + plural(format[key], +number); + } + } + + moment.defineLocale('be', { + months: { + format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split( + '_' + ), + standalone: + 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split( + '_' + ), + }, + monthsShort: + 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'), + weekdays: { + format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split( + '_' + ), + standalone: + 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split( + '_' + ), + isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/, + }, + weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'), + weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY г.', + LLL: 'D MMMM YYYY г., HH:mm', + LLLL: 'dddd, D MMMM YYYY г., HH:mm', + }, + calendar: { + sameDay: '[Сёння ў] LT', + nextDay: '[Заўтра ў] LT', + lastDay: '[Учора ў] LT', + nextWeek: function () { + return '[У] dddd [ў] LT'; + }, + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 5: + case 6: + return '[У мінулую] dddd [ў] LT'; + case 1: + case 2: + case 4: + return '[У мінулы] dddd [ў] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'праз %s', + past: '%s таму', + s: 'некалькі секунд', + m: relativeTimeWithPlural, + mm: relativeTimeWithPlural, + h: relativeTimeWithPlural, + hh: relativeTimeWithPlural, + d: 'дзень', + dd: relativeTimeWithPlural, + M: 'месяц', + MM: relativeTimeWithPlural, + y: 'год', + yy: relativeTimeWithPlural, + }, + meridiemParse: /ночы|раніцы|дня|вечара/, + isPM: function (input) { + return /^(дня|вечара)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ночы'; + } else if (hour < 12) { + return 'раніцы'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечара'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + case 'w': + case 'W': + return (number % 10 === 2 || number % 10 === 3) && + number % 100 !== 12 && + number % 100 !== 13 + ? number + '-і' + : number + '-ы'; + case 'D': + return number + '-га'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('bg', { + months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split( + '_' + ), + monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'), + weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split( + '_' + ), + weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'), + weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[Днес в] LT', + nextDay: '[Утре в] LT', + nextWeek: 'dddd [в] LT', + lastDay: '[Вчера в] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 6: + return '[Миналата] dddd [в] LT'; + case 1: + case 2: + case 4: + case 5: + return '[Миналия] dddd [в] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'след %s', + past: 'преди %s', + s: 'няколко секунди', + ss: '%d секунди', + m: 'минута', + mm: '%d минути', + h: 'час', + hh: '%d часа', + d: 'ден', + dd: '%d дена', + w: 'седмица', + ww: '%d седмици', + M: 'месец', + MM: '%d месеца', + y: 'година', + yy: '%d години', + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, + ordinal: function (number) { + var lastDigit = number % 10, + last2Digits = number % 100; + if (number === 0) { + return number + '-ев'; + } else if (last2Digits === 0) { + return number + '-ен'; + } else if (last2Digits > 10 && last2Digits < 20) { + return number + '-ти'; + } else if (lastDigit === 1) { + return number + '-ви'; + } else if (lastDigit === 2) { + return number + '-ри'; + } else if (lastDigit === 7 || lastDigit === 8) { + return number + '-ми'; + } else { + return number + '-ти'; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('bm', { + months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split( + '_' + ), + monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'), + weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'), + weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'), + weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'MMMM [tile] D [san] YYYY', + LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm', + LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm', + }, + calendar: { + sameDay: '[Bi lɛrɛ] LT', + nextDay: '[Sini lɛrɛ] LT', + nextWeek: 'dddd [don lɛrɛ] LT', + lastDay: '[Kunu lɛrɛ] LT', + lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s kɔnɔ', + past: 'a bɛ %s bɔ', + s: 'sanga dama dama', + ss: 'sekondi %d', + m: 'miniti kelen', + mm: 'miniti %d', + h: 'lɛrɛ kelen', + hh: 'lɛrɛ %d', + d: 'tile kelen', + dd: 'tile %d', + M: 'kalo kelen', + MM: 'kalo %d', + y: 'san kelen', + yy: 'san %d', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$4 = { + 1: '১', + 2: '২', + 3: '৩', + 4: '৪', + 5: '৫', + 6: '৬', + 7: '৭', + 8: '৮', + 9: '৯', + 0: '০', + }, + numberMap$3 = { + '১': '1', + '২': '2', + '৩': '3', + '৪': '4', + '৫': '5', + '৬': '6', + '৭': '7', + '৮': '8', + '৯': '9', + '০': '0', + }; + + moment.defineLocale('bn-bd', { + months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split( + '_' + ), + monthsShort: + 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split( + '_' + ), + weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split( + '_' + ), + weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'), + weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'), + longDateFormat: { + LT: 'A h:mm সময়', + LTS: 'A h:mm:ss সময়', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm সময়', + LLLL: 'dddd, D MMMM YYYY, A h:mm সময়', + }, + calendar: { + sameDay: '[আজ] LT', + nextDay: '[আগামীকাল] LT', + nextWeek: 'dddd, LT', + lastDay: '[গতকাল] LT', + lastWeek: '[গত] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s পরে', + past: '%s আগে', + s: 'কয়েক সেকেন্ড', + ss: '%d সেকেন্ড', + m: 'এক মিনিট', + mm: '%d মিনিট', + h: 'এক ঘন্টা', + hh: '%d ঘন্টা', + d: 'এক দিন', + dd: '%d দিন', + M: 'এক মাস', + MM: '%d মাস', + y: 'এক বছর', + yy: '%d বছর', + }, + preparse: function (string) { + return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) { + return numberMap$3[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$4[match]; + }); + }, + + meridiemParse: /রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'রাত') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ভোর') { + return hour; + } else if (meridiem === 'সকাল') { + return hour; + } else if (meridiem === 'দুপুর') { + return hour >= 3 ? hour : hour + 12; + } else if (meridiem === 'বিকাল') { + return hour + 12; + } else if (meridiem === 'সন্ধ্যা') { + return hour + 12; + } + }, + + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'রাত'; + } else if (hour < 6) { + return 'ভোর'; + } else if (hour < 12) { + return 'সকাল'; + } else if (hour < 15) { + return 'দুপুর'; + } else if (hour < 18) { + return 'বিকাল'; + } else if (hour < 20) { + return 'সন্ধ্যা'; + } else { + return 'রাত'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$5 = { + 1: '১', + 2: '২', + 3: '৩', + 4: '৪', + 5: '৫', + 6: '৬', + 7: '৭', + 8: '৮', + 9: '৯', + 0: '০', + }, + numberMap$4 = { + '১': '1', + '২': '2', + '৩': '3', + '৪': '4', + '৫': '5', + '৬': '6', + '৭': '7', + '৮': '8', + '৯': '9', + '০': '0', + }; + + moment.defineLocale('bn', { + months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split( + '_' + ), + monthsShort: + 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split( + '_' + ), + weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split( + '_' + ), + weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'), + weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'), + longDateFormat: { + LT: 'A h:mm সময়', + LTS: 'A h:mm:ss সময়', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm সময়', + LLLL: 'dddd, D MMMM YYYY, A h:mm সময়', + }, + calendar: { + sameDay: '[আজ] LT', + nextDay: '[আগামীকাল] LT', + nextWeek: 'dddd, LT', + lastDay: '[গতকাল] LT', + lastWeek: '[গত] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s পরে', + past: '%s আগে', + s: 'কয়েক সেকেন্ড', + ss: '%d সেকেন্ড', + m: 'এক মিনিট', + mm: '%d মিনিট', + h: 'এক ঘন্টা', + hh: '%d ঘন্টা', + d: 'এক দিন', + dd: '%d দিন', + M: 'এক মাস', + MM: '%d মাস', + y: 'এক বছর', + yy: '%d বছর', + }, + preparse: function (string) { + return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) { + return numberMap$4[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$5[match]; + }); + }, + meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + (meridiem === 'রাত' && hour >= 4) || + (meridiem === 'দুপুর' && hour < 5) || + meridiem === 'বিকাল' + ) { + return hour + 12; + } else { + return hour; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'রাত'; + } else if (hour < 10) { + return 'সকাল'; + } else if (hour < 17) { + return 'দুপুর'; + } else if (hour < 20) { + return 'বিকাল'; + } else { + return 'রাত'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$6 = { + 1: '༡', + 2: '༢', + 3: '༣', + 4: '༤', + 5: '༥', + 6: '༦', + 7: '༧', + 8: '༨', + 9: '༩', + 0: '༠', + }, + numberMap$5 = { + '༡': '1', + '༢': '2', + '༣': '3', + '༤': '4', + '༥': '5', + '༦': '6', + '༧': '7', + '༨': '8', + '༩': '9', + '༠': '0', + }; + + moment.defineLocale('bo', { + months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split( + '_' + ), + monthsShort: + 'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split( + '_' + ), + monthsShortRegex: /^(ཟླ་\d{1,2})/, + monthsParseExact: true, + weekdays: + 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split( + '_' + ), + weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split( + '_' + ), + weekdaysMin: 'ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm', + }, + calendar: { + sameDay: '[དི་རིང] LT', + nextDay: '[སང་ཉིན] LT', + nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT', + lastDay: '[ཁ་སང] LT', + lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ལ་', + past: '%s སྔན་ལ', + s: 'ལམ་སང', + ss: '%d སྐར་ཆ།', + m: 'སྐར་མ་གཅིག', + mm: '%d སྐར་མ', + h: 'ཆུ་ཚོད་གཅིག', + hh: '%d ཆུ་ཚོད', + d: 'ཉིན་གཅིག', + dd: '%d ཉིན་', + M: 'ཟླ་བ་གཅིག', + MM: '%d ཟླ་བ', + y: 'ལོ་གཅིག', + yy: '%d ལོ', + }, + preparse: function (string) { + return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) { + return numberMap$5[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$6[match]; + }); + }, + meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + (meridiem === 'མཚན་མོ' && hour >= 4) || + (meridiem === 'ཉིན་གུང' && hour < 5) || + meridiem === 'དགོང་དག' + ) { + return hour + 12; + } else { + return hour; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'མཚན་མོ'; + } else if (hour < 10) { + return 'ཞོགས་ཀས'; + } else if (hour < 17) { + return 'ཉིན་གུང'; + } else if (hour < 20) { + return 'དགོང་དག'; + } else { + return 'མཚན་མོ'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function relativeTimeWithMutation(number, withoutSuffix, key) { + var format = { + mm: 'munutenn', + MM: 'miz', + dd: 'devezh', + }; + return number + ' ' + mutation(format[key], number); + } + function specialMutationForYears(number) { + switch (lastNumber(number)) { + case 1: + case 3: + case 4: + case 5: + case 9: + return number + ' bloaz'; + default: + return number + ' vloaz'; + } + } + function lastNumber(number) { + if (number > 9) { + return lastNumber(number % 10); + } + return number; + } + function mutation(text, number) { + if (number === 2) { + return softMutation(text); + } + return text; + } + function softMutation(text) { + var mutationTable = { + m: 'v', + b: 'v', + d: 'z', + }; + if (mutationTable[text.charAt(0)] === undefined) { + return text; + } + return mutationTable[text.charAt(0)] + text.substring(1); + } + + var monthsParse = [ + /^gen/i, + /^c[ʼ\']hwe/i, + /^meu/i, + /^ebr/i, + /^mae/i, + /^(mez|eve)/i, + /^gou/i, + /^eos/i, + /^gwe/i, + /^her/i, + /^du/i, + /^ker/i, + ], + monthsRegex = + /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i, + monthsStrictRegex = + /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i, + monthsShortStrictRegex = + /^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i, + fullWeekdaysParse = [ + /^sul/i, + /^lun/i, + /^meurzh/i, + /^merc[ʼ\']her/i, + /^yaou/i, + /^gwener/i, + /^sadorn/i, + ], + shortWeekdaysParse = [ + /^Sul/i, + /^Lun/i, + /^Meu/i, + /^Mer/i, + /^Yao/i, + /^Gwe/i, + /^Sad/i, + ], + minWeekdaysParse = [ + /^Su/i, + /^Lu/i, + /^Me([^r]|$)/i, + /^Mer/i, + /^Ya/i, + /^Gw/i, + /^Sa/i, + ]; + + moment.defineLocale('br', { + months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split( + '_' + ), + monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'), + weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'), + weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'), + weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'), + weekdaysParse: minWeekdaysParse, + fullWeekdaysParse: fullWeekdaysParse, + shortWeekdaysParse: shortWeekdaysParse, + minWeekdaysParse: minWeekdaysParse, + + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: monthsStrictRegex, + monthsShortStrictRegex: monthsShortStrictRegex, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [a viz] MMMM YYYY', + LLL: 'D [a viz] MMMM YYYY HH:mm', + LLLL: 'dddd, D [a viz] MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Hiziv da] LT', + nextDay: '[Warcʼhoazh da] LT', + nextWeek: 'dddd [da] LT', + lastDay: '[Decʼh da] LT', + lastWeek: 'dddd [paset da] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'a-benn %s', + past: '%s ʼzo', + s: 'un nebeud segondennoù', + ss: '%d eilenn', + m: 'ur vunutenn', + mm: relativeTimeWithMutation, + h: 'un eur', + hh: '%d eur', + d: 'un devezh', + dd: relativeTimeWithMutation, + M: 'ur miz', + MM: relativeTimeWithMutation, + y: 'ur bloaz', + yy: specialMutationForYears, + }, + dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/, + ordinal: function (number) { + var output = number === 1 ? 'añ' : 'vet'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + meridiemParse: /a.m.|g.m./, // goude merenn | a-raok merenn + isPM: function (token) { + return token === 'g.m.'; + }, + meridiem: function (hour, minute, isLower) { + return hour < 12 ? 'a.m.' : 'g.m.'; + }, + }); + + //! moment.js locale configuration + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + switch (key) { + case 'm': + return withoutSuffix + ? 'jedna minuta' + : isFuture + ? 'jednu minutu' + : 'jedne minute'; + } + } + + function translate(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'ss': + if (number === 1) { + result += 'sekunda'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sekunde'; + } else { + result += 'sekundi'; + } + return result; + case 'mm': + if (number === 1) { + result += 'minuta'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'minute'; + } else { + result += 'minuta'; + } + return result; + case 'h': + return withoutSuffix ? 'jedan sat' : 'jedan sat'; + case 'hh': + if (number === 1) { + result += 'sat'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sata'; + } else { + result += 'sati'; + } + return result; + case 'dd': + if (number === 1) { + result += 'dan'; + } else { + result += 'dana'; + } + return result; + case 'MM': + if (number === 1) { + result += 'mjesec'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'mjeseca'; + } else { + result += 'mjeseci'; + } + return result; + case 'yy': + if (number === 1) { + result += 'godina'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'godine'; + } else { + result += 'godina'; + } + return result; + } + } + + moment.defineLocale('bs', { + months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split( + '_' + ), + monthsShort: + 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( + '_' + ), + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sutra u] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay: '[jučer u] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + return '[prošlu] dddd [u] LT'; + case 6: + return '[prošle] [subote] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prošli] dddd [u] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'prije %s', + s: 'par sekundi', + ss: translate, + m: processRelativeTime, + mm: translate, + h: translate, + hh: translate, + d: 'dan', + dd: translate, + M: 'mjesec', + MM: translate, + y: 'godinu', + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('ca', { + months: { + standalone: + 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split( + '_' + ), + format: "de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split( + '_' + ), + isFormat: /D[oD]?(\s)+MMMM/, + }, + monthsShort: + 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split( + '_' + ), + weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'), + weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [de] YYYY', + ll: 'D MMM YYYY', + LLL: 'D MMMM [de] YYYY [a les] H:mm', + lll: 'D MMM YYYY, H:mm', + LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm', + llll: 'ddd D MMM YYYY, H:mm', + }, + calendar: { + sameDay: function () { + return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + nextDay: function () { + return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + lastDay: function () { + return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [passat a ' + + (this.hours() !== 1 ? 'les' : 'la') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: "d'aquí %s", + past: 'fa %s', + s: 'uns segons', + ss: '%d segons', + m: 'un minut', + mm: '%d minuts', + h: 'una hora', + hh: '%d hores', + d: 'un dia', + dd: '%d dies', + M: 'un mes', + MM: '%d mesos', + y: 'un any', + yy: '%d anys', + }, + dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/, + ordinal: function (number, period) { + var output = + number === 1 + ? 'r' + : number === 2 + ? 'n' + : number === 3 + ? 'r' + : number === 4 + ? 't' + : 'è'; + if (period === 'w' || period === 'W') { + output = 'a'; + } + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var months$3 = { + standalone: + 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split( + '_' + ), + format: 'ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince'.split( + '_' + ), + isFormat: /DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/, + }, + monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'), + monthsParse$1 = [ + /^led/i, + /^úno/i, + /^bře/i, + /^dub/i, + /^kvě/i, + /^(čvn|červen$|června)/i, + /^(čvc|červenec|července)/i, + /^srp/i, + /^zář/i, + /^říj/i, + /^lis/i, + /^pro/i, + ], + // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched. + // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'. + monthsRegex$1 = + /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i; + + function plural$1(n) { + return n > 1 && n < 5 && ~~(n / 10) !== 1; + } + function translate$1(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': // a few seconds / in a few seconds / a few seconds ago + return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami'; + case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago + if (withoutSuffix || isFuture) { + return result + (plural$1(number) ? 'sekundy' : 'sekund'); + } else { + return result + 'sekundami'; + } + case 'm': // a minute / in a minute / a minute ago + return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou'; + case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago + if (withoutSuffix || isFuture) { + return result + (plural$1(number) ? 'minuty' : 'minut'); + } else { + return result + 'minutami'; + } + case 'h': // an hour / in an hour / an hour ago + return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou'; + case 'hh': // 9 hours / in 9 hours / 9 hours ago + if (withoutSuffix || isFuture) { + return result + (plural$1(number) ? 'hodiny' : 'hodin'); + } else { + return result + 'hodinami'; + } + case 'd': // a day / in a day / a day ago + return withoutSuffix || isFuture ? 'den' : 'dnem'; + case 'dd': // 9 days / in 9 days / 9 days ago + if (withoutSuffix || isFuture) { + return result + (plural$1(number) ? 'dny' : 'dní'); + } else { + return result + 'dny'; + } + case 'M': // a month / in a month / a month ago + return withoutSuffix || isFuture ? 'měsíc' : 'měsícem'; + case 'MM': // 9 months / in 9 months / 9 months ago + if (withoutSuffix || isFuture) { + return result + (plural$1(number) ? 'měsíce' : 'měsíců'); + } else { + return result + 'měsíci'; + } + case 'y': // a year / in a year / a year ago + return withoutSuffix || isFuture ? 'rok' : 'rokem'; + case 'yy': // 9 years / in 9 years / 9 years ago + if (withoutSuffix || isFuture) { + return result + (plural$1(number) ? 'roky' : 'let'); + } else { + return result + 'lety'; + } + } + } + + moment.defineLocale('cs', { + months: months$3, + monthsShort: monthsShort, + monthsRegex: monthsRegex$1, + monthsShortRegex: monthsRegex$1, + // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched. + // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'. + monthsStrictRegex: + /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i, + monthsShortStrictRegex: + /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i, + monthsParse: monthsParse$1, + longMonthsParse: monthsParse$1, + shortMonthsParse: monthsParse$1, + weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'), + weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'), + weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd D. MMMM YYYY H:mm', + l: 'D. M. YYYY', + }, + calendar: { + sameDay: '[dnes v] LT', + nextDay: '[zítra v] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[v neděli v] LT'; + case 1: + case 2: + return '[v] dddd [v] LT'; + case 3: + return '[ve středu v] LT'; + case 4: + return '[ve čtvrtek v] LT'; + case 5: + return '[v pátek v] LT'; + case 6: + return '[v sobotu v] LT'; + } + }, + lastDay: '[včera v] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[minulou neděli v] LT'; + case 1: + case 2: + return '[minulé] dddd [v] LT'; + case 3: + return '[minulou středu v] LT'; + case 4: + case 5: + return '[minulý] dddd [v] LT'; + case 6: + return '[minulou sobotu v] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'před %s', + s: translate$1, + ss: translate$1, + m: translate$1, + mm: translate$1, + h: translate$1, + hh: translate$1, + d: translate$1, + dd: translate$1, + M: translate$1, + MM: translate$1, + y: translate$1, + yy: translate$1, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('cv', { + months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split( + '_' + ), + monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'), + weekdays: + 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split( + '_' + ), + weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'), + weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]', + LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm', + LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm', + }, + calendar: { + sameDay: '[Паян] LT [сехетре]', + nextDay: '[Ыран] LT [сехетре]', + lastDay: '[Ӗнер] LT [сехетре]', + nextWeek: '[Ҫитес] dddd LT [сехетре]', + lastWeek: '[Иртнӗ] dddd LT [сехетре]', + sameElse: 'L', + }, + relativeTime: { + future: function (output) { + var affix = /сехет$/i.exec(output) + ? 'рен' + : /ҫул$/i.exec(output) + ? 'тан' + : 'ран'; + return output + affix; + }, + past: '%s каялла', + s: 'пӗр-ик ҫеккунт', + ss: '%d ҫеккунт', + m: 'пӗр минут', + mm: '%d минут', + h: 'пӗр сехет', + hh: '%d сехет', + d: 'пӗр кун', + dd: '%d кун', + M: 'пӗр уйӑх', + MM: '%d уйӑх', + y: 'пӗр ҫул', + yy: '%d ҫул', + }, + dayOfMonthOrdinalParse: /\d{1,2}-мӗш/, + ordinal: '%d-мӗш', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('cy', { + months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split( + '_' + ), + monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split( + '_' + ), + weekdays: + 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split( + '_' + ), + weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'), + weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'), + weekdaysParseExact: true, + // time formats are the same as en-gb + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Heddiw am] LT', + nextDay: '[Yfory am] LT', + nextWeek: 'dddd [am] LT', + lastDay: '[Ddoe am] LT', + lastWeek: 'dddd [diwethaf am] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'mewn %s', + past: '%s yn ôl', + s: 'ychydig eiliadau', + ss: '%d eiliad', + m: 'munud', + mm: '%d munud', + h: 'awr', + hh: '%d awr', + d: 'diwrnod', + dd: '%d diwrnod', + M: 'mis', + MM: '%d mis', + y: 'blwyddyn', + yy: '%d flynedd', + }, + dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/, + // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh + ordinal: function (number) { + var b = number, + output = '', + lookup = [ + '', + 'af', + 'il', + 'ydd', + 'ydd', + 'ed', + 'ed', + 'ed', + 'fed', + 'fed', + 'fed', // 1af to 10fed + 'eg', + 'fed', + 'eg', + 'eg', + 'fed', + 'eg', + 'eg', + 'fed', + 'eg', + 'fed', // 11eg to 20fed + ]; + if (b > 20) { + if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) { + output = 'fed'; // not 30ain, 70ain or 90ain + } else { + output = 'ain'; + } + } else if (b > 0) { + output = lookup[b]; + } + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('da', { + months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), + weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), + weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'), + weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm', + }, + calendar: { + sameDay: '[i dag kl.] LT', + nextDay: '[i morgen kl.] LT', + nextWeek: 'på dddd [kl.] LT', + lastDay: '[i går kl.] LT', + lastWeek: '[i] dddd[s kl.] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'om %s', + past: '%s siden', + s: 'få sekunder', + ss: '%d sekunder', + m: 'et minut', + mm: '%d minutter', + h: 'en time', + hh: '%d timer', + d: 'en dag', + dd: '%d dage', + M: 'en måned', + MM: '%d måneder', + y: 'et år', + yy: '%d år', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function processRelativeTime$1(number, withoutSuffix, key, isFuture) { + var format = { + m: ['eine Minute', 'einer Minute'], + h: ['eine Stunde', 'einer Stunde'], + d: ['ein Tag', 'einem Tag'], + dd: [number + ' Tage', number + ' Tagen'], + w: ['eine Woche', 'einer Woche'], + M: ['ein Monat', 'einem Monat'], + MM: [number + ' Monate', number + ' Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: [number + ' Jahre', number + ' Jahren'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + + moment.defineLocale('de-at', { + months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_' + ), + monthsShort: + 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + monthsParseExact: true, + weekdays: + 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( + '_' + ), + weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[heute um] LT [Uhr]', + sameElse: 'L', + nextDay: '[morgen um] LT [Uhr]', + nextWeek: 'dddd [um] LT [Uhr]', + lastDay: '[gestern um] LT [Uhr]', + lastWeek: '[letzten] dddd [um] LT [Uhr]', + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: 'ein paar Sekunden', + ss: '%d Sekunden', + m: processRelativeTime$1, + mm: '%d Minuten', + h: processRelativeTime$1, + hh: '%d Stunden', + d: processRelativeTime$1, + dd: processRelativeTime$1, + w: processRelativeTime$1, + ww: '%d Wochen', + M: processRelativeTime$1, + MM: processRelativeTime$1, + y: processRelativeTime$1, + yy: processRelativeTime$1, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function processRelativeTime$2(number, withoutSuffix, key, isFuture) { + var format = { + m: ['eine Minute', 'einer Minute'], + h: ['eine Stunde', 'einer Stunde'], + d: ['ein Tag', 'einem Tag'], + dd: [number + ' Tage', number + ' Tagen'], + w: ['eine Woche', 'einer Woche'], + M: ['ein Monat', 'einem Monat'], + MM: [number + ' Monate', number + ' Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: [number + ' Jahre', number + ' Jahren'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + + moment.defineLocale('de-ch', { + months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_' + ), + monthsShort: + 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + monthsParseExact: true, + weekdays: + 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( + '_' + ), + weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[heute um] LT [Uhr]', + sameElse: 'L', + nextDay: '[morgen um] LT [Uhr]', + nextWeek: 'dddd [um] LT [Uhr]', + lastDay: '[gestern um] LT [Uhr]', + lastWeek: '[letzten] dddd [um] LT [Uhr]', + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: 'ein paar Sekunden', + ss: '%d Sekunden', + m: processRelativeTime$2, + mm: '%d Minuten', + h: processRelativeTime$2, + hh: '%d Stunden', + d: processRelativeTime$2, + dd: processRelativeTime$2, + w: processRelativeTime$2, + ww: '%d Wochen', + M: processRelativeTime$2, + MM: processRelativeTime$2, + y: processRelativeTime$2, + yy: processRelativeTime$2, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function processRelativeTime$3(number, withoutSuffix, key, isFuture) { + var format = { + m: ['eine Minute', 'einer Minute'], + h: ['eine Stunde', 'einer Stunde'], + d: ['ein Tag', 'einem Tag'], + dd: [number + ' Tage', number + ' Tagen'], + w: ['eine Woche', 'einer Woche'], + M: ['ein Monat', 'einem Monat'], + MM: [number + ' Monate', number + ' Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: [number + ' Jahre', number + ' Jahren'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + + moment.defineLocale('de', { + months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_' + ), + monthsShort: + 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + monthsParseExact: true, + weekdays: + 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( + '_' + ), + weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[heute um] LT [Uhr]', + sameElse: 'L', + nextDay: '[morgen um] LT [Uhr]', + nextWeek: 'dddd [um] LT [Uhr]', + lastDay: '[gestern um] LT [Uhr]', + lastWeek: '[letzten] dddd [um] LT [Uhr]', + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: 'ein paar Sekunden', + ss: '%d Sekunden', + m: processRelativeTime$3, + mm: '%d Minuten', + h: processRelativeTime$3, + hh: '%d Stunden', + d: processRelativeTime$3, + dd: processRelativeTime$3, + w: processRelativeTime$3, + ww: '%d Wochen', + M: processRelativeTime$3, + MM: processRelativeTime$3, + y: processRelativeTime$3, + yy: processRelativeTime$3, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var months$4 = [ + 'ޖެނުއަރީ', + 'ފެބްރުއަރީ', + 'މާރިޗު', + 'އޭޕްރީލު', + 'މޭ', + 'ޖޫން', + 'ޖުލައި', + 'އޯގަސްޓު', + 'ސެޕްޓެމްބަރު', + 'އޮކްޓޯބަރު', + 'ނޮވެމްބަރު', + 'ޑިސެމްބަރު', + ], + weekdays = [ + 'އާދިއްތަ', + 'ހޯމަ', + 'އަންގާރަ', + 'ބުދަ', + 'ބުރާސްފަތި', + 'ހުކުރު', + 'ހޮނިހިރު', + ]; + + moment.defineLocale('dv', { + months: months$4, + monthsShort: months$4, + weekdays: weekdays, + weekdaysShort: weekdays, + weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/M/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /މކ|މފ/, + isPM: function (input) { + return 'މފ' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'މކ'; + } else { + return 'މފ'; + } + }, + calendar: { + sameDay: '[މިއަދު] LT', + nextDay: '[މާދަމާ] LT', + nextWeek: 'dddd LT', + lastDay: '[އިއްޔެ] LT', + lastWeek: '[ފާއިތުވި] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ތެރޭގައި %s', + past: 'ކުރިން %s', + s: 'ސިކުންތުކޮޅެއް', + ss: 'd% ސިކުންތު', + m: 'މިނިޓެއް', + mm: 'މިނިޓު %d', + h: 'ގަޑިއިރެއް', + hh: 'ގަޑިއިރު %d', + d: 'ދުވަހެއް', + dd: 'ދުވަސް %d', + M: 'މަހެއް', + MM: 'މަސް %d', + y: 'އަހަރެއް', + yy: 'އަހަރު %d', + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + dow: 7, // Sunday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function isFunction(input) { + return ( + (typeof Function !== 'undefined' && input instanceof Function) || + Object.prototype.toString.call(input) === '[object Function]' + ); + } + + moment.defineLocale('el', { + monthsNominativeEl: + 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split( + '_' + ), + monthsGenitiveEl: + 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split( + '_' + ), + months: function (momentToFormat, format) { + if (!momentToFormat) { + return this._monthsNominativeEl; + } else if ( + typeof format === 'string' && + /D/.test(format.substring(0, format.indexOf('MMMM'))) + ) { + // if there is a day number before 'MMMM' + return this._monthsGenitiveEl[momentToFormat.month()]; + } else { + return this._monthsNominativeEl[momentToFormat.month()]; + } + }, + monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'), + weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split( + '_' + ), + weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'), + weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'), + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'μμ' : 'ΜΜ'; + } else { + return isLower ? 'πμ' : 'ΠΜ'; + } + }, + isPM: function (input) { + return (input + '').toLowerCase()[0] === 'μ'; + }, + meridiemParse: /[ΠΜ]\.?Μ?\.?/i, + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendarEl: { + sameDay: '[Σήμερα {}] LT', + nextDay: '[Αύριο {}] LT', + nextWeek: 'dddd [{}] LT', + lastDay: '[Χθες {}] LT', + lastWeek: function () { + switch (this.day()) { + case 6: + return '[το προηγούμενο] dddd [{}] LT'; + default: + return '[την προηγούμενη] dddd [{}] LT'; + } + }, + sameElse: 'L', + }, + calendar: function (key, mom) { + var output = this._calendarEl[key], + hours = mom && mom.hours(); + if (isFunction(output)) { + output = output.apply(mom); + } + return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις'); + }, + relativeTime: { + future: 'σε %s', + past: '%s πριν', + s: 'λίγα δευτερόλεπτα', + ss: '%d δευτερόλεπτα', + m: 'ένα λεπτό', + mm: '%d λεπτά', + h: 'μία ώρα', + hh: '%d ώρες', + d: 'μία μέρα', + dd: '%d μέρες', + M: 'ένας μήνας', + MM: '%d μήνες', + y: 'ένας χρόνος', + yy: '%d χρόνια', + }, + dayOfMonthOrdinalParse: /\d{1,2}η/, + ordinal: '%dη', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4st is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('en-au', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('en-ca', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'YYYY-MM-DD', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY h:mm A', + LLLL: 'dddd, MMMM D, YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('en-gb', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('en-ie', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('en-il', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('en-in', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 1st is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('en-nz', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('en-sg', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('eo', { + months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split( + '_' + ), + monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec'.split('_'), + weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'), + weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'), + weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: '[la] D[-an de] MMMM, YYYY', + LLL: '[la] D[-an de] MMMM, YYYY HH:mm', + LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm', + llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm', + }, + meridiemParse: /[ap]\.t\.m/i, + isPM: function (input) { + return input.charAt(0).toLowerCase() === 'p'; + }, + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'p.t.m.' : 'P.T.M.'; + } else { + return isLower ? 'a.t.m.' : 'A.T.M.'; + } + }, + calendar: { + sameDay: '[Hodiaŭ je] LT', + nextDay: '[Morgaŭ je] LT', + nextWeek: 'dddd[n je] LT', + lastDay: '[Hieraŭ je] LT', + lastWeek: '[pasintan] dddd[n je] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'post %s', + past: 'antaŭ %s', + s: 'kelkaj sekundoj', + ss: '%d sekundoj', + m: 'unu minuto', + mm: '%d minutoj', + h: 'unu horo', + hh: '%d horoj', + d: 'unu tago', //ne 'diurno', ĉar estas uzita por proksimumo + dd: '%d tagoj', + M: 'unu monato', + MM: '%d monatoj', + y: 'unu jaro', + yy: '%d jaroj', + }, + dayOfMonthOrdinalParse: /\d{1,2}a/, + ordinal: '%da', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var monthsShortDot = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort$1 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse$2 = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex$2 = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + + moment.defineLocale('es-do', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot; + } else if (/-MMM-/.test(format)) { + return monthsShort$1[m.month()]; + } else { + return monthsShortDot[m.month()]; + } + }, + monthsRegex: monthsRegex$2, + monthsShortRegex: monthsRegex$2, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse$2, + longMonthsParse: monthsParse$2, + shortMonthsParse: monthsParse$2, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY h:mm A', + LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var monthsShortDot$1 = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort$2 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse$3 = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex$3 = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + + moment.defineLocale('es-mx', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot$1; + } else if (/-MMM-/.test(format)) { + return monthsShort$2[m.month()]; + } else { + return monthsShortDot$1[m.month()]; + } + }, + monthsRegex: monthsRegex$3, + monthsShortRegex: monthsRegex$3, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse$3, + longMonthsParse: monthsParse$3, + shortMonthsParse: monthsParse$3, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 0, // Sunday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + invalidDate: 'Fecha inválida', + }); + + //! moment.js locale configuration + + var monthsShortDot$2 = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort$3 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse$4 = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex$4 = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + + moment.defineLocale('es-us', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot$2; + } else if (/-MMM-/.test(format)) { + return monthsShort$3[m.month()]; + } else { + return monthsShortDot$2[m.month()]; + } + }, + monthsRegex: monthsRegex$4, + monthsShortRegex: monthsRegex$4, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse$4, + longMonthsParse: monthsParse$4, + shortMonthsParse: monthsParse$4, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'MM/DD/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY h:mm A', + LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var monthsShortDot$3 = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort$4 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse$5 = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex$5 = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + + moment.defineLocale('es', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot$3; + } else if (/-MMM-/.test(format)) { + return monthsShort$4[m.month()]; + } else { + return monthsShortDot$3[m.month()]; + } + }, + monthsRegex: monthsRegex$5, + monthsShortRegex: monthsRegex$5, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse$5, + longMonthsParse: monthsParse$5, + shortMonthsParse: monthsParse$5, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + invalidDate: 'Fecha inválida', + }); + + //! moment.js locale configuration + + function processRelativeTime$4(number, withoutSuffix, key, isFuture) { + var format = { + s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'], + ss: [number + 'sekundi', number + 'sekundit'], + m: ['ühe minuti', 'üks minut'], + mm: [number + ' minuti', number + ' minutit'], + h: ['ühe tunni', 'tund aega', 'üks tund'], + hh: [number + ' tunni', number + ' tundi'], + d: ['ühe päeva', 'üks päev'], + M: ['kuu aja', 'kuu aega', 'üks kuu'], + MM: [number + ' kuu', number + ' kuud'], + y: ['ühe aasta', 'aasta', 'üks aasta'], + yy: [number + ' aasta', number + ' aastat'], + }; + if (withoutSuffix) { + return format[key][2] ? format[key][2] : format[key][1]; + } + return isFuture ? format[key][0] : format[key][1]; + } + + moment.defineLocale('et', { + months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split( + '_' + ), + monthsShort: + 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'), + weekdays: + 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split( + '_' + ), + weekdaysShort: 'P_E_T_K_N_R_L'.split('_'), + weekdaysMin: 'P_E_T_K_N_R_L'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[Täna,] LT', + nextDay: '[Homme,] LT', + nextWeek: '[Järgmine] dddd LT', + lastDay: '[Eile,] LT', + lastWeek: '[Eelmine] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s pärast', + past: '%s tagasi', + s: processRelativeTime$4, + ss: processRelativeTime$4, + m: processRelativeTime$4, + mm: processRelativeTime$4, + h: processRelativeTime$4, + hh: processRelativeTime$4, + d: processRelativeTime$4, + dd: '%d päeva', + M: processRelativeTime$4, + MM: processRelativeTime$4, + y: processRelativeTime$4, + yy: processRelativeTime$4, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('eu', { + months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split( + '_' + ), + monthsShort: + 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split( + '_' + ), + weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'), + weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY[ko] MMMM[ren] D[a]', + LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm', + LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm', + l: 'YYYY-M-D', + ll: 'YYYY[ko] MMM D[a]', + lll: 'YYYY[ko] MMM D[a] HH:mm', + llll: 'ddd, YYYY[ko] MMM D[a] HH:mm', + }, + calendar: { + sameDay: '[gaur] LT[etan]', + nextDay: '[bihar] LT[etan]', + nextWeek: 'dddd LT[etan]', + lastDay: '[atzo] LT[etan]', + lastWeek: '[aurreko] dddd LT[etan]', + sameElse: 'L', + }, + relativeTime: { + future: '%s barru', + past: 'duela %s', + s: 'segundo batzuk', + ss: '%d segundo', + m: 'minutu bat', + mm: '%d minutu', + h: 'ordu bat', + hh: '%d ordu', + d: 'egun bat', + dd: '%d egun', + M: 'hilabete bat', + MM: '%d hilabete', + y: 'urte bat', + yy: '%d urte', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$7 = { + 1: '۱', + 2: '۲', + 3: '۳', + 4: '۴', + 5: '۵', + 6: '۶', + 7: '۷', + 8: '۸', + 9: '۹', + 0: '۰', + }, + numberMap$6 = { + '۱': '1', + '۲': '2', + '۳': '3', + '۴': '4', + '۵': '5', + '۶': '6', + '۷': '7', + '۸': '8', + '۹': '9', + '۰': '0', + }; + + moment.defineLocale('fa', { + months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split( + '_' + ), + monthsShort: + 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split( + '_' + ), + weekdays: + 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split( + '_' + ), + weekdaysShort: + 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split( + '_' + ), + weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + meridiemParse: /قبل از ظهر|بعد از ظهر/, + isPM: function (input) { + return /بعد از ظهر/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'قبل از ظهر'; + } else { + return 'بعد از ظهر'; + } + }, + calendar: { + sameDay: '[امروز ساعت] LT', + nextDay: '[فردا ساعت] LT', + nextWeek: 'dddd [ساعت] LT', + lastDay: '[دیروز ساعت] LT', + lastWeek: 'dddd [پیش] [ساعت] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'در %s', + past: '%s پیش', + s: 'چند ثانیه', + ss: '%d ثانیه', + m: 'یک دقیقه', + mm: '%d دقیقه', + h: 'یک ساعت', + hh: '%d ساعت', + d: 'یک روز', + dd: '%d روز', + M: 'یک ماه', + MM: '%d ماه', + y: 'یک سال', + yy: '%d سال', + }, + preparse: function (string) { + return string + .replace(/[۰-۹]/g, function (match) { + return numberMap$6[match]; + }) + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap$7[match]; + }) + .replace(/,/g, '،'); + }, + dayOfMonthOrdinalParse: /\d{1,2}م/, + ordinal: '%dم', + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var numbersPast = + 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split( + ' ' + ), + numbersFuture = [ + 'nolla', + 'yhden', + 'kahden', + 'kolmen', + 'neljän', + 'viiden', + 'kuuden', + numbersPast[7], + numbersPast[8], + numbersPast[9], + ]; + function translate$2(number, withoutSuffix, key, isFuture) { + var result = ''; + switch (key) { + case 's': + return isFuture ? 'muutaman sekunnin' : 'muutama sekunti'; + case 'ss': + result = isFuture ? 'sekunnin' : 'sekuntia'; + break; + case 'm': + return isFuture ? 'minuutin' : 'minuutti'; + case 'mm': + result = isFuture ? 'minuutin' : 'minuuttia'; + break; + case 'h': + return isFuture ? 'tunnin' : 'tunti'; + case 'hh': + result = isFuture ? 'tunnin' : 'tuntia'; + break; + case 'd': + return isFuture ? 'päivän' : 'päivä'; + case 'dd': + result = isFuture ? 'päivän' : 'päivää'; + break; + case 'M': + return isFuture ? 'kuukauden' : 'kuukausi'; + case 'MM': + result = isFuture ? 'kuukauden' : 'kuukautta'; + break; + case 'y': + return isFuture ? 'vuoden' : 'vuosi'; + case 'yy': + result = isFuture ? 'vuoden' : 'vuotta'; + break; + } + result = verbalNumber(number, isFuture) + ' ' + result; + return result; + } + function verbalNumber(number, isFuture) { + return number < 10 + ? isFuture + ? numbersFuture[number] + : numbersPast[number] + : number; + } + + moment.defineLocale('fi', { + months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split( + '_' + ), + monthsShort: + 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split( + '_' + ), + weekdays: + 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split( + '_' + ), + weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'), + weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD.MM.YYYY', + LL: 'Do MMMM[ta] YYYY', + LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm', + LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm', + l: 'D.M.YYYY', + ll: 'Do MMM YYYY', + lll: 'Do MMM YYYY, [klo] HH.mm', + llll: 'ddd, Do MMM YYYY, [klo] HH.mm', + }, + calendar: { + sameDay: '[tänään] [klo] LT', + nextDay: '[huomenna] [klo] LT', + nextWeek: 'dddd [klo] LT', + lastDay: '[eilen] [klo] LT', + lastWeek: '[viime] dddd[na] [klo] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s päästä', + past: '%s sitten', + s: translate$2, + ss: translate$2, + m: translate$2, + mm: translate$2, + h: translate$2, + hh: translate$2, + d: translate$2, + dd: translate$2, + M: translate$2, + MM: translate$2, + y: translate$2, + yy: translate$2, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('fil', { + months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split( + '_' + ), + monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), + weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split( + '_' + ), + weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), + weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'MM/D/YYYY', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY HH:mm', + LLLL: 'dddd, MMMM DD, YYYY HH:mm', + }, + calendar: { + sameDay: 'LT [ngayong araw]', + nextDay: '[Bukas ng] LT', + nextWeek: 'LT [sa susunod na] dddd', + lastDay: 'LT [kahapon]', + lastWeek: 'LT [noong nakaraang] dddd', + sameElse: 'L', + }, + relativeTime: { + future: 'sa loob ng %s', + past: '%s ang nakalipas', + s: 'ilang segundo', + ss: '%d segundo', + m: 'isang minuto', + mm: '%d minuto', + h: 'isang oras', + hh: '%d oras', + d: 'isang araw', + dd: '%d araw', + M: 'isang buwan', + MM: '%d buwan', + y: 'isang taon', + yy: '%d taon', + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: function (number) { + return number; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('fo', { + months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), + weekdays: + 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split( + '_' + ), + weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'), + weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D. MMMM, YYYY HH:mm', + }, + calendar: { + sameDay: '[Í dag kl.] LT', + nextDay: '[Í morgin kl.] LT', + nextWeek: 'dddd [kl.] LT', + lastDay: '[Í gjár kl.] LT', + lastWeek: '[síðstu] dddd [kl] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'um %s', + past: '%s síðani', + s: 'fá sekund', + ss: '%d sekundir', + m: 'ein minuttur', + mm: '%d minuttir', + h: 'ein tími', + hh: '%d tímar', + d: 'ein dagur', + dd: '%d dagar', + M: 'ein mánaður', + MM: '%d mánaðir', + y: 'eitt ár', + yy: '%d ár', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('fr-ca', { + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( + '_' + ), + monthsShort: + 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Aujourd’hui à] LT', + nextDay: '[Demain à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[Hier à] LT', + lastWeek: 'dddd [dernier à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + ss: '%d secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, + ordinal: function (number, period) { + switch (period) { + // Words with masculine grammatical gender: mois, trimestre, jour + default: + case 'M': + case 'Q': + case 'D': + case 'DDD': + case 'd': + return number + (number === 1 ? 'er' : 'e'); + + // Words with feminine grammatical gender: semaine + case 'w': + case 'W': + return number + (number === 1 ? 're' : 'e'); + } + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('fr-ch', { + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( + '_' + ), + monthsShort: + 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Aujourd’hui à] LT', + nextDay: '[Demain à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[Hier à] LT', + lastWeek: 'dddd [dernier à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + ss: '%d secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, + ordinal: function (number, period) { + switch (period) { + // Words with masculine grammatical gender: mois, trimestre, jour + default: + case 'M': + case 'Q': + case 'D': + case 'DDD': + case 'd': + return number + (number === 1 ? 'er' : 'e'); + + // Words with feminine grammatical gender: semaine + case 'w': + case 'W': + return number + (number === 1 ? 're' : 'e'); + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var monthsStrictRegex$1 = + /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, + monthsShortStrictRegex$1 = + /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i, + monthsRegex$6 = + /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, + monthsParse$6 = [ + /^janv/i, + /^févr/i, + /^mars/i, + /^avr/i, + /^mai/i, + /^juin/i, + /^juil/i, + /^août/i, + /^sept/i, + /^oct/i, + /^nov/i, + /^déc/i, + ]; + + moment.defineLocale('fr', { + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( + '_' + ), + monthsShort: + 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( + '_' + ), + monthsRegex: monthsRegex$6, + monthsShortRegex: monthsRegex$6, + monthsStrictRegex: monthsStrictRegex$1, + monthsShortStrictRegex: monthsShortStrictRegex$1, + monthsParse: monthsParse$6, + longMonthsParse: monthsParse$6, + shortMonthsParse: monthsParse$6, + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Aujourd’hui à] LT', + nextDay: '[Demain à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[Hier à] LT', + lastWeek: 'dddd [dernier à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + ss: '%d secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + w: 'une semaine', + ww: '%d semaines', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(er|)/, + ordinal: function (number, period) { + switch (period) { + // TODO: Return 'e' when day of month > 1. Move this case inside + // block for masculine words below. + // See https://github.com/moment/moment/issues/3375 + case 'D': + return number + (number === 1 ? 'er' : ''); + + // Words with masculine grammatical gender: mois, trimestre, jour + default: + case 'M': + case 'Q': + case 'DDD': + case 'd': + return number + (number === 1 ? 'er' : 'e'); + + // Words with feminine grammatical gender: semaine + case 'w': + case 'W': + return number + (number === 1 ? 're' : 'e'); + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var monthsShortWithDots = + 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'), + monthsShortWithoutDots = + 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'); + + moment.defineLocale('fy', { + months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortWithDots; + } else if (/-MMM-/.test(format)) { + return monthsShortWithoutDots[m.month()]; + } else { + return monthsShortWithDots[m.month()]; + } + }, + monthsParseExact: true, + weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split( + '_' + ), + weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'), + weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[hjoed om] LT', + nextDay: '[moarn om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[juster om] LT', + lastWeek: '[ôfrûne] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'oer %s', + past: '%s lyn', + s: 'in pear sekonden', + ss: '%d sekonden', + m: 'ien minút', + mm: '%d minuten', + h: 'ien oere', + hh: '%d oeren', + d: 'ien dei', + dd: '%d dagen', + M: 'ien moanne', + MM: '%d moannen', + y: 'ien jier', + yy: '%d jierren', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var months$5 = [ + 'Eanáir', + 'Feabhra', + 'Márta', + 'Aibreán', + 'Bealtaine', + 'Meitheamh', + 'Iúil', + 'Lúnasa', + 'Meán Fómhair', + 'Deireadh Fómhair', + 'Samhain', + 'Nollaig', + ], + monthsShort$5 = [ + 'Ean', + 'Feabh', + 'Márt', + 'Aib', + 'Beal', + 'Meith', + 'Iúil', + 'Lún', + 'M.F.', + 'D.F.', + 'Samh', + 'Noll', + ], + weekdays$1 = [ + 'Dé Domhnaigh', + 'Dé Luain', + 'Dé Máirt', + 'Dé Céadaoin', + 'Déardaoin', + 'Dé hAoine', + 'Dé Sathairn', + ], + weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'], + weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa']; + + moment.defineLocale('ga', { + months: months$5, + monthsShort: monthsShort$5, + monthsParseExact: true, + weekdays: weekdays$1, + weekdaysShort: weekdaysShort, + weekdaysMin: weekdaysMin, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Inniu ag] LT', + nextDay: '[Amárach ag] LT', + nextWeek: 'dddd [ag] LT', + lastDay: '[Inné ag] LT', + lastWeek: 'dddd [seo caite] [ag] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'i %s', + past: '%s ó shin', + s: 'cúpla soicind', + ss: '%d soicind', + m: 'nóiméad', + mm: '%d nóiméad', + h: 'uair an chloig', + hh: '%d uair an chloig', + d: 'lá', + dd: '%d lá', + M: 'mí', + MM: '%d míonna', + y: 'bliain', + yy: '%d bliain', + }, + dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/, + ordinal: function (number) { + var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var months$6 = [ + 'Am Faoilleach', + 'An Gearran', + 'Am Màrt', + 'An Giblean', + 'An Cèitean', + 'An t-Ògmhios', + 'An t-Iuchar', + 'An Lùnastal', + 'An t-Sultain', + 'An Dàmhair', + 'An t-Samhain', + 'An Dùbhlachd', + ], + monthsShort$6 = [ + 'Faoi', + 'Gear', + 'Màrt', + 'Gibl', + 'Cèit', + 'Ògmh', + 'Iuch', + 'Lùn', + 'Sult', + 'Dàmh', + 'Samh', + 'Dùbh', + ], + weekdays$2 = [ + 'Didòmhnaich', + 'Diluain', + 'Dimàirt', + 'Diciadain', + 'Diardaoin', + 'Dihaoine', + 'Disathairne', + ], + weekdaysShort$1 = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'], + weekdaysMin$1 = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa']; + + moment.defineLocale('gd', { + months: months$6, + monthsShort: monthsShort$6, + monthsParseExact: true, + weekdays: weekdays$2, + weekdaysShort: weekdaysShort$1, + weekdaysMin: weekdaysMin$1, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[An-diugh aig] LT', + nextDay: '[A-màireach aig] LT', + nextWeek: 'dddd [aig] LT', + lastDay: '[An-dè aig] LT', + lastWeek: 'dddd [seo chaidh] [aig] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ann an %s', + past: 'bho chionn %s', + s: 'beagan diogan', + ss: '%d diogan', + m: 'mionaid', + mm: '%d mionaidean', + h: 'uair', + hh: '%d uairean', + d: 'latha', + dd: '%d latha', + M: 'mìos', + MM: '%d mìosan', + y: 'bliadhna', + yy: '%d bliadhna', + }, + dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/, + ordinal: function (number) { + var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('gl', { + months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split( + '_' + ), + monthsShort: + 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', + }, + calendar: { + sameDay: function () { + return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT'; + }, + nextDay: function () { + return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT'; + }, + nextWeek: function () { + return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT'; + }, + lastDay: function () { + return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT'; + }, + lastWeek: function () { + return ( + '[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: function (str) { + if (str.indexOf('un') === 0) { + return 'n' + str; + } + return 'en ' + str; + }, + past: 'hai %s', + s: 'uns segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'unha hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + M: 'un mes', + MM: '%d meses', + y: 'un ano', + yy: '%d anos', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function processRelativeTime$5(number, withoutSuffix, key, isFuture) { + var format = { + s: ['थोडया सॅकंडांनी', 'थोडे सॅकंड'], + ss: [number + ' सॅकंडांनी', number + ' सॅकंड'], + m: ['एका मिणटान', 'एक मिनूट'], + mm: [number + ' मिणटांनी', number + ' मिणटां'], + h: ['एका वरान', 'एक वर'], + hh: [number + ' वरांनी', number + ' वरां'], + d: ['एका दिसान', 'एक दीस'], + dd: [number + ' दिसांनी', number + ' दीस'], + M: ['एका म्हयन्यान', 'एक म्हयनो'], + MM: [number + ' म्हयन्यानी', number + ' म्हयने'], + y: ['एका वर्सान', 'एक वर्स'], + yy: [number + ' वर्सांनी', number + ' वर्सां'], + }; + return isFuture ? format[key][0] : format[key][1]; + } + + moment.defineLocale('gom-deva', { + months: { + standalone: + 'जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split( + '_' + ), + format: 'जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या'.split( + '_' + ), + isFormat: /MMMM(\s)+D[oD]?/, + }, + monthsShort: + 'जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार'.split('_'), + weekdaysShort: 'आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.'.split('_'), + weekdaysMin: 'आ_सो_मं_बु_ब्रे_सु_शे'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'A h:mm [वाजतां]', + LTS: 'A h:mm:ss [वाजतां]', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY A h:mm [वाजतां]', + LLLL: 'dddd, MMMM Do, YYYY, A h:mm [वाजतां]', + llll: 'ddd, D MMM YYYY, A h:mm [वाजतां]', + }, + calendar: { + sameDay: '[आयज] LT', + nextDay: '[फाल्यां] LT', + nextWeek: '[फुडलो] dddd[,] LT', + lastDay: '[काल] LT', + lastWeek: '[फाटलो] dddd[,] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s', + past: '%s आदीं', + s: processRelativeTime$5, + ss: processRelativeTime$5, + m: processRelativeTime$5, + mm: processRelativeTime$5, + h: processRelativeTime$5, + hh: processRelativeTime$5, + d: processRelativeTime$5, + dd: processRelativeTime$5, + M: processRelativeTime$5, + MM: processRelativeTime$5, + y: processRelativeTime$5, + yy: processRelativeTime$5, + }, + dayOfMonthOrdinalParse: /\d{1,2}(वेर)/, + ordinal: function (number, period) { + switch (period) { + // the ordinal 'वेर' only applies to day of the month + case 'D': + return number + 'वेर'; + default: + case 'M': + case 'Q': + case 'DDD': + case 'd': + case 'w': + case 'W': + return number; + } + }, + week: { + dow: 0, // Sunday is the first day of the week + doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4) + }, + meridiemParse: /राती|सकाळीं|दनपारां|सांजे/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'राती') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'सकाळीं') { + return hour; + } else if (meridiem === 'दनपारां') { + return hour > 12 ? hour : hour + 12; + } else if (meridiem === 'सांजे') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'राती'; + } else if (hour < 12) { + return 'सकाळीं'; + } else if (hour < 16) { + return 'दनपारां'; + } else if (hour < 20) { + return 'सांजे'; + } else { + return 'राती'; + } + }, + }); + + //! moment.js locale configuration + + function processRelativeTime$6(number, withoutSuffix, key, isFuture) { + var format = { + s: ['thoddea sekondamni', 'thodde sekond'], + ss: [number + ' sekondamni', number + ' sekond'], + m: ['eka mintan', 'ek minut'], + mm: [number + ' mintamni', number + ' mintam'], + h: ['eka voran', 'ek vor'], + hh: [number + ' voramni', number + ' voram'], + d: ['eka disan', 'ek dis'], + dd: [number + ' disamni', number + ' dis'], + M: ['eka mhoinean', 'ek mhoino'], + MM: [number + ' mhoineamni', number + ' mhoine'], + y: ['eka vorsan', 'ek voros'], + yy: [number + ' vorsamni', number + ' vorsam'], + }; + return isFuture ? format[key][0] : format[key][1]; + } + + moment.defineLocale('gom-latn', { + months: { + standalone: + 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split( + '_' + ), + format: 'Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea'.split( + '_' + ), + isFormat: /MMMM(\s)+D[oD]?/, + }, + monthsShort: + 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'), + monthsParseExact: true, + weekdays: "Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split('_'), + weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'), + weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'A h:mm [vazta]', + LTS: 'A h:mm:ss [vazta]', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY A h:mm [vazta]', + LLLL: 'dddd, MMMM Do, YYYY, A h:mm [vazta]', + llll: 'ddd, D MMM YYYY, A h:mm [vazta]', + }, + calendar: { + sameDay: '[Aiz] LT', + nextDay: '[Faleam] LT', + nextWeek: '[Fuddlo] dddd[,] LT', + lastDay: '[Kal] LT', + lastWeek: '[Fattlo] dddd[,] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s', + past: '%s adim', + s: processRelativeTime$6, + ss: processRelativeTime$6, + m: processRelativeTime$6, + mm: processRelativeTime$6, + h: processRelativeTime$6, + hh: processRelativeTime$6, + d: processRelativeTime$6, + dd: processRelativeTime$6, + M: processRelativeTime$6, + MM: processRelativeTime$6, + y: processRelativeTime$6, + yy: processRelativeTime$6, + }, + dayOfMonthOrdinalParse: /\d{1,2}(er)/, + ordinal: function (number, period) { + switch (period) { + // the ordinal 'er' only applies to day of the month + case 'D': + return number + 'er'; + default: + case 'M': + case 'Q': + case 'DDD': + case 'd': + case 'w': + case 'W': + return number; + } + }, + week: { + dow: 0, // Sunday is the first day of the week + doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4) + }, + meridiemParse: /rati|sokallim|donparam|sanje/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'rati') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'sokallim') { + return hour; + } else if (meridiem === 'donparam') { + return hour > 12 ? hour : hour + 12; + } else if (meridiem === 'sanje') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'rati'; + } else if (hour < 12) { + return 'sokallim'; + } else if (hour < 16) { + return 'donparam'; + } else if (hour < 20) { + return 'sanje'; + } else { + return 'rati'; + } + }, + }); + + //! moment.js locale configuration + + var symbolMap$8 = { + 1: '૧', + 2: '૨', + 3: '૩', + 4: '૪', + 5: '૫', + 6: '૬', + 7: '૭', + 8: '૮', + 9: '૯', + 0: '૦', + }, + numberMap$7 = { + '૧': '1', + '૨': '2', + '૩': '3', + '૪': '4', + '૫': '5', + '૬': '6', + '૭': '7', + '૮': '8', + '૯': '9', + '૦': '0', + }; + + moment.defineLocale('gu', { + months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split( + '_' + ), + monthsShort: + 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split( + '_' + ), + weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'), + weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'), + longDateFormat: { + LT: 'A h:mm વાગ્યે', + LTS: 'A h:mm:ss વાગ્યે', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm વાગ્યે', + LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે', + }, + calendar: { + sameDay: '[આજ] LT', + nextDay: '[કાલે] LT', + nextWeek: 'dddd, LT', + lastDay: '[ગઇકાલે] LT', + lastWeek: '[પાછલા] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s મા', + past: '%s પહેલા', + s: 'અમુક પળો', + ss: '%d સેકંડ', + m: 'એક મિનિટ', + mm: '%d મિનિટ', + h: 'એક કલાક', + hh: '%d કલાક', + d: 'એક દિવસ', + dd: '%d દિવસ', + M: 'એક મહિનો', + MM: '%d મહિનો', + y: 'એક વર્ષ', + yy: '%d વર્ષ', + }, + preparse: function (string) { + return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) { + return numberMap$7[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$8[match]; + }); + }, + // Gujarati notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati. + meridiemParse: /રાત|બપોર|સવાર|સાંજ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'રાત') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'સવાર') { + return hour; + } else if (meridiem === 'બપોર') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'સાંજ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'રાત'; + } else if (hour < 10) { + return 'સવાર'; + } else if (hour < 17) { + return 'બપોર'; + } else if (hour < 20) { + return 'સાંજ'; + } else { + return 'રાત'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('he', { + months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split( + '_' + ), + monthsShort: + 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'), + weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'), + weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'), + weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [ב]MMMM YYYY', + LLL: 'D [ב]MMMM YYYY HH:mm', + LLLL: 'dddd, D [ב]MMMM YYYY HH:mm', + l: 'D/M/YYYY', + ll: 'D MMM YYYY', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd, D MMM YYYY HH:mm', + }, + calendar: { + sameDay: '[היום ב־]LT', + nextDay: '[מחר ב־]LT', + nextWeek: 'dddd [בשעה] LT', + lastDay: '[אתמול ב־]LT', + lastWeek: '[ביום] dddd [האחרון בשעה] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'בעוד %s', + past: 'לפני %s', + s: 'מספר שניות', + ss: '%d שניות', + m: 'דקה', + mm: '%d דקות', + h: 'שעה', + hh: function (number) { + if (number === 2) { + return 'שעתיים'; + } + return number + ' שעות'; + }, + d: 'יום', + dd: function (number) { + if (number === 2) { + return 'יומיים'; + } + return number + ' ימים'; + }, + M: 'חודש', + MM: function (number) { + if (number === 2) { + return 'חודשיים'; + } + return number + ' חודשים'; + }, + y: 'שנה', + yy: function (number) { + if (number === 2) { + return 'שנתיים'; + } else if (number % 10 === 0 && number !== 10) { + return number + ' שנה'; + } + return number + ' שנים'; + }, + }, + meridiemParse: + /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i, + isPM: function (input) { + return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 5) { + return 'לפנות בוקר'; + } else if (hour < 10) { + return 'בבוקר'; + } else if (hour < 12) { + return isLower ? 'לפנה"צ' : 'לפני הצהריים'; + } else if (hour < 18) { + return isLower ? 'אחה"צ' : 'אחרי הצהריים'; + } else { + return 'בערב'; + } + }, + }); + + //! moment.js locale configuration + + var symbolMap$9 = { + 1: '१', + 2: '२', + 3: '३', + 4: '४', + 5: '५', + 6: '६', + 7: '७', + 8: '८', + 9: '९', + 0: '०', + }, + numberMap$8 = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0', + }, + monthsParse$7 = [ + /^जन/i, + /^फ़र|फर/i, + /^मार्च/i, + /^अप्रै/i, + /^मई/i, + /^जून/i, + /^जुल/i, + /^अग/i, + /^सितं|सित/i, + /^अक्टू/i, + /^नव|नवं/i, + /^दिसं|दिस/i, + ], + shortMonthsParse = [ + /^जन/i, + /^फ़र/i, + /^मार्च/i, + /^अप्रै/i, + /^मई/i, + /^जून/i, + /^जुल/i, + /^अग/i, + /^सित/i, + /^अक्टू/i, + /^नव/i, + /^दिस/i, + ]; + + moment.defineLocale('hi', { + months: { + format: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split( + '_' + ), + standalone: + 'जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर'.split( + '_' + ), + }, + monthsShort: + 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'), + weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'), + weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'), + longDateFormat: { + LT: 'A h:mm बजे', + LTS: 'A h:mm:ss बजे', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm बजे', + LLLL: 'dddd, D MMMM YYYY, A h:mm बजे', + }, + + monthsParse: monthsParse$7, + longMonthsParse: monthsParse$7, + shortMonthsParse: shortMonthsParse, + + monthsRegex: + /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i, + + monthsShortRegex: + /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i, + + monthsStrictRegex: + /^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i, + + monthsShortStrictRegex: + /^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i, + + calendar: { + sameDay: '[आज] LT', + nextDay: '[कल] LT', + nextWeek: 'dddd, LT', + lastDay: '[कल] LT', + lastWeek: '[पिछले] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s में', + past: '%s पहले', + s: 'कुछ ही क्षण', + ss: '%d सेकंड', + m: 'एक मिनट', + mm: '%d मिनट', + h: 'एक घंटा', + hh: '%d घंटे', + d: 'एक दिन', + dd: '%d दिन', + M: 'एक महीने', + MM: '%d महीने', + y: 'एक वर्ष', + yy: '%d वर्ष', + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap$8[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$9[match]; + }); + }, + // Hindi notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi. + meridiemParse: /रात|सुबह|दोपहर|शाम/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'रात') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'सुबह') { + return hour; + } else if (meridiem === 'दोपहर') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'शाम') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'रात'; + } else if (hour < 10) { + return 'सुबह'; + } else if (hour < 17) { + return 'दोपहर'; + } else if (hour < 20) { + return 'शाम'; + } else { + return 'रात'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function translate$3(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'ss': + if (number === 1) { + result += 'sekunda'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sekunde'; + } else { + result += 'sekundi'; + } + return result; + case 'm': + return withoutSuffix ? 'jedna minuta' : 'jedne minute'; + case 'mm': + if (number === 1) { + result += 'minuta'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'minute'; + } else { + result += 'minuta'; + } + return result; + case 'h': + return withoutSuffix ? 'jedan sat' : 'jednog sata'; + case 'hh': + if (number === 1) { + result += 'sat'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sata'; + } else { + result += 'sati'; + } + return result; + case 'dd': + if (number === 1) { + result += 'dan'; + } else { + result += 'dana'; + } + return result; + case 'MM': + if (number === 1) { + result += 'mjesec'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'mjeseca'; + } else { + result += 'mjeseci'; + } + return result; + case 'yy': + if (number === 1) { + result += 'godina'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'godine'; + } else { + result += 'godina'; + } + return result; + } + } + + moment.defineLocale('hr', { + months: { + format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split( + '_' + ), + standalone: + 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split( + '_' + ), + }, + monthsShort: + 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( + '_' + ), + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'Do MMMM YYYY', + LLL: 'Do MMMM YYYY H:mm', + LLLL: 'dddd, Do MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sutra u] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay: '[jučer u] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[prošlu] [nedjelju] [u] LT'; + case 3: + return '[prošlu] [srijedu] [u] LT'; + case 6: + return '[prošle] [subote] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prošli] dddd [u] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'prije %s', + s: 'par sekundi', + ss: translate$3, + m: translate$3, + mm: translate$3, + h: translate$3, + hh: translate$3, + d: 'dan', + dd: translate$3, + M: 'mjesec', + MM: translate$3, + y: 'godinu', + yy: translate$3, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var weekEndings = + 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' '); + function translate$4(number, withoutSuffix, key, isFuture) { + var num = number; + switch (key) { + case 's': + return isFuture || withoutSuffix + ? 'néhány másodperc' + : 'néhány másodperce'; + case 'ss': + return num + (isFuture || withoutSuffix) + ? ' másodperc' + : ' másodperce'; + case 'm': + return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce'); + case 'mm': + return num + (isFuture || withoutSuffix ? ' perc' : ' perce'); + case 'h': + return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája'); + case 'hh': + return num + (isFuture || withoutSuffix ? ' óra' : ' órája'); + case 'd': + return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja'); + case 'dd': + return num + (isFuture || withoutSuffix ? ' nap' : ' napja'); + case 'M': + return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); + case 'MM': + return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); + case 'y': + return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve'); + case 'yy': + return num + (isFuture || withoutSuffix ? ' év' : ' éve'); + } + return ''; + } + function week(isFuture) { + return ( + (isFuture ? '' : '[múlt] ') + + '[' + + weekEndings[this.day()] + + '] LT[-kor]' + ); + } + + moment.defineLocale('hu', { + months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split( + '_' + ), + monthsShort: + 'jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'), + weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'), + weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'YYYY.MM.DD.', + LL: 'YYYY. MMMM D.', + LLL: 'YYYY. MMMM D. H:mm', + LLLL: 'YYYY. MMMM D., dddd H:mm', + }, + meridiemParse: /de|du/i, + isPM: function (input) { + return input.charAt(1).toLowerCase() === 'u'; + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower === true ? 'de' : 'DE'; + } else { + return isLower === true ? 'du' : 'DU'; + } + }, + calendar: { + sameDay: '[ma] LT[-kor]', + nextDay: '[holnap] LT[-kor]', + nextWeek: function () { + return week.call(this, true); + }, + lastDay: '[tegnap] LT[-kor]', + lastWeek: function () { + return week.call(this, false); + }, + sameElse: 'L', + }, + relativeTime: { + future: '%s múlva', + past: '%s', + s: translate$4, + ss: translate$4, + m: translate$4, + mm: translate$4, + h: translate$4, + hh: translate$4, + d: translate$4, + dd: translate$4, + M: translate$4, + MM: translate$4, + y: translate$4, + yy: translate$4, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('hy-am', { + months: { + format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split( + '_' + ), + standalone: + 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split( + '_' + ), + }, + monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'), + weekdays: + 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split( + '_' + ), + weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), + weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY թ.', + LLL: 'D MMMM YYYY թ., HH:mm', + LLLL: 'dddd, D MMMM YYYY թ., HH:mm', + }, + calendar: { + sameDay: '[այսօր] LT', + nextDay: '[վաղը] LT', + lastDay: '[երեկ] LT', + nextWeek: function () { + return 'dddd [օրը ժամը] LT'; + }, + lastWeek: function () { + return '[անցած] dddd [օրը ժամը] LT'; + }, + sameElse: 'L', + }, + relativeTime: { + future: '%s հետո', + past: '%s առաջ', + s: 'մի քանի վայրկյան', + ss: '%d վայրկյան', + m: 'րոպե', + mm: '%d րոպե', + h: 'ժամ', + hh: '%d ժամ', + d: 'օր', + dd: '%d օր', + M: 'ամիս', + MM: '%d ամիս', + y: 'տարի', + yy: '%d տարի', + }, + meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/, + isPM: function (input) { + return /^(ցերեկվա|երեկոյան)$/.test(input); + }, + meridiem: function (hour) { + if (hour < 4) { + return 'գիշերվա'; + } else if (hour < 12) { + return 'առավոտվա'; + } else if (hour < 17) { + return 'ցերեկվա'; + } else { + return 'երեկոյան'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/, + ordinal: function (number, period) { + switch (period) { + case 'DDD': + case 'w': + case 'W': + case 'DDDo': + if (number === 1) { + return number + '-ին'; + } + return number + '-րդ'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('id', { + months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'), + weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'), + weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'), + weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /pagi|siang|sore|malam/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'siang') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'sore' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'siang'; + } else if (hours < 19) { + return 'sore'; + } else { + return 'malam'; + } + }, + calendar: { + sameDay: '[Hari ini pukul] LT', + nextDay: '[Besok pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kemarin pukul] LT', + lastWeek: 'dddd [lalu pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lalu', + s: 'beberapa detik', + ss: '%d detik', + m: 'semenit', + mm: '%d menit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun', + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function plural$2(n) { + if (n % 100 === 11) { + return true; + } else if (n % 10 === 1) { + return false; + } + return true; + } + function translate$5(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': + return withoutSuffix || isFuture + ? 'nokkrar sekúndur' + : 'nokkrum sekúndum'; + case 'ss': + if (plural$2(number)) { + return ( + result + + (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum') + ); + } + return result + 'sekúnda'; + case 'm': + return withoutSuffix ? 'mínúta' : 'mínútu'; + case 'mm': + if (plural$2(number)) { + return ( + result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum') + ); + } else if (withoutSuffix) { + return result + 'mínúta'; + } + return result + 'mínútu'; + case 'hh': + if (plural$2(number)) { + return ( + result + + (withoutSuffix || isFuture + ? 'klukkustundir' + : 'klukkustundum') + ); + } + return result + 'klukkustund'; + case 'd': + if (withoutSuffix) { + return 'dagur'; + } + return isFuture ? 'dag' : 'degi'; + case 'dd': + if (plural$2(number)) { + if (withoutSuffix) { + return result + 'dagar'; + } + return result + (isFuture ? 'daga' : 'dögum'); + } else if (withoutSuffix) { + return result + 'dagur'; + } + return result + (isFuture ? 'dag' : 'degi'); + case 'M': + if (withoutSuffix) { + return 'mánuður'; + } + return isFuture ? 'mánuð' : 'mánuði'; + case 'MM': + if (plural$2(number)) { + if (withoutSuffix) { + return result + 'mánuðir'; + } + return result + (isFuture ? 'mánuði' : 'mánuðum'); + } else if (withoutSuffix) { + return result + 'mánuður'; + } + return result + (isFuture ? 'mánuð' : 'mánuði'); + case 'y': + return withoutSuffix || isFuture ? 'ár' : 'ári'; + case 'yy': + if (plural$2(number)) { + return result + (withoutSuffix || isFuture ? 'ár' : 'árum'); + } + return result + (withoutSuffix || isFuture ? 'ár' : 'ári'); + } + } + + moment.defineLocale('is', { + months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'), + weekdays: + 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split( + '_' + ), + weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'), + weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] H:mm', + LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm', + }, + calendar: { + sameDay: '[í dag kl.] LT', + nextDay: '[á morgun kl.] LT', + nextWeek: 'dddd [kl.] LT', + lastDay: '[í gær kl.] LT', + lastWeek: '[síðasta] dddd [kl.] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'eftir %s', + past: 'fyrir %s síðan', + s: translate$5, + ss: translate$5, + m: translate$5, + mm: translate$5, + h: 'klukkustund', + hh: translate$5, + d: translate$5, + dd: translate$5, + M: translate$5, + MM: translate$5, + y: translate$5, + yy: translate$5, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('it-ch', { + months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split( + '_' + ), + monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), + weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split( + '_' + ), + weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'), + weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Oggi alle] LT', + nextDay: '[Domani alle] LT', + nextWeek: 'dddd [alle] LT', + lastDay: '[Ieri alle] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[la scorsa] dddd [alle] LT'; + default: + return '[lo scorso] dddd [alle] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: function (s) { + return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s; + }, + past: '%s fa', + s: 'alcuni secondi', + ss: '%d secondi', + m: 'un minuto', + mm: '%d minuti', + h: "un'ora", + hh: '%d ore', + d: 'un giorno', + dd: '%d giorni', + M: 'un mese', + MM: '%d mesi', + y: 'un anno', + yy: '%d anni', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('it', { + months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split( + '_' + ), + monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), + weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split( + '_' + ), + weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'), + weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: function () { + return ( + '[Oggi a' + + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + + ']LT' + ); + }, + nextDay: function () { + return ( + '[Domani a' + + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + + ']LT' + ); + }, + nextWeek: function () { + return ( + 'dddd [a' + + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + + ']LT' + ); + }, + lastDay: function () { + return ( + '[Ieri a' + + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + + ']LT' + ); + }, + lastWeek: function () { + switch (this.day()) { + case 0: + return ( + '[La scorsa] dddd [a' + + (this.hours() > 1 + ? 'lle ' + : this.hours() === 0 + ? ' ' + : "ll'") + + ']LT' + ); + default: + return ( + '[Lo scorso] dddd [a' + + (this.hours() > 1 + ? 'lle ' + : this.hours() === 0 + ? ' ' + : "ll'") + + ']LT' + ); + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'tra %s', + past: '%s fa', + s: 'alcuni secondi', + ss: '%d secondi', + m: 'un minuto', + mm: '%d minuti', + h: "un'ora", + hh: '%d ore', + d: 'un giorno', + dd: '%d giorni', + w: 'una settimana', + ww: '%d settimane', + M: 'un mese', + MM: '%d mesi', + y: 'un anno', + yy: '%d anni', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('ja', { + eras: [ + { + since: '2019-05-01', + offset: 1, + name: '令和', + narrow: '㋿', + abbr: 'R', + }, + { + since: '1989-01-08', + until: '2019-04-30', + offset: 1, + name: '平成', + narrow: '㍻', + abbr: 'H', + }, + { + since: '1926-12-25', + until: '1989-01-07', + offset: 1, + name: '昭和', + narrow: '㍼', + abbr: 'S', + }, + { + since: '1912-07-30', + until: '1926-12-24', + offset: 1, + name: '大正', + narrow: '㍽', + abbr: 'T', + }, + { + since: '1873-01-01', + until: '1912-07-29', + offset: 6, + name: '明治', + narrow: '㍾', + abbr: 'M', + }, + { + since: '0001-01-01', + until: '1873-12-31', + offset: 1, + name: '西暦', + narrow: 'AD', + abbr: 'AD', + }, + { + since: '0000-12-31', + until: -Infinity, + offset: 1, + name: '紀元前', + narrow: 'BC', + abbr: 'BC', + }, + ], + eraYearOrdinalRegex: /(元|\d+)年/, + eraYearOrdinalParse: function (input, match) { + return match[1] === '元' ? 1 : parseInt(match[1] || input, 10); + }, + months: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'), + weekdaysShort: '日_月_火_水_木_金_土'.split('_'), + weekdaysMin: '日_月_火_水_木_金_土'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日 dddd HH:mm', + l: 'YYYY/MM/DD', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日(ddd) HH:mm', + }, + meridiemParse: /午前|午後/i, + isPM: function (input) { + return input === '午後'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return '午前'; + } else { + return '午後'; + } + }, + calendar: { + sameDay: '[今日] LT', + nextDay: '[明日] LT', + nextWeek: function (now) { + if (now.week() !== this.week()) { + return '[来週]dddd LT'; + } else { + return 'dddd LT'; + } + }, + lastDay: '[昨日] LT', + lastWeek: function (now) { + if (this.week() !== now.week()) { + return '[先週]dddd LT'; + } else { + return 'dddd LT'; + } + }, + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}日/, + ordinal: function (number, period) { + switch (period) { + case 'y': + return number === 1 ? '元年' : number + '年'; + case 'd': + case 'D': + case 'DDD': + return number + '日'; + default: + return number; + } + }, + relativeTime: { + future: '%s後', + past: '%s前', + s: '数秒', + ss: '%d秒', + m: '1分', + mm: '%d分', + h: '1時間', + hh: '%d時間', + d: '1日', + dd: '%d日', + M: '1ヶ月', + MM: '%dヶ月', + y: '1年', + yy: '%d年', + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('jv', { + months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'), + weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'), + weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'), + weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /enjing|siyang|sonten|ndalu/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'enjing') { + return hour; + } else if (meridiem === 'siyang') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'sonten' || meridiem === 'ndalu') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'enjing'; + } else if (hours < 15) { + return 'siyang'; + } else if (hours < 19) { + return 'sonten'; + } else { + return 'ndalu'; + } + }, + calendar: { + sameDay: '[Dinten puniko pukul] LT', + nextDay: '[Mbenjang pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kala wingi pukul] LT', + lastWeek: 'dddd [kepengker pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'wonten ing %s', + past: '%s ingkang kepengker', + s: 'sawetawis detik', + ss: '%d detik', + m: 'setunggal menit', + mm: '%d menit', + h: 'setunggal jam', + hh: '%d jam', + d: 'sedinten', + dd: '%d dinten', + M: 'sewulan', + MM: '%d wulan', + y: 'setaun', + yy: '%d taun', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('ka', { + months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split( + '_' + ), + monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'), + weekdays: { + standalone: + 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split( + '_' + ), + format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split( + '_' + ), + isFormat: /(წინა|შემდეგ)/, + }, + weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'), + weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[დღეს] LT[-ზე]', + nextDay: '[ხვალ] LT[-ზე]', + lastDay: '[გუშინ] LT[-ზე]', + nextWeek: '[შემდეგ] dddd LT[-ზე]', + lastWeek: '[წინა] dddd LT-ზე', + sameElse: 'L', + }, + relativeTime: { + future: function (s) { + return s.replace( + /(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/, + function ($0, $1, $2) { + return $2 === 'ი' ? $1 + 'ში' : $1 + $2 + 'ში'; + } + ); + }, + past: function (s) { + if (/(წამი|წუთი|საათი|დღე|თვე)/.test(s)) { + return s.replace(/(ი|ე)$/, 'ის წინ'); + } + if (/წელი/.test(s)) { + return s.replace(/წელი$/, 'წლის წინ'); + } + return s; + }, + s: 'რამდენიმე წამი', + ss: '%d წამი', + m: 'წუთი', + mm: '%d წუთი', + h: 'საათი', + hh: '%d საათი', + d: 'დღე', + dd: '%d დღე', + M: 'თვე', + MM: '%d თვე', + y: 'წელი', + yy: '%d წელი', + }, + dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/, + ordinal: function (number) { + if (number === 0) { + return number; + } + if (number === 1) { + return number + '-ლი'; + } + if ( + number < 20 || + (number <= 100 && number % 20 === 0) || + number % 100 === 0 + ) { + return 'მე-' + number; + } + return number + '-ე'; + }, + week: { + dow: 1, + doy: 7, + }, + }); + + //! moment.js locale configuration + + var suffixes$1 = { + 0: '-ші', + 1: '-ші', + 2: '-ші', + 3: '-ші', + 4: '-ші', + 5: '-ші', + 6: '-шы', + 7: '-ші', + 8: '-ші', + 9: '-шы', + 10: '-шы', + 20: '-шы', + 30: '-шы', + 40: '-шы', + 50: '-ші', + 60: '-шы', + 70: '-ші', + 80: '-ші', + 90: '-шы', + 100: '-ші', + }; + + moment.defineLocale('kk', { + months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split( + '_' + ), + monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'), + weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split( + '_' + ), + weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'), + weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Бүгін сағат] LT', + nextDay: '[Ертең сағат] LT', + nextWeek: 'dddd [сағат] LT', + lastDay: '[Кеше сағат] LT', + lastWeek: '[Өткен аптаның] dddd [сағат] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ішінде', + past: '%s бұрын', + s: 'бірнеше секунд', + ss: '%d секунд', + m: 'бір минут', + mm: '%d минут', + h: 'бір сағат', + hh: '%d сағат', + d: 'бір күн', + dd: '%d күн', + M: 'бір ай', + MM: '%d ай', + y: 'бір жыл', + yy: '%d жыл', + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/, + ordinal: function (number) { + var a = number % 10, + b = number >= 100 ? 100 : null; + return number + (suffixes$1[number] || suffixes$1[a] || suffixes$1[b]); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$a = { + 1: '១', + 2: '២', + 3: '៣', + 4: '៤', + 5: '៥', + 6: '៦', + 7: '៧', + 8: '៨', + 9: '៩', + 0: '០', + }, + numberMap$9 = { + '១': '1', + '២': '2', + '៣': '3', + '៤': '4', + '៥': '5', + '៦': '6', + '៧': '7', + '៨': '8', + '៩': '9', + '០': '0', + }; + + moment.defineLocale('km', { + months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split( + '_' + ), + monthsShort: + 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split( + '_' + ), + weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), + weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'), + weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + meridiemParse: /ព្រឹក|ល្ងាច/, + isPM: function (input) { + return input === 'ល្ងាច'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ព្រឹក'; + } else { + return 'ល្ងាច'; + } + }, + calendar: { + sameDay: '[ថ្ងៃនេះ ម៉ោង] LT', + nextDay: '[ស្អែក ម៉ោង] LT', + nextWeek: 'dddd [ម៉ោង] LT', + lastDay: '[ម្សិលមិញ ម៉ោង] LT', + lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%sទៀត', + past: '%sមុន', + s: 'ប៉ុន្មានវិនាទី', + ss: '%d វិនាទី', + m: 'មួយនាទី', + mm: '%d នាទី', + h: 'មួយម៉ោង', + hh: '%d ម៉ោង', + d: 'មួយថ្ងៃ', + dd: '%d ថ្ងៃ', + M: 'មួយខែ', + MM: '%d ខែ', + y: 'មួយឆ្នាំ', + yy: '%d ឆ្នាំ', + }, + dayOfMonthOrdinalParse: /ទី\d{1,2}/, + ordinal: 'ទី%d', + preparse: function (string) { + return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) { + return numberMap$9[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$a[match]; + }); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$b = { + 1: '೧', + 2: '೨', + 3: '೩', + 4: '೪', + 5: '೫', + 6: '೬', + 7: '೭', + 8: '೮', + 9: '೯', + 0: '೦', + }, + numberMap$a = { + '೧': '1', + '೨': '2', + '೩': '3', + '೪': '4', + '೫': '5', + '೬': '6', + '೭': '7', + '೮': '8', + '೯': '9', + '೦': '0', + }; + + moment.defineLocale('kn', { + months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split( + '_' + ), + monthsShort: + 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split( + '_' + ), + weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'), + weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm', + }, + calendar: { + sameDay: '[ಇಂದು] LT', + nextDay: '[ನಾಳೆ] LT', + nextWeek: 'dddd, LT', + lastDay: '[ನಿನ್ನೆ] LT', + lastWeek: '[ಕೊನೆಯ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ನಂತರ', + past: '%s ಹಿಂದೆ', + s: 'ಕೆಲವು ಕ್ಷಣಗಳು', + ss: '%d ಸೆಕೆಂಡುಗಳು', + m: 'ಒಂದು ನಿಮಿಷ', + mm: '%d ನಿಮಿಷ', + h: 'ಒಂದು ಗಂಟೆ', + hh: '%d ಗಂಟೆ', + d: 'ಒಂದು ದಿನ', + dd: '%d ದಿನ', + M: 'ಒಂದು ತಿಂಗಳು', + MM: '%d ತಿಂಗಳು', + y: 'ಒಂದು ವರ್ಷ', + yy: '%d ವರ್ಷ', + }, + preparse: function (string) { + return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) { + return numberMap$a[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$b[match]; + }); + }, + meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ರಾತ್ರಿ') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') { + return hour; + } else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'ಸಂಜೆ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ರಾತ್ರಿ'; + } else if (hour < 10) { + return 'ಬೆಳಿಗ್ಗೆ'; + } else if (hour < 17) { + return 'ಮಧ್ಯಾಹ್ನ'; + } else if (hour < 20) { + return 'ಸಂಜೆ'; + } else { + return 'ರಾತ್ರಿ'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}(ನೇ)/, + ordinal: function (number) { + return number + 'ನೇ'; + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('ko', { + months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), + monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split( + '_' + ), + weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'), + weekdaysShort: '일_월_화_수_목_금_토'.split('_'), + weekdaysMin: '일_월_화_수_목_금_토'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'YYYY.MM.DD.', + LL: 'YYYY년 MMMM D일', + LLL: 'YYYY년 MMMM D일 A h:mm', + LLLL: 'YYYY년 MMMM D일 dddd A h:mm', + l: 'YYYY.MM.DD.', + ll: 'YYYY년 MMMM D일', + lll: 'YYYY년 MMMM D일 A h:mm', + llll: 'YYYY년 MMMM D일 dddd A h:mm', + }, + calendar: { + sameDay: '오늘 LT', + nextDay: '내일 LT', + nextWeek: 'dddd LT', + lastDay: '어제 LT', + lastWeek: '지난주 dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s 후', + past: '%s 전', + s: '몇 초', + ss: '%d초', + m: '1분', + mm: '%d분', + h: '한 시간', + hh: '%d시간', + d: '하루', + dd: '%d일', + M: '한 달', + MM: '%d달', + y: '일 년', + yy: '%d년', + }, + dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '일'; + case 'M': + return number + '월'; + case 'w': + case 'W': + return number + '주'; + default: + return number; + } + }, + meridiemParse: /오전|오후/, + isPM: function (token) { + return token === '오후'; + }, + meridiem: function (hour, minute, isUpper) { + return hour < 12 ? '오전' : '오후'; + }, + }); + + //! moment.js locale configuration + + function processRelativeTime$7(num, withoutSuffix, key, isFuture) { + var format = { + s: ['çend sanîye', 'çend sanîyeyan'], + ss: [num + ' sanîye', num + ' sanîyeyan'], + m: ['deqîqeyek', 'deqîqeyekê'], + mm: [num + ' deqîqe', num + ' deqîqeyan'], + h: ['saetek', 'saetekê'], + hh: [num + ' saet', num + ' saetan'], + d: ['rojek', 'rojekê'], + dd: [num + ' roj', num + ' rojan'], + w: ['hefteyek', 'hefteyekê'], + ww: [num + ' hefte', num + ' hefteyan'], + M: ['mehek', 'mehekê'], + MM: [num + ' meh', num + ' mehan'], + y: ['salek', 'salekê'], + yy: [num + ' sal', num + ' salan'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + // function obliqueNumSuffix(num) { + // if(num.includes(':')) + // num = parseInt(num.split(':')[0]); + // else + // num = parseInt(num); + // return num == 0 || num % 10 == 1 ? 'ê' + // : (num > 10 && num % 10 == 0 ? 'î' : 'an'); + // } + function ezafeNumSuffix(num) { + num = '' + num; + var l = num.substring(num.length - 1), + ll = num.length > 1 ? num.substring(num.length - 2) : ''; + if ( + !(ll == 12 || ll == 13) && + (l == '2' || l == '3' || ll == '50' || l == '70' || l == '80') + ) + return 'yê'; + return 'ê'; + } + + moment.defineLocale('ku-kmr', { + // According to the spelling rules defined by the work group of Weqfa Mezopotamyayê (Mesopotamia Foundation) + // this should be: 'Kanûna Paşîn_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Çirîya Pêşîn_Çirîya Paşîn_Kanûna Pêşîn' + // But the names below are more well known and handy + months: 'Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar'.split( + '_' + ), + monthsShort: 'Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber'.split('_'), + monthsParseExact: true, + weekdays: 'Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî'.split('_'), + weekdaysShort: 'Yek_Du_Sê_Çar_Pên_În_Şem'.split('_'), + weekdaysMin: 'Ye_Du_Sê_Ça_Pê_În_Şe'.split('_'), + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'bn' : 'BN'; + } else { + return isLower ? 'pn' : 'PN'; + } + }, + meridiemParse: /bn|BN|pn|PN/, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'Do MMMM[a] YYYY[an]', + LLL: 'Do MMMM[a] YYYY[an] HH:mm', + LLLL: 'dddd, Do MMMM[a] YYYY[an] HH:mm', + ll: 'Do MMM[.] YYYY[an]', + lll: 'Do MMM[.] YYYY[an] HH:mm', + llll: 'ddd[.], Do MMM[.] YYYY[an] HH:mm', + }, + calendar: { + sameDay: '[Îro di saet] LT [de]', + nextDay: '[Sibê di saet] LT [de]', + nextWeek: 'dddd [di saet] LT [de]', + lastDay: '[Duh di saet] LT [de]', + lastWeek: 'dddd[a borî di saet] LT [de]', + sameElse: 'L', + }, + relativeTime: { + future: 'di %s de', + past: 'berî %s', + s: processRelativeTime$7, + ss: processRelativeTime$7, + m: processRelativeTime$7, + mm: processRelativeTime$7, + h: processRelativeTime$7, + hh: processRelativeTime$7, + d: processRelativeTime$7, + dd: processRelativeTime$7, + w: processRelativeTime$7, + ww: processRelativeTime$7, + M: processRelativeTime$7, + MM: processRelativeTime$7, + y: processRelativeTime$7, + yy: processRelativeTime$7, + }, + dayOfMonthOrdinalParse: /\d{1,2}(?:yê|ê|\.)/, + ordinal: function (num, period) { + var p = period.toLowerCase(); + if (p.includes('w') || p.includes('m')) return num + '.'; + + return num + ezafeNumSuffix(num); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$c = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap$b = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }, + months$7 = [ + 'کانونی دووەم', + 'شوبات', + 'ئازار', + 'نیسان', + 'ئایار', + 'حوزەیران', + 'تەمموز', + 'ئاب', + 'ئەیلوول', + 'تشرینی یەكەم', + 'تشرینی دووەم', + 'كانونی یەکەم', + ]; + + moment.defineLocale('ku', { + months: months$7, + monthsShort: months$7, + weekdays: + 'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split( + '_' + ), + weekdaysShort: + 'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split('_'), + weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + meridiemParse: /ئێواره‌|به‌یانی/, + isPM: function (input) { + return /ئێواره‌/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'به‌یانی'; + } else { + return 'ئێواره‌'; + } + }, + calendar: { + sameDay: '[ئه‌مرۆ كاتژمێر] LT', + nextDay: '[به‌یانی كاتژمێر] LT', + nextWeek: 'dddd [كاتژمێر] LT', + lastDay: '[دوێنێ كاتژمێر] LT', + lastWeek: 'dddd [كاتژمێر] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'له‌ %s', + past: '%s', + s: 'چه‌ند چركه‌یه‌ك', + ss: 'چركه‌ %d', + m: 'یه‌ك خوله‌ك', + mm: '%d خوله‌ك', + h: 'یه‌ك كاتژمێر', + hh: '%d كاتژمێر', + d: 'یه‌ك ڕۆژ', + dd: '%d ڕۆژ', + M: 'یه‌ك مانگ', + MM: '%d مانگ', + y: 'یه‌ك ساڵ', + yy: '%d ساڵ', + }, + preparse: function (string) { + return string + .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap$b[match]; + }) + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap$c[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var suffixes$2 = { + 0: '-чү', + 1: '-чи', + 2: '-чи', + 3: '-чү', + 4: '-чү', + 5: '-чи', + 6: '-чы', + 7: '-чи', + 8: '-чи', + 9: '-чу', + 10: '-чу', + 20: '-чы', + 30: '-чу', + 40: '-чы', + 50: '-чү', + 60: '-чы', + 70: '-чи', + 80: '-чи', + 90: '-чу', + 100: '-чү', + }; + + moment.defineLocale('ky', { + months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split( + '_' + ), + monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split( + '_' + ), + weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split( + '_' + ), + weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'), + weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Бүгүн саат] LT', + nextDay: '[Эртең саат] LT', + nextWeek: 'dddd [саат] LT', + lastDay: '[Кечээ саат] LT', + lastWeek: '[Өткөн аптанын] dddd [күнү] [саат] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ичинде', + past: '%s мурун', + s: 'бирнече секунд', + ss: '%d секунд', + m: 'бир мүнөт', + mm: '%d мүнөт', + h: 'бир саат', + hh: '%d саат', + d: 'бир күн', + dd: '%d күн', + M: 'бир ай', + MM: '%d ай', + y: 'бир жыл', + yy: '%d жыл', + }, + dayOfMonthOrdinalParse: /\d{1,2}-(чи|чы|чү|чу)/, + ordinal: function (number) { + var a = number % 10, + b = number >= 100 ? 100 : null; + return number + (suffixes$2[number] || suffixes$2[a] || suffixes$2[b]); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function processRelativeTime$8(number, withoutSuffix, key, isFuture) { + var format = { + m: ['eng Minutt', 'enger Minutt'], + h: ['eng Stonn', 'enger Stonn'], + d: ['een Dag', 'engem Dag'], + M: ['ee Mount', 'engem Mount'], + y: ['ee Joer', 'engem Joer'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + function processFutureTime(string) { + var number = string.substr(0, string.indexOf(' ')); + if (eifelerRegelAppliesToNumber(number)) { + return 'a ' + string; + } + return 'an ' + string; + } + function processPastTime(string) { + var number = string.substr(0, string.indexOf(' ')); + if (eifelerRegelAppliesToNumber(number)) { + return 'viru ' + string; + } + return 'virun ' + string; + } + /** + * Returns true if the word before the given number loses the '-n' ending. + * e.g. 'an 10 Deeg' but 'a 5 Deeg' + * + * @param number {integer} + * @returns {boolean} + */ + function eifelerRegelAppliesToNumber(number) { + number = parseInt(number, 10); + if (isNaN(number)) { + return false; + } + if (number < 0) { + // Negative Number --> always true + return true; + } else if (number < 10) { + // Only 1 digit + if (4 <= number && number <= 7) { + return true; + } + return false; + } else if (number < 100) { + // 2 digits + var lastDigit = number % 10, + firstDigit = number / 10; + if (lastDigit === 0) { + return eifelerRegelAppliesToNumber(firstDigit); + } + return eifelerRegelAppliesToNumber(lastDigit); + } else if (number < 10000) { + // 3 or 4 digits --> recursively check first digit + while (number >= 10) { + number = number / 10; + } + return eifelerRegelAppliesToNumber(number); + } else { + // Anything larger than 4 digits: recursively check first n-3 digits + number = number / 1000; + return eifelerRegelAppliesToNumber(number); + } + } + + moment.defineLocale('lb', { + months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_' + ), + monthsShort: + 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split( + '_' + ), + weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm [Auer]', + LTS: 'H:mm:ss [Auer]', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm [Auer]', + LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]', + }, + calendar: { + sameDay: '[Haut um] LT', + sameElse: 'L', + nextDay: '[Muer um] LT', + nextWeek: 'dddd [um] LT', + lastDay: '[Gëschter um] LT', + lastWeek: function () { + // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule + switch (this.day()) { + case 2: + case 4: + return '[Leschten] dddd [um] LT'; + default: + return '[Leschte] dddd [um] LT'; + } + }, + }, + relativeTime: { + future: processFutureTime, + past: processPastTime, + s: 'e puer Sekonnen', + ss: '%d Sekonnen', + m: processRelativeTime$8, + mm: '%d Minutten', + h: processRelativeTime$8, + hh: '%d Stonnen', + d: processRelativeTime$8, + dd: '%d Deeg', + M: processRelativeTime$8, + MM: '%d Méint', + y: processRelativeTime$8, + yy: '%d Joer', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('lo', { + months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split( + '_' + ), + monthsShort: + 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split( + '_' + ), + weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), + weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), + weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'ວັນdddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/, + isPM: function (input) { + return input === 'ຕອນແລງ'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ຕອນເຊົ້າ'; + } else { + return 'ຕອນແລງ'; + } + }, + calendar: { + sameDay: '[ມື້ນີ້ເວລາ] LT', + nextDay: '[ມື້ອື່ນເວລາ] LT', + nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT', + lastDay: '[ມື້ວານນີ້ເວລາ] LT', + lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ອີກ %s', + past: '%sຜ່ານມາ', + s: 'ບໍ່ເທົ່າໃດວິນາທີ', + ss: '%d ວິນາທີ', + m: '1 ນາທີ', + mm: '%d ນາທີ', + h: '1 ຊົ່ວໂມງ', + hh: '%d ຊົ່ວໂມງ', + d: '1 ມື້', + dd: '%d ມື້', + M: '1 ເດືອນ', + MM: '%d ເດືອນ', + y: '1 ປີ', + yy: '%d ປີ', + }, + dayOfMonthOrdinalParse: /(ທີ່)\d{1,2}/, + ordinal: function (number) { + return 'ທີ່' + number; + }, + }); + + //! moment.js locale configuration + + var units = { + ss: 'sekundė_sekundžių_sekundes', + m: 'minutė_minutės_minutę', + mm: 'minutės_minučių_minutes', + h: 'valanda_valandos_valandą', + hh: 'valandos_valandų_valandas', + d: 'diena_dienos_dieną', + dd: 'dienos_dienų_dienas', + M: 'mėnuo_mėnesio_mėnesį', + MM: 'mėnesiai_mėnesių_mėnesius', + y: 'metai_metų_metus', + yy: 'metai_metų_metus', + }; + function translateSeconds(number, withoutSuffix, key, isFuture) { + if (withoutSuffix) { + return 'kelios sekundės'; + } else { + return isFuture ? 'kelių sekundžių' : 'kelias sekundes'; + } + } + function translateSingular(number, withoutSuffix, key, isFuture) { + return withoutSuffix + ? forms(key)[0] + : isFuture + ? forms(key)[1] + : forms(key)[2]; + } + function special(number) { + return number % 10 === 0 || (number > 10 && number < 20); + } + function forms(key) { + return units[key].split('_'); + } + function translate$6(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + if (number === 1) { + return ( + result + translateSingular(number, withoutSuffix, key[0], isFuture) + ); + } else if (withoutSuffix) { + return result + (special(number) ? forms(key)[1] : forms(key)[0]); + } else { + if (isFuture) { + return result + forms(key)[1]; + } else { + return result + (special(number) ? forms(key)[1] : forms(key)[2]); + } + } + } + moment.defineLocale('lt', { + months: { + format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split( + '_' + ), + standalone: + 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split( + '_' + ), + isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/, + }, + monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'), + weekdays: { + format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split( + '_' + ), + standalone: + 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split( + '_' + ), + isFormat: /dddd HH:mm/, + }, + weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'), + weekdaysMin: 'S_P_A_T_K_Pn_Š'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY [m.] MMMM D [d.]', + LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]', + l: 'YYYY-MM-DD', + ll: 'YYYY [m.] MMMM D [d.]', + lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]', + }, + calendar: { + sameDay: '[Šiandien] LT', + nextDay: '[Rytoj] LT', + nextWeek: 'dddd LT', + lastDay: '[Vakar] LT', + lastWeek: '[Praėjusį] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: 'po %s', + past: 'prieš %s', + s: translateSeconds, + ss: translate$6, + m: translateSingular, + mm: translate$6, + h: translateSingular, + hh: translate$6, + d: translateSingular, + dd: translate$6, + M: translateSingular, + MM: translate$6, + y: translateSingular, + yy: translate$6, + }, + dayOfMonthOrdinalParse: /\d{1,2}-oji/, + ordinal: function (number) { + return number + '-oji'; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var units$1 = { + ss: 'sekundes_sekundēm_sekunde_sekundes'.split('_'), + m: 'minūtes_minūtēm_minūte_minūtes'.split('_'), + mm: 'minūtes_minūtēm_minūte_minūtes'.split('_'), + h: 'stundas_stundām_stunda_stundas'.split('_'), + hh: 'stundas_stundām_stunda_stundas'.split('_'), + d: 'dienas_dienām_diena_dienas'.split('_'), + dd: 'dienas_dienām_diena_dienas'.split('_'), + M: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'), + MM: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'), + y: 'gada_gadiem_gads_gadi'.split('_'), + yy: 'gada_gadiem_gads_gadi'.split('_'), + }; + /** + * @param withoutSuffix boolean true = a length of time; false = before/after a period of time. + */ + function format(forms, number, withoutSuffix) { + if (withoutSuffix) { + // E.g. "21 minūte", "3 minūtes". + return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3]; + } else { + // E.g. "21 minūtes" as in "pēc 21 minūtes". + // E.g. "3 minūtēm" as in "pēc 3 minūtēm". + return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1]; + } + } + function relativeTimeWithPlural$1(number, withoutSuffix, key) { + return number + ' ' + format(units$1[key], number, withoutSuffix); + } + function relativeTimeWithSingular(number, withoutSuffix, key) { + return format(units$1[key], number, withoutSuffix); + } + function relativeSeconds(number, withoutSuffix) { + return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm'; + } + + moment.defineLocale('lv', { + months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'), + weekdays: + 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split( + '_' + ), + weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'), + weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY.', + LL: 'YYYY. [gada] D. MMMM', + LLL: 'YYYY. [gada] D. MMMM, HH:mm', + LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm', + }, + calendar: { + sameDay: '[Šodien pulksten] LT', + nextDay: '[Rīt pulksten] LT', + nextWeek: 'dddd [pulksten] LT', + lastDay: '[Vakar pulksten] LT', + lastWeek: '[Pagājušā] dddd [pulksten] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'pēc %s', + past: 'pirms %s', + s: relativeSeconds, + ss: relativeTimeWithPlural$1, + m: relativeTimeWithSingular, + mm: relativeTimeWithPlural$1, + h: relativeTimeWithSingular, + hh: relativeTimeWithPlural$1, + d: relativeTimeWithSingular, + dd: relativeTimeWithPlural$1, + M: relativeTimeWithSingular, + MM: relativeTimeWithPlural$1, + y: relativeTimeWithSingular, + yy: relativeTimeWithPlural$1, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var translator = { + words: { + //Different grammatical cases + ss: ['sekund', 'sekunda', 'sekundi'], + m: ['jedan minut', 'jednog minuta'], + mm: ['minut', 'minuta', 'minuta'], + h: ['jedan sat', 'jednog sata'], + hh: ['sat', 'sata', 'sati'], + dd: ['dan', 'dana', 'dana'], + MM: ['mjesec', 'mjeseca', 'mjeseci'], + yy: ['godina', 'godine', 'godina'], + }, + correctGrammaticalCase: function (number, wordKey) { + return number === 1 + ? wordKey[0] + : number >= 2 && number <= 4 + ? wordKey[1] + : wordKey[2]; + }, + translate: function (number, withoutSuffix, key) { + var wordKey = translator.words[key]; + if (key.length === 1) { + return withoutSuffix ? wordKey[0] : wordKey[1]; + } else { + return ( + number + + ' ' + + translator.correctGrammaticalCase(number, wordKey) + ); + } + }, + }; + + moment.defineLocale('me', { + months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split( + '_' + ), + monthsShort: + 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), + monthsParseExact: true, + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( + '_' + ), + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sjutra u] LT', + + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay: '[juče u] LT', + lastWeek: function () { + var lastWeekDays = [ + '[prošle] [nedjelje] [u] LT', + '[prošlog] [ponedjeljka] [u] LT', + '[prošlog] [utorka] [u] LT', + '[prošle] [srijede] [u] LT', + '[prošlog] [četvrtka] [u] LT', + '[prošlog] [petka] [u] LT', + '[prošle] [subote] [u] LT', + ]; + return lastWeekDays[this.day()]; + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'prije %s', + s: 'nekoliko sekundi', + ss: translator.translate, + m: translator.translate, + mm: translator.translate, + h: translator.translate, + hh: translator.translate, + d: 'dan', + dd: translator.translate, + M: 'mjesec', + MM: translator.translate, + y: 'godinu', + yy: translator.translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('mi', { + months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split( + '_' + ), + monthsShort: + 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split( + '_' + ), + monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i, + weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'), + weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), + weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [i] HH:mm', + LLLL: 'dddd, D MMMM YYYY [i] HH:mm', + }, + calendar: { + sameDay: '[i teie mahana, i] LT', + nextDay: '[apopo i] LT', + nextWeek: 'dddd [i] LT', + lastDay: '[inanahi i] LT', + lastWeek: 'dddd [whakamutunga i] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'i roto i %s', + past: '%s i mua', + s: 'te hēkona ruarua', + ss: '%d hēkona', + m: 'he meneti', + mm: '%d meneti', + h: 'te haora', + hh: '%d haora', + d: 'he ra', + dd: '%d ra', + M: 'he marama', + MM: '%d marama', + y: 'he tau', + yy: '%d tau', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('mk', { + months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split( + '_' + ), + monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'), + weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split( + '_' + ), + weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'), + weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[Денес во] LT', + nextDay: '[Утре во] LT', + nextWeek: '[Во] dddd [во] LT', + lastDay: '[Вчера во] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 6: + return '[Изминатата] dddd [во] LT'; + case 1: + case 2: + case 4: + case 5: + return '[Изминатиот] dddd [во] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'за %s', + past: 'пред %s', + s: 'неколку секунди', + ss: '%d секунди', + m: 'една минута', + mm: '%d минути', + h: 'еден час', + hh: '%d часа', + d: 'еден ден', + dd: '%d дена', + M: 'еден месец', + MM: '%d месеци', + y: 'една година', + yy: '%d години', + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, + ordinal: function (number) { + var lastDigit = number % 10, + last2Digits = number % 100; + if (number === 0) { + return number + '-ев'; + } else if (last2Digits === 0) { + return number + '-ен'; + } else if (last2Digits > 10 && last2Digits < 20) { + return number + '-ти'; + } else if (lastDigit === 1) { + return number + '-ви'; + } else if (lastDigit === 2) { + return number + '-ри'; + } else if (lastDigit === 7 || lastDigit === 8) { + return number + '-ми'; + } else { + return number + '-ти'; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('ml', { + months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split( + '_' + ), + monthsShort: + 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split( + '_' + ), + weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'), + weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'), + longDateFormat: { + LT: 'A h:mm -നു', + LTS: 'A h:mm:ss -നു', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm -നു', + LLLL: 'dddd, D MMMM YYYY, A h:mm -നു', + }, + calendar: { + sameDay: '[ഇന്ന്] LT', + nextDay: '[നാളെ] LT', + nextWeek: 'dddd, LT', + lastDay: '[ഇന്നലെ] LT', + lastWeek: '[കഴിഞ്ഞ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s കഴിഞ്ഞ്', + past: '%s മുൻപ്', + s: 'അൽപ നിമിഷങ്ങൾ', + ss: '%d സെക്കൻഡ്', + m: 'ഒരു മിനിറ്റ്', + mm: '%d മിനിറ്റ്', + h: 'ഒരു മണിക്കൂർ', + hh: '%d മണിക്കൂർ', + d: 'ഒരു ദിവസം', + dd: '%d ദിവസം', + M: 'ഒരു മാസം', + MM: '%d മാസം', + y: 'ഒരു വർഷം', + yy: '%d വർഷം', + }, + meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + (meridiem === 'രാത്രി' && hour >= 4) || + meridiem === 'ഉച്ച കഴിഞ്ഞ്' || + meridiem === 'വൈകുന്നേരം' + ) { + return hour + 12; + } else { + return hour; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'രാത്രി'; + } else if (hour < 12) { + return 'രാവിലെ'; + } else if (hour < 17) { + return 'ഉച്ച കഴിഞ്ഞ്'; + } else if (hour < 20) { + return 'വൈകുന്നേരം'; + } else { + return 'രാത്രി'; + } + }, + }); + + //! moment.js locale configuration + + function translate$7(number, withoutSuffix, key, isFuture) { + switch (key) { + case 's': + return withoutSuffix ? 'хэдхэн секунд' : 'хэдхэн секундын'; + case 'ss': + return number + (withoutSuffix ? ' секунд' : ' секундын'); + case 'm': + case 'mm': + return number + (withoutSuffix ? ' минут' : ' минутын'); + case 'h': + case 'hh': + return number + (withoutSuffix ? ' цаг' : ' цагийн'); + case 'd': + case 'dd': + return number + (withoutSuffix ? ' өдөр' : ' өдрийн'); + case 'M': + case 'MM': + return number + (withoutSuffix ? ' сар' : ' сарын'); + case 'y': + case 'yy': + return number + (withoutSuffix ? ' жил' : ' жилийн'); + default: + return number; + } + } + + moment.defineLocale('mn', { + months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split( + '_' + ), + monthsShort: + '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'), + weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'), + weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY оны MMMMын D', + LLL: 'YYYY оны MMMMын D HH:mm', + LLLL: 'dddd, YYYY оны MMMMын D HH:mm', + }, + meridiemParse: /ҮӨ|ҮХ/i, + isPM: function (input) { + return input === 'ҮХ'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ҮӨ'; + } else { + return 'ҮХ'; + } + }, + calendar: { + sameDay: '[Өнөөдөр] LT', + nextDay: '[Маргааш] LT', + nextWeek: '[Ирэх] dddd LT', + lastDay: '[Өчигдөр] LT', + lastWeek: '[Өнгөрсөн] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s дараа', + past: '%s өмнө', + s: translate$7, + ss: translate$7, + m: translate$7, + mm: translate$7, + h: translate$7, + hh: translate$7, + d: translate$7, + dd: translate$7, + M: translate$7, + MM: translate$7, + y: translate$7, + yy: translate$7, + }, + dayOfMonthOrdinalParse: /\d{1,2} өдөр/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + ' өдөр'; + default: + return number; + } + }, + }); + + //! moment.js locale configuration + + var symbolMap$d = { + 1: '१', + 2: '२', + 3: '३', + 4: '४', + 5: '५', + 6: '६', + 7: '७', + 8: '८', + 9: '९', + 0: '०', + }, + numberMap$c = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0', + }; + + function relativeTimeMr(number, withoutSuffix, string, isFuture) { + var output = ''; + if (withoutSuffix) { + switch (string) { + case 's': + output = 'काही सेकंद'; + break; + case 'ss': + output = '%d सेकंद'; + break; + case 'm': + output = 'एक मिनिट'; + break; + case 'mm': + output = '%d मिनिटे'; + break; + case 'h': + output = 'एक तास'; + break; + case 'hh': + output = '%d तास'; + break; + case 'd': + output = 'एक दिवस'; + break; + case 'dd': + output = '%d दिवस'; + break; + case 'M': + output = 'एक महिना'; + break; + case 'MM': + output = '%d महिने'; + break; + case 'y': + output = 'एक वर्ष'; + break; + case 'yy': + output = '%d वर्षे'; + break; + } + } else { + switch (string) { + case 's': + output = 'काही सेकंदां'; + break; + case 'ss': + output = '%d सेकंदां'; + break; + case 'm': + output = 'एका मिनिटा'; + break; + case 'mm': + output = '%d मिनिटां'; + break; + case 'h': + output = 'एका तासा'; + break; + case 'hh': + output = '%d तासां'; + break; + case 'd': + output = 'एका दिवसा'; + break; + case 'dd': + output = '%d दिवसां'; + break; + case 'M': + output = 'एका महिन्या'; + break; + case 'MM': + output = '%d महिन्यां'; + break; + case 'y': + output = 'एका वर्षा'; + break; + case 'yy': + output = '%d वर्षां'; + break; + } + } + return output.replace(/%d/i, number); + } + + moment.defineLocale('mr', { + months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split( + '_' + ), + monthsShort: + 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'), + weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'), + longDateFormat: { + LT: 'A h:mm वाजता', + LTS: 'A h:mm:ss वाजता', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm वाजता', + LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता', + }, + calendar: { + sameDay: '[आज] LT', + nextDay: '[उद्या] LT', + nextWeek: 'dddd, LT', + lastDay: '[काल] LT', + lastWeek: '[मागील] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%sमध्ये', + past: '%sपूर्वी', + s: relativeTimeMr, + ss: relativeTimeMr, + m: relativeTimeMr, + mm: relativeTimeMr, + h: relativeTimeMr, + hh: relativeTimeMr, + d: relativeTimeMr, + dd: relativeTimeMr, + M: relativeTimeMr, + MM: relativeTimeMr, + y: relativeTimeMr, + yy: relativeTimeMr, + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap$c[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$d[match]; + }); + }, + meridiemParse: /पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'पहाटे' || meridiem === 'सकाळी') { + return hour; + } else if ( + meridiem === 'दुपारी' || + meridiem === 'सायंकाळी' || + meridiem === 'रात्री' + ) { + return hour >= 12 ? hour : hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour >= 0 && hour < 6) { + return 'पहाटे'; + } else if (hour < 12) { + return 'सकाळी'; + } else if (hour < 17) { + return 'दुपारी'; + } else if (hour < 20) { + return 'सायंकाळी'; + } else { + return 'रात्री'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('ms-my', { + months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), + weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), + weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /pagi|tengahari|petang|malam/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'tengahari') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'petang' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'tengahari'; + } else if (hours < 19) { + return 'petang'; + } else { + return 'malam'; + } + }, + calendar: { + sameDay: '[Hari ini pukul] LT', + nextDay: '[Esok pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kelmarin pukul] LT', + lastWeek: 'dddd [lepas pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lepas', + s: 'beberapa saat', + ss: '%d saat', + m: 'seminit', + mm: '%d minit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('ms', { + months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), + weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), + weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /pagi|tengahari|petang|malam/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'tengahari') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'petang' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'tengahari'; + } else if (hours < 19) { + return 'petang'; + } else { + return 'malam'; + } + }, + calendar: { + sameDay: '[Hari ini pukul] LT', + nextDay: '[Esok pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kelmarin pukul] LT', + lastWeek: 'dddd [lepas pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lepas', + s: 'beberapa saat', + ss: '%d saat', + m: 'seminit', + mm: '%d minit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('mt', { + months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split( + '_' + ), + monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'), + weekdays: + 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split( + '_' + ), + weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'), + weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Illum fil-]LT', + nextDay: '[Għada fil-]LT', + nextWeek: 'dddd [fil-]LT', + lastDay: '[Il-bieraħ fil-]LT', + lastWeek: 'dddd [li għadda] [fil-]LT', + sameElse: 'L', + }, + relativeTime: { + future: 'f’ %s', + past: '%s ilu', + s: 'ftit sekondi', + ss: '%d sekondi', + m: 'minuta', + mm: '%d minuti', + h: 'siegħa', + hh: '%d siegħat', + d: 'ġurnata', + dd: '%d ġranet', + M: 'xahar', + MM: '%d xhur', + y: 'sena', + yy: '%d sni', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$e = { + 1: '၁', + 2: '၂', + 3: '၃', + 4: '၄', + 5: '၅', + 6: '၆', + 7: '၇', + 8: '၈', + 9: '၉', + 0: '၀', + }, + numberMap$d = { + '၁': '1', + '၂': '2', + '၃': '3', + '၄': '4', + '၅': '5', + '၆': '6', + '၇': '7', + '၈': '8', + '၉': '9', + '၀': '0', + }; + + moment.defineLocale('my', { + months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split( + '_' + ), + monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'), + weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split( + '_' + ), + weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), + weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), + + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[ယနေ.] LT [မှာ]', + nextDay: '[မနက်ဖြန်] LT [မှာ]', + nextWeek: 'dddd LT [မှာ]', + lastDay: '[မနေ.က] LT [မှာ]', + lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]', + sameElse: 'L', + }, + relativeTime: { + future: 'လာမည့် %s မှာ', + past: 'လွန်ခဲ့သော %s က', + s: 'စက္ကန်.အနည်းငယ်', + ss: '%d စက္ကန့်', + m: 'တစ်မိနစ်', + mm: '%d မိနစ်', + h: 'တစ်နာရီ', + hh: '%d နာရီ', + d: 'တစ်ရက်', + dd: '%d ရက်', + M: 'တစ်လ', + MM: '%d လ', + y: 'တစ်နှစ်', + yy: '%d နှစ်', + }, + preparse: function (string) { + return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) { + return numberMap$d[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$e[match]; + }); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('nb', { + months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split( + '_' + ), + monthsShort: + 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'), + monthsParseExact: true, + weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), + weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'), + weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] HH:mm', + LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm', + }, + calendar: { + sameDay: '[i dag kl.] LT', + nextDay: '[i morgen kl.] LT', + nextWeek: 'dddd [kl.] LT', + lastDay: '[i går kl.] LT', + lastWeek: '[forrige] dddd [kl.] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'om %s', + past: '%s siden', + s: 'noen sekunder', + ss: '%d sekunder', + m: 'ett minutt', + mm: '%d minutter', + h: 'én time', + hh: '%d timer', + d: 'én dag', + dd: '%d dager', + w: 'én uke', + ww: '%d uker', + M: 'én måned', + MM: '%d måneder', + y: 'ett år', + yy: '%d år', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$f = { + 1: '१', + 2: '२', + 3: '३', + 4: '४', + 5: '५', + 6: '६', + 7: '७', + 8: '८', + 9: '९', + 0: '०', + }, + numberMap$e = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0', + }; + + moment.defineLocale('ne', { + months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split( + '_' + ), + monthsShort: + 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split( + '_' + ), + weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'), + weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'Aको h:mm बजे', + LTS: 'Aको h:mm:ss बजे', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, Aको h:mm बजे', + LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे', + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap$e[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$f[match]; + }); + }, + meridiemParse: /राति|बिहान|दिउँसो|साँझ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'राति') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'बिहान') { + return hour; + } else if (meridiem === 'दिउँसो') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'साँझ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 3) { + return 'राति'; + } else if (hour < 12) { + return 'बिहान'; + } else if (hour < 16) { + return 'दिउँसो'; + } else if (hour < 20) { + return 'साँझ'; + } else { + return 'राति'; + } + }, + calendar: { + sameDay: '[आज] LT', + nextDay: '[भोलि] LT', + nextWeek: '[आउँदो] dddd[,] LT', + lastDay: '[हिजो] LT', + lastWeek: '[गएको] dddd[,] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%sमा', + past: '%s अगाडि', + s: 'केही क्षण', + ss: '%d सेकेण्ड', + m: 'एक मिनेट', + mm: '%d मिनेट', + h: 'एक घण्टा', + hh: '%d घण्टा', + d: 'एक दिन', + dd: '%d दिन', + M: 'एक महिना', + MM: '%d महिना', + y: 'एक बर्ष', + yy: '%d बर्ष', + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var monthsShortWithDots$1 = + 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'), + monthsShortWithoutDots$1 = + 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'), + monthsParse$8 = [ + /^jan/i, + /^feb/i, + /^(maart|mrt\.?)$/i, + /^apr/i, + /^mei$/i, + /^jun[i.]?$/i, + /^jul[i.]?$/i, + /^aug/i, + /^sep/i, + /^okt/i, + /^nov/i, + /^dec/i, + ], + monthsRegex$7 = + /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; + + moment.defineLocale('nl-be', { + months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortWithDots$1; + } else if (/-MMM-/.test(format)) { + return monthsShortWithoutDots$1[m.month()]; + } else { + return monthsShortWithDots$1[m.month()]; + } + }, + + monthsRegex: monthsRegex$7, + monthsShortRegex: monthsRegex$7, + monthsStrictRegex: + /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i, + monthsShortStrictRegex: + /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, + + monthsParse: monthsParse$8, + longMonthsParse: monthsParse$8, + shortMonthsParse: monthsParse$8, + + weekdays: + 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), + weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), + weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[vandaag om] LT', + nextDay: '[morgen om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[gisteren om] LT', + lastWeek: '[afgelopen] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'over %s', + past: '%s geleden', + s: 'een paar seconden', + ss: '%d seconden', + m: 'één minuut', + mm: '%d minuten', + h: 'één uur', + hh: '%d uur', + d: 'één dag', + dd: '%d dagen', + M: 'één maand', + MM: '%d maanden', + y: 'één jaar', + yy: '%d jaar', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var monthsShortWithDots$2 = + 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'), + monthsShortWithoutDots$2 = + 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'), + monthsParse$9 = [ + /^jan/i, + /^feb/i, + /^(maart|mrt\.?)$/i, + /^apr/i, + /^mei$/i, + /^jun[i.]?$/i, + /^jul[i.]?$/i, + /^aug/i, + /^sep/i, + /^okt/i, + /^nov/i, + /^dec/i, + ], + monthsRegex$8 = + /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; + + moment.defineLocale('nl', { + months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortWithDots$2; + } else if (/-MMM-/.test(format)) { + return monthsShortWithoutDots$2[m.month()]; + } else { + return monthsShortWithDots$2[m.month()]; + } + }, + + monthsRegex: monthsRegex$8, + monthsShortRegex: monthsRegex$8, + monthsStrictRegex: + /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i, + monthsShortStrictRegex: + /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, + + monthsParse: monthsParse$9, + longMonthsParse: monthsParse$9, + shortMonthsParse: monthsParse$9, + + weekdays: + 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), + weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), + weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[vandaag om] LT', + nextDay: '[morgen om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[gisteren om] LT', + lastWeek: '[afgelopen] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'over %s', + past: '%s geleden', + s: 'een paar seconden', + ss: '%d seconden', + m: 'één minuut', + mm: '%d minuten', + h: 'één uur', + hh: '%d uur', + d: 'één dag', + dd: '%d dagen', + w: 'één week', + ww: '%d weken', + M: 'één maand', + MM: '%d maanden', + y: 'één jaar', + yy: '%d jaar', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('nn', { + months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split( + '_' + ), + monthsShort: + 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'), + monthsParseExact: true, + weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'), + weekdaysShort: 'su._må._ty._on._to._fr._lau.'.split('_'), + weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] H:mm', + LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm', + }, + calendar: { + sameDay: '[I dag klokka] LT', + nextDay: '[I morgon klokka] LT', + nextWeek: 'dddd [klokka] LT', + lastDay: '[I går klokka] LT', + lastWeek: '[Føregåande] dddd [klokka] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'om %s', + past: '%s sidan', + s: 'nokre sekund', + ss: '%d sekund', + m: 'eit minutt', + mm: '%d minutt', + h: 'ein time', + hh: '%d timar', + d: 'ein dag', + dd: '%d dagar', + w: 'ei veke', + ww: '%d veker', + M: 'ein månad', + MM: '%d månader', + y: 'eit år', + yy: '%d år', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('oc-lnc', { + months: { + standalone: + 'genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split( + '_' + ), + format: "de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split( + '_' + ), + isFormat: /D[oD]?(\s)+MMMM/, + }, + monthsShort: + 'gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split( + '_' + ), + weekdaysShort: 'dg._dl._dm._dc._dj._dv._ds.'.split('_'), + weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [de] YYYY', + ll: 'D MMM YYYY', + LLL: 'D MMMM [de] YYYY [a] H:mm', + lll: 'D MMM YYYY, H:mm', + LLLL: 'dddd D MMMM [de] YYYY [a] H:mm', + llll: 'ddd D MMM YYYY, H:mm', + }, + calendar: { + sameDay: '[uèi a] LT', + nextDay: '[deman a] LT', + nextWeek: 'dddd [a] LT', + lastDay: '[ièr a] LT', + lastWeek: 'dddd [passat a] LT', + sameElse: 'L', + }, + relativeTime: { + future: "d'aquí %s", + past: 'fa %s', + s: 'unas segondas', + ss: '%d segondas', + m: 'una minuta', + mm: '%d minutas', + h: 'una ora', + hh: '%d oras', + d: 'un jorn', + dd: '%d jorns', + M: 'un mes', + MM: '%d meses', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/, + ordinal: function (number, period) { + var output = + number === 1 + ? 'r' + : number === 2 + ? 'n' + : number === 3 + ? 'r' + : number === 4 + ? 't' + : 'è'; + if (period === 'w' || period === 'W') { + output = 'a'; + } + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, + }, + }); + + //! moment.js locale configuration + + var symbolMap$g = { + 1: '੧', + 2: '੨', + 3: '੩', + 4: '੪', + 5: '੫', + 6: '੬', + 7: '੭', + 8: '੮', + 9: '੯', + 0: '੦', + }, + numberMap$f = { + '੧': '1', + '੨': '2', + '੩': '3', + '੪': '4', + '੫': '5', + '੬': '6', + '੭': '7', + '੮': '8', + '੯': '9', + '੦': '0', + }; + + moment.defineLocale('pa-in', { + // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi. + months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split( + '_' + ), + monthsShort: + 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split( + '_' + ), + weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split( + '_' + ), + weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), + weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), + longDateFormat: { + LT: 'A h:mm ਵਜੇ', + LTS: 'A h:mm:ss ਵਜੇ', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm ਵਜੇ', + LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ', + }, + calendar: { + sameDay: '[ਅਜ] LT', + nextDay: '[ਕਲ] LT', + nextWeek: '[ਅਗਲਾ] dddd, LT', + lastDay: '[ਕਲ] LT', + lastWeek: '[ਪਿਛਲੇ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ਵਿੱਚ', + past: '%s ਪਿਛਲੇ', + s: 'ਕੁਝ ਸਕਿੰਟ', + ss: '%d ਸਕਿੰਟ', + m: 'ਇਕ ਮਿੰਟ', + mm: '%d ਮਿੰਟ', + h: 'ਇੱਕ ਘੰਟਾ', + hh: '%d ਘੰਟੇ', + d: 'ਇੱਕ ਦਿਨ', + dd: '%d ਦਿਨ', + M: 'ਇੱਕ ਮਹੀਨਾ', + MM: '%d ਮਹੀਨੇ', + y: 'ਇੱਕ ਸਾਲ', + yy: '%d ਸਾਲ', + }, + preparse: function (string) { + return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) { + return numberMap$f[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$g[match]; + }); + }, + // Punjabi notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi. + meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ਰਾਤ') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ਸਵੇਰ') { + return hour; + } else if (meridiem === 'ਦੁਪਹਿਰ') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'ਸ਼ਾਮ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ਰਾਤ'; + } else if (hour < 10) { + return 'ਸਵੇਰ'; + } else if (hour < 17) { + return 'ਦੁਪਹਿਰ'; + } else if (hour < 20) { + return 'ਸ਼ਾਮ'; + } else { + return 'ਰਾਤ'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var monthsNominative = + 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split( + '_' + ), + monthsSubjective = + 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split( + '_' + ), + monthsParse$a = [ + /^sty/i, + /^lut/i, + /^mar/i, + /^kwi/i, + /^maj/i, + /^cze/i, + /^lip/i, + /^sie/i, + /^wrz/i, + /^paź/i, + /^lis/i, + /^gru/i, + ]; + function plural$3(n) { + return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1; + } + function translate$8(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'ss': + return result + (plural$3(number) ? 'sekundy' : 'sekund'); + case 'm': + return withoutSuffix ? 'minuta' : 'minutę'; + case 'mm': + return result + (plural$3(number) ? 'minuty' : 'minut'); + case 'h': + return withoutSuffix ? 'godzina' : 'godzinę'; + case 'hh': + return result + (plural$3(number) ? 'godziny' : 'godzin'); + case 'ww': + return result + (plural$3(number) ? 'tygodnie' : 'tygodni'); + case 'MM': + return result + (plural$3(number) ? 'miesiące' : 'miesięcy'); + case 'yy': + return result + (plural$3(number) ? 'lata' : 'lat'); + } + } + + moment.defineLocale('pl', { + months: function (momentToFormat, format) { + if (!momentToFormat) { + return monthsNominative; + } else if (/D MMMM/.test(format)) { + return monthsSubjective[momentToFormat.month()]; + } else { + return monthsNominative[momentToFormat.month()]; + } + }, + monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'), + monthsParse: monthsParse$a, + longMonthsParse: monthsParse$a, + shortMonthsParse: monthsParse$a, + weekdays: + 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'), + weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'), + weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Dziś o] LT', + nextDay: '[Jutro o] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[W niedzielę o] LT'; + + case 2: + return '[We wtorek o] LT'; + + case 3: + return '[W środę o] LT'; + + case 6: + return '[W sobotę o] LT'; + + default: + return '[W] dddd [o] LT'; + } + }, + lastDay: '[Wczoraj o] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[W zeszłą niedzielę o] LT'; + case 3: + return '[W zeszłą środę o] LT'; + case 6: + return '[W zeszłą sobotę o] LT'; + default: + return '[W zeszły] dddd [o] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: '%s temu', + s: 'kilka sekund', + ss: translate$8, + m: translate$8, + mm: translate$8, + h: translate$8, + hh: translate$8, + d: '1 dzień', + dd: '%d dni', + w: 'tydzień', + ww: translate$8, + M: 'miesiąc', + MM: translate$8, + y: 'rok', + yy: translate$8, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('pt-br', { + months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split( + '_' + ), + monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), + weekdays: + 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split( + '_' + ), + weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'), + weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY [às] HH:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm', + }, + calendar: { + sameDay: '[Hoje às] LT', + nextDay: '[Amanhã às] LT', + nextWeek: 'dddd [às] LT', + lastDay: '[Ontem às] LT', + lastWeek: function () { + return this.day() === 0 || this.day() === 6 + ? '[Último] dddd [às] LT' // Saturday + Sunday + : '[Última] dddd [às] LT'; // Monday - Friday + }, + sameElse: 'L', + }, + relativeTime: { + future: 'em %s', + past: 'há %s', + s: 'poucos segundos', + ss: '%d segundos', + m: 'um minuto', + mm: '%d minutos', + h: 'uma hora', + hh: '%d horas', + d: 'um dia', + dd: '%d dias', + M: 'um mês', + MM: '%d meses', + y: 'um ano', + yy: '%d anos', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + invalidDate: 'Data inválida', + }); + + //! moment.js locale configuration + + moment.defineLocale('pt', { + months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split( + '_' + ), + monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), + weekdays: + 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split( + '_' + ), + weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), + weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY HH:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm', + }, + calendar: { + sameDay: '[Hoje às] LT', + nextDay: '[Amanhã às] LT', + nextWeek: 'dddd [às] LT', + lastDay: '[Ontem às] LT', + lastWeek: function () { + return this.day() === 0 || this.day() === 6 + ? '[Último] dddd [às] LT' // Saturday + Sunday + : '[Última] dddd [às] LT'; // Monday - Friday + }, + sameElse: 'L', + }, + relativeTime: { + future: 'em %s', + past: 'há %s', + s: 'segundos', + ss: '%d segundos', + m: 'um minuto', + mm: '%d minutos', + h: 'uma hora', + hh: '%d horas', + d: 'um dia', + dd: '%d dias', + w: 'uma semana', + ww: '%d semanas', + M: 'um mês', + MM: '%d meses', + y: 'um ano', + yy: '%d anos', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function relativeTimeWithPlural$2(number, withoutSuffix, key) { + var format = { + ss: 'secunde', + mm: 'minute', + hh: 'ore', + dd: 'zile', + ww: 'săptămâni', + MM: 'luni', + yy: 'ani', + }, + separator = ' '; + if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) { + separator = ' de '; + } + return number + separator + format[key]; + } + + moment.defineLocale('ro', { + months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split( + '_' + ), + monthsShort: + 'ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'), + weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'), + weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[azi la] LT', + nextDay: '[mâine la] LT', + nextWeek: 'dddd [la] LT', + lastDay: '[ieri la] LT', + lastWeek: '[fosta] dddd [la] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'peste %s', + past: '%s în urmă', + s: 'câteva secunde', + ss: relativeTimeWithPlural$2, + m: 'un minut', + mm: relativeTimeWithPlural$2, + h: 'o oră', + hh: relativeTimeWithPlural$2, + d: 'o zi', + dd: relativeTimeWithPlural$2, + w: 'o săptămână', + ww: relativeTimeWithPlural$2, + M: 'o lună', + MM: relativeTimeWithPlural$2, + y: 'un an', + yy: relativeTimeWithPlural$2, + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function plural$4(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 + ? forms[0] + : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) + ? forms[1] + : forms[2]; + } + function relativeTimeWithPlural$3(number, withoutSuffix, key) { + var format = { + ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд', + mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут', + hh: 'час_часа_часов', + dd: 'день_дня_дней', + ww: 'неделя_недели_недель', + MM: 'месяц_месяца_месяцев', + yy: 'год_года_лет', + }; + if (key === 'm') { + return withoutSuffix ? 'минута' : 'минуту'; + } else { + return number + ' ' + plural$4(format[key], +number); + } + } + var monthsParse$b = [ + /^янв/i, + /^фев/i, + /^мар/i, + /^апр/i, + /^ма[йя]/i, + /^июн/i, + /^июл/i, + /^авг/i, + /^сен/i, + /^окт/i, + /^ноя/i, + /^дек/i, + ]; + + // http://new.gramota.ru/spravka/rules/139-prop : § 103 + // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637 + // CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753 + moment.defineLocale('ru', { + months: { + format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split( + '_' + ), + standalone: + 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split( + '_' + ), + }, + monthsShort: { + // по CLDR именно "июл." и "июн.", но какой смысл менять букву на точку? + format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split( + '_' + ), + standalone: + 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split( + '_' + ), + }, + weekdays: { + standalone: + 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split( + '_' + ), + format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split( + '_' + ), + isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/, + }, + weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'), + weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'), + monthsParse: monthsParse$b, + longMonthsParse: monthsParse$b, + shortMonthsParse: monthsParse$b, + + // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки + monthsRegex: + /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, + + // копия предыдущего + monthsShortRegex: + /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, + + // полные названия с падежами + monthsStrictRegex: + /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i, + + // Выражение, которое соответствует только сокращённым формам + monthsShortStrictRegex: + /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY г.', + LLL: 'D MMMM YYYY г., H:mm', + LLLL: 'dddd, D MMMM YYYY г., H:mm', + }, + calendar: { + sameDay: '[Сегодня, в] LT', + nextDay: '[Завтра, в] LT', + lastDay: '[Вчера, в] LT', + nextWeek: function (now) { + if (now.week() !== this.week()) { + switch (this.day()) { + case 0: + return '[В следующее] dddd, [в] LT'; + case 1: + case 2: + case 4: + return '[В следующий] dddd, [в] LT'; + case 3: + case 5: + case 6: + return '[В следующую] dddd, [в] LT'; + } + } else { + if (this.day() === 2) { + return '[Во] dddd, [в] LT'; + } else { + return '[В] dddd, [в] LT'; + } + } + }, + lastWeek: function (now) { + if (now.week() !== this.week()) { + switch (this.day()) { + case 0: + return '[В прошлое] dddd, [в] LT'; + case 1: + case 2: + case 4: + return '[В прошлый] dddd, [в] LT'; + case 3: + case 5: + case 6: + return '[В прошлую] dddd, [в] LT'; + } + } else { + if (this.day() === 2) { + return '[Во] dddd, [в] LT'; + } else { + return '[В] dddd, [в] LT'; + } + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'через %s', + past: '%s назад', + s: 'несколько секунд', + ss: relativeTimeWithPlural$3, + m: relativeTimeWithPlural$3, + mm: relativeTimeWithPlural$3, + h: 'час', + hh: relativeTimeWithPlural$3, + d: 'день', + dd: relativeTimeWithPlural$3, + w: 'неделя', + ww: relativeTimeWithPlural$3, + M: 'месяц', + MM: relativeTimeWithPlural$3, + y: 'год', + yy: relativeTimeWithPlural$3, + }, + meridiemParse: /ночи|утра|дня|вечера/i, + isPM: function (input) { + return /^(дня|вечера)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ночи'; + } else if (hour < 12) { + return 'утра'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечера'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + return number + '-й'; + case 'D': + return number + '-го'; + case 'w': + case 'W': + return number + '-я'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var months$8 = [ + 'جنوري', + 'فيبروري', + 'مارچ', + 'اپريل', + 'مئي', + 'جون', + 'جولاءِ', + 'آگسٽ', + 'سيپٽمبر', + 'آڪٽوبر', + 'نومبر', + 'ڊسمبر', + ], + days = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر']; + + moment.defineLocale('sd', { + months: months$8, + monthsShort: months$8, + weekdays: days, + weekdaysShort: days, + weekdaysMin: days, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd، D MMMM YYYY HH:mm', + }, + meridiemParse: /صبح|شام/, + isPM: function (input) { + return 'شام' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'صبح'; + } + return 'شام'; + }, + calendar: { + sameDay: '[اڄ] LT', + nextDay: '[سڀاڻي] LT', + nextWeek: 'dddd [اڳين هفتي تي] LT', + lastDay: '[ڪالهه] LT', + lastWeek: '[گزريل هفتي] dddd [تي] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s پوء', + past: '%s اڳ', + s: 'چند سيڪنڊ', + ss: '%d سيڪنڊ', + m: 'هڪ منٽ', + mm: '%d منٽ', + h: 'هڪ ڪلاڪ', + hh: '%d ڪلاڪ', + d: 'هڪ ڏينهن', + dd: '%d ڏينهن', + M: 'هڪ مهينو', + MM: '%d مهينا', + y: 'هڪ سال', + yy: '%d سال', + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('se', { + months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split( + '_' + ), + monthsShort: + 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'), + weekdays: + 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split( + '_' + ), + weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'), + weekdaysMin: 's_v_m_g_d_b_L'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'MMMM D. [b.] YYYY', + LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm', + LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm', + }, + calendar: { + sameDay: '[otne ti] LT', + nextDay: '[ihttin ti] LT', + nextWeek: 'dddd [ti] LT', + lastDay: '[ikte ti] LT', + lastWeek: '[ovddit] dddd [ti] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s geažes', + past: 'maŋit %s', + s: 'moadde sekunddat', + ss: '%d sekunddat', + m: 'okta minuhta', + mm: '%d minuhtat', + h: 'okta diimmu', + hh: '%d diimmut', + d: 'okta beaivi', + dd: '%d beaivvit', + M: 'okta mánnu', + MM: '%d mánut', + y: 'okta jahki', + yy: '%d jagit', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + /*jshint -W100*/ + moment.defineLocale('si', { + months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split( + '_' + ), + monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split( + '_' + ), + weekdays: + 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split( + '_' + ), + weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'), + weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'a h:mm', + LTS: 'a h:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY MMMM D', + LLL: 'YYYY MMMM D, a h:mm', + LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss', + }, + calendar: { + sameDay: '[අද] LT[ට]', + nextDay: '[හෙට] LT[ට]', + nextWeek: 'dddd LT[ට]', + lastDay: '[ඊයේ] LT[ට]', + lastWeek: '[පසුගිය] dddd LT[ට]', + sameElse: 'L', + }, + relativeTime: { + future: '%sකින්', + past: '%sකට පෙර', + s: 'තත්පර කිහිපය', + ss: 'තත්පර %d', + m: 'මිනිත්තුව', + mm: 'මිනිත්තු %d', + h: 'පැය', + hh: 'පැය %d', + d: 'දිනය', + dd: 'දින %d', + M: 'මාසය', + MM: 'මාස %d', + y: 'වසර', + yy: 'වසර %d', + }, + dayOfMonthOrdinalParse: /\d{1,2} වැනි/, + ordinal: function (number) { + return number + ' වැනි'; + }, + meridiemParse: /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./, + isPM: function (input) { + return input === 'ප.ව.' || input === 'පස් වරු'; + }, + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'ප.ව.' : 'පස් වරු'; + } else { + return isLower ? 'පෙ.ව.' : 'පෙර වරු'; + } + }, + }); + + //! moment.js locale configuration + + var months$9 = + 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split( + '_' + ), + monthsShort$7 = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_'); + function plural$5(n) { + return n > 1 && n < 5; + } + function translate$9(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': // a few seconds / in a few seconds / a few seconds ago + return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami'; + case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago + if (withoutSuffix || isFuture) { + return result + (plural$5(number) ? 'sekundy' : 'sekúnd'); + } else { + return result + 'sekundami'; + } + case 'm': // a minute / in a minute / a minute ago + return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou'; + case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago + if (withoutSuffix || isFuture) { + return result + (plural$5(number) ? 'minúty' : 'minút'); + } else { + return result + 'minútami'; + } + case 'h': // an hour / in an hour / an hour ago + return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou'; + case 'hh': // 9 hours / in 9 hours / 9 hours ago + if (withoutSuffix || isFuture) { + return result + (plural$5(number) ? 'hodiny' : 'hodín'); + } else { + return result + 'hodinami'; + } + case 'd': // a day / in a day / a day ago + return withoutSuffix || isFuture ? 'deň' : 'dňom'; + case 'dd': // 9 days / in 9 days / 9 days ago + if (withoutSuffix || isFuture) { + return result + (plural$5(number) ? 'dni' : 'dní'); + } else { + return result + 'dňami'; + } + case 'M': // a month / in a month / a month ago + return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom'; + case 'MM': // 9 months / in 9 months / 9 months ago + if (withoutSuffix || isFuture) { + return result + (plural$5(number) ? 'mesiace' : 'mesiacov'); + } else { + return result + 'mesiacmi'; + } + case 'y': // a year / in a year / a year ago + return withoutSuffix || isFuture ? 'rok' : 'rokom'; + case 'yy': // 9 years / in 9 years / 9 years ago + if (withoutSuffix || isFuture) { + return result + (plural$5(number) ? 'roky' : 'rokov'); + } else { + return result + 'rokmi'; + } + } + } + + moment.defineLocale('sk', { + months: months$9, + monthsShort: monthsShort$7, + weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'), + weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'), + weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[dnes o] LT', + nextDay: '[zajtra o] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[v nedeľu o] LT'; + case 1: + case 2: + return '[v] dddd [o] LT'; + case 3: + return '[v stredu o] LT'; + case 4: + return '[vo štvrtok o] LT'; + case 5: + return '[v piatok o] LT'; + case 6: + return '[v sobotu o] LT'; + } + }, + lastDay: '[včera o] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[minulú nedeľu o] LT'; + case 1: + case 2: + return '[minulý] dddd [o] LT'; + case 3: + return '[minulú stredu o] LT'; + case 4: + case 5: + return '[minulý] dddd [o] LT'; + case 6: + return '[minulú sobotu o] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'pred %s', + s: translate$9, + ss: translate$9, + m: translate$9, + mm: translate$9, + h: translate$9, + hh: translate$9, + d: translate$9, + dd: translate$9, + M: translate$9, + MM: translate$9, + y: translate$9, + yy: translate$9, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function processRelativeTime$9(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': + return withoutSuffix || isFuture + ? 'nekaj sekund' + : 'nekaj sekundami'; + case 'ss': + if (number === 1) { + result += withoutSuffix ? 'sekundo' : 'sekundi'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'sekundi' : 'sekundah'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah'; + } else { + result += 'sekund'; + } + return result; + case 'm': + return withoutSuffix ? 'ena minuta' : 'eno minuto'; + case 'mm': + if (number === 1) { + result += withoutSuffix ? 'minuta' : 'minuto'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'minuti' : 'minutama'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'minute' : 'minutami'; + } else { + result += withoutSuffix || isFuture ? 'minut' : 'minutami'; + } + return result; + case 'h': + return withoutSuffix ? 'ena ura' : 'eno uro'; + case 'hh': + if (number === 1) { + result += withoutSuffix ? 'ura' : 'uro'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'uri' : 'urama'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'ure' : 'urami'; + } else { + result += withoutSuffix || isFuture ? 'ur' : 'urami'; + } + return result; + case 'd': + return withoutSuffix || isFuture ? 'en dan' : 'enim dnem'; + case 'dd': + if (number === 1) { + result += withoutSuffix || isFuture ? 'dan' : 'dnem'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'dni' : 'dnevoma'; + } else { + result += withoutSuffix || isFuture ? 'dni' : 'dnevi'; + } + return result; + case 'M': + return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem'; + case 'MM': + if (number === 1) { + result += withoutSuffix || isFuture ? 'mesec' : 'mesecem'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'meseca' : 'mesecema'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'mesece' : 'meseci'; + } else { + result += withoutSuffix || isFuture ? 'mesecev' : 'meseci'; + } + return result; + case 'y': + return withoutSuffix || isFuture ? 'eno leto' : 'enim letom'; + case 'yy': + if (number === 1) { + result += withoutSuffix || isFuture ? 'leto' : 'letom'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'leti' : 'letoma'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'leta' : 'leti'; + } else { + result += withoutSuffix || isFuture ? 'let' : 'leti'; + } + return result; + } + } + + moment.defineLocale('sl', { + months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split( + '_' + ), + monthsShort: + 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'), + weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'), + weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD. MM. YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[danes ob] LT', + nextDay: '[jutri ob] LT', + + nextWeek: function () { + switch (this.day()) { + case 0: + return '[v] [nedeljo] [ob] LT'; + case 3: + return '[v] [sredo] [ob] LT'; + case 6: + return '[v] [soboto] [ob] LT'; + case 1: + case 2: + case 4: + case 5: + return '[v] dddd [ob] LT'; + } + }, + lastDay: '[včeraj ob] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[prejšnjo] [nedeljo] [ob] LT'; + case 3: + return '[prejšnjo] [sredo] [ob] LT'; + case 6: + return '[prejšnjo] [soboto] [ob] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prejšnji] dddd [ob] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'čez %s', + past: 'pred %s', + s: processRelativeTime$9, + ss: processRelativeTime$9, + m: processRelativeTime$9, + mm: processRelativeTime$9, + h: processRelativeTime$9, + hh: processRelativeTime$9, + d: processRelativeTime$9, + dd: processRelativeTime$9, + M: processRelativeTime$9, + MM: processRelativeTime$9, + y: processRelativeTime$9, + yy: processRelativeTime$9, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('sq', { + months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split( + '_' + ), + monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'), + weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split( + '_' + ), + weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'), + weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'), + weekdaysParseExact: true, + meridiemParse: /PD|MD/, + isPM: function (input) { + return input.charAt(0) === 'M'; + }, + meridiem: function (hours, minutes, isLower) { + return hours < 12 ? 'PD' : 'MD'; + }, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Sot në] LT', + nextDay: '[Nesër në] LT', + nextWeek: 'dddd [në] LT', + lastDay: '[Dje në] LT', + lastWeek: 'dddd [e kaluar në] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'në %s', + past: '%s më parë', + s: 'disa sekonda', + ss: '%d sekonda', + m: 'një minutë', + mm: '%d minuta', + h: 'një orë', + hh: '%d orë', + d: 'një ditë', + dd: '%d ditë', + M: 'një muaj', + MM: '%d muaj', + y: 'një vit', + yy: '%d vite', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var translator$1 = { + words: { + //Different grammatical cases + ss: ['секунда', 'секунде', 'секунди'], + m: ['један минут', 'једног минута'], + mm: ['минут', 'минута', 'минута'], + h: ['један сат', 'једног сата'], + hh: ['сат', 'сата', 'сати'], + d: ['један дан', 'једног дана'], + dd: ['дан', 'дана', 'дана'], + M: ['један месец', 'једног месеца'], + MM: ['месец', 'месеца', 'месеци'], + y: ['једну годину', 'једне године'], + yy: ['годину', 'године', 'година'], + }, + correctGrammaticalCase: function (number, wordKey) { + if ( + number % 10 >= 1 && + number % 10 <= 4 && + (number % 100 < 10 || number % 100 >= 20) + ) { + return number % 10 === 1 ? wordKey[0] : wordKey[1]; + } + return wordKey[2]; + }, + translate: function (number, withoutSuffix, key, isFuture) { + var wordKey = translator$1.words[key], + word; + + if (key.length === 1) { + // Nominativ + if (key === 'y' && withoutSuffix) return 'једна година'; + return isFuture || withoutSuffix ? wordKey[0] : wordKey[1]; + } + + word = translator$1.correctGrammaticalCase(number, wordKey); + // Nominativ + if (key === 'yy' && withoutSuffix && word === 'годину') { + return number + ' година'; + } + + return number + ' ' + word; + }, + }; + + moment.defineLocale('sr-cyrl', { + months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split( + '_' + ), + monthsShort: + 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'), + monthsParseExact: true, + weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'), + weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'), + weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D. M. YYYY.', + LL: 'D. MMMM YYYY.', + LLL: 'D. MMMM YYYY. H:mm', + LLLL: 'dddd, D. MMMM YYYY. H:mm', + }, + calendar: { + sameDay: '[данас у] LT', + nextDay: '[сутра у] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[у] [недељу] [у] LT'; + case 3: + return '[у] [среду] [у] LT'; + case 6: + return '[у] [суботу] [у] LT'; + case 1: + case 2: + case 4: + case 5: + return '[у] dddd [у] LT'; + } + }, + lastDay: '[јуче у] LT', + lastWeek: function () { + var lastWeekDays = [ + '[прошле] [недеље] [у] LT', + '[прошлог] [понедељка] [у] LT', + '[прошлог] [уторка] [у] LT', + '[прошле] [среде] [у] LT', + '[прошлог] [четвртка] [у] LT', + '[прошлог] [петка] [у] LT', + '[прошле] [суботе] [у] LT', + ]; + return lastWeekDays[this.day()]; + }, + sameElse: 'L', + }, + relativeTime: { + future: 'за %s', + past: 'пре %s', + s: 'неколико секунди', + ss: translator$1.translate, + m: translator$1.translate, + mm: translator$1.translate, + h: translator$1.translate, + hh: translator$1.translate, + d: translator$1.translate, + dd: translator$1.translate, + M: translator$1.translate, + MM: translator$1.translate, + y: translator$1.translate, + yy: translator$1.translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 1st is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var translator$2 = { + words: { + //Different grammatical cases + ss: ['sekunda', 'sekunde', 'sekundi'], + m: ['jedan minut', 'jednog minuta'], + mm: ['minut', 'minuta', 'minuta'], + h: ['jedan sat', 'jednog sata'], + hh: ['sat', 'sata', 'sati'], + d: ['jedan dan', 'jednog dana'], + dd: ['dan', 'dana', 'dana'], + M: ['jedan mesec', 'jednog meseca'], + MM: ['mesec', 'meseca', 'meseci'], + y: ['jednu godinu', 'jedne godine'], + yy: ['godinu', 'godine', 'godina'], + }, + correctGrammaticalCase: function (number, wordKey) { + if ( + number % 10 >= 1 && + number % 10 <= 4 && + (number % 100 < 10 || number % 100 >= 20) + ) { + return number % 10 === 1 ? wordKey[0] : wordKey[1]; + } + return wordKey[2]; + }, + translate: function (number, withoutSuffix, key, isFuture) { + var wordKey = translator$2.words[key], + word; + + if (key.length === 1) { + // Nominativ + if (key === 'y' && withoutSuffix) return 'jedna godina'; + return isFuture || withoutSuffix ? wordKey[0] : wordKey[1]; + } + + word = translator$2.correctGrammaticalCase(number, wordKey); + // Nominativ + if (key === 'yy' && withoutSuffix && word === 'godinu') { + return number + ' godina'; + } + + return number + ' ' + word; + }, + }; + + moment.defineLocale('sr', { + months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split( + '_' + ), + monthsShort: + 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), + monthsParseExact: true, + weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split( + '_' + ), + weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D. M. YYYY.', + LL: 'D. MMMM YYYY.', + LLL: 'D. MMMM YYYY. H:mm', + LLLL: 'dddd, D. MMMM YYYY. H:mm', + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sutra u] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedelju] [u] LT'; + case 3: + return '[u] [sredu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay: '[juče u] LT', + lastWeek: function () { + var lastWeekDays = [ + '[prošle] [nedelje] [u] LT', + '[prošlog] [ponedeljka] [u] LT', + '[prošlog] [utorka] [u] LT', + '[prošle] [srede] [u] LT', + '[prošlog] [četvrtka] [u] LT', + '[prošlog] [petka] [u] LT', + '[prošle] [subote] [u] LT', + ]; + return lastWeekDays[this.day()]; + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'pre %s', + s: 'nekoliko sekundi', + ss: translator$2.translate, + m: translator$2.translate, + mm: translator$2.translate, + h: translator$2.translate, + hh: translator$2.translate, + d: translator$2.translate, + dd: translator$2.translate, + M: translator$2.translate, + MM: translator$2.translate, + y: translator$2.translate, + yy: translator$2.translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('ss', { + months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split( + '_' + ), + monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'), + weekdays: + 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split( + '_' + ), + weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'), + weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Namuhla nga] LT', + nextDay: '[Kusasa nga] LT', + nextWeek: 'dddd [nga] LT', + lastDay: '[Itolo nga] LT', + lastWeek: 'dddd [leliphelile] [nga] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'nga %s', + past: 'wenteka nga %s', + s: 'emizuzwana lomcane', + ss: '%d mzuzwana', + m: 'umzuzu', + mm: '%d emizuzu', + h: 'lihora', + hh: '%d emahora', + d: 'lilanga', + dd: '%d emalanga', + M: 'inyanga', + MM: '%d tinyanga', + y: 'umnyaka', + yy: '%d iminyaka', + }, + meridiemParse: /ekuseni|emini|entsambama|ebusuku/, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'ekuseni'; + } else if (hours < 15) { + return 'emini'; + } else if (hours < 19) { + return 'entsambama'; + } else { + return 'ebusuku'; + } + }, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ekuseni') { + return hour; + } else if (meridiem === 'emini') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') { + if (hour === 0) { + return 0; + } + return hour + 12; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: '%d', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('sv', { + months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), + weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'), + weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'), + weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [kl.] HH:mm', + LLLL: 'dddd D MMMM YYYY [kl.] HH:mm', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd D MMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Idag] LT', + nextDay: '[Imorgon] LT', + lastDay: '[Igår] LT', + nextWeek: '[På] dddd LT', + lastWeek: '[I] dddd[s] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'om %s', + past: 'för %s sedan', + s: 'några sekunder', + ss: '%d sekunder', + m: 'en minut', + mm: '%d minuter', + h: 'en timme', + hh: '%d timmar', + d: 'en dag', + dd: '%d dagar', + M: 'en månad', + MM: '%d månader', + y: 'ett år', + yy: '%d år', + }, + dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? ':e' + : b === 1 + ? ':a' + : b === 2 + ? ':a' + : b === 3 + ? ':e' + : ':e'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('sw', { + months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'), + weekdays: + 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split( + '_' + ), + weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'), + weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'hh:mm A', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[leo saa] LT', + nextDay: '[kesho saa] LT', + nextWeek: '[wiki ijayo] dddd [saat] LT', + lastDay: '[jana] LT', + lastWeek: '[wiki iliyopita] dddd [saat] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s baadaye', + past: 'tokea %s', + s: 'hivi punde', + ss: 'sekunde %d', + m: 'dakika moja', + mm: 'dakika %d', + h: 'saa limoja', + hh: 'masaa %d', + d: 'siku moja', + dd: 'siku %d', + M: 'mwezi mmoja', + MM: 'miezi %d', + y: 'mwaka mmoja', + yy: 'miaka %d', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$h = { + 1: '௧', + 2: '௨', + 3: '௩', + 4: '௪', + 5: '௫', + 6: '௬', + 7: '௭', + 8: '௮', + 9: '௯', + 0: '௦', + }, + numberMap$g = { + '௧': '1', + '௨': '2', + '௩': '3', + '௪': '4', + '௫': '5', + '௬': '6', + '௭': '7', + '௮': '8', + '௯': '9', + '௦': '0', + }; + + moment.defineLocale('ta', { + months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split( + '_' + ), + monthsShort: + 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split( + '_' + ), + weekdays: + 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split( + '_' + ), + weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split( + '_' + ), + weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, HH:mm', + LLLL: 'dddd, D MMMM YYYY, HH:mm', + }, + calendar: { + sameDay: '[இன்று] LT', + nextDay: '[நாளை] LT', + nextWeek: 'dddd, LT', + lastDay: '[நேற்று] LT', + lastWeek: '[கடந்த வாரம்] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s இல்', + past: '%s முன்', + s: 'ஒரு சில விநாடிகள்', + ss: '%d விநாடிகள்', + m: 'ஒரு நிமிடம்', + mm: '%d நிமிடங்கள்', + h: 'ஒரு மணி நேரம்', + hh: '%d மணி நேரம்', + d: 'ஒரு நாள்', + dd: '%d நாட்கள்', + M: 'ஒரு மாதம்', + MM: '%d மாதங்கள்', + y: 'ஒரு வருடம்', + yy: '%d ஆண்டுகள்', + }, + dayOfMonthOrdinalParse: /\d{1,2}வது/, + ordinal: function (number) { + return number + 'வது'; + }, + preparse: function (string) { + return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) { + return numberMap$g[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$h[match]; + }); + }, + // refer http://ta.wikipedia.org/s/1er1 + meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/, + meridiem: function (hour, minute, isLower) { + if (hour < 2) { + return ' யாமம்'; + } else if (hour < 6) { + return ' வைகறை'; // வைகறை + } else if (hour < 10) { + return ' காலை'; // காலை + } else if (hour < 14) { + return ' நண்பகல்'; // நண்பகல் + } else if (hour < 18) { + return ' எற்பாடு'; // எற்பாடு + } else if (hour < 22) { + return ' மாலை'; // மாலை + } else { + return ' யாமம்'; + } + }, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'யாமம்') { + return hour < 2 ? hour : hour + 12; + } else if (meridiem === 'வைகறை' || meridiem === 'காலை') { + return hour; + } else if (meridiem === 'நண்பகல்') { + return hour >= 10 ? hour : hour + 12; + } else { + return hour + 12; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('te', { + months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split( + '_' + ), + monthsShort: + 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split( + '_' + ), + weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'), + weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm', + }, + calendar: { + sameDay: '[నేడు] LT', + nextDay: '[రేపు] LT', + nextWeek: 'dddd, LT', + lastDay: '[నిన్న] LT', + lastWeek: '[గత] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s లో', + past: '%s క్రితం', + s: 'కొన్ని క్షణాలు', + ss: '%d సెకన్లు', + m: 'ఒక నిమిషం', + mm: '%d నిమిషాలు', + h: 'ఒక గంట', + hh: '%d గంటలు', + d: 'ఒక రోజు', + dd: '%d రోజులు', + M: 'ఒక నెల', + MM: '%d నెలలు', + y: 'ఒక సంవత్సరం', + yy: '%d సంవత్సరాలు', + }, + dayOfMonthOrdinalParse: /\d{1,2}వ/, + ordinal: '%dవ', + meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'రాత్రి') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ఉదయం') { + return hour; + } else if (meridiem === 'మధ్యాహ్నం') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'సాయంత్రం') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'రాత్రి'; + } else if (hour < 10) { + return 'ఉదయం'; + } else if (hour < 17) { + return 'మధ్యాహ్నం'; + } else if (hour < 20) { + return 'సాయంత్రం'; + } else { + return 'రాత్రి'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('tet', { + months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split( + '_' + ), + monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), + weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'), + weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'), + weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Ohin iha] LT', + nextDay: '[Aban iha] LT', + nextWeek: 'dddd [iha] LT', + lastDay: '[Horiseik iha] LT', + lastWeek: 'dddd [semana kotuk] [iha] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'iha %s', + past: '%s liuba', + s: 'segundu balun', + ss: 'segundu %d', + m: 'minutu ida', + mm: 'minutu %d', + h: 'oras ida', + hh: 'oras %d', + d: 'loron ida', + dd: 'loron %d', + M: 'fulan ida', + MM: 'fulan %d', + y: 'tinan ida', + yy: 'tinan %d', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var suffixes$3 = { + 0: '-ум', + 1: '-ум', + 2: '-юм', + 3: '-юм', + 4: '-ум', + 5: '-ум', + 6: '-ум', + 7: '-ум', + 8: '-ум', + 9: '-ум', + 10: '-ум', + 12: '-ум', + 13: '-ум', + 20: '-ум', + 30: '-юм', + 40: '-ум', + 50: '-ум', + 60: '-ум', + 70: '-ум', + 80: '-ум', + 90: '-ум', + 100: '-ум', + }; + + moment.defineLocale('tg', { + months: { + format: 'январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри'.split( + '_' + ), + standalone: + 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split( + '_' + ), + }, + monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'), + weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split( + '_' + ), + weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'), + weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Имрӯз соати] LT', + nextDay: '[Фардо соати] LT', + lastDay: '[Дирӯз соати] LT', + nextWeek: 'dddd[и] [ҳафтаи оянда соати] LT', + lastWeek: 'dddd[и] [ҳафтаи гузашта соати] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'баъди %s', + past: '%s пеш', + s: 'якчанд сония', + m: 'як дақиқа', + mm: '%d дақиқа', + h: 'як соат', + hh: '%d соат', + d: 'як рӯз', + dd: '%d рӯз', + M: 'як моҳ', + MM: '%d моҳ', + y: 'як сол', + yy: '%d сол', + }, + meridiemParse: /шаб|субҳ|рӯз|бегоҳ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'шаб') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'субҳ') { + return hour; + } else if (meridiem === 'рӯз') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'бегоҳ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'шаб'; + } else if (hour < 11) { + return 'субҳ'; + } else if (hour < 16) { + return 'рӯз'; + } else if (hour < 19) { + return 'бегоҳ'; + } else { + return 'шаб'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ум|юм)/, + ordinal: function (number) { + var a = number % 10, + b = number >= 100 ? 100 : null; + return number + (suffixes$3[number] || suffixes$3[a] || suffixes$3[b]); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 1th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('th', { + months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split( + '_' + ), + monthsShort: + 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'), + weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference + weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY เวลา H:mm', + LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm', + }, + meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/, + isPM: function (input) { + return input === 'หลังเที่ยง'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ก่อนเที่ยง'; + } else { + return 'หลังเที่ยง'; + } + }, + calendar: { + sameDay: '[วันนี้ เวลา] LT', + nextDay: '[พรุ่งนี้ เวลา] LT', + nextWeek: 'dddd[หน้า เวลา] LT', + lastDay: '[เมื่อวานนี้ เวลา] LT', + lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'อีก %s', + past: '%sที่แล้ว', + s: 'ไม่กี่วินาที', + ss: '%d วินาที', + m: '1 นาที', + mm: '%d นาที', + h: '1 ชั่วโมง', + hh: '%d ชั่วโมง', + d: '1 วัน', + dd: '%d วัน', + w: '1 สัปดาห์', + ww: '%d สัปดาห์', + M: '1 เดือน', + MM: '%d เดือน', + y: '1 ปี', + yy: '%d ปี', + }, + }); + + //! moment.js locale configuration + + var suffixes$4 = { + 1: "'inji", + 5: "'inji", + 8: "'inji", + 70: "'inji", + 80: "'inji", + 2: "'nji", + 7: "'nji", + 20: "'nji", + 50: "'nji", + 3: "'ünji", + 4: "'ünji", + 100: "'ünji", + 6: "'njy", + 9: "'unjy", + 10: "'unjy", + 30: "'unjy", + 60: "'ynjy", + 90: "'ynjy", + }; + + moment.defineLocale('tk', { + months: 'Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr'.split( + '_' + ), + monthsShort: 'Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek'.split('_'), + weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe'.split( + '_' + ), + weekdaysShort: 'Ýek_Duş_Siş_Çar_Pen_Ann_Şen'.split('_'), + weekdaysMin: 'Ýk_Dş_Sş_Çr_Pn_An_Şn'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[bugün sagat] LT', + nextDay: '[ertir sagat] LT', + nextWeek: '[indiki] dddd [sagat] LT', + lastDay: '[düýn] LT', + lastWeek: '[geçen] dddd [sagat] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s soň', + past: '%s öň', + s: 'birnäçe sekunt', + m: 'bir minut', + mm: '%d minut', + h: 'bir sagat', + hh: '%d sagat', + d: 'bir gün', + dd: '%d gün', + M: 'bir aý', + MM: '%d aý', + y: 'bir ýyl', + yy: '%d ýyl', + }, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'Do': + case 'DD': + return number; + default: + if (number === 0) { + // special case for zero + return number + "'unjy"; + } + var a = number % 10, + b = (number % 100) - a, + c = number >= 100 ? 100 : null; + return number + (suffixes$4[a] || suffixes$4[b] || suffixes$4[c]); + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('tl-ph', { + months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split( + '_' + ), + monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), + weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split( + '_' + ), + weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), + weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'MM/D/YYYY', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY HH:mm', + LLLL: 'dddd, MMMM DD, YYYY HH:mm', + }, + calendar: { + sameDay: 'LT [ngayong araw]', + nextDay: '[Bukas ng] LT', + nextWeek: 'LT [sa susunod na] dddd', + lastDay: 'LT [kahapon]', + lastWeek: 'LT [noong nakaraang] dddd', + sameElse: 'L', + }, + relativeTime: { + future: 'sa loob ng %s', + past: '%s ang nakalipas', + s: 'ilang segundo', + ss: '%d segundo', + m: 'isang minuto', + mm: '%d minuto', + h: 'isang oras', + hh: '%d oras', + d: 'isang araw', + dd: '%d araw', + M: 'isang buwan', + MM: '%d buwan', + y: 'isang taon', + yy: '%d taon', + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: function (number) { + return number; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_'); + + function translateFuture(output) { + var time = output; + time = + output.indexOf('jaj') !== -1 + ? time.slice(0, -3) + 'leS' + : output.indexOf('jar') !== -1 + ? time.slice(0, -3) + 'waQ' + : output.indexOf('DIS') !== -1 + ? time.slice(0, -3) + 'nem' + : time + ' pIq'; + return time; + } + + function translatePast(output) { + var time = output; + time = + output.indexOf('jaj') !== -1 + ? time.slice(0, -3) + 'Hu’' + : output.indexOf('jar') !== -1 + ? time.slice(0, -3) + 'wen' + : output.indexOf('DIS') !== -1 + ? time.slice(0, -3) + 'ben' + : time + ' ret'; + return time; + } + + function translate$a(number, withoutSuffix, string, isFuture) { + var numberNoun = numberAsNoun(number); + switch (string) { + case 'ss': + return numberNoun + ' lup'; + case 'mm': + return numberNoun + ' tup'; + case 'hh': + return numberNoun + ' rep'; + case 'dd': + return numberNoun + ' jaj'; + case 'MM': + return numberNoun + ' jar'; + case 'yy': + return numberNoun + ' DIS'; + } + } + + function numberAsNoun(number) { + var hundred = Math.floor((number % 1000) / 100), + ten = Math.floor((number % 100) / 10), + one = number % 10, + word = ''; + if (hundred > 0) { + word += numbersNouns[hundred] + 'vatlh'; + } + if (ten > 0) { + word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH'; + } + if (one > 0) { + word += (word !== '' ? ' ' : '') + numbersNouns[one]; + } + return word === '' ? 'pagh' : word; + } + + moment.defineLocale('tlh', { + months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split( + '_' + ), + monthsShort: + 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split( + '_' + ), + weekdaysShort: + 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + weekdaysMin: + 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[DaHjaj] LT', + nextDay: '[wa’leS] LT', + nextWeek: 'LLL', + lastDay: '[wa’Hu’] LT', + lastWeek: 'LLL', + sameElse: 'L', + }, + relativeTime: { + future: translateFuture, + past: translatePast, + s: 'puS lup', + ss: translate$a, + m: 'wa’ tup', + mm: translate$a, + h: 'wa’ rep', + hh: translate$a, + d: 'wa’ jaj', + dd: translate$a, + M: 'wa’ jar', + MM: translate$a, + y: 'wa’ DIS', + yy: translate$a, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var suffixes$5 = { + 1: "'inci", + 5: "'inci", + 8: "'inci", + 70: "'inci", + 80: "'inci", + 2: "'nci", + 7: "'nci", + 20: "'nci", + 50: "'nci", + 3: "'üncü", + 4: "'üncü", + 100: "'üncü", + 6: "'ncı", + 9: "'uncu", + 10: "'uncu", + 30: "'uncu", + 60: "'ıncı", + 90: "'ıncı", + }; + + moment.defineLocale('tr', { + months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split( + '_' + ), + monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'), + weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split( + '_' + ), + weekdaysShort: 'Paz_Pzt_Sal_Çar_Per_Cum_Cmt'.split('_'), + weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'), + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'öö' : 'ÖÖ'; + } else { + return isLower ? 'ös' : 'ÖS'; + } + }, + meridiemParse: /öö|ÖÖ|ös|ÖS/, + isPM: function (input) { + return input === 'ös' || input === 'ÖS'; + }, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[bugün saat] LT', + nextDay: '[yarın saat] LT', + nextWeek: '[gelecek] dddd [saat] LT', + lastDay: '[dün] LT', + lastWeek: '[geçen] dddd [saat] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s sonra', + past: '%s önce', + s: 'birkaç saniye', + ss: '%d saniye', + m: 'bir dakika', + mm: '%d dakika', + h: 'bir saat', + hh: '%d saat', + d: 'bir gün', + dd: '%d gün', + w: 'bir hafta', + ww: '%d hafta', + M: 'bir ay', + MM: '%d ay', + y: 'bir yıl', + yy: '%d yıl', + }, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'Do': + case 'DD': + return number; + default: + if (number === 0) { + // special case for zero + return number + "'ıncı"; + } + var a = number % 10, + b = (number % 100) - a, + c = number >= 100 ? 100 : null; + return number + (suffixes$5[a] || suffixes$5[b] || suffixes$5[c]); + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals. + // This is currently too difficult (maybe even impossible) to add. + moment.defineLocale('tzl', { + months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split( + '_' + ), + monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'), + weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'), + weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'), + weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM [dallas] YYYY', + LLL: 'D. MMMM [dallas] YYYY HH.mm', + LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm', + }, + meridiemParse: /d\'o|d\'a/i, + isPM: function (input) { + return "d'o" === input.toLowerCase(); + }, + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? "d'o" : "D'O"; + } else { + return isLower ? "d'a" : "D'A"; + } + }, + calendar: { + sameDay: '[oxhi à] LT', + nextDay: '[demà à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[ieiri à] LT', + lastWeek: '[sür el] dddd [lasteu à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'osprei %s', + past: 'ja%s', + s: processRelativeTime$a, + ss: processRelativeTime$a, + m: processRelativeTime$a, + mm: processRelativeTime$a, + h: processRelativeTime$a, + hh: processRelativeTime$a, + d: processRelativeTime$a, + dd: processRelativeTime$a, + M: processRelativeTime$a, + MM: processRelativeTime$a, + y: processRelativeTime$a, + yy: processRelativeTime$a, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + function processRelativeTime$a(number, withoutSuffix, key, isFuture) { + var format = { + s: ['viensas secunds', "'iensas secunds"], + ss: [number + ' secunds', '' + number + ' secunds'], + m: ["'n míut", "'iens míut"], + mm: [number + ' míuts', '' + number + ' míuts'], + h: ["'n þora", "'iensa þora"], + hh: [number + ' þoras', '' + number + ' þoras'], + d: ["'n ziua", "'iensa ziua"], + dd: [number + ' ziuas', '' + number + ' ziuas'], + M: ["'n mes", "'iens mes"], + MM: [number + ' mesen', '' + number + ' mesen'], + y: ["'n ar", "'iens ar"], + yy: [number + ' ars', '' + number + ' ars'], + }; + return isFuture + ? format[key][0] + : withoutSuffix + ? format[key][0] + : format[key][1]; + } + + //! moment.js locale configuration + + moment.defineLocale('tzm-latn', { + months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split( + '_' + ), + monthsShort: + 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split( + '_' + ), + weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[asdkh g] LT', + nextDay: '[aska g] LT', + nextWeek: 'dddd [g] LT', + lastDay: '[assant g] LT', + lastWeek: 'dddd [g] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dadkh s yan %s', + past: 'yan %s', + s: 'imik', + ss: '%d imik', + m: 'minuḍ', + mm: '%d minuḍ', + h: 'saɛa', + hh: '%d tassaɛin', + d: 'ass', + dd: '%d ossan', + M: 'ayowr', + MM: '%d iyyirn', + y: 'asgas', + yy: '%d isgasn', + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('tzm', { + months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split( + '_' + ), + monthsShort: + 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split( + '_' + ), + weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[ⴰⵙⴷⵅ ⴴ] LT', + nextDay: '[ⴰⵙⴽⴰ ⴴ] LT', + nextWeek: 'dddd [ⴴ] LT', + lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT', + lastWeek: 'dddd [ⴴ] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s', + past: 'ⵢⴰⵏ %s', + s: 'ⵉⵎⵉⴽ', + ss: '%d ⵉⵎⵉⴽ', + m: 'ⵎⵉⵏⵓⴺ', + mm: '%d ⵎⵉⵏⵓⴺ', + h: 'ⵙⴰⵄⴰ', + hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ', + d: 'ⴰⵙⵙ', + dd: '%d oⵙⵙⴰⵏ', + M: 'ⴰⵢoⵓⵔ', + MM: '%d ⵉⵢⵢⵉⵔⵏ', + y: 'ⴰⵙⴳⴰⵙ', + yy: '%d ⵉⵙⴳⴰⵙⵏ', + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('ug-cn', { + months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split( + '_' + ), + monthsShort: + 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split( + '_' + ), + weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split( + '_' + ), + weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'), + weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى', + LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm', + LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm', + }, + meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + meridiem === 'يېرىم كېچە' || + meridiem === 'سەھەر' || + meridiem === 'چۈشتىن بۇرۇن' + ) { + return hour; + } else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') { + return hour + 12; + } else { + return hour >= 11 ? hour : hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return 'يېرىم كېچە'; + } else if (hm < 900) { + return 'سەھەر'; + } else if (hm < 1130) { + return 'چۈشتىن بۇرۇن'; + } else if (hm < 1230) { + return 'چۈش'; + } else if (hm < 1800) { + return 'چۈشتىن كېيىن'; + } else { + return 'كەچ'; + } + }, + calendar: { + sameDay: '[بۈگۈن سائەت] LT', + nextDay: '[ئەتە سائەت] LT', + nextWeek: '[كېلەركى] dddd [سائەت] LT', + lastDay: '[تۆنۈگۈن] LT', + lastWeek: '[ئالدىنقى] dddd [سائەت] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s كېيىن', + past: '%s بۇرۇن', + s: 'نەچچە سېكونت', + ss: '%d سېكونت', + m: 'بىر مىنۇت', + mm: '%d مىنۇت', + h: 'بىر سائەت', + hh: '%d سائەت', + d: 'بىر كۈن', + dd: '%d كۈن', + M: 'بىر ئاي', + MM: '%d ئاي', + y: 'بىر يىل', + yy: '%d يىل', + }, + + dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '-كۈنى'; + case 'w': + case 'W': + return number + '-ھەپتە'; + default: + return number; + } + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效 + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 1st is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function plural$6(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 + ? forms[0] + : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) + ? forms[1] + : forms[2]; + } + function relativeTimeWithPlural$4(number, withoutSuffix, key) { + var format = { + ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд', + mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин', + hh: withoutSuffix ? 'година_години_годин' : 'годину_години_годин', + dd: 'день_дні_днів', + MM: 'місяць_місяці_місяців', + yy: 'рік_роки_років', + }; + if (key === 'm') { + return withoutSuffix ? 'хвилина' : 'хвилину'; + } else if (key === 'h') { + return withoutSuffix ? 'година' : 'годину'; + } else { + return number + ' ' + plural$6(format[key], +number); + } + } + function weekdaysCaseReplace(m, format) { + var weekdays = { + nominative: + 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split( + '_' + ), + accusative: + 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split( + '_' + ), + genitive: + 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split( + '_' + ), + }, + nounCase; + + if (m === true) { + return weekdays['nominative'] + .slice(1, 7) + .concat(weekdays['nominative'].slice(0, 1)); + } + if (!m) { + return weekdays['nominative']; + } + + nounCase = /(\[[ВвУу]\]) ?dddd/.test(format) + ? 'accusative' + : /\[?(?:минулої|наступної)? ?\] ?dddd/.test(format) + ? 'genitive' + : 'nominative'; + return weekdays[nounCase][m.day()]; + } + function processHoursFunction(str) { + return function () { + return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT'; + }; + } + + moment.defineLocale('uk', { + months: { + format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split( + '_' + ), + standalone: + 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split( + '_' + ), + }, + monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split( + '_' + ), + weekdays: weekdaysCaseReplace, + weekdaysShort: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY р.', + LLL: 'D MMMM YYYY р., HH:mm', + LLLL: 'dddd, D MMMM YYYY р., HH:mm', + }, + calendar: { + sameDay: processHoursFunction('[Сьогодні '), + nextDay: processHoursFunction('[Завтра '), + lastDay: processHoursFunction('[Вчора '), + nextWeek: processHoursFunction('[У] dddd ['), + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 5: + case 6: + return processHoursFunction('[Минулої] dddd [').call(this); + case 1: + case 2: + case 4: + return processHoursFunction('[Минулого] dddd [').call(this); + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'за %s', + past: '%s тому', + s: 'декілька секунд', + ss: relativeTimeWithPlural$4, + m: relativeTimeWithPlural$4, + mm: relativeTimeWithPlural$4, + h: 'годину', + hh: relativeTimeWithPlural$4, + d: 'день', + dd: relativeTimeWithPlural$4, + M: 'місяць', + MM: relativeTimeWithPlural$4, + y: 'рік', + yy: relativeTimeWithPlural$4, + }, + // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason + meridiemParse: /ночі|ранку|дня|вечора/, + isPM: function (input) { + return /^(дня|вечора)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ночі'; + } else if (hour < 12) { + return 'ранку'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечора'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + case 'w': + case 'W': + return number + '-й'; + case 'D': + return number + '-го'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var months$a = [ + 'جنوری', + 'فروری', + 'مارچ', + 'اپریل', + 'مئی', + 'جون', + 'جولائی', + 'اگست', + 'ستمبر', + 'اکتوبر', + 'نومبر', + 'دسمبر', + ], + days$1 = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ']; + + moment.defineLocale('ur', { + months: months$a, + monthsShort: months$a, + weekdays: days$1, + weekdaysShort: days$1, + weekdaysMin: days$1, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd، D MMMM YYYY HH:mm', + }, + meridiemParse: /صبح|شام/, + isPM: function (input) { + return 'شام' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'صبح'; + } + return 'شام'; + }, + calendar: { + sameDay: '[آج بوقت] LT', + nextDay: '[کل بوقت] LT', + nextWeek: 'dddd [بوقت] LT', + lastDay: '[گذشتہ روز بوقت] LT', + lastWeek: '[گذشتہ] dddd [بوقت] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s بعد', + past: '%s قبل', + s: 'چند سیکنڈ', + ss: '%d سیکنڈ', + m: 'ایک منٹ', + mm: '%d منٹ', + h: 'ایک گھنٹہ', + hh: '%d گھنٹے', + d: 'ایک دن', + dd: '%d دن', + M: 'ایک ماہ', + MM: '%d ماہ', + y: 'ایک سال', + yy: '%d سال', + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('uz-latn', { + months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split( + '_' + ), + monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'), + weekdays: + 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split( + '_' + ), + weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'), + weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'D MMMM YYYY, dddd HH:mm', + }, + calendar: { + sameDay: '[Bugun soat] LT [da]', + nextDay: '[Ertaga] LT [da]', + nextWeek: 'dddd [kuni soat] LT [da]', + lastDay: '[Kecha soat] LT [da]', + lastWeek: "[O'tgan] dddd [kuni soat] LT [da]", + sameElse: 'L', + }, + relativeTime: { + future: 'Yaqin %s ichida', + past: 'Bir necha %s oldin', + s: 'soniya', + ss: '%d soniya', + m: 'bir daqiqa', + mm: '%d daqiqa', + h: 'bir soat', + hh: '%d soat', + d: 'bir kun', + dd: '%d kun', + M: 'bir oy', + MM: '%d oy', + y: 'bir yil', + yy: '%d yil', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('uz', { + months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split( + '_' + ), + monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'), + weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'), + weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'), + weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'D MMMM YYYY, dddd HH:mm', + }, + calendar: { + sameDay: '[Бугун соат] LT [да]', + nextDay: '[Эртага] LT [да]', + nextWeek: 'dddd [куни соат] LT [да]', + lastDay: '[Кеча соат] LT [да]', + lastWeek: '[Утган] dddd [куни соат] LT [да]', + sameElse: 'L', + }, + relativeTime: { + future: 'Якин %s ичида', + past: 'Бир неча %s олдин', + s: 'фурсат', + ss: '%d фурсат', + m: 'бир дакика', + mm: '%d дакика', + h: 'бир соат', + hh: '%d соат', + d: 'бир кун', + dd: '%d кун', + M: 'бир ой', + MM: '%d ой', + y: 'бир йил', + yy: '%d йил', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('vi', { + months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split( + '_' + ), + monthsShort: + 'Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split( + '_' + ), + weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'), + weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'), + weekdaysParseExact: true, + meridiemParse: /sa|ch/i, + isPM: function (input) { + return /^ch$/i.test(input); + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'sa' : 'SA'; + } else { + return isLower ? 'ch' : 'CH'; + } + }, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [năm] YYYY', + LLL: 'D MMMM [năm] YYYY HH:mm', + LLLL: 'dddd, D MMMM [năm] YYYY HH:mm', + l: 'DD/M/YYYY', + ll: 'D MMM YYYY', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd, D MMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Hôm nay lúc] LT', + nextDay: '[Ngày mai lúc] LT', + nextWeek: 'dddd [tuần tới lúc] LT', + lastDay: '[Hôm qua lúc] LT', + lastWeek: 'dddd [tuần trước lúc] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s tới', + past: '%s trước', + s: 'vài giây', + ss: '%d giây', + m: 'một phút', + mm: '%d phút', + h: 'một giờ', + hh: '%d giờ', + d: 'một ngày', + dd: '%d ngày', + w: 'một tuần', + ww: '%d tuần', + M: 'một tháng', + MM: '%d tháng', + y: 'một năm', + yy: '%d năm', + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: function (number) { + return number; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('x-pseudo', { + months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split( + '_' + ), + monthsShort: + 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split( + '_' + ), + weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'), + weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[T~ódá~ý át] LT', + nextDay: '[T~ómó~rró~w át] LT', + nextWeek: 'dddd [át] LT', + lastDay: '[Ý~ést~érdá~ý át] LT', + lastWeek: '[L~ást] dddd [át] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'í~ñ %s', + past: '%s á~gó', + s: 'á ~féw ~sécó~ñds', + ss: '%d s~écóñ~ds', + m: 'á ~míñ~úté', + mm: '%d m~íñú~tés', + h: 'á~ñ hó~úr', + hh: '%d h~óúrs', + d: 'á ~dáý', + dd: '%d d~áýs', + M: 'á ~móñ~th', + MM: '%d m~óñt~hs', + y: 'á ~ýéár', + yy: '%d ý~éárs', + }, + dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('yo', { + months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split( + '_' + ), + monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'), + weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'), + weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'), + weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Ònì ni] LT', + nextDay: '[Ọ̀la ni] LT', + nextWeek: "dddd [Ọsẹ̀ tón'bọ] [ni] LT", + lastDay: '[Àna ni] LT', + lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ní %s', + past: '%s kọjá', + s: 'ìsẹjú aayá die', + ss: 'aayá %d', + m: 'ìsẹjú kan', + mm: 'ìsẹjú %d', + h: 'wákati kan', + hh: 'wákati %d', + d: 'ọjọ́ kan', + dd: 'ọjọ́ %d', + M: 'osù kan', + MM: 'osù %d', + y: 'ọdún kan', + yy: 'ọdún %d', + }, + dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/, + ordinal: 'ọjọ́ %d', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('zh-cn', { + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_' + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日Ah点mm分', + LLLL: 'YYYY年M月D日ddddAh点mm分', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm', + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } else { + // '中午' + return hour >= 11 ? hour : hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar: { + sameDay: '[今天]LT', + nextDay: '[明天]LT', + nextWeek: function (now) { + if (now.week() !== this.week()) { + return '[下]dddLT'; + } else { + return '[本]dddLT'; + } + }, + lastDay: '[昨天]LT', + lastWeek: function (now) { + if (this.week() !== now.week()) { + return '[上]dddLT'; + } else { + return '[本]dddLT'; + } + }, + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '周'; + default: + return number; + } + }, + relativeTime: { + future: '%s后', + past: '%s前', + s: '几秒', + ss: '%d 秒', + m: '1 分钟', + mm: '%d 分钟', + h: '1 小时', + hh: '%d 小时', + d: '1 天', + dd: '%d 天', + w: '1 周', + ww: '%d 周', + M: '1 个月', + MM: '%d 个月', + y: '1 年', + yy: '%d 年', + }, + week: { + // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效 + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('zh-hk', { + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_' + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日dddd HH:mm', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm', + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '中午') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1200) { + return '上午'; + } else if (hm === 1200) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar: { + sameDay: '[今天]LT', + nextDay: '[明天]LT', + nextWeek: '[下]ddddLT', + lastDay: '[昨天]LT', + lastWeek: '[上]ddddLT', + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '週'; + default: + return number; + } + }, + relativeTime: { + future: '%s後', + past: '%s前', + s: '幾秒', + ss: '%d 秒', + m: '1 分鐘', + mm: '%d 分鐘', + h: '1 小時', + hh: '%d 小時', + d: '1 天', + dd: '%d 天', + M: '1 個月', + MM: '%d 個月', + y: '1 年', + yy: '%d 年', + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('zh-mo', { + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_' + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日dddd HH:mm', + l: 'D/M/YYYY', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm', + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '中午') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar: { + sameDay: '[今天] LT', + nextDay: '[明天] LT', + nextWeek: '[下]dddd LT', + lastDay: '[昨天] LT', + lastWeek: '[上]dddd LT', + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '週'; + default: + return number; + } + }, + relativeTime: { + future: '%s內', + past: '%s前', + s: '幾秒', + ss: '%d 秒', + m: '1 分鐘', + mm: '%d 分鐘', + h: '1 小時', + hh: '%d 小時', + d: '1 天', + dd: '%d 天', + M: '1 個月', + MM: '%d 個月', + y: '1 年', + yy: '%d 年', + }, + }); + + //! moment.js locale configuration + + moment.defineLocale('zh-tw', { + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_' + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日dddd HH:mm', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm', + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '中午') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar: { + sameDay: '[今天] LT', + nextDay: '[明天] LT', + nextWeek: '[下]dddd LT', + lastDay: '[昨天] LT', + lastWeek: '[上]dddd LT', + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '週'; + default: + return number; + } + }, + relativeTime: { + future: '%s後', + past: '%s前', + s: '幾秒', + ss: '%d 秒', + m: '1 分鐘', + mm: '%d 分鐘', + h: '1 小時', + hh: '%d 小時', + d: '1 天', + dd: '%d 天', + M: '1 個月', + MM: '%d 個月', + y: '1 年', + yy: '%d 年', + }, + }); + + moment.locale('en'); + + return moment; + +}))); diff --git a/node_modules/moment/min/locales.min.js b/node_modules/moment/min/locales.min.js new file mode 100644 index 0000000..49c47f5 --- /dev/null +++ b/node_modules/moment/min/locales.min.js @@ -0,0 +1,2 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,a,_){return e<12?_?"vm":"VM":_?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||20<=e?"ste":"de")},week:{dow:1,doy:4}});function E(e){return 0===e?0:1===e?1:2===e?2:3<=e%100&&e%100<=10?3:11<=e%100?4:5}function a(n){return function(e,a,_,s){var d=E(e),t=J[n][E(e)];return(t=2===d?t[a?0:1]:t).replace(/%d/i,e)}}function F(e){return 0===e?0:1===e?1:2===e?2:3<=e%100&&e%100<=10?3:11<=e%100?4:5}function _(n){return function(e,a,_,s){var d=F(e),t=I[n][F(e)];return(t=2===d?t[a?0:1]:t).replace(/%d/i,e)}}function z(e){return 0===e?0:1===e?1:2===e?2:3<=e%100&&e%100<=10?3:11<=e%100?4:5}function s(n){return function(e,a,_,s){var d=z(e),t=U[n][z(e)];return(t=2===d?t[a?0:1]:t).replace(/%d/i,e)}}var J={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},d=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"],N=(e.defineLocale("ar-dz",{months:d,monthsShort:d,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,_){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:0,doy:4}}),e.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}}),{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"}),I={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},d=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"],R=(e.defineLocale("ar-ly",{months:d,monthsShort:d,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,_){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:_("s"),ss:_("s"),m:_("m"),mm:_("m"),h:_("h"),hh:_("h"),d:_("d"),dd:_("d"),M:_("M"),MM:_("M"),y:_("y"),yy:_("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return N[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}}),e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}}),{1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"}),C={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},K=(e.defineLocale("ar-ps",{months:"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0634\u0631\u064a \u0627\u0644\u0623\u0648\u0651\u0644_\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0651\u0644".split("_"),monthsShort:"\u0643\u0662_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0661_\u062a\u0662_\u0643\u0661".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,_){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return C[e]}).split("").reverse().join("").replace(/[\u0661\u0662](?![\u062a\u0643])/g,function(e){return C[e]}).split("").reverse().join("").replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return R[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}}),{1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"}),B={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},q=(e.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,_){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return B[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return K[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}}),e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}}),{1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"}),G={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},U={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},d=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"],$=(e.defineLocale("ar",{months:d,monthsShort:d,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,_){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return G[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return q[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}}),{1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"});function t(e,a,_){return"m"===_?a?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===_?a?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(e=+e,a=(a={ss:a?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:a?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:a?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[_]).split("_"),e%10==1&&e%100!=11?a[0]:2<=e%10&&e%10<=4&&(e%100<10||20<=e%100)?a[1]:a[2])}e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(e){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(e)},meridiem:function(e,a,_){return e<4?"gec\u0259":e<12?"s\u0259h\u0259r":e<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(e){var a;return 0===e?e+"-\u0131nc\u0131":e+($[a=e%10]||$[e%100-a]||$[100<=e?100:null])},week:{dow:1,doy:7}}),e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:t,hh:t,d:"\u0434\u0437\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,a,_){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,a){switch(a){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}}),e.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var a=e%10,_=e%100;return 0===e?e+"-\u0435\u0432":0==_?e+"-\u0435\u043d":10<_&&_<20?e+"-\u0442\u0438":1==a?e+"-\u0432\u0438":2==a?e+"-\u0440\u0438":7==a||8==a?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}}),e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});var Q={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},V={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"},Z=(e.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return V[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Q[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===a?e<4?e:e+12:"\u09ad\u09cb\u09b0"===a||"\u09b8\u0995\u09be\u09b2"===a?e:"\u09a6\u09c1\u09aa\u09c1\u09b0"===a?3<=e?e:e+12:"\u09ac\u09bf\u0995\u09be\u09b2"===a||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===a?e+12:void 0},meridiem:function(e,a,_){return e<4?"\u09b0\u09be\u09a4":e<6?"\u09ad\u09cb\u09b0":e<12?"\u09b8\u0995\u09be\u09b2":e<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<18?"\u09ac\u09bf\u0995\u09be\u09b2":e<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}}),{1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"}),X={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"},ee=(e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return X[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Z[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===a&&4<=e||"\u09a6\u09c1\u09aa\u09c1\u09b0"===a&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===a?e+12:e},meridiem:function(e,a,_){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}}),{1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"}),ae={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};function _e(e,a,_){return e+" "+(_={mm:"munutenn",MM:"miz",dd:"devezh"}[_],2!==(e=e)?_:void 0!==(e={m:"v",b:"v",d:"z"})[(_=_).charAt(0)]?e[_.charAt(0)]+_.substring(1):_)}e.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(e){return ae[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return ee[e]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===a&&4<=e||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===a&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===a?e+12:e},meridiem:function(e,a,_){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}});var d=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],n=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,r=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];function i(e,a,_){var s=e+" ";switch(_){case"ss":return s+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"mm":return s+=1!==e&&(2===e||3===e||4===e)?"minute":"minuta";case"h":return"jedan sat";case"hh":return s+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return s+=1===e?"dan":"dana";case"MM":return s+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return s+=1!==e&&(2===e||3===e||4===e)?"godine":"godina"}}e.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:r,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:r,monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:d,longMonthsParse:d,shortMonthsParse:d,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:_e,h:"un eur",hh:"%d eur",d:"un devezh",dd:_e,M:"ur miz",MM:_e,y:"ur bloaz",yy:function(e){switch(function e(a){if(9>> 0, + i; + + for (i = 0; i < len; i++) { + if (i in t && fun.call(this, t[i], i, t)) { + return true; + } + } + + return false; + }; + } + + function isValid(m) { + var flags = null, + parsedParts = false, + isNowValid = m._d && !isNaN(m._d.getTime()); + if (isNowValid) { + flags = getParsingFlags(m); + parsedParts = some.call(flags.parsedDateParts, function (i) { + return i != null; + }); + isNowValid = + flags.overflow < 0 && + !flags.empty && + !flags.invalidEra && + !flags.invalidMonth && + !flags.invalidWeekday && + !flags.weekdayMismatch && + !flags.nullInput && + !flags.invalidFormat && + !flags.userInvalidated && + (!flags.meridiem || (flags.meridiem && parsedParts)); + if (m._strict) { + isNowValid = + isNowValid && + flags.charsLeftOver === 0 && + flags.unusedTokens.length === 0 && + flags.bigHour === undefined; + } + } + if (Object.isFrozen == null || !Object.isFrozen(m)) { + m._isValid = isNowValid; + } else { + return isNowValid; + } + return m._isValid; + } + + function createInvalid(flags) { + var m = createUTC(NaN); + if (flags != null) { + extend(getParsingFlags(m), flags); + } else { + getParsingFlags(m).userInvalidated = true; + } + + return m; + } + + // Plugins that add properties should also add the key here (null value), + // so we can properly clone ourselves. + var momentProperties = (hooks.momentProperties = []), + updateInProgress = false; + + function copyConfig(to, from) { + var i, + prop, + val, + momentPropertiesLen = momentProperties.length; + + if (!isUndefined(from._isAMomentObject)) { + to._isAMomentObject = from._isAMomentObject; + } + if (!isUndefined(from._i)) { + to._i = from._i; + } + if (!isUndefined(from._f)) { + to._f = from._f; + } + if (!isUndefined(from._l)) { + to._l = from._l; + } + if (!isUndefined(from._strict)) { + to._strict = from._strict; + } + if (!isUndefined(from._tzm)) { + to._tzm = from._tzm; + } + if (!isUndefined(from._isUTC)) { + to._isUTC = from._isUTC; + } + if (!isUndefined(from._offset)) { + to._offset = from._offset; + } + if (!isUndefined(from._pf)) { + to._pf = getParsingFlags(from); + } + if (!isUndefined(from._locale)) { + to._locale = from._locale; + } + + if (momentPropertiesLen > 0) { + for (i = 0; i < momentPropertiesLen; i++) { + prop = momentProperties[i]; + val = from[prop]; + if (!isUndefined(val)) { + to[prop] = val; + } + } + } + + return to; + } + + // Moment prototype object + function Moment(config) { + copyConfig(this, config); + this._d = new Date(config._d != null ? config._d.getTime() : NaN); + if (!this.isValid()) { + this._d = new Date(NaN); + } + // Prevent infinite loop in case updateOffset creates new moment + // objects. + if (updateInProgress === false) { + updateInProgress = true; + hooks.updateOffset(this); + updateInProgress = false; + } + } + + function isMoment(obj) { + return ( + obj instanceof Moment || (obj != null && obj._isAMomentObject != null) + ); + } + + function warn(msg) { + if ( + hooks.suppressDeprecationWarnings === false && + typeof console !== 'undefined' && + console.warn + ) { + console.warn('Deprecation warning: ' + msg); + } + } + + function deprecate(msg, fn) { + var firstTime = true; + + return extend(function () { + if (hooks.deprecationHandler != null) { + hooks.deprecationHandler(null, msg); + } + if (firstTime) { + var args = [], + arg, + i, + key, + argLen = arguments.length; + for (i = 0; i < argLen; i++) { + arg = ''; + if (typeof arguments[i] === 'object') { + arg += '\n[' + i + '] '; + for (key in arguments[0]) { + if (hasOwnProp(arguments[0], key)) { + arg += key + ': ' + arguments[0][key] + ', '; + } + } + arg = arg.slice(0, -2); // Remove trailing comma and space + } else { + arg = arguments[i]; + } + args.push(arg); + } + warn( + msg + + '\nArguments: ' + + Array.prototype.slice.call(args).join('') + + '\n' + + new Error().stack + ); + firstTime = false; + } + return fn.apply(this, arguments); + }, fn); + } + + var deprecations = {}; + + function deprecateSimple(name, msg) { + if (hooks.deprecationHandler != null) { + hooks.deprecationHandler(name, msg); + } + if (!deprecations[name]) { + warn(msg); + deprecations[name] = true; + } + } + + hooks.suppressDeprecationWarnings = false; + hooks.deprecationHandler = null; + + function isFunction(input) { + return ( + (typeof Function !== 'undefined' && input instanceof Function) || + Object.prototype.toString.call(input) === '[object Function]' + ); + } + + function set(config) { + var prop, i; + for (i in config) { + if (hasOwnProp(config, i)) { + prop = config[i]; + if (isFunction(prop)) { + this[i] = prop; + } else { + this['_' + i] = prop; + } + } + } + this._config = config; + // Lenient ordinal parsing accepts just a number in addition to + // number + (possibly) stuff coming from _dayOfMonthOrdinalParse. + // TODO: Remove "ordinalParse" fallback in next major release. + this._dayOfMonthOrdinalParseLenient = new RegExp( + (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + + '|' + + /\d{1,2}/.source + ); + } + + function mergeConfigs(parentConfig, childConfig) { + var res = extend({}, parentConfig), + prop; + for (prop in childConfig) { + if (hasOwnProp(childConfig, prop)) { + if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) { + res[prop] = {}; + extend(res[prop], parentConfig[prop]); + extend(res[prop], childConfig[prop]); + } else if (childConfig[prop] != null) { + res[prop] = childConfig[prop]; + } else { + delete res[prop]; + } + } + } + for (prop in parentConfig) { + if ( + hasOwnProp(parentConfig, prop) && + !hasOwnProp(childConfig, prop) && + isObject(parentConfig[prop]) + ) { + // make sure changes to properties don't modify parent config + res[prop] = extend({}, res[prop]); + } + } + return res; + } + + function Locale(config) { + if (config != null) { + this.set(config); + } + } + + var keys; + + if (Object.keys) { + keys = Object.keys; + } else { + keys = function (obj) { + var i, + res = []; + for (i in obj) { + if (hasOwnProp(obj, i)) { + res.push(i); + } + } + return res; + }; + } + + var defaultCalendar = { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }; + + function calendar(key, mom, now) { + var output = this._calendar[key] || this._calendar['sameElse']; + return isFunction(output) ? output.call(mom, now) : output; + } + + function zeroFill(number, targetLength, forceSign) { + var absNumber = '' + Math.abs(number), + zerosToFill = targetLength - absNumber.length, + sign = number >= 0; + return ( + (sign ? (forceSign ? '+' : '') : '-') + + Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + + absNumber + ); + } + + var formattingTokens = + /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, + localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, + formatFunctions = {}, + formatTokenFunctions = {}; + + // token: 'M' + // padded: ['MM', 2] + // ordinal: 'Mo' + // callback: function () { this.month() + 1 } + function addFormatToken(token, padded, ordinal, callback) { + var func = callback; + if (typeof callback === 'string') { + func = function () { + return this[callback](); + }; + } + if (token) { + formatTokenFunctions[token] = func; + } + if (padded) { + formatTokenFunctions[padded[0]] = function () { + return zeroFill(func.apply(this, arguments), padded[1], padded[2]); + }; + } + if (ordinal) { + formatTokenFunctions[ordinal] = function () { + return this.localeData().ordinal( + func.apply(this, arguments), + token + ); + }; + } + } + + function removeFormattingTokens(input) { + if (input.match(/\[[\s\S]/)) { + return input.replace(/^\[|\]$/g, ''); + } + return input.replace(/\\/g, ''); + } + + function makeFormatFunction(format) { + var array = format.match(formattingTokens), + i, + length; + + for (i = 0, length = array.length; i < length; i++) { + if (formatTokenFunctions[array[i]]) { + array[i] = formatTokenFunctions[array[i]]; + } else { + array[i] = removeFormattingTokens(array[i]); + } + } + + return function (mom) { + var output = '', + i; + for (i = 0; i < length; i++) { + output += isFunction(array[i]) + ? array[i].call(mom, format) + : array[i]; + } + return output; + }; + } + + // format date using native date object + function formatMoment(m, format) { + if (!m.isValid()) { + return m.localeData().invalidDate(); + } + + format = expandFormat(format, m.localeData()); + formatFunctions[format] = + formatFunctions[format] || makeFormatFunction(format); + + return formatFunctions[format](m); + } + + function expandFormat(format, locale) { + var i = 5; + + function replaceLongDateFormatTokens(input) { + return locale.longDateFormat(input) || input; + } + + localFormattingTokens.lastIndex = 0; + while (i >= 0 && localFormattingTokens.test(format)) { + format = format.replace( + localFormattingTokens, + replaceLongDateFormatTokens + ); + localFormattingTokens.lastIndex = 0; + i -= 1; + } + + return format; + } + + var defaultLongDateFormat = { + LTS: 'h:mm:ss A', + LT: 'h:mm A', + L: 'MM/DD/YYYY', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY h:mm A', + LLLL: 'dddd, MMMM D, YYYY h:mm A', + }; + + function longDateFormat(key) { + var format = this._longDateFormat[key], + formatUpper = this._longDateFormat[key.toUpperCase()]; + + if (format || !formatUpper) { + return format; + } + + this._longDateFormat[key] = formatUpper + .match(formattingTokens) + .map(function (tok) { + if ( + tok === 'MMMM' || + tok === 'MM' || + tok === 'DD' || + tok === 'dddd' + ) { + return tok.slice(1); + } + return tok; + }) + .join(''); + + return this._longDateFormat[key]; + } + + var defaultInvalidDate = 'Invalid date'; + + function invalidDate() { + return this._invalidDate; + } + + var defaultOrdinal = '%d', + defaultDayOfMonthOrdinalParse = /\d{1,2}/; + + function ordinal(number) { + return this._ordinal.replace('%d', number); + } + + var defaultRelativeTime = { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + w: 'a week', + ww: '%d weeks', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }; + + function relativeTime(number, withoutSuffix, string, isFuture) { + var output = this._relativeTime[string]; + return isFunction(output) + ? output(number, withoutSuffix, string, isFuture) + : output.replace(/%d/i, number); + } + + function pastFuture(diff, output) { + var format = this._relativeTime[diff > 0 ? 'future' : 'past']; + return isFunction(format) ? format(output) : format.replace(/%s/i, output); + } + + var aliases = { + D: 'date', + dates: 'date', + date: 'date', + d: 'day', + days: 'day', + day: 'day', + e: 'weekday', + weekdays: 'weekday', + weekday: 'weekday', + E: 'isoWeekday', + isoweekdays: 'isoWeekday', + isoweekday: 'isoWeekday', + DDD: 'dayOfYear', + dayofyears: 'dayOfYear', + dayofyear: 'dayOfYear', + h: 'hour', + hours: 'hour', + hour: 'hour', + ms: 'millisecond', + milliseconds: 'millisecond', + millisecond: 'millisecond', + m: 'minute', + minutes: 'minute', + minute: 'minute', + M: 'month', + months: 'month', + month: 'month', + Q: 'quarter', + quarters: 'quarter', + quarter: 'quarter', + s: 'second', + seconds: 'second', + second: 'second', + gg: 'weekYear', + weekyears: 'weekYear', + weekyear: 'weekYear', + GG: 'isoWeekYear', + isoweekyears: 'isoWeekYear', + isoweekyear: 'isoWeekYear', + w: 'week', + weeks: 'week', + week: 'week', + W: 'isoWeek', + isoweeks: 'isoWeek', + isoweek: 'isoWeek', + y: 'year', + years: 'year', + year: 'year', + }; + + function normalizeUnits(units) { + return typeof units === 'string' + ? aliases[units] || aliases[units.toLowerCase()] + : undefined; + } + + function normalizeObjectUnits(inputObject) { + var normalizedInput = {}, + normalizedProp, + prop; + + for (prop in inputObject) { + if (hasOwnProp(inputObject, prop)) { + normalizedProp = normalizeUnits(prop); + if (normalizedProp) { + normalizedInput[normalizedProp] = inputObject[prop]; + } + } + } + + return normalizedInput; + } + + var priorities = { + date: 9, + day: 11, + weekday: 11, + isoWeekday: 11, + dayOfYear: 4, + hour: 13, + millisecond: 16, + minute: 14, + month: 8, + quarter: 7, + second: 15, + weekYear: 1, + isoWeekYear: 1, + week: 5, + isoWeek: 5, + year: 1, + }; + + function getPrioritizedUnits(unitsObj) { + var units = [], + u; + for (u in unitsObj) { + if (hasOwnProp(unitsObj, u)) { + units.push({ unit: u, priority: priorities[u] }); + } + } + units.sort(function (a, b) { + return a.priority - b.priority; + }); + return units; + } + + var match1 = /\d/, // 0 - 9 + match2 = /\d\d/, // 00 - 99 + match3 = /\d{3}/, // 000 - 999 + match4 = /\d{4}/, // 0000 - 9999 + match6 = /[+-]?\d{6}/, // -999999 - 999999 + match1to2 = /\d\d?/, // 0 - 99 + match3to4 = /\d\d\d\d?/, // 999 - 9999 + match5to6 = /\d\d\d\d\d\d?/, // 99999 - 999999 + match1to3 = /\d{1,3}/, // 0 - 999 + match1to4 = /\d{1,4}/, // 0 - 9999 + match1to6 = /[+-]?\d{1,6}/, // -999999 - 999999 + matchUnsigned = /\d+/, // 0 - inf + matchSigned = /[+-]?\d+/, // -inf - inf + matchOffset = /Z|[+-]\d\d:?\d\d/gi, // +00:00 -00:00 +0000 -0000 or Z + matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi, // +00 -00 +00:00 -00:00 +0000 -0000 or Z + matchTimestamp = /[+-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123 + // any word (or two) characters or numbers including two/three word month in arabic. + // includes scottish gaelic two word and hyphenated months + matchWord = + /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, + match1to2NoLeadingZero = /^[1-9]\d?/, // 1-99 + match1to2HasZero = /^([1-9]\d|\d)/, // 0-99 + regexes; + + regexes = {}; + + function addRegexToken(token, regex, strictRegex) { + regexes[token] = isFunction(regex) + ? regex + : function (isStrict, localeData) { + return isStrict && strictRegex ? strictRegex : regex; + }; + } + + function getParseRegexForToken(token, config) { + if (!hasOwnProp(regexes, token)) { + return new RegExp(unescapeFormat(token)); + } + + return regexes[token](config._strict, config._locale); + } + + // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript + function unescapeFormat(s) { + return regexEscape( + s + .replace('\\', '') + .replace( + /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, + function (matched, p1, p2, p3, p4) { + return p1 || p2 || p3 || p4; + } + ) + ); + } + + function regexEscape(s) { + return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); + } + + function absFloor(number) { + if (number < 0) { + // -0 -> 0 + return Math.ceil(number) || 0; + } else { + return Math.floor(number); + } + } + + function toInt(argumentForCoercion) { + var coercedNumber = +argumentForCoercion, + value = 0; + + if (coercedNumber !== 0 && isFinite(coercedNumber)) { + value = absFloor(coercedNumber); + } + + return value; + } + + var tokens = {}; + + function addParseToken(token, callback) { + var i, + func = callback, + tokenLen; + if (typeof token === 'string') { + token = [token]; + } + if (isNumber(callback)) { + func = function (input, array) { + array[callback] = toInt(input); + }; + } + tokenLen = token.length; + for (i = 0; i < tokenLen; i++) { + tokens[token[i]] = func; + } + } + + function addWeekParseToken(token, callback) { + addParseToken(token, function (input, array, config, token) { + config._w = config._w || {}; + callback(input, config._w, config, token); + }); + } + + function addTimeToArrayFromToken(token, input, config) { + if (input != null && hasOwnProp(tokens, token)) { + tokens[token](input, config._a, config, token); + } + } + + function isLeapYear(year) { + return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; + } + + var YEAR = 0, + MONTH = 1, + DATE = 2, + HOUR = 3, + MINUTE = 4, + SECOND = 5, + MILLISECOND = 6, + WEEK = 7, + WEEKDAY = 8; + + // FORMATTING + + addFormatToken('Y', 0, 0, function () { + var y = this.year(); + return y <= 9999 ? zeroFill(y, 4) : '+' + y; + }); + + addFormatToken(0, ['YY', 2], 0, function () { + return this.year() % 100; + }); + + addFormatToken(0, ['YYYY', 4], 0, 'year'); + addFormatToken(0, ['YYYYY', 5], 0, 'year'); + addFormatToken(0, ['YYYYYY', 6, true], 0, 'year'); + + // PARSING + + addRegexToken('Y', matchSigned); + addRegexToken('YY', match1to2, match2); + addRegexToken('YYYY', match1to4, match4); + addRegexToken('YYYYY', match1to6, match6); + addRegexToken('YYYYYY', match1to6, match6); + + addParseToken(['YYYYY', 'YYYYYY'], YEAR); + addParseToken('YYYY', function (input, array) { + array[YEAR] = + input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input); + }); + addParseToken('YY', function (input, array) { + array[YEAR] = hooks.parseTwoDigitYear(input); + }); + addParseToken('Y', function (input, array) { + array[YEAR] = parseInt(input, 10); + }); + + // HELPERS + + function daysInYear(year) { + return isLeapYear(year) ? 366 : 365; + } + + // HOOKS + + hooks.parseTwoDigitYear = function (input) { + return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); + }; + + // MOMENTS + + var getSetYear = makeGetSet('FullYear', true); + + function getIsLeapYear() { + return isLeapYear(this.year()); + } + + function makeGetSet(unit, keepTime) { + return function (value) { + if (value != null) { + set$1(this, unit, value); + hooks.updateOffset(this, keepTime); + return this; + } else { + return get(this, unit); + } + }; + } + + function get(mom, unit) { + if (!mom.isValid()) { + return NaN; + } + + var d = mom._d, + isUTC = mom._isUTC; + + switch (unit) { + case 'Milliseconds': + return isUTC ? d.getUTCMilliseconds() : d.getMilliseconds(); + case 'Seconds': + return isUTC ? d.getUTCSeconds() : d.getSeconds(); + case 'Minutes': + return isUTC ? d.getUTCMinutes() : d.getMinutes(); + case 'Hours': + return isUTC ? d.getUTCHours() : d.getHours(); + case 'Date': + return isUTC ? d.getUTCDate() : d.getDate(); + case 'Day': + return isUTC ? d.getUTCDay() : d.getDay(); + case 'Month': + return isUTC ? d.getUTCMonth() : d.getMonth(); + case 'FullYear': + return isUTC ? d.getUTCFullYear() : d.getFullYear(); + default: + return NaN; // Just in case + } + } + + function set$1(mom, unit, value) { + var d, isUTC, year, month, date; + + if (!mom.isValid() || isNaN(value)) { + return; + } + + d = mom._d; + isUTC = mom._isUTC; + + switch (unit) { + case 'Milliseconds': + return void (isUTC + ? d.setUTCMilliseconds(value) + : d.setMilliseconds(value)); + case 'Seconds': + return void (isUTC ? d.setUTCSeconds(value) : d.setSeconds(value)); + case 'Minutes': + return void (isUTC ? d.setUTCMinutes(value) : d.setMinutes(value)); + case 'Hours': + return void (isUTC ? d.setUTCHours(value) : d.setHours(value)); + case 'Date': + return void (isUTC ? d.setUTCDate(value) : d.setDate(value)); + // case 'Day': // Not real + // return void (isUTC ? d.setUTCDay(value) : d.setDay(value)); + // case 'Month': // Not used because we need to pass two variables + // return void (isUTC ? d.setUTCMonth(value) : d.setMonth(value)); + case 'FullYear': + break; // See below ... + default: + return; // Just in case + } + + year = value; + month = mom.month(); + date = mom.date(); + date = date === 29 && month === 1 && !isLeapYear(year) ? 28 : date; + void (isUTC + ? d.setUTCFullYear(year, month, date) + : d.setFullYear(year, month, date)); + } + + // MOMENTS + + function stringGet(units) { + units = normalizeUnits(units); + if (isFunction(this[units])) { + return this[units](); + } + return this; + } + + function stringSet(units, value) { + if (typeof units === 'object') { + units = normalizeObjectUnits(units); + var prioritized = getPrioritizedUnits(units), + i, + prioritizedLen = prioritized.length; + for (i = 0; i < prioritizedLen; i++) { + this[prioritized[i].unit](units[prioritized[i].unit]); + } + } else { + units = normalizeUnits(units); + if (isFunction(this[units])) { + return this[units](value); + } + } + return this; + } + + function mod(n, x) { + return ((n % x) + x) % x; + } + + var indexOf; + + if (Array.prototype.indexOf) { + indexOf = Array.prototype.indexOf; + } else { + indexOf = function (o) { + // I know + var i; + for (i = 0; i < this.length; ++i) { + if (this[i] === o) { + return i; + } + } + return -1; + }; + } + + function daysInMonth(year, month) { + if (isNaN(year) || isNaN(month)) { + return NaN; + } + var modMonth = mod(month, 12); + year += (month - modMonth) / 12; + return modMonth === 1 + ? isLeapYear(year) + ? 29 + : 28 + : 31 - ((modMonth % 7) % 2); + } + + // FORMATTING + + addFormatToken('M', ['MM', 2], 'Mo', function () { + return this.month() + 1; + }); + + addFormatToken('MMM', 0, 0, function (format) { + return this.localeData().monthsShort(this, format); + }); + + addFormatToken('MMMM', 0, 0, function (format) { + return this.localeData().months(this, format); + }); + + // PARSING + + addRegexToken('M', match1to2, match1to2NoLeadingZero); + addRegexToken('MM', match1to2, match2); + addRegexToken('MMM', function (isStrict, locale) { + return locale.monthsShortRegex(isStrict); + }); + addRegexToken('MMMM', function (isStrict, locale) { + return locale.monthsRegex(isStrict); + }); + + addParseToken(['M', 'MM'], function (input, array) { + array[MONTH] = toInt(input) - 1; + }); + + addParseToken(['MMM', 'MMMM'], function (input, array, config, token) { + var month = config._locale.monthsParse(input, token, config._strict); + // if we didn't find a month name, mark the date as invalid. + if (month != null) { + array[MONTH] = month; + } else { + getParsingFlags(config).invalidMonth = input; + } + }); + + // LOCALES + + var defaultLocaleMonths = + 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + defaultLocaleMonthsShort = + 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, + defaultMonthsShortRegex = matchWord, + defaultMonthsRegex = matchWord; + + function localeMonths(m, format) { + if (!m) { + return isArray(this._months) + ? this._months + : this._months['standalone']; + } + return isArray(this._months) + ? this._months[m.month()] + : this._months[ + (this._months.isFormat || MONTHS_IN_FORMAT).test(format) + ? 'format' + : 'standalone' + ][m.month()]; + } + + function localeMonthsShort(m, format) { + if (!m) { + return isArray(this._monthsShort) + ? this._monthsShort + : this._monthsShort['standalone']; + } + return isArray(this._monthsShort) + ? this._monthsShort[m.month()] + : this._monthsShort[ + MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone' + ][m.month()]; + } + + function handleStrictParse(monthName, format, strict) { + var i, + ii, + mom, + llc = monthName.toLocaleLowerCase(); + if (!this._monthsParse) { + // this is not used + this._monthsParse = []; + this._longMonthsParse = []; + this._shortMonthsParse = []; + for (i = 0; i < 12; ++i) { + mom = createUTC([2000, i]); + this._shortMonthsParse[i] = this.monthsShort( + mom, + '' + ).toLocaleLowerCase(); + this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase(); + } + } + + if (strict) { + if (format === 'MMM') { + ii = indexOf.call(this._shortMonthsParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf.call(this._longMonthsParse, llc); + return ii !== -1 ? ii : null; + } + } else { + if (format === 'MMM') { + ii = indexOf.call(this._shortMonthsParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._longMonthsParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf.call(this._longMonthsParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._shortMonthsParse, llc); + return ii !== -1 ? ii : null; + } + } + } + + function localeMonthsParse(monthName, format, strict) { + var i, mom, regex; + + if (this._monthsParseExact) { + return handleStrictParse.call(this, monthName, format, strict); + } + + if (!this._monthsParse) { + this._monthsParse = []; + this._longMonthsParse = []; + this._shortMonthsParse = []; + } + + // TODO: add sorting + // Sorting makes sure if one month (or abbr) is a prefix of another + // see sorting in computeMonthsParse + for (i = 0; i < 12; i++) { + // make the regex if we don't have it already + mom = createUTC([2000, i]); + if (strict && !this._longMonthsParse[i]) { + this._longMonthsParse[i] = new RegExp( + '^' + this.months(mom, '').replace('.', '') + '$', + 'i' + ); + this._shortMonthsParse[i] = new RegExp( + '^' + this.monthsShort(mom, '').replace('.', '') + '$', + 'i' + ); + } + if (!strict && !this._monthsParse[i]) { + regex = + '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, ''); + this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i'); + } + // test the regex + if ( + strict && + format === 'MMMM' && + this._longMonthsParse[i].test(monthName) + ) { + return i; + } else if ( + strict && + format === 'MMM' && + this._shortMonthsParse[i].test(monthName) + ) { + return i; + } else if (!strict && this._monthsParse[i].test(monthName)) { + return i; + } + } + } + + // MOMENTS + + function setMonth(mom, value) { + if (!mom.isValid()) { + // No op + return mom; + } + + if (typeof value === 'string') { + if (/^\d+$/.test(value)) { + value = toInt(value); + } else { + value = mom.localeData().monthsParse(value); + // TODO: Another silent failure? + if (!isNumber(value)) { + return mom; + } + } + } + + var month = value, + date = mom.date(); + + date = date < 29 ? date : Math.min(date, daysInMonth(mom.year(), month)); + void (mom._isUTC + ? mom._d.setUTCMonth(month, date) + : mom._d.setMonth(month, date)); + return mom; + } + + function getSetMonth(value) { + if (value != null) { + setMonth(this, value); + hooks.updateOffset(this, true); + return this; + } else { + return get(this, 'Month'); + } + } + + function getDaysInMonth() { + return daysInMonth(this.year(), this.month()); + } + + function monthsShortRegex(isStrict) { + if (this._monthsParseExact) { + if (!hasOwnProp(this, '_monthsRegex')) { + computeMonthsParse.call(this); + } + if (isStrict) { + return this._monthsShortStrictRegex; + } else { + return this._monthsShortRegex; + } + } else { + if (!hasOwnProp(this, '_monthsShortRegex')) { + this._monthsShortRegex = defaultMonthsShortRegex; + } + return this._monthsShortStrictRegex && isStrict + ? this._monthsShortStrictRegex + : this._monthsShortRegex; + } + } + + function monthsRegex(isStrict) { + if (this._monthsParseExact) { + if (!hasOwnProp(this, '_monthsRegex')) { + computeMonthsParse.call(this); + } + if (isStrict) { + return this._monthsStrictRegex; + } else { + return this._monthsRegex; + } + } else { + if (!hasOwnProp(this, '_monthsRegex')) { + this._monthsRegex = defaultMonthsRegex; + } + return this._monthsStrictRegex && isStrict + ? this._monthsStrictRegex + : this._monthsRegex; + } + } + + function computeMonthsParse() { + function cmpLenRev(a, b) { + return b.length - a.length; + } + + var shortPieces = [], + longPieces = [], + mixedPieces = [], + i, + mom, + shortP, + longP; + for (i = 0; i < 12; i++) { + // make the regex if we don't have it already + mom = createUTC([2000, i]); + shortP = regexEscape(this.monthsShort(mom, '')); + longP = regexEscape(this.months(mom, '')); + shortPieces.push(shortP); + longPieces.push(longP); + mixedPieces.push(longP); + mixedPieces.push(shortP); + } + // Sorting makes sure if one month (or abbr) is a prefix of another it + // will match the longer piece. + shortPieces.sort(cmpLenRev); + longPieces.sort(cmpLenRev); + mixedPieces.sort(cmpLenRev); + + this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); + this._monthsShortRegex = this._monthsRegex; + this._monthsStrictRegex = new RegExp( + '^(' + longPieces.join('|') + ')', + 'i' + ); + this._monthsShortStrictRegex = new RegExp( + '^(' + shortPieces.join('|') + ')', + 'i' + ); + } + + function createDate(y, m, d, h, M, s, ms) { + // can't just apply() to create a date: + // https://stackoverflow.com/q/181348 + var date; + // the date constructor remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0) { + // preserve leap years using a full 400 year cycle, then reset + date = new Date(y + 400, m, d, h, M, s, ms); + if (isFinite(date.getFullYear())) { + date.setFullYear(y); + } + } else { + date = new Date(y, m, d, h, M, s, ms); + } + + return date; + } + + function createUTCDate(y) { + var date, args; + // the Date.UTC function remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0) { + args = Array.prototype.slice.call(arguments); + // preserve leap years using a full 400 year cycle, then reset + args[0] = y + 400; + date = new Date(Date.UTC.apply(null, args)); + if (isFinite(date.getUTCFullYear())) { + date.setUTCFullYear(y); + } + } else { + date = new Date(Date.UTC.apply(null, arguments)); + } + + return date; + } + + // start-of-first-week - start-of-year + function firstWeekOffset(year, dow, doy) { + var // first-week day -- which january is always in the first week (4 for iso, 1 for other) + fwd = 7 + dow - doy, + // first-week day local weekday -- which local weekday is fwd + fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7; + + return -fwdlw + fwd - 1; + } + + // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday + function dayOfYearFromWeeks(year, week, weekday, dow, doy) { + var localWeekday = (7 + weekday - dow) % 7, + weekOffset = firstWeekOffset(year, dow, doy), + dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset, + resYear, + resDayOfYear; + + if (dayOfYear <= 0) { + resYear = year - 1; + resDayOfYear = daysInYear(resYear) + dayOfYear; + } else if (dayOfYear > daysInYear(year)) { + resYear = year + 1; + resDayOfYear = dayOfYear - daysInYear(year); + } else { + resYear = year; + resDayOfYear = dayOfYear; + } + + return { + year: resYear, + dayOfYear: resDayOfYear, + }; + } + + function weekOfYear(mom, dow, doy) { + var weekOffset = firstWeekOffset(mom.year(), dow, doy), + week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1, + resWeek, + resYear; + + if (week < 1) { + resYear = mom.year() - 1; + resWeek = week + weeksInYear(resYear, dow, doy); + } else if (week > weeksInYear(mom.year(), dow, doy)) { + resWeek = week - weeksInYear(mom.year(), dow, doy); + resYear = mom.year() + 1; + } else { + resYear = mom.year(); + resWeek = week; + } + + return { + week: resWeek, + year: resYear, + }; + } + + function weeksInYear(year, dow, doy) { + var weekOffset = firstWeekOffset(year, dow, doy), + weekOffsetNext = firstWeekOffset(year + 1, dow, doy); + return (daysInYear(year) - weekOffset + weekOffsetNext) / 7; + } + + // FORMATTING + + addFormatToken('w', ['ww', 2], 'wo', 'week'); + addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek'); + + // PARSING + + addRegexToken('w', match1to2, match1to2NoLeadingZero); + addRegexToken('ww', match1to2, match2); + addRegexToken('W', match1to2, match1to2NoLeadingZero); + addRegexToken('WW', match1to2, match2); + + addWeekParseToken( + ['w', 'ww', 'W', 'WW'], + function (input, week, config, token) { + week[token.substr(0, 1)] = toInt(input); + } + ); + + // HELPERS + + // LOCALES + + function localeWeek(mom) { + return weekOfYear(mom, this._week.dow, this._week.doy).week; + } + + var defaultLocaleWeek = { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }; + + function localeFirstDayOfWeek() { + return this._week.dow; + } + + function localeFirstDayOfYear() { + return this._week.doy; + } + + // MOMENTS + + function getSetWeek(input) { + var week = this.localeData().week(this); + return input == null ? week : this.add((input - week) * 7, 'd'); + } + + function getSetISOWeek(input) { + var week = weekOfYear(this, 1, 4).week; + return input == null ? week : this.add((input - week) * 7, 'd'); + } + + // FORMATTING + + addFormatToken('d', 0, 'do', 'day'); + + addFormatToken('dd', 0, 0, function (format) { + return this.localeData().weekdaysMin(this, format); + }); + + addFormatToken('ddd', 0, 0, function (format) { + return this.localeData().weekdaysShort(this, format); + }); + + addFormatToken('dddd', 0, 0, function (format) { + return this.localeData().weekdays(this, format); + }); + + addFormatToken('e', 0, 0, 'weekday'); + addFormatToken('E', 0, 0, 'isoWeekday'); + + // PARSING + + addRegexToken('d', match1to2); + addRegexToken('e', match1to2); + addRegexToken('E', match1to2); + addRegexToken('dd', function (isStrict, locale) { + return locale.weekdaysMinRegex(isStrict); + }); + addRegexToken('ddd', function (isStrict, locale) { + return locale.weekdaysShortRegex(isStrict); + }); + addRegexToken('dddd', function (isStrict, locale) { + return locale.weekdaysRegex(isStrict); + }); + + addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) { + var weekday = config._locale.weekdaysParse(input, token, config._strict); + // if we didn't get a weekday name, mark the date as invalid + if (weekday != null) { + week.d = weekday; + } else { + getParsingFlags(config).invalidWeekday = input; + } + }); + + addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) { + week[token] = toInt(input); + }); + + // HELPERS + + function parseWeekday(input, locale) { + if (typeof input !== 'string') { + return input; + } + + if (!isNaN(input)) { + return parseInt(input, 10); + } + + input = locale.weekdaysParse(input); + if (typeof input === 'number') { + return input; + } + + return null; + } + + function parseIsoWeekday(input, locale) { + if (typeof input === 'string') { + return locale.weekdaysParse(input) % 7 || 7; + } + return isNaN(input) ? null : input; + } + + // LOCALES + function shiftWeekdays(ws, n) { + return ws.slice(n, 7).concat(ws.slice(0, n)); + } + + var defaultLocaleWeekdays = + 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + defaultWeekdaysRegex = matchWord, + defaultWeekdaysShortRegex = matchWord, + defaultWeekdaysMinRegex = matchWord; + + function localeWeekdays(m, format) { + var weekdays = isArray(this._weekdays) + ? this._weekdays + : this._weekdays[ + m && m !== true && this._weekdays.isFormat.test(format) + ? 'format' + : 'standalone' + ]; + return m === true + ? shiftWeekdays(weekdays, this._week.dow) + : m + ? weekdays[m.day()] + : weekdays; + } + + function localeWeekdaysShort(m) { + return m === true + ? shiftWeekdays(this._weekdaysShort, this._week.dow) + : m + ? this._weekdaysShort[m.day()] + : this._weekdaysShort; + } + + function localeWeekdaysMin(m) { + return m === true + ? shiftWeekdays(this._weekdaysMin, this._week.dow) + : m + ? this._weekdaysMin[m.day()] + : this._weekdaysMin; + } + + function handleStrictParse$1(weekdayName, format, strict) { + var i, + ii, + mom, + llc = weekdayName.toLocaleLowerCase(); + if (!this._weekdaysParse) { + this._weekdaysParse = []; + this._shortWeekdaysParse = []; + this._minWeekdaysParse = []; + + for (i = 0; i < 7; ++i) { + mom = createUTC([2000, 1]).day(i); + this._minWeekdaysParse[i] = this.weekdaysMin( + mom, + '' + ).toLocaleLowerCase(); + this._shortWeekdaysParse[i] = this.weekdaysShort( + mom, + '' + ).toLocaleLowerCase(); + this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase(); + } + } + + if (strict) { + if (format === 'dddd') { + ii = indexOf.call(this._weekdaysParse, llc); + return ii !== -1 ? ii : null; + } else if (format === 'ddd') { + ii = indexOf.call(this._shortWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf.call(this._minWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } + } else { + if (format === 'dddd') { + ii = indexOf.call(this._weekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._shortWeekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._minWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } else if (format === 'ddd') { + ii = indexOf.call(this._shortWeekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._weekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._minWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf.call(this._minWeekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._weekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._shortWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } + } + } + + function localeWeekdaysParse(weekdayName, format, strict) { + var i, mom, regex; + + if (this._weekdaysParseExact) { + return handleStrictParse$1.call(this, weekdayName, format, strict); + } + + if (!this._weekdaysParse) { + this._weekdaysParse = []; + this._minWeekdaysParse = []; + this._shortWeekdaysParse = []; + this._fullWeekdaysParse = []; + } + + for (i = 0; i < 7; i++) { + // make the regex if we don't have it already + + mom = createUTC([2000, 1]).day(i); + if (strict && !this._fullWeekdaysParse[i]) { + this._fullWeekdaysParse[i] = new RegExp( + '^' + this.weekdays(mom, '').replace('.', '\\.?') + '$', + 'i' + ); + this._shortWeekdaysParse[i] = new RegExp( + '^' + this.weekdaysShort(mom, '').replace('.', '\\.?') + '$', + 'i' + ); + this._minWeekdaysParse[i] = new RegExp( + '^' + this.weekdaysMin(mom, '').replace('.', '\\.?') + '$', + 'i' + ); + } + if (!this._weekdaysParse[i]) { + regex = + '^' + + this.weekdays(mom, '') + + '|^' + + this.weekdaysShort(mom, '') + + '|^' + + this.weekdaysMin(mom, ''); + this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i'); + } + // test the regex + if ( + strict && + format === 'dddd' && + this._fullWeekdaysParse[i].test(weekdayName) + ) { + return i; + } else if ( + strict && + format === 'ddd' && + this._shortWeekdaysParse[i].test(weekdayName) + ) { + return i; + } else if ( + strict && + format === 'dd' && + this._minWeekdaysParse[i].test(weekdayName) + ) { + return i; + } else if (!strict && this._weekdaysParse[i].test(weekdayName)) { + return i; + } + } + } + + // MOMENTS + + function getSetDayOfWeek(input) { + if (!this.isValid()) { + return input != null ? this : NaN; + } + + var day = get(this, 'Day'); + if (input != null) { + input = parseWeekday(input, this.localeData()); + return this.add(input - day, 'd'); + } else { + return day; + } + } + + function getSetLocaleDayOfWeek(input) { + if (!this.isValid()) { + return input != null ? this : NaN; + } + var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7; + return input == null ? weekday : this.add(input - weekday, 'd'); + } + + function getSetISODayOfWeek(input) { + if (!this.isValid()) { + return input != null ? this : NaN; + } + + // behaves the same as moment#day except + // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6) + // as a setter, sunday should belong to the previous week. + + if (input != null) { + var weekday = parseIsoWeekday(input, this.localeData()); + return this.day(this.day() % 7 ? weekday : weekday - 7); + } else { + return this.day() || 7; + } + } + + function weekdaysRegex(isStrict) { + if (this._weekdaysParseExact) { + if (!hasOwnProp(this, '_weekdaysRegex')) { + computeWeekdaysParse.call(this); + } + if (isStrict) { + return this._weekdaysStrictRegex; + } else { + return this._weekdaysRegex; + } + } else { + if (!hasOwnProp(this, '_weekdaysRegex')) { + this._weekdaysRegex = defaultWeekdaysRegex; + } + return this._weekdaysStrictRegex && isStrict + ? this._weekdaysStrictRegex + : this._weekdaysRegex; + } + } + + function weekdaysShortRegex(isStrict) { + if (this._weekdaysParseExact) { + if (!hasOwnProp(this, '_weekdaysRegex')) { + computeWeekdaysParse.call(this); + } + if (isStrict) { + return this._weekdaysShortStrictRegex; + } else { + return this._weekdaysShortRegex; + } + } else { + if (!hasOwnProp(this, '_weekdaysShortRegex')) { + this._weekdaysShortRegex = defaultWeekdaysShortRegex; + } + return this._weekdaysShortStrictRegex && isStrict + ? this._weekdaysShortStrictRegex + : this._weekdaysShortRegex; + } + } + + function weekdaysMinRegex(isStrict) { + if (this._weekdaysParseExact) { + if (!hasOwnProp(this, '_weekdaysRegex')) { + computeWeekdaysParse.call(this); + } + if (isStrict) { + return this._weekdaysMinStrictRegex; + } else { + return this._weekdaysMinRegex; + } + } else { + if (!hasOwnProp(this, '_weekdaysMinRegex')) { + this._weekdaysMinRegex = defaultWeekdaysMinRegex; + } + return this._weekdaysMinStrictRegex && isStrict + ? this._weekdaysMinStrictRegex + : this._weekdaysMinRegex; + } + } + + function computeWeekdaysParse() { + function cmpLenRev(a, b) { + return b.length - a.length; + } + + var minPieces = [], + shortPieces = [], + longPieces = [], + mixedPieces = [], + i, + mom, + minp, + shortp, + longp; + for (i = 0; i < 7; i++) { + // make the regex if we don't have it already + mom = createUTC([2000, 1]).day(i); + minp = regexEscape(this.weekdaysMin(mom, '')); + shortp = regexEscape(this.weekdaysShort(mom, '')); + longp = regexEscape(this.weekdays(mom, '')); + minPieces.push(minp); + shortPieces.push(shortp); + longPieces.push(longp); + mixedPieces.push(minp); + mixedPieces.push(shortp); + mixedPieces.push(longp); + } + // Sorting makes sure if one weekday (or abbr) is a prefix of another it + // will match the longer piece. + minPieces.sort(cmpLenRev); + shortPieces.sort(cmpLenRev); + longPieces.sort(cmpLenRev); + mixedPieces.sort(cmpLenRev); + + this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); + this._weekdaysShortRegex = this._weekdaysRegex; + this._weekdaysMinRegex = this._weekdaysRegex; + + this._weekdaysStrictRegex = new RegExp( + '^(' + longPieces.join('|') + ')', + 'i' + ); + this._weekdaysShortStrictRegex = new RegExp( + '^(' + shortPieces.join('|') + ')', + 'i' + ); + this._weekdaysMinStrictRegex = new RegExp( + '^(' + minPieces.join('|') + ')', + 'i' + ); + } + + // FORMATTING + + function hFormat() { + return this.hours() % 12 || 12; + } + + function kFormat() { + return this.hours() || 24; + } + + addFormatToken('H', ['HH', 2], 0, 'hour'); + addFormatToken('h', ['hh', 2], 0, hFormat); + addFormatToken('k', ['kk', 2], 0, kFormat); + + addFormatToken('hmm', 0, 0, function () { + return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2); + }); + + addFormatToken('hmmss', 0, 0, function () { + return ( + '' + + hFormat.apply(this) + + zeroFill(this.minutes(), 2) + + zeroFill(this.seconds(), 2) + ); + }); + + addFormatToken('Hmm', 0, 0, function () { + return '' + this.hours() + zeroFill(this.minutes(), 2); + }); + + addFormatToken('Hmmss', 0, 0, function () { + return ( + '' + + this.hours() + + zeroFill(this.minutes(), 2) + + zeroFill(this.seconds(), 2) + ); + }); + + function meridiem(token, lowercase) { + addFormatToken(token, 0, 0, function () { + return this.localeData().meridiem( + this.hours(), + this.minutes(), + lowercase + ); + }); + } + + meridiem('a', true); + meridiem('A', false); + + // PARSING + + function matchMeridiem(isStrict, locale) { + return locale._meridiemParse; + } + + addRegexToken('a', matchMeridiem); + addRegexToken('A', matchMeridiem); + addRegexToken('H', match1to2, match1to2HasZero); + addRegexToken('h', match1to2, match1to2NoLeadingZero); + addRegexToken('k', match1to2, match1to2NoLeadingZero); + addRegexToken('HH', match1to2, match2); + addRegexToken('hh', match1to2, match2); + addRegexToken('kk', match1to2, match2); + + addRegexToken('hmm', match3to4); + addRegexToken('hmmss', match5to6); + addRegexToken('Hmm', match3to4); + addRegexToken('Hmmss', match5to6); + + addParseToken(['H', 'HH'], HOUR); + addParseToken(['k', 'kk'], function (input, array, config) { + var kInput = toInt(input); + array[HOUR] = kInput === 24 ? 0 : kInput; + }); + addParseToken(['a', 'A'], function (input, array, config) { + config._isPm = config._locale.isPM(input); + config._meridiem = input; + }); + addParseToken(['h', 'hh'], function (input, array, config) { + array[HOUR] = toInt(input); + getParsingFlags(config).bigHour = true; + }); + addParseToken('hmm', function (input, array, config) { + var pos = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos)); + array[MINUTE] = toInt(input.substr(pos)); + getParsingFlags(config).bigHour = true; + }); + addParseToken('hmmss', function (input, array, config) { + var pos1 = input.length - 4, + pos2 = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos1)); + array[MINUTE] = toInt(input.substr(pos1, 2)); + array[SECOND] = toInt(input.substr(pos2)); + getParsingFlags(config).bigHour = true; + }); + addParseToken('Hmm', function (input, array, config) { + var pos = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos)); + array[MINUTE] = toInt(input.substr(pos)); + }); + addParseToken('Hmmss', function (input, array, config) { + var pos1 = input.length - 4, + pos2 = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos1)); + array[MINUTE] = toInt(input.substr(pos1, 2)); + array[SECOND] = toInt(input.substr(pos2)); + }); + + // LOCALES + + function localeIsPM(input) { + // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays + // Using charAt should be more compatible. + return (input + '').toLowerCase().charAt(0) === 'p'; + } + + var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i, + // Setting the hour should keep the time, because the user explicitly + // specified which hour they want. So trying to maintain the same hour (in + // a new timezone) makes sense. Adding/subtracting hours does not follow + // this rule. + getSetHour = makeGetSet('Hours', true); + + function localeMeridiem(hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'pm' : 'PM'; + } else { + return isLower ? 'am' : 'AM'; + } + } + + var baseConfig = { + calendar: defaultCalendar, + longDateFormat: defaultLongDateFormat, + invalidDate: defaultInvalidDate, + ordinal: defaultOrdinal, + dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse, + relativeTime: defaultRelativeTime, + + months: defaultLocaleMonths, + monthsShort: defaultLocaleMonthsShort, + + week: defaultLocaleWeek, + + weekdays: defaultLocaleWeekdays, + weekdaysMin: defaultLocaleWeekdaysMin, + weekdaysShort: defaultLocaleWeekdaysShort, + + meridiemParse: defaultLocaleMeridiemParse, + }; + + // internal storage for locale config files + var locales = {}, + localeFamilies = {}, + globalLocale; + + function commonPrefix(arr1, arr2) { + var i, + minl = Math.min(arr1.length, arr2.length); + for (i = 0; i < minl; i += 1) { + if (arr1[i] !== arr2[i]) { + return i; + } + } + return minl; + } + + function normalizeLocale(key) { + return key ? key.toLowerCase().replace('_', '-') : key; + } + + // pick the locale from the array + // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each + // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root + function chooseLocale(names) { + var i = 0, + j, + next, + locale, + split; + + while (i < names.length) { + split = normalizeLocale(names[i]).split('-'); + j = split.length; + next = normalizeLocale(names[i + 1]); + next = next ? next.split('-') : null; + while (j > 0) { + locale = loadLocale(split.slice(0, j).join('-')); + if (locale) { + return locale; + } + if ( + next && + next.length >= j && + commonPrefix(split, next) >= j - 1 + ) { + //the next array item is better than a shallower substring of this one + break; + } + j--; + } + i++; + } + return globalLocale; + } + + function isLocaleNameSane(name) { + // Prevent names that look like filesystem paths, i.e contain '/' or '\' + // Ensure name is available and function returns boolean + return !!(name && name.match('^[^/\\\\]*$')); + } + + function loadLocale(name) { + var oldLocale = null, + aliasedRequire; + // TODO: Find a better way to register and load all the locales in Node + if ( + locales[name] === undefined && + typeof module !== 'undefined' && + module && + module.exports && + isLocaleNameSane(name) + ) { + try { + oldLocale = globalLocale._abbr; + aliasedRequire = require; + aliasedRequire('./locale/' + name); + getSetGlobalLocale(oldLocale); + } catch (e) { + // mark as not found to avoid repeating expensive file require call causing high CPU + // when trying to find en-US, en_US, en-us for every format call + locales[name] = null; // null means not found + } + } + return locales[name]; + } + + // This function will load locale and then set the global locale. If + // no arguments are passed in, it will simply return the current global + // locale key. + function getSetGlobalLocale(key, values) { + var data; + if (key) { + if (isUndefined(values)) { + data = getLocale(key); + } else { + data = defineLocale(key, values); + } + + if (data) { + // moment.duration._locale = moment._locale = data; + globalLocale = data; + } else { + if (typeof console !== 'undefined' && console.warn) { + //warn user if arguments are passed but the locale could not be set + console.warn( + 'Locale ' + key + ' not found. Did you forget to load it?' + ); + } + } + } + + return globalLocale._abbr; + } + + function defineLocale(name, config) { + if (config !== null) { + var locale, + parentConfig = baseConfig; + config.abbr = name; + if (locales[name] != null) { + deprecateSimple( + 'defineLocaleOverride', + 'use moment.updateLocale(localeName, config) to change ' + + 'an existing locale. moment.defineLocale(localeName, ' + + 'config) should only be used for creating a new locale ' + + 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.' + ); + parentConfig = locales[name]._config; + } else if (config.parentLocale != null) { + if (locales[config.parentLocale] != null) { + parentConfig = locales[config.parentLocale]._config; + } else { + locale = loadLocale(config.parentLocale); + if (locale != null) { + parentConfig = locale._config; + } else { + if (!localeFamilies[config.parentLocale]) { + localeFamilies[config.parentLocale] = []; + } + localeFamilies[config.parentLocale].push({ + name: name, + config: config, + }); + return null; + } + } + } + locales[name] = new Locale(mergeConfigs(parentConfig, config)); + + if (localeFamilies[name]) { + localeFamilies[name].forEach(function (x) { + defineLocale(x.name, x.config); + }); + } + + // backwards compat for now: also set the locale + // make sure we set the locale AFTER all child locales have been + // created, so we won't end up with the child locale set. + getSetGlobalLocale(name); + + return locales[name]; + } else { + // useful for testing + delete locales[name]; + return null; + } + } + + function updateLocale(name, config) { + if (config != null) { + var locale, + tmpLocale, + parentConfig = baseConfig; + + if (locales[name] != null && locales[name].parentLocale != null) { + // Update existing child locale in-place to avoid memory-leaks + locales[name].set(mergeConfigs(locales[name]._config, config)); + } else { + // MERGE + tmpLocale = loadLocale(name); + if (tmpLocale != null) { + parentConfig = tmpLocale._config; + } + config = mergeConfigs(parentConfig, config); + if (tmpLocale == null) { + // updateLocale is called for creating a new locale + // Set abbr so it will have a name (getters return + // undefined otherwise). + config.abbr = name; + } + locale = new Locale(config); + locale.parentLocale = locales[name]; + locales[name] = locale; + } + + // backwards compat for now: also set the locale + getSetGlobalLocale(name); + } else { + // pass null for config to unupdate, useful for tests + if (locales[name] != null) { + if (locales[name].parentLocale != null) { + locales[name] = locales[name].parentLocale; + if (name === getSetGlobalLocale()) { + getSetGlobalLocale(name); + } + } else if (locales[name] != null) { + delete locales[name]; + } + } + } + return locales[name]; + } + + // returns locale data + function getLocale(key) { + var locale; + + if (key && key._locale && key._locale._abbr) { + key = key._locale._abbr; + } + + if (!key) { + return globalLocale; + } + + if (!isArray(key)) { + //short-circuit everything else + locale = loadLocale(key); + if (locale) { + return locale; + } + key = [key]; + } + + return chooseLocale(key); + } + + function listLocales() { + return keys(locales); + } + + function checkOverflow(m) { + var overflow, + a = m._a; + + if (a && getParsingFlags(m).overflow === -2) { + overflow = + a[MONTH] < 0 || a[MONTH] > 11 + ? MONTH + : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) + ? DATE + : a[HOUR] < 0 || + a[HOUR] > 24 || + (a[HOUR] === 24 && + (a[MINUTE] !== 0 || + a[SECOND] !== 0 || + a[MILLISECOND] !== 0)) + ? HOUR + : a[MINUTE] < 0 || a[MINUTE] > 59 + ? MINUTE + : a[SECOND] < 0 || a[SECOND] > 59 + ? SECOND + : a[MILLISECOND] < 0 || a[MILLISECOND] > 999 + ? MILLISECOND + : -1; + + if ( + getParsingFlags(m)._overflowDayOfYear && + (overflow < YEAR || overflow > DATE) + ) { + overflow = DATE; + } + if (getParsingFlags(m)._overflowWeeks && overflow === -1) { + overflow = WEEK; + } + if (getParsingFlags(m)._overflowWeekday && overflow === -1) { + overflow = WEEKDAY; + } + + getParsingFlags(m).overflow = overflow; + } + + return m; + } + + // iso 8601 regex + // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00) + var extendedIsoRegex = + /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, + basicIsoRegex = + /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, + tzRegex = /Z|[+-]\d\d(?::?\d\d)?/, + isoDates = [ + ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/], + ['YYYY-MM-DD', /\d{4}-\d\d-\d\d/], + ['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/], + ['GGGG-[W]WW', /\d{4}-W\d\d/, false], + ['YYYY-DDD', /\d{4}-\d{3}/], + ['YYYY-MM', /\d{4}-\d\d/, false], + ['YYYYYYMMDD', /[+-]\d{10}/], + ['YYYYMMDD', /\d{8}/], + ['GGGG[W]WWE', /\d{4}W\d{3}/], + ['GGGG[W]WW', /\d{4}W\d{2}/, false], + ['YYYYDDD', /\d{7}/], + ['YYYYMM', /\d{6}/, false], + ['YYYY', /\d{4}/, false], + ], + // iso time formats and regexes + isoTimes = [ + ['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/], + ['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/], + ['HH:mm:ss', /\d\d:\d\d:\d\d/], + ['HH:mm', /\d\d:\d\d/], + ['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/], + ['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/], + ['HHmmss', /\d\d\d\d\d\d/], + ['HHmm', /\d\d\d\d/], + ['HH', /\d\d/], + ], + aspNetJsonRegex = /^\/?Date\((-?\d+)/i, + // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3 + rfc2822 = + /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, + obsOffsets = { + UT: 0, + GMT: 0, + EDT: -4 * 60, + EST: -5 * 60, + CDT: -5 * 60, + CST: -6 * 60, + MDT: -6 * 60, + MST: -7 * 60, + PDT: -7 * 60, + PST: -8 * 60, + }; + + // date from iso format + function configFromISO(config) { + var i, + l, + string = config._i, + match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string), + allowTime, + dateFormat, + timeFormat, + tzFormat, + isoDatesLen = isoDates.length, + isoTimesLen = isoTimes.length; + + if (match) { + getParsingFlags(config).iso = true; + for (i = 0, l = isoDatesLen; i < l; i++) { + if (isoDates[i][1].exec(match[1])) { + dateFormat = isoDates[i][0]; + allowTime = isoDates[i][2] !== false; + break; + } + } + if (dateFormat == null) { + config._isValid = false; + return; + } + if (match[3]) { + for (i = 0, l = isoTimesLen; i < l; i++) { + if (isoTimes[i][1].exec(match[3])) { + // match[2] should be 'T' or space + timeFormat = (match[2] || ' ') + isoTimes[i][0]; + break; + } + } + if (timeFormat == null) { + config._isValid = false; + return; + } + } + if (!allowTime && timeFormat != null) { + config._isValid = false; + return; + } + if (match[4]) { + if (tzRegex.exec(match[4])) { + tzFormat = 'Z'; + } else { + config._isValid = false; + return; + } + } + config._f = dateFormat + (timeFormat || '') + (tzFormat || ''); + configFromStringAndFormat(config); + } else { + config._isValid = false; + } + } + + function extractFromRFC2822Strings( + yearStr, + monthStr, + dayStr, + hourStr, + minuteStr, + secondStr + ) { + var result = [ + untruncateYear(yearStr), + defaultLocaleMonthsShort.indexOf(monthStr), + parseInt(dayStr, 10), + parseInt(hourStr, 10), + parseInt(minuteStr, 10), + ]; + + if (secondStr) { + result.push(parseInt(secondStr, 10)); + } + + return result; + } + + function untruncateYear(yearStr) { + var year = parseInt(yearStr, 10); + if (year <= 49) { + return 2000 + year; + } else if (year <= 999) { + return 1900 + year; + } + return year; + } + + function preprocessRFC2822(s) { + // Remove comments and folding whitespace and replace multiple-spaces with a single space + return s + .replace(/\([^()]*\)|[\n\t]/g, ' ') + .replace(/(\s\s+)/g, ' ') + .replace(/^\s\s*/, '') + .replace(/\s\s*$/, ''); + } + + function checkWeekday(weekdayStr, parsedInput, config) { + if (weekdayStr) { + // TODO: Replace the vanilla JS Date object with an independent day-of-week check. + var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr), + weekdayActual = new Date( + parsedInput[0], + parsedInput[1], + parsedInput[2] + ).getDay(); + if (weekdayProvided !== weekdayActual) { + getParsingFlags(config).weekdayMismatch = true; + config._isValid = false; + return false; + } + } + return true; + } + + function calculateOffset(obsOffset, militaryOffset, numOffset) { + if (obsOffset) { + return obsOffsets[obsOffset]; + } else if (militaryOffset) { + // the only allowed military tz is Z + return 0; + } else { + var hm = parseInt(numOffset, 10), + m = hm % 100, + h = (hm - m) / 100; + return h * 60 + m; + } + } + + // date and time from ref 2822 format + function configFromRFC2822(config) { + var match = rfc2822.exec(preprocessRFC2822(config._i)), + parsedArray; + if (match) { + parsedArray = extractFromRFC2822Strings( + match[4], + match[3], + match[2], + match[5], + match[6], + match[7] + ); + if (!checkWeekday(match[1], parsedArray, config)) { + return; + } + + config._a = parsedArray; + config._tzm = calculateOffset(match[8], match[9], match[10]); + + config._d = createUTCDate.apply(null, config._a); + config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm); + + getParsingFlags(config).rfc2822 = true; + } else { + config._isValid = false; + } + } + + // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict + function configFromString(config) { + var matched = aspNetJsonRegex.exec(config._i); + if (matched !== null) { + config._d = new Date(+matched[1]); + return; + } + + configFromISO(config); + if (config._isValid === false) { + delete config._isValid; + } else { + return; + } + + configFromRFC2822(config); + if (config._isValid === false) { + delete config._isValid; + } else { + return; + } + + if (config._strict) { + config._isValid = false; + } else { + // Final attempt, use Input Fallback + hooks.createFromInputFallback(config); + } + } + + hooks.createFromInputFallback = deprecate( + 'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + + 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + + 'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.', + function (config) { + config._d = new Date(config._i + (config._useUTC ? ' UTC' : '')); + } + ); + + // Pick the first defined of two or three arguments. + function defaults(a, b, c) { + if (a != null) { + return a; + } + if (b != null) { + return b; + } + return c; + } + + function currentDateArray(config) { + // hooks is actually the exported moment object + var nowValue = new Date(hooks.now()); + if (config._useUTC) { + return [ + nowValue.getUTCFullYear(), + nowValue.getUTCMonth(), + nowValue.getUTCDate(), + ]; + } + return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()]; + } + + // convert an array to a date. + // the array should mirror the parameters below + // note: all values past the year are optional and will default to the lowest possible value. + // [year, month, day , hour, minute, second, millisecond] + function configFromArray(config) { + var i, + date, + input = [], + currentDate, + expectedWeekday, + yearToUse; + + if (config._d) { + return; + } + + currentDate = currentDateArray(config); + + //compute day of the year from weeks and weekdays + if (config._w && config._a[DATE] == null && config._a[MONTH] == null) { + dayOfYearFromWeekInfo(config); + } + + //if the day of the year is set, figure out what it is + if (config._dayOfYear != null) { + yearToUse = defaults(config._a[YEAR], currentDate[YEAR]); + + if ( + config._dayOfYear > daysInYear(yearToUse) || + config._dayOfYear === 0 + ) { + getParsingFlags(config)._overflowDayOfYear = true; + } + + date = createUTCDate(yearToUse, 0, config._dayOfYear); + config._a[MONTH] = date.getUTCMonth(); + config._a[DATE] = date.getUTCDate(); + } + + // Default to current date. + // * if no year, month, day of month are given, default to today + // * if day of month is given, default month and year + // * if month is given, default only year + // * if year is given, don't default anything + for (i = 0; i < 3 && config._a[i] == null; ++i) { + config._a[i] = input[i] = currentDate[i]; + } + + // Zero out whatever was not defaulted, including time + for (; i < 7; i++) { + config._a[i] = input[i] = + config._a[i] == null ? (i === 2 ? 1 : 0) : config._a[i]; + } + + // Check for 24:00:00.000 + if ( + config._a[HOUR] === 24 && + config._a[MINUTE] === 0 && + config._a[SECOND] === 0 && + config._a[MILLISECOND] === 0 + ) { + config._nextDay = true; + config._a[HOUR] = 0; + } + + config._d = (config._useUTC ? createUTCDate : createDate).apply( + null, + input + ); + expectedWeekday = config._useUTC + ? config._d.getUTCDay() + : config._d.getDay(); + + // Apply timezone offset from input. The actual utcOffset can be changed + // with parseZone. + if (config._tzm != null) { + config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm); + } + + if (config._nextDay) { + config._a[HOUR] = 24; + } + + // check for mismatching day of week + if ( + config._w && + typeof config._w.d !== 'undefined' && + config._w.d !== expectedWeekday + ) { + getParsingFlags(config).weekdayMismatch = true; + } + } + + function dayOfYearFromWeekInfo(config) { + var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek; + + w = config._w; + if (w.GG != null || w.W != null || w.E != null) { + dow = 1; + doy = 4; + + // TODO: We need to take the current isoWeekYear, but that depends on + // how we interpret now (local, utc, fixed offset). So create + // a now version of current config (take local/utc/offset flags, and + // create now). + weekYear = defaults( + w.GG, + config._a[YEAR], + weekOfYear(createLocal(), 1, 4).year + ); + week = defaults(w.W, 1); + weekday = defaults(w.E, 1); + if (weekday < 1 || weekday > 7) { + weekdayOverflow = true; + } + } else { + dow = config._locale._week.dow; + doy = config._locale._week.doy; + + curWeek = weekOfYear(createLocal(), dow, doy); + + weekYear = defaults(w.gg, config._a[YEAR], curWeek.year); + + // Default to current week. + week = defaults(w.w, curWeek.week); + + if (w.d != null) { + // weekday -- low day numbers are considered next week + weekday = w.d; + if (weekday < 0 || weekday > 6) { + weekdayOverflow = true; + } + } else if (w.e != null) { + // local weekday -- counting starts from beginning of week + weekday = w.e + dow; + if (w.e < 0 || w.e > 6) { + weekdayOverflow = true; + } + } else { + // default to beginning of week + weekday = dow; + } + } + if (week < 1 || week > weeksInYear(weekYear, dow, doy)) { + getParsingFlags(config)._overflowWeeks = true; + } else if (weekdayOverflow != null) { + getParsingFlags(config)._overflowWeekday = true; + } else { + temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy); + config._a[YEAR] = temp.year; + config._dayOfYear = temp.dayOfYear; + } + } + + // constant that refers to the ISO standard + hooks.ISO_8601 = function () {}; + + // constant that refers to the RFC 2822 form + hooks.RFC_2822 = function () {}; + + // date from string and format string + function configFromStringAndFormat(config) { + // TODO: Move this to another part of the creation flow to prevent circular deps + if (config._f === hooks.ISO_8601) { + configFromISO(config); + return; + } + if (config._f === hooks.RFC_2822) { + configFromRFC2822(config); + return; + } + config._a = []; + getParsingFlags(config).empty = true; + + // This array is used to make a Date, either with `new Date` or `Date.UTC` + var string = '' + config._i, + i, + parsedInput, + tokens, + token, + skipped, + stringLength = string.length, + totalParsedInputLength = 0, + era, + tokenLen; + + tokens = + expandFormat(config._f, config._locale).match(formattingTokens) || []; + tokenLen = tokens.length; + for (i = 0; i < tokenLen; i++) { + token = tokens[i]; + parsedInput = (string.match(getParseRegexForToken(token, config)) || + [])[0]; + if (parsedInput) { + skipped = string.substr(0, string.indexOf(parsedInput)); + if (skipped.length > 0) { + getParsingFlags(config).unusedInput.push(skipped); + } + string = string.slice( + string.indexOf(parsedInput) + parsedInput.length + ); + totalParsedInputLength += parsedInput.length; + } + // don't parse if it's not a known token + if (formatTokenFunctions[token]) { + if (parsedInput) { + getParsingFlags(config).empty = false; + } else { + getParsingFlags(config).unusedTokens.push(token); + } + addTimeToArrayFromToken(token, parsedInput, config); + } else if (config._strict && !parsedInput) { + getParsingFlags(config).unusedTokens.push(token); + } + } + + // add remaining unparsed input length to the string + getParsingFlags(config).charsLeftOver = + stringLength - totalParsedInputLength; + if (string.length > 0) { + getParsingFlags(config).unusedInput.push(string); + } + + // clear _12h flag if hour is <= 12 + if ( + config._a[HOUR] <= 12 && + getParsingFlags(config).bigHour === true && + config._a[HOUR] > 0 + ) { + getParsingFlags(config).bigHour = undefined; + } + + getParsingFlags(config).parsedDateParts = config._a.slice(0); + getParsingFlags(config).meridiem = config._meridiem; + // handle meridiem + config._a[HOUR] = meridiemFixWrap( + config._locale, + config._a[HOUR], + config._meridiem + ); + + // handle era + era = getParsingFlags(config).era; + if (era !== null) { + config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]); + } + + configFromArray(config); + checkOverflow(config); + } + + function meridiemFixWrap(locale, hour, meridiem) { + var isPm; + + if (meridiem == null) { + // nothing to do + return hour; + } + if (locale.meridiemHour != null) { + return locale.meridiemHour(hour, meridiem); + } else if (locale.isPM != null) { + // Fallback + isPm = locale.isPM(meridiem); + if (isPm && hour < 12) { + hour += 12; + } + if (!isPm && hour === 12) { + hour = 0; + } + return hour; + } else { + // this is not supposed to happen + return hour; + } + } + + // date from string and array of format strings + function configFromStringAndArray(config) { + var tempConfig, + bestMoment, + scoreToBeat, + i, + currentScore, + validFormatFound, + bestFormatIsValid = false, + configfLen = config._f.length; + + if (configfLen === 0) { + getParsingFlags(config).invalidFormat = true; + config._d = new Date(NaN); + return; + } + + for (i = 0; i < configfLen; i++) { + currentScore = 0; + validFormatFound = false; + tempConfig = copyConfig({}, config); + if (config._useUTC != null) { + tempConfig._useUTC = config._useUTC; + } + tempConfig._f = config._f[i]; + configFromStringAndFormat(tempConfig); + + if (isValid(tempConfig)) { + validFormatFound = true; + } + + // if there is any input that was not parsed add a penalty for that format + currentScore += getParsingFlags(tempConfig).charsLeftOver; + + //or tokens + currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10; + + getParsingFlags(tempConfig).score = currentScore; + + if (!bestFormatIsValid) { + if ( + scoreToBeat == null || + currentScore < scoreToBeat || + validFormatFound + ) { + scoreToBeat = currentScore; + bestMoment = tempConfig; + if (validFormatFound) { + bestFormatIsValid = true; + } + } + } else { + if (currentScore < scoreToBeat) { + scoreToBeat = currentScore; + bestMoment = tempConfig; + } + } + } + + extend(config, bestMoment || tempConfig); + } + + function configFromObject(config) { + if (config._d) { + return; + } + + var i = normalizeObjectUnits(config._i), + dayOrDate = i.day === undefined ? i.date : i.day; + config._a = map( + [i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond], + function (obj) { + return obj && parseInt(obj, 10); + } + ); + + configFromArray(config); + } + + function createFromConfig(config) { + var res = new Moment(checkOverflow(prepareConfig(config))); + if (res._nextDay) { + // Adding is smart enough around DST + res.add(1, 'd'); + res._nextDay = undefined; + } + + return res; + } + + function prepareConfig(config) { + var input = config._i, + format = config._f; + + config._locale = config._locale || getLocale(config._l); + + if (input === null || (format === undefined && input === '')) { + return createInvalid({ nullInput: true }); + } + + if (typeof input === 'string') { + config._i = input = config._locale.preparse(input); + } + + if (isMoment(input)) { + return new Moment(checkOverflow(input)); + } else if (isDate(input)) { + config._d = input; + } else if (isArray(format)) { + configFromStringAndArray(config); + } else if (format) { + configFromStringAndFormat(config); + } else { + configFromInput(config); + } + + if (!isValid(config)) { + config._d = null; + } + + return config; + } + + function configFromInput(config) { + var input = config._i; + if (isUndefined(input)) { + config._d = new Date(hooks.now()); + } else if (isDate(input)) { + config._d = new Date(input.valueOf()); + } else if (typeof input === 'string') { + configFromString(config); + } else if (isArray(input)) { + config._a = map(input.slice(0), function (obj) { + return parseInt(obj, 10); + }); + configFromArray(config); + } else if (isObject(input)) { + configFromObject(config); + } else if (isNumber(input)) { + // from milliseconds + config._d = new Date(input); + } else { + hooks.createFromInputFallback(config); + } + } + + function createLocalOrUTC(input, format, locale, strict, isUTC) { + var c = {}; + + if (format === true || format === false) { + strict = format; + format = undefined; + } + + if (locale === true || locale === false) { + strict = locale; + locale = undefined; + } + + if ( + (isObject(input) && isObjectEmpty(input)) || + (isArray(input) && input.length === 0) + ) { + input = undefined; + } + // object construction must be done this way. + // https://github.com/moment/moment/issues/1423 + c._isAMomentObject = true; + c._useUTC = c._isUTC = isUTC; + c._l = locale; + c._i = input; + c._f = format; + c._strict = strict; + + return createFromConfig(c); + } + + function createLocal(input, format, locale, strict) { + return createLocalOrUTC(input, format, locale, strict, false); + } + + var prototypeMin = deprecate( + 'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', + function () { + var other = createLocal.apply(null, arguments); + if (this.isValid() && other.isValid()) { + return other < this ? this : other; + } else { + return createInvalid(); + } + } + ), + prototypeMax = deprecate( + 'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', + function () { + var other = createLocal.apply(null, arguments); + if (this.isValid() && other.isValid()) { + return other > this ? this : other; + } else { + return createInvalid(); + } + } + ); + + // Pick a moment m from moments so that m[fn](other) is true for all + // other. This relies on the function fn to be transitive. + // + // moments should either be an array of moment objects or an array, whose + // first element is an array of moment objects. + function pickBy(fn, moments) { + var res, i; + if (moments.length === 1 && isArray(moments[0])) { + moments = moments[0]; + } + if (!moments.length) { + return createLocal(); + } + res = moments[0]; + for (i = 1; i < moments.length; ++i) { + if (!moments[i].isValid() || moments[i][fn](res)) { + res = moments[i]; + } + } + return res; + } + + // TODO: Use [].sort instead? + function min() { + var args = [].slice.call(arguments, 0); + + return pickBy('isBefore', args); + } + + function max() { + var args = [].slice.call(arguments, 0); + + return pickBy('isAfter', args); + } + + var now = function () { + return Date.now ? Date.now() : +new Date(); + }; + + var ordering = [ + 'year', + 'quarter', + 'month', + 'week', + 'day', + 'hour', + 'minute', + 'second', + 'millisecond', + ]; + + function isDurationValid(m) { + var key, + unitHasDecimal = false, + i, + orderLen = ordering.length; + for (key in m) { + if ( + hasOwnProp(m, key) && + !( + indexOf.call(ordering, key) !== -1 && + (m[key] == null || !isNaN(m[key])) + ) + ) { + return false; + } + } + + for (i = 0; i < orderLen; ++i) { + if (m[ordering[i]]) { + if (unitHasDecimal) { + return false; // only allow non-integers for smallest unit + } + if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) { + unitHasDecimal = true; + } + } + } + + return true; + } + + function isValid$1() { + return this._isValid; + } + + function createInvalid$1() { + return createDuration(NaN); + } + + function Duration(duration) { + var normalizedInput = normalizeObjectUnits(duration), + years = normalizedInput.year || 0, + quarters = normalizedInput.quarter || 0, + months = normalizedInput.month || 0, + weeks = normalizedInput.week || normalizedInput.isoWeek || 0, + days = normalizedInput.day || 0, + hours = normalizedInput.hour || 0, + minutes = normalizedInput.minute || 0, + seconds = normalizedInput.second || 0, + milliseconds = normalizedInput.millisecond || 0; + + this._isValid = isDurationValid(normalizedInput); + + // representation for dateAddRemove + this._milliseconds = + +milliseconds + + seconds * 1e3 + // 1000 + minutes * 6e4 + // 1000 * 60 + hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978 + // Because of dateAddRemove treats 24 hours as different from a + // day when working around DST, we need to store them separately + this._days = +days + weeks * 7; + // It is impossible to translate months into days without knowing + // which months you are are talking about, so we have to store + // it separately. + this._months = +months + quarters * 3 + years * 12; + + this._data = {}; + + this._locale = getLocale(); + + this._bubble(); + } + + function isDuration(obj) { + return obj instanceof Duration; + } + + function absRound(number) { + if (number < 0) { + return Math.round(-1 * number) * -1; + } else { + return Math.round(number); + } + } + + // compare two arrays, return the number of differences + function compareArrays(array1, array2, dontConvert) { + var len = Math.min(array1.length, array2.length), + lengthDiff = Math.abs(array1.length - array2.length), + diffs = 0, + i; + for (i = 0; i < len; i++) { + if ( + (dontConvert && array1[i] !== array2[i]) || + (!dontConvert && toInt(array1[i]) !== toInt(array2[i])) + ) { + diffs++; + } + } + return diffs + lengthDiff; + } + + // FORMATTING + + function offset(token, separator) { + addFormatToken(token, 0, 0, function () { + var offset = this.utcOffset(), + sign = '+'; + if (offset < 0) { + offset = -offset; + sign = '-'; + } + return ( + sign + + zeroFill(~~(offset / 60), 2) + + separator + + zeroFill(~~offset % 60, 2) + ); + }); + } + + offset('Z', ':'); + offset('ZZ', ''); + + // PARSING + + addRegexToken('Z', matchShortOffset); + addRegexToken('ZZ', matchShortOffset); + addParseToken(['Z', 'ZZ'], function (input, array, config) { + config._useUTC = true; + config._tzm = offsetFromString(matchShortOffset, input); + }); + + // HELPERS + + // timezone chunker + // '+10:00' > ['10', '00'] + // '-1530' > ['-15', '30'] + var chunkOffset = /([\+\-]|\d\d)/gi; + + function offsetFromString(matcher, string) { + var matches = (string || '').match(matcher), + chunk, + parts, + minutes; + + if (matches === null) { + return null; + } + + chunk = matches[matches.length - 1] || []; + parts = (chunk + '').match(chunkOffset) || ['-', 0, 0]; + minutes = +(parts[1] * 60) + toInt(parts[2]); + + return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes; + } + + // Return a moment from input, that is local/utc/zone equivalent to model. + function cloneWithOffset(input, model) { + var res, diff; + if (model._isUTC) { + res = model.clone(); + diff = + (isMoment(input) || isDate(input) + ? input.valueOf() + : createLocal(input).valueOf()) - res.valueOf(); + // Use low-level api, because this fn is low-level api. + res._d.setTime(res._d.valueOf() + diff); + hooks.updateOffset(res, false); + return res; + } else { + return createLocal(input).local(); + } + } + + function getDateOffset(m) { + // On Firefox.24 Date#getTimezoneOffset returns a floating point. + // https://github.com/moment/moment/pull/1871 + return -Math.round(m._d.getTimezoneOffset()); + } + + // HOOKS + + // This function will be called whenever a moment is mutated. + // It is intended to keep the offset in sync with the timezone. + hooks.updateOffset = function () {}; + + // MOMENTS + + // keepLocalTime = true means only change the timezone, without + // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]--> + // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset + // +0200, so we adjust the time as needed, to be valid. + // + // Keeping the time actually adds/subtracts (one hour) + // from the actual represented time. That is why we call updateOffset + // a second time. In case it wants us to change the offset again + // _changeInProgress == true case, then we have to adjust, because + // there is no such time in the given timezone. + function getSetOffset(input, keepLocalTime, keepMinutes) { + var offset = this._offset || 0, + localAdjust; + if (!this.isValid()) { + return input != null ? this : NaN; + } + if (input != null) { + if (typeof input === 'string') { + input = offsetFromString(matchShortOffset, input); + if (input === null) { + return this; + } + } else if (Math.abs(input) < 16 && !keepMinutes) { + input = input * 60; + } + if (!this._isUTC && keepLocalTime) { + localAdjust = getDateOffset(this); + } + this._offset = input; + this._isUTC = true; + if (localAdjust != null) { + this.add(localAdjust, 'm'); + } + if (offset !== input) { + if (!keepLocalTime || this._changeInProgress) { + addSubtract( + this, + createDuration(input - offset, 'm'), + 1, + false + ); + } else if (!this._changeInProgress) { + this._changeInProgress = true; + hooks.updateOffset(this, true); + this._changeInProgress = null; + } + } + return this; + } else { + return this._isUTC ? offset : getDateOffset(this); + } + } + + function getSetZone(input, keepLocalTime) { + if (input != null) { + if (typeof input !== 'string') { + input = -input; + } + + this.utcOffset(input, keepLocalTime); + + return this; + } else { + return -this.utcOffset(); + } + } + + function setOffsetToUTC(keepLocalTime) { + return this.utcOffset(0, keepLocalTime); + } + + function setOffsetToLocal(keepLocalTime) { + if (this._isUTC) { + this.utcOffset(0, keepLocalTime); + this._isUTC = false; + + if (keepLocalTime) { + this.subtract(getDateOffset(this), 'm'); + } + } + return this; + } + + function setOffsetToParsedOffset() { + if (this._tzm != null) { + this.utcOffset(this._tzm, false, true); + } else if (typeof this._i === 'string') { + var tZone = offsetFromString(matchOffset, this._i); + if (tZone != null) { + this.utcOffset(tZone); + } else { + this.utcOffset(0, true); + } + } + return this; + } + + function hasAlignedHourOffset(input) { + if (!this.isValid()) { + return false; + } + input = input ? createLocal(input).utcOffset() : 0; + + return (this.utcOffset() - input) % 60 === 0; + } + + function isDaylightSavingTime() { + return ( + this.utcOffset() > this.clone().month(0).utcOffset() || + this.utcOffset() > this.clone().month(5).utcOffset() + ); + } + + function isDaylightSavingTimeShifted() { + if (!isUndefined(this._isDSTShifted)) { + return this._isDSTShifted; + } + + var c = {}, + other; + + copyConfig(c, this); + c = prepareConfig(c); + + if (c._a) { + other = c._isUTC ? createUTC(c._a) : createLocal(c._a); + this._isDSTShifted = + this.isValid() && compareArrays(c._a, other.toArray()) > 0; + } else { + this._isDSTShifted = false; + } + + return this._isDSTShifted; + } + + function isLocal() { + return this.isValid() ? !this._isUTC : false; + } + + function isUtcOffset() { + return this.isValid() ? this._isUTC : false; + } + + function isUtc() { + return this.isValid() ? this._isUTC && this._offset === 0 : false; + } + + // ASP.NET json date format regex + var aspNetRegex = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, + // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html + // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere + // and further modified to allow for strings containing both week and day + isoRegex = + /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; + + function createDuration(input, key) { + var duration = input, + // matching against regexp is expensive, do it on demand + match = null, + sign, + ret, + diffRes; + + if (isDuration(input)) { + duration = { + ms: input._milliseconds, + d: input._days, + M: input._months, + }; + } else if (isNumber(input) || !isNaN(+input)) { + duration = {}; + if (key) { + duration[key] = +input; + } else { + duration.milliseconds = +input; + } + } else if ((match = aspNetRegex.exec(input))) { + sign = match[1] === '-' ? -1 : 1; + duration = { + y: 0, + d: toInt(match[DATE]) * sign, + h: toInt(match[HOUR]) * sign, + m: toInt(match[MINUTE]) * sign, + s: toInt(match[SECOND]) * sign, + ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign, // the millisecond decimal point is included in the match + }; + } else if ((match = isoRegex.exec(input))) { + sign = match[1] === '-' ? -1 : 1; + duration = { + y: parseIso(match[2], sign), + M: parseIso(match[3], sign), + w: parseIso(match[4], sign), + d: parseIso(match[5], sign), + h: parseIso(match[6], sign), + m: parseIso(match[7], sign), + s: parseIso(match[8], sign), + }; + } else if (duration == null) { + // checks for null or undefined + duration = {}; + } else if ( + typeof duration === 'object' && + ('from' in duration || 'to' in duration) + ) { + diffRes = momentsDifference( + createLocal(duration.from), + createLocal(duration.to) + ); + + duration = {}; + duration.ms = diffRes.milliseconds; + duration.M = diffRes.months; + } + + ret = new Duration(duration); + + if (isDuration(input) && hasOwnProp(input, '_locale')) { + ret._locale = input._locale; + } + + if (isDuration(input) && hasOwnProp(input, '_isValid')) { + ret._isValid = input._isValid; + } + + return ret; + } + + createDuration.fn = Duration.prototype; + createDuration.invalid = createInvalid$1; + + function parseIso(inp, sign) { + // We'd normally use ~~inp for this, but unfortunately it also + // converts floats to ints. + // inp may be undefined, so careful calling replace on it. + var res = inp && parseFloat(inp.replace(',', '.')); + // apply sign while we're at it + return (isNaN(res) ? 0 : res) * sign; + } + + function positiveMomentsDifference(base, other) { + var res = {}; + + res.months = + other.month() - base.month() + (other.year() - base.year()) * 12; + if (base.clone().add(res.months, 'M').isAfter(other)) { + --res.months; + } + + res.milliseconds = +other - +base.clone().add(res.months, 'M'); + + return res; + } + + function momentsDifference(base, other) { + var res; + if (!(base.isValid() && other.isValid())) { + return { milliseconds: 0, months: 0 }; + } + + other = cloneWithOffset(other, base); + if (base.isBefore(other)) { + res = positiveMomentsDifference(base, other); + } else { + res = positiveMomentsDifference(other, base); + res.milliseconds = -res.milliseconds; + res.months = -res.months; + } + + return res; + } + + // TODO: remove 'name' arg after deprecation is removed + function createAdder(direction, name) { + return function (val, period) { + var dur, tmp; + //invert the arguments, but complain about it + if (period !== null && !isNaN(+period)) { + deprecateSimple( + name, + 'moment().' + + name + + '(period, number) is deprecated. Please use moment().' + + name + + '(number, period). ' + + 'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.' + ); + tmp = val; + val = period; + period = tmp; + } + + dur = createDuration(val, period); + addSubtract(this, dur, direction); + return this; + }; + } + + function addSubtract(mom, duration, isAdding, updateOffset) { + var milliseconds = duration._milliseconds, + days = absRound(duration._days), + months = absRound(duration._months); + + if (!mom.isValid()) { + // No op + return; + } + + updateOffset = updateOffset == null ? true : updateOffset; + + if (months) { + setMonth(mom, get(mom, 'Month') + months * isAdding); + } + if (days) { + set$1(mom, 'Date', get(mom, 'Date') + days * isAdding); + } + if (milliseconds) { + mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding); + } + if (updateOffset) { + hooks.updateOffset(mom, days || months); + } + } + + var add = createAdder(1, 'add'), + subtract = createAdder(-1, 'subtract'); + + function isString(input) { + return typeof input === 'string' || input instanceof String; + } + + // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined + function isMomentInput(input) { + return ( + isMoment(input) || + isDate(input) || + isString(input) || + isNumber(input) || + isNumberOrStringArray(input) || + isMomentInputObject(input) || + input === null || + input === undefined + ); + } + + function isMomentInputObject(input) { + var objectTest = isObject(input) && !isObjectEmpty(input), + propertyTest = false, + properties = [ + 'years', + 'year', + 'y', + 'months', + 'month', + 'M', + 'days', + 'day', + 'd', + 'dates', + 'date', + 'D', + 'hours', + 'hour', + 'h', + 'minutes', + 'minute', + 'm', + 'seconds', + 'second', + 's', + 'milliseconds', + 'millisecond', + 'ms', + ], + i, + property, + propertyLen = properties.length; + + for (i = 0; i < propertyLen; i += 1) { + property = properties[i]; + propertyTest = propertyTest || hasOwnProp(input, property); + } + + return objectTest && propertyTest; + } + + function isNumberOrStringArray(input) { + var arrayTest = isArray(input), + dataTypeTest = false; + if (arrayTest) { + dataTypeTest = + input.filter(function (item) { + return !isNumber(item) && isString(input); + }).length === 0; + } + return arrayTest && dataTypeTest; + } + + function isCalendarSpec(input) { + var objectTest = isObject(input) && !isObjectEmpty(input), + propertyTest = false, + properties = [ + 'sameDay', + 'nextDay', + 'lastDay', + 'nextWeek', + 'lastWeek', + 'sameElse', + ], + i, + property; + + for (i = 0; i < properties.length; i += 1) { + property = properties[i]; + propertyTest = propertyTest || hasOwnProp(input, property); + } + + return objectTest && propertyTest; + } + + function getCalendarFormat(myMoment, now) { + var diff = myMoment.diff(now, 'days', true); + return diff < -6 + ? 'sameElse' + : diff < -1 + ? 'lastWeek' + : diff < 0 + ? 'lastDay' + : diff < 1 + ? 'sameDay' + : diff < 2 + ? 'nextDay' + : diff < 7 + ? 'nextWeek' + : 'sameElse'; + } + + function calendar$1(time, formats) { + // Support for single parameter, formats only overload to the calendar function + if (arguments.length === 1) { + if (!arguments[0]) { + time = undefined; + formats = undefined; + } else if (isMomentInput(arguments[0])) { + time = arguments[0]; + formats = undefined; + } else if (isCalendarSpec(arguments[0])) { + formats = arguments[0]; + time = undefined; + } + } + // We want to compare the start of today, vs this. + // Getting start-of-today depends on whether we're local/utc/offset or not. + var now = time || createLocal(), + sod = cloneWithOffset(now, this).startOf('day'), + format = hooks.calendarFormat(this, sod) || 'sameElse', + output = + formats && + (isFunction(formats[format]) + ? formats[format].call(this, now) + : formats[format]); + + return this.format( + output || this.localeData().calendar(format, this, createLocal(now)) + ); + } + + function clone() { + return new Moment(this); + } + + function isAfter(input, units) { + var localInput = isMoment(input) ? input : createLocal(input); + if (!(this.isValid() && localInput.isValid())) { + return false; + } + units = normalizeUnits(units) || 'millisecond'; + if (units === 'millisecond') { + return this.valueOf() > localInput.valueOf(); + } else { + return localInput.valueOf() < this.clone().startOf(units).valueOf(); + } + } + + function isBefore(input, units) { + var localInput = isMoment(input) ? input : createLocal(input); + if (!(this.isValid() && localInput.isValid())) { + return false; + } + units = normalizeUnits(units) || 'millisecond'; + if (units === 'millisecond') { + return this.valueOf() < localInput.valueOf(); + } else { + return this.clone().endOf(units).valueOf() < localInput.valueOf(); + } + } + + function isBetween(from, to, units, inclusivity) { + var localFrom = isMoment(from) ? from : createLocal(from), + localTo = isMoment(to) ? to : createLocal(to); + if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) { + return false; + } + inclusivity = inclusivity || '()'; + return ( + (inclusivity[0] === '(' + ? this.isAfter(localFrom, units) + : !this.isBefore(localFrom, units)) && + (inclusivity[1] === ')' + ? this.isBefore(localTo, units) + : !this.isAfter(localTo, units)) + ); + } + + function isSame(input, units) { + var localInput = isMoment(input) ? input : createLocal(input), + inputMs; + if (!(this.isValid() && localInput.isValid())) { + return false; + } + units = normalizeUnits(units) || 'millisecond'; + if (units === 'millisecond') { + return this.valueOf() === localInput.valueOf(); + } else { + inputMs = localInput.valueOf(); + return ( + this.clone().startOf(units).valueOf() <= inputMs && + inputMs <= this.clone().endOf(units).valueOf() + ); + } + } + + function isSameOrAfter(input, units) { + return this.isSame(input, units) || this.isAfter(input, units); + } + + function isSameOrBefore(input, units) { + return this.isSame(input, units) || this.isBefore(input, units); + } + + function diff(input, units, asFloat) { + var that, zoneDelta, output; + + if (!this.isValid()) { + return NaN; + } + + that = cloneWithOffset(input, this); + + if (!that.isValid()) { + return NaN; + } + + zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4; + + units = normalizeUnits(units); + + switch (units) { + case 'year': + output = monthDiff(this, that) / 12; + break; + case 'month': + output = monthDiff(this, that); + break; + case 'quarter': + output = monthDiff(this, that) / 3; + break; + case 'second': + output = (this - that) / 1e3; + break; // 1000 + case 'minute': + output = (this - that) / 6e4; + break; // 1000 * 60 + case 'hour': + output = (this - that) / 36e5; + break; // 1000 * 60 * 60 + case 'day': + output = (this - that - zoneDelta) / 864e5; + break; // 1000 * 60 * 60 * 24, negate dst + case 'week': + output = (this - that - zoneDelta) / 6048e5; + break; // 1000 * 60 * 60 * 24 * 7, negate dst + default: + output = this - that; + } + + return asFloat ? output : absFloor(output); + } + + function monthDiff(a, b) { + if (a.date() < b.date()) { + // end-of-month calculations work correct when the start month has more + // days than the end month. + return -monthDiff(b, a); + } + // difference in months + var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()), + // b is in (anchor - 1 month, anchor + 1 month) + anchor = a.clone().add(wholeMonthDiff, 'months'), + anchor2, + adjust; + + if (b - anchor < 0) { + anchor2 = a.clone().add(wholeMonthDiff - 1, 'months'); + // linear across the month + adjust = (b - anchor) / (anchor - anchor2); + } else { + anchor2 = a.clone().add(wholeMonthDiff + 1, 'months'); + // linear across the month + adjust = (b - anchor) / (anchor2 - anchor); + } + + //check for negative zero, return zero if negative zero + return -(wholeMonthDiff + adjust) || 0; + } + + hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ'; + hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]'; + + function toString() { + return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ'); + } + + function toISOString(keepOffset) { + if (!this.isValid()) { + return null; + } + var utc = keepOffset !== true, + m = utc ? this.clone().utc() : this; + if (m.year() < 0 || m.year() > 9999) { + return formatMoment( + m, + utc + ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]' + : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ' + ); + } + if (isFunction(Date.prototype.toISOString)) { + // native implementation is ~50x faster, use it when we can + if (utc) { + return this.toDate().toISOString(); + } else { + return new Date(this.valueOf() + this.utcOffset() * 60 * 1000) + .toISOString() + .replace('Z', formatMoment(m, 'Z')); + } + } + return formatMoment( + m, + utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ' + ); + } + + /** + * Return a human readable representation of a moment that can + * also be evaluated to get a new moment which is the same + * + * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects + */ + function inspect() { + if (!this.isValid()) { + return 'moment.invalid(/* ' + this._i + ' */)'; + } + var func = 'moment', + zone = '', + prefix, + year, + datetime, + suffix; + if (!this.isLocal()) { + func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone'; + zone = 'Z'; + } + prefix = '[' + func + '("]'; + year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY'; + datetime = '-MM-DD[T]HH:mm:ss.SSS'; + suffix = zone + '[")]'; + + return this.format(prefix + year + datetime + suffix); + } + + function format(inputString) { + if (!inputString) { + inputString = this.isUtc() + ? hooks.defaultFormatUtc + : hooks.defaultFormat; + } + var output = formatMoment(this, inputString); + return this.localeData().postformat(output); + } + + function from(time, withoutSuffix) { + if ( + this.isValid() && + ((isMoment(time) && time.isValid()) || createLocal(time).isValid()) + ) { + return createDuration({ to: this, from: time }) + .locale(this.locale()) + .humanize(!withoutSuffix); + } else { + return this.localeData().invalidDate(); + } + } + + function fromNow(withoutSuffix) { + return this.from(createLocal(), withoutSuffix); + } + + function to(time, withoutSuffix) { + if ( + this.isValid() && + ((isMoment(time) && time.isValid()) || createLocal(time).isValid()) + ) { + return createDuration({ from: this, to: time }) + .locale(this.locale()) + .humanize(!withoutSuffix); + } else { + return this.localeData().invalidDate(); + } + } + + function toNow(withoutSuffix) { + return this.to(createLocal(), withoutSuffix); + } + + // If passed a locale key, it will set the locale for this + // instance. Otherwise, it will return the locale configuration + // variables for this instance. + function locale(key) { + var newLocaleData; + + if (key === undefined) { + return this._locale._abbr; + } else { + newLocaleData = getLocale(key); + if (newLocaleData != null) { + this._locale = newLocaleData; + } + return this; + } + } + + var lang = deprecate( + 'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.', + function (key) { + if (key === undefined) { + return this.localeData(); + } else { + return this.locale(key); + } + } + ); + + function localeData() { + return this._locale; + } + + var MS_PER_SECOND = 1000, + MS_PER_MINUTE = 60 * MS_PER_SECOND, + MS_PER_HOUR = 60 * MS_PER_MINUTE, + MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR; + + // actual modulo - handles negative numbers (for dates before 1970): + function mod$1(dividend, divisor) { + return ((dividend % divisor) + divisor) % divisor; + } + + function localStartOfDate(y, m, d) { + // the date constructor remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0) { + // preserve leap years using a full 400 year cycle, then reset + return new Date(y + 400, m, d) - MS_PER_400_YEARS; + } else { + return new Date(y, m, d).valueOf(); + } + } + + function utcStartOfDate(y, m, d) { + // Date.UTC remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0) { + // preserve leap years using a full 400 year cycle, then reset + return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS; + } else { + return Date.UTC(y, m, d); + } + } + + function startOf(units) { + var time, startOfDate; + units = normalizeUnits(units); + if (units === undefined || units === 'millisecond' || !this.isValid()) { + return this; + } + + startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate; + + switch (units) { + case 'year': + time = startOfDate(this.year(), 0, 1); + break; + case 'quarter': + time = startOfDate( + this.year(), + this.month() - (this.month() % 3), + 1 + ); + break; + case 'month': + time = startOfDate(this.year(), this.month(), 1); + break; + case 'week': + time = startOfDate( + this.year(), + this.month(), + this.date() - this.weekday() + ); + break; + case 'isoWeek': + time = startOfDate( + this.year(), + this.month(), + this.date() - (this.isoWeekday() - 1) + ); + break; + case 'day': + case 'date': + time = startOfDate(this.year(), this.month(), this.date()); + break; + case 'hour': + time = this._d.valueOf(); + time -= mod$1( + time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), + MS_PER_HOUR + ); + break; + case 'minute': + time = this._d.valueOf(); + time -= mod$1(time, MS_PER_MINUTE); + break; + case 'second': + time = this._d.valueOf(); + time -= mod$1(time, MS_PER_SECOND); + break; + } + + this._d.setTime(time); + hooks.updateOffset(this, true); + return this; + } + + function endOf(units) { + var time, startOfDate; + units = normalizeUnits(units); + if (units === undefined || units === 'millisecond' || !this.isValid()) { + return this; + } + + startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate; + + switch (units) { + case 'year': + time = startOfDate(this.year() + 1, 0, 1) - 1; + break; + case 'quarter': + time = + startOfDate( + this.year(), + this.month() - (this.month() % 3) + 3, + 1 + ) - 1; + break; + case 'month': + time = startOfDate(this.year(), this.month() + 1, 1) - 1; + break; + case 'week': + time = + startOfDate( + this.year(), + this.month(), + this.date() - this.weekday() + 7 + ) - 1; + break; + case 'isoWeek': + time = + startOfDate( + this.year(), + this.month(), + this.date() - (this.isoWeekday() - 1) + 7 + ) - 1; + break; + case 'day': + case 'date': + time = startOfDate(this.year(), this.month(), this.date() + 1) - 1; + break; + case 'hour': + time = this._d.valueOf(); + time += + MS_PER_HOUR - + mod$1( + time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), + MS_PER_HOUR + ) - + 1; + break; + case 'minute': + time = this._d.valueOf(); + time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1; + break; + case 'second': + time = this._d.valueOf(); + time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1; + break; + } + + this._d.setTime(time); + hooks.updateOffset(this, true); + return this; + } + + function valueOf() { + return this._d.valueOf() - (this._offset || 0) * 60000; + } + + function unix() { + return Math.floor(this.valueOf() / 1000); + } + + function toDate() { + return new Date(this.valueOf()); + } + + function toArray() { + var m = this; + return [ + m.year(), + m.month(), + m.date(), + m.hour(), + m.minute(), + m.second(), + m.millisecond(), + ]; + } + + function toObject() { + var m = this; + return { + years: m.year(), + months: m.month(), + date: m.date(), + hours: m.hours(), + minutes: m.minutes(), + seconds: m.seconds(), + milliseconds: m.milliseconds(), + }; + } + + function toJSON() { + // new Date(NaN).toJSON() === null + return this.isValid() ? this.toISOString() : null; + } + + function isValid$2() { + return isValid(this); + } + + function parsingFlags() { + return extend({}, getParsingFlags(this)); + } + + function invalidAt() { + return getParsingFlags(this).overflow; + } + + function creationData() { + return { + input: this._i, + format: this._f, + locale: this._locale, + isUTC: this._isUTC, + strict: this._strict, + }; + } + + addFormatToken('N', 0, 0, 'eraAbbr'); + addFormatToken('NN', 0, 0, 'eraAbbr'); + addFormatToken('NNN', 0, 0, 'eraAbbr'); + addFormatToken('NNNN', 0, 0, 'eraName'); + addFormatToken('NNNNN', 0, 0, 'eraNarrow'); + + addFormatToken('y', ['y', 1], 'yo', 'eraYear'); + addFormatToken('y', ['yy', 2], 0, 'eraYear'); + addFormatToken('y', ['yyy', 3], 0, 'eraYear'); + addFormatToken('y', ['yyyy', 4], 0, 'eraYear'); + + addRegexToken('N', matchEraAbbr); + addRegexToken('NN', matchEraAbbr); + addRegexToken('NNN', matchEraAbbr); + addRegexToken('NNNN', matchEraName); + addRegexToken('NNNNN', matchEraNarrow); + + addParseToken( + ['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], + function (input, array, config, token) { + var era = config._locale.erasParse(input, token, config._strict); + if (era) { + getParsingFlags(config).era = era; + } else { + getParsingFlags(config).invalidEra = input; + } + } + ); + + addRegexToken('y', matchUnsigned); + addRegexToken('yy', matchUnsigned); + addRegexToken('yyy', matchUnsigned); + addRegexToken('yyyy', matchUnsigned); + addRegexToken('yo', matchEraYearOrdinal); + + addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR); + addParseToken(['yo'], function (input, array, config, token) { + var match; + if (config._locale._eraYearOrdinalRegex) { + match = input.match(config._locale._eraYearOrdinalRegex); + } + + if (config._locale.eraYearOrdinalParse) { + array[YEAR] = config._locale.eraYearOrdinalParse(input, match); + } else { + array[YEAR] = parseInt(input, 10); + } + }); + + function localeEras(m, format) { + var i, + l, + date, + eras = this._eras || getLocale('en')._eras; + for (i = 0, l = eras.length; i < l; ++i) { + switch (typeof eras[i].since) { + case 'string': + // truncate time + date = hooks(eras[i].since).startOf('day'); + eras[i].since = date.valueOf(); + break; + } + + switch (typeof eras[i].until) { + case 'undefined': + eras[i].until = +Infinity; + break; + case 'string': + // truncate time + date = hooks(eras[i].until).startOf('day').valueOf(); + eras[i].until = date.valueOf(); + break; + } + } + return eras; + } + + function localeErasParse(eraName, format, strict) { + var i, + l, + eras = this.eras(), + name, + abbr, + narrow; + eraName = eraName.toUpperCase(); + + for (i = 0, l = eras.length; i < l; ++i) { + name = eras[i].name.toUpperCase(); + abbr = eras[i].abbr.toUpperCase(); + narrow = eras[i].narrow.toUpperCase(); + + if (strict) { + switch (format) { + case 'N': + case 'NN': + case 'NNN': + if (abbr === eraName) { + return eras[i]; + } + break; + + case 'NNNN': + if (name === eraName) { + return eras[i]; + } + break; + + case 'NNNNN': + if (narrow === eraName) { + return eras[i]; + } + break; + } + } else if ([name, abbr, narrow].indexOf(eraName) >= 0) { + return eras[i]; + } + } + } + + function localeErasConvertYear(era, year) { + var dir = era.since <= era.until ? +1 : -1; + if (year === undefined) { + return hooks(era.since).year(); + } else { + return hooks(era.since).year() + (year - era.offset) * dir; + } + } + + function getEraName() { + var i, + l, + val, + eras = this.localeData().eras(); + for (i = 0, l = eras.length; i < l; ++i) { + // truncate time + val = this.clone().startOf('day').valueOf(); + + if (eras[i].since <= val && val <= eras[i].until) { + return eras[i].name; + } + if (eras[i].until <= val && val <= eras[i].since) { + return eras[i].name; + } + } + + return ''; + } + + function getEraNarrow() { + var i, + l, + val, + eras = this.localeData().eras(); + for (i = 0, l = eras.length; i < l; ++i) { + // truncate time + val = this.clone().startOf('day').valueOf(); + + if (eras[i].since <= val && val <= eras[i].until) { + return eras[i].narrow; + } + if (eras[i].until <= val && val <= eras[i].since) { + return eras[i].narrow; + } + } + + return ''; + } + + function getEraAbbr() { + var i, + l, + val, + eras = this.localeData().eras(); + for (i = 0, l = eras.length; i < l; ++i) { + // truncate time + val = this.clone().startOf('day').valueOf(); + + if (eras[i].since <= val && val <= eras[i].until) { + return eras[i].abbr; + } + if (eras[i].until <= val && val <= eras[i].since) { + return eras[i].abbr; + } + } + + return ''; + } + + function getEraYear() { + var i, + l, + dir, + val, + eras = this.localeData().eras(); + for (i = 0, l = eras.length; i < l; ++i) { + dir = eras[i].since <= eras[i].until ? +1 : -1; + + // truncate time + val = this.clone().startOf('day').valueOf(); + + if ( + (eras[i].since <= val && val <= eras[i].until) || + (eras[i].until <= val && val <= eras[i].since) + ) { + return ( + (this.year() - hooks(eras[i].since).year()) * dir + + eras[i].offset + ); + } + } + + return this.year(); + } + + function erasNameRegex(isStrict) { + if (!hasOwnProp(this, '_erasNameRegex')) { + computeErasParse.call(this); + } + return isStrict ? this._erasNameRegex : this._erasRegex; + } + + function erasAbbrRegex(isStrict) { + if (!hasOwnProp(this, '_erasAbbrRegex')) { + computeErasParse.call(this); + } + return isStrict ? this._erasAbbrRegex : this._erasRegex; + } + + function erasNarrowRegex(isStrict) { + if (!hasOwnProp(this, '_erasNarrowRegex')) { + computeErasParse.call(this); + } + return isStrict ? this._erasNarrowRegex : this._erasRegex; + } + + function matchEraAbbr(isStrict, locale) { + return locale.erasAbbrRegex(isStrict); + } + + function matchEraName(isStrict, locale) { + return locale.erasNameRegex(isStrict); + } + + function matchEraNarrow(isStrict, locale) { + return locale.erasNarrowRegex(isStrict); + } + + function matchEraYearOrdinal(isStrict, locale) { + return locale._eraYearOrdinalRegex || matchUnsigned; + } + + function computeErasParse() { + var abbrPieces = [], + namePieces = [], + narrowPieces = [], + mixedPieces = [], + i, + l, + erasName, + erasAbbr, + erasNarrow, + eras = this.eras(); + + for (i = 0, l = eras.length; i < l; ++i) { + erasName = regexEscape(eras[i].name); + erasAbbr = regexEscape(eras[i].abbr); + erasNarrow = regexEscape(eras[i].narrow); + + namePieces.push(erasName); + abbrPieces.push(erasAbbr); + narrowPieces.push(erasNarrow); + mixedPieces.push(erasName); + mixedPieces.push(erasAbbr); + mixedPieces.push(erasNarrow); + } + + this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); + this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i'); + this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i'); + this._erasNarrowRegex = new RegExp( + '^(' + narrowPieces.join('|') + ')', + 'i' + ); + } + + // FORMATTING + + addFormatToken(0, ['gg', 2], 0, function () { + return this.weekYear() % 100; + }); + + addFormatToken(0, ['GG', 2], 0, function () { + return this.isoWeekYear() % 100; + }); + + function addWeekYearFormatToken(token, getter) { + addFormatToken(0, [token, token.length], 0, getter); + } + + addWeekYearFormatToken('gggg', 'weekYear'); + addWeekYearFormatToken('ggggg', 'weekYear'); + addWeekYearFormatToken('GGGG', 'isoWeekYear'); + addWeekYearFormatToken('GGGGG', 'isoWeekYear'); + + // ALIASES + + // PARSING + + addRegexToken('G', matchSigned); + addRegexToken('g', matchSigned); + addRegexToken('GG', match1to2, match2); + addRegexToken('gg', match1to2, match2); + addRegexToken('GGGG', match1to4, match4); + addRegexToken('gggg', match1to4, match4); + addRegexToken('GGGGG', match1to6, match6); + addRegexToken('ggggg', match1to6, match6); + + addWeekParseToken( + ['gggg', 'ggggg', 'GGGG', 'GGGGG'], + function (input, week, config, token) { + week[token.substr(0, 2)] = toInt(input); + } + ); + + addWeekParseToken(['gg', 'GG'], function (input, week, config, token) { + week[token] = hooks.parseTwoDigitYear(input); + }); + + // MOMENTS + + function getSetWeekYear(input) { + return getSetWeekYearHelper.call( + this, + input, + this.week(), + this.weekday() + this.localeData()._week.dow, + this.localeData()._week.dow, + this.localeData()._week.doy + ); + } + + function getSetISOWeekYear(input) { + return getSetWeekYearHelper.call( + this, + input, + this.isoWeek(), + this.isoWeekday(), + 1, + 4 + ); + } + + function getISOWeeksInYear() { + return weeksInYear(this.year(), 1, 4); + } + + function getISOWeeksInISOWeekYear() { + return weeksInYear(this.isoWeekYear(), 1, 4); + } + + function getWeeksInYear() { + var weekInfo = this.localeData()._week; + return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy); + } + + function getWeeksInWeekYear() { + var weekInfo = this.localeData()._week; + return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy); + } + + function getSetWeekYearHelper(input, week, weekday, dow, doy) { + var weeksTarget; + if (input == null) { + return weekOfYear(this, dow, doy).year; + } else { + weeksTarget = weeksInYear(input, dow, doy); + if (week > weeksTarget) { + week = weeksTarget; + } + return setWeekAll.call(this, input, week, weekday, dow, doy); + } + } + + function setWeekAll(weekYear, week, weekday, dow, doy) { + var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy), + date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear); + + this.year(date.getUTCFullYear()); + this.month(date.getUTCMonth()); + this.date(date.getUTCDate()); + return this; + } + + // FORMATTING + + addFormatToken('Q', 0, 'Qo', 'quarter'); + + // PARSING + + addRegexToken('Q', match1); + addParseToken('Q', function (input, array) { + array[MONTH] = (toInt(input) - 1) * 3; + }); + + // MOMENTS + + function getSetQuarter(input) { + return input == null + ? Math.ceil((this.month() + 1) / 3) + : this.month((input - 1) * 3 + (this.month() % 3)); + } + + // FORMATTING + + addFormatToken('D', ['DD', 2], 'Do', 'date'); + + // PARSING + + addRegexToken('D', match1to2, match1to2NoLeadingZero); + addRegexToken('DD', match1to2, match2); + addRegexToken('Do', function (isStrict, locale) { + // TODO: Remove "ordinalParse" fallback in next major release. + return isStrict + ? locale._dayOfMonthOrdinalParse || locale._ordinalParse + : locale._dayOfMonthOrdinalParseLenient; + }); + + addParseToken(['D', 'DD'], DATE); + addParseToken('Do', function (input, array) { + array[DATE] = toInt(input.match(match1to2)[0]); + }); + + // MOMENTS + + var getSetDayOfMonth = makeGetSet('Date', true); + + // FORMATTING + + addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear'); + + // PARSING + + addRegexToken('DDD', match1to3); + addRegexToken('DDDD', match3); + addParseToken(['DDD', 'DDDD'], function (input, array, config) { + config._dayOfYear = toInt(input); + }); + + // HELPERS + + // MOMENTS + + function getSetDayOfYear(input) { + var dayOfYear = + Math.round( + (this.clone().startOf('day') - this.clone().startOf('year')) / 864e5 + ) + 1; + return input == null ? dayOfYear : this.add(input - dayOfYear, 'd'); + } + + // FORMATTING + + addFormatToken('m', ['mm', 2], 0, 'minute'); + + // PARSING + + addRegexToken('m', match1to2, match1to2HasZero); + addRegexToken('mm', match1to2, match2); + addParseToken(['m', 'mm'], MINUTE); + + // MOMENTS + + var getSetMinute = makeGetSet('Minutes', false); + + // FORMATTING + + addFormatToken('s', ['ss', 2], 0, 'second'); + + // PARSING + + addRegexToken('s', match1to2, match1to2HasZero); + addRegexToken('ss', match1to2, match2); + addParseToken(['s', 'ss'], SECOND); + + // MOMENTS + + var getSetSecond = makeGetSet('Seconds', false); + + // FORMATTING + + addFormatToken('S', 0, 0, function () { + return ~~(this.millisecond() / 100); + }); + + addFormatToken(0, ['SS', 2], 0, function () { + return ~~(this.millisecond() / 10); + }); + + addFormatToken(0, ['SSS', 3], 0, 'millisecond'); + addFormatToken(0, ['SSSS', 4], 0, function () { + return this.millisecond() * 10; + }); + addFormatToken(0, ['SSSSS', 5], 0, function () { + return this.millisecond() * 100; + }); + addFormatToken(0, ['SSSSSS', 6], 0, function () { + return this.millisecond() * 1000; + }); + addFormatToken(0, ['SSSSSSS', 7], 0, function () { + return this.millisecond() * 10000; + }); + addFormatToken(0, ['SSSSSSSS', 8], 0, function () { + return this.millisecond() * 100000; + }); + addFormatToken(0, ['SSSSSSSSS', 9], 0, function () { + return this.millisecond() * 1000000; + }); + + // PARSING + + addRegexToken('S', match1to3, match1); + addRegexToken('SS', match1to3, match2); + addRegexToken('SSS', match1to3, match3); + + var token, getSetMillisecond; + for (token = 'SSSS'; token.length <= 9; token += 'S') { + addRegexToken(token, matchUnsigned); + } + + function parseMs(input, array) { + array[MILLISECOND] = toInt(('0.' + input) * 1000); + } + + for (token = 'S'; token.length <= 9; token += 'S') { + addParseToken(token, parseMs); + } + + getSetMillisecond = makeGetSet('Milliseconds', false); + + // FORMATTING + + addFormatToken('z', 0, 0, 'zoneAbbr'); + addFormatToken('zz', 0, 0, 'zoneName'); + + // MOMENTS + + function getZoneAbbr() { + return this._isUTC ? 'UTC' : ''; + } + + function getZoneName() { + return this._isUTC ? 'Coordinated Universal Time' : ''; + } + + var proto = Moment.prototype; + + proto.add = add; + proto.calendar = calendar$1; + proto.clone = clone; + proto.diff = diff; + proto.endOf = endOf; + proto.format = format; + proto.from = from; + proto.fromNow = fromNow; + proto.to = to; + proto.toNow = toNow; + proto.get = stringGet; + proto.invalidAt = invalidAt; + proto.isAfter = isAfter; + proto.isBefore = isBefore; + proto.isBetween = isBetween; + proto.isSame = isSame; + proto.isSameOrAfter = isSameOrAfter; + proto.isSameOrBefore = isSameOrBefore; + proto.isValid = isValid$2; + proto.lang = lang; + proto.locale = locale; + proto.localeData = localeData; + proto.max = prototypeMax; + proto.min = prototypeMin; + proto.parsingFlags = parsingFlags; + proto.set = stringSet; + proto.startOf = startOf; + proto.subtract = subtract; + proto.toArray = toArray; + proto.toObject = toObject; + proto.toDate = toDate; + proto.toISOString = toISOString; + proto.inspect = inspect; + if (typeof Symbol !== 'undefined' && Symbol.for != null) { + proto[Symbol.for('nodejs.util.inspect.custom')] = function () { + return 'Moment<' + this.format() + '>'; + }; + } + proto.toJSON = toJSON; + proto.toString = toString; + proto.unix = unix; + proto.valueOf = valueOf; + proto.creationData = creationData; + proto.eraName = getEraName; + proto.eraNarrow = getEraNarrow; + proto.eraAbbr = getEraAbbr; + proto.eraYear = getEraYear; + proto.year = getSetYear; + proto.isLeapYear = getIsLeapYear; + proto.weekYear = getSetWeekYear; + proto.isoWeekYear = getSetISOWeekYear; + proto.quarter = proto.quarters = getSetQuarter; + proto.month = getSetMonth; + proto.daysInMonth = getDaysInMonth; + proto.week = proto.weeks = getSetWeek; + proto.isoWeek = proto.isoWeeks = getSetISOWeek; + proto.weeksInYear = getWeeksInYear; + proto.weeksInWeekYear = getWeeksInWeekYear; + proto.isoWeeksInYear = getISOWeeksInYear; + proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear; + proto.date = getSetDayOfMonth; + proto.day = proto.days = getSetDayOfWeek; + proto.weekday = getSetLocaleDayOfWeek; + proto.isoWeekday = getSetISODayOfWeek; + proto.dayOfYear = getSetDayOfYear; + proto.hour = proto.hours = getSetHour; + proto.minute = proto.minutes = getSetMinute; + proto.second = proto.seconds = getSetSecond; + proto.millisecond = proto.milliseconds = getSetMillisecond; + proto.utcOffset = getSetOffset; + proto.utc = setOffsetToUTC; + proto.local = setOffsetToLocal; + proto.parseZone = setOffsetToParsedOffset; + proto.hasAlignedHourOffset = hasAlignedHourOffset; + proto.isDST = isDaylightSavingTime; + proto.isLocal = isLocal; + proto.isUtcOffset = isUtcOffset; + proto.isUtc = isUtc; + proto.isUTC = isUtc; + proto.zoneAbbr = getZoneAbbr; + proto.zoneName = getZoneName; + proto.dates = deprecate( + 'dates accessor is deprecated. Use date instead.', + getSetDayOfMonth + ); + proto.months = deprecate( + 'months accessor is deprecated. Use month instead', + getSetMonth + ); + proto.years = deprecate( + 'years accessor is deprecated. Use year instead', + getSetYear + ); + proto.zone = deprecate( + 'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', + getSetZone + ); + proto.isDSTShifted = deprecate( + 'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', + isDaylightSavingTimeShifted + ); + + function createUnix(input) { + return createLocal(input * 1000); + } + + function createInZone() { + return createLocal.apply(null, arguments).parseZone(); + } + + function preParsePostFormat(string) { + return string; + } + + var proto$1 = Locale.prototype; + + proto$1.calendar = calendar; + proto$1.longDateFormat = longDateFormat; + proto$1.invalidDate = invalidDate; + proto$1.ordinal = ordinal; + proto$1.preparse = preParsePostFormat; + proto$1.postformat = preParsePostFormat; + proto$1.relativeTime = relativeTime; + proto$1.pastFuture = pastFuture; + proto$1.set = set; + proto$1.eras = localeEras; + proto$1.erasParse = localeErasParse; + proto$1.erasConvertYear = localeErasConvertYear; + proto$1.erasAbbrRegex = erasAbbrRegex; + proto$1.erasNameRegex = erasNameRegex; + proto$1.erasNarrowRegex = erasNarrowRegex; + + proto$1.months = localeMonths; + proto$1.monthsShort = localeMonthsShort; + proto$1.monthsParse = localeMonthsParse; + proto$1.monthsRegex = monthsRegex; + proto$1.monthsShortRegex = monthsShortRegex; + proto$1.week = localeWeek; + proto$1.firstDayOfYear = localeFirstDayOfYear; + proto$1.firstDayOfWeek = localeFirstDayOfWeek; + + proto$1.weekdays = localeWeekdays; + proto$1.weekdaysMin = localeWeekdaysMin; + proto$1.weekdaysShort = localeWeekdaysShort; + proto$1.weekdaysParse = localeWeekdaysParse; + + proto$1.weekdaysRegex = weekdaysRegex; + proto$1.weekdaysShortRegex = weekdaysShortRegex; + proto$1.weekdaysMinRegex = weekdaysMinRegex; + + proto$1.isPM = localeIsPM; + proto$1.meridiem = localeMeridiem; + + function get$1(format, index, field, setter) { + var locale = getLocale(), + utc = createUTC().set(setter, index); + return locale[field](utc, format); + } + + function listMonthsImpl(format, index, field) { + if (isNumber(format)) { + index = format; + format = undefined; + } + + format = format || ''; + + if (index != null) { + return get$1(format, index, field, 'month'); + } + + var i, + out = []; + for (i = 0; i < 12; i++) { + out[i] = get$1(format, i, field, 'month'); + } + return out; + } + + // () + // (5) + // (fmt, 5) + // (fmt) + // (true) + // (true, 5) + // (true, fmt, 5) + // (true, fmt) + function listWeekdaysImpl(localeSorted, format, index, field) { + if (typeof localeSorted === 'boolean') { + if (isNumber(format)) { + index = format; + format = undefined; + } + + format = format || ''; + } else { + format = localeSorted; + index = format; + localeSorted = false; + + if (isNumber(format)) { + index = format; + format = undefined; + } + + format = format || ''; + } + + var locale = getLocale(), + shift = localeSorted ? locale._week.dow : 0, + i, + out = []; + + if (index != null) { + return get$1(format, (index + shift) % 7, field, 'day'); + } + + for (i = 0; i < 7; i++) { + out[i] = get$1(format, (i + shift) % 7, field, 'day'); + } + return out; + } + + function listMonths(format, index) { + return listMonthsImpl(format, index, 'months'); + } + + function listMonthsShort(format, index) { + return listMonthsImpl(format, index, 'monthsShort'); + } + + function listWeekdays(localeSorted, format, index) { + return listWeekdaysImpl(localeSorted, format, index, 'weekdays'); + } + + function listWeekdaysShort(localeSorted, format, index) { + return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort'); + } + + function listWeekdaysMin(localeSorted, format, index) { + return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin'); + } + + getSetGlobalLocale('en', { + eras: [ + { + since: '0001-01-01', + until: +Infinity, + offset: 1, + name: 'Anno Domini', + narrow: 'AD', + abbr: 'AD', + }, + { + since: '0000-12-31', + until: -Infinity, + offset: 1, + name: 'Before Christ', + narrow: 'BC', + abbr: 'BC', + }, + ], + dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, + ordinal: function (number) { + var b = number % 10, + output = + toInt((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + }); + + // Side effect imports + + hooks.lang = deprecate( + 'moment.lang is deprecated. Use moment.locale instead.', + getSetGlobalLocale + ); + hooks.langData = deprecate( + 'moment.langData is deprecated. Use moment.localeData instead.', + getLocale + ); + + var mathAbs = Math.abs; + + function abs() { + var data = this._data; + + this._milliseconds = mathAbs(this._milliseconds); + this._days = mathAbs(this._days); + this._months = mathAbs(this._months); + + data.milliseconds = mathAbs(data.milliseconds); + data.seconds = mathAbs(data.seconds); + data.minutes = mathAbs(data.minutes); + data.hours = mathAbs(data.hours); + data.months = mathAbs(data.months); + data.years = mathAbs(data.years); + + return this; + } + + function addSubtract$1(duration, input, value, direction) { + var other = createDuration(input, value); + + duration._milliseconds += direction * other._milliseconds; + duration._days += direction * other._days; + duration._months += direction * other._months; + + return duration._bubble(); + } + + // supports only 2.0-style add(1, 's') or add(duration) + function add$1(input, value) { + return addSubtract$1(this, input, value, 1); + } + + // supports only 2.0-style subtract(1, 's') or subtract(duration) + function subtract$1(input, value) { + return addSubtract$1(this, input, value, -1); + } + + function absCeil(number) { + if (number < 0) { + return Math.floor(number); + } else { + return Math.ceil(number); + } + } + + function bubble() { + var milliseconds = this._milliseconds, + days = this._days, + months = this._months, + data = this._data, + seconds, + minutes, + hours, + years, + monthsFromDays; + + // if we have a mix of positive and negative values, bubble down first + // check: https://github.com/moment/moment/issues/2166 + if ( + !( + (milliseconds >= 0 && days >= 0 && months >= 0) || + (milliseconds <= 0 && days <= 0 && months <= 0) + ) + ) { + milliseconds += absCeil(monthsToDays(months) + days) * 864e5; + days = 0; + months = 0; + } + + // The following code bubbles up values, see the tests for + // examples of what that means. + data.milliseconds = milliseconds % 1000; + + seconds = absFloor(milliseconds / 1000); + data.seconds = seconds % 60; + + minutes = absFloor(seconds / 60); + data.minutes = minutes % 60; + + hours = absFloor(minutes / 60); + data.hours = hours % 24; + + days += absFloor(hours / 24); + + // convert days to months + monthsFromDays = absFloor(daysToMonths(days)); + months += monthsFromDays; + days -= absCeil(monthsToDays(monthsFromDays)); + + // 12 months -> 1 year + years = absFloor(months / 12); + months %= 12; + + data.days = days; + data.months = months; + data.years = years; + + return this; + } + + function daysToMonths(days) { + // 400 years have 146097 days (taking into account leap year rules) + // 400 years have 12 months === 4800 + return (days * 4800) / 146097; + } + + function monthsToDays(months) { + // the reverse of daysToMonths + return (months * 146097) / 4800; + } + + function as(units) { + if (!this.isValid()) { + return NaN; + } + var days, + months, + milliseconds = this._milliseconds; + + units = normalizeUnits(units); + + if (units === 'month' || units === 'quarter' || units === 'year') { + days = this._days + milliseconds / 864e5; + months = this._months + daysToMonths(days); + switch (units) { + case 'month': + return months; + case 'quarter': + return months / 3; + case 'year': + return months / 12; + } + } else { + // handle milliseconds separately because of floating point math errors (issue #1867) + days = this._days + Math.round(monthsToDays(this._months)); + switch (units) { + case 'week': + return days / 7 + milliseconds / 6048e5; + case 'day': + return days + milliseconds / 864e5; + case 'hour': + return days * 24 + milliseconds / 36e5; + case 'minute': + return days * 1440 + milliseconds / 6e4; + case 'second': + return days * 86400 + milliseconds / 1000; + // Math.floor prevents floating point math errors here + case 'millisecond': + return Math.floor(days * 864e5) + milliseconds; + default: + throw new Error('Unknown unit ' + units); + } + } + } + + function makeAs(alias) { + return function () { + return this.as(alias); + }; + } + + var asMilliseconds = makeAs('ms'), + asSeconds = makeAs('s'), + asMinutes = makeAs('m'), + asHours = makeAs('h'), + asDays = makeAs('d'), + asWeeks = makeAs('w'), + asMonths = makeAs('M'), + asQuarters = makeAs('Q'), + asYears = makeAs('y'), + valueOf$1 = asMilliseconds; + + function clone$1() { + return createDuration(this); + } + + function get$2(units) { + units = normalizeUnits(units); + return this.isValid() ? this[units + 's']() : NaN; + } + + function makeGetter(name) { + return function () { + return this.isValid() ? this._data[name] : NaN; + }; + } + + var milliseconds = makeGetter('milliseconds'), + seconds = makeGetter('seconds'), + minutes = makeGetter('minutes'), + hours = makeGetter('hours'), + days = makeGetter('days'), + months = makeGetter('months'), + years = makeGetter('years'); + + function weeks() { + return absFloor(this.days() / 7); + } + + var round = Math.round, + thresholds = { + ss: 44, // a few seconds to seconds + s: 45, // seconds to minute + m: 45, // minutes to hour + h: 22, // hours to day + d: 26, // days to month/week + w: null, // weeks to month + M: 11, // months to year + }; + + // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize + function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) { + return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture); + } + + function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) { + var duration = createDuration(posNegDuration).abs(), + seconds = round(duration.as('s')), + minutes = round(duration.as('m')), + hours = round(duration.as('h')), + days = round(duration.as('d')), + months = round(duration.as('M')), + weeks = round(duration.as('w')), + years = round(duration.as('y')), + a = + (seconds <= thresholds.ss && ['s', seconds]) || + (seconds < thresholds.s && ['ss', seconds]) || + (minutes <= 1 && ['m']) || + (minutes < thresholds.m && ['mm', minutes]) || + (hours <= 1 && ['h']) || + (hours < thresholds.h && ['hh', hours]) || + (days <= 1 && ['d']) || + (days < thresholds.d && ['dd', days]); + + if (thresholds.w != null) { + a = + a || + (weeks <= 1 && ['w']) || + (weeks < thresholds.w && ['ww', weeks]); + } + a = a || + (months <= 1 && ['M']) || + (months < thresholds.M && ['MM', months]) || + (years <= 1 && ['y']) || ['yy', years]; + + a[2] = withoutSuffix; + a[3] = +posNegDuration > 0; + a[4] = locale; + return substituteTimeAgo.apply(null, a); + } + + // This function allows you to set the rounding function for relative time strings + function getSetRelativeTimeRounding(roundingFunction) { + if (roundingFunction === undefined) { + return round; + } + if (typeof roundingFunction === 'function') { + round = roundingFunction; + return true; + } + return false; + } + + // This function allows you to set a threshold for relative time strings + function getSetRelativeTimeThreshold(threshold, limit) { + if (thresholds[threshold] === undefined) { + return false; + } + if (limit === undefined) { + return thresholds[threshold]; + } + thresholds[threshold] = limit; + if (threshold === 's') { + thresholds.ss = limit - 1; + } + return true; + } + + function humanize(argWithSuffix, argThresholds) { + if (!this.isValid()) { + return this.localeData().invalidDate(); + } + + var withSuffix = false, + th = thresholds, + locale, + output; + + if (typeof argWithSuffix === 'object') { + argThresholds = argWithSuffix; + argWithSuffix = false; + } + if (typeof argWithSuffix === 'boolean') { + withSuffix = argWithSuffix; + } + if (typeof argThresholds === 'object') { + th = Object.assign({}, thresholds, argThresholds); + if (argThresholds.s != null && argThresholds.ss == null) { + th.ss = argThresholds.s - 1; + } + } + + locale = this.localeData(); + output = relativeTime$1(this, !withSuffix, th, locale); + + if (withSuffix) { + output = locale.pastFuture(+this, output); + } + + return locale.postformat(output); + } + + var abs$1 = Math.abs; + + function sign(x) { + return (x > 0) - (x < 0) || +x; + } + + function toISOString$1() { + // for ISO strings we do not use the normal bubbling rules: + // * milliseconds bubble up until they become hours + // * days do not bubble at all + // * months bubble up until they become years + // This is because there is no context-free conversion between hours and days + // (think of clock changes) + // and also not between days and months (28-31 days per month) + if (!this.isValid()) { + return this.localeData().invalidDate(); + } + + var seconds = abs$1(this._milliseconds) / 1000, + days = abs$1(this._days), + months = abs$1(this._months), + minutes, + hours, + years, + s, + total = this.asSeconds(), + totalSign, + ymSign, + daysSign, + hmsSign; + + if (!total) { + // this is the same as C#'s (Noda) and python (isodate)... + // but not other JS (goog.date) + return 'P0D'; + } + + // 3600 seconds -> 60 minutes -> 1 hour + minutes = absFloor(seconds / 60); + hours = absFloor(minutes / 60); + seconds %= 60; + minutes %= 60; + + // 12 months -> 1 year + years = absFloor(months / 12); + months %= 12; + + // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js + s = seconds ? seconds.toFixed(3).replace(/\.?0+$/, '') : ''; + + totalSign = total < 0 ? '-' : ''; + ymSign = sign(this._months) !== sign(total) ? '-' : ''; + daysSign = sign(this._days) !== sign(total) ? '-' : ''; + hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : ''; + + return ( + totalSign + + 'P' + + (years ? ymSign + years + 'Y' : '') + + (months ? ymSign + months + 'M' : '') + + (days ? daysSign + days + 'D' : '') + + (hours || minutes || seconds ? 'T' : '') + + (hours ? hmsSign + hours + 'H' : '') + + (minutes ? hmsSign + minutes + 'M' : '') + + (seconds ? hmsSign + s + 'S' : '') + ); + } + + var proto$2 = Duration.prototype; + + proto$2.isValid = isValid$1; + proto$2.abs = abs; + proto$2.add = add$1; + proto$2.subtract = subtract$1; + proto$2.as = as; + proto$2.asMilliseconds = asMilliseconds; + proto$2.asSeconds = asSeconds; + proto$2.asMinutes = asMinutes; + proto$2.asHours = asHours; + proto$2.asDays = asDays; + proto$2.asWeeks = asWeeks; + proto$2.asMonths = asMonths; + proto$2.asQuarters = asQuarters; + proto$2.asYears = asYears; + proto$2.valueOf = valueOf$1; + proto$2._bubble = bubble; + proto$2.clone = clone$1; + proto$2.get = get$2; + proto$2.milliseconds = milliseconds; + proto$2.seconds = seconds; + proto$2.minutes = minutes; + proto$2.hours = hours; + proto$2.days = days; + proto$2.weeks = weeks; + proto$2.months = months; + proto$2.years = years; + proto$2.humanize = humanize; + proto$2.toISOString = toISOString$1; + proto$2.toString = toISOString$1; + proto$2.toJSON = toISOString$1; + proto$2.locale = locale; + proto$2.localeData = localeData; + + proto$2.toIsoString = deprecate( + 'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', + toISOString$1 + ); + proto$2.lang = lang; + + // FORMATTING + + addFormatToken('X', 0, 0, 'unix'); + addFormatToken('x', 0, 0, 'valueOf'); + + // PARSING + + addRegexToken('x', matchSigned); + addRegexToken('X', matchTimestamp); + addParseToken('X', function (input, array, config) { + config._d = new Date(parseFloat(input) * 1000); + }); + addParseToken('x', function (input, array, config) { + config._d = new Date(toInt(input)); + }); + + //! moment.js + + hooks.version = '2.30.1'; + + setHookCallback(createLocal); + + hooks.fn = proto; + hooks.min = min; + hooks.max = max; + hooks.now = now; + hooks.utc = createUTC; + hooks.unix = createUnix; + hooks.months = listMonths; + hooks.isDate = isDate; + hooks.locale = getSetGlobalLocale; + hooks.invalid = createInvalid; + hooks.duration = createDuration; + hooks.isMoment = isMoment; + hooks.weekdays = listWeekdays; + hooks.parseZone = createInZone; + hooks.localeData = getLocale; + hooks.isDuration = isDuration; + hooks.monthsShort = listMonthsShort; + hooks.weekdaysMin = listWeekdaysMin; + hooks.defineLocale = defineLocale; + hooks.updateLocale = updateLocale; + hooks.locales = listLocales; + hooks.weekdaysShort = listWeekdaysShort; + hooks.normalizeUnits = normalizeUnits; + hooks.relativeTimeRounding = getSetRelativeTimeRounding; + hooks.relativeTimeThreshold = getSetRelativeTimeThreshold; + hooks.calendarFormat = getCalendarFormat; + hooks.prototype = proto; + + // currently HTML5 input type only supports 24-hour formats + hooks.HTML5_FMT = { + DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', // + DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', // + DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', // + DATE: 'YYYY-MM-DD', // + TIME: 'HH:mm', // + TIME_SECONDS: 'HH:mm:ss', // + TIME_MS: 'HH:mm:ss.SSS', // + WEEK: 'GGGG-[W]WW', // + MONTH: 'YYYY-MM', // + }; + + //! moment.js locale configuration + + hooks.defineLocale('af', { + months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'), + weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split( + '_' + ), + weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'), + weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'), + meridiemParse: /vm|nm/i, + isPM: function (input) { + return /^nm$/i.test(input); + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'vm' : 'VM'; + } else { + return isLower ? 'nm' : 'NM'; + } + }, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Vandag om] LT', + nextDay: '[Môre om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[Gister om] LT', + lastWeek: '[Laas] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'oor %s', + past: '%s gelede', + s: "'n paar sekondes", + ss: '%d sekondes', + m: "'n minuut", + mm: '%d minute', + h: "'n uur", + hh: '%d ure', + d: "'n dag", + dd: '%d dae', + M: "'n maand", + MM: '%d maande', + y: "'n jaar", + yy: '%d jaar', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); // Thanks to Joris Röling : https://github.com/jjupiter + }, + week: { + dow: 1, // Maandag is die eerste dag van die week. + doy: 4, // Die week wat die 4de Januarie bevat is die eerste week van die jaar. + }, + }); + + //! moment.js locale configuration + + var pluralForm = function (n) { + return n === 0 + ? 0 + : n === 1 + ? 1 + : n === 2 + ? 2 + : n % 100 >= 3 && n % 100 <= 10 + ? 3 + : n % 100 >= 11 + ? 4 + : 5; + }, + plurals = { + s: [ + 'أقل من ثانية', + 'ثانية واحدة', + ['ثانيتان', 'ثانيتين'], + '%d ثوان', + '%d ثانية', + '%d ثانية', + ], + m: [ + 'أقل من دقيقة', + 'دقيقة واحدة', + ['دقيقتان', 'دقيقتين'], + '%d دقائق', + '%d دقيقة', + '%d دقيقة', + ], + h: [ + 'أقل من ساعة', + 'ساعة واحدة', + ['ساعتان', 'ساعتين'], + '%d ساعات', + '%d ساعة', + '%d ساعة', + ], + d: [ + 'أقل من يوم', + 'يوم واحد', + ['يومان', 'يومين'], + '%d أيام', + '%d يومًا', + '%d يوم', + ], + M: [ + 'أقل من شهر', + 'شهر واحد', + ['شهران', 'شهرين'], + '%d أشهر', + '%d شهرا', + '%d شهر', + ], + y: [ + 'أقل من عام', + 'عام واحد', + ['عامان', 'عامين'], + '%d أعوام', + '%d عامًا', + '%d عام', + ], + }, + pluralize = function (u) { + return function (number, withoutSuffix, string, isFuture) { + var f = pluralForm(number), + str = plurals[u][pluralForm(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }, + months$1 = [ + 'جانفي', + 'فيفري', + 'مارس', + 'أفريل', + 'ماي', + 'جوان', + 'جويلية', + 'أوت', + 'سبتمبر', + 'أكتوبر', + 'نوفمبر', + 'ديسمبر', + ]; + + hooks.defineLocale('ar-dz', { + months: months$1, + monthsShort: months$1, + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/\u200FM/\u200FYYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم عند الساعة] LT', + nextDay: '[غدًا عند الساعة] LT', + nextWeek: 'dddd [عند الساعة] LT', + lastDay: '[أمس عند الساعة] LT', + lastWeek: 'dddd [عند الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'بعد %s', + past: 'منذ %s', + s: pluralize('s'), + ss: pluralize('s'), + m: pluralize('m'), + mm: pluralize('m'), + h: pluralize('h'), + hh: pluralize('h'), + d: pluralize('d'), + dd: pluralize('d'), + M: pluralize('M'), + MM: pluralize('M'), + y: pluralize('y'), + yy: pluralize('y'), + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('ar-kw', { + months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_' + ), + monthsShort: + 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_' + ), + weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap = { + 1: '1', + 2: '2', + 3: '3', + 4: '4', + 5: '5', + 6: '6', + 7: '7', + 8: '8', + 9: '9', + 0: '0', + }, + pluralForm$1 = function (n) { + return n === 0 + ? 0 + : n === 1 + ? 1 + : n === 2 + ? 2 + : n % 100 >= 3 && n % 100 <= 10 + ? 3 + : n % 100 >= 11 + ? 4 + : 5; + }, + plurals$1 = { + s: [ + 'أقل من ثانية', + 'ثانية واحدة', + ['ثانيتان', 'ثانيتين'], + '%d ثوان', + '%d ثانية', + '%d ثانية', + ], + m: [ + 'أقل من دقيقة', + 'دقيقة واحدة', + ['دقيقتان', 'دقيقتين'], + '%d دقائق', + '%d دقيقة', + '%d دقيقة', + ], + h: [ + 'أقل من ساعة', + 'ساعة واحدة', + ['ساعتان', 'ساعتين'], + '%d ساعات', + '%d ساعة', + '%d ساعة', + ], + d: [ + 'أقل من يوم', + 'يوم واحد', + ['يومان', 'يومين'], + '%d أيام', + '%d يومًا', + '%d يوم', + ], + M: [ + 'أقل من شهر', + 'شهر واحد', + ['شهران', 'شهرين'], + '%d أشهر', + '%d شهرا', + '%d شهر', + ], + y: [ + 'أقل من عام', + 'عام واحد', + ['عامان', 'عامين'], + '%d أعوام', + '%d عامًا', + '%d عام', + ], + }, + pluralize$1 = function (u) { + return function (number, withoutSuffix, string, isFuture) { + var f = pluralForm$1(number), + str = plurals$1[u][pluralForm$1(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }, + months$2 = [ + 'يناير', + 'فبراير', + 'مارس', + 'أبريل', + 'مايو', + 'يونيو', + 'يوليو', + 'أغسطس', + 'سبتمبر', + 'أكتوبر', + 'نوفمبر', + 'ديسمبر', + ]; + + hooks.defineLocale('ar-ly', { + months: months$2, + monthsShort: months$2, + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/\u200FM/\u200FYYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم عند الساعة] LT', + nextDay: '[غدًا عند الساعة] LT', + nextWeek: 'dddd [عند الساعة] LT', + lastDay: '[أمس عند الساعة] LT', + lastWeek: 'dddd [عند الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'بعد %s', + past: 'منذ %s', + s: pluralize$1('s'), + ss: pluralize$1('s'), + m: pluralize$1('m'), + mm: pluralize$1('m'), + h: pluralize$1('h'), + hh: pluralize$1('h'), + d: pluralize$1('d'), + dd: pluralize$1('d'), + M: pluralize$1('M'), + MM: pluralize$1('M'), + y: pluralize$1('y'), + yy: pluralize$1('y'), + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('ar-ma', { + months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_' + ), + monthsShort: + 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_' + ), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$1 = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }; + + hooks.defineLocale('ar-ps', { + months: 'كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل'.split( + '_' + ), + monthsShort: + 'ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١'.split('_'), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + preparse: function (string) { + return string + .replace(/[٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }) + .split('') // reversed since negative lookbehind not supported everywhere + .reverse() + .join('') + .replace(/[١٢](?![\u062a\u0643])/g, function (match) { + return numberMap[match]; + }) + .split('') + .reverse() + .join('') + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap$1[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$2 = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap$1 = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }; + + hooks.defineLocale('ar-sa', { + months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_' + ), + monthsShort: + 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_' + ), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + preparse: function (string) { + return string + .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap$1[match]; + }) + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap$2[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('ar-tn', { + months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_' + ), + monthsShort: + 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_' + ), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$3 = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap$2 = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }, + pluralForm$2 = function (n) { + return n === 0 + ? 0 + : n === 1 + ? 1 + : n === 2 + ? 2 + : n % 100 >= 3 && n % 100 <= 10 + ? 3 + : n % 100 >= 11 + ? 4 + : 5; + }, + plurals$2 = { + s: [ + 'أقل من ثانية', + 'ثانية واحدة', + ['ثانيتان', 'ثانيتين'], + '%d ثوان', + '%d ثانية', + '%d ثانية', + ], + m: [ + 'أقل من دقيقة', + 'دقيقة واحدة', + ['دقيقتان', 'دقيقتين'], + '%d دقائق', + '%d دقيقة', + '%d دقيقة', + ], + h: [ + 'أقل من ساعة', + 'ساعة واحدة', + ['ساعتان', 'ساعتين'], + '%d ساعات', + '%d ساعة', + '%d ساعة', + ], + d: [ + 'أقل من يوم', + 'يوم واحد', + ['يومان', 'يومين'], + '%d أيام', + '%d يومًا', + '%d يوم', + ], + M: [ + 'أقل من شهر', + 'شهر واحد', + ['شهران', 'شهرين'], + '%d أشهر', + '%d شهرا', + '%d شهر', + ], + y: [ + 'أقل من عام', + 'عام واحد', + ['عامان', 'عامين'], + '%d أعوام', + '%d عامًا', + '%d عام', + ], + }, + pluralize$2 = function (u) { + return function (number, withoutSuffix, string, isFuture) { + var f = pluralForm$2(number), + str = plurals$2[u][pluralForm$2(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }, + months$3 = [ + 'يناير', + 'فبراير', + 'مارس', + 'أبريل', + 'مايو', + 'يونيو', + 'يوليو', + 'أغسطس', + 'سبتمبر', + 'أكتوبر', + 'نوفمبر', + 'ديسمبر', + ]; + + hooks.defineLocale('ar', { + months: months$3, + monthsShort: months$3, + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/\u200FM/\u200FYYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم عند الساعة] LT', + nextDay: '[غدًا عند الساعة] LT', + nextWeek: 'dddd [عند الساعة] LT', + lastDay: '[أمس عند الساعة] LT', + lastWeek: 'dddd [عند الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'بعد %s', + past: 'منذ %s', + s: pluralize$2('s'), + ss: pluralize$2('s'), + m: pluralize$2('m'), + mm: pluralize$2('m'), + h: pluralize$2('h'), + hh: pluralize$2('h'), + d: pluralize$2('d'), + dd: pluralize$2('d'), + M: pluralize$2('M'), + MM: pluralize$2('M'), + y: pluralize$2('y'), + yy: pluralize$2('y'), + }, + preparse: function (string) { + return string + .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap$2[match]; + }) + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap$3[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var suffixes = { + 1: '-inci', + 5: '-inci', + 8: '-inci', + 70: '-inci', + 80: '-inci', + 2: '-nci', + 7: '-nci', + 20: '-nci', + 50: '-nci', + 3: '-üncü', + 4: '-üncü', + 100: '-üncü', + 6: '-ncı', + 9: '-uncu', + 10: '-uncu', + 30: '-uncu', + 60: '-ıncı', + 90: '-ıncı', + }; + + hooks.defineLocale('az', { + months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split( + '_' + ), + monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'), + weekdays: + 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split( + '_' + ), + weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'), + weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[bugün saat] LT', + nextDay: '[sabah saat] LT', + nextWeek: '[gələn həftə] dddd [saat] LT', + lastDay: '[dünən] LT', + lastWeek: '[keçən həftə] dddd [saat] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s sonra', + past: '%s əvvəl', + s: 'bir neçə saniyə', + ss: '%d saniyə', + m: 'bir dəqiqə', + mm: '%d dəqiqə', + h: 'bir saat', + hh: '%d saat', + d: 'bir gün', + dd: '%d gün', + M: 'bir ay', + MM: '%d ay', + y: 'bir il', + yy: '%d il', + }, + meridiemParse: /gecə|səhər|gündüz|axşam/, + isPM: function (input) { + return /^(gündüz|axşam)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'gecə'; + } else if (hour < 12) { + return 'səhər'; + } else if (hour < 17) { + return 'gündüz'; + } else { + return 'axşam'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/, + ordinal: function (number) { + if (number === 0) { + // special case for zero + return number + '-ıncı'; + } + var a = number % 10, + b = (number % 100) - a, + c = number >= 100 ? 100 : null; + return number + (suffixes[a] || suffixes[b] || suffixes[c]); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 + ? forms[0] + : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) + ? forms[1] + : forms[2]; + } + function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд', + mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін', + hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін', + dd: 'дзень_дні_дзён', + MM: 'месяц_месяцы_месяцаў', + yy: 'год_гады_гадоў', + }; + if (key === 'm') { + return withoutSuffix ? 'хвіліна' : 'хвіліну'; + } else if (key === 'h') { + return withoutSuffix ? 'гадзіна' : 'гадзіну'; + } else { + return number + ' ' + plural(format[key], +number); + } + } + + hooks.defineLocale('be', { + months: { + format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split( + '_' + ), + standalone: + 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split( + '_' + ), + }, + monthsShort: + 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'), + weekdays: { + format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split( + '_' + ), + standalone: + 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split( + '_' + ), + isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/, + }, + weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'), + weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY г.', + LLL: 'D MMMM YYYY г., HH:mm', + LLLL: 'dddd, D MMMM YYYY г., HH:mm', + }, + calendar: { + sameDay: '[Сёння ў] LT', + nextDay: '[Заўтра ў] LT', + lastDay: '[Учора ў] LT', + nextWeek: function () { + return '[У] dddd [ў] LT'; + }, + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 5: + case 6: + return '[У мінулую] dddd [ў] LT'; + case 1: + case 2: + case 4: + return '[У мінулы] dddd [ў] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'праз %s', + past: '%s таму', + s: 'некалькі секунд', + m: relativeTimeWithPlural, + mm: relativeTimeWithPlural, + h: relativeTimeWithPlural, + hh: relativeTimeWithPlural, + d: 'дзень', + dd: relativeTimeWithPlural, + M: 'месяц', + MM: relativeTimeWithPlural, + y: 'год', + yy: relativeTimeWithPlural, + }, + meridiemParse: /ночы|раніцы|дня|вечара/, + isPM: function (input) { + return /^(дня|вечара)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ночы'; + } else if (hour < 12) { + return 'раніцы'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечара'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + case 'w': + case 'W': + return (number % 10 === 2 || number % 10 === 3) && + number % 100 !== 12 && + number % 100 !== 13 + ? number + '-і' + : number + '-ы'; + case 'D': + return number + '-га'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('bg', { + months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split( + '_' + ), + monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'), + weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split( + '_' + ), + weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'), + weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[Днес в] LT', + nextDay: '[Утре в] LT', + nextWeek: 'dddd [в] LT', + lastDay: '[Вчера в] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 6: + return '[Миналата] dddd [в] LT'; + case 1: + case 2: + case 4: + case 5: + return '[Миналия] dddd [в] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'след %s', + past: 'преди %s', + s: 'няколко секунди', + ss: '%d секунди', + m: 'минута', + mm: '%d минути', + h: 'час', + hh: '%d часа', + d: 'ден', + dd: '%d дена', + w: 'седмица', + ww: '%d седмици', + M: 'месец', + MM: '%d месеца', + y: 'година', + yy: '%d години', + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, + ordinal: function (number) { + var lastDigit = number % 10, + last2Digits = number % 100; + if (number === 0) { + return number + '-ев'; + } else if (last2Digits === 0) { + return number + '-ен'; + } else if (last2Digits > 10 && last2Digits < 20) { + return number + '-ти'; + } else if (lastDigit === 1) { + return number + '-ви'; + } else if (lastDigit === 2) { + return number + '-ри'; + } else if (lastDigit === 7 || lastDigit === 8) { + return number + '-ми'; + } else { + return number + '-ти'; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('bm', { + months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split( + '_' + ), + monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'), + weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'), + weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'), + weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'MMMM [tile] D [san] YYYY', + LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm', + LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm', + }, + calendar: { + sameDay: '[Bi lɛrɛ] LT', + nextDay: '[Sini lɛrɛ] LT', + nextWeek: 'dddd [don lɛrɛ] LT', + lastDay: '[Kunu lɛrɛ] LT', + lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s kɔnɔ', + past: 'a bɛ %s bɔ', + s: 'sanga dama dama', + ss: 'sekondi %d', + m: 'miniti kelen', + mm: 'miniti %d', + h: 'lɛrɛ kelen', + hh: 'lɛrɛ %d', + d: 'tile kelen', + dd: 'tile %d', + M: 'kalo kelen', + MM: 'kalo %d', + y: 'san kelen', + yy: 'san %d', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$4 = { + 1: '১', + 2: '২', + 3: '৩', + 4: '৪', + 5: '৫', + 6: '৬', + 7: '৭', + 8: '৮', + 9: '৯', + 0: '০', + }, + numberMap$3 = { + '১': '1', + '২': '2', + '৩': '3', + '৪': '4', + '৫': '5', + '৬': '6', + '৭': '7', + '৮': '8', + '৯': '9', + '০': '0', + }; + + hooks.defineLocale('bn-bd', { + months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split( + '_' + ), + monthsShort: + 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split( + '_' + ), + weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split( + '_' + ), + weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'), + weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'), + longDateFormat: { + LT: 'A h:mm সময়', + LTS: 'A h:mm:ss সময়', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm সময়', + LLLL: 'dddd, D MMMM YYYY, A h:mm সময়', + }, + calendar: { + sameDay: '[আজ] LT', + nextDay: '[আগামীকাল] LT', + nextWeek: 'dddd, LT', + lastDay: '[গতকাল] LT', + lastWeek: '[গত] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s পরে', + past: '%s আগে', + s: 'কয়েক সেকেন্ড', + ss: '%d সেকেন্ড', + m: 'এক মিনিট', + mm: '%d মিনিট', + h: 'এক ঘন্টা', + hh: '%d ঘন্টা', + d: 'এক দিন', + dd: '%d দিন', + M: 'এক মাস', + MM: '%d মাস', + y: 'এক বছর', + yy: '%d বছর', + }, + preparse: function (string) { + return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) { + return numberMap$3[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$4[match]; + }); + }, + + meridiemParse: /রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'রাত') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ভোর') { + return hour; + } else if (meridiem === 'সকাল') { + return hour; + } else if (meridiem === 'দুপুর') { + return hour >= 3 ? hour : hour + 12; + } else if (meridiem === 'বিকাল') { + return hour + 12; + } else if (meridiem === 'সন্ধ্যা') { + return hour + 12; + } + }, + + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'রাত'; + } else if (hour < 6) { + return 'ভোর'; + } else if (hour < 12) { + return 'সকাল'; + } else if (hour < 15) { + return 'দুপুর'; + } else if (hour < 18) { + return 'বিকাল'; + } else if (hour < 20) { + return 'সন্ধ্যা'; + } else { + return 'রাত'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$5 = { + 1: '১', + 2: '২', + 3: '৩', + 4: '৪', + 5: '৫', + 6: '৬', + 7: '৭', + 8: '৮', + 9: '৯', + 0: '০', + }, + numberMap$4 = { + '১': '1', + '২': '2', + '৩': '3', + '৪': '4', + '৫': '5', + '৬': '6', + '৭': '7', + '৮': '8', + '৯': '9', + '০': '0', + }; + + hooks.defineLocale('bn', { + months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split( + '_' + ), + monthsShort: + 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split( + '_' + ), + weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split( + '_' + ), + weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'), + weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'), + longDateFormat: { + LT: 'A h:mm সময়', + LTS: 'A h:mm:ss সময়', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm সময়', + LLLL: 'dddd, D MMMM YYYY, A h:mm সময়', + }, + calendar: { + sameDay: '[আজ] LT', + nextDay: '[আগামীকাল] LT', + nextWeek: 'dddd, LT', + lastDay: '[গতকাল] LT', + lastWeek: '[গত] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s পরে', + past: '%s আগে', + s: 'কয়েক সেকেন্ড', + ss: '%d সেকেন্ড', + m: 'এক মিনিট', + mm: '%d মিনিট', + h: 'এক ঘন্টা', + hh: '%d ঘন্টা', + d: 'এক দিন', + dd: '%d দিন', + M: 'এক মাস', + MM: '%d মাস', + y: 'এক বছর', + yy: '%d বছর', + }, + preparse: function (string) { + return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) { + return numberMap$4[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$5[match]; + }); + }, + meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + (meridiem === 'রাত' && hour >= 4) || + (meridiem === 'দুপুর' && hour < 5) || + meridiem === 'বিকাল' + ) { + return hour + 12; + } else { + return hour; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'রাত'; + } else if (hour < 10) { + return 'সকাল'; + } else if (hour < 17) { + return 'দুপুর'; + } else if (hour < 20) { + return 'বিকাল'; + } else { + return 'রাত'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$6 = { + 1: '༡', + 2: '༢', + 3: '༣', + 4: '༤', + 5: '༥', + 6: '༦', + 7: '༧', + 8: '༨', + 9: '༩', + 0: '༠', + }, + numberMap$5 = { + '༡': '1', + '༢': '2', + '༣': '3', + '༤': '4', + '༥': '5', + '༦': '6', + '༧': '7', + '༨': '8', + '༩': '9', + '༠': '0', + }; + + hooks.defineLocale('bo', { + months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split( + '_' + ), + monthsShort: + 'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split( + '_' + ), + monthsShortRegex: /^(ཟླ་\d{1,2})/, + monthsParseExact: true, + weekdays: + 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split( + '_' + ), + weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split( + '_' + ), + weekdaysMin: 'ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm', + }, + calendar: { + sameDay: '[དི་རིང] LT', + nextDay: '[སང་ཉིན] LT', + nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT', + lastDay: '[ཁ་སང] LT', + lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ལ་', + past: '%s སྔན་ལ', + s: 'ལམ་སང', + ss: '%d སྐར་ཆ།', + m: 'སྐར་མ་གཅིག', + mm: '%d སྐར་མ', + h: 'ཆུ་ཚོད་གཅིག', + hh: '%d ཆུ་ཚོད', + d: 'ཉིན་གཅིག', + dd: '%d ཉིན་', + M: 'ཟླ་བ་གཅིག', + MM: '%d ཟླ་བ', + y: 'ལོ་གཅིག', + yy: '%d ལོ', + }, + preparse: function (string) { + return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) { + return numberMap$5[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$6[match]; + }); + }, + meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + (meridiem === 'མཚན་མོ' && hour >= 4) || + (meridiem === 'ཉིན་གུང' && hour < 5) || + meridiem === 'དགོང་དག' + ) { + return hour + 12; + } else { + return hour; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'མཚན་མོ'; + } else if (hour < 10) { + return 'ཞོགས་ཀས'; + } else if (hour < 17) { + return 'ཉིན་གུང'; + } else if (hour < 20) { + return 'དགོང་དག'; + } else { + return 'མཚན་མོ'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function relativeTimeWithMutation(number, withoutSuffix, key) { + var format = { + mm: 'munutenn', + MM: 'miz', + dd: 'devezh', + }; + return number + ' ' + mutation(format[key], number); + } + function specialMutationForYears(number) { + switch (lastNumber(number)) { + case 1: + case 3: + case 4: + case 5: + case 9: + return number + ' bloaz'; + default: + return number + ' vloaz'; + } + } + function lastNumber(number) { + if (number > 9) { + return lastNumber(number % 10); + } + return number; + } + function mutation(text, number) { + if (number === 2) { + return softMutation(text); + } + return text; + } + function softMutation(text) { + var mutationTable = { + m: 'v', + b: 'v', + d: 'z', + }; + if (mutationTable[text.charAt(0)] === undefined) { + return text; + } + return mutationTable[text.charAt(0)] + text.substring(1); + } + + var monthsParse = [ + /^gen/i, + /^c[ʼ\']hwe/i, + /^meu/i, + /^ebr/i, + /^mae/i, + /^(mez|eve)/i, + /^gou/i, + /^eos/i, + /^gwe/i, + /^her/i, + /^du/i, + /^ker/i, + ], + monthsRegex$1 = + /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i, + monthsStrictRegex = + /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i, + monthsShortStrictRegex = + /^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i, + fullWeekdaysParse = [ + /^sul/i, + /^lun/i, + /^meurzh/i, + /^merc[ʼ\']her/i, + /^yaou/i, + /^gwener/i, + /^sadorn/i, + ], + shortWeekdaysParse = [ + /^Sul/i, + /^Lun/i, + /^Meu/i, + /^Mer/i, + /^Yao/i, + /^Gwe/i, + /^Sad/i, + ], + minWeekdaysParse = [ + /^Su/i, + /^Lu/i, + /^Me([^r]|$)/i, + /^Mer/i, + /^Ya/i, + /^Gw/i, + /^Sa/i, + ]; + + hooks.defineLocale('br', { + months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split( + '_' + ), + monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'), + weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'), + weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'), + weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'), + weekdaysParse: minWeekdaysParse, + fullWeekdaysParse: fullWeekdaysParse, + shortWeekdaysParse: shortWeekdaysParse, + minWeekdaysParse: minWeekdaysParse, + + monthsRegex: monthsRegex$1, + monthsShortRegex: monthsRegex$1, + monthsStrictRegex: monthsStrictRegex, + monthsShortStrictRegex: monthsShortStrictRegex, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [a viz] MMMM YYYY', + LLL: 'D [a viz] MMMM YYYY HH:mm', + LLLL: 'dddd, D [a viz] MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Hiziv da] LT', + nextDay: '[Warcʼhoazh da] LT', + nextWeek: 'dddd [da] LT', + lastDay: '[Decʼh da] LT', + lastWeek: 'dddd [paset da] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'a-benn %s', + past: '%s ʼzo', + s: 'un nebeud segondennoù', + ss: '%d eilenn', + m: 'ur vunutenn', + mm: relativeTimeWithMutation, + h: 'un eur', + hh: '%d eur', + d: 'un devezh', + dd: relativeTimeWithMutation, + M: 'ur miz', + MM: relativeTimeWithMutation, + y: 'ur bloaz', + yy: specialMutationForYears, + }, + dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/, + ordinal: function (number) { + var output = number === 1 ? 'añ' : 'vet'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + meridiemParse: /a.m.|g.m./, // goude merenn | a-raok merenn + isPM: function (token) { + return token === 'g.m.'; + }, + meridiem: function (hour, minute, isLower) { + return hour < 12 ? 'a.m.' : 'g.m.'; + }, + }); + + //! moment.js locale configuration + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + switch (key) { + case 'm': + return withoutSuffix + ? 'jedna minuta' + : isFuture + ? 'jednu minutu' + : 'jedne minute'; + } + } + + function translate(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'ss': + if (number === 1) { + result += 'sekunda'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sekunde'; + } else { + result += 'sekundi'; + } + return result; + case 'mm': + if (number === 1) { + result += 'minuta'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'minute'; + } else { + result += 'minuta'; + } + return result; + case 'h': + return withoutSuffix ? 'jedan sat' : 'jedan sat'; + case 'hh': + if (number === 1) { + result += 'sat'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sata'; + } else { + result += 'sati'; + } + return result; + case 'dd': + if (number === 1) { + result += 'dan'; + } else { + result += 'dana'; + } + return result; + case 'MM': + if (number === 1) { + result += 'mjesec'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'mjeseca'; + } else { + result += 'mjeseci'; + } + return result; + case 'yy': + if (number === 1) { + result += 'godina'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'godine'; + } else { + result += 'godina'; + } + return result; + } + } + + hooks.defineLocale('bs', { + months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split( + '_' + ), + monthsShort: + 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( + '_' + ), + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sutra u] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay: '[jučer u] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + return '[prošlu] dddd [u] LT'; + case 6: + return '[prošle] [subote] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prošli] dddd [u] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'prije %s', + s: 'par sekundi', + ss: translate, + m: processRelativeTime, + mm: translate, + h: translate, + hh: translate, + d: 'dan', + dd: translate, + M: 'mjesec', + MM: translate, + y: 'godinu', + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('ca', { + months: { + standalone: + 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split( + '_' + ), + format: "de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split( + '_' + ), + isFormat: /D[oD]?(\s)+MMMM/, + }, + monthsShort: + 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split( + '_' + ), + weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'), + weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [de] YYYY', + ll: 'D MMM YYYY', + LLL: 'D MMMM [de] YYYY [a les] H:mm', + lll: 'D MMM YYYY, H:mm', + LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm', + llll: 'ddd D MMM YYYY, H:mm', + }, + calendar: { + sameDay: function () { + return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + nextDay: function () { + return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + lastDay: function () { + return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [passat a ' + + (this.hours() !== 1 ? 'les' : 'la') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: "d'aquí %s", + past: 'fa %s', + s: 'uns segons', + ss: '%d segons', + m: 'un minut', + mm: '%d minuts', + h: 'una hora', + hh: '%d hores', + d: 'un dia', + dd: '%d dies', + M: 'un mes', + MM: '%d mesos', + y: 'un any', + yy: '%d anys', + }, + dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/, + ordinal: function (number, period) { + var output = + number === 1 + ? 'r' + : number === 2 + ? 'n' + : number === 3 + ? 'r' + : number === 4 + ? 't' + : 'è'; + if (period === 'w' || period === 'W') { + output = 'a'; + } + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var months$4 = { + standalone: + 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split( + '_' + ), + format: 'ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince'.split( + '_' + ), + isFormat: /DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/, + }, + monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'), + monthsParse$1 = [ + /^led/i, + /^úno/i, + /^bře/i, + /^dub/i, + /^kvě/i, + /^(čvn|červen$|června)/i, + /^(čvc|červenec|července)/i, + /^srp/i, + /^zář/i, + /^říj/i, + /^lis/i, + /^pro/i, + ], + // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched. + // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'. + monthsRegex$2 = + /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i; + + function plural$1(n) { + return n > 1 && n < 5 && ~~(n / 10) !== 1; + } + function translate$1(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': // a few seconds / in a few seconds / a few seconds ago + return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami'; + case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago + if (withoutSuffix || isFuture) { + return result + (plural$1(number) ? 'sekundy' : 'sekund'); + } else { + return result + 'sekundami'; + } + case 'm': // a minute / in a minute / a minute ago + return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou'; + case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago + if (withoutSuffix || isFuture) { + return result + (plural$1(number) ? 'minuty' : 'minut'); + } else { + return result + 'minutami'; + } + case 'h': // an hour / in an hour / an hour ago + return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou'; + case 'hh': // 9 hours / in 9 hours / 9 hours ago + if (withoutSuffix || isFuture) { + return result + (plural$1(number) ? 'hodiny' : 'hodin'); + } else { + return result + 'hodinami'; + } + case 'd': // a day / in a day / a day ago + return withoutSuffix || isFuture ? 'den' : 'dnem'; + case 'dd': // 9 days / in 9 days / 9 days ago + if (withoutSuffix || isFuture) { + return result + (plural$1(number) ? 'dny' : 'dní'); + } else { + return result + 'dny'; + } + case 'M': // a month / in a month / a month ago + return withoutSuffix || isFuture ? 'měsíc' : 'měsícem'; + case 'MM': // 9 months / in 9 months / 9 months ago + if (withoutSuffix || isFuture) { + return result + (plural$1(number) ? 'měsíce' : 'měsíců'); + } else { + return result + 'měsíci'; + } + case 'y': // a year / in a year / a year ago + return withoutSuffix || isFuture ? 'rok' : 'rokem'; + case 'yy': // 9 years / in 9 years / 9 years ago + if (withoutSuffix || isFuture) { + return result + (plural$1(number) ? 'roky' : 'let'); + } else { + return result + 'lety'; + } + } + } + + hooks.defineLocale('cs', { + months: months$4, + monthsShort: monthsShort, + monthsRegex: monthsRegex$2, + monthsShortRegex: monthsRegex$2, + // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched. + // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'. + monthsStrictRegex: + /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i, + monthsShortStrictRegex: + /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i, + monthsParse: monthsParse$1, + longMonthsParse: monthsParse$1, + shortMonthsParse: monthsParse$1, + weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'), + weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'), + weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd D. MMMM YYYY H:mm', + l: 'D. M. YYYY', + }, + calendar: { + sameDay: '[dnes v] LT', + nextDay: '[zítra v] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[v neděli v] LT'; + case 1: + case 2: + return '[v] dddd [v] LT'; + case 3: + return '[ve středu v] LT'; + case 4: + return '[ve čtvrtek v] LT'; + case 5: + return '[v pátek v] LT'; + case 6: + return '[v sobotu v] LT'; + } + }, + lastDay: '[včera v] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[minulou neděli v] LT'; + case 1: + case 2: + return '[minulé] dddd [v] LT'; + case 3: + return '[minulou středu v] LT'; + case 4: + case 5: + return '[minulý] dddd [v] LT'; + case 6: + return '[minulou sobotu v] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'před %s', + s: translate$1, + ss: translate$1, + m: translate$1, + mm: translate$1, + h: translate$1, + hh: translate$1, + d: translate$1, + dd: translate$1, + M: translate$1, + MM: translate$1, + y: translate$1, + yy: translate$1, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('cv', { + months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split( + '_' + ), + monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'), + weekdays: + 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split( + '_' + ), + weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'), + weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]', + LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm', + LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm', + }, + calendar: { + sameDay: '[Паян] LT [сехетре]', + nextDay: '[Ыран] LT [сехетре]', + lastDay: '[Ӗнер] LT [сехетре]', + nextWeek: '[Ҫитес] dddd LT [сехетре]', + lastWeek: '[Иртнӗ] dddd LT [сехетре]', + sameElse: 'L', + }, + relativeTime: { + future: function (output) { + var affix = /сехет$/i.exec(output) + ? 'рен' + : /ҫул$/i.exec(output) + ? 'тан' + : 'ран'; + return output + affix; + }, + past: '%s каялла', + s: 'пӗр-ик ҫеккунт', + ss: '%d ҫеккунт', + m: 'пӗр минут', + mm: '%d минут', + h: 'пӗр сехет', + hh: '%d сехет', + d: 'пӗр кун', + dd: '%d кун', + M: 'пӗр уйӑх', + MM: '%d уйӑх', + y: 'пӗр ҫул', + yy: '%d ҫул', + }, + dayOfMonthOrdinalParse: /\d{1,2}-мӗш/, + ordinal: '%d-мӗш', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('cy', { + months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split( + '_' + ), + monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split( + '_' + ), + weekdays: + 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split( + '_' + ), + weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'), + weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'), + weekdaysParseExact: true, + // time formats are the same as en-gb + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Heddiw am] LT', + nextDay: '[Yfory am] LT', + nextWeek: 'dddd [am] LT', + lastDay: '[Ddoe am] LT', + lastWeek: 'dddd [diwethaf am] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'mewn %s', + past: '%s yn ôl', + s: 'ychydig eiliadau', + ss: '%d eiliad', + m: 'munud', + mm: '%d munud', + h: 'awr', + hh: '%d awr', + d: 'diwrnod', + dd: '%d diwrnod', + M: 'mis', + MM: '%d mis', + y: 'blwyddyn', + yy: '%d flynedd', + }, + dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/, + // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh + ordinal: function (number) { + var b = number, + output = '', + lookup = [ + '', + 'af', + 'il', + 'ydd', + 'ydd', + 'ed', + 'ed', + 'ed', + 'fed', + 'fed', + 'fed', // 1af to 10fed + 'eg', + 'fed', + 'eg', + 'eg', + 'fed', + 'eg', + 'eg', + 'fed', + 'eg', + 'fed', // 11eg to 20fed + ]; + if (b > 20) { + if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) { + output = 'fed'; // not 30ain, 70ain or 90ain + } else { + output = 'ain'; + } + } else if (b > 0) { + output = lookup[b]; + } + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('da', { + months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), + weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), + weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'), + weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm', + }, + calendar: { + sameDay: '[i dag kl.] LT', + nextDay: '[i morgen kl.] LT', + nextWeek: 'på dddd [kl.] LT', + lastDay: '[i går kl.] LT', + lastWeek: '[i] dddd[s kl.] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'om %s', + past: '%s siden', + s: 'få sekunder', + ss: '%d sekunder', + m: 'et minut', + mm: '%d minutter', + h: 'en time', + hh: '%d timer', + d: 'en dag', + dd: '%d dage', + M: 'en måned', + MM: '%d måneder', + y: 'et år', + yy: '%d år', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function processRelativeTime$1(number, withoutSuffix, key, isFuture) { + var format = { + m: ['eine Minute', 'einer Minute'], + h: ['eine Stunde', 'einer Stunde'], + d: ['ein Tag', 'einem Tag'], + dd: [number + ' Tage', number + ' Tagen'], + w: ['eine Woche', 'einer Woche'], + M: ['ein Monat', 'einem Monat'], + MM: [number + ' Monate', number + ' Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: [number + ' Jahre', number + ' Jahren'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + + hooks.defineLocale('de-at', { + months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_' + ), + monthsShort: + 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + monthsParseExact: true, + weekdays: + 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( + '_' + ), + weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[heute um] LT [Uhr]', + sameElse: 'L', + nextDay: '[morgen um] LT [Uhr]', + nextWeek: 'dddd [um] LT [Uhr]', + lastDay: '[gestern um] LT [Uhr]', + lastWeek: '[letzten] dddd [um] LT [Uhr]', + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: 'ein paar Sekunden', + ss: '%d Sekunden', + m: processRelativeTime$1, + mm: '%d Minuten', + h: processRelativeTime$1, + hh: '%d Stunden', + d: processRelativeTime$1, + dd: processRelativeTime$1, + w: processRelativeTime$1, + ww: '%d Wochen', + M: processRelativeTime$1, + MM: processRelativeTime$1, + y: processRelativeTime$1, + yy: processRelativeTime$1, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function processRelativeTime$2(number, withoutSuffix, key, isFuture) { + var format = { + m: ['eine Minute', 'einer Minute'], + h: ['eine Stunde', 'einer Stunde'], + d: ['ein Tag', 'einem Tag'], + dd: [number + ' Tage', number + ' Tagen'], + w: ['eine Woche', 'einer Woche'], + M: ['ein Monat', 'einem Monat'], + MM: [number + ' Monate', number + ' Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: [number + ' Jahre', number + ' Jahren'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + + hooks.defineLocale('de-ch', { + months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_' + ), + monthsShort: + 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + monthsParseExact: true, + weekdays: + 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( + '_' + ), + weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[heute um] LT [Uhr]', + sameElse: 'L', + nextDay: '[morgen um] LT [Uhr]', + nextWeek: 'dddd [um] LT [Uhr]', + lastDay: '[gestern um] LT [Uhr]', + lastWeek: '[letzten] dddd [um] LT [Uhr]', + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: 'ein paar Sekunden', + ss: '%d Sekunden', + m: processRelativeTime$2, + mm: '%d Minuten', + h: processRelativeTime$2, + hh: '%d Stunden', + d: processRelativeTime$2, + dd: processRelativeTime$2, + w: processRelativeTime$2, + ww: '%d Wochen', + M: processRelativeTime$2, + MM: processRelativeTime$2, + y: processRelativeTime$2, + yy: processRelativeTime$2, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function processRelativeTime$3(number, withoutSuffix, key, isFuture) { + var format = { + m: ['eine Minute', 'einer Minute'], + h: ['eine Stunde', 'einer Stunde'], + d: ['ein Tag', 'einem Tag'], + dd: [number + ' Tage', number + ' Tagen'], + w: ['eine Woche', 'einer Woche'], + M: ['ein Monat', 'einem Monat'], + MM: [number + ' Monate', number + ' Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: [number + ' Jahre', number + ' Jahren'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + + hooks.defineLocale('de', { + months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_' + ), + monthsShort: + 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + monthsParseExact: true, + weekdays: + 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( + '_' + ), + weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[heute um] LT [Uhr]', + sameElse: 'L', + nextDay: '[morgen um] LT [Uhr]', + nextWeek: 'dddd [um] LT [Uhr]', + lastDay: '[gestern um] LT [Uhr]', + lastWeek: '[letzten] dddd [um] LT [Uhr]', + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: 'ein paar Sekunden', + ss: '%d Sekunden', + m: processRelativeTime$3, + mm: '%d Minuten', + h: processRelativeTime$3, + hh: '%d Stunden', + d: processRelativeTime$3, + dd: processRelativeTime$3, + w: processRelativeTime$3, + ww: '%d Wochen', + M: processRelativeTime$3, + MM: processRelativeTime$3, + y: processRelativeTime$3, + yy: processRelativeTime$3, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var months$5 = [ + 'ޖެނުއަރީ', + 'ފެބްރުއަރީ', + 'މާރިޗު', + 'އޭޕްރީލު', + 'މޭ', + 'ޖޫން', + 'ޖުލައި', + 'އޯގަސްޓު', + 'ސެޕްޓެމްބަރު', + 'އޮކްޓޯބަރު', + 'ނޮވެމްބަރު', + 'ޑިސެމްބަރު', + ], + weekdays = [ + 'އާދިއްތަ', + 'ހޯމަ', + 'އަންގާރަ', + 'ބުދަ', + 'ބުރާސްފަތި', + 'ހުކުރު', + 'ހޮނިހިރު', + ]; + + hooks.defineLocale('dv', { + months: months$5, + monthsShort: months$5, + weekdays: weekdays, + weekdaysShort: weekdays, + weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/M/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /މކ|މފ/, + isPM: function (input) { + return 'މފ' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'މކ'; + } else { + return 'މފ'; + } + }, + calendar: { + sameDay: '[މިއަދު] LT', + nextDay: '[މާދަމާ] LT', + nextWeek: 'dddd LT', + lastDay: '[އިއްޔެ] LT', + lastWeek: '[ފާއިތުވި] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ތެރޭގައި %s', + past: 'ކުރިން %s', + s: 'ސިކުންތުކޮޅެއް', + ss: 'd% ސިކުންތު', + m: 'މިނިޓެއް', + mm: 'މިނިޓު %d', + h: 'ގަޑިއިރެއް', + hh: 'ގަޑިއިރު %d', + d: 'ދުވަހެއް', + dd: 'ދުވަސް %d', + M: 'މަހެއް', + MM: 'މަސް %d', + y: 'އަހަރެއް', + yy: 'އަހަރު %d', + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + dow: 7, // Sunday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function isFunction$1(input) { + return ( + (typeof Function !== 'undefined' && input instanceof Function) || + Object.prototype.toString.call(input) === '[object Function]' + ); + } + + hooks.defineLocale('el', { + monthsNominativeEl: + 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split( + '_' + ), + monthsGenitiveEl: + 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split( + '_' + ), + months: function (momentToFormat, format) { + if (!momentToFormat) { + return this._monthsNominativeEl; + } else if ( + typeof format === 'string' && + /D/.test(format.substring(0, format.indexOf('MMMM'))) + ) { + // if there is a day number before 'MMMM' + return this._monthsGenitiveEl[momentToFormat.month()]; + } else { + return this._monthsNominativeEl[momentToFormat.month()]; + } + }, + monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'), + weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split( + '_' + ), + weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'), + weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'), + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'μμ' : 'ΜΜ'; + } else { + return isLower ? 'πμ' : 'ΠΜ'; + } + }, + isPM: function (input) { + return (input + '').toLowerCase()[0] === 'μ'; + }, + meridiemParse: /[ΠΜ]\.?Μ?\.?/i, + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendarEl: { + sameDay: '[Σήμερα {}] LT', + nextDay: '[Αύριο {}] LT', + nextWeek: 'dddd [{}] LT', + lastDay: '[Χθες {}] LT', + lastWeek: function () { + switch (this.day()) { + case 6: + return '[το προηγούμενο] dddd [{}] LT'; + default: + return '[την προηγούμενη] dddd [{}] LT'; + } + }, + sameElse: 'L', + }, + calendar: function (key, mom) { + var output = this._calendarEl[key], + hours = mom && mom.hours(); + if (isFunction$1(output)) { + output = output.apply(mom); + } + return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις'); + }, + relativeTime: { + future: 'σε %s', + past: '%s πριν', + s: 'λίγα δευτερόλεπτα', + ss: '%d δευτερόλεπτα', + m: 'ένα λεπτό', + mm: '%d λεπτά', + h: 'μία ώρα', + hh: '%d ώρες', + d: 'μία μέρα', + dd: '%d μέρες', + M: 'ένας μήνας', + MM: '%d μήνες', + y: 'ένας χρόνος', + yy: '%d χρόνια', + }, + dayOfMonthOrdinalParse: /\d{1,2}η/, + ordinal: '%dη', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4st is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('en-au', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('en-ca', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'YYYY-MM-DD', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY h:mm A', + LLLL: 'dddd, MMMM D, YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('en-gb', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('en-ie', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('en-il', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('en-in', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 1st is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('en-nz', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('en-sg', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('eo', { + months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split( + '_' + ), + monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec'.split('_'), + weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'), + weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'), + weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: '[la] D[-an de] MMMM, YYYY', + LLL: '[la] D[-an de] MMMM, YYYY HH:mm', + LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm', + llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm', + }, + meridiemParse: /[ap]\.t\.m/i, + isPM: function (input) { + return input.charAt(0).toLowerCase() === 'p'; + }, + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'p.t.m.' : 'P.T.M.'; + } else { + return isLower ? 'a.t.m.' : 'A.T.M.'; + } + }, + calendar: { + sameDay: '[Hodiaŭ je] LT', + nextDay: '[Morgaŭ je] LT', + nextWeek: 'dddd[n je] LT', + lastDay: '[Hieraŭ je] LT', + lastWeek: '[pasintan] dddd[n je] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'post %s', + past: 'antaŭ %s', + s: 'kelkaj sekundoj', + ss: '%d sekundoj', + m: 'unu minuto', + mm: '%d minutoj', + h: 'unu horo', + hh: '%d horoj', + d: 'unu tago', //ne 'diurno', ĉar estas uzita por proksimumo + dd: '%d tagoj', + M: 'unu monato', + MM: '%d monatoj', + y: 'unu jaro', + yy: '%d jaroj', + }, + dayOfMonthOrdinalParse: /\d{1,2}a/, + ordinal: '%da', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var monthsShortDot = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort$1 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse$2 = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex$3 = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + + hooks.defineLocale('es-do', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot; + } else if (/-MMM-/.test(format)) { + return monthsShort$1[m.month()]; + } else { + return monthsShortDot[m.month()]; + } + }, + monthsRegex: monthsRegex$3, + monthsShortRegex: monthsRegex$3, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse$2, + longMonthsParse: monthsParse$2, + shortMonthsParse: monthsParse$2, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY h:mm A', + LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var monthsShortDot$1 = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort$2 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse$3 = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex$4 = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + + hooks.defineLocale('es-mx', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot$1; + } else if (/-MMM-/.test(format)) { + return monthsShort$2[m.month()]; + } else { + return monthsShortDot$1[m.month()]; + } + }, + monthsRegex: monthsRegex$4, + monthsShortRegex: monthsRegex$4, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse$3, + longMonthsParse: monthsParse$3, + shortMonthsParse: monthsParse$3, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 0, // Sunday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + invalidDate: 'Fecha inválida', + }); + + //! moment.js locale configuration + + var monthsShortDot$2 = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort$3 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse$4 = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex$5 = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + + hooks.defineLocale('es-us', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot$2; + } else if (/-MMM-/.test(format)) { + return monthsShort$3[m.month()]; + } else { + return monthsShortDot$2[m.month()]; + } + }, + monthsRegex: monthsRegex$5, + monthsShortRegex: monthsRegex$5, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse$4, + longMonthsParse: monthsParse$4, + shortMonthsParse: monthsParse$4, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'MM/DD/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY h:mm A', + LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var monthsShortDot$3 = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort$4 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse$5 = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex$6 = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + + hooks.defineLocale('es', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot$3; + } else if (/-MMM-/.test(format)) { + return monthsShort$4[m.month()]; + } else { + return monthsShortDot$3[m.month()]; + } + }, + monthsRegex: monthsRegex$6, + monthsShortRegex: monthsRegex$6, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse$5, + longMonthsParse: monthsParse$5, + shortMonthsParse: monthsParse$5, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + invalidDate: 'Fecha inválida', + }); + + //! moment.js locale configuration + + function processRelativeTime$4(number, withoutSuffix, key, isFuture) { + var format = { + s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'], + ss: [number + 'sekundi', number + 'sekundit'], + m: ['ühe minuti', 'üks minut'], + mm: [number + ' minuti', number + ' minutit'], + h: ['ühe tunni', 'tund aega', 'üks tund'], + hh: [number + ' tunni', number + ' tundi'], + d: ['ühe päeva', 'üks päev'], + M: ['kuu aja', 'kuu aega', 'üks kuu'], + MM: [number + ' kuu', number + ' kuud'], + y: ['ühe aasta', 'aasta', 'üks aasta'], + yy: [number + ' aasta', number + ' aastat'], + }; + if (withoutSuffix) { + return format[key][2] ? format[key][2] : format[key][1]; + } + return isFuture ? format[key][0] : format[key][1]; + } + + hooks.defineLocale('et', { + months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split( + '_' + ), + monthsShort: + 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'), + weekdays: + 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split( + '_' + ), + weekdaysShort: 'P_E_T_K_N_R_L'.split('_'), + weekdaysMin: 'P_E_T_K_N_R_L'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[Täna,] LT', + nextDay: '[Homme,] LT', + nextWeek: '[Järgmine] dddd LT', + lastDay: '[Eile,] LT', + lastWeek: '[Eelmine] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s pärast', + past: '%s tagasi', + s: processRelativeTime$4, + ss: processRelativeTime$4, + m: processRelativeTime$4, + mm: processRelativeTime$4, + h: processRelativeTime$4, + hh: processRelativeTime$4, + d: processRelativeTime$4, + dd: '%d päeva', + M: processRelativeTime$4, + MM: processRelativeTime$4, + y: processRelativeTime$4, + yy: processRelativeTime$4, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('eu', { + months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split( + '_' + ), + monthsShort: + 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split( + '_' + ), + weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'), + weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY[ko] MMMM[ren] D[a]', + LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm', + LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm', + l: 'YYYY-M-D', + ll: 'YYYY[ko] MMM D[a]', + lll: 'YYYY[ko] MMM D[a] HH:mm', + llll: 'ddd, YYYY[ko] MMM D[a] HH:mm', + }, + calendar: { + sameDay: '[gaur] LT[etan]', + nextDay: '[bihar] LT[etan]', + nextWeek: 'dddd LT[etan]', + lastDay: '[atzo] LT[etan]', + lastWeek: '[aurreko] dddd LT[etan]', + sameElse: 'L', + }, + relativeTime: { + future: '%s barru', + past: 'duela %s', + s: 'segundo batzuk', + ss: '%d segundo', + m: 'minutu bat', + mm: '%d minutu', + h: 'ordu bat', + hh: '%d ordu', + d: 'egun bat', + dd: '%d egun', + M: 'hilabete bat', + MM: '%d hilabete', + y: 'urte bat', + yy: '%d urte', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$7 = { + 1: '۱', + 2: '۲', + 3: '۳', + 4: '۴', + 5: '۵', + 6: '۶', + 7: '۷', + 8: '۸', + 9: '۹', + 0: '۰', + }, + numberMap$6 = { + '۱': '1', + '۲': '2', + '۳': '3', + '۴': '4', + '۵': '5', + '۶': '6', + '۷': '7', + '۸': '8', + '۹': '9', + '۰': '0', + }; + + hooks.defineLocale('fa', { + months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split( + '_' + ), + monthsShort: + 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split( + '_' + ), + weekdays: + 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split( + '_' + ), + weekdaysShort: + 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split( + '_' + ), + weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + meridiemParse: /قبل از ظهر|بعد از ظهر/, + isPM: function (input) { + return /بعد از ظهر/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'قبل از ظهر'; + } else { + return 'بعد از ظهر'; + } + }, + calendar: { + sameDay: '[امروز ساعت] LT', + nextDay: '[فردا ساعت] LT', + nextWeek: 'dddd [ساعت] LT', + lastDay: '[دیروز ساعت] LT', + lastWeek: 'dddd [پیش] [ساعت] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'در %s', + past: '%s پیش', + s: 'چند ثانیه', + ss: '%d ثانیه', + m: 'یک دقیقه', + mm: '%d دقیقه', + h: 'یک ساعت', + hh: '%d ساعت', + d: 'یک روز', + dd: '%d روز', + M: 'یک ماه', + MM: '%d ماه', + y: 'یک سال', + yy: '%d سال', + }, + preparse: function (string) { + return string + .replace(/[۰-۹]/g, function (match) { + return numberMap$6[match]; + }) + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap$7[match]; + }) + .replace(/,/g, '،'); + }, + dayOfMonthOrdinalParse: /\d{1,2}م/, + ordinal: '%dم', + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var numbersPast = + 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split( + ' ' + ), + numbersFuture = [ + 'nolla', + 'yhden', + 'kahden', + 'kolmen', + 'neljän', + 'viiden', + 'kuuden', + numbersPast[7], + numbersPast[8], + numbersPast[9], + ]; + function translate$2(number, withoutSuffix, key, isFuture) { + var result = ''; + switch (key) { + case 's': + return isFuture ? 'muutaman sekunnin' : 'muutama sekunti'; + case 'ss': + result = isFuture ? 'sekunnin' : 'sekuntia'; + break; + case 'm': + return isFuture ? 'minuutin' : 'minuutti'; + case 'mm': + result = isFuture ? 'minuutin' : 'minuuttia'; + break; + case 'h': + return isFuture ? 'tunnin' : 'tunti'; + case 'hh': + result = isFuture ? 'tunnin' : 'tuntia'; + break; + case 'd': + return isFuture ? 'päivän' : 'päivä'; + case 'dd': + result = isFuture ? 'päivän' : 'päivää'; + break; + case 'M': + return isFuture ? 'kuukauden' : 'kuukausi'; + case 'MM': + result = isFuture ? 'kuukauden' : 'kuukautta'; + break; + case 'y': + return isFuture ? 'vuoden' : 'vuosi'; + case 'yy': + result = isFuture ? 'vuoden' : 'vuotta'; + break; + } + result = verbalNumber(number, isFuture) + ' ' + result; + return result; + } + function verbalNumber(number, isFuture) { + return number < 10 + ? isFuture + ? numbersFuture[number] + : numbersPast[number] + : number; + } + + hooks.defineLocale('fi', { + months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split( + '_' + ), + monthsShort: + 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split( + '_' + ), + weekdays: + 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split( + '_' + ), + weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'), + weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD.MM.YYYY', + LL: 'Do MMMM[ta] YYYY', + LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm', + LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm', + l: 'D.M.YYYY', + ll: 'Do MMM YYYY', + lll: 'Do MMM YYYY, [klo] HH.mm', + llll: 'ddd, Do MMM YYYY, [klo] HH.mm', + }, + calendar: { + sameDay: '[tänään] [klo] LT', + nextDay: '[huomenna] [klo] LT', + nextWeek: 'dddd [klo] LT', + lastDay: '[eilen] [klo] LT', + lastWeek: '[viime] dddd[na] [klo] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s päästä', + past: '%s sitten', + s: translate$2, + ss: translate$2, + m: translate$2, + mm: translate$2, + h: translate$2, + hh: translate$2, + d: translate$2, + dd: translate$2, + M: translate$2, + MM: translate$2, + y: translate$2, + yy: translate$2, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('fil', { + months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split( + '_' + ), + monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), + weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split( + '_' + ), + weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), + weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'MM/D/YYYY', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY HH:mm', + LLLL: 'dddd, MMMM DD, YYYY HH:mm', + }, + calendar: { + sameDay: 'LT [ngayong araw]', + nextDay: '[Bukas ng] LT', + nextWeek: 'LT [sa susunod na] dddd', + lastDay: 'LT [kahapon]', + lastWeek: 'LT [noong nakaraang] dddd', + sameElse: 'L', + }, + relativeTime: { + future: 'sa loob ng %s', + past: '%s ang nakalipas', + s: 'ilang segundo', + ss: '%d segundo', + m: 'isang minuto', + mm: '%d minuto', + h: 'isang oras', + hh: '%d oras', + d: 'isang araw', + dd: '%d araw', + M: 'isang buwan', + MM: '%d buwan', + y: 'isang taon', + yy: '%d taon', + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: function (number) { + return number; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('fo', { + months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), + weekdays: + 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split( + '_' + ), + weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'), + weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D. MMMM, YYYY HH:mm', + }, + calendar: { + sameDay: '[Í dag kl.] LT', + nextDay: '[Í morgin kl.] LT', + nextWeek: 'dddd [kl.] LT', + lastDay: '[Í gjár kl.] LT', + lastWeek: '[síðstu] dddd [kl] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'um %s', + past: '%s síðani', + s: 'fá sekund', + ss: '%d sekundir', + m: 'ein minuttur', + mm: '%d minuttir', + h: 'ein tími', + hh: '%d tímar', + d: 'ein dagur', + dd: '%d dagar', + M: 'ein mánaður', + MM: '%d mánaðir', + y: 'eitt ár', + yy: '%d ár', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('fr-ca', { + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( + '_' + ), + monthsShort: + 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Aujourd’hui à] LT', + nextDay: '[Demain à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[Hier à] LT', + lastWeek: 'dddd [dernier à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + ss: '%d secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, + ordinal: function (number, period) { + switch (period) { + // Words with masculine grammatical gender: mois, trimestre, jour + default: + case 'M': + case 'Q': + case 'D': + case 'DDD': + case 'd': + return number + (number === 1 ? 'er' : 'e'); + + // Words with feminine grammatical gender: semaine + case 'w': + case 'W': + return number + (number === 1 ? 're' : 'e'); + } + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('fr-ch', { + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( + '_' + ), + monthsShort: + 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Aujourd’hui à] LT', + nextDay: '[Demain à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[Hier à] LT', + lastWeek: 'dddd [dernier à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + ss: '%d secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, + ordinal: function (number, period) { + switch (period) { + // Words with masculine grammatical gender: mois, trimestre, jour + default: + case 'M': + case 'Q': + case 'D': + case 'DDD': + case 'd': + return number + (number === 1 ? 'er' : 'e'); + + // Words with feminine grammatical gender: semaine + case 'w': + case 'W': + return number + (number === 1 ? 're' : 'e'); + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var monthsStrictRegex$1 = + /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, + monthsShortStrictRegex$1 = + /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i, + monthsRegex$7 = + /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, + monthsParse$6 = [ + /^janv/i, + /^févr/i, + /^mars/i, + /^avr/i, + /^mai/i, + /^juin/i, + /^juil/i, + /^août/i, + /^sept/i, + /^oct/i, + /^nov/i, + /^déc/i, + ]; + + hooks.defineLocale('fr', { + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( + '_' + ), + monthsShort: + 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( + '_' + ), + monthsRegex: monthsRegex$7, + monthsShortRegex: monthsRegex$7, + monthsStrictRegex: monthsStrictRegex$1, + monthsShortStrictRegex: monthsShortStrictRegex$1, + monthsParse: monthsParse$6, + longMonthsParse: monthsParse$6, + shortMonthsParse: monthsParse$6, + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Aujourd’hui à] LT', + nextDay: '[Demain à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[Hier à] LT', + lastWeek: 'dddd [dernier à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + ss: '%d secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + w: 'une semaine', + ww: '%d semaines', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(er|)/, + ordinal: function (number, period) { + switch (period) { + // TODO: Return 'e' when day of month > 1. Move this case inside + // block for masculine words below. + // See https://github.com/moment/moment/issues/3375 + case 'D': + return number + (number === 1 ? 'er' : ''); + + // Words with masculine grammatical gender: mois, trimestre, jour + default: + case 'M': + case 'Q': + case 'DDD': + case 'd': + return number + (number === 1 ? 'er' : 'e'); + + // Words with feminine grammatical gender: semaine + case 'w': + case 'W': + return number + (number === 1 ? 're' : 'e'); + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var monthsShortWithDots = + 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'), + monthsShortWithoutDots = + 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'); + + hooks.defineLocale('fy', { + months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortWithDots; + } else if (/-MMM-/.test(format)) { + return monthsShortWithoutDots[m.month()]; + } else { + return monthsShortWithDots[m.month()]; + } + }, + monthsParseExact: true, + weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split( + '_' + ), + weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'), + weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[hjoed om] LT', + nextDay: '[moarn om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[juster om] LT', + lastWeek: '[ôfrûne] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'oer %s', + past: '%s lyn', + s: 'in pear sekonden', + ss: '%d sekonden', + m: 'ien minút', + mm: '%d minuten', + h: 'ien oere', + hh: '%d oeren', + d: 'ien dei', + dd: '%d dagen', + M: 'ien moanne', + MM: '%d moannen', + y: 'ien jier', + yy: '%d jierren', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var months$6 = [ + 'Eanáir', + 'Feabhra', + 'Márta', + 'Aibreán', + 'Bealtaine', + 'Meitheamh', + 'Iúil', + 'Lúnasa', + 'Meán Fómhair', + 'Deireadh Fómhair', + 'Samhain', + 'Nollaig', + ], + monthsShort$5 = [ + 'Ean', + 'Feabh', + 'Márt', + 'Aib', + 'Beal', + 'Meith', + 'Iúil', + 'Lún', + 'M.F.', + 'D.F.', + 'Samh', + 'Noll', + ], + weekdays$1 = [ + 'Dé Domhnaigh', + 'Dé Luain', + 'Dé Máirt', + 'Dé Céadaoin', + 'Déardaoin', + 'Dé hAoine', + 'Dé Sathairn', + ], + weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'], + weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa']; + + hooks.defineLocale('ga', { + months: months$6, + monthsShort: monthsShort$5, + monthsParseExact: true, + weekdays: weekdays$1, + weekdaysShort: weekdaysShort, + weekdaysMin: weekdaysMin, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Inniu ag] LT', + nextDay: '[Amárach ag] LT', + nextWeek: 'dddd [ag] LT', + lastDay: '[Inné ag] LT', + lastWeek: 'dddd [seo caite] [ag] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'i %s', + past: '%s ó shin', + s: 'cúpla soicind', + ss: '%d soicind', + m: 'nóiméad', + mm: '%d nóiméad', + h: 'uair an chloig', + hh: '%d uair an chloig', + d: 'lá', + dd: '%d lá', + M: 'mí', + MM: '%d míonna', + y: 'bliain', + yy: '%d bliain', + }, + dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/, + ordinal: function (number) { + var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var months$7 = [ + 'Am Faoilleach', + 'An Gearran', + 'Am Màrt', + 'An Giblean', + 'An Cèitean', + 'An t-Ògmhios', + 'An t-Iuchar', + 'An Lùnastal', + 'An t-Sultain', + 'An Dàmhair', + 'An t-Samhain', + 'An Dùbhlachd', + ], + monthsShort$6 = [ + 'Faoi', + 'Gear', + 'Màrt', + 'Gibl', + 'Cèit', + 'Ògmh', + 'Iuch', + 'Lùn', + 'Sult', + 'Dàmh', + 'Samh', + 'Dùbh', + ], + weekdays$2 = [ + 'Didòmhnaich', + 'Diluain', + 'Dimàirt', + 'Diciadain', + 'Diardaoin', + 'Dihaoine', + 'Disathairne', + ], + weekdaysShort$1 = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'], + weekdaysMin$1 = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa']; + + hooks.defineLocale('gd', { + months: months$7, + monthsShort: monthsShort$6, + monthsParseExact: true, + weekdays: weekdays$2, + weekdaysShort: weekdaysShort$1, + weekdaysMin: weekdaysMin$1, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[An-diugh aig] LT', + nextDay: '[A-màireach aig] LT', + nextWeek: 'dddd [aig] LT', + lastDay: '[An-dè aig] LT', + lastWeek: 'dddd [seo chaidh] [aig] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ann an %s', + past: 'bho chionn %s', + s: 'beagan diogan', + ss: '%d diogan', + m: 'mionaid', + mm: '%d mionaidean', + h: 'uair', + hh: '%d uairean', + d: 'latha', + dd: '%d latha', + M: 'mìos', + MM: '%d mìosan', + y: 'bliadhna', + yy: '%d bliadhna', + }, + dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/, + ordinal: function (number) { + var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('gl', { + months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split( + '_' + ), + monthsShort: + 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', + }, + calendar: { + sameDay: function () { + return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT'; + }, + nextDay: function () { + return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT'; + }, + nextWeek: function () { + return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT'; + }, + lastDay: function () { + return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT'; + }, + lastWeek: function () { + return ( + '[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: function (str) { + if (str.indexOf('un') === 0) { + return 'n' + str; + } + return 'en ' + str; + }, + past: 'hai %s', + s: 'uns segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'unha hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + M: 'un mes', + MM: '%d meses', + y: 'un ano', + yy: '%d anos', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function processRelativeTime$5(number, withoutSuffix, key, isFuture) { + var format = { + s: ['थोडया सॅकंडांनी', 'थोडे सॅकंड'], + ss: [number + ' सॅकंडांनी', number + ' सॅकंड'], + m: ['एका मिणटान', 'एक मिनूट'], + mm: [number + ' मिणटांनी', number + ' मिणटां'], + h: ['एका वरान', 'एक वर'], + hh: [number + ' वरांनी', number + ' वरां'], + d: ['एका दिसान', 'एक दीस'], + dd: [number + ' दिसांनी', number + ' दीस'], + M: ['एका म्हयन्यान', 'एक म्हयनो'], + MM: [number + ' म्हयन्यानी', number + ' म्हयने'], + y: ['एका वर्सान', 'एक वर्स'], + yy: [number + ' वर्सांनी', number + ' वर्सां'], + }; + return isFuture ? format[key][0] : format[key][1]; + } + + hooks.defineLocale('gom-deva', { + months: { + standalone: + 'जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split( + '_' + ), + format: 'जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या'.split( + '_' + ), + isFormat: /MMMM(\s)+D[oD]?/, + }, + monthsShort: + 'जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार'.split('_'), + weekdaysShort: 'आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.'.split('_'), + weekdaysMin: 'आ_सो_मं_बु_ब्रे_सु_शे'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'A h:mm [वाजतां]', + LTS: 'A h:mm:ss [वाजतां]', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY A h:mm [वाजतां]', + LLLL: 'dddd, MMMM Do, YYYY, A h:mm [वाजतां]', + llll: 'ddd, D MMM YYYY, A h:mm [वाजतां]', + }, + calendar: { + sameDay: '[आयज] LT', + nextDay: '[फाल्यां] LT', + nextWeek: '[फुडलो] dddd[,] LT', + lastDay: '[काल] LT', + lastWeek: '[फाटलो] dddd[,] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s', + past: '%s आदीं', + s: processRelativeTime$5, + ss: processRelativeTime$5, + m: processRelativeTime$5, + mm: processRelativeTime$5, + h: processRelativeTime$5, + hh: processRelativeTime$5, + d: processRelativeTime$5, + dd: processRelativeTime$5, + M: processRelativeTime$5, + MM: processRelativeTime$5, + y: processRelativeTime$5, + yy: processRelativeTime$5, + }, + dayOfMonthOrdinalParse: /\d{1,2}(वेर)/, + ordinal: function (number, period) { + switch (period) { + // the ordinal 'वेर' only applies to day of the month + case 'D': + return number + 'वेर'; + default: + case 'M': + case 'Q': + case 'DDD': + case 'd': + case 'w': + case 'W': + return number; + } + }, + week: { + dow: 0, // Sunday is the first day of the week + doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4) + }, + meridiemParse: /राती|सकाळीं|दनपारां|सांजे/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'राती') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'सकाळीं') { + return hour; + } else if (meridiem === 'दनपारां') { + return hour > 12 ? hour : hour + 12; + } else if (meridiem === 'सांजे') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'राती'; + } else if (hour < 12) { + return 'सकाळीं'; + } else if (hour < 16) { + return 'दनपारां'; + } else if (hour < 20) { + return 'सांजे'; + } else { + return 'राती'; + } + }, + }); + + //! moment.js locale configuration + + function processRelativeTime$6(number, withoutSuffix, key, isFuture) { + var format = { + s: ['thoddea sekondamni', 'thodde sekond'], + ss: [number + ' sekondamni', number + ' sekond'], + m: ['eka mintan', 'ek minut'], + mm: [number + ' mintamni', number + ' mintam'], + h: ['eka voran', 'ek vor'], + hh: [number + ' voramni', number + ' voram'], + d: ['eka disan', 'ek dis'], + dd: [number + ' disamni', number + ' dis'], + M: ['eka mhoinean', 'ek mhoino'], + MM: [number + ' mhoineamni', number + ' mhoine'], + y: ['eka vorsan', 'ek voros'], + yy: [number + ' vorsamni', number + ' vorsam'], + }; + return isFuture ? format[key][0] : format[key][1]; + } + + hooks.defineLocale('gom-latn', { + months: { + standalone: + 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split( + '_' + ), + format: 'Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea'.split( + '_' + ), + isFormat: /MMMM(\s)+D[oD]?/, + }, + monthsShort: + 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'), + monthsParseExact: true, + weekdays: "Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split('_'), + weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'), + weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'A h:mm [vazta]', + LTS: 'A h:mm:ss [vazta]', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY A h:mm [vazta]', + LLLL: 'dddd, MMMM Do, YYYY, A h:mm [vazta]', + llll: 'ddd, D MMM YYYY, A h:mm [vazta]', + }, + calendar: { + sameDay: '[Aiz] LT', + nextDay: '[Faleam] LT', + nextWeek: '[Fuddlo] dddd[,] LT', + lastDay: '[Kal] LT', + lastWeek: '[Fattlo] dddd[,] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s', + past: '%s adim', + s: processRelativeTime$6, + ss: processRelativeTime$6, + m: processRelativeTime$6, + mm: processRelativeTime$6, + h: processRelativeTime$6, + hh: processRelativeTime$6, + d: processRelativeTime$6, + dd: processRelativeTime$6, + M: processRelativeTime$6, + MM: processRelativeTime$6, + y: processRelativeTime$6, + yy: processRelativeTime$6, + }, + dayOfMonthOrdinalParse: /\d{1,2}(er)/, + ordinal: function (number, period) { + switch (period) { + // the ordinal 'er' only applies to day of the month + case 'D': + return number + 'er'; + default: + case 'M': + case 'Q': + case 'DDD': + case 'd': + case 'w': + case 'W': + return number; + } + }, + week: { + dow: 0, // Sunday is the first day of the week + doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4) + }, + meridiemParse: /rati|sokallim|donparam|sanje/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'rati') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'sokallim') { + return hour; + } else if (meridiem === 'donparam') { + return hour > 12 ? hour : hour + 12; + } else if (meridiem === 'sanje') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'rati'; + } else if (hour < 12) { + return 'sokallim'; + } else if (hour < 16) { + return 'donparam'; + } else if (hour < 20) { + return 'sanje'; + } else { + return 'rati'; + } + }, + }); + + //! moment.js locale configuration + + var symbolMap$8 = { + 1: '૧', + 2: '૨', + 3: '૩', + 4: '૪', + 5: '૫', + 6: '૬', + 7: '૭', + 8: '૮', + 9: '૯', + 0: '૦', + }, + numberMap$7 = { + '૧': '1', + '૨': '2', + '૩': '3', + '૪': '4', + '૫': '5', + '૬': '6', + '૭': '7', + '૮': '8', + '૯': '9', + '૦': '0', + }; + + hooks.defineLocale('gu', { + months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split( + '_' + ), + monthsShort: + 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split( + '_' + ), + weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'), + weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'), + longDateFormat: { + LT: 'A h:mm વાગ્યે', + LTS: 'A h:mm:ss વાગ્યે', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm વાગ્યે', + LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે', + }, + calendar: { + sameDay: '[આજ] LT', + nextDay: '[કાલે] LT', + nextWeek: 'dddd, LT', + lastDay: '[ગઇકાલે] LT', + lastWeek: '[પાછલા] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s મા', + past: '%s પહેલા', + s: 'અમુક પળો', + ss: '%d સેકંડ', + m: 'એક મિનિટ', + mm: '%d મિનિટ', + h: 'એક કલાક', + hh: '%d કલાક', + d: 'એક દિવસ', + dd: '%d દિવસ', + M: 'એક મહિનો', + MM: '%d મહિનો', + y: 'એક વર્ષ', + yy: '%d વર્ષ', + }, + preparse: function (string) { + return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) { + return numberMap$7[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$8[match]; + }); + }, + // Gujarati notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati. + meridiemParse: /રાત|બપોર|સવાર|સાંજ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'રાત') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'સવાર') { + return hour; + } else if (meridiem === 'બપોર') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'સાંજ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'રાત'; + } else if (hour < 10) { + return 'સવાર'; + } else if (hour < 17) { + return 'બપોર'; + } else if (hour < 20) { + return 'સાંજ'; + } else { + return 'રાત'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('he', { + months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split( + '_' + ), + monthsShort: + 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'), + weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'), + weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'), + weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [ב]MMMM YYYY', + LLL: 'D [ב]MMMM YYYY HH:mm', + LLLL: 'dddd, D [ב]MMMM YYYY HH:mm', + l: 'D/M/YYYY', + ll: 'D MMM YYYY', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd, D MMM YYYY HH:mm', + }, + calendar: { + sameDay: '[היום ב־]LT', + nextDay: '[מחר ב־]LT', + nextWeek: 'dddd [בשעה] LT', + lastDay: '[אתמול ב־]LT', + lastWeek: '[ביום] dddd [האחרון בשעה] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'בעוד %s', + past: 'לפני %s', + s: 'מספר שניות', + ss: '%d שניות', + m: 'דקה', + mm: '%d דקות', + h: 'שעה', + hh: function (number) { + if (number === 2) { + return 'שעתיים'; + } + return number + ' שעות'; + }, + d: 'יום', + dd: function (number) { + if (number === 2) { + return 'יומיים'; + } + return number + ' ימים'; + }, + M: 'חודש', + MM: function (number) { + if (number === 2) { + return 'חודשיים'; + } + return number + ' חודשים'; + }, + y: 'שנה', + yy: function (number) { + if (number === 2) { + return 'שנתיים'; + } else if (number % 10 === 0 && number !== 10) { + return number + ' שנה'; + } + return number + ' שנים'; + }, + }, + meridiemParse: + /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i, + isPM: function (input) { + return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 5) { + return 'לפנות בוקר'; + } else if (hour < 10) { + return 'בבוקר'; + } else if (hour < 12) { + return isLower ? 'לפנה"צ' : 'לפני הצהריים'; + } else if (hour < 18) { + return isLower ? 'אחה"צ' : 'אחרי הצהריים'; + } else { + return 'בערב'; + } + }, + }); + + //! moment.js locale configuration + + var symbolMap$9 = { + 1: '१', + 2: '२', + 3: '३', + 4: '४', + 5: '५', + 6: '६', + 7: '७', + 8: '८', + 9: '९', + 0: '०', + }, + numberMap$8 = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0', + }, + monthsParse$7 = [ + /^जन/i, + /^फ़र|फर/i, + /^मार्च/i, + /^अप्रै/i, + /^मई/i, + /^जून/i, + /^जुल/i, + /^अग/i, + /^सितं|सित/i, + /^अक्टू/i, + /^नव|नवं/i, + /^दिसं|दिस/i, + ], + shortMonthsParse = [ + /^जन/i, + /^फ़र/i, + /^मार्च/i, + /^अप्रै/i, + /^मई/i, + /^जून/i, + /^जुल/i, + /^अग/i, + /^सित/i, + /^अक्टू/i, + /^नव/i, + /^दिस/i, + ]; + + hooks.defineLocale('hi', { + months: { + format: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split( + '_' + ), + standalone: + 'जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर'.split( + '_' + ), + }, + monthsShort: + 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'), + weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'), + weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'), + longDateFormat: { + LT: 'A h:mm बजे', + LTS: 'A h:mm:ss बजे', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm बजे', + LLLL: 'dddd, D MMMM YYYY, A h:mm बजे', + }, + + monthsParse: monthsParse$7, + longMonthsParse: monthsParse$7, + shortMonthsParse: shortMonthsParse, + + monthsRegex: + /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i, + + monthsShortRegex: + /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i, + + monthsStrictRegex: + /^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i, + + monthsShortStrictRegex: + /^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i, + + calendar: { + sameDay: '[आज] LT', + nextDay: '[कल] LT', + nextWeek: 'dddd, LT', + lastDay: '[कल] LT', + lastWeek: '[पिछले] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s में', + past: '%s पहले', + s: 'कुछ ही क्षण', + ss: '%d सेकंड', + m: 'एक मिनट', + mm: '%d मिनट', + h: 'एक घंटा', + hh: '%d घंटे', + d: 'एक दिन', + dd: '%d दिन', + M: 'एक महीने', + MM: '%d महीने', + y: 'एक वर्ष', + yy: '%d वर्ष', + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap$8[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$9[match]; + }); + }, + // Hindi notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi. + meridiemParse: /रात|सुबह|दोपहर|शाम/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'रात') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'सुबह') { + return hour; + } else if (meridiem === 'दोपहर') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'शाम') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'रात'; + } else if (hour < 10) { + return 'सुबह'; + } else if (hour < 17) { + return 'दोपहर'; + } else if (hour < 20) { + return 'शाम'; + } else { + return 'रात'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function translate$3(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'ss': + if (number === 1) { + result += 'sekunda'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sekunde'; + } else { + result += 'sekundi'; + } + return result; + case 'm': + return withoutSuffix ? 'jedna minuta' : 'jedne minute'; + case 'mm': + if (number === 1) { + result += 'minuta'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'minute'; + } else { + result += 'minuta'; + } + return result; + case 'h': + return withoutSuffix ? 'jedan sat' : 'jednog sata'; + case 'hh': + if (number === 1) { + result += 'sat'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sata'; + } else { + result += 'sati'; + } + return result; + case 'dd': + if (number === 1) { + result += 'dan'; + } else { + result += 'dana'; + } + return result; + case 'MM': + if (number === 1) { + result += 'mjesec'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'mjeseca'; + } else { + result += 'mjeseci'; + } + return result; + case 'yy': + if (number === 1) { + result += 'godina'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'godine'; + } else { + result += 'godina'; + } + return result; + } + } + + hooks.defineLocale('hr', { + months: { + format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split( + '_' + ), + standalone: + 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split( + '_' + ), + }, + monthsShort: + 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( + '_' + ), + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'Do MMMM YYYY', + LLL: 'Do MMMM YYYY H:mm', + LLLL: 'dddd, Do MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sutra u] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay: '[jučer u] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[prošlu] [nedjelju] [u] LT'; + case 3: + return '[prošlu] [srijedu] [u] LT'; + case 6: + return '[prošle] [subote] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prošli] dddd [u] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'prije %s', + s: 'par sekundi', + ss: translate$3, + m: translate$3, + mm: translate$3, + h: translate$3, + hh: translate$3, + d: 'dan', + dd: translate$3, + M: 'mjesec', + MM: translate$3, + y: 'godinu', + yy: translate$3, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var weekEndings = + 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' '); + function translate$4(number, withoutSuffix, key, isFuture) { + var num = number; + switch (key) { + case 's': + return isFuture || withoutSuffix + ? 'néhány másodperc' + : 'néhány másodperce'; + case 'ss': + return num + (isFuture || withoutSuffix) + ? ' másodperc' + : ' másodperce'; + case 'm': + return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce'); + case 'mm': + return num + (isFuture || withoutSuffix ? ' perc' : ' perce'); + case 'h': + return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája'); + case 'hh': + return num + (isFuture || withoutSuffix ? ' óra' : ' órája'); + case 'd': + return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja'); + case 'dd': + return num + (isFuture || withoutSuffix ? ' nap' : ' napja'); + case 'M': + return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); + case 'MM': + return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); + case 'y': + return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve'); + case 'yy': + return num + (isFuture || withoutSuffix ? ' év' : ' éve'); + } + return ''; + } + function week(isFuture) { + return ( + (isFuture ? '' : '[múlt] ') + + '[' + + weekEndings[this.day()] + + '] LT[-kor]' + ); + } + + hooks.defineLocale('hu', { + months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split( + '_' + ), + monthsShort: + 'jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'), + weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'), + weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'YYYY.MM.DD.', + LL: 'YYYY. MMMM D.', + LLL: 'YYYY. MMMM D. H:mm', + LLLL: 'YYYY. MMMM D., dddd H:mm', + }, + meridiemParse: /de|du/i, + isPM: function (input) { + return input.charAt(1).toLowerCase() === 'u'; + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower === true ? 'de' : 'DE'; + } else { + return isLower === true ? 'du' : 'DU'; + } + }, + calendar: { + sameDay: '[ma] LT[-kor]', + nextDay: '[holnap] LT[-kor]', + nextWeek: function () { + return week.call(this, true); + }, + lastDay: '[tegnap] LT[-kor]', + lastWeek: function () { + return week.call(this, false); + }, + sameElse: 'L', + }, + relativeTime: { + future: '%s múlva', + past: '%s', + s: translate$4, + ss: translate$4, + m: translate$4, + mm: translate$4, + h: translate$4, + hh: translate$4, + d: translate$4, + dd: translate$4, + M: translate$4, + MM: translate$4, + y: translate$4, + yy: translate$4, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('hy-am', { + months: { + format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split( + '_' + ), + standalone: + 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split( + '_' + ), + }, + monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'), + weekdays: + 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split( + '_' + ), + weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), + weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY թ.', + LLL: 'D MMMM YYYY թ., HH:mm', + LLLL: 'dddd, D MMMM YYYY թ., HH:mm', + }, + calendar: { + sameDay: '[այսօր] LT', + nextDay: '[վաղը] LT', + lastDay: '[երեկ] LT', + nextWeek: function () { + return 'dddd [օրը ժամը] LT'; + }, + lastWeek: function () { + return '[անցած] dddd [օրը ժամը] LT'; + }, + sameElse: 'L', + }, + relativeTime: { + future: '%s հետո', + past: '%s առաջ', + s: 'մի քանի վայրկյան', + ss: '%d վայրկյան', + m: 'րոպե', + mm: '%d րոպե', + h: 'ժամ', + hh: '%d ժամ', + d: 'օր', + dd: '%d օր', + M: 'ամիս', + MM: '%d ամիս', + y: 'տարի', + yy: '%d տարի', + }, + meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/, + isPM: function (input) { + return /^(ցերեկվա|երեկոյան)$/.test(input); + }, + meridiem: function (hour) { + if (hour < 4) { + return 'գիշերվա'; + } else if (hour < 12) { + return 'առավոտվա'; + } else if (hour < 17) { + return 'ցերեկվա'; + } else { + return 'երեկոյան'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/, + ordinal: function (number, period) { + switch (period) { + case 'DDD': + case 'w': + case 'W': + case 'DDDo': + if (number === 1) { + return number + '-ին'; + } + return number + '-րդ'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('id', { + months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'), + weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'), + weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'), + weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /pagi|siang|sore|malam/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'siang') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'sore' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'siang'; + } else if (hours < 19) { + return 'sore'; + } else { + return 'malam'; + } + }, + calendar: { + sameDay: '[Hari ini pukul] LT', + nextDay: '[Besok pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kemarin pukul] LT', + lastWeek: 'dddd [lalu pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lalu', + s: 'beberapa detik', + ss: '%d detik', + m: 'semenit', + mm: '%d menit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun', + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function plural$2(n) { + if (n % 100 === 11) { + return true; + } else if (n % 10 === 1) { + return false; + } + return true; + } + function translate$5(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': + return withoutSuffix || isFuture + ? 'nokkrar sekúndur' + : 'nokkrum sekúndum'; + case 'ss': + if (plural$2(number)) { + return ( + result + + (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum') + ); + } + return result + 'sekúnda'; + case 'm': + return withoutSuffix ? 'mínúta' : 'mínútu'; + case 'mm': + if (plural$2(number)) { + return ( + result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum') + ); + } else if (withoutSuffix) { + return result + 'mínúta'; + } + return result + 'mínútu'; + case 'hh': + if (plural$2(number)) { + return ( + result + + (withoutSuffix || isFuture + ? 'klukkustundir' + : 'klukkustundum') + ); + } + return result + 'klukkustund'; + case 'd': + if (withoutSuffix) { + return 'dagur'; + } + return isFuture ? 'dag' : 'degi'; + case 'dd': + if (plural$2(number)) { + if (withoutSuffix) { + return result + 'dagar'; + } + return result + (isFuture ? 'daga' : 'dögum'); + } else if (withoutSuffix) { + return result + 'dagur'; + } + return result + (isFuture ? 'dag' : 'degi'); + case 'M': + if (withoutSuffix) { + return 'mánuður'; + } + return isFuture ? 'mánuð' : 'mánuði'; + case 'MM': + if (plural$2(number)) { + if (withoutSuffix) { + return result + 'mánuðir'; + } + return result + (isFuture ? 'mánuði' : 'mánuðum'); + } else if (withoutSuffix) { + return result + 'mánuður'; + } + return result + (isFuture ? 'mánuð' : 'mánuði'); + case 'y': + return withoutSuffix || isFuture ? 'ár' : 'ári'; + case 'yy': + if (plural$2(number)) { + return result + (withoutSuffix || isFuture ? 'ár' : 'árum'); + } + return result + (withoutSuffix || isFuture ? 'ár' : 'ári'); + } + } + + hooks.defineLocale('is', { + months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'), + weekdays: + 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split( + '_' + ), + weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'), + weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] H:mm', + LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm', + }, + calendar: { + sameDay: '[í dag kl.] LT', + nextDay: '[á morgun kl.] LT', + nextWeek: 'dddd [kl.] LT', + lastDay: '[í gær kl.] LT', + lastWeek: '[síðasta] dddd [kl.] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'eftir %s', + past: 'fyrir %s síðan', + s: translate$5, + ss: translate$5, + m: translate$5, + mm: translate$5, + h: 'klukkustund', + hh: translate$5, + d: translate$5, + dd: translate$5, + M: translate$5, + MM: translate$5, + y: translate$5, + yy: translate$5, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('it-ch', { + months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split( + '_' + ), + monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), + weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split( + '_' + ), + weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'), + weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Oggi alle] LT', + nextDay: '[Domani alle] LT', + nextWeek: 'dddd [alle] LT', + lastDay: '[Ieri alle] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[la scorsa] dddd [alle] LT'; + default: + return '[lo scorso] dddd [alle] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: function (s) { + return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s; + }, + past: '%s fa', + s: 'alcuni secondi', + ss: '%d secondi', + m: 'un minuto', + mm: '%d minuti', + h: "un'ora", + hh: '%d ore', + d: 'un giorno', + dd: '%d giorni', + M: 'un mese', + MM: '%d mesi', + y: 'un anno', + yy: '%d anni', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('it', { + months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split( + '_' + ), + monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), + weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split( + '_' + ), + weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'), + weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: function () { + return ( + '[Oggi a' + + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + + ']LT' + ); + }, + nextDay: function () { + return ( + '[Domani a' + + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + + ']LT' + ); + }, + nextWeek: function () { + return ( + 'dddd [a' + + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + + ']LT' + ); + }, + lastDay: function () { + return ( + '[Ieri a' + + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + + ']LT' + ); + }, + lastWeek: function () { + switch (this.day()) { + case 0: + return ( + '[La scorsa] dddd [a' + + (this.hours() > 1 + ? 'lle ' + : this.hours() === 0 + ? ' ' + : "ll'") + + ']LT' + ); + default: + return ( + '[Lo scorso] dddd [a' + + (this.hours() > 1 + ? 'lle ' + : this.hours() === 0 + ? ' ' + : "ll'") + + ']LT' + ); + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'tra %s', + past: '%s fa', + s: 'alcuni secondi', + ss: '%d secondi', + m: 'un minuto', + mm: '%d minuti', + h: "un'ora", + hh: '%d ore', + d: 'un giorno', + dd: '%d giorni', + w: 'una settimana', + ww: '%d settimane', + M: 'un mese', + MM: '%d mesi', + y: 'un anno', + yy: '%d anni', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('ja', { + eras: [ + { + since: '2019-05-01', + offset: 1, + name: '令和', + narrow: '㋿', + abbr: 'R', + }, + { + since: '1989-01-08', + until: '2019-04-30', + offset: 1, + name: '平成', + narrow: '㍻', + abbr: 'H', + }, + { + since: '1926-12-25', + until: '1989-01-07', + offset: 1, + name: '昭和', + narrow: '㍼', + abbr: 'S', + }, + { + since: '1912-07-30', + until: '1926-12-24', + offset: 1, + name: '大正', + narrow: '㍽', + abbr: 'T', + }, + { + since: '1873-01-01', + until: '1912-07-29', + offset: 6, + name: '明治', + narrow: '㍾', + abbr: 'M', + }, + { + since: '0001-01-01', + until: '1873-12-31', + offset: 1, + name: '西暦', + narrow: 'AD', + abbr: 'AD', + }, + { + since: '0000-12-31', + until: -Infinity, + offset: 1, + name: '紀元前', + narrow: 'BC', + abbr: 'BC', + }, + ], + eraYearOrdinalRegex: /(元|\d+)年/, + eraYearOrdinalParse: function (input, match) { + return match[1] === '元' ? 1 : parseInt(match[1] || input, 10); + }, + months: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'), + weekdaysShort: '日_月_火_水_木_金_土'.split('_'), + weekdaysMin: '日_月_火_水_木_金_土'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日 dddd HH:mm', + l: 'YYYY/MM/DD', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日(ddd) HH:mm', + }, + meridiemParse: /午前|午後/i, + isPM: function (input) { + return input === '午後'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return '午前'; + } else { + return '午後'; + } + }, + calendar: { + sameDay: '[今日] LT', + nextDay: '[明日] LT', + nextWeek: function (now) { + if (now.week() !== this.week()) { + return '[来週]dddd LT'; + } else { + return 'dddd LT'; + } + }, + lastDay: '[昨日] LT', + lastWeek: function (now) { + if (this.week() !== now.week()) { + return '[先週]dddd LT'; + } else { + return 'dddd LT'; + } + }, + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}日/, + ordinal: function (number, period) { + switch (period) { + case 'y': + return number === 1 ? '元年' : number + '年'; + case 'd': + case 'D': + case 'DDD': + return number + '日'; + default: + return number; + } + }, + relativeTime: { + future: '%s後', + past: '%s前', + s: '数秒', + ss: '%d秒', + m: '1分', + mm: '%d分', + h: '1時間', + hh: '%d時間', + d: '1日', + dd: '%d日', + M: '1ヶ月', + MM: '%dヶ月', + y: '1年', + yy: '%d年', + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('jv', { + months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'), + weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'), + weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'), + weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /enjing|siyang|sonten|ndalu/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'enjing') { + return hour; + } else if (meridiem === 'siyang') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'sonten' || meridiem === 'ndalu') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'enjing'; + } else if (hours < 15) { + return 'siyang'; + } else if (hours < 19) { + return 'sonten'; + } else { + return 'ndalu'; + } + }, + calendar: { + sameDay: '[Dinten puniko pukul] LT', + nextDay: '[Mbenjang pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kala wingi pukul] LT', + lastWeek: 'dddd [kepengker pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'wonten ing %s', + past: '%s ingkang kepengker', + s: 'sawetawis detik', + ss: '%d detik', + m: 'setunggal menit', + mm: '%d menit', + h: 'setunggal jam', + hh: '%d jam', + d: 'sedinten', + dd: '%d dinten', + M: 'sewulan', + MM: '%d wulan', + y: 'setaun', + yy: '%d taun', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('ka', { + months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split( + '_' + ), + monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'), + weekdays: { + standalone: + 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split( + '_' + ), + format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split( + '_' + ), + isFormat: /(წინა|შემდეგ)/, + }, + weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'), + weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[დღეს] LT[-ზე]', + nextDay: '[ხვალ] LT[-ზე]', + lastDay: '[გუშინ] LT[-ზე]', + nextWeek: '[შემდეგ] dddd LT[-ზე]', + lastWeek: '[წინა] dddd LT-ზე', + sameElse: 'L', + }, + relativeTime: { + future: function (s) { + return s.replace( + /(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/, + function ($0, $1, $2) { + return $2 === 'ი' ? $1 + 'ში' : $1 + $2 + 'ში'; + } + ); + }, + past: function (s) { + if (/(წამი|წუთი|საათი|დღე|თვე)/.test(s)) { + return s.replace(/(ი|ე)$/, 'ის წინ'); + } + if (/წელი/.test(s)) { + return s.replace(/წელი$/, 'წლის წინ'); + } + return s; + }, + s: 'რამდენიმე წამი', + ss: '%d წამი', + m: 'წუთი', + mm: '%d წუთი', + h: 'საათი', + hh: '%d საათი', + d: 'დღე', + dd: '%d დღე', + M: 'თვე', + MM: '%d თვე', + y: 'წელი', + yy: '%d წელი', + }, + dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/, + ordinal: function (number) { + if (number === 0) { + return number; + } + if (number === 1) { + return number + '-ლი'; + } + if ( + number < 20 || + (number <= 100 && number % 20 === 0) || + number % 100 === 0 + ) { + return 'მე-' + number; + } + return number + '-ე'; + }, + week: { + dow: 1, + doy: 7, + }, + }); + + //! moment.js locale configuration + + var suffixes$1 = { + 0: '-ші', + 1: '-ші', + 2: '-ші', + 3: '-ші', + 4: '-ші', + 5: '-ші', + 6: '-шы', + 7: '-ші', + 8: '-ші', + 9: '-шы', + 10: '-шы', + 20: '-шы', + 30: '-шы', + 40: '-шы', + 50: '-ші', + 60: '-шы', + 70: '-ші', + 80: '-ші', + 90: '-шы', + 100: '-ші', + }; + + hooks.defineLocale('kk', { + months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split( + '_' + ), + monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'), + weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split( + '_' + ), + weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'), + weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Бүгін сағат] LT', + nextDay: '[Ертең сағат] LT', + nextWeek: 'dddd [сағат] LT', + lastDay: '[Кеше сағат] LT', + lastWeek: '[Өткен аптаның] dddd [сағат] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ішінде', + past: '%s бұрын', + s: 'бірнеше секунд', + ss: '%d секунд', + m: 'бір минут', + mm: '%d минут', + h: 'бір сағат', + hh: '%d сағат', + d: 'бір күн', + dd: '%d күн', + M: 'бір ай', + MM: '%d ай', + y: 'бір жыл', + yy: '%d жыл', + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/, + ordinal: function (number) { + var a = number % 10, + b = number >= 100 ? 100 : null; + return number + (suffixes$1[number] || suffixes$1[a] || suffixes$1[b]); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$a = { + 1: '១', + 2: '២', + 3: '៣', + 4: '៤', + 5: '៥', + 6: '៦', + 7: '៧', + 8: '៨', + 9: '៩', + 0: '០', + }, + numberMap$9 = { + '១': '1', + '២': '2', + '៣': '3', + '៤': '4', + '៥': '5', + '៦': '6', + '៧': '7', + '៨': '8', + '៩': '9', + '០': '0', + }; + + hooks.defineLocale('km', { + months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split( + '_' + ), + monthsShort: + 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split( + '_' + ), + weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), + weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'), + weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + meridiemParse: /ព្រឹក|ល្ងាច/, + isPM: function (input) { + return input === 'ល្ងាច'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ព្រឹក'; + } else { + return 'ល្ងាច'; + } + }, + calendar: { + sameDay: '[ថ្ងៃនេះ ម៉ោង] LT', + nextDay: '[ស្អែក ម៉ោង] LT', + nextWeek: 'dddd [ម៉ោង] LT', + lastDay: '[ម្សិលមិញ ម៉ោង] LT', + lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%sទៀត', + past: '%sមុន', + s: 'ប៉ុន្មានវិនាទី', + ss: '%d វិនាទី', + m: 'មួយនាទី', + mm: '%d នាទី', + h: 'មួយម៉ោង', + hh: '%d ម៉ោង', + d: 'មួយថ្ងៃ', + dd: '%d ថ្ងៃ', + M: 'មួយខែ', + MM: '%d ខែ', + y: 'មួយឆ្នាំ', + yy: '%d ឆ្នាំ', + }, + dayOfMonthOrdinalParse: /ទី\d{1,2}/, + ordinal: 'ទី%d', + preparse: function (string) { + return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) { + return numberMap$9[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$a[match]; + }); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$b = { + 1: '೧', + 2: '೨', + 3: '೩', + 4: '೪', + 5: '೫', + 6: '೬', + 7: '೭', + 8: '೮', + 9: '೯', + 0: '೦', + }, + numberMap$a = { + '೧': '1', + '೨': '2', + '೩': '3', + '೪': '4', + '೫': '5', + '೬': '6', + '೭': '7', + '೮': '8', + '೯': '9', + '೦': '0', + }; + + hooks.defineLocale('kn', { + months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split( + '_' + ), + monthsShort: + 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split( + '_' + ), + weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'), + weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm', + }, + calendar: { + sameDay: '[ಇಂದು] LT', + nextDay: '[ನಾಳೆ] LT', + nextWeek: 'dddd, LT', + lastDay: '[ನಿನ್ನೆ] LT', + lastWeek: '[ಕೊನೆಯ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ನಂತರ', + past: '%s ಹಿಂದೆ', + s: 'ಕೆಲವು ಕ್ಷಣಗಳು', + ss: '%d ಸೆಕೆಂಡುಗಳು', + m: 'ಒಂದು ನಿಮಿಷ', + mm: '%d ನಿಮಿಷ', + h: 'ಒಂದು ಗಂಟೆ', + hh: '%d ಗಂಟೆ', + d: 'ಒಂದು ದಿನ', + dd: '%d ದಿನ', + M: 'ಒಂದು ತಿಂಗಳು', + MM: '%d ತಿಂಗಳು', + y: 'ಒಂದು ವರ್ಷ', + yy: '%d ವರ್ಷ', + }, + preparse: function (string) { + return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) { + return numberMap$a[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$b[match]; + }); + }, + meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ರಾತ್ರಿ') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') { + return hour; + } else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'ಸಂಜೆ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ರಾತ್ರಿ'; + } else if (hour < 10) { + return 'ಬೆಳಿಗ್ಗೆ'; + } else if (hour < 17) { + return 'ಮಧ್ಯಾಹ್ನ'; + } else if (hour < 20) { + return 'ಸಂಜೆ'; + } else { + return 'ರಾತ್ರಿ'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}(ನೇ)/, + ordinal: function (number) { + return number + 'ನೇ'; + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('ko', { + months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), + monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split( + '_' + ), + weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'), + weekdaysShort: '일_월_화_수_목_금_토'.split('_'), + weekdaysMin: '일_월_화_수_목_금_토'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'YYYY.MM.DD.', + LL: 'YYYY년 MMMM D일', + LLL: 'YYYY년 MMMM D일 A h:mm', + LLLL: 'YYYY년 MMMM D일 dddd A h:mm', + l: 'YYYY.MM.DD.', + ll: 'YYYY년 MMMM D일', + lll: 'YYYY년 MMMM D일 A h:mm', + llll: 'YYYY년 MMMM D일 dddd A h:mm', + }, + calendar: { + sameDay: '오늘 LT', + nextDay: '내일 LT', + nextWeek: 'dddd LT', + lastDay: '어제 LT', + lastWeek: '지난주 dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s 후', + past: '%s 전', + s: '몇 초', + ss: '%d초', + m: '1분', + mm: '%d분', + h: '한 시간', + hh: '%d시간', + d: '하루', + dd: '%d일', + M: '한 달', + MM: '%d달', + y: '일 년', + yy: '%d년', + }, + dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '일'; + case 'M': + return number + '월'; + case 'w': + case 'W': + return number + '주'; + default: + return number; + } + }, + meridiemParse: /오전|오후/, + isPM: function (token) { + return token === '오후'; + }, + meridiem: function (hour, minute, isUpper) { + return hour < 12 ? '오전' : '오후'; + }, + }); + + //! moment.js locale configuration + + function processRelativeTime$7(num, withoutSuffix, key, isFuture) { + var format = { + s: ['çend sanîye', 'çend sanîyeyan'], + ss: [num + ' sanîye', num + ' sanîyeyan'], + m: ['deqîqeyek', 'deqîqeyekê'], + mm: [num + ' deqîqe', num + ' deqîqeyan'], + h: ['saetek', 'saetekê'], + hh: [num + ' saet', num + ' saetan'], + d: ['rojek', 'rojekê'], + dd: [num + ' roj', num + ' rojan'], + w: ['hefteyek', 'hefteyekê'], + ww: [num + ' hefte', num + ' hefteyan'], + M: ['mehek', 'mehekê'], + MM: [num + ' meh', num + ' mehan'], + y: ['salek', 'salekê'], + yy: [num + ' sal', num + ' salan'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + // function obliqueNumSuffix(num) { + // if(num.includes(':')) + // num = parseInt(num.split(':')[0]); + // else + // num = parseInt(num); + // return num == 0 || num % 10 == 1 ? 'ê' + // : (num > 10 && num % 10 == 0 ? 'î' : 'an'); + // } + function ezafeNumSuffix(num) { + num = '' + num; + var l = num.substring(num.length - 1), + ll = num.length > 1 ? num.substring(num.length - 2) : ''; + if ( + !(ll == 12 || ll == 13) && + (l == '2' || l == '3' || ll == '50' || l == '70' || l == '80') + ) + return 'yê'; + return 'ê'; + } + + hooks.defineLocale('ku-kmr', { + // According to the spelling rules defined by the work group of Weqfa Mezopotamyayê (Mesopotamia Foundation) + // this should be: 'Kanûna Paşîn_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Çirîya Pêşîn_Çirîya Paşîn_Kanûna Pêşîn' + // But the names below are more well known and handy + months: 'Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar'.split( + '_' + ), + monthsShort: 'Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber'.split('_'), + monthsParseExact: true, + weekdays: 'Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî'.split('_'), + weekdaysShort: 'Yek_Du_Sê_Çar_Pên_În_Şem'.split('_'), + weekdaysMin: 'Ye_Du_Sê_Ça_Pê_În_Şe'.split('_'), + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'bn' : 'BN'; + } else { + return isLower ? 'pn' : 'PN'; + } + }, + meridiemParse: /bn|BN|pn|PN/, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'Do MMMM[a] YYYY[an]', + LLL: 'Do MMMM[a] YYYY[an] HH:mm', + LLLL: 'dddd, Do MMMM[a] YYYY[an] HH:mm', + ll: 'Do MMM[.] YYYY[an]', + lll: 'Do MMM[.] YYYY[an] HH:mm', + llll: 'ddd[.], Do MMM[.] YYYY[an] HH:mm', + }, + calendar: { + sameDay: '[Îro di saet] LT [de]', + nextDay: '[Sibê di saet] LT [de]', + nextWeek: 'dddd [di saet] LT [de]', + lastDay: '[Duh di saet] LT [de]', + lastWeek: 'dddd[a borî di saet] LT [de]', + sameElse: 'L', + }, + relativeTime: { + future: 'di %s de', + past: 'berî %s', + s: processRelativeTime$7, + ss: processRelativeTime$7, + m: processRelativeTime$7, + mm: processRelativeTime$7, + h: processRelativeTime$7, + hh: processRelativeTime$7, + d: processRelativeTime$7, + dd: processRelativeTime$7, + w: processRelativeTime$7, + ww: processRelativeTime$7, + M: processRelativeTime$7, + MM: processRelativeTime$7, + y: processRelativeTime$7, + yy: processRelativeTime$7, + }, + dayOfMonthOrdinalParse: /\d{1,2}(?:yê|ê|\.)/, + ordinal: function (num, period) { + var p = period.toLowerCase(); + if (p.includes('w') || p.includes('m')) return num + '.'; + + return num + ezafeNumSuffix(num); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$c = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap$b = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }, + months$8 = [ + 'کانونی دووەم', + 'شوبات', + 'ئازار', + 'نیسان', + 'ئایار', + 'حوزەیران', + 'تەمموز', + 'ئاب', + 'ئەیلوول', + 'تشرینی یەكەم', + 'تشرینی دووەم', + 'كانونی یەکەم', + ]; + + hooks.defineLocale('ku', { + months: months$8, + monthsShort: months$8, + weekdays: + 'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split( + '_' + ), + weekdaysShort: + 'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split('_'), + weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + meridiemParse: /ئێواره‌|به‌یانی/, + isPM: function (input) { + return /ئێواره‌/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'به‌یانی'; + } else { + return 'ئێواره‌'; + } + }, + calendar: { + sameDay: '[ئه‌مرۆ كاتژمێر] LT', + nextDay: '[به‌یانی كاتژمێر] LT', + nextWeek: 'dddd [كاتژمێر] LT', + lastDay: '[دوێنێ كاتژمێر] LT', + lastWeek: 'dddd [كاتژمێر] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'له‌ %s', + past: '%s', + s: 'چه‌ند چركه‌یه‌ك', + ss: 'چركه‌ %d', + m: 'یه‌ك خوله‌ك', + mm: '%d خوله‌ك', + h: 'یه‌ك كاتژمێر', + hh: '%d كاتژمێر', + d: 'یه‌ك ڕۆژ', + dd: '%d ڕۆژ', + M: 'یه‌ك مانگ', + MM: '%d مانگ', + y: 'یه‌ك ساڵ', + yy: '%d ساڵ', + }, + preparse: function (string) { + return string + .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap$b[match]; + }) + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap$c[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var suffixes$2 = { + 0: '-чү', + 1: '-чи', + 2: '-чи', + 3: '-чү', + 4: '-чү', + 5: '-чи', + 6: '-чы', + 7: '-чи', + 8: '-чи', + 9: '-чу', + 10: '-чу', + 20: '-чы', + 30: '-чу', + 40: '-чы', + 50: '-чү', + 60: '-чы', + 70: '-чи', + 80: '-чи', + 90: '-чу', + 100: '-чү', + }; + + hooks.defineLocale('ky', { + months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split( + '_' + ), + monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split( + '_' + ), + weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split( + '_' + ), + weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'), + weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Бүгүн саат] LT', + nextDay: '[Эртең саат] LT', + nextWeek: 'dddd [саат] LT', + lastDay: '[Кечээ саат] LT', + lastWeek: '[Өткөн аптанын] dddd [күнү] [саат] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ичинде', + past: '%s мурун', + s: 'бирнече секунд', + ss: '%d секунд', + m: 'бир мүнөт', + mm: '%d мүнөт', + h: 'бир саат', + hh: '%d саат', + d: 'бир күн', + dd: '%d күн', + M: 'бир ай', + MM: '%d ай', + y: 'бир жыл', + yy: '%d жыл', + }, + dayOfMonthOrdinalParse: /\d{1,2}-(чи|чы|чү|чу)/, + ordinal: function (number) { + var a = number % 10, + b = number >= 100 ? 100 : null; + return number + (suffixes$2[number] || suffixes$2[a] || suffixes$2[b]); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function processRelativeTime$8(number, withoutSuffix, key, isFuture) { + var format = { + m: ['eng Minutt', 'enger Minutt'], + h: ['eng Stonn', 'enger Stonn'], + d: ['een Dag', 'engem Dag'], + M: ['ee Mount', 'engem Mount'], + y: ['ee Joer', 'engem Joer'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + function processFutureTime(string) { + var number = string.substr(0, string.indexOf(' ')); + if (eifelerRegelAppliesToNumber(number)) { + return 'a ' + string; + } + return 'an ' + string; + } + function processPastTime(string) { + var number = string.substr(0, string.indexOf(' ')); + if (eifelerRegelAppliesToNumber(number)) { + return 'viru ' + string; + } + return 'virun ' + string; + } + /** + * Returns true if the word before the given number loses the '-n' ending. + * e.g. 'an 10 Deeg' but 'a 5 Deeg' + * + * @param number {integer} + * @returns {boolean} + */ + function eifelerRegelAppliesToNumber(number) { + number = parseInt(number, 10); + if (isNaN(number)) { + return false; + } + if (number < 0) { + // Negative Number --> always true + return true; + } else if (number < 10) { + // Only 1 digit + if (4 <= number && number <= 7) { + return true; + } + return false; + } else if (number < 100) { + // 2 digits + var lastDigit = number % 10, + firstDigit = number / 10; + if (lastDigit === 0) { + return eifelerRegelAppliesToNumber(firstDigit); + } + return eifelerRegelAppliesToNumber(lastDigit); + } else if (number < 10000) { + // 3 or 4 digits --> recursively check first digit + while (number >= 10) { + number = number / 10; + } + return eifelerRegelAppliesToNumber(number); + } else { + // Anything larger than 4 digits: recursively check first n-3 digits + number = number / 1000; + return eifelerRegelAppliesToNumber(number); + } + } + + hooks.defineLocale('lb', { + months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_' + ), + monthsShort: + 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split( + '_' + ), + weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm [Auer]', + LTS: 'H:mm:ss [Auer]', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm [Auer]', + LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]', + }, + calendar: { + sameDay: '[Haut um] LT', + sameElse: 'L', + nextDay: '[Muer um] LT', + nextWeek: 'dddd [um] LT', + lastDay: '[Gëschter um] LT', + lastWeek: function () { + // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule + switch (this.day()) { + case 2: + case 4: + return '[Leschten] dddd [um] LT'; + default: + return '[Leschte] dddd [um] LT'; + } + }, + }, + relativeTime: { + future: processFutureTime, + past: processPastTime, + s: 'e puer Sekonnen', + ss: '%d Sekonnen', + m: processRelativeTime$8, + mm: '%d Minutten', + h: processRelativeTime$8, + hh: '%d Stonnen', + d: processRelativeTime$8, + dd: '%d Deeg', + M: processRelativeTime$8, + MM: '%d Méint', + y: processRelativeTime$8, + yy: '%d Joer', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('lo', { + months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split( + '_' + ), + monthsShort: + 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split( + '_' + ), + weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), + weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), + weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'ວັນdddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/, + isPM: function (input) { + return input === 'ຕອນແລງ'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ຕອນເຊົ້າ'; + } else { + return 'ຕອນແລງ'; + } + }, + calendar: { + sameDay: '[ມື້ນີ້ເວລາ] LT', + nextDay: '[ມື້ອື່ນເວລາ] LT', + nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT', + lastDay: '[ມື້ວານນີ້ເວລາ] LT', + lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ອີກ %s', + past: '%sຜ່ານມາ', + s: 'ບໍ່ເທົ່າໃດວິນາທີ', + ss: '%d ວິນາທີ', + m: '1 ນາທີ', + mm: '%d ນາທີ', + h: '1 ຊົ່ວໂມງ', + hh: '%d ຊົ່ວໂມງ', + d: '1 ມື້', + dd: '%d ມື້', + M: '1 ເດືອນ', + MM: '%d ເດືອນ', + y: '1 ປີ', + yy: '%d ປີ', + }, + dayOfMonthOrdinalParse: /(ທີ່)\d{1,2}/, + ordinal: function (number) { + return 'ທີ່' + number; + }, + }); + + //! moment.js locale configuration + + var units = { + ss: 'sekundė_sekundžių_sekundes', + m: 'minutė_minutės_minutę', + mm: 'minutės_minučių_minutes', + h: 'valanda_valandos_valandą', + hh: 'valandos_valandų_valandas', + d: 'diena_dienos_dieną', + dd: 'dienos_dienų_dienas', + M: 'mėnuo_mėnesio_mėnesį', + MM: 'mėnesiai_mėnesių_mėnesius', + y: 'metai_metų_metus', + yy: 'metai_metų_metus', + }; + function translateSeconds(number, withoutSuffix, key, isFuture) { + if (withoutSuffix) { + return 'kelios sekundės'; + } else { + return isFuture ? 'kelių sekundžių' : 'kelias sekundes'; + } + } + function translateSingular(number, withoutSuffix, key, isFuture) { + return withoutSuffix + ? forms(key)[0] + : isFuture + ? forms(key)[1] + : forms(key)[2]; + } + function special(number) { + return number % 10 === 0 || (number > 10 && number < 20); + } + function forms(key) { + return units[key].split('_'); + } + function translate$6(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + if (number === 1) { + return ( + result + translateSingular(number, withoutSuffix, key[0], isFuture) + ); + } else if (withoutSuffix) { + return result + (special(number) ? forms(key)[1] : forms(key)[0]); + } else { + if (isFuture) { + return result + forms(key)[1]; + } else { + return result + (special(number) ? forms(key)[1] : forms(key)[2]); + } + } + } + hooks.defineLocale('lt', { + months: { + format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split( + '_' + ), + standalone: + 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split( + '_' + ), + isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/, + }, + monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'), + weekdays: { + format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split( + '_' + ), + standalone: + 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split( + '_' + ), + isFormat: /dddd HH:mm/, + }, + weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'), + weekdaysMin: 'S_P_A_T_K_Pn_Š'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY [m.] MMMM D [d.]', + LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]', + l: 'YYYY-MM-DD', + ll: 'YYYY [m.] MMMM D [d.]', + lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]', + }, + calendar: { + sameDay: '[Šiandien] LT', + nextDay: '[Rytoj] LT', + nextWeek: 'dddd LT', + lastDay: '[Vakar] LT', + lastWeek: '[Praėjusį] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: 'po %s', + past: 'prieš %s', + s: translateSeconds, + ss: translate$6, + m: translateSingular, + mm: translate$6, + h: translateSingular, + hh: translate$6, + d: translateSingular, + dd: translate$6, + M: translateSingular, + MM: translate$6, + y: translateSingular, + yy: translate$6, + }, + dayOfMonthOrdinalParse: /\d{1,2}-oji/, + ordinal: function (number) { + return number + '-oji'; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var units$1 = { + ss: 'sekundes_sekundēm_sekunde_sekundes'.split('_'), + m: 'minūtes_minūtēm_minūte_minūtes'.split('_'), + mm: 'minūtes_minūtēm_minūte_minūtes'.split('_'), + h: 'stundas_stundām_stunda_stundas'.split('_'), + hh: 'stundas_stundām_stunda_stundas'.split('_'), + d: 'dienas_dienām_diena_dienas'.split('_'), + dd: 'dienas_dienām_diena_dienas'.split('_'), + M: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'), + MM: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'), + y: 'gada_gadiem_gads_gadi'.split('_'), + yy: 'gada_gadiem_gads_gadi'.split('_'), + }; + /** + * @param withoutSuffix boolean true = a length of time; false = before/after a period of time. + */ + function format$1(forms, number, withoutSuffix) { + if (withoutSuffix) { + // E.g. "21 minūte", "3 minūtes". + return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3]; + } else { + // E.g. "21 minūtes" as in "pēc 21 minūtes". + // E.g. "3 minūtēm" as in "pēc 3 minūtēm". + return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1]; + } + } + function relativeTimeWithPlural$1(number, withoutSuffix, key) { + return number + ' ' + format$1(units$1[key], number, withoutSuffix); + } + function relativeTimeWithSingular(number, withoutSuffix, key) { + return format$1(units$1[key], number, withoutSuffix); + } + function relativeSeconds(number, withoutSuffix) { + return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm'; + } + + hooks.defineLocale('lv', { + months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'), + weekdays: + 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split( + '_' + ), + weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'), + weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY.', + LL: 'YYYY. [gada] D. MMMM', + LLL: 'YYYY. [gada] D. MMMM, HH:mm', + LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm', + }, + calendar: { + sameDay: '[Šodien pulksten] LT', + nextDay: '[Rīt pulksten] LT', + nextWeek: 'dddd [pulksten] LT', + lastDay: '[Vakar pulksten] LT', + lastWeek: '[Pagājušā] dddd [pulksten] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'pēc %s', + past: 'pirms %s', + s: relativeSeconds, + ss: relativeTimeWithPlural$1, + m: relativeTimeWithSingular, + mm: relativeTimeWithPlural$1, + h: relativeTimeWithSingular, + hh: relativeTimeWithPlural$1, + d: relativeTimeWithSingular, + dd: relativeTimeWithPlural$1, + M: relativeTimeWithSingular, + MM: relativeTimeWithPlural$1, + y: relativeTimeWithSingular, + yy: relativeTimeWithPlural$1, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var translator = { + words: { + //Different grammatical cases + ss: ['sekund', 'sekunda', 'sekundi'], + m: ['jedan minut', 'jednog minuta'], + mm: ['minut', 'minuta', 'minuta'], + h: ['jedan sat', 'jednog sata'], + hh: ['sat', 'sata', 'sati'], + dd: ['dan', 'dana', 'dana'], + MM: ['mjesec', 'mjeseca', 'mjeseci'], + yy: ['godina', 'godine', 'godina'], + }, + correctGrammaticalCase: function (number, wordKey) { + return number === 1 + ? wordKey[0] + : number >= 2 && number <= 4 + ? wordKey[1] + : wordKey[2]; + }, + translate: function (number, withoutSuffix, key) { + var wordKey = translator.words[key]; + if (key.length === 1) { + return withoutSuffix ? wordKey[0] : wordKey[1]; + } else { + return ( + number + + ' ' + + translator.correctGrammaticalCase(number, wordKey) + ); + } + }, + }; + + hooks.defineLocale('me', { + months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split( + '_' + ), + monthsShort: + 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), + monthsParseExact: true, + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( + '_' + ), + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sjutra u] LT', + + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay: '[juče u] LT', + lastWeek: function () { + var lastWeekDays = [ + '[prošle] [nedjelje] [u] LT', + '[prošlog] [ponedjeljka] [u] LT', + '[prošlog] [utorka] [u] LT', + '[prošle] [srijede] [u] LT', + '[prošlog] [četvrtka] [u] LT', + '[prošlog] [petka] [u] LT', + '[prošle] [subote] [u] LT', + ]; + return lastWeekDays[this.day()]; + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'prije %s', + s: 'nekoliko sekundi', + ss: translator.translate, + m: translator.translate, + mm: translator.translate, + h: translator.translate, + hh: translator.translate, + d: 'dan', + dd: translator.translate, + M: 'mjesec', + MM: translator.translate, + y: 'godinu', + yy: translator.translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('mi', { + months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split( + '_' + ), + monthsShort: + 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split( + '_' + ), + monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i, + weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'), + weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), + weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [i] HH:mm', + LLLL: 'dddd, D MMMM YYYY [i] HH:mm', + }, + calendar: { + sameDay: '[i teie mahana, i] LT', + nextDay: '[apopo i] LT', + nextWeek: 'dddd [i] LT', + lastDay: '[inanahi i] LT', + lastWeek: 'dddd [whakamutunga i] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'i roto i %s', + past: '%s i mua', + s: 'te hēkona ruarua', + ss: '%d hēkona', + m: 'he meneti', + mm: '%d meneti', + h: 'te haora', + hh: '%d haora', + d: 'he ra', + dd: '%d ra', + M: 'he marama', + MM: '%d marama', + y: 'he tau', + yy: '%d tau', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('mk', { + months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split( + '_' + ), + monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'), + weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split( + '_' + ), + weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'), + weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[Денес во] LT', + nextDay: '[Утре во] LT', + nextWeek: '[Во] dddd [во] LT', + lastDay: '[Вчера во] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 6: + return '[Изминатата] dddd [во] LT'; + case 1: + case 2: + case 4: + case 5: + return '[Изминатиот] dddd [во] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'за %s', + past: 'пред %s', + s: 'неколку секунди', + ss: '%d секунди', + m: 'една минута', + mm: '%d минути', + h: 'еден час', + hh: '%d часа', + d: 'еден ден', + dd: '%d дена', + M: 'еден месец', + MM: '%d месеци', + y: 'една година', + yy: '%d години', + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, + ordinal: function (number) { + var lastDigit = number % 10, + last2Digits = number % 100; + if (number === 0) { + return number + '-ев'; + } else if (last2Digits === 0) { + return number + '-ен'; + } else if (last2Digits > 10 && last2Digits < 20) { + return number + '-ти'; + } else if (lastDigit === 1) { + return number + '-ви'; + } else if (lastDigit === 2) { + return number + '-ри'; + } else if (lastDigit === 7 || lastDigit === 8) { + return number + '-ми'; + } else { + return number + '-ти'; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('ml', { + months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split( + '_' + ), + monthsShort: + 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split( + '_' + ), + weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'), + weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'), + longDateFormat: { + LT: 'A h:mm -നു', + LTS: 'A h:mm:ss -നു', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm -നു', + LLLL: 'dddd, D MMMM YYYY, A h:mm -നു', + }, + calendar: { + sameDay: '[ഇന്ന്] LT', + nextDay: '[നാളെ] LT', + nextWeek: 'dddd, LT', + lastDay: '[ഇന്നലെ] LT', + lastWeek: '[കഴിഞ്ഞ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s കഴിഞ്ഞ്', + past: '%s മുൻപ്', + s: 'അൽപ നിമിഷങ്ങൾ', + ss: '%d സെക്കൻഡ്', + m: 'ഒരു മിനിറ്റ്', + mm: '%d മിനിറ്റ്', + h: 'ഒരു മണിക്കൂർ', + hh: '%d മണിക്കൂർ', + d: 'ഒരു ദിവസം', + dd: '%d ദിവസം', + M: 'ഒരു മാസം', + MM: '%d മാസം', + y: 'ഒരു വർഷം', + yy: '%d വർഷം', + }, + meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + (meridiem === 'രാത്രി' && hour >= 4) || + meridiem === 'ഉച്ച കഴിഞ്ഞ്' || + meridiem === 'വൈകുന്നേരം' + ) { + return hour + 12; + } else { + return hour; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'രാത്രി'; + } else if (hour < 12) { + return 'രാവിലെ'; + } else if (hour < 17) { + return 'ഉച്ച കഴിഞ്ഞ്'; + } else if (hour < 20) { + return 'വൈകുന്നേരം'; + } else { + return 'രാത്രി'; + } + }, + }); + + //! moment.js locale configuration + + function translate$7(number, withoutSuffix, key, isFuture) { + switch (key) { + case 's': + return withoutSuffix ? 'хэдхэн секунд' : 'хэдхэн секундын'; + case 'ss': + return number + (withoutSuffix ? ' секунд' : ' секундын'); + case 'm': + case 'mm': + return number + (withoutSuffix ? ' минут' : ' минутын'); + case 'h': + case 'hh': + return number + (withoutSuffix ? ' цаг' : ' цагийн'); + case 'd': + case 'dd': + return number + (withoutSuffix ? ' өдөр' : ' өдрийн'); + case 'M': + case 'MM': + return number + (withoutSuffix ? ' сар' : ' сарын'); + case 'y': + case 'yy': + return number + (withoutSuffix ? ' жил' : ' жилийн'); + default: + return number; + } + } + + hooks.defineLocale('mn', { + months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split( + '_' + ), + monthsShort: + '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'), + weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'), + weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY оны MMMMын D', + LLL: 'YYYY оны MMMMын D HH:mm', + LLLL: 'dddd, YYYY оны MMMMын D HH:mm', + }, + meridiemParse: /ҮӨ|ҮХ/i, + isPM: function (input) { + return input === 'ҮХ'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ҮӨ'; + } else { + return 'ҮХ'; + } + }, + calendar: { + sameDay: '[Өнөөдөр] LT', + nextDay: '[Маргааш] LT', + nextWeek: '[Ирэх] dddd LT', + lastDay: '[Өчигдөр] LT', + lastWeek: '[Өнгөрсөн] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s дараа', + past: '%s өмнө', + s: translate$7, + ss: translate$7, + m: translate$7, + mm: translate$7, + h: translate$7, + hh: translate$7, + d: translate$7, + dd: translate$7, + M: translate$7, + MM: translate$7, + y: translate$7, + yy: translate$7, + }, + dayOfMonthOrdinalParse: /\d{1,2} өдөр/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + ' өдөр'; + default: + return number; + } + }, + }); + + //! moment.js locale configuration + + var symbolMap$d = { + 1: '१', + 2: '२', + 3: '३', + 4: '४', + 5: '५', + 6: '६', + 7: '७', + 8: '८', + 9: '९', + 0: '०', + }, + numberMap$c = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0', + }; + + function relativeTimeMr(number, withoutSuffix, string, isFuture) { + var output = ''; + if (withoutSuffix) { + switch (string) { + case 's': + output = 'काही सेकंद'; + break; + case 'ss': + output = '%d सेकंद'; + break; + case 'm': + output = 'एक मिनिट'; + break; + case 'mm': + output = '%d मिनिटे'; + break; + case 'h': + output = 'एक तास'; + break; + case 'hh': + output = '%d तास'; + break; + case 'd': + output = 'एक दिवस'; + break; + case 'dd': + output = '%d दिवस'; + break; + case 'M': + output = 'एक महिना'; + break; + case 'MM': + output = '%d महिने'; + break; + case 'y': + output = 'एक वर्ष'; + break; + case 'yy': + output = '%d वर्षे'; + break; + } + } else { + switch (string) { + case 's': + output = 'काही सेकंदां'; + break; + case 'ss': + output = '%d सेकंदां'; + break; + case 'm': + output = 'एका मिनिटा'; + break; + case 'mm': + output = '%d मिनिटां'; + break; + case 'h': + output = 'एका तासा'; + break; + case 'hh': + output = '%d तासां'; + break; + case 'd': + output = 'एका दिवसा'; + break; + case 'dd': + output = '%d दिवसां'; + break; + case 'M': + output = 'एका महिन्या'; + break; + case 'MM': + output = '%d महिन्यां'; + break; + case 'y': + output = 'एका वर्षा'; + break; + case 'yy': + output = '%d वर्षां'; + break; + } + } + return output.replace(/%d/i, number); + } + + hooks.defineLocale('mr', { + months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split( + '_' + ), + monthsShort: + 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'), + weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'), + longDateFormat: { + LT: 'A h:mm वाजता', + LTS: 'A h:mm:ss वाजता', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm वाजता', + LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता', + }, + calendar: { + sameDay: '[आज] LT', + nextDay: '[उद्या] LT', + nextWeek: 'dddd, LT', + lastDay: '[काल] LT', + lastWeek: '[मागील] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%sमध्ये', + past: '%sपूर्वी', + s: relativeTimeMr, + ss: relativeTimeMr, + m: relativeTimeMr, + mm: relativeTimeMr, + h: relativeTimeMr, + hh: relativeTimeMr, + d: relativeTimeMr, + dd: relativeTimeMr, + M: relativeTimeMr, + MM: relativeTimeMr, + y: relativeTimeMr, + yy: relativeTimeMr, + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap$c[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$d[match]; + }); + }, + meridiemParse: /पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'पहाटे' || meridiem === 'सकाळी') { + return hour; + } else if ( + meridiem === 'दुपारी' || + meridiem === 'सायंकाळी' || + meridiem === 'रात्री' + ) { + return hour >= 12 ? hour : hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour >= 0 && hour < 6) { + return 'पहाटे'; + } else if (hour < 12) { + return 'सकाळी'; + } else if (hour < 17) { + return 'दुपारी'; + } else if (hour < 20) { + return 'सायंकाळी'; + } else { + return 'रात्री'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('ms-my', { + months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), + weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), + weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /pagi|tengahari|petang|malam/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'tengahari') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'petang' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'tengahari'; + } else if (hours < 19) { + return 'petang'; + } else { + return 'malam'; + } + }, + calendar: { + sameDay: '[Hari ini pukul] LT', + nextDay: '[Esok pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kelmarin pukul] LT', + lastWeek: 'dddd [lepas pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lepas', + s: 'beberapa saat', + ss: '%d saat', + m: 'seminit', + mm: '%d minit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('ms', { + months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), + weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), + weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /pagi|tengahari|petang|malam/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'tengahari') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'petang' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'tengahari'; + } else if (hours < 19) { + return 'petang'; + } else { + return 'malam'; + } + }, + calendar: { + sameDay: '[Hari ini pukul] LT', + nextDay: '[Esok pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kelmarin pukul] LT', + lastWeek: 'dddd [lepas pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lepas', + s: 'beberapa saat', + ss: '%d saat', + m: 'seminit', + mm: '%d minit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('mt', { + months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split( + '_' + ), + monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'), + weekdays: + 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split( + '_' + ), + weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'), + weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Illum fil-]LT', + nextDay: '[Għada fil-]LT', + nextWeek: 'dddd [fil-]LT', + lastDay: '[Il-bieraħ fil-]LT', + lastWeek: 'dddd [li għadda] [fil-]LT', + sameElse: 'L', + }, + relativeTime: { + future: 'f’ %s', + past: '%s ilu', + s: 'ftit sekondi', + ss: '%d sekondi', + m: 'minuta', + mm: '%d minuti', + h: 'siegħa', + hh: '%d siegħat', + d: 'ġurnata', + dd: '%d ġranet', + M: 'xahar', + MM: '%d xhur', + y: 'sena', + yy: '%d sni', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$e = { + 1: '၁', + 2: '၂', + 3: '၃', + 4: '၄', + 5: '၅', + 6: '၆', + 7: '၇', + 8: '၈', + 9: '၉', + 0: '၀', + }, + numberMap$d = { + '၁': '1', + '၂': '2', + '၃': '3', + '၄': '4', + '၅': '5', + '၆': '6', + '၇': '7', + '၈': '8', + '၉': '9', + '၀': '0', + }; + + hooks.defineLocale('my', { + months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split( + '_' + ), + monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'), + weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split( + '_' + ), + weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), + weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), + + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[ယနေ.] LT [မှာ]', + nextDay: '[မနက်ဖြန်] LT [မှာ]', + nextWeek: 'dddd LT [မှာ]', + lastDay: '[မနေ.က] LT [မှာ]', + lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]', + sameElse: 'L', + }, + relativeTime: { + future: 'လာမည့် %s မှာ', + past: 'လွန်ခဲ့သော %s က', + s: 'စက္ကန်.အနည်းငယ်', + ss: '%d စက္ကန့်', + m: 'တစ်မိနစ်', + mm: '%d မိနစ်', + h: 'တစ်နာရီ', + hh: '%d နာရီ', + d: 'တစ်ရက်', + dd: '%d ရက်', + M: 'တစ်လ', + MM: '%d လ', + y: 'တစ်နှစ်', + yy: '%d နှစ်', + }, + preparse: function (string) { + return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) { + return numberMap$d[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$e[match]; + }); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('nb', { + months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split( + '_' + ), + monthsShort: + 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'), + monthsParseExact: true, + weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), + weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'), + weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] HH:mm', + LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm', + }, + calendar: { + sameDay: '[i dag kl.] LT', + nextDay: '[i morgen kl.] LT', + nextWeek: 'dddd [kl.] LT', + lastDay: '[i går kl.] LT', + lastWeek: '[forrige] dddd [kl.] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'om %s', + past: '%s siden', + s: 'noen sekunder', + ss: '%d sekunder', + m: 'ett minutt', + mm: '%d minutter', + h: 'én time', + hh: '%d timer', + d: 'én dag', + dd: '%d dager', + w: 'én uke', + ww: '%d uker', + M: 'én måned', + MM: '%d måneder', + y: 'ett år', + yy: '%d år', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$f = { + 1: '१', + 2: '२', + 3: '३', + 4: '४', + 5: '५', + 6: '६', + 7: '७', + 8: '८', + 9: '९', + 0: '०', + }, + numberMap$e = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0', + }; + + hooks.defineLocale('ne', { + months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split( + '_' + ), + monthsShort: + 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split( + '_' + ), + weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'), + weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'Aको h:mm बजे', + LTS: 'Aको h:mm:ss बजे', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, Aको h:mm बजे', + LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे', + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap$e[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$f[match]; + }); + }, + meridiemParse: /राति|बिहान|दिउँसो|साँझ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'राति') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'बिहान') { + return hour; + } else if (meridiem === 'दिउँसो') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'साँझ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 3) { + return 'राति'; + } else if (hour < 12) { + return 'बिहान'; + } else if (hour < 16) { + return 'दिउँसो'; + } else if (hour < 20) { + return 'साँझ'; + } else { + return 'राति'; + } + }, + calendar: { + sameDay: '[आज] LT', + nextDay: '[भोलि] LT', + nextWeek: '[आउँदो] dddd[,] LT', + lastDay: '[हिजो] LT', + lastWeek: '[गएको] dddd[,] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%sमा', + past: '%s अगाडि', + s: 'केही क्षण', + ss: '%d सेकेण्ड', + m: 'एक मिनेट', + mm: '%d मिनेट', + h: 'एक घण्टा', + hh: '%d घण्टा', + d: 'एक दिन', + dd: '%d दिन', + M: 'एक महिना', + MM: '%d महिना', + y: 'एक बर्ष', + yy: '%d बर्ष', + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var monthsShortWithDots$1 = + 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'), + monthsShortWithoutDots$1 = + 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'), + monthsParse$8 = [ + /^jan/i, + /^feb/i, + /^(maart|mrt\.?)$/i, + /^apr/i, + /^mei$/i, + /^jun[i.]?$/i, + /^jul[i.]?$/i, + /^aug/i, + /^sep/i, + /^okt/i, + /^nov/i, + /^dec/i, + ], + monthsRegex$8 = + /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; + + hooks.defineLocale('nl-be', { + months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortWithDots$1; + } else if (/-MMM-/.test(format)) { + return monthsShortWithoutDots$1[m.month()]; + } else { + return monthsShortWithDots$1[m.month()]; + } + }, + + monthsRegex: monthsRegex$8, + monthsShortRegex: monthsRegex$8, + monthsStrictRegex: + /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i, + monthsShortStrictRegex: + /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, + + monthsParse: monthsParse$8, + longMonthsParse: monthsParse$8, + shortMonthsParse: monthsParse$8, + + weekdays: + 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), + weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), + weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[vandaag om] LT', + nextDay: '[morgen om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[gisteren om] LT', + lastWeek: '[afgelopen] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'over %s', + past: '%s geleden', + s: 'een paar seconden', + ss: '%d seconden', + m: 'één minuut', + mm: '%d minuten', + h: 'één uur', + hh: '%d uur', + d: 'één dag', + dd: '%d dagen', + M: 'één maand', + MM: '%d maanden', + y: 'één jaar', + yy: '%d jaar', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var monthsShortWithDots$2 = + 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'), + monthsShortWithoutDots$2 = + 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'), + monthsParse$9 = [ + /^jan/i, + /^feb/i, + /^(maart|mrt\.?)$/i, + /^apr/i, + /^mei$/i, + /^jun[i.]?$/i, + /^jul[i.]?$/i, + /^aug/i, + /^sep/i, + /^okt/i, + /^nov/i, + /^dec/i, + ], + monthsRegex$9 = + /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; + + hooks.defineLocale('nl', { + months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortWithDots$2; + } else if (/-MMM-/.test(format)) { + return monthsShortWithoutDots$2[m.month()]; + } else { + return monthsShortWithDots$2[m.month()]; + } + }, + + monthsRegex: monthsRegex$9, + monthsShortRegex: monthsRegex$9, + monthsStrictRegex: + /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i, + monthsShortStrictRegex: + /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, + + monthsParse: monthsParse$9, + longMonthsParse: monthsParse$9, + shortMonthsParse: monthsParse$9, + + weekdays: + 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), + weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), + weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[vandaag om] LT', + nextDay: '[morgen om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[gisteren om] LT', + lastWeek: '[afgelopen] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'over %s', + past: '%s geleden', + s: 'een paar seconden', + ss: '%d seconden', + m: 'één minuut', + mm: '%d minuten', + h: 'één uur', + hh: '%d uur', + d: 'één dag', + dd: '%d dagen', + w: 'één week', + ww: '%d weken', + M: 'één maand', + MM: '%d maanden', + y: 'één jaar', + yy: '%d jaar', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('nn', { + months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split( + '_' + ), + monthsShort: + 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'), + monthsParseExact: true, + weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'), + weekdaysShort: 'su._må._ty._on._to._fr._lau.'.split('_'), + weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] H:mm', + LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm', + }, + calendar: { + sameDay: '[I dag klokka] LT', + nextDay: '[I morgon klokka] LT', + nextWeek: 'dddd [klokka] LT', + lastDay: '[I går klokka] LT', + lastWeek: '[Føregåande] dddd [klokka] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'om %s', + past: '%s sidan', + s: 'nokre sekund', + ss: '%d sekund', + m: 'eit minutt', + mm: '%d minutt', + h: 'ein time', + hh: '%d timar', + d: 'ein dag', + dd: '%d dagar', + w: 'ei veke', + ww: '%d veker', + M: 'ein månad', + MM: '%d månader', + y: 'eit år', + yy: '%d år', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('oc-lnc', { + months: { + standalone: + 'genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split( + '_' + ), + format: "de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split( + '_' + ), + isFormat: /D[oD]?(\s)+MMMM/, + }, + monthsShort: + 'gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split( + '_' + ), + weekdaysShort: 'dg._dl._dm._dc._dj._dv._ds.'.split('_'), + weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [de] YYYY', + ll: 'D MMM YYYY', + LLL: 'D MMMM [de] YYYY [a] H:mm', + lll: 'D MMM YYYY, H:mm', + LLLL: 'dddd D MMMM [de] YYYY [a] H:mm', + llll: 'ddd D MMM YYYY, H:mm', + }, + calendar: { + sameDay: '[uèi a] LT', + nextDay: '[deman a] LT', + nextWeek: 'dddd [a] LT', + lastDay: '[ièr a] LT', + lastWeek: 'dddd [passat a] LT', + sameElse: 'L', + }, + relativeTime: { + future: "d'aquí %s", + past: 'fa %s', + s: 'unas segondas', + ss: '%d segondas', + m: 'una minuta', + mm: '%d minutas', + h: 'una ora', + hh: '%d oras', + d: 'un jorn', + dd: '%d jorns', + M: 'un mes', + MM: '%d meses', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/, + ordinal: function (number, period) { + var output = + number === 1 + ? 'r' + : number === 2 + ? 'n' + : number === 3 + ? 'r' + : number === 4 + ? 't' + : 'è'; + if (period === 'w' || period === 'W') { + output = 'a'; + } + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, + }, + }); + + //! moment.js locale configuration + + var symbolMap$g = { + 1: '੧', + 2: '੨', + 3: '੩', + 4: '੪', + 5: '੫', + 6: '੬', + 7: '੭', + 8: '੮', + 9: '੯', + 0: '੦', + }, + numberMap$f = { + '੧': '1', + '੨': '2', + '੩': '3', + '੪': '4', + '੫': '5', + '੬': '6', + '੭': '7', + '੮': '8', + '੯': '9', + '੦': '0', + }; + + hooks.defineLocale('pa-in', { + // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi. + months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split( + '_' + ), + monthsShort: + 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split( + '_' + ), + weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split( + '_' + ), + weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), + weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), + longDateFormat: { + LT: 'A h:mm ਵਜੇ', + LTS: 'A h:mm:ss ਵਜੇ', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm ਵਜੇ', + LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ', + }, + calendar: { + sameDay: '[ਅਜ] LT', + nextDay: '[ਕਲ] LT', + nextWeek: '[ਅਗਲਾ] dddd, LT', + lastDay: '[ਕਲ] LT', + lastWeek: '[ਪਿਛਲੇ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ਵਿੱਚ', + past: '%s ਪਿਛਲੇ', + s: 'ਕੁਝ ਸਕਿੰਟ', + ss: '%d ਸਕਿੰਟ', + m: 'ਇਕ ਮਿੰਟ', + mm: '%d ਮਿੰਟ', + h: 'ਇੱਕ ਘੰਟਾ', + hh: '%d ਘੰਟੇ', + d: 'ਇੱਕ ਦਿਨ', + dd: '%d ਦਿਨ', + M: 'ਇੱਕ ਮਹੀਨਾ', + MM: '%d ਮਹੀਨੇ', + y: 'ਇੱਕ ਸਾਲ', + yy: '%d ਸਾਲ', + }, + preparse: function (string) { + return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) { + return numberMap$f[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$g[match]; + }); + }, + // Punjabi notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi. + meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ਰਾਤ') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ਸਵੇਰ') { + return hour; + } else if (meridiem === 'ਦੁਪਹਿਰ') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'ਸ਼ਾਮ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ਰਾਤ'; + } else if (hour < 10) { + return 'ਸਵੇਰ'; + } else if (hour < 17) { + return 'ਦੁਪਹਿਰ'; + } else if (hour < 20) { + return 'ਸ਼ਾਮ'; + } else { + return 'ਰਾਤ'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var monthsNominative = + 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split( + '_' + ), + monthsSubjective = + 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split( + '_' + ), + monthsParse$a = [ + /^sty/i, + /^lut/i, + /^mar/i, + /^kwi/i, + /^maj/i, + /^cze/i, + /^lip/i, + /^sie/i, + /^wrz/i, + /^paź/i, + /^lis/i, + /^gru/i, + ]; + function plural$3(n) { + return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1; + } + function translate$8(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'ss': + return result + (plural$3(number) ? 'sekundy' : 'sekund'); + case 'm': + return withoutSuffix ? 'minuta' : 'minutę'; + case 'mm': + return result + (plural$3(number) ? 'minuty' : 'minut'); + case 'h': + return withoutSuffix ? 'godzina' : 'godzinę'; + case 'hh': + return result + (plural$3(number) ? 'godziny' : 'godzin'); + case 'ww': + return result + (plural$3(number) ? 'tygodnie' : 'tygodni'); + case 'MM': + return result + (plural$3(number) ? 'miesiące' : 'miesięcy'); + case 'yy': + return result + (plural$3(number) ? 'lata' : 'lat'); + } + } + + hooks.defineLocale('pl', { + months: function (momentToFormat, format) { + if (!momentToFormat) { + return monthsNominative; + } else if (/D MMMM/.test(format)) { + return monthsSubjective[momentToFormat.month()]; + } else { + return monthsNominative[momentToFormat.month()]; + } + }, + monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'), + monthsParse: monthsParse$a, + longMonthsParse: monthsParse$a, + shortMonthsParse: monthsParse$a, + weekdays: + 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'), + weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'), + weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Dziś o] LT', + nextDay: '[Jutro o] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[W niedzielę o] LT'; + + case 2: + return '[We wtorek o] LT'; + + case 3: + return '[W środę o] LT'; + + case 6: + return '[W sobotę o] LT'; + + default: + return '[W] dddd [o] LT'; + } + }, + lastDay: '[Wczoraj o] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[W zeszłą niedzielę o] LT'; + case 3: + return '[W zeszłą środę o] LT'; + case 6: + return '[W zeszłą sobotę o] LT'; + default: + return '[W zeszły] dddd [o] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: '%s temu', + s: 'kilka sekund', + ss: translate$8, + m: translate$8, + mm: translate$8, + h: translate$8, + hh: translate$8, + d: '1 dzień', + dd: '%d dni', + w: 'tydzień', + ww: translate$8, + M: 'miesiąc', + MM: translate$8, + y: 'rok', + yy: translate$8, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('pt-br', { + months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split( + '_' + ), + monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), + weekdays: + 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split( + '_' + ), + weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'), + weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY [às] HH:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm', + }, + calendar: { + sameDay: '[Hoje às] LT', + nextDay: '[Amanhã às] LT', + nextWeek: 'dddd [às] LT', + lastDay: '[Ontem às] LT', + lastWeek: function () { + return this.day() === 0 || this.day() === 6 + ? '[Último] dddd [às] LT' // Saturday + Sunday + : '[Última] dddd [às] LT'; // Monday - Friday + }, + sameElse: 'L', + }, + relativeTime: { + future: 'em %s', + past: 'há %s', + s: 'poucos segundos', + ss: '%d segundos', + m: 'um minuto', + mm: '%d minutos', + h: 'uma hora', + hh: '%d horas', + d: 'um dia', + dd: '%d dias', + M: 'um mês', + MM: '%d meses', + y: 'um ano', + yy: '%d anos', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + invalidDate: 'Data inválida', + }); + + //! moment.js locale configuration + + hooks.defineLocale('pt', { + months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split( + '_' + ), + monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), + weekdays: + 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split( + '_' + ), + weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), + weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY HH:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm', + }, + calendar: { + sameDay: '[Hoje às] LT', + nextDay: '[Amanhã às] LT', + nextWeek: 'dddd [às] LT', + lastDay: '[Ontem às] LT', + lastWeek: function () { + return this.day() === 0 || this.day() === 6 + ? '[Último] dddd [às] LT' // Saturday + Sunday + : '[Última] dddd [às] LT'; // Monday - Friday + }, + sameElse: 'L', + }, + relativeTime: { + future: 'em %s', + past: 'há %s', + s: 'segundos', + ss: '%d segundos', + m: 'um minuto', + mm: '%d minutos', + h: 'uma hora', + hh: '%d horas', + d: 'um dia', + dd: '%d dias', + w: 'uma semana', + ww: '%d semanas', + M: 'um mês', + MM: '%d meses', + y: 'um ano', + yy: '%d anos', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function relativeTimeWithPlural$2(number, withoutSuffix, key) { + var format = { + ss: 'secunde', + mm: 'minute', + hh: 'ore', + dd: 'zile', + ww: 'săptămâni', + MM: 'luni', + yy: 'ani', + }, + separator = ' '; + if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) { + separator = ' de '; + } + return number + separator + format[key]; + } + + hooks.defineLocale('ro', { + months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split( + '_' + ), + monthsShort: + 'ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'), + weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'), + weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[azi la] LT', + nextDay: '[mâine la] LT', + nextWeek: 'dddd [la] LT', + lastDay: '[ieri la] LT', + lastWeek: '[fosta] dddd [la] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'peste %s', + past: '%s în urmă', + s: 'câteva secunde', + ss: relativeTimeWithPlural$2, + m: 'un minut', + mm: relativeTimeWithPlural$2, + h: 'o oră', + hh: relativeTimeWithPlural$2, + d: 'o zi', + dd: relativeTimeWithPlural$2, + w: 'o săptămână', + ww: relativeTimeWithPlural$2, + M: 'o lună', + MM: relativeTimeWithPlural$2, + y: 'un an', + yy: relativeTimeWithPlural$2, + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function plural$4(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 + ? forms[0] + : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) + ? forms[1] + : forms[2]; + } + function relativeTimeWithPlural$3(number, withoutSuffix, key) { + var format = { + ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд', + mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут', + hh: 'час_часа_часов', + dd: 'день_дня_дней', + ww: 'неделя_недели_недель', + MM: 'месяц_месяца_месяцев', + yy: 'год_года_лет', + }; + if (key === 'm') { + return withoutSuffix ? 'минута' : 'минуту'; + } else { + return number + ' ' + plural$4(format[key], +number); + } + } + var monthsParse$b = [ + /^янв/i, + /^фев/i, + /^мар/i, + /^апр/i, + /^ма[йя]/i, + /^июн/i, + /^июл/i, + /^авг/i, + /^сен/i, + /^окт/i, + /^ноя/i, + /^дек/i, + ]; + + // http://new.gramota.ru/spravka/rules/139-prop : § 103 + // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637 + // CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753 + hooks.defineLocale('ru', { + months: { + format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split( + '_' + ), + standalone: + 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split( + '_' + ), + }, + monthsShort: { + // по CLDR именно "июл." и "июн.", но какой смысл менять букву на точку? + format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split( + '_' + ), + standalone: + 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split( + '_' + ), + }, + weekdays: { + standalone: + 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split( + '_' + ), + format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split( + '_' + ), + isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/, + }, + weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'), + weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'), + monthsParse: monthsParse$b, + longMonthsParse: monthsParse$b, + shortMonthsParse: monthsParse$b, + + // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки + monthsRegex: + /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, + + // копия предыдущего + monthsShortRegex: + /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, + + // полные названия с падежами + monthsStrictRegex: + /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i, + + // Выражение, которое соответствует только сокращённым формам + monthsShortStrictRegex: + /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY г.', + LLL: 'D MMMM YYYY г., H:mm', + LLLL: 'dddd, D MMMM YYYY г., H:mm', + }, + calendar: { + sameDay: '[Сегодня, в] LT', + nextDay: '[Завтра, в] LT', + lastDay: '[Вчера, в] LT', + nextWeek: function (now) { + if (now.week() !== this.week()) { + switch (this.day()) { + case 0: + return '[В следующее] dddd, [в] LT'; + case 1: + case 2: + case 4: + return '[В следующий] dddd, [в] LT'; + case 3: + case 5: + case 6: + return '[В следующую] dddd, [в] LT'; + } + } else { + if (this.day() === 2) { + return '[Во] dddd, [в] LT'; + } else { + return '[В] dddd, [в] LT'; + } + } + }, + lastWeek: function (now) { + if (now.week() !== this.week()) { + switch (this.day()) { + case 0: + return '[В прошлое] dddd, [в] LT'; + case 1: + case 2: + case 4: + return '[В прошлый] dddd, [в] LT'; + case 3: + case 5: + case 6: + return '[В прошлую] dddd, [в] LT'; + } + } else { + if (this.day() === 2) { + return '[Во] dddd, [в] LT'; + } else { + return '[В] dddd, [в] LT'; + } + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'через %s', + past: '%s назад', + s: 'несколько секунд', + ss: relativeTimeWithPlural$3, + m: relativeTimeWithPlural$3, + mm: relativeTimeWithPlural$3, + h: 'час', + hh: relativeTimeWithPlural$3, + d: 'день', + dd: relativeTimeWithPlural$3, + w: 'неделя', + ww: relativeTimeWithPlural$3, + M: 'месяц', + MM: relativeTimeWithPlural$3, + y: 'год', + yy: relativeTimeWithPlural$3, + }, + meridiemParse: /ночи|утра|дня|вечера/i, + isPM: function (input) { + return /^(дня|вечера)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ночи'; + } else if (hour < 12) { + return 'утра'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечера'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + return number + '-й'; + case 'D': + return number + '-го'; + case 'w': + case 'W': + return number + '-я'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var months$9 = [ + 'جنوري', + 'فيبروري', + 'مارچ', + 'اپريل', + 'مئي', + 'جون', + 'جولاءِ', + 'آگسٽ', + 'سيپٽمبر', + 'آڪٽوبر', + 'نومبر', + 'ڊسمبر', + ], + days$1 = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر']; + + hooks.defineLocale('sd', { + months: months$9, + monthsShort: months$9, + weekdays: days$1, + weekdaysShort: days$1, + weekdaysMin: days$1, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd، D MMMM YYYY HH:mm', + }, + meridiemParse: /صبح|شام/, + isPM: function (input) { + return 'شام' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'صبح'; + } + return 'شام'; + }, + calendar: { + sameDay: '[اڄ] LT', + nextDay: '[سڀاڻي] LT', + nextWeek: 'dddd [اڳين هفتي تي] LT', + lastDay: '[ڪالهه] LT', + lastWeek: '[گزريل هفتي] dddd [تي] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s پوء', + past: '%s اڳ', + s: 'چند سيڪنڊ', + ss: '%d سيڪنڊ', + m: 'هڪ منٽ', + mm: '%d منٽ', + h: 'هڪ ڪلاڪ', + hh: '%d ڪلاڪ', + d: 'هڪ ڏينهن', + dd: '%d ڏينهن', + M: 'هڪ مهينو', + MM: '%d مهينا', + y: 'هڪ سال', + yy: '%d سال', + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('se', { + months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split( + '_' + ), + monthsShort: + 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'), + weekdays: + 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split( + '_' + ), + weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'), + weekdaysMin: 's_v_m_g_d_b_L'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'MMMM D. [b.] YYYY', + LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm', + LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm', + }, + calendar: { + sameDay: '[otne ti] LT', + nextDay: '[ihttin ti] LT', + nextWeek: 'dddd [ti] LT', + lastDay: '[ikte ti] LT', + lastWeek: '[ovddit] dddd [ti] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s geažes', + past: 'maŋit %s', + s: 'moadde sekunddat', + ss: '%d sekunddat', + m: 'okta minuhta', + mm: '%d minuhtat', + h: 'okta diimmu', + hh: '%d diimmut', + d: 'okta beaivi', + dd: '%d beaivvit', + M: 'okta mánnu', + MM: '%d mánut', + y: 'okta jahki', + yy: '%d jagit', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + /*jshint -W100*/ + hooks.defineLocale('si', { + months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split( + '_' + ), + monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split( + '_' + ), + weekdays: + 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split( + '_' + ), + weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'), + weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'a h:mm', + LTS: 'a h:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY MMMM D', + LLL: 'YYYY MMMM D, a h:mm', + LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss', + }, + calendar: { + sameDay: '[අද] LT[ට]', + nextDay: '[හෙට] LT[ට]', + nextWeek: 'dddd LT[ට]', + lastDay: '[ඊයේ] LT[ට]', + lastWeek: '[පසුගිය] dddd LT[ට]', + sameElse: 'L', + }, + relativeTime: { + future: '%sකින්', + past: '%sකට පෙර', + s: 'තත්පර කිහිපය', + ss: 'තත්පර %d', + m: 'මිනිත්තුව', + mm: 'මිනිත්තු %d', + h: 'පැය', + hh: 'පැය %d', + d: 'දිනය', + dd: 'දින %d', + M: 'මාසය', + MM: 'මාස %d', + y: 'වසර', + yy: 'වසර %d', + }, + dayOfMonthOrdinalParse: /\d{1,2} වැනි/, + ordinal: function (number) { + return number + ' වැනි'; + }, + meridiemParse: /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./, + isPM: function (input) { + return input === 'ප.ව.' || input === 'පස් වරු'; + }, + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'ප.ව.' : 'පස් වරු'; + } else { + return isLower ? 'පෙ.ව.' : 'පෙර වරු'; + } + }, + }); + + //! moment.js locale configuration + + var months$a = + 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split( + '_' + ), + monthsShort$7 = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_'); + function plural$5(n) { + return n > 1 && n < 5; + } + function translate$9(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': // a few seconds / in a few seconds / a few seconds ago + return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami'; + case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago + if (withoutSuffix || isFuture) { + return result + (plural$5(number) ? 'sekundy' : 'sekúnd'); + } else { + return result + 'sekundami'; + } + case 'm': // a minute / in a minute / a minute ago + return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou'; + case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago + if (withoutSuffix || isFuture) { + return result + (plural$5(number) ? 'minúty' : 'minút'); + } else { + return result + 'minútami'; + } + case 'h': // an hour / in an hour / an hour ago + return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou'; + case 'hh': // 9 hours / in 9 hours / 9 hours ago + if (withoutSuffix || isFuture) { + return result + (plural$5(number) ? 'hodiny' : 'hodín'); + } else { + return result + 'hodinami'; + } + case 'd': // a day / in a day / a day ago + return withoutSuffix || isFuture ? 'deň' : 'dňom'; + case 'dd': // 9 days / in 9 days / 9 days ago + if (withoutSuffix || isFuture) { + return result + (plural$5(number) ? 'dni' : 'dní'); + } else { + return result + 'dňami'; + } + case 'M': // a month / in a month / a month ago + return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom'; + case 'MM': // 9 months / in 9 months / 9 months ago + if (withoutSuffix || isFuture) { + return result + (plural$5(number) ? 'mesiace' : 'mesiacov'); + } else { + return result + 'mesiacmi'; + } + case 'y': // a year / in a year / a year ago + return withoutSuffix || isFuture ? 'rok' : 'rokom'; + case 'yy': // 9 years / in 9 years / 9 years ago + if (withoutSuffix || isFuture) { + return result + (plural$5(number) ? 'roky' : 'rokov'); + } else { + return result + 'rokmi'; + } + } + } + + hooks.defineLocale('sk', { + months: months$a, + monthsShort: monthsShort$7, + weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'), + weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'), + weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[dnes o] LT', + nextDay: '[zajtra o] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[v nedeľu o] LT'; + case 1: + case 2: + return '[v] dddd [o] LT'; + case 3: + return '[v stredu o] LT'; + case 4: + return '[vo štvrtok o] LT'; + case 5: + return '[v piatok o] LT'; + case 6: + return '[v sobotu o] LT'; + } + }, + lastDay: '[včera o] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[minulú nedeľu o] LT'; + case 1: + case 2: + return '[minulý] dddd [o] LT'; + case 3: + return '[minulú stredu o] LT'; + case 4: + case 5: + return '[minulý] dddd [o] LT'; + case 6: + return '[minulú sobotu o] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'pred %s', + s: translate$9, + ss: translate$9, + m: translate$9, + mm: translate$9, + h: translate$9, + hh: translate$9, + d: translate$9, + dd: translate$9, + M: translate$9, + MM: translate$9, + y: translate$9, + yy: translate$9, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function processRelativeTime$9(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': + return withoutSuffix || isFuture + ? 'nekaj sekund' + : 'nekaj sekundami'; + case 'ss': + if (number === 1) { + result += withoutSuffix ? 'sekundo' : 'sekundi'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'sekundi' : 'sekundah'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah'; + } else { + result += 'sekund'; + } + return result; + case 'm': + return withoutSuffix ? 'ena minuta' : 'eno minuto'; + case 'mm': + if (number === 1) { + result += withoutSuffix ? 'minuta' : 'minuto'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'minuti' : 'minutama'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'minute' : 'minutami'; + } else { + result += withoutSuffix || isFuture ? 'minut' : 'minutami'; + } + return result; + case 'h': + return withoutSuffix ? 'ena ura' : 'eno uro'; + case 'hh': + if (number === 1) { + result += withoutSuffix ? 'ura' : 'uro'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'uri' : 'urama'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'ure' : 'urami'; + } else { + result += withoutSuffix || isFuture ? 'ur' : 'urami'; + } + return result; + case 'd': + return withoutSuffix || isFuture ? 'en dan' : 'enim dnem'; + case 'dd': + if (number === 1) { + result += withoutSuffix || isFuture ? 'dan' : 'dnem'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'dni' : 'dnevoma'; + } else { + result += withoutSuffix || isFuture ? 'dni' : 'dnevi'; + } + return result; + case 'M': + return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem'; + case 'MM': + if (number === 1) { + result += withoutSuffix || isFuture ? 'mesec' : 'mesecem'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'meseca' : 'mesecema'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'mesece' : 'meseci'; + } else { + result += withoutSuffix || isFuture ? 'mesecev' : 'meseci'; + } + return result; + case 'y': + return withoutSuffix || isFuture ? 'eno leto' : 'enim letom'; + case 'yy': + if (number === 1) { + result += withoutSuffix || isFuture ? 'leto' : 'letom'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'leti' : 'letoma'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'leta' : 'leti'; + } else { + result += withoutSuffix || isFuture ? 'let' : 'leti'; + } + return result; + } + } + + hooks.defineLocale('sl', { + months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split( + '_' + ), + monthsShort: + 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'), + weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'), + weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD. MM. YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[danes ob] LT', + nextDay: '[jutri ob] LT', + + nextWeek: function () { + switch (this.day()) { + case 0: + return '[v] [nedeljo] [ob] LT'; + case 3: + return '[v] [sredo] [ob] LT'; + case 6: + return '[v] [soboto] [ob] LT'; + case 1: + case 2: + case 4: + case 5: + return '[v] dddd [ob] LT'; + } + }, + lastDay: '[včeraj ob] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[prejšnjo] [nedeljo] [ob] LT'; + case 3: + return '[prejšnjo] [sredo] [ob] LT'; + case 6: + return '[prejšnjo] [soboto] [ob] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prejšnji] dddd [ob] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'čez %s', + past: 'pred %s', + s: processRelativeTime$9, + ss: processRelativeTime$9, + m: processRelativeTime$9, + mm: processRelativeTime$9, + h: processRelativeTime$9, + hh: processRelativeTime$9, + d: processRelativeTime$9, + dd: processRelativeTime$9, + M: processRelativeTime$9, + MM: processRelativeTime$9, + y: processRelativeTime$9, + yy: processRelativeTime$9, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('sq', { + months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split( + '_' + ), + monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'), + weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split( + '_' + ), + weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'), + weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'), + weekdaysParseExact: true, + meridiemParse: /PD|MD/, + isPM: function (input) { + return input.charAt(0) === 'M'; + }, + meridiem: function (hours, minutes, isLower) { + return hours < 12 ? 'PD' : 'MD'; + }, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Sot në] LT', + nextDay: '[Nesër në] LT', + nextWeek: 'dddd [në] LT', + lastDay: '[Dje në] LT', + lastWeek: 'dddd [e kaluar në] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'në %s', + past: '%s më parë', + s: 'disa sekonda', + ss: '%d sekonda', + m: 'një minutë', + mm: '%d minuta', + h: 'një orë', + hh: '%d orë', + d: 'një ditë', + dd: '%d ditë', + M: 'një muaj', + MM: '%d muaj', + y: 'një vit', + yy: '%d vite', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var translator$1 = { + words: { + //Different grammatical cases + ss: ['секунда', 'секунде', 'секунди'], + m: ['један минут', 'једног минута'], + mm: ['минут', 'минута', 'минута'], + h: ['један сат', 'једног сата'], + hh: ['сат', 'сата', 'сати'], + d: ['један дан', 'једног дана'], + dd: ['дан', 'дана', 'дана'], + M: ['један месец', 'једног месеца'], + MM: ['месец', 'месеца', 'месеци'], + y: ['једну годину', 'једне године'], + yy: ['годину', 'године', 'година'], + }, + correctGrammaticalCase: function (number, wordKey) { + if ( + number % 10 >= 1 && + number % 10 <= 4 && + (number % 100 < 10 || number % 100 >= 20) + ) { + return number % 10 === 1 ? wordKey[0] : wordKey[1]; + } + return wordKey[2]; + }, + translate: function (number, withoutSuffix, key, isFuture) { + var wordKey = translator$1.words[key], + word; + + if (key.length === 1) { + // Nominativ + if (key === 'y' && withoutSuffix) return 'једна година'; + return isFuture || withoutSuffix ? wordKey[0] : wordKey[1]; + } + + word = translator$1.correctGrammaticalCase(number, wordKey); + // Nominativ + if (key === 'yy' && withoutSuffix && word === 'годину') { + return number + ' година'; + } + + return number + ' ' + word; + }, + }; + + hooks.defineLocale('sr-cyrl', { + months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split( + '_' + ), + monthsShort: + 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'), + monthsParseExact: true, + weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'), + weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'), + weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D. M. YYYY.', + LL: 'D. MMMM YYYY.', + LLL: 'D. MMMM YYYY. H:mm', + LLLL: 'dddd, D. MMMM YYYY. H:mm', + }, + calendar: { + sameDay: '[данас у] LT', + nextDay: '[сутра у] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[у] [недељу] [у] LT'; + case 3: + return '[у] [среду] [у] LT'; + case 6: + return '[у] [суботу] [у] LT'; + case 1: + case 2: + case 4: + case 5: + return '[у] dddd [у] LT'; + } + }, + lastDay: '[јуче у] LT', + lastWeek: function () { + var lastWeekDays = [ + '[прошле] [недеље] [у] LT', + '[прошлог] [понедељка] [у] LT', + '[прошлог] [уторка] [у] LT', + '[прошле] [среде] [у] LT', + '[прошлог] [четвртка] [у] LT', + '[прошлог] [петка] [у] LT', + '[прошле] [суботе] [у] LT', + ]; + return lastWeekDays[this.day()]; + }, + sameElse: 'L', + }, + relativeTime: { + future: 'за %s', + past: 'пре %s', + s: 'неколико секунди', + ss: translator$1.translate, + m: translator$1.translate, + mm: translator$1.translate, + h: translator$1.translate, + hh: translator$1.translate, + d: translator$1.translate, + dd: translator$1.translate, + M: translator$1.translate, + MM: translator$1.translate, + y: translator$1.translate, + yy: translator$1.translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 1st is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var translator$2 = { + words: { + //Different grammatical cases + ss: ['sekunda', 'sekunde', 'sekundi'], + m: ['jedan minut', 'jednog minuta'], + mm: ['minut', 'minuta', 'minuta'], + h: ['jedan sat', 'jednog sata'], + hh: ['sat', 'sata', 'sati'], + d: ['jedan dan', 'jednog dana'], + dd: ['dan', 'dana', 'dana'], + M: ['jedan mesec', 'jednog meseca'], + MM: ['mesec', 'meseca', 'meseci'], + y: ['jednu godinu', 'jedne godine'], + yy: ['godinu', 'godine', 'godina'], + }, + correctGrammaticalCase: function (number, wordKey) { + if ( + number % 10 >= 1 && + number % 10 <= 4 && + (number % 100 < 10 || number % 100 >= 20) + ) { + return number % 10 === 1 ? wordKey[0] : wordKey[1]; + } + return wordKey[2]; + }, + translate: function (number, withoutSuffix, key, isFuture) { + var wordKey = translator$2.words[key], + word; + + if (key.length === 1) { + // Nominativ + if (key === 'y' && withoutSuffix) return 'jedna godina'; + return isFuture || withoutSuffix ? wordKey[0] : wordKey[1]; + } + + word = translator$2.correctGrammaticalCase(number, wordKey); + // Nominativ + if (key === 'yy' && withoutSuffix && word === 'godinu') { + return number + ' godina'; + } + + return number + ' ' + word; + }, + }; + + hooks.defineLocale('sr', { + months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split( + '_' + ), + monthsShort: + 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), + monthsParseExact: true, + weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split( + '_' + ), + weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D. M. YYYY.', + LL: 'D. MMMM YYYY.', + LLL: 'D. MMMM YYYY. H:mm', + LLLL: 'dddd, D. MMMM YYYY. H:mm', + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sutra u] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedelju] [u] LT'; + case 3: + return '[u] [sredu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay: '[juče u] LT', + lastWeek: function () { + var lastWeekDays = [ + '[prošle] [nedelje] [u] LT', + '[prošlog] [ponedeljka] [u] LT', + '[prošlog] [utorka] [u] LT', + '[prošle] [srede] [u] LT', + '[prošlog] [četvrtka] [u] LT', + '[prošlog] [petka] [u] LT', + '[prošle] [subote] [u] LT', + ]; + return lastWeekDays[this.day()]; + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'pre %s', + s: 'nekoliko sekundi', + ss: translator$2.translate, + m: translator$2.translate, + mm: translator$2.translate, + h: translator$2.translate, + hh: translator$2.translate, + d: translator$2.translate, + dd: translator$2.translate, + M: translator$2.translate, + MM: translator$2.translate, + y: translator$2.translate, + yy: translator$2.translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('ss', { + months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split( + '_' + ), + monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'), + weekdays: + 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split( + '_' + ), + weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'), + weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Namuhla nga] LT', + nextDay: '[Kusasa nga] LT', + nextWeek: 'dddd [nga] LT', + lastDay: '[Itolo nga] LT', + lastWeek: 'dddd [leliphelile] [nga] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'nga %s', + past: 'wenteka nga %s', + s: 'emizuzwana lomcane', + ss: '%d mzuzwana', + m: 'umzuzu', + mm: '%d emizuzu', + h: 'lihora', + hh: '%d emahora', + d: 'lilanga', + dd: '%d emalanga', + M: 'inyanga', + MM: '%d tinyanga', + y: 'umnyaka', + yy: '%d iminyaka', + }, + meridiemParse: /ekuseni|emini|entsambama|ebusuku/, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'ekuseni'; + } else if (hours < 15) { + return 'emini'; + } else if (hours < 19) { + return 'entsambama'; + } else { + return 'ebusuku'; + } + }, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ekuseni') { + return hour; + } else if (meridiem === 'emini') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') { + if (hour === 0) { + return 0; + } + return hour + 12; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: '%d', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('sv', { + months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), + weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'), + weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'), + weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [kl.] HH:mm', + LLLL: 'dddd D MMMM YYYY [kl.] HH:mm', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd D MMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Idag] LT', + nextDay: '[Imorgon] LT', + lastDay: '[Igår] LT', + nextWeek: '[På] dddd LT', + lastWeek: '[I] dddd[s] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'om %s', + past: 'för %s sedan', + s: 'några sekunder', + ss: '%d sekunder', + m: 'en minut', + mm: '%d minuter', + h: 'en timme', + hh: '%d timmar', + d: 'en dag', + dd: '%d dagar', + M: 'en månad', + MM: '%d månader', + y: 'ett år', + yy: '%d år', + }, + dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? ':e' + : b === 1 + ? ':a' + : b === 2 + ? ':a' + : b === 3 + ? ':e' + : ':e'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('sw', { + months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'), + weekdays: + 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split( + '_' + ), + weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'), + weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'hh:mm A', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[leo saa] LT', + nextDay: '[kesho saa] LT', + nextWeek: '[wiki ijayo] dddd [saat] LT', + lastDay: '[jana] LT', + lastWeek: '[wiki iliyopita] dddd [saat] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s baadaye', + past: 'tokea %s', + s: 'hivi punde', + ss: 'sekunde %d', + m: 'dakika moja', + mm: 'dakika %d', + h: 'saa limoja', + hh: 'masaa %d', + d: 'siku moja', + dd: 'siku %d', + M: 'mwezi mmoja', + MM: 'miezi %d', + y: 'mwaka mmoja', + yy: 'miaka %d', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var symbolMap$h = { + 1: '௧', + 2: '௨', + 3: '௩', + 4: '௪', + 5: '௫', + 6: '௬', + 7: '௭', + 8: '௮', + 9: '௯', + 0: '௦', + }, + numberMap$g = { + '௧': '1', + '௨': '2', + '௩': '3', + '௪': '4', + '௫': '5', + '௬': '6', + '௭': '7', + '௮': '8', + '௯': '9', + '௦': '0', + }; + + hooks.defineLocale('ta', { + months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split( + '_' + ), + monthsShort: + 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split( + '_' + ), + weekdays: + 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split( + '_' + ), + weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split( + '_' + ), + weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, HH:mm', + LLLL: 'dddd, D MMMM YYYY, HH:mm', + }, + calendar: { + sameDay: '[இன்று] LT', + nextDay: '[நாளை] LT', + nextWeek: 'dddd, LT', + lastDay: '[நேற்று] LT', + lastWeek: '[கடந்த வாரம்] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s இல்', + past: '%s முன்', + s: 'ஒரு சில விநாடிகள்', + ss: '%d விநாடிகள்', + m: 'ஒரு நிமிடம்', + mm: '%d நிமிடங்கள்', + h: 'ஒரு மணி நேரம்', + hh: '%d மணி நேரம்', + d: 'ஒரு நாள்', + dd: '%d நாட்கள்', + M: 'ஒரு மாதம்', + MM: '%d மாதங்கள்', + y: 'ஒரு வருடம்', + yy: '%d ஆண்டுகள்', + }, + dayOfMonthOrdinalParse: /\d{1,2}வது/, + ordinal: function (number) { + return number + 'வது'; + }, + preparse: function (string) { + return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) { + return numberMap$g[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap$h[match]; + }); + }, + // refer http://ta.wikipedia.org/s/1er1 + meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/, + meridiem: function (hour, minute, isLower) { + if (hour < 2) { + return ' யாமம்'; + } else if (hour < 6) { + return ' வைகறை'; // வைகறை + } else if (hour < 10) { + return ' காலை'; // காலை + } else if (hour < 14) { + return ' நண்பகல்'; // நண்பகல் + } else if (hour < 18) { + return ' எற்பாடு'; // எற்பாடு + } else if (hour < 22) { + return ' மாலை'; // மாலை + } else { + return ' யாமம்'; + } + }, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'யாமம்') { + return hour < 2 ? hour : hour + 12; + } else if (meridiem === 'வைகறை' || meridiem === 'காலை') { + return hour; + } else if (meridiem === 'நண்பகல்') { + return hour >= 10 ? hour : hour + 12; + } else { + return hour + 12; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('te', { + months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split( + '_' + ), + monthsShort: + 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split( + '_' + ), + weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'), + weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm', + }, + calendar: { + sameDay: '[నేడు] LT', + nextDay: '[రేపు] LT', + nextWeek: 'dddd, LT', + lastDay: '[నిన్న] LT', + lastWeek: '[గత] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s లో', + past: '%s క్రితం', + s: 'కొన్ని క్షణాలు', + ss: '%d సెకన్లు', + m: 'ఒక నిమిషం', + mm: '%d నిమిషాలు', + h: 'ఒక గంట', + hh: '%d గంటలు', + d: 'ఒక రోజు', + dd: '%d రోజులు', + M: 'ఒక నెల', + MM: '%d నెలలు', + y: 'ఒక సంవత్సరం', + yy: '%d సంవత్సరాలు', + }, + dayOfMonthOrdinalParse: /\d{1,2}వ/, + ordinal: '%dవ', + meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'రాత్రి') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ఉదయం') { + return hour; + } else if (meridiem === 'మధ్యాహ్నం') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'సాయంత్రం') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'రాత్రి'; + } else if (hour < 10) { + return 'ఉదయం'; + } else if (hour < 17) { + return 'మధ్యాహ్నం'; + } else if (hour < 20) { + return 'సాయంత్రం'; + } else { + return 'రాత్రి'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('tet', { + months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split( + '_' + ), + monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), + weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'), + weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'), + weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Ohin iha] LT', + nextDay: '[Aban iha] LT', + nextWeek: 'dddd [iha] LT', + lastDay: '[Horiseik iha] LT', + lastWeek: 'dddd [semana kotuk] [iha] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'iha %s', + past: '%s liuba', + s: 'segundu balun', + ss: 'segundu %d', + m: 'minutu ida', + mm: 'minutu %d', + h: 'oras ida', + hh: 'oras %d', + d: 'loron ida', + dd: 'loron %d', + M: 'fulan ida', + MM: 'fulan %d', + y: 'tinan ida', + yy: 'tinan %d', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var suffixes$3 = { + 0: '-ум', + 1: '-ум', + 2: '-юм', + 3: '-юм', + 4: '-ум', + 5: '-ум', + 6: '-ум', + 7: '-ум', + 8: '-ум', + 9: '-ум', + 10: '-ум', + 12: '-ум', + 13: '-ум', + 20: '-ум', + 30: '-юм', + 40: '-ум', + 50: '-ум', + 60: '-ум', + 70: '-ум', + 80: '-ум', + 90: '-ум', + 100: '-ум', + }; + + hooks.defineLocale('tg', { + months: { + format: 'январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри'.split( + '_' + ), + standalone: + 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split( + '_' + ), + }, + monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'), + weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split( + '_' + ), + weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'), + weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Имрӯз соати] LT', + nextDay: '[Фардо соати] LT', + lastDay: '[Дирӯз соати] LT', + nextWeek: 'dddd[и] [ҳафтаи оянда соати] LT', + lastWeek: 'dddd[и] [ҳафтаи гузашта соати] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'баъди %s', + past: '%s пеш', + s: 'якчанд сония', + m: 'як дақиқа', + mm: '%d дақиқа', + h: 'як соат', + hh: '%d соат', + d: 'як рӯз', + dd: '%d рӯз', + M: 'як моҳ', + MM: '%d моҳ', + y: 'як сол', + yy: '%d сол', + }, + meridiemParse: /шаб|субҳ|рӯз|бегоҳ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'шаб') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'субҳ') { + return hour; + } else if (meridiem === 'рӯз') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'бегоҳ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'шаб'; + } else if (hour < 11) { + return 'субҳ'; + } else if (hour < 16) { + return 'рӯз'; + } else if (hour < 19) { + return 'бегоҳ'; + } else { + return 'шаб'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ум|юм)/, + ordinal: function (number) { + var a = number % 10, + b = number >= 100 ? 100 : null; + return number + (suffixes$3[number] || suffixes$3[a] || suffixes$3[b]); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 1th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('th', { + months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split( + '_' + ), + monthsShort: + 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'), + weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference + weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY เวลา H:mm', + LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm', + }, + meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/, + isPM: function (input) { + return input === 'หลังเที่ยง'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ก่อนเที่ยง'; + } else { + return 'หลังเที่ยง'; + } + }, + calendar: { + sameDay: '[วันนี้ เวลา] LT', + nextDay: '[พรุ่งนี้ เวลา] LT', + nextWeek: 'dddd[หน้า เวลา] LT', + lastDay: '[เมื่อวานนี้ เวลา] LT', + lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'อีก %s', + past: '%sที่แล้ว', + s: 'ไม่กี่วินาที', + ss: '%d วินาที', + m: '1 นาที', + mm: '%d นาที', + h: '1 ชั่วโมง', + hh: '%d ชั่วโมง', + d: '1 วัน', + dd: '%d วัน', + w: '1 สัปดาห์', + ww: '%d สัปดาห์', + M: '1 เดือน', + MM: '%d เดือน', + y: '1 ปี', + yy: '%d ปี', + }, + }); + + //! moment.js locale configuration + + var suffixes$4 = { + 1: "'inji", + 5: "'inji", + 8: "'inji", + 70: "'inji", + 80: "'inji", + 2: "'nji", + 7: "'nji", + 20: "'nji", + 50: "'nji", + 3: "'ünji", + 4: "'ünji", + 100: "'ünji", + 6: "'njy", + 9: "'unjy", + 10: "'unjy", + 30: "'unjy", + 60: "'ynjy", + 90: "'ynjy", + }; + + hooks.defineLocale('tk', { + months: 'Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr'.split( + '_' + ), + monthsShort: 'Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek'.split('_'), + weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe'.split( + '_' + ), + weekdaysShort: 'Ýek_Duş_Siş_Çar_Pen_Ann_Şen'.split('_'), + weekdaysMin: 'Ýk_Dş_Sş_Çr_Pn_An_Şn'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[bugün sagat] LT', + nextDay: '[ertir sagat] LT', + nextWeek: '[indiki] dddd [sagat] LT', + lastDay: '[düýn] LT', + lastWeek: '[geçen] dddd [sagat] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s soň', + past: '%s öň', + s: 'birnäçe sekunt', + m: 'bir minut', + mm: '%d minut', + h: 'bir sagat', + hh: '%d sagat', + d: 'bir gün', + dd: '%d gün', + M: 'bir aý', + MM: '%d aý', + y: 'bir ýyl', + yy: '%d ýyl', + }, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'Do': + case 'DD': + return number; + default: + if (number === 0) { + // special case for zero + return number + "'unjy"; + } + var a = number % 10, + b = (number % 100) - a, + c = number >= 100 ? 100 : null; + return number + (suffixes$4[a] || suffixes$4[b] || suffixes$4[c]); + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('tl-ph', { + months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split( + '_' + ), + monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), + weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split( + '_' + ), + weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), + weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'MM/D/YYYY', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY HH:mm', + LLLL: 'dddd, MMMM DD, YYYY HH:mm', + }, + calendar: { + sameDay: 'LT [ngayong araw]', + nextDay: '[Bukas ng] LT', + nextWeek: 'LT [sa susunod na] dddd', + lastDay: 'LT [kahapon]', + lastWeek: 'LT [noong nakaraang] dddd', + sameElse: 'L', + }, + relativeTime: { + future: 'sa loob ng %s', + past: '%s ang nakalipas', + s: 'ilang segundo', + ss: '%d segundo', + m: 'isang minuto', + mm: '%d minuto', + h: 'isang oras', + hh: '%d oras', + d: 'isang araw', + dd: '%d araw', + M: 'isang buwan', + MM: '%d buwan', + y: 'isang taon', + yy: '%d taon', + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: function (number) { + return number; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_'); + + function translateFuture(output) { + var time = output; + time = + output.indexOf('jaj') !== -1 + ? time.slice(0, -3) + 'leS' + : output.indexOf('jar') !== -1 + ? time.slice(0, -3) + 'waQ' + : output.indexOf('DIS') !== -1 + ? time.slice(0, -3) + 'nem' + : time + ' pIq'; + return time; + } + + function translatePast(output) { + var time = output; + time = + output.indexOf('jaj') !== -1 + ? time.slice(0, -3) + 'Hu’' + : output.indexOf('jar') !== -1 + ? time.slice(0, -3) + 'wen' + : output.indexOf('DIS') !== -1 + ? time.slice(0, -3) + 'ben' + : time + ' ret'; + return time; + } + + function translate$a(number, withoutSuffix, string, isFuture) { + var numberNoun = numberAsNoun(number); + switch (string) { + case 'ss': + return numberNoun + ' lup'; + case 'mm': + return numberNoun + ' tup'; + case 'hh': + return numberNoun + ' rep'; + case 'dd': + return numberNoun + ' jaj'; + case 'MM': + return numberNoun + ' jar'; + case 'yy': + return numberNoun + ' DIS'; + } + } + + function numberAsNoun(number) { + var hundred = Math.floor((number % 1000) / 100), + ten = Math.floor((number % 100) / 10), + one = number % 10, + word = ''; + if (hundred > 0) { + word += numbersNouns[hundred] + 'vatlh'; + } + if (ten > 0) { + word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH'; + } + if (one > 0) { + word += (word !== '' ? ' ' : '') + numbersNouns[one]; + } + return word === '' ? 'pagh' : word; + } + + hooks.defineLocale('tlh', { + months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split( + '_' + ), + monthsShort: + 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split( + '_' + ), + weekdaysShort: + 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + weekdaysMin: + 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[DaHjaj] LT', + nextDay: '[wa’leS] LT', + nextWeek: 'LLL', + lastDay: '[wa’Hu’] LT', + lastWeek: 'LLL', + sameElse: 'L', + }, + relativeTime: { + future: translateFuture, + past: translatePast, + s: 'puS lup', + ss: translate$a, + m: 'wa’ tup', + mm: translate$a, + h: 'wa’ rep', + hh: translate$a, + d: 'wa’ jaj', + dd: translate$a, + M: 'wa’ jar', + MM: translate$a, + y: 'wa’ DIS', + yy: translate$a, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var suffixes$5 = { + 1: "'inci", + 5: "'inci", + 8: "'inci", + 70: "'inci", + 80: "'inci", + 2: "'nci", + 7: "'nci", + 20: "'nci", + 50: "'nci", + 3: "'üncü", + 4: "'üncü", + 100: "'üncü", + 6: "'ncı", + 9: "'uncu", + 10: "'uncu", + 30: "'uncu", + 60: "'ıncı", + 90: "'ıncı", + }; + + hooks.defineLocale('tr', { + months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split( + '_' + ), + monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'), + weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split( + '_' + ), + weekdaysShort: 'Paz_Pzt_Sal_Çar_Per_Cum_Cmt'.split('_'), + weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'), + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'öö' : 'ÖÖ'; + } else { + return isLower ? 'ös' : 'ÖS'; + } + }, + meridiemParse: /öö|ÖÖ|ös|ÖS/, + isPM: function (input) { + return input === 'ös' || input === 'ÖS'; + }, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[bugün saat] LT', + nextDay: '[yarın saat] LT', + nextWeek: '[gelecek] dddd [saat] LT', + lastDay: '[dün] LT', + lastWeek: '[geçen] dddd [saat] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s sonra', + past: '%s önce', + s: 'birkaç saniye', + ss: '%d saniye', + m: 'bir dakika', + mm: '%d dakika', + h: 'bir saat', + hh: '%d saat', + d: 'bir gün', + dd: '%d gün', + w: 'bir hafta', + ww: '%d hafta', + M: 'bir ay', + MM: '%d ay', + y: 'bir yıl', + yy: '%d yıl', + }, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'Do': + case 'DD': + return number; + default: + if (number === 0) { + // special case for zero + return number + "'ıncı"; + } + var a = number % 10, + b = (number % 100) - a, + c = number >= 100 ? 100 : null; + return number + (suffixes$5[a] || suffixes$5[b] || suffixes$5[c]); + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals. + // This is currently too difficult (maybe even impossible) to add. + hooks.defineLocale('tzl', { + months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split( + '_' + ), + monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'), + weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'), + weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'), + weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM [dallas] YYYY', + LLL: 'D. MMMM [dallas] YYYY HH.mm', + LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm', + }, + meridiemParse: /d\'o|d\'a/i, + isPM: function (input) { + return "d'o" === input.toLowerCase(); + }, + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? "d'o" : "D'O"; + } else { + return isLower ? "d'a" : "D'A"; + } + }, + calendar: { + sameDay: '[oxhi à] LT', + nextDay: '[demà à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[ieiri à] LT', + lastWeek: '[sür el] dddd [lasteu à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'osprei %s', + past: 'ja%s', + s: processRelativeTime$a, + ss: processRelativeTime$a, + m: processRelativeTime$a, + mm: processRelativeTime$a, + h: processRelativeTime$a, + hh: processRelativeTime$a, + d: processRelativeTime$a, + dd: processRelativeTime$a, + M: processRelativeTime$a, + MM: processRelativeTime$a, + y: processRelativeTime$a, + yy: processRelativeTime$a, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + function processRelativeTime$a(number, withoutSuffix, key, isFuture) { + var format = { + s: ['viensas secunds', "'iensas secunds"], + ss: [number + ' secunds', '' + number + ' secunds'], + m: ["'n míut", "'iens míut"], + mm: [number + ' míuts', '' + number + ' míuts'], + h: ["'n þora", "'iensa þora"], + hh: [number + ' þoras', '' + number + ' þoras'], + d: ["'n ziua", "'iensa ziua"], + dd: [number + ' ziuas', '' + number + ' ziuas'], + M: ["'n mes", "'iens mes"], + MM: [number + ' mesen', '' + number + ' mesen'], + y: ["'n ar", "'iens ar"], + yy: [number + ' ars', '' + number + ' ars'], + }; + return isFuture + ? format[key][0] + : withoutSuffix + ? format[key][0] + : format[key][1]; + } + + //! moment.js locale configuration + + hooks.defineLocale('tzm-latn', { + months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split( + '_' + ), + monthsShort: + 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split( + '_' + ), + weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[asdkh g] LT', + nextDay: '[aska g] LT', + nextWeek: 'dddd [g] LT', + lastDay: '[assant g] LT', + lastWeek: 'dddd [g] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dadkh s yan %s', + past: 'yan %s', + s: 'imik', + ss: '%d imik', + m: 'minuḍ', + mm: '%d minuḍ', + h: 'saɛa', + hh: '%d tassaɛin', + d: 'ass', + dd: '%d ossan', + M: 'ayowr', + MM: '%d iyyirn', + y: 'asgas', + yy: '%d isgasn', + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('tzm', { + months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split( + '_' + ), + monthsShort: + 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split( + '_' + ), + weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[ⴰⵙⴷⵅ ⴴ] LT', + nextDay: '[ⴰⵙⴽⴰ ⴴ] LT', + nextWeek: 'dddd [ⴴ] LT', + lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT', + lastWeek: 'dddd [ⴴ] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s', + past: 'ⵢⴰⵏ %s', + s: 'ⵉⵎⵉⴽ', + ss: '%d ⵉⵎⵉⴽ', + m: 'ⵎⵉⵏⵓⴺ', + mm: '%d ⵎⵉⵏⵓⴺ', + h: 'ⵙⴰⵄⴰ', + hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ', + d: 'ⴰⵙⵙ', + dd: '%d oⵙⵙⴰⵏ', + M: 'ⴰⵢoⵓⵔ', + MM: '%d ⵉⵢⵢⵉⵔⵏ', + y: 'ⴰⵙⴳⴰⵙ', + yy: '%d ⵉⵙⴳⴰⵙⵏ', + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('ug-cn', { + months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split( + '_' + ), + monthsShort: + 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split( + '_' + ), + weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split( + '_' + ), + weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'), + weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى', + LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm', + LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm', + }, + meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + meridiem === 'يېرىم كېچە' || + meridiem === 'سەھەر' || + meridiem === 'چۈشتىن بۇرۇن' + ) { + return hour; + } else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') { + return hour + 12; + } else { + return hour >= 11 ? hour : hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return 'يېرىم كېچە'; + } else if (hm < 900) { + return 'سەھەر'; + } else if (hm < 1130) { + return 'چۈشتىن بۇرۇن'; + } else if (hm < 1230) { + return 'چۈش'; + } else if (hm < 1800) { + return 'چۈشتىن كېيىن'; + } else { + return 'كەچ'; + } + }, + calendar: { + sameDay: '[بۈگۈن سائەت] LT', + nextDay: '[ئەتە سائەت] LT', + nextWeek: '[كېلەركى] dddd [سائەت] LT', + lastDay: '[تۆنۈگۈن] LT', + lastWeek: '[ئالدىنقى] dddd [سائەت] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s كېيىن', + past: '%s بۇرۇن', + s: 'نەچچە سېكونت', + ss: '%d سېكونت', + m: 'بىر مىنۇت', + mm: '%d مىنۇت', + h: 'بىر سائەت', + hh: '%d سائەت', + d: 'بىر كۈن', + dd: '%d كۈن', + M: 'بىر ئاي', + MM: '%d ئاي', + y: 'بىر يىل', + yy: '%d يىل', + }, + + dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '-كۈنى'; + case 'w': + case 'W': + return number + '-ھەپتە'; + default: + return number; + } + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效 + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 1st is the first week of the year. + }, + }); + + //! moment.js locale configuration + + function plural$6(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 + ? forms[0] + : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) + ? forms[1] + : forms[2]; + } + function relativeTimeWithPlural$4(number, withoutSuffix, key) { + var format = { + ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд', + mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин', + hh: withoutSuffix ? 'година_години_годин' : 'годину_години_годин', + dd: 'день_дні_днів', + MM: 'місяць_місяці_місяців', + yy: 'рік_роки_років', + }; + if (key === 'm') { + return withoutSuffix ? 'хвилина' : 'хвилину'; + } else if (key === 'h') { + return withoutSuffix ? 'година' : 'годину'; + } else { + return number + ' ' + plural$6(format[key], +number); + } + } + function weekdaysCaseReplace(m, format) { + var weekdays = { + nominative: + 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split( + '_' + ), + accusative: + 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split( + '_' + ), + genitive: + 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split( + '_' + ), + }, + nounCase; + + if (m === true) { + return weekdays['nominative'] + .slice(1, 7) + .concat(weekdays['nominative'].slice(0, 1)); + } + if (!m) { + return weekdays['nominative']; + } + + nounCase = /(\[[ВвУу]\]) ?dddd/.test(format) + ? 'accusative' + : /\[?(?:минулої|наступної)? ?\] ?dddd/.test(format) + ? 'genitive' + : 'nominative'; + return weekdays[nounCase][m.day()]; + } + function processHoursFunction(str) { + return function () { + return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT'; + }; + } + + hooks.defineLocale('uk', { + months: { + format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split( + '_' + ), + standalone: + 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split( + '_' + ), + }, + monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split( + '_' + ), + weekdays: weekdaysCaseReplace, + weekdaysShort: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY р.', + LLL: 'D MMMM YYYY р., HH:mm', + LLLL: 'dddd, D MMMM YYYY р., HH:mm', + }, + calendar: { + sameDay: processHoursFunction('[Сьогодні '), + nextDay: processHoursFunction('[Завтра '), + lastDay: processHoursFunction('[Вчора '), + nextWeek: processHoursFunction('[У] dddd ['), + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 5: + case 6: + return processHoursFunction('[Минулої] dddd [').call(this); + case 1: + case 2: + case 4: + return processHoursFunction('[Минулого] dddd [').call(this); + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'за %s', + past: '%s тому', + s: 'декілька секунд', + ss: relativeTimeWithPlural$4, + m: relativeTimeWithPlural$4, + mm: relativeTimeWithPlural$4, + h: 'годину', + hh: relativeTimeWithPlural$4, + d: 'день', + dd: relativeTimeWithPlural$4, + M: 'місяць', + MM: relativeTimeWithPlural$4, + y: 'рік', + yy: relativeTimeWithPlural$4, + }, + // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason + meridiemParse: /ночі|ранку|дня|вечора/, + isPM: function (input) { + return /^(дня|вечора)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ночі'; + } else if (hour < 12) { + return 'ранку'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечора'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + case 'w': + case 'W': + return number + '-й'; + case 'D': + return number + '-го'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + var months$b = [ + 'جنوری', + 'فروری', + 'مارچ', + 'اپریل', + 'مئی', + 'جون', + 'جولائی', + 'اگست', + 'ستمبر', + 'اکتوبر', + 'نومبر', + 'دسمبر', + ], + days$2 = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ']; + + hooks.defineLocale('ur', { + months: months$b, + monthsShort: months$b, + weekdays: days$2, + weekdaysShort: days$2, + weekdaysMin: days$2, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd، D MMMM YYYY HH:mm', + }, + meridiemParse: /صبح|شام/, + isPM: function (input) { + return 'شام' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'صبح'; + } + return 'شام'; + }, + calendar: { + sameDay: '[آج بوقت] LT', + nextDay: '[کل بوقت] LT', + nextWeek: 'dddd [بوقت] LT', + lastDay: '[گذشتہ روز بوقت] LT', + lastWeek: '[گذشتہ] dddd [بوقت] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s بعد', + past: '%s قبل', + s: 'چند سیکنڈ', + ss: '%d سیکنڈ', + m: 'ایک منٹ', + mm: '%d منٹ', + h: 'ایک گھنٹہ', + hh: '%d گھنٹے', + d: 'ایک دن', + dd: '%d دن', + M: 'ایک ماہ', + MM: '%d ماہ', + y: 'ایک سال', + yy: '%d سال', + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('uz-latn', { + months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split( + '_' + ), + monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'), + weekdays: + 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split( + '_' + ), + weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'), + weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'D MMMM YYYY, dddd HH:mm', + }, + calendar: { + sameDay: '[Bugun soat] LT [da]', + nextDay: '[Ertaga] LT [da]', + nextWeek: 'dddd [kuni soat] LT [da]', + lastDay: '[Kecha soat] LT [da]', + lastWeek: "[O'tgan] dddd [kuni soat] LT [da]", + sameElse: 'L', + }, + relativeTime: { + future: 'Yaqin %s ichida', + past: 'Bir necha %s oldin', + s: 'soniya', + ss: '%d soniya', + m: 'bir daqiqa', + mm: '%d daqiqa', + h: 'bir soat', + hh: '%d soat', + d: 'bir kun', + dd: '%d kun', + M: 'bir oy', + MM: '%d oy', + y: 'bir yil', + yy: '%d yil', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('uz', { + months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split( + '_' + ), + monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'), + weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'), + weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'), + weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'D MMMM YYYY, dddd HH:mm', + }, + calendar: { + sameDay: '[Бугун соат] LT [да]', + nextDay: '[Эртага] LT [да]', + nextWeek: 'dddd [куни соат] LT [да]', + lastDay: '[Кеча соат] LT [да]', + lastWeek: '[Утган] dddd [куни соат] LT [да]', + sameElse: 'L', + }, + relativeTime: { + future: 'Якин %s ичида', + past: 'Бир неча %s олдин', + s: 'фурсат', + ss: '%d фурсат', + m: 'бир дакика', + mm: '%d дакика', + h: 'бир соат', + hh: '%d соат', + d: 'бир кун', + dd: '%d кун', + M: 'бир ой', + MM: '%d ой', + y: 'бир йил', + yy: '%d йил', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('vi', { + months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split( + '_' + ), + monthsShort: + 'Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split( + '_' + ), + weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'), + weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'), + weekdaysParseExact: true, + meridiemParse: /sa|ch/i, + isPM: function (input) { + return /^ch$/i.test(input); + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'sa' : 'SA'; + } else { + return isLower ? 'ch' : 'CH'; + } + }, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [năm] YYYY', + LLL: 'D MMMM [năm] YYYY HH:mm', + LLLL: 'dddd, D MMMM [năm] YYYY HH:mm', + l: 'DD/M/YYYY', + ll: 'D MMM YYYY', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd, D MMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Hôm nay lúc] LT', + nextDay: '[Ngày mai lúc] LT', + nextWeek: 'dddd [tuần tới lúc] LT', + lastDay: '[Hôm qua lúc] LT', + lastWeek: 'dddd [tuần trước lúc] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s tới', + past: '%s trước', + s: 'vài giây', + ss: '%d giây', + m: 'một phút', + mm: '%d phút', + h: 'một giờ', + hh: '%d giờ', + d: 'một ngày', + dd: '%d ngày', + w: 'một tuần', + ww: '%d tuần', + M: 'một tháng', + MM: '%d tháng', + y: 'một năm', + yy: '%d năm', + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: function (number) { + return number; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('x-pseudo', { + months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split( + '_' + ), + monthsShort: + 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split( + '_' + ), + weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'), + weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[T~ódá~ý át] LT', + nextDay: '[T~ómó~rró~w át] LT', + nextWeek: 'dddd [át] LT', + lastDay: '[Ý~ést~érdá~ý át] LT', + lastWeek: '[L~ást] dddd [át] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'í~ñ %s', + past: '%s á~gó', + s: 'á ~féw ~sécó~ñds', + ss: '%d s~écóñ~ds', + m: 'á ~míñ~úté', + mm: '%d m~íñú~tés', + h: 'á~ñ hó~úr', + hh: '%d h~óúrs', + d: 'á ~dáý', + dd: '%d d~áýs', + M: 'á ~móñ~th', + MM: '%d m~óñt~hs', + y: 'á ~ýéár', + yy: '%d ý~éárs', + }, + dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('yo', { + months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split( + '_' + ), + monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'), + weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'), + weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'), + weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Ònì ni] LT', + nextDay: '[Ọ̀la ni] LT', + nextWeek: "dddd [Ọsẹ̀ tón'bọ] [ni] LT", + lastDay: '[Àna ni] LT', + lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ní %s', + past: '%s kọjá', + s: 'ìsẹjú aayá die', + ss: 'aayá %d', + m: 'ìsẹjú kan', + mm: 'ìsẹjú %d', + h: 'wákati kan', + hh: 'wákati %d', + d: 'ọjọ́ kan', + dd: 'ọjọ́ %d', + M: 'osù kan', + MM: 'osù %d', + y: 'ọdún kan', + yy: 'ọdún %d', + }, + dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/, + ordinal: 'ọjọ́ %d', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('zh-cn', { + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_' + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日Ah点mm分', + LLLL: 'YYYY年M月D日ddddAh点mm分', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm', + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } else { + // '中午' + return hour >= 11 ? hour : hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar: { + sameDay: '[今天]LT', + nextDay: '[明天]LT', + nextWeek: function (now) { + if (now.week() !== this.week()) { + return '[下]dddLT'; + } else { + return '[本]dddLT'; + } + }, + lastDay: '[昨天]LT', + lastWeek: function (now) { + if (this.week() !== now.week()) { + return '[上]dddLT'; + } else { + return '[本]dddLT'; + } + }, + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '周'; + default: + return number; + } + }, + relativeTime: { + future: '%s后', + past: '%s前', + s: '几秒', + ss: '%d 秒', + m: '1 分钟', + mm: '%d 分钟', + h: '1 小时', + hh: '%d 小时', + d: '1 天', + dd: '%d 天', + w: '1 周', + ww: '%d 周', + M: '1 个月', + MM: '%d 个月', + y: '1 年', + yy: '%d 年', + }, + week: { + // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效 + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('zh-hk', { + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_' + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日dddd HH:mm', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm', + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '中午') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1200) { + return '上午'; + } else if (hm === 1200) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar: { + sameDay: '[今天]LT', + nextDay: '[明天]LT', + nextWeek: '[下]ddddLT', + lastDay: '[昨天]LT', + lastWeek: '[上]ddddLT', + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '週'; + default: + return number; + } + }, + relativeTime: { + future: '%s後', + past: '%s前', + s: '幾秒', + ss: '%d 秒', + m: '1 分鐘', + mm: '%d 分鐘', + h: '1 小時', + hh: '%d 小時', + d: '1 天', + dd: '%d 天', + M: '1 個月', + MM: '%d 個月', + y: '1 年', + yy: '%d 年', + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('zh-mo', { + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_' + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日dddd HH:mm', + l: 'D/M/YYYY', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm', + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '中午') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar: { + sameDay: '[今天] LT', + nextDay: '[明天] LT', + nextWeek: '[下]dddd LT', + lastDay: '[昨天] LT', + lastWeek: '[上]dddd LT', + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '週'; + default: + return number; + } + }, + relativeTime: { + future: '%s內', + past: '%s前', + s: '幾秒', + ss: '%d 秒', + m: '1 分鐘', + mm: '%d 分鐘', + h: '1 小時', + hh: '%d 小時', + d: '1 天', + dd: '%d 天', + M: '1 個月', + MM: '%d 個月', + y: '1 年', + yy: '%d 年', + }, + }); + + //! moment.js locale configuration + + hooks.defineLocale('zh-tw', { + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_' + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日dddd HH:mm', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm', + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '中午') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar: { + sameDay: '[今天] LT', + nextDay: '[明天] LT', + nextWeek: '[下]dddd LT', + lastDay: '[昨天] LT', + lastWeek: '[上]dddd LT', + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '週'; + default: + return number; + } + }, + relativeTime: { + future: '%s後', + past: '%s前', + s: '幾秒', + ss: '%d 秒', + m: '1 分鐘', + mm: '%d 分鐘', + h: '1 小時', + hh: '%d 小時', + d: '1 天', + dd: '%d 天', + M: '1 個月', + MM: '%d 個月', + y: '1 年', + yy: '%d 年', + }, + }); + + hooks.locale('en'); + + return hooks; + +}))); diff --git a/node_modules/moment/min/moment-with-locales.min.js b/node_modules/moment/min/moment-with-locales.min.js new file mode 100644 index 0000000..8a6c9b4 --- /dev/null +++ b/node_modules/moment/min/moment-with-locales.min.js @@ -0,0 +1,2 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):e.moment=a()}(this,function(){"use strict";var E;function c(){return E.apply(null,arguments)}function F(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function z(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e,a){return Object.prototype.hasOwnProperty.call(e,a)}function N(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var a in e)if(l(e,a))return;return 1}function L(e){return void 0===e}function J(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function R(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function C(e,a){for(var t=[],s=e.length,n=0;n>>0,s=0;sFe(e)?(r=e+1,a-Fe(e)):(r=e,a);return{year:r,dayOfYear:t}}function aa(e,a,t){var s,n,r=Xe(e.year(),a,t),r=Math.floor((e.dayOfYear()-r-1)/7)+1;return r<1?s=r+ta(n=e.year()-1,a,t):r>ta(e.year(),a,t)?(s=r-ta(e.year(),a,t),n=e.year()+1):(n=e.year(),s=r),{week:s,year:n}}function ta(e,a,t){var s=Xe(e,a,t),a=Xe(e+1,a,t);return(Fe(e)-s+a)/7}s("w",["ww",2],"wo","week"),s("W",["WW",2],"Wo","isoWeek"),h("w",r,u),h("ww",r,a),h("W",r,u),h("WW",r,a),Se(["w","ww","W","WW"],function(e,a,t,s){a[s.substr(0,1)]=f(e)});function sa(e,a){return e.slice(a,7).concat(e.slice(0,a))}s("d",0,"do","day"),s("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),s("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),s("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),s("e",0,0,"weekday"),s("E",0,0,"isoWeekday"),h("d",r),h("e",r),h("E",r),h("dd",function(e,a){return a.weekdaysMinRegex(e)}),h("ddd",function(e,a){return a.weekdaysShortRegex(e)}),h("dddd",function(e,a){return a.weekdaysRegex(e)}),Se(["dd","ddd","dddd"],function(e,a,t,s){s=t._locale.weekdaysParse(e,s,t._strict);null!=s?a.d=s:Y(t).invalidWeekday=e}),Se(["d","e","E"],function(e,a,t,s){a[s]=f(e)});var na="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ra="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),da="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),_a=m,ia=m,oa=m;function ma(){function e(e,a){return a.length-e.length}for(var a,t,s,n=[],r=[],d=[],_=[],i=0;i<7;i++)s=U([2e3,1]).day(i),a=we(this.weekdaysMin(s,"")),t=we(this.weekdaysShort(s,"")),s=we(this.weekdays(s,"")),n.push(a),r.push(t),d.push(s),_.push(a),_.push(t),_.push(s);n.sort(e),r.sort(e),d.sort(e),_.sort(e),this._weekdaysRegex=new RegExp("^("+_.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+n.join("|")+")","i")}function ua(){return this.hours()%12||12}function la(e,a){s(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),a)})}function Ma(e,a){return a._meridiemParse}s("H",["HH",2],0,"hour"),s("h",["hh",2],0,ua),s("k",["kk",2],0,function(){return this.hours()||24}),s("hmm",0,0,function(){return""+ua.apply(this)+de(this.minutes(),2)}),s("hmmss",0,0,function(){return""+ua.apply(this)+de(this.minutes(),2)+de(this.seconds(),2)}),s("Hmm",0,0,function(){return""+this.hours()+de(this.minutes(),2)}),s("Hmmss",0,0,function(){return""+this.hours()+de(this.minutes(),2)+de(this.seconds(),2)}),la("a",!0),la("A",!1),h("a",Ma),h("A",Ma),h("H",r,M),h("h",r,u),h("k",r,u),h("HH",r,a),h("hh",r,a),h("kk",r,a),h("hmm",ye),h("hmmss",_),h("Hmm",ye),h("Hmmss",_),k(["H","HH"],D),k(["k","kk"],function(e,a,t){e=f(e);a[D]=24===e?0:e}),k(["a","A"],function(e,a,t){t._isPm=t._locale.isPM(e),t._meridiem=e}),k(["h","hh"],function(e,a,t){a[D]=f(e),Y(t).bigHour=!0}),k("hmm",function(e,a,t){var s=e.length-2;a[D]=f(e.substr(0,s)),a[Pe]=f(e.substr(s)),Y(t).bigHour=!0}),k("hmmss",function(e,a,t){var s=e.length-4,n=e.length-2;a[D]=f(e.substr(0,s)),a[Pe]=f(e.substr(s,2)),a[Oe]=f(e.substr(n)),Y(t).bigHour=!0}),k("Hmm",function(e,a,t){var s=e.length-2;a[D]=f(e.substr(0,s)),a[Pe]=f(e.substr(s))}),k("Hmmss",function(e,a,t){var s=e.length-4,n=e.length-2;a[D]=f(e.substr(0,s)),a[Pe]=f(e.substr(s,2)),a[Oe]=f(e.substr(n))});m=Ne("Hours",!0);var ha,ca={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ie,monthsShort:Ue,week:{dow:0,doy:6},weekdays:na,weekdaysMin:da,weekdaysShort:ra,meridiemParse:/[ap]\.?m?\.?/i},g={},La={};function Ya(e){return e&&e.toLowerCase().replace("_","-")}function ya(e){for(var a,t,s,n,r=0;r=a&&function(e,a){for(var t=Math.min(e.length,a.length),s=0;s=a-1)break;a--}r++}return ha}function fa(a){var e,t;if(void 0===g[a]&&"undefined"!=typeof module&&module&&module.exports&&(t=a)&&t.match("^[^/\\\\]*$"))try{e=ha._abbr,require("./locale/"+a),ka(e)}catch(e){g[a]=null}return g[a]}function ka(e,a){return e&&((a=L(a)?Da(e):pa(e,a))?ha=a:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ha._abbr}function pa(e,a){if(null===a)return delete g[e],null;var t,s=ca;if(a.abbr=e,null!=g[e])ae("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=g[e]._config;else if(null!=a.parentLocale)if(null!=g[a.parentLocale])s=g[a.parentLocale]._config;else{if(null==(t=fa(a.parentLocale)))return La[a.parentLocale]||(La[a.parentLocale]=[]),La[a.parentLocale].push({name:e,config:a}),null;s=t._config}return g[e]=new ne(se(s,a)),La[e]&&La[e].forEach(function(e){pa(e.name,e.config)}),ka(e),g[e]}function Da(e){var a;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return ha;if(!F(e)){if(a=fa(e))return a;e=[e]}return ya(e)}function Ta(e){var a=e._a;return a&&-2===Y(e).overflow&&(a=a[je]<0||11Ce(a[p],a[je])?xe:a[D]<0||24ta(r,i,o)?Y(s)._overflowWeeks=!0:null!=m?Y(s)._overflowWeekday=!0:(u=ea(r,d,_,i,o),s._a[p]=u.year,s._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(n=Aa(e._a[p],t[p]),(e._dayOfYear>Fe(n)||0===e._dayOfYear)&&(Y(e)._overflowDayOfYear=!0),m=Qe(n,0,e._dayOfYear),e._a[je]=m.getUTCMonth(),e._a[xe]=m.getUTCDate()),a=0;a<3&&null==e._a[a];++a)e._a[a]=l[a]=t[a];for(;a<7;a++)e._a[a]=l[a]=null==e._a[a]?2===a?1:0:e._a[a];24===e._a[D]&&0===e._a[Pe]&&0===e._a[Oe]&&0===e._a[We]&&(e._nextDay=!0,e._a[D]=0),e._d=(e._useUTC?Qe:$e).apply(null,l),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[D]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(Y(e).weekdayMismatch=!0)}}function Fa(e){if(e._f===c.ISO_8601)Pa(e);else if(e._f===c.RFC_2822)Wa(e);else{e._a=[],Y(e).empty=!0;for(var a,t,s,n,r,d=""+e._i,_=d.length,i=0,o=le(e._f,e._locale).match(_e)||[],m=o.length,u=0;ue.valueOf():e.valueOf()"}),u.toJSON=function(){return this.isValid()?this.toISOString():null},u.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},u.unix=function(){return Math.floor(this.valueOf()/1e3)},u.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},u.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},u.eraName=function(){for(var e,a=this.localeData().eras(),t=0,s=a.length;tthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},u.isLocal=function(){return!!this.isValid()&&!this._isUTC},u.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},u.isUtc=Za,u.isUTC=Za,u.zoneAbbr=function(){return this._isUTC?"UTC":""},u.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},u.dates=e("dates accessor is deprecated. Use date instead.",i),u.months=e("months accessor is deprecated. Use month instead",Ke),u.years=e("years accessor is deprecated. Use year instead",ze),u.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,a){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,a),this):-this.utcOffset()}),u.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,a;return L(this._isDSTShifted)&&(Z(e={},this),(e=za(e))._a?(a=(e._isUTC?U:w)(e._a),this._isDSTShifted=this.isValid()&&0>>0,s=0;sWe(e)?(r=e+1,t-We(e)):(r=e,t);return{year:r,dayOfYear:n}}function Be(e,t,n){var s,i,r=qe(e.year(),t,n),r=Math.floor((e.dayOfYear()-r-1)/7)+1;return r<1?s=r+N(i=e.year()-1,t,n):r>N(e.year(),t,n)?(s=r-N(e.year(),t,n),i=e.year()+1):(i=e.year(),s=r),{week:s,year:i}}function N(e,t,n){var s=qe(e,t,n),t=qe(e+1,t,n);return(We(e)-s+t)/7}s("w",["ww",2],"wo","week"),s("W",["WW",2],"Wo","isoWeek"),h("w",n,u),h("ww",n,t),h("W",n,u),h("WW",n,t),Oe(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=M(e)});function Je(e,t){return e.slice(t,7).concat(e.slice(0,t))}s("d",0,"do","day"),s("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),s("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),s("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),s("e",0,0,"weekday"),s("E",0,0,"isoWeekday"),h("d",n),h("e",n),h("E",n),h("dd",function(e,t){return t.weekdaysMinRegex(e)}),h("ddd",function(e,t){return t.weekdaysShortRegex(e)}),h("dddd",function(e,t){return t.weekdaysRegex(e)}),Oe(["dd","ddd","dddd"],function(e,t,n,s){s=n._locale.weekdaysParse(e,s,n._strict);null!=s?t.d=s:p(n).invalidWeekday=e}),Oe(["d","e","E"],function(e,t,n,s){t[s]=M(e)});var Qe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ke="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=i,tt=i,nt=i;function st(){function e(e,t){return t.length-e.length}for(var t,n,s,i=[],r=[],a=[],o=[],u=0;u<7;u++)s=l([2e3,1]).day(u),t=f(this.weekdaysMin(s,"")),n=f(this.weekdaysShort(s,"")),s=f(this.weekdays(s,"")),i.push(t),r.push(n),a.push(s),o.push(t),o.push(n),o.push(s);i.sort(e),r.sort(e),a.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function it(){return this.hours()%12||12}function rt(e,t){s(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function at(e,t){return t._meridiemParse}s("H",["HH",2],0,"hour"),s("h",["hh",2],0,it),s("k",["kk",2],0,function(){return this.hours()||24}),s("hmm",0,0,function(){return""+it.apply(this)+r(this.minutes(),2)}),s("hmmss",0,0,function(){return""+it.apply(this)+r(this.minutes(),2)+r(this.seconds(),2)}),s("Hmm",0,0,function(){return""+this.hours()+r(this.minutes(),2)}),s("Hmmss",0,0,function(){return""+this.hours()+r(this.minutes(),2)+r(this.seconds(),2)}),rt("a",!0),rt("A",!1),h("a",at),h("A",at),h("H",n,d),h("h",n,u),h("k",n,u),h("HH",n,t),h("hh",n,t),h("kk",n,t),h("hmm",me),h("hmmss",_e),h("Hmm",me),h("Hmmss",_e),v(["H","HH"],O),v(["k","kk"],function(e,t,n){e=M(e);t[O]=24===e?0:e}),v(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),v(["h","hh"],function(e,t,n){t[O]=M(e),p(n).bigHour=!0}),v("hmm",function(e,t,n){var s=e.length-2;t[O]=M(e.substr(0,s)),t[b]=M(e.substr(s)),p(n).bigHour=!0}),v("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[O]=M(e.substr(0,s)),t[b]=M(e.substr(s,2)),t[T]=M(e.substr(i)),p(n).bigHour=!0}),v("Hmm",function(e,t,n){var s=e.length-2;t[O]=M(e.substr(0,s)),t[b]=M(e.substr(s))}),v("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[O]=M(e.substr(0,s)),t[b]=M(e.substr(s,2)),t[T]=M(e.substr(i))});i=Re("Hours",!0);var ot,ut={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Fe,monthsShort:Le,week:{dow:0,doy:6},weekdays:Qe,weekdaysMin:Ke,weekdaysShort:Xe,meridiemParse:/[ap]\.?m?\.?/i},W={},lt={};function dt(e){return e&&e.toLowerCase().replace("_","-")}function ht(e){for(var t,n,s,i,r=0;r=t&&function(e,t){for(var n=Math.min(e.length,t.length),s=0;s=t-1)break;t--}r++}return ot}function ct(t){var e,n;if(void 0===W[t]&&"undefined"!=typeof module&&module&&module.exports&&(n=t)&&n.match("^[^/\\\\]*$"))try{e=ot._abbr,require("./locale/"+t),ft(e)}catch(e){W[t]=null}return W[t]}function ft(e,t){return e&&((t=g(t)?P(e):mt(e,t))?ot=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ot._abbr}function mt(e,t){if(null===t)return delete W[e],null;var n,s=ut;if(t.abbr=e,null!=W[e])Q("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=W[e]._config;else if(null!=t.parentLocale)if(null!=W[t.parentLocale])s=W[t.parentLocale]._config;else{if(null==(n=ct(t.parentLocale)))return lt[t.parentLocale]||(lt[t.parentLocale]=[]),lt[t.parentLocale].push({name:e,config:t}),null;s=n._config}return W[e]=new K(X(s,t)),lt[e]&<[e].forEach(function(e){mt(e.name,e.config)}),ft(e),W[e]}function P(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return ot;if(!y(e)){if(t=ct(e))return t;e=[e]}return ht(e)}function _t(e){var t=e._a;return t&&-2===p(e).overflow&&(t=t[Y]<0||11He(t[D],t[Y])?S:t[O]<0||24N(r,u,l)?p(s)._overflowWeeks=!0:null!=d?p(s)._overflowWeekday=!0:(h=$e(r,a,o,u,l),s._a[D]=h.year,s._dayOfYear=h.dayOfYear)),null!=e._dayOfYear&&(i=bt(e._a[D],n[D]),(e._dayOfYear>We(i)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),d=ze(i,0,e._dayOfYear),e._a[Y]=d.getUTCMonth(),e._a[S]=d.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=c[t]=n[t];for(;t<7;t++)e._a[t]=c[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[O]&&0===e._a[b]&&0===e._a[T]&&0===e._a[Te]&&(e._nextDay=!0,e._a[O]=0),e._d=(e._useUTC?ze:Ze).apply(null,c),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[O]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(p(e).weekdayMismatch=!0)}}function xt(e){if(e._f===_.ISO_8601)Yt(e);else if(e._f===_.RFC_2822)Ot(e);else{e._a=[],p(e).empty=!0;for(var t,n,s,i,r,a=""+e._i,o=a.length,u=0,l=ae(e._f,e._locale).match(te)||[],d=l.length,h=0;he.valueOf():e.valueOf()"}),u.toJSON=function(){return this.isValid()?this.toISOString():null},u.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},u.unix=function(){return Math.floor(this.valueOf()/1e3)},u.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},u.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},u.eraName=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;nthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},u.isLocal=function(){return!!this.isValid()&&!this._isUTC},u.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},u.isUtc=At,u.isUTC=At,u.zoneAbbr=function(){return this._isUTC?"UTC":""},u.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},u.dates=e("dates accessor is deprecated. Use date instead.",ge),u.months=e("months accessor is deprecated. Use month instead",Ie),u.years=e("years accessor is deprecated. Use year instead",Pe),u.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),u.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return g(this._isDSTShifted)&&(q(e={},this),(e=Nt(e))._a?(t=(e._isUTC?l:R)(e._a),this._isDSTShifted=this.isValid()&&0 string); + interface CalendarSpec { + sameDay?: CalendarSpecVal; + nextDay?: CalendarSpecVal; + lastDay?: CalendarSpecVal; + nextWeek?: CalendarSpecVal; + lastWeek?: CalendarSpecVal; + sameElse?: CalendarSpecVal; + + // any additional properties might be used with moment.calendarFormat + [x: string]: CalendarSpecVal | void; // undefined + } + + type RelativeTimeSpecVal = ( + string | + ((n: number, withoutSuffix: boolean, + key: RelativeTimeKey, isFuture: boolean) => string) + ); + type RelativeTimeFuturePastVal = string | ((relTime: string) => string); + + interface RelativeTimeSpec { + future?: RelativeTimeFuturePastVal; + past?: RelativeTimeFuturePastVal; + s?: RelativeTimeSpecVal; + ss?: RelativeTimeSpecVal; + m?: RelativeTimeSpecVal; + mm?: RelativeTimeSpecVal; + h?: RelativeTimeSpecVal; + hh?: RelativeTimeSpecVal; + d?: RelativeTimeSpecVal; + dd?: RelativeTimeSpecVal; + w?: RelativeTimeSpecVal + ww?: RelativeTimeSpecVal; + M?: RelativeTimeSpecVal; + MM?: RelativeTimeSpecVal; + y?: RelativeTimeSpecVal; + yy?: RelativeTimeSpecVal; + } + + interface LongDateFormatSpec { + LTS: string; + LT: string; + L: string; + LL: string; + LLL: string; + LLLL: string; + + // lets forget for a sec that any upper/lower permutation will also work + lts?: string; + lt?: string; + l?: string; + ll?: string; + lll?: string; + llll?: string; + } + + type MonthWeekdayFn = (momentToFormat: Moment, format?: string) => string; + type WeekdaySimpleFn = (momentToFormat: Moment) => string; + interface EraSpec { + since: string | number; + until: string | number; + offset: number; + name: string; + narrow: string; + abbr: string; + } + + interface LocaleSpecification { + months?: string[] | StandaloneFormatSpec | MonthWeekdayFn; + monthsShort?: string[] | StandaloneFormatSpec | MonthWeekdayFn; + + weekdays?: string[] | StandaloneFormatSpec | MonthWeekdayFn; + weekdaysShort?: string[] | StandaloneFormatSpec | WeekdaySimpleFn; + weekdaysMin?: string[] | StandaloneFormatSpec | WeekdaySimpleFn; + + meridiemParse?: RegExp; + meridiem?: (hour: number, minute:number, isLower: boolean) => string; + + isPM?: (input: string) => boolean; + + longDateFormat?: LongDateFormatSpec; + calendar?: CalendarSpec; + relativeTime?: RelativeTimeSpec; + invalidDate?: string; + ordinal?: (n: number) => string; + ordinalParse?: RegExp; + + week?: WeekSpec; + eras?: EraSpec[]; + + // Allow anything: in general any property that is passed as locale spec is + // put in the locale object so it can be used by locale functions + [x: string]: any; + } + + interface MomentObjectOutput { + years: number; + /* One digit */ + months: number; + /* Day of the month */ + date: number; + hours: number; + minutes: number; + seconds: number; + milliseconds: number; + } + + interface argThresholdOpts { + ss?: number; + s?: number; + m?: number; + h?: number; + d?: number; + w?: number | void; + M?: number; + } + + interface Duration { + clone(): Duration; + + humanize(argWithSuffix?: boolean, argThresholds?: argThresholdOpts): string; + + humanize(argThresholds?: argThresholdOpts): string; + + abs(): Duration; + + as(units: unitOfTime.Base): number; + get(units: unitOfTime.Base): number; + + milliseconds(): number; + asMilliseconds(): number; + + seconds(): number; + asSeconds(): number; + + minutes(): number; + asMinutes(): number; + + hours(): number; + asHours(): number; + + days(): number; + asDays(): number; + + weeks(): number; + asWeeks(): number; + + months(): number; + asMonths(): number; + + years(): number; + asYears(): number; + + add(inp?: DurationInputArg1, unit?: DurationInputArg2): Duration; + subtract(inp?: DurationInputArg1, unit?: DurationInputArg2): Duration; + + locale(): string; + locale(locale: LocaleSpecifier): Duration; + localeData(): Locale; + + toISOString(): string; + toJSON(): string; + + isValid(): boolean; + + /** + * @deprecated since version 2.8.0 + */ + lang(locale: LocaleSpecifier): Moment; + /** + * @deprecated since version 2.8.0 + */ + lang(): Locale; + /** + * @deprecated + */ + toIsoString(): string; + } + + interface MomentRelativeTime { + future: any; + past: any; + s: any; + ss: any; + m: any; + mm: any; + h: any; + hh: any; + d: any; + dd: any; + M: any; + MM: any; + y: any; + yy: any; + } + + interface MomentLongDateFormat { + L: string; + LL: string; + LLL: string; + LLLL: string; + LT: string; + LTS: string; + + l?: string; + ll?: string; + lll?: string; + llll?: string; + lt?: string; + lts?: string; + } + + interface MomentParsingFlags { + empty: boolean; + unusedTokens: string[]; + unusedInput: string[]; + overflow: number; + charsLeftOver: number; + nullInput: boolean; + invalidMonth: string | void; // null + invalidFormat: boolean; + userInvalidated: boolean; + iso: boolean; + parsedDateParts: any[]; + meridiem: string | void; // null + } + + interface MomentParsingFlagsOpt { + empty?: boolean; + unusedTokens?: string[]; + unusedInput?: string[]; + overflow?: number; + charsLeftOver?: number; + nullInput?: boolean; + invalidMonth?: string; + invalidFormat?: boolean; + userInvalidated?: boolean; + iso?: boolean; + parsedDateParts?: any[]; + meridiem?: string; + } + + interface MomentBuiltinFormat { + __momentBuiltinFormatBrand: any; + } + + type MomentFormatSpecification = string | MomentBuiltinFormat | (string | MomentBuiltinFormat)[]; + + export namespace unitOfTime { + type Base = ( + "year" | "years" | "y" | + "month" | "months" | "M" | + "week" | "weeks" | "w" | + "day" | "days" | "d" | + "hour" | "hours" | "h" | + "minute" | "minutes" | "m" | + "second" | "seconds" | "s" | + "millisecond" | "milliseconds" | "ms" + ); + + type _quarter = "quarter" | "quarters" | "Q"; + type _isoWeek = "isoWeek" | "isoWeeks" | "W"; + type _date = "date" | "dates" | "D"; + type DurationConstructor = Base | _quarter | _isoWeek; + + export type DurationAs = Base; + + export type StartOf = Base | _quarter | _isoWeek | _date | void; // null + + export type Diff = Base | _quarter; + + export type MomentConstructor = Base | _date; + + export type All = Base | _quarter | _isoWeek | _date | + "weekYear" | "weekYears" | "gg" | + "isoWeekYear" | "isoWeekYears" | "GG" | + "dayOfYear" | "dayOfYears" | "DDD" | + "weekday" | "weekdays" | "e" | + "isoWeekday" | "isoWeekdays" | "E"; + } + + type numberlike = number | string; + interface MomentInputObject { + years?: numberlike; + year?: numberlike; + y?: numberlike; + + months?: numberlike; + month?: numberlike; + M?: numberlike; + + days?: numberlike; + day?: numberlike; + d?: numberlike; + + dates?: numberlike; + date?: numberlike; + D?: numberlike; + + hours?: numberlike; + hour?: numberlike; + h?: numberlike; + + minutes?: numberlike; + minute?: numberlike; + m?: numberlike; + + seconds?: numberlike; + second?: numberlike; + s?: numberlike; + + milliseconds?: numberlike; + millisecond?: numberlike; + ms?: numberlike; + } + + interface DurationInputObject extends MomentInputObject { + quarters?: numberlike; + quarter?: numberlike; + Q?: numberlike; + + weeks?: numberlike; + week?: numberlike; + w?: numberlike; + } + + interface MomentSetObject extends MomentInputObject { + weekYears?: numberlike; + weekYear?: numberlike; + gg?: numberlike; + + isoWeekYears?: numberlike; + isoWeekYear?: numberlike; + GG?: numberlike; + + quarters?: numberlike; + quarter?: numberlike; + Q?: numberlike; + + weeks?: numberlike; + week?: numberlike; + w?: numberlike; + + isoWeeks?: numberlike; + isoWeek?: numberlike; + W?: numberlike; + + dayOfYears?: numberlike; + dayOfYear?: numberlike; + DDD?: numberlike; + + weekdays?: numberlike; + weekday?: numberlike; + e?: numberlike; + + isoWeekdays?: numberlike; + isoWeekday?: numberlike; + E?: numberlike; + } + + interface FromTo { + from: MomentInput; + to: MomentInput; + } + + type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined + type DurationInputArg1 = Duration | number | string | FromTo | DurationInputObject | void; // null | undefined + type DurationInputArg2 = unitOfTime.DurationConstructor; + type LocaleSpecifier = string | Moment | Duration | string[] | boolean; + + interface MomentCreationData { + input: MomentInput; + format?: MomentFormatSpecification; + locale: Locale; + isUTC: boolean; + strict?: boolean; + } + + interface Moment extends Object { + format(format?: string): string; + + startOf(unitOfTime: unitOfTime.StartOf): Moment; + endOf(unitOfTime: unitOfTime.StartOf): Moment; + + add(amount?: DurationInputArg1, unit?: DurationInputArg2): Moment; + /** + * @deprecated reverse syntax + */ + add(unit: unitOfTime.DurationConstructor, amount: number|string): Moment; + + subtract(amount?: DurationInputArg1, unit?: DurationInputArg2): Moment; + /** + * @deprecated reverse syntax + */ + subtract(unit: unitOfTime.DurationConstructor, amount: number|string): Moment; + + calendar(): string; + calendar(formats: CalendarSpec): string; + calendar(time: MomentInput, formats?: CalendarSpec): string; + + clone(): Moment; + + /** + * @return Unix timestamp in milliseconds + */ + valueOf(): number; + + // current date/time in local mode + local(keepLocalTime?: boolean): Moment; + isLocal(): boolean; + + // current date/time in UTC mode + utc(keepLocalTime?: boolean): Moment; + isUTC(): boolean; + /** + * @deprecated use isUTC + */ + isUtc(): boolean; + + parseZone(): Moment; + isValid(): boolean; + invalidAt(): number; + + hasAlignedHourOffset(other?: MomentInput): boolean; + + creationData(): MomentCreationData; + parsingFlags(): MomentParsingFlags; + + year(y: number): Moment; + year(): number; + /** + * @deprecated use year(y) + */ + years(y: number): Moment; + /** + * @deprecated use year() + */ + years(): number; + quarter(): number; + quarter(q: number): Moment; + quarters(): number; + quarters(q: number): Moment; + month(M: number|string): Moment; + month(): number; + /** + * @deprecated use month(M) + */ + months(M: number|string): Moment; + /** + * @deprecated use month() + */ + months(): number; + day(d: number|string): Moment; + day(): number; + days(d: number|string): Moment; + days(): number; + date(d: number): Moment; + date(): number; + /** + * @deprecated use date(d) + */ + dates(d: number): Moment; + /** + * @deprecated use date() + */ + dates(): number; + hour(h: number): Moment; + hour(): number; + hours(h: number): Moment; + hours(): number; + minute(m: number): Moment; + minute(): number; + minutes(m: number): Moment; + minutes(): number; + second(s: number): Moment; + second(): number; + seconds(s: number): Moment; + seconds(): number; + millisecond(ms: number): Moment; + millisecond(): number; + milliseconds(ms: number): Moment; + milliseconds(): number; + weekday(): number; + weekday(d: number): Moment; + isoWeekday(): number; + isoWeekday(d: number|string): Moment; + weekYear(): number; + weekYear(d: number): Moment; + isoWeekYear(): number; + isoWeekYear(d: number): Moment; + week(): number; + week(d: number): Moment; + weeks(): number; + weeks(d: number): Moment; + isoWeek(): number; + isoWeek(d: number): Moment; + isoWeeks(): number; + isoWeeks(d: number): Moment; + weeksInYear(): number; + weeksInWeekYear(): number; + isoWeeksInYear(): number; + isoWeeksInISOWeekYear(): number; + dayOfYear(): number; + dayOfYear(d: number): Moment; + + from(inp: MomentInput, suffix?: boolean): string; + to(inp: MomentInput, suffix?: boolean): string; + fromNow(withoutSuffix?: boolean): string; + toNow(withoutPrefix?: boolean): string; + + diff(b: MomentInput, unitOfTime?: unitOfTime.Diff, precise?: boolean): number; + + toArray(): number[]; + toDate(): Date; + toISOString(keepOffset?: boolean): string; + inspect(): string; + toJSON(): string; + unix(): number; + + isLeapYear(): boolean; + /** + * @deprecated in favor of utcOffset + */ + zone(): number; + zone(b: number|string): Moment; + utcOffset(): number; + utcOffset(b: number|string, keepLocalTime?: boolean): Moment; + isUtcOffset(): boolean; + daysInMonth(): number; + isDST(): boolean; + + zoneAbbr(): string; + zoneName(): string; + + isBefore(inp?: MomentInput, granularity?: unitOfTime.StartOf): boolean; + isAfter(inp?: MomentInput, granularity?: unitOfTime.StartOf): boolean; + isSame(inp?: MomentInput, granularity?: unitOfTime.StartOf): boolean; + isSameOrAfter(inp?: MomentInput, granularity?: unitOfTime.StartOf): boolean; + isSameOrBefore(inp?: MomentInput, granularity?: unitOfTime.StartOf): boolean; + isBetween(a: MomentInput, b: MomentInput, granularity?: unitOfTime.StartOf, inclusivity?: "()" | "[)" | "(]" | "[]"): boolean; + + /** + * @deprecated as of 2.8.0, use locale + */ + lang(language: LocaleSpecifier): Moment; + /** + * @deprecated as of 2.8.0, use locale + */ + lang(): Locale; + + locale(): string; + locale(locale: LocaleSpecifier): Moment; + + localeData(): Locale; + + /** + * @deprecated no reliable implementation + */ + isDSTShifted(): boolean; + + // NOTE(constructor): Same as moment constructor + /** + * @deprecated as of 2.7.0, use moment.min/max + */ + max(inp?: MomentInput, format?: MomentFormatSpecification, strict?: boolean): Moment; + /** + * @deprecated as of 2.7.0, use moment.min/max + */ + max(inp?: MomentInput, format?: MomentFormatSpecification, language?: string, strict?: boolean): Moment; + + // NOTE(constructor): Same as moment constructor + /** + * @deprecated as of 2.7.0, use moment.min/max + */ + min(inp?: MomentInput, format?: MomentFormatSpecification, strict?: boolean): Moment; + /** + * @deprecated as of 2.7.0, use moment.min/max + */ + min(inp?: MomentInput, format?: MomentFormatSpecification, language?: string, strict?: boolean): Moment; + + get(unit: unitOfTime.All): number; + set(unit: unitOfTime.All, value: number): Moment; + set(objectLiteral: MomentSetObject): Moment; + + toObject(): MomentObjectOutput; + } + + export var version: string; + export var fn: Moment; + + // NOTE(constructor): Same as moment constructor + /** + * @param strict Strict parsing disables the deprecated fallback to the native Date constructor when + * parsing a string. + */ + export function utc(inp?: MomentInput, strict?: boolean): Moment; + /** + * @param strict Strict parsing requires that the format and input match exactly, including delimiters. + * Strict parsing is frequently the best parsing option. For more information about choosing strict vs + * forgiving parsing, see the [parsing guide](https://momentjs.com/guides/#/parsing/). + */ + export function utc(inp?: MomentInput, format?: MomentFormatSpecification, strict?: boolean): Moment; + /** + * @param strict Strict parsing requires that the format and input match exactly, including delimiters. + * Strict parsing is frequently the best parsing option. For more information about choosing strict vs + * forgiving parsing, see the [parsing guide](https://momentjs.com/guides/#/parsing/). + */ + export function utc(inp?: MomentInput, format?: MomentFormatSpecification, language?: string, strict?: boolean): Moment; + + export function unix(timestamp: number): Moment; + + export function invalid(flags?: MomentParsingFlagsOpt): Moment; + export function isMoment(m: any): m is Moment; + export function isDate(m: any): m is Date; + export function isDuration(d: any): d is Duration; + + /** + * @deprecated in 2.8.0 + */ + export function lang(language?: string): string; + /** + * @deprecated in 2.8.0 + */ + export function lang(language?: string, definition?: Locale): string; + + export function locale(language?: string): string; + export function locale(language?: string[]): string; + export function locale(language?: string, definition?: LocaleSpecification | void): string; // null | undefined + + export function localeData(key?: string | string[]): Locale; + + export function duration(inp?: DurationInputArg1, unit?: DurationInputArg2): Duration; + + // NOTE(constructor): Same as moment constructor + export function parseZone(inp?: MomentInput, format?: MomentFormatSpecification, strict?: boolean): Moment; + export function parseZone(inp?: MomentInput, format?: MomentFormatSpecification, language?: string, strict?: boolean): Moment; + + export function months(): string[]; + export function months(index: number): string; + export function months(format: string): string[]; + export function months(format: string, index: number): string; + export function monthsShort(): string[]; + export function monthsShort(index: number): string; + export function monthsShort(format: string): string[]; + export function monthsShort(format: string, index: number): string; + + export function weekdays(): string[]; + export function weekdays(index: number): string; + export function weekdays(format: string): string[]; + export function weekdays(format: string, index: number): string; + export function weekdays(localeSorted: boolean): string[]; + export function weekdays(localeSorted: boolean, index: number): string; + export function weekdays(localeSorted: boolean, format: string): string[]; + export function weekdays(localeSorted: boolean, format: string, index: number): string; + export function weekdaysShort(): string[]; + export function weekdaysShort(index: number): string; + export function weekdaysShort(format: string): string[]; + export function weekdaysShort(format: string, index: number): string; + export function weekdaysShort(localeSorted: boolean): string[]; + export function weekdaysShort(localeSorted: boolean, index: number): string; + export function weekdaysShort(localeSorted: boolean, format: string): string[]; + export function weekdaysShort(localeSorted: boolean, format: string, index: number): string; + export function weekdaysMin(): string[]; + export function weekdaysMin(index: number): string; + export function weekdaysMin(format: string): string[]; + export function weekdaysMin(format: string, index: number): string; + export function weekdaysMin(localeSorted: boolean): string[]; + export function weekdaysMin(localeSorted: boolean, index: number): string; + export function weekdaysMin(localeSorted: boolean, format: string): string[]; + export function weekdaysMin(localeSorted: boolean, format: string, index: number): string; + + export function min(moments: Moment[]): Moment; + export function min(...moments: Moment[]): Moment; + export function max(moments: Moment[]): Moment; + export function max(...moments: Moment[]): Moment; + + /** + * Returns unix time in milliseconds. Overwrite for profit. + */ + export function now(): number; + + export function defineLocale(language: string, localeSpec: LocaleSpecification | void): Locale; // null + export function updateLocale(language: string, localeSpec: LocaleSpecification | void): Locale; // null + + export function locales(): string[]; + + export function normalizeUnits(unit: unitOfTime.All): string; + export function relativeTimeThreshold(threshold: string): number | boolean; + export function relativeTimeThreshold(threshold: string, limit: number): boolean; + export function relativeTimeRounding(fn: (num: number) => number): boolean; + export function relativeTimeRounding(): (num: number) => number; + export function calendarFormat(m: Moment, now: Moment): string; + + export function parseTwoDigitYear(input: string): number; + + /** + * Constant used to enable explicit ISO_8601 format parsing. + */ + export var ISO_8601: MomentBuiltinFormat; + export var RFC_2822: MomentBuiltinFormat; + + export var defaultFormat: string; + export var defaultFormatUtc: string; + export var suppressDeprecationWarnings: boolean; + export var deprecationHandler: ((name: string | void, msg: string) => void) | void; + + export var HTML5_FMT: { + DATETIME_LOCAL: string, + DATETIME_LOCAL_SECONDS: string, + DATETIME_LOCAL_MS: string, + DATE: string, + TIME: string, + TIME_SECONDS: string, + TIME_MS: string, + WEEK: string, + MONTH: string + }; + +} + +export = moment; diff --git a/node_modules/moment/moment.js b/node_modules/moment/moment.js new file mode 100644 index 0000000..480b9fb --- /dev/null +++ b/node_modules/moment/moment.js @@ -0,0 +1,5688 @@ +//! moment.js +//! version : 2.30.1 +//! authors : Tim Wood, Iskren Chernev, Moment.js contributors +//! license : MIT +//! momentjs.com + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + global.moment = factory() +}(this, (function () { 'use strict'; + + var hookCallback; + + function hooks() { + return hookCallback.apply(null, arguments); + } + + // This is done to register the method called with moment() + // without creating circular dependencies. + function setHookCallback(callback) { + hookCallback = callback; + } + + function isArray(input) { + return ( + input instanceof Array || + Object.prototype.toString.call(input) === '[object Array]' + ); + } + + function isObject(input) { + // IE8 will treat undefined and null as object if it wasn't for + // input != null + return ( + input != null && + Object.prototype.toString.call(input) === '[object Object]' + ); + } + + function hasOwnProp(a, b) { + return Object.prototype.hasOwnProperty.call(a, b); + } + + function isObjectEmpty(obj) { + if (Object.getOwnPropertyNames) { + return Object.getOwnPropertyNames(obj).length === 0; + } else { + var k; + for (k in obj) { + if (hasOwnProp(obj, k)) { + return false; + } + } + return true; + } + } + + function isUndefined(input) { + return input === void 0; + } + + function isNumber(input) { + return ( + typeof input === 'number' || + Object.prototype.toString.call(input) === '[object Number]' + ); + } + + function isDate(input) { + return ( + input instanceof Date || + Object.prototype.toString.call(input) === '[object Date]' + ); + } + + function map(arr, fn) { + var res = [], + i, + arrLen = arr.length; + for (i = 0; i < arrLen; ++i) { + res.push(fn(arr[i], i)); + } + return res; + } + + function extend(a, b) { + for (var i in b) { + if (hasOwnProp(b, i)) { + a[i] = b[i]; + } + } + + if (hasOwnProp(b, 'toString')) { + a.toString = b.toString; + } + + if (hasOwnProp(b, 'valueOf')) { + a.valueOf = b.valueOf; + } + + return a; + } + + function createUTC(input, format, locale, strict) { + return createLocalOrUTC(input, format, locale, strict, true).utc(); + } + + function defaultParsingFlags() { + // We need to deep clone this object. + return { + empty: false, + unusedTokens: [], + unusedInput: [], + overflow: -2, + charsLeftOver: 0, + nullInput: false, + invalidEra: null, + invalidMonth: null, + invalidFormat: false, + userInvalidated: false, + iso: false, + parsedDateParts: [], + era: null, + meridiem: null, + rfc2822: false, + weekdayMismatch: false, + }; + } + + function getParsingFlags(m) { + if (m._pf == null) { + m._pf = defaultParsingFlags(); + } + return m._pf; + } + + var some; + if (Array.prototype.some) { + some = Array.prototype.some; + } else { + some = function (fun) { + var t = Object(this), + len = t.length >>> 0, + i; + + for (i = 0; i < len; i++) { + if (i in t && fun.call(this, t[i], i, t)) { + return true; + } + } + + return false; + }; + } + + function isValid(m) { + var flags = null, + parsedParts = false, + isNowValid = m._d && !isNaN(m._d.getTime()); + if (isNowValid) { + flags = getParsingFlags(m); + parsedParts = some.call(flags.parsedDateParts, function (i) { + return i != null; + }); + isNowValid = + flags.overflow < 0 && + !flags.empty && + !flags.invalidEra && + !flags.invalidMonth && + !flags.invalidWeekday && + !flags.weekdayMismatch && + !flags.nullInput && + !flags.invalidFormat && + !flags.userInvalidated && + (!flags.meridiem || (flags.meridiem && parsedParts)); + if (m._strict) { + isNowValid = + isNowValid && + flags.charsLeftOver === 0 && + flags.unusedTokens.length === 0 && + flags.bigHour === undefined; + } + } + if (Object.isFrozen == null || !Object.isFrozen(m)) { + m._isValid = isNowValid; + } else { + return isNowValid; + } + return m._isValid; + } + + function createInvalid(flags) { + var m = createUTC(NaN); + if (flags != null) { + extend(getParsingFlags(m), flags); + } else { + getParsingFlags(m).userInvalidated = true; + } + + return m; + } + + // Plugins that add properties should also add the key here (null value), + // so we can properly clone ourselves. + var momentProperties = (hooks.momentProperties = []), + updateInProgress = false; + + function copyConfig(to, from) { + var i, + prop, + val, + momentPropertiesLen = momentProperties.length; + + if (!isUndefined(from._isAMomentObject)) { + to._isAMomentObject = from._isAMomentObject; + } + if (!isUndefined(from._i)) { + to._i = from._i; + } + if (!isUndefined(from._f)) { + to._f = from._f; + } + if (!isUndefined(from._l)) { + to._l = from._l; + } + if (!isUndefined(from._strict)) { + to._strict = from._strict; + } + if (!isUndefined(from._tzm)) { + to._tzm = from._tzm; + } + if (!isUndefined(from._isUTC)) { + to._isUTC = from._isUTC; + } + if (!isUndefined(from._offset)) { + to._offset = from._offset; + } + if (!isUndefined(from._pf)) { + to._pf = getParsingFlags(from); + } + if (!isUndefined(from._locale)) { + to._locale = from._locale; + } + + if (momentPropertiesLen > 0) { + for (i = 0; i < momentPropertiesLen; i++) { + prop = momentProperties[i]; + val = from[prop]; + if (!isUndefined(val)) { + to[prop] = val; + } + } + } + + return to; + } + + // Moment prototype object + function Moment(config) { + copyConfig(this, config); + this._d = new Date(config._d != null ? config._d.getTime() : NaN); + if (!this.isValid()) { + this._d = new Date(NaN); + } + // Prevent infinite loop in case updateOffset creates new moment + // objects. + if (updateInProgress === false) { + updateInProgress = true; + hooks.updateOffset(this); + updateInProgress = false; + } + } + + function isMoment(obj) { + return ( + obj instanceof Moment || (obj != null && obj._isAMomentObject != null) + ); + } + + function warn(msg) { + if ( + hooks.suppressDeprecationWarnings === false && + typeof console !== 'undefined' && + console.warn + ) { + console.warn('Deprecation warning: ' + msg); + } + } + + function deprecate(msg, fn) { + var firstTime = true; + + return extend(function () { + if (hooks.deprecationHandler != null) { + hooks.deprecationHandler(null, msg); + } + if (firstTime) { + var args = [], + arg, + i, + key, + argLen = arguments.length; + for (i = 0; i < argLen; i++) { + arg = ''; + if (typeof arguments[i] === 'object') { + arg += '\n[' + i + '] '; + for (key in arguments[0]) { + if (hasOwnProp(arguments[0], key)) { + arg += key + ': ' + arguments[0][key] + ', '; + } + } + arg = arg.slice(0, -2); // Remove trailing comma and space + } else { + arg = arguments[i]; + } + args.push(arg); + } + warn( + msg + + '\nArguments: ' + + Array.prototype.slice.call(args).join('') + + '\n' + + new Error().stack + ); + firstTime = false; + } + return fn.apply(this, arguments); + }, fn); + } + + var deprecations = {}; + + function deprecateSimple(name, msg) { + if (hooks.deprecationHandler != null) { + hooks.deprecationHandler(name, msg); + } + if (!deprecations[name]) { + warn(msg); + deprecations[name] = true; + } + } + + hooks.suppressDeprecationWarnings = false; + hooks.deprecationHandler = null; + + function isFunction(input) { + return ( + (typeof Function !== 'undefined' && input instanceof Function) || + Object.prototype.toString.call(input) === '[object Function]' + ); + } + + function set(config) { + var prop, i; + for (i in config) { + if (hasOwnProp(config, i)) { + prop = config[i]; + if (isFunction(prop)) { + this[i] = prop; + } else { + this['_' + i] = prop; + } + } + } + this._config = config; + // Lenient ordinal parsing accepts just a number in addition to + // number + (possibly) stuff coming from _dayOfMonthOrdinalParse. + // TODO: Remove "ordinalParse" fallback in next major release. + this._dayOfMonthOrdinalParseLenient = new RegExp( + (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + + '|' + + /\d{1,2}/.source + ); + } + + function mergeConfigs(parentConfig, childConfig) { + var res = extend({}, parentConfig), + prop; + for (prop in childConfig) { + if (hasOwnProp(childConfig, prop)) { + if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) { + res[prop] = {}; + extend(res[prop], parentConfig[prop]); + extend(res[prop], childConfig[prop]); + } else if (childConfig[prop] != null) { + res[prop] = childConfig[prop]; + } else { + delete res[prop]; + } + } + } + for (prop in parentConfig) { + if ( + hasOwnProp(parentConfig, prop) && + !hasOwnProp(childConfig, prop) && + isObject(parentConfig[prop]) + ) { + // make sure changes to properties don't modify parent config + res[prop] = extend({}, res[prop]); + } + } + return res; + } + + function Locale(config) { + if (config != null) { + this.set(config); + } + } + + var keys; + + if (Object.keys) { + keys = Object.keys; + } else { + keys = function (obj) { + var i, + res = []; + for (i in obj) { + if (hasOwnProp(obj, i)) { + res.push(i); + } + } + return res; + }; + } + + var defaultCalendar = { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }; + + function calendar(key, mom, now) { + var output = this._calendar[key] || this._calendar['sameElse']; + return isFunction(output) ? output.call(mom, now) : output; + } + + function zeroFill(number, targetLength, forceSign) { + var absNumber = '' + Math.abs(number), + zerosToFill = targetLength - absNumber.length, + sign = number >= 0; + return ( + (sign ? (forceSign ? '+' : '') : '-') + + Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + + absNumber + ); + } + + var formattingTokens = + /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, + localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, + formatFunctions = {}, + formatTokenFunctions = {}; + + // token: 'M' + // padded: ['MM', 2] + // ordinal: 'Mo' + // callback: function () { this.month() + 1 } + function addFormatToken(token, padded, ordinal, callback) { + var func = callback; + if (typeof callback === 'string') { + func = function () { + return this[callback](); + }; + } + if (token) { + formatTokenFunctions[token] = func; + } + if (padded) { + formatTokenFunctions[padded[0]] = function () { + return zeroFill(func.apply(this, arguments), padded[1], padded[2]); + }; + } + if (ordinal) { + formatTokenFunctions[ordinal] = function () { + return this.localeData().ordinal( + func.apply(this, arguments), + token + ); + }; + } + } + + function removeFormattingTokens(input) { + if (input.match(/\[[\s\S]/)) { + return input.replace(/^\[|\]$/g, ''); + } + return input.replace(/\\/g, ''); + } + + function makeFormatFunction(format) { + var array = format.match(formattingTokens), + i, + length; + + for (i = 0, length = array.length; i < length; i++) { + if (formatTokenFunctions[array[i]]) { + array[i] = formatTokenFunctions[array[i]]; + } else { + array[i] = removeFormattingTokens(array[i]); + } + } + + return function (mom) { + var output = '', + i; + for (i = 0; i < length; i++) { + output += isFunction(array[i]) + ? array[i].call(mom, format) + : array[i]; + } + return output; + }; + } + + // format date using native date object + function formatMoment(m, format) { + if (!m.isValid()) { + return m.localeData().invalidDate(); + } + + format = expandFormat(format, m.localeData()); + formatFunctions[format] = + formatFunctions[format] || makeFormatFunction(format); + + return formatFunctions[format](m); + } + + function expandFormat(format, locale) { + var i = 5; + + function replaceLongDateFormatTokens(input) { + return locale.longDateFormat(input) || input; + } + + localFormattingTokens.lastIndex = 0; + while (i >= 0 && localFormattingTokens.test(format)) { + format = format.replace( + localFormattingTokens, + replaceLongDateFormatTokens + ); + localFormattingTokens.lastIndex = 0; + i -= 1; + } + + return format; + } + + var defaultLongDateFormat = { + LTS: 'h:mm:ss A', + LT: 'h:mm A', + L: 'MM/DD/YYYY', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY h:mm A', + LLLL: 'dddd, MMMM D, YYYY h:mm A', + }; + + function longDateFormat(key) { + var format = this._longDateFormat[key], + formatUpper = this._longDateFormat[key.toUpperCase()]; + + if (format || !formatUpper) { + return format; + } + + this._longDateFormat[key] = formatUpper + .match(formattingTokens) + .map(function (tok) { + if ( + tok === 'MMMM' || + tok === 'MM' || + tok === 'DD' || + tok === 'dddd' + ) { + return tok.slice(1); + } + return tok; + }) + .join(''); + + return this._longDateFormat[key]; + } + + var defaultInvalidDate = 'Invalid date'; + + function invalidDate() { + return this._invalidDate; + } + + var defaultOrdinal = '%d', + defaultDayOfMonthOrdinalParse = /\d{1,2}/; + + function ordinal(number) { + return this._ordinal.replace('%d', number); + } + + var defaultRelativeTime = { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + w: 'a week', + ww: '%d weeks', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }; + + function relativeTime(number, withoutSuffix, string, isFuture) { + var output = this._relativeTime[string]; + return isFunction(output) + ? output(number, withoutSuffix, string, isFuture) + : output.replace(/%d/i, number); + } + + function pastFuture(diff, output) { + var format = this._relativeTime[diff > 0 ? 'future' : 'past']; + return isFunction(format) ? format(output) : format.replace(/%s/i, output); + } + + var aliases = { + D: 'date', + dates: 'date', + date: 'date', + d: 'day', + days: 'day', + day: 'day', + e: 'weekday', + weekdays: 'weekday', + weekday: 'weekday', + E: 'isoWeekday', + isoweekdays: 'isoWeekday', + isoweekday: 'isoWeekday', + DDD: 'dayOfYear', + dayofyears: 'dayOfYear', + dayofyear: 'dayOfYear', + h: 'hour', + hours: 'hour', + hour: 'hour', + ms: 'millisecond', + milliseconds: 'millisecond', + millisecond: 'millisecond', + m: 'minute', + minutes: 'minute', + minute: 'minute', + M: 'month', + months: 'month', + month: 'month', + Q: 'quarter', + quarters: 'quarter', + quarter: 'quarter', + s: 'second', + seconds: 'second', + second: 'second', + gg: 'weekYear', + weekyears: 'weekYear', + weekyear: 'weekYear', + GG: 'isoWeekYear', + isoweekyears: 'isoWeekYear', + isoweekyear: 'isoWeekYear', + w: 'week', + weeks: 'week', + week: 'week', + W: 'isoWeek', + isoweeks: 'isoWeek', + isoweek: 'isoWeek', + y: 'year', + years: 'year', + year: 'year', + }; + + function normalizeUnits(units) { + return typeof units === 'string' + ? aliases[units] || aliases[units.toLowerCase()] + : undefined; + } + + function normalizeObjectUnits(inputObject) { + var normalizedInput = {}, + normalizedProp, + prop; + + for (prop in inputObject) { + if (hasOwnProp(inputObject, prop)) { + normalizedProp = normalizeUnits(prop); + if (normalizedProp) { + normalizedInput[normalizedProp] = inputObject[prop]; + } + } + } + + return normalizedInput; + } + + var priorities = { + date: 9, + day: 11, + weekday: 11, + isoWeekday: 11, + dayOfYear: 4, + hour: 13, + millisecond: 16, + minute: 14, + month: 8, + quarter: 7, + second: 15, + weekYear: 1, + isoWeekYear: 1, + week: 5, + isoWeek: 5, + year: 1, + }; + + function getPrioritizedUnits(unitsObj) { + var units = [], + u; + for (u in unitsObj) { + if (hasOwnProp(unitsObj, u)) { + units.push({ unit: u, priority: priorities[u] }); + } + } + units.sort(function (a, b) { + return a.priority - b.priority; + }); + return units; + } + + var match1 = /\d/, // 0 - 9 + match2 = /\d\d/, // 00 - 99 + match3 = /\d{3}/, // 000 - 999 + match4 = /\d{4}/, // 0000 - 9999 + match6 = /[+-]?\d{6}/, // -999999 - 999999 + match1to2 = /\d\d?/, // 0 - 99 + match3to4 = /\d\d\d\d?/, // 999 - 9999 + match5to6 = /\d\d\d\d\d\d?/, // 99999 - 999999 + match1to3 = /\d{1,3}/, // 0 - 999 + match1to4 = /\d{1,4}/, // 0 - 9999 + match1to6 = /[+-]?\d{1,6}/, // -999999 - 999999 + matchUnsigned = /\d+/, // 0 - inf + matchSigned = /[+-]?\d+/, // -inf - inf + matchOffset = /Z|[+-]\d\d:?\d\d/gi, // +00:00 -00:00 +0000 -0000 or Z + matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi, // +00 -00 +00:00 -00:00 +0000 -0000 or Z + matchTimestamp = /[+-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123 + // any word (or two) characters or numbers including two/three word month in arabic. + // includes scottish gaelic two word and hyphenated months + matchWord = + /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, + match1to2NoLeadingZero = /^[1-9]\d?/, // 1-99 + match1to2HasZero = /^([1-9]\d|\d)/, // 0-99 + regexes; + + regexes = {}; + + function addRegexToken(token, regex, strictRegex) { + regexes[token] = isFunction(regex) + ? regex + : function (isStrict, localeData) { + return isStrict && strictRegex ? strictRegex : regex; + }; + } + + function getParseRegexForToken(token, config) { + if (!hasOwnProp(regexes, token)) { + return new RegExp(unescapeFormat(token)); + } + + return regexes[token](config._strict, config._locale); + } + + // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript + function unescapeFormat(s) { + return regexEscape( + s + .replace('\\', '') + .replace( + /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, + function (matched, p1, p2, p3, p4) { + return p1 || p2 || p3 || p4; + } + ) + ); + } + + function regexEscape(s) { + return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); + } + + function absFloor(number) { + if (number < 0) { + // -0 -> 0 + return Math.ceil(number) || 0; + } else { + return Math.floor(number); + } + } + + function toInt(argumentForCoercion) { + var coercedNumber = +argumentForCoercion, + value = 0; + + if (coercedNumber !== 0 && isFinite(coercedNumber)) { + value = absFloor(coercedNumber); + } + + return value; + } + + var tokens = {}; + + function addParseToken(token, callback) { + var i, + func = callback, + tokenLen; + if (typeof token === 'string') { + token = [token]; + } + if (isNumber(callback)) { + func = function (input, array) { + array[callback] = toInt(input); + }; + } + tokenLen = token.length; + for (i = 0; i < tokenLen; i++) { + tokens[token[i]] = func; + } + } + + function addWeekParseToken(token, callback) { + addParseToken(token, function (input, array, config, token) { + config._w = config._w || {}; + callback(input, config._w, config, token); + }); + } + + function addTimeToArrayFromToken(token, input, config) { + if (input != null && hasOwnProp(tokens, token)) { + tokens[token](input, config._a, config, token); + } + } + + function isLeapYear(year) { + return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; + } + + var YEAR = 0, + MONTH = 1, + DATE = 2, + HOUR = 3, + MINUTE = 4, + SECOND = 5, + MILLISECOND = 6, + WEEK = 7, + WEEKDAY = 8; + + // FORMATTING + + addFormatToken('Y', 0, 0, function () { + var y = this.year(); + return y <= 9999 ? zeroFill(y, 4) : '+' + y; + }); + + addFormatToken(0, ['YY', 2], 0, function () { + return this.year() % 100; + }); + + addFormatToken(0, ['YYYY', 4], 0, 'year'); + addFormatToken(0, ['YYYYY', 5], 0, 'year'); + addFormatToken(0, ['YYYYYY', 6, true], 0, 'year'); + + // PARSING + + addRegexToken('Y', matchSigned); + addRegexToken('YY', match1to2, match2); + addRegexToken('YYYY', match1to4, match4); + addRegexToken('YYYYY', match1to6, match6); + addRegexToken('YYYYYY', match1to6, match6); + + addParseToken(['YYYYY', 'YYYYYY'], YEAR); + addParseToken('YYYY', function (input, array) { + array[YEAR] = + input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input); + }); + addParseToken('YY', function (input, array) { + array[YEAR] = hooks.parseTwoDigitYear(input); + }); + addParseToken('Y', function (input, array) { + array[YEAR] = parseInt(input, 10); + }); + + // HELPERS + + function daysInYear(year) { + return isLeapYear(year) ? 366 : 365; + } + + // HOOKS + + hooks.parseTwoDigitYear = function (input) { + return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); + }; + + // MOMENTS + + var getSetYear = makeGetSet('FullYear', true); + + function getIsLeapYear() { + return isLeapYear(this.year()); + } + + function makeGetSet(unit, keepTime) { + return function (value) { + if (value != null) { + set$1(this, unit, value); + hooks.updateOffset(this, keepTime); + return this; + } else { + return get(this, unit); + } + }; + } + + function get(mom, unit) { + if (!mom.isValid()) { + return NaN; + } + + var d = mom._d, + isUTC = mom._isUTC; + + switch (unit) { + case 'Milliseconds': + return isUTC ? d.getUTCMilliseconds() : d.getMilliseconds(); + case 'Seconds': + return isUTC ? d.getUTCSeconds() : d.getSeconds(); + case 'Minutes': + return isUTC ? d.getUTCMinutes() : d.getMinutes(); + case 'Hours': + return isUTC ? d.getUTCHours() : d.getHours(); + case 'Date': + return isUTC ? d.getUTCDate() : d.getDate(); + case 'Day': + return isUTC ? d.getUTCDay() : d.getDay(); + case 'Month': + return isUTC ? d.getUTCMonth() : d.getMonth(); + case 'FullYear': + return isUTC ? d.getUTCFullYear() : d.getFullYear(); + default: + return NaN; // Just in case + } + } + + function set$1(mom, unit, value) { + var d, isUTC, year, month, date; + + if (!mom.isValid() || isNaN(value)) { + return; + } + + d = mom._d; + isUTC = mom._isUTC; + + switch (unit) { + case 'Milliseconds': + return void (isUTC + ? d.setUTCMilliseconds(value) + : d.setMilliseconds(value)); + case 'Seconds': + return void (isUTC ? d.setUTCSeconds(value) : d.setSeconds(value)); + case 'Minutes': + return void (isUTC ? d.setUTCMinutes(value) : d.setMinutes(value)); + case 'Hours': + return void (isUTC ? d.setUTCHours(value) : d.setHours(value)); + case 'Date': + return void (isUTC ? d.setUTCDate(value) : d.setDate(value)); + // case 'Day': // Not real + // return void (isUTC ? d.setUTCDay(value) : d.setDay(value)); + // case 'Month': // Not used because we need to pass two variables + // return void (isUTC ? d.setUTCMonth(value) : d.setMonth(value)); + case 'FullYear': + break; // See below ... + default: + return; // Just in case + } + + year = value; + month = mom.month(); + date = mom.date(); + date = date === 29 && month === 1 && !isLeapYear(year) ? 28 : date; + void (isUTC + ? d.setUTCFullYear(year, month, date) + : d.setFullYear(year, month, date)); + } + + // MOMENTS + + function stringGet(units) { + units = normalizeUnits(units); + if (isFunction(this[units])) { + return this[units](); + } + return this; + } + + function stringSet(units, value) { + if (typeof units === 'object') { + units = normalizeObjectUnits(units); + var prioritized = getPrioritizedUnits(units), + i, + prioritizedLen = prioritized.length; + for (i = 0; i < prioritizedLen; i++) { + this[prioritized[i].unit](units[prioritized[i].unit]); + } + } else { + units = normalizeUnits(units); + if (isFunction(this[units])) { + return this[units](value); + } + } + return this; + } + + function mod(n, x) { + return ((n % x) + x) % x; + } + + var indexOf; + + if (Array.prototype.indexOf) { + indexOf = Array.prototype.indexOf; + } else { + indexOf = function (o) { + // I know + var i; + for (i = 0; i < this.length; ++i) { + if (this[i] === o) { + return i; + } + } + return -1; + }; + } + + function daysInMonth(year, month) { + if (isNaN(year) || isNaN(month)) { + return NaN; + } + var modMonth = mod(month, 12); + year += (month - modMonth) / 12; + return modMonth === 1 + ? isLeapYear(year) + ? 29 + : 28 + : 31 - ((modMonth % 7) % 2); + } + + // FORMATTING + + addFormatToken('M', ['MM', 2], 'Mo', function () { + return this.month() + 1; + }); + + addFormatToken('MMM', 0, 0, function (format) { + return this.localeData().monthsShort(this, format); + }); + + addFormatToken('MMMM', 0, 0, function (format) { + return this.localeData().months(this, format); + }); + + // PARSING + + addRegexToken('M', match1to2, match1to2NoLeadingZero); + addRegexToken('MM', match1to2, match2); + addRegexToken('MMM', function (isStrict, locale) { + return locale.monthsShortRegex(isStrict); + }); + addRegexToken('MMMM', function (isStrict, locale) { + return locale.monthsRegex(isStrict); + }); + + addParseToken(['M', 'MM'], function (input, array) { + array[MONTH] = toInt(input) - 1; + }); + + addParseToken(['MMM', 'MMMM'], function (input, array, config, token) { + var month = config._locale.monthsParse(input, token, config._strict); + // if we didn't find a month name, mark the date as invalid. + if (month != null) { + array[MONTH] = month; + } else { + getParsingFlags(config).invalidMonth = input; + } + }); + + // LOCALES + + var defaultLocaleMonths = + 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + defaultLocaleMonthsShort = + 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, + defaultMonthsShortRegex = matchWord, + defaultMonthsRegex = matchWord; + + function localeMonths(m, format) { + if (!m) { + return isArray(this._months) + ? this._months + : this._months['standalone']; + } + return isArray(this._months) + ? this._months[m.month()] + : this._months[ + (this._months.isFormat || MONTHS_IN_FORMAT).test(format) + ? 'format' + : 'standalone' + ][m.month()]; + } + + function localeMonthsShort(m, format) { + if (!m) { + return isArray(this._monthsShort) + ? this._monthsShort + : this._monthsShort['standalone']; + } + return isArray(this._monthsShort) + ? this._monthsShort[m.month()] + : this._monthsShort[ + MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone' + ][m.month()]; + } + + function handleStrictParse(monthName, format, strict) { + var i, + ii, + mom, + llc = monthName.toLocaleLowerCase(); + if (!this._monthsParse) { + // this is not used + this._monthsParse = []; + this._longMonthsParse = []; + this._shortMonthsParse = []; + for (i = 0; i < 12; ++i) { + mom = createUTC([2000, i]); + this._shortMonthsParse[i] = this.monthsShort( + mom, + '' + ).toLocaleLowerCase(); + this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase(); + } + } + + if (strict) { + if (format === 'MMM') { + ii = indexOf.call(this._shortMonthsParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf.call(this._longMonthsParse, llc); + return ii !== -1 ? ii : null; + } + } else { + if (format === 'MMM') { + ii = indexOf.call(this._shortMonthsParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._longMonthsParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf.call(this._longMonthsParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._shortMonthsParse, llc); + return ii !== -1 ? ii : null; + } + } + } + + function localeMonthsParse(monthName, format, strict) { + var i, mom, regex; + + if (this._monthsParseExact) { + return handleStrictParse.call(this, monthName, format, strict); + } + + if (!this._monthsParse) { + this._monthsParse = []; + this._longMonthsParse = []; + this._shortMonthsParse = []; + } + + // TODO: add sorting + // Sorting makes sure if one month (or abbr) is a prefix of another + // see sorting in computeMonthsParse + for (i = 0; i < 12; i++) { + // make the regex if we don't have it already + mom = createUTC([2000, i]); + if (strict && !this._longMonthsParse[i]) { + this._longMonthsParse[i] = new RegExp( + '^' + this.months(mom, '').replace('.', '') + '$', + 'i' + ); + this._shortMonthsParse[i] = new RegExp( + '^' + this.monthsShort(mom, '').replace('.', '') + '$', + 'i' + ); + } + if (!strict && !this._monthsParse[i]) { + regex = + '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, ''); + this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i'); + } + // test the regex + if ( + strict && + format === 'MMMM' && + this._longMonthsParse[i].test(monthName) + ) { + return i; + } else if ( + strict && + format === 'MMM' && + this._shortMonthsParse[i].test(monthName) + ) { + return i; + } else if (!strict && this._monthsParse[i].test(monthName)) { + return i; + } + } + } + + // MOMENTS + + function setMonth(mom, value) { + if (!mom.isValid()) { + // No op + return mom; + } + + if (typeof value === 'string') { + if (/^\d+$/.test(value)) { + value = toInt(value); + } else { + value = mom.localeData().monthsParse(value); + // TODO: Another silent failure? + if (!isNumber(value)) { + return mom; + } + } + } + + var month = value, + date = mom.date(); + + date = date < 29 ? date : Math.min(date, daysInMonth(mom.year(), month)); + void (mom._isUTC + ? mom._d.setUTCMonth(month, date) + : mom._d.setMonth(month, date)); + return mom; + } + + function getSetMonth(value) { + if (value != null) { + setMonth(this, value); + hooks.updateOffset(this, true); + return this; + } else { + return get(this, 'Month'); + } + } + + function getDaysInMonth() { + return daysInMonth(this.year(), this.month()); + } + + function monthsShortRegex(isStrict) { + if (this._monthsParseExact) { + if (!hasOwnProp(this, '_monthsRegex')) { + computeMonthsParse.call(this); + } + if (isStrict) { + return this._monthsShortStrictRegex; + } else { + return this._monthsShortRegex; + } + } else { + if (!hasOwnProp(this, '_monthsShortRegex')) { + this._monthsShortRegex = defaultMonthsShortRegex; + } + return this._monthsShortStrictRegex && isStrict + ? this._monthsShortStrictRegex + : this._monthsShortRegex; + } + } + + function monthsRegex(isStrict) { + if (this._monthsParseExact) { + if (!hasOwnProp(this, '_monthsRegex')) { + computeMonthsParse.call(this); + } + if (isStrict) { + return this._monthsStrictRegex; + } else { + return this._monthsRegex; + } + } else { + if (!hasOwnProp(this, '_monthsRegex')) { + this._monthsRegex = defaultMonthsRegex; + } + return this._monthsStrictRegex && isStrict + ? this._monthsStrictRegex + : this._monthsRegex; + } + } + + function computeMonthsParse() { + function cmpLenRev(a, b) { + return b.length - a.length; + } + + var shortPieces = [], + longPieces = [], + mixedPieces = [], + i, + mom, + shortP, + longP; + for (i = 0; i < 12; i++) { + // make the regex if we don't have it already + mom = createUTC([2000, i]); + shortP = regexEscape(this.monthsShort(mom, '')); + longP = regexEscape(this.months(mom, '')); + shortPieces.push(shortP); + longPieces.push(longP); + mixedPieces.push(longP); + mixedPieces.push(shortP); + } + // Sorting makes sure if one month (or abbr) is a prefix of another it + // will match the longer piece. + shortPieces.sort(cmpLenRev); + longPieces.sort(cmpLenRev); + mixedPieces.sort(cmpLenRev); + + this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); + this._monthsShortRegex = this._monthsRegex; + this._monthsStrictRegex = new RegExp( + '^(' + longPieces.join('|') + ')', + 'i' + ); + this._monthsShortStrictRegex = new RegExp( + '^(' + shortPieces.join('|') + ')', + 'i' + ); + } + + function createDate(y, m, d, h, M, s, ms) { + // can't just apply() to create a date: + // https://stackoverflow.com/q/181348 + var date; + // the date constructor remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0) { + // preserve leap years using a full 400 year cycle, then reset + date = new Date(y + 400, m, d, h, M, s, ms); + if (isFinite(date.getFullYear())) { + date.setFullYear(y); + } + } else { + date = new Date(y, m, d, h, M, s, ms); + } + + return date; + } + + function createUTCDate(y) { + var date, args; + // the Date.UTC function remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0) { + args = Array.prototype.slice.call(arguments); + // preserve leap years using a full 400 year cycle, then reset + args[0] = y + 400; + date = new Date(Date.UTC.apply(null, args)); + if (isFinite(date.getUTCFullYear())) { + date.setUTCFullYear(y); + } + } else { + date = new Date(Date.UTC.apply(null, arguments)); + } + + return date; + } + + // start-of-first-week - start-of-year + function firstWeekOffset(year, dow, doy) { + var // first-week day -- which january is always in the first week (4 for iso, 1 for other) + fwd = 7 + dow - doy, + // first-week day local weekday -- which local weekday is fwd + fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7; + + return -fwdlw + fwd - 1; + } + + // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday + function dayOfYearFromWeeks(year, week, weekday, dow, doy) { + var localWeekday = (7 + weekday - dow) % 7, + weekOffset = firstWeekOffset(year, dow, doy), + dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset, + resYear, + resDayOfYear; + + if (dayOfYear <= 0) { + resYear = year - 1; + resDayOfYear = daysInYear(resYear) + dayOfYear; + } else if (dayOfYear > daysInYear(year)) { + resYear = year + 1; + resDayOfYear = dayOfYear - daysInYear(year); + } else { + resYear = year; + resDayOfYear = dayOfYear; + } + + return { + year: resYear, + dayOfYear: resDayOfYear, + }; + } + + function weekOfYear(mom, dow, doy) { + var weekOffset = firstWeekOffset(mom.year(), dow, doy), + week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1, + resWeek, + resYear; + + if (week < 1) { + resYear = mom.year() - 1; + resWeek = week + weeksInYear(resYear, dow, doy); + } else if (week > weeksInYear(mom.year(), dow, doy)) { + resWeek = week - weeksInYear(mom.year(), dow, doy); + resYear = mom.year() + 1; + } else { + resYear = mom.year(); + resWeek = week; + } + + return { + week: resWeek, + year: resYear, + }; + } + + function weeksInYear(year, dow, doy) { + var weekOffset = firstWeekOffset(year, dow, doy), + weekOffsetNext = firstWeekOffset(year + 1, dow, doy); + return (daysInYear(year) - weekOffset + weekOffsetNext) / 7; + } + + // FORMATTING + + addFormatToken('w', ['ww', 2], 'wo', 'week'); + addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek'); + + // PARSING + + addRegexToken('w', match1to2, match1to2NoLeadingZero); + addRegexToken('ww', match1to2, match2); + addRegexToken('W', match1to2, match1to2NoLeadingZero); + addRegexToken('WW', match1to2, match2); + + addWeekParseToken( + ['w', 'ww', 'W', 'WW'], + function (input, week, config, token) { + week[token.substr(0, 1)] = toInt(input); + } + ); + + // HELPERS + + // LOCALES + + function localeWeek(mom) { + return weekOfYear(mom, this._week.dow, this._week.doy).week; + } + + var defaultLocaleWeek = { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }; + + function localeFirstDayOfWeek() { + return this._week.dow; + } + + function localeFirstDayOfYear() { + return this._week.doy; + } + + // MOMENTS + + function getSetWeek(input) { + var week = this.localeData().week(this); + return input == null ? week : this.add((input - week) * 7, 'd'); + } + + function getSetISOWeek(input) { + var week = weekOfYear(this, 1, 4).week; + return input == null ? week : this.add((input - week) * 7, 'd'); + } + + // FORMATTING + + addFormatToken('d', 0, 'do', 'day'); + + addFormatToken('dd', 0, 0, function (format) { + return this.localeData().weekdaysMin(this, format); + }); + + addFormatToken('ddd', 0, 0, function (format) { + return this.localeData().weekdaysShort(this, format); + }); + + addFormatToken('dddd', 0, 0, function (format) { + return this.localeData().weekdays(this, format); + }); + + addFormatToken('e', 0, 0, 'weekday'); + addFormatToken('E', 0, 0, 'isoWeekday'); + + // PARSING + + addRegexToken('d', match1to2); + addRegexToken('e', match1to2); + addRegexToken('E', match1to2); + addRegexToken('dd', function (isStrict, locale) { + return locale.weekdaysMinRegex(isStrict); + }); + addRegexToken('ddd', function (isStrict, locale) { + return locale.weekdaysShortRegex(isStrict); + }); + addRegexToken('dddd', function (isStrict, locale) { + return locale.weekdaysRegex(isStrict); + }); + + addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) { + var weekday = config._locale.weekdaysParse(input, token, config._strict); + // if we didn't get a weekday name, mark the date as invalid + if (weekday != null) { + week.d = weekday; + } else { + getParsingFlags(config).invalidWeekday = input; + } + }); + + addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) { + week[token] = toInt(input); + }); + + // HELPERS + + function parseWeekday(input, locale) { + if (typeof input !== 'string') { + return input; + } + + if (!isNaN(input)) { + return parseInt(input, 10); + } + + input = locale.weekdaysParse(input); + if (typeof input === 'number') { + return input; + } + + return null; + } + + function parseIsoWeekday(input, locale) { + if (typeof input === 'string') { + return locale.weekdaysParse(input) % 7 || 7; + } + return isNaN(input) ? null : input; + } + + // LOCALES + function shiftWeekdays(ws, n) { + return ws.slice(n, 7).concat(ws.slice(0, n)); + } + + var defaultLocaleWeekdays = + 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + defaultWeekdaysRegex = matchWord, + defaultWeekdaysShortRegex = matchWord, + defaultWeekdaysMinRegex = matchWord; + + function localeWeekdays(m, format) { + var weekdays = isArray(this._weekdays) + ? this._weekdays + : this._weekdays[ + m && m !== true && this._weekdays.isFormat.test(format) + ? 'format' + : 'standalone' + ]; + return m === true + ? shiftWeekdays(weekdays, this._week.dow) + : m + ? weekdays[m.day()] + : weekdays; + } + + function localeWeekdaysShort(m) { + return m === true + ? shiftWeekdays(this._weekdaysShort, this._week.dow) + : m + ? this._weekdaysShort[m.day()] + : this._weekdaysShort; + } + + function localeWeekdaysMin(m) { + return m === true + ? shiftWeekdays(this._weekdaysMin, this._week.dow) + : m + ? this._weekdaysMin[m.day()] + : this._weekdaysMin; + } + + function handleStrictParse$1(weekdayName, format, strict) { + var i, + ii, + mom, + llc = weekdayName.toLocaleLowerCase(); + if (!this._weekdaysParse) { + this._weekdaysParse = []; + this._shortWeekdaysParse = []; + this._minWeekdaysParse = []; + + for (i = 0; i < 7; ++i) { + mom = createUTC([2000, 1]).day(i); + this._minWeekdaysParse[i] = this.weekdaysMin( + mom, + '' + ).toLocaleLowerCase(); + this._shortWeekdaysParse[i] = this.weekdaysShort( + mom, + '' + ).toLocaleLowerCase(); + this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase(); + } + } + + if (strict) { + if (format === 'dddd') { + ii = indexOf.call(this._weekdaysParse, llc); + return ii !== -1 ? ii : null; + } else if (format === 'ddd') { + ii = indexOf.call(this._shortWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf.call(this._minWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } + } else { + if (format === 'dddd') { + ii = indexOf.call(this._weekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._shortWeekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._minWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } else if (format === 'ddd') { + ii = indexOf.call(this._shortWeekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._weekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._minWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf.call(this._minWeekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._weekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._shortWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } + } + } + + function localeWeekdaysParse(weekdayName, format, strict) { + var i, mom, regex; + + if (this._weekdaysParseExact) { + return handleStrictParse$1.call(this, weekdayName, format, strict); + } + + if (!this._weekdaysParse) { + this._weekdaysParse = []; + this._minWeekdaysParse = []; + this._shortWeekdaysParse = []; + this._fullWeekdaysParse = []; + } + + for (i = 0; i < 7; i++) { + // make the regex if we don't have it already + + mom = createUTC([2000, 1]).day(i); + if (strict && !this._fullWeekdaysParse[i]) { + this._fullWeekdaysParse[i] = new RegExp( + '^' + this.weekdays(mom, '').replace('.', '\\.?') + '$', + 'i' + ); + this._shortWeekdaysParse[i] = new RegExp( + '^' + this.weekdaysShort(mom, '').replace('.', '\\.?') + '$', + 'i' + ); + this._minWeekdaysParse[i] = new RegExp( + '^' + this.weekdaysMin(mom, '').replace('.', '\\.?') + '$', + 'i' + ); + } + if (!this._weekdaysParse[i]) { + regex = + '^' + + this.weekdays(mom, '') + + '|^' + + this.weekdaysShort(mom, '') + + '|^' + + this.weekdaysMin(mom, ''); + this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i'); + } + // test the regex + if ( + strict && + format === 'dddd' && + this._fullWeekdaysParse[i].test(weekdayName) + ) { + return i; + } else if ( + strict && + format === 'ddd' && + this._shortWeekdaysParse[i].test(weekdayName) + ) { + return i; + } else if ( + strict && + format === 'dd' && + this._minWeekdaysParse[i].test(weekdayName) + ) { + return i; + } else if (!strict && this._weekdaysParse[i].test(weekdayName)) { + return i; + } + } + } + + // MOMENTS + + function getSetDayOfWeek(input) { + if (!this.isValid()) { + return input != null ? this : NaN; + } + + var day = get(this, 'Day'); + if (input != null) { + input = parseWeekday(input, this.localeData()); + return this.add(input - day, 'd'); + } else { + return day; + } + } + + function getSetLocaleDayOfWeek(input) { + if (!this.isValid()) { + return input != null ? this : NaN; + } + var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7; + return input == null ? weekday : this.add(input - weekday, 'd'); + } + + function getSetISODayOfWeek(input) { + if (!this.isValid()) { + return input != null ? this : NaN; + } + + // behaves the same as moment#day except + // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6) + // as a setter, sunday should belong to the previous week. + + if (input != null) { + var weekday = parseIsoWeekday(input, this.localeData()); + return this.day(this.day() % 7 ? weekday : weekday - 7); + } else { + return this.day() || 7; + } + } + + function weekdaysRegex(isStrict) { + if (this._weekdaysParseExact) { + if (!hasOwnProp(this, '_weekdaysRegex')) { + computeWeekdaysParse.call(this); + } + if (isStrict) { + return this._weekdaysStrictRegex; + } else { + return this._weekdaysRegex; + } + } else { + if (!hasOwnProp(this, '_weekdaysRegex')) { + this._weekdaysRegex = defaultWeekdaysRegex; + } + return this._weekdaysStrictRegex && isStrict + ? this._weekdaysStrictRegex + : this._weekdaysRegex; + } + } + + function weekdaysShortRegex(isStrict) { + if (this._weekdaysParseExact) { + if (!hasOwnProp(this, '_weekdaysRegex')) { + computeWeekdaysParse.call(this); + } + if (isStrict) { + return this._weekdaysShortStrictRegex; + } else { + return this._weekdaysShortRegex; + } + } else { + if (!hasOwnProp(this, '_weekdaysShortRegex')) { + this._weekdaysShortRegex = defaultWeekdaysShortRegex; + } + return this._weekdaysShortStrictRegex && isStrict + ? this._weekdaysShortStrictRegex + : this._weekdaysShortRegex; + } + } + + function weekdaysMinRegex(isStrict) { + if (this._weekdaysParseExact) { + if (!hasOwnProp(this, '_weekdaysRegex')) { + computeWeekdaysParse.call(this); + } + if (isStrict) { + return this._weekdaysMinStrictRegex; + } else { + return this._weekdaysMinRegex; + } + } else { + if (!hasOwnProp(this, '_weekdaysMinRegex')) { + this._weekdaysMinRegex = defaultWeekdaysMinRegex; + } + return this._weekdaysMinStrictRegex && isStrict + ? this._weekdaysMinStrictRegex + : this._weekdaysMinRegex; + } + } + + function computeWeekdaysParse() { + function cmpLenRev(a, b) { + return b.length - a.length; + } + + var minPieces = [], + shortPieces = [], + longPieces = [], + mixedPieces = [], + i, + mom, + minp, + shortp, + longp; + for (i = 0; i < 7; i++) { + // make the regex if we don't have it already + mom = createUTC([2000, 1]).day(i); + minp = regexEscape(this.weekdaysMin(mom, '')); + shortp = regexEscape(this.weekdaysShort(mom, '')); + longp = regexEscape(this.weekdays(mom, '')); + minPieces.push(minp); + shortPieces.push(shortp); + longPieces.push(longp); + mixedPieces.push(minp); + mixedPieces.push(shortp); + mixedPieces.push(longp); + } + // Sorting makes sure if one weekday (or abbr) is a prefix of another it + // will match the longer piece. + minPieces.sort(cmpLenRev); + shortPieces.sort(cmpLenRev); + longPieces.sort(cmpLenRev); + mixedPieces.sort(cmpLenRev); + + this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); + this._weekdaysShortRegex = this._weekdaysRegex; + this._weekdaysMinRegex = this._weekdaysRegex; + + this._weekdaysStrictRegex = new RegExp( + '^(' + longPieces.join('|') + ')', + 'i' + ); + this._weekdaysShortStrictRegex = new RegExp( + '^(' + shortPieces.join('|') + ')', + 'i' + ); + this._weekdaysMinStrictRegex = new RegExp( + '^(' + minPieces.join('|') + ')', + 'i' + ); + } + + // FORMATTING + + function hFormat() { + return this.hours() % 12 || 12; + } + + function kFormat() { + return this.hours() || 24; + } + + addFormatToken('H', ['HH', 2], 0, 'hour'); + addFormatToken('h', ['hh', 2], 0, hFormat); + addFormatToken('k', ['kk', 2], 0, kFormat); + + addFormatToken('hmm', 0, 0, function () { + return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2); + }); + + addFormatToken('hmmss', 0, 0, function () { + return ( + '' + + hFormat.apply(this) + + zeroFill(this.minutes(), 2) + + zeroFill(this.seconds(), 2) + ); + }); + + addFormatToken('Hmm', 0, 0, function () { + return '' + this.hours() + zeroFill(this.minutes(), 2); + }); + + addFormatToken('Hmmss', 0, 0, function () { + return ( + '' + + this.hours() + + zeroFill(this.minutes(), 2) + + zeroFill(this.seconds(), 2) + ); + }); + + function meridiem(token, lowercase) { + addFormatToken(token, 0, 0, function () { + return this.localeData().meridiem( + this.hours(), + this.minutes(), + lowercase + ); + }); + } + + meridiem('a', true); + meridiem('A', false); + + // PARSING + + function matchMeridiem(isStrict, locale) { + return locale._meridiemParse; + } + + addRegexToken('a', matchMeridiem); + addRegexToken('A', matchMeridiem); + addRegexToken('H', match1to2, match1to2HasZero); + addRegexToken('h', match1to2, match1to2NoLeadingZero); + addRegexToken('k', match1to2, match1to2NoLeadingZero); + addRegexToken('HH', match1to2, match2); + addRegexToken('hh', match1to2, match2); + addRegexToken('kk', match1to2, match2); + + addRegexToken('hmm', match3to4); + addRegexToken('hmmss', match5to6); + addRegexToken('Hmm', match3to4); + addRegexToken('Hmmss', match5to6); + + addParseToken(['H', 'HH'], HOUR); + addParseToken(['k', 'kk'], function (input, array, config) { + var kInput = toInt(input); + array[HOUR] = kInput === 24 ? 0 : kInput; + }); + addParseToken(['a', 'A'], function (input, array, config) { + config._isPm = config._locale.isPM(input); + config._meridiem = input; + }); + addParseToken(['h', 'hh'], function (input, array, config) { + array[HOUR] = toInt(input); + getParsingFlags(config).bigHour = true; + }); + addParseToken('hmm', function (input, array, config) { + var pos = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos)); + array[MINUTE] = toInt(input.substr(pos)); + getParsingFlags(config).bigHour = true; + }); + addParseToken('hmmss', function (input, array, config) { + var pos1 = input.length - 4, + pos2 = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos1)); + array[MINUTE] = toInt(input.substr(pos1, 2)); + array[SECOND] = toInt(input.substr(pos2)); + getParsingFlags(config).bigHour = true; + }); + addParseToken('Hmm', function (input, array, config) { + var pos = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos)); + array[MINUTE] = toInt(input.substr(pos)); + }); + addParseToken('Hmmss', function (input, array, config) { + var pos1 = input.length - 4, + pos2 = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos1)); + array[MINUTE] = toInt(input.substr(pos1, 2)); + array[SECOND] = toInt(input.substr(pos2)); + }); + + // LOCALES + + function localeIsPM(input) { + // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays + // Using charAt should be more compatible. + return (input + '').toLowerCase().charAt(0) === 'p'; + } + + var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i, + // Setting the hour should keep the time, because the user explicitly + // specified which hour they want. So trying to maintain the same hour (in + // a new timezone) makes sense. Adding/subtracting hours does not follow + // this rule. + getSetHour = makeGetSet('Hours', true); + + function localeMeridiem(hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'pm' : 'PM'; + } else { + return isLower ? 'am' : 'AM'; + } + } + + var baseConfig = { + calendar: defaultCalendar, + longDateFormat: defaultLongDateFormat, + invalidDate: defaultInvalidDate, + ordinal: defaultOrdinal, + dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse, + relativeTime: defaultRelativeTime, + + months: defaultLocaleMonths, + monthsShort: defaultLocaleMonthsShort, + + week: defaultLocaleWeek, + + weekdays: defaultLocaleWeekdays, + weekdaysMin: defaultLocaleWeekdaysMin, + weekdaysShort: defaultLocaleWeekdaysShort, + + meridiemParse: defaultLocaleMeridiemParse, + }; + + // internal storage for locale config files + var locales = {}, + localeFamilies = {}, + globalLocale; + + function commonPrefix(arr1, arr2) { + var i, + minl = Math.min(arr1.length, arr2.length); + for (i = 0; i < minl; i += 1) { + if (arr1[i] !== arr2[i]) { + return i; + } + } + return minl; + } + + function normalizeLocale(key) { + return key ? key.toLowerCase().replace('_', '-') : key; + } + + // pick the locale from the array + // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each + // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root + function chooseLocale(names) { + var i = 0, + j, + next, + locale, + split; + + while (i < names.length) { + split = normalizeLocale(names[i]).split('-'); + j = split.length; + next = normalizeLocale(names[i + 1]); + next = next ? next.split('-') : null; + while (j > 0) { + locale = loadLocale(split.slice(0, j).join('-')); + if (locale) { + return locale; + } + if ( + next && + next.length >= j && + commonPrefix(split, next) >= j - 1 + ) { + //the next array item is better than a shallower substring of this one + break; + } + j--; + } + i++; + } + return globalLocale; + } + + function isLocaleNameSane(name) { + // Prevent names that look like filesystem paths, i.e contain '/' or '\' + // Ensure name is available and function returns boolean + return !!(name && name.match('^[^/\\\\]*$')); + } + + function loadLocale(name) { + var oldLocale = null, + aliasedRequire; + // TODO: Find a better way to register and load all the locales in Node + if ( + locales[name] === undefined && + typeof module !== 'undefined' && + module && + module.exports && + isLocaleNameSane(name) + ) { + try { + oldLocale = globalLocale._abbr; + aliasedRequire = require; + aliasedRequire('./locale/' + name); + getSetGlobalLocale(oldLocale); + } catch (e) { + // mark as not found to avoid repeating expensive file require call causing high CPU + // when trying to find en-US, en_US, en-us for every format call + locales[name] = null; // null means not found + } + } + return locales[name]; + } + + // This function will load locale and then set the global locale. If + // no arguments are passed in, it will simply return the current global + // locale key. + function getSetGlobalLocale(key, values) { + var data; + if (key) { + if (isUndefined(values)) { + data = getLocale(key); + } else { + data = defineLocale(key, values); + } + + if (data) { + // moment.duration._locale = moment._locale = data; + globalLocale = data; + } else { + if (typeof console !== 'undefined' && console.warn) { + //warn user if arguments are passed but the locale could not be set + console.warn( + 'Locale ' + key + ' not found. Did you forget to load it?' + ); + } + } + } + + return globalLocale._abbr; + } + + function defineLocale(name, config) { + if (config !== null) { + var locale, + parentConfig = baseConfig; + config.abbr = name; + if (locales[name] != null) { + deprecateSimple( + 'defineLocaleOverride', + 'use moment.updateLocale(localeName, config) to change ' + + 'an existing locale. moment.defineLocale(localeName, ' + + 'config) should only be used for creating a new locale ' + + 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.' + ); + parentConfig = locales[name]._config; + } else if (config.parentLocale != null) { + if (locales[config.parentLocale] != null) { + parentConfig = locales[config.parentLocale]._config; + } else { + locale = loadLocale(config.parentLocale); + if (locale != null) { + parentConfig = locale._config; + } else { + if (!localeFamilies[config.parentLocale]) { + localeFamilies[config.parentLocale] = []; + } + localeFamilies[config.parentLocale].push({ + name: name, + config: config, + }); + return null; + } + } + } + locales[name] = new Locale(mergeConfigs(parentConfig, config)); + + if (localeFamilies[name]) { + localeFamilies[name].forEach(function (x) { + defineLocale(x.name, x.config); + }); + } + + // backwards compat for now: also set the locale + // make sure we set the locale AFTER all child locales have been + // created, so we won't end up with the child locale set. + getSetGlobalLocale(name); + + return locales[name]; + } else { + // useful for testing + delete locales[name]; + return null; + } + } + + function updateLocale(name, config) { + if (config != null) { + var locale, + tmpLocale, + parentConfig = baseConfig; + + if (locales[name] != null && locales[name].parentLocale != null) { + // Update existing child locale in-place to avoid memory-leaks + locales[name].set(mergeConfigs(locales[name]._config, config)); + } else { + // MERGE + tmpLocale = loadLocale(name); + if (tmpLocale != null) { + parentConfig = tmpLocale._config; + } + config = mergeConfigs(parentConfig, config); + if (tmpLocale == null) { + // updateLocale is called for creating a new locale + // Set abbr so it will have a name (getters return + // undefined otherwise). + config.abbr = name; + } + locale = new Locale(config); + locale.parentLocale = locales[name]; + locales[name] = locale; + } + + // backwards compat for now: also set the locale + getSetGlobalLocale(name); + } else { + // pass null for config to unupdate, useful for tests + if (locales[name] != null) { + if (locales[name].parentLocale != null) { + locales[name] = locales[name].parentLocale; + if (name === getSetGlobalLocale()) { + getSetGlobalLocale(name); + } + } else if (locales[name] != null) { + delete locales[name]; + } + } + } + return locales[name]; + } + + // returns locale data + function getLocale(key) { + var locale; + + if (key && key._locale && key._locale._abbr) { + key = key._locale._abbr; + } + + if (!key) { + return globalLocale; + } + + if (!isArray(key)) { + //short-circuit everything else + locale = loadLocale(key); + if (locale) { + return locale; + } + key = [key]; + } + + return chooseLocale(key); + } + + function listLocales() { + return keys(locales); + } + + function checkOverflow(m) { + var overflow, + a = m._a; + + if (a && getParsingFlags(m).overflow === -2) { + overflow = + a[MONTH] < 0 || a[MONTH] > 11 + ? MONTH + : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) + ? DATE + : a[HOUR] < 0 || + a[HOUR] > 24 || + (a[HOUR] === 24 && + (a[MINUTE] !== 0 || + a[SECOND] !== 0 || + a[MILLISECOND] !== 0)) + ? HOUR + : a[MINUTE] < 0 || a[MINUTE] > 59 + ? MINUTE + : a[SECOND] < 0 || a[SECOND] > 59 + ? SECOND + : a[MILLISECOND] < 0 || a[MILLISECOND] > 999 + ? MILLISECOND + : -1; + + if ( + getParsingFlags(m)._overflowDayOfYear && + (overflow < YEAR || overflow > DATE) + ) { + overflow = DATE; + } + if (getParsingFlags(m)._overflowWeeks && overflow === -1) { + overflow = WEEK; + } + if (getParsingFlags(m)._overflowWeekday && overflow === -1) { + overflow = WEEKDAY; + } + + getParsingFlags(m).overflow = overflow; + } + + return m; + } + + // iso 8601 regex + // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00) + var extendedIsoRegex = + /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, + basicIsoRegex = + /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, + tzRegex = /Z|[+-]\d\d(?::?\d\d)?/, + isoDates = [ + ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/], + ['YYYY-MM-DD', /\d{4}-\d\d-\d\d/], + ['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/], + ['GGGG-[W]WW', /\d{4}-W\d\d/, false], + ['YYYY-DDD', /\d{4}-\d{3}/], + ['YYYY-MM', /\d{4}-\d\d/, false], + ['YYYYYYMMDD', /[+-]\d{10}/], + ['YYYYMMDD', /\d{8}/], + ['GGGG[W]WWE', /\d{4}W\d{3}/], + ['GGGG[W]WW', /\d{4}W\d{2}/, false], + ['YYYYDDD', /\d{7}/], + ['YYYYMM', /\d{6}/, false], + ['YYYY', /\d{4}/, false], + ], + // iso time formats and regexes + isoTimes = [ + ['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/], + ['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/], + ['HH:mm:ss', /\d\d:\d\d:\d\d/], + ['HH:mm', /\d\d:\d\d/], + ['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/], + ['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/], + ['HHmmss', /\d\d\d\d\d\d/], + ['HHmm', /\d\d\d\d/], + ['HH', /\d\d/], + ], + aspNetJsonRegex = /^\/?Date\((-?\d+)/i, + // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3 + rfc2822 = + /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, + obsOffsets = { + UT: 0, + GMT: 0, + EDT: -4 * 60, + EST: -5 * 60, + CDT: -5 * 60, + CST: -6 * 60, + MDT: -6 * 60, + MST: -7 * 60, + PDT: -7 * 60, + PST: -8 * 60, + }; + + // date from iso format + function configFromISO(config) { + var i, + l, + string = config._i, + match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string), + allowTime, + dateFormat, + timeFormat, + tzFormat, + isoDatesLen = isoDates.length, + isoTimesLen = isoTimes.length; + + if (match) { + getParsingFlags(config).iso = true; + for (i = 0, l = isoDatesLen; i < l; i++) { + if (isoDates[i][1].exec(match[1])) { + dateFormat = isoDates[i][0]; + allowTime = isoDates[i][2] !== false; + break; + } + } + if (dateFormat == null) { + config._isValid = false; + return; + } + if (match[3]) { + for (i = 0, l = isoTimesLen; i < l; i++) { + if (isoTimes[i][1].exec(match[3])) { + // match[2] should be 'T' or space + timeFormat = (match[2] || ' ') + isoTimes[i][0]; + break; + } + } + if (timeFormat == null) { + config._isValid = false; + return; + } + } + if (!allowTime && timeFormat != null) { + config._isValid = false; + return; + } + if (match[4]) { + if (tzRegex.exec(match[4])) { + tzFormat = 'Z'; + } else { + config._isValid = false; + return; + } + } + config._f = dateFormat + (timeFormat || '') + (tzFormat || ''); + configFromStringAndFormat(config); + } else { + config._isValid = false; + } + } + + function extractFromRFC2822Strings( + yearStr, + monthStr, + dayStr, + hourStr, + minuteStr, + secondStr + ) { + var result = [ + untruncateYear(yearStr), + defaultLocaleMonthsShort.indexOf(monthStr), + parseInt(dayStr, 10), + parseInt(hourStr, 10), + parseInt(minuteStr, 10), + ]; + + if (secondStr) { + result.push(parseInt(secondStr, 10)); + } + + return result; + } + + function untruncateYear(yearStr) { + var year = parseInt(yearStr, 10); + if (year <= 49) { + return 2000 + year; + } else if (year <= 999) { + return 1900 + year; + } + return year; + } + + function preprocessRFC2822(s) { + // Remove comments and folding whitespace and replace multiple-spaces with a single space + return s + .replace(/\([^()]*\)|[\n\t]/g, ' ') + .replace(/(\s\s+)/g, ' ') + .replace(/^\s\s*/, '') + .replace(/\s\s*$/, ''); + } + + function checkWeekday(weekdayStr, parsedInput, config) { + if (weekdayStr) { + // TODO: Replace the vanilla JS Date object with an independent day-of-week check. + var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr), + weekdayActual = new Date( + parsedInput[0], + parsedInput[1], + parsedInput[2] + ).getDay(); + if (weekdayProvided !== weekdayActual) { + getParsingFlags(config).weekdayMismatch = true; + config._isValid = false; + return false; + } + } + return true; + } + + function calculateOffset(obsOffset, militaryOffset, numOffset) { + if (obsOffset) { + return obsOffsets[obsOffset]; + } else if (militaryOffset) { + // the only allowed military tz is Z + return 0; + } else { + var hm = parseInt(numOffset, 10), + m = hm % 100, + h = (hm - m) / 100; + return h * 60 + m; + } + } + + // date and time from ref 2822 format + function configFromRFC2822(config) { + var match = rfc2822.exec(preprocessRFC2822(config._i)), + parsedArray; + if (match) { + parsedArray = extractFromRFC2822Strings( + match[4], + match[3], + match[2], + match[5], + match[6], + match[7] + ); + if (!checkWeekday(match[1], parsedArray, config)) { + return; + } + + config._a = parsedArray; + config._tzm = calculateOffset(match[8], match[9], match[10]); + + config._d = createUTCDate.apply(null, config._a); + config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm); + + getParsingFlags(config).rfc2822 = true; + } else { + config._isValid = false; + } + } + + // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict + function configFromString(config) { + var matched = aspNetJsonRegex.exec(config._i); + if (matched !== null) { + config._d = new Date(+matched[1]); + return; + } + + configFromISO(config); + if (config._isValid === false) { + delete config._isValid; + } else { + return; + } + + configFromRFC2822(config); + if (config._isValid === false) { + delete config._isValid; + } else { + return; + } + + if (config._strict) { + config._isValid = false; + } else { + // Final attempt, use Input Fallback + hooks.createFromInputFallback(config); + } + } + + hooks.createFromInputFallback = deprecate( + 'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + + 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + + 'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.', + function (config) { + config._d = new Date(config._i + (config._useUTC ? ' UTC' : '')); + } + ); + + // Pick the first defined of two or three arguments. + function defaults(a, b, c) { + if (a != null) { + return a; + } + if (b != null) { + return b; + } + return c; + } + + function currentDateArray(config) { + // hooks is actually the exported moment object + var nowValue = new Date(hooks.now()); + if (config._useUTC) { + return [ + nowValue.getUTCFullYear(), + nowValue.getUTCMonth(), + nowValue.getUTCDate(), + ]; + } + return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()]; + } + + // convert an array to a date. + // the array should mirror the parameters below + // note: all values past the year are optional and will default to the lowest possible value. + // [year, month, day , hour, minute, second, millisecond] + function configFromArray(config) { + var i, + date, + input = [], + currentDate, + expectedWeekday, + yearToUse; + + if (config._d) { + return; + } + + currentDate = currentDateArray(config); + + //compute day of the year from weeks and weekdays + if (config._w && config._a[DATE] == null && config._a[MONTH] == null) { + dayOfYearFromWeekInfo(config); + } + + //if the day of the year is set, figure out what it is + if (config._dayOfYear != null) { + yearToUse = defaults(config._a[YEAR], currentDate[YEAR]); + + if ( + config._dayOfYear > daysInYear(yearToUse) || + config._dayOfYear === 0 + ) { + getParsingFlags(config)._overflowDayOfYear = true; + } + + date = createUTCDate(yearToUse, 0, config._dayOfYear); + config._a[MONTH] = date.getUTCMonth(); + config._a[DATE] = date.getUTCDate(); + } + + // Default to current date. + // * if no year, month, day of month are given, default to today + // * if day of month is given, default month and year + // * if month is given, default only year + // * if year is given, don't default anything + for (i = 0; i < 3 && config._a[i] == null; ++i) { + config._a[i] = input[i] = currentDate[i]; + } + + // Zero out whatever was not defaulted, including time + for (; i < 7; i++) { + config._a[i] = input[i] = + config._a[i] == null ? (i === 2 ? 1 : 0) : config._a[i]; + } + + // Check for 24:00:00.000 + if ( + config._a[HOUR] === 24 && + config._a[MINUTE] === 0 && + config._a[SECOND] === 0 && + config._a[MILLISECOND] === 0 + ) { + config._nextDay = true; + config._a[HOUR] = 0; + } + + config._d = (config._useUTC ? createUTCDate : createDate).apply( + null, + input + ); + expectedWeekday = config._useUTC + ? config._d.getUTCDay() + : config._d.getDay(); + + // Apply timezone offset from input. The actual utcOffset can be changed + // with parseZone. + if (config._tzm != null) { + config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm); + } + + if (config._nextDay) { + config._a[HOUR] = 24; + } + + // check for mismatching day of week + if ( + config._w && + typeof config._w.d !== 'undefined' && + config._w.d !== expectedWeekday + ) { + getParsingFlags(config).weekdayMismatch = true; + } + } + + function dayOfYearFromWeekInfo(config) { + var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek; + + w = config._w; + if (w.GG != null || w.W != null || w.E != null) { + dow = 1; + doy = 4; + + // TODO: We need to take the current isoWeekYear, but that depends on + // how we interpret now (local, utc, fixed offset). So create + // a now version of current config (take local/utc/offset flags, and + // create now). + weekYear = defaults( + w.GG, + config._a[YEAR], + weekOfYear(createLocal(), 1, 4).year + ); + week = defaults(w.W, 1); + weekday = defaults(w.E, 1); + if (weekday < 1 || weekday > 7) { + weekdayOverflow = true; + } + } else { + dow = config._locale._week.dow; + doy = config._locale._week.doy; + + curWeek = weekOfYear(createLocal(), dow, doy); + + weekYear = defaults(w.gg, config._a[YEAR], curWeek.year); + + // Default to current week. + week = defaults(w.w, curWeek.week); + + if (w.d != null) { + // weekday -- low day numbers are considered next week + weekday = w.d; + if (weekday < 0 || weekday > 6) { + weekdayOverflow = true; + } + } else if (w.e != null) { + // local weekday -- counting starts from beginning of week + weekday = w.e + dow; + if (w.e < 0 || w.e > 6) { + weekdayOverflow = true; + } + } else { + // default to beginning of week + weekday = dow; + } + } + if (week < 1 || week > weeksInYear(weekYear, dow, doy)) { + getParsingFlags(config)._overflowWeeks = true; + } else if (weekdayOverflow != null) { + getParsingFlags(config)._overflowWeekday = true; + } else { + temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy); + config._a[YEAR] = temp.year; + config._dayOfYear = temp.dayOfYear; + } + } + + // constant that refers to the ISO standard + hooks.ISO_8601 = function () {}; + + // constant that refers to the RFC 2822 form + hooks.RFC_2822 = function () {}; + + // date from string and format string + function configFromStringAndFormat(config) { + // TODO: Move this to another part of the creation flow to prevent circular deps + if (config._f === hooks.ISO_8601) { + configFromISO(config); + return; + } + if (config._f === hooks.RFC_2822) { + configFromRFC2822(config); + return; + } + config._a = []; + getParsingFlags(config).empty = true; + + // This array is used to make a Date, either with `new Date` or `Date.UTC` + var string = '' + config._i, + i, + parsedInput, + tokens, + token, + skipped, + stringLength = string.length, + totalParsedInputLength = 0, + era, + tokenLen; + + tokens = + expandFormat(config._f, config._locale).match(formattingTokens) || []; + tokenLen = tokens.length; + for (i = 0; i < tokenLen; i++) { + token = tokens[i]; + parsedInput = (string.match(getParseRegexForToken(token, config)) || + [])[0]; + if (parsedInput) { + skipped = string.substr(0, string.indexOf(parsedInput)); + if (skipped.length > 0) { + getParsingFlags(config).unusedInput.push(skipped); + } + string = string.slice( + string.indexOf(parsedInput) + parsedInput.length + ); + totalParsedInputLength += parsedInput.length; + } + // don't parse if it's not a known token + if (formatTokenFunctions[token]) { + if (parsedInput) { + getParsingFlags(config).empty = false; + } else { + getParsingFlags(config).unusedTokens.push(token); + } + addTimeToArrayFromToken(token, parsedInput, config); + } else if (config._strict && !parsedInput) { + getParsingFlags(config).unusedTokens.push(token); + } + } + + // add remaining unparsed input length to the string + getParsingFlags(config).charsLeftOver = + stringLength - totalParsedInputLength; + if (string.length > 0) { + getParsingFlags(config).unusedInput.push(string); + } + + // clear _12h flag if hour is <= 12 + if ( + config._a[HOUR] <= 12 && + getParsingFlags(config).bigHour === true && + config._a[HOUR] > 0 + ) { + getParsingFlags(config).bigHour = undefined; + } + + getParsingFlags(config).parsedDateParts = config._a.slice(0); + getParsingFlags(config).meridiem = config._meridiem; + // handle meridiem + config._a[HOUR] = meridiemFixWrap( + config._locale, + config._a[HOUR], + config._meridiem + ); + + // handle era + era = getParsingFlags(config).era; + if (era !== null) { + config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]); + } + + configFromArray(config); + checkOverflow(config); + } + + function meridiemFixWrap(locale, hour, meridiem) { + var isPm; + + if (meridiem == null) { + // nothing to do + return hour; + } + if (locale.meridiemHour != null) { + return locale.meridiemHour(hour, meridiem); + } else if (locale.isPM != null) { + // Fallback + isPm = locale.isPM(meridiem); + if (isPm && hour < 12) { + hour += 12; + } + if (!isPm && hour === 12) { + hour = 0; + } + return hour; + } else { + // this is not supposed to happen + return hour; + } + } + + // date from string and array of format strings + function configFromStringAndArray(config) { + var tempConfig, + bestMoment, + scoreToBeat, + i, + currentScore, + validFormatFound, + bestFormatIsValid = false, + configfLen = config._f.length; + + if (configfLen === 0) { + getParsingFlags(config).invalidFormat = true; + config._d = new Date(NaN); + return; + } + + for (i = 0; i < configfLen; i++) { + currentScore = 0; + validFormatFound = false; + tempConfig = copyConfig({}, config); + if (config._useUTC != null) { + tempConfig._useUTC = config._useUTC; + } + tempConfig._f = config._f[i]; + configFromStringAndFormat(tempConfig); + + if (isValid(tempConfig)) { + validFormatFound = true; + } + + // if there is any input that was not parsed add a penalty for that format + currentScore += getParsingFlags(tempConfig).charsLeftOver; + + //or tokens + currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10; + + getParsingFlags(tempConfig).score = currentScore; + + if (!bestFormatIsValid) { + if ( + scoreToBeat == null || + currentScore < scoreToBeat || + validFormatFound + ) { + scoreToBeat = currentScore; + bestMoment = tempConfig; + if (validFormatFound) { + bestFormatIsValid = true; + } + } + } else { + if (currentScore < scoreToBeat) { + scoreToBeat = currentScore; + bestMoment = tempConfig; + } + } + } + + extend(config, bestMoment || tempConfig); + } + + function configFromObject(config) { + if (config._d) { + return; + } + + var i = normalizeObjectUnits(config._i), + dayOrDate = i.day === undefined ? i.date : i.day; + config._a = map( + [i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond], + function (obj) { + return obj && parseInt(obj, 10); + } + ); + + configFromArray(config); + } + + function createFromConfig(config) { + var res = new Moment(checkOverflow(prepareConfig(config))); + if (res._nextDay) { + // Adding is smart enough around DST + res.add(1, 'd'); + res._nextDay = undefined; + } + + return res; + } + + function prepareConfig(config) { + var input = config._i, + format = config._f; + + config._locale = config._locale || getLocale(config._l); + + if (input === null || (format === undefined && input === '')) { + return createInvalid({ nullInput: true }); + } + + if (typeof input === 'string') { + config._i = input = config._locale.preparse(input); + } + + if (isMoment(input)) { + return new Moment(checkOverflow(input)); + } else if (isDate(input)) { + config._d = input; + } else if (isArray(format)) { + configFromStringAndArray(config); + } else if (format) { + configFromStringAndFormat(config); + } else { + configFromInput(config); + } + + if (!isValid(config)) { + config._d = null; + } + + return config; + } + + function configFromInput(config) { + var input = config._i; + if (isUndefined(input)) { + config._d = new Date(hooks.now()); + } else if (isDate(input)) { + config._d = new Date(input.valueOf()); + } else if (typeof input === 'string') { + configFromString(config); + } else if (isArray(input)) { + config._a = map(input.slice(0), function (obj) { + return parseInt(obj, 10); + }); + configFromArray(config); + } else if (isObject(input)) { + configFromObject(config); + } else if (isNumber(input)) { + // from milliseconds + config._d = new Date(input); + } else { + hooks.createFromInputFallback(config); + } + } + + function createLocalOrUTC(input, format, locale, strict, isUTC) { + var c = {}; + + if (format === true || format === false) { + strict = format; + format = undefined; + } + + if (locale === true || locale === false) { + strict = locale; + locale = undefined; + } + + if ( + (isObject(input) && isObjectEmpty(input)) || + (isArray(input) && input.length === 0) + ) { + input = undefined; + } + // object construction must be done this way. + // https://github.com/moment/moment/issues/1423 + c._isAMomentObject = true; + c._useUTC = c._isUTC = isUTC; + c._l = locale; + c._i = input; + c._f = format; + c._strict = strict; + + return createFromConfig(c); + } + + function createLocal(input, format, locale, strict) { + return createLocalOrUTC(input, format, locale, strict, false); + } + + var prototypeMin = deprecate( + 'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', + function () { + var other = createLocal.apply(null, arguments); + if (this.isValid() && other.isValid()) { + return other < this ? this : other; + } else { + return createInvalid(); + } + } + ), + prototypeMax = deprecate( + 'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', + function () { + var other = createLocal.apply(null, arguments); + if (this.isValid() && other.isValid()) { + return other > this ? this : other; + } else { + return createInvalid(); + } + } + ); + + // Pick a moment m from moments so that m[fn](other) is true for all + // other. This relies on the function fn to be transitive. + // + // moments should either be an array of moment objects or an array, whose + // first element is an array of moment objects. + function pickBy(fn, moments) { + var res, i; + if (moments.length === 1 && isArray(moments[0])) { + moments = moments[0]; + } + if (!moments.length) { + return createLocal(); + } + res = moments[0]; + for (i = 1; i < moments.length; ++i) { + if (!moments[i].isValid() || moments[i][fn](res)) { + res = moments[i]; + } + } + return res; + } + + // TODO: Use [].sort instead? + function min() { + var args = [].slice.call(arguments, 0); + + return pickBy('isBefore', args); + } + + function max() { + var args = [].slice.call(arguments, 0); + + return pickBy('isAfter', args); + } + + var now = function () { + return Date.now ? Date.now() : +new Date(); + }; + + var ordering = [ + 'year', + 'quarter', + 'month', + 'week', + 'day', + 'hour', + 'minute', + 'second', + 'millisecond', + ]; + + function isDurationValid(m) { + var key, + unitHasDecimal = false, + i, + orderLen = ordering.length; + for (key in m) { + if ( + hasOwnProp(m, key) && + !( + indexOf.call(ordering, key) !== -1 && + (m[key] == null || !isNaN(m[key])) + ) + ) { + return false; + } + } + + for (i = 0; i < orderLen; ++i) { + if (m[ordering[i]]) { + if (unitHasDecimal) { + return false; // only allow non-integers for smallest unit + } + if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) { + unitHasDecimal = true; + } + } + } + + return true; + } + + function isValid$1() { + return this._isValid; + } + + function createInvalid$1() { + return createDuration(NaN); + } + + function Duration(duration) { + var normalizedInput = normalizeObjectUnits(duration), + years = normalizedInput.year || 0, + quarters = normalizedInput.quarter || 0, + months = normalizedInput.month || 0, + weeks = normalizedInput.week || normalizedInput.isoWeek || 0, + days = normalizedInput.day || 0, + hours = normalizedInput.hour || 0, + minutes = normalizedInput.minute || 0, + seconds = normalizedInput.second || 0, + milliseconds = normalizedInput.millisecond || 0; + + this._isValid = isDurationValid(normalizedInput); + + // representation for dateAddRemove + this._milliseconds = + +milliseconds + + seconds * 1e3 + // 1000 + minutes * 6e4 + // 1000 * 60 + hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978 + // Because of dateAddRemove treats 24 hours as different from a + // day when working around DST, we need to store them separately + this._days = +days + weeks * 7; + // It is impossible to translate months into days without knowing + // which months you are are talking about, so we have to store + // it separately. + this._months = +months + quarters * 3 + years * 12; + + this._data = {}; + + this._locale = getLocale(); + + this._bubble(); + } + + function isDuration(obj) { + return obj instanceof Duration; + } + + function absRound(number) { + if (number < 0) { + return Math.round(-1 * number) * -1; + } else { + return Math.round(number); + } + } + + // compare two arrays, return the number of differences + function compareArrays(array1, array2, dontConvert) { + var len = Math.min(array1.length, array2.length), + lengthDiff = Math.abs(array1.length - array2.length), + diffs = 0, + i; + for (i = 0; i < len; i++) { + if ( + (dontConvert && array1[i] !== array2[i]) || + (!dontConvert && toInt(array1[i]) !== toInt(array2[i])) + ) { + diffs++; + } + } + return diffs + lengthDiff; + } + + // FORMATTING + + function offset(token, separator) { + addFormatToken(token, 0, 0, function () { + var offset = this.utcOffset(), + sign = '+'; + if (offset < 0) { + offset = -offset; + sign = '-'; + } + return ( + sign + + zeroFill(~~(offset / 60), 2) + + separator + + zeroFill(~~offset % 60, 2) + ); + }); + } + + offset('Z', ':'); + offset('ZZ', ''); + + // PARSING + + addRegexToken('Z', matchShortOffset); + addRegexToken('ZZ', matchShortOffset); + addParseToken(['Z', 'ZZ'], function (input, array, config) { + config._useUTC = true; + config._tzm = offsetFromString(matchShortOffset, input); + }); + + // HELPERS + + // timezone chunker + // '+10:00' > ['10', '00'] + // '-1530' > ['-15', '30'] + var chunkOffset = /([\+\-]|\d\d)/gi; + + function offsetFromString(matcher, string) { + var matches = (string || '').match(matcher), + chunk, + parts, + minutes; + + if (matches === null) { + return null; + } + + chunk = matches[matches.length - 1] || []; + parts = (chunk + '').match(chunkOffset) || ['-', 0, 0]; + minutes = +(parts[1] * 60) + toInt(parts[2]); + + return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes; + } + + // Return a moment from input, that is local/utc/zone equivalent to model. + function cloneWithOffset(input, model) { + var res, diff; + if (model._isUTC) { + res = model.clone(); + diff = + (isMoment(input) || isDate(input) + ? input.valueOf() + : createLocal(input).valueOf()) - res.valueOf(); + // Use low-level api, because this fn is low-level api. + res._d.setTime(res._d.valueOf() + diff); + hooks.updateOffset(res, false); + return res; + } else { + return createLocal(input).local(); + } + } + + function getDateOffset(m) { + // On Firefox.24 Date#getTimezoneOffset returns a floating point. + // https://github.com/moment/moment/pull/1871 + return -Math.round(m._d.getTimezoneOffset()); + } + + // HOOKS + + // This function will be called whenever a moment is mutated. + // It is intended to keep the offset in sync with the timezone. + hooks.updateOffset = function () {}; + + // MOMENTS + + // keepLocalTime = true means only change the timezone, without + // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]--> + // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset + // +0200, so we adjust the time as needed, to be valid. + // + // Keeping the time actually adds/subtracts (one hour) + // from the actual represented time. That is why we call updateOffset + // a second time. In case it wants us to change the offset again + // _changeInProgress == true case, then we have to adjust, because + // there is no such time in the given timezone. + function getSetOffset(input, keepLocalTime, keepMinutes) { + var offset = this._offset || 0, + localAdjust; + if (!this.isValid()) { + return input != null ? this : NaN; + } + if (input != null) { + if (typeof input === 'string') { + input = offsetFromString(matchShortOffset, input); + if (input === null) { + return this; + } + } else if (Math.abs(input) < 16 && !keepMinutes) { + input = input * 60; + } + if (!this._isUTC && keepLocalTime) { + localAdjust = getDateOffset(this); + } + this._offset = input; + this._isUTC = true; + if (localAdjust != null) { + this.add(localAdjust, 'm'); + } + if (offset !== input) { + if (!keepLocalTime || this._changeInProgress) { + addSubtract( + this, + createDuration(input - offset, 'm'), + 1, + false + ); + } else if (!this._changeInProgress) { + this._changeInProgress = true; + hooks.updateOffset(this, true); + this._changeInProgress = null; + } + } + return this; + } else { + return this._isUTC ? offset : getDateOffset(this); + } + } + + function getSetZone(input, keepLocalTime) { + if (input != null) { + if (typeof input !== 'string') { + input = -input; + } + + this.utcOffset(input, keepLocalTime); + + return this; + } else { + return -this.utcOffset(); + } + } + + function setOffsetToUTC(keepLocalTime) { + return this.utcOffset(0, keepLocalTime); + } + + function setOffsetToLocal(keepLocalTime) { + if (this._isUTC) { + this.utcOffset(0, keepLocalTime); + this._isUTC = false; + + if (keepLocalTime) { + this.subtract(getDateOffset(this), 'm'); + } + } + return this; + } + + function setOffsetToParsedOffset() { + if (this._tzm != null) { + this.utcOffset(this._tzm, false, true); + } else if (typeof this._i === 'string') { + var tZone = offsetFromString(matchOffset, this._i); + if (tZone != null) { + this.utcOffset(tZone); + } else { + this.utcOffset(0, true); + } + } + return this; + } + + function hasAlignedHourOffset(input) { + if (!this.isValid()) { + return false; + } + input = input ? createLocal(input).utcOffset() : 0; + + return (this.utcOffset() - input) % 60 === 0; + } + + function isDaylightSavingTime() { + return ( + this.utcOffset() > this.clone().month(0).utcOffset() || + this.utcOffset() > this.clone().month(5).utcOffset() + ); + } + + function isDaylightSavingTimeShifted() { + if (!isUndefined(this._isDSTShifted)) { + return this._isDSTShifted; + } + + var c = {}, + other; + + copyConfig(c, this); + c = prepareConfig(c); + + if (c._a) { + other = c._isUTC ? createUTC(c._a) : createLocal(c._a); + this._isDSTShifted = + this.isValid() && compareArrays(c._a, other.toArray()) > 0; + } else { + this._isDSTShifted = false; + } + + return this._isDSTShifted; + } + + function isLocal() { + return this.isValid() ? !this._isUTC : false; + } + + function isUtcOffset() { + return this.isValid() ? this._isUTC : false; + } + + function isUtc() { + return this.isValid() ? this._isUTC && this._offset === 0 : false; + } + + // ASP.NET json date format regex + var aspNetRegex = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, + // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html + // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere + // and further modified to allow for strings containing both week and day + isoRegex = + /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; + + function createDuration(input, key) { + var duration = input, + // matching against regexp is expensive, do it on demand + match = null, + sign, + ret, + diffRes; + + if (isDuration(input)) { + duration = { + ms: input._milliseconds, + d: input._days, + M: input._months, + }; + } else if (isNumber(input) || !isNaN(+input)) { + duration = {}; + if (key) { + duration[key] = +input; + } else { + duration.milliseconds = +input; + } + } else if ((match = aspNetRegex.exec(input))) { + sign = match[1] === '-' ? -1 : 1; + duration = { + y: 0, + d: toInt(match[DATE]) * sign, + h: toInt(match[HOUR]) * sign, + m: toInt(match[MINUTE]) * sign, + s: toInt(match[SECOND]) * sign, + ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign, // the millisecond decimal point is included in the match + }; + } else if ((match = isoRegex.exec(input))) { + sign = match[1] === '-' ? -1 : 1; + duration = { + y: parseIso(match[2], sign), + M: parseIso(match[3], sign), + w: parseIso(match[4], sign), + d: parseIso(match[5], sign), + h: parseIso(match[6], sign), + m: parseIso(match[7], sign), + s: parseIso(match[8], sign), + }; + } else if (duration == null) { + // checks for null or undefined + duration = {}; + } else if ( + typeof duration === 'object' && + ('from' in duration || 'to' in duration) + ) { + diffRes = momentsDifference( + createLocal(duration.from), + createLocal(duration.to) + ); + + duration = {}; + duration.ms = diffRes.milliseconds; + duration.M = diffRes.months; + } + + ret = new Duration(duration); + + if (isDuration(input) && hasOwnProp(input, '_locale')) { + ret._locale = input._locale; + } + + if (isDuration(input) && hasOwnProp(input, '_isValid')) { + ret._isValid = input._isValid; + } + + return ret; + } + + createDuration.fn = Duration.prototype; + createDuration.invalid = createInvalid$1; + + function parseIso(inp, sign) { + // We'd normally use ~~inp for this, but unfortunately it also + // converts floats to ints. + // inp may be undefined, so careful calling replace on it. + var res = inp && parseFloat(inp.replace(',', '.')); + // apply sign while we're at it + return (isNaN(res) ? 0 : res) * sign; + } + + function positiveMomentsDifference(base, other) { + var res = {}; + + res.months = + other.month() - base.month() + (other.year() - base.year()) * 12; + if (base.clone().add(res.months, 'M').isAfter(other)) { + --res.months; + } + + res.milliseconds = +other - +base.clone().add(res.months, 'M'); + + return res; + } + + function momentsDifference(base, other) { + var res; + if (!(base.isValid() && other.isValid())) { + return { milliseconds: 0, months: 0 }; + } + + other = cloneWithOffset(other, base); + if (base.isBefore(other)) { + res = positiveMomentsDifference(base, other); + } else { + res = positiveMomentsDifference(other, base); + res.milliseconds = -res.milliseconds; + res.months = -res.months; + } + + return res; + } + + // TODO: remove 'name' arg after deprecation is removed + function createAdder(direction, name) { + return function (val, period) { + var dur, tmp; + //invert the arguments, but complain about it + if (period !== null && !isNaN(+period)) { + deprecateSimple( + name, + 'moment().' + + name + + '(period, number) is deprecated. Please use moment().' + + name + + '(number, period). ' + + 'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.' + ); + tmp = val; + val = period; + period = tmp; + } + + dur = createDuration(val, period); + addSubtract(this, dur, direction); + return this; + }; + } + + function addSubtract(mom, duration, isAdding, updateOffset) { + var milliseconds = duration._milliseconds, + days = absRound(duration._days), + months = absRound(duration._months); + + if (!mom.isValid()) { + // No op + return; + } + + updateOffset = updateOffset == null ? true : updateOffset; + + if (months) { + setMonth(mom, get(mom, 'Month') + months * isAdding); + } + if (days) { + set$1(mom, 'Date', get(mom, 'Date') + days * isAdding); + } + if (milliseconds) { + mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding); + } + if (updateOffset) { + hooks.updateOffset(mom, days || months); + } + } + + var add = createAdder(1, 'add'), + subtract = createAdder(-1, 'subtract'); + + function isString(input) { + return typeof input === 'string' || input instanceof String; + } + + // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined + function isMomentInput(input) { + return ( + isMoment(input) || + isDate(input) || + isString(input) || + isNumber(input) || + isNumberOrStringArray(input) || + isMomentInputObject(input) || + input === null || + input === undefined + ); + } + + function isMomentInputObject(input) { + var objectTest = isObject(input) && !isObjectEmpty(input), + propertyTest = false, + properties = [ + 'years', + 'year', + 'y', + 'months', + 'month', + 'M', + 'days', + 'day', + 'd', + 'dates', + 'date', + 'D', + 'hours', + 'hour', + 'h', + 'minutes', + 'minute', + 'm', + 'seconds', + 'second', + 's', + 'milliseconds', + 'millisecond', + 'ms', + ], + i, + property, + propertyLen = properties.length; + + for (i = 0; i < propertyLen; i += 1) { + property = properties[i]; + propertyTest = propertyTest || hasOwnProp(input, property); + } + + return objectTest && propertyTest; + } + + function isNumberOrStringArray(input) { + var arrayTest = isArray(input), + dataTypeTest = false; + if (arrayTest) { + dataTypeTest = + input.filter(function (item) { + return !isNumber(item) && isString(input); + }).length === 0; + } + return arrayTest && dataTypeTest; + } + + function isCalendarSpec(input) { + var objectTest = isObject(input) && !isObjectEmpty(input), + propertyTest = false, + properties = [ + 'sameDay', + 'nextDay', + 'lastDay', + 'nextWeek', + 'lastWeek', + 'sameElse', + ], + i, + property; + + for (i = 0; i < properties.length; i += 1) { + property = properties[i]; + propertyTest = propertyTest || hasOwnProp(input, property); + } + + return objectTest && propertyTest; + } + + function getCalendarFormat(myMoment, now) { + var diff = myMoment.diff(now, 'days', true); + return diff < -6 + ? 'sameElse' + : diff < -1 + ? 'lastWeek' + : diff < 0 + ? 'lastDay' + : diff < 1 + ? 'sameDay' + : diff < 2 + ? 'nextDay' + : diff < 7 + ? 'nextWeek' + : 'sameElse'; + } + + function calendar$1(time, formats) { + // Support for single parameter, formats only overload to the calendar function + if (arguments.length === 1) { + if (!arguments[0]) { + time = undefined; + formats = undefined; + } else if (isMomentInput(arguments[0])) { + time = arguments[0]; + formats = undefined; + } else if (isCalendarSpec(arguments[0])) { + formats = arguments[0]; + time = undefined; + } + } + // We want to compare the start of today, vs this. + // Getting start-of-today depends on whether we're local/utc/offset or not. + var now = time || createLocal(), + sod = cloneWithOffset(now, this).startOf('day'), + format = hooks.calendarFormat(this, sod) || 'sameElse', + output = + formats && + (isFunction(formats[format]) + ? formats[format].call(this, now) + : formats[format]); + + return this.format( + output || this.localeData().calendar(format, this, createLocal(now)) + ); + } + + function clone() { + return new Moment(this); + } + + function isAfter(input, units) { + var localInput = isMoment(input) ? input : createLocal(input); + if (!(this.isValid() && localInput.isValid())) { + return false; + } + units = normalizeUnits(units) || 'millisecond'; + if (units === 'millisecond') { + return this.valueOf() > localInput.valueOf(); + } else { + return localInput.valueOf() < this.clone().startOf(units).valueOf(); + } + } + + function isBefore(input, units) { + var localInput = isMoment(input) ? input : createLocal(input); + if (!(this.isValid() && localInput.isValid())) { + return false; + } + units = normalizeUnits(units) || 'millisecond'; + if (units === 'millisecond') { + return this.valueOf() < localInput.valueOf(); + } else { + return this.clone().endOf(units).valueOf() < localInput.valueOf(); + } + } + + function isBetween(from, to, units, inclusivity) { + var localFrom = isMoment(from) ? from : createLocal(from), + localTo = isMoment(to) ? to : createLocal(to); + if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) { + return false; + } + inclusivity = inclusivity || '()'; + return ( + (inclusivity[0] === '(' + ? this.isAfter(localFrom, units) + : !this.isBefore(localFrom, units)) && + (inclusivity[1] === ')' + ? this.isBefore(localTo, units) + : !this.isAfter(localTo, units)) + ); + } + + function isSame(input, units) { + var localInput = isMoment(input) ? input : createLocal(input), + inputMs; + if (!(this.isValid() && localInput.isValid())) { + return false; + } + units = normalizeUnits(units) || 'millisecond'; + if (units === 'millisecond') { + return this.valueOf() === localInput.valueOf(); + } else { + inputMs = localInput.valueOf(); + return ( + this.clone().startOf(units).valueOf() <= inputMs && + inputMs <= this.clone().endOf(units).valueOf() + ); + } + } + + function isSameOrAfter(input, units) { + return this.isSame(input, units) || this.isAfter(input, units); + } + + function isSameOrBefore(input, units) { + return this.isSame(input, units) || this.isBefore(input, units); + } + + function diff(input, units, asFloat) { + var that, zoneDelta, output; + + if (!this.isValid()) { + return NaN; + } + + that = cloneWithOffset(input, this); + + if (!that.isValid()) { + return NaN; + } + + zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4; + + units = normalizeUnits(units); + + switch (units) { + case 'year': + output = monthDiff(this, that) / 12; + break; + case 'month': + output = monthDiff(this, that); + break; + case 'quarter': + output = monthDiff(this, that) / 3; + break; + case 'second': + output = (this - that) / 1e3; + break; // 1000 + case 'minute': + output = (this - that) / 6e4; + break; // 1000 * 60 + case 'hour': + output = (this - that) / 36e5; + break; // 1000 * 60 * 60 + case 'day': + output = (this - that - zoneDelta) / 864e5; + break; // 1000 * 60 * 60 * 24, negate dst + case 'week': + output = (this - that - zoneDelta) / 6048e5; + break; // 1000 * 60 * 60 * 24 * 7, negate dst + default: + output = this - that; + } + + return asFloat ? output : absFloor(output); + } + + function monthDiff(a, b) { + if (a.date() < b.date()) { + // end-of-month calculations work correct when the start month has more + // days than the end month. + return -monthDiff(b, a); + } + // difference in months + var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()), + // b is in (anchor - 1 month, anchor + 1 month) + anchor = a.clone().add(wholeMonthDiff, 'months'), + anchor2, + adjust; + + if (b - anchor < 0) { + anchor2 = a.clone().add(wholeMonthDiff - 1, 'months'); + // linear across the month + adjust = (b - anchor) / (anchor - anchor2); + } else { + anchor2 = a.clone().add(wholeMonthDiff + 1, 'months'); + // linear across the month + adjust = (b - anchor) / (anchor2 - anchor); + } + + //check for negative zero, return zero if negative zero + return -(wholeMonthDiff + adjust) || 0; + } + + hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ'; + hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]'; + + function toString() { + return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ'); + } + + function toISOString(keepOffset) { + if (!this.isValid()) { + return null; + } + var utc = keepOffset !== true, + m = utc ? this.clone().utc() : this; + if (m.year() < 0 || m.year() > 9999) { + return formatMoment( + m, + utc + ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]' + : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ' + ); + } + if (isFunction(Date.prototype.toISOString)) { + // native implementation is ~50x faster, use it when we can + if (utc) { + return this.toDate().toISOString(); + } else { + return new Date(this.valueOf() + this.utcOffset() * 60 * 1000) + .toISOString() + .replace('Z', formatMoment(m, 'Z')); + } + } + return formatMoment( + m, + utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ' + ); + } + + /** + * Return a human readable representation of a moment that can + * also be evaluated to get a new moment which is the same + * + * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects + */ + function inspect() { + if (!this.isValid()) { + return 'moment.invalid(/* ' + this._i + ' */)'; + } + var func = 'moment', + zone = '', + prefix, + year, + datetime, + suffix; + if (!this.isLocal()) { + func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone'; + zone = 'Z'; + } + prefix = '[' + func + '("]'; + year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY'; + datetime = '-MM-DD[T]HH:mm:ss.SSS'; + suffix = zone + '[")]'; + + return this.format(prefix + year + datetime + suffix); + } + + function format(inputString) { + if (!inputString) { + inputString = this.isUtc() + ? hooks.defaultFormatUtc + : hooks.defaultFormat; + } + var output = formatMoment(this, inputString); + return this.localeData().postformat(output); + } + + function from(time, withoutSuffix) { + if ( + this.isValid() && + ((isMoment(time) && time.isValid()) || createLocal(time).isValid()) + ) { + return createDuration({ to: this, from: time }) + .locale(this.locale()) + .humanize(!withoutSuffix); + } else { + return this.localeData().invalidDate(); + } + } + + function fromNow(withoutSuffix) { + return this.from(createLocal(), withoutSuffix); + } + + function to(time, withoutSuffix) { + if ( + this.isValid() && + ((isMoment(time) && time.isValid()) || createLocal(time).isValid()) + ) { + return createDuration({ from: this, to: time }) + .locale(this.locale()) + .humanize(!withoutSuffix); + } else { + return this.localeData().invalidDate(); + } + } + + function toNow(withoutSuffix) { + return this.to(createLocal(), withoutSuffix); + } + + // If passed a locale key, it will set the locale for this + // instance. Otherwise, it will return the locale configuration + // variables for this instance. + function locale(key) { + var newLocaleData; + + if (key === undefined) { + return this._locale._abbr; + } else { + newLocaleData = getLocale(key); + if (newLocaleData != null) { + this._locale = newLocaleData; + } + return this; + } + } + + var lang = deprecate( + 'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.', + function (key) { + if (key === undefined) { + return this.localeData(); + } else { + return this.locale(key); + } + } + ); + + function localeData() { + return this._locale; + } + + var MS_PER_SECOND = 1000, + MS_PER_MINUTE = 60 * MS_PER_SECOND, + MS_PER_HOUR = 60 * MS_PER_MINUTE, + MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR; + + // actual modulo - handles negative numbers (for dates before 1970): + function mod$1(dividend, divisor) { + return ((dividend % divisor) + divisor) % divisor; + } + + function localStartOfDate(y, m, d) { + // the date constructor remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0) { + // preserve leap years using a full 400 year cycle, then reset + return new Date(y + 400, m, d) - MS_PER_400_YEARS; + } else { + return new Date(y, m, d).valueOf(); + } + } + + function utcStartOfDate(y, m, d) { + // Date.UTC remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0) { + // preserve leap years using a full 400 year cycle, then reset + return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS; + } else { + return Date.UTC(y, m, d); + } + } + + function startOf(units) { + var time, startOfDate; + units = normalizeUnits(units); + if (units === undefined || units === 'millisecond' || !this.isValid()) { + return this; + } + + startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate; + + switch (units) { + case 'year': + time = startOfDate(this.year(), 0, 1); + break; + case 'quarter': + time = startOfDate( + this.year(), + this.month() - (this.month() % 3), + 1 + ); + break; + case 'month': + time = startOfDate(this.year(), this.month(), 1); + break; + case 'week': + time = startOfDate( + this.year(), + this.month(), + this.date() - this.weekday() + ); + break; + case 'isoWeek': + time = startOfDate( + this.year(), + this.month(), + this.date() - (this.isoWeekday() - 1) + ); + break; + case 'day': + case 'date': + time = startOfDate(this.year(), this.month(), this.date()); + break; + case 'hour': + time = this._d.valueOf(); + time -= mod$1( + time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), + MS_PER_HOUR + ); + break; + case 'minute': + time = this._d.valueOf(); + time -= mod$1(time, MS_PER_MINUTE); + break; + case 'second': + time = this._d.valueOf(); + time -= mod$1(time, MS_PER_SECOND); + break; + } + + this._d.setTime(time); + hooks.updateOffset(this, true); + return this; + } + + function endOf(units) { + var time, startOfDate; + units = normalizeUnits(units); + if (units === undefined || units === 'millisecond' || !this.isValid()) { + return this; + } + + startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate; + + switch (units) { + case 'year': + time = startOfDate(this.year() + 1, 0, 1) - 1; + break; + case 'quarter': + time = + startOfDate( + this.year(), + this.month() - (this.month() % 3) + 3, + 1 + ) - 1; + break; + case 'month': + time = startOfDate(this.year(), this.month() + 1, 1) - 1; + break; + case 'week': + time = + startOfDate( + this.year(), + this.month(), + this.date() - this.weekday() + 7 + ) - 1; + break; + case 'isoWeek': + time = + startOfDate( + this.year(), + this.month(), + this.date() - (this.isoWeekday() - 1) + 7 + ) - 1; + break; + case 'day': + case 'date': + time = startOfDate(this.year(), this.month(), this.date() + 1) - 1; + break; + case 'hour': + time = this._d.valueOf(); + time += + MS_PER_HOUR - + mod$1( + time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), + MS_PER_HOUR + ) - + 1; + break; + case 'minute': + time = this._d.valueOf(); + time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1; + break; + case 'second': + time = this._d.valueOf(); + time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1; + break; + } + + this._d.setTime(time); + hooks.updateOffset(this, true); + return this; + } + + function valueOf() { + return this._d.valueOf() - (this._offset || 0) * 60000; + } + + function unix() { + return Math.floor(this.valueOf() / 1000); + } + + function toDate() { + return new Date(this.valueOf()); + } + + function toArray() { + var m = this; + return [ + m.year(), + m.month(), + m.date(), + m.hour(), + m.minute(), + m.second(), + m.millisecond(), + ]; + } + + function toObject() { + var m = this; + return { + years: m.year(), + months: m.month(), + date: m.date(), + hours: m.hours(), + minutes: m.minutes(), + seconds: m.seconds(), + milliseconds: m.milliseconds(), + }; + } + + function toJSON() { + // new Date(NaN).toJSON() === null + return this.isValid() ? this.toISOString() : null; + } + + function isValid$2() { + return isValid(this); + } + + function parsingFlags() { + return extend({}, getParsingFlags(this)); + } + + function invalidAt() { + return getParsingFlags(this).overflow; + } + + function creationData() { + return { + input: this._i, + format: this._f, + locale: this._locale, + isUTC: this._isUTC, + strict: this._strict, + }; + } + + addFormatToken('N', 0, 0, 'eraAbbr'); + addFormatToken('NN', 0, 0, 'eraAbbr'); + addFormatToken('NNN', 0, 0, 'eraAbbr'); + addFormatToken('NNNN', 0, 0, 'eraName'); + addFormatToken('NNNNN', 0, 0, 'eraNarrow'); + + addFormatToken('y', ['y', 1], 'yo', 'eraYear'); + addFormatToken('y', ['yy', 2], 0, 'eraYear'); + addFormatToken('y', ['yyy', 3], 0, 'eraYear'); + addFormatToken('y', ['yyyy', 4], 0, 'eraYear'); + + addRegexToken('N', matchEraAbbr); + addRegexToken('NN', matchEraAbbr); + addRegexToken('NNN', matchEraAbbr); + addRegexToken('NNNN', matchEraName); + addRegexToken('NNNNN', matchEraNarrow); + + addParseToken( + ['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], + function (input, array, config, token) { + var era = config._locale.erasParse(input, token, config._strict); + if (era) { + getParsingFlags(config).era = era; + } else { + getParsingFlags(config).invalidEra = input; + } + } + ); + + addRegexToken('y', matchUnsigned); + addRegexToken('yy', matchUnsigned); + addRegexToken('yyy', matchUnsigned); + addRegexToken('yyyy', matchUnsigned); + addRegexToken('yo', matchEraYearOrdinal); + + addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR); + addParseToken(['yo'], function (input, array, config, token) { + var match; + if (config._locale._eraYearOrdinalRegex) { + match = input.match(config._locale._eraYearOrdinalRegex); + } + + if (config._locale.eraYearOrdinalParse) { + array[YEAR] = config._locale.eraYearOrdinalParse(input, match); + } else { + array[YEAR] = parseInt(input, 10); + } + }); + + function localeEras(m, format) { + var i, + l, + date, + eras = this._eras || getLocale('en')._eras; + for (i = 0, l = eras.length; i < l; ++i) { + switch (typeof eras[i].since) { + case 'string': + // truncate time + date = hooks(eras[i].since).startOf('day'); + eras[i].since = date.valueOf(); + break; + } + + switch (typeof eras[i].until) { + case 'undefined': + eras[i].until = +Infinity; + break; + case 'string': + // truncate time + date = hooks(eras[i].until).startOf('day').valueOf(); + eras[i].until = date.valueOf(); + break; + } + } + return eras; + } + + function localeErasParse(eraName, format, strict) { + var i, + l, + eras = this.eras(), + name, + abbr, + narrow; + eraName = eraName.toUpperCase(); + + for (i = 0, l = eras.length; i < l; ++i) { + name = eras[i].name.toUpperCase(); + abbr = eras[i].abbr.toUpperCase(); + narrow = eras[i].narrow.toUpperCase(); + + if (strict) { + switch (format) { + case 'N': + case 'NN': + case 'NNN': + if (abbr === eraName) { + return eras[i]; + } + break; + + case 'NNNN': + if (name === eraName) { + return eras[i]; + } + break; + + case 'NNNNN': + if (narrow === eraName) { + return eras[i]; + } + break; + } + } else if ([name, abbr, narrow].indexOf(eraName) >= 0) { + return eras[i]; + } + } + } + + function localeErasConvertYear(era, year) { + var dir = era.since <= era.until ? +1 : -1; + if (year === undefined) { + return hooks(era.since).year(); + } else { + return hooks(era.since).year() + (year - era.offset) * dir; + } + } + + function getEraName() { + var i, + l, + val, + eras = this.localeData().eras(); + for (i = 0, l = eras.length; i < l; ++i) { + // truncate time + val = this.clone().startOf('day').valueOf(); + + if (eras[i].since <= val && val <= eras[i].until) { + return eras[i].name; + } + if (eras[i].until <= val && val <= eras[i].since) { + return eras[i].name; + } + } + + return ''; + } + + function getEraNarrow() { + var i, + l, + val, + eras = this.localeData().eras(); + for (i = 0, l = eras.length; i < l; ++i) { + // truncate time + val = this.clone().startOf('day').valueOf(); + + if (eras[i].since <= val && val <= eras[i].until) { + return eras[i].narrow; + } + if (eras[i].until <= val && val <= eras[i].since) { + return eras[i].narrow; + } + } + + return ''; + } + + function getEraAbbr() { + var i, + l, + val, + eras = this.localeData().eras(); + for (i = 0, l = eras.length; i < l; ++i) { + // truncate time + val = this.clone().startOf('day').valueOf(); + + if (eras[i].since <= val && val <= eras[i].until) { + return eras[i].abbr; + } + if (eras[i].until <= val && val <= eras[i].since) { + return eras[i].abbr; + } + } + + return ''; + } + + function getEraYear() { + var i, + l, + dir, + val, + eras = this.localeData().eras(); + for (i = 0, l = eras.length; i < l; ++i) { + dir = eras[i].since <= eras[i].until ? +1 : -1; + + // truncate time + val = this.clone().startOf('day').valueOf(); + + if ( + (eras[i].since <= val && val <= eras[i].until) || + (eras[i].until <= val && val <= eras[i].since) + ) { + return ( + (this.year() - hooks(eras[i].since).year()) * dir + + eras[i].offset + ); + } + } + + return this.year(); + } + + function erasNameRegex(isStrict) { + if (!hasOwnProp(this, '_erasNameRegex')) { + computeErasParse.call(this); + } + return isStrict ? this._erasNameRegex : this._erasRegex; + } + + function erasAbbrRegex(isStrict) { + if (!hasOwnProp(this, '_erasAbbrRegex')) { + computeErasParse.call(this); + } + return isStrict ? this._erasAbbrRegex : this._erasRegex; + } + + function erasNarrowRegex(isStrict) { + if (!hasOwnProp(this, '_erasNarrowRegex')) { + computeErasParse.call(this); + } + return isStrict ? this._erasNarrowRegex : this._erasRegex; + } + + function matchEraAbbr(isStrict, locale) { + return locale.erasAbbrRegex(isStrict); + } + + function matchEraName(isStrict, locale) { + return locale.erasNameRegex(isStrict); + } + + function matchEraNarrow(isStrict, locale) { + return locale.erasNarrowRegex(isStrict); + } + + function matchEraYearOrdinal(isStrict, locale) { + return locale._eraYearOrdinalRegex || matchUnsigned; + } + + function computeErasParse() { + var abbrPieces = [], + namePieces = [], + narrowPieces = [], + mixedPieces = [], + i, + l, + erasName, + erasAbbr, + erasNarrow, + eras = this.eras(); + + for (i = 0, l = eras.length; i < l; ++i) { + erasName = regexEscape(eras[i].name); + erasAbbr = regexEscape(eras[i].abbr); + erasNarrow = regexEscape(eras[i].narrow); + + namePieces.push(erasName); + abbrPieces.push(erasAbbr); + narrowPieces.push(erasNarrow); + mixedPieces.push(erasName); + mixedPieces.push(erasAbbr); + mixedPieces.push(erasNarrow); + } + + this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); + this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i'); + this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i'); + this._erasNarrowRegex = new RegExp( + '^(' + narrowPieces.join('|') + ')', + 'i' + ); + } + + // FORMATTING + + addFormatToken(0, ['gg', 2], 0, function () { + return this.weekYear() % 100; + }); + + addFormatToken(0, ['GG', 2], 0, function () { + return this.isoWeekYear() % 100; + }); + + function addWeekYearFormatToken(token, getter) { + addFormatToken(0, [token, token.length], 0, getter); + } + + addWeekYearFormatToken('gggg', 'weekYear'); + addWeekYearFormatToken('ggggg', 'weekYear'); + addWeekYearFormatToken('GGGG', 'isoWeekYear'); + addWeekYearFormatToken('GGGGG', 'isoWeekYear'); + + // ALIASES + + // PARSING + + addRegexToken('G', matchSigned); + addRegexToken('g', matchSigned); + addRegexToken('GG', match1to2, match2); + addRegexToken('gg', match1to2, match2); + addRegexToken('GGGG', match1to4, match4); + addRegexToken('gggg', match1to4, match4); + addRegexToken('GGGGG', match1to6, match6); + addRegexToken('ggggg', match1to6, match6); + + addWeekParseToken( + ['gggg', 'ggggg', 'GGGG', 'GGGGG'], + function (input, week, config, token) { + week[token.substr(0, 2)] = toInt(input); + } + ); + + addWeekParseToken(['gg', 'GG'], function (input, week, config, token) { + week[token] = hooks.parseTwoDigitYear(input); + }); + + // MOMENTS + + function getSetWeekYear(input) { + return getSetWeekYearHelper.call( + this, + input, + this.week(), + this.weekday() + this.localeData()._week.dow, + this.localeData()._week.dow, + this.localeData()._week.doy + ); + } + + function getSetISOWeekYear(input) { + return getSetWeekYearHelper.call( + this, + input, + this.isoWeek(), + this.isoWeekday(), + 1, + 4 + ); + } + + function getISOWeeksInYear() { + return weeksInYear(this.year(), 1, 4); + } + + function getISOWeeksInISOWeekYear() { + return weeksInYear(this.isoWeekYear(), 1, 4); + } + + function getWeeksInYear() { + var weekInfo = this.localeData()._week; + return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy); + } + + function getWeeksInWeekYear() { + var weekInfo = this.localeData()._week; + return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy); + } + + function getSetWeekYearHelper(input, week, weekday, dow, doy) { + var weeksTarget; + if (input == null) { + return weekOfYear(this, dow, doy).year; + } else { + weeksTarget = weeksInYear(input, dow, doy); + if (week > weeksTarget) { + week = weeksTarget; + } + return setWeekAll.call(this, input, week, weekday, dow, doy); + } + } + + function setWeekAll(weekYear, week, weekday, dow, doy) { + var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy), + date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear); + + this.year(date.getUTCFullYear()); + this.month(date.getUTCMonth()); + this.date(date.getUTCDate()); + return this; + } + + // FORMATTING + + addFormatToken('Q', 0, 'Qo', 'quarter'); + + // PARSING + + addRegexToken('Q', match1); + addParseToken('Q', function (input, array) { + array[MONTH] = (toInt(input) - 1) * 3; + }); + + // MOMENTS + + function getSetQuarter(input) { + return input == null + ? Math.ceil((this.month() + 1) / 3) + : this.month((input - 1) * 3 + (this.month() % 3)); + } + + // FORMATTING + + addFormatToken('D', ['DD', 2], 'Do', 'date'); + + // PARSING + + addRegexToken('D', match1to2, match1to2NoLeadingZero); + addRegexToken('DD', match1to2, match2); + addRegexToken('Do', function (isStrict, locale) { + // TODO: Remove "ordinalParse" fallback in next major release. + return isStrict + ? locale._dayOfMonthOrdinalParse || locale._ordinalParse + : locale._dayOfMonthOrdinalParseLenient; + }); + + addParseToken(['D', 'DD'], DATE); + addParseToken('Do', function (input, array) { + array[DATE] = toInt(input.match(match1to2)[0]); + }); + + // MOMENTS + + var getSetDayOfMonth = makeGetSet('Date', true); + + // FORMATTING + + addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear'); + + // PARSING + + addRegexToken('DDD', match1to3); + addRegexToken('DDDD', match3); + addParseToken(['DDD', 'DDDD'], function (input, array, config) { + config._dayOfYear = toInt(input); + }); + + // HELPERS + + // MOMENTS + + function getSetDayOfYear(input) { + var dayOfYear = + Math.round( + (this.clone().startOf('day') - this.clone().startOf('year')) / 864e5 + ) + 1; + return input == null ? dayOfYear : this.add(input - dayOfYear, 'd'); + } + + // FORMATTING + + addFormatToken('m', ['mm', 2], 0, 'minute'); + + // PARSING + + addRegexToken('m', match1to2, match1to2HasZero); + addRegexToken('mm', match1to2, match2); + addParseToken(['m', 'mm'], MINUTE); + + // MOMENTS + + var getSetMinute = makeGetSet('Minutes', false); + + // FORMATTING + + addFormatToken('s', ['ss', 2], 0, 'second'); + + // PARSING + + addRegexToken('s', match1to2, match1to2HasZero); + addRegexToken('ss', match1to2, match2); + addParseToken(['s', 'ss'], SECOND); + + // MOMENTS + + var getSetSecond = makeGetSet('Seconds', false); + + // FORMATTING + + addFormatToken('S', 0, 0, function () { + return ~~(this.millisecond() / 100); + }); + + addFormatToken(0, ['SS', 2], 0, function () { + return ~~(this.millisecond() / 10); + }); + + addFormatToken(0, ['SSS', 3], 0, 'millisecond'); + addFormatToken(0, ['SSSS', 4], 0, function () { + return this.millisecond() * 10; + }); + addFormatToken(0, ['SSSSS', 5], 0, function () { + return this.millisecond() * 100; + }); + addFormatToken(0, ['SSSSSS', 6], 0, function () { + return this.millisecond() * 1000; + }); + addFormatToken(0, ['SSSSSSS', 7], 0, function () { + return this.millisecond() * 10000; + }); + addFormatToken(0, ['SSSSSSSS', 8], 0, function () { + return this.millisecond() * 100000; + }); + addFormatToken(0, ['SSSSSSSSS', 9], 0, function () { + return this.millisecond() * 1000000; + }); + + // PARSING + + addRegexToken('S', match1to3, match1); + addRegexToken('SS', match1to3, match2); + addRegexToken('SSS', match1to3, match3); + + var token, getSetMillisecond; + for (token = 'SSSS'; token.length <= 9; token += 'S') { + addRegexToken(token, matchUnsigned); + } + + function parseMs(input, array) { + array[MILLISECOND] = toInt(('0.' + input) * 1000); + } + + for (token = 'S'; token.length <= 9; token += 'S') { + addParseToken(token, parseMs); + } + + getSetMillisecond = makeGetSet('Milliseconds', false); + + // FORMATTING + + addFormatToken('z', 0, 0, 'zoneAbbr'); + addFormatToken('zz', 0, 0, 'zoneName'); + + // MOMENTS + + function getZoneAbbr() { + return this._isUTC ? 'UTC' : ''; + } + + function getZoneName() { + return this._isUTC ? 'Coordinated Universal Time' : ''; + } + + var proto = Moment.prototype; + + proto.add = add; + proto.calendar = calendar$1; + proto.clone = clone; + proto.diff = diff; + proto.endOf = endOf; + proto.format = format; + proto.from = from; + proto.fromNow = fromNow; + proto.to = to; + proto.toNow = toNow; + proto.get = stringGet; + proto.invalidAt = invalidAt; + proto.isAfter = isAfter; + proto.isBefore = isBefore; + proto.isBetween = isBetween; + proto.isSame = isSame; + proto.isSameOrAfter = isSameOrAfter; + proto.isSameOrBefore = isSameOrBefore; + proto.isValid = isValid$2; + proto.lang = lang; + proto.locale = locale; + proto.localeData = localeData; + proto.max = prototypeMax; + proto.min = prototypeMin; + proto.parsingFlags = parsingFlags; + proto.set = stringSet; + proto.startOf = startOf; + proto.subtract = subtract; + proto.toArray = toArray; + proto.toObject = toObject; + proto.toDate = toDate; + proto.toISOString = toISOString; + proto.inspect = inspect; + if (typeof Symbol !== 'undefined' && Symbol.for != null) { + proto[Symbol.for('nodejs.util.inspect.custom')] = function () { + return 'Moment<' + this.format() + '>'; + }; + } + proto.toJSON = toJSON; + proto.toString = toString; + proto.unix = unix; + proto.valueOf = valueOf; + proto.creationData = creationData; + proto.eraName = getEraName; + proto.eraNarrow = getEraNarrow; + proto.eraAbbr = getEraAbbr; + proto.eraYear = getEraYear; + proto.year = getSetYear; + proto.isLeapYear = getIsLeapYear; + proto.weekYear = getSetWeekYear; + proto.isoWeekYear = getSetISOWeekYear; + proto.quarter = proto.quarters = getSetQuarter; + proto.month = getSetMonth; + proto.daysInMonth = getDaysInMonth; + proto.week = proto.weeks = getSetWeek; + proto.isoWeek = proto.isoWeeks = getSetISOWeek; + proto.weeksInYear = getWeeksInYear; + proto.weeksInWeekYear = getWeeksInWeekYear; + proto.isoWeeksInYear = getISOWeeksInYear; + proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear; + proto.date = getSetDayOfMonth; + proto.day = proto.days = getSetDayOfWeek; + proto.weekday = getSetLocaleDayOfWeek; + proto.isoWeekday = getSetISODayOfWeek; + proto.dayOfYear = getSetDayOfYear; + proto.hour = proto.hours = getSetHour; + proto.minute = proto.minutes = getSetMinute; + proto.second = proto.seconds = getSetSecond; + proto.millisecond = proto.milliseconds = getSetMillisecond; + proto.utcOffset = getSetOffset; + proto.utc = setOffsetToUTC; + proto.local = setOffsetToLocal; + proto.parseZone = setOffsetToParsedOffset; + proto.hasAlignedHourOffset = hasAlignedHourOffset; + proto.isDST = isDaylightSavingTime; + proto.isLocal = isLocal; + proto.isUtcOffset = isUtcOffset; + proto.isUtc = isUtc; + proto.isUTC = isUtc; + proto.zoneAbbr = getZoneAbbr; + proto.zoneName = getZoneName; + proto.dates = deprecate( + 'dates accessor is deprecated. Use date instead.', + getSetDayOfMonth + ); + proto.months = deprecate( + 'months accessor is deprecated. Use month instead', + getSetMonth + ); + proto.years = deprecate( + 'years accessor is deprecated. Use year instead', + getSetYear + ); + proto.zone = deprecate( + 'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', + getSetZone + ); + proto.isDSTShifted = deprecate( + 'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', + isDaylightSavingTimeShifted + ); + + function createUnix(input) { + return createLocal(input * 1000); + } + + function createInZone() { + return createLocal.apply(null, arguments).parseZone(); + } + + function preParsePostFormat(string) { + return string; + } + + var proto$1 = Locale.prototype; + + proto$1.calendar = calendar; + proto$1.longDateFormat = longDateFormat; + proto$1.invalidDate = invalidDate; + proto$1.ordinal = ordinal; + proto$1.preparse = preParsePostFormat; + proto$1.postformat = preParsePostFormat; + proto$1.relativeTime = relativeTime; + proto$1.pastFuture = pastFuture; + proto$1.set = set; + proto$1.eras = localeEras; + proto$1.erasParse = localeErasParse; + proto$1.erasConvertYear = localeErasConvertYear; + proto$1.erasAbbrRegex = erasAbbrRegex; + proto$1.erasNameRegex = erasNameRegex; + proto$1.erasNarrowRegex = erasNarrowRegex; + + proto$1.months = localeMonths; + proto$1.monthsShort = localeMonthsShort; + proto$1.monthsParse = localeMonthsParse; + proto$1.monthsRegex = monthsRegex; + proto$1.monthsShortRegex = monthsShortRegex; + proto$1.week = localeWeek; + proto$1.firstDayOfYear = localeFirstDayOfYear; + proto$1.firstDayOfWeek = localeFirstDayOfWeek; + + proto$1.weekdays = localeWeekdays; + proto$1.weekdaysMin = localeWeekdaysMin; + proto$1.weekdaysShort = localeWeekdaysShort; + proto$1.weekdaysParse = localeWeekdaysParse; + + proto$1.weekdaysRegex = weekdaysRegex; + proto$1.weekdaysShortRegex = weekdaysShortRegex; + proto$1.weekdaysMinRegex = weekdaysMinRegex; + + proto$1.isPM = localeIsPM; + proto$1.meridiem = localeMeridiem; + + function get$1(format, index, field, setter) { + var locale = getLocale(), + utc = createUTC().set(setter, index); + return locale[field](utc, format); + } + + function listMonthsImpl(format, index, field) { + if (isNumber(format)) { + index = format; + format = undefined; + } + + format = format || ''; + + if (index != null) { + return get$1(format, index, field, 'month'); + } + + var i, + out = []; + for (i = 0; i < 12; i++) { + out[i] = get$1(format, i, field, 'month'); + } + return out; + } + + // () + // (5) + // (fmt, 5) + // (fmt) + // (true) + // (true, 5) + // (true, fmt, 5) + // (true, fmt) + function listWeekdaysImpl(localeSorted, format, index, field) { + if (typeof localeSorted === 'boolean') { + if (isNumber(format)) { + index = format; + format = undefined; + } + + format = format || ''; + } else { + format = localeSorted; + index = format; + localeSorted = false; + + if (isNumber(format)) { + index = format; + format = undefined; + } + + format = format || ''; + } + + var locale = getLocale(), + shift = localeSorted ? locale._week.dow : 0, + i, + out = []; + + if (index != null) { + return get$1(format, (index + shift) % 7, field, 'day'); + } + + for (i = 0; i < 7; i++) { + out[i] = get$1(format, (i + shift) % 7, field, 'day'); + } + return out; + } + + function listMonths(format, index) { + return listMonthsImpl(format, index, 'months'); + } + + function listMonthsShort(format, index) { + return listMonthsImpl(format, index, 'monthsShort'); + } + + function listWeekdays(localeSorted, format, index) { + return listWeekdaysImpl(localeSorted, format, index, 'weekdays'); + } + + function listWeekdaysShort(localeSorted, format, index) { + return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort'); + } + + function listWeekdaysMin(localeSorted, format, index) { + return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin'); + } + + getSetGlobalLocale('en', { + eras: [ + { + since: '0001-01-01', + until: +Infinity, + offset: 1, + name: 'Anno Domini', + narrow: 'AD', + abbr: 'AD', + }, + { + since: '0000-12-31', + until: -Infinity, + offset: 1, + name: 'Before Christ', + narrow: 'BC', + abbr: 'BC', + }, + ], + dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, + ordinal: function (number) { + var b = number % 10, + output = + toInt((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + }); + + // Side effect imports + + hooks.lang = deprecate( + 'moment.lang is deprecated. Use moment.locale instead.', + getSetGlobalLocale + ); + hooks.langData = deprecate( + 'moment.langData is deprecated. Use moment.localeData instead.', + getLocale + ); + + var mathAbs = Math.abs; + + function abs() { + var data = this._data; + + this._milliseconds = mathAbs(this._milliseconds); + this._days = mathAbs(this._days); + this._months = mathAbs(this._months); + + data.milliseconds = mathAbs(data.milliseconds); + data.seconds = mathAbs(data.seconds); + data.minutes = mathAbs(data.minutes); + data.hours = mathAbs(data.hours); + data.months = mathAbs(data.months); + data.years = mathAbs(data.years); + + return this; + } + + function addSubtract$1(duration, input, value, direction) { + var other = createDuration(input, value); + + duration._milliseconds += direction * other._milliseconds; + duration._days += direction * other._days; + duration._months += direction * other._months; + + return duration._bubble(); + } + + // supports only 2.0-style add(1, 's') or add(duration) + function add$1(input, value) { + return addSubtract$1(this, input, value, 1); + } + + // supports only 2.0-style subtract(1, 's') or subtract(duration) + function subtract$1(input, value) { + return addSubtract$1(this, input, value, -1); + } + + function absCeil(number) { + if (number < 0) { + return Math.floor(number); + } else { + return Math.ceil(number); + } + } + + function bubble() { + var milliseconds = this._milliseconds, + days = this._days, + months = this._months, + data = this._data, + seconds, + minutes, + hours, + years, + monthsFromDays; + + // if we have a mix of positive and negative values, bubble down first + // check: https://github.com/moment/moment/issues/2166 + if ( + !( + (milliseconds >= 0 && days >= 0 && months >= 0) || + (milliseconds <= 0 && days <= 0 && months <= 0) + ) + ) { + milliseconds += absCeil(monthsToDays(months) + days) * 864e5; + days = 0; + months = 0; + } + + // The following code bubbles up values, see the tests for + // examples of what that means. + data.milliseconds = milliseconds % 1000; + + seconds = absFloor(milliseconds / 1000); + data.seconds = seconds % 60; + + minutes = absFloor(seconds / 60); + data.minutes = minutes % 60; + + hours = absFloor(minutes / 60); + data.hours = hours % 24; + + days += absFloor(hours / 24); + + // convert days to months + monthsFromDays = absFloor(daysToMonths(days)); + months += monthsFromDays; + days -= absCeil(monthsToDays(monthsFromDays)); + + // 12 months -> 1 year + years = absFloor(months / 12); + months %= 12; + + data.days = days; + data.months = months; + data.years = years; + + return this; + } + + function daysToMonths(days) { + // 400 years have 146097 days (taking into account leap year rules) + // 400 years have 12 months === 4800 + return (days * 4800) / 146097; + } + + function monthsToDays(months) { + // the reverse of daysToMonths + return (months * 146097) / 4800; + } + + function as(units) { + if (!this.isValid()) { + return NaN; + } + var days, + months, + milliseconds = this._milliseconds; + + units = normalizeUnits(units); + + if (units === 'month' || units === 'quarter' || units === 'year') { + days = this._days + milliseconds / 864e5; + months = this._months + daysToMonths(days); + switch (units) { + case 'month': + return months; + case 'quarter': + return months / 3; + case 'year': + return months / 12; + } + } else { + // handle milliseconds separately because of floating point math errors (issue #1867) + days = this._days + Math.round(monthsToDays(this._months)); + switch (units) { + case 'week': + return days / 7 + milliseconds / 6048e5; + case 'day': + return days + milliseconds / 864e5; + case 'hour': + return days * 24 + milliseconds / 36e5; + case 'minute': + return days * 1440 + milliseconds / 6e4; + case 'second': + return days * 86400 + milliseconds / 1000; + // Math.floor prevents floating point math errors here + case 'millisecond': + return Math.floor(days * 864e5) + milliseconds; + default: + throw new Error('Unknown unit ' + units); + } + } + } + + function makeAs(alias) { + return function () { + return this.as(alias); + }; + } + + var asMilliseconds = makeAs('ms'), + asSeconds = makeAs('s'), + asMinutes = makeAs('m'), + asHours = makeAs('h'), + asDays = makeAs('d'), + asWeeks = makeAs('w'), + asMonths = makeAs('M'), + asQuarters = makeAs('Q'), + asYears = makeAs('y'), + valueOf$1 = asMilliseconds; + + function clone$1() { + return createDuration(this); + } + + function get$2(units) { + units = normalizeUnits(units); + return this.isValid() ? this[units + 's']() : NaN; + } + + function makeGetter(name) { + return function () { + return this.isValid() ? this._data[name] : NaN; + }; + } + + var milliseconds = makeGetter('milliseconds'), + seconds = makeGetter('seconds'), + minutes = makeGetter('minutes'), + hours = makeGetter('hours'), + days = makeGetter('days'), + months = makeGetter('months'), + years = makeGetter('years'); + + function weeks() { + return absFloor(this.days() / 7); + } + + var round = Math.round, + thresholds = { + ss: 44, // a few seconds to seconds + s: 45, // seconds to minute + m: 45, // minutes to hour + h: 22, // hours to day + d: 26, // days to month/week + w: null, // weeks to month + M: 11, // months to year + }; + + // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize + function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) { + return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture); + } + + function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) { + var duration = createDuration(posNegDuration).abs(), + seconds = round(duration.as('s')), + minutes = round(duration.as('m')), + hours = round(duration.as('h')), + days = round(duration.as('d')), + months = round(duration.as('M')), + weeks = round(duration.as('w')), + years = round(duration.as('y')), + a = + (seconds <= thresholds.ss && ['s', seconds]) || + (seconds < thresholds.s && ['ss', seconds]) || + (minutes <= 1 && ['m']) || + (minutes < thresholds.m && ['mm', minutes]) || + (hours <= 1 && ['h']) || + (hours < thresholds.h && ['hh', hours]) || + (days <= 1 && ['d']) || + (days < thresholds.d && ['dd', days]); + + if (thresholds.w != null) { + a = + a || + (weeks <= 1 && ['w']) || + (weeks < thresholds.w && ['ww', weeks]); + } + a = a || + (months <= 1 && ['M']) || + (months < thresholds.M && ['MM', months]) || + (years <= 1 && ['y']) || ['yy', years]; + + a[2] = withoutSuffix; + a[3] = +posNegDuration > 0; + a[4] = locale; + return substituteTimeAgo.apply(null, a); + } + + // This function allows you to set the rounding function for relative time strings + function getSetRelativeTimeRounding(roundingFunction) { + if (roundingFunction === undefined) { + return round; + } + if (typeof roundingFunction === 'function') { + round = roundingFunction; + return true; + } + return false; + } + + // This function allows you to set a threshold for relative time strings + function getSetRelativeTimeThreshold(threshold, limit) { + if (thresholds[threshold] === undefined) { + return false; + } + if (limit === undefined) { + return thresholds[threshold]; + } + thresholds[threshold] = limit; + if (threshold === 's') { + thresholds.ss = limit - 1; + } + return true; + } + + function humanize(argWithSuffix, argThresholds) { + if (!this.isValid()) { + return this.localeData().invalidDate(); + } + + var withSuffix = false, + th = thresholds, + locale, + output; + + if (typeof argWithSuffix === 'object') { + argThresholds = argWithSuffix; + argWithSuffix = false; + } + if (typeof argWithSuffix === 'boolean') { + withSuffix = argWithSuffix; + } + if (typeof argThresholds === 'object') { + th = Object.assign({}, thresholds, argThresholds); + if (argThresholds.s != null && argThresholds.ss == null) { + th.ss = argThresholds.s - 1; + } + } + + locale = this.localeData(); + output = relativeTime$1(this, !withSuffix, th, locale); + + if (withSuffix) { + output = locale.pastFuture(+this, output); + } + + return locale.postformat(output); + } + + var abs$1 = Math.abs; + + function sign(x) { + return (x > 0) - (x < 0) || +x; + } + + function toISOString$1() { + // for ISO strings we do not use the normal bubbling rules: + // * milliseconds bubble up until they become hours + // * days do not bubble at all + // * months bubble up until they become years + // This is because there is no context-free conversion between hours and days + // (think of clock changes) + // and also not between days and months (28-31 days per month) + if (!this.isValid()) { + return this.localeData().invalidDate(); + } + + var seconds = abs$1(this._milliseconds) / 1000, + days = abs$1(this._days), + months = abs$1(this._months), + minutes, + hours, + years, + s, + total = this.asSeconds(), + totalSign, + ymSign, + daysSign, + hmsSign; + + if (!total) { + // this is the same as C#'s (Noda) and python (isodate)... + // but not other JS (goog.date) + return 'P0D'; + } + + // 3600 seconds -> 60 minutes -> 1 hour + minutes = absFloor(seconds / 60); + hours = absFloor(minutes / 60); + seconds %= 60; + minutes %= 60; + + // 12 months -> 1 year + years = absFloor(months / 12); + months %= 12; + + // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js + s = seconds ? seconds.toFixed(3).replace(/\.?0+$/, '') : ''; + + totalSign = total < 0 ? '-' : ''; + ymSign = sign(this._months) !== sign(total) ? '-' : ''; + daysSign = sign(this._days) !== sign(total) ? '-' : ''; + hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : ''; + + return ( + totalSign + + 'P' + + (years ? ymSign + years + 'Y' : '') + + (months ? ymSign + months + 'M' : '') + + (days ? daysSign + days + 'D' : '') + + (hours || minutes || seconds ? 'T' : '') + + (hours ? hmsSign + hours + 'H' : '') + + (minutes ? hmsSign + minutes + 'M' : '') + + (seconds ? hmsSign + s + 'S' : '') + ); + } + + var proto$2 = Duration.prototype; + + proto$2.isValid = isValid$1; + proto$2.abs = abs; + proto$2.add = add$1; + proto$2.subtract = subtract$1; + proto$2.as = as; + proto$2.asMilliseconds = asMilliseconds; + proto$2.asSeconds = asSeconds; + proto$2.asMinutes = asMinutes; + proto$2.asHours = asHours; + proto$2.asDays = asDays; + proto$2.asWeeks = asWeeks; + proto$2.asMonths = asMonths; + proto$2.asQuarters = asQuarters; + proto$2.asYears = asYears; + proto$2.valueOf = valueOf$1; + proto$2._bubble = bubble; + proto$2.clone = clone$1; + proto$2.get = get$2; + proto$2.milliseconds = milliseconds; + proto$2.seconds = seconds; + proto$2.minutes = minutes; + proto$2.hours = hours; + proto$2.days = days; + proto$2.weeks = weeks; + proto$2.months = months; + proto$2.years = years; + proto$2.humanize = humanize; + proto$2.toISOString = toISOString$1; + proto$2.toString = toISOString$1; + proto$2.toJSON = toISOString$1; + proto$2.locale = locale; + proto$2.localeData = localeData; + + proto$2.toIsoString = deprecate( + 'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', + toISOString$1 + ); + proto$2.lang = lang; + + // FORMATTING + + addFormatToken('X', 0, 0, 'unix'); + addFormatToken('x', 0, 0, 'valueOf'); + + // PARSING + + addRegexToken('x', matchSigned); + addRegexToken('X', matchTimestamp); + addParseToken('X', function (input, array, config) { + config._d = new Date(parseFloat(input) * 1000); + }); + addParseToken('x', function (input, array, config) { + config._d = new Date(toInt(input)); + }); + + //! moment.js + + hooks.version = '2.30.1'; + + setHookCallback(createLocal); + + hooks.fn = proto; + hooks.min = min; + hooks.max = max; + hooks.now = now; + hooks.utc = createUTC; + hooks.unix = createUnix; + hooks.months = listMonths; + hooks.isDate = isDate; + hooks.locale = getSetGlobalLocale; + hooks.invalid = createInvalid; + hooks.duration = createDuration; + hooks.isMoment = isMoment; + hooks.weekdays = listWeekdays; + hooks.parseZone = createInZone; + hooks.localeData = getLocale; + hooks.isDuration = isDuration; + hooks.monthsShort = listMonthsShort; + hooks.weekdaysMin = listWeekdaysMin; + hooks.defineLocale = defineLocale; + hooks.updateLocale = updateLocale; + hooks.locales = listLocales; + hooks.weekdaysShort = listWeekdaysShort; + hooks.normalizeUnits = normalizeUnits; + hooks.relativeTimeRounding = getSetRelativeTimeRounding; + hooks.relativeTimeThreshold = getSetRelativeTimeThreshold; + hooks.calendarFormat = getCalendarFormat; + hooks.prototype = proto; + + // currently HTML5 input type only supports 24-hour formats + hooks.HTML5_FMT = { + DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', // + DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', // + DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', // + DATE: 'YYYY-MM-DD', // + TIME: 'HH:mm', // + TIME_SECONDS: 'HH:mm:ss', // + TIME_MS: 'HH:mm:ss.SSS', // + WEEK: 'GGGG-[W]WW', // + MONTH: 'YYYY-MM', // + }; + + return hooks; + +}))); diff --git a/node_modules/moment/package.js b/node_modules/moment/package.js new file mode 100644 index 0000000..aba8d50 --- /dev/null +++ b/node_modules/moment/package.js @@ -0,0 +1,11 @@ +var profile = { + resourceTags: { + ignore: function(filename, mid){ + // only include moment/moment + return mid != "moment/moment"; + }, + amd: function(filename, mid){ + return /\.js$/.test(filename); + } + } +}; diff --git a/node_modules/moment/package.json b/node_modules/moment/package.json new file mode 100644 index 0000000..77a48e6 --- /dev/null +++ b/node_modules/moment/package.json @@ -0,0 +1,116 @@ +{ + "name": "moment", + "version": "2.30.1", + "description": "Parse, validate, manipulate, and display dates", + "homepage": "https://momentjs.com", + "author": "Iskren Ivov Chernev (https://github.com/ichernev)", + "contributors": [ + "Tim Wood (http://timwoodcreates.com/)", + "Rocky Meza (http://rockymeza.com)", + "Matt Johnson (http://codeofmatt.com)", + "Isaac Cambron (http://isaaccambron.com)", + "Andre Polykanine (https://github.com/oire)" + ], + "keywords": [ + "moment", + "date", + "time", + "parse", + "format", + "validate", + "i18n", + "l10n", + "ender" + ], + "main": "./moment.js", + "jsnext:main": "./dist/moment.js", + "typings": "./moment.d.ts", + "typesVersions": { + ">=3.1": { + "*": [ + "ts3.1-typings/*" + ], + "min/moment-with-locales": [ + "ts3.1-typings/moment.d.ts" + ] + } + }, + "engines": { + "node": "*" + }, + "repository": { + "type": "git", + "url": "https://github.com/moment/moment.git" + }, + "bugs": { + "url": "https://github.com/moment/moment/issues" + }, + "license": "MIT", + "devDependencies": { + "benchmark": "latest", + "coveralls": "latest", + "cross-env": "^6.0.3", + "es6-promise": "latest", + "eslint": "latest", + "grunt": "latest", + "grunt-benchmark": "latest", + "grunt-cli": "latest", + "grunt-contrib-clean": "latest", + "grunt-contrib-concat": "latest", + "grunt-contrib-copy": "latest", + "grunt-contrib-uglify": "latest", + "grunt-contrib-watch": "latest", + "grunt-env": "latest", + "grunt-exec": "latest", + "grunt-karma": "latest", + "grunt-nuget": "latest", + "grunt-string-replace": "latest", + "karma": "latest", + "karma-chrome-launcher": "latest", + "karma-firefox-launcher": "latest", + "karma-qunit": "latest", + "karma-sauce-launcher": "4.1.4", + "load-grunt-tasks": "latest", + "lodash": ">=4.17.19", + "node-qunit": "latest", + "nyc": "latest", + "prettier": "latest", + "qunit": "^2.10.0", + "rollup": "2.17.1", + "typescript": "^1.8.10", + "typescript3": "npm:typescript@^3.1.6", + "uglify-js": "latest", + "@types/node": "17.0.21" + }, + "ender": "./ender.js", + "dojoBuild": "package.js", + "jspm": { + "files": [ + "moment.js", + "moment.d.ts", + "locale" + ], + "map": { + "moment": "./moment" + }, + "buildConfig": { + "uglify": true + } + }, + "scripts": { + "ts3.1-typescript-test": "cross-env node_modules/typescript3/bin/tsc --project ts3.1-typing-tests", + "typescript-test": "cross-env node_modules/typescript/bin/tsc --project typing-tests", + "test": "grunt test", + "eslint": "eslint Gruntfile.js tasks src", + "prettier-check": "prettier --check Gruntfile.js tasks src", + "prettier-fmt": "prettier --write Gruntfile.js tasks src", + "coverage": "nyc npm test && nyc report", + "coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls" + }, + "spm": { + "main": "moment.js", + "output": [ + "locale/*.js" + ] + } +} diff --git a/node_modules/moment/src/lib/create/check-overflow.js b/node_modules/moment/src/lib/create/check-overflow.js new file mode 100644 index 0000000..ee08812 --- /dev/null +++ b/node_modules/moment/src/lib/create/check-overflow.js @@ -0,0 +1,57 @@ +import { daysInMonth } from '../units/month'; +import { + YEAR, + MONTH, + DATE, + HOUR, + MINUTE, + SECOND, + MILLISECOND, + WEEK, + WEEKDAY, +} from '../units/constants'; +import getParsingFlags from '../create/parsing-flags'; + +export default function checkOverflow(m) { + var overflow, + a = m._a; + + if (a && getParsingFlags(m).overflow === -2) { + overflow = + a[MONTH] < 0 || a[MONTH] > 11 + ? MONTH + : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) + ? DATE + : a[HOUR] < 0 || + a[HOUR] > 24 || + (a[HOUR] === 24 && + (a[MINUTE] !== 0 || + a[SECOND] !== 0 || + a[MILLISECOND] !== 0)) + ? HOUR + : a[MINUTE] < 0 || a[MINUTE] > 59 + ? MINUTE + : a[SECOND] < 0 || a[SECOND] > 59 + ? SECOND + : a[MILLISECOND] < 0 || a[MILLISECOND] > 999 + ? MILLISECOND + : -1; + + if ( + getParsingFlags(m)._overflowDayOfYear && + (overflow < YEAR || overflow > DATE) + ) { + overflow = DATE; + } + if (getParsingFlags(m)._overflowWeeks && overflow === -1) { + overflow = WEEK; + } + if (getParsingFlags(m)._overflowWeekday && overflow === -1) { + overflow = WEEKDAY; + } + + getParsingFlags(m).overflow = overflow; + } + + return m; +} diff --git a/node_modules/moment/src/lib/create/date-from-array.js b/node_modules/moment/src/lib/create/date-from-array.js new file mode 100644 index 0000000..3d3498d --- /dev/null +++ b/node_modules/moment/src/lib/create/date-from-array.js @@ -0,0 +1,35 @@ +export function createDate(y, m, d, h, M, s, ms) { + // can't just apply() to create a date: + // https://stackoverflow.com/q/181348 + var date; + // the date constructor remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0) { + // preserve leap years using a full 400 year cycle, then reset + date = new Date(y + 400, m, d, h, M, s, ms); + if (isFinite(date.getFullYear())) { + date.setFullYear(y); + } + } else { + date = new Date(y, m, d, h, M, s, ms); + } + + return date; +} + +export function createUTCDate(y) { + var date, args; + // the Date.UTC function remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0) { + args = Array.prototype.slice.call(arguments); + // preserve leap years using a full 400 year cycle, then reset + args[0] = y + 400; + date = new Date(Date.UTC.apply(null, args)); + if (isFinite(date.getUTCFullYear())) { + date.setUTCFullYear(y); + } + } else { + date = new Date(Date.UTC.apply(null, arguments)); + } + + return date; +} diff --git a/node_modules/moment/src/lib/create/from-anything.js b/node_modules/moment/src/lib/create/from-anything.js new file mode 100644 index 0000000..0c5d772 --- /dev/null +++ b/node_modules/moment/src/lib/create/from-anything.js @@ -0,0 +1,117 @@ +import isArray from '../utils/is-array'; +import isObject from '../utils/is-object'; +import isObjectEmpty from '../utils/is-object-empty'; +import isUndefined from '../utils/is-undefined'; +import isNumber from '../utils/is-number'; +import isDate from '../utils/is-date'; +import map from '../utils/map'; +import { createInvalid } from './valid'; +import { Moment, isMoment } from '../moment/constructor'; +import { getLocale } from '../locale/locales'; +import { hooks } from '../utils/hooks'; +import checkOverflow from './check-overflow'; +import { isValid } from './valid'; + +import { configFromStringAndArray } from './from-string-and-array'; +import { configFromStringAndFormat } from './from-string-and-format'; +import { configFromString } from './from-string'; +import { configFromArray } from './from-array'; +import { configFromObject } from './from-object'; + +function createFromConfig(config) { + var res = new Moment(checkOverflow(prepareConfig(config))); + if (res._nextDay) { + // Adding is smart enough around DST + res.add(1, 'd'); + res._nextDay = undefined; + } + + return res; +} + +export function prepareConfig(config) { + var input = config._i, + format = config._f; + + config._locale = config._locale || getLocale(config._l); + + if (input === null || (format === undefined && input === '')) { + return createInvalid({ nullInput: true }); + } + + if (typeof input === 'string') { + config._i = input = config._locale.preparse(input); + } + + if (isMoment(input)) { + return new Moment(checkOverflow(input)); + } else if (isDate(input)) { + config._d = input; + } else if (isArray(format)) { + configFromStringAndArray(config); + } else if (format) { + configFromStringAndFormat(config); + } else { + configFromInput(config); + } + + if (!isValid(config)) { + config._d = null; + } + + return config; +} + +function configFromInput(config) { + var input = config._i; + if (isUndefined(input)) { + config._d = new Date(hooks.now()); + } else if (isDate(input)) { + config._d = new Date(input.valueOf()); + } else if (typeof input === 'string') { + configFromString(config); + } else if (isArray(input)) { + config._a = map(input.slice(0), function (obj) { + return parseInt(obj, 10); + }); + configFromArray(config); + } else if (isObject(input)) { + configFromObject(config); + } else if (isNumber(input)) { + // from milliseconds + config._d = new Date(input); + } else { + hooks.createFromInputFallback(config); + } +} + +export function createLocalOrUTC(input, format, locale, strict, isUTC) { + var c = {}; + + if (format === true || format === false) { + strict = format; + format = undefined; + } + + if (locale === true || locale === false) { + strict = locale; + locale = undefined; + } + + if ( + (isObject(input) && isObjectEmpty(input)) || + (isArray(input) && input.length === 0) + ) { + input = undefined; + } + // object construction must be done this way. + // https://github.com/moment/moment/issues/1423 + c._isAMomentObject = true; + c._useUTC = c._isUTC = isUTC; + c._l = locale; + c._i = input; + c._f = format; + c._strict = strict; + + return createFromConfig(c); +} diff --git a/node_modules/moment/src/lib/create/from-array.js b/node_modules/moment/src/lib/create/from-array.js new file mode 100644 index 0000000..610d802 --- /dev/null +++ b/node_modules/moment/src/lib/create/from-array.js @@ -0,0 +1,187 @@ +import { hooks } from '../utils/hooks'; +import { createDate, createUTCDate } from './date-from-array'; +import { daysInYear } from '../units/year'; +import { + weekOfYear, + weeksInYear, + dayOfYearFromWeeks, +} from '../units/week-calendar-utils'; +import { + YEAR, + MONTH, + DATE, + HOUR, + MINUTE, + SECOND, + MILLISECOND, +} from '../units/constants'; +import { createLocal } from './local'; +import defaults from '../utils/defaults'; +import getParsingFlags from './parsing-flags'; + +function currentDateArray(config) { + // hooks is actually the exported moment object + var nowValue = new Date(hooks.now()); + if (config._useUTC) { + return [ + nowValue.getUTCFullYear(), + nowValue.getUTCMonth(), + nowValue.getUTCDate(), + ]; + } + return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()]; +} + +// convert an array to a date. +// the array should mirror the parameters below +// note: all values past the year are optional and will default to the lowest possible value. +// [year, month, day , hour, minute, second, millisecond] +export function configFromArray(config) { + var i, + date, + input = [], + currentDate, + expectedWeekday, + yearToUse; + + if (config._d) { + return; + } + + currentDate = currentDateArray(config); + + //compute day of the year from weeks and weekdays + if (config._w && config._a[DATE] == null && config._a[MONTH] == null) { + dayOfYearFromWeekInfo(config); + } + + //if the day of the year is set, figure out what it is + if (config._dayOfYear != null) { + yearToUse = defaults(config._a[YEAR], currentDate[YEAR]); + + if ( + config._dayOfYear > daysInYear(yearToUse) || + config._dayOfYear === 0 + ) { + getParsingFlags(config)._overflowDayOfYear = true; + } + + date = createUTCDate(yearToUse, 0, config._dayOfYear); + config._a[MONTH] = date.getUTCMonth(); + config._a[DATE] = date.getUTCDate(); + } + + // Default to current date. + // * if no year, month, day of month are given, default to today + // * if day of month is given, default month and year + // * if month is given, default only year + // * if year is given, don't default anything + for (i = 0; i < 3 && config._a[i] == null; ++i) { + config._a[i] = input[i] = currentDate[i]; + } + + // Zero out whatever was not defaulted, including time + for (; i < 7; i++) { + config._a[i] = input[i] = + config._a[i] == null ? (i === 2 ? 1 : 0) : config._a[i]; + } + + // Check for 24:00:00.000 + if ( + config._a[HOUR] === 24 && + config._a[MINUTE] === 0 && + config._a[SECOND] === 0 && + config._a[MILLISECOND] === 0 + ) { + config._nextDay = true; + config._a[HOUR] = 0; + } + + config._d = (config._useUTC ? createUTCDate : createDate).apply( + null, + input + ); + expectedWeekday = config._useUTC + ? config._d.getUTCDay() + : config._d.getDay(); + + // Apply timezone offset from input. The actual utcOffset can be changed + // with parseZone. + if (config._tzm != null) { + config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm); + } + + if (config._nextDay) { + config._a[HOUR] = 24; + } + + // check for mismatching day of week + if ( + config._w && + typeof config._w.d !== 'undefined' && + config._w.d !== expectedWeekday + ) { + getParsingFlags(config).weekdayMismatch = true; + } +} + +function dayOfYearFromWeekInfo(config) { + var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek; + + w = config._w; + if (w.GG != null || w.W != null || w.E != null) { + dow = 1; + doy = 4; + + // TODO: We need to take the current isoWeekYear, but that depends on + // how we interpret now (local, utc, fixed offset). So create + // a now version of current config (take local/utc/offset flags, and + // create now). + weekYear = defaults( + w.GG, + config._a[YEAR], + weekOfYear(createLocal(), 1, 4).year + ); + week = defaults(w.W, 1); + weekday = defaults(w.E, 1); + if (weekday < 1 || weekday > 7) { + weekdayOverflow = true; + } + } else { + dow = config._locale._week.dow; + doy = config._locale._week.doy; + + curWeek = weekOfYear(createLocal(), dow, doy); + + weekYear = defaults(w.gg, config._a[YEAR], curWeek.year); + + // Default to current week. + week = defaults(w.w, curWeek.week); + + if (w.d != null) { + // weekday -- low day numbers are considered next week + weekday = w.d; + if (weekday < 0 || weekday > 6) { + weekdayOverflow = true; + } + } else if (w.e != null) { + // local weekday -- counting starts from beginning of week + weekday = w.e + dow; + if (w.e < 0 || w.e > 6) { + weekdayOverflow = true; + } + } else { + // default to beginning of week + weekday = dow; + } + } + if (week < 1 || week > weeksInYear(weekYear, dow, doy)) { + getParsingFlags(config)._overflowWeeks = true; + } else if (weekdayOverflow != null) { + getParsingFlags(config)._overflowWeekday = true; + } else { + temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy); + config._a[YEAR] = temp.year; + config._dayOfYear = temp.dayOfYear; + } +} diff --git a/node_modules/moment/src/lib/create/from-object.js b/node_modules/moment/src/lib/create/from-object.js new file mode 100644 index 0000000..55d15c7 --- /dev/null +++ b/node_modules/moment/src/lib/create/from-object.js @@ -0,0 +1,20 @@ +import { normalizeObjectUnits } from '../units/aliases'; +import { configFromArray } from './from-array'; +import map from '../utils/map'; + +export function configFromObject(config) { + if (config._d) { + return; + } + + var i = normalizeObjectUnits(config._i), + dayOrDate = i.day === undefined ? i.date : i.day; + config._a = map( + [i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond], + function (obj) { + return obj && parseInt(obj, 10); + } + ); + + configFromArray(config); +} diff --git a/node_modules/moment/src/lib/create/from-string-and-array.js b/node_modules/moment/src/lib/create/from-string-and-array.js new file mode 100644 index 0000000..4e64167 --- /dev/null +++ b/node_modules/moment/src/lib/create/from-string-and-array.js @@ -0,0 +1,67 @@ +import { copyConfig } from '../moment/constructor'; +import { configFromStringAndFormat } from './from-string-and-format'; +import getParsingFlags from './parsing-flags'; +import { isValid } from './valid'; +import extend from '../utils/extend'; + +// date from string and array of format strings +export function configFromStringAndArray(config) { + var tempConfig, + bestMoment, + scoreToBeat, + i, + currentScore, + validFormatFound, + bestFormatIsValid = false, + configfLen = config._f.length; + + if (configfLen === 0) { + getParsingFlags(config).invalidFormat = true; + config._d = new Date(NaN); + return; + } + + for (i = 0; i < configfLen; i++) { + currentScore = 0; + validFormatFound = false; + tempConfig = copyConfig({}, config); + if (config._useUTC != null) { + tempConfig._useUTC = config._useUTC; + } + tempConfig._f = config._f[i]; + configFromStringAndFormat(tempConfig); + + if (isValid(tempConfig)) { + validFormatFound = true; + } + + // if there is any input that was not parsed add a penalty for that format + currentScore += getParsingFlags(tempConfig).charsLeftOver; + + //or tokens + currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10; + + getParsingFlags(tempConfig).score = currentScore; + + if (!bestFormatIsValid) { + if ( + scoreToBeat == null || + currentScore < scoreToBeat || + validFormatFound + ) { + scoreToBeat = currentScore; + bestMoment = tempConfig; + if (validFormatFound) { + bestFormatIsValid = true; + } + } + } else { + if (currentScore < scoreToBeat) { + scoreToBeat = currentScore; + bestMoment = tempConfig; + } + } + } + + extend(config, bestMoment || tempConfig); +} diff --git a/node_modules/moment/src/lib/create/from-string-and-format.js b/node_modules/moment/src/lib/create/from-string-and-format.js new file mode 100644 index 0000000..82d60d5 --- /dev/null +++ b/node_modules/moment/src/lib/create/from-string-and-format.js @@ -0,0 +1,135 @@ +import { configFromISO, configFromRFC2822 } from './from-string'; +import { configFromArray } from './from-array'; +import { getParseRegexForToken } from '../parse/regex'; +import { addTimeToArrayFromToken } from '../parse/token'; +import { + expandFormat, + formatTokenFunctions, + formattingTokens, +} from '../format/format'; +import checkOverflow from './check-overflow'; +import { YEAR, HOUR } from '../units/constants'; +import { hooks } from '../utils/hooks'; +import getParsingFlags from './parsing-flags'; + +// constant that refers to the ISO standard +hooks.ISO_8601 = function () {}; + +// constant that refers to the RFC 2822 form +hooks.RFC_2822 = function () {}; + +// date from string and format string +export function configFromStringAndFormat(config) { + // TODO: Move this to another part of the creation flow to prevent circular deps + if (config._f === hooks.ISO_8601) { + configFromISO(config); + return; + } + if (config._f === hooks.RFC_2822) { + configFromRFC2822(config); + return; + } + config._a = []; + getParsingFlags(config).empty = true; + + // This array is used to make a Date, either with `new Date` or `Date.UTC` + var string = '' + config._i, + i, + parsedInput, + tokens, + token, + skipped, + stringLength = string.length, + totalParsedInputLength = 0, + era, + tokenLen; + + tokens = + expandFormat(config._f, config._locale).match(formattingTokens) || []; + tokenLen = tokens.length; + for (i = 0; i < tokenLen; i++) { + token = tokens[i]; + parsedInput = (string.match(getParseRegexForToken(token, config)) || + [])[0]; + if (parsedInput) { + skipped = string.substr(0, string.indexOf(parsedInput)); + if (skipped.length > 0) { + getParsingFlags(config).unusedInput.push(skipped); + } + string = string.slice( + string.indexOf(parsedInput) + parsedInput.length + ); + totalParsedInputLength += parsedInput.length; + } + // don't parse if it's not a known token + if (formatTokenFunctions[token]) { + if (parsedInput) { + getParsingFlags(config).empty = false; + } else { + getParsingFlags(config).unusedTokens.push(token); + } + addTimeToArrayFromToken(token, parsedInput, config); + } else if (config._strict && !parsedInput) { + getParsingFlags(config).unusedTokens.push(token); + } + } + + // add remaining unparsed input length to the string + getParsingFlags(config).charsLeftOver = + stringLength - totalParsedInputLength; + if (string.length > 0) { + getParsingFlags(config).unusedInput.push(string); + } + + // clear _12h flag if hour is <= 12 + if ( + config._a[HOUR] <= 12 && + getParsingFlags(config).bigHour === true && + config._a[HOUR] > 0 + ) { + getParsingFlags(config).bigHour = undefined; + } + + getParsingFlags(config).parsedDateParts = config._a.slice(0); + getParsingFlags(config).meridiem = config._meridiem; + // handle meridiem + config._a[HOUR] = meridiemFixWrap( + config._locale, + config._a[HOUR], + config._meridiem + ); + + // handle era + era = getParsingFlags(config).era; + if (era !== null) { + config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]); + } + + configFromArray(config); + checkOverflow(config); +} + +function meridiemFixWrap(locale, hour, meridiem) { + var isPm; + + if (meridiem == null) { + // nothing to do + return hour; + } + if (locale.meridiemHour != null) { + return locale.meridiemHour(hour, meridiem); + } else if (locale.isPM != null) { + // Fallback + isPm = locale.isPM(meridiem); + if (isPm && hour < 12) { + hour += 12; + } + if (!isPm && hour === 12) { + hour = 0; + } + return hour; + } else { + // this is not supposed to happen + return hour; + } +} diff --git a/node_modules/moment/src/lib/create/from-string.js b/node_modules/moment/src/lib/create/from-string.js new file mode 100644 index 0000000..58739b9 --- /dev/null +++ b/node_modules/moment/src/lib/create/from-string.js @@ -0,0 +1,258 @@ +import { configFromStringAndFormat } from './from-string-and-format'; +import { createUTCDate } from './date-from-array'; +import { hooks } from '../utils/hooks'; +import { deprecate } from '../utils/deprecate'; +import getParsingFlags from './parsing-flags'; +import { defaultLocaleMonthsShort } from '../units/month'; +import { defaultLocaleWeekdaysShort } from '../units/day-of-week'; + +// iso 8601 regex +// 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00) +var extendedIsoRegex = + /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, + basicIsoRegex = + /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, + tzRegex = /Z|[+-]\d\d(?::?\d\d)?/, + isoDates = [ + ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/], + ['YYYY-MM-DD', /\d{4}-\d\d-\d\d/], + ['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/], + ['GGGG-[W]WW', /\d{4}-W\d\d/, false], + ['YYYY-DDD', /\d{4}-\d{3}/], + ['YYYY-MM', /\d{4}-\d\d/, false], + ['YYYYYYMMDD', /[+-]\d{10}/], + ['YYYYMMDD', /\d{8}/], + ['GGGG[W]WWE', /\d{4}W\d{3}/], + ['GGGG[W]WW', /\d{4}W\d{2}/, false], + ['YYYYDDD', /\d{7}/], + ['YYYYMM', /\d{6}/, false], + ['YYYY', /\d{4}/, false], + ], + // iso time formats and regexes + isoTimes = [ + ['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/], + ['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/], + ['HH:mm:ss', /\d\d:\d\d:\d\d/], + ['HH:mm', /\d\d:\d\d/], + ['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/], + ['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/], + ['HHmmss', /\d\d\d\d\d\d/], + ['HHmm', /\d\d\d\d/], + ['HH', /\d\d/], + ], + aspNetJsonRegex = /^\/?Date\((-?\d+)/i, + // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3 + rfc2822 = + /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, + obsOffsets = { + UT: 0, + GMT: 0, + EDT: -4 * 60, + EST: -5 * 60, + CDT: -5 * 60, + CST: -6 * 60, + MDT: -6 * 60, + MST: -7 * 60, + PDT: -7 * 60, + PST: -8 * 60, + }; + +// date from iso format +export function configFromISO(config) { + var i, + l, + string = config._i, + match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string), + allowTime, + dateFormat, + timeFormat, + tzFormat, + isoDatesLen = isoDates.length, + isoTimesLen = isoTimes.length; + + if (match) { + getParsingFlags(config).iso = true; + for (i = 0, l = isoDatesLen; i < l; i++) { + if (isoDates[i][1].exec(match[1])) { + dateFormat = isoDates[i][0]; + allowTime = isoDates[i][2] !== false; + break; + } + } + if (dateFormat == null) { + config._isValid = false; + return; + } + if (match[3]) { + for (i = 0, l = isoTimesLen; i < l; i++) { + if (isoTimes[i][1].exec(match[3])) { + // match[2] should be 'T' or space + timeFormat = (match[2] || ' ') + isoTimes[i][0]; + break; + } + } + if (timeFormat == null) { + config._isValid = false; + return; + } + } + if (!allowTime && timeFormat != null) { + config._isValid = false; + return; + } + if (match[4]) { + if (tzRegex.exec(match[4])) { + tzFormat = 'Z'; + } else { + config._isValid = false; + return; + } + } + config._f = dateFormat + (timeFormat || '') + (tzFormat || ''); + configFromStringAndFormat(config); + } else { + config._isValid = false; + } +} + +function extractFromRFC2822Strings( + yearStr, + monthStr, + dayStr, + hourStr, + minuteStr, + secondStr +) { + var result = [ + untruncateYear(yearStr), + defaultLocaleMonthsShort.indexOf(monthStr), + parseInt(dayStr, 10), + parseInt(hourStr, 10), + parseInt(minuteStr, 10), + ]; + + if (secondStr) { + result.push(parseInt(secondStr, 10)); + } + + return result; +} + +function untruncateYear(yearStr) { + var year = parseInt(yearStr, 10); + if (year <= 49) { + return 2000 + year; + } else if (year <= 999) { + return 1900 + year; + } + return year; +} + +function preprocessRFC2822(s) { + // Remove comments and folding whitespace and replace multiple-spaces with a single space + return s + .replace(/\([^()]*\)|[\n\t]/g, ' ') + .replace(/(\s\s+)/g, ' ') + .replace(/^\s\s*/, '') + .replace(/\s\s*$/, ''); +} + +function checkWeekday(weekdayStr, parsedInput, config) { + if (weekdayStr) { + // TODO: Replace the vanilla JS Date object with an independent day-of-week check. + var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr), + weekdayActual = new Date( + parsedInput[0], + parsedInput[1], + parsedInput[2] + ).getDay(); + if (weekdayProvided !== weekdayActual) { + getParsingFlags(config).weekdayMismatch = true; + config._isValid = false; + return false; + } + } + return true; +} + +function calculateOffset(obsOffset, militaryOffset, numOffset) { + if (obsOffset) { + return obsOffsets[obsOffset]; + } else if (militaryOffset) { + // the only allowed military tz is Z + return 0; + } else { + var hm = parseInt(numOffset, 10), + m = hm % 100, + h = (hm - m) / 100; + return h * 60 + m; + } +} + +// date and time from ref 2822 format +export function configFromRFC2822(config) { + var match = rfc2822.exec(preprocessRFC2822(config._i)), + parsedArray; + if (match) { + parsedArray = extractFromRFC2822Strings( + match[4], + match[3], + match[2], + match[5], + match[6], + match[7] + ); + if (!checkWeekday(match[1], parsedArray, config)) { + return; + } + + config._a = parsedArray; + config._tzm = calculateOffset(match[8], match[9], match[10]); + + config._d = createUTCDate.apply(null, config._a); + config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm); + + getParsingFlags(config).rfc2822 = true; + } else { + config._isValid = false; + } +} + +// date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict +export function configFromString(config) { + var matched = aspNetJsonRegex.exec(config._i); + if (matched !== null) { + config._d = new Date(+matched[1]); + return; + } + + configFromISO(config); + if (config._isValid === false) { + delete config._isValid; + } else { + return; + } + + configFromRFC2822(config); + if (config._isValid === false) { + delete config._isValid; + } else { + return; + } + + if (config._strict) { + config._isValid = false; + } else { + // Final attempt, use Input Fallback + hooks.createFromInputFallback(config); + } +} + +hooks.createFromInputFallback = deprecate( + 'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + + 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + + 'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.', + function (config) { + config._d = new Date(config._i + (config._useUTC ? ' UTC' : '')); + } +); diff --git a/node_modules/moment/src/lib/create/local.js b/node_modules/moment/src/lib/create/local.js new file mode 100644 index 0000000..732ea39 --- /dev/null +++ b/node_modules/moment/src/lib/create/local.js @@ -0,0 +1,5 @@ +import { createLocalOrUTC } from './from-anything'; + +export function createLocal(input, format, locale, strict) { + return createLocalOrUTC(input, format, locale, strict, false); +} diff --git a/node_modules/moment/src/lib/create/parsing-flags.js b/node_modules/moment/src/lib/create/parsing-flags.js new file mode 100644 index 0000000..65a377d --- /dev/null +++ b/node_modules/moment/src/lib/create/parsing-flags.js @@ -0,0 +1,28 @@ +function defaultParsingFlags() { + // We need to deep clone this object. + return { + empty: false, + unusedTokens: [], + unusedInput: [], + overflow: -2, + charsLeftOver: 0, + nullInput: false, + invalidEra: null, + invalidMonth: null, + invalidFormat: false, + userInvalidated: false, + iso: false, + parsedDateParts: [], + era: null, + meridiem: null, + rfc2822: false, + weekdayMismatch: false, + }; +} + +export default function getParsingFlags(m) { + if (m._pf == null) { + m._pf = defaultParsingFlags(); + } + return m._pf; +} diff --git a/node_modules/moment/src/lib/create/utc.js b/node_modules/moment/src/lib/create/utc.js new file mode 100644 index 0000000..6081f07 --- /dev/null +++ b/node_modules/moment/src/lib/create/utc.js @@ -0,0 +1,5 @@ +import { createLocalOrUTC } from './from-anything'; + +export function createUTC(input, format, locale, strict) { + return createLocalOrUTC(input, format, locale, strict, true).utc(); +} diff --git a/node_modules/moment/src/lib/create/valid.js b/node_modules/moment/src/lib/create/valid.js new file mode 100644 index 0000000..e4813c6 --- /dev/null +++ b/node_modules/moment/src/lib/create/valid.js @@ -0,0 +1,51 @@ +import extend from '../utils/extend'; +import { createUTC } from './utc'; +import getParsingFlags from '../create/parsing-flags'; +import some from '../utils/some'; + +export function isValid(m) { + var flags = null, + parsedParts = false, + isNowValid = m._d && !isNaN(m._d.getTime()); + if (isNowValid) { + flags = getParsingFlags(m); + parsedParts = some.call(flags.parsedDateParts, function (i) { + return i != null; + }); + isNowValid = + flags.overflow < 0 && + !flags.empty && + !flags.invalidEra && + !flags.invalidMonth && + !flags.invalidWeekday && + !flags.weekdayMismatch && + !flags.nullInput && + !flags.invalidFormat && + !flags.userInvalidated && + (!flags.meridiem || (flags.meridiem && parsedParts)); + if (m._strict) { + isNowValid = + isNowValid && + flags.charsLeftOver === 0 && + flags.unusedTokens.length === 0 && + flags.bigHour === undefined; + } + } + if (Object.isFrozen == null || !Object.isFrozen(m)) { + m._isValid = isNowValid; + } else { + return isNowValid; + } + return m._isValid; +} + +export function createInvalid(flags) { + var m = createUTC(NaN); + if (flags != null) { + extend(getParsingFlags(m), flags); + } else { + getParsingFlags(m).userInvalidated = true; + } + + return m; +} diff --git a/node_modules/moment/src/lib/duration/abs.js b/node_modules/moment/src/lib/duration/abs.js new file mode 100644 index 0000000..d61ebe6 --- /dev/null +++ b/node_modules/moment/src/lib/duration/abs.js @@ -0,0 +1,18 @@ +var mathAbs = Math.abs; + +export function abs() { + var data = this._data; + + this._milliseconds = mathAbs(this._milliseconds); + this._days = mathAbs(this._days); + this._months = mathAbs(this._months); + + data.milliseconds = mathAbs(data.milliseconds); + data.seconds = mathAbs(data.seconds); + data.minutes = mathAbs(data.minutes); + data.hours = mathAbs(data.hours); + data.months = mathAbs(data.months); + data.years = mathAbs(data.years); + + return this; +} diff --git a/node_modules/moment/src/lib/duration/add-subtract.js b/node_modules/moment/src/lib/duration/add-subtract.js new file mode 100644 index 0000000..3755a7d --- /dev/null +++ b/node_modules/moment/src/lib/duration/add-subtract.js @@ -0,0 +1,21 @@ +import { createDuration } from './create'; + +function addSubtract(duration, input, value, direction) { + var other = createDuration(input, value); + + duration._milliseconds += direction * other._milliseconds; + duration._days += direction * other._days; + duration._months += direction * other._months; + + return duration._bubble(); +} + +// supports only 2.0-style add(1, 's') or add(duration) +export function add(input, value) { + return addSubtract(this, input, value, 1); +} + +// supports only 2.0-style subtract(1, 's') or subtract(duration) +export function subtract(input, value) { + return addSubtract(this, input, value, -1); +} diff --git a/node_modules/moment/src/lib/duration/as.js b/node_modules/moment/src/lib/duration/as.js new file mode 100644 index 0000000..a620d5b --- /dev/null +++ b/node_modules/moment/src/lib/duration/as.js @@ -0,0 +1,76 @@ +import { daysToMonths, monthsToDays } from './bubble'; +import { normalizeUnits } from '../units/aliases'; + +export function as(units) { + if (!this.isValid()) { + return NaN; + } + var days, + months, + milliseconds = this._milliseconds; + + units = normalizeUnits(units); + + if (units === 'month' || units === 'quarter' || units === 'year') { + days = this._days + milliseconds / 864e5; + months = this._months + daysToMonths(days); + switch (units) { + case 'month': + return months; + case 'quarter': + return months / 3; + case 'year': + return months / 12; + } + } else { + // handle milliseconds separately because of floating point math errors (issue #1867) + days = this._days + Math.round(monthsToDays(this._months)); + switch (units) { + case 'week': + return days / 7 + milliseconds / 6048e5; + case 'day': + return days + milliseconds / 864e5; + case 'hour': + return days * 24 + milliseconds / 36e5; + case 'minute': + return days * 1440 + milliseconds / 6e4; + case 'second': + return days * 86400 + milliseconds / 1000; + // Math.floor prevents floating point math errors here + case 'millisecond': + return Math.floor(days * 864e5) + milliseconds; + default: + throw new Error('Unknown unit ' + units); + } + } +} + +function makeAs(alias) { + return function () { + return this.as(alias); + }; +} + +var asMilliseconds = makeAs('ms'), + asSeconds = makeAs('s'), + asMinutes = makeAs('m'), + asHours = makeAs('h'), + asDays = makeAs('d'), + asWeeks = makeAs('w'), + asMonths = makeAs('M'), + asQuarters = makeAs('Q'), + asYears = makeAs('y'), + valueOf = asMilliseconds; + +export { + asMilliseconds, + asSeconds, + asMinutes, + asHours, + asDays, + asWeeks, + asMonths, + asQuarters, + asYears, + valueOf, +}; diff --git a/node_modules/moment/src/lib/duration/bubble.js b/node_modules/moment/src/lib/duration/bubble.js new file mode 100644 index 0000000..c7822e3 --- /dev/null +++ b/node_modules/moment/src/lib/duration/bubble.js @@ -0,0 +1,68 @@ +import absFloor from '../utils/abs-floor'; +import absCeil from '../utils/abs-ceil'; + +export function bubble() { + var milliseconds = this._milliseconds, + days = this._days, + months = this._months, + data = this._data, + seconds, + minutes, + hours, + years, + monthsFromDays; + + // if we have a mix of positive and negative values, bubble down first + // check: https://github.com/moment/moment/issues/2166 + if ( + !( + (milliseconds >= 0 && days >= 0 && months >= 0) || + (milliseconds <= 0 && days <= 0 && months <= 0) + ) + ) { + milliseconds += absCeil(monthsToDays(months) + days) * 864e5; + days = 0; + months = 0; + } + + // The following code bubbles up values, see the tests for + // examples of what that means. + data.milliseconds = milliseconds % 1000; + + seconds = absFloor(milliseconds / 1000); + data.seconds = seconds % 60; + + minutes = absFloor(seconds / 60); + data.minutes = minutes % 60; + + hours = absFloor(minutes / 60); + data.hours = hours % 24; + + days += absFloor(hours / 24); + + // convert days to months + monthsFromDays = absFloor(daysToMonths(days)); + months += monthsFromDays; + days -= absCeil(monthsToDays(monthsFromDays)); + + // 12 months -> 1 year + years = absFloor(months / 12); + months %= 12; + + data.days = days; + data.months = months; + data.years = years; + + return this; +} + +export function daysToMonths(days) { + // 400 years have 146097 days (taking into account leap year rules) + // 400 years have 12 months === 4800 + return (days * 4800) / 146097; +} + +export function monthsToDays(months) { + // the reverse of daysToMonths + return (months * 146097) / 4800; +} diff --git a/node_modules/moment/src/lib/duration/clone.js b/node_modules/moment/src/lib/duration/clone.js new file mode 100644 index 0000000..8978dfe --- /dev/null +++ b/node_modules/moment/src/lib/duration/clone.js @@ -0,0 +1,5 @@ +import { createDuration } from './create'; + +export function clone() { + return createDuration(this); +} diff --git a/node_modules/moment/src/lib/duration/constructor.js b/node_modules/moment/src/lib/duration/constructor.js new file mode 100644 index 0000000..6033769 --- /dev/null +++ b/node_modules/moment/src/lib/duration/constructor.js @@ -0,0 +1,42 @@ +import { normalizeObjectUnits } from '../units/aliases'; +import { getLocale } from '../locale/locales'; +import isDurationValid from './valid.js'; + +export function Duration(duration) { + var normalizedInput = normalizeObjectUnits(duration), + years = normalizedInput.year || 0, + quarters = normalizedInput.quarter || 0, + months = normalizedInput.month || 0, + weeks = normalizedInput.week || normalizedInput.isoWeek || 0, + days = normalizedInput.day || 0, + hours = normalizedInput.hour || 0, + minutes = normalizedInput.minute || 0, + seconds = normalizedInput.second || 0, + milliseconds = normalizedInput.millisecond || 0; + + this._isValid = isDurationValid(normalizedInput); + + // representation for dateAddRemove + this._milliseconds = + +milliseconds + + seconds * 1e3 + // 1000 + minutes * 6e4 + // 1000 * 60 + hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978 + // Because of dateAddRemove treats 24 hours as different from a + // day when working around DST, we need to store them separately + this._days = +days + weeks * 7; + // It is impossible to translate months into days without knowing + // which months you are are talking about, so we have to store + // it separately. + this._months = +months + quarters * 3 + years * 12; + + this._data = {}; + + this._locale = getLocale(); + + this._bubble(); +} + +export function isDuration(obj) { + return obj instanceof Duration; +} diff --git a/node_modules/moment/src/lib/duration/create.js b/node_modules/moment/src/lib/duration/create.js new file mode 100644 index 0000000..a82c376 --- /dev/null +++ b/node_modules/moment/src/lib/duration/create.js @@ -0,0 +1,133 @@ +import { Duration, isDuration } from './constructor'; +import isNumber from '../utils/is-number'; +import toInt from '../utils/to-int'; +import absRound from '../utils/abs-round'; +import hasOwnProp from '../utils/has-own-prop'; +import { DATE, HOUR, MINUTE, SECOND, MILLISECOND } from '../units/constants'; +import { cloneWithOffset } from '../units/offset'; +import { createLocal } from '../create/local'; +import { createInvalid as invalid } from './valid'; + +// ASP.NET json date format regex +var aspNetRegex = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, + // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html + // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere + // and further modified to allow for strings containing both week and day + isoRegex = + /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; + +export function createDuration(input, key) { + var duration = input, + // matching against regexp is expensive, do it on demand + match = null, + sign, + ret, + diffRes; + + if (isDuration(input)) { + duration = { + ms: input._milliseconds, + d: input._days, + M: input._months, + }; + } else if (isNumber(input) || !isNaN(+input)) { + duration = {}; + if (key) { + duration[key] = +input; + } else { + duration.milliseconds = +input; + } + } else if ((match = aspNetRegex.exec(input))) { + sign = match[1] === '-' ? -1 : 1; + duration = { + y: 0, + d: toInt(match[DATE]) * sign, + h: toInt(match[HOUR]) * sign, + m: toInt(match[MINUTE]) * sign, + s: toInt(match[SECOND]) * sign, + ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign, // the millisecond decimal point is included in the match + }; + } else if ((match = isoRegex.exec(input))) { + sign = match[1] === '-' ? -1 : 1; + duration = { + y: parseIso(match[2], sign), + M: parseIso(match[3], sign), + w: parseIso(match[4], sign), + d: parseIso(match[5], sign), + h: parseIso(match[6], sign), + m: parseIso(match[7], sign), + s: parseIso(match[8], sign), + }; + } else if (duration == null) { + // checks for null or undefined + duration = {}; + } else if ( + typeof duration === 'object' && + ('from' in duration || 'to' in duration) + ) { + diffRes = momentsDifference( + createLocal(duration.from), + createLocal(duration.to) + ); + + duration = {}; + duration.ms = diffRes.milliseconds; + duration.M = diffRes.months; + } + + ret = new Duration(duration); + + if (isDuration(input) && hasOwnProp(input, '_locale')) { + ret._locale = input._locale; + } + + if (isDuration(input) && hasOwnProp(input, '_isValid')) { + ret._isValid = input._isValid; + } + + return ret; +} + +createDuration.fn = Duration.prototype; +createDuration.invalid = invalid; + +function parseIso(inp, sign) { + // We'd normally use ~~inp for this, but unfortunately it also + // converts floats to ints. + // inp may be undefined, so careful calling replace on it. + var res = inp && parseFloat(inp.replace(',', '.')); + // apply sign while we're at it + return (isNaN(res) ? 0 : res) * sign; +} + +function positiveMomentsDifference(base, other) { + var res = {}; + + res.months = + other.month() - base.month() + (other.year() - base.year()) * 12; + if (base.clone().add(res.months, 'M').isAfter(other)) { + --res.months; + } + + res.milliseconds = +other - +base.clone().add(res.months, 'M'); + + return res; +} + +function momentsDifference(base, other) { + var res; + if (!(base.isValid() && other.isValid())) { + return { milliseconds: 0, months: 0 }; + } + + other = cloneWithOffset(other, base); + if (base.isBefore(other)) { + res = positiveMomentsDifference(base, other); + } else { + res = positiveMomentsDifference(other, base); + res.milliseconds = -res.milliseconds; + res.months = -res.months; + } + + return res; +} diff --git a/node_modules/moment/src/lib/duration/duration.js b/node_modules/moment/src/lib/duration/duration.js new file mode 100644 index 0000000..10f03a7 --- /dev/null +++ b/node_modules/moment/src/lib/duration/duration.js @@ -0,0 +1,16 @@ +// Side effect imports +import './prototype'; + +import { createDuration } from './create'; +import { isDuration } from './constructor'; +import { + getSetRelativeTimeRounding, + getSetRelativeTimeThreshold, +} from './humanize'; + +export { + createDuration, + isDuration, + getSetRelativeTimeRounding, + getSetRelativeTimeThreshold, +}; diff --git a/node_modules/moment/src/lib/duration/get.js b/node_modules/moment/src/lib/duration/get.js new file mode 100644 index 0000000..99533d7 --- /dev/null +++ b/node_modules/moment/src/lib/duration/get.js @@ -0,0 +1,27 @@ +import { normalizeUnits } from '../units/aliases'; +import absFloor from '../utils/abs-floor'; + +export function get(units) { + units = normalizeUnits(units); + return this.isValid() ? this[units + 's']() : NaN; +} + +function makeGetter(name) { + return function () { + return this.isValid() ? this._data[name] : NaN; + }; +} + +var milliseconds = makeGetter('milliseconds'), + seconds = makeGetter('seconds'), + minutes = makeGetter('minutes'), + hours = makeGetter('hours'), + days = makeGetter('days'), + months = makeGetter('months'), + years = makeGetter('years'); + +export { milliseconds, seconds, minutes, hours, days, months, years }; + +export function weeks() { + return absFloor(this.days() / 7); +} diff --git a/node_modules/moment/src/lib/duration/humanize.js b/node_modules/moment/src/lib/duration/humanize.js new file mode 100644 index 0000000..74079cd --- /dev/null +++ b/node_modules/moment/src/lib/duration/humanize.js @@ -0,0 +1,114 @@ +import { createDuration } from './create'; + +var round = Math.round, + thresholds = { + ss: 44, // a few seconds to seconds + s: 45, // seconds to minute + m: 45, // minutes to hour + h: 22, // hours to day + d: 26, // days to month/week + w: null, // weeks to month + M: 11, // months to year + }; + +// helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize +function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) { + return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture); +} + +function relativeTime(posNegDuration, withoutSuffix, thresholds, locale) { + var duration = createDuration(posNegDuration).abs(), + seconds = round(duration.as('s')), + minutes = round(duration.as('m')), + hours = round(duration.as('h')), + days = round(duration.as('d')), + months = round(duration.as('M')), + weeks = round(duration.as('w')), + years = round(duration.as('y')), + a = + (seconds <= thresholds.ss && ['s', seconds]) || + (seconds < thresholds.s && ['ss', seconds]) || + (minutes <= 1 && ['m']) || + (minutes < thresholds.m && ['mm', minutes]) || + (hours <= 1 && ['h']) || + (hours < thresholds.h && ['hh', hours]) || + (days <= 1 && ['d']) || + (days < thresholds.d && ['dd', days]); + + if (thresholds.w != null) { + a = + a || + (weeks <= 1 && ['w']) || + (weeks < thresholds.w && ['ww', weeks]); + } + a = a || + (months <= 1 && ['M']) || + (months < thresholds.M && ['MM', months]) || + (years <= 1 && ['y']) || ['yy', years]; + + a[2] = withoutSuffix; + a[3] = +posNegDuration > 0; + a[4] = locale; + return substituteTimeAgo.apply(null, a); +} + +// This function allows you to set the rounding function for relative time strings +export function getSetRelativeTimeRounding(roundingFunction) { + if (roundingFunction === undefined) { + return round; + } + if (typeof roundingFunction === 'function') { + round = roundingFunction; + return true; + } + return false; +} + +// This function allows you to set a threshold for relative time strings +export function getSetRelativeTimeThreshold(threshold, limit) { + if (thresholds[threshold] === undefined) { + return false; + } + if (limit === undefined) { + return thresholds[threshold]; + } + thresholds[threshold] = limit; + if (threshold === 's') { + thresholds.ss = limit - 1; + } + return true; +} + +export function humanize(argWithSuffix, argThresholds) { + if (!this.isValid()) { + return this.localeData().invalidDate(); + } + + var withSuffix = false, + th = thresholds, + locale, + output; + + if (typeof argWithSuffix === 'object') { + argThresholds = argWithSuffix; + argWithSuffix = false; + } + if (typeof argWithSuffix === 'boolean') { + withSuffix = argWithSuffix; + } + if (typeof argThresholds === 'object') { + th = Object.assign({}, thresholds, argThresholds); + if (argThresholds.s != null && argThresholds.ss == null) { + th.ss = argThresholds.s - 1; + } + } + + locale = this.localeData(); + output = relativeTime(this, !withSuffix, th, locale); + + if (withSuffix) { + output = locale.pastFuture(+this, output); + } + + return locale.postformat(output); +} diff --git a/node_modules/moment/src/lib/duration/iso-string.js b/node_modules/moment/src/lib/duration/iso-string.js new file mode 100644 index 0000000..5fd2166 --- /dev/null +++ b/node_modules/moment/src/lib/duration/iso-string.js @@ -0,0 +1,68 @@ +import absFloor from '../utils/abs-floor'; +var abs = Math.abs; + +function sign(x) { + return (x > 0) - (x < 0) || +x; +} + +export function toISOString() { + // for ISO strings we do not use the normal bubbling rules: + // * milliseconds bubble up until they become hours + // * days do not bubble at all + // * months bubble up until they become years + // This is because there is no context-free conversion between hours and days + // (think of clock changes) + // and also not between days and months (28-31 days per month) + if (!this.isValid()) { + return this.localeData().invalidDate(); + } + + var seconds = abs(this._milliseconds) / 1000, + days = abs(this._days), + months = abs(this._months), + minutes, + hours, + years, + s, + total = this.asSeconds(), + totalSign, + ymSign, + daysSign, + hmsSign; + + if (!total) { + // this is the same as C#'s (Noda) and python (isodate)... + // but not other JS (goog.date) + return 'P0D'; + } + + // 3600 seconds -> 60 minutes -> 1 hour + minutes = absFloor(seconds / 60); + hours = absFloor(minutes / 60); + seconds %= 60; + minutes %= 60; + + // 12 months -> 1 year + years = absFloor(months / 12); + months %= 12; + + // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js + s = seconds ? seconds.toFixed(3).replace(/\.?0+$/, '') : ''; + + totalSign = total < 0 ? '-' : ''; + ymSign = sign(this._months) !== sign(total) ? '-' : ''; + daysSign = sign(this._days) !== sign(total) ? '-' : ''; + hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : ''; + + return ( + totalSign + + 'P' + + (years ? ymSign + years + 'Y' : '') + + (months ? ymSign + months + 'M' : '') + + (days ? daysSign + days + 'D' : '') + + (hours || minutes || seconds ? 'T' : '') + + (hours ? hmsSign + hours + 'H' : '') + + (minutes ? hmsSign + minutes + 'M' : '') + + (seconds ? hmsSign + s + 'S' : '') + ); +} diff --git a/node_modules/moment/src/lib/duration/prototype.js b/node_modules/moment/src/lib/duration/prototype.js new file mode 100644 index 0000000..3f24b4a --- /dev/null +++ b/node_modules/moment/src/lib/duration/prototype.js @@ -0,0 +1,78 @@ +import { Duration } from './constructor'; + +var proto = Duration.prototype; + +import { abs } from './abs'; +import { add, subtract } from './add-subtract'; +import { + as, + asMilliseconds, + asSeconds, + asMinutes, + asHours, + asDays, + asWeeks, + asMonths, + asQuarters, + asYears, + valueOf, +} from './as'; +import { bubble } from './bubble'; +import { clone } from './clone'; +import { + get, + milliseconds, + seconds, + minutes, + hours, + days, + months, + years, + weeks, +} from './get'; +import { humanize } from './humanize'; +import { toISOString } from './iso-string'; +import { lang, locale, localeData } from '../moment/locale'; +import { isValid } from './valid'; + +proto.isValid = isValid; +proto.abs = abs; +proto.add = add; +proto.subtract = subtract; +proto.as = as; +proto.asMilliseconds = asMilliseconds; +proto.asSeconds = asSeconds; +proto.asMinutes = asMinutes; +proto.asHours = asHours; +proto.asDays = asDays; +proto.asWeeks = asWeeks; +proto.asMonths = asMonths; +proto.asQuarters = asQuarters; +proto.asYears = asYears; +proto.valueOf = valueOf; +proto._bubble = bubble; +proto.clone = clone; +proto.get = get; +proto.milliseconds = milliseconds; +proto.seconds = seconds; +proto.minutes = minutes; +proto.hours = hours; +proto.days = days; +proto.weeks = weeks; +proto.months = months; +proto.years = years; +proto.humanize = humanize; +proto.toISOString = toISOString; +proto.toString = toISOString; +proto.toJSON = toISOString; +proto.locale = locale; +proto.localeData = localeData; + +// Deprecations +import { deprecate } from '../utils/deprecate'; + +proto.toIsoString = deprecate( + 'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', + toISOString +); +proto.lang = lang; diff --git a/node_modules/moment/src/lib/duration/valid.js b/node_modules/moment/src/lib/duration/valid.js new file mode 100644 index 0000000..88ef7a9 --- /dev/null +++ b/node_modules/moment/src/lib/duration/valid.js @@ -0,0 +1,55 @@ +import hasOwnProp from '../utils/has-own-prop'; +import toInt from '../utils/to-int'; +import indexOf from '../utils/index-of'; +import { createDuration } from './create'; + +var ordering = [ + 'year', + 'quarter', + 'month', + 'week', + 'day', + 'hour', + 'minute', + 'second', + 'millisecond', +]; + +export default function isDurationValid(m) { + var key, + unitHasDecimal = false, + i, + orderLen = ordering.length; + for (key in m) { + if ( + hasOwnProp(m, key) && + !( + indexOf.call(ordering, key) !== -1 && + (m[key] == null || !isNaN(m[key])) + ) + ) { + return false; + } + } + + for (i = 0; i < orderLen; ++i) { + if (m[ordering[i]]) { + if (unitHasDecimal) { + return false; // only allow non-integers for smallest unit + } + if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) { + unitHasDecimal = true; + } + } + } + + return true; +} + +export function isValid() { + return this._isValid; +} + +export function createInvalid() { + return createDuration(NaN); +} diff --git a/node_modules/moment/src/lib/format/format.js b/node_modules/moment/src/lib/format/format.js new file mode 100644 index 0000000..7abe260 --- /dev/null +++ b/node_modules/moment/src/lib/format/format.js @@ -0,0 +1,104 @@ +import zeroFill from '../utils/zero-fill'; +import isFunction from '../utils/is-function'; + +var formattingTokens = + /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, + localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, + formatFunctions = {}, + formatTokenFunctions = {}; + +export { formattingTokens, formatTokenFunctions }; + +// token: 'M' +// padded: ['MM', 2] +// ordinal: 'Mo' +// callback: function () { this.month() + 1 } +export function addFormatToken(token, padded, ordinal, callback) { + var func = callback; + if (typeof callback === 'string') { + func = function () { + return this[callback](); + }; + } + if (token) { + formatTokenFunctions[token] = func; + } + if (padded) { + formatTokenFunctions[padded[0]] = function () { + return zeroFill(func.apply(this, arguments), padded[1], padded[2]); + }; + } + if (ordinal) { + formatTokenFunctions[ordinal] = function () { + return this.localeData().ordinal( + func.apply(this, arguments), + token + ); + }; + } +} + +function removeFormattingTokens(input) { + if (input.match(/\[[\s\S]/)) { + return input.replace(/^\[|\]$/g, ''); + } + return input.replace(/\\/g, ''); +} + +function makeFormatFunction(format) { + var array = format.match(formattingTokens), + i, + length; + + for (i = 0, length = array.length; i < length; i++) { + if (formatTokenFunctions[array[i]]) { + array[i] = formatTokenFunctions[array[i]]; + } else { + array[i] = removeFormattingTokens(array[i]); + } + } + + return function (mom) { + var output = '', + i; + for (i = 0; i < length; i++) { + output += isFunction(array[i]) + ? array[i].call(mom, format) + : array[i]; + } + return output; + }; +} + +// format date using native date object +export function formatMoment(m, format) { + if (!m.isValid()) { + return m.localeData().invalidDate(); + } + + format = expandFormat(format, m.localeData()); + formatFunctions[format] = + formatFunctions[format] || makeFormatFunction(format); + + return formatFunctions[format](m); +} + +export function expandFormat(format, locale) { + var i = 5; + + function replaceLongDateFormatTokens(input) { + return locale.longDateFormat(input) || input; + } + + localFormattingTokens.lastIndex = 0; + while (i >= 0 && localFormattingTokens.test(format)) { + format = format.replace( + localFormattingTokens, + replaceLongDateFormatTokens + ); + localFormattingTokens.lastIndex = 0; + i -= 1; + } + + return format; +} diff --git a/node_modules/moment/src/lib/locale/base-config.js b/node_modules/moment/src/lib/locale/base-config.js new file mode 100644 index 0000000..5f8c403 --- /dev/null +++ b/node_modules/moment/src/lib/locale/base-config.js @@ -0,0 +1,41 @@ +import { defaultCalendar } from './calendar'; +import { defaultLongDateFormat } from './formats'; +import { defaultInvalidDate } from './invalid'; +import { defaultOrdinal, defaultDayOfMonthOrdinalParse } from './ordinal'; +import { defaultRelativeTime } from './relative'; + +// months +import { defaultLocaleMonths, defaultLocaleMonthsShort } from '../units/month'; + +// week +import { defaultLocaleWeek } from '../units/week'; + +// weekdays +import { + defaultLocaleWeekdays, + defaultLocaleWeekdaysMin, + defaultLocaleWeekdaysShort, +} from '../units/day-of-week'; + +// meridiem +import { defaultLocaleMeridiemParse } from '../units/hour'; + +export var baseConfig = { + calendar: defaultCalendar, + longDateFormat: defaultLongDateFormat, + invalidDate: defaultInvalidDate, + ordinal: defaultOrdinal, + dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse, + relativeTime: defaultRelativeTime, + + months: defaultLocaleMonths, + monthsShort: defaultLocaleMonthsShort, + + week: defaultLocaleWeek, + + weekdays: defaultLocaleWeekdays, + weekdaysMin: defaultLocaleWeekdaysMin, + weekdaysShort: defaultLocaleWeekdaysShort, + + meridiemParse: defaultLocaleMeridiemParse, +}; diff --git a/node_modules/moment/src/lib/locale/calendar.js b/node_modules/moment/src/lib/locale/calendar.js new file mode 100644 index 0000000..52c6ba5 --- /dev/null +++ b/node_modules/moment/src/lib/locale/calendar.js @@ -0,0 +1,15 @@ +export var defaultCalendar = { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', +}; + +import isFunction from '../utils/is-function'; + +export function calendar(key, mom, now) { + var output = this._calendar[key] || this._calendar['sameElse']; + return isFunction(output) ? output.call(mom, now) : output; +} diff --git a/node_modules/moment/src/lib/locale/constructor.js b/node_modules/moment/src/lib/locale/constructor.js new file mode 100644 index 0000000..c32b73e --- /dev/null +++ b/node_modules/moment/src/lib/locale/constructor.js @@ -0,0 +1,5 @@ +export function Locale(config) { + if (config != null) { + this.set(config); + } +} diff --git a/node_modules/moment/src/lib/locale/en.js b/node_modules/moment/src/lib/locale/en.js new file mode 100644 index 0000000..22578a8 --- /dev/null +++ b/node_modules/moment/src/lib/locale/en.js @@ -0,0 +1,39 @@ +import './prototype'; +import { getSetGlobalLocale } from './locales'; +import toInt from '../utils/to-int'; + +getSetGlobalLocale('en', { + eras: [ + { + since: '0001-01-01', + until: +Infinity, + offset: 1, + name: 'Anno Domini', + narrow: 'AD', + abbr: 'AD', + }, + { + since: '0000-12-31', + until: -Infinity, + offset: 1, + name: 'Before Christ', + narrow: 'BC', + abbr: 'BC', + }, + ], + dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, + ordinal: function (number) { + var b = number % 10, + output = + toInt((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, +}); diff --git a/node_modules/moment/src/lib/locale/formats.js b/node_modules/moment/src/lib/locale/formats.js new file mode 100644 index 0000000..ea74837 --- /dev/null +++ b/node_modules/moment/src/lib/locale/formats.js @@ -0,0 +1,36 @@ +import { formattingTokens } from '../format/format'; + +export var defaultLongDateFormat = { + LTS: 'h:mm:ss A', + LT: 'h:mm A', + L: 'MM/DD/YYYY', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY h:mm A', + LLLL: 'dddd, MMMM D, YYYY h:mm A', +}; + +export function longDateFormat(key) { + var format = this._longDateFormat[key], + formatUpper = this._longDateFormat[key.toUpperCase()]; + + if (format || !formatUpper) { + return format; + } + + this._longDateFormat[key] = formatUpper + .match(formattingTokens) + .map(function (tok) { + if ( + tok === 'MMMM' || + tok === 'MM' || + tok === 'DD' || + tok === 'dddd' + ) { + return tok.slice(1); + } + return tok; + }) + .join(''); + + return this._longDateFormat[key]; +} diff --git a/node_modules/moment/src/lib/locale/invalid.js b/node_modules/moment/src/lib/locale/invalid.js new file mode 100644 index 0000000..baf1a86 --- /dev/null +++ b/node_modules/moment/src/lib/locale/invalid.js @@ -0,0 +1,5 @@ +export var defaultInvalidDate = 'Invalid date'; + +export function invalidDate() { + return this._invalidDate; +} diff --git a/node_modules/moment/src/lib/locale/lists.js b/node_modules/moment/src/lib/locale/lists.js new file mode 100644 index 0000000..9470d07 --- /dev/null +++ b/node_modules/moment/src/lib/locale/lists.js @@ -0,0 +1,93 @@ +import isNumber from '../utils/is-number'; +import { getLocale } from './locales'; +import { createUTC } from '../create/utc'; + +function get(format, index, field, setter) { + var locale = getLocale(), + utc = createUTC().set(setter, index); + return locale[field](utc, format); +} + +function listMonthsImpl(format, index, field) { + if (isNumber(format)) { + index = format; + format = undefined; + } + + format = format || ''; + + if (index != null) { + return get(format, index, field, 'month'); + } + + var i, + out = []; + for (i = 0; i < 12; i++) { + out[i] = get(format, i, field, 'month'); + } + return out; +} + +// () +// (5) +// (fmt, 5) +// (fmt) +// (true) +// (true, 5) +// (true, fmt, 5) +// (true, fmt) +function listWeekdaysImpl(localeSorted, format, index, field) { + if (typeof localeSorted === 'boolean') { + if (isNumber(format)) { + index = format; + format = undefined; + } + + format = format || ''; + } else { + format = localeSorted; + index = format; + localeSorted = false; + + if (isNumber(format)) { + index = format; + format = undefined; + } + + format = format || ''; + } + + var locale = getLocale(), + shift = localeSorted ? locale._week.dow : 0, + i, + out = []; + + if (index != null) { + return get(format, (index + shift) % 7, field, 'day'); + } + + for (i = 0; i < 7; i++) { + out[i] = get(format, (i + shift) % 7, field, 'day'); + } + return out; +} + +export function listMonths(format, index) { + return listMonthsImpl(format, index, 'months'); +} + +export function listMonthsShort(format, index) { + return listMonthsImpl(format, index, 'monthsShort'); +} + +export function listWeekdays(localeSorted, format, index) { + return listWeekdaysImpl(localeSorted, format, index, 'weekdays'); +} + +export function listWeekdaysShort(localeSorted, format, index) { + return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort'); +} + +export function listWeekdaysMin(localeSorted, format, index) { + return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin'); +} diff --git a/node_modules/moment/src/lib/locale/locale.js b/node_modules/moment/src/lib/locale/locale.js new file mode 100644 index 0000000..522e36d --- /dev/null +++ b/node_modules/moment/src/lib/locale/locale.js @@ -0,0 +1,45 @@ +// Side effect imports +import './prototype'; + +import { + getSetGlobalLocale, + defineLocale, + updateLocale, + getLocale, + listLocales, +} from './locales'; + +import { + listMonths, + listMonthsShort, + listWeekdays, + listWeekdaysShort, + listWeekdaysMin, +} from './lists'; + +export { + getSetGlobalLocale, + defineLocale, + updateLocale, + getLocale, + listLocales, + listMonths, + listMonthsShort, + listWeekdays, + listWeekdaysShort, + listWeekdaysMin, +}; + +import { deprecate } from '../utils/deprecate'; +import { hooks } from '../utils/hooks'; + +hooks.lang = deprecate( + 'moment.lang is deprecated. Use moment.locale instead.', + getSetGlobalLocale +); +hooks.langData = deprecate( + 'moment.langData is deprecated. Use moment.localeData instead.', + getLocale +); + +import './en'; diff --git a/node_modules/moment/src/lib/locale/locales.js b/node_modules/moment/src/lib/locale/locales.js new file mode 100644 index 0000000..721594a --- /dev/null +++ b/node_modules/moment/src/lib/locale/locales.js @@ -0,0 +1,249 @@ +import isArray from '../utils/is-array'; +import isUndefined from '../utils/is-undefined'; +import { deprecateSimple } from '../utils/deprecate'; +import { mergeConfigs } from './set'; +import { Locale } from './constructor'; +import keys from '../utils/keys'; + +import { baseConfig } from './base-config'; + +// internal storage for locale config files +var locales = {}, + localeFamilies = {}, + globalLocale; + +function commonPrefix(arr1, arr2) { + var i, + minl = Math.min(arr1.length, arr2.length); + for (i = 0; i < minl; i += 1) { + if (arr1[i] !== arr2[i]) { + return i; + } + } + return minl; +} + +function normalizeLocale(key) { + return key ? key.toLowerCase().replace('_', '-') : key; +} + +// pick the locale from the array +// try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each +// substring from most specific to least, but move to the next array item if it's a more specific variant than the current root +function chooseLocale(names) { + var i = 0, + j, + next, + locale, + split; + + while (i < names.length) { + split = normalizeLocale(names[i]).split('-'); + j = split.length; + next = normalizeLocale(names[i + 1]); + next = next ? next.split('-') : null; + while (j > 0) { + locale = loadLocale(split.slice(0, j).join('-')); + if (locale) { + return locale; + } + if ( + next && + next.length >= j && + commonPrefix(split, next) >= j - 1 + ) { + //the next array item is better than a shallower substring of this one + break; + } + j--; + } + i++; + } + return globalLocale; +} + +function isLocaleNameSane(name) { + // Prevent names that look like filesystem paths, i.e contain '/' or '\' + // Ensure name is available and function returns boolean + return !!(name && name.match('^[^/\\\\]*$')); +} + +function loadLocale(name) { + var oldLocale = null, + aliasedRequire; + // TODO: Find a better way to register and load all the locales in Node + if ( + locales[name] === undefined && + typeof module !== 'undefined' && + module && + module.exports && + isLocaleNameSane(name) + ) { + try { + oldLocale = globalLocale._abbr; + aliasedRequire = require; + aliasedRequire('./locale/' + name); + getSetGlobalLocale(oldLocale); + } catch (e) { + // mark as not found to avoid repeating expensive file require call causing high CPU + // when trying to find en-US, en_US, en-us for every format call + locales[name] = null; // null means not found + } + } + return locales[name]; +} + +// This function will load locale and then set the global locale. If +// no arguments are passed in, it will simply return the current global +// locale key. +export function getSetGlobalLocale(key, values) { + var data; + if (key) { + if (isUndefined(values)) { + data = getLocale(key); + } else { + data = defineLocale(key, values); + } + + if (data) { + // moment.duration._locale = moment._locale = data; + globalLocale = data; + } else { + if (typeof console !== 'undefined' && console.warn) { + //warn user if arguments are passed but the locale could not be set + console.warn( + 'Locale ' + key + ' not found. Did you forget to load it?' + ); + } + } + } + + return globalLocale._abbr; +} + +export function defineLocale(name, config) { + if (config !== null) { + var locale, + parentConfig = baseConfig; + config.abbr = name; + if (locales[name] != null) { + deprecateSimple( + 'defineLocaleOverride', + 'use moment.updateLocale(localeName, config) to change ' + + 'an existing locale. moment.defineLocale(localeName, ' + + 'config) should only be used for creating a new locale ' + + 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.' + ); + parentConfig = locales[name]._config; + } else if (config.parentLocale != null) { + if (locales[config.parentLocale] != null) { + parentConfig = locales[config.parentLocale]._config; + } else { + locale = loadLocale(config.parentLocale); + if (locale != null) { + parentConfig = locale._config; + } else { + if (!localeFamilies[config.parentLocale]) { + localeFamilies[config.parentLocale] = []; + } + localeFamilies[config.parentLocale].push({ + name: name, + config: config, + }); + return null; + } + } + } + locales[name] = new Locale(mergeConfigs(parentConfig, config)); + + if (localeFamilies[name]) { + localeFamilies[name].forEach(function (x) { + defineLocale(x.name, x.config); + }); + } + + // backwards compat for now: also set the locale + // make sure we set the locale AFTER all child locales have been + // created, so we won't end up with the child locale set. + getSetGlobalLocale(name); + + return locales[name]; + } else { + // useful for testing + delete locales[name]; + return null; + } +} + +export function updateLocale(name, config) { + if (config != null) { + var locale, + tmpLocale, + parentConfig = baseConfig; + + if (locales[name] != null && locales[name].parentLocale != null) { + // Update existing child locale in-place to avoid memory-leaks + locales[name].set(mergeConfigs(locales[name]._config, config)); + } else { + // MERGE + tmpLocale = loadLocale(name); + if (tmpLocale != null) { + parentConfig = tmpLocale._config; + } + config = mergeConfigs(parentConfig, config); + if (tmpLocale == null) { + // updateLocale is called for creating a new locale + // Set abbr so it will have a name (getters return + // undefined otherwise). + config.abbr = name; + } + locale = new Locale(config); + locale.parentLocale = locales[name]; + locales[name] = locale; + } + + // backwards compat for now: also set the locale + getSetGlobalLocale(name); + } else { + // pass null for config to unupdate, useful for tests + if (locales[name] != null) { + if (locales[name].parentLocale != null) { + locales[name] = locales[name].parentLocale; + if (name === getSetGlobalLocale()) { + getSetGlobalLocale(name); + } + } else if (locales[name] != null) { + delete locales[name]; + } + } + } + return locales[name]; +} + +// returns locale data +export function getLocale(key) { + var locale; + + if (key && key._locale && key._locale._abbr) { + key = key._locale._abbr; + } + + if (!key) { + return globalLocale; + } + + if (!isArray(key)) { + //short-circuit everything else + locale = loadLocale(key); + if (locale) { + return locale; + } + key = [key]; + } + + return chooseLocale(key); +} + +export function listLocales() { + return keys(locales); +} diff --git a/node_modules/moment/src/lib/locale/ordinal.js b/node_modules/moment/src/lib/locale/ordinal.js new file mode 100644 index 0000000..db44f33 --- /dev/null +++ b/node_modules/moment/src/lib/locale/ordinal.js @@ -0,0 +1,8 @@ +var defaultOrdinal = '%d', + defaultDayOfMonthOrdinalParse = /\d{1,2}/; + +export { defaultOrdinal, defaultDayOfMonthOrdinalParse }; + +export function ordinal(number) { + return this._ordinal.replace('%d', number); +} diff --git a/node_modules/moment/src/lib/locale/pre-post-format.js b/node_modules/moment/src/lib/locale/pre-post-format.js new file mode 100644 index 0000000..3551dba --- /dev/null +++ b/node_modules/moment/src/lib/locale/pre-post-format.js @@ -0,0 +1,3 @@ +export function preParsePostFormat(string) { + return string; +} diff --git a/node_modules/moment/src/lib/locale/prototype.js b/node_modules/moment/src/lib/locale/prototype.js new file mode 100644 index 0000000..2057f69 --- /dev/null +++ b/node_modules/moment/src/lib/locale/prototype.js @@ -0,0 +1,88 @@ +import { Locale } from './constructor'; + +var proto = Locale.prototype; + +import { calendar } from './calendar'; +import { longDateFormat } from './formats'; +import { invalidDate } from './invalid'; +import { ordinal } from './ordinal'; +import { preParsePostFormat } from './pre-post-format'; +import { relativeTime, pastFuture } from './relative'; +import { set } from './set'; + +proto.calendar = calendar; +proto.longDateFormat = longDateFormat; +proto.invalidDate = invalidDate; +proto.ordinal = ordinal; +proto.preparse = preParsePostFormat; +proto.postformat = preParsePostFormat; +proto.relativeTime = relativeTime; +proto.pastFuture = pastFuture; +proto.set = set; + +// Eras +import { + localeEras, + localeErasParse, + localeErasConvertYear, + erasAbbrRegex, + erasNameRegex, + erasNarrowRegex, +} from '../units/era'; +proto.eras = localeEras; +proto.erasParse = localeErasParse; +proto.erasConvertYear = localeErasConvertYear; +proto.erasAbbrRegex = erasAbbrRegex; +proto.erasNameRegex = erasNameRegex; +proto.erasNarrowRegex = erasNarrowRegex; + +// Month +import { + localeMonthsParse, + localeMonths, + localeMonthsShort, + monthsRegex, + monthsShortRegex, +} from '../units/month'; + +proto.months = localeMonths; +proto.monthsShort = localeMonthsShort; +proto.monthsParse = localeMonthsParse; +proto.monthsRegex = monthsRegex; +proto.monthsShortRegex = monthsShortRegex; + +// Week +import { + localeWeek, + localeFirstDayOfYear, + localeFirstDayOfWeek, +} from '../units/week'; +proto.week = localeWeek; +proto.firstDayOfYear = localeFirstDayOfYear; +proto.firstDayOfWeek = localeFirstDayOfWeek; + +// Day of Week +import { + localeWeekdaysParse, + localeWeekdays, + localeWeekdaysMin, + localeWeekdaysShort, + weekdaysRegex, + weekdaysShortRegex, + weekdaysMinRegex, +} from '../units/day-of-week'; + +proto.weekdays = localeWeekdays; +proto.weekdaysMin = localeWeekdaysMin; +proto.weekdaysShort = localeWeekdaysShort; +proto.weekdaysParse = localeWeekdaysParse; + +proto.weekdaysRegex = weekdaysRegex; +proto.weekdaysShortRegex = weekdaysShortRegex; +proto.weekdaysMinRegex = weekdaysMinRegex; + +// Hours +import { localeIsPM, localeMeridiem } from '../units/hour'; + +proto.isPM = localeIsPM; +proto.meridiem = localeMeridiem; diff --git a/node_modules/moment/src/lib/locale/relative.js b/node_modules/moment/src/lib/locale/relative.js new file mode 100644 index 0000000..8194045 --- /dev/null +++ b/node_modules/moment/src/lib/locale/relative.js @@ -0,0 +1,32 @@ +export var defaultRelativeTime = { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + w: 'a week', + ww: '%d weeks', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', +}; + +import isFunction from '../utils/is-function'; + +export function relativeTime(number, withoutSuffix, string, isFuture) { + var output = this._relativeTime[string]; + return isFunction(output) + ? output(number, withoutSuffix, string, isFuture) + : output.replace(/%d/i, number); +} + +export function pastFuture(diff, output) { + var format = this._relativeTime[diff > 0 ? 'future' : 'past']; + return isFunction(format) ? format(output) : format.replace(/%s/i, output); +} diff --git a/node_modules/moment/src/lib/locale/set.js b/node_modules/moment/src/lib/locale/set.js new file mode 100644 index 0000000..3b069de --- /dev/null +++ b/node_modules/moment/src/lib/locale/set.js @@ -0,0 +1,56 @@ +import isFunction from '../utils/is-function'; +import extend from '../utils/extend'; +import isObject from '../utils/is-object'; +import hasOwnProp from '../utils/has-own-prop'; + +export function set(config) { + var prop, i; + for (i in config) { + if (hasOwnProp(config, i)) { + prop = config[i]; + if (isFunction(prop)) { + this[i] = prop; + } else { + this['_' + i] = prop; + } + } + } + this._config = config; + // Lenient ordinal parsing accepts just a number in addition to + // number + (possibly) stuff coming from _dayOfMonthOrdinalParse. + // TODO: Remove "ordinalParse" fallback in next major release. + this._dayOfMonthOrdinalParseLenient = new RegExp( + (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + + '|' + + /\d{1,2}/.source + ); +} + +export function mergeConfigs(parentConfig, childConfig) { + var res = extend({}, parentConfig), + prop; + for (prop in childConfig) { + if (hasOwnProp(childConfig, prop)) { + if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) { + res[prop] = {}; + extend(res[prop], parentConfig[prop]); + extend(res[prop], childConfig[prop]); + } else if (childConfig[prop] != null) { + res[prop] = childConfig[prop]; + } else { + delete res[prop]; + } + } + } + for (prop in parentConfig) { + if ( + hasOwnProp(parentConfig, prop) && + !hasOwnProp(childConfig, prop) && + isObject(parentConfig[prop]) + ) { + // make sure changes to properties don't modify parent config + res[prop] = extend({}, res[prop]); + } + } + return res; +} diff --git a/node_modules/moment/src/lib/moment/add-subtract.js b/node_modules/moment/src/lib/moment/add-subtract.js new file mode 100644 index 0000000..6e7cf22 --- /dev/null +++ b/node_modules/moment/src/lib/moment/add-subtract.js @@ -0,0 +1,61 @@ +import { get, set } from './get-set'; +import { setMonth } from '../units/month'; +import { createDuration } from '../duration/create'; +import { deprecateSimple } from '../utils/deprecate'; +import { hooks } from '../utils/hooks'; +import absRound from '../utils/abs-round'; + +// TODO: remove 'name' arg after deprecation is removed +function createAdder(direction, name) { + return function (val, period) { + var dur, tmp; + //invert the arguments, but complain about it + if (period !== null && !isNaN(+period)) { + deprecateSimple( + name, + 'moment().' + + name + + '(period, number) is deprecated. Please use moment().' + + name + + '(number, period). ' + + 'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.' + ); + tmp = val; + val = period; + period = tmp; + } + + dur = createDuration(val, period); + addSubtract(this, dur, direction); + return this; + }; +} + +export function addSubtract(mom, duration, isAdding, updateOffset) { + var milliseconds = duration._milliseconds, + days = absRound(duration._days), + months = absRound(duration._months); + + if (!mom.isValid()) { + // No op + return; + } + + updateOffset = updateOffset == null ? true : updateOffset; + + if (months) { + setMonth(mom, get(mom, 'Month') + months * isAdding); + } + if (days) { + set(mom, 'Date', get(mom, 'Date') + days * isAdding); + } + if (milliseconds) { + mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding); + } + if (updateOffset) { + hooks.updateOffset(mom, days || months); + } +} + +export var add = createAdder(1, 'add'), + subtract = createAdder(-1, 'subtract'); diff --git a/node_modules/moment/src/lib/moment/calendar.js b/node_modules/moment/src/lib/moment/calendar.js new file mode 100644 index 0000000..7b45d4e --- /dev/null +++ b/node_modules/moment/src/lib/moment/calendar.js @@ -0,0 +1,53 @@ +import { createLocal } from '../create/local'; +import { cloneWithOffset } from '../units/offset'; +import isFunction from '../utils/is-function'; +import { hooks } from '../utils/hooks'; +import { isMomentInput } from '../utils/is-moment-input'; +import isCalendarSpec from '../utils/is-calendar-spec'; + +export function getCalendarFormat(myMoment, now) { + var diff = myMoment.diff(now, 'days', true); + return diff < -6 + ? 'sameElse' + : diff < -1 + ? 'lastWeek' + : diff < 0 + ? 'lastDay' + : diff < 1 + ? 'sameDay' + : diff < 2 + ? 'nextDay' + : diff < 7 + ? 'nextWeek' + : 'sameElse'; +} + +export function calendar(time, formats) { + // Support for single parameter, formats only overload to the calendar function + if (arguments.length === 1) { + if (!arguments[0]) { + time = undefined; + formats = undefined; + } else if (isMomentInput(arguments[0])) { + time = arguments[0]; + formats = undefined; + } else if (isCalendarSpec(arguments[0])) { + formats = arguments[0]; + time = undefined; + } + } + // We want to compare the start of today, vs this. + // Getting start-of-today depends on whether we're local/utc/offset or not. + var now = time || createLocal(), + sod = cloneWithOffset(now, this).startOf('day'), + format = hooks.calendarFormat(this, sod) || 'sameElse', + output = + formats && + (isFunction(formats[format]) + ? formats[format].call(this, now) + : formats[format]); + + return this.format( + output || this.localeData().calendar(format, this, createLocal(now)) + ); +} diff --git a/node_modules/moment/src/lib/moment/clone.js b/node_modules/moment/src/lib/moment/clone.js new file mode 100644 index 0000000..de77c12 --- /dev/null +++ b/node_modules/moment/src/lib/moment/clone.js @@ -0,0 +1,5 @@ +import { Moment } from './constructor'; + +export function clone() { + return new Moment(this); +} diff --git a/node_modules/moment/src/lib/moment/compare.js b/node_modules/moment/src/lib/moment/compare.js new file mode 100644 index 0000000..3f66d77 --- /dev/null +++ b/node_modules/moment/src/lib/moment/compare.js @@ -0,0 +1,72 @@ +import { isMoment } from './constructor'; +import { normalizeUnits } from '../units/aliases'; +import { createLocal } from '../create/local'; + +export function isAfter(input, units) { + var localInput = isMoment(input) ? input : createLocal(input); + if (!(this.isValid() && localInput.isValid())) { + return false; + } + units = normalizeUnits(units) || 'millisecond'; + if (units === 'millisecond') { + return this.valueOf() > localInput.valueOf(); + } else { + return localInput.valueOf() < this.clone().startOf(units).valueOf(); + } +} + +export function isBefore(input, units) { + var localInput = isMoment(input) ? input : createLocal(input); + if (!(this.isValid() && localInput.isValid())) { + return false; + } + units = normalizeUnits(units) || 'millisecond'; + if (units === 'millisecond') { + return this.valueOf() < localInput.valueOf(); + } else { + return this.clone().endOf(units).valueOf() < localInput.valueOf(); + } +} + +export function isBetween(from, to, units, inclusivity) { + var localFrom = isMoment(from) ? from : createLocal(from), + localTo = isMoment(to) ? to : createLocal(to); + if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) { + return false; + } + inclusivity = inclusivity || '()'; + return ( + (inclusivity[0] === '(' + ? this.isAfter(localFrom, units) + : !this.isBefore(localFrom, units)) && + (inclusivity[1] === ')' + ? this.isBefore(localTo, units) + : !this.isAfter(localTo, units)) + ); +} + +export function isSame(input, units) { + var localInput = isMoment(input) ? input : createLocal(input), + inputMs; + if (!(this.isValid() && localInput.isValid())) { + return false; + } + units = normalizeUnits(units) || 'millisecond'; + if (units === 'millisecond') { + return this.valueOf() === localInput.valueOf(); + } else { + inputMs = localInput.valueOf(); + return ( + this.clone().startOf(units).valueOf() <= inputMs && + inputMs <= this.clone().endOf(units).valueOf() + ); + } +} + +export function isSameOrAfter(input, units) { + return this.isSame(input, units) || this.isAfter(input, units); +} + +export function isSameOrBefore(input, units) { + return this.isSame(input, units) || this.isBefore(input, units); +} diff --git a/node_modules/moment/src/lib/moment/constructor.js b/node_modules/moment/src/lib/moment/constructor.js new file mode 100644 index 0000000..b86de8b --- /dev/null +++ b/node_modules/moment/src/lib/moment/constructor.js @@ -0,0 +1,80 @@ +import { hooks } from '../utils/hooks'; +import isUndefined from '../utils/is-undefined'; +import getParsingFlags from '../create/parsing-flags'; + +// Plugins that add properties should also add the key here (null value), +// so we can properly clone ourselves. +var momentProperties = (hooks.momentProperties = []), + updateInProgress = false; + +export function copyConfig(to, from) { + var i, + prop, + val, + momentPropertiesLen = momentProperties.length; + + if (!isUndefined(from._isAMomentObject)) { + to._isAMomentObject = from._isAMomentObject; + } + if (!isUndefined(from._i)) { + to._i = from._i; + } + if (!isUndefined(from._f)) { + to._f = from._f; + } + if (!isUndefined(from._l)) { + to._l = from._l; + } + if (!isUndefined(from._strict)) { + to._strict = from._strict; + } + if (!isUndefined(from._tzm)) { + to._tzm = from._tzm; + } + if (!isUndefined(from._isUTC)) { + to._isUTC = from._isUTC; + } + if (!isUndefined(from._offset)) { + to._offset = from._offset; + } + if (!isUndefined(from._pf)) { + to._pf = getParsingFlags(from); + } + if (!isUndefined(from._locale)) { + to._locale = from._locale; + } + + if (momentPropertiesLen > 0) { + for (i = 0; i < momentPropertiesLen; i++) { + prop = momentProperties[i]; + val = from[prop]; + if (!isUndefined(val)) { + to[prop] = val; + } + } + } + + return to; +} + +// Moment prototype object +export function Moment(config) { + copyConfig(this, config); + this._d = new Date(config._d != null ? config._d.getTime() : NaN); + if (!this.isValid()) { + this._d = new Date(NaN); + } + // Prevent infinite loop in case updateOffset creates new moment + // objects. + if (updateInProgress === false) { + updateInProgress = true; + hooks.updateOffset(this); + updateInProgress = false; + } +} + +export function isMoment(obj) { + return ( + obj instanceof Moment || (obj != null && obj._isAMomentObject != null) + ); +} diff --git a/node_modules/moment/src/lib/moment/creation-data.js b/node_modules/moment/src/lib/moment/creation-data.js new file mode 100644 index 0000000..6643c44 --- /dev/null +++ b/node_modules/moment/src/lib/moment/creation-data.js @@ -0,0 +1,9 @@ +export function creationData() { + return { + input: this._i, + format: this._f, + locale: this._locale, + isUTC: this._isUTC, + strict: this._strict, + }; +} diff --git a/node_modules/moment/src/lib/moment/diff.js b/node_modules/moment/src/lib/moment/diff.js new file mode 100644 index 0000000..5157318 --- /dev/null +++ b/node_modules/moment/src/lib/moment/diff.js @@ -0,0 +1,79 @@ +import absFloor from '../utils/abs-floor'; +import { cloneWithOffset } from '../units/offset'; +import { normalizeUnits } from '../units/aliases'; + +export function diff(input, units, asFloat) { + var that, zoneDelta, output; + + if (!this.isValid()) { + return NaN; + } + + that = cloneWithOffset(input, this); + + if (!that.isValid()) { + return NaN; + } + + zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4; + + units = normalizeUnits(units); + + switch (units) { + case 'year': + output = monthDiff(this, that) / 12; + break; + case 'month': + output = monthDiff(this, that); + break; + case 'quarter': + output = monthDiff(this, that) / 3; + break; + case 'second': + output = (this - that) / 1e3; + break; // 1000 + case 'minute': + output = (this - that) / 6e4; + break; // 1000 * 60 + case 'hour': + output = (this - that) / 36e5; + break; // 1000 * 60 * 60 + case 'day': + output = (this - that - zoneDelta) / 864e5; + break; // 1000 * 60 * 60 * 24, negate dst + case 'week': + output = (this - that - zoneDelta) / 6048e5; + break; // 1000 * 60 * 60 * 24 * 7, negate dst + default: + output = this - that; + } + + return asFloat ? output : absFloor(output); +} + +function monthDiff(a, b) { + if (a.date() < b.date()) { + // end-of-month calculations work correct when the start month has more + // days than the end month. + return -monthDiff(b, a); + } + // difference in months + var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()), + // b is in (anchor - 1 month, anchor + 1 month) + anchor = a.clone().add(wholeMonthDiff, 'months'), + anchor2, + adjust; + + if (b - anchor < 0) { + anchor2 = a.clone().add(wholeMonthDiff - 1, 'months'); + // linear across the month + adjust = (b - anchor) / (anchor - anchor2); + } else { + anchor2 = a.clone().add(wholeMonthDiff + 1, 'months'); + // linear across the month + adjust = (b - anchor) / (anchor2 - anchor); + } + + //check for negative zero, return zero if negative zero + return -(wholeMonthDiff + adjust) || 0; +} diff --git a/node_modules/moment/src/lib/moment/format.js b/node_modules/moment/src/lib/moment/format.js new file mode 100644 index 0000000..9a3592a --- /dev/null +++ b/node_modules/moment/src/lib/moment/format.js @@ -0,0 +1,78 @@ +import { formatMoment } from '../format/format'; +import { hooks } from '../utils/hooks'; +import isFunction from '../utils/is-function'; + +hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ'; +hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]'; + +export function toString() { + return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ'); +} + +export function toISOString(keepOffset) { + if (!this.isValid()) { + return null; + } + var utc = keepOffset !== true, + m = utc ? this.clone().utc() : this; + if (m.year() < 0 || m.year() > 9999) { + return formatMoment( + m, + utc + ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]' + : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ' + ); + } + if (isFunction(Date.prototype.toISOString)) { + // native implementation is ~50x faster, use it when we can + if (utc) { + return this.toDate().toISOString(); + } else { + return new Date(this.valueOf() + this.utcOffset() * 60 * 1000) + .toISOString() + .replace('Z', formatMoment(m, 'Z')); + } + } + return formatMoment( + m, + utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ' + ); +} + +/** + * Return a human readable representation of a moment that can + * also be evaluated to get a new moment which is the same + * + * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects + */ +export function inspect() { + if (!this.isValid()) { + return 'moment.invalid(/* ' + this._i + ' */)'; + } + var func = 'moment', + zone = '', + prefix, + year, + datetime, + suffix; + if (!this.isLocal()) { + func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone'; + zone = 'Z'; + } + prefix = '[' + func + '("]'; + year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY'; + datetime = '-MM-DD[T]HH:mm:ss.SSS'; + suffix = zone + '[")]'; + + return this.format(prefix + year + datetime + suffix); +} + +export function format(inputString) { + if (!inputString) { + inputString = this.isUtc() + ? hooks.defaultFormatUtc + : hooks.defaultFormat; + } + var output = formatMoment(this, inputString); + return this.localeData().postformat(output); +} diff --git a/node_modules/moment/src/lib/moment/from.js b/node_modules/moment/src/lib/moment/from.js new file mode 100644 index 0000000..5db72aa --- /dev/null +++ b/node_modules/moment/src/lib/moment/from.js @@ -0,0 +1,20 @@ +import { createDuration } from '../duration/create'; +import { createLocal } from '../create/local'; +import { isMoment } from '../moment/constructor'; + +export function from(time, withoutSuffix) { + if ( + this.isValid() && + ((isMoment(time) && time.isValid()) || createLocal(time).isValid()) + ) { + return createDuration({ to: this, from: time }) + .locale(this.locale()) + .humanize(!withoutSuffix); + } else { + return this.localeData().invalidDate(); + } +} + +export function fromNow(withoutSuffix) { + return this.from(createLocal(), withoutSuffix); +} diff --git a/node_modules/moment/src/lib/moment/get-set.js b/node_modules/moment/src/lib/moment/get-set.js new file mode 100644 index 0000000..526740f --- /dev/null +++ b/node_modules/moment/src/lib/moment/get-set.js @@ -0,0 +1,117 @@ +import { normalizeUnits, normalizeObjectUnits } from '../units/aliases'; +import { getPrioritizedUnits } from '../units/priorities'; +import { hooks } from '../utils/hooks'; +import isFunction from '../utils/is-function'; +import { isLeapYear } from '../units/year'; + +export function makeGetSet(unit, keepTime) { + return function (value) { + if (value != null) { + set(this, unit, value); + hooks.updateOffset(this, keepTime); + return this; + } else { + return get(this, unit); + } + }; +} + +export function get(mom, unit) { + if (!mom.isValid()) { + return NaN; + } + + var d = mom._d, + isUTC = mom._isUTC; + + switch (unit) { + case 'Milliseconds': + return isUTC ? d.getUTCMilliseconds() : d.getMilliseconds(); + case 'Seconds': + return isUTC ? d.getUTCSeconds() : d.getSeconds(); + case 'Minutes': + return isUTC ? d.getUTCMinutes() : d.getMinutes(); + case 'Hours': + return isUTC ? d.getUTCHours() : d.getHours(); + case 'Date': + return isUTC ? d.getUTCDate() : d.getDate(); + case 'Day': + return isUTC ? d.getUTCDay() : d.getDay(); + case 'Month': + return isUTC ? d.getUTCMonth() : d.getMonth(); + case 'FullYear': + return isUTC ? d.getUTCFullYear() : d.getFullYear(); + default: + return NaN; // Just in case + } +} + +export function set(mom, unit, value) { + var d, isUTC, year, month, date; + + if (!mom.isValid() || isNaN(value)) { + return; + } + + d = mom._d; + isUTC = mom._isUTC; + + switch (unit) { + case 'Milliseconds': + return void (isUTC + ? d.setUTCMilliseconds(value) + : d.setMilliseconds(value)); + case 'Seconds': + return void (isUTC ? d.setUTCSeconds(value) : d.setSeconds(value)); + case 'Minutes': + return void (isUTC ? d.setUTCMinutes(value) : d.setMinutes(value)); + case 'Hours': + return void (isUTC ? d.setUTCHours(value) : d.setHours(value)); + case 'Date': + return void (isUTC ? d.setUTCDate(value) : d.setDate(value)); + // case 'Day': // Not real + // return void (isUTC ? d.setUTCDay(value) : d.setDay(value)); + // case 'Month': // Not used because we need to pass two variables + // return void (isUTC ? d.setUTCMonth(value) : d.setMonth(value)); + case 'FullYear': + break; // See below ... + default: + return; // Just in case + } + + year = value; + month = mom.month(); + date = mom.date(); + date = date === 29 && month === 1 && !isLeapYear(year) ? 28 : date; + void (isUTC + ? d.setUTCFullYear(year, month, date) + : d.setFullYear(year, month, date)); +} + +// MOMENTS + +export function stringGet(units) { + units = normalizeUnits(units); + if (isFunction(this[units])) { + return this[units](); + } + return this; +} + +export function stringSet(units, value) { + if (typeof units === 'object') { + units = normalizeObjectUnits(units); + var prioritized = getPrioritizedUnits(units), + i, + prioritizedLen = prioritized.length; + for (i = 0; i < prioritizedLen; i++) { + this[prioritized[i].unit](units[prioritized[i].unit]); + } + } else { + units = normalizeUnits(units); + if (isFunction(this[units])) { + return this[units](value); + } + } + return this; +} diff --git a/node_modules/moment/src/lib/moment/locale.js b/node_modules/moment/src/lib/moment/locale.js new file mode 100644 index 0000000..3c62113 --- /dev/null +++ b/node_modules/moment/src/lib/moment/locale.js @@ -0,0 +1,34 @@ +import { getLocale } from '../locale/locales'; +import { deprecate } from '../utils/deprecate'; + +// If passed a locale key, it will set the locale for this +// instance. Otherwise, it will return the locale configuration +// variables for this instance. +export function locale(key) { + var newLocaleData; + + if (key === undefined) { + return this._locale._abbr; + } else { + newLocaleData = getLocale(key); + if (newLocaleData != null) { + this._locale = newLocaleData; + } + return this; + } +} + +export var lang = deprecate( + 'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.', + function (key) { + if (key === undefined) { + return this.localeData(); + } else { + return this.locale(key); + } + } +); + +export function localeData() { + return this._locale; +} diff --git a/node_modules/moment/src/lib/moment/min-max.js b/node_modules/moment/src/lib/moment/min-max.js new file mode 100644 index 0000000..2ea8955 --- /dev/null +++ b/node_modules/moment/src/lib/moment/min-max.js @@ -0,0 +1,62 @@ +import { deprecate } from '../utils/deprecate'; +import isArray from '../utils/is-array'; +import { createLocal } from '../create/local'; +import { createInvalid } from '../create/valid'; + +export var prototypeMin = deprecate( + 'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', + function () { + var other = createLocal.apply(null, arguments); + if (this.isValid() && other.isValid()) { + return other < this ? this : other; + } else { + return createInvalid(); + } + } + ), + prototypeMax = deprecate( + 'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', + function () { + var other = createLocal.apply(null, arguments); + if (this.isValid() && other.isValid()) { + return other > this ? this : other; + } else { + return createInvalid(); + } + } + ); + +// Pick a moment m from moments so that m[fn](other) is true for all +// other. This relies on the function fn to be transitive. +// +// moments should either be an array of moment objects or an array, whose +// first element is an array of moment objects. +function pickBy(fn, moments) { + var res, i; + if (moments.length === 1 && isArray(moments[0])) { + moments = moments[0]; + } + if (!moments.length) { + return createLocal(); + } + res = moments[0]; + for (i = 1; i < moments.length; ++i) { + if (!moments[i].isValid() || moments[i][fn](res)) { + res = moments[i]; + } + } + return res; +} + +// TODO: Use [].sort instead? +export function min() { + var args = [].slice.call(arguments, 0); + + return pickBy('isBefore', args); +} + +export function max() { + var args = [].slice.call(arguments, 0); + + return pickBy('isAfter', args); +} diff --git a/node_modules/moment/src/lib/moment/moment.js b/node_modules/moment/src/lib/moment/moment.js new file mode 100644 index 0000000..f369d08 --- /dev/null +++ b/node_modules/moment/src/lib/moment/moment.js @@ -0,0 +1,28 @@ +import { createLocal } from '../create/local'; +import { createUTC } from '../create/utc'; +import { createInvalid } from '../create/valid'; +import { isMoment } from './constructor'; +import { min, max } from './min-max'; +import { now } from './now'; +import momentPrototype from './prototype'; + +function createUnix(input) { + return createLocal(input * 1000); +} + +function createInZone() { + return createLocal.apply(null, arguments).parseZone(); +} + +export { + now, + min, + max, + isMoment, + createUTC, + createUnix, + createLocal, + createInZone, + createInvalid, + momentPrototype, +}; diff --git a/node_modules/moment/src/lib/moment/now.js b/node_modules/moment/src/lib/moment/now.js new file mode 100644 index 0000000..9bef276 --- /dev/null +++ b/node_modules/moment/src/lib/moment/now.js @@ -0,0 +1,3 @@ +export var now = function () { + return Date.now ? Date.now() : +new Date(); +}; diff --git a/node_modules/moment/src/lib/moment/prototype.js b/node_modules/moment/src/lib/moment/prototype.js new file mode 100644 index 0000000..b4565ab --- /dev/null +++ b/node_modules/moment/src/lib/moment/prototype.js @@ -0,0 +1,197 @@ +import { Moment } from './constructor'; + +var proto = Moment.prototype; + +import { add, subtract } from './add-subtract'; +import { calendar } from './calendar'; +import { clone } from './clone'; +import { + isBefore, + isBetween, + isSame, + isAfter, + isSameOrAfter, + isSameOrBefore, +} from './compare'; +import { diff } from './diff'; +import { format, toString, toISOString, inspect } from './format'; +import { from, fromNow } from './from'; +import { to, toNow } from './to'; +import { stringGet, stringSet } from './get-set'; +import { locale, localeData, lang } from './locale'; +import { prototypeMin, prototypeMax } from './min-max'; +import { startOf, endOf } from './start-end-of'; +import { valueOf, toDate, toArray, toObject, toJSON, unix } from './to-type'; +import { isValid, parsingFlags, invalidAt } from './valid'; +import { creationData } from './creation-data'; + +proto.add = add; +proto.calendar = calendar; +proto.clone = clone; +proto.diff = diff; +proto.endOf = endOf; +proto.format = format; +proto.from = from; +proto.fromNow = fromNow; +proto.to = to; +proto.toNow = toNow; +proto.get = stringGet; +proto.invalidAt = invalidAt; +proto.isAfter = isAfter; +proto.isBefore = isBefore; +proto.isBetween = isBetween; +proto.isSame = isSame; +proto.isSameOrAfter = isSameOrAfter; +proto.isSameOrBefore = isSameOrBefore; +proto.isValid = isValid; +proto.lang = lang; +proto.locale = locale; +proto.localeData = localeData; +proto.max = prototypeMax; +proto.min = prototypeMin; +proto.parsingFlags = parsingFlags; +proto.set = stringSet; +proto.startOf = startOf; +proto.subtract = subtract; +proto.toArray = toArray; +proto.toObject = toObject; +proto.toDate = toDate; +proto.toISOString = toISOString; +proto.inspect = inspect; +if (typeof Symbol !== 'undefined' && Symbol.for != null) { + proto[Symbol.for('nodejs.util.inspect.custom')] = function () { + return 'Moment<' + this.format() + '>'; + }; +} +proto.toJSON = toJSON; +proto.toString = toString; +proto.unix = unix; +proto.valueOf = valueOf; +proto.creationData = creationData; + +// Era +import { getEraName, getEraNarrow, getEraAbbr, getEraYear } from '../units/era'; +proto.eraName = getEraName; +proto.eraNarrow = getEraNarrow; +proto.eraAbbr = getEraAbbr; +proto.eraYear = getEraYear; + +// Year +import { getSetYear, getIsLeapYear } from '../units/year'; +proto.year = getSetYear; +proto.isLeapYear = getIsLeapYear; + +// Week Year +import { + getSetWeekYear, + getSetISOWeekYear, + getWeeksInYear, + getWeeksInWeekYear, + getISOWeeksInYear, + getISOWeeksInISOWeekYear, +} from '../units/week-year'; +proto.weekYear = getSetWeekYear; +proto.isoWeekYear = getSetISOWeekYear; + +// Quarter +import { getSetQuarter } from '../units/quarter'; +proto.quarter = proto.quarters = getSetQuarter; + +// Month +import { getSetMonth, getDaysInMonth } from '../units/month'; +proto.month = getSetMonth; +proto.daysInMonth = getDaysInMonth; + +// Week +import { getSetWeek, getSetISOWeek } from '../units/week'; +proto.week = proto.weeks = getSetWeek; +proto.isoWeek = proto.isoWeeks = getSetISOWeek; +proto.weeksInYear = getWeeksInYear; +proto.weeksInWeekYear = getWeeksInWeekYear; +proto.isoWeeksInYear = getISOWeeksInYear; +proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear; + +// Day +import { getSetDayOfMonth } from '../units/day-of-month'; +import { + getSetDayOfWeek, + getSetISODayOfWeek, + getSetLocaleDayOfWeek, +} from '../units/day-of-week'; +import { getSetDayOfYear } from '../units/day-of-year'; +proto.date = getSetDayOfMonth; +proto.day = proto.days = getSetDayOfWeek; +proto.weekday = getSetLocaleDayOfWeek; +proto.isoWeekday = getSetISODayOfWeek; +proto.dayOfYear = getSetDayOfYear; + +// Hour +import { getSetHour } from '../units/hour'; +proto.hour = proto.hours = getSetHour; + +// Minute +import { getSetMinute } from '../units/minute'; +proto.minute = proto.minutes = getSetMinute; + +// Second +import { getSetSecond } from '../units/second'; +proto.second = proto.seconds = getSetSecond; + +// Millisecond +import { getSetMillisecond } from '../units/millisecond'; +proto.millisecond = proto.milliseconds = getSetMillisecond; + +// Offset +import { + getSetOffset, + setOffsetToUTC, + setOffsetToLocal, + setOffsetToParsedOffset, + hasAlignedHourOffset, + isDaylightSavingTime, + isDaylightSavingTimeShifted, + getSetZone, + isLocal, + isUtcOffset, + isUtc, +} from '../units/offset'; +proto.utcOffset = getSetOffset; +proto.utc = setOffsetToUTC; +proto.local = setOffsetToLocal; +proto.parseZone = setOffsetToParsedOffset; +proto.hasAlignedHourOffset = hasAlignedHourOffset; +proto.isDST = isDaylightSavingTime; +proto.isLocal = isLocal; +proto.isUtcOffset = isUtcOffset; +proto.isUtc = isUtc; +proto.isUTC = isUtc; + +// Timezone +import { getZoneAbbr, getZoneName } from '../units/timezone'; +proto.zoneAbbr = getZoneAbbr; +proto.zoneName = getZoneName; + +// Deprecations +import { deprecate } from '../utils/deprecate'; +proto.dates = deprecate( + 'dates accessor is deprecated. Use date instead.', + getSetDayOfMonth +); +proto.months = deprecate( + 'months accessor is deprecated. Use month instead', + getSetMonth +); +proto.years = deprecate( + 'years accessor is deprecated. Use year instead', + getSetYear +); +proto.zone = deprecate( + 'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', + getSetZone +); +proto.isDSTShifted = deprecate( + 'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', + isDaylightSavingTimeShifted +); + +export default proto; diff --git a/node_modules/moment/src/lib/moment/start-end-of.js b/node_modules/moment/src/lib/moment/start-end-of.js new file mode 100644 index 0000000..cbb301f --- /dev/null +++ b/node_modules/moment/src/lib/moment/start-end-of.js @@ -0,0 +1,164 @@ +import { normalizeUnits } from '../units/aliases'; +import { hooks } from '../utils/hooks'; + +var MS_PER_SECOND = 1000, + MS_PER_MINUTE = 60 * MS_PER_SECOND, + MS_PER_HOUR = 60 * MS_PER_MINUTE, + MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR; + +// actual modulo - handles negative numbers (for dates before 1970): +function mod(dividend, divisor) { + return ((dividend % divisor) + divisor) % divisor; +} + +function localStartOfDate(y, m, d) { + // the date constructor remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0) { + // preserve leap years using a full 400 year cycle, then reset + return new Date(y + 400, m, d) - MS_PER_400_YEARS; + } else { + return new Date(y, m, d).valueOf(); + } +} + +function utcStartOfDate(y, m, d) { + // Date.UTC remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0) { + // preserve leap years using a full 400 year cycle, then reset + return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS; + } else { + return Date.UTC(y, m, d); + } +} + +export function startOf(units) { + var time, startOfDate; + units = normalizeUnits(units); + if (units === undefined || units === 'millisecond' || !this.isValid()) { + return this; + } + + startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate; + + switch (units) { + case 'year': + time = startOfDate(this.year(), 0, 1); + break; + case 'quarter': + time = startOfDate( + this.year(), + this.month() - (this.month() % 3), + 1 + ); + break; + case 'month': + time = startOfDate(this.year(), this.month(), 1); + break; + case 'week': + time = startOfDate( + this.year(), + this.month(), + this.date() - this.weekday() + ); + break; + case 'isoWeek': + time = startOfDate( + this.year(), + this.month(), + this.date() - (this.isoWeekday() - 1) + ); + break; + case 'day': + case 'date': + time = startOfDate(this.year(), this.month(), this.date()); + break; + case 'hour': + time = this._d.valueOf(); + time -= mod( + time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), + MS_PER_HOUR + ); + break; + case 'minute': + time = this._d.valueOf(); + time -= mod(time, MS_PER_MINUTE); + break; + case 'second': + time = this._d.valueOf(); + time -= mod(time, MS_PER_SECOND); + break; + } + + this._d.setTime(time); + hooks.updateOffset(this, true); + return this; +} + +export function endOf(units) { + var time, startOfDate; + units = normalizeUnits(units); + if (units === undefined || units === 'millisecond' || !this.isValid()) { + return this; + } + + startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate; + + switch (units) { + case 'year': + time = startOfDate(this.year() + 1, 0, 1) - 1; + break; + case 'quarter': + time = + startOfDate( + this.year(), + this.month() - (this.month() % 3) + 3, + 1 + ) - 1; + break; + case 'month': + time = startOfDate(this.year(), this.month() + 1, 1) - 1; + break; + case 'week': + time = + startOfDate( + this.year(), + this.month(), + this.date() - this.weekday() + 7 + ) - 1; + break; + case 'isoWeek': + time = + startOfDate( + this.year(), + this.month(), + this.date() - (this.isoWeekday() - 1) + 7 + ) - 1; + break; + case 'day': + case 'date': + time = startOfDate(this.year(), this.month(), this.date() + 1) - 1; + break; + case 'hour': + time = this._d.valueOf(); + time += + MS_PER_HOUR - + mod( + time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), + MS_PER_HOUR + ) - + 1; + break; + case 'minute': + time = this._d.valueOf(); + time += MS_PER_MINUTE - mod(time, MS_PER_MINUTE) - 1; + break; + case 'second': + time = this._d.valueOf(); + time += MS_PER_SECOND - mod(time, MS_PER_SECOND) - 1; + break; + } + + this._d.setTime(time); + hooks.updateOffset(this, true); + return this; +} diff --git a/node_modules/moment/src/lib/moment/to-type.js b/node_modules/moment/src/lib/moment/to-type.js new file mode 100644 index 0000000..1eef5c8 --- /dev/null +++ b/node_modules/moment/src/lib/moment/to-type.js @@ -0,0 +1,42 @@ +export function valueOf() { + return this._d.valueOf() - (this._offset || 0) * 60000; +} + +export function unix() { + return Math.floor(this.valueOf() / 1000); +} + +export function toDate() { + return new Date(this.valueOf()); +} + +export function toArray() { + var m = this; + return [ + m.year(), + m.month(), + m.date(), + m.hour(), + m.minute(), + m.second(), + m.millisecond(), + ]; +} + +export function toObject() { + var m = this; + return { + years: m.year(), + months: m.month(), + date: m.date(), + hours: m.hours(), + minutes: m.minutes(), + seconds: m.seconds(), + milliseconds: m.milliseconds(), + }; +} + +export function toJSON() { + // new Date(NaN).toJSON() === null + return this.isValid() ? this.toISOString() : null; +} diff --git a/node_modules/moment/src/lib/moment/to.js b/node_modules/moment/src/lib/moment/to.js new file mode 100644 index 0000000..073a3d1 --- /dev/null +++ b/node_modules/moment/src/lib/moment/to.js @@ -0,0 +1,20 @@ +import { createDuration } from '../duration/create'; +import { createLocal } from '../create/local'; +import { isMoment } from '../moment/constructor'; + +export function to(time, withoutSuffix) { + if ( + this.isValid() && + ((isMoment(time) && time.isValid()) || createLocal(time).isValid()) + ) { + return createDuration({ from: this, to: time }) + .locale(this.locale()) + .humanize(!withoutSuffix); + } else { + return this.localeData().invalidDate(); + } +} + +export function toNow(withoutSuffix) { + return this.to(createLocal(), withoutSuffix); +} diff --git a/node_modules/moment/src/lib/moment/valid.js b/node_modules/moment/src/lib/moment/valid.js new file mode 100644 index 0000000..7a7e1b9 --- /dev/null +++ b/node_modules/moment/src/lib/moment/valid.js @@ -0,0 +1,15 @@ +import { isValid as _isValid } from '../create/valid'; +import extend from '../utils/extend'; +import getParsingFlags from '../create/parsing-flags'; + +export function isValid() { + return _isValid(this); +} + +export function parsingFlags() { + return extend({}, getParsingFlags(this)); +} + +export function invalidAt() { + return getParsingFlags(this).overflow; +} diff --git a/node_modules/moment/src/lib/parse/regex.js b/node_modules/moment/src/lib/parse/regex.js new file mode 100644 index 0000000..c2cf4e5 --- /dev/null +++ b/node_modules/moment/src/lib/parse/regex.js @@ -0,0 +1,84 @@ +var match1 = /\d/, // 0 - 9 + match2 = /\d\d/, // 00 - 99 + match3 = /\d{3}/, // 000 - 999 + match4 = /\d{4}/, // 0000 - 9999 + match6 = /[+-]?\d{6}/, // -999999 - 999999 + match1to2 = /\d\d?/, // 0 - 99 + match3to4 = /\d\d\d\d?/, // 999 - 9999 + match5to6 = /\d\d\d\d\d\d?/, // 99999 - 999999 + match1to3 = /\d{1,3}/, // 0 - 999 + match1to4 = /\d{1,4}/, // 0 - 9999 + match1to6 = /[+-]?\d{1,6}/, // -999999 - 999999 + matchUnsigned = /\d+/, // 0 - inf + matchSigned = /[+-]?\d+/, // -inf - inf + matchOffset = /Z|[+-]\d\d:?\d\d/gi, // +00:00 -00:00 +0000 -0000 or Z + matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi, // +00 -00 +00:00 -00:00 +0000 -0000 or Z + matchTimestamp = /[+-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123 + // any word (or two) characters or numbers including two/three word month in arabic. + // includes scottish gaelic two word and hyphenated months + matchWord = + /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, + match1to2NoLeadingZero = /^[1-9]\d?/, // 1-99 + match1to2HasZero = /^([1-9]\d|\d)/, // 0-99 + regexes; + +export { + match1, + match2, + match3, + match4, + match6, + match1to2, + match3to4, + match5to6, + match1to3, + match1to4, + match1to6, + matchUnsigned, + matchSigned, + matchOffset, + matchShortOffset, + matchTimestamp, + matchWord, + match1to2NoLeadingZero, + match1to2HasZero, +}; + +import hasOwnProp from '../utils/has-own-prop'; +import isFunction from '../utils/is-function'; + +regexes = {}; + +export function addRegexToken(token, regex, strictRegex) { + regexes[token] = isFunction(regex) + ? regex + : function (isStrict, localeData) { + return isStrict && strictRegex ? strictRegex : regex; + }; +} + +export function getParseRegexForToken(token, config) { + if (!hasOwnProp(regexes, token)) { + return new RegExp(unescapeFormat(token)); + } + + return regexes[token](config._strict, config._locale); +} + +// Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript +function unescapeFormat(s) { + return regexEscape( + s + .replace('\\', '') + .replace( + /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, + function (matched, p1, p2, p3, p4) { + return p1 || p2 || p3 || p4; + } + ) + ); +} + +export function regexEscape(s) { + return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); +} diff --git a/node_modules/moment/src/lib/parse/token.js b/node_modules/moment/src/lib/parse/token.js new file mode 100644 index 0000000..ede3578 --- /dev/null +++ b/node_modules/moment/src/lib/parse/token.js @@ -0,0 +1,36 @@ +import hasOwnProp from '../utils/has-own-prop'; +import isNumber from '../utils/is-number'; +import toInt from '../utils/to-int'; + +var tokens = {}; + +export function addParseToken(token, callback) { + var i, + func = callback, + tokenLen; + if (typeof token === 'string') { + token = [token]; + } + if (isNumber(callback)) { + func = function (input, array) { + array[callback] = toInt(input); + }; + } + tokenLen = token.length; + for (i = 0; i < tokenLen; i++) { + tokens[token[i]] = func; + } +} + +export function addWeekParseToken(token, callback) { + addParseToken(token, function (input, array, config, token) { + config._w = config._w || {}; + callback(input, config._w, config, token); + }); +} + +export function addTimeToArrayFromToken(token, input, config) { + if (input != null && hasOwnProp(tokens, token)) { + tokens[token](input, config._a, config, token); + } +} diff --git a/node_modules/moment/src/lib/units/aliases.js b/node_modules/moment/src/lib/units/aliases.js new file mode 100644 index 0000000..469a4de --- /dev/null +++ b/node_modules/moment/src/lib/units/aliases.js @@ -0,0 +1,75 @@ +import hasOwnProp from '../utils/has-own-prop'; + +var aliases = { + D: 'date', + dates: 'date', + date: 'date', + d: 'day', + days: 'day', + day: 'day', + e: 'weekday', + weekdays: 'weekday', + weekday: 'weekday', + E: 'isoWeekday', + isoweekdays: 'isoWeekday', + isoweekday: 'isoWeekday', + DDD: 'dayOfYear', + dayofyears: 'dayOfYear', + dayofyear: 'dayOfYear', + h: 'hour', + hours: 'hour', + hour: 'hour', + ms: 'millisecond', + milliseconds: 'millisecond', + millisecond: 'millisecond', + m: 'minute', + minutes: 'minute', + minute: 'minute', + M: 'month', + months: 'month', + month: 'month', + Q: 'quarter', + quarters: 'quarter', + quarter: 'quarter', + s: 'second', + seconds: 'second', + second: 'second', + gg: 'weekYear', + weekyears: 'weekYear', + weekyear: 'weekYear', + GG: 'isoWeekYear', + isoweekyears: 'isoWeekYear', + isoweekyear: 'isoWeekYear', + w: 'week', + weeks: 'week', + week: 'week', + W: 'isoWeek', + isoweeks: 'isoWeek', + isoweek: 'isoWeek', + y: 'year', + years: 'year', + year: 'year', +}; + +export function normalizeUnits(units) { + return typeof units === 'string' + ? aliases[units] || aliases[units.toLowerCase()] + : undefined; +} + +export function normalizeObjectUnits(inputObject) { + var normalizedInput = {}, + normalizedProp, + prop; + + for (prop in inputObject) { + if (hasOwnProp(inputObject, prop)) { + normalizedProp = normalizeUnits(prop); + if (normalizedProp) { + normalizedInput[normalizedProp] = inputObject[prop]; + } + } + } + + return normalizedInput; +} diff --git a/node_modules/moment/src/lib/units/constants.js b/node_modules/moment/src/lib/units/constants.js new file mode 100644 index 0000000..da36dbd --- /dev/null +++ b/node_modules/moment/src/lib/units/constants.js @@ -0,0 +1,9 @@ +export var YEAR = 0, + MONTH = 1, + DATE = 2, + HOUR = 3, + MINUTE = 4, + SECOND = 5, + MILLISECOND = 6, + WEEK = 7, + WEEKDAY = 8; diff --git a/node_modules/moment/src/lib/units/day-of-month.js b/node_modules/moment/src/lib/units/day-of-month.js new file mode 100644 index 0000000..41b3193 --- /dev/null +++ b/node_modules/moment/src/lib/units/day-of-month.js @@ -0,0 +1,35 @@ +import { makeGetSet } from '../moment/get-set'; +import { addFormatToken } from '../format/format'; +import { + addRegexToken, + match1to2, + match2, + match1to2NoLeadingZero, +} from '../parse/regex'; +import { addParseToken } from '../parse/token'; +import { DATE } from './constants'; +import toInt from '../utils/to-int'; + +// FORMATTING + +addFormatToken('D', ['DD', 2], 'Do', 'date'); + +// PARSING + +addRegexToken('D', match1to2, match1to2NoLeadingZero); +addRegexToken('DD', match1to2, match2); +addRegexToken('Do', function (isStrict, locale) { + // TODO: Remove "ordinalParse" fallback in next major release. + return isStrict + ? locale._dayOfMonthOrdinalParse || locale._ordinalParse + : locale._dayOfMonthOrdinalParseLenient; +}); + +addParseToken(['D', 'DD'], DATE); +addParseToken('Do', function (input, array) { + array[DATE] = toInt(input.match(match1to2)[0]); +}); + +// MOMENTS + +export var getSetDayOfMonth = makeGetSet('Date', true); diff --git a/node_modules/moment/src/lib/units/day-of-week.js b/node_modules/moment/src/lib/units/day-of-week.js new file mode 100644 index 0000000..4cdc4d4 --- /dev/null +++ b/node_modules/moment/src/lib/units/day-of-week.js @@ -0,0 +1,432 @@ +import { get } from '../moment/get-set'; +import { addFormatToken } from '../format/format'; +import { + addRegexToken, + match1to2, + matchWord, + regexEscape, +} from '../parse/regex'; +import { addWeekParseToken } from '../parse/token'; +import toInt from '../utils/to-int'; +import isArray from '../utils/is-array'; +import indexOf from '../utils/index-of'; +import hasOwnProp from '../utils/has-own-prop'; +import { createUTC } from '../create/utc'; +import getParsingFlags from '../create/parsing-flags'; + +// FORMATTING + +addFormatToken('d', 0, 'do', 'day'); + +addFormatToken('dd', 0, 0, function (format) { + return this.localeData().weekdaysMin(this, format); +}); + +addFormatToken('ddd', 0, 0, function (format) { + return this.localeData().weekdaysShort(this, format); +}); + +addFormatToken('dddd', 0, 0, function (format) { + return this.localeData().weekdays(this, format); +}); + +addFormatToken('e', 0, 0, 'weekday'); +addFormatToken('E', 0, 0, 'isoWeekday'); + +// PARSING + +addRegexToken('d', match1to2); +addRegexToken('e', match1to2); +addRegexToken('E', match1to2); +addRegexToken('dd', function (isStrict, locale) { + return locale.weekdaysMinRegex(isStrict); +}); +addRegexToken('ddd', function (isStrict, locale) { + return locale.weekdaysShortRegex(isStrict); +}); +addRegexToken('dddd', function (isStrict, locale) { + return locale.weekdaysRegex(isStrict); +}); + +addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) { + var weekday = config._locale.weekdaysParse(input, token, config._strict); + // if we didn't get a weekday name, mark the date as invalid + if (weekday != null) { + week.d = weekday; + } else { + getParsingFlags(config).invalidWeekday = input; + } +}); + +addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) { + week[token] = toInt(input); +}); + +// HELPERS + +function parseWeekday(input, locale) { + if (typeof input !== 'string') { + return input; + } + + if (!isNaN(input)) { + return parseInt(input, 10); + } + + input = locale.weekdaysParse(input); + if (typeof input === 'number') { + return input; + } + + return null; +} + +function parseIsoWeekday(input, locale) { + if (typeof input === 'string') { + return locale.weekdaysParse(input) % 7 || 7; + } + return isNaN(input) ? null : input; +} + +// LOCALES +function shiftWeekdays(ws, n) { + return ws.slice(n, 7).concat(ws.slice(0, n)); +} + +var defaultLocaleWeekdays = + 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + defaultWeekdaysRegex = matchWord, + defaultWeekdaysShortRegex = matchWord, + defaultWeekdaysMinRegex = matchWord; + +export { + defaultLocaleWeekdays, + defaultLocaleWeekdaysShort, + defaultLocaleWeekdaysMin, +}; + +export function localeWeekdays(m, format) { + var weekdays = isArray(this._weekdays) + ? this._weekdays + : this._weekdays[ + m && m !== true && this._weekdays.isFormat.test(format) + ? 'format' + : 'standalone' + ]; + return m === true + ? shiftWeekdays(weekdays, this._week.dow) + : m + ? weekdays[m.day()] + : weekdays; +} + +export function localeWeekdaysShort(m) { + return m === true + ? shiftWeekdays(this._weekdaysShort, this._week.dow) + : m + ? this._weekdaysShort[m.day()] + : this._weekdaysShort; +} + +export function localeWeekdaysMin(m) { + return m === true + ? shiftWeekdays(this._weekdaysMin, this._week.dow) + : m + ? this._weekdaysMin[m.day()] + : this._weekdaysMin; +} + +function handleStrictParse(weekdayName, format, strict) { + var i, + ii, + mom, + llc = weekdayName.toLocaleLowerCase(); + if (!this._weekdaysParse) { + this._weekdaysParse = []; + this._shortWeekdaysParse = []; + this._minWeekdaysParse = []; + + for (i = 0; i < 7; ++i) { + mom = createUTC([2000, 1]).day(i); + this._minWeekdaysParse[i] = this.weekdaysMin( + mom, + '' + ).toLocaleLowerCase(); + this._shortWeekdaysParse[i] = this.weekdaysShort( + mom, + '' + ).toLocaleLowerCase(); + this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase(); + } + } + + if (strict) { + if (format === 'dddd') { + ii = indexOf.call(this._weekdaysParse, llc); + return ii !== -1 ? ii : null; + } else if (format === 'ddd') { + ii = indexOf.call(this._shortWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf.call(this._minWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } + } else { + if (format === 'dddd') { + ii = indexOf.call(this._weekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._shortWeekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._minWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } else if (format === 'ddd') { + ii = indexOf.call(this._shortWeekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._weekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._minWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf.call(this._minWeekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._weekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._shortWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } + } +} + +export function localeWeekdaysParse(weekdayName, format, strict) { + var i, mom, regex; + + if (this._weekdaysParseExact) { + return handleStrictParse.call(this, weekdayName, format, strict); + } + + if (!this._weekdaysParse) { + this._weekdaysParse = []; + this._minWeekdaysParse = []; + this._shortWeekdaysParse = []; + this._fullWeekdaysParse = []; + } + + for (i = 0; i < 7; i++) { + // make the regex if we don't have it already + + mom = createUTC([2000, 1]).day(i); + if (strict && !this._fullWeekdaysParse[i]) { + this._fullWeekdaysParse[i] = new RegExp( + '^' + this.weekdays(mom, '').replace('.', '\\.?') + '$', + 'i' + ); + this._shortWeekdaysParse[i] = new RegExp( + '^' + this.weekdaysShort(mom, '').replace('.', '\\.?') + '$', + 'i' + ); + this._minWeekdaysParse[i] = new RegExp( + '^' + this.weekdaysMin(mom, '').replace('.', '\\.?') + '$', + 'i' + ); + } + if (!this._weekdaysParse[i]) { + regex = + '^' + + this.weekdays(mom, '') + + '|^' + + this.weekdaysShort(mom, '') + + '|^' + + this.weekdaysMin(mom, ''); + this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i'); + } + // test the regex + if ( + strict && + format === 'dddd' && + this._fullWeekdaysParse[i].test(weekdayName) + ) { + return i; + } else if ( + strict && + format === 'ddd' && + this._shortWeekdaysParse[i].test(weekdayName) + ) { + return i; + } else if ( + strict && + format === 'dd' && + this._minWeekdaysParse[i].test(weekdayName) + ) { + return i; + } else if (!strict && this._weekdaysParse[i].test(weekdayName)) { + return i; + } + } +} + +// MOMENTS + +export function getSetDayOfWeek(input) { + if (!this.isValid()) { + return input != null ? this : NaN; + } + + var day = get(this, 'Day'); + if (input != null) { + input = parseWeekday(input, this.localeData()); + return this.add(input - day, 'd'); + } else { + return day; + } +} + +export function getSetLocaleDayOfWeek(input) { + if (!this.isValid()) { + return input != null ? this : NaN; + } + var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7; + return input == null ? weekday : this.add(input - weekday, 'd'); +} + +export function getSetISODayOfWeek(input) { + if (!this.isValid()) { + return input != null ? this : NaN; + } + + // behaves the same as moment#day except + // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6) + // as a setter, sunday should belong to the previous week. + + if (input != null) { + var weekday = parseIsoWeekday(input, this.localeData()); + return this.day(this.day() % 7 ? weekday : weekday - 7); + } else { + return this.day() || 7; + } +} + +export function weekdaysRegex(isStrict) { + if (this._weekdaysParseExact) { + if (!hasOwnProp(this, '_weekdaysRegex')) { + computeWeekdaysParse.call(this); + } + if (isStrict) { + return this._weekdaysStrictRegex; + } else { + return this._weekdaysRegex; + } + } else { + if (!hasOwnProp(this, '_weekdaysRegex')) { + this._weekdaysRegex = defaultWeekdaysRegex; + } + return this._weekdaysStrictRegex && isStrict + ? this._weekdaysStrictRegex + : this._weekdaysRegex; + } +} + +export function weekdaysShortRegex(isStrict) { + if (this._weekdaysParseExact) { + if (!hasOwnProp(this, '_weekdaysRegex')) { + computeWeekdaysParse.call(this); + } + if (isStrict) { + return this._weekdaysShortStrictRegex; + } else { + return this._weekdaysShortRegex; + } + } else { + if (!hasOwnProp(this, '_weekdaysShortRegex')) { + this._weekdaysShortRegex = defaultWeekdaysShortRegex; + } + return this._weekdaysShortStrictRegex && isStrict + ? this._weekdaysShortStrictRegex + : this._weekdaysShortRegex; + } +} + +export function weekdaysMinRegex(isStrict) { + if (this._weekdaysParseExact) { + if (!hasOwnProp(this, '_weekdaysRegex')) { + computeWeekdaysParse.call(this); + } + if (isStrict) { + return this._weekdaysMinStrictRegex; + } else { + return this._weekdaysMinRegex; + } + } else { + if (!hasOwnProp(this, '_weekdaysMinRegex')) { + this._weekdaysMinRegex = defaultWeekdaysMinRegex; + } + return this._weekdaysMinStrictRegex && isStrict + ? this._weekdaysMinStrictRegex + : this._weekdaysMinRegex; + } +} + +function computeWeekdaysParse() { + function cmpLenRev(a, b) { + return b.length - a.length; + } + + var minPieces = [], + shortPieces = [], + longPieces = [], + mixedPieces = [], + i, + mom, + minp, + shortp, + longp; + for (i = 0; i < 7; i++) { + // make the regex if we don't have it already + mom = createUTC([2000, 1]).day(i); + minp = regexEscape(this.weekdaysMin(mom, '')); + shortp = regexEscape(this.weekdaysShort(mom, '')); + longp = regexEscape(this.weekdays(mom, '')); + minPieces.push(minp); + shortPieces.push(shortp); + longPieces.push(longp); + mixedPieces.push(minp); + mixedPieces.push(shortp); + mixedPieces.push(longp); + } + // Sorting makes sure if one weekday (or abbr) is a prefix of another it + // will match the longer piece. + minPieces.sort(cmpLenRev); + shortPieces.sort(cmpLenRev); + longPieces.sort(cmpLenRev); + mixedPieces.sort(cmpLenRev); + + this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); + this._weekdaysShortRegex = this._weekdaysRegex; + this._weekdaysMinRegex = this._weekdaysRegex; + + this._weekdaysStrictRegex = new RegExp( + '^(' + longPieces.join('|') + ')', + 'i' + ); + this._weekdaysShortStrictRegex = new RegExp( + '^(' + shortPieces.join('|') + ')', + 'i' + ); + this._weekdaysMinStrictRegex = new RegExp( + '^(' + minPieces.join('|') + ')', + 'i' + ); +} diff --git a/node_modules/moment/src/lib/units/day-of-year.js b/node_modules/moment/src/lib/units/day-of-year.js new file mode 100644 index 0000000..4fae6f4 --- /dev/null +++ b/node_modules/moment/src/lib/units/day-of-year.js @@ -0,0 +1,28 @@ +import { addFormatToken } from '../format/format'; +import { addRegexToken, match3, match1to3 } from '../parse/regex'; +import { addParseToken } from '../parse/token'; +import toInt from '../utils/to-int'; + +// FORMATTING + +addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear'); + +// PARSING + +addRegexToken('DDD', match1to3); +addRegexToken('DDDD', match3); +addParseToken(['DDD', 'DDDD'], function (input, array, config) { + config._dayOfYear = toInt(input); +}); + +// HELPERS + +// MOMENTS + +export function getSetDayOfYear(input) { + var dayOfYear = + Math.round( + (this.clone().startOf('day') - this.clone().startOf('year')) / 864e5 + ) + 1; + return input == null ? dayOfYear : this.add(input - dayOfYear, 'd'); +} diff --git a/node_modules/moment/src/lib/units/era.js b/node_modules/moment/src/lib/units/era.js new file mode 100644 index 0000000..bc05622 --- /dev/null +++ b/node_modules/moment/src/lib/units/era.js @@ -0,0 +1,293 @@ +import { addFormatToken } from '../format/format'; +import { addRegexToken, matchUnsigned, regexEscape } from '../parse/regex'; +import { addParseToken } from '../parse/token'; +import { YEAR } from './constants'; +import { hooks as moment } from '../utils/hooks'; +import { getLocale } from '../locale/locales'; +import getParsingFlags from '../create/parsing-flags'; +import hasOwnProp from '../utils/has-own-prop'; + +addFormatToken('N', 0, 0, 'eraAbbr'); +addFormatToken('NN', 0, 0, 'eraAbbr'); +addFormatToken('NNN', 0, 0, 'eraAbbr'); +addFormatToken('NNNN', 0, 0, 'eraName'); +addFormatToken('NNNNN', 0, 0, 'eraNarrow'); + +addFormatToken('y', ['y', 1], 'yo', 'eraYear'); +addFormatToken('y', ['yy', 2], 0, 'eraYear'); +addFormatToken('y', ['yyy', 3], 0, 'eraYear'); +addFormatToken('y', ['yyyy', 4], 0, 'eraYear'); + +addRegexToken('N', matchEraAbbr); +addRegexToken('NN', matchEraAbbr); +addRegexToken('NNN', matchEraAbbr); +addRegexToken('NNNN', matchEraName); +addRegexToken('NNNNN', matchEraNarrow); + +addParseToken( + ['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], + function (input, array, config, token) { + var era = config._locale.erasParse(input, token, config._strict); + if (era) { + getParsingFlags(config).era = era; + } else { + getParsingFlags(config).invalidEra = input; + } + } +); + +addRegexToken('y', matchUnsigned); +addRegexToken('yy', matchUnsigned); +addRegexToken('yyy', matchUnsigned); +addRegexToken('yyyy', matchUnsigned); +addRegexToken('yo', matchEraYearOrdinal); + +addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR); +addParseToken(['yo'], function (input, array, config, token) { + var match; + if (config._locale._eraYearOrdinalRegex) { + match = input.match(config._locale._eraYearOrdinalRegex); + } + + if (config._locale.eraYearOrdinalParse) { + array[YEAR] = config._locale.eraYearOrdinalParse(input, match); + } else { + array[YEAR] = parseInt(input, 10); + } +}); + +export function localeEras(m, format) { + var i, + l, + date, + eras = this._eras || getLocale('en')._eras; + for (i = 0, l = eras.length; i < l; ++i) { + switch (typeof eras[i].since) { + case 'string': + // truncate time + date = moment(eras[i].since).startOf('day'); + eras[i].since = date.valueOf(); + break; + } + + switch (typeof eras[i].until) { + case 'undefined': + eras[i].until = +Infinity; + break; + case 'string': + // truncate time + date = moment(eras[i].until).startOf('day').valueOf(); + eras[i].until = date.valueOf(); + break; + } + } + return eras; +} + +export function localeErasParse(eraName, format, strict) { + var i, + l, + eras = this.eras(), + name, + abbr, + narrow; + eraName = eraName.toUpperCase(); + + for (i = 0, l = eras.length; i < l; ++i) { + name = eras[i].name.toUpperCase(); + abbr = eras[i].abbr.toUpperCase(); + narrow = eras[i].narrow.toUpperCase(); + + if (strict) { + switch (format) { + case 'N': + case 'NN': + case 'NNN': + if (abbr === eraName) { + return eras[i]; + } + break; + + case 'NNNN': + if (name === eraName) { + return eras[i]; + } + break; + + case 'NNNNN': + if (narrow === eraName) { + return eras[i]; + } + break; + } + } else if ([name, abbr, narrow].indexOf(eraName) >= 0) { + return eras[i]; + } + } +} + +export function localeErasConvertYear(era, year) { + var dir = era.since <= era.until ? +1 : -1; + if (year === undefined) { + return moment(era.since).year(); + } else { + return moment(era.since).year() + (year - era.offset) * dir; + } +} + +export function getEraName() { + var i, + l, + val, + eras = this.localeData().eras(); + for (i = 0, l = eras.length; i < l; ++i) { + // truncate time + val = this.clone().startOf('day').valueOf(); + + if (eras[i].since <= val && val <= eras[i].until) { + return eras[i].name; + } + if (eras[i].until <= val && val <= eras[i].since) { + return eras[i].name; + } + } + + return ''; +} + +export function getEraNarrow() { + var i, + l, + val, + eras = this.localeData().eras(); + for (i = 0, l = eras.length; i < l; ++i) { + // truncate time + val = this.clone().startOf('day').valueOf(); + + if (eras[i].since <= val && val <= eras[i].until) { + return eras[i].narrow; + } + if (eras[i].until <= val && val <= eras[i].since) { + return eras[i].narrow; + } + } + + return ''; +} + +export function getEraAbbr() { + var i, + l, + val, + eras = this.localeData().eras(); + for (i = 0, l = eras.length; i < l; ++i) { + // truncate time + val = this.clone().startOf('day').valueOf(); + + if (eras[i].since <= val && val <= eras[i].until) { + return eras[i].abbr; + } + if (eras[i].until <= val && val <= eras[i].since) { + return eras[i].abbr; + } + } + + return ''; +} + +export function getEraYear() { + var i, + l, + dir, + val, + eras = this.localeData().eras(); + for (i = 0, l = eras.length; i < l; ++i) { + dir = eras[i].since <= eras[i].until ? +1 : -1; + + // truncate time + val = this.clone().startOf('day').valueOf(); + + if ( + (eras[i].since <= val && val <= eras[i].until) || + (eras[i].until <= val && val <= eras[i].since) + ) { + return ( + (this.year() - moment(eras[i].since).year()) * dir + + eras[i].offset + ); + } + } + + return this.year(); +} + +export function erasNameRegex(isStrict) { + if (!hasOwnProp(this, '_erasNameRegex')) { + computeErasParse.call(this); + } + return isStrict ? this._erasNameRegex : this._erasRegex; +} + +export function erasAbbrRegex(isStrict) { + if (!hasOwnProp(this, '_erasAbbrRegex')) { + computeErasParse.call(this); + } + return isStrict ? this._erasAbbrRegex : this._erasRegex; +} + +export function erasNarrowRegex(isStrict) { + if (!hasOwnProp(this, '_erasNarrowRegex')) { + computeErasParse.call(this); + } + return isStrict ? this._erasNarrowRegex : this._erasRegex; +} + +function matchEraAbbr(isStrict, locale) { + return locale.erasAbbrRegex(isStrict); +} + +function matchEraName(isStrict, locale) { + return locale.erasNameRegex(isStrict); +} + +function matchEraNarrow(isStrict, locale) { + return locale.erasNarrowRegex(isStrict); +} + +function matchEraYearOrdinal(isStrict, locale) { + return locale._eraYearOrdinalRegex || matchUnsigned; +} + +function computeErasParse() { + var abbrPieces = [], + namePieces = [], + narrowPieces = [], + mixedPieces = [], + i, + l, + erasName, + erasAbbr, + erasNarrow, + eras = this.eras(); + + for (i = 0, l = eras.length; i < l; ++i) { + erasName = regexEscape(eras[i].name); + erasAbbr = regexEscape(eras[i].abbr); + erasNarrow = regexEscape(eras[i].narrow); + + namePieces.push(erasName); + abbrPieces.push(erasAbbr); + narrowPieces.push(erasNarrow); + mixedPieces.push(erasName); + mixedPieces.push(erasAbbr); + mixedPieces.push(erasNarrow); + } + + this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); + this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i'); + this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i'); + this._erasNarrowRegex = new RegExp( + '^(' + narrowPieces.join('|') + ')', + 'i' + ); +} diff --git a/node_modules/moment/src/lib/units/hour.js b/node_modules/moment/src/lib/units/hour.js new file mode 100644 index 0000000..f24815f --- /dev/null +++ b/node_modules/moment/src/lib/units/hour.js @@ -0,0 +1,152 @@ +import { makeGetSet } from '../moment/get-set'; +import { addFormatToken } from '../format/format'; +import { + addRegexToken, + match1to2, + match2, + match3to4, + match5to6, + match1to2NoLeadingZero, + match1to2HasZero, +} from '../parse/regex'; +import { addParseToken } from '../parse/token'; +import { HOUR, MINUTE, SECOND } from './constants'; +import toInt from '../utils/to-int'; +import zeroFill from '../utils/zero-fill'; +import getParsingFlags from '../create/parsing-flags'; + +// FORMATTING + +function hFormat() { + return this.hours() % 12 || 12; +} + +function kFormat() { + return this.hours() || 24; +} + +addFormatToken('H', ['HH', 2], 0, 'hour'); +addFormatToken('h', ['hh', 2], 0, hFormat); +addFormatToken('k', ['kk', 2], 0, kFormat); + +addFormatToken('hmm', 0, 0, function () { + return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2); +}); + +addFormatToken('hmmss', 0, 0, function () { + return ( + '' + + hFormat.apply(this) + + zeroFill(this.minutes(), 2) + + zeroFill(this.seconds(), 2) + ); +}); + +addFormatToken('Hmm', 0, 0, function () { + return '' + this.hours() + zeroFill(this.minutes(), 2); +}); + +addFormatToken('Hmmss', 0, 0, function () { + return ( + '' + + this.hours() + + zeroFill(this.minutes(), 2) + + zeroFill(this.seconds(), 2) + ); +}); + +function meridiem(token, lowercase) { + addFormatToken(token, 0, 0, function () { + return this.localeData().meridiem( + this.hours(), + this.minutes(), + lowercase + ); + }); +} + +meridiem('a', true); +meridiem('A', false); + +// PARSING + +function matchMeridiem(isStrict, locale) { + return locale._meridiemParse; +} + +addRegexToken('a', matchMeridiem); +addRegexToken('A', matchMeridiem); +addRegexToken('H', match1to2, match1to2HasZero); +addRegexToken('h', match1to2, match1to2NoLeadingZero); +addRegexToken('k', match1to2, match1to2NoLeadingZero); +addRegexToken('HH', match1to2, match2); +addRegexToken('hh', match1to2, match2); +addRegexToken('kk', match1to2, match2); + +addRegexToken('hmm', match3to4); +addRegexToken('hmmss', match5to6); +addRegexToken('Hmm', match3to4); +addRegexToken('Hmmss', match5to6); + +addParseToken(['H', 'HH'], HOUR); +addParseToken(['k', 'kk'], function (input, array, config) { + var kInput = toInt(input); + array[HOUR] = kInput === 24 ? 0 : kInput; +}); +addParseToken(['a', 'A'], function (input, array, config) { + config._isPm = config._locale.isPM(input); + config._meridiem = input; +}); +addParseToken(['h', 'hh'], function (input, array, config) { + array[HOUR] = toInt(input); + getParsingFlags(config).bigHour = true; +}); +addParseToken('hmm', function (input, array, config) { + var pos = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos)); + array[MINUTE] = toInt(input.substr(pos)); + getParsingFlags(config).bigHour = true; +}); +addParseToken('hmmss', function (input, array, config) { + var pos1 = input.length - 4, + pos2 = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos1)); + array[MINUTE] = toInt(input.substr(pos1, 2)); + array[SECOND] = toInt(input.substr(pos2)); + getParsingFlags(config).bigHour = true; +}); +addParseToken('Hmm', function (input, array, config) { + var pos = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos)); + array[MINUTE] = toInt(input.substr(pos)); +}); +addParseToken('Hmmss', function (input, array, config) { + var pos1 = input.length - 4, + pos2 = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos1)); + array[MINUTE] = toInt(input.substr(pos1, 2)); + array[SECOND] = toInt(input.substr(pos2)); +}); + +// LOCALES + +export function localeIsPM(input) { + // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays + // Using charAt should be more compatible. + return (input + '').toLowerCase().charAt(0) === 'p'; +} + +export var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i, + // Setting the hour should keep the time, because the user explicitly + // specified which hour they want. So trying to maintain the same hour (in + // a new timezone) makes sense. Adding/subtracting hours does not follow + // this rule. + getSetHour = makeGetSet('Hours', true); + +export function localeMeridiem(hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'pm' : 'PM'; + } else { + return isLower ? 'am' : 'AM'; + } +} diff --git a/node_modules/moment/src/lib/units/millisecond.js b/node_modules/moment/src/lib/units/millisecond.js new file mode 100644 index 0000000..4008c9b --- /dev/null +++ b/node_modules/moment/src/lib/units/millisecond.js @@ -0,0 +1,66 @@ +import { makeGetSet } from '../moment/get-set'; +import { addFormatToken } from '../format/format'; +import { + addRegexToken, + match1, + match2, + match3, + match1to3, + matchUnsigned, +} from '../parse/regex'; +import { addParseToken } from '../parse/token'; +import { MILLISECOND } from './constants'; +import toInt from '../utils/to-int'; + +// FORMATTING + +addFormatToken('S', 0, 0, function () { + return ~~(this.millisecond() / 100); +}); + +addFormatToken(0, ['SS', 2], 0, function () { + return ~~(this.millisecond() / 10); +}); + +addFormatToken(0, ['SSS', 3], 0, 'millisecond'); +addFormatToken(0, ['SSSS', 4], 0, function () { + return this.millisecond() * 10; +}); +addFormatToken(0, ['SSSSS', 5], 0, function () { + return this.millisecond() * 100; +}); +addFormatToken(0, ['SSSSSS', 6], 0, function () { + return this.millisecond() * 1000; +}); +addFormatToken(0, ['SSSSSSS', 7], 0, function () { + return this.millisecond() * 10000; +}); +addFormatToken(0, ['SSSSSSSS', 8], 0, function () { + return this.millisecond() * 100000; +}); +addFormatToken(0, ['SSSSSSSSS', 9], 0, function () { + return this.millisecond() * 1000000; +}); + +// PARSING + +addRegexToken('S', match1to3, match1); +addRegexToken('SS', match1to3, match2); +addRegexToken('SSS', match1to3, match3); + +var token, getSetMillisecond; +for (token = 'SSSS'; token.length <= 9; token += 'S') { + addRegexToken(token, matchUnsigned); +} + +function parseMs(input, array) { + array[MILLISECOND] = toInt(('0.' + input) * 1000); +} + +for (token = 'S'; token.length <= 9; token += 'S') { + addParseToken(token, parseMs); +} + +getSetMillisecond = makeGetSet('Milliseconds', false); + +export { getSetMillisecond }; diff --git a/node_modules/moment/src/lib/units/minute.js b/node_modules/moment/src/lib/units/minute.js new file mode 100644 index 0000000..72f163f --- /dev/null +++ b/node_modules/moment/src/lib/units/minute.js @@ -0,0 +1,24 @@ +import { makeGetSet } from '../moment/get-set'; +import { addFormatToken } from '../format/format'; +import { + addRegexToken, + match1to2, + match2, + match1to2HasZero, +} from '../parse/regex'; +import { addParseToken } from '../parse/token'; +import { MINUTE } from './constants'; + +// FORMATTING + +addFormatToken('m', ['mm', 2], 0, 'minute'); + +// PARSING + +addRegexToken('m', match1to2, match1to2HasZero); +addRegexToken('mm', match1to2, match2); +addParseToken(['m', 'mm'], MINUTE); + +// MOMENTS + +export var getSetMinute = makeGetSet('Minutes', false); diff --git a/node_modules/moment/src/lib/units/month.js b/node_modules/moment/src/lib/units/month.js new file mode 100644 index 0000000..9a326aa --- /dev/null +++ b/node_modules/moment/src/lib/units/month.js @@ -0,0 +1,340 @@ +import { get } from '../moment/get-set'; +import hasOwnProp from '../utils/has-own-prop'; +import { addFormatToken } from '../format/format'; +import { + addRegexToken, + match1to2, + match2, + matchWord, + regexEscape, + match1to2NoLeadingZero, +} from '../parse/regex'; +import { addParseToken } from '../parse/token'; +import { hooks } from '../utils/hooks'; +import { MONTH } from './constants'; +import toInt from '../utils/to-int'; +import isArray from '../utils/is-array'; +import isNumber from '../utils/is-number'; +import mod from '../utils/mod'; +import indexOf from '../utils/index-of'; +import { createUTC } from '../create/utc'; +import getParsingFlags from '../create/parsing-flags'; +import { isLeapYear } from '../utils/is-leap-year'; + +export function daysInMonth(year, month) { + if (isNaN(year) || isNaN(month)) { + return NaN; + } + var modMonth = mod(month, 12); + year += (month - modMonth) / 12; + return modMonth === 1 + ? isLeapYear(year) + ? 29 + : 28 + : 31 - ((modMonth % 7) % 2); +} + +// FORMATTING + +addFormatToken('M', ['MM', 2], 'Mo', function () { + return this.month() + 1; +}); + +addFormatToken('MMM', 0, 0, function (format) { + return this.localeData().monthsShort(this, format); +}); + +addFormatToken('MMMM', 0, 0, function (format) { + return this.localeData().months(this, format); +}); + +// PARSING + +addRegexToken('M', match1to2, match1to2NoLeadingZero); +addRegexToken('MM', match1to2, match2); +addRegexToken('MMM', function (isStrict, locale) { + return locale.monthsShortRegex(isStrict); +}); +addRegexToken('MMMM', function (isStrict, locale) { + return locale.monthsRegex(isStrict); +}); + +addParseToken(['M', 'MM'], function (input, array) { + array[MONTH] = toInt(input) - 1; +}); + +addParseToken(['MMM', 'MMMM'], function (input, array, config, token) { + var month = config._locale.monthsParse(input, token, config._strict); + // if we didn't find a month name, mark the date as invalid. + if (month != null) { + array[MONTH] = month; + } else { + getParsingFlags(config).invalidMonth = input; + } +}); + +// LOCALES + +var defaultLocaleMonths = + 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + defaultLocaleMonthsShort = + 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, + defaultMonthsShortRegex = matchWord, + defaultMonthsRegex = matchWord; + +export { defaultLocaleMonths, defaultLocaleMonthsShort }; + +export function localeMonths(m, format) { + if (!m) { + return isArray(this._months) + ? this._months + : this._months['standalone']; + } + return isArray(this._months) + ? this._months[m.month()] + : this._months[ + (this._months.isFormat || MONTHS_IN_FORMAT).test(format) + ? 'format' + : 'standalone' + ][m.month()]; +} + +export function localeMonthsShort(m, format) { + if (!m) { + return isArray(this._monthsShort) + ? this._monthsShort + : this._monthsShort['standalone']; + } + return isArray(this._monthsShort) + ? this._monthsShort[m.month()] + : this._monthsShort[ + MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone' + ][m.month()]; +} + +function handleStrictParse(monthName, format, strict) { + var i, + ii, + mom, + llc = monthName.toLocaleLowerCase(); + if (!this._monthsParse) { + // this is not used + this._monthsParse = []; + this._longMonthsParse = []; + this._shortMonthsParse = []; + for (i = 0; i < 12; ++i) { + mom = createUTC([2000, i]); + this._shortMonthsParse[i] = this.monthsShort( + mom, + '' + ).toLocaleLowerCase(); + this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase(); + } + } + + if (strict) { + if (format === 'MMM') { + ii = indexOf.call(this._shortMonthsParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf.call(this._longMonthsParse, llc); + return ii !== -1 ? ii : null; + } + } else { + if (format === 'MMM') { + ii = indexOf.call(this._shortMonthsParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._longMonthsParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf.call(this._longMonthsParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._shortMonthsParse, llc); + return ii !== -1 ? ii : null; + } + } +} + +export function localeMonthsParse(monthName, format, strict) { + var i, mom, regex; + + if (this._monthsParseExact) { + return handleStrictParse.call(this, monthName, format, strict); + } + + if (!this._monthsParse) { + this._monthsParse = []; + this._longMonthsParse = []; + this._shortMonthsParse = []; + } + + // TODO: add sorting + // Sorting makes sure if one month (or abbr) is a prefix of another + // see sorting in computeMonthsParse + for (i = 0; i < 12; i++) { + // make the regex if we don't have it already + mom = createUTC([2000, i]); + if (strict && !this._longMonthsParse[i]) { + this._longMonthsParse[i] = new RegExp( + '^' + this.months(mom, '').replace('.', '') + '$', + 'i' + ); + this._shortMonthsParse[i] = new RegExp( + '^' + this.monthsShort(mom, '').replace('.', '') + '$', + 'i' + ); + } + if (!strict && !this._monthsParse[i]) { + regex = + '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, ''); + this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i'); + } + // test the regex + if ( + strict && + format === 'MMMM' && + this._longMonthsParse[i].test(monthName) + ) { + return i; + } else if ( + strict && + format === 'MMM' && + this._shortMonthsParse[i].test(monthName) + ) { + return i; + } else if (!strict && this._monthsParse[i].test(monthName)) { + return i; + } + } +} + +// MOMENTS + +export function setMonth(mom, value) { + if (!mom.isValid()) { + // No op + return mom; + } + + if (typeof value === 'string') { + if (/^\d+$/.test(value)) { + value = toInt(value); + } else { + value = mom.localeData().monthsParse(value); + // TODO: Another silent failure? + if (!isNumber(value)) { + return mom; + } + } + } + + var month = value, + date = mom.date(); + + date = date < 29 ? date : Math.min(date, daysInMonth(mom.year(), month)); + void (mom._isUTC + ? mom._d.setUTCMonth(month, date) + : mom._d.setMonth(month, date)); + return mom; +} + +export function getSetMonth(value) { + if (value != null) { + setMonth(this, value); + hooks.updateOffset(this, true); + return this; + } else { + return get(this, 'Month'); + } +} + +export function getDaysInMonth() { + return daysInMonth(this.year(), this.month()); +} + +export function monthsShortRegex(isStrict) { + if (this._monthsParseExact) { + if (!hasOwnProp(this, '_monthsRegex')) { + computeMonthsParse.call(this); + } + if (isStrict) { + return this._monthsShortStrictRegex; + } else { + return this._monthsShortRegex; + } + } else { + if (!hasOwnProp(this, '_monthsShortRegex')) { + this._monthsShortRegex = defaultMonthsShortRegex; + } + return this._monthsShortStrictRegex && isStrict + ? this._monthsShortStrictRegex + : this._monthsShortRegex; + } +} + +export function monthsRegex(isStrict) { + if (this._monthsParseExact) { + if (!hasOwnProp(this, '_monthsRegex')) { + computeMonthsParse.call(this); + } + if (isStrict) { + return this._monthsStrictRegex; + } else { + return this._monthsRegex; + } + } else { + if (!hasOwnProp(this, '_monthsRegex')) { + this._monthsRegex = defaultMonthsRegex; + } + return this._monthsStrictRegex && isStrict + ? this._monthsStrictRegex + : this._monthsRegex; + } +} + +function computeMonthsParse() { + function cmpLenRev(a, b) { + return b.length - a.length; + } + + var shortPieces = [], + longPieces = [], + mixedPieces = [], + i, + mom, + shortP, + longP; + for (i = 0; i < 12; i++) { + // make the regex if we don't have it already + mom = createUTC([2000, i]); + shortP = regexEscape(this.monthsShort(mom, '')); + longP = regexEscape(this.months(mom, '')); + shortPieces.push(shortP); + longPieces.push(longP); + mixedPieces.push(longP); + mixedPieces.push(shortP); + } + // Sorting makes sure if one month (or abbr) is a prefix of another it + // will match the longer piece. + shortPieces.sort(cmpLenRev); + longPieces.sort(cmpLenRev); + mixedPieces.sort(cmpLenRev); + + this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); + this._monthsShortRegex = this._monthsRegex; + this._monthsStrictRegex = new RegExp( + '^(' + longPieces.join('|') + ')', + 'i' + ); + this._monthsShortStrictRegex = new RegExp( + '^(' + shortPieces.join('|') + ')', + 'i' + ); +} diff --git a/node_modules/moment/src/lib/units/offset.js b/node_modules/moment/src/lib/units/offset.js new file mode 100644 index 0000000..668ebb9 --- /dev/null +++ b/node_modules/moment/src/lib/units/offset.js @@ -0,0 +1,249 @@ +import zeroFill from '../utils/zero-fill'; +import { createDuration } from '../duration/create'; +import { addSubtract } from '../moment/add-subtract'; +import { isMoment, copyConfig } from '../moment/constructor'; +import { addFormatToken } from '../format/format'; +import { addRegexToken, matchOffset, matchShortOffset } from '../parse/regex'; +import { addParseToken } from '../parse/token'; +import { createLocal } from '../create/local'; +import { prepareConfig } from '../create/from-anything'; +import { createUTC } from '../create/utc'; +import isDate from '../utils/is-date'; +import toInt from '../utils/to-int'; +import isUndefined from '../utils/is-undefined'; +import compareArrays from '../utils/compare-arrays'; +import { hooks } from '../utils/hooks'; + +// FORMATTING + +function offset(token, separator) { + addFormatToken(token, 0, 0, function () { + var offset = this.utcOffset(), + sign = '+'; + if (offset < 0) { + offset = -offset; + sign = '-'; + } + return ( + sign + + zeroFill(~~(offset / 60), 2) + + separator + + zeroFill(~~offset % 60, 2) + ); + }); +} + +offset('Z', ':'); +offset('ZZ', ''); + +// PARSING + +addRegexToken('Z', matchShortOffset); +addRegexToken('ZZ', matchShortOffset); +addParseToken(['Z', 'ZZ'], function (input, array, config) { + config._useUTC = true; + config._tzm = offsetFromString(matchShortOffset, input); +}); + +// HELPERS + +// timezone chunker +// '+10:00' > ['10', '00'] +// '-1530' > ['-15', '30'] +var chunkOffset = /([\+\-]|\d\d)/gi; + +function offsetFromString(matcher, string) { + var matches = (string || '').match(matcher), + chunk, + parts, + minutes; + + if (matches === null) { + return null; + } + + chunk = matches[matches.length - 1] || []; + parts = (chunk + '').match(chunkOffset) || ['-', 0, 0]; + minutes = +(parts[1] * 60) + toInt(parts[2]); + + return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes; +} + +// Return a moment from input, that is local/utc/zone equivalent to model. +export function cloneWithOffset(input, model) { + var res, diff; + if (model._isUTC) { + res = model.clone(); + diff = + (isMoment(input) || isDate(input) + ? input.valueOf() + : createLocal(input).valueOf()) - res.valueOf(); + // Use low-level api, because this fn is low-level api. + res._d.setTime(res._d.valueOf() + diff); + hooks.updateOffset(res, false); + return res; + } else { + return createLocal(input).local(); + } +} + +function getDateOffset(m) { + // On Firefox.24 Date#getTimezoneOffset returns a floating point. + // https://github.com/moment/moment/pull/1871 + return -Math.round(m._d.getTimezoneOffset()); +} + +// HOOKS + +// This function will be called whenever a moment is mutated. +// It is intended to keep the offset in sync with the timezone. +hooks.updateOffset = function () {}; + +// MOMENTS + +// keepLocalTime = true means only change the timezone, without +// affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]--> +// 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset +// +0200, so we adjust the time as needed, to be valid. +// +// Keeping the time actually adds/subtracts (one hour) +// from the actual represented time. That is why we call updateOffset +// a second time. In case it wants us to change the offset again +// _changeInProgress == true case, then we have to adjust, because +// there is no such time in the given timezone. +export function getSetOffset(input, keepLocalTime, keepMinutes) { + var offset = this._offset || 0, + localAdjust; + if (!this.isValid()) { + return input != null ? this : NaN; + } + if (input != null) { + if (typeof input === 'string') { + input = offsetFromString(matchShortOffset, input); + if (input === null) { + return this; + } + } else if (Math.abs(input) < 16 && !keepMinutes) { + input = input * 60; + } + if (!this._isUTC && keepLocalTime) { + localAdjust = getDateOffset(this); + } + this._offset = input; + this._isUTC = true; + if (localAdjust != null) { + this.add(localAdjust, 'm'); + } + if (offset !== input) { + if (!keepLocalTime || this._changeInProgress) { + addSubtract( + this, + createDuration(input - offset, 'm'), + 1, + false + ); + } else if (!this._changeInProgress) { + this._changeInProgress = true; + hooks.updateOffset(this, true); + this._changeInProgress = null; + } + } + return this; + } else { + return this._isUTC ? offset : getDateOffset(this); + } +} + +export function getSetZone(input, keepLocalTime) { + if (input != null) { + if (typeof input !== 'string') { + input = -input; + } + + this.utcOffset(input, keepLocalTime); + + return this; + } else { + return -this.utcOffset(); + } +} + +export function setOffsetToUTC(keepLocalTime) { + return this.utcOffset(0, keepLocalTime); +} + +export function setOffsetToLocal(keepLocalTime) { + if (this._isUTC) { + this.utcOffset(0, keepLocalTime); + this._isUTC = false; + + if (keepLocalTime) { + this.subtract(getDateOffset(this), 'm'); + } + } + return this; +} + +export function setOffsetToParsedOffset() { + if (this._tzm != null) { + this.utcOffset(this._tzm, false, true); + } else if (typeof this._i === 'string') { + var tZone = offsetFromString(matchOffset, this._i); + if (tZone != null) { + this.utcOffset(tZone); + } else { + this.utcOffset(0, true); + } + } + return this; +} + +export function hasAlignedHourOffset(input) { + if (!this.isValid()) { + return false; + } + input = input ? createLocal(input).utcOffset() : 0; + + return (this.utcOffset() - input) % 60 === 0; +} + +export function isDaylightSavingTime() { + return ( + this.utcOffset() > this.clone().month(0).utcOffset() || + this.utcOffset() > this.clone().month(5).utcOffset() + ); +} + +export function isDaylightSavingTimeShifted() { + if (!isUndefined(this._isDSTShifted)) { + return this._isDSTShifted; + } + + var c = {}, + other; + + copyConfig(c, this); + c = prepareConfig(c); + + if (c._a) { + other = c._isUTC ? createUTC(c._a) : createLocal(c._a); + this._isDSTShifted = + this.isValid() && compareArrays(c._a, other.toArray()) > 0; + } else { + this._isDSTShifted = false; + } + + return this._isDSTShifted; +} + +export function isLocal() { + return this.isValid() ? !this._isUTC : false; +} + +export function isUtcOffset() { + return this.isValid() ? this._isUTC : false; +} + +export function isUtc() { + return this.isValid() ? this._isUTC && this._offset === 0 : false; +} diff --git a/node_modules/moment/src/lib/units/priorities.js b/node_modules/moment/src/lib/units/priorities.js new file mode 100644 index 0000000..b42d2fc --- /dev/null +++ b/node_modules/moment/src/lib/units/priorities.js @@ -0,0 +1,34 @@ +import hasOwnProp from '../utils/has-own-prop'; + +var priorities = { + date: 9, + day: 11, + weekday: 11, + isoWeekday: 11, + dayOfYear: 4, + hour: 13, + millisecond: 16, + minute: 14, + month: 8, + quarter: 7, + second: 15, + weekYear: 1, + isoWeekYear: 1, + week: 5, + isoWeek: 5, + year: 1, +}; + +export function getPrioritizedUnits(unitsObj) { + var units = [], + u; + for (u in unitsObj) { + if (hasOwnProp(unitsObj, u)) { + units.push({ unit: u, priority: priorities[u] }); + } + } + units.sort(function (a, b) { + return a.priority - b.priority; + }); + return units; +} diff --git a/node_modules/moment/src/lib/units/quarter.js b/node_modules/moment/src/lib/units/quarter.js new file mode 100644 index 0000000..4638609 --- /dev/null +++ b/node_modules/moment/src/lib/units/quarter.js @@ -0,0 +1,24 @@ +import { addFormatToken } from '../format/format'; +import { addRegexToken, match1 } from '../parse/regex'; +import { addParseToken } from '../parse/token'; +import { MONTH } from './constants'; +import toInt from '../utils/to-int'; + +// FORMATTING + +addFormatToken('Q', 0, 'Qo', 'quarter'); + +// PARSING + +addRegexToken('Q', match1); +addParseToken('Q', function (input, array) { + array[MONTH] = (toInt(input) - 1) * 3; +}); + +// MOMENTS + +export function getSetQuarter(input) { + return input == null + ? Math.ceil((this.month() + 1) / 3) + : this.month((input - 1) * 3 + (this.month() % 3)); +} diff --git a/node_modules/moment/src/lib/units/second.js b/node_modules/moment/src/lib/units/second.js new file mode 100644 index 0000000..8142317 --- /dev/null +++ b/node_modules/moment/src/lib/units/second.js @@ -0,0 +1,24 @@ +import { makeGetSet } from '../moment/get-set'; +import { addFormatToken } from '../format/format'; +import { + addRegexToken, + match1to2, + match2, + match1to2HasZero, +} from '../parse/regex'; +import { addParseToken } from '../parse/token'; +import { SECOND } from './constants'; + +// FORMATTING + +addFormatToken('s', ['ss', 2], 0, 'second'); + +// PARSING + +addRegexToken('s', match1to2, match1to2HasZero); +addRegexToken('ss', match1to2, match2); +addParseToken(['s', 'ss'], SECOND); + +// MOMENTS + +export var getSetSecond = makeGetSet('Seconds', false); diff --git a/node_modules/moment/src/lib/units/timestamp.js b/node_modules/moment/src/lib/units/timestamp.js new file mode 100644 index 0000000..50c6b87 --- /dev/null +++ b/node_modules/moment/src/lib/units/timestamp.js @@ -0,0 +1,20 @@ +import { addFormatToken } from '../format/format'; +import { addRegexToken, matchTimestamp, matchSigned } from '../parse/regex'; +import { addParseToken } from '../parse/token'; +import toInt from '../utils/to-int'; + +// FORMATTING + +addFormatToken('X', 0, 0, 'unix'); +addFormatToken('x', 0, 0, 'valueOf'); + +// PARSING + +addRegexToken('x', matchSigned); +addRegexToken('X', matchTimestamp); +addParseToken('X', function (input, array, config) { + config._d = new Date(parseFloat(input) * 1000); +}); +addParseToken('x', function (input, array, config) { + config._d = new Date(toInt(input)); +}); diff --git a/node_modules/moment/src/lib/units/timezone.js b/node_modules/moment/src/lib/units/timezone.js new file mode 100644 index 0000000..3831fd3 --- /dev/null +++ b/node_modules/moment/src/lib/units/timezone.js @@ -0,0 +1,16 @@ +import { addFormatToken } from '../format/format'; + +// FORMATTING + +addFormatToken('z', 0, 0, 'zoneAbbr'); +addFormatToken('zz', 0, 0, 'zoneName'); + +// MOMENTS + +export function getZoneAbbr() { + return this._isUTC ? 'UTC' : ''; +} + +export function getZoneName() { + return this._isUTC ? 'Coordinated Universal Time' : ''; +} diff --git a/node_modules/moment/src/lib/units/units.js b/node_modules/moment/src/lib/units/units.js new file mode 100644 index 0000000..6f45f1c --- /dev/null +++ b/node_modules/moment/src/lib/units/units.js @@ -0,0 +1,20 @@ +// Side effect imports +import './day-of-month'; +import './day-of-week'; +import './day-of-year'; +import './hour'; +import './millisecond'; +import './minute'; +import './month'; +import './offset'; +import './quarter'; +import './second'; +import './timestamp'; +import './timezone'; +import './week-year'; +import './week'; +import './year'; + +import { normalizeUnits } from './aliases'; + +export { normalizeUnits }; diff --git a/node_modules/moment/src/lib/units/week-calendar-utils.js b/node_modules/moment/src/lib/units/week-calendar-utils.js new file mode 100644 index 0000000..be67184 --- /dev/null +++ b/node_modules/moment/src/lib/units/week-calendar-utils.js @@ -0,0 +1,66 @@ +import { daysInYear } from './year'; +import { createUTCDate } from '../create/date-from-array'; + +// start-of-first-week - start-of-year +function firstWeekOffset(year, dow, doy) { + var // first-week day -- which january is always in the first week (4 for iso, 1 for other) + fwd = 7 + dow - doy, + // first-week day local weekday -- which local weekday is fwd + fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7; + + return -fwdlw + fwd - 1; +} + +// https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday +export function dayOfYearFromWeeks(year, week, weekday, dow, doy) { + var localWeekday = (7 + weekday - dow) % 7, + weekOffset = firstWeekOffset(year, dow, doy), + dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset, + resYear, + resDayOfYear; + + if (dayOfYear <= 0) { + resYear = year - 1; + resDayOfYear = daysInYear(resYear) + dayOfYear; + } else if (dayOfYear > daysInYear(year)) { + resYear = year + 1; + resDayOfYear = dayOfYear - daysInYear(year); + } else { + resYear = year; + resDayOfYear = dayOfYear; + } + + return { + year: resYear, + dayOfYear: resDayOfYear, + }; +} + +export function weekOfYear(mom, dow, doy) { + var weekOffset = firstWeekOffset(mom.year(), dow, doy), + week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1, + resWeek, + resYear; + + if (week < 1) { + resYear = mom.year() - 1; + resWeek = week + weeksInYear(resYear, dow, doy); + } else if (week > weeksInYear(mom.year(), dow, doy)) { + resWeek = week - weeksInYear(mom.year(), dow, doy); + resYear = mom.year() + 1; + } else { + resYear = mom.year(); + resWeek = week; + } + + return { + week: resWeek, + year: resYear, + }; +} + +export function weeksInYear(year, dow, doy) { + var weekOffset = firstWeekOffset(year, dow, doy), + weekOffsetNext = firstWeekOffset(year + 1, dow, doy); + return (daysInYear(year) - weekOffset + weekOffsetNext) / 7; +} diff --git a/node_modules/moment/src/lib/units/week-year.js b/node_modules/moment/src/lib/units/week-year.js new file mode 100644 index 0000000..585362c --- /dev/null +++ b/node_modules/moment/src/lib/units/week-year.js @@ -0,0 +1,128 @@ +import { addFormatToken } from '../format/format'; +import { + addRegexToken, + match1to2, + match1to4, + match1to6, + match2, + match4, + match6, + matchSigned, +} from '../parse/regex'; +import { addWeekParseToken } from '../parse/token'; +import { + weekOfYear, + weeksInYear, + dayOfYearFromWeeks, +} from './week-calendar-utils'; +import toInt from '../utils/to-int'; +import { hooks } from '../utils/hooks'; +import { createUTCDate } from '../create/date-from-array'; + +// FORMATTING + +addFormatToken(0, ['gg', 2], 0, function () { + return this.weekYear() % 100; +}); + +addFormatToken(0, ['GG', 2], 0, function () { + return this.isoWeekYear() % 100; +}); + +function addWeekYearFormatToken(token, getter) { + addFormatToken(0, [token, token.length], 0, getter); +} + +addWeekYearFormatToken('gggg', 'weekYear'); +addWeekYearFormatToken('ggggg', 'weekYear'); +addWeekYearFormatToken('GGGG', 'isoWeekYear'); +addWeekYearFormatToken('GGGGG', 'isoWeekYear'); + +// ALIASES + +// PARSING + +addRegexToken('G', matchSigned); +addRegexToken('g', matchSigned); +addRegexToken('GG', match1to2, match2); +addRegexToken('gg', match1to2, match2); +addRegexToken('GGGG', match1to4, match4); +addRegexToken('gggg', match1to4, match4); +addRegexToken('GGGGG', match1to6, match6); +addRegexToken('ggggg', match1to6, match6); + +addWeekParseToken( + ['gggg', 'ggggg', 'GGGG', 'GGGGG'], + function (input, week, config, token) { + week[token.substr(0, 2)] = toInt(input); + } +); + +addWeekParseToken(['gg', 'GG'], function (input, week, config, token) { + week[token] = hooks.parseTwoDigitYear(input); +}); + +// MOMENTS + +export function getSetWeekYear(input) { + return getSetWeekYearHelper.call( + this, + input, + this.week(), + this.weekday() + this.localeData()._week.dow, + this.localeData()._week.dow, + this.localeData()._week.doy + ); +} + +export function getSetISOWeekYear(input) { + return getSetWeekYearHelper.call( + this, + input, + this.isoWeek(), + this.isoWeekday(), + 1, + 4 + ); +} + +export function getISOWeeksInYear() { + return weeksInYear(this.year(), 1, 4); +} + +export function getISOWeeksInISOWeekYear() { + return weeksInYear(this.isoWeekYear(), 1, 4); +} + +export function getWeeksInYear() { + var weekInfo = this.localeData()._week; + return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy); +} + +export function getWeeksInWeekYear() { + var weekInfo = this.localeData()._week; + return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy); +} + +function getSetWeekYearHelper(input, week, weekday, dow, doy) { + var weeksTarget; + if (input == null) { + return weekOfYear(this, dow, doy).year; + } else { + weeksTarget = weeksInYear(input, dow, doy); + if (week > weeksTarget) { + week = weeksTarget; + } + return setWeekAll.call(this, input, week, weekday, dow, doy); + } +} + +function setWeekAll(weekYear, week, weekday, dow, doy) { + var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy), + date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear); + + this.year(date.getUTCFullYear()); + this.month(date.getUTCMonth()); + this.date(date.getUTCDate()); + return this; +} diff --git a/node_modules/moment/src/lib/units/week.js b/node_modules/moment/src/lib/units/week.js new file mode 100644 index 0000000..2675e56 --- /dev/null +++ b/node_modules/moment/src/lib/units/week.js @@ -0,0 +1,62 @@ +import { addFormatToken } from '../format/format'; +import { + addRegexToken, + match1to2, + match2, + match1to2NoLeadingZero, +} from '../parse/regex'; +import { addWeekParseToken } from '../parse/token'; +import toInt from '../utils/to-int'; +import { weekOfYear } from './week-calendar-utils'; + +// FORMATTING + +addFormatToken('w', ['ww', 2], 'wo', 'week'); +addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek'); + +// PARSING + +addRegexToken('w', match1to2, match1to2NoLeadingZero); +addRegexToken('ww', match1to2, match2); +addRegexToken('W', match1to2, match1to2NoLeadingZero); +addRegexToken('WW', match1to2, match2); + +addWeekParseToken( + ['w', 'ww', 'W', 'WW'], + function (input, week, config, token) { + week[token.substr(0, 1)] = toInt(input); + } +); + +// HELPERS + +// LOCALES + +export function localeWeek(mom) { + return weekOfYear(mom, this._week.dow, this._week.doy).week; +} + +export var defaultLocaleWeek = { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. +}; + +export function localeFirstDayOfWeek() { + return this._week.dow; +} + +export function localeFirstDayOfYear() { + return this._week.doy; +} + +// MOMENTS + +export function getSetWeek(input) { + var week = this.localeData().week(this); + return input == null ? week : this.add((input - week) * 7, 'd'); +} + +export function getSetISOWeek(input) { + var week = weekOfYear(this, 1, 4).week; + return input == null ? week : this.add((input - week) * 7, 'd'); +} diff --git a/node_modules/moment/src/lib/units/year.js b/node_modules/moment/src/lib/units/year.js new file mode 100644 index 0000000..60c38bf --- /dev/null +++ b/node_modules/moment/src/lib/units/year.js @@ -0,0 +1,75 @@ +import { makeGetSet } from '../moment/get-set'; +import { addFormatToken } from '../format/format'; +import { + addRegexToken, + match1to2, + match1to4, + match1to6, + match2, + match4, + match6, + matchSigned, +} from '../parse/regex'; +import { addParseToken } from '../parse/token'; +import { isLeapYear } from '../utils/is-leap-year'; +import { hooks } from '../utils/hooks'; +import { YEAR } from './constants'; +import toInt from '../utils/to-int'; +import zeroFill from '../utils/zero-fill'; + +// FORMATTING + +addFormatToken('Y', 0, 0, function () { + var y = this.year(); + return y <= 9999 ? zeroFill(y, 4) : '+' + y; +}); + +addFormatToken(0, ['YY', 2], 0, function () { + return this.year() % 100; +}); + +addFormatToken(0, ['YYYY', 4], 0, 'year'); +addFormatToken(0, ['YYYYY', 5], 0, 'year'); +addFormatToken(0, ['YYYYYY', 6, true], 0, 'year'); + +// PARSING + +addRegexToken('Y', matchSigned); +addRegexToken('YY', match1to2, match2); +addRegexToken('YYYY', match1to4, match4); +addRegexToken('YYYYY', match1to6, match6); +addRegexToken('YYYYYY', match1to6, match6); + +addParseToken(['YYYYY', 'YYYYYY'], YEAR); +addParseToken('YYYY', function (input, array) { + array[YEAR] = + input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input); +}); +addParseToken('YY', function (input, array) { + array[YEAR] = hooks.parseTwoDigitYear(input); +}); +addParseToken('Y', function (input, array) { + array[YEAR] = parseInt(input, 10); +}); + +// HELPERS + +export function daysInYear(year) { + return isLeapYear(year) ? 366 : 365; +} + +export { isLeapYear }; + +// HOOKS + +hooks.parseTwoDigitYear = function (input) { + return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); +}; + +// MOMENTS + +export var getSetYear = makeGetSet('FullYear', true); + +export function getIsLeapYear() { + return isLeapYear(this.year()); +} diff --git a/node_modules/moment/src/lib/utils/abs-ceil.js b/node_modules/moment/src/lib/utils/abs-ceil.js new file mode 100644 index 0000000..e4c7bc2 --- /dev/null +++ b/node_modules/moment/src/lib/utils/abs-ceil.js @@ -0,0 +1,7 @@ +export default function absCeil(number) { + if (number < 0) { + return Math.floor(number); + } else { + return Math.ceil(number); + } +} diff --git a/node_modules/moment/src/lib/utils/abs-floor.js b/node_modules/moment/src/lib/utils/abs-floor.js new file mode 100644 index 0000000..7c2ed24 --- /dev/null +++ b/node_modules/moment/src/lib/utils/abs-floor.js @@ -0,0 +1,8 @@ +export default function absFloor(number) { + if (number < 0) { + // -0 -> 0 + return Math.ceil(number) || 0; + } else { + return Math.floor(number); + } +} diff --git a/node_modules/moment/src/lib/utils/abs-round.js b/node_modules/moment/src/lib/utils/abs-round.js new file mode 100644 index 0000000..175fea2 --- /dev/null +++ b/node_modules/moment/src/lib/utils/abs-round.js @@ -0,0 +1,7 @@ +export default function absRound(number) { + if (number < 0) { + return Math.round(-1 * number) * -1; + } else { + return Math.round(number); + } +} diff --git a/node_modules/moment/src/lib/utils/compare-arrays.js b/node_modules/moment/src/lib/utils/compare-arrays.js new file mode 100644 index 0000000..3e37b53 --- /dev/null +++ b/node_modules/moment/src/lib/utils/compare-arrays.js @@ -0,0 +1,18 @@ +import toInt from './to-int'; + +// compare two arrays, return the number of differences +export default function compareArrays(array1, array2, dontConvert) { + var len = Math.min(array1.length, array2.length), + lengthDiff = Math.abs(array1.length - array2.length), + diffs = 0, + i; + for (i = 0; i < len; i++) { + if ( + (dontConvert && array1[i] !== array2[i]) || + (!dontConvert && toInt(array1[i]) !== toInt(array2[i])) + ) { + diffs++; + } + } + return diffs + lengthDiff; +} diff --git a/node_modules/moment/src/lib/utils/defaults.js b/node_modules/moment/src/lib/utils/defaults.js new file mode 100644 index 0000000..45c5e87 --- /dev/null +++ b/node_modules/moment/src/lib/utils/defaults.js @@ -0,0 +1,10 @@ +// Pick the first defined of two or three arguments. +export default function defaults(a, b, c) { + if (a != null) { + return a; + } + if (b != null) { + return b; + } + return c; +} diff --git a/node_modules/moment/src/lib/utils/deprecate.js b/node_modules/moment/src/lib/utils/deprecate.js new file mode 100644 index 0000000..6f28236 --- /dev/null +++ b/node_modules/moment/src/lib/utils/deprecate.js @@ -0,0 +1,69 @@ +import extend from './extend'; +import { hooks } from './hooks'; +import hasOwnProp from './has-own-prop'; + +function warn(msg) { + if ( + hooks.suppressDeprecationWarnings === false && + typeof console !== 'undefined' && + console.warn + ) { + console.warn('Deprecation warning: ' + msg); + } +} + +export function deprecate(msg, fn) { + var firstTime = true; + + return extend(function () { + if (hooks.deprecationHandler != null) { + hooks.deprecationHandler(null, msg); + } + if (firstTime) { + var args = [], + arg, + i, + key, + argLen = arguments.length; + for (i = 0; i < argLen; i++) { + arg = ''; + if (typeof arguments[i] === 'object') { + arg += '\n[' + i + '] '; + for (key in arguments[0]) { + if (hasOwnProp(arguments[0], key)) { + arg += key + ': ' + arguments[0][key] + ', '; + } + } + arg = arg.slice(0, -2); // Remove trailing comma and space + } else { + arg = arguments[i]; + } + args.push(arg); + } + warn( + msg + + '\nArguments: ' + + Array.prototype.slice.call(args).join('') + + '\n' + + new Error().stack + ); + firstTime = false; + } + return fn.apply(this, arguments); + }, fn); +} + +var deprecations = {}; + +export function deprecateSimple(name, msg) { + if (hooks.deprecationHandler != null) { + hooks.deprecationHandler(name, msg); + } + if (!deprecations[name]) { + warn(msg); + deprecations[name] = true; + } +} + +hooks.suppressDeprecationWarnings = false; +hooks.deprecationHandler = null; diff --git a/node_modules/moment/src/lib/utils/extend.js b/node_modules/moment/src/lib/utils/extend.js new file mode 100644 index 0000000..ba74a0b --- /dev/null +++ b/node_modules/moment/src/lib/utils/extend.js @@ -0,0 +1,19 @@ +import hasOwnProp from './has-own-prop'; + +export default function extend(a, b) { + for (var i in b) { + if (hasOwnProp(b, i)) { + a[i] = b[i]; + } + } + + if (hasOwnProp(b, 'toString')) { + a.toString = b.toString; + } + + if (hasOwnProp(b, 'valueOf')) { + a.valueOf = b.valueOf; + } + + return a; +} diff --git a/node_modules/moment/src/lib/utils/has-own-prop.js b/node_modules/moment/src/lib/utils/has-own-prop.js new file mode 100644 index 0000000..4d2403c --- /dev/null +++ b/node_modules/moment/src/lib/utils/has-own-prop.js @@ -0,0 +1,3 @@ +export default function hasOwnProp(a, b) { + return Object.prototype.hasOwnProperty.call(a, b); +} diff --git a/node_modules/moment/src/lib/utils/hooks.js b/node_modules/moment/src/lib/utils/hooks.js new file mode 100644 index 0000000..2e86836 --- /dev/null +++ b/node_modules/moment/src/lib/utils/hooks.js @@ -0,0 +1,13 @@ +export { hooks, setHookCallback }; + +var hookCallback; + +function hooks() { + return hookCallback.apply(null, arguments); +} + +// This is done to register the method called with moment() +// without creating circular dependencies. +function setHookCallback(callback) { + hookCallback = callback; +} diff --git a/node_modules/moment/src/lib/utils/index-of.js b/node_modules/moment/src/lib/utils/index-of.js new file mode 100644 index 0000000..92298cf --- /dev/null +++ b/node_modules/moment/src/lib/utils/index-of.js @@ -0,0 +1,18 @@ +var indexOf; + +if (Array.prototype.indexOf) { + indexOf = Array.prototype.indexOf; +} else { + indexOf = function (o) { + // I know + var i; + for (i = 0; i < this.length; ++i) { + if (this[i] === o) { + return i; + } + } + return -1; + }; +} + +export { indexOf as default }; diff --git a/node_modules/moment/src/lib/utils/is-array.js b/node_modules/moment/src/lib/utils/is-array.js new file mode 100644 index 0000000..d57c875 --- /dev/null +++ b/node_modules/moment/src/lib/utils/is-array.js @@ -0,0 +1,6 @@ +export default function isArray(input) { + return ( + input instanceof Array || + Object.prototype.toString.call(input) === '[object Array]' + ); +} diff --git a/node_modules/moment/src/lib/utils/is-calendar-spec.js b/node_modules/moment/src/lib/utils/is-calendar-spec.js new file mode 100644 index 0000000..e8b6d38 --- /dev/null +++ b/node_modules/moment/src/lib/utils/is-calendar-spec.js @@ -0,0 +1,25 @@ +import isObjectEmpty from './is-object-empty'; +import hasOwnProp from './has-own-prop'; +import isObject from './is-object'; + +export default function isCalendarSpec(input) { + var objectTest = isObject(input) && !isObjectEmpty(input), + propertyTest = false, + properties = [ + 'sameDay', + 'nextDay', + 'lastDay', + 'nextWeek', + 'lastWeek', + 'sameElse', + ], + i, + property; + + for (i = 0; i < properties.length; i += 1) { + property = properties[i]; + propertyTest = propertyTest || hasOwnProp(input, property); + } + + return objectTest && propertyTest; +} diff --git a/node_modules/moment/src/lib/utils/is-date.js b/node_modules/moment/src/lib/utils/is-date.js new file mode 100644 index 0000000..378924b --- /dev/null +++ b/node_modules/moment/src/lib/utils/is-date.js @@ -0,0 +1,6 @@ +export default function isDate(input) { + return ( + input instanceof Date || + Object.prototype.toString.call(input) === '[object Date]' + ); +} diff --git a/node_modules/moment/src/lib/utils/is-function.js b/node_modules/moment/src/lib/utils/is-function.js new file mode 100644 index 0000000..4549686 --- /dev/null +++ b/node_modules/moment/src/lib/utils/is-function.js @@ -0,0 +1,6 @@ +export default function isFunction(input) { + return ( + (typeof Function !== 'undefined' && input instanceof Function) || + Object.prototype.toString.call(input) === '[object Function]' + ); +} diff --git a/node_modules/moment/src/lib/utils/is-leap-year.js b/node_modules/moment/src/lib/utils/is-leap-year.js new file mode 100644 index 0000000..e399d93 --- /dev/null +++ b/node_modules/moment/src/lib/utils/is-leap-year.js @@ -0,0 +1,3 @@ +export function isLeapYear(year) { + return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; +} diff --git a/node_modules/moment/src/lib/utils/is-moment-input.js b/node_modules/moment/src/lib/utils/is-moment-input.js new file mode 100644 index 0000000..7543bde --- /dev/null +++ b/node_modules/moment/src/lib/utils/is-moment-input.js @@ -0,0 +1,75 @@ +import isObjectEmpty from './is-object-empty'; +import hasOwnProp from './has-own-prop'; +import isObject from './is-object'; +import isDate from './is-date'; +import isNumber from './is-number'; +import isString from './is-string'; +import { isMoment } from '../moment/constructor'; +import isArray from './is-array'; + +// type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined +export function isMomentInput(input) { + return ( + isMoment(input) || + isDate(input) || + isString(input) || + isNumber(input) || + isNumberOrStringArray(input) || + isMomentInputObject(input) || + input === null || + input === undefined + ); +} + +export function isMomentInputObject(input) { + var objectTest = isObject(input) && !isObjectEmpty(input), + propertyTest = false, + properties = [ + 'years', + 'year', + 'y', + 'months', + 'month', + 'M', + 'days', + 'day', + 'd', + 'dates', + 'date', + 'D', + 'hours', + 'hour', + 'h', + 'minutes', + 'minute', + 'm', + 'seconds', + 'second', + 's', + 'milliseconds', + 'millisecond', + 'ms', + ], + i, + property, + propertyLen = properties.length; + + for (i = 0; i < propertyLen; i += 1) { + property = properties[i]; + propertyTest = propertyTest || hasOwnProp(input, property); + } + + return objectTest && propertyTest; +} + +function isNumberOrStringArray(input) { + var arrayTest = isArray(input), + dataTypeTest = false; + if (arrayTest) { + dataTypeTest = + input.filter(function (item) { + return !isNumber(item) && isString(input); + }).length === 0; + } + return arrayTest && dataTypeTest; +} diff --git a/node_modules/moment/src/lib/utils/is-number.js b/node_modules/moment/src/lib/utils/is-number.js new file mode 100644 index 0000000..4a73753 --- /dev/null +++ b/node_modules/moment/src/lib/utils/is-number.js @@ -0,0 +1,6 @@ +export default function isNumber(input) { + return ( + typeof input === 'number' || + Object.prototype.toString.call(input) === '[object Number]' + ); +} diff --git a/node_modules/moment/src/lib/utils/is-object-empty.js b/node_modules/moment/src/lib/utils/is-object-empty.js new file mode 100644 index 0000000..62f4e69 --- /dev/null +++ b/node_modules/moment/src/lib/utils/is-object-empty.js @@ -0,0 +1,15 @@ +import hasOwnProp from './has-own-prop'; + +export default function isObjectEmpty(obj) { + if (Object.getOwnPropertyNames) { + return Object.getOwnPropertyNames(obj).length === 0; + } else { + var k; + for (k in obj) { + if (hasOwnProp(obj, k)) { + return false; + } + } + return true; + } +} diff --git a/node_modules/moment/src/lib/utils/is-object.js b/node_modules/moment/src/lib/utils/is-object.js new file mode 100644 index 0000000..a1b2d42 --- /dev/null +++ b/node_modules/moment/src/lib/utils/is-object.js @@ -0,0 +1,8 @@ +export default function isObject(input) { + // IE8 will treat undefined and null as object if it wasn't for + // input != null + return ( + input != null && + Object.prototype.toString.call(input) === '[object Object]' + ); +} diff --git a/node_modules/moment/src/lib/utils/is-string.js b/node_modules/moment/src/lib/utils/is-string.js new file mode 100644 index 0000000..34b8dcc --- /dev/null +++ b/node_modules/moment/src/lib/utils/is-string.js @@ -0,0 +1,3 @@ +export default function isString(input) { + return typeof input === 'string' || input instanceof String; +} diff --git a/node_modules/moment/src/lib/utils/is-undefined.js b/node_modules/moment/src/lib/utils/is-undefined.js new file mode 100644 index 0000000..de57a8b --- /dev/null +++ b/node_modules/moment/src/lib/utils/is-undefined.js @@ -0,0 +1,3 @@ +export default function isUndefined(input) { + return input === void 0; +} diff --git a/node_modules/moment/src/lib/utils/keys.js b/node_modules/moment/src/lib/utils/keys.js new file mode 100644 index 0000000..1996e64 --- /dev/null +++ b/node_modules/moment/src/lib/utils/keys.js @@ -0,0 +1,20 @@ +import hasOwnProp from './has-own-prop'; + +var keys; + +if (Object.keys) { + keys = Object.keys; +} else { + keys = function (obj) { + var i, + res = []; + for (i in obj) { + if (hasOwnProp(obj, i)) { + res.push(i); + } + } + return res; + }; +} + +export { keys as default }; diff --git a/node_modules/moment/src/lib/utils/map.js b/node_modules/moment/src/lib/utils/map.js new file mode 100644 index 0000000..14245fe --- /dev/null +++ b/node_modules/moment/src/lib/utils/map.js @@ -0,0 +1,9 @@ +export default function map(arr, fn) { + var res = [], + i, + arrLen = arr.length; + for (i = 0; i < arrLen; ++i) { + res.push(fn(arr[i], i)); + } + return res; +} diff --git a/node_modules/moment/src/lib/utils/mod.js b/node_modules/moment/src/lib/utils/mod.js new file mode 100644 index 0000000..8046cda --- /dev/null +++ b/node_modules/moment/src/lib/utils/mod.js @@ -0,0 +1,3 @@ +export default function mod(n, x) { + return ((n % x) + x) % x; +} diff --git a/node_modules/moment/src/lib/utils/some.js b/node_modules/moment/src/lib/utils/some.js new file mode 100644 index 0000000..7c0dd39 --- /dev/null +++ b/node_modules/moment/src/lib/utils/some.js @@ -0,0 +1,20 @@ +var some; +if (Array.prototype.some) { + some = Array.prototype.some; +} else { + some = function (fun) { + var t = Object(this), + len = t.length >>> 0, + i; + + for (i = 0; i < len; i++) { + if (i in t && fun.call(this, t[i], i, t)) { + return true; + } + } + + return false; + }; +} + +export { some as default }; diff --git a/node_modules/moment/src/lib/utils/to-int.js b/node_modules/moment/src/lib/utils/to-int.js new file mode 100644 index 0000000..fb48941 --- /dev/null +++ b/node_modules/moment/src/lib/utils/to-int.js @@ -0,0 +1,12 @@ +import absFloor from './abs-floor'; + +export default function toInt(argumentForCoercion) { + var coercedNumber = +argumentForCoercion, + value = 0; + + if (coercedNumber !== 0 && isFinite(coercedNumber)) { + value = absFloor(coercedNumber); + } + + return value; +} diff --git a/node_modules/moment/src/lib/utils/zero-fill.js b/node_modules/moment/src/lib/utils/zero-fill.js new file mode 100644 index 0000000..e2d2f6e --- /dev/null +++ b/node_modules/moment/src/lib/utils/zero-fill.js @@ -0,0 +1,10 @@ +export default function zeroFill(number, targetLength, forceSign) { + var absNumber = '' + Math.abs(number), + zerosToFill = targetLength - absNumber.length, + sign = number >= 0; + return ( + (sign ? (forceSign ? '+' : '') : '-') + + Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + + absNumber + ); +} diff --git a/node_modules/moment/src/locale/af.js b/node_modules/moment/src/locale/af.js new file mode 100644 index 0000000..374d853 --- /dev/null +++ b/node_modules/moment/src/locale/af.js @@ -0,0 +1,71 @@ +//! moment.js locale configuration +//! locale : Afrikaans [af] +//! author : Werner Mollentze : https://github.com/wernerm + +import moment from '../moment'; + +export default moment.defineLocale('af', { + months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'), + weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split( + '_' + ), + weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'), + weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'), + meridiemParse: /vm|nm/i, + isPM: function (input) { + return /^nm$/i.test(input); + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'vm' : 'VM'; + } else { + return isLower ? 'nm' : 'NM'; + } + }, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Vandag om] LT', + nextDay: '[Môre om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[Gister om] LT', + lastWeek: '[Laas] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'oor %s', + past: '%s gelede', + s: "'n paar sekondes", + ss: '%d sekondes', + m: "'n minuut", + mm: '%d minute', + h: "'n uur", + hh: '%d ure', + d: "'n dag", + dd: '%d dae', + M: "'n maand", + MM: '%d maande', + y: "'n jaar", + yy: '%d jaar', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); // Thanks to Joris Röling : https://github.com/jjupiter + }, + week: { + dow: 1, // Maandag is die eerste dag van die week. + doy: 4, // Die week wat die 4de Januarie bevat is die eerste week van die jaar. + }, +}); diff --git a/node_modules/moment/src/locale/ar-dz.js b/node_modules/moment/src/locale/ar-dz.js new file mode 100644 index 0000000..61a41e7 --- /dev/null +++ b/node_modules/moment/src/locale/ar-dz.js @@ -0,0 +1,156 @@ +//! moment.js locale configuration +//! locale : Arabic (Algeria) [ar-dz] +//! author : Amine Roukh: https://github.com/Amine27 +//! author : Abdel Said: https://github.com/abdelsaid +//! author : Ahmed Elkhatib +//! author : forabi https://github.com/forabi +//! author : Noureddine LOUAHEDJ : https://github.com/noureddinem + +import moment from '../moment'; + +var pluralForm = function (n) { + return n === 0 + ? 0 + : n === 1 + ? 1 + : n === 2 + ? 2 + : n % 100 >= 3 && n % 100 <= 10 + ? 3 + : n % 100 >= 11 + ? 4 + : 5; + }, + plurals = { + s: [ + 'أقل من ثانية', + 'ثانية واحدة', + ['ثانيتان', 'ثانيتين'], + '%d ثوان', + '%d ثانية', + '%d ثانية', + ], + m: [ + 'أقل من دقيقة', + 'دقيقة واحدة', + ['دقيقتان', 'دقيقتين'], + '%d دقائق', + '%d دقيقة', + '%d دقيقة', + ], + h: [ + 'أقل من ساعة', + 'ساعة واحدة', + ['ساعتان', 'ساعتين'], + '%d ساعات', + '%d ساعة', + '%d ساعة', + ], + d: [ + 'أقل من يوم', + 'يوم واحد', + ['يومان', 'يومين'], + '%d أيام', + '%d يومًا', + '%d يوم', + ], + M: [ + 'أقل من شهر', + 'شهر واحد', + ['شهران', 'شهرين'], + '%d أشهر', + '%d شهرا', + '%d شهر', + ], + y: [ + 'أقل من عام', + 'عام واحد', + ['عامان', 'عامين'], + '%d أعوام', + '%d عامًا', + '%d عام', + ], + }, + pluralize = function (u) { + return function (number, withoutSuffix, string, isFuture) { + var f = pluralForm(number), + str = plurals[u][pluralForm(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }, + months = [ + 'جانفي', + 'فيفري', + 'مارس', + 'أفريل', + 'ماي', + 'جوان', + 'جويلية', + 'أوت', + 'سبتمبر', + 'أكتوبر', + 'نوفمبر', + 'ديسمبر', + ]; + +export default moment.defineLocale('ar-dz', { + months: months, + monthsShort: months, + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/\u200FM/\u200FYYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم عند الساعة] LT', + nextDay: '[غدًا عند الساعة] LT', + nextWeek: 'dddd [عند الساعة] LT', + lastDay: '[أمس عند الساعة] LT', + lastWeek: 'dddd [عند الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'بعد %s', + past: 'منذ %s', + s: pluralize('s'), + ss: pluralize('s'), + m: pluralize('m'), + mm: pluralize('m'), + h: pluralize('h'), + hh: pluralize('h'), + d: pluralize('d'), + dd: pluralize('d'), + M: pluralize('M'), + MM: pluralize('M'), + y: pluralize('y'), + yy: pluralize('y'), + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ar-kw.js b/node_modules/moment/src/locale/ar-kw.js new file mode 100644 index 0000000..c2b0f87 --- /dev/null +++ b/node_modules/moment/src/locale/ar-kw.js @@ -0,0 +1,55 @@ +//! moment.js locale configuration +//! locale : Arabic (Kuwait) [ar-kw] +//! author : Nusret Parlak: https://github.com/nusretparlak + +import moment from '../moment'; + +export default moment.defineLocale('ar-kw', { + months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_' + ), + monthsShort: + 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_' + ), + weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ar-ly.js b/node_modules/moment/src/locale/ar-ly.js new file mode 100644 index 0000000..88d5ef5 --- /dev/null +++ b/node_modules/moment/src/locale/ar-ly.js @@ -0,0 +1,171 @@ +//! moment.js locale configuration +//! locale : Arabic (Libya) [ar-ly] +//! author : Ali Hmer: https://github.com/kikoanis + +import moment from '../moment'; + +var symbolMap = { + 1: '1', + 2: '2', + 3: '3', + 4: '4', + 5: '5', + 6: '6', + 7: '7', + 8: '8', + 9: '9', + 0: '0', + }, + pluralForm = function (n) { + return n === 0 + ? 0 + : n === 1 + ? 1 + : n === 2 + ? 2 + : n % 100 >= 3 && n % 100 <= 10 + ? 3 + : n % 100 >= 11 + ? 4 + : 5; + }, + plurals = { + s: [ + 'أقل من ثانية', + 'ثانية واحدة', + ['ثانيتان', 'ثانيتين'], + '%d ثوان', + '%d ثانية', + '%d ثانية', + ], + m: [ + 'أقل من دقيقة', + 'دقيقة واحدة', + ['دقيقتان', 'دقيقتين'], + '%d دقائق', + '%d دقيقة', + '%d دقيقة', + ], + h: [ + 'أقل من ساعة', + 'ساعة واحدة', + ['ساعتان', 'ساعتين'], + '%d ساعات', + '%d ساعة', + '%d ساعة', + ], + d: [ + 'أقل من يوم', + 'يوم واحد', + ['يومان', 'يومين'], + '%d أيام', + '%d يومًا', + '%d يوم', + ], + M: [ + 'أقل من شهر', + 'شهر واحد', + ['شهران', 'شهرين'], + '%d أشهر', + '%d شهرا', + '%d شهر', + ], + y: [ + 'أقل من عام', + 'عام واحد', + ['عامان', 'عامين'], + '%d أعوام', + '%d عامًا', + '%d عام', + ], + }, + pluralize = function (u) { + return function (number, withoutSuffix, string, isFuture) { + var f = pluralForm(number), + str = plurals[u][pluralForm(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }, + months = [ + 'يناير', + 'فبراير', + 'مارس', + 'أبريل', + 'مايو', + 'يونيو', + 'يوليو', + 'أغسطس', + 'سبتمبر', + 'أكتوبر', + 'نوفمبر', + 'ديسمبر', + ]; + +export default moment.defineLocale('ar-ly', { + months: months, + monthsShort: months, + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/\u200FM/\u200FYYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم عند الساعة] LT', + nextDay: '[غدًا عند الساعة] LT', + nextWeek: 'dddd [عند الساعة] LT', + lastDay: '[أمس عند الساعة] LT', + lastWeek: 'dddd [عند الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'بعد %s', + past: 'منذ %s', + s: pluralize('s'), + ss: pluralize('s'), + m: pluralize('m'), + mm: pluralize('m'), + h: pluralize('h'), + hh: pluralize('h'), + d: pluralize('d'), + dd: pluralize('d'), + M: pluralize('M'), + MM: pluralize('M'), + y: pluralize('y'), + yy: pluralize('y'), + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ar-ma.js b/node_modules/moment/src/locale/ar-ma.js new file mode 100644 index 0000000..4010aa0 --- /dev/null +++ b/node_modules/moment/src/locale/ar-ma.js @@ -0,0 +1,56 @@ +//! moment.js locale configuration +//! locale : Arabic (Morocco) [ar-ma] +//! author : ElFadili Yassine : https://github.com/ElFadiliY +//! author : Abdel Said : https://github.com/abdelsaid + +import moment from '../moment'; + +export default moment.defineLocale('ar-ma', { + months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_' + ), + monthsShort: + 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_' + ), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ar-ps.js b/node_modules/moment/src/locale/ar-ps.js new file mode 100644 index 0000000..143da7d --- /dev/null +++ b/node_modules/moment/src/locale/ar-ps.js @@ -0,0 +1,112 @@ +//! moment.js locale configuration +//! locale : Arabic (Palestine) [ar-ps] +//! author : Majd Al-Shihabi : https://github.com/majdal + +import moment from '../moment'; + +var symbolMap = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }; + +export default moment.defineLocale('ar-ps', { + months: 'كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل'.split( + '_' + ), + monthsShort: + 'ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١'.split('_'), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + preparse: function (string) { + return string + .replace(/[٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }) + .split('') // reversed since negative lookbehind not supported everywhere + .reverse() + .join('') + .replace(/[١٢](?![\u062a\u0643])/g, function (match) { + return numberMap[match]; + }) + .split('') + .reverse() + .join('') + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ar-sa.js b/node_modules/moment/src/locale/ar-sa.js new file mode 100644 index 0000000..4505ea1 --- /dev/null +++ b/node_modules/moment/src/locale/ar-sa.js @@ -0,0 +1,105 @@ +//! moment.js locale configuration +//! locale : Arabic (Saudi Arabia) [ar-sa] +//! author : Suhail Alkowaileet : https://github.com/xsoh + +import moment from '../moment'; + +var symbolMap = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }; + +export default moment.defineLocale('ar-sa', { + months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_' + ), + monthsShort: + 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_' + ), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + preparse: function (string) { + return string + .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }) + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ar-tn.js b/node_modules/moment/src/locale/ar-tn.js new file mode 100644 index 0000000..0f416ae --- /dev/null +++ b/node_modules/moment/src/locale/ar-tn.js @@ -0,0 +1,55 @@ +//! moment.js locale configuration +//! locale : Arabic (Tunisia) [ar-tn] +//! author : Nader Toukabri : https://github.com/naderio + +import moment from '../moment'; + +export default moment.defineLocale('ar-tn', { + months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_' + ), + monthsShort: + 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_' + ), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + ss: '%d ثانية', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ar.js b/node_modules/moment/src/locale/ar.js new file mode 100644 index 0000000..846e491 --- /dev/null +++ b/node_modules/moment/src/locale/ar.js @@ -0,0 +1,189 @@ +//! moment.js locale configuration +//! locale : Arabic [ar] +//! author : Abdel Said: https://github.com/abdelsaid +//! author : Ahmed Elkhatib +//! author : forabi https://github.com/forabi + +import moment from '../moment'; + +var symbolMap = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }, + pluralForm = function (n) { + return n === 0 + ? 0 + : n === 1 + ? 1 + : n === 2 + ? 2 + : n % 100 >= 3 && n % 100 <= 10 + ? 3 + : n % 100 >= 11 + ? 4 + : 5; + }, + plurals = { + s: [ + 'أقل من ثانية', + 'ثانية واحدة', + ['ثانيتان', 'ثانيتين'], + '%d ثوان', + '%d ثانية', + '%d ثانية', + ], + m: [ + 'أقل من دقيقة', + 'دقيقة واحدة', + ['دقيقتان', 'دقيقتين'], + '%d دقائق', + '%d دقيقة', + '%d دقيقة', + ], + h: [ + 'أقل من ساعة', + 'ساعة واحدة', + ['ساعتان', 'ساعتين'], + '%d ساعات', + '%d ساعة', + '%d ساعة', + ], + d: [ + 'أقل من يوم', + 'يوم واحد', + ['يومان', 'يومين'], + '%d أيام', + '%d يومًا', + '%d يوم', + ], + M: [ + 'أقل من شهر', + 'شهر واحد', + ['شهران', 'شهرين'], + '%d أشهر', + '%d شهرا', + '%d شهر', + ], + y: [ + 'أقل من عام', + 'عام واحد', + ['عامان', 'عامين'], + '%d أعوام', + '%d عامًا', + '%d عام', + ], + }, + pluralize = function (u) { + return function (number, withoutSuffix, string, isFuture) { + var f = pluralForm(number), + str = plurals[u][pluralForm(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }, + months = [ + 'يناير', + 'فبراير', + 'مارس', + 'أبريل', + 'مايو', + 'يونيو', + 'يوليو', + 'أغسطس', + 'سبتمبر', + 'أكتوبر', + 'نوفمبر', + 'ديسمبر', + ]; + +export default moment.defineLocale('ar', { + months: months, + monthsShort: months, + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/\u200FM/\u200FYYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ص|م/, + isPM: function (input) { + return 'م' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar: { + sameDay: '[اليوم عند الساعة] LT', + nextDay: '[غدًا عند الساعة] LT', + nextWeek: 'dddd [عند الساعة] LT', + lastDay: '[أمس عند الساعة] LT', + lastWeek: 'dddd [عند الساعة] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'بعد %s', + past: 'منذ %s', + s: pluralize('s'), + ss: pluralize('s'), + m: pluralize('m'), + mm: pluralize('m'), + h: pluralize('h'), + hh: pluralize('h'), + d: pluralize('d'), + dd: pluralize('d'), + M: pluralize('M'), + MM: pluralize('M'), + y: pluralize('y'), + yy: pluralize('y'), + }, + preparse: function (string) { + return string + .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }) + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/az.js b/node_modules/moment/src/locale/az.js new file mode 100644 index 0000000..2e06aa1 --- /dev/null +++ b/node_modules/moment/src/locale/az.js @@ -0,0 +1,102 @@ +//! moment.js locale configuration +//! locale : Azerbaijani [az] +//! author : topchiyev : https://github.com/topchiyev + +import moment from '../moment'; + +var suffixes = { + 1: '-inci', + 5: '-inci', + 8: '-inci', + 70: '-inci', + 80: '-inci', + 2: '-nci', + 7: '-nci', + 20: '-nci', + 50: '-nci', + 3: '-üncü', + 4: '-üncü', + 100: '-üncü', + 6: '-ncı', + 9: '-uncu', + 10: '-uncu', + 30: '-uncu', + 60: '-ıncı', + 90: '-ıncı', +}; + +export default moment.defineLocale('az', { + months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split( + '_' + ), + monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'), + weekdays: + 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split( + '_' + ), + weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'), + weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[bugün saat] LT', + nextDay: '[sabah saat] LT', + nextWeek: '[gələn həftə] dddd [saat] LT', + lastDay: '[dünən] LT', + lastWeek: '[keçən həftə] dddd [saat] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s sonra', + past: '%s əvvəl', + s: 'bir neçə saniyə', + ss: '%d saniyə', + m: 'bir dəqiqə', + mm: '%d dəqiqə', + h: 'bir saat', + hh: '%d saat', + d: 'bir gün', + dd: '%d gün', + M: 'bir ay', + MM: '%d ay', + y: 'bir il', + yy: '%d il', + }, + meridiemParse: /gecə|səhər|gündüz|axşam/, + isPM: function (input) { + return /^(gündüz|axşam)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'gecə'; + } else if (hour < 12) { + return 'səhər'; + } else if (hour < 17) { + return 'gündüz'; + } else { + return 'axşam'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/, + ordinal: function (number) { + if (number === 0) { + // special case for zero + return number + '-ıncı'; + } + var a = number % 10, + b = (number % 100) - a, + c = number >= 100 ? 100 : null; + return number + (suffixes[a] || suffixes[b] || suffixes[c]); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/be.js b/node_modules/moment/src/locale/be.js new file mode 100644 index 0000000..39e97a2 --- /dev/null +++ b/node_modules/moment/src/locale/be.js @@ -0,0 +1,142 @@ +//! moment.js locale configuration +//! locale : Belarusian [be] +//! author : Dmitry Demidov : https://github.com/demidov91 +//! author: Praleska: http://praleska.pro/ +//! Author : Menelion Elensúle : https://github.com/Oire + +import moment from '../moment'; + +function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 + ? forms[0] + : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) + ? forms[1] + : forms[2]; +} +function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд', + mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін', + hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін', + dd: 'дзень_дні_дзён', + MM: 'месяц_месяцы_месяцаў', + yy: 'год_гады_гадоў', + }; + if (key === 'm') { + return withoutSuffix ? 'хвіліна' : 'хвіліну'; + } else if (key === 'h') { + return withoutSuffix ? 'гадзіна' : 'гадзіну'; + } else { + return number + ' ' + plural(format[key], +number); + } +} + +export default moment.defineLocale('be', { + months: { + format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split( + '_' + ), + standalone: + 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split( + '_' + ), + }, + monthsShort: + 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'), + weekdays: { + format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split( + '_' + ), + standalone: + 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split( + '_' + ), + isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/, + }, + weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'), + weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY г.', + LLL: 'D MMMM YYYY г., HH:mm', + LLLL: 'dddd, D MMMM YYYY г., HH:mm', + }, + calendar: { + sameDay: '[Сёння ў] LT', + nextDay: '[Заўтра ў] LT', + lastDay: '[Учора ў] LT', + nextWeek: function () { + return '[У] dddd [ў] LT'; + }, + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 5: + case 6: + return '[У мінулую] dddd [ў] LT'; + case 1: + case 2: + case 4: + return '[У мінулы] dddd [ў] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'праз %s', + past: '%s таму', + s: 'некалькі секунд', + m: relativeTimeWithPlural, + mm: relativeTimeWithPlural, + h: relativeTimeWithPlural, + hh: relativeTimeWithPlural, + d: 'дзень', + dd: relativeTimeWithPlural, + M: 'месяц', + MM: relativeTimeWithPlural, + y: 'год', + yy: relativeTimeWithPlural, + }, + meridiemParse: /ночы|раніцы|дня|вечара/, + isPM: function (input) { + return /^(дня|вечара)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ночы'; + } else if (hour < 12) { + return 'раніцы'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечара'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + case 'w': + case 'W': + return (number % 10 === 2 || number % 10 === 3) && + number % 100 !== 12 && + number % 100 !== 13 + ? number + '-і' + : number + '-ы'; + case 'D': + return number + '-га'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/bg.js b/node_modules/moment/src/locale/bg.js new file mode 100644 index 0000000..e8b060f --- /dev/null +++ b/node_modules/moment/src/locale/bg.js @@ -0,0 +1,87 @@ +//! moment.js locale configuration +//! locale : Bulgarian [bg] +//! author : Krasen Borisov : https://github.com/kraz + +import moment from '../moment'; + +export default moment.defineLocale('bg', { + months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split( + '_' + ), + monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'), + weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split( + '_' + ), + weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'), + weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[Днес в] LT', + nextDay: '[Утре в] LT', + nextWeek: 'dddd [в] LT', + lastDay: '[Вчера в] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 6: + return '[Миналата] dddd [в] LT'; + case 1: + case 2: + case 4: + case 5: + return '[Миналия] dddd [в] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'след %s', + past: 'преди %s', + s: 'няколко секунди', + ss: '%d секунди', + m: 'минута', + mm: '%d минути', + h: 'час', + hh: '%d часа', + d: 'ден', + dd: '%d дена', + w: 'седмица', + ww: '%d седмици', + M: 'месец', + MM: '%d месеца', + y: 'година', + yy: '%d години', + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, + ordinal: function (number) { + var lastDigit = number % 10, + last2Digits = number % 100; + if (number === 0) { + return number + '-ев'; + } else if (last2Digits === 0) { + return number + '-ен'; + } else if (last2Digits > 10 && last2Digits < 20) { + return number + '-ти'; + } else if (lastDigit === 1) { + return number + '-ви'; + } else if (lastDigit === 2) { + return number + '-ри'; + } else if (lastDigit === 7 || lastDigit === 8) { + return number + '-ми'; + } else { + return number + '-ти'; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/bm.js b/node_modules/moment/src/locale/bm.js new file mode 100644 index 0000000..037d018 --- /dev/null +++ b/node_modules/moment/src/locale/bm.js @@ -0,0 +1,52 @@ +//! moment.js locale configuration +//! locale : Bambara [bm] +//! author : Estelle Comment : https://github.com/estellecomment +// Language contact person : Abdoufata Kane : https://github.com/abdoufata + +import moment from '../moment'; + +export default moment.defineLocale('bm', { + months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split( + '_' + ), + monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'), + weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'), + weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'), + weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'MMMM [tile] D [san] YYYY', + LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm', + LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm', + }, + calendar: { + sameDay: '[Bi lɛrɛ] LT', + nextDay: '[Sini lɛrɛ] LT', + nextWeek: 'dddd [don lɛrɛ] LT', + lastDay: '[Kunu lɛrɛ] LT', + lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s kɔnɔ', + past: 'a bɛ %s bɔ', + s: 'sanga dama dama', + ss: 'sekondi %d', + m: 'miniti kelen', + mm: 'miniti %d', + h: 'lɛrɛ kelen', + hh: 'lɛrɛ %d', + d: 'tile kelen', + dd: 'tile %d', + M: 'kalo kelen', + MM: 'kalo %d', + y: 'san kelen', + yy: 'san %d', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/bn-bd.js b/node_modules/moment/src/locale/bn-bd.js new file mode 100644 index 0000000..054f44f --- /dev/null +++ b/node_modules/moment/src/locale/bn-bd.js @@ -0,0 +1,129 @@ +//! moment.js locale configuration +//! locale : Bengali (Bangladesh) [bn-bd] +//! author : Asraf Hossain Patoary : https://github.com/ashwoolford + +import moment from '../moment'; + +var symbolMap = { + 1: '১', + 2: '২', + 3: '৩', + 4: '৪', + 5: '৫', + 6: '৬', + 7: '৭', + 8: '৮', + 9: '৯', + 0: '০', + }, + numberMap = { + '১': '1', + '২': '2', + '৩': '3', + '৪': '4', + '৫': '5', + '৬': '6', + '৭': '7', + '৮': '8', + '৯': '9', + '০': '0', + }; + +export default moment.defineLocale('bn-bd', { + months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split( + '_' + ), + monthsShort: + 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split( + '_' + ), + weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split( + '_' + ), + weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'), + weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'), + longDateFormat: { + LT: 'A h:mm সময়', + LTS: 'A h:mm:ss সময়', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm সময়', + LLLL: 'dddd, D MMMM YYYY, A h:mm সময়', + }, + calendar: { + sameDay: '[আজ] LT', + nextDay: '[আগামীকাল] LT', + nextWeek: 'dddd, LT', + lastDay: '[গতকাল] LT', + lastWeek: '[গত] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s পরে', + past: '%s আগে', + s: 'কয়েক সেকেন্ড', + ss: '%d সেকেন্ড', + m: 'এক মিনিট', + mm: '%d মিনিট', + h: 'এক ঘন্টা', + hh: '%d ঘন্টা', + d: 'এক দিন', + dd: '%d দিন', + M: 'এক মাস', + MM: '%d মাস', + y: 'এক বছর', + yy: '%d বছর', + }, + preparse: function (string) { + return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + + meridiemParse: /রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'রাত') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ভোর') { + return hour; + } else if (meridiem === 'সকাল') { + return hour; + } else if (meridiem === 'দুপুর') { + return hour >= 3 ? hour : hour + 12; + } else if (meridiem === 'বিকাল') { + return hour + 12; + } else if (meridiem === 'সন্ধ্যা') { + return hour + 12; + } + }, + + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'রাত'; + } else if (hour < 6) { + return 'ভোর'; + } else if (hour < 12) { + return 'সকাল'; + } else if (hour < 15) { + return 'দুপুর'; + } else if (hour < 18) { + return 'বিকাল'; + } else if (hour < 20) { + return 'সন্ধ্যা'; + } else { + return 'রাত'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/bn.js b/node_modules/moment/src/locale/bn.js new file mode 100644 index 0000000..14ba050 --- /dev/null +++ b/node_modules/moment/src/locale/bn.js @@ -0,0 +1,119 @@ +//! moment.js locale configuration +//! locale : Bengali [bn] +//! author : Kaushik Gandhi : https://github.com/kaushikgandhi + +import moment from '../moment'; + +var symbolMap = { + 1: '১', + 2: '২', + 3: '৩', + 4: '৪', + 5: '৫', + 6: '৬', + 7: '৭', + 8: '৮', + 9: '৯', + 0: '০', + }, + numberMap = { + '১': '1', + '২': '2', + '৩': '3', + '৪': '4', + '৫': '5', + '৬': '6', + '৭': '7', + '৮': '8', + '৯': '9', + '০': '0', + }; + +export default moment.defineLocale('bn', { + months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split( + '_' + ), + monthsShort: + 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split( + '_' + ), + weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split( + '_' + ), + weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'), + weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'), + longDateFormat: { + LT: 'A h:mm সময়', + LTS: 'A h:mm:ss সময়', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm সময়', + LLLL: 'dddd, D MMMM YYYY, A h:mm সময়', + }, + calendar: { + sameDay: '[আজ] LT', + nextDay: '[আগামীকাল] LT', + nextWeek: 'dddd, LT', + lastDay: '[গতকাল] LT', + lastWeek: '[গত] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s পরে', + past: '%s আগে', + s: 'কয়েক সেকেন্ড', + ss: '%d সেকেন্ড', + m: 'এক মিনিট', + mm: '%d মিনিট', + h: 'এক ঘন্টা', + hh: '%d ঘন্টা', + d: 'এক দিন', + dd: '%d দিন', + M: 'এক মাস', + MM: '%d মাস', + y: 'এক বছর', + yy: '%d বছর', + }, + preparse: function (string) { + return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + (meridiem === 'রাত' && hour >= 4) || + (meridiem === 'দুপুর' && hour < 5) || + meridiem === 'বিকাল' + ) { + return hour + 12; + } else { + return hour; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'রাত'; + } else if (hour < 10) { + return 'সকাল'; + } else if (hour < 17) { + return 'দুপুর'; + } else if (hour < 20) { + return 'বিকাল'; + } else { + return 'রাত'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/bo.js b/node_modules/moment/src/locale/bo.js new file mode 100644 index 0000000..4fbca2e --- /dev/null +++ b/node_modules/moment/src/locale/bo.js @@ -0,0 +1,124 @@ +//! moment.js locale configuration +//! locale : Tibetan [bo] +//! author : Thupten N. Chakrishar : https://github.com/vajradog + +import moment from '../moment'; + +var symbolMap = { + 1: '༡', + 2: '༢', + 3: '༣', + 4: '༤', + 5: '༥', + 6: '༦', + 7: '༧', + 8: '༨', + 9: '༩', + 0: '༠', + }, + numberMap = { + '༡': '1', + '༢': '2', + '༣': '3', + '༤': '4', + '༥': '5', + '༦': '6', + '༧': '7', + '༨': '8', + '༩': '9', + '༠': '0', + }; + +export default moment.defineLocale('bo', { + months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split( + '_' + ), + monthsShort: + 'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split( + '_' + ), + monthsShortRegex: /^(ཟླ་\d{1,2})/, + monthsParseExact: true, + weekdays: + 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split( + '_' + ), + weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split( + '_' + ), + weekdaysMin: 'ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm', + }, + calendar: { + sameDay: '[དི་རིང] LT', + nextDay: '[སང་ཉིན] LT', + nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT', + lastDay: '[ཁ་སང] LT', + lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ལ་', + past: '%s སྔན་ལ', + s: 'ལམ་སང', + ss: '%d སྐར་ཆ།', + m: 'སྐར་མ་གཅིག', + mm: '%d སྐར་མ', + h: 'ཆུ་ཚོད་གཅིག', + hh: '%d ཆུ་ཚོད', + d: 'ཉིན་གཅིག', + dd: '%d ཉིན་', + M: 'ཟླ་བ་གཅིག', + MM: '%d ཟླ་བ', + y: 'ལོ་གཅིག', + yy: '%d ལོ', + }, + preparse: function (string) { + return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + (meridiem === 'མཚན་མོ' && hour >= 4) || + (meridiem === 'ཉིན་གུང' && hour < 5) || + meridiem === 'དགོང་དག' + ) { + return hour + 12; + } else { + return hour; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'མཚན་མོ'; + } else if (hour < 10) { + return 'ཞོགས་ཀས'; + } else if (hour < 17) { + return 'ཉིན་གུང'; + } else if (hour < 20) { + return 'དགོང་དག'; + } else { + return 'མཚན་མོ'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/br.js b/node_modules/moment/src/locale/br.js new file mode 100644 index 0000000..a7dda49 --- /dev/null +++ b/node_modules/moment/src/locale/br.js @@ -0,0 +1,168 @@ +//! moment.js locale configuration +//! locale : Breton [br] +//! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou + +import moment from '../moment'; + +function relativeTimeWithMutation(number, withoutSuffix, key) { + var format = { + mm: 'munutenn', + MM: 'miz', + dd: 'devezh', + }; + return number + ' ' + mutation(format[key], number); +} +function specialMutationForYears(number) { + switch (lastNumber(number)) { + case 1: + case 3: + case 4: + case 5: + case 9: + return number + ' bloaz'; + default: + return number + ' vloaz'; + } +} +function lastNumber(number) { + if (number > 9) { + return lastNumber(number % 10); + } + return number; +} +function mutation(text, number) { + if (number === 2) { + return softMutation(text); + } + return text; +} +function softMutation(text) { + var mutationTable = { + m: 'v', + b: 'v', + d: 'z', + }; + if (mutationTable[text.charAt(0)] === undefined) { + return text; + } + return mutationTable[text.charAt(0)] + text.substring(1); +} + +var monthsParse = [ + /^gen/i, + /^c[ʼ\']hwe/i, + /^meu/i, + /^ebr/i, + /^mae/i, + /^(mez|eve)/i, + /^gou/i, + /^eos/i, + /^gwe/i, + /^her/i, + /^du/i, + /^ker/i, + ], + monthsRegex = + /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i, + monthsStrictRegex = + /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i, + monthsShortStrictRegex = + /^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i, + fullWeekdaysParse = [ + /^sul/i, + /^lun/i, + /^meurzh/i, + /^merc[ʼ\']her/i, + /^yaou/i, + /^gwener/i, + /^sadorn/i, + ], + shortWeekdaysParse = [ + /^Sul/i, + /^Lun/i, + /^Meu/i, + /^Mer/i, + /^Yao/i, + /^Gwe/i, + /^Sad/i, + ], + minWeekdaysParse = [ + /^Su/i, + /^Lu/i, + /^Me([^r]|$)/i, + /^Mer/i, + /^Ya/i, + /^Gw/i, + /^Sa/i, + ]; + +export default moment.defineLocale('br', { + months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split( + '_' + ), + monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'), + weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'), + weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'), + weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'), + weekdaysParse: minWeekdaysParse, + fullWeekdaysParse: fullWeekdaysParse, + shortWeekdaysParse: shortWeekdaysParse, + minWeekdaysParse: minWeekdaysParse, + + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: monthsStrictRegex, + monthsShortStrictRegex: monthsShortStrictRegex, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [a viz] MMMM YYYY', + LLL: 'D [a viz] MMMM YYYY HH:mm', + LLLL: 'dddd, D [a viz] MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Hiziv da] LT', + nextDay: '[Warcʼhoazh da] LT', + nextWeek: 'dddd [da] LT', + lastDay: '[Decʼh da] LT', + lastWeek: 'dddd [paset da] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'a-benn %s', + past: '%s ʼzo', + s: 'un nebeud segondennoù', + ss: '%d eilenn', + m: 'ur vunutenn', + mm: relativeTimeWithMutation, + h: 'un eur', + hh: '%d eur', + d: 'un devezh', + dd: relativeTimeWithMutation, + M: 'ur miz', + MM: relativeTimeWithMutation, + y: 'ur bloaz', + yy: specialMutationForYears, + }, + dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/, + ordinal: function (number) { + var output = number === 1 ? 'añ' : 'vet'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + meridiemParse: /a.m.|g.m./, // goude merenn | a-raok merenn + isPM: function (token) { + return token === 'g.m.'; + }, + meridiem: function (hour, minute, isLower) { + return hour < 12 ? 'a.m.' : 'g.m.'; + }, +}); diff --git a/node_modules/moment/src/locale/bs.js b/node_modules/moment/src/locale/bs.js new file mode 100644 index 0000000..5235fe9 --- /dev/null +++ b/node_modules/moment/src/locale/bs.js @@ -0,0 +1,160 @@ +//! moment.js locale configuration +//! locale : Bosnian [bs] +//! author : Nedim Cholich : https://github.com/frontyard +//! author : Rasid Redzic : https://github.com/rasidre +//! based on (hr) translation by Bojan Marković + +import moment from '../moment'; + +function processRelativeTime(number, withoutSuffix, key, isFuture) { + switch (key) { + case 'm': + return withoutSuffix + ? 'jedna minuta' + : isFuture + ? 'jednu minutu' + : 'jedne minute'; + } +} + +function translate(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'ss': + if (number === 1) { + result += 'sekunda'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sekunde'; + } else { + result += 'sekundi'; + } + return result; + case 'mm': + if (number === 1) { + result += 'minuta'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'minute'; + } else { + result += 'minuta'; + } + return result; + case 'h': + return withoutSuffix ? 'jedan sat' : 'jedan sat'; + case 'hh': + if (number === 1) { + result += 'sat'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sata'; + } else { + result += 'sati'; + } + return result; + case 'dd': + if (number === 1) { + result += 'dan'; + } else { + result += 'dana'; + } + return result; + case 'MM': + if (number === 1) { + result += 'mjesec'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'mjeseca'; + } else { + result += 'mjeseci'; + } + return result; + case 'yy': + if (number === 1) { + result += 'godina'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'godine'; + } else { + result += 'godina'; + } + return result; + } +} + +export default moment.defineLocale('bs', { + months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split( + '_' + ), + monthsShort: + 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( + '_' + ), + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sutra u] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay: '[jučer u] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + return '[prošlu] dddd [u] LT'; + case 6: + return '[prošle] [subote] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prošli] dddd [u] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'prije %s', + s: 'par sekundi', + ss: translate, + m: processRelativeTime, + mm: translate, + h: translate, + hh: translate, + d: 'dan', + dd: translate, + M: 'mjesec', + MM: translate, + y: 'godinu', + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ca.js b/node_modules/moment/src/locale/ca.js new file mode 100644 index 0000000..c356211 --- /dev/null +++ b/node_modules/moment/src/locale/ca.js @@ -0,0 +1,100 @@ +//! moment.js locale configuration +//! locale : Catalan [ca] +//! author : Juan G. Hurtado : https://github.com/juanghurtado + +import moment from '../moment'; + +export default moment.defineLocale('ca', { + months: { + standalone: + 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split( + '_' + ), + format: "de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split( + '_' + ), + isFormat: /D[oD]?(\s)+MMMM/, + }, + monthsShort: + 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split( + '_' + ), + weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'), + weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [de] YYYY', + ll: 'D MMM YYYY', + LLL: 'D MMMM [de] YYYY [a les] H:mm', + lll: 'D MMM YYYY, H:mm', + LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm', + llll: 'ddd D MMM YYYY, H:mm', + }, + calendar: { + sameDay: function () { + return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + nextDay: function () { + return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + lastDay: function () { + return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [passat a ' + + (this.hours() !== 1 ? 'les' : 'la') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: "d'aquí %s", + past: 'fa %s', + s: 'uns segons', + ss: '%d segons', + m: 'un minut', + mm: '%d minuts', + h: 'una hora', + hh: '%d hores', + d: 'un dia', + dd: '%d dies', + M: 'un mes', + MM: '%d mesos', + y: 'un any', + yy: '%d anys', + }, + dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/, + ordinal: function (number, period) { + var output = + number === 1 + ? 'r' + : number === 2 + ? 'n' + : number === 3 + ? 'r' + : number === 4 + ? 't' + : 'è'; + if (period === 'w' || period === 'W') { + output = 'a'; + } + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/cs.js b/node_modules/moment/src/locale/cs.js new file mode 100644 index 0000000..bf5dd09 --- /dev/null +++ b/node_modules/moment/src/locale/cs.js @@ -0,0 +1,181 @@ +//! moment.js locale configuration +//! locale : Czech [cs] +//! author : petrbela : https://github.com/petrbela + +import moment from '../moment'; + +var months = { + standalone: + 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split( + '_' + ), + format: 'ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince'.split( + '_' + ), + isFormat: /DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/, + }, + monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'), + monthsParse = [ + /^led/i, + /^úno/i, + /^bře/i, + /^dub/i, + /^kvě/i, + /^(čvn|červen$|června)/i, + /^(čvc|červenec|července)/i, + /^srp/i, + /^zář/i, + /^říj/i, + /^lis/i, + /^pro/i, + ], + // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched. + // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'. + monthsRegex = + /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i; + +function plural(n) { + return n > 1 && n < 5 && ~~(n / 10) !== 1; +} +function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': // a few seconds / in a few seconds / a few seconds ago + return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami'; + case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'sekundy' : 'sekund'); + } else { + return result + 'sekundami'; + } + case 'm': // a minute / in a minute / a minute ago + return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou'; + case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'minuty' : 'minut'); + } else { + return result + 'minutami'; + } + case 'h': // an hour / in an hour / an hour ago + return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou'; + case 'hh': // 9 hours / in 9 hours / 9 hours ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'hodiny' : 'hodin'); + } else { + return result + 'hodinami'; + } + case 'd': // a day / in a day / a day ago + return withoutSuffix || isFuture ? 'den' : 'dnem'; + case 'dd': // 9 days / in 9 days / 9 days ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'dny' : 'dní'); + } else { + return result + 'dny'; + } + case 'M': // a month / in a month / a month ago + return withoutSuffix || isFuture ? 'měsíc' : 'měsícem'; + case 'MM': // 9 months / in 9 months / 9 months ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'měsíce' : 'měsíců'); + } else { + return result + 'měsíci'; + } + case 'y': // a year / in a year / a year ago + return withoutSuffix || isFuture ? 'rok' : 'rokem'; + case 'yy': // 9 years / in 9 years / 9 years ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'roky' : 'let'); + } else { + return result + 'lety'; + } + } +} + +export default moment.defineLocale('cs', { + months: months, + monthsShort: monthsShort, + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched. + // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'. + monthsStrictRegex: + /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i, + monthsShortStrictRegex: + /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'), + weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'), + weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd D. MMMM YYYY H:mm', + l: 'D. M. YYYY', + }, + calendar: { + sameDay: '[dnes v] LT', + nextDay: '[zítra v] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[v neděli v] LT'; + case 1: + case 2: + return '[v] dddd [v] LT'; + case 3: + return '[ve středu v] LT'; + case 4: + return '[ve čtvrtek v] LT'; + case 5: + return '[v pátek v] LT'; + case 6: + return '[v sobotu v] LT'; + } + }, + lastDay: '[včera v] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[minulou neděli v] LT'; + case 1: + case 2: + return '[minulé] dddd [v] LT'; + case 3: + return '[minulou středu v] LT'; + case 4: + case 5: + return '[minulý] dddd [v] LT'; + case 6: + return '[minulou sobotu v] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'před %s', + s: translate, + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/cv.js b/node_modules/moment/src/locale/cv.js new file mode 100644 index 0000000..06c196a --- /dev/null +++ b/node_modules/moment/src/locale/cv.js @@ -0,0 +1,63 @@ +//! moment.js locale configuration +//! locale : Chuvash [cv] +//! author : Anatoly Mironov : https://github.com/mirontoli + +import moment from '../moment'; + +export default moment.defineLocale('cv', { + months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split( + '_' + ), + monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'), + weekdays: + 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split( + '_' + ), + weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'), + weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]', + LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm', + LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm', + }, + calendar: { + sameDay: '[Паян] LT [сехетре]', + nextDay: '[Ыран] LT [сехетре]', + lastDay: '[Ӗнер] LT [сехетре]', + nextWeek: '[Ҫитес] dddd LT [сехетре]', + lastWeek: '[Иртнӗ] dddd LT [сехетре]', + sameElse: 'L', + }, + relativeTime: { + future: function (output) { + var affix = /сехет$/i.exec(output) + ? 'рен' + : /ҫул$/i.exec(output) + ? 'тан' + : 'ран'; + return output + affix; + }, + past: '%s каялла', + s: 'пӗр-ик ҫеккунт', + ss: '%d ҫеккунт', + m: 'пӗр минут', + mm: '%d минут', + h: 'пӗр сехет', + hh: '%d сехет', + d: 'пӗр кун', + dd: '%d кун', + M: 'пӗр уйӑх', + MM: '%d уйӑх', + y: 'пӗр ҫул', + yy: '%d ҫул', + }, + dayOfMonthOrdinalParse: /\d{1,2}-мӗш/, + ordinal: '%d-мӗш', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/cy.js b/node_modules/moment/src/locale/cy.js new file mode 100644 index 0000000..e12344a --- /dev/null +++ b/node_modules/moment/src/locale/cy.js @@ -0,0 +1,98 @@ +//! moment.js locale configuration +//! locale : Welsh [cy] +//! author : Robert Allen : https://github.com/robgallen +//! author : https://github.com/ryangreaves + +import moment from '../moment'; + +export default moment.defineLocale('cy', { + months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split( + '_' + ), + monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split( + '_' + ), + weekdays: + 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split( + '_' + ), + weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'), + weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'), + weekdaysParseExact: true, + // time formats are the same as en-gb + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Heddiw am] LT', + nextDay: '[Yfory am] LT', + nextWeek: 'dddd [am] LT', + lastDay: '[Ddoe am] LT', + lastWeek: 'dddd [diwethaf am] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'mewn %s', + past: '%s yn ôl', + s: 'ychydig eiliadau', + ss: '%d eiliad', + m: 'munud', + mm: '%d munud', + h: 'awr', + hh: '%d awr', + d: 'diwrnod', + dd: '%d diwrnod', + M: 'mis', + MM: '%d mis', + y: 'blwyddyn', + yy: '%d flynedd', + }, + dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/, + // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh + ordinal: function (number) { + var b = number, + output = '', + lookup = [ + '', + 'af', + 'il', + 'ydd', + 'ydd', + 'ed', + 'ed', + 'ed', + 'fed', + 'fed', + 'fed', // 1af to 10fed + 'eg', + 'fed', + 'eg', + 'eg', + 'fed', + 'eg', + 'eg', + 'fed', + 'eg', + 'fed', // 11eg to 20fed + ]; + if (b > 20) { + if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) { + output = 'fed'; // not 30ain, 70ain or 90ain + } else { + output = 'ain'; + } + } else if (b > 0) { + output = lookup[b]; + } + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/da.js b/node_modules/moment/src/locale/da.js new file mode 100644 index 0000000..d1fc181 --- /dev/null +++ b/node_modules/moment/src/locale/da.js @@ -0,0 +1,53 @@ +//! moment.js locale configuration +//! locale : Danish [da] +//! author : Ulrik Nielsen : https://github.com/mrbase + +import moment from '../moment'; + +export default moment.defineLocale('da', { + months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), + weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), + weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'), + weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm', + }, + calendar: { + sameDay: '[i dag kl.] LT', + nextDay: '[i morgen kl.] LT', + nextWeek: 'på dddd [kl.] LT', + lastDay: '[i går kl.] LT', + lastWeek: '[i] dddd[s kl.] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'om %s', + past: '%s siden', + s: 'få sekunder', + ss: '%d sekunder', + m: 'et minut', + mm: '%d minutter', + h: 'en time', + hh: '%d timer', + d: 'en dag', + dd: '%d dage', + M: 'en måned', + MM: '%d måneder', + y: 'et år', + yy: '%d år', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/de-at.js b/node_modules/moment/src/locale/de-at.js new file mode 100644 index 0000000..8318fec --- /dev/null +++ b/node_modules/moment/src/locale/de-at.js @@ -0,0 +1,79 @@ +//! moment.js locale configuration +//! locale : German (Austria) [de-at] +//! author : lluchs : https://github.com/lluchs +//! author: Menelion Elensúle: https://github.com/Oire +//! author : Martin Groller : https://github.com/MadMG +//! author : Mikolaj Dadela : https://github.com/mik01aj + +import moment from '../moment'; + +function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + m: ['eine Minute', 'einer Minute'], + h: ['eine Stunde', 'einer Stunde'], + d: ['ein Tag', 'einem Tag'], + dd: [number + ' Tage', number + ' Tagen'], + w: ['eine Woche', 'einer Woche'], + M: ['ein Monat', 'einem Monat'], + MM: [number + ' Monate', number + ' Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: [number + ' Jahre', number + ' Jahren'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; +} + +export default moment.defineLocale('de-at', { + months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_' + ), + monthsShort: + 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + monthsParseExact: true, + weekdays: + 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( + '_' + ), + weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[heute um] LT [Uhr]', + sameElse: 'L', + nextDay: '[morgen um] LT [Uhr]', + nextWeek: 'dddd [um] LT [Uhr]', + lastDay: '[gestern um] LT [Uhr]', + lastWeek: '[letzten] dddd [um] LT [Uhr]', + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: 'ein paar Sekunden', + ss: '%d Sekunden', + m: processRelativeTime, + mm: '%d Minuten', + h: processRelativeTime, + hh: '%d Stunden', + d: processRelativeTime, + dd: processRelativeTime, + w: processRelativeTime, + ww: '%d Wochen', + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/de-ch.js b/node_modules/moment/src/locale/de-ch.js new file mode 100644 index 0000000..4e67507 --- /dev/null +++ b/node_modules/moment/src/locale/de-ch.js @@ -0,0 +1,78 @@ +//! moment.js locale configuration +//! locale : German (Switzerland) [de-ch] +//! author : sschueller : https://github.com/sschueller + +// based on: https://www.bk.admin.ch/dokumentation/sprachen/04915/05016/index.html?lang=de# + +import moment from '../moment'; + +function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + m: ['eine Minute', 'einer Minute'], + h: ['eine Stunde', 'einer Stunde'], + d: ['ein Tag', 'einem Tag'], + dd: [number + ' Tage', number + ' Tagen'], + w: ['eine Woche', 'einer Woche'], + M: ['ein Monat', 'einem Monat'], + MM: [number + ' Monate', number + ' Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: [number + ' Jahre', number + ' Jahren'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; +} + +export default moment.defineLocale('de-ch', { + months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_' + ), + monthsShort: + 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + monthsParseExact: true, + weekdays: + 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( + '_' + ), + weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[heute um] LT [Uhr]', + sameElse: 'L', + nextDay: '[morgen um] LT [Uhr]', + nextWeek: 'dddd [um] LT [Uhr]', + lastDay: '[gestern um] LT [Uhr]', + lastWeek: '[letzten] dddd [um] LT [Uhr]', + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: 'ein paar Sekunden', + ss: '%d Sekunden', + m: processRelativeTime, + mm: '%d Minuten', + h: processRelativeTime, + hh: '%d Stunden', + d: processRelativeTime, + dd: processRelativeTime, + w: processRelativeTime, + ww: '%d Wochen', + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/de.js b/node_modules/moment/src/locale/de.js new file mode 100644 index 0000000..cb9c8d5 --- /dev/null +++ b/node_modules/moment/src/locale/de.js @@ -0,0 +1,78 @@ +//! moment.js locale configuration +//! locale : German [de] +//! author : lluchs : https://github.com/lluchs +//! author: Menelion Elensúle: https://github.com/Oire +//! author : Mikolaj Dadela : https://github.com/mik01aj + +import moment from '../moment'; + +function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + m: ['eine Minute', 'einer Minute'], + h: ['eine Stunde', 'einer Stunde'], + d: ['ein Tag', 'einem Tag'], + dd: [number + ' Tage', number + ' Tagen'], + w: ['eine Woche', 'einer Woche'], + M: ['ein Monat', 'einem Monat'], + MM: [number + ' Monate', number + ' Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: [number + ' Jahre', number + ' Jahren'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; +} + +export default moment.defineLocale('de', { + months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_' + ), + monthsShort: + 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + monthsParseExact: true, + weekdays: + 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( + '_' + ), + weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[heute um] LT [Uhr]', + sameElse: 'L', + nextDay: '[morgen um] LT [Uhr]', + nextWeek: 'dddd [um] LT [Uhr]', + lastDay: '[gestern um] LT [Uhr]', + lastWeek: '[letzten] dddd [um] LT [Uhr]', + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: 'ein paar Sekunden', + ss: '%d Sekunden', + m: processRelativeTime, + mm: '%d Minuten', + h: processRelativeTime, + hh: '%d Stunden', + d: processRelativeTime, + dd: processRelativeTime, + w: processRelativeTime, + ww: '%d Wochen', + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/dv.js b/node_modules/moment/src/locale/dv.js new file mode 100644 index 0000000..26520d4 --- /dev/null +++ b/node_modules/moment/src/locale/dv.js @@ -0,0 +1,90 @@ +//! moment.js locale configuration +//! locale : Maldivian [dv] +//! author : Jawish Hameed : https://github.com/jawish + +import moment from '../moment'; + +var months = [ + 'ޖެނުއަރީ', + 'ފެބްރުއަރީ', + 'މާރިޗު', + 'އޭޕްރީލު', + 'މޭ', + 'ޖޫން', + 'ޖުލައި', + 'އޯގަސްޓު', + 'ސެޕްޓެމްބަރު', + 'އޮކްޓޯބަރު', + 'ނޮވެމްބަރު', + 'ޑިސެމްބަރު', + ], + weekdays = [ + 'އާދިއްތަ', + 'ހޯމަ', + 'އަންގާރަ', + 'ބުދަ', + 'ބުރާސްފަތި', + 'ހުކުރު', + 'ހޮނިހިރު', + ]; + +export default moment.defineLocale('dv', { + months: months, + monthsShort: months, + weekdays: weekdays, + weekdaysShort: weekdays, + weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/M/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + meridiemParse: /މކ|މފ/, + isPM: function (input) { + return 'މފ' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'މކ'; + } else { + return 'މފ'; + } + }, + calendar: { + sameDay: '[މިއަދު] LT', + nextDay: '[މާދަމާ] LT', + nextWeek: 'dddd LT', + lastDay: '[އިއްޔެ] LT', + lastWeek: '[ފާއިތުވި] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ތެރޭގައި %s', + past: 'ކުރިން %s', + s: 'ސިކުންތުކޮޅެއް', + ss: 'd% ސިކުންތު', + m: 'މިނިޓެއް', + mm: 'މިނިޓު %d', + h: 'ގަޑިއިރެއް', + hh: 'ގަޑިއިރު %d', + d: 'ދުވަހެއް', + dd: 'ދުވަސް %d', + M: 'މަހެއް', + MM: 'މަސް %d', + y: 'އަހަރެއް', + yy: 'އަހަރު %d', + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + dow: 7, // Sunday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/el.js b/node_modules/moment/src/locale/el.js new file mode 100644 index 0000000..8a596f1 --- /dev/null +++ b/node_modules/moment/src/locale/el.js @@ -0,0 +1,106 @@ +//! moment.js locale configuration +//! locale : Greek [el] +//! author : Aggelos Karalias : https://github.com/mehiel + +import moment from '../moment'; + +function isFunction(input) { + return ( + (typeof Function !== 'undefined' && input instanceof Function) || + Object.prototype.toString.call(input) === '[object Function]' + ); +} + +export default moment.defineLocale('el', { + monthsNominativeEl: + 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split( + '_' + ), + monthsGenitiveEl: + 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split( + '_' + ), + months: function (momentToFormat, format) { + if (!momentToFormat) { + return this._monthsNominativeEl; + } else if ( + typeof format === 'string' && + /D/.test(format.substring(0, format.indexOf('MMMM'))) + ) { + // if there is a day number before 'MMMM' + return this._monthsGenitiveEl[momentToFormat.month()]; + } else { + return this._monthsNominativeEl[momentToFormat.month()]; + } + }, + monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'), + weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split( + '_' + ), + weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'), + weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'), + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'μμ' : 'ΜΜ'; + } else { + return isLower ? 'πμ' : 'ΠΜ'; + } + }, + isPM: function (input) { + return (input + '').toLowerCase()[0] === 'μ'; + }, + meridiemParse: /[ΠΜ]\.?Μ?\.?/i, + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendarEl: { + sameDay: '[Σήμερα {}] LT', + nextDay: '[Αύριο {}] LT', + nextWeek: 'dddd [{}] LT', + lastDay: '[Χθες {}] LT', + lastWeek: function () { + switch (this.day()) { + case 6: + return '[το προηγούμενο] dddd [{}] LT'; + default: + return '[την προηγούμενη] dddd [{}] LT'; + } + }, + sameElse: 'L', + }, + calendar: function (key, mom) { + var output = this._calendarEl[key], + hours = mom && mom.hours(); + if (isFunction(output)) { + output = output.apply(mom); + } + return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις'); + }, + relativeTime: { + future: 'σε %s', + past: '%s πριν', + s: 'λίγα δευτερόλεπτα', + ss: '%d δευτερόλεπτα', + m: 'ένα λεπτό', + mm: '%d λεπτά', + h: 'μία ώρα', + hh: '%d ώρες', + d: 'μία μέρα', + dd: '%d μέρες', + M: 'ένας μήνας', + MM: '%d μήνες', + y: 'ένας χρόνος', + yy: '%d χρόνια', + }, + dayOfMonthOrdinalParse: /\d{1,2}η/, + ordinal: '%dη', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4st is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/en-au.js b/node_modules/moment/src/locale/en-au.js new file mode 100644 index 0000000..301e9db --- /dev/null +++ b/node_modules/moment/src/locale/en-au.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : English (Australia) [en-au] +//! author : Jared Morse : https://github.com/jarcoal + +import moment from '../moment'; + +export default moment.defineLocale('en-au', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/en-ca.js b/node_modules/moment/src/locale/en-ca.js new file mode 100644 index 0000000..8099e04 --- /dev/null +++ b/node_modules/moment/src/locale/en-ca.js @@ -0,0 +1,64 @@ +//! moment.js locale configuration +//! locale : English (Canada) [en-ca] +//! author : Jonathan Abourbih : https://github.com/jonbca + +import moment from '../moment'; + +export default moment.defineLocale('en-ca', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'YYYY-MM-DD', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY h:mm A', + LLLL: 'dddd, MMMM D, YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, +}); diff --git a/node_modules/moment/src/locale/en-gb.js b/node_modules/moment/src/locale/en-gb.js new file mode 100644 index 0000000..acd544a --- /dev/null +++ b/node_modules/moment/src/locale/en-gb.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : English (United Kingdom) [en-gb] +//! author : Chris Gedrim : https://github.com/chrisgedrim + +import moment from '../moment'; + +export default moment.defineLocale('en-gb', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/en-ie.js b/node_modules/moment/src/locale/en-ie.js new file mode 100644 index 0000000..8e79f63 --- /dev/null +++ b/node_modules/moment/src/locale/en-ie.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : English (Ireland) [en-ie] +//! author : Chris Cartlidge : https://github.com/chriscartlidge + +import moment from '../moment'; + +export default moment.defineLocale('en-ie', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/en-il.js b/node_modules/moment/src/locale/en-il.js new file mode 100644 index 0000000..94908df --- /dev/null +++ b/node_modules/moment/src/locale/en-il.js @@ -0,0 +1,64 @@ +//! moment.js locale configuration +//! locale : English (Israel) [en-il] +//! author : Chris Gedrim : https://github.com/chrisgedrim + +import moment from '../moment'; + +export default moment.defineLocale('en-il', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, +}); diff --git a/node_modules/moment/src/locale/en-in.js b/node_modules/moment/src/locale/en-in.js new file mode 100644 index 0000000..f685176 --- /dev/null +++ b/node_modules/moment/src/locale/en-in.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : English (India) [en-in] +//! author : Jatin Agrawal : https://github.com/jatinag22 + +import moment from '../moment'; + +export default moment.defineLocale('en-in', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 1st is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/en-nz.js b/node_modules/moment/src/locale/en-nz.js new file mode 100644 index 0000000..66c9bfc --- /dev/null +++ b/node_modules/moment/src/locale/en-nz.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : English (New Zealand) [en-nz] +//! author : Luke McGregor : https://github.com/lukemcgregor + +import moment from '../moment'; + +export default moment.defineLocale('en-nz', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/en-sg.js b/node_modules/moment/src/locale/en-sg.js new file mode 100644 index 0000000..b36bda4 --- /dev/null +++ b/node_modules/moment/src/locale/en-sg.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : English (Singapore) [en-sg] +//! author : Matthew Castrillon-Madrigal : https://github.com/techdimension + +import moment from '../moment'; + +export default moment.defineLocale('en-sg', { + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/eo.js b/node_modules/moment/src/locale/eo.js new file mode 100644 index 0000000..38d494a --- /dev/null +++ b/node_modules/moment/src/locale/eo.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : Esperanto [eo] +//! author : Colin Dean : https://github.com/colindean +//! author : Mia Nordentoft Imperatori : https://github.com/miestasmia +//! comment : miestasmia corrected the translation by colindean +//! comment : Vivakvo corrected the translation by colindean and miestasmia + +import moment from '../moment'; + +export default moment.defineLocale('eo', { + months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split( + '_' + ), + monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec'.split('_'), + weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'), + weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'), + weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: '[la] D[-an de] MMMM, YYYY', + LLL: '[la] D[-an de] MMMM, YYYY HH:mm', + LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm', + llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm', + }, + meridiemParse: /[ap]\.t\.m/i, + isPM: function (input) { + return input.charAt(0).toLowerCase() === 'p'; + }, + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'p.t.m.' : 'P.T.M.'; + } else { + return isLower ? 'a.t.m.' : 'A.T.M.'; + } + }, + calendar: { + sameDay: '[Hodiaŭ je] LT', + nextDay: '[Morgaŭ je] LT', + nextWeek: 'dddd[n je] LT', + lastDay: '[Hieraŭ je] LT', + lastWeek: '[pasintan] dddd[n je] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'post %s', + past: 'antaŭ %s', + s: 'kelkaj sekundoj', + ss: '%d sekundoj', + m: 'unu minuto', + mm: '%d minutoj', + h: 'unu horo', + hh: '%d horoj', + d: 'unu tago', //ne 'diurno', ĉar estas uzita por proksimumo + dd: '%d tagoj', + M: 'unu monato', + MM: '%d monatoj', + y: 'unu jaro', + yy: '%d jaroj', + }, + dayOfMonthOrdinalParse: /\d{1,2}a/, + ordinal: '%da', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/es-do.js b/node_modules/moment/src/locale/es-do.js new file mode 100644 index 0000000..8c3ccfd --- /dev/null +++ b/node_modules/moment/src/locale/es-do.js @@ -0,0 +1,108 @@ +//! moment.js locale configuration +//! locale : Spanish (Dominican Republic) [es-do] + +import moment from '../moment'; + +var monthsShortDot = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + +export default moment.defineLocale('es-do', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot; + } else if (/-MMM-/.test(format)) { + return monthsShort[m.month()]; + } else { + return monthsShortDot[m.month()]; + } + }, + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY h:mm A', + LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/es-mx.js b/node_modules/moment/src/locale/es-mx.js new file mode 100644 index 0000000..43dd7cc --- /dev/null +++ b/node_modules/moment/src/locale/es-mx.js @@ -0,0 +1,110 @@ +//! moment.js locale configuration +//! locale : Spanish (Mexico) [es-mx] +//! author : JC Franco : https://github.com/jcfranco + +import moment from '../moment'; + +var monthsShortDot = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + +export default moment.defineLocale('es-mx', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot; + } else if (/-MMM-/.test(format)) { + return monthsShort[m.month()]; + } else { + return monthsShortDot[m.month()]; + } + }, + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 0, // Sunday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + invalidDate: 'Fecha inválida', +}); diff --git a/node_modules/moment/src/locale/es-us.js b/node_modules/moment/src/locale/es-us.js new file mode 100644 index 0000000..bac8cd8 --- /dev/null +++ b/node_modules/moment/src/locale/es-us.js @@ -0,0 +1,110 @@ +//! moment.js locale configuration +//! locale : Spanish (United States) [es-us] +//! author : bustta : https://github.com/bustta +//! author : chrisrodz : https://github.com/chrisrodz + +import moment from '../moment'; + +var monthsShortDot = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + +export default moment.defineLocale('es-us', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot; + } else if (/-MMM-/.test(format)) { + return monthsShort[m.month()]; + } else { + return monthsShortDot[m.month()]; + } + }, + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'MM/DD/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY h:mm A', + LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/es.js b/node_modules/moment/src/locale/es.js new file mode 100644 index 0000000..a3428ad --- /dev/null +++ b/node_modules/moment/src/locale/es.js @@ -0,0 +1,110 @@ +//! moment.js locale configuration +//! locale : Spanish [es] +//! author : Julio Napurí : https://github.com/julionc + +import moment from '../moment'; + +var monthsShortDot = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + +export default moment.defineLocale('es', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot; + } else if (/-MMM-/.test(format)) { + return monthsShort[m.month()]; + } else { + return monthsShortDot[m.month()]; + } + }, + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + invalidDate: 'Fecha inválida', +}); diff --git a/node_modules/moment/src/locale/et.js b/node_modules/moment/src/locale/et.js new file mode 100644 index 0000000..5da4ec4 --- /dev/null +++ b/node_modules/moment/src/locale/et.js @@ -0,0 +1,78 @@ +//! moment.js locale configuration +//! locale : Estonian [et] +//! author : Henry Kehlmann : https://github.com/madhenry +//! improvements : Illimar Tambek : https://github.com/ragulka + +import moment from '../moment'; + +function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'], + ss: [number + 'sekundi', number + 'sekundit'], + m: ['ühe minuti', 'üks minut'], + mm: [number + ' minuti', number + ' minutit'], + h: ['ühe tunni', 'tund aega', 'üks tund'], + hh: [number + ' tunni', number + ' tundi'], + d: ['ühe päeva', 'üks päev'], + M: ['kuu aja', 'kuu aega', 'üks kuu'], + MM: [number + ' kuu', number + ' kuud'], + y: ['ühe aasta', 'aasta', 'üks aasta'], + yy: [number + ' aasta', number + ' aastat'], + }; + if (withoutSuffix) { + return format[key][2] ? format[key][2] : format[key][1]; + } + return isFuture ? format[key][0] : format[key][1]; +} + +export default moment.defineLocale('et', { + months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split( + '_' + ), + monthsShort: + 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'), + weekdays: + 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split( + '_' + ), + weekdaysShort: 'P_E_T_K_N_R_L'.split('_'), + weekdaysMin: 'P_E_T_K_N_R_L'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[Täna,] LT', + nextDay: '[Homme,] LT', + nextWeek: '[Järgmine] dddd LT', + lastDay: '[Eile,] LT', + lastWeek: '[Eelmine] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s pärast', + past: '%s tagasi', + s: processRelativeTime, + ss: processRelativeTime, + m: processRelativeTime, + mm: processRelativeTime, + h: processRelativeTime, + hh: processRelativeTime, + d: processRelativeTime, + dd: '%d päeva', + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/eu.js b/node_modules/moment/src/locale/eu.js new file mode 100644 index 0000000..261a17b --- /dev/null +++ b/node_modules/moment/src/locale/eu.js @@ -0,0 +1,65 @@ +//! moment.js locale configuration +//! locale : Basque [eu] +//! author : Eneko Illarramendi : https://github.com/eillarra + +import moment from '../moment'; + +export default moment.defineLocale('eu', { + months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split( + '_' + ), + monthsShort: + 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split( + '_' + ), + weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'), + weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY[ko] MMMM[ren] D[a]', + LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm', + LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm', + l: 'YYYY-M-D', + ll: 'YYYY[ko] MMM D[a]', + lll: 'YYYY[ko] MMM D[a] HH:mm', + llll: 'ddd, YYYY[ko] MMM D[a] HH:mm', + }, + calendar: { + sameDay: '[gaur] LT[etan]', + nextDay: '[bihar] LT[etan]', + nextWeek: 'dddd LT[etan]', + lastDay: '[atzo] LT[etan]', + lastWeek: '[aurreko] dddd LT[etan]', + sameElse: 'L', + }, + relativeTime: { + future: '%s barru', + past: 'duela %s', + s: 'segundo batzuk', + ss: '%d segundo', + m: 'minutu bat', + mm: '%d minutu', + h: 'ordu bat', + hh: '%d ordu', + d: 'egun bat', + dd: '%d egun', + M: 'hilabete bat', + MM: '%d hilabete', + y: 'urte bat', + yy: '%d urte', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/fa.js b/node_modules/moment/src/locale/fa.js new file mode 100644 index 0000000..52ffb72 --- /dev/null +++ b/node_modules/moment/src/locale/fa.js @@ -0,0 +1,113 @@ +//! moment.js locale configuration +//! locale : Persian [fa] +//! author : Ebrahim Byagowi : https://github.com/ebraminio + +import moment from '../moment'; + +var symbolMap = { + 1: '۱', + 2: '۲', + 3: '۳', + 4: '۴', + 5: '۵', + 6: '۶', + 7: '۷', + 8: '۸', + 9: '۹', + 0: '۰', + }, + numberMap = { + '۱': '1', + '۲': '2', + '۳': '3', + '۴': '4', + '۵': '5', + '۶': '6', + '۷': '7', + '۸': '8', + '۹': '9', + '۰': '0', + }; + +export default moment.defineLocale('fa', { + months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split( + '_' + ), + monthsShort: + 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split( + '_' + ), + weekdays: + 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split( + '_' + ), + weekdaysShort: + 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split( + '_' + ), + weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + meridiemParse: /قبل از ظهر|بعد از ظهر/, + isPM: function (input) { + return /بعد از ظهر/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'قبل از ظهر'; + } else { + return 'بعد از ظهر'; + } + }, + calendar: { + sameDay: '[امروز ساعت] LT', + nextDay: '[فردا ساعت] LT', + nextWeek: 'dddd [ساعت] LT', + lastDay: '[دیروز ساعت] LT', + lastWeek: 'dddd [پیش] [ساعت] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'در %s', + past: '%s پیش', + s: 'چند ثانیه', + ss: '%d ثانیه', + m: 'یک دقیقه', + mm: '%d دقیقه', + h: 'یک ساعت', + hh: '%d ساعت', + d: 'یک روز', + dd: '%d روز', + M: 'یک ماه', + MM: '%d ماه', + y: 'یک سال', + yy: '%d سال', + }, + preparse: function (string) { + return string + .replace(/[۰-۹]/g, function (match) { + return numberMap[match]; + }) + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + dayOfMonthOrdinalParse: /\d{1,2}م/, + ordinal: '%dم', + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/fi.js b/node_modules/moment/src/locale/fi.js new file mode 100644 index 0000000..2e20bff --- /dev/null +++ b/node_modules/moment/src/locale/fi.js @@ -0,0 +1,124 @@ +//! moment.js locale configuration +//! locale : Finnish [fi] +//! author : Tarmo Aidantausta : https://github.com/bleadof + +import moment from '../moment'; + +var numbersPast = + 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split( + ' ' + ), + numbersFuture = [ + 'nolla', + 'yhden', + 'kahden', + 'kolmen', + 'neljän', + 'viiden', + 'kuuden', + numbersPast[7], + numbersPast[8], + numbersPast[9], + ]; +function translate(number, withoutSuffix, key, isFuture) { + var result = ''; + switch (key) { + case 's': + return isFuture ? 'muutaman sekunnin' : 'muutama sekunti'; + case 'ss': + result = isFuture ? 'sekunnin' : 'sekuntia'; + break; + case 'm': + return isFuture ? 'minuutin' : 'minuutti'; + case 'mm': + result = isFuture ? 'minuutin' : 'minuuttia'; + break; + case 'h': + return isFuture ? 'tunnin' : 'tunti'; + case 'hh': + result = isFuture ? 'tunnin' : 'tuntia'; + break; + case 'd': + return isFuture ? 'päivän' : 'päivä'; + case 'dd': + result = isFuture ? 'päivän' : 'päivää'; + break; + case 'M': + return isFuture ? 'kuukauden' : 'kuukausi'; + case 'MM': + result = isFuture ? 'kuukauden' : 'kuukautta'; + break; + case 'y': + return isFuture ? 'vuoden' : 'vuosi'; + case 'yy': + result = isFuture ? 'vuoden' : 'vuotta'; + break; + } + result = verbalNumber(number, isFuture) + ' ' + result; + return result; +} +function verbalNumber(number, isFuture) { + return number < 10 + ? isFuture + ? numbersFuture[number] + : numbersPast[number] + : number; +} + +export default moment.defineLocale('fi', { + months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split( + '_' + ), + monthsShort: + 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split( + '_' + ), + weekdays: + 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split( + '_' + ), + weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'), + weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD.MM.YYYY', + LL: 'Do MMMM[ta] YYYY', + LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm', + LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm', + l: 'D.M.YYYY', + ll: 'Do MMM YYYY', + lll: 'Do MMM YYYY, [klo] HH.mm', + llll: 'ddd, Do MMM YYYY, [klo] HH.mm', + }, + calendar: { + sameDay: '[tänään] [klo] LT', + nextDay: '[huomenna] [klo] LT', + nextWeek: 'dddd [klo] LT', + lastDay: '[eilen] [klo] LT', + lastWeek: '[viime] dddd[na] [klo] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s päästä', + past: '%s sitten', + s: translate, + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/fil.js b/node_modules/moment/src/locale/fil.js new file mode 100644 index 0000000..e0447aa --- /dev/null +++ b/node_modules/moment/src/locale/fil.js @@ -0,0 +1,58 @@ +//! moment.js locale configuration +//! locale : Filipino [fil] +//! author : Dan Hagman : https://github.com/hagmandan +//! author : Matthew Co : https://github.com/matthewdeeco + +import moment from '../moment'; + +export default moment.defineLocale('fil', { + months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split( + '_' + ), + monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), + weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split( + '_' + ), + weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), + weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'MM/D/YYYY', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY HH:mm', + LLLL: 'dddd, MMMM DD, YYYY HH:mm', + }, + calendar: { + sameDay: 'LT [ngayong araw]', + nextDay: '[Bukas ng] LT', + nextWeek: 'LT [sa susunod na] dddd', + lastDay: 'LT [kahapon]', + lastWeek: 'LT [noong nakaraang] dddd', + sameElse: 'L', + }, + relativeTime: { + future: 'sa loob ng %s', + past: '%s ang nakalipas', + s: 'ilang segundo', + ss: '%d segundo', + m: 'isang minuto', + mm: '%d minuto', + h: 'isang oras', + hh: '%d oras', + d: 'isang araw', + dd: '%d araw', + M: 'isang buwan', + MM: '%d buwan', + y: 'isang taon', + yy: '%d taon', + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: function (number) { + return number; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/fo.js b/node_modules/moment/src/locale/fo.js new file mode 100644 index 0000000..c8fd0bc --- /dev/null +++ b/node_modules/moment/src/locale/fo.js @@ -0,0 +1,57 @@ +//! moment.js locale configuration +//! locale : Faroese [fo] +//! author : Ragnar Johannesen : https://github.com/ragnar123 +//! author : Kristian Sakarisson : https://github.com/sakarisson + +import moment from '../moment'; + +export default moment.defineLocale('fo', { + months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), + weekdays: + 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split( + '_' + ), + weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'), + weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D. MMMM, YYYY HH:mm', + }, + calendar: { + sameDay: '[Í dag kl.] LT', + nextDay: '[Í morgin kl.] LT', + nextWeek: 'dddd [kl.] LT', + lastDay: '[Í gjár kl.] LT', + lastWeek: '[síðstu] dddd [kl] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'um %s', + past: '%s síðani', + s: 'fá sekund', + ss: '%d sekundir', + m: 'ein minuttur', + mm: '%d minuttir', + h: 'ein tími', + hh: '%d tímar', + d: 'ein dagur', + dd: '%d dagar', + M: 'ein mánaður', + MM: '%d mánaðir', + y: 'eitt ár', + yy: '%d ár', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/fr-ca.js b/node_modules/moment/src/locale/fr-ca.js new file mode 100644 index 0000000..6187291 --- /dev/null +++ b/node_modules/moment/src/locale/fr-ca.js @@ -0,0 +1,70 @@ +//! moment.js locale configuration +//! locale : French (Canada) [fr-ca] +//! author : Jonathan Abourbih : https://github.com/jonbca + +import moment from '../moment'; + +export default moment.defineLocale('fr-ca', { + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( + '_' + ), + monthsShort: + 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Aujourd’hui à] LT', + nextDay: '[Demain à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[Hier à] LT', + lastWeek: 'dddd [dernier à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + ss: '%d secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, + ordinal: function (number, period) { + switch (period) { + // Words with masculine grammatical gender: mois, trimestre, jour + default: + case 'M': + case 'Q': + case 'D': + case 'DDD': + case 'd': + return number + (number === 1 ? 'er' : 'e'); + + // Words with feminine grammatical gender: semaine + case 'w': + case 'W': + return number + (number === 1 ? 're' : 'e'); + } + }, +}); diff --git a/node_modules/moment/src/locale/fr-ch.js b/node_modules/moment/src/locale/fr-ch.js new file mode 100644 index 0000000..2cc90d8 --- /dev/null +++ b/node_modules/moment/src/locale/fr-ch.js @@ -0,0 +1,74 @@ +//! moment.js locale configuration +//! locale : French (Switzerland) [fr-ch] +//! author : Gaspard Bucher : https://github.com/gaspard + +import moment from '../moment'; + +export default moment.defineLocale('fr-ch', { + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( + '_' + ), + monthsShort: + 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Aujourd’hui à] LT', + nextDay: '[Demain à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[Hier à] LT', + lastWeek: 'dddd [dernier à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + ss: '%d secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, + ordinal: function (number, period) { + switch (period) { + // Words with masculine grammatical gender: mois, trimestre, jour + default: + case 'M': + case 'Q': + case 'D': + case 'DDD': + case 'd': + return number + (number === 1 ? 'er' : 'e'); + + // Words with feminine grammatical gender: semaine + case 'w': + case 'W': + return number + (number === 1 ? 're' : 'e'); + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/fr.js b/node_modules/moment/src/locale/fr.js new file mode 100644 index 0000000..a3afb4b --- /dev/null +++ b/node_modules/moment/src/locale/fr.js @@ -0,0 +1,108 @@ +//! moment.js locale configuration +//! locale : French [fr] +//! author : John Fischer : https://github.com/jfroffice + +import moment from '../moment'; + +var monthsStrictRegex = + /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, + monthsShortStrictRegex = + /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i, + monthsRegex = + /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, + monthsParse = [ + /^janv/i, + /^févr/i, + /^mars/i, + /^avr/i, + /^mai/i, + /^juin/i, + /^juil/i, + /^août/i, + /^sept/i, + /^oct/i, + /^nov/i, + /^déc/i, + ]; + +export default moment.defineLocale('fr', { + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( + '_' + ), + monthsShort: + 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( + '_' + ), + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: monthsStrictRegex, + monthsShortStrictRegex: monthsShortStrictRegex, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Aujourd’hui à] LT', + nextDay: '[Demain à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[Hier à] LT', + lastWeek: 'dddd [dernier à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + ss: '%d secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + w: 'une semaine', + ww: '%d semaines', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(er|)/, + ordinal: function (number, period) { + switch (period) { + // TODO: Return 'e' when day of month > 1. Move this case inside + // block for masculine words below. + // See https://github.com/moment/moment/issues/3375 + case 'D': + return number + (number === 1 ? 'er' : ''); + + // Words with masculine grammatical gender: mois, trimestre, jour + default: + case 'M': + case 'Q': + case 'DDD': + case 'd': + return number + (number === 1 ? 'er' : 'e'); + + // Words with feminine grammatical gender: semaine + case 'w': + case 'W': + return number + (number === 1 ? 're' : 'e'); + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/fy.js b/node_modules/moment/src/locale/fy.js new file mode 100644 index 0000000..4844587 --- /dev/null +++ b/node_modules/moment/src/locale/fy.js @@ -0,0 +1,75 @@ +//! moment.js locale configuration +//! locale : Frisian [fy] +//! author : Robin van der Vliet : https://github.com/robin0van0der0v + +import moment from '../moment'; + +var monthsShortWithDots = + 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'), + monthsShortWithoutDots = + 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'); + +export default moment.defineLocale('fy', { + months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortWithDots; + } else if (/-MMM-/.test(format)) { + return monthsShortWithoutDots[m.month()]; + } else { + return monthsShortWithDots[m.month()]; + } + }, + monthsParseExact: true, + weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split( + '_' + ), + weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'), + weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[hjoed om] LT', + nextDay: '[moarn om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[juster om] LT', + lastWeek: '[ôfrûne] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'oer %s', + past: '%s lyn', + s: 'in pear sekonden', + ss: '%d sekonden', + m: 'ien minút', + mm: '%d minuten', + h: 'ien oere', + hh: '%d oeren', + d: 'ien dei', + dd: '%d dagen', + M: 'ien moanne', + MM: '%d moannen', + y: 'ien jier', + yy: '%d jierren', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ga.js b/node_modules/moment/src/locale/ga.js new file mode 100644 index 0000000..7f36fb6 --- /dev/null +++ b/node_modules/moment/src/locale/ga.js @@ -0,0 +1,95 @@ +//! moment.js locale configuration +//! locale : Irish or Irish Gaelic [ga] +//! author : André Silva : https://github.com/askpt + +import moment from '../moment'; + +var months = [ + 'Eanáir', + 'Feabhra', + 'Márta', + 'Aibreán', + 'Bealtaine', + 'Meitheamh', + 'Iúil', + 'Lúnasa', + 'Meán Fómhair', + 'Deireadh Fómhair', + 'Samhain', + 'Nollaig', + ], + monthsShort = [ + 'Ean', + 'Feabh', + 'Márt', + 'Aib', + 'Beal', + 'Meith', + 'Iúil', + 'Lún', + 'M.F.', + 'D.F.', + 'Samh', + 'Noll', + ], + weekdays = [ + 'Dé Domhnaigh', + 'Dé Luain', + 'Dé Máirt', + 'Dé Céadaoin', + 'Déardaoin', + 'Dé hAoine', + 'Dé Sathairn', + ], + weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'], + weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa']; + +export default moment.defineLocale('ga', { + months: months, + monthsShort: monthsShort, + monthsParseExact: true, + weekdays: weekdays, + weekdaysShort: weekdaysShort, + weekdaysMin: weekdaysMin, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Inniu ag] LT', + nextDay: '[Amárach ag] LT', + nextWeek: 'dddd [ag] LT', + lastDay: '[Inné ag] LT', + lastWeek: 'dddd [seo caite] [ag] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'i %s', + past: '%s ó shin', + s: 'cúpla soicind', + ss: '%d soicind', + m: 'nóiméad', + mm: '%d nóiméad', + h: 'uair an chloig', + hh: '%d uair an chloig', + d: 'lá', + dd: '%d lá', + M: 'mí', + MM: '%d míonna', + y: 'bliain', + yy: '%d bliain', + }, + dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/, + ordinal: function (number) { + var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/gd.js b/node_modules/moment/src/locale/gd.js new file mode 100644 index 0000000..81f735b --- /dev/null +++ b/node_modules/moment/src/locale/gd.js @@ -0,0 +1,95 @@ +//! moment.js locale configuration +//! locale : Scottish Gaelic [gd] +//! author : Jon Ashdown : https://github.com/jonashdown + +import moment from '../moment'; + +var months = [ + 'Am Faoilleach', + 'An Gearran', + 'Am Màrt', + 'An Giblean', + 'An Cèitean', + 'An t-Ògmhios', + 'An t-Iuchar', + 'An Lùnastal', + 'An t-Sultain', + 'An Dàmhair', + 'An t-Samhain', + 'An Dùbhlachd', + ], + monthsShort = [ + 'Faoi', + 'Gear', + 'Màrt', + 'Gibl', + 'Cèit', + 'Ògmh', + 'Iuch', + 'Lùn', + 'Sult', + 'Dàmh', + 'Samh', + 'Dùbh', + ], + weekdays = [ + 'Didòmhnaich', + 'Diluain', + 'Dimàirt', + 'Diciadain', + 'Diardaoin', + 'Dihaoine', + 'Disathairne', + ], + weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'], + weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa']; + +export default moment.defineLocale('gd', { + months: months, + monthsShort: monthsShort, + monthsParseExact: true, + weekdays: weekdays, + weekdaysShort: weekdaysShort, + weekdaysMin: weekdaysMin, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[An-diugh aig] LT', + nextDay: '[A-màireach aig] LT', + nextWeek: 'dddd [aig] LT', + lastDay: '[An-dè aig] LT', + lastWeek: 'dddd [seo chaidh] [aig] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ann an %s', + past: 'bho chionn %s', + s: 'beagan diogan', + ss: '%d diogan', + m: 'mionaid', + mm: '%d mionaidean', + h: 'uair', + hh: '%d uairean', + d: 'latha', + dd: '%d latha', + M: 'mìos', + MM: '%d mìosan', + y: 'bliadhna', + yy: '%d bliadhna', + }, + dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/, + ordinal: function (number) { + var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/gl.js b/node_modules/moment/src/locale/gl.js new file mode 100644 index 0000000..980591c --- /dev/null +++ b/node_modules/moment/src/locale/gl.js @@ -0,0 +1,75 @@ +//! moment.js locale configuration +//! locale : Galician [gl] +//! author : Juan G. Hurtado : https://github.com/juanghurtado + +import moment from '../moment'; + +export default moment.defineLocale('gl', { + months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split( + '_' + ), + monthsShort: + 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', + }, + calendar: { + sameDay: function () { + return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT'; + }, + nextDay: function () { + return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT'; + }, + nextWeek: function () { + return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT'; + }, + lastDay: function () { + return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT'; + }, + lastWeek: function () { + return ( + '[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: function (str) { + if (str.indexOf('un') === 0) { + return 'n' + str; + } + return 'en ' + str; + }, + past: 'hai %s', + s: 'uns segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'unha hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + M: 'un mes', + MM: '%d meses', + y: 'un ano', + yy: '%d anos', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/gom-deva.js b/node_modules/moment/src/locale/gom-deva.js new file mode 100644 index 0000000..294e358 --- /dev/null +++ b/node_modules/moment/src/locale/gom-deva.js @@ -0,0 +1,126 @@ +//! moment.js locale configuration +//! locale : Konkani Devanagari script [gom-deva] +//! author : The Discoverer : https://github.com/WikiDiscoverer + +import moment from '../moment'; + +function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + s: ['थोडया सॅकंडांनी', 'थोडे सॅकंड'], + ss: [number + ' सॅकंडांनी', number + ' सॅकंड'], + m: ['एका मिणटान', 'एक मिनूट'], + mm: [number + ' मिणटांनी', number + ' मिणटां'], + h: ['एका वरान', 'एक वर'], + hh: [number + ' वरांनी', number + ' वरां'], + d: ['एका दिसान', 'एक दीस'], + dd: [number + ' दिसांनी', number + ' दीस'], + M: ['एका म्हयन्यान', 'एक म्हयनो'], + MM: [number + ' म्हयन्यानी', number + ' म्हयने'], + y: ['एका वर्सान', 'एक वर्स'], + yy: [number + ' वर्सांनी', number + ' वर्सां'], + }; + return isFuture ? format[key][0] : format[key][1]; +} + +export default moment.defineLocale('gom-deva', { + months: { + standalone: + 'जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split( + '_' + ), + format: 'जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या'.split( + '_' + ), + isFormat: /MMMM(\s)+D[oD]?/, + }, + monthsShort: + 'जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार'.split('_'), + weekdaysShort: 'आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.'.split('_'), + weekdaysMin: 'आ_सो_मं_बु_ब्रे_सु_शे'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'A h:mm [वाजतां]', + LTS: 'A h:mm:ss [वाजतां]', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY A h:mm [वाजतां]', + LLLL: 'dddd, MMMM Do, YYYY, A h:mm [वाजतां]', + llll: 'ddd, D MMM YYYY, A h:mm [वाजतां]', + }, + calendar: { + sameDay: '[आयज] LT', + nextDay: '[फाल्यां] LT', + nextWeek: '[फुडलो] dddd[,] LT', + lastDay: '[काल] LT', + lastWeek: '[फाटलो] dddd[,] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s', + past: '%s आदीं', + s: processRelativeTime, + ss: processRelativeTime, + m: processRelativeTime, + mm: processRelativeTime, + h: processRelativeTime, + hh: processRelativeTime, + d: processRelativeTime, + dd: processRelativeTime, + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}(वेर)/, + ordinal: function (number, period) { + switch (period) { + // the ordinal 'वेर' only applies to day of the month + case 'D': + return number + 'वेर'; + default: + case 'M': + case 'Q': + case 'DDD': + case 'd': + case 'w': + case 'W': + return number; + } + }, + week: { + dow: 0, // Sunday is the first day of the week + doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4) + }, + meridiemParse: /राती|सकाळीं|दनपारां|सांजे/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'राती') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'सकाळीं') { + return hour; + } else if (meridiem === 'दनपारां') { + return hour > 12 ? hour : hour + 12; + } else if (meridiem === 'सांजे') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'राती'; + } else if (hour < 12) { + return 'सकाळीं'; + } else if (hour < 16) { + return 'दनपारां'; + } else if (hour < 20) { + return 'सांजे'; + } else { + return 'राती'; + } + }, +}); diff --git a/node_modules/moment/src/locale/gom-latn.js b/node_modules/moment/src/locale/gom-latn.js new file mode 100644 index 0000000..d237161 --- /dev/null +++ b/node_modules/moment/src/locale/gom-latn.js @@ -0,0 +1,124 @@ +//! moment.js locale configuration +//! locale : Konkani Latin script [gom-latn] +//! author : The Discoverer : https://github.com/WikiDiscoverer + +import moment from '../moment'; + +function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + s: ['thoddea sekondamni', 'thodde sekond'], + ss: [number + ' sekondamni', number + ' sekond'], + m: ['eka mintan', 'ek minut'], + mm: [number + ' mintamni', number + ' mintam'], + h: ['eka voran', 'ek vor'], + hh: [number + ' voramni', number + ' voram'], + d: ['eka disan', 'ek dis'], + dd: [number + ' disamni', number + ' dis'], + M: ['eka mhoinean', 'ek mhoino'], + MM: [number + ' mhoineamni', number + ' mhoine'], + y: ['eka vorsan', 'ek voros'], + yy: [number + ' vorsamni', number + ' vorsam'], + }; + return isFuture ? format[key][0] : format[key][1]; +} + +export default moment.defineLocale('gom-latn', { + months: { + standalone: + 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split( + '_' + ), + format: 'Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea'.split( + '_' + ), + isFormat: /MMMM(\s)+D[oD]?/, + }, + monthsShort: + 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'), + monthsParseExact: true, + weekdays: "Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split('_'), + weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'), + weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'A h:mm [vazta]', + LTS: 'A h:mm:ss [vazta]', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY A h:mm [vazta]', + LLLL: 'dddd, MMMM Do, YYYY, A h:mm [vazta]', + llll: 'ddd, D MMM YYYY, A h:mm [vazta]', + }, + calendar: { + sameDay: '[Aiz] LT', + nextDay: '[Faleam] LT', + nextWeek: '[Fuddlo] dddd[,] LT', + lastDay: '[Kal] LT', + lastWeek: '[Fattlo] dddd[,] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s', + past: '%s adim', + s: processRelativeTime, + ss: processRelativeTime, + m: processRelativeTime, + mm: processRelativeTime, + h: processRelativeTime, + hh: processRelativeTime, + d: processRelativeTime, + dd: processRelativeTime, + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}(er)/, + ordinal: function (number, period) { + switch (period) { + // the ordinal 'er' only applies to day of the month + case 'D': + return number + 'er'; + default: + case 'M': + case 'Q': + case 'DDD': + case 'd': + case 'w': + case 'W': + return number; + } + }, + week: { + dow: 0, // Sunday is the first day of the week + doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4) + }, + meridiemParse: /rati|sokallim|donparam|sanje/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'rati') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'sokallim') { + return hour; + } else if (meridiem === 'donparam') { + return hour > 12 ? hour : hour + 12; + } else if (meridiem === 'sanje') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'rati'; + } else if (hour < 12) { + return 'sokallim'; + } else if (hour < 16) { + return 'donparam'; + } else if (hour < 20) { + return 'sanje'; + } else { + return 'rati'; + } + }, +}); diff --git a/node_modules/moment/src/locale/gu.js b/node_modules/moment/src/locale/gu.js new file mode 100644 index 0000000..d432d2c --- /dev/null +++ b/node_modules/moment/src/locale/gu.js @@ -0,0 +1,122 @@ +//! moment.js locale configuration +//! locale : Gujarati [gu] +//! author : Kaushik Thanki : https://github.com/Kaushik1987 + +import moment from '../moment'; + +var symbolMap = { + 1: '૧', + 2: '૨', + 3: '૩', + 4: '૪', + 5: '૫', + 6: '૬', + 7: '૭', + 8: '૮', + 9: '૯', + 0: '૦', + }, + numberMap = { + '૧': '1', + '૨': '2', + '૩': '3', + '૪': '4', + '૫': '5', + '૬': '6', + '૭': '7', + '૮': '8', + '૯': '9', + '૦': '0', + }; + +export default moment.defineLocale('gu', { + months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split( + '_' + ), + monthsShort: + 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split( + '_' + ), + weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'), + weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'), + longDateFormat: { + LT: 'A h:mm વાગ્યે', + LTS: 'A h:mm:ss વાગ્યે', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm વાગ્યે', + LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે', + }, + calendar: { + sameDay: '[આજ] LT', + nextDay: '[કાલે] LT', + nextWeek: 'dddd, LT', + lastDay: '[ગઇકાલે] LT', + lastWeek: '[પાછલા] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s મા', + past: '%s પહેલા', + s: 'અમુક પળો', + ss: '%d સેકંડ', + m: 'એક મિનિટ', + mm: '%d મિનિટ', + h: 'એક કલાક', + hh: '%d કલાક', + d: 'એક દિવસ', + dd: '%d દિવસ', + M: 'એક મહિનો', + MM: '%d મહિનો', + y: 'એક વર્ષ', + yy: '%d વર્ષ', + }, + preparse: function (string) { + return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // Gujarati notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati. + meridiemParse: /રાત|બપોર|સવાર|સાંજ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'રાત') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'સવાર') { + return hour; + } else if (meridiem === 'બપોર') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'સાંજ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'રાત'; + } else if (hour < 10) { + return 'સવાર'; + } else if (hour < 17) { + return 'બપોર'; + } else if (hour < 20) { + return 'સાંજ'; + } else { + return 'રાત'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/he.js b/node_modules/moment/src/locale/he.js new file mode 100644 index 0000000..08add2c --- /dev/null +++ b/node_modules/moment/src/locale/he.js @@ -0,0 +1,94 @@ +//! moment.js locale configuration +//! locale : Hebrew [he] +//! author : Tomer Cohen : https://github.com/tomer +//! author : Moshe Simantov : https://github.com/DevelopmentIL +//! author : Tal Ater : https://github.com/TalAter + +import moment from '../moment'; + +export default moment.defineLocale('he', { + months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split( + '_' + ), + monthsShort: + 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'), + weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'), + weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'), + weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [ב]MMMM YYYY', + LLL: 'D [ב]MMMM YYYY HH:mm', + LLLL: 'dddd, D [ב]MMMM YYYY HH:mm', + l: 'D/M/YYYY', + ll: 'D MMM YYYY', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd, D MMM YYYY HH:mm', + }, + calendar: { + sameDay: '[היום ב־]LT', + nextDay: '[מחר ב־]LT', + nextWeek: 'dddd [בשעה] LT', + lastDay: '[אתמול ב־]LT', + lastWeek: '[ביום] dddd [האחרון בשעה] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'בעוד %s', + past: 'לפני %s', + s: 'מספר שניות', + ss: '%d שניות', + m: 'דקה', + mm: '%d דקות', + h: 'שעה', + hh: function (number) { + if (number === 2) { + return 'שעתיים'; + } + return number + ' שעות'; + }, + d: 'יום', + dd: function (number) { + if (number === 2) { + return 'יומיים'; + } + return number + ' ימים'; + }, + M: 'חודש', + MM: function (number) { + if (number === 2) { + return 'חודשיים'; + } + return number + ' חודשים'; + }, + y: 'שנה', + yy: function (number) { + if (number === 2) { + return 'שנתיים'; + } else if (number % 10 === 0 && number !== 10) { + return number + ' שנה'; + } + return number + ' שנים'; + }, + }, + meridiemParse: + /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i, + isPM: function (input) { + return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 5) { + return 'לפנות בוקר'; + } else if (hour < 10) { + return 'בבוקר'; + } else if (hour < 12) { + return isLower ? 'לפנה"צ' : 'לפני הצהריים'; + } else if (hour < 18) { + return isLower ? 'אחה"צ' : 'אחרי הצהריים'; + } else { + return 'בערב'; + } + }, +}); diff --git a/node_modules/moment/src/locale/hi.js b/node_modules/moment/src/locale/hi.js new file mode 100644 index 0000000..2e3a973 --- /dev/null +++ b/node_modules/moment/src/locale/hi.js @@ -0,0 +1,168 @@ +//! moment.js locale configuration +//! locale : Hindi [hi] +//! author : Mayank Singhal : https://github.com/mayanksinghal + +import moment from '../moment'; + +var symbolMap = { + 1: '१', + 2: '२', + 3: '३', + 4: '४', + 5: '५', + 6: '६', + 7: '७', + 8: '८', + 9: '९', + 0: '०', + }, + numberMap = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0', + }, + monthsParse = [ + /^जन/i, + /^फ़र|फर/i, + /^मार्च/i, + /^अप्रै/i, + /^मई/i, + /^जून/i, + /^जुल/i, + /^अग/i, + /^सितं|सित/i, + /^अक्टू/i, + /^नव|नवं/i, + /^दिसं|दिस/i, + ], + shortMonthsParse = [ + /^जन/i, + /^फ़र/i, + /^मार्च/i, + /^अप्रै/i, + /^मई/i, + /^जून/i, + /^जुल/i, + /^अग/i, + /^सित/i, + /^अक्टू/i, + /^नव/i, + /^दिस/i, + ]; + +export default moment.defineLocale('hi', { + months: { + format: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split( + '_' + ), + standalone: + 'जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर'.split( + '_' + ), + }, + monthsShort: + 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'), + weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'), + weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'), + longDateFormat: { + LT: 'A h:mm बजे', + LTS: 'A h:mm:ss बजे', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm बजे', + LLLL: 'dddd, D MMMM YYYY, A h:mm बजे', + }, + + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: shortMonthsParse, + + monthsRegex: + /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i, + + monthsShortRegex: + /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i, + + monthsStrictRegex: + /^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i, + + monthsShortStrictRegex: + /^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i, + + calendar: { + sameDay: '[आज] LT', + nextDay: '[कल] LT', + nextWeek: 'dddd, LT', + lastDay: '[कल] LT', + lastWeek: '[पिछले] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s में', + past: '%s पहले', + s: 'कुछ ही क्षण', + ss: '%d सेकंड', + m: 'एक मिनट', + mm: '%d मिनट', + h: 'एक घंटा', + hh: '%d घंटे', + d: 'एक दिन', + dd: '%d दिन', + M: 'एक महीने', + MM: '%d महीने', + y: 'एक वर्ष', + yy: '%d वर्ष', + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // Hindi notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi. + meridiemParse: /रात|सुबह|दोपहर|शाम/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'रात') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'सुबह') { + return hour; + } else if (meridiem === 'दोपहर') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'शाम') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'रात'; + } else if (hour < 10) { + return 'सुबह'; + } else if (hour < 17) { + return 'दोपहर'; + } else if (hour < 20) { + return 'शाम'; + } else { + return 'रात'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/hr.js b/node_modules/moment/src/locale/hr.js new file mode 100644 index 0000000..48c1e9e --- /dev/null +++ b/node_modules/moment/src/locale/hr.js @@ -0,0 +1,156 @@ +//! moment.js locale configuration +//! locale : Croatian [hr] +//! author : Bojan Marković : https://github.com/bmarkovic + +import moment from '../moment'; + +function translate(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'ss': + if (number === 1) { + result += 'sekunda'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sekunde'; + } else { + result += 'sekundi'; + } + return result; + case 'm': + return withoutSuffix ? 'jedna minuta' : 'jedne minute'; + case 'mm': + if (number === 1) { + result += 'minuta'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'minute'; + } else { + result += 'minuta'; + } + return result; + case 'h': + return withoutSuffix ? 'jedan sat' : 'jednog sata'; + case 'hh': + if (number === 1) { + result += 'sat'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sata'; + } else { + result += 'sati'; + } + return result; + case 'dd': + if (number === 1) { + result += 'dan'; + } else { + result += 'dana'; + } + return result; + case 'MM': + if (number === 1) { + result += 'mjesec'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'mjeseca'; + } else { + result += 'mjeseci'; + } + return result; + case 'yy': + if (number === 1) { + result += 'godina'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'godine'; + } else { + result += 'godina'; + } + return result; + } +} + +export default moment.defineLocale('hr', { + months: { + format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split( + '_' + ), + standalone: + 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split( + '_' + ), + }, + monthsShort: + 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( + '_' + ), + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'Do MMMM YYYY', + LLL: 'Do MMMM YYYY H:mm', + LLLL: 'dddd, Do MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sutra u] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay: '[jučer u] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[prošlu] [nedjelju] [u] LT'; + case 3: + return '[prošlu] [srijedu] [u] LT'; + case 6: + return '[prošle] [subote] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prošli] dddd [u] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'prije %s', + s: 'par sekundi', + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: 'dan', + dd: translate, + M: 'mjesec', + MM: translate, + y: 'godinu', + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/hu.js b/node_modules/moment/src/locale/hu.js new file mode 100644 index 0000000..f2f5981 --- /dev/null +++ b/node_modules/moment/src/locale/hu.js @@ -0,0 +1,118 @@ +//! moment.js locale configuration +//! locale : Hungarian [hu] +//! author : Adam Brunner : https://github.com/adambrunner +//! author : Peter Viszt : https://github.com/passatgt + +import moment from '../moment'; + +var weekEndings = + 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' '); +function translate(number, withoutSuffix, key, isFuture) { + var num = number; + switch (key) { + case 's': + return isFuture || withoutSuffix + ? 'néhány másodperc' + : 'néhány másodperce'; + case 'ss': + return num + (isFuture || withoutSuffix) + ? ' másodperc' + : ' másodperce'; + case 'm': + return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce'); + case 'mm': + return num + (isFuture || withoutSuffix ? ' perc' : ' perce'); + case 'h': + return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája'); + case 'hh': + return num + (isFuture || withoutSuffix ? ' óra' : ' órája'); + case 'd': + return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja'); + case 'dd': + return num + (isFuture || withoutSuffix ? ' nap' : ' napja'); + case 'M': + return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); + case 'MM': + return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); + case 'y': + return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve'); + case 'yy': + return num + (isFuture || withoutSuffix ? ' év' : ' éve'); + } + return ''; +} +function week(isFuture) { + return ( + (isFuture ? '' : '[múlt] ') + + '[' + + weekEndings[this.day()] + + '] LT[-kor]' + ); +} + +export default moment.defineLocale('hu', { + months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split( + '_' + ), + monthsShort: + 'jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'), + weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'), + weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'YYYY.MM.DD.', + LL: 'YYYY. MMMM D.', + LLL: 'YYYY. MMMM D. H:mm', + LLLL: 'YYYY. MMMM D., dddd H:mm', + }, + meridiemParse: /de|du/i, + isPM: function (input) { + return input.charAt(1).toLowerCase() === 'u'; + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower === true ? 'de' : 'DE'; + } else { + return isLower === true ? 'du' : 'DU'; + } + }, + calendar: { + sameDay: '[ma] LT[-kor]', + nextDay: '[holnap] LT[-kor]', + nextWeek: function () { + return week.call(this, true); + }, + lastDay: '[tegnap] LT[-kor]', + lastWeek: function () { + return week.call(this, false); + }, + sameElse: 'L', + }, + relativeTime: { + future: '%s múlva', + past: '%s', + s: translate, + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/hy-am.js b/node_modules/moment/src/locale/hy-am.js new file mode 100644 index 0000000..283cfbd --- /dev/null +++ b/node_modules/moment/src/locale/hy-am.js @@ -0,0 +1,94 @@ +//! moment.js locale configuration +//! locale : Armenian [hy-am] +//! author : Armendarabyan : https://github.com/armendarabyan + +import moment from '../moment'; + +export default moment.defineLocale('hy-am', { + months: { + format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split( + '_' + ), + standalone: + 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split( + '_' + ), + }, + monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'), + weekdays: + 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split( + '_' + ), + weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), + weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY թ.', + LLL: 'D MMMM YYYY թ., HH:mm', + LLLL: 'dddd, D MMMM YYYY թ., HH:mm', + }, + calendar: { + sameDay: '[այսօր] LT', + nextDay: '[վաղը] LT', + lastDay: '[երեկ] LT', + nextWeek: function () { + return 'dddd [օրը ժամը] LT'; + }, + lastWeek: function () { + return '[անցած] dddd [օրը ժամը] LT'; + }, + sameElse: 'L', + }, + relativeTime: { + future: '%s հետո', + past: '%s առաջ', + s: 'մի քանի վայրկյան', + ss: '%d վայրկյան', + m: 'րոպե', + mm: '%d րոպե', + h: 'ժամ', + hh: '%d ժամ', + d: 'օր', + dd: '%d օր', + M: 'ամիս', + MM: '%d ամիս', + y: 'տարի', + yy: '%d տարի', + }, + meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/, + isPM: function (input) { + return /^(ցերեկվա|երեկոյան)$/.test(input); + }, + meridiem: function (hour) { + if (hour < 4) { + return 'գիշերվա'; + } else if (hour < 12) { + return 'առավոտվա'; + } else if (hour < 17) { + return 'ցերեկվա'; + } else { + return 'երեկոյան'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/, + ordinal: function (number, period) { + switch (period) { + case 'DDD': + case 'w': + case 'W': + case 'DDDo': + if (number === 1) { + return number + '-ին'; + } + return number + '-րդ'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/id.js b/node_modules/moment/src/locale/id.js new file mode 100644 index 0000000..3260e1c --- /dev/null +++ b/node_modules/moment/src/locale/id.js @@ -0,0 +1,76 @@ +//! moment.js locale configuration +//! locale : Indonesian [id] +//! author : Mohammad Satrio Utomo : https://github.com/tyok +//! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan + +import moment from '../moment'; + +export default moment.defineLocale('id', { + months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'), + weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'), + weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'), + weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /pagi|siang|sore|malam/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'siang') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'sore' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'siang'; + } else if (hours < 19) { + return 'sore'; + } else { + return 'malam'; + } + }, + calendar: { + sameDay: '[Hari ini pukul] LT', + nextDay: '[Besok pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kemarin pukul] LT', + lastWeek: 'dddd [lalu pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lalu', + s: 'beberapa detik', + ss: '%d detik', + m: 'semenit', + mm: '%d menit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun', + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/is.js b/node_modules/moment/src/locale/is.js new file mode 100644 index 0000000..d2c6f47 --- /dev/null +++ b/node_modules/moment/src/locale/is.js @@ -0,0 +1,140 @@ +//! moment.js locale configuration +//! locale : Icelandic [is] +//! author : Hinrik Örn Sigurðsson : https://github.com/hinrik + +import moment from '../moment'; + +function plural(n) { + if (n % 100 === 11) { + return true; + } else if (n % 10 === 1) { + return false; + } + return true; +} +function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': + return withoutSuffix || isFuture + ? 'nokkrar sekúndur' + : 'nokkrum sekúndum'; + case 'ss': + if (plural(number)) { + return ( + result + + (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum') + ); + } + return result + 'sekúnda'; + case 'm': + return withoutSuffix ? 'mínúta' : 'mínútu'; + case 'mm': + if (plural(number)) { + return ( + result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum') + ); + } else if (withoutSuffix) { + return result + 'mínúta'; + } + return result + 'mínútu'; + case 'hh': + if (plural(number)) { + return ( + result + + (withoutSuffix || isFuture + ? 'klukkustundir' + : 'klukkustundum') + ); + } + return result + 'klukkustund'; + case 'd': + if (withoutSuffix) { + return 'dagur'; + } + return isFuture ? 'dag' : 'degi'; + case 'dd': + if (plural(number)) { + if (withoutSuffix) { + return result + 'dagar'; + } + return result + (isFuture ? 'daga' : 'dögum'); + } else if (withoutSuffix) { + return result + 'dagur'; + } + return result + (isFuture ? 'dag' : 'degi'); + case 'M': + if (withoutSuffix) { + return 'mánuður'; + } + return isFuture ? 'mánuð' : 'mánuði'; + case 'MM': + if (plural(number)) { + if (withoutSuffix) { + return result + 'mánuðir'; + } + return result + (isFuture ? 'mánuði' : 'mánuðum'); + } else if (withoutSuffix) { + return result + 'mánuður'; + } + return result + (isFuture ? 'mánuð' : 'mánuði'); + case 'y': + return withoutSuffix || isFuture ? 'ár' : 'ári'; + case 'yy': + if (plural(number)) { + return result + (withoutSuffix || isFuture ? 'ár' : 'árum'); + } + return result + (withoutSuffix || isFuture ? 'ár' : 'ári'); + } +} + +export default moment.defineLocale('is', { + months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'), + weekdays: + 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split( + '_' + ), + weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'), + weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] H:mm', + LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm', + }, + calendar: { + sameDay: '[í dag kl.] LT', + nextDay: '[á morgun kl.] LT', + nextWeek: 'dddd [kl.] LT', + lastDay: '[í gær kl.] LT', + lastWeek: '[síðasta] dddd [kl.] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'eftir %s', + past: 'fyrir %s síðan', + s: translate, + ss: translate, + m: translate, + mm: translate, + h: 'klukkustund', + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/it-ch.js b/node_modules/moment/src/locale/it-ch.js new file mode 100644 index 0000000..3437453 --- /dev/null +++ b/node_modules/moment/src/locale/it-ch.js @@ -0,0 +1,64 @@ +//! moment.js locale configuration +//! locale : Italian (Switzerland) [it-ch] +//! author : xfh : https://github.com/xfh + +import moment from '../moment'; + +export default moment.defineLocale('it-ch', { + months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split( + '_' + ), + monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), + weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split( + '_' + ), + weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'), + weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Oggi alle] LT', + nextDay: '[Domani alle] LT', + nextWeek: 'dddd [alle] LT', + lastDay: '[Ieri alle] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[la scorsa] dddd [alle] LT'; + default: + return '[lo scorso] dddd [alle] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: function (s) { + return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s; + }, + past: '%s fa', + s: 'alcuni secondi', + ss: '%d secondi', + m: 'un minuto', + mm: '%d minuti', + h: "un'ora", + hh: '%d ore', + d: 'un giorno', + dd: '%d giorni', + M: 'un mese', + MM: '%d mesi', + y: 'un anno', + yy: '%d anni', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/it.js b/node_modules/moment/src/locale/it.js new file mode 100644 index 0000000..0aa5721 --- /dev/null +++ b/node_modules/moment/src/locale/it.js @@ -0,0 +1,106 @@ +//! moment.js locale configuration +//! locale : Italian [it] +//! author : Lorenzo : https://github.com/aliem +//! author: Mattia Larentis: https://github.com/nostalgiaz +//! author: Marco : https://github.com/Manfre98 + +import moment from '../moment'; + +export default moment.defineLocale('it', { + months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split( + '_' + ), + monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), + weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split( + '_' + ), + weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'), + weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: function () { + return ( + '[Oggi a' + + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + + ']LT' + ); + }, + nextDay: function () { + return ( + '[Domani a' + + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + + ']LT' + ); + }, + nextWeek: function () { + return ( + 'dddd [a' + + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + + ']LT' + ); + }, + lastDay: function () { + return ( + '[Ieri a' + + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + + ']LT' + ); + }, + lastWeek: function () { + switch (this.day()) { + case 0: + return ( + '[La scorsa] dddd [a' + + (this.hours() > 1 + ? 'lle ' + : this.hours() === 0 + ? ' ' + : "ll'") + + ']LT' + ); + default: + return ( + '[Lo scorso] dddd [a' + + (this.hours() > 1 + ? 'lle ' + : this.hours() === 0 + ? ' ' + : "ll'") + + ']LT' + ); + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'tra %s', + past: '%s fa', + s: 'alcuni secondi', + ss: '%d secondi', + m: 'un minuto', + mm: '%d minuti', + h: "un'ora", + hh: '%d ore', + d: 'un giorno', + dd: '%d giorni', + w: 'una settimana', + ww: '%d settimane', + M: 'un mese', + MM: '%d mesi', + y: 'un anno', + yy: '%d anni', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ja.js b/node_modules/moment/src/locale/ja.js new file mode 100644 index 0000000..abe921a --- /dev/null +++ b/node_modules/moment/src/locale/ja.js @@ -0,0 +1,148 @@ +//! moment.js locale configuration +//! locale : Japanese [ja] +//! author : LI Long : https://github.com/baryon + +import moment from '../moment'; + +export default moment.defineLocale('ja', { + eras: [ + { + since: '2019-05-01', + offset: 1, + name: '令和', + narrow: '㋿', + abbr: 'R', + }, + { + since: '1989-01-08', + until: '2019-04-30', + offset: 1, + name: '平成', + narrow: '㍻', + abbr: 'H', + }, + { + since: '1926-12-25', + until: '1989-01-07', + offset: 1, + name: '昭和', + narrow: '㍼', + abbr: 'S', + }, + { + since: '1912-07-30', + until: '1926-12-24', + offset: 1, + name: '大正', + narrow: '㍽', + abbr: 'T', + }, + { + since: '1873-01-01', + until: '1912-07-29', + offset: 6, + name: '明治', + narrow: '㍾', + abbr: 'M', + }, + { + since: '0001-01-01', + until: '1873-12-31', + offset: 1, + name: '西暦', + narrow: 'AD', + abbr: 'AD', + }, + { + since: '0000-12-31', + until: -Infinity, + offset: 1, + name: '紀元前', + narrow: 'BC', + abbr: 'BC', + }, + ], + eraYearOrdinalRegex: /(元|\d+)年/, + eraYearOrdinalParse: function (input, match) { + return match[1] === '元' ? 1 : parseInt(match[1] || input, 10); + }, + months: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'), + weekdaysShort: '日_月_火_水_木_金_土'.split('_'), + weekdaysMin: '日_月_火_水_木_金_土'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日 dddd HH:mm', + l: 'YYYY/MM/DD', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日(ddd) HH:mm', + }, + meridiemParse: /午前|午後/i, + isPM: function (input) { + return input === '午後'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return '午前'; + } else { + return '午後'; + } + }, + calendar: { + sameDay: '[今日] LT', + nextDay: '[明日] LT', + nextWeek: function (now) { + if (now.week() !== this.week()) { + return '[来週]dddd LT'; + } else { + return 'dddd LT'; + } + }, + lastDay: '[昨日] LT', + lastWeek: function (now) { + if (this.week() !== now.week()) { + return '[先週]dddd LT'; + } else { + return 'dddd LT'; + } + }, + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}日/, + ordinal: function (number, period) { + switch (period) { + case 'y': + return number === 1 ? '元年' : number + '年'; + case 'd': + case 'D': + case 'DDD': + return number + '日'; + default: + return number; + } + }, + relativeTime: { + future: '%s後', + past: '%s前', + s: '数秒', + ss: '%d秒', + m: '1分', + mm: '%d分', + h: '1時間', + hh: '%d時間', + d: '1日', + dd: '%d日', + M: '1ヶ月', + MM: '%dヶ月', + y: '1年', + yy: '%d年', + }, +}); diff --git a/node_modules/moment/src/locale/jv.js b/node_modules/moment/src/locale/jv.js new file mode 100644 index 0000000..b52f48d --- /dev/null +++ b/node_modules/moment/src/locale/jv.js @@ -0,0 +1,76 @@ +//! moment.js locale configuration +//! locale : Javanese [jv] +//! author : Rony Lantip : https://github.com/lantip +//! reference: http://jv.wikipedia.org/wiki/Basa_Jawa + +import moment from '../moment'; + +export default moment.defineLocale('jv', { + months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'), + weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'), + weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'), + weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /enjing|siyang|sonten|ndalu/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'enjing') { + return hour; + } else if (meridiem === 'siyang') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'sonten' || meridiem === 'ndalu') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'enjing'; + } else if (hours < 15) { + return 'siyang'; + } else if (hours < 19) { + return 'sonten'; + } else { + return 'ndalu'; + } + }, + calendar: { + sameDay: '[Dinten puniko pukul] LT', + nextDay: '[Mbenjang pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kala wingi pukul] LT', + lastWeek: 'dddd [kepengker pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'wonten ing %s', + past: '%s ingkang kepengker', + s: 'sawetawis detik', + ss: '%d detik', + m: 'setunggal menit', + mm: '%d menit', + h: 'setunggal jam', + hh: '%d jam', + d: 'sedinten', + dd: '%d dinten', + M: 'sewulan', + MM: '%d wulan', + y: 'setaun', + yy: '%d taun', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ka.js b/node_modules/moment/src/locale/ka.js new file mode 100644 index 0000000..15b6ead --- /dev/null +++ b/node_modules/moment/src/locale/ka.js @@ -0,0 +1,92 @@ +//! moment.js locale configuration +//! locale : Georgian [ka] +//! author : Irakli Janiashvili : https://github.com/IrakliJani + +import moment from '../moment'; + +export default moment.defineLocale('ka', { + months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split( + '_' + ), + monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'), + weekdays: { + standalone: + 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split( + '_' + ), + format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split( + '_' + ), + isFormat: /(წინა|შემდეგ)/, + }, + weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'), + weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[დღეს] LT[-ზე]', + nextDay: '[ხვალ] LT[-ზე]', + lastDay: '[გუშინ] LT[-ზე]', + nextWeek: '[შემდეგ] dddd LT[-ზე]', + lastWeek: '[წინა] dddd LT-ზე', + sameElse: 'L', + }, + relativeTime: { + future: function (s) { + return s.replace( + /(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/, + function ($0, $1, $2) { + return $2 === 'ი' ? $1 + 'ში' : $1 + $2 + 'ში'; + } + ); + }, + past: function (s) { + if (/(წამი|წუთი|საათი|დღე|თვე)/.test(s)) { + return s.replace(/(ი|ე)$/, 'ის წინ'); + } + if (/წელი/.test(s)) { + return s.replace(/წელი$/, 'წლის წინ'); + } + return s; + }, + s: 'რამდენიმე წამი', + ss: '%d წამი', + m: 'წუთი', + mm: '%d წუთი', + h: 'საათი', + hh: '%d საათი', + d: 'დღე', + dd: '%d დღე', + M: 'თვე', + MM: '%d თვე', + y: 'წელი', + yy: '%d წელი', + }, + dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/, + ordinal: function (number) { + if (number === 0) { + return number; + } + if (number === 1) { + return number + '-ლი'; + } + if ( + number < 20 || + (number <= 100 && number % 20 === 0) || + number % 100 === 0 + ) { + return 'მე-' + number; + } + return number + '-ე'; + }, + week: { + dow: 1, + doy: 7, + }, +}); diff --git a/node_modules/moment/src/locale/kk.js b/node_modules/moment/src/locale/kk.js new file mode 100644 index 0000000..9cab152 --- /dev/null +++ b/node_modules/moment/src/locale/kk.js @@ -0,0 +1,82 @@ +//! moment.js locale configuration +//! locale : Kazakh [kk] +//! authors : Nurlan Rakhimzhanov : https://github.com/nurlan + +import moment from '../moment'; + +var suffixes = { + 0: '-ші', + 1: '-ші', + 2: '-ші', + 3: '-ші', + 4: '-ші', + 5: '-ші', + 6: '-шы', + 7: '-ші', + 8: '-ші', + 9: '-шы', + 10: '-шы', + 20: '-шы', + 30: '-шы', + 40: '-шы', + 50: '-ші', + 60: '-шы', + 70: '-ші', + 80: '-ші', + 90: '-шы', + 100: '-ші', +}; + +export default moment.defineLocale('kk', { + months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split( + '_' + ), + monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'), + weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split( + '_' + ), + weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'), + weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Бүгін сағат] LT', + nextDay: '[Ертең сағат] LT', + nextWeek: 'dddd [сағат] LT', + lastDay: '[Кеше сағат] LT', + lastWeek: '[Өткен аптаның] dddd [сағат] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ішінде', + past: '%s бұрын', + s: 'бірнеше секунд', + ss: '%d секунд', + m: 'бір минут', + mm: '%d минут', + h: 'бір сағат', + hh: '%d сағат', + d: 'бір күн', + dd: '%d күн', + M: 'бір ай', + MM: '%d ай', + y: 'бір жыл', + yy: '%d жыл', + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/, + ordinal: function (number) { + var a = number % 10, + b = number >= 100 ? 100 : null; + return number + (suffixes[number] || suffixes[a] || suffixes[b]); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/km.js b/node_modules/moment/src/locale/km.js new file mode 100644 index 0000000..984c4dc --- /dev/null +++ b/node_modules/moment/src/locale/km.js @@ -0,0 +1,103 @@ +//! moment.js locale configuration +//! locale : Cambodian [km] +//! author : Kruy Vanna : https://github.com/kruyvanna + +import moment from '../moment'; + +var symbolMap = { + 1: '១', + 2: '២', + 3: '៣', + 4: '៤', + 5: '៥', + 6: '៦', + 7: '៧', + 8: '៨', + 9: '៩', + 0: '០', + }, + numberMap = { + '១': '1', + '២': '2', + '៣': '3', + '៤': '4', + '៥': '5', + '៦': '6', + '៧': '7', + '៨': '8', + '៩': '9', + '០': '0', + }; + +export default moment.defineLocale('km', { + months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split( + '_' + ), + monthsShort: + 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split( + '_' + ), + weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), + weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'), + weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + meridiemParse: /ព្រឹក|ល្ងាច/, + isPM: function (input) { + return input === 'ល្ងាច'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ព្រឹក'; + } else { + return 'ល្ងាច'; + } + }, + calendar: { + sameDay: '[ថ្ងៃនេះ ម៉ោង] LT', + nextDay: '[ស្អែក ម៉ោង] LT', + nextWeek: 'dddd [ម៉ោង] LT', + lastDay: '[ម្សិលមិញ ម៉ោង] LT', + lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%sទៀត', + past: '%sមុន', + s: 'ប៉ុន្មានវិនាទី', + ss: '%d វិនាទី', + m: 'មួយនាទី', + mm: '%d នាទី', + h: 'មួយម៉ោង', + hh: '%d ម៉ោង', + d: 'មួយថ្ងៃ', + dd: '%d ថ្ងៃ', + M: 'មួយខែ', + MM: '%d ខែ', + y: 'មួយឆ្នាំ', + yy: '%d ឆ្នាំ', + }, + dayOfMonthOrdinalParse: /ទី\d{1,2}/, + ordinal: 'ទី%d', + preparse: function (string) { + return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/kn.js b/node_modules/moment/src/locale/kn.js new file mode 100644 index 0000000..e7cb354 --- /dev/null +++ b/node_modules/moment/src/locale/kn.js @@ -0,0 +1,124 @@ +//! moment.js locale configuration +//! locale : Kannada [kn] +//! author : Rajeev Naik : https://github.com/rajeevnaikte + +import moment from '../moment'; + +var symbolMap = { + 1: '೧', + 2: '೨', + 3: '೩', + 4: '೪', + 5: '೫', + 6: '೬', + 7: '೭', + 8: '೮', + 9: '೯', + 0: '೦', + }, + numberMap = { + '೧': '1', + '೨': '2', + '೩': '3', + '೪': '4', + '೫': '5', + '೬': '6', + '೭': '7', + '೮': '8', + '೯': '9', + '೦': '0', + }; + +export default moment.defineLocale('kn', { + months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split( + '_' + ), + monthsShort: + 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split( + '_' + ), + weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'), + weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm', + }, + calendar: { + sameDay: '[ಇಂದು] LT', + nextDay: '[ನಾಳೆ] LT', + nextWeek: 'dddd, LT', + lastDay: '[ನಿನ್ನೆ] LT', + lastWeek: '[ಕೊನೆಯ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ನಂತರ', + past: '%s ಹಿಂದೆ', + s: 'ಕೆಲವು ಕ್ಷಣಗಳು', + ss: '%d ಸೆಕೆಂಡುಗಳು', + m: 'ಒಂದು ನಿಮಿಷ', + mm: '%d ನಿಮಿಷ', + h: 'ಒಂದು ಗಂಟೆ', + hh: '%d ಗಂಟೆ', + d: 'ಒಂದು ದಿನ', + dd: '%d ದಿನ', + M: 'ಒಂದು ತಿಂಗಳು', + MM: '%d ತಿಂಗಳು', + y: 'ಒಂದು ವರ್ಷ', + yy: '%d ವರ್ಷ', + }, + preparse: function (string) { + return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ರಾತ್ರಿ') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') { + return hour; + } else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'ಸಂಜೆ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ರಾತ್ರಿ'; + } else if (hour < 10) { + return 'ಬೆಳಿಗ್ಗೆ'; + } else if (hour < 17) { + return 'ಮಧ್ಯಾಹ್ನ'; + } else if (hour < 20) { + return 'ಸಂಜೆ'; + } else { + return 'ರಾತ್ರಿ'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}(ನೇ)/, + ordinal: function (number) { + return number + 'ನೇ'; + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ko.js b/node_modules/moment/src/locale/ko.js new file mode 100644 index 0000000..c45f3e3 --- /dev/null +++ b/node_modules/moment/src/locale/ko.js @@ -0,0 +1,75 @@ +//! moment.js locale configuration +//! locale : Korean [ko] +//! author : Kyungwook, Park : https://github.com/kyungw00k +//! author : Jeeeyul Lee + +import moment from '../moment'; + +export default moment.defineLocale('ko', { + months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), + monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split( + '_' + ), + weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'), + weekdaysShort: '일_월_화_수_목_금_토'.split('_'), + weekdaysMin: '일_월_화_수_목_금_토'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'YYYY.MM.DD.', + LL: 'YYYY년 MMMM D일', + LLL: 'YYYY년 MMMM D일 A h:mm', + LLLL: 'YYYY년 MMMM D일 dddd A h:mm', + l: 'YYYY.MM.DD.', + ll: 'YYYY년 MMMM D일', + lll: 'YYYY년 MMMM D일 A h:mm', + llll: 'YYYY년 MMMM D일 dddd A h:mm', + }, + calendar: { + sameDay: '오늘 LT', + nextDay: '내일 LT', + nextWeek: 'dddd LT', + lastDay: '어제 LT', + lastWeek: '지난주 dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s 후', + past: '%s 전', + s: '몇 초', + ss: '%d초', + m: '1분', + mm: '%d분', + h: '한 시간', + hh: '%d시간', + d: '하루', + dd: '%d일', + M: '한 달', + MM: '%d달', + y: '일 년', + yy: '%d년', + }, + dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '일'; + case 'M': + return number + '월'; + case 'w': + case 'W': + return number + '주'; + default: + return number; + } + }, + meridiemParse: /오전|오후/, + isPM: function (token) { + return token === '오후'; + }, + meridiem: function (hour, minute, isUpper) { + return hour < 12 ? '오전' : '오후'; + }, +}); diff --git a/node_modules/moment/src/locale/ku-kmr.js b/node_modules/moment/src/locale/ku-kmr.js new file mode 100644 index 0000000..87ad603 --- /dev/null +++ b/node_modules/moment/src/locale/ku-kmr.js @@ -0,0 +1,121 @@ +//! moment.js locale configuration +//! locale : Northern Kurdish [ku-kmr] +//! authors : Mazlum Özdogan : https://github.com/mergehez + +// All rules except for month names are according to +// the spelling rules which are defined in the book 'Rêbera Rastnivîsînê' from Komxebata Kurmancîyê. +// Komxebata Kurmancîyê is a work group that studied different uses in Kurdish language (Kurmanji/Northern Kurdish), +// chose one of alternatives as standard and publish them via their book. +// There are 18 Kurdish linguists in the group. +// The group was formed by Mesopotamia Foundation + +import moment from '../moment'; + +function processRelativeTime(num, withoutSuffix, key, isFuture) { + var format = { + s: ['çend sanîye', 'çend sanîyeyan'], + ss: [num + ' sanîye', num + ' sanîyeyan'], + m: ['deqîqeyek', 'deqîqeyekê'], + mm: [num + ' deqîqe', num + ' deqîqeyan'], + h: ['saetek', 'saetekê'], + hh: [num + ' saet', num + ' saetan'], + d: ['rojek', 'rojekê'], + dd: [num + ' roj', num + ' rojan'], + w: ['hefteyek', 'hefteyekê'], + ww: [num + ' hefte', num + ' hefteyan'], + M: ['mehek', 'mehekê'], + MM: [num + ' meh', num + ' mehan'], + y: ['salek', 'salekê'], + yy: [num + ' sal', num + ' salan'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; +} +// function obliqueNumSuffix(num) { +// if(num.includes(':')) +// num = parseInt(num.split(':')[0]); +// else +// num = parseInt(num); +// return num == 0 || num % 10 == 1 ? 'ê' +// : (num > 10 && num % 10 == 0 ? 'î' : 'an'); +// } +function ezafeNumSuffix(num) { + num = '' + num; + var l = num.substring(num.length - 1), + ll = num.length > 1 ? num.substring(num.length - 2) : ''; + if ( + !(ll == 12 || ll == 13) && + (l == '2' || l == '3' || ll == '50' || l == '70' || l == '80') + ) + return 'yê'; + return 'ê'; +} + +export default moment.defineLocale('ku-kmr', { + // According to the spelling rules defined by the work group of Weqfa Mezopotamyayê (Mesopotamia Foundation) + // this should be: 'Kanûna Paşîn_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Çirîya Pêşîn_Çirîya Paşîn_Kanûna Pêşîn' + // But the names below are more well known and handy + months: 'Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar'.split( + '_' + ), + monthsShort: 'Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber'.split('_'), + monthsParseExact: true, + weekdays: 'Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî'.split('_'), + weekdaysShort: 'Yek_Du_Sê_Çar_Pên_În_Şem'.split('_'), + weekdaysMin: 'Ye_Du_Sê_Ça_Pê_În_Şe'.split('_'), + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'bn' : 'BN'; + } else { + return isLower ? 'pn' : 'PN'; + } + }, + meridiemParse: /bn|BN|pn|PN/, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'Do MMMM[a] YYYY[an]', + LLL: 'Do MMMM[a] YYYY[an] HH:mm', + LLLL: 'dddd, Do MMMM[a] YYYY[an] HH:mm', + ll: 'Do MMM[.] YYYY[an]', + lll: 'Do MMM[.] YYYY[an] HH:mm', + llll: 'ddd[.], Do MMM[.] YYYY[an] HH:mm', + }, + calendar: { + sameDay: '[Îro di saet] LT [de]', + nextDay: '[Sibê di saet] LT [de]', + nextWeek: 'dddd [di saet] LT [de]', + lastDay: '[Duh di saet] LT [de]', + lastWeek: 'dddd[a borî di saet] LT [de]', + sameElse: 'L', + }, + relativeTime: { + future: 'di %s de', + past: 'berî %s', + s: processRelativeTime, + ss: processRelativeTime, + m: processRelativeTime, + mm: processRelativeTime, + h: processRelativeTime, + hh: processRelativeTime, + d: processRelativeTime, + dd: processRelativeTime, + w: processRelativeTime, + ww: processRelativeTime, + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}(?:yê|ê|\.)/, + ordinal: function (num, period) { + var p = period.toLowerCase(); + if (p.includes('w') || p.includes('m')) return num + '.'; + + return num + ezafeNumSuffix(num); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ku.js b/node_modules/moment/src/locale/ku.js new file mode 100644 index 0000000..e705f01 --- /dev/null +++ b/node_modules/moment/src/locale/ku.js @@ -0,0 +1,118 @@ +//! moment.js locale configuration +//! locale : Kurdish [ku] +//! author : Shahram Mebashar : https://github.com/ShahramMebashar + +import moment from '../moment'; + +var symbolMap = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }, + months = [ + 'کانونی دووەم', + 'شوبات', + 'ئازار', + 'نیسان', + 'ئایار', + 'حوزەیران', + 'تەمموز', + 'ئاب', + 'ئەیلوول', + 'تشرینی یەكەم', + 'تشرینی دووەم', + 'كانونی یەکەم', + ]; + +export default moment.defineLocale('ku', { + months: months, + monthsShort: months, + weekdays: + 'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split( + '_' + ), + weekdaysShort: + 'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split('_'), + weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + meridiemParse: /ئێواره‌|به‌یانی/, + isPM: function (input) { + return /ئێواره‌/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'به‌یانی'; + } else { + return 'ئێواره‌'; + } + }, + calendar: { + sameDay: '[ئه‌مرۆ كاتژمێر] LT', + nextDay: '[به‌یانی كاتژمێر] LT', + nextWeek: 'dddd [كاتژمێر] LT', + lastDay: '[دوێنێ كاتژمێر] LT', + lastWeek: 'dddd [كاتژمێر] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'له‌ %s', + past: '%s', + s: 'چه‌ند چركه‌یه‌ك', + ss: 'چركه‌ %d', + m: 'یه‌ك خوله‌ك', + mm: '%d خوله‌ك', + h: 'یه‌ك كاتژمێر', + hh: '%d كاتژمێر', + d: 'یه‌ك ڕۆژ', + dd: '%d ڕۆژ', + M: 'یه‌ك مانگ', + MM: '%d مانگ', + y: 'یه‌ك ساڵ', + yy: '%d ساڵ', + }, + preparse: function (string) { + return string + .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }) + .replace(/،/g, ','); + }, + postformat: function (string) { + return string + .replace(/\d/g, function (match) { + return symbolMap[match]; + }) + .replace(/,/g, '،'); + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ky.js b/node_modules/moment/src/locale/ky.js new file mode 100644 index 0000000..2108d09 --- /dev/null +++ b/node_modules/moment/src/locale/ky.js @@ -0,0 +1,84 @@ +//! moment.js locale configuration +//! locale : Kyrgyz [ky] +//! author : Chyngyz Arystan uulu : https://github.com/chyngyz + +import moment from '../moment'; + +var suffixes = { + 0: '-чү', + 1: '-чи', + 2: '-чи', + 3: '-чү', + 4: '-чү', + 5: '-чи', + 6: '-чы', + 7: '-чи', + 8: '-чи', + 9: '-чу', + 10: '-чу', + 20: '-чы', + 30: '-чу', + 40: '-чы', + 50: '-чү', + 60: '-чы', + 70: '-чи', + 80: '-чи', + 90: '-чу', + 100: '-чү', +}; + +export default moment.defineLocale('ky', { + months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split( + '_' + ), + monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split( + '_' + ), + weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split( + '_' + ), + weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'), + weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Бүгүн саат] LT', + nextDay: '[Эртең саат] LT', + nextWeek: 'dddd [саат] LT', + lastDay: '[Кечээ саат] LT', + lastWeek: '[Өткөн аптанын] dddd [күнү] [саат] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ичинде', + past: '%s мурун', + s: 'бирнече секунд', + ss: '%d секунд', + m: 'бир мүнөт', + mm: '%d мүнөт', + h: 'бир саат', + hh: '%d саат', + d: 'бир күн', + dd: '%d күн', + M: 'бир ай', + MM: '%d ай', + y: 'бир жыл', + yy: '%d жыл', + }, + dayOfMonthOrdinalParse: /\d{1,2}-(чи|чы|чү|чу)/, + ordinal: function (number) { + var a = number % 10, + b = number >= 100 ? 100 : null; + return number + (suffixes[number] || suffixes[a] || suffixes[b]); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/lb.js b/node_modules/moment/src/locale/lb.js new file mode 100644 index 0000000..f01e662 --- /dev/null +++ b/node_modules/moment/src/locale/lb.js @@ -0,0 +1,137 @@ +//! moment.js locale configuration +//! locale : Luxembourgish [lb] +//! author : mweimerskirch : https://github.com/mweimerskirch +//! author : David Raison : https://github.com/kwisatz + +import moment from '../moment'; + +function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + m: ['eng Minutt', 'enger Minutt'], + h: ['eng Stonn', 'enger Stonn'], + d: ['een Dag', 'engem Dag'], + M: ['ee Mount', 'engem Mount'], + y: ['ee Joer', 'engem Joer'], + }; + return withoutSuffix ? format[key][0] : format[key][1]; +} +function processFutureTime(string) { + var number = string.substr(0, string.indexOf(' ')); + if (eifelerRegelAppliesToNumber(number)) { + return 'a ' + string; + } + return 'an ' + string; +} +function processPastTime(string) { + var number = string.substr(0, string.indexOf(' ')); + if (eifelerRegelAppliesToNumber(number)) { + return 'viru ' + string; + } + return 'virun ' + string; +} +/** + * Returns true if the word before the given number loses the '-n' ending. + * e.g. 'an 10 Deeg' but 'a 5 Deeg' + * + * @param number {integer} + * @returns {boolean} + */ +function eifelerRegelAppliesToNumber(number) { + number = parseInt(number, 10); + if (isNaN(number)) { + return false; + } + if (number < 0) { + // Negative Number --> always true + return true; + } else if (number < 10) { + // Only 1 digit + if (4 <= number && number <= 7) { + return true; + } + return false; + } else if (number < 100) { + // 2 digits + var lastDigit = number % 10, + firstDigit = number / 10; + if (lastDigit === 0) { + return eifelerRegelAppliesToNumber(firstDigit); + } + return eifelerRegelAppliesToNumber(lastDigit); + } else if (number < 10000) { + // 3 or 4 digits --> recursively check first digit + while (number >= 10) { + number = number / 10; + } + return eifelerRegelAppliesToNumber(number); + } else { + // Anything larger than 4 digits: recursively check first n-3 digits + number = number / 1000; + return eifelerRegelAppliesToNumber(number); + } +} + +export default moment.defineLocale('lb', { + months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_' + ), + monthsShort: + 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split( + '_' + ), + weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm [Auer]', + LTS: 'H:mm:ss [Auer]', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm [Auer]', + LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]', + }, + calendar: { + sameDay: '[Haut um] LT', + sameElse: 'L', + nextDay: '[Muer um] LT', + nextWeek: 'dddd [um] LT', + lastDay: '[Gëschter um] LT', + lastWeek: function () { + // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule + switch (this.day()) { + case 2: + case 4: + return '[Leschten] dddd [um] LT'; + default: + return '[Leschte] dddd [um] LT'; + } + }, + }, + relativeTime: { + future: processFutureTime, + past: processPastTime, + s: 'e puer Sekonnen', + ss: '%d Sekonnen', + m: processRelativeTime, + mm: '%d Minutten', + h: processRelativeTime, + hh: '%d Stonnen', + d: processRelativeTime, + dd: '%d Deeg', + M: processRelativeTime, + MM: '%d Méint', + y: processRelativeTime, + yy: '%d Joer', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/lo.js b/node_modules/moment/src/locale/lo.js new file mode 100644 index 0000000..cd6cc20 --- /dev/null +++ b/node_modules/moment/src/locale/lo.js @@ -0,0 +1,66 @@ +//! moment.js locale configuration +//! locale : Lao [lo] +//! author : Ryan Hart : https://github.com/ryanhart2 + +import moment from '../moment'; + +export default moment.defineLocale('lo', { + months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split( + '_' + ), + monthsShort: + 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split( + '_' + ), + weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), + weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), + weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'ວັນdddd D MMMM YYYY HH:mm', + }, + meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/, + isPM: function (input) { + return input === 'ຕອນແລງ'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ຕອນເຊົ້າ'; + } else { + return 'ຕອນແລງ'; + } + }, + calendar: { + sameDay: '[ມື້ນີ້ເວລາ] LT', + nextDay: '[ມື້ອື່ນເວລາ] LT', + nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT', + lastDay: '[ມື້ວານນີ້ເວລາ] LT', + lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ອີກ %s', + past: '%sຜ່ານມາ', + s: 'ບໍ່ເທົ່າໃດວິນາທີ', + ss: '%d ວິນາທີ', + m: '1 ນາທີ', + mm: '%d ນາທີ', + h: '1 ຊົ່ວໂມງ', + hh: '%d ຊົ່ວໂມງ', + d: '1 ມື້', + dd: '%d ມື້', + M: '1 ເດືອນ', + MM: '%d ເດືອນ', + y: '1 ປີ', + yy: '%d ປີ', + }, + dayOfMonthOrdinalParse: /(ທີ່)\d{1,2}/, + ordinal: function (number) { + return 'ທີ່' + number; + }, +}); diff --git a/node_modules/moment/src/locale/lt.js b/node_modules/moment/src/locale/lt.js new file mode 100644 index 0000000..83c1595 --- /dev/null +++ b/node_modules/moment/src/locale/lt.js @@ -0,0 +1,125 @@ +//! moment.js locale configuration +//! locale : Lithuanian [lt] +//! author : Mindaugas Mozūras : https://github.com/mmozuras + +import moment from '../moment'; + +var units = { + ss: 'sekundė_sekundžių_sekundes', + m: 'minutė_minutės_minutę', + mm: 'minutės_minučių_minutes', + h: 'valanda_valandos_valandą', + hh: 'valandos_valandų_valandas', + d: 'diena_dienos_dieną', + dd: 'dienos_dienų_dienas', + M: 'mėnuo_mėnesio_mėnesį', + MM: 'mėnesiai_mėnesių_mėnesius', + y: 'metai_metų_metus', + yy: 'metai_metų_metus', +}; +function translateSeconds(number, withoutSuffix, key, isFuture) { + if (withoutSuffix) { + return 'kelios sekundės'; + } else { + return isFuture ? 'kelių sekundžių' : 'kelias sekundes'; + } +} +function translateSingular(number, withoutSuffix, key, isFuture) { + return withoutSuffix + ? forms(key)[0] + : isFuture + ? forms(key)[1] + : forms(key)[2]; +} +function special(number) { + return number % 10 === 0 || (number > 10 && number < 20); +} +function forms(key) { + return units[key].split('_'); +} +function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + if (number === 1) { + return ( + result + translateSingular(number, withoutSuffix, key[0], isFuture) + ); + } else if (withoutSuffix) { + return result + (special(number) ? forms(key)[1] : forms(key)[0]); + } else { + if (isFuture) { + return result + forms(key)[1]; + } else { + return result + (special(number) ? forms(key)[1] : forms(key)[2]); + } + } +} +export default moment.defineLocale('lt', { + months: { + format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split( + '_' + ), + standalone: + 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split( + '_' + ), + isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/, + }, + monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'), + weekdays: { + format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split( + '_' + ), + standalone: + 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split( + '_' + ), + isFormat: /dddd HH:mm/, + }, + weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'), + weekdaysMin: 'S_P_A_T_K_Pn_Š'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY [m.] MMMM D [d.]', + LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]', + l: 'YYYY-MM-DD', + ll: 'YYYY [m.] MMMM D [d.]', + lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]', + }, + calendar: { + sameDay: '[Šiandien] LT', + nextDay: '[Rytoj] LT', + nextWeek: 'dddd LT', + lastDay: '[Vakar] LT', + lastWeek: '[Praėjusį] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: 'po %s', + past: 'prieš %s', + s: translateSeconds, + ss: translate, + m: translateSingular, + mm: translate, + h: translateSingular, + hh: translate, + d: translateSingular, + dd: translate, + M: translateSingular, + MM: translate, + y: translateSingular, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}-oji/, + ordinal: function (number) { + return number + '-oji'; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/lv.js b/node_modules/moment/src/locale/lv.js new file mode 100644 index 0000000..3a89653 --- /dev/null +++ b/node_modules/moment/src/locale/lv.js @@ -0,0 +1,94 @@ +//! moment.js locale configuration +//! locale : Latvian [lv] +//! author : Kristaps Karlsons : https://github.com/skakri +//! author : Jānis Elmeris : https://github.com/JanisE + +import moment from '../moment'; + +var units = { + ss: 'sekundes_sekundēm_sekunde_sekundes'.split('_'), + m: 'minūtes_minūtēm_minūte_minūtes'.split('_'), + mm: 'minūtes_minūtēm_minūte_minūtes'.split('_'), + h: 'stundas_stundām_stunda_stundas'.split('_'), + hh: 'stundas_stundām_stunda_stundas'.split('_'), + d: 'dienas_dienām_diena_dienas'.split('_'), + dd: 'dienas_dienām_diena_dienas'.split('_'), + M: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'), + MM: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'), + y: 'gada_gadiem_gads_gadi'.split('_'), + yy: 'gada_gadiem_gads_gadi'.split('_'), +}; +/** + * @param withoutSuffix boolean true = a length of time; false = before/after a period of time. + */ +function format(forms, number, withoutSuffix) { + if (withoutSuffix) { + // E.g. "21 minūte", "3 minūtes". + return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3]; + } else { + // E.g. "21 minūtes" as in "pēc 21 minūtes". + // E.g. "3 minūtēm" as in "pēc 3 minūtēm". + return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1]; + } +} +function relativeTimeWithPlural(number, withoutSuffix, key) { + return number + ' ' + format(units[key], number, withoutSuffix); +} +function relativeTimeWithSingular(number, withoutSuffix, key) { + return format(units[key], number, withoutSuffix); +} +function relativeSeconds(number, withoutSuffix) { + return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm'; +} + +export default moment.defineLocale('lv', { + months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'), + weekdays: + 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split( + '_' + ), + weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'), + weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY.', + LL: 'YYYY. [gada] D. MMMM', + LLL: 'YYYY. [gada] D. MMMM, HH:mm', + LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm', + }, + calendar: { + sameDay: '[Šodien pulksten] LT', + nextDay: '[Rīt pulksten] LT', + nextWeek: 'dddd [pulksten] LT', + lastDay: '[Vakar pulksten] LT', + lastWeek: '[Pagājušā] dddd [pulksten] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'pēc %s', + past: 'pirms %s', + s: relativeSeconds, + ss: relativeTimeWithPlural, + m: relativeTimeWithSingular, + mm: relativeTimeWithPlural, + h: relativeTimeWithSingular, + hh: relativeTimeWithPlural, + d: relativeTimeWithSingular, + dd: relativeTimeWithPlural, + M: relativeTimeWithSingular, + MM: relativeTimeWithPlural, + y: relativeTimeWithSingular, + yy: relativeTimeWithPlural, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/me.js b/node_modules/moment/src/locale/me.js new file mode 100644 index 0000000..e22c8d9 --- /dev/null +++ b/node_modules/moment/src/locale/me.js @@ -0,0 +1,117 @@ +//! moment.js locale configuration +//! locale : Montenegrin [me] +//! author : Miodrag Nikač : https://github.com/miodragnikac + +import moment from '../moment'; + +var translator = { + words: { + //Different grammatical cases + ss: ['sekund', 'sekunda', 'sekundi'], + m: ['jedan minut', 'jednog minuta'], + mm: ['minut', 'minuta', 'minuta'], + h: ['jedan sat', 'jednog sata'], + hh: ['sat', 'sata', 'sati'], + dd: ['dan', 'dana', 'dana'], + MM: ['mjesec', 'mjeseca', 'mjeseci'], + yy: ['godina', 'godine', 'godina'], + }, + correctGrammaticalCase: function (number, wordKey) { + return number === 1 + ? wordKey[0] + : number >= 2 && number <= 4 + ? wordKey[1] + : wordKey[2]; + }, + translate: function (number, withoutSuffix, key) { + var wordKey = translator.words[key]; + if (key.length === 1) { + return withoutSuffix ? wordKey[0] : wordKey[1]; + } else { + return ( + number + + ' ' + + translator.correctGrammaticalCase(number, wordKey) + ); + } + }, +}; + +export default moment.defineLocale('me', { + months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split( + '_' + ), + monthsShort: + 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), + monthsParseExact: true, + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( + '_' + ), + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sjutra u] LT', + + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay: '[juče u] LT', + lastWeek: function () { + var lastWeekDays = [ + '[prošle] [nedjelje] [u] LT', + '[prošlog] [ponedjeljka] [u] LT', + '[prošlog] [utorka] [u] LT', + '[prošle] [srijede] [u] LT', + '[prošlog] [četvrtka] [u] LT', + '[prošlog] [petka] [u] LT', + '[prošle] [subote] [u] LT', + ]; + return lastWeekDays[this.day()]; + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'prije %s', + s: 'nekoliko sekundi', + ss: translator.translate, + m: translator.translate, + mm: translator.translate, + h: translator.translate, + hh: translator.translate, + d: 'dan', + dd: translator.translate, + M: 'mjesec', + MM: translator.translate, + y: 'godinu', + yy: translator.translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/mi.js b/node_modules/moment/src/locale/mi.js new file mode 100644 index 0000000..635a56a --- /dev/null +++ b/node_modules/moment/src/locale/mi.js @@ -0,0 +1,60 @@ +//! moment.js locale configuration +//! locale : Maori [mi] +//! author : John Corrigan : https://github.com/johnideal + +import moment from '../moment'; + +export default moment.defineLocale('mi', { + months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split( + '_' + ), + monthsShort: + 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split( + '_' + ), + monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i, + weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'), + weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), + weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [i] HH:mm', + LLLL: 'dddd, D MMMM YYYY [i] HH:mm', + }, + calendar: { + sameDay: '[i teie mahana, i] LT', + nextDay: '[apopo i] LT', + nextWeek: 'dddd [i] LT', + lastDay: '[inanahi i] LT', + lastWeek: 'dddd [whakamutunga i] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'i roto i %s', + past: '%s i mua', + s: 'te hēkona ruarua', + ss: '%d hēkona', + m: 'he meneti', + mm: '%d meneti', + h: 'te haora', + hh: '%d haora', + d: 'he ra', + dd: '%d ra', + M: 'he marama', + MM: '%d marama', + y: 'he tau', + yy: '%d tau', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/mk.js b/node_modules/moment/src/locale/mk.js new file mode 100644 index 0000000..f3ecad7 --- /dev/null +++ b/node_modules/moment/src/locale/mk.js @@ -0,0 +1,85 @@ +//! moment.js locale configuration +//! locale : Macedonian [mk] +//! author : Borislav Mickov : https://github.com/B0k0 +//! author : Sashko Todorov : https://github.com/bkyceh +import moment from '../moment'; + +export default moment.defineLocale('mk', { + months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split( + '_' + ), + monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'), + weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split( + '_' + ), + weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'), + weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[Денес во] LT', + nextDay: '[Утре во] LT', + nextWeek: '[Во] dddd [во] LT', + lastDay: '[Вчера во] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 6: + return '[Изминатата] dddd [во] LT'; + case 1: + case 2: + case 4: + case 5: + return '[Изминатиот] dddd [во] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'за %s', + past: 'пред %s', + s: 'неколку секунди', + ss: '%d секунди', + m: 'една минута', + mm: '%d минути', + h: 'еден час', + hh: '%d часа', + d: 'еден ден', + dd: '%d дена', + M: 'еден месец', + MM: '%d месеци', + y: 'една година', + yy: '%d години', + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, + ordinal: function (number) { + var lastDigit = number % 10, + last2Digits = number % 100; + if (number === 0) { + return number + '-ев'; + } else if (last2Digits === 0) { + return number + '-ен'; + } else if (last2Digits > 10 && last2Digits < 20) { + return number + '-ти'; + } else if (lastDigit === 1) { + return number + '-ви'; + } else if (lastDigit === 2) { + return number + '-ри'; + } else if (lastDigit === 7 || lastDigit === 8) { + return number + '-ми'; + } else { + return number + '-ти'; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ml.js b/node_modules/moment/src/locale/ml.js new file mode 100644 index 0000000..5df6ae4 --- /dev/null +++ b/node_modules/moment/src/locale/ml.js @@ -0,0 +1,82 @@ +//! moment.js locale configuration +//! locale : Malayalam [ml] +//! author : Floyd Pink : https://github.com/floydpink + +import moment from '../moment'; + +export default moment.defineLocale('ml', { + months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split( + '_' + ), + monthsShort: + 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split( + '_' + ), + weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'), + weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'), + longDateFormat: { + LT: 'A h:mm -നു', + LTS: 'A h:mm:ss -നു', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm -നു', + LLLL: 'dddd, D MMMM YYYY, A h:mm -നു', + }, + calendar: { + sameDay: '[ഇന്ന്] LT', + nextDay: '[നാളെ] LT', + nextWeek: 'dddd, LT', + lastDay: '[ഇന്നലെ] LT', + lastWeek: '[കഴിഞ്ഞ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s കഴിഞ്ഞ്', + past: '%s മുൻപ്', + s: 'അൽപ നിമിഷങ്ങൾ', + ss: '%d സെക്കൻഡ്', + m: 'ഒരു മിനിറ്റ്', + mm: '%d മിനിറ്റ്', + h: 'ഒരു മണിക്കൂർ', + hh: '%d മണിക്കൂർ', + d: 'ഒരു ദിവസം', + dd: '%d ദിവസം', + M: 'ഒരു മാസം', + MM: '%d മാസം', + y: 'ഒരു വർഷം', + yy: '%d വർഷം', + }, + meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + (meridiem === 'രാത്രി' && hour >= 4) || + meridiem === 'ഉച്ച കഴിഞ്ഞ്' || + meridiem === 'വൈകുന്നേരം' + ) { + return hour + 12; + } else { + return hour; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'രാത്രി'; + } else if (hour < 12) { + return 'രാവിലെ'; + } else if (hour < 17) { + return 'ഉച്ച കഴിഞ്ഞ്'; + } else if (hour < 20) { + return 'വൈകുന്നേരം'; + } else { + return 'രാത്രി'; + } + }, +}); diff --git a/node_modules/moment/src/locale/mn.js b/node_modules/moment/src/locale/mn.js new file mode 100644 index 0000000..36cf69f --- /dev/null +++ b/node_modules/moment/src/locale/mn.js @@ -0,0 +1,100 @@ +//! moment.js locale configuration +//! locale : Mongolian [mn] +//! author : Javkhlantugs Nyamdorj : https://github.com/javkhaanj7 + +import moment from '../moment'; + +function translate(number, withoutSuffix, key, isFuture) { + switch (key) { + case 's': + return withoutSuffix ? 'хэдхэн секунд' : 'хэдхэн секундын'; + case 'ss': + return number + (withoutSuffix ? ' секунд' : ' секундын'); + case 'm': + case 'mm': + return number + (withoutSuffix ? ' минут' : ' минутын'); + case 'h': + case 'hh': + return number + (withoutSuffix ? ' цаг' : ' цагийн'); + case 'd': + case 'dd': + return number + (withoutSuffix ? ' өдөр' : ' өдрийн'); + case 'M': + case 'MM': + return number + (withoutSuffix ? ' сар' : ' сарын'); + case 'y': + case 'yy': + return number + (withoutSuffix ? ' жил' : ' жилийн'); + default: + return number; + } +} + +export default moment.defineLocale('mn', { + months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split( + '_' + ), + monthsShort: + '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'), + weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'), + weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY оны MMMMын D', + LLL: 'YYYY оны MMMMын D HH:mm', + LLLL: 'dddd, YYYY оны MMMMын D HH:mm', + }, + meridiemParse: /ҮӨ|ҮХ/i, + isPM: function (input) { + return input === 'ҮХ'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ҮӨ'; + } else { + return 'ҮХ'; + } + }, + calendar: { + sameDay: '[Өнөөдөр] LT', + nextDay: '[Маргааш] LT', + nextWeek: '[Ирэх] dddd LT', + lastDay: '[Өчигдөр] LT', + lastWeek: '[Өнгөрсөн] dddd LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s дараа', + past: '%s өмнө', + s: translate, + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2} өдөр/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + ' өдөр'; + default: + return number; + } + }, +}); diff --git a/node_modules/moment/src/locale/mr.js b/node_modules/moment/src/locale/mr.js new file mode 100644 index 0000000..d174909 --- /dev/null +++ b/node_modules/moment/src/locale/mr.js @@ -0,0 +1,203 @@ +//! moment.js locale configuration +//! locale : Marathi [mr] +//! author : Harshad Kale : https://github.com/kalehv +//! author : Vivek Athalye : https://github.com/vnathalye + +import moment from '../moment'; + +var symbolMap = { + 1: '१', + 2: '२', + 3: '३', + 4: '४', + 5: '५', + 6: '६', + 7: '७', + 8: '८', + 9: '९', + 0: '०', + }, + numberMap = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0', + }; + +function relativeTimeMr(number, withoutSuffix, string, isFuture) { + var output = ''; + if (withoutSuffix) { + switch (string) { + case 's': + output = 'काही सेकंद'; + break; + case 'ss': + output = '%d सेकंद'; + break; + case 'm': + output = 'एक मिनिट'; + break; + case 'mm': + output = '%d मिनिटे'; + break; + case 'h': + output = 'एक तास'; + break; + case 'hh': + output = '%d तास'; + break; + case 'd': + output = 'एक दिवस'; + break; + case 'dd': + output = '%d दिवस'; + break; + case 'M': + output = 'एक महिना'; + break; + case 'MM': + output = '%d महिने'; + break; + case 'y': + output = 'एक वर्ष'; + break; + case 'yy': + output = '%d वर्षे'; + break; + } + } else { + switch (string) { + case 's': + output = 'काही सेकंदां'; + break; + case 'ss': + output = '%d सेकंदां'; + break; + case 'm': + output = 'एका मिनिटा'; + break; + case 'mm': + output = '%d मिनिटां'; + break; + case 'h': + output = 'एका तासा'; + break; + case 'hh': + output = '%d तासां'; + break; + case 'd': + output = 'एका दिवसा'; + break; + case 'dd': + output = '%d दिवसां'; + break; + case 'M': + output = 'एका महिन्या'; + break; + case 'MM': + output = '%d महिन्यां'; + break; + case 'y': + output = 'एका वर्षा'; + break; + case 'yy': + output = '%d वर्षां'; + break; + } + } + return output.replace(/%d/i, number); +} + +export default moment.defineLocale('mr', { + months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split( + '_' + ), + monthsShort: + 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'), + weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'), + longDateFormat: { + LT: 'A h:mm वाजता', + LTS: 'A h:mm:ss वाजता', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm वाजता', + LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता', + }, + calendar: { + sameDay: '[आज] LT', + nextDay: '[उद्या] LT', + nextWeek: 'dddd, LT', + lastDay: '[काल] LT', + lastWeek: '[मागील] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%sमध्ये', + past: '%sपूर्वी', + s: relativeTimeMr, + ss: relativeTimeMr, + m: relativeTimeMr, + mm: relativeTimeMr, + h: relativeTimeMr, + hh: relativeTimeMr, + d: relativeTimeMr, + dd: relativeTimeMr, + M: relativeTimeMr, + MM: relativeTimeMr, + y: relativeTimeMr, + yy: relativeTimeMr, + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'पहाटे' || meridiem === 'सकाळी') { + return hour; + } else if ( + meridiem === 'दुपारी' || + meridiem === 'सायंकाळी' || + meridiem === 'रात्री' + ) { + return hour >= 12 ? hour : hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour >= 0 && hour < 6) { + return 'पहाटे'; + } else if (hour < 12) { + return 'सकाळी'; + } else if (hour < 17) { + return 'दुपारी'; + } else if (hour < 20) { + return 'सायंकाळी'; + } else { + return 'रात्री'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ms-my.js b/node_modules/moment/src/locale/ms-my.js new file mode 100644 index 0000000..f8adf98 --- /dev/null +++ b/node_modules/moment/src/locale/ms-my.js @@ -0,0 +1,76 @@ +//! moment.js locale configuration +//! locale : Malay [ms-my] +//! note : DEPRECATED, the correct one is [ms] +//! author : Weldan Jamili : https://github.com/weldan + +import moment from '../moment'; + +export default moment.defineLocale('ms-my', { + months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), + weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), + weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /pagi|tengahari|petang|malam/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'tengahari') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'petang' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'tengahari'; + } else if (hours < 19) { + return 'petang'; + } else { + return 'malam'; + } + }, + calendar: { + sameDay: '[Hari ini pukul] LT', + nextDay: '[Esok pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kelmarin pukul] LT', + lastWeek: 'dddd [lepas pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lepas', + s: 'beberapa saat', + ss: '%d saat', + m: 'seminit', + mm: '%d minit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ms.js b/node_modules/moment/src/locale/ms.js new file mode 100644 index 0000000..335cc90 --- /dev/null +++ b/node_modules/moment/src/locale/ms.js @@ -0,0 +1,75 @@ +//! moment.js locale configuration +//! locale : Malay [ms] +//! author : Weldan Jamili : https://github.com/weldan + +import moment from '../moment'; + +export default moment.defineLocale('ms', { + months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), + weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), + weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', + }, + meridiemParse: /pagi|tengahari|petang|malam/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'tengahari') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'petang' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'tengahari'; + } else if (hours < 19) { + return 'petang'; + } else { + return 'malam'; + } + }, + calendar: { + sameDay: '[Hari ini pukul] LT', + nextDay: '[Esok pukul] LT', + nextWeek: 'dddd [pukul] LT', + lastDay: '[Kelmarin pukul] LT', + lastWeek: 'dddd [lepas pukul] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lepas', + s: 'beberapa saat', + ss: '%d saat', + m: 'seminit', + mm: '%d minit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/mt.js b/node_modules/moment/src/locale/mt.js new file mode 100644 index 0000000..850cf6a --- /dev/null +++ b/node_modules/moment/src/locale/mt.js @@ -0,0 +1,56 @@ +//! moment.js locale configuration +//! locale : Maltese (Malta) [mt] +//! author : Alessandro Maruccia : https://github.com/alesma + +import moment from '../moment'; + +export default moment.defineLocale('mt', { + months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split( + '_' + ), + monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'), + weekdays: + 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split( + '_' + ), + weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'), + weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Illum fil-]LT', + nextDay: '[Għada fil-]LT', + nextWeek: 'dddd [fil-]LT', + lastDay: '[Il-bieraħ fil-]LT', + lastWeek: 'dddd [li għadda] [fil-]LT', + sameElse: 'L', + }, + relativeTime: { + future: 'f’ %s', + past: '%s ilu', + s: 'ftit sekondi', + ss: '%d sekondi', + m: 'minuta', + mm: '%d minuti', + h: 'siegħa', + hh: '%d siegħat', + d: 'ġurnata', + dd: '%d ġranet', + M: 'xahar', + MM: '%d xhur', + y: 'sena', + yy: '%d sni', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/my.js b/node_modules/moment/src/locale/my.js new file mode 100644 index 0000000..034b221 --- /dev/null +++ b/node_modules/moment/src/locale/my.js @@ -0,0 +1,91 @@ +//! moment.js locale configuration +//! locale : Burmese [my] +//! author : Squar team, mysquar.com +//! author : David Rossellat : https://github.com/gholadr +//! author : Tin Aung Lin : https://github.com/thanyawzinmin + +import moment from '../moment'; + +var symbolMap = { + 1: '၁', + 2: '၂', + 3: '၃', + 4: '၄', + 5: '၅', + 6: '၆', + 7: '၇', + 8: '၈', + 9: '၉', + 0: '၀', + }, + numberMap = { + '၁': '1', + '၂': '2', + '၃': '3', + '၄': '4', + '၅': '5', + '၆': '6', + '၇': '7', + '၈': '8', + '၉': '9', + '၀': '0', + }; + +export default moment.defineLocale('my', { + months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split( + '_' + ), + monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'), + weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split( + '_' + ), + weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), + weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), + + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[ယနေ.] LT [မှာ]', + nextDay: '[မနက်ဖြန်] LT [မှာ]', + nextWeek: 'dddd LT [မှာ]', + lastDay: '[မနေ.က] LT [မှာ]', + lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]', + sameElse: 'L', + }, + relativeTime: { + future: 'လာမည့် %s မှာ', + past: 'လွန်ခဲ့သော %s က', + s: 'စက္ကန်.အနည်းငယ်', + ss: '%d စက္ကန့်', + m: 'တစ်မိနစ်', + mm: '%d မိနစ်', + h: 'တစ်နာရီ', + hh: '%d နာရီ', + d: 'တစ်ရက်', + dd: '%d ရက်', + M: 'တစ်လ', + MM: '%d လ', + y: 'တစ်နှစ်', + yy: '%d နှစ်', + }, + preparse: function (string) { + return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/nb.js b/node_modules/moment/src/locale/nb.js new file mode 100644 index 0000000..cce3aaa --- /dev/null +++ b/node_modules/moment/src/locale/nb.js @@ -0,0 +1,60 @@ +//! moment.js locale configuration +//! locale : Norwegian Bokmål [nb] +//! authors : Espen Hovlandsdal : https://github.com/rexxars +//! Sigurd Gartmann : https://github.com/sigurdga +//! Stephen Ramthun : https://github.com/stephenramthun + +import moment from '../moment'; + +export default moment.defineLocale('nb', { + months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split( + '_' + ), + monthsShort: + 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'), + monthsParseExact: true, + weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), + weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'), + weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] HH:mm', + LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm', + }, + calendar: { + sameDay: '[i dag kl.] LT', + nextDay: '[i morgen kl.] LT', + nextWeek: 'dddd [kl.] LT', + lastDay: '[i går kl.] LT', + lastWeek: '[forrige] dddd [kl.] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'om %s', + past: '%s siden', + s: 'noen sekunder', + ss: '%d sekunder', + m: 'ett minutt', + mm: '%d minutter', + h: 'én time', + hh: '%d timer', + d: 'én dag', + dd: '%d dager', + w: 'én uke', + ww: '%d uker', + M: 'én måned', + MM: '%d måneder', + y: 'ett år', + yy: '%d år', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ne.js b/node_modules/moment/src/locale/ne.js new file mode 100644 index 0000000..1f0a0ed --- /dev/null +++ b/node_modules/moment/src/locale/ne.js @@ -0,0 +1,121 @@ +//! moment.js locale configuration +//! locale : Nepalese [ne] +//! author : suvash : https://github.com/suvash + +import moment from '../moment'; + +var symbolMap = { + 1: '१', + 2: '२', + 3: '३', + 4: '४', + 5: '५', + 6: '६', + 7: '७', + 8: '८', + 9: '९', + 0: '०', + }, + numberMap = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0', + }; + +export default moment.defineLocale('ne', { + months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split( + '_' + ), + monthsShort: + 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split( + '_' + ), + weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'), + weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'Aको h:mm बजे', + LTS: 'Aको h:mm:ss बजे', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, Aको h:mm बजे', + LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे', + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /राति|बिहान|दिउँसो|साँझ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'राति') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'बिहान') { + return hour; + } else if (meridiem === 'दिउँसो') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'साँझ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 3) { + return 'राति'; + } else if (hour < 12) { + return 'बिहान'; + } else if (hour < 16) { + return 'दिउँसो'; + } else if (hour < 20) { + return 'साँझ'; + } else { + return 'राति'; + } + }, + calendar: { + sameDay: '[आज] LT', + nextDay: '[भोलि] LT', + nextWeek: '[आउँदो] dddd[,] LT', + lastDay: '[हिजो] LT', + lastWeek: '[गएको] dddd[,] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%sमा', + past: '%s अगाडि', + s: 'केही क्षण', + ss: '%d सेकेण्ड', + m: 'एक मिनेट', + mm: '%d मिनेट', + h: 'एक घण्टा', + hh: '%d घण्टा', + d: 'एक दिन', + dd: '%d दिन', + M: 'एक महिना', + MM: '%d महिना', + y: 'एक बर्ष', + yy: '%d बर्ष', + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/nl-be.js b/node_modules/moment/src/locale/nl-be.js new file mode 100644 index 0000000..e495ff1 --- /dev/null +++ b/node_modules/moment/src/locale/nl-be.js @@ -0,0 +1,102 @@ +//! moment.js locale configuration +//! locale : Dutch (Belgium) [nl-be] +//! author : Joris Röling : https://github.com/jorisroling +//! author : Jacob Middag : https://github.com/middagj + +import moment from '../moment'; + +var monthsShortWithDots = + 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'), + monthsShortWithoutDots = + 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'), + monthsParse = [ + /^jan/i, + /^feb/i, + /^(maart|mrt\.?)$/i, + /^apr/i, + /^mei$/i, + /^jun[i.]?$/i, + /^jul[i.]?$/i, + /^aug/i, + /^sep/i, + /^okt/i, + /^nov/i, + /^dec/i, + ], + monthsRegex = + /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; + +export default moment.defineLocale('nl-be', { + months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortWithDots; + } else if (/-MMM-/.test(format)) { + return monthsShortWithoutDots[m.month()]; + } else { + return monthsShortWithDots[m.month()]; + } + }, + + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: + /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i, + monthsShortStrictRegex: + /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, + + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + + weekdays: + 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), + weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), + weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[vandaag om] LT', + nextDay: '[morgen om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[gisteren om] LT', + lastWeek: '[afgelopen] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'over %s', + past: '%s geleden', + s: 'een paar seconden', + ss: '%d seconden', + m: 'één minuut', + mm: '%d minuten', + h: 'één uur', + hh: '%d uur', + d: 'één dag', + dd: '%d dagen', + M: 'één maand', + MM: '%d maanden', + y: 'één jaar', + yy: '%d jaar', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/nl.js b/node_modules/moment/src/locale/nl.js new file mode 100644 index 0000000..b6d83c3 --- /dev/null +++ b/node_modules/moment/src/locale/nl.js @@ -0,0 +1,104 @@ +//! moment.js locale configuration +//! locale : Dutch [nl] +//! author : Joris Röling : https://github.com/jorisroling +//! author : Jacob Middag : https://github.com/middagj + +import moment from '../moment'; + +var monthsShortWithDots = + 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'), + monthsShortWithoutDots = + 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'), + monthsParse = [ + /^jan/i, + /^feb/i, + /^(maart|mrt\.?)$/i, + /^apr/i, + /^mei$/i, + /^jun[i.]?$/i, + /^jul[i.]?$/i, + /^aug/i, + /^sep/i, + /^okt/i, + /^nov/i, + /^dec/i, + ], + monthsRegex = + /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; + +export default moment.defineLocale('nl', { + months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortWithDots; + } else if (/-MMM-/.test(format)) { + return monthsShortWithoutDots[m.month()]; + } else { + return monthsShortWithDots[m.month()]; + } + }, + + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: + /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i, + monthsShortStrictRegex: + /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, + + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + + weekdays: + 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), + weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), + weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[vandaag om] LT', + nextDay: '[morgen om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[gisteren om] LT', + lastWeek: '[afgelopen] dddd [om] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'over %s', + past: '%s geleden', + s: 'een paar seconden', + ss: '%d seconden', + m: 'één minuut', + mm: '%d minuten', + h: 'één uur', + hh: '%d uur', + d: 'één dag', + dd: '%d dagen', + w: 'één week', + ww: '%d weken', + M: 'één maand', + MM: '%d maanden', + y: 'één jaar', + yy: '%d jaar', + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal: function (number) { + return ( + number + + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de') + ); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/nn.js b/node_modules/moment/src/locale/nn.js new file mode 100644 index 0000000..0da1150 --- /dev/null +++ b/node_modules/moment/src/locale/nn.js @@ -0,0 +1,59 @@ +//! moment.js locale configuration +//! locale : Nynorsk [nn] +//! authors : https://github.com/mechuwind +//! Stephen Ramthun : https://github.com/stephenramthun + +import moment from '../moment'; + +export default moment.defineLocale('nn', { + months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split( + '_' + ), + monthsShort: + 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'), + monthsParseExact: true, + weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'), + weekdaysShort: 'su._må._ty._on._to._fr._lau.'.split('_'), + weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] H:mm', + LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm', + }, + calendar: { + sameDay: '[I dag klokka] LT', + nextDay: '[I morgon klokka] LT', + nextWeek: 'dddd [klokka] LT', + lastDay: '[I går klokka] LT', + lastWeek: '[Føregåande] dddd [klokka] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'om %s', + past: '%s sidan', + s: 'nokre sekund', + ss: '%d sekund', + m: 'eit minutt', + mm: '%d minutt', + h: 'ein time', + hh: '%d timar', + d: 'ein dag', + dd: '%d dagar', + w: 'ei veke', + ww: '%d veker', + M: 'ein månad', + MM: '%d månader', + y: 'eit år', + yy: '%d år', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/oc-lnc.js b/node_modules/moment/src/locale/oc-lnc.js new file mode 100644 index 0000000..2e67d73 --- /dev/null +++ b/node_modules/moment/src/locale/oc-lnc.js @@ -0,0 +1,85 @@ +//! moment.js locale configuration +//! locale : Occitan, lengadocian dialecte [oc-lnc] +//! author : Quentin PAGÈS : https://github.com/Quenty31 + +import moment from '../moment'; + +export default moment.defineLocale('oc-lnc', { + months: { + standalone: + 'genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split( + '_' + ), + format: "de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split( + '_' + ), + isFormat: /D[oD]?(\s)+MMMM/, + }, + monthsShort: + 'gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split( + '_' + ), + weekdaysShort: 'dg._dl._dm._dc._dj._dv._ds.'.split('_'), + weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [de] YYYY', + ll: 'D MMM YYYY', + LLL: 'D MMMM [de] YYYY [a] H:mm', + lll: 'D MMM YYYY, H:mm', + LLLL: 'dddd D MMMM [de] YYYY [a] H:mm', + llll: 'ddd D MMM YYYY, H:mm', + }, + calendar: { + sameDay: '[uèi a] LT', + nextDay: '[deman a] LT', + nextWeek: 'dddd [a] LT', + lastDay: '[ièr a] LT', + lastWeek: 'dddd [passat a] LT', + sameElse: 'L', + }, + relativeTime: { + future: "d'aquí %s", + past: 'fa %s', + s: 'unas segondas', + ss: '%d segondas', + m: 'una minuta', + mm: '%d minutas', + h: 'una ora', + hh: '%d oras', + d: 'un jorn', + dd: '%d jorns', + M: 'un mes', + MM: '%d meses', + y: 'un an', + yy: '%d ans', + }, + dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/, + ordinal: function (number, period) { + var output = + number === 1 + ? 'r' + : number === 2 + ? 'n' + : number === 3 + ? 'r' + : number === 4 + ? 't' + : 'è'; + if (period === 'w' || period === 'W') { + output = 'a'; + } + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, + }, +}); diff --git a/node_modules/moment/src/locale/pa-in.js b/node_modules/moment/src/locale/pa-in.js new file mode 100644 index 0000000..e39dbd5 --- /dev/null +++ b/node_modules/moment/src/locale/pa-in.js @@ -0,0 +1,122 @@ +//! moment.js locale configuration +//! locale : Punjabi (India) [pa-in] +//! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit + +import moment from '../moment'; + +var symbolMap = { + 1: '੧', + 2: '੨', + 3: '੩', + 4: '੪', + 5: '੫', + 6: '੬', + 7: '੭', + 8: '੮', + 9: '੯', + 0: '੦', + }, + numberMap = { + '੧': '1', + '੨': '2', + '੩': '3', + '੪': '4', + '੫': '5', + '੬': '6', + '੭': '7', + '੮': '8', + '੯': '9', + '੦': '0', + }; + +export default moment.defineLocale('pa-in', { + // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi. + months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split( + '_' + ), + monthsShort: + 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split( + '_' + ), + weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split( + '_' + ), + weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), + weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), + longDateFormat: { + LT: 'A h:mm ਵਜੇ', + LTS: 'A h:mm:ss ਵਜੇ', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm ਵਜੇ', + LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ', + }, + calendar: { + sameDay: '[ਅਜ] LT', + nextDay: '[ਕਲ] LT', + nextWeek: '[ਅਗਲਾ] dddd, LT', + lastDay: '[ਕਲ] LT', + lastWeek: '[ਪਿਛਲੇ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s ਵਿੱਚ', + past: '%s ਪਿਛਲੇ', + s: 'ਕੁਝ ਸਕਿੰਟ', + ss: '%d ਸਕਿੰਟ', + m: 'ਇਕ ਮਿੰਟ', + mm: '%d ਮਿੰਟ', + h: 'ਇੱਕ ਘੰਟਾ', + hh: '%d ਘੰਟੇ', + d: 'ਇੱਕ ਦਿਨ', + dd: '%d ਦਿਨ', + M: 'ਇੱਕ ਮਹੀਨਾ', + MM: '%d ਮਹੀਨੇ', + y: 'ਇੱਕ ਸਾਲ', + yy: '%d ਸਾਲ', + }, + preparse: function (string) { + return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // Punjabi notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi. + meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ਰਾਤ') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ਸਵੇਰ') { + return hour; + } else if (meridiem === 'ਦੁਪਹਿਰ') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'ਸ਼ਾਮ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ਰਾਤ'; + } else if (hour < 10) { + return 'ਸਵੇਰ'; + } else if (hour < 17) { + return 'ਦੁਪਹਿਰ'; + } else if (hour < 20) { + return 'ਸ਼ਾਮ'; + } else { + return 'ਰਾਤ'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/pl.js b/node_modules/moment/src/locale/pl.js new file mode 100644 index 0000000..0608c0d --- /dev/null +++ b/node_modules/moment/src/locale/pl.js @@ -0,0 +1,140 @@ +//! moment.js locale configuration +//! locale : Polish [pl] +//! author : Rafal Hirsz : https://github.com/evoL + +import moment from '../moment'; + +var monthsNominative = + 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split( + '_' + ), + monthsSubjective = + 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split( + '_' + ), + monthsParse = [ + /^sty/i, + /^lut/i, + /^mar/i, + /^kwi/i, + /^maj/i, + /^cze/i, + /^lip/i, + /^sie/i, + /^wrz/i, + /^paź/i, + /^lis/i, + /^gru/i, + ]; +function plural(n) { + return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1; +} +function translate(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'ss': + return result + (plural(number) ? 'sekundy' : 'sekund'); + case 'm': + return withoutSuffix ? 'minuta' : 'minutę'; + case 'mm': + return result + (plural(number) ? 'minuty' : 'minut'); + case 'h': + return withoutSuffix ? 'godzina' : 'godzinę'; + case 'hh': + return result + (plural(number) ? 'godziny' : 'godzin'); + case 'ww': + return result + (plural(number) ? 'tygodnie' : 'tygodni'); + case 'MM': + return result + (plural(number) ? 'miesiące' : 'miesięcy'); + case 'yy': + return result + (plural(number) ? 'lata' : 'lat'); + } +} + +export default moment.defineLocale('pl', { + months: function (momentToFormat, format) { + if (!momentToFormat) { + return monthsNominative; + } else if (/D MMMM/.test(format)) { + return monthsSubjective[momentToFormat.month()]; + } else { + return monthsNominative[momentToFormat.month()]; + } + }, + monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'), + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: + 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'), + weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'), + weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Dziś o] LT', + nextDay: '[Jutro o] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[W niedzielę o] LT'; + + case 2: + return '[We wtorek o] LT'; + + case 3: + return '[W środę o] LT'; + + case 6: + return '[W sobotę o] LT'; + + default: + return '[W] dddd [o] LT'; + } + }, + lastDay: '[Wczoraj o] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[W zeszłą niedzielę o] LT'; + case 3: + return '[W zeszłą środę o] LT'; + case 6: + return '[W zeszłą sobotę o] LT'; + default: + return '[W zeszły] dddd [o] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: '%s temu', + s: 'kilka sekund', + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: '1 dzień', + dd: '%d dni', + w: 'tydzień', + ww: translate, + M: 'miesiąc', + MM: translate, + y: 'rok', + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/pt-br.js b/node_modules/moment/src/locale/pt-br.js new file mode 100644 index 0000000..eb9aa64 --- /dev/null +++ b/node_modules/moment/src/locale/pt-br.js @@ -0,0 +1,58 @@ +//! moment.js locale configuration +//! locale : Portuguese (Brazil) [pt-br] +//! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira + +import moment from '../moment'; + +export default moment.defineLocale('pt-br', { + months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split( + '_' + ), + monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), + weekdays: + 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split( + '_' + ), + weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'), + weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY [às] HH:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm', + }, + calendar: { + sameDay: '[Hoje às] LT', + nextDay: '[Amanhã às] LT', + nextWeek: 'dddd [às] LT', + lastDay: '[Ontem às] LT', + lastWeek: function () { + return this.day() === 0 || this.day() === 6 + ? '[Último] dddd [às] LT' // Saturday + Sunday + : '[Última] dddd [às] LT'; // Monday - Friday + }, + sameElse: 'L', + }, + relativeTime: { + future: 'em %s', + past: 'há %s', + s: 'poucos segundos', + ss: '%d segundos', + m: 'um minuto', + mm: '%d minutos', + h: 'uma hora', + hh: '%d horas', + d: 'um dia', + dd: '%d dias', + M: 'um mês', + MM: '%d meses', + y: 'um ano', + yy: '%d anos', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + invalidDate: 'Data inválida', +}); diff --git a/node_modules/moment/src/locale/pt.js b/node_modules/moment/src/locale/pt.js new file mode 100644 index 0000000..d9b6055 --- /dev/null +++ b/node_modules/moment/src/locale/pt.js @@ -0,0 +1,63 @@ +//! moment.js locale configuration +//! locale : Portuguese [pt] +//! author : Jefferson : https://github.com/jalex79 + +import moment from '../moment'; + +export default moment.defineLocale('pt', { + months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split( + '_' + ), + monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), + weekdays: + 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split( + '_' + ), + weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), + weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY HH:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm', + }, + calendar: { + sameDay: '[Hoje às] LT', + nextDay: '[Amanhã às] LT', + nextWeek: 'dddd [às] LT', + lastDay: '[Ontem às] LT', + lastWeek: function () { + return this.day() === 0 || this.day() === 6 + ? '[Último] dddd [às] LT' // Saturday + Sunday + : '[Última] dddd [às] LT'; // Monday - Friday + }, + sameElse: 'L', + }, + relativeTime: { + future: 'em %s', + past: 'há %s', + s: 'segundos', + ss: '%d segundos', + m: 'um minuto', + mm: '%d minutos', + h: 'uma hora', + hh: '%d horas', + d: 'um dia', + dd: '%d dias', + w: 'uma semana', + ww: '%d semanas', + M: 'um mês', + MM: '%d meses', + y: 'um ano', + yy: '%d anos', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ro.js b/node_modules/moment/src/locale/ro.js new file mode 100644 index 0000000..d5bc5ea --- /dev/null +++ b/node_modules/moment/src/locale/ro.js @@ -0,0 +1,76 @@ +//! moment.js locale configuration +//! locale : Romanian [ro] +//! author : Vlad Gurdiga : https://github.com/gurdiga +//! author : Valentin Agachi : https://github.com/avaly +//! author : Emanuel Cepoi : https://github.com/cepem + +import moment from '../moment'; + +function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + ss: 'secunde', + mm: 'minute', + hh: 'ore', + dd: 'zile', + ww: 'săptămâni', + MM: 'luni', + yy: 'ani', + }, + separator = ' '; + if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) { + separator = ' de '; + } + return number + separator + format[key]; +} + +export default moment.defineLocale('ro', { + months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split( + '_' + ), + monthsShort: + 'ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'), + weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'), + weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[azi la] LT', + nextDay: '[mâine la] LT', + nextWeek: 'dddd [la] LT', + lastDay: '[ieri la] LT', + lastWeek: '[fosta] dddd [la] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'peste %s', + past: '%s în urmă', + s: 'câteva secunde', + ss: relativeTimeWithPlural, + m: 'un minut', + mm: relativeTimeWithPlural, + h: 'o oră', + hh: relativeTimeWithPlural, + d: 'o zi', + dd: relativeTimeWithPlural, + w: 'o săptămână', + ww: relativeTimeWithPlural, + M: 'o lună', + MM: relativeTimeWithPlural, + y: 'un an', + yy: relativeTimeWithPlural, + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ru.js b/node_modules/moment/src/locale/ru.js new file mode 100644 index 0000000..d214850 --- /dev/null +++ b/node_modules/moment/src/locale/ru.js @@ -0,0 +1,213 @@ +//! moment.js locale configuration +//! locale : Russian [ru] +//! author : Viktorminator : https://github.com/Viktorminator +//! author : Menelion Elensúle : https://github.com/Oire +//! author : Коренберг Марк : https://github.com/socketpair + +import moment from '../moment'; + +function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 + ? forms[0] + : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) + ? forms[1] + : forms[2]; +} +function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд', + mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут', + hh: 'час_часа_часов', + dd: 'день_дня_дней', + ww: 'неделя_недели_недель', + MM: 'месяц_месяца_месяцев', + yy: 'год_года_лет', + }; + if (key === 'm') { + return withoutSuffix ? 'минута' : 'минуту'; + } else { + return number + ' ' + plural(format[key], +number); + } +} +var monthsParse = [ + /^янв/i, + /^фев/i, + /^мар/i, + /^апр/i, + /^ма[йя]/i, + /^июн/i, + /^июл/i, + /^авг/i, + /^сен/i, + /^окт/i, + /^ноя/i, + /^дек/i, +]; + +// http://new.gramota.ru/spravka/rules/139-prop : § 103 +// Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637 +// CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753 +export default moment.defineLocale('ru', { + months: { + format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split( + '_' + ), + standalone: + 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split( + '_' + ), + }, + monthsShort: { + // по CLDR именно "июл." и "июн.", но какой смысл менять букву на точку? + format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split( + '_' + ), + standalone: + 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split( + '_' + ), + }, + weekdays: { + standalone: + 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split( + '_' + ), + format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split( + '_' + ), + isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/, + }, + weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'), + weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'), + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + + // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки + monthsRegex: + /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, + + // копия предыдущего + monthsShortRegex: + /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, + + // полные названия с падежами + monthsStrictRegex: + /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i, + + // Выражение, которое соответствует только сокращённым формам + monthsShortStrictRegex: + /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY г.', + LLL: 'D MMMM YYYY г., H:mm', + LLLL: 'dddd, D MMMM YYYY г., H:mm', + }, + calendar: { + sameDay: '[Сегодня, в] LT', + nextDay: '[Завтра, в] LT', + lastDay: '[Вчера, в] LT', + nextWeek: function (now) { + if (now.week() !== this.week()) { + switch (this.day()) { + case 0: + return '[В следующее] dddd, [в] LT'; + case 1: + case 2: + case 4: + return '[В следующий] dddd, [в] LT'; + case 3: + case 5: + case 6: + return '[В следующую] dddd, [в] LT'; + } + } else { + if (this.day() === 2) { + return '[Во] dddd, [в] LT'; + } else { + return '[В] dddd, [в] LT'; + } + } + }, + lastWeek: function (now) { + if (now.week() !== this.week()) { + switch (this.day()) { + case 0: + return '[В прошлое] dddd, [в] LT'; + case 1: + case 2: + case 4: + return '[В прошлый] dddd, [в] LT'; + case 3: + case 5: + case 6: + return '[В прошлую] dddd, [в] LT'; + } + } else { + if (this.day() === 2) { + return '[Во] dddd, [в] LT'; + } else { + return '[В] dddd, [в] LT'; + } + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'через %s', + past: '%s назад', + s: 'несколько секунд', + ss: relativeTimeWithPlural, + m: relativeTimeWithPlural, + mm: relativeTimeWithPlural, + h: 'час', + hh: relativeTimeWithPlural, + d: 'день', + dd: relativeTimeWithPlural, + w: 'неделя', + ww: relativeTimeWithPlural, + M: 'месяц', + MM: relativeTimeWithPlural, + y: 'год', + yy: relativeTimeWithPlural, + }, + meridiemParse: /ночи|утра|дня|вечера/i, + isPM: function (input) { + return /^(дня|вечера)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ночи'; + } else if (hour < 12) { + return 'утра'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечера'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + return number + '-й'; + case 'D': + return number + '-го'; + case 'w': + case 'W': + return number + '-я'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/sd.js b/node_modules/moment/src/locale/sd.js new file mode 100644 index 0000000..20f1059 --- /dev/null +++ b/node_modules/moment/src/locale/sd.js @@ -0,0 +1,81 @@ +//! moment.js locale configuration +//! locale : Sindhi [sd] +//! author : Narain Sagar : https://github.com/narainsagar + +import moment from '../moment'; + +var months = [ + 'جنوري', + 'فيبروري', + 'مارچ', + 'اپريل', + 'مئي', + 'جون', + 'جولاءِ', + 'آگسٽ', + 'سيپٽمبر', + 'آڪٽوبر', + 'نومبر', + 'ڊسمبر', + ], + days = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر']; + +export default moment.defineLocale('sd', { + months: months, + monthsShort: months, + weekdays: days, + weekdaysShort: days, + weekdaysMin: days, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd، D MMMM YYYY HH:mm', + }, + meridiemParse: /صبح|شام/, + isPM: function (input) { + return 'شام' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'صبح'; + } + return 'شام'; + }, + calendar: { + sameDay: '[اڄ] LT', + nextDay: '[سڀاڻي] LT', + nextWeek: 'dddd [اڳين هفتي تي] LT', + lastDay: '[ڪالهه] LT', + lastWeek: '[گزريل هفتي] dddd [تي] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s پوء', + past: '%s اڳ', + s: 'چند سيڪنڊ', + ss: '%d سيڪنڊ', + m: 'هڪ منٽ', + mm: '%d منٽ', + h: 'هڪ ڪلاڪ', + hh: '%d ڪلاڪ', + d: 'هڪ ڏينهن', + dd: '%d ڏينهن', + M: 'هڪ مهينو', + MM: '%d مهينا', + y: 'هڪ سال', + yy: '%d سال', + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/se.js b/node_modules/moment/src/locale/se.js new file mode 100644 index 0000000..e8eec58 --- /dev/null +++ b/node_modules/moment/src/locale/se.js @@ -0,0 +1,57 @@ +//! moment.js locale configuration +//! locale : Northern Sami [se] +//! authors : Bård Rolstad Henriksen : https://github.com/karamell + +import moment from '../moment'; + +export default moment.defineLocale('se', { + months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split( + '_' + ), + monthsShort: + 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'), + weekdays: + 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split( + '_' + ), + weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'), + weekdaysMin: 's_v_m_g_d_b_L'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'MMMM D. [b.] YYYY', + LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm', + LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm', + }, + calendar: { + sameDay: '[otne ti] LT', + nextDay: '[ihttin ti] LT', + nextWeek: 'dddd [ti] LT', + lastDay: '[ikte ti] LT', + lastWeek: '[ovddit] dddd [ti] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s geažes', + past: 'maŋit %s', + s: 'moadde sekunddat', + ss: '%d sekunddat', + m: 'okta minuhta', + mm: '%d minuhtat', + h: 'okta diimmu', + hh: '%d diimmut', + d: 'okta beaivi', + dd: '%d beaivvit', + M: 'okta mánnu', + MM: '%d mánut', + y: 'okta jahki', + yy: '%d jagit', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/si.js b/node_modules/moment/src/locale/si.js new file mode 100644 index 0000000..0f2498c --- /dev/null +++ b/node_modules/moment/src/locale/si.js @@ -0,0 +1,69 @@ +//! moment.js locale configuration +//! locale : Sinhalese [si] +//! author : Sampath Sitinamaluwa : https://github.com/sampathsris + +import moment from '../moment'; + +/*jshint -W100*/ +export default moment.defineLocale('si', { + months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split( + '_' + ), + monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split( + '_' + ), + weekdays: + 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split( + '_' + ), + weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'), + weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'a h:mm', + LTS: 'a h:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY MMMM D', + LLL: 'YYYY MMMM D, a h:mm', + LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss', + }, + calendar: { + sameDay: '[අද] LT[ට]', + nextDay: '[හෙට] LT[ට]', + nextWeek: 'dddd LT[ට]', + lastDay: '[ඊයේ] LT[ට]', + lastWeek: '[පසුගිය] dddd LT[ට]', + sameElse: 'L', + }, + relativeTime: { + future: '%sකින්', + past: '%sකට පෙර', + s: 'තත්පර කිහිපය', + ss: 'තත්පර %d', + m: 'මිනිත්තුව', + mm: 'මිනිත්තු %d', + h: 'පැය', + hh: 'පැය %d', + d: 'දිනය', + dd: 'දින %d', + M: 'මාසය', + MM: 'මාස %d', + y: 'වසර', + yy: 'වසර %d', + }, + dayOfMonthOrdinalParse: /\d{1,2} වැනි/, + ordinal: function (number) { + return number + ' වැනි'; + }, + meridiemParse: /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./, + isPM: function (input) { + return input === 'ප.ව.' || input === 'පස් වරු'; + }, + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'ප.ව.' : 'පස් වරු'; + } else { + return isLower ? 'පෙ.ව.' : 'පෙර වරු'; + } + }, +}); diff --git a/node_modules/moment/src/locale/sk.js b/node_modules/moment/src/locale/sk.js new file mode 100644 index 0000000..7162ed6 --- /dev/null +++ b/node_modules/moment/src/locale/sk.js @@ -0,0 +1,145 @@ +//! moment.js locale configuration +//! locale : Slovak [sk] +//! author : Martin Minka : https://github.com/k2s +//! based on work of petrbela : https://github.com/petrbela + +import moment from '../moment'; + +var months = + 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split( + '_' + ), + monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_'); +function plural(n) { + return n > 1 && n < 5; +} +function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': // a few seconds / in a few seconds / a few seconds ago + return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami'; + case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'sekundy' : 'sekúnd'); + } else { + return result + 'sekundami'; + } + case 'm': // a minute / in a minute / a minute ago + return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou'; + case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'minúty' : 'minút'); + } else { + return result + 'minútami'; + } + case 'h': // an hour / in an hour / an hour ago + return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou'; + case 'hh': // 9 hours / in 9 hours / 9 hours ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'hodiny' : 'hodín'); + } else { + return result + 'hodinami'; + } + case 'd': // a day / in a day / a day ago + return withoutSuffix || isFuture ? 'deň' : 'dňom'; + case 'dd': // 9 days / in 9 days / 9 days ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'dni' : 'dní'); + } else { + return result + 'dňami'; + } + case 'M': // a month / in a month / a month ago + return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom'; + case 'MM': // 9 months / in 9 months / 9 months ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'mesiace' : 'mesiacov'); + } else { + return result + 'mesiacmi'; + } + case 'y': // a year / in a year / a year ago + return withoutSuffix || isFuture ? 'rok' : 'rokom'; + case 'yy': // 9 years / in 9 years / 9 years ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'roky' : 'rokov'); + } else { + return result + 'rokmi'; + } + } +} + +export default moment.defineLocale('sk', { + months: months, + monthsShort: monthsShort, + weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'), + weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'), + weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[dnes o] LT', + nextDay: '[zajtra o] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[v nedeľu o] LT'; + case 1: + case 2: + return '[v] dddd [o] LT'; + case 3: + return '[v stredu o] LT'; + case 4: + return '[vo štvrtok o] LT'; + case 5: + return '[v piatok o] LT'; + case 6: + return '[v sobotu o] LT'; + } + }, + lastDay: '[včera o] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[minulú nedeľu o] LT'; + case 1: + case 2: + return '[minulý] dddd [o] LT'; + case 3: + return '[minulú stredu o] LT'; + case 4: + case 5: + return '[minulý] dddd [o] LT'; + case 6: + return '[minulú sobotu o] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'pred %s', + s: translate, + ss: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/sl.js b/node_modules/moment/src/locale/sl.js new file mode 100644 index 0000000..0290a8e --- /dev/null +++ b/node_modules/moment/src/locale/sl.js @@ -0,0 +1,171 @@ +//! moment.js locale configuration +//! locale : Slovenian [sl] +//! author : Robert Sedovšek : https://github.com/sedovsek + +import moment from '../moment'; + +function processRelativeTime(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': + return withoutSuffix || isFuture + ? 'nekaj sekund' + : 'nekaj sekundami'; + case 'ss': + if (number === 1) { + result += withoutSuffix ? 'sekundo' : 'sekundi'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'sekundi' : 'sekundah'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah'; + } else { + result += 'sekund'; + } + return result; + case 'm': + return withoutSuffix ? 'ena minuta' : 'eno minuto'; + case 'mm': + if (number === 1) { + result += withoutSuffix ? 'minuta' : 'minuto'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'minuti' : 'minutama'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'minute' : 'minutami'; + } else { + result += withoutSuffix || isFuture ? 'minut' : 'minutami'; + } + return result; + case 'h': + return withoutSuffix ? 'ena ura' : 'eno uro'; + case 'hh': + if (number === 1) { + result += withoutSuffix ? 'ura' : 'uro'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'uri' : 'urama'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'ure' : 'urami'; + } else { + result += withoutSuffix || isFuture ? 'ur' : 'urami'; + } + return result; + case 'd': + return withoutSuffix || isFuture ? 'en dan' : 'enim dnem'; + case 'dd': + if (number === 1) { + result += withoutSuffix || isFuture ? 'dan' : 'dnem'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'dni' : 'dnevoma'; + } else { + result += withoutSuffix || isFuture ? 'dni' : 'dnevi'; + } + return result; + case 'M': + return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem'; + case 'MM': + if (number === 1) { + result += withoutSuffix || isFuture ? 'mesec' : 'mesecem'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'meseca' : 'mesecema'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'mesece' : 'meseci'; + } else { + result += withoutSuffix || isFuture ? 'mesecev' : 'meseci'; + } + return result; + case 'y': + return withoutSuffix || isFuture ? 'eno leto' : 'enim letom'; + case 'yy': + if (number === 1) { + result += withoutSuffix || isFuture ? 'leto' : 'letom'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'leti' : 'letoma'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'leta' : 'leti'; + } else { + result += withoutSuffix || isFuture ? 'let' : 'leti'; + } + return result; + } +} + +export default moment.defineLocale('sl', { + months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split( + '_' + ), + monthsShort: + 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'), + weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'), + weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD. MM. YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + }, + calendar: { + sameDay: '[danes ob] LT', + nextDay: '[jutri ob] LT', + + nextWeek: function () { + switch (this.day()) { + case 0: + return '[v] [nedeljo] [ob] LT'; + case 3: + return '[v] [sredo] [ob] LT'; + case 6: + return '[v] [soboto] [ob] LT'; + case 1: + case 2: + case 4: + case 5: + return '[v] dddd [ob] LT'; + } + }, + lastDay: '[včeraj ob] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[prejšnjo] [nedeljo] [ob] LT'; + case 3: + return '[prejšnjo] [sredo] [ob] LT'; + case 6: + return '[prejšnjo] [soboto] [ob] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prejšnji] dddd [ob] LT'; + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'čez %s', + past: 'pred %s', + s: processRelativeTime, + ss: processRelativeTime, + m: processRelativeTime, + mm: processRelativeTime, + h: processRelativeTime, + hh: processRelativeTime, + d: processRelativeTime, + dd: processRelativeTime, + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/sq.js b/node_modules/moment/src/locale/sq.js new file mode 100644 index 0000000..3b3bcfa --- /dev/null +++ b/node_modules/moment/src/locale/sq.js @@ -0,0 +1,65 @@ +//! moment.js locale configuration +//! locale : Albanian [sq] +//! author : Flakërim Ismani : https://github.com/flakerimi +//! author : Menelion Elensúle : https://github.com/Oire +//! author : Oerd Cukalla : https://github.com/oerd + +import moment from '../moment'; + +export default moment.defineLocale('sq', { + months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split( + '_' + ), + monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'), + weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split( + '_' + ), + weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'), + weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'), + weekdaysParseExact: true, + meridiemParse: /PD|MD/, + isPM: function (input) { + return input.charAt(0) === 'M'; + }, + meridiem: function (hours, minutes, isLower) { + return hours < 12 ? 'PD' : 'MD'; + }, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Sot në] LT', + nextDay: '[Nesër në] LT', + nextWeek: 'dddd [në] LT', + lastDay: '[Dje në] LT', + lastWeek: 'dddd [e kaluar në] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'në %s', + past: '%s më parë', + s: 'disa sekonda', + ss: '%d sekonda', + m: 'një minutë', + mm: '%d minuta', + h: 'një orë', + hh: '%d orë', + d: 'një ditë', + dd: '%d ditë', + M: 'një muaj', + MM: '%d muaj', + y: 'një vit', + yy: '%d vite', + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/sr-cyrl.js b/node_modules/moment/src/locale/sr-cyrl.js new file mode 100644 index 0000000..5e05810 --- /dev/null +++ b/node_modules/moment/src/locale/sr-cyrl.js @@ -0,0 +1,127 @@ +//! moment.js locale configuration +//! locale : Serbian Cyrillic [sr-cyrl] +//! author : Milan Janačković : https://github.com/milan-j +//! author : Stefan Crnjaković : https://github.com/crnjakovic + +import moment from '../moment'; + +var translator = { + words: { + //Different grammatical cases + ss: ['секунда', 'секунде', 'секунди'], + m: ['један минут', 'једног минута'], + mm: ['минут', 'минута', 'минута'], + h: ['један сат', 'једног сата'], + hh: ['сат', 'сата', 'сати'], + d: ['један дан', 'једног дана'], + dd: ['дан', 'дана', 'дана'], + M: ['један месец', 'једног месеца'], + MM: ['месец', 'месеца', 'месеци'], + y: ['једну годину', 'једне године'], + yy: ['годину', 'године', 'година'], + }, + correctGrammaticalCase: function (number, wordKey) { + if ( + number % 10 >= 1 && + number % 10 <= 4 && + (number % 100 < 10 || number % 100 >= 20) + ) { + return number % 10 === 1 ? wordKey[0] : wordKey[1]; + } + return wordKey[2]; + }, + translate: function (number, withoutSuffix, key, isFuture) { + var wordKey = translator.words[key], + word; + + if (key.length === 1) { + // Nominativ + if (key === 'y' && withoutSuffix) return 'једна година'; + return isFuture || withoutSuffix ? wordKey[0] : wordKey[1]; + } + + word = translator.correctGrammaticalCase(number, wordKey); + // Nominativ + if (key === 'yy' && withoutSuffix && word === 'годину') { + return number + ' година'; + } + + return number + ' ' + word; + }, +}; + +export default moment.defineLocale('sr-cyrl', { + months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split( + '_' + ), + monthsShort: + 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'), + monthsParseExact: true, + weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'), + weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'), + weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D. M. YYYY.', + LL: 'D. MMMM YYYY.', + LLL: 'D. MMMM YYYY. H:mm', + LLLL: 'dddd, D. MMMM YYYY. H:mm', + }, + calendar: { + sameDay: '[данас у] LT', + nextDay: '[сутра у] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[у] [недељу] [у] LT'; + case 3: + return '[у] [среду] [у] LT'; + case 6: + return '[у] [суботу] [у] LT'; + case 1: + case 2: + case 4: + case 5: + return '[у] dddd [у] LT'; + } + }, + lastDay: '[јуче у] LT', + lastWeek: function () { + var lastWeekDays = [ + '[прошле] [недеље] [у] LT', + '[прошлог] [понедељка] [у] LT', + '[прошлог] [уторка] [у] LT', + '[прошле] [среде] [у] LT', + '[прошлог] [четвртка] [у] LT', + '[прошлог] [петка] [у] LT', + '[прошле] [суботе] [у] LT', + ]; + return lastWeekDays[this.day()]; + }, + sameElse: 'L', + }, + relativeTime: { + future: 'за %s', + past: 'пре %s', + s: 'неколико секунди', + ss: translator.translate, + m: translator.translate, + mm: translator.translate, + h: translator.translate, + hh: translator.translate, + d: translator.translate, + dd: translator.translate, + M: translator.translate, + MM: translator.translate, + y: translator.translate, + yy: translator.translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 1st is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/sr.js b/node_modules/moment/src/locale/sr.js new file mode 100644 index 0000000..a407ec7 --- /dev/null +++ b/node_modules/moment/src/locale/sr.js @@ -0,0 +1,129 @@ +//! moment.js locale configuration +//! locale : Serbian [sr] +//! author : Milan Janačković : https://github.com/milan-j +//! author : Stefan Crnjaković : https://github.com/crnjakovic + +import moment from '../moment'; + +var translator = { + words: { + //Different grammatical cases + ss: ['sekunda', 'sekunde', 'sekundi'], + m: ['jedan minut', 'jednog minuta'], + mm: ['minut', 'minuta', 'minuta'], + h: ['jedan sat', 'jednog sata'], + hh: ['sat', 'sata', 'sati'], + d: ['jedan dan', 'jednog dana'], + dd: ['dan', 'dana', 'dana'], + M: ['jedan mesec', 'jednog meseca'], + MM: ['mesec', 'meseca', 'meseci'], + y: ['jednu godinu', 'jedne godine'], + yy: ['godinu', 'godine', 'godina'], + }, + correctGrammaticalCase: function (number, wordKey) { + if ( + number % 10 >= 1 && + number % 10 <= 4 && + (number % 100 < 10 || number % 100 >= 20) + ) { + return number % 10 === 1 ? wordKey[0] : wordKey[1]; + } + return wordKey[2]; + }, + translate: function (number, withoutSuffix, key, isFuture) { + var wordKey = translator.words[key], + word; + + if (key.length === 1) { + // Nominativ + if (key === 'y' && withoutSuffix) return 'jedna godina'; + return isFuture || withoutSuffix ? wordKey[0] : wordKey[1]; + } + + word = translator.correctGrammaticalCase(number, wordKey); + // Nominativ + if (key === 'yy' && withoutSuffix && word === 'godinu') { + return number + ' godina'; + } + + return number + ' ' + word; + }, +}; + +export default moment.defineLocale('sr', { + months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split( + '_' + ), + monthsShort: + 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), + monthsParseExact: true, + weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split( + '_' + ), + weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D. M. YYYY.', + LL: 'D. MMMM YYYY.', + LLL: 'D. MMMM YYYY. H:mm', + LLLL: 'dddd, D. MMMM YYYY. H:mm', + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sutra u] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedelju] [u] LT'; + case 3: + return '[u] [sredu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay: '[juče u] LT', + lastWeek: function () { + var lastWeekDays = [ + '[prošle] [nedelje] [u] LT', + '[prošlog] [ponedeljka] [u] LT', + '[prošlog] [utorka] [u] LT', + '[prošle] [srede] [u] LT', + '[prošlog] [četvrtka] [u] LT', + '[prošlog] [petka] [u] LT', + '[prošle] [subote] [u] LT', + ]; + return lastWeekDays[this.day()]; + }, + sameElse: 'L', + }, + relativeTime: { + future: 'za %s', + past: 'pre %s', + s: 'nekoliko sekundi', + ss: translator.translate, + m: translator.translate, + mm: translator.translate, + h: translator.translate, + hh: translator.translate, + d: translator.translate, + dd: translator.translate, + M: translator.translate, + MM: translator.translate, + y: translator.translate, + yy: translator.translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ss.js b/node_modules/moment/src/locale/ss.js new file mode 100644 index 0000000..60db499 --- /dev/null +++ b/node_modules/moment/src/locale/ss.js @@ -0,0 +1,84 @@ +//! moment.js locale configuration +//! locale : siSwati [ss] +//! author : Nicolai Davies : https://github.com/nicolaidavies + +import moment from '../moment'; + +export default moment.defineLocale('ss', { + months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split( + '_' + ), + monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'), + weekdays: + 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split( + '_' + ), + weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'), + weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Namuhla nga] LT', + nextDay: '[Kusasa nga] LT', + nextWeek: 'dddd [nga] LT', + lastDay: '[Itolo nga] LT', + lastWeek: 'dddd [leliphelile] [nga] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'nga %s', + past: 'wenteka nga %s', + s: 'emizuzwana lomcane', + ss: '%d mzuzwana', + m: 'umzuzu', + mm: '%d emizuzu', + h: 'lihora', + hh: '%d emahora', + d: 'lilanga', + dd: '%d emalanga', + M: 'inyanga', + MM: '%d tinyanga', + y: 'umnyaka', + yy: '%d iminyaka', + }, + meridiemParse: /ekuseni|emini|entsambama|ebusuku/, + meridiem: function (hours, minutes, isLower) { + if (hours < 11) { + return 'ekuseni'; + } else if (hours < 15) { + return 'emini'; + } else if (hours < 19) { + return 'entsambama'; + } else { + return 'ebusuku'; + } + }, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ekuseni') { + return hour; + } else if (meridiem === 'emini') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') { + if (hour === 0) { + return 0; + } + return hour + 12; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: '%d', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/sv.js b/node_modules/moment/src/locale/sv.js new file mode 100644 index 0000000..4a37cdb --- /dev/null +++ b/node_modules/moment/src/locale/sv.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : Swedish [sv] +//! author : Jens Alm : https://github.com/ulmus + +import moment from '../moment'; + +export default moment.defineLocale('sv', { + months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), + weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'), + weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'), + weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [kl.] HH:mm', + LLLL: 'dddd D MMMM YYYY [kl.] HH:mm', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd D MMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Idag] LT', + nextDay: '[Imorgon] LT', + lastDay: '[Igår] LT', + nextWeek: '[På] dddd LT', + lastWeek: '[I] dddd[s] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'om %s', + past: 'för %s sedan', + s: 'några sekunder', + ss: '%d sekunder', + m: 'en minut', + mm: '%d minuter', + h: 'en timme', + hh: '%d timmar', + d: 'en dag', + dd: '%d dagar', + M: 'en månad', + MM: '%d månader', + y: 'ett år', + yy: '%d år', + }, + dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? ':e' + : b === 1 + ? ':a' + : b === 2 + ? ':a' + : b === 3 + ? ':e' + : ':e'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/sw.js b/node_modules/moment/src/locale/sw.js new file mode 100644 index 0000000..35a2668 --- /dev/null +++ b/node_modules/moment/src/locale/sw.js @@ -0,0 +1,55 @@ +//! moment.js locale configuration +//! locale : Swahili [sw] +//! author : Fahad Kassim : https://github.com/fadsel + +import moment from '../moment'; + +export default moment.defineLocale('sw', { + months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split( + '_' + ), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'), + weekdays: + 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split( + '_' + ), + weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'), + weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'hh:mm A', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[leo saa] LT', + nextDay: '[kesho saa] LT', + nextWeek: '[wiki ijayo] dddd [saat] LT', + lastDay: '[jana] LT', + lastWeek: '[wiki iliyopita] dddd [saat] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s baadaye', + past: 'tokea %s', + s: 'hivi punde', + ss: 'sekunde %d', + m: 'dakika moja', + mm: 'dakika %d', + h: 'saa limoja', + hh: 'masaa %d', + d: 'siku moja', + dd: 'siku %d', + M: 'mwezi mmoja', + MM: 'miezi %d', + y: 'mwaka mmoja', + yy: 'miaka %d', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ta.js b/node_modules/moment/src/locale/ta.js new file mode 100644 index 0000000..fdfa1ba --- /dev/null +++ b/node_modules/moment/src/locale/ta.js @@ -0,0 +1,131 @@ +//! moment.js locale configuration +//! locale : Tamil [ta] +//! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404 + +import moment from '../moment'; + +var symbolMap = { + 1: '௧', + 2: '௨', + 3: '௩', + 4: '௪', + 5: '௫', + 6: '௬', + 7: '௭', + 8: '௮', + 9: '௯', + 0: '௦', + }, + numberMap = { + '௧': '1', + '௨': '2', + '௩': '3', + '௪': '4', + '௫': '5', + '௬': '6', + '௭': '7', + '௮': '8', + '௯': '9', + '௦': '0', + }; + +export default moment.defineLocale('ta', { + months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split( + '_' + ), + monthsShort: + 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split( + '_' + ), + weekdays: + 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split( + '_' + ), + weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split( + '_' + ), + weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, HH:mm', + LLLL: 'dddd, D MMMM YYYY, HH:mm', + }, + calendar: { + sameDay: '[இன்று] LT', + nextDay: '[நாளை] LT', + nextWeek: 'dddd, LT', + lastDay: '[நேற்று] LT', + lastWeek: '[கடந்த வாரம்] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s இல்', + past: '%s முன்', + s: 'ஒரு சில விநாடிகள்', + ss: '%d விநாடிகள்', + m: 'ஒரு நிமிடம்', + mm: '%d நிமிடங்கள்', + h: 'ஒரு மணி நேரம்', + hh: '%d மணி நேரம்', + d: 'ஒரு நாள்', + dd: '%d நாட்கள்', + M: 'ஒரு மாதம்', + MM: '%d மாதங்கள்', + y: 'ஒரு வருடம்', + yy: '%d ஆண்டுகள்', + }, + dayOfMonthOrdinalParse: /\d{1,2}வது/, + ordinal: function (number) { + return number + 'வது'; + }, + preparse: function (string) { + return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // refer http://ta.wikipedia.org/s/1er1 + meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/, + meridiem: function (hour, minute, isLower) { + if (hour < 2) { + return ' யாமம்'; + } else if (hour < 6) { + return ' வைகறை'; // வைகறை + } else if (hour < 10) { + return ' காலை'; // காலை + } else if (hour < 14) { + return ' நண்பகல்'; // நண்பகல் + } else if (hour < 18) { + return ' எற்பாடு'; // எற்பாடு + } else if (hour < 22) { + return ' மாலை'; // மாலை + } else { + return ' யாமம்'; + } + }, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'யாமம்') { + return hour < 2 ? hour : hour + 12; + } else if (meridiem === 'வைகறை' || meridiem === 'காலை') { + return hour; + } else if (meridiem === 'நண்பகல்') { + return hour >= 10 ? hour : hour + 12; + } else { + return hour + 12; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/te.js b/node_modules/moment/src/locale/te.js new file mode 100644 index 0000000..56f9f16 --- /dev/null +++ b/node_modules/moment/src/locale/te.js @@ -0,0 +1,88 @@ +//! moment.js locale configuration +//! locale : Telugu [te] +//! author : Krishna Chaitanya Thota : https://github.com/kcthota + +import moment from '../moment'; + +export default moment.defineLocale('te', { + months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split( + '_' + ), + monthsShort: + 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split( + '_' + ), + weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'), + weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'), + longDateFormat: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm', + }, + calendar: { + sameDay: '[నేడు] LT', + nextDay: '[రేపు] LT', + nextWeek: 'dddd, LT', + lastDay: '[నిన్న] LT', + lastWeek: '[గత] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s లో', + past: '%s క్రితం', + s: 'కొన్ని క్షణాలు', + ss: '%d సెకన్లు', + m: 'ఒక నిమిషం', + mm: '%d నిమిషాలు', + h: 'ఒక గంట', + hh: '%d గంటలు', + d: 'ఒక రోజు', + dd: '%d రోజులు', + M: 'ఒక నెల', + MM: '%d నెలలు', + y: 'ఒక సంవత్సరం', + yy: '%d సంవత్సరాలు', + }, + dayOfMonthOrdinalParse: /\d{1,2}వ/, + ordinal: '%dవ', + meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'రాత్రి') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ఉదయం') { + return hour; + } else if (meridiem === 'మధ్యాహ్నం') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'సాయంత్రం') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'రాత్రి'; + } else if (hour < 10) { + return 'ఉదయం'; + } else if (hour < 17) { + return 'మధ్యాహ్నం'; + } else if (hour < 20) { + return 'సాయంత్రం'; + } else { + return 'రాత్రి'; + } + }, + week: { + dow: 0, // Sunday is the first day of the week. + doy: 6, // The week that contains Jan 6th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/tet.js b/node_modules/moment/src/locale/tet.js new file mode 100644 index 0000000..5f7d95c --- /dev/null +++ b/node_modules/moment/src/locale/tet.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : Tetun Dili (East Timor) [tet] +//! author : Joshua Brooks : https://github.com/joshbrooks +//! author : Onorio De J. Afonso : https://github.com/marobo +//! author : Sonia Simoes : https://github.com/soniasimoes + +import moment from '../moment'; + +export default moment.defineLocale('tet', { + months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split( + '_' + ), + monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), + weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'), + weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'), + weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Ohin iha] LT', + nextDay: '[Aban iha] LT', + nextWeek: 'dddd [iha] LT', + lastDay: '[Horiseik iha] LT', + lastWeek: 'dddd [semana kotuk] [iha] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'iha %s', + past: '%s liuba', + s: 'segundu balun', + ss: 'segundu %d', + m: 'minutu ida', + mm: 'minutu %d', + h: 'oras ida', + hh: 'oras %d', + d: 'loron ida', + dd: 'loron %d', + M: 'fulan ida', + MM: 'fulan %d', + y: 'tinan ida', + yy: 'tinan %d', + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/tg.js b/node_modules/moment/src/locale/tg.js new file mode 100644 index 0000000..60d33c7 --- /dev/null +++ b/node_modules/moment/src/locale/tg.js @@ -0,0 +1,117 @@ +//! moment.js locale configuration +//! locale : Tajik [tg] +//! author : Orif N. Jr. : https://github.com/orif-jr + +import moment from '../moment'; + +var suffixes = { + 0: '-ум', + 1: '-ум', + 2: '-юм', + 3: '-юм', + 4: '-ум', + 5: '-ум', + 6: '-ум', + 7: '-ум', + 8: '-ум', + 9: '-ум', + 10: '-ум', + 12: '-ум', + 13: '-ум', + 20: '-ум', + 30: '-юм', + 40: '-ум', + 50: '-ум', + 60: '-ум', + 70: '-ум', + 80: '-ум', + 90: '-ум', + 100: '-ум', +}; + +export default moment.defineLocale('tg', { + months: { + format: 'январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри'.split( + '_' + ), + standalone: + 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split( + '_' + ), + }, + monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'), + weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split( + '_' + ), + weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'), + weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Имрӯз соати] LT', + nextDay: '[Фардо соати] LT', + lastDay: '[Дирӯз соати] LT', + nextWeek: 'dddd[и] [ҳафтаи оянда соати] LT', + lastWeek: 'dddd[и] [ҳафтаи гузашта соати] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'баъди %s', + past: '%s пеш', + s: 'якчанд сония', + m: 'як дақиқа', + mm: '%d дақиқа', + h: 'як соат', + hh: '%d соат', + d: 'як рӯз', + dd: '%d рӯз', + M: 'як моҳ', + MM: '%d моҳ', + y: 'як сол', + yy: '%d сол', + }, + meridiemParse: /шаб|субҳ|рӯз|бегоҳ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'шаб') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'субҳ') { + return hour; + } else if (meridiem === 'рӯз') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'бегоҳ') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'шаб'; + } else if (hour < 11) { + return 'субҳ'; + } else if (hour < 16) { + return 'рӯз'; + } else if (hour < 19) { + return 'бегоҳ'; + } else { + return 'шаб'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ум|юм)/, + ordinal: function (number) { + var a = number % 10, + b = number >= 100 ? 100 : null; + return number + (suffixes[number] || suffixes[a] || suffixes[b]); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 1th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/th.js b/node_modules/moment/src/locale/th.js new file mode 100644 index 0000000..b3a5560 --- /dev/null +++ b/node_modules/moment/src/locale/th.js @@ -0,0 +1,65 @@ +//! moment.js locale configuration +//! locale : Thai [th] +//! author : Kridsada Thanabulpong : https://github.com/sirn + +import moment from '../moment'; + +export default moment.defineLocale('th', { + months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split( + '_' + ), + monthsShort: + 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'), + weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference + weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY เวลา H:mm', + LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm', + }, + meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/, + isPM: function (input) { + return input === 'หลังเที่ยง'; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'ก่อนเที่ยง'; + } else { + return 'หลังเที่ยง'; + } + }, + calendar: { + sameDay: '[วันนี้ เวลา] LT', + nextDay: '[พรุ่งนี้ เวลา] LT', + nextWeek: 'dddd[หน้า เวลา] LT', + lastDay: '[เมื่อวานนี้ เวลา] LT', + lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'อีก %s', + past: '%sที่แล้ว', + s: 'ไม่กี่วินาที', + ss: '%d วินาที', + m: '1 นาที', + mm: '%d นาที', + h: '1 ชั่วโมง', + hh: '%d ชั่วโมง', + d: '1 วัน', + dd: '%d วัน', + w: '1 สัปดาห์', + ww: '%d สัปดาห์', + M: '1 เดือน', + MM: '%d เดือน', + y: '1 ปี', + yy: '%d ปี', + }, +}); diff --git a/node_modules/moment/src/locale/tk.js b/node_modules/moment/src/locale/tk.js new file mode 100644 index 0000000..b26f99e --- /dev/null +++ b/node_modules/moment/src/locale/tk.js @@ -0,0 +1,91 @@ +//! moment.js locale configuration +//! locale : Turkmen [tk] +//! author : Atamyrat Abdyrahmanov : https://github.com/atamyratabdy + +import moment from '../moment'; + +var suffixes = { + 1: "'inji", + 5: "'inji", + 8: "'inji", + 70: "'inji", + 80: "'inji", + 2: "'nji", + 7: "'nji", + 20: "'nji", + 50: "'nji", + 3: "'ünji", + 4: "'ünji", + 100: "'ünji", + 6: "'njy", + 9: "'unjy", + 10: "'unjy", + 30: "'unjy", + 60: "'ynjy", + 90: "'ynjy", +}; + +export default moment.defineLocale('tk', { + months: 'Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr'.split( + '_' + ), + monthsShort: 'Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek'.split('_'), + weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe'.split( + '_' + ), + weekdaysShort: 'Ýek_Duş_Siş_Çar_Pen_Ann_Şen'.split('_'), + weekdaysMin: 'Ýk_Dş_Sş_Çr_Pn_An_Şn'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[bugün sagat] LT', + nextDay: '[ertir sagat] LT', + nextWeek: '[indiki] dddd [sagat] LT', + lastDay: '[düýn] LT', + lastWeek: '[geçen] dddd [sagat] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s soň', + past: '%s öň', + s: 'birnäçe sekunt', + m: 'bir minut', + mm: '%d minut', + h: 'bir sagat', + hh: '%d sagat', + d: 'bir gün', + dd: '%d gün', + M: 'bir aý', + MM: '%d aý', + y: 'bir ýyl', + yy: '%d ýyl', + }, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'Do': + case 'DD': + return number; + default: + if (number === 0) { + // special case for zero + return number + "'unjy"; + } + var a = number % 10, + b = (number % 100) - a, + c = number >= 100 ? 100 : null; + return number + (suffixes[a] || suffixes[b] || suffixes[c]); + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/tl-ph.js b/node_modules/moment/src/locale/tl-ph.js new file mode 100644 index 0000000..581d74a --- /dev/null +++ b/node_modules/moment/src/locale/tl-ph.js @@ -0,0 +1,57 @@ +//! moment.js locale configuration +//! locale : Tagalog (Philippines) [tl-ph] +//! author : Dan Hagman : https://github.com/hagmandan + +import moment from '../moment'; + +export default moment.defineLocale('tl-ph', { + months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split( + '_' + ), + monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), + weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split( + '_' + ), + weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), + weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'MM/D/YYYY', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY HH:mm', + LLLL: 'dddd, MMMM DD, YYYY HH:mm', + }, + calendar: { + sameDay: 'LT [ngayong araw]', + nextDay: '[Bukas ng] LT', + nextWeek: 'LT [sa susunod na] dddd', + lastDay: 'LT [kahapon]', + lastWeek: 'LT [noong nakaraang] dddd', + sameElse: 'L', + }, + relativeTime: { + future: 'sa loob ng %s', + past: '%s ang nakalipas', + s: 'ilang segundo', + ss: '%d segundo', + m: 'isang minuto', + mm: '%d minuto', + h: 'isang oras', + hh: '%d oras', + d: 'isang araw', + dd: '%d araw', + M: 'isang buwan', + MM: '%d buwan', + y: 'isang taon', + yy: '%d taon', + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: function (number) { + return number; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/tlh.js b/node_modules/moment/src/locale/tlh.js new file mode 100644 index 0000000..ccc5d29 --- /dev/null +++ b/node_modules/moment/src/locale/tlh.js @@ -0,0 +1,124 @@ +//! moment.js locale configuration +//! locale : Klingon [tlh] +//! author : Dominika Kruk : https://github.com/amaranthrose + +import moment from '../moment'; + +var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_'); + +function translateFuture(output) { + var time = output; + time = + output.indexOf('jaj') !== -1 + ? time.slice(0, -3) + 'leS' + : output.indexOf('jar') !== -1 + ? time.slice(0, -3) + 'waQ' + : output.indexOf('DIS') !== -1 + ? time.slice(0, -3) + 'nem' + : time + ' pIq'; + return time; +} + +function translatePast(output) { + var time = output; + time = + output.indexOf('jaj') !== -1 + ? time.slice(0, -3) + 'Hu’' + : output.indexOf('jar') !== -1 + ? time.slice(0, -3) + 'wen' + : output.indexOf('DIS') !== -1 + ? time.slice(0, -3) + 'ben' + : time + ' ret'; + return time; +} + +function translate(number, withoutSuffix, string, isFuture) { + var numberNoun = numberAsNoun(number); + switch (string) { + case 'ss': + return numberNoun + ' lup'; + case 'mm': + return numberNoun + ' tup'; + case 'hh': + return numberNoun + ' rep'; + case 'dd': + return numberNoun + ' jaj'; + case 'MM': + return numberNoun + ' jar'; + case 'yy': + return numberNoun + ' DIS'; + } +} + +function numberAsNoun(number) { + var hundred = Math.floor((number % 1000) / 100), + ten = Math.floor((number % 100) / 10), + one = number % 10, + word = ''; + if (hundred > 0) { + word += numbersNouns[hundred] + 'vatlh'; + } + if (ten > 0) { + word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH'; + } + if (one > 0) { + word += (word !== '' ? ' ' : '') + numbersNouns[one]; + } + return word === '' ? 'pagh' : word; +} + +export default moment.defineLocale('tlh', { + months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split( + '_' + ), + monthsShort: + 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split( + '_' + ), + weekdaysShort: + 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + weekdaysMin: + 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[DaHjaj] LT', + nextDay: '[wa’leS] LT', + nextWeek: 'LLL', + lastDay: '[wa’Hu’] LT', + lastWeek: 'LLL', + sameElse: 'L', + }, + relativeTime: { + future: translateFuture, + past: translatePast, + s: 'puS lup', + ss: translate, + m: 'wa’ tup', + mm: translate, + h: 'wa’ rep', + hh: translate, + d: 'wa’ jaj', + dd: translate, + M: 'wa’ jar', + MM: translate, + y: 'wa’ DIS', + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/tr.js b/node_modules/moment/src/locale/tr.js new file mode 100644 index 0000000..c5abbdc --- /dev/null +++ b/node_modules/moment/src/locale/tr.js @@ -0,0 +1,106 @@ +//! moment.js locale configuration +//! locale : Turkish [tr] +//! authors : Erhan Gundogan : https://github.com/erhangundogan, +//! Burak Yiğit Kaya: https://github.com/BYK + +import moment from '../moment'; + +var suffixes = { + 1: "'inci", + 5: "'inci", + 8: "'inci", + 70: "'inci", + 80: "'inci", + 2: "'nci", + 7: "'nci", + 20: "'nci", + 50: "'nci", + 3: "'üncü", + 4: "'üncü", + 100: "'üncü", + 6: "'ncı", + 9: "'uncu", + 10: "'uncu", + 30: "'uncu", + 60: "'ıncı", + 90: "'ıncı", +}; + +export default moment.defineLocale('tr', { + months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split( + '_' + ), + monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'), + weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split( + '_' + ), + weekdaysShort: 'Paz_Pzt_Sal_Çar_Per_Cum_Cmt'.split('_'), + weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'), + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'öö' : 'ÖÖ'; + } else { + return isLower ? 'ös' : 'ÖS'; + } + }, + meridiemParse: /öö|ÖÖ|ös|ÖS/, + isPM: function (input) { + return input === 'ös' || input === 'ÖS'; + }, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[bugün saat] LT', + nextDay: '[yarın saat] LT', + nextWeek: '[gelecek] dddd [saat] LT', + lastDay: '[dün] LT', + lastWeek: '[geçen] dddd [saat] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s sonra', + past: '%s önce', + s: 'birkaç saniye', + ss: '%d saniye', + m: 'bir dakika', + mm: '%d dakika', + h: 'bir saat', + hh: '%d saat', + d: 'bir gün', + dd: '%d gün', + w: 'bir hafta', + ww: '%d hafta', + M: 'bir ay', + MM: '%d ay', + y: 'bir yıl', + yy: '%d yıl', + }, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'Do': + case 'DD': + return number; + default: + if (number === 0) { + // special case for zero + return number + "'ıncı"; + } + var a = number % 10, + b = (number % 100) - a, + c = number >= 100 ? 100 : null; + return number + (suffixes[a] || suffixes[b] || suffixes[c]); + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/tzl.js b/node_modules/moment/src/locale/tzl.js new file mode 100644 index 0000000..5447082 --- /dev/null +++ b/node_modules/moment/src/locale/tzl.js @@ -0,0 +1,89 @@ +//! moment.js locale configuration +//! locale : Talossan [tzl] +//! author : Robin van der Vliet : https://github.com/robin0van0der0v +//! author : Iustì Canun + +import moment from '../moment'; + +// After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals. +// This is currently too difficult (maybe even impossible) to add. +export default moment.defineLocale('tzl', { + months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split( + '_' + ), + monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'), + weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'), + weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'), + weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'), + longDateFormat: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM [dallas] YYYY', + LLL: 'D. MMMM [dallas] YYYY HH.mm', + LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm', + }, + meridiemParse: /d\'o|d\'a/i, + isPM: function (input) { + return "d'o" === input.toLowerCase(); + }, + meridiem: function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? "d'o" : "D'O"; + } else { + return isLower ? "d'a" : "D'A"; + } + }, + calendar: { + sameDay: '[oxhi à] LT', + nextDay: '[demà à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[ieiri à] LT', + lastWeek: '[sür el] dddd [lasteu à] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'osprei %s', + past: 'ja%s', + s: processRelativeTime, + ss: processRelativeTime, + m: processRelativeTime, + mm: processRelativeTime, + h: processRelativeTime, + hh: processRelativeTime, + d: processRelativeTime, + dd: processRelativeTime, + M: processRelativeTime, + MM: processRelativeTime, + y: processRelativeTime, + yy: processRelativeTime, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); + +function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + s: ['viensas secunds', "'iensas secunds"], + ss: [number + ' secunds', '' + number + ' secunds'], + m: ["'n míut", "'iens míut"], + mm: [number + ' míuts', '' + number + ' míuts'], + h: ["'n þora", "'iensa þora"], + hh: [number + ' þoras', '' + number + ' þoras'], + d: ["'n ziua", "'iensa ziua"], + dd: [number + ' ziuas', '' + number + ' ziuas'], + M: ["'n mes", "'iens mes"], + MM: [number + ' mesen', '' + number + ' mesen'], + y: ["'n ar", "'iens ar"], + yy: [number + ' ars', '' + number + ' ars'], + }; + return isFuture + ? format[key][0] + : withoutSuffix + ? format[key][0] + : format[key][1]; +} diff --git a/node_modules/moment/src/locale/tzm-latn.js b/node_modules/moment/src/locale/tzm-latn.js new file mode 100644 index 0000000..6a427d8 --- /dev/null +++ b/node_modules/moment/src/locale/tzm-latn.js @@ -0,0 +1,54 @@ +//! moment.js locale configuration +//! locale : Central Atlas Tamazight Latin [tzm-latn] +//! author : Abdel Said : https://github.com/abdelsaid + +import moment from '../moment'; + +export default moment.defineLocale('tzm-latn', { + months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split( + '_' + ), + monthsShort: + 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split( + '_' + ), + weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[asdkh g] LT', + nextDay: '[aska g] LT', + nextWeek: 'dddd [g] LT', + lastDay: '[assant g] LT', + lastWeek: 'dddd [g] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'dadkh s yan %s', + past: 'yan %s', + s: 'imik', + ss: '%d imik', + m: 'minuḍ', + mm: '%d minuḍ', + h: 'saɛa', + hh: '%d tassaɛin', + d: 'ass', + dd: '%d ossan', + M: 'ayowr', + MM: '%d iyyirn', + y: 'asgas', + yy: '%d isgasn', + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/tzm.js b/node_modules/moment/src/locale/tzm.js new file mode 100644 index 0000000..1e5d597 --- /dev/null +++ b/node_modules/moment/src/locale/tzm.js @@ -0,0 +1,54 @@ +//! moment.js locale configuration +//! locale : Central Atlas Tamazight [tzm] +//! author : Abdel Said : https://github.com/abdelsaid + +import moment from '../moment'; + +export default moment.defineLocale('tzm', { + months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split( + '_' + ), + monthsShort: + 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split( + '_' + ), + weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[ⴰⵙⴷⵅ ⴴ] LT', + nextDay: '[ⴰⵙⴽⴰ ⴴ] LT', + nextWeek: 'dddd [ⴴ] LT', + lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT', + lastWeek: 'dddd [ⴴ] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s', + past: 'ⵢⴰⵏ %s', + s: 'ⵉⵎⵉⴽ', + ss: '%d ⵉⵎⵉⴽ', + m: 'ⵎⵉⵏⵓⴺ', + mm: '%d ⵎⵉⵏⵓⴺ', + h: 'ⵙⴰⵄⴰ', + hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ', + d: 'ⴰⵙⵙ', + dd: '%d oⵙⵙⴰⵏ', + M: 'ⴰⵢoⵓⵔ', + MM: '%d ⵉⵢⵢⵉⵔⵏ', + y: 'ⴰⵙⴳⴰⵙ', + yy: '%d ⵉⵙⴳⴰⵙⵏ', + }, + week: { + dow: 6, // Saturday is the first day of the week. + doy: 12, // The week that contains Jan 12th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ug-cn.js b/node_modules/moment/src/locale/ug-cn.js new file mode 100644 index 0000000..ad6fa94 --- /dev/null +++ b/node_modules/moment/src/locale/ug-cn.js @@ -0,0 +1,111 @@ +//! moment.js locale configuration +//! locale : Uyghur (China) [ug-cn] +//! author: boyaq : https://github.com/boyaq + +import moment from '../moment'; + +export default moment.defineLocale('ug-cn', { + months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split( + '_' + ), + monthsShort: + 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split( + '_' + ), + weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split( + '_' + ), + weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'), + weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى', + LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm', + LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm', + }, + meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + meridiem === 'يېرىم كېچە' || + meridiem === 'سەھەر' || + meridiem === 'چۈشتىن بۇرۇن' + ) { + return hour; + } else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') { + return hour + 12; + } else { + return hour >= 11 ? hour : hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return 'يېرىم كېچە'; + } else if (hm < 900) { + return 'سەھەر'; + } else if (hm < 1130) { + return 'چۈشتىن بۇرۇن'; + } else if (hm < 1230) { + return 'چۈش'; + } else if (hm < 1800) { + return 'چۈشتىن كېيىن'; + } else { + return 'كەچ'; + } + }, + calendar: { + sameDay: '[بۈگۈن سائەت] LT', + nextDay: '[ئەتە سائەت] LT', + nextWeek: '[كېلەركى] dddd [سائەت] LT', + lastDay: '[تۆنۈگۈن] LT', + lastWeek: '[ئالدىنقى] dddd [سائەت] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s كېيىن', + past: '%s بۇرۇن', + s: 'نەچچە سېكونت', + ss: '%d سېكونت', + m: 'بىر مىنۇت', + mm: '%d مىنۇت', + h: 'بىر سائەت', + hh: '%d سائەت', + d: 'بىر كۈن', + dd: '%d كۈن', + M: 'بىر ئاي', + MM: '%d ئاي', + y: 'بىر يىل', + yy: '%d يىل', + }, + + dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '-كۈنى'; + case 'w': + case 'W': + return number + '-ھەپتە'; + default: + return number; + } + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效 + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 1st is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/uk.js b/node_modules/moment/src/locale/uk.js new file mode 100644 index 0000000..670ffcc --- /dev/null +++ b/node_modules/moment/src/locale/uk.js @@ -0,0 +1,167 @@ +//! moment.js locale configuration +//! locale : Ukrainian [uk] +//! author : zemlanin : https://github.com/zemlanin +//! Author : Menelion Elensúle : https://github.com/Oire + +import moment from '../moment'; + +function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 + ? forms[0] + : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) + ? forms[1] + : forms[2]; +} +function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд', + mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин', + hh: withoutSuffix ? 'година_години_годин' : 'годину_години_годин', + dd: 'день_дні_днів', + MM: 'місяць_місяці_місяців', + yy: 'рік_роки_років', + }; + if (key === 'm') { + return withoutSuffix ? 'хвилина' : 'хвилину'; + } else if (key === 'h') { + return withoutSuffix ? 'година' : 'годину'; + } else { + return number + ' ' + plural(format[key], +number); + } +} +function weekdaysCaseReplace(m, format) { + var weekdays = { + nominative: + 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split( + '_' + ), + accusative: + 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split( + '_' + ), + genitive: + 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split( + '_' + ), + }, + nounCase; + + if (m === true) { + return weekdays['nominative'] + .slice(1, 7) + .concat(weekdays['nominative'].slice(0, 1)); + } + if (!m) { + return weekdays['nominative']; + } + + nounCase = /(\[[ВвУу]\]) ?dddd/.test(format) + ? 'accusative' + : /\[?(?:минулої|наступної)? ?\] ?dddd/.test(format) + ? 'genitive' + : 'nominative'; + return weekdays[nounCase][m.day()]; +} +function processHoursFunction(str) { + return function () { + return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT'; + }; +} + +export default moment.defineLocale('uk', { + months: { + format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split( + '_' + ), + standalone: + 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split( + '_' + ), + }, + monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split( + '_' + ), + weekdays: weekdaysCaseReplace, + weekdaysShort: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY р.', + LLL: 'D MMMM YYYY р., HH:mm', + LLLL: 'dddd, D MMMM YYYY р., HH:mm', + }, + calendar: { + sameDay: processHoursFunction('[Сьогодні '), + nextDay: processHoursFunction('[Завтра '), + lastDay: processHoursFunction('[Вчора '), + nextWeek: processHoursFunction('[У] dddd ['), + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 5: + case 6: + return processHoursFunction('[Минулої] dddd [').call(this); + case 1: + case 2: + case 4: + return processHoursFunction('[Минулого] dddd [').call(this); + } + }, + sameElse: 'L', + }, + relativeTime: { + future: 'за %s', + past: '%s тому', + s: 'декілька секунд', + ss: relativeTimeWithPlural, + m: relativeTimeWithPlural, + mm: relativeTimeWithPlural, + h: 'годину', + hh: relativeTimeWithPlural, + d: 'день', + dd: relativeTimeWithPlural, + M: 'місяць', + MM: relativeTimeWithPlural, + y: 'рік', + yy: relativeTimeWithPlural, + }, + // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason + meridiemParse: /ночі|ранку|дня|вечора/, + isPM: function (input) { + return /^(дня|вечора)$/.test(input); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'ночі'; + } else if (hour < 12) { + return 'ранку'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечора'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + case 'w': + case 'W': + return number + '-й'; + case 'D': + return number + '-го'; + default: + return number; + } + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/ur.js b/node_modules/moment/src/locale/ur.js new file mode 100644 index 0000000..ca5e252 --- /dev/null +++ b/node_modules/moment/src/locale/ur.js @@ -0,0 +1,82 @@ +//! moment.js locale configuration +//! locale : Urdu [ur] +//! author : Sawood Alam : https://github.com/ibnesayeed +//! author : Zack : https://github.com/ZackVision + +import moment from '../moment'; + +var months = [ + 'جنوری', + 'فروری', + 'مارچ', + 'اپریل', + 'مئی', + 'جون', + 'جولائی', + 'اگست', + 'ستمبر', + 'اکتوبر', + 'نومبر', + 'دسمبر', + ], + days = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ']; + +export default moment.defineLocale('ur', { + months: months, + monthsShort: months, + weekdays: days, + weekdaysShort: days, + weekdaysMin: days, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd، D MMMM YYYY HH:mm', + }, + meridiemParse: /صبح|شام/, + isPM: function (input) { + return 'شام' === input; + }, + meridiem: function (hour, minute, isLower) { + if (hour < 12) { + return 'صبح'; + } + return 'شام'; + }, + calendar: { + sameDay: '[آج بوقت] LT', + nextDay: '[کل بوقت] LT', + nextWeek: 'dddd [بوقت] LT', + lastDay: '[گذشتہ روز بوقت] LT', + lastWeek: '[گذشتہ] dddd [بوقت] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s بعد', + past: '%s قبل', + s: 'چند سیکنڈ', + ss: '%d سیکنڈ', + m: 'ایک منٹ', + mm: '%d منٹ', + h: 'ایک گھنٹہ', + hh: '%d گھنٹے', + d: 'ایک دن', + dd: '%d دن', + M: 'ایک ماہ', + MM: '%d ماہ', + y: 'ایک سال', + yy: '%d سال', + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/uz-latn.js b/node_modules/moment/src/locale/uz-latn.js new file mode 100644 index 0000000..a2d577e --- /dev/null +++ b/node_modules/moment/src/locale/uz-latn.js @@ -0,0 +1,54 @@ +//! moment.js locale configuration +//! locale : Uzbek Latin [uz-latn] +//! author : Rasulbek Mirzayev : github.com/Rasulbeeek + +import moment from '../moment'; + +export default moment.defineLocale('uz-latn', { + months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split( + '_' + ), + monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'), + weekdays: + 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split( + '_' + ), + weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'), + weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'D MMMM YYYY, dddd HH:mm', + }, + calendar: { + sameDay: '[Bugun soat] LT [da]', + nextDay: '[Ertaga] LT [da]', + nextWeek: 'dddd [kuni soat] LT [da]', + lastDay: '[Kecha soat] LT [da]', + lastWeek: "[O'tgan] dddd [kuni soat] LT [da]", + sameElse: 'L', + }, + relativeTime: { + future: 'Yaqin %s ichida', + past: 'Bir necha %s oldin', + s: 'soniya', + ss: '%d soniya', + m: 'bir daqiqa', + mm: '%d daqiqa', + h: 'bir soat', + hh: '%d soat', + d: 'bir kun', + dd: '%d kun', + M: 'bir oy', + MM: '%d oy', + y: 'bir yil', + yy: '%d yil', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/uz.js b/node_modules/moment/src/locale/uz.js new file mode 100644 index 0000000..03914dd --- /dev/null +++ b/node_modules/moment/src/locale/uz.js @@ -0,0 +1,51 @@ +//! moment.js locale configuration +//! locale : Uzbek [uz] +//! author : Sardor Muminov : https://github.com/muminoff + +import moment from '../moment'; + +export default moment.defineLocale('uz', { + months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split( + '_' + ), + monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'), + weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'), + weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'), + weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'D MMMM YYYY, dddd HH:mm', + }, + calendar: { + sameDay: '[Бугун соат] LT [да]', + nextDay: '[Эртага] LT [да]', + nextWeek: 'dddd [куни соат] LT [да]', + lastDay: '[Кеча соат] LT [да]', + lastWeek: '[Утган] dddd [куни соат] LT [да]', + sameElse: 'L', + }, + relativeTime: { + future: 'Якин %s ичида', + past: 'Бир неча %s олдин', + s: 'фурсат', + ss: '%d фурсат', + m: 'бир дакика', + mm: '%d дакика', + h: 'бир соат', + hh: '%d соат', + d: 'бир кун', + dd: '%d кун', + M: 'бир ой', + MM: '%d ой', + y: 'бир йил', + yy: '%d йил', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/vi.js b/node_modules/moment/src/locale/vi.js new file mode 100644 index 0000000..2b11cf6 --- /dev/null +++ b/node_modules/moment/src/locale/vi.js @@ -0,0 +1,80 @@ +//! moment.js locale configuration +//! locale : Vietnamese [vi] +//! author : Bang Nguyen : https://github.com/bangnk +//! author : Chien Kira : https://github.com/chienkira + +import moment from '../moment'; + +export default moment.defineLocale('vi', { + months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split( + '_' + ), + monthsShort: + 'Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split( + '_' + ), + weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'), + weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'), + weekdaysParseExact: true, + meridiemParse: /sa|ch/i, + isPM: function (input) { + return /^ch$/i.test(input); + }, + meridiem: function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'sa' : 'SA'; + } else { + return isLower ? 'ch' : 'CH'; + } + }, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [năm] YYYY', + LLL: 'D MMMM [năm] YYYY HH:mm', + LLLL: 'dddd, D MMMM [năm] YYYY HH:mm', + l: 'DD/M/YYYY', + ll: 'D MMM YYYY', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd, D MMM YYYY HH:mm', + }, + calendar: { + sameDay: '[Hôm nay lúc] LT', + nextDay: '[Ngày mai lúc] LT', + nextWeek: 'dddd [tuần tới lúc] LT', + lastDay: '[Hôm qua lúc] LT', + lastWeek: 'dddd [tuần trước lúc] LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s tới', + past: '%s trước', + s: 'vài giây', + ss: '%d giây', + m: 'một phút', + mm: '%d phút', + h: 'một giờ', + hh: '%d giờ', + d: 'một ngày', + dd: '%d ngày', + w: 'một tuần', + ww: '%d tuần', + M: 'một tháng', + MM: '%d tháng', + y: 'một năm', + yy: '%d năm', + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal: function (number) { + return number; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/x-pseudo.js b/node_modules/moment/src/locale/x-pseudo.js new file mode 100644 index 0000000..90df555 --- /dev/null +++ b/node_modules/moment/src/locale/x-pseudo.js @@ -0,0 +1,73 @@ +//! moment.js locale configuration +//! locale : Pseudo [x-pseudo] +//! author : Andrew Hood : https://github.com/andrewhood125 + +import moment from '../moment'; + +export default moment.defineLocale('x-pseudo', { + months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split( + '_' + ), + monthsShort: + 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split( + '_' + ), + weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'), + weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'HH:mm', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[T~ódá~ý át] LT', + nextDay: '[T~ómó~rró~w át] LT', + nextWeek: 'dddd [át] LT', + lastDay: '[Ý~ést~érdá~ý át] LT', + lastWeek: '[L~ást] dddd [át] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'í~ñ %s', + past: '%s á~gó', + s: 'á ~féw ~sécó~ñds', + ss: '%d s~écóñ~ds', + m: 'á ~míñ~úté', + mm: '%d m~íñú~tés', + h: 'á~ñ hó~úr', + hh: '%d h~óúrs', + d: 'á ~dáý', + dd: '%d d~áýs', + M: 'á ~móñ~th', + MM: '%d m~óñt~hs', + y: 'á ~ýéár', + yy: '%d ý~éárs', + }, + dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, + ordinal: function (number) { + var b = number % 10, + output = + ~~((number % 100) / 10) === 1 + ? 'th' + : b === 1 + ? 'st' + : b === 2 + ? 'nd' + : b === 3 + ? 'rd' + : 'th'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/yo.js b/node_modules/moment/src/locale/yo.js new file mode 100644 index 0000000..2fcb6e4 --- /dev/null +++ b/node_modules/moment/src/locale/yo.js @@ -0,0 +1,53 @@ +//! moment.js locale configuration +//! locale : Yoruba Nigeria [yo] +//! author : Atolagbe Abisoye : https://github.com/andela-batolagbe + +import moment from '../moment'; + +export default moment.defineLocale('yo', { + months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split( + '_' + ), + monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'), + weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'), + weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'), + weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'), + longDateFormat: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A', + }, + calendar: { + sameDay: '[Ònì ni] LT', + nextDay: '[Ọ̀la ni] LT', + nextWeek: "dddd [Ọsẹ̀ tón'bọ] [ni] LT", + lastDay: '[Àna ni] LT', + lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'ní %s', + past: '%s kọjá', + s: 'ìsẹjú aayá die', + ss: 'aayá %d', + m: 'ìsẹjú kan', + mm: 'ìsẹjú %d', + h: 'wákati kan', + hh: 'wákati %d', + d: 'ọjọ́ kan', + dd: 'ọjọ́ %d', + M: 'osù kan', + MM: 'osù %d', + y: 'ọdún kan', + yy: 'ọdún %d', + }, + dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/, + ordinal: 'ọjọ́ %d', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/zh-cn.js b/node_modules/moment/src/locale/zh-cn.js new file mode 100644 index 0000000..2345ee6 --- /dev/null +++ b/node_modules/moment/src/locale/zh-cn.js @@ -0,0 +1,120 @@ +//! moment.js locale configuration +//! locale : Chinese (China) [zh-cn] +//! author : suupic : https://github.com/suupic +//! author : Zeno Zeng : https://github.com/zenozeng +//! author : uu109 : https://github.com/uu109 + +import moment from '../moment'; + +export default moment.defineLocale('zh-cn', { + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_' + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日Ah点mm分', + LLLL: 'YYYY年M月D日ddddAh点mm分', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm', + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } else { + // '中午' + return hour >= 11 ? hour : hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar: { + sameDay: '[今天]LT', + nextDay: '[明天]LT', + nextWeek: function (now) { + if (now.week() !== this.week()) { + return '[下]dddLT'; + } else { + return '[本]dddLT'; + } + }, + lastDay: '[昨天]LT', + lastWeek: function (now) { + if (this.week() !== now.week()) { + return '[上]dddLT'; + } else { + return '[本]dddLT'; + } + }, + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '周'; + default: + return number; + } + }, + relativeTime: { + future: '%s后', + past: '%s前', + s: '几秒', + ss: '%d 秒', + m: '1 分钟', + mm: '%d 分钟', + h: '1 小时', + hh: '%d 小时', + d: '1 天', + dd: '%d 天', + w: '1 周', + ww: '%d 周', + M: '1 个月', + MM: '%d 个月', + y: '1 年', + yy: '%d 年', + }, + week: { + // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效 + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, +}); diff --git a/node_modules/moment/src/locale/zh-hk.js b/node_modules/moment/src/locale/zh-hk.js new file mode 100644 index 0000000..78a1019 --- /dev/null +++ b/node_modules/moment/src/locale/zh-hk.js @@ -0,0 +1,101 @@ +//! moment.js locale configuration +//! locale : Chinese (Hong Kong) [zh-hk] +//! author : Ben : https://github.com/ben-lin +//! author : Chris Lam : https://github.com/hehachris +//! author : Konstantin : https://github.com/skfd +//! author : Anthony : https://github.com/anthonylau + +import moment from '../moment'; + +export default moment.defineLocale('zh-hk', { + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_' + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日dddd HH:mm', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm', + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '中午') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1200) { + return '上午'; + } else if (hm === 1200) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar: { + sameDay: '[今天]LT', + nextDay: '[明天]LT', + nextWeek: '[下]ddddLT', + lastDay: '[昨天]LT', + lastWeek: '[上]ddddLT', + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '週'; + default: + return number; + } + }, + relativeTime: { + future: '%s後', + past: '%s前', + s: '幾秒', + ss: '%d 秒', + m: '1 分鐘', + mm: '%d 分鐘', + h: '1 小時', + hh: '%d 小時', + d: '1 天', + dd: '%d 天', + M: '1 個月', + MM: '%d 個月', + y: '1 年', + yy: '%d 年', + }, +}); diff --git a/node_modules/moment/src/locale/zh-mo.js b/node_modules/moment/src/locale/zh-mo.js new file mode 100644 index 0000000..9ed795d --- /dev/null +++ b/node_modules/moment/src/locale/zh-mo.js @@ -0,0 +1,100 @@ +//! moment.js locale configuration +//! locale : Chinese (Macau) [zh-mo] +//! author : Ben : https://github.com/ben-lin +//! author : Chris Lam : https://github.com/hehachris +//! author : Tan Yuanhong : https://github.com/le0tan + +import moment from '../moment'; + +export default moment.defineLocale('zh-mo', { + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_' + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日dddd HH:mm', + l: 'D/M/YYYY', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm', + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '中午') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar: { + sameDay: '[今天] LT', + nextDay: '[明天] LT', + nextWeek: '[下]dddd LT', + lastDay: '[昨天] LT', + lastWeek: '[上]dddd LT', + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '週'; + default: + return number; + } + }, + relativeTime: { + future: '%s內', + past: '%s前', + s: '幾秒', + ss: '%d 秒', + m: '1 分鐘', + mm: '%d 分鐘', + h: '1 小時', + hh: '%d 小時', + d: '1 天', + dd: '%d 天', + M: '1 個月', + MM: '%d 個月', + y: '1 年', + yy: '%d 年', + }, +}); diff --git a/node_modules/moment/src/locale/zh-tw.js b/node_modules/moment/src/locale/zh-tw.js new file mode 100644 index 0000000..aa98ab1 --- /dev/null +++ b/node_modules/moment/src/locale/zh-tw.js @@ -0,0 +1,99 @@ +//! moment.js locale configuration +//! locale : Chinese (Taiwan) [zh-tw] +//! author : Ben : https://github.com/ben-lin +//! author : Chris Lam : https://github.com/hehachris + +import moment from '../moment'; + +export default moment.defineLocale('zh-tw', { + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_' + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_' + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日dddd HH:mm', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm', + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '中午') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar: { + sameDay: '[今天] LT', + nextDay: '[明天] LT', + nextWeek: '[下]dddd LT', + lastDay: '[昨天] LT', + lastWeek: '[上]dddd LT', + sameElse: 'L', + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, + ordinal: function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '週'; + default: + return number; + } + }, + relativeTime: { + future: '%s後', + past: '%s前', + s: '幾秒', + ss: '%d 秒', + m: '1 分鐘', + mm: '%d 分鐘', + h: '1 小時', + hh: '%d 小時', + d: '1 天', + dd: '%d 天', + M: '1 個月', + MM: '%d 個月', + y: '1 年', + yy: '%d 年', + }, +}); diff --git a/node_modules/moment/src/moment.js b/node_modules/moment/src/moment.js new file mode 100644 index 0000000..f2ec350 --- /dev/null +++ b/node_modules/moment/src/moment.js @@ -0,0 +1,93 @@ +//! moment.js +//! version : 2.30.1 +//! authors : Tim Wood, Iskren Chernev, Moment.js contributors +//! license : MIT +//! momentjs.com + +import { hooks as moment, setHookCallback } from './lib/utils/hooks'; + +moment.version = '2.30.1'; + +import { + min, + max, + now, + isMoment, + momentPrototype as fn, + createUTC as utc, + createUnix as unix, + createLocal as local, + createInvalid as invalid, + createInZone as parseZone, +} from './lib/moment/moment'; + +import { getCalendarFormat } from './lib/moment/calendar'; + +import { + defineLocale, + updateLocale, + getSetGlobalLocale as locale, + getLocale as localeData, + listLocales as locales, + listMonths as months, + listMonthsShort as monthsShort, + listWeekdays as weekdays, + listWeekdaysMin as weekdaysMin, + listWeekdaysShort as weekdaysShort, +} from './lib/locale/locale'; + +import { + isDuration, + createDuration as duration, + getSetRelativeTimeRounding as relativeTimeRounding, + getSetRelativeTimeThreshold as relativeTimeThreshold, +} from './lib/duration/duration'; + +import { normalizeUnits } from './lib/units/units'; + +import isDate from './lib/utils/is-date'; + +setHookCallback(local); + +moment.fn = fn; +moment.min = min; +moment.max = max; +moment.now = now; +moment.utc = utc; +moment.unix = unix; +moment.months = months; +moment.isDate = isDate; +moment.locale = locale; +moment.invalid = invalid; +moment.duration = duration; +moment.isMoment = isMoment; +moment.weekdays = weekdays; +moment.parseZone = parseZone; +moment.localeData = localeData; +moment.isDuration = isDuration; +moment.monthsShort = monthsShort; +moment.weekdaysMin = weekdaysMin; +moment.defineLocale = defineLocale; +moment.updateLocale = updateLocale; +moment.locales = locales; +moment.weekdaysShort = weekdaysShort; +moment.normalizeUnits = normalizeUnits; +moment.relativeTimeRounding = relativeTimeRounding; +moment.relativeTimeThreshold = relativeTimeThreshold; +moment.calendarFormat = getCalendarFormat; +moment.prototype = fn; + +// currently HTML5 input type only supports 24-hour formats +moment.HTML5_FMT = { + DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', // + DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', // + DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', // + DATE: 'YYYY-MM-DD', // + TIME: 'HH:mm', // + TIME_SECONDS: 'HH:mm:ss', // + TIME_MS: 'HH:mm:ss.SSS', // + WEEK: 'GGGG-[W]WW', // + MONTH: 'YYYY-MM', // +}; + +export default moment; diff --git a/node_modules/moment/ts3.1-typings/moment.d.ts b/node_modules/moment/ts3.1-typings/moment.d.ts new file mode 100644 index 0000000..51fe8c2 --- /dev/null +++ b/node_modules/moment/ts3.1-typings/moment.d.ts @@ -0,0 +1,785 @@ +/** + * @param strict Strict parsing disables the deprecated fallback to the native Date constructor when + * parsing a string. + */ +declare function moment(inp?: moment.MomentInput, strict?: boolean): moment.Moment; +/** + * @param strict Strict parsing requires that the format and input match exactly, including delimiters. + * Strict parsing is frequently the best parsing option. For more information about choosing strict vs + * forgiving parsing, see the [parsing guide](https://momentjs.com/guides/#/parsing/). + */ +declare function moment(inp?: moment.MomentInput, format?: moment.MomentFormatSpecification, strict?: boolean): moment.Moment; +/** + * @param strict Strict parsing requires that the format and input match exactly, including delimiters. + * Strict parsing is frequently the best parsing option. For more information about choosing strict vs + * forgiving parsing, see the [parsing guide](https://momentjs.com/guides/#/parsing/). + */ +declare function moment(inp?: moment.MomentInput, format?: moment.MomentFormatSpecification, language?: string, strict?: boolean): moment.Moment; + +declare namespace moment { + type RelativeTimeKey = 's' | 'ss' | 'm' | 'mm' | 'h' | 'hh' | 'd' | 'dd' | 'w' | 'ww' | 'M' | 'MM' | 'y' | 'yy'; + type CalendarKey = 'sameDay' | 'nextDay' | 'lastDay' | 'nextWeek' | 'lastWeek' | 'sameElse' | string; + type LongDateFormatKey = 'LTS' | 'LT' | 'L' | 'LL' | 'LLL' | 'LLLL' | 'lts' | 'lt' | 'l' | 'll' | 'lll' | 'llll'; + + interface Locale { + calendar(key?: CalendarKey, m?: Moment, now?: Moment): string; + + longDateFormat(key: LongDateFormatKey): string; + invalidDate(): string; + ordinal(n: number): string; + + preparse(inp: string): string; + postformat(inp: string): string; + relativeTime(n: number, withoutSuffix: boolean, + key: RelativeTimeKey, isFuture: boolean): string; + pastFuture(diff: number, absRelTime: string): string; + set(config: Object): void; + + months(): string[]; + months(m: Moment, format?: string): string; + monthsShort(): string[]; + monthsShort(m: Moment, format?: string): string; + monthsParse(monthName: string, format: string, strict: boolean): number; + monthsRegex(strict: boolean): RegExp; + monthsShortRegex(strict: boolean): RegExp; + + week(m: Moment): number; + firstDayOfYear(): number; + firstDayOfWeek(): number; + + weekdays(): string[]; + weekdays(m: Moment, format?: string): string; + weekdaysMin(): string[]; + weekdaysMin(m: Moment): string; + weekdaysShort(): string[]; + weekdaysShort(m: Moment): string; + weekdaysParse(weekdayName: string, format: string, strict: boolean): number; + weekdaysRegex(strict: boolean): RegExp; + weekdaysShortRegex(strict: boolean): RegExp; + weekdaysMinRegex(strict: boolean): RegExp; + + isPM(input: string): boolean; + meridiem(hour: number, minute: number, isLower: boolean): string; + } + + interface StandaloneFormatSpec { + format: string[]; + standalone: string[]; + isFormat?: RegExp; + } + + interface WeekSpec { + dow: number; + doy?: number; + } + + type CalendarSpecVal = string | ((m?: MomentInput, now?: Moment) => string); + interface CalendarSpec { + sameDay?: CalendarSpecVal; + nextDay?: CalendarSpecVal; + lastDay?: CalendarSpecVal; + nextWeek?: CalendarSpecVal; + lastWeek?: CalendarSpecVal; + sameElse?: CalendarSpecVal; + + // any additional properties might be used with moment.calendarFormat + [x: string]: CalendarSpecVal | undefined; + } + + type RelativeTimeSpecVal = ( + string | + ((n: number, withoutSuffix: boolean, + key: RelativeTimeKey, isFuture: boolean) => string) + ); + type RelativeTimeFuturePastVal = string | ((relTime: string) => string); + + interface RelativeTimeSpec { + future?: RelativeTimeFuturePastVal; + past?: RelativeTimeFuturePastVal; + s?: RelativeTimeSpecVal; + ss?: RelativeTimeSpecVal; + m?: RelativeTimeSpecVal; + mm?: RelativeTimeSpecVal; + h?: RelativeTimeSpecVal; + hh?: RelativeTimeSpecVal; + d?: RelativeTimeSpecVal; + dd?: RelativeTimeSpecVal; + w?: RelativeTimeSpecVal; + ww?: RelativeTimeSpecVal; + M?: RelativeTimeSpecVal; + MM?: RelativeTimeSpecVal; + y?: RelativeTimeSpecVal; + yy?: RelativeTimeSpecVal; + } + + interface LongDateFormatSpec { + LTS: string; + LT: string; + L: string; + LL: string; + LLL: string; + LLLL: string; + + // lets forget for a sec that any upper/lower permutation will also work + lts?: string; + lt?: string; + l?: string; + ll?: string; + lll?: string; + llll?: string; + } + + type MonthWeekdayFn = (momentToFormat: Moment, format?: string) => string; + type WeekdaySimpleFn = (momentToFormat: Moment) => string; + + interface LocaleSpecification { + months?: string[] | StandaloneFormatSpec | MonthWeekdayFn; + monthsShort?: string[] | StandaloneFormatSpec | MonthWeekdayFn; + + weekdays?: string[] | StandaloneFormatSpec | MonthWeekdayFn; + weekdaysShort?: string[] | StandaloneFormatSpec | WeekdaySimpleFn; + weekdaysMin?: string[] | StandaloneFormatSpec | WeekdaySimpleFn; + + meridiemParse?: RegExp; + meridiem?: (hour: number, minute:number, isLower: boolean) => string; + + isPM?: (input: string) => boolean; + + longDateFormat?: LongDateFormatSpec; + calendar?: CalendarSpec; + relativeTime?: RelativeTimeSpec; + invalidDate?: string; + ordinal?: (n: number) => string; + ordinalParse?: RegExp; + + week?: WeekSpec; + + // Allow anything: in general any property that is passed as locale spec is + // put in the locale object so it can be used by locale functions + [x: string]: any; + } + + interface MomentObjectOutput { + years: number; + /* One digit */ + months: number; + /* Day of the month */ + date: number; + hours: number; + minutes: number; + seconds: number; + milliseconds: number; + } + interface argThresholdOpts { + ss?: number; + s?: number; + m?: number; + h?: number; + d?: number; + w?: number | null; + M?: number; + } + + interface Duration { + clone(): Duration; + + humanize(argWithSuffix?: boolean, argThresholds?: argThresholdOpts): string; + + humanize(argThresholds?: argThresholdOpts): string; + + abs(): Duration; + + as(units: unitOfTime.Base): number; + get(units: unitOfTime.Base): number; + + milliseconds(): number; + asMilliseconds(): number; + + seconds(): number; + asSeconds(): number; + + minutes(): number; + asMinutes(): number; + + hours(): number; + asHours(): number; + + days(): number; + asDays(): number; + + weeks(): number; + asWeeks(): number; + + months(): number; + asMonths(): number; + + years(): number; + asYears(): number; + + add(inp?: DurationInputArg1, unit?: DurationInputArg2): Duration; + subtract(inp?: DurationInputArg1, unit?: DurationInputArg2): Duration; + + locale(): string; + locale(locale: LocaleSpecifier): Duration; + localeData(): Locale; + + toISOString(): string; + toJSON(): string; + + isValid(): boolean; + + /** + * @deprecated since version 2.8.0 + */ + lang(locale: LocaleSpecifier): Moment; + /** + * @deprecated since version 2.8.0 + */ + lang(): Locale; + /** + * @deprecated + */ + toIsoString(): string; + } + + interface MomentRelativeTime { + future: any; + past: any; + s: any; + ss: any; + m: any; + mm: any; + h: any; + hh: any; + d: any; + dd: any; + M: any; + MM: any; + y: any; + yy: any; + } + + interface MomentLongDateFormat { + L: string; + LL: string; + LLL: string; + LLLL: string; + LT: string; + LTS: string; + + l?: string; + ll?: string; + lll?: string; + llll?: string; + lt?: string; + lts?: string; + } + + interface MomentParsingFlags { + empty: boolean; + unusedTokens: string[]; + unusedInput: string[]; + overflow: number; + charsLeftOver: number; + nullInput: boolean; + invalidMonth: string | null; + invalidFormat: boolean; + userInvalidated: boolean; + iso: boolean; + parsedDateParts: any[]; + meridiem: string | null; + } + + interface MomentParsingFlagsOpt { + empty?: boolean; + unusedTokens?: string[]; + unusedInput?: string[]; + overflow?: number; + charsLeftOver?: number; + nullInput?: boolean; + invalidMonth?: string; + invalidFormat?: boolean; + userInvalidated?: boolean; + iso?: boolean; + parsedDateParts?: any[]; + meridiem?: string | null; + } + + interface MomentBuiltinFormat { + __momentBuiltinFormatBrand: any; + } + + type MomentFormatSpecification = string | MomentBuiltinFormat | (string | MomentBuiltinFormat)[]; + + namespace unitOfTime { + type Base = ( + "year" | "years" | "y" | + "month" | "months" | "M" | + "week" | "weeks" | "w" | + "day" | "days" | "d" | + "hour" | "hours" | "h" | + "minute" | "minutes" | "m" | + "second" | "seconds" | "s" | + "millisecond" | "milliseconds" | "ms" + ); + + type _quarter = "quarter" | "quarters" | "Q"; + type _isoWeek = "isoWeek" | "isoWeeks" | "W"; + type _date = "date" | "dates" | "D"; + type DurationConstructor = Base | _quarter; + + type DurationAs = Base; + + type StartOf = Base | _quarter | _isoWeek | _date | null; + + type Diff = Base | _quarter; + + type MomentConstructor = Base | _date; + + type All = Base | _quarter | _isoWeek | _date | + "weekYear" | "weekYears" | "gg" | + "isoWeekYear" | "isoWeekYears" | "GG" | + "dayOfYear" | "dayOfYears" | "DDD" | + "weekday" | "weekdays" | "e" | + "isoWeekday" | "isoWeekdays" | "E"; + } + + interface MomentInputObject { + years?: number; + year?: number; + y?: number; + + months?: number; + month?: number; + M?: number; + + days?: number; + day?: number; + d?: number; + + dates?: number; + date?: number; + D?: number; + + hours?: number; + hour?: number; + h?: number; + + minutes?: number; + minute?: number; + m?: number; + + seconds?: number; + second?: number; + s?: number; + + milliseconds?: number; + millisecond?: number; + ms?: number; + } + + interface DurationInputObject extends MomentInputObject { + quarters?: number; + quarter?: number; + Q?: number; + + weeks?: number; + week?: number; + w?: number; + } + + interface MomentSetObject extends MomentInputObject { + weekYears?: number; + weekYear?: number; + gg?: number; + + isoWeekYears?: number; + isoWeekYear?: number; + GG?: number; + + quarters?: number; + quarter?: number; + Q?: number; + + weeks?: number; + week?: number; + w?: number; + + isoWeeks?: number; + isoWeek?: number; + W?: number; + + dayOfYears?: number; + dayOfYear?: number; + DDD?: number; + + weekdays?: number; + weekday?: number; + e?: number; + + isoWeekdays?: number; + isoWeekday?: number; + E?: number; + } + + interface FromTo { + from: MomentInput; + to: MomentInput; + } + + type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | null | undefined; + type DurationInputArg1 = Duration | number | string | FromTo | DurationInputObject | null | undefined; + type DurationInputArg2 = unitOfTime.DurationConstructor; + type LocaleSpecifier = string | Moment | Duration | string[] | boolean; + + interface MomentCreationData { + input: MomentInput; + format?: MomentFormatSpecification; + locale: Locale; + isUTC: boolean; + strict?: boolean; + } + + interface Moment extends Object { + format(format?: string): string; + + startOf(unitOfTime: unitOfTime.StartOf): Moment; + endOf(unitOfTime: unitOfTime.StartOf): Moment; + + add(amount?: DurationInputArg1, unit?: DurationInputArg2): Moment; + /** + * @deprecated reverse syntax + */ + add(unit: unitOfTime.DurationConstructor, amount: number|string): Moment; + + subtract(amount?: DurationInputArg1, unit?: DurationInputArg2): Moment; + /** + * @deprecated reverse syntax + */ + subtract(unit: unitOfTime.DurationConstructor, amount: number|string): Moment; + + calendar(): string; + calendar(formats: CalendarSpec): string; + calendar(time?: MomentInput, formats?: CalendarSpec): string; + + clone(): Moment; + + /** + * @return Unix timestamp in milliseconds + */ + valueOf(): number; + + // current date/time in local mode + local(keepLocalTime?: boolean): Moment; + isLocal(): boolean; + + // current date/time in UTC mode + utc(keepLocalTime?: boolean): Moment; + isUTC(): boolean; + /** + * @deprecated use isUTC + */ + isUtc(): boolean; + + parseZone(): Moment; + isValid(): boolean; + invalidAt(): number; + + hasAlignedHourOffset(other?: MomentInput): boolean; + + creationData(): MomentCreationData; + parsingFlags(): MomentParsingFlags; + + year(y: number): Moment; + year(): number; + /** + * @deprecated use year(y) + */ + years(y: number): Moment; + /** + * @deprecated use year() + */ + years(): number; + quarter(): number; + quarter(q: number): Moment; + quarters(): number; + quarters(q: number): Moment; + month(M: number|string): Moment; + month(): number; + /** + * @deprecated use month(M) + */ + months(M: number|string): Moment; + /** + * @deprecated use month() + */ + months(): number; + day(d: number|string): Moment; + day(): number; + days(d: number|string): Moment; + days(): number; + date(d: number): Moment; + date(): number; + /** + * @deprecated use date(d) + */ + dates(d: number): Moment; + /** + * @deprecated use date() + */ + dates(): number; + hour(h: number): Moment; + hour(): number; + hours(h: number): Moment; + hours(): number; + minute(m: number): Moment; + minute(): number; + minutes(m: number): Moment; + minutes(): number; + second(s: number): Moment; + second(): number; + seconds(s: number): Moment; + seconds(): number; + millisecond(ms: number): Moment; + millisecond(): number; + milliseconds(ms: number): Moment; + milliseconds(): number; + weekday(): number; + weekday(d: number): Moment; + isoWeekday(): number; + isoWeekday(d: number|string): Moment; + weekYear(): number; + weekYear(d: number): Moment; + isoWeekYear(): number; + isoWeekYear(d: number): Moment; + week(): number; + week(d: number): Moment; + weeks(): number; + weeks(d: number): Moment; + isoWeek(): number; + isoWeek(d: number): Moment; + isoWeeks(): number; + isoWeeks(d: number): Moment; + weeksInYear(): number; + isoWeeksInYear(): number; + isoWeeksInISOWeekYear(): number; + dayOfYear(): number; + dayOfYear(d: number): Moment; + + from(inp: MomentInput, suffix?: boolean): string; + to(inp: MomentInput, suffix?: boolean): string; + fromNow(withoutSuffix?: boolean): string; + toNow(withoutPrefix?: boolean): string; + + diff(b: MomentInput, unitOfTime?: unitOfTime.Diff, precise?: boolean): number; + + toArray(): [number, number, number, number, number, number, number]; + toDate(): Date; + toISOString(keepOffset?: boolean): string; + inspect(): string; + toJSON(): string; + unix(): number; + + isLeapYear(): boolean; + /** + * @deprecated in favor of utcOffset + */ + zone(): number; + zone(b: number|string): Moment; + utcOffset(): number; + utcOffset(b: number|string, keepLocalTime?: boolean): Moment; + isUtcOffset(): boolean; + daysInMonth(): number; + isDST(): boolean; + + zoneAbbr(): string; + zoneName(): string; + + isBefore(inp?: MomentInput, granularity?: unitOfTime.StartOf): boolean; + isAfter(inp?: MomentInput, granularity?: unitOfTime.StartOf): boolean; + isSame(inp?: MomentInput, granularity?: unitOfTime.StartOf): boolean; + isSameOrAfter(inp?: MomentInput, granularity?: unitOfTime.StartOf): boolean; + isSameOrBefore(inp?: MomentInput, granularity?: unitOfTime.StartOf): boolean; + isBetween(a: MomentInput, b: MomentInput, granularity?: unitOfTime.StartOf, inclusivity?: "()" | "[)" | "(]" | "[]"): boolean; + + /** + * @deprecated as of 2.8.0, use locale + */ + lang(language: LocaleSpecifier): Moment; + /** + * @deprecated as of 2.8.0, use locale + */ + lang(): Locale; + + locale(): string; + locale(locale: LocaleSpecifier): Moment; + + localeData(): Locale; + + /** + * @deprecated no reliable implementation + */ + isDSTShifted(): boolean; + + // NOTE(constructor): Same as moment constructor + /** + * @deprecated as of 2.7.0, use moment.min/max + */ + max(inp?: MomentInput, format?: MomentFormatSpecification, strict?: boolean): Moment; + /** + * @deprecated as of 2.7.0, use moment.min/max + */ + max(inp?: MomentInput, format?: MomentFormatSpecification, language?: string, strict?: boolean): Moment; + + // NOTE(constructor): Same as moment constructor + /** + * @deprecated as of 2.7.0, use moment.min/max + */ + min(inp?: MomentInput, format?: MomentFormatSpecification, strict?: boolean): Moment; + /** + * @deprecated as of 2.7.0, use moment.min/max + */ + min(inp?: MomentInput, format?: MomentFormatSpecification, language?: string, strict?: boolean): Moment; + + get(unit: unitOfTime.All): number; + set(unit: unitOfTime.All, value: number): Moment; + set(objectLiteral: MomentSetObject): Moment; + + toObject(): MomentObjectOutput; + } + + export var version: string; + export var fn: Moment; + + // NOTE(constructor): Same as moment constructor + /** + * @param strict Strict parsing disables the deprecated fallback to the native Date constructor when + * parsing a string. + */ + export function utc(inp?: MomentInput, strict?: boolean): Moment; + /** + * @param strict Strict parsing requires that the format and input match exactly, including delimiters. + * Strict parsing is frequently the best parsing option. For more information about choosing strict vs + * forgiving parsing, see the [parsing guide](https://momentjs.com/guides/#/parsing/). + */ + export function utc(inp?: MomentInput, format?: MomentFormatSpecification, strict?: boolean): Moment; + /** + * @param strict Strict parsing requires that the format and input match exactly, including delimiters. + * Strict parsing is frequently the best parsing option. For more information about choosing strict vs + * forgiving parsing, see the [parsing guide](https://momentjs.com/guides/#/parsing/). + */ + export function utc(inp?: MomentInput, format?: MomentFormatSpecification, language?: string, strict?: boolean): Moment; + + export function unix(timestamp: number): Moment; + + export function invalid(flags?: MomentParsingFlagsOpt): Moment; + export function isMoment(m: any): m is Moment; + export function isDate(m: any): m is Date; + export function isDuration(d: any): d is Duration; + + /** + * @deprecated in 2.8.0 + */ + export function lang(language?: string): string; + /** + * @deprecated in 2.8.0 + */ + export function lang(language?: string, definition?: Locale): string; + + export function locale(language?: string): string; + export function locale(language?: string[]): string; + export function locale(language?: string, definition?: LocaleSpecification | null | undefined): string; + + export function localeData(key?: string | string[]): Locale; + + export function duration(inp?: DurationInputArg1, unit?: DurationInputArg2): Duration; + + // NOTE(constructor): Same as moment constructor + export function parseZone(inp?: MomentInput, format?: MomentFormatSpecification, strict?: boolean): Moment; + export function parseZone(inp?: MomentInput, format?: MomentFormatSpecification, language?: string, strict?: boolean): Moment; + + export function months(): string[]; + export function months(index: number): string; + export function months(format: string): string[]; + export function months(format: string, index: number): string; + export function monthsShort(): string[]; + export function monthsShort(index: number): string; + export function monthsShort(format: string): string[]; + export function monthsShort(format: string, index: number): string; + + export function weekdays(): string[]; + export function weekdays(index: number): string; + export function weekdays(format: string): string[]; + export function weekdays(format: string, index: number): string; + export function weekdays(localeSorted: boolean): string[]; + export function weekdays(localeSorted: boolean, index: number): string; + export function weekdays(localeSorted: boolean, format: string): string[]; + export function weekdays(localeSorted: boolean, format: string, index: number): string; + export function weekdaysShort(): string[]; + export function weekdaysShort(index: number): string; + export function weekdaysShort(format: string): string[]; + export function weekdaysShort(format: string, index: number): string; + export function weekdaysShort(localeSorted: boolean): string[]; + export function weekdaysShort(localeSorted: boolean, index: number): string; + export function weekdaysShort(localeSorted: boolean, format: string): string[]; + export function weekdaysShort(localeSorted: boolean, format: string, index: number): string; + export function weekdaysMin(): string[]; + export function weekdaysMin(index: number): string; + export function weekdaysMin(format: string): string[]; + export function weekdaysMin(format: string, index: number): string; + export function weekdaysMin(localeSorted: boolean): string[]; + export function weekdaysMin(localeSorted: boolean, index: number): string; + export function weekdaysMin(localeSorted: boolean, format: string): string[]; + export function weekdaysMin(localeSorted: boolean, format: string, index: number): string; + + export function min(moments: Moment[]): Moment; + export function min(...moments: Moment[]): Moment; + export function max(moments: Moment[]): Moment; + export function max(...moments: Moment[]): Moment; + + /** + * Returns unix time in milliseconds. Overwrite for profit. + */ + export function now(): number; + + export function defineLocale(language: string, localeSpec: LocaleSpecification | null): Locale; + export function updateLocale(language: string, localeSpec: LocaleSpecification | null): Locale; + + export function locales(): string[]; + + export function normalizeUnits(unit: unitOfTime.All): string; + export function relativeTimeThreshold(threshold: string): number | boolean; + export function relativeTimeThreshold(threshold: string, limit: number): boolean; + export function relativeTimeRounding(fn: (num: number) => number): boolean; + export function relativeTimeRounding(): (num: number) => number; + export function calendarFormat(m: Moment, now: Moment): string; + + export function parseTwoDigitYear(input: string): number; + /** + * Constant used to enable explicit ISO_8601 format parsing. + */ + export var ISO_8601: MomentBuiltinFormat; + export var RFC_2822: MomentBuiltinFormat; + + export var defaultFormat: string; + export var defaultFormatUtc: string; + + export var suppressDeprecationWarnings: boolean; + export var deprecationHandler: ((name: string | null, msg: string) => void) | null | undefined; + + export var HTML5_FMT: { + DATETIME_LOCAL: string, + DATETIME_LOCAL_SECONDS: string, + DATETIME_LOCAL_MS: string, + DATE: string, + TIME: string, + TIME_SECONDS: string, + TIME_MS: string, + WEEK: string, + MONTH: string + }; + +} + +export = moment; +export as namespace moment; diff --git a/node_modules/ms/index.js b/node_modules/ms/index.js new file mode 100644 index 0000000..6a522b1 --- /dev/null +++ b/node_modules/ms/index.js @@ -0,0 +1,152 @@ +/** + * Helpers. + */ + +var s = 1000; +var m = s * 60; +var h = m * 60; +var d = h * 24; +var y = d * 365.25; + +/** + * Parse or format the given `val`. + * + * Options: + * + * - `long` verbose formatting [false] + * + * @param {String|Number} val + * @param {Object} [options] + * @throws {Error} throw an error if val is not a non-empty string or a number + * @return {String|Number} + * @api public + */ + +module.exports = function(val, options) { + options = options || {}; + var type = typeof val; + if (type === 'string' && val.length > 0) { + return parse(val); + } else if (type === 'number' && isNaN(val) === false) { + return options.long ? fmtLong(val) : fmtShort(val); + } + throw new Error( + 'val is not a non-empty string or a valid number. val=' + + JSON.stringify(val) + ); +}; + +/** + * Parse the given `str` and return milliseconds. + * + * @param {String} str + * @return {Number} + * @api private + */ + +function parse(str) { + str = String(str); + if (str.length > 100) { + return; + } + var match = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec( + str + ); + if (!match) { + return; + } + var n = parseFloat(match[1]); + var type = (match[2] || 'ms').toLowerCase(); + switch (type) { + case 'years': + case 'year': + case 'yrs': + case 'yr': + case 'y': + return n * y; + case 'days': + case 'day': + case 'd': + return n * d; + case 'hours': + case 'hour': + case 'hrs': + case 'hr': + case 'h': + return n * h; + case 'minutes': + case 'minute': + case 'mins': + case 'min': + case 'm': + return n * m; + case 'seconds': + case 'second': + case 'secs': + case 'sec': + case 's': + return n * s; + case 'milliseconds': + case 'millisecond': + case 'msecs': + case 'msec': + case 'ms': + return n; + default: + return undefined; + } +} + +/** + * Short format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + +function fmtShort(ms) { + if (ms >= d) { + return Math.round(ms / d) + 'd'; + } + if (ms >= h) { + return Math.round(ms / h) + 'h'; + } + if (ms >= m) { + return Math.round(ms / m) + 'm'; + } + if (ms >= s) { + return Math.round(ms / s) + 's'; + } + return ms + 'ms'; +} + +/** + * Long format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + +function fmtLong(ms) { + return plural(ms, d, 'day') || + plural(ms, h, 'hour') || + plural(ms, m, 'minute') || + plural(ms, s, 'second') || + ms + ' ms'; +} + +/** + * Pluralization helper. + */ + +function plural(ms, n, name) { + if (ms < n) { + return; + } + if (ms < n * 1.5) { + return Math.floor(ms / n) + ' ' + name; + } + return Math.ceil(ms / n) + ' ' + name + 's'; +} diff --git a/node_modules/ms/license.md b/node_modules/ms/license.md new file mode 100644 index 0000000..69b6125 --- /dev/null +++ b/node_modules/ms/license.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Zeit, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/ms/package.json b/node_modules/ms/package.json new file mode 100644 index 0000000..6a31c81 --- /dev/null +++ b/node_modules/ms/package.json @@ -0,0 +1,37 @@ +{ + "name": "ms", + "version": "2.0.0", + "description": "Tiny milisecond conversion utility", + "repository": "zeit/ms", + "main": "./index", + "files": [ + "index.js" + ], + "scripts": { + "precommit": "lint-staged", + "lint": "eslint lib/* bin/*", + "test": "mocha tests.js" + }, + "eslintConfig": { + "extends": "eslint:recommended", + "env": { + "node": true, + "es6": true + } + }, + "lint-staged": { + "*.js": [ + "npm run lint", + "prettier --single-quote --write", + "git add" + ] + }, + "license": "MIT", + "devDependencies": { + "eslint": "3.19.0", + "expect.js": "0.3.1", + "husky": "0.13.3", + "lint-staged": "3.4.1", + "mocha": "3.4.1" + } +} diff --git a/node_modules/ms/readme.md b/node_modules/ms/readme.md new file mode 100644 index 0000000..84a9974 --- /dev/null +++ b/node_modules/ms/readme.md @@ -0,0 +1,51 @@ +# ms + +[![Build Status](https://travis-ci.org/zeit/ms.svg?branch=master)](https://travis-ci.org/zeit/ms) +[![Slack Channel](http://zeit-slackin.now.sh/badge.svg)](https://zeit.chat/) + +Use this package to easily convert various time formats to milliseconds. + +## Examples + +```js +ms('2 days') // 172800000 +ms('1d') // 86400000 +ms('10h') // 36000000 +ms('2.5 hrs') // 9000000 +ms('2h') // 7200000 +ms('1m') // 60000 +ms('5s') // 5000 +ms('1y') // 31557600000 +ms('100') // 100 +``` + +### Convert from milliseconds + +```js +ms(60000) // "1m" +ms(2 * 60000) // "2m" +ms(ms('10 hours')) // "10h" +``` + +### Time format written-out + +```js +ms(60000, { long: true }) // "1 minute" +ms(2 * 60000, { long: true }) // "2 minutes" +ms(ms('10 hours'), { long: true }) // "10 hours" +``` + +## Features + +- Works both in [node](https://nodejs.org) and in the browser. +- If a number is supplied to `ms`, a string with a unit is returned. +- If a string that contains the number is supplied, it returns it as a number (e.g.: it returns `100` for `'100'`). +- If you pass a string with a number and a valid unit, the number of equivalent ms is returned. + +## Caught a bug? + +1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device +2. Link the package to the global module directory: `npm link` +3. Within the module you want to test your local development instance of ms, just link it to the dependencies: `npm link ms`. Instead of the default one from npm, node will now use your clone of ms! + +As always, you can run the tests using: `npm test` diff --git a/node_modules/negotiator/HISTORY.md b/node_modules/negotiator/HISTORY.md new file mode 100644 index 0000000..a9a5449 --- /dev/null +++ b/node_modules/negotiator/HISTORY.md @@ -0,0 +1,108 @@ +0.6.3 / 2022-01-22 +================== + + * Revert "Lazy-load modules from main entry point" + +0.6.2 / 2019-04-29 +================== + + * Fix sorting charset, encoding, and language with extra parameters + +0.6.1 / 2016-05-02 +================== + + * perf: improve `Accept` parsing speed + * perf: improve `Accept-Charset` parsing speed + * perf: improve `Accept-Encoding` parsing speed + * perf: improve `Accept-Language` parsing speed + +0.6.0 / 2015-09-29 +================== + + * Fix including type extensions in parameters in `Accept` parsing + * Fix parsing `Accept` parameters with quoted equals + * Fix parsing `Accept` parameters with quoted semicolons + * Lazy-load modules from main entry point + * perf: delay type concatenation until needed + * perf: enable strict mode + * perf: hoist regular expressions + * perf: remove closures getting spec properties + * perf: remove a closure from media type parsing + * perf: remove property delete from media type parsing + +0.5.3 / 2015-05-10 +================== + + * Fix media type parameter matching to be case-insensitive + +0.5.2 / 2015-05-06 +================== + + * Fix comparing media types with quoted values + * Fix splitting media types with quoted commas + +0.5.1 / 2015-02-14 +================== + + * Fix preference sorting to be stable for long acceptable lists + +0.5.0 / 2014-12-18 +================== + + * Fix list return order when large accepted list + * Fix missing identity encoding when q=0 exists + * Remove dynamic building of Negotiator class + +0.4.9 / 2014-10-14 +================== + + * Fix error when media type has invalid parameter + +0.4.8 / 2014-09-28 +================== + + * Fix all negotiations to be case-insensitive + * Stable sort preferences of same quality according to client order + * Support Node.js 0.6 + +0.4.7 / 2014-06-24 +================== + + * Handle invalid provided languages + * Handle invalid provided media types + +0.4.6 / 2014-06-11 +================== + + * Order by specificity when quality is the same + +0.4.5 / 2014-05-29 +================== + + * Fix regression in empty header handling + +0.4.4 / 2014-05-29 +================== + + * Fix behaviors when headers are not present + +0.4.3 / 2014-04-16 +================== + + * Handle slashes on media params correctly + +0.4.2 / 2014-02-28 +================== + + * Fix media type sorting + * Handle media types params strictly + +0.4.1 / 2014-01-16 +================== + + * Use most specific matches + +0.4.0 / 2014-01-09 +================== + + * Remove preferred prefix from methods diff --git a/node_modules/negotiator/LICENSE b/node_modules/negotiator/LICENSE new file mode 100644 index 0000000..ea6b9e2 --- /dev/null +++ b/node_modules/negotiator/LICENSE @@ -0,0 +1,24 @@ +(The MIT License) + +Copyright (c) 2012-2014 Federico Romero +Copyright (c) 2012-2014 Isaac Z. Schlueter +Copyright (c) 2014-2015 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/negotiator/README.md b/node_modules/negotiator/README.md new file mode 100644 index 0000000..82915e5 --- /dev/null +++ b/node_modules/negotiator/README.md @@ -0,0 +1,203 @@ +# negotiator + +[![NPM Version][npm-image]][npm-url] +[![NPM Downloads][downloads-image]][downloads-url] +[![Node.js Version][node-version-image]][node-version-url] +[![Build Status][github-actions-ci-image]][github-actions-ci-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +An HTTP content negotiator for Node.js + +## Installation + +```sh +$ npm install negotiator +``` + +## API + +```js +var Negotiator = require('negotiator') +``` + +### Accept Negotiation + +```js +availableMediaTypes = ['text/html', 'text/plain', 'application/json'] + +// The negotiator constructor receives a request object +negotiator = new Negotiator(request) + +// Let's say Accept header is 'text/html, application/*;q=0.2, image/jpeg;q=0.8' + +negotiator.mediaTypes() +// -> ['text/html', 'image/jpeg', 'application/*'] + +negotiator.mediaTypes(availableMediaTypes) +// -> ['text/html', 'application/json'] + +negotiator.mediaType(availableMediaTypes) +// -> 'text/html' +``` + +You can check a working example at `examples/accept.js`. + +#### Methods + +##### mediaType() + +Returns the most preferred media type from the client. + +##### mediaType(availableMediaType) + +Returns the most preferred media type from a list of available media types. + +##### mediaTypes() + +Returns an array of preferred media types ordered by the client preference. + +##### mediaTypes(availableMediaTypes) + +Returns an array of preferred media types ordered by priority from a list of +available media types. + +### Accept-Language Negotiation + +```js +negotiator = new Negotiator(request) + +availableLanguages = ['en', 'es', 'fr'] + +// Let's say Accept-Language header is 'en;q=0.8, es, pt' + +negotiator.languages() +// -> ['es', 'pt', 'en'] + +negotiator.languages(availableLanguages) +// -> ['es', 'en'] + +language = negotiator.language(availableLanguages) +// -> 'es' +``` + +You can check a working example at `examples/language.js`. + +#### Methods + +##### language() + +Returns the most preferred language from the client. + +##### language(availableLanguages) + +Returns the most preferred language from a list of available languages. + +##### languages() + +Returns an array of preferred languages ordered by the client preference. + +##### languages(availableLanguages) + +Returns an array of preferred languages ordered by priority from a list of +available languages. + +### Accept-Charset Negotiation + +```js +availableCharsets = ['utf-8', 'iso-8859-1', 'iso-8859-5'] + +negotiator = new Negotiator(request) + +// Let's say Accept-Charset header is 'utf-8, iso-8859-1;q=0.8, utf-7;q=0.2' + +negotiator.charsets() +// -> ['utf-8', 'iso-8859-1', 'utf-7'] + +negotiator.charsets(availableCharsets) +// -> ['utf-8', 'iso-8859-1'] + +negotiator.charset(availableCharsets) +// -> 'utf-8' +``` + +You can check a working example at `examples/charset.js`. + +#### Methods + +##### charset() + +Returns the most preferred charset from the client. + +##### charset(availableCharsets) + +Returns the most preferred charset from a list of available charsets. + +##### charsets() + +Returns an array of preferred charsets ordered by the client preference. + +##### charsets(availableCharsets) + +Returns an array of preferred charsets ordered by priority from a list of +available charsets. + +### Accept-Encoding Negotiation + +```js +availableEncodings = ['identity', 'gzip'] + +negotiator = new Negotiator(request) + +// Let's say Accept-Encoding header is 'gzip, compress;q=0.2, identity;q=0.5' + +negotiator.encodings() +// -> ['gzip', 'identity', 'compress'] + +negotiator.encodings(availableEncodings) +// -> ['gzip', 'identity'] + +negotiator.encoding(availableEncodings) +// -> 'gzip' +``` + +You can check a working example at `examples/encoding.js`. + +#### Methods + +##### encoding() + +Returns the most preferred encoding from the client. + +##### encoding(availableEncodings) + +Returns the most preferred encoding from a list of available encodings. + +##### encodings() + +Returns an array of preferred encodings ordered by the client preference. + +##### encodings(availableEncodings) + +Returns an array of preferred encodings ordered by priority from a list of +available encodings. + +## See Also + +The [accepts](https://npmjs.org/package/accepts#readme) module builds on +this module and provides an alternative interface, mime type validation, +and more. + +## License + +[MIT](LICENSE) + +[npm-image]: https://img.shields.io/npm/v/negotiator.svg +[npm-url]: https://npmjs.org/package/negotiator +[node-version-image]: https://img.shields.io/node/v/negotiator.svg +[node-version-url]: https://nodejs.org/en/download/ +[coveralls-image]: https://img.shields.io/coveralls/jshttp/negotiator/master.svg +[coveralls-url]: https://coveralls.io/r/jshttp/negotiator?branch=master +[downloads-image]: https://img.shields.io/npm/dm/negotiator.svg +[downloads-url]: https://npmjs.org/package/negotiator +[github-actions-ci-image]: https://img.shields.io/github/workflow/status/jshttp/negotiator/ci/master?label=ci +[github-actions-ci-url]: https://github.com/jshttp/negotiator/actions/workflows/ci.yml diff --git a/node_modules/negotiator/index.js b/node_modules/negotiator/index.js new file mode 100644 index 0000000..4788264 --- /dev/null +++ b/node_modules/negotiator/index.js @@ -0,0 +1,82 @@ +/*! + * negotiator + * Copyright(c) 2012 Federico Romero + * Copyright(c) 2012-2014 Isaac Z. Schlueter + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict'; + +var preferredCharsets = require('./lib/charset') +var preferredEncodings = require('./lib/encoding') +var preferredLanguages = require('./lib/language') +var preferredMediaTypes = require('./lib/mediaType') + +/** + * Module exports. + * @public + */ + +module.exports = Negotiator; +module.exports.Negotiator = Negotiator; + +/** + * Create a Negotiator instance from a request. + * @param {object} request + * @public + */ + +function Negotiator(request) { + if (!(this instanceof Negotiator)) { + return new Negotiator(request); + } + + this.request = request; +} + +Negotiator.prototype.charset = function charset(available) { + var set = this.charsets(available); + return set && set[0]; +}; + +Negotiator.prototype.charsets = function charsets(available) { + return preferredCharsets(this.request.headers['accept-charset'], available); +}; + +Negotiator.prototype.encoding = function encoding(available) { + var set = this.encodings(available); + return set && set[0]; +}; + +Negotiator.prototype.encodings = function encodings(available) { + return preferredEncodings(this.request.headers['accept-encoding'], available); +}; + +Negotiator.prototype.language = function language(available) { + var set = this.languages(available); + return set && set[0]; +}; + +Negotiator.prototype.languages = function languages(available) { + return preferredLanguages(this.request.headers['accept-language'], available); +}; + +Negotiator.prototype.mediaType = function mediaType(available) { + var set = this.mediaTypes(available); + return set && set[0]; +}; + +Negotiator.prototype.mediaTypes = function mediaTypes(available) { + return preferredMediaTypes(this.request.headers.accept, available); +}; + +// Backwards compatibility +Negotiator.prototype.preferredCharset = Negotiator.prototype.charset; +Negotiator.prototype.preferredCharsets = Negotiator.prototype.charsets; +Negotiator.prototype.preferredEncoding = Negotiator.prototype.encoding; +Negotiator.prototype.preferredEncodings = Negotiator.prototype.encodings; +Negotiator.prototype.preferredLanguage = Negotiator.prototype.language; +Negotiator.prototype.preferredLanguages = Negotiator.prototype.languages; +Negotiator.prototype.preferredMediaType = Negotiator.prototype.mediaType; +Negotiator.prototype.preferredMediaTypes = Negotiator.prototype.mediaTypes; diff --git a/node_modules/negotiator/lib/charset.js b/node_modules/negotiator/lib/charset.js new file mode 100644 index 0000000..cdd0148 --- /dev/null +++ b/node_modules/negotiator/lib/charset.js @@ -0,0 +1,169 @@ +/** + * negotiator + * Copyright(c) 2012 Isaac Z. Schlueter + * Copyright(c) 2014 Federico Romero + * Copyright(c) 2014-2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict'; + +/** + * Module exports. + * @public + */ + +module.exports = preferredCharsets; +module.exports.preferredCharsets = preferredCharsets; + +/** + * Module variables. + * @private + */ + +var simpleCharsetRegExp = /^\s*([^\s;]+)\s*(?:;(.*))?$/; + +/** + * Parse the Accept-Charset header. + * @private + */ + +function parseAcceptCharset(accept) { + var accepts = accept.split(','); + + for (var i = 0, j = 0; i < accepts.length; i++) { + var charset = parseCharset(accepts[i].trim(), i); + + if (charset) { + accepts[j++] = charset; + } + } + + // trim accepts + accepts.length = j; + + return accepts; +} + +/** + * Parse a charset from the Accept-Charset header. + * @private + */ + +function parseCharset(str, i) { + var match = simpleCharsetRegExp.exec(str); + if (!match) return null; + + var charset = match[1]; + var q = 1; + if (match[2]) { + var params = match[2].split(';') + for (var j = 0; j < params.length; j++) { + var p = params[j].trim().split('='); + if (p[0] === 'q') { + q = parseFloat(p[1]); + break; + } + } + } + + return { + charset: charset, + q: q, + i: i + }; +} + +/** + * Get the priority of a charset. + * @private + */ + +function getCharsetPriority(charset, accepted, index) { + var priority = {o: -1, q: 0, s: 0}; + + for (var i = 0; i < accepted.length; i++) { + var spec = specify(charset, accepted[i], index); + + if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) { + priority = spec; + } + } + + return priority; +} + +/** + * Get the specificity of the charset. + * @private + */ + +function specify(charset, spec, index) { + var s = 0; + if(spec.charset.toLowerCase() === charset.toLowerCase()){ + s |= 1; + } else if (spec.charset !== '*' ) { + return null + } + + return { + i: index, + o: spec.i, + q: spec.q, + s: s + } +} + +/** + * Get the preferred charsets from an Accept-Charset header. + * @public + */ + +function preferredCharsets(accept, provided) { + // RFC 2616 sec 14.2: no header = * + var accepts = parseAcceptCharset(accept === undefined ? '*' : accept || ''); + + if (!provided) { + // sorted list of all charsets + return accepts + .filter(isQuality) + .sort(compareSpecs) + .map(getFullCharset); + } + + var priorities = provided.map(function getPriority(type, index) { + return getCharsetPriority(type, accepts, index); + }); + + // sorted list of accepted charsets + return priorities.filter(isQuality).sort(compareSpecs).map(function getCharset(priority) { + return provided[priorities.indexOf(priority)]; + }); +} + +/** + * Compare two specs. + * @private + */ + +function compareSpecs(a, b) { + return (b.q - a.q) || (b.s - a.s) || (a.o - b.o) || (a.i - b.i) || 0; +} + +/** + * Get full charset string. + * @private + */ + +function getFullCharset(spec) { + return spec.charset; +} + +/** + * Check if a spec has any quality. + * @private + */ + +function isQuality(spec) { + return spec.q > 0; +} diff --git a/node_modules/negotiator/lib/encoding.js b/node_modules/negotiator/lib/encoding.js new file mode 100644 index 0000000..8432cd7 --- /dev/null +++ b/node_modules/negotiator/lib/encoding.js @@ -0,0 +1,184 @@ +/** + * negotiator + * Copyright(c) 2012 Isaac Z. Schlueter + * Copyright(c) 2014 Federico Romero + * Copyright(c) 2014-2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict'; + +/** + * Module exports. + * @public + */ + +module.exports = preferredEncodings; +module.exports.preferredEncodings = preferredEncodings; + +/** + * Module variables. + * @private + */ + +var simpleEncodingRegExp = /^\s*([^\s;]+)\s*(?:;(.*))?$/; + +/** + * Parse the Accept-Encoding header. + * @private + */ + +function parseAcceptEncoding(accept) { + var accepts = accept.split(','); + var hasIdentity = false; + var minQuality = 1; + + for (var i = 0, j = 0; i < accepts.length; i++) { + var encoding = parseEncoding(accepts[i].trim(), i); + + if (encoding) { + accepts[j++] = encoding; + hasIdentity = hasIdentity || specify('identity', encoding); + minQuality = Math.min(minQuality, encoding.q || 1); + } + } + + if (!hasIdentity) { + /* + * If identity doesn't explicitly appear in the accept-encoding header, + * it's added to the list of acceptable encoding with the lowest q + */ + accepts[j++] = { + encoding: 'identity', + q: minQuality, + i: i + }; + } + + // trim accepts + accepts.length = j; + + return accepts; +} + +/** + * Parse an encoding from the Accept-Encoding header. + * @private + */ + +function parseEncoding(str, i) { + var match = simpleEncodingRegExp.exec(str); + if (!match) return null; + + var encoding = match[1]; + var q = 1; + if (match[2]) { + var params = match[2].split(';'); + for (var j = 0; j < params.length; j++) { + var p = params[j].trim().split('='); + if (p[0] === 'q') { + q = parseFloat(p[1]); + break; + } + } + } + + return { + encoding: encoding, + q: q, + i: i + }; +} + +/** + * Get the priority of an encoding. + * @private + */ + +function getEncodingPriority(encoding, accepted, index) { + var priority = {o: -1, q: 0, s: 0}; + + for (var i = 0; i < accepted.length; i++) { + var spec = specify(encoding, accepted[i], index); + + if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) { + priority = spec; + } + } + + return priority; +} + +/** + * Get the specificity of the encoding. + * @private + */ + +function specify(encoding, spec, index) { + var s = 0; + if(spec.encoding.toLowerCase() === encoding.toLowerCase()){ + s |= 1; + } else if (spec.encoding !== '*' ) { + return null + } + + return { + i: index, + o: spec.i, + q: spec.q, + s: s + } +}; + +/** + * Get the preferred encodings from an Accept-Encoding header. + * @public + */ + +function preferredEncodings(accept, provided) { + var accepts = parseAcceptEncoding(accept || ''); + + if (!provided) { + // sorted list of all encodings + return accepts + .filter(isQuality) + .sort(compareSpecs) + .map(getFullEncoding); + } + + var priorities = provided.map(function getPriority(type, index) { + return getEncodingPriority(type, accepts, index); + }); + + // sorted list of accepted encodings + return priorities.filter(isQuality).sort(compareSpecs).map(function getEncoding(priority) { + return provided[priorities.indexOf(priority)]; + }); +} + +/** + * Compare two specs. + * @private + */ + +function compareSpecs(a, b) { + return (b.q - a.q) || (b.s - a.s) || (a.o - b.o) || (a.i - b.i) || 0; +} + +/** + * Get full encoding string. + * @private + */ + +function getFullEncoding(spec) { + return spec.encoding; +} + +/** + * Check if a spec has any quality. + * @private + */ + +function isQuality(spec) { + return spec.q > 0; +} diff --git a/node_modules/negotiator/lib/language.js b/node_modules/negotiator/lib/language.js new file mode 100644 index 0000000..a231672 --- /dev/null +++ b/node_modules/negotiator/lib/language.js @@ -0,0 +1,179 @@ +/** + * negotiator + * Copyright(c) 2012 Isaac Z. Schlueter + * Copyright(c) 2014 Federico Romero + * Copyright(c) 2014-2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict'; + +/** + * Module exports. + * @public + */ + +module.exports = preferredLanguages; +module.exports.preferredLanguages = preferredLanguages; + +/** + * Module variables. + * @private + */ + +var simpleLanguageRegExp = /^\s*([^\s\-;]+)(?:-([^\s;]+))?\s*(?:;(.*))?$/; + +/** + * Parse the Accept-Language header. + * @private + */ + +function parseAcceptLanguage(accept) { + var accepts = accept.split(','); + + for (var i = 0, j = 0; i < accepts.length; i++) { + var language = parseLanguage(accepts[i].trim(), i); + + if (language) { + accepts[j++] = language; + } + } + + // trim accepts + accepts.length = j; + + return accepts; +} + +/** + * Parse a language from the Accept-Language header. + * @private + */ + +function parseLanguage(str, i) { + var match = simpleLanguageRegExp.exec(str); + if (!match) return null; + + var prefix = match[1] + var suffix = match[2] + var full = prefix + + if (suffix) full += "-" + suffix; + + var q = 1; + if (match[3]) { + var params = match[3].split(';') + for (var j = 0; j < params.length; j++) { + var p = params[j].split('='); + if (p[0] === 'q') q = parseFloat(p[1]); + } + } + + return { + prefix: prefix, + suffix: suffix, + q: q, + i: i, + full: full + }; +} + +/** + * Get the priority of a language. + * @private + */ + +function getLanguagePriority(language, accepted, index) { + var priority = {o: -1, q: 0, s: 0}; + + for (var i = 0; i < accepted.length; i++) { + var spec = specify(language, accepted[i], index); + + if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) { + priority = spec; + } + } + + return priority; +} + +/** + * Get the specificity of the language. + * @private + */ + +function specify(language, spec, index) { + var p = parseLanguage(language) + if (!p) return null; + var s = 0; + if(spec.full.toLowerCase() === p.full.toLowerCase()){ + s |= 4; + } else if (spec.prefix.toLowerCase() === p.full.toLowerCase()) { + s |= 2; + } else if (spec.full.toLowerCase() === p.prefix.toLowerCase()) { + s |= 1; + } else if (spec.full !== '*' ) { + return null + } + + return { + i: index, + o: spec.i, + q: spec.q, + s: s + } +}; + +/** + * Get the preferred languages from an Accept-Language header. + * @public + */ + +function preferredLanguages(accept, provided) { + // RFC 2616 sec 14.4: no header = * + var accepts = parseAcceptLanguage(accept === undefined ? '*' : accept || ''); + + if (!provided) { + // sorted list of all languages + return accepts + .filter(isQuality) + .sort(compareSpecs) + .map(getFullLanguage); + } + + var priorities = provided.map(function getPriority(type, index) { + return getLanguagePriority(type, accepts, index); + }); + + // sorted list of accepted languages + return priorities.filter(isQuality).sort(compareSpecs).map(function getLanguage(priority) { + return provided[priorities.indexOf(priority)]; + }); +} + +/** + * Compare two specs. + * @private + */ + +function compareSpecs(a, b) { + return (b.q - a.q) || (b.s - a.s) || (a.o - b.o) || (a.i - b.i) || 0; +} + +/** + * Get full language string. + * @private + */ + +function getFullLanguage(spec) { + return spec.full; +} + +/** + * Check if a spec has any quality. + * @private + */ + +function isQuality(spec) { + return spec.q > 0; +} diff --git a/node_modules/negotiator/lib/mediaType.js b/node_modules/negotiator/lib/mediaType.js new file mode 100644 index 0000000..67309dd --- /dev/null +++ b/node_modules/negotiator/lib/mediaType.js @@ -0,0 +1,294 @@ +/** + * negotiator + * Copyright(c) 2012 Isaac Z. Schlueter + * Copyright(c) 2014 Federico Romero + * Copyright(c) 2014-2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict'; + +/** + * Module exports. + * @public + */ + +module.exports = preferredMediaTypes; +module.exports.preferredMediaTypes = preferredMediaTypes; + +/** + * Module variables. + * @private + */ + +var simpleMediaTypeRegExp = /^\s*([^\s\/;]+)\/([^;\s]+)\s*(?:;(.*))?$/; + +/** + * Parse the Accept header. + * @private + */ + +function parseAccept(accept) { + var accepts = splitMediaTypes(accept); + + for (var i = 0, j = 0; i < accepts.length; i++) { + var mediaType = parseMediaType(accepts[i].trim(), i); + + if (mediaType) { + accepts[j++] = mediaType; + } + } + + // trim accepts + accepts.length = j; + + return accepts; +} + +/** + * Parse a media type from the Accept header. + * @private + */ + +function parseMediaType(str, i) { + var match = simpleMediaTypeRegExp.exec(str); + if (!match) return null; + + var params = Object.create(null); + var q = 1; + var subtype = match[2]; + var type = match[1]; + + if (match[3]) { + var kvps = splitParameters(match[3]).map(splitKeyValuePair); + + for (var j = 0; j < kvps.length; j++) { + var pair = kvps[j]; + var key = pair[0].toLowerCase(); + var val = pair[1]; + + // get the value, unwrapping quotes + var value = val && val[0] === '"' && val[val.length - 1] === '"' + ? val.substr(1, val.length - 2) + : val; + + if (key === 'q') { + q = parseFloat(value); + break; + } + + // store parameter + params[key] = value; + } + } + + return { + type: type, + subtype: subtype, + params: params, + q: q, + i: i + }; +} + +/** + * Get the priority of a media type. + * @private + */ + +function getMediaTypePriority(type, accepted, index) { + var priority = {o: -1, q: 0, s: 0}; + + for (var i = 0; i < accepted.length; i++) { + var spec = specify(type, accepted[i], index); + + if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) { + priority = spec; + } + } + + return priority; +} + +/** + * Get the specificity of the media type. + * @private + */ + +function specify(type, spec, index) { + var p = parseMediaType(type); + var s = 0; + + if (!p) { + return null; + } + + if(spec.type.toLowerCase() == p.type.toLowerCase()) { + s |= 4 + } else if(spec.type != '*') { + return null; + } + + if(spec.subtype.toLowerCase() == p.subtype.toLowerCase()) { + s |= 2 + } else if(spec.subtype != '*') { + return null; + } + + var keys = Object.keys(spec.params); + if (keys.length > 0) { + if (keys.every(function (k) { + return spec.params[k] == '*' || (spec.params[k] || '').toLowerCase() == (p.params[k] || '').toLowerCase(); + })) { + s |= 1 + } else { + return null + } + } + + return { + i: index, + o: spec.i, + q: spec.q, + s: s, + } +} + +/** + * Get the preferred media types from an Accept header. + * @public + */ + +function preferredMediaTypes(accept, provided) { + // RFC 2616 sec 14.2: no header = */* + var accepts = parseAccept(accept === undefined ? '*/*' : accept || ''); + + if (!provided) { + // sorted list of all types + return accepts + .filter(isQuality) + .sort(compareSpecs) + .map(getFullType); + } + + var priorities = provided.map(function getPriority(type, index) { + return getMediaTypePriority(type, accepts, index); + }); + + // sorted list of accepted types + return priorities.filter(isQuality).sort(compareSpecs).map(function getType(priority) { + return provided[priorities.indexOf(priority)]; + }); +} + +/** + * Compare two specs. + * @private + */ + +function compareSpecs(a, b) { + return (b.q - a.q) || (b.s - a.s) || (a.o - b.o) || (a.i - b.i) || 0; +} + +/** + * Get full type string. + * @private + */ + +function getFullType(spec) { + return spec.type + '/' + spec.subtype; +} + +/** + * Check if a spec has any quality. + * @private + */ + +function isQuality(spec) { + return spec.q > 0; +} + +/** + * Count the number of quotes in a string. + * @private + */ + +function quoteCount(string) { + var count = 0; + var index = 0; + + while ((index = string.indexOf('"', index)) !== -1) { + count++; + index++; + } + + return count; +} + +/** + * Split a key value pair. + * @private + */ + +function splitKeyValuePair(str) { + var index = str.indexOf('='); + var key; + var val; + + if (index === -1) { + key = str; + } else { + key = str.substr(0, index); + val = str.substr(index + 1); + } + + return [key, val]; +} + +/** + * Split an Accept header into media types. + * @private + */ + +function splitMediaTypes(accept) { + var accepts = accept.split(','); + + for (var i = 1, j = 0; i < accepts.length; i++) { + if (quoteCount(accepts[j]) % 2 == 0) { + accepts[++j] = accepts[i]; + } else { + accepts[j] += ',' + accepts[i]; + } + } + + // trim accepts + accepts.length = j + 1; + + return accepts; +} + +/** + * Split a string of parameters. + * @private + */ + +function splitParameters(str) { + var parameters = str.split(';'); + + for (var i = 1, j = 0; i < parameters.length; i++) { + if (quoteCount(parameters[j]) % 2 == 0) { + parameters[++j] = parameters[i]; + } else { + parameters[j] += ';' + parameters[i]; + } + } + + // trim parameters + parameters.length = j + 1; + + for (var i = 0; i < parameters.length; i++) { + parameters[i] = parameters[i].trim(); + } + + return parameters; +} diff --git a/node_modules/negotiator/package.json b/node_modules/negotiator/package.json new file mode 100644 index 0000000..297635f --- /dev/null +++ b/node_modules/negotiator/package.json @@ -0,0 +1,42 @@ +{ + "name": "negotiator", + "description": "HTTP content negotiation", + "version": "0.6.3", + "contributors": [ + "Douglas Christopher Wilson ", + "Federico Romero ", + "Isaac Z. Schlueter (http://blog.izs.me/)" + ], + "license": "MIT", + "keywords": [ + "http", + "content negotiation", + "accept", + "accept-language", + "accept-encoding", + "accept-charset" + ], + "repository": "jshttp/negotiator", + "devDependencies": { + "eslint": "7.32.0", + "eslint-plugin-markdown": "2.2.1", + "mocha": "9.1.3", + "nyc": "15.1.0" + }, + "files": [ + "lib/", + "HISTORY.md", + "LICENSE", + "index.js", + "README.md" + ], + "engines": { + "node": ">= 0.6" + }, + "scripts": { + "lint": "eslint .", + "test": "mocha --reporter spec --check-leaks --bail test/", + "test-ci": "nyc --reporter=lcov --reporter=text npm test", + "test-cov": "nyc --reporter=html --reporter=text npm test" + } +} diff --git a/node_modules/object-assign/index.js b/node_modules/object-assign/index.js new file mode 100644 index 0000000..0930cf8 --- /dev/null +++ b/node_modules/object-assign/index.js @@ -0,0 +1,90 @@ +/* +object-assign +(c) Sindre Sorhus +@license MIT +*/ + +'use strict'; +/* eslint-disable no-unused-vars */ +var getOwnPropertySymbols = Object.getOwnPropertySymbols; +var hasOwnProperty = Object.prototype.hasOwnProperty; +var propIsEnumerable = Object.prototype.propertyIsEnumerable; + +function toObject(val) { + if (val === null || val === undefined) { + throw new TypeError('Object.assign cannot be called with null or undefined'); + } + + return Object(val); +} + +function shouldUseNative() { + try { + if (!Object.assign) { + return false; + } + + // Detect buggy property enumeration order in older V8 versions. + + // https://bugs.chromium.org/p/v8/issues/detail?id=4118 + var test1 = new String('abc'); // eslint-disable-line no-new-wrappers + test1[5] = 'de'; + if (Object.getOwnPropertyNames(test1)[0] === '5') { + return false; + } + + // https://bugs.chromium.org/p/v8/issues/detail?id=3056 + var test2 = {}; + for (var i = 0; i < 10; i++) { + test2['_' + String.fromCharCode(i)] = i; + } + var order2 = Object.getOwnPropertyNames(test2).map(function (n) { + return test2[n]; + }); + if (order2.join('') !== '0123456789') { + return false; + } + + // https://bugs.chromium.org/p/v8/issues/detail?id=3056 + var test3 = {}; + 'abcdefghijklmnopqrst'.split('').forEach(function (letter) { + test3[letter] = letter; + }); + if (Object.keys(Object.assign({}, test3)).join('') !== + 'abcdefghijklmnopqrst') { + return false; + } + + return true; + } catch (err) { + // We don't expect any of the above to throw, but better to be safe. + return false; + } +} + +module.exports = shouldUseNative() ? Object.assign : function (target, source) { + var from; + var to = toObject(target); + var symbols; + + for (var s = 1; s < arguments.length; s++) { + from = Object(arguments[s]); + + for (var key in from) { + if (hasOwnProperty.call(from, key)) { + to[key] = from[key]; + } + } + + if (getOwnPropertySymbols) { + symbols = getOwnPropertySymbols(from); + for (var i = 0; i < symbols.length; i++) { + if (propIsEnumerable.call(from, symbols[i])) { + to[symbols[i]] = from[symbols[i]]; + } + } + } + } + + return to; +}; diff --git a/node_modules/object-assign/license b/node_modules/object-assign/license new file mode 100644 index 0000000..654d0bf --- /dev/null +++ b/node_modules/object-assign/license @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_modules/object-assign/package.json b/node_modules/object-assign/package.json new file mode 100644 index 0000000..503eb1e --- /dev/null +++ b/node_modules/object-assign/package.json @@ -0,0 +1,42 @@ +{ + "name": "object-assign", + "version": "4.1.1", + "description": "ES2015 `Object.assign()` ponyfill", + "license": "MIT", + "repository": "sindresorhus/object-assign", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "engines": { + "node": ">=0.10.0" + }, + "scripts": { + "test": "xo && ava", + "bench": "matcha bench.js" + }, + "files": [ + "index.js" + ], + "keywords": [ + "object", + "assign", + "extend", + "properties", + "es2015", + "ecmascript", + "harmony", + "ponyfill", + "prollyfill", + "polyfill", + "shim", + "browser" + ], + "devDependencies": { + "ava": "^0.16.0", + "lodash": "^4.16.4", + "matcha": "^0.7.0", + "xo": "^0.16.0" + } +} diff --git a/node_modules/object-assign/readme.md b/node_modules/object-assign/readme.md new file mode 100644 index 0000000..1be09d3 --- /dev/null +++ b/node_modules/object-assign/readme.md @@ -0,0 +1,61 @@ +# object-assign [![Build Status](https://travis-ci.org/sindresorhus/object-assign.svg?branch=master)](https://travis-ci.org/sindresorhus/object-assign) + +> ES2015 [`Object.assign()`](http://www.2ality.com/2014/01/object-assign.html) [ponyfill](https://ponyfill.com) + + +## Use the built-in + +Node.js 4 and up, as well as every evergreen browser (Chrome, Edge, Firefox, Opera, Safari), +support `Object.assign()` :tada:. If you target only those environments, then by all +means, use `Object.assign()` instead of this package. + + +## Install + +``` +$ npm install --save object-assign +``` + + +## Usage + +```js +const objectAssign = require('object-assign'); + +objectAssign({foo: 0}, {bar: 1}); +//=> {foo: 0, bar: 1} + +// multiple sources +objectAssign({foo: 0}, {bar: 1}, {baz: 2}); +//=> {foo: 0, bar: 1, baz: 2} + +// overwrites equal keys +objectAssign({foo: 0}, {foo: 1}, {foo: 2}); +//=> {foo: 2} + +// ignores null and undefined sources +objectAssign({foo: 0}, null, {bar: 1}, undefined); +//=> {foo: 0, bar: 1} +``` + + +## API + +### objectAssign(target, [source, ...]) + +Assigns enumerable own properties of `source` objects to the `target` object and returns the `target` object. Additional `source` objects will overwrite previous ones. + + +## Resources + +- [ES2015 spec - Object.assign](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.assign) + + +## Related + +- [deep-assign](https://github.com/sindresorhus/deep-assign) - Recursive `Object.assign()` + + +## License + +MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/object-hash/LICENSE b/node_modules/object-hash/LICENSE new file mode 100644 index 0000000..6ea185f --- /dev/null +++ b/node_modules/object-hash/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2014 object-hash contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/node_modules/object-hash/dist/object_hash.js b/node_modules/object-hash/dist/object_hash.js new file mode 100644 index 0000000..2e584c5 --- /dev/null +++ b/node_modules/object-hash/dist/object_hash.js @@ -0,0 +1 @@ +!function(e){var t;"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):("undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.objectHash=e())}(function(){return function r(o,i,u){function s(n,e){if(!i[n]){if(!o[n]){var t="function"==typeof require&&require;if(!e&&t)return t(n,!0);if(a)return a(n,!0);throw new Error("Cannot find module '"+n+"'")}e=i[n]={exports:{}};o[n][0].call(e.exports,function(e){var t=o[n][1][e];return s(t||e)},e,e.exports,r,o,i,u)}return i[n].exports}for(var a="function"==typeof require&&require,e=0;e>16),s((65280&n)>>8),s(255&n);return 2==r?s(255&(n=f(e.charAt(t))<<2|f(e.charAt(t+1))>>4)):1==r&&(s((n=f(e.charAt(t))<<10|f(e.charAt(t+1))<<4|f(e.charAt(t+2))>>2)>>8&255),s(255&n)),o},e.fromByteArray=function(e){var t,n,r,o,i=e.length%3,u="";function s(e){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e)}for(t=0,r=e.length-i;t>18&63)+s(o>>12&63)+s(o>>6&63)+s(63&o);switch(i){case 1:u=(u+=s((n=e[e.length-1])>>2))+s(n<<4&63)+"==";break;case 2:u=(u=(u+=s((n=(e[e.length-2]<<8)+e[e.length-1])>>10))+s(n>>4&63))+s(n<<2&63)+"="}return u}}(void 0===f?this.base64js={}:f)}.call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(O,e,H){!function(e,n,f,r,h,p,g,y,w){var a=O("base64-js"),i=O("ieee754");function f(e,t,n){if(!(this instanceof f))return new f(e,t,n);var r,o,i,u,s=typeof e;if("base64"===t&&"string"==s)for(e=(u=e).trim?u.trim():u.replace(/^\s+|\s+$/g,"");e.length%4!=0;)e+="=";if("number"==s)r=j(e);else if("string"==s)r=f.byteLength(e,t);else{if("object"!=s)throw new Error("First argument needs to be a number, array or string.");r=j(e.length)}if(f._useTypedArrays?o=f._augment(new Uint8Array(r)):((o=this).length=r,o._isBuffer=!0),f._useTypedArrays&&"number"==typeof e.byteLength)o._set(e);else if(C(u=e)||f.isBuffer(u)||u&&"object"==typeof u&&"number"==typeof u.length)for(i=0;i>8,n=n%256,r.push(n),r.push(t);return r}(t),e,n,r)}function v(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o>>0)):(t+1>>0),o}function _(e,t,n,r){if(r||(d("boolean"==typeof n,"missing or invalid endian"),d(null!=t,"missing offset"),d(t+1>>8*(r?i:1-i)}function l(e,t,n,r,o){o||(d(null!=t,"missing value"),d("boolean"==typeof r,"missing or invalid endian"),d(null!=n,"missing offset"),d(n+3>>8*(r?i:3-i)&255}function B(e,t,n,r,o){o||(d(null!=t,"missing value"),d("boolean"==typeof r,"missing or invalid endian"),d(null!=n,"missing offset"),d(n+1this.length&&(r=this.length);var o=(r=e.length-t=this.length))return this[e]},f.prototype.readUInt16LE=function(e,t){return o(this,e,!0,t)},f.prototype.readUInt16BE=function(e,t){return o(this,e,!1,t)},f.prototype.readUInt32LE=function(e,t){return u(this,e,!0,t)},f.prototype.readUInt32BE=function(e,t){return u(this,e,!1,t)},f.prototype.readInt8=function(e,t){if(t||(d(null!=e,"missing offset"),d(e=this.length))return 128&this[e]?-1*(255-this[e]+1):this[e]},f.prototype.readInt16LE=function(e,t){return _(this,e,!0,t)},f.prototype.readInt16BE=function(e,t){return _(this,e,!1,t)},f.prototype.readInt32LE=function(e,t){return E(this,e,!0,t)},f.prototype.readInt32BE=function(e,t){return E(this,e,!1,t)},f.prototype.readFloatLE=function(e,t){return I(this,e,!0,t)},f.prototype.readFloatBE=function(e,t){return I(this,e,!1,t)},f.prototype.readDoubleLE=function(e,t){return A(this,e,!0,t)},f.prototype.readDoubleBE=function(e,t){return A(this,e,!1,t)},f.prototype.writeUInt8=function(e,t,n){n||(d(null!=e,"missing value"),d(null!=t,"missing offset"),d(t=this.length||(this[t]=e)},f.prototype.writeUInt16LE=function(e,t,n){s(this,e,t,!0,n)},f.prototype.writeUInt16BE=function(e,t,n){s(this,e,t,!1,n)},f.prototype.writeUInt32LE=function(e,t,n){l(this,e,t,!0,n)},f.prototype.writeUInt32BE=function(e,t,n){l(this,e,t,!1,n)},f.prototype.writeInt8=function(e,t,n){n||(d(null!=e,"missing value"),d(null!=t,"missing offset"),d(t=this.length||(0<=e?this.writeUInt8(e,t,n):this.writeUInt8(255+e+1,t,n))},f.prototype.writeInt16LE=function(e,t,n){B(this,e,t,!0,n)},f.prototype.writeInt16BE=function(e,t,n){B(this,e,t,!1,n)},f.prototype.writeInt32LE=function(e,t,n){L(this,e,t,!0,n)},f.prototype.writeInt32BE=function(e,t,n){L(this,e,t,!1,n)},f.prototype.writeFloatLE=function(e,t,n){U(this,e,t,!0,n)},f.prototype.writeFloatBE=function(e,t,n){U(this,e,t,!1,n)},f.prototype.writeDoubleLE=function(e,t,n){x(this,e,t,!0,n)},f.prototype.writeDoubleBE=function(e,t,n){x(this,e,t,!1,n)},f.prototype.fill=function(e,t,n){if(t=t||0,n=n||this.length,d("number"==typeof(e="string"==typeof(e=e||0)?e.charCodeAt(0):e)&&!isNaN(e),"value is not a number"),d(t<=n,"end < start"),n!==t&&0!==this.length){d(0<=t&&t"},f.prototype.toArrayBuffer=function(){if("undefined"==typeof Uint8Array)throw new Error("Buffer.toArrayBuffer not supported in this browser");if(f._useTypedArrays)return new f(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;t=t.length||o>=e.length);o++)t[o+n]=e[o];return o}function N(e){try{return decodeURIComponent(e)}catch(e){return String.fromCharCode(65533)}}function Y(e,t){d("number"==typeof e,"cannot write a non-number as a number"),d(0<=e,"specified a negative value for writing an unsigned value"),d(e<=t,"value is larger than maximum value for type"),d(Math.floor(e)===e,"value has a fractional component")}function F(e,t,n){d("number"==typeof e,"cannot write a non-number as a number"),d(e<=t,"value larger than maximum allowed value"),d(n<=e,"value smaller than minimum allowed value"),d(Math.floor(e)===e,"value has a fractional component")}function D(e,t,n){d("number"==typeof e,"cannot write a non-number as a number"),d(e<=t,"value larger than maximum allowed value"),d(n<=e,"value smaller than minimum allowed value")}function d(e,t){if(!e)throw new Error(t||"Failed assertion")}f._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=t.get,e.set=t.set,e.write=t.write,e.toString=t.toString,e.toLocaleString=t.toString,e.toJSON=t.toJSON,e.copy=t.copy,e.slice=t.slice,e.readUInt8=t.readUInt8,e.readUInt16LE=t.readUInt16LE,e.readUInt16BE=t.readUInt16BE,e.readUInt32LE=t.readUInt32LE,e.readUInt32BE=t.readUInt32BE,e.readInt8=t.readInt8,e.readInt16LE=t.readInt16LE,e.readInt16BE=t.readInt16BE,e.readInt32LE=t.readInt32LE,e.readInt32BE=t.readInt32BE,e.readFloatLE=t.readFloatLE,e.readFloatBE=t.readFloatBE,e.readDoubleLE=t.readDoubleLE,e.readDoubleBE=t.readDoubleBE,e.writeUInt8=t.writeUInt8,e.writeUInt16LE=t.writeUInt16LE,e.writeUInt16BE=t.writeUInt16BE,e.writeUInt32LE=t.writeUInt32LE,e.writeUInt32BE=t.writeUInt32BE,e.writeInt8=t.writeInt8,e.writeInt16LE=t.writeInt16LE,e.writeInt16BE=t.writeInt16BE,e.writeInt32LE=t.writeInt32LE,e.writeInt32BE=t.writeInt32BE,e.writeFloatLE=t.writeFloatLE,e.writeFloatBE=t.writeFloatBE,e.writeDoubleLE=t.writeDoubleLE,e.writeDoubleBE=t.writeDoubleBE,e.fill=t.fill,e.inspect=t.inspect,e.toArrayBuffer=t.toArrayBuffer,e}}.call(this,O("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},O("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(c,d,e){!function(e,t,a,n,r,o,i,u,s){var a=c("buffer").Buffer,f=4,l=new a(f);l.fill(0);d.exports={hash:function(e,t,n,r){for(var o=t(function(e,t){e.length%f!=0&&(n=e.length+(f-e.length%f),e=a.concat([e,l],n));for(var n,r=[],o=t?e.readInt32BE:e.readInt32LE,i=0;is?t=e(t):t.length>5]|=128<>>9<<4)]=t;for(var n=1732584193,r=-271733879,o=-1732584194,i=271733878,u=0;u>>32-o,n)}function c(e,t,n,r,o,i,u){return s(t&n|~t&r,e,t,o,i,u)}function d(e,t,n,r,o,i,u){return s(t&r|n&~r,e,t,o,i,u)}function h(e,t,n,r,o,i,u){return s(t^n^r,e,t,o,i,u)}function p(e,t,n,r,o,i,u){return s(n^(t|~r),e,t,o,i,u)}function g(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}b.exports=function(e){return t.hash(e,n,16)}}.call(this,w("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},w("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(e,l,t){!function(e,t,n,r,o,i,u,s,f){var a;l.exports=a||function(e){for(var t,n=new Array(e),r=0;r>>((3&r)<<3)&255;return n}}.call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(c,d,e){!function(e,t,n,r,o,s,a,f,l){var i=c("./helpers");function u(l,c){l[c>>5]|=128<<24-c%32,l[15+(c+64>>9<<4)]=c;for(var e,t,n,r=Array(80),o=1732584193,i=-271733879,u=-1732584194,s=271733878,d=-1009589776,h=0;h>16)+(t>>16)+(n>>16)<<16|65535&n}function v(e,t){return e<>>32-t}d.exports=function(e){return i.hash(e,u,20,!0)}}.call(this,c("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},c("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(c,d,e){!function(e,t,n,r,u,s,a,f,l){function b(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function o(e,l){var c,d=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),t=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),n=new Array(64);e[l>>5]|=128<<24-l%32,e[15+(l+64>>9<<4)]=l;for(var r,o,h=0;h>>t|e<<32-t},v=function(e,t){return e>>>t};d.exports=function(e){return i.hash(e,o,32,!0)}}.call(this,c("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},c("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(e,t,f){!function(e,t,n,r,o,i,u,s,a){f.read=function(e,t,n,r,o){var i,u,l=8*o-r-1,c=(1<>1,s=-7,a=n?o-1:0,f=n?-1:1,o=e[t+a];for(a+=f,i=o&(1<<-s)-1,o>>=-s,s+=l;0>=-s,s+=r;0>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:c-1,h=n?1:-1,c=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(i=isNaN(t)?1:0,o=s):(o=Math.floor(Math.log(t)/Math.LN2),t*(n=Math.pow(2,-o))<1&&(o--,n*=2),2<=(t+=1<=o+a?d/n:d*Math.pow(2,1-a))*n&&(o++,n/=2),s<=o+a?(i=0,o=s):1<=o+a?(i=(t*n-1)*Math.pow(2,r),o+=a):(i=t*Math.pow(2,a-1)*Math.pow(2,r),o=0));8<=r;e[l+f]=255&i,f+=h,i/=256,r-=8);for(o=o<", type, " -> ", "_" + type); + + return this['_' + type](value); + }, + _object: function(object) { + var pattern = (/\[object (.*)\]/i); + var objString = Object.prototype.toString.call(object); + var objType = pattern.exec(objString); + if (!objType) { // object type did not match [object ...] + objType = 'unknown:[' + objString + ']'; + } else { + objType = objType[1]; // take only the class name + } + + objType = objType.toLowerCase(); + + var objectNumber = null; + + if ((objectNumber = context.indexOf(object)) >= 0) { + return this.dispatch('[CIRCULAR:' + objectNumber + ']'); + } else { + context.push(object); + } + + if (typeof Buffer !== 'undefined' && Buffer.isBuffer && Buffer.isBuffer(object)) { + write('buffer:'); + return write(object); + } + + if(objType !== 'object' && objType !== 'function' && objType !== 'asyncfunction') { + if(this['_' + objType]) { + this['_' + objType](object); + } else if (options.ignoreUnknown) { + return write('[' + objType + ']'); + } else { + throw new Error('Unknown object type "' + objType + '"'); + } + }else{ + var keys = Object.keys(object); + if (options.unorderedObjects) { + keys = keys.sort(); + } + // Make sure to incorporate special properties, so + // Types with different prototypes will produce + // a different hash and objects derived from + // different functions (`new Foo`, `new Bar`) will + // produce different hashes. + // We never do this for native functions since some + // seem to break because of that. + if (options.respectType !== false && !isNativeFunction(object)) { + keys.splice(0, 0, 'prototype', '__proto__', 'constructor'); + } + + if (options.excludeKeys) { + keys = keys.filter(function(key) { return !options.excludeKeys(key); }); + } + + write('object:' + keys.length + ':'); + var self = this; + return keys.forEach(function(key){ + self.dispatch(key); + write(':'); + if(!options.excludeValues) { + self.dispatch(object[key]); + } + write(','); + }); + } + }, + _array: function(arr, unordered){ + unordered = typeof unordered !== 'undefined' ? unordered : + options.unorderedArrays !== false; // default to options.unorderedArrays + + var self = this; + write('array:' + arr.length + ':'); + if (!unordered || arr.length <= 1) { + return arr.forEach(function(entry) { + return self.dispatch(entry); + }); + } + + // the unordered case is a little more complicated: + // since there is no canonical ordering on objects, + // i.e. {a:1} < {a:2} and {a:1} > {a:2} are both false, + // we first serialize each entry using a PassThrough stream + // before sorting. + // also: we can’t use the same context array for all entries + // since the order of hashing should *not* matter. instead, + // we keep track of the additions to a copy of the context array + // and add all of them to the global context array when we’re done + var contextAdditions = []; + var entries = arr.map(function(entry) { + var strm = new PassThrough(); + var localContext = context.slice(); // make copy + var hasher = typeHasher(options, strm, localContext); + hasher.dispatch(entry); + // take only what was added to localContext and append it to contextAdditions + contextAdditions = contextAdditions.concat(localContext.slice(context.length)); + return strm.read().toString(); + }); + context = context.concat(contextAdditions); + entries.sort(); + return this._array(entries, false); + }, + _date: function(date){ + return write('date:' + date.toJSON()); + }, + _symbol: function(sym){ + return write('symbol:' + sym.toString()); + }, + _error: function(err){ + return write('error:' + err.toString()); + }, + _boolean: function(bool){ + return write('bool:' + bool.toString()); + }, + _string: function(string){ + write('string:' + string.length + ':'); + write(string.toString()); + }, + _function: function(fn){ + write('fn:'); + if (isNativeFunction(fn)) { + this.dispatch('[native]'); + } else { + this.dispatch(fn.toString()); + } + + if (options.respectFunctionNames !== false) { + // Make sure we can still distinguish native functions + // by their name, otherwise String and Function will + // have the same hash + this.dispatch("function-name:" + String(fn.name)); + } + + if (options.respectFunctionProperties) { + this._object(fn); + } + }, + _number: function(number){ + return write('number:' + number.toString()); + }, + _xml: function(xml){ + return write('xml:' + xml.toString()); + }, + _null: function() { + return write('Null'); + }, + _undefined: function() { + return write('Undefined'); + }, + _regexp: function(regex){ + return write('regex:' + regex.toString()); + }, + _uint8array: function(arr){ + write('uint8array:'); + return this.dispatch(Array.prototype.slice.call(arr)); + }, + _uint8clampedarray: function(arr){ + write('uint8clampedarray:'); + return this.dispatch(Array.prototype.slice.call(arr)); + }, + _int8array: function(arr){ + write('int8array:'); + return this.dispatch(Array.prototype.slice.call(arr)); + }, + _uint16array: function(arr){ + write('uint16array:'); + return this.dispatch(Array.prototype.slice.call(arr)); + }, + _int16array: function(arr){ + write('int16array:'); + return this.dispatch(Array.prototype.slice.call(arr)); + }, + _uint32array: function(arr){ + write('uint32array:'); + return this.dispatch(Array.prototype.slice.call(arr)); + }, + _int32array: function(arr){ + write('int32array:'); + return this.dispatch(Array.prototype.slice.call(arr)); + }, + _float32array: function(arr){ + write('float32array:'); + return this.dispatch(Array.prototype.slice.call(arr)); + }, + _float64array: function(arr){ + write('float64array:'); + return this.dispatch(Array.prototype.slice.call(arr)); + }, + _arraybuffer: function(arr){ + write('arraybuffer:'); + return this.dispatch(new Uint8Array(arr)); + }, + _url: function(url) { + return write('url:' + url.toString(), 'utf8'); + }, + _map: function(map) { + write('map:'); + var arr = Array.from(map); + return this._array(arr, options.unorderedSets !== false); + }, + _set: function(set) { + write('set:'); + var arr = Array.from(set); + return this._array(arr, options.unorderedSets !== false); + }, + _file: function(file) { + write('file:'); + return this.dispatch([file.name, file.size, file.type, file.lastModfied]); + }, + _blob: function() { + if (options.ignoreUnknown) { + return write('[blob]'); + } + + throw Error('Hashing Blob objects is currently not supported\n' + + '(see https://github.com/puleos/object-hash/issues/26)\n' + + 'Use "options.replacer" or "options.ignoreUnknown"\n'); + }, + _domwindow: function() { return write('domwindow'); }, + _bigint: function(number){ + return write('bigint:' + number.toString()); + }, + /* Node.js standard native objects */ + _process: function() { return write('process'); }, + _timer: function() { return write('timer'); }, + _pipe: function() { return write('pipe'); }, + _tcp: function() { return write('tcp'); }, + _udp: function() { return write('udp'); }, + _tty: function() { return write('tty'); }, + _statwatcher: function() { return write('statwatcher'); }, + _securecontext: function() { return write('securecontext'); }, + _connection: function() { return write('connection'); }, + _zlib: function() { return write('zlib'); }, + _context: function() { return write('context'); }, + _nodescript: function() { return write('nodescript'); }, + _httpparser: function() { return write('httpparser'); }, + _dataview: function() { return write('dataview'); }, + _signal: function() { return write('signal'); }, + _fsevent: function() { return write('fsevent'); }, + _tlswrap: function() { return write('tlswrap'); }, + }; +} + +// Mini-implementation of stream.PassThrough +// We are far from having need for the full implementation, and we can +// make assumptions like "many writes, then only one final read" +// and we can ignore encoding specifics +function PassThrough() { + return { + buf: '', + + write: function(b) { + this.buf += b; + }, + + end: function(b) { + this.buf += b; + }, + + read: function() { + return this.buf; + } + }; +} diff --git a/node_modules/object-hash/package.json b/node_modules/object-hash/package.json new file mode 100644 index 0000000..a72557f --- /dev/null +++ b/node_modules/object-hash/package.json @@ -0,0 +1,53 @@ +{ + "name": "object-hash", + "version": "3.0.0", + "description": "Generate hashes from javascript objects in node and the browser.", + "homepage": "https://github.com/puleos/object-hash", + "repository": { + "type": "git", + "url": "https://github.com/puleos/object-hash" + }, + "keywords": [ + "object", + "hash", + "sha1", + "md5" + ], + "bugs": { + "url": "https://github.com/puleos/object-hash/issues" + }, + "scripts": { + "test": "node ./node_modules/.bin/mocha test", + "prepublish": "gulp dist" + }, + "author": "Scott Puleo ", + "files": [ + "index.js", + "dist/object_hash.js" + ], + "license": "MIT", + "devDependencies": { + "browserify": "^16.2.3", + "gulp": "^4.0.0", + "gulp-browserify": "^0.5.1", + "gulp-coveralls": "^0.1.4", + "gulp-exec": "^3.0.1", + "gulp-istanbul": "^1.1.3", + "gulp-jshint": "^2.0.0", + "gulp-mocha": "^5.0.0", + "gulp-rename": "^1.2.0", + "gulp-replace": "^1.0.0", + "gulp-uglify": "^3.0.0", + "jshint": "^2.8.0", + "jshint-stylish": "^2.1.0", + "karma": "^4.2.0", + "karma-chrome-launcher": "^2.2.0", + "karma-mocha": "^1.3.0", + "mocha": "^6.2.0" + }, + "engines": { + "node": ">= 6" + }, + "main": "./index.js", + "browser": "./dist/object_hash.js" +} diff --git a/node_modules/object-hash/readme.markdown b/node_modules/object-hash/readme.markdown new file mode 100644 index 0000000..c507cf8 --- /dev/null +++ b/node_modules/object-hash/readme.markdown @@ -0,0 +1,198 @@ +# object-hash + +Generate hashes from objects and values in node and the browser. Uses node.js +crypto module for hashing. Supports SHA1 and many others (depending on the platform) +as well as custom streams (e.g. CRC32). + +[![NPM](https://nodei.co/npm/object-hash.png?downloads=true&downloadRank=true)](https://www.npmjs.com/package/object-hash) + +[![Travis CI](https://secure.travis-ci.org/puleos/object-hash.png?branch=master)](https://secure.travis-ci.org/puleos/object-hash?branch=master) +[![Coverage Status](https://coveralls.io/repos/puleos/object-hash/badge.svg?branch=master&service=github)](https://coveralls.io/github/puleos/object-hash?branch=master) + +* Hash values of any type. +* Supports a keys only option for grouping similar objects with different values. + +```js +var hash = require('object-hash'); + +hash({foo: 'bar'}) // => '67b69634f9880a282c14a0f0cb7ba20cf5d677e9' +hash([1, 2, 2.718, 3.14159]) // => '136b9b88375971dff9f1af09d7356e3e04281951' +``` + +## Versioning Disclaimer + +Starting with version `1.1.8` (released April 2017), new versions will consider +the exact returned hash part of the API contract, i.e. changes that will affect +hash values will be considered `semver-major`. Previous versions may violate +that expectation. + +For more information, see [this discussion](https://github.com/puleos/object-hash/issues/30). + +## hash(value, options) + +Generate a hash from any object or type. Defaults to sha1 with hex encoding. + +* `algorithm` hash algo to be used: 'sha1', 'md5', 'passthrough'. default: sha1 + * This supports the algorithms returned by `crypto.getHashes()`. Note that the default of SHA-1 is not considered secure, and a stronger algorithm should be used if a cryptographical hash is desired. + * This also supports the `passthrough` algorith, which will return the information that would otherwise have been hashed. +* `excludeValues` {true|false} hash object keys, values ignored. default: false +* `encoding` hash encoding, supports 'buffer', 'hex', 'binary', 'base64'. default: hex +* `ignoreUnknown` {true|*false} ignore unknown object types. default: false +* `replacer` optional function that replaces values before hashing. default: accept all values +* `respectFunctionProperties` {true|false} Whether properties on functions are considered when hashing. default: true +* `respectFunctionNames` {true|false} consider `name` property of functions for hashing. default: true +* `respectType` {true|false} Whether special type attributes (`.prototype`, `.__proto__`, `.constructor`) + are hashed. default: true +* `unorderedArrays` {true|false} Sort all arrays before hashing. Note that this affects *all* collections, + i.e. including typed arrays, Sets, Maps, etc. default: false +* `unorderedSets` {true|false} Sort `Set` and `Map` instances before hashing, i.e. make + `hash(new Set([1, 2])) == hash(new Set([2, 1]))` return `true`. default: true +* `unorderedObjects` {true|false} Sort objects before hashing, i.e. make `hash({ x: 1, y: 2 }) === hash({ y: 2, x: 1 })`. default: true +* `excludeKeys` optional function for excluding specific key(s) from hashing, if true is returned then exclude from hash. default: include all keys + +## hash.sha1(value) + +Hash using the sha1 algorithm. + +Note that SHA-1 is not considered secure, and a stronger algorithm should be used if a cryptographical hash is desired. + +*Sugar method, equivalent to* `hash(value, {algorithm: 'sha1'})` + +## hash.keys(value) + +Hash object keys using the sha1 algorithm, values ignored. + +*Sugar method, equivalent to* `hash(value, {excludeValues: true})` + +## hash.MD5(value) + +Hash using the md5 algorithm. + +Note that the MD5 algorithm is not considered secure, and a stronger algorithm should be used if a cryptographical hash is desired. + +*Sugar method, equivalent to* `hash(value, {algorithm: 'md5'})` + +## hash.keysMD5(value) + +Hash object keys using the md5 algorithm, values ignored. + +Note that the MD5 algorithm is not considered secure, and a stronger algorithm should be used if a cryptographical hash is desired. + +*Sugar method, equivalent to* `hash(value, {algorithm: 'md5', excludeValues: true})` + +## hash.writeToStream(value, [options,] stream) + +Write the information that would otherwise have been hashed to a stream, e.g.: + +```js +hash.writeToStream({foo: 'bar', a: 42}, {respectType: false}, process.stdout) +// => e.g. 'object:a:number:42foo:string:bar' +``` + +## Installation + +node: + +```js +npm install object-hash +``` + +browser: */dist/object_hash.js* + +```html + + + +``` + +## Example usage + +```js +var hash = require('object-hash'); + +var peter = { name: 'Peter', stapler: false, friends: ['Joanna', 'Michael', 'Samir'] }; +var michael = { name: 'Michael', stapler: false, friends: ['Peter', 'Samir'] }; +var bob = { name: 'Bob', stapler: true, friends: [] }; + +/*** + * sha1 hex encoding (default) + */ +hash(peter); +// 14fa461bf4b98155e82adc86532938553b4d33a9 +hash(michael); +// 4b2b30e27699979ce46714253bc2213010db039c +hash(bob); +// 38d96106bc8ef3d8bd369b99bb6972702c9826d5 + +/*** + * hash object keys, values ignored + */ +hash(peter, { excludeValues: true }); +// 48f370a772c7496f6c9d2e6d92e920c87dd00a5c +hash(michael, { excludeValues: true }); +// 48f370a772c7496f6c9d2e6d92e920c87dd00a5c +hash.keys(bob); +// 48f370a772c7496f6c9d2e6d92e920c87dd00a5c + +/*** + * hash object, ignore specific key(s) + */ +hash(peter, { excludeKeys: function(key) { + if ( key === 'friends') { + return true; + } + return false; + } +}); +// 66b7d7e64871aa9fda1bdc8e88a28df797648d80 + +/*** + * md5 base64 encoding + */ +hash(peter, { algorithm: 'md5', encoding: 'base64' }); +// 6rkWaaDiG3NynWw4svGH7g== +hash(michael, { algorithm: 'md5', encoding: 'base64' }); +// djXaWpuWVJeOF8Sb6SFFNg== +hash(bob, { algorithm: 'md5', encoding: 'base64' }); +// lFzkw/IJ8/12jZI0rQeS3w== +``` + +## Legacy Browser Support + +IE <= 8 and Opera <= 11 support dropped in version 0.3.0. If you require +legacy browser support you must either use an ES5 shim or use version 0.2.5 +of this module. + +## Development + +```sh-session +git clone https://github.com/puleos/object-hash +``` + +## Node Docker Wrapper + +If you want to stand this up in a docker container, you should take at look +at the [![node-object-hash](https://github.com/bean5/node-object-hash)](https://github.com/bean5/node-object-hash) project. + +### gulp tasks + +* `gulp watch` (default) watch files, test and lint on change/add +* `gulp test` unit tests +* `gulp karma` browser unit tests +* `gulp lint` jshint +* `gulp dist` create browser version in /dist + +## License + +MIT + +## Changelog + +### v2.0.0 + +Only Node.js versions `>= 6.0.0` are being tested in CI now. +No other breaking changes were introduced. diff --git a/node_modules/object-inspect/.eslintrc b/node_modules/object-inspect/.eslintrc new file mode 100644 index 0000000..21f9039 --- /dev/null +++ b/node_modules/object-inspect/.eslintrc @@ -0,0 +1,53 @@ +{ + "root": true, + "extends": "@ljharb", + "rules": { + "complexity": 0, + "func-style": [2, "declaration"], + "indent": [2, 4], + "max-lines": 1, + "max-lines-per-function": 1, + "max-params": [2, 4], + "max-statements": 0, + "max-statements-per-line": [2, { "max": 2 }], + "no-magic-numbers": 0, + "no-param-reassign": 1, + "strict": 0, // TODO + }, + "overrides": [ + { + "files": ["test/**", "test-*", "example/**"], + "extends": "@ljharb/eslint-config/tests", + "rules": { + "id-length": 0, + }, + }, + { + "files": ["example/**"], + "rules": { + "no-console": 0, + }, + }, + { + "files": ["test/browser/**"], + "env": { + "browser": true, + }, + }, + { + "files": ["test/bigint*"], + "rules": { + "new-cap": [2, { "capIsNewExceptions": ["BigInt"] }], + }, + }, + { + "files": "index.js", + "globals": { + "HTMLElement": false, + }, + "rules": { + "no-use-before-define": 1, + }, + }, + ], +} diff --git a/node_modules/object-inspect/.github/FUNDING.yml b/node_modules/object-inspect/.github/FUNDING.yml new file mode 100644 index 0000000..730276b --- /dev/null +++ b/node_modules/object-inspect/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [ljharb] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: npm/object-inspect +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/object-inspect/.nycrc b/node_modules/object-inspect/.nycrc new file mode 100644 index 0000000..58a5db7 --- /dev/null +++ b/node_modules/object-inspect/.nycrc @@ -0,0 +1,13 @@ +{ + "all": true, + "check-coverage": false, + "instrumentation": false, + "sourceMap": false, + "reporter": ["text-summary", "text", "html", "json"], + "exclude": [ + "coverage", + "example", + "test", + "test-core-js.js" + ] +} diff --git a/node_modules/object-inspect/CHANGELOG.md b/node_modules/object-inspect/CHANGELOG.md new file mode 100644 index 0000000..bdf9002 --- /dev/null +++ b/node_modules/object-inspect/CHANGELOG.md @@ -0,0 +1,424 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.13.4](https://github.com/inspect-js/object-inspect/compare/v1.13.3...v1.13.4) - 2025-02-04 + +### Commits + +- [Fix] avoid being fooled by a `Symbol.toStringTag` [`fa5870d`](https://github.com/inspect-js/object-inspect/commit/fa5870da468a525d2f20193700f70752f506cbf7) +- [Tests] fix tests in node v6.0 - v6.4 [`2abfe1b`](https://github.com/inspect-js/object-inspect/commit/2abfe1bc3c69f9293c07c5cd65a9d7d87a628b84) +- [Dev Deps] update `es-value-fixtures`, `for-each`, `has-symbols` [`3edfb01`](https://github.com/inspect-js/object-inspect/commit/3edfb01cc8cce220fba0dfdfe2dc8bc955758cdd) + +## [v1.13.3](https://github.com/inspect-js/object-inspect/compare/v1.13.2...v1.13.3) - 2024-11-09 + +### Commits + +- [actions] split out node 10-20, and 20+ [`44395a8`](https://github.com/inspect-js/object-inspect/commit/44395a8fc1deda6718a5e125e86b9ffcaa1c7580) +- [Fix] `quoteStyle`: properly escape only the containing quotes [`5137f8f`](https://github.com/inspect-js/object-inspect/commit/5137f8f7bea69a7fc671bb683fd35f244f38fc52) +- [Refactor] clean up `quoteStyle` code [`450680c`](https://github.com/inspect-js/object-inspect/commit/450680cd50de4e689ee3b8e1d6db3a1bcf3fc18c) +- [Tests] add `quoteStyle` escaping tests [`e997c59`](https://github.com/inspect-js/object-inspect/commit/e997c595aeaea84fd98ca35d7e1c3b5ab3ae26e0) +- [Dev Deps] update `auto-changelog`, `es-value-fixtures`, `tape` [`d5a469c`](https://github.com/inspect-js/object-inspect/commit/d5a469c99ec07ccaeafc36ac4b36a93285086d48) +- [Tests] replace `aud` with `npm audit` [`fb7815f`](https://github.com/inspect-js/object-inspect/commit/fb7815f9b72cae277a04f65bbb0543f85b88be62) +- [Dev Deps] update `mock-property` [`11c817b`](https://github.com/inspect-js/object-inspect/commit/11c817bf10392aa017755962ba6bc89d731359ee) + +## [v1.13.2](https://github.com/inspect-js/object-inspect/compare/v1.13.1...v1.13.2) - 2024-06-21 + +### Commits + +- [readme] update badges [`8a51e6b`](https://github.com/inspect-js/object-inspect/commit/8a51e6bedaf389ec40cc4659e9df53e8543d176e) +- [Dev Deps] update `@ljharb/eslint-config`, `tape` [`ef05f58`](https://github.com/inspect-js/object-inspect/commit/ef05f58c9761a41416ab907299bf0fa79517014b) +- [Dev Deps] update `error-cause`, `has-tostringtag`, `tape` [`c0c6c26`](https://github.com/inspect-js/object-inspect/commit/c0c6c26c44cee6671f7c5d43d2b91d27c5c00d90) +- [Fix] Don't throw when `global` is not defined [`d4d0965`](https://github.com/inspect-js/object-inspect/commit/d4d096570f7dbd0e03266a96de11d05eb7b63e0f) +- [meta] add missing `engines.node` [`17a352a`](https://github.com/inspect-js/object-inspect/commit/17a352af6fe1ba6b70a19081674231eb1a50c940) +- [Dev Deps] update `globalthis` [`9c08884`](https://github.com/inspect-js/object-inspect/commit/9c08884aa662a149e2f11403f413927736b97da7) +- [Dev Deps] update `error-cause` [`6af352d`](https://github.com/inspect-js/object-inspect/commit/6af352d7c3929a4cc4c55768c27bf547a5e900f4) +- [Dev Deps] update `npmignore` [`94e617d`](https://github.com/inspect-js/object-inspect/commit/94e617d38831722562fa73dff4c895746861d267) +- [Dev Deps] update `mock-property` [`2ac24d7`](https://github.com/inspect-js/object-inspect/commit/2ac24d7e58cd388ad093c33249e413e05bbfd6c3) +- [Dev Deps] update `tape` [`46125e5`](https://github.com/inspect-js/object-inspect/commit/46125e58f1d1dcfb170ed3d1ea69da550ea8d77b) + +## [v1.13.1](https://github.com/inspect-js/object-inspect/compare/v1.13.0...v1.13.1) - 2023-10-19 + +### Commits + +- [Fix] in IE 8, global can !== window despite them being prototypes of each other [`30d0859`](https://github.com/inspect-js/object-inspect/commit/30d0859dc4606cf75c2410edcd5d5c6355f8d372) + +## [v1.13.0](https://github.com/inspect-js/object-inspect/compare/v1.12.3...v1.13.0) - 2023-10-14 + +### Commits + +- [New] add special handling for the global object [`431bab2`](https://github.com/inspect-js/object-inspect/commit/431bab21a490ee51d35395966a504501e8c685da) +- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`fd4f619`](https://github.com/inspect-js/object-inspect/commit/fd4f6193562b4b0e95dcf5c0201b4e8cbbc4f58d) +- [Dev Deps] update `mock-property`, `tape` [`b453f6c`](https://github.com/inspect-js/object-inspect/commit/b453f6ceeebf8a1b738a1029754092e0367a4134) +- [Dev Deps] update `error-cause` [`e8ffc57`](https://github.com/inspect-js/object-inspect/commit/e8ffc577d73b92bb6a4b00c44f14e3319e374888) +- [Dev Deps] update `tape` [`054b8b9`](https://github.com/inspect-js/object-inspect/commit/054b8b9b98633284cf989e582450ebfbbe53503c) +- [Dev Deps] temporarily remove `aud` due to breaking change in transitive deps [`2476845`](https://github.com/inspect-js/object-inspect/commit/2476845e0678dd290c541c81cd3dec8420782c52) +- [Dev Deps] pin `glob`, since v10.3.8+ requires a broken `jackspeak` [`383fa5e`](https://github.com/inspect-js/object-inspect/commit/383fa5eebc0afd705cc778a4b49d8e26452e49a8) +- [Dev Deps] pin `jackspeak` since 2.1.2+ depends on npm aliases, which kill the install process in npm < 6 [`68c244c`](https://github.com/inspect-js/object-inspect/commit/68c244c5174cdd877e5dcb8ee90aa3f44b2f25be) + +## [v1.12.3](https://github.com/inspect-js/object-inspect/compare/v1.12.2...v1.12.3) - 2023-01-12 + +### Commits + +- [Fix] in eg FF 24, collections lack forEach [`75fc226`](https://github.com/inspect-js/object-inspect/commit/75fc22673c82d45f28322b1946bb0eb41b672b7f) +- [actions] update rebase action to use reusable workflow [`250a277`](https://github.com/inspect-js/object-inspect/commit/250a277a095e9dacc029ab8454dcfc15de549dcd) +- [Dev Deps] update `aud`, `es-value-fixtures`, `tape` [`66a19b3`](https://github.com/inspect-js/object-inspect/commit/66a19b3209ccc3c5ef4b34c3cb0160e65d1ce9d5) +- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `error-cause` [`c43d332`](https://github.com/inspect-js/object-inspect/commit/c43d3324b48384a16fd3dc444e5fc589d785bef3) +- [Tests] add `@pkgjs/support` to `postlint` [`e2618d2`](https://github.com/inspect-js/object-inspect/commit/e2618d22a7a3fa361b6629b53c1752fddc9c4d80) + +## [v1.12.2](https://github.com/inspect-js/object-inspect/compare/v1.12.1...v1.12.2) - 2022-05-26 + +### Commits + +- [Fix] use `util.inspect` for a custom inspection symbol method [`e243bf2`](https://github.com/inspect-js/object-inspect/commit/e243bf2eda6c4403ac6f1146fddb14d12e9646c1) +- [meta] add support info [`ca20ba3`](https://github.com/inspect-js/object-inspect/commit/ca20ba35713c17068ca912a86c542f5e8acb656c) +- [Fix] ignore `cause` in node v16.9 and v16.10 where it has a bug [`86aa553`](https://github.com/inspect-js/object-inspect/commit/86aa553a4a455562c2c56f1540f0bf857b9d314b) + +## [v1.12.1](https://github.com/inspect-js/object-inspect/compare/v1.12.0...v1.12.1) - 2022-05-21 + +### Commits + +- [Tests] use `mock-property` [`4ec8893`](https://github.com/inspect-js/object-inspect/commit/4ec8893ea9bfd28065ca3638cf6762424bf44352) +- [meta] use `npmignore` to autogenerate an npmignore file [`07f868c`](https://github.com/inspect-js/object-inspect/commit/07f868c10bd25a9d18686528339bb749c211fc9a) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`b05244b`](https://github.com/inspect-js/object-inspect/commit/b05244b4f331e00c43b3151bc498041be77ccc91) +- [Dev Deps] update `@ljharb/eslint-config`, `error-cause`, `es-value-fixtures`, `functions-have-names`, `tape` [`d037398`](https://github.com/inspect-js/object-inspect/commit/d037398dcc5d531532e4c19c4a711ed677f579c1) +- [Fix] properly handle callable regexes in older engines [`848fe48`](https://github.com/inspect-js/object-inspect/commit/848fe48bd6dd0064ba781ee6f3c5e54a94144c37) + +## [v1.12.0](https://github.com/inspect-js/object-inspect/compare/v1.11.1...v1.12.0) - 2021-12-18 + +### Commits + +- [New] add `numericSeparator` boolean option [`2d2d537`](https://github.com/inspect-js/object-inspect/commit/2d2d537f5359a4300ce1c10241369f8024f89e11) +- [Robustness] cache more prototype methods [`191533d`](https://github.com/inspect-js/object-inspect/commit/191533da8aec98a05eadd73a5a6e979c9c8653e8) +- [New] ensure an Error’s `cause` is displayed [`53bc2ce`](https://github.com/inspect-js/object-inspect/commit/53bc2cee4e5a9cc4986f3cafa22c0685f340715e) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config` [`bc164b6`](https://github.com/inspect-js/object-inspect/commit/bc164b6e2e7d36b263970f16f54de63048b84a36) +- [Robustness] cache `RegExp.prototype.test` [`a314ab8`](https://github.com/inspect-js/object-inspect/commit/a314ab8271b905cbabc594c82914d2485a8daf12) +- [meta] fix auto-changelog settings [`5ed0983`](https://github.com/inspect-js/object-inspect/commit/5ed0983be72f73e32e2559997517a95525c7e20d) + +## [v1.11.1](https://github.com/inspect-js/object-inspect/compare/v1.11.0...v1.11.1) - 2021-12-05 + +### Commits + +- [meta] add `auto-changelog` [`7dbdd22`](https://github.com/inspect-js/object-inspect/commit/7dbdd228401d6025d8b7391476d88aee9ea9bbdf) +- [actions] reuse common workflows [`c8823bc`](https://github.com/inspect-js/object-inspect/commit/c8823bc0a8790729680709d45fb6e652432e91aa) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape` [`7532b12`](https://github.com/inspect-js/object-inspect/commit/7532b120598307497b712890f75af8056f6d37a6) +- [Refactor] use `has-tostringtag` to behave correctly in the presence of symbol shams [`94abb5d`](https://github.com/inspect-js/object-inspect/commit/94abb5d4e745bf33253942dea86b3e538d2ff6c6) +- [actions] update codecov uploader [`5ed5102`](https://github.com/inspect-js/object-inspect/commit/5ed51025267a00e53b1341357315490ac4eb0874) +- [Dev Deps] update `eslint`, `tape` [`37b2ad2`](https://github.com/inspect-js/object-inspect/commit/37b2ad26c08d94bfd01d5d07069a0b28ef4e2ad7) +- [meta] add `sideEffects` flag [`d341f90`](https://github.com/inspect-js/object-inspect/commit/d341f905ef8bffa6a694cda6ddc5ba343532cd4f) + +## [v1.11.0](https://github.com/inspect-js/object-inspect/compare/v1.10.3...v1.11.0) - 2021-07-12 + +### Commits + +- [New] `customInspect`: add `symbol` option, to mimic modern util.inspect behavior [`e973a6e`](https://github.com/inspect-js/object-inspect/commit/e973a6e21f8140c5837cf25e9d89bdde88dc3120) +- [Dev Deps] update `eslint` [`05f1cb3`](https://github.com/inspect-js/object-inspect/commit/05f1cb3cbcfe1f238e8b51cf9bc294305b7ed793) + +## [v1.10.3](https://github.com/inspect-js/object-inspect/compare/v1.10.2...v1.10.3) - 2021-05-07 + +### Commits + +- [Fix] handle core-js Symbol shams [`4acfc2c`](https://github.com/inspect-js/object-inspect/commit/4acfc2c4b503498759120eb517abad6d51c9c5d6) +- [readme] update badges [`95c323a`](https://github.com/inspect-js/object-inspect/commit/95c323ad909d6cbabb95dd6015c190ba6db9c1f2) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud` [`cb38f48`](https://github.com/inspect-js/object-inspect/commit/cb38f485de6ec7a95109b5a9bbd0a1deba2f6611) + +## [v1.10.2](https://github.com/inspect-js/object-inspect/compare/v1.10.1...v1.10.2) - 2021-04-17 + +### Commits + +- [Fix] use a robust check for a boxed Symbol [`87f12d6`](https://github.com/inspect-js/object-inspect/commit/87f12d6e69ce530be04659c81a4cd502943acac5) + +## [v1.10.1](https://github.com/inspect-js/object-inspect/compare/v1.10.0...v1.10.1) - 2021-04-17 + +### Commits + +- [Fix] use a robust check for a boxed bigint [`d5ca829`](https://github.com/inspect-js/object-inspect/commit/d5ca8298b6d2e5c7b9334a5b21b96ed95d225c91) + +## [v1.10.0](https://github.com/inspect-js/object-inspect/compare/v1.9.0...v1.10.0) - 2021-04-17 + +### Commits + +- [Tests] increase coverage [`d8abb8a`](https://github.com/inspect-js/object-inspect/commit/d8abb8a62c2f084919df994a433b346e0d87a227) +- [actions] use `node/install` instead of `node/run`; use `codecov` action [`4bfec2e`](https://github.com/inspect-js/object-inspect/commit/4bfec2e30aaef6ddef6cbb1448306f9f8b9520b7) +- [New] respect `Symbol.toStringTag` on objects [`799b58f`](https://github.com/inspect-js/object-inspect/commit/799b58f536a45e4484633a8e9daeb0330835f175) +- [Fix] do not allow Symbol.toStringTag to masquerade as builtins [`d6c5b37`](https://github.com/inspect-js/object-inspect/commit/d6c5b37d7e94427796b82432fb0c8964f033a6ab) +- [New] add `WeakRef` support [`b6d898e`](https://github.com/inspect-js/object-inspect/commit/b6d898ee21868c780a7ee66b28532b5b34ed7f09) +- [meta] do not publish github action workflow files [`918cdfc`](https://github.com/inspect-js/object-inspect/commit/918cdfc4b6fe83f559ff6ef04fe66201e3ff5cbd) +- [meta] create `FUNDING.yml` [`0bb5fc5`](https://github.com/inspect-js/object-inspect/commit/0bb5fc516dbcd2cd728bd89cee0b580acc5ce301) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`22c8dc0`](https://github.com/inspect-js/object-inspect/commit/22c8dc0cac113d70f4781e49a950070923a671be) +- [meta] use `prepublishOnly` script for npm 7+ [`e52ee09`](https://github.com/inspect-js/object-inspect/commit/e52ee09e8050b8dbac94ef57f786675567728223) +- [Dev Deps] update `eslint` [`7c4e6fd`](https://github.com/inspect-js/object-inspect/commit/7c4e6fdedcd27cc980e13c9ad834d05a96f3d40c) + +## [v1.9.0](https://github.com/inspect-js/object-inspect/compare/v1.8.0...v1.9.0) - 2020-11-30 + +### Commits + +- [Tests] migrate tests to Github Actions [`d262251`](https://github.com/inspect-js/object-inspect/commit/d262251e13e16d3490b5473672f6b6d6ff86675d) +- [New] add enumerable own Symbols to plain object output [`ee60c03`](https://github.com/inspect-js/object-inspect/commit/ee60c033088cff9d33baa71e59a362a541b48284) +- [Tests] add passing tests [`01ac3e4`](https://github.com/inspect-js/object-inspect/commit/01ac3e4b5a30f97875a63dc9b1416b3bd626afc9) +- [actions] add "Require Allow Edits" action [`c2d7746`](https://github.com/inspect-js/object-inspect/commit/c2d774680cde4ca4af332d84d4121b26f798ba9e) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `core-js` [`70058de`](https://github.com/inspect-js/object-inspect/commit/70058de1579fc54d1d15ed6c2dbe246637ce70ff) +- [Fix] hex characters in strings should be uppercased, to match node `assert` [`6ab8faa`](https://github.com/inspect-js/object-inspect/commit/6ab8faaa0abc08fe7a8e2afd8b39c6f1f0e00113) +- [Tests] run `nyc` on all tests [`4c47372`](https://github.com/inspect-js/object-inspect/commit/4c473727879ddc8e28b599202551ddaaf07b6210) +- [Tests] node 0.8 has an unpredictable property order; fix `groups` test by removing property [`f192069`](https://github.com/inspect-js/object-inspect/commit/f192069a978a3b60e6f0e0d45ac7df260ab9a778) +- [New] add enumerable properties to Function inspect result, per node’s `assert` [`fd38e1b`](https://github.com/inspect-js/object-inspect/commit/fd38e1bc3e2a1dc82091ce3e021917462eee64fc) +- [Tests] fix tests for node < 10, due to regex match `groups` [`2ac6462`](https://github.com/inspect-js/object-inspect/commit/2ac6462cc4f72eaa0b63a8cfee9aabe3008b2330) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config` [`44b59e2`](https://github.com/inspect-js/object-inspect/commit/44b59e2676a7f825ef530dfd19dafb599e3b9456) +- [Robustness] cache `Symbol.prototype.toString` [`f3c2074`](https://github.com/inspect-js/object-inspect/commit/f3c2074d8f32faf8292587c07c9678ea931703dd) +- [Dev Deps] update `eslint` [`9411294`](https://github.com/inspect-js/object-inspect/commit/94112944b9245e3302e25453277876402d207e7f) +- [meta] `require-allow-edits` no longer requires an explicit github token [`36c0220`](https://github.com/inspect-js/object-inspect/commit/36c02205de3c2b0e84d53777c5c9fd54a36c48ab) +- [actions] update rebase checkout action to v2 [`55a39a6`](https://github.com/inspect-js/object-inspect/commit/55a39a64e944f19c6a7d8efddf3df27700f20d14) +- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`f59fd3c`](https://github.com/inspect-js/object-inspect/commit/f59fd3cf406c3a7c7ece140904a80bbc6bacfcca) +- [Dev Deps] update `eslint` [`a492bec`](https://github.com/inspect-js/object-inspect/commit/a492becec644b0155c9c4bc1caf6f9fac11fb2c7) + +## [v1.8.0](https://github.com/inspect-js/object-inspect/compare/v1.7.0...v1.8.0) - 2020-06-18 + +### Fixed + +- [New] add `indent` option [`#27`](https://github.com/inspect-js/object-inspect/issues/27) + +### Commits + +- [Tests] add codecov [`4324cbb`](https://github.com/inspect-js/object-inspect/commit/4324cbb1a2bd7710822a4151ff373570db22453e) +- [New] add `maxStringLength` option [`b3995cb`](https://github.com/inspect-js/object-inspect/commit/b3995cb71e15b5ee127a3094c43994df9d973502) +- [New] add `customInspect` option, to disable custom inspect methods [`28b9179`](https://github.com/inspect-js/object-inspect/commit/28b9179ee802bb3b90810100c11637db90c2fb6d) +- [Tests] add Date and RegExp tests [`3b28eca`](https://github.com/inspect-js/object-inspect/commit/3b28eca57b0367aeadffac604ea09e8bdae7d97b) +- [actions] add automatic rebasing / merge commit blocking [`0d9c6c0`](https://github.com/inspect-js/object-inspect/commit/0d9c6c044e83475ff0bfffb9d35b149834c83a2e) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `core-js`, `tape`; add `aud` [`7c204f2`](https://github.com/inspect-js/object-inspect/commit/7c204f22b9e41bc97147f4d32d4cb045b17769a6) +- [readme] fix repo URLs, remove testling [`34ca9a0`](https://github.com/inspect-js/object-inspect/commit/34ca9a0dabfe75bd311f806a326fadad029909a3) +- [Fix] when truncating a deep array, note it as `[Array]` instead of just `[Object]` [`f74c82d`](https://github.com/inspect-js/object-inspect/commit/f74c82dd0b35386445510deb250f34c41be3ec0e) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`1a8a5ea`](https://github.com/inspect-js/object-inspect/commit/1a8a5ea069ea2bee89d77caedad83ffa23d35711) +- [Fix] do not be fooled by a function’s own `toString` method [`7cb5c65`](https://github.com/inspect-js/object-inspect/commit/7cb5c657a976f94715c19c10556a30f15bb7d5d7) +- [patch] indicate explicitly that anon functions are anonymous, to match node [`81ebdd4`](https://github.com/inspect-js/object-inspect/commit/81ebdd4215005144074bbdff3f6bafa01407910a) +- [Dev Deps] loosen the `core-js` dep [`e7472e8`](https://github.com/inspect-js/object-inspect/commit/e7472e8e242117670560bd995830c2a4d12080f5) +- [Dev Deps] update `tape` [`699827e`](https://github.com/inspect-js/object-inspect/commit/699827e6b37258b5203c33c78c009bf4b0e6a66d) +- [meta] add `safe-publish-latest` [`c5d2868`](https://github.com/inspect-js/object-inspect/commit/c5d2868d6eb33c472f37a20f89ceef2787046088) +- [Dev Deps] update `@ljharb/eslint-config` [`9199501`](https://github.com/inspect-js/object-inspect/commit/919950195d486114ccebacbdf9d74d7f382693b0) + +## [v1.7.0](https://github.com/inspect-js/object-inspect/compare/v1.6.0...v1.7.0) - 2019-11-10 + +### Commits + +- [Tests] use shared travis-ci configs [`19899ed`](https://github.com/inspect-js/object-inspect/commit/19899edbf31f4f8809acf745ce34ad1ce1bfa63b) +- [Tests] add linting [`a00f057`](https://github.com/inspect-js/object-inspect/commit/a00f057d917f66ea26dd37769c6b810ec4af97e8) +- [Tests] lint last file [`2698047`](https://github.com/inspect-js/object-inspect/commit/2698047b58af1e2e88061598ef37a75f228dddf6) +- [Tests] up to `node` `v12.7`, `v11.15`, `v10.16`, `v8.16`, `v6.17` [`589e87a`](https://github.com/inspect-js/object-inspect/commit/589e87a99cadcff4b600e6a303418e9d922836e8) +- [New] add support for `WeakMap` and `WeakSet` [`3ddb3e4`](https://github.com/inspect-js/object-inspect/commit/3ddb3e4e0c8287130c61a12e0ed9c104b1549306) +- [meta] clean up license so github can detect it properly [`27527bb`](https://github.com/inspect-js/object-inspect/commit/27527bb801520c9610c68cc3b55d6f20a2bee56d) +- [Tests] cover `util.inspect.custom` [`36d47b9`](https://github.com/inspect-js/object-inspect/commit/36d47b9c59056a57ef2f1491602c726359561800) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `core-js`, `tape` [`b614eaa`](https://github.com/inspect-js/object-inspect/commit/b614eaac901da0e5c69151f534671f990a94cace) +- [Tests] fix coverage thresholds [`7b7b176`](https://github.com/inspect-js/object-inspect/commit/7b7b176e15f8bd6e8b2f261ff5a493c2fe78d9c2) +- [Tests] bigint tests now can run on unflagged node [`063af31`](https://github.com/inspect-js/object-inspect/commit/063af31ce9cd13c202e3b67c07ba06dc9b7c0f81) +- [Refactor] add early bailout to `isMap` and `isSet` checks [`fc51047`](https://github.com/inspect-js/object-inspect/commit/fc5104714a3671d37e225813db79470d6335683b) +- [meta] add `funding` field [`7f9953a`](https://github.com/inspect-js/object-inspect/commit/7f9953a113eec7b064a6393cf9f90ba15f1d131b) +- [Tests] Fix invalid strict-mode syntax with hexadecimal [`a8b5425`](https://github.com/inspect-js/object-inspect/commit/a8b542503b4af1599a275209a1a99f5fdedb1ead) +- [Dev Deps] update `@ljharb/eslint-config` [`98df157`](https://github.com/inspect-js/object-inspect/commit/98df1577314d9188a3fc3f17fdcf2fba697ae1bd) +- add copyright to LICENSE [`bb69fd0`](https://github.com/inspect-js/object-inspect/commit/bb69fd017a062d299e44da1f9b2c7dcd67f621e6) +- [Tests] use `npx aud` in `posttest` [`4838353`](https://github.com/inspect-js/object-inspect/commit/4838353593974cf7f905b9ef04c03c094f0cdbe2) +- [Tests] move `0.6` to allowed failures, because it won‘t build on travis [`1bff32a`](https://github.com/inspect-js/object-inspect/commit/1bff32aa52e8aea687f0856b28ba754b3e43ebf7) + +## [v1.6.0](https://github.com/inspect-js/object-inspect/compare/v1.5.0...v1.6.0) - 2018-05-02 + +### Commits + +- [New] add support for boxed BigInt primitives [`356c66a`](https://github.com/inspect-js/object-inspect/commit/356c66a410e7aece7162c8319880a5ef647beaa9) +- [Tests] up to `node` `v10.0`, `v9.11`, `v8.11`, `v6.14`, `v4.9` [`c77b65b`](https://github.com/inspect-js/object-inspect/commit/c77b65bba593811b906b9ec57561c5cba92e2db3) +- [New] Add support for upcoming `BigInt` [`1ac548e`](https://github.com/inspect-js/object-inspect/commit/1ac548e4b27e26466c28c9a5e63e5d4e0591c31f) +- [Tests] run bigint tests in CI with --harmony-bigint flag [`d31b738`](https://github.com/inspect-js/object-inspect/commit/d31b73831880254b5c6cf5691cda9a149fbc5f04) +- [Dev Deps] update `core-js`, `tape` [`ff9eff6`](https://github.com/inspect-js/object-inspect/commit/ff9eff67113341ee1aaf80c1c22d683f43bfbccf) +- [Docs] fix example to use `safer-buffer` [`48cae12`](https://github.com/inspect-js/object-inspect/commit/48cae12a73ec6cacc955175bc56bbe6aee6a211f) + +## [v1.5.0](https://github.com/inspect-js/object-inspect/compare/v1.4.1...v1.5.0) - 2017-12-25 + +### Commits + +- [New] add `quoteStyle` option [`f5a72d2`](https://github.com/inspect-js/object-inspect/commit/f5a72d26edb3959b048f74c056ca7100a6b091e4) +- [Tests] add more test coverage [`30ebe4e`](https://github.com/inspect-js/object-inspect/commit/30ebe4e1fa943b99ecbb85be7614256d536e2759) +- [Tests] require 0.6 to pass [`99a008c`](https://github.com/inspect-js/object-inspect/commit/99a008ccace189a60fd7da18bf00e32c9572b980) + +## [v1.4.1](https://github.com/inspect-js/object-inspect/compare/v1.4.0...v1.4.1) - 2017-12-19 + +### Commits + +- [Tests] up to `node` `v9.3`, `v8.9`, `v6.12` [`6674476`](https://github.com/inspect-js/object-inspect/commit/6674476cc56acaac1bde96c84fed5ef631911906) +- [Fix] `inspect(Object(-0))` should be “Object(-0)”, not “Object(0)” [`d0a031f`](https://github.com/inspect-js/object-inspect/commit/d0a031f1cbb3024ee9982bfe364dd18a7e4d1bd3) + +## [v1.4.0](https://github.com/inspect-js/object-inspect/compare/v1.3.0...v1.4.0) - 2017-10-24 + +### Commits + +- [Tests] add `npm run coverage` [`3b48fb2`](https://github.com/inspect-js/object-inspect/commit/3b48fb25db037235eeb808f0b2830aad7aa36f70) +- [Tests] remove commented-out osx builds [`71e24db`](https://github.com/inspect-js/object-inspect/commit/71e24db8ad6ee3b9b381c5300b0475f2ba595a73) +- [New] add support for `util.inspect.custom`, in node only. [`20cca77`](https://github.com/inspect-js/object-inspect/commit/20cca7762d7e17f15b21a90793dff84acce155df) +- [Tests] up to `node` `v8.6`; use `nvm install-latest-npm` to ensure new npm doesn’t break old node [`252952d`](https://github.com/inspect-js/object-inspect/commit/252952d230d8065851dd3d4d5fe8398aae068529) +- [Tests] up to `node` `v8.8` [`4aa868d`](https://github.com/inspect-js/object-inspect/commit/4aa868d3a62914091d489dd6ec6eed194ee67cd3) +- [Dev Deps] update `core-js`, `tape` [`59483d1`](https://github.com/inspect-js/object-inspect/commit/59483d1df418f852f51fa0db7b24aa6b0209a27a) + +## [v1.3.0](https://github.com/inspect-js/object-inspect/compare/v1.2.2...v1.3.0) - 2017-07-31 + +### Fixed + +- [Fix] Map/Set: work around core-js bug < v2.5.0 [`#9`](https://github.com/inspect-js/object-inspect/issues/9) + +### Commits + +- [New] add support for arrays with additional object keys [`0d19937`](https://github.com/inspect-js/object-inspect/commit/0d199374ee37959e51539616666f420ccb29acb9) +- [Tests] up to `node` `v8.2`, `v7.10`, `v6.11`; fix new npm breaking on older nodes [`e24784a`](https://github.com/inspect-js/object-inspect/commit/e24784a90c49117787157a12a63897c49cf89bbb) +- Only apps should have lockfiles [`c6faebc`](https://github.com/inspect-js/object-inspect/commit/c6faebcb2ee486a889a4a1c4d78c0776c7576185) +- [Dev Deps] update `tape` [`7345a0a`](https://github.com/inspect-js/object-inspect/commit/7345a0aeba7e91b888a079c10004d17696a7f586) + +## [v1.2.2](https://github.com/inspect-js/object-inspect/compare/v1.2.1...v1.2.2) - 2017-03-24 + +### Commits + +- [Tests] up to `node` `v7.7`, `v6.10`, `v4.8`; improve test matrix [`a2ddc15`](https://github.com/inspect-js/object-inspect/commit/a2ddc15a1f2c65af18076eea1c0eb9cbceb478a0) +- [Tests] up to `node` `v7.0`, `v6.9`, `v5.12`, `v4.6`, `io.js` `v3.3`; improve test matrix [`a48949f`](https://github.com/inspect-js/object-inspect/commit/a48949f6b574b2d4d2298109d8e8d0eb3e7a83e7) +- [Performance] check for primitive types as early as possible. [`3b8092a`](https://github.com/inspect-js/object-inspect/commit/3b8092a2a4deffd0575f94334f00194e2d48dad3) +- [Refactor] remove unneeded `else`s. [`7255034`](https://github.com/inspect-js/object-inspect/commit/725503402e08de4f96f6bf2d8edef44ac36f26b6) +- [Refactor] avoid recreating `lowbyte` function every time. [`81edd34`](https://github.com/inspect-js/object-inspect/commit/81edd3475bd15bdd18e84de7472033dcf5004aaa) +- [Fix] differentiate -0 from 0 [`521d345`](https://github.com/inspect-js/object-inspect/commit/521d3456b009da7bf1c5785c8a9df5a9f8718264) +- [Refactor] move object key gathering into separate function [`aca6265`](https://github.com/inspect-js/object-inspect/commit/aca626536eaeef697196c6e9db3e90e7e0355b6a) +- [Refactor] consolidate wrapping logic for boxed primitives into a function. [`4e440cd`](https://github.com/inspect-js/object-inspect/commit/4e440cd9065df04802a2a1dead03f48c353ca301) +- [Robustness] use `typeof` instead of comparing to literal `undefined` [`5ca6f60`](https://github.com/inspect-js/object-inspect/commit/5ca6f601937506daff8ed2fcf686363b55807b69) +- [Refactor] consolidate Map/Set notations. [`4e576e5`](https://github.com/inspect-js/object-inspect/commit/4e576e5d7ed2f9ec3fb7f37a0d16732eb10758a9) +- [Tests] ensure that this function remains anonymous, despite ES6 name inference. [`7540ae5`](https://github.com/inspect-js/object-inspect/commit/7540ae591278756db614fa4def55ca413150e1a3) +- [Refactor] explicitly coerce Error objects to strings. [`7f4ca84`](https://github.com/inspect-js/object-inspect/commit/7f4ca8424ee8dc2c0ca5a422d94f7fac40327261) +- [Refactor] split up `var` declarations for debuggability [`6f2c11e`](https://github.com/inspect-js/object-inspect/commit/6f2c11e6a85418586a00292dcec5e97683f89bc3) +- [Robustness] cache `Object.prototype.toString` [`df44a20`](https://github.com/inspect-js/object-inspect/commit/df44a20adfccf31529d60d1df2079bfc3c836e27) +- [Dev Deps] update `tape` [`3ec714e`](https://github.com/inspect-js/object-inspect/commit/3ec714eba57bc3f58a6eb4fca1376f49e70d300a) +- [Dev Deps] update `tape` [`beb72d9`](https://github.com/inspect-js/object-inspect/commit/beb72d969653747d7cde300393c28755375329b0) + +## [v1.2.1](https://github.com/inspect-js/object-inspect/compare/v1.2.0...v1.2.1) - 2016-04-09 + +### Fixed + +- [Fix] fix Boolean `false` object inspection. [`#7`](https://github.com/substack/object-inspect/pull/7) + +## [v1.2.0](https://github.com/inspect-js/object-inspect/compare/v1.1.0...v1.2.0) - 2016-04-09 + +### Fixed + +- [New] add support for inspecting String/Number/Boolean objects. [`#6`](https://github.com/inspect-js/object-inspect/issues/6) + +### Commits + +- [Dev Deps] update `tape` [`742caa2`](https://github.com/inspect-js/object-inspect/commit/742caa262cf7af4c815d4821c8bd0129c1446432) + +## [v1.1.0](https://github.com/inspect-js/object-inspect/compare/1.0.2...v1.1.0) - 2015-12-14 + +### Merged + +- [New] add ES6 Map/Set support. [`#4`](https://github.com/inspect-js/object-inspect/pull/4) + +### Fixed + +- [New] add ES6 Map/Set support. [`#3`](https://github.com/inspect-js/object-inspect/issues/3) + +### Commits + +- Update `travis.yml` to test on bunches of `iojs` and `node` versions. [`4c1fd65`](https://github.com/inspect-js/object-inspect/commit/4c1fd65cc3bd95307e854d114b90478324287fd2) +- [Dev Deps] update `tape` [`88a907e`](https://github.com/inspect-js/object-inspect/commit/88a907e33afbe408e4b5d6e4e42a33143f88848c) + +## [1.0.2](https://github.com/inspect-js/object-inspect/compare/1.0.1...1.0.2) - 2015-08-07 + +### Commits + +- [Fix] Cache `Object.prototype.hasOwnProperty` in case it's deleted later. [`1d0075d`](https://github.com/inspect-js/object-inspect/commit/1d0075d3091dc82246feeb1f9871cb2b8ed227b3) +- [Dev Deps] Update `tape` [`ca8d5d7`](https://github.com/inspect-js/object-inspect/commit/ca8d5d75635ddbf76f944e628267581e04958457) +- gitignore node_modules since this is a reusable modules. [`ed41407`](https://github.com/inspect-js/object-inspect/commit/ed41407811743ca530cdeb28f982beb96026af82) + +## [1.0.1](https://github.com/inspect-js/object-inspect/compare/1.0.0...1.0.1) - 2015-07-19 + +### Commits + +- Make `inspect` work with symbol primitives and objects, including in node 0.11 and 0.12. [`ddf1b94`](https://github.com/inspect-js/object-inspect/commit/ddf1b94475ab951f1e3bccdc0a48e9073cfbfef4) +- bump tape [`103d674`](https://github.com/inspect-js/object-inspect/commit/103d67496b504bdcfdd765d303a773f87ec106e2) +- use newer travis config [`d497276`](https://github.com/inspect-js/object-inspect/commit/d497276c1da14234bb5098a59cf20de75fbc316a) + +## [1.0.0](https://github.com/inspect-js/object-inspect/compare/0.4.0...1.0.0) - 2014-08-05 + +### Commits + +- error inspect works properly [`260a22d`](https://github.com/inspect-js/object-inspect/commit/260a22d134d3a8a482c67d52091c6040c34f4299) +- seen coverage [`57269e8`](https://github.com/inspect-js/object-inspect/commit/57269e8baa992a7439047f47325111fdcbcb8417) +- htmlelement instance coverage [`397ffe1`](https://github.com/inspect-js/object-inspect/commit/397ffe10a1980350868043ef9de65686d438979f) +- more element coverage [`6905cc2`](https://github.com/inspect-js/object-inspect/commit/6905cc2f7df35600177e613b0642b4df5efd3eca) +- failing test for type errors [`385b615`](https://github.com/inspect-js/object-inspect/commit/385b6152e49b51b68449a662f410b084ed7c601a) +- fn name coverage [`edc906d`](https://github.com/inspect-js/object-inspect/commit/edc906d40fca6b9194d304062c037ee8e398c4c2) +- server-side element test [`362d1d3`](https://github.com/inspect-js/object-inspect/commit/362d1d3e86f187651c29feeb8478110afada385b) +- custom inspect fn [`e89b0f6`](https://github.com/inspect-js/object-inspect/commit/e89b0f6fe6d5e03681282af83732a509160435a6) +- fixed browser test [`b530882`](https://github.com/inspect-js/object-inspect/commit/b5308824a1c8471c5617e394766a03a6977102a9) +- depth test, matches node [`1cfd9e0`](https://github.com/inspect-js/object-inspect/commit/1cfd9e0285a4ae1dff44101ad482915d9bf47e48) +- exercise hasOwnProperty path [`8d753fb`](https://github.com/inspect-js/object-inspect/commit/8d753fb362a534fa1106e4d80f2ee9bea06a66d9) +- more cases covered for errors [`c5c46a5`](https://github.com/inspect-js/object-inspect/commit/c5c46a569ec4606583497e8550f0d8c7ad39a4a4) +- \W obj key test case [`b0eceee`](https://github.com/inspect-js/object-inspect/commit/b0eceeea6e0eb94d686c1046e99b9e25e5005f75) +- coverage for explicit depth param [`e12b91c`](https://github.com/inspect-js/object-inspect/commit/e12b91cd59683362f3a0e80f46481a0211e26c15) + +## [0.4.0](https://github.com/inspect-js/object-inspect/compare/0.3.1...0.4.0) - 2014-03-21 + +### Commits + +- passing lowbyte interpolation test [`b847511`](https://github.com/inspect-js/object-inspect/commit/b8475114f5def7e7961c5353d48d3d8d9a520985) +- lowbyte test [`4a2b0e1`](https://github.com/inspect-js/object-inspect/commit/4a2b0e142667fc933f195472759385ac08f3946c) + +## [0.3.1](https://github.com/inspect-js/object-inspect/compare/0.3.0...0.3.1) - 2014-03-04 + +### Commits + +- sort keys [`a07b19c`](https://github.com/inspect-js/object-inspect/commit/a07b19cc3b1521a82d4fafb6368b7a9775428a05) + +## [0.3.0](https://github.com/inspect-js/object-inspect/compare/0.2.0...0.3.0) - 2014-03-04 + +### Commits + +- [] and {} instead of [ ] and { } [`654c44b`](https://github.com/inspect-js/object-inspect/commit/654c44b2865811f3519e57bb8526e0821caf5c6b) + +## [0.2.0](https://github.com/inspect-js/object-inspect/compare/0.1.3...0.2.0) - 2014-03-04 + +### Commits + +- failing holes test [`99cdfad`](https://github.com/inspect-js/object-inspect/commit/99cdfad03c6474740275a75636fe6ca86c77737a) +- regex already work [`e324033`](https://github.com/inspect-js/object-inspect/commit/e324033267025995ec97d32ed0a65737c99477a6) +- failing undef/null test [`1f88a00`](https://github.com/inspect-js/object-inspect/commit/1f88a00265d3209719dda8117b7e6360b4c20943) +- holes in the all example [`7d345f3`](https://github.com/inspect-js/object-inspect/commit/7d345f3676dcbe980cff89a4f6c243269ebbb709) +- check for .inspect(), fixes Buffer use-case [`c3f7546`](https://github.com/inspect-js/object-inspect/commit/c3f75466dbca125347d49847c05262c292f12b79) +- fixes for holes [`ce25f73`](https://github.com/inspect-js/object-inspect/commit/ce25f736683de4b92ff27dc5471218415e2d78d8) +- weird null behavior [`405c1ea`](https://github.com/inspect-js/object-inspect/commit/405c1ea72cd5a8cf3b498c3eaa903d01b9fbcab5) +- tape is actually a devDependency, upgrade [`703b0ce`](https://github.com/inspect-js/object-inspect/commit/703b0ce6c5817b4245a082564bccd877e0bb6990) +- put date in the example [`a342219`](https://github.com/inspect-js/object-inspect/commit/a3422190eeaa013215f46df2d0d37b48595ac058) +- passing the null test [`4ab737e`](https://github.com/inspect-js/object-inspect/commit/4ab737ebf862a75d247ebe51e79307a34d6380d4) + +## [0.1.3](https://github.com/inspect-js/object-inspect/compare/0.1.1...0.1.3) - 2013-07-26 + +### Commits + +- special isElement() check [`882768a`](https://github.com/inspect-js/object-inspect/commit/882768a54035d30747be9de1baf14e5aa0daa128) +- oh right old IEs don't have indexOf either [`36d1275`](https://github.com/inspect-js/object-inspect/commit/36d12756c38b08a74370b0bb696c809e529913a5) + +## [0.1.1](https://github.com/inspect-js/object-inspect/compare/0.1.0...0.1.1) - 2013-07-26 + +### Commits + +- tests! [`4422fd9`](https://github.com/inspect-js/object-inspect/commit/4422fd95532c2745aa6c4f786f35f1090be29998) +- fix for ie<9, doesn't have hasOwnProperty [`6b7d611`](https://github.com/inspect-js/object-inspect/commit/6b7d61183050f6da801ea04473211da226482613) +- fix for all IEs: no f.name [`4e0c2f6`](https://github.com/inspect-js/object-inspect/commit/4e0c2f6dfd01c306d067d7163319acc97c94ee50) +- badges [`5ed0d88`](https://github.com/inspect-js/object-inspect/commit/5ed0d88e4e407f9cb327fa4a146c17921f9680f3) + +## [0.1.0](https://github.com/inspect-js/object-inspect/compare/0.0.0...0.1.0) - 2013-07-26 + +### Commits + +- [Function] for functions [`ad5c485`](https://github.com/inspect-js/object-inspect/commit/ad5c485098fc83352cb540a60b2548ca56820e0b) + +## 0.0.0 - 2013-07-26 + +### Commits + +- working browser example [`34be6b6`](https://github.com/inspect-js/object-inspect/commit/34be6b6548f9ce92bdc3c27572857ba0c4a1218d) +- package.json etc [`cad51f2`](https://github.com/inspect-js/object-inspect/commit/cad51f23fc6bcf1a456ed6abe16088256c2f632f) +- docs complete [`b80cce2`](https://github.com/inspect-js/object-inspect/commit/b80cce2490c4e7183a9ee11ea89071f0abec4446) +- circular example [`4b4a7b9`](https://github.com/inspect-js/object-inspect/commit/4b4a7b92209e4e6b4630976cb6bcd17d14165a59) +- string rep [`7afb479`](https://github.com/inspect-js/object-inspect/commit/7afb479baa798d27f09e0a178b72ea327f60f5c8) diff --git a/node_modules/object-inspect/LICENSE b/node_modules/object-inspect/LICENSE new file mode 100644 index 0000000..ca64cc1 --- /dev/null +++ b/node_modules/object-inspect/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2013 James Halliday + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/object-inspect/example/all.js b/node_modules/object-inspect/example/all.js new file mode 100644 index 0000000..2f3355c --- /dev/null +++ b/node_modules/object-inspect/example/all.js @@ -0,0 +1,23 @@ +'use strict'; + +var inspect = require('../'); +var Buffer = require('safer-buffer').Buffer; + +var holes = ['a', 'b']; +holes[4] = 'e'; +holes[6] = 'g'; + +var obj = { + a: 1, + b: [3, 4, undefined, null], + c: undefined, + d: null, + e: { + regex: /^x/i, + buf: Buffer.from('abc'), + holes: holes + }, + now: new Date() +}; +obj.self = obj; +console.log(inspect(obj)); diff --git a/node_modules/object-inspect/example/circular.js b/node_modules/object-inspect/example/circular.js new file mode 100644 index 0000000..487a7c1 --- /dev/null +++ b/node_modules/object-inspect/example/circular.js @@ -0,0 +1,6 @@ +'use strict'; + +var inspect = require('../'); +var obj = { a: 1, b: [3, 4] }; +obj.c = obj; +console.log(inspect(obj)); diff --git a/node_modules/object-inspect/example/fn.js b/node_modules/object-inspect/example/fn.js new file mode 100644 index 0000000..9b5db8d --- /dev/null +++ b/node_modules/object-inspect/example/fn.js @@ -0,0 +1,5 @@ +'use strict'; + +var inspect = require('../'); +var obj = [1, 2, function f(n) { return n + 5; }, 4]; +console.log(inspect(obj)); diff --git a/node_modules/object-inspect/example/inspect.js b/node_modules/object-inspect/example/inspect.js new file mode 100644 index 0000000..e2df7c9 --- /dev/null +++ b/node_modules/object-inspect/example/inspect.js @@ -0,0 +1,10 @@ +'use strict'; + +/* eslint-env browser */ +var inspect = require('../'); + +var d = document.createElement('div'); +d.setAttribute('id', 'beep'); +d.innerHTML = 'woooiiiii'; + +console.log(inspect([d, { a: 3, b: 4, c: [5, 6, [7, [8, [9]]]] }])); diff --git a/node_modules/object-inspect/index.js b/node_modules/object-inspect/index.js new file mode 100644 index 0000000..a4b2d4c --- /dev/null +++ b/node_modules/object-inspect/index.js @@ -0,0 +1,544 @@ +var hasMap = typeof Map === 'function' && Map.prototype; +var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null; +var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null; +var mapForEach = hasMap && Map.prototype.forEach; +var hasSet = typeof Set === 'function' && Set.prototype; +var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null; +var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null; +var setForEach = hasSet && Set.prototype.forEach; +var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype; +var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null; +var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype; +var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null; +var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype; +var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null; +var booleanValueOf = Boolean.prototype.valueOf; +var objectToString = Object.prototype.toString; +var functionToString = Function.prototype.toString; +var $match = String.prototype.match; +var $slice = String.prototype.slice; +var $replace = String.prototype.replace; +var $toUpperCase = String.prototype.toUpperCase; +var $toLowerCase = String.prototype.toLowerCase; +var $test = RegExp.prototype.test; +var $concat = Array.prototype.concat; +var $join = Array.prototype.join; +var $arrSlice = Array.prototype.slice; +var $floor = Math.floor; +var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null; +var gOPS = Object.getOwnPropertySymbols; +var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null; +var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object'; +// ie, `has-tostringtag/shams +var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol') + ? Symbol.toStringTag + : null; +var isEnumerable = Object.prototype.propertyIsEnumerable; + +var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ( + [].__proto__ === Array.prototype // eslint-disable-line no-proto + ? function (O) { + return O.__proto__; // eslint-disable-line no-proto + } + : null +); + +function addNumericSeparator(num, str) { + if ( + num === Infinity + || num === -Infinity + || num !== num + || (num && num > -1000 && num < 1000) + || $test.call(/e/, str) + ) { + return str; + } + var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g; + if (typeof num === 'number') { + var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num) + if (int !== num) { + var intStr = String(int); + var dec = $slice.call(str, intStr.length + 1); + return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, ''); + } + } + return $replace.call(str, sepRegex, '$&_'); +} + +var utilInspect = require('./util.inspect'); +var inspectCustom = utilInspect.custom; +var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null; + +var quotes = { + __proto__: null, + 'double': '"', + single: "'" +}; +var quoteREs = { + __proto__: null, + 'double': /(["\\])/g, + single: /(['\\])/g +}; + +module.exports = function inspect_(obj, options, depth, seen) { + var opts = options || {}; + + if (has(opts, 'quoteStyle') && !has(quotes, opts.quoteStyle)) { + throw new TypeError('option "quoteStyle" must be "single" or "double"'); + } + if ( + has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number' + ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity + : opts.maxStringLength !== null + ) + ) { + throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'); + } + var customInspect = has(opts, 'customInspect') ? opts.customInspect : true; + if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') { + throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`'); + } + + if ( + has(opts, 'indent') + && opts.indent !== null + && opts.indent !== '\t' + && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0) + ) { + throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`'); + } + if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') { + throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`'); + } + var numericSeparator = opts.numericSeparator; + + if (typeof obj === 'undefined') { + return 'undefined'; + } + if (obj === null) { + return 'null'; + } + if (typeof obj === 'boolean') { + return obj ? 'true' : 'false'; + } + + if (typeof obj === 'string') { + return inspectString(obj, opts); + } + if (typeof obj === 'number') { + if (obj === 0) { + return Infinity / obj > 0 ? '0' : '-0'; + } + var str = String(obj); + return numericSeparator ? addNumericSeparator(obj, str) : str; + } + if (typeof obj === 'bigint') { + var bigIntStr = String(obj) + 'n'; + return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr; + } + + var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth; + if (typeof depth === 'undefined') { depth = 0; } + if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') { + return isArray(obj) ? '[Array]' : '[Object]'; + } + + var indent = getIndent(opts, depth); + + if (typeof seen === 'undefined') { + seen = []; + } else if (indexOf(seen, obj) >= 0) { + return '[Circular]'; + } + + function inspect(value, from, noIndent) { + if (from) { + seen = $arrSlice.call(seen); + seen.push(from); + } + if (noIndent) { + var newOpts = { + depth: opts.depth + }; + if (has(opts, 'quoteStyle')) { + newOpts.quoteStyle = opts.quoteStyle; + } + return inspect_(value, newOpts, depth + 1, seen); + } + return inspect_(value, opts, depth + 1, seen); + } + + if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable + var name = nameOf(obj); + var keys = arrObjKeys(obj, inspect); + return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : ''); + } + if (isSymbol(obj)) { + var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj); + return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString; + } + if (isElement(obj)) { + var s = '<' + $toLowerCase.call(String(obj.nodeName)); + var attrs = obj.attributes || []; + for (var i = 0; i < attrs.length; i++) { + s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts); + } + s += '>'; + if (obj.childNodes && obj.childNodes.length) { s += '...'; } + s += ''; + return s; + } + if (isArray(obj)) { + if (obj.length === 0) { return '[]'; } + var xs = arrObjKeys(obj, inspect); + if (indent && !singleLineValues(xs)) { + return '[' + indentedJoin(xs, indent) + ']'; + } + return '[ ' + $join.call(xs, ', ') + ' ]'; + } + if (isError(obj)) { + var parts = arrObjKeys(obj, inspect); + if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) { + return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }'; + } + if (parts.length === 0) { return '[' + String(obj) + ']'; } + return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }'; + } + if (typeof obj === 'object' && customInspect) { + if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) { + return utilInspect(obj, { depth: maxDepth - depth }); + } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') { + return obj.inspect(); + } + } + if (isMap(obj)) { + var mapParts = []; + if (mapForEach) { + mapForEach.call(obj, function (value, key) { + mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj)); + }); + } + return collectionOf('Map', mapSize.call(obj), mapParts, indent); + } + if (isSet(obj)) { + var setParts = []; + if (setForEach) { + setForEach.call(obj, function (value) { + setParts.push(inspect(value, obj)); + }); + } + return collectionOf('Set', setSize.call(obj), setParts, indent); + } + if (isWeakMap(obj)) { + return weakCollectionOf('WeakMap'); + } + if (isWeakSet(obj)) { + return weakCollectionOf('WeakSet'); + } + if (isWeakRef(obj)) { + return weakCollectionOf('WeakRef'); + } + if (isNumber(obj)) { + return markBoxed(inspect(Number(obj))); + } + if (isBigInt(obj)) { + return markBoxed(inspect(bigIntValueOf.call(obj))); + } + if (isBoolean(obj)) { + return markBoxed(booleanValueOf.call(obj)); + } + if (isString(obj)) { + return markBoxed(inspect(String(obj))); + } + // note: in IE 8, sometimes `global !== window` but both are the prototypes of each other + /* eslint-env browser */ + if (typeof window !== 'undefined' && obj === window) { + return '{ [object Window] }'; + } + if ( + (typeof globalThis !== 'undefined' && obj === globalThis) + || (typeof global !== 'undefined' && obj === global) + ) { + return '{ [object globalThis] }'; + } + if (!isDate(obj) && !isRegExp(obj)) { + var ys = arrObjKeys(obj, inspect); + var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object; + var protoTag = obj instanceof Object ? '' : 'null prototype'; + var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : ''; + var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : ''; + var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : ''); + if (ys.length === 0) { return tag + '{}'; } + if (indent) { + return tag + '{' + indentedJoin(ys, indent) + '}'; + } + return tag + '{ ' + $join.call(ys, ', ') + ' }'; + } + return String(obj); +}; + +function wrapQuotes(s, defaultStyle, opts) { + var style = opts.quoteStyle || defaultStyle; + var quoteChar = quotes[style]; + return quoteChar + s + quoteChar; +} + +function quote(s) { + return $replace.call(String(s), /"/g, '"'); +} + +function canTrustToString(obj) { + return !toStringTag || !(typeof obj === 'object' && (toStringTag in obj || typeof obj[toStringTag] !== 'undefined')); +} +function isArray(obj) { return toStr(obj) === '[object Array]' && canTrustToString(obj); } +function isDate(obj) { return toStr(obj) === '[object Date]' && canTrustToString(obj); } +function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && canTrustToString(obj); } +function isError(obj) { return toStr(obj) === '[object Error]' && canTrustToString(obj); } +function isString(obj) { return toStr(obj) === '[object String]' && canTrustToString(obj); } +function isNumber(obj) { return toStr(obj) === '[object Number]' && canTrustToString(obj); } +function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && canTrustToString(obj); } + +// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives +function isSymbol(obj) { + if (hasShammedSymbols) { + return obj && typeof obj === 'object' && obj instanceof Symbol; + } + if (typeof obj === 'symbol') { + return true; + } + if (!obj || typeof obj !== 'object' || !symToString) { + return false; + } + try { + symToString.call(obj); + return true; + } catch (e) {} + return false; +} + +function isBigInt(obj) { + if (!obj || typeof obj !== 'object' || !bigIntValueOf) { + return false; + } + try { + bigIntValueOf.call(obj); + return true; + } catch (e) {} + return false; +} + +var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; }; +function has(obj, key) { + return hasOwn.call(obj, key); +} + +function toStr(obj) { + return objectToString.call(obj); +} + +function nameOf(f) { + if (f.name) { return f.name; } + var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/); + if (m) { return m[1]; } + return null; +} + +function indexOf(xs, x) { + if (xs.indexOf) { return xs.indexOf(x); } + for (var i = 0, l = xs.length; i < l; i++) { + if (xs[i] === x) { return i; } + } + return -1; +} + +function isMap(x) { + if (!mapSize || !x || typeof x !== 'object') { + return false; + } + try { + mapSize.call(x); + try { + setSize.call(x); + } catch (s) { + return true; + } + return x instanceof Map; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakMap(x) { + if (!weakMapHas || !x || typeof x !== 'object') { + return false; + } + try { + weakMapHas.call(x, weakMapHas); + try { + weakSetHas.call(x, weakSetHas); + } catch (s) { + return true; + } + return x instanceof WeakMap; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakRef(x) { + if (!weakRefDeref || !x || typeof x !== 'object') { + return false; + } + try { + weakRefDeref.call(x); + return true; + } catch (e) {} + return false; +} + +function isSet(x) { + if (!setSize || !x || typeof x !== 'object') { + return false; + } + try { + setSize.call(x); + try { + mapSize.call(x); + } catch (m) { + return true; + } + return x instanceof Set; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakSet(x) { + if (!weakSetHas || !x || typeof x !== 'object') { + return false; + } + try { + weakSetHas.call(x, weakSetHas); + try { + weakMapHas.call(x, weakMapHas); + } catch (s) { + return true; + } + return x instanceof WeakSet; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isElement(x) { + if (!x || typeof x !== 'object') { return false; } + if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) { + return true; + } + return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function'; +} + +function inspectString(str, opts) { + if (str.length > opts.maxStringLength) { + var remaining = str.length - opts.maxStringLength; + var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : ''); + return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer; + } + var quoteRE = quoteREs[opts.quoteStyle || 'single']; + quoteRE.lastIndex = 0; + // eslint-disable-next-line no-control-regex + var s = $replace.call($replace.call(str, quoteRE, '\\$1'), /[\x00-\x1f]/g, lowbyte); + return wrapQuotes(s, 'single', opts); +} + +function lowbyte(c) { + var n = c.charCodeAt(0); + var x = { + 8: 'b', + 9: 't', + 10: 'n', + 12: 'f', + 13: 'r' + }[n]; + if (x) { return '\\' + x; } + return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16)); +} + +function markBoxed(str) { + return 'Object(' + str + ')'; +} + +function weakCollectionOf(type) { + return type + ' { ? }'; +} + +function collectionOf(type, size, entries, indent) { + var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', '); + return type + ' (' + size + ') {' + joinedEntries + '}'; +} + +function singleLineValues(xs) { + for (var i = 0; i < xs.length; i++) { + if (indexOf(xs[i], '\n') >= 0) { + return false; + } + } + return true; +} + +function getIndent(opts, depth) { + var baseIndent; + if (opts.indent === '\t') { + baseIndent = '\t'; + } else if (typeof opts.indent === 'number' && opts.indent > 0) { + baseIndent = $join.call(Array(opts.indent + 1), ' '); + } else { + return null; + } + return { + base: baseIndent, + prev: $join.call(Array(depth + 1), baseIndent) + }; +} + +function indentedJoin(xs, indent) { + if (xs.length === 0) { return ''; } + var lineJoiner = '\n' + indent.prev + indent.base; + return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev; +} + +function arrObjKeys(obj, inspect) { + var isArr = isArray(obj); + var xs = []; + if (isArr) { + xs.length = obj.length; + for (var i = 0; i < obj.length; i++) { + xs[i] = has(obj, i) ? inspect(obj[i], obj) : ''; + } + } + var syms = typeof gOPS === 'function' ? gOPS(obj) : []; + var symMap; + if (hasShammedSymbols) { + symMap = {}; + for (var k = 0; k < syms.length; k++) { + symMap['$' + syms[k]] = syms[k]; + } + } + + for (var key in obj) { // eslint-disable-line no-restricted-syntax + if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue + if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue + if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) { + // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section + continue; // eslint-disable-line no-restricted-syntax, no-continue + } else if ($test.call(/[^\w$]/, key)) { + xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj)); + } else { + xs.push(key + ': ' + inspect(obj[key], obj)); + } + } + if (typeof gOPS === 'function') { + for (var j = 0; j < syms.length; j++) { + if (isEnumerable.call(obj, syms[j])) { + xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj)); + } + } + } + return xs; +} diff --git a/node_modules/object-inspect/package-support.json b/node_modules/object-inspect/package-support.json new file mode 100644 index 0000000..5cc12d0 --- /dev/null +++ b/node_modules/object-inspect/package-support.json @@ -0,0 +1,20 @@ +{ + "versions": [ + { + "version": "*", + "target": { + "node": "all" + }, + "response": { + "type": "time-permitting" + }, + "backing": { + "npm-funding": true, + "donations": [ + "https://github.com/ljharb", + "https://tidelift.com/funding/github/npm/object-inspect" + ] + } + } + ] +} diff --git a/node_modules/object-inspect/package.json b/node_modules/object-inspect/package.json new file mode 100644 index 0000000..9fd97ff --- /dev/null +++ b/node_modules/object-inspect/package.json @@ -0,0 +1,105 @@ +{ + "name": "object-inspect", + "version": "1.13.4", + "description": "string representations of objects in node and the browser", + "main": "index.js", + "sideEffects": false, + "devDependencies": { + "@ljharb/eslint-config": "^21.1.1", + "@pkgjs/support": "^0.0.6", + "auto-changelog": "^2.5.0", + "core-js": "^2.6.12", + "error-cause": "^1.0.8", + "es-value-fixtures": "^1.7.1", + "eslint": "=8.8.0", + "for-each": "^0.3.4", + "functions-have-names": "^1.2.3", + "glob": "=10.3.7", + "globalthis": "^1.0.4", + "has-symbols": "^1.1.0", + "has-tostringtag": "^1.0.2", + "in-publish": "^2.0.1", + "jackspeak": "=2.1.1", + "make-arrow-function": "^1.2.0", + "mock-property": "^1.1.0", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "safer-buffer": "^2.1.2", + "semver": "^6.3.1", + "string.prototype.repeat": "^1.0.0", + "tape": "^5.9.0" + }, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "pretest": "npm run lint", + "lint": "eslint --ext=js,mjs .", + "postlint": "npx @pkgjs/support validate", + "test": "npm run tests-only && npm run test:corejs", + "tests-only": "nyc tape 'test/*.js'", + "test:corejs": "nyc tape test-core-js.js 'test/*.js'", + "posttest": "npx npm@'>=10.2' audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "testling": { + "files": [ + "test/*.js", + "test/browser/*.js" + ], + "browsers": [ + "ie/6..latest", + "chrome/latest", + "firefox/latest", + "safari/latest", + "opera/latest", + "iphone/latest", + "ipad/latest", + "android/latest" + ] + }, + "repository": { + "type": "git", + "url": "git://github.com/inspect-js/object-inspect.git" + }, + "homepage": "https://github.com/inspect-js/object-inspect", + "keywords": [ + "inspect", + "util.inspect", + "object", + "stringify", + "pretty" + ], + "author": { + "name": "James Halliday", + "email": "mail@substack.net", + "url": "http://substack.net" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "browser": { + "./util.inspect.js": false + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows", + "./test-core-js.js" + ] + }, + "support": true, + "engines": { + "node": ">= 0.4" + } +} diff --git a/node_modules/object-inspect/readme.markdown b/node_modules/object-inspect/readme.markdown new file mode 100644 index 0000000..f91617d --- /dev/null +++ b/node_modules/object-inspect/readme.markdown @@ -0,0 +1,84 @@ +# object-inspect [![Version Badge][npm-version-svg]][package-url] + +string representations of objects in node and the browser + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +# example + +## circular + +``` js +var inspect = require('object-inspect'); +var obj = { a: 1, b: [3,4] }; +obj.c = obj; +console.log(inspect(obj)); +``` + +## dom element + +``` js +var inspect = require('object-inspect'); + +var d = document.createElement('div'); +d.setAttribute('id', 'beep'); +d.innerHTML = 'woooiiiii'; + +console.log(inspect([ d, { a: 3, b : 4, c: [5,6,[7,[8,[9]]]] } ])); +``` + +output: + +``` +[
      ...
      , { a: 3, b: 4, c: [ 5, 6, [ 7, [ 8, [ ... ] ] ] ] } ] +``` + +# methods + +``` js +var inspect = require('object-inspect') +``` + +## var s = inspect(obj, opts={}) + +Return a string `s` with the string representation of `obj` up to a depth of `opts.depth`. + +Additional options: + - `quoteStyle`: must be "single" or "double", if present. Default `'single'` for strings, `'double'` for HTML elements. + - `maxStringLength`: must be `0`, a positive integer, `Infinity`, or `null`, if present. Default `Infinity`. + - `customInspect`: When `true`, a custom inspect method function will be invoked (either undere the `util.inspect.custom` symbol, or the `inspect` property). When the string `'symbol'`, only the symbol method will be invoked. Default `true`. + - `indent`: must be "\t", `null`, or a positive integer. Default `null`. + - `numericSeparator`: must be a boolean, if present. Default `false`. If `true`, all numbers will be printed with numeric separators (eg, `1234.5678` will be printed as `'1_234.567_8'`) + +# install + +With [npm](https://npmjs.org) do: + +``` +npm install object-inspect +``` + +# license + +MIT + +[package-url]: https://npmjs.org/package/object-inspect +[npm-version-svg]: https://versionbadg.es/inspect-js/object-inspect.svg +[deps-svg]: https://david-dm.org/inspect-js/object-inspect.svg +[deps-url]: https://david-dm.org/inspect-js/object-inspect +[dev-deps-svg]: https://david-dm.org/inspect-js/object-inspect/dev-status.svg +[dev-deps-url]: https://david-dm.org/inspect-js/object-inspect#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/object-inspect.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/object-inspect.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/object-inspect.svg +[downloads-url]: https://npm-stat.com/charts.html?package=object-inspect +[codecov-image]: https://codecov.io/gh/inspect-js/object-inspect/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/inspect-js/object-inspect/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/object-inspect +[actions-url]: https://github.com/inspect-js/object-inspect/actions diff --git a/node_modules/object-inspect/test-core-js.js b/node_modules/object-inspect/test-core-js.js new file mode 100644 index 0000000..e53c400 --- /dev/null +++ b/node_modules/object-inspect/test-core-js.js @@ -0,0 +1,26 @@ +'use strict'; + +require('core-js'); + +var inspect = require('./'); +var test = require('tape'); + +test('Maps', function (t) { + t.equal(inspect(new Map([[1, 2]])), 'Map (1) {1 => 2}'); + t.end(); +}); + +test('WeakMaps', function (t) { + t.equal(inspect(new WeakMap([[{}, 2]])), 'WeakMap { ? }'); + t.end(); +}); + +test('Sets', function (t) { + t.equal(inspect(new Set([[1, 2]])), 'Set (1) {[ 1, 2 ]}'); + t.end(); +}); + +test('WeakSets', function (t) { + t.equal(inspect(new WeakSet([[1, 2]])), 'WeakSet { ? }'); + t.end(); +}); diff --git a/node_modules/object-inspect/test/bigint.js b/node_modules/object-inspect/test/bigint.js new file mode 100644 index 0000000..4ecc31d --- /dev/null +++ b/node_modules/object-inspect/test/bigint.js @@ -0,0 +1,58 @@ +'use strict'; + +var inspect = require('../'); +var test = require('tape'); +var hasToStringTag = require('has-tostringtag/shams')(); + +test('bigint', { skip: typeof BigInt === 'undefined' }, function (t) { + t.test('primitives', function (st) { + st.plan(3); + + st.equal(inspect(BigInt(-256)), '-256n'); + st.equal(inspect(BigInt(0)), '0n'); + st.equal(inspect(BigInt(256)), '256n'); + }); + + t.test('objects', function (st) { + st.plan(3); + + st.equal(inspect(Object(BigInt(-256))), 'Object(-256n)'); + st.equal(inspect(Object(BigInt(0))), 'Object(0n)'); + st.equal(inspect(Object(BigInt(256))), 'Object(256n)'); + }); + + t.test('syntactic primitives', function (st) { + st.plan(3); + + /* eslint-disable no-new-func */ + st.equal(inspect(Function('return -256n')()), '-256n'); + st.equal(inspect(Function('return 0n')()), '0n'); + st.equal(inspect(Function('return 256n')()), '256n'); + }); + + t.test('toStringTag', { skip: !hasToStringTag }, function (st) { + st.plan(1); + + var faker = {}; + faker[Symbol.toStringTag] = 'BigInt'; + st.equal( + inspect(faker), + '{ [Symbol(Symbol.toStringTag)]: \'BigInt\' }', + 'object lying about being a BigInt inspects as an object' + ); + }); + + t.test('numericSeparator', function (st) { + st.equal(inspect(BigInt(0), { numericSeparator: false }), '0n', '0n, numericSeparator false'); + st.equal(inspect(BigInt(0), { numericSeparator: true }), '0n', '0n, numericSeparator true'); + + st.equal(inspect(BigInt(1234), { numericSeparator: false }), '1234n', '1234n, numericSeparator false'); + st.equal(inspect(BigInt(1234), { numericSeparator: true }), '1_234n', '1234n, numericSeparator true'); + st.equal(inspect(BigInt(-1234), { numericSeparator: false }), '-1234n', '1234n, numericSeparator false'); + st.equal(inspect(BigInt(-1234), { numericSeparator: true }), '-1_234n', '1234n, numericSeparator true'); + + st.end(); + }); + + t.end(); +}); diff --git a/node_modules/object-inspect/test/browser/dom.js b/node_modules/object-inspect/test/browser/dom.js new file mode 100644 index 0000000..210c0b2 --- /dev/null +++ b/node_modules/object-inspect/test/browser/dom.js @@ -0,0 +1,15 @@ +var inspect = require('../../'); +var test = require('tape'); + +test('dom element', function (t) { + t.plan(1); + + var d = document.createElement('div'); + d.setAttribute('id', 'beep'); + d.innerHTML = 'woooiiiii'; + + t.equal( + inspect([d, { a: 3, b: 4, c: [5, 6, [7, [8, [9]]]] }]), + '[
      ...
      , { a: 3, b: 4, c: [ 5, 6, [ 7, [ 8, [Object] ] ] ] } ]' + ); +}); diff --git a/node_modules/object-inspect/test/circular.js b/node_modules/object-inspect/test/circular.js new file mode 100644 index 0000000..5df4233 --- /dev/null +++ b/node_modules/object-inspect/test/circular.js @@ -0,0 +1,16 @@ +var inspect = require('../'); +var test = require('tape'); + +test('circular', function (t) { + t.plan(2); + var obj = { a: 1, b: [3, 4] }; + obj.c = obj; + t.equal(inspect(obj), '{ a: 1, b: [ 3, 4 ], c: [Circular] }'); + + var double = {}; + double.a = [double]; + double.b = {}; + double.b.inner = double.b; + double.b.obj = double; + t.equal(inspect(double), '{ a: [ [Circular] ], b: { inner: [Circular], obj: [Circular] } }'); +}); diff --git a/node_modules/object-inspect/test/deep.js b/node_modules/object-inspect/test/deep.js new file mode 100644 index 0000000..99ce32a --- /dev/null +++ b/node_modules/object-inspect/test/deep.js @@ -0,0 +1,12 @@ +var inspect = require('../'); +var test = require('tape'); + +test('deep', function (t) { + t.plan(4); + var obj = [[[[[[500]]]]]]; + t.equal(inspect(obj), '[ [ [ [ [ [Array] ] ] ] ] ]'); + t.equal(inspect(obj, { depth: 4 }), '[ [ [ [ [Array] ] ] ] ]'); + t.equal(inspect(obj, { depth: 2 }), '[ [ [Array] ] ]'); + + t.equal(inspect([[[{ a: 1 }]]], { depth: 3 }), '[ [ [ [Object] ] ] ]'); +}); diff --git a/node_modules/object-inspect/test/element.js b/node_modules/object-inspect/test/element.js new file mode 100644 index 0000000..47fa9e2 --- /dev/null +++ b/node_modules/object-inspect/test/element.js @@ -0,0 +1,53 @@ +var inspect = require('../'); +var test = require('tape'); + +test('element', function (t) { + t.plan(3); + var elem = { + nodeName: 'div', + attributes: [{ name: 'class', value: 'row' }], + getAttribute: function (key) { return key; }, + childNodes: [] + }; + var obj = [1, elem, 3]; + t.deepEqual(inspect(obj), '[ 1,
      , 3 ]'); + t.deepEqual(inspect(obj, { quoteStyle: 'single' }), "[ 1,
      , 3 ]"); + t.deepEqual(inspect(obj, { quoteStyle: 'double' }), '[ 1,
      , 3 ]'); +}); + +test('element no attr', function (t) { + t.plan(1); + var elem = { + nodeName: 'div', + getAttribute: function (key) { return key; }, + childNodes: [] + }; + var obj = [1, elem, 3]; + t.deepEqual(inspect(obj), '[ 1,
      , 3 ]'); +}); + +test('element with contents', function (t) { + t.plan(1); + var elem = { + nodeName: 'div', + getAttribute: function (key) { return key; }, + childNodes: [{ nodeName: 'b' }] + }; + var obj = [1, elem, 3]; + t.deepEqual(inspect(obj), '[ 1,
      ...
      , 3 ]'); +}); + +test('element instance', function (t) { + t.plan(1); + var h = global.HTMLElement; + global.HTMLElement = function (name, attr) { + this.nodeName = name; + this.attributes = attr; + }; + global.HTMLElement.prototype.getAttribute = function () {}; + + var elem = new global.HTMLElement('div', []); + var obj = [1, elem, 3]; + t.deepEqual(inspect(obj), '[ 1,
      , 3 ]'); + global.HTMLElement = h; +}); diff --git a/node_modules/object-inspect/test/err.js b/node_modules/object-inspect/test/err.js new file mode 100644 index 0000000..cc1d884 --- /dev/null +++ b/node_modules/object-inspect/test/err.js @@ -0,0 +1,48 @@ +var test = require('tape'); +var ErrorWithCause = require('error-cause/Error'); + +var inspect = require('../'); + +test('type error', function (t) { + t.plan(1); + var aerr = new TypeError(); + aerr.foo = 555; + aerr.bar = [1, 2, 3]; + + var berr = new TypeError('tuv'); + berr.baz = 555; + + var cerr = new SyntaxError(); + cerr.message = 'whoa'; + cerr['a-b'] = 5; + + var withCause = new ErrorWithCause('foo', { cause: 'bar' }); + var withCausePlus = new ErrorWithCause('foo', { cause: 'bar' }); + withCausePlus.foo = 'bar'; + var withUndefinedCause = new ErrorWithCause('foo', { cause: undefined }); + var withEnumerableCause = new Error('foo'); + withEnumerableCause.cause = 'bar'; + + var obj = [ + new TypeError(), + new TypeError('xxx'), + aerr, + berr, + cerr, + withCause, + withCausePlus, + withUndefinedCause, + withEnumerableCause + ]; + t.equal(inspect(obj), '[ ' + [ + '[TypeError]', + '[TypeError: xxx]', + '{ [TypeError] foo: 555, bar: [ 1, 2, 3 ] }', + '{ [TypeError: tuv] baz: 555 }', + '{ [SyntaxError: whoa] message: \'whoa\', \'a-b\': 5 }', + 'cause' in Error.prototype ? '[Error: foo]' : '{ [Error: foo] [cause]: \'bar\' }', + '{ [Error: foo] ' + ('cause' in Error.prototype ? '' : '[cause]: \'bar\', ') + 'foo: \'bar\' }', + 'cause' in Error.prototype ? '[Error: foo]' : '{ [Error: foo] [cause]: undefined }', + '{ [Error: foo] cause: \'bar\' }' + ].join(', ') + ' ]'); +}); diff --git a/node_modules/object-inspect/test/fakes.js b/node_modules/object-inspect/test/fakes.js new file mode 100644 index 0000000..a65c08c --- /dev/null +++ b/node_modules/object-inspect/test/fakes.js @@ -0,0 +1,29 @@ +'use strict'; + +var inspect = require('../'); +var test = require('tape'); +var hasToStringTag = require('has-tostringtag/shams')(); +var forEach = require('for-each'); + +test('fakes', { skip: !hasToStringTag }, function (t) { + forEach([ + 'Array', + 'Boolean', + 'Date', + 'Error', + 'Number', + 'RegExp', + 'String' + ], function (expected) { + var faker = {}; + faker[Symbol.toStringTag] = expected; + + t.equal( + inspect(faker), + '{ [Symbol(Symbol.toStringTag)]: \'' + expected + '\' }', + 'faker masquerading as ' + expected + ' is not shown as one' + ); + }); + + t.end(); +}); diff --git a/node_modules/object-inspect/test/fn.js b/node_modules/object-inspect/test/fn.js new file mode 100644 index 0000000..de3ca62 --- /dev/null +++ b/node_modules/object-inspect/test/fn.js @@ -0,0 +1,76 @@ +var inspect = require('../'); +var test = require('tape'); +var arrow = require('make-arrow-function')(); +var functionsHaveConfigurableNames = require('functions-have-names').functionsHaveConfigurableNames(); + +test('function', function (t) { + t.plan(1); + var obj = [1, 2, function f(n) { return n; }, 4]; + t.equal(inspect(obj), '[ 1, 2, [Function: f], 4 ]'); +}); + +test('function name', function (t) { + t.plan(1); + var f = (function () { + return function () {}; + }()); + f.toString = function toStr() { return 'function xxx () {}'; }; + var obj = [1, 2, f, 4]; + t.equal(inspect(obj), '[ 1, 2, [Function (anonymous)] { toString: [Function: toStr] }, 4 ]'); +}); + +test('anon function', function (t) { + var f = (function () { + return function () {}; + }()); + var obj = [1, 2, f, 4]; + t.equal(inspect(obj), '[ 1, 2, [Function (anonymous)], 4 ]'); + + t.end(); +}); + +test('arrow function', { skip: !arrow }, function (t) { + t.equal(inspect(arrow), '[Function (anonymous)]'); + + t.end(); +}); + +test('truly nameless function', { skip: !arrow || !functionsHaveConfigurableNames }, function (t) { + function f() {} + Object.defineProperty(f, 'name', { value: false }); + t.equal(f.name, false); + t.equal( + inspect(f), + '[Function: f]', + 'named function with falsy `.name` does not hide its original name' + ); + + function g() {} + Object.defineProperty(g, 'name', { value: true }); + t.equal(g.name, true); + t.equal( + inspect(g), + '[Function: true]', + 'named function with truthy `.name` hides its original name' + ); + + var anon = function () {}; // eslint-disable-line func-style + Object.defineProperty(anon, 'name', { value: null }); + t.equal(anon.name, null); + t.equal( + inspect(anon), + '[Function (anonymous)]', + 'anon function with falsy `.name` does not hide its anonymity' + ); + + var anon2 = function () {}; // eslint-disable-line func-style + Object.defineProperty(anon2, 'name', { value: 1 }); + t.equal(anon2.name, 1); + t.equal( + inspect(anon2), + '[Function: 1]', + 'anon function with truthy `.name` hides its anonymity' + ); + + t.end(); +}); diff --git a/node_modules/object-inspect/test/global.js b/node_modules/object-inspect/test/global.js new file mode 100644 index 0000000..c57216a --- /dev/null +++ b/node_modules/object-inspect/test/global.js @@ -0,0 +1,17 @@ +'use strict'; + +var inspect = require('../'); + +var test = require('tape'); +var globalThis = require('globalthis')(); + +test('global object', function (t) { + /* eslint-env browser */ + var expected = typeof window === 'undefined' ? 'globalThis' : 'Window'; + t.equal( + inspect([globalThis]), + '[ { [object ' + expected + '] } ]' + ); + + t.end(); +}); diff --git a/node_modules/object-inspect/test/has.js b/node_modules/object-inspect/test/has.js new file mode 100644 index 0000000..01800de --- /dev/null +++ b/node_modules/object-inspect/test/has.js @@ -0,0 +1,15 @@ +'use strict'; + +var inspect = require('../'); +var test = require('tape'); +var mockProperty = require('mock-property'); + +test('when Object#hasOwnProperty is deleted', function (t) { + t.plan(1); + var arr = [1, , 3]; // eslint-disable-line no-sparse-arrays + + t.teardown(mockProperty(Array.prototype, 1, { value: 2 })); // this is needed to account for "in" vs "hasOwnProperty" + t.teardown(mockProperty(Object.prototype, 'hasOwnProperty', { 'delete': true })); + + t.equal(inspect(arr), '[ 1, , 3 ]'); +}); diff --git a/node_modules/object-inspect/test/holes.js b/node_modules/object-inspect/test/holes.js new file mode 100644 index 0000000..87fc8c8 --- /dev/null +++ b/node_modules/object-inspect/test/holes.js @@ -0,0 +1,15 @@ +var test = require('tape'); +var inspect = require('../'); + +var xs = ['a', 'b']; +xs[5] = 'f'; +xs[7] = 'j'; +xs[8] = 'k'; + +test('holes', function (t) { + t.plan(1); + t.equal( + inspect(xs), + "[ 'a', 'b', , , , 'f', , 'j', 'k' ]" + ); +}); diff --git a/node_modules/object-inspect/test/indent-option.js b/node_modules/object-inspect/test/indent-option.js new file mode 100644 index 0000000..89d8fce --- /dev/null +++ b/node_modules/object-inspect/test/indent-option.js @@ -0,0 +1,271 @@ +var test = require('tape'); +var forEach = require('for-each'); + +var inspect = require('../'); + +test('bad indent options', function (t) { + forEach([ + undefined, + true, + false, + -1, + 1.2, + Infinity, + -Infinity, + NaN + ], function (indent) { + t['throws']( + function () { inspect('', { indent: indent }); }, + TypeError, + inspect(indent) + ' is invalid' + ); + }); + + t.end(); +}); + +test('simple object with indent', function (t) { + t.plan(2); + + var obj = { a: 1, b: 2 }; + + var expectedSpaces = [ + '{', + ' a: 1,', + ' b: 2', + '}' + ].join('\n'); + var expectedTabs = [ + '{', + ' a: 1,', + ' b: 2', + '}' + ].join('\n'); + + t.equal(inspect(obj, { indent: 2 }), expectedSpaces, 'two'); + t.equal(inspect(obj, { indent: '\t' }), expectedTabs, 'tabs'); +}); + +test('two deep object with indent', function (t) { + t.plan(2); + + var obj = { a: 1, b: { c: 3, d: 4 } }; + + var expectedSpaces = [ + '{', + ' a: 1,', + ' b: {', + ' c: 3,', + ' d: 4', + ' }', + '}' + ].join('\n'); + var expectedTabs = [ + '{', + ' a: 1,', + ' b: {', + ' c: 3,', + ' d: 4', + ' }', + '}' + ].join('\n'); + + t.equal(inspect(obj, { indent: 2 }), expectedSpaces, 'two'); + t.equal(inspect(obj, { indent: '\t' }), expectedTabs, 'tabs'); +}); + +test('simple array with all single line elements', function (t) { + t.plan(2); + + var obj = [1, 2, 3, 'asdf\nsdf']; + + var expected = '[ 1, 2, 3, \'asdf\\nsdf\' ]'; + + t.equal(inspect(obj, { indent: 2 }), expected, 'two'); + t.equal(inspect(obj, { indent: '\t' }), expected, 'tabs'); +}); + +test('array with complex elements', function (t) { + t.plan(2); + + var obj = [1, { a: 1, b: { c: 1 } }, 'asdf\nsdf']; + + var expectedSpaces = [ + '[', + ' 1,', + ' {', + ' a: 1,', + ' b: {', + ' c: 1', + ' }', + ' },', + ' \'asdf\\nsdf\'', + ']' + ].join('\n'); + var expectedTabs = [ + '[', + ' 1,', + ' {', + ' a: 1,', + ' b: {', + ' c: 1', + ' }', + ' },', + ' \'asdf\\nsdf\'', + ']' + ].join('\n'); + + t.equal(inspect(obj, { indent: 2 }), expectedSpaces, 'two'); + t.equal(inspect(obj, { indent: '\t' }), expectedTabs, 'tabs'); +}); + +test('values', function (t) { + t.plan(2); + var obj = [{}, [], { 'a-b': 5 }]; + + var expectedSpaces = [ + '[', + ' {},', + ' [],', + ' {', + ' \'a-b\': 5', + ' }', + ']' + ].join('\n'); + var expectedTabs = [ + '[', + ' {},', + ' [],', + ' {', + ' \'a-b\': 5', + ' }', + ']' + ].join('\n'); + + t.equal(inspect(obj, { indent: 2 }), expectedSpaces, 'two'); + t.equal(inspect(obj, { indent: '\t' }), expectedTabs, 'tabs'); +}); + +test('Map', { skip: typeof Map !== 'function' }, function (t) { + var map = new Map(); + map.set({ a: 1 }, ['b']); + map.set(3, NaN); + + var expectedStringSpaces = [ + 'Map (2) {', + ' { a: 1 } => [ \'b\' ],', + ' 3 => NaN', + '}' + ].join('\n'); + var expectedStringTabs = [ + 'Map (2) {', + ' { a: 1 } => [ \'b\' ],', + ' 3 => NaN', + '}' + ].join('\n'); + var expectedStringTabsDoubleQuotes = [ + 'Map (2) {', + ' { a: 1 } => [ "b" ],', + ' 3 => NaN', + '}' + ].join('\n'); + + t.equal( + inspect(map, { indent: 2 }), + expectedStringSpaces, + 'Map keys are not indented (two)' + ); + t.equal( + inspect(map, { indent: '\t' }), + expectedStringTabs, + 'Map keys are not indented (tabs)' + ); + t.equal( + inspect(map, { indent: '\t', quoteStyle: 'double' }), + expectedStringTabsDoubleQuotes, + 'Map keys are not indented (tabs + double quotes)' + ); + + t.equal(inspect(new Map(), { indent: 2 }), 'Map (0) {}', 'empty Map should show as empty (two)'); + t.equal(inspect(new Map(), { indent: '\t' }), 'Map (0) {}', 'empty Map should show as empty (tabs)'); + + var nestedMap = new Map(); + nestedMap.set(nestedMap, map); + var expectedNestedSpaces = [ + 'Map (1) {', + ' [Circular] => Map (2) {', + ' { a: 1 } => [ \'b\' ],', + ' 3 => NaN', + ' }', + '}' + ].join('\n'); + var expectedNestedTabs = [ + 'Map (1) {', + ' [Circular] => Map (2) {', + ' { a: 1 } => [ \'b\' ],', + ' 3 => NaN', + ' }', + '}' + ].join('\n'); + t.equal(inspect(nestedMap, { indent: 2 }), expectedNestedSpaces, 'Map containing a Map should work (two)'); + t.equal(inspect(nestedMap, { indent: '\t' }), expectedNestedTabs, 'Map containing a Map should work (tabs)'); + + t.end(); +}); + +test('Set', { skip: typeof Set !== 'function' }, function (t) { + var set = new Set(); + set.add({ a: 1 }); + set.add(['b']); + var expectedStringSpaces = [ + 'Set (2) {', + ' {', + ' a: 1', + ' },', + ' [ \'b\' ]', + '}' + ].join('\n'); + var expectedStringTabs = [ + 'Set (2) {', + ' {', + ' a: 1', + ' },', + ' [ \'b\' ]', + '}' + ].join('\n'); + t.equal(inspect(set, { indent: 2 }), expectedStringSpaces, 'new Set([{ a: 1 }, ["b"]]) should show size and contents (two)'); + t.equal(inspect(set, { indent: '\t' }), expectedStringTabs, 'new Set([{ a: 1 }, ["b"]]) should show size and contents (tabs)'); + + t.equal(inspect(new Set(), { indent: 2 }), 'Set (0) {}', 'empty Set should show as empty (two)'); + t.equal(inspect(new Set(), { indent: '\t' }), 'Set (0) {}', 'empty Set should show as empty (tabs)'); + + var nestedSet = new Set(); + nestedSet.add(set); + nestedSet.add(nestedSet); + var expectedNestedSpaces = [ + 'Set (2) {', + ' Set (2) {', + ' {', + ' a: 1', + ' },', + ' [ \'b\' ]', + ' },', + ' [Circular]', + '}' + ].join('\n'); + var expectedNestedTabs = [ + 'Set (2) {', + ' Set (2) {', + ' {', + ' a: 1', + ' },', + ' [ \'b\' ]', + ' },', + ' [Circular]', + '}' + ].join('\n'); + t.equal(inspect(nestedSet, { indent: 2 }), expectedNestedSpaces, 'Set containing a Set should work (two)'); + t.equal(inspect(nestedSet, { indent: '\t' }), expectedNestedTabs, 'Set containing a Set should work (tabs)'); + + t.end(); +}); diff --git a/node_modules/object-inspect/test/inspect.js b/node_modules/object-inspect/test/inspect.js new file mode 100644 index 0000000..1abf81b --- /dev/null +++ b/node_modules/object-inspect/test/inspect.js @@ -0,0 +1,139 @@ +var test = require('tape'); +var hasSymbols = require('has-symbols/shams')(); +var utilInspect = require('../util.inspect'); +var repeat = require('string.prototype.repeat'); + +var inspect = require('..'); + +test('inspect', function (t) { + t.plan(5); + + var obj = [{ inspect: function xyzInspect() { return '!XYZ¡'; } }, []]; + var stringResult = '[ !XYZ¡, [] ]'; + var falseResult = '[ { inspect: [Function: xyzInspect] }, [] ]'; + + t.equal(inspect(obj), stringResult); + t.equal(inspect(obj, { customInspect: true }), stringResult); + t.equal(inspect(obj, { customInspect: 'symbol' }), falseResult); + t.equal(inspect(obj, { customInspect: false }), falseResult); + t['throws']( + function () { inspect(obj, { customInspect: 'not a boolean or "symbol"' }); }, + TypeError, + '`customInspect` must be a boolean or the string "symbol"' + ); +}); + +test('inspect custom symbol', { skip: !hasSymbols || !utilInspect || !utilInspect.custom }, function (t) { + t.plan(4); + + var obj = { inspect: function stringInspect() { return 'string'; } }; + obj[utilInspect.custom] = function custom() { return 'symbol'; }; + + var symbolResult = '[ symbol, [] ]'; + var stringResult = '[ string, [] ]'; + var falseResult = '[ { inspect: [Function: stringInspect]' + (utilInspect.custom ? ', [' + inspect(utilInspect.custom) + ']: [Function: custom]' : '') + ' }, [] ]'; + + var symbolStringFallback = utilInspect.custom ? symbolResult : stringResult; + var symbolFalseFallback = utilInspect.custom ? symbolResult : falseResult; + + t.equal(inspect([obj, []]), symbolStringFallback); + t.equal(inspect([obj, []], { customInspect: true }), symbolStringFallback); + t.equal(inspect([obj, []], { customInspect: 'symbol' }), symbolFalseFallback); + t.equal(inspect([obj, []], { customInspect: false }), falseResult); +}); + +test('symbols', { skip: !hasSymbols }, function (t) { + t.plan(2); + + var obj = { a: 1 }; + obj[Symbol('test')] = 2; + obj[Symbol.iterator] = 3; + Object.defineProperty(obj, Symbol('non-enum'), { + enumerable: false, + value: 4 + }); + + if (typeof Symbol.iterator === 'symbol') { + t.equal(inspect(obj), '{ a: 1, [Symbol(test)]: 2, [Symbol(Symbol.iterator)]: 3 }', 'object with symbols'); + t.equal(inspect([obj, []]), '[ { a: 1, [Symbol(test)]: 2, [Symbol(Symbol.iterator)]: 3 }, [] ]', 'object with symbols in array'); + } else { + // symbol sham key ordering is unreliable + t.match( + inspect(obj), + /^(?:{ a: 1, \[Symbol\(test\)\]: 2, \[Symbol\(Symbol.iterator\)\]: 3 }|{ a: 1, \[Symbol\(Symbol.iterator\)\]: 3, \[Symbol\(test\)\]: 2 })$/, + 'object with symbols (nondeterministic symbol sham key ordering)' + ); + t.match( + inspect([obj, []]), + /^\[ (?:{ a: 1, \[Symbol\(test\)\]: 2, \[Symbol\(Symbol.iterator\)\]: 3 }|{ a: 1, \[Symbol\(Symbol.iterator\)\]: 3, \[Symbol\(test\)\]: 2 }), \[\] \]$/, + 'object with symbols in array (nondeterministic symbol sham key ordering)' + ); + } +}); + +test('maxStringLength', function (t) { + t['throws']( + function () { inspect('', { maxStringLength: -1 }); }, + TypeError, + 'maxStringLength must be >= 0, or Infinity, not negative' + ); + + var str = repeat('a', 1e8); + + t.equal( + inspect([str], { maxStringLength: 10 }), + '[ \'aaaaaaaaaa\'... 99999990 more characters ]', + 'maxStringLength option limits output' + ); + + t.equal( + inspect(['f'], { maxStringLength: null }), + '[ \'\'... 1 more character ]', + 'maxStringLength option accepts `null`' + ); + + t.equal( + inspect([str], { maxStringLength: Infinity }), + '[ \'' + str + '\' ]', + 'maxStringLength option accepts ∞' + ); + + t.end(); +}); + +test('inspect options', { skip: !utilInspect.custom }, function (t) { + var obj = {}; + obj[utilInspect.custom] = function () { + return JSON.stringify(arguments); + }; + t.equal( + inspect(obj), + utilInspect(obj, { depth: 5 }), + 'custom symbols will use node\'s inspect' + ); + t.equal( + inspect(obj, { depth: 2 }), + utilInspect(obj, { depth: 2 }), + 'a reduced depth will be passed to node\'s inspect' + ); + t.equal( + inspect({ d1: obj }, { depth: 3 }), + '{ d1: ' + utilInspect(obj, { depth: 2 }) + ' }', + 'deep objects will receive a reduced depth' + ); + t.equal( + inspect({ d1: obj }, { depth: 1 }), + '{ d1: [Object] }', + 'unlike nodejs inspect, customInspect will not be used once the depth is exceeded.' + ); + t.end(); +}); + +test('inspect URL', { skip: typeof URL === 'undefined' }, function (t) { + t.match( + inspect(new URL('https://nodejs.org')), + /nodejs\.org/, // Different environments stringify it differently + 'url can be inspected' + ); + t.end(); +}); diff --git a/node_modules/object-inspect/test/lowbyte.js b/node_modules/object-inspect/test/lowbyte.js new file mode 100644 index 0000000..68a345d --- /dev/null +++ b/node_modules/object-inspect/test/lowbyte.js @@ -0,0 +1,12 @@ +var test = require('tape'); +var inspect = require('../'); + +var obj = { x: 'a\r\nb', y: '\x05! \x1f \x12' }; + +test('interpolate low bytes', function (t) { + t.plan(1); + t.equal( + inspect(obj), + "{ x: 'a\\r\\nb', y: '\\x05! \\x1F \\x12' }" + ); +}); diff --git a/node_modules/object-inspect/test/number.js b/node_modules/object-inspect/test/number.js new file mode 100644 index 0000000..8f287e8 --- /dev/null +++ b/node_modules/object-inspect/test/number.js @@ -0,0 +1,58 @@ +var test = require('tape'); +var v = require('es-value-fixtures'); +var forEach = require('for-each'); + +var inspect = require('../'); + +test('negative zero', function (t) { + t.equal(inspect(0), '0', 'inspect(0) === "0"'); + t.equal(inspect(Object(0)), 'Object(0)', 'inspect(Object(0)) === "Object(0)"'); + + t.equal(inspect(-0), '-0', 'inspect(-0) === "-0"'); + t.equal(inspect(Object(-0)), 'Object(-0)', 'inspect(Object(-0)) === "Object(-0)"'); + + t.end(); +}); + +test('numericSeparator', function (t) { + forEach(v.nonBooleans, function (nonBoolean) { + t['throws']( + function () { inspect(true, { numericSeparator: nonBoolean }); }, + TypeError, + inspect(nonBoolean) + ' is not a boolean' + ); + }); + + t.test('3 digit numbers', function (st) { + var failed = false; + for (var i = -999; i < 1000; i += 1) { + var actual = inspect(i); + var actualSepNo = inspect(i, { numericSeparator: false }); + var actualSepYes = inspect(i, { numericSeparator: true }); + var expected = String(i); + if (actual !== expected || actualSepNo !== expected || actualSepYes !== expected) { + failed = true; + t.equal(actual, expected); + t.equal(actualSepNo, expected); + t.equal(actualSepYes, expected); + } + } + + st.notOk(failed, 'all 3 digit numbers passed'); + + st.end(); + }); + + t.equal(inspect(1e3), '1000', '1000'); + t.equal(inspect(1e3, { numericSeparator: false }), '1000', '1000, numericSeparator false'); + t.equal(inspect(1e3, { numericSeparator: true }), '1_000', '1000, numericSeparator true'); + t.equal(inspect(-1e3), '-1000', '-1000'); + t.equal(inspect(-1e3, { numericSeparator: false }), '-1000', '-1000, numericSeparator false'); + t.equal(inspect(-1e3, { numericSeparator: true }), '-1_000', '-1000, numericSeparator true'); + + t.equal(inspect(1234.5678, { numericSeparator: true }), '1_234.567_8', 'fractional numbers get separators'); + t.equal(inspect(1234.56789, { numericSeparator: true }), '1_234.567_89', 'fractional numbers get separators'); + t.equal(inspect(1234.567891, { numericSeparator: true }), '1_234.567_891', 'fractional numbers get separators'); + + t.end(); +}); diff --git a/node_modules/object-inspect/test/quoteStyle.js b/node_modules/object-inspect/test/quoteStyle.js new file mode 100644 index 0000000..da23e63 --- /dev/null +++ b/node_modules/object-inspect/test/quoteStyle.js @@ -0,0 +1,26 @@ +'use strict'; + +var inspect = require('../'); +var test = require('tape'); + +test('quoteStyle option', function (t) { + t['throws'](function () { inspect(null, { quoteStyle: false }); }, 'false is not a valid value'); + t['throws'](function () { inspect(null, { quoteStyle: true }); }, 'true is not a valid value'); + t['throws'](function () { inspect(null, { quoteStyle: '' }); }, '"" is not a valid value'); + t['throws'](function () { inspect(null, { quoteStyle: {} }); }, '{} is not a valid value'); + t['throws'](function () { inspect(null, { quoteStyle: [] }); }, '[] is not a valid value'); + t['throws'](function () { inspect(null, { quoteStyle: 42 }); }, '42 is not a valid value'); + t['throws'](function () { inspect(null, { quoteStyle: NaN }); }, 'NaN is not a valid value'); + t['throws'](function () { inspect(null, { quoteStyle: function () {} }); }, 'a function is not a valid value'); + + t.equal(inspect('"', { quoteStyle: 'single' }), '\'"\'', 'double quote, quoteStyle: "single"'); + t.equal(inspect('"', { quoteStyle: 'double' }), '"\\""', 'double quote, quoteStyle: "double"'); + + t.equal(inspect('\'', { quoteStyle: 'single' }), '\'\\\'\'', 'single quote, quoteStyle: "single"'); + t.equal(inspect('\'', { quoteStyle: 'double' }), '"\'"', 'single quote, quoteStyle: "double"'); + + t.equal(inspect('`', { quoteStyle: 'single' }), '\'`\'', 'backtick, quoteStyle: "single"'); + t.equal(inspect('`', { quoteStyle: 'double' }), '"`"', 'backtick, quoteStyle: "double"'); + + t.end(); +}); diff --git a/node_modules/object-inspect/test/toStringTag.js b/node_modules/object-inspect/test/toStringTag.js new file mode 100644 index 0000000..95f8270 --- /dev/null +++ b/node_modules/object-inspect/test/toStringTag.js @@ -0,0 +1,40 @@ +'use strict'; + +var test = require('tape'); +var hasToStringTag = require('has-tostringtag/shams')(); + +var inspect = require('../'); + +test('Symbol.toStringTag', { skip: !hasToStringTag }, function (t) { + t.plan(4); + + var obj = { a: 1 }; + t.equal(inspect(obj), '{ a: 1 }', 'object, no Symbol.toStringTag'); + + obj[Symbol.toStringTag] = 'foo'; + t.equal(inspect(obj), '{ a: 1, [Symbol(Symbol.toStringTag)]: \'foo\' }', 'object with Symbol.toStringTag'); + + t.test('null objects', { skip: 'toString' in { __proto__: null } }, function (st) { + st.plan(2); + + var dict = { __proto__: null, a: 1 }; + st.equal(inspect(dict), '[Object: null prototype] { a: 1 }', 'null object with Symbol.toStringTag'); + + dict[Symbol.toStringTag] = 'Dict'; + st.equal(inspect(dict), '[Dict: null prototype] { a: 1, [Symbol(Symbol.toStringTag)]: \'Dict\' }', 'null object with Symbol.toStringTag'); + }); + + t.test('instances', function (st) { + st.plan(4); + + function C() { + this.a = 1; + } + st.equal(Object.prototype.toString.call(new C()), '[object Object]', 'instance, no toStringTag, Object.prototype.toString'); + st.equal(inspect(new C()), 'C { a: 1 }', 'instance, no toStringTag'); + + C.prototype[Symbol.toStringTag] = 'Class!'; + st.equal(Object.prototype.toString.call(new C()), '[object Class!]', 'instance, with toStringTag, Object.prototype.toString'); + st.equal(inspect(new C()), 'C [Class!] { a: 1 }', 'instance, with toStringTag'); + }); +}); diff --git a/node_modules/object-inspect/test/undef.js b/node_modules/object-inspect/test/undef.js new file mode 100644 index 0000000..e3f4961 --- /dev/null +++ b/node_modules/object-inspect/test/undef.js @@ -0,0 +1,12 @@ +var test = require('tape'); +var inspect = require('../'); + +var obj = { a: 1, b: [3, 4, undefined, null], c: undefined, d: null }; + +test('undef and null', function (t) { + t.plan(1); + t.equal( + inspect(obj), + '{ a: 1, b: [ 3, 4, undefined, null ], c: undefined, d: null }' + ); +}); diff --git a/node_modules/object-inspect/test/values.js b/node_modules/object-inspect/test/values.js new file mode 100644 index 0000000..15986cd --- /dev/null +++ b/node_modules/object-inspect/test/values.js @@ -0,0 +1,261 @@ +'use strict'; + +var inspect = require('../'); +var test = require('tape'); +var mockProperty = require('mock-property'); +var hasSymbols = require('has-symbols/shams')(); +var hasToStringTag = require('has-tostringtag/shams')(); +var forEach = require('for-each'); +var semver = require('semver'); + +test('values', function (t) { + t.plan(1); + var obj = [{}, [], { 'a-b': 5 }]; + t.equal(inspect(obj), '[ {}, [], { \'a-b\': 5 } ]'); +}); + +test('arrays with properties', function (t) { + t.plan(1); + var arr = [3]; + arr.foo = 'bar'; + var obj = [1, 2, arr]; + obj.baz = 'quux'; + obj.index = -1; + t.equal(inspect(obj), '[ 1, 2, [ 3, foo: \'bar\' ], baz: \'quux\', index: -1 ]'); +}); + +test('has', function (t) { + t.plan(1); + t.teardown(mockProperty(Object.prototype, 'hasOwnProperty', { 'delete': true })); + + t.equal(inspect({ a: 1, b: 2 }), '{ a: 1, b: 2 }'); +}); + +test('indexOf seen', function (t) { + t.plan(1); + var xs = [1, 2, 3, {}]; + xs.push(xs); + + var seen = []; + seen.indexOf = undefined; + + t.equal( + inspect(xs, {}, 0, seen), + '[ 1, 2, 3, {}, [Circular] ]' + ); +}); + +test('seen seen', function (t) { + t.plan(1); + var xs = [1, 2, 3]; + + var seen = [xs]; + seen.indexOf = undefined; + + t.equal( + inspect(xs, {}, 0, seen), + '[Circular]' + ); +}); + +test('seen seen seen', function (t) { + t.plan(1); + var xs = [1, 2, 3]; + + var seen = [5, xs]; + seen.indexOf = undefined; + + t.equal( + inspect(xs, {}, 0, seen), + '[Circular]' + ); +}); + +test('symbols', { skip: !hasSymbols }, function (t) { + var sym = Symbol('foo'); + t.equal(inspect(sym), 'Symbol(foo)', 'Symbol("foo") should be "Symbol(foo)"'); + if (typeof sym === 'symbol') { + // Symbol shams are incapable of differentiating boxed from unboxed symbols + t.equal(inspect(Object(sym)), 'Object(Symbol(foo))', 'Object(Symbol("foo")) should be "Object(Symbol(foo))"'); + } + + t.test('toStringTag', { skip: !hasToStringTag }, function (st) { + st.plan(1); + + var faker = {}; + faker[Symbol.toStringTag] = 'Symbol'; + st.equal( + inspect(faker), + '{ [Symbol(Symbol.toStringTag)]: \'Symbol\' }', + 'object lying about being a Symbol inspects as an object' + ); + }); + + t.end(); +}); + +test('Map', { skip: typeof Map !== 'function' }, function (t) { + var map = new Map(); + map.set({ a: 1 }, ['b']); + map.set(3, NaN); + var expectedString = 'Map (2) {' + inspect({ a: 1 }) + ' => ' + inspect(['b']) + ', 3 => NaN}'; + t.equal(inspect(map), expectedString, 'new Map([[{ a: 1 }, ["b"]], [3, NaN]]) should show size and contents'); + t.equal(inspect(new Map()), 'Map (0) {}', 'empty Map should show as empty'); + + var nestedMap = new Map(); + nestedMap.set(nestedMap, map); + t.equal(inspect(nestedMap), 'Map (1) {[Circular] => ' + expectedString + '}', 'Map containing a Map should work'); + + t.end(); +}); + +test('WeakMap', { skip: typeof WeakMap !== 'function' }, function (t) { + var map = new WeakMap(); + map.set({ a: 1 }, ['b']); + var expectedString = 'WeakMap { ? }'; + t.equal(inspect(map), expectedString, 'new WeakMap([[{ a: 1 }, ["b"]]]) should not show size or contents'); + t.equal(inspect(new WeakMap()), 'WeakMap { ? }', 'empty WeakMap should not show as empty'); + + t.end(); +}); + +test('Set', { skip: typeof Set !== 'function' }, function (t) { + var set = new Set(); + set.add({ a: 1 }); + set.add(['b']); + var expectedString = 'Set (2) {' + inspect({ a: 1 }) + ', ' + inspect(['b']) + '}'; + t.equal(inspect(set), expectedString, 'new Set([{ a: 1 }, ["b"]]) should show size and contents'); + t.equal(inspect(new Set()), 'Set (0) {}', 'empty Set should show as empty'); + + var nestedSet = new Set(); + nestedSet.add(set); + nestedSet.add(nestedSet); + t.equal(inspect(nestedSet), 'Set (2) {' + expectedString + ', [Circular]}', 'Set containing a Set should work'); + + t.end(); +}); + +test('WeakSet', { skip: typeof WeakSet !== 'function' }, function (t) { + var map = new WeakSet(); + map.add({ a: 1 }); + var expectedString = 'WeakSet { ? }'; + t.equal(inspect(map), expectedString, 'new WeakSet([{ a: 1 }]) should not show size or contents'); + t.equal(inspect(new WeakSet()), 'WeakSet { ? }', 'empty WeakSet should not show as empty'); + + t.end(); +}); + +test('WeakRef', { skip: typeof WeakRef !== 'function' }, function (t) { + var ref = new WeakRef({ a: 1 }); + var expectedString = 'WeakRef { ? }'; + t.equal(inspect(ref), expectedString, 'new WeakRef({ a: 1 }) should not show contents'); + + t.end(); +}); + +test('FinalizationRegistry', { skip: typeof FinalizationRegistry !== 'function' }, function (t) { + var registry = new FinalizationRegistry(function () {}); + var expectedString = 'FinalizationRegistry [FinalizationRegistry] {}'; + t.equal(inspect(registry), expectedString, 'new FinalizationRegistry(function () {}) should work normallys'); + + t.end(); +}); + +test('Strings', function (t) { + var str = 'abc'; + + t.equal(inspect(str), "'" + str + "'", 'primitive string shows as such'); + t.equal(inspect(str, { quoteStyle: 'single' }), "'" + str + "'", 'primitive string shows as such, single quoted'); + t.equal(inspect(str, { quoteStyle: 'double' }), '"' + str + '"', 'primitive string shows as such, double quoted'); + t.equal(inspect(Object(str)), 'Object(' + inspect(str) + ')', 'String object shows as such'); + t.equal(inspect(Object(str), { quoteStyle: 'single' }), 'Object(' + inspect(str, { quoteStyle: 'single' }) + ')', 'String object shows as such, single quoted'); + t.equal(inspect(Object(str), { quoteStyle: 'double' }), 'Object(' + inspect(str, { quoteStyle: 'double' }) + ')', 'String object shows as such, double quoted'); + + t.end(); +}); + +test('Numbers', function (t) { + var num = 42; + + t.equal(inspect(num), String(num), 'primitive number shows as such'); + t.equal(inspect(Object(num)), 'Object(' + inspect(num) + ')', 'Number object shows as such'); + + t.end(); +}); + +test('Booleans', function (t) { + t.equal(inspect(true), String(true), 'primitive true shows as such'); + t.equal(inspect(Object(true)), 'Object(' + inspect(true) + ')', 'Boolean object true shows as such'); + + t.equal(inspect(false), String(false), 'primitive false shows as such'); + t.equal(inspect(Object(false)), 'Object(' + inspect(false) + ')', 'Boolean false object shows as such'); + + t.end(); +}); + +test('Date', function (t) { + var now = new Date(); + t.equal(inspect(now), String(now), 'Date shows properly'); + t.equal(inspect(new Date(NaN)), 'Invalid Date', 'Invalid Date shows properly'); + + t.end(); +}); + +test('RegExps', function (t) { + t.equal(inspect(/a/g), '/a/g', 'regex shows properly'); + t.equal(inspect(new RegExp('abc', 'i')), '/abc/i', 'new RegExp shows properly'); + + var match = 'abc abc'.match(/[ab]+/); + delete match.groups; // for node < 10 + t.equal(inspect(match), '[ \'ab\', index: 0, input: \'abc abc\' ]', 'RegExp match object shows properly'); + + t.end(); +}); + +test('Proxies', { skip: typeof Proxy !== 'function' || !hasToStringTag }, function (t) { + var target = { proxy: true }; + var fake = new Proxy(target, { has: function () { return false; } }); + + // needed to work around a weird difference in node v6.0 - v6.4 where non-present properties are not logged + var isNode60 = semver.satisfies(process.version, '6.0 - 6.4'); + + forEach([ + 'Boolean', + 'Number', + 'String', + 'Symbol', + 'Date' + ], function (tag) { + target[Symbol.toStringTag] = tag; + + t.equal( + inspect(fake), + '{ ' + (isNode60 ? '' : 'proxy: true, ') + '[Symbol(Symbol.toStringTag)]: \'' + tag + '\' }', + 'Proxy for + ' + tag + ' shows as the target, which has no slots' + ); + }); + + t.end(); +}); + +test('fakers', { skip: !hasToStringTag }, function (t) { + var target = { proxy: false }; + + forEach([ + 'Boolean', + 'Number', + 'String', + 'Symbol', + 'Date' + ], function (tag) { + target[Symbol.toStringTag] = tag; + + t.equal( + inspect(target), + '{ proxy: false, [Symbol(Symbol.toStringTag)]: \'' + tag + '\' }', + 'Object pretending to be ' + tag + ' does not trick us' + ); + }); + + t.end(); +}); diff --git a/node_modules/object-inspect/util.inspect.js b/node_modules/object-inspect/util.inspect.js new file mode 100644 index 0000000..7784fab --- /dev/null +++ b/node_modules/object-inspect/util.inspect.js @@ -0,0 +1 @@ +module.exports = require('util').inspect; diff --git a/node_modules/on-finished/HISTORY.md b/node_modules/on-finished/HISTORY.md new file mode 100644 index 0000000..1917595 --- /dev/null +++ b/node_modules/on-finished/HISTORY.md @@ -0,0 +1,98 @@ +2.4.1 / 2022-02-22 +================== + + * Fix error on early async hooks implementations + +2.4.0 / 2022-02-21 +================== + + * Prevent loss of async hooks context + +2.3.0 / 2015-05-26 +================== + + * Add defined behavior for HTTP `CONNECT` requests + * Add defined behavior for HTTP `Upgrade` requests + * deps: ee-first@1.1.1 + +2.2.1 / 2015-04-22 +================== + + * Fix `isFinished(req)` when data buffered + +2.2.0 / 2014-12-22 +================== + + * Add message object to callback arguments + +2.1.1 / 2014-10-22 +================== + + * Fix handling of pipelined requests + +2.1.0 / 2014-08-16 +================== + + * Check if `socket` is detached + * Return `undefined` for `isFinished` if state unknown + +2.0.0 / 2014-08-16 +================== + + * Add `isFinished` function + * Move to `jshttp` organization + * Remove support for plain socket argument + * Rename to `on-finished` + * Support both `req` and `res` as arguments + * deps: ee-first@1.0.5 + +1.2.2 / 2014-06-10 +================== + + * Reduce listeners added to emitters + - avoids "event emitter leak" warnings when used multiple times on same request + +1.2.1 / 2014-06-08 +================== + + * Fix returned value when already finished + +1.2.0 / 2014-06-05 +================== + + * Call callback when called on already-finished socket + +1.1.4 / 2014-05-27 +================== + + * Support node.js 0.8 + +1.1.3 / 2014-04-30 +================== + + * Make sure errors passed as instanceof `Error` + +1.1.2 / 2014-04-18 +================== + + * Default the `socket` to passed-in object + +1.1.1 / 2014-01-16 +================== + + * Rename module to `finished` + +1.1.0 / 2013-12-25 +================== + + * Call callback when called on already-errored socket + +1.0.1 / 2013-12-20 +================== + + * Actually pass the error to the callback + +1.0.0 / 2013-12-20 +================== + + * Initial release diff --git a/node_modules/on-finished/LICENSE b/node_modules/on-finished/LICENSE new file mode 100644 index 0000000..5931fd2 --- /dev/null +++ b/node_modules/on-finished/LICENSE @@ -0,0 +1,23 @@ +(The MIT License) + +Copyright (c) 2013 Jonathan Ong +Copyright (c) 2014 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/on-finished/README.md b/node_modules/on-finished/README.md new file mode 100644 index 0000000..8973cde --- /dev/null +++ b/node_modules/on-finished/README.md @@ -0,0 +1,162 @@ +# on-finished + +[![NPM Version][npm-version-image]][npm-url] +[![NPM Downloads][npm-downloads-image]][npm-url] +[![Node.js Version][node-image]][node-url] +[![Build Status][ci-image]][ci-url] +[![Coverage Status][coveralls-image]][coveralls-url] + +Execute a callback when a HTTP request closes, finishes, or errors. + +## Install + +This is a [Node.js](https://nodejs.org/en/) module available through the +[npm registry](https://www.npmjs.com/). Installation is done using the +[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): + +```sh +$ npm install on-finished +``` + +## API + +```js +var onFinished = require('on-finished') +``` + +### onFinished(res, listener) + +Attach a listener to listen for the response to finish. The listener will +be invoked only once when the response finished. If the response finished +to an error, the first argument will contain the error. If the response +has already finished, the listener will be invoked. + +Listening to the end of a response would be used to close things associated +with the response, like open files. + +Listener is invoked as `listener(err, res)`. + + + +```js +onFinished(res, function (err, res) { + // clean up open fds, etc. + // err contains the error if request error'd +}) +``` + +### onFinished(req, listener) + +Attach a listener to listen for the request to finish. The listener will +be invoked only once when the request finished. If the request finished +to an error, the first argument will contain the error. If the request +has already finished, the listener will be invoked. + +Listening to the end of a request would be used to know when to continue +after reading the data. + +Listener is invoked as `listener(err, req)`. + + + +```js +var data = '' + +req.setEncoding('utf8') +req.on('data', function (str) { + data += str +}) + +onFinished(req, function (err, req) { + // data is read unless there is err +}) +``` + +### onFinished.isFinished(res) + +Determine if `res` is already finished. This would be useful to check and +not even start certain operations if the response has already finished. + +### onFinished.isFinished(req) + +Determine if `req` is already finished. This would be useful to check and +not even start certain operations if the request has already finished. + +## Special Node.js requests + +### HTTP CONNECT method + +The meaning of the `CONNECT` method from RFC 7231, section 4.3.6: + +> The CONNECT method requests that the recipient establish a tunnel to +> the destination origin server identified by the request-target and, +> if successful, thereafter restrict its behavior to blind forwarding +> of packets, in both directions, until the tunnel is closed. Tunnels +> are commonly used to create an end-to-end virtual connection, through +> one or more proxies, which can then be secured using TLS (Transport +> Layer Security, [RFC5246]). + +In Node.js, these request objects come from the `'connect'` event on +the HTTP server. + +When this module is used on a HTTP `CONNECT` request, the request is +considered "finished" immediately, **due to limitations in the Node.js +interface**. This means if the `CONNECT` request contains a request entity, +the request will be considered "finished" even before it has been read. + +There is no such thing as a response object to a `CONNECT` request in +Node.js, so there is no support for one. + +### HTTP Upgrade request + +The meaning of the `Upgrade` header from RFC 7230, section 6.1: + +> The "Upgrade" header field is intended to provide a simple mechanism +> for transitioning from HTTP/1.1 to some other protocol on the same +> connection. + +In Node.js, these request objects come from the `'upgrade'` event on +the HTTP server. + +When this module is used on a HTTP request with an `Upgrade` header, the +request is considered "finished" immediately, **due to limitations in the +Node.js interface**. This means if the `Upgrade` request contains a request +entity, the request will be considered "finished" even before it has been +read. + +There is no such thing as a response object to a `Upgrade` request in +Node.js, so there is no support for one. + +## Example + +The following code ensures that file descriptors are always closed +once the response finishes. + +```js +var destroy = require('destroy') +var fs = require('fs') +var http = require('http') +var onFinished = require('on-finished') + +http.createServer(function onRequest (req, res) { + var stream = fs.createReadStream('package.json') + stream.pipe(res) + onFinished(res, function () { + destroy(stream) + }) +}) +``` + +## License + +[MIT](LICENSE) + +[ci-image]: https://badgen.net/github/checks/jshttp/on-finished/master?label=ci +[ci-url]: https://github.com/jshttp/on-finished/actions/workflows/ci.yml +[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/on-finished/master +[coveralls-url]: https://coveralls.io/r/jshttp/on-finished?branch=master +[node-image]: https://badgen.net/npm/node/on-finished +[node-url]: https://nodejs.org/en/download +[npm-downloads-image]: https://badgen.net/npm/dm/on-finished +[npm-url]: https://npmjs.org/package/on-finished +[npm-version-image]: https://badgen.net/npm/v/on-finished diff --git a/node_modules/on-finished/index.js b/node_modules/on-finished/index.js new file mode 100644 index 0000000..e68df7b --- /dev/null +++ b/node_modules/on-finished/index.js @@ -0,0 +1,234 @@ +/*! + * on-finished + * Copyright(c) 2013 Jonathan Ong + * Copyright(c) 2014 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module exports. + * @public + */ + +module.exports = onFinished +module.exports.isFinished = isFinished + +/** + * Module dependencies. + * @private + */ + +var asyncHooks = tryRequireAsyncHooks() +var first = require('ee-first') + +/** + * Variables. + * @private + */ + +/* istanbul ignore next */ +var defer = typeof setImmediate === 'function' + ? setImmediate + : function (fn) { process.nextTick(fn.bind.apply(fn, arguments)) } + +/** + * Invoke callback when the response has finished, useful for + * cleaning up resources afterwards. + * + * @param {object} msg + * @param {function} listener + * @return {object} + * @public + */ + +function onFinished (msg, listener) { + if (isFinished(msg) !== false) { + defer(listener, null, msg) + return msg + } + + // attach the listener to the message + attachListener(msg, wrap(listener)) + + return msg +} + +/** + * Determine if message is already finished. + * + * @param {object} msg + * @return {boolean} + * @public + */ + +function isFinished (msg) { + var socket = msg.socket + + if (typeof msg.finished === 'boolean') { + // OutgoingMessage + return Boolean(msg.finished || (socket && !socket.writable)) + } + + if (typeof msg.complete === 'boolean') { + // IncomingMessage + return Boolean(msg.upgrade || !socket || !socket.readable || (msg.complete && !msg.readable)) + } + + // don't know + return undefined +} + +/** + * Attach a finished listener to the message. + * + * @param {object} msg + * @param {function} callback + * @private + */ + +function attachFinishedListener (msg, callback) { + var eeMsg + var eeSocket + var finished = false + + function onFinish (error) { + eeMsg.cancel() + eeSocket.cancel() + + finished = true + callback(error) + } + + // finished on first message event + eeMsg = eeSocket = first([[msg, 'end', 'finish']], onFinish) + + function onSocket (socket) { + // remove listener + msg.removeListener('socket', onSocket) + + if (finished) return + if (eeMsg !== eeSocket) return + + // finished on first socket event + eeSocket = first([[socket, 'error', 'close']], onFinish) + } + + if (msg.socket) { + // socket already assigned + onSocket(msg.socket) + return + } + + // wait for socket to be assigned + msg.on('socket', onSocket) + + if (msg.socket === undefined) { + // istanbul ignore next: node.js 0.8 patch + patchAssignSocket(msg, onSocket) + } +} + +/** + * Attach the listener to the message. + * + * @param {object} msg + * @return {function} + * @private + */ + +function attachListener (msg, listener) { + var attached = msg.__onFinished + + // create a private single listener with queue + if (!attached || !attached.queue) { + attached = msg.__onFinished = createListener(msg) + attachFinishedListener(msg, attached) + } + + attached.queue.push(listener) +} + +/** + * Create listener on message. + * + * @param {object} msg + * @return {function} + * @private + */ + +function createListener (msg) { + function listener (err) { + if (msg.__onFinished === listener) msg.__onFinished = null + if (!listener.queue) return + + var queue = listener.queue + listener.queue = null + + for (var i = 0; i < queue.length; i++) { + queue[i](err, msg) + } + } + + listener.queue = [] + + return listener +} + +/** + * Patch ServerResponse.prototype.assignSocket for node.js 0.8. + * + * @param {ServerResponse} res + * @param {function} callback + * @private + */ + +// istanbul ignore next: node.js 0.8 patch +function patchAssignSocket (res, callback) { + var assignSocket = res.assignSocket + + if (typeof assignSocket !== 'function') return + + // res.on('socket', callback) is broken in 0.8 + res.assignSocket = function _assignSocket (socket) { + assignSocket.call(this, socket) + callback(socket) + } +} + +/** + * Try to require async_hooks + * @private + */ + +function tryRequireAsyncHooks () { + try { + return require('async_hooks') + } catch (e) { + return {} + } +} + +/** + * Wrap function with async resource, if possible. + * AsyncResource.bind static method backported. + * @private + */ + +function wrap (fn) { + var res + + // create anonymous resource + if (asyncHooks.AsyncResource) { + res = new asyncHooks.AsyncResource(fn.name || 'bound-anonymous-fn') + } + + // incompatible node.js + if (!res || !res.runInAsyncScope) { + return fn + } + + // return bound function + return res.runInAsyncScope.bind(res, fn, null) +} diff --git a/node_modules/on-finished/package.json b/node_modules/on-finished/package.json new file mode 100644 index 0000000..644cd81 --- /dev/null +++ b/node_modules/on-finished/package.json @@ -0,0 +1,39 @@ +{ + "name": "on-finished", + "description": "Execute a callback when a request closes, finishes, or errors", + "version": "2.4.1", + "contributors": [ + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)" + ], + "license": "MIT", + "repository": "jshttp/on-finished", + "dependencies": { + "ee-first": "1.1.1" + }, + "devDependencies": { + "eslint": "7.32.0", + "eslint-config-standard": "14.1.1", + "eslint-plugin-import": "2.25.4", + "eslint-plugin-markdown": "2.2.1", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-promise": "5.2.0", + "eslint-plugin-standard": "4.1.0", + "mocha": "9.2.1", + "nyc": "15.1.0" + }, + "engines": { + "node": ">= 0.8" + }, + "files": [ + "HISTORY.md", + "LICENSE", + "index.js" + ], + "scripts": { + "lint": "eslint .", + "test": "mocha --reporter spec --bail --check-leaks test/", + "test-ci": "nyc --reporter=lcovonly --reporter=text npm test", + "test-cov": "nyc --reporter=html --reporter=text npm test" + } +} diff --git a/node_modules/one-time/LICENSE b/node_modules/one-time/LICENSE new file mode 100644 index 0000000..6dc9316 --- /dev/null +++ b/node_modules/one-time/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/node_modules/one-time/README.md b/node_modules/one-time/README.md new file mode 100644 index 0000000..75143ad --- /dev/null +++ b/node_modules/one-time/README.md @@ -0,0 +1,88 @@ +# one-time + +Call the supplied function exactly one time. This prevents double callback +execution. This module can be used on both Node.js, React-Native, or browsers +using Browserify. No magical ES5/6 methods used unlike the `once` module does +(except for the async version). + +## Installation + +This module is published to the public npm registry and can be installed +by running: + +```sh +npm install --save one-time +``` + +## Usage (normal) + +Simply supply the function with the function that should only be called one +time: + +```js +var one = require('one-time'); + +function load(file, fn) { + fn = one(fn); + + eventemitter.once('load', fn); + eventemitter.once('error', fn); + + // do stuff + eventemitter.emit('error', new Error('Failed to load, but still finished')); + eventemitter.emit('load'); +} + +function example(fn) { + fn = one(fn); + + fn(); + fn('also receives all arguments'); + fn('it returns the same value') === 'bar'; + fn('never'); + fn('gonna'); + fn('give'); + fn('you'); + fn('up'); +} + +example(function () { + return 'bar' +}); +``` + +## Usage (async) + +The same pattern is available for **async** functions as well, for that you +should import that `one-time/async` version instead. This one is optimized +for **async** and **await** support. It following exactly the same as the +normal version but assumes it's an `async function () {}` that it's wrapping +instead of a regular function, and it will return an `async function() {}` +instead of a regular function. + +```js +import one from 'one-time/async'; + +const fn = one(async function () { + return await example(); +}); + +await fn(); +await fn(); +await fn(); +``` + +### Why not `once`? + +The main reason is that `once` cannot be used in a browser environment unless +it's ES5 compatible. For a module as simple as this I find that unacceptable. In +addition to that it super heavy on the dependency side. So it's totally not +suitable to be used in client side applications. + +In addition to that we make sure that your code stays easy to debug as returned +functions are named in the same way as your supplied functions. Making heap +inspection and stack traces easier to understand. + +## License + +[MIT](LICENSE) diff --git a/node_modules/one-time/async.js b/node_modules/one-time/async.js new file mode 100644 index 0000000..7370ae3 --- /dev/null +++ b/node_modules/one-time/async.js @@ -0,0 +1,43 @@ +'use strict'; + +var name = require('fn.name'); + +/** + * Wrap callbacks to prevent double execution. + * + * @param {Function} fn Function that should only be called once. + * @returns {Function} A async wrapped callback which prevents multiple executions. + * @public + */ +module.exports = function one(fn) { + var called = 0 + , value; + + /** + * The function that prevents double execution. + * + * @async + * @public + */ + async function onetime() { + if (called) return value; + + called = 1; + value = await fn.apply(this, arguments); + fn = null; + + return value; + } + + // + // To make debugging more easy we want to use the name of the supplied + // function. So when you look at the functions that are assigned to event + // listeners you don't see a load of `onetime` functions but actually the + // names of the functions that this module will call. + // + // NOTE: We cannot override the `name` property, as that is `readOnly` + // property, so displayName will have to do. + // + onetime.displayName = name(fn); + return onetime; +}; diff --git a/node_modules/one-time/index.js b/node_modules/one-time/index.js new file mode 100644 index 0000000..96b2f3d --- /dev/null +++ b/node_modules/one-time/index.js @@ -0,0 +1,42 @@ +'use strict'; + +var name = require('fn.name'); + +/** + * Wrap callbacks to prevent double execution. + * + * @param {Function} fn Function that should only be called once. + * @returns {Function} A wrapped callback which prevents multiple executions. + * @public + */ +module.exports = function one(fn) { + var called = 0 + , value; + + /** + * The function that prevents double execution. + * + * @private + */ + function onetime() { + if (called) return value; + + called = 1; + value = fn.apply(this, arguments); + fn = null; + + return value; + } + + // + // To make debugging more easy we want to use the name of the supplied + // function. So when you look at the functions that are assigned to event + // listeners you don't see a load of `onetime` functions but actually the + // names of the functions that this module will call. + // + // NOTE: We cannot override the `name` property, as that is `readOnly` + // property, so displayName will have to do. + // + onetime.displayName = name(fn); + return onetime; +}; diff --git a/node_modules/one-time/package.json b/node_modules/one-time/package.json new file mode 100644 index 0000000..bc32a02 --- /dev/null +++ b/node_modules/one-time/package.json @@ -0,0 +1,34 @@ +{ + "name": "one-time", + "version": "1.0.0", + "description": "Run the supplied function exactly one time (once)", + "main": "index.js", + "scripts": { + "test:runner": "mocha test.js", + "test:watch": "npm run test:runner -- --watch", + "test": "nyc --reporter=text --reporter=json-summary npm run test:runner" + }, + "repository": { + "type": "git", + "url": "https://github.com/3rd-Eden/one-time.git" + }, + "keywords": [ + "once", + "function", + "single", + "one", + "one-time", + "execution", + "nope" + ], + "author": "Arnout Kazemier", + "license": "MIT", + "devDependencies": { + "assume": "^2.2.0", + "mocha": "^6.1.4", + "nyc": "^14.1.0" + }, + "dependencies": { + "fn.name": "1.x.x" + } +} diff --git a/node_modules/parseurl/HISTORY.md b/node_modules/parseurl/HISTORY.md new file mode 100644 index 0000000..8e40954 --- /dev/null +++ b/node_modules/parseurl/HISTORY.md @@ -0,0 +1,58 @@ +1.3.3 / 2019-04-15 +================== + + * Fix Node.js 0.8 return value inconsistencies + +1.3.2 / 2017-09-09 +================== + + * perf: reduce overhead for full URLs + * perf: unroll the "fast-path" `RegExp` + +1.3.1 / 2016-01-17 +================== + + * perf: enable strict mode + +1.3.0 / 2014-08-09 +================== + + * Add `parseurl.original` for parsing `req.originalUrl` with fallback + * Return `undefined` if `req.url` is `undefined` + +1.2.0 / 2014-07-21 +================== + + * Cache URLs based on original value + * Remove no-longer-needed URL mis-parse work-around + * Simplify the "fast-path" `RegExp` + +1.1.3 / 2014-07-08 +================== + + * Fix typo + +1.1.2 / 2014-07-08 +================== + + * Seriously fix Node.js 0.8 compatibility + +1.1.1 / 2014-07-08 +================== + + * Fix Node.js 0.8 compatibility + +1.1.0 / 2014-07-08 +================== + + * Incorporate URL href-only parse fast-path + +1.0.1 / 2014-03-08 +================== + + * Add missing `require` + +1.0.0 / 2014-03-08 +================== + + * Genesis from `connect` diff --git a/node_modules/parseurl/LICENSE b/node_modules/parseurl/LICENSE new file mode 100644 index 0000000..27653d3 --- /dev/null +++ b/node_modules/parseurl/LICENSE @@ -0,0 +1,24 @@ + +(The MIT License) + +Copyright (c) 2014 Jonathan Ong +Copyright (c) 2014-2017 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/parseurl/README.md b/node_modules/parseurl/README.md new file mode 100644 index 0000000..443e716 --- /dev/null +++ b/node_modules/parseurl/README.md @@ -0,0 +1,133 @@ +# parseurl + +[![NPM Version][npm-version-image]][npm-url] +[![NPM Downloads][npm-downloads-image]][npm-url] +[![Node.js Version][node-image]][node-url] +[![Build Status][travis-image]][travis-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +Parse a URL with memoization. + +## Install + +This is a [Node.js](https://nodejs.org/en/) module available through the +[npm registry](https://www.npmjs.com/). Installation is done using the +[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): + +```sh +$ npm install parseurl +``` + +## API + +```js +var parseurl = require('parseurl') +``` + +### parseurl(req) + +Parse the URL of the given request object (looks at the `req.url` property) +and return the result. The result is the same as `url.parse` in Node.js core. +Calling this function multiple times on the same `req` where `req.url` does +not change will return a cached parsed object, rather than parsing again. + +### parseurl.original(req) + +Parse the original URL of the given request object and return the result. +This works by trying to parse `req.originalUrl` if it is a string, otherwise +parses `req.url`. The result is the same as `url.parse` in Node.js core. +Calling this function multiple times on the same `req` where `req.originalUrl` +does not change will return a cached parsed object, rather than parsing again. + +## Benchmark + +```bash +$ npm run-script bench + +> parseurl@1.3.3 bench nodejs-parseurl +> node benchmark/index.js + + http_parser@2.8.0 + node@10.6.0 + v8@6.7.288.46-node.13 + uv@1.21.0 + zlib@1.2.11 + ares@1.14.0 + modules@64 + nghttp2@1.32.0 + napi@3 + openssl@1.1.0h + icu@61.1 + unicode@10.0 + cldr@33.0 + tz@2018c + +> node benchmark/fullurl.js + + Parsing URL "http://localhost:8888/foo/bar?user=tj&pet=fluffy" + + 4 tests completed. + + fasturl x 2,207,842 ops/sec ±3.76% (184 runs sampled) + nativeurl - legacy x 507,180 ops/sec ±0.82% (191 runs sampled) + nativeurl - whatwg x 290,044 ops/sec ±1.96% (189 runs sampled) + parseurl x 488,907 ops/sec ±2.13% (192 runs sampled) + +> node benchmark/pathquery.js + + Parsing URL "/foo/bar?user=tj&pet=fluffy" + + 4 tests completed. + + fasturl x 3,812,564 ops/sec ±3.15% (188 runs sampled) + nativeurl - legacy x 2,651,631 ops/sec ±1.68% (189 runs sampled) + nativeurl - whatwg x 161,837 ops/sec ±2.26% (189 runs sampled) + parseurl x 4,166,338 ops/sec ±2.23% (184 runs sampled) + +> node benchmark/samerequest.js + + Parsing URL "/foo/bar?user=tj&pet=fluffy" on same request object + + 4 tests completed. + + fasturl x 3,821,651 ops/sec ±2.42% (185 runs sampled) + nativeurl - legacy x 2,651,162 ops/sec ±1.90% (187 runs sampled) + nativeurl - whatwg x 175,166 ops/sec ±1.44% (188 runs sampled) + parseurl x 14,912,606 ops/sec ±3.59% (183 runs sampled) + +> node benchmark/simplepath.js + + Parsing URL "/foo/bar" + + 4 tests completed. + + fasturl x 12,421,765 ops/sec ±2.04% (191 runs sampled) + nativeurl - legacy x 7,546,036 ops/sec ±1.41% (188 runs sampled) + nativeurl - whatwg x 198,843 ops/sec ±1.83% (189 runs sampled) + parseurl x 24,244,006 ops/sec ±0.51% (194 runs sampled) + +> node benchmark/slash.js + + Parsing URL "/" + + 4 tests completed. + + fasturl x 17,159,456 ops/sec ±3.25% (188 runs sampled) + nativeurl - legacy x 11,635,097 ops/sec ±3.79% (184 runs sampled) + nativeurl - whatwg x 240,693 ops/sec ±0.83% (189 runs sampled) + parseurl x 42,279,067 ops/sec ±0.55% (190 runs sampled) +``` + +## License + + [MIT](LICENSE) + +[coveralls-image]: https://badgen.net/coveralls/c/github/pillarjs/parseurl/master +[coveralls-url]: https://coveralls.io/r/pillarjs/parseurl?branch=master +[node-image]: https://badgen.net/npm/node/parseurl +[node-url]: https://nodejs.org/en/download +[npm-downloads-image]: https://badgen.net/npm/dm/parseurl +[npm-url]: https://npmjs.org/package/parseurl +[npm-version-image]: https://badgen.net/npm/v/parseurl +[travis-image]: https://badgen.net/travis/pillarjs/parseurl/master +[travis-url]: https://travis-ci.org/pillarjs/parseurl diff --git a/node_modules/parseurl/index.js b/node_modules/parseurl/index.js new file mode 100644 index 0000000..ece7223 --- /dev/null +++ b/node_modules/parseurl/index.js @@ -0,0 +1,158 @@ +/*! + * parseurl + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2014-2017 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + * @private + */ + +var url = require('url') +var parse = url.parse +var Url = url.Url + +/** + * Module exports. + * @public + */ + +module.exports = parseurl +module.exports.original = originalurl + +/** + * Parse the `req` url with memoization. + * + * @param {ServerRequest} req + * @return {Object} + * @public + */ + +function parseurl (req) { + var url = req.url + + if (url === undefined) { + // URL is undefined + return undefined + } + + var parsed = req._parsedUrl + + if (fresh(url, parsed)) { + // Return cached URL parse + return parsed + } + + // Parse the URL + parsed = fastparse(url) + parsed._raw = url + + return (req._parsedUrl = parsed) +}; + +/** + * Parse the `req` original url with fallback and memoization. + * + * @param {ServerRequest} req + * @return {Object} + * @public + */ + +function originalurl (req) { + var url = req.originalUrl + + if (typeof url !== 'string') { + // Fallback + return parseurl(req) + } + + var parsed = req._parsedOriginalUrl + + if (fresh(url, parsed)) { + // Return cached URL parse + return parsed + } + + // Parse the URL + parsed = fastparse(url) + parsed._raw = url + + return (req._parsedOriginalUrl = parsed) +}; + +/** + * Parse the `str` url with fast-path short-cut. + * + * @param {string} str + * @return {Object} + * @private + */ + +function fastparse (str) { + if (typeof str !== 'string' || str.charCodeAt(0) !== 0x2f /* / */) { + return parse(str) + } + + var pathname = str + var query = null + var search = null + + // This takes the regexp from https://github.com/joyent/node/pull/7878 + // Which is /^(\/[^?#\s]*)(\?[^#\s]*)?$/ + // And unrolls it into a for loop + for (var i = 1; i < str.length; i++) { + switch (str.charCodeAt(i)) { + case 0x3f: /* ? */ + if (search === null) { + pathname = str.substring(0, i) + query = str.substring(i + 1) + search = str.substring(i) + } + break + case 0x09: /* \t */ + case 0x0a: /* \n */ + case 0x0c: /* \f */ + case 0x0d: /* \r */ + case 0x20: /* */ + case 0x23: /* # */ + case 0xa0: + case 0xfeff: + return parse(str) + } + } + + var url = Url !== undefined + ? new Url() + : {} + + url.path = str + url.href = str + url.pathname = pathname + + if (search !== null) { + url.query = query + url.search = search + } + + return url +} + +/** + * Determine if parsed is still fresh for url. + * + * @param {string} url + * @param {object} parsedUrl + * @return {boolean} + * @private + */ + +function fresh (url, parsedUrl) { + return typeof parsedUrl === 'object' && + parsedUrl !== null && + (Url === undefined || parsedUrl instanceof Url) && + parsedUrl._raw === url +} diff --git a/node_modules/parseurl/package.json b/node_modules/parseurl/package.json new file mode 100644 index 0000000..6b443ca --- /dev/null +++ b/node_modules/parseurl/package.json @@ -0,0 +1,40 @@ +{ + "name": "parseurl", + "description": "parse a url with memoization", + "version": "1.3.3", + "contributors": [ + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)" + ], + "repository": "pillarjs/parseurl", + "license": "MIT", + "devDependencies": { + "beautify-benchmark": "0.2.4", + "benchmark": "2.1.4", + "eslint": "5.16.0", + "eslint-config-standard": "12.0.0", + "eslint-plugin-import": "2.17.1", + "eslint-plugin-node": "7.0.1", + "eslint-plugin-promise": "4.1.1", + "eslint-plugin-standard": "4.0.0", + "fast-url-parser": "1.1.3", + "istanbul": "0.4.5", + "mocha": "6.1.3" + }, + "files": [ + "LICENSE", + "HISTORY.md", + "README.md", + "index.js" + ], + "engines": { + "node": ">= 0.8" + }, + "scripts": { + "bench": "node benchmark/index.js", + "lint": "eslint .", + "test": "mocha --check-leaks --bail --reporter spec test/", + "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --reporter dot test/", + "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --check-leaks --reporter spec test/" + } +} diff --git a/node_modules/path-expression-matcher/LICENSE b/node_modules/path-expression-matcher/LICENSE new file mode 100644 index 0000000..c13f991 --- /dev/null +++ b/node_modules/path-expression-matcher/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/path-expression-matcher/README.md b/node_modules/path-expression-matcher/README.md new file mode 100644 index 0000000..bbbcd6f --- /dev/null +++ b/node_modules/path-expression-matcher/README.md @@ -0,0 +1,720 @@ +# path-expression-matcher + +Efficient path tracking and pattern matching for XML, JSON, YAML or any other parsers. + +## 🎯 Purpose + +`path-expression-matcher` provides two core classes for tracking and matching paths: + +- **`Expression`**: Parses and stores pattern expressions (e.g., `"root.users.user[id]"`) +- **`Matcher`**: Tracks current path during parsing and matches against expressions + +Compatible with [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) and similar tools. + +## 📦 Installation + +```bash +npm install path-expression-matcher +``` + +## 🚀 Quick Start + +```javascript +import { Expression, Matcher } from 'path-expression-matcher'; + +// Create expression (parse once, reuse many times) +const expr = new Expression("root.users.user"); + +// Create matcher (tracks current path) +const matcher = new Matcher(); + +matcher.push("root"); +matcher.push("users"); +matcher.push("user", { id: "123" }); + +// Match current path against expression +if (matcher.matches(expr)) { + console.log("Match found!"); + console.log("Current path:", matcher.toString()); // "root.users.user" +} + +// Namespace support +const nsExpr = new Expression("soap::Envelope.soap::Body..ns::UserId"); +matcher.push("Envelope", null, "soap"); +matcher.push("Body", null, "soap"); +matcher.push("UserId", null, "ns"); +console.log(matcher.toString()); // "soap:Envelope.soap:Body.ns:UserId" +``` + +## 📖 Pattern Syntax + +### Basic Paths + +```javascript +"root.users.user" // Exact path match +"*.users.user" // Wildcard: any parent +"root.*.user" // Wildcard: any middle +"root.users.*" // Wildcard: any child +``` + +### Deep Wildcard + +```javascript +"..user" // user anywhere in tree +"root..user" // user anywhere under root +"..users..user" // users somewhere, then user below it +``` + +### Attribute Matching + +```javascript +"user[id]" // user with "id" attribute +"user[type=admin]" // user with type="admin" (current node only) +"root[lang]..user" // user under root that has "lang" attribute +``` + +### Position Selectors + +```javascript +"user:first" // First user (counter=0) +"user:nth(2)" // Third user (counter=2, zero-based) +"user:odd" // Odd-numbered users (counter=1,3,5...) +"user:even" // Even-numbered users (counter=0,2,4...) +"root.users.user:first" // First user under users +``` + +**Note:** Position selectors use the **counter** (occurrence count of the tag name), not the position (child index). For example, in ``, the second `` has position=2 but counter=1. + +### Namespaces + +```javascript +"ns::user" // user with namespace "ns" +"soap::Envelope" // Envelope with namespace "soap" +"ns::user[id]" // user with namespace "ns" and "id" attribute +"ns::user:first" // First user with namespace "ns" +"*::user" // user with any namespace +"..ns::item" // item with namespace "ns" anywhere in tree +"soap::Envelope.soap::Body" // Nested namespaced elements +"ns::first" // Tag named "first" with namespace "ns" (NO ambiguity!) +``` + +**Namespace syntax:** +- Use **double colon (::)** for namespace: `ns::tag` +- Use **single colon (:)** for position: `tag:first` +- Combined: `ns::tag:first` (namespace + tag + position) + +**Namespace matching rules:** +- Pattern `ns::user` matches only nodes with namespace "ns" and tag "user" +- Pattern `user` (no namespace) matches nodes with tag "user" regardless of namespace +- Pattern `*::user` matches tag "user" with any namespace (wildcard namespace) +- Namespaces are tracked separately for counter/position (e.g., `ns1::item` and `ns2::item` have independent counters) + +### Wildcard Differences + +**Single wildcard (`*`)** - Matches exactly ONE level: +- `"*.fix1"` matches `root.fix1` (2 levels) ✅ +- `"*.fix1"` does NOT match `root.another.fix1` (3 levels) ❌ +- Path depth MUST equal pattern depth + +**Deep wildcard (`..`)** - Matches ZERO or MORE levels: +- `"..fix1"` matches `root.fix1` ✅ +- `"..fix1"` matches `root.another.fix1` ✅ +- `"..fix1"` matches `a.b.c.d.fix1` ✅ +- Works at any depth + +### Combined Patterns + +```javascript +"..user[id]:first" // First user with id, anywhere +"root..user[type=admin]" // Admin user under root +"ns::user[id]:first" // First namespaced user with id +"soap::Envelope..ns::UserId" // UserId with namespace ns under SOAP envelope +``` + +## 🔧 API Reference + +### Expression + +#### Constructor + +```javascript +new Expression(pattern, options) +``` + +**Parameters:** +- `pattern` (string): Pattern to parse +- `options.separator` (string): Path separator (default: `'.'`) + +**Example:** +```javascript +const expr1 = new Expression("root.users.user"); +const expr2 = new Expression("root/users/user", { separator: '/' }); +``` + +#### Methods + +- `hasDeepWildcard()` → boolean +- `hasAttributeCondition()` → boolean +- `hasPositionSelector()` → boolean +- `toString()` → string + +### Matcher + +#### Constructor + +```javascript +new Matcher(options) +``` + +**Parameters:** +- `options.separator` (string): Default path separator (default: `'.'`) + +#### Path Tracking Methods + +##### `push(tagName, attrValues, namespace)` + +Add a tag to the current path. Position and counter are automatically calculated. + +**Parameters:** +- `tagName` (string): Tag name +- `attrValues` (object, optional): Attribute key-value pairs (current node only) +- `namespace` (string, optional): Namespace for the tag + +**Example:** +```javascript +matcher.push("user", { id: "123", type: "admin" }); +matcher.push("item"); // No attributes +matcher.push("Envelope", null, "soap"); // With namespace +matcher.push("Body", { version: "1.1" }, "soap"); // With both +``` + +**Position vs Counter:** +- **Position**: The child index in the parent (0, 1, 2, 3...) +- **Counter**: How many times this tag name appeared at this level (0, 1, 2...) + +Example: +```xml + + + + + +``` + +##### `pop()` + +Remove the last tag from the path. + +```javascript +matcher.pop(); +``` + +##### `updateCurrent(attrValues)` + +Update current node's attributes (useful when attributes are parsed after push). + +```javascript +matcher.push("user"); // Don't know values yet +// ... parse attributes ... +matcher.updateCurrent({ id: "123" }); +``` + +##### `reset()` + +Clear the entire path. + +```javascript +matcher.reset(); +``` + +#### Query Methods + +##### `matches(expression)` + +Check if current path matches an Expression. + +```javascript +const expr = new Expression("root.users.user"); +if (matcher.matches(expr)) { + // Current path matches +} +``` + +##### `getCurrentTag()` + +Get current tag name. + +```javascript +const tag = matcher.getCurrentTag(); // "user" +``` + +##### `getCurrentNamespace()` + +Get current namespace. + +```javascript +const ns = matcher.getCurrentNamespace(); // "soap" or undefined +``` + +##### `getAttrValue(attrName)` + +Get attribute value of current node. + +```javascript +const id = matcher.getAttrValue("id"); // "123" +``` + +##### `hasAttr(attrName)` + +Check if current node has an attribute. + +```javascript +if (matcher.hasAttr("id")) { + // Current node has "id" attribute +} +``` + +##### `getPosition()` + +Get sibling position of current node (child index in parent). + +```javascript +const position = matcher.getPosition(); // 0, 1, 2, ... +``` + +##### `getCounter()` + +Get repeat counter of current node (occurrence count of this tag name). + +```javascript +const counter = matcher.getCounter(); // 0, 1, 2, ... +``` + +##### `getIndex()` (deprecated) + +Alias for `getPosition()`. Use `getPosition()` or `getCounter()` instead for clarity. + +```javascript +const index = matcher.getIndex(); // Same as getPosition() +``` + +##### `getDepth()` + +Get current path depth. + +```javascript +const depth = matcher.getDepth(); // 3 for "root.users.user" +``` + +##### `toString(separator?, includeNamespace?)` + +Get path as string. + +**Parameters:** +- `separator` (string, optional): Path separator (uses default if not provided) +- `includeNamespace` (boolean, optional): Whether to include namespaces (default: true) + +```javascript +const path = matcher.toString(); // "root.ns:user.item" +const path2 = matcher.toString('/'); // "root/ns:user/item" +const path3 = matcher.toString('.', false); // "root.user.item" (no namespaces) +``` + +##### `toArray()` + +Get path as array. + +```javascript +const arr = matcher.toArray(); // ["root", "users", "user"] +``` + +#### State Management + +##### `snapshot()` + +Create a snapshot of current state. + +```javascript +const snapshot = matcher.snapshot(); +``` + +##### `restore(snapshot)` + +Restore from a snapshot. + +```javascript +matcher.restore(snapshot); +``` + +#### Read-Only Access + +##### `readOnly()` + +Returns a **live, read-only proxy** of the matcher. All query and inspection methods work normally, but any attempt to call a state-mutating method (`push`, `pop`, `reset`, `updateCurrent`, `restore`) or to write/delete a property throws a `TypeError`. + +This is the recommended way to share the matcher with external consumers — plugins, callbacks, event handlers — that only need to inspect the current path without being able to corrupt parser state. + +```javascript +const ro = matcher.readOnly(); +``` + +**What works on the read-only view:** + +```javascript +ro.matches(expr) // ✓ pattern matching +ro.getCurrentTag() // ✓ current tag name +ro.getCurrentNamespace() // ✓ current namespace +ro.getAttrValue("id") // ✓ attribute value +ro.hasAttr("id") // ✓ attribute presence check +ro.getPosition() // ✓ sibling position +ro.getCounter() // ✓ occurrence counter +ro.getDepth() // ✓ path depth +ro.toString() // ✓ path as string +ro.toArray() // ✓ path as array +ro.snapshot() // ✓ snapshot (can be used to restore the real matcher) +``` + +**What throws a `TypeError`:** + +```javascript +ro.push("child", {}) // ✗ TypeError: Cannot call 'push' on a read-only Matcher +ro.pop() // ✗ TypeError: Cannot call 'pop' on a read-only Matcher +ro.reset() // ✗ TypeError: Cannot call 'reset' on a read-only Matcher +ro.updateCurrent({}) // ✗ TypeError: Cannot call 'updateCurrent' on a read-only Matcher +ro.restore(snapshot) // ✗ TypeError: Cannot call 'restore' on a read-only Matcher +ro.separator = '/' // ✗ TypeError: Cannot set property on a read-only Matcher +``` + +**Important:** The read-only view is **live** — it always reflects the current state of the underlying matcher. If you need a frozen-in-time copy instead, use `snapshot()`. + +```javascript +const matcher = new Matcher(); +const ro = matcher.readOnly(); + +matcher.push("root"); +ro.getDepth(); // 1 — immediately reflects the push +matcher.push("users"); +ro.getDepth(); // 2 — still live +``` + +## 💡 Usage Examples + +### Example 1: XML Parser with stopNodes + +```javascript +import { XMLParser } from 'fast-xml-parser'; +import { Expression, Matcher } from 'path-expression-matcher'; + +class MyParser { + constructor() { + this.matcher = new Matcher(); + + // Pre-compile stop node patterns + this.stopNodeExpressions = [ + new Expression("html.body.script"), + new Expression("html.body.style"), + new Expression("..svg"), + ]; + } + + parseTag(tagName, attrs) { + this.matcher.push(tagName, attrs); + + // Check if this is a stop node + for (const expr of this.stopNodeExpressions) { + if (this.matcher.matches(expr)) { + // Don't parse children, read as raw text + return this.readRawContent(); + } + } + + // Continue normal parsing + this.parseChildren(); + + this.matcher.pop(); + } +} +``` + +### Example 2: Conditional Processing + +```javascript +const matcher = new Matcher(); +const userExpr = new Expression("..user[type=admin]"); +const firstItemExpr = new Expression("..item:first"); + +function processTag(tagName, value, attrs) { + matcher.push(tagName, attrs); + + if (matcher.matches(userExpr)) { + value = enhanceAdminUser(value); + } + + if (matcher.matches(firstItemExpr)) { + value = markAsFirst(value); + } + + matcher.pop(); + return value; +} +``` + +### Example 3: Path-based Filtering + +```javascript +const patterns = [ + new Expression("data.users.user"), + new Expression("data.posts.post"), + new Expression("..comment[approved=true]"), +]; + +function shouldInclude(matcher) { + return patterns.some(expr => matcher.matches(expr)); +} +``` + +### Example 4: Custom Separator + +```javascript +const matcher = new Matcher({ separator: '/' }); +const expr = new Expression("root/config/database", { separator: '/' }); + +matcher.push("root"); +matcher.push("config"); +matcher.push("database"); + +console.log(matcher.toString()); // "root/config/database" +console.log(matcher.matches(expr)); // true +``` + +### Example 5: Attribute Checking + +```javascript +const matcher = new Matcher(); +matcher.push("root"); +matcher.push("user", { id: "123", type: "admin", status: "active" }); + +// Check attribute existence (current node only) +console.log(matcher.hasAttr("id")); // true +console.log(matcher.hasAttr("email")); // false + +// Get attribute value (current node only) +console.log(matcher.getAttrValue("type")); // "admin" + +// Match by attribute +const expr1 = new Expression("user[id]"); +console.log(matcher.matches(expr1)); // true + +const expr2 = new Expression("user[type=admin]"); +console.log(matcher.matches(expr2)); // true +``` + +### Example 6: Position vs Counter + +```javascript +const matcher = new Matcher(); +matcher.push("root"); + +// Mixed tags at same level +matcher.push("item"); // position=0, counter=0 (first item) +matcher.pop(); + +matcher.push("div"); // position=1, counter=0 (first div) +matcher.pop(); + +matcher.push("item"); // position=2, counter=1 (second item) + +console.log(matcher.getPosition()); // 2 (third child overall) +console.log(matcher.getCounter()); // 1 (second "item" specifically) + +// :first uses counter, not position +const expr = new Expression("root.item:first"); +console.log(matcher.matches(expr)); // false (counter=1, not 0) +``` + +### Example 8: Passing a Read-Only Matcher to External Consumers + +When passing the matcher into callbacks, plugins, or other code you don't control, use `readOnly()` to prevent accidental state corruption. + +```javascript +import { Expression, Matcher } from 'path-expression-matcher'; + +const matcher = new Matcher(); + +const adminExpr = new Expression("..user[type=admin]"); + +function parseTag(tagName, attrs, onTag) { + matcher.push(tagName, attrs); + + // Pass a read-only view — consumer can inspect but not mutate + onTag(matcher.readOnly()); + + matcher.pop(); +} + +// Safe consumer — can only read +function myPlugin(ro) { + if (ro.matches(adminExpr)) { + console.log("Admin at path:", ro.toString()); + console.log("Depth:", ro.getDepth()); + console.log("ID:", ro.getAttrValue("id")); + } +} + +// ro.push(...) or ro.reset() here would throw TypeError, +// so the parser's state is always safe. +parseTag("user", { id: "1", type: "admin" }, myPlugin); +``` + +**Combining with `snapshot()`:** A snapshot taken via the read-only view can still be used to restore the real matcher. + +```javascript +const matcher = new Matcher(); +matcher.push("root"); +matcher.push("users"); + +const ro = matcher.readOnly(); +const snap = ro.snapshot(); // ✓ snapshot works on read-only view + +matcher.push("user"); // continue parsing... +matcher.restore(snap); // restore to "root.users" using the snapshot +``` + +```javascript +const matcher = new Matcher(); +const soapExpr = new Expression("soap::Envelope.soap::Body..ns::UserId"); + +// Parse SOAP document +matcher.push("Envelope", { xmlns: "..." }, "soap"); +matcher.push("Body", null, "soap"); +matcher.push("GetUserRequest", null, "ns"); +matcher.push("UserId", null, "ns"); + +// Match namespaced pattern +if (matcher.matches(soapExpr)) { + console.log("Found UserId in SOAP body"); + console.log(matcher.toString()); // "soap:Envelope.soap:Body.ns:GetUserRequest.ns:UserId" +} + +// Namespace-specific counters +matcher.reset(); +matcher.push("root"); +matcher.push("item", null, "ns1"); // ns1::item counter=0 +matcher.pop(); +matcher.push("item", null, "ns2"); // ns2::item counter=0 (different namespace) +matcher.pop(); +matcher.push("item", null, "ns1"); // ns1::item counter=1 + +const firstNs1Item = new Expression("root.ns1::item:first"); +console.log(matcher.matches(firstNs1Item)); // false (counter=1) + +const secondNs1Item = new Expression("root.ns1::item:nth(1)"); +console.log(matcher.matches(secondNs1Item)); // true + +// NO AMBIGUITY: Tags named after position keywords +matcher.reset(); +matcher.push("root"); +matcher.push("first", null, "ns"); // Tag named "first" with namespace + +const expr = new Expression("root.ns::first"); +console.log(matcher.matches(expr)); // true - matches namespace "ns", tag "first" +``` + +## 🏗️ Architecture + +### Data Storage Strategy + +**Ancestor nodes:** Store only tag name, position, and counter (minimal memory) +**Current node:** Store tag name, position, counter, and attribute values + +This design minimizes memory usage: +- No attribute names stored (derived from values object when needed) +- Attribute values only for current node, not ancestors +- Attribute checking for ancestors is not supported (acceptable trade-off) +- For 1M nodes with 3 attributes each, saves ~50MB vs storing attribute names + +### Matching Strategy + +Matching is performed **bottom-to-top** (from current node toward root): +1. Start at current node +2. Match segments from pattern end to start +3. Attribute checking only works for current node (ancestors have no attribute data) +4. Position selectors use **counter** (occurrence count), not position (child index) + +### Performance + +- **Expression parsing:** One-time cost when Expression is created +- **Expression analysis:** Cached (hasDeepWildcard, hasAttributeCondition, hasPositionSelector) +- **Path tracking:** O(1) for push/pop operations +- **Pattern matching:** O(n*m) where n = path depth, m = pattern segments +- **Memory per ancestor node:** ~40-60 bytes (tag, position, counter only) +- **Memory per current node:** ~80-120 bytes (adds attribute values) + +## 🎓 Design Patterns + +### Pre-compile Patterns (Recommended) + +```javascript +// ✅ GOOD: Parse once, reuse many times +const expr = new Expression("..user[id]"); + +for (let i = 0; i < 1000; i++) { + if (matcher.matches(expr)) { + // ... + } +} +``` + +```javascript +// ❌ BAD: Parse on every iteration +for (let i = 0; i < 1000; i++) { + if (matcher.matches(new Expression("..user[id]"))) { + // ... + } +} +``` + +### Batch Pattern Checking + +```javascript +// For multiple patterns, check all at once +const patterns = [ + new Expression("..user"), + new Expression("..post"), + new Expression("..comment"), +]; + +function matchesAny(matcher, patterns) { + return patterns.some(expr => matcher.matches(expr)); +} +``` + +## 🔗 Integration with fast-xml-parser + +**Basic integration:** + +```javascript +import { XMLParser } from 'fast-xml-parser'; +import { Expression, Matcher } from 'path-expression-matcher'; + +const parser = new XMLParser({ + // Custom options using path-expression-matcher + stopNodes: ["script", "style"].map(tag => new Expression(`..${tag}`)), + + tagValueProcessor: (tagName, value, jPath, hasAttrs, isLeaf, matcher) => { + // matcher is available in callbacks + if (matcher.matches(new Expression("..user[type=admin]"))) { + return enhanceValue(value); + } + return value; + } +}); +``` + +## 📄 License + +MIT + +## 🤝 Contributing + +Issues and PRs welcome! This package is designed to be used by XML/JSON parsers like fast-xml-parser. \ No newline at end of file diff --git a/node_modules/path-expression-matcher/lib/pem.cjs b/node_modules/path-expression-matcher/lib/pem.cjs new file mode 100644 index 0000000..6c334dc --- /dev/null +++ b/node_modules/path-expression-matcher/lib/pem.cjs @@ -0,0 +1 @@ +(()=>{"use strict";var t={d:(e,s)=>{for(var i in s)t.o(s,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:s[i]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{Expression:()=>s,Matcher:()=>n,default:()=>r});class s{constructor(t,e={}){this.pattern=t,this.separator=e.separator||".",this.segments=this._parse(t),this._hasDeepWildcard=this.segments.some(t=>"deep-wildcard"===t.type),this._hasAttributeCondition=this.segments.some(t=>void 0!==t.attrName),this._hasPositionSelector=this.segments.some(t=>void 0!==t.position)}_parse(t){const e=[];let s=0,i="";for(;s0&&(this.path[this.path.length-1].values=void 0);const i=this.path.length;this.siblingStacks[i]||(this.siblingStacks[i]=new Map);const n=this.siblingStacks[i],r=s?`${s}:${t}`:t,a=n.get(r)||0;let h=0;for(const t of n.values())h+=t;n.set(r,a+1);const o={tag:t,position:h,counter:a};null!=s&&(o.namespace=s),null!=e&&(o.values=e),this.path.push(o)}pop(){if(0===this.path.length)return;this._pathStringCache=null;const t=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),t}updateCurrent(t){if(this.path.length>0){const e=this.path[this.path.length-1];null!=t&&(e.values=t)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(t){if(0===this.path.length)return;const e=this.path[this.path.length-1];return e.values?.[t]}hasAttr(t){if(0===this.path.length)return!1;const e=this.path[this.path.length-1];return void 0!==e.values&&t in e.values}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(t,e=!0){const s=t||this.separator;if(s===this.separator&&!0===e){if(null!==this._pathStringCache&&void 0!==this._pathStringCache)return this._pathStringCache;const t=this.path.map(t=>e&&t.namespace?`${t.namespace}:${t.tag}`:t.tag).join(s);return this._pathStringCache=t,t}return this.path.map(t=>e&&t.namespace?`${t.namespace}:${t.tag}`:t.tag).join(s)}toArray(){return this.path.map(t=>t.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(t){const e=t.segments;return 0!==e.length&&(t.hasDeepWildcard()?this._matchWithDeepWildcard(e):this._matchSimple(e))}_matchSimple(t){if(this.path.length!==t.length)return!1;for(let e=0;e=0&&e>=0;){const i=t[s];if("deep-wildcard"===i.type){if(s--,s<0)return!0;const i=t[s];let n=!1;for(let t=e;t>=0;t--){const r=t===this.path.length-1;if(this._matchSegment(i,this.path[t],r)){e=t-1,s--,n=!0;break}}if(!n)return!1}else{const t=e===this.path.length-1;if(!this._matchSegment(i,this.path[e],t))return!1;e--,s--}}return s<0}_matchSegment(t,e,s){if("*"!==t.tag&&t.tag!==e.tag)return!1;if(void 0!==t.namespace&&"*"!==t.namespace&&t.namespace!==e.namespace)return!1;if(void 0!==t.attrName){if(!s)return!1;if(!e.values||!(t.attrName in e.values))return!1;if(void 0!==t.attrValue){const s=e.values[t.attrName];if(String(s)!==String(t.attrValue))return!1}}if(void 0!==t.position){if(!s)return!1;const i=e.counter??0;if("first"===t.position&&0!==i)return!1;if("odd"===t.position&&i%2!=1)return!1;if("even"===t.position&&i%2!=0)return!1;if("nth"===t.position&&i!==t.positionValue)return!1}return!0}snapshot(){return{path:this.path.map(t=>({...t})),siblingStacks:this.siblingStacks.map(t=>new Map(t))}}restore(t){this._pathStringCache=null,this.path=t.path.map(t=>({...t})),this.siblingStacks=t.siblingStacks.map(t=>new Map(t))}readOnly(){return new Proxy(this,{get(t,e,s){if(i.has(e))return()=>{throw new TypeError(`Cannot call '${e}' on a read-only Matcher. Obtain a writable instance to mutate state.`)};const n=Reflect.get(t,e,s);return"path"===e||"siblingStacks"===e?Object.freeze(Array.isArray(n)?n.map(t=>t instanceof Map?Object.freeze(new Map(t)):Object.freeze({...t})):n):"function"==typeof n?n.bind(t):n},set(t,e){throw new TypeError(`Cannot set property '${String(e)}' on a read-only Matcher.`)},deleteProperty(t,e){throw new TypeError(`Cannot delete property '${String(e)}' from a read-only Matcher.`)}})}}const r={Expression:s,Matcher:n};module.exports=e})(); \ No newline at end of file diff --git a/node_modules/path-expression-matcher/lib/pem.d.cts b/node_modules/path-expression-matcher/lib/pem.d.cts new file mode 100644 index 0000000..e9ae2d5 --- /dev/null +++ b/node_modules/path-expression-matcher/lib/pem.d.cts @@ -0,0 +1,523 @@ +/** + * TypeScript definitions for path-expression-matcher (CommonJS) + */ + +/** + * Options for creating an Expression + */ +declare interface ExpressionOptions { + /** + * Path separator character + * @default '.' + */ + separator?: string; +} + +/** + * Parsed segment from an expression pattern + */ +declare interface Segment { + /** + * Type of segment + */ + type: 'tag' | 'deep-wildcard'; + + /** + * Tag name (e.g., "user", "*" for wildcard) + * Only present when type is 'tag' + */ + tag?: string; + + /** + * Namespace prefix (e.g., "ns" in "ns::user") + * Only present when namespace is specified + */ + namespace?: string; + + /** + * Attribute name to match (e.g., "id" in "user[id]") + * Only present when attribute condition exists + */ + attrName?: string; + + /** + * Attribute value to match (e.g., "123" in "user[id=123]") + * Only present when attribute value is specified + */ + attrValue?: string; + + /** + * Position selector type + * Only present when position selector exists + */ + position?: 'first' | 'last' | 'odd' | 'even' | 'nth'; + + /** + * Numeric value for nth() selector + * Only present when position is 'nth' + */ + positionValue?: number; +} + +/** + * Expression - Parses and stores a tag pattern expression + * + * Patterns are parsed once and stored in an optimized structure for fast matching. + * + * @example + * ```javascript + * const { Expression } = require('path-expression-matcher'); + * const expr = new Expression("root.users.user"); + * const expr2 = new Expression("..user[id]:first"); + * const expr3 = new Expression("root/users/user", { separator: '/' }); + * ``` + * + * Pattern Syntax: + * - `root.users.user` - Match exact path + * - `..user` - Match "user" at any depth (deep wildcard) + * - `user[id]` - Match user tag with "id" attribute + * - `user[id=123]` - Match user tag where id="123" + * - `user:first` - Match first occurrence of user tag + * - `ns::user` - Match user tag with namespace "ns" + * - `ns::user[id]:first` - Combine namespace, attribute, and position + * ``` + */ +declare class Expression { + /** + * Original pattern string + */ + readonly pattern: string; + + /** + * Path separator character + */ + readonly separator: string; + + /** + * Parsed segments + */ + readonly segments: Segment[]; + + /** + * Create a new Expression + * @param pattern - Pattern string (e.g., "root.users.user", "..user[id]") + * @param options - Configuration options + */ + constructor(pattern: string, options?: ExpressionOptions); + + /** + * Get the number of segments + */ + get length(): number; + + /** + * Check if expression contains deep wildcard (..) + */ + hasDeepWildcard(): boolean; + + /** + * Check if expression has attribute conditions + */ + hasAttributeCondition(): boolean; + + /** + * Check if expression has position selectors + */ + hasPositionSelector(): boolean; + + /** + * Get string representation + */ + toString(): string; +} + +/** + * Options for creating a Matcher + */ +declare interface MatcherOptions { + /** + * Default path separator + * @default '.' + */ + separator?: string; +} + +/** + * Internal node structure in the path stack + */ +declare interface PathNode { + /** + * Tag name + */ + tag: string; + + /** + * Namespace (if present) + */ + namespace?: string; + + /** + * Position in sibling list (child index in parent) + */ + position: number; + + /** + * Counter (occurrence count of this tag name) + */ + counter: number; + + /** + * Attribute key-value pairs + * Only present for the current (last) node in path + */ + values?: Record; +} + +/** + * Snapshot of matcher state + */ +declare interface MatcherSnapshot { + /** + * Copy of the path stack + */ + path: PathNode[]; + + /** + * Copy of sibling tracking maps + */ + siblingStacks: Map[]; +} + +/** + * ReadOnlyMatcher - A safe, read-only view over a {@link Matcher} instance. + * + * Returned by {@link Matcher.readOnly}. Exposes all query and inspection + * methods but **throws a `TypeError`** if any state-mutating method is called + * (`push`, `pop`, `reset`, `updateCurrent`, `restore`). Direct property + * writes are also blocked. + * + * Pass this to consumers that only need to inspect or match the current path + * so they cannot accidentally corrupt the parser state. + * + * @example + * ```javascript + * const matcher = new Matcher(); + * matcher.push("root", {}); + * matcher.push("users", {}); + * matcher.push("user", { id: "123" }); + * + * const ro: ReadOnlyMatcher = matcher.readOnly(); + * + * ro.matches(expr); // ✓ works + * ro.getCurrentTag(); // ✓ "user" + * ro.getDepth(); // ✓ 3 + * ro.push("child", {}); // ✗ TypeError: Cannot call 'push' on a read-only Matcher + * ro.reset(); // ✗ TypeError: Cannot call 'reset' on a read-only Matcher + * ``` + */ +declare interface ReadOnlyMatcher { + /** + * Default path separator (read-only) + */ + readonly separator: string; + + /** + * Current path stack (each node is a frozen copy) + */ + readonly path: ReadonlyArray>; + + // ── Query methods ─────────────────────────────────────────────────────────── + + /** + * Get current tag name + * @returns Current tag name or undefined if path is empty + */ + getCurrentTag(): string | undefined; + + /** + * Get current namespace + * @returns Current namespace or undefined if not present or path is empty + */ + getCurrentNamespace(): string | undefined; + + /** + * Get current node's attribute value + * @param attrName - Attribute name + * @returns Attribute value or undefined + */ + getAttrValue(attrName: string): any; + + /** + * Check if current node has an attribute + * @param attrName - Attribute name + */ + hasAttr(attrName: string): boolean; + + /** + * Get current node's sibling position (child index in parent) + * @returns Position index or -1 if path is empty + */ + getPosition(): number; + + /** + * Get current node's repeat counter (occurrence count of this tag name) + * @returns Counter value or -1 if path is empty + */ + getCounter(): number; + + /** + * Get current node's sibling index (alias for getPosition for backward compatibility) + * @returns Index or -1 if path is empty + * @deprecated Use getPosition() or getCounter() instead + */ + getIndex(): number; + + /** + * Get current path depth + * @returns Number of nodes in the path + */ + getDepth(): number; + + /** + * Get path as string + * @param separator - Optional separator (uses default if not provided) + * @param includeNamespace - Whether to include namespace in output + * @returns Path string (e.g., "root.users.user" or "ns:root.ns:users.user") + */ + toString(separator?: string, includeNamespace?: boolean): string; + + /** + * Get path as array of tag names + * @returns Array of tag names + */ + toArray(): string[]; + + /** + * Match current path against an Expression + * @param expression - The expression to match against + * @returns True if current path matches the expression + */ + matches(expression: Expression): boolean; + + /** + * Create a snapshot of current state + * @returns State snapshot that can be restored later + */ + snapshot(): MatcherSnapshot; + + // ── Blocked mutating methods ──────────────────────────────────────────────── + // These are present in the type so callers get a compile-time error with a + // helpful message instead of a silent "property does not exist" error. + + /** + * @throws {TypeError} Always – mutation is not allowed on a read-only view. + */ + push(tagName: string, attrValues?: Record | null, namespace?: string | null): never; + + /** + * @throws {TypeError} Always – mutation is not allowed on a read-only view. + */ + pop(): never; + + /** + * @throws {TypeError} Always – mutation is not allowed on a read-only view. + */ + updateCurrent(attrValues: Record): never; + + /** + * @throws {TypeError} Always – mutation is not allowed on a read-only view. + */ + reset(): never; + + /** + * @throws {TypeError} Always – mutation is not allowed on a read-only view. + */ + restore(snapshot: MatcherSnapshot): never; +} + +/** + * Matcher - Tracks current path in XML/JSON tree and matches against Expressions + * + * The matcher maintains a stack of nodes representing the current path from root to + * current tag. It only stores attribute values for the current (top) node to minimize + * memory usage. + * + * @example + * ```javascript + * const { Matcher } = require('path-expression-matcher'); + * const matcher = new Matcher(); + * matcher.push("root", {}); + * matcher.push("users", {}); + * matcher.push("user", { id: "123", type: "admin" }); + * + * const expr = new Expression("root.users.user"); + * matcher.matches(expr); // true + * + * matcher.pop(); + * matcher.matches(expr); // false + * ``` + */ +declare class Matcher { + /** + * Default path separator + */ + readonly separator: string; + + /** + * Current path stack + */ + readonly path: PathNode[]; + + /** + * Create a new Matcher + * @param options - Configuration options + */ + constructor(options?: MatcherOptions); + + /** + * Push a new tag onto the path + * @param tagName - Name of the tag + * @param attrValues - Attribute key-value pairs for current node (optional) + * @param namespace - Namespace for the tag (optional) + * + * @example + * ```javascript + * matcher.push("user", { id: "123", type: "admin" }); + * matcher.push("user", { id: "456" }, "ns"); + * matcher.push("container", null); + * ``` + */ + push(tagName: string, attrValues?: Record | null, namespace?: string | null): void; + + /** + * Pop the last tag from the path + * @returns The popped node or undefined if path is empty + */ + pop(): PathNode | undefined; + + /** + * Update current node's attribute values + * Useful when attributes are parsed after push + * @param attrValues - Attribute values + */ + updateCurrent(attrValues: Record): void; + + /** + * Get current tag name + * @returns Current tag name or undefined if path is empty + */ + getCurrentTag(): string | undefined; + + /** + * Get current namespace + * @returns Current namespace or undefined if not present or path is empty + */ + getCurrentNamespace(): string | undefined; + + /** + * Get current node's attribute value + * @param attrName - Attribute name + * @returns Attribute value or undefined + */ + getAttrValue(attrName: string): any; + + /** + * Check if current node has an attribute + * @param attrName - Attribute name + */ + hasAttr(attrName: string): boolean; + + /** + * Get current node's sibling position (child index in parent) + * @returns Position index or -1 if path is empty + */ + getPosition(): number; + + /** + * Get current node's repeat counter (occurrence count of this tag name) + * @returns Counter value or -1 if path is empty + */ + getCounter(): number; + + /** + * Get current node's sibling index (alias for getPosition for backward compatibility) + * @returns Index or -1 if path is empty + * @deprecated Use getPosition() or getCounter() instead + */ + getIndex(): number; + + /** + * Get current path depth + * @returns Number of nodes in the path + */ + getDepth(): number; + + /** + * Get path as string + * @param separator - Optional separator (uses default if not provided) + * @param includeNamespace - Whether to include namespace in output + * @returns Path string (e.g., "root.users.user" or "ns:root.ns:users.user") + */ + toString(separator?: string, includeNamespace?: boolean): string; + + /** + * Get path as array of tag names + * @returns Array of tag names + */ + toArray(): string[]; + + /** + * Reset the path to empty + */ + reset(): void; + + /** + * Match current path against an Expression + * @param expression - The expression to match against + * @returns True if current path matches the expression + * + * @example + * ```javascript + * const expr = new Expression("root.users.user[id]"); + * const matcher = new Matcher(); + * + * matcher.push("root"); + * matcher.push("users"); + * matcher.push("user", { id: "123" }); + * + * matcher.matches(expr); // true + * ``` + */ + matches(expression: Expression): boolean; + + /** + * Create a snapshot of current state + * @returns State snapshot that can be restored later + */ + snapshot(): MatcherSnapshot; + + /** + * Restore state from snapshot + * @param snapshot - State snapshot from previous snapshot() call + */ + restore(snapshot: MatcherSnapshot): void; + + /** + * Return a read-only view of this matcher. + */ + readOnly(): ReadOnlyMatcher; +} + +declare namespace pathExpressionMatcher { + export { + Expression, + Matcher, + ExpressionOptions, + MatcherOptions, + Segment, + PathNode, + MatcherSnapshot, + }; +} + +export = pathExpressionMatcher; diff --git a/node_modules/path-expression-matcher/lib/pem.min.js b/node_modules/path-expression-matcher/lib/pem.min.js new file mode 100644 index 0000000..6a63fe4 --- /dev/null +++ b/node_modules/path-expression-matcher/lib/pem.min.js @@ -0,0 +1,2 @@ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.pem=e():t.pem=e()}(this,()=>(()=>{"use strict";var t={d:(e,s)=>{for(var n in s)t.o(s,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:s[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{Expression:()=>s,Matcher:()=>i,default:()=>r});class s{constructor(t,e={}){this.pattern=t,this.separator=e.separator||".",this.segments=this._parse(t),this._hasDeepWildcard=this.segments.some(t=>"deep-wildcard"===t.type),this._hasAttributeCondition=this.segments.some(t=>void 0!==t.attrName),this._hasPositionSelector=this.segments.some(t=>void 0!==t.position)}_parse(t){const e=[];let s=0,n="";for(;s0&&(this.path[this.path.length-1].values=void 0);const n=this.path.length;this.siblingStacks[n]||(this.siblingStacks[n]=new Map);const i=this.siblingStacks[n],r=s?`${s}:${t}`:t,a=i.get(r)||0;let h=0;for(const t of i.values())h+=t;i.set(r,a+1);const o={tag:t,position:h,counter:a};null!=s&&(o.namespace=s),null!=e&&(o.values=e),this.path.push(o)}pop(){if(0===this.path.length)return;this._pathStringCache=null;const t=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),t}updateCurrent(t){if(this.path.length>0){const e=this.path[this.path.length-1];null!=t&&(e.values=t)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(t){if(0===this.path.length)return;const e=this.path[this.path.length-1];return e.values?.[t]}hasAttr(t){if(0===this.path.length)return!1;const e=this.path[this.path.length-1];return void 0!==e.values&&t in e.values}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(t,e=!0){const s=t||this.separator;if(s===this.separator&&!0===e){if(null!==this._pathStringCache&&void 0!==this._pathStringCache)return this._pathStringCache;const t=this.path.map(t=>e&&t.namespace?`${t.namespace}:${t.tag}`:t.tag).join(s);return this._pathStringCache=t,t}return this.path.map(t=>e&&t.namespace?`${t.namespace}:${t.tag}`:t.tag).join(s)}toArray(){return this.path.map(t=>t.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(t){const e=t.segments;return 0!==e.length&&(t.hasDeepWildcard()?this._matchWithDeepWildcard(e):this._matchSimple(e))}_matchSimple(t){if(this.path.length!==t.length)return!1;for(let e=0;e=0&&e>=0;){const n=t[s];if("deep-wildcard"===n.type){if(s--,s<0)return!0;const n=t[s];let i=!1;for(let t=e;t>=0;t--){const r=t===this.path.length-1;if(this._matchSegment(n,this.path[t],r)){e=t-1,s--,i=!0;break}}if(!i)return!1}else{const t=e===this.path.length-1;if(!this._matchSegment(n,this.path[e],t))return!1;e--,s--}}return s<0}_matchSegment(t,e,s){if("*"!==t.tag&&t.tag!==e.tag)return!1;if(void 0!==t.namespace&&"*"!==t.namespace&&t.namespace!==e.namespace)return!1;if(void 0!==t.attrName){if(!s)return!1;if(!e.values||!(t.attrName in e.values))return!1;if(void 0!==t.attrValue){const s=e.values[t.attrName];if(String(s)!==String(t.attrValue))return!1}}if(void 0!==t.position){if(!s)return!1;const n=e.counter??0;if("first"===t.position&&0!==n)return!1;if("odd"===t.position&&n%2!=1)return!1;if("even"===t.position&&n%2!=0)return!1;if("nth"===t.position&&n!==t.positionValue)return!1}return!0}snapshot(){return{path:this.path.map(t=>({...t})),siblingStacks:this.siblingStacks.map(t=>new Map(t))}}restore(t){this._pathStringCache=null,this.path=t.path.map(t=>({...t})),this.siblingStacks=t.siblingStacks.map(t=>new Map(t))}readOnly(){return new Proxy(this,{get(t,e,s){if(n.has(e))return()=>{throw new TypeError(`Cannot call '${e}' on a read-only Matcher. Obtain a writable instance to mutate state.`)};const i=Reflect.get(t,e,s);return"path"===e||"siblingStacks"===e?Object.freeze(Array.isArray(i)?i.map(t=>t instanceof Map?Object.freeze(new Map(t)):Object.freeze({...t})):i):"function"==typeof i?i.bind(t):i},set(t,e){throw new TypeError(`Cannot set property '${String(e)}' on a read-only Matcher.`)},deleteProperty(t,e){throw new TypeError(`Cannot delete property '${String(e)}' from a read-only Matcher.`)}})}}const r={Expression:s,Matcher:i};return e})()); +//# sourceMappingURL=pem.min.js.map \ No newline at end of file diff --git a/node_modules/path-expression-matcher/lib/pem.min.js.map b/node_modules/path-expression-matcher/lib/pem.min.js.map new file mode 100644 index 0000000..d8f45e0 --- /dev/null +++ b/node_modules/path-expression-matcher/lib/pem.min.js.map @@ -0,0 +1 @@ +{"version":3,"file":"./lib/pem.min.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAa,IAAID,IAEjBD,EAAU,IAAIC,GACf,CATD,CASGK,KAAM,I,mBCRT,IAAIC,EAAsB,CCA1BA,EAAwB,CAACL,EAASM,KACjC,IAAI,IAAIC,KAAOD,EACXD,EAAoBG,EAAEF,EAAYC,KAASF,EAAoBG,EAAER,EAASO,IAC5EE,OAAOC,eAAeV,EAASO,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,MCJ3EF,EAAwB,CAACQ,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,GCClFT,EAAyBL,IACH,oBAAXkB,QAA0BA,OAAOC,aAC1CV,OAAOC,eAAeV,EAASkB,OAAOC,YAAa,CAAEC,MAAO,WAE7DX,OAAOC,eAAeV,EAAS,aAAc,CAAEoB,OAAO,M,kECKxC,MAAMC,EAOnBC,WAAAA,CAAYC,EAASC,EAAU,CAAC,GAC9BpB,KAAKmB,QAAUA,EACfnB,KAAKqB,UAAYD,EAAQC,WAAa,IACtCrB,KAAKsB,SAAWtB,KAAKuB,OAAOJ,GAG5BnB,KAAKwB,iBAAmBxB,KAAKsB,SAASG,KAAKC,GAAoB,kBAAbA,EAAIC,MACtD3B,KAAK4B,uBAAyB5B,KAAKsB,SAASG,KAAKC,QAAwBG,IAAjBH,EAAII,UAC5D9B,KAAK+B,qBAAuB/B,KAAKsB,SAASG,KAAKC,QAAwBG,IAAjBH,EAAIM,SAC5D,CAQAT,MAAAA,CAAOJ,GACL,MAAMG,EAAW,GAGjB,IAAIW,EAAI,EACJC,EAAc,GAElB,KAAOD,EAAId,EAAQgB,QACbhB,EAAQc,KAAOjC,KAAKqB,UAElBY,EAAI,EAAId,EAAQgB,QAAUhB,EAAQc,EAAI,KAAOjC,KAAKqB,WAEhDa,EAAYE,SACdd,EAASe,KAAKrC,KAAKsC,cAAcJ,EAAYE,SAC7CF,EAAc,IAGhBZ,EAASe,KAAK,CAAEV,KAAM,kBACtBM,GAAK,IAGDC,EAAYE,QACdd,EAASe,KAAKrC,KAAKsC,cAAcJ,EAAYE,SAE/CF,EAAc,GACdD,MAGFC,GAAef,EAAQc,GACvBA,KASJ,OAJIC,EAAYE,QACdd,EAASe,KAAKrC,KAAKsC,cAAcJ,EAAYE,SAGxCd,CACT,CAQAgB,aAAAA,CAAcC,GACZ,MAAMC,EAAU,CAAEb,KAAM,OAwBxB,IAAIc,EAAiB,KACjBC,EAAkBH,EAEtB,MAAMI,EAAeJ,EAAKK,MAAM,8BAChC,GAAID,IACFD,EAAkBC,EAAa,GAAKA,EAAa,GAC7CA,EAAa,IAAI,CACnB,MAAME,EAAUF,EAAa,GAAGG,MAAM,GAAI,GACtCD,IACFJ,EAAiBI,EAErB,CAIF,IAAIE,EAcAC,EAbAC,EAAiBP,EAErB,GAAIA,EAAgBQ,SAAS,MAAO,CAClC,MAAMC,EAAUT,EAAgBU,QAAQ,MAIxC,GAHAL,EAAYL,EAAgBW,UAAU,EAAGF,GAASf,OAClDa,EAAiBP,EAAgBW,UAAUF,EAAU,GAAGf,QAEnDW,EACH,MAAM,IAAIO,MAAM,iCAAiCf,IAErD,CAIA,IAAIgB,EAAgB,KAEpB,GAAIN,EAAeC,SAAS,KAAM,CAChC,MAAMM,EAAaP,EAAeQ,YAAY,KACxCC,EAAUT,EAAeI,UAAU,EAAGG,GAAYpB,OAClDuB,EAAUV,EAAeI,UAAUG,EAAa,GAAGpB,OAG/B,CAAC,QAAS,OAAQ,MAAO,QAAQc,SAASS,IAClE,eAAeC,KAAKD,IAGpBX,EAAMU,EACNH,EAAgBI,GAGhBX,EAAMC,CAEV,MACED,EAAMC,EAGR,IAAKD,EACH,MAAM,IAAIM,MAAM,4BAA4Bf,KAS9C,GANAC,EAAQQ,IAAMA,EACVD,IACFP,EAAQO,UAAYA,GAIlBN,EACF,GAAIA,EAAeS,SAAS,KAAM,CAChC,MAAMW,EAAUpB,EAAeW,QAAQ,KACvCZ,EAAQV,SAAWW,EAAeY,UAAU,EAAGQ,GAASzB,OACxDI,EAAQsB,UAAYrB,EAAeY,UAAUQ,EAAU,GAAGzB,MAC5D,MACEI,EAAQV,SAAWW,EAAeL,OAKtC,GAAImB,EAAe,CACjB,MAAMQ,EAAWR,EAAcX,MAAM,kBACjCmB,GACFvB,EAAQR,SAAW,MACnBQ,EAAQwB,cAAgBC,SAASF,EAAS,GAAI,KAE9CvB,EAAQR,SAAWuB,CAEvB,CAEA,OAAOf,CACT,CAMA,UAAIL,GACF,OAAOnC,KAAKsB,SAASa,MACvB,CAMA+B,eAAAA,GACE,OAAOlE,KAAKwB,gBACd,CAMA2C,qBAAAA,GACE,OAAOnE,KAAK4B,sBACd,CAMAwC,mBAAAA,GACE,OAAOpE,KAAK+B,oBACd,CAMAsC,QAAAA,GACE,OAAOrE,KAAKmB,OACd,EChNF,MAAMmD,EAAmB,IAAIC,IAAI,CAAC,OAAQ,MAAO,QAAS,gBAAiB,YAE5D,MAAMC,EAMnBtD,WAAAA,CAAYE,EAAU,CAAC,GACrBpB,KAAKqB,UAAYD,EAAQC,WAAa,IACtCrB,KAAKyE,KAAO,GACZzE,KAAK0E,cAAgB,EAIvB,CAQArC,IAAAA,CAAKsC,EAASC,EAAa,KAAM7B,EAAY,MAC3C/C,KAAK6E,iBAAmB,KAEpB7E,KAAKyE,KAAKtC,OAAS,IACRnC,KAAKyE,KAAKzE,KAAKyE,KAAKtC,OAAS,GACrC2C,YAASjD,GAIhB,MAAMkD,EAAe/E,KAAKyE,KAAKtC,OAC1BnC,KAAK0E,cAAcK,KACtB/E,KAAK0E,cAAcK,GAAgB,IAAIC,KAGzC,MAAMC,EAAWjF,KAAK0E,cAAcK,GAG9BG,EAAanC,EAAY,GAAGA,KAAa4B,IAAYA,EAGrDQ,EAAUF,EAASzE,IAAI0E,IAAe,EAG5C,IAAIlD,EAAW,EACf,IAAK,MAAMoD,KAASH,EAASH,SAC3B9C,GAAYoD,EAIdH,EAASI,IAAIH,EAAYC,EAAU,GAGnC,MAAMG,EAAO,CACXtC,IAAK2B,EACL3C,SAAUA,EACVmD,QAASA,GAIPpC,UACFuC,EAAKvC,UAAYA,GAIf6B,UACFU,EAAKR,OAASF,GAGhB5E,KAAKyE,KAAKpC,KAAKiD,EACjB,CAMAC,GAAAA,GACE,GAAyB,IAArBvF,KAAKyE,KAAKtC,OACZ,OAEFnC,KAAK6E,iBAAmB,KACxB,MAAMS,EAAOtF,KAAKyE,KAAKc,MASvB,OAJIvF,KAAK0E,cAAcvC,OAASnC,KAAKyE,KAAKtC,OAAS,IACjDnC,KAAK0E,cAAcvC,OAASnC,KAAKyE,KAAKtC,OAAS,GAG1CmD,CACT,CAOAE,aAAAA,CAAcZ,GACZ,GAAI5E,KAAKyE,KAAKtC,OAAS,EAAG,CACxB,MAAMsD,EAAUzF,KAAKyE,KAAKzE,KAAKyE,KAAKtC,OAAS,GACzCyC,UACFa,EAAQX,OAASF,EAErB,CACF,CAMAc,aAAAA,GACE,OAAO1F,KAAKyE,KAAKtC,OAAS,EAAInC,KAAKyE,KAAKzE,KAAKyE,KAAKtC,OAAS,GAAGa,SAAMnB,CACtE,CAMA8D,mBAAAA,GACE,OAAO3F,KAAKyE,KAAKtC,OAAS,EAAInC,KAAKyE,KAAKzE,KAAKyE,KAAKtC,OAAS,GAAGY,eAAYlB,CAC5E,CAOA+D,YAAAA,CAAa9D,GACX,GAAyB,IAArB9B,KAAKyE,KAAKtC,OAAc,OAC5B,MAAMsD,EAAUzF,KAAKyE,KAAKzE,KAAKyE,KAAKtC,OAAS,GAC7C,OAAOsD,EAAQX,SAAShD,EAC1B,CAOA+D,OAAAA,CAAQ/D,GACN,GAAyB,IAArB9B,KAAKyE,KAAKtC,OAAc,OAAO,EACnC,MAAMsD,EAAUzF,KAAKyE,KAAKzE,KAAKyE,KAAKtC,OAAS,GAC7C,YAA0BN,IAAnB4D,EAAQX,QAAwBhD,KAAY2D,EAAQX,MAC7D,CAMAgB,WAAAA,GACE,OAAyB,IAArB9F,KAAKyE,KAAKtC,QAAsB,EAC7BnC,KAAKyE,KAAKzE,KAAKyE,KAAKtC,OAAS,GAAGH,UAAY,CACrD,CAMA+D,UAAAA,GACE,OAAyB,IAArB/F,KAAKyE,KAAKtC,QAAsB,EAC7BnC,KAAKyE,KAAKzE,KAAKyE,KAAKtC,OAAS,GAAGgD,SAAW,CACpD,CAOAa,QAAAA,GACE,OAAOhG,KAAK8F,aACd,CAMAG,QAAAA,GACE,OAAOjG,KAAKyE,KAAKtC,MACnB,CAQAkC,QAAAA,CAAShD,EAAW6E,GAAmB,GACrC,MAAMC,EAAM9E,GAAarB,KAAKqB,UAG9B,GAFmB8E,IAAQnG,KAAKqB,YAAkC,IAArB6E,EAE9B,CACb,GAA8B,OAA1BlG,KAAK6E,uBAAuDhD,IAA1B7B,KAAK6E,iBACzC,OAAO7E,KAAK6E,iBAEd,MAAMuB,EAASpG,KAAKyE,KAAK4B,IAAIC,GAC1BJ,GAAoBI,EAAEvD,UAAa,GAAGuD,EAAEvD,aAAauD,EAAEtD,MAAQsD,EAAEtD,KAClEuD,KAAKJ,GAEP,OADAnG,KAAK6E,iBAAmBuB,EACjBA,CACT,CAGA,OAAOpG,KAAKyE,KAAK4B,IAAIC,GAClBJ,GAAoBI,EAAEvD,UAAa,GAAGuD,EAAEvD,aAAauD,EAAEtD,MAAQsD,EAAEtD,KAClEuD,KAAKJ,EACT,CAMAK,OAAAA,GACE,OAAOxG,KAAKyE,KAAK4B,IAAIC,GAAKA,EAAEtD,IAC9B,CAKAyD,KAAAA,GACEzG,KAAK6E,iBAAmB,KACxB7E,KAAKyE,KAAO,GACZzE,KAAK0E,cAAgB,EACvB,CAOAgC,OAAAA,CAAQC,GACN,MAAMrF,EAAWqF,EAAWrF,SAE5B,OAAwB,IAApBA,EAASa,SAKTwE,EAAWzC,kBACNlE,KAAK4G,uBAAuBtF,GAI9BtB,KAAK6G,aAAavF,GAC3B,CAMAuF,YAAAA,CAAavF,GAEX,GAAItB,KAAKyE,KAAKtC,SAAWb,EAASa,OAChC,OAAO,EAIT,IAAK,IAAIF,EAAI,EAAGA,EAAIX,EAASa,OAAQF,IAAK,CACxC,MAAMO,EAAUlB,EAASW,GACnBqD,EAAOtF,KAAKyE,KAAKxC,GACjB6E,EAAiB7E,IAAMjC,KAAKyE,KAAKtC,OAAS,EAEhD,IAAKnC,KAAK+G,cAAcvE,EAAS8C,EAAMwB,GACrC,OAAO,CAEX,CAEA,OAAO,CACT,CAMAF,sBAAAA,CAAuBtF,GACrB,IAAI0F,EAAUhH,KAAKyE,KAAKtC,OAAS,EAC7B8E,EAAS3F,EAASa,OAAS,EAE/B,KAAO8E,GAAU,GAAKD,GAAW,GAAG,CAClC,MAAMxE,EAAUlB,EAAS2F,GAEzB,GAAqB,kBAAjBzE,EAAQb,KAA0B,CAIpC,GAFAsF,IAEIA,EAAS,EAEX,OAAO,EAIT,MAAMC,EAAU5F,EAAS2F,GACzB,IAAIE,GAAQ,EAEZ,IAAK,IAAIlF,EAAI+E,EAAS/E,GAAK,EAAGA,IAAK,CACjC,MAAM6E,EAAiB7E,IAAMjC,KAAKyE,KAAKtC,OAAS,EAChD,GAAInC,KAAK+G,cAAcG,EAASlH,KAAKyE,KAAKxC,GAAI6E,GAAgB,CAC5DE,EAAU/E,EAAI,EACdgF,IACAE,GAAQ,EACR,KACF,CACF,CAEA,IAAKA,EACH,OAAO,CAEX,KAAO,CAEL,MAAML,EAAiBE,IAAYhH,KAAKyE,KAAKtC,OAAS,EACtD,IAAKnC,KAAK+G,cAAcvE,EAASxC,KAAKyE,KAAKuC,GAAUF,GACnD,OAAO,EAETE,IACAC,GACF,CACF,CAGA,OAAOA,EAAS,CAClB,CAUAF,aAAAA,CAAcvE,EAAS8C,EAAMwB,GAE3B,GAAoB,MAAhBtE,EAAQQ,KAAeR,EAAQQ,MAAQsC,EAAKtC,IAC9C,OAAO,EAIT,QAA0BnB,IAAtBW,EAAQO,WAEgB,MAAtBP,EAAQO,WAAqBP,EAAQO,YAAcuC,EAAKvC,UAC1D,OAAO,EAOX,QAAyBlB,IAArBW,EAAQV,SAAwB,CAClC,IAAKgF,EAEH,OAAO,EAGT,IAAKxB,EAAKR,UAAYtC,EAAQV,YAAYwD,EAAKR,QAC7C,OAAO,EAIT,QAA0BjD,IAAtBW,EAAQsB,UAAyB,CACnC,MAAMsD,EAAc9B,EAAKR,OAAOtC,EAAQV,UAExC,GAAIuF,OAAOD,KAAiBC,OAAO7E,EAAQsB,WACzC,OAAO,CAEX,CACF,CAGA,QAAyBjC,IAArBW,EAAQR,SAAwB,CAClC,IAAK8E,EAEH,OAAO,EAGT,MAAM3B,EAAUG,EAAKH,SAAW,EAEhC,GAAyB,UAArB3C,EAAQR,UAAoC,IAAZmD,EAClC,OAAO,EACF,GAAyB,QAArB3C,EAAQR,UAAsBmD,EAAU,GAAM,EACvD,OAAO,EACF,GAAyB,SAArB3C,EAAQR,UAAuBmD,EAAU,GAAM,EACxD,OAAO,EACF,GAAyB,QAArB3C,EAAQR,UACbmD,IAAY3C,EAAQwB,cACtB,OAAO,CAGb,CAEA,OAAO,CACT,CAMAsD,QAAAA,GACE,MAAO,CACL7C,KAAMzE,KAAKyE,KAAK4B,IAAIf,IAAQ,IAAMA,KAClCZ,cAAe1E,KAAK0E,cAAc2B,IAAIA,GAAO,IAAIrB,IAAIqB,IAEzD,CAMAkB,OAAAA,CAAQD,GACNtH,KAAK6E,iBAAmB,KACxB7E,KAAKyE,KAAO6C,EAAS7C,KAAK4B,IAAIf,IAAQ,IAAMA,KAC5CtF,KAAK0E,cAAgB4C,EAAS5C,cAAc2B,IAAIA,GAAO,IAAIrB,IAAIqB,GACjE,CAuBAmB,QAAAA,GAGE,OAAO,IAAIC,MAFEzH,KAEU,CACrBQ,GAAAA,CAAIkH,EAAQhH,EAAMiH,GAEhB,GAAIrD,EAAiBsD,IAAIlH,GACvB,MAAO,KACL,MAAM,IAAImH,UACR,gBAAgBnH,2EAMtB,MAAMM,EAAQ8G,QAAQtH,IAAIkH,EAAQhH,EAAMiH,GAIxC,MAAa,SAATjH,GAA4B,kBAATA,EACdL,OAAO0H,OACZC,MAAMC,QAAQjH,GACVA,EAAMqF,IAAI6B,GACVA,aAAgBlD,IACZ3E,OAAO0H,OAAO,IAAI/C,IAAIkD,IACtB7H,OAAO0H,OAAO,IAAKG,KAEvBlH,GAKa,mBAAVA,EACFA,EAAMmH,KAAKT,GAGb1G,CACT,EAGAqE,GAAAA,CAAI+C,EAAS1H,GACX,MAAM,IAAImH,UACR,wBAAwBR,OAAO3G,8BAEnC,EAGA2H,cAAAA,CAAeD,EAAS1H,GACtB,MAAM,IAAImH,UACR,2BAA2BR,OAAO3G,gCAEtC,GAEJ,ECneF,SAAiBO,WAAU,EAAEuD,QAAOA,G","sources":["webpack://pem/webpack/universalModuleDefinition","webpack://pem/webpack/bootstrap","webpack://pem/webpack/runtime/define property getters","webpack://pem/webpack/runtime/hasOwnProperty shorthand","webpack://pem/webpack/runtime/make namespace object","webpack://pem/./src/Expression.js","webpack://pem/./src/Matcher.js","webpack://pem/./src/index.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"pem\"] = factory();\n\telse\n\t\troot[\"pem\"] = factory();\n})(this, () => {\nreturn ","// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","/**\n * Expression - Parses and stores a tag pattern expression\n * \n * Patterns are parsed once and stored in an optimized structure for fast matching.\n * \n * @example\n * const expr = new Expression(\"root.users.user\");\n * const expr2 = new Expression(\"..user[id]:first\");\n * const expr3 = new Expression(\"root/users/user\", { separator: '/' });\n */\nexport default class Expression {\n /**\n * Create a new Expression\n * @param {string} pattern - Pattern string (e.g., \"root.users.user\", \"..user[id]\")\n * @param {Object} options - Configuration options\n * @param {string} options.separator - Path separator (default: '.')\n */\n constructor(pattern, options = {}) {\n this.pattern = pattern;\n this.separator = options.separator || '.';\n this.segments = this._parse(pattern);\n\n // Cache expensive checks for performance (O(1) instead of O(n))\n this._hasDeepWildcard = this.segments.some(seg => seg.type === 'deep-wildcard');\n this._hasAttributeCondition = this.segments.some(seg => seg.attrName !== undefined);\n this._hasPositionSelector = this.segments.some(seg => seg.position !== undefined);\n }\n\n /**\n * Parse pattern string into segments\n * @private\n * @param {string} pattern - Pattern to parse\n * @returns {Array} Array of segment objects\n */\n _parse(pattern) {\n const segments = [];\n\n // Split by separator but handle \"..\" specially\n let i = 0;\n let currentPart = '';\n\n while (i < pattern.length) {\n if (pattern[i] === this.separator) {\n // Check if next char is also separator (deep wildcard)\n if (i + 1 < pattern.length && pattern[i + 1] === this.separator) {\n // Flush current part if any\n if (currentPart.trim()) {\n segments.push(this._parseSegment(currentPart.trim()));\n currentPart = '';\n }\n // Add deep wildcard\n segments.push({ type: 'deep-wildcard' });\n i += 2; // Skip both separators\n } else {\n // Regular separator\n if (currentPart.trim()) {\n segments.push(this._parseSegment(currentPart.trim()));\n }\n currentPart = '';\n i++;\n }\n } else {\n currentPart += pattern[i];\n i++;\n }\n }\n\n // Flush remaining part\n if (currentPart.trim()) {\n segments.push(this._parseSegment(currentPart.trim()));\n }\n\n return segments;\n }\n\n /**\n * Parse a single segment\n * @private\n * @param {string} part - Segment string (e.g., \"user\", \"ns::user\", \"user[id]\", \"ns::user:first\")\n * @returns {Object} Segment object\n */\n _parseSegment(part) {\n const segment = { type: 'tag' };\n\n // NEW NAMESPACE SYNTAX (v2.0):\n // ============================\n // Namespace uses DOUBLE colon (::)\n // Position uses SINGLE colon (:)\n // \n // Examples:\n // \"user\" → tag\n // \"user:first\" → tag + position\n // \"user[id]\" → tag + attribute\n // \"user[id]:first\" → tag + attribute + position\n // \"ns::user\" → namespace + tag\n // \"ns::user:first\" → namespace + tag + position\n // \"ns::user[id]\" → namespace + tag + attribute\n // \"ns::user[id]:first\" → namespace + tag + attribute + position\n // \"ns::first\" → namespace + tag named \"first\" (NO ambiguity!)\n //\n // This eliminates all ambiguity:\n // :: = namespace separator\n // : = position selector\n // [] = attributes\n\n // Step 1: Extract brackets [attr] or [attr=value]\n let bracketContent = null;\n let withoutBrackets = part;\n\n const bracketMatch = part.match(/^([^\\[]+)(\\[[^\\]]*\\])(.*)$/);\n if (bracketMatch) {\n withoutBrackets = bracketMatch[1] + bracketMatch[3];\n if (bracketMatch[2]) {\n const content = bracketMatch[2].slice(1, -1);\n if (content) {\n bracketContent = content;\n }\n }\n }\n\n // Step 2: Check for namespace (double colon ::)\n let namespace = undefined;\n let tagAndPosition = withoutBrackets;\n\n if (withoutBrackets.includes('::')) {\n const nsIndex = withoutBrackets.indexOf('::');\n namespace = withoutBrackets.substring(0, nsIndex).trim();\n tagAndPosition = withoutBrackets.substring(nsIndex + 2).trim(); // Skip ::\n\n if (!namespace) {\n throw new Error(`Invalid namespace in pattern: ${part}`);\n }\n }\n\n // Step 3: Parse tag and position (single colon :)\n let tag = undefined;\n let positionMatch = null;\n\n if (tagAndPosition.includes(':')) {\n const colonIndex = tagAndPosition.lastIndexOf(':'); // Use last colon for position\n const tagPart = tagAndPosition.substring(0, colonIndex).trim();\n const posPart = tagAndPosition.substring(colonIndex + 1).trim();\n\n // Verify position is a valid keyword\n const isPositionKeyword = ['first', 'last', 'odd', 'even'].includes(posPart) ||\n /^nth\\(\\d+\\)$/.test(posPart);\n\n if (isPositionKeyword) {\n tag = tagPart;\n positionMatch = posPart;\n } else {\n // Not a valid position keyword, treat whole thing as tag\n tag = tagAndPosition;\n }\n } else {\n tag = tagAndPosition;\n }\n\n if (!tag) {\n throw new Error(`Invalid segment pattern: ${part}`);\n }\n\n segment.tag = tag;\n if (namespace) {\n segment.namespace = namespace;\n }\n\n // Step 4: Parse attributes\n if (bracketContent) {\n if (bracketContent.includes('=')) {\n const eqIndex = bracketContent.indexOf('=');\n segment.attrName = bracketContent.substring(0, eqIndex).trim();\n segment.attrValue = bracketContent.substring(eqIndex + 1).trim();\n } else {\n segment.attrName = bracketContent.trim();\n }\n }\n\n // Step 5: Parse position selector\n if (positionMatch) {\n const nthMatch = positionMatch.match(/^nth\\((\\d+)\\)$/);\n if (nthMatch) {\n segment.position = 'nth';\n segment.positionValue = parseInt(nthMatch[1], 10);\n } else {\n segment.position = positionMatch;\n }\n }\n\n return segment;\n }\n\n /**\n * Get the number of segments\n * @returns {number}\n */\n get length() {\n return this.segments.length;\n }\n\n /**\n * Check if expression contains deep wildcard\n * @returns {boolean}\n */\n hasDeepWildcard() {\n return this._hasDeepWildcard;\n }\n\n /**\n * Check if expression has attribute conditions\n * @returns {boolean}\n */\n hasAttributeCondition() {\n return this._hasAttributeCondition;\n }\n\n /**\n * Check if expression has position selectors\n * @returns {boolean}\n */\n hasPositionSelector() {\n return this._hasPositionSelector;\n }\n\n /**\n * Get string representation\n * @returns {string}\n */\n toString() {\n return this.pattern;\n }\n}","/**\n * Matcher - Tracks current path in XML/JSON tree and matches against Expressions\n * \n * The matcher maintains a stack of nodes representing the current path from root to\n * current tag. It only stores attribute values for the current (top) node to minimize\n * memory usage. Sibling tracking is used to auto-calculate position and counter.\n * \n * @example\n * const matcher = new Matcher();\n * matcher.push(\"root\", {});\n * matcher.push(\"users\", {});\n * matcher.push(\"user\", { id: \"123\", type: \"admin\" });\n * \n * const expr = new Expression(\"root.users.user\");\n * matcher.matches(expr); // true\n */\n\n/**\n * Names of methods that mutate Matcher state.\n * Any attempt to call these on a read-only view throws a TypeError.\n * @type {Set}\n */\nconst MUTATING_METHODS = new Set(['push', 'pop', 'reset', 'updateCurrent', 'restore']);\n\nexport default class Matcher {\n /**\n * Create a new Matcher\n * @param {Object} options - Configuration options\n * @param {string} options.separator - Default path separator (default: '.')\n */\n constructor(options = {}) {\n this.separator = options.separator || '.';\n this.path = [];\n this.siblingStacks = [];\n // Each path node: { tag: string, values: object, position: number, counter: number }\n // values only present for current (last) node\n // Each siblingStacks entry: Map tracking occurrences at each level\n }\n\n /**\n * Push a new tag onto the path\n * @param {string} tagName - Name of the tag\n * @param {Object} attrValues - Attribute key-value pairs for current node (optional)\n * @param {string} namespace - Namespace for the tag (optional)\n */\n push(tagName, attrValues = null, namespace = null) {\n this._pathStringCache = null; // invalidate\n // Remove values from previous current node (now becoming ancestor)\n if (this.path.length > 0) {\n const prev = this.path[this.path.length - 1];\n prev.values = undefined;\n }\n\n // Get or create sibling tracking for current level\n const currentLevel = this.path.length;\n if (!this.siblingStacks[currentLevel]) {\n this.siblingStacks[currentLevel] = new Map();\n }\n\n const siblings = this.siblingStacks[currentLevel];\n\n // Create a unique key for sibling tracking that includes namespace\n const siblingKey = namespace ? `${namespace}:${tagName}` : tagName;\n\n // Calculate counter (how many times this tag appeared at this level)\n const counter = siblings.get(siblingKey) || 0;\n\n // Calculate position (total children at this level so far)\n let position = 0;\n for (const count of siblings.values()) {\n position += count;\n }\n\n // Update sibling count for this tag\n siblings.set(siblingKey, counter + 1);\n\n // Create new node\n const node = {\n tag: tagName,\n position: position,\n counter: counter\n };\n\n // Store namespace if provided\n if (namespace !== null && namespace !== undefined) {\n node.namespace = namespace;\n }\n\n // Store values only for current node\n if (attrValues !== null && attrValues !== undefined) {\n node.values = attrValues;\n }\n\n this.path.push(node);\n }\n\n /**\n * Pop the last tag from the path\n * @returns {Object|undefined} The popped node\n */\n pop() {\n if (this.path.length === 0) {\n return undefined;\n }\n this._pathStringCache = null; // invalidate\n const node = this.path.pop();\n\n // Clean up sibling tracking for levels deeper than current\n // After pop, path.length is the new depth\n // We need to clean up siblingStacks[path.length + 1] and beyond\n if (this.siblingStacks.length > this.path.length + 1) {\n this.siblingStacks.length = this.path.length + 1;\n }\n\n return node;\n }\n\n /**\n * Update current node's attribute values\n * Useful when attributes are parsed after push\n * @param {Object} attrValues - Attribute values\n */\n updateCurrent(attrValues) {\n if (this.path.length > 0) {\n const current = this.path[this.path.length - 1];\n if (attrValues !== null && attrValues !== undefined) {\n current.values = attrValues;\n }\n }\n }\n\n /**\n * Get current tag name\n * @returns {string|undefined}\n */\n getCurrentTag() {\n return this.path.length > 0 ? this.path[this.path.length - 1].tag : undefined;\n }\n\n /**\n * Get current namespace\n * @returns {string|undefined}\n */\n getCurrentNamespace() {\n return this.path.length > 0 ? this.path[this.path.length - 1].namespace : undefined;\n }\n\n /**\n * Get current node's attribute value\n * @param {string} attrName - Attribute name\n * @returns {*} Attribute value or undefined\n */\n getAttrValue(attrName) {\n if (this.path.length === 0) return undefined;\n const current = this.path[this.path.length - 1];\n return current.values?.[attrName];\n }\n\n /**\n * Check if current node has an attribute\n * @param {string} attrName - Attribute name\n * @returns {boolean}\n */\n hasAttr(attrName) {\n if (this.path.length === 0) return false;\n const current = this.path[this.path.length - 1];\n return current.values !== undefined && attrName in current.values;\n }\n\n /**\n * Get current node's sibling position (child index in parent)\n * @returns {number}\n */\n getPosition() {\n if (this.path.length === 0) return -1;\n return this.path[this.path.length - 1].position ?? 0;\n }\n\n /**\n * Get current node's repeat counter (occurrence count of this tag name)\n * @returns {number}\n */\n getCounter() {\n if (this.path.length === 0) return -1;\n return this.path[this.path.length - 1].counter ?? 0;\n }\n\n /**\n * Get current node's sibling index (alias for getPosition for backward compatibility)\n * @returns {number}\n * @deprecated Use getPosition() or getCounter() instead\n */\n getIndex() {\n return this.getPosition();\n }\n\n /**\n * Get current path depth\n * @returns {number}\n */\n getDepth() {\n return this.path.length;\n }\n\n /**\n * Get path as string\n * @param {string} separator - Optional separator (uses default if not provided)\n * @param {boolean} includeNamespace - Whether to include namespace in output (default: true)\n * @returns {string}\n */\n toString(separator, includeNamespace = true) {\n const sep = separator || this.separator;\n const isDefault = (sep === this.separator && includeNamespace === true);\n\n if (isDefault) {\n if (this._pathStringCache !== null && this._pathStringCache !== undefined) {\n return this._pathStringCache;\n }\n const result = this.path.map(n =>\n (includeNamespace && n.namespace) ? `${n.namespace}:${n.tag}` : n.tag\n ).join(sep);\n this._pathStringCache = result;\n return result;\n }\n\n // Non-default separator or includeNamespace=false: don't cache (rare case)\n return this.path.map(n =>\n (includeNamespace && n.namespace) ? `${n.namespace}:${n.tag}` : n.tag\n ).join(sep);\n }\n\n /**\n * Get path as array of tag names\n * @returns {string[]}\n */\n toArray() {\n return this.path.map(n => n.tag);\n }\n\n /**\n * Reset the path to empty\n */\n reset() {\n this._pathStringCache = null; // invalidate\n this.path = [];\n this.siblingStacks = [];\n }\n\n /**\n * Match current path against an Expression\n * @param {Expression} expression - The expression to match against\n * @returns {boolean} True if current path matches the expression\n */\n matches(expression) {\n const segments = expression.segments;\n\n if (segments.length === 0) {\n return false;\n }\n\n // Handle deep wildcard patterns\n if (expression.hasDeepWildcard()) {\n return this._matchWithDeepWildcard(segments);\n }\n\n // Simple path matching (no deep wildcards)\n return this._matchSimple(segments);\n }\n\n /**\n * Match simple path (no deep wildcards)\n * @private\n */\n _matchSimple(segments) {\n // Path must be same length as segments\n if (this.path.length !== segments.length) {\n return false;\n }\n\n // Match each segment bottom-to-top\n for (let i = 0; i < segments.length; i++) {\n const segment = segments[i];\n const node = this.path[i];\n const isCurrentNode = (i === this.path.length - 1);\n\n if (!this._matchSegment(segment, node, isCurrentNode)) {\n return false;\n }\n }\n\n return true;\n }\n\n /**\n * Match path with deep wildcards\n * @private\n */\n _matchWithDeepWildcard(segments) {\n let pathIdx = this.path.length - 1; // Start from current node (bottom)\n let segIdx = segments.length - 1; // Start from last segment\n\n while (segIdx >= 0 && pathIdx >= 0) {\n const segment = segments[segIdx];\n\n if (segment.type === 'deep-wildcard') {\n // \"..\" matches zero or more levels\n segIdx--;\n\n if (segIdx < 0) {\n // Pattern ends with \"..\", always matches\n return true;\n }\n\n // Find where next segment matches in the path\n const nextSeg = segments[segIdx];\n let found = false;\n\n for (let i = pathIdx; i >= 0; i--) {\n const isCurrentNode = (i === this.path.length - 1);\n if (this._matchSegment(nextSeg, this.path[i], isCurrentNode)) {\n pathIdx = i - 1;\n segIdx--;\n found = true;\n break;\n }\n }\n\n if (!found) {\n return false;\n }\n } else {\n // Regular segment\n const isCurrentNode = (pathIdx === this.path.length - 1);\n if (!this._matchSegment(segment, this.path[pathIdx], isCurrentNode)) {\n return false;\n }\n pathIdx--;\n segIdx--;\n }\n }\n\n // All segments must be consumed\n return segIdx < 0;\n }\n\n /**\n * Match a single segment against a node\n * @private\n * @param {Object} segment - Segment from Expression\n * @param {Object} node - Node from path\n * @param {boolean} isCurrentNode - Whether this is the current (last) node\n * @returns {boolean}\n */\n _matchSegment(segment, node, isCurrentNode) {\n // Match tag name (* is wildcard)\n if (segment.tag !== '*' && segment.tag !== node.tag) {\n return false;\n }\n\n // Match namespace if specified in segment\n if (segment.namespace !== undefined) {\n // Segment has namespace - node must match it\n if (segment.namespace !== '*' && segment.namespace !== node.namespace) {\n return false;\n }\n }\n // If segment has no namespace, it matches nodes with or without namespace\n\n // Match attribute name (check if node has this attribute)\n // Can only check for current node since ancestors don't have values\n if (segment.attrName !== undefined) {\n if (!isCurrentNode) {\n // Can't check attributes for ancestor nodes (values not stored)\n return false;\n }\n\n if (!node.values || !(segment.attrName in node.values)) {\n return false;\n }\n\n // Match attribute value (only possible for current node)\n if (segment.attrValue !== undefined) {\n const actualValue = node.values[segment.attrName];\n // Both should be strings\n if (String(actualValue) !== String(segment.attrValue)) {\n return false;\n }\n }\n }\n\n // Match position (only for current node)\n if (segment.position !== undefined) {\n if (!isCurrentNode) {\n // Can't check position for ancestor nodes\n return false;\n }\n\n const counter = node.counter ?? 0;\n\n if (segment.position === 'first' && counter !== 0) {\n return false;\n } else if (segment.position === 'odd' && counter % 2 !== 1) {\n return false;\n } else if (segment.position === 'even' && counter % 2 !== 0) {\n return false;\n } else if (segment.position === 'nth') {\n if (counter !== segment.positionValue) {\n return false;\n }\n }\n }\n\n return true;\n }\n\n /**\n * Create a snapshot of current state\n * @returns {Object} State snapshot\n */\n snapshot() {\n return {\n path: this.path.map(node => ({ ...node })),\n siblingStacks: this.siblingStacks.map(map => new Map(map))\n };\n }\n\n /**\n * Restore state from snapshot\n * @param {Object} snapshot - State snapshot\n */\n restore(snapshot) {\n this._pathStringCache = null; // invalidate\n this.path = snapshot.path.map(node => ({ ...node }));\n this.siblingStacks = snapshot.siblingStacks.map(map => new Map(map));\n }\n\n /**\n * Return a read-only view of this matcher.\n *\n * The returned object exposes all query/inspection methods but throws a\n * TypeError if any state-mutating method is called (`push`, `pop`, `reset`,\n * `updateCurrent`, `restore`). Property reads (e.g. `.path`, `.separator`)\n * are allowed but the returned arrays/objects are frozen so callers cannot\n * mutate internal state through them either.\n *\n * @returns {ReadOnlyMatcher} A proxy that forwards read operations and blocks writes.\n *\n * @example\n * const matcher = new Matcher();\n * matcher.push(\"root\", {});\n *\n * const ro = matcher.readOnly();\n * ro.matches(expr); // ✓ works\n * ro.getCurrentTag(); // ✓ works\n * ro.push(\"child\", {}); // ✗ throws TypeError\n * ro.reset(); // ✗ throws TypeError\n */\n readOnly() {\n const self = this;\n\n return new Proxy(self, {\n get(target, prop, receiver) {\n // Block mutating methods\n if (MUTATING_METHODS.has(prop)) {\n return () => {\n throw new TypeError(\n `Cannot call '${prop}' on a read-only Matcher. ` +\n `Obtain a writable instance to mutate state.`\n );\n };\n }\n\n const value = Reflect.get(target, prop, receiver);\n\n // Freeze array/object properties so callers can't mutate internal\n // state through direct property access (e.g. matcher.path.push(...))\n if (prop === 'path' || prop === 'siblingStacks') {\n return Object.freeze(\n Array.isArray(value)\n ? value.map(item =>\n item instanceof Map\n ? Object.freeze(new Map(item)) // freeze a copy of each Map\n : Object.freeze({ ...item }) // freeze a copy of each node\n )\n : value\n );\n }\n\n // Bind methods so `this` inside them still refers to the real Matcher\n if (typeof value === 'function') {\n return value.bind(target);\n }\n\n return value;\n },\n\n // Prevent any property assignment on the read-only view\n set(_target, prop) {\n throw new TypeError(\n `Cannot set property '${String(prop)}' on a read-only Matcher.`\n );\n },\n\n // Prevent property deletion\n deleteProperty(_target, prop) {\n throw new TypeError(\n `Cannot delete property '${String(prop)}' from a read-only Matcher.`\n );\n }\n });\n }\n}","/**\n * fast-xml-tagger - XML/JSON path matching library\n * \n * Provides efficient path tracking and pattern matching for XML/JSON parsers.\n * \n * @example\n * import { Expression, Matcher } from 'fast-xml-tagger';\n * \n * // Create expression (parse once)\n * const expr = new Expression(\"root.users.user[id]\");\n * \n * // Create matcher (track path)\n * const matcher = new Matcher();\n * matcher.push(\"root\", [], {}, 0);\n * matcher.push(\"users\", [], {}, 0);\n * matcher.push(\"user\", [\"id\", \"type\"], { id: \"123\", type: \"admin\" }, 0);\n * \n * // Match\n * if (matcher.matches(expr)) {\n * console.log(\"Match found!\");\n * }\n */\n\nimport Expression from './Expression.js';\nimport Matcher from './Matcher.js';\n\nexport { Expression, Matcher };\nexport default { Expression, Matcher };\n"],"names":["root","factory","exports","module","define","amd","this","__webpack_require__","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","value","Expression","constructor","pattern","options","separator","segments","_parse","_hasDeepWildcard","some","seg","type","_hasAttributeCondition","undefined","attrName","_hasPositionSelector","position","i","currentPart","length","trim","push","_parseSegment","part","segment","bracketContent","withoutBrackets","bracketMatch","match","content","slice","namespace","tag","tagAndPosition","includes","nsIndex","indexOf","substring","Error","positionMatch","colonIndex","lastIndexOf","tagPart","posPart","test","eqIndex","attrValue","nthMatch","positionValue","parseInt","hasDeepWildcard","hasAttributeCondition","hasPositionSelector","toString","MUTATING_METHODS","Set","Matcher","path","siblingStacks","tagName","attrValues","_pathStringCache","values","currentLevel","Map","siblings","siblingKey","counter","count","set","node","pop","updateCurrent","current","getCurrentTag","getCurrentNamespace","getAttrValue","hasAttr","getPosition","getCounter","getIndex","getDepth","includeNamespace","sep","result","map","n","join","toArray","reset","matches","expression","_matchWithDeepWildcard","_matchSimple","isCurrentNode","_matchSegment","pathIdx","segIdx","nextSeg","found","actualValue","String","snapshot","restore","readOnly","Proxy","target","receiver","has","TypeError","Reflect","freeze","Array","isArray","item","bind","_target","deleteProperty"],"sourceRoot":""} \ No newline at end of file diff --git a/node_modules/path-expression-matcher/package.json b/node_modules/path-expression-matcher/package.json new file mode 100644 index 0000000..66aea91 --- /dev/null +++ b/node_modules/path-expression-matcher/package.json @@ -0,0 +1,78 @@ +{ + "name": "path-expression-matcher", + "version": "1.2.1", + "description": "Efficient path tracking and pattern matching for XML/JSON parsers", + "main": "./lib/pem.cjs", + "type": "module", + "sideEffects": false, + "module": "./src/index.js", + "types": "./src/index.d.ts", + "exports": { + ".": { + "import": { + "types": "./src/index.d.ts", + "default": "./src/index.js" + }, + "require": { + "types": "./lib/pem.d.cts", + "default": "./lib/pem.cjs" + } + } + }, + "scripts": { + "test": "c8 --reporter=lcov --reporter=text node test/*test.js", + "bundle": "webpack --config webpack.cjs.config.js" + }, + "keywords": [ + "xml", + "json", + "yaml", + "path", + "matcher", + "pattern", + "xpath", + "selector", + "parser", + "fast-xml-parser", + "fast-xml-builder" + ], + "author": "Amit Gupta (https://solothought.com)", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/NaturalIntelligence/path-expression-matcher" + }, + "bugs": { + "url": "https://github.com/NaturalIntelligence/path-expression-matcher/issues" + }, + "homepage": "https://github.com/NaturalIntelligence/path-expression-matcher#readme", + "engines": { + "node": ">=14.0.0" + }, + "files": [ + "lib", + "src/", + "README.md", + "LICENSE" + ], + "devDependencies": { + "@babel/core": "^7.13.10", + "@babel/plugin-transform-runtime": "^7.13.10", + "@babel/preset-env": "^7.13.10", + "@babel/register": "^7.13.8", + "@types/node": "20", + "babel-loader": "^8.2.2", + "c8": "^10.1.3", + "eslint": "^8.3.0", + "prettier": "^3.5.1", + "typescript": "5", + "webpack": "^5.64.4", + "webpack-cli": "^4.9.1" + }, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ] +} \ No newline at end of file diff --git a/node_modules/path-expression-matcher/src/Expression.js b/node_modules/path-expression-matcher/src/Expression.js new file mode 100644 index 0000000..6cf24d5 --- /dev/null +++ b/node_modules/path-expression-matcher/src/Expression.js @@ -0,0 +1,232 @@ +/** + * Expression - Parses and stores a tag pattern expression + * + * Patterns are parsed once and stored in an optimized structure for fast matching. + * + * @example + * const expr = new Expression("root.users.user"); + * const expr2 = new Expression("..user[id]:first"); + * const expr3 = new Expression("root/users/user", { separator: '/' }); + */ +export default class Expression { + /** + * Create a new Expression + * @param {string} pattern - Pattern string (e.g., "root.users.user", "..user[id]") + * @param {Object} options - Configuration options + * @param {string} options.separator - Path separator (default: '.') + */ + constructor(pattern, options = {}) { + this.pattern = pattern; + this.separator = options.separator || '.'; + this.segments = this._parse(pattern); + + // Cache expensive checks for performance (O(1) instead of O(n)) + this._hasDeepWildcard = this.segments.some(seg => seg.type === 'deep-wildcard'); + this._hasAttributeCondition = this.segments.some(seg => seg.attrName !== undefined); + this._hasPositionSelector = this.segments.some(seg => seg.position !== undefined); + } + + /** + * Parse pattern string into segments + * @private + * @param {string} pattern - Pattern to parse + * @returns {Array} Array of segment objects + */ + _parse(pattern) { + const segments = []; + + // Split by separator but handle ".." specially + let i = 0; + let currentPart = ''; + + while (i < pattern.length) { + if (pattern[i] === this.separator) { + // Check if next char is also separator (deep wildcard) + if (i + 1 < pattern.length && pattern[i + 1] === this.separator) { + // Flush current part if any + if (currentPart.trim()) { + segments.push(this._parseSegment(currentPart.trim())); + currentPart = ''; + } + // Add deep wildcard + segments.push({ type: 'deep-wildcard' }); + i += 2; // Skip both separators + } else { + // Regular separator + if (currentPart.trim()) { + segments.push(this._parseSegment(currentPart.trim())); + } + currentPart = ''; + i++; + } + } else { + currentPart += pattern[i]; + i++; + } + } + + // Flush remaining part + if (currentPart.trim()) { + segments.push(this._parseSegment(currentPart.trim())); + } + + return segments; + } + + /** + * Parse a single segment + * @private + * @param {string} part - Segment string (e.g., "user", "ns::user", "user[id]", "ns::user:first") + * @returns {Object} Segment object + */ + _parseSegment(part) { + const segment = { type: 'tag' }; + + // NEW NAMESPACE SYNTAX (v2.0): + // ============================ + // Namespace uses DOUBLE colon (::) + // Position uses SINGLE colon (:) + // + // Examples: + // "user" → tag + // "user:first" → tag + position + // "user[id]" → tag + attribute + // "user[id]:first" → tag + attribute + position + // "ns::user" → namespace + tag + // "ns::user:first" → namespace + tag + position + // "ns::user[id]" → namespace + tag + attribute + // "ns::user[id]:first" → namespace + tag + attribute + position + // "ns::first" → namespace + tag named "first" (NO ambiguity!) + // + // This eliminates all ambiguity: + // :: = namespace separator + // : = position selector + // [] = attributes + + // Step 1: Extract brackets [attr] or [attr=value] + let bracketContent = null; + let withoutBrackets = part; + + const bracketMatch = part.match(/^([^\[]+)(\[[^\]]*\])(.*)$/); + if (bracketMatch) { + withoutBrackets = bracketMatch[1] + bracketMatch[3]; + if (bracketMatch[2]) { + const content = bracketMatch[2].slice(1, -1); + if (content) { + bracketContent = content; + } + } + } + + // Step 2: Check for namespace (double colon ::) + let namespace = undefined; + let tagAndPosition = withoutBrackets; + + if (withoutBrackets.includes('::')) { + const nsIndex = withoutBrackets.indexOf('::'); + namespace = withoutBrackets.substring(0, nsIndex).trim(); + tagAndPosition = withoutBrackets.substring(nsIndex + 2).trim(); // Skip :: + + if (!namespace) { + throw new Error(`Invalid namespace in pattern: ${part}`); + } + } + + // Step 3: Parse tag and position (single colon :) + let tag = undefined; + let positionMatch = null; + + if (tagAndPosition.includes(':')) { + const colonIndex = tagAndPosition.lastIndexOf(':'); // Use last colon for position + const tagPart = tagAndPosition.substring(0, colonIndex).trim(); + const posPart = tagAndPosition.substring(colonIndex + 1).trim(); + + // Verify position is a valid keyword + const isPositionKeyword = ['first', 'last', 'odd', 'even'].includes(posPart) || + /^nth\(\d+\)$/.test(posPart); + + if (isPositionKeyword) { + tag = tagPart; + positionMatch = posPart; + } else { + // Not a valid position keyword, treat whole thing as tag + tag = tagAndPosition; + } + } else { + tag = tagAndPosition; + } + + if (!tag) { + throw new Error(`Invalid segment pattern: ${part}`); + } + + segment.tag = tag; + if (namespace) { + segment.namespace = namespace; + } + + // Step 4: Parse attributes + if (bracketContent) { + if (bracketContent.includes('=')) { + const eqIndex = bracketContent.indexOf('='); + segment.attrName = bracketContent.substring(0, eqIndex).trim(); + segment.attrValue = bracketContent.substring(eqIndex + 1).trim(); + } else { + segment.attrName = bracketContent.trim(); + } + } + + // Step 5: Parse position selector + if (positionMatch) { + const nthMatch = positionMatch.match(/^nth\((\d+)\)$/); + if (nthMatch) { + segment.position = 'nth'; + segment.positionValue = parseInt(nthMatch[1], 10); + } else { + segment.position = positionMatch; + } + } + + return segment; + } + + /** + * Get the number of segments + * @returns {number} + */ + get length() { + return this.segments.length; + } + + /** + * Check if expression contains deep wildcard + * @returns {boolean} + */ + hasDeepWildcard() { + return this._hasDeepWildcard; + } + + /** + * Check if expression has attribute conditions + * @returns {boolean} + */ + hasAttributeCondition() { + return this._hasAttributeCondition; + } + + /** + * Check if expression has position selectors + * @returns {boolean} + */ + hasPositionSelector() { + return this._hasPositionSelector; + } + + /** + * Get string representation + * @returns {string} + */ + toString() { + return this.pattern; + } +} \ No newline at end of file diff --git a/node_modules/path-expression-matcher/src/Matcher.js b/node_modules/path-expression-matcher/src/Matcher.js new file mode 100644 index 0000000..55587de --- /dev/null +++ b/node_modules/path-expression-matcher/src/Matcher.js @@ -0,0 +1,512 @@ +/** + * Matcher - Tracks current path in XML/JSON tree and matches against Expressions + * + * The matcher maintains a stack of nodes representing the current path from root to + * current tag. It only stores attribute values for the current (top) node to minimize + * memory usage. Sibling tracking is used to auto-calculate position and counter. + * + * @example + * const matcher = new Matcher(); + * matcher.push("root", {}); + * matcher.push("users", {}); + * matcher.push("user", { id: "123", type: "admin" }); + * + * const expr = new Expression("root.users.user"); + * matcher.matches(expr); // true + */ + +/** + * Names of methods that mutate Matcher state. + * Any attempt to call these on a read-only view throws a TypeError. + * @type {Set} + */ +const MUTATING_METHODS = new Set(['push', 'pop', 'reset', 'updateCurrent', 'restore']); + +export default class Matcher { + /** + * Create a new Matcher + * @param {Object} options - Configuration options + * @param {string} options.separator - Default path separator (default: '.') + */ + constructor(options = {}) { + this.separator = options.separator || '.'; + this.path = []; + this.siblingStacks = []; + // Each path node: { tag: string, values: object, position: number, counter: number } + // values only present for current (last) node + // Each siblingStacks entry: Map tracking occurrences at each level + } + + /** + * Push a new tag onto the path + * @param {string} tagName - Name of the tag + * @param {Object} attrValues - Attribute key-value pairs for current node (optional) + * @param {string} namespace - Namespace for the tag (optional) + */ + push(tagName, attrValues = null, namespace = null) { + this._pathStringCache = null; // invalidate + // Remove values from previous current node (now becoming ancestor) + if (this.path.length > 0) { + const prev = this.path[this.path.length - 1]; + prev.values = undefined; + } + + // Get or create sibling tracking for current level + const currentLevel = this.path.length; + if (!this.siblingStacks[currentLevel]) { + this.siblingStacks[currentLevel] = new Map(); + } + + const siblings = this.siblingStacks[currentLevel]; + + // Create a unique key for sibling tracking that includes namespace + const siblingKey = namespace ? `${namespace}:${tagName}` : tagName; + + // Calculate counter (how many times this tag appeared at this level) + const counter = siblings.get(siblingKey) || 0; + + // Calculate position (total children at this level so far) + let position = 0; + for (const count of siblings.values()) { + position += count; + } + + // Update sibling count for this tag + siblings.set(siblingKey, counter + 1); + + // Create new node + const node = { + tag: tagName, + position: position, + counter: counter + }; + + // Store namespace if provided + if (namespace !== null && namespace !== undefined) { + node.namespace = namespace; + } + + // Store values only for current node + if (attrValues !== null && attrValues !== undefined) { + node.values = attrValues; + } + + this.path.push(node); + } + + /** + * Pop the last tag from the path + * @returns {Object|undefined} The popped node + */ + pop() { + if (this.path.length === 0) { + return undefined; + } + this._pathStringCache = null; // invalidate + const node = this.path.pop(); + + // Clean up sibling tracking for levels deeper than current + // After pop, path.length is the new depth + // We need to clean up siblingStacks[path.length + 1] and beyond + if (this.siblingStacks.length > this.path.length + 1) { + this.siblingStacks.length = this.path.length + 1; + } + + return node; + } + + /** + * Update current node's attribute values + * Useful when attributes are parsed after push + * @param {Object} attrValues - Attribute values + */ + updateCurrent(attrValues) { + if (this.path.length > 0) { + const current = this.path[this.path.length - 1]; + if (attrValues !== null && attrValues !== undefined) { + current.values = attrValues; + } + } + } + + /** + * Get current tag name + * @returns {string|undefined} + */ + getCurrentTag() { + return this.path.length > 0 ? this.path[this.path.length - 1].tag : undefined; + } + + /** + * Get current namespace + * @returns {string|undefined} + */ + getCurrentNamespace() { + return this.path.length > 0 ? this.path[this.path.length - 1].namespace : undefined; + } + + /** + * Get current node's attribute value + * @param {string} attrName - Attribute name + * @returns {*} Attribute value or undefined + */ + getAttrValue(attrName) { + if (this.path.length === 0) return undefined; + const current = this.path[this.path.length - 1]; + return current.values?.[attrName]; + } + + /** + * Check if current node has an attribute + * @param {string} attrName - Attribute name + * @returns {boolean} + */ + hasAttr(attrName) { + if (this.path.length === 0) return false; + const current = this.path[this.path.length - 1]; + return current.values !== undefined && attrName in current.values; + } + + /** + * Get current node's sibling position (child index in parent) + * @returns {number} + */ + getPosition() { + if (this.path.length === 0) return -1; + return this.path[this.path.length - 1].position ?? 0; + } + + /** + * Get current node's repeat counter (occurrence count of this tag name) + * @returns {number} + */ + getCounter() { + if (this.path.length === 0) return -1; + return this.path[this.path.length - 1].counter ?? 0; + } + + /** + * Get current node's sibling index (alias for getPosition for backward compatibility) + * @returns {number} + * @deprecated Use getPosition() or getCounter() instead + */ + getIndex() { + return this.getPosition(); + } + + /** + * Get current path depth + * @returns {number} + */ + getDepth() { + return this.path.length; + } + + /** + * Get path as string + * @param {string} separator - Optional separator (uses default if not provided) + * @param {boolean} includeNamespace - Whether to include namespace in output (default: true) + * @returns {string} + */ + toString(separator, includeNamespace = true) { + const sep = separator || this.separator; + const isDefault = (sep === this.separator && includeNamespace === true); + + if (isDefault) { + if (this._pathStringCache !== null && this._pathStringCache !== undefined) { + return this._pathStringCache; + } + const result = this.path.map(n => + (includeNamespace && n.namespace) ? `${n.namespace}:${n.tag}` : n.tag + ).join(sep); + this._pathStringCache = result; + return result; + } + + // Non-default separator or includeNamespace=false: don't cache (rare case) + return this.path.map(n => + (includeNamespace && n.namespace) ? `${n.namespace}:${n.tag}` : n.tag + ).join(sep); + } + + /** + * Get path as array of tag names + * @returns {string[]} + */ + toArray() { + return this.path.map(n => n.tag); + } + + /** + * Reset the path to empty + */ + reset() { + this._pathStringCache = null; // invalidate + this.path = []; + this.siblingStacks = []; + } + + /** + * Match current path against an Expression + * @param {Expression} expression - The expression to match against + * @returns {boolean} True if current path matches the expression + */ + matches(expression) { + const segments = expression.segments; + + if (segments.length === 0) { + return false; + } + + // Handle deep wildcard patterns + if (expression.hasDeepWildcard()) { + return this._matchWithDeepWildcard(segments); + } + + // Simple path matching (no deep wildcards) + return this._matchSimple(segments); + } + + /** + * Match simple path (no deep wildcards) + * @private + */ + _matchSimple(segments) { + // Path must be same length as segments + if (this.path.length !== segments.length) { + return false; + } + + // Match each segment bottom-to-top + for (let i = 0; i < segments.length; i++) { + const segment = segments[i]; + const node = this.path[i]; + const isCurrentNode = (i === this.path.length - 1); + + if (!this._matchSegment(segment, node, isCurrentNode)) { + return false; + } + } + + return true; + } + + /** + * Match path with deep wildcards + * @private + */ + _matchWithDeepWildcard(segments) { + let pathIdx = this.path.length - 1; // Start from current node (bottom) + let segIdx = segments.length - 1; // Start from last segment + + while (segIdx >= 0 && pathIdx >= 0) { + const segment = segments[segIdx]; + + if (segment.type === 'deep-wildcard') { + // ".." matches zero or more levels + segIdx--; + + if (segIdx < 0) { + // Pattern ends with "..", always matches + return true; + } + + // Find where next segment matches in the path + const nextSeg = segments[segIdx]; + let found = false; + + for (let i = pathIdx; i >= 0; i--) { + const isCurrentNode = (i === this.path.length - 1); + if (this._matchSegment(nextSeg, this.path[i], isCurrentNode)) { + pathIdx = i - 1; + segIdx--; + found = true; + break; + } + } + + if (!found) { + return false; + } + } else { + // Regular segment + const isCurrentNode = (pathIdx === this.path.length - 1); + if (!this._matchSegment(segment, this.path[pathIdx], isCurrentNode)) { + return false; + } + pathIdx--; + segIdx--; + } + } + + // All segments must be consumed + return segIdx < 0; + } + + /** + * Match a single segment against a node + * @private + * @param {Object} segment - Segment from Expression + * @param {Object} node - Node from path + * @param {boolean} isCurrentNode - Whether this is the current (last) node + * @returns {boolean} + */ + _matchSegment(segment, node, isCurrentNode) { + // Match tag name (* is wildcard) + if (segment.tag !== '*' && segment.tag !== node.tag) { + return false; + } + + // Match namespace if specified in segment + if (segment.namespace !== undefined) { + // Segment has namespace - node must match it + if (segment.namespace !== '*' && segment.namespace !== node.namespace) { + return false; + } + } + // If segment has no namespace, it matches nodes with or without namespace + + // Match attribute name (check if node has this attribute) + // Can only check for current node since ancestors don't have values + if (segment.attrName !== undefined) { + if (!isCurrentNode) { + // Can't check attributes for ancestor nodes (values not stored) + return false; + } + + if (!node.values || !(segment.attrName in node.values)) { + return false; + } + + // Match attribute value (only possible for current node) + if (segment.attrValue !== undefined) { + const actualValue = node.values[segment.attrName]; + // Both should be strings + if (String(actualValue) !== String(segment.attrValue)) { + return false; + } + } + } + + // Match position (only for current node) + if (segment.position !== undefined) { + if (!isCurrentNode) { + // Can't check position for ancestor nodes + return false; + } + + const counter = node.counter ?? 0; + + if (segment.position === 'first' && counter !== 0) { + return false; + } else if (segment.position === 'odd' && counter % 2 !== 1) { + return false; + } else if (segment.position === 'even' && counter % 2 !== 0) { + return false; + } else if (segment.position === 'nth') { + if (counter !== segment.positionValue) { + return false; + } + } + } + + return true; + } + + /** + * Create a snapshot of current state + * @returns {Object} State snapshot + */ + snapshot() { + return { + path: this.path.map(node => ({ ...node })), + siblingStacks: this.siblingStacks.map(map => new Map(map)) + }; + } + + /** + * Restore state from snapshot + * @param {Object} snapshot - State snapshot + */ + restore(snapshot) { + this._pathStringCache = null; // invalidate + this.path = snapshot.path.map(node => ({ ...node })); + this.siblingStacks = snapshot.siblingStacks.map(map => new Map(map)); + } + + /** + * Return a read-only view of this matcher. + * + * The returned object exposes all query/inspection methods but throws a + * TypeError if any state-mutating method is called (`push`, `pop`, `reset`, + * `updateCurrent`, `restore`). Property reads (e.g. `.path`, `.separator`) + * are allowed but the returned arrays/objects are frozen so callers cannot + * mutate internal state through them either. + * + * @returns {ReadOnlyMatcher} A proxy that forwards read operations and blocks writes. + * + * @example + * const matcher = new Matcher(); + * matcher.push("root", {}); + * + * const ro = matcher.readOnly(); + * ro.matches(expr); // ✓ works + * ro.getCurrentTag(); // ✓ works + * ro.push("child", {}); // ✗ throws TypeError + * ro.reset(); // ✗ throws TypeError + */ + readOnly() { + const self = this; + + return new Proxy(self, { + get(target, prop, receiver) { + // Block mutating methods + if (MUTATING_METHODS.has(prop)) { + return () => { + throw new TypeError( + `Cannot call '${prop}' on a read-only Matcher. ` + + `Obtain a writable instance to mutate state.` + ); + }; + } + + const value = Reflect.get(target, prop, receiver); + + // Freeze array/object properties so callers can't mutate internal + // state through direct property access (e.g. matcher.path.push(...)) + if (prop === 'path' || prop === 'siblingStacks') { + return Object.freeze( + Array.isArray(value) + ? value.map(item => + item instanceof Map + ? Object.freeze(new Map(item)) // freeze a copy of each Map + : Object.freeze({ ...item }) // freeze a copy of each node + ) + : value + ); + } + + // Bind methods so `this` inside them still refers to the real Matcher + if (typeof value === 'function') { + return value.bind(target); + } + + return value; + }, + + // Prevent any property assignment on the read-only view + set(_target, prop) { + throw new TypeError( + `Cannot set property '${String(prop)}' on a read-only Matcher.` + ); + }, + + // Prevent property deletion + deleteProperty(_target, prop) { + throw new TypeError( + `Cannot delete property '${String(prop)}' from a read-only Matcher.` + ); + } + }); + } +} \ No newline at end of file diff --git a/node_modules/path-expression-matcher/src/index.d.ts b/node_modules/path-expression-matcher/src/index.d.ts new file mode 100644 index 0000000..3be0851 --- /dev/null +++ b/node_modules/path-expression-matcher/src/index.d.ts @@ -0,0 +1,518 @@ +/** + * TypeScript definitions for path-expression-matcher + * + * Provides efficient path tracking and pattern matching for XML/JSON parsers. + */ + +/** + * Options for creating an Expression + */ +export interface ExpressionOptions { + /** + * Path separator character + * @default '.' + */ + separator?: string; +} + +/** + * Parsed segment from an expression pattern + */ +export interface Segment { + /** + * Type of segment + */ + type: 'tag' | 'deep-wildcard'; + + /** + * Tag name (e.g., "user", "*" for wildcard) + * Only present when type is 'tag' + */ + tag?: string; + + /** + * Namespace prefix (e.g., "ns" in "ns::user") + * Only present when namespace is specified + */ + namespace?: string; + + /** + * Attribute name to match (e.g., "id" in "user[id]") + * Only present when attribute condition exists + */ + attrName?: string; + + /** + * Attribute value to match (e.g., "123" in "user[id=123]") + * Only present when attribute value is specified + */ + attrValue?: string; + + /** + * Position selector type + * Only present when position selector exists + */ + position?: 'first' | 'last' | 'odd' | 'even' | 'nth'; + + /** + * Numeric value for nth() selector + * Only present when position is 'nth' + */ + positionValue?: number; +} + +/** + * Expression - Parses and stores a tag pattern expression + * + * Patterns are parsed once and stored in an optimized structure for fast matching. + * + * @example + * ```typescript + * const expr = new Expression("root.users.user"); + * const expr2 = new Expression("..user[id]:first"); + * const expr3 = new Expression("root/users/user", { separator: '/' }); + * ``` + * + * Pattern Syntax: + * - `root.users.user` - Match exact path + * - `..user` - Match "user" at any depth (deep wildcard) + * - `user[id]` - Match user tag with "id" attribute + * - `user[id=123]` - Match user tag where id="123" + * - `user:first` - Match first occurrence of user tag + * - `ns::user` - Match user tag with namespace "ns" + * - `ns::user[id]:first` - Combine namespace, attribute, and position + */ +export class Expression { + /** + * Original pattern string + */ + readonly pattern: string; + + /** + * Path separator character + */ + readonly separator: string; + + /** + * Parsed segments + */ + readonly segments: Segment[]; + + /** + * Create a new Expression + * @param pattern - Pattern string (e.g., "root.users.user", "..user[id]") + * @param options - Configuration options + */ + constructor(pattern: string, options?: ExpressionOptions); + + /** + * Get the number of segments + */ + get length(): number; + + /** + * Check if expression contains deep wildcard (..) + */ + hasDeepWildcard(): boolean; + + /** + * Check if expression has attribute conditions + */ + hasAttributeCondition(): boolean; + + /** + * Check if expression has position selectors + */ + hasPositionSelector(): boolean; + + /** + * Get string representation + */ + toString(): string; +} + +/** + * Options for creating a Matcher + */ +export interface MatcherOptions { + /** + * Default path separator + * @default '.' + */ + separator?: string; +} + +/** + * Internal node structure in the path stack + */ +export interface PathNode { + /** + * Tag name + */ + tag: string; + + /** + * Namespace (if present) + */ + namespace?: string; + + /** + * Position in sibling list (child index in parent) + */ + position: number; + + /** + * Counter (occurrence count of this tag name) + */ + counter: number; + + /** + * Attribute key-value pairs + * Only present for the current (last) node in path + */ + values?: Record; +} + +/** + * Snapshot of matcher state + */ +export interface MatcherSnapshot { + /** + * Copy of the path stack + */ + path: PathNode[]; + + /** + * Copy of sibling tracking maps + */ + siblingStacks: Map[]; +} + +/** + * ReadOnlyMatcher - A safe, read-only view over a {@link Matcher} instance. + * + * Returned by {@link Matcher.readOnly}. Exposes all query and inspection + * methods but **throws a `TypeError`** if any state-mutating method is called + * (`push`, `pop`, `reset`, `updateCurrent`, `restore`). Direct property + * writes are also blocked. + * + * Pass this to consumers that only need to inspect or match the current path + * so they cannot accidentally corrupt the parser state. + * + * @example + * ```typescript + * const matcher = new Matcher(); + * matcher.push("root", {}); + * matcher.push("users", {}); + * matcher.push("user", { id: "123" }); + * + * const ro: ReadOnlyMatcher = matcher.readOnly(); + * + * ro.matches(expr); // ✓ works + * ro.getCurrentTag(); // ✓ "user" + * ro.getDepth(); // ✓ 3 + * ro.push("child", {}); // ✗ TypeError: Cannot call 'push' on a read-only Matcher + * ro.reset(); // ✗ TypeError: Cannot call 'reset' on a read-only Matcher + * ``` + */ +export interface ReadOnlyMatcher { + /** + * Default path separator (read-only) + */ + readonly separator: string; + + /** + * Current path stack (each node is a frozen copy) + */ + readonly path: ReadonlyArray>; + + // ── Query methods ─────────────────────────────────────────────────────────── + + /** + * Get current tag name + * @returns Current tag name or undefined if path is empty + */ + getCurrentTag(): string | undefined; + + /** + * Get current namespace + * @returns Current namespace or undefined if not present or path is empty + */ + getCurrentNamespace(): string | undefined; + + /** + * Get current node's attribute value + * @param attrName - Attribute name + * @returns Attribute value or undefined + */ + getAttrValue(attrName: string): any; + + /** + * Check if current node has an attribute + * @param attrName - Attribute name + */ + hasAttr(attrName: string): boolean; + + /** + * Get current node's sibling position (child index in parent) + * @returns Position index or -1 if path is empty + */ + getPosition(): number; + + /** + * Get current node's repeat counter (occurrence count of this tag name) + * @returns Counter value or -1 if path is empty + */ + getCounter(): number; + + /** + * Get current node's sibling index (alias for getPosition for backward compatibility) + * @returns Index or -1 if path is empty + * @deprecated Use getPosition() or getCounter() instead + */ + getIndex(): number; + + /** + * Get current path depth + * @returns Number of nodes in the path + */ + getDepth(): number; + + /** + * Get path as string + * @param separator - Optional separator (uses default if not provided) + * @param includeNamespace - Whether to include namespace in output + * @returns Path string (e.g., "root.users.user" or "ns:root.ns:users.user") + */ + toString(separator?: string, includeNamespace?: boolean): string; + + /** + * Get path as array of tag names + * @returns Array of tag names + */ + toArray(): string[]; + + /** + * Match current path against an Expression + * @param expression - The expression to match against + * @returns True if current path matches the expression + */ + matches(expression: Expression): boolean; + + /** + * Create a snapshot of current state + * @returns State snapshot that can be restored later + */ + snapshot(): MatcherSnapshot; + + // ── Blocked mutating methods ──────────────────────────────────────────────── + // These are present in the type so callers get a compile-time error with a + // helpful message instead of a silent "property does not exist" error. + + /** + * @throws {TypeError} Always – mutation is not allowed on a read-only view. + */ + push(tagName: string, attrValues?: Record | null, namespace?: string | null): never; + + /** + * @throws {TypeError} Always – mutation is not allowed on a read-only view. + */ + pop(): never; + + /** + * @throws {TypeError} Always – mutation is not allowed on a read-only view. + */ + updateCurrent(attrValues: Record): never; + + /** + * @throws {TypeError} Always – mutation is not allowed on a read-only view. + */ + reset(): never; + + /** + * @throws {TypeError} Always – mutation is not allowed on a read-only view. + */ + restore(snapshot: MatcherSnapshot): never; +} + +/** + * Matcher - Tracks current path in XML/JSON tree and matches against Expressions + * + * The matcher maintains a stack of nodes representing the current path from root to + * current tag. It only stores attribute values for the current (top) node to minimize + * memory usage. + * + * @example + * ```typescript + * const matcher = new Matcher(); + * matcher.push("root", {}); + * matcher.push("users", {}); + * matcher.push("user", { id: "123", type: "admin" }); + * + * const expr = new Expression("root.users.user"); + * matcher.matches(expr); // true + * + * matcher.pop(); + * matcher.matches(expr); // false + * ``` + */ +export class Matcher { + /** + * Default path separator + */ + readonly separator: string; + + /** + * Current path stack + */ + readonly path: PathNode[]; + + /** + * Create a new Matcher + * @param options - Configuration options + */ + constructor(options?: MatcherOptions); + + /** + * Push a new tag onto the path + * @param tagName - Name of the tag + * @param attrValues - Attribute key-value pairs for current node (optional) + * @param namespace - Namespace for the tag (optional) + * + * @example + * ```typescript + * matcher.push("user", { id: "123", type: "admin" }); + * matcher.push("user", { id: "456" }, "ns"); + * matcher.push("container", null); + * ``` + */ + push(tagName: string, attrValues?: Record | null, namespace?: string | null): void; + + /** + * Pop the last tag from the path + * @returns The popped node or undefined if path is empty + */ + pop(): PathNode | undefined; + + /** + * Update current node's attribute values + * Useful when attributes are parsed after push + * @param attrValues - Attribute values + */ + updateCurrent(attrValues: Record): void; + + /** + * Get current tag name + * @returns Current tag name or undefined if path is empty + */ + getCurrentTag(): string | undefined; + + /** + * Get current namespace + * @returns Current namespace or undefined if not present or path is empty + */ + getCurrentNamespace(): string | undefined; + + /** + * Get current node's attribute value + * @param attrName - Attribute name + * @returns Attribute value or undefined + */ + getAttrValue(attrName: string): any; + + /** + * Check if current node has an attribute + * @param attrName - Attribute name + */ + hasAttr(attrName: string): boolean; + + /** + * Get current node's sibling position (child index in parent) + * @returns Position index or -1 if path is empty + */ + getPosition(): number; + + /** + * Get current node's repeat counter (occurrence count of this tag name) + * @returns Counter value or -1 if path is empty + */ + getCounter(): number; + + /** + * Get current node's sibling index (alias for getPosition for backward compatibility) + * @returns Index or -1 if path is empty + * @deprecated Use getPosition() or getCounter() instead + */ + getIndex(): number; + + /** + * Get current path depth + * @returns Number of nodes in the path + */ + getDepth(): number; + + /** + * Get path as string + * @param separator - Optional separator (uses default if not provided) + * @param includeNamespace - Whether to include namespace in output + * @returns Path string (e.g., "root.users.user" or "ns:root.ns:users.user") + */ + toString(separator?: string, includeNamespace?: boolean): string; + + /** + * Get path as array of tag names + * @returns Array of tag names + */ + toArray(): string[]; + + /** + * Reset the path to empty + */ + reset(): void; + + /** + * Match current path against an Expression + * @param expression - The expression to match against + * @returns True if current path matches the expression + * + * @example + * ```typescript + * const expr = new Expression("root.users.user[id]"); + * const matcher = new Matcher(); + * + * matcher.push("root"); + * matcher.push("users"); + * matcher.push("user", { id: "123" }); + * + * matcher.matches(expr); // true + * ``` + */ + matches(expression: Expression): boolean; + + /** + * Create a snapshot of current state + * @returns State snapshot that can be restored later + */ + snapshot(): MatcherSnapshot; + + /** + * Restore state from snapshot + * @param snapshot - State snapshot from previous snapshot() call + */ + restore(snapshot: MatcherSnapshot): void; + + /** + * Return a read-only view of this matcher. + */ + readOnly(): ReadOnlyMatcher; +} + +/** + * Default export containing both Expression and Matcher + */ +declare const _default: { + Expression: typeof Expression; + Matcher: typeof Matcher; +}; + +export default _default; \ No newline at end of file diff --git a/node_modules/path-expression-matcher/src/index.js b/node_modules/path-expression-matcher/src/index.js new file mode 100644 index 0000000..630262d --- /dev/null +++ b/node_modules/path-expression-matcher/src/index.js @@ -0,0 +1,28 @@ +/** + * fast-xml-tagger - XML/JSON path matching library + * + * Provides efficient path tracking and pattern matching for XML/JSON parsers. + * + * @example + * import { Expression, Matcher } from 'fast-xml-tagger'; + * + * // Create expression (parse once) + * const expr = new Expression("root.users.user[id]"); + * + * // Create matcher (track path) + * const matcher = new Matcher(); + * matcher.push("root", [], {}, 0); + * matcher.push("users", [], {}, 0); + * matcher.push("user", ["id", "type"], { id: "123", type: "admin" }, 0); + * + * // Match + * if (matcher.matches(expr)) { + * console.log("Match found!"); + * } + */ + +import Expression from './Expression.js'; +import Matcher from './Matcher.js'; + +export { Expression, Matcher }; +export default { Expression, Matcher }; diff --git a/node_modules/path-to-regexp/LICENSE b/node_modules/path-to-regexp/LICENSE new file mode 100644 index 0000000..983fbe8 --- /dev/null +++ b/node_modules/path-to-regexp/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_modules/path-to-regexp/Readme.md b/node_modules/path-to-regexp/Readme.md new file mode 100644 index 0000000..95452a6 --- /dev/null +++ b/node_modules/path-to-regexp/Readme.md @@ -0,0 +1,35 @@ +# Path-to-RegExp + +Turn an Express-style path string such as `/user/:name` into a regular expression. + +**Note:** This is a legacy branch. You should upgrade to `1.x`. + +## Usage + +```javascript +var pathToRegexp = require('path-to-regexp'); +``` + +### pathToRegexp(path, keys, options) + + - **path** A string in the express format, an array of such strings, or a regular expression + - **keys** An array to be populated with the keys present in the url. Once the function completes, this will be an array of strings. + - **options** + - **options.sensitive** Defaults to false, set this to true to make routes case sensitive + - **options.strict** Defaults to false, set this to true to make the trailing slash matter. + - **options.end** Defaults to true, set this to false to only match the prefix of the URL. + +```javascript +var keys = []; +var exp = pathToRegexp('/foo/:bar', keys); +//keys = ['bar'] +//exp = /^\/foo\/(?:([^\/]+?))\/?$/i +``` + +## Live Demo + +You can see a live demo of this library in use at [express-route-tester](http://forbeslindesay.github.com/express-route-tester/). + +## License + + MIT diff --git a/node_modules/path-to-regexp/index.js b/node_modules/path-to-regexp/index.js new file mode 100644 index 0000000..a3d4924 --- /dev/null +++ b/node_modules/path-to-regexp/index.js @@ -0,0 +1,158 @@ +/** + * Expose `pathToRegexp`. + */ + +module.exports = pathToRegexp; + +/** + * Match matching groups in a regular expression. + */ +var MATCHING_GROUP_REGEXP = /\\.|\((?:\?<(.*?)>)?(?!\?)/g; + +/** + * Normalize the given path string, + * returning a regular expression. + * + * An empty array should be passed, + * which will contain the placeholder + * key names. For example "/user/:id" will + * then contain ["id"]. + * + * @param {String|RegExp|Array} path + * @param {Array} keys + * @param {Object} options + * @return {RegExp} + * @api private + */ + +function pathToRegexp(path, keys, options) { + options = options || {}; + keys = keys || []; + var strict = options.strict; + var end = options.end !== false; + var flags = options.sensitive ? '' : 'i'; + var lookahead = options.lookahead !== false; + var extraOffset = 0; + var keysOffset = keys.length; + var i = 0; + var name = 0; + var pos = 0; + var backtrack = ''; + var m; + + if (path instanceof RegExp) { + while (m = MATCHING_GROUP_REGEXP.exec(path.source)) { + if (m[0][0] === '\\') continue; + + keys.push({ + name: m[1] || name++, + optional: false, + offset: m.index + }); + } + + return path; + } + + if (Array.isArray(path)) { + // Map array parts into regexps and return their source. We also pass + // the same keys and options instance into every generation to get + // consistent matching groups before we join the sources together. + path = path.map(function (value) { + return pathToRegexp(value, keys, options).source; + }); + + return new RegExp(path.join('|'), flags); + } + + if (typeof path !== 'string') { + throw new TypeError('path must be a string, array of strings, or regular expression'); + } + + path = path.replace( + /\\.|(\/)?(\.)?:(\w+)(\(.*?\))?(\*)?(\?)?|[.*]|\/\(/g, + function (match, slash, format, key, capture, star, optional, offset) { + if (match[0] === '\\') { + backtrack += match; + pos += 2; + return match; + } + + if (match === '.') { + backtrack += '\\.'; + extraOffset += 1; + pos += 1; + return '\\.'; + } + + if (slash || format) { + backtrack = ''; + } else { + backtrack += path.slice(pos, offset); + } + + pos = offset + match.length; + + if (match === '*') { + backtrack = ''; + extraOffset += 3; + return '(.*)'; + } + + if (match === '/(') { + backtrack += '/'; + extraOffset += 2; + return '/(?:'; + } + + slash = slash || ''; + format = format ? '\\.' : ''; + optional = optional || ''; + capture = capture ? + capture.replace(/\\.|\*/, function (m) { return m === '*' ? '(.*)' : m; }) : + (backtrack ? '((?:(?!/|' + backtrack + ').)+?)' : '([^/' + format + ']+?)'); + + keys.push({ + name: key, + optional: !!optional, + offset: offset + extraOffset + }); + + var result = '(?:' + + format + slash + capture + + (star ? '((?:[/' + format + '].+?)?)' : '') + + ')' + + optional; + + backtrack = ''; + extraOffset += result.length - match.length; + + return result; + }); + + // This is a workaround for handling unnamed matching groups. + while (m = MATCHING_GROUP_REGEXP.exec(path)) { + if (m[0][0] === '\\') continue; + + if (keysOffset + i === keys.length || keys[keysOffset + i].offset > m.index) { + keys.splice(keysOffset + i, 0, { + name: name++, // Unnamed matching groups must be consistently linear. + optional: false, + offset: m.index + }); + } + + i++; + } + + path += strict ? '' : path[path.length - 1] === '/' ? '?' : '/?'; + + // If the path is non-ending, match until the end or a slash. + if (end) { + path += '$'; + } else if (path[path.length - 1] !== '/') { + path += lookahead ? '(?=/|$)' : '(?:/|$)'; + } + + return new RegExp('^' + path, flags); +}; diff --git a/node_modules/path-to-regexp/package.json b/node_modules/path-to-regexp/package.json new file mode 100644 index 0000000..456a45d --- /dev/null +++ b/node_modules/path-to-regexp/package.json @@ -0,0 +1,30 @@ +{ + "name": "path-to-regexp", + "description": "Express style path to RegExp utility", + "version": "0.1.13", + "files": [ + "index.js", + "LICENSE" + ], + "scripts": { + "test": "istanbul cover _mocha -- -R spec" + }, + "keywords": [ + "express", + "regexp" + ], + "component": { + "scripts": { + "path-to-regexp": "index.js" + } + }, + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/pillarjs/path-to-regexp.git" + }, + "devDependencies": { + "mocha": "^1.17.1", + "istanbul": "^0.2.6" + } +} diff --git a/node_modules/proxy-addr/HISTORY.md b/node_modules/proxy-addr/HISTORY.md new file mode 100644 index 0000000..8480242 --- /dev/null +++ b/node_modules/proxy-addr/HISTORY.md @@ -0,0 +1,161 @@ +2.0.7 / 2021-05-31 +================== + + * deps: forwarded@0.2.0 + - Use `req.socket` over deprecated `req.connection` + +2.0.6 / 2020-02-24 +================== + + * deps: ipaddr.js@1.9.1 + +2.0.5 / 2019-04-16 +================== + + * deps: ipaddr.js@1.9.0 + +2.0.4 / 2018-07-26 +================== + + * deps: ipaddr.js@1.8.0 + +2.0.3 / 2018-02-19 +================== + + * deps: ipaddr.js@1.6.0 + +2.0.2 / 2017-09-24 +================== + + * deps: forwarded@~0.1.2 + - perf: improve header parsing + - perf: reduce overhead when no `X-Forwarded-For` header + +2.0.1 / 2017-09-10 +================== + + * deps: forwarded@~0.1.1 + - Fix trimming leading / trailing OWS + - perf: hoist regular expression + * deps: ipaddr.js@1.5.2 + +2.0.0 / 2017-08-08 +================== + + * Drop support for Node.js below 0.10 + +1.1.5 / 2017-07-25 +================== + + * Fix array argument being altered + * deps: ipaddr.js@1.4.0 + +1.1.4 / 2017-03-24 +================== + + * deps: ipaddr.js@1.3.0 + +1.1.3 / 2017-01-14 +================== + + * deps: ipaddr.js@1.2.0 + +1.1.2 / 2016-05-29 +================== + + * deps: ipaddr.js@1.1.1 + - Fix IPv6-mapped IPv4 validation edge cases + +1.1.1 / 2016-05-03 +================== + + * Fix regression matching mixed versions against multiple subnets + +1.1.0 / 2016-05-01 +================== + + * Fix accepting various invalid netmasks + - IPv4 netmasks must be contingous + - IPv6 addresses cannot be used as a netmask + * deps: ipaddr.js@1.1.0 + +1.0.10 / 2015-12-09 +=================== + + * deps: ipaddr.js@1.0.5 + - Fix regression in `isValid` with non-string arguments + +1.0.9 / 2015-12-01 +================== + + * deps: ipaddr.js@1.0.4 + - Fix accepting some invalid IPv6 addresses + - Reject CIDRs with negative or overlong masks + * perf: enable strict mode + +1.0.8 / 2015-05-10 +================== + + * deps: ipaddr.js@1.0.1 + +1.0.7 / 2015-03-16 +================== + + * deps: ipaddr.js@0.1.9 + - Fix OOM on certain inputs to `isValid` + +1.0.6 / 2015-02-01 +================== + + * deps: ipaddr.js@0.1.8 + +1.0.5 / 2015-01-08 +================== + + * deps: ipaddr.js@0.1.6 + +1.0.4 / 2014-11-23 +================== + + * deps: ipaddr.js@0.1.5 + - Fix edge cases with `isValid` + +1.0.3 / 2014-09-21 +================== + + * Use `forwarded` npm module + +1.0.2 / 2014-09-18 +================== + + * Fix a global leak when multiple subnets are trusted + * Support Node.js 0.6 + * deps: ipaddr.js@0.1.3 + +1.0.1 / 2014-06-03 +================== + + * Fix links in npm package + +1.0.0 / 2014-05-08 +================== + + * Add `trust` argument to determine proxy trust on + * Accepts custom function + * Accepts IPv4/IPv6 address(es) + * Accepts subnets + * Accepts pre-defined names + * Add optional `trust` argument to `proxyaddr.all` to + stop at first untrusted + * Add `proxyaddr.compile` to pre-compile `trust` function + to make subsequent calls faster + +0.0.1 / 2014-05-04 +================== + + * Fix bad npm publish + +0.0.0 / 2014-05-04 +================== + + * Initial release diff --git a/node_modules/proxy-addr/LICENSE b/node_modules/proxy-addr/LICENSE new file mode 100644 index 0000000..cab251c --- /dev/null +++ b/node_modules/proxy-addr/LICENSE @@ -0,0 +1,22 @@ +(The MIT License) + +Copyright (c) 2014-2016 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/proxy-addr/README.md b/node_modules/proxy-addr/README.md new file mode 100644 index 0000000..69c0b63 --- /dev/null +++ b/node_modules/proxy-addr/README.md @@ -0,0 +1,139 @@ +# proxy-addr + +[![NPM Version][npm-version-image]][npm-url] +[![NPM Downloads][npm-downloads-image]][npm-url] +[![Node.js Version][node-image]][node-url] +[![Build Status][ci-image]][ci-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +Determine address of proxied request + +## Install + +This is a [Node.js](https://nodejs.org/en/) module available through the +[npm registry](https://www.npmjs.com/). Installation is done using the +[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): + +```sh +$ npm install proxy-addr +``` + +## API + +```js +var proxyaddr = require('proxy-addr') +``` + +### proxyaddr(req, trust) + +Return the address of the request, using the given `trust` parameter. + +The `trust` argument is a function that returns `true` if you trust +the address, `false` if you don't. The closest untrusted address is +returned. + +```js +proxyaddr(req, function (addr) { return addr === '127.0.0.1' }) +proxyaddr(req, function (addr, i) { return i < 1 }) +``` + +The `trust` arugment may also be a single IP address string or an +array of trusted addresses, as plain IP addresses, CIDR-formatted +strings, or IP/netmask strings. + +```js +proxyaddr(req, '127.0.0.1') +proxyaddr(req, ['127.0.0.0/8', '10.0.0.0/8']) +proxyaddr(req, ['127.0.0.0/255.0.0.0', '192.168.0.0/255.255.0.0']) +``` + +This module also supports IPv6. Your IPv6 addresses will be normalized +automatically (i.e. `fe80::00ed:1` equals `fe80:0:0:0:0:0:ed:1`). + +```js +proxyaddr(req, '::1') +proxyaddr(req, ['::1/128', 'fe80::/10']) +``` + +This module will automatically work with IPv4-mapped IPv6 addresses +as well to support node.js in IPv6-only mode. This means that you do +not have to specify both `::ffff:a00:1` and `10.0.0.1`. + +As a convenience, this module also takes certain pre-defined names +in addition to IP addresses, which expand into IP addresses: + +```js +proxyaddr(req, 'loopback') +proxyaddr(req, ['loopback', 'fc00:ac:1ab5:fff::1/64']) +``` + + * `loopback`: IPv4 and IPv6 loopback addresses (like `::1` and + `127.0.0.1`). + * `linklocal`: IPv4 and IPv6 link-local addresses (like + `fe80::1:1:1:1` and `169.254.0.1`). + * `uniquelocal`: IPv4 private addresses and IPv6 unique-local + addresses (like `fc00:ac:1ab5:fff::1` and `192.168.0.1`). + +When `trust` is specified as a function, it will be called for each +address to determine if it is a trusted address. The function is +given two arguments: `addr` and `i`, where `addr` is a string of +the address to check and `i` is a number that represents the distance +from the socket address. + +### proxyaddr.all(req, [trust]) + +Return all the addresses of the request, optionally stopping at the +first untrusted. This array is ordered from closest to furthest +(i.e. `arr[0] === req.connection.remoteAddress`). + +```js +proxyaddr.all(req) +``` + +The optional `trust` argument takes the same arguments as `trust` +does in `proxyaddr(req, trust)`. + +```js +proxyaddr.all(req, 'loopback') +``` + +### proxyaddr.compile(val) + +Compiles argument `val` into a `trust` function. This function takes +the same arguments as `trust` does in `proxyaddr(req, trust)` and +returns a function suitable for `proxyaddr(req, trust)`. + +```js +var trust = proxyaddr.compile('loopback') +var addr = proxyaddr(req, trust) +``` + +This function is meant to be optimized for use against every request. +It is recommend to compile a trust function up-front for the trusted +configuration and pass that to `proxyaddr(req, trust)` for each request. + +## Testing + +```sh +$ npm test +``` + +## Benchmarks + +```sh +$ npm run-script bench +``` + +## License + +[MIT](LICENSE) + +[ci-image]: https://badgen.net/github/checks/jshttp/proxy-addr/master?label=ci +[ci-url]: https://github.com/jshttp/proxy-addr/actions?query=workflow%3Aci +[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/proxy-addr/master +[coveralls-url]: https://coveralls.io/r/jshttp/proxy-addr?branch=master +[node-image]: https://badgen.net/npm/node/proxy-addr +[node-url]: https://nodejs.org/en/download +[npm-downloads-image]: https://badgen.net/npm/dm/proxy-addr +[npm-url]: https://npmjs.org/package/proxy-addr +[npm-version-image]: https://badgen.net/npm/v/proxy-addr diff --git a/node_modules/proxy-addr/index.js b/node_modules/proxy-addr/index.js new file mode 100644 index 0000000..a909b05 --- /dev/null +++ b/node_modules/proxy-addr/index.js @@ -0,0 +1,327 @@ +/*! + * proxy-addr + * Copyright(c) 2014-2016 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module exports. + * @public + */ + +module.exports = proxyaddr +module.exports.all = alladdrs +module.exports.compile = compile + +/** + * Module dependencies. + * @private + */ + +var forwarded = require('forwarded') +var ipaddr = require('ipaddr.js') + +/** + * Variables. + * @private + */ + +var DIGIT_REGEXP = /^[0-9]+$/ +var isip = ipaddr.isValid +var parseip = ipaddr.parse + +/** + * Pre-defined IP ranges. + * @private + */ + +var IP_RANGES = { + linklocal: ['169.254.0.0/16', 'fe80::/10'], + loopback: ['127.0.0.1/8', '::1/128'], + uniquelocal: ['10.0.0.0/8', '172.16.0.0/12', '192.168.0.0/16', 'fc00::/7'] +} + +/** + * Get all addresses in the request, optionally stopping + * at the first untrusted. + * + * @param {Object} request + * @param {Function|Array|String} [trust] + * @public + */ + +function alladdrs (req, trust) { + // get addresses + var addrs = forwarded(req) + + if (!trust) { + // Return all addresses + return addrs + } + + if (typeof trust !== 'function') { + trust = compile(trust) + } + + for (var i = 0; i < addrs.length - 1; i++) { + if (trust(addrs[i], i)) continue + + addrs.length = i + 1 + } + + return addrs +} + +/** + * Compile argument into trust function. + * + * @param {Array|String} val + * @private + */ + +function compile (val) { + if (!val) { + throw new TypeError('argument is required') + } + + var trust + + if (typeof val === 'string') { + trust = [val] + } else if (Array.isArray(val)) { + trust = val.slice() + } else { + throw new TypeError('unsupported trust argument') + } + + for (var i = 0; i < trust.length; i++) { + val = trust[i] + + if (!Object.prototype.hasOwnProperty.call(IP_RANGES, val)) { + continue + } + + // Splice in pre-defined range + val = IP_RANGES[val] + trust.splice.apply(trust, [i, 1].concat(val)) + i += val.length - 1 + } + + return compileTrust(compileRangeSubnets(trust)) +} + +/** + * Compile `arr` elements into range subnets. + * + * @param {Array} arr + * @private + */ + +function compileRangeSubnets (arr) { + var rangeSubnets = new Array(arr.length) + + for (var i = 0; i < arr.length; i++) { + rangeSubnets[i] = parseipNotation(arr[i]) + } + + return rangeSubnets +} + +/** + * Compile range subnet array into trust function. + * + * @param {Array} rangeSubnets + * @private + */ + +function compileTrust (rangeSubnets) { + // Return optimized function based on length + var len = rangeSubnets.length + return len === 0 + ? trustNone + : len === 1 + ? trustSingle(rangeSubnets[0]) + : trustMulti(rangeSubnets) +} + +/** + * Parse IP notation string into range subnet. + * + * @param {String} note + * @private + */ + +function parseipNotation (note) { + var pos = note.lastIndexOf('/') + var str = pos !== -1 + ? note.substring(0, pos) + : note + + if (!isip(str)) { + throw new TypeError('invalid IP address: ' + str) + } + + var ip = parseip(str) + + if (pos === -1 && ip.kind() === 'ipv6' && ip.isIPv4MappedAddress()) { + // Store as IPv4 + ip = ip.toIPv4Address() + } + + var max = ip.kind() === 'ipv6' + ? 128 + : 32 + + var range = pos !== -1 + ? note.substring(pos + 1, note.length) + : null + + if (range === null) { + range = max + } else if (DIGIT_REGEXP.test(range)) { + range = parseInt(range, 10) + } else if (ip.kind() === 'ipv4' && isip(range)) { + range = parseNetmask(range) + } else { + range = null + } + + if (range <= 0 || range > max) { + throw new TypeError('invalid range on address: ' + note) + } + + return [ip, range] +} + +/** + * Parse netmask string into CIDR range. + * + * @param {String} netmask + * @private + */ + +function parseNetmask (netmask) { + var ip = parseip(netmask) + var kind = ip.kind() + + return kind === 'ipv4' + ? ip.prefixLengthFromSubnetMask() + : null +} + +/** + * Determine address of proxied request. + * + * @param {Object} request + * @param {Function|Array|String} trust + * @public + */ + +function proxyaddr (req, trust) { + if (!req) { + throw new TypeError('req argument is required') + } + + if (!trust) { + throw new TypeError('trust argument is required') + } + + var addrs = alladdrs(req, trust) + var addr = addrs[addrs.length - 1] + + return addr +} + +/** + * Static trust function to trust nothing. + * + * @private + */ + +function trustNone () { + return false +} + +/** + * Compile trust function for multiple subnets. + * + * @param {Array} subnets + * @private + */ + +function trustMulti (subnets) { + return function trust (addr) { + if (!isip(addr)) return false + + var ip = parseip(addr) + var ipconv + var kind = ip.kind() + + for (var i = 0; i < subnets.length; i++) { + var subnet = subnets[i] + var subnetip = subnet[0] + var subnetkind = subnetip.kind() + var subnetrange = subnet[1] + var trusted = ip + + if (kind !== subnetkind) { + if (subnetkind === 'ipv4' && !ip.isIPv4MappedAddress()) { + // Incompatible IP addresses + continue + } + + if (!ipconv) { + // Convert IP to match subnet IP kind + ipconv = subnetkind === 'ipv4' + ? ip.toIPv4Address() + : ip.toIPv4MappedAddress() + } + + trusted = ipconv + } + + if (trusted.match(subnetip, subnetrange)) { + return true + } + } + + return false + } +} + +/** + * Compile trust function for single subnet. + * + * @param {Object} subnet + * @private + */ + +function trustSingle (subnet) { + var subnetip = subnet[0] + var subnetkind = subnetip.kind() + var subnetisipv4 = subnetkind === 'ipv4' + var subnetrange = subnet[1] + + return function trust (addr) { + if (!isip(addr)) return false + + var ip = parseip(addr) + var kind = ip.kind() + + if (kind !== subnetkind) { + if (subnetisipv4 && !ip.isIPv4MappedAddress()) { + // Incompatible IP addresses + return false + } + + // Convert IP to match subnet IP kind + ip = subnetisipv4 + ? ip.toIPv4Address() + : ip.toIPv4MappedAddress() + } + + return ip.match(subnetip, subnetrange) + } +} diff --git a/node_modules/proxy-addr/package.json b/node_modules/proxy-addr/package.json new file mode 100644 index 0000000..24ba8f7 --- /dev/null +++ b/node_modules/proxy-addr/package.json @@ -0,0 +1,47 @@ +{ + "name": "proxy-addr", + "description": "Determine address of proxied request", + "version": "2.0.7", + "author": "Douglas Christopher Wilson ", + "license": "MIT", + "keywords": [ + "ip", + "proxy", + "x-forwarded-for" + ], + "repository": "jshttp/proxy-addr", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "devDependencies": { + "benchmark": "2.1.4", + "beautify-benchmark": "0.2.4", + "deep-equal": "1.0.1", + "eslint": "7.26.0", + "eslint-config-standard": "14.1.1", + "eslint-plugin-import": "2.23.4", + "eslint-plugin-markdown": "2.2.0", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-promise": "4.3.1", + "eslint-plugin-standard": "4.1.0", + "mocha": "8.4.0", + "nyc": "15.1.0" + }, + "files": [ + "LICENSE", + "HISTORY.md", + "README.md", + "index.js" + ], + "engines": { + "node": ">= 0.10" + }, + "scripts": { + "bench": "node benchmark/index.js", + "lint": "eslint .", + "test": "mocha --reporter spec --bail --check-leaks test/", + "test-ci": "nyc --reporter=lcov --reporter=text npm test", + "test-cov": "nyc --reporter=html --reporter=text npm test" + } +} diff --git a/node_modules/qs/.editorconfig b/node_modules/qs/.editorconfig new file mode 100644 index 0000000..dd5a8d8 --- /dev/null +++ b/node_modules/qs/.editorconfig @@ -0,0 +1,46 @@ +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +max_line_length = 180 +quote_type = single + +[test/*] +max_line_length = off + +[LICENSE.md] +indent_size = off + +[*.md] +max_line_length = off + +[*.json] +max_line_length = off + +[Makefile] +max_line_length = off + +[CHANGELOG.md] +indent_style = space +indent_size = 2 + +[LICENSE] +indent_size = 2 +max_line_length = off + +[coverage/**/*] +indent_size = off +indent_style = off +indent = off +max_line_length = off + +[.nycrc] +indent_style = tab + +[tea.yaml] +indent_size = 2 diff --git a/node_modules/qs/.github/FUNDING.yml b/node_modules/qs/.github/FUNDING.yml new file mode 100644 index 0000000..0355f4f --- /dev/null +++ b/node_modules/qs/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [ljharb] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: npm/qs +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with a single custom sponsorship URL diff --git a/node_modules/qs/.github/SECURITY.md b/node_modules/qs/.github/SECURITY.md new file mode 100644 index 0000000..b499cb6 --- /dev/null +++ b/node_modules/qs/.github/SECURITY.md @@ -0,0 +1,11 @@ +# Security + +Please file a private vulnerability report via GitHub, email [@ljharb](https://github.com/ljharb), or see https://tidelift.com/security if you have a potential security vulnerability to report. + +## Incident Response Plan + +Please see our [Incident Response Plan](https://github.com/ljharb/.github/blob/main/INCIDENT_RESPONSE_PLAN.md). + +## Threat Model + +Please see [THREAT_MODEL.md](./THREAT_MODEL.md). diff --git a/node_modules/qs/.github/THREAT_MODEL.md b/node_modules/qs/.github/THREAT_MODEL.md new file mode 100644 index 0000000..7e6fef1 --- /dev/null +++ b/node_modules/qs/.github/THREAT_MODEL.md @@ -0,0 +1,78 @@ +## Threat Model for qs (querystring parsing library) + +### 1. Library Overview + +- **Library Name:** qs +- **Brief Description:** A JavaScript library for parsing and stringifying URL query strings, supporting nested objects and arrays. It is widely used in Node.js and web applications for processing query parameters[2][6][8]. +- **Key Public APIs/Functions:** `qs.parse()`, `qs.stringify()` + +### 2. Define Scope + +This threat model focuses on the core parsing and stringifying functionality, specifically the handling of nested objects and arrays, option validation, and cycle management in stringification. + +### 3. Conceptual System Diagram + +``` +Caller Application → qs.parse(input, options) → Parsing Engine → Output Object + │ + └→ Options Handling + +Caller Application → qs.stringify(obj, options) → Stringifying Engine → Output String + │ + └→ Options Handling + └→ Cycle Tracking +``` + +**Trust Boundaries:** +- **Input string (parse):** May come from untrusted sources (e.g., user input, network requests) +- **Input object (stringify):** May contain cycles, which can lead to infinite loops during stringification +- **Options:** Provided by the caller +- **Cycle Tracking:** Used only during stringification to detect and handle circular references + +### 4. Identify Assets + +- **Integrity of parsed output:** Prevent malicious manipulation of the output object structure, especially ensuring builtins/globals are not modified as a result of parse[3][4][8]. +- **Confidentiality of processed data:** Avoid leaking sensitive information through errors or output. +- **Availability/performance for host application:** Prevent crashes or resource exhaustion in the consuming application. +- **Security of host application:** Prevent the library from being a vector for attacks (e.g., prototype pollution, DoS). +- **Reputation of library:** Maintain trust by avoiding supply chain attacks and vulnerabilities[1]. + +### 5. Identify Threats + +| Component / API / Interaction | S | T | R | I | D | E | +|---------------------------------------|----|----|----|----|----|----| +| Public API Call (`parse`) | – | ✓ | – | ✓ | ✓ | ✓ | +| Public API Call (`stringify`) | – | ✓ | – | ✓ | ✓ | – | +| Options Handling | ✓ | ✓ | – | ✓ | – | ✓ | +| Dependency Interaction | – | – | – | – | ✓ | – | + +**Key Threats:** +- **Tampering:** Malicious input can, if not prevented, alter parsed output (e.g., prototype pollution via `__proto__`, modification of builtins/globals)[3][4][8]. +- **Information Disclosure:** Error messages may expose internal details or sensitive data. +- **Denial of Service:** Large or malformed input can exhaust memory or CPU. +- **Elevation of Privilege:** Prototype pollution can lead to unintended privilege escalation in the host application[3][4][8]. + +### 6. Mitigation/Countermeasures + +| Threat Identified | Proposed Mitigation | +|---------------------------------------------------|---------------------| +| Tampering (malicious input, prototype pollution) | Strict input validation; keep `allowPrototypes: false` by default; use `plainObjects` for output; ensure builtins/globals are never modified by parse[4][8]. | +| Information Disclosure (error messages) | Generic error messages without stack traces or internal paths. | +| Denial of Service (memory/CPU exhaustion) | Enforce `arrayLimit` and `parameterLimit` with safe defaults; enable `throwOnLimitExceeded`; limit nesting depth[7]. | +| Elevation of Privilege (prototype pollution) | Keep `allowPrototypes: false`; validate options against allowlist; use `plainObjects` to avoid prototype pollution[4][8]. | + +### 7. Risk Ranking + +- **High:** Denial of Service via array parsing or malformed input (historical vulnerability) +- **Medium:** Prototype pollution via options or input (if `allowPrototypes` enabled) +- **Low:** Information disclosure in errors + +### 8. Next Steps & Review + +1. **Audit option validation logic.** +2. **Add depth limiting to nested parsing and stringification.** +3. **Implement fuzz testing for parser and stringifier edge cases.** +4. **Regularly review dependencies for vulnerabilities.** +5. **Keep documentation and threat model up to date.** +6. **Ensure builtins/globals are never modified as a result of parse.** +7. **Support round-trip consistency between parse and stringify as a non-security goal, with the right options[5][9].** diff --git a/node_modules/qs/.nycrc b/node_modules/qs/.nycrc new file mode 100644 index 0000000..1d57cab --- /dev/null +++ b/node_modules/qs/.nycrc @@ -0,0 +1,13 @@ +{ + "all": true, + "check-coverage": false, + "reporter": ["text-summary", "text", "html", "json"], + "lines": 86, + "statements": 85.93, + "functions": 82.43, + "branches": 76.06, + "exclude": [ + "coverage", + "dist" + ] +} diff --git a/node_modules/qs/CHANGELOG.md b/node_modules/qs/CHANGELOG.md new file mode 100644 index 0000000..0d304ea --- /dev/null +++ b/node_modules/qs/CHANGELOG.md @@ -0,0 +1,644 @@ +## **6.14.2** +- [Fix] `parse`: mark overflow objects for indexed notation exceeding `arrayLimit` (#546) +- [Fix] `arrayLimit` means max count, not max index, in `combine`/`merge`/`parseArrayValue` +- [Fix] `parse`: throw on `arrayLimit` exceeded with indexed notation when `throwOnLimitExceeded` is true (#529) +- [Fix] `parse`: enforce `arrayLimit` on `comma`-parsed values +- [Fix] `parse`: fix error message to reflect arrayLimit as max index; remove extraneous comments (#545) +- [Robustness] avoid `.push`, use `void` +- [readme] document that `addQueryPrefix` does not add `?` to empty output (#418) +- [readme] clarify `parseArrays` and `arrayLimit` documentation (#543) +- [readme] replace runkit CI badge with shields.io check-runs badge +- [meta] fix changelog typo (`arrayLength` → `arrayLimit`) +- [actions] fix rebase workflow permissions + +## **6.14.1** +- [Fix] ensure `arrayLimit` applies to `[]` notation as well +- [Fix] `parse`: when a custom decoder returns `null` for a key, ignore that key +- [Refactor] `parse`: extract key segment splitting helper +- [meta] add threat model +- [actions] add workflow permissions +- [Tests] `stringify`: increase coverage +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `npmignore`, `es-value-fixtures`, `for-each`, `object-inspect` + +## **6.14.0** +- [New] `parse`: add `throwOnParameterLimitExceeded` option (#517) +- [Refactor] `parse`: use `utils.combine` more +- [patch] `parse`: add explicit `throwOnLimitExceeded` default +- [actions] use shared action; re-add finishers +- [meta] Fix changelog formatting bug +- [Deps] update `side-channel` +- [Dev Deps] update `es-value-fixtures`, `has-bigints`, `has-proto`, `has-symbols` +- [Tests] increase coverage + +## **6.13.1** +- [Fix] `stringify`: avoid a crash when a `filter` key is `null` +- [Fix] `utils.merge`: functions should not be stringified into keys +- [Fix] `parse`: avoid a crash with interpretNumericEntities: true, comma: true, and iso charset +- [Fix] `stringify`: ensure a non-string `filter` does not crash +- [Refactor] use `__proto__` syntax instead of `Object.create` for null objects +- [Refactor] misc cleanup +- [Tests] `utils.merge`: add some coverage +- [Tests] fix a test case +- [actions] split out node 10-20, and 20+ +- [Dev Deps] update `es-value-fixtures`, `mock-property`, `object-inspect`, `tape` + +## **6.13.0** +- [New] `parse`: add `strictDepth` option (#511) +- [Tests] use `npm audit` instead of `aud` + +## **6.12.3** +- [Fix] `parse`: properly account for `strictNullHandling` when `allowEmptyArrays` +- [meta] fix changelog indentation + +## **6.12.2** +- [Fix] `parse`: parse encoded square brackets (#506) +- [readme] add CII best practices badge + +## **6.12.1** +- [Fix] `parse`: Disable `decodeDotInKeys` by default to restore previous behavior (#501) +- [Performance] `utils`: Optimize performance under large data volumes, reduce memory usage, and speed up processing (#502) +- [Refactor] `utils`: use `+=` +- [Tests] increase coverage + +## **6.12.0** + +- [New] `parse`/`stringify`: add `decodeDotInKeys`/`encodeDotKeys` options (#488) +- [New] `parse`: add `duplicates` option +- [New] `parse`/`stringify`: add `allowEmptyArrays` option to allow [] in object values (#487) +- [Refactor] `parse`/`stringify`: move allowDots config logic to its own variable +- [Refactor] `stringify`: move option-handling code into `normalizeStringifyOptions` +- [readme] update readme, add logos (#484) +- [readme] `stringify`: clarify default `arrayFormat` behavior +- [readme] fix line wrapping +- [readme] remove dead badges +- [Deps] update `side-channel` +- [meta] make the dist build 50% smaller +- [meta] add `sideEffects` flag +- [meta] run build in prepack, not prepublish +- [Tests] `parse`: remove useless tests; add coverage +- [Tests] `stringify`: increase coverage +- [Tests] use `mock-property` +- [Tests] `stringify`: improve coverage +- [Dev Deps] update `@ljharb/eslint-config `, `aud`, `has-override-mistake`, `has-property-descriptors`, `mock-property`, `npmignore`, `object-inspect`, `tape` +- [Dev Deps] pin `glob`, since v10.3.8+ requires a broken `jackspeak` +- [Dev Deps] pin `jackspeak` since 2.1.2+ depends on npm aliases, which kill the install process in npm < 6 + +## **6.11.2** +- [Fix] `parse`: Fix parsing when the global Object prototype is frozen (#473) +- [Tests] add passing test cases with empty keys (#473) + +## **6.11.1** +- [Fix] `stringify`: encode comma values more consistently (#463) +- [readme] add usage of `filter` option for injecting custom serialization, i.e. of custom types (#447) +- [meta] remove extraneous code backticks (#457) +- [meta] fix changelog markdown +- [actions] update checkout action +- [actions] restrict action permissions +- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `object-inspect`, `tape` + +## **6.11.0** +- [New] [Fix] `stringify`: revert 0e903c0; add `commaRoundTrip` option (#442) +- [readme] fix version badge + +## **6.10.5** +- [Fix] `stringify`: with `arrayFormat: comma`, properly include an explicit `[]` on a single-item array (#434) + +## **6.10.4** +- [Fix] `stringify`: with `arrayFormat: comma`, include an explicit `[]` on a single-item array (#441) +- [meta] use `npmignore` to autogenerate an npmignore file +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `has-symbol`, `object-inspect`, `tape` + +## **6.10.3** +- [Fix] `parse`: ignore `__proto__` keys (#428) +- [Robustness] `stringify`: avoid relying on a global `undefined` (#427) +- [actions] reuse common workflows +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `object-inspect`, `tape` + +## **6.10.2** +- [Fix] `stringify`: actually fix cyclic references (#426) +- [Fix] `stringify`: avoid encoding arrayformat comma when `encodeValuesOnly = true` (#424) +- [readme] remove travis badge; add github actions/codecov badges; update URLs +- [Docs] add note and links for coercing primitive values (#408) +- [actions] update codecov uploader +- [actions] update workflows +- [Tests] clean up stringify tests slightly +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `object-inspect`, `safe-publish-latest`, `tape` + +## **6.10.1** +- [Fix] `stringify`: avoid exception on repeated object values (#402) + +## **6.10.0** +- [New] `stringify`: throw on cycles, instead of an infinite loop (#395, #394, #393) +- [New] `parse`: add `allowSparse` option for collapsing arrays with missing indices (#312) +- [meta] fix README.md (#399) +- [meta] only run `npm run dist` in publish, not install +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `has-symbols`, `tape` +- [Tests] fix tests on node v0.6 +- [Tests] use `ljharb/actions/node/install` instead of `ljharb/actions/node/run` +- [Tests] Revert "[meta] ignore eclint transitive audit warning" + +## **6.9.7** +- [Fix] `parse`: ignore `__proto__` keys (#428) +- [Fix] `stringify`: avoid encoding arrayformat comma when `encodeValuesOnly = true` (#424) +- [Robustness] `stringify`: avoid relying on a global `undefined` (#427) +- [readme] remove travis badge; add github actions/codecov badges; update URLs +- [Docs] add note and links for coercing primitive values (#408) +- [Tests] clean up stringify tests slightly +- [meta] fix README.md (#399) +- Revert "[meta] ignore eclint transitive audit warning" +- [actions] backport actions from main +- [Dev Deps] backport updates from main + +## **6.9.6** +- [Fix] restore `dist` dir; mistakenly removed in d4f6c32 + +## **6.9.5** +- [Fix] `stringify`: do not encode parens for RFC1738 +- [Fix] `stringify`: fix arrayFormat comma with empty array/objects (#350) +- [Refactor] `format`: remove `util.assign` call +- [meta] add "Allow Edits" workflow; update rebase workflow +- [actions] switch Automatic Rebase workflow to `pull_request_target` event +- [Tests] `stringify`: add tests for #378 +- [Tests] migrate tests to Github Actions +- [Tests] run `nyc` on all tests; use `tape` runner +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `browserify`, `mkdirp`, `object-inspect`, `tape`; add `aud` + +## **6.9.4** +- [Fix] `stringify`: when `arrayFormat` is `comma`, respect `serializeDate` (#364) +- [Refactor] `stringify`: reduce branching (part of #350) +- [Refactor] move `maybeMap` to `utils` +- [Dev Deps] update `browserify`, `tape` + +## **6.9.3** +- [Fix] proper comma parsing of URL-encoded commas (#361) +- [Fix] parses comma delimited array while having percent-encoded comma treated as normal text (#336) + +## **6.9.2** +- [Fix] `parse`: Fix parsing array from object with `comma` true (#359) +- [Fix] `parse`: throw a TypeError instead of an Error for bad charset (#349) +- [meta] ignore eclint transitive audit warning +- [meta] fix indentation in package.json +- [meta] add tidelift marketing copy +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `object-inspect`, `has-symbols`, `tape`, `mkdirp`, `iconv-lite` +- [actions] add automatic rebasing / merge commit blocking + +## **6.9.1** +- [Fix] `parse`: with comma true, handle field that holds an array of arrays (#335) +- [Fix] `parse`: with comma true, do not split non-string values (#334) +- [meta] add `funding` field +- [Dev Deps] update `eslint`, `@ljharb/eslint-config` +- [Tests] use shared travis-ci config + +## **6.9.0** +- [New] `parse`/`stringify`: Pass extra key/value argument to `decoder` (#333) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `evalmd` +- [Tests] `parse`: add passing `arrayFormat` tests +- [Tests] add `posttest` using `npx aud` to run `npm audit` without a lockfile +- [Tests] up to `node` `v12.10`, `v11.15`, `v10.16`, `v8.16` +- [Tests] `Buffer.from` in node v5.0-v5.9 and v4.0-v4.4 requires a TypedArray + +## **6.8.3** +- [Fix] `parse`: ignore `__proto__` keys (#428) +- [Robustness] `stringify`: avoid relying on a global `undefined` (#427) +- [Fix] `stringify`: avoid encoding arrayformat comma when `encodeValuesOnly = true` (#424) +- [readme] remove travis badge; add github actions/codecov badges; update URLs +- [Tests] clean up stringify tests slightly +- [Docs] add note and links for coercing primitive values (#408) +- [meta] fix README.md (#399) +- [actions] backport actions from main +- [Dev Deps] backport updates from main +- [Refactor] `stringify`: reduce branching +- [meta] do not publish workflow files + +## **6.8.2** +- [Fix] proper comma parsing of URL-encoded commas (#361) +- [Fix] parses comma delimited array while having percent-encoded comma treated as normal text (#336) + +## **6.8.1** +- [Fix] `parse`: Fix parsing array from object with `comma` true (#359) +- [Fix] `parse`: throw a TypeError instead of an Error for bad charset (#349) +- [Fix] `parse`: with comma true, handle field that holds an array of arrays (#335) +- [fix] `parse`: with comma true, do not split non-string values (#334) +- [meta] add tidelift marketing copy +- [meta] add `funding` field +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`, `safe-publish-latest`, `evalmd`, `has-symbols`, `iconv-lite`, `mkdirp`, `object-inspect` +- [Tests] `parse`: add passing `arrayFormat` tests +- [Tests] use shared travis-ci configs +- [Tests] `Buffer.from` in node v5.0-v5.9 and v4.0-v4.4 requires a TypedArray +- [actions] add automatic rebasing / merge commit blocking + +## **6.8.0** +- [New] add `depth=false` to preserve the original key; [Fix] `depth=0` should preserve the original key (#326) +- [New] [Fix] stringify symbols and bigints +- [Fix] ensure node 0.12 can stringify Symbols +- [Fix] fix for an impossible situation: when the formatter is called with a non-string value +- [Refactor] `formats`: tiny bit of cleanup. +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `browserify`, `safe-publish-latest`, `iconv-lite`, `tape` +- [Tests] add tests for `depth=0` and `depth=false` behavior, both current and intuitive/intended (#326) +- [Tests] use `eclint` instead of `editorconfig-tools` +- [docs] readme: add security note +- [meta] add github sponsorship +- [meta] add FUNDING.yml +- [meta] Clean up license text so it’s properly detected as BSD-3-Clause + +## **6.7.3** +- [Fix] `parse`: ignore `__proto__` keys (#428) +- [Fix] `stringify`: avoid encoding arrayformat comma when `encodeValuesOnly = true` (#424) +- [Robustness] `stringify`: avoid relying on a global `undefined` (#427) +- [readme] remove travis badge; add github actions/codecov badges; update URLs +- [Docs] add note and links for coercing primitive values (#408) +- [meta] fix README.md (#399) +- [meta] do not publish workflow files +- [actions] backport actions from main +- [Dev Deps] backport updates from main +- [Tests] use `nyc` for coverage +- [Tests] clean up stringify tests slightly + +## **6.7.2** +- [Fix] proper comma parsing of URL-encoded commas (#361) +- [Fix] parses comma delimited array while having percent-encoded comma treated as normal text (#336) + +## **6.7.1** +- [Fix] `parse`: Fix parsing array from object with `comma` true (#359) +- [Fix] `parse`: with comma true, handle field that holds an array of arrays (#335) +- [fix] `parse`: with comma true, do not split non-string values (#334) +- [Fix] `parse`: throw a TypeError instead of an Error for bad charset (#349) +- [Fix] fix for an impossible situation: when the formatter is called with a non-string value +- [Refactor] `formats`: tiny bit of cleanup. +- readme: add security note +- [meta] add tidelift marketing copy +- [meta] add `funding` field +- [meta] add FUNDING.yml +- [meta] Clean up license text so it’s properly detected as BSD-3-Clause +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`, `safe-publish-latest`, `evalmd`, `iconv-lite`, `mkdirp`, `object-inspect`, `browserify` +- [Tests] `parse`: add passing `arrayFormat` tests +- [Tests] use shared travis-ci configs +- [Tests] `Buffer.from` in node v5.0-v5.9 and v4.0-v4.4 requires a TypedArray +- [Tests] add tests for `depth=0` and `depth=false` behavior, both current and intuitive/intended +- [Tests] use `eclint` instead of `editorconfig-tools` +- [actions] add automatic rebasing / merge commit blocking + +## **6.7.0** +- [New] `stringify`/`parse`: add `comma` as an `arrayFormat` option (#276, #219) +- [Fix] correctly parse nested arrays (#212) +- [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source, also with an array source +- [Robustness] `stringify`: cache `Object.prototype.hasOwnProperty` +- [Refactor] `utils`: `isBuffer`: small tweak; add tests +- [Refactor] use cached `Array.isArray` +- [Refactor] `parse`/`stringify`: make a function to normalize the options +- [Refactor] `utils`: reduce observable [[Get]]s +- [Refactor] `stringify`/`utils`: cache `Array.isArray` +- [Tests] always use `String(x)` over `x.toString()` +- [Tests] fix Buffer tests to work in node < 4.5 and node < 5.10 +- [Tests] temporarily allow coverage to fail + +## **6.6.1** +- [Fix] `parse`: ignore `__proto__` keys (#428) +- [Fix] fix for an impossible situation: when the formatter is called with a non-string value +- [Fix] `utils.merge`: avoid a crash with a null target and an array source +- [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source +- [Fix] correctly parse nested arrays +- [Robustness] `stringify`: avoid relying on a global `undefined` (#427) +- [Robustness] `stringify`: cache `Object.prototype.hasOwnProperty` +- [Refactor] `formats`: tiny bit of cleanup. +- [Refactor] `utils`: `isBuffer`: small tweak; add tests +- [Refactor]: `stringify`/`utils`: cache `Array.isArray` +- [Refactor] `utils`: reduce observable [[Get]]s +- [Refactor] use cached `Array.isArray` +- [Refactor] `parse`/`stringify`: make a function to normalize the options +- [readme] remove travis badge; add github actions/codecov badges; update URLs +- [Docs] Clarify the need for "arrayLimit" option +- [meta] fix README.md (#399) +- [meta] do not publish workflow files +- [meta] Clean up license text so it’s properly detected as BSD-3-Clause +- [meta] add FUNDING.yml +- [meta] Fixes typo in CHANGELOG.md +- [actions] backport actions from main +- [Tests] fix Buffer tests to work in node < 4.5 and node < 5.10 +- [Tests] always use `String(x)` over `x.toString()` +- [Dev Deps] backport from main + +## **6.6.0** +- [New] Add support for iso-8859-1, utf8 "sentinel" and numeric entities (#268) +- [New] move two-value combine to a `utils` function (#189) +- [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279) +- [Fix] when `parseArrays` is false, properly handle keys ending in `[]` (#260) +- [Fix] `stringify`: do not crash in an obscure combo of `interpretNumericEntities`, a bad custom `decoder`, & `iso-8859-1` +- [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided +- [refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269) +- [Refactor] `parse`: only need to reassign the var once +- [Refactor] `parse`/`stringify`: clean up `charset` options checking; fix defaults +- [Refactor] add missing defaults +- [Refactor] `parse`: one less `concat` call +- [Refactor] `utils`: `compactQueue`: make it explicitly side-effecting +- [Dev Deps] update `browserify`, `eslint`, `@ljharb/eslint-config`, `iconv-lite`, `safe-publish-latest`, `tape` +- [Tests] up to `node` `v10.10`, `v9.11`, `v8.12`, `v6.14`, `v4.9`; pin included builds to LTS + +## **6.5.3** +- [Fix] `parse`: ignore `__proto__` keys (#428) +- [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source +- [Fix] correctly parse nested arrays +- [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279) +- [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided +- [Fix] when `parseArrays` is false, properly handle keys ending in `[]` +- [Fix] fix for an impossible situation: when the formatter is called with a non-string value +- [Fix] `utils.merge`: avoid a crash with a null target and an array source +- [Refactor] `utils`: reduce observable [[Get]]s +- [Refactor] use cached `Array.isArray` +- [Refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269) +- [Refactor] `parse`: only need to reassign the var once +- [Robustness] `stringify`: avoid relying on a global `undefined` (#427) +- [readme] remove travis badge; add github actions/codecov badges; update URLs +- [Docs] Clean up license text so it’s properly detected as BSD-3-Clause +- [Docs] Clarify the need for "arrayLimit" option +- [meta] fix README.md (#399) +- [meta] add FUNDING.yml +- [actions] backport actions from main +- [Tests] always use `String(x)` over `x.toString()` +- [Tests] remove nonexistent tape option +- [Dev Deps] backport from main + +## **6.5.2** +- [Fix] use `safer-buffer` instead of `Buffer` constructor +- [Refactor] utils: `module.exports` one thing, instead of mutating `exports` (#230) +- [Dev Deps] update `browserify`, `eslint`, `iconv-lite`, `safer-buffer`, `tape`, `browserify` + +## **6.5.1** +- [Fix] Fix parsing & compacting very deep objects (#224) +- [Refactor] name utils functions +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` +- [Tests] up to `node` `v8.4`; use `nvm install-latest-npm` so newer npm doesn’t break older node +- [Tests] Use precise dist for Node.js 0.6 runtime (#225) +- [Tests] make 0.6 required, now that it’s passing +- [Tests] on `node` `v8.2`; fix npm on node 0.6 + +## **6.5.0** +- [New] add `utils.assign` +- [New] pass default encoder/decoder to custom encoder/decoder functions (#206) +- [New] `parse`/`stringify`: add `ignoreQueryPrefix`/`addQueryPrefix` options, respectively (#213) +- [Fix] Handle stringifying empty objects with addQueryPrefix (#217) +- [Fix] do not mutate `options` argument (#207) +- [Refactor] `parse`: cache index to reuse in else statement (#182) +- [Docs] add various badges to readme (#208) +- [Dev Deps] update `eslint`, `browserify`, `iconv-lite`, `tape` +- [Tests] up to `node` `v8.1`, `v7.10`, `v6.11`; npm v4.6 breaks on node < v1; npm v5+ breaks on node < v4 +- [Tests] add `editorconfig-tools` + +## **6.4.1** +- [Fix] `parse`: ignore `__proto__` keys (#428) +- [Fix] fix for an impossible situation: when the formatter is called with a non-string value +- [Fix] use `safer-buffer` instead of `Buffer` constructor +- [Fix] `utils.merge`: avoid a crash with a null target and an array source +- [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source +- [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279) +- [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided +- [Fix] when `parseArrays` is false, properly handle keys ending in `[]` +- [Robustness] `stringify`: avoid relying on a global `undefined` (#427) +- [Refactor] use cached `Array.isArray` +- [Refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269) +- [readme] remove travis badge; add github actions/codecov badges; update URLs +- [Docs] Clarify the need for "arrayLimit" option +- [meta] fix README.md (#399) +- [meta] Clean up license text so it’s properly detected as BSD-3-Clause +- [meta] add FUNDING.yml +- [actions] backport actions from main +- [Tests] remove nonexistent tape option +- [Dev Deps] backport from main + +## **6.4.0** +- [New] `qs.stringify`: add `encodeValuesOnly` option +- [Fix] follow `allowPrototypes` option during merge (#201, #201) +- [Fix] support keys starting with brackets (#202, #200) +- [Fix] chmod a-x +- [Dev Deps] update `eslint` +- [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds +- [eslint] reduce warnings + +## **6.3.3** +- [Fix] `parse`: ignore `__proto__` keys (#428) +- [Fix] fix for an impossible situation: when the formatter is called with a non-string value +- [Fix] `utils.merge`: avoid a crash with a null target and an array source +- [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source +- [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279) +- [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided +- [Fix] when `parseArrays` is false, properly handle keys ending in `[]` +- [Robustness] `stringify`: avoid relying on a global `undefined` (#427) +- [Refactor] use cached `Array.isArray` +- [Refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269) +- [Docs] Clarify the need for "arrayLimit" option +- [meta] fix README.md (#399) +- [meta] Clean up license text so it’s properly detected as BSD-3-Clause +- [meta] add FUNDING.yml +- [actions] backport actions from main +- [Tests] use `safer-buffer` instead of `Buffer` constructor +- [Tests] remove nonexistent tape option +- [Dev Deps] backport from main + +## **6.3.2** +- [Fix] follow `allowPrototypes` option during merge (#201, #200) +- [Dev Deps] update `eslint` +- [Fix] chmod a-x +- [Fix] support keys starting with brackets (#202, #200) +- [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds + +## **6.3.1** +- [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties (thanks, @snyk!) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `browserify`, `iconv-lite`, `qs-iconv`, `tape` +- [Tests] on all node minors; improve test matrix +- [Docs] document stringify option `allowDots` (#195) +- [Docs] add empty object and array values example (#195) +- [Docs] Fix minor inconsistency/typo (#192) +- [Docs] document stringify option `sort` (#191) +- [Refactor] `stringify`: throw faster with an invalid encoder +- [Refactor] remove unnecessary escapes (#184) +- Remove contributing.md, since `qs` is no longer part of `hapi` (#183) + +## **6.3.0** +- [New] Add support for RFC 1738 (#174, #173) +- [New] `stringify`: Add `serializeDate` option to customize Date serialization (#159) +- [Fix] ensure `utils.merge` handles merging two arrays +- [Refactor] only constructors should be capitalized +- [Refactor] capitalized var names are for constructors only +- [Refactor] avoid using a sparse array +- [Robustness] `formats`: cache `String#replace` +- [Dev Deps] update `browserify`, `eslint`, `@ljharb/eslint-config`; add `safe-publish-latest` +- [Tests] up to `node` `v6.8`, `v4.6`; improve test matrix +- [Tests] flesh out arrayLimit/arrayFormat tests (#107) +- [Tests] skip Object.create tests when null objects are not available +- [Tests] Turn on eslint for test files (#175) + +## **6.2.4** +- [Fix] `parse`: ignore `__proto__` keys (#428) +- [Fix] `utils.merge`: avoid a crash with a null target and an array source +- [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source +- [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided +- [Fix] when `parseArrays` is false, properly handle keys ending in `[]` +- [Robustness] `stringify`: avoid relying on a global `undefined` (#427) +- [Refactor] use cached `Array.isArray` +- [Docs] Clarify the need for "arrayLimit" option +- [meta] fix README.md (#399) +- [meta] Clean up license text so it’s properly detected as BSD-3-Clause +- [meta] add FUNDING.yml +- [actions] backport actions from main +- [Tests] use `safer-buffer` instead of `Buffer` constructor +- [Tests] remove nonexistent tape option +- [Dev Deps] backport from main + +## **6.2.3** +- [Fix] follow `allowPrototypes` option during merge (#201, #200) +- [Fix] chmod a-x +- [Fix] support keys starting with brackets (#202, #200) +- [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds + +## **6.2.2** +- [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties + +## **6.2.1** +- [Fix] ensure `key[]=x&key[]&key[]=y` results in 3, not 2, values +- [Refactor] Be explicit and use `Object.prototype.hasOwnProperty.call` +- [Tests] remove `parallelshell` since it does not reliably report failures +- [Tests] up to `node` `v6.3`, `v5.12` +- [Dev Deps] update `tape`, `eslint`, `@ljharb/eslint-config`, `qs-iconv` + +## [**6.2.0**](https://github.com/ljharb/qs/issues?milestone=36&state=closed) +- [New] pass Buffers to the encoder/decoder directly (#161) +- [New] add "encoder" and "decoder" options, for custom param encoding/decoding (#160) +- [Fix] fix compacting of nested sparse arrays (#150) + +## **6.1.2** +- [Fix] follow `allowPrototypes` option during merge (#201, #200) +- [Fix] chmod a-x +- [Fix] support keys starting with brackets (#202, #200) +- [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds + +## **6.1.1** +- [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties + +## [**6.1.0**](https://github.com/ljharb/qs/issues?milestone=35&state=closed) +- [New] allowDots option for `stringify` (#151) +- [Fix] "sort" option should work at a depth of 3 or more (#151) +- [Fix] Restore `dist` directory; will be removed in v7 (#148) + +## **6.0.4** +- [Fix] follow `allowPrototypes` option during merge (#201, #200) +- [Fix] chmod a-x +- [Fix] support keys starting with brackets (#202, #200) +- [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds + +## **6.0.3** +- [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties +- [Fix] Restore `dist` directory; will be removed in v7 (#148) + +## [**6.0.2**](https://github.com/ljharb/qs/issues?milestone=33&state=closed) +- Revert ES6 requirement and restore support for node down to v0.8. + +## [**6.0.1**](https://github.com/ljharb/qs/issues?milestone=32&state=closed) +- [**#127**](https://github.com/ljharb/qs/pull/127) Fix engines definition in package.json + +## [**6.0.0**](https://github.com/ljharb/qs/issues?milestone=31&state=closed) +- [**#124**](https://github.com/ljharb/qs/issues/124) Use ES6 and drop support for node < v4 + +## **5.2.1** +- [Fix] ensure `key[]=x&key[]&key[]=y` results in 3, not 2, values + +## [**5.2.0**](https://github.com/ljharb/qs/issues?milestone=30&state=closed) +- [**#64**](https://github.com/ljharb/qs/issues/64) Add option to sort object keys in the query string + +## [**5.1.0**](https://github.com/ljharb/qs/issues?milestone=29&state=closed) +- [**#117**](https://github.com/ljharb/qs/issues/117) make URI encoding stringified results optional +- [**#106**](https://github.com/ljharb/qs/issues/106) Add flag `skipNulls` to optionally skip null values in stringify + +## [**5.0.0**](https://github.com/ljharb/qs/issues?milestone=28&state=closed) +- [**#114**](https://github.com/ljharb/qs/issues/114) default allowDots to false +- [**#100**](https://github.com/ljharb/qs/issues/100) include dist to npm + +## [**4.0.0**](https://github.com/ljharb/qs/issues?milestone=26&state=closed) +- [**#98**](https://github.com/ljharb/qs/issues/98) make returning plain objects and allowing prototype overwriting properties optional + +## [**3.1.0**](https://github.com/ljharb/qs/issues?milestone=24&state=closed) +- [**#89**](https://github.com/ljharb/qs/issues/89) Add option to disable "Transform dot notation to bracket notation" + +## [**3.0.0**](https://github.com/ljharb/qs/issues?milestone=23&state=closed) +- [**#80**](https://github.com/ljharb/qs/issues/80) qs.parse silently drops properties +- [**#77**](https://github.com/ljharb/qs/issues/77) Perf boost +- [**#60**](https://github.com/ljharb/qs/issues/60) Add explicit option to disable array parsing +- [**#74**](https://github.com/ljharb/qs/issues/74) Bad parse when turning array into object +- [**#81**](https://github.com/ljharb/qs/issues/81) Add a `filter` option +- [**#68**](https://github.com/ljharb/qs/issues/68) Fixed issue with recursion and passing strings into objects. +- [**#66**](https://github.com/ljharb/qs/issues/66) Add mixed array and object dot notation support Closes: #47 +- [**#76**](https://github.com/ljharb/qs/issues/76) RFC 3986 +- [**#85**](https://github.com/ljharb/qs/issues/85) No equal sign +- [**#84**](https://github.com/ljharb/qs/issues/84) update license attribute + +## [**2.4.1**](https://github.com/ljharb/qs/issues?milestone=20&state=closed) +- [**#73**](https://github.com/ljharb/qs/issues/73) Property 'hasOwnProperty' of object # is not a function + +## [**2.4.0**](https://github.com/ljharb/qs/issues?milestone=19&state=closed) +- [**#70**](https://github.com/ljharb/qs/issues/70) Add arrayFormat option + +## [**2.3.3**](https://github.com/ljharb/qs/issues?milestone=18&state=closed) +- [**#59**](https://github.com/ljharb/qs/issues/59) make sure array indexes are >= 0, closes #57 +- [**#58**](https://github.com/ljharb/qs/issues/58) make qs usable for browser loader + +## [**2.3.2**](https://github.com/ljharb/qs/issues?milestone=17&state=closed) +- [**#55**](https://github.com/ljharb/qs/issues/55) allow merging a string into an object + +## [**2.3.1**](https://github.com/ljharb/qs/issues?milestone=16&state=closed) +- [**#52**](https://github.com/ljharb/qs/issues/52) Return "undefined" and "false" instead of throwing "TypeError". + +## [**2.3.0**](https://github.com/ljharb/qs/issues?milestone=15&state=closed) +- [**#50**](https://github.com/ljharb/qs/issues/50) add option to omit array indices, closes #46 + +## [**2.2.5**](https://github.com/ljharb/qs/issues?milestone=14&state=closed) +- [**#39**](https://github.com/ljharb/qs/issues/39) Is there an alternative to Buffer.isBuffer? +- [**#49**](https://github.com/ljharb/qs/issues/49) refactor utils.merge, fixes #45 +- [**#41**](https://github.com/ljharb/qs/issues/41) avoid browserifying Buffer, for #39 + +## [**2.2.4**](https://github.com/ljharb/qs/issues?milestone=13&state=closed) +- [**#38**](https://github.com/ljharb/qs/issues/38) how to handle object keys beginning with a number + +## [**2.2.3**](https://github.com/ljharb/qs/issues?milestone=12&state=closed) +- [**#37**](https://github.com/ljharb/qs/issues/37) parser discards first empty value in array +- [**#36**](https://github.com/ljharb/qs/issues/36) Update to lab 4.x + +## [**2.2.2**](https://github.com/ljharb/qs/issues?milestone=11&state=closed) +- [**#33**](https://github.com/ljharb/qs/issues/33) Error when plain object in a value +- [**#34**](https://github.com/ljharb/qs/issues/34) use Object.prototype.hasOwnProperty.call instead of obj.hasOwnProperty +- [**#24**](https://github.com/ljharb/qs/issues/24) Changelog? Semver? + +## [**2.2.1**](https://github.com/ljharb/qs/issues?milestone=10&state=closed) +- [**#32**](https://github.com/ljharb/qs/issues/32) account for circular references properly, closes #31 +- [**#31**](https://github.com/ljharb/qs/issues/31) qs.parse stackoverflow on circular objects + +## [**2.2.0**](https://github.com/ljharb/qs/issues?milestone=9&state=closed) +- [**#26**](https://github.com/ljharb/qs/issues/26) Don't use Buffer global if it's not present +- [**#30**](https://github.com/ljharb/qs/issues/30) Bug when merging non-object values into arrays +- [**#29**](https://github.com/ljharb/qs/issues/29) Don't call Utils.clone at the top of Utils.merge +- [**#23**](https://github.com/ljharb/qs/issues/23) Ability to not limit parameters? + +## [**2.1.0**](https://github.com/ljharb/qs/issues?milestone=8&state=closed) +- [**#22**](https://github.com/ljharb/qs/issues/22) Enable using a RegExp as delimiter + +## [**2.0.0**](https://github.com/ljharb/qs/issues?milestone=7&state=closed) +- [**#18**](https://github.com/ljharb/qs/issues/18) Why is there arrayLimit? +- [**#20**](https://github.com/ljharb/qs/issues/20) Configurable parametersLimit +- [**#21**](https://github.com/ljharb/qs/issues/21) make all limits optional, for #18, for #20 + +## [**1.2.2**](https://github.com/ljharb/qs/issues?milestone=6&state=closed) +- [**#19**](https://github.com/ljharb/qs/issues/19) Don't overwrite null values + +## [**1.2.1**](https://github.com/ljharb/qs/issues?milestone=5&state=closed) +- [**#16**](https://github.com/ljharb/qs/issues/16) ignore non-string delimiters +- [**#15**](https://github.com/ljharb/qs/issues/15) Close code block + +## [**1.2.0**](https://github.com/ljharb/qs/issues?milestone=4&state=closed) +- [**#12**](https://github.com/ljharb/qs/issues/12) Add optional delim argument +- [**#13**](https://github.com/ljharb/qs/issues/13) fix #11: flattened keys in array are now correctly parsed + +## [**1.1.0**](https://github.com/ljharb/qs/issues?milestone=3&state=closed) +- [**#7**](https://github.com/ljharb/qs/issues/7) Empty values of a POST array disappear after being submitted +- [**#9**](https://github.com/ljharb/qs/issues/9) Should not omit equals signs (=) when value is null +- [**#6**](https://github.com/ljharb/qs/issues/6) Minor grammar fix in README + +## [**1.0.2**](https://github.com/ljharb/qs/issues?milestone=2&state=closed) +- [**#5**](https://github.com/ljharb/qs/issues/5) array holes incorrectly copied into object on large index diff --git a/node_modules/qs/LICENSE.md b/node_modules/qs/LICENSE.md new file mode 100644 index 0000000..fecf6b6 --- /dev/null +++ b/node_modules/qs/LICENSE.md @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2014, Nathan LaFreniere and other [contributors](https://github.com/ljharb/qs/graphs/contributors) +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/node_modules/qs/README.md b/node_modules/qs/README.md new file mode 100644 index 0000000..5c37739 --- /dev/null +++ b/node_modules/qs/README.md @@ -0,0 +1,740 @@ +

      + qs +

      + +# qs [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] +[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/9058/badge)](https://bestpractices.coreinfrastructure.org/projects/9058) + +[![npm badge][npm-badge-png]][package-url] + +A querystring parsing and stringifying library with some added security. + +Lead Maintainer: [Jordan Harband](https://github.com/ljharb) + +The **qs** module was originally created and maintained by [TJ Holowaychuk](https://github.com/visionmedia/node-querystring). + +## Usage + +```javascript +var qs = require('qs'); +var assert = require('assert'); + +var obj = qs.parse('a=c'); +assert.deepEqual(obj, { a: 'c' }); + +var str = qs.stringify(obj); +assert.equal(str, 'a=c'); +``` + +### Parsing Objects + +[](#preventEval) +```javascript +qs.parse(string, [options]); +``` + +**qs** allows you to create nested objects within your query strings, by surrounding the name of sub-keys with square brackets `[]`. +For example, the string `'foo[bar]=baz'` converts to: + +```javascript +assert.deepEqual(qs.parse('foo[bar]=baz'), { + foo: { + bar: 'baz' + } +}); +``` + +When using the `plainObjects` option the parsed value is returned as a null object, created via `{ __proto__: null }` and as such you should be aware that prototype methods will not exist on it and a user may set those names to whatever value they like: + +```javascript +var nullObject = qs.parse('a[hasOwnProperty]=b', { plainObjects: true }); +assert.deepEqual(nullObject, { a: { hasOwnProperty: 'b' } }); +``` + +By default parameters that would overwrite properties on the object prototype are ignored, if you wish to keep the data from those fields either use `plainObjects` as mentioned above, or set `allowPrototypes` to `true` which will allow user input to overwrite those properties. +*WARNING* It is generally a bad idea to enable this option as it can cause problems when attempting to use the properties that have been overwritten. +Always be careful with this option. + +```javascript +var protoObject = qs.parse('a[hasOwnProperty]=b', { allowPrototypes: true }); +assert.deepEqual(protoObject, { a: { hasOwnProperty: 'b' } }); +``` + +URI encoded strings work too: + +```javascript +assert.deepEqual(qs.parse('a%5Bb%5D=c'), { + a: { b: 'c' } +}); +``` + +You can also nest your objects, like `'foo[bar][baz]=foobarbaz'`: + +```javascript +assert.deepEqual(qs.parse('foo[bar][baz]=foobarbaz'), { + foo: { + bar: { + baz: 'foobarbaz' + } + } +}); +``` + +By default, when nesting objects **qs** will only parse up to 5 children deep. +This means if you attempt to parse a string like `'a[b][c][d][e][f][g][h][i]=j'` your resulting object will be: + +```javascript +var expected = { + a: { + b: { + c: { + d: { + e: { + f: { + '[g][h][i]': 'j' + } + } + } + } + } + } +}; +var string = 'a[b][c][d][e][f][g][h][i]=j'; +assert.deepEqual(qs.parse(string), expected); +``` + +This depth can be overridden by passing a `depth` option to `qs.parse(string, [options])`: + +```javascript +var deep = qs.parse('a[b][c][d][e][f][g][h][i]=j', { depth: 1 }); +assert.deepEqual(deep, { a: { b: { '[c][d][e][f][g][h][i]': 'j' } } }); +``` + +You can configure **qs** to throw an error when parsing nested input beyond this depth using the `strictDepth` option (defaulted to false): + +```javascript +try { + qs.parse('a[b][c][d][e][f][g][h][i]=j', { depth: 1, strictDepth: true }); +} catch (err) { + assert(err instanceof RangeError); + assert.strictEqual(err.message, 'Input depth exceeded depth option of 1 and strictDepth is true'); +} +``` + +The depth limit helps mitigate abuse when **qs** is used to parse user input, and it is recommended to keep it a reasonably small number. The strictDepth option adds a layer of protection by throwing an error when the limit is exceeded, allowing you to catch and handle such cases. + +For similar reasons, by default **qs** will only parse up to 1000 parameters. This can be overridden by passing a `parameterLimit` option: + +```javascript +var limited = qs.parse('a=b&c=d', { parameterLimit: 1 }); +assert.deepEqual(limited, { a: 'b' }); +``` + +If you want an error to be thrown whenever the a limit is exceeded (eg, `parameterLimit`, `arrayLimit`), set the `throwOnLimitExceeded` option to `true`. This option will generate a descriptive error if the query string exceeds a configured limit. +```javascript +try { + qs.parse('a=1&b=2&c=3&d=4', { parameterLimit: 3, throwOnLimitExceeded: true }); +} catch (err) { + assert(err instanceof Error); + assert.strictEqual(err.message, 'Parameter limit exceeded. Only 3 parameters allowed.'); +} +``` + +When `throwOnLimitExceeded` is set to `false` (default), **qs** will parse up to the specified `parameterLimit` and ignore the rest without throwing an error. + +To bypass the leading question mark, use `ignoreQueryPrefix`: + +```javascript +var prefixed = qs.parse('?a=b&c=d', { ignoreQueryPrefix: true }); +assert.deepEqual(prefixed, { a: 'b', c: 'd' }); +``` + +An optional delimiter can also be passed: + +```javascript +var delimited = qs.parse('a=b;c=d', { delimiter: ';' }); +assert.deepEqual(delimited, { a: 'b', c: 'd' }); +``` + +Delimiters can be a regular expression too: + +```javascript +var regexed = qs.parse('a=b;c=d,e=f', { delimiter: /[;,]/ }); +assert.deepEqual(regexed, { a: 'b', c: 'd', e: 'f' }); +``` + +Option `allowDots` can be used to enable dot notation: + +```javascript +var withDots = qs.parse('a.b=c', { allowDots: true }); +assert.deepEqual(withDots, { a: { b: 'c' } }); +``` + +Option `decodeDotInKeys` can be used to decode dots in keys +Note: it implies `allowDots`, so `parse` will error if you set `decodeDotInKeys` to `true`, and `allowDots` to `false`. + +```javascript +var withDots = qs.parse('name%252Eobj.first=John&name%252Eobj.last=Doe', { decodeDotInKeys: true }); +assert.deepEqual(withDots, { 'name.obj': { first: 'John', last: 'Doe' }}); +``` + +Option `allowEmptyArrays` can be used to allowing empty array values in object +```javascript +var withEmptyArrays = qs.parse('foo[]&bar=baz', { allowEmptyArrays: true }); +assert.deepEqual(withEmptyArrays, { foo: [], bar: 'baz' }); +``` + +Option `duplicates` can be used to change the behavior when duplicate keys are encountered +```javascript +assert.deepEqual(qs.parse('foo=bar&foo=baz'), { foo: ['bar', 'baz'] }); +assert.deepEqual(qs.parse('foo=bar&foo=baz', { duplicates: 'combine' }), { foo: ['bar', 'baz'] }); +assert.deepEqual(qs.parse('foo=bar&foo=baz', { duplicates: 'first' }), { foo: 'bar' }); +assert.deepEqual(qs.parse('foo=bar&foo=baz', { duplicates: 'last' }), { foo: 'baz' }); +``` + +If you have to deal with legacy browsers or services, there's also support for decoding percent-encoded octets as iso-8859-1: + +```javascript +var oldCharset = qs.parse('a=%A7', { charset: 'iso-8859-1' }); +assert.deepEqual(oldCharset, { a: '§' }); +``` + +Some services add an initial `utf8=✓` value to forms so that old Internet Explorer versions are more likely to submit the form as utf-8. +Additionally, the server can check the value against wrong encodings of the checkmark character and detect that a query string or `application/x-www-form-urlencoded` body was *not* sent as utf-8, eg. if the form had an `accept-charset` parameter or the containing page had a different character set. + +**qs** supports this mechanism via the `charsetSentinel` option. +If specified, the `utf8` parameter will be omitted from the returned object. +It will be used to switch to `iso-8859-1`/`utf-8` mode depending on how the checkmark is encoded. + +**Important**: When you specify both the `charset` option and the `charsetSentinel` option, the `charset` will be overridden when the request contains a `utf8` parameter from which the actual charset can be deduced. +In that sense the `charset` will behave as the default charset rather than the authoritative charset. + +```javascript +var detectedAsUtf8 = qs.parse('utf8=%E2%9C%93&a=%C3%B8', { + charset: 'iso-8859-1', + charsetSentinel: true +}); +assert.deepEqual(detectedAsUtf8, { a: 'ø' }); + +// Browsers encode the checkmark as ✓ when submitting as iso-8859-1: +var detectedAsIso8859_1 = qs.parse('utf8=%26%2310003%3B&a=%F8', { + charset: 'utf-8', + charsetSentinel: true +}); +assert.deepEqual(detectedAsIso8859_1, { a: 'ø' }); +``` + +If you want to decode the `&#...;` syntax to the actual character, you can specify the `interpretNumericEntities` option as well: + +```javascript +var detectedAsIso8859_1 = qs.parse('a=%26%239786%3B', { + charset: 'iso-8859-1', + interpretNumericEntities: true +}); +assert.deepEqual(detectedAsIso8859_1, { a: '☺' }); +``` + +It also works when the charset has been detected in `charsetSentinel` mode. + +### Parsing Arrays + +**qs** can also parse arrays using a similar `[]` notation: + +```javascript +var withArray = qs.parse('a[]=b&a[]=c'); +assert.deepEqual(withArray, { a: ['b', 'c'] }); +``` + +You may specify an index as well: + +```javascript +var withIndexes = qs.parse('a[1]=c&a[0]=b'); +assert.deepEqual(withIndexes, { a: ['b', 'c'] }); +``` + +Note that the only difference between an index in an array and a key in an object is that the value between the brackets must be a number to create an array. +When creating arrays with specific indices, **qs** will compact a sparse array to only the existing values preserving their order: + +```javascript +var noSparse = qs.parse('a[1]=b&a[15]=c'); +assert.deepEqual(noSparse, { a: ['b', 'c'] }); +``` + +You may also use `allowSparse` option to parse sparse arrays: + +```javascript +var sparseArray = qs.parse('a[1]=2&a[3]=5', { allowSparse: true }); +assert.deepEqual(sparseArray, { a: [, '2', , '5'] }); +``` + +Note that an empty string is also a value, and will be preserved: + +```javascript +var withEmptyString = qs.parse('a[]=&a[]=b'); +assert.deepEqual(withEmptyString, { a: ['', 'b'] }); + +var withIndexedEmptyString = qs.parse('a[0]=b&a[1]=&a[2]=c'); +assert.deepEqual(withIndexedEmptyString, { a: ['b', '', 'c'] }); +``` + +**qs** will also limit arrays to a maximum of `20` elements. +Any array members with an index of `20` or greater will instead be converted to an object with the index as the key. +This is needed to handle cases when someone sent, for example, `a[999999999]` and it will take significant time to iterate over this huge array. + +```javascript +var withMaxIndex = qs.parse('a[100]=b'); +assert.deepEqual(withMaxIndex, { a: { '100': 'b' } }); +``` + +This limit can be overridden by passing an `arrayLimit` option: + +```javascript +var withArrayLimit = qs.parse('a[1]=b', { arrayLimit: 0 }); +assert.deepEqual(withArrayLimit, { a: { '1': 'b' } }); +``` + +If you want to throw an error whenever the array limit is exceeded, set the `throwOnLimitExceeded` option to `true`. This option will generate a descriptive error if the query string exceeds a configured limit. +```javascript +try { + qs.parse('a[1]=b', { arrayLimit: 0, throwOnLimitExceeded: true }); +} catch (err) { + assert(err instanceof Error); + assert.strictEqual(err.message, 'Array limit exceeded. Only 0 elements allowed in an array.'); +} +``` + +When `throwOnLimitExceeded` is set to `false` (default), **qs** will parse up to the specified `arrayLimit` and if the limit is exceeded, the array will instead be converted to an object with the index as the key + +To prevent array syntax (`a[]`, `a[0]`) from being parsed as arrays, set `parseArrays` to `false`. +Note that duplicate keys (e.g. `a=b&a=c`) may still produce arrays when `duplicates` is `'combine'` (the default). + +```javascript +var noParsingArrays = qs.parse('a[]=b', { parseArrays: false }); +assert.deepEqual(noParsingArrays, { a: { '0': 'b' } }); +``` + +If you mix notations, **qs** will merge the two items into an object: + +```javascript +var mixedNotation = qs.parse('a[0]=b&a[b]=c'); +assert.deepEqual(mixedNotation, { a: { '0': 'b', b: 'c' } }); +``` + +You can also create arrays of objects: + +```javascript +var arraysOfObjects = qs.parse('a[][b]=c'); +assert.deepEqual(arraysOfObjects, { a: [{ b: 'c' }] }); +``` + +Some people use comma to join array, **qs** can parse it: +```javascript +var arraysOfObjects = qs.parse('a=b,c', { comma: true }) +assert.deepEqual(arraysOfObjects, { a: ['b', 'c'] }) +``` +(_this cannot convert nested objects, such as `a={b:1},{c:d}`_) + +### Parsing primitive/scalar values (numbers, booleans, null, etc) + +By default, all values are parsed as strings. +This behavior will not change and is explained in [issue #91](https://github.com/ljharb/qs/issues/91). + +```javascript +var primitiveValues = qs.parse('a=15&b=true&c=null'); +assert.deepEqual(primitiveValues, { a: '15', b: 'true', c: 'null' }); +``` + +If you wish to auto-convert values which look like numbers, booleans, and other values into their primitive counterparts, you can use the [query-types Express JS middleware](https://github.com/xpepermint/query-types) which will auto-convert all request query parameters. + +### Stringifying + +[](#preventEval) +```javascript +qs.stringify(object, [options]); +``` + +When stringifying, **qs** by default URI encodes output. Objects are stringified as you would expect: + +```javascript +assert.equal(qs.stringify({ a: 'b' }), 'a=b'); +assert.equal(qs.stringify({ a: { b: 'c' } }), 'a%5Bb%5D=c'); +``` + +This encoding can be disabled by setting the `encode` option to `false`: + +```javascript +var unencoded = qs.stringify({ a: { b: 'c' } }, { encode: false }); +assert.equal(unencoded, 'a[b]=c'); +``` + +Encoding can be disabled for keys by setting the `encodeValuesOnly` option to `true`: +```javascript +var encodedValues = qs.stringify( + { a: 'b', c: ['d', 'e=f'], f: [['g'], ['h']] }, + { encodeValuesOnly: true } +); +assert.equal(encodedValues,'a=b&c[0]=d&c[1]=e%3Df&f[0][0]=g&f[1][0]=h'); +``` + +This encoding can also be replaced by a custom encoding method set as `encoder` option: + +```javascript +var encoded = qs.stringify({ a: { b: 'c' } }, { encoder: function (str) { + // Passed in values `a`, `b`, `c` + return // Return encoded string +}}) +``` + +_(Note: the `encoder` option does not apply if `encode` is `false`)_ + +Analogue to the `encoder` there is a `decoder` option for `parse` to override decoding of properties and values: + +```javascript +var decoded = qs.parse('x=z', { decoder: function (str) { + // Passed in values `x`, `z` + return // Return decoded string +}}) +``` + +You can encode keys and values using different logic by using the type argument provided to the encoder: + +```javascript +var encoded = qs.stringify({ a: { b: 'c' } }, { encoder: function (str, defaultEncoder, charset, type) { + if (type === 'key') { + return // Encoded key + } else if (type === 'value') { + return // Encoded value + } +}}) +``` + +The type argument is also provided to the decoder: + +```javascript +var decoded = qs.parse('x=z', { decoder: function (str, defaultDecoder, charset, type) { + if (type === 'key') { + return // Decoded key + } else if (type === 'value') { + return // Decoded value + } +}}) +``` + +Examples beyond this point will be shown as though the output is not URI encoded for clarity. +Please note that the return values in these cases *will* be URI encoded during real usage. + +When arrays are stringified, they follow the `arrayFormat` option, which defaults to `indices`: + +```javascript +qs.stringify({ a: ['b', 'c', 'd'] }); +// 'a[0]=b&a[1]=c&a[2]=d' +``` + +You may override this by setting the `indices` option to `false`, or to be more explicit, the `arrayFormat` option to `repeat`: + +```javascript +qs.stringify({ a: ['b', 'c', 'd'] }, { indices: false }); +// 'a=b&a=c&a=d' +``` + +You may use the `arrayFormat` option to specify the format of the output array: + +```javascript +qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'indices' }) +// 'a[0]=b&a[1]=c' +qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'brackets' }) +// 'a[]=b&a[]=c' +qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'repeat' }) +// 'a=b&a=c' +qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'comma' }) +// 'a=b,c' +``` + +Note: when using `arrayFormat` set to `'comma'`, you can also pass the `commaRoundTrip` option set to `true` or `false`, to append `[]` on single-item arrays, so that they can round trip through a parse. + +When objects are stringified, by default they use bracket notation: + +```javascript +qs.stringify({ a: { b: { c: 'd', e: 'f' } } }); +// 'a[b][c]=d&a[b][e]=f' +``` + +You may override this to use dot notation by setting the `allowDots` option to `true`: + +```javascript +qs.stringify({ a: { b: { c: 'd', e: 'f' } } }, { allowDots: true }); +// 'a.b.c=d&a.b.e=f' +``` + +You may encode the dot notation in the keys of object with option `encodeDotInKeys` by setting it to `true`: +Note: it implies `allowDots`, so `stringify` will error if you set `decodeDotInKeys` to `true`, and `allowDots` to `false`. +Caveat: when `encodeValuesOnly` is `true` as well as `encodeDotInKeys`, only dots in keys and nothing else will be encoded. +```javascript +qs.stringify({ "name.obj": { "first": "John", "last": "Doe" } }, { allowDots: true, encodeDotInKeys: true }) +// 'name%252Eobj.first=John&name%252Eobj.last=Doe' +``` + +You may allow empty array values by setting the `allowEmptyArrays` option to `true`: +```javascript +qs.stringify({ foo: [], bar: 'baz' }, { allowEmptyArrays: true }); +// 'foo[]&bar=baz' +``` + +Empty strings and null values will omit the value, but the equals sign (=) remains in place: + +```javascript +assert.equal(qs.stringify({ a: '' }), 'a='); +``` + +Key with no values (such as an empty object or array) will return nothing: + +```javascript +assert.equal(qs.stringify({ a: [] }), ''); +assert.equal(qs.stringify({ a: {} }), ''); +assert.equal(qs.stringify({ a: [{}] }), ''); +assert.equal(qs.stringify({ a: { b: []} }), ''); +assert.equal(qs.stringify({ a: { b: {}} }), ''); +``` + +Properties that are set to `undefined` will be omitted entirely: + +```javascript +assert.equal(qs.stringify({ a: null, b: undefined }), 'a='); +``` + +The query string may optionally be prepended with a question mark: + +```javascript +assert.equal(qs.stringify({ a: 'b', c: 'd' }, { addQueryPrefix: true }), '?a=b&c=d'); +``` + +Note that when the output is an empty string, the prefix will not be added: + +```javascript +assert.equal(qs.stringify({}, { addQueryPrefix: true }), ''); +``` + +The delimiter may be overridden with stringify as well: + +```javascript +assert.equal(qs.stringify({ a: 'b', c: 'd' }, { delimiter: ';' }), 'a=b;c=d'); +``` + +If you only want to override the serialization of `Date` objects, you can provide a `serializeDate` option: + +```javascript +var date = new Date(7); +assert.equal(qs.stringify({ a: date }), 'a=1970-01-01T00:00:00.007Z'.replace(/:/g, '%3A')); +assert.equal( + qs.stringify({ a: date }, { serializeDate: function (d) { return d.getTime(); } }), + 'a=7' +); +``` + +You may use the `sort` option to affect the order of parameter keys: + +```javascript +function alphabeticalSort(a, b) { + return a.localeCompare(b); +} +assert.equal(qs.stringify({ a: 'c', z: 'y', b : 'f' }, { sort: alphabeticalSort }), 'a=c&b=f&z=y'); +``` + +Finally, you can use the `filter` option to restrict which keys will be included in the stringified output. +If you pass a function, it will be called for each key to obtain the replacement value. +Otherwise, if you pass an array, it will be used to select properties and array indices for stringification: + +```javascript +function filterFunc(prefix, value) { + if (prefix == 'b') { + // Return an `undefined` value to omit a property. + return; + } + if (prefix == 'e[f]') { + return value.getTime(); + } + if (prefix == 'e[g][0]') { + return value * 2; + } + return value; +} +qs.stringify({ a: 'b', c: 'd', e: { f: new Date(123), g: [2] } }, { filter: filterFunc }); +// 'a=b&c=d&e[f]=123&e[g][0]=4' +qs.stringify({ a: 'b', c: 'd', e: 'f' }, { filter: ['a', 'e'] }); +// 'a=b&e=f' +qs.stringify({ a: ['b', 'c', 'd'], e: 'f' }, { filter: ['a', 0, 2] }); +// 'a[0]=b&a[2]=d' +``` + +You could also use `filter` to inject custom serialization for user defined types. +Consider you're working with some api that expects query strings of the format for ranges: + +``` +https://domain.com/endpoint?range=30...70 +``` + +For which you model as: + +```javascript +class Range { + constructor(from, to) { + this.from = from; + this.to = to; + } +} +``` + +You could _inject_ a custom serializer to handle values of this type: + +```javascript +qs.stringify( + { + range: new Range(30, 70), + }, + { + filter: (prefix, value) => { + if (value instanceof Range) { + return `${value.from}...${value.to}`; + } + // serialize the usual way + return value; + }, + } +); +// range=30...70 +``` + +### Handling of `null` values + +By default, `null` values are treated like empty strings: + +```javascript +var withNull = qs.stringify({ a: null, b: '' }); +assert.equal(withNull, 'a=&b='); +``` + +Parsing does not distinguish between parameters with and without equal signs. +Both are converted to empty strings. + +```javascript +var equalsInsensitive = qs.parse('a&b='); +assert.deepEqual(equalsInsensitive, { a: '', b: '' }); +``` + +To distinguish between `null` values and empty strings use the `strictNullHandling` flag. In the result string the `null` +values have no `=` sign: + +```javascript +var strictNull = qs.stringify({ a: null, b: '' }, { strictNullHandling: true }); +assert.equal(strictNull, 'a&b='); +``` + +To parse values without `=` back to `null` use the `strictNullHandling` flag: + +```javascript +var parsedStrictNull = qs.parse('a&b=', { strictNullHandling: true }); +assert.deepEqual(parsedStrictNull, { a: null, b: '' }); +``` + +To completely skip rendering keys with `null` values, use the `skipNulls` flag: + +```javascript +var nullsSkipped = qs.stringify({ a: 'b', c: null}, { skipNulls: true }); +assert.equal(nullsSkipped, 'a=b'); +``` + +If you're communicating with legacy systems, you can switch to `iso-8859-1` using the `charset` option: + +```javascript +var iso = qs.stringify({ æ: 'æ' }, { charset: 'iso-8859-1' }); +assert.equal(iso, '%E6=%E6'); +``` + +Characters that don't exist in `iso-8859-1` will be converted to numeric entities, similar to what browsers do: + +```javascript +var numeric = qs.stringify({ a: '☺' }, { charset: 'iso-8859-1' }); +assert.equal(numeric, 'a=%26%239786%3B'); +``` + +You can use the `charsetSentinel` option to announce the character by including an `utf8=✓` parameter with the proper encoding if the checkmark, similar to what Ruby on Rails and others do when submitting forms. + +```javascript +var sentinel = qs.stringify({ a: '☺' }, { charsetSentinel: true }); +assert.equal(sentinel, 'utf8=%E2%9C%93&a=%E2%98%BA'); + +var isoSentinel = qs.stringify({ a: 'æ' }, { charsetSentinel: true, charset: 'iso-8859-1' }); +assert.equal(isoSentinel, 'utf8=%26%2310003%3B&a=%E6'); +``` + +### Dealing with special character sets + +By default the encoding and decoding of characters is done in `utf-8`, and `iso-8859-1` support is also built in via the `charset` parameter. + +If you wish to encode querystrings to a different character set (i.e. +[Shift JIS](https://en.wikipedia.org/wiki/Shift_JIS)) you can use the +[`qs-iconv`](https://github.com/martinheidegger/qs-iconv) library: + +```javascript +var encoder = require('qs-iconv/encoder')('shift_jis'); +var shiftJISEncoded = qs.stringify({ a: 'こんにちは!' }, { encoder: encoder }); +assert.equal(shiftJISEncoded, 'a=%82%B1%82%F1%82%C9%82%BF%82%CD%81I'); +``` + +This also works for decoding of query strings: + +```javascript +var decoder = require('qs-iconv/decoder')('shift_jis'); +var obj = qs.parse('a=%82%B1%82%F1%82%C9%82%BF%82%CD%81I', { decoder: decoder }); +assert.deepEqual(obj, { a: 'こんにちは!' }); +``` + +### RFC 3986 and RFC 1738 space encoding + +RFC3986 used as default option and encodes ' ' to *%20* which is backward compatible. +In the same time, output can be stringified as per RFC1738 with ' ' equal to '+'. + +``` +assert.equal(qs.stringify({ a: 'b c' }), 'a=b%20c'); +assert.equal(qs.stringify({ a: 'b c' }, { format : 'RFC3986' }), 'a=b%20c'); +assert.equal(qs.stringify({ a: 'b c' }, { format : 'RFC1738' }), 'a=b+c'); +``` + +## Security + +Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report. + +## qs for enterprise + +Available as part of the Tidelift Subscription + +The maintainers of qs and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. +Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. +[Learn more.](https://tidelift.com/subscription/pkg/npm-qs?utm_source=npm-qs&utm_medium=referral&utm_campaign=enterprise&utm_term=repo) + +[package-url]: https://npmjs.org/package/qs +[npm-version-svg]: https://versionbadg.es/ljharb/qs.svg +[deps-svg]: https://david-dm.org/ljharb/qs.svg +[deps-url]: https://david-dm.org/ljharb/qs +[dev-deps-svg]: https://david-dm.org/ljharb/qs/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/qs#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/qs.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/qs.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/qs.svg +[downloads-url]: https://npm-stat.com/charts.html?package=qs +[codecov-image]: https://codecov.io/gh/ljharb/qs/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/qs/ +[actions-image]: https://img.shields.io/github/check-runs/ljharb/qs/main +[actions-url]: https://github.com/ljharb/qs/actions + +## Acknowledgements + +qs logo by [NUMI](https://github.com/numi-hq/open-design): + +[NUMI Logo](https://numi.tech/?ref=qs) diff --git a/node_modules/qs/dist/qs.js b/node_modules/qs/dist/qs.js new file mode 100644 index 0000000..d5eb519 --- /dev/null +++ b/node_modules/qs/dist/qs.js @@ -0,0 +1,141 @@ +(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Qs = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i-1)return e.split(",");if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},isoSentinel="utf8=%26%2310003%3B",charsetSentinel="utf8=%E2%9C%93",parseValues=function parseQueryStringValues(e,t){var r={__proto__:null},i=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;i=i.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var a=t.parameterLimit===1/0?void 0:t.parameterLimit,o=i.split(t.delimiter,t.throwOnLimitExceeded?a+1:a);if(t.throwOnLimitExceeded&&o.length>a)throw new RangeError("Parameter limit exceeded. Only "+a+" parameter"+(1===a?"":"s")+" allowed.");var l,n=-1,s=t.charset;if(t.charsetSentinel)for(l=0;l-1&&(p=isArray(p)?[p]:p),t.comma&&isArray(p)&&p.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");p=utils.combine([],p,t.arrayLimit,t.plainObjects)}if(null!==d){var f=has.call(r,d);f&&"combine"===t.duplicates?r[d]=utils.combine(r[d],p,t.arrayLimit,t.plainObjects):f&&"last"!==t.duplicates||(r[d]=p)}}return r},parseObject=function(e,t,r,i){var a=0;if(e.length>0&&"[]"===e[e.length-1]){var o=e.slice(0,-1).join("");a=Array.isArray(t)&&t[o]?t[o].length:0}for(var l=i?t:parseArrayValue(t,r,a),n=e.length-1;n>=0;--n){var s,d=e[n];if("[]"===d&&r.parseArrays)s=utils.isOverflow(l)?l:r.allowEmptyArrays&&(""===l||r.strictNullHandling&&null===l)?[]:utils.combine([],l,r.arrayLimit,r.plainObjects);else{s=r.plainObjects?{__proto__:null}:{};var p="["===d.charAt(0)&&"]"===d.charAt(d.length-1)?d.slice(1,-1):d,c=r.decodeDotInKeys?p.replace(/%2E/g,"."):p,u=parseInt(c,10),y=!isNaN(u)&&d!==c&&String(u)===c&&u>=0&&r.parseArrays;if(r.parseArrays||""!==c)if(y&&u0?g.join(",")||null:void 0}];else if(isArray(f))S=f;else{var N=Object.keys(g);S=u?N.sort(u):N}var T=l?String(r).replace(/\./g,"%2E"):String(r),O=o&&isArray(g)&&1===g.length?T+"[]":T;if(a&&isArray(g)&&0===g.length)return O+"[]";for(var k=0;k0?c+y:""}; + +},{"1":1,"46":46,"5":5}],5:[function(require,module,exports){ +"use strict";var formats=require(1),getSideChannel=require(46),has=Object.prototype.hasOwnProperty,isArray=Array.isArray,overflowChannel=getSideChannel(),markOverflow=function markOverflow(e,r){return overflowChannel.set(e,r),e},isOverflow=function isOverflow(e){return overflowChannel.has(e)},getMaxIndex=function getMaxIndex(e){return overflowChannel.get(e)},setMaxIndex=function setMaxIndex(e,r){overflowChannel.set(e,r)},hexTable=function(){for(var e=[],r=0;r<256;++r)e[e.length]="%"+((r<16?"0":"")+r.toString(16)).toUpperCase();return e}(),compactQueue=function compactQueue(e){for(;e.length>1;){var r=e.pop(),t=r.obj[r.prop];if(isArray(t)){for(var n=[],o=0;ot.arrayLimit)return markOverflow(arrayToObject(e.concat(r),t),n);e[n]=r}else{if(!e||"object"!=typeof e)return[e,r];if(isOverflow(e)){var o=getMaxIndex(e)+1;e[o]=r,setMaxIndex(e,o)}else(t&&(t.plainObjects||t.allowPrototypes)||!has.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e){if(isOverflow(r)){for(var a=Object.keys(r),i=t&&t.plainObjects?{__proto__:null,0:e}:{0:e},c=0;ct.arrayLimit?markOverflow(arrayToObject(l,t),l.length-1):l}var f=e;return isArray(e)&&!isArray(r)&&(f=arrayToObject(e,t)),isArray(e)&&isArray(r)?(r.forEach(function(r,n){if(has.call(e,n)){var o=e[n];o&&"object"==typeof o&&r&&"object"==typeof r?e[n]=merge(o,r,t):e[e.length]=r}else e[n]=r}),e):Object.keys(r).reduce(function(e,n){var o=r[n];if(has.call(e,n)?e[n]=merge(e[n],o,t):e[n]=o,isOverflow(r)&&!isOverflow(e)&&markOverflow(e,getMaxIndex(r)),isOverflow(e)){var a=parseInt(n,10);String(a)===n&&a>=0&&a>getMaxIndex(e)&&setMaxIndex(e,a)}return e},f)},assign=function assignSingleSource(e,r){return Object.keys(r).reduce(function(e,t){return e[t]=r[t],e},e)},decode=function(e,r,t){var n=e.replace(/\+/g," ");if("iso-8859-1"===t)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},limit=1024,encode=function encode(e,r,t,n,o){if(0===e.length)return e;var a=e;if("symbol"==typeof e?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===t)return escape(a).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var i="",c=0;c=limit?a.slice(c,c+limit):a,f=[],s=0;s=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===formats.RFC1738&&(40===u||41===u)?f[f.length]=l.charAt(s):u<128?f[f.length]=hexTable[u]:u<2048?f[f.length]=hexTable[192|u>>6]+hexTable[128|63&u]:u<55296||u>=57344?f[f.length]=hexTable[224|u>>12]+hexTable[128|u>>6&63]+hexTable[128|63&u]:(s+=1,u=65536+((1023&u)<<10|1023&l.charCodeAt(s)),f[f.length]=hexTable[240|u>>18]+hexTable[128|u>>12&63]+hexTable[128|u>>6&63]+hexTable[128|63&u])}i+=f.join("")}return i},compact=function compact(e){for(var r=[{obj:{o:e},prop:"o"}],t=[],n=0;nt?markOverflow(arrayToObject(a,{plainObjects:n}),a.length-1):a},maybeMap=function maybeMap(e,r){if(isArray(e)){for(var t=[],n=0;n-1?callBindBasic([t]):t}; + +},{"10":10,"25":25}],25:[function(require,module,exports){ +"use strict";var undefined,$Object=require(22),$Error=require(16),$EvalError=require(15),$RangeError=require(17),$ReferenceError=require(18),$SyntaxError=require(19),$TypeError=require(20),$URIError=require(21),abs=require(34),floor=require(35),max=require(37),min=require(38),pow=require(39),round=require(40),sign=require(41),$Function=Function,getEvalledConstructor=function(r){try{return $Function('"use strict"; return ('+r+").constructor;")()}catch(r){}},$gOPD=require(30),$defineProperty=require(14),throwTypeError=function(){throw new $TypeError},ThrowTypeError=$gOPD?function(){try{return throwTypeError}catch(r){try{return $gOPD(arguments,"callee").get}catch(r){return throwTypeError}}}():throwTypeError,hasSymbols=require(31)(),getProto=require(28),$ObjectGPO=require(26),$ReflectGPO=require(27),$apply=require(8),$call=require(9),needsEval={},TypedArray="undefined"!=typeof Uint8Array&&getProto?getProto(Uint8Array):undefined,INTRINSICS={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?undefined:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?undefined:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto?getProto([][Symbol.iterator]()):undefined,"%AsyncFromSyncIteratorPrototype%":undefined,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":"undefined"==typeof Atomics?undefined:Atomics,"%BigInt%":"undefined"==typeof BigInt?undefined:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?undefined:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?undefined:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?undefined:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float16Array%":"undefined"==typeof Float16Array?undefined:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?undefined:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?undefined:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?undefined:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":"undefined"==typeof Int8Array?undefined:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?undefined:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?undefined:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):undefined,"%JSON%":"object"==typeof JSON?JSON:undefined,"%Map%":"undefined"==typeof Map?undefined:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&hasSymbols&&getProto?getProto((new Map)[Symbol.iterator]()):undefined,"%Math%":Math,"%Number%":Number,"%Object%":$Object,"%Object.getOwnPropertyDescriptor%":$gOPD,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?undefined:Promise,"%Proxy%":"undefined"==typeof Proxy?undefined:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":"undefined"==typeof Reflect?undefined:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?undefined:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&hasSymbols&&getProto?getProto((new Set)[Symbol.iterator]()):undefined,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?undefined:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto?getProto(""[Symbol.iterator]()):undefined,"%Symbol%":hasSymbols?Symbol:undefined,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError,"%Uint8Array%":"undefined"==typeof Uint8Array?undefined:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?undefined:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?undefined:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?undefined:Uint32Array,"%URIError%":$URIError,"%WeakMap%":"undefined"==typeof WeakMap?undefined:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?undefined:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?undefined:WeakSet,"%Function.prototype.call%":$call,"%Function.prototype.apply%":$apply,"%Object.defineProperty%":$defineProperty,"%Object.getPrototypeOf%":$ObjectGPO,"%Math.abs%":abs,"%Math.floor%":floor,"%Math.max%":max,"%Math.min%":min,"%Math.pow%":pow,"%Math.round%":round,"%Math.sign%":sign,"%Reflect.getPrototypeOf%":$ReflectGPO};if(getProto)try{null.error}catch(r){var errorProto=getProto(getProto(r));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function doEval(r){var e;if("%AsyncFunction%"===r)e=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===r)e=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===r)e=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===r){var t=doEval("%AsyncGeneratorFunction%");t&&(e=t.prototype)}else if("%AsyncIteratorPrototype%"===r){var o=doEval("%AsyncGenerator%");o&&getProto&&(e=getProto(o.prototype))}return INTRINSICS[r]=e,e},LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind=require(24),hasOwn=require(33),$concat=bind.call($call,Array.prototype.concat),$spliceApply=bind.call($apply,Array.prototype.splice),$replace=bind.call($call,String.prototype.replace),$strSlice=bind.call($call,String.prototype.slice),$exec=bind.call($call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function stringToPath(r){var e=$strSlice(r,0,1),t=$strSlice(r,-1);if("%"===e&&"%"!==t)throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if("%"===t&&"%"!==e)throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var o=[];return $replace(r,rePropName,function(r,e,t,n){o[o.length]=t?$replace(n,reEscapeChar,"$1"):e||r}),o},getBaseIntrinsic=function getBaseIntrinsic(r,e){var t,o=r;if(hasOwn(LEGACY_ALIASES,o)&&(o="%"+(t=LEGACY_ALIASES[o])[0]+"%"),hasOwn(INTRINSICS,o)){var n=INTRINSICS[o];if(n===needsEval&&(n=doEval(o)),void 0===n&&!e)throw new $TypeError("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:t,name:o,value:n}}throw new $SyntaxError("intrinsic "+r+" does not exist!")};module.exports=function GetIntrinsic(r,e){if("string"!=typeof r||0===r.length)throw new $TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new $TypeError('"allowMissing" argument must be a boolean');if(null===$exec(/^%?[^%]*%?$/,r))throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var t=stringToPath(r),o=t.length>0?t[0]:"",n=getBaseIntrinsic("%"+o+"%",e),a=n.name,i=n.value,y=!1,p=n.alias;p&&(o=p[0],$spliceApply(t,$concat([0,1],p)));for(var d=1,s=!0;d=t.length){var c=$gOPD(i,f);i=(s=!!c)&&"get"in c&&!("originalValue"in c.get)?c.get:i[f]}else s=hasOwn(i,f),i=i[f];s&&!y&&(INTRINSICS[a]=i)}}return i}; + +},{"14":14,"15":15,"16":16,"17":17,"18":18,"19":19,"20":20,"21":21,"22":22,"24":24,"26":26,"27":27,"28":28,"30":30,"31":31,"33":33,"34":34,"35":35,"37":37,"38":38,"39":39,"40":40,"41":41,"8":8,"9":9}],13:[function(require,module,exports){ +"use strict";var hasProtoAccessor,callBind=require(10),gOPD=require(30);try{hasProtoAccessor=[].__proto__===Array.prototype}catch(t){if(!t||"object"!=typeof t||!("code"in t)||"ERR_PROTO_ACCESS"!==t.code)throw t}var desc=!!hasProtoAccessor&&gOPD&&gOPD(Object.prototype,"__proto__"),$Object=Object,$getPrototypeOf=$Object.getPrototypeOf;module.exports=desc&&"function"==typeof desc.get?callBind([desc.get]):"function"==typeof $getPrototypeOf&&function getDunder(t){return $getPrototypeOf(null==t?t:$Object(t))}; + +},{"10":10,"30":30}],30:[function(require,module,exports){ +"use strict";var $gOPD=require(29);if($gOPD)try{$gOPD([],"length")}catch(g){$gOPD=null}module.exports=$gOPD; + +},{"29":29}],14:[function(require,module,exports){ +"use strict";var $defineProperty=Object.defineProperty||!1;if($defineProperty)try{$defineProperty({},"a",{value:1})}catch(e){$defineProperty=!1}module.exports=$defineProperty; + +},{}],15:[function(require,module,exports){ +"use strict";module.exports=EvalError; + +},{}],16:[function(require,module,exports){ +"use strict";module.exports=Error; + +},{}],17:[function(require,module,exports){ +"use strict";module.exports=RangeError; + +},{}],18:[function(require,module,exports){ +"use strict";module.exports=ReferenceError; + +},{}],19:[function(require,module,exports){ +"use strict";module.exports=SyntaxError; + +},{}],21:[function(require,module,exports){ +"use strict";module.exports=URIError; + +},{}],22:[function(require,module,exports){ +"use strict";module.exports=Object; + +},{}],23:[function(require,module,exports){ +"use strict";var ERROR_MESSAGE="Function.prototype.bind called on incompatible ",toStr=Object.prototype.toString,max=Math.max,funcType="[object Function]",concatty=function concatty(t,n){for(var r=[],o=0;o-1e3&&t<1e3||$test.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-$floor(-t):$floor(t);if(n!==t){var o=String(n),i=$slice.call(e,o.length+1);return $replace.call(o,r,"$&_")+"."+$replace.call($replace.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return $replace.call(e,r,"$&_")}var utilInspect=require(6),inspectCustom=utilInspect.custom,inspectSymbol=isSymbol(inspectCustom)?inspectCustom:null,quotes={__proto__:null,double:'"',single:"'"},quoteREs={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function wrapQuotes(t,e,r){var n=r.quoteStyle||e,o=quotes[n];return o+t+o}function quote(t){return $replace.call(String(t),/"/g,""")}function canTrustToString(t){return!toStringTag||!("object"==typeof t&&(toStringTag in t||void 0!==t[toStringTag]))}function isArray(t){return"[object Array]"===toStr(t)&&canTrustToString(t)}function isDate(t){return"[object Date]"===toStr(t)&&canTrustToString(t)}function isRegExp(t){return"[object RegExp]"===toStr(t)&&canTrustToString(t)}function isError(t){return"[object Error]"===toStr(t)&&canTrustToString(t)}function isString(t){return"[object String]"===toStr(t)&&canTrustToString(t)}function isNumber(t){return"[object Number]"===toStr(t)&&canTrustToString(t)}function isBoolean(t){return"[object Boolean]"===toStr(t)&&canTrustToString(t)}function isSymbol(t){if(hasShammedSymbols)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!symToString)return!1;try{return symToString.call(t),!0}catch(t){}return!1}function isBigInt(t){if(!t||"object"!=typeof t||!bigIntValueOf)return!1;try{return bigIntValueOf.call(t),!0}catch(t){}return!1}module.exports=function inspect_(t,e,r,n){var o=e||{};if(has(o,"quoteStyle")&&!has(quotes,o.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has(o,"maxStringLength")&&("number"==typeof o.maxStringLength?o.maxStringLength<0&&o.maxStringLength!==1/0:null!==o.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var i=!has(o,"customInspect")||o.customInspect;if("boolean"!=typeof i&&"symbol"!==i)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has(o,"indent")&&null!==o.indent&&"\t"!==o.indent&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has(o,"numericSeparator")&&"boolean"!=typeof o.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var a=o.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return inspectString(t,o);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var c=String(t);return a?addNumericSeparator(t,c):c}if("bigint"==typeof t){var l=String(t)+"n";return a?addNumericSeparator(t,l):l}var u=void 0===o.depth?5:o.depth;if(void 0===r&&(r=0),r>=u&&u>0&&"object"==typeof t)return isArray(t)?"[Array]":"[Object]";var p=getIndent(o,r);if(void 0===n)n=[];else if(indexOf(n,t)>=0)return"[Circular]";function inspect(t,e,i){if(e&&(n=$arrSlice.call(n)).push(e),i){var a={depth:o.depth};return has(o,"quoteStyle")&&(a.quoteStyle=o.quoteStyle),inspect_(t,a,r+1,n)}return inspect_(t,o,r+1,n)}if("function"==typeof t&&!isRegExp(t)){var s=nameOf(t),f=arrObjKeys(t,inspect);return"[Function"+(s?": "+s:" (anonymous)")+"]"+(f.length>0?" { "+$join.call(f,", ")+" }":"")}if(isSymbol(t)){var y=hasShammedSymbols?$replace.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):symToString.call(t);return"object"!=typeof t||hasShammedSymbols?y:markBoxed(y)}if(isElement(t)){for(var S="<"+$toLowerCase.call(String(t.nodeName)),g=t.attributes||[],m=0;m"}if(isArray(t)){if(0===t.length)return"[]";var b=arrObjKeys(t,inspect);return p&&!singleLineValues(b)?"["+indentedJoin(b,p)+"]":"[ "+$join.call(b,", ")+" ]"}if(isError(t)){var h=arrObjKeys(t,inspect);return"cause"in Error.prototype||!("cause"in t)||isEnumerable.call(t,"cause")?0===h.length?"["+String(t)+"]":"{ ["+String(t)+"] "+$join.call(h,", ")+" }":"{ ["+String(t)+"] "+$join.call($concat.call("[cause]: "+inspect(t.cause),h),", ")+" }"}if("object"==typeof t&&i){if(inspectSymbol&&"function"==typeof t[inspectSymbol]&&utilInspect)return utilInspect(t,{depth:u-r});if("symbol"!==i&&"function"==typeof t.inspect)return t.inspect()}if(isMap(t)){var d=[];return mapForEach&&mapForEach.call(t,function(e,r){d.push(inspect(r,t,!0)+" => "+inspect(e,t))}),collectionOf("Map",mapSize.call(t),d,p)}if(isSet(t)){var O=[];return setForEach&&setForEach.call(t,function(e){O.push(inspect(e,t))}),collectionOf("Set",setSize.call(t),O,p)}if(isWeakMap(t))return weakCollectionOf("WeakMap");if(isWeakSet(t))return weakCollectionOf("WeakSet");if(isWeakRef(t))return weakCollectionOf("WeakRef");if(isNumber(t))return markBoxed(inspect(Number(t)));if(isBigInt(t))return markBoxed(inspect(bigIntValueOf.call(t)));if(isBoolean(t))return markBoxed(booleanValueOf.call(t));if(isString(t))return markBoxed(inspect(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||"undefined"!=typeof global&&t===global)return"{ [object globalThis] }";if(!isDate(t)&&!isRegExp(t)){var j=arrObjKeys(t,inspect),w=gPO?gPO(t)===Object.prototype:t instanceof Object||t.constructor===Object,$=t instanceof Object?"":"null prototype",v=!w&&toStringTag&&Object(t)===t&&toStringTag in t?$slice.call(toStr(t),8,-1):$?"Object":"",k=(w||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(v||$?"["+$join.call($concat.call([],v||[],$||[]),": ")+"] ":"");return 0===j.length?k+"{}":p?k+"{"+indentedJoin(j,p)+"}":k+"{ "+$join.call(j,", ")+" }"}return String(t)};var hasOwn=Object.prototype.hasOwnProperty||function(t){return t in this};function has(t,e){return hasOwn.call(t,e)}function toStr(t){return objectToString.call(t)}function nameOf(t){if(t.name)return t.name;var e=$match.call(functionToString.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function indexOf(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return inspectString($slice.call(t,0,e.maxStringLength),e)+n}var o=quoteREs[e.quoteStyle||"single"];return o.lastIndex=0,wrapQuotes($replace.call($replace.call(t,o,"\\$1"),/[\x00-\x1f]/g,lowbyte),"single",e)}function lowbyte(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+$toUpperCase.call(e.toString(16))}function markBoxed(t){return"Object("+t+")"}function weakCollectionOf(t){return t+" { ? }"}function collectionOf(t,e,r,n){return t+" ("+e+") {"+(n?indentedJoin(r,n):$join.call(r,", "))+"}"}function singleLineValues(t){for(var e=0;e=0)return!1;return!0}function getIndent(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=$join.call(Array(t.indent+1)," ")}return{base:r,prev:$join.call(Array(e+1),r)}}function indentedJoin(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+$join.call(t,","+r)+"\n"+e.prev}function arrObjKeys(t,e){var r=isArray(t),n=[];if(r){n.length=t.length;for(var o=0;o -1) { + return val.split(','); + } + + if (options.throwOnLimitExceeded && currentArrayLength >= options.arrayLimit) { + throw new RangeError('Array limit exceeded. Only ' + options.arrayLimit + ' element' + (options.arrayLimit === 1 ? '' : 's') + ' allowed in an array.'); + } + + return val; +}; + +// This is what browsers will submit when the ✓ character occurs in an +// application/x-www-form-urlencoded body and the encoding of the page containing +// the form is iso-8859-1, or when the submitted form has an accept-charset +// attribute of iso-8859-1. Presumably also with other charsets that do not contain +// the ✓ character, such as us-ascii. +var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓') + +// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded. +var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓') + +var parseValues = function parseQueryStringValues(str, options) { + var obj = { __proto__: null }; + + var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str; + cleanStr = cleanStr.replace(/%5B/gi, '[').replace(/%5D/gi, ']'); + + var limit = options.parameterLimit === Infinity ? void undefined : options.parameterLimit; + var parts = cleanStr.split( + options.delimiter, + options.throwOnLimitExceeded ? limit + 1 : limit + ); + + if (options.throwOnLimitExceeded && parts.length > limit) { + throw new RangeError('Parameter limit exceeded. Only ' + limit + ' parameter' + (limit === 1 ? '' : 's') + ' allowed.'); + } + + var skipIndex = -1; // Keep track of where the utf8 sentinel was found + var i; + + var charset = options.charset; + if (options.charsetSentinel) { + for (i = 0; i < parts.length; ++i) { + if (parts[i].indexOf('utf8=') === 0) { + if (parts[i] === charsetSentinel) { + charset = 'utf-8'; + } else if (parts[i] === isoSentinel) { + charset = 'iso-8859-1'; + } + skipIndex = i; + i = parts.length; // The eslint settings do not allow break; + } + } + } + + for (i = 0; i < parts.length; ++i) { + if (i === skipIndex) { + continue; + } + var part = parts[i]; + + var bracketEqualsPos = part.indexOf(']='); + var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1; + + var key; + var val; + if (pos === -1) { + key = options.decoder(part, defaults.decoder, charset, 'key'); + val = options.strictNullHandling ? null : ''; + } else { + key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key'); + + if (key !== null) { + val = utils.maybeMap( + parseArrayValue( + part.slice(pos + 1), + options, + isArray(obj[key]) ? obj[key].length : 0 + ), + function (encodedVal) { + return options.decoder(encodedVal, defaults.decoder, charset, 'value'); + } + ); + } + } + + if (val && options.interpretNumericEntities && charset === 'iso-8859-1') { + val = interpretNumericEntities(String(val)); + } + + if (part.indexOf('[]=') > -1) { + val = isArray(val) ? [val] : val; + } + + if (options.comma && isArray(val) && val.length > options.arrayLimit) { + if (options.throwOnLimitExceeded) { + throw new RangeError('Array limit exceeded. Only ' + options.arrayLimit + ' element' + (options.arrayLimit === 1 ? '' : 's') + ' allowed in an array.'); + } + val = utils.combine([], val, options.arrayLimit, options.plainObjects); + } + + if (key !== null) { + var existing = has.call(obj, key); + if (existing && options.duplicates === 'combine') { + obj[key] = utils.combine( + obj[key], + val, + options.arrayLimit, + options.plainObjects + ); + } else if (!existing || options.duplicates === 'last') { + obj[key] = val; + } + } + } + + return obj; +}; + +var parseObject = function (chain, val, options, valuesParsed) { + var currentArrayLength = 0; + if (chain.length > 0 && chain[chain.length - 1] === '[]') { + var parentKey = chain.slice(0, -1).join(''); + currentArrayLength = Array.isArray(val) && val[parentKey] ? val[parentKey].length : 0; + } + + var leaf = valuesParsed ? val : parseArrayValue(val, options, currentArrayLength); + + for (var i = chain.length - 1; i >= 0; --i) { + var obj; + var root = chain[i]; + + if (root === '[]' && options.parseArrays) { + if (utils.isOverflow(leaf)) { + // leaf is already an overflow object, preserve it + obj = leaf; + } else { + obj = options.allowEmptyArrays && (leaf === '' || (options.strictNullHandling && leaf === null)) + ? [] + : utils.combine( + [], + leaf, + options.arrayLimit, + options.plainObjects + ); + } + } else { + obj = options.plainObjects ? { __proto__: null } : {}; + var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root; + var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, '.') : cleanRoot; + var index = parseInt(decodedRoot, 10); + var isValidArrayIndex = !isNaN(index) + && root !== decodedRoot + && String(index) === decodedRoot + && index >= 0 + && options.parseArrays; + if (!options.parseArrays && decodedRoot === '') { + obj = { 0: leaf }; + } else if (isValidArrayIndex && index < options.arrayLimit) { + obj = []; + obj[index] = leaf; + } else if (isValidArrayIndex && options.throwOnLimitExceeded) { + throw new RangeError('Array limit exceeded. Only ' + options.arrayLimit + ' element' + (options.arrayLimit === 1 ? '' : 's') + ' allowed in an array.'); + } else if (isValidArrayIndex) { + obj[index] = leaf; + utils.markOverflow(obj, index); + } else if (decodedRoot !== '__proto__') { + obj[decodedRoot] = leaf; + } + } + + leaf = obj; + } + + return leaf; +}; + +var splitKeyIntoSegments = function splitKeyIntoSegments(givenKey, options) { + var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey; + + if (options.depth <= 0) { + if (!options.plainObjects && has.call(Object.prototype, key)) { + if (!options.allowPrototypes) { + return; + } + } + + return [key]; + } + + var brackets = /(\[[^[\]]*])/; + var child = /(\[[^[\]]*])/g; + + var segment = brackets.exec(key); + var parent = segment ? key.slice(0, segment.index) : key; + + var keys = []; + + if (parent) { + if (!options.plainObjects && has.call(Object.prototype, parent)) { + if (!options.allowPrototypes) { + return; + } + } + + keys[keys.length] = parent; + } + + var i = 0; + while ((segment = child.exec(key)) !== null && i < options.depth) { + i += 1; + + var segmentContent = segment[1].slice(1, -1); + if (!options.plainObjects && has.call(Object.prototype, segmentContent)) { + if (!options.allowPrototypes) { + return; + } + } + + keys[keys.length] = segment[1]; + } + + if (segment) { + if (options.strictDepth === true) { + throw new RangeError('Input depth exceeded depth option of ' + options.depth + ' and strictDepth is true'); + } + + keys[keys.length] = '[' + key.slice(segment.index) + ']'; + } + + return keys; +}; + +var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) { + if (!givenKey) { + return; + } + + var keys = splitKeyIntoSegments(givenKey, options); + + if (!keys) { + return; + } + + return parseObject(keys, val, options, valuesParsed); +}; + +var normalizeParseOptions = function normalizeParseOptions(opts) { + if (!opts) { + return defaults; + } + + if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') { + throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided'); + } + + if (typeof opts.decodeDotInKeys !== 'undefined' && typeof opts.decodeDotInKeys !== 'boolean') { + throw new TypeError('`decodeDotInKeys` option can only be `true` or `false`, when provided'); + } + + if (opts.decoder !== null && typeof opts.decoder !== 'undefined' && typeof opts.decoder !== 'function') { + throw new TypeError('Decoder has to be a function.'); + } + + if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') { + throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); + } + + if (typeof opts.throwOnLimitExceeded !== 'undefined' && typeof opts.throwOnLimitExceeded !== 'boolean') { + throw new TypeError('`throwOnLimitExceeded` option must be a boolean'); + } + + var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset; + + var duplicates = typeof opts.duplicates === 'undefined' ? defaults.duplicates : opts.duplicates; + + if (duplicates !== 'combine' && duplicates !== 'first' && duplicates !== 'last') { + throw new TypeError('The duplicates option must be either combine, first, or last'); + } + + var allowDots = typeof opts.allowDots === 'undefined' ? opts.decodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots; + + return { + allowDots: allowDots, + allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays, + allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes, + allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse, + arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit, + charset: charset, + charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel, + comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma, + decodeDotInKeys: typeof opts.decodeDotInKeys === 'boolean' ? opts.decodeDotInKeys : defaults.decodeDotInKeys, + decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder, + delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter, + // eslint-disable-next-line no-implicit-coercion, no-extra-parens + depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth, + duplicates: duplicates, + ignoreQueryPrefix: opts.ignoreQueryPrefix === true, + interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities, + parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit, + parseArrays: opts.parseArrays !== false, + plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects, + strictDepth: typeof opts.strictDepth === 'boolean' ? !!opts.strictDepth : defaults.strictDepth, + strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling, + throwOnLimitExceeded: typeof opts.throwOnLimitExceeded === 'boolean' ? opts.throwOnLimitExceeded : false + }; +}; + +module.exports = function (str, opts) { + var options = normalizeParseOptions(opts); + + if (str === '' || str === null || typeof str === 'undefined') { + return options.plainObjects ? { __proto__: null } : {}; + } + + var tempObj = typeof str === 'string' ? parseValues(str, options) : str; + var obj = options.plainObjects ? { __proto__: null } : {}; + + // Iterate over the keys and setup the new object + + var keys = Object.keys(tempObj); + for (var i = 0; i < keys.length; ++i) { + var key = keys[i]; + var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string'); + obj = utils.merge(obj, newObj, options); + } + + if (options.allowSparse === true) { + return obj; + } + + return utils.compact(obj); +}; diff --git a/node_modules/qs/lib/stringify.js b/node_modules/qs/lib/stringify.js new file mode 100644 index 0000000..2666eaf --- /dev/null +++ b/node_modules/qs/lib/stringify.js @@ -0,0 +1,356 @@ +'use strict'; + +var getSideChannel = require('side-channel'); +var utils = require('./utils'); +var formats = require('./formats'); +var has = Object.prototype.hasOwnProperty; + +var arrayPrefixGenerators = { + brackets: function brackets(prefix) { + return prefix + '[]'; + }, + comma: 'comma', + indices: function indices(prefix, key) { + return prefix + '[' + key + ']'; + }, + repeat: function repeat(prefix) { + return prefix; + } +}; + +var isArray = Array.isArray; +var push = Array.prototype.push; +var pushToArray = function (arr, valueOrArray) { + push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]); +}; + +var toISO = Date.prototype.toISOString; + +var defaultFormat = formats['default']; +var defaults = { + addQueryPrefix: false, + allowDots: false, + allowEmptyArrays: false, + arrayFormat: 'indices', + charset: 'utf-8', + charsetSentinel: false, + commaRoundTrip: false, + delimiter: '&', + encode: true, + encodeDotInKeys: false, + encoder: utils.encode, + encodeValuesOnly: false, + filter: void undefined, + format: defaultFormat, + formatter: formats.formatters[defaultFormat], + // deprecated + indices: false, + serializeDate: function serializeDate(date) { + return toISO.call(date); + }, + skipNulls: false, + strictNullHandling: false +}; + +var isNonNullishPrimitive = function isNonNullishPrimitive(v) { + return typeof v === 'string' + || typeof v === 'number' + || typeof v === 'boolean' + || typeof v === 'symbol' + || typeof v === 'bigint'; +}; + +var sentinel = {}; + +var stringify = function stringify( + object, + prefix, + generateArrayPrefix, + commaRoundTrip, + allowEmptyArrays, + strictNullHandling, + skipNulls, + encodeDotInKeys, + encoder, + filter, + sort, + allowDots, + serializeDate, + format, + formatter, + encodeValuesOnly, + charset, + sideChannel +) { + var obj = object; + + var tmpSc = sideChannel; + var step = 0; + var findFlag = false; + while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) { + // Where object last appeared in the ref tree + var pos = tmpSc.get(object); + step += 1; + if (typeof pos !== 'undefined') { + if (pos === step) { + throw new RangeError('Cyclic object value'); + } else { + findFlag = true; // Break while + } + } + if (typeof tmpSc.get(sentinel) === 'undefined') { + step = 0; + } + } + + if (typeof filter === 'function') { + obj = filter(prefix, obj); + } else if (obj instanceof Date) { + obj = serializeDate(obj); + } else if (generateArrayPrefix === 'comma' && isArray(obj)) { + obj = utils.maybeMap(obj, function (value) { + if (value instanceof Date) { + return serializeDate(value); + } + return value; + }); + } + + if (obj === null) { + if (strictNullHandling) { + return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix; + } + + obj = ''; + } + + if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) { + if (encoder) { + var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format); + return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))]; + } + return [formatter(prefix) + '=' + formatter(String(obj))]; + } + + var values = []; + + if (typeof obj === 'undefined') { + return values; + } + + var objKeys; + if (generateArrayPrefix === 'comma' && isArray(obj)) { + // we need to join elements in + if (encodeValuesOnly && encoder) { + obj = utils.maybeMap(obj, encoder); + } + objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }]; + } else if (isArray(filter)) { + objKeys = filter; + } else { + var keys = Object.keys(obj); + objKeys = sort ? keys.sort(sort) : keys; + } + + var encodedPrefix = encodeDotInKeys ? String(prefix).replace(/\./g, '%2E') : String(prefix); + + var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + '[]' : encodedPrefix; + + if (allowEmptyArrays && isArray(obj) && obj.length === 0) { + return adjustedPrefix + '[]'; + } + + for (var j = 0; j < objKeys.length; ++j) { + var key = objKeys[j]; + var value = typeof key === 'object' && key && typeof key.value !== 'undefined' + ? key.value + : obj[key]; + + if (skipNulls && value === null) { + continue; + } + + var encodedKey = allowDots && encodeDotInKeys ? String(key).replace(/\./g, '%2E') : String(key); + var keyPrefix = isArray(obj) + ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix + : adjustedPrefix + (allowDots ? '.' + encodedKey : '[' + encodedKey + ']'); + + sideChannel.set(object, step); + var valueSideChannel = getSideChannel(); + valueSideChannel.set(sentinel, sideChannel); + pushToArray(values, stringify( + value, + keyPrefix, + generateArrayPrefix, + commaRoundTrip, + allowEmptyArrays, + strictNullHandling, + skipNulls, + encodeDotInKeys, + generateArrayPrefix === 'comma' && encodeValuesOnly && isArray(obj) ? null : encoder, + filter, + sort, + allowDots, + serializeDate, + format, + formatter, + encodeValuesOnly, + charset, + valueSideChannel + )); + } + + return values; +}; + +var normalizeStringifyOptions = function normalizeStringifyOptions(opts) { + if (!opts) { + return defaults; + } + + if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') { + throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided'); + } + + if (typeof opts.encodeDotInKeys !== 'undefined' && typeof opts.encodeDotInKeys !== 'boolean') { + throw new TypeError('`encodeDotInKeys` option can only be `true` or `false`, when provided'); + } + + if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') { + throw new TypeError('Encoder has to be a function.'); + } + + var charset = opts.charset || defaults.charset; + if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') { + throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); + } + + var format = formats['default']; + if (typeof opts.format !== 'undefined') { + if (!has.call(formats.formatters, opts.format)) { + throw new TypeError('Unknown format option provided.'); + } + format = opts.format; + } + var formatter = formats.formatters[format]; + + var filter = defaults.filter; + if (typeof opts.filter === 'function' || isArray(opts.filter)) { + filter = opts.filter; + } + + var arrayFormat; + if (opts.arrayFormat in arrayPrefixGenerators) { + arrayFormat = opts.arrayFormat; + } else if ('indices' in opts) { + arrayFormat = opts.indices ? 'indices' : 'repeat'; + } else { + arrayFormat = defaults.arrayFormat; + } + + if ('commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') { + throw new TypeError('`commaRoundTrip` must be a boolean, or absent'); + } + + var allowDots = typeof opts.allowDots === 'undefined' ? opts.encodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots; + + return { + addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix, + allowDots: allowDots, + allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays, + arrayFormat: arrayFormat, + charset: charset, + charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel, + commaRoundTrip: !!opts.commaRoundTrip, + delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter, + encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode, + encodeDotInKeys: typeof opts.encodeDotInKeys === 'boolean' ? opts.encodeDotInKeys : defaults.encodeDotInKeys, + encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder, + encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly, + filter: filter, + format: format, + formatter: formatter, + serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate, + skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls, + sort: typeof opts.sort === 'function' ? opts.sort : null, + strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling + }; +}; + +module.exports = function (object, opts) { + var obj = object; + var options = normalizeStringifyOptions(opts); + + var objKeys; + var filter; + + if (typeof options.filter === 'function') { + filter = options.filter; + obj = filter('', obj); + } else if (isArray(options.filter)) { + filter = options.filter; + objKeys = filter; + } + + var keys = []; + + if (typeof obj !== 'object' || obj === null) { + return ''; + } + + var generateArrayPrefix = arrayPrefixGenerators[options.arrayFormat]; + var commaRoundTrip = generateArrayPrefix === 'comma' && options.commaRoundTrip; + + if (!objKeys) { + objKeys = Object.keys(obj); + } + + if (options.sort) { + objKeys.sort(options.sort); + } + + var sideChannel = getSideChannel(); + for (var i = 0; i < objKeys.length; ++i) { + var key = objKeys[i]; + var value = obj[key]; + + if (options.skipNulls && value === null) { + continue; + } + pushToArray(keys, stringify( + value, + key, + generateArrayPrefix, + commaRoundTrip, + options.allowEmptyArrays, + options.strictNullHandling, + options.skipNulls, + options.encodeDotInKeys, + options.encode ? options.encoder : null, + options.filter, + options.sort, + options.allowDots, + options.serializeDate, + options.format, + options.formatter, + options.encodeValuesOnly, + options.charset, + sideChannel + )); + } + + var joined = keys.join(options.delimiter); + var prefix = options.addQueryPrefix === true ? '?' : ''; + + if (options.charsetSentinel) { + if (options.charset === 'iso-8859-1') { + // encodeURIComponent('✓'), the "numeric entity" representation of a checkmark + prefix += 'utf8=%26%2310003%3B&'; + } else { + // encodeURIComponent('✓') + prefix += 'utf8=%E2%9C%93&'; + } + } + + return joined.length > 0 ? prefix + joined : ''; +}; diff --git a/node_modules/qs/lib/utils.js b/node_modules/qs/lib/utils.js new file mode 100644 index 0000000..8e10e39 --- /dev/null +++ b/node_modules/qs/lib/utils.js @@ -0,0 +1,340 @@ +'use strict'; + +var formats = require('./formats'); +var getSideChannel = require('side-channel'); + +var has = Object.prototype.hasOwnProperty; +var isArray = Array.isArray; + +// Track objects created from arrayLimit overflow using side-channel +// Stores the current max numeric index for O(1) lookup +var overflowChannel = getSideChannel(); + +var markOverflow = function markOverflow(obj, maxIndex) { + overflowChannel.set(obj, maxIndex); + return obj; +}; + +var isOverflow = function isOverflow(obj) { + return overflowChannel.has(obj); +}; + +var getMaxIndex = function getMaxIndex(obj) { + return overflowChannel.get(obj); +}; + +var setMaxIndex = function setMaxIndex(obj, maxIndex) { + overflowChannel.set(obj, maxIndex); +}; + +var hexTable = (function () { + var array = []; + for (var i = 0; i < 256; ++i) { + array[array.length] = '%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase(); + } + + return array; +}()); + +var compactQueue = function compactQueue(queue) { + while (queue.length > 1) { + var item = queue.pop(); + var obj = item.obj[item.prop]; + + if (isArray(obj)) { + var compacted = []; + + for (var j = 0; j < obj.length; ++j) { + if (typeof obj[j] !== 'undefined') { + compacted[compacted.length] = obj[j]; + } + } + + item.obj[item.prop] = compacted; + } + } +}; + +var arrayToObject = function arrayToObject(source, options) { + var obj = options && options.plainObjects ? { __proto__: null } : {}; + for (var i = 0; i < source.length; ++i) { + if (typeof source[i] !== 'undefined') { + obj[i] = source[i]; + } + } + + return obj; +}; + +var merge = function merge(target, source, options) { + /* eslint no-param-reassign: 0 */ + if (!source) { + return target; + } + + if (typeof source !== 'object' && typeof source !== 'function') { + if (isArray(target)) { + var nextIndex = target.length; + if (options && typeof options.arrayLimit === 'number' && nextIndex > options.arrayLimit) { + return markOverflow(arrayToObject(target.concat(source), options), nextIndex); + } + target[nextIndex] = source; + } else if (target && typeof target === 'object') { + if (isOverflow(target)) { + // Add at next numeric index for overflow objects + var newIndex = getMaxIndex(target) + 1; + target[newIndex] = source; + setMaxIndex(target, newIndex); + } else if ( + (options && (options.plainObjects || options.allowPrototypes)) + || !has.call(Object.prototype, source) + ) { + target[source] = true; + } + } else { + return [target, source]; + } + + return target; + } + + if (!target || typeof target !== 'object') { + if (isOverflow(source)) { + // Create new object with target at 0, source values shifted by 1 + var sourceKeys = Object.keys(source); + var result = options && options.plainObjects + ? { __proto__: null, 0: target } + : { 0: target }; + for (var m = 0; m < sourceKeys.length; m++) { + var oldKey = parseInt(sourceKeys[m], 10); + result[oldKey + 1] = source[sourceKeys[m]]; + } + return markOverflow(result, getMaxIndex(source) + 1); + } + var combined = [target].concat(source); + if (options && typeof options.arrayLimit === 'number' && combined.length > options.arrayLimit) { + return markOverflow(arrayToObject(combined, options), combined.length - 1); + } + return combined; + } + + var mergeTarget = target; + if (isArray(target) && !isArray(source)) { + mergeTarget = arrayToObject(target, options); + } + + if (isArray(target) && isArray(source)) { + source.forEach(function (item, i) { + if (has.call(target, i)) { + var targetItem = target[i]; + if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') { + target[i] = merge(targetItem, item, options); + } else { + target[target.length] = item; + } + } else { + target[i] = item; + } + }); + return target; + } + + return Object.keys(source).reduce(function (acc, key) { + var value = source[key]; + + if (has.call(acc, key)) { + acc[key] = merge(acc[key], value, options); + } else { + acc[key] = value; + } + + if (isOverflow(source) && !isOverflow(acc)) { + markOverflow(acc, getMaxIndex(source)); + } + if (isOverflow(acc)) { + var keyNum = parseInt(key, 10); + if (String(keyNum) === key && keyNum >= 0 && keyNum > getMaxIndex(acc)) { + setMaxIndex(acc, keyNum); + } + } + + return acc; + }, mergeTarget); +}; + +var assign = function assignSingleSource(target, source) { + return Object.keys(source).reduce(function (acc, key) { + acc[key] = source[key]; + return acc; + }, target); +}; + +var decode = function (str, defaultDecoder, charset) { + var strWithoutPlus = str.replace(/\+/g, ' '); + if (charset === 'iso-8859-1') { + // unescape never throws, no try...catch needed: + return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape); + } + // utf-8 + try { + return decodeURIComponent(strWithoutPlus); + } catch (e) { + return strWithoutPlus; + } +}; + +var limit = 1024; + +/* eslint operator-linebreak: [2, "before"] */ + +var encode = function encode(str, defaultEncoder, charset, kind, format) { + // This code was originally written by Brian White (mscdex) for the io.js core querystring library. + // It has been adapted here for stricter adherence to RFC 3986 + if (str.length === 0) { + return str; + } + + var string = str; + if (typeof str === 'symbol') { + string = Symbol.prototype.toString.call(str); + } else if (typeof str !== 'string') { + string = String(str); + } + + if (charset === 'iso-8859-1') { + return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) { + return '%26%23' + parseInt($0.slice(2), 16) + '%3B'; + }); + } + + var out = ''; + for (var j = 0; j < string.length; j += limit) { + var segment = string.length >= limit ? string.slice(j, j + limit) : string; + var arr = []; + + for (var i = 0; i < segment.length; ++i) { + var c = segment.charCodeAt(i); + if ( + c === 0x2D // - + || c === 0x2E // . + || c === 0x5F // _ + || c === 0x7E // ~ + || (c >= 0x30 && c <= 0x39) // 0-9 + || (c >= 0x41 && c <= 0x5A) // a-z + || (c >= 0x61 && c <= 0x7A) // A-Z + || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( ) + ) { + arr[arr.length] = segment.charAt(i); + continue; + } + + if (c < 0x80) { + arr[arr.length] = hexTable[c]; + continue; + } + + if (c < 0x800) { + arr[arr.length] = hexTable[0xC0 | (c >> 6)] + + hexTable[0x80 | (c & 0x3F)]; + continue; + } + + if (c < 0xD800 || c >= 0xE000) { + arr[arr.length] = hexTable[0xE0 | (c >> 12)] + + hexTable[0x80 | ((c >> 6) & 0x3F)] + + hexTable[0x80 | (c & 0x3F)]; + continue; + } + + i += 1; + c = 0x10000 + (((c & 0x3FF) << 10) | (segment.charCodeAt(i) & 0x3FF)); + + arr[arr.length] = hexTable[0xF0 | (c >> 18)] + + hexTable[0x80 | ((c >> 12) & 0x3F)] + + hexTable[0x80 | ((c >> 6) & 0x3F)] + + hexTable[0x80 | (c & 0x3F)]; + } + + out += arr.join(''); + } + + return out; +}; + +var compact = function compact(value) { + var queue = [{ obj: { o: value }, prop: 'o' }]; + var refs = []; + + for (var i = 0; i < queue.length; ++i) { + var item = queue[i]; + var obj = item.obj[item.prop]; + + var keys = Object.keys(obj); + for (var j = 0; j < keys.length; ++j) { + var key = keys[j]; + var val = obj[key]; + if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) { + queue[queue.length] = { obj: obj, prop: key }; + refs[refs.length] = val; + } + } + } + + compactQueue(queue); + + return value; +}; + +var isRegExp = function isRegExp(obj) { + return Object.prototype.toString.call(obj) === '[object RegExp]'; +}; + +var isBuffer = function isBuffer(obj) { + if (!obj || typeof obj !== 'object') { + return false; + } + + return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj)); +}; + +var combine = function combine(a, b, arrayLimit, plainObjects) { + // If 'a' is already an overflow object, add to it + if (isOverflow(a)) { + var newIndex = getMaxIndex(a) + 1; + a[newIndex] = b; + setMaxIndex(a, newIndex); + return a; + } + + var result = [].concat(a, b); + if (result.length > arrayLimit) { + return markOverflow(arrayToObject(result, { plainObjects: plainObjects }), result.length - 1); + } + return result; +}; + +var maybeMap = function maybeMap(val, fn) { + if (isArray(val)) { + var mapped = []; + for (var i = 0; i < val.length; i += 1) { + mapped[mapped.length] = fn(val[i]); + } + return mapped; + } + return fn(val); +}; + +module.exports = { + arrayToObject: arrayToObject, + assign: assign, + combine: combine, + compact: compact, + decode: decode, + encode: encode, + isBuffer: isBuffer, + isOverflow: isOverflow, + isRegExp: isRegExp, + markOverflow: markOverflow, + maybeMap: maybeMap, + merge: merge +}; diff --git a/node_modules/qs/package.json b/node_modules/qs/package.json new file mode 100644 index 0000000..cb5cfbe --- /dev/null +++ b/node_modules/qs/package.json @@ -0,0 +1,94 @@ +{ + "name": "qs", + "description": "A querystring parser that supports nesting and arrays, with a depth limit", + "homepage": "https://github.com/ljharb/qs", + "version": "6.14.2", + "repository": { + "type": "git", + "url": "https://github.com/ljharb/qs.git" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "main": "lib/index.js", + "sideEffects": false, + "contributors": [ + { + "name": "Jordan Harband", + "email": "ljharb@gmail.com", + "url": "http://ljharb.codes" + } + ], + "keywords": [ + "querystring", + "qs", + "query", + "url", + "parse", + "stringify" + ], + "engines": { + "node": ">=0.6" + }, + "dependencies": { + "side-channel": "^1.1.0" + }, + "devDependencies": { + "@browserify/envify": "^6.0.0", + "@browserify/uglifyify": "^6.0.0", + "@ljharb/eslint-config": "^22.1.3", + "browserify": "^16.5.2", + "bundle-collapser": "^1.4.0", + "common-shakeify": "~1.0.0", + "eclint": "^2.8.1", + "es-value-fixtures": "^1.7.1", + "eslint": "^9.39.2", + "evalmd": "^0.0.19", + "for-each": "^0.3.5", + "glob": "=10.3.7", + "has-bigints": "^1.1.0", + "has-override-mistake": "^1.0.1", + "has-property-descriptors": "^1.0.2", + "has-proto": "^1.2.0", + "has-symbols": "^1.1.0", + "iconv-lite": "^0.5.1", + "in-publish": "^2.0.1", + "jackspeak": "=2.1.1", + "jiti": "^0.0.0", + "mkdirp": "^0.5.5", + "mock-property": "^1.1.0", + "module-deps": "^6.2.3", + "npmignore": "^0.3.5", + "nyc": "^10.3.2", + "object-inspect": "^1.13.4", + "qs-iconv": "^1.0.4", + "safe-publish-latest": "^2.0.0", + "safer-buffer": "^2.1.2", + "tape": "^5.9.0", + "unassertify": "^3.0.1" + }, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated && npm run dist", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "pretest": "npm run --silent readme && npm run --silent lint", + "test": "npm run tests-only", + "tests-only": "nyc tape 'test/**/*.js'", + "posttest": "npx npm@'>=10.2' audit --production", + "readme": "evalmd README.md", + "postlint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)", + "lint": "eslint .", + "dist": "mkdirp dist && browserify --standalone Qs -g unassertify -g @browserify/envify -g [@browserify/uglifyify --mangle.keep_fnames --compress.keep_fnames --format.indent_level=1 --compress.arrows=false --compress.passes=4 --compress.typeofs=false] -p common-shakeify -p bundle-collapser/plugin lib/index.js > dist/qs.js" + }, + "license": "BSD-3-Clause", + "publishConfig": { + "ignore": [ + "!dist/*", + "bower.json", + "component.json", + ".github/workflows", + "logos", + "tea.yaml" + ] + } +} diff --git a/node_modules/qs/test/empty-keys-cases.js b/node_modules/qs/test/empty-keys-cases.js new file mode 100644 index 0000000..2b1190e --- /dev/null +++ b/node_modules/qs/test/empty-keys-cases.js @@ -0,0 +1,267 @@ +'use strict'; + +module.exports = { + emptyTestCases: [ + { + input: '&', + withEmptyKeys: {}, + stringifyOutput: { + brackets: '', + indices: '', + repeat: '' + }, + noEmptyKeys: {} + }, + { + input: '&&', + withEmptyKeys: {}, + stringifyOutput: { + brackets: '', + indices: '', + repeat: '' + }, + noEmptyKeys: {} + }, + { + input: '&=', + withEmptyKeys: { '': '' }, + stringifyOutput: { + brackets: '=', + indices: '=', + repeat: '=' + }, + noEmptyKeys: {} + }, + { + input: '&=&', + withEmptyKeys: { '': '' }, + stringifyOutput: { + brackets: '=', + indices: '=', + repeat: '=' + }, + noEmptyKeys: {} + }, + { + input: '&=&=', + withEmptyKeys: { '': ['', ''] }, + stringifyOutput: { + brackets: '[]=&[]=', + indices: '[0]=&[1]=', + repeat: '=&=' + }, + noEmptyKeys: {} + }, + { + input: '&=&=&', + withEmptyKeys: { '': ['', ''] }, + stringifyOutput: { + brackets: '[]=&[]=', + indices: '[0]=&[1]=', + repeat: '=&=' + }, + noEmptyKeys: {} + }, + { + input: '=', + withEmptyKeys: { '': '' }, + noEmptyKeys: {}, + stringifyOutput: { + brackets: '=', + indices: '=', + repeat: '=' + } + }, + { + input: '=&', + withEmptyKeys: { '': '' }, + stringifyOutput: { + brackets: '=', + indices: '=', + repeat: '=' + }, + noEmptyKeys: {} + }, + { + input: '=&&&', + withEmptyKeys: { '': '' }, + stringifyOutput: { + brackets: '=', + indices: '=', + repeat: '=' + }, + noEmptyKeys: {} + }, + { + input: '=&=&=&', + withEmptyKeys: { '': ['', '', ''] }, + stringifyOutput: { + brackets: '[]=&[]=&[]=', + indices: '[0]=&[1]=&[2]=', + repeat: '=&=&=' + }, + noEmptyKeys: {} + }, + { + input: '=&a[]=b&a[1]=c', + withEmptyKeys: { '': '', a: ['b', 'c'] }, + stringifyOutput: { + brackets: '=&a[]=b&a[]=c', + indices: '=&a[0]=b&a[1]=c', + repeat: '=&a=b&a=c' + }, + noEmptyKeys: { a: ['b', 'c'] } + }, + { + input: '=a', + withEmptyKeys: { '': 'a' }, + noEmptyKeys: {}, + stringifyOutput: { + brackets: '=a', + indices: '=a', + repeat: '=a' + } + }, + { + input: 'a==a', + withEmptyKeys: { a: '=a' }, + noEmptyKeys: { a: '=a' }, + stringifyOutput: { + brackets: 'a==a', + indices: 'a==a', + repeat: 'a==a' + } + }, + { + input: '=&a[]=b', + withEmptyKeys: { '': '', a: ['b'] }, + stringifyOutput: { + brackets: '=&a[]=b', + indices: '=&a[0]=b', + repeat: '=&a=b' + }, + noEmptyKeys: { a: ['b'] } + }, + { + input: '=&a[]=b&a[]=c&a[2]=d', + withEmptyKeys: { '': '', a: ['b', 'c', 'd'] }, + stringifyOutput: { + brackets: '=&a[]=b&a[]=c&a[]=d', + indices: '=&a[0]=b&a[1]=c&a[2]=d', + repeat: '=&a=b&a=c&a=d' + }, + noEmptyKeys: { a: ['b', 'c', 'd'] } + }, + { + input: '=a&=b', + withEmptyKeys: { '': ['a', 'b'] }, + stringifyOutput: { + brackets: '[]=a&[]=b', + indices: '[0]=a&[1]=b', + repeat: '=a&=b' + }, + noEmptyKeys: {} + }, + { + input: '=a&foo=b', + withEmptyKeys: { '': 'a', foo: 'b' }, + noEmptyKeys: { foo: 'b' }, + stringifyOutput: { + brackets: '=a&foo=b', + indices: '=a&foo=b', + repeat: '=a&foo=b' + } + }, + { + input: 'a[]=b&a=c&=', + withEmptyKeys: { '': '', a: ['b', 'c'] }, + stringifyOutput: { + brackets: '=&a[]=b&a[]=c', + indices: '=&a[0]=b&a[1]=c', + repeat: '=&a=b&a=c' + }, + noEmptyKeys: { a: ['b', 'c'] } + }, + { + input: 'a[]=b&a=c&=', + withEmptyKeys: { '': '', a: ['b', 'c'] }, + stringifyOutput: { + brackets: '=&a[]=b&a[]=c', + indices: '=&a[0]=b&a[1]=c', + repeat: '=&a=b&a=c' + }, + noEmptyKeys: { a: ['b', 'c'] } + }, + { + input: 'a[0]=b&a=c&=', + withEmptyKeys: { '': '', a: ['b', 'c'] }, + stringifyOutput: { + brackets: '=&a[]=b&a[]=c', + indices: '=&a[0]=b&a[1]=c', + repeat: '=&a=b&a=c' + }, + noEmptyKeys: { a: ['b', 'c'] } + }, + { + input: 'a=b&a[]=c&=', + withEmptyKeys: { '': '', a: ['b', 'c'] }, + stringifyOutput: { + brackets: '=&a[]=b&a[]=c', + indices: '=&a[0]=b&a[1]=c', + repeat: '=&a=b&a=c' + }, + noEmptyKeys: { a: ['b', 'c'] } + }, + { + input: 'a=b&a[0]=c&=', + withEmptyKeys: { '': '', a: ['b', 'c'] }, + stringifyOutput: { + brackets: '=&a[]=b&a[]=c', + indices: '=&a[0]=b&a[1]=c', + repeat: '=&a=b&a=c' + }, + noEmptyKeys: { a: ['b', 'c'] } + }, + { + input: '[]=a&[]=b& []=1', + withEmptyKeys: { '': ['a', 'b'], ' ': ['1'] }, + stringifyOutput: { + brackets: '[]=a&[]=b& []=1', + indices: '[0]=a&[1]=b& [0]=1', + repeat: '=a&=b& =1' + }, + noEmptyKeys: { 0: 'a', 1: 'b', ' ': ['1'] } + }, + { + input: '[0]=a&[1]=b&a[0]=1&a[1]=2', + withEmptyKeys: { '': ['a', 'b'], a: ['1', '2'] }, + noEmptyKeys: { 0: 'a', 1: 'b', a: ['1', '2'] }, + stringifyOutput: { + brackets: '[]=a&[]=b&a[]=1&a[]=2', + indices: '[0]=a&[1]=b&a[0]=1&a[1]=2', + repeat: '=a&=b&a=1&a=2' + } + }, + { + input: '[deep]=a&[deep]=2', + withEmptyKeys: { '': { deep: ['a', '2'] } + }, + stringifyOutput: { + brackets: '[deep][]=a&[deep][]=2', + indices: '[deep][0]=a&[deep][1]=2', + repeat: '[deep]=a&[deep]=2' + }, + noEmptyKeys: { deep: ['a', '2'] } + }, + { + input: '%5B0%5D=a&%5B1%5D=b', + withEmptyKeys: { '': ['a', 'b'] }, + stringifyOutput: { + brackets: '[]=a&[]=b', + indices: '[0]=a&[1]=b', + repeat: '=a&=b' + }, + noEmptyKeys: { 0: 'a', 1: 'b' } + } + ] +}; diff --git a/node_modules/qs/test/parse.js b/node_modules/qs/test/parse.js new file mode 100644 index 0000000..6234fef --- /dev/null +++ b/node_modules/qs/test/parse.js @@ -0,0 +1,1512 @@ +'use strict'; + +var test = require('tape'); +var hasPropertyDescriptors = require('has-property-descriptors')(); +var iconv = require('iconv-lite'); +var mockProperty = require('mock-property'); +var hasOverrideMistake = require('has-override-mistake')(); +var SaferBuffer = require('safer-buffer').Buffer; +var v = require('es-value-fixtures'); +var inspect = require('object-inspect'); +var emptyTestCases = require('./empty-keys-cases').emptyTestCases; +var hasProto = require('has-proto')(); + +var qs = require('../'); +var utils = require('../lib/utils'); + +test('parse()', function (t) { + t.test('parses a simple string', function (st) { + st.deepEqual(qs.parse('0=foo'), { 0: 'foo' }); + st.deepEqual(qs.parse('foo=c++'), { foo: 'c ' }); + st.deepEqual(qs.parse('a[>=]=23'), { a: { '>=': '23' } }); + st.deepEqual(qs.parse('a[<=>]==23'), { a: { '<=>': '=23' } }); + st.deepEqual(qs.parse('a[==]=23'), { a: { '==': '23' } }); + st.deepEqual(qs.parse('foo', { strictNullHandling: true }), { foo: null }); + st.deepEqual(qs.parse('foo'), { foo: '' }); + st.deepEqual(qs.parse('foo='), { foo: '' }); + st.deepEqual(qs.parse('foo=bar'), { foo: 'bar' }); + st.deepEqual(qs.parse(' foo = bar = baz '), { ' foo ': ' bar = baz ' }); + st.deepEqual(qs.parse('foo=bar=baz'), { foo: 'bar=baz' }); + st.deepEqual(qs.parse('foo=bar&bar=baz'), { foo: 'bar', bar: 'baz' }); + st.deepEqual(qs.parse('foo2=bar2&baz2='), { foo2: 'bar2', baz2: '' }); + st.deepEqual(qs.parse('foo=bar&baz', { strictNullHandling: true }), { foo: 'bar', baz: null }); + st.deepEqual(qs.parse('foo=bar&baz'), { foo: 'bar', baz: '' }); + st.deepEqual(qs.parse('cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World'), { + cht: 'p3', + chd: 't:60,40', + chs: '250x100', + chl: 'Hello|World' + }); + st.end(); + }); + + t.test('comma: false', function (st) { + st.deepEqual(qs.parse('a[]=b&a[]=c'), { a: ['b', 'c'] }); + st.deepEqual(qs.parse('a[0]=b&a[1]=c'), { a: ['b', 'c'] }); + st.deepEqual(qs.parse('a=b,c'), { a: 'b,c' }); + st.deepEqual(qs.parse('a=b&a=c'), { a: ['b', 'c'] }); + st.end(); + }); + + t.test('comma: true', function (st) { + st.deepEqual(qs.parse('a[]=b&a[]=c', { comma: true }), { a: ['b', 'c'] }); + st.deepEqual(qs.parse('a[0]=b&a[1]=c', { comma: true }), { a: ['b', 'c'] }); + st.deepEqual(qs.parse('a=b,c', { comma: true }), { a: ['b', 'c'] }); + st.deepEqual(qs.parse('a=b&a=c', { comma: true }), { a: ['b', 'c'] }); + st.end(); + }); + + t.test('allows enabling dot notation', function (st) { + st.deepEqual(qs.parse('a.b=c'), { 'a.b': 'c' }); + st.deepEqual(qs.parse('a.b=c', { allowDots: true }), { a: { b: 'c' } }); + + st.end(); + }); + + t.test('decode dot keys correctly', function (st) { + st.deepEqual( + qs.parse('name%252Eobj.first=John&name%252Eobj.last=Doe', { allowDots: false, decodeDotInKeys: false }), + { 'name%2Eobj.first': 'John', 'name%2Eobj.last': 'Doe' }, + 'with allowDots false and decodeDotInKeys false' + ); + st.deepEqual( + qs.parse('name.obj.first=John&name.obj.last=Doe', { allowDots: true, decodeDotInKeys: false }), + { name: { obj: { first: 'John', last: 'Doe' } } }, + 'with allowDots false and decodeDotInKeys false' + ); + st.deepEqual( + qs.parse('name%252Eobj.first=John&name%252Eobj.last=Doe', { allowDots: true, decodeDotInKeys: false }), + { 'name%2Eobj': { first: 'John', last: 'Doe' } }, + 'with allowDots true and decodeDotInKeys false' + ); + st.deepEqual( + qs.parse('name%252Eobj.first=John&name%252Eobj.last=Doe', { allowDots: true, decodeDotInKeys: true }), + { 'name.obj': { first: 'John', last: 'Doe' } }, + 'with allowDots true and decodeDotInKeys true' + ); + + st.deepEqual( + qs.parse( + 'name%252Eobj%252Esubobject.first%252Egodly%252Ename=John&name%252Eobj%252Esubobject.last=Doe', + { allowDots: false, decodeDotInKeys: false } + ), + { 'name%2Eobj%2Esubobject.first%2Egodly%2Ename': 'John', 'name%2Eobj%2Esubobject.last': 'Doe' }, + 'with allowDots false and decodeDotInKeys false' + ); + st.deepEqual( + qs.parse( + 'name.obj.subobject.first.godly.name=John&name.obj.subobject.last=Doe', + { allowDots: true, decodeDotInKeys: false } + ), + { name: { obj: { subobject: { first: { godly: { name: 'John' } }, last: 'Doe' } } } }, + 'with allowDots true and decodeDotInKeys false' + ); + st.deepEqual( + qs.parse( + 'name%252Eobj%252Esubobject.first%252Egodly%252Ename=John&name%252Eobj%252Esubobject.last=Doe', + { allowDots: true, decodeDotInKeys: true } + ), + { 'name.obj.subobject': { 'first.godly.name': 'John', last: 'Doe' } }, + 'with allowDots true and decodeDotInKeys true' + ); + st.deepEqual( + qs.parse('name%252Eobj.first=John&name%252Eobj.last=Doe'), + { 'name%2Eobj.first': 'John', 'name%2Eobj.last': 'Doe' }, + 'with allowDots and decodeDotInKeys undefined' + ); + + st.end(); + }); + + t.test('decodes dot in key of object, and allow enabling dot notation when decodeDotInKeys is set to true and allowDots is undefined', function (st) { + st.deepEqual( + qs.parse( + 'name%252Eobj%252Esubobject.first%252Egodly%252Ename=John&name%252Eobj%252Esubobject.last=Doe', + { decodeDotInKeys: true } + ), + { 'name.obj.subobject': { 'first.godly.name': 'John', last: 'Doe' } }, + 'with allowDots undefined and decodeDotInKeys true' + ); + + st.end(); + }); + + t.test('throws when decodeDotInKeys is not of type boolean', function (st) { + st['throws']( + function () { qs.parse('foo[]&bar=baz', { decodeDotInKeys: 'foobar' }); }, + TypeError + ); + + st['throws']( + function () { qs.parse('foo[]&bar=baz', { decodeDotInKeys: 0 }); }, + TypeError + ); + st['throws']( + function () { qs.parse('foo[]&bar=baz', { decodeDotInKeys: NaN }); }, + TypeError + ); + + st['throws']( + function () { qs.parse('foo[]&bar=baz', { decodeDotInKeys: null }); }, + TypeError + ); + + st.end(); + }); + + t.test('allows empty arrays in obj values', function (st) { + st.deepEqual(qs.parse('foo[]&bar=baz', { allowEmptyArrays: true }), { foo: [], bar: 'baz' }); + st.deepEqual(qs.parse('foo[]&bar=baz', { allowEmptyArrays: false }), { foo: [''], bar: 'baz' }); + + st.end(); + }); + + t.test('throws when allowEmptyArrays is not of type boolean', function (st) { + st['throws']( + function () { qs.parse('foo[]&bar=baz', { allowEmptyArrays: 'foobar' }); }, + TypeError + ); + + st['throws']( + function () { qs.parse('foo[]&bar=baz', { allowEmptyArrays: 0 }); }, + TypeError + ); + st['throws']( + function () { qs.parse('foo[]&bar=baz', { allowEmptyArrays: NaN }); }, + TypeError + ); + + st['throws']( + function () { qs.parse('foo[]&bar=baz', { allowEmptyArrays: null }); }, + TypeError + ); + + st.end(); + }); + + t.test('allowEmptyArrays + strictNullHandling', function (st) { + st.deepEqual( + qs.parse('testEmptyArray[]', { strictNullHandling: true, allowEmptyArrays: true }), + { testEmptyArray: [] } + ); + + st.end(); + }); + + t.deepEqual(qs.parse('a[b]=c'), { a: { b: 'c' } }, 'parses a single nested string'); + t.deepEqual(qs.parse('a[b][c]=d'), { a: { b: { c: 'd' } } }, 'parses a double nested string'); + t.deepEqual( + qs.parse('a[b][c][d][e][f][g][h]=i'), + { a: { b: { c: { d: { e: { f: { '[g][h]': 'i' } } } } } } }, + 'defaults to a depth of 5' + ); + + t.test('only parses one level when depth = 1', function (st) { + st.deepEqual(qs.parse('a[b][c]=d', { depth: 1 }), { a: { b: { '[c]': 'd' } } }); + st.deepEqual(qs.parse('a[b][c][d]=e', { depth: 1 }), { a: { b: { '[c][d]': 'e' } } }); + st.end(); + }); + + t.test('uses original key when depth = 0', function (st) { + st.deepEqual(qs.parse('a[0]=b&a[1]=c', { depth: 0 }), { 'a[0]': 'b', 'a[1]': 'c' }); + st.deepEqual(qs.parse('a[0][0]=b&a[0][1]=c&a[1]=d&e=2', { depth: 0 }), { 'a[0][0]': 'b', 'a[0][1]': 'c', 'a[1]': 'd', e: '2' }); + st.end(); + }); + + t.test('uses original key when depth = false', function (st) { + st.deepEqual(qs.parse('a[0]=b&a[1]=c', { depth: false }), { 'a[0]': 'b', 'a[1]': 'c' }); + st.deepEqual(qs.parse('a[0][0]=b&a[0][1]=c&a[1]=d&e=2', { depth: false }), { 'a[0][0]': 'b', 'a[0][1]': 'c', 'a[1]': 'd', e: '2' }); + st.end(); + }); + + t.deepEqual(qs.parse('a=b&a=c'), { a: ['b', 'c'] }, 'parses a simple array'); + + t.test('parses an explicit array', function (st) { + st.deepEqual(qs.parse('a[]=b'), { a: ['b'] }); + st.deepEqual(qs.parse('a[]=b&a[]=c'), { a: ['b', 'c'] }); + st.deepEqual(qs.parse('a[]=b&a[]=c&a[]=d'), { a: ['b', 'c', 'd'] }); + st.end(); + }); + + t.test('parses a mix of simple and explicit arrays', function (st) { + st.deepEqual(qs.parse('a=b&a[]=c'), { a: ['b', 'c'] }); + st.deepEqual(qs.parse('a[]=b&a=c'), { a: ['b', 'c'] }); + st.deepEqual(qs.parse('a[0]=b&a=c'), { a: ['b', 'c'] }); + st.deepEqual(qs.parse('a=b&a[0]=c'), { a: ['b', 'c'] }); + + st.deepEqual(qs.parse('a[1]=b&a=c', { arrayLimit: 20 }), { a: ['b', 'c'] }); + st.deepEqual(qs.parse('a[]=b&a=c', { arrayLimit: 0 }), { a: { 0: 'b', 1: 'c' } }); + st.deepEqual(qs.parse('a[]=b&a=c'), { a: ['b', 'c'] }); + + st.deepEqual(qs.parse('a=b&a[1]=c', { arrayLimit: 20 }), { a: ['b', 'c'] }); + st.deepEqual(qs.parse('a=b&a[]=c', { arrayLimit: 0 }), { a: { 0: 'b', 1: 'c' } }); + st.deepEqual(qs.parse('a=b&a[]=c'), { a: ['b', 'c'] }); + + st.end(); + }); + + t.test('parses a nested array', function (st) { + st.deepEqual(qs.parse('a[b][]=c&a[b][]=d'), { a: { b: ['c', 'd'] } }); + st.deepEqual(qs.parse('a[>=]=25'), { a: { '>=': '25' } }); + st.end(); + }); + + t.test('allows to specify array indices', function (st) { + st.deepEqual(qs.parse('a[1]=c&a[0]=b&a[2]=d'), { a: ['b', 'c', 'd'] }); + st.deepEqual(qs.parse('a[1]=c&a[0]=b'), { a: ['b', 'c'] }); + st.deepEqual(qs.parse('a[1]=c', { arrayLimit: 20 }), { a: ['c'] }); + st.deepEqual(qs.parse('a[1]=c', { arrayLimit: 0 }), { a: { 1: 'c' } }); + st.deepEqual(qs.parse('a[1]=c'), { a: ['c'] }); + st.end(); + }); + + t.test('limits specific array indices to arrayLimit', function (st) { + st.deepEqual(qs.parse('a[19]=a', { arrayLimit: 20 }), { a: ['a'] }); + st.deepEqual(qs.parse('a[20]=a', { arrayLimit: 20 }), { a: { 20: 'a' } }); + + st.deepEqual(qs.parse('a[19]=a'), { a: ['a'] }); + st.deepEqual(qs.parse('a[20]=a'), { a: { 20: 'a' } }); + st.end(); + }); + + t.deepEqual(qs.parse('a[12b]=c'), { a: { '12b': 'c' } }, 'supports keys that begin with a number'); + + t.test('supports encoded = signs', function (st) { + st.deepEqual(qs.parse('he%3Dllo=th%3Dere'), { 'he=llo': 'th=ere' }); + st.end(); + }); + + t.test('is ok with url encoded strings', function (st) { + st.deepEqual(qs.parse('a[b%20c]=d'), { a: { 'b c': 'd' } }); + st.deepEqual(qs.parse('a[b]=c%20d'), { a: { b: 'c d' } }); + st.end(); + }); + + t.test('allows brackets in the value', function (st) { + st.deepEqual(qs.parse('pets=["tobi"]'), { pets: '["tobi"]' }); + st.deepEqual(qs.parse('operators=[">=", "<="]'), { operators: '[">=", "<="]' }); + st.end(); + }); + + t.test('allows empty values', function (st) { + st.deepEqual(qs.parse(''), {}); + st.deepEqual(qs.parse(null), {}); + st.deepEqual(qs.parse(undefined), {}); + st.end(); + }); + + t.test('transforms arrays to objects', function (st) { + st.deepEqual(qs.parse('foo[0]=bar&foo[bad]=baz'), { foo: { 0: 'bar', bad: 'baz' } }); + st.deepEqual(qs.parse('foo[bad]=baz&foo[0]=bar'), { foo: { bad: 'baz', 0: 'bar' } }); + st.deepEqual(qs.parse('foo[bad]=baz&foo[]=bar'), { foo: { bad: 'baz', 0: 'bar' } }); + st.deepEqual(qs.parse('foo[]=bar&foo[bad]=baz'), { foo: { 0: 'bar', bad: 'baz' } }); + st.deepEqual(qs.parse('foo[bad]=baz&foo[]=bar&foo[]=foo'), { foo: { bad: 'baz', 0: 'bar', 1: 'foo' } }); + st.deepEqual(qs.parse('foo[0][a]=a&foo[0][b]=b&foo[1][a]=aa&foo[1][b]=bb'), { foo: [{ a: 'a', b: 'b' }, { a: 'aa', b: 'bb' }] }); + + st.deepEqual(qs.parse('a[]=b&a[t]=u&a[hasOwnProperty]=c', { allowPrototypes: false }), { a: { 0: 'b', t: 'u' } }); + st.deepEqual(qs.parse('a[]=b&a[t]=u&a[hasOwnProperty]=c', { allowPrototypes: true }), { a: { 0: 'b', t: 'u', hasOwnProperty: 'c' } }); + st.deepEqual(qs.parse('a[]=b&a[hasOwnProperty]=c&a[x]=y', { allowPrototypes: false }), { a: { 0: 'b', x: 'y' } }); + st.deepEqual(qs.parse('a[]=b&a[hasOwnProperty]=c&a[x]=y', { allowPrototypes: true }), { a: { 0: 'b', hasOwnProperty: 'c', x: 'y' } }); + st.end(); + }); + + t.test('transforms arrays to objects (dot notation)', function (st) { + st.deepEqual(qs.parse('foo[0].baz=bar&fool.bad=baz', { allowDots: true }), { foo: [{ baz: 'bar' }], fool: { bad: 'baz' } }); + st.deepEqual(qs.parse('foo[0].baz=bar&fool.bad.boo=baz', { allowDots: true }), { foo: [{ baz: 'bar' }], fool: { bad: { boo: 'baz' } } }); + st.deepEqual(qs.parse('foo[0][0].baz=bar&fool.bad=baz', { allowDots: true }), { foo: [[{ baz: 'bar' }]], fool: { bad: 'baz' } }); + st.deepEqual(qs.parse('foo[0].baz[0]=15&foo[0].bar=2', { allowDots: true }), { foo: [{ baz: ['15'], bar: '2' }] }); + st.deepEqual(qs.parse('foo[0].baz[0]=15&foo[0].baz[1]=16&foo[0].bar=2', { allowDots: true }), { foo: [{ baz: ['15', '16'], bar: '2' }] }); + st.deepEqual(qs.parse('foo.bad=baz&foo[0]=bar', { allowDots: true }), { foo: { bad: 'baz', 0: 'bar' } }); + st.deepEqual(qs.parse('foo.bad=baz&foo[]=bar', { allowDots: true }), { foo: { bad: 'baz', 0: 'bar' } }); + st.deepEqual(qs.parse('foo[]=bar&foo.bad=baz', { allowDots: true }), { foo: { 0: 'bar', bad: 'baz' } }); + st.deepEqual(qs.parse('foo.bad=baz&foo[]=bar&foo[]=foo', { allowDots: true }), { foo: { bad: 'baz', 0: 'bar', 1: 'foo' } }); + st.deepEqual(qs.parse('foo[0].a=a&foo[0].b=b&foo[1].a=aa&foo[1].b=bb', { allowDots: true }), { foo: [{ a: 'a', b: 'b' }, { a: 'aa', b: 'bb' }] }); + st.end(); + }); + + t.test('correctly prunes undefined values when converting an array to an object', function (st) { + st.deepEqual(qs.parse('a[2]=b&a[99999999]=c'), { a: { 2: 'b', 99999999: 'c' } }); + st.end(); + }); + + t.test('supports malformed uri characters', function (st) { + st.deepEqual(qs.parse('{%:%}', { strictNullHandling: true }), { '{%:%}': null }); + st.deepEqual(qs.parse('{%:%}='), { '{%:%}': '' }); + st.deepEqual(qs.parse('foo=%:%}'), { foo: '%:%}' }); + st.end(); + }); + + t.test('doesn\'t produce empty keys', function (st) { + st.deepEqual(qs.parse('_r=1&'), { _r: '1' }); + st.end(); + }); + + t.test('cannot access Object prototype', function (st) { + qs.parse('constructor[prototype][bad]=bad'); + qs.parse('bad[constructor][prototype][bad]=bad'); + st.equal(typeof Object.prototype.bad, 'undefined'); + st.end(); + }); + + t.test('parses arrays of objects', function (st) { + st.deepEqual(qs.parse('a[][b]=c'), { a: [{ b: 'c' }] }); + st.deepEqual(qs.parse('a[0][b]=c'), { a: [{ b: 'c' }] }); + st.end(); + }); + + t.test('allows for empty strings in arrays', function (st) { + st.deepEqual(qs.parse('a[]=b&a[]=&a[]=c'), { a: ['b', '', 'c'] }); + + st.deepEqual( + qs.parse('a[0]=b&a[1]&a[2]=c&a[19]=', { strictNullHandling: true, arrayLimit: 20 }), + { a: ['b', null, 'c', ''] }, + 'with arrayLimit 20 + array indices: null then empty string works' + ); + st.deepEqual( + qs.parse('a[]=b&a[]&a[]=c&a[]=', { strictNullHandling: true, arrayLimit: 0 }), + { a: { 0: 'b', 1: null, 2: 'c', 3: '' } }, + 'with arrayLimit 0 + array brackets: null then empty string works' + ); + + st.deepEqual( + qs.parse('a[0]=b&a[1]=&a[2]=c&a[19]', { strictNullHandling: true, arrayLimit: 20 }), + { a: ['b', '', 'c', null] }, + 'with arrayLimit 20 + array indices: empty string then null works' + ); + st.deepEqual( + qs.parse('a[]=b&a[]=&a[]=c&a[]', { strictNullHandling: true, arrayLimit: 0 }), + { a: { 0: 'b', 1: '', 2: 'c', 3: null } }, + 'with arrayLimit 0 + array brackets: empty string then null works' + ); + + st.deepEqual( + qs.parse('a[]=&a[]=b&a[]=c'), + { a: ['', 'b', 'c'] }, + 'array brackets: empty strings work' + ); + st.end(); + }); + + t.test('compacts sparse arrays', function (st) { + st.deepEqual(qs.parse('a[10]=1&a[2]=2', { arrayLimit: 20 }), { a: ['2', '1'] }); + st.deepEqual(qs.parse('a[1][b][2][c]=1', { arrayLimit: 20 }), { a: [{ b: [{ c: '1' }] }] }); + st.deepEqual(qs.parse('a[1][2][3][c]=1', { arrayLimit: 20 }), { a: [[[{ c: '1' }]]] }); + st.deepEqual(qs.parse('a[1][2][3][c][1]=1', { arrayLimit: 20 }), { a: [[[{ c: ['1'] }]]] }); + st.end(); + }); + + t.test('parses sparse arrays', function (st) { + /* eslint no-sparse-arrays: 0 */ + st.deepEqual(qs.parse('a[4]=1&a[1]=2', { allowSparse: true }), { a: [, '2', , , '1'] }); + st.deepEqual(qs.parse('a[1][b][2][c]=1', { allowSparse: true }), { a: [, { b: [, , { c: '1' }] }] }); + st.deepEqual(qs.parse('a[1][2][3][c]=1', { allowSparse: true }), { a: [, [, , [, , , { c: '1' }]]] }); + st.deepEqual(qs.parse('a[1][2][3][c][1]=1', { allowSparse: true }), { a: [, [, , [, , , { c: [, '1'] }]]] }); + st.end(); + }); + + t.test('parses semi-parsed strings', function (st) { + st.deepEqual(qs.parse({ 'a[b]': 'c' }), { a: { b: 'c' } }); + st.deepEqual(qs.parse({ 'a[b]': 'c', 'a[d]': 'e' }), { a: { b: 'c', d: 'e' } }); + st.end(); + }); + + t.test('parses buffers correctly', function (st) { + var b = SaferBuffer.from('test'); + st.deepEqual(qs.parse({ a: b }), { a: b }); + st.end(); + }); + + t.test('parses jquery-param strings', function (st) { + // readable = 'filter[0][]=int1&filter[0][]==&filter[0][]=77&filter[]=and&filter[2][]=int2&filter[2][]==&filter[2][]=8' + var encoded = 'filter%5B0%5D%5B%5D=int1&filter%5B0%5D%5B%5D=%3D&filter%5B0%5D%5B%5D=77&filter%5B%5D=and&filter%5B2%5D%5B%5D=int2&filter%5B2%5D%5B%5D=%3D&filter%5B2%5D%5B%5D=8'; + var expected = { filter: [['int1', '=', '77'], 'and', ['int2', '=', '8']] }; + st.deepEqual(qs.parse(encoded), expected); + st.end(); + }); + + t.test('continues parsing when no parent is found', function (st) { + st.deepEqual(qs.parse('[]=&a=b'), { 0: '', a: 'b' }); + st.deepEqual(qs.parse('[]&a=b', { strictNullHandling: true }), { 0: null, a: 'b' }); + st.deepEqual(qs.parse('[foo]=bar'), { foo: 'bar' }); + st.end(); + }); + + t.test('does not error when parsing a very long array', function (st) { + var str = 'a[]=a'; + while (Buffer.byteLength(str) < 128 * 1024) { + str = str + '&' + str; + } + + st.doesNotThrow(function () { + qs.parse(str); + }); + + st.end(); + }); + + t.test('does not throw when a native prototype has an enumerable property', function (st) { + st.intercept(Object.prototype, 'crash', { value: '' }); + st.intercept(Array.prototype, 'crash', { value: '' }); + + st.doesNotThrow(qs.parse.bind(null, 'a=b')); + st.deepEqual(qs.parse('a=b'), { a: 'b' }); + st.doesNotThrow(qs.parse.bind(null, 'a[][b]=c')); + st.deepEqual(qs.parse('a[][b]=c'), { a: [{ b: 'c' }] }); + + st.end(); + }); + + t.test('parses a string with an alternative string delimiter', function (st) { + st.deepEqual(qs.parse('a=b;c=d', { delimiter: ';' }), { a: 'b', c: 'd' }); + st.end(); + }); + + t.test('parses a string with an alternative RegExp delimiter', function (st) { + st.deepEqual(qs.parse('a=b; c=d', { delimiter: /[;,] */ }), { a: 'b', c: 'd' }); + st.end(); + }); + + t.test('does not use non-splittable objects as delimiters', function (st) { + st.deepEqual(qs.parse('a=b&c=d', { delimiter: true }), { a: 'b', c: 'd' }); + st.end(); + }); + + t.test('allows overriding parameter limit', function (st) { + st.deepEqual(qs.parse('a=b&c=d', { parameterLimit: 1 }), { a: 'b' }); + st.end(); + }); + + t.test('allows setting the parameter limit to Infinity', function (st) { + st.deepEqual(qs.parse('a=b&c=d', { parameterLimit: Infinity }), { a: 'b', c: 'd' }); + st.end(); + }); + + t.test('allows overriding array limit', function (st) { + st.deepEqual(qs.parse('a[0]=b', { arrayLimit: -1 }), { a: { 0: 'b' } }); + st.deepEqual(qs.parse('a[0]=b', { arrayLimit: 0 }), { a: { 0: 'b' } }); + + st.deepEqual(qs.parse('a[-1]=b', { arrayLimit: -1 }), { a: { '-1': 'b' } }); + st.deepEqual(qs.parse('a[-1]=b', { arrayLimit: 0 }), { a: { '-1': 'b' } }); + + st.deepEqual(qs.parse('a[0]=b&a[1]=c', { arrayLimit: -1 }), { a: { 0: 'b', 1: 'c' } }); + st.deepEqual(qs.parse('a[0]=b&a[1]=c', { arrayLimit: 0 }), { a: { 0: 'b', 1: 'c' } }); + + st.end(); + }); + + t.test('allows disabling array parsing', function (st) { + var indices = qs.parse('a[0]=b&a[1]=c', { parseArrays: false }); + st.deepEqual(indices, { a: { 0: 'b', 1: 'c' } }); + st.equal(Array.isArray(indices.a), false, 'parseArrays:false, indices case is not an array'); + + var emptyBrackets = qs.parse('a[]=b', { parseArrays: false }); + st.deepEqual(emptyBrackets, { a: { 0: 'b' } }); + st.equal(Array.isArray(emptyBrackets.a), false, 'parseArrays:false, empty brackets case is not an array'); + + st.end(); + }); + + t.test('allows for query string prefix', function (st) { + st.deepEqual(qs.parse('?foo=bar', { ignoreQueryPrefix: true }), { foo: 'bar' }); + st.deepEqual(qs.parse('foo=bar', { ignoreQueryPrefix: true }), { foo: 'bar' }); + st.deepEqual(qs.parse('?foo=bar', { ignoreQueryPrefix: false }), { '?foo': 'bar' }); + + st.end(); + }); + + t.test('parses an object', function (st) { + var input = { + 'user[name]': { 'pop[bob]': 3 }, + 'user[email]': null + }; + + var expected = { + user: { + name: { 'pop[bob]': 3 }, + email: null + } + }; + + var result = qs.parse(input); + + st.deepEqual(result, expected); + st.end(); + }); + + t.test('parses string with comma as array divider', function (st) { + st.deepEqual(qs.parse('foo=bar,tee', { comma: true }), { foo: ['bar', 'tee'] }); + st.deepEqual(qs.parse('foo[bar]=coffee,tee', { comma: true }), { foo: { bar: ['coffee', 'tee'] } }); + st.deepEqual(qs.parse('foo=', { comma: true }), { foo: '' }); + st.deepEqual(qs.parse('foo', { comma: true }), { foo: '' }); + st.deepEqual(qs.parse('foo', { comma: true, strictNullHandling: true }), { foo: null }); + + // test cases inversed from from stringify tests + st.deepEqual(qs.parse('a[0]=c'), { a: ['c'] }); + st.deepEqual(qs.parse('a[]=c'), { a: ['c'] }); + st.deepEqual(qs.parse('a[]=c', { comma: true }), { a: ['c'] }); + + st.deepEqual(qs.parse('a[0]=c&a[1]=d'), { a: ['c', 'd'] }); + st.deepEqual(qs.parse('a[]=c&a[]=d'), { a: ['c', 'd'] }); + st.deepEqual(qs.parse('a=c,d', { comma: true }), { a: ['c', 'd'] }); + + st.end(); + }); + + t.test('parses values with comma as array divider', function (st) { + st.deepEqual(qs.parse({ foo: 'bar,tee' }, { comma: false }), { foo: 'bar,tee' }); + st.deepEqual(qs.parse({ foo: 'bar,tee' }, { comma: true }), { foo: ['bar', 'tee'] }); + st.end(); + }); + + t.test('use number decoder, parses string that has one number with comma option enabled', function (st) { + var decoder = function (str, defaultDecoder, charset, type) { + if (!isNaN(Number(str))) { + return parseFloat(str); + } + return defaultDecoder(str, defaultDecoder, charset, type); + }; + + st.deepEqual(qs.parse('foo=1', { comma: true, decoder: decoder }), { foo: 1 }); + st.deepEqual(qs.parse('foo=0', { comma: true, decoder: decoder }), { foo: 0 }); + + st.end(); + }); + + t.test('parses brackets holds array of arrays when having two parts of strings with comma as array divider', function (st) { + st.deepEqual(qs.parse('foo[]=1,2,3&foo[]=4,5,6', { comma: true }), { foo: [['1', '2', '3'], ['4', '5', '6']] }); + st.deepEqual(qs.parse('foo[]=1,2,3&foo[]=', { comma: true }), { foo: [['1', '2', '3'], ''] }); + st.deepEqual(qs.parse('foo[]=1,2,3&foo[]=,', { comma: true }), { foo: [['1', '2', '3'], ['', '']] }); + st.deepEqual(qs.parse('foo[]=1,2,3&foo[]=a', { comma: true }), { foo: [['1', '2', '3'], 'a'] }); + + st.end(); + }); + + t.test('parses url-encoded brackets holds array of arrays when having two parts of strings with comma as array divider', function (st) { + st.deepEqual(qs.parse('foo%5B%5D=1,2,3&foo%5B%5D=4,5,6', { comma: true }), { foo: [['1', '2', '3'], ['4', '5', '6']] }); + st.deepEqual(qs.parse('foo%5B%5D=1,2,3&foo%5B%5D=', { comma: true }), { foo: [['1', '2', '3'], ''] }); + st.deepEqual(qs.parse('foo%5B%5D=1,2,3&foo%5B%5D=,', { comma: true }), { foo: [['1', '2', '3'], ['', '']] }); + st.deepEqual(qs.parse('foo%5B%5D=1,2,3&foo%5B%5D=a', { comma: true }), { foo: [['1', '2', '3'], 'a'] }); + + st.end(); + }); + + t.test('parses comma delimited array while having percent-encoded comma treated as normal text', function (st) { + st.deepEqual(qs.parse('foo=a%2Cb', { comma: true }), { foo: 'a,b' }); + st.deepEqual(qs.parse('foo=a%2C%20b,d', { comma: true }), { foo: ['a, b', 'd'] }); + st.deepEqual(qs.parse('foo=a%2C%20b,c%2C%20d', { comma: true }), { foo: ['a, b', 'c, d'] }); + + st.end(); + }); + + t.test('parses an object in dot notation', function (st) { + var input = { + 'user.name': { 'pop[bob]': 3 }, + 'user.email.': null + }; + + var expected = { + user: { + name: { 'pop[bob]': 3 }, + email: null + } + }; + + var result = qs.parse(input, { allowDots: true }); + + st.deepEqual(result, expected); + st.end(); + }); + + t.test('parses an object and not child values', function (st) { + var input = { + 'user[name]': { 'pop[bob]': { test: 3 } }, + 'user[email]': null + }; + + var expected = { + user: { + name: { 'pop[bob]': { test: 3 } }, + email: null + } + }; + + var result = qs.parse(input); + + st.deepEqual(result, expected); + st.end(); + }); + + t.test('does not blow up when Buffer global is missing', function (st) { + var restore = mockProperty(global, 'Buffer', { 'delete': true }); + + var result = qs.parse('a=b&c=d'); + + restore(); + + st.deepEqual(result, { a: 'b', c: 'd' }); + st.end(); + }); + + t.test('does not crash when parsing circular references', function (st) { + var a = {}; + a.b = a; + + var parsed; + + st.doesNotThrow(function () { + parsed = qs.parse({ 'foo[bar]': 'baz', 'foo[baz]': a }); + }); + + st.equal('foo' in parsed, true, 'parsed has "foo" property'); + st.equal('bar' in parsed.foo, true); + st.equal('baz' in parsed.foo, true); + st.equal(parsed.foo.bar, 'baz'); + st.deepEqual(parsed.foo.baz, a); + st.end(); + }); + + t.test('does not crash when parsing deep objects', function (st) { + var parsed; + var str = 'foo'; + + for (var i = 0; i < 5000; i++) { + str += '[p]'; + } + + str += '=bar'; + + st.doesNotThrow(function () { + parsed = qs.parse(str, { depth: 5000 }); + }); + + st.equal('foo' in parsed, true, 'parsed has "foo" property'); + + var depth = 0; + var ref = parsed.foo; + while ((ref = ref.p)) { + depth += 1; + } + + st.equal(depth, 5000, 'parsed is 5000 properties deep'); + + st.end(); + }); + + t.test('parses null objects correctly', { skip: !hasProto }, function (st) { + var a = { __proto__: null, b: 'c' }; + + st.deepEqual(qs.parse(a), { b: 'c' }); + var result = qs.parse({ a: a }); + st.equal('a' in result, true, 'result has "a" property'); + st.deepEqual(result.a, a); + st.end(); + }); + + t.test('parses dates correctly', function (st) { + var now = new Date(); + st.deepEqual(qs.parse({ a: now }), { a: now }); + st.end(); + }); + + t.test('parses regular expressions correctly', function (st) { + var re = /^test$/; + st.deepEqual(qs.parse({ a: re }), { a: re }); + st.end(); + }); + + t.test('does not allow overwriting prototype properties', function (st) { + st.deepEqual(qs.parse('a[hasOwnProperty]=b', { allowPrototypes: false }), {}); + st.deepEqual(qs.parse('hasOwnProperty=b', { allowPrototypes: false }), {}); + + st.deepEqual( + qs.parse('toString', { allowPrototypes: false }), + {}, + 'bare "toString" results in {}' + ); + + st.end(); + }); + + t.test('can allow overwriting prototype properties', function (st) { + st.deepEqual(qs.parse('a[hasOwnProperty]=b', { allowPrototypes: true }), { a: { hasOwnProperty: 'b' } }); + st.deepEqual(qs.parse('hasOwnProperty=b', { allowPrototypes: true }), { hasOwnProperty: 'b' }); + + st.deepEqual( + qs.parse('toString', { allowPrototypes: true }), + { toString: '' }, + 'bare "toString" results in { toString: "" }' + ); + + st.end(); + }); + + t.test('does not crash when the global Object prototype is frozen', { skip: !hasPropertyDescriptors || !hasOverrideMistake }, function (st) { + // We can't actually freeze the global Object prototype as that will interfere with other tests, and once an object is frozen, it + // can't be unfrozen. Instead, we add a new non-writable property to simulate this. + st.teardown(mockProperty(Object.prototype, 'frozenProp', { value: 'foo', nonWritable: true, nonEnumerable: true })); + + st['throws']( + function () { + var obj = {}; + obj.frozenProp = 'bar'; + }, + // node < 6 has a different error message + /^TypeError: Cannot assign to read only property 'frozenProp' of (?:object '#'|#)/, + 'regular assignment of an inherited non-writable property throws' + ); + + var parsed; + st.doesNotThrow( + function () { + parsed = qs.parse('frozenProp', { allowPrototypes: false }); + }, + 'parsing a nonwritable Object.prototype property does not throw' + ); + + st.deepEqual(parsed, {}, 'bare "frozenProp" results in {}'); + + st.end(); + }); + + t.test('params starting with a closing bracket', function (st) { + st.deepEqual(qs.parse(']=toString'), { ']': 'toString' }); + st.deepEqual(qs.parse(']]=toString'), { ']]': 'toString' }); + st.deepEqual(qs.parse(']hello]=toString'), { ']hello]': 'toString' }); + st.end(); + }); + + t.test('params starting with a starting bracket', function (st) { + st.deepEqual(qs.parse('[=toString'), { '[': 'toString' }); + st.deepEqual(qs.parse('[[=toString'), { '[[': 'toString' }); + st.deepEqual(qs.parse('[hello[=toString'), { '[hello[': 'toString' }); + st.end(); + }); + + t.test('add keys to objects', function (st) { + st.deepEqual( + qs.parse('a[b]=c&a=d'), + { a: { b: 'c', d: true } }, + 'can add keys to objects' + ); + + st.deepEqual( + qs.parse('a[b]=c&a=toString'), + { a: { b: 'c' } }, + 'can not overwrite prototype' + ); + + st.deepEqual( + qs.parse('a[b]=c&a=toString', { allowPrototypes: true }), + { a: { b: 'c', toString: true } }, + 'can overwrite prototype with allowPrototypes true' + ); + + st.deepEqual( + qs.parse('a[b]=c&a=toString', { plainObjects: true }), + { __proto__: null, a: { __proto__: null, b: 'c', toString: true } }, + 'can overwrite prototype with plainObjects true' + ); + + st.end(); + }); + + t.test('dunder proto is ignored', function (st) { + var payload = 'categories[__proto__]=login&categories[__proto__]&categories[length]=42'; + var result = qs.parse(payload, { allowPrototypes: true }); + + st.deepEqual( + result, + { + categories: { + length: '42' + } + }, + 'silent [[Prototype]] payload' + ); + + var plainResult = qs.parse(payload, { allowPrototypes: true, plainObjects: true }); + + st.deepEqual( + plainResult, + { + __proto__: null, + categories: { + __proto__: null, + length: '42' + } + }, + 'silent [[Prototype]] payload: plain objects' + ); + + var query = qs.parse('categories[__proto__]=cats&categories[__proto__]=dogs&categories[some][json]=toInject', { allowPrototypes: true }); + + st.notOk(Array.isArray(query.categories), 'is not an array'); + st.notOk(query.categories instanceof Array, 'is not instanceof an array'); + st.deepEqual(query.categories, { some: { json: 'toInject' } }); + st.equal(JSON.stringify(query.categories), '{"some":{"json":"toInject"}}', 'stringifies as a non-array'); + + st.deepEqual( + qs.parse('foo[__proto__][hidden]=value&foo[bar]=stuffs', { allowPrototypes: true }), + { + foo: { + bar: 'stuffs' + } + }, + 'hidden values' + ); + + st.deepEqual( + qs.parse('foo[__proto__][hidden]=value&foo[bar]=stuffs', { allowPrototypes: true, plainObjects: true }), + { + __proto__: null, + foo: { + __proto__: null, + bar: 'stuffs' + } + }, + 'hidden values: plain objects' + ); + + st.end(); + }); + + t.test('can return null objects', { skip: !hasProto }, function (st) { + var expected = { + __proto__: null, + a: { + __proto__: null, + b: 'c', + hasOwnProperty: 'd' + } + }; + st.deepEqual(qs.parse('a[b]=c&a[hasOwnProperty]=d', { plainObjects: true }), expected); + st.deepEqual(qs.parse(null, { plainObjects: true }), { __proto__: null }); + var expectedArray = { + __proto__: null, + a: { + __proto__: null, + 0: 'b', + c: 'd' + } + }; + st.deepEqual(qs.parse('a[]=b&a[c]=d', { plainObjects: true }), expectedArray); + st.end(); + }); + + t.test('can parse with custom encoding', function (st) { + st.deepEqual(qs.parse('%8c%a7=%91%e5%8d%e3%95%7b', { + decoder: function (str) { + var reg = /%([0-9A-F]{2})/ig; + var result = []; + var parts = reg.exec(str); + while (parts) { + result.push(parseInt(parts[1], 16)); + parts = reg.exec(str); + } + return String(iconv.decode(SaferBuffer.from(result), 'shift_jis')); + } + }), { 県: '大阪府' }); + st.end(); + }); + + t.test('receives the default decoder as a second argument', function (st) { + st.plan(1); + qs.parse('a', { + decoder: function (str, defaultDecoder) { + st.equal(defaultDecoder, utils.decode); + } + }); + st.end(); + }); + + t.test('throws error with wrong decoder', function (st) { + st['throws'](function () { + qs.parse({}, { decoder: 'string' }); + }, new TypeError('Decoder has to be a function.')); + st.end(); + }); + + t.test('does not mutate the options argument', function (st) { + var options = {}; + qs.parse('a[b]=true', options); + st.deepEqual(options, {}); + st.end(); + }); + + t.test('throws if an invalid charset is specified', function (st) { + st['throws'](function () { + qs.parse('a=b', { charset: 'foobar' }); + }, new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined')); + st.end(); + }); + + t.test('parses an iso-8859-1 string if asked to', function (st) { + st.deepEqual(qs.parse('%A2=%BD', { charset: 'iso-8859-1' }), { '¢': '½' }); + st.end(); + }); + + var urlEncodedCheckmarkInUtf8 = '%E2%9C%93'; + var urlEncodedOSlashInUtf8 = '%C3%B8'; + var urlEncodedNumCheckmark = '%26%2310003%3B'; + var urlEncodedNumSmiley = '%26%239786%3B'; + + t.test('prefers an utf-8 charset specified by the utf8 sentinel to a default charset of iso-8859-1', function (st) { + st.deepEqual(qs.parse('utf8=' + urlEncodedCheckmarkInUtf8 + '&' + urlEncodedOSlashInUtf8 + '=' + urlEncodedOSlashInUtf8, { charsetSentinel: true, charset: 'iso-8859-1' }), { ø: 'ø' }); + st.end(); + }); + + t.test('prefers an iso-8859-1 charset specified by the utf8 sentinel to a default charset of utf-8', function (st) { + st.deepEqual(qs.parse('utf8=' + urlEncodedNumCheckmark + '&' + urlEncodedOSlashInUtf8 + '=' + urlEncodedOSlashInUtf8, { charsetSentinel: true, charset: 'utf-8' }), { 'ø': 'ø' }); + st.end(); + }); + + t.test('does not require the utf8 sentinel to be defined before the parameters whose decoding it affects', function (st) { + st.deepEqual(qs.parse('a=' + urlEncodedOSlashInUtf8 + '&utf8=' + urlEncodedNumCheckmark, { charsetSentinel: true, charset: 'utf-8' }), { a: 'ø' }); + st.end(); + }); + + t.test('ignores an utf8 sentinel with an unknown value', function (st) { + st.deepEqual(qs.parse('utf8=foo&' + urlEncodedOSlashInUtf8 + '=' + urlEncodedOSlashInUtf8, { charsetSentinel: true, charset: 'utf-8' }), { ø: 'ø' }); + st.end(); + }); + + t.test('uses the utf8 sentinel to switch to utf-8 when no default charset is given', function (st) { + st.deepEqual(qs.parse('utf8=' + urlEncodedCheckmarkInUtf8 + '&' + urlEncodedOSlashInUtf8 + '=' + urlEncodedOSlashInUtf8, { charsetSentinel: true }), { ø: 'ø' }); + st.end(); + }); + + t.test('uses the utf8 sentinel to switch to iso-8859-1 when no default charset is given', function (st) { + st.deepEqual(qs.parse('utf8=' + urlEncodedNumCheckmark + '&' + urlEncodedOSlashInUtf8 + '=' + urlEncodedOSlashInUtf8, { charsetSentinel: true }), { 'ø': 'ø' }); + st.end(); + }); + + t.test('interprets numeric entities in iso-8859-1 when `interpretNumericEntities`', function (st) { + st.deepEqual(qs.parse('foo=' + urlEncodedNumSmiley, { charset: 'iso-8859-1', interpretNumericEntities: true }), { foo: '☺' }); + st.end(); + }); + + t.test('handles a custom decoder returning `null`, in the `iso-8859-1` charset, when `interpretNumericEntities`', function (st) { + st.deepEqual(qs.parse('foo=&bar=' + urlEncodedNumSmiley, { + charset: 'iso-8859-1', + decoder: function (str, defaultDecoder, charset) { + return str ? defaultDecoder(str, defaultDecoder, charset) : null; + }, + interpretNumericEntities: true + }), { foo: null, bar: '☺' }); + st.end(); + }); + + t.test('handles a custom decoder returning `null`, with a string key of `null`', function (st) { + st.deepEqual( + qs.parse('null=1&ToNull=2', { + decoder: function (str, defaultDecoder, charset) { + return str === 'ToNull' ? null : defaultDecoder(str, defaultDecoder, charset); + } + }), + { 'null': '1' }, + '"null" key is not overridden by `null` decoder result' + ); + + st.end(); + }); + + t.test('does not interpret numeric entities in iso-8859-1 when `interpretNumericEntities` is absent', function (st) { + st.deepEqual(qs.parse('foo=' + urlEncodedNumSmiley, { charset: 'iso-8859-1' }), { foo: '☺' }); + st.end(); + }); + + t.test('does not interpret numeric entities when the charset is utf-8, even when `interpretNumericEntities`', function (st) { + st.deepEqual(qs.parse('foo=' + urlEncodedNumSmiley, { charset: 'utf-8', interpretNumericEntities: true }), { foo: '☺' }); + st.end(); + }); + + t.test('interpretNumericEntities with comma:true and iso charset does not crash', function (st) { + st.deepEqual( + qs.parse('b&a[]=1,' + urlEncodedNumSmiley, { comma: true, charset: 'iso-8859-1', interpretNumericEntities: true }), + { b: '', a: ['1,☺'] } + ); + + st.end(); + }); + + t.test('does not interpret %uXXXX syntax in iso-8859-1 mode', function (st) { + st.deepEqual(qs.parse('%u263A=%u263A', { charset: 'iso-8859-1' }), { '%u263A': '%u263A' }); + st.end(); + }); + + t.test('allows for decoding keys and values differently', function (st) { + var decoder = function (str, defaultDecoder, charset, type) { + if (type === 'key') { + return defaultDecoder(str, defaultDecoder, charset, type).toLowerCase(); + } + if (type === 'value') { + return defaultDecoder(str, defaultDecoder, charset, type).toUpperCase(); + } + throw 'this should never happen! type: ' + type; + }; + + st.deepEqual(qs.parse('KeY=vAlUe', { decoder: decoder }), { key: 'VALUE' }); + st.end(); + }); + + t.test('parameter limit tests', function (st) { + st.test('does not throw error when within parameter limit', function (sst) { + var result = qs.parse('a=1&b=2&c=3', { parameterLimit: 5, throwOnLimitExceeded: true }); + sst.deepEqual(result, { a: '1', b: '2', c: '3' }, 'parses without errors'); + sst.end(); + }); + + st.test('throws error when throwOnLimitExceeded is present but not boolean', function (sst) { + sst['throws']( + function () { + qs.parse('a=1&b=2&c=3&d=4&e=5&f=6', { parameterLimit: 3, throwOnLimitExceeded: 'true' }); + }, + new TypeError('`throwOnLimitExceeded` option must be a boolean'), + 'throws error when throwOnLimitExceeded is present and not boolean' + ); + sst.end(); + }); + + st.test('throws error when parameter limit exceeded', function (sst) { + sst['throws']( + function () { + qs.parse('a=1&b=2&c=3&d=4&e=5&f=6', { parameterLimit: 3, throwOnLimitExceeded: true }); + }, + new RangeError('Parameter limit exceeded. Only 3 parameters allowed.'), + 'throws error when parameter limit is exceeded' + ); + sst.end(); + }); + + st.test('silently truncates when throwOnLimitExceeded is not given', function (sst) { + var result = qs.parse('a=1&b=2&c=3&d=4&e=5', { parameterLimit: 3 }); + sst.deepEqual(result, { a: '1', b: '2', c: '3' }, 'parses and truncates silently'); + sst.end(); + }); + + st.test('silently truncates when parameter limit exceeded without error', function (sst) { + var result = qs.parse('a=1&b=2&c=3&d=4&e=5', { parameterLimit: 3, throwOnLimitExceeded: false }); + sst.deepEqual(result, { a: '1', b: '2', c: '3' }, 'parses and truncates silently'); + sst.end(); + }); + + st.test('allows unlimited parameters when parameterLimit set to Infinity', function (sst) { + var result = qs.parse('a=1&b=2&c=3&d=4&e=5&f=6', { parameterLimit: Infinity }); + sst.deepEqual(result, { a: '1', b: '2', c: '3', d: '4', e: '5', f: '6' }, 'parses all parameters without truncation'); + sst.end(); + }); + + st.end(); + }); + + t.test('array limit tests', function (st) { + st.test('does not throw error when array is within limit', function (sst) { + var result = qs.parse('a[]=1&a[]=2&a[]=3', { arrayLimit: 5, throwOnLimitExceeded: true }); + sst.deepEqual(result, { a: ['1', '2', '3'] }, 'parses array without errors'); + sst.end(); + }); + + st.test('throws error when throwOnLimitExceeded is present but not boolean for array limit', function (sst) { + sst['throws']( + function () { + qs.parse('a[]=1&a[]=2&a[]=3&a[]=4', { arrayLimit: 3, throwOnLimitExceeded: 'true' }); + }, + new TypeError('`throwOnLimitExceeded` option must be a boolean'), + 'throws error when throwOnLimitExceeded is present and not boolean for array limit' + ); + sst.end(); + }); + + st.test('throws error when array limit exceeded', function (sst) { + // 4 elements exceeds limit of 3 + sst['throws']( + function () { + qs.parse('a[]=1&a[]=2&a[]=3&a[]=4', { arrayLimit: 3, throwOnLimitExceeded: true }); + }, + new RangeError('Array limit exceeded. Only 3 elements allowed in an array.'), + 'throws error when array limit is exceeded' + ); + sst.end(); + }); + + st.test('does not throw when at limit', function (sst) { + // 3 elements = limit of 3, should not throw + var result = qs.parse('a[]=1&a[]=2&a[]=3', { arrayLimit: 3, throwOnLimitExceeded: true }); + sst.ok(Array.isArray(result.a), 'result is an array'); + sst.deepEqual(result.a, ['1', '2', '3'], 'all values present'); + sst.end(); + }); + + st.test('converts array to object if length is greater than limit', function (sst) { + var result = qs.parse('a[1]=1&a[2]=2&a[3]=3&a[4]=4&a[5]=5&a[6]=6', { arrayLimit: 5 }); + + sst.deepEqual(result, { a: { 1: '1', 2: '2', 3: '3', 4: '4', 5: '5', 6: '6' } }, 'parses into object if array length is greater than limit'); + sst.end(); + }); + + st.test('throws error when indexed notation exceeds arrayLimit with throwOnLimitExceeded', function (sst) { + sst['throws']( + function () { + qs.parse('a[1001]=b', { arrayLimit: 1000, throwOnLimitExceeded: true }); + }, + new RangeError('Array limit exceeded. Only 1000 elements allowed in an array.'), + 'throws error for a single index exceeding arrayLimit' + ); + + sst['throws']( + function () { + qs.parse('a[0]=1&a[1]=2&a[2]=3&a[10]=4', { arrayLimit: 6, throwOnLimitExceeded: true, allowSparse: true }); + }, + new RangeError('Array limit exceeded. Only 6 elements allowed in an array.'), + 'throws error when a sparse index exceeds arrayLimit' + ); + + sst.end(); + }); + + st.test('does not throw for indexed notation within arrayLimit with throwOnLimitExceeded', function (sst) { + var result = qs.parse('a[4]=b', { arrayLimit: 5, throwOnLimitExceeded: true, allowSparse: true }); + sst.ok(Array.isArray(result.a), 'result is an array'); + sst.equal(result.a.length, 5, 'array has correct length'); + sst.equal(result.a[4], 'b', 'value at index 4 is correct'); + sst.end(); + }); + + st.test('silently converts to object for indexed notation exceeding arrayLimit without throwOnLimitExceeded', function (sst) { + var result = qs.parse('a[1001]=b', { arrayLimit: 1000 }); + sst.deepEqual(result, { a: { 1001: 'b' } }, 'converts to object without throwing'); + sst.end(); + }); + + st.end(); + }); + + t.end(); +}); + +test('parses empty keys', function (t) { + emptyTestCases.forEach(function (testCase) { + t.test('skips empty string key with ' + testCase.input, function (st) { + st.deepEqual(qs.parse(testCase.input), testCase.noEmptyKeys); + + st.end(); + }); + }); +}); + +test('`duplicates` option', function (t) { + v.nonStrings.concat('not a valid option').forEach(function (invalidOption) { + if (typeof invalidOption !== 'undefined') { + t['throws']( + function () { qs.parse('', { duplicates: invalidOption }); }, + TypeError, + 'throws on invalid option: ' + inspect(invalidOption) + ); + } + }); + + t.deepEqual( + qs.parse('foo=bar&foo=baz'), + { foo: ['bar', 'baz'] }, + 'duplicates: default, combine' + ); + + t.deepEqual( + qs.parse('foo=bar&foo=baz', { duplicates: 'combine' }), + { foo: ['bar', 'baz'] }, + 'duplicates: combine' + ); + + t.deepEqual( + qs.parse('foo=bar&foo=baz', { duplicates: 'first' }), + { foo: 'bar' }, + 'duplicates: first' + ); + + t.deepEqual( + qs.parse('foo=bar&foo=baz', { duplicates: 'last' }), + { foo: 'baz' }, + 'duplicates: last' + ); + + t.end(); +}); + +test('qs strictDepth option - throw cases', function (t) { + t.test('throws an exception when depth exceeds the limit with strictDepth: true', function (st) { + st['throws']( + function () { + qs.parse('a[b][c][d][e][f][g][h][i]=j', { depth: 1, strictDepth: true }); + }, + RangeError, + 'throws RangeError' + ); + st.end(); + }); + + t.test('throws an exception for multiple nested arrays with strictDepth: true', function (st) { + st['throws']( + function () { + qs.parse('a[0][1][2][3][4]=b', { depth: 3, strictDepth: true }); + }, + RangeError, + 'throws RangeError' + ); + st.end(); + }); + + t.test('throws an exception for nested objects and arrays with strictDepth: true', function (st) { + st['throws']( + function () { + qs.parse('a[b][c][0][d][e]=f', { depth: 3, strictDepth: true }); + }, + RangeError, + 'throws RangeError' + ); + st.end(); + }); + + t.test('throws an exception for different types of values with strictDepth: true', function (st) { + st['throws']( + function () { + qs.parse('a[b][c][d][e]=true&a[b][c][d][f]=42', { depth: 3, strictDepth: true }); + }, + RangeError, + 'throws RangeError' + ); + st.end(); + }); + +}); + +test('qs strictDepth option - non-throw cases', function (t) { + t.test('when depth is 0 and strictDepth true, do not throw', function (st) { + st.doesNotThrow( + function () { + qs.parse('a[b][c][d][e]=true&a[b][c][d][f]=42', { depth: 0, strictDepth: true }); + }, + RangeError, + 'does not throw RangeError' + ); + st.end(); + }); + + t.test('parses successfully when depth is within the limit with strictDepth: true', function (st) { + st.doesNotThrow( + function () { + var result = qs.parse('a[b]=c', { depth: 1, strictDepth: true }); + st.deepEqual(result, { a: { b: 'c' } }, 'parses correctly'); + } + ); + st.end(); + }); + + t.test('does not throw an exception when depth exceeds the limit with strictDepth: false', function (st) { + st.doesNotThrow( + function () { + var result = qs.parse('a[b][c][d][e][f][g][h][i]=j', { depth: 1 }); + st.deepEqual(result, { a: { b: { '[c][d][e][f][g][h][i]': 'j' } } }, 'parses with depth limit'); + } + ); + st.end(); + }); + + t.test('parses successfully when depth is within the limit with strictDepth: false', function (st) { + st.doesNotThrow( + function () { + var result = qs.parse('a[b]=c', { depth: 1 }); + st.deepEqual(result, { a: { b: 'c' } }, 'parses correctly'); + } + ); + st.end(); + }); + + t.test('does not throw when depth is exactly at the limit with strictDepth: true', function (st) { + st.doesNotThrow( + function () { + var result = qs.parse('a[b][c]=d', { depth: 2, strictDepth: true }); + st.deepEqual(result, { a: { b: { c: 'd' } } }, 'parses correctly'); + } + ); + st.end(); + }); +}); + +test('DOS', function (t) { + var arr = []; + for (var i = 0; i < 105; i++) { + arr[arr.length] = 'x'; + } + var attack = 'a[]=' + arr.join('&a[]='); + var result = qs.parse(attack, { arrayLimit: 100 }); + + t.notOk(Array.isArray(result.a), 'arrayLimit is respected: result is an object, not an array'); + t.equal(Object.keys(result.a).length, 105, 'all values are preserved'); + + t.end(); +}); + +test('arrayLimit boundary conditions', function (t) { + // arrayLimit is the max number of elements allowed in an array + t.test('exactly at the limit stays as array', function (st) { + // 3 elements = limit of 3 + var result = qs.parse('a[]=1&a[]=2&a[]=3', { arrayLimit: 3 }); + st.ok(Array.isArray(result.a), 'result is an array when count equals limit'); + st.deepEqual(result.a, ['1', '2', '3'], 'all values present'); + st.end(); + }); + + t.test('one over the limit converts to object', function (st) { + // 4 elements exceeds limit of 3 + var result = qs.parse('a[]=1&a[]=2&a[]=3&a[]=4', { arrayLimit: 3 }); + st.notOk(Array.isArray(result.a), 'result is not an array when over limit'); + st.deepEqual(result.a, { 0: '1', 1: '2', 2: '3', 3: '4' }, 'all values preserved as object'); + st.end(); + }); + + t.test('arrayLimit 1 with one value', function (st) { + // 1 element = limit of 1 + var result = qs.parse('a[]=1', { arrayLimit: 1 }); + st.ok(Array.isArray(result.a), 'result is an array when count equals limit'); + st.deepEqual(result.a, ['1'], 'value preserved as array'); + st.end(); + }); + + t.test('arrayLimit 1 with two values converts to object', function (st) { + // 2 elements exceeds limit of 1 + var result = qs.parse('a[]=1&a[]=2', { arrayLimit: 1 }); + st.notOk(Array.isArray(result.a), 'result is not an array'); + st.deepEqual(result.a, { 0: '1', 1: '2' }, 'all values preserved as object'); + st.end(); + }); + + t.end(); +}); + +test('comma + arrayLimit', function (t) { + t.test('comma-separated values within arrayLimit stay as array', function (st) { + var result = qs.parse('a=1,2,3', { comma: true, arrayLimit: 5 }); + st.ok(Array.isArray(result.a), 'result is an array'); + st.deepEqual(result.a, ['1', '2', '3'], 'all values present'); + st.end(); + }); + + t.test('comma-separated values exceeding arrayLimit convert to object', function (st) { + var result = qs.parse('a=1,2,3,4', { comma: true, arrayLimit: 3 }); + st.notOk(Array.isArray(result.a), 'result is not an array when over limit'); + st.deepEqual(result.a, { 0: '1', 1: '2', 2: '3', 3: '4' }, 'all values preserved as object'); + st.end(); + }); + + t.test('comma-separated values exceeding arrayLimit with throwOnLimitExceeded throws', function (st) { + st['throws']( + function () { + qs.parse('a=1,2,3,4', { comma: true, arrayLimit: 3, throwOnLimitExceeded: true }); + }, + new RangeError('Array limit exceeded. Only 3 elements allowed in an array.'), + 'throws error when comma-split exceeds array limit' + ); + st.end(); + }); + + t.test('comma-separated values at exactly arrayLimit stay as array', function (st) { + var result = qs.parse('a=1,2,3', { comma: true, arrayLimit: 3 }); + st.ok(Array.isArray(result.a), 'result is an array when exactly at limit'); + st.deepEqual(result.a, ['1', '2', '3'], 'all values present'); + st.end(); + }); + + t.end(); +}); + +test('mixed array and object notation', function (t) { + t.test('array brackets with object key - under limit', function (st) { + st.deepEqual( + qs.parse('a[]=b&a[c]=d'), + { a: { 0: 'b', c: 'd' } }, + 'mixing [] and [key] converts to object' + ); + st.end(); + }); + + t.test('array index with object key - under limit', function (st) { + st.deepEqual( + qs.parse('a[0]=b&a[c]=d'), + { a: { 0: 'b', c: 'd' } }, + 'mixing [0] and [key] produces object' + ); + st.end(); + }); + + t.test('plain value with array brackets - under limit', function (st) { + st.deepEqual( + qs.parse('a=b&a[]=c', { arrayLimit: 20 }), + { a: ['b', 'c'] }, + 'plain value combined with [] stays as array under limit' + ); + st.end(); + }); + + t.test('array brackets with plain value - under limit', function (st) { + st.deepEqual( + qs.parse('a[]=b&a=c', { arrayLimit: 20 }), + { a: ['b', 'c'] }, + '[] combined with plain value stays as array under limit' + ); + st.end(); + }); + + t.test('plain value with array index - under limit', function (st) { + st.deepEqual( + qs.parse('a=b&a[0]=c', { arrayLimit: 20 }), + { a: ['b', 'c'] }, + 'plain value combined with [0] stays as array under limit' + ); + st.end(); + }); + + t.test('multiple plain values with duplicates combine', function (st) { + st.deepEqual( + qs.parse('a=b&a=c&a=d', { arrayLimit: 20 }), + { a: ['b', 'c', 'd'] }, + 'duplicate plain keys combine into array' + ); + st.end(); + }); + + t.test('multiple plain values exceeding limit', function (st) { + // 3 elements (indices 0-2), max index 2 > limit 1 + st.deepEqual( + qs.parse('a=b&a=c&a=d', { arrayLimit: 1 }), + { a: { 0: 'b', 1: 'c', 2: 'd' } }, + 'duplicate plain keys convert to object when exceeding limit' + ); + st.end(); + }); + + t.test('mixed notation produces consistent results when arrayLimit is exceeded', function (st) { + var expected = { a: { 0: 'b', 1: 'c', 2: 'd' } }; + + st.deepEqual( + qs.parse('a[]=b&a[1]=c&a=d', { arrayLimit: -1 }), + expected, + 'arrayLimit -1' + ); + + st.deepEqual( + qs.parse('a[]=b&a[1]=c&a=d', { arrayLimit: 0 }), + expected, + 'arrayLimit 0' + ); + + st.deepEqual( + qs.parse('a[]=b&a[1]=c&a=d', { arrayLimit: 1 }), + expected, + 'arrayLimit 1' + ); + + st.end(); + }); + + t.end(); +}); diff --git a/node_modules/qs/test/stringify.js b/node_modules/qs/test/stringify.js new file mode 100644 index 0000000..4d77694 --- /dev/null +++ b/node_modules/qs/test/stringify.js @@ -0,0 +1,1310 @@ +'use strict'; + +var test = require('tape'); +var qs = require('../'); +var utils = require('../lib/utils'); +var iconv = require('iconv-lite'); +var SaferBuffer = require('safer-buffer').Buffer; +var hasSymbols = require('has-symbols'); +var mockProperty = require('mock-property'); +var emptyTestCases = require('./empty-keys-cases').emptyTestCases; +var hasProto = require('has-proto')(); +var hasBigInt = require('has-bigints')(); + +test('stringify()', function (t) { + t.test('stringifies a querystring object', function (st) { + st.equal(qs.stringify({ a: 'b' }), 'a=b'); + st.equal(qs.stringify({ a: 1 }), 'a=1'); + st.equal(qs.stringify({ a: 1, b: 2 }), 'a=1&b=2'); + st.equal(qs.stringify({ a: 'A_Z' }), 'a=A_Z'); + st.equal(qs.stringify({ a: '€' }), 'a=%E2%82%AC'); + st.equal(qs.stringify({ a: '' }), 'a=%EE%80%80'); + st.equal(qs.stringify({ a: 'א' }), 'a=%D7%90'); + st.equal(qs.stringify({ a: '𐐷' }), 'a=%F0%90%90%B7'); + st.end(); + }); + + t.test('stringifies falsy values', function (st) { + st.equal(qs.stringify(undefined), ''); + st.equal(qs.stringify(null), ''); + st.equal(qs.stringify(null, { strictNullHandling: true }), ''); + st.equal(qs.stringify(false), ''); + st.equal(qs.stringify(0), ''); + st.end(); + }); + + t.test('stringifies symbols', { skip: !hasSymbols() }, function (st) { + st.equal(qs.stringify(Symbol.iterator), ''); + st.equal(qs.stringify([Symbol.iterator]), '0=Symbol%28Symbol.iterator%29'); + st.equal(qs.stringify({ a: Symbol.iterator }), 'a=Symbol%28Symbol.iterator%29'); + st.equal( + qs.stringify({ a: [Symbol.iterator] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), + 'a[]=Symbol%28Symbol.iterator%29' + ); + st.end(); + }); + + t.test('stringifies bigints', { skip: !hasBigInt }, function (st) { + var three = BigInt(3); + var encodeWithN = function (value, defaultEncoder, charset) { + var result = defaultEncoder(value, defaultEncoder, charset); + return typeof value === 'bigint' ? result + 'n' : result; + }; + st.equal(qs.stringify(three), ''); + st.equal(qs.stringify([three]), '0=3'); + st.equal(qs.stringify([three], { encoder: encodeWithN }), '0=3n'); + st.equal(qs.stringify({ a: three }), 'a=3'); + st.equal(qs.stringify({ a: three }, { encoder: encodeWithN }), 'a=3n'); + st.equal( + qs.stringify({ a: [three] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), + 'a[]=3' + ); + st.equal( + qs.stringify({ a: [three] }, { encodeValuesOnly: true, encoder: encodeWithN, arrayFormat: 'brackets' }), + 'a[]=3n' + ); + st.end(); + }); + + t.test('encodes dot in key of object when encodeDotInKeys and allowDots is provided', function (st) { + st.equal( + qs.stringify( + { 'name.obj': { first: 'John', last: 'Doe' } }, + { allowDots: false, encodeDotInKeys: false } + ), + 'name.obj%5Bfirst%5D=John&name.obj%5Blast%5D=Doe', + 'with allowDots false and encodeDotInKeys false' + ); + st.equal( + qs.stringify( + { 'name.obj': { first: 'John', last: 'Doe' } }, + { allowDots: true, encodeDotInKeys: false } + ), + 'name.obj.first=John&name.obj.last=Doe', + 'with allowDots true and encodeDotInKeys false' + ); + st.equal( + qs.stringify( + { 'name.obj': { first: 'John', last: 'Doe' } }, + { allowDots: false, encodeDotInKeys: true } + ), + 'name%252Eobj%5Bfirst%5D=John&name%252Eobj%5Blast%5D=Doe', + 'with allowDots false and encodeDotInKeys true' + ); + st.equal( + qs.stringify( + { 'name.obj': { first: 'John', last: 'Doe' } }, + { allowDots: true, encodeDotInKeys: true } + ), + 'name%252Eobj.first=John&name%252Eobj.last=Doe', + 'with allowDots true and encodeDotInKeys true' + ); + + st.equal( + qs.stringify( + { 'name.obj.subobject': { 'first.godly.name': 'John', last: 'Doe' } }, + { allowDots: false, encodeDotInKeys: false } + ), + 'name.obj.subobject%5Bfirst.godly.name%5D=John&name.obj.subobject%5Blast%5D=Doe', + 'with allowDots false and encodeDotInKeys false' + ); + st.equal( + qs.stringify( + { 'name.obj.subobject': { 'first.godly.name': 'John', last: 'Doe' } }, + { allowDots: true, encodeDotInKeys: false } + ), + 'name.obj.subobject.first.godly.name=John&name.obj.subobject.last=Doe', + 'with allowDots false and encodeDotInKeys false' + ); + st.equal( + qs.stringify( + { 'name.obj.subobject': { 'first.godly.name': 'John', last: 'Doe' } }, + { allowDots: false, encodeDotInKeys: true } + ), + 'name%252Eobj%252Esubobject%5Bfirst.godly.name%5D=John&name%252Eobj%252Esubobject%5Blast%5D=Doe', + 'with allowDots false and encodeDotInKeys true' + ); + st.equal( + qs.stringify( + { 'name.obj.subobject': { 'first.godly.name': 'John', last: 'Doe' } }, + { allowDots: true, encodeDotInKeys: true } + ), + 'name%252Eobj%252Esubobject.first%252Egodly%252Ename=John&name%252Eobj%252Esubobject.last=Doe', + 'with allowDots true and encodeDotInKeys true' + ); + + st.end(); + }); + + t.test('should encode dot in key of object, and automatically set allowDots to `true` when encodeDotInKeys is true and allowDots in undefined', function (st) { + st.equal( + qs.stringify( + { 'name.obj.subobject': { 'first.godly.name': 'John', last: 'Doe' } }, + { encodeDotInKeys: true } + ), + 'name%252Eobj%252Esubobject.first%252Egodly%252Ename=John&name%252Eobj%252Esubobject.last=Doe', + 'with allowDots undefined and encodeDotInKeys true' + ); + st.end(); + }); + + t.test('should encode dot in key of object when encodeDotInKeys and allowDots is provided, and nothing else when encodeValuesOnly is provided', function (st) { + st.equal( + qs.stringify({ 'name.obj': { first: 'John', last: 'Doe' } }, { + encodeDotInKeys: true, allowDots: true, encodeValuesOnly: true + }), + 'name%2Eobj.first=John&name%2Eobj.last=Doe' + ); + + st.equal( + qs.stringify({ 'name.obj.subobject': { 'first.godly.name': 'John', last: 'Doe' } }, { allowDots: true, encodeDotInKeys: true, encodeValuesOnly: true }), + 'name%2Eobj%2Esubobject.first%2Egodly%2Ename=John&name%2Eobj%2Esubobject.last=Doe' + ); + + st.end(); + }); + + t.test('throws when `commaRoundTrip` is not a boolean', function (st) { + st['throws']( + function () { qs.stringify({}, { commaRoundTrip: 'not a boolean' }); }, + TypeError, + 'throws when `commaRoundTrip` is not a boolean' + ); + + st.end(); + }); + + t.test('throws when `encodeDotInKeys` is not a boolean', function (st) { + st['throws']( + function () { qs.stringify({ a: [], b: 'zz' }, { encodeDotInKeys: 'foobar' }); }, + TypeError + ); + + st['throws']( + function () { qs.stringify({ a: [], b: 'zz' }, { encodeDotInKeys: 0 }); }, + TypeError + ); + + st['throws']( + function () { qs.stringify({ a: [], b: 'zz' }, { encodeDotInKeys: NaN }); }, + TypeError + ); + + st['throws']( + function () { qs.stringify({ a: [], b: 'zz' }, { encodeDotInKeys: null }); }, + TypeError + ); + + st.end(); + }); + + t.test('adds query prefix', function (st) { + st.equal(qs.stringify({ a: 'b' }, { addQueryPrefix: true }), '?a=b'); + st.end(); + }); + + t.test('with query prefix, outputs blank string given an empty object', function (st) { + st.equal(qs.stringify({}, { addQueryPrefix: true }), ''); + st.end(); + }); + + t.test('stringifies nested falsy values', function (st) { + st.equal(qs.stringify({ a: { b: { c: null } } }), 'a%5Bb%5D%5Bc%5D='); + st.equal(qs.stringify({ a: { b: { c: null } } }, { strictNullHandling: true }), 'a%5Bb%5D%5Bc%5D'); + st.equal(qs.stringify({ a: { b: { c: false } } }), 'a%5Bb%5D%5Bc%5D=false'); + st.end(); + }); + + t.test('stringifies a nested object', function (st) { + st.equal(qs.stringify({ a: { b: 'c' } }), 'a%5Bb%5D=c'); + st.equal(qs.stringify({ a: { b: { c: { d: 'e' } } } }), 'a%5Bb%5D%5Bc%5D%5Bd%5D=e'); + st.end(); + }); + + t.test('`allowDots` option: stringifies a nested object with dots notation', function (st) { + st.equal(qs.stringify({ a: { b: 'c' } }, { allowDots: true }), 'a.b=c'); + st.equal(qs.stringify({ a: { b: { c: { d: 'e' } } } }, { allowDots: true }), 'a.b.c.d=e'); + st.end(); + }); + + t.test('stringifies an array value', function (st) { + st.equal( + qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'indices' }), + 'a%5B0%5D=b&a%5B1%5D=c&a%5B2%5D=d', + 'indices => indices' + ); + st.equal( + qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'brackets' }), + 'a%5B%5D=b&a%5B%5D=c&a%5B%5D=d', + 'brackets => brackets' + ); + st.equal( + qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'comma' }), + 'a=b%2Cc%2Cd', + 'comma => comma' + ); + st.equal( + qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'comma', commaRoundTrip: true }), + 'a=b%2Cc%2Cd', + 'comma round trip => comma' + ); + st.equal( + qs.stringify({ a: ['b', 'c', 'd'] }), + 'a%5B0%5D=b&a%5B1%5D=c&a%5B2%5D=d', + 'default => indices' + ); + st.end(); + }); + + t.test('`skipNulls` option', function (st) { + st.equal( + qs.stringify({ a: 'b', c: null }, { skipNulls: true }), + 'a=b', + 'omits nulls when asked' + ); + + st.equal( + qs.stringify({ a: { b: 'c', d: null } }, { skipNulls: true }), + 'a%5Bb%5D=c', + 'omits nested nulls when asked' + ); + + st.end(); + }); + + t.test('omits array indices when asked', function (st) { + st.equal(qs.stringify({ a: ['b', 'c', 'd'] }, { indices: false }), 'a=b&a=c&a=d'); + + st.end(); + }); + + t.test('omits object key/value pair when value is empty array', function (st) { + st.equal(qs.stringify({ a: [], b: 'zz' }), 'b=zz'); + + st.end(); + }); + + t.test('should not omit object key/value pair when value is empty array and when asked', function (st) { + st.equal(qs.stringify({ a: [], b: 'zz' }), 'b=zz'); + st.equal(qs.stringify({ a: [], b: 'zz' }, { allowEmptyArrays: false }), 'b=zz'); + st.equal(qs.stringify({ a: [], b: 'zz' }, { allowEmptyArrays: true }), 'a[]&b=zz'); + + st.end(); + }); + + t.test('should throw when allowEmptyArrays is not of type boolean', function (st) { + st['throws']( + function () { qs.stringify({ a: [], b: 'zz' }, { allowEmptyArrays: 'foobar' }); }, + TypeError + ); + + st['throws']( + function () { qs.stringify({ a: [], b: 'zz' }, { allowEmptyArrays: 0 }); }, + TypeError + ); + + st['throws']( + function () { qs.stringify({ a: [], b: 'zz' }, { allowEmptyArrays: NaN }); }, + TypeError + ); + + st['throws']( + function () { qs.stringify({ a: [], b: 'zz' }, { allowEmptyArrays: null }); }, + TypeError + ); + + st.end(); + }); + + t.test('allowEmptyArrays + strictNullHandling', function (st) { + st.equal( + qs.stringify( + { testEmptyArray: [] }, + { strictNullHandling: true, allowEmptyArrays: true } + ), + 'testEmptyArray[]' + ); + + st.end(); + }); + + t.test('stringifies an array value with one item vs multiple items', function (st) { + st.test('non-array item', function (s2t) { + s2t.equal(qs.stringify({ a: 'c' }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a=c'); + s2t.equal(qs.stringify({ a: 'c' }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a=c'); + s2t.equal(qs.stringify({ a: 'c' }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=c'); + s2t.equal(qs.stringify({ a: 'c' }, { encodeValuesOnly: true }), 'a=c'); + + s2t.end(); + }); + + st.test('array with a single item', function (s2t) { + s2t.equal(qs.stringify({ a: ['c'] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[0]=c'); + s2t.equal(qs.stringify({ a: ['c'] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[]=c'); + s2t.equal(qs.stringify({ a: ['c'] }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=c'); + s2t.equal(qs.stringify({ a: ['c'] }, { encodeValuesOnly: true, arrayFormat: 'comma', commaRoundTrip: true }), 'a[]=c'); // so it parses back as an array + s2t.equal(qs.stringify({ a: ['c'] }, { encodeValuesOnly: true }), 'a[0]=c'); + + s2t.end(); + }); + + st.test('array with multiple items', function (s2t) { + s2t.equal(qs.stringify({ a: ['c', 'd'] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[0]=c&a[1]=d'); + s2t.equal(qs.stringify({ a: ['c', 'd'] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[]=c&a[]=d'); + s2t.equal(qs.stringify({ a: ['c', 'd'] }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=c,d'); + s2t.equal(qs.stringify({ a: ['c', 'd'] }, { encodeValuesOnly: true, arrayFormat: 'comma', commaRoundTrip: true }), 'a=c,d'); + s2t.equal(qs.stringify({ a: ['c', 'd'] }, { encodeValuesOnly: true }), 'a[0]=c&a[1]=d'); + + s2t.end(); + }); + + st.test('array with multiple items with a comma inside', function (s2t) { + s2t.equal(qs.stringify({ a: ['c,d', 'e'] }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=c%2Cd,e'); + s2t.equal(qs.stringify({ a: ['c,d', 'e'] }, { arrayFormat: 'comma' }), 'a=c%2Cd%2Ce'); + + s2t.equal(qs.stringify({ a: ['c,d', 'e'] }, { encodeValuesOnly: true, arrayFormat: 'comma', commaRoundTrip: true }), 'a=c%2Cd,e'); + s2t.equal(qs.stringify({ a: ['c,d', 'e'] }, { arrayFormat: 'comma', commaRoundTrip: true }), 'a=c%2Cd%2Ce'); + + s2t.end(); + }); + + st.end(); + }); + + t.test('stringifies a nested array value', function (st) { + st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[b][0]=c&a[b][1]=d'); + st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[b][]=c&a[b][]=d'); + st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a[b]=c,d'); + st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { encodeValuesOnly: true }), 'a[b][0]=c&a[b][1]=d'); + st.end(); + }); + + t.test('stringifies comma and empty array values', function (st) { + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: false, arrayFormat: 'indices' }), 'a[0]=,&a[1]=&a[2]=c,d%'); + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: false, arrayFormat: 'brackets' }), 'a[]=,&a[]=&a[]=c,d%'); + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: false, arrayFormat: 'comma' }), 'a=,,,c,d%'); + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: false, arrayFormat: 'repeat' }), 'a=,&a=&a=c,d%'); + + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[0]=%2C&a[1]=&a[2]=c%2Cd%25'); + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[]=%2C&a[]=&a[]=c%2Cd%25'); + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=%2C,,c%2Cd%25'); + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: true, arrayFormat: 'repeat' }), 'a=%2C&a=&a=c%2Cd%25'); + + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: false, arrayFormat: 'indices' }), 'a%5B0%5D=%2C&a%5B1%5D=&a%5B2%5D=c%2Cd%25'); + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: false, arrayFormat: 'brackets' }), 'a%5B%5D=%2C&a%5B%5D=&a%5B%5D=c%2Cd%25'); + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: false, arrayFormat: 'comma' }), 'a=%2C%2C%2Cc%2Cd%25'); + st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: false, arrayFormat: 'repeat' }), 'a=%2C&a=&a=c%2Cd%25'); + + st.end(); + }); + + t.test('stringifies comma and empty non-array values', function (st) { + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: false, arrayFormat: 'indices' }), 'a=,&b=&c=c,d%'); + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: false, arrayFormat: 'brackets' }), 'a=,&b=&c=c,d%'); + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: false, arrayFormat: 'comma' }), 'a=,&b=&c=c,d%'); + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: false, arrayFormat: 'repeat' }), 'a=,&b=&c=c,d%'); + + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: true, arrayFormat: 'indices' }), 'a=%2C&b=&c=c%2Cd%25'); + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a=%2C&b=&c=c%2Cd%25'); + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=%2C&b=&c=c%2Cd%25'); + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: true, arrayFormat: 'repeat' }), 'a=%2C&b=&c=c%2Cd%25'); + + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: false, arrayFormat: 'indices' }), 'a=%2C&b=&c=c%2Cd%25'); + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: false, arrayFormat: 'brackets' }), 'a=%2C&b=&c=c%2Cd%25'); + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: false, arrayFormat: 'comma' }), 'a=%2C&b=&c=c%2Cd%25'); + st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: false, arrayFormat: 'repeat' }), 'a=%2C&b=&c=c%2Cd%25'); + + st.end(); + }); + + t.test('stringifies a nested array value with dots notation', function (st) { + st.equal( + qs.stringify( + { a: { b: ['c', 'd'] } }, + { allowDots: true, encodeValuesOnly: true, arrayFormat: 'indices' } + ), + 'a.b[0]=c&a.b[1]=d', + 'indices: stringifies with dots + indices' + ); + st.equal( + qs.stringify( + { a: { b: ['c', 'd'] } }, + { allowDots: true, encodeValuesOnly: true, arrayFormat: 'brackets' } + ), + 'a.b[]=c&a.b[]=d', + 'brackets: stringifies with dots + brackets' + ); + st.equal( + qs.stringify( + { a: { b: ['c', 'd'] } }, + { allowDots: true, encodeValuesOnly: true, arrayFormat: 'comma' } + ), + 'a.b=c,d', + 'comma: stringifies with dots + comma' + ); + st.equal( + qs.stringify( + { a: { b: ['c', 'd'] } }, + { allowDots: true, encodeValuesOnly: true } + ), + 'a.b[0]=c&a.b[1]=d', + 'default: stringifies with dots + indices' + ); + st.end(); + }); + + t.test('stringifies an object inside an array', function (st) { + st.equal( + qs.stringify({ a: [{ b: 'c' }] }, { arrayFormat: 'indices', encodeValuesOnly: true }), + 'a[0][b]=c', + 'indices => indices' + ); + st.equal( + qs.stringify({ a: [{ b: 'c' }] }, { arrayFormat: 'repeat', encodeValuesOnly: true }), + 'a[b]=c', + 'repeat => repeat' + ); + st.equal( + qs.stringify({ a: [{ b: 'c' }] }, { arrayFormat: 'brackets', encodeValuesOnly: true }), + 'a[][b]=c', + 'brackets => brackets' + ); + st.equal( + qs.stringify({ a: [{ b: 'c' }] }, { encodeValuesOnly: true }), + 'a[0][b]=c', + 'default => indices' + ); + + st.equal( + qs.stringify({ a: [{ b: { c: [1] } }] }, { arrayFormat: 'indices', encodeValuesOnly: true }), + 'a[0][b][c][0]=1', + 'indices => indices' + ); + st.equal( + qs.stringify({ a: [{ b: { c: [1] } }] }, { arrayFormat: 'repeat', encodeValuesOnly: true }), + 'a[b][c]=1', + 'repeat => repeat' + ); + st.equal( + qs.stringify({ a: [{ b: { c: [1] } }] }, { arrayFormat: 'brackets', encodeValuesOnly: true }), + 'a[][b][c][]=1', + 'brackets => brackets' + ); + st.equal( + qs.stringify({ a: [{ b: { c: [1] } }] }, { encodeValuesOnly: true }), + 'a[0][b][c][0]=1', + 'default => indices' + ); + + st.end(); + }); + + t.test('stringifies an array with mixed objects and primitives', function (st) { + st.equal( + qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), + 'a[0][b]=1&a[1]=2&a[2]=3', + 'indices => indices' + ); + st.equal( + qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), + 'a[][b]=1&a[]=2&a[]=3', + 'brackets => brackets' + ); + st.equal( + qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encodeValuesOnly: true, arrayFormat: 'comma' }), + '???', + 'brackets => brackets', + { skip: 'TODO: figure out what this should do' } + ); + st.equal( + qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encodeValuesOnly: true }), + 'a[0][b]=1&a[1]=2&a[2]=3', + 'default => indices' + ); + + st.end(); + }); + + t.test('stringifies an object inside an array with dots notation', function (st) { + st.equal( + qs.stringify( + { a: [{ b: 'c' }] }, + { allowDots: true, encode: false, arrayFormat: 'indices' } + ), + 'a[0].b=c', + 'indices => indices' + ); + st.equal( + qs.stringify( + { a: [{ b: 'c' }] }, + { allowDots: true, encode: false, arrayFormat: 'brackets' } + ), + 'a[].b=c', + 'brackets => brackets' + ); + st.equal( + qs.stringify( + { a: [{ b: 'c' }] }, + { allowDots: true, encode: false } + ), + 'a[0].b=c', + 'default => indices' + ); + + st.equal( + qs.stringify( + { a: [{ b: { c: [1] } }] }, + { allowDots: true, encode: false, arrayFormat: 'indices' } + ), + 'a[0].b.c[0]=1', + 'indices => indices' + ); + st.equal( + qs.stringify( + { a: [{ b: { c: [1] } }] }, + { allowDots: true, encode: false, arrayFormat: 'brackets' } + ), + 'a[].b.c[]=1', + 'brackets => brackets' + ); + st.equal( + qs.stringify( + { a: [{ b: { c: [1] } }] }, + { allowDots: true, encode: false } + ), + 'a[0].b.c[0]=1', + 'default => indices' + ); + + st.end(); + }); + + t.test('does not omit object keys when indices = false', function (st) { + st.equal(qs.stringify({ a: [{ b: 'c' }] }, { indices: false }), 'a%5Bb%5D=c'); + st.end(); + }); + + t.test('uses indices notation for arrays when indices=true', function (st) { + st.equal(qs.stringify({ a: ['b', 'c'] }, { indices: true }), 'a%5B0%5D=b&a%5B1%5D=c'); + st.end(); + }); + + t.test('uses indices notation for arrays when no arrayFormat is specified', function (st) { + st.equal(qs.stringify({ a: ['b', 'c'] }), 'a%5B0%5D=b&a%5B1%5D=c'); + st.end(); + }); + + t.test('uses indices notation for arrays when arrayFormat=indices', function (st) { + st.equal(qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'indices' }), 'a%5B0%5D=b&a%5B1%5D=c'); + st.end(); + }); + + t.test('uses repeat notation for arrays when arrayFormat=repeat', function (st) { + st.equal(qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'repeat' }), 'a=b&a=c'); + st.end(); + }); + + t.test('uses brackets notation for arrays when arrayFormat=brackets', function (st) { + st.equal(qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'brackets' }), 'a%5B%5D=b&a%5B%5D=c'); + st.end(); + }); + + t.test('stringifies a complicated object', function (st) { + st.equal(qs.stringify({ a: { b: 'c', d: 'e' } }), 'a%5Bb%5D=c&a%5Bd%5D=e'); + st.end(); + }); + + t.test('stringifies an empty value', function (st) { + st.equal(qs.stringify({ a: '' }), 'a='); + st.equal(qs.stringify({ a: null }, { strictNullHandling: true }), 'a'); + + st.equal(qs.stringify({ a: '', b: '' }), 'a=&b='); + st.equal(qs.stringify({ a: null, b: '' }, { strictNullHandling: true }), 'a&b='); + + st.equal(qs.stringify({ a: { b: '' } }), 'a%5Bb%5D='); + st.equal(qs.stringify({ a: { b: null } }, { strictNullHandling: true }), 'a%5Bb%5D'); + st.equal(qs.stringify({ a: { b: null } }, { strictNullHandling: false }), 'a%5Bb%5D='); + + st.end(); + }); + + t.test('stringifies an empty array in different arrayFormat', function (st) { + st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false }), 'b[0]=&c=c'); + // arrayFormat default + st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'indices' }), 'b[0]=&c=c'); + st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'brackets' }), 'b[]=&c=c'); + st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'repeat' }), 'b=&c=c'); + st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma' }), 'b=&c=c'); + st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma', commaRoundTrip: true }), 'b[]=&c=c'); + // with strictNullHandling + st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'indices', strictNullHandling: true }), 'b[0]&c=c'); + st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'brackets', strictNullHandling: true }), 'b[]&c=c'); + st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'repeat', strictNullHandling: true }), 'b&c=c'); + st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma', strictNullHandling: true }), 'b&c=c'); + st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma', strictNullHandling: true, commaRoundTrip: true }), 'b[]&c=c'); + // with skipNulls + st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'indices', skipNulls: true }), 'c=c'); + st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'brackets', skipNulls: true }), 'c=c'); + st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'repeat', skipNulls: true }), 'c=c'); + st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma', skipNulls: true }), 'c=c'); + + st.end(); + }); + + t.test('stringifies a null object', { skip: !hasProto }, function (st) { + st.equal(qs.stringify({ __proto__: null, a: 'b' }), 'a=b'); + st.end(); + }); + + t.test('returns an empty string for invalid input', function (st) { + st.equal(qs.stringify(undefined), ''); + st.equal(qs.stringify(false), ''); + st.equal(qs.stringify(null), ''); + st.equal(qs.stringify(''), ''); + st.end(); + }); + + t.test('stringifies an object with a null object as a child', { skip: !hasProto }, function (st) { + st.equal(qs.stringify({ a: { __proto__: null, b: 'c' } }), 'a%5Bb%5D=c'); + st.end(); + }); + + t.test('drops keys with a value of undefined', function (st) { + st.equal(qs.stringify({ a: undefined }), ''); + + st.equal(qs.stringify({ a: { b: undefined, c: null } }, { strictNullHandling: true }), 'a%5Bc%5D'); + st.equal(qs.stringify({ a: { b: undefined, c: null } }, { strictNullHandling: false }), 'a%5Bc%5D='); + st.equal(qs.stringify({ a: { b: undefined, c: '' } }), 'a%5Bc%5D='); + st.end(); + }); + + t.test('url encodes values', function (st) { + st.equal(qs.stringify({ a: 'b c' }), 'a=b%20c'); + st.end(); + }); + + t.test('stringifies a date', function (st) { + var now = new Date(); + var str = 'a=' + encodeURIComponent(now.toISOString()); + st.equal(qs.stringify({ a: now }), str); + st.end(); + }); + + t.test('stringifies the weird object from qs', function (st) { + st.equal(qs.stringify({ 'my weird field': '~q1!2"\'w$5&7/z8)?' }), 'my%20weird%20field=~q1%212%22%27w%245%267%2Fz8%29%3F'); + st.end(); + }); + + t.test('skips properties that are part of the object prototype', function (st) { + st.intercept(Object.prototype, 'crash', { value: 'test' }); + + st.equal(qs.stringify({ a: 'b' }), 'a=b'); + st.equal(qs.stringify({ a: { b: 'c' } }), 'a%5Bb%5D=c'); + + st.end(); + }); + + t.test('stringifies boolean values', function (st) { + st.equal(qs.stringify({ a: true }), 'a=true'); + st.equal(qs.stringify({ a: { b: true } }), 'a%5Bb%5D=true'); + st.equal(qs.stringify({ b: false }), 'b=false'); + st.equal(qs.stringify({ b: { c: false } }), 'b%5Bc%5D=false'); + st.end(); + }); + + t.test('stringifies buffer values', function (st) { + st.equal(qs.stringify({ a: SaferBuffer.from('test') }), 'a=test'); + st.equal(qs.stringify({ a: { b: SaferBuffer.from('test') } }), 'a%5Bb%5D=test'); + st.end(); + }); + + t.test('stringifies an object using an alternative delimiter', function (st) { + st.equal(qs.stringify({ a: 'b', c: 'd' }, { delimiter: ';' }), 'a=b;c=d'); + st.end(); + }); + + t.test('does not blow up when Buffer global is missing', function (st) { + var restore = mockProperty(global, 'Buffer', { 'delete': true }); + + var result = qs.stringify({ a: 'b', c: 'd' }); + + restore(); + + st.equal(result, 'a=b&c=d'); + st.end(); + }); + + t.test('does not crash when parsing circular references', function (st) { + var a = {}; + a.b = a; + + st['throws']( + function () { qs.stringify({ 'foo[bar]': 'baz', 'foo[baz]': a }); }, + /RangeError: Cyclic object value/, + 'cyclic values throw' + ); + + var circular = { + a: 'value' + }; + circular.a = circular; + st['throws']( + function () { qs.stringify(circular); }, + /RangeError: Cyclic object value/, + 'cyclic values throw' + ); + + var arr = ['a']; + st.doesNotThrow( + function () { qs.stringify({ x: arr, y: arr }); }, + 'non-cyclic values do not throw' + ); + + st.end(); + }); + + t.test('non-circular duplicated references can still work', function (st) { + var hourOfDay = { + 'function': 'hour_of_day' + }; + + var p1 = { + 'function': 'gte', + arguments: [hourOfDay, 0] + }; + var p2 = { + 'function': 'lte', + arguments: [hourOfDay, 23] + }; + + st.equal( + qs.stringify({ filters: { $and: [p1, p2] } }, { encodeValuesOnly: true, arrayFormat: 'indices' }), + 'filters[$and][0][function]=gte&filters[$and][0][arguments][0][function]=hour_of_day&filters[$and][0][arguments][1]=0&filters[$and][1][function]=lte&filters[$and][1][arguments][0][function]=hour_of_day&filters[$and][1][arguments][1]=23' + ); + st.equal( + qs.stringify({ filters: { $and: [p1, p2] } }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), + 'filters[$and][][function]=gte&filters[$and][][arguments][][function]=hour_of_day&filters[$and][][arguments][]=0&filters[$and][][function]=lte&filters[$and][][arguments][][function]=hour_of_day&filters[$and][][arguments][]=23' + ); + st.equal( + qs.stringify({ filters: { $and: [p1, p2] } }, { encodeValuesOnly: true, arrayFormat: 'repeat' }), + 'filters[$and][function]=gte&filters[$and][arguments][function]=hour_of_day&filters[$and][arguments]=0&filters[$and][function]=lte&filters[$and][arguments][function]=hour_of_day&filters[$and][arguments]=23' + ); + + st.end(); + }); + + t.test('selects properties when filter=array', function (st) { + st.equal(qs.stringify({ a: 'b' }, { filter: ['a'] }), 'a=b'); + st.equal(qs.stringify({ a: 1 }, { filter: [] }), ''); + + st.equal( + qs.stringify( + { a: { b: [1, 2, 3, 4], c: 'd' }, c: 'f' }, + { filter: ['a', 'b', 0, 2], arrayFormat: 'indices' } + ), + 'a%5Bb%5D%5B0%5D=1&a%5Bb%5D%5B2%5D=3', + 'indices => indices' + ); + st.equal( + qs.stringify( + { a: { b: [1, 2, 3, 4], c: 'd' }, c: 'f' }, + { filter: ['a', 'b', 0, 2], arrayFormat: 'brackets' } + ), + 'a%5Bb%5D%5B%5D=1&a%5Bb%5D%5B%5D=3', + 'brackets => brackets' + ); + st.equal( + qs.stringify( + { a: { b: [1, 2, 3, 4], c: 'd' }, c: 'f' }, + { filter: ['a', 'b', 0, 2] } + ), + 'a%5Bb%5D%5B0%5D=1&a%5Bb%5D%5B2%5D=3', + 'default => indices' + ); + + st.end(); + }); + + t.test('supports custom representations when filter=function', function (st) { + var calls = 0; + var obj = { a: 'b', c: 'd', e: { f: new Date(1257894000000) } }; + var filterFunc = function (prefix, value) { + calls += 1; + if (calls === 1) { + st.equal(prefix, '', 'prefix is empty'); + st.equal(value, obj); + } else if (prefix === 'c') { + return void 0; + } else if (value instanceof Date) { + st.equal(prefix, 'e[f]'); + return value.getTime(); + } + return value; + }; + + st.equal(qs.stringify(obj, { filter: filterFunc }), 'a=b&e%5Bf%5D=1257894000000'); + st.equal(calls, 5); + st.end(); + }); + + t.test('can disable uri encoding', function (st) { + st.equal(qs.stringify({ a: 'b' }, { encode: false }), 'a=b'); + st.equal(qs.stringify({ a: { b: 'c' } }, { encode: false }), 'a[b]=c'); + st.equal(qs.stringify({ a: 'b', c: null }, { strictNullHandling: true, encode: false }), 'a=b&c'); + st.end(); + }); + + t.test('can sort the keys', function (st) { + var sort = function (a, b) { + return a.localeCompare(b); + }; + st.equal(qs.stringify({ a: 'c', z: 'y', b: 'f' }, { sort: sort }), 'a=c&b=f&z=y'); + st.equal(qs.stringify({ a: 'c', z: { j: 'a', i: 'b' }, b: 'f' }, { sort: sort }), 'a=c&b=f&z%5Bi%5D=b&z%5Bj%5D=a'); + st.end(); + }); + + t.test('can sort the keys at depth 3 or more too', function (st) { + var sort = function (a, b) { + return a.localeCompare(b); + }; + st.equal( + qs.stringify( + { a: 'a', z: { zj: { zjb: 'zjb', zja: 'zja' }, zi: { zib: 'zib', zia: 'zia' } }, b: 'b' }, + { sort: sort, encode: false } + ), + 'a=a&b=b&z[zi][zia]=zia&z[zi][zib]=zib&z[zj][zja]=zja&z[zj][zjb]=zjb' + ); + st.equal( + qs.stringify( + { a: 'a', z: { zj: { zjb: 'zjb', zja: 'zja' }, zi: { zib: 'zib', zia: 'zia' } }, b: 'b' }, + { sort: null, encode: false } + ), + 'a=a&z[zj][zjb]=zjb&z[zj][zja]=zja&z[zi][zib]=zib&z[zi][zia]=zia&b=b' + ); + st.end(); + }); + + t.test('can stringify with custom encoding', function (st) { + st.equal(qs.stringify({ 県: '大阪府', '': '' }, { + encoder: function (str) { + if (str.length === 0) { + return ''; + } + var buf = iconv.encode(str, 'shiftjis'); + var result = []; + for (var i = 0; i < buf.length; ++i) { + result.push(buf.readUInt8(i).toString(16)); + } + return '%' + result.join('%'); + } + }), '%8c%a7=%91%e5%8d%e3%95%7b&='); + st.end(); + }); + + t.test('receives the default encoder as a second argument', function (st) { + st.plan(8); + + qs.stringify({ a: 1, b: new Date(), c: true, d: [1] }, { + encoder: function (str) { + st.match(typeof str, /^(?:string|number|boolean)$/); + return ''; + } + }); + + st.end(); + }); + + t.test('receives the default encoder as a second argument', function (st) { + st.plan(2); + + qs.stringify({ a: 1 }, { + encoder: function (str, defaultEncoder) { + st.equal(defaultEncoder, utils.encode); + } + }); + + st.end(); + }); + + t.test('throws error with wrong encoder', function (st) { + st['throws'](function () { + qs.stringify({}, { encoder: 'string' }); + }, new TypeError('Encoder has to be a function.')); + st.end(); + }); + + t.test('can use custom encoder for a buffer object', { skip: typeof Buffer === 'undefined' }, function (st) { + st.equal(qs.stringify({ a: SaferBuffer.from([1]) }, { + encoder: function (buffer) { + if (typeof buffer === 'string') { + return buffer; + } + return String.fromCharCode(buffer.readUInt8(0) + 97); + } + }), 'a=b'); + + st.equal(qs.stringify({ a: SaferBuffer.from('a b') }, { + encoder: function (buffer) { + return buffer; + } + }), 'a=a b'); + st.end(); + }); + + t.test('serializeDate option', function (st) { + var date = new Date(); + st.equal( + qs.stringify({ a: date }), + 'a=' + date.toISOString().replace(/:/g, '%3A'), + 'default is toISOString' + ); + + var mutatedDate = new Date(); + mutatedDate.toISOString = function () { + throw new SyntaxError(); + }; + st['throws'](function () { + mutatedDate.toISOString(); + }, SyntaxError); + st.equal( + qs.stringify({ a: mutatedDate }), + 'a=' + Date.prototype.toISOString.call(mutatedDate).replace(/:/g, '%3A'), + 'toISOString works even when method is not locally present' + ); + + var specificDate = new Date(6); + st.equal( + qs.stringify( + { a: specificDate }, + { serializeDate: function (d) { return d.getTime() * 7; } } + ), + 'a=42', + 'custom serializeDate function called' + ); + + st.equal( + qs.stringify( + { a: [date] }, + { + serializeDate: function (d) { return d.getTime(); }, + arrayFormat: 'comma' + } + ), + 'a=' + date.getTime(), + 'works with arrayFormat comma' + ); + st.equal( + qs.stringify( + { a: [date] }, + { + serializeDate: function (d) { return d.getTime(); }, + arrayFormat: 'comma', + commaRoundTrip: true + } + ), + 'a%5B%5D=' + date.getTime(), + 'works with arrayFormat comma' + ); + + st.end(); + }); + + t.test('RFC 1738 serialization', function (st) { + st.equal(qs.stringify({ a: 'b c' }, { format: qs.formats.RFC1738 }), 'a=b+c'); + st.equal(qs.stringify({ 'a b': 'c d' }, { format: qs.formats.RFC1738 }), 'a+b=c+d'); + st.equal(qs.stringify({ 'a b': SaferBuffer.from('a b') }, { format: qs.formats.RFC1738 }), 'a+b=a+b'); + + st.equal(qs.stringify({ 'foo(ref)': 'bar' }, { format: qs.formats.RFC1738 }), 'foo(ref)=bar'); + + st.end(); + }); + + t.test('RFC 3986 spaces serialization', function (st) { + st.equal(qs.stringify({ a: 'b c' }, { format: qs.formats.RFC3986 }), 'a=b%20c'); + st.equal(qs.stringify({ 'a b': 'c d' }, { format: qs.formats.RFC3986 }), 'a%20b=c%20d'); + st.equal(qs.stringify({ 'a b': SaferBuffer.from('a b') }, { format: qs.formats.RFC3986 }), 'a%20b=a%20b'); + + st.end(); + }); + + t.test('Backward compatibility to RFC 3986', function (st) { + st.equal(qs.stringify({ a: 'b c' }), 'a=b%20c'); + st.equal(qs.stringify({ 'a b': SaferBuffer.from('a b') }), 'a%20b=a%20b'); + + st.end(); + }); + + t.test('Edge cases and unknown formats', function (st) { + ['UFO1234', false, 1234, null, {}, []].forEach(function (format) { + st['throws']( + function () { + qs.stringify({ a: 'b c' }, { format: format }); + }, + new TypeError('Unknown format option provided.') + ); + }); + st.end(); + }); + + t.test('encodeValuesOnly', function (st) { + st.equal( + qs.stringify( + { a: 'b', c: ['d', 'e=f'], f: [['g'], ['h']] }, + { encodeValuesOnly: true, arrayFormat: 'indices' } + ), + 'a=b&c[0]=d&c[1]=e%3Df&f[0][0]=g&f[1][0]=h', + 'encodeValuesOnly + indices' + ); + st.equal( + qs.stringify( + { a: 'b', c: ['d', 'e=f'], f: [['g'], ['h']] }, + { encodeValuesOnly: true, arrayFormat: 'brackets' } + ), + 'a=b&c[]=d&c[]=e%3Df&f[][]=g&f[][]=h', + 'encodeValuesOnly + brackets' + ); + st.equal( + qs.stringify( + { a: 'b', c: ['d', 'e=f'], f: [['g'], ['h']] }, + { encodeValuesOnly: true, arrayFormat: 'repeat' } + ), + 'a=b&c=d&c=e%3Df&f=g&f=h', + 'encodeValuesOnly + repeat' + ); + + st.equal( + qs.stringify( + { a: 'b', c: ['d', 'e'], f: [['g'], ['h']] }, + { arrayFormat: 'indices' } + ), + 'a=b&c%5B0%5D=d&c%5B1%5D=e&f%5B0%5D%5B0%5D=g&f%5B1%5D%5B0%5D=h', + 'no encodeValuesOnly + indices' + ); + st.equal( + qs.stringify( + { a: 'b', c: ['d', 'e'], f: [['g'], ['h']] }, + { arrayFormat: 'brackets' } + ), + 'a=b&c%5B%5D=d&c%5B%5D=e&f%5B%5D%5B%5D=g&f%5B%5D%5B%5D=h', + 'no encodeValuesOnly + brackets' + ); + st.equal( + qs.stringify( + { a: 'b', c: ['d', 'e'], f: [['g'], ['h']] }, + { arrayFormat: 'repeat' } + ), + 'a=b&c=d&c=e&f=g&f=h', + 'no encodeValuesOnly + repeat' + ); + + st.end(); + }); + + t.test('encodeValuesOnly - strictNullHandling', function (st) { + st.equal( + qs.stringify( + { a: { b: null } }, + { encodeValuesOnly: true, strictNullHandling: true } + ), + 'a[b]' + ); + st.end(); + }); + + t.test('throws if an invalid charset is specified', function (st) { + st['throws'](function () { + qs.stringify({ a: 'b' }, { charset: 'foobar' }); + }, new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined')); + st.end(); + }); + + t.test('respects a charset of iso-8859-1', function (st) { + st.equal(qs.stringify({ æ: 'æ' }, { charset: 'iso-8859-1' }), '%E6=%E6'); + st.end(); + }); + + t.test('encodes unrepresentable chars as numeric entities in iso-8859-1 mode', function (st) { + st.equal(qs.stringify({ a: '☺' }, { charset: 'iso-8859-1' }), 'a=%26%239786%3B'); + st.end(); + }); + + t.test('respects an explicit charset of utf-8 (the default)', function (st) { + st.equal(qs.stringify({ a: 'æ' }, { charset: 'utf-8' }), 'a=%C3%A6'); + st.end(); + }); + + t.test('`charsetSentinel` option', function (st) { + st.equal( + qs.stringify({ a: 'æ' }, { charsetSentinel: true, charset: 'utf-8' }), + 'utf8=%E2%9C%93&a=%C3%A6', + 'adds the right sentinel when instructed to and the charset is utf-8' + ); + + st.equal( + qs.stringify({ a: 'æ' }, { charsetSentinel: true, charset: 'iso-8859-1' }), + 'utf8=%26%2310003%3B&a=%E6', + 'adds the right sentinel when instructed to and the charset is iso-8859-1' + ); + + st.end(); + }); + + t.test('does not mutate the options argument', function (st) { + var options = {}; + qs.stringify({}, options); + st.deepEqual(options, {}); + st.end(); + }); + + t.test('strictNullHandling works with custom filter', function (st) { + var filter = function (prefix, value) { + return value; + }; + + var options = { strictNullHandling: true, filter: filter }; + st.equal(qs.stringify({ key: null }, options), 'key'); + st.end(); + }); + + t.test('strictNullHandling works with null serializeDate', function (st) { + var serializeDate = function () { + return null; + }; + var options = { strictNullHandling: true, serializeDate: serializeDate }; + var date = new Date(); + st.equal(qs.stringify({ key: date }, options), 'key'); + st.end(); + }); + + t.test('allows for encoding keys and values differently', function (st) { + var encoder = function (str, defaultEncoder, charset, type) { + if (type === 'key') { + return defaultEncoder(str, defaultEncoder, charset, type).toLowerCase(); + } + if (type === 'value') { + return defaultEncoder(str, defaultEncoder, charset, type).toUpperCase(); + } + throw 'this should never happen! type: ' + type; + }; + + st.deepEqual(qs.stringify({ KeY: 'vAlUe' }, { encoder: encoder }), 'key=VALUE'); + st.end(); + }); + + t.test('objects inside arrays', function (st) { + var obj = { a: { b: { c: 'd', e: 'f' } } }; + var withArray = { a: { b: [{ c: 'd', e: 'f' }] } }; + + st.equal(qs.stringify(obj, { encode: false }), 'a[b][c]=d&a[b][e]=f', 'no array, no arrayFormat'); + st.equal(qs.stringify(obj, { encode: false, arrayFormat: 'brackets' }), 'a[b][c]=d&a[b][e]=f', 'no array, bracket'); + st.equal(qs.stringify(obj, { encode: false, arrayFormat: 'indices' }), 'a[b][c]=d&a[b][e]=f', 'no array, indices'); + st.equal(qs.stringify(obj, { encode: false, arrayFormat: 'repeat' }), 'a[b][c]=d&a[b][e]=f', 'no array, repeat'); + st.equal(qs.stringify(obj, { encode: false, arrayFormat: 'comma' }), 'a[b][c]=d&a[b][e]=f', 'no array, comma'); + + st.equal(qs.stringify(withArray, { encode: false }), 'a[b][0][c]=d&a[b][0][e]=f', 'array, no arrayFormat'); + st.equal(qs.stringify(withArray, { encode: false, arrayFormat: 'brackets' }), 'a[b][][c]=d&a[b][][e]=f', 'array, bracket'); + st.equal(qs.stringify(withArray, { encode: false, arrayFormat: 'indices' }), 'a[b][0][c]=d&a[b][0][e]=f', 'array, indices'); + st.equal(qs.stringify(withArray, { encode: false, arrayFormat: 'repeat' }), 'a[b][c]=d&a[b][e]=f', 'array, repeat'); + st.equal( + qs.stringify(withArray, { encode: false, arrayFormat: 'comma' }), + '???', + 'array, comma', + { skip: 'TODO: figure out what this should do' } + ); + + st.end(); + }); + + t.test('stringifies sparse arrays', function (st) { + /* eslint no-sparse-arrays: 0 */ + st.equal(qs.stringify({ a: [, '2', , , '1'] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[1]=2&a[4]=1'); + st.equal(qs.stringify({ a: [, '2', , , '1'] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[]=2&a[]=1'); + st.equal(qs.stringify({ a: [, '2', , , '1'] }, { encodeValuesOnly: true, arrayFormat: 'repeat' }), 'a=2&a=1'); + + st.equal(qs.stringify({ a: [, { b: [, , { c: '1' }] }] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[1][b][2][c]=1'); + st.equal(qs.stringify({ a: [, { b: [, , { c: '1' }] }] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[][b][][c]=1'); + st.equal(qs.stringify({ a: [, { b: [, , { c: '1' }] }] }, { encodeValuesOnly: true, arrayFormat: 'repeat' }), 'a[b][c]=1'); + + st.equal(qs.stringify({ a: [, [, , [, , , { c: '1' }]]] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[1][2][3][c]=1'); + st.equal(qs.stringify({ a: [, [, , [, , , { c: '1' }]]] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[][][][c]=1'); + st.equal(qs.stringify({ a: [, [, , [, , , { c: '1' }]]] }, { encodeValuesOnly: true, arrayFormat: 'repeat' }), 'a[c]=1'); + + st.equal(qs.stringify({ a: [, [, , [, , , { c: [, '1'] }]]] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[1][2][3][c][1]=1'); + st.equal(qs.stringify({ a: [, [, , [, , , { c: [, '1'] }]]] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[][][][c][]=1'); + st.equal(qs.stringify({ a: [, [, , [, , , { c: [, '1'] }]]] }, { encodeValuesOnly: true, arrayFormat: 'repeat' }), 'a[c]=1'); + + st.end(); + }); + + t.test('encodes a very long string', function (st) { + var chars = []; + var expected = []; + for (var i = 0; i < 5e3; i++) { + chars.push(' ' + i); + + expected.push('%20' + i); + } + + var obj = { + foo: chars.join('') + }; + + st.equal( + qs.stringify(obj, { arrayFormat: 'brackets', charset: 'utf-8' }), + 'foo=' + expected.join('') + ); + + st.end(); + }); + + t.end(); +}); + +test('stringifies empty keys', function (t) { + emptyTestCases.forEach(function (testCase) { + t.test('stringifies an object with empty string key with ' + testCase.input, function (st) { + st.deepEqual( + qs.stringify(testCase.withEmptyKeys, { encode: false, arrayFormat: 'indices' }), + testCase.stringifyOutput.indices, + 'test case: ' + testCase.input + ', indices' + ); + st.deepEqual( + qs.stringify(testCase.withEmptyKeys, { encode: false, arrayFormat: 'brackets' }), + testCase.stringifyOutput.brackets, + 'test case: ' + testCase.input + ', brackets' + ); + st.deepEqual( + qs.stringify(testCase.withEmptyKeys, { encode: false, arrayFormat: 'repeat' }), + testCase.stringifyOutput.repeat, + 'test case: ' + testCase.input + ', repeat' + ); + + st.end(); + }); + }); + + t.test('edge case with object/arrays', function (st) { + st.deepEqual(qs.stringify({ '': { '': [2, 3] } }, { encode: false }), '[][0]=2&[][1]=3'); + st.deepEqual(qs.stringify({ '': { '': [2, 3], a: 2 } }, { encode: false }), '[][0]=2&[][1]=3&[a]=2'); + st.deepEqual(qs.stringify({ '': { '': [2, 3] } }, { encode: false, arrayFormat: 'indices' }), '[][0]=2&[][1]=3'); + st.deepEqual(qs.stringify({ '': { '': [2, 3], a: 2 } }, { encode: false, arrayFormat: 'indices' }), '[][0]=2&[][1]=3&[a]=2'); + + st.end(); + }); + + t.test('stringifies non-string keys', function (st) { + var S = Object('abc'); + S.toString = function () { + return 'd'; + }; + var actual = qs.stringify({ a: 'b', 'false': {}, 1e+22: 'c', d: 'e' }, { + filter: ['a', false, null, 10000000000000000000000, S], + allowDots: true, + encodeDotInKeys: true + }); + + st.equal(actual, 'a=b&1e%2B22=c&d=e', 'stringifies correctly'); + + st.end(); + }); +}); diff --git a/node_modules/qs/test/utils.js b/node_modules/qs/test/utils.js new file mode 100644 index 0000000..65baea7 --- /dev/null +++ b/node_modules/qs/test/utils.js @@ -0,0 +1,397 @@ +'use strict'; + +var test = require('tape'); +var inspect = require('object-inspect'); +var SaferBuffer = require('safer-buffer').Buffer; +var forEach = require('for-each'); +var v = require('es-value-fixtures'); + +var utils = require('../lib/utils'); + +test('merge()', function (t) { + t.deepEqual(utils.merge(null, true), [null, true], 'merges true into null'); + + t.deepEqual(utils.merge(null, [42]), [null, 42], 'merges null into an array'); + + t.deepEqual(utils.merge({ a: 'b' }, { a: 'c' }), { a: ['b', 'c'] }, 'merges two objects with the same key'); + + var oneMerged = utils.merge({ foo: 'bar' }, { foo: { first: '123' } }); + t.deepEqual(oneMerged, { foo: ['bar', { first: '123' }] }, 'merges a standalone and an object into an array'); + + var twoMerged = utils.merge({ foo: ['bar', { first: '123' }] }, { foo: { second: '456' } }); + t.deepEqual(twoMerged, { foo: { 0: 'bar', 1: { first: '123' }, second: '456' } }, 'merges a standalone and two objects into an array'); + + var sandwiched = utils.merge({ foo: ['bar', { first: '123', second: '456' }] }, { foo: 'baz' }); + t.deepEqual(sandwiched, { foo: ['bar', { first: '123', second: '456' }, 'baz'] }, 'merges an object sandwiched by two standalones into an array'); + + var nestedArrays = utils.merge({ foo: ['baz'] }, { foo: ['bar', 'xyzzy'] }); + t.deepEqual(nestedArrays, { foo: ['baz', 'bar', 'xyzzy'] }); + + var noOptionsNonObjectSource = utils.merge({ foo: 'baz' }, 'bar'); + t.deepEqual(noOptionsNonObjectSource, { foo: 'baz', bar: true }); + + var func = function f() {}; + t.deepEqual( + utils.merge(func, { foo: 'bar' }), + [func, { foo: 'bar' }], + 'functions can not be merged into' + ); + + func.bar = 'baz'; + t.deepEqual( + utils.merge({ foo: 'bar' }, func), + { foo: 'bar', bar: 'baz' }, + 'functions can be merge sources' + ); + + t.test( + 'avoids invoking array setters unnecessarily', + { skip: typeof Object.defineProperty !== 'function' }, + function (st) { + var setCount = 0; + var getCount = 0; + var observed = []; + Object.defineProperty(observed, 0, { + get: function () { + getCount += 1; + return { bar: 'baz' }; + }, + set: function () { setCount += 1; } + }); + utils.merge(observed, [null]); + st.equal(setCount, 0); + st.equal(getCount, 1); + observed[0] = observed[0]; // eslint-disable-line no-self-assign + st.equal(setCount, 1); + st.equal(getCount, 2); + st.end(); + } + ); + + t.test('with overflow objects (from arrayLimit)', function (st) { + // arrayLimit is max index, so with limit 0, max index 0 is allowed (1 element) + // To create overflow, need 2+ elements with limit 0, or 3+ with limit 1, etc. + st.test('merges primitive into overflow object at next index', function (s2t) { + // Create an overflow object via combine: 3 elements (indices 0-2) with limit 0 + var overflow = utils.combine(['a', 'b'], 'c', 0, false); + s2t.ok(utils.isOverflow(overflow), 'overflow object is marked'); + var merged = utils.merge(overflow, 'd'); + s2t.deepEqual(merged, { 0: 'a', 1: 'b', 2: 'c', 3: 'd' }, 'adds primitive at next numeric index'); + s2t.end(); + }); + + st.test('merges primitive into regular object with numeric keys normally', function (s2t) { + var obj = { 0: 'a', 1: 'b' }; + s2t.notOk(utils.isOverflow(obj), 'plain object is not marked as overflow'); + var merged = utils.merge(obj, 'c'); + s2t.deepEqual(merged, { 0: 'a', 1: 'b', c: true }, 'adds primitive as key (not at next index)'); + s2t.end(); + }); + + st.test('merges primitive into object with non-numeric keys normally', function (s2t) { + var obj = { foo: 'bar' }; + var merged = utils.merge(obj, 'baz'); + s2t.deepEqual(merged, { foo: 'bar', baz: true }, 'adds primitive as key with value true'); + s2t.end(); + }); + + st.test('merges overflow object into primitive', function (s2t) { + // Create an overflow object via combine: 2 elements (indices 0-1) with limit 0 + var overflow = utils.combine(['a'], 'b', 0, false); + s2t.ok(utils.isOverflow(overflow), 'overflow object is marked'); + var merged = utils.merge('c', overflow); + s2t.ok(utils.isOverflow(merged), 'result is also marked as overflow'); + s2t.deepEqual(merged, { 0: 'c', 1: 'a', 2: 'b' }, 'creates object with primitive at 0, source values shifted'); + s2t.end(); + }); + + st.test('merges overflow object with multiple values into primitive', function (s2t) { + // Create an overflow object via combine: 3 elements (indices 0-2) with limit 0 + var overflow = utils.combine(['b', 'c'], 'd', 0, false); + s2t.ok(utils.isOverflow(overflow), 'overflow object is marked'); + var merged = utils.merge('a', overflow); + s2t.deepEqual(merged, { 0: 'a', 1: 'b', 2: 'c', 3: 'd' }, 'shifts all source indices by 1'); + s2t.end(); + }); + + st.test('merges regular object into primitive as array', function (s2t) { + var obj = { foo: 'bar' }; + var merged = utils.merge('a', obj); + s2t.deepEqual(merged, ['a', { foo: 'bar' }], 'creates array with primitive and object'); + s2t.end(); + }); + + st.end(); + }); + + t.end(); +}); + +test('assign()', function (t) { + var target = { a: 1, b: 2 }; + var source = { b: 3, c: 4 }; + var result = utils.assign(target, source); + + t.equal(result, target, 'returns the target'); + t.deepEqual(target, { a: 1, b: 3, c: 4 }, 'target and source are merged'); + t.deepEqual(source, { b: 3, c: 4 }, 'source is untouched'); + + t.end(); +}); + +test('combine()', function (t) { + t.test('both arrays', function (st) { + var a = [1]; + var b = [2]; + var combined = utils.combine(a, b); + + st.deepEqual(a, [1], 'a is not mutated'); + st.deepEqual(b, [2], 'b is not mutated'); + st.notEqual(a, combined, 'a !== combined'); + st.notEqual(b, combined, 'b !== combined'); + st.deepEqual(combined, [1, 2], 'combined is a + b'); + + st.end(); + }); + + t.test('one array, one non-array', function (st) { + var aN = 1; + var a = [aN]; + var bN = 2; + var b = [bN]; + + var combinedAnB = utils.combine(aN, b); + st.deepEqual(b, [bN], 'b is not mutated'); + st.notEqual(aN, combinedAnB, 'aN + b !== aN'); + st.notEqual(a, combinedAnB, 'aN + b !== a'); + st.notEqual(bN, combinedAnB, 'aN + b !== bN'); + st.notEqual(b, combinedAnB, 'aN + b !== b'); + st.deepEqual([1, 2], combinedAnB, 'first argument is array-wrapped when not an array'); + + var combinedABn = utils.combine(a, bN); + st.deepEqual(a, [aN], 'a is not mutated'); + st.notEqual(aN, combinedABn, 'a + bN !== aN'); + st.notEqual(a, combinedABn, 'a + bN !== a'); + st.notEqual(bN, combinedABn, 'a + bN !== bN'); + st.notEqual(b, combinedABn, 'a + bN !== b'); + st.deepEqual([1, 2], combinedABn, 'second argument is array-wrapped when not an array'); + + st.end(); + }); + + t.test('neither is an array', function (st) { + var combined = utils.combine(1, 2); + st.notEqual(1, combined, '1 + 2 !== 1'); + st.notEqual(2, combined, '1 + 2 !== 2'); + st.deepEqual([1, 2], combined, 'both arguments are array-wrapped when not an array'); + + st.end(); + }); + + t.test('with arrayLimit', function (st) { + st.test('under the limit', function (s2t) { + var combined = utils.combine(['a', 'b'], 'c', 10, false); + s2t.deepEqual(combined, ['a', 'b', 'c'], 'returns array when under limit'); + s2t.ok(Array.isArray(combined), 'result is an array'); + s2t.end(); + }); + + st.test('exactly at the limit stays as array', function (s2t) { + var combined = utils.combine(['a', 'b'], 'c', 3, false); + s2t.deepEqual(combined, ['a', 'b', 'c'], 'stays as array when count equals limit'); + s2t.ok(Array.isArray(combined), 'result is an array'); + s2t.end(); + }); + + st.test('over the limit', function (s2t) { + var combined = utils.combine(['a', 'b', 'c'], 'd', 3, false); + s2t.deepEqual(combined, { 0: 'a', 1: 'b', 2: 'c', 3: 'd' }, 'converts to object when over limit'); + s2t.notOk(Array.isArray(combined), 'result is not an array'); + s2t.end(); + }); + + st.test('with arrayLimit 1', function (s2t) { + var combined = utils.combine([], 'a', 1, false); + s2t.deepEqual(combined, ['a'], 'stays as array when count equals limit'); + s2t.ok(Array.isArray(combined), 'result is an array'); + s2t.end(); + }); + + st.test('with arrayLimit 0 converts single element to object', function (s2t) { + var combined = utils.combine([], 'a', 0, false); + s2t.deepEqual(combined, { 0: 'a' }, 'converts to object when count exceeds limit'); + s2t.notOk(Array.isArray(combined), 'result is not an array'); + s2t.end(); + }); + + st.test('with arrayLimit 0 and two elements converts to object', function (s2t) { + var combined = utils.combine(['a'], 'b', 0, false); + s2t.deepEqual(combined, { 0: 'a', 1: 'b' }, 'converts to object when count exceeds limit'); + s2t.notOk(Array.isArray(combined), 'result is not an array'); + s2t.end(); + }); + + st.test('with plainObjects option', function (s2t) { + var combined = utils.combine(['a', 'b'], 'c', 1, true); + var expected = { __proto__: null, 0: 'a', 1: 'b', 2: 'c' }; + s2t.deepEqual(combined, expected, 'converts to object with null prototype'); + s2t.equal(Object.getPrototypeOf(combined), null, 'result has null prototype when plainObjects is true'); + s2t.end(); + }); + + st.end(); + }); + + t.test('with existing overflow object', function (st) { + st.test('adds to existing overflow object at next index', function (s2t) { + // Create overflow object first via combine: 3 elements (indices 0-2) with limit 0 + var overflow = utils.combine(['a', 'b'], 'c', 0, false); + s2t.ok(utils.isOverflow(overflow), 'initial object is marked as overflow'); + + var combined = utils.combine(overflow, 'd', 10, false); + s2t.equal(combined, overflow, 'returns the same object (mutated)'); + s2t.deepEqual(combined, { 0: 'a', 1: 'b', 2: 'c', 3: 'd' }, 'adds value at next numeric index'); + s2t.end(); + }); + + st.test('does not treat plain object with numeric keys as overflow', function (s2t) { + var plainObj = { 0: 'a', 1: 'b' }; + s2t.notOk(utils.isOverflow(plainObj), 'plain object is not marked as overflow'); + + // combine treats this as a regular value, not an overflow object to append to + var combined = utils.combine(plainObj, 'c', 10, false); + s2t.deepEqual(combined, [{ 0: 'a', 1: 'b' }, 'c'], 'concatenates as regular values'); + s2t.end(); + }); + + st.end(); + }); + + t.end(); +}); + +test('decode', function (t) { + t.equal( + utils.decode('a+b'), + 'a b', + 'decodes + to space' + ); + + t.equal( + utils.decode('name%2Eobj'), + 'name.obj', + 'decodes a string' + ); + t.equal( + utils.decode('name%2Eobj%2Efoo', null, 'iso-8859-1'), + 'name.obj.foo', + 'decodes a string in iso-8859-1' + ); + + t.end(); +}); + +test('encode', function (t) { + forEach(v.nullPrimitives, function (nullish) { + t['throws']( + function () { utils.encode(nullish); }, + TypeError, + inspect(nullish) + ' is not a string' + ); + }); + + t.equal(utils.encode(''), '', 'empty string returns itself'); + t.deepEqual(utils.encode([]), [], 'empty array returns itself'); + t.deepEqual(utils.encode({ length: 0 }), { length: 0 }, 'empty arraylike returns itself'); + + t.test('symbols', { skip: !v.hasSymbols }, function (st) { + st.equal(utils.encode(Symbol('x')), 'Symbol%28x%29', 'symbol is encoded'); + + st.end(); + }); + + t.equal( + utils.encode('(abc)'), + '%28abc%29', + 'encodes parentheses' + ); + t.equal( + utils.encode({ toString: function () { return '(abc)'; } }), + '%28abc%29', + 'toStrings and encodes parentheses' + ); + + t.equal( + utils.encode('abc 123 💩', null, 'iso-8859-1'), + 'abc%20123%20%26%2355357%3B%26%2356489%3B', + 'encodes in iso-8859-1' + ); + + var longString = ''; + var expectedString = ''; + for (var i = 0; i < 1500; i++) { + longString += ' '; + expectedString += '%20'; + } + + t.equal( + utils.encode(longString), + expectedString, + 'encodes a long string' + ); + + t.equal( + utils.encode('\x28\x29'), + '%28%29', + 'encodes parens normally' + ); + t.equal( + utils.encode('\x28\x29', null, null, null, 'RFC1738'), + '()', + 'does not encode parens in RFC1738' + ); + + // todo RFC1738 format + + t.equal( + utils.encode('Āက豈'), + '%C4%80%E1%80%80%EF%A4%80', + 'encodes multibyte chars' + ); + + t.equal( + utils.encode('\uD83D \uDCA9'), + '%F0%9F%90%A0%F0%BA%90%80', + 'encodes lone surrogates' + ); + + t.end(); +}); + +test('isBuffer()', function (t) { + forEach([null, undefined, true, false, '', 'abc', 42, 0, NaN, {}, [], function () {}, /a/g], function (x) { + t.equal(utils.isBuffer(x), false, inspect(x) + ' is not a buffer'); + }); + + var fakeBuffer = { constructor: Buffer }; + t.equal(utils.isBuffer(fakeBuffer), false, 'fake buffer is not a buffer'); + + var saferBuffer = SaferBuffer.from('abc'); + t.equal(utils.isBuffer(saferBuffer), true, 'SaferBuffer instance is a buffer'); + + var buffer = Buffer.from && Buffer.alloc ? Buffer.from('abc') : new Buffer('abc'); + t.equal(utils.isBuffer(buffer), true, 'real Buffer instance is a buffer'); + t.end(); +}); + +test('isRegExp()', function (t) { + t.equal(utils.isRegExp(/a/g), true, 'RegExp is a RegExp'); + t.equal(utils.isRegExp(new RegExp('a', 'g')), true, 'new RegExp is a RegExp'); + t.equal(utils.isRegExp(new Date()), false, 'Date is not a RegExp'); + + forEach(v.primitives, function (primitive) { + t.equal(utils.isRegExp(primitive), false, inspect(primitive) + ' is not a RegExp'); + }); + + t.end(); +}); diff --git a/node_modules/range-parser/HISTORY.md b/node_modules/range-parser/HISTORY.md new file mode 100644 index 0000000..70a973d --- /dev/null +++ b/node_modules/range-parser/HISTORY.md @@ -0,0 +1,56 @@ +1.2.1 / 2019-05-10 +================== + + * Improve error when `str` is not a string + +1.2.0 / 2016-06-01 +================== + + * Add `combine` option to combine overlapping ranges + +1.1.0 / 2016-05-13 +================== + + * Fix incorrectly returning -1 when there is at least one valid range + * perf: remove internal function + +1.0.3 / 2015-10-29 +================== + + * perf: enable strict mode + +1.0.2 / 2014-09-08 +================== + + * Support Node.js 0.6 + +1.0.1 / 2014-09-07 +================== + + * Move repository to jshttp + +1.0.0 / 2013-12-11 +================== + + * Add repository to package.json + * Add MIT license + +0.0.4 / 2012-06-17 +================== + + * Change ret -1 for unsatisfiable and -2 when invalid + +0.0.3 / 2012-06-17 +================== + + * Fix last-byte-pos default to len - 1 + +0.0.2 / 2012-06-14 +================== + + * Add `.type` + +0.0.1 / 2012-06-11 +================== + + * Initial release diff --git a/node_modules/range-parser/LICENSE b/node_modules/range-parser/LICENSE new file mode 100644 index 0000000..3599954 --- /dev/null +++ b/node_modules/range-parser/LICENSE @@ -0,0 +1,23 @@ +(The MIT License) + +Copyright (c) 2012-2014 TJ Holowaychuk +Copyright (c) 2015-2016 Douglas Christopher Wilson + +```js +var parseRange = require('range-parser') +``` + +### parseRange(size, header, options) + +Parse the given `header` string where `size` is the maximum size of the resource. +An array of ranges will be returned or negative numbers indicating an error parsing. + + * `-2` signals a malformed header string + * `-1` signals an unsatisfiable range + + + +```js +// parse header from request +var range = parseRange(size, req.headers.range) + +// the type of the range +if (range.type === 'bytes') { + // the ranges + range.forEach(function (r) { + // do something with r.start and r.end + }) +} +``` + +#### Options + +These properties are accepted in the options object. + +##### combine + +Specifies if overlapping & adjacent ranges should be combined, defaults to `false`. +When `true`, ranges will be combined and returned as if they were specified that +way in the header. + + + +```js +parseRange(100, 'bytes=50-55,0-10,5-10,56-60', { combine: true }) +// => [ +// { start: 0, end: 10 }, +// { start: 50, end: 60 } +// ] +``` + +## License + +[MIT](LICENSE) + +[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/range-parser/master +[coveralls-url]: https://coveralls.io/r/jshttp/range-parser?branch=master +[node-image]: https://badgen.net/npm/node/range-parser +[node-url]: https://nodejs.org/en/download +[npm-downloads-image]: https://badgen.net/npm/dm/range-parser +[npm-url]: https://npmjs.org/package/range-parser +[npm-version-image]: https://badgen.net/npm/v/range-parser +[travis-image]: https://badgen.net/travis/jshttp/range-parser/master +[travis-url]: https://travis-ci.org/jshttp/range-parser diff --git a/node_modules/range-parser/index.js b/node_modules/range-parser/index.js new file mode 100644 index 0000000..b7dc5c0 --- /dev/null +++ b/node_modules/range-parser/index.js @@ -0,0 +1,162 @@ +/*! + * range-parser + * Copyright(c) 2012-2014 TJ Holowaychuk + * Copyright(c) 2015-2016 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module exports. + * @public + */ + +module.exports = rangeParser + +/** + * Parse "Range" header `str` relative to the given file `size`. + * + * @param {Number} size + * @param {String} str + * @param {Object} [options] + * @return {Array} + * @public + */ + +function rangeParser (size, str, options) { + if (typeof str !== 'string') { + throw new TypeError('argument str must be a string') + } + + var index = str.indexOf('=') + + if (index === -1) { + return -2 + } + + // split the range string + var arr = str.slice(index + 1).split(',') + var ranges = [] + + // add ranges type + ranges.type = str.slice(0, index) + + // parse all ranges + for (var i = 0; i < arr.length; i++) { + var range = arr[i].split('-') + var start = parseInt(range[0], 10) + var end = parseInt(range[1], 10) + + // -nnn + if (isNaN(start)) { + start = size - end + end = size - 1 + // nnn- + } else if (isNaN(end)) { + end = size - 1 + } + + // limit last-byte-pos to current length + if (end > size - 1) { + end = size - 1 + } + + // invalid or unsatisifiable + if (isNaN(start) || isNaN(end) || start > end || start < 0) { + continue + } + + // add range + ranges.push({ + start: start, + end: end + }) + } + + if (ranges.length < 1) { + // unsatisifiable + return -1 + } + + return options && options.combine + ? combineRanges(ranges) + : ranges +} + +/** + * Combine overlapping & adjacent ranges. + * @private + */ + +function combineRanges (ranges) { + var ordered = ranges.map(mapWithIndex).sort(sortByRangeStart) + + for (var j = 0, i = 1; i < ordered.length; i++) { + var range = ordered[i] + var current = ordered[j] + + if (range.start > current.end + 1) { + // next range + ordered[++j] = range + } else if (range.end > current.end) { + // extend range + current.end = range.end + current.index = Math.min(current.index, range.index) + } + } + + // trim ordered array + ordered.length = j + 1 + + // generate combined range + var combined = ordered.sort(sortByRangeIndex).map(mapWithoutIndex) + + // copy ranges type + combined.type = ranges.type + + return combined +} + +/** + * Map function to add index value to ranges. + * @private + */ + +function mapWithIndex (range, index) { + return { + start: range.start, + end: range.end, + index: index + } +} + +/** + * Map function to remove index value from ranges. + * @private + */ + +function mapWithoutIndex (range) { + return { + start: range.start, + end: range.end + } +} + +/** + * Sort function to sort ranges by index. + * @private + */ + +function sortByRangeIndex (a, b) { + return a.index - b.index +} + +/** + * Sort function to sort ranges by start position. + * @private + */ + +function sortByRangeStart (a, b) { + return a.start - b.start +} diff --git a/node_modules/range-parser/package.json b/node_modules/range-parser/package.json new file mode 100644 index 0000000..abea6d8 --- /dev/null +++ b/node_modules/range-parser/package.json @@ -0,0 +1,44 @@ +{ + "name": "range-parser", + "author": "TJ Holowaychuk (http://tjholowaychuk.com)", + "description": "Range header field string parser", + "version": "1.2.1", + "contributors": [ + "Douglas Christopher Wilson ", + "James Wyatt Cready ", + "Jonathan Ong (http://jongleberry.com)" + ], + "license": "MIT", + "keywords": [ + "range", + "parser", + "http" + ], + "repository": "jshttp/range-parser", + "devDependencies": { + "deep-equal": "1.0.1", + "eslint": "5.16.0", + "eslint-config-standard": "12.0.0", + "eslint-plugin-markdown": "1.0.0", + "eslint-plugin-import": "2.17.2", + "eslint-plugin-node": "8.0.1", + "eslint-plugin-promise": "4.1.1", + "eslint-plugin-standard": "4.0.0", + "mocha": "6.1.4", + "nyc": "14.1.1" + }, + "files": [ + "HISTORY.md", + "LICENSE", + "index.js" + ], + "engines": { + "node": ">= 0.6" + }, + "scripts": { + "lint": "eslint --plugin markdown --ext js,md .", + "test": "mocha --reporter spec", + "test-cov": "nyc --reporter=html --reporter=text npm test", + "test-travis": "nyc --reporter=text npm test" + } +} diff --git a/node_modules/raw-body/LICENSE b/node_modules/raw-body/LICENSE new file mode 100644 index 0000000..1029a7a --- /dev/null +++ b/node_modules/raw-body/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2013-2014 Jonathan Ong +Copyright (c) 2014-2022 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_modules/raw-body/README.md b/node_modules/raw-body/README.md new file mode 100644 index 0000000..d9b36d6 --- /dev/null +++ b/node_modules/raw-body/README.md @@ -0,0 +1,223 @@ +# raw-body + +[![NPM Version][npm-image]][npm-url] +[![NPM Downloads][downloads-image]][downloads-url] +[![Node.js Version][node-version-image]][node-version-url] +[![Build status][github-actions-ci-image]][github-actions-ci-url] +[![Test coverage][coveralls-image]][coveralls-url] + +Gets the entire buffer of a stream either as a `Buffer` or a string. +Validates the stream's length against an expected length and maximum limit. +Ideal for parsing request bodies. + +## Install + +This is a [Node.js](https://nodejs.org/en/) module available through the +[npm registry](https://www.npmjs.com/). Installation is done using the +[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): + +```sh +$ npm install raw-body +``` + +### TypeScript + +This module includes a [TypeScript](https://www.typescriptlang.org/) +declaration file to enable auto complete in compatible editors and type +information for TypeScript projects. This module depends on the Node.js +types, so install `@types/node`: + +```sh +$ npm install @types/node +``` + +## API + +```js +var getRawBody = require('raw-body') +``` + +### getRawBody(stream, [options], [callback]) + +**Returns a promise if no callback specified and global `Promise` exists.** + +Options: + +- `length` - The length of the stream. + If the contents of the stream do not add up to this length, + an `400` error code is returned. +- `limit` - The byte limit of the body. + This is the number of bytes or any string format supported by + [bytes](https://www.npmjs.com/package/bytes), + for example `1000`, `'500kb'` or `'3mb'`. + If the body ends up being larger than this limit, + a `413` error code is returned. +- `encoding` - The encoding to use to decode the body into a string. + By default, a `Buffer` instance will be returned when no encoding is specified. + Most likely, you want `utf-8`, so setting `encoding` to `true` will decode as `utf-8`. + You can use any type of encoding supported by [iconv-lite](https://www.npmjs.org/package/iconv-lite#readme). + +You can also pass a string in place of options to just specify the encoding. + +If an error occurs, the stream will be paused, everything unpiped, +and you are responsible for correctly disposing the stream. +For HTTP requests, you may need to finish consuming the stream if +you want to keep the socket open for future requests. For streams +that use file descriptors, you should `stream.destroy()` or +`stream.close()` to prevent leaks. + +## Errors + +This module creates errors depending on the error condition during reading. +The error may be an error from the underlying Node.js implementation, but is +otherwise an error created by this module, which has the following attributes: + + * `limit` - the limit in bytes + * `length` and `expected` - the expected length of the stream + * `received` - the received bytes + * `encoding` - the invalid encoding + * `status` and `statusCode` - the corresponding status code for the error + * `type` - the error type + +### Types + +The errors from this module have a `type` property which allows for the programmatic +determination of the type of error returned. + +#### encoding.unsupported + +This error will occur when the `encoding` option is specified, but the value does +not map to an encoding supported by the [iconv-lite](https://www.npmjs.org/package/iconv-lite#readme) +module. + +#### entity.too.large + +This error will occur when the `limit` option is specified, but the stream has +an entity that is larger. + +#### request.aborted + +This error will occur when the request stream is aborted by the client before +reading the body has finished. + +#### request.size.invalid + +This error will occur when the `length` option is specified, but the stream has +emitted more bytes. + +#### stream.encoding.set + +This error will occur when the given stream has an encoding set on it, making it +a decoded stream. The stream should not have an encoding set and is expected to +emit `Buffer` objects. + +#### stream.not.readable + +This error will occur when the given stream is not readable. + +## Examples + +### Simple Express example + +```js +var contentType = require('content-type') +var express = require('express') +var getRawBody = require('raw-body') + +var app = express() + +app.use(function (req, res, next) { + getRawBody(req, { + length: req.headers['content-length'], + limit: '1mb', + encoding: contentType.parse(req).parameters.charset + }, function (err, string) { + if (err) return next(err) + req.text = string + next() + }) +}) + +// now access req.text +``` + +### Simple Koa example + +```js +var contentType = require('content-type') +var getRawBody = require('raw-body') +var koa = require('koa') + +var app = koa() + +app.use(function * (next) { + this.text = yield getRawBody(this.req, { + length: this.req.headers['content-length'], + limit: '1mb', + encoding: contentType.parse(this.req).parameters.charset + }) + yield next +}) + +// now access this.text +``` + +### Using as a promise + +To use this library as a promise, simply omit the `callback` and a promise is +returned, provided that a global `Promise` is defined. + +```js +var getRawBody = require('raw-body') +var http = require('http') + +var server = http.createServer(function (req, res) { + getRawBody(req) + .then(function (buf) { + res.statusCode = 200 + res.end(buf.length + ' bytes submitted') + }) + .catch(function (err) { + res.statusCode = 500 + res.end(err.message) + }) +}) + +server.listen(3000) +``` + +### Using with TypeScript + +```ts +import * as getRawBody from 'raw-body'; +import * as http from 'http'; + +const server = http.createServer((req, res) => { + getRawBody(req) + .then((buf) => { + res.statusCode = 200; + res.end(buf.length + ' bytes submitted'); + }) + .catch((err) => { + res.statusCode = err.statusCode; + res.end(err.message); + }); +}); + +server.listen(3000); +``` + +## License + +[MIT](LICENSE) + +[npm-image]: https://img.shields.io/npm/v/raw-body.svg +[npm-url]: https://npmjs.org/package/raw-body +[node-version-image]: https://img.shields.io/node/v/raw-body.svg +[node-version-url]: https://nodejs.org/en/download/ +[coveralls-image]: https://img.shields.io/coveralls/stream-utils/raw-body/master.svg +[coveralls-url]: https://coveralls.io/r/stream-utils/raw-body?branch=master +[downloads-image]: https://img.shields.io/npm/dm/raw-body.svg +[downloads-url]: https://npmjs.org/package/raw-body +[github-actions-ci-image]: https://img.shields.io/github/actions/workflow/status/stream-utils/raw-body/ci.yml?branch=master&label=ci +[github-actions-ci-url]: https://github.com/jshttp/stream-utils/raw-body?query=workflow%3Aci diff --git a/node_modules/raw-body/index.d.ts b/node_modules/raw-body/index.d.ts new file mode 100644 index 0000000..dcbbebd --- /dev/null +++ b/node_modules/raw-body/index.d.ts @@ -0,0 +1,87 @@ +import { Readable } from 'stream'; + +declare namespace getRawBody { + export type Encoding = string | true; + + export interface Options { + /** + * The expected length of the stream. + */ + length?: number | string | null; + /** + * The byte limit of the body. This is the number of bytes or any string + * format supported by `bytes`, for example `1000`, `'500kb'` or `'3mb'`. + */ + limit?: number | string | null; + /** + * The encoding to use to decode the body into a string. By default, a + * `Buffer` instance will be returned when no encoding is specified. Most + * likely, you want `utf-8`, so setting encoding to `true` will decode as + * `utf-8`. You can use any type of encoding supported by `iconv-lite`. + */ + encoding?: Encoding | null; + } + + export interface RawBodyError extends Error { + /** + * The limit in bytes. + */ + limit?: number; + /** + * The expected length of the stream. + */ + length?: number; + expected?: number; + /** + * The received bytes. + */ + received?: number; + /** + * The encoding. + */ + encoding?: string; + /** + * The corresponding status code for the error. + */ + status: number; + statusCode: number; + /** + * The error type. + */ + type: string; + } +} + +/** + * Gets the entire buffer of a stream either as a `Buffer` or a string. + * Validates the stream's length against an expected length and maximum + * limit. Ideal for parsing request bodies. + */ +declare function getRawBody( + stream: Readable, + callback: (err: getRawBody.RawBodyError, body: Buffer) => void +): void; + +declare function getRawBody( + stream: Readable, + options: (getRawBody.Options & { encoding: getRawBody.Encoding }) | getRawBody.Encoding, + callback: (err: getRawBody.RawBodyError, body: string) => void +): void; + +declare function getRawBody( + stream: Readable, + options: getRawBody.Options, + callback: (err: getRawBody.RawBodyError, body: Buffer) => void +): void; + +declare function getRawBody( + stream: Readable, + options: (getRawBody.Options & { encoding: getRawBody.Encoding }) | getRawBody.Encoding +): Promise; + +declare function getRawBody( + stream: Readable, + options?: getRawBody.Options +): Promise; + +export = getRawBody; diff --git a/node_modules/raw-body/index.js b/node_modules/raw-body/index.js new file mode 100644 index 0000000..9cdcd12 --- /dev/null +++ b/node_modules/raw-body/index.js @@ -0,0 +1,336 @@ +/*! + * raw-body + * Copyright(c) 2013-2014 Jonathan Ong + * Copyright(c) 2014-2022 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + * @private + */ + +var asyncHooks = tryRequireAsyncHooks() +var bytes = require('bytes') +var createError = require('http-errors') +var iconv = require('iconv-lite') +var unpipe = require('unpipe') + +/** + * Module exports. + * @public + */ + +module.exports = getRawBody + +/** + * Module variables. + * @private + */ + +var ICONV_ENCODING_MESSAGE_REGEXP = /^Encoding not recognized: / + +/** + * Get the decoder for a given encoding. + * + * @param {string} encoding + * @private + */ + +function getDecoder (encoding) { + if (!encoding) return null + + try { + return iconv.getDecoder(encoding) + } catch (e) { + // error getting decoder + if (!ICONV_ENCODING_MESSAGE_REGEXP.test(e.message)) throw e + + // the encoding was not found + throw createError(415, 'specified encoding unsupported', { + encoding: encoding, + type: 'encoding.unsupported' + }) + } +} + +/** + * Get the raw body of a stream (typically HTTP). + * + * @param {object} stream + * @param {object|string|function} [options] + * @param {function} [callback] + * @public + */ + +function getRawBody (stream, options, callback) { + var done = callback + var opts = options || {} + + // light validation + if (stream === undefined) { + throw new TypeError('argument stream is required') + } else if (typeof stream !== 'object' || stream === null || typeof stream.on !== 'function') { + throw new TypeError('argument stream must be a stream') + } + + if (options === true || typeof options === 'string') { + // short cut for encoding + opts = { + encoding: options + } + } + + if (typeof options === 'function') { + done = options + opts = {} + } + + // validate callback is a function, if provided + if (done !== undefined && typeof done !== 'function') { + throw new TypeError('argument callback must be a function') + } + + // require the callback without promises + if (!done && !global.Promise) { + throw new TypeError('argument callback is required') + } + + // get encoding + var encoding = opts.encoding !== true + ? opts.encoding + : 'utf-8' + + // convert the limit to an integer + var limit = bytes.parse(opts.limit) + + // convert the expected length to an integer + var length = opts.length != null && !isNaN(opts.length) + ? parseInt(opts.length, 10) + : null + + if (done) { + // classic callback style + return readStream(stream, encoding, length, limit, wrap(done)) + } + + return new Promise(function executor (resolve, reject) { + readStream(stream, encoding, length, limit, function onRead (err, buf) { + if (err) return reject(err) + resolve(buf) + }) + }) +} + +/** + * Halt a stream. + * + * @param {Object} stream + * @private + */ + +function halt (stream) { + // unpipe everything from the stream + unpipe(stream) + + // pause stream + if (typeof stream.pause === 'function') { + stream.pause() + } +} + +/** + * Read the data from the stream. + * + * @param {object} stream + * @param {string} encoding + * @param {number} length + * @param {number} limit + * @param {function} callback + * @public + */ + +function readStream (stream, encoding, length, limit, callback) { + var complete = false + var sync = true + + // check the length and limit options. + // note: we intentionally leave the stream paused, + // so users should handle the stream themselves. + if (limit !== null && length !== null && length > limit) { + return done(createError(413, 'request entity too large', { + expected: length, + length: length, + limit: limit, + type: 'entity.too.large' + })) + } + + // streams1: assert request encoding is buffer. + // streams2+: assert the stream encoding is buffer. + // stream._decoder: streams1 + // state.encoding: streams2 + // state.decoder: streams2, specifically < 0.10.6 + var state = stream._readableState + if (stream._decoder || (state && (state.encoding || state.decoder))) { + // developer error + return done(createError(500, 'stream encoding should not be set', { + type: 'stream.encoding.set' + })) + } + + if (typeof stream.readable !== 'undefined' && !stream.readable) { + return done(createError(500, 'stream is not readable', { + type: 'stream.not.readable' + })) + } + + var received = 0 + var decoder + + try { + decoder = getDecoder(encoding) + } catch (err) { + return done(err) + } + + var buffer = decoder + ? '' + : [] + + // attach listeners + stream.on('aborted', onAborted) + stream.on('close', cleanup) + stream.on('data', onData) + stream.on('end', onEnd) + stream.on('error', onEnd) + + // mark sync section complete + sync = false + + function done () { + var args = new Array(arguments.length) + + // copy arguments + for (var i = 0; i < args.length; i++) { + args[i] = arguments[i] + } + + // mark complete + complete = true + + if (sync) { + process.nextTick(invokeCallback) + } else { + invokeCallback() + } + + function invokeCallback () { + cleanup() + + if (args[0]) { + // halt the stream on error + halt(stream) + } + + callback.apply(null, args) + } + } + + function onAborted () { + if (complete) return + + done(createError(400, 'request aborted', { + code: 'ECONNABORTED', + expected: length, + length: length, + received: received, + type: 'request.aborted' + })) + } + + function onData (chunk) { + if (complete) return + + received += chunk.length + + if (limit !== null && received > limit) { + done(createError(413, 'request entity too large', { + limit: limit, + received: received, + type: 'entity.too.large' + })) + } else if (decoder) { + buffer += decoder.write(chunk) + } else { + buffer.push(chunk) + } + } + + function onEnd (err) { + if (complete) return + if (err) return done(err) + + if (length !== null && received !== length) { + done(createError(400, 'request size did not match content length', { + expected: length, + length: length, + received: received, + type: 'request.size.invalid' + })) + } else { + var string = decoder + ? buffer + (decoder.end() || '') + : Buffer.concat(buffer) + done(null, string) + } + } + + function cleanup () { + buffer = null + + stream.removeListener('aborted', onAborted) + stream.removeListener('data', onData) + stream.removeListener('end', onEnd) + stream.removeListener('error', onEnd) + stream.removeListener('close', cleanup) + } +} + +/** + * Try to require async_hooks + * @private + */ + +function tryRequireAsyncHooks () { + try { + return require('async_hooks') + } catch (e) { + return {} + } +} + +/** + * Wrap function with async resource, if possible. + * AsyncResource.bind static method backported. + * @private + */ + +function wrap (fn) { + var res + + // create anonymous resource + if (asyncHooks.AsyncResource) { + res = new asyncHooks.AsyncResource(fn.name || 'bound-anonymous-fn') + } + + // incompatible node.js + if (!res || !res.runInAsyncScope) { + return fn + } + + // return bound function + return res.runInAsyncScope.bind(res, fn, null) +} diff --git a/node_modules/raw-body/package.json b/node_modules/raw-body/package.json new file mode 100644 index 0000000..d8120af --- /dev/null +++ b/node_modules/raw-body/package.json @@ -0,0 +1,47 @@ +{ + "name": "raw-body", + "description": "Get and validate the raw body of a readable stream.", + "version": "2.5.3", + "author": "Jonathan Ong (http://jongleberry.com)", + "contributors": [ + "Douglas Christopher Wilson ", + "Raynos " + ], + "license": "MIT", + "repository": "stream-utils/raw-body", + "dependencies": { + "bytes": "~3.1.2", + "http-errors": "~2.0.1", + "iconv-lite": "~0.4.24", + "unpipe": "~1.0.0" + }, + "devDependencies": { + "bluebird": "3.7.2", + "eslint": "8.34.0", + "eslint-config-standard": "15.0.1", + "eslint-plugin-import": "2.27.5", + "eslint-plugin-markdown": "3.0.0", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-promise": "6.1.1", + "eslint-plugin-standard": "4.1.0", + "mocha": "10.2.0", + "nyc": "15.1.0", + "readable-stream": "2.3.7", + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.8" + }, + "files": [ + "LICENSE", + "README.md", + "index.d.ts", + "index.js" + ], + "scripts": { + "lint": "eslint .", + "test": "mocha --trace-deprecation --reporter spec --bail --check-leaks test/", + "test-ci": "nyc --reporter=lcovonly --reporter=text npm test", + "test-cov": "nyc --reporter=html --reporter=text npm test" + } +} diff --git a/node_modules/readable-stream/CONTRIBUTING.md b/node_modules/readable-stream/CONTRIBUTING.md new file mode 100644 index 0000000..f478d58 --- /dev/null +++ b/node_modules/readable-stream/CONTRIBUTING.md @@ -0,0 +1,38 @@ +# Developer's Certificate of Origin 1.1 + +By making a contribution to this project, I certify that: + +* (a) The contribution was created in whole or in part by me and I + have the right to submit it under the open source license + indicated in the file; or + +* (b) The contribution is based upon previous work that, to the best + of my knowledge, is covered under an appropriate open source + license and I have the right under that license to submit that + work with modifications, whether created in whole or in part + by me, under the same open source license (unless I am + permitted to submit under a different license), as indicated + in the file; or + +* (c) The contribution was provided directly to me by some other + person who certified (a), (b) or (c) and I have not modified + it. + +* (d) I understand and agree that this project and the contribution + are public and that a record of the contribution (including all + personal information I submit with it, including my sign-off) is + maintained indefinitely and may be redistributed consistent with + this project or the open source license(s) involved. + +## Moderation Policy + +The [Node.js Moderation Policy] applies to this WG. + +## Code of Conduct + +The [Node.js Code of Conduct][] applies to this WG. + +[Node.js Code of Conduct]: +https://github.com/nodejs/node/blob/master/CODE_OF_CONDUCT.md +[Node.js Moderation Policy]: +https://github.com/nodejs/TSC/blob/master/Moderation-Policy.md diff --git a/node_modules/readable-stream/GOVERNANCE.md b/node_modules/readable-stream/GOVERNANCE.md new file mode 100644 index 0000000..16ffb93 --- /dev/null +++ b/node_modules/readable-stream/GOVERNANCE.md @@ -0,0 +1,136 @@ +### Streams Working Group + +The Node.js Streams is jointly governed by a Working Group +(WG) +that is responsible for high-level guidance of the project. + +The WG has final authority over this project including: + +* Technical direction +* Project governance and process (including this policy) +* Contribution policy +* GitHub repository hosting +* Conduct guidelines +* Maintaining the list of additional Collaborators + +For the current list of WG members, see the project +[README.md](./README.md#current-project-team-members). + +### Collaborators + +The readable-stream GitHub repository is +maintained by the WG and additional Collaborators who are added by the +WG on an ongoing basis. + +Individuals making significant and valuable contributions are made +Collaborators and given commit-access to the project. These +individuals are identified by the WG and their addition as +Collaborators is discussed during the WG meeting. + +_Note:_ If you make a significant contribution and are not considered +for commit-access log an issue or contact a WG member directly and it +will be brought up in the next WG meeting. + +Modifications of the contents of the readable-stream repository are +made on +a collaborative basis. Anybody with a GitHub account may propose a +modification via pull request and it will be considered by the project +Collaborators. All pull requests must be reviewed and accepted by a +Collaborator with sufficient expertise who is able to take full +responsibility for the change. In the case of pull requests proposed +by an existing Collaborator, an additional Collaborator is required +for sign-off. Consensus should be sought if additional Collaborators +participate and there is disagreement around a particular +modification. See _Consensus Seeking Process_ below for further detail +on the consensus model used for governance. + +Collaborators may opt to elevate significant or controversial +modifications, or modifications that have not found consensus to the +WG for discussion by assigning the ***WG-agenda*** tag to a pull +request or issue. The WG should serve as the final arbiter where +required. + +For the current list of Collaborators, see the project +[README.md](./README.md#members). + +### WG Membership + +WG seats are not time-limited. There is no fixed size of the WG. +However, the expected target is between 6 and 12, to ensure adequate +coverage of important areas of expertise, balanced with the ability to +make decisions efficiently. + +There is no specific set of requirements or qualifications for WG +membership beyond these rules. + +The WG may add additional members to the WG by unanimous consensus. + +A WG member may be removed from the WG by voluntary resignation, or by +unanimous consensus of all other WG members. + +Changes to WG membership should be posted in the agenda, and may be +suggested as any other agenda item (see "WG Meetings" below). + +If an addition or removal is proposed during a meeting, and the full +WG is not in attendance to participate, then the addition or removal +is added to the agenda for the subsequent meeting. This is to ensure +that all members are given the opportunity to participate in all +membership decisions. If a WG member is unable to attend a meeting +where a planned membership decision is being made, then their consent +is assumed. + +No more than 1/3 of the WG members may be affiliated with the same +employer. If removal or resignation of a WG member, or a change of +employment by a WG member, creates a situation where more than 1/3 of +the WG membership shares an employer, then the situation must be +immediately remedied by the resignation or removal of one or more WG +members affiliated with the over-represented employer(s). + +### WG Meetings + +The WG meets occasionally on a Google Hangout On Air. A designated moderator +approved by the WG runs the meeting. Each meeting should be +published to YouTube. + +Items are added to the WG agenda that are considered contentious or +are modifications of governance, contribution policy, WG membership, +or release process. + +The intention of the agenda is not to approve or review all patches; +that should happen continuously on GitHub and be handled by the larger +group of Collaborators. + +Any community member or contributor can ask that something be added to +the next meeting's agenda by logging a GitHub Issue. Any Collaborator, +WG member or the moderator can add the item to the agenda by adding +the ***WG-agenda*** tag to the issue. + +Prior to each WG meeting the moderator will share the Agenda with +members of the WG. WG members can add any items they like to the +agenda at the beginning of each meeting. The moderator and the WG +cannot veto or remove items. + +The WG may invite persons or representatives from certain projects to +participate in a non-voting capacity. + +The moderator is responsible for summarizing the discussion of each +agenda item and sends it as a pull request after the meeting. + +### Consensus Seeking Process + +The WG follows a +[Consensus +Seeking](http://en.wikipedia.org/wiki/Consensus-seeking_decision-making) +decision-making model. + +When an agenda item has appeared to reach a consensus the moderator +will ask "Does anyone object?" as a final call for dissent from the +consensus. + +If an agenda item cannot reach a consensus a WG member can call for +either a closing vote or a vote to table the issue to the next +meeting. The call for a vote must be seconded by a majority of the WG +or else the discussion will continue. Simple majority wins. + +Note that changes to WG membership require a majority consensus. See +"WG Membership" above. diff --git a/node_modules/readable-stream/LICENSE b/node_modules/readable-stream/LICENSE new file mode 100644 index 0000000..2873b3b --- /dev/null +++ b/node_modules/readable-stream/LICENSE @@ -0,0 +1,47 @@ +Node.js is licensed for use as follows: + +""" +Copyright Node.js contributors. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +""" + +This license applies to parts of Node.js originating from the +https://github.com/joyent/node repository: + +""" +Copyright Joyent, Inc. and other Node contributors. All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +""" diff --git a/node_modules/readable-stream/README.md b/node_modules/readable-stream/README.md new file mode 100644 index 0000000..19117c1 --- /dev/null +++ b/node_modules/readable-stream/README.md @@ -0,0 +1,106 @@ +# readable-stream + +***Node.js core streams for userland*** [![Build Status](https://travis-ci.com/nodejs/readable-stream.svg?branch=master)](https://travis-ci.com/nodejs/readable-stream) + + +[![NPM](https://nodei.co/npm/readable-stream.png?downloads=true&downloadRank=true)](https://nodei.co/npm/readable-stream/) +[![NPM](https://nodei.co/npm-dl/readable-stream.png?&months=6&height=3)](https://nodei.co/npm/readable-stream/) + + +[![Sauce Test Status](https://saucelabs.com/browser-matrix/readabe-stream.svg)](https://saucelabs.com/u/readabe-stream) + +```bash +npm install --save readable-stream +``` + +This package is a mirror of the streams implementations in Node.js. + +Full documentation may be found on the [Node.js website](https://nodejs.org/dist/v10.18.1/docs/api/stream.html). + +If you want to guarantee a stable streams base, regardless of what version of +Node you, or the users of your libraries are using, use **readable-stream** *only* and avoid the *"stream"* module in Node-core, for background see [this blogpost](http://r.va.gg/2014/06/why-i-dont-use-nodes-core-stream-module.html). + +As of version 2.0.0 **readable-stream** uses semantic versioning. + +## Version 3.x.x + +v3.x.x of `readable-stream` is a cut from Node 10. This version supports Node 6, 8, and 10, as well as evergreen browsers, IE 11 and latest Safari. The breaking changes introduced by v3 are composed by the combined breaking changes in [Node v9](https://nodejs.org/en/blog/release/v9.0.0/) and [Node v10](https://nodejs.org/en/blog/release/v10.0.0/), as follows: + +1. Error codes: https://github.com/nodejs/node/pull/13310, + https://github.com/nodejs/node/pull/13291, + https://github.com/nodejs/node/pull/16589, + https://github.com/nodejs/node/pull/15042, + https://github.com/nodejs/node/pull/15665, + https://github.com/nodejs/readable-stream/pull/344 +2. 'readable' have precedence over flowing + https://github.com/nodejs/node/pull/18994 +3. make virtual methods errors consistent + https://github.com/nodejs/node/pull/18813 +4. updated streams error handling + https://github.com/nodejs/node/pull/18438 +5. writable.end should return this. + https://github.com/nodejs/node/pull/18780 +6. readable continues to read when push('') + https://github.com/nodejs/node/pull/18211 +7. add custom inspect to BufferList + https://github.com/nodejs/node/pull/17907 +8. always defer 'readable' with nextTick + https://github.com/nodejs/node/pull/17979 + +## Version 2.x.x +v2.x.x of `readable-stream` is a cut of the stream module from Node 8 (there have been no semver-major changes from Node 4 to 8). This version supports all Node.js versions from 0.8, as well as evergreen browsers and IE 10 & 11. + +### Big Thanks + +Cross-browser Testing Platform and Open Source <3 Provided by [Sauce Labs][sauce] + +# Usage + +You can swap your `require('stream')` with `require('readable-stream')` +without any changes, if you are just using one of the main classes and +functions. + +```js +const { + Readable, + Writable, + Transform, + Duplex, + pipeline, + finished +} = require('readable-stream') +```` + +Note that `require('stream')` will return `Stream`, while +`require('readable-stream')` will return `Readable`. We discourage using +whatever is exported directly, but rather use one of the properties as +shown in the example above. + +# Streams Working Group + +`readable-stream` is maintained by the Streams Working Group, which +oversees the development and maintenance of the Streams API within +Node.js. The responsibilities of the Streams Working Group include: + +* Addressing stream issues on the Node.js issue tracker. +* Authoring and editing stream documentation within the Node.js project. +* Reviewing changes to stream subclasses within the Node.js project. +* Redirecting changes to streams from the Node.js project to this + project. +* Assisting in the implementation of stream providers within Node.js. +* Recommending versions of `readable-stream` to be included in Node.js. +* Messaging about the future of streams to give the community advance + notice of changes. + + +## Team Members + +* **Calvin Metcalf** ([@calvinmetcalf](https://github.com/calvinmetcalf)) <calvin.metcalf@gmail.com> + - Release GPG key: F3EF5F62A87FC27A22E643F714CE4FF5015AA242 +* **Mathias Buus** ([@mafintosh](https://github.com/mafintosh)) <mathiasbuus@gmail.com> +* **Matteo Collina** ([@mcollina](https://github.com/mcollina)) <matteo.collina@gmail.com> + - Release GPG key: 3ABC01543F22DD2239285CDD818674489FBC127E +* **Irina Shestak** ([@lrlna](https://github.com/lrlna)) <shestak.irina@gmail.com> +* **Yoshua Wyuts** ([@yoshuawuyts](https://github.com/yoshuawuyts)) <yoshuawuyts@gmail.com> + +[sauce]: https://saucelabs.com diff --git a/node_modules/readable-stream/errors-browser.js b/node_modules/readable-stream/errors-browser.js new file mode 100644 index 0000000..fb8e73e --- /dev/null +++ b/node_modules/readable-stream/errors-browser.js @@ -0,0 +1,127 @@ +'use strict'; + +function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; } + +var codes = {}; + +function createErrorType(code, message, Base) { + if (!Base) { + Base = Error; + } + + function getMessage(arg1, arg2, arg3) { + if (typeof message === 'string') { + return message; + } else { + return message(arg1, arg2, arg3); + } + } + + var NodeError = + /*#__PURE__*/ + function (_Base) { + _inheritsLoose(NodeError, _Base); + + function NodeError(arg1, arg2, arg3) { + return _Base.call(this, getMessage(arg1, arg2, arg3)) || this; + } + + return NodeError; + }(Base); + + NodeError.prototype.name = Base.name; + NodeError.prototype.code = code; + codes[code] = NodeError; +} // https://github.com/nodejs/node/blob/v10.8.0/lib/internal/errors.js + + +function oneOf(expected, thing) { + if (Array.isArray(expected)) { + var len = expected.length; + expected = expected.map(function (i) { + return String(i); + }); + + if (len > 2) { + return "one of ".concat(thing, " ").concat(expected.slice(0, len - 1).join(', '), ", or ") + expected[len - 1]; + } else if (len === 2) { + return "one of ".concat(thing, " ").concat(expected[0], " or ").concat(expected[1]); + } else { + return "of ".concat(thing, " ").concat(expected[0]); + } + } else { + return "of ".concat(thing, " ").concat(String(expected)); + } +} // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith + + +function startsWith(str, search, pos) { + return str.substr(!pos || pos < 0 ? 0 : +pos, search.length) === search; +} // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith + + +function endsWith(str, search, this_len) { + if (this_len === undefined || this_len > str.length) { + this_len = str.length; + } + + return str.substring(this_len - search.length, this_len) === search; +} // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/includes + + +function includes(str, search, start) { + if (typeof start !== 'number') { + start = 0; + } + + if (start + search.length > str.length) { + return false; + } else { + return str.indexOf(search, start) !== -1; + } +} + +createErrorType('ERR_INVALID_OPT_VALUE', function (name, value) { + return 'The value "' + value + '" is invalid for option "' + name + '"'; +}, TypeError); +createErrorType('ERR_INVALID_ARG_TYPE', function (name, expected, actual) { + // determiner: 'must be' or 'must not be' + var determiner; + + if (typeof expected === 'string' && startsWith(expected, 'not ')) { + determiner = 'must not be'; + expected = expected.replace(/^not /, ''); + } else { + determiner = 'must be'; + } + + var msg; + + if (endsWith(name, ' argument')) { + // For cases like 'first argument' + msg = "The ".concat(name, " ").concat(determiner, " ").concat(oneOf(expected, 'type')); + } else { + var type = includes(name, '.') ? 'property' : 'argument'; + msg = "The \"".concat(name, "\" ").concat(type, " ").concat(determiner, " ").concat(oneOf(expected, 'type')); + } + + msg += ". Received type ".concat(typeof actual); + return msg; +}, TypeError); +createErrorType('ERR_STREAM_PUSH_AFTER_EOF', 'stream.push() after EOF'); +createErrorType('ERR_METHOD_NOT_IMPLEMENTED', function (name) { + return 'The ' + name + ' method is not implemented'; +}); +createErrorType('ERR_STREAM_PREMATURE_CLOSE', 'Premature close'); +createErrorType('ERR_STREAM_DESTROYED', function (name) { + return 'Cannot call ' + name + ' after a stream was destroyed'; +}); +createErrorType('ERR_MULTIPLE_CALLBACK', 'Callback called multiple times'); +createErrorType('ERR_STREAM_CANNOT_PIPE', 'Cannot pipe, not readable'); +createErrorType('ERR_STREAM_WRITE_AFTER_END', 'write after end'); +createErrorType('ERR_STREAM_NULL_VALUES', 'May not write null values to stream', TypeError); +createErrorType('ERR_UNKNOWN_ENCODING', function (arg) { + return 'Unknown encoding: ' + arg; +}, TypeError); +createErrorType('ERR_STREAM_UNSHIFT_AFTER_END_EVENT', 'stream.unshift() after end event'); +module.exports.codes = codes; diff --git a/node_modules/readable-stream/errors.js b/node_modules/readable-stream/errors.js new file mode 100644 index 0000000..8471526 --- /dev/null +++ b/node_modules/readable-stream/errors.js @@ -0,0 +1,116 @@ +'use strict'; + +const codes = {}; + +function createErrorType(code, message, Base) { + if (!Base) { + Base = Error + } + + function getMessage (arg1, arg2, arg3) { + if (typeof message === 'string') { + return message + } else { + return message(arg1, arg2, arg3) + } + } + + class NodeError extends Base { + constructor (arg1, arg2, arg3) { + super(getMessage(arg1, arg2, arg3)); + } + } + + NodeError.prototype.name = Base.name; + NodeError.prototype.code = code; + + codes[code] = NodeError; +} + +// https://github.com/nodejs/node/blob/v10.8.0/lib/internal/errors.js +function oneOf(expected, thing) { + if (Array.isArray(expected)) { + const len = expected.length; + expected = expected.map((i) => String(i)); + if (len > 2) { + return `one of ${thing} ${expected.slice(0, len - 1).join(', ')}, or ` + + expected[len - 1]; + } else if (len === 2) { + return `one of ${thing} ${expected[0]} or ${expected[1]}`; + } else { + return `of ${thing} ${expected[0]}`; + } + } else { + return `of ${thing} ${String(expected)}`; + } +} + +// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith +function startsWith(str, search, pos) { + return str.substr(!pos || pos < 0 ? 0 : +pos, search.length) === search; +} + +// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith +function endsWith(str, search, this_len) { + if (this_len === undefined || this_len > str.length) { + this_len = str.length; + } + return str.substring(this_len - search.length, this_len) === search; +} + +// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/includes +function includes(str, search, start) { + if (typeof start !== 'number') { + start = 0; + } + + if (start + search.length > str.length) { + return false; + } else { + return str.indexOf(search, start) !== -1; + } +} + +createErrorType('ERR_INVALID_OPT_VALUE', function (name, value) { + return 'The value "' + value + '" is invalid for option "' + name + '"' +}, TypeError); +createErrorType('ERR_INVALID_ARG_TYPE', function (name, expected, actual) { + // determiner: 'must be' or 'must not be' + let determiner; + if (typeof expected === 'string' && startsWith(expected, 'not ')) { + determiner = 'must not be'; + expected = expected.replace(/^not /, ''); + } else { + determiner = 'must be'; + } + + let msg; + if (endsWith(name, ' argument')) { + // For cases like 'first argument' + msg = `The ${name} ${determiner} ${oneOf(expected, 'type')}`; + } else { + const type = includes(name, '.') ? 'property' : 'argument'; + msg = `The "${name}" ${type} ${determiner} ${oneOf(expected, 'type')}`; + } + + msg += `. Received type ${typeof actual}`; + return msg; +}, TypeError); +createErrorType('ERR_STREAM_PUSH_AFTER_EOF', 'stream.push() after EOF'); +createErrorType('ERR_METHOD_NOT_IMPLEMENTED', function (name) { + return 'The ' + name + ' method is not implemented' +}); +createErrorType('ERR_STREAM_PREMATURE_CLOSE', 'Premature close'); +createErrorType('ERR_STREAM_DESTROYED', function (name) { + return 'Cannot call ' + name + ' after a stream was destroyed'; +}); +createErrorType('ERR_MULTIPLE_CALLBACK', 'Callback called multiple times'); +createErrorType('ERR_STREAM_CANNOT_PIPE', 'Cannot pipe, not readable'); +createErrorType('ERR_STREAM_WRITE_AFTER_END', 'write after end'); +createErrorType('ERR_STREAM_NULL_VALUES', 'May not write null values to stream', TypeError); +createErrorType('ERR_UNKNOWN_ENCODING', function (arg) { + return 'Unknown encoding: ' + arg +}, TypeError); +createErrorType('ERR_STREAM_UNSHIFT_AFTER_END_EVENT', 'stream.unshift() after end event'); + +module.exports.codes = codes; diff --git a/node_modules/readable-stream/experimentalWarning.js b/node_modules/readable-stream/experimentalWarning.js new file mode 100644 index 0000000..78e8414 --- /dev/null +++ b/node_modules/readable-stream/experimentalWarning.js @@ -0,0 +1,17 @@ +'use strict' + +var experimentalWarnings = new Set(); + +function emitExperimentalWarning(feature) { + if (experimentalWarnings.has(feature)) return; + var msg = feature + ' is an experimental feature. This feature could ' + + 'change at any time'; + experimentalWarnings.add(feature); + process.emitWarning(msg, 'ExperimentalWarning'); +} + +function noop() {} + +module.exports.emitExperimentalWarning = process.emitWarning + ? emitExperimentalWarning + : noop; diff --git a/node_modules/readable-stream/lib/_stream_duplex.js b/node_modules/readable-stream/lib/_stream_duplex.js new file mode 100644 index 0000000..19abfa6 --- /dev/null +++ b/node_modules/readable-stream/lib/_stream_duplex.js @@ -0,0 +1,126 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +// a duplex stream is just a stream that is both readable and writable. +// Since JS doesn't have multiple prototypal inheritance, this class +// prototypally inherits from Readable, and then parasitically from +// Writable. + +'use strict'; + +/**/ +var objectKeys = Object.keys || function (obj) { + var keys = []; + for (var key in obj) keys.push(key); + return keys; +}; +/**/ + +module.exports = Duplex; +var Readable = require('./_stream_readable'); +var Writable = require('./_stream_writable'); +require('inherits')(Duplex, Readable); +{ + // Allow the keys array to be GC'ed. + var keys = objectKeys(Writable.prototype); + for (var v = 0; v < keys.length; v++) { + var method = keys[v]; + if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method]; + } +} +function Duplex(options) { + if (!(this instanceof Duplex)) return new Duplex(options); + Readable.call(this, options); + Writable.call(this, options); + this.allowHalfOpen = true; + if (options) { + if (options.readable === false) this.readable = false; + if (options.writable === false) this.writable = false; + if (options.allowHalfOpen === false) { + this.allowHalfOpen = false; + this.once('end', onend); + } + } +} +Object.defineProperty(Duplex.prototype, 'writableHighWaterMark', { + // making it explicit this property is not enumerable + // because otherwise some prototype manipulation in + // userland will fail + enumerable: false, + get: function get() { + return this._writableState.highWaterMark; + } +}); +Object.defineProperty(Duplex.prototype, 'writableBuffer', { + // making it explicit this property is not enumerable + // because otherwise some prototype manipulation in + // userland will fail + enumerable: false, + get: function get() { + return this._writableState && this._writableState.getBuffer(); + } +}); +Object.defineProperty(Duplex.prototype, 'writableLength', { + // making it explicit this property is not enumerable + // because otherwise some prototype manipulation in + // userland will fail + enumerable: false, + get: function get() { + return this._writableState.length; + } +}); + +// the no-half-open enforcer +function onend() { + // If the writable side ended, then we're ok. + if (this._writableState.ended) return; + + // no more data can be written. + // But allow more writes to happen in this tick. + process.nextTick(onEndNT, this); +} +function onEndNT(self) { + self.end(); +} +Object.defineProperty(Duplex.prototype, 'destroyed', { + // making it explicit this property is not enumerable + // because otherwise some prototype manipulation in + // userland will fail + enumerable: false, + get: function get() { + if (this._readableState === undefined || this._writableState === undefined) { + return false; + } + return this._readableState.destroyed && this._writableState.destroyed; + }, + set: function set(value) { + // we ignore the value if the stream + // has not been initialized yet + if (this._readableState === undefined || this._writableState === undefined) { + return; + } + + // backward compatibility, the user is explicitly + // managing destroyed + this._readableState.destroyed = value; + this._writableState.destroyed = value; + } +}); \ No newline at end of file diff --git a/node_modules/readable-stream/lib/_stream_passthrough.js b/node_modules/readable-stream/lib/_stream_passthrough.js new file mode 100644 index 0000000..24a6bdd --- /dev/null +++ b/node_modules/readable-stream/lib/_stream_passthrough.js @@ -0,0 +1,37 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +// a passthrough stream. +// basically just the most minimal sort of Transform stream. +// Every written chunk gets output as-is. + +'use strict'; + +module.exports = PassThrough; +var Transform = require('./_stream_transform'); +require('inherits')(PassThrough, Transform); +function PassThrough(options) { + if (!(this instanceof PassThrough)) return new PassThrough(options); + Transform.call(this, options); +} +PassThrough.prototype._transform = function (chunk, encoding, cb) { + cb(null, chunk); +}; \ No newline at end of file diff --git a/node_modules/readable-stream/lib/_stream_readable.js b/node_modules/readable-stream/lib/_stream_readable.js new file mode 100644 index 0000000..df1f608 --- /dev/null +++ b/node_modules/readable-stream/lib/_stream_readable.js @@ -0,0 +1,1027 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +'use strict'; + +module.exports = Readable; + +/**/ +var Duplex; +/**/ + +Readable.ReadableState = ReadableState; + +/**/ +var EE = require('events').EventEmitter; +var EElistenerCount = function EElistenerCount(emitter, type) { + return emitter.listeners(type).length; +}; +/**/ + +/**/ +var Stream = require('./internal/streams/stream'); +/**/ + +var Buffer = require('buffer').Buffer; +var OurUint8Array = (typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}).Uint8Array || function () {}; +function _uint8ArrayToBuffer(chunk) { + return Buffer.from(chunk); +} +function _isUint8Array(obj) { + return Buffer.isBuffer(obj) || obj instanceof OurUint8Array; +} + +/**/ +var debugUtil = require('util'); +var debug; +if (debugUtil && debugUtil.debuglog) { + debug = debugUtil.debuglog('stream'); +} else { + debug = function debug() {}; +} +/**/ + +var BufferList = require('./internal/streams/buffer_list'); +var destroyImpl = require('./internal/streams/destroy'); +var _require = require('./internal/streams/state'), + getHighWaterMark = _require.getHighWaterMark; +var _require$codes = require('../errors').codes, + ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE, + ERR_STREAM_PUSH_AFTER_EOF = _require$codes.ERR_STREAM_PUSH_AFTER_EOF, + ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED, + ERR_STREAM_UNSHIFT_AFTER_END_EVENT = _require$codes.ERR_STREAM_UNSHIFT_AFTER_END_EVENT; + +// Lazy loaded to improve the startup performance. +var StringDecoder; +var createReadableStreamAsyncIterator; +var from; +require('inherits')(Readable, Stream); +var errorOrDestroy = destroyImpl.errorOrDestroy; +var kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume']; +function prependListener(emitter, event, fn) { + // Sadly this is not cacheable as some libraries bundle their own + // event emitter implementation with them. + if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn); + + // This is a hack to make sure that our error handler is attached before any + // userland ones. NEVER DO THIS. This is here only because this code needs + // to continue to work with older versions of Node.js that do not include + // the prependListener() method. The goal is to eventually remove this hack. + if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (Array.isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]]; +} +function ReadableState(options, stream, isDuplex) { + Duplex = Duplex || require('./_stream_duplex'); + options = options || {}; + + // Duplex streams are both readable and writable, but share + // the same options object. + // However, some cases require setting options to different + // values for the readable and the writable sides of the duplex stream. + // These options can be provided separately as readableXXX and writableXXX. + if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex; + + // object stream flag. Used to make read(n) ignore n and to + // make all the buffer merging and length checks go away + this.objectMode = !!options.objectMode; + if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode; + + // the point at which it stops calling _read() to fill the buffer + // Note: 0 is a valid value, means "don't call _read preemptively ever" + this.highWaterMark = getHighWaterMark(this, options, 'readableHighWaterMark', isDuplex); + + // A linked list is used to store data chunks instead of an array because the + // linked list can remove elements from the beginning faster than + // array.shift() + this.buffer = new BufferList(); + this.length = 0; + this.pipes = null; + this.pipesCount = 0; + this.flowing = null; + this.ended = false; + this.endEmitted = false; + this.reading = false; + + // a flag to be able to tell if the event 'readable'/'data' is emitted + // immediately, or on a later tick. We set this to true at first, because + // any actions that shouldn't happen until "later" should generally also + // not happen before the first read call. + this.sync = true; + + // whenever we return null, then we set a flag to say + // that we're awaiting a 'readable' event emission. + this.needReadable = false; + this.emittedReadable = false; + this.readableListening = false; + this.resumeScheduled = false; + this.paused = true; + + // Should close be emitted on destroy. Defaults to true. + this.emitClose = options.emitClose !== false; + + // Should .destroy() be called after 'end' (and potentially 'finish') + this.autoDestroy = !!options.autoDestroy; + + // has it been destroyed + this.destroyed = false; + + // Crypto is kind of old and crusty. Historically, its default string + // encoding is 'binary' so we have to make this configurable. + // Everything else in the universe uses 'utf8', though. + this.defaultEncoding = options.defaultEncoding || 'utf8'; + + // the number of writers that are awaiting a drain event in .pipe()s + this.awaitDrain = 0; + + // if true, a maybeReadMore has been scheduled + this.readingMore = false; + this.decoder = null; + this.encoding = null; + if (options.encoding) { + if (!StringDecoder) StringDecoder = require('string_decoder/').StringDecoder; + this.decoder = new StringDecoder(options.encoding); + this.encoding = options.encoding; + } +} +function Readable(options) { + Duplex = Duplex || require('./_stream_duplex'); + if (!(this instanceof Readable)) return new Readable(options); + + // Checking for a Stream.Duplex instance is faster here instead of inside + // the ReadableState constructor, at least with V8 6.5 + var isDuplex = this instanceof Duplex; + this._readableState = new ReadableState(options, this, isDuplex); + + // legacy + this.readable = true; + if (options) { + if (typeof options.read === 'function') this._read = options.read; + if (typeof options.destroy === 'function') this._destroy = options.destroy; + } + Stream.call(this); +} +Object.defineProperty(Readable.prototype, 'destroyed', { + // making it explicit this property is not enumerable + // because otherwise some prototype manipulation in + // userland will fail + enumerable: false, + get: function get() { + if (this._readableState === undefined) { + return false; + } + return this._readableState.destroyed; + }, + set: function set(value) { + // we ignore the value if the stream + // has not been initialized yet + if (!this._readableState) { + return; + } + + // backward compatibility, the user is explicitly + // managing destroyed + this._readableState.destroyed = value; + } +}); +Readable.prototype.destroy = destroyImpl.destroy; +Readable.prototype._undestroy = destroyImpl.undestroy; +Readable.prototype._destroy = function (err, cb) { + cb(err); +}; + +// Manually shove something into the read() buffer. +// This returns true if the highWaterMark has not been hit yet, +// similar to how Writable.write() returns true if you should +// write() some more. +Readable.prototype.push = function (chunk, encoding) { + var state = this._readableState; + var skipChunkCheck; + if (!state.objectMode) { + if (typeof chunk === 'string') { + encoding = encoding || state.defaultEncoding; + if (encoding !== state.encoding) { + chunk = Buffer.from(chunk, encoding); + encoding = ''; + } + skipChunkCheck = true; + } + } else { + skipChunkCheck = true; + } + return readableAddChunk(this, chunk, encoding, false, skipChunkCheck); +}; + +// Unshift should *always* be something directly out of read() +Readable.prototype.unshift = function (chunk) { + return readableAddChunk(this, chunk, null, true, false); +}; +function readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) { + debug('readableAddChunk', chunk); + var state = stream._readableState; + if (chunk === null) { + state.reading = false; + onEofChunk(stream, state); + } else { + var er; + if (!skipChunkCheck) er = chunkInvalid(state, chunk); + if (er) { + errorOrDestroy(stream, er); + } else if (state.objectMode || chunk && chunk.length > 0) { + if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) { + chunk = _uint8ArrayToBuffer(chunk); + } + if (addToFront) { + if (state.endEmitted) errorOrDestroy(stream, new ERR_STREAM_UNSHIFT_AFTER_END_EVENT());else addChunk(stream, state, chunk, true); + } else if (state.ended) { + errorOrDestroy(stream, new ERR_STREAM_PUSH_AFTER_EOF()); + } else if (state.destroyed) { + return false; + } else { + state.reading = false; + if (state.decoder && !encoding) { + chunk = state.decoder.write(chunk); + if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state); + } else { + addChunk(stream, state, chunk, false); + } + } + } else if (!addToFront) { + state.reading = false; + maybeReadMore(stream, state); + } + } + + // We can push more data if we are below the highWaterMark. + // Also, if we have no data yet, we can stand some more bytes. + // This is to work around cases where hwm=0, such as the repl. + return !state.ended && (state.length < state.highWaterMark || state.length === 0); +} +function addChunk(stream, state, chunk, addToFront) { + if (state.flowing && state.length === 0 && !state.sync) { + state.awaitDrain = 0; + stream.emit('data', chunk); + } else { + // update the buffer info. + state.length += state.objectMode ? 1 : chunk.length; + if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk); + if (state.needReadable) emitReadable(stream); + } + maybeReadMore(stream, state); +} +function chunkInvalid(state, chunk) { + var er; + if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) { + er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer', 'Uint8Array'], chunk); + } + return er; +} +Readable.prototype.isPaused = function () { + return this._readableState.flowing === false; +}; + +// backwards compatibility. +Readable.prototype.setEncoding = function (enc) { + if (!StringDecoder) StringDecoder = require('string_decoder/').StringDecoder; + var decoder = new StringDecoder(enc); + this._readableState.decoder = decoder; + // If setEncoding(null), decoder.encoding equals utf8 + this._readableState.encoding = this._readableState.decoder.encoding; + + // Iterate over current buffer to convert already stored Buffers: + var p = this._readableState.buffer.head; + var content = ''; + while (p !== null) { + content += decoder.write(p.data); + p = p.next; + } + this._readableState.buffer.clear(); + if (content !== '') this._readableState.buffer.push(content); + this._readableState.length = content.length; + return this; +}; + +// Don't raise the hwm > 1GB +var MAX_HWM = 0x40000000; +function computeNewHighWaterMark(n) { + if (n >= MAX_HWM) { + // TODO(ronag): Throw ERR_VALUE_OUT_OF_RANGE. + n = MAX_HWM; + } else { + // Get the next highest power of 2 to prevent increasing hwm excessively in + // tiny amounts + n--; + n |= n >>> 1; + n |= n >>> 2; + n |= n >>> 4; + n |= n >>> 8; + n |= n >>> 16; + n++; + } + return n; +} + +// This function is designed to be inlinable, so please take care when making +// changes to the function body. +function howMuchToRead(n, state) { + if (n <= 0 || state.length === 0 && state.ended) return 0; + if (state.objectMode) return 1; + if (n !== n) { + // Only flow one buffer at a time + if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length; + } + // If we're asking for more than the current hwm, then raise the hwm. + if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n); + if (n <= state.length) return n; + // Don't have enough + if (!state.ended) { + state.needReadable = true; + return 0; + } + return state.length; +} + +// you can override either this method, or the async _read(n) below. +Readable.prototype.read = function (n) { + debug('read', n); + n = parseInt(n, 10); + var state = this._readableState; + var nOrig = n; + if (n !== 0) state.emittedReadable = false; + + // if we're doing read(0) to trigger a readable event, but we + // already have a bunch of data in the buffer, then just trigger + // the 'readable' event and move on. + if (n === 0 && state.needReadable && ((state.highWaterMark !== 0 ? state.length >= state.highWaterMark : state.length > 0) || state.ended)) { + debug('read: emitReadable', state.length, state.ended); + if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this); + return null; + } + n = howMuchToRead(n, state); + + // if we've ended, and we're now clear, then finish it up. + if (n === 0 && state.ended) { + if (state.length === 0) endReadable(this); + return null; + } + + // All the actual chunk generation logic needs to be + // *below* the call to _read. The reason is that in certain + // synthetic stream cases, such as passthrough streams, _read + // may be a completely synchronous operation which may change + // the state of the read buffer, providing enough data when + // before there was *not* enough. + // + // So, the steps are: + // 1. Figure out what the state of things will be after we do + // a read from the buffer. + // + // 2. If that resulting state will trigger a _read, then call _read. + // Note that this may be asynchronous, or synchronous. Yes, it is + // deeply ugly to write APIs this way, but that still doesn't mean + // that the Readable class should behave improperly, as streams are + // designed to be sync/async agnostic. + // Take note if the _read call is sync or async (ie, if the read call + // has returned yet), so that we know whether or not it's safe to emit + // 'readable' etc. + // + // 3. Actually pull the requested chunks out of the buffer and return. + + // if we need a readable event, then we need to do some reading. + var doRead = state.needReadable; + debug('need readable', doRead); + + // if we currently have less than the highWaterMark, then also read some + if (state.length === 0 || state.length - n < state.highWaterMark) { + doRead = true; + debug('length less than watermark', doRead); + } + + // however, if we've ended, then there's no point, and if we're already + // reading, then it's unnecessary. + if (state.ended || state.reading) { + doRead = false; + debug('reading or ended', doRead); + } else if (doRead) { + debug('do read'); + state.reading = true; + state.sync = true; + // if the length is currently zero, then we *need* a readable event. + if (state.length === 0) state.needReadable = true; + // call internal read method + this._read(state.highWaterMark); + state.sync = false; + // If _read pushed data synchronously, then `reading` will be false, + // and we need to re-evaluate how much data we can return to the user. + if (!state.reading) n = howMuchToRead(nOrig, state); + } + var ret; + if (n > 0) ret = fromList(n, state);else ret = null; + if (ret === null) { + state.needReadable = state.length <= state.highWaterMark; + n = 0; + } else { + state.length -= n; + state.awaitDrain = 0; + } + if (state.length === 0) { + // If we have nothing in the buffer, then we want to know + // as soon as we *do* get something into the buffer. + if (!state.ended) state.needReadable = true; + + // If we tried to read() past the EOF, then emit end on the next tick. + if (nOrig !== n && state.ended) endReadable(this); + } + if (ret !== null) this.emit('data', ret); + return ret; +}; +function onEofChunk(stream, state) { + debug('onEofChunk'); + if (state.ended) return; + if (state.decoder) { + var chunk = state.decoder.end(); + if (chunk && chunk.length) { + state.buffer.push(chunk); + state.length += state.objectMode ? 1 : chunk.length; + } + } + state.ended = true; + if (state.sync) { + // if we are sync, wait until next tick to emit the data. + // Otherwise we risk emitting data in the flow() + // the readable code triggers during a read() call + emitReadable(stream); + } else { + // emit 'readable' now to make sure it gets picked up. + state.needReadable = false; + if (!state.emittedReadable) { + state.emittedReadable = true; + emitReadable_(stream); + } + } +} + +// Don't emit readable right away in sync mode, because this can trigger +// another read() call => stack overflow. This way, it might trigger +// a nextTick recursion warning, but that's not so bad. +function emitReadable(stream) { + var state = stream._readableState; + debug('emitReadable', state.needReadable, state.emittedReadable); + state.needReadable = false; + if (!state.emittedReadable) { + debug('emitReadable', state.flowing); + state.emittedReadable = true; + process.nextTick(emitReadable_, stream); + } +} +function emitReadable_(stream) { + var state = stream._readableState; + debug('emitReadable_', state.destroyed, state.length, state.ended); + if (!state.destroyed && (state.length || state.ended)) { + stream.emit('readable'); + state.emittedReadable = false; + } + + // The stream needs another readable event if + // 1. It is not flowing, as the flow mechanism will take + // care of it. + // 2. It is not ended. + // 3. It is below the highWaterMark, so we can schedule + // another readable later. + state.needReadable = !state.flowing && !state.ended && state.length <= state.highWaterMark; + flow(stream); +} + +// at this point, the user has presumably seen the 'readable' event, +// and called read() to consume some data. that may have triggered +// in turn another _read(n) call, in which case reading = true if +// it's in progress. +// However, if we're not ended, or reading, and the length < hwm, +// then go ahead and try to read some more preemptively. +function maybeReadMore(stream, state) { + if (!state.readingMore) { + state.readingMore = true; + process.nextTick(maybeReadMore_, stream, state); + } +} +function maybeReadMore_(stream, state) { + // Attempt to read more data if we should. + // + // The conditions for reading more data are (one of): + // - Not enough data buffered (state.length < state.highWaterMark). The loop + // is responsible for filling the buffer with enough data if such data + // is available. If highWaterMark is 0 and we are not in the flowing mode + // we should _not_ attempt to buffer any extra data. We'll get more data + // when the stream consumer calls read() instead. + // - No data in the buffer, and the stream is in flowing mode. In this mode + // the loop below is responsible for ensuring read() is called. Failing to + // call read here would abort the flow and there's no other mechanism for + // continuing the flow if the stream consumer has just subscribed to the + // 'data' event. + // + // In addition to the above conditions to keep reading data, the following + // conditions prevent the data from being read: + // - The stream has ended (state.ended). + // - There is already a pending 'read' operation (state.reading). This is a + // case where the the stream has called the implementation defined _read() + // method, but they are processing the call asynchronously and have _not_ + // called push() with new data. In this case we skip performing more + // read()s. The execution ends in this method again after the _read() ends + // up calling push() with more data. + while (!state.reading && !state.ended && (state.length < state.highWaterMark || state.flowing && state.length === 0)) { + var len = state.length; + debug('maybeReadMore read 0'); + stream.read(0); + if (len === state.length) + // didn't get any data, stop spinning. + break; + } + state.readingMore = false; +} + +// abstract method. to be overridden in specific implementation classes. +// call cb(er, data) where data is <= n in length. +// for virtual (non-string, non-buffer) streams, "length" is somewhat +// arbitrary, and perhaps not very meaningful. +Readable.prototype._read = function (n) { + errorOrDestroy(this, new ERR_METHOD_NOT_IMPLEMENTED('_read()')); +}; +Readable.prototype.pipe = function (dest, pipeOpts) { + var src = this; + var state = this._readableState; + switch (state.pipesCount) { + case 0: + state.pipes = dest; + break; + case 1: + state.pipes = [state.pipes, dest]; + break; + default: + state.pipes.push(dest); + break; + } + state.pipesCount += 1; + debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts); + var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr; + var endFn = doEnd ? onend : unpipe; + if (state.endEmitted) process.nextTick(endFn);else src.once('end', endFn); + dest.on('unpipe', onunpipe); + function onunpipe(readable, unpipeInfo) { + debug('onunpipe'); + if (readable === src) { + if (unpipeInfo && unpipeInfo.hasUnpiped === false) { + unpipeInfo.hasUnpiped = true; + cleanup(); + } + } + } + function onend() { + debug('onend'); + dest.end(); + } + + // when the dest drains, it reduces the awaitDrain counter + // on the source. This would be more elegant with a .once() + // handler in flow(), but adding and removing repeatedly is + // too slow. + var ondrain = pipeOnDrain(src); + dest.on('drain', ondrain); + var cleanedUp = false; + function cleanup() { + debug('cleanup'); + // cleanup event handlers once the pipe is broken + dest.removeListener('close', onclose); + dest.removeListener('finish', onfinish); + dest.removeListener('drain', ondrain); + dest.removeListener('error', onerror); + dest.removeListener('unpipe', onunpipe); + src.removeListener('end', onend); + src.removeListener('end', unpipe); + src.removeListener('data', ondata); + cleanedUp = true; + + // if the reader is waiting for a drain event from this + // specific writer, then it would cause it to never start + // flowing again. + // So, if this is awaiting a drain, then we just call it now. + // If we don't know, then assume that we are waiting for one. + if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain(); + } + src.on('data', ondata); + function ondata(chunk) { + debug('ondata'); + var ret = dest.write(chunk); + debug('dest.write', ret); + if (ret === false) { + // If the user unpiped during `dest.write()`, it is possible + // to get stuck in a permanently paused state if that write + // also returned false. + // => Check whether `dest` is still a piping destination. + if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) { + debug('false write response, pause', state.awaitDrain); + state.awaitDrain++; + } + src.pause(); + } + } + + // if the dest has an error, then stop piping into it. + // however, don't suppress the throwing behavior for this. + function onerror(er) { + debug('onerror', er); + unpipe(); + dest.removeListener('error', onerror); + if (EElistenerCount(dest, 'error') === 0) errorOrDestroy(dest, er); + } + + // Make sure our error handler is attached before userland ones. + prependListener(dest, 'error', onerror); + + // Both close and finish should trigger unpipe, but only once. + function onclose() { + dest.removeListener('finish', onfinish); + unpipe(); + } + dest.once('close', onclose); + function onfinish() { + debug('onfinish'); + dest.removeListener('close', onclose); + unpipe(); + } + dest.once('finish', onfinish); + function unpipe() { + debug('unpipe'); + src.unpipe(dest); + } + + // tell the dest that it's being piped to + dest.emit('pipe', src); + + // start the flow if it hasn't been started already. + if (!state.flowing) { + debug('pipe resume'); + src.resume(); + } + return dest; +}; +function pipeOnDrain(src) { + return function pipeOnDrainFunctionResult() { + var state = src._readableState; + debug('pipeOnDrain', state.awaitDrain); + if (state.awaitDrain) state.awaitDrain--; + if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) { + state.flowing = true; + flow(src); + } + }; +} +Readable.prototype.unpipe = function (dest) { + var state = this._readableState; + var unpipeInfo = { + hasUnpiped: false + }; + + // if we're not piping anywhere, then do nothing. + if (state.pipesCount === 0) return this; + + // just one destination. most common case. + if (state.pipesCount === 1) { + // passed in one, but it's not the right one. + if (dest && dest !== state.pipes) return this; + if (!dest) dest = state.pipes; + + // got a match. + state.pipes = null; + state.pipesCount = 0; + state.flowing = false; + if (dest) dest.emit('unpipe', this, unpipeInfo); + return this; + } + + // slow case. multiple pipe destinations. + + if (!dest) { + // remove all. + var dests = state.pipes; + var len = state.pipesCount; + state.pipes = null; + state.pipesCount = 0; + state.flowing = false; + for (var i = 0; i < len; i++) dests[i].emit('unpipe', this, { + hasUnpiped: false + }); + return this; + } + + // try to find the right one. + var index = indexOf(state.pipes, dest); + if (index === -1) return this; + state.pipes.splice(index, 1); + state.pipesCount -= 1; + if (state.pipesCount === 1) state.pipes = state.pipes[0]; + dest.emit('unpipe', this, unpipeInfo); + return this; +}; + +// set up data events if they are asked for +// Ensure readable listeners eventually get something +Readable.prototype.on = function (ev, fn) { + var res = Stream.prototype.on.call(this, ev, fn); + var state = this._readableState; + if (ev === 'data') { + // update readableListening so that resume() may be a no-op + // a few lines down. This is needed to support once('readable'). + state.readableListening = this.listenerCount('readable') > 0; + + // Try start flowing on next tick if stream isn't explicitly paused + if (state.flowing !== false) this.resume(); + } else if (ev === 'readable') { + if (!state.endEmitted && !state.readableListening) { + state.readableListening = state.needReadable = true; + state.flowing = false; + state.emittedReadable = false; + debug('on readable', state.length, state.reading); + if (state.length) { + emitReadable(this); + } else if (!state.reading) { + process.nextTick(nReadingNextTick, this); + } + } + } + return res; +}; +Readable.prototype.addListener = Readable.prototype.on; +Readable.prototype.removeListener = function (ev, fn) { + var res = Stream.prototype.removeListener.call(this, ev, fn); + if (ev === 'readable') { + // We need to check if there is someone still listening to + // readable and reset the state. However this needs to happen + // after readable has been emitted but before I/O (nextTick) to + // support once('readable', fn) cycles. This means that calling + // resume within the same tick will have no + // effect. + process.nextTick(updateReadableListening, this); + } + return res; +}; +Readable.prototype.removeAllListeners = function (ev) { + var res = Stream.prototype.removeAllListeners.apply(this, arguments); + if (ev === 'readable' || ev === undefined) { + // We need to check if there is someone still listening to + // readable and reset the state. However this needs to happen + // after readable has been emitted but before I/O (nextTick) to + // support once('readable', fn) cycles. This means that calling + // resume within the same tick will have no + // effect. + process.nextTick(updateReadableListening, this); + } + return res; +}; +function updateReadableListening(self) { + var state = self._readableState; + state.readableListening = self.listenerCount('readable') > 0; + if (state.resumeScheduled && !state.paused) { + // flowing needs to be set to true now, otherwise + // the upcoming resume will not flow. + state.flowing = true; + + // crude way to check if we should resume + } else if (self.listenerCount('data') > 0) { + self.resume(); + } +} +function nReadingNextTick(self) { + debug('readable nexttick read 0'); + self.read(0); +} + +// pause() and resume() are remnants of the legacy readable stream API +// If the user uses them, then switch into old mode. +Readable.prototype.resume = function () { + var state = this._readableState; + if (!state.flowing) { + debug('resume'); + // we flow only if there is no one listening + // for readable, but we still have to call + // resume() + state.flowing = !state.readableListening; + resume(this, state); + } + state.paused = false; + return this; +}; +function resume(stream, state) { + if (!state.resumeScheduled) { + state.resumeScheduled = true; + process.nextTick(resume_, stream, state); + } +} +function resume_(stream, state) { + debug('resume', state.reading); + if (!state.reading) { + stream.read(0); + } + state.resumeScheduled = false; + stream.emit('resume'); + flow(stream); + if (state.flowing && !state.reading) stream.read(0); +} +Readable.prototype.pause = function () { + debug('call pause flowing=%j', this._readableState.flowing); + if (this._readableState.flowing !== false) { + debug('pause'); + this._readableState.flowing = false; + this.emit('pause'); + } + this._readableState.paused = true; + return this; +}; +function flow(stream) { + var state = stream._readableState; + debug('flow', state.flowing); + while (state.flowing && stream.read() !== null); +} + +// wrap an old-style stream as the async data source. +// This is *not* part of the readable stream interface. +// It is an ugly unfortunate mess of history. +Readable.prototype.wrap = function (stream) { + var _this = this; + var state = this._readableState; + var paused = false; + stream.on('end', function () { + debug('wrapped end'); + if (state.decoder && !state.ended) { + var chunk = state.decoder.end(); + if (chunk && chunk.length) _this.push(chunk); + } + _this.push(null); + }); + stream.on('data', function (chunk) { + debug('wrapped data'); + if (state.decoder) chunk = state.decoder.write(chunk); + + // don't skip over falsy values in objectMode + if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return; + var ret = _this.push(chunk); + if (!ret) { + paused = true; + stream.pause(); + } + }); + + // proxy all the other methods. + // important when wrapping filters and duplexes. + for (var i in stream) { + if (this[i] === undefined && typeof stream[i] === 'function') { + this[i] = function methodWrap(method) { + return function methodWrapReturnFunction() { + return stream[method].apply(stream, arguments); + }; + }(i); + } + } + + // proxy certain important events. + for (var n = 0; n < kProxyEvents.length; n++) { + stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n])); + } + + // when we try to consume some more bytes, simply unpause the + // underlying stream. + this._read = function (n) { + debug('wrapped _read', n); + if (paused) { + paused = false; + stream.resume(); + } + }; + return this; +}; +if (typeof Symbol === 'function') { + Readable.prototype[Symbol.asyncIterator] = function () { + if (createReadableStreamAsyncIterator === undefined) { + createReadableStreamAsyncIterator = require('./internal/streams/async_iterator'); + } + return createReadableStreamAsyncIterator(this); + }; +} +Object.defineProperty(Readable.prototype, 'readableHighWaterMark', { + // making it explicit this property is not enumerable + // because otherwise some prototype manipulation in + // userland will fail + enumerable: false, + get: function get() { + return this._readableState.highWaterMark; + } +}); +Object.defineProperty(Readable.prototype, 'readableBuffer', { + // making it explicit this property is not enumerable + // because otherwise some prototype manipulation in + // userland will fail + enumerable: false, + get: function get() { + return this._readableState && this._readableState.buffer; + } +}); +Object.defineProperty(Readable.prototype, 'readableFlowing', { + // making it explicit this property is not enumerable + // because otherwise some prototype manipulation in + // userland will fail + enumerable: false, + get: function get() { + return this._readableState.flowing; + }, + set: function set(state) { + if (this._readableState) { + this._readableState.flowing = state; + } + } +}); + +// exposed for testing purposes only. +Readable._fromList = fromList; +Object.defineProperty(Readable.prototype, 'readableLength', { + // making it explicit this property is not enumerable + // because otherwise some prototype manipulation in + // userland will fail + enumerable: false, + get: function get() { + return this._readableState.length; + } +}); + +// Pluck off n bytes from an array of buffers. +// Length is the combined lengths of all the buffers in the list. +// This function is designed to be inlinable, so please take care when making +// changes to the function body. +function fromList(n, state) { + // nothing buffered + if (state.length === 0) return null; + var ret; + if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) { + // read it all, truncate the list + if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.first();else ret = state.buffer.concat(state.length); + state.buffer.clear(); + } else { + // read part of list + ret = state.buffer.consume(n, state.decoder); + } + return ret; +} +function endReadable(stream) { + var state = stream._readableState; + debug('endReadable', state.endEmitted); + if (!state.endEmitted) { + state.ended = true; + process.nextTick(endReadableNT, state, stream); + } +} +function endReadableNT(state, stream) { + debug('endReadableNT', state.endEmitted, state.length); + + // Check that we didn't get one last unshift. + if (!state.endEmitted && state.length === 0) { + state.endEmitted = true; + stream.readable = false; + stream.emit('end'); + if (state.autoDestroy) { + // In case of duplex streams we need a way to detect + // if the writable side is ready for autoDestroy as well + var wState = stream._writableState; + if (!wState || wState.autoDestroy && wState.finished) { + stream.destroy(); + } + } + } +} +if (typeof Symbol === 'function') { + Readable.from = function (iterable, opts) { + if (from === undefined) { + from = require('./internal/streams/from'); + } + return from(Readable, iterable, opts); + }; +} +function indexOf(xs, x) { + for (var i = 0, l = xs.length; i < l; i++) { + if (xs[i] === x) return i; + } + return -1; +} \ No newline at end of file diff --git a/node_modules/readable-stream/lib/_stream_transform.js b/node_modules/readable-stream/lib/_stream_transform.js new file mode 100644 index 0000000..1ccb715 --- /dev/null +++ b/node_modules/readable-stream/lib/_stream_transform.js @@ -0,0 +1,190 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +// a transform stream is a readable/writable stream where you do +// something with the data. Sometimes it's called a "filter", +// but that's not a great name for it, since that implies a thing where +// some bits pass through, and others are simply ignored. (That would +// be a valid example of a transform, of course.) +// +// While the output is causally related to the input, it's not a +// necessarily symmetric or synchronous transformation. For example, +// a zlib stream might take multiple plain-text writes(), and then +// emit a single compressed chunk some time in the future. +// +// Here's how this works: +// +// The Transform stream has all the aspects of the readable and writable +// stream classes. When you write(chunk), that calls _write(chunk,cb) +// internally, and returns false if there's a lot of pending writes +// buffered up. When you call read(), that calls _read(n) until +// there's enough pending readable data buffered up. +// +// In a transform stream, the written data is placed in a buffer. When +// _read(n) is called, it transforms the queued up data, calling the +// buffered _write cb's as it consumes chunks. If consuming a single +// written chunk would result in multiple output chunks, then the first +// outputted bit calls the readcb, and subsequent chunks just go into +// the read buffer, and will cause it to emit 'readable' if necessary. +// +// This way, back-pressure is actually determined by the reading side, +// since _read has to be called to start processing a new chunk. However, +// a pathological inflate type of transform can cause excessive buffering +// here. For example, imagine a stream where every byte of input is +// interpreted as an integer from 0-255, and then results in that many +// bytes of output. Writing the 4 bytes {ff,ff,ff,ff} would result in +// 1kb of data being output. In this case, you could write a very small +// amount of input, and end up with a very large amount of output. In +// such a pathological inflating mechanism, there'd be no way to tell +// the system to stop doing the transform. A single 4MB write could +// cause the system to run out of memory. +// +// However, even in such a pathological case, only a single written chunk +// would be consumed, and then the rest would wait (un-transformed) until +// the results of the previous transformed chunk were consumed. + +'use strict'; + +module.exports = Transform; +var _require$codes = require('../errors').codes, + ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED, + ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK, + ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING, + ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0; +var Duplex = require('./_stream_duplex'); +require('inherits')(Transform, Duplex); +function afterTransform(er, data) { + var ts = this._transformState; + ts.transforming = false; + var cb = ts.writecb; + if (cb === null) { + return this.emit('error', new ERR_MULTIPLE_CALLBACK()); + } + ts.writechunk = null; + ts.writecb = null; + if (data != null) + // single equals check for both `null` and `undefined` + this.push(data); + cb(er); + var rs = this._readableState; + rs.reading = false; + if (rs.needReadable || rs.length < rs.highWaterMark) { + this._read(rs.highWaterMark); + } +} +function Transform(options) { + if (!(this instanceof Transform)) return new Transform(options); + Duplex.call(this, options); + this._transformState = { + afterTransform: afterTransform.bind(this), + needTransform: false, + transforming: false, + writecb: null, + writechunk: null, + writeencoding: null + }; + + // start out asking for a readable event once data is transformed. + this._readableState.needReadable = true; + + // we have implemented the _read method, and done the other things + // that Readable wants before the first _read call, so unset the + // sync guard flag. + this._readableState.sync = false; + if (options) { + if (typeof options.transform === 'function') this._transform = options.transform; + if (typeof options.flush === 'function') this._flush = options.flush; + } + + // When the writable side finishes, then flush out anything remaining. + this.on('prefinish', prefinish); +} +function prefinish() { + var _this = this; + if (typeof this._flush === 'function' && !this._readableState.destroyed) { + this._flush(function (er, data) { + done(_this, er, data); + }); + } else { + done(this, null, null); + } +} +Transform.prototype.push = function (chunk, encoding) { + this._transformState.needTransform = false; + return Duplex.prototype.push.call(this, chunk, encoding); +}; + +// This is the part where you do stuff! +// override this function in implementation classes. +// 'chunk' is an input chunk. +// +// Call `push(newChunk)` to pass along transformed output +// to the readable side. You may call 'push' zero or more times. +// +// Call `cb(err)` when you are done with this chunk. If you pass +// an error, then that'll put the hurt on the whole operation. If you +// never call cb(), then you'll never get another chunk. +Transform.prototype._transform = function (chunk, encoding, cb) { + cb(new ERR_METHOD_NOT_IMPLEMENTED('_transform()')); +}; +Transform.prototype._write = function (chunk, encoding, cb) { + var ts = this._transformState; + ts.writecb = cb; + ts.writechunk = chunk; + ts.writeencoding = encoding; + if (!ts.transforming) { + var rs = this._readableState; + if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark); + } +}; + +// Doesn't matter what the args are here. +// _transform does all the work. +// That we got here means that the readable side wants more data. +Transform.prototype._read = function (n) { + var ts = this._transformState; + if (ts.writechunk !== null && !ts.transforming) { + ts.transforming = true; + this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform); + } else { + // mark that we need a transform, so that any data that comes in + // will get processed, now that we've asked for it. + ts.needTransform = true; + } +}; +Transform.prototype._destroy = function (err, cb) { + Duplex.prototype._destroy.call(this, err, function (err2) { + cb(err2); + }); +}; +function done(stream, er, data) { + if (er) return stream.emit('error', er); + if (data != null) + // single equals check for both `null` and `undefined` + stream.push(data); + + // TODO(BridgeAR): Write a test for these two error cases + // if there's nothing in the write buffer, then that means + // that nothing more will ever be provided + if (stream._writableState.length) throw new ERR_TRANSFORM_WITH_LENGTH_0(); + if (stream._transformState.transforming) throw new ERR_TRANSFORM_ALREADY_TRANSFORMING(); + return stream.push(null); +} \ No newline at end of file diff --git a/node_modules/readable-stream/lib/_stream_writable.js b/node_modules/readable-stream/lib/_stream_writable.js new file mode 100644 index 0000000..292415e --- /dev/null +++ b/node_modules/readable-stream/lib/_stream_writable.js @@ -0,0 +1,641 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +// A bit simpler than readable streams. +// Implement an async ._write(chunk, encoding, cb), and it'll handle all +// the drain event emission and buffering. + +'use strict'; + +module.exports = Writable; + +/* */ +function WriteReq(chunk, encoding, cb) { + this.chunk = chunk; + this.encoding = encoding; + this.callback = cb; + this.next = null; +} + +// It seems a linked list but it is not +// there will be only 2 of these for each stream +function CorkedRequest(state) { + var _this = this; + this.next = null; + this.entry = null; + this.finish = function () { + onCorkedFinish(_this, state); + }; +} +/* */ + +/**/ +var Duplex; +/**/ + +Writable.WritableState = WritableState; + +/**/ +var internalUtil = { + deprecate: require('util-deprecate') +}; +/**/ + +/**/ +var Stream = require('./internal/streams/stream'); +/**/ + +var Buffer = require('buffer').Buffer; +var OurUint8Array = (typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}).Uint8Array || function () {}; +function _uint8ArrayToBuffer(chunk) { + return Buffer.from(chunk); +} +function _isUint8Array(obj) { + return Buffer.isBuffer(obj) || obj instanceof OurUint8Array; +} +var destroyImpl = require('./internal/streams/destroy'); +var _require = require('./internal/streams/state'), + getHighWaterMark = _require.getHighWaterMark; +var _require$codes = require('../errors').codes, + ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE, + ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED, + ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK, + ERR_STREAM_CANNOT_PIPE = _require$codes.ERR_STREAM_CANNOT_PIPE, + ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED, + ERR_STREAM_NULL_VALUES = _require$codes.ERR_STREAM_NULL_VALUES, + ERR_STREAM_WRITE_AFTER_END = _require$codes.ERR_STREAM_WRITE_AFTER_END, + ERR_UNKNOWN_ENCODING = _require$codes.ERR_UNKNOWN_ENCODING; +var errorOrDestroy = destroyImpl.errorOrDestroy; +require('inherits')(Writable, Stream); +function nop() {} +function WritableState(options, stream, isDuplex) { + Duplex = Duplex || require('./_stream_duplex'); + options = options || {}; + + // Duplex streams are both readable and writable, but share + // the same options object. + // However, some cases require setting options to different + // values for the readable and the writable sides of the duplex stream, + // e.g. options.readableObjectMode vs. options.writableObjectMode, etc. + if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex; + + // object stream flag to indicate whether or not this stream + // contains buffers or objects. + this.objectMode = !!options.objectMode; + if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode; + + // the point at which write() starts returning false + // Note: 0 is a valid value, means that we always return false if + // the entire buffer is not flushed immediately on write() + this.highWaterMark = getHighWaterMark(this, options, 'writableHighWaterMark', isDuplex); + + // if _final has been called + this.finalCalled = false; + + // drain event flag. + this.needDrain = false; + // at the start of calling end() + this.ending = false; + // when end() has been called, and returned + this.ended = false; + // when 'finish' is emitted + this.finished = false; + + // has it been destroyed + this.destroyed = false; + + // should we decode strings into buffers before passing to _write? + // this is here so that some node-core streams can optimize string + // handling at a lower level. + var noDecode = options.decodeStrings === false; + this.decodeStrings = !noDecode; + + // Crypto is kind of old and crusty. Historically, its default string + // encoding is 'binary' so we have to make this configurable. + // Everything else in the universe uses 'utf8', though. + this.defaultEncoding = options.defaultEncoding || 'utf8'; + + // not an actual buffer we keep track of, but a measurement + // of how much we're waiting to get pushed to some underlying + // socket or file. + this.length = 0; + + // a flag to see when we're in the middle of a write. + this.writing = false; + + // when true all writes will be buffered until .uncork() call + this.corked = 0; + + // a flag to be able to tell if the onwrite cb is called immediately, + // or on a later tick. We set this to true at first, because any + // actions that shouldn't happen until "later" should generally also + // not happen before the first write call. + this.sync = true; + + // a flag to know if we're processing previously buffered items, which + // may call the _write() callback in the same tick, so that we don't + // end up in an overlapped onwrite situation. + this.bufferProcessing = false; + + // the callback that's passed to _write(chunk,cb) + this.onwrite = function (er) { + onwrite(stream, er); + }; + + // the callback that the user supplies to write(chunk,encoding,cb) + this.writecb = null; + + // the amount that is being written when _write is called. + this.writelen = 0; + this.bufferedRequest = null; + this.lastBufferedRequest = null; + + // number of pending user-supplied write callbacks + // this must be 0 before 'finish' can be emitted + this.pendingcb = 0; + + // emit prefinish if the only thing we're waiting for is _write cbs + // This is relevant for synchronous Transform streams + this.prefinished = false; + + // True if the error was already emitted and should not be thrown again + this.errorEmitted = false; + + // Should close be emitted on destroy. Defaults to true. + this.emitClose = options.emitClose !== false; + + // Should .destroy() be called after 'finish' (and potentially 'end') + this.autoDestroy = !!options.autoDestroy; + + // count buffered requests + this.bufferedRequestCount = 0; + + // allocate the first CorkedRequest, there is always + // one allocated and free to use, and we maintain at most two + this.corkedRequestsFree = new CorkedRequest(this); +} +WritableState.prototype.getBuffer = function getBuffer() { + var current = this.bufferedRequest; + var out = []; + while (current) { + out.push(current); + current = current.next; + } + return out; +}; +(function () { + try { + Object.defineProperty(WritableState.prototype, 'buffer', { + get: internalUtil.deprecate(function writableStateBufferGetter() { + return this.getBuffer(); + }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003') + }); + } catch (_) {} +})(); + +// Test _writableState for inheritance to account for Duplex streams, +// whose prototype chain only points to Readable. +var realHasInstance; +if (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') { + realHasInstance = Function.prototype[Symbol.hasInstance]; + Object.defineProperty(Writable, Symbol.hasInstance, { + value: function value(object) { + if (realHasInstance.call(this, object)) return true; + if (this !== Writable) return false; + return object && object._writableState instanceof WritableState; + } + }); +} else { + realHasInstance = function realHasInstance(object) { + return object instanceof this; + }; +} +function Writable(options) { + Duplex = Duplex || require('./_stream_duplex'); + + // Writable ctor is applied to Duplexes, too. + // `realHasInstance` is necessary because using plain `instanceof` + // would return false, as no `_writableState` property is attached. + + // Trying to use the custom `instanceof` for Writable here will also break the + // Node.js LazyTransform implementation, which has a non-trivial getter for + // `_writableState` that would lead to infinite recursion. + + // Checking for a Stream.Duplex instance is faster here instead of inside + // the WritableState constructor, at least with V8 6.5 + var isDuplex = this instanceof Duplex; + if (!isDuplex && !realHasInstance.call(Writable, this)) return new Writable(options); + this._writableState = new WritableState(options, this, isDuplex); + + // legacy. + this.writable = true; + if (options) { + if (typeof options.write === 'function') this._write = options.write; + if (typeof options.writev === 'function') this._writev = options.writev; + if (typeof options.destroy === 'function') this._destroy = options.destroy; + if (typeof options.final === 'function') this._final = options.final; + } + Stream.call(this); +} + +// Otherwise people can pipe Writable streams, which is just wrong. +Writable.prototype.pipe = function () { + errorOrDestroy(this, new ERR_STREAM_CANNOT_PIPE()); +}; +function writeAfterEnd(stream, cb) { + var er = new ERR_STREAM_WRITE_AFTER_END(); + // TODO: defer error events consistently everywhere, not just the cb + errorOrDestroy(stream, er); + process.nextTick(cb, er); +} + +// Checks that a user-supplied chunk is valid, especially for the particular +// mode the stream is in. Currently this means that `null` is never accepted +// and undefined/non-string values are only allowed in object mode. +function validChunk(stream, state, chunk, cb) { + var er; + if (chunk === null) { + er = new ERR_STREAM_NULL_VALUES(); + } else if (typeof chunk !== 'string' && !state.objectMode) { + er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer'], chunk); + } + if (er) { + errorOrDestroy(stream, er); + process.nextTick(cb, er); + return false; + } + return true; +} +Writable.prototype.write = function (chunk, encoding, cb) { + var state = this._writableState; + var ret = false; + var isBuf = !state.objectMode && _isUint8Array(chunk); + if (isBuf && !Buffer.isBuffer(chunk)) { + chunk = _uint8ArrayToBuffer(chunk); + } + if (typeof encoding === 'function') { + cb = encoding; + encoding = null; + } + if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding; + if (typeof cb !== 'function') cb = nop; + if (state.ending) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) { + state.pendingcb++; + ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb); + } + return ret; +}; +Writable.prototype.cork = function () { + this._writableState.corked++; +}; +Writable.prototype.uncork = function () { + var state = this._writableState; + if (state.corked) { + state.corked--; + if (!state.writing && !state.corked && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state); + } +}; +Writable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) { + // node::ParseEncoding() requires lower case. + if (typeof encoding === 'string') encoding = encoding.toLowerCase(); + if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new ERR_UNKNOWN_ENCODING(encoding); + this._writableState.defaultEncoding = encoding; + return this; +}; +Object.defineProperty(Writable.prototype, 'writableBuffer', { + // making it explicit this property is not enumerable + // because otherwise some prototype manipulation in + // userland will fail + enumerable: false, + get: function get() { + return this._writableState && this._writableState.getBuffer(); + } +}); +function decodeChunk(state, chunk, encoding) { + if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') { + chunk = Buffer.from(chunk, encoding); + } + return chunk; +} +Object.defineProperty(Writable.prototype, 'writableHighWaterMark', { + // making it explicit this property is not enumerable + // because otherwise some prototype manipulation in + // userland will fail + enumerable: false, + get: function get() { + return this._writableState.highWaterMark; + } +}); + +// if we're already writing something, then just put this +// in the queue, and wait our turn. Otherwise, call _write +// If we return false, then we need a drain event, so set that flag. +function writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) { + if (!isBuf) { + var newChunk = decodeChunk(state, chunk, encoding); + if (chunk !== newChunk) { + isBuf = true; + encoding = 'buffer'; + chunk = newChunk; + } + } + var len = state.objectMode ? 1 : chunk.length; + state.length += len; + var ret = state.length < state.highWaterMark; + // we must ensure that previous needDrain will not be reset to false. + if (!ret) state.needDrain = true; + if (state.writing || state.corked) { + var last = state.lastBufferedRequest; + state.lastBufferedRequest = { + chunk: chunk, + encoding: encoding, + isBuf: isBuf, + callback: cb, + next: null + }; + if (last) { + last.next = state.lastBufferedRequest; + } else { + state.bufferedRequest = state.lastBufferedRequest; + } + state.bufferedRequestCount += 1; + } else { + doWrite(stream, state, false, len, chunk, encoding, cb); + } + return ret; +} +function doWrite(stream, state, writev, len, chunk, encoding, cb) { + state.writelen = len; + state.writecb = cb; + state.writing = true; + state.sync = true; + if (state.destroyed) state.onwrite(new ERR_STREAM_DESTROYED('write'));else if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite); + state.sync = false; +} +function onwriteError(stream, state, sync, er, cb) { + --state.pendingcb; + if (sync) { + // defer the callback if we are being called synchronously + // to avoid piling up things on the stack + process.nextTick(cb, er); + // this can emit finish, and it will always happen + // after error + process.nextTick(finishMaybe, stream, state); + stream._writableState.errorEmitted = true; + errorOrDestroy(stream, er); + } else { + // the caller expect this to happen before if + // it is async + cb(er); + stream._writableState.errorEmitted = true; + errorOrDestroy(stream, er); + // this can emit finish, but finish must + // always follow error + finishMaybe(stream, state); + } +} +function onwriteStateUpdate(state) { + state.writing = false; + state.writecb = null; + state.length -= state.writelen; + state.writelen = 0; +} +function onwrite(stream, er) { + var state = stream._writableState; + var sync = state.sync; + var cb = state.writecb; + if (typeof cb !== 'function') throw new ERR_MULTIPLE_CALLBACK(); + onwriteStateUpdate(state); + if (er) onwriteError(stream, state, sync, er, cb);else { + // Check if we're actually ready to finish, but don't emit yet + var finished = needFinish(state) || stream.destroyed; + if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) { + clearBuffer(stream, state); + } + if (sync) { + process.nextTick(afterWrite, stream, state, finished, cb); + } else { + afterWrite(stream, state, finished, cb); + } + } +} +function afterWrite(stream, state, finished, cb) { + if (!finished) onwriteDrain(stream, state); + state.pendingcb--; + cb(); + finishMaybe(stream, state); +} + +// Must force callback to be called on nextTick, so that we don't +// emit 'drain' before the write() consumer gets the 'false' return +// value, and has a chance to attach a 'drain' listener. +function onwriteDrain(stream, state) { + if (state.length === 0 && state.needDrain) { + state.needDrain = false; + stream.emit('drain'); + } +} + +// if there's something in the buffer waiting, then process it +function clearBuffer(stream, state) { + state.bufferProcessing = true; + var entry = state.bufferedRequest; + if (stream._writev && entry && entry.next) { + // Fast case, write everything using _writev() + var l = state.bufferedRequestCount; + var buffer = new Array(l); + var holder = state.corkedRequestsFree; + holder.entry = entry; + var count = 0; + var allBuffers = true; + while (entry) { + buffer[count] = entry; + if (!entry.isBuf) allBuffers = false; + entry = entry.next; + count += 1; + } + buffer.allBuffers = allBuffers; + doWrite(stream, state, true, state.length, buffer, '', holder.finish); + + // doWrite is almost always async, defer these to save a bit of time + // as the hot path ends with doWrite + state.pendingcb++; + state.lastBufferedRequest = null; + if (holder.next) { + state.corkedRequestsFree = holder.next; + holder.next = null; + } else { + state.corkedRequestsFree = new CorkedRequest(state); + } + state.bufferedRequestCount = 0; + } else { + // Slow case, write chunks one-by-one + while (entry) { + var chunk = entry.chunk; + var encoding = entry.encoding; + var cb = entry.callback; + var len = state.objectMode ? 1 : chunk.length; + doWrite(stream, state, false, len, chunk, encoding, cb); + entry = entry.next; + state.bufferedRequestCount--; + // if we didn't call the onwrite immediately, then + // it means that we need to wait until it does. + // also, that means that the chunk and cb are currently + // being processed, so move the buffer counter past them. + if (state.writing) { + break; + } + } + if (entry === null) state.lastBufferedRequest = null; + } + state.bufferedRequest = entry; + state.bufferProcessing = false; +} +Writable.prototype._write = function (chunk, encoding, cb) { + cb(new ERR_METHOD_NOT_IMPLEMENTED('_write()')); +}; +Writable.prototype._writev = null; +Writable.prototype.end = function (chunk, encoding, cb) { + var state = this._writableState; + if (typeof chunk === 'function') { + cb = chunk; + chunk = null; + encoding = null; + } else if (typeof encoding === 'function') { + cb = encoding; + encoding = null; + } + if (chunk !== null && chunk !== undefined) this.write(chunk, encoding); + + // .end() fully uncorks + if (state.corked) { + state.corked = 1; + this.uncork(); + } + + // ignore unnecessary end() calls. + if (!state.ending) endWritable(this, state, cb); + return this; +}; +Object.defineProperty(Writable.prototype, 'writableLength', { + // making it explicit this property is not enumerable + // because otherwise some prototype manipulation in + // userland will fail + enumerable: false, + get: function get() { + return this._writableState.length; + } +}); +function needFinish(state) { + return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing; +} +function callFinal(stream, state) { + stream._final(function (err) { + state.pendingcb--; + if (err) { + errorOrDestroy(stream, err); + } + state.prefinished = true; + stream.emit('prefinish'); + finishMaybe(stream, state); + }); +} +function prefinish(stream, state) { + if (!state.prefinished && !state.finalCalled) { + if (typeof stream._final === 'function' && !state.destroyed) { + state.pendingcb++; + state.finalCalled = true; + process.nextTick(callFinal, stream, state); + } else { + state.prefinished = true; + stream.emit('prefinish'); + } + } +} +function finishMaybe(stream, state) { + var need = needFinish(state); + if (need) { + prefinish(stream, state); + if (state.pendingcb === 0) { + state.finished = true; + stream.emit('finish'); + if (state.autoDestroy) { + // In case of duplex streams we need a way to detect + // if the readable side is ready for autoDestroy as well + var rState = stream._readableState; + if (!rState || rState.autoDestroy && rState.endEmitted) { + stream.destroy(); + } + } + } + } + return need; +} +function endWritable(stream, state, cb) { + state.ending = true; + finishMaybe(stream, state); + if (cb) { + if (state.finished) process.nextTick(cb);else stream.once('finish', cb); + } + state.ended = true; + stream.writable = false; +} +function onCorkedFinish(corkReq, state, err) { + var entry = corkReq.entry; + corkReq.entry = null; + while (entry) { + var cb = entry.callback; + state.pendingcb--; + cb(err); + entry = entry.next; + } + + // reuse the free corkReq. + state.corkedRequestsFree.next = corkReq; +} +Object.defineProperty(Writable.prototype, 'destroyed', { + // making it explicit this property is not enumerable + // because otherwise some prototype manipulation in + // userland will fail + enumerable: false, + get: function get() { + if (this._writableState === undefined) { + return false; + } + return this._writableState.destroyed; + }, + set: function set(value) { + // we ignore the value if the stream + // has not been initialized yet + if (!this._writableState) { + return; + } + + // backward compatibility, the user is explicitly + // managing destroyed + this._writableState.destroyed = value; + } +}); +Writable.prototype.destroy = destroyImpl.destroy; +Writable.prototype._undestroy = destroyImpl.undestroy; +Writable.prototype._destroy = function (err, cb) { + cb(err); +}; \ No newline at end of file diff --git a/node_modules/readable-stream/lib/internal/streams/async_iterator.js b/node_modules/readable-stream/lib/internal/streams/async_iterator.js new file mode 100644 index 0000000..742c5a4 --- /dev/null +++ b/node_modules/readable-stream/lib/internal/streams/async_iterator.js @@ -0,0 +1,180 @@ +'use strict'; + +var _Object$setPrototypeO; +function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } +function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } +function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } +var finished = require('./end-of-stream'); +var kLastResolve = Symbol('lastResolve'); +var kLastReject = Symbol('lastReject'); +var kError = Symbol('error'); +var kEnded = Symbol('ended'); +var kLastPromise = Symbol('lastPromise'); +var kHandlePromise = Symbol('handlePromise'); +var kStream = Symbol('stream'); +function createIterResult(value, done) { + return { + value: value, + done: done + }; +} +function readAndResolve(iter) { + var resolve = iter[kLastResolve]; + if (resolve !== null) { + var data = iter[kStream].read(); + // we defer if data is null + // we can be expecting either 'end' or + // 'error' + if (data !== null) { + iter[kLastPromise] = null; + iter[kLastResolve] = null; + iter[kLastReject] = null; + resolve(createIterResult(data, false)); + } + } +} +function onReadable(iter) { + // we wait for the next tick, because it might + // emit an error with process.nextTick + process.nextTick(readAndResolve, iter); +} +function wrapForNext(lastPromise, iter) { + return function (resolve, reject) { + lastPromise.then(function () { + if (iter[kEnded]) { + resolve(createIterResult(undefined, true)); + return; + } + iter[kHandlePromise](resolve, reject); + }, reject); + }; +} +var AsyncIteratorPrototype = Object.getPrototypeOf(function () {}); +var ReadableStreamAsyncIteratorPrototype = Object.setPrototypeOf((_Object$setPrototypeO = { + get stream() { + return this[kStream]; + }, + next: function next() { + var _this = this; + // if we have detected an error in the meanwhile + // reject straight away + var error = this[kError]; + if (error !== null) { + return Promise.reject(error); + } + if (this[kEnded]) { + return Promise.resolve(createIterResult(undefined, true)); + } + if (this[kStream].destroyed) { + // We need to defer via nextTick because if .destroy(err) is + // called, the error will be emitted via nextTick, and + // we cannot guarantee that there is no error lingering around + // waiting to be emitted. + return new Promise(function (resolve, reject) { + process.nextTick(function () { + if (_this[kError]) { + reject(_this[kError]); + } else { + resolve(createIterResult(undefined, true)); + } + }); + }); + } + + // if we have multiple next() calls + // we will wait for the previous Promise to finish + // this logic is optimized to support for await loops, + // where next() is only called once at a time + var lastPromise = this[kLastPromise]; + var promise; + if (lastPromise) { + promise = new Promise(wrapForNext(lastPromise, this)); + } else { + // fast path needed to support multiple this.push() + // without triggering the next() queue + var data = this[kStream].read(); + if (data !== null) { + return Promise.resolve(createIterResult(data, false)); + } + promise = new Promise(this[kHandlePromise]); + } + this[kLastPromise] = promise; + return promise; + } +}, _defineProperty(_Object$setPrototypeO, Symbol.asyncIterator, function () { + return this; +}), _defineProperty(_Object$setPrototypeO, "return", function _return() { + var _this2 = this; + // destroy(err, cb) is a private API + // we can guarantee we have that here, because we control the + // Readable class this is attached to + return new Promise(function (resolve, reject) { + _this2[kStream].destroy(null, function (err) { + if (err) { + reject(err); + return; + } + resolve(createIterResult(undefined, true)); + }); + }); +}), _Object$setPrototypeO), AsyncIteratorPrototype); +var createReadableStreamAsyncIterator = function createReadableStreamAsyncIterator(stream) { + var _Object$create; + var iterator = Object.create(ReadableStreamAsyncIteratorPrototype, (_Object$create = {}, _defineProperty(_Object$create, kStream, { + value: stream, + writable: true + }), _defineProperty(_Object$create, kLastResolve, { + value: null, + writable: true + }), _defineProperty(_Object$create, kLastReject, { + value: null, + writable: true + }), _defineProperty(_Object$create, kError, { + value: null, + writable: true + }), _defineProperty(_Object$create, kEnded, { + value: stream._readableState.endEmitted, + writable: true + }), _defineProperty(_Object$create, kHandlePromise, { + value: function value(resolve, reject) { + var data = iterator[kStream].read(); + if (data) { + iterator[kLastPromise] = null; + iterator[kLastResolve] = null; + iterator[kLastReject] = null; + resolve(createIterResult(data, false)); + } else { + iterator[kLastResolve] = resolve; + iterator[kLastReject] = reject; + } + }, + writable: true + }), _Object$create)); + iterator[kLastPromise] = null; + finished(stream, function (err) { + if (err && err.code !== 'ERR_STREAM_PREMATURE_CLOSE') { + var reject = iterator[kLastReject]; + // reject if we are waiting for data in the Promise + // returned by next() and store the error + if (reject !== null) { + iterator[kLastPromise] = null; + iterator[kLastResolve] = null; + iterator[kLastReject] = null; + reject(err); + } + iterator[kError] = err; + return; + } + var resolve = iterator[kLastResolve]; + if (resolve !== null) { + iterator[kLastPromise] = null; + iterator[kLastResolve] = null; + iterator[kLastReject] = null; + resolve(createIterResult(undefined, true)); + } + iterator[kEnded] = true; + }); + stream.on('readable', onReadable.bind(null, iterator)); + return iterator; +}; +module.exports = createReadableStreamAsyncIterator; \ No newline at end of file diff --git a/node_modules/readable-stream/lib/internal/streams/buffer_list.js b/node_modules/readable-stream/lib/internal/streams/buffer_list.js new file mode 100644 index 0000000..69bda49 --- /dev/null +++ b/node_modules/readable-stream/lib/internal/streams/buffer_list.js @@ -0,0 +1,183 @@ +'use strict'; + +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } +function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } +function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } +function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } +function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } +var _require = require('buffer'), + Buffer = _require.Buffer; +var _require2 = require('util'), + inspect = _require2.inspect; +var custom = inspect && inspect.custom || 'inspect'; +function copyBuffer(src, target, offset) { + Buffer.prototype.copy.call(src, target, offset); +} +module.exports = /*#__PURE__*/function () { + function BufferList() { + _classCallCheck(this, BufferList); + this.head = null; + this.tail = null; + this.length = 0; + } + _createClass(BufferList, [{ + key: "push", + value: function push(v) { + var entry = { + data: v, + next: null + }; + if (this.length > 0) this.tail.next = entry;else this.head = entry; + this.tail = entry; + ++this.length; + } + }, { + key: "unshift", + value: function unshift(v) { + var entry = { + data: v, + next: this.head + }; + if (this.length === 0) this.tail = entry; + this.head = entry; + ++this.length; + } + }, { + key: "shift", + value: function shift() { + if (this.length === 0) return; + var ret = this.head.data; + if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next; + --this.length; + return ret; + } + }, { + key: "clear", + value: function clear() { + this.head = this.tail = null; + this.length = 0; + } + }, { + key: "join", + value: function join(s) { + if (this.length === 0) return ''; + var p = this.head; + var ret = '' + p.data; + while (p = p.next) ret += s + p.data; + return ret; + } + }, { + key: "concat", + value: function concat(n) { + if (this.length === 0) return Buffer.alloc(0); + var ret = Buffer.allocUnsafe(n >>> 0); + var p = this.head; + var i = 0; + while (p) { + copyBuffer(p.data, ret, i); + i += p.data.length; + p = p.next; + } + return ret; + } + + // Consumes a specified amount of bytes or characters from the buffered data. + }, { + key: "consume", + value: function consume(n, hasStrings) { + var ret; + if (n < this.head.data.length) { + // `slice` is the same for buffers and strings. + ret = this.head.data.slice(0, n); + this.head.data = this.head.data.slice(n); + } else if (n === this.head.data.length) { + // First chunk is a perfect match. + ret = this.shift(); + } else { + // Result spans more than one buffer. + ret = hasStrings ? this._getString(n) : this._getBuffer(n); + } + return ret; + } + }, { + key: "first", + value: function first() { + return this.head.data; + } + + // Consumes a specified amount of characters from the buffered data. + }, { + key: "_getString", + value: function _getString(n) { + var p = this.head; + var c = 1; + var ret = p.data; + n -= ret.length; + while (p = p.next) { + var str = p.data; + var nb = n > str.length ? str.length : n; + if (nb === str.length) ret += str;else ret += str.slice(0, n); + n -= nb; + if (n === 0) { + if (nb === str.length) { + ++c; + if (p.next) this.head = p.next;else this.head = this.tail = null; + } else { + this.head = p; + p.data = str.slice(nb); + } + break; + } + ++c; + } + this.length -= c; + return ret; + } + + // Consumes a specified amount of bytes from the buffered data. + }, { + key: "_getBuffer", + value: function _getBuffer(n) { + var ret = Buffer.allocUnsafe(n); + var p = this.head; + var c = 1; + p.data.copy(ret); + n -= p.data.length; + while (p = p.next) { + var buf = p.data; + var nb = n > buf.length ? buf.length : n; + buf.copy(ret, ret.length - n, 0, nb); + n -= nb; + if (n === 0) { + if (nb === buf.length) { + ++c; + if (p.next) this.head = p.next;else this.head = this.tail = null; + } else { + this.head = p; + p.data = buf.slice(nb); + } + break; + } + ++c; + } + this.length -= c; + return ret; + } + + // Make sure the linked list only shows the minimal necessary information. + }, { + key: custom, + value: function value(_, options) { + return inspect(this, _objectSpread(_objectSpread({}, options), {}, { + // Only inspect one level. + depth: 0, + // It should not recurse. + customInspect: false + })); + } + }]); + return BufferList; +}(); \ No newline at end of file diff --git a/node_modules/readable-stream/lib/internal/streams/destroy.js b/node_modules/readable-stream/lib/internal/streams/destroy.js new file mode 100644 index 0000000..31a17c4 --- /dev/null +++ b/node_modules/readable-stream/lib/internal/streams/destroy.js @@ -0,0 +1,96 @@ +'use strict'; + +// undocumented cb() API, needed for core, not for public API +function destroy(err, cb) { + var _this = this; + var readableDestroyed = this._readableState && this._readableState.destroyed; + var writableDestroyed = this._writableState && this._writableState.destroyed; + if (readableDestroyed || writableDestroyed) { + if (cb) { + cb(err); + } else if (err) { + if (!this._writableState) { + process.nextTick(emitErrorNT, this, err); + } else if (!this._writableState.errorEmitted) { + this._writableState.errorEmitted = true; + process.nextTick(emitErrorNT, this, err); + } + } + return this; + } + + // we set destroyed to true before firing error callbacks in order + // to make it re-entrance safe in case destroy() is called within callbacks + + if (this._readableState) { + this._readableState.destroyed = true; + } + + // if this is a duplex stream mark the writable part as destroyed as well + if (this._writableState) { + this._writableState.destroyed = true; + } + this._destroy(err || null, function (err) { + if (!cb && err) { + if (!_this._writableState) { + process.nextTick(emitErrorAndCloseNT, _this, err); + } else if (!_this._writableState.errorEmitted) { + _this._writableState.errorEmitted = true; + process.nextTick(emitErrorAndCloseNT, _this, err); + } else { + process.nextTick(emitCloseNT, _this); + } + } else if (cb) { + process.nextTick(emitCloseNT, _this); + cb(err); + } else { + process.nextTick(emitCloseNT, _this); + } + }); + return this; +} +function emitErrorAndCloseNT(self, err) { + emitErrorNT(self, err); + emitCloseNT(self); +} +function emitCloseNT(self) { + if (self._writableState && !self._writableState.emitClose) return; + if (self._readableState && !self._readableState.emitClose) return; + self.emit('close'); +} +function undestroy() { + if (this._readableState) { + this._readableState.destroyed = false; + this._readableState.reading = false; + this._readableState.ended = false; + this._readableState.endEmitted = false; + } + if (this._writableState) { + this._writableState.destroyed = false; + this._writableState.ended = false; + this._writableState.ending = false; + this._writableState.finalCalled = false; + this._writableState.prefinished = false; + this._writableState.finished = false; + this._writableState.errorEmitted = false; + } +} +function emitErrorNT(self, err) { + self.emit('error', err); +} +function errorOrDestroy(stream, err) { + // We have tests that rely on errors being emitted + // in the same tick, so changing this is semver major. + // For now when you opt-in to autoDestroy we allow + // the error to be emitted nextTick. In a future + // semver major update we should change the default to this. + + var rState = stream._readableState; + var wState = stream._writableState; + if (rState && rState.autoDestroy || wState && wState.autoDestroy) stream.destroy(err);else stream.emit('error', err); +} +module.exports = { + destroy: destroy, + undestroy: undestroy, + errorOrDestroy: errorOrDestroy +}; \ No newline at end of file diff --git a/node_modules/readable-stream/lib/internal/streams/end-of-stream.js b/node_modules/readable-stream/lib/internal/streams/end-of-stream.js new file mode 100644 index 0000000..59c671b --- /dev/null +++ b/node_modules/readable-stream/lib/internal/streams/end-of-stream.js @@ -0,0 +1,86 @@ +// Ported from https://github.com/mafintosh/end-of-stream with +// permission from the author, Mathias Buus (@mafintosh). + +'use strict'; + +var ERR_STREAM_PREMATURE_CLOSE = require('../../../errors').codes.ERR_STREAM_PREMATURE_CLOSE; +function once(callback) { + var called = false; + return function () { + if (called) return; + called = true; + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + callback.apply(this, args); + }; +} +function noop() {} +function isRequest(stream) { + return stream.setHeader && typeof stream.abort === 'function'; +} +function eos(stream, opts, callback) { + if (typeof opts === 'function') return eos(stream, null, opts); + if (!opts) opts = {}; + callback = once(callback || noop); + var readable = opts.readable || opts.readable !== false && stream.readable; + var writable = opts.writable || opts.writable !== false && stream.writable; + var onlegacyfinish = function onlegacyfinish() { + if (!stream.writable) onfinish(); + }; + var writableEnded = stream._writableState && stream._writableState.finished; + var onfinish = function onfinish() { + writable = false; + writableEnded = true; + if (!readable) callback.call(stream); + }; + var readableEnded = stream._readableState && stream._readableState.endEmitted; + var onend = function onend() { + readable = false; + readableEnded = true; + if (!writable) callback.call(stream); + }; + var onerror = function onerror(err) { + callback.call(stream, err); + }; + var onclose = function onclose() { + var err; + if (readable && !readableEnded) { + if (!stream._readableState || !stream._readableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE(); + return callback.call(stream, err); + } + if (writable && !writableEnded) { + if (!stream._writableState || !stream._writableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE(); + return callback.call(stream, err); + } + }; + var onrequest = function onrequest() { + stream.req.on('finish', onfinish); + }; + if (isRequest(stream)) { + stream.on('complete', onfinish); + stream.on('abort', onclose); + if (stream.req) onrequest();else stream.on('request', onrequest); + } else if (writable && !stream._writableState) { + // legacy streams + stream.on('end', onlegacyfinish); + stream.on('close', onlegacyfinish); + } + stream.on('end', onend); + stream.on('finish', onfinish); + if (opts.error !== false) stream.on('error', onerror); + stream.on('close', onclose); + return function () { + stream.removeListener('complete', onfinish); + stream.removeListener('abort', onclose); + stream.removeListener('request', onrequest); + if (stream.req) stream.req.removeListener('finish', onfinish); + stream.removeListener('end', onlegacyfinish); + stream.removeListener('close', onlegacyfinish); + stream.removeListener('finish', onfinish); + stream.removeListener('end', onend); + stream.removeListener('error', onerror); + stream.removeListener('close', onclose); + }; +} +module.exports = eos; \ No newline at end of file diff --git a/node_modules/readable-stream/lib/internal/streams/from-browser.js b/node_modules/readable-stream/lib/internal/streams/from-browser.js new file mode 100644 index 0000000..a4ce56f --- /dev/null +++ b/node_modules/readable-stream/lib/internal/streams/from-browser.js @@ -0,0 +1,3 @@ +module.exports = function () { + throw new Error('Readable.from is not available in the browser') +}; diff --git a/node_modules/readable-stream/lib/internal/streams/from.js b/node_modules/readable-stream/lib/internal/streams/from.js new file mode 100644 index 0000000..0a34ee9 --- /dev/null +++ b/node_modules/readable-stream/lib/internal/streams/from.js @@ -0,0 +1,52 @@ +'use strict'; + +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } +function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } +function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } +function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } +function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } +var ERR_INVALID_ARG_TYPE = require('../../../errors').codes.ERR_INVALID_ARG_TYPE; +function from(Readable, iterable, opts) { + var iterator; + if (iterable && typeof iterable.next === 'function') { + iterator = iterable; + } else if (iterable && iterable[Symbol.asyncIterator]) iterator = iterable[Symbol.asyncIterator]();else if (iterable && iterable[Symbol.iterator]) iterator = iterable[Symbol.iterator]();else throw new ERR_INVALID_ARG_TYPE('iterable', ['Iterable'], iterable); + var readable = new Readable(_objectSpread({ + objectMode: true + }, opts)); + // Reading boolean to protect against _read + // being called before last iteration completion. + var reading = false; + readable._read = function () { + if (!reading) { + reading = true; + next(); + } + }; + function next() { + return _next2.apply(this, arguments); + } + function _next2() { + _next2 = _asyncToGenerator(function* () { + try { + var _yield$iterator$next = yield iterator.next(), + value = _yield$iterator$next.value, + done = _yield$iterator$next.done; + if (done) { + readable.push(null); + } else if (readable.push(yield value)) { + next(); + } else { + reading = false; + } + } catch (err) { + readable.destroy(err); + } + }); + return _next2.apply(this, arguments); + } + return readable; +} +module.exports = from; diff --git a/node_modules/readable-stream/lib/internal/streams/pipeline.js b/node_modules/readable-stream/lib/internal/streams/pipeline.js new file mode 100644 index 0000000..e6f3924 --- /dev/null +++ b/node_modules/readable-stream/lib/internal/streams/pipeline.js @@ -0,0 +1,86 @@ +// Ported from https://github.com/mafintosh/pump with +// permission from the author, Mathias Buus (@mafintosh). + +'use strict'; + +var eos; +function once(callback) { + var called = false; + return function () { + if (called) return; + called = true; + callback.apply(void 0, arguments); + }; +} +var _require$codes = require('../../../errors').codes, + ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS, + ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED; +function noop(err) { + // Rethrow the error if it exists to avoid swallowing it + if (err) throw err; +} +function isRequest(stream) { + return stream.setHeader && typeof stream.abort === 'function'; +} +function destroyer(stream, reading, writing, callback) { + callback = once(callback); + var closed = false; + stream.on('close', function () { + closed = true; + }); + if (eos === undefined) eos = require('./end-of-stream'); + eos(stream, { + readable: reading, + writable: writing + }, function (err) { + if (err) return callback(err); + closed = true; + callback(); + }); + var destroyed = false; + return function (err) { + if (closed) return; + if (destroyed) return; + destroyed = true; + + // request.destroy just do .end - .abort is what we want + if (isRequest(stream)) return stream.abort(); + if (typeof stream.destroy === 'function') return stream.destroy(); + callback(err || new ERR_STREAM_DESTROYED('pipe')); + }; +} +function call(fn) { + fn(); +} +function pipe(from, to) { + return from.pipe(to); +} +function popCallback(streams) { + if (!streams.length) return noop; + if (typeof streams[streams.length - 1] !== 'function') return noop; + return streams.pop(); +} +function pipeline() { + for (var _len = arguments.length, streams = new Array(_len), _key = 0; _key < _len; _key++) { + streams[_key] = arguments[_key]; + } + var callback = popCallback(streams); + if (Array.isArray(streams[0])) streams = streams[0]; + if (streams.length < 2) { + throw new ERR_MISSING_ARGS('streams'); + } + var error; + var destroys = streams.map(function (stream, i) { + var reading = i < streams.length - 1; + var writing = i > 0; + return destroyer(stream, reading, writing, function (err) { + if (!error) error = err; + if (err) destroys.forEach(call); + if (reading) return; + destroys.forEach(call); + callback(error); + }); + }); + return streams.reduce(pipe); +} +module.exports = pipeline; \ No newline at end of file diff --git a/node_modules/readable-stream/lib/internal/streams/state.js b/node_modules/readable-stream/lib/internal/streams/state.js new file mode 100644 index 0000000..3fbf892 --- /dev/null +++ b/node_modules/readable-stream/lib/internal/streams/state.js @@ -0,0 +1,22 @@ +'use strict'; + +var ERR_INVALID_OPT_VALUE = require('../../../errors').codes.ERR_INVALID_OPT_VALUE; +function highWaterMarkFrom(options, isDuplex, duplexKey) { + return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : null; +} +function getHighWaterMark(state, options, duplexKey, isDuplex) { + var hwm = highWaterMarkFrom(options, isDuplex, duplexKey); + if (hwm != null) { + if (!(isFinite(hwm) && Math.floor(hwm) === hwm) || hwm < 0) { + var name = isDuplex ? duplexKey : 'highWaterMark'; + throw new ERR_INVALID_OPT_VALUE(name, hwm); + } + return Math.floor(hwm); + } + + // Default value + return state.objectMode ? 16 : 16 * 1024; +} +module.exports = { + getHighWaterMark: getHighWaterMark +}; \ No newline at end of file diff --git a/node_modules/readable-stream/lib/internal/streams/stream-browser.js b/node_modules/readable-stream/lib/internal/streams/stream-browser.js new file mode 100644 index 0000000..9332a3f --- /dev/null +++ b/node_modules/readable-stream/lib/internal/streams/stream-browser.js @@ -0,0 +1 @@ +module.exports = require('events').EventEmitter; diff --git a/node_modules/readable-stream/lib/internal/streams/stream.js b/node_modules/readable-stream/lib/internal/streams/stream.js new file mode 100644 index 0000000..ce2ad5b --- /dev/null +++ b/node_modules/readable-stream/lib/internal/streams/stream.js @@ -0,0 +1 @@ +module.exports = require('stream'); diff --git a/node_modules/readable-stream/package.json b/node_modules/readable-stream/package.json new file mode 100644 index 0000000..ade59e7 --- /dev/null +++ b/node_modules/readable-stream/package.json @@ -0,0 +1,68 @@ +{ + "name": "readable-stream", + "version": "3.6.2", + "description": "Streams3, a user-land copy of the stream library from Node.js", + "main": "readable.js", + "engines": { + "node": ">= 6" + }, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "devDependencies": { + "@babel/cli": "^7.2.0", + "@babel/core": "^7.2.0", + "@babel/polyfill": "^7.0.0", + "@babel/preset-env": "^7.2.0", + "airtap": "0.0.9", + "assert": "^1.4.0", + "bl": "^2.0.0", + "deep-strict-equal": "^0.2.0", + "events.once": "^2.0.2", + "glob": "^7.1.2", + "gunzip-maybe": "^1.4.1", + "hyperquest": "^2.1.3", + "lolex": "^2.6.0", + "nyc": "^11.0.0", + "pump": "^3.0.0", + "rimraf": "^2.6.2", + "tap": "^12.0.0", + "tape": "^4.9.0", + "tar-fs": "^1.16.2", + "util-promisify": "^2.1.0" + }, + "scripts": { + "test": "tap -J --no-esm test/parallel/*.js test/ours/*.js", + "ci": "TAP=1 tap --no-esm test/parallel/*.js test/ours/*.js | tee test.tap", + "test-browsers": "airtap --sauce-connect --loopback airtap.local -- test/browser.js", + "test-browser-local": "airtap --open --local -- test/browser.js", + "cover": "nyc npm test", + "report": "nyc report --reporter=lcov", + "update-browser-errors": "babel -o errors-browser.js errors.js" + }, + "repository": { + "type": "git", + "url": "git://github.com/nodejs/readable-stream" + }, + "keywords": [ + "readable", + "stream", + "pipe" + ], + "browser": { + "util": false, + "worker_threads": false, + "./errors": "./errors-browser.js", + "./readable.js": "./readable-browser.js", + "./lib/internal/streams/from.js": "./lib/internal/streams/from-browser.js", + "./lib/internal/streams/stream.js": "./lib/internal/streams/stream-browser.js" + }, + "nyc": { + "include": [ + "lib/**.js" + ] + }, + "license": "MIT" +} diff --git a/node_modules/readable-stream/readable-browser.js b/node_modules/readable-stream/readable-browser.js new file mode 100644 index 0000000..adbf60d --- /dev/null +++ b/node_modules/readable-stream/readable-browser.js @@ -0,0 +1,9 @@ +exports = module.exports = require('./lib/_stream_readable.js'); +exports.Stream = exports; +exports.Readable = exports; +exports.Writable = require('./lib/_stream_writable.js'); +exports.Duplex = require('./lib/_stream_duplex.js'); +exports.Transform = require('./lib/_stream_transform.js'); +exports.PassThrough = require('./lib/_stream_passthrough.js'); +exports.finished = require('./lib/internal/streams/end-of-stream.js'); +exports.pipeline = require('./lib/internal/streams/pipeline.js'); diff --git a/node_modules/readable-stream/readable.js b/node_modules/readable-stream/readable.js new file mode 100644 index 0000000..9e0ca12 --- /dev/null +++ b/node_modules/readable-stream/readable.js @@ -0,0 +1,16 @@ +var Stream = require('stream'); +if (process.env.READABLE_STREAM === 'disable' && Stream) { + module.exports = Stream.Readable; + Object.assign(module.exports, Stream); + module.exports.Stream = Stream; +} else { + exports = module.exports = require('./lib/_stream_readable.js'); + exports.Stream = Stream || exports; + exports.Readable = exports; + exports.Writable = require('./lib/_stream_writable.js'); + exports.Duplex = require('./lib/_stream_duplex.js'); + exports.Transform = require('./lib/_stream_transform.js'); + exports.PassThrough = require('./lib/_stream_passthrough.js'); + exports.finished = require('./lib/internal/streams/end-of-stream.js'); + exports.pipeline = require('./lib/internal/streams/pipeline.js'); +} diff --git a/node_modules/redis-errors/.npmignore b/node_modules/redis-errors/.npmignore new file mode 100644 index 0000000..7eee456 --- /dev/null +++ b/node_modules/redis-errors/.npmignore @@ -0,0 +1,15 @@ +# IntelliJ project files +.idea +*.iml +out +gen + +# Irrelevant files and folders +benchmark +coverage +test +.travis.yml +.gitignore +*.log +.vscode +.codeclimate.yml \ No newline at end of file diff --git a/node_modules/redis-errors/LICENSE b/node_modules/redis-errors/LICENSE new file mode 100644 index 0000000..14cc840 --- /dev/null +++ b/node_modules/redis-errors/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2017 Ruben Bridgewater + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/node_modules/redis-errors/README.md b/node_modules/redis-errors/README.md new file mode 100644 index 0000000..b470d29 --- /dev/null +++ b/node_modules/redis-errors/README.md @@ -0,0 +1,116 @@ +[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/) + +# redis-errors + +All error classes used in [node_redis](https://github.com/NodeRedis/node_redis) +from v.3.0.0 are in here. They can be required as needed. + +## Install + +Install with [NPM](https://npmjs.org/): + + npm install redis-errors + +## Usage + +```js +const { ReplyError, InterruptError } = require('redis-errors'); + +// Using async await +try { + await client.set('foo') // Missing value +} catch (err) { + if (err instanceof InterruptError) { + console.error('Command might have been processed') + } + if (err instanceof ReplyError) { + // ... + } + throw err +} + +// Using callbacks +client.set('foo', (err, res) => { + if (err) { + if (err instanceof InterruptError) { + // ... + } + } +}) +``` + +### Error classes + +All errors returned by NodeRedis use own Error classes. You can distinguish +different errors easily by checking for these classes. + +To know what caused the error they might contain properties to know in more +detail what happened. + +Each error contains a `message`, a `name` and a `stack` property. Please be aware +that the stack might not be useful due to the async nature and is in those cases +therefore limited to two frames. + +There might be more not yet documented properties as well. Please feel free to +open a pull request to document those as well. + +#### RedisError + +`Properties`: + +Properties depend on the individual error. + +All errors returned by NodeRedis (client) are `RedisError`s. +Subclass of `Error` + +#### ReplyError + +`Properties`: + +* `args`: The arguments passed to the command. +* `command`: The command name. +* `code`: The `Redis` error code. Redis itself uses some internal error codes. + +All errors returned by Redis itself (server) will be a `ReplyError`. +Subclass of `RedisError` + +#### ParserError + +`Properties`: + +* `buffer`: The raw buffer input stringified. +* `offset`: The character count where the parsing error occurred. + +Parsing errors are returned as `ParserError`. +Subclass of `RedisError` +**Note:** If you encounter one of these please report that error including the +attached `offset` and `buffer` properties! + +#### AbortError + +`Properties`: + +* `args`: The arguments passed to the command. +* `command`: The command name. + +If a command was not yet executed but rejected, it'll return a `AbortError`. +Subclass of `RedisError` + +#### InterruptError + +`Properties`: + +* `args`: The arguments passed to the command. +* `command`: The command name. +* `origin`: The original error that caused the interrupt + +All executed commands that could not fulfill (e.g. network drop while +executing) return a `InterruptError`. +Subclass of `AbortError` +**Note:** Interrupt errors can happen for multiple reasons that are out of the +scope of NodeRedis itself. There is nothing that can be done on library side +to prevent those. + +## License + +[MIT](./LICENSE) diff --git a/node_modules/redis-errors/index.js b/node_modules/redis-errors/index.js new file mode 100644 index 0000000..84323b4 --- /dev/null +++ b/node_modules/redis-errors/index.js @@ -0,0 +1,7 @@ +'use strict' + +const Errors = process.version.charCodeAt(1) < 55 && process.version.charCodeAt(2) === 46 + ? require('./lib/old') // Node.js < 7 + : require('./lib/modern') + +module.exports = Errors diff --git a/node_modules/redis-errors/lib/modern.js b/node_modules/redis-errors/lib/modern.js new file mode 100644 index 0000000..0f1d1db --- /dev/null +++ b/node_modules/redis-errors/lib/modern.js @@ -0,0 +1,59 @@ +'use strict' + +const assert = require('assert') + +class RedisError extends Error { + get name () { + return this.constructor.name + } +} + +class ParserError extends RedisError { + constructor (message, buffer, offset) { + assert(buffer) + assert.strictEqual(typeof offset, 'number') + + const tmp = Error.stackTraceLimit + Error.stackTraceLimit = 2 + super(message) + Error.stackTraceLimit = tmp + this.offset = offset + this.buffer = buffer + } + + get name () { + return this.constructor.name + } +} + +class ReplyError extends RedisError { + constructor (message) { + const tmp = Error.stackTraceLimit + Error.stackTraceLimit = 2 + super(message) + Error.stackTraceLimit = tmp + } + get name () { + return this.constructor.name + } +} + +class AbortError extends RedisError { + get name () { + return this.constructor.name + } +} + +class InterruptError extends AbortError { + get name () { + return this.constructor.name + } +} + +module.exports = { + RedisError, + ParserError, + ReplyError, + AbortError, + InterruptError +} diff --git a/node_modules/redis-errors/lib/old.js b/node_modules/redis-errors/lib/old.js new file mode 100644 index 0000000..76fc6de --- /dev/null +++ b/node_modules/redis-errors/lib/old.js @@ -0,0 +1,119 @@ +'use strict' + +const assert = require('assert') +const util = require('util') + +// RedisError + +function RedisError (message) { + Object.defineProperty(this, 'message', { + value: message || '', + configurable: true, + writable: true + }) + Error.captureStackTrace(this, this.constructor) +} + +util.inherits(RedisError, Error) + +Object.defineProperty(RedisError.prototype, 'name', { + value: 'RedisError', + configurable: true, + writable: true +}) + +// ParserError + +function ParserError (message, buffer, offset) { + assert(buffer) + assert.strictEqual(typeof offset, 'number') + + Object.defineProperty(this, 'message', { + value: message || '', + configurable: true, + writable: true + }) + + const tmp = Error.stackTraceLimit + Error.stackTraceLimit = 2 + Error.captureStackTrace(this, this.constructor) + Error.stackTraceLimit = tmp + this.offset = offset + this.buffer = buffer +} + +util.inherits(ParserError, RedisError) + +Object.defineProperty(ParserError.prototype, 'name', { + value: 'ParserError', + configurable: true, + writable: true +}) + +// ReplyError + +function ReplyError (message) { + Object.defineProperty(this, 'message', { + value: message || '', + configurable: true, + writable: true + }) + const tmp = Error.stackTraceLimit + Error.stackTraceLimit = 2 + Error.captureStackTrace(this, this.constructor) + Error.stackTraceLimit = tmp +} + +util.inherits(ReplyError, RedisError) + +Object.defineProperty(ReplyError.prototype, 'name', { + value: 'ReplyError', + configurable: true, + writable: true +}) + +// AbortError + +function AbortError (message) { + Object.defineProperty(this, 'message', { + value: message || '', + configurable: true, + writable: true + }) + Error.captureStackTrace(this, this.constructor) +} + +util.inherits(AbortError, RedisError) + +Object.defineProperty(AbortError.prototype, 'name', { + value: 'AbortError', + configurable: true, + writable: true +}) + +// InterruptError + +function InterruptError (message) { + Object.defineProperty(this, 'message', { + value: message || '', + configurable: true, + writable: true + }) + Error.captureStackTrace(this, this.constructor) +} + +util.inherits(InterruptError, AbortError) + +Object.defineProperty(InterruptError.prototype, 'name', { + value: 'InterruptError', + configurable: true, + writable: true +}) + +module.exports = { + RedisError, + ParserError, + ReplyError, + AbortError, + InterruptError +} diff --git a/node_modules/redis-errors/package.json b/node_modules/redis-errors/package.json new file mode 100644 index 0000000..cdf45ba --- /dev/null +++ b/node_modules/redis-errors/package.json @@ -0,0 +1,41 @@ +{ + "name": "redis-errors", + "version": "1.2.0", + "description": "Error classes used in node_redis", + "main": "index.js", + "scripts": { + "test": "npm run coverage", + "lint": "standard --fix", + "posttest": "npm run lint && npm run coverage:check", + "coverage": "node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec", + "coverage:check": "node ./node_modules/istanbul/lib/cli.js check-coverage --statement 100" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/NodeRedis/redis-errors.git" + }, + "keywords": [ + "redis", + "javascript", + "node", + "error" + ], + "engines": { + "node": ">=4" + }, + "devDependencies": { + "istanbul": "^0.4.0", + "mocha": "^3.1.2", + "standard": "^10.0.0" + }, + "author": "Ruben Bridgewater", + "license": "MIT", + "bugs": { + "url": "https://github.com/NodeRedis/redis-errors/issues" + }, + "homepage": "https://github.com/NodeRedis/redis-errors#readme", + "directories": { + "test": "test", + "lib": "lib" + } +} diff --git a/node_modules/redis-parser/.npmignore b/node_modules/redis-parser/.npmignore new file mode 100644 index 0000000..af7d371 --- /dev/null +++ b/node_modules/redis-parser/.npmignore @@ -0,0 +1,15 @@ +# IntelliJ project files +.idea +*.iml +out +gen + +# Unrelevant files and folders +benchmark +coverage +test +.travis.yml +.gitignore +*.log +.vscode +.codeclimate.yml \ No newline at end of file diff --git a/node_modules/redis-parser/LICENSE b/node_modules/redis-parser/LICENSE new file mode 100644 index 0000000..39d23f8 --- /dev/null +++ b/node_modules/redis-parser/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2015 NodeRedis + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/node_modules/redis-parser/README.md b/node_modules/redis-parser/README.md new file mode 100644 index 0000000..1d9c27d --- /dev/null +++ b/node_modules/redis-parser/README.md @@ -0,0 +1,166 @@ +[![Build Status](https://travis-ci.org/NodeRedis/node-redis-parser.png?branch=master)](https://travis-ci.org/NodeRedis/node-redis-parser) +[![Test Coverage](https://codeclimate.com/github/NodeRedis/node-redis-parser/badges/coverage.svg)](https://codeclimate.com/github/NodeRedis/node-redis-parser/coverage) +[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/) + +# redis-parser + +A high performance javascript redis parser built for [node_redis](https://github.com/NodeRedis/node_redis) and [ioredis](https://github.com/luin/ioredis). Parses all [RESP](http://redis.io/topics/protocol) data. + +## Install + +Install with [NPM](https://npmjs.org/): + + npm install redis-parser + +## Usage + +```js +const Parser = require('redis-parser'); + +const myParser = new Parser(options); +``` + +### Options + +* `returnReply`: *function*; mandatory +* `returnError`: *function*; mandatory +* `returnFatalError`: *function*; optional, defaults to the returnError function +* `returnBuffers`: *boolean*; optional, defaults to false +* `stringNumbers`: *boolean*; optional, defaults to false + +### Functions + +* `reset()`: reset the parser to it's initial state +* `setReturnBuffers(boolean)`: set the returnBuffers option on/off without resetting the parser +* `setStringNumbers(boolean)`: set the stringNumbers option on/off without resetting the parser + +### Error classes + +* `RedisError` sub class of Error +* `ReplyError` sub class of RedisError +* `ParserError` sub class of RedisError + +All Redis errors will be returned as `ReplyErrors` while a parser error is returned as `ParserError`. +All error classes can be imported by the npm `redis-errors` package. + +### Example + +```js +const Parser = require("redis-parser"); + +class Library { + returnReply(reply) { /* ... */ } + returnError(err) { /* ... */ } + returnFatalError(err) { /* ... */ } + + streamHandler() { + this.stream.on('data', (buffer) => { + // Here the data (e.g. `Buffer.from('$5\r\nHello\r\n'`)) + // is passed to the parser and the result is passed to + // either function depending on the provided data. + parser.execute(buffer); + }); + } +} + +const lib = new Library(); + +const parser = new Parser({ + returnReply(reply) { + lib.returnReply(reply); + }, + returnError(err) { + lib.returnError(err); + }, + returnFatalError(err) { + lib.returnFatalError(err); + } +}); +``` + +You do not have to use the returnFatalError function. Fatal errors will be returned in the normal error function in that case. + +And if you want to return buffers instead of strings, you can do this by adding the `returnBuffers` option. + +If you handle with big numbers that are to large for JS (Number.MAX_SAFE_INTEGER === 2^53 - 16) please use the `stringNumbers` option. That way all numbers are going to be returned as String and you can handle them safely. + +```js +// Same functions as in the first example + +const parser = new Parser({ + returnReply(reply) { + lib.returnReply(reply); + }, + returnError(err) { + lib.returnError(err); + }, + returnBuffers: true, // All strings are returned as Buffer e.g. + stringNumbers: true // All numbers are returned as String +}); + +// The streamHandler as above +``` + +## Protocol errors + +To handle protocol errors (this is very unlikely to happen) gracefully you should add the returnFatalError option, reject any still running command (they might have been processed properly but the reply is just wrong), destroy the socket and reconnect. Note that while doing this no new command may be added, so all new commands have to be buffered in the meantime, otherwise a chunk might still contain partial data of a following command that was already processed properly but answered in the same chunk as the command that resulted in the protocol error. + +## Contribute + +The parser is highly optimized but there may still be further optimizations possible. + + npm install + npm test + npm run benchmark + +Currently the benchmark compares the performance against the hiredis parser: + + HIREDIS: $ multiple chunks in a bulk string x 994,387 ops/sec ±0.22% (554 runs sampled) + JS PARSER: $ multiple chunks in a bulk string x 1,010,728 ops/sec ±0.28% (559 runs sampled) + HIREDIS BUF: $ multiple chunks in a bulk string x 648,742 ops/sec ±0.80% (526 runs sampled) + JS PARSER BUF: $ multiple chunks in a bulk string x 1,728,849 ops/sec ±0.41% (555 runs sampled) + + HIREDIS: + multiple chunks in a string x 1,861,132 ops/sec ±0.18% (564 runs sampled) + JS PARSER: + multiple chunks in a string x 2,131,892 ops/sec ±0.31% (558 runs sampled) + HIREDIS BUF: + multiple chunks in a string x 965,132 ops/sec ±0.58% (521 runs sampled) + JS PARSER BUF: + multiple chunks in a string x 2,304,482 ops/sec ±0.31% (559 runs sampled) + + HIREDIS: $ 4mb bulk string x 269 ops/sec ±0.56% (452 runs sampled) + JS PARSER: $ 4mb bulk string x 763 ops/sec ±0.25% (466 runs sampled) + HIREDIS BUF: $ 4mb bulk string x 336 ops/sec ±0.59% (459 runs sampled) + JS PARSER BUF: $ 4mb bulk string x 994 ops/sec ±0.36% (482 runs sampled) + + HIREDIS: + simple string x 2,504,305 ops/sec ±0.19% (563 runs sampled) + JS PARSER: + simple string x 5,121,952 ops/sec ±0.30% (560 runs sampled) + HIREDIS BUF: + simple string x 1,122,899 ops/sec ±0.52% (516 runs sampled) + JS PARSER BUF: + simple string x 5,907,323 ops/sec ±0.23% (562 runs sampled) + + HIREDIS: : integer x 2,461,376 ops/sec ±0.14% (561 runs sampled) + JS PARSER: : integer x 18,543,688 ops/sec ±0.19% (539 runs sampled) + JS PARSER STR: : integer x 14,149,305 ops/sec ±0.24% (561 runs sampled) + + HIREDIS: : big integer x 2,114,270 ops/sec ±0.15% (561 runs sampled) + JS PARSER: : big integer x 10,794,439 ops/sec ±0.25% (560 runs sampled) + JS PARSER STR: : big integer x 4,594,807 ops/sec ±0.24% (558 runs sampled) + + HIREDIS: * array x 45,597 ops/sec ±0.23% (565 runs sampled) + JS PARSER: * array x 68,396 ops/sec ±0.30% (563 runs sampled) + HIREDIS BUF: * array x 14,726 ops/sec ±0.39% (498 runs sampled) + JS PARSER BUF: * array x 80,961 ops/sec ±0.25% (561 runs sampled) + + HIREDIS: * big nested array x 212 ops/sec ±0.17% (511 runs sampled) + JS PARSER: * big nested array x 243 ops/sec ±0.21% (496 runs sampled) + HIREDIS BUF: * big nested array x 207 ops/sec ±0.37% (430 runs sampled) + JS PARSER BUF: * big nested array x 297 ops/sec ±1.10% (421 runs sampled) + + HIREDIS: - error x 168,761 ops/sec ±0.28% (559 runs sampled) + JS PARSER: - error x 424,257 ops/sec ±0.28% (557 runs sampled) + + Platform info: + Ubuntu 17.04 + Node.js 7.10.0 + Intel(R) Core(TM) i7-5600U CPU + +## License + +[MIT](./LICENSE) diff --git a/node_modules/redis-parser/changelog.md b/node_modules/redis-parser/changelog.md new file mode 100644 index 0000000..551b9b5 --- /dev/null +++ b/node_modules/redis-parser/changelog.md @@ -0,0 +1,156 @@ +# Changelog + +## v.3.0.0 - 25 May, 2017 + +Breaking Changes + +- Drop support for Node.js < 4 +- Removed support for hiredis completely + +Internals + +- Due to the changes to ES6 the error performance improved by factor 2-3x +- Improved length calculation performance (bulk strings + arrays) + +Features + +- The parser now handles weird input graceful + +## v.2.6.0 - 03 Apr, 2017 + +Internals + +- Use Buffer.allocUnsafe instead of new Buffer() with modern Node.js versions + +## v.2.5.0 - 11 Mar, 2017 + +Features + +- Added a `ParserError` class to differentiate them to ReplyErrors. The class is also exported + +Bugfixes + +- All errors now show their error message again next to the error name in the stack trace +- ParserErrors now show the offset and buffer attributes while being logged + +## v.2.4.1 - 05 Feb, 2017 + +Bugfixes + +- Fixed minimal memory consumption overhead for chunked buffers + +## v.2.4.0 - 25 Jan, 2017 + +Features + +- Added `reset` function to reset the parser to it's initial values +- Added `setReturnBuffers` function to reset the returnBuffers option (Only for the JSParser) +- Added `setStringNumbers` function to reset the stringNumbers option (Only for the JSParser) +- All Errors are now of sub classes of the new `RedisError` class. It is also exported. +- Improved bulk string chunked data handling performance + +Bugfixes + +- Parsing time for big nested arrays is now linear + +## v.2.3.0 - 25 Nov, 2016 + +Features + +- Parsing time for big arrays (e.g. 4mb+) is now linear and works well for arbitrary array sizes + +This case is a magnitude faster than before + + OLD STR: * big array x 1.09 ops/sec ±2.15% (7 runs sampled) + OLD BUF: * big array x 1.23 ops/sec ±2.67% (8 runs sampled) + + NEW STR: * big array x 273 ops/sec ±2.09% (85 runs sampled) + NEW BUF: * big array x 259 ops/sec ±1.32% (85 runs sampled) + (~10mb array with 1000 entries) + +## v.2.2.0 - 18 Nov, 2016 + +Features + +- Improve `stringNumbers` parsing performance by up to 100% + +Bugfixes + +- Do not unref the interval anymore due to issues with NodeJS + +## v.2.1.1 - 31 Oct, 2016 + +Bugfixes + +- Remove erroneously added const to support Node.js 0.10 + +## v.2.1.0 - 30 Oct, 2016 + +Features + +- Improve parser errors by adding more detailed information to them +- Accept manipulated Object.prototypes +- Unref the interval if used + +## v.2.0.4 - 21 Jul, 2016 + +Bugfixes + +- Fixed multi byte characters getting corrupted + +## v.2.0.3 - 17 Jun, 2016 + +Bugfixes + +- Fixed parser not working with huge buffers (e.g. 300 MB) + +## v.2.0.2 - 08 Jun, 2016 + +Bugfixes + +- Fixed parser with returnBuffers option returning corrupted data + +## v.2.0.1 - 04 Jun, 2016 + +Bugfixes + +- Fixed multiple parsers working concurrently resulting in faulty data in some cases + +## v.2.0.0 - 29 May, 2016 + +The javascript parser got completely rewritten by [Michael Diarmid](https://github.com/Salakar) and [Ruben Bridgewater](https://github.com/BridgeAR) and is now a lot faster than the hiredis parser. +Therefore the hiredis parser was deprecated and should only be used for testing purposes and benchmarking comparison. + +All Errors returned by the parser are from now on of class ReplyError + +Features + +- Improved performance by up to 15x as fast as before +- Improved options validation +- Added ReplyError Class +- Added parser benchmark +- Switched default parser from hiredis to JS, no matter if hiredis is installed or not + +Removed + +- Deprecated hiredis support + +## v.1.3.0 - 27 Mar, 2016 + +Features + +- Added `auto` as parser name option to check what parser is available +- Non existing requested parsers falls back into auto mode instead of always choosing the JS parser + +## v.1.2.0 - 27 Mar, 2016 + +Features + +- Added `stringNumbers` option to make sure all numbers are returned as string instead of a js number for precision +- The parser is from now on going to print warnings if a parser is explicitly requested that does not exist and gracefully chooses the JS parser + +## v.1.1.0 - 26 Jan, 2016 + +Features + +- The parser is from now on going to reset itself on protocol errors diff --git a/node_modules/redis-parser/index.js b/node_modules/redis-parser/index.js new file mode 100644 index 0000000..f5de376 --- /dev/null +++ b/node_modules/redis-parser/index.js @@ -0,0 +1,3 @@ +'use strict' + +module.exports = require('./lib/parser') diff --git a/node_modules/redis-parser/lib/parser.js b/node_modules/redis-parser/lib/parser.js new file mode 100644 index 0000000..5d2532a --- /dev/null +++ b/node_modules/redis-parser/lib/parser.js @@ -0,0 +1,552 @@ +'use strict' + +const Buffer = require('buffer').Buffer +const StringDecoder = require('string_decoder').StringDecoder +const decoder = new StringDecoder() +const errors = require('redis-errors') +const ReplyError = errors.ReplyError +const ParserError = errors.ParserError +var bufferPool = Buffer.allocUnsafe(32 * 1024) +var bufferOffset = 0 +var interval = null +var counter = 0 +var notDecreased = 0 + +/** + * Used for integer numbers only + * @param {JavascriptRedisParser} parser + * @returns {undefined|number} + */ +function parseSimpleNumbers (parser) { + const length = parser.buffer.length - 1 + var offset = parser.offset + var number = 0 + var sign = 1 + + if (parser.buffer[offset] === 45) { + sign = -1 + offset++ + } + + while (offset < length) { + const c1 = parser.buffer[offset++] + if (c1 === 13) { // \r\n + parser.offset = offset + 1 + return sign * number + } + number = (number * 10) + (c1 - 48) + } +} + +/** + * Used for integer numbers in case of the returnNumbers option + * + * Reading the string as parts of n SMI is more efficient than + * using a string directly. + * + * @param {JavascriptRedisParser} parser + * @returns {undefined|string} + */ +function parseStringNumbers (parser) { + const length = parser.buffer.length - 1 + var offset = parser.offset + var number = 0 + var res = '' + + if (parser.buffer[offset] === 45) { + res += '-' + offset++ + } + + while (offset < length) { + var c1 = parser.buffer[offset++] + if (c1 === 13) { // \r\n + parser.offset = offset + 1 + if (number !== 0) { + res += number + } + return res + } else if (number > 429496728) { + res += (number * 10) + (c1 - 48) + number = 0 + } else if (c1 === 48 && number === 0) { + res += 0 + } else { + number = (number * 10) + (c1 - 48) + } + } +} + +/** + * Parse a '+' redis simple string response but forward the offsets + * onto convertBufferRange to generate a string. + * @param {JavascriptRedisParser} parser + * @returns {undefined|string|Buffer} + */ +function parseSimpleString (parser) { + const start = parser.offset + const buffer = parser.buffer + const length = buffer.length - 1 + var offset = start + + while (offset < length) { + if (buffer[offset++] === 13) { // \r\n + parser.offset = offset + 1 + if (parser.optionReturnBuffers === true) { + return parser.buffer.slice(start, offset - 1) + } + return parser.buffer.toString('utf8', start, offset - 1) + } + } +} + +/** + * Returns the read length + * @param {JavascriptRedisParser} parser + * @returns {undefined|number} + */ +function parseLength (parser) { + const length = parser.buffer.length - 1 + var offset = parser.offset + var number = 0 + + while (offset < length) { + const c1 = parser.buffer[offset++] + if (c1 === 13) { + parser.offset = offset + 1 + return number + } + number = (number * 10) + (c1 - 48) + } +} + +/** + * Parse a ':' redis integer response + * + * If stringNumbers is activated the parser always returns numbers as string + * This is important for big numbers (number > Math.pow(2, 53)) as js numbers + * are 64bit floating point numbers with reduced precision + * + * @param {JavascriptRedisParser} parser + * @returns {undefined|number|string} + */ +function parseInteger (parser) { + if (parser.optionStringNumbers === true) { + return parseStringNumbers(parser) + } + return parseSimpleNumbers(parser) +} + +/** + * Parse a '$' redis bulk string response + * @param {JavascriptRedisParser} parser + * @returns {undefined|null|string} + */ +function parseBulkString (parser) { + const length = parseLength(parser) + if (length === undefined) { + return + } + if (length < 0) { + return null + } + const offset = parser.offset + length + if (offset + 2 > parser.buffer.length) { + parser.bigStrSize = offset + 2 + parser.totalChunkSize = parser.buffer.length + parser.bufferCache.push(parser.buffer) + return + } + const start = parser.offset + parser.offset = offset + 2 + if (parser.optionReturnBuffers === true) { + return parser.buffer.slice(start, offset) + } + return parser.buffer.toString('utf8', start, offset) +} + +/** + * Parse a '-' redis error response + * @param {JavascriptRedisParser} parser + * @returns {ReplyError} + */ +function parseError (parser) { + var string = parseSimpleString(parser) + if (string !== undefined) { + if (parser.optionReturnBuffers === true) { + string = string.toString() + } + return new ReplyError(string) + } +} + +/** + * Parsing error handler, resets parser buffer + * @param {JavascriptRedisParser} parser + * @param {number} type + * @returns {undefined} + */ +function handleError (parser, type) { + const err = new ParserError( + 'Protocol error, got ' + JSON.stringify(String.fromCharCode(type)) + ' as reply type byte', + JSON.stringify(parser.buffer), + parser.offset + ) + parser.buffer = null + parser.returnFatalError(err) +} + +/** + * Parse a '*' redis array response + * @param {JavascriptRedisParser} parser + * @returns {undefined|null|any[]} + */ +function parseArray (parser) { + const length = parseLength(parser) + if (length === undefined) { + return + } + if (length < 0) { + return null + } + const responses = new Array(length) + return parseArrayElements(parser, responses, 0) +} + +/** + * Push a partly parsed array to the stack + * + * @param {JavascriptRedisParser} parser + * @param {any[]} array + * @param {number} pos + * @returns {undefined} + */ +function pushArrayCache (parser, array, pos) { + parser.arrayCache.push(array) + parser.arrayPos.push(pos) +} + +/** + * Parse chunked redis array response + * @param {JavascriptRedisParser} parser + * @returns {undefined|any[]} + */ +function parseArrayChunks (parser) { + const tmp = parser.arrayCache.pop() + var pos = parser.arrayPos.pop() + if (parser.arrayCache.length) { + const res = parseArrayChunks(parser) + if (res === undefined) { + pushArrayCache(parser, tmp, pos) + return + } + tmp[pos++] = res + } + return parseArrayElements(parser, tmp, pos) +} + +/** + * Parse redis array response elements + * @param {JavascriptRedisParser} parser + * @param {Array} responses + * @param {number} i + * @returns {undefined|null|any[]} + */ +function parseArrayElements (parser, responses, i) { + const bufferLength = parser.buffer.length + while (i < responses.length) { + const offset = parser.offset + if (parser.offset >= bufferLength) { + pushArrayCache(parser, responses, i) + return + } + const response = parseType(parser, parser.buffer[parser.offset++]) + if (response === undefined) { + if (!(parser.arrayCache.length || parser.bufferCache.length)) { + parser.offset = offset + } + pushArrayCache(parser, responses, i) + return + } + responses[i] = response + i++ + } + + return responses +} + +/** + * Called the appropriate parser for the specified type. + * + * 36: $ + * 43: + + * 42: * + * 58: : + * 45: - + * + * @param {JavascriptRedisParser} parser + * @param {number} type + * @returns {*} + */ +function parseType (parser, type) { + switch (type) { + case 36: + return parseBulkString(parser) + case 43: + return parseSimpleString(parser) + case 42: + return parseArray(parser) + case 58: + return parseInteger(parser) + case 45: + return parseError(parser) + default: + return handleError(parser, type) + } +} + +/** + * Decrease the bufferPool size over time + * + * Balance between increasing and decreasing the bufferPool. + * Decrease the bufferPool by 10% by removing the first 10% of the current pool. + * @returns {undefined} + */ +function decreaseBufferPool () { + if (bufferPool.length > 50 * 1024) { + if (counter === 1 || notDecreased > counter * 2) { + const minSliceLen = Math.floor(bufferPool.length / 10) + const sliceLength = minSliceLen < bufferOffset + ? bufferOffset + : minSliceLen + bufferOffset = 0 + bufferPool = bufferPool.slice(sliceLength, bufferPool.length) + } else { + notDecreased++ + counter-- + } + } else { + clearInterval(interval) + counter = 0 + notDecreased = 0 + interval = null + } +} + +/** + * Check if the requested size fits in the current bufferPool. + * If it does not, reset and increase the bufferPool accordingly. + * + * @param {number} length + * @returns {undefined} + */ +function resizeBuffer (length) { + if (bufferPool.length < length + bufferOffset) { + const multiplier = length > 1024 * 1024 * 75 ? 2 : 3 + if (bufferOffset > 1024 * 1024 * 111) { + bufferOffset = 1024 * 1024 * 50 + } + bufferPool = Buffer.allocUnsafe(length * multiplier + bufferOffset) + bufferOffset = 0 + counter++ + if (interval === null) { + interval = setInterval(decreaseBufferPool, 50) + } + } +} + +/** + * Concat a bulk string containing multiple chunks + * + * Notes: + * 1) The first chunk might contain the whole bulk string including the \r + * 2) We are only safe to fully add up elements that are neither the first nor any of the last two elements + * + * @param {JavascriptRedisParser} parser + * @returns {String} + */ +function concatBulkString (parser) { + const list = parser.bufferCache + const oldOffset = parser.offset + var chunks = list.length + var offset = parser.bigStrSize - parser.totalChunkSize + parser.offset = offset + if (offset <= 2) { + if (chunks === 2) { + return list[0].toString('utf8', oldOffset, list[0].length + offset - 2) + } + chunks-- + offset = list[list.length - 2].length + offset + } + var res = decoder.write(list[0].slice(oldOffset)) + for (var i = 1; i < chunks - 1; i++) { + res += decoder.write(list[i]) + } + res += decoder.end(list[i].slice(0, offset - 2)) + return res +} + +/** + * Concat the collected chunks from parser.bufferCache. + * + * Increases the bufferPool size beforehand if necessary. + * + * @param {JavascriptRedisParser} parser + * @returns {Buffer} + */ +function concatBulkBuffer (parser) { + const list = parser.bufferCache + const oldOffset = parser.offset + const length = parser.bigStrSize - oldOffset - 2 + var chunks = list.length + var offset = parser.bigStrSize - parser.totalChunkSize + parser.offset = offset + if (offset <= 2) { + if (chunks === 2) { + return list[0].slice(oldOffset, list[0].length + offset - 2) + } + chunks-- + offset = list[list.length - 2].length + offset + } + resizeBuffer(length) + const start = bufferOffset + list[0].copy(bufferPool, start, oldOffset, list[0].length) + bufferOffset += list[0].length - oldOffset + for (var i = 1; i < chunks - 1; i++) { + list[i].copy(bufferPool, bufferOffset) + bufferOffset += list[i].length + } + list[i].copy(bufferPool, bufferOffset, 0, offset - 2) + bufferOffset += offset - 2 + return bufferPool.slice(start, bufferOffset) +} + +class JavascriptRedisParser { + /** + * Javascript Redis Parser constructor + * @param {{returnError: Function, returnReply: Function, returnFatalError?: Function, returnBuffers: boolean, stringNumbers: boolean }} options + * @constructor + */ + constructor (options) { + if (!options) { + throw new TypeError('Options are mandatory.') + } + if (typeof options.returnError !== 'function' || typeof options.returnReply !== 'function') { + throw new TypeError('The returnReply and returnError options have to be functions.') + } + this.setReturnBuffers(!!options.returnBuffers) + this.setStringNumbers(!!options.stringNumbers) + this.returnError = options.returnError + this.returnFatalError = options.returnFatalError || options.returnError + this.returnReply = options.returnReply + this.reset() + } + + /** + * Reset the parser values to the initial state + * + * @returns {undefined} + */ + reset () { + this.offset = 0 + this.buffer = null + this.bigStrSize = 0 + this.totalChunkSize = 0 + this.bufferCache = [] + this.arrayCache = [] + this.arrayPos = [] + } + + /** + * Set the returnBuffers option + * + * @param {boolean} returnBuffers + * @returns {undefined} + */ + setReturnBuffers (returnBuffers) { + if (typeof returnBuffers !== 'boolean') { + throw new TypeError('The returnBuffers argument has to be a boolean') + } + this.optionReturnBuffers = returnBuffers + } + + /** + * Set the stringNumbers option + * + * @param {boolean} stringNumbers + * @returns {undefined} + */ + setStringNumbers (stringNumbers) { + if (typeof stringNumbers !== 'boolean') { + throw new TypeError('The stringNumbers argument has to be a boolean') + } + this.optionStringNumbers = stringNumbers + } + + /** + * Parse the redis buffer + * @param {Buffer} buffer + * @returns {undefined} + */ + execute (buffer) { + if (this.buffer === null) { + this.buffer = buffer + this.offset = 0 + } else if (this.bigStrSize === 0) { + const oldLength = this.buffer.length + const remainingLength = oldLength - this.offset + const newBuffer = Buffer.allocUnsafe(remainingLength + buffer.length) + this.buffer.copy(newBuffer, 0, this.offset, oldLength) + buffer.copy(newBuffer, remainingLength, 0, buffer.length) + this.buffer = newBuffer + this.offset = 0 + if (this.arrayCache.length) { + const arr = parseArrayChunks(this) + if (arr === undefined) { + return + } + this.returnReply(arr) + } + } else if (this.totalChunkSize + buffer.length >= this.bigStrSize) { + this.bufferCache.push(buffer) + var tmp = this.optionReturnBuffers ? concatBulkBuffer(this) : concatBulkString(this) + this.bigStrSize = 0 + this.bufferCache = [] + this.buffer = buffer + if (this.arrayCache.length) { + this.arrayCache[0][this.arrayPos[0]++] = tmp + tmp = parseArrayChunks(this) + if (tmp === undefined) { + return + } + } + this.returnReply(tmp) + } else { + this.bufferCache.push(buffer) + this.totalChunkSize += buffer.length + return + } + + while (this.offset < this.buffer.length) { + const offset = this.offset + const type = this.buffer[this.offset++] + const response = parseType(this, type) + if (response === undefined) { + if (!(this.arrayCache.length || this.bufferCache.length)) { + this.offset = offset + } + return + } + + if (type === 45) { + this.returnError(response) + } else { + this.returnReply(response) + } + } + + this.buffer = null + } +} + +module.exports = JavascriptRedisParser diff --git a/node_modules/redis-parser/package.json b/node_modules/redis-parser/package.json new file mode 100644 index 0000000..0c3287b --- /dev/null +++ b/node_modules/redis-parser/package.json @@ -0,0 +1,53 @@ +{ + "name": "redis-parser", + "version": "3.0.0", + "description": "Javascript Redis protocol (RESP) parser", + "main": "index.js", + "scripts": { + "test": "npm run coverage", + "benchmark": "node ./benchmark", + "lint": "standard --fix", + "posttest": "npm run lint && npm run coverage:check", + "coverage": "node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec", + "coverage:check": "node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/NodeRedis/node-redis-parser.git" + }, + "keywords": [ + "redis", + "protocol", + "parser", + "database", + "javascript", + "node", + "nodejs", + "resp", + "hiredis" + ], + "engines": { + "node": ">=4" + }, + "dependencies": { + "redis-errors": "^1.0.0" + }, + "devDependencies": { + "benchmark": "^2.1.0", + "codeclimate-test-reporter": "^0.4.0", + "hiredis": "^0.5.0", + "istanbul": "^0.4.0", + "mocha": "^3.1.2", + "standard": "^10.0.0" + }, + "author": "Ruben Bridgewater", + "license": "MIT", + "bugs": { + "url": "https://github.com/NodeRedis/node-redis-parser/issues" + }, + "homepage": "https://github.com/NodeRedis/node-redis-parser#readme", + "directories": { + "test": "test", + "lib": "lib" + } +} diff --git a/node_modules/safe-buffer/LICENSE b/node_modules/safe-buffer/LICENSE new file mode 100644 index 0000000..0c068ce --- /dev/null +++ b/node_modules/safe-buffer/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) Feross Aboukhadijeh + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_modules/safe-buffer/README.md b/node_modules/safe-buffer/README.md new file mode 100644 index 0000000..e9a81af --- /dev/null +++ b/node_modules/safe-buffer/README.md @@ -0,0 +1,584 @@ +# safe-buffer [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url] + +[travis-image]: https://img.shields.io/travis/feross/safe-buffer/master.svg +[travis-url]: https://travis-ci.org/feross/safe-buffer +[npm-image]: https://img.shields.io/npm/v/safe-buffer.svg +[npm-url]: https://npmjs.org/package/safe-buffer +[downloads-image]: https://img.shields.io/npm/dm/safe-buffer.svg +[downloads-url]: https://npmjs.org/package/safe-buffer +[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg +[standard-url]: https://standardjs.com + +#### Safer Node.js Buffer API + +**Use the new Node.js Buffer APIs (`Buffer.from`, `Buffer.alloc`, +`Buffer.allocUnsafe`, `Buffer.allocUnsafeSlow`) in all versions of Node.js.** + +**Uses the built-in implementation when available.** + +## install + +``` +npm install safe-buffer +``` + +## usage + +The goal of this package is to provide a safe replacement for the node.js `Buffer`. + +It's a drop-in replacement for `Buffer`. You can use it by adding one `require` line to +the top of your node.js modules: + +```js +var Buffer = require('safe-buffer').Buffer + +// Existing buffer code will continue to work without issues: + +new Buffer('hey', 'utf8') +new Buffer([1, 2, 3], 'utf8') +new Buffer(obj) +new Buffer(16) // create an uninitialized buffer (potentially unsafe) + +// But you can use these new explicit APIs to make clear what you want: + +Buffer.from('hey', 'utf8') // convert from many types to a Buffer +Buffer.alloc(16) // create a zero-filled buffer (safe) +Buffer.allocUnsafe(16) // create an uninitialized buffer (potentially unsafe) +``` + +## api + +### Class Method: Buffer.from(array) + + +* `array` {Array} + +Allocates a new `Buffer` using an `array` of octets. + +```js +const buf = Buffer.from([0x62,0x75,0x66,0x66,0x65,0x72]); + // creates a new Buffer containing ASCII bytes + // ['b','u','f','f','e','r'] +``` + +A `TypeError` will be thrown if `array` is not an `Array`. + +### Class Method: Buffer.from(arrayBuffer[, byteOffset[, length]]) + + +* `arrayBuffer` {ArrayBuffer} The `.buffer` property of a `TypedArray` or + a `new ArrayBuffer()` +* `byteOffset` {Number} Default: `0` +* `length` {Number} Default: `arrayBuffer.length - byteOffset` + +When passed a reference to the `.buffer` property of a `TypedArray` instance, +the newly created `Buffer` will share the same allocated memory as the +TypedArray. + +```js +const arr = new Uint16Array(2); +arr[0] = 5000; +arr[1] = 4000; + +const buf = Buffer.from(arr.buffer); // shares the memory with arr; + +console.log(buf); + // Prints: + +// changing the TypedArray changes the Buffer also +arr[1] = 6000; + +console.log(buf); + // Prints: +``` + +The optional `byteOffset` and `length` arguments specify a memory range within +the `arrayBuffer` that will be shared by the `Buffer`. + +```js +const ab = new ArrayBuffer(10); +const buf = Buffer.from(ab, 0, 2); +console.log(buf.length); + // Prints: 2 +``` + +A `TypeError` will be thrown if `arrayBuffer` is not an `ArrayBuffer`. + +### Class Method: Buffer.from(buffer) + + +* `buffer` {Buffer} + +Copies the passed `buffer` data onto a new `Buffer` instance. + +```js +const buf1 = Buffer.from('buffer'); +const buf2 = Buffer.from(buf1); + +buf1[0] = 0x61; +console.log(buf1.toString()); + // 'auffer' +console.log(buf2.toString()); + // 'buffer' (copy is not changed) +``` + +A `TypeError` will be thrown if `buffer` is not a `Buffer`. + +### Class Method: Buffer.from(str[, encoding]) + + +* `str` {String} String to encode. +* `encoding` {String} Encoding to use, Default: `'utf8'` + +Creates a new `Buffer` containing the given JavaScript string `str`. If +provided, the `encoding` parameter identifies the character encoding. +If not provided, `encoding` defaults to `'utf8'`. + +```js +const buf1 = Buffer.from('this is a tést'); +console.log(buf1.toString()); + // prints: this is a tést +console.log(buf1.toString('ascii')); + // prints: this is a tC)st + +const buf2 = Buffer.from('7468697320697320612074c3a97374', 'hex'); +console.log(buf2.toString()); + // prints: this is a tést +``` + +A `TypeError` will be thrown if `str` is not a string. + +### Class Method: Buffer.alloc(size[, fill[, encoding]]) + + +* `size` {Number} +* `fill` {Value} Default: `undefined` +* `encoding` {String} Default: `utf8` + +Allocates a new `Buffer` of `size` bytes. If `fill` is `undefined`, the +`Buffer` will be *zero-filled*. + +```js +const buf = Buffer.alloc(5); +console.log(buf); + // +``` + +The `size` must be less than or equal to the value of +`require('buffer').kMaxLength` (on 64-bit architectures, `kMaxLength` is +`(2^31)-1`). Otherwise, a [`RangeError`][] is thrown. A zero-length Buffer will +be created if a `size` less than or equal to 0 is specified. + +If `fill` is specified, the allocated `Buffer` will be initialized by calling +`buf.fill(fill)`. See [`buf.fill()`][] for more information. + +```js +const buf = Buffer.alloc(5, 'a'); +console.log(buf); + // +``` + +If both `fill` and `encoding` are specified, the allocated `Buffer` will be +initialized by calling `buf.fill(fill, encoding)`. For example: + +```js +const buf = Buffer.alloc(11, 'aGVsbG8gd29ybGQ=', 'base64'); +console.log(buf); + // +``` + +Calling `Buffer.alloc(size)` can be significantly slower than the alternative +`Buffer.allocUnsafe(size)` but ensures that the newly created `Buffer` instance +contents will *never contain sensitive data*. + +A `TypeError` will be thrown if `size` is not a number. + +### Class Method: Buffer.allocUnsafe(size) + + +* `size` {Number} + +Allocates a new *non-zero-filled* `Buffer` of `size` bytes. The `size` must +be less than or equal to the value of `require('buffer').kMaxLength` (on 64-bit +architectures, `kMaxLength` is `(2^31)-1`). Otherwise, a [`RangeError`][] is +thrown. A zero-length Buffer will be created if a `size` less than or equal to +0 is specified. + +The underlying memory for `Buffer` instances created in this way is *not +initialized*. The contents of the newly created `Buffer` are unknown and +*may contain sensitive data*. Use [`buf.fill(0)`][] to initialize such +`Buffer` instances to zeroes. + +```js +const buf = Buffer.allocUnsafe(5); +console.log(buf); + // + // (octets will be different, every time) +buf.fill(0); +console.log(buf); + // +``` + +A `TypeError` will be thrown if `size` is not a number. + +Note that the `Buffer` module pre-allocates an internal `Buffer` instance of +size `Buffer.poolSize` that is used as a pool for the fast allocation of new +`Buffer` instances created using `Buffer.allocUnsafe(size)` (and the deprecated +`new Buffer(size)` constructor) only when `size` is less than or equal to +`Buffer.poolSize >> 1` (floor of `Buffer.poolSize` divided by two). The default +value of `Buffer.poolSize` is `8192` but can be modified. + +Use of this pre-allocated internal memory pool is a key difference between +calling `Buffer.alloc(size, fill)` vs. `Buffer.allocUnsafe(size).fill(fill)`. +Specifically, `Buffer.alloc(size, fill)` will *never* use the internal Buffer +pool, while `Buffer.allocUnsafe(size).fill(fill)` *will* use the internal +Buffer pool if `size` is less than or equal to half `Buffer.poolSize`. The +difference is subtle but can be important when an application requires the +additional performance that `Buffer.allocUnsafe(size)` provides. + +### Class Method: Buffer.allocUnsafeSlow(size) + + +* `size` {Number} + +Allocates a new *non-zero-filled* and non-pooled `Buffer` of `size` bytes. The +`size` must be less than or equal to the value of +`require('buffer').kMaxLength` (on 64-bit architectures, `kMaxLength` is +`(2^31)-1`). Otherwise, a [`RangeError`][] is thrown. A zero-length Buffer will +be created if a `size` less than or equal to 0 is specified. + +The underlying memory for `Buffer` instances created in this way is *not +initialized*. The contents of the newly created `Buffer` are unknown and +*may contain sensitive data*. Use [`buf.fill(0)`][] to initialize such +`Buffer` instances to zeroes. + +When using `Buffer.allocUnsafe()` to allocate new `Buffer` instances, +allocations under 4KB are, by default, sliced from a single pre-allocated +`Buffer`. This allows applications to avoid the garbage collection overhead of +creating many individually allocated Buffers. This approach improves both +performance and memory usage by eliminating the need to track and cleanup as +many `Persistent` objects. + +However, in the case where a developer may need to retain a small chunk of +memory from a pool for an indeterminate amount of time, it may be appropriate +to create an un-pooled Buffer instance using `Buffer.allocUnsafeSlow()` then +copy out the relevant bits. + +```js +// need to keep around a few small chunks of memory +const store = []; + +socket.on('readable', () => { + const data = socket.read(); + // allocate for retained data + const sb = Buffer.allocUnsafeSlow(10); + // copy the data into the new allocation + data.copy(sb, 0, 0, 10); + store.push(sb); +}); +``` + +Use of `Buffer.allocUnsafeSlow()` should be used only as a last resort *after* +a developer has observed undue memory retention in their applications. + +A `TypeError` will be thrown if `size` is not a number. + +### All the Rest + +The rest of the `Buffer` API is exactly the same as in node.js. +[See the docs](https://nodejs.org/api/buffer.html). + + +## Related links + +- [Node.js issue: Buffer(number) is unsafe](https://github.com/nodejs/node/issues/4660) +- [Node.js Enhancement Proposal: Buffer.from/Buffer.alloc/Buffer.zalloc/Buffer() soft-deprecate](https://github.com/nodejs/node-eps/pull/4) + +## Why is `Buffer` unsafe? + +Today, the node.js `Buffer` constructor is overloaded to handle many different argument +types like `String`, `Array`, `Object`, `TypedArrayView` (`Uint8Array`, etc.), +`ArrayBuffer`, and also `Number`. + +The API is optimized for convenience: you can throw any type at it, and it will try to do +what you want. + +Because the Buffer constructor is so powerful, you often see code like this: + +```js +// Convert UTF-8 strings to hex +function toHex (str) { + return new Buffer(str).toString('hex') +} +``` + +***But what happens if `toHex` is called with a `Number` argument?*** + +### Remote Memory Disclosure + +If an attacker can make your program call the `Buffer` constructor with a `Number` +argument, then they can make it allocate uninitialized memory from the node.js process. +This could potentially disclose TLS private keys, user data, or database passwords. + +When the `Buffer` constructor is passed a `Number` argument, it returns an +**UNINITIALIZED** block of memory of the specified `size`. When you create a `Buffer` like +this, you **MUST** overwrite the contents before returning it to the user. + +From the [node.js docs](https://nodejs.org/api/buffer.html#buffer_new_buffer_size): + +> `new Buffer(size)` +> +> - `size` Number +> +> The underlying memory for `Buffer` instances created in this way is not initialized. +> **The contents of a newly created `Buffer` are unknown and could contain sensitive +> data.** Use `buf.fill(0)` to initialize a Buffer to zeroes. + +(Emphasis our own.) + +Whenever the programmer intended to create an uninitialized `Buffer` you often see code +like this: + +```js +var buf = new Buffer(16) + +// Immediately overwrite the uninitialized buffer with data from another buffer +for (var i = 0; i < buf.length; i++) { + buf[i] = otherBuf[i] +} +``` + + +### Would this ever be a problem in real code? + +Yes. It's surprisingly common to forget to check the type of your variables in a +dynamically-typed language like JavaScript. + +Usually the consequences of assuming the wrong type is that your program crashes with an +uncaught exception. But the failure mode for forgetting to check the type of arguments to +the `Buffer` constructor is more catastrophic. + +Here's an example of a vulnerable service that takes a JSON payload and converts it to +hex: + +```js +// Take a JSON payload {str: "some string"} and convert it to hex +var server = http.createServer(function (req, res) { + var data = '' + req.setEncoding('utf8') + req.on('data', function (chunk) { + data += chunk + }) + req.on('end', function () { + var body = JSON.parse(data) + res.end(new Buffer(body.str).toString('hex')) + }) +}) + +server.listen(8080) +``` + +In this example, an http client just has to send: + +```json +{ + "str": 1000 +} +``` + +and it will get back 1,000 bytes of uninitialized memory from the server. + +This is a very serious bug. It's similar in severity to the +[the Heartbleed bug](http://heartbleed.com/) that allowed disclosure of OpenSSL process +memory by remote attackers. + + +### Which real-world packages were vulnerable? + +#### [`bittorrent-dht`](https://www.npmjs.com/package/bittorrent-dht) + +[Mathias Buus](https://github.com/mafintosh) and I +([Feross Aboukhadijeh](http://feross.org/)) found this issue in one of our own packages, +[`bittorrent-dht`](https://www.npmjs.com/package/bittorrent-dht). The bug would allow +anyone on the internet to send a series of messages to a user of `bittorrent-dht` and get +them to reveal 20 bytes at a time of uninitialized memory from the node.js process. + +Here's +[the commit](https://github.com/feross/bittorrent-dht/commit/6c7da04025d5633699800a99ec3fbadf70ad35b8) +that fixed it. We released a new fixed version, created a +[Node Security Project disclosure](https://nodesecurity.io/advisories/68), and deprecated all +vulnerable versions on npm so users will get a warning to upgrade to a newer version. + +#### [`ws`](https://www.npmjs.com/package/ws) + +That got us wondering if there were other vulnerable packages. Sure enough, within a short +period of time, we found the same issue in [`ws`](https://www.npmjs.com/package/ws), the +most popular WebSocket implementation in node.js. + +If certain APIs were called with `Number` parameters instead of `String` or `Buffer` as +expected, then uninitialized server memory would be disclosed to the remote peer. + +These were the vulnerable methods: + +```js +socket.send(number) +socket.ping(number) +socket.pong(number) +``` + +Here's a vulnerable socket server with some echo functionality: + +```js +server.on('connection', function (socket) { + socket.on('message', function (message) { + message = JSON.parse(message) + if (message.type === 'echo') { + socket.send(message.data) // send back the user's message + } + }) +}) +``` + +`socket.send(number)` called on the server, will disclose server memory. + +Here's [the release](https://github.com/websockets/ws/releases/tag/1.0.1) where the issue +was fixed, with a more detailed explanation. Props to +[Arnout Kazemier](https://github.com/3rd-Eden) for the quick fix. Here's the +[Node Security Project disclosure](https://nodesecurity.io/advisories/67). + + +### What's the solution? + +It's important that node.js offers a fast way to get memory otherwise performance-critical +applications would needlessly get a lot slower. + +But we need a better way to *signal our intent* as programmers. **When we want +uninitialized memory, we should request it explicitly.** + +Sensitive functionality should not be packed into a developer-friendly API that loosely +accepts many different types. This type of API encourages the lazy practice of passing +variables in without checking the type very carefully. + +#### A new API: `Buffer.allocUnsafe(number)` + +The functionality of creating buffers with uninitialized memory should be part of another +API. We propose `Buffer.allocUnsafe(number)`. This way, it's not part of an API that +frequently gets user input of all sorts of different types passed into it. + +```js +var buf = Buffer.allocUnsafe(16) // careful, uninitialized memory! + +// Immediately overwrite the uninitialized buffer with data from another buffer +for (var i = 0; i < buf.length; i++) { + buf[i] = otherBuf[i] +} +``` + + +### How do we fix node.js core? + +We sent [a PR to node.js core](https://github.com/nodejs/node/pull/4514) (merged as +`semver-major`) which defends against one case: + +```js +var str = 16 +new Buffer(str, 'utf8') +``` + +In this situation, it's implied that the programmer intended the first argument to be a +string, since they passed an encoding as a second argument. Today, node.js will allocate +uninitialized memory in the case of `new Buffer(number, encoding)`, which is probably not +what the programmer intended. + +But this is only a partial solution, since if the programmer does `new Buffer(variable)` +(without an `encoding` parameter) there's no way to know what they intended. If `variable` +is sometimes a number, then uninitialized memory will sometimes be returned. + +### What's the real long-term fix? + +We could deprecate and remove `new Buffer(number)` and use `Buffer.allocUnsafe(number)` when +we need uninitialized memory. But that would break 1000s of packages. + +~~We believe the best solution is to:~~ + +~~1. Change `new Buffer(number)` to return safe, zeroed-out memory~~ + +~~2. Create a new API for creating uninitialized Buffers. We propose: `Buffer.allocUnsafe(number)`~~ + +#### Update + +We now support adding three new APIs: + +- `Buffer.from(value)` - convert from any type to a buffer +- `Buffer.alloc(size)` - create a zero-filled buffer +- `Buffer.allocUnsafe(size)` - create an uninitialized buffer with given size + +This solves the core problem that affected `ws` and `bittorrent-dht` which is +`Buffer(variable)` getting tricked into taking a number argument. + +This way, existing code continues working and the impact on the npm ecosystem will be +minimal. Over time, npm maintainers can migrate performance-critical code to use +`Buffer.allocUnsafe(number)` instead of `new Buffer(number)`. + + +### Conclusion + +We think there's a serious design issue with the `Buffer` API as it exists today. It +promotes insecure software by putting high-risk functionality into a convenient API +with friendly "developer ergonomics". + +This wasn't merely a theoretical exercise because we found the issue in some of the +most popular npm packages. + +Fortunately, there's an easy fix that can be applied today. Use `safe-buffer` in place of +`buffer`. + +```js +var Buffer = require('safe-buffer').Buffer +``` + +Eventually, we hope that node.js core can switch to this new, safer behavior. We believe +the impact on the ecosystem would be minimal since it's not a breaking change. +Well-maintained, popular packages would be updated to use `Buffer.alloc` quickly, while +older, insecure packages would magically become safe from this attack vector. + + +## links + +- [Node.js PR: buffer: throw if both length and enc are passed](https://github.com/nodejs/node/pull/4514) +- [Node Security Project disclosure for `ws`](https://nodesecurity.io/advisories/67) +- [Node Security Project disclosure for`bittorrent-dht`](https://nodesecurity.io/advisories/68) + + +## credit + +The original issues in `bittorrent-dht` +([disclosure](https://nodesecurity.io/advisories/68)) and +`ws` ([disclosure](https://nodesecurity.io/advisories/67)) were discovered by +[Mathias Buus](https://github.com/mafintosh) and +[Feross Aboukhadijeh](http://feross.org/). + +Thanks to [Adam Baldwin](https://github.com/evilpacket) for helping disclose these issues +and for his work running the [Node Security Project](https://nodesecurity.io/). + +Thanks to [John Hiesey](https://github.com/jhiesey) for proofreading this README and +auditing the code. + + +## license + +MIT. Copyright (C) [Feross Aboukhadijeh](http://feross.org) diff --git a/node_modules/safe-buffer/index.d.ts b/node_modules/safe-buffer/index.d.ts new file mode 100644 index 0000000..e9fed80 --- /dev/null +++ b/node_modules/safe-buffer/index.d.ts @@ -0,0 +1,187 @@ +declare module "safe-buffer" { + export class Buffer { + length: number + write(string: string, offset?: number, length?: number, encoding?: string): number; + toString(encoding?: string, start?: number, end?: number): string; + toJSON(): { type: 'Buffer', data: any[] }; + equals(otherBuffer: Buffer): boolean; + compare(otherBuffer: Buffer, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number): number; + copy(targetBuffer: Buffer, targetStart?: number, sourceStart?: number, sourceEnd?: number): number; + slice(start?: number, end?: number): Buffer; + writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; + writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; + writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; + writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; + readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number; + readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number; + readIntLE(offset: number, byteLength: number, noAssert?: boolean): number; + readIntBE(offset: number, byteLength: number, noAssert?: boolean): number; + readUInt8(offset: number, noAssert?: boolean): number; + readUInt16LE(offset: number, noAssert?: boolean): number; + readUInt16BE(offset: number, noAssert?: boolean): number; + readUInt32LE(offset: number, noAssert?: boolean): number; + readUInt32BE(offset: number, noAssert?: boolean): number; + readInt8(offset: number, noAssert?: boolean): number; + readInt16LE(offset: number, noAssert?: boolean): number; + readInt16BE(offset: number, noAssert?: boolean): number; + readInt32LE(offset: number, noAssert?: boolean): number; + readInt32BE(offset: number, noAssert?: boolean): number; + readFloatLE(offset: number, noAssert?: boolean): number; + readFloatBE(offset: number, noAssert?: boolean): number; + readDoubleLE(offset: number, noAssert?: boolean): number; + readDoubleBE(offset: number, noAssert?: boolean): number; + swap16(): Buffer; + swap32(): Buffer; + swap64(): Buffer; + writeUInt8(value: number, offset: number, noAssert?: boolean): number; + writeUInt16LE(value: number, offset: number, noAssert?: boolean): number; + writeUInt16BE(value: number, offset: number, noAssert?: boolean): number; + writeUInt32LE(value: number, offset: number, noAssert?: boolean): number; + writeUInt32BE(value: number, offset: number, noAssert?: boolean): number; + writeInt8(value: number, offset: number, noAssert?: boolean): number; + writeInt16LE(value: number, offset: number, noAssert?: boolean): number; + writeInt16BE(value: number, offset: number, noAssert?: boolean): number; + writeInt32LE(value: number, offset: number, noAssert?: boolean): number; + writeInt32BE(value: number, offset: number, noAssert?: boolean): number; + writeFloatLE(value: number, offset: number, noAssert?: boolean): number; + writeFloatBE(value: number, offset: number, noAssert?: boolean): number; + writeDoubleLE(value: number, offset: number, noAssert?: boolean): number; + writeDoubleBE(value: number, offset: number, noAssert?: boolean): number; + fill(value: any, offset?: number, end?: number): this; + indexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number; + lastIndexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number; + includes(value: string | number | Buffer, byteOffset?: number, encoding?: string): boolean; + + /** + * Allocates a new buffer containing the given {str}. + * + * @param str String to store in buffer. + * @param encoding encoding to use, optional. Default is 'utf8' + */ + constructor (str: string, encoding?: string); + /** + * Allocates a new buffer of {size} octets. + * + * @param size count of octets to allocate. + */ + constructor (size: number); + /** + * Allocates a new buffer containing the given {array} of octets. + * + * @param array The octets to store. + */ + constructor (array: Uint8Array); + /** + * Produces a Buffer backed by the same allocated memory as + * the given {ArrayBuffer}. + * + * + * @param arrayBuffer The ArrayBuffer with which to share memory. + */ + constructor (arrayBuffer: ArrayBuffer); + /** + * Allocates a new buffer containing the given {array} of octets. + * + * @param array The octets to store. + */ + constructor (array: any[]); + /** + * Copies the passed {buffer} data onto a new {Buffer} instance. + * + * @param buffer The buffer to copy. + */ + constructor (buffer: Buffer); + prototype: Buffer; + /** + * Allocates a new Buffer using an {array} of octets. + * + * @param array + */ + static from(array: any[]): Buffer; + /** + * When passed a reference to the .buffer property of a TypedArray instance, + * the newly created Buffer will share the same allocated memory as the TypedArray. + * The optional {byteOffset} and {length} arguments specify a memory range + * within the {arrayBuffer} that will be shared by the Buffer. + * + * @param arrayBuffer The .buffer property of a TypedArray or a new ArrayBuffer() + * @param byteOffset + * @param length + */ + static from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer; + /** + * Copies the passed {buffer} data onto a new Buffer instance. + * + * @param buffer + */ + static from(buffer: Buffer): Buffer; + /** + * Creates a new Buffer containing the given JavaScript string {str}. + * If provided, the {encoding} parameter identifies the character encoding. + * If not provided, {encoding} defaults to 'utf8'. + * + * @param str + */ + static from(str: string, encoding?: string): Buffer; + /** + * Returns true if {obj} is a Buffer + * + * @param obj object to test. + */ + static isBuffer(obj: any): obj is Buffer; + /** + * Returns true if {encoding} is a valid encoding argument. + * Valid string encodings in Node 0.12: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex' + * + * @param encoding string to test. + */ + static isEncoding(encoding: string): boolean; + /** + * Gives the actual byte length of a string. encoding defaults to 'utf8'. + * This is not the same as String.prototype.length since that returns the number of characters in a string. + * + * @param string string to test. + * @param encoding encoding used to evaluate (defaults to 'utf8') + */ + static byteLength(string: string, encoding?: string): number; + /** + * Returns a buffer which is the result of concatenating all the buffers in the list together. + * + * If the list has no items, or if the totalLength is 0, then it returns a zero-length buffer. + * If the list has exactly one item, then the first item of the list is returned. + * If the list has more than one item, then a new Buffer is created. + * + * @param list An array of Buffer objects to concatenate + * @param totalLength Total length of the buffers when concatenated. + * If totalLength is not provided, it is read from the buffers in the list. However, this adds an additional loop to the function, so it is faster to provide the length explicitly. + */ + static concat(list: Buffer[], totalLength?: number): Buffer; + /** + * The same as buf1.compare(buf2). + */ + static compare(buf1: Buffer, buf2: Buffer): number; + /** + * Allocates a new buffer of {size} octets. + * + * @param size count of octets to allocate. + * @param fill if specified, buffer will be initialized by calling buf.fill(fill). + * If parameter is omitted, buffer will be filled with zeros. + * @param encoding encoding used for call to buf.fill while initalizing + */ + static alloc(size: number, fill?: string | Buffer | number, encoding?: string): Buffer; + /** + * Allocates a new buffer of {size} octets, leaving memory not initialized, so the contents + * of the newly created Buffer are unknown and may contain sensitive data. + * + * @param size count of octets to allocate + */ + static allocUnsafe(size: number): Buffer; + /** + * Allocates a new non-pooled buffer of {size} octets, leaving memory not initialized, so the contents + * of the newly created Buffer are unknown and may contain sensitive data. + * + * @param size count of octets to allocate + */ + static allocUnsafeSlow(size: number): Buffer; + } +} \ No newline at end of file diff --git a/node_modules/safe-buffer/index.js b/node_modules/safe-buffer/index.js new file mode 100644 index 0000000..f8d3ec9 --- /dev/null +++ b/node_modules/safe-buffer/index.js @@ -0,0 +1,65 @@ +/*! safe-buffer. MIT License. Feross Aboukhadijeh */ +/* eslint-disable node/no-deprecated-api */ +var buffer = require('buffer') +var Buffer = buffer.Buffer + +// alternative to using Object.keys for old browsers +function copyProps (src, dst) { + for (var key in src) { + dst[key] = src[key] + } +} +if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) { + module.exports = buffer +} else { + // Copy properties from require('buffer') + copyProps(buffer, exports) + exports.Buffer = SafeBuffer +} + +function SafeBuffer (arg, encodingOrOffset, length) { + return Buffer(arg, encodingOrOffset, length) +} + +SafeBuffer.prototype = Object.create(Buffer.prototype) + +// Copy static methods from Buffer +copyProps(Buffer, SafeBuffer) + +SafeBuffer.from = function (arg, encodingOrOffset, length) { + if (typeof arg === 'number') { + throw new TypeError('Argument must not be a number') + } + return Buffer(arg, encodingOrOffset, length) +} + +SafeBuffer.alloc = function (size, fill, encoding) { + if (typeof size !== 'number') { + throw new TypeError('Argument must be a number') + } + var buf = Buffer(size) + if (fill !== undefined) { + if (typeof encoding === 'string') { + buf.fill(fill, encoding) + } else { + buf.fill(fill) + } + } else { + buf.fill(0) + } + return buf +} + +SafeBuffer.allocUnsafe = function (size) { + if (typeof size !== 'number') { + throw new TypeError('Argument must be a number') + } + return Buffer(size) +} + +SafeBuffer.allocUnsafeSlow = function (size) { + if (typeof size !== 'number') { + throw new TypeError('Argument must be a number') + } + return buffer.SlowBuffer(size) +} diff --git a/node_modules/safe-buffer/package.json b/node_modules/safe-buffer/package.json new file mode 100644 index 0000000..f2869e2 --- /dev/null +++ b/node_modules/safe-buffer/package.json @@ -0,0 +1,51 @@ +{ + "name": "safe-buffer", + "description": "Safer Node.js Buffer API", + "version": "5.2.1", + "author": { + "name": "Feross Aboukhadijeh", + "email": "feross@feross.org", + "url": "https://feross.org" + }, + "bugs": { + "url": "https://github.com/feross/safe-buffer/issues" + }, + "devDependencies": { + "standard": "*", + "tape": "^5.0.0" + }, + "homepage": "https://github.com/feross/safe-buffer", + "keywords": [ + "buffer", + "buffer allocate", + "node security", + "safe", + "safe-buffer", + "security", + "uninitialized" + ], + "license": "MIT", + "main": "index.js", + "types": "index.d.ts", + "repository": { + "type": "git", + "url": "git://github.com/feross/safe-buffer.git" + }, + "scripts": { + "test": "standard && tape test/*.js" + }, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] +} diff --git a/node_modules/safe-stable-stringify/LICENSE b/node_modules/safe-stable-stringify/LICENSE new file mode 100644 index 0000000..99c65e2 --- /dev/null +++ b/node_modules/safe-stable-stringify/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) Ruben Bridgewater + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/safe-stable-stringify/esm/package.json b/node_modules/safe-stable-stringify/esm/package.json new file mode 100644 index 0000000..4393479 --- /dev/null +++ b/node_modules/safe-stable-stringify/esm/package.json @@ -0,0 +1,4 @@ +{ + "type": "module", + "main": "wrapper.js" +} diff --git a/node_modules/safe-stable-stringify/esm/wrapper.d.ts b/node_modules/safe-stable-stringify/esm/wrapper.d.ts new file mode 100644 index 0000000..2351eb1 --- /dev/null +++ b/node_modules/safe-stable-stringify/esm/wrapper.d.ts @@ -0,0 +1,4 @@ +import { stringify } from '../index.js' + +export * from '../index.js' +export default stringify diff --git a/node_modules/safe-stable-stringify/esm/wrapper.js b/node_modules/safe-stable-stringify/esm/wrapper.js new file mode 100644 index 0000000..0cf01f0 --- /dev/null +++ b/node_modules/safe-stable-stringify/esm/wrapper.js @@ -0,0 +1,6 @@ +import cjsModule from '../index.js' + +export const configure = cjsModule.configure + +export const stringify = cjsModule +export default cjsModule diff --git a/node_modules/safe-stable-stringify/index.d.ts b/node_modules/safe-stable-stringify/index.d.ts new file mode 100644 index 0000000..400fca0 --- /dev/null +++ b/node_modules/safe-stable-stringify/index.d.ts @@ -0,0 +1,22 @@ +export type Replacer = (number | string)[] | null | undefined | ((key: string, value: unknown) => string | number | boolean | null | object) + +export function stringify(value: undefined | symbol | ((...args: unknown[]) => unknown), replacer?: Replacer, space?: string | number): undefined +export function stringify(value: string | number | unknown[] | null | boolean | object, replacer?: Replacer, space?: string | number): string +export function stringify(value: unknown, replacer?: ((key: string, value: unknown) => unknown) | (number | string)[] | null | undefined, space?: string | number): string | undefined + +export interface StringifyOptions { + bigint?: boolean, + circularValue?: string | null | TypeErrorConstructor | ErrorConstructor, + deterministic?: boolean | ((a: string, b: string) => number), + maximumBreadth?: number, + maximumDepth?: number, + strict?: boolean, +} + +export namespace stringify { + export function configure(options: StringifyOptions): typeof stringify +} + +export function configure(options: StringifyOptions): typeof stringify + +export default stringify diff --git a/node_modules/safe-stable-stringify/index.js b/node_modules/safe-stable-stringify/index.js new file mode 100644 index 0000000..9769e75 --- /dev/null +++ b/node_modules/safe-stable-stringify/index.js @@ -0,0 +1,625 @@ +'use strict' + +const { hasOwnProperty } = Object.prototype + +const stringify = configure() + +// @ts-expect-error +stringify.configure = configure +// @ts-expect-error +stringify.stringify = stringify + +// @ts-expect-error +stringify.default = stringify + +// @ts-expect-error used for named export +exports.stringify = stringify +// @ts-expect-error used for named export +exports.configure = configure + +module.exports = stringify + +// eslint-disable-next-line no-control-regex +const strEscapeSequencesRegExp = /[\u0000-\u001f\u0022\u005c\ud800-\udfff]/ + +// Escape C0 control characters, double quotes, the backslash and every code +// unit with a numeric value in the inclusive range 0xD800 to 0xDFFF. +function strEscape (str) { + // Some magic numbers that worked out fine while benchmarking with v8 8.0 + if (str.length < 5000 && !strEscapeSequencesRegExp.test(str)) { + return `"${str}"` + } + return JSON.stringify(str) +} + +function sort (array, comparator) { + // Insertion sort is very efficient for small input sizes, but it has a bad + // worst case complexity. Thus, use native array sort for bigger values. + if (array.length > 2e2 || comparator) { + return array.sort(comparator) + } + for (let i = 1; i < array.length; i++) { + const currentValue = array[i] + let position = i + while (position !== 0 && array[position - 1] > currentValue) { + array[position] = array[position - 1] + position-- + } + array[position] = currentValue + } + return array +} + +const typedArrayPrototypeGetSymbolToStringTag = + Object.getOwnPropertyDescriptor( + Object.getPrototypeOf( + Object.getPrototypeOf( + new Int8Array() + ) + ), + Symbol.toStringTag + ).get + +function isTypedArrayWithEntries (value) { + return typedArrayPrototypeGetSymbolToStringTag.call(value) !== undefined && value.length !== 0 +} + +function stringifyTypedArray (array, separator, maximumBreadth) { + if (array.length < maximumBreadth) { + maximumBreadth = array.length + } + const whitespace = separator === ',' ? '' : ' ' + let res = `"0":${whitespace}${array[0]}` + for (let i = 1; i < maximumBreadth; i++) { + res += `${separator}"${i}":${whitespace}${array[i]}` + } + return res +} + +function getCircularValueOption (options) { + if (hasOwnProperty.call(options, 'circularValue')) { + const circularValue = options.circularValue + if (typeof circularValue === 'string') { + return `"${circularValue}"` + } + if (circularValue == null) { + return circularValue + } + if (circularValue === Error || circularValue === TypeError) { + return { + toString () { + throw new TypeError('Converting circular structure to JSON') + } + } + } + throw new TypeError('The "circularValue" argument must be of type string or the value null or undefined') + } + return '"[Circular]"' +} + +function getDeterministicOption (options) { + let value + if (hasOwnProperty.call(options, 'deterministic')) { + value = options.deterministic + if (typeof value !== 'boolean' && typeof value !== 'function') { + throw new TypeError('The "deterministic" argument must be of type boolean or comparator function') + } + } + return value === undefined ? true : value +} + +function getBooleanOption (options, key) { + let value + if (hasOwnProperty.call(options, key)) { + value = options[key] + if (typeof value !== 'boolean') { + throw new TypeError(`The "${key}" argument must be of type boolean`) + } + } + return value === undefined ? true : value +} + +function getPositiveIntegerOption (options, key) { + let value + if (hasOwnProperty.call(options, key)) { + value = options[key] + if (typeof value !== 'number') { + throw new TypeError(`The "${key}" argument must be of type number`) + } + if (!Number.isInteger(value)) { + throw new TypeError(`The "${key}" argument must be an integer`) + } + if (value < 1) { + throw new RangeError(`The "${key}" argument must be >= 1`) + } + } + return value === undefined ? Infinity : value +} + +function getItemCount (number) { + if (number === 1) { + return '1 item' + } + return `${number} items` +} + +function getUniqueReplacerSet (replacerArray) { + const replacerSet = new Set() + for (const value of replacerArray) { + if (typeof value === 'string' || typeof value === 'number') { + replacerSet.add(String(value)) + } + } + return replacerSet +} + +function getStrictOption (options) { + if (hasOwnProperty.call(options, 'strict')) { + const value = options.strict + if (typeof value !== 'boolean') { + throw new TypeError('The "strict" argument must be of type boolean') + } + if (value) { + return (value) => { + let message = `Object can not safely be stringified. Received type ${typeof value}` + if (typeof value !== 'function') message += ` (${value.toString()})` + throw new Error(message) + } + } + } +} + +function configure (options) { + options = { ...options } + const fail = getStrictOption(options) + if (fail) { + if (options.bigint === undefined) { + options.bigint = false + } + if (!('circularValue' in options)) { + options.circularValue = Error + } + } + const circularValue = getCircularValueOption(options) + const bigint = getBooleanOption(options, 'bigint') + const deterministic = getDeterministicOption(options) + const comparator = typeof deterministic === 'function' ? deterministic : undefined + const maximumDepth = getPositiveIntegerOption(options, 'maximumDepth') + const maximumBreadth = getPositiveIntegerOption(options, 'maximumBreadth') + + function stringifyFnReplacer (key, parent, stack, replacer, spacer, indentation) { + let value = parent[key] + + if (typeof value === 'object' && value !== null && typeof value.toJSON === 'function') { + value = value.toJSON(key) + } + value = replacer.call(parent, key, value) + + switch (typeof value) { + case 'string': + return strEscape(value) + case 'object': { + if (value === null) { + return 'null' + } + if (stack.indexOf(value) !== -1) { + return circularValue + } + + let res = '' + let join = ',' + const originalIndentation = indentation + + if (Array.isArray(value)) { + if (value.length === 0) { + return '[]' + } + if (maximumDepth < stack.length + 1) { + return '"[Array]"' + } + stack.push(value) + if (spacer !== '') { + indentation += spacer + res += `\n${indentation}` + join = `,\n${indentation}` + } + const maximumValuesToStringify = Math.min(value.length, maximumBreadth) + let i = 0 + for (; i < maximumValuesToStringify - 1; i++) { + const tmp = stringifyFnReplacer(String(i), value, stack, replacer, spacer, indentation) + res += tmp !== undefined ? tmp : 'null' + res += join + } + const tmp = stringifyFnReplacer(String(i), value, stack, replacer, spacer, indentation) + res += tmp !== undefined ? tmp : 'null' + if (value.length - 1 > maximumBreadth) { + const removedKeys = value.length - maximumBreadth - 1 + res += `${join}"... ${getItemCount(removedKeys)} not stringified"` + } + if (spacer !== '') { + res += `\n${originalIndentation}` + } + stack.pop() + return `[${res}]` + } + + let keys = Object.keys(value) + const keyLength = keys.length + if (keyLength === 0) { + return '{}' + } + if (maximumDepth < stack.length + 1) { + return '"[Object]"' + } + let whitespace = '' + let separator = '' + if (spacer !== '') { + indentation += spacer + join = `,\n${indentation}` + whitespace = ' ' + } + const maximumPropertiesToStringify = Math.min(keyLength, maximumBreadth) + if (deterministic && !isTypedArrayWithEntries(value)) { + keys = sort(keys, comparator) + } + stack.push(value) + for (let i = 0; i < maximumPropertiesToStringify; i++) { + const key = keys[i] + const tmp = stringifyFnReplacer(key, value, stack, replacer, spacer, indentation) + if (tmp !== undefined) { + res += `${separator}${strEscape(key)}:${whitespace}${tmp}` + separator = join + } + } + if (keyLength > maximumBreadth) { + const removedKeys = keyLength - maximumBreadth + res += `${separator}"...":${whitespace}"${getItemCount(removedKeys)} not stringified"` + separator = join + } + if (spacer !== '' && separator.length > 1) { + res = `\n${indentation}${res}\n${originalIndentation}` + } + stack.pop() + return `{${res}}` + } + case 'number': + return isFinite(value) ? String(value) : fail ? fail(value) : 'null' + case 'boolean': + return value === true ? 'true' : 'false' + case 'undefined': + return undefined + case 'bigint': + if (bigint) { + return String(value) + } + // fallthrough + default: + return fail ? fail(value) : undefined + } + } + + function stringifyArrayReplacer (key, value, stack, replacer, spacer, indentation) { + if (typeof value === 'object' && value !== null && typeof value.toJSON === 'function') { + value = value.toJSON(key) + } + + switch (typeof value) { + case 'string': + return strEscape(value) + case 'object': { + if (value === null) { + return 'null' + } + if (stack.indexOf(value) !== -1) { + return circularValue + } + + const originalIndentation = indentation + let res = '' + let join = ',' + + if (Array.isArray(value)) { + if (value.length === 0) { + return '[]' + } + if (maximumDepth < stack.length + 1) { + return '"[Array]"' + } + stack.push(value) + if (spacer !== '') { + indentation += spacer + res += `\n${indentation}` + join = `,\n${indentation}` + } + const maximumValuesToStringify = Math.min(value.length, maximumBreadth) + let i = 0 + for (; i < maximumValuesToStringify - 1; i++) { + const tmp = stringifyArrayReplacer(String(i), value[i], stack, replacer, spacer, indentation) + res += tmp !== undefined ? tmp : 'null' + res += join + } + const tmp = stringifyArrayReplacer(String(i), value[i], stack, replacer, spacer, indentation) + res += tmp !== undefined ? tmp : 'null' + if (value.length - 1 > maximumBreadth) { + const removedKeys = value.length - maximumBreadth - 1 + res += `${join}"... ${getItemCount(removedKeys)} not stringified"` + } + if (spacer !== '') { + res += `\n${originalIndentation}` + } + stack.pop() + return `[${res}]` + } + stack.push(value) + let whitespace = '' + if (spacer !== '') { + indentation += spacer + join = `,\n${indentation}` + whitespace = ' ' + } + let separator = '' + for (const key of replacer) { + const tmp = stringifyArrayReplacer(key, value[key], stack, replacer, spacer, indentation) + if (tmp !== undefined) { + res += `${separator}${strEscape(key)}:${whitespace}${tmp}` + separator = join + } + } + if (spacer !== '' && separator.length > 1) { + res = `\n${indentation}${res}\n${originalIndentation}` + } + stack.pop() + return `{${res}}` + } + case 'number': + return isFinite(value) ? String(value) : fail ? fail(value) : 'null' + case 'boolean': + return value === true ? 'true' : 'false' + case 'undefined': + return undefined + case 'bigint': + if (bigint) { + return String(value) + } + // fallthrough + default: + return fail ? fail(value) : undefined + } + } + + function stringifyIndent (key, value, stack, spacer, indentation) { + switch (typeof value) { + case 'string': + return strEscape(value) + case 'object': { + if (value === null) { + return 'null' + } + if (typeof value.toJSON === 'function') { + value = value.toJSON(key) + // Prevent calling `toJSON` again. + if (typeof value !== 'object') { + return stringifyIndent(key, value, stack, spacer, indentation) + } + if (value === null) { + return 'null' + } + } + if (stack.indexOf(value) !== -1) { + return circularValue + } + const originalIndentation = indentation + + if (Array.isArray(value)) { + if (value.length === 0) { + return '[]' + } + if (maximumDepth < stack.length + 1) { + return '"[Array]"' + } + stack.push(value) + indentation += spacer + let res = `\n${indentation}` + const join = `,\n${indentation}` + const maximumValuesToStringify = Math.min(value.length, maximumBreadth) + let i = 0 + for (; i < maximumValuesToStringify - 1; i++) { + const tmp = stringifyIndent(String(i), value[i], stack, spacer, indentation) + res += tmp !== undefined ? tmp : 'null' + res += join + } + const tmp = stringifyIndent(String(i), value[i], stack, spacer, indentation) + res += tmp !== undefined ? tmp : 'null' + if (value.length - 1 > maximumBreadth) { + const removedKeys = value.length - maximumBreadth - 1 + res += `${join}"... ${getItemCount(removedKeys)} not stringified"` + } + res += `\n${originalIndentation}` + stack.pop() + return `[${res}]` + } + + let keys = Object.keys(value) + const keyLength = keys.length + if (keyLength === 0) { + return '{}' + } + if (maximumDepth < stack.length + 1) { + return '"[Object]"' + } + indentation += spacer + const join = `,\n${indentation}` + let res = '' + let separator = '' + let maximumPropertiesToStringify = Math.min(keyLength, maximumBreadth) + if (isTypedArrayWithEntries(value)) { + res += stringifyTypedArray(value, join, maximumBreadth) + keys = keys.slice(value.length) + maximumPropertiesToStringify -= value.length + separator = join + } + if (deterministic) { + keys = sort(keys, comparator) + } + stack.push(value) + for (let i = 0; i < maximumPropertiesToStringify; i++) { + const key = keys[i] + const tmp = stringifyIndent(key, value[key], stack, spacer, indentation) + if (tmp !== undefined) { + res += `${separator}${strEscape(key)}: ${tmp}` + separator = join + } + } + if (keyLength > maximumBreadth) { + const removedKeys = keyLength - maximumBreadth + res += `${separator}"...": "${getItemCount(removedKeys)} not stringified"` + separator = join + } + if (separator !== '') { + res = `\n${indentation}${res}\n${originalIndentation}` + } + stack.pop() + return `{${res}}` + } + case 'number': + return isFinite(value) ? String(value) : fail ? fail(value) : 'null' + case 'boolean': + return value === true ? 'true' : 'false' + case 'undefined': + return undefined + case 'bigint': + if (bigint) { + return String(value) + } + // fallthrough + default: + return fail ? fail(value) : undefined + } + } + + function stringifySimple (key, value, stack) { + switch (typeof value) { + case 'string': + return strEscape(value) + case 'object': { + if (value === null) { + return 'null' + } + if (typeof value.toJSON === 'function') { + value = value.toJSON(key) + // Prevent calling `toJSON` again + if (typeof value !== 'object') { + return stringifySimple(key, value, stack) + } + if (value === null) { + return 'null' + } + } + if (stack.indexOf(value) !== -1) { + return circularValue + } + + let res = '' + + const hasLength = value.length !== undefined + if (hasLength && Array.isArray(value)) { + if (value.length === 0) { + return '[]' + } + if (maximumDepth < stack.length + 1) { + return '"[Array]"' + } + stack.push(value) + const maximumValuesToStringify = Math.min(value.length, maximumBreadth) + let i = 0 + for (; i < maximumValuesToStringify - 1; i++) { + const tmp = stringifySimple(String(i), value[i], stack) + res += tmp !== undefined ? tmp : 'null' + res += ',' + } + const tmp = stringifySimple(String(i), value[i], stack) + res += tmp !== undefined ? tmp : 'null' + if (value.length - 1 > maximumBreadth) { + const removedKeys = value.length - maximumBreadth - 1 + res += `,"... ${getItemCount(removedKeys)} not stringified"` + } + stack.pop() + return `[${res}]` + } + + let keys = Object.keys(value) + const keyLength = keys.length + if (keyLength === 0) { + return '{}' + } + if (maximumDepth < stack.length + 1) { + return '"[Object]"' + } + let separator = '' + let maximumPropertiesToStringify = Math.min(keyLength, maximumBreadth) + if (hasLength && isTypedArrayWithEntries(value)) { + res += stringifyTypedArray(value, ',', maximumBreadth) + keys = keys.slice(value.length) + maximumPropertiesToStringify -= value.length + separator = ',' + } + if (deterministic) { + keys = sort(keys, comparator) + } + stack.push(value) + for (let i = 0; i < maximumPropertiesToStringify; i++) { + const key = keys[i] + const tmp = stringifySimple(key, value[key], stack) + if (tmp !== undefined) { + res += `${separator}${strEscape(key)}:${tmp}` + separator = ',' + } + } + if (keyLength > maximumBreadth) { + const removedKeys = keyLength - maximumBreadth + res += `${separator}"...":"${getItemCount(removedKeys)} not stringified"` + } + stack.pop() + return `{${res}}` + } + case 'number': + return isFinite(value) ? String(value) : fail ? fail(value) : 'null' + case 'boolean': + return value === true ? 'true' : 'false' + case 'undefined': + return undefined + case 'bigint': + if (bigint) { + return String(value) + } + // fallthrough + default: + return fail ? fail(value) : undefined + } + } + + function stringify (value, replacer, space) { + if (arguments.length > 1) { + let spacer = '' + if (typeof space === 'number') { + spacer = ' '.repeat(Math.min(space, 10)) + } else if (typeof space === 'string') { + spacer = space.slice(0, 10) + } + if (replacer != null) { + if (typeof replacer === 'function') { + return stringifyFnReplacer('', { '': value }, [], replacer, spacer, '') + } + if (Array.isArray(replacer)) { + return stringifyArrayReplacer('', value, [], getUniqueReplacerSet(replacer), spacer, '') + } + } + if (spacer.length !== 0) { + return stringifyIndent('', value, [], spacer, '') + } + } + return stringifySimple('', value, []) + } + + return stringify +} diff --git a/node_modules/safe-stable-stringify/package.json b/node_modules/safe-stable-stringify/package.json new file mode 100644 index 0000000..59cf825 --- /dev/null +++ b/node_modules/safe-stable-stringify/package.json @@ -0,0 +1,65 @@ +{ + "name": "safe-stable-stringify", + "version": "2.5.0", + "description": "Deterministic and safely JSON.stringify to quickly serialize JavaScript objects", + "exports": { + "require": "./index.js", + "import": "./esm/wrapper.js" + }, + "keywords": [ + "stable", + "stringify", + "JSON", + "JSON.stringify", + "safe", + "serialize", + "deterministic", + "circular", + "object", + "predicable", + "repeatable", + "fast", + "bigint" + ], + "main": "index.js", + "scripts": { + "test": "standard && tap test.js", + "tap": "tap test.js", + "tap:only": "tap test.js --watch --only", + "benchmark": "node benchmark.js", + "compare": "node compare.js", + "lint": "standard --fix", + "tsc": "tsc --project tsconfig.json" + }, + "engines": { + "node": ">=10" + }, + "author": "Ruben Bridgewater", + "license": "MIT", + "typings": "index.d.ts", + "devDependencies": { + "@types/json-stable-stringify": "^1.0.34", + "@types/node": "^18.11.18", + "benchmark": "^2.1.4", + "clone": "^2.1.2", + "fast-json-stable-stringify": "^2.1.0", + "fast-safe-stringify": "^2.1.1", + "fast-stable-stringify": "^1.0.0", + "faster-stable-stringify": "^1.0.0", + "fastest-stable-stringify": "^2.0.2", + "json-stable-stringify": "^1.0.1", + "json-stringify-deterministic": "^1.0.7", + "json-stringify-safe": "^5.0.1", + "standard": "^16.0.4", + "tap": "^15.0.9", + "typescript": "^4.8.3" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/BridgeAR/safe-stable-stringify.git" + }, + "bugs": { + "url": "https://github.com/BridgeAR/safe-stable-stringify/issues" + }, + "homepage": "https://github.com/BridgeAR/safe-stable-stringify#readme" +} diff --git a/node_modules/safe-stable-stringify/readme.md b/node_modules/safe-stable-stringify/readme.md new file mode 100644 index 0000000..9baa477 --- /dev/null +++ b/node_modules/safe-stable-stringify/readme.md @@ -0,0 +1,179 @@ +# safe-stable-stringify + +Safe, deterministic and fast serialization alternative to [JSON.stringify][]. +Zero dependencies. ESM and CJS. 100% coverage. + +Gracefully handles circular structures and bigint instead of throwing. + +Optional custom circular values, deterministic behavior or strict JSON +compatibility check. + +## stringify(value[, replacer[, space]]) + +The same as [JSON.stringify][]. + +* `value` {any} +* `replacer` {string[]|function|null} +* `space` {number|string} +* Returns: {string} + +```js +const stringify = require('safe-stable-stringify') + +const bigint = { a: 0, c: 2n, b: 1 } + +stringify(bigint) +// '{"a":0,"b":1,"c":2}' +JSON.stringify(bigint) +// TypeError: Do not know how to serialize a BigInt + +const circular = { b: 1, a: 0 } +circular.circular = circular + +stringify(circular) +// '{"a":0,"b":1,"circular":"[Circular]"}' +JSON.stringify(circular) +// TypeError: Converting circular structure to JSON + +stringify(circular, ['a', 'b'], 2) +// { +// "a": 0, +// "b": 1 +// } +``` + +## stringify.configure(options) + +* `bigint` {boolean} If `true`, bigint values are converted to a number. Otherwise + they are ignored. **Default:** `true`. +* `circularValue` {string|null|undefined|ErrorConstructor} Defines the value for + circular references. Set to `undefined`, circular properties are not + serialized (array entries are replaced with `null`). Set to `Error`, to throw + on circular references. **Default:** `'[Circular]'`. +* `deterministic` {boolean|function} If `true` or a `Array#sort(comparator)` + comparator method, guarantee a deterministic key order instead of relying on + the insertion order. **Default:** `true`. +* `maximumBreadth` {number} Maximum number of entries to serialize per object + (at least one). The serialized output contains information about how many + entries have not been serialized. Ignored properties are counted as well + (e.g., properties with symbol values). Using the array replacer overrules this + option. **Default:** `Infinity` +* `maximumDepth` {number} Maximum number of object nesting levels (at least 1) + that will be serialized. Objects at the maximum level are serialized as + `'[Object]'` and arrays as `'[Array]'`. **Default:** `Infinity` +* `strict` {boolean} Instead of handling any JSON value gracefully, throw an + error in case it may not be represented as JSON (functions, NaN, ...). + Circular values and bigint values throw as well in case either option is not + explicitly defined. Sets and Maps are not detected as well as Symbol keys! + **Default:** `false` +* Returns: {function} A stringify function with the options applied. + +```js +import { configure } from 'safe-stable-stringify' + +const stringify = configure({ + bigint: true, + circularValue: 'Magic circle!', + deterministic: false, + maximumDepth: 1, + maximumBreadth: 4 +}) + +const circular = { + bigint: 999_999_999_999_999_999n, + typed: new Uint8Array(3), + deterministic: "I don't think so", +} +circular.circular = circular +circular.ignored = true +circular.alsoIgnored = 'Yes!' + +const stringified = stringify(circular, null, 4) + +console.log(stringified) +// { +// "bigint": 999999999999999999, +// "typed": "[Object]", +// "deterministic": "I don't think so", +// "circular": "Magic circle!", +// "...": "2 items not stringified" +// } + +const throwOnCircular = configure({ + circularValue: Error +}) + +throwOnCircular(circular); +// TypeError: Converting circular structure to JSON +``` + +## Differences to JSON.stringify + +1. _Circular values_ are replaced with the string `[Circular]` (configurable). +1. _Object keys_ are sorted instead of using the insertion order (configurable). +1. _BigInt_ values are stringified as regular number instead of throwing a + TypeError (configurable). +1. _Boxed primitives_ (e.g., `Number(5)`) are not unboxed and are handled as + regular object. + +Those are the only differences to `JSON.stringify()`. This is a side effect free +variant and [`toJSON`][], [`replacer`][] and the [`spacer`][] work the same as +with `JSON.stringify()`. + +## Performance / Benchmarks + +Currently this is by far the fastest known stable (deterministic) stringify +implementation. This is especially important for big objects and TypedArrays. + +(Dell Precision 5540, i7-9850H CPU @ 2.60GHz, Node.js 16.11.1) + +```md +simple: simple object x 3,463,894 ops/sec ±0.44% (98 runs sampled) +simple: circular x 1,236,007 ops/sec ±0.46% (99 runs sampled) +simple: deep x 18,942 ops/sec ±0.41% (93 runs sampled) +simple: deep circular x 18,690 ops/sec ±0.72% (96 runs sampled) + +replacer: simple object x 2,664,940 ops/sec ±0.31% (98 runs sampled) +replacer: circular x 1,015,981 ops/sec ±0.09% (99 runs sampled) +replacer: deep x 17,328 ops/sec ±0.38% (97 runs sampled) +replacer: deep circular x 17,071 ops/sec ±0.21% (98 runs sampled) + +array: simple object x 3,869,608 ops/sec ±0.22% (98 runs sampled) +array: circular x 3,853,943 ops/sec ±0.45% (96 runs sampled) +array: deep x 3,563,227 ops/sec ±0.20% (100 runs sampled) +array: deep circular x 3,286,475 ops/sec ±0.07% (100 runs sampled) + +indentation: simple object x 2,183,162 ops/sec ±0.66% (97 runs sampled) +indentation: circular x 872,538 ops/sec ±0.57% (98 runs sampled) +indentation: deep x 16,795 ops/sec ±0.48% (93 runs sampled) +indentation: deep circular x 16,443 ops/sec ±0.40% (97 runs sampled) +``` + +Comparing `safe-stable-stringify` with known alternatives: + +```md +fast-json-stable-stringify x 18,765 ops/sec ±0.71% (94 runs sampled) +json-stable-stringify x 13,870 ops/sec ±0.72% (94 runs sampled) +fast-stable-stringify x 21,343 ops/sec ±0.33% (95 runs sampled) +faster-stable-stringify x 17,707 ops/sec ±0.44% (97 runs sampled) +json-stringify-deterministic x 11,208 ops/sec ±0.57% (98 runs sampled) +fast-safe-stringify x 21,460 ops/sec ±0.75% (99 runs sampled) +this x 30,367 ops/sec ±0.39% (96 runs sampled) + +The fastest is this +``` + +The `fast-safe-stringify` comparison uses the modules stable implementation. + +## Acknowledgements + +Sponsored by [MaibornWolff](https://www.maibornwolff.de/) and [nearForm](http://nearform.com) + +## License + +MIT + +[`replacer`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#The%20replacer%20parameter +[`spacer`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#The%20space%20argument +[`toJSON`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#toJSON()_behavior +[JSON.stringify]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify diff --git a/node_modules/safer-buffer/LICENSE b/node_modules/safer-buffer/LICENSE new file mode 100644 index 0000000..4fe9e6f --- /dev/null +++ b/node_modules/safer-buffer/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 Nikita Skovoroda + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/safer-buffer/Porting-Buffer.md b/node_modules/safer-buffer/Porting-Buffer.md new file mode 100644 index 0000000..68d86ba --- /dev/null +++ b/node_modules/safer-buffer/Porting-Buffer.md @@ -0,0 +1,268 @@ +# Porting to the Buffer.from/Buffer.alloc API + + +## Overview + +- [Variant 1: Drop support for Node.js ≤ 4.4.x and 5.0.0 — 5.9.x.](#variant-1) (*recommended*) +- [Variant 2: Use a polyfill](#variant-2) +- [Variant 3: manual detection, with safeguards](#variant-3) + +### Finding problematic bits of code using grep + +Just run `grep -nrE '[^a-zA-Z](Slow)?Buffer\s*\(' --exclude-dir node_modules`. + +It will find all the potentially unsafe places in your own code (with some considerably unlikely +exceptions). + +### Finding problematic bits of code using Node.js 8 + +If you’re using Node.js ≥ 8.0.0 (which is recommended), Node.js exposes multiple options that help with finding the relevant pieces of code: + +- `--trace-warnings` will make Node.js show a stack trace for this warning and other warnings that are printed by Node.js. +- `--trace-deprecation` does the same thing, but only for deprecation warnings. +- `--pending-deprecation` will show more types of deprecation warnings. In particular, it will show the `Buffer()` deprecation warning, even on Node.js 8. + +You can set these flags using an environment variable: + +```console +$ export NODE_OPTIONS='--trace-warnings --pending-deprecation' +$ cat example.js +'use strict'; +const foo = new Buffer('foo'); +$ node example.js +(node:7147) [DEP0005] DeprecationWarning: The Buffer() and new Buffer() constructors are not recommended for use due to security and usability concerns. Please use the new Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() construction methods instead. + at showFlaggedDeprecation (buffer.js:127:13) + at new Buffer (buffer.js:148:3) + at Object. (/path/to/example.js:2:13) + [... more stack trace lines ...] +``` + +### Finding problematic bits of code using linters + +Eslint rules [no-buffer-constructor](https://eslint.org/docs/rules/no-buffer-constructor) +or +[node/no-deprecated-api](https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-deprecated-api.md) +also find calls to deprecated `Buffer()` API. Those rules are included in some pre-sets. + +There is a drawback, though, that it doesn't always +[work correctly](https://github.com/chalker/safer-buffer#why-not-safe-buffer) when `Buffer` is +overriden e.g. with a polyfill, so recommended is a combination of this and some other method +described above. + + +## Variant 1: Drop support for Node.js ≤ 4.4.x and 5.0.0 — 5.9.x. + +This is the recommended solution nowadays that would imply only minimal overhead. + +The Node.js 5.x release line has been unsupported since July 2016, and the Node.js 4.x release line reaches its End of Life in April 2018 (→ [Schedule](https://github.com/nodejs/Release#release-schedule)). This means that these versions of Node.js will *not* receive any updates, even in case of security issues, so using these release lines should be avoided, if at all possible. + +What you would do in this case is to convert all `new Buffer()` or `Buffer()` calls to use `Buffer.alloc()` or `Buffer.from()`, in the following way: + +- For `new Buffer(number)`, replace it with `Buffer.alloc(number)`. +- For `new Buffer(string)` (or `new Buffer(string, encoding)`), replace it with `Buffer.from(string)` (or `Buffer.from(string, encoding)`). +- For all other combinations of arguments (these are much rarer), also replace `new Buffer(...arguments)` with `Buffer.from(...arguments)`. + +Note that `Buffer.alloc()` is also _faster_ on the current Node.js versions than +`new Buffer(size).fill(0)`, which is what you would otherwise need to ensure zero-filling. + +Enabling eslint rule [no-buffer-constructor](https://eslint.org/docs/rules/no-buffer-constructor) +or +[node/no-deprecated-api](https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-deprecated-api.md) +is recommended to avoid accidential unsafe Buffer API usage. + +There is also a [JSCodeshift codemod](https://github.com/joyeecheung/node-dep-codemod#dep005) +for automatically migrating Buffer constructors to `Buffer.alloc()` or `Buffer.from()`. +Note that it currently only works with cases where the arguments are literals or where the +constructor is invoked with two arguments. + +_If you currently support those older Node.js versions and dropping them would be a semver-major change +for you, or if you support older branches of your packages, consider using [Variant 2](#variant-2) +or [Variant 3](#variant-3) on older branches, so people using those older branches will also receive +the fix. That way, you will eradicate potential issues caused by unguarded Buffer API usage and +your users will not observe a runtime deprecation warning when running your code on Node.js 10._ + + +## Variant 2: Use a polyfill + +Utilize [safer-buffer](https://www.npmjs.com/package/safer-buffer) as a polyfill to support older +Node.js versions. + +You would take exacly the same steps as in [Variant 1](#variant-1), but with a polyfill +`const Buffer = require('safer-buffer').Buffer` in all files where you use the new `Buffer` api. + +Make sure that you do not use old `new Buffer` API — in any files where the line above is added, +using old `new Buffer()` API will _throw_. It will be easy to notice that in CI, though. + +Alternatively, you could use [buffer-from](https://www.npmjs.com/package/buffer-from) and/or +[buffer-alloc](https://www.npmjs.com/package/buffer-alloc) [ponyfills](https://ponyfill.com/) — +those are great, the only downsides being 4 deps in the tree and slightly more code changes to +migrate off them (as you would be using e.g. `Buffer.from` under a different name). If you need only +`Buffer.from` polyfilled — `buffer-from` alone which comes with no extra dependencies. + +_Alternatively, you could use [safe-buffer](https://www.npmjs.com/package/safe-buffer) — it also +provides a polyfill, but takes a different approach which has +[it's drawbacks](https://github.com/chalker/safer-buffer#why-not-safe-buffer). It will allow you +to also use the older `new Buffer()` API in your code, though — but that's arguably a benefit, as +it is problematic, can cause issues in your code, and will start emitting runtime deprecation +warnings starting with Node.js 10._ + +Note that in either case, it is important that you also remove all calls to the old Buffer +API manually — just throwing in `safe-buffer` doesn't fix the problem by itself, it just provides +a polyfill for the new API. I have seen people doing that mistake. + +Enabling eslint rule [no-buffer-constructor](https://eslint.org/docs/rules/no-buffer-constructor) +or +[node/no-deprecated-api](https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-deprecated-api.md) +is recommended. + +_Don't forget to drop the polyfill usage once you drop support for Node.js < 4.5.0._ + + +## Variant 3 — manual detection, with safeguards + +This is useful if you create Buffer instances in only a few places (e.g. one), or you have your own +wrapper around them. + +### Buffer(0) + +This special case for creating empty buffers can be safely replaced with `Buffer.concat([])`, which +returns the same result all the way down to Node.js 0.8.x. + +### Buffer(notNumber) + +Before: + +```js +var buf = new Buffer(notNumber, encoding); +``` + +After: + +```js +var buf; +if (Buffer.from && Buffer.from !== Uint8Array.from) { + buf = Buffer.from(notNumber, encoding); +} else { + if (typeof notNumber === 'number') + throw new Error('The "size" argument must be of type number.'); + buf = new Buffer(notNumber, encoding); +} +``` + +`encoding` is optional. + +Note that the `typeof notNumber` before `new Buffer` is required (for cases when `notNumber` argument is not +hard-coded) and _is not caused by the deprecation of Buffer constructor_ — it's exactly _why_ the +Buffer constructor is deprecated. Ecosystem packages lacking this type-check caused numereous +security issues — situations when unsanitized user input could end up in the `Buffer(arg)` create +problems ranging from DoS to leaking sensitive information to the attacker from the process memory. + +When `notNumber` argument is hardcoded (e.g. literal `"abc"` or `[0,1,2]`), the `typeof` check can +be omitted. + +Also note that using TypeScript does not fix this problem for you — when libs written in +`TypeScript` are used from JS, or when user input ends up there — it behaves exactly as pure JS, as +all type checks are translation-time only and are not present in the actual JS code which TS +compiles to. + +### Buffer(number) + +For Node.js 0.10.x (and below) support: + +```js +var buf; +if (Buffer.alloc) { + buf = Buffer.alloc(number); +} else { + buf = new Buffer(number); + buf.fill(0); +} +``` + +Otherwise (Node.js ≥ 0.12.x): + +```js +const buf = Buffer.alloc ? Buffer.alloc(number) : new Buffer(number).fill(0); +``` + +## Regarding Buffer.allocUnsafe + +Be extra cautious when using `Buffer.allocUnsafe`: + * Don't use it if you don't have a good reason to + * e.g. you probably won't ever see a performance difference for small buffers, in fact, those + might be even faster with `Buffer.alloc()`, + * if your code is not in the hot code path — you also probably won't notice a difference, + * keep in mind that zero-filling minimizes the potential risks. + * If you use it, make sure that you never return the buffer in a partially-filled state, + * if you are writing to it sequentially — always truncate it to the actuall written length + +Errors in handling buffers allocated with `Buffer.allocUnsafe` could result in various issues, +ranged from undefined behaviour of your code to sensitive data (user input, passwords, certs) +leaking to the remote attacker. + +_Note that the same applies to `new Buffer` usage without zero-filling, depending on the Node.js +version (and lacking type checks also adds DoS to the list of potential problems)._ + + +## FAQ + + +### What is wrong with the `Buffer` constructor? + +The `Buffer` constructor could be used to create a buffer in many different ways: + +- `new Buffer(42)` creates a `Buffer` of 42 bytes. Before Node.js 8, this buffer contained + *arbitrary memory* for performance reasons, which could include anything ranging from + program source code to passwords and encryption keys. +- `new Buffer('abc')` creates a `Buffer` that contains the UTF-8-encoded version of + the string `'abc'`. A second argument could specify another encoding: For example, + `new Buffer(string, 'base64')` could be used to convert a Base64 string into the original + sequence of bytes that it represents. +- There are several other combinations of arguments. + +This meant that, in code like `var buffer = new Buffer(foo);`, *it is not possible to tell +what exactly the contents of the generated buffer are* without knowing the type of `foo`. + +Sometimes, the value of `foo` comes from an external source. For example, this function +could be exposed as a service on a web server, converting a UTF-8 string into its Base64 form: + +``` +function stringToBase64(req, res) { + // The request body should have the format of `{ string: 'foobar' }` + const rawBytes = new Buffer(req.body.string) + const encoded = rawBytes.toString('base64') + res.end({ encoded: encoded }) +} +``` + +Note that this code does *not* validate the type of `req.body.string`: + +- `req.body.string` is expected to be a string. If this is the case, all goes well. +- `req.body.string` is controlled by the client that sends the request. +- If `req.body.string` is the *number* `50`, the `rawBytes` would be 50 bytes: + - Before Node.js 8, the content would be uninitialized + - After Node.js 8, the content would be `50` bytes with the value `0` + +Because of the missing type check, an attacker could intentionally send a number +as part of the request. Using this, they can either: + +- Read uninitialized memory. This **will** leak passwords, encryption keys and other + kinds of sensitive information. (Information leak) +- Force the program to allocate a large amount of memory. For example, when specifying + `500000000` as the input value, each request will allocate 500MB of memory. + This can be used to either exhaust the memory available of a program completely + and make it crash, or slow it down significantly. (Denial of Service) + +Both of these scenarios are considered serious security issues in a real-world +web server context. + +when using `Buffer.from(req.body.string)` instead, passing a number will always +throw an exception instead, giving a controlled behaviour that can always be +handled by the program. + + +### The `Buffer()` constructor has been deprecated for a while. Is this really an issue? + +Surveys of code in the `npm` ecosystem have shown that the `Buffer()` constructor is still +widely used. This includes new code, and overall usage of such code has actually been +*increasing*. diff --git a/node_modules/safer-buffer/Readme.md b/node_modules/safer-buffer/Readme.md new file mode 100644 index 0000000..14b0822 --- /dev/null +++ b/node_modules/safer-buffer/Readme.md @@ -0,0 +1,156 @@ +# safer-buffer [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![javascript style guide][standard-image]][standard-url] [![Security Responsible Disclosure][secuirty-image]][secuirty-url] + +[travis-image]: https://travis-ci.org/ChALkeR/safer-buffer.svg?branch=master +[travis-url]: https://travis-ci.org/ChALkeR/safer-buffer +[npm-image]: https://img.shields.io/npm/v/safer-buffer.svg +[npm-url]: https://npmjs.org/package/safer-buffer +[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg +[standard-url]: https://standardjs.com +[secuirty-image]: https://img.shields.io/badge/Security-Responsible%20Disclosure-green.svg +[secuirty-url]: https://github.com/nodejs/security-wg/blob/master/processes/responsible_disclosure_template.md + +Modern Buffer API polyfill without footguns, working on Node.js from 0.8 to current. + +## How to use? + +First, port all `Buffer()` and `new Buffer()` calls to `Buffer.alloc()` and `Buffer.from()` API. + +Then, to achieve compatibility with outdated Node.js versions (`<4.5.0` and 5.x `<5.9.0`), use +`const Buffer = require('safer-buffer').Buffer` in all files where you make calls to the new +Buffer API. _Use `var` instead of `const` if you need that for your Node.js version range support._ + +Also, see the +[porting Buffer](https://github.com/ChALkeR/safer-buffer/blob/master/Porting-Buffer.md) guide. + +## Do I need it? + +Hopefully, not — dropping support for outdated Node.js versions should be fine nowdays, and that +is the recommended path forward. You _do_ need to port to the `Buffer.alloc()` and `Buffer.from()` +though. + +See the [porting guide](https://github.com/ChALkeR/safer-buffer/blob/master/Porting-Buffer.md) +for a better description. + +## Why not [safe-buffer](https://npmjs.com/safe-buffer)? + +_In short: while `safe-buffer` serves as a polyfill for the new API, it allows old API usage and +itself contains footguns._ + +`safe-buffer` could be used safely to get the new API while still keeping support for older +Node.js versions (like this module), but while analyzing ecosystem usage of the old Buffer API +I found out that `safe-buffer` is itself causing problems in some cases. + +For example, consider the following snippet: + +```console +$ cat example.unsafe.js +console.log(Buffer(20)) +$ ./node-v6.13.0-linux-x64/bin/node example.unsafe.js + +$ standard example.unsafe.js +standard: Use JavaScript Standard Style (https://standardjs.com) + /home/chalker/repo/safer-buffer/example.unsafe.js:2:13: 'Buffer()' was deprecated since v6. Use 'Buffer.alloc()' or 'Buffer.from()' (use 'https://www.npmjs.com/package/safe-buffer' for '<4.5.0') instead. +``` + +This is allocates and writes to console an uninitialized chunk of memory. +[standard](https://www.npmjs.com/package/standard) linter (among others) catch that and warn people +to avoid using unsafe API. + +Let's now throw in `safe-buffer`! + +```console +$ cat example.safe-buffer.js +const Buffer = require('safe-buffer').Buffer +console.log(Buffer(20)) +$ standard example.safe-buffer.js +$ ./node-v6.13.0-linux-x64/bin/node example.safe-buffer.js + +``` + +See the problem? Adding in `safe-buffer` _magically removes the lint warning_, but the behavior +remains identiсal to what we had before, and when launched on Node.js 6.x LTS — this dumps out +chunks of uninitialized memory. +_And this code will still emit runtime warnings on Node.js 10.x and above._ + +That was done by design. I first considered changing `safe-buffer`, prohibiting old API usage or +emitting warnings on it, but that significantly diverges from `safe-buffer` design. After some +discussion, it was decided to move my approach into a separate package, and _this is that separate +package_. + +This footgun is not imaginary — I observed top-downloaded packages doing that kind of thing, +«fixing» the lint warning by blindly including `safe-buffer` without any actual changes. + +Also in some cases, even if the API _was_ migrated to use of safe Buffer API — a random pull request +can bring unsafe Buffer API usage back to the codebase by adding new calls — and that could go +unnoticed even if you have a linter prohibiting that (becase of the reason stated above), and even +pass CI. _I also observed that being done in popular packages._ + +Some examples: + * [webdriverio](https://github.com/webdriverio/webdriverio/commit/05cbd3167c12e4930f09ef7cf93b127ba4effae4#diff-124380949022817b90b622871837d56cR31) + (a module with 548 759 downloads/month), + * [websocket-stream](https://github.com/maxogden/websocket-stream/commit/c9312bd24d08271687d76da0fe3c83493871cf61) + (218 288 d/m, fix in [maxogden/websocket-stream#142](https://github.com/maxogden/websocket-stream/pull/142)), + * [node-serialport](https://github.com/node-serialport/node-serialport/commit/e8d9d2b16c664224920ce1c895199b1ce2def48c) + (113 138 d/m, fix in [node-serialport/node-serialport#1510](https://github.com/node-serialport/node-serialport/pull/1510)), + * [karma](https://github.com/karma-runner/karma/commit/3d94b8cf18c695104ca195334dc75ff054c74eec) + (3 973 193 d/m, fix in [karma-runner/karma#2947](https://github.com/karma-runner/karma/pull/2947)), + * [spdy-transport](https://github.com/spdy-http2/spdy-transport/commit/5375ac33f4a62a4f65bcfc2827447d42a5dbe8b1) + (5 970 727 d/m, fix in [spdy-http2/spdy-transport#53](https://github.com/spdy-http2/spdy-transport/pull/53)). + * And there are a lot more over the ecosystem. + +I filed a PR at +[mysticatea/eslint-plugin-node#110](https://github.com/mysticatea/eslint-plugin-node/pull/110) to +partially fix that (for cases when that lint rule is used), but it is a semver-major change for +linter rules and presets, so it would take significant time for that to reach actual setups. +_It also hasn't been released yet (2018-03-20)._ + +Also, `safer-buffer` discourages the usage of `.allocUnsafe()`, which is often done by a mistake. +It still supports it with an explicit concern barier, by placing it under +`require('safer-buffer/dangereous')`. + +## But isn't throwing bad? + +Not really. It's an error that could be noticed and fixed early, instead of causing havoc later like +unguarded `new Buffer()` calls that end up receiving user input can do. + +This package affects only the files where `var Buffer = require('safer-buffer').Buffer` was done, so +it is really simple to keep track of things and make sure that you don't mix old API usage with that. +Also, CI should hint anything that you might have missed. + +New commits, if tested, won't land new usage of unsafe Buffer API this way. +_Node.js 10.x also deals with that by printing a runtime depecation warning._ + +### Would it affect third-party modules? + +No, unless you explicitly do an awful thing like monkey-patching or overriding the built-in `Buffer`. +Don't do that. + +### But I don't want throwing… + +That is also fine! + +Also, it could be better in some cases when you don't comprehensive enough test coverage. + +In that case — just don't override `Buffer` and use +`var SaferBuffer = require('safer-buffer').Buffer` instead. + +That way, everything using `Buffer` natively would still work, but there would be two drawbacks: + +* `Buffer.from`/`Buffer.alloc` won't be polyfilled — use `SaferBuffer.from` and + `SaferBuffer.alloc` instead. +* You are still open to accidentally using the insecure deprecated API — use a linter to catch that. + +Note that using a linter to catch accidential `Buffer` constructor usage in this case is strongly +recommended. `Buffer` is not overriden in this usecase, so linters won't get confused. + +## «Without footguns»? + +Well, it is still possible to do _some_ things with `Buffer` API, e.g. accessing `.buffer` property +on older versions and duping things from there. You shouldn't do that in your code, probabably. + +The intention is to remove the most significant footguns that affect lots of packages in the +ecosystem, and to do it in the proper way. + +Also, this package doesn't protect against security issues affecting some Node.js versions, so for +usage in your own production code, it is still recommended to update to a Node.js version +[supported by upstream](https://github.com/nodejs/release#release-schedule). diff --git a/node_modules/safer-buffer/dangerous.js b/node_modules/safer-buffer/dangerous.js new file mode 100644 index 0000000..ca41fdc --- /dev/null +++ b/node_modules/safer-buffer/dangerous.js @@ -0,0 +1,58 @@ +/* eslint-disable node/no-deprecated-api */ + +'use strict' + +var buffer = require('buffer') +var Buffer = buffer.Buffer +var safer = require('./safer.js') +var Safer = safer.Buffer + +var dangerous = {} + +var key + +for (key in safer) { + if (!safer.hasOwnProperty(key)) continue + dangerous[key] = safer[key] +} + +var Dangereous = dangerous.Buffer = {} + +// Copy Safer API +for (key in Safer) { + if (!Safer.hasOwnProperty(key)) continue + Dangereous[key] = Safer[key] +} + +// Copy those missing unsafe methods, if they are present +for (key in Buffer) { + if (!Buffer.hasOwnProperty(key)) continue + if (Dangereous.hasOwnProperty(key)) continue + Dangereous[key] = Buffer[key] +} + +if (!Dangereous.allocUnsafe) { + Dangereous.allocUnsafe = function (size) { + if (typeof size !== 'number') { + throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size) + } + if (size < 0 || size >= 2 * (1 << 30)) { + throw new RangeError('The value "' + size + '" is invalid for option "size"') + } + return Buffer(size) + } +} + +if (!Dangereous.allocUnsafeSlow) { + Dangereous.allocUnsafeSlow = function (size) { + if (typeof size !== 'number') { + throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size) + } + if (size < 0 || size >= 2 * (1 << 30)) { + throw new RangeError('The value "' + size + '" is invalid for option "size"') + } + return buffer.SlowBuffer(size) + } +} + +module.exports = dangerous diff --git a/node_modules/safer-buffer/package.json b/node_modules/safer-buffer/package.json new file mode 100644 index 0000000..d452b04 --- /dev/null +++ b/node_modules/safer-buffer/package.json @@ -0,0 +1,34 @@ +{ + "name": "safer-buffer", + "version": "2.1.2", + "description": "Modern Buffer API polyfill without footguns", + "main": "safer.js", + "scripts": { + "browserify-test": "browserify --external tape tests.js > browserify-tests.js && tape browserify-tests.js", + "test": "standard && tape tests.js" + }, + "author": { + "name": "Nikita Skovoroda", + "email": "chalkerx@gmail.com", + "url": "https://github.com/ChALkeR" + }, + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/ChALkeR/safer-buffer.git" + }, + "bugs": { + "url": "https://github.com/ChALkeR/safer-buffer/issues" + }, + "devDependencies": { + "standard": "^11.0.1", + "tape": "^4.9.0" + }, + "files": [ + "Porting-Buffer.md", + "Readme.md", + "tests.js", + "dangerous.js", + "safer.js" + ] +} diff --git a/node_modules/safer-buffer/safer.js b/node_modules/safer-buffer/safer.js new file mode 100644 index 0000000..37c7e1a --- /dev/null +++ b/node_modules/safer-buffer/safer.js @@ -0,0 +1,77 @@ +/* eslint-disable node/no-deprecated-api */ + +'use strict' + +var buffer = require('buffer') +var Buffer = buffer.Buffer + +var safer = {} + +var key + +for (key in buffer) { + if (!buffer.hasOwnProperty(key)) continue + if (key === 'SlowBuffer' || key === 'Buffer') continue + safer[key] = buffer[key] +} + +var Safer = safer.Buffer = {} +for (key in Buffer) { + if (!Buffer.hasOwnProperty(key)) continue + if (key === 'allocUnsafe' || key === 'allocUnsafeSlow') continue + Safer[key] = Buffer[key] +} + +safer.Buffer.prototype = Buffer.prototype + +if (!Safer.from || Safer.from === Uint8Array.from) { + Safer.from = function (value, encodingOrOffset, length) { + if (typeof value === 'number') { + throw new TypeError('The "value" argument must not be of type number. Received type ' + typeof value) + } + if (value && typeof value.length === 'undefined') { + throw new TypeError('The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type ' + typeof value) + } + return Buffer(value, encodingOrOffset, length) + } +} + +if (!Safer.alloc) { + Safer.alloc = function (size, fill, encoding) { + if (typeof size !== 'number') { + throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size) + } + if (size < 0 || size >= 2 * (1 << 30)) { + throw new RangeError('The value "' + size + '" is invalid for option "size"') + } + var buf = Buffer(size) + if (!fill || fill.length === 0) { + buf.fill(0) + } else if (typeof encoding === 'string') { + buf.fill(fill, encoding) + } else { + buf.fill(fill) + } + return buf + } +} + +if (!safer.kStringMaxLength) { + try { + safer.kStringMaxLength = process.binding('buffer').kStringMaxLength + } catch (e) { + // we can't determine kStringMaxLength in environments where process.binding + // is unsupported, so let's not set it + } +} + +if (!safer.constants) { + safer.constants = { + MAX_LENGTH: safer.kMaxLength + } + if (safer.kStringMaxLength) { + safer.constants.MAX_STRING_LENGTH = safer.kStringMaxLength + } +} + +module.exports = safer diff --git a/node_modules/safer-buffer/tests.js b/node_modules/safer-buffer/tests.js new file mode 100644 index 0000000..7ed2777 --- /dev/null +++ b/node_modules/safer-buffer/tests.js @@ -0,0 +1,406 @@ +/* eslint-disable node/no-deprecated-api */ + +'use strict' + +var test = require('tape') + +var buffer = require('buffer') + +var index = require('./') +var safer = require('./safer') +var dangerous = require('./dangerous') + +/* Inheritance tests */ + +test('Default is Safer', function (t) { + t.equal(index, safer) + t.notEqual(safer, dangerous) + t.notEqual(index, dangerous) + t.end() +}) + +test('Is not a function', function (t) { + [index, safer, dangerous].forEach(function (impl) { + t.equal(typeof impl, 'object') + t.equal(typeof impl.Buffer, 'object') + }); + [buffer].forEach(function (impl) { + t.equal(typeof impl, 'object') + t.equal(typeof impl.Buffer, 'function') + }) + t.end() +}) + +test('Constructor throws', function (t) { + [index, safer, dangerous].forEach(function (impl) { + t.throws(function () { impl.Buffer() }) + t.throws(function () { impl.Buffer(0) }) + t.throws(function () { impl.Buffer('a') }) + t.throws(function () { impl.Buffer('a', 'utf-8') }) + t.throws(function () { return new impl.Buffer() }) + t.throws(function () { return new impl.Buffer(0) }) + t.throws(function () { return new impl.Buffer('a') }) + t.throws(function () { return new impl.Buffer('a', 'utf-8') }) + }) + t.end() +}) + +test('Safe methods exist', function (t) { + [index, safer, dangerous].forEach(function (impl) { + t.equal(typeof impl.Buffer.alloc, 'function', 'alloc') + t.equal(typeof impl.Buffer.from, 'function', 'from') + }) + t.end() +}) + +test('Unsafe methods exist only in Dangerous', function (t) { + [index, safer].forEach(function (impl) { + t.equal(typeof impl.Buffer.allocUnsafe, 'undefined') + t.equal(typeof impl.Buffer.allocUnsafeSlow, 'undefined') + }); + [dangerous].forEach(function (impl) { + t.equal(typeof impl.Buffer.allocUnsafe, 'function') + t.equal(typeof impl.Buffer.allocUnsafeSlow, 'function') + }) + t.end() +}) + +test('Generic methods/properties are defined and equal', function (t) { + ['poolSize', 'isBuffer', 'concat', 'byteLength'].forEach(function (method) { + [index, safer, dangerous].forEach(function (impl) { + t.equal(impl.Buffer[method], buffer.Buffer[method], method) + t.notEqual(typeof impl.Buffer[method], 'undefined', method) + }) + }) + t.end() +}) + +test('Built-in buffer static methods/properties are inherited', function (t) { + Object.keys(buffer).forEach(function (method) { + if (method === 'SlowBuffer' || method === 'Buffer') return; + [index, safer, dangerous].forEach(function (impl) { + t.equal(impl[method], buffer[method], method) + t.notEqual(typeof impl[method], 'undefined', method) + }) + }) + t.end() +}) + +test('Built-in Buffer static methods/properties are inherited', function (t) { + Object.keys(buffer.Buffer).forEach(function (method) { + if (method === 'allocUnsafe' || method === 'allocUnsafeSlow') return; + [index, safer, dangerous].forEach(function (impl) { + t.equal(impl.Buffer[method], buffer.Buffer[method], method) + t.notEqual(typeof impl.Buffer[method], 'undefined', method) + }) + }) + t.end() +}) + +test('.prototype property of Buffer is inherited', function (t) { + [index, safer, dangerous].forEach(function (impl) { + t.equal(impl.Buffer.prototype, buffer.Buffer.prototype, 'prototype') + t.notEqual(typeof impl.Buffer.prototype, 'undefined', 'prototype') + }) + t.end() +}) + +test('All Safer methods are present in Dangerous', function (t) { + Object.keys(safer).forEach(function (method) { + if (method === 'Buffer') return; + [index, safer, dangerous].forEach(function (impl) { + t.equal(impl[method], safer[method], method) + if (method !== 'kStringMaxLength') { + t.notEqual(typeof impl[method], 'undefined', method) + } + }) + }) + Object.keys(safer.Buffer).forEach(function (method) { + [index, safer, dangerous].forEach(function (impl) { + t.equal(impl.Buffer[method], safer.Buffer[method], method) + t.notEqual(typeof impl.Buffer[method], 'undefined', method) + }) + }) + t.end() +}) + +test('Safe methods from Dangerous methods are present in Safer', function (t) { + Object.keys(dangerous).forEach(function (method) { + if (method === 'Buffer') return; + [index, safer, dangerous].forEach(function (impl) { + t.equal(impl[method], dangerous[method], method) + if (method !== 'kStringMaxLength') { + t.notEqual(typeof impl[method], 'undefined', method) + } + }) + }) + Object.keys(dangerous.Buffer).forEach(function (method) { + if (method === 'allocUnsafe' || method === 'allocUnsafeSlow') return; + [index, safer, dangerous].forEach(function (impl) { + t.equal(impl.Buffer[method], dangerous.Buffer[method], method) + t.notEqual(typeof impl.Buffer[method], 'undefined', method) + }) + }) + t.end() +}) + +/* Behaviour tests */ + +test('Methods return Buffers', function (t) { + [index, safer, dangerous].forEach(function (impl) { + t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(0))) + t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(0, 10))) + t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(0, 'a'))) + t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(10))) + t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(10, 'x'))) + t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(9, 'ab'))) + t.ok(buffer.Buffer.isBuffer(impl.Buffer.from(''))) + t.ok(buffer.Buffer.isBuffer(impl.Buffer.from('string'))) + t.ok(buffer.Buffer.isBuffer(impl.Buffer.from('string', 'utf-8'))) + t.ok(buffer.Buffer.isBuffer(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64'))) + t.ok(buffer.Buffer.isBuffer(impl.Buffer.from([0, 42, 3]))) + t.ok(buffer.Buffer.isBuffer(impl.Buffer.from(new Uint8Array([0, 42, 3])))) + t.ok(buffer.Buffer.isBuffer(impl.Buffer.from([]))) + }); + ['allocUnsafe', 'allocUnsafeSlow'].forEach(function (method) { + t.ok(buffer.Buffer.isBuffer(dangerous.Buffer[method](0))) + t.ok(buffer.Buffer.isBuffer(dangerous.Buffer[method](10))) + }) + t.end() +}) + +test('Constructor is buffer.Buffer', function (t) { + [index, safer, dangerous].forEach(function (impl) { + t.equal(impl.Buffer.alloc(0).constructor, buffer.Buffer) + t.equal(impl.Buffer.alloc(0, 10).constructor, buffer.Buffer) + t.equal(impl.Buffer.alloc(0, 'a').constructor, buffer.Buffer) + t.equal(impl.Buffer.alloc(10).constructor, buffer.Buffer) + t.equal(impl.Buffer.alloc(10, 'x').constructor, buffer.Buffer) + t.equal(impl.Buffer.alloc(9, 'ab').constructor, buffer.Buffer) + t.equal(impl.Buffer.from('').constructor, buffer.Buffer) + t.equal(impl.Buffer.from('string').constructor, buffer.Buffer) + t.equal(impl.Buffer.from('string', 'utf-8').constructor, buffer.Buffer) + t.equal(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64').constructor, buffer.Buffer) + t.equal(impl.Buffer.from([0, 42, 3]).constructor, buffer.Buffer) + t.equal(impl.Buffer.from(new Uint8Array([0, 42, 3])).constructor, buffer.Buffer) + t.equal(impl.Buffer.from([]).constructor, buffer.Buffer) + }); + [0, 10, 100].forEach(function (arg) { + t.equal(dangerous.Buffer.allocUnsafe(arg).constructor, buffer.Buffer) + t.equal(dangerous.Buffer.allocUnsafeSlow(arg).constructor, buffer.SlowBuffer(0).constructor) + }) + t.end() +}) + +test('Invalid calls throw', function (t) { + [index, safer, dangerous].forEach(function (impl) { + t.throws(function () { impl.Buffer.from(0) }) + t.throws(function () { impl.Buffer.from(10) }) + t.throws(function () { impl.Buffer.from(10, 'utf-8') }) + t.throws(function () { impl.Buffer.from('string', 'invalid encoding') }) + t.throws(function () { impl.Buffer.from(-10) }) + t.throws(function () { impl.Buffer.from(1e90) }) + t.throws(function () { impl.Buffer.from(Infinity) }) + t.throws(function () { impl.Buffer.from(-Infinity) }) + t.throws(function () { impl.Buffer.from(NaN) }) + t.throws(function () { impl.Buffer.from(null) }) + t.throws(function () { impl.Buffer.from(undefined) }) + t.throws(function () { impl.Buffer.from() }) + t.throws(function () { impl.Buffer.from({}) }) + t.throws(function () { impl.Buffer.alloc('') }) + t.throws(function () { impl.Buffer.alloc('string') }) + t.throws(function () { impl.Buffer.alloc('string', 'utf-8') }) + t.throws(function () { impl.Buffer.alloc('b25ldHdvdGhyZWU=', 'base64') }) + t.throws(function () { impl.Buffer.alloc(-10) }) + t.throws(function () { impl.Buffer.alloc(1e90) }) + t.throws(function () { impl.Buffer.alloc(2 * (1 << 30)) }) + t.throws(function () { impl.Buffer.alloc(Infinity) }) + t.throws(function () { impl.Buffer.alloc(-Infinity) }) + t.throws(function () { impl.Buffer.alloc(null) }) + t.throws(function () { impl.Buffer.alloc(undefined) }) + t.throws(function () { impl.Buffer.alloc() }) + t.throws(function () { impl.Buffer.alloc([]) }) + t.throws(function () { impl.Buffer.alloc([0, 42, 3]) }) + t.throws(function () { impl.Buffer.alloc({}) }) + }); + ['allocUnsafe', 'allocUnsafeSlow'].forEach(function (method) { + t.throws(function () { dangerous.Buffer[method]('') }) + t.throws(function () { dangerous.Buffer[method]('string') }) + t.throws(function () { dangerous.Buffer[method]('string', 'utf-8') }) + t.throws(function () { dangerous.Buffer[method](2 * (1 << 30)) }) + t.throws(function () { dangerous.Buffer[method](Infinity) }) + if (dangerous.Buffer[method] === buffer.Buffer.allocUnsafe) { + t.skip('Skipping, older impl of allocUnsafe coerced negative sizes to 0') + } else { + t.throws(function () { dangerous.Buffer[method](-10) }) + t.throws(function () { dangerous.Buffer[method](-1e90) }) + t.throws(function () { dangerous.Buffer[method](-Infinity) }) + } + t.throws(function () { dangerous.Buffer[method](null) }) + t.throws(function () { dangerous.Buffer[method](undefined) }) + t.throws(function () { dangerous.Buffer[method]() }) + t.throws(function () { dangerous.Buffer[method]([]) }) + t.throws(function () { dangerous.Buffer[method]([0, 42, 3]) }) + t.throws(function () { dangerous.Buffer[method]({}) }) + }) + t.end() +}) + +test('Buffers have appropriate lengths', function (t) { + [index, safer, dangerous].forEach(function (impl) { + t.equal(impl.Buffer.alloc(0).length, 0) + t.equal(impl.Buffer.alloc(10).length, 10) + t.equal(impl.Buffer.from('').length, 0) + t.equal(impl.Buffer.from('string').length, 6) + t.equal(impl.Buffer.from('string', 'utf-8').length, 6) + t.equal(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64').length, 11) + t.equal(impl.Buffer.from([0, 42, 3]).length, 3) + t.equal(impl.Buffer.from(new Uint8Array([0, 42, 3])).length, 3) + t.equal(impl.Buffer.from([]).length, 0) + }); + ['allocUnsafe', 'allocUnsafeSlow'].forEach(function (method) { + t.equal(dangerous.Buffer[method](0).length, 0) + t.equal(dangerous.Buffer[method](10).length, 10) + }) + t.end() +}) + +test('Buffers have appropriate lengths (2)', function (t) { + t.equal(index.Buffer.alloc, safer.Buffer.alloc) + t.equal(index.Buffer.alloc, dangerous.Buffer.alloc) + var ok = true; + [ safer.Buffer.alloc, + dangerous.Buffer.allocUnsafe, + dangerous.Buffer.allocUnsafeSlow + ].forEach(function (method) { + for (var i = 0; i < 1e2; i++) { + var length = Math.round(Math.random() * 1e5) + var buf = method(length) + if (!buffer.Buffer.isBuffer(buf)) ok = false + if (buf.length !== length) ok = false + } + }) + t.ok(ok) + t.end() +}) + +test('.alloc(size) is zero-filled and has correct length', function (t) { + t.equal(index.Buffer.alloc, safer.Buffer.alloc) + t.equal(index.Buffer.alloc, dangerous.Buffer.alloc) + var ok = true + for (var i = 0; i < 1e2; i++) { + var length = Math.round(Math.random() * 2e6) + var buf = index.Buffer.alloc(length) + if (!buffer.Buffer.isBuffer(buf)) ok = false + if (buf.length !== length) ok = false + var j + for (j = 0; j < length; j++) { + if (buf[j] !== 0) ok = false + } + buf.fill(1) + for (j = 0; j < length; j++) { + if (buf[j] !== 1) ok = false + } + } + t.ok(ok) + t.end() +}) + +test('.allocUnsafe / .allocUnsafeSlow are fillable and have correct lengths', function (t) { + ['allocUnsafe', 'allocUnsafeSlow'].forEach(function (method) { + var ok = true + for (var i = 0; i < 1e2; i++) { + var length = Math.round(Math.random() * 2e6) + var buf = dangerous.Buffer[method](length) + if (!buffer.Buffer.isBuffer(buf)) ok = false + if (buf.length !== length) ok = false + buf.fill(0, 0, length) + var j + for (j = 0; j < length; j++) { + if (buf[j] !== 0) ok = false + } + buf.fill(1, 0, length) + for (j = 0; j < length; j++) { + if (buf[j] !== 1) ok = false + } + } + t.ok(ok, method) + }) + t.end() +}) + +test('.alloc(size, fill) is `fill`-filled', function (t) { + t.equal(index.Buffer.alloc, safer.Buffer.alloc) + t.equal(index.Buffer.alloc, dangerous.Buffer.alloc) + var ok = true + for (var i = 0; i < 1e2; i++) { + var length = Math.round(Math.random() * 2e6) + var fill = Math.round(Math.random() * 255) + var buf = index.Buffer.alloc(length, fill) + if (!buffer.Buffer.isBuffer(buf)) ok = false + if (buf.length !== length) ok = false + for (var j = 0; j < length; j++) { + if (buf[j] !== fill) ok = false + } + } + t.ok(ok) + t.end() +}) + +test('.alloc(size, fill) is `fill`-filled', function (t) { + t.equal(index.Buffer.alloc, safer.Buffer.alloc) + t.equal(index.Buffer.alloc, dangerous.Buffer.alloc) + var ok = true + for (var i = 0; i < 1e2; i++) { + var length = Math.round(Math.random() * 2e6) + var fill = Math.round(Math.random() * 255) + var buf = index.Buffer.alloc(length, fill) + if (!buffer.Buffer.isBuffer(buf)) ok = false + if (buf.length !== length) ok = false + for (var j = 0; j < length; j++) { + if (buf[j] !== fill) ok = false + } + } + t.ok(ok) + t.deepEqual(index.Buffer.alloc(9, 'a'), index.Buffer.alloc(9, 97)) + t.notDeepEqual(index.Buffer.alloc(9, 'a'), index.Buffer.alloc(9, 98)) + + var tmp = new buffer.Buffer(2) + tmp.fill('ok') + if (tmp[1] === tmp[0]) { + // Outdated Node.js + t.deepEqual(index.Buffer.alloc(5, 'ok'), index.Buffer.from('ooooo')) + } else { + t.deepEqual(index.Buffer.alloc(5, 'ok'), index.Buffer.from('okoko')) + } + t.notDeepEqual(index.Buffer.alloc(5, 'ok'), index.Buffer.from('kokok')) + + t.end() +}) + +test('safer.Buffer.from returns results same as Buffer constructor', function (t) { + [index, safer, dangerous].forEach(function (impl) { + t.deepEqual(impl.Buffer.from(''), new buffer.Buffer('')) + t.deepEqual(impl.Buffer.from('string'), new buffer.Buffer('string')) + t.deepEqual(impl.Buffer.from('string', 'utf-8'), new buffer.Buffer('string', 'utf-8')) + t.deepEqual(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64'), new buffer.Buffer('b25ldHdvdGhyZWU=', 'base64')) + t.deepEqual(impl.Buffer.from([0, 42, 3]), new buffer.Buffer([0, 42, 3])) + t.deepEqual(impl.Buffer.from(new Uint8Array([0, 42, 3])), new buffer.Buffer(new Uint8Array([0, 42, 3]))) + t.deepEqual(impl.Buffer.from([]), new buffer.Buffer([])) + }) + t.end() +}) + +test('safer.Buffer.from returns consistent results', function (t) { + [index, safer, dangerous].forEach(function (impl) { + t.deepEqual(impl.Buffer.from(''), impl.Buffer.alloc(0)) + t.deepEqual(impl.Buffer.from([]), impl.Buffer.alloc(0)) + t.deepEqual(impl.Buffer.from(new Uint8Array([])), impl.Buffer.alloc(0)) + t.deepEqual(impl.Buffer.from('string', 'utf-8'), impl.Buffer.from('string')) + t.deepEqual(impl.Buffer.from('string'), impl.Buffer.from([115, 116, 114, 105, 110, 103])) + t.deepEqual(impl.Buffer.from('string'), impl.Buffer.from(impl.Buffer.from('string'))) + t.deepEqual(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64'), impl.Buffer.from('onetwothree')) + t.notDeepEqual(impl.Buffer.from('b25ldHdvdGhyZWU='), impl.Buffer.from('onetwothree')) + }) + t.end() +}) diff --git a/node_modules/send/HISTORY.md b/node_modules/send/HISTORY.md new file mode 100644 index 0000000..13789ba --- /dev/null +++ b/node_modules/send/HISTORY.md @@ -0,0 +1,538 @@ +0.19.2 / 2025-12-15 +=================== + +* deps: use tilde notation for dependencies +* deps: http-errors@~2.0.1 +* deps: statuses@~2.0.2 + +0.19.1 / 2024-10-09 +=================== + +* deps: encodeurl@~2.0.0 + +0.19.0 / 2024-09-10 +=================== + +* Remove link renderization in html while redirecting + +0.18.0 / 2022-03-23 +=================== + + * Fix emitted 416 error missing headers property + * Limit the headers removed for 304 response + * deps: depd@2.0.0 + - Replace internal `eval` usage with `Function` constructor + - Use instance methods on `process` to check for listeners + * deps: destroy@1.2.0 + * deps: http-errors@2.0.0 + - deps: depd@2.0.0 + - deps: statuses@2.0.1 + * deps: on-finished@2.4.1 + * deps: statuses@2.0.1 + +0.17.2 / 2021-12-11 +=================== + + * pref: ignore empty http tokens + * deps: http-errors@1.8.1 + - deps: inherits@2.0.4 + - deps: toidentifier@1.0.1 + - deps: setprototypeof@1.2.0 + * deps: ms@2.1.3 + +0.17.1 / 2019-05-10 +=================== + + * Set stricter CSP header in redirect & error responses + * deps: range-parser@~1.2.1 + +0.17.0 / 2019-05-03 +=================== + + * deps: http-errors@~1.7.2 + - Set constructor name when possible + - Use `toidentifier` module to make class names + - deps: depd@~1.1.2 + - deps: setprototypeof@1.1.1 + - deps: statuses@'>= 1.5.0 < 2' + * deps: mime@1.6.0 + - Add extensions for JPEG-2000 images + - Add new `font/*` types from IANA + - Add WASM mapping + - Update `.bdoc` to `application/bdoc` + - Update `.bmp` to `image/bmp` + - Update `.m4a` to `audio/mp4` + - Update `.rtf` to `application/rtf` + - Update `.wav` to `audio/wav` + - Update `.xml` to `application/xml` + - Update generic extensions to `application/octet-stream`: + `.deb`, `.dll`, `.dmg`, `.exe`, `.iso`, `.msi` + - Use mime-score module to resolve extension conflicts + * deps: ms@2.1.1 + - Add `week`/`w` support + - Fix negative number handling + * deps: statuses@~1.5.0 + * perf: remove redundant `path.normalize` call + +0.16.2 / 2018-02-07 +=================== + + * Fix incorrect end tag in default error & redirects + * deps: depd@~1.1.2 + - perf: remove argument reassignment + * deps: encodeurl@~1.0.2 + - Fix encoding `%` as last character + * deps: statuses@~1.4.0 + +0.16.1 / 2017-09-29 +=================== + + * Fix regression in edge-case behavior for empty `path` + +0.16.0 / 2017-09-27 +=================== + + * Add `immutable` option + * Fix missing `` in default error & redirects + * Use instance methods on steam to check for listeners + * deps: mime@1.4.1 + - Add 70 new types for file extensions + - Set charset as "UTF-8" for .js and .json + * perf: improve path validation speed + +0.15.6 / 2017-09-22 +=================== + + * deps: debug@2.6.9 + * perf: improve `If-Match` token parsing + +0.15.5 / 2017-09-20 +=================== + + * deps: etag@~1.8.1 + - perf: replace regular expression with substring + * deps: fresh@0.5.2 + - Fix handling of modified headers with invalid dates + - perf: improve ETag match loop + - perf: improve `If-None-Match` token parsing + +0.15.4 / 2017-08-05 +=================== + + * deps: debug@2.6.8 + * deps: depd@~1.1.1 + - Remove unnecessary `Buffer` loading + * deps: http-errors@~1.6.2 + - deps: depd@1.1.1 + +0.15.3 / 2017-05-16 +=================== + + * deps: debug@2.6.7 + - deps: ms@2.0.0 + * deps: ms@2.0.0 + +0.15.2 / 2017-04-26 +=================== + + * deps: debug@2.6.4 + - Fix `DEBUG_MAX_ARRAY_LENGTH` + - deps: ms@0.7.3 + * deps: ms@1.0.0 + +0.15.1 / 2017-03-04 +=================== + + * Fix issue when `Date.parse` does not return `NaN` on invalid date + * Fix strict violation in broken environments + +0.15.0 / 2017-02-25 +=================== + + * Support `If-Match` and `If-Unmodified-Since` headers + * Add `res` and `path` arguments to `directory` event + * Remove usage of `res._headers` private field + - Improves compatibility with Node.js 8 nightly + * Send complete HTML document in redirect & error responses + * Set default CSP header in redirect & error responses + * Use `res.getHeaderNames()` when available + * Use `res.headersSent` when available + * deps: debug@2.6.1 + - Allow colors in workers + - Deprecated `DEBUG_FD` environment variable set to `3` or higher + - Fix error when running under React Native + - Use same color for same namespace + - deps: ms@0.7.2 + * deps: etag@~1.8.0 + * deps: fresh@0.5.0 + - Fix false detection of `no-cache` request directive + - Fix incorrect result when `If-None-Match` has both `*` and ETags + - Fix weak `ETag` matching to match spec + - perf: delay reading header values until needed + - perf: enable strict mode + - perf: hoist regular expressions + - perf: remove duplicate conditional + - perf: remove unnecessary boolean coercions + - perf: skip checking modified time if ETag check failed + - perf: skip parsing `If-None-Match` when no `ETag` header + - perf: use `Date.parse` instead of `new Date` + * deps: http-errors@~1.6.1 + - Make `message` property enumerable for `HttpError`s + - deps: setprototypeof@1.0.3 + +0.14.2 / 2017-01-23 +=================== + + * deps: http-errors@~1.5.1 + - deps: inherits@2.0.3 + - deps: setprototypeof@1.0.2 + - deps: statuses@'>= 1.3.1 < 2' + * deps: ms@0.7.2 + * deps: statuses@~1.3.1 + +0.14.1 / 2016-06-09 +=================== + + * Fix redirect error when `path` contains raw non-URL characters + * Fix redirect when `path` starts with multiple forward slashes + +0.14.0 / 2016-06-06 +=================== + + * Add `acceptRanges` option + * Add `cacheControl` option + * Attempt to combine multiple ranges into single range + * Correctly inherit from `Stream` class + * Fix `Content-Range` header in 416 responses when using `start`/`end` options + * Fix `Content-Range` header missing from default 416 responses + * Ignore non-byte `Range` headers + * deps: http-errors@~1.5.0 + - Add `HttpError` export, for `err instanceof createError.HttpError` + - Support new code `421 Misdirected Request` + - Use `setprototypeof` module to replace `__proto__` setting + - deps: inherits@2.0.1 + - deps: statuses@'>= 1.3.0 < 2' + - perf: enable strict mode + * deps: range-parser@~1.2.0 + - Fix incorrectly returning -1 when there is at least one valid range + - perf: remove internal function + * deps: statuses@~1.3.0 + - Add `421 Misdirected Request` + - perf: enable strict mode + * perf: remove argument reassignment + +0.13.2 / 2016-03-05 +=================== + + * Fix invalid `Content-Type` header when `send.mime.default_type` unset + +0.13.1 / 2016-01-16 +=================== + + * deps: depd@~1.1.0 + - Support web browser loading + - perf: enable strict mode + * deps: destroy@~1.0.4 + - perf: enable strict mode + * deps: escape-html@~1.0.3 + - perf: enable strict mode + - perf: optimize string replacement + - perf: use faster string coercion + * deps: range-parser@~1.0.3 + - perf: enable strict mode + +0.13.0 / 2015-06-16 +=================== + + * Allow Node.js HTTP server to set `Date` response header + * Fix incorrectly removing `Content-Location` on 304 response + * Improve the default redirect response headers + * Send appropriate headers on default error response + * Use `http-errors` for standard emitted errors + * Use `statuses` instead of `http` module for status messages + * deps: escape-html@1.0.2 + * deps: etag@~1.7.0 + - Improve stat performance by removing hashing + * deps: fresh@0.3.0 + - Add weak `ETag` matching support + * deps: on-finished@~2.3.0 + - Add defined behavior for HTTP `CONNECT` requests + - Add defined behavior for HTTP `Upgrade` requests + - deps: ee-first@1.1.1 + * perf: enable strict mode + * perf: remove unnecessary array allocations + +0.12.3 / 2015-05-13 +=================== + + * deps: debug@~2.2.0 + - deps: ms@0.7.1 + * deps: depd@~1.0.1 + * deps: etag@~1.6.0 + - Improve support for JXcore + - Support "fake" stats objects in environments without `fs` + * deps: ms@0.7.1 + - Prevent extraordinarily long inputs + * deps: on-finished@~2.2.1 + +0.12.2 / 2015-03-13 +=================== + + * Throw errors early for invalid `extensions` or `index` options + * deps: debug@~2.1.3 + - Fix high intensity foreground color for bold + - deps: ms@0.7.0 + +0.12.1 / 2015-02-17 +=================== + + * Fix regression sending zero-length files + +0.12.0 / 2015-02-16 +=================== + + * Always read the stat size from the file + * Fix mutating passed-in `options` + * deps: mime@1.3.4 + +0.11.1 / 2015-01-20 +=================== + + * Fix `root` path disclosure + +0.11.0 / 2015-01-05 +=================== + + * deps: debug@~2.1.1 + * deps: etag@~1.5.1 + - deps: crc@3.2.1 + * deps: ms@0.7.0 + - Add `milliseconds` + - Add `msecs` + - Add `secs` + - Add `mins` + - Add `hrs` + - Add `yrs` + * deps: on-finished@~2.2.0 + +0.10.1 / 2014-10-22 +=================== + + * deps: on-finished@~2.1.1 + - Fix handling of pipelined requests + +0.10.0 / 2014-10-15 +=================== + + * deps: debug@~2.1.0 + - Implement `DEBUG_FD` env variable support + * deps: depd@~1.0.0 + * deps: etag@~1.5.0 + - Improve string performance + - Slightly improve speed for weak ETags over 1KB + +0.9.3 / 2014-09-24 +================== + + * deps: etag@~1.4.0 + - Support "fake" stats objects + +0.9.2 / 2014-09-15 +================== + + * deps: depd@0.4.5 + * deps: etag@~1.3.1 + * deps: range-parser@~1.0.2 + +0.9.1 / 2014-09-07 +================== + + * deps: fresh@0.2.4 + +0.9.0 / 2014-09-07 +================== + + * Add `lastModified` option + * Use `etag` to generate `ETag` header + * deps: debug@~2.0.0 + +0.8.5 / 2014-09-04 +================== + + * Fix malicious path detection for empty string path + +0.8.4 / 2014-09-04 +================== + + * Fix a path traversal issue when using `root` + +0.8.3 / 2014-08-16 +================== + + * deps: destroy@1.0.3 + - renamed from dethroy + * deps: on-finished@2.1.0 + +0.8.2 / 2014-08-14 +================== + + * Work around `fd` leak in Node.js 0.10 for `fs.ReadStream` + * deps: dethroy@1.0.2 + +0.8.1 / 2014-08-05 +================== + + * Fix `extensions` behavior when file already has extension + +0.8.0 / 2014-08-05 +================== + + * Add `extensions` option + +0.7.4 / 2014-08-04 +================== + + * Fix serving index files without root dir + +0.7.3 / 2014-07-29 +================== + + * Fix incorrect 403 on Windows and Node.js 0.11 + +0.7.2 / 2014-07-27 +================== + + * deps: depd@0.4.4 + - Work-around v8 generating empty stack traces + +0.7.1 / 2014-07-26 +================== + + * deps: depd@0.4.3 + - Fix exception when global `Error.stackTraceLimit` is too low + +0.7.0 / 2014-07-20 +================== + + * Deprecate `hidden` option; use `dotfiles` option + * Add `dotfiles` option + * deps: debug@1.0.4 + * deps: depd@0.4.2 + - Add `TRACE_DEPRECATION` environment variable + - Remove non-standard grey color from color output + - Support `--no-deprecation` argument + - Support `--trace-deprecation` argument + +0.6.0 / 2014-07-11 +================== + + * Deprecate `from` option; use `root` option + * Deprecate `send.etag()` -- use `etag` in `options` + * Deprecate `send.hidden()` -- use `hidden` in `options` + * Deprecate `send.index()` -- use `index` in `options` + * Deprecate `send.maxage()` -- use `maxAge` in `options` + * Deprecate `send.root()` -- use `root` in `options` + * Cap `maxAge` value to 1 year + * deps: debug@1.0.3 + - Add support for multiple wildcards in namespaces + +0.5.0 / 2014-06-28 +================== + + * Accept string for `maxAge` (converted by `ms`) + * Add `headers` event + * Include link in default redirect response + * Use `EventEmitter.listenerCount` to count listeners + +0.4.3 / 2014-06-11 +================== + + * Do not throw un-catchable error on file open race condition + * Use `escape-html` for HTML escaping + * deps: debug@1.0.2 + - fix some debugging output colors on node.js 0.8 + * deps: finished@1.2.2 + * deps: fresh@0.2.2 + +0.4.2 / 2014-06-09 +================== + + * fix "event emitter leak" warnings + * deps: debug@1.0.1 + * deps: finished@1.2.1 + +0.4.1 / 2014-06-02 +================== + + * Send `max-age` in `Cache-Control` in correct format + +0.4.0 / 2014-05-27 +================== + + * Calculate ETag with md5 for reduced collisions + * Fix wrong behavior when index file matches directory + * Ignore stream errors after request ends + - Goodbye `EBADF, read` + * Skip directories in index file search + * deps: debug@0.8.1 + +0.3.0 / 2014-04-24 +================== + + * Fix sending files with dots without root set + * Coerce option types + * Accept API options in options object + * Set etags to "weak" + * Include file path in etag + * Make "Can't set headers after they are sent." catchable + * Send full entity-body for multi range requests + * Default directory access to 403 when index disabled + * Support multiple index paths + * Support "If-Range" header + * Control whether to generate etags + * deps: mime@1.2.11 + +0.2.0 / 2014-01-29 +================== + + * update range-parser and fresh + +0.1.4 / 2013-08-11 +================== + + * update fresh + +0.1.3 / 2013-07-08 +================== + + * Revert "Fix fd leak" + +0.1.2 / 2013-07-03 +================== + + * Fix fd leak + +0.1.0 / 2012-08-25 +================== + + * add options parameter to send() that is passed to fs.createReadStream() [kanongil] + +0.0.4 / 2012-08-16 +================== + + * allow custom "Accept-Ranges" definition + +0.0.3 / 2012-07-16 +================== + + * fix normalization of the root directory. Closes #3 + +0.0.2 / 2012-07-09 +================== + + * add passing of req explicitly for now (YUCK) + +0.0.1 / 2010-01-03 +================== + + * Initial release diff --git a/node_modules/send/LICENSE b/node_modules/send/LICENSE new file mode 100644 index 0000000..b6ea1c1 --- /dev/null +++ b/node_modules/send/LICENSE @@ -0,0 +1,23 @@ +(The MIT License) + +Copyright (c) 2012 TJ Holowaychuk +Copyright (c) 2014-2022 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/send/README.md b/node_modules/send/README.md new file mode 100644 index 0000000..fadf838 --- /dev/null +++ b/node_modules/send/README.md @@ -0,0 +1,327 @@ +# send + +[![NPM Version][npm-version-image]][npm-url] +[![NPM Downloads][npm-downloads-image]][npm-url] +[![Linux Build][github-actions-ci-image]][github-actions-ci-url] +[![Windows Build][appveyor-image]][appveyor-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +Send is a library for streaming files from the file system as a http response +supporting partial responses (Ranges), conditional-GET negotiation (If-Match, +If-Unmodified-Since, If-None-Match, If-Modified-Since), high test coverage, +and granular events which may be leveraged to take appropriate actions in your +application or framework. + +Looking to serve up entire folders mapped to URLs? Try [serve-static](https://www.npmjs.org/package/serve-static). + +## Installation + +This is a [Node.js](https://nodejs.org/en/) module available through the +[npm registry](https://www.npmjs.com/). Installation is done using the +[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): + +```bash +$ npm install send +``` + +## API + +```js +var send = require('send') +``` + +### send(req, path, [options]) + +Create a new `SendStream` for the given path to send to a `res`. The `req` is +the Node.js HTTP request and the `path` is a urlencoded path to send (urlencoded, +not the actual file-system path). + +#### Options + +##### acceptRanges + +Enable or disable accepting ranged requests, defaults to true. +Disabling this will not send `Accept-Ranges` and ignore the contents +of the `Range` request header. + +##### cacheControl + +Enable or disable setting `Cache-Control` response header, defaults to +true. Disabling this will ignore the `immutable` and `maxAge` options. + +##### dotfiles + +Set how "dotfiles" are treated when encountered. A dotfile is a file +or directory that begins with a dot ("."). Note this check is done on +the path itself without checking if the path actually exists on the +disk. If `root` is specified, only the dotfiles above the root are +checked (i.e. the root itself can be within a dotfile when when set +to "deny"). + + - `'allow'` No special treatment for dotfiles. + - `'deny'` Send a 403 for any request for a dotfile. + - `'ignore'` Pretend like the dotfile does not exist and 404. + +The default value is _similar_ to `'ignore'`, with the exception that +this default will not ignore the files within a directory that begins +with a dot, for backward-compatibility. + +##### end + +Byte offset at which the stream ends, defaults to the length of the file +minus 1. The end is inclusive in the stream, meaning `end: 3` will include +the 4th byte in the stream. + +##### etag + +Enable or disable etag generation, defaults to true. + +##### extensions + +If a given file doesn't exist, try appending one of the given extensions, +in the given order. By default, this is disabled (set to `false`). An +example value that will serve extension-less HTML files: `['html', 'htm']`. +This is skipped if the requested file already has an extension. + +##### immutable + +Enable or disable the `immutable` directive in the `Cache-Control` response +header, defaults to `false`. If set to `true`, the `maxAge` option should +also be specified to enable caching. The `immutable` directive will prevent +supported clients from making conditional requests during the life of the +`maxAge` option to check if the file has changed. + +##### index + +By default send supports "index.html" files, to disable this +set `false` or to supply a new index pass a string or an array +in preferred order. + +##### lastModified + +Enable or disable `Last-Modified` header, defaults to true. Uses the file +system's last modified value. + +##### maxAge + +Provide a max-age in milliseconds for http caching, defaults to 0. +This can also be a string accepted by the +[ms](https://www.npmjs.org/package/ms#readme) module. + +##### root + +Serve files relative to `path`. + +##### start + +Byte offset at which the stream starts, defaults to 0. The start is inclusive, +meaning `start: 2` will include the 3rd byte in the stream. + +#### Events + +The `SendStream` is an event emitter and will emit the following events: + + - `error` an error occurred `(err)` + - `directory` a directory was requested `(res, path)` + - `file` a file was requested `(path, stat)` + - `headers` the headers are about to be set on a file `(res, path, stat)` + - `stream` file streaming has started `(stream)` + - `end` streaming has completed + +#### .pipe + +The `pipe` method is used to pipe the response into the Node.js HTTP response +object, typically `send(req, path, options).pipe(res)`. + +### .mime + +The `mime` export is the global instance of of the +[`mime` npm module](https://www.npmjs.com/package/mime). + +This is used to configure the MIME types that are associated with file extensions +as well as other options for how to resolve the MIME type of a file (like the +default type to use for an unknown file extension). + +## Error-handling + +By default when no `error` listeners are present an automatic response will be +made, otherwise you have full control over the response, aka you may show a 5xx +page etc. + +## Caching + +It does _not_ perform internal caching, you should use a reverse proxy cache +such as Varnish for this, or those fancy things called CDNs. If your +application is small enough that it would benefit from single-node memory +caching, it's small enough that it does not need caching at all ;). + +## Debugging + +To enable `debug()` instrumentation output export __DEBUG__: + +``` +$ DEBUG=send node app +``` + +## Running tests + +``` +$ npm install +$ npm test +``` + +## Examples + +### Serve a specific file + +This simple example will send a specific file to all requests. + +```js +var http = require('http') +var send = require('send') + +var server = http.createServer(function onRequest (req, res) { + send(req, '/path/to/index.html') + .pipe(res) +}) + +server.listen(3000) +``` + +### Serve all files from a directory + +This simple example will just serve up all the files in a +given directory as the top-level. For example, a request +`GET /foo.txt` will send back `/www/public/foo.txt`. + +```js +var http = require('http') +var parseUrl = require('parseurl') +var send = require('send') + +var server = http.createServer(function onRequest (req, res) { + send(req, parseUrl(req).pathname, { root: '/www/public' }) + .pipe(res) +}) + +server.listen(3000) +``` + +### Custom file types + +```js +var http = require('http') +var parseUrl = require('parseurl') +var send = require('send') + +// Default unknown types to text/plain +send.mime.default_type = 'text/plain' + +// Add a custom type +send.mime.define({ + 'application/x-my-type': ['x-mt', 'x-mtt'] +}) + +var server = http.createServer(function onRequest (req, res) { + send(req, parseUrl(req).pathname, { root: '/www/public' }) + .pipe(res) +}) + +server.listen(3000) +``` + +### Custom directory index view + +This is a example of serving up a structure of directories with a +custom function to render a listing of a directory. + +```js +var http = require('http') +var fs = require('fs') +var parseUrl = require('parseurl') +var send = require('send') + +// Transfer arbitrary files from within /www/example.com/public/* +// with a custom handler for directory listing +var server = http.createServer(function onRequest (req, res) { + send(req, parseUrl(req).pathname, { index: false, root: '/www/public' }) + .once('directory', directory) + .pipe(res) +}) + +server.listen(3000) + +// Custom directory handler +function directory (res, path) { + var stream = this + + // redirect to trailing slash for consistent url + if (!stream.hasTrailingSlash()) { + return stream.redirect(path) + } + + // get directory list + fs.readdir(path, function onReaddir (err, list) { + if (err) return stream.error(err) + + // render an index for the directory + res.setHeader('Content-Type', 'text/plain; charset=UTF-8') + res.end(list.join('\n') + '\n') + }) +} +``` + +### Serving from a root directory with custom error-handling + +```js +var http = require('http') +var parseUrl = require('parseurl') +var send = require('send') + +var server = http.createServer(function onRequest (req, res) { + // your custom error-handling logic: + function error (err) { + res.statusCode = err.status || 500 + res.end(err.message) + } + + // your custom headers + function headers (res, path, stat) { + // serve all files for download + res.setHeader('Content-Disposition', 'attachment') + } + + // your custom directory handling logic: + function redirect () { + res.statusCode = 301 + res.setHeader('Location', req.url + '/') + res.end('Redirecting to ' + req.url + '/') + } + + // transfer arbitrary files from within + // /www/example.com/public/* + send(req, parseUrl(req).pathname, { root: '/www/public' }) + .on('error', error) + .on('directory', redirect) + .on('headers', headers) + .pipe(res) +}) + +server.listen(3000) +``` + +## License + +[MIT](LICENSE) + +[appveyor-image]: https://badgen.net/appveyor/ci/dougwilson/send/master?label=windows +[appveyor-url]: https://ci.appveyor.com/project/dougwilson/send +[coveralls-image]: https://badgen.net/coveralls/c/github/pillarjs/send/master +[coveralls-url]: https://coveralls.io/r/pillarjs/send?branch=master +[github-actions-ci-image]: https://badgen.net/github/checks/pillarjs/send/master?label=linux +[github-actions-ci-url]: https://github.com/pillarjs/send/actions/workflows/ci.yml +[node-image]: https://badgen.net/npm/node/send +[node-url]: https://nodejs.org/en/download/ +[npm-downloads-image]: https://badgen.net/npm/dm/send +[npm-url]: https://npmjs.org/package/send +[npm-version-image]: https://badgen.net/npm/v/send diff --git a/node_modules/send/SECURITY.md b/node_modules/send/SECURITY.md new file mode 100644 index 0000000..46b48f7 --- /dev/null +++ b/node_modules/send/SECURITY.md @@ -0,0 +1,24 @@ +# Security Policies and Procedures + +## Reporting a Bug + +The `send` team and community take all security bugs seriously. Thank you +for improving the security of Express. We appreciate your efforts and +responsible disclosure and will make every effort to acknowledge your +contributions. + +Report security bugs by emailing the current owner(s) of `send`. This information +can be found in the npm registry using the command `npm owner ls send`. +If unsure or unable to get the information from the above, open an issue +in the [project issue tracker](https://github.com/pillarjs/send/issues) +asking for the current contact information. + +To ensure the timely response to your report, please ensure that the entirety +of the report is contained within the email body and not solely behind a web +link or an attachment. + +At least one owner will acknowledge your email within 48 hours, and will send a +more detailed response within 48 hours indicating the next steps in handling +your report. After the initial reply to your report, the owners will +endeavor to keep you informed of the progress towards a fix and full +announcement, and may ask for additional information or guidance. diff --git a/node_modules/send/index.js b/node_modules/send/index.js new file mode 100644 index 0000000..768f8ca --- /dev/null +++ b/node_modules/send/index.js @@ -0,0 +1,1142 @@ +/*! + * send + * Copyright(c) 2012 TJ Holowaychuk + * Copyright(c) 2014-2022 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + * @private + */ + +var createError = require('http-errors') +var debug = require('debug')('send') +var deprecate = require('depd')('send') +var destroy = require('destroy') +var encodeUrl = require('encodeurl') +var escapeHtml = require('escape-html') +var etag = require('etag') +var fresh = require('fresh') +var fs = require('fs') +var mime = require('mime') +var ms = require('ms') +var onFinished = require('on-finished') +var parseRange = require('range-parser') +var path = require('path') +var statuses = require('statuses') +var Stream = require('stream') +var util = require('util') + +/** + * Path function references. + * @private + */ + +var extname = path.extname +var join = path.join +var normalize = path.normalize +var resolve = path.resolve +var sep = path.sep + +/** + * Regular expression for identifying a bytes Range header. + * @private + */ + +var BYTES_RANGE_REGEXP = /^ *bytes=/ + +/** + * Maximum value allowed for the max age. + * @private + */ + +var MAX_MAXAGE = 60 * 60 * 24 * 365 * 1000 // 1 year + +/** + * Regular expression to match a path with a directory up component. + * @private + */ + +var UP_PATH_REGEXP = /(?:^|[\\/])\.\.(?:[\\/]|$)/ + +/** + * Module exports. + * @public + */ + +module.exports = send +module.exports.mime = mime + +/** + * Return a `SendStream` for `req` and `path`. + * + * @param {object} req + * @param {string} path + * @param {object} [options] + * @return {SendStream} + * @public + */ + +function send (req, path, options) { + return new SendStream(req, path, options) +} + +/** + * Initialize a `SendStream` with the given `path`. + * + * @param {Request} req + * @param {String} path + * @param {object} [options] + * @private + */ + +function SendStream (req, path, options) { + Stream.call(this) + + var opts = options || {} + + this.options = opts + this.path = path + this.req = req + + this._acceptRanges = opts.acceptRanges !== undefined + ? Boolean(opts.acceptRanges) + : true + + this._cacheControl = opts.cacheControl !== undefined + ? Boolean(opts.cacheControl) + : true + + this._etag = opts.etag !== undefined + ? Boolean(opts.etag) + : true + + this._dotfiles = opts.dotfiles !== undefined + ? opts.dotfiles + : 'ignore' + + if (this._dotfiles !== 'ignore' && this._dotfiles !== 'allow' && this._dotfiles !== 'deny') { + throw new TypeError('dotfiles option must be "allow", "deny", or "ignore"') + } + + this._hidden = Boolean(opts.hidden) + + if (opts.hidden !== undefined) { + deprecate('hidden: use dotfiles: \'' + (this._hidden ? 'allow' : 'ignore') + '\' instead') + } + + // legacy support + if (opts.dotfiles === undefined) { + this._dotfiles = undefined + } + + this._extensions = opts.extensions !== undefined + ? normalizeList(opts.extensions, 'extensions option') + : [] + + this._immutable = opts.immutable !== undefined + ? Boolean(opts.immutable) + : false + + this._index = opts.index !== undefined + ? normalizeList(opts.index, 'index option') + : ['index.html'] + + this._lastModified = opts.lastModified !== undefined + ? Boolean(opts.lastModified) + : true + + this._maxage = opts.maxAge || opts.maxage + this._maxage = typeof this._maxage === 'string' + ? ms(this._maxage) + : Number(this._maxage) + this._maxage = !isNaN(this._maxage) + ? Math.min(Math.max(0, this._maxage), MAX_MAXAGE) + : 0 + + this._root = opts.root + ? resolve(opts.root) + : null + + if (!this._root && opts.from) { + this.from(opts.from) + } +} + +/** + * Inherits from `Stream`. + */ + +util.inherits(SendStream, Stream) + +/** + * Enable or disable etag generation. + * + * @param {Boolean} val + * @return {SendStream} + * @api public + */ + +SendStream.prototype.etag = deprecate.function(function etag (val) { + this._etag = Boolean(val) + debug('etag %s', this._etag) + return this +}, 'send.etag: pass etag as option') + +/** + * Enable or disable "hidden" (dot) files. + * + * @param {Boolean} path + * @return {SendStream} + * @api public + */ + +SendStream.prototype.hidden = deprecate.function(function hidden (val) { + this._hidden = Boolean(val) + this._dotfiles = undefined + debug('hidden %s', this._hidden) + return this +}, 'send.hidden: use dotfiles option') + +/** + * Set index `paths`, set to a falsy + * value to disable index support. + * + * @param {String|Boolean|Array} paths + * @return {SendStream} + * @api public + */ + +SendStream.prototype.index = deprecate.function(function index (paths) { + var index = !paths ? [] : normalizeList(paths, 'paths argument') + debug('index %o', paths) + this._index = index + return this +}, 'send.index: pass index as option') + +/** + * Set root `path`. + * + * @param {String} path + * @return {SendStream} + * @api public + */ + +SendStream.prototype.root = function root (path) { + this._root = resolve(String(path)) + debug('root %s', this._root) + return this +} + +SendStream.prototype.from = deprecate.function(SendStream.prototype.root, + 'send.from: pass root as option') + +SendStream.prototype.root = deprecate.function(SendStream.prototype.root, + 'send.root: pass root as option') + +/** + * Set max-age to `maxAge`. + * + * @param {Number} maxAge + * @return {SendStream} + * @api public + */ + +SendStream.prototype.maxage = deprecate.function(function maxage (maxAge) { + this._maxage = typeof maxAge === 'string' + ? ms(maxAge) + : Number(maxAge) + this._maxage = !isNaN(this._maxage) + ? Math.min(Math.max(0, this._maxage), MAX_MAXAGE) + : 0 + debug('max-age %d', this._maxage) + return this +}, 'send.maxage: pass maxAge as option') + +/** + * Emit error with `status`. + * + * @param {number} status + * @param {Error} [err] + * @private + */ + +SendStream.prototype.error = function error (status, err) { + // emit if listeners instead of responding + if (hasListeners(this, 'error')) { + return this.emit('error', createHttpError(status, err)) + } + + var res = this.res + var msg = statuses.message[status] || String(status) + var doc = createHtmlDocument('Error', escapeHtml(msg)) + + // clear existing headers + clearHeaders(res) + + // add error headers + if (err && err.headers) { + setHeaders(res, err.headers) + } + + // send basic response + res.statusCode = status + res.setHeader('Content-Type', 'text/html; charset=UTF-8') + res.setHeader('Content-Length', Buffer.byteLength(doc)) + res.setHeader('Content-Security-Policy', "default-src 'none'") + res.setHeader('X-Content-Type-Options', 'nosniff') + res.end(doc) +} + +/** + * Check if the pathname ends with "/". + * + * @return {boolean} + * @private + */ + +SendStream.prototype.hasTrailingSlash = function hasTrailingSlash () { + return this.path[this.path.length - 1] === '/' +} + +/** + * Check if this is a conditional GET request. + * + * @return {Boolean} + * @api private + */ + +SendStream.prototype.isConditionalGET = function isConditionalGET () { + return this.req.headers['if-match'] || + this.req.headers['if-unmodified-since'] || + this.req.headers['if-none-match'] || + this.req.headers['if-modified-since'] +} + +/** + * Check if the request preconditions failed. + * + * @return {boolean} + * @private + */ + +SendStream.prototype.isPreconditionFailure = function isPreconditionFailure () { + var req = this.req + var res = this.res + + // if-match + var match = req.headers['if-match'] + if (match) { + var etag = res.getHeader('ETag') + return !etag || (match !== '*' && parseTokenList(match).every(function (match) { + return match !== etag && match !== 'W/' + etag && 'W/' + match !== etag + })) + } + + // if-unmodified-since + var unmodifiedSince = parseHttpDate(req.headers['if-unmodified-since']) + if (!isNaN(unmodifiedSince)) { + var lastModified = parseHttpDate(res.getHeader('Last-Modified')) + return isNaN(lastModified) || lastModified > unmodifiedSince + } + + return false +} + +/** + * Strip various content header fields for a change in entity. + * + * @private + */ + +SendStream.prototype.removeContentHeaderFields = function removeContentHeaderFields () { + var res = this.res + + res.removeHeader('Content-Encoding') + res.removeHeader('Content-Language') + res.removeHeader('Content-Length') + res.removeHeader('Content-Range') + res.removeHeader('Content-Type') +} + +/** + * Respond with 304 not modified. + * + * @api private + */ + +SendStream.prototype.notModified = function notModified () { + var res = this.res + debug('not modified') + this.removeContentHeaderFields() + res.statusCode = 304 + res.end() +} + +/** + * Raise error that headers already sent. + * + * @api private + */ + +SendStream.prototype.headersAlreadySent = function headersAlreadySent () { + var err = new Error('Can\'t set headers after they are sent.') + debug('headers already sent') + this.error(500, err) +} + +/** + * Check if the request is cacheable, aka + * responded with 2xx or 304 (see RFC 2616 section 14.2{5,6}). + * + * @return {Boolean} + * @api private + */ + +SendStream.prototype.isCachable = function isCachable () { + var statusCode = this.res.statusCode + return (statusCode >= 200 && statusCode < 300) || + statusCode === 304 +} + +/** + * Handle stat() error. + * + * @param {Error} error + * @private + */ + +SendStream.prototype.onStatError = function onStatError (error) { + switch (error.code) { + case 'ENAMETOOLONG': + case 'ENOENT': + case 'ENOTDIR': + this.error(404, error) + break + default: + this.error(500, error) + break + } +} + +/** + * Check if the cache is fresh. + * + * @return {Boolean} + * @api private + */ + +SendStream.prototype.isFresh = function isFresh () { + return fresh(this.req.headers, { + etag: this.res.getHeader('ETag'), + 'last-modified': this.res.getHeader('Last-Modified') + }) +} + +/** + * Check if the range is fresh. + * + * @return {Boolean} + * @api private + */ + +SendStream.prototype.isRangeFresh = function isRangeFresh () { + var ifRange = this.req.headers['if-range'] + + if (!ifRange) { + return true + } + + // if-range as etag + if (ifRange.indexOf('"') !== -1) { + var etag = this.res.getHeader('ETag') + return Boolean(etag && ifRange.indexOf(etag) !== -1) + } + + // if-range as modified date + var lastModified = this.res.getHeader('Last-Modified') + return parseHttpDate(lastModified) <= parseHttpDate(ifRange) +} + +/** + * Redirect to path. + * + * @param {string} path + * @private + */ + +SendStream.prototype.redirect = function redirect (path) { + var res = this.res + + if (hasListeners(this, 'directory')) { + this.emit('directory', res, path) + return + } + + if (this.hasTrailingSlash()) { + this.error(403) + return + } + + var loc = encodeUrl(collapseLeadingSlashes(this.path + '/')) + var doc = createHtmlDocument('Redirecting', 'Redirecting to ' + escapeHtml(loc)) + + // redirect + res.statusCode = 301 + res.setHeader('Content-Type', 'text/html; charset=UTF-8') + res.setHeader('Content-Length', Buffer.byteLength(doc)) + res.setHeader('Content-Security-Policy', "default-src 'none'") + res.setHeader('X-Content-Type-Options', 'nosniff') + res.setHeader('Location', loc) + res.end(doc) +} + +/** + * Pipe to `res. + * + * @param {Stream} res + * @return {Stream} res + * @api public + */ + +SendStream.prototype.pipe = function pipe (res) { + // root path + var root = this._root + + // references + this.res = res + + // decode the path + var path = decode(this.path) + if (path === -1) { + this.error(400) + return res + } + + // null byte(s) + if (~path.indexOf('\0')) { + this.error(400) + return res + } + + var parts + if (root !== null) { + // normalize + if (path) { + path = normalize('.' + sep + path) + } + + // malicious path + if (UP_PATH_REGEXP.test(path)) { + debug('malicious path "%s"', path) + this.error(403) + return res + } + + // explode path parts + parts = path.split(sep) + + // join / normalize from optional root dir + path = normalize(join(root, path)) + } else { + // ".." is malicious without "root" + if (UP_PATH_REGEXP.test(path)) { + debug('malicious path "%s"', path) + this.error(403) + return res + } + + // explode path parts + parts = normalize(path).split(sep) + + // resolve the path + path = resolve(path) + } + + // dotfile handling + if (containsDotFile(parts)) { + var access = this._dotfiles + + // legacy support + if (access === undefined) { + access = parts[parts.length - 1][0] === '.' + ? (this._hidden ? 'allow' : 'ignore') + : 'allow' + } + + debug('%s dotfile "%s"', access, path) + switch (access) { + case 'allow': + break + case 'deny': + this.error(403) + return res + case 'ignore': + default: + this.error(404) + return res + } + } + + // index file support + if (this._index.length && this.hasTrailingSlash()) { + this.sendIndex(path) + return res + } + + this.sendFile(path) + return res +} + +/** + * Transfer `path`. + * + * @param {String} path + * @api public + */ + +SendStream.prototype.send = function send (path, stat) { + var len = stat.size + var options = this.options + var opts = {} + var res = this.res + var req = this.req + var ranges = req.headers.range + var offset = options.start || 0 + + if (headersSent(res)) { + // impossible to send now + this.headersAlreadySent() + return + } + + debug('pipe "%s"', path) + + // set header fields + this.setHeader(path, stat) + + // set content-type + this.type(path) + + // conditional GET support + if (this.isConditionalGET()) { + if (this.isPreconditionFailure()) { + this.error(412) + return + } + + if (this.isCachable() && this.isFresh()) { + this.notModified() + return + } + } + + // adjust len to start/end options + len = Math.max(0, len - offset) + if (options.end !== undefined) { + var bytes = options.end - offset + 1 + if (len > bytes) len = bytes + } + + // Range support + if (this._acceptRanges && BYTES_RANGE_REGEXP.test(ranges)) { + // parse + ranges = parseRange(len, ranges, { + combine: true + }) + + // If-Range support + if (!this.isRangeFresh()) { + debug('range stale') + ranges = -2 + } + + // unsatisfiable + if (ranges === -1) { + debug('range unsatisfiable') + + // Content-Range + res.setHeader('Content-Range', contentRange('bytes', len)) + + // 416 Requested Range Not Satisfiable + return this.error(416, { + headers: { 'Content-Range': res.getHeader('Content-Range') } + }) + } + + // valid (syntactically invalid/multiple ranges are treated as a regular response) + if (ranges !== -2 && ranges.length === 1) { + debug('range %j', ranges) + + // Content-Range + res.statusCode = 206 + res.setHeader('Content-Range', contentRange('bytes', len, ranges[0])) + + // adjust for requested range + offset += ranges[0].start + len = ranges[0].end - ranges[0].start + 1 + } + } + + // clone options + for (var prop in options) { + opts[prop] = options[prop] + } + + // set read options + opts.start = offset + opts.end = Math.max(offset, offset + len - 1) + + // content-length + res.setHeader('Content-Length', len) + + // HEAD support + if (req.method === 'HEAD') { + res.end() + return + } + + this.stream(path, opts) +} + +/** + * Transfer file for `path`. + * + * @param {String} path + * @api private + */ +SendStream.prototype.sendFile = function sendFile (path) { + var i = 0 + var self = this + + debug('stat "%s"', path) + fs.stat(path, function onstat (err, stat) { + if (err && err.code === 'ENOENT' && !extname(path) && path[path.length - 1] !== sep) { + // not found, check extensions + return next(err) + } + if (err) return self.onStatError(err) + if (stat.isDirectory()) return self.redirect(path) + self.emit('file', path, stat) + self.send(path, stat) + }) + + function next (err) { + if (self._extensions.length <= i) { + return err + ? self.onStatError(err) + : self.error(404) + } + + var p = path + '.' + self._extensions[i++] + + debug('stat "%s"', p) + fs.stat(p, function (err, stat) { + if (err) return next(err) + if (stat.isDirectory()) return next() + self.emit('file', p, stat) + self.send(p, stat) + }) + } +} + +/** + * Transfer index for `path`. + * + * @param {String} path + * @api private + */ +SendStream.prototype.sendIndex = function sendIndex (path) { + var i = -1 + var self = this + + function next (err) { + if (++i >= self._index.length) { + if (err) return self.onStatError(err) + return self.error(404) + } + + var p = join(path, self._index[i]) + + debug('stat "%s"', p) + fs.stat(p, function (err, stat) { + if (err) return next(err) + if (stat.isDirectory()) return next() + self.emit('file', p, stat) + self.send(p, stat) + }) + } + + next() +} + +/** + * Stream `path` to the response. + * + * @param {String} path + * @param {Object} options + * @api private + */ + +SendStream.prototype.stream = function stream (path, options) { + var self = this + var res = this.res + + // pipe + var stream = fs.createReadStream(path, options) + this.emit('stream', stream) + stream.pipe(res) + + // cleanup + function cleanup () { + destroy(stream, true) + } + + // response finished, cleanup + onFinished(res, cleanup) + + // error handling + stream.on('error', function onerror (err) { + // clean up stream early + cleanup() + + // error + self.onStatError(err) + }) + + // end + stream.on('end', function onend () { + self.emit('end') + }) +} + +/** + * Set content-type based on `path` + * if it hasn't been explicitly set. + * + * @param {String} path + * @api private + */ + +SendStream.prototype.type = function type (path) { + var res = this.res + + if (res.getHeader('Content-Type')) return + + var type = mime.lookup(path) + + if (!type) { + debug('no content-type') + return + } + + var charset = mime.charsets.lookup(type) + + debug('content-type %s', type) + res.setHeader('Content-Type', type + (charset ? '; charset=' + charset : '')) +} + +/** + * Set response header fields, most + * fields may be pre-defined. + * + * @param {String} path + * @param {Object} stat + * @api private + */ + +SendStream.prototype.setHeader = function setHeader (path, stat) { + var res = this.res + + this.emit('headers', res, path, stat) + + if (this._acceptRanges && !res.getHeader('Accept-Ranges')) { + debug('accept ranges') + res.setHeader('Accept-Ranges', 'bytes') + } + + if (this._cacheControl && !res.getHeader('Cache-Control')) { + var cacheControl = 'public, max-age=' + Math.floor(this._maxage / 1000) + + if (this._immutable) { + cacheControl += ', immutable' + } + + debug('cache-control %s', cacheControl) + res.setHeader('Cache-Control', cacheControl) + } + + if (this._lastModified && !res.getHeader('Last-Modified')) { + var modified = stat.mtime.toUTCString() + debug('modified %s', modified) + res.setHeader('Last-Modified', modified) + } + + if (this._etag && !res.getHeader('ETag')) { + var val = etag(stat) + debug('etag %s', val) + res.setHeader('ETag', val) + } +} + +/** + * Clear all headers from a response. + * + * @param {object} res + * @private + */ + +function clearHeaders (res) { + var headers = getHeaderNames(res) + + for (var i = 0; i < headers.length; i++) { + res.removeHeader(headers[i]) + } +} + +/** + * Collapse all leading slashes into a single slash + * + * @param {string} str + * @private + */ +function collapseLeadingSlashes (str) { + for (var i = 0; i < str.length; i++) { + if (str[i] !== '/') { + break + } + } + + return i > 1 + ? '/' + str.substr(i) + : str +} + +/** + * Determine if path parts contain a dotfile. + * + * @api private + */ + +function containsDotFile (parts) { + for (var i = 0; i < parts.length; i++) { + var part = parts[i] + if (part.length > 1 && part[0] === '.') { + return true + } + } + + return false +} + +/** + * Create a Content-Range header. + * + * @param {string} type + * @param {number} size + * @param {array} [range] + */ + +function contentRange (type, size, range) { + return type + ' ' + (range ? range.start + '-' + range.end : '*') + '/' + size +} + +/** + * Create a minimal HTML document. + * + * @param {string} title + * @param {string} body + * @private + */ + +function createHtmlDocument (title, body) { + return '\n' + + '\n' + + '\n' + + '\n' + + '' + title + '\n' + + '\n' + + '\n' + + '
      ' + body + '
      \n' + + '\n' + + '\n' +} + +/** + * Create a HttpError object from simple arguments. + * + * @param {number} status + * @param {Error|object} err + * @private + */ + +function createHttpError (status, err) { + if (!err) { + return createError(status) + } + + return err instanceof Error + ? createError(status, err, { expose: false }) + : createError(status, err) +} + +/** + * decodeURIComponent. + * + * Allows V8 to only deoptimize this fn instead of all + * of send(). + * + * @param {String} path + * @api private + */ + +function decode (path) { + try { + return decodeURIComponent(path) + } catch (err) { + return -1 + } +} + +/** + * Get the header names on a respnse. + * + * @param {object} res + * @returns {array[string]} + * @private + */ + +function getHeaderNames (res) { + return typeof res.getHeaderNames !== 'function' + ? Object.keys(res._headers || {}) + : res.getHeaderNames() +} + +/** + * Determine if emitter has listeners of a given type. + * + * The way to do this check is done three different ways in Node.js >= 0.8 + * so this consolidates them into a minimal set using instance methods. + * + * @param {EventEmitter} emitter + * @param {string} type + * @returns {boolean} + * @private + */ + +function hasListeners (emitter, type) { + var count = typeof emitter.listenerCount !== 'function' + ? emitter.listeners(type).length + : emitter.listenerCount(type) + + return count > 0 +} + +/** + * Determine if the response headers have been sent. + * + * @param {object} res + * @returns {boolean} + * @private + */ + +function headersSent (res) { + return typeof res.headersSent !== 'boolean' + ? Boolean(res._header) + : res.headersSent +} + +/** + * Normalize the index option into an array. + * + * @param {boolean|string|array} val + * @param {string} name + * @private + */ + +function normalizeList (val, name) { + var list = [].concat(val || []) + + for (var i = 0; i < list.length; i++) { + if (typeof list[i] !== 'string') { + throw new TypeError(name + ' must be array of strings or false') + } + } + + return list +} + +/** + * Parse an HTTP Date into a number. + * + * @param {string} date + * @private + */ + +function parseHttpDate (date) { + var timestamp = date && Date.parse(date) + + return typeof timestamp === 'number' + ? timestamp + : NaN +} + +/** + * Parse a HTTP token list. + * + * @param {string} str + * @private + */ + +function parseTokenList (str) { + var end = 0 + var list = [] + var start = 0 + + // gather tokens + for (var i = 0, len = str.length; i < len; i++) { + switch (str.charCodeAt(i)) { + case 0x20: /* */ + if (start === end) { + start = end = i + 1 + } + break + case 0x2c: /* , */ + if (start !== end) { + list.push(str.substring(start, end)) + } + start = end = i + 1 + break + default: + end = i + 1 + break + } + } + + // final token + if (start !== end) { + list.push(str.substring(start, end)) + } + + return list +} + +/** + * Set an object of headers on a response. + * + * @param {object} res + * @param {object} headers + * @private + */ + +function setHeaders (res, headers) { + var keys = Object.keys(headers) + + for (var i = 0; i < keys.length; i++) { + var key = keys[i] + res.setHeader(key, headers[key]) + } +} diff --git a/node_modules/send/node_modules/ms/index.js b/node_modules/send/node_modules/ms/index.js new file mode 100644 index 0000000..ea734fb --- /dev/null +++ b/node_modules/send/node_modules/ms/index.js @@ -0,0 +1,162 @@ +/** + * Helpers. + */ + +var s = 1000; +var m = s * 60; +var h = m * 60; +var d = h * 24; +var w = d * 7; +var y = d * 365.25; + +/** + * Parse or format the given `val`. + * + * Options: + * + * - `long` verbose formatting [false] + * + * @param {String|Number} val + * @param {Object} [options] + * @throws {Error} throw an error if val is not a non-empty string or a number + * @return {String|Number} + * @api public + */ + +module.exports = function (val, options) { + options = options || {}; + var type = typeof val; + if (type === 'string' && val.length > 0) { + return parse(val); + } else if (type === 'number' && isFinite(val)) { + return options.long ? fmtLong(val) : fmtShort(val); + } + throw new Error( + 'val is not a non-empty string or a valid number. val=' + + JSON.stringify(val) + ); +}; + +/** + * Parse the given `str` and return milliseconds. + * + * @param {String} str + * @return {Number} + * @api private + */ + +function parse(str) { + str = String(str); + if (str.length > 100) { + return; + } + var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec( + str + ); + if (!match) { + return; + } + var n = parseFloat(match[1]); + var type = (match[2] || 'ms').toLowerCase(); + switch (type) { + case 'years': + case 'year': + case 'yrs': + case 'yr': + case 'y': + return n * y; + case 'weeks': + case 'week': + case 'w': + return n * w; + case 'days': + case 'day': + case 'd': + return n * d; + case 'hours': + case 'hour': + case 'hrs': + case 'hr': + case 'h': + return n * h; + case 'minutes': + case 'minute': + case 'mins': + case 'min': + case 'm': + return n * m; + case 'seconds': + case 'second': + case 'secs': + case 'sec': + case 's': + return n * s; + case 'milliseconds': + case 'millisecond': + case 'msecs': + case 'msec': + case 'ms': + return n; + default: + return undefined; + } +} + +/** + * Short format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + +function fmtShort(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return Math.round(ms / d) + 'd'; + } + if (msAbs >= h) { + return Math.round(ms / h) + 'h'; + } + if (msAbs >= m) { + return Math.round(ms / m) + 'm'; + } + if (msAbs >= s) { + return Math.round(ms / s) + 's'; + } + return ms + 'ms'; +} + +/** + * Long format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + +function fmtLong(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return plural(ms, msAbs, d, 'day'); + } + if (msAbs >= h) { + return plural(ms, msAbs, h, 'hour'); + } + if (msAbs >= m) { + return plural(ms, msAbs, m, 'minute'); + } + if (msAbs >= s) { + return plural(ms, msAbs, s, 'second'); + } + return ms + ' ms'; +} + +/** + * Pluralization helper. + */ + +function plural(ms, msAbs, n, name) { + var isPlural = msAbs >= n * 1.5; + return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); +} diff --git a/node_modules/send/node_modules/ms/license.md b/node_modules/send/node_modules/ms/license.md new file mode 100644 index 0000000..fa5d39b --- /dev/null +++ b/node_modules/send/node_modules/ms/license.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 Vercel, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/send/node_modules/ms/package.json b/node_modules/send/node_modules/ms/package.json new file mode 100644 index 0000000..4997189 --- /dev/null +++ b/node_modules/send/node_modules/ms/package.json @@ -0,0 +1,38 @@ +{ + "name": "ms", + "version": "2.1.3", + "description": "Tiny millisecond conversion utility", + "repository": "vercel/ms", + "main": "./index", + "files": [ + "index.js" + ], + "scripts": { + "precommit": "lint-staged", + "lint": "eslint lib/* bin/*", + "test": "mocha tests.js" + }, + "eslintConfig": { + "extends": "eslint:recommended", + "env": { + "node": true, + "es6": true + } + }, + "lint-staged": { + "*.js": [ + "npm run lint", + "prettier --single-quote --write", + "git add" + ] + }, + "license": "MIT", + "devDependencies": { + "eslint": "4.18.2", + "expect.js": "0.3.1", + "husky": "0.14.3", + "lint-staged": "5.0.0", + "mocha": "4.0.1", + "prettier": "2.0.5" + } +} diff --git a/node_modules/send/node_modules/ms/readme.md b/node_modules/send/node_modules/ms/readme.md new file mode 100644 index 0000000..0fc1abb --- /dev/null +++ b/node_modules/send/node_modules/ms/readme.md @@ -0,0 +1,59 @@ +# ms + +![CI](https://github.com/vercel/ms/workflows/CI/badge.svg) + +Use this package to easily convert various time formats to milliseconds. + +## Examples + +```js +ms('2 days') // 172800000 +ms('1d') // 86400000 +ms('10h') // 36000000 +ms('2.5 hrs') // 9000000 +ms('2h') // 7200000 +ms('1m') // 60000 +ms('5s') // 5000 +ms('1y') // 31557600000 +ms('100') // 100 +ms('-3 days') // -259200000 +ms('-1h') // -3600000 +ms('-200') // -200 +``` + +### Convert from Milliseconds + +```js +ms(60000) // "1m" +ms(2 * 60000) // "2m" +ms(-3 * 60000) // "-3m" +ms(ms('10 hours')) // "10h" +``` + +### Time Format Written-Out + +```js +ms(60000, { long: true }) // "1 minute" +ms(2 * 60000, { long: true }) // "2 minutes" +ms(-3 * 60000, { long: true }) // "-3 minutes" +ms(ms('10 hours'), { long: true }) // "10 hours" +``` + +## Features + +- Works both in [Node.js](https://nodejs.org) and in the browser +- If a number is supplied to `ms`, a string with a unit is returned +- If a string that contains the number is supplied, it returns it as a number (e.g.: it returns `100` for `'100'`) +- If you pass a string with a number and a valid unit, the number of equivalent milliseconds is returned + +## Related Packages + +- [ms.macro](https://github.com/knpwrs/ms.macro) - Run `ms` as a macro at build-time. + +## Caught a Bug? + +1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device +2. Link the package to the global module directory: `npm link` +3. Within the module you want to test your local development instance of ms, just link it to the dependencies: `npm link ms`. Instead of the default one from npm, Node.js will now use your clone of ms! + +As always, you can run the tests using: `npm test` diff --git a/node_modules/send/package.json b/node_modules/send/package.json new file mode 100644 index 0000000..2d2b805 --- /dev/null +++ b/node_modules/send/package.json @@ -0,0 +1,62 @@ +{ + "name": "send", + "description": "Better streaming static file server with Range and conditional-GET support", + "version": "0.19.2", + "author": "TJ Holowaychuk ", + "contributors": [ + "Douglas Christopher Wilson ", + "James Wyatt Cready ", + "Jesús Leganés Combarro " + ], + "license": "MIT", + "repository": "pillarjs/send", + "keywords": [ + "static", + "file", + "server" + ], + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "~0.5.2", + "http-errors": "~2.0.1", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "~2.4.1", + "range-parser": "~1.2.1", + "statuses": "~2.0.2" + }, + "devDependencies": { + "after": "0.8.2", + "eslint": "7.32.0", + "eslint-config-standard": "14.1.1", + "eslint-plugin-import": "2.25.4", + "eslint-plugin-markdown": "2.2.1", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-promise": "5.2.0", + "eslint-plugin-standard": "4.1.0", + "mocha": "9.2.2", + "nyc": "15.1.0", + "supertest": "6.2.2" + }, + "files": [ + "HISTORY.md", + "LICENSE", + "README.md", + "SECURITY.md", + "index.js" + ], + "engines": { + "node": ">= 0.8.0" + }, + "scripts": { + "lint": "eslint .", + "test": "mocha --check-leaks --reporter spec --bail", + "test-ci": "nyc --reporter=lcov --reporter=text npm test", + "test-cov": "nyc --reporter=html --reporter=text npm test" + } +} diff --git a/node_modules/serve-static/HISTORY.md b/node_modules/serve-static/HISTORY.md new file mode 100644 index 0000000..9919669 --- /dev/null +++ b/node_modules/serve-static/HISTORY.md @@ -0,0 +1,493 @@ +1.16.3 / 2024-12-15 +=================== + +* deps: send@~0.19.1 + - deps: encodeurl@~2.0.0 + +1.16.2 / 2024-09-11 +=================== + +* deps: encodeurl@~2.0.0 + +1.16.1 / 2024-09-11 +=================== + +* deps: send@0.19.0 + +1.16.0 / 2024-09-10 +=================== + +* Remove link renderization in html while redirecting + + +1.15.0 / 2022-03-24 +=================== + + * deps: send@0.18.0 + - Fix emitted 416 error missing headers property + - Limit the headers removed for 304 response + - deps: depd@2.0.0 + - deps: destroy@1.2.0 + - deps: http-errors@2.0.0 + - deps: on-finished@2.4.1 + - deps: statuses@2.0.1 + +1.14.2 / 2021-12-15 +=================== + + * deps: send@0.17.2 + - deps: http-errors@1.8.1 + - deps: ms@2.1.3 + - pref: ignore empty http tokens + +1.14.1 / 2019-05-10 +=================== + + * Set stricter CSP header in redirect response + * deps: send@0.17.1 + - deps: range-parser@~1.2.1 + +1.14.0 / 2019-05-07 +=================== + + * deps: parseurl@~1.3.3 + * deps: send@0.17.0 + - deps: http-errors@~1.7.2 + - deps: mime@1.6.0 + - deps: ms@2.1.1 + - deps: statuses@~1.5.0 + - perf: remove redundant `path.normalize` call + +1.13.2 / 2018-02-07 +=================== + + * Fix incorrect end tag in redirects + * deps: encodeurl@~1.0.2 + - Fix encoding `%` as last character + * deps: send@0.16.2 + - deps: depd@~1.1.2 + - deps: encodeurl@~1.0.2 + - deps: statuses@~1.4.0 + +1.13.1 / 2017-09-29 +=================== + + * Fix regression when `root` is incorrectly set to a file + * deps: send@0.16.1 + +1.13.0 / 2017-09-27 +=================== + + * deps: send@0.16.0 + - Add 70 new types for file extensions + - Add `immutable` option + - Fix missing `` in default error & redirects + - Set charset as "UTF-8" for .js and .json + - Use instance methods on steam to check for listeners + - deps: mime@1.4.1 + - perf: improve path validation speed + +1.12.6 / 2017-09-22 +=================== + + * deps: send@0.15.6 + - deps: debug@2.6.9 + - perf: improve `If-Match` token parsing + * perf: improve slash collapsing + +1.12.5 / 2017-09-21 +=================== + + * deps: parseurl@~1.3.2 + - perf: reduce overhead for full URLs + - perf: unroll the "fast-path" `RegExp` + * deps: send@0.15.5 + - Fix handling of modified headers with invalid dates + - deps: etag@~1.8.1 + - deps: fresh@0.5.2 + +1.12.4 / 2017-08-05 +=================== + + * deps: send@0.15.4 + - deps: debug@2.6.8 + - deps: depd@~1.1.1 + - deps: http-errors@~1.6.2 + +1.12.3 / 2017-05-16 +=================== + + * deps: send@0.15.3 + - deps: debug@2.6.7 + +1.12.2 / 2017-04-26 +=================== + + * deps: send@0.15.2 + - deps: debug@2.6.4 + +1.12.1 / 2017-03-04 +=================== + + * deps: send@0.15.1 + - Fix issue when `Date.parse` does not return `NaN` on invalid date + - Fix strict violation in broken environments + +1.12.0 / 2017-02-25 +=================== + + * Send complete HTML document in redirect response + * Set default CSP header in redirect response + * deps: send@0.15.0 + - Fix false detection of `no-cache` request directive + - Fix incorrect result when `If-None-Match` has both `*` and ETags + - Fix weak `ETag` matching to match spec + - Remove usage of `res._headers` private field + - Support `If-Match` and `If-Unmodified-Since` headers + - Use `res.getHeaderNames()` when available + - Use `res.headersSent` when available + - deps: debug@2.6.1 + - deps: etag@~1.8.0 + - deps: fresh@0.5.0 + - deps: http-errors@~1.6.1 + +1.11.2 / 2017-01-23 +=================== + + * deps: send@0.14.2 + - deps: http-errors@~1.5.1 + - deps: ms@0.7.2 + - deps: statuses@~1.3.1 + +1.11.1 / 2016-06-10 +=================== + + * Fix redirect error when `req.url` contains raw non-URL characters + * deps: send@0.14.1 + +1.11.0 / 2016-06-07 +=================== + + * Use status code 301 for redirects + * deps: send@0.14.0 + - Add `acceptRanges` option + - Add `cacheControl` option + - Attempt to combine multiple ranges into single range + - Correctly inherit from `Stream` class + - Fix `Content-Range` header in 416 responses when using `start`/`end` options + - Fix `Content-Range` header missing from default 416 responses + - Ignore non-byte `Range` headers + - deps: http-errors@~1.5.0 + - deps: range-parser@~1.2.0 + - deps: statuses@~1.3.0 + - perf: remove argument reassignment + +1.10.3 / 2016-05-30 +=================== + + * deps: send@0.13.2 + - Fix invalid `Content-Type` header when `send.mime.default_type` unset + +1.10.2 / 2016-01-19 +=================== + + * deps: parseurl@~1.3.1 + - perf: enable strict mode + +1.10.1 / 2016-01-16 +=================== + + * deps: escape-html@~1.0.3 + - perf: enable strict mode + - perf: optimize string replacement + - perf: use faster string coercion + * deps: send@0.13.1 + - deps: depd@~1.1.0 + - deps: destroy@~1.0.4 + - deps: escape-html@~1.0.3 + - deps: range-parser@~1.0.3 + +1.10.0 / 2015-06-17 +=================== + + * Add `fallthrough` option + - Allows declaring this middleware is the final destination + - Provides better integration with Express patterns + * Fix reading options from options prototype + * Improve the default redirect response headers + * deps: escape-html@1.0.2 + * deps: send@0.13.0 + - Allow Node.js HTTP server to set `Date` response header + - Fix incorrectly removing `Content-Location` on 304 response + - Improve the default redirect response headers + - Send appropriate headers on default error response + - Use `http-errors` for standard emitted errors + - Use `statuses` instead of `http` module for status messages + - deps: escape-html@1.0.2 + - deps: etag@~1.7.0 + - deps: fresh@0.3.0 + - deps: on-finished@~2.3.0 + - perf: enable strict mode + - perf: remove unnecessary array allocations + * perf: enable strict mode + * perf: remove argument reassignment + +1.9.3 / 2015-05-14 +================== + + * deps: send@0.12.3 + - deps: debug@~2.2.0 + - deps: depd@~1.0.1 + - deps: etag@~1.6.0 + - deps: ms@0.7.1 + - deps: on-finished@~2.2.1 + +1.9.2 / 2015-03-14 +================== + + * deps: send@0.12.2 + - Throw errors early for invalid `extensions` or `index` options + - deps: debug@~2.1.3 + +1.9.1 / 2015-02-17 +================== + + * deps: send@0.12.1 + - Fix regression sending zero-length files + +1.9.0 / 2015-02-16 +================== + + * deps: send@0.12.0 + - Always read the stat size from the file + - Fix mutating passed-in `options` + - deps: mime@1.3.4 + +1.8.1 / 2015-01-20 +================== + + * Fix redirect loop in Node.js 0.11.14 + * deps: send@0.11.1 + - Fix root path disclosure + +1.8.0 / 2015-01-05 +================== + + * deps: send@0.11.0 + - deps: debug@~2.1.1 + - deps: etag@~1.5.1 + - deps: ms@0.7.0 + - deps: on-finished@~2.2.0 + +1.7.2 / 2015-01-02 +================== + + * Fix potential open redirect when mounted at root + +1.7.1 / 2014-10-22 +================== + + * deps: send@0.10.1 + - deps: on-finished@~2.1.1 + +1.7.0 / 2014-10-15 +================== + + * deps: send@0.10.0 + - deps: debug@~2.1.0 + - deps: depd@~1.0.0 + - deps: etag@~1.5.0 + +1.6.5 / 2015-02-04 +================== + + * Fix potential open redirect when mounted at root + - Back-ported from v1.7.2 + +1.6.4 / 2014-10-08 +================== + + * Fix redirect loop when index file serving disabled + +1.6.3 / 2014-09-24 +================== + + * deps: send@0.9.3 + - deps: etag@~1.4.0 + +1.6.2 / 2014-09-15 +================== + + * deps: send@0.9.2 + - deps: depd@0.4.5 + - deps: etag@~1.3.1 + - deps: range-parser@~1.0.2 + +1.6.1 / 2014-09-07 +================== + + * deps: send@0.9.1 + - deps: fresh@0.2.4 + +1.6.0 / 2014-09-07 +================== + + * deps: send@0.9.0 + - Add `lastModified` option + - Use `etag` to generate `ETag` header + - deps: debug@~2.0.0 + +1.5.4 / 2014-09-04 +================== + + * deps: send@0.8.5 + - Fix a path traversal issue when using `root` + - Fix malicious path detection for empty string path + +1.5.3 / 2014-08-17 +================== + + * deps: send@0.8.3 + +1.5.2 / 2014-08-14 +================== + + * deps: send@0.8.2 + - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream` + +1.5.1 / 2014-08-09 +================== + + * Fix parsing of weird `req.originalUrl` values + * deps: parseurl@~1.3.0 + * deps: utils-merge@1.0.0 + +1.5.0 / 2014-08-05 +================== + + * deps: send@0.8.1 + - Add `extensions` option + +1.4.4 / 2014-08-04 +================== + + * deps: send@0.7.4 + - Fix serving index files without root dir + +1.4.3 / 2014-07-29 +================== + + * deps: send@0.7.3 + - Fix incorrect 403 on Windows and Node.js 0.11 + +1.4.2 / 2014-07-27 +================== + + * deps: send@0.7.2 + - deps: depd@0.4.4 + +1.4.1 / 2014-07-26 +================== + + * deps: send@0.7.1 + - deps: depd@0.4.3 + +1.4.0 / 2014-07-21 +================== + + * deps: parseurl@~1.2.0 + - Cache URLs based on original value + - Remove no-longer-needed URL mis-parse work-around + - Simplify the "fast-path" `RegExp` + * deps: send@0.7.0 + - Add `dotfiles` option + - deps: debug@1.0.4 + - deps: depd@0.4.2 + +1.3.2 / 2014-07-11 +================== + + * deps: send@0.6.0 + - Cap `maxAge` value to 1 year + - deps: debug@1.0.3 + +1.3.1 / 2014-07-09 +================== + + * deps: parseurl@~1.1.3 + - faster parsing of href-only URLs + +1.3.0 / 2014-06-28 +================== + + * Add `setHeaders` option + * Include HTML link in redirect response + * deps: send@0.5.0 + - Accept string for `maxAge` (converted by `ms`) + +1.2.3 / 2014-06-11 +================== + + * deps: send@0.4.3 + - Do not throw un-catchable error on file open race condition + - Use `escape-html` for HTML escaping + - deps: debug@1.0.2 + - deps: finished@1.2.2 + - deps: fresh@0.2.2 + +1.2.2 / 2014-06-09 +================== + + * deps: send@0.4.2 + - fix "event emitter leak" warnings + - deps: debug@1.0.1 + - deps: finished@1.2.1 + +1.2.1 / 2014-06-02 +================== + + * use `escape-html` for escaping + * deps: send@0.4.1 + - Send `max-age` in `Cache-Control` in correct format + +1.2.0 / 2014-05-29 +================== + + * deps: send@0.4.0 + - Calculate ETag with md5 for reduced collisions + - Fix wrong behavior when index file matches directory + - Ignore stream errors after request ends + - Skip directories in index file search + - deps: debug@0.8.1 + +1.1.0 / 2014-04-24 +================== + + * Accept options directly to `send` module + * deps: send@0.3.0 + +1.0.4 / 2014-04-07 +================== + + * Resolve relative paths at middleware setup + * Use parseurl to parse the URL from request + +1.0.3 / 2014-03-20 +================== + + * Do not rely on connect-like environments + +1.0.2 / 2014-03-06 +================== + + * deps: send@0.2.0 + +1.0.1 / 2014-03-05 +================== + + * Add mime export for back-compat + +1.0.0 / 2014-03-05 +================== + + * Genesis from `connect` diff --git a/node_modules/serve-static/LICENSE b/node_modules/serve-static/LICENSE new file mode 100644 index 0000000..cbe62e8 --- /dev/null +++ b/node_modules/serve-static/LICENSE @@ -0,0 +1,25 @@ +(The MIT License) + +Copyright (c) 2010 Sencha Inc. +Copyright (c) 2011 LearnBoost +Copyright (c) 2011 TJ Holowaychuk +Copyright (c) 2014-2016 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/serve-static/README.md b/node_modules/serve-static/README.md new file mode 100644 index 0000000..262d944 --- /dev/null +++ b/node_modules/serve-static/README.md @@ -0,0 +1,257 @@ +# serve-static + +[![NPM Version][npm-version-image]][npm-url] +[![NPM Downloads][npm-downloads-image]][npm-url] +[![Linux Build][github-actions-ci-image]][github-actions-ci-url] +[![Windows Build][appveyor-image]][appveyor-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +## Install + +This is a [Node.js](https://nodejs.org/en/) module available through the +[npm registry](https://www.npmjs.com/). Installation is done using the +[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): + +```sh +$ npm install serve-static +``` + +## API + +```js +var serveStatic = require('serve-static') +``` + +### serveStatic(root, options) + +Create a new middleware function to serve files from within a given root +directory. The file to serve will be determined by combining `req.url` +with the provided root directory. When a file is not found, instead of +sending a 404 response, this module will instead call `next()` to move on +to the next middleware, allowing for stacking and fall-backs. + +#### Options + +##### acceptRanges + +Enable or disable accepting ranged requests, defaults to true. +Disabling this will not send `Accept-Ranges` and ignore the contents +of the `Range` request header. + +##### cacheControl + +Enable or disable setting `Cache-Control` response header, defaults to +true. Disabling this will ignore the `immutable` and `maxAge` options. + +##### dotfiles + + Set how "dotfiles" are treated when encountered. A dotfile is a file +or directory that begins with a dot ("."). Note this check is done on +the path itself without checking if the path actually exists on the +disk. If `root` is specified, only the dotfiles above the root are +checked (i.e. the root itself can be within a dotfile when set +to "deny"). + + - `'allow'` No special treatment for dotfiles. + - `'deny'` Deny a request for a dotfile and 403/`next()`. + - `'ignore'` Pretend like the dotfile does not exist and 404/`next()`. + +The default value is similar to `'ignore'`, with the exception that this +default will not ignore the files within a directory that begins with a dot. + +##### etag + +Enable or disable etag generation, defaults to true. + +##### extensions + +Set file extension fallbacks. When set, if a file is not found, the given +extensions will be added to the file name and search for. The first that +exists will be served. Example: `['html', 'htm']`. + +The default value is `false`. + +##### fallthrough + +Set the middleware to have client errors fall-through as just unhandled +requests, otherwise forward a client error. The difference is that client +errors like a bad request or a request to a non-existent file will cause +this middleware to simply `next()` to your next middleware when this value +is `true`. When this value is `false`, these errors (even 404s), will invoke +`next(err)`. + +Typically `true` is desired such that multiple physical directories can be +mapped to the same web address or for routes to fill in non-existent files. + +The value `false` can be used if this middleware is mounted at a path that +is designed to be strictly a single file system directory, which allows for +short-circuiting 404s for less overhead. This middleware will also reply to +all methods. + +The default value is `true`. + +##### immutable + +Enable or disable the `immutable` directive in the `Cache-Control` response +header, defaults to `false`. If set to `true`, the `maxAge` option should +also be specified to enable caching. The `immutable` directive will prevent +supported clients from making conditional requests during the life of the +`maxAge` option to check if the file has changed. + +##### index + +By default this module will send "index.html" files in response to a request +on a directory. To disable this set `false` or to supply a new index pass a +string or an array in preferred order. + +##### lastModified + +Enable or disable `Last-Modified` header, defaults to true. Uses the file +system's last modified value. + +##### maxAge + +Provide a max-age in milliseconds for http caching, defaults to 0. This +can also be a string accepted by the [ms](https://www.npmjs.org/package/ms#readme) +module. + +##### redirect + +Redirect to trailing "/" when the pathname is a dir. Defaults to `true`. + +##### setHeaders + +Function to set custom headers on response. Alterations to the headers need to +occur synchronously. The function is called as `fn(res, path, stat)`, where +the arguments are: + + - `res` the response object + - `path` the file path that is being sent + - `stat` the stat object of the file that is being sent + +## Examples + +### Serve files with vanilla node.js http server + +```js +var finalhandler = require('finalhandler') +var http = require('http') +var serveStatic = require('serve-static') + +// Serve up public/ftp folder +var serve = serveStatic('public/ftp', { index: ['index.html', 'index.htm'] }) + +// Create server +var server = http.createServer(function onRequest (req, res) { + serve(req, res, finalhandler(req, res)) +}) + +// Listen +server.listen(3000) +``` + +### Serve all files as downloads + +```js +var contentDisposition = require('content-disposition') +var finalhandler = require('finalhandler') +var http = require('http') +var serveStatic = require('serve-static') + +// Serve up public/ftp folder +var serve = serveStatic('public/ftp', { + index: false, + setHeaders: setHeaders +}) + +// Set header to force download +function setHeaders (res, path) { + res.setHeader('Content-Disposition', contentDisposition(path)) +} + +// Create server +var server = http.createServer(function onRequest (req, res) { + serve(req, res, finalhandler(req, res)) +}) + +// Listen +server.listen(3000) +``` + +### Serving using express + +#### Simple + +This is a simple example of using Express. + +```js +var express = require('express') +var serveStatic = require('serve-static') + +var app = express() + +app.use(serveStatic('public/ftp', { index: ['default.html', 'default.htm'] })) +app.listen(3000) +``` + +#### Multiple roots + +This example shows a simple way to search through multiple directories. +Files are searched for in `public-optimized/` first, then `public/` second +as a fallback. + +```js +var express = require('express') +var path = require('path') +var serveStatic = require('serve-static') + +var app = express() + +app.use(serveStatic(path.join(__dirname, 'public-optimized'))) +app.use(serveStatic(path.join(__dirname, 'public'))) +app.listen(3000) +``` + +#### Different settings for paths + +This example shows how to set a different max age depending on the served +file type. In this example, HTML files are not cached, while everything else +is for 1 day. + +```js +var express = require('express') +var path = require('path') +var serveStatic = require('serve-static') + +var app = express() + +app.use(serveStatic(path.join(__dirname, 'public'), { + maxAge: '1d', + setHeaders: setCustomCacheControl +})) + +app.listen(3000) + +function setCustomCacheControl (res, path) { + if (serveStatic.mime.lookup(path) === 'text/html') { + // Custom Cache-Control for HTML files + res.setHeader('Cache-Control', 'public, max-age=0') + } +} +``` + +## License + +[MIT](LICENSE) + +[appveyor-image]: https://badgen.net/appveyor/ci/dougwilson/serve-static/master?label=windows +[appveyor-url]: https://ci.appveyor.com/project/dougwilson/serve-static +[coveralls-image]: https://badgen.net/coveralls/c/github/expressjs/serve-static/master +[coveralls-url]: https://coveralls.io/r/expressjs/serve-static?branch=master +[github-actions-ci-image]: https://badgen.net/github/checks/expressjs/serve-static/master?label=linux +[github-actions-ci-url]: https://github.com/expressjs/serve-static/actions/workflows/ci.yml +[node-image]: https://badgen.net/npm/node/serve-static +[node-url]: https://nodejs.org/en/download/ +[npm-downloads-image]: https://badgen.net/npm/dm/serve-static +[npm-url]: https://npmjs.org/package/serve-static +[npm-version-image]: https://badgen.net/npm/v/serve-static diff --git a/node_modules/serve-static/index.js b/node_modules/serve-static/index.js new file mode 100644 index 0000000..3f3e64e --- /dev/null +++ b/node_modules/serve-static/index.js @@ -0,0 +1,209 @@ +/*! + * serve-static + * Copyright(c) 2010 Sencha Inc. + * Copyright(c) 2011 TJ Holowaychuk + * Copyright(c) 2014-2016 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + * @private + */ + +var encodeUrl = require('encodeurl') +var escapeHtml = require('escape-html') +var parseUrl = require('parseurl') +var resolve = require('path').resolve +var send = require('send') +var url = require('url') + +/** + * Module exports. + * @public + */ + +module.exports = serveStatic +module.exports.mime = send.mime + +/** + * @param {string} root + * @param {object} [options] + * @return {function} + * @public + */ + +function serveStatic (root, options) { + if (!root) { + throw new TypeError('root path required') + } + + if (typeof root !== 'string') { + throw new TypeError('root path must be a string') + } + + // copy options object + var opts = Object.create(options || null) + + // fall-though + var fallthrough = opts.fallthrough !== false + + // default redirect + var redirect = opts.redirect !== false + + // headers listener + var setHeaders = opts.setHeaders + + if (setHeaders && typeof setHeaders !== 'function') { + throw new TypeError('option setHeaders must be function') + } + + // setup options for send + opts.maxage = opts.maxage || opts.maxAge || 0 + opts.root = resolve(root) + + // construct directory listener + var onDirectory = redirect + ? createRedirectDirectoryListener() + : createNotFoundDirectoryListener() + + return function serveStatic (req, res, next) { + if (req.method !== 'GET' && req.method !== 'HEAD') { + if (fallthrough) { + return next() + } + + // method not allowed + res.statusCode = 405 + res.setHeader('Allow', 'GET, HEAD') + res.setHeader('Content-Length', '0') + res.end() + return + } + + var forwardError = !fallthrough + var originalUrl = parseUrl.original(req) + var path = parseUrl(req).pathname + + // make sure redirect occurs at mount + if (path === '/' && originalUrl.pathname.substr(-1) !== '/') { + path = '' + } + + // create send stream + var stream = send(req, path, opts) + + // add directory handler + stream.on('directory', onDirectory) + + // add headers listener + if (setHeaders) { + stream.on('headers', setHeaders) + } + + // add file listener for fallthrough + if (fallthrough) { + stream.on('file', function onFile () { + // once file is determined, always forward error + forwardError = true + }) + } + + // forward errors + stream.on('error', function error (err) { + if (forwardError || !(err.statusCode < 500)) { + next(err) + return + } + + next() + }) + + // pipe + stream.pipe(res) + } +} + +/** + * Collapse all leading slashes into a single slash + * @private + */ +function collapseLeadingSlashes (str) { + for (var i = 0; i < str.length; i++) { + if (str.charCodeAt(i) !== 0x2f /* / */) { + break + } + } + + return i > 1 + ? '/' + str.substr(i) + : str +} + +/** + * Create a minimal HTML document. + * + * @param {string} title + * @param {string} body + * @private + */ + +function createHtmlDocument (title, body) { + return '\n' + + '\n' + + '\n' + + '\n' + + '' + title + '\n' + + '\n' + + '\n' + + '
      ' + body + '
      \n' + + '\n' + + '\n' +} + +/** + * Create a directory listener that just 404s. + * @private + */ + +function createNotFoundDirectoryListener () { + return function notFound () { + this.error(404) + } +} + +/** + * Create a directory listener that performs a redirect. + * @private + */ + +function createRedirectDirectoryListener () { + return function redirect (res) { + if (this.hasTrailingSlash()) { + this.error(404) + return + } + + // get original URL + var originalUrl = parseUrl.original(this.req) + + // append trailing slash + originalUrl.path = null + originalUrl.pathname = collapseLeadingSlashes(originalUrl.pathname + '/') + + // reformat the URL + var loc = encodeUrl(url.format(originalUrl)) + var doc = createHtmlDocument('Redirecting', 'Redirecting to ' + escapeHtml(loc)) + + // send redirect response + res.statusCode = 301 + res.setHeader('Content-Type', 'text/html; charset=UTF-8') + res.setHeader('Content-Length', Buffer.byteLength(doc)) + res.setHeader('Content-Security-Policy', "default-src 'none'") + res.setHeader('X-Content-Type-Options', 'nosniff') + res.setHeader('Location', loc) + res.end(doc) + } +} diff --git a/node_modules/serve-static/package.json b/node_modules/serve-static/package.json new file mode 100644 index 0000000..b268e48 --- /dev/null +++ b/node_modules/serve-static/package.json @@ -0,0 +1,42 @@ +{ + "name": "serve-static", + "description": "Serve static files", + "version": "1.16.3", + "author": "Douglas Christopher Wilson ", + "license": "MIT", + "repository": "expressjs/serve-static", + "dependencies": { + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "~0.19.1" + }, + "devDependencies": { + "eslint": "7.32.0", + "eslint-config-standard": "14.1.1", + "eslint-plugin-import": "2.25.4", + "eslint-plugin-markdown": "2.2.1", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-promise": "5.2.0", + "eslint-plugin-standard": "4.1.0", + "mocha": "9.2.2", + "nyc": "15.1.0", + "safe-buffer": "5.2.1", + "supertest": "6.2.2" + }, + "files": [ + "LICENSE", + "HISTORY.md", + "index.js" + ], + "engines": { + "node": ">= 0.8.0" + }, + "scripts": { + "lint": "eslint .", + "test": "mocha --reporter spec --bail --check-leaks test/", + "test-ci": "nyc --reporter=lcov --reporter=text npm test", + "test-cov": "nyc --reporter=html --reporter=text npm test", + "version": "node scripts/version-history.js && git add HISTORY.md" + } +} diff --git a/node_modules/setprototypeof/LICENSE b/node_modules/setprototypeof/LICENSE new file mode 100644 index 0000000..61afa2f --- /dev/null +++ b/node_modules/setprototypeof/LICENSE @@ -0,0 +1,13 @@ +Copyright (c) 2015, Wes Todd + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY +SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION +OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN +CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/node_modules/setprototypeof/README.md b/node_modules/setprototypeof/README.md new file mode 100644 index 0000000..791eeff --- /dev/null +++ b/node_modules/setprototypeof/README.md @@ -0,0 +1,31 @@ +# Polyfill for `Object.setPrototypeOf` + +[![NPM Version](https://img.shields.io/npm/v/setprototypeof.svg)](https://npmjs.org/package/setprototypeof) +[![NPM Downloads](https://img.shields.io/npm/dm/setprototypeof.svg)](https://npmjs.org/package/setprototypeof) +[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/standard/standard) + +A simple cross platform implementation to set the prototype of an instianted object. Supports all modern browsers and at least back to IE8. + +## Usage: + +``` +$ npm install --save setprototypeof +``` + +```javascript +var setPrototypeOf = require('setprototypeof') + +var obj = {} +setPrototypeOf(obj, { + foo: function () { + return 'bar' + } +}) +obj.foo() // bar +``` + +TypeScript is also supported: + +```typescript +import setPrototypeOf from 'setprototypeof' +``` diff --git a/node_modules/setprototypeof/index.d.ts b/node_modules/setprototypeof/index.d.ts new file mode 100644 index 0000000..f108ecd --- /dev/null +++ b/node_modules/setprototypeof/index.d.ts @@ -0,0 +1,2 @@ +declare function setPrototypeOf(o: any, proto: object | null): any; +export = setPrototypeOf; diff --git a/node_modules/setprototypeof/index.js b/node_modules/setprototypeof/index.js new file mode 100644 index 0000000..c527055 --- /dev/null +++ b/node_modules/setprototypeof/index.js @@ -0,0 +1,17 @@ +'use strict' +/* eslint no-proto: 0 */ +module.exports = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties) + +function setProtoOf (obj, proto) { + obj.__proto__ = proto + return obj +} + +function mixinProperties (obj, proto) { + for (var prop in proto) { + if (!Object.prototype.hasOwnProperty.call(obj, prop)) { + obj[prop] = proto[prop] + } + } + return obj +} diff --git a/node_modules/setprototypeof/package.json b/node_modules/setprototypeof/package.json new file mode 100644 index 0000000..f20915b --- /dev/null +++ b/node_modules/setprototypeof/package.json @@ -0,0 +1,38 @@ +{ + "name": "setprototypeof", + "version": "1.2.0", + "description": "A small polyfill for Object.setprototypeof", + "main": "index.js", + "typings": "index.d.ts", + "scripts": { + "test": "standard && mocha", + "testallversions": "npm run node010 && npm run node4 && npm run node6 && npm run node9 && npm run node11", + "testversion": "docker run -it --rm -v $(PWD):/usr/src/app -w /usr/src/app node:${NODE_VER} npm install mocha@${MOCHA_VER:-latest} && npm t", + "node010": "NODE_VER=0.10 MOCHA_VER=3 npm run testversion", + "node4": "NODE_VER=4 npm run testversion", + "node6": "NODE_VER=6 npm run testversion", + "node9": "NODE_VER=9 npm run testversion", + "node11": "NODE_VER=11 npm run testversion", + "prepublishOnly": "npm t", + "postpublish": "git push origin && git push origin --tags" + }, + "repository": { + "type": "git", + "url": "https://github.com/wesleytodd/setprototypeof.git" + }, + "keywords": [ + "polyfill", + "object", + "setprototypeof" + ], + "author": "Wes Todd", + "license": "ISC", + "bugs": { + "url": "https://github.com/wesleytodd/setprototypeof/issues" + }, + "homepage": "https://github.com/wesleytodd/setprototypeof", + "devDependencies": { + "mocha": "^6.1.4", + "standard": "^13.0.2" + } +} diff --git a/node_modules/setprototypeof/test/index.js b/node_modules/setprototypeof/test/index.js new file mode 100644 index 0000000..afeb4dd --- /dev/null +++ b/node_modules/setprototypeof/test/index.js @@ -0,0 +1,24 @@ +'use strict' +/* eslint-env mocha */ +/* eslint no-proto: 0 */ +var assert = require('assert') +var setPrototypeOf = require('..') + +describe('setProtoOf(obj, proto)', function () { + it('should merge objects', function () { + var obj = { a: 1, b: 2 } + var proto = { b: 3, c: 4 } + var mergeObj = setPrototypeOf(obj, proto) + + if (Object.getPrototypeOf) { + assert.strictEqual(Object.getPrototypeOf(obj), proto) + } else if ({ __proto__: [] } instanceof Array) { + assert.strictEqual(obj.__proto__, proto) + } else { + assert.strictEqual(obj.a, 1) + assert.strictEqual(obj.b, 2) + assert.strictEqual(obj.c, 4) + } + assert.strictEqual(mergeObj, obj) + }) +}) diff --git a/node_modules/side-channel-list/.editorconfig b/node_modules/side-channel-list/.editorconfig new file mode 100644 index 0000000..72e0eba --- /dev/null +++ b/node_modules/side-channel-list/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = tab +indent_size = 2 +trim_trailing_whitespace = true diff --git a/node_modules/side-channel-list/.eslintrc b/node_modules/side-channel-list/.eslintrc new file mode 100644 index 0000000..93978e7 --- /dev/null +++ b/node_modules/side-channel-list/.eslintrc @@ -0,0 +1,11 @@ +{ + "root": true, + + "extends": "@ljharb", + + "rules": { + "max-lines-per-function": 0, + "multiline-comment-style": 1, + "new-cap": [2, { "capIsNewExceptions": ["GetIntrinsic"] }], + }, +} diff --git a/node_modules/side-channel-list/.github/FUNDING.yml b/node_modules/side-channel-list/.github/FUNDING.yml new file mode 100644 index 0000000..eaff735 --- /dev/null +++ b/node_modules/side-channel-list/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [ljharb] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: npm/side-channel-list +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/side-channel-list/.nycrc b/node_modules/side-channel-list/.nycrc new file mode 100644 index 0000000..1826526 --- /dev/null +++ b/node_modules/side-channel-list/.nycrc @@ -0,0 +1,13 @@ +{ + "all": true, + "check-coverage": false, + "reporter": ["text-summary", "text", "html", "json"], + "lines": 86, + "statements": 85.93, + "functions": 82.43, + "branches": 76.06, + "exclude": [ + "coverage", + "test" + ] +} diff --git a/node_modules/side-channel-list/CHANGELOG.md b/node_modules/side-channel-list/CHANGELOG.md new file mode 100644 index 0000000..2ec51b7 --- /dev/null +++ b/node_modules/side-channel-list/CHANGELOG.md @@ -0,0 +1,15 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## v1.0.0 - 2024-12-10 + +### Commits + +- Initial implementation, tests, readme, types [`5d6baee`](https://github.com/ljharb/side-channel-list/commit/5d6baee5c9054a1238007f5a1dfc109a7a816251) +- Initial commit [`3ae784c`](https://github.com/ljharb/side-channel-list/commit/3ae784c63a47895fbaeed2a91ab54a8029a7a100) +- npm init [`07055a4`](https://github.com/ljharb/side-channel-list/commit/07055a4d139895565b199dba5fe2479c1a1b9e28) +- Only apps should have lockfiles [`9573058`](https://github.com/ljharb/side-channel-list/commit/9573058a47494e2d68f8c6c77b5d7fbe441949c1) diff --git a/node_modules/side-channel-list/LICENSE b/node_modules/side-channel-list/LICENSE new file mode 100644 index 0000000..f82f389 --- /dev/null +++ b/node_modules/side-channel-list/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/side-channel-list/README.md b/node_modules/side-channel-list/README.md new file mode 100644 index 0000000..d9c7a13 --- /dev/null +++ b/node_modules/side-channel-list/README.md @@ -0,0 +1,62 @@ +# side-channel-list [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +Store information about any JS value in a side channel, using a linked list. + +Warning: this implementation will leak memory until you `delete` the `key`. +Use [`side-channel`](https://npmjs.com/side-channel) for the best available strategy. + +## Getting started + +```sh +npm install --save side-channel-list +``` + +## Usage/Examples + +```js +const assert = require('assert'); +const getSideChannelList = require('side-channel-list'); + +const channel = getSideChannelList(); + +const key = {}; +assert.equal(channel.has(key), false); +assert.throws(() => channel.assert(key), TypeError); + +channel.set(key, 42); + +channel.assert(key); // does not throw +assert.equal(channel.has(key), true); +assert.equal(channel.get(key), 42); + +channel.delete(key); +assert.equal(channel.has(key), false); +assert.throws(() => channel.assert(key), TypeError); +``` + +## Tests + +Clone the repo, `npm install`, and run `npm test` + +[package-url]: https://npmjs.org/package/side-channel-list +[npm-version-svg]: https://versionbadg.es/ljharb/side-channel-list.svg +[deps-svg]: https://david-dm.org/ljharb/side-channel-list.svg +[deps-url]: https://david-dm.org/ljharb/side-channel-list +[dev-deps-svg]: https://david-dm.org/ljharb/side-channel-list/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/side-channel-list#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/side-channel-list.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/side-channel-list.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/side-channel-list.svg +[downloads-url]: https://npm-stat.com/charts.html?package=side-channel-list +[codecov-image]: https://codecov.io/gh/ljharb/side-channel-list/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/side-channel-list/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/side-channel-list +[actions-url]: https://github.com/ljharb/side-channel-list/actions diff --git a/node_modules/side-channel-list/index.d.ts b/node_modules/side-channel-list/index.d.ts new file mode 100644 index 0000000..c9cabc8 --- /dev/null +++ b/node_modules/side-channel-list/index.d.ts @@ -0,0 +1,13 @@ +declare namespace getSideChannelList { + type Channel = { + assert: (key: K) => void; + has: (key: K) => boolean; + get: (key: K) => V | undefined; + set: (key: K, value: V) => void; + delete: (key: K) => boolean; + }; +} + +declare function getSideChannelList(): getSideChannelList.Channel; + +export = getSideChannelList; diff --git a/node_modules/side-channel-list/index.js b/node_modules/side-channel-list/index.js new file mode 100644 index 0000000..8d6f98c --- /dev/null +++ b/node_modules/side-channel-list/index.js @@ -0,0 +1,113 @@ +'use strict'; + +var inspect = require('object-inspect'); + +var $TypeError = require('es-errors/type'); + +/* +* This function traverses the list returning the node corresponding to the given key. +* +* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list. +* By doing so, all the recently used nodes can be accessed relatively quickly. +*/ +/** @type {import('./list.d.ts').listGetNode} */ +// eslint-disable-next-line consistent-return +var listGetNode = function (list, key, isDelete) { + /** @type {typeof list | NonNullable<(typeof list)['next']>} */ + var prev = list; + /** @type {(typeof list)['next']} */ + var curr; + // eslint-disable-next-line eqeqeq + for (; (curr = prev.next) != null; prev = curr) { + if (curr.key === key) { + prev.next = curr.next; + if (!isDelete) { + // eslint-disable-next-line no-extra-parens + curr.next = /** @type {NonNullable} */ (list.next); + list.next = curr; // eslint-disable-line no-param-reassign + } + return curr; + } + } +}; + +/** @type {import('./list.d.ts').listGet} */ +var listGet = function (objects, key) { + if (!objects) { + return void undefined; + } + var node = listGetNode(objects, key); + return node && node.value; +}; +/** @type {import('./list.d.ts').listSet} */ +var listSet = function (objects, key, value) { + var node = listGetNode(objects, key); + if (node) { + node.value = value; + } else { + // Prepend the new node to the beginning of the list + objects.next = /** @type {import('./list.d.ts').ListNode} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens + key: key, + next: objects.next, + value: value + }); + } +}; +/** @type {import('./list.d.ts').listHas} */ +var listHas = function (objects, key) { + if (!objects) { + return false; + } + return !!listGetNode(objects, key); +}; +/** @type {import('./list.d.ts').listDelete} */ +// eslint-disable-next-line consistent-return +var listDelete = function (objects, key) { + if (objects) { + return listGetNode(objects, key, true); + } +}; + +/** @type {import('.')} */ +module.exports = function getSideChannelList() { + /** @typedef {ReturnType} Channel */ + /** @typedef {Parameters[0]} K */ + /** @typedef {Parameters[1]} V */ + + /** @type {import('./list.d.ts').RootNode | undefined} */ var $o; + + /** @type {Channel} */ + var channel = { + assert: function (key) { + if (!channel.has(key)) { + throw new $TypeError('Side channel does not contain ' + inspect(key)); + } + }, + 'delete': function (key) { + var root = $o && $o.next; + var deletedNode = listDelete($o, key); + if (deletedNode && root && root === deletedNode) { + $o = void undefined; + } + return !!deletedNode; + }, + get: function (key) { + return listGet($o, key); + }, + has: function (key) { + return listHas($o, key); + }, + set: function (key, value) { + if (!$o) { + // Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head + $o = { + next: void undefined + }; + } + // eslint-disable-next-line no-extra-parens + listSet(/** @type {NonNullable} */ ($o), key, value); + } + }; + // @ts-expect-error TODO: figure out why this is erroring + return channel; +}; diff --git a/node_modules/side-channel-list/list.d.ts b/node_modules/side-channel-list/list.d.ts new file mode 100644 index 0000000..2c759e2 --- /dev/null +++ b/node_modules/side-channel-list/list.d.ts @@ -0,0 +1,14 @@ +type ListNode = { + key: K; + next: undefined | ListNode; + value: T; +}; +type RootNode = { + next: undefined | ListNode; +}; + +export function listGetNode(list: RootNode, key: ListNode['key'], isDelete?: boolean): ListNode | undefined; +export function listGet(objects: undefined | RootNode, key: ListNode['key']): T | undefined; +export function listSet(objects: RootNode, key: ListNode['key'], value: T): void; +export function listHas(objects: undefined | RootNode, key: ListNode['key']): boolean; +export function listDelete(objects: undefined | RootNode, key: ListNode['key']): ListNode | undefined; diff --git a/node_modules/side-channel-list/package.json b/node_modules/side-channel-list/package.json new file mode 100644 index 0000000..ba0f5c5 --- /dev/null +++ b/node_modules/side-channel-list/package.json @@ -0,0 +1,77 @@ +{ + "name": "side-channel-list", + "version": "1.0.0", + "description": "Store information about any JS value in a side channel, using a linked list", + "main": "index.js", + "exports": { + ".": "./index.js", + "./package.json": "./package.json" + }, + "types": "./index.d.ts", + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prelint": "evalmd README.md && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc -p . && attw -P", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@'>= 10.2' audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/side-channel-list.git" + }, + "keywords": [], + "author": "Jordan Harband ", + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/side-channel-list/issues" + }, + "homepage": "https://github.com/ljharb/side-channel-list#readme", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3" + }, + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.1", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.2", + "@types/object-inspect": "^1.13.0", + "@types/tape": "^5.6.5", + "auto-changelog": "^2.5.0", + "eclint": "^2.8.1", + "encoding": "^0.1.13", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} diff --git a/node_modules/side-channel-list/test/index.js b/node_modules/side-channel-list/test/index.js new file mode 100644 index 0000000..3ad4368 --- /dev/null +++ b/node_modules/side-channel-list/test/index.js @@ -0,0 +1,104 @@ +'use strict'; + +var test = require('tape'); + +var getSideChannelList = require('../'); + +test('getSideChannelList', function (t) { + t.test('export', function (st) { + st.equal(typeof getSideChannelList, 'function', 'is a function'); + + st.equal(getSideChannelList.length, 0, 'takes no arguments'); + + var channel = getSideChannelList(); + st.ok(channel, 'is truthy'); + st.equal(typeof channel, 'object', 'is an object'); + st.end(); + }); + + t.test('assert', function (st) { + var channel = getSideChannelList(); + st['throws']( + function () { channel.assert({}); }, + TypeError, + 'nonexistent value throws' + ); + + var o = {}; + channel.set(o, 'data'); + st.doesNotThrow(function () { channel.assert(o); }, 'existent value noops'); + + st.end(); + }); + + t.test('has', function (st) { + var channel = getSideChannelList(); + /** @type {unknown[]} */ var o = []; + + st.equal(channel.has(o), false, 'nonexistent value yields false'); + + channel.set(o, 'foo'); + st.equal(channel.has(o), true, 'existent value yields true'); + + st.equal(channel.has('abc'), false, 'non object value non existent yields false'); + + channel.set('abc', 'foo'); + st.equal(channel.has('abc'), true, 'non object value that exists yields true'); + + st.end(); + }); + + t.test('get', function (st) { + var channel = getSideChannelList(); + var o = {}; + st.equal(channel.get(o), undefined, 'nonexistent value yields undefined'); + + var data = {}; + channel.set(o, data); + st.equal(channel.get(o), data, '"get" yields data set by "set"'); + + st.end(); + }); + + t.test('set', function (st) { + var channel = getSideChannelList(); + var o = function () {}; + st.equal(channel.get(o), undefined, 'value not set'); + + channel.set(o, 42); + st.equal(channel.get(o), 42, 'value was set'); + + channel.set(o, Infinity); + st.equal(channel.get(o), Infinity, 'value was set again'); + + var o2 = {}; + channel.set(o2, 17); + st.equal(channel.get(o), Infinity, 'o is not modified'); + st.equal(channel.get(o2), 17, 'o2 is set'); + + channel.set(o, 14); + st.equal(channel.get(o), 14, 'o is modified'); + st.equal(channel.get(o2), 17, 'o2 is not modified'); + + st.end(); + }); + + t.test('delete', function (st) { + var channel = getSideChannelList(); + var o = {}; + st.equal(channel['delete']({}), false, 'nonexistent value yields false'); + + channel.set(o, 42); + st.equal(channel.has(o), true, 'value is set'); + + st.equal(channel['delete']({}), false, 'nonexistent value still yields false'); + + st.equal(channel['delete'](o), true, 'deleted value yields true'); + + st.equal(channel.has(o), false, 'value is no longer set'); + + st.end(); + }); + + t.end(); +}); diff --git a/node_modules/side-channel-list/tsconfig.json b/node_modules/side-channel-list/tsconfig.json new file mode 100644 index 0000000..d9a6668 --- /dev/null +++ b/node_modules/side-channel-list/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "@ljharb/tsconfig", + "compilerOptions": { + "target": "es2021", + }, + "exclude": [ + "coverage", + ], +} diff --git a/node_modules/side-channel-map/.editorconfig b/node_modules/side-channel-map/.editorconfig new file mode 100644 index 0000000..72e0eba --- /dev/null +++ b/node_modules/side-channel-map/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = tab +indent_size = 2 +trim_trailing_whitespace = true diff --git a/node_modules/side-channel-map/.eslintrc b/node_modules/side-channel-map/.eslintrc new file mode 100644 index 0000000..93978e7 --- /dev/null +++ b/node_modules/side-channel-map/.eslintrc @@ -0,0 +1,11 @@ +{ + "root": true, + + "extends": "@ljharb", + + "rules": { + "max-lines-per-function": 0, + "multiline-comment-style": 1, + "new-cap": [2, { "capIsNewExceptions": ["GetIntrinsic"] }], + }, +} diff --git a/node_modules/side-channel-map/.github/FUNDING.yml b/node_modules/side-channel-map/.github/FUNDING.yml new file mode 100644 index 0000000..f2891bd --- /dev/null +++ b/node_modules/side-channel-map/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [ljharb] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: npm/side-channel-map +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/side-channel-map/.nycrc b/node_modules/side-channel-map/.nycrc new file mode 100644 index 0000000..1826526 --- /dev/null +++ b/node_modules/side-channel-map/.nycrc @@ -0,0 +1,13 @@ +{ + "all": true, + "check-coverage": false, + "reporter": ["text-summary", "text", "html", "json"], + "lines": 86, + "statements": 85.93, + "functions": 82.43, + "branches": 76.06, + "exclude": [ + "coverage", + "test" + ] +} diff --git a/node_modules/side-channel-map/CHANGELOG.md b/node_modules/side-channel-map/CHANGELOG.md new file mode 100644 index 0000000..b6ccea9 --- /dev/null +++ b/node_modules/side-channel-map/CHANGELOG.md @@ -0,0 +1,22 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.0.1](https://github.com/ljharb/side-channel-map/compare/v1.0.0...v1.0.1) - 2024-12-10 + +### Commits + +- [Deps] update `call-bound` [`6d05aaa`](https://github.com/ljharb/side-channel-map/commit/6d05aaa4ce5f2be4e7825df433d650696f0ba40f) +- [types] fix generics ordering [`11c0184`](https://github.com/ljharb/side-channel-map/commit/11c0184132ac11fdc16857e12682e148e5e9ee74) + +## v1.0.0 - 2024-12-10 + +### Commits + +- Initial implementation, tests, readme, types [`ad877b4`](https://github.com/ljharb/side-channel-map/commit/ad877b42926d46d63fff76a2bd01d2b4a01959a9) +- Initial commit [`28f8879`](https://github.com/ljharb/side-channel-map/commit/28f8879c512abe8fcf9b6a4dc7754a0287e5eba4) +- npm init [`2c9604e`](https://github.com/ljharb/side-channel-map/commit/2c9604e5aa40223e425ea7cea78f8a07697504bd) +- Only apps should have lockfiles [`5e7ba9c`](https://github.com/ljharb/side-channel-map/commit/5e7ba9cffe3ef42095815adc8ac1255b49bbadf5) diff --git a/node_modules/side-channel-map/LICENSE b/node_modules/side-channel-map/LICENSE new file mode 100644 index 0000000..f82f389 --- /dev/null +++ b/node_modules/side-channel-map/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/side-channel-map/README.md b/node_modules/side-channel-map/README.md new file mode 100644 index 0000000..8fa6f77 --- /dev/null +++ b/node_modules/side-channel-map/README.md @@ -0,0 +1,62 @@ +# side-channel-map [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +Store information about any JS value in a side channel, using a Map. + +Warning: if the `key` is an object, this implementation will leak memory until you `delete` it. +Use [`side-channel`](https://npmjs.com/side-channel) for the best available strategy. + +## Getting started + +```sh +npm install --save side-channel-map +``` + +## Usage/Examples + +```js +const assert = require('assert'); +const getSideChannelMap = require('side-channel-map'); + +const channel = getSideChannelMap(); + +const key = {}; +assert.equal(channel.has(key), false); +assert.throws(() => channel.assert(key), TypeError); + +channel.set(key, 42); + +channel.assert(key); // does not throw +assert.equal(channel.has(key), true); +assert.equal(channel.get(key), 42); + +channel.delete(key); +assert.equal(channel.has(key), false); +assert.throws(() => channel.assert(key), TypeError); +``` + +## Tests + +Clone the repo, `npm install`, and run `npm test` + +[package-url]: https://npmjs.org/package/side-channel-map +[npm-version-svg]: https://versionbadg.es/ljharb/side-channel-map.svg +[deps-svg]: https://david-dm.org/ljharb/side-channel-map.svg +[deps-url]: https://david-dm.org/ljharb/side-channel-map +[dev-deps-svg]: https://david-dm.org/ljharb/side-channel-map/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/side-channel-map#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/side-channel-map.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/side-channel-map.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/side-channel-map.svg +[downloads-url]: https://npm-stat.com/charts.html?package=side-channel-map +[codecov-image]: https://codecov.io/gh/ljharb/side-channel-map/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/side-channel-map/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/side-channel-map +[actions-url]: https://github.com/ljharb/side-channel-map/actions diff --git a/node_modules/side-channel-map/index.d.ts b/node_modules/side-channel-map/index.d.ts new file mode 100644 index 0000000..de33e89 --- /dev/null +++ b/node_modules/side-channel-map/index.d.ts @@ -0,0 +1,15 @@ +declare namespace getSideChannelMap { + type Channel = { + assert: (key: K) => void; + has: (key: K) => boolean; + get: (key: K) => V | undefined; + set: (key: K, value: V) => void; + delete: (key: K) => boolean; + }; +} + +declare function getSideChannelMap(): getSideChannelMap.Channel; + +declare const x: false | typeof getSideChannelMap; + +export = x; diff --git a/node_modules/side-channel-map/index.js b/node_modules/side-channel-map/index.js new file mode 100644 index 0000000..e111100 --- /dev/null +++ b/node_modules/side-channel-map/index.js @@ -0,0 +1,68 @@ +'use strict'; + +var GetIntrinsic = require('get-intrinsic'); +var callBound = require('call-bound'); +var inspect = require('object-inspect'); + +var $TypeError = require('es-errors/type'); +var $Map = GetIntrinsic('%Map%', true); + +/** @type {(thisArg: Map, key: K) => V} */ +var $mapGet = callBound('Map.prototype.get', true); +/** @type {(thisArg: Map, key: K, value: V) => void} */ +var $mapSet = callBound('Map.prototype.set', true); +/** @type {(thisArg: Map, key: K) => boolean} */ +var $mapHas = callBound('Map.prototype.has', true); +/** @type {(thisArg: Map, key: K) => boolean} */ +var $mapDelete = callBound('Map.prototype.delete', true); +/** @type {(thisArg: Map) => number} */ +var $mapSize = callBound('Map.prototype.size', true); + +/** @type {import('.')} */ +module.exports = !!$Map && /** @type {Exclude} */ function getSideChannelMap() { + /** @typedef {ReturnType} Channel */ + /** @typedef {Parameters[0]} K */ + /** @typedef {Parameters[1]} V */ + + /** @type {Map | undefined} */ var $m; + + /** @type {Channel} */ + var channel = { + assert: function (key) { + if (!channel.has(key)) { + throw new $TypeError('Side channel does not contain ' + inspect(key)); + } + }, + 'delete': function (key) { + if ($m) { + var result = $mapDelete($m, key); + if ($mapSize($m) === 0) { + $m = void undefined; + } + return result; + } + return false; + }, + get: function (key) { // eslint-disable-line consistent-return + if ($m) { + return $mapGet($m, key); + } + }, + has: function (key) { + if ($m) { + return $mapHas($m, key); + } + return false; + }, + set: function (key, value) { + if (!$m) { + // @ts-expect-error TS can't handle narrowing a variable inside a closure + $m = new $Map(); + } + $mapSet($m, key, value); + } + }; + + // @ts-expect-error TODO: figure out why TS is erroring here + return channel; +}; diff --git a/node_modules/side-channel-map/package.json b/node_modules/side-channel-map/package.json new file mode 100644 index 0000000..18e8080 --- /dev/null +++ b/node_modules/side-channel-map/package.json @@ -0,0 +1,80 @@ +{ + "name": "side-channel-map", + "version": "1.0.1", + "description": "Store information about any JS value in a side channel, using a Map", + "main": "index.js", + "exports": { + ".": "./index.js", + "./package.json": "./package.json" + }, + "types": "./index.d.ts", + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prelint": "evalmd README.md && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc -p . && attw -P", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@'>= 10.2' audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/side-channel-map.git" + }, + "keywords": [], + "author": "Jordan Harband ", + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/side-channel-map/issues" + }, + "homepage": "https://github.com/ljharb/side-channel-map#readme", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.1", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.2", + "@types/get-intrinsic": "^1.2.3", + "@types/object-inspect": "^1.13.0", + "@types/tape": "^5.6.5", + "auto-changelog": "^2.5.0", + "eclint": "^2.8.1", + "encoding": "^0.1.13", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} diff --git a/node_modules/side-channel-map/test/index.js b/node_modules/side-channel-map/test/index.js new file mode 100644 index 0000000..1743323 --- /dev/null +++ b/node_modules/side-channel-map/test/index.js @@ -0,0 +1,114 @@ +'use strict'; + +var test = require('tape'); + +var getSideChannelMap = require('../'); + +test('getSideChannelMap', { skip: typeof Map !== 'function' }, function (t) { + var getSideChannel = getSideChannelMap || function () { + throw new EvalError('should never happen'); + }; + + t.test('export', function (st) { + st.equal(typeof getSideChannel, 'function', 'is a function'); + + st.equal(getSideChannel.length, 0, 'takes no arguments'); + + var channel = getSideChannel(); + st.ok(channel, 'is truthy'); + st.equal(typeof channel, 'object', 'is an object'); + st.end(); + }); + + t.test('assert', function (st) { + var channel = getSideChannel(); + st['throws']( + function () { channel.assert({}); }, + TypeError, + 'nonexistent value throws' + ); + + var o = {}; + channel.set(o, 'data'); + st.doesNotThrow(function () { channel.assert(o); }, 'existent value noops'); + + st.end(); + }); + + t.test('has', function (st) { + var channel = getSideChannel(); + /** @type {unknown[]} */ var o = []; + + st.equal(channel.has(o), false, 'nonexistent value yields false'); + + channel.set(o, 'foo'); + st.equal(channel.has(o), true, 'existent value yields true'); + + st.equal(channel.has('abc'), false, 'non object value non existent yields false'); + + channel.set('abc', 'foo'); + st.equal(channel.has('abc'), true, 'non object value that exists yields true'); + + st.end(); + }); + + t.test('get', function (st) { + var channel = getSideChannel(); + var o = {}; + st.equal(channel.get(o), undefined, 'nonexistent value yields undefined'); + + var data = {}; + channel.set(o, data); + st.equal(channel.get(o), data, '"get" yields data set by "set"'); + + st.end(); + }); + + t.test('set', function (st) { + var channel = getSideChannel(); + var o = function () {}; + st.equal(channel.get(o), undefined, 'value not set'); + + channel.set(o, 42); + st.equal(channel.get(o), 42, 'value was set'); + + channel.set(o, Infinity); + st.equal(channel.get(o), Infinity, 'value was set again'); + + var o2 = {}; + channel.set(o2, 17); + st.equal(channel.get(o), Infinity, 'o is not modified'); + st.equal(channel.get(o2), 17, 'o2 is set'); + + channel.set(o, 14); + st.equal(channel.get(o), 14, 'o is modified'); + st.equal(channel.get(o2), 17, 'o2 is not modified'); + + st.end(); + }); + + t.test('delete', function (st) { + var channel = getSideChannel(); + var o = {}; + st.equal(channel['delete']({}), false, 'nonexistent value yields false'); + + channel.set(o, 42); + st.equal(channel.has(o), true, 'value is set'); + + st.equal(channel['delete']({}), false, 'nonexistent value still yields false'); + + st.equal(channel['delete'](o), true, 'deleted value yields true'); + + st.equal(channel.has(o), false, 'value is no longer set'); + + st.end(); + }); + + t.end(); +}); + +test('getSideChannelMap, no Maps', { skip: typeof Map === 'function' }, function (t) { + t.equal(getSideChannelMap, false, 'is false'); + + t.end(); +}); diff --git a/node_modules/side-channel-map/tsconfig.json b/node_modules/side-channel-map/tsconfig.json new file mode 100644 index 0000000..d9a6668 --- /dev/null +++ b/node_modules/side-channel-map/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "@ljharb/tsconfig", + "compilerOptions": { + "target": "es2021", + }, + "exclude": [ + "coverage", + ], +} diff --git a/node_modules/side-channel-weakmap/.editorconfig b/node_modules/side-channel-weakmap/.editorconfig new file mode 100644 index 0000000..72e0eba --- /dev/null +++ b/node_modules/side-channel-weakmap/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = tab +indent_size = 2 +trim_trailing_whitespace = true diff --git a/node_modules/side-channel-weakmap/.eslintrc b/node_modules/side-channel-weakmap/.eslintrc new file mode 100644 index 0000000..9b13ad8 --- /dev/null +++ b/node_modules/side-channel-weakmap/.eslintrc @@ -0,0 +1,12 @@ +{ + "root": true, + + "extends": "@ljharb", + + "rules": { + "id-length": 0, + "max-lines-per-function": 0, + "multiline-comment-style": 1, + "new-cap": [2, { "capIsNewExceptions": ["GetIntrinsic"] }], + }, +} diff --git a/node_modules/side-channel-weakmap/.github/FUNDING.yml b/node_modules/side-channel-weakmap/.github/FUNDING.yml new file mode 100644 index 0000000..2ae71cd --- /dev/null +++ b/node_modules/side-channel-weakmap/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [ljharb] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: npm/side-channel-weakmap +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/side-channel-weakmap/.nycrc b/node_modules/side-channel-weakmap/.nycrc new file mode 100644 index 0000000..1826526 --- /dev/null +++ b/node_modules/side-channel-weakmap/.nycrc @@ -0,0 +1,13 @@ +{ + "all": true, + "check-coverage": false, + "reporter": ["text-summary", "text", "html", "json"], + "lines": 86, + "statements": 85.93, + "functions": 82.43, + "branches": 76.06, + "exclude": [ + "coverage", + "test" + ] +} diff --git a/node_modules/side-channel-weakmap/CHANGELOG.md b/node_modules/side-channel-weakmap/CHANGELOG.md new file mode 100644 index 0000000..aba7ab0 --- /dev/null +++ b/node_modules/side-channel-weakmap/CHANGELOG.md @@ -0,0 +1,28 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.0.2](https://github.com/ljharb/side-channel-weakmap/compare/v1.0.1...v1.0.2) - 2024-12-10 + +### Commits + +- [types] fix generics ordering [`1b62e94`](https://github.com/ljharb/side-channel-weakmap/commit/1b62e94a2ad6ed30b640ba73c4a2535836c67289) + +## [v1.0.1](https://github.com/ljharb/side-channel-weakmap/compare/v1.0.0...v1.0.1) - 2024-12-10 + +### Commits + +- [types] fix generics ordering [`08a4a5d`](https://github.com/ljharb/side-channel-weakmap/commit/08a4a5dbffedc3ebc79f1aaaf5a3dd6d2196dc1b) +- [Deps] update `side-channel-map` [`b53fe44`](https://github.com/ljharb/side-channel-weakmap/commit/b53fe447dfdd3a9aebedfd015b384eac17fce916) + +## v1.0.0 - 2024-12-10 + +### Commits + +- Initial implementation, tests, readme, types [`53c0fa4`](https://github.com/ljharb/side-channel-weakmap/commit/53c0fa4788435a006f58b9d7b43cb65989ecee49) +- Initial commit [`a157947`](https://github.com/ljharb/side-channel-weakmap/commit/a157947f26fcaf2c4a941d3a044e76bf67343532) +- npm init [`54dfc55`](https://github.com/ljharb/side-channel-weakmap/commit/54dfc55bafb16265910d5aad4e743c43aee5bbbb) +- Only apps should have lockfiles [`0ddd6c7`](https://github.com/ljharb/side-channel-weakmap/commit/0ddd6c7b07fe8ee04d67b2e9f7255af7ce62c07d) diff --git a/node_modules/side-channel-weakmap/LICENSE b/node_modules/side-channel-weakmap/LICENSE new file mode 100644 index 0000000..3900dd7 --- /dev/null +++ b/node_modules/side-channel-weakmap/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/side-channel-weakmap/README.md b/node_modules/side-channel-weakmap/README.md new file mode 100644 index 0000000..856ee36 --- /dev/null +++ b/node_modules/side-channel-weakmap/README.md @@ -0,0 +1,62 @@ +# side-channel-weakmap [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +Store information about any JS value in a side channel. Uses WeakMap if available. + +Warning: this implementation will leak memory until you `delete` the `key`. +Use [`side-channel`](https://npmjs.com/side-channel) for the best available strategy. + +## Getting started + +```sh +npm install --save side-channel-weakmap +``` + +## Usage/Examples + +```js +const assert = require('assert'); +const getSideChannelList = require('side-channel-weakmap'); + +const channel = getSideChannelList(); + +const key = {}; +assert.equal(channel.has(key), false); +assert.throws(() => channel.assert(key), TypeError); + +channel.set(key, 42); + +channel.assert(key); // does not throw +assert.equal(channel.has(key), true); +assert.equal(channel.get(key), 42); + +channel.delete(key); +assert.equal(channel.has(key), false); +assert.throws(() => channel.assert(key), TypeError); +``` + +## Tests + +Clone the repo, `npm install`, and run `npm test` + +[package-url]: https://npmjs.org/package/side-channel-weakmap +[npm-version-svg]: https://versionbadg.es/ljharb/side-channel-weakmap.svg +[deps-svg]: https://david-dm.org/ljharb/side-channel-weakmap.svg +[deps-url]: https://david-dm.org/ljharb/side-channel-weakmap +[dev-deps-svg]: https://david-dm.org/ljharb/side-channel-weakmap/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/side-channel-weakmap#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/side-channel-weakmap.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/side-channel-weakmap.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/side-channel-weakmap.svg +[downloads-url]: https://npm-stat.com/charts.html?package=side-channel-weakmap +[codecov-image]: https://codecov.io/gh/ljharb/side-channel-weakmap/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/side-channel-weakmap/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/side-channel-weakmap +[actions-url]: https://github.com/ljharb/side-channel-weakmap/actions diff --git a/node_modules/side-channel-weakmap/index.d.ts b/node_modules/side-channel-weakmap/index.d.ts new file mode 100644 index 0000000..ce1bc2a --- /dev/null +++ b/node_modules/side-channel-weakmap/index.d.ts @@ -0,0 +1,15 @@ +declare namespace getSideChannelWeakMap { + type Channel = { + assert: (key: K) => void; + has: (key: K) => boolean; + get: (key: K) => V | undefined; + set: (key: K, value: V) => void; + delete: (key: K) => boolean; + } +} + +declare function getSideChannelWeakMap(): getSideChannelWeakMap.Channel; + +declare const x: false | typeof getSideChannelWeakMap; + +export = x; diff --git a/node_modules/side-channel-weakmap/index.js b/node_modules/side-channel-weakmap/index.js new file mode 100644 index 0000000..e5b8183 --- /dev/null +++ b/node_modules/side-channel-weakmap/index.js @@ -0,0 +1,84 @@ +'use strict'; + +var GetIntrinsic = require('get-intrinsic'); +var callBound = require('call-bound'); +var inspect = require('object-inspect'); +var getSideChannelMap = require('side-channel-map'); + +var $TypeError = require('es-errors/type'); +var $WeakMap = GetIntrinsic('%WeakMap%', true); + +/** @type {(thisArg: WeakMap, key: K) => V} */ +var $weakMapGet = callBound('WeakMap.prototype.get', true); +/** @type {(thisArg: WeakMap, key: K, value: V) => void} */ +var $weakMapSet = callBound('WeakMap.prototype.set', true); +/** @type {(thisArg: WeakMap, key: K) => boolean} */ +var $weakMapHas = callBound('WeakMap.prototype.has', true); +/** @type {(thisArg: WeakMap, key: K) => boolean} */ +var $weakMapDelete = callBound('WeakMap.prototype.delete', true); + +/** @type {import('.')} */ +module.exports = $WeakMap + ? /** @type {Exclude} */ function getSideChannelWeakMap() { + /** @typedef {ReturnType} Channel */ + /** @typedef {Parameters[0]} K */ + /** @typedef {Parameters[1]} V */ + + /** @type {WeakMap | undefined} */ var $wm; + /** @type {Channel | undefined} */ var $m; + + /** @type {Channel} */ + var channel = { + assert: function (key) { + if (!channel.has(key)) { + throw new $TypeError('Side channel does not contain ' + inspect(key)); + } + }, + 'delete': function (key) { + if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { + if ($wm) { + return $weakMapDelete($wm, key); + } + } else if (getSideChannelMap) { + if ($m) { + return $m['delete'](key); + } + } + return false; + }, + get: function (key) { + if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { + if ($wm) { + return $weakMapGet($wm, key); + } + } + return $m && $m.get(key); + }, + has: function (key) { + if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { + if ($wm) { + return $weakMapHas($wm, key); + } + } + return !!$m && $m.has(key); + }, + set: function (key, value) { + if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { + if (!$wm) { + $wm = new $WeakMap(); + } + $weakMapSet($wm, key, value); + } else if (getSideChannelMap) { + if (!$m) { + $m = getSideChannelMap(); + } + // eslint-disable-next-line no-extra-parens + /** @type {NonNullable} */ ($m).set(key, value); + } + } + }; + + // @ts-expect-error TODO: figure out why this is erroring + return channel; + } + : getSideChannelMap; diff --git a/node_modules/side-channel-weakmap/package.json b/node_modules/side-channel-weakmap/package.json new file mode 100644 index 0000000..9ef6583 --- /dev/null +++ b/node_modules/side-channel-weakmap/package.json @@ -0,0 +1,87 @@ +{ + "name": "side-channel-weakmap", + "version": "1.0.2", + "description": "Store information about any JS value in a side channel. Uses WeakMap if available.", + "main": "index.js", + "exports": { + ".": "./index.js", + "./package.json": "./package.json" + }, + "types": "./index.d.ts", + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc -p . && attw -P", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@'>=10.2' audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/side-channel-weakmap.git" + }, + "keywords": [ + "weakmap", + "map", + "side", + "channel", + "metadata" + ], + "author": "Jordan Harband ", + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/side-channel-weakmap/issues" + }, + "homepage": "https://github.com/ljharb/side-channel-weakmap#readme", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + }, + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.1", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.2", + "@types/call-bind": "^1.0.5", + "@types/get-intrinsic": "^1.2.3", + "@types/object-inspect": "^1.13.0", + "@types/tape": "^5.6.5", + "auto-changelog": "^2.5.0", + "eclint": "^2.8.1", + "encoding": "^0.1.13", + "eslint": "=8.8.0", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} diff --git a/node_modules/side-channel-weakmap/test/index.js b/node_modules/side-channel-weakmap/test/index.js new file mode 100644 index 0000000..a01248b --- /dev/null +++ b/node_modules/side-channel-weakmap/test/index.js @@ -0,0 +1,114 @@ +'use strict'; + +var test = require('tape'); + +var getSideChannelWeakMap = require('../'); + +test('getSideChannelMap', { skip: typeof WeakMap !== 'function' && typeof Map !== 'function' }, function (t) { + var getSideChannel = getSideChannelWeakMap || function () { + throw new EvalError('should never happen'); + }; + + t.test('export', function (st) { + st.equal(typeof getSideChannel, 'function', 'is a function'); + + st.equal(getSideChannel.length, 0, 'takes no arguments'); + + var channel = getSideChannel(); + st.ok(channel, 'is truthy'); + st.equal(typeof channel, 'object', 'is an object'); + st.end(); + }); + + t.test('assert', function (st) { + var channel = getSideChannel(); + st['throws']( + function () { channel.assert({}); }, + TypeError, + 'nonexistent value throws' + ); + + var o = {}; + channel.set(o, 'data'); + st.doesNotThrow(function () { channel.assert(o); }, 'existent value noops'); + + st.end(); + }); + + t.test('has', function (st) { + var channel = getSideChannel(); + /** @type {unknown[]} */ var o = []; + + st.equal(channel.has(o), false, 'nonexistent value yields false'); + + channel.set(o, 'foo'); + st.equal(channel.has(o), true, 'existent value yields true'); + + st.equal(channel.has('abc'), false, 'non object value non existent yields false'); + + channel.set('abc', 'foo'); + st.equal(channel.has('abc'), true, 'non object value that exists yields true'); + + st.end(); + }); + + t.test('get', function (st) { + var channel = getSideChannel(); + var o = {}; + st.equal(channel.get(o), undefined, 'nonexistent value yields undefined'); + + var data = {}; + channel.set(o, data); + st.equal(channel.get(o), data, '"get" yields data set by "set"'); + + st.end(); + }); + + t.test('set', function (st) { + var channel = getSideChannel(); + var o = function () {}; + st.equal(channel.get(o), undefined, 'value not set'); + + channel.set(o, 42); + st.equal(channel.get(o), 42, 'value was set'); + + channel.set(o, Infinity); + st.equal(channel.get(o), Infinity, 'value was set again'); + + var o2 = {}; + channel.set(o2, 17); + st.equal(channel.get(o), Infinity, 'o is not modified'); + st.equal(channel.get(o2), 17, 'o2 is set'); + + channel.set(o, 14); + st.equal(channel.get(o), 14, 'o is modified'); + st.equal(channel.get(o2), 17, 'o2 is not modified'); + + st.end(); + }); + + t.test('delete', function (st) { + var channel = getSideChannel(); + var o = {}; + st.equal(channel['delete']({}), false, 'nonexistent value yields false'); + + channel.set(o, 42); + st.equal(channel.has(o), true, 'value is set'); + + st.equal(channel['delete']({}), false, 'nonexistent value still yields false'); + + st.equal(channel['delete'](o), true, 'deleted value yields true'); + + st.equal(channel.has(o), false, 'value is no longer set'); + + st.end(); + }); + + t.end(); +}); + +test('getSideChannelMap, no WeakMaps and/or Maps', { skip: typeof WeakMap === 'function' || typeof Map === 'function' }, function (t) { + t.equal(getSideChannelWeakMap, false, 'is false'); + + t.end(); +}); diff --git a/node_modules/side-channel-weakmap/tsconfig.json b/node_modules/side-channel-weakmap/tsconfig.json new file mode 100644 index 0000000..d9a6668 --- /dev/null +++ b/node_modules/side-channel-weakmap/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "@ljharb/tsconfig", + "compilerOptions": { + "target": "es2021", + }, + "exclude": [ + "coverage", + ], +} diff --git a/node_modules/side-channel/.editorconfig b/node_modules/side-channel/.editorconfig new file mode 100644 index 0000000..72e0eba --- /dev/null +++ b/node_modules/side-channel/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = tab +indent_size = 2 +trim_trailing_whitespace = true diff --git a/node_modules/side-channel/.eslintrc b/node_modules/side-channel/.eslintrc new file mode 100644 index 0000000..9b13ad8 --- /dev/null +++ b/node_modules/side-channel/.eslintrc @@ -0,0 +1,12 @@ +{ + "root": true, + + "extends": "@ljharb", + + "rules": { + "id-length": 0, + "max-lines-per-function": 0, + "multiline-comment-style": 1, + "new-cap": [2, { "capIsNewExceptions": ["GetIntrinsic"] }], + }, +} diff --git a/node_modules/side-channel/.github/FUNDING.yml b/node_modules/side-channel/.github/FUNDING.yml new file mode 100644 index 0000000..2a94840 --- /dev/null +++ b/node_modules/side-channel/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [ljharb] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: npm/side-channel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_modules/side-channel/.nycrc b/node_modules/side-channel/.nycrc new file mode 100644 index 0000000..1826526 --- /dev/null +++ b/node_modules/side-channel/.nycrc @@ -0,0 +1,13 @@ +{ + "all": true, + "check-coverage": false, + "reporter": ["text-summary", "text", "html", "json"], + "lines": 86, + "statements": 85.93, + "functions": 82.43, + "branches": 76.06, + "exclude": [ + "coverage", + "test" + ] +} diff --git a/node_modules/side-channel/CHANGELOG.md b/node_modules/side-channel/CHANGELOG.md new file mode 100644 index 0000000..58e378c --- /dev/null +++ b/node_modules/side-channel/CHANGELOG.md @@ -0,0 +1,110 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.1.0](https://github.com/ljharb/side-channel/compare/v1.0.6...v1.1.0) - 2024-12-11 + +### Commits + +- [Refactor] extract implementations to `side-channel-weakmap`, `side-channel-map`, `side-channel-list` [`ada5955`](https://github.com/ljharb/side-channel/commit/ada595549a5c4c6c853756d598846b180941c6da) +- [New] add `channel.delete` [`c01d2d3`](https://github.com/ljharb/side-channel/commit/c01d2d3fd51dbb1ce6da72ad7916e61bd6172aad) +- [types] improve types [`0c54356`](https://github.com/ljharb/side-channel/commit/0c5435651417df41b8cc1a5f7cdce8bffae68cde) +- [readme] add content [`be24868`](https://github.com/ljharb/side-channel/commit/be248682ac294b0e22c883092c45985aa91c490a) +- [actions] split out node 10-20, and 20+ [`c4488e2`](https://github.com/ljharb/side-channel/commit/c4488e241ef3d49a19fe266ac830a2e644305911) +- [types] use shared tsconfig [`0e0d57c`](https://github.com/ljharb/side-channel/commit/0e0d57c2ff17c7b45c6cbd43ebcf553edc9e3adc) +- [Dev Deps] update `@ljharb/eslint-config`, `@ljharb/tsconfig`, `@types/get-intrinsic`, `@types/object-inspect`, `@types/tape`, `auto-changelog`, `tape` [`fb4f622`](https://github.com/ljharb/side-channel/commit/fb4f622e64a99a1e40b6e5cd7691674a9dc429e4) +- [Deps] update `call-bind`, `get-intrinsic`, `object-inspect` [`b78336b`](https://github.com/ljharb/side-channel/commit/b78336b886172d1b457d414ac9e28de8c5fecc78) +- [Tests] replace `aud` with `npm audit` [`ee3ab46`](https://github.com/ljharb/side-channel/commit/ee3ab4690d954311c35115651bcfd45edd205aa1) +- [Dev Deps] add missing peer dep [`c03e21a`](https://github.com/ljharb/side-channel/commit/c03e21a7def3b67cdc15ae22316884fefcb2f6a8) + +## [v1.0.6](https://github.com/ljharb/side-channel/compare/v1.0.5...v1.0.6) - 2024-02-29 + +### Commits + +- add types [`9beef66`](https://github.com/ljharb/side-channel/commit/9beef6643e6d717ea57bedabf86448123a7dd9e9) +- [meta] simplify `exports` [`4334cf9`](https://github.com/ljharb/side-channel/commit/4334cf9df654151504c383b62a2f9ebdc8d9d5ac) +- [Deps] update `call-bind` [`d6043c4`](https://github.com/ljharb/side-channel/commit/d6043c4d8f4d7be9037dd0f0419c7a2e0e39ec6a) +- [Dev Deps] update `tape` [`6aca376`](https://github.com/ljharb/side-channel/commit/6aca3761868dc8cd5ff7fd9799bf6b95e09a6eb0) + +## [v1.0.5](https://github.com/ljharb/side-channel/compare/v1.0.4...v1.0.5) - 2024-02-06 + +### Commits + +- [actions] reuse common workflows [`3d2e1ff`](https://github.com/ljharb/side-channel/commit/3d2e1ffd16dd6eaaf3e40ff57951f840d2d63c04) +- [meta] use `npmignore` to autogenerate an npmignore file [`04296ea`](https://github.com/ljharb/side-channel/commit/04296ea17d1544b0a5d20fd5bfb31aa4f6513eb9) +- [meta] add `.editorconfig`; add `eclint` [`130f0a6`](https://github.com/ljharb/side-channel/commit/130f0a6adbc04d385c7456a601d38344dce3d6a9) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `safe-publish-latest`, `tape` [`d480c2f`](https://github.com/ljharb/side-channel/commit/d480c2fbe757489ae9b4275491ffbcc3ac4725e9) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`ecbe70e`](https://github.com/ljharb/side-channel/commit/ecbe70e53a418234081a77971fec1fdfae20c841) +- [actions] update rebase action [`75240b9`](https://github.com/ljharb/side-channel/commit/75240b9963b816e8846400d2287cb68f88c7fba7) +- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `npmignore`, `tape` [`ae8d281`](https://github.com/ljharb/side-channel/commit/ae8d281572430099109870fd9430d2ca3f320b8d) +- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`7125b88`](https://github.com/ljharb/side-channel/commit/7125b885fd0eacad4fee9b073b72d14065ece278) +- [Deps] update `call-bind`, `get-intrinsic`, `object-inspect` [`82577c9`](https://github.com/ljharb/side-channel/commit/82577c9796304519139a570f82a317211b5f3b86) +- [Deps] update `call-bind`, `get-intrinsic`, `object-inspect` [`550aadf`](https://github.com/ljharb/side-channel/commit/550aadf20475a6081fd70304cc54f77259a5c8a8) +- [Tests] increase coverage [`5130877`](https://github.com/ljharb/side-channel/commit/5130877a7b27c862e64e6d1c12a178b28808859d) +- [Deps] update `get-intrinsic`, `object-inspect` [`ba0194c`](https://github.com/ljharb/side-channel/commit/ba0194c505b1a8a0427be14cadd5b8a46d4d01b8) +- [meta] add missing `engines.node` [`985fd24`](https://github.com/ljharb/side-channel/commit/985fd249663cb06617a693a94fe08cad12f5cb70) +- [Refactor] use `es-errors`, so things that only need those do not need `get-intrinsic` [`40227a8`](https://github.com/ljharb/side-channel/commit/40227a87b01709ad2c0eebf87eb4223a800099b9) +- [Deps] update `get-intrinsic` [`a989b40`](https://github.com/ljharb/side-channel/commit/a989b4024958737ae7be9fbffdeff2078f33a0fd) +- [Deps] update `object-inspect` [`aec42d2`](https://github.com/ljharb/side-channel/commit/aec42d2ec541a31aaa02475692c87d489237d9a3) + +## [v1.0.4](https://github.com/ljharb/side-channel/compare/v1.0.3...v1.0.4) - 2020-12-29 + +### Commits + +- [Tests] migrate tests to Github Actions [`10909cb`](https://github.com/ljharb/side-channel/commit/10909cbf8ce9c0bf96f604cf13d7ffd5a22c2d40) +- [Refactor] Use a linked list rather than an array, and move accessed nodes to the beginning [`195613f`](https://github.com/ljharb/side-channel/commit/195613f28b5c1e6072ef0b61b5beebaf2b6a304e) +- [meta] do not publish github action workflow files [`290ec29`](https://github.com/ljharb/side-channel/commit/290ec29cd21a60585145b4a7237ec55228c52c27) +- [Tests] run `nyc` on all tests; use `tape` runner [`ea6d030`](https://github.com/ljharb/side-channel/commit/ea6d030ff3fe6be2eca39e859d644c51ecd88869) +- [actions] add "Allow Edits" workflow [`d464d8f`](https://github.com/ljharb/side-channel/commit/d464d8fe52b5eddf1504a0ed97f0941a90f32c15) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog` [`02daca8`](https://github.com/ljharb/side-channel/commit/02daca87c6809821c97be468d1afa2f5ef447383) +- [Refactor] use `call-bind` and `get-intrinsic` instead of `es-abstract` [`e09d481`](https://github.com/ljharb/side-channel/commit/e09d481528452ebafa5cdeae1af665c35aa2deee) +- [Deps] update `object.assign` [`ee83aa8`](https://github.com/ljharb/side-channel/commit/ee83aa81df313b5e46319a63adb05cf0c179079a) +- [actions] update rebase action to use checkout v2 [`7726b0b`](https://github.com/ljharb/side-channel/commit/7726b0b058b632fccea709f58960871defaaa9d7) + +## [v1.0.3](https://github.com/ljharb/side-channel/compare/v1.0.2...v1.0.3) - 2020-08-23 + +### Commits + +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`1f10561`](https://github.com/ljharb/side-channel/commit/1f105611ef3acf32dec8032ae5c0baa5e56bb868) +- [Deps] update `es-abstract`, `object-inspect` [`bc20159`](https://github.com/ljharb/side-channel/commit/bc201597949a505e37cef9eaf24c7010831e6f03) +- [Dev Deps] update `@ljharb/eslint-config`, `tape` [`b9b2b22`](https://github.com/ljharb/side-channel/commit/b9b2b225f9e0ea72a6ec2b89348f0bd690bc9ed1) +- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`7055ab4`](https://github.com/ljharb/side-channel/commit/7055ab4de0860606efd2003674a74f1fe6ebc07e) +- [Dev Deps] update `auto-changelog`; add `aud` [`d278c37`](https://github.com/ljharb/side-channel/commit/d278c37d08227be4f84aa769fcd919e73feeba40) +- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`3bcf982`](https://github.com/ljharb/side-channel/commit/3bcf982faa122745b39c33ce83d32fdf003741c6) +- [Tests] only audit prod deps [`18d01c4`](https://github.com/ljharb/side-channel/commit/18d01c4015b82a3d75044c4d5ba7917b2eac01ec) +- [Deps] update `es-abstract` [`6ab096d`](https://github.com/ljharb/side-channel/commit/6ab096d9de2b482cf5e0717e34e212f5b2b9bc9a) +- [Dev Deps] update `tape` [`9dc174c`](https://github.com/ljharb/side-channel/commit/9dc174cc651dfd300b4b72da936a0a7eda5f9452) +- [Deps] update `es-abstract` [`431d0f0`](https://github.com/ljharb/side-channel/commit/431d0f0ff11fbd2ae6f3115582a356d3a1cfce82) +- [Deps] update `es-abstract` [`49869fd`](https://github.com/ljharb/side-channel/commit/49869fd323bf4453f0ba515c0fb265cf5ab7b932) +- [meta] Add package.json to package's exports [`77d9cdc`](https://github.com/ljharb/side-channel/commit/77d9cdceb2a9e47700074f2ae0c0a202e7dac0d4) + +## [v1.0.2](https://github.com/ljharb/side-channel/compare/v1.0.1...v1.0.2) - 2019-12-20 + +### Commits + +- [Dev Deps] update `@ljharb/eslint-config`, `tape` [`4a526df`](https://github.com/ljharb/side-channel/commit/4a526df44e4701566ed001ec78546193f818b082) +- [Deps] update `es-abstract` [`d4f6e62`](https://github.com/ljharb/side-channel/commit/d4f6e629b6fb93a07415db7f30d3c90fd7f264fe) + +## [v1.0.1](https://github.com/ljharb/side-channel/compare/v1.0.0...v1.0.1) - 2019-12-01 + +### Commits + +- [Fix] add missing "exports" [`d212907`](https://github.com/ljharb/side-channel/commit/d2129073abf0701a5343bf28aa2145617604dc2e) + +## v1.0.0 - 2019-12-01 + +### Commits + +- Initial implementation [`dbebd3a`](https://github.com/ljharb/side-channel/commit/dbebd3a4b5ed64242f9a6810efe7c4214cd8cde4) +- Initial tests [`73bdefe`](https://github.com/ljharb/side-channel/commit/73bdefe568c9076cf8c0b8719bc2141aec0e19b8) +- Initial commit [`43c03e1`](https://github.com/ljharb/side-channel/commit/43c03e1c2849ec50a87b7a5cd76238a62b0b8770) +- npm init [`5c090a7`](https://github.com/ljharb/side-channel/commit/5c090a765d66a5527d9889b89aeff78dee91348c) +- [meta] add `auto-changelog` [`a5c4e56`](https://github.com/ljharb/side-channel/commit/a5c4e5675ec02d5eb4d84b4243aeea2a1d38fbec) +- [actions] add automatic rebasing / merge commit blocking [`bab1683`](https://github.com/ljharb/side-channel/commit/bab1683d8f9754b086e94397699fdc645e0d7077) +- [meta] add `funding` field; create FUNDING.yml [`63d7aea`](https://github.com/ljharb/side-channel/commit/63d7aeaf34f5650650ae97ca4b9fae685bd0937c) +- [Tests] add `npm run lint` [`46a5a81`](https://github.com/ljharb/side-channel/commit/46a5a81705cd2664f83df232c01dbbf2ee952885) +- Only apps should have lockfiles [`8b16b03`](https://github.com/ljharb/side-channel/commit/8b16b0305f00895d90c4e2e5773c854cfea0e448) +- [meta] add `safe-publish-latest` [`2f098ef`](https://github.com/ljharb/side-channel/commit/2f098ef092a39399cfe548b19a1fc03c2fd2f490) diff --git a/node_modules/side-channel/LICENSE b/node_modules/side-channel/LICENSE new file mode 100644 index 0000000..3900dd7 --- /dev/null +++ b/node_modules/side-channel/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/side-channel/README.md b/node_modules/side-channel/README.md new file mode 100644 index 0000000..cc7e103 --- /dev/null +++ b/node_modules/side-channel/README.md @@ -0,0 +1,61 @@ +# side-channel [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +Store information about any JS value in a side channel. Uses WeakMap if available. + +Warning: in an environment that lacks `WeakMap`, this implementation will leak memory until you `delete` the `key`. + +## Getting started + +```sh +npm install --save side-channel +``` + +## Usage/Examples + +```js +const assert = require('assert'); +const getSideChannel = require('side-channel'); + +const channel = getSideChannel(); + +const key = {}; +assert.equal(channel.has(key), false); +assert.throws(() => channel.assert(key), TypeError); + +channel.set(key, 42); + +channel.assert(key); // does not throw +assert.equal(channel.has(key), true); +assert.equal(channel.get(key), 42); + +channel.delete(key); +assert.equal(channel.has(key), false); +assert.throws(() => channel.assert(key), TypeError); +``` + +## Tests + +Clone the repo, `npm install`, and run `npm test` + +[package-url]: https://npmjs.org/package/side-channel +[npm-version-svg]: https://versionbadg.es/ljharb/side-channel.svg +[deps-svg]: https://david-dm.org/ljharb/side-channel.svg +[deps-url]: https://david-dm.org/ljharb/side-channel +[dev-deps-svg]: https://david-dm.org/ljharb/side-channel/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/side-channel#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/side-channel.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/side-channel.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/side-channel.svg +[downloads-url]: https://npm-stat.com/charts.html?package=side-channel +[codecov-image]: https://codecov.io/gh/ljharb/side-channel/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/side-channel/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/side-channel +[actions-url]: https://github.com/ljharb/side-channel/actions diff --git a/node_modules/side-channel/index.d.ts b/node_modules/side-channel/index.d.ts new file mode 100644 index 0000000..18c6317 --- /dev/null +++ b/node_modules/side-channel/index.d.ts @@ -0,0 +1,14 @@ +import getSideChannelList from 'side-channel-list'; +import getSideChannelMap from 'side-channel-map'; +import getSideChannelWeakMap from 'side-channel-weakmap'; + +declare namespace getSideChannel { + type Channel = + | getSideChannelList.Channel + | ReturnType, false>> + | ReturnType, false>>; +} + +declare function getSideChannel(): getSideChannel.Channel; + +export = getSideChannel; diff --git a/node_modules/side-channel/index.js b/node_modules/side-channel/index.js new file mode 100644 index 0000000..a8a9b05 --- /dev/null +++ b/node_modules/side-channel/index.js @@ -0,0 +1,43 @@ +'use strict'; + +var $TypeError = require('es-errors/type'); +var inspect = require('object-inspect'); +var getSideChannelList = require('side-channel-list'); +var getSideChannelMap = require('side-channel-map'); +var getSideChannelWeakMap = require('side-channel-weakmap'); + +var makeChannel = getSideChannelWeakMap || getSideChannelMap || getSideChannelList; + +/** @type {import('.')} */ +module.exports = function getSideChannel() { + /** @typedef {ReturnType} Channel */ + + /** @type {Channel | undefined} */ var $channelData; + + /** @type {Channel} */ + var channel = { + assert: function (key) { + if (!channel.has(key)) { + throw new $TypeError('Side channel does not contain ' + inspect(key)); + } + }, + 'delete': function (key) { + return !!$channelData && $channelData['delete'](key); + }, + get: function (key) { + return $channelData && $channelData.get(key); + }, + has: function (key) { + return !!$channelData && $channelData.has(key); + }, + set: function (key, value) { + if (!$channelData) { + $channelData = makeChannel(); + } + + $channelData.set(key, value); + } + }; + // @ts-expect-error TODO: figure out why this is erroring + return channel; +}; diff --git a/node_modules/side-channel/package.json b/node_modules/side-channel/package.json new file mode 100644 index 0000000..30fa42c --- /dev/null +++ b/node_modules/side-channel/package.json @@ -0,0 +1,85 @@ +{ + "name": "side-channel", + "version": "1.1.0", + "description": "Store information about any JS value in a side channel. Uses WeakMap if available.", + "main": "index.js", + "exports": { + ".": "./index.js", + "./package.json": "./package.json" + }, + "types": "./index.d.ts", + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')", + "lint": "eslint --ext=js,mjs .", + "postlint": "tsc -p . && attw -P", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx npm@'>=10.2' audit --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/side-channel.git" + }, + "keywords": [ + "weakmap", + "map", + "side", + "channel", + "metadata" + ], + "author": "Jordan Harband ", + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/side-channel/issues" + }, + "homepage": "https://github.com/ljharb/side-channel#readme", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.1", + "@ljharb/eslint-config": "^21.1.1", + "@ljharb/tsconfig": "^0.2.2", + "@types/object-inspect": "^1.13.0", + "@types/tape": "^5.6.5", + "auto-changelog": "^2.5.0", + "eclint": "^2.8.1", + "encoding": "^0.1.13", + "eslint": "=8.8.0", + "in-publish": "^2.0.1", + "npmignore": "^0.3.1", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.9.0", + "typescript": "next" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + }, + "engines": { + "node": ">= 0.4" + } +} diff --git a/node_modules/side-channel/test/index.js b/node_modules/side-channel/test/index.js new file mode 100644 index 0000000..bd1e7c2 --- /dev/null +++ b/node_modules/side-channel/test/index.js @@ -0,0 +1,104 @@ +'use strict'; + +var test = require('tape'); + +var getSideChannel = require('../'); + +test('getSideChannel', function (t) { + t.test('export', function (st) { + st.equal(typeof getSideChannel, 'function', 'is a function'); + + st.equal(getSideChannel.length, 0, 'takes no arguments'); + + var channel = getSideChannel(); + st.ok(channel, 'is truthy'); + st.equal(typeof channel, 'object', 'is an object'); + st.end(); + }); + + t.test('assert', function (st) { + var channel = getSideChannel(); + st['throws']( + function () { channel.assert({}); }, + TypeError, + 'nonexistent value throws' + ); + + var o = {}; + channel.set(o, 'data'); + st.doesNotThrow(function () { channel.assert(o); }, 'existent value noops'); + + st.end(); + }); + + t.test('has', function (st) { + var channel = getSideChannel(); + /** @type {unknown[]} */ var o = []; + + st.equal(channel.has(o), false, 'nonexistent value yields false'); + + channel.set(o, 'foo'); + st.equal(channel.has(o), true, 'existent value yields true'); + + st.equal(channel.has('abc'), false, 'non object value non existent yields false'); + + channel.set('abc', 'foo'); + st.equal(channel.has('abc'), true, 'non object value that exists yields true'); + + st.end(); + }); + + t.test('get', function (st) { + var channel = getSideChannel(); + var o = {}; + st.equal(channel.get(o), undefined, 'nonexistent value yields undefined'); + + var data = {}; + channel.set(o, data); + st.equal(channel.get(o), data, '"get" yields data set by "set"'); + + st.end(); + }); + + t.test('set', function (st) { + var channel = getSideChannel(); + var o = function () {}; + st.equal(channel.get(o), undefined, 'value not set'); + + channel.set(o, 42); + st.equal(channel.get(o), 42, 'value was set'); + + channel.set(o, Infinity); + st.equal(channel.get(o), Infinity, 'value was set again'); + + var o2 = {}; + channel.set(o2, 17); + st.equal(channel.get(o), Infinity, 'o is not modified'); + st.equal(channel.get(o2), 17, 'o2 is set'); + + channel.set(o, 14); + st.equal(channel.get(o), 14, 'o is modified'); + st.equal(channel.get(o2), 17, 'o2 is not modified'); + + st.end(); + }); + + t.test('delete', function (st) { + var channel = getSideChannel(); + var o = {}; + st.equal(channel['delete']({}), false, 'nonexistent value yields false'); + + channel.set(o, 42); + st.equal(channel.has(o), true, 'value is set'); + + st.equal(channel['delete']({}), false, 'nonexistent value still yields false'); + + st.equal(channel['delete'](o), true, 'deleted value yields true'); + + st.equal(channel.has(o), false, 'value is no longer set'); + + st.end(); + }); + + t.end(); +}); diff --git a/node_modules/side-channel/tsconfig.json b/node_modules/side-channel/tsconfig.json new file mode 100644 index 0000000..d9a6668 --- /dev/null +++ b/node_modules/side-channel/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "@ljharb/tsconfig", + "compilerOptions": { + "target": "es2021", + }, + "exclude": [ + "coverage", + ], +} diff --git a/node_modules/stack-trace/.npmignore b/node_modules/stack-trace/.npmignore new file mode 100644 index 0000000..b59f7e3 --- /dev/null +++ b/node_modules/stack-trace/.npmignore @@ -0,0 +1 @@ +test/ \ No newline at end of file diff --git a/node_modules/stack-trace/License b/node_modules/stack-trace/License new file mode 100644 index 0000000..11ec094 --- /dev/null +++ b/node_modules/stack-trace/License @@ -0,0 +1,19 @@ +Copyright (c) 2011 Felix Geisendörfer (felix@debuggable.com) + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. diff --git a/node_modules/stack-trace/Makefile b/node_modules/stack-trace/Makefile new file mode 100644 index 0000000..a7ce31d --- /dev/null +++ b/node_modules/stack-trace/Makefile @@ -0,0 +1,11 @@ +SHELL := /bin/bash + +test: + @./test/run.js + +release: + git push + git push --tags + npm publish . + +.PHONY: test diff --git a/node_modules/stack-trace/Readme.md b/node_modules/stack-trace/Readme.md new file mode 100644 index 0000000..fcd1b97 --- /dev/null +++ b/node_modules/stack-trace/Readme.md @@ -0,0 +1,98 @@ +# stack-trace + +Get v8 stack traces as an array of CallSite objects. + +## Install + +``` bash +npm install stack-trace +``` + +## Usage + +The stack-trace module makes it easy for you to capture the current stack: + +``` javascript +var stackTrace = require('stack-trace'); +var trace = stackTrace.get(); + +require('assert').strictEqual(trace[0].getFileName(), __filename); +``` + +However, sometimes you have already popped the stack you are interested in, +and all you have left is an `Error` object. This module can help: + +``` javascript +var stackTrace = require('stack-trace'); +var err = new Error('something went wrong'); +var trace = stackTrace.parse(err); + +require('assert').strictEqual(trace[0].getFileName(), __filename); +``` + +Please note that parsing the `Error#stack` property is not perfect, only +certain properties can be retrieved with it as noted in the API docs below. + +## Long stack traces + +stack-trace works great with [long-stack-traces][], when parsing an `err.stack` +that has crossed the event loop boundary, a `CallSite` object returning +`'----------------------------------------'` for `getFileName()` is created. +All other methods of the event loop boundary call site return `null`. + +[long-stack-traces]: https://github.com/tlrobinson/long-stack-traces + +## API + +### stackTrace.get([belowFn]) + +Returns an array of `CallSite` objects, where element `0` is the current call +site. + +When passing a function on the current stack as the `belowFn` parameter, the +returned array will only include `CallSite` objects below this function. + +### stackTrace.parse(err) + +Parses the `err.stack` property of an `Error` object into an array compatible +with those returned by `stackTrace.get()`. However, only the following methods +are implemented on the returned `CallSite` objects. + +* getTypeName +* getFunctionName +* getMethodName +* getFileName +* getLineNumber +* getColumnNumber +* isNative + +Note: Except `getFunctionName()`, all of the above methods return exactly the +same values as you would get from `stackTrace.get()`. `getFunctionName()` +is sometimes a little different, but still useful. + +### CallSite + +The official v8 CallSite object API can be found [here][v8stackapi]. A quick +excerpt: + +> A CallSite object defines the following methods: +> +> * **getThis**: returns the value of this +> * **getTypeName**: returns the type of this as a string. This is the name of the function stored in the constructor field of this, if available, otherwise the object's [[Class]] internal property. +> * **getFunction**: returns the current function +> * **getFunctionName**: returns the name of the current function, typically its name property. If a name property is not available an attempt will be made to try to infer a name from the function's context. +> * **getMethodName**: returns the name of the property of this or one of its prototypes that holds the current function +> * **getFileName**: if this function was defined in a script returns the name of the script +> * **getLineNumber**: if this function was defined in a script returns the current line number +> * **getColumnNumber**: if this function was defined in a script returns the current column number +> * **getEvalOrigin**: if this function was created using a call to eval returns a CallSite object representing the location where eval was called +> * **isToplevel**: is this a toplevel invocation, that is, is this the global object? +> * **isEval**: does this call take place in code defined by a call to eval? +> * **isNative**: is this call in native V8 code? +> * **isConstructor**: is this a constructor call? + +[v8stackapi]: http://code.google.com/p/v8/wiki/JavaScriptStackTraceApi + +## License + +stack-trace is licensed under the MIT license. diff --git a/node_modules/stack-trace/lib/stack-trace.js b/node_modules/stack-trace/lib/stack-trace.js new file mode 100644 index 0000000..cbadd58 --- /dev/null +++ b/node_modules/stack-trace/lib/stack-trace.js @@ -0,0 +1,136 @@ +exports.get = function(belowFn) { + var oldLimit = Error.stackTraceLimit; + Error.stackTraceLimit = Infinity; + + var dummyObject = {}; + + var v8Handler = Error.prepareStackTrace; + Error.prepareStackTrace = function(dummyObject, v8StackTrace) { + return v8StackTrace; + }; + Error.captureStackTrace(dummyObject, belowFn || exports.get); + + var v8StackTrace = dummyObject.stack; + Error.prepareStackTrace = v8Handler; + Error.stackTraceLimit = oldLimit; + + return v8StackTrace; +}; + +exports.parse = function(err) { + if (!err.stack) { + return []; + } + + var self = this; + var lines = err.stack.split('\n').slice(1); + + return lines + .map(function(line) { + if (line.match(/^\s*[-]{4,}$/)) { + return self._createParsedCallSite({ + fileName: line, + lineNumber: null, + functionName: null, + typeName: null, + methodName: null, + columnNumber: null, + 'native': null, + }); + } + + var lineMatch = line.match(/at (?:(.+)\s+\()?(?:(.+?):(\d+)(?::(\d+))?|([^)]+))\)?/); + if (!lineMatch) { + return; + } + + var object = null; + var method = null; + var functionName = null; + var typeName = null; + var methodName = null; + var isNative = (lineMatch[5] === 'native'); + + if (lineMatch[1]) { + functionName = lineMatch[1]; + var methodStart = functionName.lastIndexOf('.'); + if (functionName[methodStart-1] == '.') + methodStart--; + if (methodStart > 0) { + object = functionName.substr(0, methodStart); + method = functionName.substr(methodStart + 1); + var objectEnd = object.indexOf('.Module'); + if (objectEnd > 0) { + functionName = functionName.substr(objectEnd + 1); + object = object.substr(0, objectEnd); + } + } + typeName = null; + } + + if (method) { + typeName = object; + methodName = method; + } + + if (method === '') { + methodName = null; + functionName = null; + } + + var properties = { + fileName: lineMatch[2] || null, + lineNumber: parseInt(lineMatch[3], 10) || null, + functionName: functionName, + typeName: typeName, + methodName: methodName, + columnNumber: parseInt(lineMatch[4], 10) || null, + 'native': isNative, + }; + + return self._createParsedCallSite(properties); + }) + .filter(function(callSite) { + return !!callSite; + }); +}; + +function CallSite(properties) { + for (var property in properties) { + this[property] = properties[property]; + } +} + +var strProperties = [ + 'this', + 'typeName', + 'functionName', + 'methodName', + 'fileName', + 'lineNumber', + 'columnNumber', + 'function', + 'evalOrigin' +]; +var boolProperties = [ + 'topLevel', + 'eval', + 'native', + 'constructor' +]; +strProperties.forEach(function (property) { + CallSite.prototype[property] = null; + CallSite.prototype['get' + property[0].toUpperCase() + property.substr(1)] = function () { + return this[property]; + } +}); +boolProperties.forEach(function (property) { + CallSite.prototype[property] = false; + CallSite.prototype['is' + property[0].toUpperCase() + property.substr(1)] = function () { + return this[property]; + } +}); + +exports._createParsedCallSite = function(properties) { + return new CallSite(properties); +}; diff --git a/node_modules/stack-trace/package.json b/node_modules/stack-trace/package.json new file mode 100644 index 0000000..9cd0d07 --- /dev/null +++ b/node_modules/stack-trace/package.json @@ -0,0 +1,21 @@ +{ + "author": "Felix Geisendörfer (http://debuggable.com/)", + "name": "stack-trace", + "description": "Get v8 stack traces as an array of CallSite objects.", + "version": "0.0.10", + "homepage": "https://github.com/felixge/node-stack-trace", + "repository": { + "type": "git", + "url": "git://github.com/felixge/node-stack-trace.git" + }, + "main": "./lib/stack-trace", + "engines": { + "node": "*" + }, + "license": "MIT", + "dependencies": {}, + "devDependencies": { + "far": "0.0.3", + "long-stack-traces": "0.1.2" + } +} diff --git a/node_modules/standard-as-callback/LICENSE b/node_modules/standard-as-callback/LICENSE new file mode 100644 index 0000000..d1c994e --- /dev/null +++ b/node_modules/standard-as-callback/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2018 Zihua Li +Copyright (c) 2013-2017 Petka Antonov + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/standard-as-callback/README.md b/node_modules/standard-as-callback/README.md new file mode 100644 index 0000000..4b52cd0 --- /dev/null +++ b/node_modules/standard-as-callback/README.md @@ -0,0 +1,33 @@ +# Standard asCallback +A performant and standard (Bluebird) library that registers a node-style callback on a promise. + +[![Build Status](https://travis-ci.org/luin/asCallback.svg?branch=master)](https://travis-ci.org/luin/asCallback) + +## Install + +``` +$ npm install standard-as-callback +``` + +## Usage + +```javascript +const asCallback = require('standard-as-callback') + +const promise = new Promise(function (resolve) { + setTimeout(function () { + resolve('hello world!') + }, 1000) +}) + +asCallback(promise, function callback (err, res) { + console.log(err, res) // null, 'hello world!' +}) +``` + +## Thanks + +Most code of this library are ported from the awesome Bluebird library. + +## License +The MIT License. diff --git a/node_modules/standard-as-callback/built/index.d.ts b/node_modules/standard-as-callback/built/index.d.ts new file mode 100644 index 0000000..0d7e11f --- /dev/null +++ b/node_modules/standard-as-callback/built/index.d.ts @@ -0,0 +1,5 @@ +import { CallbackFunction } from "./types"; +export interface IOptions { + spread: boolean; +} +export default function asCallback(promise: Promise, nodeback: CallbackFunction, options?: IOptions): Promise; diff --git a/node_modules/standard-as-callback/built/index.js b/node_modules/standard-as-callback/built/index.js new file mode 100644 index 0000000..7f4db27 --- /dev/null +++ b/node_modules/standard-as-callback/built/index.js @@ -0,0 +1,41 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const utils_1 = require("./utils"); +function throwLater(e) { + setTimeout(function () { + throw e; + }, 0); +} +function asCallback(promise, nodeback, options) { + if (typeof nodeback === "function") { + promise.then((val) => { + let ret; + if (options !== undefined && + Object(options).spread && + Array.isArray(val)) { + ret = utils_1.tryCatch(nodeback).apply(undefined, [null].concat(val)); + } + else { + ret = + val === undefined + ? utils_1.tryCatch(nodeback)(null) + : utils_1.tryCatch(nodeback)(null, val); + } + if (ret === utils_1.errorObj) { + throwLater(ret.e); + } + }, (cause) => { + if (!cause) { + const newReason = new Error(cause + ""); + Object.assign(newReason, { cause }); + cause = newReason; + } + const ret = utils_1.tryCatch(nodeback)(cause); + if (ret === utils_1.errorObj) { + throwLater(ret.e); + } + }); + } + return promise; +} +exports.default = asCallback; diff --git a/node_modules/standard-as-callback/built/types.d.ts b/node_modules/standard-as-callback/built/types.d.ts new file mode 100644 index 0000000..94eaede --- /dev/null +++ b/node_modules/standard-as-callback/built/types.d.ts @@ -0,0 +1 @@ +export declare type CallbackFunction = ((err: null, val: T) => void) | ((err: Error) => void); diff --git a/node_modules/standard-as-callback/built/types.js b/node_modules/standard-as-callback/built/types.js new file mode 100644 index 0000000..c8ad2e5 --- /dev/null +++ b/node_modules/standard-as-callback/built/types.js @@ -0,0 +1,2 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/node_modules/standard-as-callback/built/utils.d.ts b/node_modules/standard-as-callback/built/utils.d.ts new file mode 100644 index 0000000..b3fac29 --- /dev/null +++ b/node_modules/standard-as-callback/built/utils.d.ts @@ -0,0 +1,9 @@ +import { CallbackFunction } from "./types"; +export declare const errorObj: { + e: {}; +}; +declare function tryCatcher(err: Error, val?: T): void | { + e: Error; +}; +export declare function tryCatch(fn: CallbackFunction): typeof tryCatcher; +export {}; diff --git a/node_modules/standard-as-callback/built/utils.js b/node_modules/standard-as-callback/built/utils.js new file mode 100644 index 0000000..328c31e --- /dev/null +++ b/node_modules/standard-as-callback/built/utils.js @@ -0,0 +1,23 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.tryCatch = exports.errorObj = void 0; +//Try catch is not supported in optimizing +//compiler, so it is isolated +exports.errorObj = { e: {} }; +let tryCatchTarget; +function tryCatcher(err, val) { + try { + const target = tryCatchTarget; + tryCatchTarget = null; + return target.apply(this, arguments); + } + catch (e) { + exports.errorObj.e = e; + return exports.errorObj; + } +} +function tryCatch(fn) { + tryCatchTarget = fn; + return tryCatcher; +} +exports.tryCatch = tryCatch; diff --git a/node_modules/standard-as-callback/package.json b/node_modules/standard-as-callback/package.json new file mode 100644 index 0000000..7a71978 --- /dev/null +++ b/node_modules/standard-as-callback/package.json @@ -0,0 +1,40 @@ +{ + "name": "standard-as-callback", + "version": "2.1.0", + "description": "A performant and standard (Bluebird) library that registers a node-style callback on a promise", + "main": "built/index.js", + "types": "built/index.d.ts", + "directories": { + "lib": "built" + }, + "files": [ + "built/" + ], + "scripts": { + "build": "rm -rf built && tsc", + "test": "npm run build && mocha", + "prepublishOnly": "npm test" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/luin/asCallback.git" + }, + "keywords": [ + "ascallback", + "nodeify", + "promise", + "bluebird" + ], + "author": "luin ", + "license": "MIT", + "bugs": { + "url": "https://github.com/luin/asCallback/issues" + }, + "homepage": "https://github.com/luin/asCallback#readme", + "devDependencies": { + "mocha": "^8.3.2", + "promise-timeout": "^1.3.0", + "sinon": "^9.2.4", + "typescript": "^4.2.3" + } +} diff --git a/node_modules/statuses/HISTORY.md b/node_modules/statuses/HISTORY.md new file mode 100644 index 0000000..dc549b8 --- /dev/null +++ b/node_modules/statuses/HISTORY.md @@ -0,0 +1,87 @@ +2.0.2 / 2025-06-06 +================== + + * Migrate to `String.prototype.slice()` + +2.0.1 / 2021-01-03 +================== + + * Fix returning values from `Object.prototype` + +2.0.0 / 2020-04-19 +================== + + * Drop support for Node.js 0.6 + * Fix messaging casing of `418 I'm a Teapot` + * Remove code 306 + * Remove `status[code]` exports; use `status.message[code]` + * Remove `status[msg]` exports; use `status.code[msg]` + * Rename `425 Unordered Collection` to standard `425 Too Early` + * Rename `STATUS_CODES` export to `message` + * Return status message for `statuses(code)` when given code + +1.5.0 / 2018-03-27 +================== + + * Add `103 Early Hints` + +1.4.0 / 2017-10-20 +================== + + * Add `STATUS_CODES` export + +1.3.1 / 2016-11-11 +================== + + * Fix return type in JSDoc + +1.3.0 / 2016-05-17 +================== + + * Add `421 Misdirected Request` + * perf: enable strict mode + +1.2.1 / 2015-02-01 +================== + + * Fix message for status 451 + - `451 Unavailable For Legal Reasons` + +1.2.0 / 2014-09-28 +================== + + * Add `208 Already Repored` + * Add `226 IM Used` + * Add `306 (Unused)` + * Add `415 Unable For Legal Reasons` + * Add `508 Loop Detected` + +1.1.1 / 2014-09-24 +================== + + * Add missing 308 to `codes.json` + +1.1.0 / 2014-09-21 +================== + + * Add `codes.json` for universal support + +1.0.4 / 2014-08-20 +================== + + * Package cleanup + +1.0.3 / 2014-06-08 +================== + + * Add 308 to `.redirect` category + +1.0.2 / 2014-03-13 +================== + + * Add `.retry` category + +1.0.1 / 2014-03-12 +================== + + * Initial release diff --git a/node_modules/statuses/LICENSE b/node_modules/statuses/LICENSE new file mode 100644 index 0000000..28a3161 --- /dev/null +++ b/node_modules/statuses/LICENSE @@ -0,0 +1,23 @@ + +The MIT License (MIT) + +Copyright (c) 2014 Jonathan Ong +Copyright (c) 2016 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_modules/statuses/README.md b/node_modules/statuses/README.md new file mode 100644 index 0000000..89d542f --- /dev/null +++ b/node_modules/statuses/README.md @@ -0,0 +1,139 @@ +# statuses + +[![NPM Version][npm-version-image]][npm-url] +[![NPM Downloads][npm-downloads-image]][npm-url] +[![Node.js Version][node-version-image]][node-version-url] +[![Build Status][ci-image]][ci-url] +[![Test Coverage][coveralls-image]][coveralls-url] +[![OpenSSF Scorecard Badge][ossf-scorecard-badge]][ossf-scorecard-visualizer] + +HTTP status utility for node. + +This module provides a list of status codes and messages sourced from +a few different projects: + + * The [IANA Status Code Registry](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) + * The [Node.js project](https://nodejs.org/) + * The [NGINX project](https://www.nginx.com/) + * The [Apache HTTP Server project](https://httpd.apache.org/) + +## Installation + +This is a [Node.js](https://nodejs.org/en/) module available through the +[npm registry](https://www.npmjs.com/). Installation is done using the +[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): + +```sh +$ npm install statuses +``` + +## API + + + +```js +var status = require('statuses') +``` + +### status(code) + +Returns the status message string for a known HTTP status code. The code +may be a number or a string. An error is thrown for an unknown status code. + + + +```js +status(403) // => 'Forbidden' +status('403') // => 'Forbidden' +status(306) // throws +``` + +### status(msg) + +Returns the numeric status code for a known HTTP status message. The message +is case-insensitive. An error is thrown for an unknown status message. + + + +```js +status('forbidden') // => 403 +status('Forbidden') // => 403 +status('foo') // throws +``` + +### status.codes + +Returns an array of all the status codes as `Integer`s. + +### status.code[msg] + +Returns the numeric status code for a known status message (in lower-case), +otherwise `undefined`. + + + +```js +status['not found'] // => 404 +``` + +### status.empty[code] + +Returns `true` if a status code expects an empty body. + + + +```js +status.empty[200] // => undefined +status.empty[204] // => true +status.empty[304] // => true +``` + +### status.message[code] + +Returns the string message for a known numeric status code, otherwise +`undefined`. This object is the same format as the +[Node.js http module `http.STATUS_CODES`](https://nodejs.org/dist/latest/docs/api/http.html#http_http_status_codes). + + + +```js +status.message[404] // => 'Not Found' +``` + +### status.redirect[code] + +Returns `true` if a status code is a valid redirect status. + + + +```js +status.redirect[200] // => undefined +status.redirect[301] // => true +``` + +### status.retry[code] + +Returns `true` if you should retry the rest. + + + +```js +status.retry[501] // => undefined +status.retry[503] // => true +``` + +## License + +[MIT](LICENSE) + +[ci-image]: https://badgen.net/github/checks/jshttp/statuses/master?label=ci +[ci-url]: https://github.com/jshttp/statuses/actions?query=workflow%3Aci +[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/statuses/master +[coveralls-url]: https://coveralls.io/r/jshttp/statuses?branch=master +[node-version-image]: https://badgen.net/npm/node/statuses +[node-version-url]: https://nodejs.org/en/download +[npm-downloads-image]: https://badgen.net/npm/dm/statuses +[npm-url]: https://npmjs.org/package/statuses +[npm-version-image]: https://badgen.net/npm/v/statuses +[ossf-scorecard-badge]: https://api.securityscorecards.dev/projects/github.com/jshttp/statuses/badge +[ossf-scorecard-visualizer]: https://kooltheba.github.io/openssf-scorecard-api-visualizer/#/projects/github.com/jshttp/statuses diff --git a/node_modules/statuses/codes.json b/node_modules/statuses/codes.json new file mode 100644 index 0000000..1333ed1 --- /dev/null +++ b/node_modules/statuses/codes.json @@ -0,0 +1,65 @@ +{ + "100": "Continue", + "101": "Switching Protocols", + "102": "Processing", + "103": "Early Hints", + "200": "OK", + "201": "Created", + "202": "Accepted", + "203": "Non-Authoritative Information", + "204": "No Content", + "205": "Reset Content", + "206": "Partial Content", + "207": "Multi-Status", + "208": "Already Reported", + "226": "IM Used", + "300": "Multiple Choices", + "301": "Moved Permanently", + "302": "Found", + "303": "See Other", + "304": "Not Modified", + "305": "Use Proxy", + "307": "Temporary Redirect", + "308": "Permanent Redirect", + "400": "Bad Request", + "401": "Unauthorized", + "402": "Payment Required", + "403": "Forbidden", + "404": "Not Found", + "405": "Method Not Allowed", + "406": "Not Acceptable", + "407": "Proxy Authentication Required", + "408": "Request Timeout", + "409": "Conflict", + "410": "Gone", + "411": "Length Required", + "412": "Precondition Failed", + "413": "Payload Too Large", + "414": "URI Too Long", + "415": "Unsupported Media Type", + "416": "Range Not Satisfiable", + "417": "Expectation Failed", + "418": "I'm a Teapot", + "421": "Misdirected Request", + "422": "Unprocessable Entity", + "423": "Locked", + "424": "Failed Dependency", + "425": "Too Early", + "426": "Upgrade Required", + "428": "Precondition Required", + "429": "Too Many Requests", + "431": "Request Header Fields Too Large", + "451": "Unavailable For Legal Reasons", + "500": "Internal Server Error", + "501": "Not Implemented", + "502": "Bad Gateway", + "503": "Service Unavailable", + "504": "Gateway Timeout", + "505": "HTTP Version Not Supported", + "506": "Variant Also Negotiates", + "507": "Insufficient Storage", + "508": "Loop Detected", + "509": "Bandwidth Limit Exceeded", + "510": "Not Extended", + "511": "Network Authentication Required" +} diff --git a/node_modules/statuses/index.js b/node_modules/statuses/index.js new file mode 100644 index 0000000..ea351c5 --- /dev/null +++ b/node_modules/statuses/index.js @@ -0,0 +1,146 @@ +/*! + * statuses + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2016 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + * @private + */ + +var codes = require('./codes.json') + +/** + * Module exports. + * @public + */ + +module.exports = status + +// status code to message map +status.message = codes + +// status message (lower-case) to code map +status.code = createMessageToStatusCodeMap(codes) + +// array of status codes +status.codes = createStatusCodeList(codes) + +// status codes for redirects +status.redirect = { + 300: true, + 301: true, + 302: true, + 303: true, + 305: true, + 307: true, + 308: true +} + +// status codes for empty bodies +status.empty = { + 204: true, + 205: true, + 304: true +} + +// status codes for when you should retry the request +status.retry = { + 502: true, + 503: true, + 504: true +} + +/** + * Create a map of message to status code. + * @private + */ + +function createMessageToStatusCodeMap (codes) { + var map = {} + + Object.keys(codes).forEach(function forEachCode (code) { + var message = codes[code] + var status = Number(code) + + // populate map + map[message.toLowerCase()] = status + }) + + return map +} + +/** + * Create a list of all status codes. + * @private + */ + +function createStatusCodeList (codes) { + return Object.keys(codes).map(function mapCode (code) { + return Number(code) + }) +} + +/** + * Get the status code for given message. + * @private + */ + +function getStatusCode (message) { + var msg = message.toLowerCase() + + if (!Object.prototype.hasOwnProperty.call(status.code, msg)) { + throw new Error('invalid status message: "' + message + '"') + } + + return status.code[msg] +} + +/** + * Get the status message for given code. + * @private + */ + +function getStatusMessage (code) { + if (!Object.prototype.hasOwnProperty.call(status.message, code)) { + throw new Error('invalid status code: ' + code) + } + + return status.message[code] +} + +/** + * Get the status code. + * + * Given a number, this will throw if it is not a known status + * code, otherwise the code will be returned. Given a string, + * the string will be parsed for a number and return the code + * if valid, otherwise will lookup the code assuming this is + * the status message. + * + * @param {string|number} code + * @returns {number} + * @public + */ + +function status (code) { + if (typeof code === 'number') { + return getStatusMessage(code) + } + + if (typeof code !== 'string') { + throw new TypeError('code must be a number or string') + } + + // '403' + var n = parseInt(code, 10) + if (!isNaN(n)) { + return getStatusMessage(n) + } + + return getStatusCode(code) +} diff --git a/node_modules/statuses/package.json b/node_modules/statuses/package.json new file mode 100644 index 0000000..b5d016e --- /dev/null +++ b/node_modules/statuses/package.json @@ -0,0 +1,49 @@ +{ + "name": "statuses", + "description": "HTTP status utility", + "version": "2.0.2", + "contributors": [ + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)" + ], + "repository": "jshttp/statuses", + "license": "MIT", + "keywords": [ + "http", + "status", + "code" + ], + "files": [ + "HISTORY.md", + "index.js", + "codes.json", + "LICENSE" + ], + "devDependencies": { + "csv-parse": "4.16.3", + "eslint": "7.19.0", + "eslint-config-standard": "14.1.1", + "eslint-plugin-import": "2.31.0", + "eslint-plugin-markdown": "1.0.2", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-promise": "4.3.1", + "eslint-plugin-standard": "4.1.0", + "mocha": "8.4.0", + "nyc": "15.1.0", + "raw-body": "2.5.2", + "stream-to-array": "2.3.0" + }, + "engines": { + "node": ">= 0.8" + }, + "scripts": { + "build": "node scripts/build.js", + "fetch": "node scripts/fetch-apache.js && node scripts/fetch-iana.js && node scripts/fetch-nginx.js && node scripts/fetch-node.js", + "lint": "eslint --plugin markdown --ext js,md .", + "test": "mocha --reporter spec --check-leaks --bail test/", + "test-ci": "nyc --reporter=lcov --reporter=text npm test", + "test-cov": "nyc --reporter=html --reporter=text npm test", + "update": "npm run fetch && npm run build", + "version": "node scripts/version-history.js && git add HISTORY.md" + } +} diff --git a/node_modules/string_decoder/LICENSE b/node_modules/string_decoder/LICENSE new file mode 100644 index 0000000..778edb2 --- /dev/null +++ b/node_modules/string_decoder/LICENSE @@ -0,0 +1,48 @@ +Node.js is licensed for use as follows: + +""" +Copyright Node.js contributors. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +""" + +This license applies to parts of Node.js originating from the +https://github.com/joyent/node repository: + +""" +Copyright Joyent, Inc. and other Node contributors. All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +""" + diff --git a/node_modules/string_decoder/README.md b/node_modules/string_decoder/README.md new file mode 100644 index 0000000..5fd5831 --- /dev/null +++ b/node_modules/string_decoder/README.md @@ -0,0 +1,47 @@ +# string_decoder + +***Node-core v8.9.4 string_decoder for userland*** + + +[![NPM](https://nodei.co/npm/string_decoder.png?downloads=true&downloadRank=true)](https://nodei.co/npm/string_decoder/) +[![NPM](https://nodei.co/npm-dl/string_decoder.png?&months=6&height=3)](https://nodei.co/npm/string_decoder/) + + +```bash +npm install --save string_decoder +``` + +***Node-core string_decoder for userland*** + +This package is a mirror of the string_decoder implementation in Node-core. + +Full documentation may be found on the [Node.js website](https://nodejs.org/dist/v8.9.4/docs/api/). + +As of version 1.0.0 **string_decoder** uses semantic versioning. + +## Previous versions + +Previous version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. + +## Update + +The *build/* directory contains a build script that will scrape the source from the [nodejs/node](https://github.com/nodejs/node) repo given a specific Node version. + +## Streams Working Group + +`string_decoder` is maintained by the Streams Working Group, which +oversees the development and maintenance of the Streams API within +Node.js. The responsibilities of the Streams Working Group include: + +* Addressing stream issues on the Node.js issue tracker. +* Authoring and editing stream documentation within the Node.js project. +* Reviewing changes to stream subclasses within the Node.js project. +* Redirecting changes to streams from the Node.js project to this + project. +* Assisting in the implementation of stream providers within Node.js. +* Recommending versions of `readable-stream` to be included in Node.js. +* Messaging about the future of streams to give the community advance + notice of changes. + +See [readable-stream](https://github.com/nodejs/readable-stream) for +more details. diff --git a/node_modules/string_decoder/lib/string_decoder.js b/node_modules/string_decoder/lib/string_decoder.js new file mode 100644 index 0000000..2e89e63 --- /dev/null +++ b/node_modules/string_decoder/lib/string_decoder.js @@ -0,0 +1,296 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +'use strict'; + +/**/ + +var Buffer = require('safe-buffer').Buffer; +/**/ + +var isEncoding = Buffer.isEncoding || function (encoding) { + encoding = '' + encoding; + switch (encoding && encoding.toLowerCase()) { + case 'hex':case 'utf8':case 'utf-8':case 'ascii':case 'binary':case 'base64':case 'ucs2':case 'ucs-2':case 'utf16le':case 'utf-16le':case 'raw': + return true; + default: + return false; + } +}; + +function _normalizeEncoding(enc) { + if (!enc) return 'utf8'; + var retried; + while (true) { + switch (enc) { + case 'utf8': + case 'utf-8': + return 'utf8'; + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + return 'utf16le'; + case 'latin1': + case 'binary': + return 'latin1'; + case 'base64': + case 'ascii': + case 'hex': + return enc; + default: + if (retried) return; // undefined + enc = ('' + enc).toLowerCase(); + retried = true; + } + } +}; + +// Do not cache `Buffer.isEncoding` when checking encoding names as some +// modules monkey-patch it to support additional encodings +function normalizeEncoding(enc) { + var nenc = _normalizeEncoding(enc); + if (typeof nenc !== 'string' && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc); + return nenc || enc; +} + +// StringDecoder provides an interface for efficiently splitting a series of +// buffers into a series of JS strings without breaking apart multi-byte +// characters. +exports.StringDecoder = StringDecoder; +function StringDecoder(encoding) { + this.encoding = normalizeEncoding(encoding); + var nb; + switch (this.encoding) { + case 'utf16le': + this.text = utf16Text; + this.end = utf16End; + nb = 4; + break; + case 'utf8': + this.fillLast = utf8FillLast; + nb = 4; + break; + case 'base64': + this.text = base64Text; + this.end = base64End; + nb = 3; + break; + default: + this.write = simpleWrite; + this.end = simpleEnd; + return; + } + this.lastNeed = 0; + this.lastTotal = 0; + this.lastChar = Buffer.allocUnsafe(nb); +} + +StringDecoder.prototype.write = function (buf) { + if (buf.length === 0) return ''; + var r; + var i; + if (this.lastNeed) { + r = this.fillLast(buf); + if (r === undefined) return ''; + i = this.lastNeed; + this.lastNeed = 0; + } else { + i = 0; + } + if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i); + return r || ''; +}; + +StringDecoder.prototype.end = utf8End; + +// Returns only complete characters in a Buffer +StringDecoder.prototype.text = utf8Text; + +// Attempts to complete a partial non-UTF-8 character using bytes from a Buffer +StringDecoder.prototype.fillLast = function (buf) { + if (this.lastNeed <= buf.length) { + buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed); + return this.lastChar.toString(this.encoding, 0, this.lastTotal); + } + buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length); + this.lastNeed -= buf.length; +}; + +// Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a +// continuation byte. If an invalid byte is detected, -2 is returned. +function utf8CheckByte(byte) { + if (byte <= 0x7F) return 0;else if (byte >> 5 === 0x06) return 2;else if (byte >> 4 === 0x0E) return 3;else if (byte >> 3 === 0x1E) return 4; + return byte >> 6 === 0x02 ? -1 : -2; +} + +// Checks at most 3 bytes at the end of a Buffer in order to detect an +// incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4) +// needed to complete the UTF-8 character (if applicable) are returned. +function utf8CheckIncomplete(self, buf, i) { + var j = buf.length - 1; + if (j < i) return 0; + var nb = utf8CheckByte(buf[j]); + if (nb >= 0) { + if (nb > 0) self.lastNeed = nb - 1; + return nb; + } + if (--j < i || nb === -2) return 0; + nb = utf8CheckByte(buf[j]); + if (nb >= 0) { + if (nb > 0) self.lastNeed = nb - 2; + return nb; + } + if (--j < i || nb === -2) return 0; + nb = utf8CheckByte(buf[j]); + if (nb >= 0) { + if (nb > 0) { + if (nb === 2) nb = 0;else self.lastNeed = nb - 3; + } + return nb; + } + return 0; +} + +// Validates as many continuation bytes for a multi-byte UTF-8 character as +// needed or are available. If we see a non-continuation byte where we expect +// one, we "replace" the validated continuation bytes we've seen so far with +// a single UTF-8 replacement character ('\ufffd'), to match v8's UTF-8 decoding +// behavior. The continuation byte check is included three times in the case +// where all of the continuation bytes for a character exist in the same buffer. +// It is also done this way as a slight performance increase instead of using a +// loop. +function utf8CheckExtraBytes(self, buf, p) { + if ((buf[0] & 0xC0) !== 0x80) { + self.lastNeed = 0; + return '\ufffd'; + } + if (self.lastNeed > 1 && buf.length > 1) { + if ((buf[1] & 0xC0) !== 0x80) { + self.lastNeed = 1; + return '\ufffd'; + } + if (self.lastNeed > 2 && buf.length > 2) { + if ((buf[2] & 0xC0) !== 0x80) { + self.lastNeed = 2; + return '\ufffd'; + } + } + } +} + +// Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer. +function utf8FillLast(buf) { + var p = this.lastTotal - this.lastNeed; + var r = utf8CheckExtraBytes(this, buf, p); + if (r !== undefined) return r; + if (this.lastNeed <= buf.length) { + buf.copy(this.lastChar, p, 0, this.lastNeed); + return this.lastChar.toString(this.encoding, 0, this.lastTotal); + } + buf.copy(this.lastChar, p, 0, buf.length); + this.lastNeed -= buf.length; +} + +// Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a +// partial character, the character's bytes are buffered until the required +// number of bytes are available. +function utf8Text(buf, i) { + var total = utf8CheckIncomplete(this, buf, i); + if (!this.lastNeed) return buf.toString('utf8', i); + this.lastTotal = total; + var end = buf.length - (total - this.lastNeed); + buf.copy(this.lastChar, 0, end); + return buf.toString('utf8', i, end); +} + +// For UTF-8, a replacement character is added when ending on a partial +// character. +function utf8End(buf) { + var r = buf && buf.length ? this.write(buf) : ''; + if (this.lastNeed) return r + '\ufffd'; + return r; +} + +// UTF-16LE typically needs two bytes per character, but even if we have an even +// number of bytes available, we need to check if we end on a leading/high +// surrogate. In that case, we need to wait for the next two bytes in order to +// decode the last character properly. +function utf16Text(buf, i) { + if ((buf.length - i) % 2 === 0) { + var r = buf.toString('utf16le', i); + if (r) { + var c = r.charCodeAt(r.length - 1); + if (c >= 0xD800 && c <= 0xDBFF) { + this.lastNeed = 2; + this.lastTotal = 4; + this.lastChar[0] = buf[buf.length - 2]; + this.lastChar[1] = buf[buf.length - 1]; + return r.slice(0, -1); + } + } + return r; + } + this.lastNeed = 1; + this.lastTotal = 2; + this.lastChar[0] = buf[buf.length - 1]; + return buf.toString('utf16le', i, buf.length - 1); +} + +// For UTF-16LE we do not explicitly append special replacement characters if we +// end on a partial character, we simply let v8 handle that. +function utf16End(buf) { + var r = buf && buf.length ? this.write(buf) : ''; + if (this.lastNeed) { + var end = this.lastTotal - this.lastNeed; + return r + this.lastChar.toString('utf16le', 0, end); + } + return r; +} + +function base64Text(buf, i) { + var n = (buf.length - i) % 3; + if (n === 0) return buf.toString('base64', i); + this.lastNeed = 3 - n; + this.lastTotal = 3; + if (n === 1) { + this.lastChar[0] = buf[buf.length - 1]; + } else { + this.lastChar[0] = buf[buf.length - 2]; + this.lastChar[1] = buf[buf.length - 1]; + } + return buf.toString('base64', i, buf.length - n); +} + +function base64End(buf) { + var r = buf && buf.length ? this.write(buf) : ''; + if (this.lastNeed) return r + this.lastChar.toString('base64', 0, 3 - this.lastNeed); + return r; +} + +// Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex) +function simpleWrite(buf) { + return buf.toString(this.encoding); +} + +function simpleEnd(buf) { + return buf && buf.length ? this.write(buf) : ''; +} \ No newline at end of file diff --git a/node_modules/string_decoder/package.json b/node_modules/string_decoder/package.json new file mode 100644 index 0000000..b2bb141 --- /dev/null +++ b/node_modules/string_decoder/package.json @@ -0,0 +1,34 @@ +{ + "name": "string_decoder", + "version": "1.3.0", + "description": "The string_decoder module from Node core", + "main": "lib/string_decoder.js", + "files": [ + "lib" + ], + "dependencies": { + "safe-buffer": "~5.2.0" + }, + "devDependencies": { + "babel-polyfill": "^6.23.0", + "core-util-is": "^1.0.2", + "inherits": "^2.0.3", + "tap": "~0.4.8" + }, + "scripts": { + "test": "tap test/parallel/*.js && node test/verify-dependencies", + "ci": "tap test/parallel/*.js test/ours/*.js --tap | tee test.tap && node test/verify-dependencies.js" + }, + "repository": { + "type": "git", + "url": "git://github.com/nodejs/string_decoder.git" + }, + "homepage": "https://github.com/nodejs/string_decoder", + "keywords": [ + "string", + "decoder", + "browser", + "browserify" + ], + "license": "MIT" +} diff --git a/node_modules/strnum/.github/SECURITY.md b/node_modules/strnum/.github/SECURITY.md new file mode 100644 index 0000000..0db86ca --- /dev/null +++ b/node_modules/strnum/.github/SECURITY.md @@ -0,0 +1,5 @@ +If you believe you have found a security vulnerability in this repository which can be potentially harful for the users in anyway, please do not report security vulnerabilities through public GitHub issues. Instead, please report it to us as described below. + +## Security contact information + +To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure. diff --git a/node_modules/strnum/.vscode/launch.json b/node_modules/strnum/.vscode/launch.json new file mode 100644 index 0000000..b87b349 --- /dev/null +++ b/node_modules/strnum/.vscode/launch.json @@ -0,0 +1,25 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "node", + "request": "launch", + "name": "Jasmine Tests", + "program": "${workspaceFolder}/node_modules/jasmine/bin/jasmine.js", + "args": [ + "${workspaceFolder}/spec/attr_spec.js" + ], + "internalConsoleOptions": "openOnSessionStart" + },{ + "type": "node", + "request": "launch", + "name": "Jasmine Tests current test file", + "program": "${workspaceFolder}/node_modules/jasmine/bin/jasmine.js", + "args": [ + "${file}" + ], + "internalConsoleOptions": "openOnSessionStart" + } + ] + +} \ No newline at end of file diff --git a/node_modules/strnum/CHANGELOG.md b/node_modules/strnum/CHANGELOG.md new file mode 100644 index 0000000..97a8ee4 --- /dev/null +++ b/node_modules/strnum/CHANGELOG.md @@ -0,0 +1,40 @@ + +**2.2.2 / 2026-03-23** +- fix for space string + + +**2.2.1 / 2026-03-19** +- fix false positive for eNotation when no leading zeros + +**2.2.0 / 2026-02-28** +- support infinity + +**2.1.0 / 2025-05-01** +- fix e-notation + - to return string when invalid enotation is found. Eg `E24` + - to return valid number when only leading zero before e char is present + +**2.0.5 / 2025-02-27** +- changes done in 1.1.2 + +**1.1.2 / 2025-02-27** +- fix skiplike for 0 + +**1.1.1 / 2025-02-21** +- All recent fixes of version 2 + +**2.0.4 / 2025-02-20** +- remove console log + +**2.0.3 / 2025-02-20** +- fix for string which are falsly identified as e-notation + +**2.0.1 / 2025-02-20** +- fix: handle only zeros +- fix: return original string when NaN + +**2.0.0 / 2025-02-20** +- Migrating to ESM modules. No functional change + +**1.1.0 / 2025-02-20** +- fix (#9): support missing floating point and e notations \ No newline at end of file diff --git a/node_modules/strnum/LICENSE b/node_modules/strnum/LICENSE new file mode 100644 index 0000000..6450554 --- /dev/null +++ b/node_modules/strnum/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Natural Intelligence + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/strnum/README.md b/node_modules/strnum/README.md new file mode 100644 index 0000000..737dd0d --- /dev/null +++ b/node_modules/strnum/README.md @@ -0,0 +1,104 @@ +# strnum +Parse string into Number based on configuration + +## Users + + + + + +Many React Native projects and plugins + +## Usage + +```bash +npm install strnum +``` +```js +const toNumber = require("strnum"); + +toNumber(undefined) // undefined +toNumber(null)) //null +toNumber("")) // "" +toNumber("string"); //"string") +toNumber("12,12"); //"12,12") +toNumber("12 12"); //"12 12") +toNumber("12-12"); //"12-12") +toNumber("12.12.12"); //"12.12.12") +toNumber("0x2f"); //47) +toNumber("-0x2f"); //-47) +toNumber("0x2f", { hex : true}); //47) +toNumber("-0x2f", { hex : true}); //-47) +toNumber("0x2f", { hex : false}); //"0x2f") +toNumber("-0x2f", { hex : false}); //"-0x2f") +toNumber("06"); //6) +toNumber("06", { leadingZeros : true}); //6) +toNumber("06", { leadingZeros : false}); //"06") + +toNumber("006"); //6) +toNumber("006", { leadingZeros : true}); //6) +toNumber("006", { leadingZeros : false}); //"006") +toNumber("0.0"); //0) +toNumber("00.00"); //0) +toNumber("0.06"); //0.06) +toNumber("00.6"); //0.6) +toNumber(".006"); //0.006) +toNumber("6.0"); //6) +toNumber("06.0"); //6) + +toNumber("0.0", { leadingZeros : false}); //0) +toNumber("00.00", { leadingZeros : false}); //"00.00") +toNumber("0.06", { leadingZeros : false}); //0.06) +toNumber("00.6", { leadingZeros : false}); //"00.6") +toNumber(".006", { leadingZeros : false}); //0.006) +toNumber("6.0" , { leadingZeros : false}); //6) +toNumber("06.0" , { leadingZeros : false}); //"06.0") +toNumber("-06"); //-6) +toNumber("-06", { leadingZeros : true}); //-6) +toNumber("-06", { leadingZeros : false}); //"-06") + +toNumber("-0.0"); //-0) +toNumber("-00.00"); //-0) +toNumber("-0.06"); //-0.06) +toNumber("-00.6"); //-0.6) +toNumber("-.006"); //-0.006) +toNumber("-6.0"); //-6) +toNumber("-06.0"); //-6) + +toNumber("-0.0" , { leadingZeros : false}); //-0) +toNumber("-00.00", { leadingZeros : false}); //"-00.00") +toNumber("-0.06", { leadingZeros : false}); //-0.06) +toNumber("-00.6", { leadingZeros : false}); //"-00.6") +toNumber("-.006", {leadingZeros : false}); //-0.006) +toNumber("-6.0" , { leadingZeros : false}); //-6) +toNumber("-06.0" , { leadingZeros : false}); //"-06.0") +toNumber("420926189200190257681175017717") ; //4.209261892001902e+29) +toNumber("000000000000000000000000017717" , { leadingZeros : false}); //"000000000000000000000000017717") +toNumber("000000000000000000000000017717" , { leadingZeros : true}); //17717) +toNumber("01.0e2" , { leadingZeros : false}); //"01.0e2") +toNumber("-01.0e2" , { leadingZeros : false}); //"-01.0e2") +toNumber("01.0e2") ; //100) +toNumber("-01.0e2") ; //-100) +toNumber("1.0e2") ; //100) + +toNumber("-1.0e2") ; //-100) +toNumber("1.0e-2"); //0.01) + +toNumber("+1212121212"); // 1212121212 +toNumber("+1212121212", { skipLike: /\+[0-9]{10}/} )); //"+1212121212" +``` + +Supported Options +```js +hex: true, //when hexadecimal string should be parsed +leadingZeros: true, //when number with leading zeros like 08 should be parsed. 0.0 is not impacted +eNotation: true, //when number with eNotation or number parsed in eNotation should be considered +skipLike: /regex/ //when string should not be parsed when it matches the specified regular expression +infinity: "original", // "null", "infinity" (Infinity type), "string" ("Infinity" (the string literal)) +``` + + +# Try out our other work + +WishIn - You need it if negative thoughts take over all the time
      + diff --git a/node_modules/strnum/algo.stflow b/node_modules/strnum/algo.stflow new file mode 100644 index 0000000..fd0e64e --- /dev/null +++ b/node_modules/strnum/algo.stflow @@ -0,0 +1,84 @@ + +FLOW: toNumber +input: x, options +IF not string + END x +ELSE_IF should skip + END x +ELSE_IF 0 + END 0 +ELSE_IF hex is supported AND x is hex + END int of x of base 16 +ELSE_IF possible e notation + FOLLOW: resolve enotation (x, trimmed x, options) +ELSE + IF match numeric pattern + separate sign, leading zeros, pure number + IF x doesn't starts with "[+-]0." + END number(x) + IF leading zeros are not allowed + IF leading zeros > 1 + #00.1 + END x + ELSE_IF leading zeros == 1 AND decimal is not adjacent to leading zeros + #06.5 + #but not 0.65, .65, 6.0 + END x + ELSE_IF str has only zeros + END 0 + ELSE + parse x to number + IF parsed x == 0 or -0 + END parsed x + ELSE_IF parsed x is eNotation + IF conversion to enotation is allowed + END parsed x + ELSE + END x + ELSE_IF floating number + IF parsed x is 0 + END parsed x + ELSE_IF parsed x == number without leading 0s + #0.456. 0.79000 + END parsed x + ELSE_IF parsed x is negative AND == parsed x == number without leading 0s + END parsed x + ELSE + END x + ELSE_IF leading 0s are present + IF parsed x == x without leading 0s + END parsed x + ELSE + END x + ELSE + IF parsed x == x (consider sign) + END parsed x + ELSE + END x + + ELSE + END x + + + +FLOW: resolve enotation +input: x, trimmed x, options +IF eNotation has not to be evaluated + END x +IF match eNotation pattern + extract sign, eChar, leading zeros + find if eChar adjacent to leading zeros + + IF leading zeros > 1 AND eChar adjacent to leading zeros + # 00e, -00e + END x + ELSE_IF exp is `0e`, `0.e`, `-0.e`, `-0e` + END number(x); + ELSE_IF leading zeros are allowed but eChar is not adjacent to leading zeros + # -003e2 + remove leading zeros + END number(x) + ELSE + END x +ELSE + END x \ No newline at end of file diff --git a/node_modules/strnum/package.json b/node_modules/strnum/package.json new file mode 100644 index 0000000..a2389f0 --- /dev/null +++ b/node_modules/strnum/package.json @@ -0,0 +1,31 @@ +{ + "name": "strnum", + "version": "2.2.2", + "description": "Parse String to Number based on configuration", + "type": "module", + "main": "strnum.js", + "scripts": { + "test": "jasmine tests/*_test.js" + }, + "keywords": [ + "string", + "number", + "parse", + "convert" + ], + "repository": { + "type": "git", + "url": "https://github.com/NaturalIntelligence/strnum" + }, + "author": "Amit Gupta (https://amitkumargupta.work/)", + "license": "MIT", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "devDependencies": { + "jasmine": "^5.6.0" + } +} \ No newline at end of file diff --git a/node_modules/strnum/strnum.js b/node_modules/strnum/strnum.js new file mode 100644 index 0000000..3099d60 --- /dev/null +++ b/node_modules/strnum/strnum.js @@ -0,0 +1,161 @@ +const hexRegex = /^[-+]?0x[a-fA-F0-9]+$/; +const numRegex = /^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/; +// const octRegex = /^0x[a-z0-9]+/; +// const binRegex = /0x[a-z0-9]+/; + + +const consider = { + hex: true, + // oct: false, + leadingZeros: true, + decimalPoint: "\.", + eNotation: true, + //skipLike: /regex/, + infinity: "original", // "null", "infinity" (Infinity type), "string" ("Infinity" (the string literal)) +}; + +export default function toNumber(str, options = {}) { + options = Object.assign({}, consider, options); + if (!str || typeof str !== "string") return str; + + let trimmedStr = str.trim(); + + if (trimmedStr.length === 0) return str; + else if (options.skipLike !== undefined && options.skipLike.test(trimmedStr)) return str; + else if (trimmedStr === "0") return 0; + else if (options.hex && hexRegex.test(trimmedStr)) { + return parse_int(trimmedStr, 16); + // }else if (options.oct && octRegex.test(str)) { + // return Number.parseInt(val, 8); + } else if (!isFinite(trimmedStr)) { //Infinity + return handleInfinity(str, Number(trimmedStr), options); + } else if (trimmedStr.includes('e') || trimmedStr.includes('E')) { //eNotation + return resolveEnotation(str, trimmedStr, options); + // }else if (options.parseBin && binRegex.test(str)) { + // return Number.parseInt(val, 2); + } else { + //separate negative sign, leading zeros, and rest number + const match = numRegex.exec(trimmedStr); + // +00.123 => [ , '+', '00', '.123', .. + if (match) { + const sign = match[1] || ""; + const leadingZeros = match[2]; + let numTrimmedByZeros = trimZeros(match[3]); //complete num without leading zeros + const decimalAdjacentToLeadingZeros = sign ? // 0., -00., 000. + str[leadingZeros.length + 1] === "." + : str[leadingZeros.length] === "."; + + //trim ending zeros for floating number + if (!options.leadingZeros //leading zeros are not allowed + && (leadingZeros.length > 1 + || (leadingZeros.length === 1 && !decimalAdjacentToLeadingZeros))) { + // 00, 00.3, +03.24, 03, 03.24 + return str; + } + else {//no leading zeros or leading zeros are allowed + const num = Number(trimmedStr); + const parsedStr = String(num); + + if (num === 0) return num; + if (parsedStr.search(/[eE]/) !== -1) { //given number is long and parsed to eNotation + if (options.eNotation) return num; + else return str; + } else if (trimmedStr.indexOf(".") !== -1) { //floating number + if (parsedStr === "0") return num; //0.0 + else if (parsedStr === numTrimmedByZeros) return num; //0.456. 0.79000 + else if (parsedStr === `${sign}${numTrimmedByZeros}`) return num; + else return str; + } + + let n = leadingZeros ? numTrimmedByZeros : trimmedStr; + if (leadingZeros) { + // -009 => -9 + return (n === parsedStr) || (sign + n === parsedStr) ? num : str + } else { + // +9 + return (n === parsedStr) || (n === sign + parsedStr) ? num : str + } + } + } else { //non-numeric string + return str; + } + } +} + +const eNotationRegx = /^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/; +function resolveEnotation(str, trimmedStr, options) { + if (!options.eNotation) return str; + const notation = trimmedStr.match(eNotationRegx); + if (notation) { + let sign = notation[1] || ""; + const eChar = notation[3].indexOf("e") === -1 ? "E" : "e"; + const leadingZeros = notation[2]; + const eAdjacentToLeadingZeros = sign ? // 0E. + str[leadingZeros.length + 1] === eChar + : str[leadingZeros.length] === eChar; + + if (leadingZeros.length > 1 && eAdjacentToLeadingZeros) return str; + else if (leadingZeros.length === 1 + && (notation[3].startsWith(`.${eChar}`) || notation[3][0] === eChar)) { + return Number(trimmedStr); + } else if (leadingZeros.length > 0) { + // Has leading zeros — only accept if leadingZeros option allows it + if (options.leadingZeros && !eAdjacentToLeadingZeros) { + trimmedStr = (notation[1] || "") + notation[3]; + return Number(trimmedStr); + } else return str; + } else { + // No leading zeros — always valid e-notation, parse it + return Number(trimmedStr); + } + } else { + return str; + } +} + +/** + * + * @param {string} numStr without leading zeros + * @returns + */ +function trimZeros(numStr) { + if (numStr && numStr.indexOf(".") !== -1) {//float + numStr = numStr.replace(/0+$/, ""); //remove ending zeros + if (numStr === ".") numStr = "0"; + else if (numStr[0] === ".") numStr = "0" + numStr; + else if (numStr[numStr.length - 1] === ".") numStr = numStr.substring(0, numStr.length - 1); + return numStr; + } + return numStr; +} + +function parse_int(numStr, base) { + //polyfill + if (parseInt) return parseInt(numStr, base); + else if (Number.parseInt) return Number.parseInt(numStr, base); + else if (window && window.parseInt) return window.parseInt(numStr, base); + else throw new Error("parseInt, Number.parseInt, window.parseInt are not supported") +} + +/** + * Handle infinite values based on user option + * @param {string} str - original input string + * @param {number} num - parsed number (Infinity or -Infinity) + * @param {object} options - user options + * @returns {string|number|null} based on infinity option + */ +function handleInfinity(str, num, options) { + const isPositive = num === Infinity; + + switch (options.infinity.toLowerCase()) { + case "null": + return null; + case "infinity": + return num; // Return Infinity or -Infinity + case "string": + return isPositive ? "Infinity" : "-Infinity"; + case "original": + default: + return str; // Return original string like "1e1000" + } +} \ No newline at end of file diff --git a/node_modules/strnum/tests/infinity_test.js b/node_modules/strnum/tests/infinity_test.js new file mode 100644 index 0000000..cb62da9 --- /dev/null +++ b/node_modules/strnum/tests/infinity_test.js @@ -0,0 +1,18 @@ +import toNumber from "../strnum.js"; + +describe("Should convert all the valid numeric strings to number", () => { + it("should return infinity as per user option", () => { + expect(toNumber("1e1000", { infinity: "original" })).toEqual("1e1000"); + expect(toNumber("1e1000", { infinity: "null" })).toEqual(null); + expect(toNumber("1e1000", { infinity: "infinity" })).toEqual(Infinity); + expect(toNumber("1e1000", { infinity: "string" })).toEqual("Infinity"); + expect(toNumber("-1e1000", { infinity: "original" })).toEqual("-1e1000"); + expect(toNumber("-1e1000", { infinity: "null" })).toEqual(null); + expect(toNumber("-1e1000", { infinity: "infinity" })).toEqual(-Infinity); + expect(toNumber("-1e1000", { infinity: "string" })).toEqual("-Infinity"); + + + expect(toNumber("1e309")).toEqual("1e309"); + + }); +}); \ No newline at end of file diff --git a/node_modules/strnum/tests/strnum_test.js b/node_modules/strnum/tests/strnum_test.js new file mode 100644 index 0000000..11daa0a --- /dev/null +++ b/node_modules/strnum/tests/strnum_test.js @@ -0,0 +1,175 @@ +import toNumber from "../strnum.js"; + +describe("Should convert all the valid numeric strings to number", () => { + it("should return undefined, null, empty string, or non-numeric as it is", () => { + expect(toNumber(undefined)).not.toBeDefined(); + expect(toNumber(null)).toEqual(null); + expect(toNumber("")).toEqual(""); + expect(toNumber(" ")).toEqual(" "); + expect(toNumber("string")).toEqual("string"); + expect(toNumber("e89794659669cb7bb967db73a7ea6889c3891727")).toEqual("e89794659669cb7bb967db73a7ea6889c3891727"); + }); + it("should not parse number with spaces or comma", () => { + expect(toNumber("12,12")).toEqual("12,12"); + expect(toNumber("12 12")).toEqual("12 12"); + expect(toNumber("12-12")).toEqual("12-12"); + expect(toNumber("12.12.12")).toEqual("12.12.12"); + }) + it("should consider + sign", () => { + expect(toNumber("+12")).toEqual(12); + expect(toNumber("+ 12")).toEqual("+ 12"); + expect(toNumber("12+12")).toEqual("12+12"); + expect(toNumber("1212+")).toEqual("1212+"); + }) + it("should parse hexadecimal values", () => { + expect(toNumber("0x2f")).toEqual(47); + expect(toNumber("-0x2f")).toEqual(-47); + expect(toNumber("0x2f", { hex: true })).toEqual(47); + expect(toNumber("-0x2f", { hex: true })).toEqual(-47); + expect(toNumber("0x2f", { hex: false })).toEqual("0x2f"); + expect(toNumber("-0x2f", { hex: false })).toEqual("-0x2f"); + }) + it("should not parse strings with 0x embedded", () => { + expect(toNumber("0xzz")).toEqual("0xzz"); + expect(toNumber("iweraf0x123qwerqwer")).toEqual("iweraf0x123qwerqwer"); + expect(toNumber("1230x55")).toEqual("1230x55"); + expect(toNumber("JVBERi0xLjMNCiXi48")).toEqual("JVBERi0xLjMNCiXi48"); + }) + it("leading zeros", () => { + expect(toNumber("0")).toEqual(0); + expect(toNumber("00")).toEqual(0); + expect(toNumber("00.0")).toEqual(0); + + expect(toNumber("0", { leadingZeros: false })).toEqual(0); + expect(toNumber("00", { leadingZeros: false })).toEqual("00"); + expect(toNumber("00.0", { leadingZeros: false })).toEqual("00.0"); + + expect(toNumber("06")).toEqual(6); + expect(toNumber("06", { leadingZeros: true })).toEqual(6); + expect(toNumber("06", { leadingZeros: false })).toEqual("06"); + + expect(toNumber("006")).toEqual(6); + expect(toNumber("006", { leadingZeros: true })).toEqual(6); + expect(toNumber("006", { leadingZeros: false })).toEqual("006"); + + expect(toNumber("000000000000000000000000017717", { leadingZeros: false })).toEqual("000000000000000000000000017717"); + expect(toNumber("000000000000000000000000017717", { leadingZeros: true })).toEqual(17717); + expect(toNumber("020211201030005811824")).toEqual("020211201030005811824"); + expect(toNumber("0420926189200190257681175017717")).toEqual(4.209261892001902e+29); + }) + it("invalid floating number", () => { + expect(toNumber("20.21.030")).toEqual("20.21.030"); + expect(toNumber("0.21.030")).toEqual("0.21.030"); + expect(toNumber("0.21.")).toEqual("0.21."); + }); + it("floating point and leading zeros", () => { + expect(toNumber("0.")).toEqual(0); + expect(toNumber("+0.")).toEqual(0); + expect(toNumber("-0.")).toEqual(-0); + expect(toNumber("1.")).toEqual(1); + expect(toNumber("00.00")).toEqual(0); + expect(toNumber("0.06")).toEqual(0.06); + expect(toNumber("00.6")).toEqual(0.6); + expect(toNumber(".006")).toEqual(0.006); + expect(toNumber("6.0")).toEqual(6); + expect(toNumber("06.0")).toEqual(6); + + expect(toNumber("0.0", { leadingZeros: false })).toEqual(0); + expect(toNumber("00.00", { leadingZeros: false })).toEqual("00.00"); + expect(toNumber("0.06", { leadingZeros: false })).toEqual(0.06); + expect(toNumber("00.6", { leadingZeros: false })).toEqual("00.6"); + expect(toNumber(".006", { leadingZeros: false })).toEqual(0.006); + expect(toNumber("6.0", { leadingZeros: false })).toEqual(6); + expect(toNumber("06.0", { leadingZeros: false })).toEqual("06.0"); + }) + it("negative number leading zeros", () => { + expect(toNumber("+06")).toEqual(6); + expect(toNumber("-06")).toEqual(-6); + expect(toNumber("-06", { leadingZeros: true })).toEqual(-6); + expect(toNumber("-06", { leadingZeros: false })).toEqual("-06"); + + expect(toNumber("-0.0")).toEqual(-0); + expect(toNumber("-00.00")).toEqual(-0); + expect(toNumber("-0.06")).toEqual(-0.06); + expect(toNumber("-00.6")).toEqual(-0.6); + expect(toNumber("-.006")).toEqual(-0.006); + expect(toNumber("-6.0")).toEqual(-6); + expect(toNumber("-06.0")).toEqual(-6); + expect(toNumber("+06.0")).toEqual(6); + + expect(toNumber("-0.0", { leadingZeros: false })).toEqual(-0); + expect(toNumber("-00.00", { leadingZeros: false })).toEqual("-00.00"); + expect(toNumber("-0.06", { leadingZeros: false })).toEqual(-0.06); + expect(toNumber("-00.6", { leadingZeros: false })).toEqual("-00.6"); + expect(toNumber("-.006", { leadingZeros: false })).toEqual(-0.006); + expect(toNumber("-6.0", { leadingZeros: false })).toEqual(-6); + expect(toNumber("-06.0", { leadingZeros: false })).toEqual("-06.0"); + }) + it("long number", () => { + expect(toNumber("020211201030005811824")).toEqual("020211201030005811824"); + expect(toNumber("20211201030005811824")).toEqual("20211201030005811824"); + expect(toNumber("20.211201030005811824")).toEqual("20.211201030005811824"); + expect(toNumber("0.211201030005811824")).toEqual("0.211201030005811824"); + }); + it("scientific notation", () => { + expect(toNumber("01.0e2", { leadingZeros: false })).toEqual("01.0e2"); + expect(toNumber("-01.0e2", { leadingZeros: false })).toEqual("-01.0e2"); + expect(toNumber("01.0e2")).toEqual(100); + expect(toNumber("-01.0e2")).toEqual(-100); + expect(toNumber("1.0e2")).toEqual(100); + + expect(toNumber("-1.0e2")).toEqual(-100); + expect(toNumber("1.0e-2")).toEqual(0.01); + + expect(toNumber("420926189200190257681175017717")).toEqual(4.209261892001902e+29); + expect(toNumber("420926189200190257681175017717", { eNotation: false })).toEqual("420926189200190257681175017717"); + + expect(toNumber("1e-2")).toEqual(0.01); + expect(toNumber("1e+2")).toEqual(100); + expect(toNumber("1.e+2")).toEqual(100); + + expect(toNumber("1.5e3", { leadingZeros: false })).toEqual(1500); + }); + + it("scientific notation with upper E", () => { + expect(toNumber("01.0E2", { leadingZeros: false })).toEqual("01.0E2"); + expect(toNumber("-01.0E2", { leadingZeros: false })).toEqual("-01.0E2"); + expect(toNumber("01.0E2")).toEqual(100); + expect(toNumber("-01.0E2")).toEqual(-100); + expect(toNumber("1.0E2")).toEqual(100); + + expect(toNumber("-1.0E2")).toEqual(-100); + expect(toNumber("1.0E-2")).toEqual(0.01); + + expect(toNumber("E-2")).toEqual("E-2"); + expect(toNumber("E2")).toEqual("E2"); + expect(toNumber("0E2")).toEqual(0); + expect(toNumber("-0E2")).toEqual(-0); + expect(toNumber("00E2")).toEqual("00E2"); + expect(toNumber("00E2", { leadingZeros: false })).toEqual("00E2"); + }); + + it("should skip matching pattern", () => { + expect(toNumber("0", { skipLike: /.*/ })).toEqual("0"); + expect(toNumber("+12", { skipLike: /\+[0-9]{10}/ })).toEqual(12); + expect(toNumber("12+12", { skipLike: /\+[0-9]{10}/ })).toEqual("12+12"); + expect(toNumber("12+1212121212", { skipLike: /\+[0-9]{10}/ })).toEqual("12+1212121212"); + expect(toNumber("+1212121212")).toEqual(1212121212); + expect(toNumber("+1212121212", { skipLike: /\+[0-9]{10}/ })).toEqual("+1212121212"); + }) + it("should not change string if not number", () => { + expect(toNumber("+12 12")).toEqual("+12 12"); + expect(toNumber(" +12 12 ")).toEqual(" +12 12 "); + }) + it("should ignore sorrounded spaces ", () => { + expect(toNumber(" +1212 ")).toEqual(1212); + }) + + it("negative numbers", () => { + expect(toNumber("+1212")).toEqual(1212); + expect(toNumber("+12.12")).toEqual(12.12); + expect(toNumber("-12.12")).toEqual(-12.12); + expect(toNumber("-012.12")).toEqual(-12.12); + expect(toNumber("-012.12")).toEqual(-12.12); + }) +}); diff --git a/node_modules/strnum/tests/temp.js b/node_modules/strnum/tests/temp.js new file mode 100644 index 0000000..13c2e01 --- /dev/null +++ b/node_modules/strnum/tests/temp.js @@ -0,0 +1,8 @@ +import toNumber from "../strnum.js"; + +console.log(toNumber("1.5e3", {leadingZeros: false})) +// describe("temp", () = { + +// it("scientific notation", () => { +// }); +// }) \ No newline at end of file diff --git a/node_modules/text-hex/LICENSE b/node_modules/text-hex/LICENSE new file mode 100644 index 0000000..bfb9d77 --- /dev/null +++ b/node_modules/text-hex/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014-2015 Arnout Kazemier + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/text-hex/README.md b/node_modules/text-hex/README.md new file mode 100644 index 0000000..bb86705 --- /dev/null +++ b/node_modules/text-hex/README.md @@ -0,0 +1,20 @@ +# text-hex + +Transforms a given piece of text to a hex color. + +## Install + +``` +npm install text-hex +``` + +## Usage + +```js +var hex = require('text-hex'); +console.log(hex('foo')); +``` + +## License + +MIT diff --git a/node_modules/text-hex/index.js b/node_modules/text-hex/index.js new file mode 100644 index 0000000..5bec54d --- /dev/null +++ b/node_modules/text-hex/index.js @@ -0,0 +1,24 @@ +'use strict'; + +/*** + * Convert string to hex color. + * + * @param {String} str Text to hash and convert to hex. + * @returns {String} + * @api public + */ +module.exports = function hex(str) { + for ( + var i = 0, hash = 0; + i < str.length; + hash = str.charCodeAt(i++) + ((hash << 5) - hash) + ); + + var color = Math.floor( + Math.abs( + (Math.sin(hash) * 10000) % 1 * 16777216 + ) + ).toString(16); + + return '#' + Array(6 - color.length + 1).join('0') + color; +}; diff --git a/node_modules/text-hex/package.json b/node_modules/text-hex/package.json new file mode 100644 index 0000000..cbbcfce --- /dev/null +++ b/node_modules/text-hex/package.json @@ -0,0 +1,30 @@ +{ + "name": "text-hex", + "version": "1.0.0", + "description": "Generate a hex color from the given text", + "main": "index.js", + "scripts": { + "test": "mocha --reporter spec --ui bdd test.js" + }, + "repository": { + "type": "git", + "url": "https://github.com/3rd-Eden/text-hex" + }, + "keywords": [ + "css", + "color", + "hex", + "text" + ], + "author": "Arnout Kazemier", + "license": "MIT", + "bugs": { + "url": "https://github.com/3rd-Eden/text-hex/issues" + }, + "homepage": "https://github.com/3rd-Eden/text-hex", + "devDependencies": { + "assume": "2.1.x", + "mocha": "5.2.x", + "pre-commit": "1.2.x" + } +} diff --git a/node_modules/text-hex/test.js b/node_modules/text-hex/test.js new file mode 100644 index 0000000..2adbbd1 --- /dev/null +++ b/node_modules/text-hex/test.js @@ -0,0 +1,11 @@ +describe('text-hex', function () { + 'use strict'; + + var assume = require('assume') + , hex = require('./'); + + it('is a 6 digit hex', function () { + assume(hex('a')).to.have.length(7); // including a # + assume(hex('a244fdafadfa4 adfau8fa a u adf8a0')).to.have.length(7); + }); +}); diff --git a/node_modules/toidentifier/HISTORY.md b/node_modules/toidentifier/HISTORY.md new file mode 100644 index 0000000..cb7cc89 --- /dev/null +++ b/node_modules/toidentifier/HISTORY.md @@ -0,0 +1,9 @@ +1.0.1 / 2021-11-14 +================== + + * pref: enable strict mode + +1.0.0 / 2018-07-09 +================== + + * Initial release diff --git a/node_modules/toidentifier/LICENSE b/node_modules/toidentifier/LICENSE new file mode 100644 index 0000000..de22d15 --- /dev/null +++ b/node_modules/toidentifier/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2016 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/toidentifier/README.md b/node_modules/toidentifier/README.md new file mode 100644 index 0000000..57e8a78 --- /dev/null +++ b/node_modules/toidentifier/README.md @@ -0,0 +1,61 @@ +# toidentifier + +[![NPM Version][npm-image]][npm-url] +[![NPM Downloads][downloads-image]][downloads-url] +[![Build Status][github-actions-ci-image]][github-actions-ci-url] +[![Test Coverage][codecov-image]][codecov-url] + +> Convert a string of words to a JavaScript identifier + +## Install + +This is a [Node.js](https://nodejs.org/en/) module available through the +[npm registry](https://www.npmjs.com/). Installation is done using the +[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): + +```bash +$ npm install toidentifier +``` + +## Example + +```js +var toIdentifier = require('toidentifier') + +console.log(toIdentifier('Bad Request')) +// => "BadRequest" +``` + +## API + +This CommonJS module exports a single default function: `toIdentifier`. + +### toIdentifier(string) + +Given a string as the argument, it will be transformed according to +the following rules and the new string will be returned: + +1. Split into words separated by space characters (`0x20`). +2. Upper case the first character of each word. +3. Join the words together with no separator. +4. Remove all non-word (`[0-9a-z_]`) characters. + +## License + +[MIT](LICENSE) + +[codecov-image]: https://img.shields.io/codecov/c/github/component/toidentifier.svg +[codecov-url]: https://codecov.io/gh/component/toidentifier +[downloads-image]: https://img.shields.io/npm/dm/toidentifier.svg +[downloads-url]: https://npmjs.org/package/toidentifier +[github-actions-ci-image]: https://img.shields.io/github/workflow/status/component/toidentifier/ci/master?label=ci +[github-actions-ci-url]: https://github.com/component/toidentifier?query=workflow%3Aci +[npm-image]: https://img.shields.io/npm/v/toidentifier.svg +[npm-url]: https://npmjs.org/package/toidentifier + + +## + +[npm]: https://www.npmjs.com/ + +[yarn]: https://yarnpkg.com/ diff --git a/node_modules/toidentifier/index.js b/node_modules/toidentifier/index.js new file mode 100644 index 0000000..9295d02 --- /dev/null +++ b/node_modules/toidentifier/index.js @@ -0,0 +1,32 @@ +/*! + * toidentifier + * Copyright(c) 2016 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module exports. + * @public + */ + +module.exports = toIdentifier + +/** + * Trasform the given string into a JavaScript identifier + * + * @param {string} str + * @returns {string} + * @public + */ + +function toIdentifier (str) { + return str + .split(' ') + .map(function (token) { + return token.slice(0, 1).toUpperCase() + token.slice(1) + }) + .join('') + .replace(/[^ _0-9a-z]/gi, '') +} diff --git a/node_modules/toidentifier/package.json b/node_modules/toidentifier/package.json new file mode 100644 index 0000000..42db1a6 --- /dev/null +++ b/node_modules/toidentifier/package.json @@ -0,0 +1,38 @@ +{ + "name": "toidentifier", + "description": "Convert a string of words to a JavaScript identifier", + "version": "1.0.1", + "author": "Douglas Christopher Wilson ", + "contributors": [ + "Douglas Christopher Wilson ", + "Nick Baugh (http://niftylettuce.com/)" + ], + "repository": "component/toidentifier", + "devDependencies": { + "eslint": "7.32.0", + "eslint-config-standard": "14.1.1", + "eslint-plugin-import": "2.25.3", + "eslint-plugin-markdown": "2.2.1", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-promise": "4.3.1", + "eslint-plugin-standard": "4.1.0", + "mocha": "9.1.3", + "nyc": "15.1.0" + }, + "engines": { + "node": ">=0.6" + }, + "license": "MIT", + "files": [ + "HISTORY.md", + "LICENSE", + "index.js" + ], + "scripts": { + "lint": "eslint .", + "test": "mocha --reporter spec --bail --check-leaks test/", + "test-ci": "nyc --reporter=lcov --reporter=text npm test", + "test-cov": "nyc --reporter=html --reporter=text npm test", + "version": "node scripts/version-history.js && git add HISTORY.md" + } +} diff --git a/node_modules/triple-beam/.nyc_output/c579bf8f-6820-47a5-b2da-a11267eb8435.json b/node_modules/triple-beam/.nyc_output/c579bf8f-6820-47a5-b2da-a11267eb8435.json new file mode 100644 index 0000000..00aab89 --- /dev/null +++ b/node_modules/triple-beam/.nyc_output/c579bf8f-6820-47a5-b2da-a11267eb8435.json @@ -0,0 +1 @@ +{"/Users/dabh/triple-beam/index.js":{"path":"/Users/dabh/triple-beam/index.js","statementMap":{"0":{"start":{"line":11,"column":0},"end":{"line":13,"column":3}},"1":{"start":{"line":23,"column":0},"end":{"line":25,"column":3}},"2":{"start":{"line":34,"column":0},"end":{"line":36,"column":3}},"3":{"start":{"line":44,"column":0},"end":{"line":46,"column":3}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1,"2":1,"3":1},"f":{},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"cc95d94182fb79b1be57a24c1394db64cdb2ae43","contentHash":"fc4e5a28fd95e03cae6b5495203bb1875d4000296fe4308cb90943317c6cd273"},"/Users/dabh/triple-beam/config/index.js":{"path":"/Users/dabh/triple-beam/config/index.js","statementMap":{"0":{"start":{"line":14,"column":0},"end":{"line":16,"column":3}},"1":{"start":{"line":22,"column":0},"end":{"line":24,"column":3}},"2":{"start":{"line":30,"column":0},"end":{"line":32,"column":3}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1,"2":1},"f":{},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"153b0bdac58673ccf1f21070117bb797c37a2456","contentHash":"162d744ed325a346a9b0913721d2f61535053e170a78dc205aef5ae6aef820de"},"/Users/dabh/triple-beam/config/cli.js":{"path":"/Users/dabh/triple-beam/config/cli.js","statementMap":{"0":{"start":{"line":14,"column":0},"end":{"line":25,"column":2}},"1":{"start":{"line":31,"column":0},"end":{"line":42,"column":2}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"4843c10f2957d007fb3125cc3a04d3b940a44851","contentHash":"3c526501a0b8bf50d0bbc28e6d4a1baf4c1798586fe1154292a1d9ba3a77efaf"},"/Users/dabh/triple-beam/config/npm.js":{"path":"/Users/dabh/triple-beam/config/npm.js","statementMap":{"0":{"start":{"line":14,"column":0},"end":{"line":22,"column":2}},"1":{"start":{"line":28,"column":0},"end":{"line":36,"column":2}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"56fb16df83c6d6275045feafabbe26c61f098c4b","contentHash":"07a4e369cf657d332a918f7ca96bcc1b831720e571cc2902aec1feed0c598920"},"/Users/dabh/triple-beam/config/syslog.js":{"path":"/Users/dabh/triple-beam/config/syslog.js","statementMap":{"0":{"start":{"line":14,"column":0},"end":{"line":23,"column":2}},"1":{"start":{"line":29,"column":0},"end":{"line":38,"column":2}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"4a8f05f93061e8c418dd384c10b82586a7f6e950","contentHash":"6177cc185f053def4bdb52172b771267aa2ee7ff9e11208e7f88ec323f1b058a"}} \ No newline at end of file diff --git a/node_modules/triple-beam/.nyc_output/processinfo/c579bf8f-6820-47a5-b2da-a11267eb8435.json b/node_modules/triple-beam/.nyc_output/processinfo/c579bf8f-6820-47a5-b2da-a11267eb8435.json new file mode 100644 index 0000000..02a59af --- /dev/null +++ b/node_modules/triple-beam/.nyc_output/processinfo/c579bf8f-6820-47a5-b2da-a11267eb8435.json @@ -0,0 +1 @@ +{"parent":null,"pid":28538,"argv":["/Users/dabh/.nvm/versions/node/v16.18.0/bin/node","/Users/dabh/triple-beam/node_modules/.bin/mocha","test.js"],"execArgv":[],"cwd":"/Users/dabh/triple-beam","time":1689003099183,"ppid":28537,"coverageFilename":"/Users/dabh/triple-beam/.nyc_output/c579bf8f-6820-47a5-b2da-a11267eb8435.json","externalId":"","uuid":"c579bf8f-6820-47a5-b2da-a11267eb8435","files":["/Users/dabh/triple-beam/index.js","/Users/dabh/triple-beam/config/index.js","/Users/dabh/triple-beam/config/cli.js","/Users/dabh/triple-beam/config/npm.js","/Users/dabh/triple-beam/config/syslog.js"]} \ No newline at end of file diff --git a/node_modules/triple-beam/.nyc_output/processinfo/index.json b/node_modules/triple-beam/.nyc_output/processinfo/index.json new file mode 100644 index 0000000..5464526 --- /dev/null +++ b/node_modules/triple-beam/.nyc_output/processinfo/index.json @@ -0,0 +1 @@ +{"processes":{"c579bf8f-6820-47a5-b2da-a11267eb8435":{"parent":null,"children":[]}},"files":{"/Users/dabh/triple-beam/index.js":["c579bf8f-6820-47a5-b2da-a11267eb8435"],"/Users/dabh/triple-beam/config/index.js":["c579bf8f-6820-47a5-b2da-a11267eb8435"],"/Users/dabh/triple-beam/config/cli.js":["c579bf8f-6820-47a5-b2da-a11267eb8435"],"/Users/dabh/triple-beam/config/npm.js":["c579bf8f-6820-47a5-b2da-a11267eb8435"],"/Users/dabh/triple-beam/config/syslog.js":["c579bf8f-6820-47a5-b2da-a11267eb8435"]},"externalIds":{}} \ No newline at end of file diff --git a/node_modules/triple-beam/CHANGELOG.md b/node_modules/triple-beam/CHANGELOG.md new file mode 100644 index 0000000..9c5e54a --- /dev/null +++ b/node_modules/triple-beam/CHANGELOG.md @@ -0,0 +1,22 @@ +# CHANGELOG + +### 1.3.0 + +- [#4] Add `SPLAT` symbol. +- [#3] Add linting & TravisCI. + +### 1.2.0 + +- [#2] Move configs from `winston.config.{npm,syslog,npm}` into `triple-beam`. + +### 1.1.0 + +- Expose a `MESSAGE` Symbol, nothing more. + +### 1.0.1 + +- Use `Symbol.for` because that is how they work apparently. + +### 1.0.0 + +- Initial version. Defines a `LEVEL` Symbol, nothing more. diff --git a/node_modules/triple-beam/LICENSE b/node_modules/triple-beam/LICENSE new file mode 100644 index 0000000..1a1238a --- /dev/null +++ b/node_modules/triple-beam/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 winstonjs + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/triple-beam/README.md b/node_modules/triple-beam/README.md new file mode 100644 index 0000000..1954316 --- /dev/null +++ b/node_modules/triple-beam/README.md @@ -0,0 +1,34 @@ +# triple-beam + +Definitions of levels for logging purposes & shareable Symbol constants. + +## Usage + +``` js +const { LEVEL } = require('triple-beam'); +const colors = require('colors/safe'); + +const info = { + [LEVEL]: 'error', + level: 'error', + message: 'hey a logging message!' +}; + +// Colorize your log level! +info.level = colors.green(info.level); + +// And still have an unmutated copy of your level! +console.log(info.level === 'error'); // false +console.log(info[LEVEL] === 'error'); // true +``` + +## Tests + +Tests are written with `mocha`, `assume`, and `nyc`. They can be run with `npm`: + +``` +npm test +``` + +##### LICENSE: MIT +##### AUTHOR: [Charlie Robbins](https://github.com/indexzero) diff --git a/node_modules/triple-beam/config/cli.js b/node_modules/triple-beam/config/cli.js new file mode 100644 index 0000000..028c117 --- /dev/null +++ b/node_modules/triple-beam/config/cli.js @@ -0,0 +1,42 @@ +/** + * cli.js: Config that conform to commonly used CLI logging levels. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +/** + * Default levels for the CLI configuration. + * @type {Object} + */ +exports.levels = { + error: 0, + warn: 1, + help: 2, + data: 3, + info: 4, + debug: 5, + prompt: 6, + verbose: 7, + input: 8, + silly: 9 +}; + +/** + * Default colors for the CLI configuration. + * @type {Object} + */ +exports.colors = { + error: 'red', + warn: 'yellow', + help: 'cyan', + data: 'grey', + info: 'green', + debug: 'blue', + prompt: 'grey', + verbose: 'cyan', + input: 'grey', + silly: 'magenta' +}; diff --git a/node_modules/triple-beam/config/index.js b/node_modules/triple-beam/config/index.js new file mode 100644 index 0000000..96b6566 --- /dev/null +++ b/node_modules/triple-beam/config/index.js @@ -0,0 +1,32 @@ +/** + * index.js: Default settings for all levels that winston knows about. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +/** + * Export config set for the CLI. + * @type {Object} + */ +Object.defineProperty(exports, 'cli', { + value: require('./cli') +}); + +/** + * Export config set for npm. + * @type {Object} + */ +Object.defineProperty(exports, 'npm', { + value: require('./npm') +}); + +/** + * Export config set for the syslog. + * @type {Object} + */ +Object.defineProperty(exports, 'syslog', { + value: require('./syslog') +}); diff --git a/node_modules/triple-beam/config/npm.js b/node_modules/triple-beam/config/npm.js new file mode 100644 index 0000000..01f88ab --- /dev/null +++ b/node_modules/triple-beam/config/npm.js @@ -0,0 +1,36 @@ +/** + * npm.js: Config that conform to npm logging levels. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +/** + * Default levels for the npm configuration. + * @type {Object} + */ +exports.levels = { + error: 0, + warn: 1, + info: 2, + http: 3, + verbose: 4, + debug: 5, + silly: 6 +}; + +/** + * Default levels for the npm configuration. + * @type {Object} + */ +exports.colors = { + error: 'red', + warn: 'yellow', + info: 'green', + http: 'green', + verbose: 'cyan', + debug: 'blue', + silly: 'magenta' +}; diff --git a/node_modules/triple-beam/config/syslog.js b/node_modules/triple-beam/config/syslog.js new file mode 100644 index 0000000..9c7b82f --- /dev/null +++ b/node_modules/triple-beam/config/syslog.js @@ -0,0 +1,38 @@ +/** + * syslog.js: Config that conform to syslog logging levels. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +/** + * Default levels for the syslog configuration. + * @type {Object} + */ +exports.levels = { + emerg: 0, + alert: 1, + crit: 2, + error: 3, + warning: 4, + notice: 5, + info: 6, + debug: 7 +}; + +/** + * Default levels for the syslog configuration. + * @type {Object} + */ +exports.colors = { + emerg: 'red', + alert: 'yellow', + crit: 'red', + error: 'red', + warning: 'red', + notice: 'yellow', + info: 'green', + debug: 'blue' +}; diff --git a/node_modules/triple-beam/index.js b/node_modules/triple-beam/index.js new file mode 100644 index 0000000..cf89cf0 --- /dev/null +++ b/node_modules/triple-beam/index.js @@ -0,0 +1,46 @@ +'use strict'; + +/** + * A shareable symbol constant that can be used + * as a non-enumerable / semi-hidden level identifier + * to allow the readable level property to be mutable for + * operations like colorization + * + * @type {Symbol} + */ +Object.defineProperty(exports, 'LEVEL', { + value: Symbol.for('level') +}); + +/** + * A shareable symbol constant that can be used + * as a non-enumerable / semi-hidden message identifier + * to allow the final message property to not have + * side effects on another. + * + * @type {Symbol} + */ +Object.defineProperty(exports, 'MESSAGE', { + value: Symbol.for('message') +}); + +/** + * A shareable symbol constant that can be used + * as a non-enumerable / semi-hidden message identifier + * to allow the extracted splat property be hidden + * + * @type {Symbol} + */ +Object.defineProperty(exports, 'SPLAT', { + value: Symbol.for('splat') +}); + +/** + * A shareable object constant that can be used + * as a standard configuration for winston@3. + * + * @type {Object} + */ +Object.defineProperty(exports, 'configs', { + value: require('./config') +}); diff --git a/node_modules/triple-beam/package.json b/node_modules/triple-beam/package.json new file mode 100644 index 0000000..a606435 --- /dev/null +++ b/node_modules/triple-beam/package.json @@ -0,0 +1,40 @@ +{ + "name": "triple-beam", + "version": "1.4.1", + "description": "Definitions of levels for logging purposes & shareable Symbol constants.", + "main": "index.js", + "scripts": { + "lint": "eslint config/*.js index.js --resolve-plugins-relative-to ./node_modules/@dabh/eslint-config-populist", + "pretest": "npm run lint", + "test": "nyc mocha test.js" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/winstonjs/triple-beam.git" + }, + "keywords": [ + "winstonjs", + "winston", + "logging", + "logform", + "symbols", + "logs", + "levels" + ], + "author": "Charlie Robbins ", + "license": "MIT", + "bugs": { + "url": "https://github.com/winstonjs/triple-beam/issues" + }, + "homepage": "https://github.com/winstonjs/triple-beam#readme", + "devDependencies": { + "assume": "^2.0.1", + "@dabh/eslint-config-populist": "^5.0.0", + "mocha": "^10.2.0", + "nyc": "^15.1.0", + "typescript": "^5.1.6" + }, + "engines": { + "node": ">= 14.0.0" + } +} diff --git a/node_modules/tslib/CopyrightNotice.txt b/node_modules/tslib/CopyrightNotice.txt new file mode 100644 index 0000000..5d7d2d9 --- /dev/null +++ b/node_modules/tslib/CopyrightNotice.txt @@ -0,0 +1,15 @@ +/****************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ + diff --git a/node_modules/tslib/LICENSE.txt b/node_modules/tslib/LICENSE.txt new file mode 100644 index 0000000..fa7d1bd --- /dev/null +++ b/node_modules/tslib/LICENSE.txt @@ -0,0 +1,12 @@ +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/node_modules/tslib/README.md b/node_modules/tslib/README.md new file mode 100644 index 0000000..14b9a83 --- /dev/null +++ b/node_modules/tslib/README.md @@ -0,0 +1,164 @@ +# tslib + +This is a runtime library for [TypeScript](https://www.typescriptlang.org/) that contains all of the TypeScript helper functions. + +This library is primarily used by the `--importHelpers` flag in TypeScript. +When using `--importHelpers`, a module that uses helper functions like `__extends` and `__assign` in the following emitted file: + +```ts +var __assign = (this && this.__assign) || Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; +}; +exports.x = {}; +exports.y = __assign({}, exports.x); + +``` + +will instead be emitted as something like the following: + +```ts +var tslib_1 = require("tslib"); +exports.x = {}; +exports.y = tslib_1.__assign({}, exports.x); +``` + +Because this can avoid duplicate declarations of things like `__extends`, `__assign`, etc., this means delivering users smaller files on average, as well as less runtime overhead. +For optimized bundles with TypeScript, you should absolutely consider using `tslib` and `--importHelpers`. + +# Installing + +For the latest stable version, run: + +## npm + +```sh +# TypeScript 3.9.2 or later +npm install tslib + +# TypeScript 3.8.4 or earlier +npm install tslib@^1 + +# TypeScript 2.3.2 or earlier +npm install tslib@1.6.1 +``` + +## yarn + +```sh +# TypeScript 3.9.2 or later +yarn add tslib + +# TypeScript 3.8.4 or earlier +yarn add tslib@^1 + +# TypeScript 2.3.2 or earlier +yarn add tslib@1.6.1 +``` + +## bower + +```sh +# TypeScript 3.9.2 or later +bower install tslib + +# TypeScript 3.8.4 or earlier +bower install tslib@^1 + +# TypeScript 2.3.2 or earlier +bower install tslib@1.6.1 +``` + +## JSPM + +```sh +# TypeScript 3.9.2 or later +jspm install tslib + +# TypeScript 3.8.4 or earlier +jspm install tslib@^1 + +# TypeScript 2.3.2 or earlier +jspm install tslib@1.6.1 +``` + +# Usage + +Set the `importHelpers` compiler option on the command line: + +``` +tsc --importHelpers file.ts +``` + +or in your tsconfig.json: + +```json +{ + "compilerOptions": { + "importHelpers": true + } +} +``` + +#### For bower and JSPM users + +You will need to add a `paths` mapping for `tslib`, e.g. For Bower users: + +```json +{ + "compilerOptions": { + "module": "amd", + "importHelpers": true, + "baseUrl": "./", + "paths": { + "tslib" : ["bower_components/tslib/tslib.d.ts"] + } + } +} +``` + +For JSPM users: + +```json +{ + "compilerOptions": { + "module": "system", + "importHelpers": true, + "baseUrl": "./", + "paths": { + "tslib" : ["jspm_packages/npm/tslib@2.x.y/tslib.d.ts"] + } + } +} +``` + +## Deployment + +- Choose your new version number +- Set it in `package.json` and `bower.json` +- Create a tag: `git tag [version]` +- Push the tag: `git push --tags` +- Create a [release in GitHub](https://github.com/microsoft/tslib/releases) +- Run the [publish to npm](https://github.com/microsoft/tslib/actions?query=workflow%3A%22Publish+to+NPM%22) workflow + +Done. + +# Contribute + +There are many ways to [contribute](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md) to TypeScript. + +* [Submit bugs](https://github.com/Microsoft/TypeScript/issues) and help us verify fixes as they are checked in. +* Review the [source code changes](https://github.com/Microsoft/TypeScript/pulls). +* Engage with other TypeScript users and developers on [StackOverflow](http://stackoverflow.com/questions/tagged/typescript). +* Join the [#typescript](http://twitter.com/#!/search/realtime/%23typescript) discussion on Twitter. +* [Contribute bug fixes](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md). + +# Documentation + +* [Quick tutorial](http://www.typescriptlang.org/Tutorial) +* [Programming handbook](http://www.typescriptlang.org/Handbook) +* [Homepage](http://www.typescriptlang.org/) diff --git a/node_modules/tslib/SECURITY.md b/node_modules/tslib/SECURITY.md new file mode 100644 index 0000000..869fdfe --- /dev/null +++ b/node_modules/tslib/SECURITY.md @@ -0,0 +1,41 @@ + + +## Security + +Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/). + +If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below. + +## Reporting Security Issues + +**Please do not report security vulnerabilities through public GitHub issues.** + +Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report). + +If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey). + +You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc). + +Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue: + + * Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) + * Full paths of source file(s) related to the manifestation of the issue + * The location of the affected source code (tag/branch/commit or direct URL) + * Any special configuration required to reproduce the issue + * Step-by-step instructions to reproduce the issue + * Proof-of-concept or exploit code (if possible) + * Impact of the issue, including how an attacker might exploit the issue + +This information will help us triage your report more quickly. + +If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs. + +## Preferred Languages + +We prefer all communications to be in English. + +## Policy + +Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd). + + diff --git a/node_modules/tslib/modules/index.d.ts b/node_modules/tslib/modules/index.d.ts new file mode 100644 index 0000000..3244fab --- /dev/null +++ b/node_modules/tslib/modules/index.d.ts @@ -0,0 +1,38 @@ +// Note: named reexports are used instead of `export *` because +// TypeScript itself doesn't resolve the `export *` when checking +// if a particular helper exists. +export { + __extends, + __assign, + __rest, + __decorate, + __param, + __esDecorate, + __runInitializers, + __propKey, + __setFunctionName, + __metadata, + __awaiter, + __generator, + __exportStar, + __values, + __read, + __spread, + __spreadArrays, + __spreadArray, + __await, + __asyncGenerator, + __asyncDelegator, + __asyncValues, + __makeTemplateObject, + __importStar, + __importDefault, + __classPrivateFieldGet, + __classPrivateFieldSet, + __classPrivateFieldIn, + __createBinding, + __addDisposableResource, + __disposeResources, + __rewriteRelativeImportExtension, +} from '../tslib.js'; +export * as default from '../tslib.js'; diff --git a/node_modules/tslib/modules/index.js b/node_modules/tslib/modules/index.js new file mode 100644 index 0000000..f4f9a06 --- /dev/null +++ b/node_modules/tslib/modules/index.js @@ -0,0 +1,70 @@ +import tslib from '../tslib.js'; +const { + __extends, + __assign, + __rest, + __decorate, + __param, + __esDecorate, + __runInitializers, + __propKey, + __setFunctionName, + __metadata, + __awaiter, + __generator, + __exportStar, + __createBinding, + __values, + __read, + __spread, + __spreadArrays, + __spreadArray, + __await, + __asyncGenerator, + __asyncDelegator, + __asyncValues, + __makeTemplateObject, + __importStar, + __importDefault, + __classPrivateFieldGet, + __classPrivateFieldSet, + __classPrivateFieldIn, + __addDisposableResource, + __disposeResources, + __rewriteRelativeImportExtension, +} = tslib; +export { + __extends, + __assign, + __rest, + __decorate, + __param, + __esDecorate, + __runInitializers, + __propKey, + __setFunctionName, + __metadata, + __awaiter, + __generator, + __exportStar, + __createBinding, + __values, + __read, + __spread, + __spreadArrays, + __spreadArray, + __await, + __asyncGenerator, + __asyncDelegator, + __asyncValues, + __makeTemplateObject, + __importStar, + __importDefault, + __classPrivateFieldGet, + __classPrivateFieldSet, + __classPrivateFieldIn, + __addDisposableResource, + __disposeResources, + __rewriteRelativeImportExtension, +}; +export default tslib; diff --git a/node_modules/tslib/modules/package.json b/node_modules/tslib/modules/package.json new file mode 100644 index 0000000..96ae6e5 --- /dev/null +++ b/node_modules/tslib/modules/package.json @@ -0,0 +1,3 @@ +{ + "type": "module" +} \ No newline at end of file diff --git a/node_modules/tslib/package.json b/node_modules/tslib/package.json new file mode 100644 index 0000000..57d0578 --- /dev/null +++ b/node_modules/tslib/package.json @@ -0,0 +1,47 @@ +{ + "name": "tslib", + "author": "Microsoft Corp.", + "homepage": "https://www.typescriptlang.org/", + "version": "2.8.1", + "license": "0BSD", + "description": "Runtime library for TypeScript helper functions", + "keywords": [ + "TypeScript", + "Microsoft", + "compiler", + "language", + "javascript", + "tslib", + "runtime" + ], + "bugs": { + "url": "https://github.com/Microsoft/TypeScript/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/tslib.git" + }, + "main": "tslib.js", + "module": "tslib.es6.js", + "jsnext:main": "tslib.es6.js", + "typings": "tslib.d.ts", + "sideEffects": false, + "exports": { + ".": { + "module": { + "types": "./modules/index.d.ts", + "default": "./tslib.es6.mjs" + }, + "import": { + "node": "./modules/index.js", + "default": { + "types": "./modules/index.d.ts", + "default": "./tslib.es6.mjs" + } + }, + "default": "./tslib.js" + }, + "./*": "./*", + "./": "./" + } +} diff --git a/node_modules/tslib/tslib.d.ts b/node_modules/tslib/tslib.d.ts new file mode 100644 index 0000000..9c27e05 --- /dev/null +++ b/node_modules/tslib/tslib.d.ts @@ -0,0 +1,460 @@ +/****************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ + +/** + * Used to shim class extends. + * + * @param d The derived class. + * @param b The base class. + */ +export declare function __extends(d: Function, b: Function): void; + +/** + * Copy the values of all of the enumerable own properties from one or more source objects to a + * target object. Returns the target object. + * + * @param t The target object to copy to. + * @param sources One or more source objects from which to copy properties + */ +export declare function __assign(t: any, ...sources: any[]): any; + +/** + * Performs a rest spread on an object. + * + * @param t The source value. + * @param propertyNames The property names excluded from the rest spread. + */ +export declare function __rest(t: any, propertyNames: (string | symbol)[]): any; + +/** + * Applies decorators to a target object + * + * @param decorators The set of decorators to apply. + * @param target The target object. + * @param key If specified, the own property to apply the decorators to. + * @param desc The property descriptor, defaults to fetching the descriptor from the target object. + * @experimental + */ +export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; + +/** + * Creates an observing function decorator from a parameter decorator. + * + * @param paramIndex The parameter index to apply the decorator to. + * @param decorator The parameter decorator to apply. Note that the return value is ignored. + * @experimental + */ +export declare function __param(paramIndex: number, decorator: Function): Function; + +/** + * Applies decorators to a class or class member, following the native ECMAScript decorator specification. + * @param ctor For non-field class members, the class constructor. Otherwise, `null`. + * @param descriptorIn The `PropertyDescriptor` to use when unable to look up the property from `ctor`. + * @param decorators The decorators to apply + * @param contextIn The `DecoratorContext` to clone for each decorator application. + * @param initializers An array of field initializer mutation functions into which new initializers are written. + * @param extraInitializers An array of extra initializer functions into which new initializers are written. + */ +export declare function __esDecorate(ctor: Function | null, descriptorIn: object | null, decorators: Function[], contextIn: object, initializers: Function[] | null, extraInitializers: Function[]): void; + +/** + * Runs field initializers or extra initializers generated by `__esDecorate`. + * @param thisArg The `this` argument to use. + * @param initializers The array of initializers to evaluate. + * @param value The initial value to pass to the initializers. + */ +export declare function __runInitializers(thisArg: unknown, initializers: Function[], value?: any): any; + +/** + * Converts a computed property name into a `string` or `symbol` value. + */ +export declare function __propKey(x: any): string | symbol; + +/** + * Assigns the name of a function derived from the left-hand side of an assignment. + * @param f The function to rename. + * @param name The new name for the function. + * @param prefix A prefix (such as `"get"` or `"set"`) to insert before the name. + */ +export declare function __setFunctionName(f: Function, name: string | symbol, prefix?: string): Function; + +/** + * Creates a decorator that sets metadata. + * + * @param metadataKey The metadata key + * @param metadataValue The metadata value + * @experimental + */ +export declare function __metadata(metadataKey: any, metadataValue: any): Function; + +/** + * Converts a generator function into a pseudo-async function, by treating each `yield` as an `await`. + * + * @param thisArg The reference to use as the `this` value in the generator function + * @param _arguments The optional arguments array + * @param P The optional promise constructor argument, defaults to the `Promise` property of the global object. + * @param generator The generator function + */ +export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; + +/** + * Creates an Iterator object using the body as the implementation. + * + * @param thisArg The reference to use as the `this` value in the function + * @param body The generator state-machine based implementation. + * + * @see [./docs/generator.md] + */ +export declare function __generator(thisArg: any, body: Function): any; + +/** + * Creates bindings for all enumerable properties of `m` on `exports` + * + * @param m The source object + * @param o The `exports` object. + */ +export declare function __exportStar(m: any, o: any): void; + +/** + * Creates a value iterator from an `Iterable` or `ArrayLike` object. + * + * @param o The object. + * @throws {TypeError} If `o` is neither `Iterable`, nor an `ArrayLike`. + */ +export declare function __values(o: any): any; + +/** + * Reads values from an `Iterable` or `ArrayLike` object and returns the resulting array. + * + * @param o The object to read from. + * @param n The maximum number of arguments to read, defaults to `Infinity`. + */ +export declare function __read(o: any, n?: number): any[]; + +/** + * Creates an array from iterable spread. + * + * @param args The Iterable objects to spread. + * @deprecated since TypeScript 4.2 - Use `__spreadArray` + */ +export declare function __spread(...args: any[][]): any[]; + +/** + * Creates an array from array spread. + * + * @param args The ArrayLikes to spread into the resulting array. + * @deprecated since TypeScript 4.2 - Use `__spreadArray` + */ +export declare function __spreadArrays(...args: any[][]): any[]; + +/** + * Spreads the `from` array into the `to` array. + * + * @param pack Replace empty elements with `undefined`. + */ +export declare function __spreadArray(to: any[], from: any[], pack?: boolean): any[]; + +/** + * Creates an object that signals to `__asyncGenerator` that it shouldn't be yielded, + * and instead should be awaited and the resulting value passed back to the generator. + * + * @param v The value to await. + */ +export declare function __await(v: any): any; + +/** + * Converts a generator function into an async generator function, by using `yield __await` + * in place of normal `await`. + * + * @param thisArg The reference to use as the `this` value in the generator function + * @param _arguments The optional arguments array + * @param generator The generator function + */ +export declare function __asyncGenerator(thisArg: any, _arguments: any, generator: Function): any; + +/** + * Used to wrap a potentially async iterator in such a way so that it wraps the result + * of calling iterator methods of `o` in `__await` instances, and then yields the awaited values. + * + * @param o The potentially async iterator. + * @returns A synchronous iterator yielding `__await` instances on every odd invocation + * and returning the awaited `IteratorResult` passed to `next` every even invocation. + */ +export declare function __asyncDelegator(o: any): any; + +/** + * Creates a value async iterator from an `AsyncIterable`, `Iterable` or `ArrayLike` object. + * + * @param o The object. + * @throws {TypeError} If `o` is neither `AsyncIterable`, `Iterable`, nor an `ArrayLike`. + */ +export declare function __asyncValues(o: any): any; + +/** + * Creates a `TemplateStringsArray` frozen object from the `cooked` and `raw` arrays. + * + * @param cooked The cooked possibly-sparse array. + * @param raw The raw string content. + */ +export declare function __makeTemplateObject(cooked: string[], raw: string[]): TemplateStringsArray; + +/** + * Used to shim default and named imports in ECMAScript Modules transpiled to CommonJS. + * + * ```js + * import Default, { Named, Other } from "mod"; + * // or + * import { default as Default, Named, Other } from "mod"; + * ``` + * + * @param mod The CommonJS module exports object. + */ +export declare function __importStar(mod: T): T; + +/** + * Used to shim default imports in ECMAScript Modules transpiled to CommonJS. + * + * ```js + * import Default from "mod"; + * ``` + * + * @param mod The CommonJS module exports object. + */ +export declare function __importDefault(mod: T): T | { default: T }; + +/** + * Emulates reading a private instance field. + * + * @param receiver The instance from which to read the private field. + * @param state A WeakMap containing the private field value for an instance. + * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method. + * + * @throws {TypeError} If `state` doesn't have an entry for `receiver`. + */ +export declare function __classPrivateFieldGet( + receiver: T, + state: { has(o: T): boolean, get(o: T): V | undefined }, + kind?: "f" +): V; + +/** + * Emulates reading a private static field. + * + * @param receiver The object from which to read the private static field. + * @param state The class constructor containing the definition of the static field. + * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method. + * @param f The descriptor that holds the static field value. + * + * @throws {TypeError} If `receiver` is not `state`. + */ +export declare function __classPrivateFieldGet unknown, V>( + receiver: T, + state: T, + kind: "f", + f: { value: V } +): V; + +/** + * Emulates evaluating a private instance "get" accessor. + * + * @param receiver The instance on which to evaluate the private "get" accessor. + * @param state A WeakSet used to verify an instance supports the private "get" accessor. + * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method. + * @param f The "get" accessor function to evaluate. + * + * @throws {TypeError} If `state` doesn't have an entry for `receiver`. + */ +export declare function __classPrivateFieldGet( + receiver: T, + state: { has(o: T): boolean }, + kind: "a", + f: () => V +): V; + +/** + * Emulates evaluating a private static "get" accessor. + * + * @param receiver The object on which to evaluate the private static "get" accessor. + * @param state The class constructor containing the definition of the static "get" accessor. + * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method. + * @param f The "get" accessor function to evaluate. + * + * @throws {TypeError} If `receiver` is not `state`. + */ +export declare function __classPrivateFieldGet unknown, V>( + receiver: T, + state: T, + kind: "a", + f: () => V +): V; + +/** + * Emulates reading a private instance method. + * + * @param receiver The instance from which to read a private method. + * @param state A WeakSet used to verify an instance supports the private method. + * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method. + * @param f The function to return as the private instance method. + * + * @throws {TypeError} If `state` doesn't have an entry for `receiver`. + */ +export declare function __classPrivateFieldGet unknown>( + receiver: T, + state: { has(o: T): boolean }, + kind: "m", + f: V +): V; + +/** + * Emulates reading a private static method. + * + * @param receiver The object from which to read the private static method. + * @param state The class constructor containing the definition of the static method. + * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method. + * @param f The function to return as the private static method. + * + * @throws {TypeError} If `receiver` is not `state`. + */ +export declare function __classPrivateFieldGet unknown, V extends (...args: any[]) => unknown>( + receiver: T, + state: T, + kind: "m", + f: V +): V; + +/** + * Emulates writing to a private instance field. + * + * @param receiver The instance on which to set a private field value. + * @param state A WeakMap used to store the private field value for an instance. + * @param value The value to store in the private field. + * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method. + * + * @throws {TypeError} If `state` doesn't have an entry for `receiver`. + */ +export declare function __classPrivateFieldSet( + receiver: T, + state: { has(o: T): boolean, set(o: T, value: V): unknown }, + value: V, + kind?: "f" +): V; + +/** + * Emulates writing to a private static field. + * + * @param receiver The object on which to set the private static field. + * @param state The class constructor containing the definition of the private static field. + * @param value The value to store in the private field. + * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method. + * @param f The descriptor that holds the static field value. + * + * @throws {TypeError} If `receiver` is not `state`. + */ +export declare function __classPrivateFieldSet unknown, V>( + receiver: T, + state: T, + value: V, + kind: "f", + f: { value: V } +): V; + +/** + * Emulates writing to a private instance "set" accessor. + * + * @param receiver The instance on which to evaluate the private instance "set" accessor. + * @param state A WeakSet used to verify an instance supports the private "set" accessor. + * @param value The value to store in the private accessor. + * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method. + * @param f The "set" accessor function to evaluate. + * + * @throws {TypeError} If `state` doesn't have an entry for `receiver`. + */ +export declare function __classPrivateFieldSet( + receiver: T, + state: { has(o: T): boolean }, + value: V, + kind: "a", + f: (v: V) => void +): V; + +/** + * Emulates writing to a private static "set" accessor. + * + * @param receiver The object on which to evaluate the private static "set" accessor. + * @param state The class constructor containing the definition of the static "set" accessor. + * @param value The value to store in the private field. + * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method. + * @param f The "set" accessor function to evaluate. + * + * @throws {TypeError} If `receiver` is not `state`. + */ +export declare function __classPrivateFieldSet unknown, V>( + receiver: T, + state: T, + value: V, + kind: "a", + f: (v: V) => void +): V; + +/** + * Checks for the existence of a private field/method/accessor. + * + * @param state The class constructor containing the static member, or the WeakMap or WeakSet associated with a private instance member. + * @param receiver The object for which to test the presence of the private member. + */ +export declare function __classPrivateFieldIn( + state: (new (...args: any[]) => unknown) | { has(o: any): boolean }, + receiver: unknown, +): boolean; + +/** + * Creates a re-export binding on `object` with key `objectKey` that references `target[key]`. + * + * @param object The local `exports` object. + * @param target The object to re-export from. + * @param key The property key of `target` to re-export. + * @param objectKey The property key to re-export as. Defaults to `key`. + */ +export declare function __createBinding(object: object, target: object, key: PropertyKey, objectKey?: PropertyKey): void; + +/** + * Adds a disposable resource to a resource-tracking environment object. + * @param env A resource-tracking environment object. + * @param value Either a Disposable or AsyncDisposable object, `null`, or `undefined`. + * @param async When `true`, `AsyncDisposable` resources can be added. When `false`, `AsyncDisposable` resources cannot be added. + * @returns The {@link value} argument. + * + * @throws {TypeError} If {@link value} is not an object, or if either `Symbol.dispose` or `Symbol.asyncDispose` are not + * defined, or if {@link value} does not have an appropriate `Symbol.dispose` or `Symbol.asyncDispose` method. + */ +export declare function __addDisposableResource(env: { stack: { value?: unknown, dispose?: Function, async: boolean }[]; error: unknown; hasError: boolean; }, value: T, async: boolean): T; + +/** + * Disposes all resources in a resource-tracking environment object. + * @param env A resource-tracking environment object. + * @returns A {@link Promise} if any resources in the environment were marked as `async` when added; otherwise, `void`. + * + * @throws {SuppressedError} if an error thrown during disposal would have suppressed a prior error from disposal or the + * error recorded in the resource-tracking environment object. + * @seealso {@link __addDisposableResource} + */ +export declare function __disposeResources(env: { stack: { value?: unknown, dispose?: Function, async: boolean }[]; error: unknown; hasError: boolean; }): any; + +/** + * Transforms a relative import specifier ending in a non-declaration TypeScript file extension to its JavaScript file extension counterpart. + * @param path The import specifier. + * @param preserveJsx Causes '*.tsx' to transform to '*.jsx' instead of '*.js'. Should be true when `--jsx` is set to `preserve`. + */ +export declare function __rewriteRelativeImportExtension(path: string, preserveJsx?: boolean): string; \ No newline at end of file diff --git a/node_modules/tslib/tslib.es6.html b/node_modules/tslib/tslib.es6.html new file mode 100644 index 0000000..b122e41 --- /dev/null +++ b/node_modules/tslib/tslib.es6.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/tslib/tslib.es6.js b/node_modules/tslib/tslib.es6.js new file mode 100644 index 0000000..67ba5c5 --- /dev/null +++ b/node_modules/tslib/tslib.es6.js @@ -0,0 +1,402 @@ +/****************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +/* global Reflect, Promise, SuppressedError, Symbol, Iterator */ + +var extendStatics = function(d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); +}; + +export function __extends(d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +} + +export var __assign = function() { + __assign = Object.assign || function __assign(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + } + return __assign.apply(this, arguments); +} + +export function __rest(s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; +} + +export function __decorate(decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +} + +export function __param(paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } +} + +export function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { + function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; } + var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value"; + var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null; + var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {}); + var _, done = false; + for (var i = decorators.length - 1; i >= 0; i--) { + var context = {}; + for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p]; + for (var p in contextIn.access) context.access[p] = contextIn.access[p]; + context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); }; + var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context); + if (kind === "accessor") { + if (result === void 0) continue; + if (result === null || typeof result !== "object") throw new TypeError("Object expected"); + if (_ = accept(result.get)) descriptor.get = _; + if (_ = accept(result.set)) descriptor.set = _; + if (_ = accept(result.init)) initializers.unshift(_); + } + else if (_ = accept(result)) { + if (kind === "field") initializers.unshift(_); + else descriptor[key] = _; + } + } + if (target) Object.defineProperty(target, contextIn.name, descriptor); + done = true; +}; + +export function __runInitializers(thisArg, initializers, value) { + var useValue = arguments.length > 2; + for (var i = 0; i < initializers.length; i++) { + value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg); + } + return useValue ? value : void 0; +}; + +export function __propKey(x) { + return typeof x === "symbol" ? x : "".concat(x); +}; + +export function __setFunctionName(f, name, prefix) { + if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; + return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); +}; + +export function __metadata(metadataKey, metadataValue) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); +} + +export function __awaiter(thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +} + +export function __generator(thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (g && (g = 0, op[0] && (_ = 0)), _) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +} + +export var __createBinding = Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +}); + +export function __exportStar(m, o) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p); +} + +export function __values(o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); +} + +export function __read(o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; +} + +/** @deprecated */ +export function __spread() { + for (var ar = [], i = 0; i < arguments.length; i++) + ar = ar.concat(__read(arguments[i])); + return ar; +} + +/** @deprecated */ +export function __spreadArrays() { + for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; + for (var r = Array(s), k = 0, i = 0; i < il; i++) + for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) + r[k] = a[j]; + return r; +} + +export function __spreadArray(to, from, pack) { + if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { + if (ar || !(i in from)) { + if (!ar) ar = Array.prototype.slice.call(from, 0, i); + ar[i] = from[i]; + } + } + return to.concat(ar || Array.prototype.slice.call(from)); +} + +export function __await(v) { + return this instanceof __await ? (this.v = v, this) : new __await(v); +} + +export function __asyncGenerator(thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } + function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } +} + +export function __asyncDelegator(o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; } +} + +export function __asyncValues(o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } +} + +export function __makeTemplateObject(cooked, raw) { + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } + return cooked; +}; + +var __setModuleDefault = Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}; + +var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); +}; + +export function __importStar(mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; +} + +export function __importDefault(mod) { + return (mod && mod.__esModule) ? mod : { default: mod }; +} + +export function __classPrivateFieldGet(receiver, state, kind, f) { + if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); + if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); + return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); +} + +export function __classPrivateFieldSet(receiver, state, value, kind, f) { + if (kind === "m") throw new TypeError("Private method is not writable"); + if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); + if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); + return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value; +} + +export function __classPrivateFieldIn(state, receiver) { + if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object"); + return typeof state === "function" ? receiver === state : state.has(receiver); +} + +export function __addDisposableResource(env, value, async) { + if (value !== null && value !== void 0) { + if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); + var dispose, inner; + if (async) { + if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); + dispose = value[Symbol.asyncDispose]; + } + if (dispose === void 0) { + if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); + dispose = value[Symbol.dispose]; + if (async) inner = dispose; + } + if (typeof dispose !== "function") throw new TypeError("Object not disposable."); + if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } }; + env.stack.push({ value: value, dispose: dispose, async: async }); + } + else if (async) { + env.stack.push({ async: true }); + } + return value; + +} + +var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { + var e = new Error(message); + return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; +}; + +export function __disposeResources(env) { + function fail(e) { + env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; + env.hasError = true; + } + var r, s = 0; + function next() { + while (r = env.stack.pop()) { + try { + if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next); + if (r.dispose) { + var result = r.dispose.call(r.value); + if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); + } + else s |= 1; + } + catch (e) { + fail(e); + } + } + if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve(); + if (env.hasError) throw env.error; + } + return next(); +} + +export function __rewriteRelativeImportExtension(path, preserveJsx) { + if (typeof path === "string" && /^\.\.?\//.test(path)) { + return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) { + return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js"); + }); + } + return path; +} + +export default { + __extends: __extends, + __assign: __assign, + __rest: __rest, + __decorate: __decorate, + __param: __param, + __esDecorate: __esDecorate, + __runInitializers: __runInitializers, + __propKey: __propKey, + __setFunctionName: __setFunctionName, + __metadata: __metadata, + __awaiter: __awaiter, + __generator: __generator, + __createBinding: __createBinding, + __exportStar: __exportStar, + __values: __values, + __read: __read, + __spread: __spread, + __spreadArrays: __spreadArrays, + __spreadArray: __spreadArray, + __await: __await, + __asyncGenerator: __asyncGenerator, + __asyncDelegator: __asyncDelegator, + __asyncValues: __asyncValues, + __makeTemplateObject: __makeTemplateObject, + __importStar: __importStar, + __importDefault: __importDefault, + __classPrivateFieldGet: __classPrivateFieldGet, + __classPrivateFieldSet: __classPrivateFieldSet, + __classPrivateFieldIn: __classPrivateFieldIn, + __addDisposableResource: __addDisposableResource, + __disposeResources: __disposeResources, + __rewriteRelativeImportExtension: __rewriteRelativeImportExtension, +}; diff --git a/node_modules/tslib/tslib.es6.mjs b/node_modules/tslib/tslib.es6.mjs new file mode 100644 index 0000000..c17990a --- /dev/null +++ b/node_modules/tslib/tslib.es6.mjs @@ -0,0 +1,401 @@ +/****************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +/* global Reflect, Promise, SuppressedError, Symbol, Iterator */ + +var extendStatics = function(d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); +}; + +export function __extends(d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +} + +export var __assign = function() { + __assign = Object.assign || function __assign(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + } + return __assign.apply(this, arguments); +} + +export function __rest(s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; +} + +export function __decorate(decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +} + +export function __param(paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } +} + +export function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { + function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; } + var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value"; + var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null; + var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {}); + var _, done = false; + for (var i = decorators.length - 1; i >= 0; i--) { + var context = {}; + for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p]; + for (var p in contextIn.access) context.access[p] = contextIn.access[p]; + context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); }; + var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context); + if (kind === "accessor") { + if (result === void 0) continue; + if (result === null || typeof result !== "object") throw new TypeError("Object expected"); + if (_ = accept(result.get)) descriptor.get = _; + if (_ = accept(result.set)) descriptor.set = _; + if (_ = accept(result.init)) initializers.unshift(_); + } + else if (_ = accept(result)) { + if (kind === "field") initializers.unshift(_); + else descriptor[key] = _; + } + } + if (target) Object.defineProperty(target, contextIn.name, descriptor); + done = true; +}; + +export function __runInitializers(thisArg, initializers, value) { + var useValue = arguments.length > 2; + for (var i = 0; i < initializers.length; i++) { + value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg); + } + return useValue ? value : void 0; +}; + +export function __propKey(x) { + return typeof x === "symbol" ? x : "".concat(x); +}; + +export function __setFunctionName(f, name, prefix) { + if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; + return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); +}; + +export function __metadata(metadataKey, metadataValue) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); +} + +export function __awaiter(thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +} + +export function __generator(thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (g && (g = 0, op[0] && (_ = 0)), _) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +} + +export var __createBinding = Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +}); + +export function __exportStar(m, o) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p); +} + +export function __values(o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); +} + +export function __read(o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; +} + +/** @deprecated */ +export function __spread() { + for (var ar = [], i = 0; i < arguments.length; i++) + ar = ar.concat(__read(arguments[i])); + return ar; +} + +/** @deprecated */ +export function __spreadArrays() { + for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; + for (var r = Array(s), k = 0, i = 0; i < il; i++) + for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) + r[k] = a[j]; + return r; +} + +export function __spreadArray(to, from, pack) { + if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { + if (ar || !(i in from)) { + if (!ar) ar = Array.prototype.slice.call(from, 0, i); + ar[i] = from[i]; + } + } + return to.concat(ar || Array.prototype.slice.call(from)); +} + +export function __await(v) { + return this instanceof __await ? (this.v = v, this) : new __await(v); +} + +export function __asyncGenerator(thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } + function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } +} + +export function __asyncDelegator(o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; } +} + +export function __asyncValues(o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } +} + +export function __makeTemplateObject(cooked, raw) { + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } + return cooked; +}; + +var __setModuleDefault = Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}; + +var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); +}; + +export function __importStar(mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; +} + +export function __importDefault(mod) { + return (mod && mod.__esModule) ? mod : { default: mod }; +} + +export function __classPrivateFieldGet(receiver, state, kind, f) { + if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); + if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); + return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); +} + +export function __classPrivateFieldSet(receiver, state, value, kind, f) { + if (kind === "m") throw new TypeError("Private method is not writable"); + if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); + if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); + return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value; +} + +export function __classPrivateFieldIn(state, receiver) { + if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object"); + return typeof state === "function" ? receiver === state : state.has(receiver); +} + +export function __addDisposableResource(env, value, async) { + if (value !== null && value !== void 0) { + if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); + var dispose, inner; + if (async) { + if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); + dispose = value[Symbol.asyncDispose]; + } + if (dispose === void 0) { + if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); + dispose = value[Symbol.dispose]; + if (async) inner = dispose; + } + if (typeof dispose !== "function") throw new TypeError("Object not disposable."); + if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } }; + env.stack.push({ value: value, dispose: dispose, async: async }); + } + else if (async) { + env.stack.push({ async: true }); + } + return value; +} + +var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { + var e = new Error(message); + return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; +}; + +export function __disposeResources(env) { + function fail(e) { + env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; + env.hasError = true; + } + var r, s = 0; + function next() { + while (r = env.stack.pop()) { + try { + if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next); + if (r.dispose) { + var result = r.dispose.call(r.value); + if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); + } + else s |= 1; + } + catch (e) { + fail(e); + } + } + if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve(); + if (env.hasError) throw env.error; + } + return next(); +} + +export function __rewriteRelativeImportExtension(path, preserveJsx) { + if (typeof path === "string" && /^\.\.?\//.test(path)) { + return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) { + return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js"); + }); + } + return path; +} + +export default { + __extends, + __assign, + __rest, + __decorate, + __param, + __esDecorate, + __runInitializers, + __propKey, + __setFunctionName, + __metadata, + __awaiter, + __generator, + __createBinding, + __exportStar, + __values, + __read, + __spread, + __spreadArrays, + __spreadArray, + __await, + __asyncGenerator, + __asyncDelegator, + __asyncValues, + __makeTemplateObject, + __importStar, + __importDefault, + __classPrivateFieldGet, + __classPrivateFieldSet, + __classPrivateFieldIn, + __addDisposableResource, + __disposeResources, + __rewriteRelativeImportExtension, +}; diff --git a/node_modules/tslib/tslib.html b/node_modules/tslib/tslib.html new file mode 100644 index 0000000..44c9ba5 --- /dev/null +++ b/node_modules/tslib/tslib.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/tslib/tslib.js b/node_modules/tslib/tslib.js new file mode 100644 index 0000000..b6509f7 --- /dev/null +++ b/node_modules/tslib/tslib.js @@ -0,0 +1,484 @@ +/****************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +/* global global, define, Symbol, Reflect, Promise, SuppressedError, Iterator */ +var __extends; +var __assign; +var __rest; +var __decorate; +var __param; +var __esDecorate; +var __runInitializers; +var __propKey; +var __setFunctionName; +var __metadata; +var __awaiter; +var __generator; +var __exportStar; +var __values; +var __read; +var __spread; +var __spreadArrays; +var __spreadArray; +var __await; +var __asyncGenerator; +var __asyncDelegator; +var __asyncValues; +var __makeTemplateObject; +var __importStar; +var __importDefault; +var __classPrivateFieldGet; +var __classPrivateFieldSet; +var __classPrivateFieldIn; +var __createBinding; +var __addDisposableResource; +var __disposeResources; +var __rewriteRelativeImportExtension; +(function (factory) { + var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {}; + if (typeof define === "function" && define.amd) { + define("tslib", ["exports"], function (exports) { factory(createExporter(root, createExporter(exports))); }); + } + else if (typeof module === "object" && typeof module.exports === "object") { + factory(createExporter(root, createExporter(module.exports))); + } + else { + factory(createExporter(root)); + } + function createExporter(exports, previous) { + if (exports !== root) { + if (typeof Object.create === "function") { + Object.defineProperty(exports, "__esModule", { value: true }); + } + else { + exports.__esModule = true; + } + } + return function (id, v) { return exports[id] = previous ? previous(id, v) : v; }; + } +}) +(function (exporter) { + var extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + + __extends = function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; + + __assign = Object.assign || function (t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + }; + + __rest = function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; + }; + + __decorate = function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; + }; + + __param = function (paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } + }; + + __esDecorate = function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { + function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; } + var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value"; + var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null; + var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {}); + var _, done = false; + for (var i = decorators.length - 1; i >= 0; i--) { + var context = {}; + for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p]; + for (var p in contextIn.access) context.access[p] = contextIn.access[p]; + context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); }; + var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context); + if (kind === "accessor") { + if (result === void 0) continue; + if (result === null || typeof result !== "object") throw new TypeError("Object expected"); + if (_ = accept(result.get)) descriptor.get = _; + if (_ = accept(result.set)) descriptor.set = _; + if (_ = accept(result.init)) initializers.unshift(_); + } + else if (_ = accept(result)) { + if (kind === "field") initializers.unshift(_); + else descriptor[key] = _; + } + } + if (target) Object.defineProperty(target, contextIn.name, descriptor); + done = true; + }; + + __runInitializers = function (thisArg, initializers, value) { + var useValue = arguments.length > 2; + for (var i = 0; i < initializers.length; i++) { + value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg); + } + return useValue ? value : void 0; + }; + + __propKey = function (x) { + return typeof x === "symbol" ? x : "".concat(x); + }; + + __setFunctionName = function (f, name, prefix) { + if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; + return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); + }; + + __metadata = function (metadataKey, metadataValue) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); + }; + + __awaiter = function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + + __generator = function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (g && (g = 0, op[0] && (_ = 0)), _) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + + __exportStar = function(m, o) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p); + }; + + __createBinding = Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); + }) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; + }); + + __values = function (o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); + }; + + __read = function (o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; + }; + + /** @deprecated */ + __spread = function () { + for (var ar = [], i = 0; i < arguments.length; i++) + ar = ar.concat(__read(arguments[i])); + return ar; + }; + + /** @deprecated */ + __spreadArrays = function () { + for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; + for (var r = Array(s), k = 0, i = 0; i < il; i++) + for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) + r[k] = a[j]; + return r; + }; + + __spreadArray = function (to, from, pack) { + if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { + if (ar || !(i in from)) { + if (!ar) ar = Array.prototype.slice.call(from, 0, i); + ar[i] = from[i]; + } + } + return to.concat(ar || Array.prototype.slice.call(from)); + }; + + __await = function (v) { + return this instanceof __await ? (this.v = v, this) : new __await(v); + }; + + __asyncGenerator = function (thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } + function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } + }; + + __asyncDelegator = function (o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; } + }; + + __asyncValues = function (o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } + }; + + __makeTemplateObject = function (cooked, raw) { + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } + return cooked; + }; + + var __setModuleDefault = Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); + }) : function(o, v) { + o["default"] = v; + }; + + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + + __importStar = function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; + + __importDefault = function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; + }; + + __classPrivateFieldGet = function (receiver, state, kind, f) { + if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); + if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); + return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); + }; + + __classPrivateFieldSet = function (receiver, state, value, kind, f) { + if (kind === "m") throw new TypeError("Private method is not writable"); + if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); + if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); + return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value; + }; + + __classPrivateFieldIn = function (state, receiver) { + if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object"); + return typeof state === "function" ? receiver === state : state.has(receiver); + }; + + __addDisposableResource = function (env, value, async) { + if (value !== null && value !== void 0) { + if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); + var dispose, inner; + if (async) { + if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); + dispose = value[Symbol.asyncDispose]; + } + if (dispose === void 0) { + if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); + dispose = value[Symbol.dispose]; + if (async) inner = dispose; + } + if (typeof dispose !== "function") throw new TypeError("Object not disposable."); + if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } }; + env.stack.push({ value: value, dispose: dispose, async: async }); + } + else if (async) { + env.stack.push({ async: true }); + } + return value; + }; + + var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { + var e = new Error(message); + return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; + }; + + __disposeResources = function (env) { + function fail(e) { + env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; + env.hasError = true; + } + var r, s = 0; + function next() { + while (r = env.stack.pop()) { + try { + if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next); + if (r.dispose) { + var result = r.dispose.call(r.value); + if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); + } + else s |= 1; + } + catch (e) { + fail(e); + } + } + if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve(); + if (env.hasError) throw env.error; + } + return next(); + }; + + __rewriteRelativeImportExtension = function (path, preserveJsx) { + if (typeof path === "string" && /^\.\.?\//.test(path)) { + return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) { + return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js"); + }); + } + return path; + }; + + exporter("__extends", __extends); + exporter("__assign", __assign); + exporter("__rest", __rest); + exporter("__decorate", __decorate); + exporter("__param", __param); + exporter("__esDecorate", __esDecorate); + exporter("__runInitializers", __runInitializers); + exporter("__propKey", __propKey); + exporter("__setFunctionName", __setFunctionName); + exporter("__metadata", __metadata); + exporter("__awaiter", __awaiter); + exporter("__generator", __generator); + exporter("__exportStar", __exportStar); + exporter("__createBinding", __createBinding); + exporter("__values", __values); + exporter("__read", __read); + exporter("__spread", __spread); + exporter("__spreadArrays", __spreadArrays); + exporter("__spreadArray", __spreadArray); + exporter("__await", __await); + exporter("__asyncGenerator", __asyncGenerator); + exporter("__asyncDelegator", __asyncDelegator); + exporter("__asyncValues", __asyncValues); + exporter("__makeTemplateObject", __makeTemplateObject); + exporter("__importStar", __importStar); + exporter("__importDefault", __importDefault); + exporter("__classPrivateFieldGet", __classPrivateFieldGet); + exporter("__classPrivateFieldSet", __classPrivateFieldSet); + exporter("__classPrivateFieldIn", __classPrivateFieldIn); + exporter("__addDisposableResource", __addDisposableResource); + exporter("__disposeResources", __disposeResources); + exporter("__rewriteRelativeImportExtension", __rewriteRelativeImportExtension); +}); + +0 && (module.exports = { + __extends: __extends, + __assign: __assign, + __rest: __rest, + __decorate: __decorate, + __param: __param, + __esDecorate: __esDecorate, + __runInitializers: __runInitializers, + __propKey: __propKey, + __setFunctionName: __setFunctionName, + __metadata: __metadata, + __awaiter: __awaiter, + __generator: __generator, + __exportStar: __exportStar, + __createBinding: __createBinding, + __values: __values, + __read: __read, + __spread: __spread, + __spreadArrays: __spreadArrays, + __spreadArray: __spreadArray, + __await: __await, + __asyncGenerator: __asyncGenerator, + __asyncDelegator: __asyncDelegator, + __asyncValues: __asyncValues, + __makeTemplateObject: __makeTemplateObject, + __importStar: __importStar, + __importDefault: __importDefault, + __classPrivateFieldGet: __classPrivateFieldGet, + __classPrivateFieldSet: __classPrivateFieldSet, + __classPrivateFieldIn: __classPrivateFieldIn, + __addDisposableResource: __addDisposableResource, + __disposeResources: __disposeResources, + __rewriteRelativeImportExtension: __rewriteRelativeImportExtension, +}); diff --git a/node_modules/type-is/HISTORY.md b/node_modules/type-is/HISTORY.md new file mode 100644 index 0000000..8de21f7 --- /dev/null +++ b/node_modules/type-is/HISTORY.md @@ -0,0 +1,259 @@ +1.6.18 / 2019-04-26 +=================== + + * Fix regression passing request object to `typeis.is` + +1.6.17 / 2019-04-25 +=================== + + * deps: mime-types@~2.1.24 + - Add Apple file extensions from IANA + - Add extension `.csl` to `application/vnd.citationstyles.style+xml` + - Add extension `.es` to `application/ecmascript` + - Add extension `.nq` to `application/n-quads` + - Add extension `.nt` to `application/n-triples` + - Add extension `.owl` to `application/rdf+xml` + - Add extensions `.siv` and `.sieve` to `application/sieve` + - Add extensions from IANA for `image/*` types + - Add extensions from IANA for `model/*` types + - Add extensions to HEIC image types + - Add new mime types + - Add `text/mdx` with extension `.mdx` + * perf: prevent internal `throw` on invalid type + +1.6.16 / 2018-02-16 +=================== + + * deps: mime-types@~2.1.18 + - Add `application/raml+yaml` with extension `.raml` + - Add `application/wasm` with extension `.wasm` + - Add `text/shex` with extension `.shex` + - Add extensions for JPEG-2000 images + - Add extensions from IANA for `message/*` types + - Add extension `.mjs` to `application/javascript` + - Add extension `.wadl` to `application/vnd.sun.wadl+xml` + - Add extension `.gz` to `application/gzip` + - Add glTF types and extensions + - Add new mime types + - Update extensions `.md` and `.markdown` to be `text/markdown` + - Update font MIME types + - Update `text/hjson` to registered `application/hjson` + +1.6.15 / 2017-03-31 +=================== + + * deps: mime-types@~2.1.15 + - Add new mime types + +1.6.14 / 2016-11-18 +=================== + + * deps: mime-types@~2.1.13 + - Add new mime types + +1.6.13 / 2016-05-18 +=================== + + * deps: mime-types@~2.1.11 + - Add new mime types + +1.6.12 / 2016-02-28 +=================== + + * deps: mime-types@~2.1.10 + - Add new mime types + - Fix extension of `application/dash+xml` + - Update primary extension for `audio/mp4` + +1.6.11 / 2016-01-29 +=================== + + * deps: mime-types@~2.1.9 + - Add new mime types + +1.6.10 / 2015-12-01 +=================== + + * deps: mime-types@~2.1.8 + - Add new mime types + +1.6.9 / 2015-09-27 +================== + + * deps: mime-types@~2.1.7 + - Add new mime types + +1.6.8 / 2015-09-04 +================== + + * deps: mime-types@~2.1.6 + - Add new mime types + +1.6.7 / 2015-08-20 +================== + + * Fix type error when given invalid type to match against + * deps: mime-types@~2.1.5 + - Add new mime types + +1.6.6 / 2015-07-31 +================== + + * deps: mime-types@~2.1.4 + - Add new mime types + +1.6.5 / 2015-07-16 +================== + + * deps: mime-types@~2.1.3 + - Add new mime types + +1.6.4 / 2015-07-01 +================== + + * deps: mime-types@~2.1.2 + - Add new mime types + * perf: enable strict mode + * perf: remove argument reassignment + +1.6.3 / 2015-06-08 +================== + + * deps: mime-types@~2.1.1 + - Add new mime types + * perf: reduce try block size + * perf: remove bitwise operations + +1.6.2 / 2015-05-10 +================== + + * deps: mime-types@~2.0.11 + - Add new mime types + +1.6.1 / 2015-03-13 +================== + + * deps: mime-types@~2.0.10 + - Add new mime types + +1.6.0 / 2015-02-12 +================== + + * fix false-positives in `hasBody` `Transfer-Encoding` check + * support wildcard for both type and subtype (`*/*`) + +1.5.7 / 2015-02-09 +================== + + * fix argument reassignment + * deps: mime-types@~2.0.9 + - Add new mime types + +1.5.6 / 2015-01-29 +================== + + * deps: mime-types@~2.0.8 + - Add new mime types + +1.5.5 / 2014-12-30 +================== + + * deps: mime-types@~2.0.7 + - Add new mime types + - Fix missing extensions + - Fix various invalid MIME type entries + - Remove example template MIME types + - deps: mime-db@~1.5.0 + +1.5.4 / 2014-12-10 +================== + + * deps: mime-types@~2.0.4 + - Add new mime types + - deps: mime-db@~1.3.0 + +1.5.3 / 2014-11-09 +================== + + * deps: mime-types@~2.0.3 + - Add new mime types + - deps: mime-db@~1.2.0 + +1.5.2 / 2014-09-28 +================== + + * deps: mime-types@~2.0.2 + - Add new mime types + - deps: mime-db@~1.1.0 + +1.5.1 / 2014-09-07 +================== + + * Support Node.js 0.6 + * deps: media-typer@0.3.0 + * deps: mime-types@~2.0.1 + - Support Node.js 0.6 + +1.5.0 / 2014-09-05 +================== + + * fix `hasbody` to be true for `content-length: 0` + +1.4.0 / 2014-09-02 +================== + + * update mime-types + +1.3.2 / 2014-06-24 +================== + + * use `~` range on mime-types + +1.3.1 / 2014-06-19 +================== + + * fix global variable leak + +1.3.0 / 2014-06-19 +================== + + * improve type parsing + + - invalid media type never matches + - media type not case-sensitive + - extra LWS does not affect results + +1.2.2 / 2014-06-19 +================== + + * fix behavior on unknown type argument + +1.2.1 / 2014-06-03 +================== + + * switch dependency from `mime` to `mime-types@1.0.0` + +1.2.0 / 2014-05-11 +================== + + * support suffix matching: + + - `+json` matches `application/vnd+json` + - `*/vnd+json` matches `application/vnd+json` + - `application/*+json` matches `application/vnd+json` + +1.1.0 / 2014-04-12 +================== + + * add non-array values support + * expose internal utilities: + + - `.is()` + - `.hasBody()` + - `.normalize()` + - `.match()` + +1.0.1 / 2014-03-30 +================== + + * add `multipart` as a shorthand diff --git a/node_modules/type-is/LICENSE b/node_modules/type-is/LICENSE new file mode 100644 index 0000000..386b7b6 --- /dev/null +++ b/node_modules/type-is/LICENSE @@ -0,0 +1,23 @@ +(The MIT License) + +Copyright (c) 2014 Jonathan Ong +Copyright (c) 2014-2015 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/type-is/README.md b/node_modules/type-is/README.md new file mode 100644 index 0000000..b85ef8f --- /dev/null +++ b/node_modules/type-is/README.md @@ -0,0 +1,170 @@ +# type-is + +[![NPM Version][npm-version-image]][npm-url] +[![NPM Downloads][npm-downloads-image]][npm-url] +[![Node.js Version][node-version-image]][node-version-url] +[![Build Status][travis-image]][travis-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +Infer the content-type of a request. + +### Install + +This is a [Node.js](https://nodejs.org/en/) module available through the +[npm registry](https://www.npmjs.com/). Installation is done using the +[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): + +```sh +$ npm install type-is +``` + +## API + +```js +var http = require('http') +var typeis = require('type-is') + +http.createServer(function (req, res) { + var istext = typeis(req, ['text/*']) + res.end('you ' + (istext ? 'sent' : 'did not send') + ' me text') +}) +``` + +### typeis(request, types) + +Checks if the `request` is one of the `types`. If the request has no body, +even if there is a `Content-Type` header, then `null` is returned. If the +`Content-Type` header is invalid or does not matches any of the `types`, then +`false` is returned. Otherwise, a string of the type that matched is returned. + +The `request` argument is expected to be a Node.js HTTP request. The `types` +argument is an array of type strings. + +Each type in the `types` array can be one of the following: + +- A file extension name such as `json`. This name will be returned if matched. +- A mime type such as `application/json`. +- A mime type with a wildcard such as `*/*` or `*/json` or `application/*`. + The full mime type will be returned if matched. +- A suffix such as `+json`. This can be combined with a wildcard such as + `*/vnd+json` or `application/*+json`. The full mime type will be returned + if matched. + +Some examples to illustrate the inputs and returned value: + + + +```js +// req.headers.content-type = 'application/json' + +typeis(req, ['json']) // => 'json' +typeis(req, ['html', 'json']) // => 'json' +typeis(req, ['application/*']) // => 'application/json' +typeis(req, ['application/json']) // => 'application/json' + +typeis(req, ['html']) // => false +``` + +### typeis.hasBody(request) + +Returns a Boolean if the given `request` has a body, regardless of the +`Content-Type` header. + +Having a body has no relation to how large the body is (it may be 0 bytes). +This is similar to how file existence works. If a body does exist, then this +indicates that there is data to read from the Node.js request stream. + + + +```js +if (typeis.hasBody(req)) { + // read the body, since there is one + + req.on('data', function (chunk) { + // ... + }) +} +``` + +### typeis.is(mediaType, types) + +Checks if the `mediaType` is one of the `types`. If the `mediaType` is invalid +or does not matches any of the `types`, then `false` is returned. Otherwise, a +string of the type that matched is returned. + +The `mediaType` argument is expected to be a +[media type](https://tools.ietf.org/html/rfc6838) string. The `types` argument +is an array of type strings. + +Each type in the `types` array can be one of the following: + +- A file extension name such as `json`. This name will be returned if matched. +- A mime type such as `application/json`. +- A mime type with a wildcard such as `*/*` or `*/json` or `application/*`. + The full mime type will be returned if matched. +- A suffix such as `+json`. This can be combined with a wildcard such as + `*/vnd+json` or `application/*+json`. The full mime type will be returned + if matched. + +Some examples to illustrate the inputs and returned value: + + + +```js +var mediaType = 'application/json' + +typeis.is(mediaType, ['json']) // => 'json' +typeis.is(mediaType, ['html', 'json']) // => 'json' +typeis.is(mediaType, ['application/*']) // => 'application/json' +typeis.is(mediaType, ['application/json']) // => 'application/json' + +typeis.is(mediaType, ['html']) // => false +``` + +## Examples + +### Example body parser + +```js +var express = require('express') +var typeis = require('type-is') + +var app = express() + +app.use(function bodyParser (req, res, next) { + if (!typeis.hasBody(req)) { + return next() + } + + switch (typeis(req, ['urlencoded', 'json', 'multipart'])) { + case 'urlencoded': + // parse urlencoded body + throw new Error('implement urlencoded body parsing') + case 'json': + // parse json body + throw new Error('implement json body parsing') + case 'multipart': + // parse multipart body + throw new Error('implement multipart body parsing') + default: + // 415 error code + res.statusCode = 415 + res.end() + break + } +}) +``` + +## License + +[MIT](LICENSE) + +[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/type-is/master +[coveralls-url]: https://coveralls.io/r/jshttp/type-is?branch=master +[node-version-image]: https://badgen.net/npm/node/type-is +[node-version-url]: https://nodejs.org/en/download +[npm-downloads-image]: https://badgen.net/npm/dm/type-is +[npm-url]: https://npmjs.org/package/type-is +[npm-version-image]: https://badgen.net/npm/v/type-is +[travis-image]: https://badgen.net/travis/jshttp/type-is/master +[travis-url]: https://travis-ci.org/jshttp/type-is diff --git a/node_modules/type-is/index.js b/node_modules/type-is/index.js new file mode 100644 index 0000000..890ad76 --- /dev/null +++ b/node_modules/type-is/index.js @@ -0,0 +1,266 @@ +/*! + * type-is + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2014-2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + * @private + */ + +var typer = require('media-typer') +var mime = require('mime-types') + +/** + * Module exports. + * @public + */ + +module.exports = typeofrequest +module.exports.is = typeis +module.exports.hasBody = hasbody +module.exports.normalize = normalize +module.exports.match = mimeMatch + +/** + * Compare a `value` content-type with `types`. + * Each `type` can be an extension like `html`, + * a special shortcut like `multipart` or `urlencoded`, + * or a mime type. + * + * If no types match, `false` is returned. + * Otherwise, the first `type` that matches is returned. + * + * @param {String} value + * @param {Array} types + * @public + */ + +function typeis (value, types_) { + var i + var types = types_ + + // remove parameters and normalize + var val = tryNormalizeType(value) + + // no type or invalid + if (!val) { + return false + } + + // support flattened arguments + if (types && !Array.isArray(types)) { + types = new Array(arguments.length - 1) + for (i = 0; i < types.length; i++) { + types[i] = arguments[i + 1] + } + } + + // no types, return the content type + if (!types || !types.length) { + return val + } + + var type + for (i = 0; i < types.length; i++) { + if (mimeMatch(normalize(type = types[i]), val)) { + return type[0] === '+' || type.indexOf('*') !== -1 + ? val + : type + } + } + + // no matches + return false +} + +/** + * Check if a request has a request body. + * A request with a body __must__ either have `transfer-encoding` + * or `content-length` headers set. + * http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.3 + * + * @param {Object} request + * @return {Boolean} + * @public + */ + +function hasbody (req) { + return req.headers['transfer-encoding'] !== undefined || + !isNaN(req.headers['content-length']) +} + +/** + * Check if the incoming request contains the "Content-Type" + * header field, and it contains any of the give mime `type`s. + * If there is no request body, `null` is returned. + * If there is no content type, `false` is returned. + * Otherwise, it returns the first `type` that matches. + * + * Examples: + * + * // With Content-Type: text/html; charset=utf-8 + * this.is('html'); // => 'html' + * this.is('text/html'); // => 'text/html' + * this.is('text/*', 'application/json'); // => 'text/html' + * + * // When Content-Type is application/json + * this.is('json', 'urlencoded'); // => 'json' + * this.is('application/json'); // => 'application/json' + * this.is('html', 'application/*'); // => 'application/json' + * + * this.is('html'); // => false + * + * @param {String|Array} types... + * @return {String|false|null} + * @public + */ + +function typeofrequest (req, types_) { + var types = types_ + + // no body + if (!hasbody(req)) { + return null + } + + // support flattened arguments + if (arguments.length > 2) { + types = new Array(arguments.length - 1) + for (var i = 0; i < types.length; i++) { + types[i] = arguments[i + 1] + } + } + + // request content type + var value = req.headers['content-type'] + + return typeis(value, types) +} + +/** + * Normalize a mime type. + * If it's a shorthand, expand it to a valid mime type. + * + * In general, you probably want: + * + * var type = is(req, ['urlencoded', 'json', 'multipart']); + * + * Then use the appropriate body parsers. + * These three are the most common request body types + * and are thus ensured to work. + * + * @param {String} type + * @private + */ + +function normalize (type) { + if (typeof type !== 'string') { + // invalid type + return false + } + + switch (type) { + case 'urlencoded': + return 'application/x-www-form-urlencoded' + case 'multipart': + return 'multipart/*' + } + + if (type[0] === '+') { + // "+json" -> "*/*+json" expando + return '*/*' + type + } + + return type.indexOf('/') === -1 + ? mime.lookup(type) + : type +} + +/** + * Check if `expected` mime type + * matches `actual` mime type with + * wildcard and +suffix support. + * + * @param {String} expected + * @param {String} actual + * @return {Boolean} + * @private + */ + +function mimeMatch (expected, actual) { + // invalid type + if (expected === false) { + return false + } + + // split types + var actualParts = actual.split('/') + var expectedParts = expected.split('/') + + // invalid format + if (actualParts.length !== 2 || expectedParts.length !== 2) { + return false + } + + // validate type + if (expectedParts[0] !== '*' && expectedParts[0] !== actualParts[0]) { + return false + } + + // validate suffix wildcard + if (expectedParts[1].substr(0, 2) === '*+') { + return expectedParts[1].length <= actualParts[1].length + 1 && + expectedParts[1].substr(1) === actualParts[1].substr(1 - expectedParts[1].length) + } + + // validate subtype + if (expectedParts[1] !== '*' && expectedParts[1] !== actualParts[1]) { + return false + } + + return true +} + +/** + * Normalize a type and remove parameters. + * + * @param {string} value + * @return {string} + * @private + */ + +function normalizeType (value) { + // parse the type + var type = typer.parse(value) + + // remove the parameters + type.parameters = undefined + + // reformat it + return typer.format(type) +} + +/** + * Try to normalize a type and remove parameters. + * + * @param {string} value + * @return {string} + * @private + */ + +function tryNormalizeType (value) { + if (!value) { + return null + } + + try { + return normalizeType(value) + } catch (err) { + return null + } +} diff --git a/node_modules/type-is/package.json b/node_modules/type-is/package.json new file mode 100644 index 0000000..97ba5f1 --- /dev/null +++ b/node_modules/type-is/package.json @@ -0,0 +1,45 @@ +{ + "name": "type-is", + "description": "Infer the content-type of a request.", + "version": "1.6.18", + "contributors": [ + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)" + ], + "license": "MIT", + "repository": "jshttp/type-is", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "devDependencies": { + "eslint": "5.16.0", + "eslint-config-standard": "12.0.0", + "eslint-plugin-import": "2.17.2", + "eslint-plugin-markdown": "1.0.0", + "eslint-plugin-node": "8.0.1", + "eslint-plugin-promise": "4.1.1", + "eslint-plugin-standard": "4.0.0", + "mocha": "6.1.4", + "nyc": "14.0.0" + }, + "engines": { + "node": ">= 0.6" + }, + "files": [ + "LICENSE", + "HISTORY.md", + "index.js" + ], + "scripts": { + "lint": "eslint --plugin markdown --ext js,md .", + "test": "mocha --reporter spec --check-leaks --bail test/", + "test-cov": "nyc --reporter=html --reporter=text npm test", + "test-travis": "nyc --reporter=text npm test" + }, + "keywords": [ + "content", + "type", + "checking" + ] +} diff --git a/node_modules/unpipe/HISTORY.md b/node_modules/unpipe/HISTORY.md new file mode 100644 index 0000000..85e0f8d --- /dev/null +++ b/node_modules/unpipe/HISTORY.md @@ -0,0 +1,4 @@ +1.0.0 / 2015-06-14 +================== + + * Initial release diff --git a/node_modules/unpipe/LICENSE b/node_modules/unpipe/LICENSE new file mode 100644 index 0000000..aed0138 --- /dev/null +++ b/node_modules/unpipe/LICENSE @@ -0,0 +1,22 @@ +(The MIT License) + +Copyright (c) 2015 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/unpipe/README.md b/node_modules/unpipe/README.md new file mode 100644 index 0000000..e536ad2 --- /dev/null +++ b/node_modules/unpipe/README.md @@ -0,0 +1,43 @@ +# unpipe + +[![NPM Version][npm-image]][npm-url] +[![NPM Downloads][downloads-image]][downloads-url] +[![Node.js Version][node-image]][node-url] +[![Build Status][travis-image]][travis-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +Unpipe a stream from all destinations. + +## Installation + +```sh +$ npm install unpipe +``` + +## API + +```js +var unpipe = require('unpipe') +``` + +### unpipe(stream) + +Unpipes all destinations from a given stream. With stream 2+, this is +equivalent to `stream.unpipe()`. When used with streams 1 style streams +(typically Node.js 0.8 and below), this module attempts to undo the +actions done in `stream.pipe(dest)`. + +## License + +[MIT](LICENSE) + +[npm-image]: https://img.shields.io/npm/v/unpipe.svg +[npm-url]: https://npmjs.org/package/unpipe +[node-image]: https://img.shields.io/node/v/unpipe.svg +[node-url]: http://nodejs.org/download/ +[travis-image]: https://img.shields.io/travis/stream-utils/unpipe.svg +[travis-url]: https://travis-ci.org/stream-utils/unpipe +[coveralls-image]: https://img.shields.io/coveralls/stream-utils/unpipe.svg +[coveralls-url]: https://coveralls.io/r/stream-utils/unpipe?branch=master +[downloads-image]: https://img.shields.io/npm/dm/unpipe.svg +[downloads-url]: https://npmjs.org/package/unpipe diff --git a/node_modules/unpipe/index.js b/node_modules/unpipe/index.js new file mode 100644 index 0000000..15c3d97 --- /dev/null +++ b/node_modules/unpipe/index.js @@ -0,0 +1,69 @@ +/*! + * unpipe + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module exports. + * @public + */ + +module.exports = unpipe + +/** + * Determine if there are Node.js pipe-like data listeners. + * @private + */ + +function hasPipeDataListeners(stream) { + var listeners = stream.listeners('data') + + for (var i = 0; i < listeners.length; i++) { + if (listeners[i].name === 'ondata') { + return true + } + } + + return false +} + +/** + * Unpipe a stream from all destinations. + * + * @param {object} stream + * @public + */ + +function unpipe(stream) { + if (!stream) { + throw new TypeError('argument stream is required') + } + + if (typeof stream.unpipe === 'function') { + // new-style + stream.unpipe() + return + } + + // Node.js 0.8 hack + if (!hasPipeDataListeners(stream)) { + return + } + + var listener + var listeners = stream.listeners('close') + + for (var i = 0; i < listeners.length; i++) { + listener = listeners[i] + + if (listener.name !== 'cleanup' && listener.name !== 'onclose') { + continue + } + + // invoke the listener + listener.call(stream) + } +} diff --git a/node_modules/unpipe/package.json b/node_modules/unpipe/package.json new file mode 100644 index 0000000..a2b7358 --- /dev/null +++ b/node_modules/unpipe/package.json @@ -0,0 +1,27 @@ +{ + "name": "unpipe", + "description": "Unpipe a stream from all destinations", + "version": "1.0.0", + "author": "Douglas Christopher Wilson ", + "license": "MIT", + "repository": "stream-utils/unpipe", + "devDependencies": { + "istanbul": "0.3.15", + "mocha": "2.2.5", + "readable-stream": "1.1.13" + }, + "files": [ + "HISTORY.md", + "LICENSE", + "README.md", + "index.js" + ], + "engines": { + "node": ">= 0.8" + }, + "scripts": { + "test": "mocha --reporter spec --bail --check-leaks test/", + "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", + "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" + } +} diff --git a/node_modules/util-deprecate/History.md b/node_modules/util-deprecate/History.md new file mode 100644 index 0000000..acc8675 --- /dev/null +++ b/node_modules/util-deprecate/History.md @@ -0,0 +1,16 @@ + +1.0.2 / 2015-10-07 +================== + + * use try/catch when checking `localStorage` (#3, @kumavis) + +1.0.1 / 2014-11-25 +================== + + * browser: use `console.warn()` for deprecation calls + * browser: more jsdocs + +1.0.0 / 2014-04-30 +================== + + * initial commit diff --git a/node_modules/util-deprecate/LICENSE b/node_modules/util-deprecate/LICENSE new file mode 100644 index 0000000..6a60e8c --- /dev/null +++ b/node_modules/util-deprecate/LICENSE @@ -0,0 +1,24 @@ +(The MIT License) + +Copyright (c) 2014 Nathan Rajlich + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/util-deprecate/README.md b/node_modules/util-deprecate/README.md new file mode 100644 index 0000000..75622fa --- /dev/null +++ b/node_modules/util-deprecate/README.md @@ -0,0 +1,53 @@ +util-deprecate +============== +### The Node.js `util.deprecate()` function with browser support + +In Node.js, this module simply re-exports the `util.deprecate()` function. + +In the web browser (i.e. via browserify), a browser-specific implementation +of the `util.deprecate()` function is used. + + +## API + +A `deprecate()` function is the only thing exposed by this module. + +``` javascript +// setup: +exports.foo = deprecate(foo, 'foo() is deprecated, use bar() instead'); + + +// users see: +foo(); +// foo() is deprecated, use bar() instead +foo(); +foo(); +``` + + +## License + +(The MIT License) + +Copyright (c) 2014 Nathan Rajlich + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/util-deprecate/browser.js b/node_modules/util-deprecate/browser.js new file mode 100644 index 0000000..549ae2f --- /dev/null +++ b/node_modules/util-deprecate/browser.js @@ -0,0 +1,67 @@ + +/** + * Module exports. + */ + +module.exports = deprecate; + +/** + * Mark that a method should not be used. + * Returns a modified function which warns once by default. + * + * If `localStorage.noDeprecation = true` is set, then it is a no-op. + * + * If `localStorage.throwDeprecation = true` is set, then deprecated functions + * will throw an Error when invoked. + * + * If `localStorage.traceDeprecation = true` is set, then deprecated functions + * will invoke `console.trace()` instead of `console.error()`. + * + * @param {Function} fn - the function to deprecate + * @param {String} msg - the string to print to the console when `fn` is invoked + * @returns {Function} a new "deprecated" version of `fn` + * @api public + */ + +function deprecate (fn, msg) { + if (config('noDeprecation')) { + return fn; + } + + var warned = false; + function deprecated() { + if (!warned) { + if (config('throwDeprecation')) { + throw new Error(msg); + } else if (config('traceDeprecation')) { + console.trace(msg); + } else { + console.warn(msg); + } + warned = true; + } + return fn.apply(this, arguments); + } + + return deprecated; +} + +/** + * Checks `localStorage` for boolean values for the given `name`. + * + * @param {String} name + * @returns {Boolean} + * @api private + */ + +function config (name) { + // accessing global.localStorage can trigger a DOMException in sandboxed iframes + try { + if (!global.localStorage) return false; + } catch (_) { + return false; + } + var val = global.localStorage[name]; + if (null == val) return false; + return String(val).toLowerCase() === 'true'; +} diff --git a/node_modules/util-deprecate/node.js b/node_modules/util-deprecate/node.js new file mode 100644 index 0000000..5e6fcff --- /dev/null +++ b/node_modules/util-deprecate/node.js @@ -0,0 +1,6 @@ + +/** + * For Node.js, simply re-export the core `util.deprecate` function. + */ + +module.exports = require('util').deprecate; diff --git a/node_modules/util-deprecate/package.json b/node_modules/util-deprecate/package.json new file mode 100644 index 0000000..2e79f89 --- /dev/null +++ b/node_modules/util-deprecate/package.json @@ -0,0 +1,27 @@ +{ + "name": "util-deprecate", + "version": "1.0.2", + "description": "The Node.js `util.deprecate()` function with browser support", + "main": "node.js", + "browser": "browser.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git://github.com/TooTallNate/util-deprecate.git" + }, + "keywords": [ + "util", + "deprecate", + "browserify", + "browser", + "node" + ], + "author": "Nathan Rajlich (http://n8.io/)", + "license": "MIT", + "bugs": { + "url": "https://github.com/TooTallNate/util-deprecate/issues" + }, + "homepage": "https://github.com/TooTallNate/util-deprecate" +} diff --git a/node_modules/utils-merge/.npmignore b/node_modules/utils-merge/.npmignore new file mode 100644 index 0000000..3e53844 --- /dev/null +++ b/node_modules/utils-merge/.npmignore @@ -0,0 +1,9 @@ +CONTRIBUTING.md +Makefile +docs/ +examples/ +reports/ +test/ + +.jshintrc +.travis.yml diff --git a/node_modules/utils-merge/LICENSE b/node_modules/utils-merge/LICENSE new file mode 100644 index 0000000..76f6d08 --- /dev/null +++ b/node_modules/utils-merge/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2013-2017 Jared Hanson + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/utils-merge/README.md b/node_modules/utils-merge/README.md new file mode 100644 index 0000000..0cb7117 --- /dev/null +++ b/node_modules/utils-merge/README.md @@ -0,0 +1,34 @@ +# utils-merge + +[![Version](https://img.shields.io/npm/v/utils-merge.svg?label=version)](https://www.npmjs.com/package/utils-merge) +[![Build](https://img.shields.io/travis/jaredhanson/utils-merge.svg)](https://travis-ci.org/jaredhanson/utils-merge) +[![Quality](https://img.shields.io/codeclimate/github/jaredhanson/utils-merge.svg?label=quality)](https://codeclimate.com/github/jaredhanson/utils-merge) +[![Coverage](https://img.shields.io/coveralls/jaredhanson/utils-merge.svg)](https://coveralls.io/r/jaredhanson/utils-merge) +[![Dependencies](https://img.shields.io/david/jaredhanson/utils-merge.svg)](https://david-dm.org/jaredhanson/utils-merge) + + +Merges the properties from a source object into a destination object. + +## Install + +```bash +$ npm install utils-merge +``` + +## Usage + +```javascript +var a = { foo: 'bar' } + , b = { bar: 'baz' }; + +merge(a, b); +// => { foo: 'bar', bar: 'baz' } +``` + +## License + +[The MIT License](http://opensource.org/licenses/MIT) + +Copyright (c) 2013-2017 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)> + + Sponsor diff --git a/node_modules/utils-merge/index.js b/node_modules/utils-merge/index.js new file mode 100644 index 0000000..4265c69 --- /dev/null +++ b/node_modules/utils-merge/index.js @@ -0,0 +1,23 @@ +/** + * Merge object b with object a. + * + * var a = { foo: 'bar' } + * , b = { bar: 'baz' }; + * + * merge(a, b); + * // => { foo: 'bar', bar: 'baz' } + * + * @param {Object} a + * @param {Object} b + * @return {Object} + * @api public + */ + +exports = module.exports = function(a, b){ + if (a && b) { + for (var key in b) { + a[key] = b[key]; + } + } + return a; +}; diff --git a/node_modules/utils-merge/package.json b/node_modules/utils-merge/package.json new file mode 100644 index 0000000..e36b078 --- /dev/null +++ b/node_modules/utils-merge/package.json @@ -0,0 +1,40 @@ +{ + "name": "utils-merge", + "version": "1.0.1", + "description": "merge() utility function", + "keywords": [ + "util" + ], + "author": { + "name": "Jared Hanson", + "email": "jaredhanson@gmail.com", + "url": "http://www.jaredhanson.net/" + }, + "repository": { + "type": "git", + "url": "git://github.com/jaredhanson/utils-merge.git" + }, + "bugs": { + "url": "http://github.com/jaredhanson/utils-merge/issues" + }, + "license": "MIT", + "licenses": [ + { + "type": "MIT", + "url": "http://opensource.org/licenses/MIT" + } + ], + "main": "./index", + "dependencies": {}, + "devDependencies": { + "make-node": "0.3.x", + "mocha": "1.x.x", + "chai": "1.x.x" + }, + "engines": { + "node": ">= 0.4.0" + }, + "scripts": { + "test": "node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js" + } +} diff --git a/node_modules/vary/HISTORY.md b/node_modules/vary/HISTORY.md new file mode 100644 index 0000000..f6cbcf7 --- /dev/null +++ b/node_modules/vary/HISTORY.md @@ -0,0 +1,39 @@ +1.1.2 / 2017-09-23 +================== + + * perf: improve header token parsing speed + +1.1.1 / 2017-03-20 +================== + + * perf: hoist regular expression + +1.1.0 / 2015-09-29 +================== + + * Only accept valid field names in the `field` argument + - Ensures the resulting string is a valid HTTP header value + +1.0.1 / 2015-07-08 +================== + + * Fix setting empty header from empty `field` + * perf: enable strict mode + * perf: remove argument reassignments + +1.0.0 / 2014-08-10 +================== + + * Accept valid `Vary` header string as `field` + * Add `vary.append` for low-level string manipulation + * Move to `jshttp` orgainzation + +0.1.0 / 2014-06-05 +================== + + * Support array of fields to set + +0.0.0 / 2014-06-04 +================== + + * Initial release diff --git a/node_modules/vary/LICENSE b/node_modules/vary/LICENSE new file mode 100644 index 0000000..84441fb --- /dev/null +++ b/node_modules/vary/LICENSE @@ -0,0 +1,22 @@ +(The MIT License) + +Copyright (c) 2014-2017 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/vary/README.md b/node_modules/vary/README.md new file mode 100644 index 0000000..cc000b3 --- /dev/null +++ b/node_modules/vary/README.md @@ -0,0 +1,101 @@ +# vary + +[![NPM Version][npm-image]][npm-url] +[![NPM Downloads][downloads-image]][downloads-url] +[![Node.js Version][node-version-image]][node-version-url] +[![Build Status][travis-image]][travis-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +Manipulate the HTTP Vary header + +## Installation + +This is a [Node.js](https://nodejs.org/en/) module available through the +[npm registry](https://www.npmjs.com/). Installation is done using the +[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): + +```sh +$ npm install vary +``` + +## API + + + +```js +var vary = require('vary') +``` + +### vary(res, field) + +Adds the given header `field` to the `Vary` response header of `res`. +This can be a string of a single field, a string of a valid `Vary` +header, or an array of multiple fields. + +This will append the header if not already listed, otherwise leaves +it listed in the current location. + + + +```js +// Append "Origin" to the Vary header of the response +vary(res, 'Origin') +``` + +### vary.append(header, field) + +Adds the given header `field` to the `Vary` response header string `header`. +This can be a string of a single field, a string of a valid `Vary` header, +or an array of multiple fields. + +This will append the header if not already listed, otherwise leaves +it listed in the current location. The new header string is returned. + + + +```js +// Get header string appending "Origin" to "Accept, User-Agent" +vary.append('Accept, User-Agent', 'Origin') +``` + +## Examples + +### Updating the Vary header when content is based on it + +```js +var http = require('http') +var vary = require('vary') + +http.createServer(function onRequest (req, res) { + // about to user-agent sniff + vary(res, 'User-Agent') + + var ua = req.headers['user-agent'] || '' + var isMobile = /mobi|android|touch|mini/i.test(ua) + + // serve site, depending on isMobile + res.setHeader('Content-Type', 'text/html') + res.end('You are (probably) ' + (isMobile ? '' : 'not ') + 'a mobile user') +}) +``` + +## Testing + +```sh +$ npm test +``` + +## License + +[MIT](LICENSE) + +[npm-image]: https://img.shields.io/npm/v/vary.svg +[npm-url]: https://npmjs.org/package/vary +[node-version-image]: https://img.shields.io/node/v/vary.svg +[node-version-url]: https://nodejs.org/en/download +[travis-image]: https://img.shields.io/travis/jshttp/vary/master.svg +[travis-url]: https://travis-ci.org/jshttp/vary +[coveralls-image]: https://img.shields.io/coveralls/jshttp/vary/master.svg +[coveralls-url]: https://coveralls.io/r/jshttp/vary +[downloads-image]: https://img.shields.io/npm/dm/vary.svg +[downloads-url]: https://npmjs.org/package/vary diff --git a/node_modules/vary/index.js b/node_modules/vary/index.js new file mode 100644 index 0000000..5b5e741 --- /dev/null +++ b/node_modules/vary/index.js @@ -0,0 +1,149 @@ +/*! + * vary + * Copyright(c) 2014-2017 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module exports. + */ + +module.exports = vary +module.exports.append = append + +/** + * RegExp to match field-name in RFC 7230 sec 3.2 + * + * field-name = token + * token = 1*tchar + * tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*" + * / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~" + * / DIGIT / ALPHA + * ; any VCHAR, except delimiters + */ + +var FIELD_NAME_REGEXP = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/ + +/** + * Append a field to a vary header. + * + * @param {String} header + * @param {String|Array} field + * @return {String} + * @public + */ + +function append (header, field) { + if (typeof header !== 'string') { + throw new TypeError('header argument is required') + } + + if (!field) { + throw new TypeError('field argument is required') + } + + // get fields array + var fields = !Array.isArray(field) + ? parse(String(field)) + : field + + // assert on invalid field names + for (var j = 0; j < fields.length; j++) { + if (!FIELD_NAME_REGEXP.test(fields[j])) { + throw new TypeError('field argument contains an invalid header name') + } + } + + // existing, unspecified vary + if (header === '*') { + return header + } + + // enumerate current values + var val = header + var vals = parse(header.toLowerCase()) + + // unspecified vary + if (fields.indexOf('*') !== -1 || vals.indexOf('*') !== -1) { + return '*' + } + + for (var i = 0; i < fields.length; i++) { + var fld = fields[i].toLowerCase() + + // append value (case-preserving) + if (vals.indexOf(fld) === -1) { + vals.push(fld) + val = val + ? val + ', ' + fields[i] + : fields[i] + } + } + + return val +} + +/** + * Parse a vary header into an array. + * + * @param {String} header + * @return {Array} + * @private + */ + +function parse (header) { + var end = 0 + var list = [] + var start = 0 + + // gather tokens + for (var i = 0, len = header.length; i < len; i++) { + switch (header.charCodeAt(i)) { + case 0x20: /* */ + if (start === end) { + start = end = i + 1 + } + break + case 0x2c: /* , */ + list.push(header.substring(start, end)) + start = end = i + 1 + break + default: + end = i + 1 + break + } + } + + // final token + list.push(header.substring(start, end)) + + return list +} + +/** + * Mark that a request is varied on a header field. + * + * @param {Object} res + * @param {String|Array} field + * @public + */ + +function vary (res, field) { + if (!res || !res.getHeader || !res.setHeader) { + // quack quack + throw new TypeError('res argument is required') + } + + // get existing header + var val = res.getHeader('Vary') || '' + var header = Array.isArray(val) + ? val.join(', ') + : String(val) + + // set new header + if ((val = append(header, field))) { + res.setHeader('Vary', val) + } +} diff --git a/node_modules/vary/package.json b/node_modules/vary/package.json new file mode 100644 index 0000000..028f72a --- /dev/null +++ b/node_modules/vary/package.json @@ -0,0 +1,43 @@ +{ + "name": "vary", + "description": "Manipulate the HTTP Vary header", + "version": "1.1.2", + "author": "Douglas Christopher Wilson ", + "license": "MIT", + "keywords": [ + "http", + "res", + "vary" + ], + "repository": "jshttp/vary", + "devDependencies": { + "beautify-benchmark": "0.2.4", + "benchmark": "2.1.4", + "eslint": "3.19.0", + "eslint-config-standard": "10.2.1", + "eslint-plugin-import": "2.7.0", + "eslint-plugin-markdown": "1.0.0-beta.6", + "eslint-plugin-node": "5.1.1", + "eslint-plugin-promise": "3.5.0", + "eslint-plugin-standard": "3.0.1", + "istanbul": "0.4.5", + "mocha": "2.5.3", + "supertest": "1.1.0" + }, + "files": [ + "HISTORY.md", + "LICENSE", + "README.md", + "index.js" + ], + "engines": { + "node": ">= 0.8" + }, + "scripts": { + "bench": "node benchmark/index.js", + "lint": "eslint --plugin markdown --ext js,md .", + "test": "mocha --reporter spec --bail --check-leaks test/", + "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", + "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" + } +} diff --git a/node_modules/which/CHANGELOG.md b/node_modules/which/CHANGELOG.md new file mode 100644 index 0000000..3d83d26 --- /dev/null +++ b/node_modules/which/CHANGELOG.md @@ -0,0 +1,152 @@ +# Changes + + +## 1.3.1 + +* update deps +* update travis + +## v1.3.0 + +* Add nothrow option to which.sync +* update tap + +## v1.2.14 + +* appveyor: drop node 5 and 0.x +* travis-ci: add node 6, drop 0.x + +## v1.2.13 + +* test: Pass missing option to pass on windows +* update tap +* update isexe to 2.0.0 +* neveragain.tech pledge request + +## v1.2.12 + +* Removed unused require + +## v1.2.11 + +* Prevent changelog script from being included in package + +## v1.2.10 + +* Use env.PATH only, not env.Path + +## v1.2.9 + +* fix for paths starting with ../ +* Remove unused `is-absolute` module + +## v1.2.8 + +* bullet items in changelog that contain (but don't start with) # + +## v1.2.7 + +* strip 'update changelog' changelog entries out of changelog + +## v1.2.6 + +* make the changelog bulleted + +## v1.2.5 + +* make a changelog, and keep it up to date +* don't include tests in package +* Properly handle relative-path executables +* appveyor +* Attach error code to Not Found error +* Make tests pass on Windows + +## v1.2.4 + +* Fix typo + +## v1.2.3 + +* update isexe, fix regression in pathExt handling + +## v1.2.2 + +* update deps, use isexe module, test windows + +## v1.2.1 + +* Sometimes windows PATH entries are quoted +* Fixed a bug in the check for group and user mode bits. This bug was introduced during refactoring for supporting strict mode. +* doc cli + +## v1.2.0 + +* Add support for opt.all and -as cli flags +* test the bin +* update travis +* Allow checking for multiple programs in bin/which +* tap 2 + +## v1.1.2 + +* travis +* Refactored and fixed undefined error on Windows +* Support strict mode + +## v1.1.1 + +* test +g exes against secondary groups, if available +* Use windows exe semantics on cygwin & msys +* cwd should be first in path on win32, not last +* Handle lower-case 'env.Path' on Windows +* Update docs +* use single-quotes + +## v1.1.0 + +* Add tests, depend on is-absolute + +## v1.0.9 + +* which.js: root is allowed to execute files owned by anyone + +## v1.0.8 + +* don't use graceful-fs + +## v1.0.7 + +* add license to package.json + +## v1.0.6 + +* isc license + +## 1.0.5 + +* Awful typo + +## 1.0.4 + +* Test for path absoluteness properly +* win: Allow '' as a pathext if cmd has a . in it + +## 1.0.3 + +* Remove references to execPath +* Make `which.sync()` work on Windows by honoring the PATHEXT variable. +* Make `isExe()` always return true on Windows. +* MIT + +## 1.0.2 + +* Only files can be exes + +## 1.0.1 + +* Respect the PATHEXT env for win32 support +* should 0755 the bin +* binary +* guts +* package +* 1st diff --git a/node_modules/which/LICENSE b/node_modules/which/LICENSE new file mode 100644 index 0000000..19129e3 --- /dev/null +++ b/node_modules/which/LICENSE @@ -0,0 +1,15 @@ +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/node_modules/which/README.md b/node_modules/which/README.md new file mode 100644 index 0000000..8c0b0cb --- /dev/null +++ b/node_modules/which/README.md @@ -0,0 +1,51 @@ +# which + +Like the unix `which` utility. + +Finds the first instance of a specified executable in the PATH +environment variable. Does not cache the results, so `hash -r` is not +needed when the PATH changes. + +## USAGE + +```javascript +var which = require('which') + +// async usage +which('node', function (er, resolvedPath) { + // er is returned if no "node" is found on the PATH + // if it is found, then the absolute path to the exec is returned +}) + +// sync usage +// throws if not found +var resolved = which.sync('node') + +// if nothrow option is used, returns null if not found +resolved = which.sync('node', {nothrow: true}) + +// Pass options to override the PATH and PATHEXT environment vars. +which('node', { path: someOtherPath }, function (er, resolved) { + if (er) + throw er + console.log('found at %j', resolved) +}) +``` + +## CLI USAGE + +Same as the BSD `which(1)` binary. + +``` +usage: which [-as] program ... +``` + +## OPTIONS + +You may pass an options object as the second argument. + +- `path`: Use instead of the `PATH` environment variable. +- `pathExt`: Use instead of the `PATHEXT` environment variable. +- `all`: Return all matches, instead of just the first one. Note that + this means the function returns an array of strings instead of a + single string. diff --git a/node_modules/which/bin/which b/node_modules/which/bin/which new file mode 100644 index 0000000..7cee372 --- /dev/null +++ b/node_modules/which/bin/which @@ -0,0 +1,52 @@ +#!/usr/bin/env node +var which = require("../") +if (process.argv.length < 3) + usage() + +function usage () { + console.error('usage: which [-as] program ...') + process.exit(1) +} + +var all = false +var silent = false +var dashdash = false +var args = process.argv.slice(2).filter(function (arg) { + if (dashdash || !/^-/.test(arg)) + return true + + if (arg === '--') { + dashdash = true + return false + } + + var flags = arg.substr(1).split('') + for (var f = 0; f < flags.length; f++) { + var flag = flags[f] + switch (flag) { + case 's': + silent = true + break + case 'a': + all = true + break + default: + console.error('which: illegal option -- ' + flag) + usage() + } + } + return false +}) + +process.exit(args.reduce(function (pv, current) { + try { + var f = which.sync(current, { all: all }) + if (all) + f = f.join('\n') + if (!silent) + console.log(f) + return pv; + } catch (e) { + return 1; + } +}, 0)) diff --git a/node_modules/which/package.json b/node_modules/which/package.json new file mode 100644 index 0000000..51be376 --- /dev/null +++ b/node_modules/which/package.json @@ -0,0 +1,30 @@ +{ + "author": "Isaac Z. Schlueter (http://blog.izs.me)", + "name": "which", + "description": "Like which(1) unix command. Find the first instance of an executable in the PATH.", + "version": "1.3.1", + "repository": { + "type": "git", + "url": "git://github.com/isaacs/node-which.git" + }, + "main": "which.js", + "bin": "./bin/which", + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "devDependencies": { + "mkdirp": "^0.5.0", + "rimraf": "^2.6.2", + "tap": "^12.0.1" + }, + "scripts": { + "test": "tap test/*.js --cov", + "changelog": "bash gen-changelog.sh", + "postversion": "npm run changelog && git add CHANGELOG.md && git commit -m 'update changelog - '${npm_package_version}" + }, + "files": [ + "which.js", + "bin/which" + ] +} diff --git a/node_modules/which/which.js b/node_modules/which/which.js new file mode 100644 index 0000000..4347f91 --- /dev/null +++ b/node_modules/which/which.js @@ -0,0 +1,135 @@ +module.exports = which +which.sync = whichSync + +var isWindows = process.platform === 'win32' || + process.env.OSTYPE === 'cygwin' || + process.env.OSTYPE === 'msys' + +var path = require('path') +var COLON = isWindows ? ';' : ':' +var isexe = require('isexe') + +function getNotFoundError (cmd) { + var er = new Error('not found: ' + cmd) + er.code = 'ENOENT' + + return er +} + +function getPathInfo (cmd, opt) { + var colon = opt.colon || COLON + var pathEnv = opt.path || process.env.PATH || '' + var pathExt = [''] + + pathEnv = pathEnv.split(colon) + + var pathExtExe = '' + if (isWindows) { + pathEnv.unshift(process.cwd()) + pathExtExe = (opt.pathExt || process.env.PATHEXT || '.EXE;.CMD;.BAT;.COM') + pathExt = pathExtExe.split(colon) + + + // Always test the cmd itself first. isexe will check to make sure + // it's found in the pathExt set. + if (cmd.indexOf('.') !== -1 && pathExt[0] !== '') + pathExt.unshift('') + } + + // If it has a slash, then we don't bother searching the pathenv. + // just check the file itself, and that's it. + if (cmd.match(/\//) || isWindows && cmd.match(/\\/)) + pathEnv = [''] + + return { + env: pathEnv, + ext: pathExt, + extExe: pathExtExe + } +} + +function which (cmd, opt, cb) { + if (typeof opt === 'function') { + cb = opt + opt = {} + } + + var info = getPathInfo(cmd, opt) + var pathEnv = info.env + var pathExt = info.ext + var pathExtExe = info.extExe + var found = [] + + ;(function F (i, l) { + if (i === l) { + if (opt.all && found.length) + return cb(null, found) + else + return cb(getNotFoundError(cmd)) + } + + var pathPart = pathEnv[i] + if (pathPart.charAt(0) === '"' && pathPart.slice(-1) === '"') + pathPart = pathPart.slice(1, -1) + + var p = path.join(pathPart, cmd) + if (!pathPart && (/^\.[\\\/]/).test(cmd)) { + p = cmd.slice(0, 2) + p + } + ;(function E (ii, ll) { + if (ii === ll) return F(i + 1, l) + var ext = pathExt[ii] + isexe(p + ext, { pathExt: pathExtExe }, function (er, is) { + if (!er && is) { + if (opt.all) + found.push(p + ext) + else + return cb(null, p + ext) + } + return E(ii + 1, ll) + }) + })(0, pathExt.length) + })(0, pathEnv.length) +} + +function whichSync (cmd, opt) { + opt = opt || {} + + var info = getPathInfo(cmd, opt) + var pathEnv = info.env + var pathExt = info.ext + var pathExtExe = info.extExe + var found = [] + + for (var i = 0, l = pathEnv.length; i < l; i ++) { + var pathPart = pathEnv[i] + if (pathPart.charAt(0) === '"' && pathPart.slice(-1) === '"') + pathPart = pathPart.slice(1, -1) + + var p = path.join(pathPart, cmd) + if (!pathPart && /^\.[\\\/]/.test(cmd)) { + p = cmd.slice(0, 2) + p + } + for (var j = 0, ll = pathExt.length; j < ll; j ++) { + var cur = p + pathExt[j] + var is + try { + is = isexe.sync(cur, { pathExt: pathExtExe }) + if (is) { + if (opt.all) + found.push(cur) + else + return cur + } + } catch (ex) {} + } + } + + if (opt.all && found.length) + return found + + if (opt.nothrow) + return null + + throw getNotFoundError(cmd) +} diff --git a/node_modules/winston-daily-rotate-file/LICENSE b/node_modules/winston-daily-rotate-file/LICENSE new file mode 100644 index 0000000..b2bfaae --- /dev/null +++ b/node_modules/winston-daily-rotate-file/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2015-2024 winstonjs + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/node_modules/winston-daily-rotate-file/README.md b/node_modules/winston-daily-rotate-file/README.md new file mode 100644 index 0000000..fd5b69a --- /dev/null +++ b/node_modules/winston-daily-rotate-file/README.md @@ -0,0 +1,206 @@ +# winston-daily-rotate-file + +[![NPM version][npm-image]][npm-url] + +[![NPM](https://nodei.co/npm/winston-daily-rotate-file.png)](https://nodei.co/npm/winston-daily-rotate-file/) + +A transport for [winston](https://github.com/winstonjs/winston) which logs to a rotating file. Logs can be rotated based on a date, size limit, and old logs can be removed based on count or elapsed days. + +Starting with version 2.0.0, the transport has been refactored to leverage the [file-stream-rotator](https://github.com/rogerc/file-stream-rotator/) module. _Some of the options in the 1.x versions of the transport have changed._ Please review the options below to identify any changes needed. + +## Compatibility +Please note that if you are using `winston@2`, you will need to use `winston-daily-rotate-file@3`. `winston-daily-rotate-file@4` removed support for `winston@2`. + +Starting with version 5.0.0 this module also emits an "error" event for all low level filesystem error cases. Make sure to listen for this event to prevent crashes in your application. + +This library should work starting with Node.js 8.x, but tests are only executed for Node.js 14+. Use on your own risk in lower Node.js versions. + +## Install +``` +npm install winston-daily-rotate-file +``` + +## Options +The DailyRotateFile transport can rotate files by minute, hour, day, month, year or weekday. In addition to the options accepted by the logger, `winston-daily-rotate-file` also accepts the following options: + +* **frequency:** A string representing the frequency of rotation. This is useful if you want to have timed rotations, as opposed to rotations that happen at specific moments in time. Valid values are '#m' or '#h' (e.g., '5m' or '3h'). Leaving this null relies on `datePattern` for the rotation times. (default: null) +* **datePattern:** A string representing the [moment.js date format](http://momentjs.com/docs/#/displaying/format/) to be used for rotating. The meta characters used in this string will dictate the frequency of the file rotation. For example, if your datePattern is simply 'HH' you will end up with 24 log files that are picked up and appended to every day. (default: 'YYYY-MM-DD') +* **zippedArchive:** A boolean to define whether or not to gzip archived log files. (default: 'false') +* **filename:** Filename to be used to log to. This filename can include the `%DATE%` placeholder which will include the formatted datePattern at that point in the filename. (default: 'winston.log.%DATE%') +* **dirname:** The directory name to save log files to. (default: '.') +* **stream:** Write directly to a custom stream and bypass the rotation capabilities. (default: null) +* **maxSize:** Maximum size of the file after which it will rotate. This can be a number of bytes, or units of kb, mb, and gb. If using the units, add 'k', 'm', or 'g' as the suffix. The units need to directly follow the number. (default: null) +* **maxFiles:** Maximum number of logs to keep. If not set, no logs will be removed. This can be a number of files or number of days. If using days, add 'd' as the suffix. It uses auditFile to keep track of the log files in a json format. It won't delete any file not contained in it. It can be a number of files or number of days (default: null) +* **options:** An object resembling https://nodejs.org/api/fs.html#fs_fs_createwritestream_path_options indicating additional options that should be passed to the file stream. (default: `{ flags: 'a' }`) +* **auditFile**: A string representing the path of the audit file, passed directly to [file-stream-rotator](https://github.com/rogerc/file-stream-rotator/) as `audit_file`. If not specified, a file name is generated that includes a hash computed from the options object, and uses the `dirname` option value as the directory. (default: `/.-audit.json`) +* **utc**: Use UTC time for date in filename. (default: false) +* **extension**: File extension to be appended to the filename. (default: '') +* **createSymlink**: Create a tailable symlink to the current active log file. (default: false) +* **symlinkName**: The name of the tailable symlink. (default: 'current.log') +* **auditHashType**: Use specified hashing algorithm for audit. (default: 'sha256') +* **level**: Name of the logging level that will be used for the transport, if not specified option from `createLogger` method will be used + +## Usage +``` js + var winston = require('winston'); + require('winston-daily-rotate-file'); + + var transport = new winston.transports.DailyRotateFile({ + level: 'info', + filename: 'application-%DATE%.log', + datePattern: 'YYYY-MM-DD-HH', + zippedArchive: true, + maxSize: '20m', + maxFiles: '14d' + }); + + transport.on('error', error => { + // log or handle errors here + }); + + transport.on('rotate', (oldFilename, newFilename) => { + // do something fun + }); + + var logger = winston.createLogger({ + transports: [ + transport + ] + }); + + logger.info('Hello World!'); + +``` +using multiple transports +``` js + var winston = require('winston'); + require('winston-daily-rotate-file'); + + var transport1 = new winston.transports.DailyRotateFile({ + filename: 'application-%DATE%.log', + datePattern: 'YYYY-MM-DD-HH', + zippedArchive: true, + maxSize: '20m', + maxFiles: '14d' + }); + + var transport2 = new winston.transports.DailyRotateFile({ + level: 'error', + filename: 'application-error-%DATE%.log', + datePattern: 'YYYY-MM-DD-HH', + zippedArchive: true, + maxSize: '20m', + maxFiles: '14d' + }); + + transport1.on('error', error => { + // log or handle errors here + }); + + transport2.on('error', error => { + // log or handle errors here + }); + + transport1.on('rotate', function(oldFilename, newFilename) { + // do something fun + }); + + transport2.on('rotate', function(oldFilename, newFilename) { + // do something fun + }); + + var logger = winston.createLogger({ + level: 'info' + transports: [ + transport1, // will be used on info level + transport2 // will be used on error level + ] + }); + + logger.info('Hello World!'); + logger.error('Hello Error!'); + +``` + +### ES6 + +``` js +import * as winston from 'winston'; +import 'winston-daily-rotate-file'; + + +const transport = new winston.transports.DailyRotateFile({ + filename: 'application-%DATE%.log', + datePattern: 'YYYY-MM-DD-HH', + zippedArchive: true, + maxSize: '20m', + maxFiles: '14d' +}); + +transport.on('error', error => { + // log or handle errors here +}); + +transport.on('rotate', (oldFilename, newFilename) => { + // do something fun +}); + +const logger = winston.createLogger({ + transports: [ + transport + ] +}); + +logger.info('Hello World!'); +``` + +### Typescript + +``` typescript + +import * as winston from 'winston'; +import DailyRotateFile from 'winston-daily-rotate-file'; + +const transport: DailyRotateFile = new DailyRotateFile({ + filename: 'application-%DATE%.log', + datePattern: 'YYYY-MM-DD-HH', + zippedArchive: true, + maxSize: '20m', + maxFiles: '14d' +}); + +transport.on('error', error => { + // log or handle errors here +}); + + +transport.on('rotate', (oldFilename, newFilename) => { + // do something fun +}); + +const logger = winston.createLogger({ + transports: [ + transport + ] +}); + +logger.info('Hello World!'); +``` + + +This transport emits the following custom events: + +* **new**: fired when a new log file is created. This event will pass one parameter to the callback (*newFilename*). +* **rotate**: fired when the log file is rotated. This event will pass two parameters to the callback (*oldFilename*, *newFilename*). +* **archive**: fired when the log file is archived. This event will pass one parameter to the callback (*zipFilename*). +* **logRemoved**: fired when a log file is removed from the file system. This event will pass one parameter to the callback (*removedFilename*). +* * **error**: fired when a low level filesystem error happens (e.g. EACCESS) + +## LICENSE +MIT + +##### AUTHOR: [Charlie Robbins](https://github.com/indexzero) +##### MAINTAINER: [Matt Berther](https://github.com/mattberther) + +[npm-image]: https://badge.fury.io/js/winston-daily-rotate-file.svg +[npm-url]: https://npmjs.org/package/winston-daily-rotate-file diff --git a/node_modules/winston-daily-rotate-file/daily-rotate-file.js b/node_modules/winston-daily-rotate-file/daily-rotate-file.js new file mode 100644 index 0000000..0d31341 --- /dev/null +++ b/node_modules/winston-daily-rotate-file/daily-rotate-file.js @@ -0,0 +1,368 @@ +const fs = require("fs"); +const os = require("os"); +const path = require("path"); +const util = require("util"); +const zlib = require("zlib"); +const hash = require("object-hash"); +const MESSAGE = require("triple-beam").MESSAGE; +const PassThrough = require("stream").PassThrough; +const Transport = require("winston-transport"); + +const loggerDefaults = { + json: false, + colorize: false, + eol: os.EOL, + logstash: null, + prettyPrint: false, + label: null, + stringify: false, + depth: null, + showLevel: true, + timestamp: () => { + return new Date().toISOString(); + } +}; + +const DailyRotateFile = function(options) { + options = options || {}; + Transport.call(this, options); + + function throwIf(target /* , illegal... */) { + Array.prototype.slice.call(arguments, 1).forEach((name) => { + if (options[name]) { + throw new Error("Cannot set " + name + " and " + target + " together"); + } + }); + } + + function getMaxSize(size) { + if (size && typeof size === "string") { + if (size.toLowerCase().match(/^((?:0\.)?\d+)([kmg])$/)) { + return size; + } + } else if (size && Number.isInteger(size)) { + const sizeK = Math.round(size / 1024); + return sizeK === 0 ? "1k" : sizeK + "k"; + } + + return null; + } + + function isValidFileName(filename) { + // eslint-disable-next-line no-control-regex + return !/["<>|:*?\\/\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f]/g.test( + filename + ); + } + + function isValidDirName(dirname) { + // eslint-disable-next-line no-control-regex + return !/["<>|\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f]/g.test( + dirname + ); + } + + this.options = Object.assign({}, loggerDefaults, options); + + if (options.stream) { + throwIf("stream", "filename", "maxsize"); + this.logStream = new PassThrough(); + this.logStream.pipe(options.stream); + } else { + this.filename = options.filename + ? path.basename(options.filename) + : "winston.log"; + this.dirname = options.dirname || path.dirname(options.filename); + + if (!isValidFileName(this.filename) || !isValidDirName(this.dirname)) { + throw new Error("Your path or filename contain an invalid character."); + } + + this.logStream = require("file-stream-rotator").getStream({ + filename: path.join(this.dirname, this.filename), + frequency: options.frequency ? options.frequency : "custom", + date_format: options.datePattern ? options.datePattern : "YYYY-MM-DD", + verbose: false, + size: getMaxSize(options.maxSize), + max_logs: options.maxFiles, + end_stream: true, + audit_file: options.auditFile + ? options.auditFile + : path.join(this.dirname, "." + hash(options) + "-audit.json"), + file_options: options.options ? options.options : { flags: "a" }, + utc: options.utc ? options.utc : false, + extension: options.extension ? options.extension : "", + create_symlink: options.createSymlink ? options.createSymlink : false, + symlink_name: options.symlinkName ? options.symlinkName : "current.log", + watch_log: options.watchLog ? options.watchLog : false, + audit_hash_type: options.auditHashType ? options.auditHashType : "sha256" + }); + + this.logStream.on("new", (newFile) => { + this.emit("new", newFile); + }); + + this.logStream.on("rotate", (oldFile, newFile) => { + this.emit("rotate", oldFile, newFile); + }); + + this.logStream.on("logRemoved", (params) => { + if (options.zippedArchive) { + const gzName = params.name + ".gz"; + try { + fs.unlinkSync(gzName); + } catch (err) { + // ENOENT is okay, means file doesn't exist, other errors prevent deletion, so report it + if (err.code !== "ENOENT") { + err.message = `Error occurred while removing ${gzName}: ${err.message}`; + this.emit("error", err); + return; + } + } + this.emit("logRemoved", gzName); + return; + } + this.emit("logRemoved", params.name); + }); + + if (options.zippedArchive) { + this.logStream.on("rotate", (oldFile) => { + try { + if (!fs.existsSync(oldFile)) { + return; + } + } catch (err) { + err.message = `Error occurred while checking existence of ${oldFile}: ${err.message}`; + this.emit("error", err); + return; + } + try { + if (fs.existsSync(`${oldFile}.gz`)) { + return; + } + } catch (err) { + err.message = `Error occurred while checking existence of ${oldFile}.gz: ${err.message}`; + this.emit("error", err); + return; + } + + const gzip = zlib.createGzip(); + const inp = fs.createReadStream(oldFile); + inp.on("error", (err) => { + err.message = `Error occurred while reading ${oldFile}: ${err.message}`; + this.emit("error", err); + }); + const out = fs.createWriteStream(oldFile + ".gz"); + out.on("error", (err) => { + err.message = `Error occurred while writing ${oldFile}.gz: ${err.message}`; + this.emit("error", err); + }); + inp + .pipe(gzip) + .pipe(out) + .on("finish", () => { + try { + fs.unlinkSync(oldFile); + } catch (err) { + if (err.code !== "ENOENT") { + err.message = `Error occurred while removing ${oldFile}: ${err.message}`; + this.emit("error", err); + return; + } + } + this.emit("archive", oldFile + ".gz"); + }); + }); + } + + if (options.watchLog) { + this.logStream.on("addWatcher", (newFile) => { + this.emit("addWatcher", newFile); + }); + } + } +}; + +module.exports = DailyRotateFile; + +util.inherits(DailyRotateFile, Transport); + +DailyRotateFile.prototype.name = "dailyRotateFile"; + +const noop = function() {}; +DailyRotateFile.prototype.log = function (info, callback) { + callback = callback || noop; + + this.logStream.write(info[MESSAGE] + this.options.eol); + this.emit("logged", info); + callback(null, true); +}; + +DailyRotateFile.prototype.close = function () { + if (this.logStream) { + this.logStream.end(() => { + this.emit("finish"); + }); + } +}; + +DailyRotateFile.prototype.query = function (options, callback) { + if (typeof options === "function") { + callback = options; + options = {}; + } + + if (!this.options.json) { + throw new Error( + "query() may not be used without the json option being set to true" + ); + } + + if (!this.filename) { + throw new Error("query() may not be used when initializing with a stream"); + } + + let results = []; + options = options || {}; + + // limit + options.rows = options.rows || options.limit || 10; + + // starting row offset + options.start = options.start || 0; + + // now + options.until = options.until || new Date(); + if (typeof options.until !== "object") { + options.until = new Date(options.until); + } + + // now - 24 + options.from = options.from || options.until - 24 * 60 * 60 * 1000; + if (typeof options.from !== "object") { + options.from = new Date(options.from); + } + + // 'asc' or 'desc' + options.order = options.order || "desc"; + + const logFiles = (() => { + const fileRegex = new RegExp(this.filename.replace("%DATE%", ".*"), "i"); + return fs.readdirSync(this.dirname).filter((file) => path.basename(file).match(fileRegex)); + })(); + + if (logFiles.length === 0 && callback) { + callback(null, results); + } + + const processLogFile = (file) => { + if (!file) { + return; + } + + const logFile = path.join(this.dirname, file); + let buff = ""; + + let stream; + + if (file.endsWith(".gz")) { + stream = new PassThrough(); + const inp = fs.createReadStream(logFile); + inp.on("error", (err) => { + err.message = `Error occurred while reading ${logFile}: ${err.message}`; + stream.emit("error", err); + }); + inp.pipe(zlib.createGunzip()).pipe(stream); + } else { + stream = fs.createReadStream(logFile, { + encoding: "utf8", + }); + } + + stream.on("error", (err) => { + if (stream.readable) { + stream.destroy(); + } + + if (!callback) { + return; + } + + return err.code === "ENOENT" ? callback(null, results) : callback(err); + }); + + stream.on("data", (data) => { + data = (buff + data).split(/\n+/); + const l = data.length - 1; + + for (let i = 0; i < l; i++) { + add(data[i]); + } + + buff = data[l]; + }); + + stream.on("end", () => { + if (buff) { + add(buff, true); + } + + if (logFiles.length) { + processLogFile(logFiles.shift()); + } else if (callback) { + results.sort( (a, b) => { + const d1 = new Date(a.timestamp).getTime(); + const d2 = new Date(b.timestamp).getTime(); + + return d1 > d2 ? 1 : d1 < d2 ? -1 : 0; + }); + + if (options.order === "desc") { + results = results.reverse(); + } + + const start = options.start || 0; + const limit = options.limit || results.length; + + results = results.slice(start, start + limit); + + if (options.fields) { + results = results.map( (log) => { + const obj = {}; + options.fields.forEach( (key) => { + obj[key] = log[key]; + }); + return obj; + }); + } + + callback(null, results); + } + }); + + function add(buff, attempt) { + try { + const log = JSON.parse(buff); + if (!log || typeof log !== "object") { + return; + } + + const time = new Date(log.timestamp); + if ( + (options.from && time < options.from) || + (options.until && time > options.until) || + (options.level && options.level !== log.level) + ) { + return; + } + + results.push(log); + } catch (e) { + if (!attempt) { + stream.emit("error", e); + } + } + } + }; + processLogFile(logFiles.shift()); +}; diff --git a/node_modules/winston-daily-rotate-file/index.d.ts b/node_modules/winston-daily-rotate-file/index.d.ts new file mode 100644 index 0000000..e5150d6 --- /dev/null +++ b/node_modules/winston-daily-rotate-file/index.d.ts @@ -0,0 +1,120 @@ +import TransportStream = require("winston-transport"); + +// referenced from https://stackoverflow.com/questions/40510611/typescript-interface-require-one-of-two-properties-to-exist +type RequireOnlyOne = + Pick> + & { + [K in Keys]-?: + Pick + & Partial, undefined>> + }[Keys]; + +// merging into winston.transports +declare module 'winston/lib/winston/transports' { + interface Transports { + DailyRotateFile: typeof DailyRotateFile; + DailyRotateFileTransportOptions: DailyRotateFile.DailyRotateFileTransportOptions; + } +} + +declare namespace DailyRotateFile { + type DailyRotateFileTransportOptions = RequireOnlyOne; + + interface GeneralDailyRotateFileTransportOptions extends TransportStream.TransportStreamOptions { + json?: boolean; + eol?: string; + + /** + * A string representing the moment.js date format to be used for rotating. The meta characters used in this string will dictate the frequency of the file rotation. For example, if your datePattern is simply 'HH' you will end up with 24 log files that are picked up and appended to every day. (default 'YYYY-MM-DD') + */ + datePattern?: string; + + /** + * A boolean to define whether or not to gzip archived log files. (default 'false') + */ + zippedArchive?: boolean; + + /** + * Filename to be used to log to. This filename can include the %DATE% placeholder which will include the formatted datePattern at that point in the filename. (default: 'winston.log.%DATE%) + */ + filename?: string; + + /** + * The directory name to save log files to. (default: '.') + */ + dirname?: string; + + /** + * Write directly to a custom stream and bypass the rotation capabilities. (default: null) + */ + stream?: NodeJS.WritableStream; + + /** + * Maximum size of the file after which it will rotate. This can be a number of bytes, or units of kb, mb, and gb. If using the units, add 'k', 'm', or 'g' as the suffix. The units need to directly follow the number. (default: null) + */ + maxSize?: string | number; + + /** + * Maximum number of logs to keep. If not set, no logs will be removed. This can be a number of files or number of days. If using days, add 'd' as the suffix. (default: null) + */ + maxFiles?: string | number; + + /** + * An object resembling https://nodejs.org/api/fs.html#fs_fs_createwritestream_path_options indicating additional options that should be passed to the file stream. (default: `{ flags: 'a' }`) + */ + options?: string | object; + + /** + * A string representing the name of the audit file. (default: './hash-audit.json') + */ + auditFile?: string; + + /** + * A string representing the frequency of rotation. (default: 'custom') + */ + frequency?: string; + + /** + * A boolean whether or not to generate file name from "datePattern" in UTC format. (default: false) + */ + utc?: boolean; + + /** + * A string representing an extension to be added to the filename, if not included in the filename property. (default: '') + */ + extension?: string; + + /** + * Create a tailable symlink to the current active log file. (default: false) + */ + createSymlink?: boolean; + + /** + * The name of the tailable symlink. (default: 'current.log') + */ + symlinkName?: string; + + /** + * Watch the current file being written to and recreate it in case of accidental deletion. (default: FALSE) + */ + watchLog?: boolean; + + handleRejections?: boolean; + + /** + * Use specified hashing algorithm for audit. (default: 'sha256') + */ + auditHashType?: string; + } +} + +declare class DailyRotateFile extends TransportStream { + filename: string; + dirname: string; + logStream: NodeJS.WritableStream; + options: DailyRotateFile.DailyRotateFileTransportOptions; + + constructor(options?: DailyRotateFile.DailyRotateFileTransportOptions); +} + +export = DailyRotateFile; diff --git a/node_modules/winston-daily-rotate-file/index.js b/node_modules/winston-daily-rotate-file/index.js new file mode 100644 index 0000000..ee6dee9 --- /dev/null +++ b/node_modules/winston-daily-rotate-file/index.js @@ -0,0 +1,5 @@ +const winston = require("winston"); +const DailyRotateFile = require("./daily-rotate-file"); + +winston.transports.DailyRotateFile = DailyRotateFile; +module.exports = DailyRotateFile; diff --git a/node_modules/winston-daily-rotate-file/package.json b/node_modules/winston-daily-rotate-file/package.json new file mode 100644 index 0000000..88584d5 --- /dev/null +++ b/node_modules/winston-daily-rotate-file/package.json @@ -0,0 +1,54 @@ +{ + "name": "winston-daily-rotate-file", + "version": "5.0.0", + "description": "A transport for winston which logs to a rotating file each day.", + "main": "index.js", + "types": "index.d.ts", + "engines": { + "node": ">=8" + }, + "scripts": { + "test": "mocha --ignore **/*.worker.js && eslint .", + "release": "release-script" + }, + "repository": { + "type": "git", + "url": "git@github.com:winstonjs/winston-daily-rotate-file.git" + }, + "keywords": [ + "winston", + "daily-rotate-file", + "log-rotate", + "logrotate" + ], + "author": "Charlie Robbins ", + "license": "MIT", + "bugs": { + "url": "https://github.com/winstonjs/winston-daily-rotate-file/issues" + }, + "files": [ + "daily-rotate-file.js", + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/winstonjs/winston-daily-rotate-file#readme", + "peerDependencies": { + "winston": "^3" + }, + "devDependencies": { + "@alcalzone/release-script": "^3.7.0", + "@alcalzone/release-script-plugin-license": "^3.7.0", + "chai": "^4.4.1", + "eslint": "^8.56.0", + "eslint-plugin-node": "^11.1.0", + "mocha": "^10.2.0", + "rimraf": "^5.0.5", + "threads": "^1.7.0" + }, + "dependencies": { + "file-stream-rotator": "^0.6.1", + "object-hash": "^3.0.0", + "triple-beam": "^1.4.1", + "winston-transport": "^4.7.0" + } +} diff --git a/node_modules/winston-transport/.babelrc b/node_modules/winston-transport/.babelrc new file mode 100644 index 0000000..002b4aa --- /dev/null +++ b/node_modules/winston-transport/.babelrc @@ -0,0 +1,3 @@ +{ + "presets": ["env"] +} diff --git a/node_modules/winston-transport/.eslintrc b/node_modules/winston-transport/.eslintrc new file mode 100644 index 0000000..a73255e --- /dev/null +++ b/node_modules/winston-transport/.eslintrc @@ -0,0 +1,7 @@ +{ + "extends": "@dabh/eslint-config-populist", + "rules": { + "one-var": ["error", { var: "never", let: "never", const: "never" }], + "strict": 0 + } +} diff --git a/node_modules/winston-transport/.gitattributes b/node_modules/winston-transport/.gitattributes new file mode 100644 index 0000000..1a6bd45 --- /dev/null +++ b/node_modules/winston-transport/.gitattributes @@ -0,0 +1 @@ +package-lock.json binary diff --git a/node_modules/winston-transport/.nyc_output/68e78020-c804-4f37-a68a-a967c6380da9.json b/node_modules/winston-transport/.nyc_output/68e78020-c804-4f37-a68a-a967c6380da9.json new file mode 100644 index 0000000..acba604 --- /dev/null +++ b/node_modules/winston-transport/.nyc_output/68e78020-c804-4f37-a68a-a967c6380da9.json @@ -0,0 +1 @@ +{"/Users/dabh/winston-transport/index.js":{"path":"/Users/dabh/winston-transport/index.js","statementMap":{"0":{"start":{"line":4,"column":0},"end":{"line":4,"column":37}},"1":{"start":{"line":7,"column":0},"end":{"line":7,"column":59}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"8b988309d802712672b7bff507361099a67bc431","contentHash":"d5babdcb1bbe43b5d0fd4acf7b41f817fcd458ad896ae7085433b14c7564e890"},"/Users/dabh/winston-transport/modern.js":{"path":"/Users/dabh/winston-transport/modern.js","statementMap":{"0":{"start":{"line":3,"column":13},"end":{"line":3,"column":28}},"1":{"start":{"line":4,"column":17},"end":{"line":4,"column":67}},"2":{"start":{"line":5,"column":18},"end":{"line":5,"column":40}},"3":{"start":{"line":18,"column":24},"end":{"line":54,"column":1}},"4":{"start":{"line":19,"column":2},"end":{"line":19,"column":82}},"5":{"start":{"line":21,"column":2},"end":{"line":21,"column":31}},"6":{"start":{"line":22,"column":2},"end":{"line":22,"column":29}},"7":{"start":{"line":23,"column":2},"end":{"line":23,"column":51}},"8":{"start":{"line":24,"column":2},"end":{"line":24,"column":51}},"9":{"start":{"line":25,"column":2},"end":{"line":25,"column":31}},"10":{"start":{"line":27,"column":2},"end":{"line":27,"column":42}},"11":{"start":{"line":27,"column":19},"end":{"line":27,"column":42}},"12":{"start":{"line":28,"column":2},"end":{"line":28,"column":45}},"13":{"start":{"line":28,"column":20},"end":{"line":28,"column":45}},"14":{"start":{"line":29,"column":2},"end":{"line":29,"column":48}},"15":{"start":{"line":29,"column":21},"end":{"line":29,"column":48}},"16":{"start":{"line":32,"column":2},"end":{"line":39,"column":5}},"17":{"start":{"line":37,"column":4},"end":{"line":37,"column":32}},"18":{"start":{"line":38,"column":4},"end":{"line":38,"column":25}},"19":{"start":{"line":42,"column":2},"end":{"line":53,"column":5}},"20":{"start":{"line":47,"column":4},"end":{"line":52,"column":5}},"21":{"start":{"line":48,"column":6},"end":{"line":48,"column":25}},"22":{"start":{"line":49,"column":6},"end":{"line":51,"column":7}},"23":{"start":{"line":50,"column":8},"end":{"line":50,"column":21}},"24":{"start":{"line":59,"column":0},"end":{"line":59,"column":41}},"25":{"start":{"line":69,"column":0},"end":{"line":107,"column":2}},"26":{"start":{"line":70,"column":2},"end":{"line":72,"column":3}},"27":{"start":{"line":71,"column":4},"end":{"line":71,"column":26}},"28":{"start":{"line":78,"column":16},"end":{"line":78,"column":64}},"29":{"start":{"line":80,"column":2},"end":{"line":104,"column":3}},"30":{"start":{"line":81,"column":4},"end":{"line":83,"column":5}},"31":{"start":{"line":82,"column":6},"end":{"line":82,"column":38}},"32":{"start":{"line":90,"column":4},"end":{"line":94,"column":5}},"33":{"start":{"line":91,"column":6},"end":{"line":91,"column":88}},"34":{"start":{"line":93,"column":6},"end":{"line":93,"column":21}},"35":{"start":{"line":96,"column":4},"end":{"line":101,"column":5}},"36":{"start":{"line":98,"column":6},"end":{"line":98,"column":17}},"37":{"start":{"line":99,"column":6},"end":{"line":99,"column":35}},"38":{"start":{"line":99,"column":20},"end":{"line":99,"column":35}},"39":{"start":{"line":100,"column":6},"end":{"line":100,"column":13}},"40":{"start":{"line":103,"column":4},"end":{"line":103,"column":43}},"41":{"start":{"line":105,"column":2},"end":{"line":105,"column":35}},"42":{"start":{"line":106,"column":2},"end":{"line":106,"column":24}},"43":{"start":{"line":117,"column":0},"end":{"line":166,"column":2}},"44":{"start":{"line":118,"column":2},"end":{"line":128,"column":3}},"45":{"start":{"line":119,"column":18},"end":{"line":119,"column":51}},"46":{"start":{"line":120,"column":4},"end":{"line":122,"column":5}},"47":{"start":{"line":121,"column":6},"end":{"line":121,"column":28}},"48":{"start":{"line":127,"column":4},"end":{"line":127,"column":38}},"49":{"start":{"line":130,"column":2},"end":{"line":163,"column":3}},"50":{"start":{"line":130,"column":15},"end":{"line":130,"column":16}},"51":{"start":{"line":131,"column":4},"end":{"line":131,"column":43}},"52":{"start":{"line":131,"column":34},"end":{"line":131,"column":43}},"53":{"start":{"line":133,"column":4},"end":{"line":136,"column":5}},"54":{"start":{"line":134,"column":6},"end":{"line":134,"column":52}},"55":{"start":{"line":135,"column":6},"end":{"line":135,"column":15}},"56":{"start":{"line":143,"column":4},"end":{"line":150,"column":5}},"57":{"start":{"line":144,"column":6},"end":{"line":147,"column":8}},"58":{"start":{"line":149,"column":6},"end":{"line":149,"column":21}},"59":{"start":{"line":152,"column":4},"end":{"line":162,"column":5}},"60":{"start":{"line":154,"column":6},"end":{"line":154,"column":27}},"61":{"start":{"line":155,"column":6},"end":{"line":159,"column":7}},"62":{"start":{"line":157,"column":8},"end":{"line":157,"column":23}},"63":{"start":{"line":158,"column":8},"end":{"line":158,"column":23}},"64":{"start":{"line":161,"column":6},"end":{"line":161,"column":48}},"65":{"start":{"line":165,"column":2},"end":{"line":165,"column":24}},"66":{"start":{"line":177,"column":0},"end":{"line":202,"column":2}},"67":{"start":{"line":178,"column":15},"end":{"line":178,"column":26}},"68":{"start":{"line":179,"column":2},"end":{"line":181,"column":3}},"69":{"start":{"line":180,"column":4},"end":{"line":180,"column":17}},"70":{"start":{"line":185,"column":16},"end":{"line":185,"column":64}},"71":{"start":{"line":188,"column":2},"end":{"line":199,"column":3}},"72":{"start":{"line":196,"column":4},"end":{"line":198,"column":5}},"73":{"start":{"line":197,"column":6},"end":{"line":197,"column":18}},"74":{"start":{"line":201,"column":2},"end":{"line":201,"column":15}},"75":{"start":{"line":208,"column":0},"end":{"line":211,"column":2}},"76":{"start":{"line":210,"column":2},"end":{"line":210,"column":24}}},"fnMap":{"0":{"name":"TransportStream","decl":{"start":{"line":18,"column":50},"end":{"line":18,"column":65}},"loc":{"start":{"line":18,"column":80},"end":{"line":54,"column":1}},"line":18},"1":{"name":"(anonymous_1)","decl":{"start":{"line":32,"column":20},"end":{"line":32,"column":21}},"loc":{"start":{"line":32,"column":30},"end":{"line":39,"column":3}},"line":32},"2":{"name":"(anonymous_2)","decl":{"start":{"line":42,"column":22},"end":{"line":42,"column":23}},"loc":{"start":{"line":42,"column":29},"end":{"line":53,"column":3}},"line":42},"3":{"name":"_write","decl":{"start":{"line":69,"column":44},"end":{"line":69,"column":50}},"loc":{"start":{"line":69,"column":72},"end":{"line":107,"column":1}},"line":69},"4":{"name":"_writev","decl":{"start":{"line":117,"column":45},"end":{"line":117,"column":52}},"loc":{"start":{"line":117,"column":71},"end":{"line":166,"column":1}},"line":117},"5":{"name":"_accept","decl":{"start":{"line":177,"column":45},"end":{"line":177,"column":52}},"loc":{"start":{"line":177,"column":60},"end":{"line":202,"column":1}},"line":177},"6":{"name":"_nop","decl":{"start":{"line":208,"column":42},"end":{"line":208,"column":46}},"loc":{"start":{"line":208,"column":49},"end":{"line":211,"column":1}},"line":208}},"branchMap":{"0":{"loc":{"start":{"line":18,"column":66},"end":{"line":18,"column":78}},"type":"default-arg","locations":[{"start":{"line":18,"column":76},"end":{"line":18,"column":78}}],"line":18},"1":{"loc":{"start":{"line":27,"column":2},"end":{"line":27,"column":42}},"type":"if","locations":[{"start":{"line":27,"column":2},"end":{"line":27,"column":42}},{"start":{},"end":{}}],"line":27},"2":{"loc":{"start":{"line":28,"column":2},"end":{"line":28,"column":45}},"type":"if","locations":[{"start":{"line":28,"column":2},"end":{"line":28,"column":45}},{"start":{},"end":{}}],"line":28},"3":{"loc":{"start":{"line":29,"column":2},"end":{"line":29,"column":48}},"type":"if","locations":[{"start":{"line":29,"column":2},"end":{"line":29,"column":48}},{"start":{},"end":{}}],"line":29},"4":{"loc":{"start":{"line":47,"column":4},"end":{"line":52,"column":5}},"type":"if","locations":[{"start":{"line":47,"column":4},"end":{"line":52,"column":5}},{"start":{},"end":{}}],"line":47},"5":{"loc":{"start":{"line":49,"column":6},"end":{"line":51,"column":7}},"type":"if","locations":[{"start":{"line":49,"column":6},"end":{"line":51,"column":7}},{"start":{},"end":{}}],"line":49},"6":{"loc":{"start":{"line":70,"column":2},"end":{"line":72,"column":3}},"type":"if","locations":[{"start":{"line":70,"column":2},"end":{"line":72,"column":3}},{"start":{},"end":{}}],"line":70},"7":{"loc":{"start":{"line":70,"column":6},"end":{"line":70,"column":72}},"type":"binary-expr","locations":[{"start":{"line":70,"column":6},"end":{"line":70,"column":17}},{"start":{"line":70,"column":22},"end":{"line":70,"column":45}},{"start":{"line":70,"column":49},"end":{"line":70,"column":71}}],"line":70},"8":{"loc":{"start":{"line":78,"column":16},"end":{"line":78,"column":64}},"type":"binary-expr","locations":[{"start":{"line":78,"column":16},"end":{"line":78,"column":26}},{"start":{"line":78,"column":31},"end":{"line":78,"column":42}},{"start":{"line":78,"column":46},"end":{"line":78,"column":63}}],"line":78},"9":{"loc":{"start":{"line":80,"column":2},"end":{"line":104,"column":3}},"type":"if","locations":[{"start":{"line":80,"column":2},"end":{"line":104,"column":3}},{"start":{},"end":{}}],"line":80},"10":{"loc":{"start":{"line":80,"column":6},"end":{"line":80,"column":62}},"type":"binary-expr","locations":[{"start":{"line":80,"column":6},"end":{"line":80,"column":12}},{"start":{"line":80,"column":16},"end":{"line":80,"column":62}}],"line":80},"11":{"loc":{"start":{"line":81,"column":4},"end":{"line":83,"column":5}},"type":"if","locations":[{"start":{"line":81,"column":4},"end":{"line":83,"column":5}},{"start":{},"end":{}}],"line":81},"12":{"loc":{"start":{"line":81,"column":8},"end":{"line":81,"column":28}},"type":"binary-expr","locations":[{"start":{"line":81,"column":8},"end":{"line":81,"column":12}},{"start":{"line":81,"column":16},"end":{"line":81,"column":28}}],"line":81},"13":{"loc":{"start":{"line":96,"column":4},"end":{"line":101,"column":5}},"type":"if","locations":[{"start":{"line":96,"column":4},"end":{"line":101,"column":5}},{"start":{},"end":{}}],"line":96},"14":{"loc":{"start":{"line":96,"column":8},"end":{"line":96,"column":32}},"type":"binary-expr","locations":[{"start":{"line":96,"column":8},"end":{"line":96,"column":16}},{"start":{"line":96,"column":20},"end":{"line":96,"column":32}}],"line":96},"15":{"loc":{"start":{"line":99,"column":6},"end":{"line":99,"column":35}},"type":"if","locations":[{"start":{"line":99,"column":6},"end":{"line":99,"column":35}},{"start":{},"end":{}}],"line":99},"16":{"loc":{"start":{"line":118,"column":2},"end":{"line":128,"column":3}},"type":"if","locations":[{"start":{"line":118,"column":2},"end":{"line":128,"column":3}},{"start":{},"end":{}}],"line":118},"17":{"loc":{"start":{"line":120,"column":4},"end":{"line":122,"column":5}},"type":"if","locations":[{"start":{"line":120,"column":4},"end":{"line":122,"column":5}},{"start":{},"end":{}}],"line":120},"18":{"loc":{"start":{"line":131,"column":4},"end":{"line":131,"column":43}},"type":"if","locations":[{"start":{"line":131,"column":4},"end":{"line":131,"column":43}},{"start":{},"end":{}}],"line":131},"19":{"loc":{"start":{"line":133,"column":4},"end":{"line":136,"column":5}},"type":"if","locations":[{"start":{"line":133,"column":4},"end":{"line":136,"column":5}},{"start":{},"end":{}}],"line":133},"20":{"loc":{"start":{"line":133,"column":8},"end":{"line":133,"column":39}},"type":"binary-expr","locations":[{"start":{"line":133,"column":8},"end":{"line":133,"column":23}},{"start":{"line":133,"column":27},"end":{"line":133,"column":39}}],"line":133},"21":{"loc":{"start":{"line":152,"column":4},"end":{"line":162,"column":5}},"type":"if","locations":[{"start":{"line":152,"column":4},"end":{"line":162,"column":5}},{"start":{"line":160,"column":11},"end":{"line":162,"column":5}}],"line":152},"22":{"loc":{"start":{"line":152,"column":8},"end":{"line":152,"column":32}},"type":"binary-expr","locations":[{"start":{"line":152,"column":8},"end":{"line":152,"column":16}},{"start":{"line":152,"column":20},"end":{"line":152,"column":32}}],"line":152},"23":{"loc":{"start":{"line":155,"column":6},"end":{"line":159,"column":7}},"type":"if","locations":[{"start":{"line":155,"column":6},"end":{"line":159,"column":7}},{"start":{},"end":{}}],"line":155},"24":{"loc":{"start":{"line":179,"column":2},"end":{"line":181,"column":3}},"type":"if","locations":[{"start":{"line":179,"column":2},"end":{"line":181,"column":3}},{"start":{},"end":{}}],"line":179},"25":{"loc":{"start":{"line":185,"column":16},"end":{"line":185,"column":64}},"type":"binary-expr","locations":[{"start":{"line":185,"column":16},"end":{"line":185,"column":26}},{"start":{"line":185,"column":31},"end":{"line":185,"column":42}},{"start":{"line":185,"column":46},"end":{"line":185,"column":63}}],"line":185},"26":{"loc":{"start":{"line":188,"column":2},"end":{"line":199,"column":3}},"type":"if","locations":[{"start":{"line":188,"column":2},"end":{"line":199,"column":3}},{"start":{},"end":{}}],"line":188},"27":{"loc":{"start":{"line":189,"column":4},"end":{"line":191,"column":50}},"type":"binary-expr","locations":[{"start":{"line":189,"column":4},"end":{"line":189,"column":27}},{"start":{"line":190,"column":4},"end":{"line":190,"column":10}},{"start":{"line":191,"column":4},"end":{"line":191,"column":50}}],"line":189},"28":{"loc":{"start":{"line":196,"column":4},"end":{"line":198,"column":5}},"type":"if","locations":[{"start":{"line":196,"column":4},"end":{"line":198,"column":5}},{"start":{},"end":{}}],"line":196},"29":{"loc":{"start":{"line":196,"column":8},"end":{"line":196,"column":56}},"type":"binary-expr","locations":[{"start":{"line":196,"column":8},"end":{"line":196,"column":29}},{"start":{"line":196,"column":33},"end":{"line":196,"column":56}}],"line":196}},"s":{"0":1,"1":1,"2":1,"3":1,"4":51,"5":51,"6":51,"7":51,"8":51,"9":51,"10":51,"11":22,"12":51,"13":1,"14":51,"15":0,"16":51,"17":5,"18":5,"19":51,"20":2,"21":2,"22":2,"23":1,"24":1,"25":1,"26":49,"27":10,"28":39,"29":39,"30":33,"31":20,"32":13,"33":13,"34":1,"35":13,"36":8,"37":8,"38":1,"39":7,"40":5,"41":6,"42":6,"43":1,"44":6,"45":1,"46":1,"47":0,"48":1,"49":5,"50":5,"51":584,"52":15,"53":569,"54":400,"55":400,"56":169,"57":169,"58":1,"59":169,"60":8,"61":8,"62":1,"63":1,"64":161,"65":4,"66":1,"67":1425,"68":1425,"69":32,"70":1393,"71":1393,"72":1240,"73":1232,"74":161,"75":1,"76":416},"f":{"0":51,"1":5,"2":2,"3":49,"4":6,"5":1425,"6":416},"b":{"0":[1],"1":[22,29],"2":[1,50],"3":[0,51],"4":[2,0],"5":[1,1],"6":[10,39],"7":[49,48,10],"8":[39,29,4],"9":[33,6],"10":[39,14],"11":[20,13],"12":[33,33],"13":[8,5],"14":[13,12],"15":[1,7],"16":[1,5],"17":[0,1],"18":[15,569],"19":[400,169],"20":[569,569],"21":[8,161],"22":[169,168],"23":[1,7],"24":[32,1393],"25":[1393,969,0],"26":[1240,153],"27":[1393,1377,408],"28":[1232,8],"29":[1240,1232]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"6105304c6b05abc925caa69a1dbbf1dc861d12b6","contentHash":"06468df411844ad68c0b51de1ff44b0aeb62787ca06ca4eba491fa62d5f8804d"},"/Users/dabh/winston-transport/legacy.js":{"path":"/Users/dabh/winston-transport/legacy.js","statementMap":{"0":{"start":{"line":3,"column":13},"end":{"line":3,"column":28}},"1":{"start":{"line":4,"column":18},"end":{"line":4,"column":40}},"2":{"start":{"line":5,"column":24},"end":{"line":5,"column":43}},"3":{"start":{"line":15,"column":30},"end":{"line":39,"column":1}},"4":{"start":{"line":16,"column":2},"end":{"line":16,"column":38}},"5":{"start":{"line":17,"column":2},"end":{"line":19,"column":3}},"6":{"start":{"line":18,"column":4},"end":{"line":18,"column":79}},"7":{"start":{"line":21,"column":2},"end":{"line":21,"column":37}},"8":{"start":{"line":22,"column":2},"end":{"line":22,"column":53}},"9":{"start":{"line":23,"column":2},"end":{"line":23,"column":86}},"10":{"start":{"line":26,"column":2},"end":{"line":26,"column":21}},"11":{"start":{"line":32,"column":4},"end":{"line":32,"column":44}},"12":{"start":{"line":35,"column":2},"end":{"line":38,"column":3}},"13":{"start":{"line":36,"column":4},"end":{"line":36,"column":62}},"14":{"start":{"line":37,"column":4},"end":{"line":37,"column":62}},"15":{"start":{"line":44,"column":0},"end":{"line":44,"column":54}},"16":{"start":{"line":54,"column":0},"end":{"line":66,"column":2}},"17":{"start":{"line":55,"column":2},"end":{"line":57,"column":3}},"18":{"start":{"line":56,"column":4},"end":{"line":56,"column":26}},"19":{"start":{"line":61,"column":2},"end":{"line":63,"column":3}},"20":{"start":{"line":62,"column":4},"end":{"line":62,"column":67}},"21":{"start":{"line":65,"column":2},"end":{"line":65,"column":17}},"22":{"start":{"line":76,"column":0},"end":{"line":90,"column":2}},"23":{"start":{"line":77,"column":2},"end":{"line":87,"column":3}},"24":{"start":{"line":77,"column":15},"end":{"line":77,"column":16}},"25":{"start":{"line":78,"column":4},"end":{"line":86,"column":5}},"26":{"start":{"line":79,"column":6},"end":{"line":84,"column":8}},"27":{"start":{"line":85,"column":6},"end":{"line":85,"column":27}},"28":{"start":{"line":89,"column":2},"end":{"line":89,"column":24}},"29":{"start":{"line":97,"column":0},"end":{"line":103,"column":2}},"30":{"start":{"line":99,"column":2},"end":{"line":102,"column":16}},"31":{"start":{"line":110,"column":0},"end":{"line":119,"column":2}},"32":{"start":{"line":111,"column":2},"end":{"line":113,"column":3}},"33":{"start":{"line":112,"column":4},"end":{"line":112,"column":27}},"34":{"start":{"line":115,"column":2},"end":{"line":118,"column":3}},"35":{"start":{"line":116,"column":4},"end":{"line":116,"column":74}},"36":{"start":{"line":117,"column":4},"end":{"line":117,"column":41}}},"fnMap":{"0":{"name":"LegacyTransportStream","decl":{"start":{"line":15,"column":56},"end":{"line":15,"column":77}},"loc":{"start":{"line":15,"column":92},"end":{"line":39,"column":1}},"line":15},"1":{"name":"transportError","decl":{"start":{"line":31,"column":11},"end":{"line":31,"column":25}},"loc":{"start":{"line":31,"column":31},"end":{"line":33,"column":3}},"line":31},"2":{"name":"_write","decl":{"start":{"line":54,"column":50},"end":{"line":54,"column":56}},"loc":{"start":{"line":54,"column":78},"end":{"line":66,"column":1}},"line":54},"3":{"name":"_writev","decl":{"start":{"line":76,"column":51},"end":{"line":76,"column":58}},"loc":{"start":{"line":76,"column":77},"end":{"line":90,"column":1}},"line":76},"4":{"name":"_deprecated","decl":{"start":{"line":97,"column":55},"end":{"line":97,"column":66}},"loc":{"start":{"line":97,"column":69},"end":{"line":103,"column":1}},"line":97},"5":{"name":"close","decl":{"start":{"line":110,"column":49},"end":{"line":110,"column":54}},"loc":{"start":{"line":110,"column":57},"end":{"line":119,"column":1}},"line":110}},"branchMap":{"0":{"loc":{"start":{"line":15,"column":78},"end":{"line":15,"column":90}},"type":"default-arg","locations":[{"start":{"line":15,"column":88},"end":{"line":15,"column":90}}],"line":15},"1":{"loc":{"start":{"line":17,"column":2},"end":{"line":19,"column":3}},"type":"if","locations":[{"start":{"line":17,"column":2},"end":{"line":19,"column":3}},{"start":{},"end":{}}],"line":17},"2":{"loc":{"start":{"line":17,"column":6},"end":{"line":17,"column":71}},"type":"binary-expr","locations":[{"start":{"line":17,"column":6},"end":{"line":17,"column":24}},{"start":{"line":17,"column":28},"end":{"line":17,"column":71}}],"line":17},"3":{"loc":{"start":{"line":22,"column":15},"end":{"line":22,"column":52}},"type":"binary-expr","locations":[{"start":{"line":22,"column":15},"end":{"line":22,"column":25}},{"start":{"line":22,"column":29},"end":{"line":22,"column":52}}],"line":22},"4":{"loc":{"start":{"line":23,"column":26},"end":{"line":23,"column":85}},"type":"binary-expr","locations":[{"start":{"line":23,"column":26},"end":{"line":23,"column":47}},{"start":{"line":23,"column":51},"end":{"line":23,"column":85}}],"line":23},"5":{"loc":{"start":{"line":35,"column":2},"end":{"line":38,"column":3}},"type":"if","locations":[{"start":{"line":35,"column":2},"end":{"line":38,"column":3}},{"start":{},"end":{}}],"line":35},"6":{"loc":{"start":{"line":55,"column":2},"end":{"line":57,"column":3}},"type":"if","locations":[{"start":{"line":55,"column":2},"end":{"line":57,"column":3}},{"start":{},"end":{}}],"line":55},"7":{"loc":{"start":{"line":55,"column":6},"end":{"line":55,"column":72}},"type":"binary-expr","locations":[{"start":{"line":55,"column":6},"end":{"line":55,"column":17}},{"start":{"line":55,"column":22},"end":{"line":55,"column":45}},{"start":{"line":55,"column":49},"end":{"line":55,"column":71}}],"line":55},"8":{"loc":{"start":{"line":61,"column":2},"end":{"line":63,"column":3}},"type":"if","locations":[{"start":{"line":61,"column":2},"end":{"line":63,"column":3}},{"start":{},"end":{}}],"line":61},"9":{"loc":{"start":{"line":61,"column":6},"end":{"line":61,"column":72}},"type":"binary-expr","locations":[{"start":{"line":61,"column":6},"end":{"line":61,"column":17}},{"start":{"line":61,"column":21},"end":{"line":61,"column":72}}],"line":61},"10":{"loc":{"start":{"line":78,"column":4},"end":{"line":86,"column":5}},"type":"if","locations":[{"start":{"line":78,"column":4},"end":{"line":86,"column":5}},{"start":{},"end":{}}],"line":78},"11":{"loc":{"start":{"line":111,"column":2},"end":{"line":113,"column":3}},"type":"if","locations":[{"start":{"line":111,"column":2},"end":{"line":113,"column":3}},{"start":{},"end":{}}],"line":111},"12":{"loc":{"start":{"line":115,"column":2},"end":{"line":118,"column":3}},"type":"if","locations":[{"start":{"line":115,"column":2},"end":{"line":118,"column":3}},{"start":{},"end":{}}],"line":115}},"s":{"0":1,"1":1,"2":1,"3":1,"4":23,"5":23,"6":2,"7":21,"8":21,"9":21,"10":21,"11":1,"12":21,"13":18,"14":18,"15":1,"16":1,"17":29,"18":10,"19":19,"20":16,"21":19,"22":1,"23":2,"24":2,"25":415,"26":400,"27":400,"28":2,"29":1,"30":1,"31":1,"32":2,"33":2,"34":2,"35":2,"36":2},"f":{"0":23,"1":1,"2":29,"3":2,"4":1,"5":2},"b":{"0":[2],"1":[2,21],"2":[23,21],"3":[21,19],"4":[21,20],"5":[18,3],"6":[10,19],"7":[29,28,10],"8":[16,3],"9":[19,8],"10":[400,15],"11":[2,0],"12":[2,0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"c9c54f11f0419fafc2148046d7f90605c3c51d6f","contentHash":"5fb77817fd415f169b36d9aa3de2cc51923829333d30bc6f730b18cb3795f9a1"}} \ No newline at end of file diff --git a/node_modules/winston-transport/.nyc_output/processinfo/68e78020-c804-4f37-a68a-a967c6380da9.json b/node_modules/winston-transport/.nyc_output/processinfo/68e78020-c804-4f37-a68a-a967c6380da9.json new file mode 100644 index 0000000..55fedff --- /dev/null +++ b/node_modules/winston-transport/.nyc_output/processinfo/68e78020-c804-4f37-a68a-a967c6380da9.json @@ -0,0 +1 @@ +{"parent":null,"pid":67747,"argv":["/Users/dabh/.nvm/versions/node/v22.4.1/bin/node","/Users/dabh/winston-transport/node_modules/.bin/mocha","test/index.test.js","test/inheritance.test.js","test/legacy.test.js"],"execArgv":[],"cwd":"/Users/dabh/winston-transport","time":1731206309841,"ppid":67746,"coverageFilename":"/Users/dabh/winston-transport/.nyc_output/68e78020-c804-4f37-a68a-a967c6380da9.json","externalId":"","uuid":"68e78020-c804-4f37-a68a-a967c6380da9","files":["/Users/dabh/winston-transport/index.js","/Users/dabh/winston-transport/modern.js","/Users/dabh/winston-transport/legacy.js"]} \ No newline at end of file diff --git a/node_modules/winston-transport/.nyc_output/processinfo/index.json b/node_modules/winston-transport/.nyc_output/processinfo/index.json new file mode 100644 index 0000000..0266899 --- /dev/null +++ b/node_modules/winston-transport/.nyc_output/processinfo/index.json @@ -0,0 +1 @@ +{"processes":{"68e78020-c804-4f37-a68a-a967c6380da9":{"parent":null,"children":[]}},"files":{"/Users/dabh/winston-transport/index.js":["68e78020-c804-4f37-a68a-a967c6380da9"],"/Users/dabh/winston-transport/modern.js":["68e78020-c804-4f37-a68a-a967c6380da9"],"/Users/dabh/winston-transport/legacy.js":["68e78020-c804-4f37-a68a-a967c6380da9"]},"externalIds":{}} \ No newline at end of file diff --git a/node_modules/winston-transport/CHANGELOG.md b/node_modules/winston-transport/CHANGELOG.md new file mode 100644 index 0000000..a6ef4de --- /dev/null +++ b/node_modules/winston-transport/CHANGELOG.md @@ -0,0 +1,126 @@ +# CHANGELOG + +### 4.5.0 (2022/02/05) + +- [#81] Memory leak fix: do not wait for `process.nextTick` to clear callbacks +- [#87, #82, #67] Update dependencies, CI config, and linter config + +### 4.4.1 (2021/12/14) + +- [#44] Add handleRejections to types. +- [#60] Exclude unnecessary files from npm package +- [#45] [#58] Update dependencies. + +### 4.4.0 (2018/12/23) + +- [#41] Support handleRejections option. +- [#42] Expose LegacyTransportStream from the base module. +- Update dependencies. + +### 4.3.0 (2018/12/23) + +- [#30] Precompile before publishing to `npm`. +- [#32] Add new option to increase default `highWaterMark` value. + +### 4.2.0 (2018/06/11) + +- [#26] Do not use copy-by-value for `this.level`. +- [#25] Wrap calls to `format.transform` with try / catch. +- [#24] Use `readable-stream` package to get the _final semantics across all versions of Node. + +### 4.1.0 (2018/05/31) + +- [#23] Revert to prototypal-based syntax for backwards compatibility. + +### 4.0.0 (2018/05/24) + +- **BREAKING** Update transports to use ES6 classes. Creation of +`TransportStream` and `LegacyTransportStream` now requires the `new` keyword. + +**No longer works** +``` js +const Transport = require('winston-transport'); +const transport = Transport({ + log: (info, callback) => { /* log something */ } +}); +``` + +**Do this instead** +``` js +const Transport = require('winston-transport'); +const transport = new Transport({ + log: (info, callback) => { /* log something */ } +}); +``` + +### 3.3.0 (2018/05/24) +**Unpublished:** overlooked that 26f816e introduced a breaking change. + +- [#21] Do not log when there is no info object. +- [#20] Add silent options to typings. +- [#19] Refactor test fixtures to use es6-classes. +- [#18] Use triple-beam for info object constants. +- [#17] Add linting and Node v10 to the travis build of the project. + +### 3.2.1 (2018/04/25) + +- [#16] Reorder in TS defs: namespace must come after class in order for delcaration merging to work as expected. + +### 3.2.0 (2018/04/22) + +- [#13] Add silent support to LegacyTransportStream. Fixes [#8]. +- [#14] Ensure that if a Transport-specific format is provided it is invoked on each chunk before passing it to `.log`. Fixes [#12]. +- [#11] Revice `d.ts` +- Add `.travis.yml`. +- Documentation updates: + - [#5] Update deprecated link. + - [#7] Correct `this` reference in `README.md` by using an arrow function. + +### 3.1.0 (2018/04/06) + +- [#10] Add `silent` option to `TransportStream`. Still needs to be implemented + for `LegacyTransportStream`. +- Bump `mocha` to `^5.0.5`. +- Bump `nyc` to `^11.6.0`. + +### 3.0.1 (2017/10/01) + +- [#4] Use ES6-class for defining Transport in `README.md`. +- [#4] Do not overwrite prototypal methods unless they are provided in the options. + +### 3.0.0 (2017/09/29) + +- Use `Symbol.for('level')` to lookup immutable `level` on `info` objects. + +### 2.1.1 (2017/09/29) + +- Properly interact with the `{ format }`, if provided. + +### 2.1.0 (2017/09/27) + +- If a format is defined use it to mutate the info. + +### 2.0.0 (2017/04/11) + +- [#2] Final semantics for `winston-transport` base implementations: + - `TransportStream`: the new `objectMode` Writable stream which should be the base for all future Transports after `winston >= 3`. + - `LegacyTransportStream`: the backwards compatible wrap to Transports written for `winston < 3`. There isn't all that much different for those implementors except that `log(level, message, meta, callback)` is now `log(info, callback)` where `info` is the object being plumbed along the objectMode pipe-chain. This was absolutely critical to not "break the ecosystem" and give [the over 500 Transport package authors](https://www.npmjs.com/search?q=winston) an upgrade path. + - Along with all the code coverage & `WritableStream` goodies: + - 100% code coverage for `TransportStream` + - 100% code coverage for `LegacyTransportStream` + - Implementation of `_writev` for `TransportStream` + - Implementation of `_writev` for `LegacyTransportStream` + +### 1.0.2 (2015/11/30) + +- Pass the write stream callback so that we can communicate backpressure up the chain of streams. + +### 1.0.1 (2015/11/22) + +- First `require`-able version. + +### 1.0.0 (2015/11/22) + +- Initial version. + +[#2]: https://github.com/winstonjs/winston-transport/pull/2 diff --git a/node_modules/winston-transport/LICENSE b/node_modules/winston-transport/LICENSE new file mode 100644 index 0000000..64e5d87 --- /dev/null +++ b/node_modules/winston-transport/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2015 Charlie Robbins & the contributors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/node_modules/winston-transport/README.md b/node_modules/winston-transport/README.md new file mode 100644 index 0000000..1b7591e --- /dev/null +++ b/node_modules/winston-transport/README.md @@ -0,0 +1,50 @@ +# winston-transport + +The base `TransportStream` implementation for `winston >= 3`. Use these to +write ecosystem Transports for `winston`. + +## Usage + +``` js +const Transport = require('winston-transport'); +const util = require('util'); + +// +// Inherit from `winston-transport` so you can take advantage +// of the base functionality and `.exceptions.handle()`. +// +module.exports = class CustomTransport extends Transport { + constructor(opts) { + super(opts); + + // + // Consume any custom options here. e.g.: + // - Connection information for databases + // - Authentication information for APIs (e.g. loggly, papertrail, + // logentries, etc.). + // + } + + log(info, callback) { + setImmediate(() => { + this.emit('logged', info); + }); + + // Perform the writing to the remote service + + callback(); + } +}; +``` + +## Tests + +Tests are written with `mocha`, `nyc`, `assume`, and +`abstract-winston-transport`. They can be run with `npm`: + +``` bash +npm test +``` + +##### Author: [Charlie Robbins](https://github.com/indexzero) +##### LICENSE: MIT diff --git a/node_modules/winston-transport/dist/index.js b/node_modules/winston-transport/dist/index.js new file mode 100644 index 0000000..ba57f11 --- /dev/null +++ b/node_modules/winston-transport/dist/index.js @@ -0,0 +1,8 @@ +'use strict'; + +// Expose modern transport directly as the export + +module.exports = require('./modern'); + +// Expose legacy stream +module.exports.LegacyTransportStream = require('./legacy'); \ No newline at end of file diff --git a/node_modules/winston-transport/dist/legacy.js b/node_modules/winston-transport/dist/legacy.js new file mode 100644 index 0000000..0a29d1b --- /dev/null +++ b/node_modules/winston-transport/dist/legacy.js @@ -0,0 +1,116 @@ +'use strict'; + +var util = require('util'); + +var _require = require('triple-beam'), + LEVEL = _require.LEVEL; + +var TransportStream = require('./modern'); + +/** + * Constructor function for the LegacyTransportStream. This is an internal + * wrapper `winston >= 3` uses to wrap older transports implementing + * log(level, message, meta). + * @param {Object} options - Options for this TransportStream instance. + * @param {Transpot} options.transport - winston@2 or older Transport to wrap. + */ + +var LegacyTransportStream = module.exports = function LegacyTransportStream() { + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + + TransportStream.call(this, options); + if (!options.transport || typeof options.transport.log !== 'function') { + throw new Error('Invalid transport, must be an object with a log method.'); + } + + this.transport = options.transport; + this.level = this.level || options.transport.level; + this.handleExceptions = this.handleExceptions || options.transport.handleExceptions; + + // Display our deprecation notice. + this._deprecated(); + + // Properly bubble up errors from the transport to the + // LegacyTransportStream instance, but only once no matter how many times + // this transport is shared. + function transportError(err) { + this.emit('error', err, this.transport); + } + + if (!this.transport.__winstonError) { + this.transport.__winstonError = transportError.bind(this); + this.transport.on('error', this.transport.__winstonError); + } +}; + +/* + * Inherit from TransportStream using Node.js built-ins + */ +util.inherits(LegacyTransportStream, TransportStream); + +/** + * Writes the info object to our transport instance. + * @param {mixed} info - TODO: add param description. + * @param {mixed} enc - TODO: add param description. + * @param {function} callback - TODO: add param description. + * @returns {undefined} + * @private + */ +LegacyTransportStream.prototype._write = function _write(info, enc, callback) { + if (this.silent || info.exception === true && !this.handleExceptions) { + return callback(null); + } + + // Remark: This has to be handled in the base transport now because we + // cannot conditionally write to our pipe targets as stream. + if (!this.level || this.levels[this.level] >= this.levels[info[LEVEL]]) { + this.transport.log(info[LEVEL], info.message, info, this._nop); + } + + callback(null); +}; + +/** + * Writes the batch of info objects (i.e. "object chunks") to our transport + * instance after performing any necessary filtering. + * @param {mixed} chunks - TODO: add params description. + * @param {function} callback - TODO: add params description. + * @returns {mixed} - TODO: add returns description. + * @private + */ +LegacyTransportStream.prototype._writev = function _writev(chunks, callback) { + for (var i = 0; i < chunks.length; i++) { + if (this._accept(chunks[i])) { + this.transport.log(chunks[i].chunk[LEVEL], chunks[i].chunk.message, chunks[i].chunk, this._nop); + chunks[i].callback(); + } + } + + return callback(null); +}; + +/** + * Displays a deprecation notice. Defined as a function so it can be + * overriden in tests. + * @returns {undefined} + */ +LegacyTransportStream.prototype._deprecated = function _deprecated() { + // eslint-disable-next-line no-console + console.error([this.transport.name + ' is a legacy winston transport. Consider upgrading: ', '- Upgrade docs: https://github.com/winstonjs/winston/blob/master/UPGRADE-3.0.md'].join('\n')); +}; + +/** + * Clean up error handling state on the legacy transport associated + * with this instance. + * @returns {undefined} + */ +LegacyTransportStream.prototype.close = function close() { + if (this.transport.close) { + this.transport.close(); + } + + if (this.transport.__winstonError) { + this.transport.removeListener('error', this.transport.__winstonError); + this.transport.__winstonError = null; + } +}; \ No newline at end of file diff --git a/node_modules/winston-transport/dist/modern.js b/node_modules/winston-transport/dist/modern.js new file mode 100644 index 0000000..4759ab8 --- /dev/null +++ b/node_modules/winston-transport/dist/modern.js @@ -0,0 +1,212 @@ +'use strict'; + +var util = require('util'); +var Writable = require('readable-stream/lib/_stream_writable.js'); + +var _require = require('triple-beam'), + LEVEL = _require.LEVEL; + +/** + * Constructor function for the TransportStream. This is the base prototype + * that all `winston >= 3` transports should inherit from. + * @param {Object} options - Options for this TransportStream instance + * @param {String} options.level - Highest level according to RFC5424. + * @param {Boolean} options.handleExceptions - If true, info with + * { exception: true } will be written. + * @param {Function} options.log - Custom log function for simple Transport + * creation + * @param {Function} options.close - Called on "unpipe" from parent. + */ + + +var TransportStream = module.exports = function TransportStream() { + var _this = this; + + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + + Writable.call(this, { objectMode: true, highWaterMark: options.highWaterMark }); + + this.format = options.format; + this.level = options.level; + this.handleExceptions = options.handleExceptions; + this.handleRejections = options.handleRejections; + this.silent = options.silent; + + if (options.log) this.log = options.log; + if (options.logv) this.logv = options.logv; + if (options.close) this.close = options.close; + + // Get the levels from the source we are piped from. + this.once('pipe', function (logger) { + // Remark (indexzero): this bookkeeping can only support multiple + // Logger parents with the same `levels`. This comes into play in + // the `winston.Container` code in which `container.add` takes + // a fully realized set of options with pre-constructed TransportStreams. + _this.levels = logger.levels; + _this.parent = logger; + }); + + // If and/or when the transport is removed from this instance + this.once('unpipe', function (src) { + // Remark (indexzero): this bookkeeping can only support multiple + // Logger parents with the same `levels`. This comes into play in + // the `winston.Container` code in which `container.add` takes + // a fully realized set of options with pre-constructed TransportStreams. + if (src === _this.parent) { + _this.parent = null; + if (_this.close) { + _this.close(); + } + } + }); +}; + +/* + * Inherit from Writeable using Node.js built-ins + */ +util.inherits(TransportStream, Writable); + +/** + * Writes the info object to our transport instance. + * @param {mixed} info - TODO: add param description. + * @param {mixed} enc - TODO: add param description. + * @param {function} callback - TODO: add param description. + * @returns {undefined} + * @private + */ +TransportStream.prototype._write = function _write(info, enc, callback) { + if (this.silent || info.exception === true && !this.handleExceptions) { + return callback(null); + } + + // Remark: This has to be handled in the base transport now because we + // cannot conditionally write to our pipe targets as stream. We always + // prefer any explicit level set on the Transport itself falling back to + // any level set on the parent. + var level = this.level || this.parent && this.parent.level; + + if (!level || this.levels[level] >= this.levels[info[LEVEL]]) { + if (info && !this.format) { + return this.log(info, callback); + } + + var errState = void 0; + var transformed = void 0; + + // We trap(and re-throw) any errors generated by the user-provided format, but also + // guarantee that the streams callback is invoked so that we can continue flowing. + try { + transformed = this.format.transform(Object.assign({}, info), this.format.options); + } catch (err) { + errState = err; + } + + if (errState || !transformed) { + // eslint-disable-next-line callback-return + callback(); + if (errState) throw errState; + return; + } + + return this.log(transformed, callback); + } + this._writableState.sync = false; + return callback(null); +}; + +/** + * Writes the batch of info objects (i.e. "object chunks") to our transport + * instance after performing any necessary filtering. + * @param {mixed} chunks - TODO: add params description. + * @param {function} callback - TODO: add params description. + * @returns {mixed} - TODO: add returns description. + * @private + */ +TransportStream.prototype._writev = function _writev(chunks, callback) { + if (this.logv) { + var infos = chunks.filter(this._accept, this); + if (!infos.length) { + return callback(null); + } + + // Remark (indexzero): from a performance perspective if Transport + // implementers do choose to implement logv should we make it their + // responsibility to invoke their format? + return this.logv(infos, callback); + } + + for (var i = 0; i < chunks.length; i++) { + if (!this._accept(chunks[i])) continue; + + if (chunks[i].chunk && !this.format) { + this.log(chunks[i].chunk, chunks[i].callback); + continue; + } + + var errState = void 0; + var transformed = void 0; + + // We trap(and re-throw) any errors generated by the user-provided format, but also + // guarantee that the streams callback is invoked so that we can continue flowing. + try { + transformed = this.format.transform(Object.assign({}, chunks[i].chunk), this.format.options); + } catch (err) { + errState = err; + } + + if (errState || !transformed) { + // eslint-disable-next-line callback-return + chunks[i].callback(); + if (errState) { + // eslint-disable-next-line callback-return + callback(null); + throw errState; + } + } else { + this.log(transformed, chunks[i].callback); + } + } + + return callback(null); +}; + +/** + * Predicate function that returns true if the specfied `info` on the + * WriteReq, `write`, should be passed down into the derived + * TransportStream's I/O via `.log(info, callback)`. + * @param {WriteReq} write - winston@3 Node.js WriteReq for the `info` object + * representing the log message. + * @returns {Boolean} - Value indicating if the `write` should be accepted & + * logged. + */ +TransportStream.prototype._accept = function _accept(write) { + var info = write.chunk; + if (this.silent) { + return false; + } + + // We always prefer any explicit level set on the Transport itself + // falling back to any level set on the parent. + var level = this.level || this.parent && this.parent.level; + + // Immediately check the average case: log level filtering. + if (info.exception === true || !level || this.levels[level] >= this.levels[info[LEVEL]]) { + // Ensure the info object is valid based on `{ exception }`: + // 1. { handleExceptions: true }: all `info` objects are valid + // 2. { exception: false }: accepted by all transports. + if (this.handleExceptions || info.exception !== true) { + return true; + } + } + + return false; +}; + +/** + * _nop is short for "No operation" + * @returns {Boolean} Intentionally false. + */ +TransportStream.prototype._nop = function _nop() { + // eslint-disable-next-line no-undefined + return void undefined; +}; \ No newline at end of file diff --git a/node_modules/winston-transport/index.d.ts b/node_modules/winston-transport/index.d.ts new file mode 100644 index 0000000..2d84468 --- /dev/null +++ b/node_modules/winston-transport/index.d.ts @@ -0,0 +1,39 @@ +// Type definitions for winston-transport 3.0 +// Project: https://github.com/winstonjs/winston-transport +// Definitions by: DABH +// Definitions: https://github.com/winstonjs/winston-transport + +/// + +import * as stream from 'stream'; +import * as logform from 'logform'; + +declare class TransportStream extends stream.Writable { + public format?: logform.Format; + public level?: string; + public silent?: boolean; + public handleExceptions?: boolean; + public handleRejections?: boolean; + + constructor(opts?: TransportStream.TransportStreamOptions); + + public log?(info: any, next: () => void): any; + public logv?(info: any, next: () => void): any; + public close?(): void; +} + +declare namespace TransportStream { + interface TransportStreamOptions { + format?: logform.Format; + level?: string; + silent?: boolean; + handleExceptions?: boolean; + handleRejections?: boolean; + + log?(info: any, next: () => void): any; + logv?(info: any, next: () => void): any; + close?(): void; + } +} + +export = TransportStream; diff --git a/node_modules/winston-transport/index.js b/node_modules/winston-transport/index.js new file mode 100644 index 0000000..6a62012 --- /dev/null +++ b/node_modules/winston-transport/index.js @@ -0,0 +1,7 @@ +'use strict'; + +// Expose modern transport directly as the export +module.exports = require('./modern'); + +// Expose legacy stream +module.exports.LegacyTransportStream = require('./legacy'); diff --git a/node_modules/winston-transport/legacy.js b/node_modules/winston-transport/legacy.js new file mode 100644 index 0000000..6cc9522 --- /dev/null +++ b/node_modules/winston-transport/legacy.js @@ -0,0 +1,119 @@ +'use strict'; + +const util = require('util'); +const { LEVEL } = require('triple-beam'); +const TransportStream = require('./modern'); + +/** + * Constructor function for the LegacyTransportStream. This is an internal + * wrapper `winston >= 3` uses to wrap older transports implementing + * log(level, message, meta). + * @param {Object} options - Options for this TransportStream instance. + * @param {Transpot} options.transport - winston@2 or older Transport to wrap. + */ + +const LegacyTransportStream = module.exports = function LegacyTransportStream(options = {}) { + TransportStream.call(this, options); + if (!options.transport || typeof options.transport.log !== 'function') { + throw new Error('Invalid transport, must be an object with a log method.'); + } + + this.transport = options.transport; + this.level = this.level || options.transport.level; + this.handleExceptions = this.handleExceptions || options.transport.handleExceptions; + + // Display our deprecation notice. + this._deprecated(); + + // Properly bubble up errors from the transport to the + // LegacyTransportStream instance, but only once no matter how many times + // this transport is shared. + function transportError(err) { + this.emit('error', err, this.transport); + } + + if (!this.transport.__winstonError) { + this.transport.__winstonError = transportError.bind(this); + this.transport.on('error', this.transport.__winstonError); + } +}; + +/* + * Inherit from TransportStream using Node.js built-ins + */ +util.inherits(LegacyTransportStream, TransportStream); + +/** + * Writes the info object to our transport instance. + * @param {mixed} info - TODO: add param description. + * @param {mixed} enc - TODO: add param description. + * @param {function} callback - TODO: add param description. + * @returns {undefined} + * @private + */ +LegacyTransportStream.prototype._write = function _write(info, enc, callback) { + if (this.silent || (info.exception === true && !this.handleExceptions)) { + return callback(null); + } + + // Remark: This has to be handled in the base transport now because we + // cannot conditionally write to our pipe targets as stream. + if (!this.level || this.levels[this.level] >= this.levels[info[LEVEL]]) { + this.transport.log(info[LEVEL], info.message, info, this._nop); + } + + callback(null); +}; + +/** + * Writes the batch of info objects (i.e. "object chunks") to our transport + * instance after performing any necessary filtering. + * @param {mixed} chunks - TODO: add params description. + * @param {function} callback - TODO: add params description. + * @returns {mixed} - TODO: add returns description. + * @private + */ +LegacyTransportStream.prototype._writev = function _writev(chunks, callback) { + for (let i = 0; i < chunks.length; i++) { + if (this._accept(chunks[i])) { + this.transport.log( + chunks[i].chunk[LEVEL], + chunks[i].chunk.message, + chunks[i].chunk, + this._nop + ); + chunks[i].callback(); + } + } + + return callback(null); +}; + +/** + * Displays a deprecation notice. Defined as a function so it can be + * overriden in tests. + * @returns {undefined} + */ +LegacyTransportStream.prototype._deprecated = function _deprecated() { + // eslint-disable-next-line no-console + console.error([ + `${this.transport.name} is a legacy winston transport. Consider upgrading: `, + '- Upgrade docs: https://github.com/winstonjs/winston/blob/master/UPGRADE-3.0.md' + ].join('\n')); +}; + +/** + * Clean up error handling state on the legacy transport associated + * with this instance. + * @returns {undefined} + */ +LegacyTransportStream.prototype.close = function close() { + if (this.transport.close) { + this.transport.close(); + } + + if (this.transport.__winstonError) { + this.transport.removeListener('error', this.transport.__winstonError); + this.transport.__winstonError = null; + } +}; diff --git a/node_modules/winston-transport/modern.js b/node_modules/winston-transport/modern.js new file mode 100644 index 0000000..37eeb3d --- /dev/null +++ b/node_modules/winston-transport/modern.js @@ -0,0 +1,211 @@ +'use strict'; + +const util = require('util'); +const Writable = require('readable-stream/lib/_stream_writable.js'); +const { LEVEL } = require('triple-beam'); + +/** + * Constructor function for the TransportStream. This is the base prototype + * that all `winston >= 3` transports should inherit from. + * @param {Object} options - Options for this TransportStream instance + * @param {String} options.level - Highest level according to RFC5424. + * @param {Boolean} options.handleExceptions - If true, info with + * { exception: true } will be written. + * @param {Function} options.log - Custom log function for simple Transport + * creation + * @param {Function} options.close - Called on "unpipe" from parent. + */ +const TransportStream = module.exports = function TransportStream(options = {}) { + Writable.call(this, { objectMode: true, highWaterMark: options.highWaterMark }); + + this.format = options.format; + this.level = options.level; + this.handleExceptions = options.handleExceptions; + this.handleRejections = options.handleRejections; + this.silent = options.silent; + + if (options.log) this.log = options.log; + if (options.logv) this.logv = options.logv; + if (options.close) this.close = options.close; + + // Get the levels from the source we are piped from. + this.once('pipe', logger => { + // Remark (indexzero): this bookkeeping can only support multiple + // Logger parents with the same `levels`. This comes into play in + // the `winston.Container` code in which `container.add` takes + // a fully realized set of options with pre-constructed TransportStreams. + this.levels = logger.levels; + this.parent = logger; + }); + + // If and/or when the transport is removed from this instance + this.once('unpipe', src => { + // Remark (indexzero): this bookkeeping can only support multiple + // Logger parents with the same `levels`. This comes into play in + // the `winston.Container` code in which `container.add` takes + // a fully realized set of options with pre-constructed TransportStreams. + if (src === this.parent) { + this.parent = null; + if (this.close) { + this.close(); + } + } + }); +}; + +/* + * Inherit from Writeable using Node.js built-ins + */ +util.inherits(TransportStream, Writable); + +/** + * Writes the info object to our transport instance. + * @param {mixed} info - TODO: add param description. + * @param {mixed} enc - TODO: add param description. + * @param {function} callback - TODO: add param description. + * @returns {undefined} + * @private + */ +TransportStream.prototype._write = function _write(info, enc, callback) { + if (this.silent || (info.exception === true && !this.handleExceptions)) { + return callback(null); + } + + // Remark: This has to be handled in the base transport now because we + // cannot conditionally write to our pipe targets as stream. We always + // prefer any explicit level set on the Transport itself falling back to + // any level set on the parent. + const level = this.level || (this.parent && this.parent.level); + + if (!level || this.levels[level] >= this.levels[info[LEVEL]]) { + if (info && !this.format) { + return this.log(info, callback); + } + + let errState; + let transformed; + + // We trap(and re-throw) any errors generated by the user-provided format, but also + // guarantee that the streams callback is invoked so that we can continue flowing. + try { + transformed = this.format.transform(Object.assign({}, info), this.format.options); + } catch (err) { + errState = err; + } + + if (errState || !transformed) { + // eslint-disable-next-line callback-return + callback(); + if (errState) throw errState; + return; + } + + return this.log(transformed, callback); + } + this._writableState.sync = false; + return callback(null); +}; + +/** + * Writes the batch of info objects (i.e. "object chunks") to our transport + * instance after performing any necessary filtering. + * @param {mixed} chunks - TODO: add params description. + * @param {function} callback - TODO: add params description. + * @returns {mixed} - TODO: add returns description. + * @private + */ +TransportStream.prototype._writev = function _writev(chunks, callback) { + if (this.logv) { + const infos = chunks.filter(this._accept, this); + if (!infos.length) { + return callback(null); + } + + // Remark (indexzero): from a performance perspective if Transport + // implementers do choose to implement logv should we make it their + // responsibility to invoke their format? + return this.logv(infos, callback); + } + + for (let i = 0; i < chunks.length; i++) { + if (!this._accept(chunks[i])) continue; + + if (chunks[i].chunk && !this.format) { + this.log(chunks[i].chunk, chunks[i].callback); + continue; + } + + let errState; + let transformed; + + // We trap(and re-throw) any errors generated by the user-provided format, but also + // guarantee that the streams callback is invoked so that we can continue flowing. + try { + transformed = this.format.transform( + Object.assign({}, chunks[i].chunk), + this.format.options + ); + } catch (err) { + errState = err; + } + + if (errState || !transformed) { + // eslint-disable-next-line callback-return + chunks[i].callback(); + if (errState) { + // eslint-disable-next-line callback-return + callback(null); + throw errState; + } + } else { + this.log(transformed, chunks[i].callback); + } + } + + return callback(null); +}; + +/** + * Predicate function that returns true if the specfied `info` on the + * WriteReq, `write`, should be passed down into the derived + * TransportStream's I/O via `.log(info, callback)`. + * @param {WriteReq} write - winston@3 Node.js WriteReq for the `info` object + * representing the log message. + * @returns {Boolean} - Value indicating if the `write` should be accepted & + * logged. + */ +TransportStream.prototype._accept = function _accept(write) { + const info = write.chunk; + if (this.silent) { + return false; + } + + // We always prefer any explicit level set on the Transport itself + // falling back to any level set on the parent. + const level = this.level || (this.parent && this.parent.level); + + // Immediately check the average case: log level filtering. + if ( + info.exception === true || + !level || + this.levels[level] >= this.levels[info[LEVEL]] + ) { + // Ensure the info object is valid based on `{ exception }`: + // 1. { handleExceptions: true }: all `info` objects are valid + // 2. { exception: false }: accepted by all transports. + if (this.handleExceptions || info.exception !== true) { + return true; + } + } + + return false; +}; + +/** + * _nop is short for "No operation" + * @returns {Boolean} Intentionally false. + */ +TransportStream.prototype._nop = function _nop() { + // eslint-disable-next-line no-undefined + return void undefined; +}; diff --git a/node_modules/winston-transport/package.json b/node_modules/winston-transport/package.json new file mode 100644 index 0000000..a9c84d5 --- /dev/null +++ b/node_modules/winston-transport/package.json @@ -0,0 +1,52 @@ +{ + "name": "winston-transport", + "description": "Base stream implementations for winston@3 and up.", + "version": "4.9.0", + "main": "index.js", + "browser": "dist/index.js", + "scripts": { + "lint": "ESLINT_USE_FLAT_CONFIG=false eslint test/*.js index.js --resolve-plugins-relative-to ./node_modules/@dabh/eslint-config-populist", + "pretest": "npm run lint && npm run build", + "test": "nyc mocha test/*.test.js", + "report": "nyc report --reporter=lcov", + "build": "rimraf dist && babel *.js -d ./dist", + "prepublishOnly": "npm run build" + }, + "repository": { + "type": "git", + "url": "git@github.com:winstonjs/winston-transport.git" + }, + "keywords": [ + "winston", + "transport", + "winston3" + ], + "author": "Charlie Robbins ", + "license": "MIT", + "bugs": { + "url": "https://github.com/winstonjs/winston-transport/issues" + }, + "homepage": "https://github.com/winstonjs/winston-transport#readme", + "dependencies": { + "logform": "^2.7.0", + "readable-stream": "^3.6.2", + "triple-beam": "^1.3.0" + }, + "devDependencies": { + "@types/node": "^22.6.0", + "abstract-winston-transport": ">=0.5.1", + "assume": "^2.3.0", + "babel-cli": "^6.26.0", + "babel-preset-env": "^1.7.0", + "deep-equal": "^2.0.5", + "eslint": "^9.6.0", + "@dabh/eslint-config-populist": "^4.4.0", + "mocha": "^10.6.0", + "nyc": "^17.0.0", + "rimraf": "^6.0.1", + "winston-compat": "^0.1.5" + }, + "engines": { + "node": ">= 12.0.0" + } +} diff --git a/node_modules/winston/LICENSE b/node_modules/winston/LICENSE new file mode 100644 index 0000000..948d80d --- /dev/null +++ b/node_modules/winston/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2010 Charlie Robbins + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/node_modules/winston/README.md b/node_modules/winston/README.md new file mode 100644 index 0000000..6ea1f2f --- /dev/null +++ b/node_modules/winston/README.md @@ -0,0 +1,1273 @@ +# winston + +A logger for just about everything. + +[![Version npm](https://img.shields.io/npm/v/winston.svg?style=flat-square)](https://www.npmjs.com/package/winston) +[![npm Downloads](https://img.shields.io/npm/dm/winston.svg?style=flat-square)](https://npmcharts.com/compare/winston?minimal=true) +[![build status](https://github.com/winstonjs/winston/actions/workflows/ci.yml/badge.svg)](https://github.com/winstonjs/winston/actions/workflows/ci.yml) +[![coverage status](https://coveralls.io/repos/github/winstonjs/winston/badge.svg?branch=master)](https://coveralls.io/github/winstonjs/winston?branch=master) + +[![NPM](https://nodei.co/npm/winston.png?downloads=true&downloadRank=true)](https://nodei.co/npm/winston/) + +## winston@3 + +See the [Upgrade Guide](UPGRADE-3.0.md) for more information. Bug reports and +PRs welcome! + +## Looking for `winston@2.x` documentation? + +Please note that the documentation below is for `winston@3`. +[Read the `winston@2.x` documentation]. + +## Motivation + +`winston` is designed to be a simple and universal logging library with +support for multiple transports. A transport is essentially a storage device +for your logs. Each `winston` logger can have multiple transports (see: +[Transports]) configured at different levels (see: [Logging levels]). For +example, one may want error logs to be stored in a persistent remote location +(like a database), but all logs output to the console or a local file. + +`winston` aims to decouple parts of the logging process to make it more +flexible and extensible. Attention is given to supporting flexibility in log +formatting (see: [Formats]) & levels (see: [Using custom logging levels]), and +ensuring those APIs decoupled from the implementation of transport logging +(i.e. how the logs are stored / indexed, see: [Adding Custom Transports]) to +the API that they exposed to the programmer. + +## Quick Start + +TL;DR? Check out the [quick start example][quick-example] in `./examples/`. +There are a number of other examples in [`./examples/*.js`][examples]. +Don't see an example you think should be there? Submit a pull request +to add it! + +## Usage + +The recommended way to use `winston` is to create your own logger. The +simplest way to do this is using `winston.createLogger`: + +``` js +const winston = require('winston'); + +const logger = winston.createLogger({ + level: 'info', + format: winston.format.json(), + defaultMeta: { service: 'user-service' }, + transports: [ + // + // - Write all logs with importance level of `error` or higher to `error.log` + // (i.e., error, fatal, but not other levels) + // + new winston.transports.File({ filename: 'error.log', level: 'error' }), + // + // - Write all logs with importance level of `info` or higher to `combined.log` + // (i.e., fatal, error, warn, and info, but not trace) + // + new winston.transports.File({ filename: 'combined.log' }), + ], +}); + +// +// If we're not in production then log to the `console` with the format: +// `${info.level}: ${info.message} JSON.stringify({ ...rest }) ` +// +if (process.env.NODE_ENV !== 'production') { + logger.add(new winston.transports.Console({ + format: winston.format.simple(), + })); +} +``` + +You may also log directly via the default logger exposed by +`require('winston')`, but this merely intended to be a convenient shared +logger to use throughout your application if you so choose. +Note that the default logger doesn't have any transports by default. +You need add transports by yourself, and leaving the default logger without any +transports may produce a high memory usage issue. + +## Table of contents + +* [Motivation](#motivation) +* [Quick Start](#quick-start) +* [Usage](#usage) +* [Table of Contents](#table-of-contents) +* [Logging](#logging) + * [Creating your logger](#creating-your-own-logger) + * [Streams, `objectMode`, and `info` objects](#streams-objectmode-and-info-objects) +* [Formats] + * [Combining formats](#combining-formats) + * [String interpolation](#string-interpolation) + * [Filtering `info` Objects](#filtering-info-objects) + * [Creating custom formats](#creating-custom-formats) +* [Logging levels] + * [Using logging levels](#using-logging-levels) + * [Using custom logging levels](#using-custom-logging-levels) +* [Transports] + * [Multiple transports of the same type](#multiple-transports-of-the-same-type) + * [Adding Custom Transports](#adding-custom-transports) + * [Common Transport options](#common-transport-options) +* [Exceptions](#exceptions) + * [Handling Uncaught Exceptions with winston](#handling-uncaught-exceptions-with-winston) + * [To Exit or Not to Exit](#to-exit-or-not-to-exit) +* [Rejections](#rejections) + * [Handling Uncaught Promise Rejections with winston](#handling-uncaught-promise-rejections-with-winston) +* [Profiling](#profiling) +* [Streaming Logs](#streaming-logs) +* [Querying Logs](#querying-logs) +* [Further Reading](#further-reading) + * [Using the default logger](#using-the-default-logger) + * [Awaiting logs to be written in `winston`](#awaiting-logs-to-be-written-in-winston) + * [Working with multiple Loggers in `winston`](#working-with-multiple-loggers-in-winston) + * [Routing Console transport messages to the console instead of stdout and stderr](#routing-console-transport-messages-to-the-console-instead-of-stdout-and-stderr) +* [Installation](#installation) +* [Run Tests](#run-tests) + +## Logging + +Logging levels in `winston` conform to the severity ordering specified by +[RFC5424]: _severity of all levels is assumed to be numerically **ascending** +from most important to least important._ + +``` js +const levels = { + error: 0, + warn: 1, + info: 2, + http: 3, + verbose: 4, + debug: 5, + silly: 6 +}; +``` + +### Creating your own Logger +You get started by creating a logger using `winston.createLogger`: + +``` js +const logger = winston.createLogger({ + transports: [ + new winston.transports.Console(), + new winston.transports.File({ filename: 'combined.log' }) + ] +}); +``` + +A logger accepts the following parameters: + +| Name | Default | Description | +| ------------- | --------------------------- | --------------- | +| `level` | `'info'` | Log only if [`info.level`](#streams-objectmode-and-info-objects) is less than or equal to this level | +| `levels` | `winston.config.npm.levels` | Levels (and colors) representing log priorities | +| `format` | `winston.format.json` | Formatting for `info` messages (see: [Formats]) | +| `transports` | `[]` _(No transports)_ | Set of logging targets for `info` messages | +| `exitOnError` | `true` | If false, handled exceptions will not cause `process.exit` | +| `silent` | `false` | If true, all logs are suppressed | + +The levels provided to `createLogger` will be defined as convenience methods +on the `logger` returned. + +``` js +// +// Logging +// +logger.log({ + level: 'info', + message: 'Hello distributed log files!' +}); + +logger.info('Hello again distributed logs'); +``` + +You can add or remove transports from the `logger` once it has been provided +to you from `winston.createLogger`: + +``` js +const files = new winston.transports.File({ filename: 'combined.log' }); +const console = new winston.transports.Console(); + +logger + .clear() // Remove all transports + .add(console) // Add console transport + .add(files) // Add file transport + .remove(console); // Remove console transport +``` + +You can also wholesale reconfigure a `winston.Logger` instance using the +`configure` method: + +``` js +const logger = winston.createLogger({ + level: 'info', + transports: [ + new winston.transports.Console(), + new winston.transports.File({ filename: 'combined.log' }) + ] +}); + +// +// Replaces the previous transports with those in the +// new configuration wholesale. +// +const DailyRotateFile = require('winston-daily-rotate-file'); +logger.configure({ + level: 'verbose', + transports: [ + new DailyRotateFile(opts) + ] +}); +``` + +### Creating child loggers + +You can create child loggers from existing loggers to pass metadata overrides: + +``` js +const logger = winston.createLogger({ + transports: [ + new winston.transports.Console(), + ] +}); + +const childLogger = logger.child({ requestId: '451' }); +``` +> `.child` is likely to be bugged if you're also extending the `Logger` class, due to some implementation details that make `this` keyword to point to unexpected things. Use with caution. + +### Streams, `objectMode`, and `info` objects + +In `winston`, both `Logger` and `Transport` instances are treated as +[`objectMode`](https://nodejs.org/api/stream.html#stream_object_mode) +streams that accept an `info` object. + +The `info` parameter provided to a given format represents a single log +message. The object itself is mutable. Every `info` must have at least the +`level` and `message` properties: + +``` js +const info = { + level: 'info', // Level of the logging message + message: 'Hey! Log something?' // Descriptive message being logged. +}; +``` + +Properties **besides level and message** are considered as "`meta`". i.e.: + +``` js +const { level, message, ...meta } = info; +``` + +Several of the formats in `logform` itself add additional properties: + +| Property | Format added by | Description | +| ----------- | --------------- | ----------- | +| `splat` | `splat()` | String interpolation splat for `%d %s`-style messages. | +| `timestamp` | `timestamp()` | timestamp the message was received. | +| `label` | `label()` | Custom label associated with each message. | +| `ms` | `ms()` | Number of milliseconds since the previous log message. | + +As a consumer you may add whatever properties you wish – _internal state is +maintained by `Symbol` properties:_ + +- `Symbol.for('level')` _**(READ-ONLY)**:_ equal to `level` property. + **Is treated as immutable by all code.** +- `Symbol.for('message'):` complete string message set by "finalizing formats": + - `json` + - `logstash` + - `printf` + - `prettyPrint` + - `simple` +- `Symbol.for('splat')`: additional string interpolation arguments. _Used + exclusively by `splat()` format._ + +These Symbols are stored in another package: `triple-beam` so that all +consumers of `logform` can have the same Symbol reference. i.e.: + +``` js +const { LEVEL, MESSAGE, SPLAT } = require('triple-beam'); + +console.log(LEVEL === Symbol.for('level')); +// true + +console.log(MESSAGE === Symbol.for('message')); +// true + +console.log(SPLAT === Symbol.for('splat')); +// true +``` + +> **NOTE:** any `{ message }` property in a `meta` object provided will +> automatically be concatenated to any `msg` already provided: For +> example the below will concatenate 'world' onto 'hello': +> +> ``` js +> logger.log('error', 'hello', { message: 'world' }); +> logger.info('hello', { message: 'world' }); +> ``` + +## Formats + +Formats in `winston` can be accessed from `winston.format`. They are +implemented in [`logform`](https://github.com/winstonjs/logform), a separate +module from `winston`. This allows flexibility when writing your own transports +in case you wish to include a default format with your transport. + +In modern versions of `node` template strings are very performant and are the +recommended way for doing most end-user formatting. If you want to bespoke +format your logs, `winston.format.printf` is for you: + +``` js +const { createLogger, format, transports } = require('winston'); +const { combine, timestamp, label, printf } = format; + +const myFormat = printf(({ level, message, label, timestamp }) => { + return `${timestamp} [${label}] ${level}: ${message}`; +}); + +const logger = createLogger({ + format: combine( + label({ label: 'right meow!' }), + timestamp(), + myFormat + ), + transports: [new transports.Console()] +}); +``` + +To see what built-in formats are available and learn more about creating your +own custom logging formats, see [`logform`][logform]. + +### Combining formats + +Any number of formats may be combined into a single format using +`format.combine`. Since `format.combine` takes no `opts`, as a convenience it +returns pre-created instance of the combined format. + +``` js +const { createLogger, format, transports } = require('winston'); +const { combine, timestamp, label, prettyPrint } = format; + +const logger = createLogger({ + format: combine( + label({ label: 'right meow!' }), + timestamp(), + prettyPrint() + ), + transports: [new transports.Console()] +}) + +logger.log({ + level: 'info', + message: 'What time is the testing at?' +}); +// Outputs: +// { level: 'info', +// message: 'What time is the testing at?', +// label: 'right meow!', +// timestamp: '2017-09-30T03:57:26.875Z' } +``` + +### String interpolation + +The `log` method provides the string interpolation using [util.format]. **It +must be enabled using `format.splat()`.** + +Below is an example that defines a format with string interpolation of +messages using `format.splat` and then serializes the entire `info` message +using `format.simple`. + +``` js +const { createLogger, format, transports } = require('winston'); +const logger = createLogger({ + format: format.combine( + format.splat(), + format.simple() + ), + transports: [new transports.Console()] +}); + +// info: test message my string {} +logger.log('info', 'test message %s', 'my string'); + +// info: test message 123 {} +logger.log('info', 'test message %d', 123); + +// info: test message first second {number: 123} +logger.log('info', 'test message %s, %s', 'first', 'second', { number: 123 }); +``` + +### Filtering `info` Objects + +If you wish to filter out a given `info` Object completely when logging then +simply return a falsey value. + +``` js +const { createLogger, format, transports } = require('winston'); + +// Ignore log messages if they have { private: true } +const ignorePrivate = format((info, opts) => { + if (info.private) { return false; } + return info; +}); + +const logger = createLogger({ + format: format.combine( + ignorePrivate(), + format.json() + ), + transports: [new transports.Console()] +}); + +// Outputs: {"level":"error","message":"Public error to share"} +logger.log({ + level: 'error', + message: 'Public error to share' +}); + +// Messages with { private: true } will not be written when logged. +logger.log({ + private: true, + level: 'error', + message: 'This is super secret - hide it.' +}); +``` + +Use of `format.combine` will respect any falsey values return and stop +evaluation of later formats in the series. For example: + +``` js +const { format } = require('winston'); +const { combine, timestamp, label } = format; + +const willNeverThrow = format.combine( + format(info => { return false })(), // Ignores everything + format(info => { throw new Error('Never reached') })() +); +``` + +### Creating custom formats + +Formats are prototypal objects (i.e. class instances) that define a single +method: `transform(info, opts)` and return the mutated `info`: + +- `info`: an object representing the log message. +- `opts`: setting specific to the current instance of the format. + +They are expected to return one of two things: + +- **An `info` Object** representing the modified `info` argument. Object +references need not be preserved if immutability is preferred. All current +built-in formats consider `info` mutable, but [immutablejs] is being +considered for future releases. +- **A falsey value** indicating that the `info` argument should be ignored by the +caller. (See: [Filtering `info` Objects](#filtering-info-objects)) below. + +`winston.format` is designed to be as simple as possible. To define a new +format, simply pass it a `transform(info, opts)` function to get a new +`Format`. + +The named `Format` returned can be used to create as many copies of the given +`Format` as desired: + +``` js +const { format } = require('winston'); + +const volume = format((info, opts) => { + if (opts.yell) { + info.message = info.message.toUpperCase(); + } else if (opts.whisper) { + info.message = info.message.toLowerCase(); + } + + return info; +}); + +// `volume` is now a function that returns instances of the format. +const scream = volume({ yell: true }); +console.dir(scream.transform({ + level: 'info', + message: `sorry for making you YELL in your head!` +}, scream.options)); +// { +// level: 'info' +// message: 'SORRY FOR MAKING YOU YELL IN YOUR HEAD!' +// } + +// `volume` can be used multiple times to create different formats. +const whisper = volume({ whisper: true }); +console.dir(whisper.transform({ + level: 'info', + message: `WHY ARE THEY MAKING US YELL SO MUCH!` +}, whisper.options)); +// { +// level: 'info' +// message: 'why are they making us yell so much!' +// } +``` + +## Logging Levels + +Logging levels in `winston` conform to the severity ordering specified by +[RFC5424]: _severity of all levels is assumed to be numerically **ascending** +from most important to least important._ + +Each `level` is given a specific integer priority. The higher the priority the +more important the message is considered to be, and the lower the +corresponding integer priority. For example, as specified exactly in RFC5424 +the `syslog` levels are prioritized from 0 to 7 (highest to lowest). + +```js +{ + emerg: 0, + alert: 1, + crit: 2, + error: 3, + warning: 4, + notice: 5, + info: 6, + debug: 7 +} +``` + +Similarly, `npm` logging levels are prioritized from 0 to 6 (highest to +lowest): + +``` js +{ + error: 0, + warn: 1, + info: 2, + http: 3, + verbose: 4, + debug: 5, + silly: 6 +} +``` + +If you do not explicitly define the levels that `winston` should use, the +`npm` levels above will be used. + +### Using Logging Levels + +Setting the level for your logging message can be accomplished in one of two +ways. You can pass a string representing the logging level to the log() method +or use the level specified methods defined on every winston Logger. + +``` js +// +// Any logger instance +// +logger.log('silly', "127.0.0.1 - there's no place like home"); +logger.log('debug', "127.0.0.1 - there's no place like home"); +logger.log('verbose', "127.0.0.1 - there's no place like home"); +logger.log('info', "127.0.0.1 - there's no place like home"); +logger.log('warn', "127.0.0.1 - there's no place like home"); +logger.log('error', "127.0.0.1 - there's no place like home"); +logger.info("127.0.0.1 - there's no place like home"); +logger.warn("127.0.0.1 - there's no place like home"); +logger.error("127.0.0.1 - there's no place like home"); + +// +// Default logger +// +winston.log('info', "127.0.0.1 - there's no place like home"); +winston.info("127.0.0.1 - there's no place like home"); +``` + +`winston` allows you to define a `level` property on each transport which +specifies the **maximum** level of messages that a transport should log. For +example, using the `syslog` levels you could log only `error` messages to the +console and everything `info` and below to a file (which includes `error` +messages): + +``` js +const logger = winston.createLogger({ + levels: winston.config.syslog.levels, + transports: [ + new winston.transports.Console({ level: 'error' }), + new winston.transports.File({ + filename: 'combined.log', + level: 'info' + }) + ] +}); +``` + +You may also dynamically change the log level of a transport: + +``` js +const transports = { + console: new winston.transports.Console({ level: 'warn' }), + file: new winston.transports.File({ filename: 'combined.log', level: 'error' }) +}; + +const logger = winston.createLogger({ + transports: [ + transports.console, + transports.file + ] +}); + +logger.info('Will not be logged in either transport!'); +transports.console.level = 'info'; +transports.file.level = 'info'; +logger.info('Will be logged in both transports!'); +``` + +`winston` supports customizable logging levels, defaulting to npm style +logging levels. Levels must be specified at the time of creating your logger. + +### Using Custom Logging Levels + +In addition to the predefined `npm`, `syslog`, and `cli` levels available in +`winston`, you can also choose to define your own: + +``` js +const myCustomLevels = { + levels: { + foo: 0, + bar: 1, + baz: 2, + foobar: 3 + }, + colors: { + foo: 'blue', + bar: 'green', + baz: 'yellow', + foobar: 'red' + } +}; + +const customLevelLogger = winston.createLogger({ + levels: myCustomLevels.levels +}); + +customLevelLogger.foobar('some foobar level-ed message'); +``` + +Although there is slight repetition in this data structure, it enables simple +encapsulation if you do not want to have colors. If you do wish to have +colors, in addition to passing the levels to the Logger itself, you must make +winston aware of them: + +``` js +winston.addColors(myCustomLevels.colors); +``` + +This enables loggers using the `colorize` formatter to appropriately color and style +the output of custom levels. + +Additionally, you can also change background color and font style. +For example, +``` js +baz: 'italic yellow', +foobar: 'bold red cyanBG' +``` + +Possible options are below. + +* Font styles: `bold`, `dim`, `italic`, `underline`, `inverse`, `hidden`, + `strikethrough`. + +* Font foreground colors: `black`, `red`, `green`, `yellow`, `blue`, `magenta`, + `cyan`, `white`, `gray`, `grey`. + +* Background colors: `blackBG`, `redBG`, `greenBG`, `yellowBG`, `blueBG` + `magentaBG`, `cyanBG`, `whiteBG` + +### Colorizing Standard logging levels + +To colorize the standard logging level add +```js +winston.format.combine( + winston.format.colorize(), + winston.format.simple() +); +``` +where `winston.format.simple()` is whatever other formatter you want to use. The `colorize` formatter must come before any formatters adding text you wish to color. + +### Colorizing full log line when json formatting logs + +To colorize the full log line with the json formatter you can apply the following + +```js +winston.format.combine( + winston.format.json(), + winston.format.colorize({ all: true }) +); +``` + +## Transports + +There are several [core transports] included in `winston`, which leverage the +built-in networking and file I/O offered by Node.js core. In addition, there +are [additional transports] written by members of the community. + +## Multiple transports of the same type + +It is possible to use multiple transports of the same type e.g. +`winston.transports.File` when you construct the transport. + +``` js +const logger = winston.createLogger({ + transports: [ + new winston.transports.File({ + filename: 'combined.log', + level: 'info' + }), + new winston.transports.File({ + filename: 'errors.log', + level: 'error' + }) + ] +}); +``` + +If you later want to remove one of these transports you can do so by using the +transport itself. e.g.: + +``` js +const combinedLogs = logger.transports.find(transport => { + return transport.filename === 'combined.log' +}); + +logger.remove(combinedLogs); +``` + +## Adding Custom Transports + +Adding a custom transport is easy. All you need to do is accept any options +you need, implement a log() method, and consume it with `winston`. + +``` js +const Transport = require('winston-transport'); +const util = require('util'); + +// +// Inherit from `winston-transport` so you can take advantage +// of the base functionality and `.exceptions.handle()`. +// +module.exports = class YourCustomTransport extends Transport { + constructor(opts) { + super(opts); + // + // Consume any custom options here. e.g.: + // - Connection information for databases + // - Authentication information for APIs (e.g. loggly, papertrail, + // logentries, etc.). + // + } + + log(info, callback) { + setImmediate(() => { + this.emit('logged', info); + }); + + // Perform the writing to the remote service + callback(); + } +}; +``` + +## Common Transport options + +As every transport inherits from [winston-transport], it's possible to set +a custom format and a custom log level on each transport separately: + +``` js +const logger = winston.createLogger({ + transports: [ + new winston.transports.File({ + filename: 'error.log', + level: 'error', + format: winston.format.json() + }), + new winston.transports.Http({ + level: 'warn', + format: winston.format.json() + }), + new winston.transports.Console({ + level: 'info', + format: winston.format.combine( + winston.format.colorize(), + winston.format.simple() + ) + }) + ] +}); +``` + +## Exceptions + +### Handling Uncaught Exceptions with winston + +With `winston`, it is possible to catch and log `uncaughtException` events +from your process. With your own logger instance you can enable this behavior +when it's created or later on in your applications lifecycle: + +``` js +const { createLogger, transports } = require('winston'); + +// Enable exception handling when you create your logger. +const logger = createLogger({ + transports: [ + new transports.File({ filename: 'combined.log' }) + ], + exceptionHandlers: [ + new transports.File({ filename: 'exceptions.log' }) + ] +}); + +// Or enable it later on by adding a transport or using `.exceptions.handle` +const logger = createLogger({ + transports: [ + new transports.File({ filename: 'combined.log' }) + ] +}); + +// Call exceptions.handle with a transport to handle exceptions +logger.exceptions.handle( + new transports.File({ filename: 'exceptions.log' }) +); +``` + +If you want to use this feature with the default logger, simply call +`.exceptions.handle()` with a transport instance. + +``` js +// +// You can add a separate exception logger by passing it to `.exceptions.handle` +// +winston.exceptions.handle( + new winston.transports.File({ filename: 'path/to/exceptions.log' }) +); + +// +// Alternatively you can set `handleExceptions` to true when adding transports +// to winston. +// +winston.add(new winston.transports.File({ + filename: 'path/to/combined.log', + handleExceptions: true +})); +``` + +### To Exit or Not to Exit + +By default, winston will exit after logging an uncaughtException. If this is +not the behavior you want, set `exitOnError = false` + +``` js +const logger = winston.createLogger({ exitOnError: false }); + +// +// or, like this: +// +logger.exitOnError = false; +``` + +When working with custom logger instances, you can pass in separate transports +to the `exceptionHandlers` property or set `handleExceptions` on any +transport. + +##### Example 1 + +``` js +const logger = winston.createLogger({ + transports: [ + new winston.transports.File({ filename: 'path/to/combined.log' }) + ], + exceptionHandlers: [ + new winston.transports.File({ filename: 'path/to/exceptions.log' }) + ] +}); +``` + +##### Example 2 + +``` js +const logger = winston.createLogger({ + transports: [ + new winston.transports.Console({ + handleExceptions: true + }) + ], + exitOnError: false +}); +``` + +The `exitOnError` option can also be a function to prevent exit on only +certain types of errors: + +``` js +function ignoreEpipe(err) { + return err.code !== 'EPIPE'; +} + +const logger = winston.createLogger({ exitOnError: ignoreEpipe }); + +// +// or, like this: +// +logger.exitOnError = ignoreEpipe; +``` + +## Rejections + +### Handling Uncaught Promise Rejections with winston + +With `winston`, it is possible to catch and log `unhandledRejection` events +from your process. With your own logger instance you can enable this behavior +when it's created or later on in your applications lifecycle: + +``` js +const { createLogger, transports } = require('winston'); + +// Enable rejection handling when you create your logger. +const logger = createLogger({ + transports: [ + new transports.File({ filename: 'combined.log' }) + ], + rejectionHandlers: [ + new transports.File({ filename: 'rejections.log' }) + ] +}); + +// Or enable it later on by adding a transport or using `.rejections.handle` +const logger = createLogger({ + transports: [ + new transports.File({ filename: 'combined.log' }) + ] +}); + +// Call rejections.handle with a transport to handle rejections +logger.rejections.handle( + new transports.File({ filename: 'rejections.log' }) +); +``` + +If you want to use this feature with the default logger, simply call +`.rejections.handle()` with a transport instance. + +``` js +// +// You can add a separate rejection logger by passing it to `.rejections.handle` +// +winston.rejections.handle( + new winston.transports.File({ filename: 'path/to/rejections.log' }) +); + +// +// Alternatively you can set `handleRejections` to true when adding transports +// to winston. +// +winston.add(new winston.transports.File({ + filename: 'path/to/combined.log', + handleRejections: true +})); +``` + +## Profiling + +In addition to logging messages and metadata, `winston` also has a simple +profiling mechanism implemented for any logger: + +``` js +// +// Start profile of 'test' +// +logger.profile('test'); + +setTimeout(function () { + // + // Stop profile of 'test'. Logging will now take place: + // '17 Jan 21:00:00 - info: test duration=1000ms' + // + logger.profile('test'); +}, 1000); +``` + +Also you can start a timer and keep a reference that you can call `.done()` +on: + +``` js + // Returns an object corresponding to a specific timing. When done + // is called the timer will finish and log the duration. e.g.: + // + const profiler = logger.startTimer(); + setTimeout(function () { + profiler.done({ message: 'Logging message' }); + }, 1000); +``` + +All profile messages are set to 'info' level by default, and both message and +metadata are optional. For individual profile messages, you can override the default log level by supplying a metadata object with a `level` property: + +```js +logger.profile('test', { level: 'debug' }); +``` + +## Querying Logs + +`winston` supports querying of logs with Loggly-like options. [See Loggly +Search API](https://www.loggly.com/docs/api-retrieving-data/). Specifically: +`File`, `Couchdb`, `Redis`, `Loggly`, `Nssocket`, and `Http`. + +``` js +const options = { + from: new Date() - (24 * 60 * 60 * 1000), + until: new Date(), + limit: 10, + start: 0, + order: 'desc', + fields: ['message'] +}; + +// +// Find items logged between today and yesterday. +// +logger.query(options, function (err, results) { + if (err) { + /* TODO: handle me */ + throw err; + } + + console.log(results); +}); +``` + +## Streaming Logs +Streaming allows you to stream your logs back from your chosen transport. + +``` js +// +// Start at the end. +// +winston.stream({ start: -1 }).on('log', function(log) { + console.log(log); +}); +``` + +## Further Reading + +### Using the Default Logger + +The default logger is accessible through the `winston` module directly. Any +method that you could call on an instance of a logger is available on the +default logger: + +``` js +const winston = require('winston'); + +winston.log('info', 'Hello distributed log files!'); +winston.info('Hello again distributed logs'); + +winston.level = 'debug'; +winston.log('debug', 'Now my debug messages are written to console!'); +``` + +By default, no transports are set on the default logger. You must +add or remove transports via the `add()` and `remove()` methods: + +``` js +const files = new winston.transports.File({ filename: 'combined.log' }); +const console = new winston.transports.Console(); + +winston.add(console); +winston.add(files); +winston.remove(console); +``` + +Or do it with one call to configure(): + +``` js +winston.configure({ + transports: [ + new winston.transports.File({ filename: 'somefile.log' }) + ] +}); +``` + +For more documentation about working with each individual transport supported +by `winston` see the [`winston` Transports](docs/transports.md) document. + +### Awaiting logs to be written in `winston` + +Often it is useful to wait for your logs to be written before exiting the +process. Each instance of `winston.Logger` is also a [Node.js stream]. A +`finish` event will be raised when all logs have flushed to all transports +after the stream has been ended. + +``` js +const transport = new winston.transports.Console(); +const logger = winston.createLogger({ + transports: [transport] +}); + +logger.on('finish', function (info) { + // All `info` log messages has now been logged +}); + +logger.info('CHILL WINSTON!', { seriously: true }); +logger.end(); +``` + +It is also worth mentioning that the logger also emits an 'error' event +if an error occurs within the logger itself which +you should handle or suppress if you don't want unhandled exceptions: + +``` js +// +// Handle errors originating in the logger itself +// +logger.on('error', function (err) { /* Do Something */ }); +``` + +### Working with multiple Loggers in winston + +Often in larger, more complex, applications it is necessary to have multiple +logger instances with different settings. Each logger is responsible for a +different feature area (or category). This is exposed in `winston` in two +ways: through `winston.loggers` and instances of `winston.Container`. In fact, +`winston.loggers` is just a predefined instance of `winston.Container`: + +``` js +const winston = require('winston'); +const { format } = winston; +const { combine, label, json } = format; + +// +// Configure the logger for `category1` +// +winston.loggers.add('category1', { + format: combine( + label({ label: 'category one' }), + json() + ), + transports: [ + new winston.transports.Console({ level: 'silly' }), + new winston.transports.File({ filename: 'somefile.log' }) + ] +}); + +// +// Configure the logger for `category2` +// +winston.loggers.add('category2', { + format: combine( + label({ label: 'category two' }), + json() + ), + transports: [ + new winston.transports.Http({ host: 'localhost', port:8080 }) + ] +}); +``` + +Now that your loggers are setup, you can require winston _in any file in your +application_ and access these pre-configured loggers: + +``` js +const winston = require('winston'); + +// +// Grab your preconfigured loggers +// +const category1 = winston.loggers.get('category1'); +const category2 = winston.loggers.get('category2'); + +category1.info('logging to file and console transports'); +category2.info('logging to http transport'); +``` + +If you prefer to manage the `Container` yourself, you can simply instantiate one: + +``` js +const winston = require('winston'); +const { format } = winston; +const { combine, label, json } = format; + +const container = new winston.Container(); + +container.add('category1', { + format: combine( + label({ label: 'category one' }), + json() + ), + transports: [ + new winston.transports.Console({ level: 'silly' }), + new winston.transports.File({ filename: 'somefile.log' }) + ] +}); + +const category1 = container.get('category1'); +category1.info('logging to file and console transports'); +``` + +### Routing Console transport messages to the console instead of stdout and stderr + +By default the `winston.transports.Console` transport sends messages to `stdout` and `stderr`. This +is fine in most situations; however, there are some cases where this isn't desirable, including: + +- Debugging using VSCode and attaching to, rather than launching, a Node.js process +- Writing JSON format messages in AWS Lambda +- Logging during Jest tests with the `--silent` option + +To make the transport log use `console.log()`, `console.warn()` and `console.error()` +instead, set the `forceConsole` option to `true`: + +```js +const logger = winston.createLogger({ + level: 'info', + transports: [new winston.transports.Console({ forceConsole: true })] +}); +``` + +## Installation + +``` bash +npm install winston +``` + +``` bash +yarn add winston +``` + +## Run Tests + +``` bash +npm test # Runs all tests +npm run test:unit # Runs all Unit tests with coverage +npm run test:integration # Runs all integration tests +npm run test:typescript # Runs tests verifying Typescript types +``` + +All of the winston tests are written with [jest]. Assertions use a mix of [assume] and the built-in jest assertion library. + +#### Author: [Charlie Robbins] +#### Contributors: [Jarrett Cruger], [David Hyde], [Chris Alderson], [Jonathon Terry] + +[Transports]: #transports +[Logging levels]: #logging-levels +[Formats]: #formats +[Using custom logging levels]: #using-custom-logging-levels +[Adding Custom Transports]: #adding-custom-transports +[core transports]: docs/transports.md#winston-core +[additional transports]: docs/transports.md#additional-transports + +[RFC5424]: https://tools.ietf.org/html/rfc5424 +[util.format]: https://nodejs.org/dist/latest/docs/api/util.html#util_util_format_format_args +[assume]: https://github.com/bigpipe/assume +[logform]: https://github.com/winstonjs/logform#readme +[winston-transport]: https://github.com/winstonjs/winston-transport +[jest]: https://jestjs.io/ + +[Read the `winston@2.x` documentation]: https://github.com/winstonjs/winston/tree/2.x + +[quick-example]: https://github.com/winstonjs/winston/blob/master/examples/quick-start.js +[examples]: https://github.com/winstonjs/winston/tree/master/examples + +[Charlie Robbins]: http://github.com/indexzero +[Jarrett Cruger]: https://github.com/jcrugzz +[David Hyde]: https://github.com/dabh +[Chris Alderson]: https://github.com/chrisalderson +[Jonathon Terry]: https://github.com/maverick1872 diff --git a/node_modules/winston/dist/winston.js b/node_modules/winston/dist/winston.js new file mode 100644 index 0000000..45ed869 --- /dev/null +++ b/node_modules/winston/dist/winston.js @@ -0,0 +1,171 @@ +/** + * winston.js: Top-level include defining Winston. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +var logform = require('logform'); +var _require = require('./winston/common'), + warn = _require.warn; + +/** + * Expose version. Use `require` method for `webpack` support. + * @type {string} + */ +exports.version = require('../package.json').version; +/** + * Include transports defined by default by winston + * @type {Array} + */ +exports.transports = require('./winston/transports'); +/** + * Expose utility methods + * @type {Object} + */ +exports.config = require('./winston/config'); +/** + * Hoist format-related functionality from logform. + * @type {Object} + */ +exports.addColors = logform.levels; +/** + * Hoist format-related functionality from logform. + * @type {Object} + */ +exports.format = logform.format; +/** + * Expose core Logging-related prototypes. + * @type {function} + */ +exports.createLogger = require('./winston/create-logger'); +/** + * Expose core Logging-related prototypes. + * @type {function} + */ +exports.Logger = require('./winston/logger'); +/** + * Expose core Logging-related prototypes. + * @type {Object} + */ +exports.ExceptionHandler = require('./winston/exception-handler'); +/** + * Expose core Logging-related prototypes. + * @type {Object} + */ +exports.RejectionHandler = require('./winston/rejection-handler'); +/** + * Expose core Logging-related prototypes. + * @type {Container} + */ +exports.Container = require('./winston/container'); +/** + * Expose core Logging-related prototypes. + * @type {Object} + */ +exports.Transport = require('winston-transport'); +/** + * We create and expose a default `Container` to `winston.loggers` so that the + * programmer may manage multiple `winston.Logger` instances without any + * additional overhead. + * @example + * // some-file1.js + * const logger = require('winston').loggers.get('something'); + * + * // some-file2.js + * const logger = require('winston').loggers.get('something'); + */ +exports.loggers = new exports.Container(); + +/** + * We create and expose a 'defaultLogger' so that the programmer may do the + * following without the need to create an instance of winston.Logger directly: + * @example + * const winston = require('winston'); + * winston.log('info', 'some message'); + * winston.error('some error'); + */ +var defaultLogger = exports.createLogger(); + +// Pass through the target methods onto `winston. +Object.keys(exports.config.npm.levels).concat(['log', 'query', 'stream', 'add', 'remove', 'clear', 'profile', 'startTimer', 'handleExceptions', 'unhandleExceptions', 'handleRejections', 'unhandleRejections', 'configure', 'child']).forEach(function (method) { + return exports[method] = function () { + return defaultLogger[method].apply(defaultLogger, arguments); + }; +}); + +/** + * Define getter / setter for the default logger level which need to be exposed + * by winston. + * @type {string} + */ +Object.defineProperty(exports, 'level', { + get: function get() { + return defaultLogger.level; + }, + set: function set(val) { + defaultLogger.level = val; + } +}); + +/** + * Define getter for `exceptions` which replaces `handleExceptions` and + * `unhandleExceptions`. + * @type {Object} + */ +Object.defineProperty(exports, 'exceptions', { + get: function get() { + return defaultLogger.exceptions; + } +}); + +/** + * Define getter for `rejections` which replaces `handleRejections` and + * `unhandleRejections`. + * @type {Object} + */ +Object.defineProperty(exports, 'rejections', { + get: function get() { + return defaultLogger.rejections; + } +}); + +/** + * Define getters / setters for appropriate properties of the default logger + * which need to be exposed by winston. + * @type {Logger} + */ +['exitOnError'].forEach(function (prop) { + Object.defineProperty(exports, prop, { + get: function get() { + return defaultLogger[prop]; + }, + set: function set(val) { + defaultLogger[prop] = val; + } + }); +}); + +/** + * The default transports and exceptionHandlers for the default winston logger. + * @type {Object} + */ +Object.defineProperty(exports, 'default', { + get: function get() { + return { + exceptionHandlers: defaultLogger.exceptionHandlers, + rejectionHandlers: defaultLogger.rejectionHandlers, + transports: defaultLogger.transports + }; + } +}); + +// Have friendlier breakage notices for properties that were exposed by default +// on winston < 3.0. +warn.deprecated(exports, 'setLevels'); +warn.forFunctions(exports, 'useFormat', ['cli']); +warn.forProperties(exports, 'useFormat', ['padLevels', 'stripColors']); +warn.forFunctions(exports, 'deprecated', ['addRewriter', 'addFilter', 'clone', 'extend']); +warn.forProperties(exports, 'deprecated', ['emitErrs', 'levelLength']); \ No newline at end of file diff --git a/node_modules/winston/dist/winston/common.js b/node_modules/winston/dist/winston/common.js new file mode 100644 index 0000000..38d7688 --- /dev/null +++ b/node_modules/winston/dist/winston/common.js @@ -0,0 +1,44 @@ +/** + * common.js: Internal helper and utility functions for winston. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +var _require = require('util'), + format = _require.format; + +/** + * Set of simple deprecation notices and a way to expose them for a set of + * properties. + * @type {Object} + * @private + */ +exports.warn = { + deprecated: function deprecated(prop) { + return function () { + throw new Error(format('{ %s } was removed in winston@3.0.0.', prop)); + }; + }, + useFormat: function useFormat(prop) { + return function () { + throw new Error([format('{ %s } was removed in winston@3.0.0.', prop), 'Use a custom winston.format = winston.format(function) instead.'].join('\n')); + }; + }, + forFunctions: function forFunctions(obj, type, props) { + props.forEach(function (prop) { + obj[prop] = exports.warn[type](prop); + }); + }, + forProperties: function forProperties(obj, type, props) { + props.forEach(function (prop) { + var notice = exports.warn[type](prop); + Object.defineProperty(obj, prop, { + get: notice, + set: notice + }); + }); + } +}; \ No newline at end of file diff --git a/node_modules/winston/dist/winston/config/index.js b/node_modules/winston/dist/winston/config/index.js new file mode 100644 index 0000000..17bd718 --- /dev/null +++ b/node_modules/winston/dist/winston/config/index.js @@ -0,0 +1,36 @@ +/** + * index.js: Default settings for all levels that winston knows about. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +var logform = require('logform'); +var _require = require('triple-beam'), + configs = _require.configs; + +/** + * Export config set for the CLI. + * @type {Object} + */ +exports.cli = logform.levels(configs.cli); + +/** + * Export config set for npm. + * @type {Object} + */ +exports.npm = logform.levels(configs.npm); + +/** + * Export config set for the syslog. + * @type {Object} + */ +exports.syslog = logform.levels(configs.syslog); + +/** + * Hoist addColors from logform where it was refactored into in winston@3. + * @type {Object} + */ +exports.addColors = logform.levels; \ No newline at end of file diff --git a/node_modules/winston/dist/winston/container.js b/node_modules/winston/dist/winston/container.js new file mode 100644 index 0000000..e578d86 --- /dev/null +++ b/node_modules/winston/dist/winston/container.js @@ -0,0 +1,141 @@ +/** + * container.js: Inversion of control container for winston logger instances. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); } +function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } } +function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; } +function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } +function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } +var createLogger = require('./create-logger'); + +/** + * Inversion of control container for winston logger instances. + * @type {Container} + */ +module.exports = /*#__PURE__*/function () { + /** + * Constructor function for the Container object responsible for managing a + * set of `winston.Logger` instances based on string ids. + * @param {!Object} [options={}] - Default pass-thru options for Loggers. + */ + function Container() { + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + _classCallCheck(this, Container); + this.loggers = new Map(); + this.options = options; + } + + /** + * Retrieves a `winston.Logger` instance for the specified `id`. If an + * instance does not exist, one is created. + * @param {!string} id - The id of the Logger to get. + * @param {?Object} [options] - Options for the Logger instance. + * @returns {Logger} - A configured Logger instance with a specified id. + */ + return _createClass(Container, [{ + key: "add", + value: function add(id, options) { + var _this = this; + if (!this.loggers.has(id)) { + // Remark: Simple shallow clone for configuration options in case we pass + // in instantiated protoypal objects + options = Object.assign({}, options || this.options); + var existing = options.transports || this.options.transports; + + // Remark: Make sure if we have an array of transports we slice it to + // make copies of those references. + if (existing) { + options.transports = Array.isArray(existing) ? existing.slice() : [existing]; + } else { + options.transports = []; + } + var logger = createLogger(options); + logger.on('close', function () { + return _this._delete(id); + }); + this.loggers.set(id, logger); + } + return this.loggers.get(id); + } + + /** + * Retreives a `winston.Logger` instance for the specified `id`. If + * an instance does not exist, one is created. + * @param {!string} id - The id of the Logger to get. + * @param {?Object} [options] - Options for the Logger instance. + * @returns {Logger} - A configured Logger instance with a specified id. + */ + }, { + key: "get", + value: function get(id, options) { + return this.add(id, options); + } + + /** + * Check if the container has a logger with the id. + * @param {?string} id - The id of the Logger instance to find. + * @returns {boolean} - Boolean value indicating if this instance has a + * logger with the specified `id`. + */ + }, { + key: "has", + value: function has(id) { + return !!this.loggers.has(id); + } + + /** + * Closes a `Logger` instance with the specified `id` if it exists. + * If no `id` is supplied then all Loggers are closed. + * @param {?string} id - The id of the Logger instance to close. + * @returns {undefined} + */ + }, { + key: "close", + value: function close(id) { + var _this2 = this; + if (id) { + return this._removeLogger(id); + } + this.loggers.forEach(function (val, key) { + return _this2._removeLogger(key); + }); + } + + /** + * Remove a logger based on the id. + * @param {!string} id - The id of the logger to remove. + * @returns {undefined} + * @private + */ + }, { + key: "_removeLogger", + value: function _removeLogger(id) { + if (!this.loggers.has(id)) { + return; + } + var logger = this.loggers.get(id); + logger.close(); + this._delete(id); + } + + /** + * Deletes a `Logger` instance with the specified `id`. + * @param {!string} id - The id of the Logger instance to delete from + * container. + * @returns {undefined} + * @private + */ + }, { + key: "_delete", + value: function _delete(id) { + this.loggers["delete"](id); + } + }]); +}(); \ No newline at end of file diff --git a/node_modules/winston/dist/winston/create-logger.js b/node_modules/winston/dist/winston/create-logger.js new file mode 100644 index 0000000..aec55ce --- /dev/null +++ b/node_modules/winston/dist/winston/create-logger.js @@ -0,0 +1,123 @@ +/** + * create-logger.js: Logger factory for winston logger instances. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } } +function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; } +function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } +function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } +function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); } +function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); } +function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); } +function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } +function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } +function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); } +function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); } +function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); } +var _require = require('triple-beam'), + LEVEL = _require.LEVEL; +var config = require('./config'); +var Logger = require('./logger'); +var debug = require('@dabh/diagnostics')('winston:create-logger'); +function isLevelEnabledFunctionName(level) { + return 'is' + level.charAt(0).toUpperCase() + level.slice(1) + 'Enabled'; +} + +/** + * Create a new instance of a winston Logger. Creates a new + * prototype for each instance. + * @param {!Object} opts - Options for the created logger. + * @returns {Logger} - A newly created logger instance. + */ +module.exports = function () { + var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + // + // Default levels: npm + // + opts.levels = opts.levels || config.npm.levels; + + /** + * DerivedLogger to attach the logs level methods. + * @type {DerivedLogger} + * @extends {Logger} + */ + var DerivedLogger = /*#__PURE__*/function (_Logger) { + /** + * Create a new class derived logger for which the levels can be attached to + * the prototype of. This is a V8 optimization that is well know to increase + * performance of prototype functions. + * @param {!Object} options - Options for the created logger. + */ + function DerivedLogger(options) { + _classCallCheck(this, DerivedLogger); + return _callSuper(this, DerivedLogger, [options]); + } + _inherits(DerivedLogger, _Logger); + return _createClass(DerivedLogger); + }(Logger); + var logger = new DerivedLogger(opts); + + // + // Create the log level methods for the derived logger. + // + Object.keys(opts.levels).forEach(function (level) { + debug('Define prototype method for "%s"', level); + if (level === 'log') { + // eslint-disable-next-line no-console + console.warn('Level "log" not defined: conflicts with the method "log". Use a different level name.'); + return; + } + + // + // Define prototype methods for each log level e.g.: + // logger.log('info', msg) implies these methods are defined: + // - logger.info(msg) + // - logger.isInfoEnabled() + // + // Remark: to support logger.child this **MUST** be a function + // so it'll always be called on the instance instead of a fixed + // place in the prototype chain. + // + DerivedLogger.prototype[level] = function () { + // Prefer any instance scope, but default to "root" logger + var self = this || logger; + + // Optimize the hot-path which is the single object. + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + if (args.length === 1) { + var msg = args[0]; + var info = msg && msg.message && msg || { + message: msg + }; + info.level = info[LEVEL] = level; + self._addDefaultMeta(info); + self.write(info); + return this || logger; + } + + // When provided nothing assume the empty string + if (args.length === 0) { + self.log(level, ''); + return self; + } + + // Otherwise build argument list which could potentially conform to + // either: + // . v3 API: log(obj) + // 2. v1/v2 API: log(level, msg, ... [string interpolate], [{metadata}], [callback]) + return self.log.apply(self, [level].concat(args)); + }; + DerivedLogger.prototype[isLevelEnabledFunctionName(level)] = function () { + return (this || logger).isLevelEnabled(level); + }; + }); + return logger; +}; \ No newline at end of file diff --git a/node_modules/winston/dist/winston/exception-handler.js b/node_modules/winston/dist/winston/exception-handler.js new file mode 100644 index 0000000..435f8e5 --- /dev/null +++ b/node_modules/winston/dist/winston/exception-handler.js @@ -0,0 +1,265 @@ +/** + * exception-handler.js: Object for handling uncaughtException events. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); } +function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } } +function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; } +function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } +function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } +var os = require('os'); +var asyncForEach = require('async/forEach'); +var debug = require('@dabh/diagnostics')('winston:exception'); +var once = require('one-time'); +var stackTrace = require('stack-trace'); +var ExceptionStream = require('./exception-stream'); + +/** + * Object for handling uncaughtException events. + * @type {ExceptionHandler} + */ +module.exports = /*#__PURE__*/function () { + /** + * TODO: add contructor description + * @param {!Logger} logger - TODO: add param description + */ + function ExceptionHandler(logger) { + _classCallCheck(this, ExceptionHandler); + if (!logger) { + throw new Error('Logger is required to handle exceptions'); + } + this.logger = logger; + this.handlers = new Map(); + } + + /** + * Handles `uncaughtException` events for the current process by adding any + * handlers passed in. + * @returns {undefined} + */ + return _createClass(ExceptionHandler, [{ + key: "handle", + value: function handle() { + var _this = this; + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + args.forEach(function (arg) { + if (Array.isArray(arg)) { + return arg.forEach(function (handler) { + return _this._addHandler(handler); + }); + } + _this._addHandler(arg); + }); + if (!this.catcher) { + this.catcher = this._uncaughtException.bind(this); + process.on('uncaughtException', this.catcher); + } + } + + /** + * Removes any handlers to `uncaughtException` events for the current + * process. This does not modify the state of the `this.handlers` set. + * @returns {undefined} + */ + }, { + key: "unhandle", + value: function unhandle() { + var _this2 = this; + if (this.catcher) { + process.removeListener('uncaughtException', this.catcher); + this.catcher = false; + Array.from(this.handlers.values()).forEach(function (wrapper) { + return _this2.logger.unpipe(wrapper); + }); + } + } + + /** + * TODO: add method description + * @param {Error} err - Error to get information about. + * @returns {mixed} - TODO: add return description. + */ + }, { + key: "getAllInfo", + value: function getAllInfo(err) { + var message = null; + if (err) { + message = typeof err === 'string' ? err : err.message; + } + return { + error: err, + // TODO (indexzero): how do we configure this? + level: 'error', + message: ["uncaughtException: ".concat(message || '(no error message)'), err && err.stack || ' No stack trace'].join('\n'), + stack: err && err.stack, + exception: true, + date: new Date().toString(), + process: this.getProcessInfo(), + os: this.getOsInfo(), + trace: this.getTrace(err) + }; + } + + /** + * Gets all relevant process information for the currently running process. + * @returns {mixed} - TODO: add return description. + */ + }, { + key: "getProcessInfo", + value: function getProcessInfo() { + return { + pid: process.pid, + uid: process.getuid ? process.getuid() : null, + gid: process.getgid ? process.getgid() : null, + cwd: process.cwd(), + execPath: process.execPath, + version: process.version, + argv: process.argv, + memoryUsage: process.memoryUsage() + }; + } + + /** + * Gets all relevant OS information for the currently running process. + * @returns {mixed} - TODO: add return description. + */ + }, { + key: "getOsInfo", + value: function getOsInfo() { + return { + loadavg: os.loadavg(), + uptime: os.uptime() + }; + } + + /** + * Gets a stack trace for the specified error. + * @param {mixed} err - TODO: add param description. + * @returns {mixed} - TODO: add return description. + */ + }, { + key: "getTrace", + value: function getTrace(err) { + var trace = err ? stackTrace.parse(err) : stackTrace.get(); + return trace.map(function (site) { + return { + column: site.getColumnNumber(), + file: site.getFileName(), + "function": site.getFunctionName(), + line: site.getLineNumber(), + method: site.getMethodName(), + "native": site.isNative() + }; + }); + } + + /** + * Helper method to add a transport as an exception handler. + * @param {Transport} handler - The transport to add as an exception handler. + * @returns {void} + */ + }, { + key: "_addHandler", + value: function _addHandler(handler) { + if (!this.handlers.has(handler)) { + handler.handleExceptions = true; + var wrapper = new ExceptionStream(handler); + this.handlers.set(handler, wrapper); + this.logger.pipe(wrapper); + } + } + + /** + * Logs all relevant information around the `err` and exits the current + * process. + * @param {Error} err - Error to handle + * @returns {mixed} - TODO: add return description. + * @private + */ + }, { + key: "_uncaughtException", + value: function _uncaughtException(err) { + var info = this.getAllInfo(err); + var handlers = this._getExceptionHandlers(); + // Calculate if we should exit on this error + var doExit = typeof this.logger.exitOnError === 'function' ? this.logger.exitOnError(err) : this.logger.exitOnError; + var timeout; + if (!handlers.length && doExit) { + // eslint-disable-next-line no-console + console.warn('winston: exitOnError cannot be true with no exception handlers.'); + // eslint-disable-next-line no-console + console.warn('winston: not exiting process.'); + doExit = false; + } + function gracefulExit() { + debug('doExit', doExit); + debug('process._exiting', process._exiting); + if (doExit && !process._exiting) { + // Remark: Currently ignoring any exceptions from transports when + // catching uncaught exceptions. + if (timeout) { + clearTimeout(timeout); + } + // eslint-disable-next-line no-process-exit + process.exit(1); + } + } + if (!handlers || handlers.length === 0) { + return process.nextTick(gracefulExit); + } + + // Log to all transports attempting to listen for when they are completed. + asyncForEach(handlers, function (handler, next) { + var done = once(next); + var transport = handler.transport || handler; + + // Debug wrapping so that we can inspect what's going on under the covers. + function onDone(event) { + return function () { + debug(event); + done(); + }; + } + transport._ending = true; + transport.once('finish', onDone('finished')); + transport.once('error', onDone('error')); + }, function () { + return doExit && gracefulExit(); + }); + this.logger.log(info); + + // If exitOnError is true, then only allow the logging of exceptions to + // take up to `3000ms`. + if (doExit) { + timeout = setTimeout(gracefulExit, 3000); + } + } + + /** + * Returns the list of transports and exceptionHandlers for this instance. + * @returns {Array} - List of transports and exceptionHandlers for this + * instance. + * @private + */ + }, { + key: "_getExceptionHandlers", + value: function _getExceptionHandlers() { + // Remark (indexzero): since `logger.transports` returns all of the pipes + // from the _readableState of the stream we actually get the join of the + // explicit handlers and the implicit transports with + // `handleExceptions: true` + return this.logger.transports.filter(function (wrap) { + var transport = wrap.transport || wrap; + return transport.handleExceptions; + }); + } + }]); +}(); \ No newline at end of file diff --git a/node_modules/winston/dist/winston/exception-stream.js b/node_modules/winston/dist/winston/exception-stream.js new file mode 100644 index 0000000..d0d7f80 --- /dev/null +++ b/node_modules/winston/dist/winston/exception-stream.js @@ -0,0 +1,75 @@ +/** + * exception-stream.js: TODO: add file header handler. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); } +function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } } +function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; } +function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } +function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } +function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); } +function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); } +function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } +function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } +function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); } +function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); } +function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); } +var _require = require('readable-stream'), + Writable = _require.Writable; + +/** + * TODO: add class description. + * @type {ExceptionStream} + * @extends {Writable} + */ +module.exports = /*#__PURE__*/function (_Writable) { + /** + * Constructor function for the ExceptionStream responsible for wrapping a + * TransportStream; only allowing writes of `info` objects with + * `info.exception` set to true. + * @param {!TransportStream} transport - Stream to filter to exceptions + */ + function ExceptionStream(transport) { + var _this; + _classCallCheck(this, ExceptionStream); + _this = _callSuper(this, ExceptionStream, [{ + objectMode: true + }]); + if (!transport) { + throw new Error('ExceptionStream requires a TransportStream instance.'); + } + + // Remark (indexzero): we set `handleExceptions` here because it's the + // predicate checked in ExceptionHandler.prototype.__getExceptionHandlers + _this.handleExceptions = true; + _this.transport = transport; + return _this; + } + + /** + * Writes the info object to our transport instance if (and only if) the + * `exception` property is set on the info. + * @param {mixed} info - TODO: add param description. + * @param {mixed} enc - TODO: add param description. + * @param {mixed} callback - TODO: add param description. + * @returns {mixed} - TODO: add return description. + * @private + */ + _inherits(ExceptionStream, _Writable); + return _createClass(ExceptionStream, [{ + key: "_write", + value: function _write(info, enc, callback) { + if (info.exception) { + return this.transport.log(info, callback); + } + callback(); + return true; + } + }]); +}(Writable); \ No newline at end of file diff --git a/node_modules/winston/dist/winston/logger.js b/node_modules/winston/dist/winston/logger.js new file mode 100644 index 0000000..ea513a4 --- /dev/null +++ b/node_modules/winston/dist/winston/logger.js @@ -0,0 +1,697 @@ +/** + * logger.js: TODO: add file header description. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; } +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); } +function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } } +function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; } +function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } +function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } +function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); } +function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); } +function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } +function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } +function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); } +function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); } +function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); } +var _require = require('readable-stream'), + Stream = _require.Stream, + Transform = _require.Transform; +var asyncForEach = require('async/forEach'); +var _require2 = require('triple-beam'), + LEVEL = _require2.LEVEL, + SPLAT = _require2.SPLAT; +var isStream = require('is-stream'); +var ExceptionHandler = require('./exception-handler'); +var RejectionHandler = require('./rejection-handler'); +var LegacyTransportStream = require('winston-transport/legacy'); +var Profiler = require('./profiler'); +var _require3 = require('./common'), + warn = _require3.warn; +var config = require('./config'); + +/** + * Captures the number of format (i.e. %s strings) in a given string. + * Based on `util.format`, see Node.js source: + * https://github.com/nodejs/node/blob/b1c8f15c5f169e021f7c46eb7b219de95fe97603/lib/util.js#L201-L230 + * @type {RegExp} + */ +var formatRegExp = /%[scdjifoO%]/g; + +/** + * TODO: add class description. + * @type {Logger} + * @extends {Transform} + */ +var Logger = /*#__PURE__*/function (_Transform) { + /** + * Constructor function for the Logger object responsible for persisting log + * messages and metadata to one or more transports. + * @param {!Object} options - foo + */ + function Logger(options) { + var _this; + _classCallCheck(this, Logger); + _this = _callSuper(this, Logger, [{ + objectMode: true + }]); + _this.configure(options); + return _this; + } + _inherits(Logger, _Transform); + return _createClass(Logger, [{ + key: "child", + value: function child(defaultRequestMetadata) { + var logger = this; + return Object.create(logger, { + write: { + value: function value(info) { + var infoClone = Object.assign({}, defaultRequestMetadata, info); + + // Object.assign doesn't copy inherited Error + // properties so we have to do that explicitly + // + // Remark (indexzero): we should remove this + // since the errors format will handle this case. + // + if (info instanceof Error) { + infoClone.stack = info.stack; + infoClone.message = info.message; + infoClone.cause = info.cause; + } + logger.write(infoClone); + } + } + }); + } + + /** + * This will wholesale reconfigure this instance by: + * 1. Resetting all transports. Older transports will be removed implicitly. + * 2. Set all other options including levels, colors, rewriters, filters, + * exceptionHandlers, etc. + * @param {!Object} options - TODO: add param description. + * @returns {undefined} + */ + }, { + key: "configure", + value: function configure() { + var _this2 = this; + var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + silent = _ref.silent, + format = _ref.format, + defaultMeta = _ref.defaultMeta, + levels = _ref.levels, + _ref$level = _ref.level, + level = _ref$level === void 0 ? 'info' : _ref$level, + _ref$exitOnError = _ref.exitOnError, + exitOnError = _ref$exitOnError === void 0 ? true : _ref$exitOnError, + transports = _ref.transports, + colors = _ref.colors, + emitErrs = _ref.emitErrs, + formatters = _ref.formatters, + padLevels = _ref.padLevels, + rewriters = _ref.rewriters, + stripColors = _ref.stripColors, + exceptionHandlers = _ref.exceptionHandlers, + rejectionHandlers = _ref.rejectionHandlers; + // Reset transports if we already have them + if (this.transports.length) { + this.clear(); + } + this.silent = silent; + this.format = format || this.format || require('logform/json')(); + this.defaultMeta = defaultMeta || null; + // Hoist other options onto this instance. + this.levels = levels || this.levels || config.npm.levels; + this.level = level; + if (this.exceptions) { + this.exceptions.unhandle(); + } + if (this.rejections) { + this.rejections.unhandle(); + } + this.exceptions = new ExceptionHandler(this); + this.rejections = new RejectionHandler(this); + this.profilers = {}; + this.exitOnError = exitOnError; + + // Add all transports we have been provided. + if (transports) { + transports = Array.isArray(transports) ? transports : [transports]; + transports.forEach(function (transport) { + return _this2.add(transport); + }); + } + if (colors || emitErrs || formatters || padLevels || rewriters || stripColors) { + throw new Error(['{ colors, emitErrs, formatters, padLevels, rewriters, stripColors } were removed in winston@3.0.0.', 'Use a custom winston.format(function) instead.', 'See: https://github.com/winstonjs/winston/tree/master/UPGRADE-3.0.md'].join('\n')); + } + if (exceptionHandlers) { + this.exceptions.handle(exceptionHandlers); + } + if (rejectionHandlers) { + this.rejections.handle(rejectionHandlers); + } + } + + /* eslint-disable valid-jsdoc */ + /** + * Helper method to get the highest logging level associated with a logger + * + * @returns { number | null } - The highest configured logging level, null + * for invalid configuration + */ + }, { + key: "getHighestLogLevel", + value: function getHighestLogLevel() { + var _this3 = this; + // This can be null, if this.level has an invalid value + var configuredLevelValue = getLevelValue(this.levels, this.level); + + // If there are no transports, return the level configured at the logger level + if (!this.transports || this.transports.length === 0) { + return configuredLevelValue; + } + return this.transports.reduce(function (max, transport) { + var levelValue = getLevelValue(_this3.levels, transport.level); + return levelValue !== null && levelValue > max ? levelValue : max; + }, configuredLevelValue); + } + }, { + key: "isLevelEnabled", + value: function isLevelEnabled(level) { + var _this4 = this; + var givenLevelValue = getLevelValue(this.levels, level); + if (givenLevelValue === null) { + return false; + } + var configuredLevelValue = getLevelValue(this.levels, this.level); + if (configuredLevelValue === null) { + return false; + } + if (!this.transports || this.transports.length === 0) { + return configuredLevelValue >= givenLevelValue; + } + var index = this.transports.findIndex(function (transport) { + var transportLevelValue = getLevelValue(_this4.levels, transport.level); + if (transportLevelValue === null) { + transportLevelValue = configuredLevelValue; + } + return transportLevelValue >= givenLevelValue; + }); + return index !== -1; + } + + /* eslint-disable valid-jsdoc */ + /** + * Ensure backwards compatibility with a `log` method + * @param {mixed} level - Level the log message is written at. + * @param {mixed} msg - TODO: add param description. + * @param {mixed} meta - TODO: add param description. + * @returns {Logger} - TODO: add return description. + * + * @example + * // Supports the existing API: + * logger.log('info', 'Hello world', { custom: true }); + * logger.log('info', new Error('Yo, it\'s on fire')); + * + * // Requires winston.format.splat() + * logger.log('info', '%s %d%%', 'A string', 50, { thisIsMeta: true }); + * + * // And the new API with a single JSON literal: + * logger.log({ level: 'info', message: 'Hello world', custom: true }); + * logger.log({ level: 'info', message: new Error('Yo, it\'s on fire') }); + * + * // Also requires winston.format.splat() + * logger.log({ + * level: 'info', + * message: '%s %d%%', + * [SPLAT]: ['A string', 50], + * meta: { thisIsMeta: true } + * }); + * + */ + /* eslint-enable valid-jsdoc */ + }, { + key: "log", + value: function log(level, msg) { + for (var _len = arguments.length, splat = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) { + splat[_key - 2] = arguments[_key]; + } + // eslint-disable-line max-params + // Optimize for the hotpath of logging JSON literals + if (arguments.length === 1) { + // Yo dawg, I heard you like levels ... seriously ... + // In this context the LHS `level` here is actually the `info` so read + // this as: info[LEVEL] = info.level; + level[LEVEL] = level.level; + this._addDefaultMeta(level); + this.write(level); + return this; + } + + // Slightly less hotpath, but worth optimizing for. + if (arguments.length === 2) { + if (msg && _typeof(msg) === 'object') { + msg[LEVEL] = msg.level = level; + this._addDefaultMeta(msg); + this.write(msg); + return this; + } + msg = _defineProperty(_defineProperty(_defineProperty({}, LEVEL, level), "level", level), "message", msg); + this._addDefaultMeta(msg); + this.write(msg); + return this; + } + var meta = splat[0]; + if (_typeof(meta) === 'object' && meta !== null) { + // Extract tokens, if none available default to empty array to + // ensure consistancy in expected results + var tokens = msg && msg.match && msg.match(formatRegExp); + if (!tokens) { + var info = Object.assign({}, this.defaultMeta, meta, _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, LEVEL, level), SPLAT, splat), "level", level), "message", msg)); + if (meta.message) info.message = "".concat(info.message, " ").concat(meta.message); + if (meta.stack) info.stack = meta.stack; + if (meta.cause) info.cause = meta.cause; + this.write(info); + return this; + } + } + this.write(Object.assign({}, this.defaultMeta, _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, LEVEL, level), SPLAT, splat), "level", level), "message", msg))); + return this; + } + + /** + * Pushes data so that it can be picked up by all of our pipe targets. + * @param {mixed} info - TODO: add param description. + * @param {mixed} enc - TODO: add param description. + * @param {mixed} callback - Continues stream processing. + * @returns {undefined} + * @private + */ + }, { + key: "_transform", + value: function _transform(info, enc, callback) { + if (this.silent) { + return callback(); + } + + // [LEVEL] is only soft guaranteed to be set here since we are a proper + // stream. It is likely that `info` came in through `.log(info)` or + // `.info(info)`. If it is not defined, however, define it. + // This LEVEL symbol is provided by `triple-beam` and also used in: + // - logform + // - winston-transport + // - abstract-winston-transport + if (!info[LEVEL]) { + info[LEVEL] = info.level; + } + + // Remark: really not sure what to do here, but this has been reported as + // very confusing by pre winston@2.0.0 users as quite confusing when using + // custom levels. + if (!this.levels[info[LEVEL]] && this.levels[info[LEVEL]] !== 0) { + // eslint-disable-next-line no-console + console.error('[winston] Unknown logger level: %s', info[LEVEL]); + } + + // Remark: not sure if we should simply error here. + if (!this._readableState.pipes) { + // eslint-disable-next-line no-console + console.error('[winston] Attempt to write logs with no transports, which can increase memory usage: %j', info); + } + + // Here we write to the `format` pipe-chain, which on `readable` above will + // push the formatted `info` Object onto the buffer for this instance. We trap + // (and re-throw) any errors generated by the user-provided format, but also + // guarantee that the streams callback is invoked so that we can continue flowing. + try { + this.push(this.format.transform(info, this.format.options)); + } finally { + this._writableState.sync = false; + // eslint-disable-next-line callback-return + callback(); + } + } + + /** + * Delays the 'finish' event until all transport pipe targets have + * also emitted 'finish' or are already finished. + * @param {mixed} callback - Continues stream processing. + */ + }, { + key: "_final", + value: function _final(callback) { + var transports = this.transports.slice(); + asyncForEach(transports, function (transport, next) { + if (!transport || transport.finished) return setImmediate(next); + transport.once('finish', next); + transport.end(); + }, callback); + } + + /** + * Adds the transport to this logger instance by piping to it. + * @param {mixed} transport - TODO: add param description. + * @returns {Logger} - TODO: add return description. + */ + }, { + key: "add", + value: function add(transport) { + // Support backwards compatibility with all existing `winston < 3.x.x` + // transports which meet one of two criteria: + // 1. They inherit from winston.Transport in < 3.x.x which is NOT a stream. + // 2. They expose a log method which has a length greater than 2 (i.e. more then + // just `log(info, callback)`. + var target = !isStream(transport) || transport.log.length > 2 ? new LegacyTransportStream({ + transport: transport + }) : transport; + if (!target._writableState || !target._writableState.objectMode) { + throw new Error('Transports must WritableStreams in objectMode. Set { objectMode: true }.'); + } + + // Listen for the `error` event and the `warn` event on the new Transport. + this._onEvent('error', target); + this._onEvent('warn', target); + this.pipe(target); + if (transport.handleExceptions) { + this.exceptions.handle(); + } + if (transport.handleRejections) { + this.rejections.handle(); + } + return this; + } + + /** + * Removes the transport from this logger instance by unpiping from it. + * @param {mixed} transport - TODO: add param description. + * @returns {Logger} - TODO: add return description. + */ + }, { + key: "remove", + value: function remove(transport) { + if (!transport) return this; + var target = transport; + if (!isStream(transport) || transport.log.length > 2) { + target = this.transports.filter(function (match) { + return match.transport === transport; + })[0]; + } + if (target) { + this.unpipe(target); + } + return this; + } + + /** + * Removes all transports from this logger instance. + * @returns {Logger} - TODO: add return description. + */ + }, { + key: "clear", + value: function clear() { + this.unpipe(); + return this; + } + + /** + * Cleans up resources (streams, event listeners) for all transports + * associated with this instance (if necessary). + * @returns {Logger} - TODO: add return description. + */ + }, { + key: "close", + value: function close() { + this.exceptions.unhandle(); + this.rejections.unhandle(); + this.clear(); + this.emit('close'); + return this; + } + + /** + * Sets the `target` levels specified on this instance. + * @param {Object} Target levels to use on this instance. + */ + }, { + key: "setLevels", + value: function setLevels() { + warn.deprecated('setLevels'); + } + + /** + * Queries the all transports for this instance with the specified `options`. + * This will aggregate each transport's results into one object containing + * a property per transport. + * @param {Object} options - Query options for this instance. + * @param {function} callback - Continuation to respond to when complete. + */ + }, { + key: "query", + value: function query(options, callback) { + if (typeof options === 'function') { + callback = options; + options = {}; + } + options = options || {}; + var results = {}; + var queryObject = Object.assign({}, options.query || {}); + + // Helper function to query a single transport + function queryTransport(transport, next) { + if (options.query && typeof transport.formatQuery === 'function') { + options.query = transport.formatQuery(queryObject); + } + transport.query(options, function (err, res) { + if (err) { + return next(err); + } + if (typeof transport.formatResults === 'function') { + res = transport.formatResults(res, options.format); + } + next(null, res); + }); + } + + // Helper function to accumulate the results from `queryTransport` into + // the `results`. + function addResults(transport, next) { + queryTransport(transport, function (err, result) { + // queryTransport could potentially invoke the callback multiple times + // since Transport code can be unpredictable. + if (next) { + result = err || result; + if (result) { + results[transport.name] = result; + } + + // eslint-disable-next-line callback-return + next(); + } + next = null; + }); + } + + // Iterate over the transports in parallel setting the appropriate key in + // the `results`. + asyncForEach(this.transports.filter(function (transport) { + return !!transport.query; + }), addResults, function () { + return callback(null, results); + }); + } + + /** + * Returns a log stream for all transports. Options object is optional. + * @param{Object} options={} - Stream options for this instance. + * @returns {Stream} - TODO: add return description. + */ + }, { + key: "stream", + value: function stream() { + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var out = new Stream(); + var streams = []; + out._streams = streams; + out.destroy = function () { + var i = streams.length; + while (i--) { + streams[i].destroy(); + } + }; + + // Create a list of all transports for this instance. + this.transports.filter(function (transport) { + return !!transport.stream; + }).forEach(function (transport) { + var str = transport.stream(options); + if (!str) { + return; + } + streams.push(str); + str.on('log', function (log) { + log.transport = log.transport || []; + log.transport.push(transport.name); + out.emit('log', log); + }); + str.on('error', function (err) { + err.transport = err.transport || []; + err.transport.push(transport.name); + out.emit('error', err); + }); + }); + return out; + } + + /** + * Returns an object corresponding to a specific timing. When done is called + * the timer will finish and log the duration. e.g.: + * @returns {Profile} - TODO: add return description. + * @example + * const timer = winston.startTimer() + * setTimeout(() => { + * timer.done({ + * message: 'Logging message' + * }); + * }, 1000); + */ + }, { + key: "startTimer", + value: function startTimer() { + return new Profiler(this); + } + + /** + * Tracks the time inbetween subsequent calls to this method with the same + * `id` parameter. The second call to this method will log the difference in + * milliseconds along with the message. + * @param {string} id Unique id of the profiler + * @returns {Logger} - TODO: add return description. + */ + }, { + key: "profile", + value: function profile(id) { + var time = Date.now(); + if (this.profilers[id]) { + var timeEnd = this.profilers[id]; + delete this.profilers[id]; + + // Attempt to be kind to users if they are still using older APIs. + for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { + args[_key2 - 1] = arguments[_key2]; + } + if (typeof args[args.length - 2] === 'function') { + // eslint-disable-next-line no-console + console.warn('Callback function no longer supported as of winston@3.0.0'); + args.pop(); + } + + // Set the duration property of the metadata + var info = _typeof(args[args.length - 1]) === 'object' ? args.pop() : {}; + info.level = info.level || 'info'; + info.durationMs = time - timeEnd; + info.message = info.message || id; + return this.write(info); + } + this.profilers[id] = time; + return this; + } + + /** + * Backwards compatibility to `exceptions.handle` in winston < 3.0.0. + * @returns {undefined} + * @deprecated + */ + }, { + key: "handleExceptions", + value: function handleExceptions() { + var _this$exceptions; + // eslint-disable-next-line no-console + console.warn('Deprecated: .handleExceptions() will be removed in winston@4. Use .exceptions.handle()'); + (_this$exceptions = this.exceptions).handle.apply(_this$exceptions, arguments); + } + + /** + * Backwards compatibility to `exceptions.handle` in winston < 3.0.0. + * @returns {undefined} + * @deprecated + */ + }, { + key: "unhandleExceptions", + value: function unhandleExceptions() { + var _this$exceptions2; + // eslint-disable-next-line no-console + console.warn('Deprecated: .unhandleExceptions() will be removed in winston@4. Use .exceptions.unhandle()'); + (_this$exceptions2 = this.exceptions).unhandle.apply(_this$exceptions2, arguments); + } + + /** + * Throw a more meaningful deprecation notice + * @throws {Error} - TODO: add throws description. + */ + }, { + key: "cli", + value: function cli() { + throw new Error(['Logger.cli() was removed in winston@3.0.0', 'Use a custom winston.formats.cli() instead.', 'See: https://github.com/winstonjs/winston/tree/master/UPGRADE-3.0.md'].join('\n')); + } + + /** + * Bubbles the `event` that occured on the specified `transport` up + * from this instance. + * @param {string} event - The event that occured + * @param {Object} transport - Transport on which the event occured + * @private + */ + }, { + key: "_onEvent", + value: function _onEvent(event, transport) { + function transportEvent(err) { + // https://github.com/winstonjs/winston/issues/1364 + if (event === 'error' && !this.transports.includes(transport)) { + this.add(transport); + } + this.emit(event, err, transport); + } + if (!transport['__winston' + event]) { + transport['__winston' + event] = transportEvent.bind(this); + transport.on(event, transport['__winston' + event]); + } + } + }, { + key: "_addDefaultMeta", + value: function _addDefaultMeta(msg) { + if (this.defaultMeta) { + Object.assign(msg, this.defaultMeta); + } + } + }]); +}(Transform); +function getLevelValue(levels, level) { + var value = levels[level]; + if (!value && value !== 0) { + return null; + } + return value; +} + +/** + * Represents the current readableState pipe targets for this Logger instance. + * @type {Array|Object} + */ +Object.defineProperty(Logger.prototype, 'transports', { + configurable: false, + enumerable: true, + get: function get() { + var pipes = this._readableState.pipes; + return !Array.isArray(pipes) ? [pipes].filter(Boolean) : pipes; + } +}); +module.exports = Logger; \ No newline at end of file diff --git a/node_modules/winston/dist/winston/profiler.js b/node_modules/winston/dist/winston/profiler.js new file mode 100644 index 0000000..fcb1557 --- /dev/null +++ b/node_modules/winston/dist/winston/profiler.js @@ -0,0 +1,64 @@ +/** + * profiler.js: TODO: add file header description. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +/** + * TODO: add class description. + * @type {Profiler} + * @private + */ +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); } +function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } } +function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; } +function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } +function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } +var Profiler = /*#__PURE__*/function () { + /** + * Constructor function for the Profiler instance used by + * `Logger.prototype.startTimer`. When done is called the timer will finish + * and log the duration. + * @param {!Logger} logger - TODO: add param description. + * @private + */ + function Profiler(logger) { + _classCallCheck(this, Profiler); + var Logger = require('./logger'); + if (_typeof(logger) !== 'object' || Array.isArray(logger) || !(logger instanceof Logger)) { + throw new Error('Logger is required for profiling'); + } else { + this.logger = logger; + this.start = Date.now(); + } + } + + /** + * Ends the current timer (i.e. Profiler) instance and logs the `msg` along + * with the duration since creation. + * @returns {mixed} - TODO: add return description. + * @private + */ + return _createClass(Profiler, [{ + key: "done", + value: function done() { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + if (typeof args[args.length - 1] === 'function') { + // eslint-disable-next-line no-console + console.warn('Callback function no longer supported as of winston@3.0.0'); + args.pop(); + } + var info = _typeof(args[args.length - 1]) === 'object' ? args.pop() : {}; + info.level = info.level || 'info'; + info.durationMs = Date.now() - this.start; + return this.logger.write(info); + } + }]); +}(); +module.exports = Profiler; \ No newline at end of file diff --git a/node_modules/winston/dist/winston/rejection-handler.js b/node_modules/winston/dist/winston/rejection-handler.js new file mode 100644 index 0000000..2f766ff --- /dev/null +++ b/node_modules/winston/dist/winston/rejection-handler.js @@ -0,0 +1,265 @@ +/** + * exception-handler.js: Object for handling uncaughtException events. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); } +function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } } +function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; } +function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } +function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } +var os = require('os'); +var asyncForEach = require('async/forEach'); +var debug = require('@dabh/diagnostics')('winston:rejection'); +var once = require('one-time'); +var stackTrace = require('stack-trace'); +var RejectionStream = require('./rejection-stream'); + +/** + * Object for handling unhandledRejection events. + * @type {RejectionHandler} + */ +module.exports = /*#__PURE__*/function () { + /** + * TODO: add contructor description + * @param {!Logger} logger - TODO: add param description + */ + function RejectionHandler(logger) { + _classCallCheck(this, RejectionHandler); + if (!logger) { + throw new Error('Logger is required to handle rejections'); + } + this.logger = logger; + this.handlers = new Map(); + } + + /** + * Handles `unhandledRejection` events for the current process by adding any + * handlers passed in. + * @returns {undefined} + */ + return _createClass(RejectionHandler, [{ + key: "handle", + value: function handle() { + var _this = this; + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + args.forEach(function (arg) { + if (Array.isArray(arg)) { + return arg.forEach(function (handler) { + return _this._addHandler(handler); + }); + } + _this._addHandler(arg); + }); + if (!this.catcher) { + this.catcher = this._unhandledRejection.bind(this); + process.on('unhandledRejection', this.catcher); + } + } + + /** + * Removes any handlers to `unhandledRejection` events for the current + * process. This does not modify the state of the `this.handlers` set. + * @returns {undefined} + */ + }, { + key: "unhandle", + value: function unhandle() { + var _this2 = this; + if (this.catcher) { + process.removeListener('unhandledRejection', this.catcher); + this.catcher = false; + Array.from(this.handlers.values()).forEach(function (wrapper) { + return _this2.logger.unpipe(wrapper); + }); + } + } + + /** + * TODO: add method description + * @param {Error} err - Error to get information about. + * @returns {mixed} - TODO: add return description. + */ + }, { + key: "getAllInfo", + value: function getAllInfo(err) { + var message = null; + if (err) { + message = typeof err === 'string' ? err : err.message; + } + return { + error: err, + // TODO (indexzero): how do we configure this? + level: 'error', + message: ["unhandledRejection: ".concat(message || '(no error message)'), err && err.stack || ' No stack trace'].join('\n'), + stack: err && err.stack, + rejection: true, + date: new Date().toString(), + process: this.getProcessInfo(), + os: this.getOsInfo(), + trace: this.getTrace(err) + }; + } + + /** + * Gets all relevant process information for the currently running process. + * @returns {mixed} - TODO: add return description. + */ + }, { + key: "getProcessInfo", + value: function getProcessInfo() { + return { + pid: process.pid, + uid: process.getuid ? process.getuid() : null, + gid: process.getgid ? process.getgid() : null, + cwd: process.cwd(), + execPath: process.execPath, + version: process.version, + argv: process.argv, + memoryUsage: process.memoryUsage() + }; + } + + /** + * Gets all relevant OS information for the currently running process. + * @returns {mixed} - TODO: add return description. + */ + }, { + key: "getOsInfo", + value: function getOsInfo() { + return { + loadavg: os.loadavg(), + uptime: os.uptime() + }; + } + + /** + * Gets a stack trace for the specified error. + * @param {mixed} err - TODO: add param description. + * @returns {mixed} - TODO: add return description. + */ + }, { + key: "getTrace", + value: function getTrace(err) { + var trace = err ? stackTrace.parse(err) : stackTrace.get(); + return trace.map(function (site) { + return { + column: site.getColumnNumber(), + file: site.getFileName(), + "function": site.getFunctionName(), + line: site.getLineNumber(), + method: site.getMethodName(), + "native": site.isNative() + }; + }); + } + + /** + * Helper method to add a transport as an exception handler. + * @param {Transport} handler - The transport to add as an exception handler. + * @returns {void} + */ + }, { + key: "_addHandler", + value: function _addHandler(handler) { + if (!this.handlers.has(handler)) { + handler.handleRejections = true; + var wrapper = new RejectionStream(handler); + this.handlers.set(handler, wrapper); + this.logger.pipe(wrapper); + } + } + + /** + * Logs all relevant information around the `err` and exits the current + * process. + * @param {Error} err - Error to handle + * @returns {mixed} - TODO: add return description. + * @private + */ + }, { + key: "_unhandledRejection", + value: function _unhandledRejection(err) { + var info = this.getAllInfo(err); + var handlers = this._getRejectionHandlers(); + // Calculate if we should exit on this error + var doExit = typeof this.logger.exitOnError === 'function' ? this.logger.exitOnError(err) : this.logger.exitOnError; + var timeout; + if (!handlers.length && doExit) { + // eslint-disable-next-line no-console + console.warn('winston: exitOnError cannot be true with no rejection handlers.'); + // eslint-disable-next-line no-console + console.warn('winston: not exiting process.'); + doExit = false; + } + function gracefulExit() { + debug('doExit', doExit); + debug('process._exiting', process._exiting); + if (doExit && !process._exiting) { + // Remark: Currently ignoring any rejections from transports when + // catching unhandled rejections. + if (timeout) { + clearTimeout(timeout); + } + // eslint-disable-next-line no-process-exit + process.exit(1); + } + } + if (!handlers || handlers.length === 0) { + return process.nextTick(gracefulExit); + } + + // Log to all transports attempting to listen for when they are completed. + asyncForEach(handlers, function (handler, next) { + var done = once(next); + var transport = handler.transport || handler; + + // Debug wrapping so that we can inspect what's going on under the covers. + function onDone(event) { + return function () { + debug(event); + done(); + }; + } + transport._ending = true; + transport.once('finish', onDone('finished')); + transport.once('error', onDone('error')); + }, function () { + return doExit && gracefulExit(); + }); + this.logger.log(info); + + // If exitOnError is true, then only allow the logging of exceptions to + // take up to `3000ms`. + if (doExit) { + timeout = setTimeout(gracefulExit, 3000); + } + } + + /** + * Returns the list of transports and exceptionHandlers for this instance. + * @returns {Array} - List of transports and exceptionHandlers for this + * instance. + * @private + */ + }, { + key: "_getRejectionHandlers", + value: function _getRejectionHandlers() { + // Remark (indexzero): since `logger.transports` returns all of the pipes + // from the _readableState of the stream we actually get the join of the + // explicit handlers and the implicit transports with + // `handleRejections: true` + return this.logger.transports.filter(function (wrap) { + var transport = wrap.transport || wrap; + return transport.handleRejections; + }); + } + }]); +}(); \ No newline at end of file diff --git a/node_modules/winston/dist/winston/rejection-stream.js b/node_modules/winston/dist/winston/rejection-stream.js new file mode 100644 index 0000000..c62da12 --- /dev/null +++ b/node_modules/winston/dist/winston/rejection-stream.js @@ -0,0 +1,72 @@ +/** + * rejection-stream.js: TODO: add file header handler. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); } +function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } } +function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; } +function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } +function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } +function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); } +function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); } +function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } +function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } +function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); } +function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); } +function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); } +var _require = require('readable-stream'), + Writable = _require.Writable; + +/** + * TODO: add class description. + * @type {RejectionStream} + * @extends {Writable} + */ +module.exports = /*#__PURE__*/function (_Writable) { + /** + * Constructor function for the RejectionStream responsible for wrapping a + * TransportStream; only allowing writes of `info` objects with + * `info.rejection` set to true. + * @param {!TransportStream} transport - Stream to filter to rejections + */ + function RejectionStream(transport) { + var _this; + _classCallCheck(this, RejectionStream); + _this = _callSuper(this, RejectionStream, [{ + objectMode: true + }]); + if (!transport) { + throw new Error('RejectionStream requires a TransportStream instance.'); + } + _this.handleRejections = true; + _this.transport = transport; + return _this; + } + + /** + * Writes the info object to our transport instance if (and only if) the + * `rejection` property is set on the info. + * @param {mixed} info - TODO: add param description. + * @param {mixed} enc - TODO: add param description. + * @param {mixed} callback - TODO: add param description. + * @returns {mixed} - TODO: add return description. + * @private + */ + _inherits(RejectionStream, _Writable); + return _createClass(RejectionStream, [{ + key: "_write", + value: function _write(info, enc, callback) { + if (info.rejection) { + return this.transport.log(info, callback); + } + callback(); + return true; + } + }]); +}(Writable); \ No newline at end of file diff --git a/node_modules/winston/dist/winston/tail-file.js b/node_modules/winston/dist/winston/tail-file.js new file mode 100644 index 0000000..b47b0ba --- /dev/null +++ b/node_modules/winston/dist/winston/tail-file.js @@ -0,0 +1,113 @@ +/** + * tail-file.js: TODO: add file header description. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +var fs = require('fs'); +var _require = require('string_decoder'), + StringDecoder = _require.StringDecoder; +var _require2 = require('readable-stream'), + Stream = _require2.Stream; + +/** + * Simple no-op function. + * @returns {undefined} + */ +function noop() {} + +/** + * TODO: add function description. + * @param {Object} options - Options for tail. + * @param {function} iter - Iterator function to execute on every line. +* `tail -f` a file. Options must include file. + * @returns {mixed} - TODO: add return description. + */ +module.exports = function (options, iter) { + var buffer = Buffer.alloc(64 * 1024); + var decode = new StringDecoder('utf8'); + var stream = new Stream(); + var buff = ''; + var pos = 0; + var row = 0; + if (options.start === -1) { + delete options.start; + } + stream.readable = true; + stream.destroy = function () { + stream.destroyed = true; + stream.emit('end'); + stream.emit('close'); + }; + fs.open(options.file, 'a+', '0644', function (err, fd) { + if (err) { + if (!iter) { + stream.emit('error', err); + } else { + iter(err); + } + stream.destroy(); + return; + } + (function read() { + if (stream.destroyed) { + fs.close(fd, noop); + return; + } + return fs.read(fd, buffer, 0, buffer.length, pos, function (error, bytes) { + if (error) { + if (!iter) { + stream.emit('error', error); + } else { + iter(error); + } + stream.destroy(); + return; + } + if (!bytes) { + if (buff) { + // eslint-disable-next-line eqeqeq + if (options.start == null || row > options.start) { + if (!iter) { + stream.emit('line', buff); + } else { + iter(null, buff); + } + } + row++; + buff = ''; + } + return setTimeout(read, 1000); + } + var data = decode.write(buffer.slice(0, bytes)); + if (!iter) { + stream.emit('data', data); + } + data = (buff + data).split(/\n+/); + var l = data.length - 1; + var i = 0; + for (; i < l; i++) { + // eslint-disable-next-line eqeqeq + if (options.start == null || row > options.start) { + if (!iter) { + stream.emit('line', data[i]); + } else { + iter(null, data[i]); + } + } + row++; + } + buff = data[l]; + pos += bytes; + return read(); + }); + })(); + }); + if (!iter) { + return stream; + } + return stream.destroy; +}; \ No newline at end of file diff --git a/node_modules/winston/dist/winston/transports/console.js b/node_modules/winston/dist/winston/transports/console.js new file mode 100644 index 0000000..c13858f --- /dev/null +++ b/node_modules/winston/dist/winston/transports/console.js @@ -0,0 +1,143 @@ +/* eslint-disable no-console */ +/* + * console.js: Transport for outputting to the console. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); } +function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } } +function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; } +function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } +function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } +function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); } +function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); } +function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } +function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } +function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); } +function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); } +function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); } +var os = require('os'); +var _require = require('triple-beam'), + LEVEL = _require.LEVEL, + MESSAGE = _require.MESSAGE; +var TransportStream = require('winston-transport'); + +/** + * Transport for outputting to the console. + * @type {Console} + * @extends {TransportStream} + */ +module.exports = /*#__PURE__*/function (_TransportStream) { + /** + * Constructor function for the Console transport object responsible for + * persisting log messages and metadata to a terminal or TTY. + * @param {!Object} [options={}] - Options for this instance. + */ + function Console() { + var _this; + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + _classCallCheck(this, Console); + _this = _callSuper(this, Console, [options]); + + // Expose the name of this Transport on the prototype + _this.name = options.name || 'console'; + _this.stderrLevels = _this._stringArrayToSet(options.stderrLevels); + _this.consoleWarnLevels = _this._stringArrayToSet(options.consoleWarnLevels); + _this.eol = typeof options.eol === 'string' ? options.eol : os.EOL; + _this.forceConsole = options.forceConsole || false; + + // Keep a reference to the log, warn, and error console methods + // in case they get redirected to this transport after the logger is + // instantiated. This prevents a circular reference issue. + _this._consoleLog = console.log.bind(console); + _this._consoleWarn = console.warn.bind(console); + _this._consoleError = console.error.bind(console); + _this.setMaxListeners(30); + return _this; + } + + /** + * Core logging method exposed to Winston. + * @param {Object} info - TODO: add param description. + * @param {Function} callback - TODO: add param description. + * @returns {undefined} + */ + _inherits(Console, _TransportStream); + return _createClass(Console, [{ + key: "log", + value: function log(info, callback) { + var _this2 = this; + setImmediate(function () { + return _this2.emit('logged', info); + }); + + // Remark: what if there is no raw...? + if (this.stderrLevels[info[LEVEL]]) { + if (console._stderr && !this.forceConsole) { + // Node.js maps `process.stderr` to `console._stderr`. + console._stderr.write("".concat(info[MESSAGE]).concat(this.eol)); + } else { + // console.error adds a newline + this._consoleError(info[MESSAGE]); + } + if (callback) { + callback(); // eslint-disable-line callback-return + } + return; + } else if (this.consoleWarnLevels[info[LEVEL]]) { + if (console._stderr && !this.forceConsole) { + // Node.js maps `process.stderr` to `console._stderr`. + // in Node.js console.warn is an alias for console.error + console._stderr.write("".concat(info[MESSAGE]).concat(this.eol)); + } else { + // console.warn adds a newline + this._consoleWarn(info[MESSAGE]); + } + if (callback) { + callback(); // eslint-disable-line callback-return + } + return; + } + if (console._stdout && !this.forceConsole) { + // Node.js maps `process.stdout` to `console._stdout`. + console._stdout.write("".concat(info[MESSAGE]).concat(this.eol)); + } else { + // console.log adds a newline. + this._consoleLog(info[MESSAGE]); + } + if (callback) { + callback(); // eslint-disable-line callback-return + } + } + + /** + * Returns a Set-like object with strArray's elements as keys (each with the + * value true). + * @param {Array} strArray - Array of Set-elements as strings. + * @param {?string} [errMsg] - Custom error message thrown on invalid input. + * @returns {Object} - TODO: add return description. + * @private + */ + }, { + key: "_stringArrayToSet", + value: function _stringArrayToSet(strArray, errMsg) { + if (!strArray) return {}; + errMsg = errMsg || 'Cannot make set from type other than Array of string elements'; + if (!Array.isArray(strArray)) { + throw new Error(errMsg); + } + return strArray.reduce(function (set, el) { + if (typeof el !== 'string') { + throw new Error(errMsg); + } + set[el] = true; + return set; + }, {}); + } + }]); +}(TransportStream); \ No newline at end of file diff --git a/node_modules/winston/dist/winston/transports/file.js b/node_modules/winston/dist/winston/transports/file.js new file mode 100644 index 0000000..6192311 --- /dev/null +++ b/node_modules/winston/dist/winston/transports/file.js @@ -0,0 +1,825 @@ +/* eslint-disable complexity,max-statements */ +/** + * file.js: Transport for outputting to a local log file. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +function _readOnlyError(r) { throw new TypeError('"' + r + '" is read-only'); } +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); } +function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } } +function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; } +function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } +function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } +function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); } +function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); } +function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } +function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } +function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); } +function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); } +function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); } +var fs = require('fs'); +var path = require('path'); +var asyncSeries = require('async/series'); +var zlib = require('zlib'); +var _require = require('triple-beam'), + MESSAGE = _require.MESSAGE; +var _require2 = require('readable-stream'), + Stream = _require2.Stream, + PassThrough = _require2.PassThrough; +var TransportStream = require('winston-transport'); +var debug = require('@dabh/diagnostics')('winston:file'); +var os = require('os'); +var tailFile = require('../tail-file'); + +/** + * Transport for outputting to a local log file. + * @type {File} + * @extends {TransportStream} + */ +module.exports = /*#__PURE__*/function (_TransportStream) { + /** + * Constructor function for the File transport object responsible for + * persisting log messages and metadata to one or more files. + * @param {Object} options - Options for this instance. + */ + function File() { + var _this; + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + _classCallCheck(this, File); + _this = _callSuper(this, File, [options]); + + // Expose the name of this Transport on the prototype. + _this.name = options.name || 'file'; + + // Helper function which throws an `Error` in the event that any of the + // rest of the arguments is present in `options`. + function throwIf(target) { + for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } + args.slice(1).forEach(function (name) { + if (options[name]) { + throw new Error("Cannot set ".concat(name, " and ").concat(target, " together")); + } + }); + } + + // Setup the base stream that always gets piped to to handle buffering. + _this._stream = new PassThrough(); + _this._stream.setMaxListeners(30); + + // Bind this context for listener methods. + _this._onError = _this._onError.bind(_this); + if (options.filename || options.dirname) { + throwIf('filename or dirname', 'stream'); + _this._basename = _this.filename = options.filename ? path.basename(options.filename) : 'winston.log'; + _this.dirname = options.dirname || path.dirname(options.filename); + _this.options = options.options || { + flags: 'a' + }; + } else if (options.stream) { + // eslint-disable-next-line no-console + console.warn('options.stream will be removed in winston@4. Use winston.transports.Stream'); + throwIf('stream', 'filename', 'maxsize'); + _this._dest = _this._stream.pipe(_this._setupStream(options.stream)); + _this.dirname = path.dirname(_this._dest.path); + // We need to listen for drain events when write() returns false. This + // can make node mad at times. + } else { + throw new Error('Cannot log to file without filename or stream.'); + } + _this.maxsize = options.maxsize || null; + _this.rotationFormat = options.rotationFormat || false; + _this.zippedArchive = options.zippedArchive || false; + _this.maxFiles = options.maxFiles || null; + _this.eol = typeof options.eol === 'string' ? options.eol : os.EOL; + _this.tailable = options.tailable || false; + _this.lazy = options.lazy || false; + + // Internal state variables representing the number of files this instance + // has created and the current size (in bytes) of the current logfile. + _this._size = 0; + _this._pendingSize = 0; + _this._created = 0; + _this._drain = false; + _this._opening = false; + _this._ending = false; + _this._fileExist = false; + if (_this.dirname) _this._createLogDirIfNotExist(_this.dirname); + if (!_this.lazy) _this.open(); + return _this; + } + _inherits(File, _TransportStream); + return _createClass(File, [{ + key: "finishIfEnding", + value: function finishIfEnding() { + var _this2 = this; + if (this._ending) { + if (this._opening) { + this.once('open', function () { + _this2._stream.once('finish', function () { + return _this2.emit('finish'); + }); + setImmediate(function () { + return _this2._stream.end(); + }); + }); + } else { + this._stream.once('finish', function () { + return _this2.emit('finish'); + }); + setImmediate(function () { + return _this2._stream.end(); + }); + } + } + } + + /** + * Called by Node.js Writable stream before emitting 'finish'. + * Ensures all buffered data is flushed to the underlying file stream + * before the transport signals completion. + * @param {Function} callback - Callback to signal completion. + * @private + */ + }, { + key: "_final", + value: function _final(callback) { + var _this3 = this; + // If still opening, wait for the file to be opened first + if (this._opening) { + this.once('open', function () { + return _this3._final(callback); + }); + return; + } + + // End the PassThrough stream + this._stream.end(); + + // No destination stream, call callback immediately + if (!this._dest) { + return callback(); + } + + // Destination is already finished + if (this._dest.writableFinished) { + return callback(); + } + + // Wait for destination stream to finish writing + this._dest.once('finish', callback); + this._dest.once('error', callback); + } + + /** + * Core logging method exposed to Winston. Metadata is optional. + * @param {Object} info - TODO: add param description. + * @param {Function} callback - TODO: add param description. + * @returns {undefined} + */ + }, { + key: "log", + value: function log(info) { + var _this4 = this; + var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {}; + // Remark: (jcrugzz) What is necessary about this callback(null, true) now + // when thinking about 3.x? Should silent be handled in the base + // TransportStream _write method? + if (this.silent) { + callback(); + return true; + } + + // Output stream buffer is full and has asked us to wait for the drain event + if (this._drain) { + this._stream.once('drain', function () { + _this4._drain = false; + _this4.log(info, callback); + }); + return; + } + if (this._rotate) { + this._stream.once('rotate', function () { + _this4._rotate = false; + _this4.log(info, callback); + }); + return; + } + if (this.lazy) { + if (!this._fileExist) { + if (!this._opening) { + this.open(); + } + this.once('open', function () { + _this4._fileExist = true; + _this4.log(info, callback); + return; + }); + return; + } + if (this._needsNewFile(this._pendingSize)) { + this._dest.once('close', function () { + if (!_this4._opening) { + _this4.open(); + } + _this4.once('open', function () { + _this4.log(info, callback); + return; + }); + return; + }); + return; + } + } + + // Grab the raw string and append the expected EOL. + var output = "".concat(info[MESSAGE]).concat(this.eol); + var bytes = Buffer.byteLength(output); + + // After we have written to the PassThrough check to see if we need + // to rotate to the next file. + // + // Remark: This gets called too early and does not depict when data + // has been actually flushed to disk. + function logged() { + var _this5 = this; + this._size += bytes; + this._pendingSize -= bytes; + debug('logged %s %s', this._size, output); + this.emit('logged', info); + + // Do not attempt to rotate files while rotating + if (this._rotate) { + return; + } + + // Do not attempt to rotate files while opening + if (this._opening) { + return; + } + + // Check to see if we need to end the stream and create a new one. + if (!this._needsNewFile()) { + return; + } + if (this.lazy) { + this._endStream(function () { + _this5.emit('fileclosed'); + }); + return; + } + + // End the current stream, ensure it flushes and create a new one. + // This could potentially be optimized to not run a stat call but its + // the safest way since we are supporting `maxFiles`. + this._rotate = true; + this._endStream(function () { + return _this5._rotateFile(); + }); + } + + // Keep track of the pending bytes being written while files are opening + // in order to properly rotate the PassThrough this._stream when the file + // eventually does open. + this._pendingSize += bytes; + if (this._opening && !this.rotatedWhileOpening && this._needsNewFile(this._size + this._pendingSize)) { + this.rotatedWhileOpening = true; + } + var written = this._stream.write(output, logged.bind(this)); + if (!written) { + this._drain = true; + this._stream.once('drain', function () { + _this4._drain = false; + callback(); + }); + } else { + callback(); // eslint-disable-line callback-return + } + debug('written', written, this._drain); + this.finishIfEnding(); + return written; + } + + /** + * Query the transport. Options object is optional. + * @param {Object} options - Loggly-like query options for this instance. + * @param {function} callback - Continuation to respond to when complete. + * TODO: Refactor me. + */ + }, { + key: "query", + value: function query(options, callback) { + if (typeof options === 'function') { + callback = options; + options = {}; + } + options = normalizeQuery(options); + var file = path.join(this.dirname, this.filename); + var buff = ''; + var results = []; + var row = 0; + var stream = fs.createReadStream(file, { + encoding: 'utf8' + }); + stream.on('error', function (err) { + if (stream.readable) { + stream.destroy(); + } + if (!callback) { + return; + } + return err.code !== 'ENOENT' ? callback(err) : callback(null, results); + }); + stream.on('data', function (data) { + data = (buff + data).split(/\n+/); + var l = data.length - 1; + var i = 0; + for (; i < l; i++) { + if (!options.start || row >= options.start) { + add(data[i]); + } + row++; + } + buff = data[l]; + }); + stream.on('close', function () { + if (buff) { + add(buff, true); + } + if (options.order === 'desc') { + results = results.reverse(); + } + + // eslint-disable-next-line callback-return + if (callback) callback(null, results); + }); + function add(buff, attempt) { + try { + var log = JSON.parse(buff); + if (check(log)) { + push(log); + } + } catch (e) { + if (!attempt) { + stream.emit('error', e); + } + } + } + function push(log) { + if (options.rows && results.length >= options.rows && options.order !== 'desc') { + if (stream.readable) { + stream.destroy(); + } + return; + } + if (options.fields) { + log = options.fields.reduce(function (obj, key) { + obj[key] = log[key]; + return obj; + }, {}); + } + if (options.order === 'desc') { + if (results.length >= options.rows) { + results.shift(); + } + } + results.push(log); + } + function check(log) { + if (!log) { + return; + } + if (_typeof(log) !== 'object') { + return; + } + var time = new Date(log.timestamp); + if (options.from && time < options.from || options.until && time > options.until || options.level && options.level !== log.level) { + return; + } + return true; + } + function normalizeQuery(options) { + options = options || {}; + + // limit + options.rows = options.rows || options.limit || 10; + + // starting row offset + options.start = options.start || 0; + + // now + options.until = options.until || new Date(); + if (_typeof(options.until) !== 'object') { + options.until = new Date(options.until); + } + + // now - 24 + options.from = options.from || options.until - 24 * 60 * 60 * 1000; + if (_typeof(options.from) !== 'object') { + options.from = new Date(options.from); + } + + // 'asc' or 'desc' + options.order = options.order || 'desc'; + return options; + } + } + + /** + * Returns a log stream for this transport. Options object is optional. + * @param {Object} options - Stream options for this instance. + * @returns {Stream} - TODO: add return description. + * TODO: Refactor me. + */ + }, { + key: "stream", + value: function stream() { + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var file = path.join(this.dirname, this.filename); + var stream = new Stream(); + var tail = { + file: file, + start: options.start + }; + stream.destroy = tailFile(tail, function (err, line) { + if (err) { + return stream.emit('error', err); + } + try { + stream.emit('data', line); + line = JSON.parse(line); + stream.emit('log', line); + } catch (e) { + stream.emit('error', e); + } + }); + return stream; + } + + /** + * Checks to see the filesize of. + * @returns {undefined} + */ + }, { + key: "open", + value: function open() { + var _this6 = this; + // If we do not have a filename then we were passed a stream and + // don't need to keep track of size. + if (!this.filename) return; + if (this._opening) return; + this._opening = true; + + // Stat the target file to get the size and create the stream. + this.stat(function (err, size) { + if (err) { + return _this6.emit('error', err); + } + debug('stat done: %s { size: %s }', _this6.filename, size); + _this6._size = size; + _this6._dest = _this6._createStream(_this6._stream); + _this6._opening = false; + _this6.once('open', function () { + if (!_this6._stream.emit('rotate')) { + _this6._rotate = false; + } + }); + }); + } + + /** + * Stat the file and assess information in order to create the proper stream. + * @param {function} callback - TODO: add param description. + * @returns {undefined} + */ + }, { + key: "stat", + value: function stat(callback) { + var _this7 = this; + var target = this._getFile(); + var fullpath = path.join(this.dirname, target); + fs.stat(fullpath, function (err, stat) { + if (err && err.code === 'ENOENT') { + debug('ENOENT ok', fullpath); + // Update internally tracked filename with the new target name. + _this7.filename = target; + return callback(null, 0); + } + if (err) { + debug("err ".concat(err.code, " ").concat(fullpath)); + return callback(err); + } + if (!stat || _this7._needsNewFile(stat.size)) { + // If `stats.size` is greater than the `maxsize` for this + // instance then try again. + return _this7._incFile(function () { + return _this7.stat(callback); + }); + } + + // Once we have figured out what the filename is, set it + // and return the size. + _this7.filename = target; + callback(null, stat.size); + }); + } + + /** + * Closes the stream associated with this instance. + * @param {function} cb - TODO: add param description. + * @returns {undefined} + */ + }, { + key: "close", + value: function close(cb) { + var _this8 = this; + if (!this._stream) { + return; + } + this._stream.end(function () { + if (cb) { + cb(); // eslint-disable-line callback-return + } + _this8.emit('flush'); + _this8.emit('closed'); + }); + } + + /** + * TODO: add method description. + * @param {number} size - TODO: add param description. + * @returns {undefined} + */ + }, { + key: "_needsNewFile", + value: function _needsNewFile(size) { + size = size || this._size; + return this.maxsize && size >= this.maxsize; + } + + /** + * TODO: add method description. + * @param {Error} err - TODO: add param description. + * @returns {undefined} + */ + }, { + key: "_onError", + value: function _onError(err) { + this.emit('error', err); + } + + /** + * TODO: add method description. + * @param {Stream} stream - TODO: add param description. + * @returns {mixed} - TODO: add return description. + */ + }, { + key: "_setupStream", + value: function _setupStream(stream) { + stream.on('error', this._onError); + return stream; + } + + /** + * TODO: add method description. + * @param {Stream} stream - TODO: add param description. + * @returns {mixed} - TODO: add return description. + */ + }, { + key: "_cleanupStream", + value: function _cleanupStream(stream) { + stream.removeListener('error', this._onError); + stream.destroy(); + return stream; + } + + /** + * TODO: add method description. + */ + }, { + key: "_rotateFile", + value: function _rotateFile() { + var _this9 = this; + this._incFile(function () { + return _this9.open(); + }); + } + + /** + * Unpipe from the stream that has been marked as full and end it so it + * flushes to disk. + * + * @param {function} callback - Callback for when the current file has closed. + * @private + */ + }, { + key: "_endStream", + value: function _endStream() { + var _this0 = this; + var callback = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : function () {}; + if (this._dest) { + this._stream.unpipe(this._dest); + this._dest.end(function () { + _this0._cleanupStream(_this0._dest); + callback(); + }); + } else { + callback(); // eslint-disable-line callback-return + } + } + + /** + * Returns the WritableStream for the active file on this instance. If we + * should gzip the file then a zlib stream is returned. + * + * @param {ReadableStream} source –PassThrough to pipe to the file when open. + * @returns {WritableStream} Stream that writes to disk for the active file. + */ + }, { + key: "_createStream", + value: function _createStream(source) { + var _this1 = this; + var fullpath = path.join(this.dirname, this.filename); + debug('create stream start', fullpath, this.options); + var dest = fs.createWriteStream(fullpath, this.options) + // TODO: What should we do with errors here? + .on('error', function (err) { + return debug(err); + }).on('close', function () { + return debug('close', dest.path, dest.bytesWritten); + }).on('open', function () { + debug('file open ok', fullpath); + _this1.emit('open', fullpath); + source.pipe(dest); + + // If rotation occured during the open operation then we immediately + // start writing to a new PassThrough, begin opening the next file + // and cleanup the previous source and dest once the source has drained. + if (_this1.rotatedWhileOpening) { + _this1._stream = new PassThrough(); + _this1._stream.setMaxListeners(30); + _this1._rotateFile(); + _this1.rotatedWhileOpening = false; + _this1._cleanupStream(dest); + source.end(); + } + }); + debug('create stream ok', fullpath); + return dest; + } + + /** + * TODO: add method description. + * @param {function} callback - TODO: add param description. + * @returns {undefined} + */ + }, { + key: "_incFile", + value: function _incFile(callback) { + debug('_incFile', this.filename); + var ext = path.extname(this._basename); + var basename = path.basename(this._basename, ext); + var tasks = []; + if (this.zippedArchive) { + tasks.push(function (cb) { + var num = this._created > 0 && !this.tailable ? this._created : ''; + this._compressFile(path.join(this.dirname, "".concat(basename).concat(num).concat(ext)), path.join(this.dirname, "".concat(basename).concat(num).concat(ext, ".gz")), cb); + }.bind(this)); + } + tasks.push(function (cb) { + if (!this.tailable) { + this._created += 1; + this._checkMaxFilesIncrementing(ext, basename, cb); + } else { + this._checkMaxFilesTailable(ext, basename, cb); + } + }.bind(this)); + asyncSeries(tasks, callback); + } + + /** + * Gets the next filename to use for this instance in the case that log + * filesizes are being capped. + * @returns {string} - TODO: add return description. + * @private + */ + }, { + key: "_getFile", + value: function _getFile() { + var ext = path.extname(this._basename); + var basename = path.basename(this._basename, ext); + var isRotation = this.rotationFormat ? this.rotationFormat() : this._created; + + // Caveat emptor (indexzero): rotationFormat() was broken by design When + // combined with max files because the set of files to unlink is never + // stored. + return !this.tailable && this._created ? "".concat(basename).concat(isRotation).concat(ext) : "".concat(basename).concat(ext); + } + + /** + * Increment the number of files created or checked by this instance. + * @param {mixed} ext - TODO: add param description. + * @param {mixed} basename - TODO: add param description. + * @param {mixed} callback - TODO: add param description. + * @returns {undefined} + * @private + */ + }, { + key: "_checkMaxFilesIncrementing", + value: function _checkMaxFilesIncrementing(ext, basename, callback) { + // Check for maxFiles option and delete file. + if (!this.maxFiles || this._created < this.maxFiles) { + return setImmediate(callback); + } + var oldest = this._created - this.maxFiles; + var isOldest = oldest !== 0 ? oldest : ''; + var isZipped = this.zippedArchive ? '.gz' : ''; + var filePath = "".concat(basename).concat(isOldest).concat(ext).concat(isZipped); + var target = path.join(this.dirname, filePath); + fs.unlink(target, callback); + } + + /** + * Roll files forward based on integer, up to maxFiles. e.g. if base if + * file.log and it becomes oversized, roll to file1.log, and allow file.log + * to be re-used. If file is oversized again, roll file1.log to file2.log, + * roll file.log to file1.log, and so on. + * @param {mixed} ext - TODO: add param description. + * @param {mixed} basename - TODO: add param description. + * @param {mixed} callback - TODO: add param description. + * @returns {undefined} + * @private + */ + }, { + key: "_checkMaxFilesTailable", + value: function _checkMaxFilesTailable(ext, basename, callback) { + var _this11 = this; + var tasks = []; + if (!this.maxFiles) { + return; + } + + // const isZipped = this.zippedArchive ? '.gz' : ''; + var isZipped = this.zippedArchive ? '.gz' : ''; + for (var x = this.maxFiles - 1; x > 1; x--) { + tasks.push(function (i, cb) { + var _this10 = this; + var fileName = "".concat(basename).concat(i - 1).concat(ext).concat(isZipped); + var tmppath = path.join(this.dirname, fileName); + fs.exists(tmppath, function (exists) { + if (!exists) { + return cb(null); + } + fileName = "".concat(basename).concat(i).concat(ext).concat(isZipped); + fs.rename(tmppath, path.join(_this10.dirname, fileName), cb); + }); + }.bind(this, x)); + } + asyncSeries(tasks, function () { + fs.rename(path.join(_this11.dirname, "".concat(basename).concat(ext).concat(isZipped)), path.join(_this11.dirname, "".concat(basename, "1").concat(ext).concat(isZipped)), callback); + }); + } + + /** + * Compresses src to dest with gzip and unlinks src + * @param {string} src - path to source file. + * @param {string} dest - path to zipped destination file. + * @param {Function} callback - callback called after file has been compressed. + * @returns {undefined} + * @private + */ + }, { + key: "_compressFile", + value: function _compressFile(src, dest, callback) { + fs.access(src, fs.F_OK, function (err) { + if (err) { + return callback(); + } + var gzip = zlib.createGzip(); + var inp = fs.createReadStream(src); + var out = fs.createWriteStream(dest); + out.on('finish', function () { + fs.unlink(src, callback); + }); + inp.pipe(gzip).pipe(out); + }); + } + }, { + key: "_createLogDirIfNotExist", + value: function _createLogDirIfNotExist(dirPath) { + /* eslint-disable no-sync */ + if (!fs.existsSync(dirPath)) { + fs.mkdirSync(dirPath, { + recursive: true + }); + } + /* eslint-enable no-sync */ + } + }]); +}(TransportStream); \ No newline at end of file diff --git a/node_modules/winston/dist/winston/transports/http.js b/node_modules/winston/dist/winston/transports/http.js new file mode 100644 index 0000000..5b03320 --- /dev/null +++ b/node_modules/winston/dist/winston/transports/http.js @@ -0,0 +1,288 @@ +/** + * http.js: Transport for outputting to a json-rpcserver. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } +function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } +function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; } +function _readOnlyError(r) { throw new TypeError('"' + r + '" is read-only'); } +function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); } +function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } } +function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; } +function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } +function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } +function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); } +function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); } +function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } +function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } +function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); } +function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); } +function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); } +var http = require('http'); +var https = require('https'); +var _require = require('readable-stream'), + Stream = _require.Stream; +var TransportStream = require('winston-transport'); +var _require2 = require('safe-stable-stringify'), + configure = _require2.configure; + +/** + * Transport for outputting to a json-rpc server. + * @type {Stream} + * @extends {TransportStream} + */ +module.exports = /*#__PURE__*/function (_TransportStream) { + /** + * Constructor function for the Http transport object responsible for + * persisting log messages and metadata to a terminal or TTY. + * @param {!Object} [options={}] - Options for this instance. + */ + // eslint-disable-next-line max-statements + function Http() { + var _this; + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + _classCallCheck(this, Http); + _this = _callSuper(this, Http, [options]); + _this.options = options; + _this.name = options.name || 'http'; + _this.ssl = !!options.ssl; + _this.host = options.host || 'localhost'; + _this.port = options.port; + _this.auth = options.auth; + _this.path = options.path || ''; + _this.maximumDepth = options.maximumDepth; + _this.agent = options.agent; + _this.headers = options.headers || {}; + _this.headers['content-type'] = 'application/json'; + _this.batch = options.batch || false; + _this.batchInterval = options.batchInterval || 5000; + _this.batchCount = options.batchCount || 10; + _this.batchOptions = []; + _this.batchTimeoutID = -1; + _this.batchCallback = {}; + if (!_this.port) { + _this.port = _this.ssl ? 443 : 80; + } + return _this; + } + + /** + * Core logging method exposed to Winston. + * @param {Object} info - TODO: add param description. + * @param {function} callback - TODO: add param description. + * @returns {undefined} + */ + _inherits(Http, _TransportStream); + return _createClass(Http, [{ + key: "log", + value: function log(info, callback) { + var _this2 = this; + this._request(info, null, null, function (err, res) { + if (res && res.statusCode !== 200) { + err = new Error("Invalid HTTP Status Code: ".concat(res.statusCode)); + } + if (err) { + _this2.emit('warn', err); + } else { + _this2.emit('logged', info); + } + }); + + // Remark: (jcrugzz) Fire and forget here so requests dont cause buffering + // and block more requests from happening? + if (callback) { + setImmediate(callback); + } + } + + /** + * Query the transport. Options object is optional. + * @param {Object} options - Loggly-like query options for this instance. + * @param {function} callback - Continuation to respond to when complete. + * @returns {undefined} + */ + }, { + key: "query", + value: function query(options, callback) { + if (typeof options === 'function') { + callback = options; + options = {}; + } + options = { + method: 'query', + params: this.normalizeQuery(options) + }; + var auth = options.params.auth || null; + delete options.params.auth; + var path = options.params.path || null; + delete options.params.path; + this._request(options, auth, path, function (err, res, body) { + if (res && res.statusCode !== 200) { + err = new Error("Invalid HTTP Status Code: ".concat(res.statusCode)); + } + if (err) { + return callback(err); + } + if (typeof body === 'string') { + try { + body = JSON.parse(body); + } catch (e) { + return callback(e); + } + } + callback(null, body); + }); + } + + /** + * Returns a log stream for this transport. Options object is optional. + * @param {Object} options - Stream options for this instance. + * @returns {Stream} - TODO: add return description + */ + }, { + key: "stream", + value: function stream() { + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var stream = new Stream(); + options = { + method: 'stream', + params: options + }; + var path = options.params.path || null; + delete options.params.path; + var auth = options.params.auth || null; + delete options.params.auth; + var buff = ''; + var req = this._request(options, auth, path); + stream.destroy = function () { + return req.destroy(); + }; + req.on('data', function (data) { + data = (buff + data).split(/\n+/); + var l = data.length - 1; + var i = 0; + for (; i < l; i++) { + try { + stream.emit('log', JSON.parse(data[i])); + } catch (e) { + stream.emit('error', e); + } + } + buff = data[l]; + }); + req.on('error', function (err) { + return stream.emit('error', err); + }); + return stream; + } + + /** + * Make a request to a winstond server or any http server which can + * handle json-rpc. + * @param {function} options - Options to sent the request. + * @param {Object?} auth - authentication options + * @param {string} path - request path + * @param {function} callback - Continuation to respond to when complete. + */ + }, { + key: "_request", + value: function _request(options, auth, path, callback) { + options = options || {}; + auth = auth || this.auth; + path = path || this.path || ''; + if (this.batch) { + this._doBatch(options, callback, auth, path); + } else { + this._doRequest(options, callback, auth, path); + } + } + + /** + * Send or memorize the options according to batch configuration + * @param {function} options - Options to sent the request. + * @param {function} callback - Continuation to respond to when complete. + * @param {Object?} auth - authentication options + * @param {string} path - request path + */ + }, { + key: "_doBatch", + value: function _doBatch(options, callback, auth, path) { + this.batchOptions.push(options); + if (this.batchOptions.length === 1) { + // First message stored, it's time to start the timeout! + var me = this; + this.batchCallback = callback; + this.batchTimeoutID = setTimeout(function () { + // timeout is reached, send all messages to endpoint + me.batchTimeoutID = -1; + me._doBatchRequest(me.batchCallback, auth, path); + }, this.batchInterval); + } + if (this.batchOptions.length === this.batchCount) { + // max batch count is reached, send all messages to endpoint + this._doBatchRequest(this.batchCallback, auth, path); + } + } + + /** + * Initiate a request with the memorized batch options, stop the batch timeout + * @param {function} callback - Continuation to respond to when complete. + * @param {Object?} auth - authentication options + * @param {string} path - request path + */ + }, { + key: "_doBatchRequest", + value: function _doBatchRequest(callback, auth, path) { + if (this.batchTimeoutID > 0) { + clearTimeout(this.batchTimeoutID); + this.batchTimeoutID = -1; + } + var batchOptionsCopy = this.batchOptions.slice(); + this.batchOptions = []; + this._doRequest(batchOptionsCopy, callback, auth, path); + } + + /** + * Make a request to a winstond server or any http server which can + * handle json-rpc. + * @param {function} options - Options to sent the request. + * @param {function} callback - Continuation to respond to when complete. + * @param {Object?} auth - authentication options + * @param {string} path - request path + */ + }, { + key: "_doRequest", + value: function _doRequest(options, callback, auth, path) { + // Prepare options for outgoing HTTP request + var headers = Object.assign({}, this.headers); + if (auth && auth.bearer) { + headers.Authorization = "Bearer ".concat(auth.bearer); + } + var req = (this.ssl ? https : http).request(_objectSpread(_objectSpread({}, this.options), {}, { + method: 'POST', + host: this.host, + port: this.port, + path: "/".concat(path.replace(/^\//, '')), + headers: headers, + auth: auth && auth.username && auth.password ? "".concat(auth.username, ":").concat(auth.password) : '', + agent: this.agent + })); + req.on('error', callback); + req.on('response', function (res) { + return res.on('end', function () { + return callback(null, res); + }).resume(); + }); + var jsonStringify = configure(_objectSpread({}, this.maximumDepth && { + maximumDepth: this.maximumDepth + })); + req.end(Buffer.from(jsonStringify(options, this.options.replacer), 'utf8')); + } + }]); +}(TransportStream); \ No newline at end of file diff --git a/node_modules/winston/dist/winston/transports/index.js b/node_modules/winston/dist/winston/transports/index.js new file mode 100644 index 0000000..a105ebe --- /dev/null +++ b/node_modules/winston/dist/winston/transports/index.js @@ -0,0 +1,56 @@ +/** + * transports.js: Set of all transports Winston knows about. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +/** + * TODO: add property description. + * @type {Console} + */ +Object.defineProperty(exports, 'Console', { + configurable: true, + enumerable: true, + get: function get() { + return require('./console'); + } +}); + +/** + * TODO: add property description. + * @type {File} + */ +Object.defineProperty(exports, 'File', { + configurable: true, + enumerable: true, + get: function get() { + return require('./file'); + } +}); + +/** + * TODO: add property description. + * @type {Http} + */ +Object.defineProperty(exports, 'Http', { + configurable: true, + enumerable: true, + get: function get() { + return require('./http'); + } +}); + +/** + * TODO: add property description. + * @type {Stream} + */ +Object.defineProperty(exports, 'Stream', { + configurable: true, + enumerable: true, + get: function get() { + return require('./stream'); + } +}); \ No newline at end of file diff --git a/node_modules/winston/dist/winston/transports/stream.js b/node_modules/winston/dist/winston/transports/stream.js new file mode 100644 index 0000000..df32c8f --- /dev/null +++ b/node_modules/winston/dist/winston/transports/stream.js @@ -0,0 +1,86 @@ +/** + * stream.js: Transport for outputting to any arbitrary stream. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); } +function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } } +function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; } +function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } +function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } +function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); } +function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); } +function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } +function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } +function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); } +function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); } +function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); } +var isStream = require('is-stream'); +var _require = require('triple-beam'), + MESSAGE = _require.MESSAGE; +var os = require('os'); +var TransportStream = require('winston-transport'); + +/** + * Transport for outputting to any arbitrary stream. + * @type {Stream} + * @extends {TransportStream} + */ +module.exports = /*#__PURE__*/function (_TransportStream) { + /** + * Constructor function for the Console transport object responsible for + * persisting log messages and metadata to a terminal or TTY. + * @param {!Object} [options={}] - Options for this instance. + */ + function Stream() { + var _this; + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + _classCallCheck(this, Stream); + _this = _callSuper(this, Stream, [options]); + if (!options.stream || !isStream(options.stream)) { + throw new Error('options.stream is required.'); + } + + // We need to listen for drain events when write() returns false. This can + // make node mad at times. + _this._stream = options.stream; + _this._stream.setMaxListeners(Infinity); + _this.isObjectMode = options.stream._writableState.objectMode; + _this.eol = typeof options.eol === 'string' ? options.eol : os.EOL; + return _this; + } + + /** + * Core logging method exposed to Winston. + * @param {Object} info - TODO: add param description. + * @param {Function} callback - TODO: add param description. + * @returns {undefined} + */ + _inherits(Stream, _TransportStream); + return _createClass(Stream, [{ + key: "log", + value: function log(info, callback) { + var _this2 = this; + setImmediate(function () { + return _this2.emit('logged', info); + }); + if (this.isObjectMode) { + this._stream.write(info); + if (callback) { + callback(); // eslint-disable-line callback-return + } + return; + } + this._stream.write("".concat(info[MESSAGE]).concat(this.eol)); + if (callback) { + callback(); // eslint-disable-line callback-return + } + return; + } + }]); +}(TransportStream); \ No newline at end of file diff --git a/node_modules/winston/index.d.ts b/node_modules/winston/index.d.ts new file mode 100644 index 0000000..b710af7 --- /dev/null +++ b/node_modules/winston/index.d.ts @@ -0,0 +1,208 @@ +// Type definitions for winston 3.0 +// Project: https://github.com/winstonjs/winston + +/// + +import * as NodeJSStream from 'stream'; + +import * as logform from 'logform'; +import * as Transport from 'winston-transport'; + +import * as Config from './lib/winston/config/index'; +import * as Transports from './lib/winston/transports/index'; + +declare namespace winston { + // Hoisted namespaces from other modules + export import format = logform.format; + export import Logform = logform; + export import config = Config; + export import transports = Transports; + export import transport = Transport; + + class ExceptionHandler { + constructor(logger: Logger); + logger: Logger; + handlers: Map; + catcher: Function | boolean; + + handle(...transports: Transport[]): void; + unhandle(...transports: Transport[]): void; + getAllInfo(err: string | Error): object; + getProcessInfo(): object; + getOsInfo(): object; + getTrace(err: Error): object; + } + + class RejectionHandler { + constructor(logger: Logger); + logger: Logger; + handlers: Map; + catcher: Function | boolean; + + handle(...transports: Transport[]): void; + unhandle(...transports: Transport[]): void; + getAllInfo(err: string | Error): object; + getProcessInfo(): object; + getOsInfo(): object; + getTrace(err: Error): object; + } + + interface QueryOptions { + rows?: number; + limit?: number; + start?: number; + from?: Date; + until?: Date; + order?: 'asc' | 'desc'; + fields: any; + } + + class Profiler { + logger: Logger; + start: Number; + done(info?: any): boolean; + } + + interface LogEntry { + level: string; + message: string; + [optionName: string]: any; + } + + interface LogMethod { + (level: string, message: string, ...meta: any[]): Logger; + (entry: LogEntry): Logger; + (level: string, message: any): Logger; + } + + interface LeveledLogMethod { + (message: string, ...meta: any[]): Logger; + (message: any): Logger; + (infoObject: object): Logger; + } + + interface LoggerOptions { + levels?: Config.AbstractConfigSetLevels; + silent?: boolean; + format?: logform.Format; + level?: string; + exitOnError?: Function | boolean; + defaultMeta?: any; + transports?: Transport[] | Transport; + handleExceptions?: boolean; + handleRejections?: boolean; + exceptionHandlers?: any; + rejectionHandlers?: any; + } + + class Logger extends NodeJSStream.Transform { + constructor(options?: LoggerOptions); + + silent: boolean; + format: logform.Format; + levels: Config.AbstractConfigSetLevels; + level: string; + transports: Transport[]; + exceptions: ExceptionHandler; + rejections: RejectionHandler; + profilers: object; + exitOnError: Function | boolean; + defaultMeta?: any; + + log: LogMethod; + add(transport: Transport): this; + remove(transport: Transport): this; + clear(): this; + close(): this; + + // for cli and npm levels + error: LeveledLogMethod; + warn: LeveledLogMethod; + help: LeveledLogMethod; + data: LeveledLogMethod; + info: LeveledLogMethod; + debug: LeveledLogMethod; + prompt: LeveledLogMethod; + http: LeveledLogMethod; + verbose: LeveledLogMethod; + input: LeveledLogMethod; + silly: LeveledLogMethod; + + // for syslog levels only + emerg: LeveledLogMethod; + alert: LeveledLogMethod; + crit: LeveledLogMethod; + warning: LeveledLogMethod; + notice: LeveledLogMethod; + + query( + options?: QueryOptions, + callback?: (err: Error, results: any) => void + ): any; + stream(options?: any): NodeJS.ReadableStream; + + startTimer(): Profiler; + profile(id: string | number, meta?: Record): this; + + configure(options: LoggerOptions): void; + + child(options: Object): this; + + isLevelEnabled(level: string): boolean; + isErrorEnabled(): boolean; + isWarnEnabled(): boolean; + isInfoEnabled(): boolean; + isVerboseEnabled(): boolean; + isDebugEnabled(): boolean; + isSillyEnabled(): boolean; + } + + class Container { + loggers: Map; + options: LoggerOptions; + + add(id: string, options?: LoggerOptions): Logger; + get(id: string, options?: LoggerOptions): Logger; + has(id: string): boolean; + close(id?: string): void; + + constructor(options?: LoggerOptions); + } + + let version: string; + let loggers: Container; + + let addColors: (target: Config.AbstractConfigSetColors) => any; + let createLogger: (options?: LoggerOptions) => Logger; + + // Pass-through npm level methods routed to the default logger. + let error: LeveledLogMethod; + let warn: LeveledLogMethod; + let info: LeveledLogMethod; + let http: LeveledLogMethod; + let verbose: LeveledLogMethod; + let debug: LeveledLogMethod; + let silly: LeveledLogMethod; + + // Other pass-through methods routed to the default logger. + let log: LogMethod; + let query: ( + options?: QueryOptions, + callback?: (err: Error, results: any) => void + ) => any; + let stream: (options?: any) => NodeJS.ReadableStream; + let add: (transport: Transport) => Logger; + let remove: (transport: Transport) => Logger; + let clear: () => Logger; + let startTimer: () => Profiler; + let profile: (id: string | number) => Logger; + let configure: (options: LoggerOptions) => void; + let child: (options: Object) => Logger; + let level: string; + let exceptions: ExceptionHandler; + let rejections: RejectionHandler; + let exitOnError: Function | boolean; + // let default: object; +} + +export = winston; diff --git a/node_modules/winston/lib/winston.js b/node_modules/winston/lib/winston.js new file mode 100644 index 0000000..a063b2b --- /dev/null +++ b/node_modules/winston/lib/winston.js @@ -0,0 +1,191 @@ +/** + * winston.js: Top-level include defining Winston. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +const logform = require('logform'); +const { warn } = require('./winston/common'); + +/** + * Expose version. Use `require` method for `webpack` support. + * @type {string} + */ +exports.version = require('../package.json').version; +/** + * Include transports defined by default by winston + * @type {Array} + */ +exports.transports = require('./winston/transports'); +/** + * Expose utility methods + * @type {Object} + */ +exports.config = require('./winston/config'); +/** + * Hoist format-related functionality from logform. + * @type {Object} + */ +exports.addColors = logform.levels; +/** + * Hoist format-related functionality from logform. + * @type {Object} + */ +exports.format = logform.format; +/** + * Expose core Logging-related prototypes. + * @type {function} + */ +exports.createLogger = require('./winston/create-logger'); +/** + * Expose core Logging-related prototypes. + * @type {function} + */ +exports.Logger = require('./winston/logger'); +/** + * Expose core Logging-related prototypes. + * @type {Object} + */ +exports.ExceptionHandler = require('./winston/exception-handler'); +/** + * Expose core Logging-related prototypes. + * @type {Object} + */ +exports.RejectionHandler = require('./winston/rejection-handler'); +/** + * Expose core Logging-related prototypes. + * @type {Container} + */ +exports.Container = require('./winston/container'); +/** + * Expose core Logging-related prototypes. + * @type {Object} + */ +exports.Transport = require('winston-transport'); +/** + * We create and expose a default `Container` to `winston.loggers` so that the + * programmer may manage multiple `winston.Logger` instances without any + * additional overhead. + * @example + * // some-file1.js + * const logger = require('winston').loggers.get('something'); + * + * // some-file2.js + * const logger = require('winston').loggers.get('something'); + */ +exports.loggers = new exports.Container(); + +/** + * We create and expose a 'defaultLogger' so that the programmer may do the + * following without the need to create an instance of winston.Logger directly: + * @example + * const winston = require('winston'); + * winston.log('info', 'some message'); + * winston.error('some error'); + */ +const defaultLogger = exports.createLogger(); + +// Pass through the target methods onto `winston. +Object.keys(exports.config.npm.levels) + .concat([ + 'log', + 'query', + 'stream', + 'add', + 'remove', + 'clear', + 'profile', + 'startTimer', + 'handleExceptions', + 'unhandleExceptions', + 'handleRejections', + 'unhandleRejections', + 'configure', + 'child' + ]) + .forEach( + method => (exports[method] = (...args) => defaultLogger[method](...args)) + ); + +/** + * Define getter / setter for the default logger level which need to be exposed + * by winston. + * @type {string} + */ +Object.defineProperty(exports, 'level', { + get() { + return defaultLogger.level; + }, + set(val) { + defaultLogger.level = val; + } +}); + +/** + * Define getter for `exceptions` which replaces `handleExceptions` and + * `unhandleExceptions`. + * @type {Object} + */ +Object.defineProperty(exports, 'exceptions', { + get() { + return defaultLogger.exceptions; + } +}); + +/** + * Define getter for `rejections` which replaces `handleRejections` and + * `unhandleRejections`. + * @type {Object} + */ +Object.defineProperty(exports, 'rejections', { + get() { + return defaultLogger.rejections; + } +}); + +/** + * Define getters / setters for appropriate properties of the default logger + * which need to be exposed by winston. + * @type {Logger} + */ +['exitOnError'].forEach(prop => { + Object.defineProperty(exports, prop, { + get() { + return defaultLogger[prop]; + }, + set(val) { + defaultLogger[prop] = val; + } + }); +}); + +/** + * The default transports and exceptionHandlers for the default winston logger. + * @type {Object} + */ +Object.defineProperty(exports, 'default', { + get() { + return { + exceptionHandlers: defaultLogger.exceptionHandlers, + rejectionHandlers: defaultLogger.rejectionHandlers, + transports: defaultLogger.transports + }; + } +}); + +// Have friendlier breakage notices for properties that were exposed by default +// on winston < 3.0. +warn.deprecated(exports, 'setLevels'); +warn.forFunctions(exports, 'useFormat', ['cli']); +warn.forProperties(exports, 'useFormat', ['padLevels', 'stripColors']); +warn.forFunctions(exports, 'deprecated', [ + 'addRewriter', + 'addFilter', + 'clone', + 'extend' +]); +warn.forProperties(exports, 'deprecated', ['emitErrs', 'levelLength']); + diff --git a/node_modules/winston/lib/winston/common.js b/node_modules/winston/lib/winston/common.js new file mode 100644 index 0000000..ac8e99d --- /dev/null +++ b/node_modules/winston/lib/winston/common.js @@ -0,0 +1,46 @@ +/** + * common.js: Internal helper and utility functions for winston. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +const { format } = require('util'); + +/** + * Set of simple deprecation notices and a way to expose them for a set of + * properties. + * @type {Object} + * @private + */ +exports.warn = { + deprecated(prop) { + return () => { + throw new Error(format('{ %s } was removed in winston@3.0.0.', prop)); + }; + }, + useFormat(prop) { + return () => { + throw new Error([ + format('{ %s } was removed in winston@3.0.0.', prop), + 'Use a custom winston.format = winston.format(function) instead.' + ].join('\n')); + }; + }, + forFunctions(obj, type, props) { + props.forEach(prop => { + obj[prop] = exports.warn[type](prop); + }); + }, + forProperties(obj, type, props) { + props.forEach(prop => { + const notice = exports.warn[type](prop); + Object.defineProperty(obj, prop, { + get: notice, + set: notice + }); + }); + } +}; diff --git a/node_modules/winston/lib/winston/config/index.d.ts b/node_modules/winston/lib/winston/config/index.d.ts new file mode 100644 index 0000000..639f317 --- /dev/null +++ b/node_modules/winston/lib/winston/config/index.d.ts @@ -0,0 +1,99 @@ +// Type definitions for winston 3.0 +// Project: https://github.com/winstonjs/winston + +/// + +declare namespace winston { + interface AbstractConfigSetLevels { + [key: string]: number; + } + + interface AbstractConfigSetColors { + [key: string]: string | string[]; + } + + interface AbstractConfigSet { + levels: AbstractConfigSetLevels; + colors: AbstractConfigSetColors; + } + + interface CliConfigSetLevels extends AbstractConfigSetLevels { + error: number; + warn: number; + help: number; + data: number; + info: number; + debug: number; + prompt: number; + verbose: number; + input: number; + silly: number; + } + + interface CliConfigSetColors extends AbstractConfigSetColors { + error: string | string[]; + warn: string | string[]; + help: string | string[]; + data: string | string[]; + info: string | string[]; + debug: string | string[]; + prompt: string | string[]; + verbose: string | string[]; + input: string | string[]; + silly: string | string[]; + } + + interface NpmConfigSetLevels extends AbstractConfigSetLevels { + error: number; + warn: number; + info: number; + http: number; + verbose: number; + debug: number; + silly: number; + } + + interface NpmConfigSetColors extends AbstractConfigSetColors { + error: string | string[]; + warn: string | string[]; + info: string | string[]; + http: string | string[]; + verbose: string | string[]; + debug: string | string[]; + silly: string | string[]; + } + + interface SyslogConfigSetLevels extends AbstractConfigSetLevels { + emerg: number; + alert: number; + crit: number; + error: number; + warning: number; + notice: number; + info: number; + debug: number; + } + + interface SyslogConfigSetColors extends AbstractConfigSetColors { + emerg: string | string[]; + alert: string | string[]; + crit: string | string[]; + error: string | string[]; + warning: string | string[]; + notice: string | string[]; + info: string | string[]; + debug: string | string[]; + } + + interface Config { + allColors: AbstractConfigSetColors; + cli: { levels: CliConfigSetLevels, colors: CliConfigSetColors }; + npm: { levels: NpmConfigSetLevels, colors: NpmConfigSetColors }; + syslog: { levels: SyslogConfigSetLevels, colors: SyslogConfigSetColors }; + + addColors(colors: AbstractConfigSetColors): void; + } +} + +declare const winston: winston.Config; +export = winston; diff --git a/node_modules/winston/lib/winston/config/index.js b/node_modules/winston/lib/winston/config/index.js new file mode 100644 index 0000000..6eb79de --- /dev/null +++ b/node_modules/winston/lib/winston/config/index.js @@ -0,0 +1,35 @@ +/** + * index.js: Default settings for all levels that winston knows about. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +const logform = require('logform'); +const { configs } = require('triple-beam'); + +/** + * Export config set for the CLI. + * @type {Object} + */ +exports.cli = logform.levels(configs.cli); + +/** + * Export config set for npm. + * @type {Object} + */ +exports.npm = logform.levels(configs.npm); + +/** + * Export config set for the syslog. + * @type {Object} + */ +exports.syslog = logform.levels(configs.syslog); + +/** + * Hoist addColors from logform where it was refactored into in winston@3. + * @type {Object} + */ +exports.addColors = logform.levels; diff --git a/node_modules/winston/lib/winston/container.js b/node_modules/winston/lib/winston/container.js new file mode 100644 index 0000000..5772030 --- /dev/null +++ b/node_modules/winston/lib/winston/container.js @@ -0,0 +1,118 @@ +/** + * container.js: Inversion of control container for winston logger instances. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +const createLogger = require('./create-logger'); + +/** + * Inversion of control container for winston logger instances. + * @type {Container} + */ +module.exports = class Container { + /** + * Constructor function for the Container object responsible for managing a + * set of `winston.Logger` instances based on string ids. + * @param {!Object} [options={}] - Default pass-thru options for Loggers. + */ + constructor(options = {}) { + this.loggers = new Map(); + this.options = options; + } + + /** + * Retrieves a `winston.Logger` instance for the specified `id`. If an + * instance does not exist, one is created. + * @param {!string} id - The id of the Logger to get. + * @param {?Object} [options] - Options for the Logger instance. + * @returns {Logger} - A configured Logger instance with a specified id. + */ + add(id, options) { + if (!this.loggers.has(id)) { + // Remark: Simple shallow clone for configuration options in case we pass + // in instantiated protoypal objects + options = Object.assign({}, options || this.options); + const existing = options.transports || this.options.transports; + + // Remark: Make sure if we have an array of transports we slice it to + // make copies of those references. + if (existing) { + options.transports = Array.isArray(existing) ? existing.slice() : [existing]; + } else { + options.transports = []; + } + + const logger = createLogger(options); + logger.on('close', () => this._delete(id)); + this.loggers.set(id, logger); + } + + return this.loggers.get(id); + } + + /** + * Retreives a `winston.Logger` instance for the specified `id`. If + * an instance does not exist, one is created. + * @param {!string} id - The id of the Logger to get. + * @param {?Object} [options] - Options for the Logger instance. + * @returns {Logger} - A configured Logger instance with a specified id. + */ + get(id, options) { + return this.add(id, options); + } + + /** + * Check if the container has a logger with the id. + * @param {?string} id - The id of the Logger instance to find. + * @returns {boolean} - Boolean value indicating if this instance has a + * logger with the specified `id`. + */ + has(id) { + return !!this.loggers.has(id); + } + + /** + * Closes a `Logger` instance with the specified `id` if it exists. + * If no `id` is supplied then all Loggers are closed. + * @param {?string} id - The id of the Logger instance to close. + * @returns {undefined} + */ + close(id) { + if (id) { + return this._removeLogger(id); + } + + this.loggers.forEach((val, key) => this._removeLogger(key)); + } + + /** + * Remove a logger based on the id. + * @param {!string} id - The id of the logger to remove. + * @returns {undefined} + * @private + */ + _removeLogger(id) { + if (!this.loggers.has(id)) { + return; + } + + const logger = this.loggers.get(id); + logger.close(); + this._delete(id); + } + + /** + * Deletes a `Logger` instance with the specified `id`. + * @param {!string} id - The id of the Logger instance to delete from + * container. + * @returns {undefined} + * @private + */ + _delete(id) { + this.loggers.delete(id); + } +}; diff --git a/node_modules/winston/lib/winston/create-logger.js b/node_modules/winston/lib/winston/create-logger.js new file mode 100644 index 0000000..e868aea --- /dev/null +++ b/node_modules/winston/lib/winston/create-logger.js @@ -0,0 +1,104 @@ +/** + * create-logger.js: Logger factory for winston logger instances. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +const { LEVEL } = require('triple-beam'); +const config = require('./config'); +const Logger = require('./logger'); +const debug = require('@dabh/diagnostics')('winston:create-logger'); + +function isLevelEnabledFunctionName(level) { + return 'is' + level.charAt(0).toUpperCase() + level.slice(1) + 'Enabled'; +} + +/** + * Create a new instance of a winston Logger. Creates a new + * prototype for each instance. + * @param {!Object} opts - Options for the created logger. + * @returns {Logger} - A newly created logger instance. + */ +module.exports = function (opts = {}) { + // + // Default levels: npm + // + opts.levels = opts.levels || config.npm.levels; + + /** + * DerivedLogger to attach the logs level methods. + * @type {DerivedLogger} + * @extends {Logger} + */ + class DerivedLogger extends Logger { + /** + * Create a new class derived logger for which the levels can be attached to + * the prototype of. This is a V8 optimization that is well know to increase + * performance of prototype functions. + * @param {!Object} options - Options for the created logger. + */ + constructor(options) { + super(options); + } + } + + const logger = new DerivedLogger(opts); + + // + // Create the log level methods for the derived logger. + // + Object.keys(opts.levels).forEach(function (level) { + debug('Define prototype method for "%s"', level); + if (level === 'log') { + // eslint-disable-next-line no-console + console.warn('Level "log" not defined: conflicts with the method "log". Use a different level name.'); + return; + } + + // + // Define prototype methods for each log level e.g.: + // logger.log('info', msg) implies these methods are defined: + // - logger.info(msg) + // - logger.isInfoEnabled() + // + // Remark: to support logger.child this **MUST** be a function + // so it'll always be called on the instance instead of a fixed + // place in the prototype chain. + // + DerivedLogger.prototype[level] = function (...args) { + // Prefer any instance scope, but default to "root" logger + const self = this || logger; + + // Optimize the hot-path which is the single object. + if (args.length === 1) { + const [msg] = args; + const info = msg && msg.message && msg || { message: msg }; + info.level = info[LEVEL] = level; + self._addDefaultMeta(info); + self.write(info); + return (this || logger); + } + + // When provided nothing assume the empty string + if (args.length === 0) { + self.log(level, ''); + return self; + } + + // Otherwise build argument list which could potentially conform to + // either: + // . v3 API: log(obj) + // 2. v1/v2 API: log(level, msg, ... [string interpolate], [{metadata}], [callback]) + return self.log(level, ...args); + }; + + DerivedLogger.prototype[isLevelEnabledFunctionName(level)] = function () { + return (this || logger).isLevelEnabled(level); + }; + }); + + return logger; +}; diff --git a/node_modules/winston/lib/winston/exception-handler.js b/node_modules/winston/lib/winston/exception-handler.js new file mode 100644 index 0000000..a5f2b25 --- /dev/null +++ b/node_modules/winston/lib/winston/exception-handler.js @@ -0,0 +1,245 @@ +/** + * exception-handler.js: Object for handling uncaughtException events. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +const os = require('os'); +const asyncForEach = require('async/forEach'); +const debug = require('@dabh/diagnostics')('winston:exception'); +const once = require('one-time'); +const stackTrace = require('stack-trace'); +const ExceptionStream = require('./exception-stream'); + +/** + * Object for handling uncaughtException events. + * @type {ExceptionHandler} + */ +module.exports = class ExceptionHandler { + /** + * TODO: add contructor description + * @param {!Logger} logger - TODO: add param description + */ + constructor(logger) { + if (!logger) { + throw new Error('Logger is required to handle exceptions'); + } + + this.logger = logger; + this.handlers = new Map(); + } + + /** + * Handles `uncaughtException` events for the current process by adding any + * handlers passed in. + * @returns {undefined} + */ + handle(...args) { + args.forEach(arg => { + if (Array.isArray(arg)) { + return arg.forEach(handler => this._addHandler(handler)); + } + + this._addHandler(arg); + }); + + if (!this.catcher) { + this.catcher = this._uncaughtException.bind(this); + process.on('uncaughtException', this.catcher); + } + } + + /** + * Removes any handlers to `uncaughtException` events for the current + * process. This does not modify the state of the `this.handlers` set. + * @returns {undefined} + */ + unhandle() { + if (this.catcher) { + process.removeListener('uncaughtException', this.catcher); + this.catcher = false; + + Array.from(this.handlers.values()) + .forEach(wrapper => this.logger.unpipe(wrapper)); + } + } + + /** + * TODO: add method description + * @param {Error} err - Error to get information about. + * @returns {mixed} - TODO: add return description. + */ + getAllInfo(err) { + let message = null; + if (err) { + message = typeof err === 'string' ? err : err.message; + } + + return { + error: err, + // TODO (indexzero): how do we configure this? + level: 'error', + message: [ + `uncaughtException: ${(message || '(no error message)')}`, + err && err.stack || ' No stack trace' + ].join('\n'), + stack: err && err.stack, + exception: true, + date: new Date().toString(), + process: this.getProcessInfo(), + os: this.getOsInfo(), + trace: this.getTrace(err) + }; + } + + /** + * Gets all relevant process information for the currently running process. + * @returns {mixed} - TODO: add return description. + */ + getProcessInfo() { + return { + pid: process.pid, + uid: process.getuid ? process.getuid() : null, + gid: process.getgid ? process.getgid() : null, + cwd: process.cwd(), + execPath: process.execPath, + version: process.version, + argv: process.argv, + memoryUsage: process.memoryUsage() + }; + } + + /** + * Gets all relevant OS information for the currently running process. + * @returns {mixed} - TODO: add return description. + */ + getOsInfo() { + return { + loadavg: os.loadavg(), + uptime: os.uptime() + }; + } + + /** + * Gets a stack trace for the specified error. + * @param {mixed} err - TODO: add param description. + * @returns {mixed} - TODO: add return description. + */ + getTrace(err) { + const trace = err ? stackTrace.parse(err) : stackTrace.get(); + return trace.map(site => { + return { + column: site.getColumnNumber(), + file: site.getFileName(), + function: site.getFunctionName(), + line: site.getLineNumber(), + method: site.getMethodName(), + native: site.isNative() + }; + }); + } + + /** + * Helper method to add a transport as an exception handler. + * @param {Transport} handler - The transport to add as an exception handler. + * @returns {void} + */ + _addHandler(handler) { + if (!this.handlers.has(handler)) { + handler.handleExceptions = true; + const wrapper = new ExceptionStream(handler); + this.handlers.set(handler, wrapper); + this.logger.pipe(wrapper); + } + } + + /** + * Logs all relevant information around the `err` and exits the current + * process. + * @param {Error} err - Error to handle + * @returns {mixed} - TODO: add return description. + * @private + */ + _uncaughtException(err) { + const info = this.getAllInfo(err); + const handlers = this._getExceptionHandlers(); + // Calculate if we should exit on this error + let doExit = typeof this.logger.exitOnError === 'function' + ? this.logger.exitOnError(err) + : this.logger.exitOnError; + let timeout; + + if (!handlers.length && doExit) { + // eslint-disable-next-line no-console + console.warn('winston: exitOnError cannot be true with no exception handlers.'); + // eslint-disable-next-line no-console + console.warn('winston: not exiting process.'); + doExit = false; + } + + function gracefulExit() { + debug('doExit', doExit); + debug('process._exiting', process._exiting); + + if (doExit && !process._exiting) { + // Remark: Currently ignoring any exceptions from transports when + // catching uncaught exceptions. + if (timeout) { + clearTimeout(timeout); + } + // eslint-disable-next-line no-process-exit + process.exit(1); + } + } + + if (!handlers || handlers.length === 0) { + return process.nextTick(gracefulExit); + } + + // Log to all transports attempting to listen for when they are completed. + asyncForEach(handlers, (handler, next) => { + const done = once(next); + const transport = handler.transport || handler; + + // Debug wrapping so that we can inspect what's going on under the covers. + function onDone(event) { + return () => { + debug(event); + done(); + }; + } + + transport._ending = true; + transport.once('finish', onDone('finished')); + transport.once('error', onDone('error')); + }, () => doExit && gracefulExit()); + + this.logger.log(info); + + // If exitOnError is true, then only allow the logging of exceptions to + // take up to `3000ms`. + if (doExit) { + timeout = setTimeout(gracefulExit, 3000); + } + } + + /** + * Returns the list of transports and exceptionHandlers for this instance. + * @returns {Array} - List of transports and exceptionHandlers for this + * instance. + * @private + */ + _getExceptionHandlers() { + // Remark (indexzero): since `logger.transports` returns all of the pipes + // from the _readableState of the stream we actually get the join of the + // explicit handlers and the implicit transports with + // `handleExceptions: true` + return this.logger.transports.filter(wrap => { + const transport = wrap.transport || wrap; + return transport.handleExceptions; + }); + } +}; diff --git a/node_modules/winston/lib/winston/exception-stream.js b/node_modules/winston/lib/winston/exception-stream.js new file mode 100644 index 0000000..477eba0 --- /dev/null +++ b/node_modules/winston/lib/winston/exception-stream.js @@ -0,0 +1,54 @@ +/** + * exception-stream.js: TODO: add file header handler. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +const { Writable } = require('readable-stream'); + +/** + * TODO: add class description. + * @type {ExceptionStream} + * @extends {Writable} + */ +module.exports = class ExceptionStream extends Writable { + /** + * Constructor function for the ExceptionStream responsible for wrapping a + * TransportStream; only allowing writes of `info` objects with + * `info.exception` set to true. + * @param {!TransportStream} transport - Stream to filter to exceptions + */ + constructor(transport) { + super({ objectMode: true }); + + if (!transport) { + throw new Error('ExceptionStream requires a TransportStream instance.'); + } + + // Remark (indexzero): we set `handleExceptions` here because it's the + // predicate checked in ExceptionHandler.prototype.__getExceptionHandlers + this.handleExceptions = true; + this.transport = transport; + } + + /** + * Writes the info object to our transport instance if (and only if) the + * `exception` property is set on the info. + * @param {mixed} info - TODO: add param description. + * @param {mixed} enc - TODO: add param description. + * @param {mixed} callback - TODO: add param description. + * @returns {mixed} - TODO: add return description. + * @private + */ + _write(info, enc, callback) { + if (info.exception) { + return this.transport.log(info, callback); + } + + callback(); + return true; + } +}; diff --git a/node_modules/winston/lib/winston/logger.js b/node_modules/winston/lib/winston/logger.js new file mode 100644 index 0000000..829c62f --- /dev/null +++ b/node_modules/winston/lib/winston/logger.js @@ -0,0 +1,700 @@ +/** + * logger.js: TODO: add file header description. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +const { Stream, Transform } = require('readable-stream'); +const asyncForEach = require('async/forEach'); +const { LEVEL, SPLAT } = require('triple-beam'); +const isStream = require('is-stream'); +const ExceptionHandler = require('./exception-handler'); +const RejectionHandler = require('./rejection-handler'); +const LegacyTransportStream = require('winston-transport/legacy'); +const Profiler = require('./profiler'); +const { warn } = require('./common'); +const config = require('./config'); + +/** + * Captures the number of format (i.e. %s strings) in a given string. + * Based on `util.format`, see Node.js source: + * https://github.com/nodejs/node/blob/b1c8f15c5f169e021f7c46eb7b219de95fe97603/lib/util.js#L201-L230 + * @type {RegExp} + */ +const formatRegExp = /%[scdjifoO%]/g; + +/** + * TODO: add class description. + * @type {Logger} + * @extends {Transform} + */ +class Logger extends Transform { + /** + * Constructor function for the Logger object responsible for persisting log + * messages and metadata to one or more transports. + * @param {!Object} options - foo + */ + constructor(options) { + super({ objectMode: true }); + this.configure(options); + } + + child(defaultRequestMetadata) { + const logger = this; + return Object.create(logger, { + write: { + value: function (info) { + const infoClone = Object.assign( + {}, + defaultRequestMetadata, + info + ); + + // Object.assign doesn't copy inherited Error + // properties so we have to do that explicitly + // + // Remark (indexzero): we should remove this + // since the errors format will handle this case. + // + if (info instanceof Error) { + infoClone.stack = info.stack; + infoClone.message = info.message; + infoClone.cause = info.cause; + } + + logger.write(infoClone); + } + } + }); + } + + /** + * This will wholesale reconfigure this instance by: + * 1. Resetting all transports. Older transports will be removed implicitly. + * 2. Set all other options including levels, colors, rewriters, filters, + * exceptionHandlers, etc. + * @param {!Object} options - TODO: add param description. + * @returns {undefined} + */ + configure({ + silent, + format, + defaultMeta, + levels, + level = 'info', + exitOnError = true, + transports, + colors, + emitErrs, + formatters, + padLevels, + rewriters, + stripColors, + exceptionHandlers, + rejectionHandlers + } = {}) { + // Reset transports if we already have them + if (this.transports.length) { + this.clear(); + } + + this.silent = silent; + this.format = format || this.format || require('logform/json')(); + + this.defaultMeta = defaultMeta || null; + // Hoist other options onto this instance. + this.levels = levels || this.levels || config.npm.levels; + this.level = level; + if (this.exceptions) { + this.exceptions.unhandle(); + } + if (this.rejections) { + this.rejections.unhandle(); + } + this.exceptions = new ExceptionHandler(this); + this.rejections = new RejectionHandler(this); + this.profilers = {}; + this.exitOnError = exitOnError; + + // Add all transports we have been provided. + if (transports) { + transports = Array.isArray(transports) ? transports : [transports]; + transports.forEach(transport => this.add(transport)); + } + + if ( + colors || + emitErrs || + formatters || + padLevels || + rewriters || + stripColors + ) { + throw new Error( + [ + '{ colors, emitErrs, formatters, padLevels, rewriters, stripColors } were removed in winston@3.0.0.', + 'Use a custom winston.format(function) instead.', + 'See: https://github.com/winstonjs/winston/tree/master/UPGRADE-3.0.md' + ].join('\n') + ); + } + + if (exceptionHandlers) { + this.exceptions.handle(exceptionHandlers); + } + if (rejectionHandlers) { + this.rejections.handle(rejectionHandlers); + } + } + + /* eslint-disable valid-jsdoc */ + /** + * Helper method to get the highest logging level associated with a logger + * + * @returns { number | null } - The highest configured logging level, null + * for invalid configuration + */ + getHighestLogLevel() { + // This can be null, if this.level has an invalid value + const configuredLevelValue = getLevelValue(this.levels, this.level); + + // If there are no transports, return the level configured at the logger level + if (!this.transports || this.transports.length === 0) { + return configuredLevelValue; + } + + return this.transports.reduce((max, transport) => { + const levelValue = getLevelValue(this.levels, transport.level); + return levelValue !== null && levelValue > max ? levelValue : max; + }, configuredLevelValue); + } + + isLevelEnabled(level) { + const givenLevelValue = getLevelValue(this.levels, level); + if (givenLevelValue === null) { + return false; + } + + const configuredLevelValue = getLevelValue(this.levels, this.level); + if (configuredLevelValue === null) { + return false; + } + + if (!this.transports || this.transports.length === 0) { + return configuredLevelValue >= givenLevelValue; + } + + const index = this.transports.findIndex(transport => { + let transportLevelValue = getLevelValue(this.levels, transport.level); + if (transportLevelValue === null) { + transportLevelValue = configuredLevelValue; + } + return transportLevelValue >= givenLevelValue; + }); + return index !== -1; + } + + /* eslint-disable valid-jsdoc */ + /** + * Ensure backwards compatibility with a `log` method + * @param {mixed} level - Level the log message is written at. + * @param {mixed} msg - TODO: add param description. + * @param {mixed} meta - TODO: add param description. + * @returns {Logger} - TODO: add return description. + * + * @example + * // Supports the existing API: + * logger.log('info', 'Hello world', { custom: true }); + * logger.log('info', new Error('Yo, it\'s on fire')); + * + * // Requires winston.format.splat() + * logger.log('info', '%s %d%%', 'A string', 50, { thisIsMeta: true }); + * + * // And the new API with a single JSON literal: + * logger.log({ level: 'info', message: 'Hello world', custom: true }); + * logger.log({ level: 'info', message: new Error('Yo, it\'s on fire') }); + * + * // Also requires winston.format.splat() + * logger.log({ + * level: 'info', + * message: '%s %d%%', + * [SPLAT]: ['A string', 50], + * meta: { thisIsMeta: true } + * }); + * + */ + /* eslint-enable valid-jsdoc */ + log(level, msg, ...splat) { + // eslint-disable-line max-params + // Optimize for the hotpath of logging JSON literals + if (arguments.length === 1) { + // Yo dawg, I heard you like levels ... seriously ... + // In this context the LHS `level` here is actually the `info` so read + // this as: info[LEVEL] = info.level; + level[LEVEL] = level.level; + this._addDefaultMeta(level); + this.write(level); + return this; + } + + // Slightly less hotpath, but worth optimizing for. + if (arguments.length === 2) { + if (msg && typeof msg === 'object') { + msg[LEVEL] = msg.level = level; + this._addDefaultMeta(msg); + this.write(msg); + return this; + } + + msg = { [LEVEL]: level, level, message: msg }; + this._addDefaultMeta(msg); + this.write(msg); + return this; + } + + const [meta] = splat; + if (typeof meta === 'object' && meta !== null) { + // Extract tokens, if none available default to empty array to + // ensure consistancy in expected results + const tokens = msg && msg.match && msg.match(formatRegExp); + + if (!tokens) { + const info = Object.assign({}, this.defaultMeta, meta, { + [LEVEL]: level, + [SPLAT]: splat, + level, + message: msg + }); + + if (meta.message) info.message = `${info.message} ${meta.message}`; + if (meta.stack) info.stack = meta.stack; + if (meta.cause) info.cause = meta.cause; + + this.write(info); + return this; + } + } + + this.write(Object.assign({}, this.defaultMeta, { + [LEVEL]: level, + [SPLAT]: splat, + level, + message: msg + })); + + return this; + } + + /** + * Pushes data so that it can be picked up by all of our pipe targets. + * @param {mixed} info - TODO: add param description. + * @param {mixed} enc - TODO: add param description. + * @param {mixed} callback - Continues stream processing. + * @returns {undefined} + * @private + */ + _transform(info, enc, callback) { + if (this.silent) { + return callback(); + } + + // [LEVEL] is only soft guaranteed to be set here since we are a proper + // stream. It is likely that `info` came in through `.log(info)` or + // `.info(info)`. If it is not defined, however, define it. + // This LEVEL symbol is provided by `triple-beam` and also used in: + // - logform + // - winston-transport + // - abstract-winston-transport + if (!info[LEVEL]) { + info[LEVEL] = info.level; + } + + // Remark: really not sure what to do here, but this has been reported as + // very confusing by pre winston@2.0.0 users as quite confusing when using + // custom levels. + if (!this.levels[info[LEVEL]] && this.levels[info[LEVEL]] !== 0) { + // eslint-disable-next-line no-console + console.error('[winston] Unknown logger level: %s', info[LEVEL]); + } + + // Remark: not sure if we should simply error here. + if (!this._readableState.pipes) { + // eslint-disable-next-line no-console + console.error( + '[winston] Attempt to write logs with no transports, which can increase memory usage: %j', + info + ); + } + + // Here we write to the `format` pipe-chain, which on `readable` above will + // push the formatted `info` Object onto the buffer for this instance. We trap + // (and re-throw) any errors generated by the user-provided format, but also + // guarantee that the streams callback is invoked so that we can continue flowing. + try { + this.push(this.format.transform(info, this.format.options)); + } finally { + this._writableState.sync = false; + // eslint-disable-next-line callback-return + callback(); + } + } + + /** + * Delays the 'finish' event until all transport pipe targets have + * also emitted 'finish' or are already finished. + * @param {mixed} callback - Continues stream processing. + */ + _final(callback) { + const transports = this.transports.slice(); + asyncForEach( + transports, + (transport, next) => { + if (!transport || transport.finished) return setImmediate(next); + transport.once('finish', next); + transport.end(); + }, + callback + ); + } + + /** + * Adds the transport to this logger instance by piping to it. + * @param {mixed} transport - TODO: add param description. + * @returns {Logger} - TODO: add return description. + */ + add(transport) { + // Support backwards compatibility with all existing `winston < 3.x.x` + // transports which meet one of two criteria: + // 1. They inherit from winston.Transport in < 3.x.x which is NOT a stream. + // 2. They expose a log method which has a length greater than 2 (i.e. more then + // just `log(info, callback)`. + const target = + !isStream(transport) || transport.log.length > 2 + ? new LegacyTransportStream({ transport }) + : transport; + + if (!target._writableState || !target._writableState.objectMode) { + throw new Error( + 'Transports must WritableStreams in objectMode. Set { objectMode: true }.' + ); + } + + // Listen for the `error` event and the `warn` event on the new Transport. + this._onEvent('error', target); + this._onEvent('warn', target); + this.pipe(target); + + if (transport.handleExceptions) { + this.exceptions.handle(); + } + + if (transport.handleRejections) { + this.rejections.handle(); + } + + return this; + } + + /** + * Removes the transport from this logger instance by unpiping from it. + * @param {mixed} transport - TODO: add param description. + * @returns {Logger} - TODO: add return description. + */ + remove(transport) { + if (!transport) return this; + let target = transport; + if (!isStream(transport) || transport.log.length > 2) { + target = this.transports.filter( + match => match.transport === transport + )[0]; + } + + if (target) { + this.unpipe(target); + } + return this; + } + + /** + * Removes all transports from this logger instance. + * @returns {Logger} - TODO: add return description. + */ + clear() { + this.unpipe(); + return this; + } + + /** + * Cleans up resources (streams, event listeners) for all transports + * associated with this instance (if necessary). + * @returns {Logger} - TODO: add return description. + */ + close() { + this.exceptions.unhandle(); + this.rejections.unhandle(); + this.clear(); + this.emit('close'); + return this; + } + + /** + * Sets the `target` levels specified on this instance. + * @param {Object} Target levels to use on this instance. + */ + setLevels() { + warn.deprecated('setLevels'); + } + + /** + * Queries the all transports for this instance with the specified `options`. + * This will aggregate each transport's results into one object containing + * a property per transport. + * @param {Object} options - Query options for this instance. + * @param {function} callback - Continuation to respond to when complete. + */ + query(options, callback) { + if (typeof options === 'function') { + callback = options; + options = {}; + } + + options = options || {}; + const results = {}; + const queryObject = Object.assign({}, options.query || {}); + + // Helper function to query a single transport + function queryTransport(transport, next) { + if (options.query && typeof transport.formatQuery === 'function') { + options.query = transport.formatQuery(queryObject); + } + + transport.query(options, (err, res) => { + if (err) { + return next(err); + } + + if (typeof transport.formatResults === 'function') { + res = transport.formatResults(res, options.format); + } + + next(null, res); + }); + } + + // Helper function to accumulate the results from `queryTransport` into + // the `results`. + function addResults(transport, next) { + queryTransport(transport, (err, result) => { + // queryTransport could potentially invoke the callback multiple times + // since Transport code can be unpredictable. + if (next) { + result = err || result; + if (result) { + results[transport.name] = result; + } + + // eslint-disable-next-line callback-return + next(); + } + + next = null; + }); + } + + // Iterate over the transports in parallel setting the appropriate key in + // the `results`. + asyncForEach( + this.transports.filter(transport => !!transport.query), + addResults, + () => callback(null, results) + ); + } + + /** + * Returns a log stream for all transports. Options object is optional. + * @param{Object} options={} - Stream options for this instance. + * @returns {Stream} - TODO: add return description. + */ + stream(options = {}) { + const out = new Stream(); + const streams = []; + + out._streams = streams; + out.destroy = () => { + let i = streams.length; + while (i--) { + streams[i].destroy(); + } + }; + + // Create a list of all transports for this instance. + this.transports + .filter(transport => !!transport.stream) + .forEach(transport => { + const str = transport.stream(options); + if (!str) { + return; + } + + streams.push(str); + + str.on('log', log => { + log.transport = log.transport || []; + log.transport.push(transport.name); + out.emit('log', log); + }); + + str.on('error', err => { + err.transport = err.transport || []; + err.transport.push(transport.name); + out.emit('error', err); + }); + }); + + return out; + } + + /** + * Returns an object corresponding to a specific timing. When done is called + * the timer will finish and log the duration. e.g.: + * @returns {Profile} - TODO: add return description. + * @example + * const timer = winston.startTimer() + * setTimeout(() => { + * timer.done({ + * message: 'Logging message' + * }); + * }, 1000); + */ + startTimer() { + return new Profiler(this); + } + + /** + * Tracks the time inbetween subsequent calls to this method with the same + * `id` parameter. The second call to this method will log the difference in + * milliseconds along with the message. + * @param {string} id Unique id of the profiler + * @returns {Logger} - TODO: add return description. + */ + profile(id, ...args) { + const time = Date.now(); + if (this.profilers[id]) { + const timeEnd = this.profilers[id]; + delete this.profilers[id]; + + // Attempt to be kind to users if they are still using older APIs. + if (typeof args[args.length - 2] === 'function') { + // eslint-disable-next-line no-console + console.warn( + 'Callback function no longer supported as of winston@3.0.0' + ); + args.pop(); + } + + // Set the duration property of the metadata + const info = typeof args[args.length - 1] === 'object' ? args.pop() : {}; + info.level = info.level || 'info'; + info.durationMs = time - timeEnd; + info.message = info.message || id; + return this.write(info); + } + + this.profilers[id] = time; + return this; + } + + /** + * Backwards compatibility to `exceptions.handle` in winston < 3.0.0. + * @returns {undefined} + * @deprecated + */ + handleExceptions(...args) { + // eslint-disable-next-line no-console + console.warn( + 'Deprecated: .handleExceptions() will be removed in winston@4. Use .exceptions.handle()' + ); + this.exceptions.handle(...args); + } + + /** + * Backwards compatibility to `exceptions.handle` in winston < 3.0.0. + * @returns {undefined} + * @deprecated + */ + unhandleExceptions(...args) { + // eslint-disable-next-line no-console + console.warn( + 'Deprecated: .unhandleExceptions() will be removed in winston@4. Use .exceptions.unhandle()' + ); + this.exceptions.unhandle(...args); + } + + /** + * Throw a more meaningful deprecation notice + * @throws {Error} - TODO: add throws description. + */ + cli() { + throw new Error( + [ + 'Logger.cli() was removed in winston@3.0.0', + 'Use a custom winston.formats.cli() instead.', + 'See: https://github.com/winstonjs/winston/tree/master/UPGRADE-3.0.md' + ].join('\n') + ); + } + + /** + * Bubbles the `event` that occured on the specified `transport` up + * from this instance. + * @param {string} event - The event that occured + * @param {Object} transport - Transport on which the event occured + * @private + */ + _onEvent(event, transport) { + function transportEvent(err) { + // https://github.com/winstonjs/winston/issues/1364 + if (event === 'error' && !this.transports.includes(transport)) { + this.add(transport); + } + this.emit(event, err, transport); + } + + if (!transport['__winston' + event]) { + transport['__winston' + event] = transportEvent.bind(this); + transport.on(event, transport['__winston' + event]); + } + } + + _addDefaultMeta(msg) { + if (this.defaultMeta) { + Object.assign(msg, this.defaultMeta); + } + } +} + +function getLevelValue(levels, level) { + const value = levels[level]; + if (!value && value !== 0) { + return null; + } + return value; +} + +/** + * Represents the current readableState pipe targets for this Logger instance. + * @type {Array|Object} + */ +Object.defineProperty(Logger.prototype, 'transports', { + configurable: false, + enumerable: true, + get() { + const { pipes } = this._readableState; + return !Array.isArray(pipes) ? [pipes].filter(Boolean) : pipes; + } +}); + +module.exports = Logger; diff --git a/node_modules/winston/lib/winston/profiler.js b/node_modules/winston/lib/winston/profiler.js new file mode 100644 index 0000000..4077d8f --- /dev/null +++ b/node_modules/winston/lib/winston/profiler.js @@ -0,0 +1,53 @@ +/** + * profiler.js: TODO: add file header description. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; +/** + * TODO: add class description. + * @type {Profiler} + * @private + */ +class Profiler { + /** + * Constructor function for the Profiler instance used by + * `Logger.prototype.startTimer`. When done is called the timer will finish + * and log the duration. + * @param {!Logger} logger - TODO: add param description. + * @private + */ + constructor(logger) { + const Logger = require('./logger'); + if (typeof logger !== 'object' || Array.isArray(logger) || !(logger instanceof Logger)) { + throw new Error('Logger is required for profiling'); + } else { + this.logger = logger; + this.start = Date.now(); + } + } + + /** + * Ends the current timer (i.e. Profiler) instance and logs the `msg` along + * with the duration since creation. + * @returns {mixed} - TODO: add return description. + * @private + */ + done(...args) { + if (typeof args[args.length - 1] === 'function') { + // eslint-disable-next-line no-console + console.warn('Callback function no longer supported as of winston@3.0.0'); + args.pop(); + } + + const info = typeof args[args.length - 1] === 'object' ? args.pop() : {}; + info.level = info.level || 'info'; + info.durationMs = (Date.now()) - this.start; + + return this.logger.write(info); + } +} + +module.exports = Profiler; diff --git a/node_modules/winston/lib/winston/rejection-handler.js b/node_modules/winston/lib/winston/rejection-handler.js new file mode 100644 index 0000000..7c3b801 --- /dev/null +++ b/node_modules/winston/lib/winston/rejection-handler.js @@ -0,0 +1,251 @@ +/** + * exception-handler.js: Object for handling uncaughtException events. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +const os = require('os'); +const asyncForEach = require('async/forEach'); +const debug = require('@dabh/diagnostics')('winston:rejection'); +const once = require('one-time'); +const stackTrace = require('stack-trace'); +const RejectionStream = require('./rejection-stream'); + +/** + * Object for handling unhandledRejection events. + * @type {RejectionHandler} + */ +module.exports = class RejectionHandler { + /** + * TODO: add contructor description + * @param {!Logger} logger - TODO: add param description + */ + constructor(logger) { + if (!logger) { + throw new Error('Logger is required to handle rejections'); + } + + this.logger = logger; + this.handlers = new Map(); + } + + /** + * Handles `unhandledRejection` events for the current process by adding any + * handlers passed in. + * @returns {undefined} + */ + handle(...args) { + args.forEach(arg => { + if (Array.isArray(arg)) { + return arg.forEach(handler => this._addHandler(handler)); + } + + this._addHandler(arg); + }); + + if (!this.catcher) { + this.catcher = this._unhandledRejection.bind(this); + process.on('unhandledRejection', this.catcher); + } + } + + /** + * Removes any handlers to `unhandledRejection` events for the current + * process. This does not modify the state of the `this.handlers` set. + * @returns {undefined} + */ + unhandle() { + if (this.catcher) { + process.removeListener('unhandledRejection', this.catcher); + this.catcher = false; + + Array.from(this.handlers.values()).forEach(wrapper => + this.logger.unpipe(wrapper) + ); + } + } + + /** + * TODO: add method description + * @param {Error} err - Error to get information about. + * @returns {mixed} - TODO: add return description. + */ + getAllInfo(err) { + let message = null; + if (err) { + message = typeof err === 'string' ? err : err.message; + } + + return { + error: err, + // TODO (indexzero): how do we configure this? + level: 'error', + message: [ + `unhandledRejection: ${message || '(no error message)'}`, + err && err.stack || ' No stack trace' + ].join('\n'), + stack: err && err.stack, + rejection: true, + date: new Date().toString(), + process: this.getProcessInfo(), + os: this.getOsInfo(), + trace: this.getTrace(err) + }; + } + + /** + * Gets all relevant process information for the currently running process. + * @returns {mixed} - TODO: add return description. + */ + getProcessInfo() { + return { + pid: process.pid, + uid: process.getuid ? process.getuid() : null, + gid: process.getgid ? process.getgid() : null, + cwd: process.cwd(), + execPath: process.execPath, + version: process.version, + argv: process.argv, + memoryUsage: process.memoryUsage() + }; + } + + /** + * Gets all relevant OS information for the currently running process. + * @returns {mixed} - TODO: add return description. + */ + getOsInfo() { + return { + loadavg: os.loadavg(), + uptime: os.uptime() + }; + } + + /** + * Gets a stack trace for the specified error. + * @param {mixed} err - TODO: add param description. + * @returns {mixed} - TODO: add return description. + */ + getTrace(err) { + const trace = err ? stackTrace.parse(err) : stackTrace.get(); + return trace.map(site => { + return { + column: site.getColumnNumber(), + file: site.getFileName(), + function: site.getFunctionName(), + line: site.getLineNumber(), + method: site.getMethodName(), + native: site.isNative() + }; + }); + } + + /** + * Helper method to add a transport as an exception handler. + * @param {Transport} handler - The transport to add as an exception handler. + * @returns {void} + */ + _addHandler(handler) { + if (!this.handlers.has(handler)) { + handler.handleRejections = true; + const wrapper = new RejectionStream(handler); + this.handlers.set(handler, wrapper); + this.logger.pipe(wrapper); + } + } + + /** + * Logs all relevant information around the `err` and exits the current + * process. + * @param {Error} err - Error to handle + * @returns {mixed} - TODO: add return description. + * @private + */ + _unhandledRejection(err) { + const info = this.getAllInfo(err); + const handlers = this._getRejectionHandlers(); + // Calculate if we should exit on this error + let doExit = + typeof this.logger.exitOnError === 'function' + ? this.logger.exitOnError(err) + : this.logger.exitOnError; + let timeout; + + if (!handlers.length && doExit) { + // eslint-disable-next-line no-console + console.warn('winston: exitOnError cannot be true with no rejection handlers.'); + // eslint-disable-next-line no-console + console.warn('winston: not exiting process.'); + doExit = false; + } + + function gracefulExit() { + debug('doExit', doExit); + debug('process._exiting', process._exiting); + + if (doExit && !process._exiting) { + // Remark: Currently ignoring any rejections from transports when + // catching unhandled rejections. + if (timeout) { + clearTimeout(timeout); + } + // eslint-disable-next-line no-process-exit + process.exit(1); + } + } + + if (!handlers || handlers.length === 0) { + return process.nextTick(gracefulExit); + } + + // Log to all transports attempting to listen for when they are completed. + asyncForEach( + handlers, + (handler, next) => { + const done = once(next); + const transport = handler.transport || handler; + + // Debug wrapping so that we can inspect what's going on under the covers. + function onDone(event) { + return () => { + debug(event); + done(); + }; + } + + transport._ending = true; + transport.once('finish', onDone('finished')); + transport.once('error', onDone('error')); + }, + () => doExit && gracefulExit() + ); + + this.logger.log(info); + + // If exitOnError is true, then only allow the logging of exceptions to + // take up to `3000ms`. + if (doExit) { + timeout = setTimeout(gracefulExit, 3000); + } + } + + /** + * Returns the list of transports and exceptionHandlers for this instance. + * @returns {Array} - List of transports and exceptionHandlers for this + * instance. + * @private + */ + _getRejectionHandlers() { + // Remark (indexzero): since `logger.transports` returns all of the pipes + // from the _readableState of the stream we actually get the join of the + // explicit handlers and the implicit transports with + // `handleRejections: true` + return this.logger.transports.filter(wrap => { + const transport = wrap.transport || wrap; + return transport.handleRejections; + }); + } +}; diff --git a/node_modules/winston/lib/winston/rejection-stream.js b/node_modules/winston/lib/winston/rejection-stream.js new file mode 100644 index 0000000..92e6b67 --- /dev/null +++ b/node_modules/winston/lib/winston/rejection-stream.js @@ -0,0 +1,52 @@ +/** + * rejection-stream.js: TODO: add file header handler. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +const { Writable } = require('readable-stream'); + +/** + * TODO: add class description. + * @type {RejectionStream} + * @extends {Writable} + */ +module.exports = class RejectionStream extends Writable { + /** + * Constructor function for the RejectionStream responsible for wrapping a + * TransportStream; only allowing writes of `info` objects with + * `info.rejection` set to true. + * @param {!TransportStream} transport - Stream to filter to rejections + */ + constructor(transport) { + super({ objectMode: true }); + + if (!transport) { + throw new Error('RejectionStream requires a TransportStream instance.'); + } + + this.handleRejections = true; + this.transport = transport; + } + + /** + * Writes the info object to our transport instance if (and only if) the + * `rejection` property is set on the info. + * @param {mixed} info - TODO: add param description. + * @param {mixed} enc - TODO: add param description. + * @param {mixed} callback - TODO: add param description. + * @returns {mixed} - TODO: add return description. + * @private + */ + _write(info, enc, callback) { + if (info.rejection) { + return this.transport.log(info, callback); + } + + callback(); + return true; + } +}; diff --git a/node_modules/winston/lib/winston/tail-file.js b/node_modules/winston/lib/winston/tail-file.js new file mode 100644 index 0000000..86ea904 --- /dev/null +++ b/node_modules/winston/lib/winston/tail-file.js @@ -0,0 +1,124 @@ +/** + * tail-file.js: TODO: add file header description. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +const fs = require('fs'); +const { StringDecoder } = require('string_decoder'); +const { Stream } = require('readable-stream'); + +/** + * Simple no-op function. + * @returns {undefined} + */ +function noop() {} + +/** + * TODO: add function description. + * @param {Object} options - Options for tail. + * @param {function} iter - Iterator function to execute on every line. +* `tail -f` a file. Options must include file. + * @returns {mixed} - TODO: add return description. + */ +module.exports = (options, iter) => { + const buffer = Buffer.alloc(64 * 1024); + const decode = new StringDecoder('utf8'); + const stream = new Stream(); + let buff = ''; + let pos = 0; + let row = 0; + + if (options.start === -1) { + delete options.start; + } + + stream.readable = true; + stream.destroy = () => { + stream.destroyed = true; + stream.emit('end'); + stream.emit('close'); + }; + + fs.open(options.file, 'a+', '0644', (err, fd) => { + if (err) { + if (!iter) { + stream.emit('error', err); + } else { + iter(err); + } + stream.destroy(); + return; + } + + (function read() { + if (stream.destroyed) { + fs.close(fd, noop); + return; + } + + return fs.read(fd, buffer, 0, buffer.length, pos, (error, bytes) => { + if (error) { + if (!iter) { + stream.emit('error', error); + } else { + iter(error); + } + stream.destroy(); + return; + } + + if (!bytes) { + if (buff) { + // eslint-disable-next-line eqeqeq + if (options.start == null || row > options.start) { + if (!iter) { + stream.emit('line', buff); + } else { + iter(null, buff); + } + } + row++; + buff = ''; + } + return setTimeout(read, 1000); + } + + let data = decode.write(buffer.slice(0, bytes)); + if (!iter) { + stream.emit('data', data); + } + + data = (buff + data).split(/\n+/); + + const l = data.length - 1; + let i = 0; + + for (; i < l; i++) { + // eslint-disable-next-line eqeqeq + if (options.start == null || row > options.start) { + if (!iter) { + stream.emit('line', data[i]); + } else { + iter(null, data[i]); + } + } + row++; + } + + buff = data[l]; + pos += bytes; + return read(); + }); + }()); + }); + + if (!iter) { + return stream; + } + + return stream.destroy; +}; diff --git a/node_modules/winston/lib/winston/transports/console.js b/node_modules/winston/lib/winston/transports/console.js new file mode 100644 index 0000000..25ab784 --- /dev/null +++ b/node_modules/winston/lib/winston/transports/console.js @@ -0,0 +1,125 @@ +/* eslint-disable no-console */ +/* + * console.js: Transport for outputting to the console. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +const os = require('os'); +const { LEVEL, MESSAGE } = require('triple-beam'); +const TransportStream = require('winston-transport'); + +/** + * Transport for outputting to the console. + * @type {Console} + * @extends {TransportStream} + */ +module.exports = class Console extends TransportStream { + /** + * Constructor function for the Console transport object responsible for + * persisting log messages and metadata to a terminal or TTY. + * @param {!Object} [options={}] - Options for this instance. + */ + constructor(options = {}) { + super(options); + + // Expose the name of this Transport on the prototype + this.name = options.name || 'console'; + this.stderrLevels = this._stringArrayToSet(options.stderrLevels); + this.consoleWarnLevels = this._stringArrayToSet(options.consoleWarnLevels); + this.eol = typeof options.eol === 'string' ? options.eol : os.EOL; + this.forceConsole = options.forceConsole || false; + + // Keep a reference to the log, warn, and error console methods + // in case they get redirected to this transport after the logger is + // instantiated. This prevents a circular reference issue. + this._consoleLog = console.log.bind(console); + this._consoleWarn = console.warn.bind(console); + this._consoleError = console.error.bind(console); + + this.setMaxListeners(30); + } + + /** + * Core logging method exposed to Winston. + * @param {Object} info - TODO: add param description. + * @param {Function} callback - TODO: add param description. + * @returns {undefined} + */ + log(info, callback) { + setImmediate(() => this.emit('logged', info)); + + // Remark: what if there is no raw...? + if (this.stderrLevels[info[LEVEL]]) { + if (console._stderr && !this.forceConsole) { + // Node.js maps `process.stderr` to `console._stderr`. + console._stderr.write(`${info[MESSAGE]}${this.eol}`); + } else { + // console.error adds a newline + this._consoleError(info[MESSAGE]); + } + + if (callback) { + callback(); // eslint-disable-line callback-return + } + return; + } else if (this.consoleWarnLevels[info[LEVEL]]) { + if (console._stderr && !this.forceConsole) { + // Node.js maps `process.stderr` to `console._stderr`. + // in Node.js console.warn is an alias for console.error + console._stderr.write(`${info[MESSAGE]}${this.eol}`); + } else { + // console.warn adds a newline + this._consoleWarn(info[MESSAGE]); + } + + if (callback) { + callback(); // eslint-disable-line callback-return + } + return; + } + + if (console._stdout && !this.forceConsole) { + // Node.js maps `process.stdout` to `console._stdout`. + console._stdout.write(`${info[MESSAGE]}${this.eol}`); + } else { + // console.log adds a newline. + this._consoleLog(info[MESSAGE]); + } + + if (callback) { + callback(); // eslint-disable-line callback-return + } + } + + /** + * Returns a Set-like object with strArray's elements as keys (each with the + * value true). + * @param {Array} strArray - Array of Set-elements as strings. + * @param {?string} [errMsg] - Custom error message thrown on invalid input. + * @returns {Object} - TODO: add return description. + * @private + */ + _stringArrayToSet(strArray, errMsg) { + if (!strArray) return {}; + + errMsg = + errMsg || 'Cannot make set from type other than Array of string elements'; + + if (!Array.isArray(strArray)) { + throw new Error(errMsg); + } + + return strArray.reduce((set, el) => { + if (typeof el !== 'string') { + throw new Error(errMsg); + } + set[el] = true; + + return set; + }, {}); + } +}; diff --git a/node_modules/winston/lib/winston/transports/file.js b/node_modules/winston/lib/winston/transports/file.js new file mode 100644 index 0000000..d8d7d4a --- /dev/null +++ b/node_modules/winston/lib/winston/transports/file.js @@ -0,0 +1,795 @@ +/* eslint-disable complexity,max-statements */ +/** + * file.js: Transport for outputting to a local log file. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +const fs = require('fs'); +const path = require('path'); +const asyncSeries = require('async/series'); +const zlib = require('zlib'); +const { MESSAGE } = require('triple-beam'); +const { Stream, PassThrough } = require('readable-stream'); +const TransportStream = require('winston-transport'); +const debug = require('@dabh/diagnostics')('winston:file'); +const os = require('os'); +const tailFile = require('../tail-file'); + +/** + * Transport for outputting to a local log file. + * @type {File} + * @extends {TransportStream} + */ +module.exports = class File extends TransportStream { + /** + * Constructor function for the File transport object responsible for + * persisting log messages and metadata to one or more files. + * @param {Object} options - Options for this instance. + */ + constructor(options = {}) { + super(options); + + // Expose the name of this Transport on the prototype. + this.name = options.name || 'file'; + + // Helper function which throws an `Error` in the event that any of the + // rest of the arguments is present in `options`. + function throwIf(target, ...args) { + args.slice(1).forEach(name => { + if (options[name]) { + throw new Error(`Cannot set ${name} and ${target} together`); + } + }); + } + + // Setup the base stream that always gets piped to to handle buffering. + this._stream = new PassThrough(); + this._stream.setMaxListeners(30); + + // Bind this context for listener methods. + this._onError = this._onError.bind(this); + + if (options.filename || options.dirname) { + throwIf('filename or dirname', 'stream'); + this._basename = this.filename = options.filename + ? path.basename(options.filename) + : 'winston.log'; + + this.dirname = options.dirname || path.dirname(options.filename); + this.options = options.options || { flags: 'a' }; + } else if (options.stream) { + // eslint-disable-next-line no-console + console.warn('options.stream will be removed in winston@4. Use winston.transports.Stream'); + throwIf('stream', 'filename', 'maxsize'); + this._dest = this._stream.pipe(this._setupStream(options.stream)); + this.dirname = path.dirname(this._dest.path); + // We need to listen for drain events when write() returns false. This + // can make node mad at times. + } else { + throw new Error('Cannot log to file without filename or stream.'); + } + + this.maxsize = options.maxsize || null; + this.rotationFormat = options.rotationFormat || false; + this.zippedArchive = options.zippedArchive || false; + this.maxFiles = options.maxFiles || null; + this.eol = (typeof options.eol === 'string') ? options.eol : os.EOL; + this.tailable = options.tailable || false; + this.lazy = options.lazy || false; + + // Internal state variables representing the number of files this instance + // has created and the current size (in bytes) of the current logfile. + this._size = 0; + this._pendingSize = 0; + this._created = 0; + this._drain = false; + this._opening = false; + this._ending = false; + this._fileExist = false; + + if (this.dirname) this._createLogDirIfNotExist(this.dirname); + if (!this.lazy) this.open(); + } + + finishIfEnding() { + if (this._ending) { + if (this._opening) { + this.once('open', () => { + this._stream.once('finish', () => this.emit('finish')); + setImmediate(() => this._stream.end()); + }); + } else { + this._stream.once('finish', () => this.emit('finish')); + setImmediate(() => this._stream.end()); + } + } + } + + /** + * Called by Node.js Writable stream before emitting 'finish'. + * Ensures all buffered data is flushed to the underlying file stream + * before the transport signals completion. + * @param {Function} callback - Callback to signal completion. + * @private + */ + _final(callback) { + // If still opening, wait for the file to be opened first + if (this._opening) { + this.once('open', () => this._final(callback)); + return; + } + + // End the PassThrough stream + this._stream.end(); + + // No destination stream, call callback immediately + if (!this._dest) { + return callback(); + } + + // Destination is already finished + if (this._dest.writableFinished) { + return callback(); + } + + // Wait for destination stream to finish writing + this._dest.once('finish', callback); + this._dest.once('error', callback); + } + + /** + * Core logging method exposed to Winston. Metadata is optional. + * @param {Object} info - TODO: add param description. + * @param {Function} callback - TODO: add param description. + * @returns {undefined} + */ + log(info, callback = () => { }) { + // Remark: (jcrugzz) What is necessary about this callback(null, true) now + // when thinking about 3.x? Should silent be handled in the base + // TransportStream _write method? + if (this.silent) { + callback(); + return true; + } + + + // Output stream buffer is full and has asked us to wait for the drain event + if (this._drain) { + this._stream.once('drain', () => { + this._drain = false; + this.log(info, callback); + }); + return; + } + if (this._rotate) { + this._stream.once('rotate', () => { + this._rotate = false; + this.log(info, callback); + }); + return; + } + if (this.lazy) { + if (!this._fileExist) { + if (!this._opening) { + this.open(); + } + this.once('open', () => { + this._fileExist = true; + this.log(info, callback); + return; + }); + return; + } + if (this._needsNewFile(this._pendingSize)) { + this._dest.once('close', () => { + if (!this._opening) { + this.open(); + } + this.once('open', () => { + this.log(info, callback); + return; + }); + return; + }); + return; + } + } + + // Grab the raw string and append the expected EOL. + const output = `${info[MESSAGE]}${this.eol}`; + const bytes = Buffer.byteLength(output); + + // After we have written to the PassThrough check to see if we need + // to rotate to the next file. + // + // Remark: This gets called too early and does not depict when data + // has been actually flushed to disk. + function logged() { + this._size += bytes; + this._pendingSize -= bytes; + + debug('logged %s %s', this._size, output); + this.emit('logged', info); + + // Do not attempt to rotate files while rotating + if (this._rotate) { + return; + } + + // Do not attempt to rotate files while opening + if (this._opening) { + return; + } + + // Check to see if we need to end the stream and create a new one. + if (!this._needsNewFile()) { + return; + } + if (this.lazy) { + this._endStream(() => {this.emit('fileclosed');}); + return; + } + + // End the current stream, ensure it flushes and create a new one. + // This could potentially be optimized to not run a stat call but its + // the safest way since we are supporting `maxFiles`. + this._rotate = true; + this._endStream(() => this._rotateFile()); + } + + // Keep track of the pending bytes being written while files are opening + // in order to properly rotate the PassThrough this._stream when the file + // eventually does open. + this._pendingSize += bytes; + if (this._opening + && !this.rotatedWhileOpening + && this._needsNewFile(this._size + this._pendingSize)) { + this.rotatedWhileOpening = true; + } + + const written = this._stream.write(output, logged.bind(this)); + if (!written) { + this._drain = true; + this._stream.once('drain', () => { + this._drain = false; + callback(); + }); + } else { + callback(); // eslint-disable-line callback-return + } + + debug('written', written, this._drain); + + this.finishIfEnding(); + + return written; + } + + /** + * Query the transport. Options object is optional. + * @param {Object} options - Loggly-like query options for this instance. + * @param {function} callback - Continuation to respond to when complete. + * TODO: Refactor me. + */ + query(options, callback) { + if (typeof options === 'function') { + callback = options; + options = {}; + } + + options = normalizeQuery(options); + const file = path.join(this.dirname, this.filename); + let buff = ''; + let results = []; + let row = 0; + + const stream = fs.createReadStream(file, { + encoding: 'utf8' + }); + + stream.on('error', err => { + if (stream.readable) { + stream.destroy(); + } + if (!callback) { + return; + } + + return err.code !== 'ENOENT' ? callback(err) : callback(null, results); + }); + + stream.on('data', data => { + data = (buff + data).split(/\n+/); + const l = data.length - 1; + let i = 0; + + for (; i < l; i++) { + if (!options.start || row >= options.start) { + add(data[i]); + } + row++; + } + + buff = data[l]; + }); + + stream.on('close', () => { + if (buff) { + add(buff, true); + } + if (options.order === 'desc') { + results = results.reverse(); + } + + // eslint-disable-next-line callback-return + if (callback) callback(null, results); + }); + + function add(buff, attempt) { + try { + const log = JSON.parse(buff); + if (check(log)) { + push(log); + } + } catch (e) { + if (!attempt) { + stream.emit('error', e); + } + } + } + + function push(log) { + if ( + options.rows && + results.length >= options.rows && + options.order !== 'desc' + ) { + if (stream.readable) { + stream.destroy(); + } + return; + } + + if (options.fields) { + log = options.fields.reduce((obj, key) => { + obj[key] = log[key]; + return obj; + }, {}); + } + + if (options.order === 'desc') { + if (results.length >= options.rows) { + results.shift(); + } + } + results.push(log); + } + + function check(log) { + if (!log) { + return; + } + + if (typeof log !== 'object') { + return; + } + + const time = new Date(log.timestamp); + if ( + (options.from && time < options.from) || + (options.until && time > options.until) || + (options.level && options.level !== log.level) + ) { + return; + } + + return true; + } + + function normalizeQuery(options) { + options = options || {}; + + // limit + options.rows = options.rows || options.limit || 10; + + // starting row offset + options.start = options.start || 0; + + // now + options.until = options.until || new Date(); + if (typeof options.until !== 'object') { + options.until = new Date(options.until); + } + + // now - 24 + options.from = options.from || (options.until - (24 * 60 * 60 * 1000)); + if (typeof options.from !== 'object') { + options.from = new Date(options.from); + } + + // 'asc' or 'desc' + options.order = options.order || 'desc'; + + return options; + } + } + + /** + * Returns a log stream for this transport. Options object is optional. + * @param {Object} options - Stream options for this instance. + * @returns {Stream} - TODO: add return description. + * TODO: Refactor me. + */ + stream(options = {}) { + const file = path.join(this.dirname, this.filename); + const stream = new Stream(); + const tail = { + file, + start: options.start + }; + + stream.destroy = tailFile(tail, (err, line) => { + if (err) { + return stream.emit('error', err); + } + + try { + stream.emit('data', line); + line = JSON.parse(line); + stream.emit('log', line); + } catch (e) { + stream.emit('error', e); + } + }); + + return stream; + } + + /** + * Checks to see the filesize of. + * @returns {undefined} + */ + open() { + // If we do not have a filename then we were passed a stream and + // don't need to keep track of size. + if (!this.filename) return; + if (this._opening) return; + + this._opening = true; + + // Stat the target file to get the size and create the stream. + this.stat((err, size) => { + if (err) { + return this.emit('error', err); + } + debug('stat done: %s { size: %s }', this.filename, size); + this._size = size; + this._dest = this._createStream(this._stream); + this._opening = false; + this.once('open', () => { + if (!this._stream.emit('rotate')) { + this._rotate = false; + } + }); + }); + } + + /** + * Stat the file and assess information in order to create the proper stream. + * @param {function} callback - TODO: add param description. + * @returns {undefined} + */ + stat(callback) { + const target = this._getFile(); + const fullpath = path.join(this.dirname, target); + + fs.stat(fullpath, (err, stat) => { + if (err && err.code === 'ENOENT') { + debug('ENOENT ok', fullpath); + // Update internally tracked filename with the new target name. + this.filename = target; + return callback(null, 0); + } + + if (err) { + debug(`err ${err.code} ${fullpath}`); + return callback(err); + } + + if (!stat || this._needsNewFile(stat.size)) { + // If `stats.size` is greater than the `maxsize` for this + // instance then try again. + return this._incFile(() => this.stat(callback)); + } + + // Once we have figured out what the filename is, set it + // and return the size. + this.filename = target; + callback(null, stat.size); + }); + } + + /** + * Closes the stream associated with this instance. + * @param {function} cb - TODO: add param description. + * @returns {undefined} + */ + close(cb) { + if (!this._stream) { + return; + } + + this._stream.end(() => { + if (cb) { + cb(); // eslint-disable-line callback-return + } + this.emit('flush'); + this.emit('closed'); + }); + } + + /** + * TODO: add method description. + * @param {number} size - TODO: add param description. + * @returns {undefined} + */ + _needsNewFile(size) { + size = size || this._size; + return this.maxsize && size >= this.maxsize; + } + + /** + * TODO: add method description. + * @param {Error} err - TODO: add param description. + * @returns {undefined} + */ + _onError(err) { + this.emit('error', err); + } + + /** + * TODO: add method description. + * @param {Stream} stream - TODO: add param description. + * @returns {mixed} - TODO: add return description. + */ + _setupStream(stream) { + stream.on('error', this._onError); + + return stream; + } + + /** + * TODO: add method description. + * @param {Stream} stream - TODO: add param description. + * @returns {mixed} - TODO: add return description. + */ + _cleanupStream(stream) { + stream.removeListener('error', this._onError); + stream.destroy(); + return stream; + } + + /** + * TODO: add method description. + */ + _rotateFile() { + this._incFile(() => this.open()); + } + + /** + * Unpipe from the stream that has been marked as full and end it so it + * flushes to disk. + * + * @param {function} callback - Callback for when the current file has closed. + * @private + */ + _endStream(callback = () => { }) { + if (this._dest) { + this._stream.unpipe(this._dest); + this._dest.end(() => { + this._cleanupStream(this._dest); + callback(); + }); + } else { + callback(); // eslint-disable-line callback-return + } + } + + /** + * Returns the WritableStream for the active file on this instance. If we + * should gzip the file then a zlib stream is returned. + * + * @param {ReadableStream} source –PassThrough to pipe to the file when open. + * @returns {WritableStream} Stream that writes to disk for the active file. + */ + _createStream(source) { + const fullpath = path.join(this.dirname, this.filename); + + debug('create stream start', fullpath, this.options); + const dest = fs.createWriteStream(fullpath, this.options) + // TODO: What should we do with errors here? + .on('error', err => debug(err)) + .on('close', () => debug('close', dest.path, dest.bytesWritten)) + .on('open', () => { + debug('file open ok', fullpath); + this.emit('open', fullpath); + source.pipe(dest); + + // If rotation occured during the open operation then we immediately + // start writing to a new PassThrough, begin opening the next file + // and cleanup the previous source and dest once the source has drained. + if (this.rotatedWhileOpening) { + this._stream = new PassThrough(); + this._stream.setMaxListeners(30); + this._rotateFile(); + this.rotatedWhileOpening = false; + this._cleanupStream(dest); + source.end(); + } + }); + + debug('create stream ok', fullpath); + return dest; + } + + /** + * TODO: add method description. + * @param {function} callback - TODO: add param description. + * @returns {undefined} + */ + _incFile(callback) { + debug('_incFile', this.filename); + const ext = path.extname(this._basename); + const basename = path.basename(this._basename, ext); + const tasks = []; + + if (this.zippedArchive) { + tasks.push( + function (cb) { + const num = this._created > 0 && !this.tailable ? this._created : ''; + this._compressFile( + path.join(this.dirname, `${basename}${num}${ext}`), + path.join(this.dirname, `${basename}${num}${ext}.gz`), + cb + ); + }.bind(this) + ); + } + + tasks.push( + function (cb) { + if (!this.tailable) { + this._created += 1; + this._checkMaxFilesIncrementing(ext, basename, cb); + } else { + this._checkMaxFilesTailable(ext, basename, cb); + } + }.bind(this) + ); + + asyncSeries(tasks, callback); + } + + /** + * Gets the next filename to use for this instance in the case that log + * filesizes are being capped. + * @returns {string} - TODO: add return description. + * @private + */ + _getFile() { + const ext = path.extname(this._basename); + const basename = path.basename(this._basename, ext); + const isRotation = this.rotationFormat + ? this.rotationFormat() + : this._created; + + // Caveat emptor (indexzero): rotationFormat() was broken by design When + // combined with max files because the set of files to unlink is never + // stored. + return !this.tailable && this._created + ? `${basename}${isRotation}${ext}` + : `${basename}${ext}`; + } + + /** + * Increment the number of files created or checked by this instance. + * @param {mixed} ext - TODO: add param description. + * @param {mixed} basename - TODO: add param description. + * @param {mixed} callback - TODO: add param description. + * @returns {undefined} + * @private + */ + _checkMaxFilesIncrementing(ext, basename, callback) { + // Check for maxFiles option and delete file. + if (!this.maxFiles || this._created < this.maxFiles) { + return setImmediate(callback); + } + + const oldest = this._created - this.maxFiles; + const isOldest = oldest !== 0 ? oldest : ''; + const isZipped = this.zippedArchive ? '.gz' : ''; + const filePath = `${basename}${isOldest}${ext}${isZipped}`; + const target = path.join(this.dirname, filePath); + + fs.unlink(target, callback); + } + + /** + * Roll files forward based on integer, up to maxFiles. e.g. if base if + * file.log and it becomes oversized, roll to file1.log, and allow file.log + * to be re-used. If file is oversized again, roll file1.log to file2.log, + * roll file.log to file1.log, and so on. + * @param {mixed} ext - TODO: add param description. + * @param {mixed} basename - TODO: add param description. + * @param {mixed} callback - TODO: add param description. + * @returns {undefined} + * @private + */ + _checkMaxFilesTailable(ext, basename, callback) { + const tasks = []; + if (!this.maxFiles) { + return; + } + + // const isZipped = this.zippedArchive ? '.gz' : ''; + const isZipped = this.zippedArchive ? '.gz' : ''; + for (let x = this.maxFiles - 1; x > 1; x--) { + tasks.push(function (i, cb) { + let fileName = `${basename}${(i - 1)}${ext}${isZipped}`; + const tmppath = path.join(this.dirname, fileName); + + fs.exists(tmppath, exists => { + if (!exists) { + return cb(null); + } + + fileName = `${basename}${i}${ext}${isZipped}`; + fs.rename(tmppath, path.join(this.dirname, fileName), cb); + }); + }.bind(this, x)); + } + + asyncSeries(tasks, () => { + fs.rename( + path.join(this.dirname, `${basename}${ext}${isZipped}`), + path.join(this.dirname, `${basename}1${ext}${isZipped}`), + callback + ); + }); + } + + /** + * Compresses src to dest with gzip and unlinks src + * @param {string} src - path to source file. + * @param {string} dest - path to zipped destination file. + * @param {Function} callback - callback called after file has been compressed. + * @returns {undefined} + * @private + */ + _compressFile(src, dest, callback) { + fs.access(src, fs.F_OK, (err) => { + if (err) { + return callback(); + } + var gzip = zlib.createGzip(); + var inp = fs.createReadStream(src); + var out = fs.createWriteStream(dest); + out.on('finish', () => { + fs.unlink(src, callback); + }); + inp.pipe(gzip).pipe(out); + }); + } + + _createLogDirIfNotExist(dirPath) { + /* eslint-disable no-sync */ + if (!fs.existsSync(dirPath)) { + fs.mkdirSync(dirPath, { recursive: true }); + } + /* eslint-enable no-sync */ + } +}; diff --git a/node_modules/winston/lib/winston/transports/http.js b/node_modules/winston/lib/winston/transports/http.js new file mode 100644 index 0000000..17f661a --- /dev/null +++ b/node_modules/winston/lib/winston/transports/http.js @@ -0,0 +1,262 @@ +/** + * http.js: Transport for outputting to a json-rpcserver. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +const http = require('http'); +const https = require('https'); +const { Stream } = require('readable-stream'); +const TransportStream = require('winston-transport'); +const { configure } = require('safe-stable-stringify'); + +/** + * Transport for outputting to a json-rpc server. + * @type {Stream} + * @extends {TransportStream} + */ +module.exports = class Http extends TransportStream { + /** + * Constructor function for the Http transport object responsible for + * persisting log messages and metadata to a terminal or TTY. + * @param {!Object} [options={}] - Options for this instance. + */ + // eslint-disable-next-line max-statements + constructor(options = {}) { + super(options); + + this.options = options; + this.name = options.name || 'http'; + this.ssl = !!options.ssl; + this.host = options.host || 'localhost'; + this.port = options.port; + this.auth = options.auth; + this.path = options.path || ''; + this.maximumDepth = options.maximumDepth; + this.agent = options.agent; + this.headers = options.headers || {}; + this.headers['content-type'] = 'application/json'; + this.batch = options.batch || false; + this.batchInterval = options.batchInterval || 5000; + this.batchCount = options.batchCount || 10; + this.batchOptions = []; + this.batchTimeoutID = -1; + this.batchCallback = {}; + + if (!this.port) { + this.port = this.ssl ? 443 : 80; + } + } + + /** + * Core logging method exposed to Winston. + * @param {Object} info - TODO: add param description. + * @param {function} callback - TODO: add param description. + * @returns {undefined} + */ + log(info, callback) { + this._request(info, null, null, (err, res) => { + if (res && res.statusCode !== 200) { + err = new Error(`Invalid HTTP Status Code: ${res.statusCode}`); + } + + if (err) { + this.emit('warn', err); + } else { + this.emit('logged', info); + } + }); + + // Remark: (jcrugzz) Fire and forget here so requests dont cause buffering + // and block more requests from happening? + if (callback) { + setImmediate(callback); + } + } + + /** + * Query the transport. Options object is optional. + * @param {Object} options - Loggly-like query options for this instance. + * @param {function} callback - Continuation to respond to when complete. + * @returns {undefined} + */ + query(options, callback) { + if (typeof options === 'function') { + callback = options; + options = {}; + } + + options = { + method: 'query', + params: this.normalizeQuery(options) + }; + + const auth = options.params.auth || null; + delete options.params.auth; + + const path = options.params.path || null; + delete options.params.path; + + this._request(options, auth, path, (err, res, body) => { + if (res && res.statusCode !== 200) { + err = new Error(`Invalid HTTP Status Code: ${res.statusCode}`); + } + + if (err) { + return callback(err); + } + + if (typeof body === 'string') { + try { + body = JSON.parse(body); + } catch (e) { + return callback(e); + } + } + + callback(null, body); + }); + } + + /** + * Returns a log stream for this transport. Options object is optional. + * @param {Object} options - Stream options for this instance. + * @returns {Stream} - TODO: add return description + */ + stream(options = {}) { + const stream = new Stream(); + options = { + method: 'stream', + params: options + }; + + const path = options.params.path || null; + delete options.params.path; + + const auth = options.params.auth || null; + delete options.params.auth; + + let buff = ''; + const req = this._request(options, auth, path); + + stream.destroy = () => req.destroy(); + req.on('data', data => { + data = (buff + data).split(/\n+/); + const l = data.length - 1; + + let i = 0; + for (; i < l; i++) { + try { + stream.emit('log', JSON.parse(data[i])); + } catch (e) { + stream.emit('error', e); + } + } + + buff = data[l]; + }); + req.on('error', err => stream.emit('error', err)); + + return stream; + } + + /** + * Make a request to a winstond server or any http server which can + * handle json-rpc. + * @param {function} options - Options to sent the request. + * @param {Object?} auth - authentication options + * @param {string} path - request path + * @param {function} callback - Continuation to respond to when complete. + */ + _request(options, auth, path, callback) { + options = options || {}; + + auth = auth || this.auth; + path = path || this.path || ''; + + if (this.batch) { + this._doBatch(options, callback, auth, path); + } else { + this._doRequest(options, callback, auth, path); + } + } + + /** + * Send or memorize the options according to batch configuration + * @param {function} options - Options to sent the request. + * @param {function} callback - Continuation to respond to when complete. + * @param {Object?} auth - authentication options + * @param {string} path - request path + */ + _doBatch(options, callback, auth, path) { + this.batchOptions.push(options); + if (this.batchOptions.length === 1) { + // First message stored, it's time to start the timeout! + const me = this; + this.batchCallback = callback; + this.batchTimeoutID = setTimeout(function () { + // timeout is reached, send all messages to endpoint + me.batchTimeoutID = -1; + me._doBatchRequest(me.batchCallback, auth, path); + }, this.batchInterval); + } + if (this.batchOptions.length === this.batchCount) { + // max batch count is reached, send all messages to endpoint + this._doBatchRequest(this.batchCallback, auth, path); + } + } + + /** + * Initiate a request with the memorized batch options, stop the batch timeout + * @param {function} callback - Continuation to respond to when complete. + * @param {Object?} auth - authentication options + * @param {string} path - request path + */ + _doBatchRequest(callback, auth, path) { + if (this.batchTimeoutID > 0) { + clearTimeout(this.batchTimeoutID); + this.batchTimeoutID = -1; + } + const batchOptionsCopy = this.batchOptions.slice(); + this.batchOptions = []; + this._doRequest(batchOptionsCopy, callback, auth, path); + } + + /** + * Make a request to a winstond server or any http server which can + * handle json-rpc. + * @param {function} options - Options to sent the request. + * @param {function} callback - Continuation to respond to when complete. + * @param {Object?} auth - authentication options + * @param {string} path - request path + */ + _doRequest(options, callback, auth, path) { + // Prepare options for outgoing HTTP request + const headers = Object.assign({}, this.headers); + if (auth && auth.bearer) { + headers.Authorization = `Bearer ${auth.bearer}`; + } + const req = (this.ssl ? https : http).request({ + ...this.options, + method: 'POST', + host: this.host, + port: this.port, + path: `/${path.replace(/^\//, '')}`, + headers: headers, + auth: (auth && auth.username && auth.password) ? (`${auth.username}:${auth.password}`) : '', + agent: this.agent + }); + + req.on('error', callback); + req.on('response', res => ( + res.on('end', () => callback(null, res)).resume() + )); + const jsonStringify = configure({ + ...(this.maximumDepth && { maximumDepth: this.maximumDepth }) + }); + req.end(Buffer.from(jsonStringify(options, this.options.replacer), 'utf8')); + } +}; diff --git a/node_modules/winston/lib/winston/transports/index.d.ts b/node_modules/winston/lib/winston/transports/index.d.ts new file mode 100644 index 0000000..76902a0 --- /dev/null +++ b/node_modules/winston/lib/winston/transports/index.d.ts @@ -0,0 +1,117 @@ +// Type definitions for winston 3.0 +// Project: https://github.com/winstonjs/winston + +/// + +import { Agent } from 'http'; + +import * as Transport from 'winston-transport'; + +declare namespace winston { + interface ConsoleTransportOptions extends Transport.TransportStreamOptions { + consoleWarnLevels?: string[]; + stderrLevels?: string[]; + debugStdout?: boolean; + eol?: string; + forceConsole?: boolean; + } + + interface ConsoleTransportInstance extends Transport { + name: string; + stderrLevels: string[]; + eol: string; + + new (options?: ConsoleTransportOptions): ConsoleTransportInstance; + } + + interface FileTransportOptions extends Transport.TransportStreamOptions { + filename?: string; + dirname?: string; + options?: object; + maxsize?: number; + stream?: NodeJS.WritableStream; + rotationFormat?: Function; + zippedArchive?: boolean; + maxFiles?: number; + eol?: string; + tailable?: boolean; + lazy?: boolean; + } + + interface FileTransportInstance extends Transport { + name: string; + filename: string; + dirname: string; + options: object; + maxsize: number | null; + rotationFormat: Function | boolean; + zippedArchive: boolean; + maxFiles: number | null; + eol: string; + tailable: boolean; + lazy: boolean; + + new (options?: FileTransportOptions): FileTransportInstance; + } + + interface HttpTransportOptions extends Transport.TransportStreamOptions { + ssl?: any; + host?: string; + port?: number; + auth?: { + username?: string | undefined; + password?: string | undefined; + bearer?: string | undefined; + }; + path?: string; + agent?: Agent; + headers?: object; + batch?: boolean; + batchInterval?: number; + batchCount?: number; + replacer?: (key: string, value: any) => any; + maximumDepth?: number; + } + + interface HttpTransportInstance extends Transport { + name: string; + ssl: boolean; + host: string; + maximumDepth: number; + port: number; + auth?: { + username?: string | undefined; + password?: string | undefined; + bearer?: string | undefined; + }; + path: string; + agent?: Agent | null; + + new (options?: HttpTransportOptions): HttpTransportInstance; + } + + interface StreamTransportOptions extends Transport.TransportStreamOptions { + stream: NodeJS.WritableStream; + eol?: string; + } + + interface StreamTransportInstance extends Transport { + eol: string; + + new (options?: StreamTransportOptions): StreamTransportInstance; + } + + interface Transports { + FileTransportOptions: FileTransportOptions; + File: FileTransportInstance; + ConsoleTransportOptions: ConsoleTransportOptions; + Console: ConsoleTransportInstance; + HttpTransportOptions: HttpTransportOptions; + Http: HttpTransportInstance; + StreamTransportOptions: StreamTransportOptions; + Stream: StreamTransportInstance; + } +} + +declare const winston: winston.Transports; +export = winston; diff --git a/node_modules/winston/lib/winston/transports/index.js b/node_modules/winston/lib/winston/transports/index.js new file mode 100644 index 0000000..f2f7cc3 --- /dev/null +++ b/node_modules/winston/lib/winston/transports/index.js @@ -0,0 +1,56 @@ +/** + * transports.js: Set of all transports Winston knows about. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +/** + * TODO: add property description. + * @type {Console} + */ +Object.defineProperty(exports, 'Console', { + configurable: true, + enumerable: true, + get() { + return require('./console'); + } +}); + +/** + * TODO: add property description. + * @type {File} + */ +Object.defineProperty(exports, 'File', { + configurable: true, + enumerable: true, + get() { + return require('./file'); + } +}); + +/** + * TODO: add property description. + * @type {Http} + */ +Object.defineProperty(exports, 'Http', { + configurable: true, + enumerable: true, + get() { + return require('./http'); + } +}); + +/** + * TODO: add property description. + * @type {Stream} + */ +Object.defineProperty(exports, 'Stream', { + configurable: true, + enumerable: true, + get() { + return require('./stream'); + } +}); diff --git a/node_modules/winston/lib/winston/transports/stream.js b/node_modules/winston/lib/winston/transports/stream.js new file mode 100644 index 0000000..8027f64 --- /dev/null +++ b/node_modules/winston/lib/winston/transports/stream.js @@ -0,0 +1,63 @@ +/** + * stream.js: Transport for outputting to any arbitrary stream. + * + * (C) 2010 Charlie Robbins + * MIT LICENCE + */ + +'use strict'; + +const isStream = require('is-stream'); +const { MESSAGE } = require('triple-beam'); +const os = require('os'); +const TransportStream = require('winston-transport'); + +/** + * Transport for outputting to any arbitrary stream. + * @type {Stream} + * @extends {TransportStream} + */ +module.exports = class Stream extends TransportStream { + /** + * Constructor function for the Console transport object responsible for + * persisting log messages and metadata to a terminal or TTY. + * @param {!Object} [options={}] - Options for this instance. + */ + constructor(options = {}) { + super(options); + + if (!options.stream || !isStream(options.stream)) { + throw new Error('options.stream is required.'); + } + + // We need to listen for drain events when write() returns false. This can + // make node mad at times. + this._stream = options.stream; + this._stream.setMaxListeners(Infinity); + this.isObjectMode = options.stream._writableState.objectMode; + this.eol = (typeof options.eol === 'string') ? options.eol : os.EOL; + } + + /** + * Core logging method exposed to Winston. + * @param {Object} info - TODO: add param description. + * @param {Function} callback - TODO: add param description. + * @returns {undefined} + */ + log(info, callback) { + setImmediate(() => this.emit('logged', info)); + if (this.isObjectMode) { + this._stream.write(info); + if (callback) { + callback(); // eslint-disable-line callback-return + } + return; + } + + this._stream.write(`${info[MESSAGE]}${this.eol}`); + if (callback) { + callback(); // eslint-disable-line callback-return + } + return; + } +}; diff --git a/node_modules/winston/node_modules/async/CHANGELOG.md b/node_modules/winston/node_modules/async/CHANGELOG.md new file mode 100644 index 0000000..ce990a5 --- /dev/null +++ b/node_modules/winston/node_modules/async/CHANGELOG.md @@ -0,0 +1,351 @@ +# v3.2.5 +- Ensure `Error` objects such as `AggregateError` are propagated without modification (#1920) + +# v3.2.4 +- Fix a bug in `priorityQueue` where it didn't wait for the result. (#1725) +- Fix a bug where `unshiftAsync` was included in `priorityQueue`. (#1790) + +# v3.2.3 +- Fix bugs in comment parsing in `autoInject`. (#1767, #1780) + +# v3.2.2 +- Fix potential prototype pollution exploit + +# v3.2.1 +- Use `queueMicrotask` if available to the environment (#1761) +- Minor perf improvement in `priorityQueue` (#1727) +- More examples in documentation (#1726) +- Various doc fixes (#1708, #1712, #1717, #1740, #1739, #1749, #1756) +- Improved test coverage (#1754) + +# v3.2.0 +- Fix a bug in Safari related to overwriting `func.name` +- Remove built-in browserify configuration (#1653) +- Varios doc fixes (#1688, #1703, #1704) + +# v3.1.1 +- Allow redefining `name` property on wrapped functions. + +# v3.1.0 + +- Added `q.pushAsync` and `q.unshiftAsync`, analagous to `q.push` and `q.unshift`, except they always do not accept a callback, and reject if processing the task errors. (#1659) +- Promises returned from `q.push` and `q.unshift` when a callback is not passed now resolve even if an error ocurred. (#1659) +- Fixed a parsing bug in `autoInject` with complicated function bodies (#1663) +- Added ES6+ configuration for Browserify bundlers (#1653) +- Various doc fixes (#1664, #1658, #1665, #1652) + +# v3.0.1 + +## Bug fixes +- Fixed a regression where arrays passed to `queue` and `cargo` would be completely flattened. (#1645) +- Clarified Async's browser support (#1643) + + +# v3.0.0 + +The `async`/`await` release! + +There are a lot of new features and subtle breaking changes in this major version, but the biggest feature is that most Async methods return a Promise if you omit the callback, meaning you can `await` them from within an `async` function. + +```js +const results = await async.mapLimit(urls, 5, async url => { + const resp = await fetch(url) + return resp.body +}) +``` + +## Breaking Changes +- Most Async methods return a Promise when the final callback is omitted, making them `await`-able! (#1572) +- We are now making heavy use of ES2015 features, this means we have dropped out-of-the-box support for Node 4 and earlier, and many old versions of browsers. (#1541, #1553) +- In `queue`, `priorityQueue`, `cargo` and `cargoQueue`, the "event"-style methods, like `q.drain` and `q.saturated` are now methods that register a callback, rather than properties you assign a callback to. They are now of the form `q.drain(callback)`. If you do not pass a callback a Promise will be returned for the next occurrence of the event, making them `await`-able, e.g. `await q.drain()`. (#1586, #1641) +- Calling `callback(false)` will cancel an async method, preventing further iteration and callback calls. This is useful for preventing memory leaks when you break out of an async flow by calling an outer callback. (#1064, #1542) +- `during` and `doDuring` have been removed, and instead `whilst`, `doWhilst`, `until` and `doUntil` now have asynchronous `test` functions. (#850, #1557) +- `limits` of less than 1 now cause an error to be thrown in queues and collection methods. (#1249, #1552) +- `memoize` no longer memoizes errors (#1465, #1466) +- `applyEach`/`applyEachSeries` have a simpler interface, to make them more easily type-able. It always returns a function that takes in a single callback argument. If that callback is omitted, a promise is returned, making it awaitable. (#1228, #1640) + +## New Features +- Async generators are now supported in all the Collection methods. (#1560) +- Added `cargoQueue`, a queue with both `concurrency` and `payload` size parameters. (#1567) +- Queue objects returned from `queue` now have a `Symbol.iterator` method, meaning they can be iterated over to inspect the current list of items in the queue. (#1459, #1556) +- A ESM-flavored `async.mjs` is included in the `async` package. This is described in the `package.json` `"module"` field, meaning it should be automatically used by Webpack and other compatible bundlers. + +## Bug fixes +- Better handle arbitrary error objects in `asyncify` (#1568, #1569) + +## Other +- Removed Lodash as a dependency (#1283, #1528) +- Miscellaneous docs fixes (#1393, #1501, #1540, #1543, #1558, #1563, #1564, #1579, #1581) +- Miscellaneous test fixes (#1538) + +------- + +# v2.6.1 +- Updated lodash to prevent `npm audit` warnings. (#1532, #1533) +- Made `async-es` more optimized for webpack users (#1517) +- Fixed a stack overflow with large collections and a synchronous iterator (#1514) +- Various small fixes/chores (#1505, #1511, #1527, #1530) + +# v2.6.0 +- Added missing aliases for many methods. Previously, you could not (e.g.) `require('async/find')` or use `async.anyLimit`. (#1483) +- Improved `queue` performance. (#1448, #1454) +- Add missing sourcemap (#1452, #1453) +- Various doc updates (#1448, #1471, #1483) + +# v2.5.0 +- Added `concatLimit`, the `Limit` equivalent of [`concat`](https://caolan.github.io/async/docs.html#concat) ([#1426](https://github.com/caolan/async/issues/1426), [#1430](https://github.com/caolan/async/pull/1430)) +- `concat` improvements: it now preserves order, handles falsy values and the `iteratee` callback takes a variable number of arguments ([#1437](https://github.com/caolan/async/issues/1437), [#1436](https://github.com/caolan/async/pull/1436)) +- Fixed an issue in `queue` where there was a size discrepancy between `workersList().length` and `running()` ([#1428](https://github.com/caolan/async/issues/1428), [#1429](https://github.com/caolan/async/pull/1429)) +- Various doc fixes ([#1422](https://github.com/caolan/async/issues/1422), [#1424](https://github.com/caolan/async/pull/1424)) + +# v2.4.1 +- Fixed a bug preventing functions wrapped with `timeout()` from being re-used. ([#1418](https://github.com/caolan/async/issues/1418), [#1419](https://github.com/caolan/async/issues/1419)) + +# v2.4.0 +- Added `tryEach`, for running async functions in parallel, where you only expect one to succeed. ([#1365](https://github.com/caolan/async/issues/1365), [#687](https://github.com/caolan/async/issues/687)) +- Improved performance, most notably in `parallel` and `waterfall` ([#1395](https://github.com/caolan/async/issues/1395)) +- Added `queue.remove()`, for removing items in a `queue` ([#1397](https://github.com/caolan/async/issues/1397), [#1391](https://github.com/caolan/async/issues/1391)) +- Fixed using `eval`, preventing Async from running in pages with Content Security Policy ([#1404](https://github.com/caolan/async/issues/1404), [#1403](https://github.com/caolan/async/issues/1403)) +- Fixed errors thrown in an `asyncify`ed function's callback being caught by the underlying Promise ([#1408](https://github.com/caolan/async/issues/1408)) +- Fixed timing of `queue.empty()` ([#1367](https://github.com/caolan/async/issues/1367)) +- Various doc fixes ([#1314](https://github.com/caolan/async/issues/1314), [#1394](https://github.com/caolan/async/issues/1394), [#1412](https://github.com/caolan/async/issues/1412)) + +# v2.3.0 +- Added support for ES2017 `async` functions. Wherever you can pass a Node-style/CPS function that uses a callback, you can also pass an `async` function. Previously, you had to wrap `async` functions with `asyncify`. The caveat is that it will only work if `async` functions are supported natively in your environment, transpiled implementations can't be detected. ([#1386](https://github.com/caolan/async/issues/1386), [#1390](https://github.com/caolan/async/issues/1390)) +- Small doc fix ([#1392](https://github.com/caolan/async/issues/1392)) + +# v2.2.0 +- Added `groupBy`, and the `Series`/`Limit` equivalents, analogous to [`_.groupBy`](http://lodash.com/docs#groupBy) ([#1364](https://github.com/caolan/async/issues/1364)) +- Fixed `transform` bug when `callback` was not passed ([#1381](https://github.com/caolan/async/issues/1381)) +- Added note about `reflect` to `parallel` docs ([#1385](https://github.com/caolan/async/issues/1385)) + +# v2.1.5 +- Fix `auto` bug when function names collided with Array.prototype ([#1358](https://github.com/caolan/async/issues/1358)) +- Improve some error messages ([#1349](https://github.com/caolan/async/issues/1349)) +- Avoid stack overflow case in queue +- Fixed an issue in `some`, `every` and `find` where processing would continue after the result was determined. +- Cleanup implementations of `some`, `every` and `find` + +# v2.1.3 +- Make bundle size smaller +- Create optimized hotpath for `filter` in array case. + +# v2.1.2 +- Fixed a stackoverflow bug with `detect`, `some`, `every` on large inputs ([#1293](https://github.com/caolan/async/issues/1293)). + +# v2.1.0 + +- `retry` and `retryable` now support an optional `errorFilter` function that determines if the `task` should retry on the error ([#1256](https://github.com/caolan/async/issues/1256), [#1261](https://github.com/caolan/async/issues/1261)) +- Optimized array iteration in `race`, `cargo`, `queue`, and `priorityQueue` ([#1253](https://github.com/caolan/async/issues/1253)) +- Added alias documentation to doc site ([#1251](https://github.com/caolan/async/issues/1251), [#1254](https://github.com/caolan/async/issues/1254)) +- Added [BootStrap scrollspy](http://getbootstrap.com/javascript/#scrollspy) to docs to highlight in the sidebar the current method being viewed ([#1289](https://github.com/caolan/async/issues/1289), [#1300](https://github.com/caolan/async/issues/1300)) +- Various minor doc fixes ([#1263](https://github.com/caolan/async/issues/1263), [#1264](https://github.com/caolan/async/issues/1264), [#1271](https://github.com/caolan/async/issues/1271), [#1278](https://github.com/caolan/async/issues/1278), [#1280](https://github.com/caolan/async/issues/1280), [#1282](https://github.com/caolan/async/issues/1282), [#1302](https://github.com/caolan/async/issues/1302)) + +# v2.0.1 + +- Significantly optimized all iteration based collection methods such as `each`, `map`, `filter`, etc ([#1245](https://github.com/caolan/async/issues/1245), [#1246](https://github.com/caolan/async/issues/1246), [#1247](https://github.com/caolan/async/issues/1247)). + +# v2.0.0 + +Lots of changes here! + +First and foremost, we have a slick new [site for docs](https://caolan.github.io/async/). Special thanks to [**@hargasinski**](https://github.com/hargasinski) for his work converting our old docs to `jsdoc` format and implementing the new website. Also huge ups to [**@ivanseidel**](https://github.com/ivanseidel) for designing our new logo. It was a long process for both of these tasks, but I think these changes turned out extraordinary well. + +The biggest feature is modularization. You can now `require("async/series")` to only require the `series` function. Every Async library function is available this way. You still can `require("async")` to require the entire library, like you could do before. + +We also provide Async as a collection of ES2015 modules. You can now `import {each} from 'async-es'` or `import waterfall from 'async-es/waterfall'`. If you are using only a few Async functions, and are using a ES bundler such as Rollup, this can significantly lower your build size. + +Major thanks to [**@Kikobeats**](github.com/Kikobeats), [**@aearly**](github.com/aearly) and [**@megawac**](github.com/megawac) for doing the majority of the modularization work, as well as [**@jdalton**](github.com/jdalton) and [**@Rich-Harris**](github.com/Rich-Harris) for advisory work on the general modularization strategy. + +Another one of the general themes of the 2.0 release is standardization of what an "async" function is. We are now more strictly following the node-style continuation passing style. That is, an async function is a function that: + +1. Takes a variable number of arguments +2. The last argument is always a callback +3. The callback can accept any number of arguments +4. The first argument passed to the callback will be treated as an error result, if the argument is truthy +5. Any number of result arguments can be passed after the "error" argument +6. The callback is called once and exactly once, either on the same tick or later tick of the JavaScript event loop. + +There were several cases where Async accepted some functions that did not strictly have these properties, most notably `auto`, `every`, `some`, `filter`, `reject` and `detect`. + +Another theme is performance. We have eliminated internal deferrals in all cases where they make sense. For example, in `waterfall` and `auto`, there was a `setImmediate` between each task -- these deferrals have been removed. A `setImmediate` call can add up to 1ms of delay. This might not seem like a lot, but it can add up if you are using many Async functions in the course of processing a HTTP request, for example. Nearly all asynchronous functions that do I/O already have some sort of deferral built in, so the extra deferral is unnecessary. The trade-off of this change is removing our built-in stack-overflow defense. Many synchronous callback calls in series can quickly overflow the JS call stack. If you do have a function that is sometimes synchronous (calling its callback on the same tick), and are running into stack overflows, wrap it with `async.ensureAsync()`. + +Another big performance win has been re-implementing `queue`, `cargo`, and `priorityQueue` with [doubly linked lists](https://en.wikipedia.org/wiki/Doubly_linked_list) instead of arrays. This has lead to queues being an order of [magnitude faster on large sets of tasks](https://github.com/caolan/async/pull/1205). + +## New Features + +- Async is now modularized. Individual functions can be `require()`d from the main package. (`require('async/auto')`) ([#984](https://github.com/caolan/async/issues/984), [#996](https://github.com/caolan/async/issues/996)) +- Async is also available as a collection of ES2015 modules in the new `async-es` package. (`import {forEachSeries} from 'async-es'`) ([#984](https://github.com/caolan/async/issues/984), [#996](https://github.com/caolan/async/issues/996)) +- Added `race`, analogous to `Promise.race()`. It will run an array of async tasks in parallel and will call its callback with the result of the first task to respond. ([#568](https://github.com/caolan/async/issues/568), [#1038](https://github.com/caolan/async/issues/1038)) +- Collection methods now accept ES2015 iterators. Maps, Sets, and anything that implements the iterator spec can now be passed directly to `each`, `map`, `parallel`, etc.. ([#579](https://github.com/caolan/async/issues/579), [#839](https://github.com/caolan/async/issues/839), [#1074](https://github.com/caolan/async/issues/1074)) +- Added `mapValues`, for mapping over the properties of an object and returning an object with the same keys. ([#1157](https://github.com/caolan/async/issues/1157), [#1177](https://github.com/caolan/async/issues/1177)) +- Added `timeout`, a wrapper for an async function that will make the task time-out after the specified time. ([#1007](https://github.com/caolan/async/issues/1007), [#1027](https://github.com/caolan/async/issues/1027)) +- Added `reflect` and `reflectAll`, analagous to [`Promise.reflect()`](http://bluebirdjs.com/docs/api/reflect.html), a wrapper for async tasks that always succeeds, by gathering results and errors into an object. ([#942](https://github.com/caolan/async/issues/942), [#1012](https://github.com/caolan/async/issues/1012), [#1095](https://github.com/caolan/async/issues/1095)) +- `constant` supports dynamic arguments -- it will now always use its last argument as the callback. ([#1016](https://github.com/caolan/async/issues/1016), [#1052](https://github.com/caolan/async/issues/1052)) +- `setImmediate` and `nextTick` now support arguments to partially apply to the deferred function, like the node-native versions do. ([#940](https://github.com/caolan/async/issues/940), [#1053](https://github.com/caolan/async/issues/1053)) +- `auto` now supports resolving cyclic dependencies using [Kahn's algorithm](https://en.wikipedia.org/wiki/Topological_sorting#Kahn.27s_algorithm) ([#1140](https://github.com/caolan/async/issues/1140)). +- Added `autoInject`, a relative of `auto` that automatically spreads a task's dependencies as arguments to the task function. ([#608](https://github.com/caolan/async/issues/608), [#1055](https://github.com/caolan/async/issues/1055), [#1099](https://github.com/caolan/async/issues/1099), [#1100](https://github.com/caolan/async/issues/1100)) +- You can now limit the concurrency of `auto` tasks. ([#635](https://github.com/caolan/async/issues/635), [#637](https://github.com/caolan/async/issues/637)) +- Added `retryable`, a relative of `retry` that wraps an async function, making it retry when called. ([#1058](https://github.com/caolan/async/issues/1058)) +- `retry` now supports specifying a function that determines the next time interval, useful for exponential backoff, logging and other retry strategies. ([#1161](https://github.com/caolan/async/issues/1161)) +- `retry` will now pass all of the arguments the task function was resolved with to the callback ([#1231](https://github.com/caolan/async/issues/1231)). +- Added `q.unsaturated` -- callback called when a `queue`'s number of running workers falls below a threshold. ([#868](https://github.com/caolan/async/issues/868), [#1030](https://github.com/caolan/async/issues/1030), [#1033](https://github.com/caolan/async/issues/1033), [#1034](https://github.com/caolan/async/issues/1034)) +- Added `q.error` -- a callback called whenever a `queue` task calls its callback with an error. ([#1170](https://github.com/caolan/async/issues/1170)) +- `applyEach` and `applyEachSeries` now pass results to the final callback. ([#1088](https://github.com/caolan/async/issues/1088)) + +## Breaking changes + +- Calling a callback more than once is considered an error, and an error will be thrown. This had an explicit breaking change in `waterfall`. If you were relying on this behavior, you should more accurately represent your control flow as an event emitter or stream. ([#814](https://github.com/caolan/async/issues/814), [#815](https://github.com/caolan/async/issues/815), [#1048](https://github.com/caolan/async/issues/1048), [#1050](https://github.com/caolan/async/issues/1050)) +- `auto` task functions now always take the callback as the last argument. If a task has dependencies, the `results` object will be passed as the first argument. To migrate old task functions, wrap them with [`_.flip`](https://lodash.com/docs#flip) ([#1036](https://github.com/caolan/async/issues/1036), [#1042](https://github.com/caolan/async/issues/1042)) +- Internal `setImmediate` calls have been refactored away. This may make existing flows vulnerable to stack overflows if you use many synchronous functions in series. Use `ensureAsync` to work around this. ([#696](https://github.com/caolan/async/issues/696), [#704](https://github.com/caolan/async/issues/704), [#1049](https://github.com/caolan/async/issues/1049), [#1050](https://github.com/caolan/async/issues/1050)) +- `map` used to return an object when iterating over an object. `map` now always returns an array, like in other libraries. The previous object behavior has been split out into `mapValues`. ([#1157](https://github.com/caolan/async/issues/1157), [#1177](https://github.com/caolan/async/issues/1177)) +- `filter`, `reject`, `some`, `every`, `detect` and their families like `{METHOD}Series` and `{METHOD}Limit` now expect an error as the first callback argument, rather than just a simple boolean. Pass `null` as the first argument, or use `fs.access` instead of `fs.exists`. ([#118](https://github.com/caolan/async/issues/118), [#774](https://github.com/caolan/async/issues/774), [#1028](https://github.com/caolan/async/issues/1028), [#1041](https://github.com/caolan/async/issues/1041)) +- `{METHOD}` and `{METHOD}Series` are now implemented in terms of `{METHOD}Limit`. This is a major internal simplification, and is not expected to cause many problems, but it does subtly affect how functions execute internally. ([#778](https://github.com/caolan/async/issues/778), [#847](https://github.com/caolan/async/issues/847)) +- `retry`'s callback is now optional. Previously, omitting the callback would partially apply the function, meaning it could be passed directly as a task to `series` or `auto`. The partially applied "control-flow" behavior has been separated out into `retryable`. ([#1054](https://github.com/caolan/async/issues/1054), [#1058](https://github.com/caolan/async/issues/1058)) +- The test function for `whilst`, `until`, and `during` used to be passed non-error args from the iteratee function's callback, but this led to weirdness where the first call of the test function would be passed no args. We have made it so the test function is never passed extra arguments, and only the `doWhilst`, `doUntil`, and `doDuring` functions pass iteratee callback arguments to the test function ([#1217](https://github.com/caolan/async/issues/1217), [#1224](https://github.com/caolan/async/issues/1224)) +- The `q.tasks` array has been renamed `q._tasks` and is now implemented as a doubly linked list (DLL). Any code that used to interact with this array will need to be updated to either use the provided helpers or support DLLs ([#1205](https://github.com/caolan/async/issues/1205)). +- The timing of the `q.saturated()` callback in a `queue` has been modified to better reflect when tasks pushed to the queue will start queueing. ([#724](https://github.com/caolan/async/issues/724), [#1078](https://github.com/caolan/async/issues/1078)) +- Removed `iterator` method in favour of [ES2015 iterator protocol](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators ) which natively supports arrays ([#1237](https://github.com/caolan/async/issues/1237)) +- Dropped support for Component, Jam, SPM, and Volo ([#1175](https://github.com/caolan/async/issues/1175), #[#176](https://github.com/caolan/async/issues/176)) + +## Bug Fixes + +- Improved handling of no dependency cases in `auto` & `autoInject` ([#1147](https://github.com/caolan/async/issues/1147)). +- Fixed a bug where the callback generated by `asyncify` with `Promises` could resolve twice ([#1197](https://github.com/caolan/async/issues/1197)). +- Fixed several documented optional callbacks not actually being optional ([#1223](https://github.com/caolan/async/issues/1223)). + +## Other + +- Added `someSeries` and `everySeries` for symmetry, as well as a complete set of `any`/`anyLimit`/`anySeries` and `all`/`/allLmit`/`allSeries` aliases. +- Added `find` as an alias for `detect. (as well as `findLimit` and `findSeries`). +- Various doc fixes ([#1005](https://github.com/caolan/async/issues/1005), [#1008](https://github.com/caolan/async/issues/1008), [#1010](https://github.com/caolan/async/issues/1010), [#1015](https://github.com/caolan/async/issues/1015), [#1021](https://github.com/caolan/async/issues/1021), [#1037](https://github.com/caolan/async/issues/1037), [#1039](https://github.com/caolan/async/issues/1039), [#1051](https://github.com/caolan/async/issues/1051), [#1102](https://github.com/caolan/async/issues/1102), [#1107](https://github.com/caolan/async/issues/1107), [#1121](https://github.com/caolan/async/issues/1121), [#1123](https://github.com/caolan/async/issues/1123), [#1129](https://github.com/caolan/async/issues/1129), [#1135](https://github.com/caolan/async/issues/1135), [#1138](https://github.com/caolan/async/issues/1138), [#1141](https://github.com/caolan/async/issues/1141), [#1153](https://github.com/caolan/async/issues/1153), [#1216](https://github.com/caolan/async/issues/1216), [#1217](https://github.com/caolan/async/issues/1217), [#1232](https://github.com/caolan/async/issues/1232), [#1233](https://github.com/caolan/async/issues/1233), [#1236](https://github.com/caolan/async/issues/1236), [#1238](https://github.com/caolan/async/issues/1238)) + +Thank you [**@aearly**](github.com/aearly) and [**@megawac**](github.com/megawac) for taking the lead on version 2 of async. + +------------------------------------------ + +# v1.5.2 +- Allow using `"constructor"` as an argument in `memoize` ([#998](https://github.com/caolan/async/issues/998)) +- Give a better error messsage when `auto` dependency checking fails ([#994](https://github.com/caolan/async/issues/994)) +- Various doc updates ([#936](https://github.com/caolan/async/issues/936), [#956](https://github.com/caolan/async/issues/956), [#979](https://github.com/caolan/async/issues/979), [#1002](https://github.com/caolan/async/issues/1002)) + +# v1.5.1 +- Fix issue with `pause` in `queue` with concurrency enabled ([#946](https://github.com/caolan/async/issues/946)) +- `while` and `until` now pass the final result to callback ([#963](https://github.com/caolan/async/issues/963)) +- `auto` will properly handle concurrency when there is no callback ([#966](https://github.com/caolan/async/issues/966)) +- `auto` will no. properly stop execution when an error occurs ([#988](https://github.com/caolan/async/issues/988), [#993](https://github.com/caolan/async/issues/993)) +- Various doc fixes ([#971](https://github.com/caolan/async/issues/971), [#980](https://github.com/caolan/async/issues/980)) + +# v1.5.0 + +- Added `transform`, analogous to [`_.transform`](http://lodash.com/docs#transform) ([#892](https://github.com/caolan/async/issues/892)) +- `map` now returns an object when an object is passed in, rather than array with non-numeric keys. `map` will begin always returning an array with numeric indexes in the next major release. ([#873](https://github.com/caolan/async/issues/873)) +- `auto` now accepts an optional `concurrency` argument to limit the number o. running tasks ([#637](https://github.com/caolan/async/issues/637)) +- Added `queue#workersList()`, to retrieve the lis. of currently running tasks. ([#891](https://github.com/caolan/async/issues/891)) +- Various code simplifications ([#896](https://github.com/caolan/async/issues/896), [#904](https://github.com/caolan/async/issues/904)) +- Various doc fixes :scroll: ([#890](https://github.com/caolan/async/issues/890), [#894](https://github.com/caolan/async/issues/894), [#903](https://github.com/caolan/async/issues/903), [#905](https://github.com/caolan/async/issues/905), [#912](https://github.com/caolan/async/issues/912)) + +# v1.4.2 + +- Ensure coverage files don't get published on npm ([#879](https://github.com/caolan/async/issues/879)) + +# v1.4.1 + +- Add in overlooked `detectLimit` method ([#866](https://github.com/caolan/async/issues/866)) +- Removed unnecessary files from npm releases ([#861](https://github.com/caolan/async/issues/861)) +- Removed usage of a reserved word to prevent :boom: in older environments ([#870](https://github.com/caolan/async/issues/870)) + +# v1.4.0 + +- `asyncify` now supports promises ([#840](https://github.com/caolan/async/issues/840)) +- Added `Limit` versions of `filter` and `reject` ([#836](https://github.com/caolan/async/issues/836)) +- Add `Limit` versions of `detect`, `some` and `every` ([#828](https://github.com/caolan/async/issues/828), [#829](https://github.com/caolan/async/issues/829)) +- `some`, `every` and `detect` now short circuit early ([#828](https://github.com/caolan/async/issues/828), [#829](https://github.com/caolan/async/issues/829)) +- Improve detection of the global object ([#804](https://github.com/caolan/async/issues/804)), enabling use in WebWorkers +- `whilst` now called with arguments from iterator ([#823](https://github.com/caolan/async/issues/823)) +- `during` now gets called with arguments from iterator ([#824](https://github.com/caolan/async/issues/824)) +- Code simplifications and optimizations aplenty ([diff](https://github.com/caolan/async/compare/v1.3.0...v1.4.0)) + + +# v1.3.0 + +New Features: +- Added `constant` +- Added `asyncify`/`wrapSync` for making sync functions work with callbacks. ([#671](https://github.com/caolan/async/issues/671), [#806](https://github.com/caolan/async/issues/806)) +- Added `during` and `doDuring`, which are like `whilst` with an async truth test. ([#800](https://github.com/caolan/async/issues/800)) +- `retry` now accepts an `interval` parameter to specify a delay between retries. ([#793](https://github.com/caolan/async/issues/793)) +- `async` should work better in Web Workers due to better `root` detection ([#804](https://github.com/caolan/async/issues/804)) +- Callbacks are now optional in `whilst`, `doWhilst`, `until`, and `doUntil` ([#642](https://github.com/caolan/async/issues/642)) +- Various internal updates ([#786](https://github.com/caolan/async/issues/786), [#801](https://github.com/caolan/async/issues/801), [#802](https://github.com/caolan/async/issues/802), [#803](https://github.com/caolan/async/issues/803)) +- Various doc fixes ([#790](https://github.com/caolan/async/issues/790), [#794](https://github.com/caolan/async/issues/794)) + +Bug Fixes: +- `cargo` now exposes the `payload` size, and `cargo.payload` can be changed on the fly after the `cargo` is created. ([#740](https://github.com/caolan/async/issues/740), [#744](https://github.com/caolan/async/issues/744), [#783](https://github.com/caolan/async/issues/783)) + + +# v1.2.1 + +Bug Fix: + +- Small regression with synchronous iterator behavior in `eachSeries` with a 1-element array. Before 1.1.0, `eachSeries`'s callback was called on the same tick, which this patch restores. In 2.0.0, it will be called on the next tick. ([#782](https://github.com/caolan/async/issues/782)) + + +# v1.2.0 + +New Features: + +- Added `timesLimit` ([#743](https://github.com/caolan/async/issues/743)) +- `concurrency` can be changed after initialization in `queue` by setting `q.concurrency`. The new concurrency will be reflected the next time a task is processed. ([#747](https://github.com/caolan/async/issues/747), [#772](https://github.com/caolan/async/issues/772)) + +Bug Fixes: + +- Fixed a regression in `each` and family with empty arrays that have additional properties. ([#775](https://github.com/caolan/async/issues/775), [#777](https://github.com/caolan/async/issues/777)) + + +# v1.1.1 + +Bug Fix: + +- Small regression with synchronous iterator behavior in `eachSeries` with a 1-element array. Before 1.1.0, `eachSeries`'s callback was called on the same tick, which this patch restores. In 2.0.0, it will be called on the next tick. ([#782](https://github.com/caolan/async/issues/782)) + + +# v1.1.0 + +New Features: + +- `cargo` now supports all of the same methods and event callbacks as `queue`. +- Added `ensureAsync` - A wrapper that ensures an async function calls its callback on a later tick. ([#769](https://github.com/caolan/async/issues/769)) +- Optimized `map`, `eachOf`, and `waterfall` families of functions +- Passing a `null` or `undefined` array to `map`, `each`, `parallel` and families will be treated as an empty array ([#667](https://github.com/caolan/async/issues/667)). +- The callback is now optional for the composed results of `compose` and `seq`. ([#618](https://github.com/caolan/async/issues/618)) +- Reduced file size by 4kb, (minified version by 1kb) +- Added code coverage through `nyc` and `coveralls` ([#768](https://github.com/caolan/async/issues/768)) + +Bug Fixes: + +- `forever` will no longer stack overflow with a synchronous iterator ([#622](https://github.com/caolan/async/issues/622)) +- `eachLimit` and other limit functions will stop iterating once an error occurs ([#754](https://github.com/caolan/async/issues/754)) +- Always pass `null` in callbacks when there is no error ([#439](https://github.com/caolan/async/issues/439)) +- Ensure proper conditions when calling `drain()` after pushing an empty data set to a queue ([#668](https://github.com/caolan/async/issues/668)) +- `each` and family will properly handle an empty array ([#578](https://github.com/caolan/async/issues/578)) +- `eachSeries` and family will finish if the underlying array is modified during execution ([#557](https://github.com/caolan/async/issues/557)) +- `queue` will throw if a non-function is passed to `q.push()` ([#593](https://github.com/caolan/async/issues/593)) +- Doc fixes ([#629](https://github.com/caolan/async/issues/629), [#766](https://github.com/caolan/async/issues/766)) + + +# v1.0.0 + +No known breaking changes, we are simply complying with semver from here on out. + +Changes: + +- Start using a changelog! +- Add `forEachOf` for iterating over Objects (or to iterate Arrays with indexes available) ([#168](https://github.com/caolan/async/issues/168) [#704](https://github.com/caolan/async/issues/704) [#321](https://github.com/caolan/async/issues/321)) +- Detect deadlocks in `auto` ([#663](https://github.com/caolan/async/issues/663)) +- Better support for require.js ([#527](https://github.com/caolan/async/issues/527)) +- Throw if queue created with concurrency `0` ([#714](https://github.com/caolan/async/issues/714)) +- Fix unneeded iteration in `queue.resume()` ([#758](https://github.com/caolan/async/issues/758)) +- Guard against timer mocking overriding `setImmediate` ([#609](https://github.com/caolan/async/issues/609) [#611](https://github.com/caolan/async/issues/611)) +- Miscellaneous doc fixes ([#542](https://github.com/caolan/async/issues/542) [#596](https://github.com/caolan/async/issues/596) [#615](https://github.com/caolan/async/issues/615) [#628](https://github.com/caolan/async/issues/628) [#631](https://github.com/caolan/async/issues/631) [#690](https://github.com/caolan/async/issues/690) [#729](https://github.com/caolan/async/issues/729)) +- Use single noop function internally ([#546](https://github.com/caolan/async/issues/546)) +- Optimize internal `_each`, `_map` and `_keys` functions. diff --git a/node_modules/winston/node_modules/async/LICENSE b/node_modules/winston/node_modules/async/LICENSE new file mode 100644 index 0000000..b18aed6 --- /dev/null +++ b/node_modules/winston/node_modules/async/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2010-2018 Caolan McMahon + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_modules/winston/node_modules/async/README.md b/node_modules/winston/node_modules/async/README.md new file mode 100644 index 0000000..55a0626 --- /dev/null +++ b/node_modules/winston/node_modules/async/README.md @@ -0,0 +1,59 @@ +![Async Logo](https://raw.githubusercontent.com/caolan/async/master/logo/async-logo_readme.jpg) + +![Github Actions CI status](https://github.com/caolan/async/actions/workflows/ci.yml/badge.svg) +[![NPM version](https://img.shields.io/npm/v/async.svg)](https://www.npmjs.com/package/async) +[![Coverage Status](https://coveralls.io/repos/caolan/async/badge.svg?branch=master)](https://coveralls.io/r/caolan/async?branch=master) +[![Join the chat at https://gitter.im/caolan/async](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/caolan/async?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/async/badge?style=rounded)](https://www.jsdelivr.com/package/npm/async) + + + +Async is a utility module which provides straight-forward, powerful functions for working with [asynchronous JavaScript](http://caolan.github.io/async/v3/global.html). Although originally designed for use with [Node.js](https://nodejs.org/) and installable via `npm i async`, it can also be used directly in the browser. An ESM/MJS version is included in the main `async` package that should automatically be used with compatible bundlers such as Webpack and Rollup. + +A pure ESM version of Async is available as [`async-es`](https://www.npmjs.com/package/async-es). + +For Documentation, visit + +*For Async v1.5.x documentation, go [HERE](https://github.com/caolan/async/blob/v1.5.2/README.md)* + + +```javascript +// for use with Node-style callbacks... +var async = require("async"); + +var obj = {dev: "/dev.json", test: "/test.json", prod: "/prod.json"}; +var configs = {}; + +async.forEachOf(obj, (value, key, callback) => { + fs.readFile(__dirname + value, "utf8", (err, data) => { + if (err) return callback(err); + try { + configs[key] = JSON.parse(data); + } catch (e) { + return callback(e); + } + callback(); + }); +}, err => { + if (err) console.error(err.message); + // configs is now a map of JSON data + doSomethingWith(configs); +}); +``` + +```javascript +var async = require("async"); + +// ...or ES2017 async functions +async.mapLimit(urls, 5, async function(url) { + const response = await fetch(url) + return response.body +}, (err, results) => { + if (err) throw err + // results is now an array of the response bodies + console.log(results) +}) +``` diff --git a/node_modules/winston/node_modules/async/all.js b/node_modules/winston/node_modules/async/all.js new file mode 100644 index 0000000..622b301 --- /dev/null +++ b/node_modules/winston/node_modules/async/all.js @@ -0,0 +1,119 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createTester = require('./internal/createTester.js'); + +var _createTester2 = _interopRequireDefault(_createTester); + +var _eachOf = require('./eachOf.js'); + +var _eachOf2 = _interopRequireDefault(_eachOf); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Returns `true` if every element in `coll` satisfies an async test. If any + * iteratee call returns `false`, the main `callback` is immediately called. + * + * @name every + * @static + * @memberOf module:Collections + * @method + * @alias all + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collection in parallel. + * The iteratee must complete with a boolean result value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result will be either `true` or `false` + * depending on the values of the async tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * // dir4 does not exist + * + * const fileList = ['dir1/file1.txt','dir2/file3.txt','dir3/file5.txt']; + * const withMissingFileList = ['file1.txt','file2.txt','file4.txt']; + * + * // asynchronous function that checks if a file exists + * function fileExists(file, callback) { + * fs.access(file, fs.constants.F_OK, (err) => { + * callback(null, !err); + * }); + * } + * + * // Using callbacks + * async.every(fileList, fileExists, function(err, result) { + * console.log(result); + * // true + * // result is true since every file exists + * }); + * + * async.every(withMissingFileList, fileExists, function(err, result) { + * console.log(result); + * // false + * // result is false since NOT every file exists + * }); + * + * // Using Promises + * async.every(fileList, fileExists) + * .then( result => { + * console.log(result); + * // true + * // result is true since every file exists + * }).catch( err => { + * console.log(err); + * }); + * + * async.every(withMissingFileList, fileExists) + * .then( result => { + * console.log(result); + * // false + * // result is false since NOT every file exists + * }).catch( err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.every(fileList, fileExists); + * console.log(result); + * // true + * // result is true since every file exists + * } + * catch (err) { + * console.log(err); + * } + * } + * + * async () => { + * try { + * let result = await async.every(withMissingFileList, fileExists); + * console.log(result); + * // false + * // result is false since NOT every file exists + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function every(coll, iteratee, callback) { + return (0, _createTester2.default)(bool => !bool, res => !res)(_eachOf2.default, coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(every, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/allLimit.js b/node_modules/winston/node_modules/async/allLimit.js new file mode 100644 index 0000000..375e126 --- /dev/null +++ b/node_modules/winston/node_modules/async/allLimit.js @@ -0,0 +1,46 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createTester = require('./internal/createTester.js'); + +var _createTester2 = _interopRequireDefault(_createTester); + +var _eachOfLimit = require('./internal/eachOfLimit.js'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`every`]{@link module:Collections.every} but runs a maximum of `limit` async operations at a time. + * + * @name everyLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.every]{@link module:Collections.every} + * @alias allLimit + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collection in parallel. + * The iteratee must complete with a boolean result value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result will be either `true` or `false` + * depending on the values of the async tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + */ +function everyLimit(coll, limit, iteratee, callback) { + return (0, _createTester2.default)(bool => !bool, res => !res)((0, _eachOfLimit2.default)(limit), coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(everyLimit, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/allSeries.js b/node_modules/winston/node_modules/async/allSeries.js new file mode 100644 index 0000000..9a6bf7d --- /dev/null +++ b/node_modules/winston/node_modules/async/allSeries.js @@ -0,0 +1,45 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createTester = require('./internal/createTester.js'); + +var _createTester2 = _interopRequireDefault(_createTester); + +var _eachOfSeries = require('./eachOfSeries.js'); + +var _eachOfSeries2 = _interopRequireDefault(_eachOfSeries); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`every`]{@link module:Collections.every} but runs only a single async operation at a time. + * + * @name everySeries + * @static + * @memberOf module:Collections + * @method + * @see [async.every]{@link module:Collections.every} + * @alias allSeries + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collection in series. + * The iteratee must complete with a boolean result value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result will be either `true` or `false` + * depending on the values of the async tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + */ +function everySeries(coll, iteratee, callback) { + return (0, _createTester2.default)(bool => !bool, res => !res)(_eachOfSeries2.default, coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(everySeries, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/any.js b/node_modules/winston/node_modules/async/any.js new file mode 100644 index 0000000..a5bd328 --- /dev/null +++ b/node_modules/winston/node_modules/async/any.js @@ -0,0 +1,122 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createTester = require('./internal/createTester.js'); + +var _createTester2 = _interopRequireDefault(_createTester); + +var _eachOf = require('./eachOf.js'); + +var _eachOf2 = _interopRequireDefault(_eachOf); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Returns `true` if at least one element in the `coll` satisfies an async test. + * If any iteratee call returns `true`, the main `callback` is immediately + * called. + * + * @name some + * @static + * @memberOf module:Collections + * @method + * @alias any + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collections in parallel. + * The iteratee should complete with a boolean `result` value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the iteratee functions have finished. + * Result will be either `true` or `false` depending on the values of the async + * tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * // dir4 does not exist + * + * // asynchronous function that checks if a file exists + * function fileExists(file, callback) { + * fs.access(file, fs.constants.F_OK, (err) => { + * callback(null, !err); + * }); + * } + * + * // Using callbacks + * async.some(['dir1/missing.txt','dir2/missing.txt','dir3/file5.txt'], fileExists, + * function(err, result) { + * console.log(result); + * // true + * // result is true since some file in the list exists + * } + *); + * + * async.some(['dir1/missing.txt','dir2/missing.txt','dir4/missing.txt'], fileExists, + * function(err, result) { + * console.log(result); + * // false + * // result is false since none of the files exists + * } + *); + * + * // Using Promises + * async.some(['dir1/missing.txt','dir2/missing.txt','dir3/file5.txt'], fileExists) + * .then( result => { + * console.log(result); + * // true + * // result is true since some file in the list exists + * }).catch( err => { + * console.log(err); + * }); + * + * async.some(['dir1/missing.txt','dir2/missing.txt','dir4/missing.txt'], fileExists) + * .then( result => { + * console.log(result); + * // false + * // result is false since none of the files exists + * }).catch( err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.some(['dir1/missing.txt','dir2/missing.txt','dir3/file5.txt'], fileExists); + * console.log(result); + * // true + * // result is true since some file in the list exists + * } + * catch (err) { + * console.log(err); + * } + * } + * + * async () => { + * try { + * let result = await async.some(['dir1/missing.txt','dir2/missing.txt','dir4/missing.txt'], fileExists); + * console.log(result); + * // false + * // result is false since none of the files exists + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function some(coll, iteratee, callback) { + return (0, _createTester2.default)(Boolean, res => res)(_eachOf2.default, coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(some, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/anyLimit.js b/node_modules/winston/node_modules/async/anyLimit.js new file mode 100644 index 0000000..3a8096f --- /dev/null +++ b/node_modules/winston/node_modules/async/anyLimit.js @@ -0,0 +1,47 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createTester = require('./internal/createTester.js'); + +var _createTester2 = _interopRequireDefault(_createTester); + +var _eachOfLimit = require('./internal/eachOfLimit.js'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`some`]{@link module:Collections.some} but runs a maximum of `limit` async operations at a time. + * + * @name someLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.some]{@link module:Collections.some} + * @alias anyLimit + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collections in parallel. + * The iteratee should complete with a boolean `result` value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the iteratee functions have finished. + * Result will be either `true` or `false` depending on the values of the async + * tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + */ +function someLimit(coll, limit, iteratee, callback) { + return (0, _createTester2.default)(Boolean, res => res)((0, _eachOfLimit2.default)(limit), coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(someLimit, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/anySeries.js b/node_modules/winston/node_modules/async/anySeries.js new file mode 100644 index 0000000..51aad19 --- /dev/null +++ b/node_modules/winston/node_modules/async/anySeries.js @@ -0,0 +1,46 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createTester = require('./internal/createTester.js'); + +var _createTester2 = _interopRequireDefault(_createTester); + +var _eachOfSeries = require('./eachOfSeries.js'); + +var _eachOfSeries2 = _interopRequireDefault(_eachOfSeries); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`some`]{@link module:Collections.some} but runs only a single async operation at a time. + * + * @name someSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.some]{@link module:Collections.some} + * @alias anySeries + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collections in series. + * The iteratee should complete with a boolean `result` value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the iteratee functions have finished. + * Result will be either `true` or `false` depending on the values of the async + * tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + */ +function someSeries(coll, iteratee, callback) { + return (0, _createTester2.default)(Boolean, res => res)(_eachOfSeries2.default, coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(someSeries, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/apply.js b/node_modules/winston/node_modules/async/apply.js new file mode 100644 index 0000000..d40784f --- /dev/null +++ b/node_modules/winston/node_modules/async/apply.js @@ -0,0 +1,11 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +exports.default = function (fn, ...args) { + return (...callArgs) => fn(...args, ...callArgs); +}; + +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/applyEach.js b/node_modules/winston/node_modules/async/applyEach.js new file mode 100644 index 0000000..841842c --- /dev/null +++ b/node_modules/winston/node_modules/async/applyEach.js @@ -0,0 +1,57 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _applyEach = require('./internal/applyEach.js'); + +var _applyEach2 = _interopRequireDefault(_applyEach); + +var _map = require('./map.js'); + +var _map2 = _interopRequireDefault(_map); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Applies the provided arguments to each function in the array, calling + * `callback` after all functions have completed. If you only provide the first + * argument, `fns`, then it will return a function which lets you pass in the + * arguments as if it were a single function call. If more arguments are + * provided, `callback` is required while `args` is still optional. The results + * for each of the applied async functions are passed to the final callback + * as an array. + * + * @name applyEach + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Array|Iterable|AsyncIterable|Object} fns - A collection of {@link AsyncFunction}s + * to all call with the same arguments + * @param {...*} [args] - any number of separate arguments to pass to the + * function. + * @param {Function} [callback] - the final argument should be the callback, + * called when all functions have completed processing. + * @returns {AsyncFunction} - Returns a function that takes no args other than + * an optional callback, that is the result of applying the `args` to each + * of the functions. + * @example + * + * const appliedFn = async.applyEach([enableSearch, updateSchema], 'bucket') + * + * appliedFn((err, results) => { + * // results[0] is the results for `enableSearch` + * // results[1] is the results for `updateSchema` + * }); + * + * // partial application example: + * async.each( + * buckets, + * async (bucket) => async.applyEach([enableSearch, updateSchema], bucket)(), + * callback + * ); + */ +exports.default = (0, _applyEach2.default)(_map2.default); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/applyEachSeries.js b/node_modules/winston/node_modules/async/applyEachSeries.js new file mode 100644 index 0000000..f5267f6 --- /dev/null +++ b/node_modules/winston/node_modules/async/applyEachSeries.js @@ -0,0 +1,37 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _applyEach = require('./internal/applyEach.js'); + +var _applyEach2 = _interopRequireDefault(_applyEach); + +var _mapSeries = require('./mapSeries.js'); + +var _mapSeries2 = _interopRequireDefault(_mapSeries); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`applyEach`]{@link module:ControlFlow.applyEach} but runs only a single async operation at a time. + * + * @name applyEachSeries + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.applyEach]{@link module:ControlFlow.applyEach} + * @category Control Flow + * @param {Array|Iterable|AsyncIterable|Object} fns - A collection of {@link AsyncFunction}s to all + * call with the same arguments + * @param {...*} [args] - any number of separate arguments to pass to the + * function. + * @param {Function} [callback] - the final argument should be the callback, + * called when all functions have completed processing. + * @returns {AsyncFunction} - A function, that when called, is the result of + * appling the `args` to the list of functions. It takes no args, other than + * a callback. + */ +exports.default = (0, _applyEach2.default)(_mapSeries2.default); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/asyncify.js b/node_modules/winston/node_modules/async/asyncify.js new file mode 100644 index 0000000..ddc3f02 --- /dev/null +++ b/node_modules/winston/node_modules/async/asyncify.js @@ -0,0 +1,118 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = asyncify; + +var _initialParams = require('./internal/initialParams.js'); + +var _initialParams2 = _interopRequireDefault(_initialParams); + +var _setImmediate = require('./internal/setImmediate.js'); + +var _setImmediate2 = _interopRequireDefault(_setImmediate); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Take a sync function and make it async, passing its return value to a + * callback. This is useful for plugging sync functions into a waterfall, + * series, or other async functions. Any arguments passed to the generated + * function will be passed to the wrapped function (except for the final + * callback argument). Errors thrown will be passed to the callback. + * + * If the function passed to `asyncify` returns a Promise, that promises's + * resolved/rejected state will be used to call the callback, rather than simply + * the synchronous return value. + * + * This also means you can asyncify ES2017 `async` functions. + * + * @name asyncify + * @static + * @memberOf module:Utils + * @method + * @alias wrapSync + * @category Util + * @param {Function} func - The synchronous function, or Promise-returning + * function to convert to an {@link AsyncFunction}. + * @returns {AsyncFunction} An asynchronous wrapper of the `func`. To be + * invoked with `(args..., callback)`. + * @example + * + * // passing a regular synchronous function + * async.waterfall([ + * async.apply(fs.readFile, filename, "utf8"), + * async.asyncify(JSON.parse), + * function (data, next) { + * // data is the result of parsing the text. + * // If there was a parsing error, it would have been caught. + * } + * ], callback); + * + * // passing a function returning a promise + * async.waterfall([ + * async.apply(fs.readFile, filename, "utf8"), + * async.asyncify(function (contents) { + * return db.model.create(contents); + * }), + * function (model, next) { + * // `model` is the instantiated model object. + * // If there was an error, this function would be skipped. + * } + * ], callback); + * + * // es2017 example, though `asyncify` is not needed if your JS environment + * // supports async functions out of the box + * var q = async.queue(async.asyncify(async function(file) { + * var intermediateStep = await processFile(file); + * return await somePromise(intermediateStep) + * })); + * + * q.push(files); + */ +function asyncify(func) { + if ((0, _wrapAsync.isAsync)(func)) { + return function (...args /*, callback*/) { + const callback = args.pop(); + const promise = func.apply(this, args); + return handlePromise(promise, callback); + }; + } + + return (0, _initialParams2.default)(function (args, callback) { + var result; + try { + result = func.apply(this, args); + } catch (e) { + return callback(e); + } + // if result is Promise object + if (result && typeof result.then === 'function') { + return handlePromise(result, callback); + } else { + callback(null, result); + } + }); +} + +function handlePromise(promise, callback) { + return promise.then(value => { + invokeCallback(callback, null, value); + }, err => { + invokeCallback(callback, err && (err instanceof Error || err.message) ? err : new Error(err)); + }); +} + +function invokeCallback(callback, error, value) { + try { + callback(error, value); + } catch (err) { + (0, _setImmediate2.default)(e => { + throw e; + }, err); + } +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/auto.js b/node_modules/winston/node_modules/async/auto.js new file mode 100644 index 0000000..163c4f2 --- /dev/null +++ b/node_modules/winston/node_modules/async/auto.js @@ -0,0 +1,333 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = auto; + +var _once = require('./internal/once.js'); + +var _once2 = _interopRequireDefault(_once); + +var _onlyOnce = require('./internal/onlyOnce.js'); + +var _onlyOnce2 = _interopRequireDefault(_onlyOnce); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _promiseCallback = require('./internal/promiseCallback.js'); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Determines the best order for running the {@link AsyncFunction}s in `tasks`, based on + * their requirements. Each function can optionally depend on other functions + * being completed first, and each function is run as soon as its requirements + * are satisfied. + * + * If any of the {@link AsyncFunction}s pass an error to their callback, the `auto` sequence + * will stop. Further tasks will not execute (so any other functions depending + * on it will not run), and the main `callback` is immediately called with the + * error. + * + * {@link AsyncFunction}s also receive an object containing the results of functions which + * have completed so far as the first argument, if they have dependencies. If a + * task function has no dependencies, it will only be passed a callback. + * + * @name auto + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Object} tasks - An object. Each of its properties is either a + * function or an array of requirements, with the {@link AsyncFunction} itself the last item + * in the array. The object's key of a property serves as the name of the task + * defined by that property, i.e. can be used when specifying requirements for + * other tasks. The function receives one or two arguments: + * * a `results` object, containing the results of the previously executed + * functions, only passed if the task has any dependencies, + * * a `callback(err, result)` function, which must be called when finished, + * passing an `error` (which can be `null`) and the result of the function's + * execution. + * @param {number} [concurrency=Infinity] - An optional `integer` for + * determining the maximum number of tasks that can be run in parallel. By + * default, as many as possible. + * @param {Function} [callback] - An optional callback which is called when all + * the tasks have been completed. It receives the `err` argument if any `tasks` + * pass an error to their callback. Results are always returned; however, if an + * error occurs, no further `tasks` will be performed, and the results object + * will only contain partial results. Invoked with (err, results). + * @returns {Promise} a promise, if a callback is not passed + * @example + * + * //Using Callbacks + * async.auto({ + * get_data: function(callback) { + * // async code to get some data + * callback(null, 'data', 'converted to array'); + * }, + * make_folder: function(callback) { + * // async code to create a directory to store a file in + * // this is run at the same time as getting the data + * callback(null, 'folder'); + * }, + * write_file: ['get_data', 'make_folder', function(results, callback) { + * // once there is some data and the directory exists, + * // write the data to a file in the directory + * callback(null, 'filename'); + * }], + * email_link: ['write_file', function(results, callback) { + * // once the file is written let's email a link to it... + * callback(null, {'file':results.write_file, 'email':'user@example.com'}); + * }] + * }, function(err, results) { + * if (err) { + * console.log('err = ', err); + * } + * console.log('results = ', results); + * // results = { + * // get_data: ['data', 'converted to array'] + * // make_folder; 'folder', + * // write_file: 'filename' + * // email_link: { file: 'filename', email: 'user@example.com' } + * // } + * }); + * + * //Using Promises + * async.auto({ + * get_data: function(callback) { + * console.log('in get_data'); + * // async code to get some data + * callback(null, 'data', 'converted to array'); + * }, + * make_folder: function(callback) { + * console.log('in make_folder'); + * // async code to create a directory to store a file in + * // this is run at the same time as getting the data + * callback(null, 'folder'); + * }, + * write_file: ['get_data', 'make_folder', function(results, callback) { + * // once there is some data and the directory exists, + * // write the data to a file in the directory + * callback(null, 'filename'); + * }], + * email_link: ['write_file', function(results, callback) { + * // once the file is written let's email a link to it... + * callback(null, {'file':results.write_file, 'email':'user@example.com'}); + * }] + * }).then(results => { + * console.log('results = ', results); + * // results = { + * // get_data: ['data', 'converted to array'] + * // make_folder; 'folder', + * // write_file: 'filename' + * // email_link: { file: 'filename', email: 'user@example.com' } + * // } + * }).catch(err => { + * console.log('err = ', err); + * }); + * + * //Using async/await + * async () => { + * try { + * let results = await async.auto({ + * get_data: function(callback) { + * // async code to get some data + * callback(null, 'data', 'converted to array'); + * }, + * make_folder: function(callback) { + * // async code to create a directory to store a file in + * // this is run at the same time as getting the data + * callback(null, 'folder'); + * }, + * write_file: ['get_data', 'make_folder', function(results, callback) { + * // once there is some data and the directory exists, + * // write the data to a file in the directory + * callback(null, 'filename'); + * }], + * email_link: ['write_file', function(results, callback) { + * // once the file is written let's email a link to it... + * callback(null, {'file':results.write_file, 'email':'user@example.com'}); + * }] + * }); + * console.log('results = ', results); + * // results = { + * // get_data: ['data', 'converted to array'] + * // make_folder; 'folder', + * // write_file: 'filename' + * // email_link: { file: 'filename', email: 'user@example.com' } + * // } + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function auto(tasks, concurrency, callback) { + if (typeof concurrency !== 'number') { + // concurrency is optional, shift the args. + callback = concurrency; + concurrency = null; + } + callback = (0, _once2.default)(callback || (0, _promiseCallback.promiseCallback)()); + var numTasks = Object.keys(tasks).length; + if (!numTasks) { + return callback(null); + } + if (!concurrency) { + concurrency = numTasks; + } + + var results = {}; + var runningTasks = 0; + var canceled = false; + var hasError = false; + + var listeners = Object.create(null); + + var readyTasks = []; + + // for cycle detection: + var readyToCheck = []; // tasks that have been identified as reachable + // without the possibility of returning to an ancestor task + var uncheckedDependencies = {}; + + Object.keys(tasks).forEach(key => { + var task = tasks[key]; + if (!Array.isArray(task)) { + // no dependencies + enqueueTask(key, [task]); + readyToCheck.push(key); + return; + } + + var dependencies = task.slice(0, task.length - 1); + var remainingDependencies = dependencies.length; + if (remainingDependencies === 0) { + enqueueTask(key, task); + readyToCheck.push(key); + return; + } + uncheckedDependencies[key] = remainingDependencies; + + dependencies.forEach(dependencyName => { + if (!tasks[dependencyName]) { + throw new Error('async.auto task `' + key + '` has a non-existent dependency `' + dependencyName + '` in ' + dependencies.join(', ')); + } + addListener(dependencyName, () => { + remainingDependencies--; + if (remainingDependencies === 0) { + enqueueTask(key, task); + } + }); + }); + }); + + checkForDeadlocks(); + processQueue(); + + function enqueueTask(key, task) { + readyTasks.push(() => runTask(key, task)); + } + + function processQueue() { + if (canceled) return; + if (readyTasks.length === 0 && runningTasks === 0) { + return callback(null, results); + } + while (readyTasks.length && runningTasks < concurrency) { + var run = readyTasks.shift(); + run(); + } + } + + function addListener(taskName, fn) { + var taskListeners = listeners[taskName]; + if (!taskListeners) { + taskListeners = listeners[taskName] = []; + } + + taskListeners.push(fn); + } + + function taskComplete(taskName) { + var taskListeners = listeners[taskName] || []; + taskListeners.forEach(fn => fn()); + processQueue(); + } + + function runTask(key, task) { + if (hasError) return; + + var taskCallback = (0, _onlyOnce2.default)((err, ...result) => { + runningTasks--; + if (err === false) { + canceled = true; + return; + } + if (result.length < 2) { + [result] = result; + } + if (err) { + var safeResults = {}; + Object.keys(results).forEach(rkey => { + safeResults[rkey] = results[rkey]; + }); + safeResults[key] = result; + hasError = true; + listeners = Object.create(null); + if (canceled) return; + callback(err, safeResults); + } else { + results[key] = result; + taskComplete(key); + } + }); + + runningTasks++; + var taskFn = (0, _wrapAsync2.default)(task[task.length - 1]); + if (task.length > 1) { + taskFn(results, taskCallback); + } else { + taskFn(taskCallback); + } + } + + function checkForDeadlocks() { + // Kahn's algorithm + // https://en.wikipedia.org/wiki/Topological_sorting#Kahn.27s_algorithm + // http://connalle.blogspot.com/2013/10/topological-sortingkahn-algorithm.html + var currentTask; + var counter = 0; + while (readyToCheck.length) { + currentTask = readyToCheck.pop(); + counter++; + getDependents(currentTask).forEach(dependent => { + if (--uncheckedDependencies[dependent] === 0) { + readyToCheck.push(dependent); + } + }); + } + + if (counter !== numTasks) { + throw new Error('async.auto cannot execute tasks due to a recursive dependency'); + } + } + + function getDependents(taskName) { + var result = []; + Object.keys(tasks).forEach(key => { + const task = tasks[key]; + if (Array.isArray(task) && task.indexOf(taskName) >= 0) { + result.push(key); + } + }); + return result; + } + + return callback[_promiseCallback.PROMISE_SYMBOL]; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/autoInject.js b/node_modules/winston/node_modules/async/autoInject.js new file mode 100644 index 0000000..5db2653 --- /dev/null +++ b/node_modules/winston/node_modules/async/autoInject.js @@ -0,0 +1,182 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = autoInject; + +var _auto = require('./auto.js'); + +var _auto2 = _interopRequireDefault(_auto); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +var FN_ARGS = /^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/; +var ARROW_FN_ARGS = /^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/; +var FN_ARG_SPLIT = /,/; +var FN_ARG = /(=.+)?(\s*)$/; + +function stripComments(string) { + let stripped = ''; + let index = 0; + let endBlockComment = string.indexOf('*/'); + while (index < string.length) { + if (string[index] === '/' && string[index + 1] === '/') { + // inline comment + let endIndex = string.indexOf('\n', index); + index = endIndex === -1 ? string.length : endIndex; + } else if (endBlockComment !== -1 && string[index] === '/' && string[index + 1] === '*') { + // block comment + let endIndex = string.indexOf('*/', index); + if (endIndex !== -1) { + index = endIndex + 2; + endBlockComment = string.indexOf('*/', index); + } else { + stripped += string[index]; + index++; + } + } else { + stripped += string[index]; + index++; + } + } + return stripped; +} + +function parseParams(func) { + const src = stripComments(func.toString()); + let match = src.match(FN_ARGS); + if (!match) { + match = src.match(ARROW_FN_ARGS); + } + if (!match) throw new Error('could not parse args in autoInject\nSource:\n' + src); + let [, args] = match; + return args.replace(/\s/g, '').split(FN_ARG_SPLIT).map(arg => arg.replace(FN_ARG, '').trim()); +} + +/** + * A dependency-injected version of the [async.auto]{@link module:ControlFlow.auto} function. Dependent + * tasks are specified as parameters to the function, after the usual callback + * parameter, with the parameter names matching the names of the tasks it + * depends on. This can provide even more readable task graphs which can be + * easier to maintain. + * + * If a final callback is specified, the task results are similarly injected, + * specified as named parameters after the initial error parameter. + * + * The autoInject function is purely syntactic sugar and its semantics are + * otherwise equivalent to [async.auto]{@link module:ControlFlow.auto}. + * + * @name autoInject + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.auto]{@link module:ControlFlow.auto} + * @category Control Flow + * @param {Object} tasks - An object, each of whose properties is an {@link AsyncFunction} of + * the form 'func([dependencies...], callback). The object's key of a property + * serves as the name of the task defined by that property, i.e. can be used + * when specifying requirements for other tasks. + * * The `callback` parameter is a `callback(err, result)` which must be called + * when finished, passing an `error` (which can be `null`) and the result of + * the function's execution. The remaining parameters name other tasks on + * which the task is dependent, and the results from those tasks are the + * arguments of those parameters. + * @param {Function} [callback] - An optional callback which is called when all + * the tasks have been completed. It receives the `err` argument if any `tasks` + * pass an error to their callback, and a `results` object with any completed + * task results, similar to `auto`. + * @returns {Promise} a promise, if no callback is passed + * @example + * + * // The example from `auto` can be rewritten as follows: + * async.autoInject({ + * get_data: function(callback) { + * // async code to get some data + * callback(null, 'data', 'converted to array'); + * }, + * make_folder: function(callback) { + * // async code to create a directory to store a file in + * // this is run at the same time as getting the data + * callback(null, 'folder'); + * }, + * write_file: function(get_data, make_folder, callback) { + * // once there is some data and the directory exists, + * // write the data to a file in the directory + * callback(null, 'filename'); + * }, + * email_link: function(write_file, callback) { + * // once the file is written let's email a link to it... + * // write_file contains the filename returned by write_file. + * callback(null, {'file':write_file, 'email':'user@example.com'}); + * } + * }, function(err, results) { + * console.log('err = ', err); + * console.log('email_link = ', results.email_link); + * }); + * + * // If you are using a JS minifier that mangles parameter names, `autoInject` + * // will not work with plain functions, since the parameter names will be + * // collapsed to a single letter identifier. To work around this, you can + * // explicitly specify the names of the parameters your task function needs + * // in an array, similar to Angular.js dependency injection. + * + * // This still has an advantage over plain `auto`, since the results a task + * // depends on are still spread into arguments. + * async.autoInject({ + * //... + * write_file: ['get_data', 'make_folder', function(get_data, make_folder, callback) { + * callback(null, 'filename'); + * }], + * email_link: ['write_file', function(write_file, callback) { + * callback(null, {'file':write_file, 'email':'user@example.com'}); + * }] + * //... + * }, function(err, results) { + * console.log('err = ', err); + * console.log('email_link = ', results.email_link); + * }); + */ +function autoInject(tasks, callback) { + var newTasks = {}; + + Object.keys(tasks).forEach(key => { + var taskFn = tasks[key]; + var params; + var fnIsAsync = (0, _wrapAsync.isAsync)(taskFn); + var hasNoDeps = !fnIsAsync && taskFn.length === 1 || fnIsAsync && taskFn.length === 0; + + if (Array.isArray(taskFn)) { + params = [...taskFn]; + taskFn = params.pop(); + + newTasks[key] = params.concat(params.length > 0 ? newTask : taskFn); + } else if (hasNoDeps) { + // no dependencies, use the function as-is + newTasks[key] = taskFn; + } else { + params = parseParams(taskFn); + if (taskFn.length === 0 && !fnIsAsync && params.length === 0) { + throw new Error("autoInject task functions require explicit parameters."); + } + + // remove callback param + if (!fnIsAsync) params.pop(); + + newTasks[key] = params.concat(newTask); + } + + function newTask(results, taskCb) { + var newArgs = params.map(name => results[name]); + newArgs.push(taskCb); + (0, _wrapAsync2.default)(taskFn)(...newArgs); + } + }); + + return (0, _auto2.default)(newTasks, callback); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/bower.json b/node_modules/winston/node_modules/async/bower.json new file mode 100644 index 0000000..390c650 --- /dev/null +++ b/node_modules/winston/node_modules/async/bower.json @@ -0,0 +1,17 @@ +{ + "name": "async", + "main": "dist/async.js", + "ignore": [ + "bower_components", + "lib", + "test", + "node_modules", + "perf", + "support", + "**/.*", + "*.config.js", + "*.json", + "index.js", + "Makefile" + ] +} diff --git a/node_modules/winston/node_modules/async/cargo.js b/node_modules/winston/node_modules/async/cargo.js new file mode 100644 index 0000000..d4abd21 --- /dev/null +++ b/node_modules/winston/node_modules/async/cargo.js @@ -0,0 +1,63 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = cargo; + +var _queue = require('./internal/queue.js'); + +var _queue2 = _interopRequireDefault(_queue); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Creates a `cargo` object with the specified payload. Tasks added to the + * cargo will be processed altogether (up to the `payload` limit). If the + * `worker` is in progress, the task is queued until it becomes available. Once + * the `worker` has completed some tasks, each callback of those tasks is + * called. Check out [these](https://camo.githubusercontent.com/6bbd36f4cf5b35a0f11a96dcd2e97711ffc2fb37/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313637363837312f36383130382f62626330636662302d356632392d313165322d393734662d3333393763363464633835382e676966) [animations](https://camo.githubusercontent.com/f4810e00e1c5f5f8addbe3e9f49064fd5d102699/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313637363837312f36383130312f38346339323036362d356632392d313165322d383134662d3964336430323431336266642e676966) + * for how `cargo` and `queue` work. + * + * While [`queue`]{@link module:ControlFlow.queue} passes only one task to one of a group of workers + * at a time, cargo passes an array of tasks to a single worker, repeating + * when the worker is finished. + * + * @name cargo + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.queue]{@link module:ControlFlow.queue} + * @category Control Flow + * @param {AsyncFunction} worker - An asynchronous function for processing an array + * of queued tasks. Invoked with `(tasks, callback)`. + * @param {number} [payload=Infinity] - An optional `integer` for determining + * how many tasks should be processed per round; if omitted, the default is + * unlimited. + * @returns {module:ControlFlow.QueueObject} A cargo object to manage the tasks. Callbacks can + * attached as certain properties to listen for specific events during the + * lifecycle of the cargo and inner queue. + * @example + * + * // create a cargo object with payload 2 + * var cargo = async.cargo(function(tasks, callback) { + * for (var i=0; i { + * console.log(results); + * // [ 'file1.txt', 'file2.txt', 'file3.txt', 'file4.txt', file5.txt ] + * }).catch(err => { + * console.log(err); + * }); + * + * // Error Handling + * async.concat(withMissingDirectoryList, fs.readdir) + * .then(results => { + * console.log(results); + * }).catch(err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4 does not exist + * }); + * + * // Using async/await + * async () => { + * try { + * let results = await async.concat(directoryList, fs.readdir); + * console.log(results); + * // [ 'file1.txt', 'file2.txt', 'file3.txt', 'file4.txt', file5.txt ] + * } catch (err) { + * console.log(err); + * } + * } + * + * // Error Handling + * async () => { + * try { + * let results = await async.concat(withMissingDirectoryList, fs.readdir); + * console.log(results); + * } catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4 does not exist + * } + * } + * + */ +function concat(coll, iteratee, callback) { + return (0, _concatLimit2.default)(coll, Infinity, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(concat, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/concatLimit.js b/node_modules/winston/node_modules/async/concatLimit.js new file mode 100644 index 0000000..a27cc7d --- /dev/null +++ b/node_modules/winston/node_modules/async/concatLimit.js @@ -0,0 +1,60 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _mapLimit = require('./mapLimit.js'); + +var _mapLimit2 = _interopRequireDefault(_mapLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`concat`]{@link module:Collections.concat} but runs a maximum of `limit` async operations at a time. + * + * @name concatLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.concat]{@link module:Collections.concat} + * @category Collection + * @alias flatMapLimit + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - A function to apply to each item in `coll`, + * which should use an array as its result. Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished, or an error occurs. Results is an array + * containing the concatenated results of the `iteratee` function. Invoked with + * (err, results). + * @returns A Promise, if no callback is passed + */ +function concatLimit(coll, limit, iteratee, callback) { + var _iteratee = (0, _wrapAsync2.default)(iteratee); + return (0, _mapLimit2.default)(coll, limit, (val, iterCb) => { + _iteratee(val, (err, ...args) => { + if (err) return iterCb(err); + return iterCb(err, args); + }); + }, (err, mapResults) => { + var result = []; + for (var i = 0; i < mapResults.length; i++) { + if (mapResults[i]) { + result = result.concat(...mapResults[i]); + } + } + + return callback(err, result); + }); +} +exports.default = (0, _awaitify2.default)(concatLimit, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/concatSeries.js b/node_modules/winston/node_modules/async/concatSeries.js new file mode 100644 index 0000000..332de3f --- /dev/null +++ b/node_modules/winston/node_modules/async/concatSeries.js @@ -0,0 +1,41 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _concatLimit = require('./concatLimit.js'); + +var _concatLimit2 = _interopRequireDefault(_concatLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`concat`]{@link module:Collections.concat} but runs only a single async operation at a time. + * + * @name concatSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.concat]{@link module:Collections.concat} + * @category Collection + * @alias flatMapSeries + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - A function to apply to each item in `coll`. + * The iteratee should complete with an array an array of results. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished, or an error occurs. Results is an array + * containing the concatenated results of the `iteratee` function. Invoked with + * (err, results). + * @returns A Promise, if no callback is passed + */ +function concatSeries(coll, iteratee, callback) { + return (0, _concatLimit2.default)(coll, 1, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(concatSeries, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/constant.js b/node_modules/winston/node_modules/async/constant.js new file mode 100644 index 0000000..ea406f6 --- /dev/null +++ b/node_modules/winston/node_modules/async/constant.js @@ -0,0 +1,14 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +exports.default = function (...args) { + return function (...ignoredArgs /*, callback*/) { + var callback = ignoredArgs.pop(); + return callback(null, ...args); + }; +}; + +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/detect.js b/node_modules/winston/node_modules/async/detect.js new file mode 100644 index 0000000..d5896ef --- /dev/null +++ b/node_modules/winston/node_modules/async/detect.js @@ -0,0 +1,96 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createTester = require('./internal/createTester.js'); + +var _createTester2 = _interopRequireDefault(_createTester); + +var _eachOf = require('./eachOf.js'); + +var _eachOf2 = _interopRequireDefault(_eachOf); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Returns the first value in `coll` that passes an async truth test. The + * `iteratee` is applied in parallel, meaning the first iteratee to return + * `true` will fire the detect `callback` with that result. That means the + * result might not be the first item in the original `coll` (in terms of order) + * that passes the test. + + * If order within the original `coll` is important, then look at + * [`detectSeries`]{@link module:Collections.detectSeries}. + * + * @name detect + * @static + * @memberOf module:Collections + * @method + * @alias find + * @category Collections + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - A truth test to apply to each item in `coll`. + * The iteratee must complete with a boolean value as its result. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the `iteratee` functions have finished. + * Result will be the first item in the array that passes the truth test + * (iteratee) or the value `undefined` if none passed. Invoked with + * (err, result). + * @returns {Promise} a promise, if a callback is omitted + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * + * // asynchronous function that checks if a file exists + * function fileExists(file, callback) { + * fs.access(file, fs.constants.F_OK, (err) => { + * callback(null, !err); + * }); + * } + * + * async.detect(['file3.txt','file2.txt','dir1/file1.txt'], fileExists, + * function(err, result) { + * console.log(result); + * // dir1/file1.txt + * // result now equals the first file in the list that exists + * } + *); + * + * // Using Promises + * async.detect(['file3.txt','file2.txt','dir1/file1.txt'], fileExists) + * .then(result => { + * console.log(result); + * // dir1/file1.txt + * // result now equals the first file in the list that exists + * }).catch(err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.detect(['file3.txt','file2.txt','dir1/file1.txt'], fileExists); + * console.log(result); + * // dir1/file1.txt + * // result now equals the file in the list that exists + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function detect(coll, iteratee, callback) { + return (0, _createTester2.default)(bool => bool, (res, item) => item)(_eachOf2.default, coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(detect, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/detectLimit.js b/node_modules/winston/node_modules/async/detectLimit.js new file mode 100644 index 0000000..c59843b --- /dev/null +++ b/node_modules/winston/node_modules/async/detectLimit.js @@ -0,0 +1,48 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createTester = require('./internal/createTester.js'); + +var _createTester2 = _interopRequireDefault(_createTester); + +var _eachOfLimit = require('./internal/eachOfLimit.js'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`detect`]{@link module:Collections.detect} but runs a maximum of `limit` async operations at a + * time. + * + * @name detectLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.detect]{@link module:Collections.detect} + * @alias findLimit + * @category Collections + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - A truth test to apply to each item in `coll`. + * The iteratee must complete with a boolean value as its result. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the `iteratee` functions have finished. + * Result will be the first item in the array that passes the truth test + * (iteratee) or the value `undefined` if none passed. Invoked with + * (err, result). + * @returns {Promise} a promise, if a callback is omitted + */ +function detectLimit(coll, limit, iteratee, callback) { + return (0, _createTester2.default)(bool => bool, (res, item) => item)((0, _eachOfLimit2.default)(limit), coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(detectLimit, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/detectSeries.js b/node_modules/winston/node_modules/async/detectSeries.js new file mode 100644 index 0000000..b486899 --- /dev/null +++ b/node_modules/winston/node_modules/async/detectSeries.js @@ -0,0 +1,47 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createTester = require('./internal/createTester.js'); + +var _createTester2 = _interopRequireDefault(_createTester); + +var _eachOfLimit = require('./internal/eachOfLimit.js'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`detect`]{@link module:Collections.detect} but runs only a single async operation at a time. + * + * @name detectSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.detect]{@link module:Collections.detect} + * @alias findSeries + * @category Collections + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - A truth test to apply to each item in `coll`. + * The iteratee must complete with a boolean value as its result. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the `iteratee` functions have finished. + * Result will be the first item in the array that passes the truth test + * (iteratee) or the value `undefined` if none passed. Invoked with + * (err, result). + * @returns {Promise} a promise, if a callback is omitted + */ +function detectSeries(coll, iteratee, callback) { + return (0, _createTester2.default)(bool => bool, (res, item) => item)((0, _eachOfLimit2.default)(1), coll, iteratee, callback); +} + +exports.default = (0, _awaitify2.default)(detectSeries, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/dir.js b/node_modules/winston/node_modules/async/dir.js new file mode 100644 index 0000000..8e9fafd --- /dev/null +++ b/node_modules/winston/node_modules/async/dir.js @@ -0,0 +1,43 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _consoleFunc = require('./internal/consoleFunc.js'); + +var _consoleFunc2 = _interopRequireDefault(_consoleFunc); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Logs the result of an [`async` function]{@link AsyncFunction} to the + * `console` using `console.dir` to display the properties of the resulting object. + * Only works in Node.js or in browsers that support `console.dir` and + * `console.error` (such as FF and Chrome). + * If multiple arguments are returned from the async function, + * `console.dir` is called on each argument in order. + * + * @name dir + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {AsyncFunction} function - The function you want to eventually apply + * all arguments to. + * @param {...*} arguments... - Any number of arguments to apply to the function. + * @example + * + * // in a module + * var hello = function(name, callback) { + * setTimeout(function() { + * callback(null, {hello: name}); + * }, 1000); + * }; + * + * // in the node repl + * node> async.dir(hello, 'world'); + * {hello: 'world'} + */ +exports.default = (0, _consoleFunc2.default)('dir'); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/dist/async.js b/node_modules/winston/node_modules/async/dist/async.js new file mode 100644 index 0000000..d7b7918 --- /dev/null +++ b/node_modules/winston/node_modules/async/dist/async.js @@ -0,0 +1,6061 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : + typeof define === 'function' && define.amd ? define(['exports'], factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.async = {})); +})(this, (function (exports) { 'use strict'; + + /** + * Creates a continuation function with some arguments already applied. + * + * Useful as a shorthand when combined with other control flow functions. Any + * arguments passed to the returned function are added to the arguments + * originally passed to apply. + * + * @name apply + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {Function} fn - The function you want to eventually apply all + * arguments to. Invokes with (arguments...). + * @param {...*} arguments... - Any number of arguments to automatically apply + * when the continuation is called. + * @returns {Function} the partially-applied function + * @example + * + * // using apply + * async.parallel([ + * async.apply(fs.writeFile, 'testfile1', 'test1'), + * async.apply(fs.writeFile, 'testfile2', 'test2') + * ]); + * + * + * // the same process without using apply + * async.parallel([ + * function(callback) { + * fs.writeFile('testfile1', 'test1', callback); + * }, + * function(callback) { + * fs.writeFile('testfile2', 'test2', callback); + * } + * ]); + * + * // It's possible to pass any number of additional arguments when calling the + * // continuation: + * + * node> var fn = async.apply(sys.puts, 'one'); + * node> fn('two', 'three'); + * one + * two + * three + */ + function apply(fn, ...args) { + return (...callArgs) => fn(...args,...callArgs); + } + + function initialParams (fn) { + return function (...args/*, callback*/) { + var callback = args.pop(); + return fn.call(this, args, callback); + }; + } + + /* istanbul ignore file */ + + var hasQueueMicrotask = typeof queueMicrotask === 'function' && queueMicrotask; + var hasSetImmediate = typeof setImmediate === 'function' && setImmediate; + var hasNextTick = typeof process === 'object' && typeof process.nextTick === 'function'; + + function fallback(fn) { + setTimeout(fn, 0); + } + + function wrap(defer) { + return (fn, ...args) => defer(() => fn(...args)); + } + + var _defer$1; + + if (hasQueueMicrotask) { + _defer$1 = queueMicrotask; + } else if (hasSetImmediate) { + _defer$1 = setImmediate; + } else if (hasNextTick) { + _defer$1 = process.nextTick; + } else { + _defer$1 = fallback; + } + + var setImmediate$1 = wrap(_defer$1); + + /** + * Take a sync function and make it async, passing its return value to a + * callback. This is useful for plugging sync functions into a waterfall, + * series, or other async functions. Any arguments passed to the generated + * function will be passed to the wrapped function (except for the final + * callback argument). Errors thrown will be passed to the callback. + * + * If the function passed to `asyncify` returns a Promise, that promises's + * resolved/rejected state will be used to call the callback, rather than simply + * the synchronous return value. + * + * This also means you can asyncify ES2017 `async` functions. + * + * @name asyncify + * @static + * @memberOf module:Utils + * @method + * @alias wrapSync + * @category Util + * @param {Function} func - The synchronous function, or Promise-returning + * function to convert to an {@link AsyncFunction}. + * @returns {AsyncFunction} An asynchronous wrapper of the `func`. To be + * invoked with `(args..., callback)`. + * @example + * + * // passing a regular synchronous function + * async.waterfall([ + * async.apply(fs.readFile, filename, "utf8"), + * async.asyncify(JSON.parse), + * function (data, next) { + * // data is the result of parsing the text. + * // If there was a parsing error, it would have been caught. + * } + * ], callback); + * + * // passing a function returning a promise + * async.waterfall([ + * async.apply(fs.readFile, filename, "utf8"), + * async.asyncify(function (contents) { + * return db.model.create(contents); + * }), + * function (model, next) { + * // `model` is the instantiated model object. + * // If there was an error, this function would be skipped. + * } + * ], callback); + * + * // es2017 example, though `asyncify` is not needed if your JS environment + * // supports async functions out of the box + * var q = async.queue(async.asyncify(async function(file) { + * var intermediateStep = await processFile(file); + * return await somePromise(intermediateStep) + * })); + * + * q.push(files); + */ + function asyncify(func) { + if (isAsync(func)) { + return function (...args/*, callback*/) { + const callback = args.pop(); + const promise = func.apply(this, args); + return handlePromise(promise, callback) + } + } + + return initialParams(function (args, callback) { + var result; + try { + result = func.apply(this, args); + } catch (e) { + return callback(e); + } + // if result is Promise object + if (result && typeof result.then === 'function') { + return handlePromise(result, callback) + } else { + callback(null, result); + } + }); + } + + function handlePromise(promise, callback) { + return promise.then(value => { + invokeCallback(callback, null, value); + }, err => { + invokeCallback(callback, err && (err instanceof Error || err.message) ? err : new Error(err)); + }); + } + + function invokeCallback(callback, error, value) { + try { + callback(error, value); + } catch (err) { + setImmediate$1(e => { throw e }, err); + } + } + + function isAsync(fn) { + return fn[Symbol.toStringTag] === 'AsyncFunction'; + } + + function isAsyncGenerator(fn) { + return fn[Symbol.toStringTag] === 'AsyncGenerator'; + } + + function isAsyncIterable(obj) { + return typeof obj[Symbol.asyncIterator] === 'function'; + } + + function wrapAsync(asyncFn) { + if (typeof asyncFn !== 'function') throw new Error('expected a function') + return isAsync(asyncFn) ? asyncify(asyncFn) : asyncFn; + } + + // conditionally promisify a function. + // only return a promise if a callback is omitted + function awaitify (asyncFn, arity) { + if (!arity) arity = asyncFn.length; + if (!arity) throw new Error('arity is undefined') + function awaitable (...args) { + if (typeof args[arity - 1] === 'function') { + return asyncFn.apply(this, args) + } + + return new Promise((resolve, reject) => { + args[arity - 1] = (err, ...cbArgs) => { + if (err) return reject(err) + resolve(cbArgs.length > 1 ? cbArgs : cbArgs[0]); + }; + asyncFn.apply(this, args); + }) + } + + return awaitable + } + + function applyEach$1 (eachfn) { + return function applyEach(fns, ...callArgs) { + const go = awaitify(function (callback) { + var that = this; + return eachfn(fns, (fn, cb) => { + wrapAsync(fn).apply(that, callArgs.concat(cb)); + }, callback); + }); + return go; + }; + } + + function _asyncMap(eachfn, arr, iteratee, callback) { + arr = arr || []; + var results = []; + var counter = 0; + var _iteratee = wrapAsync(iteratee); + + return eachfn(arr, (value, _, iterCb) => { + var index = counter++; + _iteratee(value, (err, v) => { + results[index] = v; + iterCb(err); + }); + }, err => { + callback(err, results); + }); + } + + function isArrayLike(value) { + return value && + typeof value.length === 'number' && + value.length >= 0 && + value.length % 1 === 0; + } + + // A temporary value used to identify if the loop should be broken. + // See #1064, #1293 + const breakLoop = {}; + + function once(fn) { + function wrapper (...args) { + if (fn === null) return; + var callFn = fn; + fn = null; + callFn.apply(this, args); + } + Object.assign(wrapper, fn); + return wrapper + } + + function getIterator (coll) { + return coll[Symbol.iterator] && coll[Symbol.iterator](); + } + + function createArrayIterator(coll) { + var i = -1; + var len = coll.length; + return function next() { + return ++i < len ? {value: coll[i], key: i} : null; + } + } + + function createES2015Iterator(iterator) { + var i = -1; + return function next() { + var item = iterator.next(); + if (item.done) + return null; + i++; + return {value: item.value, key: i}; + } + } + + function createObjectIterator(obj) { + var okeys = obj ? Object.keys(obj) : []; + var i = -1; + var len = okeys.length; + return function next() { + var key = okeys[++i]; + if (key === '__proto__') { + return next(); + } + return i < len ? {value: obj[key], key} : null; + }; + } + + function createIterator(coll) { + if (isArrayLike(coll)) { + return createArrayIterator(coll); + } + + var iterator = getIterator(coll); + return iterator ? createES2015Iterator(iterator) : createObjectIterator(coll); + } + + function onlyOnce(fn) { + return function (...args) { + if (fn === null) throw new Error("Callback was already called."); + var callFn = fn; + fn = null; + callFn.apply(this, args); + }; + } + + // for async generators + function asyncEachOfLimit(generator, limit, iteratee, callback) { + let done = false; + let canceled = false; + let awaiting = false; + let running = 0; + let idx = 0; + + function replenish() { + //console.log('replenish') + if (running >= limit || awaiting || done) return + //console.log('replenish awaiting') + awaiting = true; + generator.next().then(({value, done: iterDone}) => { + //console.log('got value', value) + if (canceled || done) return + awaiting = false; + if (iterDone) { + done = true; + if (running <= 0) { + //console.log('done nextCb') + callback(null); + } + return; + } + running++; + iteratee(value, idx, iterateeCallback); + idx++; + replenish(); + }).catch(handleError); + } + + function iterateeCallback(err, result) { + //console.log('iterateeCallback') + running -= 1; + if (canceled) return + if (err) return handleError(err) + + if (err === false) { + done = true; + canceled = true; + return + } + + if (result === breakLoop || (done && running <= 0)) { + done = true; + //console.log('done iterCb') + return callback(null); + } + replenish(); + } + + function handleError(err) { + if (canceled) return + awaiting = false; + done = true; + callback(err); + } + + replenish(); + } + + var eachOfLimit$2 = (limit) => { + return (obj, iteratee, callback) => { + callback = once(callback); + if (limit <= 0) { + throw new RangeError('concurrency limit cannot be less than 1') + } + if (!obj) { + return callback(null); + } + if (isAsyncGenerator(obj)) { + return asyncEachOfLimit(obj, limit, iteratee, callback) + } + if (isAsyncIterable(obj)) { + return asyncEachOfLimit(obj[Symbol.asyncIterator](), limit, iteratee, callback) + } + var nextElem = createIterator(obj); + var done = false; + var canceled = false; + var running = 0; + var looping = false; + + function iterateeCallback(err, value) { + if (canceled) return + running -= 1; + if (err) { + done = true; + callback(err); + } + else if (err === false) { + done = true; + canceled = true; + } + else if (value === breakLoop || (done && running <= 0)) { + done = true; + return callback(null); + } + else if (!looping) { + replenish(); + } + } + + function replenish () { + looping = true; + while (running < limit && !done) { + var elem = nextElem(); + if (elem === null) { + done = true; + if (running <= 0) { + callback(null); + } + return; + } + running += 1; + iteratee(elem.value, elem.key, onlyOnce(iterateeCallback)); + } + looping = false; + } + + replenish(); + }; + }; + + /** + * The same as [`eachOf`]{@link module:Collections.eachOf} but runs a maximum of `limit` async operations at a + * time. + * + * @name eachOfLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.eachOf]{@link module:Collections.eachOf} + * @alias forEachOfLimit + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async function to apply to each + * item in `coll`. The `key` is the item's key, or index in the case of an + * array. + * Invoked with (item, key, callback). + * @param {Function} [callback] - A callback which is called when all + * `iteratee` functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + */ + function eachOfLimit(coll, limit, iteratee, callback) { + return eachOfLimit$2(limit)(coll, wrapAsync(iteratee), callback); + } + + var eachOfLimit$1 = awaitify(eachOfLimit, 4); + + // eachOf implementation optimized for array-likes + function eachOfArrayLike(coll, iteratee, callback) { + callback = once(callback); + var index = 0, + completed = 0, + {length} = coll, + canceled = false; + if (length === 0) { + callback(null); + } + + function iteratorCallback(err, value) { + if (err === false) { + canceled = true; + } + if (canceled === true) return + if (err) { + callback(err); + } else if ((++completed === length) || value === breakLoop) { + callback(null); + } + } + + for (; index < length; index++) { + iteratee(coll[index], index, onlyOnce(iteratorCallback)); + } + } + + // a generic version of eachOf which can handle array, object, and iterator cases. + function eachOfGeneric (coll, iteratee, callback) { + return eachOfLimit$1(coll, Infinity, iteratee, callback); + } + + /** + * Like [`each`]{@link module:Collections.each}, except that it passes the key (or index) as the second argument + * to the iteratee. + * + * @name eachOf + * @static + * @memberOf module:Collections + * @method + * @alias forEachOf + * @category Collection + * @see [async.each]{@link module:Collections.each} + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - A function to apply to each + * item in `coll`. + * The `key` is the item's key, or index in the case of an array. + * Invoked with (item, key, callback). + * @param {Function} [callback] - A callback which is called when all + * `iteratee` functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + * @example + * + * // dev.json is a file containing a valid json object config for dev environment + * // dev.json is a file containing a valid json object config for test environment + * // prod.json is a file containing a valid json object config for prod environment + * // invalid.json is a file with a malformed json object + * + * let configs = {}; //global variable + * let validConfigFileMap = {dev: 'dev.json', test: 'test.json', prod: 'prod.json'}; + * let invalidConfigFileMap = {dev: 'dev.json', test: 'test.json', invalid: 'invalid.json'}; + * + * // asynchronous function that reads a json file and parses the contents as json object + * function parseFile(file, key, callback) { + * fs.readFile(file, "utf8", function(err, data) { + * if (err) return calback(err); + * try { + * configs[key] = JSON.parse(data); + * } catch (e) { + * return callback(e); + * } + * callback(); + * }); + * } + * + * // Using callbacks + * async.forEachOf(validConfigFileMap, parseFile, function (err) { + * if (err) { + * console.error(err); + * } else { + * console.log(configs); + * // configs is now a map of JSON data, e.g. + * // { dev: //parsed dev.json, test: //parsed test.json, prod: //parsed prod.json} + * } + * }); + * + * //Error handing + * async.forEachOf(invalidConfigFileMap, parseFile, function (err) { + * if (err) { + * console.error(err); + * // JSON parse error exception + * } else { + * console.log(configs); + * } + * }); + * + * // Using Promises + * async.forEachOf(validConfigFileMap, parseFile) + * .then( () => { + * console.log(configs); + * // configs is now a map of JSON data, e.g. + * // { dev: //parsed dev.json, test: //parsed test.json, prod: //parsed prod.json} + * }).catch( err => { + * console.error(err); + * }); + * + * //Error handing + * async.forEachOf(invalidConfigFileMap, parseFile) + * .then( () => { + * console.log(configs); + * }).catch( err => { + * console.error(err); + * // JSON parse error exception + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.forEachOf(validConfigFileMap, parseFile); + * console.log(configs); + * // configs is now a map of JSON data, e.g. + * // { dev: //parsed dev.json, test: //parsed test.json, prod: //parsed prod.json} + * } + * catch (err) { + * console.log(err); + * } + * } + * + * //Error handing + * async () => { + * try { + * let result = await async.forEachOf(invalidConfigFileMap, parseFile); + * console.log(configs); + * } + * catch (err) { + * console.log(err); + * // JSON parse error exception + * } + * } + * + */ + function eachOf(coll, iteratee, callback) { + var eachOfImplementation = isArrayLike(coll) ? eachOfArrayLike : eachOfGeneric; + return eachOfImplementation(coll, wrapAsync(iteratee), callback); + } + + var eachOf$1 = awaitify(eachOf, 3); + + /** + * Produces a new collection of values by mapping each value in `coll` through + * the `iteratee` function. The `iteratee` is called with an item from `coll` + * and a callback for when it has finished processing. Each of these callbacks + * takes 2 arguments: an `error`, and the transformed item from `coll`. If + * `iteratee` passes an error to its callback, the main `callback` (for the + * `map` function) is immediately called with the error. + * + * Note, that since this function applies the `iteratee` to each item in + * parallel, there is no guarantee that the `iteratee` functions will complete + * in order. However, the results array will be in the same order as the + * original `coll`. + * + * If `map` is passed an Object, the results will be an Array. The results + * will roughly be in the order of the original Objects' keys (but this can + * vary across JavaScript engines). + * + * @name map + * @static + * @memberOf module:Collections + * @method + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with the transformed item. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Results is an Array of the + * transformed items from the `coll`. Invoked with (err, results). + * @returns {Promise} a promise, if no callback is passed + * @example + * + * // file1.txt is a file that is 1000 bytes in size + * // file2.txt is a file that is 2000 bytes in size + * // file3.txt is a file that is 3000 bytes in size + * // file4.txt does not exist + * + * const fileList = ['file1.txt','file2.txt','file3.txt']; + * const withMissingFileList = ['file1.txt','file2.txt','file4.txt']; + * + * // asynchronous function that returns the file size in bytes + * function getFileSizeInBytes(file, callback) { + * fs.stat(file, function(err, stat) { + * if (err) { + * return callback(err); + * } + * callback(null, stat.size); + * }); + * } + * + * // Using callbacks + * async.map(fileList, getFileSizeInBytes, function(err, results) { + * if (err) { + * console.log(err); + * } else { + * console.log(results); + * // results is now an array of the file size in bytes for each file, e.g. + * // [ 1000, 2000, 3000] + * } + * }); + * + * // Error Handling + * async.map(withMissingFileList, getFileSizeInBytes, function(err, results) { + * if (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } else { + * console.log(results); + * } + * }); + * + * // Using Promises + * async.map(fileList, getFileSizeInBytes) + * .then( results => { + * console.log(results); + * // results is now an array of the file size in bytes for each file, e.g. + * // [ 1000, 2000, 3000] + * }).catch( err => { + * console.log(err); + * }); + * + * // Error Handling + * async.map(withMissingFileList, getFileSizeInBytes) + * .then( results => { + * console.log(results); + * }).catch( err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * }); + * + * // Using async/await + * async () => { + * try { + * let results = await async.map(fileList, getFileSizeInBytes); + * console.log(results); + * // results is now an array of the file size in bytes for each file, e.g. + * // [ 1000, 2000, 3000] + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // Error Handling + * async () => { + * try { + * let results = await async.map(withMissingFileList, getFileSizeInBytes); + * console.log(results); + * } + * catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } + * } + * + */ + function map (coll, iteratee, callback) { + return _asyncMap(eachOf$1, coll, iteratee, callback) + } + var map$1 = awaitify(map, 3); + + /** + * Applies the provided arguments to each function in the array, calling + * `callback` after all functions have completed. If you only provide the first + * argument, `fns`, then it will return a function which lets you pass in the + * arguments as if it were a single function call. If more arguments are + * provided, `callback` is required while `args` is still optional. The results + * for each of the applied async functions are passed to the final callback + * as an array. + * + * @name applyEach + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Array|Iterable|AsyncIterable|Object} fns - A collection of {@link AsyncFunction}s + * to all call with the same arguments + * @param {...*} [args] - any number of separate arguments to pass to the + * function. + * @param {Function} [callback] - the final argument should be the callback, + * called when all functions have completed processing. + * @returns {AsyncFunction} - Returns a function that takes no args other than + * an optional callback, that is the result of applying the `args` to each + * of the functions. + * @example + * + * const appliedFn = async.applyEach([enableSearch, updateSchema], 'bucket') + * + * appliedFn((err, results) => { + * // results[0] is the results for `enableSearch` + * // results[1] is the results for `updateSchema` + * }); + * + * // partial application example: + * async.each( + * buckets, + * async (bucket) => async.applyEach([enableSearch, updateSchema], bucket)(), + * callback + * ); + */ + var applyEach = applyEach$1(map$1); + + /** + * The same as [`eachOf`]{@link module:Collections.eachOf} but runs only a single async operation at a time. + * + * @name eachOfSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.eachOf]{@link module:Collections.eachOf} + * @alias forEachOfSeries + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * Invoked with (item, key, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + */ + function eachOfSeries(coll, iteratee, callback) { + return eachOfLimit$1(coll, 1, iteratee, callback) + } + var eachOfSeries$1 = awaitify(eachOfSeries, 3); + + /** + * The same as [`map`]{@link module:Collections.map} but runs only a single async operation at a time. + * + * @name mapSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.map]{@link module:Collections.map} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with the transformed item. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Results is an array of the + * transformed items from the `coll`. Invoked with (err, results). + * @returns {Promise} a promise, if no callback is passed + */ + function mapSeries (coll, iteratee, callback) { + return _asyncMap(eachOfSeries$1, coll, iteratee, callback) + } + var mapSeries$1 = awaitify(mapSeries, 3); + + /** + * The same as [`applyEach`]{@link module:ControlFlow.applyEach} but runs only a single async operation at a time. + * + * @name applyEachSeries + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.applyEach]{@link module:ControlFlow.applyEach} + * @category Control Flow + * @param {Array|Iterable|AsyncIterable|Object} fns - A collection of {@link AsyncFunction}s to all + * call with the same arguments + * @param {...*} [args] - any number of separate arguments to pass to the + * function. + * @param {Function} [callback] - the final argument should be the callback, + * called when all functions have completed processing. + * @returns {AsyncFunction} - A function, that when called, is the result of + * appling the `args` to the list of functions. It takes no args, other than + * a callback. + */ + var applyEachSeries = applyEach$1(mapSeries$1); + + const PROMISE_SYMBOL = Symbol('promiseCallback'); + + function promiseCallback () { + let resolve, reject; + function callback (err, ...args) { + if (err) return reject(err) + resolve(args.length > 1 ? args : args[0]); + } + + callback[PROMISE_SYMBOL] = new Promise((res, rej) => { + resolve = res, + reject = rej; + }); + + return callback + } + + /** + * Determines the best order for running the {@link AsyncFunction}s in `tasks`, based on + * their requirements. Each function can optionally depend on other functions + * being completed first, and each function is run as soon as its requirements + * are satisfied. + * + * If any of the {@link AsyncFunction}s pass an error to their callback, the `auto` sequence + * will stop. Further tasks will not execute (so any other functions depending + * on it will not run), and the main `callback` is immediately called with the + * error. + * + * {@link AsyncFunction}s also receive an object containing the results of functions which + * have completed so far as the first argument, if they have dependencies. If a + * task function has no dependencies, it will only be passed a callback. + * + * @name auto + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Object} tasks - An object. Each of its properties is either a + * function or an array of requirements, with the {@link AsyncFunction} itself the last item + * in the array. The object's key of a property serves as the name of the task + * defined by that property, i.e. can be used when specifying requirements for + * other tasks. The function receives one or two arguments: + * * a `results` object, containing the results of the previously executed + * functions, only passed if the task has any dependencies, + * * a `callback(err, result)` function, which must be called when finished, + * passing an `error` (which can be `null`) and the result of the function's + * execution. + * @param {number} [concurrency=Infinity] - An optional `integer` for + * determining the maximum number of tasks that can be run in parallel. By + * default, as many as possible. + * @param {Function} [callback] - An optional callback which is called when all + * the tasks have been completed. It receives the `err` argument if any `tasks` + * pass an error to their callback. Results are always returned; however, if an + * error occurs, no further `tasks` will be performed, and the results object + * will only contain partial results. Invoked with (err, results). + * @returns {Promise} a promise, if a callback is not passed + * @example + * + * //Using Callbacks + * async.auto({ + * get_data: function(callback) { + * // async code to get some data + * callback(null, 'data', 'converted to array'); + * }, + * make_folder: function(callback) { + * // async code to create a directory to store a file in + * // this is run at the same time as getting the data + * callback(null, 'folder'); + * }, + * write_file: ['get_data', 'make_folder', function(results, callback) { + * // once there is some data and the directory exists, + * // write the data to a file in the directory + * callback(null, 'filename'); + * }], + * email_link: ['write_file', function(results, callback) { + * // once the file is written let's email a link to it... + * callback(null, {'file':results.write_file, 'email':'user@example.com'}); + * }] + * }, function(err, results) { + * if (err) { + * console.log('err = ', err); + * } + * console.log('results = ', results); + * // results = { + * // get_data: ['data', 'converted to array'] + * // make_folder; 'folder', + * // write_file: 'filename' + * // email_link: { file: 'filename', email: 'user@example.com' } + * // } + * }); + * + * //Using Promises + * async.auto({ + * get_data: function(callback) { + * console.log('in get_data'); + * // async code to get some data + * callback(null, 'data', 'converted to array'); + * }, + * make_folder: function(callback) { + * console.log('in make_folder'); + * // async code to create a directory to store a file in + * // this is run at the same time as getting the data + * callback(null, 'folder'); + * }, + * write_file: ['get_data', 'make_folder', function(results, callback) { + * // once there is some data and the directory exists, + * // write the data to a file in the directory + * callback(null, 'filename'); + * }], + * email_link: ['write_file', function(results, callback) { + * // once the file is written let's email a link to it... + * callback(null, {'file':results.write_file, 'email':'user@example.com'}); + * }] + * }).then(results => { + * console.log('results = ', results); + * // results = { + * // get_data: ['data', 'converted to array'] + * // make_folder; 'folder', + * // write_file: 'filename' + * // email_link: { file: 'filename', email: 'user@example.com' } + * // } + * }).catch(err => { + * console.log('err = ', err); + * }); + * + * //Using async/await + * async () => { + * try { + * let results = await async.auto({ + * get_data: function(callback) { + * // async code to get some data + * callback(null, 'data', 'converted to array'); + * }, + * make_folder: function(callback) { + * // async code to create a directory to store a file in + * // this is run at the same time as getting the data + * callback(null, 'folder'); + * }, + * write_file: ['get_data', 'make_folder', function(results, callback) { + * // once there is some data and the directory exists, + * // write the data to a file in the directory + * callback(null, 'filename'); + * }], + * email_link: ['write_file', function(results, callback) { + * // once the file is written let's email a link to it... + * callback(null, {'file':results.write_file, 'email':'user@example.com'}); + * }] + * }); + * console.log('results = ', results); + * // results = { + * // get_data: ['data', 'converted to array'] + * // make_folder; 'folder', + * // write_file: 'filename' + * // email_link: { file: 'filename', email: 'user@example.com' } + * // } + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ + function auto(tasks, concurrency, callback) { + if (typeof concurrency !== 'number') { + // concurrency is optional, shift the args. + callback = concurrency; + concurrency = null; + } + callback = once(callback || promiseCallback()); + var numTasks = Object.keys(tasks).length; + if (!numTasks) { + return callback(null); + } + if (!concurrency) { + concurrency = numTasks; + } + + var results = {}; + var runningTasks = 0; + var canceled = false; + var hasError = false; + + var listeners = Object.create(null); + + var readyTasks = []; + + // for cycle detection: + var readyToCheck = []; // tasks that have been identified as reachable + // without the possibility of returning to an ancestor task + var uncheckedDependencies = {}; + + Object.keys(tasks).forEach(key => { + var task = tasks[key]; + if (!Array.isArray(task)) { + // no dependencies + enqueueTask(key, [task]); + readyToCheck.push(key); + return; + } + + var dependencies = task.slice(0, task.length - 1); + var remainingDependencies = dependencies.length; + if (remainingDependencies === 0) { + enqueueTask(key, task); + readyToCheck.push(key); + return; + } + uncheckedDependencies[key] = remainingDependencies; + + dependencies.forEach(dependencyName => { + if (!tasks[dependencyName]) { + throw new Error('async.auto task `' + key + + '` has a non-existent dependency `' + + dependencyName + '` in ' + + dependencies.join(', ')); + } + addListener(dependencyName, () => { + remainingDependencies--; + if (remainingDependencies === 0) { + enqueueTask(key, task); + } + }); + }); + }); + + checkForDeadlocks(); + processQueue(); + + function enqueueTask(key, task) { + readyTasks.push(() => runTask(key, task)); + } + + function processQueue() { + if (canceled) return + if (readyTasks.length === 0 && runningTasks === 0) { + return callback(null, results); + } + while(readyTasks.length && runningTasks < concurrency) { + var run = readyTasks.shift(); + run(); + } + + } + + function addListener(taskName, fn) { + var taskListeners = listeners[taskName]; + if (!taskListeners) { + taskListeners = listeners[taskName] = []; + } + + taskListeners.push(fn); + } + + function taskComplete(taskName) { + var taskListeners = listeners[taskName] || []; + taskListeners.forEach(fn => fn()); + processQueue(); + } + + + function runTask(key, task) { + if (hasError) return; + + var taskCallback = onlyOnce((err, ...result) => { + runningTasks--; + if (err === false) { + canceled = true; + return + } + if (result.length < 2) { + [result] = result; + } + if (err) { + var safeResults = {}; + Object.keys(results).forEach(rkey => { + safeResults[rkey] = results[rkey]; + }); + safeResults[key] = result; + hasError = true; + listeners = Object.create(null); + if (canceled) return + callback(err, safeResults); + } else { + results[key] = result; + taskComplete(key); + } + }); + + runningTasks++; + var taskFn = wrapAsync(task[task.length - 1]); + if (task.length > 1) { + taskFn(results, taskCallback); + } else { + taskFn(taskCallback); + } + } + + function checkForDeadlocks() { + // Kahn's algorithm + // https://en.wikipedia.org/wiki/Topological_sorting#Kahn.27s_algorithm + // http://connalle.blogspot.com/2013/10/topological-sortingkahn-algorithm.html + var currentTask; + var counter = 0; + while (readyToCheck.length) { + currentTask = readyToCheck.pop(); + counter++; + getDependents(currentTask).forEach(dependent => { + if (--uncheckedDependencies[dependent] === 0) { + readyToCheck.push(dependent); + } + }); + } + + if (counter !== numTasks) { + throw new Error( + 'async.auto cannot execute tasks due to a recursive dependency' + ); + } + } + + function getDependents(taskName) { + var result = []; + Object.keys(tasks).forEach(key => { + const task = tasks[key]; + if (Array.isArray(task) && task.indexOf(taskName) >= 0) { + result.push(key); + } + }); + return result; + } + + return callback[PROMISE_SYMBOL] + } + + var FN_ARGS = /^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/; + var ARROW_FN_ARGS = /^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/; + var FN_ARG_SPLIT = /,/; + var FN_ARG = /(=.+)?(\s*)$/; + + function stripComments(string) { + let stripped = ''; + let index = 0; + let endBlockComment = string.indexOf('*/'); + while (index < string.length) { + if (string[index] === '/' && string[index+1] === '/') { + // inline comment + let endIndex = string.indexOf('\n', index); + index = (endIndex === -1) ? string.length : endIndex; + } else if ((endBlockComment !== -1) && (string[index] === '/') && (string[index+1] === '*')) { + // block comment + let endIndex = string.indexOf('*/', index); + if (endIndex !== -1) { + index = endIndex + 2; + endBlockComment = string.indexOf('*/', index); + } else { + stripped += string[index]; + index++; + } + } else { + stripped += string[index]; + index++; + } + } + return stripped; + } + + function parseParams(func) { + const src = stripComments(func.toString()); + let match = src.match(FN_ARGS); + if (!match) { + match = src.match(ARROW_FN_ARGS); + } + if (!match) throw new Error('could not parse args in autoInject\nSource:\n' + src) + let [, args] = match; + return args + .replace(/\s/g, '') + .split(FN_ARG_SPLIT) + .map((arg) => arg.replace(FN_ARG, '').trim()); + } + + /** + * A dependency-injected version of the [async.auto]{@link module:ControlFlow.auto} function. Dependent + * tasks are specified as parameters to the function, after the usual callback + * parameter, with the parameter names matching the names of the tasks it + * depends on. This can provide even more readable task graphs which can be + * easier to maintain. + * + * If a final callback is specified, the task results are similarly injected, + * specified as named parameters after the initial error parameter. + * + * The autoInject function is purely syntactic sugar and its semantics are + * otherwise equivalent to [async.auto]{@link module:ControlFlow.auto}. + * + * @name autoInject + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.auto]{@link module:ControlFlow.auto} + * @category Control Flow + * @param {Object} tasks - An object, each of whose properties is an {@link AsyncFunction} of + * the form 'func([dependencies...], callback). The object's key of a property + * serves as the name of the task defined by that property, i.e. can be used + * when specifying requirements for other tasks. + * * The `callback` parameter is a `callback(err, result)` which must be called + * when finished, passing an `error` (which can be `null`) and the result of + * the function's execution. The remaining parameters name other tasks on + * which the task is dependent, and the results from those tasks are the + * arguments of those parameters. + * @param {Function} [callback] - An optional callback which is called when all + * the tasks have been completed. It receives the `err` argument if any `tasks` + * pass an error to their callback, and a `results` object with any completed + * task results, similar to `auto`. + * @returns {Promise} a promise, if no callback is passed + * @example + * + * // The example from `auto` can be rewritten as follows: + * async.autoInject({ + * get_data: function(callback) { + * // async code to get some data + * callback(null, 'data', 'converted to array'); + * }, + * make_folder: function(callback) { + * // async code to create a directory to store a file in + * // this is run at the same time as getting the data + * callback(null, 'folder'); + * }, + * write_file: function(get_data, make_folder, callback) { + * // once there is some data and the directory exists, + * // write the data to a file in the directory + * callback(null, 'filename'); + * }, + * email_link: function(write_file, callback) { + * // once the file is written let's email a link to it... + * // write_file contains the filename returned by write_file. + * callback(null, {'file':write_file, 'email':'user@example.com'}); + * } + * }, function(err, results) { + * console.log('err = ', err); + * console.log('email_link = ', results.email_link); + * }); + * + * // If you are using a JS minifier that mangles parameter names, `autoInject` + * // will not work with plain functions, since the parameter names will be + * // collapsed to a single letter identifier. To work around this, you can + * // explicitly specify the names of the parameters your task function needs + * // in an array, similar to Angular.js dependency injection. + * + * // This still has an advantage over plain `auto`, since the results a task + * // depends on are still spread into arguments. + * async.autoInject({ + * //... + * write_file: ['get_data', 'make_folder', function(get_data, make_folder, callback) { + * callback(null, 'filename'); + * }], + * email_link: ['write_file', function(write_file, callback) { + * callback(null, {'file':write_file, 'email':'user@example.com'}); + * }] + * //... + * }, function(err, results) { + * console.log('err = ', err); + * console.log('email_link = ', results.email_link); + * }); + */ + function autoInject(tasks, callback) { + var newTasks = {}; + + Object.keys(tasks).forEach(key => { + var taskFn = tasks[key]; + var params; + var fnIsAsync = isAsync(taskFn); + var hasNoDeps = + (!fnIsAsync && taskFn.length === 1) || + (fnIsAsync && taskFn.length === 0); + + if (Array.isArray(taskFn)) { + params = [...taskFn]; + taskFn = params.pop(); + + newTasks[key] = params.concat(params.length > 0 ? newTask : taskFn); + } else if (hasNoDeps) { + // no dependencies, use the function as-is + newTasks[key] = taskFn; + } else { + params = parseParams(taskFn); + if ((taskFn.length === 0 && !fnIsAsync) && params.length === 0) { + throw new Error("autoInject task functions require explicit parameters."); + } + + // remove callback param + if (!fnIsAsync) params.pop(); + + newTasks[key] = params.concat(newTask); + } + + function newTask(results, taskCb) { + var newArgs = params.map(name => results[name]); + newArgs.push(taskCb); + wrapAsync(taskFn)(...newArgs); + } + }); + + return auto(newTasks, callback); + } + + // Simple doubly linked list (https://en.wikipedia.org/wiki/Doubly_linked_list) implementation + // used for queues. This implementation assumes that the node provided by the user can be modified + // to adjust the next and last properties. We implement only the minimal functionality + // for queue support. + class DLL { + constructor() { + this.head = this.tail = null; + this.length = 0; + } + + removeLink(node) { + if (node.prev) node.prev.next = node.next; + else this.head = node.next; + if (node.next) node.next.prev = node.prev; + else this.tail = node.prev; + + node.prev = node.next = null; + this.length -= 1; + return node; + } + + empty () { + while(this.head) this.shift(); + return this; + } + + insertAfter(node, newNode) { + newNode.prev = node; + newNode.next = node.next; + if (node.next) node.next.prev = newNode; + else this.tail = newNode; + node.next = newNode; + this.length += 1; + } + + insertBefore(node, newNode) { + newNode.prev = node.prev; + newNode.next = node; + if (node.prev) node.prev.next = newNode; + else this.head = newNode; + node.prev = newNode; + this.length += 1; + } + + unshift(node) { + if (this.head) this.insertBefore(this.head, node); + else setInitial(this, node); + } + + push(node) { + if (this.tail) this.insertAfter(this.tail, node); + else setInitial(this, node); + } + + shift() { + return this.head && this.removeLink(this.head); + } + + pop() { + return this.tail && this.removeLink(this.tail); + } + + toArray() { + return [...this] + } + + *[Symbol.iterator] () { + var cur = this.head; + while (cur) { + yield cur.data; + cur = cur.next; + } + } + + remove (testFn) { + var curr = this.head; + while(curr) { + var {next} = curr; + if (testFn(curr)) { + this.removeLink(curr); + } + curr = next; + } + return this; + } + } + + function setInitial(dll, node) { + dll.length = 1; + dll.head = dll.tail = node; + } + + function queue$1(worker, concurrency, payload) { + if (concurrency == null) { + concurrency = 1; + } + else if(concurrency === 0) { + throw new RangeError('Concurrency must not be zero'); + } + + var _worker = wrapAsync(worker); + var numRunning = 0; + var workersList = []; + const events = { + error: [], + drain: [], + saturated: [], + unsaturated: [], + empty: [] + }; + + function on (event, handler) { + events[event].push(handler); + } + + function once (event, handler) { + const handleAndRemove = (...args) => { + off(event, handleAndRemove); + handler(...args); + }; + events[event].push(handleAndRemove); + } + + function off (event, handler) { + if (!event) return Object.keys(events).forEach(ev => events[ev] = []) + if (!handler) return events[event] = [] + events[event] = events[event].filter(ev => ev !== handler); + } + + function trigger (event, ...args) { + events[event].forEach(handler => handler(...args)); + } + + var processingScheduled = false; + function _insert(data, insertAtFront, rejectOnError, callback) { + if (callback != null && typeof callback !== 'function') { + throw new Error('task callback must be a function'); + } + q.started = true; + + var res, rej; + function promiseCallback (err, ...args) { + // we don't care about the error, let the global error handler + // deal with it + if (err) return rejectOnError ? rej(err) : res() + if (args.length <= 1) return res(args[0]) + res(args); + } + + var item = q._createTaskItem( + data, + rejectOnError ? promiseCallback : + (callback || promiseCallback) + ); + + if (insertAtFront) { + q._tasks.unshift(item); + } else { + q._tasks.push(item); + } + + if (!processingScheduled) { + processingScheduled = true; + setImmediate$1(() => { + processingScheduled = false; + q.process(); + }); + } + + if (rejectOnError || !callback) { + return new Promise((resolve, reject) => { + res = resolve; + rej = reject; + }) + } + } + + function _createCB(tasks) { + return function (err, ...args) { + numRunning -= 1; + + for (var i = 0, l = tasks.length; i < l; i++) { + var task = tasks[i]; + + var index = workersList.indexOf(task); + if (index === 0) { + workersList.shift(); + } else if (index > 0) { + workersList.splice(index, 1); + } + + task.callback(err, ...args); + + if (err != null) { + trigger('error', err, task.data); + } + } + + if (numRunning <= (q.concurrency - q.buffer) ) { + trigger('unsaturated'); + } + + if (q.idle()) { + trigger('drain'); + } + q.process(); + }; + } + + function _maybeDrain(data) { + if (data.length === 0 && q.idle()) { + // call drain immediately if there are no tasks + setImmediate$1(() => trigger('drain')); + return true + } + return false + } + + const eventMethod = (name) => (handler) => { + if (!handler) { + return new Promise((resolve, reject) => { + once(name, (err, data) => { + if (err) return reject(err) + resolve(data); + }); + }) + } + off(name); + on(name, handler); + + }; + + var isProcessing = false; + var q = { + _tasks: new DLL(), + _createTaskItem (data, callback) { + return { + data, + callback + }; + }, + *[Symbol.iterator] () { + yield* q._tasks[Symbol.iterator](); + }, + concurrency, + payload, + buffer: concurrency / 4, + started: false, + paused: false, + push (data, callback) { + if (Array.isArray(data)) { + if (_maybeDrain(data)) return + return data.map(datum => _insert(datum, false, false, callback)) + } + return _insert(data, false, false, callback); + }, + pushAsync (data, callback) { + if (Array.isArray(data)) { + if (_maybeDrain(data)) return + return data.map(datum => _insert(datum, false, true, callback)) + } + return _insert(data, false, true, callback); + }, + kill () { + off(); + q._tasks.empty(); + }, + unshift (data, callback) { + if (Array.isArray(data)) { + if (_maybeDrain(data)) return + return data.map(datum => _insert(datum, true, false, callback)) + } + return _insert(data, true, false, callback); + }, + unshiftAsync (data, callback) { + if (Array.isArray(data)) { + if (_maybeDrain(data)) return + return data.map(datum => _insert(datum, true, true, callback)) + } + return _insert(data, true, true, callback); + }, + remove (testFn) { + q._tasks.remove(testFn); + }, + process () { + // Avoid trying to start too many processing operations. This can occur + // when callbacks resolve synchronously (#1267). + if (isProcessing) { + return; + } + isProcessing = true; + while(!q.paused && numRunning < q.concurrency && q._tasks.length){ + var tasks = [], data = []; + var l = q._tasks.length; + if (q.payload) l = Math.min(l, q.payload); + for (var i = 0; i < l; i++) { + var node = q._tasks.shift(); + tasks.push(node); + workersList.push(node); + data.push(node.data); + } + + numRunning += 1; + + if (q._tasks.length === 0) { + trigger('empty'); + } + + if (numRunning === q.concurrency) { + trigger('saturated'); + } + + var cb = onlyOnce(_createCB(tasks)); + _worker(data, cb); + } + isProcessing = false; + }, + length () { + return q._tasks.length; + }, + running () { + return numRunning; + }, + workersList () { + return workersList; + }, + idle() { + return q._tasks.length + numRunning === 0; + }, + pause () { + q.paused = true; + }, + resume () { + if (q.paused === false) { return; } + q.paused = false; + setImmediate$1(q.process); + } + }; + // define these as fixed properties, so people get useful errors when updating + Object.defineProperties(q, { + saturated: { + writable: false, + value: eventMethod('saturated') + }, + unsaturated: { + writable: false, + value: eventMethod('unsaturated') + }, + empty: { + writable: false, + value: eventMethod('empty') + }, + drain: { + writable: false, + value: eventMethod('drain') + }, + error: { + writable: false, + value: eventMethod('error') + }, + }); + return q; + } + + /** + * Creates a `cargo` object with the specified payload. Tasks added to the + * cargo will be processed altogether (up to the `payload` limit). If the + * `worker` is in progress, the task is queued until it becomes available. Once + * the `worker` has completed some tasks, each callback of those tasks is + * called. Check out [these](https://camo.githubusercontent.com/6bbd36f4cf5b35a0f11a96dcd2e97711ffc2fb37/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313637363837312f36383130382f62626330636662302d356632392d313165322d393734662d3333393763363464633835382e676966) [animations](https://camo.githubusercontent.com/f4810e00e1c5f5f8addbe3e9f49064fd5d102699/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313637363837312f36383130312f38346339323036362d356632392d313165322d383134662d3964336430323431336266642e676966) + * for how `cargo` and `queue` work. + * + * While [`queue`]{@link module:ControlFlow.queue} passes only one task to one of a group of workers + * at a time, cargo passes an array of tasks to a single worker, repeating + * when the worker is finished. + * + * @name cargo + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.queue]{@link module:ControlFlow.queue} + * @category Control Flow + * @param {AsyncFunction} worker - An asynchronous function for processing an array + * of queued tasks. Invoked with `(tasks, callback)`. + * @param {number} [payload=Infinity] - An optional `integer` for determining + * how many tasks should be processed per round; if omitted, the default is + * unlimited. + * @returns {module:ControlFlow.QueueObject} A cargo object to manage the tasks. Callbacks can + * attached as certain properties to listen for specific events during the + * lifecycle of the cargo and inner queue. + * @example + * + * // create a cargo object with payload 2 + * var cargo = async.cargo(function(tasks, callback) { + * for (var i=0; i { + * console.log(result); + * // 6000 + * // which is the sum of the file sizes of the three files + * }).catch( err => { + * console.log(err); + * }); + * + * // Error Handling + * async.reduce(withMissingFileList, 0, getFileSizeInBytes) + * .then( result => { + * console.log(result); + * }).catch( err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.reduce(fileList, 0, getFileSizeInBytes); + * console.log(result); + * // 6000 + * // which is the sum of the file sizes of the three files + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // Error Handling + * async () => { + * try { + * let result = await async.reduce(withMissingFileList, 0, getFileSizeInBytes); + * console.log(result); + * } + * catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } + * } + * + */ + function reduce(coll, memo, iteratee, callback) { + callback = once(callback); + var _iteratee = wrapAsync(iteratee); + return eachOfSeries$1(coll, (x, i, iterCb) => { + _iteratee(memo, x, (err, v) => { + memo = v; + iterCb(err); + }); + }, err => callback(err, memo)); + } + var reduce$1 = awaitify(reduce, 4); + + /** + * Version of the compose function that is more natural to read. Each function + * consumes the return value of the previous function. It is the equivalent of + * [compose]{@link module:ControlFlow.compose} with the arguments reversed. + * + * Each function is executed with the `this` binding of the composed function. + * + * @name seq + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.compose]{@link module:ControlFlow.compose} + * @category Control Flow + * @param {...AsyncFunction} functions - the asynchronous functions to compose + * @returns {Function} a function that composes the `functions` in order + * @example + * + * // Requires lodash (or underscore), express3 and dresende's orm2. + * // Part of an app, that fetches cats of the logged user. + * // This example uses `seq` function to avoid overnesting and error + * // handling clutter. + * app.get('/cats', function(request, response) { + * var User = request.models.User; + * async.seq( + * User.get.bind(User), // 'User.get' has signature (id, callback(err, data)) + * function(user, fn) { + * user.getCats(fn); // 'getCats' has signature (callback(err, data)) + * } + * )(req.session.user_id, function (err, cats) { + * if (err) { + * console.error(err); + * response.json({ status: 'error', message: err.message }); + * } else { + * response.json({ status: 'ok', message: 'Cats found', data: cats }); + * } + * }); + * }); + */ + function seq(...functions) { + var _functions = functions.map(wrapAsync); + return function (...args) { + var that = this; + + var cb = args[args.length - 1]; + if (typeof cb == 'function') { + args.pop(); + } else { + cb = promiseCallback(); + } + + reduce$1(_functions, args, (newargs, fn, iterCb) => { + fn.apply(that, newargs.concat((err, ...nextargs) => { + iterCb(err, nextargs); + })); + }, + (err, results) => cb(err, ...results)); + + return cb[PROMISE_SYMBOL] + }; + } + + /** + * Creates a function which is a composition of the passed asynchronous + * functions. Each function consumes the return value of the function that + * follows. Composing functions `f()`, `g()`, and `h()` would produce the result + * of `f(g(h()))`, only this version uses callbacks to obtain the return values. + * + * If the last argument to the composed function is not a function, a promise + * is returned when you call it. + * + * Each function is executed with the `this` binding of the composed function. + * + * @name compose + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {...AsyncFunction} functions - the asynchronous functions to compose + * @returns {Function} an asynchronous function that is the composed + * asynchronous `functions` + * @example + * + * function add1(n, callback) { + * setTimeout(function () { + * callback(null, n + 1); + * }, 10); + * } + * + * function mul3(n, callback) { + * setTimeout(function () { + * callback(null, n * 3); + * }, 10); + * } + * + * var add1mul3 = async.compose(mul3, add1); + * add1mul3(4, function (err, result) { + * // result now equals 15 + * }); + */ + function compose(...args) { + return seq(...args.reverse()); + } + + /** + * The same as [`map`]{@link module:Collections.map} but runs a maximum of `limit` async operations at a time. + * + * @name mapLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.map]{@link module:Collections.map} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with the transformed item. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Results is an array of the + * transformed items from the `coll`. Invoked with (err, results). + * @returns {Promise} a promise, if no callback is passed + */ + function mapLimit (coll, limit, iteratee, callback) { + return _asyncMap(eachOfLimit$2(limit), coll, iteratee, callback) + } + var mapLimit$1 = awaitify(mapLimit, 4); + + /** + * The same as [`concat`]{@link module:Collections.concat} but runs a maximum of `limit` async operations at a time. + * + * @name concatLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.concat]{@link module:Collections.concat} + * @category Collection + * @alias flatMapLimit + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - A function to apply to each item in `coll`, + * which should use an array as its result. Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished, or an error occurs. Results is an array + * containing the concatenated results of the `iteratee` function. Invoked with + * (err, results). + * @returns A Promise, if no callback is passed + */ + function concatLimit(coll, limit, iteratee, callback) { + var _iteratee = wrapAsync(iteratee); + return mapLimit$1(coll, limit, (val, iterCb) => { + _iteratee(val, (err, ...args) => { + if (err) return iterCb(err); + return iterCb(err, args); + }); + }, (err, mapResults) => { + var result = []; + for (var i = 0; i < mapResults.length; i++) { + if (mapResults[i]) { + result = result.concat(...mapResults[i]); + } + } + + return callback(err, result); + }); + } + var concatLimit$1 = awaitify(concatLimit, 4); + + /** + * Applies `iteratee` to each item in `coll`, concatenating the results. Returns + * the concatenated list. The `iteratee`s are called in parallel, and the + * results are concatenated as they return. The results array will be returned in + * the original order of `coll` passed to the `iteratee` function. + * + * @name concat + * @static + * @memberOf module:Collections + * @method + * @category Collection + * @alias flatMap + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - A function to apply to each item in `coll`, + * which should use an array as its result. Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished, or an error occurs. Results is an array + * containing the concatenated results of the `iteratee` function. Invoked with + * (err, results). + * @returns A Promise, if no callback is passed + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * // dir4 does not exist + * + * let directoryList = ['dir1','dir2','dir3']; + * let withMissingDirectoryList = ['dir1','dir2','dir3', 'dir4']; + * + * // Using callbacks + * async.concat(directoryList, fs.readdir, function(err, results) { + * if (err) { + * console.log(err); + * } else { + * console.log(results); + * // [ 'file1.txt', 'file2.txt', 'file3.txt', 'file4.txt', file5.txt ] + * } + * }); + * + * // Error Handling + * async.concat(withMissingDirectoryList, fs.readdir, function(err, results) { + * if (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4 does not exist + * } else { + * console.log(results); + * } + * }); + * + * // Using Promises + * async.concat(directoryList, fs.readdir) + * .then(results => { + * console.log(results); + * // [ 'file1.txt', 'file2.txt', 'file3.txt', 'file4.txt', file5.txt ] + * }).catch(err => { + * console.log(err); + * }); + * + * // Error Handling + * async.concat(withMissingDirectoryList, fs.readdir) + * .then(results => { + * console.log(results); + * }).catch(err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4 does not exist + * }); + * + * // Using async/await + * async () => { + * try { + * let results = await async.concat(directoryList, fs.readdir); + * console.log(results); + * // [ 'file1.txt', 'file2.txt', 'file3.txt', 'file4.txt', file5.txt ] + * } catch (err) { + * console.log(err); + * } + * } + * + * // Error Handling + * async () => { + * try { + * let results = await async.concat(withMissingDirectoryList, fs.readdir); + * console.log(results); + * } catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4 does not exist + * } + * } + * + */ + function concat(coll, iteratee, callback) { + return concatLimit$1(coll, Infinity, iteratee, callback) + } + var concat$1 = awaitify(concat, 3); + + /** + * The same as [`concat`]{@link module:Collections.concat} but runs only a single async operation at a time. + * + * @name concatSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.concat]{@link module:Collections.concat} + * @category Collection + * @alias flatMapSeries + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - A function to apply to each item in `coll`. + * The iteratee should complete with an array an array of results. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished, or an error occurs. Results is an array + * containing the concatenated results of the `iteratee` function. Invoked with + * (err, results). + * @returns A Promise, if no callback is passed + */ + function concatSeries(coll, iteratee, callback) { + return concatLimit$1(coll, 1, iteratee, callback) + } + var concatSeries$1 = awaitify(concatSeries, 3); + + /** + * Returns a function that when called, calls-back with the values provided. + * Useful as the first function in a [`waterfall`]{@link module:ControlFlow.waterfall}, or for plugging values in to + * [`auto`]{@link module:ControlFlow.auto}. + * + * @name constant + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {...*} arguments... - Any number of arguments to automatically invoke + * callback with. + * @returns {AsyncFunction} Returns a function that when invoked, automatically + * invokes the callback with the previous given arguments. + * @example + * + * async.waterfall([ + * async.constant(42), + * function (value, next) { + * // value === 42 + * }, + * //... + * ], callback); + * + * async.waterfall([ + * async.constant(filename, "utf8"), + * fs.readFile, + * function (fileData, next) { + * //... + * } + * //... + * ], callback); + * + * async.auto({ + * hostname: async.constant("https://server.net/"), + * port: findFreePort, + * launchServer: ["hostname", "port", function (options, cb) { + * startServer(options, cb); + * }], + * //... + * }, callback); + */ + function constant$1(...args) { + return function (...ignoredArgs/*, callback*/) { + var callback = ignoredArgs.pop(); + return callback(null, ...args); + }; + } + + function _createTester(check, getResult) { + return (eachfn, arr, _iteratee, cb) => { + var testPassed = false; + var testResult; + const iteratee = wrapAsync(_iteratee); + eachfn(arr, (value, _, callback) => { + iteratee(value, (err, result) => { + if (err || err === false) return callback(err); + + if (check(result) && !testResult) { + testPassed = true; + testResult = getResult(true, value); + return callback(null, breakLoop); + } + callback(); + }); + }, err => { + if (err) return cb(err); + cb(null, testPassed ? testResult : getResult(false)); + }); + }; + } + + /** + * Returns the first value in `coll` that passes an async truth test. The + * `iteratee` is applied in parallel, meaning the first iteratee to return + * `true` will fire the detect `callback` with that result. That means the + * result might not be the first item in the original `coll` (in terms of order) + * that passes the test. + + * If order within the original `coll` is important, then look at + * [`detectSeries`]{@link module:Collections.detectSeries}. + * + * @name detect + * @static + * @memberOf module:Collections + * @method + * @alias find + * @category Collections + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - A truth test to apply to each item in `coll`. + * The iteratee must complete with a boolean value as its result. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the `iteratee` functions have finished. + * Result will be the first item in the array that passes the truth test + * (iteratee) or the value `undefined` if none passed. Invoked with + * (err, result). + * @returns {Promise} a promise, if a callback is omitted + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * + * // asynchronous function that checks if a file exists + * function fileExists(file, callback) { + * fs.access(file, fs.constants.F_OK, (err) => { + * callback(null, !err); + * }); + * } + * + * async.detect(['file3.txt','file2.txt','dir1/file1.txt'], fileExists, + * function(err, result) { + * console.log(result); + * // dir1/file1.txt + * // result now equals the first file in the list that exists + * } + *); + * + * // Using Promises + * async.detect(['file3.txt','file2.txt','dir1/file1.txt'], fileExists) + * .then(result => { + * console.log(result); + * // dir1/file1.txt + * // result now equals the first file in the list that exists + * }).catch(err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.detect(['file3.txt','file2.txt','dir1/file1.txt'], fileExists); + * console.log(result); + * // dir1/file1.txt + * // result now equals the file in the list that exists + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ + function detect(coll, iteratee, callback) { + return _createTester(bool => bool, (res, item) => item)(eachOf$1, coll, iteratee, callback) + } + var detect$1 = awaitify(detect, 3); + + /** + * The same as [`detect`]{@link module:Collections.detect} but runs a maximum of `limit` async operations at a + * time. + * + * @name detectLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.detect]{@link module:Collections.detect} + * @alias findLimit + * @category Collections + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - A truth test to apply to each item in `coll`. + * The iteratee must complete with a boolean value as its result. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the `iteratee` functions have finished. + * Result will be the first item in the array that passes the truth test + * (iteratee) or the value `undefined` if none passed. Invoked with + * (err, result). + * @returns {Promise} a promise, if a callback is omitted + */ + function detectLimit(coll, limit, iteratee, callback) { + return _createTester(bool => bool, (res, item) => item)(eachOfLimit$2(limit), coll, iteratee, callback) + } + var detectLimit$1 = awaitify(detectLimit, 4); + + /** + * The same as [`detect`]{@link module:Collections.detect} but runs only a single async operation at a time. + * + * @name detectSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.detect]{@link module:Collections.detect} + * @alias findSeries + * @category Collections + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - A truth test to apply to each item in `coll`. + * The iteratee must complete with a boolean value as its result. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the `iteratee` functions have finished. + * Result will be the first item in the array that passes the truth test + * (iteratee) or the value `undefined` if none passed. Invoked with + * (err, result). + * @returns {Promise} a promise, if a callback is omitted + */ + function detectSeries(coll, iteratee, callback) { + return _createTester(bool => bool, (res, item) => item)(eachOfLimit$2(1), coll, iteratee, callback) + } + + var detectSeries$1 = awaitify(detectSeries, 3); + + function consoleFunc(name) { + return (fn, ...args) => wrapAsync(fn)(...args, (err, ...resultArgs) => { + /* istanbul ignore else */ + if (typeof console === 'object') { + /* istanbul ignore else */ + if (err) { + /* istanbul ignore else */ + if (console.error) { + console.error(err); + } + } else if (console[name]) { /* istanbul ignore else */ + resultArgs.forEach(x => console[name](x)); + } + } + }) + } + + /** + * Logs the result of an [`async` function]{@link AsyncFunction} to the + * `console` using `console.dir` to display the properties of the resulting object. + * Only works in Node.js or in browsers that support `console.dir` and + * `console.error` (such as FF and Chrome). + * If multiple arguments are returned from the async function, + * `console.dir` is called on each argument in order. + * + * @name dir + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {AsyncFunction} function - The function you want to eventually apply + * all arguments to. + * @param {...*} arguments... - Any number of arguments to apply to the function. + * @example + * + * // in a module + * var hello = function(name, callback) { + * setTimeout(function() { + * callback(null, {hello: name}); + * }, 1000); + * }; + * + * // in the node repl + * node> async.dir(hello, 'world'); + * {hello: 'world'} + */ + var dir = consoleFunc('dir'); + + /** + * The post-check version of [`whilst`]{@link module:ControlFlow.whilst}. To reflect the difference in + * the order of operations, the arguments `test` and `iteratee` are switched. + * + * `doWhilst` is to `whilst` as `do while` is to `while` in plain JavaScript. + * + * @name doWhilst + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.whilst]{@link module:ControlFlow.whilst} + * @category Control Flow + * @param {AsyncFunction} iteratee - A function which is called each time `test` + * passes. Invoked with (callback). + * @param {AsyncFunction} test - asynchronous truth test to perform after each + * execution of `iteratee`. Invoked with (...args, callback), where `...args` are the + * non-error args from the previous callback of `iteratee`. + * @param {Function} [callback] - A callback which is called after the test + * function has failed and repeated execution of `iteratee` has stopped. + * `callback` will be passed an error and any arguments passed to the final + * `iteratee`'s callback. Invoked with (err, [results]); + * @returns {Promise} a promise, if no callback is passed + */ + function doWhilst(iteratee, test, callback) { + callback = onlyOnce(callback); + var _fn = wrapAsync(iteratee); + var _test = wrapAsync(test); + var results; + + function next(err, ...args) { + if (err) return callback(err); + if (err === false) return; + results = args; + _test(...args, check); + } + + function check(err, truth) { + if (err) return callback(err); + if (err === false) return; + if (!truth) return callback(null, ...results); + _fn(next); + } + + return check(null, true); + } + + var doWhilst$1 = awaitify(doWhilst, 3); + + /** + * Like ['doWhilst']{@link module:ControlFlow.doWhilst}, except the `test` is inverted. Note the + * argument ordering differs from `until`. + * + * @name doUntil + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.doWhilst]{@link module:ControlFlow.doWhilst} + * @category Control Flow + * @param {AsyncFunction} iteratee - An async function which is called each time + * `test` fails. Invoked with (callback). + * @param {AsyncFunction} test - asynchronous truth test to perform after each + * execution of `iteratee`. Invoked with (...args, callback), where `...args` are the + * non-error args from the previous callback of `iteratee` + * @param {Function} [callback] - A callback which is called after the test + * function has passed and repeated execution of `iteratee` has stopped. `callback` + * will be passed an error and any arguments passed to the final `iteratee`'s + * callback. Invoked with (err, [results]); + * @returns {Promise} a promise, if no callback is passed + */ + function doUntil(iteratee, test, callback) { + const _test = wrapAsync(test); + return doWhilst$1(iteratee, (...args) => { + const cb = args.pop(); + _test(...args, (err, truth) => cb (err, !truth)); + }, callback); + } + + function _withoutIndex(iteratee) { + return (value, index, callback) => iteratee(value, callback); + } + + /** + * Applies the function `iteratee` to each item in `coll`, in parallel. + * The `iteratee` is called with an item from the list, and a callback for when + * it has finished. If the `iteratee` passes an error to its `callback`, the + * main `callback` (for the `each` function) is immediately called with the + * error. + * + * Note, that since this function applies `iteratee` to each item in parallel, + * there is no guarantee that the iteratee functions will complete in order. + * + * @name each + * @static + * @memberOf module:Collections + * @method + * @alias forEach + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to + * each item in `coll`. Invoked with (item, callback). + * The array index is not passed to the iteratee. + * If you need the index, use `eachOf`. + * @param {Function} [callback] - A callback which is called when all + * `iteratee` functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * // dir4 does not exist + * + * const fileList = [ 'dir1/file2.txt', 'dir2/file3.txt', 'dir/file5.txt']; + * const withMissingFileList = ['dir1/file1.txt', 'dir4/file2.txt']; + * + * // asynchronous function that deletes a file + * const deleteFile = function(file, callback) { + * fs.unlink(file, callback); + * }; + * + * // Using callbacks + * async.each(fileList, deleteFile, function(err) { + * if( err ) { + * console.log(err); + * } else { + * console.log('All files have been deleted successfully'); + * } + * }); + * + * // Error Handling + * async.each(withMissingFileList, deleteFile, function(err){ + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4/file2.txt does not exist + * // dir1/file1.txt could have been deleted + * }); + * + * // Using Promises + * async.each(fileList, deleteFile) + * .then( () => { + * console.log('All files have been deleted successfully'); + * }).catch( err => { + * console.log(err); + * }); + * + * // Error Handling + * async.each(fileList, deleteFile) + * .then( () => { + * console.log('All files have been deleted successfully'); + * }).catch( err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4/file2.txt does not exist + * // dir1/file1.txt could have been deleted + * }); + * + * // Using async/await + * async () => { + * try { + * await async.each(files, deleteFile); + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // Error Handling + * async () => { + * try { + * await async.each(withMissingFileList, deleteFile); + * } + * catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4/file2.txt does not exist + * // dir1/file1.txt could have been deleted + * } + * } + * + */ + function eachLimit$2(coll, iteratee, callback) { + return eachOf$1(coll, _withoutIndex(wrapAsync(iteratee)), callback); + } + + var each = awaitify(eachLimit$2, 3); + + /** + * The same as [`each`]{@link module:Collections.each} but runs a maximum of `limit` async operations at a time. + * + * @name eachLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.each]{@link module:Collections.each} + * @alias forEachLimit + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The array index is not passed to the iteratee. + * If you need the index, use `eachOfLimit`. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called when all + * `iteratee` functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + */ + function eachLimit(coll, limit, iteratee, callback) { + return eachOfLimit$2(limit)(coll, _withoutIndex(wrapAsync(iteratee)), callback); + } + var eachLimit$1 = awaitify(eachLimit, 4); + + /** + * The same as [`each`]{@link module:Collections.each} but runs only a single async operation at a time. + * + * Note, that unlike [`each`]{@link module:Collections.each}, this function applies iteratee to each item + * in series and therefore the iteratee functions will complete in order. + + * @name eachSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.each]{@link module:Collections.each} + * @alias forEachSeries + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each + * item in `coll`. + * The array index is not passed to the iteratee. + * If you need the index, use `eachOfSeries`. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called when all + * `iteratee` functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + */ + function eachSeries(coll, iteratee, callback) { + return eachLimit$1(coll, 1, iteratee, callback) + } + var eachSeries$1 = awaitify(eachSeries, 3); + + /** + * Wrap an async function and ensure it calls its callback on a later tick of + * the event loop. If the function already calls its callback on a next tick, + * no extra deferral is added. This is useful for preventing stack overflows + * (`RangeError: Maximum call stack size exceeded`) and generally keeping + * [Zalgo](http://blog.izs.me/post/59142742143/designing-apis-for-asynchrony) + * contained. ES2017 `async` functions are returned as-is -- they are immune + * to Zalgo's corrupting influences, as they always resolve on a later tick. + * + * @name ensureAsync + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {AsyncFunction} fn - an async function, one that expects a node-style + * callback as its last argument. + * @returns {AsyncFunction} Returns a wrapped function with the exact same call + * signature as the function passed in. + * @example + * + * function sometimesAsync(arg, callback) { + * if (cache[arg]) { + * return callback(null, cache[arg]); // this would be synchronous!! + * } else { + * doSomeIO(arg, callback); // this IO would be asynchronous + * } + * } + * + * // this has a risk of stack overflows if many results are cached in a row + * async.mapSeries(args, sometimesAsync, done); + * + * // this will defer sometimesAsync's callback if necessary, + * // preventing stack overflows + * async.mapSeries(args, async.ensureAsync(sometimesAsync), done); + */ + function ensureAsync(fn) { + if (isAsync(fn)) return fn; + return function (...args/*, callback*/) { + var callback = args.pop(); + var sync = true; + args.push((...innerArgs) => { + if (sync) { + setImmediate$1(() => callback(...innerArgs)); + } else { + callback(...innerArgs); + } + }); + fn.apply(this, args); + sync = false; + }; + } + + /** + * Returns `true` if every element in `coll` satisfies an async test. If any + * iteratee call returns `false`, the main `callback` is immediately called. + * + * @name every + * @static + * @memberOf module:Collections + * @method + * @alias all + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collection in parallel. + * The iteratee must complete with a boolean result value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result will be either `true` or `false` + * depending on the values of the async tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * // dir4 does not exist + * + * const fileList = ['dir1/file1.txt','dir2/file3.txt','dir3/file5.txt']; + * const withMissingFileList = ['file1.txt','file2.txt','file4.txt']; + * + * // asynchronous function that checks if a file exists + * function fileExists(file, callback) { + * fs.access(file, fs.constants.F_OK, (err) => { + * callback(null, !err); + * }); + * } + * + * // Using callbacks + * async.every(fileList, fileExists, function(err, result) { + * console.log(result); + * // true + * // result is true since every file exists + * }); + * + * async.every(withMissingFileList, fileExists, function(err, result) { + * console.log(result); + * // false + * // result is false since NOT every file exists + * }); + * + * // Using Promises + * async.every(fileList, fileExists) + * .then( result => { + * console.log(result); + * // true + * // result is true since every file exists + * }).catch( err => { + * console.log(err); + * }); + * + * async.every(withMissingFileList, fileExists) + * .then( result => { + * console.log(result); + * // false + * // result is false since NOT every file exists + * }).catch( err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.every(fileList, fileExists); + * console.log(result); + * // true + * // result is true since every file exists + * } + * catch (err) { + * console.log(err); + * } + * } + * + * async () => { + * try { + * let result = await async.every(withMissingFileList, fileExists); + * console.log(result); + * // false + * // result is false since NOT every file exists + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ + function every(coll, iteratee, callback) { + return _createTester(bool => !bool, res => !res)(eachOf$1, coll, iteratee, callback) + } + var every$1 = awaitify(every, 3); + + /** + * The same as [`every`]{@link module:Collections.every} but runs a maximum of `limit` async operations at a time. + * + * @name everyLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.every]{@link module:Collections.every} + * @alias allLimit + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collection in parallel. + * The iteratee must complete with a boolean result value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result will be either `true` or `false` + * depending on the values of the async tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + */ + function everyLimit(coll, limit, iteratee, callback) { + return _createTester(bool => !bool, res => !res)(eachOfLimit$2(limit), coll, iteratee, callback) + } + var everyLimit$1 = awaitify(everyLimit, 4); + + /** + * The same as [`every`]{@link module:Collections.every} but runs only a single async operation at a time. + * + * @name everySeries + * @static + * @memberOf module:Collections + * @method + * @see [async.every]{@link module:Collections.every} + * @alias allSeries + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collection in series. + * The iteratee must complete with a boolean result value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result will be either `true` or `false` + * depending on the values of the async tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + */ + function everySeries(coll, iteratee, callback) { + return _createTester(bool => !bool, res => !res)(eachOfSeries$1, coll, iteratee, callback) + } + var everySeries$1 = awaitify(everySeries, 3); + + function filterArray(eachfn, arr, iteratee, callback) { + var truthValues = new Array(arr.length); + eachfn(arr, (x, index, iterCb) => { + iteratee(x, (err, v) => { + truthValues[index] = !!v; + iterCb(err); + }); + }, err => { + if (err) return callback(err); + var results = []; + for (var i = 0; i < arr.length; i++) { + if (truthValues[i]) results.push(arr[i]); + } + callback(null, results); + }); + } + + function filterGeneric(eachfn, coll, iteratee, callback) { + var results = []; + eachfn(coll, (x, index, iterCb) => { + iteratee(x, (err, v) => { + if (err) return iterCb(err); + if (v) { + results.push({index, value: x}); + } + iterCb(err); + }); + }, err => { + if (err) return callback(err); + callback(null, results + .sort((a, b) => a.index - b.index) + .map(v => v.value)); + }); + } + + function _filter(eachfn, coll, iteratee, callback) { + var filter = isArrayLike(coll) ? filterArray : filterGeneric; + return filter(eachfn, coll, wrapAsync(iteratee), callback); + } + + /** + * Returns a new array of all the values in `coll` which pass an async truth + * test. This operation is performed in parallel, but the results array will be + * in the same order as the original. + * + * @name filter + * @static + * @memberOf module:Collections + * @method + * @alias select + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {Function} iteratee - A truth test to apply to each item in `coll`. + * The `iteratee` is passed a `callback(err, truthValue)`, which must be called + * with a boolean argument once it has completed. Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results). + * @returns {Promise} a promise, if no callback provided + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * + * const files = ['dir1/file1.txt','dir2/file3.txt','dir3/file6.txt']; + * + * // asynchronous function that checks if a file exists + * function fileExists(file, callback) { + * fs.access(file, fs.constants.F_OK, (err) => { + * callback(null, !err); + * }); + * } + * + * // Using callbacks + * async.filter(files, fileExists, function(err, results) { + * if(err) { + * console.log(err); + * } else { + * console.log(results); + * // [ 'dir1/file1.txt', 'dir2/file3.txt' ] + * // results is now an array of the existing files + * } + * }); + * + * // Using Promises + * async.filter(files, fileExists) + * .then(results => { + * console.log(results); + * // [ 'dir1/file1.txt', 'dir2/file3.txt' ] + * // results is now an array of the existing files + * }).catch(err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let results = await async.filter(files, fileExists); + * console.log(results); + * // [ 'dir1/file1.txt', 'dir2/file3.txt' ] + * // results is now an array of the existing files + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ + function filter (coll, iteratee, callback) { + return _filter(eachOf$1, coll, iteratee, callback) + } + var filter$1 = awaitify(filter, 3); + + /** + * The same as [`filter`]{@link module:Collections.filter} but runs a maximum of `limit` async operations at a + * time. + * + * @name filterLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.filter]{@link module:Collections.filter} + * @alias selectLimit + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {Function} iteratee - A truth test to apply to each item in `coll`. + * The `iteratee` is passed a `callback(err, truthValue)`, which must be called + * with a boolean argument once it has completed. Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results). + * @returns {Promise} a promise, if no callback provided + */ + function filterLimit (coll, limit, iteratee, callback) { + return _filter(eachOfLimit$2(limit), coll, iteratee, callback) + } + var filterLimit$1 = awaitify(filterLimit, 4); + + /** + * The same as [`filter`]{@link module:Collections.filter} but runs only a single async operation at a time. + * + * @name filterSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.filter]{@link module:Collections.filter} + * @alias selectSeries + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {Function} iteratee - A truth test to apply to each item in `coll`. + * The `iteratee` is passed a `callback(err, truthValue)`, which must be called + * with a boolean argument once it has completed. Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results) + * @returns {Promise} a promise, if no callback provided + */ + function filterSeries (coll, iteratee, callback) { + return _filter(eachOfSeries$1, coll, iteratee, callback) + } + var filterSeries$1 = awaitify(filterSeries, 3); + + /** + * Calls the asynchronous function `fn` with a callback parameter that allows it + * to call itself again, in series, indefinitely. + + * If an error is passed to the callback then `errback` is called with the + * error, and execution stops, otherwise it will never be called. + * + * @name forever + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {AsyncFunction} fn - an async function to call repeatedly. + * Invoked with (next). + * @param {Function} [errback] - when `fn` passes an error to it's callback, + * this function will be called, and execution stops. Invoked with (err). + * @returns {Promise} a promise that rejects if an error occurs and an errback + * is not passed + * @example + * + * async.forever( + * function(next) { + * // next is suitable for passing to things that need a callback(err [, whatever]); + * // it will result in this function being called again. + * }, + * function(err) { + * // if next is called with a value in its first parameter, it will appear + * // in here as 'err', and execution will stop. + * } + * ); + */ + function forever(fn, errback) { + var done = onlyOnce(errback); + var task = wrapAsync(ensureAsync(fn)); + + function next(err) { + if (err) return done(err); + if (err === false) return; + task(next); + } + return next(); + } + var forever$1 = awaitify(forever, 2); + + /** + * The same as [`groupBy`]{@link module:Collections.groupBy} but runs a maximum of `limit` async operations at a time. + * + * @name groupByLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.groupBy]{@link module:Collections.groupBy} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with a `key` to group the value under. + * Invoked with (value, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Result is an `Object` whoses + * properties are arrays of values which returned the corresponding key. + * @returns {Promise} a promise, if no callback is passed + */ + function groupByLimit(coll, limit, iteratee, callback) { + var _iteratee = wrapAsync(iteratee); + return mapLimit$1(coll, limit, (val, iterCb) => { + _iteratee(val, (err, key) => { + if (err) return iterCb(err); + return iterCb(err, {key, val}); + }); + }, (err, mapResults) => { + var result = {}; + // from MDN, handle object having an `hasOwnProperty` prop + var {hasOwnProperty} = Object.prototype; + + for (var i = 0; i < mapResults.length; i++) { + if (mapResults[i]) { + var {key} = mapResults[i]; + var {val} = mapResults[i]; + + if (hasOwnProperty.call(result, key)) { + result[key].push(val); + } else { + result[key] = [val]; + } + } + } + + return callback(err, result); + }); + } + + var groupByLimit$1 = awaitify(groupByLimit, 4); + + /** + * Returns a new object, where each value corresponds to an array of items, from + * `coll`, that returned the corresponding key. That is, the keys of the object + * correspond to the values passed to the `iteratee` callback. + * + * Note: Since this function applies the `iteratee` to each item in parallel, + * there is no guarantee that the `iteratee` functions will complete in order. + * However, the values for each key in the `result` will be in the same order as + * the original `coll`. For Objects, the values will roughly be in the order of + * the original Objects' keys (but this can vary across JavaScript engines). + * + * @name groupBy + * @static + * @memberOf module:Collections + * @method + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with a `key` to group the value under. + * Invoked with (value, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Result is an `Object` whoses + * properties are arrays of values which returned the corresponding key. + * @returns {Promise} a promise, if no callback is passed + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * // dir4 does not exist + * + * const files = ['dir1/file1.txt','dir2','dir4'] + * + * // asynchronous function that detects file type as none, file, or directory + * function detectFile(file, callback) { + * fs.stat(file, function(err, stat) { + * if (err) { + * return callback(null, 'none'); + * } + * callback(null, stat.isDirectory() ? 'directory' : 'file'); + * }); + * } + * + * //Using callbacks + * async.groupBy(files, detectFile, function(err, result) { + * if(err) { + * console.log(err); + * } else { + * console.log(result); + * // { + * // file: [ 'dir1/file1.txt' ], + * // none: [ 'dir4' ], + * // directory: [ 'dir2'] + * // } + * // result is object containing the files grouped by type + * } + * }); + * + * // Using Promises + * async.groupBy(files, detectFile) + * .then( result => { + * console.log(result); + * // { + * // file: [ 'dir1/file1.txt' ], + * // none: [ 'dir4' ], + * // directory: [ 'dir2'] + * // } + * // result is object containing the files grouped by type + * }).catch( err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.groupBy(files, detectFile); + * console.log(result); + * // { + * // file: [ 'dir1/file1.txt' ], + * // none: [ 'dir4' ], + * // directory: [ 'dir2'] + * // } + * // result is object containing the files grouped by type + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ + function groupBy (coll, iteratee, callback) { + return groupByLimit$1(coll, Infinity, iteratee, callback) + } + + /** + * The same as [`groupBy`]{@link module:Collections.groupBy} but runs only a single async operation at a time. + * + * @name groupBySeries + * @static + * @memberOf module:Collections + * @method + * @see [async.groupBy]{@link module:Collections.groupBy} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with a `key` to group the value under. + * Invoked with (value, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Result is an `Object` whose + * properties are arrays of values which returned the corresponding key. + * @returns {Promise} a promise, if no callback is passed + */ + function groupBySeries (coll, iteratee, callback) { + return groupByLimit$1(coll, 1, iteratee, callback) + } + + /** + * Logs the result of an `async` function to the `console`. Only works in + * Node.js or in browsers that support `console.log` and `console.error` (such + * as FF and Chrome). If multiple arguments are returned from the async + * function, `console.log` is called on each argument in order. + * + * @name log + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {AsyncFunction} function - The function you want to eventually apply + * all arguments to. + * @param {...*} arguments... - Any number of arguments to apply to the function. + * @example + * + * // in a module + * var hello = function(name, callback) { + * setTimeout(function() { + * callback(null, 'hello ' + name); + * }, 1000); + * }; + * + * // in the node repl + * node> async.log(hello, 'world'); + * 'hello world' + */ + var log = consoleFunc('log'); + + /** + * The same as [`mapValues`]{@link module:Collections.mapValues} but runs a maximum of `limit` async operations at a + * time. + * + * @name mapValuesLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.mapValues]{@link module:Collections.mapValues} + * @category Collection + * @param {Object} obj - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - A function to apply to each value and key + * in `coll`. + * The iteratee should complete with the transformed value as its result. + * Invoked with (value, key, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. `result` is a new object consisting + * of each key from `obj`, with each transformed value on the right-hand side. + * Invoked with (err, result). + * @returns {Promise} a promise, if no callback is passed + */ + function mapValuesLimit(obj, limit, iteratee, callback) { + callback = once(callback); + var newObj = {}; + var _iteratee = wrapAsync(iteratee); + return eachOfLimit$2(limit)(obj, (val, key, next) => { + _iteratee(val, key, (err, result) => { + if (err) return next(err); + newObj[key] = result; + next(err); + }); + }, err => callback(err, newObj)); + } + + var mapValuesLimit$1 = awaitify(mapValuesLimit, 4); + + /** + * A relative of [`map`]{@link module:Collections.map}, designed for use with objects. + * + * Produces a new Object by mapping each value of `obj` through the `iteratee` + * function. The `iteratee` is called each `value` and `key` from `obj` and a + * callback for when it has finished processing. Each of these callbacks takes + * two arguments: an `error`, and the transformed item from `obj`. If `iteratee` + * passes an error to its callback, the main `callback` (for the `mapValues` + * function) is immediately called with the error. + * + * Note, the order of the keys in the result is not guaranteed. The keys will + * be roughly in the order they complete, (but this is very engine-specific) + * + * @name mapValues + * @static + * @memberOf module:Collections + * @method + * @category Collection + * @param {Object} obj - A collection to iterate over. + * @param {AsyncFunction} iteratee - A function to apply to each value and key + * in `coll`. + * The iteratee should complete with the transformed value as its result. + * Invoked with (value, key, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. `result` is a new object consisting + * of each key from `obj`, with each transformed value on the right-hand side. + * Invoked with (err, result). + * @returns {Promise} a promise, if no callback is passed + * @example + * + * // file1.txt is a file that is 1000 bytes in size + * // file2.txt is a file that is 2000 bytes in size + * // file3.txt is a file that is 3000 bytes in size + * // file4.txt does not exist + * + * const fileMap = { + * f1: 'file1.txt', + * f2: 'file2.txt', + * f3: 'file3.txt' + * }; + * + * const withMissingFileMap = { + * f1: 'file1.txt', + * f2: 'file2.txt', + * f3: 'file4.txt' + * }; + * + * // asynchronous function that returns the file size in bytes + * function getFileSizeInBytes(file, key, callback) { + * fs.stat(file, function(err, stat) { + * if (err) { + * return callback(err); + * } + * callback(null, stat.size); + * }); + * } + * + * // Using callbacks + * async.mapValues(fileMap, getFileSizeInBytes, function(err, result) { + * if (err) { + * console.log(err); + * } else { + * console.log(result); + * // result is now a map of file size in bytes for each file, e.g. + * // { + * // f1: 1000, + * // f2: 2000, + * // f3: 3000 + * // } + * } + * }); + * + * // Error handling + * async.mapValues(withMissingFileMap, getFileSizeInBytes, function(err, result) { + * if (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } else { + * console.log(result); + * } + * }); + * + * // Using Promises + * async.mapValues(fileMap, getFileSizeInBytes) + * .then( result => { + * console.log(result); + * // result is now a map of file size in bytes for each file, e.g. + * // { + * // f1: 1000, + * // f2: 2000, + * // f3: 3000 + * // } + * }).catch (err => { + * console.log(err); + * }); + * + * // Error Handling + * async.mapValues(withMissingFileMap, getFileSizeInBytes) + * .then( result => { + * console.log(result); + * }).catch (err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.mapValues(fileMap, getFileSizeInBytes); + * console.log(result); + * // result is now a map of file size in bytes for each file, e.g. + * // { + * // f1: 1000, + * // f2: 2000, + * // f3: 3000 + * // } + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // Error Handling + * async () => { + * try { + * let result = await async.mapValues(withMissingFileMap, getFileSizeInBytes); + * console.log(result); + * } + * catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } + * } + * + */ + function mapValues(obj, iteratee, callback) { + return mapValuesLimit$1(obj, Infinity, iteratee, callback) + } + + /** + * The same as [`mapValues`]{@link module:Collections.mapValues} but runs only a single async operation at a time. + * + * @name mapValuesSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.mapValues]{@link module:Collections.mapValues} + * @category Collection + * @param {Object} obj - A collection to iterate over. + * @param {AsyncFunction} iteratee - A function to apply to each value and key + * in `coll`. + * The iteratee should complete with the transformed value as its result. + * Invoked with (value, key, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. `result` is a new object consisting + * of each key from `obj`, with each transformed value on the right-hand side. + * Invoked with (err, result). + * @returns {Promise} a promise, if no callback is passed + */ + function mapValuesSeries(obj, iteratee, callback) { + return mapValuesLimit$1(obj, 1, iteratee, callback) + } + + /** + * Caches the results of an async function. When creating a hash to store + * function results against, the callback is omitted from the hash and an + * optional hash function can be used. + * + * **Note: if the async function errs, the result will not be cached and + * subsequent calls will call the wrapped function.** + * + * If no hash function is specified, the first argument is used as a hash key, + * which may work reasonably if it is a string or a data type that converts to a + * distinct string. Note that objects and arrays will not behave reasonably. + * Neither will cases where the other arguments are significant. In such cases, + * specify your own hash function. + * + * The cache of results is exposed as the `memo` property of the function + * returned by `memoize`. + * + * @name memoize + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {AsyncFunction} fn - The async function to proxy and cache results from. + * @param {Function} hasher - An optional function for generating a custom hash + * for storing results. It has all the arguments applied to it apart from the + * callback, and must be synchronous. + * @returns {AsyncFunction} a memoized version of `fn` + * @example + * + * var slow_fn = function(name, callback) { + * // do something + * callback(null, result); + * }; + * var fn = async.memoize(slow_fn); + * + * // fn can now be used as if it were slow_fn + * fn('some name', function() { + * // callback + * }); + */ + function memoize(fn, hasher = v => v) { + var memo = Object.create(null); + var queues = Object.create(null); + var _fn = wrapAsync(fn); + var memoized = initialParams((args, callback) => { + var key = hasher(...args); + if (key in memo) { + setImmediate$1(() => callback(null, ...memo[key])); + } else if (key in queues) { + queues[key].push(callback); + } else { + queues[key] = [callback]; + _fn(...args, (err, ...resultArgs) => { + // #1465 don't memoize if an error occurred + if (!err) { + memo[key] = resultArgs; + } + var q = queues[key]; + delete queues[key]; + for (var i = 0, l = q.length; i < l; i++) { + q[i](err, ...resultArgs); + } + }); + } + }); + memoized.memo = memo; + memoized.unmemoized = fn; + return memoized; + } + + /* istanbul ignore file */ + + /** + * Calls `callback` on a later loop around the event loop. In Node.js this just + * calls `process.nextTick`. In the browser it will use `setImmediate` if + * available, otherwise `setTimeout(callback, 0)`, which means other higher + * priority events may precede the execution of `callback`. + * + * This is used internally for browser-compatibility purposes. + * + * @name nextTick + * @static + * @memberOf module:Utils + * @method + * @see [async.setImmediate]{@link module:Utils.setImmediate} + * @category Util + * @param {Function} callback - The function to call on a later loop around + * the event loop. Invoked with (args...). + * @param {...*} args... - any number of additional arguments to pass to the + * callback on the next tick. + * @example + * + * var call_order = []; + * async.nextTick(function() { + * call_order.push('two'); + * // call_order now equals ['one','two'] + * }); + * call_order.push('one'); + * + * async.setImmediate(function (a, b, c) { + * // a, b, and c equal 1, 2, and 3 + * }, 1, 2, 3); + */ + var _defer; + + if (hasNextTick) { + _defer = process.nextTick; + } else if (hasSetImmediate) { + _defer = setImmediate; + } else { + _defer = fallback; + } + + var nextTick = wrap(_defer); + + var _parallel = awaitify((eachfn, tasks, callback) => { + var results = isArrayLike(tasks) ? [] : {}; + + eachfn(tasks, (task, key, taskCb) => { + wrapAsync(task)((err, ...result) => { + if (result.length < 2) { + [result] = result; + } + results[key] = result; + taskCb(err); + }); + }, err => callback(err, results)); + }, 3); + + /** + * Run the `tasks` collection of functions in parallel, without waiting until + * the previous function has completed. If any of the functions pass an error to + * its callback, the main `callback` is immediately called with the value of the + * error. Once the `tasks` have completed, the results are passed to the final + * `callback` as an array. + * + * **Note:** `parallel` is about kicking-off I/O tasks in parallel, not about + * parallel execution of code. If your tasks do not use any timers or perform + * any I/O, they will actually be executed in series. Any synchronous setup + * sections for each task will happen one after the other. JavaScript remains + * single-threaded. + * + * **Hint:** Use [`reflect`]{@link module:Utils.reflect} to continue the + * execution of other tasks when a task fails. + * + * It is also possible to use an object instead of an array. Each property will + * be run as a function and the results will be passed to the final `callback` + * as an object instead of an array. This can be a more readable way of handling + * results from {@link async.parallel}. + * + * @name parallel + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Array|Iterable|AsyncIterable|Object} tasks - A collection of + * [async functions]{@link AsyncFunction} to run. + * Each async function can complete with any number of optional `result` values. + * @param {Function} [callback] - An optional callback to run once all the + * functions have completed successfully. This function gets a results array + * (or object) containing all the result arguments passed to the task callbacks. + * Invoked with (err, results). + * @returns {Promise} a promise, if a callback is not passed + * + * @example + * + * //Using Callbacks + * async.parallel([ + * function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * callback(null, 'two'); + * }, 100); + * } + * ], function(err, results) { + * console.log(results); + * // results is equal to ['one','two'] even though + * // the second function had a shorter timeout. + * }); + * + * // an example using an object instead of an array + * async.parallel({ + * one: function(callback) { + * setTimeout(function() { + * callback(null, 1); + * }, 200); + * }, + * two: function(callback) { + * setTimeout(function() { + * callback(null, 2); + * }, 100); + * } + * }, function(err, results) { + * console.log(results); + * // results is equal to: { one: 1, two: 2 } + * }); + * + * //Using Promises + * async.parallel([ + * function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * callback(null, 'two'); + * }, 100); + * } + * ]).then(results => { + * console.log(results); + * // results is equal to ['one','two'] even though + * // the second function had a shorter timeout. + * }).catch(err => { + * console.log(err); + * }); + * + * // an example using an object instead of an array + * async.parallel({ + * one: function(callback) { + * setTimeout(function() { + * callback(null, 1); + * }, 200); + * }, + * two: function(callback) { + * setTimeout(function() { + * callback(null, 2); + * }, 100); + * } + * }).then(results => { + * console.log(results); + * // results is equal to: { one: 1, two: 2 } + * }).catch(err => { + * console.log(err); + * }); + * + * //Using async/await + * async () => { + * try { + * let results = await async.parallel([ + * function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * callback(null, 'two'); + * }, 100); + * } + * ]); + * console.log(results); + * // results is equal to ['one','two'] even though + * // the second function had a shorter timeout. + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // an example using an object instead of an array + * async () => { + * try { + * let results = await async.parallel({ + * one: function(callback) { + * setTimeout(function() { + * callback(null, 1); + * }, 200); + * }, + * two: function(callback) { + * setTimeout(function() { + * callback(null, 2); + * }, 100); + * } + * }); + * console.log(results); + * // results is equal to: { one: 1, two: 2 } + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ + function parallel(tasks, callback) { + return _parallel(eachOf$1, tasks, callback); + } + + /** + * The same as [`parallel`]{@link module:ControlFlow.parallel} but runs a maximum of `limit` async operations at a + * time. + * + * @name parallelLimit + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.parallel]{@link module:ControlFlow.parallel} + * @category Control Flow + * @param {Array|Iterable|AsyncIterable|Object} tasks - A collection of + * [async functions]{@link AsyncFunction} to run. + * Each async function can complete with any number of optional `result` values. + * @param {number} limit - The maximum number of async operations at a time. + * @param {Function} [callback] - An optional callback to run once all the + * functions have completed successfully. This function gets a results array + * (or object) containing all the result arguments passed to the task callbacks. + * Invoked with (err, results). + * @returns {Promise} a promise, if a callback is not passed + */ + function parallelLimit(tasks, limit, callback) { + return _parallel(eachOfLimit$2(limit), tasks, callback); + } + + /** + * A queue of tasks for the worker function to complete. + * @typedef {Iterable} QueueObject + * @memberOf module:ControlFlow + * @property {Function} length - a function returning the number of items + * waiting to be processed. Invoke with `queue.length()`. + * @property {boolean} started - a boolean indicating whether or not any + * items have been pushed and processed by the queue. + * @property {Function} running - a function returning the number of items + * currently being processed. Invoke with `queue.running()`. + * @property {Function} workersList - a function returning the array of items + * currently being processed. Invoke with `queue.workersList()`. + * @property {Function} idle - a function returning false if there are items + * waiting or being processed, or true if not. Invoke with `queue.idle()`. + * @property {number} concurrency - an integer for determining how many `worker` + * functions should be run in parallel. This property can be changed after a + * `queue` is created to alter the concurrency on-the-fly. + * @property {number} payload - an integer that specifies how many items are + * passed to the worker function at a time. only applies if this is a + * [cargo]{@link module:ControlFlow.cargo} object + * @property {AsyncFunction} push - add a new task to the `queue`. Calls `callback` + * once the `worker` has finished processing the task. Instead of a single task, + * a `tasks` array can be submitted. The respective callback is used for every + * task in the list. Invoke with `queue.push(task, [callback])`, + * @property {AsyncFunction} unshift - add a new task to the front of the `queue`. + * Invoke with `queue.unshift(task, [callback])`. + * @property {AsyncFunction} pushAsync - the same as `q.push`, except this returns + * a promise that rejects if an error occurs. + * @property {AsyncFunction} unshiftAsync - the same as `q.unshift`, except this returns + * a promise that rejects if an error occurs. + * @property {Function} remove - remove items from the queue that match a test + * function. The test function will be passed an object with a `data` property, + * and a `priority` property, if this is a + * [priorityQueue]{@link module:ControlFlow.priorityQueue} object. + * Invoked with `queue.remove(testFn)`, where `testFn` is of the form + * `function ({data, priority}) {}` and returns a Boolean. + * @property {Function} saturated - a function that sets a callback that is + * called when the number of running workers hits the `concurrency` limit, and + * further tasks will be queued. If the callback is omitted, `q.saturated()` + * returns a promise for the next occurrence. + * @property {Function} unsaturated - a function that sets a callback that is + * called when the number of running workers is less than the `concurrency` & + * `buffer` limits, and further tasks will not be queued. If the callback is + * omitted, `q.unsaturated()` returns a promise for the next occurrence. + * @property {number} buffer - A minimum threshold buffer in order to say that + * the `queue` is `unsaturated`. + * @property {Function} empty - a function that sets a callback that is called + * when the last item from the `queue` is given to a `worker`. If the callback + * is omitted, `q.empty()` returns a promise for the next occurrence. + * @property {Function} drain - a function that sets a callback that is called + * when the last item from the `queue` has returned from the `worker`. If the + * callback is omitted, `q.drain()` returns a promise for the next occurrence. + * @property {Function} error - a function that sets a callback that is called + * when a task errors. Has the signature `function(error, task)`. If the + * callback is omitted, `error()` returns a promise that rejects on the next + * error. + * @property {boolean} paused - a boolean for determining whether the queue is + * in a paused state. + * @property {Function} pause - a function that pauses the processing of tasks + * until `resume()` is called. Invoke with `queue.pause()`. + * @property {Function} resume - a function that resumes the processing of + * queued tasks when the queue is paused. Invoke with `queue.resume()`. + * @property {Function} kill - a function that removes the `drain` callback and + * empties remaining tasks from the queue forcing it to go idle. No more tasks + * should be pushed to the queue after calling this function. Invoke with `queue.kill()`. + * + * @example + * const q = async.queue(worker, 2) + * q.push(item1) + * q.push(item2) + * q.push(item3) + * // queues are iterable, spread into an array to inspect + * const items = [...q] // [item1, item2, item3] + * // or use for of + * for (let item of q) { + * console.log(item) + * } + * + * q.drain(() => { + * console.log('all done') + * }) + * // or + * await q.drain() + */ + + /** + * Creates a `queue` object with the specified `concurrency`. Tasks added to the + * `queue` are processed in parallel (up to the `concurrency` limit). If all + * `worker`s are in progress, the task is queued until one becomes available. + * Once a `worker` completes a `task`, that `task`'s callback is called. + * + * @name queue + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {AsyncFunction} worker - An async function for processing a queued task. + * If you want to handle errors from an individual task, pass a callback to + * `q.push()`. Invoked with (task, callback). + * @param {number} [concurrency=1] - An `integer` for determining how many + * `worker` functions should be run in parallel. If omitted, the concurrency + * defaults to `1`. If the concurrency is `0`, an error is thrown. + * @returns {module:ControlFlow.QueueObject} A queue object to manage the tasks. Callbacks can be + * attached as certain properties to listen for specific events during the + * lifecycle of the queue. + * @example + * + * // create a queue object with concurrency 2 + * var q = async.queue(function(task, callback) { + * console.log('hello ' + task.name); + * callback(); + * }, 2); + * + * // assign a callback + * q.drain(function() { + * console.log('all items have been processed'); + * }); + * // or await the end + * await q.drain() + * + * // assign an error callback + * q.error(function(err, task) { + * console.error('task experienced an error'); + * }); + * + * // add some items to the queue + * q.push({name: 'foo'}, function(err) { + * console.log('finished processing foo'); + * }); + * // callback is optional + * q.push({name: 'bar'}); + * + * // add some items to the queue (batch-wise) + * q.push([{name: 'baz'},{name: 'bay'},{name: 'bax'}], function(err) { + * console.log('finished processing item'); + * }); + * + * // add some items to the front of the queue + * q.unshift({name: 'bar'}, function (err) { + * console.log('finished processing bar'); + * }); + */ + function queue (worker, concurrency) { + var _worker = wrapAsync(worker); + return queue$1((items, cb) => { + _worker(items[0], cb); + }, concurrency, 1); + } + + // Binary min-heap implementation used for priority queue. + // Implementation is stable, i.e. push time is considered for equal priorities + class Heap { + constructor() { + this.heap = []; + this.pushCount = Number.MIN_SAFE_INTEGER; + } + + get length() { + return this.heap.length; + } + + empty () { + this.heap = []; + return this; + } + + percUp(index) { + let p; + + while (index > 0 && smaller(this.heap[index], this.heap[p=parent(index)])) { + let t = this.heap[index]; + this.heap[index] = this.heap[p]; + this.heap[p] = t; + + index = p; + } + } + + percDown(index) { + let l; + + while ((l=leftChi(index)) < this.heap.length) { + if (l+1 < this.heap.length && smaller(this.heap[l+1], this.heap[l])) { + l = l+1; + } + + if (smaller(this.heap[index], this.heap[l])) { + break; + } + + let t = this.heap[index]; + this.heap[index] = this.heap[l]; + this.heap[l] = t; + + index = l; + } + } + + push(node) { + node.pushCount = ++this.pushCount; + this.heap.push(node); + this.percUp(this.heap.length-1); + } + + unshift(node) { + return this.heap.push(node); + } + + shift() { + let [top] = this.heap; + + this.heap[0] = this.heap[this.heap.length-1]; + this.heap.pop(); + this.percDown(0); + + return top; + } + + toArray() { + return [...this]; + } + + *[Symbol.iterator] () { + for (let i = 0; i < this.heap.length; i++) { + yield this.heap[i].data; + } + } + + remove (testFn) { + let j = 0; + for (let i = 0; i < this.heap.length; i++) { + if (!testFn(this.heap[i])) { + this.heap[j] = this.heap[i]; + j++; + } + } + + this.heap.splice(j); + + for (let i = parent(this.heap.length-1); i >= 0; i--) { + this.percDown(i); + } + + return this; + } + } + + function leftChi(i) { + return (i<<1)+1; + } + + function parent(i) { + return ((i+1)>>1)-1; + } + + function smaller(x, y) { + if (x.priority !== y.priority) { + return x.priority < y.priority; + } + else { + return x.pushCount < y.pushCount; + } + } + + /** + * The same as [async.queue]{@link module:ControlFlow.queue} only tasks are assigned a priority and + * completed in ascending priority order. + * + * @name priorityQueue + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.queue]{@link module:ControlFlow.queue} + * @category Control Flow + * @param {AsyncFunction} worker - An async function for processing a queued task. + * If you want to handle errors from an individual task, pass a callback to + * `q.push()`. + * Invoked with (task, callback). + * @param {number} concurrency - An `integer` for determining how many `worker` + * functions should be run in parallel. If omitted, the concurrency defaults to + * `1`. If the concurrency is `0`, an error is thrown. + * @returns {module:ControlFlow.QueueObject} A priorityQueue object to manage the tasks. There are three + * differences between `queue` and `priorityQueue` objects: + * * `push(task, priority, [callback])` - `priority` should be a number. If an + * array of `tasks` is given, all tasks will be assigned the same priority. + * * `pushAsync(task, priority, [callback])` - the same as `priorityQueue.push`, + * except this returns a promise that rejects if an error occurs. + * * The `unshift` and `unshiftAsync` methods were removed. + */ + function priorityQueue(worker, concurrency) { + // Start with a normal queue + var q = queue(worker, concurrency); + + var { + push, + pushAsync + } = q; + + q._tasks = new Heap(); + q._createTaskItem = ({data, priority}, callback) => { + return { + data, + priority, + callback + }; + }; + + function createDataItems(tasks, priority) { + if (!Array.isArray(tasks)) { + return {data: tasks, priority}; + } + return tasks.map(data => { return {data, priority}; }); + } + + // Override push to accept second parameter representing priority + q.push = function(data, priority = 0, callback) { + return push(createDataItems(data, priority), callback); + }; + + q.pushAsync = function(data, priority = 0, callback) { + return pushAsync(createDataItems(data, priority), callback); + }; + + // Remove unshift functions + delete q.unshift; + delete q.unshiftAsync; + + return q; + } + + /** + * Runs the `tasks` array of functions in parallel, without waiting until the + * previous function has completed. Once any of the `tasks` complete or pass an + * error to its callback, the main `callback` is immediately called. It's + * equivalent to `Promise.race()`. + * + * @name race + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Array} tasks - An array containing [async functions]{@link AsyncFunction} + * to run. Each function can complete with an optional `result` value. + * @param {Function} callback - A callback to run once any of the functions have + * completed. This function gets an error or result from the first function that + * completed. Invoked with (err, result). + * @returns {Promise} a promise, if a callback is omitted + * @example + * + * async.race([ + * function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * callback(null, 'two'); + * }, 100); + * } + * ], + * // main callback + * function(err, result) { + * // the result will be equal to 'two' as it finishes earlier + * }); + */ + function race(tasks, callback) { + callback = once(callback); + if (!Array.isArray(tasks)) return callback(new TypeError('First argument to race must be an array of functions')); + if (!tasks.length) return callback(); + for (var i = 0, l = tasks.length; i < l; i++) { + wrapAsync(tasks[i])(callback); + } + } + + var race$1 = awaitify(race, 2); + + /** + * Same as [`reduce`]{@link module:Collections.reduce}, only operates on `array` in reverse order. + * + * @name reduceRight + * @static + * @memberOf module:Collections + * @method + * @see [async.reduce]{@link module:Collections.reduce} + * @alias foldr + * @category Collection + * @param {Array} array - A collection to iterate over. + * @param {*} memo - The initial state of the reduction. + * @param {AsyncFunction} iteratee - A function applied to each item in the + * array to produce the next step in the reduction. + * The `iteratee` should complete with the next state of the reduction. + * If the iteratee completes with an error, the reduction is stopped and the + * main `callback` is immediately called with the error. + * Invoked with (memo, item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result is the reduced value. Invoked with + * (err, result). + * @returns {Promise} a promise, if no callback is passed + */ + function reduceRight (array, memo, iteratee, callback) { + var reversed = [...array].reverse(); + return reduce$1(reversed, memo, iteratee, callback); + } + + /** + * Wraps the async function in another function that always completes with a + * result object, even when it errors. + * + * The result object has either the property `error` or `value`. + * + * @name reflect + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {AsyncFunction} fn - The async function you want to wrap + * @returns {Function} - A function that always passes null to it's callback as + * the error. The second argument to the callback will be an `object` with + * either an `error` or a `value` property. + * @example + * + * async.parallel([ + * async.reflect(function(callback) { + * // do some stuff ... + * callback(null, 'one'); + * }), + * async.reflect(function(callback) { + * // do some more stuff but error ... + * callback('bad stuff happened'); + * }), + * async.reflect(function(callback) { + * // do some more stuff ... + * callback(null, 'two'); + * }) + * ], + * // optional callback + * function(err, results) { + * // values + * // results[0].value = 'one' + * // results[1].error = 'bad stuff happened' + * // results[2].value = 'two' + * }); + */ + function reflect(fn) { + var _fn = wrapAsync(fn); + return initialParams(function reflectOn(args, reflectCallback) { + args.push((error, ...cbArgs) => { + let retVal = {}; + if (error) { + retVal.error = error; + } + if (cbArgs.length > 0){ + var value = cbArgs; + if (cbArgs.length <= 1) { + [value] = cbArgs; + } + retVal.value = value; + } + reflectCallback(null, retVal); + }); + + return _fn.apply(this, args); + }); + } + + /** + * A helper function that wraps an array or an object of functions with `reflect`. + * + * @name reflectAll + * @static + * @memberOf module:Utils + * @method + * @see [async.reflect]{@link module:Utils.reflect} + * @category Util + * @param {Array|Object|Iterable} tasks - The collection of + * [async functions]{@link AsyncFunction} to wrap in `async.reflect`. + * @returns {Array} Returns an array of async functions, each wrapped in + * `async.reflect` + * @example + * + * let tasks = [ + * function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * // do some more stuff but error ... + * callback(new Error('bad stuff happened')); + * }, + * function(callback) { + * setTimeout(function() { + * callback(null, 'two'); + * }, 100); + * } + * ]; + * + * async.parallel(async.reflectAll(tasks), + * // optional callback + * function(err, results) { + * // values + * // results[0].value = 'one' + * // results[1].error = Error('bad stuff happened') + * // results[2].value = 'two' + * }); + * + * // an example using an object instead of an array + * let tasks = { + * one: function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * two: function(callback) { + * callback('two'); + * }, + * three: function(callback) { + * setTimeout(function() { + * callback(null, 'three'); + * }, 100); + * } + * }; + * + * async.parallel(async.reflectAll(tasks), + * // optional callback + * function(err, results) { + * // values + * // results.one.value = 'one' + * // results.two.error = 'two' + * // results.three.value = 'three' + * }); + */ + function reflectAll(tasks) { + var results; + if (Array.isArray(tasks)) { + results = tasks.map(reflect); + } else { + results = {}; + Object.keys(tasks).forEach(key => { + results[key] = reflect.call(this, tasks[key]); + }); + } + return results; + } + + function reject$2(eachfn, arr, _iteratee, callback) { + const iteratee = wrapAsync(_iteratee); + return _filter(eachfn, arr, (value, cb) => { + iteratee(value, (err, v) => { + cb(err, !v); + }); + }, callback); + } + + /** + * The opposite of [`filter`]{@link module:Collections.filter}. Removes values that pass an `async` truth test. + * + * @name reject + * @static + * @memberOf module:Collections + * @method + * @see [async.filter]{@link module:Collections.filter} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {Function} iteratee - An async truth test to apply to each item in + * `coll`. + * The should complete with a boolean value as its `result`. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results). + * @returns {Promise} a promise, if no callback is passed + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * + * const fileList = ['dir1/file1.txt','dir2/file3.txt','dir3/file6.txt']; + * + * // asynchronous function that checks if a file exists + * function fileExists(file, callback) { + * fs.access(file, fs.constants.F_OK, (err) => { + * callback(null, !err); + * }); + * } + * + * // Using callbacks + * async.reject(fileList, fileExists, function(err, results) { + * // [ 'dir3/file6.txt' ] + * // results now equals an array of the non-existing files + * }); + * + * // Using Promises + * async.reject(fileList, fileExists) + * .then( results => { + * console.log(results); + * // [ 'dir3/file6.txt' ] + * // results now equals an array of the non-existing files + * }).catch( err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let results = await async.reject(fileList, fileExists); + * console.log(results); + * // [ 'dir3/file6.txt' ] + * // results now equals an array of the non-existing files + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ + function reject (coll, iteratee, callback) { + return reject$2(eachOf$1, coll, iteratee, callback) + } + var reject$1 = awaitify(reject, 3); + + /** + * The same as [`reject`]{@link module:Collections.reject} but runs a maximum of `limit` async operations at a + * time. + * + * @name rejectLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.reject]{@link module:Collections.reject} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {Function} iteratee - An async truth test to apply to each item in + * `coll`. + * The should complete with a boolean value as its `result`. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results). + * @returns {Promise} a promise, if no callback is passed + */ + function rejectLimit (coll, limit, iteratee, callback) { + return reject$2(eachOfLimit$2(limit), coll, iteratee, callback) + } + var rejectLimit$1 = awaitify(rejectLimit, 4); + + /** + * The same as [`reject`]{@link module:Collections.reject} but runs only a single async operation at a time. + * + * @name rejectSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.reject]{@link module:Collections.reject} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {Function} iteratee - An async truth test to apply to each item in + * `coll`. + * The should complete with a boolean value as its `result`. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results). + * @returns {Promise} a promise, if no callback is passed + */ + function rejectSeries (coll, iteratee, callback) { + return reject$2(eachOfSeries$1, coll, iteratee, callback) + } + var rejectSeries$1 = awaitify(rejectSeries, 3); + + function constant(value) { + return function () { + return value; + } + } + + /** + * Attempts to get a successful response from `task` no more than `times` times + * before returning an error. If the task is successful, the `callback` will be + * passed the result of the successful task. If all attempts fail, the callback + * will be passed the error and result (if any) of the final attempt. + * + * @name retry + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @see [async.retryable]{@link module:ControlFlow.retryable} + * @param {Object|number} [opts = {times: 5, interval: 0}| 5] - Can be either an + * object with `times` and `interval` or a number. + * * `times` - The number of attempts to make before giving up. The default + * is `5`. + * * `interval` - The time to wait between retries, in milliseconds. The + * default is `0`. The interval may also be specified as a function of the + * retry count (see example). + * * `errorFilter` - An optional synchronous function that is invoked on + * erroneous result. If it returns `true` the retry attempts will continue; + * if the function returns `false` the retry flow is aborted with the current + * attempt's error and result being returned to the final callback. + * Invoked with (err). + * * If `opts` is a number, the number specifies the number of times to retry, + * with the default interval of `0`. + * @param {AsyncFunction} task - An async function to retry. + * Invoked with (callback). + * @param {Function} [callback] - An optional callback which is called when the + * task has succeeded, or after the final failed attempt. It receives the `err` + * and `result` arguments of the last attempt at completing the `task`. Invoked + * with (err, results). + * @returns {Promise} a promise if no callback provided + * + * @example + * + * // The `retry` function can be used as a stand-alone control flow by passing + * // a callback, as shown below: + * + * // try calling apiMethod 3 times + * async.retry(3, apiMethod, function(err, result) { + * // do something with the result + * }); + * + * // try calling apiMethod 3 times, waiting 200 ms between each retry + * async.retry({times: 3, interval: 200}, apiMethod, function(err, result) { + * // do something with the result + * }); + * + * // try calling apiMethod 10 times with exponential backoff + * // (i.e. intervals of 100, 200, 400, 800, 1600, ... milliseconds) + * async.retry({ + * times: 10, + * interval: function(retryCount) { + * return 50 * Math.pow(2, retryCount); + * } + * }, apiMethod, function(err, result) { + * // do something with the result + * }); + * + * // try calling apiMethod the default 5 times no delay between each retry + * async.retry(apiMethod, function(err, result) { + * // do something with the result + * }); + * + * // try calling apiMethod only when error condition satisfies, all other + * // errors will abort the retry control flow and return to final callback + * async.retry({ + * errorFilter: function(err) { + * return err.message === 'Temporary error'; // only retry on a specific error + * } + * }, apiMethod, function(err, result) { + * // do something with the result + * }); + * + * // to retry individual methods that are not as reliable within other + * // control flow functions, use the `retryable` wrapper: + * async.auto({ + * users: api.getUsers.bind(api), + * payments: async.retryable(3, api.getPayments.bind(api)) + * }, function(err, results) { + * // do something with the results + * }); + * + */ + const DEFAULT_TIMES = 5; + const DEFAULT_INTERVAL = 0; + + function retry(opts, task, callback) { + var options = { + times: DEFAULT_TIMES, + intervalFunc: constant(DEFAULT_INTERVAL) + }; + + if (arguments.length < 3 && typeof opts === 'function') { + callback = task || promiseCallback(); + task = opts; + } else { + parseTimes(options, opts); + callback = callback || promiseCallback(); + } + + if (typeof task !== 'function') { + throw new Error("Invalid arguments for async.retry"); + } + + var _task = wrapAsync(task); + + var attempt = 1; + function retryAttempt() { + _task((err, ...args) => { + if (err === false) return + if (err && attempt++ < options.times && + (typeof options.errorFilter != 'function' || + options.errorFilter(err))) { + setTimeout(retryAttempt, options.intervalFunc(attempt - 1)); + } else { + callback(err, ...args); + } + }); + } + + retryAttempt(); + return callback[PROMISE_SYMBOL] + } + + function parseTimes(acc, t) { + if (typeof t === 'object') { + acc.times = +t.times || DEFAULT_TIMES; + + acc.intervalFunc = typeof t.interval === 'function' ? + t.interval : + constant(+t.interval || DEFAULT_INTERVAL); + + acc.errorFilter = t.errorFilter; + } else if (typeof t === 'number' || typeof t === 'string') { + acc.times = +t || DEFAULT_TIMES; + } else { + throw new Error("Invalid arguments for async.retry"); + } + } + + /** + * A close relative of [`retry`]{@link module:ControlFlow.retry}. This method + * wraps a task and makes it retryable, rather than immediately calling it + * with retries. + * + * @name retryable + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.retry]{@link module:ControlFlow.retry} + * @category Control Flow + * @param {Object|number} [opts = {times: 5, interval: 0}| 5] - optional + * options, exactly the same as from `retry`, except for a `opts.arity` that + * is the arity of the `task` function, defaulting to `task.length` + * @param {AsyncFunction} task - the asynchronous function to wrap. + * This function will be passed any arguments passed to the returned wrapper. + * Invoked with (...args, callback). + * @returns {AsyncFunction} The wrapped function, which when invoked, will + * retry on an error, based on the parameters specified in `opts`. + * This function will accept the same parameters as `task`. + * @example + * + * async.auto({ + * dep1: async.retryable(3, getFromFlakyService), + * process: ["dep1", async.retryable(3, function (results, cb) { + * maybeProcessData(results.dep1, cb); + * })] + * }, callback); + */ + function retryable (opts, task) { + if (!task) { + task = opts; + opts = null; + } + let arity = (opts && opts.arity) || task.length; + if (isAsync(task)) { + arity += 1; + } + var _task = wrapAsync(task); + return initialParams((args, callback) => { + if (args.length < arity - 1 || callback == null) { + args.push(callback); + callback = promiseCallback(); + } + function taskFn(cb) { + _task(...args, cb); + } + + if (opts) retry(opts, taskFn, callback); + else retry(taskFn, callback); + + return callback[PROMISE_SYMBOL] + }); + } + + /** + * Run the functions in the `tasks` collection in series, each one running once + * the previous function has completed. If any functions in the series pass an + * error to its callback, no more functions are run, and `callback` is + * immediately called with the value of the error. Otherwise, `callback` + * receives an array of results when `tasks` have completed. + * + * It is also possible to use an object instead of an array. Each property will + * be run as a function, and the results will be passed to the final `callback` + * as an object instead of an array. This can be a more readable way of handling + * results from {@link async.series}. + * + * **Note** that while many implementations preserve the order of object + * properties, the [ECMAScript Language Specification](http://www.ecma-international.org/ecma-262/5.1/#sec-8.6) + * explicitly states that + * + * > The mechanics and order of enumerating the properties is not specified. + * + * So if you rely on the order in which your series of functions are executed, + * and want this to work on all platforms, consider using an array. + * + * @name series + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Array|Iterable|AsyncIterable|Object} tasks - A collection containing + * [async functions]{@link AsyncFunction} to run in series. + * Each function can complete with any number of optional `result` values. + * @param {Function} [callback] - An optional callback to run once all the + * functions have completed. This function gets a results array (or object) + * containing all the result arguments passed to the `task` callbacks. Invoked + * with (err, result). + * @return {Promise} a promise, if no callback is passed + * @example + * + * //Using Callbacks + * async.series([ + * function(callback) { + * setTimeout(function() { + * // do some async task + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * // then do another async task + * callback(null, 'two'); + * }, 100); + * } + * ], function(err, results) { + * console.log(results); + * // results is equal to ['one','two'] + * }); + * + * // an example using objects instead of arrays + * async.series({ + * one: function(callback) { + * setTimeout(function() { + * // do some async task + * callback(null, 1); + * }, 200); + * }, + * two: function(callback) { + * setTimeout(function() { + * // then do another async task + * callback(null, 2); + * }, 100); + * } + * }, function(err, results) { + * console.log(results); + * // results is equal to: { one: 1, two: 2 } + * }); + * + * //Using Promises + * async.series([ + * function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * callback(null, 'two'); + * }, 100); + * } + * ]).then(results => { + * console.log(results); + * // results is equal to ['one','two'] + * }).catch(err => { + * console.log(err); + * }); + * + * // an example using an object instead of an array + * async.series({ + * one: function(callback) { + * setTimeout(function() { + * // do some async task + * callback(null, 1); + * }, 200); + * }, + * two: function(callback) { + * setTimeout(function() { + * // then do another async task + * callback(null, 2); + * }, 100); + * } + * }).then(results => { + * console.log(results); + * // results is equal to: { one: 1, two: 2 } + * }).catch(err => { + * console.log(err); + * }); + * + * //Using async/await + * async () => { + * try { + * let results = await async.series([ + * function(callback) { + * setTimeout(function() { + * // do some async task + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * // then do another async task + * callback(null, 'two'); + * }, 100); + * } + * ]); + * console.log(results); + * // results is equal to ['one','two'] + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // an example using an object instead of an array + * async () => { + * try { + * let results = await async.parallel({ + * one: function(callback) { + * setTimeout(function() { + * // do some async task + * callback(null, 1); + * }, 200); + * }, + * two: function(callback) { + * setTimeout(function() { + * // then do another async task + * callback(null, 2); + * }, 100); + * } + * }); + * console.log(results); + * // results is equal to: { one: 1, two: 2 } + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ + function series(tasks, callback) { + return _parallel(eachOfSeries$1, tasks, callback); + } + + /** + * Returns `true` if at least one element in the `coll` satisfies an async test. + * If any iteratee call returns `true`, the main `callback` is immediately + * called. + * + * @name some + * @static + * @memberOf module:Collections + * @method + * @alias any + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collections in parallel. + * The iteratee should complete with a boolean `result` value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the iteratee functions have finished. + * Result will be either `true` or `false` depending on the values of the async + * tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * // dir4 does not exist + * + * // asynchronous function that checks if a file exists + * function fileExists(file, callback) { + * fs.access(file, fs.constants.F_OK, (err) => { + * callback(null, !err); + * }); + * } + * + * // Using callbacks + * async.some(['dir1/missing.txt','dir2/missing.txt','dir3/file5.txt'], fileExists, + * function(err, result) { + * console.log(result); + * // true + * // result is true since some file in the list exists + * } + *); + * + * async.some(['dir1/missing.txt','dir2/missing.txt','dir4/missing.txt'], fileExists, + * function(err, result) { + * console.log(result); + * // false + * // result is false since none of the files exists + * } + *); + * + * // Using Promises + * async.some(['dir1/missing.txt','dir2/missing.txt','dir3/file5.txt'], fileExists) + * .then( result => { + * console.log(result); + * // true + * // result is true since some file in the list exists + * }).catch( err => { + * console.log(err); + * }); + * + * async.some(['dir1/missing.txt','dir2/missing.txt','dir4/missing.txt'], fileExists) + * .then( result => { + * console.log(result); + * // false + * // result is false since none of the files exists + * }).catch( err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.some(['dir1/missing.txt','dir2/missing.txt','dir3/file5.txt'], fileExists); + * console.log(result); + * // true + * // result is true since some file in the list exists + * } + * catch (err) { + * console.log(err); + * } + * } + * + * async () => { + * try { + * let result = await async.some(['dir1/missing.txt','dir2/missing.txt','dir4/missing.txt'], fileExists); + * console.log(result); + * // false + * // result is false since none of the files exists + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ + function some(coll, iteratee, callback) { + return _createTester(Boolean, res => res)(eachOf$1, coll, iteratee, callback) + } + var some$1 = awaitify(some, 3); + + /** + * The same as [`some`]{@link module:Collections.some} but runs a maximum of `limit` async operations at a time. + * + * @name someLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.some]{@link module:Collections.some} + * @alias anyLimit + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collections in parallel. + * The iteratee should complete with a boolean `result` value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the iteratee functions have finished. + * Result will be either `true` or `false` depending on the values of the async + * tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + */ + function someLimit(coll, limit, iteratee, callback) { + return _createTester(Boolean, res => res)(eachOfLimit$2(limit), coll, iteratee, callback) + } + var someLimit$1 = awaitify(someLimit, 4); + + /** + * The same as [`some`]{@link module:Collections.some} but runs only a single async operation at a time. + * + * @name someSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.some]{@link module:Collections.some} + * @alias anySeries + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collections in series. + * The iteratee should complete with a boolean `result` value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the iteratee functions have finished. + * Result will be either `true` or `false` depending on the values of the async + * tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + */ + function someSeries(coll, iteratee, callback) { + return _createTester(Boolean, res => res)(eachOfSeries$1, coll, iteratee, callback) + } + var someSeries$1 = awaitify(someSeries, 3); + + /** + * Sorts a list by the results of running each `coll` value through an async + * `iteratee`. + * + * @name sortBy + * @static + * @memberOf module:Collections + * @method + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with a value to use as the sort criteria as + * its `result`. + * Invoked with (item, callback). + * @param {Function} callback - A callback which is called after all the + * `iteratee` functions have finished, or an error occurs. Results is the items + * from the original `coll` sorted by the values returned by the `iteratee` + * calls. Invoked with (err, results). + * @returns {Promise} a promise, if no callback passed + * @example + * + * // bigfile.txt is a file that is 251100 bytes in size + * // mediumfile.txt is a file that is 11000 bytes in size + * // smallfile.txt is a file that is 121 bytes in size + * + * // asynchronous function that returns the file size in bytes + * function getFileSizeInBytes(file, callback) { + * fs.stat(file, function(err, stat) { + * if (err) { + * return callback(err); + * } + * callback(null, stat.size); + * }); + * } + * + * // Using callbacks + * async.sortBy(['mediumfile.txt','smallfile.txt','bigfile.txt'], getFileSizeInBytes, + * function(err, results) { + * if (err) { + * console.log(err); + * } else { + * console.log(results); + * // results is now the original array of files sorted by + * // file size (ascending by default), e.g. + * // [ 'smallfile.txt', 'mediumfile.txt', 'bigfile.txt'] + * } + * } + * ); + * + * // By modifying the callback parameter the + * // sorting order can be influenced: + * + * // ascending order + * async.sortBy(['mediumfile.txt','smallfile.txt','bigfile.txt'], function(file, callback) { + * getFileSizeInBytes(file, function(getFileSizeErr, fileSize) { + * if (getFileSizeErr) return callback(getFileSizeErr); + * callback(null, fileSize); + * }); + * }, function(err, results) { + * if (err) { + * console.log(err); + * } else { + * console.log(results); + * // results is now the original array of files sorted by + * // file size (ascending by default), e.g. + * // [ 'smallfile.txt', 'mediumfile.txt', 'bigfile.txt'] + * } + * } + * ); + * + * // descending order + * async.sortBy(['bigfile.txt','mediumfile.txt','smallfile.txt'], function(file, callback) { + * getFileSizeInBytes(file, function(getFileSizeErr, fileSize) { + * if (getFileSizeErr) { + * return callback(getFileSizeErr); + * } + * callback(null, fileSize * -1); + * }); + * }, function(err, results) { + * if (err) { + * console.log(err); + * } else { + * console.log(results); + * // results is now the original array of files sorted by + * // file size (ascending by default), e.g. + * // [ 'bigfile.txt', 'mediumfile.txt', 'smallfile.txt'] + * } + * } + * ); + * + * // Error handling + * async.sortBy(['mediumfile.txt','smallfile.txt','missingfile.txt'], getFileSizeInBytes, + * function(err, results) { + * if (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } else { + * console.log(results); + * } + * } + * ); + * + * // Using Promises + * async.sortBy(['mediumfile.txt','smallfile.txt','bigfile.txt'], getFileSizeInBytes) + * .then( results => { + * console.log(results); + * // results is now the original array of files sorted by + * // file size (ascending by default), e.g. + * // [ 'smallfile.txt', 'mediumfile.txt', 'bigfile.txt'] + * }).catch( err => { + * console.log(err); + * }); + * + * // Error handling + * async.sortBy(['mediumfile.txt','smallfile.txt','missingfile.txt'], getFileSizeInBytes) + * .then( results => { + * console.log(results); + * }).catch( err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * }); + * + * // Using async/await + * (async () => { + * try { + * let results = await async.sortBy(['bigfile.txt','mediumfile.txt','smallfile.txt'], getFileSizeInBytes); + * console.log(results); + * // results is now the original array of files sorted by + * // file size (ascending by default), e.g. + * // [ 'smallfile.txt', 'mediumfile.txt', 'bigfile.txt'] + * } + * catch (err) { + * console.log(err); + * } + * })(); + * + * // Error handling + * async () => { + * try { + * let results = await async.sortBy(['missingfile.txt','mediumfile.txt','smallfile.txt'], getFileSizeInBytes); + * console.log(results); + * } + * catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } + * } + * + */ + function sortBy (coll, iteratee, callback) { + var _iteratee = wrapAsync(iteratee); + return map$1(coll, (x, iterCb) => { + _iteratee(x, (err, criteria) => { + if (err) return iterCb(err); + iterCb(err, {value: x, criteria}); + }); + }, (err, results) => { + if (err) return callback(err); + callback(null, results.sort(comparator).map(v => v.value)); + }); + + function comparator(left, right) { + var a = left.criteria, b = right.criteria; + return a < b ? -1 : a > b ? 1 : 0; + } + } + var sortBy$1 = awaitify(sortBy, 3); + + /** + * Sets a time limit on an asynchronous function. If the function does not call + * its callback within the specified milliseconds, it will be called with a + * timeout error. The code property for the error object will be `'ETIMEDOUT'`. + * + * @name timeout + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {AsyncFunction} asyncFn - The async function to limit in time. + * @param {number} milliseconds - The specified time limit. + * @param {*} [info] - Any variable you want attached (`string`, `object`, etc) + * to timeout Error for more information.. + * @returns {AsyncFunction} Returns a wrapped function that can be used with any + * of the control flow functions. + * Invoke this function with the same parameters as you would `asyncFunc`. + * @example + * + * function myFunction(foo, callback) { + * doAsyncTask(foo, function(err, data) { + * // handle errors + * if (err) return callback(err); + * + * // do some stuff ... + * + * // return processed data + * return callback(null, data); + * }); + * } + * + * var wrapped = async.timeout(myFunction, 1000); + * + * // call `wrapped` as you would `myFunction` + * wrapped({ bar: 'bar' }, function(err, data) { + * // if `myFunction` takes < 1000 ms to execute, `err` + * // and `data` will have their expected values + * + * // else `err` will be an Error with the code 'ETIMEDOUT' + * }); + */ + function timeout(asyncFn, milliseconds, info) { + var fn = wrapAsync(asyncFn); + + return initialParams((args, callback) => { + var timedOut = false; + var timer; + + function timeoutCallback() { + var name = asyncFn.name || 'anonymous'; + var error = new Error('Callback function "' + name + '" timed out.'); + error.code = 'ETIMEDOUT'; + if (info) { + error.info = info; + } + timedOut = true; + callback(error); + } + + args.push((...cbArgs) => { + if (!timedOut) { + callback(...cbArgs); + clearTimeout(timer); + } + }); + + // setup timer and call original function + timer = setTimeout(timeoutCallback, milliseconds); + fn(...args); + }); + } + + function range(size) { + var result = Array(size); + while (size--) { + result[size] = size; + } + return result; + } + + /** + * The same as [times]{@link module:ControlFlow.times} but runs a maximum of `limit` async operations at a + * time. + * + * @name timesLimit + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.times]{@link module:ControlFlow.times} + * @category Control Flow + * @param {number} count - The number of times to run the function. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - The async function to call `n` times. + * Invoked with the iteration index and a callback: (n, next). + * @param {Function} callback - see [async.map]{@link module:Collections.map}. + * @returns {Promise} a promise, if no callback is provided + */ + function timesLimit(count, limit, iteratee, callback) { + var _iteratee = wrapAsync(iteratee); + return mapLimit$1(range(count), limit, _iteratee, callback); + } + + /** + * Calls the `iteratee` function `n` times, and accumulates results in the same + * manner you would use with [map]{@link module:Collections.map}. + * + * @name times + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.map]{@link module:Collections.map} + * @category Control Flow + * @param {number} n - The number of times to run the function. + * @param {AsyncFunction} iteratee - The async function to call `n` times. + * Invoked with the iteration index and a callback: (n, next). + * @param {Function} callback - see {@link module:Collections.map}. + * @returns {Promise} a promise, if no callback is provided + * @example + * + * // Pretend this is some complicated async factory + * var createUser = function(id, callback) { + * callback(null, { + * id: 'user' + id + * }); + * }; + * + * // generate 5 users + * async.times(5, function(n, next) { + * createUser(n, function(err, user) { + * next(err, user); + * }); + * }, function(err, users) { + * // we should now have 5 users + * }); + */ + function times (n, iteratee, callback) { + return timesLimit(n, Infinity, iteratee, callback) + } + + /** + * The same as [times]{@link module:ControlFlow.times} but runs only a single async operation at a time. + * + * @name timesSeries + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.times]{@link module:ControlFlow.times} + * @category Control Flow + * @param {number} n - The number of times to run the function. + * @param {AsyncFunction} iteratee - The async function to call `n` times. + * Invoked with the iteration index and a callback: (n, next). + * @param {Function} callback - see {@link module:Collections.map}. + * @returns {Promise} a promise, if no callback is provided + */ + function timesSeries (n, iteratee, callback) { + return timesLimit(n, 1, iteratee, callback) + } + + /** + * A relative of `reduce`. Takes an Object or Array, and iterates over each + * element in parallel, each step potentially mutating an `accumulator` value. + * The type of the accumulator defaults to the type of collection passed in. + * + * @name transform + * @static + * @memberOf module:Collections + * @method + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {*} [accumulator] - The initial state of the transform. If omitted, + * it will default to an empty Object or Array, depending on the type of `coll` + * @param {AsyncFunction} iteratee - A function applied to each item in the + * collection that potentially modifies the accumulator. + * Invoked with (accumulator, item, key, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result is the transformed accumulator. + * Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + * @example + * + * // file1.txt is a file that is 1000 bytes in size + * // file2.txt is a file that is 2000 bytes in size + * // file3.txt is a file that is 3000 bytes in size + * + * // helper function that returns human-readable size format from bytes + * function formatBytes(bytes, decimals = 2) { + * // implementation not included for brevity + * return humanReadbleFilesize; + * } + * + * const fileList = ['file1.txt','file2.txt','file3.txt']; + * + * // asynchronous function that returns the file size, transformed to human-readable format + * // e.g. 1024 bytes = 1KB, 1234 bytes = 1.21 KB, 1048576 bytes = 1MB, etc. + * function transformFileSize(acc, value, key, callback) { + * fs.stat(value, function(err, stat) { + * if (err) { + * return callback(err); + * } + * acc[key] = formatBytes(stat.size); + * callback(null); + * }); + * } + * + * // Using callbacks + * async.transform(fileList, transformFileSize, function(err, result) { + * if(err) { + * console.log(err); + * } else { + * console.log(result); + * // [ '1000 Bytes', '1.95 KB', '2.93 KB' ] + * } + * }); + * + * // Using Promises + * async.transform(fileList, transformFileSize) + * .then(result => { + * console.log(result); + * // [ '1000 Bytes', '1.95 KB', '2.93 KB' ] + * }).catch(err => { + * console.log(err); + * }); + * + * // Using async/await + * (async () => { + * try { + * let result = await async.transform(fileList, transformFileSize); + * console.log(result); + * // [ '1000 Bytes', '1.95 KB', '2.93 KB' ] + * } + * catch (err) { + * console.log(err); + * } + * })(); + * + * @example + * + * // file1.txt is a file that is 1000 bytes in size + * // file2.txt is a file that is 2000 bytes in size + * // file3.txt is a file that is 3000 bytes in size + * + * // helper function that returns human-readable size format from bytes + * function formatBytes(bytes, decimals = 2) { + * // implementation not included for brevity + * return humanReadbleFilesize; + * } + * + * const fileMap = { f1: 'file1.txt', f2: 'file2.txt', f3: 'file3.txt' }; + * + * // asynchronous function that returns the file size, transformed to human-readable format + * // e.g. 1024 bytes = 1KB, 1234 bytes = 1.21 KB, 1048576 bytes = 1MB, etc. + * function transformFileSize(acc, value, key, callback) { + * fs.stat(value, function(err, stat) { + * if (err) { + * return callback(err); + * } + * acc[key] = formatBytes(stat.size); + * callback(null); + * }); + * } + * + * // Using callbacks + * async.transform(fileMap, transformFileSize, function(err, result) { + * if(err) { + * console.log(err); + * } else { + * console.log(result); + * // { f1: '1000 Bytes', f2: '1.95 KB', f3: '2.93 KB' } + * } + * }); + * + * // Using Promises + * async.transform(fileMap, transformFileSize) + * .then(result => { + * console.log(result); + * // { f1: '1000 Bytes', f2: '1.95 KB', f3: '2.93 KB' } + * }).catch(err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.transform(fileMap, transformFileSize); + * console.log(result); + * // { f1: '1000 Bytes', f2: '1.95 KB', f3: '2.93 KB' } + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ + function transform (coll, accumulator, iteratee, callback) { + if (arguments.length <= 3 && typeof accumulator === 'function') { + callback = iteratee; + iteratee = accumulator; + accumulator = Array.isArray(coll) ? [] : {}; + } + callback = once(callback || promiseCallback()); + var _iteratee = wrapAsync(iteratee); + + eachOf$1(coll, (v, k, cb) => { + _iteratee(accumulator, v, k, cb); + }, err => callback(err, accumulator)); + return callback[PROMISE_SYMBOL] + } + + /** + * It runs each task in series but stops whenever any of the functions were + * successful. If one of the tasks were successful, the `callback` will be + * passed the result of the successful task. If all tasks fail, the callback + * will be passed the error and result (if any) of the final attempt. + * + * @name tryEach + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Array|Iterable|AsyncIterable|Object} tasks - A collection containing functions to + * run, each function is passed a `callback(err, result)` it must call on + * completion with an error `err` (which can be `null`) and an optional `result` + * value. + * @param {Function} [callback] - An optional callback which is called when one + * of the tasks has succeeded, or all have failed. It receives the `err` and + * `result` arguments of the last attempt at completing the `task`. Invoked with + * (err, results). + * @returns {Promise} a promise, if no callback is passed + * @example + * async.tryEach([ + * function getDataFromFirstWebsite(callback) { + * // Try getting the data from the first website + * callback(err, data); + * }, + * function getDataFromSecondWebsite(callback) { + * // First website failed, + * // Try getting the data from the backup website + * callback(err, data); + * } + * ], + * // optional callback + * function(err, results) { + * Now do something with the data. + * }); + * + */ + function tryEach(tasks, callback) { + var error = null; + var result; + return eachSeries$1(tasks, (task, taskCb) => { + wrapAsync(task)((err, ...args) => { + if (err === false) return taskCb(err); + + if (args.length < 2) { + [result] = args; + } else { + result = args; + } + error = err; + taskCb(err ? null : {}); + }); + }, () => callback(error, result)); + } + + var tryEach$1 = awaitify(tryEach); + + /** + * Undoes a [memoize]{@link module:Utils.memoize}d function, reverting it to the original, + * unmemoized form. Handy for testing. + * + * @name unmemoize + * @static + * @memberOf module:Utils + * @method + * @see [async.memoize]{@link module:Utils.memoize} + * @category Util + * @param {AsyncFunction} fn - the memoized function + * @returns {AsyncFunction} a function that calls the original unmemoized function + */ + function unmemoize(fn) { + return (...args) => { + return (fn.unmemoized || fn)(...args); + }; + } + + /** + * Repeatedly call `iteratee`, while `test` returns `true`. Calls `callback` when + * stopped, or an error occurs. + * + * @name whilst + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {AsyncFunction} test - asynchronous truth test to perform before each + * execution of `iteratee`. Invoked with (callback). + * @param {AsyncFunction} iteratee - An async function which is called each time + * `test` passes. Invoked with (callback). + * @param {Function} [callback] - A callback which is called after the test + * function has failed and repeated execution of `iteratee` has stopped. `callback` + * will be passed an error and any arguments passed to the final `iteratee`'s + * callback. Invoked with (err, [results]); + * @returns {Promise} a promise, if no callback is passed + * @example + * + * var count = 0; + * async.whilst( + * function test(cb) { cb(null, count < 5); }, + * function iter(callback) { + * count++; + * setTimeout(function() { + * callback(null, count); + * }, 1000); + * }, + * function (err, n) { + * // 5 seconds have passed, n = 5 + * } + * ); + */ + function whilst(test, iteratee, callback) { + callback = onlyOnce(callback); + var _fn = wrapAsync(iteratee); + var _test = wrapAsync(test); + var results = []; + + function next(err, ...rest) { + if (err) return callback(err); + results = rest; + if (err === false) return; + _test(check); + } + + function check(err, truth) { + if (err) return callback(err); + if (err === false) return; + if (!truth) return callback(null, ...results); + _fn(next); + } + + return _test(check); + } + var whilst$1 = awaitify(whilst, 3); + + /** + * Repeatedly call `iteratee` until `test` returns `true`. Calls `callback` when + * stopped, or an error occurs. `callback` will be passed an error and any + * arguments passed to the final `iteratee`'s callback. + * + * The inverse of [whilst]{@link module:ControlFlow.whilst}. + * + * @name until + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.whilst]{@link module:ControlFlow.whilst} + * @category Control Flow + * @param {AsyncFunction} test - asynchronous truth test to perform before each + * execution of `iteratee`. Invoked with (callback). + * @param {AsyncFunction} iteratee - An async function which is called each time + * `test` fails. Invoked with (callback). + * @param {Function} [callback] - A callback which is called after the test + * function has passed and repeated execution of `iteratee` has stopped. `callback` + * will be passed an error and any arguments passed to the final `iteratee`'s + * callback. Invoked with (err, [results]); + * @returns {Promise} a promise, if a callback is not passed + * + * @example + * const results = [] + * let finished = false + * async.until(function test(cb) { + * cb(null, finished) + * }, function iter(next) { + * fetchPage(url, (err, body) => { + * if (err) return next(err) + * results = results.concat(body.objects) + * finished = !!body.next + * next(err) + * }) + * }, function done (err) { + * // all pages have been fetched + * }) + */ + function until(test, iteratee, callback) { + const _test = wrapAsync(test); + return whilst$1((cb) => _test((err, truth) => cb (err, !truth)), iteratee, callback); + } + + /** + * Runs the `tasks` array of functions in series, each passing their results to + * the next in the array. However, if any of the `tasks` pass an error to their + * own callback, the next function is not executed, and the main `callback` is + * immediately called with the error. + * + * @name waterfall + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Array} tasks - An array of [async functions]{@link AsyncFunction} + * to run. + * Each function should complete with any number of `result` values. + * The `result` values will be passed as arguments, in order, to the next task. + * @param {Function} [callback] - An optional callback to run once all the + * functions have completed. This will be passed the results of the last task's + * callback. Invoked with (err, [results]). + * @returns {Promise} a promise, if a callback is omitted + * @example + * + * async.waterfall([ + * function(callback) { + * callback(null, 'one', 'two'); + * }, + * function(arg1, arg2, callback) { + * // arg1 now equals 'one' and arg2 now equals 'two' + * callback(null, 'three'); + * }, + * function(arg1, callback) { + * // arg1 now equals 'three' + * callback(null, 'done'); + * } + * ], function (err, result) { + * // result now equals 'done' + * }); + * + * // Or, with named functions: + * async.waterfall([ + * myFirstFunction, + * mySecondFunction, + * myLastFunction, + * ], function (err, result) { + * // result now equals 'done' + * }); + * function myFirstFunction(callback) { + * callback(null, 'one', 'two'); + * } + * function mySecondFunction(arg1, arg2, callback) { + * // arg1 now equals 'one' and arg2 now equals 'two' + * callback(null, 'three'); + * } + * function myLastFunction(arg1, callback) { + * // arg1 now equals 'three' + * callback(null, 'done'); + * } + */ + function waterfall (tasks, callback) { + callback = once(callback); + if (!Array.isArray(tasks)) return callback(new Error('First argument to waterfall must be an array of functions')); + if (!tasks.length) return callback(); + var taskIndex = 0; + + function nextTask(args) { + var task = wrapAsync(tasks[taskIndex++]); + task(...args, onlyOnce(next)); + } + + function next(err, ...args) { + if (err === false) return + if (err || taskIndex === tasks.length) { + return callback(err, ...args); + } + nextTask(args); + } + + nextTask([]); + } + + var waterfall$1 = awaitify(waterfall); + + /** + * An "async function" in the context of Async is an asynchronous function with + * a variable number of parameters, with the final parameter being a callback. + * (`function (arg1, arg2, ..., callback) {}`) + * The final callback is of the form `callback(err, results...)`, which must be + * called once the function is completed. The callback should be called with a + * Error as its first argument to signal that an error occurred. + * Otherwise, if no error occurred, it should be called with `null` as the first + * argument, and any additional `result` arguments that may apply, to signal + * successful completion. + * The callback must be called exactly once, ideally on a later tick of the + * JavaScript event loop. + * + * This type of function is also referred to as a "Node-style async function", + * or a "continuation passing-style function" (CPS). Most of the methods of this + * library are themselves CPS/Node-style async functions, or functions that + * return CPS/Node-style async functions. + * + * Wherever we accept a Node-style async function, we also directly accept an + * [ES2017 `async` function]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function}. + * In this case, the `async` function will not be passed a final callback + * argument, and any thrown error will be used as the `err` argument of the + * implicit callback, and the return value will be used as the `result` value. + * (i.e. a `rejected` of the returned Promise becomes the `err` callback + * argument, and a `resolved` value becomes the `result`.) + * + * Note, due to JavaScript limitations, we can only detect native `async` + * functions and not transpilied implementations. + * Your environment must have `async`/`await` support for this to work. + * (e.g. Node > v7.6, or a recent version of a modern browser). + * If you are using `async` functions through a transpiler (e.g. Babel), you + * must still wrap the function with [asyncify]{@link module:Utils.asyncify}, + * because the `async function` will be compiled to an ordinary function that + * returns a promise. + * + * @typedef {Function} AsyncFunction + * @static + */ + + + var index = { + apply, + applyEach, + applyEachSeries, + asyncify, + auto, + autoInject, + cargo: cargo$1, + cargoQueue: cargo, + compose, + concat: concat$1, + concatLimit: concatLimit$1, + concatSeries: concatSeries$1, + constant: constant$1, + detect: detect$1, + detectLimit: detectLimit$1, + detectSeries: detectSeries$1, + dir, + doUntil, + doWhilst: doWhilst$1, + each, + eachLimit: eachLimit$1, + eachOf: eachOf$1, + eachOfLimit: eachOfLimit$1, + eachOfSeries: eachOfSeries$1, + eachSeries: eachSeries$1, + ensureAsync, + every: every$1, + everyLimit: everyLimit$1, + everySeries: everySeries$1, + filter: filter$1, + filterLimit: filterLimit$1, + filterSeries: filterSeries$1, + forever: forever$1, + groupBy, + groupByLimit: groupByLimit$1, + groupBySeries, + log, + map: map$1, + mapLimit: mapLimit$1, + mapSeries: mapSeries$1, + mapValues, + mapValuesLimit: mapValuesLimit$1, + mapValuesSeries, + memoize, + nextTick, + parallel, + parallelLimit, + priorityQueue, + queue, + race: race$1, + reduce: reduce$1, + reduceRight, + reflect, + reflectAll, + reject: reject$1, + rejectLimit: rejectLimit$1, + rejectSeries: rejectSeries$1, + retry, + retryable, + seq, + series, + setImmediate: setImmediate$1, + some: some$1, + someLimit: someLimit$1, + someSeries: someSeries$1, + sortBy: sortBy$1, + timeout, + times, + timesLimit, + timesSeries, + transform, + tryEach: tryEach$1, + unmemoize, + until, + waterfall: waterfall$1, + whilst: whilst$1, + + // aliases + all: every$1, + allLimit: everyLimit$1, + allSeries: everySeries$1, + any: some$1, + anyLimit: someLimit$1, + anySeries: someSeries$1, + find: detect$1, + findLimit: detectLimit$1, + findSeries: detectSeries$1, + flatMap: concat$1, + flatMapLimit: concatLimit$1, + flatMapSeries: concatSeries$1, + forEach: each, + forEachSeries: eachSeries$1, + forEachLimit: eachLimit$1, + forEachOf: eachOf$1, + forEachOfSeries: eachOfSeries$1, + forEachOfLimit: eachOfLimit$1, + inject: reduce$1, + foldl: reduce$1, + foldr: reduceRight, + select: filter$1, + selectLimit: filterLimit$1, + selectSeries: filterSeries$1, + wrapSync: asyncify, + during: whilst$1, + doDuring: doWhilst$1 + }; + + exports.all = every$1; + exports.allLimit = everyLimit$1; + exports.allSeries = everySeries$1; + exports.any = some$1; + exports.anyLimit = someLimit$1; + exports.anySeries = someSeries$1; + exports.apply = apply; + exports.applyEach = applyEach; + exports.applyEachSeries = applyEachSeries; + exports.asyncify = asyncify; + exports.auto = auto; + exports.autoInject = autoInject; + exports.cargo = cargo$1; + exports.cargoQueue = cargo; + exports.compose = compose; + exports.concat = concat$1; + exports.concatLimit = concatLimit$1; + exports.concatSeries = concatSeries$1; + exports.constant = constant$1; + exports.default = index; + exports.detect = detect$1; + exports.detectLimit = detectLimit$1; + exports.detectSeries = detectSeries$1; + exports.dir = dir; + exports.doDuring = doWhilst$1; + exports.doUntil = doUntil; + exports.doWhilst = doWhilst$1; + exports.during = whilst$1; + exports.each = each; + exports.eachLimit = eachLimit$1; + exports.eachOf = eachOf$1; + exports.eachOfLimit = eachOfLimit$1; + exports.eachOfSeries = eachOfSeries$1; + exports.eachSeries = eachSeries$1; + exports.ensureAsync = ensureAsync; + exports.every = every$1; + exports.everyLimit = everyLimit$1; + exports.everySeries = everySeries$1; + exports.filter = filter$1; + exports.filterLimit = filterLimit$1; + exports.filterSeries = filterSeries$1; + exports.find = detect$1; + exports.findLimit = detectLimit$1; + exports.findSeries = detectSeries$1; + exports.flatMap = concat$1; + exports.flatMapLimit = concatLimit$1; + exports.flatMapSeries = concatSeries$1; + exports.foldl = reduce$1; + exports.foldr = reduceRight; + exports.forEach = each; + exports.forEachLimit = eachLimit$1; + exports.forEachOf = eachOf$1; + exports.forEachOfLimit = eachOfLimit$1; + exports.forEachOfSeries = eachOfSeries$1; + exports.forEachSeries = eachSeries$1; + exports.forever = forever$1; + exports.groupBy = groupBy; + exports.groupByLimit = groupByLimit$1; + exports.groupBySeries = groupBySeries; + exports.inject = reduce$1; + exports.log = log; + exports.map = map$1; + exports.mapLimit = mapLimit$1; + exports.mapSeries = mapSeries$1; + exports.mapValues = mapValues; + exports.mapValuesLimit = mapValuesLimit$1; + exports.mapValuesSeries = mapValuesSeries; + exports.memoize = memoize; + exports.nextTick = nextTick; + exports.parallel = parallel; + exports.parallelLimit = parallelLimit; + exports.priorityQueue = priorityQueue; + exports.queue = queue; + exports.race = race$1; + exports.reduce = reduce$1; + exports.reduceRight = reduceRight; + exports.reflect = reflect; + exports.reflectAll = reflectAll; + exports.reject = reject$1; + exports.rejectLimit = rejectLimit$1; + exports.rejectSeries = rejectSeries$1; + exports.retry = retry; + exports.retryable = retryable; + exports.select = filter$1; + exports.selectLimit = filterLimit$1; + exports.selectSeries = filterSeries$1; + exports.seq = seq; + exports.series = series; + exports.setImmediate = setImmediate$1; + exports.some = some$1; + exports.someLimit = someLimit$1; + exports.someSeries = someSeries$1; + exports.sortBy = sortBy$1; + exports.timeout = timeout; + exports.times = times; + exports.timesLimit = timesLimit; + exports.timesSeries = timesSeries; + exports.transform = transform; + exports.tryEach = tryEach$1; + exports.unmemoize = unmemoize; + exports.until = until; + exports.waterfall = waterfall$1; + exports.whilst = whilst$1; + exports.wrapSync = asyncify; + + Object.defineProperty(exports, '__esModule', { value: true }); + +})); diff --git a/node_modules/winston/node_modules/async/dist/async.min.js b/node_modules/winston/node_modules/async/dist/async.min.js new file mode 100644 index 0000000..f0b7fdf --- /dev/null +++ b/node_modules/winston/node_modules/async/dist/async.min.js @@ -0,0 +1 @@ +(function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):(e="undefined"==typeof globalThis?e||self:globalThis,t(e.async={}))})(this,function(e){"use strict";function t(e,...t){return(...n)=>e(...t,...n)}function n(e){return function(...t){var n=t.pop();return e.call(this,t,n)}}function a(e){setTimeout(e,0)}function i(e){return(t,...n)=>e(()=>t(...n))}function r(e){return d(e)?function(...t){const n=t.pop(),a=e.apply(this,t);return s(a,n)}:n(function(t,n){var a;try{a=e.apply(this,t)}catch(t){return n(t)}return a&&"function"==typeof a.then?s(a,n):void n(null,a)})}function s(e,t){return e.then(e=>{l(t,null,e)},e=>{l(t,e&&(e instanceof Error||e.message)?e:new Error(e))})}function l(e,t,n){try{e(t,n)}catch(e){_e(t=>{throw t},e)}}function d(e){return"AsyncFunction"===e[Symbol.toStringTag]}function u(e){return"AsyncGenerator"===e[Symbol.toStringTag]}function p(e){return"function"==typeof e[Symbol.asyncIterator]}function c(e){if("function"!=typeof e)throw new Error("expected a function");return d(e)?r(e):e}function o(e,t){function n(...n){return"function"==typeof n[t-1]?e.apply(this,n):new Promise((a,i)=>{n[t-1]=(e,...t)=>e?i(e):void a(1{c(e).apply(i,n.concat(t))},a)});return i}}function f(e,t,n,a){t=t||[];var i=[],r=0,s=c(n);return e(t,(e,t,n)=>{var a=r++;s(e,(e,t)=>{i[a]=t,n(e)})},e=>{a(e,i)})}function y(e){return e&&"number"==typeof e.length&&0<=e.length&&0==e.length%1}function m(e){function t(...t){if(null!==e){var n=e;e=null,n.apply(this,t)}}return Object.assign(t,e),t}function g(e){return e[Symbol.iterator]&&e[Symbol.iterator]()}function k(e){var t=-1,n=e.length;return function a(){return++t=t||u||l||(u=!0,e.next().then(({value:e,done:t})=>{if(!(d||l))return u=!1,t?(l=!0,void(0>=p&&a(null))):void(p++,n(e,c,r),c++,i())}).catch(s))}function r(e,t){return p-=1,d?void 0:e?s(e):!1===e?(l=!0,void(d=!0)):t===be||l&&0>=p?(l=!0,a(null)):void i()}function s(e){d||(u=!1,l=!0,a(e))}let l=!1,d=!1,u=!1,p=0,c=0;i()}function O(e,t,n){function a(e,t){!1===e&&(l=!0);!0===l||(e?n(e):(++r===s||t===be)&&n(null))}n=m(n);var i=0,r=0,{length:s}=e,l=!1;for(0===s&&n(null);i{t=e,n=a}),e}function A(e,t,n){function a(e,t){k.push(()=>l(e,t))}function i(){if(!f){if(0===k.length&&0===h)return n(null,o);for(;k.length&&he()),i()}function l(e,t){if(!y){var a=L((t,...a)=>{if(h--,!1===t)return void(f=!0);if(2>a.length&&([a]=a),t){var i={};if(Object.keys(o).forEach(e=>{i[e]=o[e]}),i[e]=a,y=!0,g=Object.create(null),f)return;n(t,i)}else o[e]=a,s(e)});h++;var i=c(t[t.length-1]);1{0==--S[e]&&v.push(e)});if(t!==p)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}function u(t){var n=[];return Object.keys(e).forEach(a=>{const i=e[a];Array.isArray(i)&&0<=i.indexOf(t)&&n.push(a)}),n}"number"!=typeof t&&(n=t,t=null),n=m(n||b());var p=Object.keys(e).length;if(!p)return n(null);t||(t=p);var o={},h=0,f=!1,y=!1,g=Object.create(null),k=[],v=[],S={};return Object.keys(e).forEach(t=>{var n=e[t];if(!Array.isArray(n))return a(t,[n]),void v.push(t);var i=n.slice(0,n.length-1),s=i.length;return 0===s?(a(t,n),void v.push(t)):void(S[t]=s,i.forEach(l=>{if(!e[l])throw new Error("async.auto task `"+t+"` has a non-existent dependency `"+l+"` in "+i.join(", "));r(l,()=>{s--,0===s&&a(t,n)})}))}),d(),i(),n[Ce]}function I(e){let t="",n=0,a=e.indexOf("*/");for(;ne.replace(Ne,"").trim())}function j(e,t){var n={};return Object.keys(e).forEach(t=>{function a(e,t){var n=i.map(t=>e[t]);n.push(t),c(r)(...n)}var i,r=e[t],s=d(r),l=!s&&1===r.length||s&&0===r.length;if(Array.isArray(r))i=[...r],r=i.pop(),n[t]=i.concat(0{r(e,n),t(...a)};f[e].push(n)}function r(e,t){return e?t?void(f[e]=f[e].filter(e=>e!==t)):f[e]=[]:Object.keys(f).forEach(e=>f[e]=[])}function s(e,...t){f[e].forEach(e=>e(...t))}function l(e,t,n,a){function i(e,...t){return e?n?s(e):r():1>=t.length?r(t[0]):void r(t)}if(null!=a&&"function"!=typeof a)throw new Error("task callback must be a function");k.started=!0;var r,s,l=k._createTaskItem(e,n?i:a||i);if(t?k._tasks.unshift(l):k._tasks.push(l),y||(y=!0,_e(()=>{y=!1,k.process()})),n||!a)return new Promise((e,t)=>{r=e,s=t})}function d(e){return function(t,...n){o-=1;for(var a=0,r=e.length;as("drain")),!0)}if(null==t)t=1;else if(0===t)throw new RangeError("Concurrency must not be zero");var p=c(e),o=0,h=[];const f={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};var y=!1;const m=e=>t=>t?void(r(e),a(e,t)):new Promise((t,n)=>{i(e,(e,a)=>e?n(e):void t(a))});var g=!1,k={_tasks:new Ve,_createTaskItem(e,t){return{data:e,callback:t}},*[Symbol.iterator](){yield*k._tasks[Symbol.iterator]()},concurrency:t,payload:n,buffer:t/4,started:!1,paused:!1,push(e,t){return Array.isArray(e)?u(e)?void 0:e.map(e=>l(e,!1,!1,t)):l(e,!1,!1,t)},pushAsync(e,t){return Array.isArray(e)?u(e)?void 0:e.map(e=>l(e,!1,!0,t)):l(e,!1,!0,t)},kill(){r(),k._tasks.empty()},unshift(e,t){return Array.isArray(e)?u(e)?void 0:e.map(e=>l(e,!0,!1,t)):l(e,!0,!1,t)},unshiftAsync(e,t){return Array.isArray(e)?u(e)?void 0:e.map(e=>l(e,!0,!0,t)):l(e,!0,!0,t)},remove(e){k._tasks.remove(e)},process(){var e=Math.min;if(!g){for(g=!0;!k.paused&&o{t.apply(n,e.concat((e,...t)=>{a(e,t)}))},(e,t)=>a(e,...t)),a[Ce]}}function P(...e){return C(...e.reverse())}function R(...e){return function(...t){var n=t.pop();return n(null,...e)}}function z(e,t){return(n,a,i,r)=>{var s,l=!1;const d=c(i);n(a,(n,a,i)=>{d(n,(a,r)=>a||!1===a?i(a):e(r)&&!s?(l=!0,s=t(!0,n),i(null,be)):void i())},e=>e?r(e):void r(null,l?s:t(!1)))}}function N(e){return(t,...n)=>c(t)(...n,(t,...n)=>{"object"==typeof console&&(t?console.error&&console.error(t):console[e]&&n.forEach(t=>console[e](t)))})}function V(e,t,n){const a=c(t);return Xe(e,(...e)=>{const t=e.pop();a(...e,(e,n)=>t(e,!n))},n)}function Y(e){return(t,n,a)=>e(t,a)}function q(e){return d(e)?e:function(...t){var n=t.pop(),a=!0;t.push((...e)=>{a?_e(()=>n(...e)):n(...e)}),e.apply(this,t),a=!1}}function D(e,t,n,a){var r=Array(t.length);e(t,(e,t,a)=>{n(e,(e,n)=>{r[t]=!!n,a(e)})},e=>{if(e)return a(e);for(var n=[],s=0;s{n(e,(n,r)=>n?a(n):void(r&&i.push({index:t,value:e}),a(n)))},e=>e?a(e):void a(null,i.sort((e,t)=>e.index-t.index).map(e=>e.value)))}function U(e,t,n,a){var i=y(t)?D:Q;return i(e,t,c(n),a)}function G(e,t,n){return dt(e,1/0,t,n)}function W(e,t,n){return dt(e,1,t,n)}function H(e,t,n){return pt(e,1/0,t,n)}function J(e,t,n){return pt(e,1,t,n)}function K(e,t=e=>e){var a=Object.create(null),r=Object.create(null),s=c(e),l=n((e,n)=>{var d=t(...e);d in a?_e(()=>n(null,...a[d])):d in r?r[d].push(n):(r[d]=[n],s(...e,(e,...t)=>{e||(a[d]=t);var n=r[d];delete r[d];for(var s=0,u=n.length;s{n(e[0],t)},t,1)}function ee(e){return(e<<1)+1}function te(e){return(e+1>>1)-1}function ne(e,t){return e.priority===t.priority?e.pushCount({data:e,priority:t})):{data:e,priority:t}}var a=$(e,t),{push:i,pushAsync:r}=a;return a._tasks=new ht,a._createTaskItem=({data:e,priority:t},n)=>({data:e,priority:t,callback:n}),a.push=function(e,t=0,a){return i(n(e,t),a)},a.pushAsync=function(e,t=0,a){return r(n(e,t),a)},delete a.unshift,delete a.unshiftAsync,a}function ie(e,t,n,a){var i=[...e].reverse();return qe(i,t,n,a)}function re(e){var t=c(e);return n(function a(e,n){return e.push((e,...t)=>{let a={};if(e&&(a.error=e),0=t.length&&([i]=t),a.value=i}n(null,a)}),t.apply(this,e)})}function se(e){var t;return Array.isArray(e)?t=e.map(re):(t={},Object.keys(e).forEach(n=>{t[n]=re.call(this,e[n])})),t}function le(e,t,n,a){const i=c(n);return U(e,t,(e,t)=>{i(e,(e,n)=>{t(e,!n)})},a)}function de(e){return function(){return e}}function ue(e,t,n){function a(){r((e,...t)=>{!1===e||(e&&s++arguments.length&&"function"==typeof e?(n=t||b(),t=e):(pe(i,e),n=n||b()),"function"!=typeof t)throw new Error("Invalid arguments for async.retry");var r=c(t),s=1;return a(),n[Ce]}function pe(e,n){if("object"==typeof n)e.times=+n.times||kt,e.intervalFunc="function"==typeof n.interval?n.interval:de(+n.interval||vt),e.errorFilter=n.errorFilter;else if("number"==typeof n||"string"==typeof n)e.times=+n||kt;else throw new Error("Invalid arguments for async.retry")}function ce(e,t){t||(t=e,e=null);let a=e&&e.arity||t.length;d(t)&&(a+=1);var i=c(t);return n((t,n)=>{function r(e){i(...t,e)}return(t.length{function s(){var t=e.name||"anonymous",n=new Error("Callback function \""+t+"\" timed out.");n.code="ETIMEDOUT",a&&(n.info=a),d=!0,r(n)}var l,d=!1;n.push((...e)=>{d||(r(...e),clearTimeout(l))}),l=setTimeout(s,t),i(...n)})}function fe(e){for(var t=Array(e);e--;)t[e]=e;return t}function ye(e,t,n,a){var i=c(n);return De(fe(e),t,i,a)}function me(e,t,n){return ye(e,1/0,t,n)}function ge(e,t,n){return ye(e,1,t,n)}function ke(e,t,n,a){3>=arguments.length&&"function"==typeof t&&(a=n,n=t,t=Array.isArray(e)?[]:{}),a=m(a||b());var i=c(n);return Me(e,(e,n,a)=>{i(t,e,n,a)},e=>a(e,t)),a[Ce]}function ve(e){return(...t)=>(e.unmemoized||e)(...t)}function Se(e,t,n){const a=c(e);return _t(e=>a((t,n)=>e(t,!n)),t,n)}var xe,Le="function"==typeof queueMicrotask&&queueMicrotask,Ee="function"==typeof setImmediate&&setImmediate,Oe="object"==typeof process&&"function"==typeof process.nextTick;xe=Le?queueMicrotask:Ee?setImmediate:Oe?process.nextTick:a;var _e=i(xe);const be={};var Ae=e=>(t,n,a)=>{function i(e,t){if(!d)if(c-=1,e)l=!0,a(e);else if(!1===e)l=!0,d=!0;else{if(t===be||l&&0>=c)return l=!0,a(null);o||r()}}function r(){for(o=!0;c=c&&a(null));c+=1,n(t.value,t.key,L(i))}o=!1}if(a=m(a),0>=e)throw new RangeError("concurrency limit cannot be less than 1");if(!t)return a(null);if(u(t))return E(t,e,n,a);if(p(t))return E(t[Symbol.asyncIterator](),e,n,a);var s=x(t),l=!1,d=!1,c=0,o=!1;r()},Ie=o(function i(e,t,n,a){return Ae(t)(e,c(n),a)},4),Me=o(function a(e,t,n){var i=y(e)?O:_;return i(e,c(t),n)},3),je=o(function a(e,t,n){return f(Me,e,t,n)},3),we=h(je),Be=o(function a(e,t,n){return Ie(e,1,t,n)},3),Te=o(function a(e,t,n){return f(Be,e,t,n)},3),Fe=h(Te);const Ce=Symbol("promiseCallback");var Pe=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,Re=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,ze=/,/,Ne=/(=.+)?(\s*)$/;class Ve{constructor(){this.head=this.tail=null,this.length=0}removeLink(e){return e.prev?e.prev.next=e.next:this.head=e.next,e.next?e.next.prev=e.prev:this.tail=e.prev,e.prev=e.next=null,this.length-=1,e}empty(){for(;this.head;)this.shift();return this}insertAfter(e,t){t.prev=e,t.next=e.next,e.next?e.next.prev=t:this.tail=t,e.next=t,this.length+=1}insertBefore(e,t){t.prev=e.prev,t.next=e,e.prev?e.prev.next=t:this.head=t,e.prev=t,this.length+=1}unshift(e){this.head?this.insertBefore(this.head,e):w(this,e)}push(e){this.tail?this.insertAfter(this.tail,e):w(this,e)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var e=this.head;e;)yield e.data,e=e.next}remove(e){for(var t=this.head;t;){var{next:n}=t;e(t)&&this.removeLink(t),t=n}return this}}var Ye,qe=o(function i(e,t,n,a){a=m(a);var r=c(n);return Be(e,(e,n,a)=>{r(t,e,(e,n)=>{t=n,a(e)})},e=>a(e,t))},4),De=o(function i(e,t,n,a){return f(Ae(t),e,n,a)},4),Qe=o(function i(e,t,n,a){var r=c(n);return De(e,t,(e,t)=>{r(e,(e,...n)=>e?t(e):t(e,n))},(e,t)=>{for(var n=[],r=0;re,(e,t)=>t)(Me,e,t,n)},3),He=o(function i(e,t,n,a){return z(e=>e,(e,t)=>t)(Ae(t),e,n,a)},4),Je=o(function a(e,t,n){return z(e=>e,(e,t)=>t)(Ae(1),e,t,n)},3),Ke=N("dir"),Xe=o(function a(e,t,n){function i(e,...t){return e?n(e):void(!1===e||(s=t,d(...t,r)))}function r(e,t){return e?n(e):!1===e?void 0:t?void l(i):n(null,...s)}n=L(n);var s,l=c(e),d=c(t);return r(null,!0)},3),Ze=o(function a(e,t,n){return Me(e,Y(c(t)),n)},3),$e=o(function i(e,t,n,a){return Ae(t)(e,Y(c(n)),a)},4),et=o(function a(e,t,n){return $e(e,1,t,n)},3),tt=o(function a(e,t,n){return z(e=>!e,e=>!e)(Me,e,t,n)},3),nt=o(function i(e,t,n,a){return z(e=>!e,e=>!e)(Ae(t),e,n,a)},4),at=o(function a(e,t,n){return z(e=>!e,e=>!e)(Be,e,t,n)},3),it=o(function a(e,t,n){return U(Me,e,t,n)},3),rt=o(function i(e,t,n,a){return U(Ae(t),e,n,a)},4),st=o(function a(e,t,n){return U(Be,e,t,n)},3),lt=o(function n(e,t){function a(e){return e?i(e):void(!1===e||r(a))}var i=L(t),r=c(q(e));return a()},2),dt=o(function i(e,t,n,a){var r=c(n);return De(e,t,(e,t)=>{r(e,(n,a)=>n?t(n):t(n,{key:a,val:e}))},(e,t)=>{for(var n={},{hasOwnProperty:r}=Object.prototype,s=0;s{s(e,t,(e,a)=>e?n(e):void(r[t]=a,n(e)))},e=>a(e,r))},4);Ye=Oe?process.nextTick:Ee?setImmediate:a;var ct=i(Ye),ot=o((e,t,n)=>{var a=y(t)?[]:{};e(t,(e,t,n)=>{c(e)((e,...i)=>{2>i.length&&([i]=i),a[t]=i,n(e)})},e=>n(e,a))},3);class ht{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(e){for(let n;0e)(Me,e,t,n)},3),xt=o(function i(e,t,n,a){return z(Boolean,e=>e)(Ae(t),e,n,a)},4),Lt=o(function a(e,t,n){return z(Boolean,e=>e)(Be,e,t,n)},3),Et=o(function a(e,t,n){function i(e,t){var n=e.criteria,a=t.criteria;return na?1:0}var r=c(t);return je(e,(e,t)=>{r(e,(n,a)=>n?t(n):void t(n,{value:e,criteria:a}))},(e,t)=>e?n(e):void n(null,t.sort(i).map(e=>e.value)))},3),Ot=o(function n(e,t){var a,i=null;return et(e,(e,t)=>{c(e)((e,...n)=>!1===e?t(e):void(2>n.length?[a]=n:a=n,i=e,t(e?null:{})))},()=>t(i,a))}),_t=o(function a(e,t,n){function i(e,...t){if(e)return n(e);d=t;!1===e||l(r)}function r(e,t){return e?n(e):!1===e?void 0:t?void s(i):n(null,...d)}n=L(n);var s=c(t),l=c(e),d=[];return l(r)},3),bt=o(function n(e,t){function a(t){var n=c(e[r++]);n(...t,L(i))}function i(n,...i){return!1===n?void 0:n||r===e.length?t(n,...i):void a(i)}if(t=m(t),!Array.isArray(e))return t(new Error("First argument to waterfall must be an array of functions"));if(!e.length)return t();var r=0;a([])});e.all=tt,e.allLimit=nt,e.allSeries=at,e.any=St,e.anyLimit=xt,e.anySeries=Lt,e.apply=t,e.applyEach=we,e.applyEachSeries=Fe,e.asyncify=r,e.auto=A,e.autoInject=j,e.cargo=T,e.cargoQueue=F,e.compose=P,e.concat=Ue,e.concatLimit=Qe,e.concatSeries=Ge,e.constant=R,e.default={apply:t,applyEach:we,applyEachSeries:Fe,asyncify:r,auto:A,autoInject:j,cargo:T,cargoQueue:F,compose:P,concat:Ue,concatLimit:Qe,concatSeries:Ge,constant:R,detect:We,detectLimit:He,detectSeries:Je,dir:Ke,doUntil:V,doWhilst:Xe,each:Ze,eachLimit:$e,eachOf:Me,eachOfLimit:Ie,eachOfSeries:Be,eachSeries:et,ensureAsync:q,every:tt,everyLimit:nt,everySeries:at,filter:it,filterLimit:rt,filterSeries:st,forever:lt,groupBy:G,groupByLimit:dt,groupBySeries:W,log:ut,map:je,mapLimit:De,mapSeries:Te,mapValues:H,mapValuesLimit:pt,mapValuesSeries:J,memoize:K,nextTick:ct,parallel:X,parallelLimit:Z,priorityQueue:ae,queue:$,race:ft,reduce:qe,reduceRight:ie,reflect:re,reflectAll:se,reject:yt,rejectLimit:mt,rejectSeries:gt,retry:ue,retryable:ce,seq:C,series:oe,setImmediate:_e,some:St,someLimit:xt,someSeries:Lt,sortBy:Et,timeout:he,times:me,timesLimit:ye,timesSeries:ge,transform:ke,tryEach:Ot,unmemoize:ve,until:Se,waterfall:bt,whilst:_t,all:tt,allLimit:nt,allSeries:at,any:St,anyLimit:xt,anySeries:Lt,find:We,findLimit:He,findSeries:Je,flatMap:Ue,flatMapLimit:Qe,flatMapSeries:Ge,forEach:Ze,forEachSeries:et,forEachLimit:$e,forEachOf:Me,forEachOfSeries:Be,forEachOfLimit:Ie,inject:qe,foldl:qe,foldr:ie,select:it,selectLimit:rt,selectSeries:st,wrapSync:r,during:_t,doDuring:Xe},e.detect=We,e.detectLimit=He,e.detectSeries=Je,e.dir=Ke,e.doDuring=Xe,e.doUntil=V,e.doWhilst=Xe,e.during=_t,e.each=Ze,e.eachLimit=$e,e.eachOf=Me,e.eachOfLimit=Ie,e.eachOfSeries=Be,e.eachSeries=et,e.ensureAsync=q,e.every=tt,e.everyLimit=nt,e.everySeries=at,e.filter=it,e.filterLimit=rt,e.filterSeries=st,e.find=We,e.findLimit=He,e.findSeries=Je,e.flatMap=Ue,e.flatMapLimit=Qe,e.flatMapSeries=Ge,e.foldl=qe,e.foldr=ie,e.forEach=Ze,e.forEachLimit=$e,e.forEachOf=Me,e.forEachOfLimit=Ie,e.forEachOfSeries=Be,e.forEachSeries=et,e.forever=lt,e.groupBy=G,e.groupByLimit=dt,e.groupBySeries=W,e.inject=qe,e.log=ut,e.map=je,e.mapLimit=De,e.mapSeries=Te,e.mapValues=H,e.mapValuesLimit=pt,e.mapValuesSeries=J,e.memoize=K,e.nextTick=ct,e.parallel=X,e.parallelLimit=Z,e.priorityQueue=ae,e.queue=$,e.race=ft,e.reduce=qe,e.reduceRight=ie,e.reflect=re,e.reflectAll=se,e.reject=yt,e.rejectLimit=mt,e.rejectSeries=gt,e.retry=ue,e.retryable=ce,e.select=it,e.selectLimit=rt,e.selectSeries=st,e.seq=C,e.series=oe,e.setImmediate=_e,e.some=St,e.someLimit=xt,e.someSeries=Lt,e.sortBy=Et,e.timeout=he,e.times=me,e.timesLimit=ye,e.timesSeries=ge,e.transform=ke,e.tryEach=Ot,e.unmemoize=ve,e.until=Se,e.waterfall=bt,e.whilst=_t,e.wrapSync=r,Object.defineProperty(e,"__esModule",{value:!0})}); \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/dist/async.mjs b/node_modules/winston/node_modules/async/dist/async.mjs new file mode 100644 index 0000000..2c59965 --- /dev/null +++ b/node_modules/winston/node_modules/async/dist/async.mjs @@ -0,0 +1,5948 @@ +/** + * Creates a continuation function with some arguments already applied. + * + * Useful as a shorthand when combined with other control flow functions. Any + * arguments passed to the returned function are added to the arguments + * originally passed to apply. + * + * @name apply + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {Function} fn - The function you want to eventually apply all + * arguments to. Invokes with (arguments...). + * @param {...*} arguments... - Any number of arguments to automatically apply + * when the continuation is called. + * @returns {Function} the partially-applied function + * @example + * + * // using apply + * async.parallel([ + * async.apply(fs.writeFile, 'testfile1', 'test1'), + * async.apply(fs.writeFile, 'testfile2', 'test2') + * ]); + * + * + * // the same process without using apply + * async.parallel([ + * function(callback) { + * fs.writeFile('testfile1', 'test1', callback); + * }, + * function(callback) { + * fs.writeFile('testfile2', 'test2', callback); + * } + * ]); + * + * // It's possible to pass any number of additional arguments when calling the + * // continuation: + * + * node> var fn = async.apply(sys.puts, 'one'); + * node> fn('two', 'three'); + * one + * two + * three + */ +function apply(fn, ...args) { + return (...callArgs) => fn(...args,...callArgs); +} + +function initialParams (fn) { + return function (...args/*, callback*/) { + var callback = args.pop(); + return fn.call(this, args, callback); + }; +} + +/* istanbul ignore file */ + +var hasQueueMicrotask = typeof queueMicrotask === 'function' && queueMicrotask; +var hasSetImmediate = typeof setImmediate === 'function' && setImmediate; +var hasNextTick = typeof process === 'object' && typeof process.nextTick === 'function'; + +function fallback(fn) { + setTimeout(fn, 0); +} + +function wrap(defer) { + return (fn, ...args) => defer(() => fn(...args)); +} + +var _defer$1; + +if (hasQueueMicrotask) { + _defer$1 = queueMicrotask; +} else if (hasSetImmediate) { + _defer$1 = setImmediate; +} else if (hasNextTick) { + _defer$1 = process.nextTick; +} else { + _defer$1 = fallback; +} + +var setImmediate$1 = wrap(_defer$1); + +/** + * Take a sync function and make it async, passing its return value to a + * callback. This is useful for plugging sync functions into a waterfall, + * series, or other async functions. Any arguments passed to the generated + * function will be passed to the wrapped function (except for the final + * callback argument). Errors thrown will be passed to the callback. + * + * If the function passed to `asyncify` returns a Promise, that promises's + * resolved/rejected state will be used to call the callback, rather than simply + * the synchronous return value. + * + * This also means you can asyncify ES2017 `async` functions. + * + * @name asyncify + * @static + * @memberOf module:Utils + * @method + * @alias wrapSync + * @category Util + * @param {Function} func - The synchronous function, or Promise-returning + * function to convert to an {@link AsyncFunction}. + * @returns {AsyncFunction} An asynchronous wrapper of the `func`. To be + * invoked with `(args..., callback)`. + * @example + * + * // passing a regular synchronous function + * async.waterfall([ + * async.apply(fs.readFile, filename, "utf8"), + * async.asyncify(JSON.parse), + * function (data, next) { + * // data is the result of parsing the text. + * // If there was a parsing error, it would have been caught. + * } + * ], callback); + * + * // passing a function returning a promise + * async.waterfall([ + * async.apply(fs.readFile, filename, "utf8"), + * async.asyncify(function (contents) { + * return db.model.create(contents); + * }), + * function (model, next) { + * // `model` is the instantiated model object. + * // If there was an error, this function would be skipped. + * } + * ], callback); + * + * // es2017 example, though `asyncify` is not needed if your JS environment + * // supports async functions out of the box + * var q = async.queue(async.asyncify(async function(file) { + * var intermediateStep = await processFile(file); + * return await somePromise(intermediateStep) + * })); + * + * q.push(files); + */ +function asyncify(func) { + if (isAsync(func)) { + return function (...args/*, callback*/) { + const callback = args.pop(); + const promise = func.apply(this, args); + return handlePromise(promise, callback) + } + } + + return initialParams(function (args, callback) { + var result; + try { + result = func.apply(this, args); + } catch (e) { + return callback(e); + } + // if result is Promise object + if (result && typeof result.then === 'function') { + return handlePromise(result, callback) + } else { + callback(null, result); + } + }); +} + +function handlePromise(promise, callback) { + return promise.then(value => { + invokeCallback(callback, null, value); + }, err => { + invokeCallback(callback, err && (err instanceof Error || err.message) ? err : new Error(err)); + }); +} + +function invokeCallback(callback, error, value) { + try { + callback(error, value); + } catch (err) { + setImmediate$1(e => { throw e }, err); + } +} + +function isAsync(fn) { + return fn[Symbol.toStringTag] === 'AsyncFunction'; +} + +function isAsyncGenerator(fn) { + return fn[Symbol.toStringTag] === 'AsyncGenerator'; +} + +function isAsyncIterable(obj) { + return typeof obj[Symbol.asyncIterator] === 'function'; +} + +function wrapAsync(asyncFn) { + if (typeof asyncFn !== 'function') throw new Error('expected a function') + return isAsync(asyncFn) ? asyncify(asyncFn) : asyncFn; +} + +// conditionally promisify a function. +// only return a promise if a callback is omitted +function awaitify (asyncFn, arity) { + if (!arity) arity = asyncFn.length; + if (!arity) throw new Error('arity is undefined') + function awaitable (...args) { + if (typeof args[arity - 1] === 'function') { + return asyncFn.apply(this, args) + } + + return new Promise((resolve, reject) => { + args[arity - 1] = (err, ...cbArgs) => { + if (err) return reject(err) + resolve(cbArgs.length > 1 ? cbArgs : cbArgs[0]); + }; + asyncFn.apply(this, args); + }) + } + + return awaitable +} + +function applyEach$1 (eachfn) { + return function applyEach(fns, ...callArgs) { + const go = awaitify(function (callback) { + var that = this; + return eachfn(fns, (fn, cb) => { + wrapAsync(fn).apply(that, callArgs.concat(cb)); + }, callback); + }); + return go; + }; +} + +function _asyncMap(eachfn, arr, iteratee, callback) { + arr = arr || []; + var results = []; + var counter = 0; + var _iteratee = wrapAsync(iteratee); + + return eachfn(arr, (value, _, iterCb) => { + var index = counter++; + _iteratee(value, (err, v) => { + results[index] = v; + iterCb(err); + }); + }, err => { + callback(err, results); + }); +} + +function isArrayLike(value) { + return value && + typeof value.length === 'number' && + value.length >= 0 && + value.length % 1 === 0; +} + +// A temporary value used to identify if the loop should be broken. +// See #1064, #1293 +const breakLoop = {}; + +function once(fn) { + function wrapper (...args) { + if (fn === null) return; + var callFn = fn; + fn = null; + callFn.apply(this, args); + } + Object.assign(wrapper, fn); + return wrapper +} + +function getIterator (coll) { + return coll[Symbol.iterator] && coll[Symbol.iterator](); +} + +function createArrayIterator(coll) { + var i = -1; + var len = coll.length; + return function next() { + return ++i < len ? {value: coll[i], key: i} : null; + } +} + +function createES2015Iterator(iterator) { + var i = -1; + return function next() { + var item = iterator.next(); + if (item.done) + return null; + i++; + return {value: item.value, key: i}; + } +} + +function createObjectIterator(obj) { + var okeys = obj ? Object.keys(obj) : []; + var i = -1; + var len = okeys.length; + return function next() { + var key = okeys[++i]; + if (key === '__proto__') { + return next(); + } + return i < len ? {value: obj[key], key} : null; + }; +} + +function createIterator(coll) { + if (isArrayLike(coll)) { + return createArrayIterator(coll); + } + + var iterator = getIterator(coll); + return iterator ? createES2015Iterator(iterator) : createObjectIterator(coll); +} + +function onlyOnce(fn) { + return function (...args) { + if (fn === null) throw new Error("Callback was already called."); + var callFn = fn; + fn = null; + callFn.apply(this, args); + }; +} + +// for async generators +function asyncEachOfLimit(generator, limit, iteratee, callback) { + let done = false; + let canceled = false; + let awaiting = false; + let running = 0; + let idx = 0; + + function replenish() { + //console.log('replenish') + if (running >= limit || awaiting || done) return + //console.log('replenish awaiting') + awaiting = true; + generator.next().then(({value, done: iterDone}) => { + //console.log('got value', value) + if (canceled || done) return + awaiting = false; + if (iterDone) { + done = true; + if (running <= 0) { + //console.log('done nextCb') + callback(null); + } + return; + } + running++; + iteratee(value, idx, iterateeCallback); + idx++; + replenish(); + }).catch(handleError); + } + + function iterateeCallback(err, result) { + //console.log('iterateeCallback') + running -= 1; + if (canceled) return + if (err) return handleError(err) + + if (err === false) { + done = true; + canceled = true; + return + } + + if (result === breakLoop || (done && running <= 0)) { + done = true; + //console.log('done iterCb') + return callback(null); + } + replenish(); + } + + function handleError(err) { + if (canceled) return + awaiting = false; + done = true; + callback(err); + } + + replenish(); +} + +var eachOfLimit$2 = (limit) => { + return (obj, iteratee, callback) => { + callback = once(callback); + if (limit <= 0) { + throw new RangeError('concurrency limit cannot be less than 1') + } + if (!obj) { + return callback(null); + } + if (isAsyncGenerator(obj)) { + return asyncEachOfLimit(obj, limit, iteratee, callback) + } + if (isAsyncIterable(obj)) { + return asyncEachOfLimit(obj[Symbol.asyncIterator](), limit, iteratee, callback) + } + var nextElem = createIterator(obj); + var done = false; + var canceled = false; + var running = 0; + var looping = false; + + function iterateeCallback(err, value) { + if (canceled) return + running -= 1; + if (err) { + done = true; + callback(err); + } + else if (err === false) { + done = true; + canceled = true; + } + else if (value === breakLoop || (done && running <= 0)) { + done = true; + return callback(null); + } + else if (!looping) { + replenish(); + } + } + + function replenish () { + looping = true; + while (running < limit && !done) { + var elem = nextElem(); + if (elem === null) { + done = true; + if (running <= 0) { + callback(null); + } + return; + } + running += 1; + iteratee(elem.value, elem.key, onlyOnce(iterateeCallback)); + } + looping = false; + } + + replenish(); + }; +}; + +/** + * The same as [`eachOf`]{@link module:Collections.eachOf} but runs a maximum of `limit` async operations at a + * time. + * + * @name eachOfLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.eachOf]{@link module:Collections.eachOf} + * @alias forEachOfLimit + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async function to apply to each + * item in `coll`. The `key` is the item's key, or index in the case of an + * array. + * Invoked with (item, key, callback). + * @param {Function} [callback] - A callback which is called when all + * `iteratee` functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + */ +function eachOfLimit(coll, limit, iteratee, callback) { + return eachOfLimit$2(limit)(coll, wrapAsync(iteratee), callback); +} + +var eachOfLimit$1 = awaitify(eachOfLimit, 4); + +// eachOf implementation optimized for array-likes +function eachOfArrayLike(coll, iteratee, callback) { + callback = once(callback); + var index = 0, + completed = 0, + {length} = coll, + canceled = false; + if (length === 0) { + callback(null); + } + + function iteratorCallback(err, value) { + if (err === false) { + canceled = true; + } + if (canceled === true) return + if (err) { + callback(err); + } else if ((++completed === length) || value === breakLoop) { + callback(null); + } + } + + for (; index < length; index++) { + iteratee(coll[index], index, onlyOnce(iteratorCallback)); + } +} + +// a generic version of eachOf which can handle array, object, and iterator cases. +function eachOfGeneric (coll, iteratee, callback) { + return eachOfLimit$1(coll, Infinity, iteratee, callback); +} + +/** + * Like [`each`]{@link module:Collections.each}, except that it passes the key (or index) as the second argument + * to the iteratee. + * + * @name eachOf + * @static + * @memberOf module:Collections + * @method + * @alias forEachOf + * @category Collection + * @see [async.each]{@link module:Collections.each} + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - A function to apply to each + * item in `coll`. + * The `key` is the item's key, or index in the case of an array. + * Invoked with (item, key, callback). + * @param {Function} [callback] - A callback which is called when all + * `iteratee` functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + * @example + * + * // dev.json is a file containing a valid json object config for dev environment + * // dev.json is a file containing a valid json object config for test environment + * // prod.json is a file containing a valid json object config for prod environment + * // invalid.json is a file with a malformed json object + * + * let configs = {}; //global variable + * let validConfigFileMap = {dev: 'dev.json', test: 'test.json', prod: 'prod.json'}; + * let invalidConfigFileMap = {dev: 'dev.json', test: 'test.json', invalid: 'invalid.json'}; + * + * // asynchronous function that reads a json file and parses the contents as json object + * function parseFile(file, key, callback) { + * fs.readFile(file, "utf8", function(err, data) { + * if (err) return calback(err); + * try { + * configs[key] = JSON.parse(data); + * } catch (e) { + * return callback(e); + * } + * callback(); + * }); + * } + * + * // Using callbacks + * async.forEachOf(validConfigFileMap, parseFile, function (err) { + * if (err) { + * console.error(err); + * } else { + * console.log(configs); + * // configs is now a map of JSON data, e.g. + * // { dev: //parsed dev.json, test: //parsed test.json, prod: //parsed prod.json} + * } + * }); + * + * //Error handing + * async.forEachOf(invalidConfigFileMap, parseFile, function (err) { + * if (err) { + * console.error(err); + * // JSON parse error exception + * } else { + * console.log(configs); + * } + * }); + * + * // Using Promises + * async.forEachOf(validConfigFileMap, parseFile) + * .then( () => { + * console.log(configs); + * // configs is now a map of JSON data, e.g. + * // { dev: //parsed dev.json, test: //parsed test.json, prod: //parsed prod.json} + * }).catch( err => { + * console.error(err); + * }); + * + * //Error handing + * async.forEachOf(invalidConfigFileMap, parseFile) + * .then( () => { + * console.log(configs); + * }).catch( err => { + * console.error(err); + * // JSON parse error exception + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.forEachOf(validConfigFileMap, parseFile); + * console.log(configs); + * // configs is now a map of JSON data, e.g. + * // { dev: //parsed dev.json, test: //parsed test.json, prod: //parsed prod.json} + * } + * catch (err) { + * console.log(err); + * } + * } + * + * //Error handing + * async () => { + * try { + * let result = await async.forEachOf(invalidConfigFileMap, parseFile); + * console.log(configs); + * } + * catch (err) { + * console.log(err); + * // JSON parse error exception + * } + * } + * + */ +function eachOf(coll, iteratee, callback) { + var eachOfImplementation = isArrayLike(coll) ? eachOfArrayLike : eachOfGeneric; + return eachOfImplementation(coll, wrapAsync(iteratee), callback); +} + +var eachOf$1 = awaitify(eachOf, 3); + +/** + * Produces a new collection of values by mapping each value in `coll` through + * the `iteratee` function. The `iteratee` is called with an item from `coll` + * and a callback for when it has finished processing. Each of these callbacks + * takes 2 arguments: an `error`, and the transformed item from `coll`. If + * `iteratee` passes an error to its callback, the main `callback` (for the + * `map` function) is immediately called with the error. + * + * Note, that since this function applies the `iteratee` to each item in + * parallel, there is no guarantee that the `iteratee` functions will complete + * in order. However, the results array will be in the same order as the + * original `coll`. + * + * If `map` is passed an Object, the results will be an Array. The results + * will roughly be in the order of the original Objects' keys (but this can + * vary across JavaScript engines). + * + * @name map + * @static + * @memberOf module:Collections + * @method + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with the transformed item. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Results is an Array of the + * transformed items from the `coll`. Invoked with (err, results). + * @returns {Promise} a promise, if no callback is passed + * @example + * + * // file1.txt is a file that is 1000 bytes in size + * // file2.txt is a file that is 2000 bytes in size + * // file3.txt is a file that is 3000 bytes in size + * // file4.txt does not exist + * + * const fileList = ['file1.txt','file2.txt','file3.txt']; + * const withMissingFileList = ['file1.txt','file2.txt','file4.txt']; + * + * // asynchronous function that returns the file size in bytes + * function getFileSizeInBytes(file, callback) { + * fs.stat(file, function(err, stat) { + * if (err) { + * return callback(err); + * } + * callback(null, stat.size); + * }); + * } + * + * // Using callbacks + * async.map(fileList, getFileSizeInBytes, function(err, results) { + * if (err) { + * console.log(err); + * } else { + * console.log(results); + * // results is now an array of the file size in bytes for each file, e.g. + * // [ 1000, 2000, 3000] + * } + * }); + * + * // Error Handling + * async.map(withMissingFileList, getFileSizeInBytes, function(err, results) { + * if (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } else { + * console.log(results); + * } + * }); + * + * // Using Promises + * async.map(fileList, getFileSizeInBytes) + * .then( results => { + * console.log(results); + * // results is now an array of the file size in bytes for each file, e.g. + * // [ 1000, 2000, 3000] + * }).catch( err => { + * console.log(err); + * }); + * + * // Error Handling + * async.map(withMissingFileList, getFileSizeInBytes) + * .then( results => { + * console.log(results); + * }).catch( err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * }); + * + * // Using async/await + * async () => { + * try { + * let results = await async.map(fileList, getFileSizeInBytes); + * console.log(results); + * // results is now an array of the file size in bytes for each file, e.g. + * // [ 1000, 2000, 3000] + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // Error Handling + * async () => { + * try { + * let results = await async.map(withMissingFileList, getFileSizeInBytes); + * console.log(results); + * } + * catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } + * } + * + */ +function map (coll, iteratee, callback) { + return _asyncMap(eachOf$1, coll, iteratee, callback) +} +var map$1 = awaitify(map, 3); + +/** + * Applies the provided arguments to each function in the array, calling + * `callback` after all functions have completed. If you only provide the first + * argument, `fns`, then it will return a function which lets you pass in the + * arguments as if it were a single function call. If more arguments are + * provided, `callback` is required while `args` is still optional. The results + * for each of the applied async functions are passed to the final callback + * as an array. + * + * @name applyEach + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Array|Iterable|AsyncIterable|Object} fns - A collection of {@link AsyncFunction}s + * to all call with the same arguments + * @param {...*} [args] - any number of separate arguments to pass to the + * function. + * @param {Function} [callback] - the final argument should be the callback, + * called when all functions have completed processing. + * @returns {AsyncFunction} - Returns a function that takes no args other than + * an optional callback, that is the result of applying the `args` to each + * of the functions. + * @example + * + * const appliedFn = async.applyEach([enableSearch, updateSchema], 'bucket') + * + * appliedFn((err, results) => { + * // results[0] is the results for `enableSearch` + * // results[1] is the results for `updateSchema` + * }); + * + * // partial application example: + * async.each( + * buckets, + * async (bucket) => async.applyEach([enableSearch, updateSchema], bucket)(), + * callback + * ); + */ +var applyEach = applyEach$1(map$1); + +/** + * The same as [`eachOf`]{@link module:Collections.eachOf} but runs only a single async operation at a time. + * + * @name eachOfSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.eachOf]{@link module:Collections.eachOf} + * @alias forEachOfSeries + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * Invoked with (item, key, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + */ +function eachOfSeries(coll, iteratee, callback) { + return eachOfLimit$1(coll, 1, iteratee, callback) +} +var eachOfSeries$1 = awaitify(eachOfSeries, 3); + +/** + * The same as [`map`]{@link module:Collections.map} but runs only a single async operation at a time. + * + * @name mapSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.map]{@link module:Collections.map} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with the transformed item. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Results is an array of the + * transformed items from the `coll`. Invoked with (err, results). + * @returns {Promise} a promise, if no callback is passed + */ +function mapSeries (coll, iteratee, callback) { + return _asyncMap(eachOfSeries$1, coll, iteratee, callback) +} +var mapSeries$1 = awaitify(mapSeries, 3); + +/** + * The same as [`applyEach`]{@link module:ControlFlow.applyEach} but runs only a single async operation at a time. + * + * @name applyEachSeries + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.applyEach]{@link module:ControlFlow.applyEach} + * @category Control Flow + * @param {Array|Iterable|AsyncIterable|Object} fns - A collection of {@link AsyncFunction}s to all + * call with the same arguments + * @param {...*} [args] - any number of separate arguments to pass to the + * function. + * @param {Function} [callback] - the final argument should be the callback, + * called when all functions have completed processing. + * @returns {AsyncFunction} - A function, that when called, is the result of + * appling the `args` to the list of functions. It takes no args, other than + * a callback. + */ +var applyEachSeries = applyEach$1(mapSeries$1); + +const PROMISE_SYMBOL = Symbol('promiseCallback'); + +function promiseCallback () { + let resolve, reject; + function callback (err, ...args) { + if (err) return reject(err) + resolve(args.length > 1 ? args : args[0]); + } + + callback[PROMISE_SYMBOL] = new Promise((res, rej) => { + resolve = res, + reject = rej; + }); + + return callback +} + +/** + * Determines the best order for running the {@link AsyncFunction}s in `tasks`, based on + * their requirements. Each function can optionally depend on other functions + * being completed first, and each function is run as soon as its requirements + * are satisfied. + * + * If any of the {@link AsyncFunction}s pass an error to their callback, the `auto` sequence + * will stop. Further tasks will not execute (so any other functions depending + * on it will not run), and the main `callback` is immediately called with the + * error. + * + * {@link AsyncFunction}s also receive an object containing the results of functions which + * have completed so far as the first argument, if they have dependencies. If a + * task function has no dependencies, it will only be passed a callback. + * + * @name auto + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Object} tasks - An object. Each of its properties is either a + * function or an array of requirements, with the {@link AsyncFunction} itself the last item + * in the array. The object's key of a property serves as the name of the task + * defined by that property, i.e. can be used when specifying requirements for + * other tasks. The function receives one or two arguments: + * * a `results` object, containing the results of the previously executed + * functions, only passed if the task has any dependencies, + * * a `callback(err, result)` function, which must be called when finished, + * passing an `error` (which can be `null`) and the result of the function's + * execution. + * @param {number} [concurrency=Infinity] - An optional `integer` for + * determining the maximum number of tasks that can be run in parallel. By + * default, as many as possible. + * @param {Function} [callback] - An optional callback which is called when all + * the tasks have been completed. It receives the `err` argument if any `tasks` + * pass an error to their callback. Results are always returned; however, if an + * error occurs, no further `tasks` will be performed, and the results object + * will only contain partial results. Invoked with (err, results). + * @returns {Promise} a promise, if a callback is not passed + * @example + * + * //Using Callbacks + * async.auto({ + * get_data: function(callback) { + * // async code to get some data + * callback(null, 'data', 'converted to array'); + * }, + * make_folder: function(callback) { + * // async code to create a directory to store a file in + * // this is run at the same time as getting the data + * callback(null, 'folder'); + * }, + * write_file: ['get_data', 'make_folder', function(results, callback) { + * // once there is some data and the directory exists, + * // write the data to a file in the directory + * callback(null, 'filename'); + * }], + * email_link: ['write_file', function(results, callback) { + * // once the file is written let's email a link to it... + * callback(null, {'file':results.write_file, 'email':'user@example.com'}); + * }] + * }, function(err, results) { + * if (err) { + * console.log('err = ', err); + * } + * console.log('results = ', results); + * // results = { + * // get_data: ['data', 'converted to array'] + * // make_folder; 'folder', + * // write_file: 'filename' + * // email_link: { file: 'filename', email: 'user@example.com' } + * // } + * }); + * + * //Using Promises + * async.auto({ + * get_data: function(callback) { + * console.log('in get_data'); + * // async code to get some data + * callback(null, 'data', 'converted to array'); + * }, + * make_folder: function(callback) { + * console.log('in make_folder'); + * // async code to create a directory to store a file in + * // this is run at the same time as getting the data + * callback(null, 'folder'); + * }, + * write_file: ['get_data', 'make_folder', function(results, callback) { + * // once there is some data and the directory exists, + * // write the data to a file in the directory + * callback(null, 'filename'); + * }], + * email_link: ['write_file', function(results, callback) { + * // once the file is written let's email a link to it... + * callback(null, {'file':results.write_file, 'email':'user@example.com'}); + * }] + * }).then(results => { + * console.log('results = ', results); + * // results = { + * // get_data: ['data', 'converted to array'] + * // make_folder; 'folder', + * // write_file: 'filename' + * // email_link: { file: 'filename', email: 'user@example.com' } + * // } + * }).catch(err => { + * console.log('err = ', err); + * }); + * + * //Using async/await + * async () => { + * try { + * let results = await async.auto({ + * get_data: function(callback) { + * // async code to get some data + * callback(null, 'data', 'converted to array'); + * }, + * make_folder: function(callback) { + * // async code to create a directory to store a file in + * // this is run at the same time as getting the data + * callback(null, 'folder'); + * }, + * write_file: ['get_data', 'make_folder', function(results, callback) { + * // once there is some data and the directory exists, + * // write the data to a file in the directory + * callback(null, 'filename'); + * }], + * email_link: ['write_file', function(results, callback) { + * // once the file is written let's email a link to it... + * callback(null, {'file':results.write_file, 'email':'user@example.com'}); + * }] + * }); + * console.log('results = ', results); + * // results = { + * // get_data: ['data', 'converted to array'] + * // make_folder; 'folder', + * // write_file: 'filename' + * // email_link: { file: 'filename', email: 'user@example.com' } + * // } + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function auto(tasks, concurrency, callback) { + if (typeof concurrency !== 'number') { + // concurrency is optional, shift the args. + callback = concurrency; + concurrency = null; + } + callback = once(callback || promiseCallback()); + var numTasks = Object.keys(tasks).length; + if (!numTasks) { + return callback(null); + } + if (!concurrency) { + concurrency = numTasks; + } + + var results = {}; + var runningTasks = 0; + var canceled = false; + var hasError = false; + + var listeners = Object.create(null); + + var readyTasks = []; + + // for cycle detection: + var readyToCheck = []; // tasks that have been identified as reachable + // without the possibility of returning to an ancestor task + var uncheckedDependencies = {}; + + Object.keys(tasks).forEach(key => { + var task = tasks[key]; + if (!Array.isArray(task)) { + // no dependencies + enqueueTask(key, [task]); + readyToCheck.push(key); + return; + } + + var dependencies = task.slice(0, task.length - 1); + var remainingDependencies = dependencies.length; + if (remainingDependencies === 0) { + enqueueTask(key, task); + readyToCheck.push(key); + return; + } + uncheckedDependencies[key] = remainingDependencies; + + dependencies.forEach(dependencyName => { + if (!tasks[dependencyName]) { + throw new Error('async.auto task `' + key + + '` has a non-existent dependency `' + + dependencyName + '` in ' + + dependencies.join(', ')); + } + addListener(dependencyName, () => { + remainingDependencies--; + if (remainingDependencies === 0) { + enqueueTask(key, task); + } + }); + }); + }); + + checkForDeadlocks(); + processQueue(); + + function enqueueTask(key, task) { + readyTasks.push(() => runTask(key, task)); + } + + function processQueue() { + if (canceled) return + if (readyTasks.length === 0 && runningTasks === 0) { + return callback(null, results); + } + while(readyTasks.length && runningTasks < concurrency) { + var run = readyTasks.shift(); + run(); + } + + } + + function addListener(taskName, fn) { + var taskListeners = listeners[taskName]; + if (!taskListeners) { + taskListeners = listeners[taskName] = []; + } + + taskListeners.push(fn); + } + + function taskComplete(taskName) { + var taskListeners = listeners[taskName] || []; + taskListeners.forEach(fn => fn()); + processQueue(); + } + + + function runTask(key, task) { + if (hasError) return; + + var taskCallback = onlyOnce((err, ...result) => { + runningTasks--; + if (err === false) { + canceled = true; + return + } + if (result.length < 2) { + [result] = result; + } + if (err) { + var safeResults = {}; + Object.keys(results).forEach(rkey => { + safeResults[rkey] = results[rkey]; + }); + safeResults[key] = result; + hasError = true; + listeners = Object.create(null); + if (canceled) return + callback(err, safeResults); + } else { + results[key] = result; + taskComplete(key); + } + }); + + runningTasks++; + var taskFn = wrapAsync(task[task.length - 1]); + if (task.length > 1) { + taskFn(results, taskCallback); + } else { + taskFn(taskCallback); + } + } + + function checkForDeadlocks() { + // Kahn's algorithm + // https://en.wikipedia.org/wiki/Topological_sorting#Kahn.27s_algorithm + // http://connalle.blogspot.com/2013/10/topological-sortingkahn-algorithm.html + var currentTask; + var counter = 0; + while (readyToCheck.length) { + currentTask = readyToCheck.pop(); + counter++; + getDependents(currentTask).forEach(dependent => { + if (--uncheckedDependencies[dependent] === 0) { + readyToCheck.push(dependent); + } + }); + } + + if (counter !== numTasks) { + throw new Error( + 'async.auto cannot execute tasks due to a recursive dependency' + ); + } + } + + function getDependents(taskName) { + var result = []; + Object.keys(tasks).forEach(key => { + const task = tasks[key]; + if (Array.isArray(task) && task.indexOf(taskName) >= 0) { + result.push(key); + } + }); + return result; + } + + return callback[PROMISE_SYMBOL] +} + +var FN_ARGS = /^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/; +var ARROW_FN_ARGS = /^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/; +var FN_ARG_SPLIT = /,/; +var FN_ARG = /(=.+)?(\s*)$/; + +function stripComments(string) { + let stripped = ''; + let index = 0; + let endBlockComment = string.indexOf('*/'); + while (index < string.length) { + if (string[index] === '/' && string[index+1] === '/') { + // inline comment + let endIndex = string.indexOf('\n', index); + index = (endIndex === -1) ? string.length : endIndex; + } else if ((endBlockComment !== -1) && (string[index] === '/') && (string[index+1] === '*')) { + // block comment + let endIndex = string.indexOf('*/', index); + if (endIndex !== -1) { + index = endIndex + 2; + endBlockComment = string.indexOf('*/', index); + } else { + stripped += string[index]; + index++; + } + } else { + stripped += string[index]; + index++; + } + } + return stripped; +} + +function parseParams(func) { + const src = stripComments(func.toString()); + let match = src.match(FN_ARGS); + if (!match) { + match = src.match(ARROW_FN_ARGS); + } + if (!match) throw new Error('could not parse args in autoInject\nSource:\n' + src) + let [, args] = match; + return args + .replace(/\s/g, '') + .split(FN_ARG_SPLIT) + .map((arg) => arg.replace(FN_ARG, '').trim()); +} + +/** + * A dependency-injected version of the [async.auto]{@link module:ControlFlow.auto} function. Dependent + * tasks are specified as parameters to the function, after the usual callback + * parameter, with the parameter names matching the names of the tasks it + * depends on. This can provide even more readable task graphs which can be + * easier to maintain. + * + * If a final callback is specified, the task results are similarly injected, + * specified as named parameters after the initial error parameter. + * + * The autoInject function is purely syntactic sugar and its semantics are + * otherwise equivalent to [async.auto]{@link module:ControlFlow.auto}. + * + * @name autoInject + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.auto]{@link module:ControlFlow.auto} + * @category Control Flow + * @param {Object} tasks - An object, each of whose properties is an {@link AsyncFunction} of + * the form 'func([dependencies...], callback). The object's key of a property + * serves as the name of the task defined by that property, i.e. can be used + * when specifying requirements for other tasks. + * * The `callback` parameter is a `callback(err, result)` which must be called + * when finished, passing an `error` (which can be `null`) and the result of + * the function's execution. The remaining parameters name other tasks on + * which the task is dependent, and the results from those tasks are the + * arguments of those parameters. + * @param {Function} [callback] - An optional callback which is called when all + * the tasks have been completed. It receives the `err` argument if any `tasks` + * pass an error to their callback, and a `results` object with any completed + * task results, similar to `auto`. + * @returns {Promise} a promise, if no callback is passed + * @example + * + * // The example from `auto` can be rewritten as follows: + * async.autoInject({ + * get_data: function(callback) { + * // async code to get some data + * callback(null, 'data', 'converted to array'); + * }, + * make_folder: function(callback) { + * // async code to create a directory to store a file in + * // this is run at the same time as getting the data + * callback(null, 'folder'); + * }, + * write_file: function(get_data, make_folder, callback) { + * // once there is some data and the directory exists, + * // write the data to a file in the directory + * callback(null, 'filename'); + * }, + * email_link: function(write_file, callback) { + * // once the file is written let's email a link to it... + * // write_file contains the filename returned by write_file. + * callback(null, {'file':write_file, 'email':'user@example.com'}); + * } + * }, function(err, results) { + * console.log('err = ', err); + * console.log('email_link = ', results.email_link); + * }); + * + * // If you are using a JS minifier that mangles parameter names, `autoInject` + * // will not work with plain functions, since the parameter names will be + * // collapsed to a single letter identifier. To work around this, you can + * // explicitly specify the names of the parameters your task function needs + * // in an array, similar to Angular.js dependency injection. + * + * // This still has an advantage over plain `auto`, since the results a task + * // depends on are still spread into arguments. + * async.autoInject({ + * //... + * write_file: ['get_data', 'make_folder', function(get_data, make_folder, callback) { + * callback(null, 'filename'); + * }], + * email_link: ['write_file', function(write_file, callback) { + * callback(null, {'file':write_file, 'email':'user@example.com'}); + * }] + * //... + * }, function(err, results) { + * console.log('err = ', err); + * console.log('email_link = ', results.email_link); + * }); + */ +function autoInject(tasks, callback) { + var newTasks = {}; + + Object.keys(tasks).forEach(key => { + var taskFn = tasks[key]; + var params; + var fnIsAsync = isAsync(taskFn); + var hasNoDeps = + (!fnIsAsync && taskFn.length === 1) || + (fnIsAsync && taskFn.length === 0); + + if (Array.isArray(taskFn)) { + params = [...taskFn]; + taskFn = params.pop(); + + newTasks[key] = params.concat(params.length > 0 ? newTask : taskFn); + } else if (hasNoDeps) { + // no dependencies, use the function as-is + newTasks[key] = taskFn; + } else { + params = parseParams(taskFn); + if ((taskFn.length === 0 && !fnIsAsync) && params.length === 0) { + throw new Error("autoInject task functions require explicit parameters."); + } + + // remove callback param + if (!fnIsAsync) params.pop(); + + newTasks[key] = params.concat(newTask); + } + + function newTask(results, taskCb) { + var newArgs = params.map(name => results[name]); + newArgs.push(taskCb); + wrapAsync(taskFn)(...newArgs); + } + }); + + return auto(newTasks, callback); +} + +// Simple doubly linked list (https://en.wikipedia.org/wiki/Doubly_linked_list) implementation +// used for queues. This implementation assumes that the node provided by the user can be modified +// to adjust the next and last properties. We implement only the minimal functionality +// for queue support. +class DLL { + constructor() { + this.head = this.tail = null; + this.length = 0; + } + + removeLink(node) { + if (node.prev) node.prev.next = node.next; + else this.head = node.next; + if (node.next) node.next.prev = node.prev; + else this.tail = node.prev; + + node.prev = node.next = null; + this.length -= 1; + return node; + } + + empty () { + while(this.head) this.shift(); + return this; + } + + insertAfter(node, newNode) { + newNode.prev = node; + newNode.next = node.next; + if (node.next) node.next.prev = newNode; + else this.tail = newNode; + node.next = newNode; + this.length += 1; + } + + insertBefore(node, newNode) { + newNode.prev = node.prev; + newNode.next = node; + if (node.prev) node.prev.next = newNode; + else this.head = newNode; + node.prev = newNode; + this.length += 1; + } + + unshift(node) { + if (this.head) this.insertBefore(this.head, node); + else setInitial(this, node); + } + + push(node) { + if (this.tail) this.insertAfter(this.tail, node); + else setInitial(this, node); + } + + shift() { + return this.head && this.removeLink(this.head); + } + + pop() { + return this.tail && this.removeLink(this.tail); + } + + toArray() { + return [...this] + } + + *[Symbol.iterator] () { + var cur = this.head; + while (cur) { + yield cur.data; + cur = cur.next; + } + } + + remove (testFn) { + var curr = this.head; + while(curr) { + var {next} = curr; + if (testFn(curr)) { + this.removeLink(curr); + } + curr = next; + } + return this; + } +} + +function setInitial(dll, node) { + dll.length = 1; + dll.head = dll.tail = node; +} + +function queue$1(worker, concurrency, payload) { + if (concurrency == null) { + concurrency = 1; + } + else if(concurrency === 0) { + throw new RangeError('Concurrency must not be zero'); + } + + var _worker = wrapAsync(worker); + var numRunning = 0; + var workersList = []; + const events = { + error: [], + drain: [], + saturated: [], + unsaturated: [], + empty: [] + }; + + function on (event, handler) { + events[event].push(handler); + } + + function once (event, handler) { + const handleAndRemove = (...args) => { + off(event, handleAndRemove); + handler(...args); + }; + events[event].push(handleAndRemove); + } + + function off (event, handler) { + if (!event) return Object.keys(events).forEach(ev => events[ev] = []) + if (!handler) return events[event] = [] + events[event] = events[event].filter(ev => ev !== handler); + } + + function trigger (event, ...args) { + events[event].forEach(handler => handler(...args)); + } + + var processingScheduled = false; + function _insert(data, insertAtFront, rejectOnError, callback) { + if (callback != null && typeof callback !== 'function') { + throw new Error('task callback must be a function'); + } + q.started = true; + + var res, rej; + function promiseCallback (err, ...args) { + // we don't care about the error, let the global error handler + // deal with it + if (err) return rejectOnError ? rej(err) : res() + if (args.length <= 1) return res(args[0]) + res(args); + } + + var item = q._createTaskItem( + data, + rejectOnError ? promiseCallback : + (callback || promiseCallback) + ); + + if (insertAtFront) { + q._tasks.unshift(item); + } else { + q._tasks.push(item); + } + + if (!processingScheduled) { + processingScheduled = true; + setImmediate$1(() => { + processingScheduled = false; + q.process(); + }); + } + + if (rejectOnError || !callback) { + return new Promise((resolve, reject) => { + res = resolve; + rej = reject; + }) + } + } + + function _createCB(tasks) { + return function (err, ...args) { + numRunning -= 1; + + for (var i = 0, l = tasks.length; i < l; i++) { + var task = tasks[i]; + + var index = workersList.indexOf(task); + if (index === 0) { + workersList.shift(); + } else if (index > 0) { + workersList.splice(index, 1); + } + + task.callback(err, ...args); + + if (err != null) { + trigger('error', err, task.data); + } + } + + if (numRunning <= (q.concurrency - q.buffer) ) { + trigger('unsaturated'); + } + + if (q.idle()) { + trigger('drain'); + } + q.process(); + }; + } + + function _maybeDrain(data) { + if (data.length === 0 && q.idle()) { + // call drain immediately if there are no tasks + setImmediate$1(() => trigger('drain')); + return true + } + return false + } + + const eventMethod = (name) => (handler) => { + if (!handler) { + return new Promise((resolve, reject) => { + once(name, (err, data) => { + if (err) return reject(err) + resolve(data); + }); + }) + } + off(name); + on(name, handler); + + }; + + var isProcessing = false; + var q = { + _tasks: new DLL(), + _createTaskItem (data, callback) { + return { + data, + callback + }; + }, + *[Symbol.iterator] () { + yield* q._tasks[Symbol.iterator](); + }, + concurrency, + payload, + buffer: concurrency / 4, + started: false, + paused: false, + push (data, callback) { + if (Array.isArray(data)) { + if (_maybeDrain(data)) return + return data.map(datum => _insert(datum, false, false, callback)) + } + return _insert(data, false, false, callback); + }, + pushAsync (data, callback) { + if (Array.isArray(data)) { + if (_maybeDrain(data)) return + return data.map(datum => _insert(datum, false, true, callback)) + } + return _insert(data, false, true, callback); + }, + kill () { + off(); + q._tasks.empty(); + }, + unshift (data, callback) { + if (Array.isArray(data)) { + if (_maybeDrain(data)) return + return data.map(datum => _insert(datum, true, false, callback)) + } + return _insert(data, true, false, callback); + }, + unshiftAsync (data, callback) { + if (Array.isArray(data)) { + if (_maybeDrain(data)) return + return data.map(datum => _insert(datum, true, true, callback)) + } + return _insert(data, true, true, callback); + }, + remove (testFn) { + q._tasks.remove(testFn); + }, + process () { + // Avoid trying to start too many processing operations. This can occur + // when callbacks resolve synchronously (#1267). + if (isProcessing) { + return; + } + isProcessing = true; + while(!q.paused && numRunning < q.concurrency && q._tasks.length){ + var tasks = [], data = []; + var l = q._tasks.length; + if (q.payload) l = Math.min(l, q.payload); + for (var i = 0; i < l; i++) { + var node = q._tasks.shift(); + tasks.push(node); + workersList.push(node); + data.push(node.data); + } + + numRunning += 1; + + if (q._tasks.length === 0) { + trigger('empty'); + } + + if (numRunning === q.concurrency) { + trigger('saturated'); + } + + var cb = onlyOnce(_createCB(tasks)); + _worker(data, cb); + } + isProcessing = false; + }, + length () { + return q._tasks.length; + }, + running () { + return numRunning; + }, + workersList () { + return workersList; + }, + idle() { + return q._tasks.length + numRunning === 0; + }, + pause () { + q.paused = true; + }, + resume () { + if (q.paused === false) { return; } + q.paused = false; + setImmediate$1(q.process); + } + }; + // define these as fixed properties, so people get useful errors when updating + Object.defineProperties(q, { + saturated: { + writable: false, + value: eventMethod('saturated') + }, + unsaturated: { + writable: false, + value: eventMethod('unsaturated') + }, + empty: { + writable: false, + value: eventMethod('empty') + }, + drain: { + writable: false, + value: eventMethod('drain') + }, + error: { + writable: false, + value: eventMethod('error') + }, + }); + return q; +} + +/** + * Creates a `cargo` object with the specified payload. Tasks added to the + * cargo will be processed altogether (up to the `payload` limit). If the + * `worker` is in progress, the task is queued until it becomes available. Once + * the `worker` has completed some tasks, each callback of those tasks is + * called. Check out [these](https://camo.githubusercontent.com/6bbd36f4cf5b35a0f11a96dcd2e97711ffc2fb37/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313637363837312f36383130382f62626330636662302d356632392d313165322d393734662d3333393763363464633835382e676966) [animations](https://camo.githubusercontent.com/f4810e00e1c5f5f8addbe3e9f49064fd5d102699/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313637363837312f36383130312f38346339323036362d356632392d313165322d383134662d3964336430323431336266642e676966) + * for how `cargo` and `queue` work. + * + * While [`queue`]{@link module:ControlFlow.queue} passes only one task to one of a group of workers + * at a time, cargo passes an array of tasks to a single worker, repeating + * when the worker is finished. + * + * @name cargo + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.queue]{@link module:ControlFlow.queue} + * @category Control Flow + * @param {AsyncFunction} worker - An asynchronous function for processing an array + * of queued tasks. Invoked with `(tasks, callback)`. + * @param {number} [payload=Infinity] - An optional `integer` for determining + * how many tasks should be processed per round; if omitted, the default is + * unlimited. + * @returns {module:ControlFlow.QueueObject} A cargo object to manage the tasks. Callbacks can + * attached as certain properties to listen for specific events during the + * lifecycle of the cargo and inner queue. + * @example + * + * // create a cargo object with payload 2 + * var cargo = async.cargo(function(tasks, callback) { + * for (var i=0; i { + * console.log(result); + * // 6000 + * // which is the sum of the file sizes of the three files + * }).catch( err => { + * console.log(err); + * }); + * + * // Error Handling + * async.reduce(withMissingFileList, 0, getFileSizeInBytes) + * .then( result => { + * console.log(result); + * }).catch( err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.reduce(fileList, 0, getFileSizeInBytes); + * console.log(result); + * // 6000 + * // which is the sum of the file sizes of the three files + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // Error Handling + * async () => { + * try { + * let result = await async.reduce(withMissingFileList, 0, getFileSizeInBytes); + * console.log(result); + * } + * catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } + * } + * + */ +function reduce(coll, memo, iteratee, callback) { + callback = once(callback); + var _iteratee = wrapAsync(iteratee); + return eachOfSeries$1(coll, (x, i, iterCb) => { + _iteratee(memo, x, (err, v) => { + memo = v; + iterCb(err); + }); + }, err => callback(err, memo)); +} +var reduce$1 = awaitify(reduce, 4); + +/** + * Version of the compose function that is more natural to read. Each function + * consumes the return value of the previous function. It is the equivalent of + * [compose]{@link module:ControlFlow.compose} with the arguments reversed. + * + * Each function is executed with the `this` binding of the composed function. + * + * @name seq + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.compose]{@link module:ControlFlow.compose} + * @category Control Flow + * @param {...AsyncFunction} functions - the asynchronous functions to compose + * @returns {Function} a function that composes the `functions` in order + * @example + * + * // Requires lodash (or underscore), express3 and dresende's orm2. + * // Part of an app, that fetches cats of the logged user. + * // This example uses `seq` function to avoid overnesting and error + * // handling clutter. + * app.get('/cats', function(request, response) { + * var User = request.models.User; + * async.seq( + * User.get.bind(User), // 'User.get' has signature (id, callback(err, data)) + * function(user, fn) { + * user.getCats(fn); // 'getCats' has signature (callback(err, data)) + * } + * )(req.session.user_id, function (err, cats) { + * if (err) { + * console.error(err); + * response.json({ status: 'error', message: err.message }); + * } else { + * response.json({ status: 'ok', message: 'Cats found', data: cats }); + * } + * }); + * }); + */ +function seq(...functions) { + var _functions = functions.map(wrapAsync); + return function (...args) { + var that = this; + + var cb = args[args.length - 1]; + if (typeof cb == 'function') { + args.pop(); + } else { + cb = promiseCallback(); + } + + reduce$1(_functions, args, (newargs, fn, iterCb) => { + fn.apply(that, newargs.concat((err, ...nextargs) => { + iterCb(err, nextargs); + })); + }, + (err, results) => cb(err, ...results)); + + return cb[PROMISE_SYMBOL] + }; +} + +/** + * Creates a function which is a composition of the passed asynchronous + * functions. Each function consumes the return value of the function that + * follows. Composing functions `f()`, `g()`, and `h()` would produce the result + * of `f(g(h()))`, only this version uses callbacks to obtain the return values. + * + * If the last argument to the composed function is not a function, a promise + * is returned when you call it. + * + * Each function is executed with the `this` binding of the composed function. + * + * @name compose + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {...AsyncFunction} functions - the asynchronous functions to compose + * @returns {Function} an asynchronous function that is the composed + * asynchronous `functions` + * @example + * + * function add1(n, callback) { + * setTimeout(function () { + * callback(null, n + 1); + * }, 10); + * } + * + * function mul3(n, callback) { + * setTimeout(function () { + * callback(null, n * 3); + * }, 10); + * } + * + * var add1mul3 = async.compose(mul3, add1); + * add1mul3(4, function (err, result) { + * // result now equals 15 + * }); + */ +function compose(...args) { + return seq(...args.reverse()); +} + +/** + * The same as [`map`]{@link module:Collections.map} but runs a maximum of `limit` async operations at a time. + * + * @name mapLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.map]{@link module:Collections.map} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with the transformed item. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Results is an array of the + * transformed items from the `coll`. Invoked with (err, results). + * @returns {Promise} a promise, if no callback is passed + */ +function mapLimit (coll, limit, iteratee, callback) { + return _asyncMap(eachOfLimit$2(limit), coll, iteratee, callback) +} +var mapLimit$1 = awaitify(mapLimit, 4); + +/** + * The same as [`concat`]{@link module:Collections.concat} but runs a maximum of `limit` async operations at a time. + * + * @name concatLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.concat]{@link module:Collections.concat} + * @category Collection + * @alias flatMapLimit + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - A function to apply to each item in `coll`, + * which should use an array as its result. Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished, or an error occurs. Results is an array + * containing the concatenated results of the `iteratee` function. Invoked with + * (err, results). + * @returns A Promise, if no callback is passed + */ +function concatLimit(coll, limit, iteratee, callback) { + var _iteratee = wrapAsync(iteratee); + return mapLimit$1(coll, limit, (val, iterCb) => { + _iteratee(val, (err, ...args) => { + if (err) return iterCb(err); + return iterCb(err, args); + }); + }, (err, mapResults) => { + var result = []; + for (var i = 0; i < mapResults.length; i++) { + if (mapResults[i]) { + result = result.concat(...mapResults[i]); + } + } + + return callback(err, result); + }); +} +var concatLimit$1 = awaitify(concatLimit, 4); + +/** + * Applies `iteratee` to each item in `coll`, concatenating the results. Returns + * the concatenated list. The `iteratee`s are called in parallel, and the + * results are concatenated as they return. The results array will be returned in + * the original order of `coll` passed to the `iteratee` function. + * + * @name concat + * @static + * @memberOf module:Collections + * @method + * @category Collection + * @alias flatMap + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - A function to apply to each item in `coll`, + * which should use an array as its result. Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished, or an error occurs. Results is an array + * containing the concatenated results of the `iteratee` function. Invoked with + * (err, results). + * @returns A Promise, if no callback is passed + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * // dir4 does not exist + * + * let directoryList = ['dir1','dir2','dir3']; + * let withMissingDirectoryList = ['dir1','dir2','dir3', 'dir4']; + * + * // Using callbacks + * async.concat(directoryList, fs.readdir, function(err, results) { + * if (err) { + * console.log(err); + * } else { + * console.log(results); + * // [ 'file1.txt', 'file2.txt', 'file3.txt', 'file4.txt', file5.txt ] + * } + * }); + * + * // Error Handling + * async.concat(withMissingDirectoryList, fs.readdir, function(err, results) { + * if (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4 does not exist + * } else { + * console.log(results); + * } + * }); + * + * // Using Promises + * async.concat(directoryList, fs.readdir) + * .then(results => { + * console.log(results); + * // [ 'file1.txt', 'file2.txt', 'file3.txt', 'file4.txt', file5.txt ] + * }).catch(err => { + * console.log(err); + * }); + * + * // Error Handling + * async.concat(withMissingDirectoryList, fs.readdir) + * .then(results => { + * console.log(results); + * }).catch(err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4 does not exist + * }); + * + * // Using async/await + * async () => { + * try { + * let results = await async.concat(directoryList, fs.readdir); + * console.log(results); + * // [ 'file1.txt', 'file2.txt', 'file3.txt', 'file4.txt', file5.txt ] + * } catch (err) { + * console.log(err); + * } + * } + * + * // Error Handling + * async () => { + * try { + * let results = await async.concat(withMissingDirectoryList, fs.readdir); + * console.log(results); + * } catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4 does not exist + * } + * } + * + */ +function concat(coll, iteratee, callback) { + return concatLimit$1(coll, Infinity, iteratee, callback) +} +var concat$1 = awaitify(concat, 3); + +/** + * The same as [`concat`]{@link module:Collections.concat} but runs only a single async operation at a time. + * + * @name concatSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.concat]{@link module:Collections.concat} + * @category Collection + * @alias flatMapSeries + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - A function to apply to each item in `coll`. + * The iteratee should complete with an array an array of results. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished, or an error occurs. Results is an array + * containing the concatenated results of the `iteratee` function. Invoked with + * (err, results). + * @returns A Promise, if no callback is passed + */ +function concatSeries(coll, iteratee, callback) { + return concatLimit$1(coll, 1, iteratee, callback) +} +var concatSeries$1 = awaitify(concatSeries, 3); + +/** + * Returns a function that when called, calls-back with the values provided. + * Useful as the first function in a [`waterfall`]{@link module:ControlFlow.waterfall}, or for plugging values in to + * [`auto`]{@link module:ControlFlow.auto}. + * + * @name constant + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {...*} arguments... - Any number of arguments to automatically invoke + * callback with. + * @returns {AsyncFunction} Returns a function that when invoked, automatically + * invokes the callback with the previous given arguments. + * @example + * + * async.waterfall([ + * async.constant(42), + * function (value, next) { + * // value === 42 + * }, + * //... + * ], callback); + * + * async.waterfall([ + * async.constant(filename, "utf8"), + * fs.readFile, + * function (fileData, next) { + * //... + * } + * //... + * ], callback); + * + * async.auto({ + * hostname: async.constant("https://server.net/"), + * port: findFreePort, + * launchServer: ["hostname", "port", function (options, cb) { + * startServer(options, cb); + * }], + * //... + * }, callback); + */ +function constant$1(...args) { + return function (...ignoredArgs/*, callback*/) { + var callback = ignoredArgs.pop(); + return callback(null, ...args); + }; +} + +function _createTester(check, getResult) { + return (eachfn, arr, _iteratee, cb) => { + var testPassed = false; + var testResult; + const iteratee = wrapAsync(_iteratee); + eachfn(arr, (value, _, callback) => { + iteratee(value, (err, result) => { + if (err || err === false) return callback(err); + + if (check(result) && !testResult) { + testPassed = true; + testResult = getResult(true, value); + return callback(null, breakLoop); + } + callback(); + }); + }, err => { + if (err) return cb(err); + cb(null, testPassed ? testResult : getResult(false)); + }); + }; +} + +/** + * Returns the first value in `coll` that passes an async truth test. The + * `iteratee` is applied in parallel, meaning the first iteratee to return + * `true` will fire the detect `callback` with that result. That means the + * result might not be the first item in the original `coll` (in terms of order) + * that passes the test. + + * If order within the original `coll` is important, then look at + * [`detectSeries`]{@link module:Collections.detectSeries}. + * + * @name detect + * @static + * @memberOf module:Collections + * @method + * @alias find + * @category Collections + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - A truth test to apply to each item in `coll`. + * The iteratee must complete with a boolean value as its result. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the `iteratee` functions have finished. + * Result will be the first item in the array that passes the truth test + * (iteratee) or the value `undefined` if none passed. Invoked with + * (err, result). + * @returns {Promise} a promise, if a callback is omitted + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * + * // asynchronous function that checks if a file exists + * function fileExists(file, callback) { + * fs.access(file, fs.constants.F_OK, (err) => { + * callback(null, !err); + * }); + * } + * + * async.detect(['file3.txt','file2.txt','dir1/file1.txt'], fileExists, + * function(err, result) { + * console.log(result); + * // dir1/file1.txt + * // result now equals the first file in the list that exists + * } + *); + * + * // Using Promises + * async.detect(['file3.txt','file2.txt','dir1/file1.txt'], fileExists) + * .then(result => { + * console.log(result); + * // dir1/file1.txt + * // result now equals the first file in the list that exists + * }).catch(err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.detect(['file3.txt','file2.txt','dir1/file1.txt'], fileExists); + * console.log(result); + * // dir1/file1.txt + * // result now equals the file in the list that exists + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function detect(coll, iteratee, callback) { + return _createTester(bool => bool, (res, item) => item)(eachOf$1, coll, iteratee, callback) +} +var detect$1 = awaitify(detect, 3); + +/** + * The same as [`detect`]{@link module:Collections.detect} but runs a maximum of `limit` async operations at a + * time. + * + * @name detectLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.detect]{@link module:Collections.detect} + * @alias findLimit + * @category Collections + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - A truth test to apply to each item in `coll`. + * The iteratee must complete with a boolean value as its result. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the `iteratee` functions have finished. + * Result will be the first item in the array that passes the truth test + * (iteratee) or the value `undefined` if none passed. Invoked with + * (err, result). + * @returns {Promise} a promise, if a callback is omitted + */ +function detectLimit(coll, limit, iteratee, callback) { + return _createTester(bool => bool, (res, item) => item)(eachOfLimit$2(limit), coll, iteratee, callback) +} +var detectLimit$1 = awaitify(detectLimit, 4); + +/** + * The same as [`detect`]{@link module:Collections.detect} but runs only a single async operation at a time. + * + * @name detectSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.detect]{@link module:Collections.detect} + * @alias findSeries + * @category Collections + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - A truth test to apply to each item in `coll`. + * The iteratee must complete with a boolean value as its result. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the `iteratee` functions have finished. + * Result will be the first item in the array that passes the truth test + * (iteratee) or the value `undefined` if none passed. Invoked with + * (err, result). + * @returns {Promise} a promise, if a callback is omitted + */ +function detectSeries(coll, iteratee, callback) { + return _createTester(bool => bool, (res, item) => item)(eachOfLimit$2(1), coll, iteratee, callback) +} + +var detectSeries$1 = awaitify(detectSeries, 3); + +function consoleFunc(name) { + return (fn, ...args) => wrapAsync(fn)(...args, (err, ...resultArgs) => { + /* istanbul ignore else */ + if (typeof console === 'object') { + /* istanbul ignore else */ + if (err) { + /* istanbul ignore else */ + if (console.error) { + console.error(err); + } + } else if (console[name]) { /* istanbul ignore else */ + resultArgs.forEach(x => console[name](x)); + } + } + }) +} + +/** + * Logs the result of an [`async` function]{@link AsyncFunction} to the + * `console` using `console.dir` to display the properties of the resulting object. + * Only works in Node.js or in browsers that support `console.dir` and + * `console.error` (such as FF and Chrome). + * If multiple arguments are returned from the async function, + * `console.dir` is called on each argument in order. + * + * @name dir + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {AsyncFunction} function - The function you want to eventually apply + * all arguments to. + * @param {...*} arguments... - Any number of arguments to apply to the function. + * @example + * + * // in a module + * var hello = function(name, callback) { + * setTimeout(function() { + * callback(null, {hello: name}); + * }, 1000); + * }; + * + * // in the node repl + * node> async.dir(hello, 'world'); + * {hello: 'world'} + */ +var dir = consoleFunc('dir'); + +/** + * The post-check version of [`whilst`]{@link module:ControlFlow.whilst}. To reflect the difference in + * the order of operations, the arguments `test` and `iteratee` are switched. + * + * `doWhilst` is to `whilst` as `do while` is to `while` in plain JavaScript. + * + * @name doWhilst + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.whilst]{@link module:ControlFlow.whilst} + * @category Control Flow + * @param {AsyncFunction} iteratee - A function which is called each time `test` + * passes. Invoked with (callback). + * @param {AsyncFunction} test - asynchronous truth test to perform after each + * execution of `iteratee`. Invoked with (...args, callback), where `...args` are the + * non-error args from the previous callback of `iteratee`. + * @param {Function} [callback] - A callback which is called after the test + * function has failed and repeated execution of `iteratee` has stopped. + * `callback` will be passed an error and any arguments passed to the final + * `iteratee`'s callback. Invoked with (err, [results]); + * @returns {Promise} a promise, if no callback is passed + */ +function doWhilst(iteratee, test, callback) { + callback = onlyOnce(callback); + var _fn = wrapAsync(iteratee); + var _test = wrapAsync(test); + var results; + + function next(err, ...args) { + if (err) return callback(err); + if (err === false) return; + results = args; + _test(...args, check); + } + + function check(err, truth) { + if (err) return callback(err); + if (err === false) return; + if (!truth) return callback(null, ...results); + _fn(next); + } + + return check(null, true); +} + +var doWhilst$1 = awaitify(doWhilst, 3); + +/** + * Like ['doWhilst']{@link module:ControlFlow.doWhilst}, except the `test` is inverted. Note the + * argument ordering differs from `until`. + * + * @name doUntil + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.doWhilst]{@link module:ControlFlow.doWhilst} + * @category Control Flow + * @param {AsyncFunction} iteratee - An async function which is called each time + * `test` fails. Invoked with (callback). + * @param {AsyncFunction} test - asynchronous truth test to perform after each + * execution of `iteratee`. Invoked with (...args, callback), where `...args` are the + * non-error args from the previous callback of `iteratee` + * @param {Function} [callback] - A callback which is called after the test + * function has passed and repeated execution of `iteratee` has stopped. `callback` + * will be passed an error and any arguments passed to the final `iteratee`'s + * callback. Invoked with (err, [results]); + * @returns {Promise} a promise, if no callback is passed + */ +function doUntil(iteratee, test, callback) { + const _test = wrapAsync(test); + return doWhilst$1(iteratee, (...args) => { + const cb = args.pop(); + _test(...args, (err, truth) => cb (err, !truth)); + }, callback); +} + +function _withoutIndex(iteratee) { + return (value, index, callback) => iteratee(value, callback); +} + +/** + * Applies the function `iteratee` to each item in `coll`, in parallel. + * The `iteratee` is called with an item from the list, and a callback for when + * it has finished. If the `iteratee` passes an error to its `callback`, the + * main `callback` (for the `each` function) is immediately called with the + * error. + * + * Note, that since this function applies `iteratee` to each item in parallel, + * there is no guarantee that the iteratee functions will complete in order. + * + * @name each + * @static + * @memberOf module:Collections + * @method + * @alias forEach + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to + * each item in `coll`. Invoked with (item, callback). + * The array index is not passed to the iteratee. + * If you need the index, use `eachOf`. + * @param {Function} [callback] - A callback which is called when all + * `iteratee` functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * // dir4 does not exist + * + * const fileList = [ 'dir1/file2.txt', 'dir2/file3.txt', 'dir/file5.txt']; + * const withMissingFileList = ['dir1/file1.txt', 'dir4/file2.txt']; + * + * // asynchronous function that deletes a file + * const deleteFile = function(file, callback) { + * fs.unlink(file, callback); + * }; + * + * // Using callbacks + * async.each(fileList, deleteFile, function(err) { + * if( err ) { + * console.log(err); + * } else { + * console.log('All files have been deleted successfully'); + * } + * }); + * + * // Error Handling + * async.each(withMissingFileList, deleteFile, function(err){ + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4/file2.txt does not exist + * // dir1/file1.txt could have been deleted + * }); + * + * // Using Promises + * async.each(fileList, deleteFile) + * .then( () => { + * console.log('All files have been deleted successfully'); + * }).catch( err => { + * console.log(err); + * }); + * + * // Error Handling + * async.each(fileList, deleteFile) + * .then( () => { + * console.log('All files have been deleted successfully'); + * }).catch( err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4/file2.txt does not exist + * // dir1/file1.txt could have been deleted + * }); + * + * // Using async/await + * async () => { + * try { + * await async.each(files, deleteFile); + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // Error Handling + * async () => { + * try { + * await async.each(withMissingFileList, deleteFile); + * } + * catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4/file2.txt does not exist + * // dir1/file1.txt could have been deleted + * } + * } + * + */ +function eachLimit$2(coll, iteratee, callback) { + return eachOf$1(coll, _withoutIndex(wrapAsync(iteratee)), callback); +} + +var each = awaitify(eachLimit$2, 3); + +/** + * The same as [`each`]{@link module:Collections.each} but runs a maximum of `limit` async operations at a time. + * + * @name eachLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.each]{@link module:Collections.each} + * @alias forEachLimit + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The array index is not passed to the iteratee. + * If you need the index, use `eachOfLimit`. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called when all + * `iteratee` functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + */ +function eachLimit(coll, limit, iteratee, callback) { + return eachOfLimit$2(limit)(coll, _withoutIndex(wrapAsync(iteratee)), callback); +} +var eachLimit$1 = awaitify(eachLimit, 4); + +/** + * The same as [`each`]{@link module:Collections.each} but runs only a single async operation at a time. + * + * Note, that unlike [`each`]{@link module:Collections.each}, this function applies iteratee to each item + * in series and therefore the iteratee functions will complete in order. + + * @name eachSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.each]{@link module:Collections.each} + * @alias forEachSeries + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each + * item in `coll`. + * The array index is not passed to the iteratee. + * If you need the index, use `eachOfSeries`. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called when all + * `iteratee` functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + */ +function eachSeries(coll, iteratee, callback) { + return eachLimit$1(coll, 1, iteratee, callback) +} +var eachSeries$1 = awaitify(eachSeries, 3); + +/** + * Wrap an async function and ensure it calls its callback on a later tick of + * the event loop. If the function already calls its callback on a next tick, + * no extra deferral is added. This is useful for preventing stack overflows + * (`RangeError: Maximum call stack size exceeded`) and generally keeping + * [Zalgo](http://blog.izs.me/post/59142742143/designing-apis-for-asynchrony) + * contained. ES2017 `async` functions are returned as-is -- they are immune + * to Zalgo's corrupting influences, as they always resolve on a later tick. + * + * @name ensureAsync + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {AsyncFunction} fn - an async function, one that expects a node-style + * callback as its last argument. + * @returns {AsyncFunction} Returns a wrapped function with the exact same call + * signature as the function passed in. + * @example + * + * function sometimesAsync(arg, callback) { + * if (cache[arg]) { + * return callback(null, cache[arg]); // this would be synchronous!! + * } else { + * doSomeIO(arg, callback); // this IO would be asynchronous + * } + * } + * + * // this has a risk of stack overflows if many results are cached in a row + * async.mapSeries(args, sometimesAsync, done); + * + * // this will defer sometimesAsync's callback if necessary, + * // preventing stack overflows + * async.mapSeries(args, async.ensureAsync(sometimesAsync), done); + */ +function ensureAsync(fn) { + if (isAsync(fn)) return fn; + return function (...args/*, callback*/) { + var callback = args.pop(); + var sync = true; + args.push((...innerArgs) => { + if (sync) { + setImmediate$1(() => callback(...innerArgs)); + } else { + callback(...innerArgs); + } + }); + fn.apply(this, args); + sync = false; + }; +} + +/** + * Returns `true` if every element in `coll` satisfies an async test. If any + * iteratee call returns `false`, the main `callback` is immediately called. + * + * @name every + * @static + * @memberOf module:Collections + * @method + * @alias all + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collection in parallel. + * The iteratee must complete with a boolean result value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result will be either `true` or `false` + * depending on the values of the async tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * // dir4 does not exist + * + * const fileList = ['dir1/file1.txt','dir2/file3.txt','dir3/file5.txt']; + * const withMissingFileList = ['file1.txt','file2.txt','file4.txt']; + * + * // asynchronous function that checks if a file exists + * function fileExists(file, callback) { + * fs.access(file, fs.constants.F_OK, (err) => { + * callback(null, !err); + * }); + * } + * + * // Using callbacks + * async.every(fileList, fileExists, function(err, result) { + * console.log(result); + * // true + * // result is true since every file exists + * }); + * + * async.every(withMissingFileList, fileExists, function(err, result) { + * console.log(result); + * // false + * // result is false since NOT every file exists + * }); + * + * // Using Promises + * async.every(fileList, fileExists) + * .then( result => { + * console.log(result); + * // true + * // result is true since every file exists + * }).catch( err => { + * console.log(err); + * }); + * + * async.every(withMissingFileList, fileExists) + * .then( result => { + * console.log(result); + * // false + * // result is false since NOT every file exists + * }).catch( err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.every(fileList, fileExists); + * console.log(result); + * // true + * // result is true since every file exists + * } + * catch (err) { + * console.log(err); + * } + * } + * + * async () => { + * try { + * let result = await async.every(withMissingFileList, fileExists); + * console.log(result); + * // false + * // result is false since NOT every file exists + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function every(coll, iteratee, callback) { + return _createTester(bool => !bool, res => !res)(eachOf$1, coll, iteratee, callback) +} +var every$1 = awaitify(every, 3); + +/** + * The same as [`every`]{@link module:Collections.every} but runs a maximum of `limit` async operations at a time. + * + * @name everyLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.every]{@link module:Collections.every} + * @alias allLimit + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collection in parallel. + * The iteratee must complete with a boolean result value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result will be either `true` or `false` + * depending on the values of the async tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + */ +function everyLimit(coll, limit, iteratee, callback) { + return _createTester(bool => !bool, res => !res)(eachOfLimit$2(limit), coll, iteratee, callback) +} +var everyLimit$1 = awaitify(everyLimit, 4); + +/** + * The same as [`every`]{@link module:Collections.every} but runs only a single async operation at a time. + * + * @name everySeries + * @static + * @memberOf module:Collections + * @method + * @see [async.every]{@link module:Collections.every} + * @alias allSeries + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collection in series. + * The iteratee must complete with a boolean result value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result will be either `true` or `false` + * depending on the values of the async tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + */ +function everySeries(coll, iteratee, callback) { + return _createTester(bool => !bool, res => !res)(eachOfSeries$1, coll, iteratee, callback) +} +var everySeries$1 = awaitify(everySeries, 3); + +function filterArray(eachfn, arr, iteratee, callback) { + var truthValues = new Array(arr.length); + eachfn(arr, (x, index, iterCb) => { + iteratee(x, (err, v) => { + truthValues[index] = !!v; + iterCb(err); + }); + }, err => { + if (err) return callback(err); + var results = []; + for (var i = 0; i < arr.length; i++) { + if (truthValues[i]) results.push(arr[i]); + } + callback(null, results); + }); +} + +function filterGeneric(eachfn, coll, iteratee, callback) { + var results = []; + eachfn(coll, (x, index, iterCb) => { + iteratee(x, (err, v) => { + if (err) return iterCb(err); + if (v) { + results.push({index, value: x}); + } + iterCb(err); + }); + }, err => { + if (err) return callback(err); + callback(null, results + .sort((a, b) => a.index - b.index) + .map(v => v.value)); + }); +} + +function _filter(eachfn, coll, iteratee, callback) { + var filter = isArrayLike(coll) ? filterArray : filterGeneric; + return filter(eachfn, coll, wrapAsync(iteratee), callback); +} + +/** + * Returns a new array of all the values in `coll` which pass an async truth + * test. This operation is performed in parallel, but the results array will be + * in the same order as the original. + * + * @name filter + * @static + * @memberOf module:Collections + * @method + * @alias select + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {Function} iteratee - A truth test to apply to each item in `coll`. + * The `iteratee` is passed a `callback(err, truthValue)`, which must be called + * with a boolean argument once it has completed. Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results). + * @returns {Promise} a promise, if no callback provided + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * + * const files = ['dir1/file1.txt','dir2/file3.txt','dir3/file6.txt']; + * + * // asynchronous function that checks if a file exists + * function fileExists(file, callback) { + * fs.access(file, fs.constants.F_OK, (err) => { + * callback(null, !err); + * }); + * } + * + * // Using callbacks + * async.filter(files, fileExists, function(err, results) { + * if(err) { + * console.log(err); + * } else { + * console.log(results); + * // [ 'dir1/file1.txt', 'dir2/file3.txt' ] + * // results is now an array of the existing files + * } + * }); + * + * // Using Promises + * async.filter(files, fileExists) + * .then(results => { + * console.log(results); + * // [ 'dir1/file1.txt', 'dir2/file3.txt' ] + * // results is now an array of the existing files + * }).catch(err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let results = await async.filter(files, fileExists); + * console.log(results); + * // [ 'dir1/file1.txt', 'dir2/file3.txt' ] + * // results is now an array of the existing files + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function filter (coll, iteratee, callback) { + return _filter(eachOf$1, coll, iteratee, callback) +} +var filter$1 = awaitify(filter, 3); + +/** + * The same as [`filter`]{@link module:Collections.filter} but runs a maximum of `limit` async operations at a + * time. + * + * @name filterLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.filter]{@link module:Collections.filter} + * @alias selectLimit + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {Function} iteratee - A truth test to apply to each item in `coll`. + * The `iteratee` is passed a `callback(err, truthValue)`, which must be called + * with a boolean argument once it has completed. Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results). + * @returns {Promise} a promise, if no callback provided + */ +function filterLimit (coll, limit, iteratee, callback) { + return _filter(eachOfLimit$2(limit), coll, iteratee, callback) +} +var filterLimit$1 = awaitify(filterLimit, 4); + +/** + * The same as [`filter`]{@link module:Collections.filter} but runs only a single async operation at a time. + * + * @name filterSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.filter]{@link module:Collections.filter} + * @alias selectSeries + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {Function} iteratee - A truth test to apply to each item in `coll`. + * The `iteratee` is passed a `callback(err, truthValue)`, which must be called + * with a boolean argument once it has completed. Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results) + * @returns {Promise} a promise, if no callback provided + */ +function filterSeries (coll, iteratee, callback) { + return _filter(eachOfSeries$1, coll, iteratee, callback) +} +var filterSeries$1 = awaitify(filterSeries, 3); + +/** + * Calls the asynchronous function `fn` with a callback parameter that allows it + * to call itself again, in series, indefinitely. + + * If an error is passed to the callback then `errback` is called with the + * error, and execution stops, otherwise it will never be called. + * + * @name forever + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {AsyncFunction} fn - an async function to call repeatedly. + * Invoked with (next). + * @param {Function} [errback] - when `fn` passes an error to it's callback, + * this function will be called, and execution stops. Invoked with (err). + * @returns {Promise} a promise that rejects if an error occurs and an errback + * is not passed + * @example + * + * async.forever( + * function(next) { + * // next is suitable for passing to things that need a callback(err [, whatever]); + * // it will result in this function being called again. + * }, + * function(err) { + * // if next is called with a value in its first parameter, it will appear + * // in here as 'err', and execution will stop. + * } + * ); + */ +function forever(fn, errback) { + var done = onlyOnce(errback); + var task = wrapAsync(ensureAsync(fn)); + + function next(err) { + if (err) return done(err); + if (err === false) return; + task(next); + } + return next(); +} +var forever$1 = awaitify(forever, 2); + +/** + * The same as [`groupBy`]{@link module:Collections.groupBy} but runs a maximum of `limit` async operations at a time. + * + * @name groupByLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.groupBy]{@link module:Collections.groupBy} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with a `key` to group the value under. + * Invoked with (value, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Result is an `Object` whoses + * properties are arrays of values which returned the corresponding key. + * @returns {Promise} a promise, if no callback is passed + */ +function groupByLimit(coll, limit, iteratee, callback) { + var _iteratee = wrapAsync(iteratee); + return mapLimit$1(coll, limit, (val, iterCb) => { + _iteratee(val, (err, key) => { + if (err) return iterCb(err); + return iterCb(err, {key, val}); + }); + }, (err, mapResults) => { + var result = {}; + // from MDN, handle object having an `hasOwnProperty` prop + var {hasOwnProperty} = Object.prototype; + + for (var i = 0; i < mapResults.length; i++) { + if (mapResults[i]) { + var {key} = mapResults[i]; + var {val} = mapResults[i]; + + if (hasOwnProperty.call(result, key)) { + result[key].push(val); + } else { + result[key] = [val]; + } + } + } + + return callback(err, result); + }); +} + +var groupByLimit$1 = awaitify(groupByLimit, 4); + +/** + * Returns a new object, where each value corresponds to an array of items, from + * `coll`, that returned the corresponding key. That is, the keys of the object + * correspond to the values passed to the `iteratee` callback. + * + * Note: Since this function applies the `iteratee` to each item in parallel, + * there is no guarantee that the `iteratee` functions will complete in order. + * However, the values for each key in the `result` will be in the same order as + * the original `coll`. For Objects, the values will roughly be in the order of + * the original Objects' keys (but this can vary across JavaScript engines). + * + * @name groupBy + * @static + * @memberOf module:Collections + * @method + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with a `key` to group the value under. + * Invoked with (value, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Result is an `Object` whoses + * properties are arrays of values which returned the corresponding key. + * @returns {Promise} a promise, if no callback is passed + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * // dir4 does not exist + * + * const files = ['dir1/file1.txt','dir2','dir4'] + * + * // asynchronous function that detects file type as none, file, or directory + * function detectFile(file, callback) { + * fs.stat(file, function(err, stat) { + * if (err) { + * return callback(null, 'none'); + * } + * callback(null, stat.isDirectory() ? 'directory' : 'file'); + * }); + * } + * + * //Using callbacks + * async.groupBy(files, detectFile, function(err, result) { + * if(err) { + * console.log(err); + * } else { + * console.log(result); + * // { + * // file: [ 'dir1/file1.txt' ], + * // none: [ 'dir4' ], + * // directory: [ 'dir2'] + * // } + * // result is object containing the files grouped by type + * } + * }); + * + * // Using Promises + * async.groupBy(files, detectFile) + * .then( result => { + * console.log(result); + * // { + * // file: [ 'dir1/file1.txt' ], + * // none: [ 'dir4' ], + * // directory: [ 'dir2'] + * // } + * // result is object containing the files grouped by type + * }).catch( err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.groupBy(files, detectFile); + * console.log(result); + * // { + * // file: [ 'dir1/file1.txt' ], + * // none: [ 'dir4' ], + * // directory: [ 'dir2'] + * // } + * // result is object containing the files grouped by type + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function groupBy (coll, iteratee, callback) { + return groupByLimit$1(coll, Infinity, iteratee, callback) +} + +/** + * The same as [`groupBy`]{@link module:Collections.groupBy} but runs only a single async operation at a time. + * + * @name groupBySeries + * @static + * @memberOf module:Collections + * @method + * @see [async.groupBy]{@link module:Collections.groupBy} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with a `key` to group the value under. + * Invoked with (value, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Result is an `Object` whose + * properties are arrays of values which returned the corresponding key. + * @returns {Promise} a promise, if no callback is passed + */ +function groupBySeries (coll, iteratee, callback) { + return groupByLimit$1(coll, 1, iteratee, callback) +} + +/** + * Logs the result of an `async` function to the `console`. Only works in + * Node.js or in browsers that support `console.log` and `console.error` (such + * as FF and Chrome). If multiple arguments are returned from the async + * function, `console.log` is called on each argument in order. + * + * @name log + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {AsyncFunction} function - The function you want to eventually apply + * all arguments to. + * @param {...*} arguments... - Any number of arguments to apply to the function. + * @example + * + * // in a module + * var hello = function(name, callback) { + * setTimeout(function() { + * callback(null, 'hello ' + name); + * }, 1000); + * }; + * + * // in the node repl + * node> async.log(hello, 'world'); + * 'hello world' + */ +var log = consoleFunc('log'); + +/** + * The same as [`mapValues`]{@link module:Collections.mapValues} but runs a maximum of `limit` async operations at a + * time. + * + * @name mapValuesLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.mapValues]{@link module:Collections.mapValues} + * @category Collection + * @param {Object} obj - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - A function to apply to each value and key + * in `coll`. + * The iteratee should complete with the transformed value as its result. + * Invoked with (value, key, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. `result` is a new object consisting + * of each key from `obj`, with each transformed value on the right-hand side. + * Invoked with (err, result). + * @returns {Promise} a promise, if no callback is passed + */ +function mapValuesLimit(obj, limit, iteratee, callback) { + callback = once(callback); + var newObj = {}; + var _iteratee = wrapAsync(iteratee); + return eachOfLimit$2(limit)(obj, (val, key, next) => { + _iteratee(val, key, (err, result) => { + if (err) return next(err); + newObj[key] = result; + next(err); + }); + }, err => callback(err, newObj)); +} + +var mapValuesLimit$1 = awaitify(mapValuesLimit, 4); + +/** + * A relative of [`map`]{@link module:Collections.map}, designed for use with objects. + * + * Produces a new Object by mapping each value of `obj` through the `iteratee` + * function. The `iteratee` is called each `value` and `key` from `obj` and a + * callback for when it has finished processing. Each of these callbacks takes + * two arguments: an `error`, and the transformed item from `obj`. If `iteratee` + * passes an error to its callback, the main `callback` (for the `mapValues` + * function) is immediately called with the error. + * + * Note, the order of the keys in the result is not guaranteed. The keys will + * be roughly in the order they complete, (but this is very engine-specific) + * + * @name mapValues + * @static + * @memberOf module:Collections + * @method + * @category Collection + * @param {Object} obj - A collection to iterate over. + * @param {AsyncFunction} iteratee - A function to apply to each value and key + * in `coll`. + * The iteratee should complete with the transformed value as its result. + * Invoked with (value, key, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. `result` is a new object consisting + * of each key from `obj`, with each transformed value on the right-hand side. + * Invoked with (err, result). + * @returns {Promise} a promise, if no callback is passed + * @example + * + * // file1.txt is a file that is 1000 bytes in size + * // file2.txt is a file that is 2000 bytes in size + * // file3.txt is a file that is 3000 bytes in size + * // file4.txt does not exist + * + * const fileMap = { + * f1: 'file1.txt', + * f2: 'file2.txt', + * f3: 'file3.txt' + * }; + * + * const withMissingFileMap = { + * f1: 'file1.txt', + * f2: 'file2.txt', + * f3: 'file4.txt' + * }; + * + * // asynchronous function that returns the file size in bytes + * function getFileSizeInBytes(file, key, callback) { + * fs.stat(file, function(err, stat) { + * if (err) { + * return callback(err); + * } + * callback(null, stat.size); + * }); + * } + * + * // Using callbacks + * async.mapValues(fileMap, getFileSizeInBytes, function(err, result) { + * if (err) { + * console.log(err); + * } else { + * console.log(result); + * // result is now a map of file size in bytes for each file, e.g. + * // { + * // f1: 1000, + * // f2: 2000, + * // f3: 3000 + * // } + * } + * }); + * + * // Error handling + * async.mapValues(withMissingFileMap, getFileSizeInBytes, function(err, result) { + * if (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } else { + * console.log(result); + * } + * }); + * + * // Using Promises + * async.mapValues(fileMap, getFileSizeInBytes) + * .then( result => { + * console.log(result); + * // result is now a map of file size in bytes for each file, e.g. + * // { + * // f1: 1000, + * // f2: 2000, + * // f3: 3000 + * // } + * }).catch (err => { + * console.log(err); + * }); + * + * // Error Handling + * async.mapValues(withMissingFileMap, getFileSizeInBytes) + * .then( result => { + * console.log(result); + * }).catch (err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.mapValues(fileMap, getFileSizeInBytes); + * console.log(result); + * // result is now a map of file size in bytes for each file, e.g. + * // { + * // f1: 1000, + * // f2: 2000, + * // f3: 3000 + * // } + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // Error Handling + * async () => { + * try { + * let result = await async.mapValues(withMissingFileMap, getFileSizeInBytes); + * console.log(result); + * } + * catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } + * } + * + */ +function mapValues(obj, iteratee, callback) { + return mapValuesLimit$1(obj, Infinity, iteratee, callback) +} + +/** + * The same as [`mapValues`]{@link module:Collections.mapValues} but runs only a single async operation at a time. + * + * @name mapValuesSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.mapValues]{@link module:Collections.mapValues} + * @category Collection + * @param {Object} obj - A collection to iterate over. + * @param {AsyncFunction} iteratee - A function to apply to each value and key + * in `coll`. + * The iteratee should complete with the transformed value as its result. + * Invoked with (value, key, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. `result` is a new object consisting + * of each key from `obj`, with each transformed value on the right-hand side. + * Invoked with (err, result). + * @returns {Promise} a promise, if no callback is passed + */ +function mapValuesSeries(obj, iteratee, callback) { + return mapValuesLimit$1(obj, 1, iteratee, callback) +} + +/** + * Caches the results of an async function. When creating a hash to store + * function results against, the callback is omitted from the hash and an + * optional hash function can be used. + * + * **Note: if the async function errs, the result will not be cached and + * subsequent calls will call the wrapped function.** + * + * If no hash function is specified, the first argument is used as a hash key, + * which may work reasonably if it is a string or a data type that converts to a + * distinct string. Note that objects and arrays will not behave reasonably. + * Neither will cases where the other arguments are significant. In such cases, + * specify your own hash function. + * + * The cache of results is exposed as the `memo` property of the function + * returned by `memoize`. + * + * @name memoize + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {AsyncFunction} fn - The async function to proxy and cache results from. + * @param {Function} hasher - An optional function for generating a custom hash + * for storing results. It has all the arguments applied to it apart from the + * callback, and must be synchronous. + * @returns {AsyncFunction} a memoized version of `fn` + * @example + * + * var slow_fn = function(name, callback) { + * // do something + * callback(null, result); + * }; + * var fn = async.memoize(slow_fn); + * + * // fn can now be used as if it were slow_fn + * fn('some name', function() { + * // callback + * }); + */ +function memoize(fn, hasher = v => v) { + var memo = Object.create(null); + var queues = Object.create(null); + var _fn = wrapAsync(fn); + var memoized = initialParams((args, callback) => { + var key = hasher(...args); + if (key in memo) { + setImmediate$1(() => callback(null, ...memo[key])); + } else if (key in queues) { + queues[key].push(callback); + } else { + queues[key] = [callback]; + _fn(...args, (err, ...resultArgs) => { + // #1465 don't memoize if an error occurred + if (!err) { + memo[key] = resultArgs; + } + var q = queues[key]; + delete queues[key]; + for (var i = 0, l = q.length; i < l; i++) { + q[i](err, ...resultArgs); + } + }); + } + }); + memoized.memo = memo; + memoized.unmemoized = fn; + return memoized; +} + +/* istanbul ignore file */ + +/** + * Calls `callback` on a later loop around the event loop. In Node.js this just + * calls `process.nextTick`. In the browser it will use `setImmediate` if + * available, otherwise `setTimeout(callback, 0)`, which means other higher + * priority events may precede the execution of `callback`. + * + * This is used internally for browser-compatibility purposes. + * + * @name nextTick + * @static + * @memberOf module:Utils + * @method + * @see [async.setImmediate]{@link module:Utils.setImmediate} + * @category Util + * @param {Function} callback - The function to call on a later loop around + * the event loop. Invoked with (args...). + * @param {...*} args... - any number of additional arguments to pass to the + * callback on the next tick. + * @example + * + * var call_order = []; + * async.nextTick(function() { + * call_order.push('two'); + * // call_order now equals ['one','two'] + * }); + * call_order.push('one'); + * + * async.setImmediate(function (a, b, c) { + * // a, b, and c equal 1, 2, and 3 + * }, 1, 2, 3); + */ +var _defer; + +if (hasNextTick) { + _defer = process.nextTick; +} else if (hasSetImmediate) { + _defer = setImmediate; +} else { + _defer = fallback; +} + +var nextTick = wrap(_defer); + +var _parallel = awaitify((eachfn, tasks, callback) => { + var results = isArrayLike(tasks) ? [] : {}; + + eachfn(tasks, (task, key, taskCb) => { + wrapAsync(task)((err, ...result) => { + if (result.length < 2) { + [result] = result; + } + results[key] = result; + taskCb(err); + }); + }, err => callback(err, results)); +}, 3); + +/** + * Run the `tasks` collection of functions in parallel, without waiting until + * the previous function has completed. If any of the functions pass an error to + * its callback, the main `callback` is immediately called with the value of the + * error. Once the `tasks` have completed, the results are passed to the final + * `callback` as an array. + * + * **Note:** `parallel` is about kicking-off I/O tasks in parallel, not about + * parallel execution of code. If your tasks do not use any timers or perform + * any I/O, they will actually be executed in series. Any synchronous setup + * sections for each task will happen one after the other. JavaScript remains + * single-threaded. + * + * **Hint:** Use [`reflect`]{@link module:Utils.reflect} to continue the + * execution of other tasks when a task fails. + * + * It is also possible to use an object instead of an array. Each property will + * be run as a function and the results will be passed to the final `callback` + * as an object instead of an array. This can be a more readable way of handling + * results from {@link async.parallel}. + * + * @name parallel + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Array|Iterable|AsyncIterable|Object} tasks - A collection of + * [async functions]{@link AsyncFunction} to run. + * Each async function can complete with any number of optional `result` values. + * @param {Function} [callback] - An optional callback to run once all the + * functions have completed successfully. This function gets a results array + * (or object) containing all the result arguments passed to the task callbacks. + * Invoked with (err, results). + * @returns {Promise} a promise, if a callback is not passed + * + * @example + * + * //Using Callbacks + * async.parallel([ + * function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * callback(null, 'two'); + * }, 100); + * } + * ], function(err, results) { + * console.log(results); + * // results is equal to ['one','two'] even though + * // the second function had a shorter timeout. + * }); + * + * // an example using an object instead of an array + * async.parallel({ + * one: function(callback) { + * setTimeout(function() { + * callback(null, 1); + * }, 200); + * }, + * two: function(callback) { + * setTimeout(function() { + * callback(null, 2); + * }, 100); + * } + * }, function(err, results) { + * console.log(results); + * // results is equal to: { one: 1, two: 2 } + * }); + * + * //Using Promises + * async.parallel([ + * function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * callback(null, 'two'); + * }, 100); + * } + * ]).then(results => { + * console.log(results); + * // results is equal to ['one','two'] even though + * // the second function had a shorter timeout. + * }).catch(err => { + * console.log(err); + * }); + * + * // an example using an object instead of an array + * async.parallel({ + * one: function(callback) { + * setTimeout(function() { + * callback(null, 1); + * }, 200); + * }, + * two: function(callback) { + * setTimeout(function() { + * callback(null, 2); + * }, 100); + * } + * }).then(results => { + * console.log(results); + * // results is equal to: { one: 1, two: 2 } + * }).catch(err => { + * console.log(err); + * }); + * + * //Using async/await + * async () => { + * try { + * let results = await async.parallel([ + * function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * callback(null, 'two'); + * }, 100); + * } + * ]); + * console.log(results); + * // results is equal to ['one','two'] even though + * // the second function had a shorter timeout. + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // an example using an object instead of an array + * async () => { + * try { + * let results = await async.parallel({ + * one: function(callback) { + * setTimeout(function() { + * callback(null, 1); + * }, 200); + * }, + * two: function(callback) { + * setTimeout(function() { + * callback(null, 2); + * }, 100); + * } + * }); + * console.log(results); + * // results is equal to: { one: 1, two: 2 } + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function parallel(tasks, callback) { + return _parallel(eachOf$1, tasks, callback); +} + +/** + * The same as [`parallel`]{@link module:ControlFlow.parallel} but runs a maximum of `limit` async operations at a + * time. + * + * @name parallelLimit + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.parallel]{@link module:ControlFlow.parallel} + * @category Control Flow + * @param {Array|Iterable|AsyncIterable|Object} tasks - A collection of + * [async functions]{@link AsyncFunction} to run. + * Each async function can complete with any number of optional `result` values. + * @param {number} limit - The maximum number of async operations at a time. + * @param {Function} [callback] - An optional callback to run once all the + * functions have completed successfully. This function gets a results array + * (or object) containing all the result arguments passed to the task callbacks. + * Invoked with (err, results). + * @returns {Promise} a promise, if a callback is not passed + */ +function parallelLimit(tasks, limit, callback) { + return _parallel(eachOfLimit$2(limit), tasks, callback); +} + +/** + * A queue of tasks for the worker function to complete. + * @typedef {Iterable} QueueObject + * @memberOf module:ControlFlow + * @property {Function} length - a function returning the number of items + * waiting to be processed. Invoke with `queue.length()`. + * @property {boolean} started - a boolean indicating whether or not any + * items have been pushed and processed by the queue. + * @property {Function} running - a function returning the number of items + * currently being processed. Invoke with `queue.running()`. + * @property {Function} workersList - a function returning the array of items + * currently being processed. Invoke with `queue.workersList()`. + * @property {Function} idle - a function returning false if there are items + * waiting or being processed, or true if not. Invoke with `queue.idle()`. + * @property {number} concurrency - an integer for determining how many `worker` + * functions should be run in parallel. This property can be changed after a + * `queue` is created to alter the concurrency on-the-fly. + * @property {number} payload - an integer that specifies how many items are + * passed to the worker function at a time. only applies if this is a + * [cargo]{@link module:ControlFlow.cargo} object + * @property {AsyncFunction} push - add a new task to the `queue`. Calls `callback` + * once the `worker` has finished processing the task. Instead of a single task, + * a `tasks` array can be submitted. The respective callback is used for every + * task in the list. Invoke with `queue.push(task, [callback])`, + * @property {AsyncFunction} unshift - add a new task to the front of the `queue`. + * Invoke with `queue.unshift(task, [callback])`. + * @property {AsyncFunction} pushAsync - the same as `q.push`, except this returns + * a promise that rejects if an error occurs. + * @property {AsyncFunction} unshiftAsync - the same as `q.unshift`, except this returns + * a promise that rejects if an error occurs. + * @property {Function} remove - remove items from the queue that match a test + * function. The test function will be passed an object with a `data` property, + * and a `priority` property, if this is a + * [priorityQueue]{@link module:ControlFlow.priorityQueue} object. + * Invoked with `queue.remove(testFn)`, where `testFn` is of the form + * `function ({data, priority}) {}` and returns a Boolean. + * @property {Function} saturated - a function that sets a callback that is + * called when the number of running workers hits the `concurrency` limit, and + * further tasks will be queued. If the callback is omitted, `q.saturated()` + * returns a promise for the next occurrence. + * @property {Function} unsaturated - a function that sets a callback that is + * called when the number of running workers is less than the `concurrency` & + * `buffer` limits, and further tasks will not be queued. If the callback is + * omitted, `q.unsaturated()` returns a promise for the next occurrence. + * @property {number} buffer - A minimum threshold buffer in order to say that + * the `queue` is `unsaturated`. + * @property {Function} empty - a function that sets a callback that is called + * when the last item from the `queue` is given to a `worker`. If the callback + * is omitted, `q.empty()` returns a promise for the next occurrence. + * @property {Function} drain - a function that sets a callback that is called + * when the last item from the `queue` has returned from the `worker`. If the + * callback is omitted, `q.drain()` returns a promise for the next occurrence. + * @property {Function} error - a function that sets a callback that is called + * when a task errors. Has the signature `function(error, task)`. If the + * callback is omitted, `error()` returns a promise that rejects on the next + * error. + * @property {boolean} paused - a boolean for determining whether the queue is + * in a paused state. + * @property {Function} pause - a function that pauses the processing of tasks + * until `resume()` is called. Invoke with `queue.pause()`. + * @property {Function} resume - a function that resumes the processing of + * queued tasks when the queue is paused. Invoke with `queue.resume()`. + * @property {Function} kill - a function that removes the `drain` callback and + * empties remaining tasks from the queue forcing it to go idle. No more tasks + * should be pushed to the queue after calling this function. Invoke with `queue.kill()`. + * + * @example + * const q = async.queue(worker, 2) + * q.push(item1) + * q.push(item2) + * q.push(item3) + * // queues are iterable, spread into an array to inspect + * const items = [...q] // [item1, item2, item3] + * // or use for of + * for (let item of q) { + * console.log(item) + * } + * + * q.drain(() => { + * console.log('all done') + * }) + * // or + * await q.drain() + */ + +/** + * Creates a `queue` object with the specified `concurrency`. Tasks added to the + * `queue` are processed in parallel (up to the `concurrency` limit). If all + * `worker`s are in progress, the task is queued until one becomes available. + * Once a `worker` completes a `task`, that `task`'s callback is called. + * + * @name queue + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {AsyncFunction} worker - An async function for processing a queued task. + * If you want to handle errors from an individual task, pass a callback to + * `q.push()`. Invoked with (task, callback). + * @param {number} [concurrency=1] - An `integer` for determining how many + * `worker` functions should be run in parallel. If omitted, the concurrency + * defaults to `1`. If the concurrency is `0`, an error is thrown. + * @returns {module:ControlFlow.QueueObject} A queue object to manage the tasks. Callbacks can be + * attached as certain properties to listen for specific events during the + * lifecycle of the queue. + * @example + * + * // create a queue object with concurrency 2 + * var q = async.queue(function(task, callback) { + * console.log('hello ' + task.name); + * callback(); + * }, 2); + * + * // assign a callback + * q.drain(function() { + * console.log('all items have been processed'); + * }); + * // or await the end + * await q.drain() + * + * // assign an error callback + * q.error(function(err, task) { + * console.error('task experienced an error'); + * }); + * + * // add some items to the queue + * q.push({name: 'foo'}, function(err) { + * console.log('finished processing foo'); + * }); + * // callback is optional + * q.push({name: 'bar'}); + * + * // add some items to the queue (batch-wise) + * q.push([{name: 'baz'},{name: 'bay'},{name: 'bax'}], function(err) { + * console.log('finished processing item'); + * }); + * + * // add some items to the front of the queue + * q.unshift({name: 'bar'}, function (err) { + * console.log('finished processing bar'); + * }); + */ +function queue (worker, concurrency) { + var _worker = wrapAsync(worker); + return queue$1((items, cb) => { + _worker(items[0], cb); + }, concurrency, 1); +} + +// Binary min-heap implementation used for priority queue. +// Implementation is stable, i.e. push time is considered for equal priorities +class Heap { + constructor() { + this.heap = []; + this.pushCount = Number.MIN_SAFE_INTEGER; + } + + get length() { + return this.heap.length; + } + + empty () { + this.heap = []; + return this; + } + + percUp(index) { + let p; + + while (index > 0 && smaller(this.heap[index], this.heap[p=parent(index)])) { + let t = this.heap[index]; + this.heap[index] = this.heap[p]; + this.heap[p] = t; + + index = p; + } + } + + percDown(index) { + let l; + + while ((l=leftChi(index)) < this.heap.length) { + if (l+1 < this.heap.length && smaller(this.heap[l+1], this.heap[l])) { + l = l+1; + } + + if (smaller(this.heap[index], this.heap[l])) { + break; + } + + let t = this.heap[index]; + this.heap[index] = this.heap[l]; + this.heap[l] = t; + + index = l; + } + } + + push(node) { + node.pushCount = ++this.pushCount; + this.heap.push(node); + this.percUp(this.heap.length-1); + } + + unshift(node) { + return this.heap.push(node); + } + + shift() { + let [top] = this.heap; + + this.heap[0] = this.heap[this.heap.length-1]; + this.heap.pop(); + this.percDown(0); + + return top; + } + + toArray() { + return [...this]; + } + + *[Symbol.iterator] () { + for (let i = 0; i < this.heap.length; i++) { + yield this.heap[i].data; + } + } + + remove (testFn) { + let j = 0; + for (let i = 0; i < this.heap.length; i++) { + if (!testFn(this.heap[i])) { + this.heap[j] = this.heap[i]; + j++; + } + } + + this.heap.splice(j); + + for (let i = parent(this.heap.length-1); i >= 0; i--) { + this.percDown(i); + } + + return this; + } +} + +function leftChi(i) { + return (i<<1)+1; +} + +function parent(i) { + return ((i+1)>>1)-1; +} + +function smaller(x, y) { + if (x.priority !== y.priority) { + return x.priority < y.priority; + } + else { + return x.pushCount < y.pushCount; + } +} + +/** + * The same as [async.queue]{@link module:ControlFlow.queue} only tasks are assigned a priority and + * completed in ascending priority order. + * + * @name priorityQueue + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.queue]{@link module:ControlFlow.queue} + * @category Control Flow + * @param {AsyncFunction} worker - An async function for processing a queued task. + * If you want to handle errors from an individual task, pass a callback to + * `q.push()`. + * Invoked with (task, callback). + * @param {number} concurrency - An `integer` for determining how many `worker` + * functions should be run in parallel. If omitted, the concurrency defaults to + * `1`. If the concurrency is `0`, an error is thrown. + * @returns {module:ControlFlow.QueueObject} A priorityQueue object to manage the tasks. There are three + * differences between `queue` and `priorityQueue` objects: + * * `push(task, priority, [callback])` - `priority` should be a number. If an + * array of `tasks` is given, all tasks will be assigned the same priority. + * * `pushAsync(task, priority, [callback])` - the same as `priorityQueue.push`, + * except this returns a promise that rejects if an error occurs. + * * The `unshift` and `unshiftAsync` methods were removed. + */ +function priorityQueue(worker, concurrency) { + // Start with a normal queue + var q = queue(worker, concurrency); + + var { + push, + pushAsync + } = q; + + q._tasks = new Heap(); + q._createTaskItem = ({data, priority}, callback) => { + return { + data, + priority, + callback + }; + }; + + function createDataItems(tasks, priority) { + if (!Array.isArray(tasks)) { + return {data: tasks, priority}; + } + return tasks.map(data => { return {data, priority}; }); + } + + // Override push to accept second parameter representing priority + q.push = function(data, priority = 0, callback) { + return push(createDataItems(data, priority), callback); + }; + + q.pushAsync = function(data, priority = 0, callback) { + return pushAsync(createDataItems(data, priority), callback); + }; + + // Remove unshift functions + delete q.unshift; + delete q.unshiftAsync; + + return q; +} + +/** + * Runs the `tasks` array of functions in parallel, without waiting until the + * previous function has completed. Once any of the `tasks` complete or pass an + * error to its callback, the main `callback` is immediately called. It's + * equivalent to `Promise.race()`. + * + * @name race + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Array} tasks - An array containing [async functions]{@link AsyncFunction} + * to run. Each function can complete with an optional `result` value. + * @param {Function} callback - A callback to run once any of the functions have + * completed. This function gets an error or result from the first function that + * completed. Invoked with (err, result). + * @returns {Promise} a promise, if a callback is omitted + * @example + * + * async.race([ + * function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * callback(null, 'two'); + * }, 100); + * } + * ], + * // main callback + * function(err, result) { + * // the result will be equal to 'two' as it finishes earlier + * }); + */ +function race(tasks, callback) { + callback = once(callback); + if (!Array.isArray(tasks)) return callback(new TypeError('First argument to race must be an array of functions')); + if (!tasks.length) return callback(); + for (var i = 0, l = tasks.length; i < l; i++) { + wrapAsync(tasks[i])(callback); + } +} + +var race$1 = awaitify(race, 2); + +/** + * Same as [`reduce`]{@link module:Collections.reduce}, only operates on `array` in reverse order. + * + * @name reduceRight + * @static + * @memberOf module:Collections + * @method + * @see [async.reduce]{@link module:Collections.reduce} + * @alias foldr + * @category Collection + * @param {Array} array - A collection to iterate over. + * @param {*} memo - The initial state of the reduction. + * @param {AsyncFunction} iteratee - A function applied to each item in the + * array to produce the next step in the reduction. + * The `iteratee` should complete with the next state of the reduction. + * If the iteratee completes with an error, the reduction is stopped and the + * main `callback` is immediately called with the error. + * Invoked with (memo, item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result is the reduced value. Invoked with + * (err, result). + * @returns {Promise} a promise, if no callback is passed + */ +function reduceRight (array, memo, iteratee, callback) { + var reversed = [...array].reverse(); + return reduce$1(reversed, memo, iteratee, callback); +} + +/** + * Wraps the async function in another function that always completes with a + * result object, even when it errors. + * + * The result object has either the property `error` or `value`. + * + * @name reflect + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {AsyncFunction} fn - The async function you want to wrap + * @returns {Function} - A function that always passes null to it's callback as + * the error. The second argument to the callback will be an `object` with + * either an `error` or a `value` property. + * @example + * + * async.parallel([ + * async.reflect(function(callback) { + * // do some stuff ... + * callback(null, 'one'); + * }), + * async.reflect(function(callback) { + * // do some more stuff but error ... + * callback('bad stuff happened'); + * }), + * async.reflect(function(callback) { + * // do some more stuff ... + * callback(null, 'two'); + * }) + * ], + * // optional callback + * function(err, results) { + * // values + * // results[0].value = 'one' + * // results[1].error = 'bad stuff happened' + * // results[2].value = 'two' + * }); + */ +function reflect(fn) { + var _fn = wrapAsync(fn); + return initialParams(function reflectOn(args, reflectCallback) { + args.push((error, ...cbArgs) => { + let retVal = {}; + if (error) { + retVal.error = error; + } + if (cbArgs.length > 0){ + var value = cbArgs; + if (cbArgs.length <= 1) { + [value] = cbArgs; + } + retVal.value = value; + } + reflectCallback(null, retVal); + }); + + return _fn.apply(this, args); + }); +} + +/** + * A helper function that wraps an array or an object of functions with `reflect`. + * + * @name reflectAll + * @static + * @memberOf module:Utils + * @method + * @see [async.reflect]{@link module:Utils.reflect} + * @category Util + * @param {Array|Object|Iterable} tasks - The collection of + * [async functions]{@link AsyncFunction} to wrap in `async.reflect`. + * @returns {Array} Returns an array of async functions, each wrapped in + * `async.reflect` + * @example + * + * let tasks = [ + * function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * // do some more stuff but error ... + * callback(new Error('bad stuff happened')); + * }, + * function(callback) { + * setTimeout(function() { + * callback(null, 'two'); + * }, 100); + * } + * ]; + * + * async.parallel(async.reflectAll(tasks), + * // optional callback + * function(err, results) { + * // values + * // results[0].value = 'one' + * // results[1].error = Error('bad stuff happened') + * // results[2].value = 'two' + * }); + * + * // an example using an object instead of an array + * let tasks = { + * one: function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * two: function(callback) { + * callback('two'); + * }, + * three: function(callback) { + * setTimeout(function() { + * callback(null, 'three'); + * }, 100); + * } + * }; + * + * async.parallel(async.reflectAll(tasks), + * // optional callback + * function(err, results) { + * // values + * // results.one.value = 'one' + * // results.two.error = 'two' + * // results.three.value = 'three' + * }); + */ +function reflectAll(tasks) { + var results; + if (Array.isArray(tasks)) { + results = tasks.map(reflect); + } else { + results = {}; + Object.keys(tasks).forEach(key => { + results[key] = reflect.call(this, tasks[key]); + }); + } + return results; +} + +function reject$2(eachfn, arr, _iteratee, callback) { + const iteratee = wrapAsync(_iteratee); + return _filter(eachfn, arr, (value, cb) => { + iteratee(value, (err, v) => { + cb(err, !v); + }); + }, callback); +} + +/** + * The opposite of [`filter`]{@link module:Collections.filter}. Removes values that pass an `async` truth test. + * + * @name reject + * @static + * @memberOf module:Collections + * @method + * @see [async.filter]{@link module:Collections.filter} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {Function} iteratee - An async truth test to apply to each item in + * `coll`. + * The should complete with a boolean value as its `result`. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results). + * @returns {Promise} a promise, if no callback is passed + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * + * const fileList = ['dir1/file1.txt','dir2/file3.txt','dir3/file6.txt']; + * + * // asynchronous function that checks if a file exists + * function fileExists(file, callback) { + * fs.access(file, fs.constants.F_OK, (err) => { + * callback(null, !err); + * }); + * } + * + * // Using callbacks + * async.reject(fileList, fileExists, function(err, results) { + * // [ 'dir3/file6.txt' ] + * // results now equals an array of the non-existing files + * }); + * + * // Using Promises + * async.reject(fileList, fileExists) + * .then( results => { + * console.log(results); + * // [ 'dir3/file6.txt' ] + * // results now equals an array of the non-existing files + * }).catch( err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let results = await async.reject(fileList, fileExists); + * console.log(results); + * // [ 'dir3/file6.txt' ] + * // results now equals an array of the non-existing files + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function reject (coll, iteratee, callback) { + return reject$2(eachOf$1, coll, iteratee, callback) +} +var reject$1 = awaitify(reject, 3); + +/** + * The same as [`reject`]{@link module:Collections.reject} but runs a maximum of `limit` async operations at a + * time. + * + * @name rejectLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.reject]{@link module:Collections.reject} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {Function} iteratee - An async truth test to apply to each item in + * `coll`. + * The should complete with a boolean value as its `result`. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results). + * @returns {Promise} a promise, if no callback is passed + */ +function rejectLimit (coll, limit, iteratee, callback) { + return reject$2(eachOfLimit$2(limit), coll, iteratee, callback) +} +var rejectLimit$1 = awaitify(rejectLimit, 4); + +/** + * The same as [`reject`]{@link module:Collections.reject} but runs only a single async operation at a time. + * + * @name rejectSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.reject]{@link module:Collections.reject} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {Function} iteratee - An async truth test to apply to each item in + * `coll`. + * The should complete with a boolean value as its `result`. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results). + * @returns {Promise} a promise, if no callback is passed + */ +function rejectSeries (coll, iteratee, callback) { + return reject$2(eachOfSeries$1, coll, iteratee, callback) +} +var rejectSeries$1 = awaitify(rejectSeries, 3); + +function constant(value) { + return function () { + return value; + } +} + +/** + * Attempts to get a successful response from `task` no more than `times` times + * before returning an error. If the task is successful, the `callback` will be + * passed the result of the successful task. If all attempts fail, the callback + * will be passed the error and result (if any) of the final attempt. + * + * @name retry + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @see [async.retryable]{@link module:ControlFlow.retryable} + * @param {Object|number} [opts = {times: 5, interval: 0}| 5] - Can be either an + * object with `times` and `interval` or a number. + * * `times` - The number of attempts to make before giving up. The default + * is `5`. + * * `interval` - The time to wait between retries, in milliseconds. The + * default is `0`. The interval may also be specified as a function of the + * retry count (see example). + * * `errorFilter` - An optional synchronous function that is invoked on + * erroneous result. If it returns `true` the retry attempts will continue; + * if the function returns `false` the retry flow is aborted with the current + * attempt's error and result being returned to the final callback. + * Invoked with (err). + * * If `opts` is a number, the number specifies the number of times to retry, + * with the default interval of `0`. + * @param {AsyncFunction} task - An async function to retry. + * Invoked with (callback). + * @param {Function} [callback] - An optional callback which is called when the + * task has succeeded, or after the final failed attempt. It receives the `err` + * and `result` arguments of the last attempt at completing the `task`. Invoked + * with (err, results). + * @returns {Promise} a promise if no callback provided + * + * @example + * + * // The `retry` function can be used as a stand-alone control flow by passing + * // a callback, as shown below: + * + * // try calling apiMethod 3 times + * async.retry(3, apiMethod, function(err, result) { + * // do something with the result + * }); + * + * // try calling apiMethod 3 times, waiting 200 ms between each retry + * async.retry({times: 3, interval: 200}, apiMethod, function(err, result) { + * // do something with the result + * }); + * + * // try calling apiMethod 10 times with exponential backoff + * // (i.e. intervals of 100, 200, 400, 800, 1600, ... milliseconds) + * async.retry({ + * times: 10, + * interval: function(retryCount) { + * return 50 * Math.pow(2, retryCount); + * } + * }, apiMethod, function(err, result) { + * // do something with the result + * }); + * + * // try calling apiMethod the default 5 times no delay between each retry + * async.retry(apiMethod, function(err, result) { + * // do something with the result + * }); + * + * // try calling apiMethod only when error condition satisfies, all other + * // errors will abort the retry control flow and return to final callback + * async.retry({ + * errorFilter: function(err) { + * return err.message === 'Temporary error'; // only retry on a specific error + * } + * }, apiMethod, function(err, result) { + * // do something with the result + * }); + * + * // to retry individual methods that are not as reliable within other + * // control flow functions, use the `retryable` wrapper: + * async.auto({ + * users: api.getUsers.bind(api), + * payments: async.retryable(3, api.getPayments.bind(api)) + * }, function(err, results) { + * // do something with the results + * }); + * + */ +const DEFAULT_TIMES = 5; +const DEFAULT_INTERVAL = 0; + +function retry(opts, task, callback) { + var options = { + times: DEFAULT_TIMES, + intervalFunc: constant(DEFAULT_INTERVAL) + }; + + if (arguments.length < 3 && typeof opts === 'function') { + callback = task || promiseCallback(); + task = opts; + } else { + parseTimes(options, opts); + callback = callback || promiseCallback(); + } + + if (typeof task !== 'function') { + throw new Error("Invalid arguments for async.retry"); + } + + var _task = wrapAsync(task); + + var attempt = 1; + function retryAttempt() { + _task((err, ...args) => { + if (err === false) return + if (err && attempt++ < options.times && + (typeof options.errorFilter != 'function' || + options.errorFilter(err))) { + setTimeout(retryAttempt, options.intervalFunc(attempt - 1)); + } else { + callback(err, ...args); + } + }); + } + + retryAttempt(); + return callback[PROMISE_SYMBOL] +} + +function parseTimes(acc, t) { + if (typeof t === 'object') { + acc.times = +t.times || DEFAULT_TIMES; + + acc.intervalFunc = typeof t.interval === 'function' ? + t.interval : + constant(+t.interval || DEFAULT_INTERVAL); + + acc.errorFilter = t.errorFilter; + } else if (typeof t === 'number' || typeof t === 'string') { + acc.times = +t || DEFAULT_TIMES; + } else { + throw new Error("Invalid arguments for async.retry"); + } +} + +/** + * A close relative of [`retry`]{@link module:ControlFlow.retry}. This method + * wraps a task and makes it retryable, rather than immediately calling it + * with retries. + * + * @name retryable + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.retry]{@link module:ControlFlow.retry} + * @category Control Flow + * @param {Object|number} [opts = {times: 5, interval: 0}| 5] - optional + * options, exactly the same as from `retry`, except for a `opts.arity` that + * is the arity of the `task` function, defaulting to `task.length` + * @param {AsyncFunction} task - the asynchronous function to wrap. + * This function will be passed any arguments passed to the returned wrapper. + * Invoked with (...args, callback). + * @returns {AsyncFunction} The wrapped function, which when invoked, will + * retry on an error, based on the parameters specified in `opts`. + * This function will accept the same parameters as `task`. + * @example + * + * async.auto({ + * dep1: async.retryable(3, getFromFlakyService), + * process: ["dep1", async.retryable(3, function (results, cb) { + * maybeProcessData(results.dep1, cb); + * })] + * }, callback); + */ +function retryable (opts, task) { + if (!task) { + task = opts; + opts = null; + } + let arity = (opts && opts.arity) || task.length; + if (isAsync(task)) { + arity += 1; + } + var _task = wrapAsync(task); + return initialParams((args, callback) => { + if (args.length < arity - 1 || callback == null) { + args.push(callback); + callback = promiseCallback(); + } + function taskFn(cb) { + _task(...args, cb); + } + + if (opts) retry(opts, taskFn, callback); + else retry(taskFn, callback); + + return callback[PROMISE_SYMBOL] + }); +} + +/** + * Run the functions in the `tasks` collection in series, each one running once + * the previous function has completed. If any functions in the series pass an + * error to its callback, no more functions are run, and `callback` is + * immediately called with the value of the error. Otherwise, `callback` + * receives an array of results when `tasks` have completed. + * + * It is also possible to use an object instead of an array. Each property will + * be run as a function, and the results will be passed to the final `callback` + * as an object instead of an array. This can be a more readable way of handling + * results from {@link async.series}. + * + * **Note** that while many implementations preserve the order of object + * properties, the [ECMAScript Language Specification](http://www.ecma-international.org/ecma-262/5.1/#sec-8.6) + * explicitly states that + * + * > The mechanics and order of enumerating the properties is not specified. + * + * So if you rely on the order in which your series of functions are executed, + * and want this to work on all platforms, consider using an array. + * + * @name series + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Array|Iterable|AsyncIterable|Object} tasks - A collection containing + * [async functions]{@link AsyncFunction} to run in series. + * Each function can complete with any number of optional `result` values. + * @param {Function} [callback] - An optional callback to run once all the + * functions have completed. This function gets a results array (or object) + * containing all the result arguments passed to the `task` callbacks. Invoked + * with (err, result). + * @return {Promise} a promise, if no callback is passed + * @example + * + * //Using Callbacks + * async.series([ + * function(callback) { + * setTimeout(function() { + * // do some async task + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * // then do another async task + * callback(null, 'two'); + * }, 100); + * } + * ], function(err, results) { + * console.log(results); + * // results is equal to ['one','two'] + * }); + * + * // an example using objects instead of arrays + * async.series({ + * one: function(callback) { + * setTimeout(function() { + * // do some async task + * callback(null, 1); + * }, 200); + * }, + * two: function(callback) { + * setTimeout(function() { + * // then do another async task + * callback(null, 2); + * }, 100); + * } + * }, function(err, results) { + * console.log(results); + * // results is equal to: { one: 1, two: 2 } + * }); + * + * //Using Promises + * async.series([ + * function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * callback(null, 'two'); + * }, 100); + * } + * ]).then(results => { + * console.log(results); + * // results is equal to ['one','two'] + * }).catch(err => { + * console.log(err); + * }); + * + * // an example using an object instead of an array + * async.series({ + * one: function(callback) { + * setTimeout(function() { + * // do some async task + * callback(null, 1); + * }, 200); + * }, + * two: function(callback) { + * setTimeout(function() { + * // then do another async task + * callback(null, 2); + * }, 100); + * } + * }).then(results => { + * console.log(results); + * // results is equal to: { one: 1, two: 2 } + * }).catch(err => { + * console.log(err); + * }); + * + * //Using async/await + * async () => { + * try { + * let results = await async.series([ + * function(callback) { + * setTimeout(function() { + * // do some async task + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * // then do another async task + * callback(null, 'two'); + * }, 100); + * } + * ]); + * console.log(results); + * // results is equal to ['one','two'] + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // an example using an object instead of an array + * async () => { + * try { + * let results = await async.parallel({ + * one: function(callback) { + * setTimeout(function() { + * // do some async task + * callback(null, 1); + * }, 200); + * }, + * two: function(callback) { + * setTimeout(function() { + * // then do another async task + * callback(null, 2); + * }, 100); + * } + * }); + * console.log(results); + * // results is equal to: { one: 1, two: 2 } + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function series(tasks, callback) { + return _parallel(eachOfSeries$1, tasks, callback); +} + +/** + * Returns `true` if at least one element in the `coll` satisfies an async test. + * If any iteratee call returns `true`, the main `callback` is immediately + * called. + * + * @name some + * @static + * @memberOf module:Collections + * @method + * @alias any + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collections in parallel. + * The iteratee should complete with a boolean `result` value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the iteratee functions have finished. + * Result will be either `true` or `false` depending on the values of the async + * tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * // dir4 does not exist + * + * // asynchronous function that checks if a file exists + * function fileExists(file, callback) { + * fs.access(file, fs.constants.F_OK, (err) => { + * callback(null, !err); + * }); + * } + * + * // Using callbacks + * async.some(['dir1/missing.txt','dir2/missing.txt','dir3/file5.txt'], fileExists, + * function(err, result) { + * console.log(result); + * // true + * // result is true since some file in the list exists + * } + *); + * + * async.some(['dir1/missing.txt','dir2/missing.txt','dir4/missing.txt'], fileExists, + * function(err, result) { + * console.log(result); + * // false + * // result is false since none of the files exists + * } + *); + * + * // Using Promises + * async.some(['dir1/missing.txt','dir2/missing.txt','dir3/file5.txt'], fileExists) + * .then( result => { + * console.log(result); + * // true + * // result is true since some file in the list exists + * }).catch( err => { + * console.log(err); + * }); + * + * async.some(['dir1/missing.txt','dir2/missing.txt','dir4/missing.txt'], fileExists) + * .then( result => { + * console.log(result); + * // false + * // result is false since none of the files exists + * }).catch( err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.some(['dir1/missing.txt','dir2/missing.txt','dir3/file5.txt'], fileExists); + * console.log(result); + * // true + * // result is true since some file in the list exists + * } + * catch (err) { + * console.log(err); + * } + * } + * + * async () => { + * try { + * let result = await async.some(['dir1/missing.txt','dir2/missing.txt','dir4/missing.txt'], fileExists); + * console.log(result); + * // false + * // result is false since none of the files exists + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function some(coll, iteratee, callback) { + return _createTester(Boolean, res => res)(eachOf$1, coll, iteratee, callback) +} +var some$1 = awaitify(some, 3); + +/** + * The same as [`some`]{@link module:Collections.some} but runs a maximum of `limit` async operations at a time. + * + * @name someLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.some]{@link module:Collections.some} + * @alias anyLimit + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collections in parallel. + * The iteratee should complete with a boolean `result` value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the iteratee functions have finished. + * Result will be either `true` or `false` depending on the values of the async + * tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + */ +function someLimit(coll, limit, iteratee, callback) { + return _createTester(Boolean, res => res)(eachOfLimit$2(limit), coll, iteratee, callback) +} +var someLimit$1 = awaitify(someLimit, 4); + +/** + * The same as [`some`]{@link module:Collections.some} but runs only a single async operation at a time. + * + * @name someSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.some]{@link module:Collections.some} + * @alias anySeries + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collections in series. + * The iteratee should complete with a boolean `result` value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the iteratee functions have finished. + * Result will be either `true` or `false` depending on the values of the async + * tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + */ +function someSeries(coll, iteratee, callback) { + return _createTester(Boolean, res => res)(eachOfSeries$1, coll, iteratee, callback) +} +var someSeries$1 = awaitify(someSeries, 3); + +/** + * Sorts a list by the results of running each `coll` value through an async + * `iteratee`. + * + * @name sortBy + * @static + * @memberOf module:Collections + * @method + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with a value to use as the sort criteria as + * its `result`. + * Invoked with (item, callback). + * @param {Function} callback - A callback which is called after all the + * `iteratee` functions have finished, or an error occurs. Results is the items + * from the original `coll` sorted by the values returned by the `iteratee` + * calls. Invoked with (err, results). + * @returns {Promise} a promise, if no callback passed + * @example + * + * // bigfile.txt is a file that is 251100 bytes in size + * // mediumfile.txt is a file that is 11000 bytes in size + * // smallfile.txt is a file that is 121 bytes in size + * + * // asynchronous function that returns the file size in bytes + * function getFileSizeInBytes(file, callback) { + * fs.stat(file, function(err, stat) { + * if (err) { + * return callback(err); + * } + * callback(null, stat.size); + * }); + * } + * + * // Using callbacks + * async.sortBy(['mediumfile.txt','smallfile.txt','bigfile.txt'], getFileSizeInBytes, + * function(err, results) { + * if (err) { + * console.log(err); + * } else { + * console.log(results); + * // results is now the original array of files sorted by + * // file size (ascending by default), e.g. + * // [ 'smallfile.txt', 'mediumfile.txt', 'bigfile.txt'] + * } + * } + * ); + * + * // By modifying the callback parameter the + * // sorting order can be influenced: + * + * // ascending order + * async.sortBy(['mediumfile.txt','smallfile.txt','bigfile.txt'], function(file, callback) { + * getFileSizeInBytes(file, function(getFileSizeErr, fileSize) { + * if (getFileSizeErr) return callback(getFileSizeErr); + * callback(null, fileSize); + * }); + * }, function(err, results) { + * if (err) { + * console.log(err); + * } else { + * console.log(results); + * // results is now the original array of files sorted by + * // file size (ascending by default), e.g. + * // [ 'smallfile.txt', 'mediumfile.txt', 'bigfile.txt'] + * } + * } + * ); + * + * // descending order + * async.sortBy(['bigfile.txt','mediumfile.txt','smallfile.txt'], function(file, callback) { + * getFileSizeInBytes(file, function(getFileSizeErr, fileSize) { + * if (getFileSizeErr) { + * return callback(getFileSizeErr); + * } + * callback(null, fileSize * -1); + * }); + * }, function(err, results) { + * if (err) { + * console.log(err); + * } else { + * console.log(results); + * // results is now the original array of files sorted by + * // file size (ascending by default), e.g. + * // [ 'bigfile.txt', 'mediumfile.txt', 'smallfile.txt'] + * } + * } + * ); + * + * // Error handling + * async.sortBy(['mediumfile.txt','smallfile.txt','missingfile.txt'], getFileSizeInBytes, + * function(err, results) { + * if (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } else { + * console.log(results); + * } + * } + * ); + * + * // Using Promises + * async.sortBy(['mediumfile.txt','smallfile.txt','bigfile.txt'], getFileSizeInBytes) + * .then( results => { + * console.log(results); + * // results is now the original array of files sorted by + * // file size (ascending by default), e.g. + * // [ 'smallfile.txt', 'mediumfile.txt', 'bigfile.txt'] + * }).catch( err => { + * console.log(err); + * }); + * + * // Error handling + * async.sortBy(['mediumfile.txt','smallfile.txt','missingfile.txt'], getFileSizeInBytes) + * .then( results => { + * console.log(results); + * }).catch( err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * }); + * + * // Using async/await + * (async () => { + * try { + * let results = await async.sortBy(['bigfile.txt','mediumfile.txt','smallfile.txt'], getFileSizeInBytes); + * console.log(results); + * // results is now the original array of files sorted by + * // file size (ascending by default), e.g. + * // [ 'smallfile.txt', 'mediumfile.txt', 'bigfile.txt'] + * } + * catch (err) { + * console.log(err); + * } + * })(); + * + * // Error handling + * async () => { + * try { + * let results = await async.sortBy(['missingfile.txt','mediumfile.txt','smallfile.txt'], getFileSizeInBytes); + * console.log(results); + * } + * catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } + * } + * + */ +function sortBy (coll, iteratee, callback) { + var _iteratee = wrapAsync(iteratee); + return map$1(coll, (x, iterCb) => { + _iteratee(x, (err, criteria) => { + if (err) return iterCb(err); + iterCb(err, {value: x, criteria}); + }); + }, (err, results) => { + if (err) return callback(err); + callback(null, results.sort(comparator).map(v => v.value)); + }); + + function comparator(left, right) { + var a = left.criteria, b = right.criteria; + return a < b ? -1 : a > b ? 1 : 0; + } +} +var sortBy$1 = awaitify(sortBy, 3); + +/** + * Sets a time limit on an asynchronous function. If the function does not call + * its callback within the specified milliseconds, it will be called with a + * timeout error. The code property for the error object will be `'ETIMEDOUT'`. + * + * @name timeout + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {AsyncFunction} asyncFn - The async function to limit in time. + * @param {number} milliseconds - The specified time limit. + * @param {*} [info] - Any variable you want attached (`string`, `object`, etc) + * to timeout Error for more information.. + * @returns {AsyncFunction} Returns a wrapped function that can be used with any + * of the control flow functions. + * Invoke this function with the same parameters as you would `asyncFunc`. + * @example + * + * function myFunction(foo, callback) { + * doAsyncTask(foo, function(err, data) { + * // handle errors + * if (err) return callback(err); + * + * // do some stuff ... + * + * // return processed data + * return callback(null, data); + * }); + * } + * + * var wrapped = async.timeout(myFunction, 1000); + * + * // call `wrapped` as you would `myFunction` + * wrapped({ bar: 'bar' }, function(err, data) { + * // if `myFunction` takes < 1000 ms to execute, `err` + * // and `data` will have their expected values + * + * // else `err` will be an Error with the code 'ETIMEDOUT' + * }); + */ +function timeout(asyncFn, milliseconds, info) { + var fn = wrapAsync(asyncFn); + + return initialParams((args, callback) => { + var timedOut = false; + var timer; + + function timeoutCallback() { + var name = asyncFn.name || 'anonymous'; + var error = new Error('Callback function "' + name + '" timed out.'); + error.code = 'ETIMEDOUT'; + if (info) { + error.info = info; + } + timedOut = true; + callback(error); + } + + args.push((...cbArgs) => { + if (!timedOut) { + callback(...cbArgs); + clearTimeout(timer); + } + }); + + // setup timer and call original function + timer = setTimeout(timeoutCallback, milliseconds); + fn(...args); + }); +} + +function range(size) { + var result = Array(size); + while (size--) { + result[size] = size; + } + return result; +} + +/** + * The same as [times]{@link module:ControlFlow.times} but runs a maximum of `limit` async operations at a + * time. + * + * @name timesLimit + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.times]{@link module:ControlFlow.times} + * @category Control Flow + * @param {number} count - The number of times to run the function. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - The async function to call `n` times. + * Invoked with the iteration index and a callback: (n, next). + * @param {Function} callback - see [async.map]{@link module:Collections.map}. + * @returns {Promise} a promise, if no callback is provided + */ +function timesLimit(count, limit, iteratee, callback) { + var _iteratee = wrapAsync(iteratee); + return mapLimit$1(range(count), limit, _iteratee, callback); +} + +/** + * Calls the `iteratee` function `n` times, and accumulates results in the same + * manner you would use with [map]{@link module:Collections.map}. + * + * @name times + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.map]{@link module:Collections.map} + * @category Control Flow + * @param {number} n - The number of times to run the function. + * @param {AsyncFunction} iteratee - The async function to call `n` times. + * Invoked with the iteration index and a callback: (n, next). + * @param {Function} callback - see {@link module:Collections.map}. + * @returns {Promise} a promise, if no callback is provided + * @example + * + * // Pretend this is some complicated async factory + * var createUser = function(id, callback) { + * callback(null, { + * id: 'user' + id + * }); + * }; + * + * // generate 5 users + * async.times(5, function(n, next) { + * createUser(n, function(err, user) { + * next(err, user); + * }); + * }, function(err, users) { + * // we should now have 5 users + * }); + */ +function times (n, iteratee, callback) { + return timesLimit(n, Infinity, iteratee, callback) +} + +/** + * The same as [times]{@link module:ControlFlow.times} but runs only a single async operation at a time. + * + * @name timesSeries + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.times]{@link module:ControlFlow.times} + * @category Control Flow + * @param {number} n - The number of times to run the function. + * @param {AsyncFunction} iteratee - The async function to call `n` times. + * Invoked with the iteration index and a callback: (n, next). + * @param {Function} callback - see {@link module:Collections.map}. + * @returns {Promise} a promise, if no callback is provided + */ +function timesSeries (n, iteratee, callback) { + return timesLimit(n, 1, iteratee, callback) +} + +/** + * A relative of `reduce`. Takes an Object or Array, and iterates over each + * element in parallel, each step potentially mutating an `accumulator` value. + * The type of the accumulator defaults to the type of collection passed in. + * + * @name transform + * @static + * @memberOf module:Collections + * @method + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {*} [accumulator] - The initial state of the transform. If omitted, + * it will default to an empty Object or Array, depending on the type of `coll` + * @param {AsyncFunction} iteratee - A function applied to each item in the + * collection that potentially modifies the accumulator. + * Invoked with (accumulator, item, key, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result is the transformed accumulator. + * Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + * @example + * + * // file1.txt is a file that is 1000 bytes in size + * // file2.txt is a file that is 2000 bytes in size + * // file3.txt is a file that is 3000 bytes in size + * + * // helper function that returns human-readable size format from bytes + * function formatBytes(bytes, decimals = 2) { + * // implementation not included for brevity + * return humanReadbleFilesize; + * } + * + * const fileList = ['file1.txt','file2.txt','file3.txt']; + * + * // asynchronous function that returns the file size, transformed to human-readable format + * // e.g. 1024 bytes = 1KB, 1234 bytes = 1.21 KB, 1048576 bytes = 1MB, etc. + * function transformFileSize(acc, value, key, callback) { + * fs.stat(value, function(err, stat) { + * if (err) { + * return callback(err); + * } + * acc[key] = formatBytes(stat.size); + * callback(null); + * }); + * } + * + * // Using callbacks + * async.transform(fileList, transformFileSize, function(err, result) { + * if(err) { + * console.log(err); + * } else { + * console.log(result); + * // [ '1000 Bytes', '1.95 KB', '2.93 KB' ] + * } + * }); + * + * // Using Promises + * async.transform(fileList, transformFileSize) + * .then(result => { + * console.log(result); + * // [ '1000 Bytes', '1.95 KB', '2.93 KB' ] + * }).catch(err => { + * console.log(err); + * }); + * + * // Using async/await + * (async () => { + * try { + * let result = await async.transform(fileList, transformFileSize); + * console.log(result); + * // [ '1000 Bytes', '1.95 KB', '2.93 KB' ] + * } + * catch (err) { + * console.log(err); + * } + * })(); + * + * @example + * + * // file1.txt is a file that is 1000 bytes in size + * // file2.txt is a file that is 2000 bytes in size + * // file3.txt is a file that is 3000 bytes in size + * + * // helper function that returns human-readable size format from bytes + * function formatBytes(bytes, decimals = 2) { + * // implementation not included for brevity + * return humanReadbleFilesize; + * } + * + * const fileMap = { f1: 'file1.txt', f2: 'file2.txt', f3: 'file3.txt' }; + * + * // asynchronous function that returns the file size, transformed to human-readable format + * // e.g. 1024 bytes = 1KB, 1234 bytes = 1.21 KB, 1048576 bytes = 1MB, etc. + * function transformFileSize(acc, value, key, callback) { + * fs.stat(value, function(err, stat) { + * if (err) { + * return callback(err); + * } + * acc[key] = formatBytes(stat.size); + * callback(null); + * }); + * } + * + * // Using callbacks + * async.transform(fileMap, transformFileSize, function(err, result) { + * if(err) { + * console.log(err); + * } else { + * console.log(result); + * // { f1: '1000 Bytes', f2: '1.95 KB', f3: '2.93 KB' } + * } + * }); + * + * // Using Promises + * async.transform(fileMap, transformFileSize) + * .then(result => { + * console.log(result); + * // { f1: '1000 Bytes', f2: '1.95 KB', f3: '2.93 KB' } + * }).catch(err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.transform(fileMap, transformFileSize); + * console.log(result); + * // { f1: '1000 Bytes', f2: '1.95 KB', f3: '2.93 KB' } + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function transform (coll, accumulator, iteratee, callback) { + if (arguments.length <= 3 && typeof accumulator === 'function') { + callback = iteratee; + iteratee = accumulator; + accumulator = Array.isArray(coll) ? [] : {}; + } + callback = once(callback || promiseCallback()); + var _iteratee = wrapAsync(iteratee); + + eachOf$1(coll, (v, k, cb) => { + _iteratee(accumulator, v, k, cb); + }, err => callback(err, accumulator)); + return callback[PROMISE_SYMBOL] +} + +/** + * It runs each task in series but stops whenever any of the functions were + * successful. If one of the tasks were successful, the `callback` will be + * passed the result of the successful task. If all tasks fail, the callback + * will be passed the error and result (if any) of the final attempt. + * + * @name tryEach + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Array|Iterable|AsyncIterable|Object} tasks - A collection containing functions to + * run, each function is passed a `callback(err, result)` it must call on + * completion with an error `err` (which can be `null`) and an optional `result` + * value. + * @param {Function} [callback] - An optional callback which is called when one + * of the tasks has succeeded, or all have failed. It receives the `err` and + * `result` arguments of the last attempt at completing the `task`. Invoked with + * (err, results). + * @returns {Promise} a promise, if no callback is passed + * @example + * async.tryEach([ + * function getDataFromFirstWebsite(callback) { + * // Try getting the data from the first website + * callback(err, data); + * }, + * function getDataFromSecondWebsite(callback) { + * // First website failed, + * // Try getting the data from the backup website + * callback(err, data); + * } + * ], + * // optional callback + * function(err, results) { + * Now do something with the data. + * }); + * + */ +function tryEach(tasks, callback) { + var error = null; + var result; + return eachSeries$1(tasks, (task, taskCb) => { + wrapAsync(task)((err, ...args) => { + if (err === false) return taskCb(err); + + if (args.length < 2) { + [result] = args; + } else { + result = args; + } + error = err; + taskCb(err ? null : {}); + }); + }, () => callback(error, result)); +} + +var tryEach$1 = awaitify(tryEach); + +/** + * Undoes a [memoize]{@link module:Utils.memoize}d function, reverting it to the original, + * unmemoized form. Handy for testing. + * + * @name unmemoize + * @static + * @memberOf module:Utils + * @method + * @see [async.memoize]{@link module:Utils.memoize} + * @category Util + * @param {AsyncFunction} fn - the memoized function + * @returns {AsyncFunction} a function that calls the original unmemoized function + */ +function unmemoize(fn) { + return (...args) => { + return (fn.unmemoized || fn)(...args); + }; +} + +/** + * Repeatedly call `iteratee`, while `test` returns `true`. Calls `callback` when + * stopped, or an error occurs. + * + * @name whilst + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {AsyncFunction} test - asynchronous truth test to perform before each + * execution of `iteratee`. Invoked with (callback). + * @param {AsyncFunction} iteratee - An async function which is called each time + * `test` passes. Invoked with (callback). + * @param {Function} [callback] - A callback which is called after the test + * function has failed and repeated execution of `iteratee` has stopped. `callback` + * will be passed an error and any arguments passed to the final `iteratee`'s + * callback. Invoked with (err, [results]); + * @returns {Promise} a promise, if no callback is passed + * @example + * + * var count = 0; + * async.whilst( + * function test(cb) { cb(null, count < 5); }, + * function iter(callback) { + * count++; + * setTimeout(function() { + * callback(null, count); + * }, 1000); + * }, + * function (err, n) { + * // 5 seconds have passed, n = 5 + * } + * ); + */ +function whilst(test, iteratee, callback) { + callback = onlyOnce(callback); + var _fn = wrapAsync(iteratee); + var _test = wrapAsync(test); + var results = []; + + function next(err, ...rest) { + if (err) return callback(err); + results = rest; + if (err === false) return; + _test(check); + } + + function check(err, truth) { + if (err) return callback(err); + if (err === false) return; + if (!truth) return callback(null, ...results); + _fn(next); + } + + return _test(check); +} +var whilst$1 = awaitify(whilst, 3); + +/** + * Repeatedly call `iteratee` until `test` returns `true`. Calls `callback` when + * stopped, or an error occurs. `callback` will be passed an error and any + * arguments passed to the final `iteratee`'s callback. + * + * The inverse of [whilst]{@link module:ControlFlow.whilst}. + * + * @name until + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.whilst]{@link module:ControlFlow.whilst} + * @category Control Flow + * @param {AsyncFunction} test - asynchronous truth test to perform before each + * execution of `iteratee`. Invoked with (callback). + * @param {AsyncFunction} iteratee - An async function which is called each time + * `test` fails. Invoked with (callback). + * @param {Function} [callback] - A callback which is called after the test + * function has passed and repeated execution of `iteratee` has stopped. `callback` + * will be passed an error and any arguments passed to the final `iteratee`'s + * callback. Invoked with (err, [results]); + * @returns {Promise} a promise, if a callback is not passed + * + * @example + * const results = [] + * let finished = false + * async.until(function test(cb) { + * cb(null, finished) + * }, function iter(next) { + * fetchPage(url, (err, body) => { + * if (err) return next(err) + * results = results.concat(body.objects) + * finished = !!body.next + * next(err) + * }) + * }, function done (err) { + * // all pages have been fetched + * }) + */ +function until(test, iteratee, callback) { + const _test = wrapAsync(test); + return whilst$1((cb) => _test((err, truth) => cb (err, !truth)), iteratee, callback); +} + +/** + * Runs the `tasks` array of functions in series, each passing their results to + * the next in the array. However, if any of the `tasks` pass an error to their + * own callback, the next function is not executed, and the main `callback` is + * immediately called with the error. + * + * @name waterfall + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Array} tasks - An array of [async functions]{@link AsyncFunction} + * to run. + * Each function should complete with any number of `result` values. + * The `result` values will be passed as arguments, in order, to the next task. + * @param {Function} [callback] - An optional callback to run once all the + * functions have completed. This will be passed the results of the last task's + * callback. Invoked with (err, [results]). + * @returns {Promise} a promise, if a callback is omitted + * @example + * + * async.waterfall([ + * function(callback) { + * callback(null, 'one', 'two'); + * }, + * function(arg1, arg2, callback) { + * // arg1 now equals 'one' and arg2 now equals 'two' + * callback(null, 'three'); + * }, + * function(arg1, callback) { + * // arg1 now equals 'three' + * callback(null, 'done'); + * } + * ], function (err, result) { + * // result now equals 'done' + * }); + * + * // Or, with named functions: + * async.waterfall([ + * myFirstFunction, + * mySecondFunction, + * myLastFunction, + * ], function (err, result) { + * // result now equals 'done' + * }); + * function myFirstFunction(callback) { + * callback(null, 'one', 'two'); + * } + * function mySecondFunction(arg1, arg2, callback) { + * // arg1 now equals 'one' and arg2 now equals 'two' + * callback(null, 'three'); + * } + * function myLastFunction(arg1, callback) { + * // arg1 now equals 'three' + * callback(null, 'done'); + * } + */ +function waterfall (tasks, callback) { + callback = once(callback); + if (!Array.isArray(tasks)) return callback(new Error('First argument to waterfall must be an array of functions')); + if (!tasks.length) return callback(); + var taskIndex = 0; + + function nextTask(args) { + var task = wrapAsync(tasks[taskIndex++]); + task(...args, onlyOnce(next)); + } + + function next(err, ...args) { + if (err === false) return + if (err || taskIndex === tasks.length) { + return callback(err, ...args); + } + nextTask(args); + } + + nextTask([]); +} + +var waterfall$1 = awaitify(waterfall); + +/** + * An "async function" in the context of Async is an asynchronous function with + * a variable number of parameters, with the final parameter being a callback. + * (`function (arg1, arg2, ..., callback) {}`) + * The final callback is of the form `callback(err, results...)`, which must be + * called once the function is completed. The callback should be called with a + * Error as its first argument to signal that an error occurred. + * Otherwise, if no error occurred, it should be called with `null` as the first + * argument, and any additional `result` arguments that may apply, to signal + * successful completion. + * The callback must be called exactly once, ideally on a later tick of the + * JavaScript event loop. + * + * This type of function is also referred to as a "Node-style async function", + * or a "continuation passing-style function" (CPS). Most of the methods of this + * library are themselves CPS/Node-style async functions, or functions that + * return CPS/Node-style async functions. + * + * Wherever we accept a Node-style async function, we also directly accept an + * [ES2017 `async` function]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function}. + * In this case, the `async` function will not be passed a final callback + * argument, and any thrown error will be used as the `err` argument of the + * implicit callback, and the return value will be used as the `result` value. + * (i.e. a `rejected` of the returned Promise becomes the `err` callback + * argument, and a `resolved` value becomes the `result`.) + * + * Note, due to JavaScript limitations, we can only detect native `async` + * functions and not transpilied implementations. + * Your environment must have `async`/`await` support for this to work. + * (e.g. Node > v7.6, or a recent version of a modern browser). + * If you are using `async` functions through a transpiler (e.g. Babel), you + * must still wrap the function with [asyncify]{@link module:Utils.asyncify}, + * because the `async function` will be compiled to an ordinary function that + * returns a promise. + * + * @typedef {Function} AsyncFunction + * @static + */ + + +var index = { + apply, + applyEach, + applyEachSeries, + asyncify, + auto, + autoInject, + cargo: cargo$1, + cargoQueue: cargo, + compose, + concat: concat$1, + concatLimit: concatLimit$1, + concatSeries: concatSeries$1, + constant: constant$1, + detect: detect$1, + detectLimit: detectLimit$1, + detectSeries: detectSeries$1, + dir, + doUntil, + doWhilst: doWhilst$1, + each, + eachLimit: eachLimit$1, + eachOf: eachOf$1, + eachOfLimit: eachOfLimit$1, + eachOfSeries: eachOfSeries$1, + eachSeries: eachSeries$1, + ensureAsync, + every: every$1, + everyLimit: everyLimit$1, + everySeries: everySeries$1, + filter: filter$1, + filterLimit: filterLimit$1, + filterSeries: filterSeries$1, + forever: forever$1, + groupBy, + groupByLimit: groupByLimit$1, + groupBySeries, + log, + map: map$1, + mapLimit: mapLimit$1, + mapSeries: mapSeries$1, + mapValues, + mapValuesLimit: mapValuesLimit$1, + mapValuesSeries, + memoize, + nextTick, + parallel, + parallelLimit, + priorityQueue, + queue, + race: race$1, + reduce: reduce$1, + reduceRight, + reflect, + reflectAll, + reject: reject$1, + rejectLimit: rejectLimit$1, + rejectSeries: rejectSeries$1, + retry, + retryable, + seq, + series, + setImmediate: setImmediate$1, + some: some$1, + someLimit: someLimit$1, + someSeries: someSeries$1, + sortBy: sortBy$1, + timeout, + times, + timesLimit, + timesSeries, + transform, + tryEach: tryEach$1, + unmemoize, + until, + waterfall: waterfall$1, + whilst: whilst$1, + + // aliases + all: every$1, + allLimit: everyLimit$1, + allSeries: everySeries$1, + any: some$1, + anyLimit: someLimit$1, + anySeries: someSeries$1, + find: detect$1, + findLimit: detectLimit$1, + findSeries: detectSeries$1, + flatMap: concat$1, + flatMapLimit: concatLimit$1, + flatMapSeries: concatSeries$1, + forEach: each, + forEachSeries: eachSeries$1, + forEachLimit: eachLimit$1, + forEachOf: eachOf$1, + forEachOfSeries: eachOfSeries$1, + forEachOfLimit: eachOfLimit$1, + inject: reduce$1, + foldl: reduce$1, + foldr: reduceRight, + select: filter$1, + selectLimit: filterLimit$1, + selectSeries: filterSeries$1, + wrapSync: asyncify, + during: whilst$1, + doDuring: doWhilst$1 +}; + +export { every$1 as all, everyLimit$1 as allLimit, everySeries$1 as allSeries, some$1 as any, someLimit$1 as anyLimit, someSeries$1 as anySeries, apply, applyEach, applyEachSeries, asyncify, auto, autoInject, cargo$1 as cargo, cargo as cargoQueue, compose, concat$1 as concat, concatLimit$1 as concatLimit, concatSeries$1 as concatSeries, constant$1 as constant, index as default, detect$1 as detect, detectLimit$1 as detectLimit, detectSeries$1 as detectSeries, dir, doWhilst$1 as doDuring, doUntil, doWhilst$1 as doWhilst, whilst$1 as during, each, eachLimit$1 as eachLimit, eachOf$1 as eachOf, eachOfLimit$1 as eachOfLimit, eachOfSeries$1 as eachOfSeries, eachSeries$1 as eachSeries, ensureAsync, every$1 as every, everyLimit$1 as everyLimit, everySeries$1 as everySeries, filter$1 as filter, filterLimit$1 as filterLimit, filterSeries$1 as filterSeries, detect$1 as find, detectLimit$1 as findLimit, detectSeries$1 as findSeries, concat$1 as flatMap, concatLimit$1 as flatMapLimit, concatSeries$1 as flatMapSeries, reduce$1 as foldl, reduceRight as foldr, each as forEach, eachLimit$1 as forEachLimit, eachOf$1 as forEachOf, eachOfLimit$1 as forEachOfLimit, eachOfSeries$1 as forEachOfSeries, eachSeries$1 as forEachSeries, forever$1 as forever, groupBy, groupByLimit$1 as groupByLimit, groupBySeries, reduce$1 as inject, log, map$1 as map, mapLimit$1 as mapLimit, mapSeries$1 as mapSeries, mapValues, mapValuesLimit$1 as mapValuesLimit, mapValuesSeries, memoize, nextTick, parallel, parallelLimit, priorityQueue, queue, race$1 as race, reduce$1 as reduce, reduceRight, reflect, reflectAll, reject$1 as reject, rejectLimit$1 as rejectLimit, rejectSeries$1 as rejectSeries, retry, retryable, filter$1 as select, filterLimit$1 as selectLimit, filterSeries$1 as selectSeries, seq, series, setImmediate$1 as setImmediate, some$1 as some, someLimit$1 as someLimit, someSeries$1 as someSeries, sortBy$1 as sortBy, timeout, times, timesLimit, timesSeries, transform, tryEach$1 as tryEach, unmemoize, until, waterfall$1 as waterfall, whilst$1 as whilst, asyncify as wrapSync }; diff --git a/node_modules/winston/node_modules/async/doDuring.js b/node_modules/winston/node_modules/async/doDuring.js new file mode 100644 index 0000000..c72766d --- /dev/null +++ b/node_modules/winston/node_modules/async/doDuring.js @@ -0,0 +1,68 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _onlyOnce = require('./internal/onlyOnce.js'); + +var _onlyOnce2 = _interopRequireDefault(_onlyOnce); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The post-check version of [`whilst`]{@link module:ControlFlow.whilst}. To reflect the difference in + * the order of operations, the arguments `test` and `iteratee` are switched. + * + * `doWhilst` is to `whilst` as `do while` is to `while` in plain JavaScript. + * + * @name doWhilst + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.whilst]{@link module:ControlFlow.whilst} + * @category Control Flow + * @param {AsyncFunction} iteratee - A function which is called each time `test` + * passes. Invoked with (callback). + * @param {AsyncFunction} test - asynchronous truth test to perform after each + * execution of `iteratee`. Invoked with (...args, callback), where `...args` are the + * non-error args from the previous callback of `iteratee`. + * @param {Function} [callback] - A callback which is called after the test + * function has failed and repeated execution of `iteratee` has stopped. + * `callback` will be passed an error and any arguments passed to the final + * `iteratee`'s callback. Invoked with (err, [results]); + * @returns {Promise} a promise, if no callback is passed + */ +function doWhilst(iteratee, test, callback) { + callback = (0, _onlyOnce2.default)(callback); + var _fn = (0, _wrapAsync2.default)(iteratee); + var _test = (0, _wrapAsync2.default)(test); + var results; + + function next(err, ...args) { + if (err) return callback(err); + if (err === false) return; + results = args; + _test(...args, check); + } + + function check(err, truth) { + if (err) return callback(err); + if (err === false) return; + if (!truth) return callback(null, ...results); + _fn(next); + } + + return check(null, true); +} + +exports.default = (0, _awaitify2.default)(doWhilst, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/doUntil.js b/node_modules/winston/node_modules/async/doUntil.js new file mode 100644 index 0000000..519900e --- /dev/null +++ b/node_modules/winston/node_modules/async/doUntil.js @@ -0,0 +1,46 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = doUntil; + +var _doWhilst = require('./doWhilst.js'); + +var _doWhilst2 = _interopRequireDefault(_doWhilst); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Like ['doWhilst']{@link module:ControlFlow.doWhilst}, except the `test` is inverted. Note the + * argument ordering differs from `until`. + * + * @name doUntil + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.doWhilst]{@link module:ControlFlow.doWhilst} + * @category Control Flow + * @param {AsyncFunction} iteratee - An async function which is called each time + * `test` fails. Invoked with (callback). + * @param {AsyncFunction} test - asynchronous truth test to perform after each + * execution of `iteratee`. Invoked with (...args, callback), where `...args` are the + * non-error args from the previous callback of `iteratee` + * @param {Function} [callback] - A callback which is called after the test + * function has passed and repeated execution of `iteratee` has stopped. `callback` + * will be passed an error and any arguments passed to the final `iteratee`'s + * callback. Invoked with (err, [results]); + * @returns {Promise} a promise, if no callback is passed + */ +function doUntil(iteratee, test, callback) { + const _test = (0, _wrapAsync2.default)(test); + return (0, _doWhilst2.default)(iteratee, (...args) => { + const cb = args.pop(); + _test(...args, (err, truth) => cb(err, !truth)); + }, callback); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/doWhilst.js b/node_modules/winston/node_modules/async/doWhilst.js new file mode 100644 index 0000000..c72766d --- /dev/null +++ b/node_modules/winston/node_modules/async/doWhilst.js @@ -0,0 +1,68 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _onlyOnce = require('./internal/onlyOnce.js'); + +var _onlyOnce2 = _interopRequireDefault(_onlyOnce); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The post-check version of [`whilst`]{@link module:ControlFlow.whilst}. To reflect the difference in + * the order of operations, the arguments `test` and `iteratee` are switched. + * + * `doWhilst` is to `whilst` as `do while` is to `while` in plain JavaScript. + * + * @name doWhilst + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.whilst]{@link module:ControlFlow.whilst} + * @category Control Flow + * @param {AsyncFunction} iteratee - A function which is called each time `test` + * passes. Invoked with (callback). + * @param {AsyncFunction} test - asynchronous truth test to perform after each + * execution of `iteratee`. Invoked with (...args, callback), where `...args` are the + * non-error args from the previous callback of `iteratee`. + * @param {Function} [callback] - A callback which is called after the test + * function has failed and repeated execution of `iteratee` has stopped. + * `callback` will be passed an error and any arguments passed to the final + * `iteratee`'s callback. Invoked with (err, [results]); + * @returns {Promise} a promise, if no callback is passed + */ +function doWhilst(iteratee, test, callback) { + callback = (0, _onlyOnce2.default)(callback); + var _fn = (0, _wrapAsync2.default)(iteratee); + var _test = (0, _wrapAsync2.default)(test); + var results; + + function next(err, ...args) { + if (err) return callback(err); + if (err === false) return; + results = args; + _test(...args, check); + } + + function check(err, truth) { + if (err) return callback(err); + if (err === false) return; + if (!truth) return callback(null, ...results); + _fn(next); + } + + return check(null, true); +} + +exports.default = (0, _awaitify2.default)(doWhilst, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/during.js b/node_modules/winston/node_modules/async/during.js new file mode 100644 index 0000000..4165543 --- /dev/null +++ b/node_modules/winston/node_modules/async/during.js @@ -0,0 +1,78 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _onlyOnce = require('./internal/onlyOnce.js'); + +var _onlyOnce2 = _interopRequireDefault(_onlyOnce); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Repeatedly call `iteratee`, while `test` returns `true`. Calls `callback` when + * stopped, or an error occurs. + * + * @name whilst + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {AsyncFunction} test - asynchronous truth test to perform before each + * execution of `iteratee`. Invoked with (callback). + * @param {AsyncFunction} iteratee - An async function which is called each time + * `test` passes. Invoked with (callback). + * @param {Function} [callback] - A callback which is called after the test + * function has failed and repeated execution of `iteratee` has stopped. `callback` + * will be passed an error and any arguments passed to the final `iteratee`'s + * callback. Invoked with (err, [results]); + * @returns {Promise} a promise, if no callback is passed + * @example + * + * var count = 0; + * async.whilst( + * function test(cb) { cb(null, count < 5); }, + * function iter(callback) { + * count++; + * setTimeout(function() { + * callback(null, count); + * }, 1000); + * }, + * function (err, n) { + * // 5 seconds have passed, n = 5 + * } + * ); + */ +function whilst(test, iteratee, callback) { + callback = (0, _onlyOnce2.default)(callback); + var _fn = (0, _wrapAsync2.default)(iteratee); + var _test = (0, _wrapAsync2.default)(test); + var results = []; + + function next(err, ...rest) { + if (err) return callback(err); + results = rest; + if (err === false) return; + _test(check); + } + + function check(err, truth) { + if (err) return callback(err); + if (err === false) return; + if (!truth) return callback(null, ...results); + _fn(next); + } + + return _test(check); +} +exports.default = (0, _awaitify2.default)(whilst, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/each.js b/node_modules/winston/node_modules/async/each.js new file mode 100644 index 0000000..fdfcbd8 --- /dev/null +++ b/node_modules/winston/node_modules/async/each.js @@ -0,0 +1,129 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _eachOf = require('./eachOf.js'); + +var _eachOf2 = _interopRequireDefault(_eachOf); + +var _withoutIndex = require('./internal/withoutIndex.js'); + +var _withoutIndex2 = _interopRequireDefault(_withoutIndex); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Applies the function `iteratee` to each item in `coll`, in parallel. + * The `iteratee` is called with an item from the list, and a callback for when + * it has finished. If the `iteratee` passes an error to its `callback`, the + * main `callback` (for the `each` function) is immediately called with the + * error. + * + * Note, that since this function applies `iteratee` to each item in parallel, + * there is no guarantee that the iteratee functions will complete in order. + * + * @name each + * @static + * @memberOf module:Collections + * @method + * @alias forEach + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to + * each item in `coll`. Invoked with (item, callback). + * The array index is not passed to the iteratee. + * If you need the index, use `eachOf`. + * @param {Function} [callback] - A callback which is called when all + * `iteratee` functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * // dir4 does not exist + * + * const fileList = [ 'dir1/file2.txt', 'dir2/file3.txt', 'dir/file5.txt']; + * const withMissingFileList = ['dir1/file1.txt', 'dir4/file2.txt']; + * + * // asynchronous function that deletes a file + * const deleteFile = function(file, callback) { + * fs.unlink(file, callback); + * }; + * + * // Using callbacks + * async.each(fileList, deleteFile, function(err) { + * if( err ) { + * console.log(err); + * } else { + * console.log('All files have been deleted successfully'); + * } + * }); + * + * // Error Handling + * async.each(withMissingFileList, deleteFile, function(err){ + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4/file2.txt does not exist + * // dir1/file1.txt could have been deleted + * }); + * + * // Using Promises + * async.each(fileList, deleteFile) + * .then( () => { + * console.log('All files have been deleted successfully'); + * }).catch( err => { + * console.log(err); + * }); + * + * // Error Handling + * async.each(fileList, deleteFile) + * .then( () => { + * console.log('All files have been deleted successfully'); + * }).catch( err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4/file2.txt does not exist + * // dir1/file1.txt could have been deleted + * }); + * + * // Using async/await + * async () => { + * try { + * await async.each(files, deleteFile); + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // Error Handling + * async () => { + * try { + * await async.each(withMissingFileList, deleteFile); + * } + * catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4/file2.txt does not exist + * // dir1/file1.txt could have been deleted + * } + * } + * + */ +function eachLimit(coll, iteratee, callback) { + return (0, _eachOf2.default)(coll, (0, _withoutIndex2.default)((0, _wrapAsync2.default)(iteratee)), callback); +} + +exports.default = (0, _awaitify2.default)(eachLimit, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/eachLimit.js b/node_modules/winston/node_modules/async/eachLimit.js new file mode 100644 index 0000000..7f5928c --- /dev/null +++ b/node_modules/winston/node_modules/async/eachLimit.js @@ -0,0 +1,50 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _eachOfLimit = require('./internal/eachOfLimit.js'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _withoutIndex = require('./internal/withoutIndex.js'); + +var _withoutIndex2 = _interopRequireDefault(_withoutIndex); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`each`]{@link module:Collections.each} but runs a maximum of `limit` async operations at a time. + * + * @name eachLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.each]{@link module:Collections.each} + * @alias forEachLimit + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The array index is not passed to the iteratee. + * If you need the index, use `eachOfLimit`. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called when all + * `iteratee` functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + */ +function eachLimit(coll, limit, iteratee, callback) { + return (0, _eachOfLimit2.default)(limit)(coll, (0, _withoutIndex2.default)((0, _wrapAsync2.default)(iteratee)), callback); +} +exports.default = (0, _awaitify2.default)(eachLimit, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/eachOf.js b/node_modules/winston/node_modules/async/eachOf.js new file mode 100644 index 0000000..9ed20f6 --- /dev/null +++ b/node_modules/winston/node_modules/async/eachOf.js @@ -0,0 +1,185 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _isArrayLike = require('./internal/isArrayLike.js'); + +var _isArrayLike2 = _interopRequireDefault(_isArrayLike); + +var _breakLoop = require('./internal/breakLoop.js'); + +var _breakLoop2 = _interopRequireDefault(_breakLoop); + +var _eachOfLimit = require('./eachOfLimit.js'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _once = require('./internal/once.js'); + +var _once2 = _interopRequireDefault(_once); + +var _onlyOnce = require('./internal/onlyOnce.js'); + +var _onlyOnce2 = _interopRequireDefault(_onlyOnce); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +// eachOf implementation optimized for array-likes +function eachOfArrayLike(coll, iteratee, callback) { + callback = (0, _once2.default)(callback); + var index = 0, + completed = 0, + { length } = coll, + canceled = false; + if (length === 0) { + callback(null); + } + + function iteratorCallback(err, value) { + if (err === false) { + canceled = true; + } + if (canceled === true) return; + if (err) { + callback(err); + } else if (++completed === length || value === _breakLoop2.default) { + callback(null); + } + } + + for (; index < length; index++) { + iteratee(coll[index], index, (0, _onlyOnce2.default)(iteratorCallback)); + } +} + +// a generic version of eachOf which can handle array, object, and iterator cases. +function eachOfGeneric(coll, iteratee, callback) { + return (0, _eachOfLimit2.default)(coll, Infinity, iteratee, callback); +} + +/** + * Like [`each`]{@link module:Collections.each}, except that it passes the key (or index) as the second argument + * to the iteratee. + * + * @name eachOf + * @static + * @memberOf module:Collections + * @method + * @alias forEachOf + * @category Collection + * @see [async.each]{@link module:Collections.each} + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - A function to apply to each + * item in `coll`. + * The `key` is the item's key, or index in the case of an array. + * Invoked with (item, key, callback). + * @param {Function} [callback] - A callback which is called when all + * `iteratee` functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + * @example + * + * // dev.json is a file containing a valid json object config for dev environment + * // dev.json is a file containing a valid json object config for test environment + * // prod.json is a file containing a valid json object config for prod environment + * // invalid.json is a file with a malformed json object + * + * let configs = {}; //global variable + * let validConfigFileMap = {dev: 'dev.json', test: 'test.json', prod: 'prod.json'}; + * let invalidConfigFileMap = {dev: 'dev.json', test: 'test.json', invalid: 'invalid.json'}; + * + * // asynchronous function that reads a json file and parses the contents as json object + * function parseFile(file, key, callback) { + * fs.readFile(file, "utf8", function(err, data) { + * if (err) return calback(err); + * try { + * configs[key] = JSON.parse(data); + * } catch (e) { + * return callback(e); + * } + * callback(); + * }); + * } + * + * // Using callbacks + * async.forEachOf(validConfigFileMap, parseFile, function (err) { + * if (err) { + * console.error(err); + * } else { + * console.log(configs); + * // configs is now a map of JSON data, e.g. + * // { dev: //parsed dev.json, test: //parsed test.json, prod: //parsed prod.json} + * } + * }); + * + * //Error handing + * async.forEachOf(invalidConfigFileMap, parseFile, function (err) { + * if (err) { + * console.error(err); + * // JSON parse error exception + * } else { + * console.log(configs); + * } + * }); + * + * // Using Promises + * async.forEachOf(validConfigFileMap, parseFile) + * .then( () => { + * console.log(configs); + * // configs is now a map of JSON data, e.g. + * // { dev: //parsed dev.json, test: //parsed test.json, prod: //parsed prod.json} + * }).catch( err => { + * console.error(err); + * }); + * + * //Error handing + * async.forEachOf(invalidConfigFileMap, parseFile) + * .then( () => { + * console.log(configs); + * }).catch( err => { + * console.error(err); + * // JSON parse error exception + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.forEachOf(validConfigFileMap, parseFile); + * console.log(configs); + * // configs is now a map of JSON data, e.g. + * // { dev: //parsed dev.json, test: //parsed test.json, prod: //parsed prod.json} + * } + * catch (err) { + * console.log(err); + * } + * } + * + * //Error handing + * async () => { + * try { + * let result = await async.forEachOf(invalidConfigFileMap, parseFile); + * console.log(configs); + * } + * catch (err) { + * console.log(err); + * // JSON parse error exception + * } + * } + * + */ +function eachOf(coll, iteratee, callback) { + var eachOfImplementation = (0, _isArrayLike2.default)(coll) ? eachOfArrayLike : eachOfGeneric; + return eachOfImplementation(coll, (0, _wrapAsync2.default)(iteratee), callback); +} + +exports.default = (0, _awaitify2.default)(eachOf, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/eachOfLimit.js b/node_modules/winston/node_modules/async/eachOfLimit.js new file mode 100644 index 0000000..a596e5a --- /dev/null +++ b/node_modules/winston/node_modules/async/eachOfLimit.js @@ -0,0 +1,47 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _eachOfLimit2 = require('./internal/eachOfLimit.js'); + +var _eachOfLimit3 = _interopRequireDefault(_eachOfLimit2); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`eachOf`]{@link module:Collections.eachOf} but runs a maximum of `limit` async operations at a + * time. + * + * @name eachOfLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.eachOf]{@link module:Collections.eachOf} + * @alias forEachOfLimit + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async function to apply to each + * item in `coll`. The `key` is the item's key, or index in the case of an + * array. + * Invoked with (item, key, callback). + * @param {Function} [callback] - A callback which is called when all + * `iteratee` functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + */ +function eachOfLimit(coll, limit, iteratee, callback) { + return (0, _eachOfLimit3.default)(limit)(coll, (0, _wrapAsync2.default)(iteratee), callback); +} + +exports.default = (0, _awaitify2.default)(eachOfLimit, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/eachOfSeries.js b/node_modules/winston/node_modules/async/eachOfSeries.js new file mode 100644 index 0000000..04243ad --- /dev/null +++ b/node_modules/winston/node_modules/async/eachOfSeries.js @@ -0,0 +1,39 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _eachOfLimit = require('./eachOfLimit.js'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`eachOf`]{@link module:Collections.eachOf} but runs only a single async operation at a time. + * + * @name eachOfSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.eachOf]{@link module:Collections.eachOf} + * @alias forEachOfSeries + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * Invoked with (item, key, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + */ +function eachOfSeries(coll, iteratee, callback) { + return (0, _eachOfLimit2.default)(coll, 1, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(eachOfSeries, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/eachSeries.js b/node_modules/winston/node_modules/async/eachSeries.js new file mode 100644 index 0000000..b04896e --- /dev/null +++ b/node_modules/winston/node_modules/async/eachSeries.js @@ -0,0 +1,44 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _eachLimit = require('./eachLimit.js'); + +var _eachLimit2 = _interopRequireDefault(_eachLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`each`]{@link module:Collections.each} but runs only a single async operation at a time. + * + * Note, that unlike [`each`]{@link module:Collections.each}, this function applies iteratee to each item + * in series and therefore the iteratee functions will complete in order. + + * @name eachSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.each]{@link module:Collections.each} + * @alias forEachSeries + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each + * item in `coll`. + * The array index is not passed to the iteratee. + * If you need the index, use `eachOfSeries`. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called when all + * `iteratee` functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + */ +function eachSeries(coll, iteratee, callback) { + return (0, _eachLimit2.default)(coll, 1, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(eachSeries, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/ensureAsync.js b/node_modules/winston/node_modules/async/ensureAsync.js new file mode 100644 index 0000000..749c5da --- /dev/null +++ b/node_modules/winston/node_modules/async/ensureAsync.js @@ -0,0 +1,67 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = ensureAsync; + +var _setImmediate = require('./internal/setImmediate.js'); + +var _setImmediate2 = _interopRequireDefault(_setImmediate); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Wrap an async function and ensure it calls its callback on a later tick of + * the event loop. If the function already calls its callback on a next tick, + * no extra deferral is added. This is useful for preventing stack overflows + * (`RangeError: Maximum call stack size exceeded`) and generally keeping + * [Zalgo](http://blog.izs.me/post/59142742143/designing-apis-for-asynchrony) + * contained. ES2017 `async` functions are returned as-is -- they are immune + * to Zalgo's corrupting influences, as they always resolve on a later tick. + * + * @name ensureAsync + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {AsyncFunction} fn - an async function, one that expects a node-style + * callback as its last argument. + * @returns {AsyncFunction} Returns a wrapped function with the exact same call + * signature as the function passed in. + * @example + * + * function sometimesAsync(arg, callback) { + * if (cache[arg]) { + * return callback(null, cache[arg]); // this would be synchronous!! + * } else { + * doSomeIO(arg, callback); // this IO would be asynchronous + * } + * } + * + * // this has a risk of stack overflows if many results are cached in a row + * async.mapSeries(args, sometimesAsync, done); + * + * // this will defer sometimesAsync's callback if necessary, + * // preventing stack overflows + * async.mapSeries(args, async.ensureAsync(sometimesAsync), done); + */ +function ensureAsync(fn) { + if ((0, _wrapAsync.isAsync)(fn)) return fn; + return function (...args /*, callback*/) { + var callback = args.pop(); + var sync = true; + args.push((...innerArgs) => { + if (sync) { + (0, _setImmediate2.default)(() => callback(...innerArgs)); + } else { + callback(...innerArgs); + } + }); + fn.apply(this, args); + sync = false; + }; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/every.js b/node_modules/winston/node_modules/async/every.js new file mode 100644 index 0000000..622b301 --- /dev/null +++ b/node_modules/winston/node_modules/async/every.js @@ -0,0 +1,119 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createTester = require('./internal/createTester.js'); + +var _createTester2 = _interopRequireDefault(_createTester); + +var _eachOf = require('./eachOf.js'); + +var _eachOf2 = _interopRequireDefault(_eachOf); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Returns `true` if every element in `coll` satisfies an async test. If any + * iteratee call returns `false`, the main `callback` is immediately called. + * + * @name every + * @static + * @memberOf module:Collections + * @method + * @alias all + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collection in parallel. + * The iteratee must complete with a boolean result value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result will be either `true` or `false` + * depending on the values of the async tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * // dir4 does not exist + * + * const fileList = ['dir1/file1.txt','dir2/file3.txt','dir3/file5.txt']; + * const withMissingFileList = ['file1.txt','file2.txt','file4.txt']; + * + * // asynchronous function that checks if a file exists + * function fileExists(file, callback) { + * fs.access(file, fs.constants.F_OK, (err) => { + * callback(null, !err); + * }); + * } + * + * // Using callbacks + * async.every(fileList, fileExists, function(err, result) { + * console.log(result); + * // true + * // result is true since every file exists + * }); + * + * async.every(withMissingFileList, fileExists, function(err, result) { + * console.log(result); + * // false + * // result is false since NOT every file exists + * }); + * + * // Using Promises + * async.every(fileList, fileExists) + * .then( result => { + * console.log(result); + * // true + * // result is true since every file exists + * }).catch( err => { + * console.log(err); + * }); + * + * async.every(withMissingFileList, fileExists) + * .then( result => { + * console.log(result); + * // false + * // result is false since NOT every file exists + * }).catch( err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.every(fileList, fileExists); + * console.log(result); + * // true + * // result is true since every file exists + * } + * catch (err) { + * console.log(err); + * } + * } + * + * async () => { + * try { + * let result = await async.every(withMissingFileList, fileExists); + * console.log(result); + * // false + * // result is false since NOT every file exists + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function every(coll, iteratee, callback) { + return (0, _createTester2.default)(bool => !bool, res => !res)(_eachOf2.default, coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(every, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/everyLimit.js b/node_modules/winston/node_modules/async/everyLimit.js new file mode 100644 index 0000000..375e126 --- /dev/null +++ b/node_modules/winston/node_modules/async/everyLimit.js @@ -0,0 +1,46 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createTester = require('./internal/createTester.js'); + +var _createTester2 = _interopRequireDefault(_createTester); + +var _eachOfLimit = require('./internal/eachOfLimit.js'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`every`]{@link module:Collections.every} but runs a maximum of `limit` async operations at a time. + * + * @name everyLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.every]{@link module:Collections.every} + * @alias allLimit + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collection in parallel. + * The iteratee must complete with a boolean result value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result will be either `true` or `false` + * depending on the values of the async tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + */ +function everyLimit(coll, limit, iteratee, callback) { + return (0, _createTester2.default)(bool => !bool, res => !res)((0, _eachOfLimit2.default)(limit), coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(everyLimit, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/everySeries.js b/node_modules/winston/node_modules/async/everySeries.js new file mode 100644 index 0000000..9a6bf7d --- /dev/null +++ b/node_modules/winston/node_modules/async/everySeries.js @@ -0,0 +1,45 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createTester = require('./internal/createTester.js'); + +var _createTester2 = _interopRequireDefault(_createTester); + +var _eachOfSeries = require('./eachOfSeries.js'); + +var _eachOfSeries2 = _interopRequireDefault(_eachOfSeries); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`every`]{@link module:Collections.every} but runs only a single async operation at a time. + * + * @name everySeries + * @static + * @memberOf module:Collections + * @method + * @see [async.every]{@link module:Collections.every} + * @alias allSeries + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collection in series. + * The iteratee must complete with a boolean result value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result will be either `true` or `false` + * depending on the values of the async tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + */ +function everySeries(coll, iteratee, callback) { + return (0, _createTester2.default)(bool => !bool, res => !res)(_eachOfSeries2.default, coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(everySeries, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/filter.js b/node_modules/winston/node_modules/async/filter.js new file mode 100644 index 0000000..2c9a63d --- /dev/null +++ b/node_modules/winston/node_modules/async/filter.js @@ -0,0 +1,93 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _filter2 = require('./internal/filter.js'); + +var _filter3 = _interopRequireDefault(_filter2); + +var _eachOf = require('./eachOf.js'); + +var _eachOf2 = _interopRequireDefault(_eachOf); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Returns a new array of all the values in `coll` which pass an async truth + * test. This operation is performed in parallel, but the results array will be + * in the same order as the original. + * + * @name filter + * @static + * @memberOf module:Collections + * @method + * @alias select + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {Function} iteratee - A truth test to apply to each item in `coll`. + * The `iteratee` is passed a `callback(err, truthValue)`, which must be called + * with a boolean argument once it has completed. Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results). + * @returns {Promise} a promise, if no callback provided + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * + * const files = ['dir1/file1.txt','dir2/file3.txt','dir3/file6.txt']; + * + * // asynchronous function that checks if a file exists + * function fileExists(file, callback) { + * fs.access(file, fs.constants.F_OK, (err) => { + * callback(null, !err); + * }); + * } + * + * // Using callbacks + * async.filter(files, fileExists, function(err, results) { + * if(err) { + * console.log(err); + * } else { + * console.log(results); + * // [ 'dir1/file1.txt', 'dir2/file3.txt' ] + * // results is now an array of the existing files + * } + * }); + * + * // Using Promises + * async.filter(files, fileExists) + * .then(results => { + * console.log(results); + * // [ 'dir1/file1.txt', 'dir2/file3.txt' ] + * // results is now an array of the existing files + * }).catch(err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let results = await async.filter(files, fileExists); + * console.log(results); + * // [ 'dir1/file1.txt', 'dir2/file3.txt' ] + * // results is now an array of the existing files + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function filter(coll, iteratee, callback) { + return (0, _filter3.default)(_eachOf2.default, coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(filter, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/filterLimit.js b/node_modules/winston/node_modules/async/filterLimit.js new file mode 100644 index 0000000..d3b3f50 --- /dev/null +++ b/node_modules/winston/node_modules/async/filterLimit.js @@ -0,0 +1,45 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _filter2 = require('./internal/filter.js'); + +var _filter3 = _interopRequireDefault(_filter2); + +var _eachOfLimit = require('./internal/eachOfLimit.js'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`filter`]{@link module:Collections.filter} but runs a maximum of `limit` async operations at a + * time. + * + * @name filterLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.filter]{@link module:Collections.filter} + * @alias selectLimit + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {Function} iteratee - A truth test to apply to each item in `coll`. + * The `iteratee` is passed a `callback(err, truthValue)`, which must be called + * with a boolean argument once it has completed. Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results). + * @returns {Promise} a promise, if no callback provided + */ +function filterLimit(coll, limit, iteratee, callback) { + return (0, _filter3.default)((0, _eachOfLimit2.default)(limit), coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(filterLimit, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/filterSeries.js b/node_modules/winston/node_modules/async/filterSeries.js new file mode 100644 index 0000000..019a2d0 --- /dev/null +++ b/node_modules/winston/node_modules/async/filterSeries.js @@ -0,0 +1,43 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _filter2 = require('./internal/filter.js'); + +var _filter3 = _interopRequireDefault(_filter2); + +var _eachOfSeries = require('./eachOfSeries.js'); + +var _eachOfSeries2 = _interopRequireDefault(_eachOfSeries); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`filter`]{@link module:Collections.filter} but runs only a single async operation at a time. + * + * @name filterSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.filter]{@link module:Collections.filter} + * @alias selectSeries + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {Function} iteratee - A truth test to apply to each item in `coll`. + * The `iteratee` is passed a `callback(err, truthValue)`, which must be called + * with a boolean argument once it has completed. Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results) + * @returns {Promise} a promise, if no callback provided + */ +function filterSeries(coll, iteratee, callback) { + return (0, _filter3.default)(_eachOfSeries2.default, coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(filterSeries, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/find.js b/node_modules/winston/node_modules/async/find.js new file mode 100644 index 0000000..d5896ef --- /dev/null +++ b/node_modules/winston/node_modules/async/find.js @@ -0,0 +1,96 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createTester = require('./internal/createTester.js'); + +var _createTester2 = _interopRequireDefault(_createTester); + +var _eachOf = require('./eachOf.js'); + +var _eachOf2 = _interopRequireDefault(_eachOf); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Returns the first value in `coll` that passes an async truth test. The + * `iteratee` is applied in parallel, meaning the first iteratee to return + * `true` will fire the detect `callback` with that result. That means the + * result might not be the first item in the original `coll` (in terms of order) + * that passes the test. + + * If order within the original `coll` is important, then look at + * [`detectSeries`]{@link module:Collections.detectSeries}. + * + * @name detect + * @static + * @memberOf module:Collections + * @method + * @alias find + * @category Collections + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - A truth test to apply to each item in `coll`. + * The iteratee must complete with a boolean value as its result. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the `iteratee` functions have finished. + * Result will be the first item in the array that passes the truth test + * (iteratee) or the value `undefined` if none passed. Invoked with + * (err, result). + * @returns {Promise} a promise, if a callback is omitted + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * + * // asynchronous function that checks if a file exists + * function fileExists(file, callback) { + * fs.access(file, fs.constants.F_OK, (err) => { + * callback(null, !err); + * }); + * } + * + * async.detect(['file3.txt','file2.txt','dir1/file1.txt'], fileExists, + * function(err, result) { + * console.log(result); + * // dir1/file1.txt + * // result now equals the first file in the list that exists + * } + *); + * + * // Using Promises + * async.detect(['file3.txt','file2.txt','dir1/file1.txt'], fileExists) + * .then(result => { + * console.log(result); + * // dir1/file1.txt + * // result now equals the first file in the list that exists + * }).catch(err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.detect(['file3.txt','file2.txt','dir1/file1.txt'], fileExists); + * console.log(result); + * // dir1/file1.txt + * // result now equals the file in the list that exists + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function detect(coll, iteratee, callback) { + return (0, _createTester2.default)(bool => bool, (res, item) => item)(_eachOf2.default, coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(detect, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/findLimit.js b/node_modules/winston/node_modules/async/findLimit.js new file mode 100644 index 0000000..c59843b --- /dev/null +++ b/node_modules/winston/node_modules/async/findLimit.js @@ -0,0 +1,48 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createTester = require('./internal/createTester.js'); + +var _createTester2 = _interopRequireDefault(_createTester); + +var _eachOfLimit = require('./internal/eachOfLimit.js'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`detect`]{@link module:Collections.detect} but runs a maximum of `limit` async operations at a + * time. + * + * @name detectLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.detect]{@link module:Collections.detect} + * @alias findLimit + * @category Collections + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - A truth test to apply to each item in `coll`. + * The iteratee must complete with a boolean value as its result. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the `iteratee` functions have finished. + * Result will be the first item in the array that passes the truth test + * (iteratee) or the value `undefined` if none passed. Invoked with + * (err, result). + * @returns {Promise} a promise, if a callback is omitted + */ +function detectLimit(coll, limit, iteratee, callback) { + return (0, _createTester2.default)(bool => bool, (res, item) => item)((0, _eachOfLimit2.default)(limit), coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(detectLimit, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/findSeries.js b/node_modules/winston/node_modules/async/findSeries.js new file mode 100644 index 0000000..b486899 --- /dev/null +++ b/node_modules/winston/node_modules/async/findSeries.js @@ -0,0 +1,47 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createTester = require('./internal/createTester.js'); + +var _createTester2 = _interopRequireDefault(_createTester); + +var _eachOfLimit = require('./internal/eachOfLimit.js'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`detect`]{@link module:Collections.detect} but runs only a single async operation at a time. + * + * @name detectSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.detect]{@link module:Collections.detect} + * @alias findSeries + * @category Collections + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - A truth test to apply to each item in `coll`. + * The iteratee must complete with a boolean value as its result. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the `iteratee` functions have finished. + * Result will be the first item in the array that passes the truth test + * (iteratee) or the value `undefined` if none passed. Invoked with + * (err, result). + * @returns {Promise} a promise, if a callback is omitted + */ +function detectSeries(coll, iteratee, callback) { + return (0, _createTester2.default)(bool => bool, (res, item) => item)((0, _eachOfLimit2.default)(1), coll, iteratee, callback); +} + +exports.default = (0, _awaitify2.default)(detectSeries, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/flatMap.js b/node_modules/winston/node_modules/async/flatMap.js new file mode 100644 index 0000000..4540a79 --- /dev/null +++ b/node_modules/winston/node_modules/async/flatMap.js @@ -0,0 +1,115 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _concatLimit = require('./concatLimit.js'); + +var _concatLimit2 = _interopRequireDefault(_concatLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Applies `iteratee` to each item in `coll`, concatenating the results. Returns + * the concatenated list. The `iteratee`s are called in parallel, and the + * results are concatenated as they return. The results array will be returned in + * the original order of `coll` passed to the `iteratee` function. + * + * @name concat + * @static + * @memberOf module:Collections + * @method + * @category Collection + * @alias flatMap + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - A function to apply to each item in `coll`, + * which should use an array as its result. Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished, or an error occurs. Results is an array + * containing the concatenated results of the `iteratee` function. Invoked with + * (err, results). + * @returns A Promise, if no callback is passed + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * // dir4 does not exist + * + * let directoryList = ['dir1','dir2','dir3']; + * let withMissingDirectoryList = ['dir1','dir2','dir3', 'dir4']; + * + * // Using callbacks + * async.concat(directoryList, fs.readdir, function(err, results) { + * if (err) { + * console.log(err); + * } else { + * console.log(results); + * // [ 'file1.txt', 'file2.txt', 'file3.txt', 'file4.txt', file5.txt ] + * } + * }); + * + * // Error Handling + * async.concat(withMissingDirectoryList, fs.readdir, function(err, results) { + * if (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4 does not exist + * } else { + * console.log(results); + * } + * }); + * + * // Using Promises + * async.concat(directoryList, fs.readdir) + * .then(results => { + * console.log(results); + * // [ 'file1.txt', 'file2.txt', 'file3.txt', 'file4.txt', file5.txt ] + * }).catch(err => { + * console.log(err); + * }); + * + * // Error Handling + * async.concat(withMissingDirectoryList, fs.readdir) + * .then(results => { + * console.log(results); + * }).catch(err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4 does not exist + * }); + * + * // Using async/await + * async () => { + * try { + * let results = await async.concat(directoryList, fs.readdir); + * console.log(results); + * // [ 'file1.txt', 'file2.txt', 'file3.txt', 'file4.txt', file5.txt ] + * } catch (err) { + * console.log(err); + * } + * } + * + * // Error Handling + * async () => { + * try { + * let results = await async.concat(withMissingDirectoryList, fs.readdir); + * console.log(results); + * } catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4 does not exist + * } + * } + * + */ +function concat(coll, iteratee, callback) { + return (0, _concatLimit2.default)(coll, Infinity, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(concat, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/flatMapLimit.js b/node_modules/winston/node_modules/async/flatMapLimit.js new file mode 100644 index 0000000..a27cc7d --- /dev/null +++ b/node_modules/winston/node_modules/async/flatMapLimit.js @@ -0,0 +1,60 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _mapLimit = require('./mapLimit.js'); + +var _mapLimit2 = _interopRequireDefault(_mapLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`concat`]{@link module:Collections.concat} but runs a maximum of `limit` async operations at a time. + * + * @name concatLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.concat]{@link module:Collections.concat} + * @category Collection + * @alias flatMapLimit + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - A function to apply to each item in `coll`, + * which should use an array as its result. Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished, or an error occurs. Results is an array + * containing the concatenated results of the `iteratee` function. Invoked with + * (err, results). + * @returns A Promise, if no callback is passed + */ +function concatLimit(coll, limit, iteratee, callback) { + var _iteratee = (0, _wrapAsync2.default)(iteratee); + return (0, _mapLimit2.default)(coll, limit, (val, iterCb) => { + _iteratee(val, (err, ...args) => { + if (err) return iterCb(err); + return iterCb(err, args); + }); + }, (err, mapResults) => { + var result = []; + for (var i = 0; i < mapResults.length; i++) { + if (mapResults[i]) { + result = result.concat(...mapResults[i]); + } + } + + return callback(err, result); + }); +} +exports.default = (0, _awaitify2.default)(concatLimit, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/flatMapSeries.js b/node_modules/winston/node_modules/async/flatMapSeries.js new file mode 100644 index 0000000..332de3f --- /dev/null +++ b/node_modules/winston/node_modules/async/flatMapSeries.js @@ -0,0 +1,41 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _concatLimit = require('./concatLimit.js'); + +var _concatLimit2 = _interopRequireDefault(_concatLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`concat`]{@link module:Collections.concat} but runs only a single async operation at a time. + * + * @name concatSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.concat]{@link module:Collections.concat} + * @category Collection + * @alias flatMapSeries + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - A function to apply to each item in `coll`. + * The iteratee should complete with an array an array of results. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished, or an error occurs. Results is an array + * containing the concatenated results of the `iteratee` function. Invoked with + * (err, results). + * @returns A Promise, if no callback is passed + */ +function concatSeries(coll, iteratee, callback) { + return (0, _concatLimit2.default)(coll, 1, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(concatSeries, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/foldl.js b/node_modules/winston/node_modules/async/foldl.js new file mode 100644 index 0000000..8a69548 --- /dev/null +++ b/node_modules/winston/node_modules/async/foldl.js @@ -0,0 +1,153 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _eachOfSeries = require('./eachOfSeries.js'); + +var _eachOfSeries2 = _interopRequireDefault(_eachOfSeries); + +var _once = require('./internal/once.js'); + +var _once2 = _interopRequireDefault(_once); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Reduces `coll` into a single value using an async `iteratee` to return each + * successive step. `memo` is the initial state of the reduction. This function + * only operates in series. + * + * For performance reasons, it may make sense to split a call to this function + * into a parallel map, and then use the normal `Array.prototype.reduce` on the + * results. This function is for situations where each step in the reduction + * needs to be async; if you can get the data before reducing it, then it's + * probably a good idea to do so. + * + * @name reduce + * @static + * @memberOf module:Collections + * @method + * @alias inject + * @alias foldl + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {*} memo - The initial state of the reduction. + * @param {AsyncFunction} iteratee - A function applied to each item in the + * array to produce the next step in the reduction. + * The `iteratee` should complete with the next state of the reduction. + * If the iteratee completes with an error, the reduction is stopped and the + * main `callback` is immediately called with the error. + * Invoked with (memo, item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result is the reduced value. Invoked with + * (err, result). + * @returns {Promise} a promise, if no callback is passed + * @example + * + * // file1.txt is a file that is 1000 bytes in size + * // file2.txt is a file that is 2000 bytes in size + * // file3.txt is a file that is 3000 bytes in size + * // file4.txt does not exist + * + * const fileList = ['file1.txt','file2.txt','file3.txt']; + * const withMissingFileList = ['file1.txt','file2.txt','file3.txt', 'file4.txt']; + * + * // asynchronous function that computes the file size in bytes + * // file size is added to the memoized value, then returned + * function getFileSizeInBytes(memo, file, callback) { + * fs.stat(file, function(err, stat) { + * if (err) { + * return callback(err); + * } + * callback(null, memo + stat.size); + * }); + * } + * + * // Using callbacks + * async.reduce(fileList, 0, getFileSizeInBytes, function(err, result) { + * if (err) { + * console.log(err); + * } else { + * console.log(result); + * // 6000 + * // which is the sum of the file sizes of the three files + * } + * }); + * + * // Error Handling + * async.reduce(withMissingFileList, 0, getFileSizeInBytes, function(err, result) { + * if (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } else { + * console.log(result); + * } + * }); + * + * // Using Promises + * async.reduce(fileList, 0, getFileSizeInBytes) + * .then( result => { + * console.log(result); + * // 6000 + * // which is the sum of the file sizes of the three files + * }).catch( err => { + * console.log(err); + * }); + * + * // Error Handling + * async.reduce(withMissingFileList, 0, getFileSizeInBytes) + * .then( result => { + * console.log(result); + * }).catch( err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.reduce(fileList, 0, getFileSizeInBytes); + * console.log(result); + * // 6000 + * // which is the sum of the file sizes of the three files + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // Error Handling + * async () => { + * try { + * let result = await async.reduce(withMissingFileList, 0, getFileSizeInBytes); + * console.log(result); + * } + * catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } + * } + * + */ +function reduce(coll, memo, iteratee, callback) { + callback = (0, _once2.default)(callback); + var _iteratee = (0, _wrapAsync2.default)(iteratee); + return (0, _eachOfSeries2.default)(coll, (x, i, iterCb) => { + _iteratee(memo, x, (err, v) => { + memo = v; + iterCb(err); + }); + }, err => callback(err, memo)); +} +exports.default = (0, _awaitify2.default)(reduce, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/foldr.js b/node_modules/winston/node_modules/async/foldr.js new file mode 100644 index 0000000..5be1b68 --- /dev/null +++ b/node_modules/winston/node_modules/async/foldr.js @@ -0,0 +1,41 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = reduceRight; + +var _reduce = require('./reduce.js'); + +var _reduce2 = _interopRequireDefault(_reduce); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Same as [`reduce`]{@link module:Collections.reduce}, only operates on `array` in reverse order. + * + * @name reduceRight + * @static + * @memberOf module:Collections + * @method + * @see [async.reduce]{@link module:Collections.reduce} + * @alias foldr + * @category Collection + * @param {Array} array - A collection to iterate over. + * @param {*} memo - The initial state of the reduction. + * @param {AsyncFunction} iteratee - A function applied to each item in the + * array to produce the next step in the reduction. + * The `iteratee` should complete with the next state of the reduction. + * If the iteratee completes with an error, the reduction is stopped and the + * main `callback` is immediately called with the error. + * Invoked with (memo, item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result is the reduced value. Invoked with + * (err, result). + * @returns {Promise} a promise, if no callback is passed + */ +function reduceRight(array, memo, iteratee, callback) { + var reversed = [...array].reverse(); + return (0, _reduce2.default)(reversed, memo, iteratee, callback); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/forEach.js b/node_modules/winston/node_modules/async/forEach.js new file mode 100644 index 0000000..fdfcbd8 --- /dev/null +++ b/node_modules/winston/node_modules/async/forEach.js @@ -0,0 +1,129 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _eachOf = require('./eachOf.js'); + +var _eachOf2 = _interopRequireDefault(_eachOf); + +var _withoutIndex = require('./internal/withoutIndex.js'); + +var _withoutIndex2 = _interopRequireDefault(_withoutIndex); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Applies the function `iteratee` to each item in `coll`, in parallel. + * The `iteratee` is called with an item from the list, and a callback for when + * it has finished. If the `iteratee` passes an error to its `callback`, the + * main `callback` (for the `each` function) is immediately called with the + * error. + * + * Note, that since this function applies `iteratee` to each item in parallel, + * there is no guarantee that the iteratee functions will complete in order. + * + * @name each + * @static + * @memberOf module:Collections + * @method + * @alias forEach + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to + * each item in `coll`. Invoked with (item, callback). + * The array index is not passed to the iteratee. + * If you need the index, use `eachOf`. + * @param {Function} [callback] - A callback which is called when all + * `iteratee` functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * // dir4 does not exist + * + * const fileList = [ 'dir1/file2.txt', 'dir2/file3.txt', 'dir/file5.txt']; + * const withMissingFileList = ['dir1/file1.txt', 'dir4/file2.txt']; + * + * // asynchronous function that deletes a file + * const deleteFile = function(file, callback) { + * fs.unlink(file, callback); + * }; + * + * // Using callbacks + * async.each(fileList, deleteFile, function(err) { + * if( err ) { + * console.log(err); + * } else { + * console.log('All files have been deleted successfully'); + * } + * }); + * + * // Error Handling + * async.each(withMissingFileList, deleteFile, function(err){ + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4/file2.txt does not exist + * // dir1/file1.txt could have been deleted + * }); + * + * // Using Promises + * async.each(fileList, deleteFile) + * .then( () => { + * console.log('All files have been deleted successfully'); + * }).catch( err => { + * console.log(err); + * }); + * + * // Error Handling + * async.each(fileList, deleteFile) + * .then( () => { + * console.log('All files have been deleted successfully'); + * }).catch( err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4/file2.txt does not exist + * // dir1/file1.txt could have been deleted + * }); + * + * // Using async/await + * async () => { + * try { + * await async.each(files, deleteFile); + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // Error Handling + * async () => { + * try { + * await async.each(withMissingFileList, deleteFile); + * } + * catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * // since dir4/file2.txt does not exist + * // dir1/file1.txt could have been deleted + * } + * } + * + */ +function eachLimit(coll, iteratee, callback) { + return (0, _eachOf2.default)(coll, (0, _withoutIndex2.default)((0, _wrapAsync2.default)(iteratee)), callback); +} + +exports.default = (0, _awaitify2.default)(eachLimit, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/forEachLimit.js b/node_modules/winston/node_modules/async/forEachLimit.js new file mode 100644 index 0000000..7f5928c --- /dev/null +++ b/node_modules/winston/node_modules/async/forEachLimit.js @@ -0,0 +1,50 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _eachOfLimit = require('./internal/eachOfLimit.js'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _withoutIndex = require('./internal/withoutIndex.js'); + +var _withoutIndex2 = _interopRequireDefault(_withoutIndex); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`each`]{@link module:Collections.each} but runs a maximum of `limit` async operations at a time. + * + * @name eachLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.each]{@link module:Collections.each} + * @alias forEachLimit + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The array index is not passed to the iteratee. + * If you need the index, use `eachOfLimit`. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called when all + * `iteratee` functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + */ +function eachLimit(coll, limit, iteratee, callback) { + return (0, _eachOfLimit2.default)(limit)(coll, (0, _withoutIndex2.default)((0, _wrapAsync2.default)(iteratee)), callback); +} +exports.default = (0, _awaitify2.default)(eachLimit, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/forEachOf.js b/node_modules/winston/node_modules/async/forEachOf.js new file mode 100644 index 0000000..9ed20f6 --- /dev/null +++ b/node_modules/winston/node_modules/async/forEachOf.js @@ -0,0 +1,185 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _isArrayLike = require('./internal/isArrayLike.js'); + +var _isArrayLike2 = _interopRequireDefault(_isArrayLike); + +var _breakLoop = require('./internal/breakLoop.js'); + +var _breakLoop2 = _interopRequireDefault(_breakLoop); + +var _eachOfLimit = require('./eachOfLimit.js'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _once = require('./internal/once.js'); + +var _once2 = _interopRequireDefault(_once); + +var _onlyOnce = require('./internal/onlyOnce.js'); + +var _onlyOnce2 = _interopRequireDefault(_onlyOnce); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +// eachOf implementation optimized for array-likes +function eachOfArrayLike(coll, iteratee, callback) { + callback = (0, _once2.default)(callback); + var index = 0, + completed = 0, + { length } = coll, + canceled = false; + if (length === 0) { + callback(null); + } + + function iteratorCallback(err, value) { + if (err === false) { + canceled = true; + } + if (canceled === true) return; + if (err) { + callback(err); + } else if (++completed === length || value === _breakLoop2.default) { + callback(null); + } + } + + for (; index < length; index++) { + iteratee(coll[index], index, (0, _onlyOnce2.default)(iteratorCallback)); + } +} + +// a generic version of eachOf which can handle array, object, and iterator cases. +function eachOfGeneric(coll, iteratee, callback) { + return (0, _eachOfLimit2.default)(coll, Infinity, iteratee, callback); +} + +/** + * Like [`each`]{@link module:Collections.each}, except that it passes the key (or index) as the second argument + * to the iteratee. + * + * @name eachOf + * @static + * @memberOf module:Collections + * @method + * @alias forEachOf + * @category Collection + * @see [async.each]{@link module:Collections.each} + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - A function to apply to each + * item in `coll`. + * The `key` is the item's key, or index in the case of an array. + * Invoked with (item, key, callback). + * @param {Function} [callback] - A callback which is called when all + * `iteratee` functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + * @example + * + * // dev.json is a file containing a valid json object config for dev environment + * // dev.json is a file containing a valid json object config for test environment + * // prod.json is a file containing a valid json object config for prod environment + * // invalid.json is a file with a malformed json object + * + * let configs = {}; //global variable + * let validConfigFileMap = {dev: 'dev.json', test: 'test.json', prod: 'prod.json'}; + * let invalidConfigFileMap = {dev: 'dev.json', test: 'test.json', invalid: 'invalid.json'}; + * + * // asynchronous function that reads a json file and parses the contents as json object + * function parseFile(file, key, callback) { + * fs.readFile(file, "utf8", function(err, data) { + * if (err) return calback(err); + * try { + * configs[key] = JSON.parse(data); + * } catch (e) { + * return callback(e); + * } + * callback(); + * }); + * } + * + * // Using callbacks + * async.forEachOf(validConfigFileMap, parseFile, function (err) { + * if (err) { + * console.error(err); + * } else { + * console.log(configs); + * // configs is now a map of JSON data, e.g. + * // { dev: //parsed dev.json, test: //parsed test.json, prod: //parsed prod.json} + * } + * }); + * + * //Error handing + * async.forEachOf(invalidConfigFileMap, parseFile, function (err) { + * if (err) { + * console.error(err); + * // JSON parse error exception + * } else { + * console.log(configs); + * } + * }); + * + * // Using Promises + * async.forEachOf(validConfigFileMap, parseFile) + * .then( () => { + * console.log(configs); + * // configs is now a map of JSON data, e.g. + * // { dev: //parsed dev.json, test: //parsed test.json, prod: //parsed prod.json} + * }).catch( err => { + * console.error(err); + * }); + * + * //Error handing + * async.forEachOf(invalidConfigFileMap, parseFile) + * .then( () => { + * console.log(configs); + * }).catch( err => { + * console.error(err); + * // JSON parse error exception + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.forEachOf(validConfigFileMap, parseFile); + * console.log(configs); + * // configs is now a map of JSON data, e.g. + * // { dev: //parsed dev.json, test: //parsed test.json, prod: //parsed prod.json} + * } + * catch (err) { + * console.log(err); + * } + * } + * + * //Error handing + * async () => { + * try { + * let result = await async.forEachOf(invalidConfigFileMap, parseFile); + * console.log(configs); + * } + * catch (err) { + * console.log(err); + * // JSON parse error exception + * } + * } + * + */ +function eachOf(coll, iteratee, callback) { + var eachOfImplementation = (0, _isArrayLike2.default)(coll) ? eachOfArrayLike : eachOfGeneric; + return eachOfImplementation(coll, (0, _wrapAsync2.default)(iteratee), callback); +} + +exports.default = (0, _awaitify2.default)(eachOf, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/forEachOfLimit.js b/node_modules/winston/node_modules/async/forEachOfLimit.js new file mode 100644 index 0000000..a596e5a --- /dev/null +++ b/node_modules/winston/node_modules/async/forEachOfLimit.js @@ -0,0 +1,47 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _eachOfLimit2 = require('./internal/eachOfLimit.js'); + +var _eachOfLimit3 = _interopRequireDefault(_eachOfLimit2); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`eachOf`]{@link module:Collections.eachOf} but runs a maximum of `limit` async operations at a + * time. + * + * @name eachOfLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.eachOf]{@link module:Collections.eachOf} + * @alias forEachOfLimit + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async function to apply to each + * item in `coll`. The `key` is the item's key, or index in the case of an + * array. + * Invoked with (item, key, callback). + * @param {Function} [callback] - A callback which is called when all + * `iteratee` functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + */ +function eachOfLimit(coll, limit, iteratee, callback) { + return (0, _eachOfLimit3.default)(limit)(coll, (0, _wrapAsync2.default)(iteratee), callback); +} + +exports.default = (0, _awaitify2.default)(eachOfLimit, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/forEachOfSeries.js b/node_modules/winston/node_modules/async/forEachOfSeries.js new file mode 100644 index 0000000..04243ad --- /dev/null +++ b/node_modules/winston/node_modules/async/forEachOfSeries.js @@ -0,0 +1,39 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _eachOfLimit = require('./eachOfLimit.js'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`eachOf`]{@link module:Collections.eachOf} but runs only a single async operation at a time. + * + * @name eachOfSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.eachOf]{@link module:Collections.eachOf} + * @alias forEachOfSeries + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * Invoked with (item, key, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + */ +function eachOfSeries(coll, iteratee, callback) { + return (0, _eachOfLimit2.default)(coll, 1, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(eachOfSeries, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/forEachSeries.js b/node_modules/winston/node_modules/async/forEachSeries.js new file mode 100644 index 0000000..b04896e --- /dev/null +++ b/node_modules/winston/node_modules/async/forEachSeries.js @@ -0,0 +1,44 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _eachLimit = require('./eachLimit.js'); + +var _eachLimit2 = _interopRequireDefault(_eachLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`each`]{@link module:Collections.each} but runs only a single async operation at a time. + * + * Note, that unlike [`each`]{@link module:Collections.each}, this function applies iteratee to each item + * in series and therefore the iteratee functions will complete in order. + + * @name eachSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.each]{@link module:Collections.each} + * @alias forEachSeries + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each + * item in `coll`. + * The array index is not passed to the iteratee. + * If you need the index, use `eachOfSeries`. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called when all + * `iteratee` functions have finished, or an error occurs. Invoked with (err). + * @returns {Promise} a promise, if a callback is omitted + */ +function eachSeries(coll, iteratee, callback) { + return (0, _eachLimit2.default)(coll, 1, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(eachSeries, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/forever.js b/node_modules/winston/node_modules/async/forever.js new file mode 100644 index 0000000..2292518 --- /dev/null +++ b/node_modules/winston/node_modules/async/forever.js @@ -0,0 +1,68 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _onlyOnce = require('./internal/onlyOnce.js'); + +var _onlyOnce2 = _interopRequireDefault(_onlyOnce); + +var _ensureAsync = require('./ensureAsync.js'); + +var _ensureAsync2 = _interopRequireDefault(_ensureAsync); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Calls the asynchronous function `fn` with a callback parameter that allows it + * to call itself again, in series, indefinitely. + + * If an error is passed to the callback then `errback` is called with the + * error, and execution stops, otherwise it will never be called. + * + * @name forever + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {AsyncFunction} fn - an async function to call repeatedly. + * Invoked with (next). + * @param {Function} [errback] - when `fn` passes an error to it's callback, + * this function will be called, and execution stops. Invoked with (err). + * @returns {Promise} a promise that rejects if an error occurs and an errback + * is not passed + * @example + * + * async.forever( + * function(next) { + * // next is suitable for passing to things that need a callback(err [, whatever]); + * // it will result in this function being called again. + * }, + * function(err) { + * // if next is called with a value in its first parameter, it will appear + * // in here as 'err', and execution will stop. + * } + * ); + */ +function forever(fn, errback) { + var done = (0, _onlyOnce2.default)(errback); + var task = (0, _wrapAsync2.default)((0, _ensureAsync2.default)(fn)); + + function next(err) { + if (err) return done(err); + if (err === false) return; + task(next); + } + return next(); +} +exports.default = (0, _awaitify2.default)(forever, 2); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/groupBy.js b/node_modules/winston/node_modules/async/groupBy.js new file mode 100644 index 0000000..f295763 --- /dev/null +++ b/node_modules/winston/node_modules/async/groupBy.js @@ -0,0 +1,108 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = groupBy; + +var _groupByLimit = require('./groupByLimit.js'); + +var _groupByLimit2 = _interopRequireDefault(_groupByLimit); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Returns a new object, where each value corresponds to an array of items, from + * `coll`, that returned the corresponding key. That is, the keys of the object + * correspond to the values passed to the `iteratee` callback. + * + * Note: Since this function applies the `iteratee` to each item in parallel, + * there is no guarantee that the `iteratee` functions will complete in order. + * However, the values for each key in the `result` will be in the same order as + * the original `coll`. For Objects, the values will roughly be in the order of + * the original Objects' keys (but this can vary across JavaScript engines). + * + * @name groupBy + * @static + * @memberOf module:Collections + * @method + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with a `key` to group the value under. + * Invoked with (value, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Result is an `Object` whoses + * properties are arrays of values which returned the corresponding key. + * @returns {Promise} a promise, if no callback is passed + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * // dir4 does not exist + * + * const files = ['dir1/file1.txt','dir2','dir4'] + * + * // asynchronous function that detects file type as none, file, or directory + * function detectFile(file, callback) { + * fs.stat(file, function(err, stat) { + * if (err) { + * return callback(null, 'none'); + * } + * callback(null, stat.isDirectory() ? 'directory' : 'file'); + * }); + * } + * + * //Using callbacks + * async.groupBy(files, detectFile, function(err, result) { + * if(err) { + * console.log(err); + * } else { + * console.log(result); + * // { + * // file: [ 'dir1/file1.txt' ], + * // none: [ 'dir4' ], + * // directory: [ 'dir2'] + * // } + * // result is object containing the files grouped by type + * } + * }); + * + * // Using Promises + * async.groupBy(files, detectFile) + * .then( result => { + * console.log(result); + * // { + * // file: [ 'dir1/file1.txt' ], + * // none: [ 'dir4' ], + * // directory: [ 'dir2'] + * // } + * // result is object containing the files grouped by type + * }).catch( err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.groupBy(files, detectFile); + * console.log(result); + * // { + * // file: [ 'dir1/file1.txt' ], + * // none: [ 'dir4' ], + * // directory: [ 'dir2'] + * // } + * // result is object containing the files grouped by type + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function groupBy(coll, iteratee, callback) { + return (0, _groupByLimit2.default)(coll, Infinity, iteratee, callback); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/groupByLimit.js b/node_modules/winston/node_modules/async/groupByLimit.js new file mode 100644 index 0000000..30fd290 --- /dev/null +++ b/node_modules/winston/node_modules/async/groupByLimit.js @@ -0,0 +1,71 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _mapLimit = require('./mapLimit.js'); + +var _mapLimit2 = _interopRequireDefault(_mapLimit); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`groupBy`]{@link module:Collections.groupBy} but runs a maximum of `limit` async operations at a time. + * + * @name groupByLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.groupBy]{@link module:Collections.groupBy} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with a `key` to group the value under. + * Invoked with (value, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Result is an `Object` whoses + * properties are arrays of values which returned the corresponding key. + * @returns {Promise} a promise, if no callback is passed + */ +function groupByLimit(coll, limit, iteratee, callback) { + var _iteratee = (0, _wrapAsync2.default)(iteratee); + return (0, _mapLimit2.default)(coll, limit, (val, iterCb) => { + _iteratee(val, (err, key) => { + if (err) return iterCb(err); + return iterCb(err, { key, val }); + }); + }, (err, mapResults) => { + var result = {}; + // from MDN, handle object having an `hasOwnProperty` prop + var { hasOwnProperty } = Object.prototype; + + for (var i = 0; i < mapResults.length; i++) { + if (mapResults[i]) { + var { key } = mapResults[i]; + var { val } = mapResults[i]; + + if (hasOwnProperty.call(result, key)) { + result[key].push(val); + } else { + result[key] = [val]; + } + } + } + + return callback(err, result); + }); +} + +exports.default = (0, _awaitify2.default)(groupByLimit, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/groupBySeries.js b/node_modules/winston/node_modules/async/groupBySeries.js new file mode 100644 index 0000000..e2a5287 --- /dev/null +++ b/node_modules/winston/node_modules/async/groupBySeries.js @@ -0,0 +1,36 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = groupBySeries; + +var _groupByLimit = require('./groupByLimit.js'); + +var _groupByLimit2 = _interopRequireDefault(_groupByLimit); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`groupBy`]{@link module:Collections.groupBy} but runs only a single async operation at a time. + * + * @name groupBySeries + * @static + * @memberOf module:Collections + * @method + * @see [async.groupBy]{@link module:Collections.groupBy} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with a `key` to group the value under. + * Invoked with (value, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Result is an `Object` whose + * properties are arrays of values which returned the corresponding key. + * @returns {Promise} a promise, if no callback is passed + */ +function groupBySeries(coll, iteratee, callback) { + return (0, _groupByLimit2.default)(coll, 1, iteratee, callback); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/index.js b/node_modules/winston/node_modules/async/index.js new file mode 100644 index 0000000..6154647 --- /dev/null +++ b/node_modules/winston/node_modules/async/index.js @@ -0,0 +1,588 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.doDuring = exports.during = exports.wrapSync = undefined; +exports.selectSeries = exports.selectLimit = exports.select = exports.foldr = exports.foldl = exports.inject = exports.forEachOfLimit = exports.forEachOfSeries = exports.forEachOf = exports.forEachLimit = exports.forEachSeries = exports.forEach = exports.flatMapSeries = exports.flatMapLimit = exports.flatMap = exports.findSeries = exports.findLimit = exports.find = exports.anySeries = exports.anyLimit = exports.any = exports.allSeries = exports.allLimit = exports.all = exports.whilst = exports.waterfall = exports.until = exports.unmemoize = exports.tryEach = exports.transform = exports.timesSeries = exports.timesLimit = exports.times = exports.timeout = exports.sortBy = exports.someSeries = exports.someLimit = exports.some = exports.setImmediate = exports.series = exports.seq = exports.retryable = exports.retry = exports.rejectSeries = exports.rejectLimit = exports.reject = exports.reflectAll = exports.reflect = exports.reduceRight = exports.reduce = exports.race = exports.queue = exports.priorityQueue = exports.parallelLimit = exports.parallel = exports.nextTick = exports.memoize = exports.mapValuesSeries = exports.mapValuesLimit = exports.mapValues = exports.mapSeries = exports.mapLimit = exports.map = exports.log = exports.groupBySeries = exports.groupByLimit = exports.groupBy = exports.forever = exports.filterSeries = exports.filterLimit = exports.filter = exports.everySeries = exports.everyLimit = exports.every = exports.ensureAsync = exports.eachSeries = exports.eachOfSeries = exports.eachOfLimit = exports.eachOf = exports.eachLimit = exports.each = exports.doWhilst = exports.doUntil = exports.dir = exports.detectSeries = exports.detectLimit = exports.detect = exports.constant = exports.concatSeries = exports.concatLimit = exports.concat = exports.compose = exports.cargoQueue = exports.cargo = exports.autoInject = exports.auto = exports.asyncify = exports.applyEachSeries = exports.applyEach = exports.apply = undefined; + +var _apply = require('./apply'); + +var _apply2 = _interopRequireDefault(_apply); + +var _applyEach = require('./applyEach'); + +var _applyEach2 = _interopRequireDefault(_applyEach); + +var _applyEachSeries = require('./applyEachSeries'); + +var _applyEachSeries2 = _interopRequireDefault(_applyEachSeries); + +var _asyncify = require('./asyncify'); + +var _asyncify2 = _interopRequireDefault(_asyncify); + +var _auto = require('./auto'); + +var _auto2 = _interopRequireDefault(_auto); + +var _autoInject = require('./autoInject'); + +var _autoInject2 = _interopRequireDefault(_autoInject); + +var _cargo = require('./cargo'); + +var _cargo2 = _interopRequireDefault(_cargo); + +var _cargoQueue = require('./cargoQueue'); + +var _cargoQueue2 = _interopRequireDefault(_cargoQueue); + +var _compose = require('./compose'); + +var _compose2 = _interopRequireDefault(_compose); + +var _concat = require('./concat'); + +var _concat2 = _interopRequireDefault(_concat); + +var _concatLimit = require('./concatLimit'); + +var _concatLimit2 = _interopRequireDefault(_concatLimit); + +var _concatSeries = require('./concatSeries'); + +var _concatSeries2 = _interopRequireDefault(_concatSeries); + +var _constant = require('./constant'); + +var _constant2 = _interopRequireDefault(_constant); + +var _detect = require('./detect'); + +var _detect2 = _interopRequireDefault(_detect); + +var _detectLimit = require('./detectLimit'); + +var _detectLimit2 = _interopRequireDefault(_detectLimit); + +var _detectSeries = require('./detectSeries'); + +var _detectSeries2 = _interopRequireDefault(_detectSeries); + +var _dir = require('./dir'); + +var _dir2 = _interopRequireDefault(_dir); + +var _doUntil = require('./doUntil'); + +var _doUntil2 = _interopRequireDefault(_doUntil); + +var _doWhilst = require('./doWhilst'); + +var _doWhilst2 = _interopRequireDefault(_doWhilst); + +var _each = require('./each'); + +var _each2 = _interopRequireDefault(_each); + +var _eachLimit = require('./eachLimit'); + +var _eachLimit2 = _interopRequireDefault(_eachLimit); + +var _eachOf = require('./eachOf'); + +var _eachOf2 = _interopRequireDefault(_eachOf); + +var _eachOfLimit = require('./eachOfLimit'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _eachOfSeries = require('./eachOfSeries'); + +var _eachOfSeries2 = _interopRequireDefault(_eachOfSeries); + +var _eachSeries = require('./eachSeries'); + +var _eachSeries2 = _interopRequireDefault(_eachSeries); + +var _ensureAsync = require('./ensureAsync'); + +var _ensureAsync2 = _interopRequireDefault(_ensureAsync); + +var _every = require('./every'); + +var _every2 = _interopRequireDefault(_every); + +var _everyLimit = require('./everyLimit'); + +var _everyLimit2 = _interopRequireDefault(_everyLimit); + +var _everySeries = require('./everySeries'); + +var _everySeries2 = _interopRequireDefault(_everySeries); + +var _filter = require('./filter'); + +var _filter2 = _interopRequireDefault(_filter); + +var _filterLimit = require('./filterLimit'); + +var _filterLimit2 = _interopRequireDefault(_filterLimit); + +var _filterSeries = require('./filterSeries'); + +var _filterSeries2 = _interopRequireDefault(_filterSeries); + +var _forever = require('./forever'); + +var _forever2 = _interopRequireDefault(_forever); + +var _groupBy = require('./groupBy'); + +var _groupBy2 = _interopRequireDefault(_groupBy); + +var _groupByLimit = require('./groupByLimit'); + +var _groupByLimit2 = _interopRequireDefault(_groupByLimit); + +var _groupBySeries = require('./groupBySeries'); + +var _groupBySeries2 = _interopRequireDefault(_groupBySeries); + +var _log = require('./log'); + +var _log2 = _interopRequireDefault(_log); + +var _map = require('./map'); + +var _map2 = _interopRequireDefault(_map); + +var _mapLimit = require('./mapLimit'); + +var _mapLimit2 = _interopRequireDefault(_mapLimit); + +var _mapSeries = require('./mapSeries'); + +var _mapSeries2 = _interopRequireDefault(_mapSeries); + +var _mapValues = require('./mapValues'); + +var _mapValues2 = _interopRequireDefault(_mapValues); + +var _mapValuesLimit = require('./mapValuesLimit'); + +var _mapValuesLimit2 = _interopRequireDefault(_mapValuesLimit); + +var _mapValuesSeries = require('./mapValuesSeries'); + +var _mapValuesSeries2 = _interopRequireDefault(_mapValuesSeries); + +var _memoize = require('./memoize'); + +var _memoize2 = _interopRequireDefault(_memoize); + +var _nextTick = require('./nextTick'); + +var _nextTick2 = _interopRequireDefault(_nextTick); + +var _parallel = require('./parallel'); + +var _parallel2 = _interopRequireDefault(_parallel); + +var _parallelLimit = require('./parallelLimit'); + +var _parallelLimit2 = _interopRequireDefault(_parallelLimit); + +var _priorityQueue = require('./priorityQueue'); + +var _priorityQueue2 = _interopRequireDefault(_priorityQueue); + +var _queue = require('./queue'); + +var _queue2 = _interopRequireDefault(_queue); + +var _race = require('./race'); + +var _race2 = _interopRequireDefault(_race); + +var _reduce = require('./reduce'); + +var _reduce2 = _interopRequireDefault(_reduce); + +var _reduceRight = require('./reduceRight'); + +var _reduceRight2 = _interopRequireDefault(_reduceRight); + +var _reflect = require('./reflect'); + +var _reflect2 = _interopRequireDefault(_reflect); + +var _reflectAll = require('./reflectAll'); + +var _reflectAll2 = _interopRequireDefault(_reflectAll); + +var _reject = require('./reject'); + +var _reject2 = _interopRequireDefault(_reject); + +var _rejectLimit = require('./rejectLimit'); + +var _rejectLimit2 = _interopRequireDefault(_rejectLimit); + +var _rejectSeries = require('./rejectSeries'); + +var _rejectSeries2 = _interopRequireDefault(_rejectSeries); + +var _retry = require('./retry'); + +var _retry2 = _interopRequireDefault(_retry); + +var _retryable = require('./retryable'); + +var _retryable2 = _interopRequireDefault(_retryable); + +var _seq = require('./seq'); + +var _seq2 = _interopRequireDefault(_seq); + +var _series = require('./series'); + +var _series2 = _interopRequireDefault(_series); + +var _setImmediate = require('./setImmediate'); + +var _setImmediate2 = _interopRequireDefault(_setImmediate); + +var _some = require('./some'); + +var _some2 = _interopRequireDefault(_some); + +var _someLimit = require('./someLimit'); + +var _someLimit2 = _interopRequireDefault(_someLimit); + +var _someSeries = require('./someSeries'); + +var _someSeries2 = _interopRequireDefault(_someSeries); + +var _sortBy = require('./sortBy'); + +var _sortBy2 = _interopRequireDefault(_sortBy); + +var _timeout = require('./timeout'); + +var _timeout2 = _interopRequireDefault(_timeout); + +var _times = require('./times'); + +var _times2 = _interopRequireDefault(_times); + +var _timesLimit = require('./timesLimit'); + +var _timesLimit2 = _interopRequireDefault(_timesLimit); + +var _timesSeries = require('./timesSeries'); + +var _timesSeries2 = _interopRequireDefault(_timesSeries); + +var _transform = require('./transform'); + +var _transform2 = _interopRequireDefault(_transform); + +var _tryEach = require('./tryEach'); + +var _tryEach2 = _interopRequireDefault(_tryEach); + +var _unmemoize = require('./unmemoize'); + +var _unmemoize2 = _interopRequireDefault(_unmemoize); + +var _until = require('./until'); + +var _until2 = _interopRequireDefault(_until); + +var _waterfall = require('./waterfall'); + +var _waterfall2 = _interopRequireDefault(_waterfall); + +var _whilst = require('./whilst'); + +var _whilst2 = _interopRequireDefault(_whilst); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * An "async function" in the context of Async is an asynchronous function with + * a variable number of parameters, with the final parameter being a callback. + * (`function (arg1, arg2, ..., callback) {}`) + * The final callback is of the form `callback(err, results...)`, which must be + * called once the function is completed. The callback should be called with a + * Error as its first argument to signal that an error occurred. + * Otherwise, if no error occurred, it should be called with `null` as the first + * argument, and any additional `result` arguments that may apply, to signal + * successful completion. + * The callback must be called exactly once, ideally on a later tick of the + * JavaScript event loop. + * + * This type of function is also referred to as a "Node-style async function", + * or a "continuation passing-style function" (CPS). Most of the methods of this + * library are themselves CPS/Node-style async functions, or functions that + * return CPS/Node-style async functions. + * + * Wherever we accept a Node-style async function, we also directly accept an + * [ES2017 `async` function]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function}. + * In this case, the `async` function will not be passed a final callback + * argument, and any thrown error will be used as the `err` argument of the + * implicit callback, and the return value will be used as the `result` value. + * (i.e. a `rejected` of the returned Promise becomes the `err` callback + * argument, and a `resolved` value becomes the `result`.) + * + * Note, due to JavaScript limitations, we can only detect native `async` + * functions and not transpilied implementations. + * Your environment must have `async`/`await` support for this to work. + * (e.g. Node > v7.6, or a recent version of a modern browser). + * If you are using `async` functions through a transpiler (e.g. Babel), you + * must still wrap the function with [asyncify]{@link module:Utils.asyncify}, + * because the `async function` will be compiled to an ordinary function that + * returns a promise. + * + * @typedef {Function} AsyncFunction + * @static + */ + +/** + * Async is a utility module which provides straight-forward, powerful functions + * for working with asynchronous JavaScript. Although originally designed for + * use with [Node.js](http://nodejs.org) and installable via + * `npm install --save async`, it can also be used directly in the browser. + * @module async + * @see AsyncFunction + */ + +/** + * A collection of `async` functions for manipulating collections, such as + * arrays and objects. + * @module Collections + */ + +/** + * A collection of `async` functions for controlling the flow through a script. + * @module ControlFlow + */ + +/** + * A collection of `async` utility functions. + * @module Utils + */ + +exports.default = { + apply: _apply2.default, + applyEach: _applyEach2.default, + applyEachSeries: _applyEachSeries2.default, + asyncify: _asyncify2.default, + auto: _auto2.default, + autoInject: _autoInject2.default, + cargo: _cargo2.default, + cargoQueue: _cargoQueue2.default, + compose: _compose2.default, + concat: _concat2.default, + concatLimit: _concatLimit2.default, + concatSeries: _concatSeries2.default, + constant: _constant2.default, + detect: _detect2.default, + detectLimit: _detectLimit2.default, + detectSeries: _detectSeries2.default, + dir: _dir2.default, + doUntil: _doUntil2.default, + doWhilst: _doWhilst2.default, + each: _each2.default, + eachLimit: _eachLimit2.default, + eachOf: _eachOf2.default, + eachOfLimit: _eachOfLimit2.default, + eachOfSeries: _eachOfSeries2.default, + eachSeries: _eachSeries2.default, + ensureAsync: _ensureAsync2.default, + every: _every2.default, + everyLimit: _everyLimit2.default, + everySeries: _everySeries2.default, + filter: _filter2.default, + filterLimit: _filterLimit2.default, + filterSeries: _filterSeries2.default, + forever: _forever2.default, + groupBy: _groupBy2.default, + groupByLimit: _groupByLimit2.default, + groupBySeries: _groupBySeries2.default, + log: _log2.default, + map: _map2.default, + mapLimit: _mapLimit2.default, + mapSeries: _mapSeries2.default, + mapValues: _mapValues2.default, + mapValuesLimit: _mapValuesLimit2.default, + mapValuesSeries: _mapValuesSeries2.default, + memoize: _memoize2.default, + nextTick: _nextTick2.default, + parallel: _parallel2.default, + parallelLimit: _parallelLimit2.default, + priorityQueue: _priorityQueue2.default, + queue: _queue2.default, + race: _race2.default, + reduce: _reduce2.default, + reduceRight: _reduceRight2.default, + reflect: _reflect2.default, + reflectAll: _reflectAll2.default, + reject: _reject2.default, + rejectLimit: _rejectLimit2.default, + rejectSeries: _rejectSeries2.default, + retry: _retry2.default, + retryable: _retryable2.default, + seq: _seq2.default, + series: _series2.default, + setImmediate: _setImmediate2.default, + some: _some2.default, + someLimit: _someLimit2.default, + someSeries: _someSeries2.default, + sortBy: _sortBy2.default, + timeout: _timeout2.default, + times: _times2.default, + timesLimit: _timesLimit2.default, + timesSeries: _timesSeries2.default, + transform: _transform2.default, + tryEach: _tryEach2.default, + unmemoize: _unmemoize2.default, + until: _until2.default, + waterfall: _waterfall2.default, + whilst: _whilst2.default, + + // aliases + all: _every2.default, + allLimit: _everyLimit2.default, + allSeries: _everySeries2.default, + any: _some2.default, + anyLimit: _someLimit2.default, + anySeries: _someSeries2.default, + find: _detect2.default, + findLimit: _detectLimit2.default, + findSeries: _detectSeries2.default, + flatMap: _concat2.default, + flatMapLimit: _concatLimit2.default, + flatMapSeries: _concatSeries2.default, + forEach: _each2.default, + forEachSeries: _eachSeries2.default, + forEachLimit: _eachLimit2.default, + forEachOf: _eachOf2.default, + forEachOfSeries: _eachOfSeries2.default, + forEachOfLimit: _eachOfLimit2.default, + inject: _reduce2.default, + foldl: _reduce2.default, + foldr: _reduceRight2.default, + select: _filter2.default, + selectLimit: _filterLimit2.default, + selectSeries: _filterSeries2.default, + wrapSync: _asyncify2.default, + during: _whilst2.default, + doDuring: _doWhilst2.default +}; +exports.apply = _apply2.default; +exports.applyEach = _applyEach2.default; +exports.applyEachSeries = _applyEachSeries2.default; +exports.asyncify = _asyncify2.default; +exports.auto = _auto2.default; +exports.autoInject = _autoInject2.default; +exports.cargo = _cargo2.default; +exports.cargoQueue = _cargoQueue2.default; +exports.compose = _compose2.default; +exports.concat = _concat2.default; +exports.concatLimit = _concatLimit2.default; +exports.concatSeries = _concatSeries2.default; +exports.constant = _constant2.default; +exports.detect = _detect2.default; +exports.detectLimit = _detectLimit2.default; +exports.detectSeries = _detectSeries2.default; +exports.dir = _dir2.default; +exports.doUntil = _doUntil2.default; +exports.doWhilst = _doWhilst2.default; +exports.each = _each2.default; +exports.eachLimit = _eachLimit2.default; +exports.eachOf = _eachOf2.default; +exports.eachOfLimit = _eachOfLimit2.default; +exports.eachOfSeries = _eachOfSeries2.default; +exports.eachSeries = _eachSeries2.default; +exports.ensureAsync = _ensureAsync2.default; +exports.every = _every2.default; +exports.everyLimit = _everyLimit2.default; +exports.everySeries = _everySeries2.default; +exports.filter = _filter2.default; +exports.filterLimit = _filterLimit2.default; +exports.filterSeries = _filterSeries2.default; +exports.forever = _forever2.default; +exports.groupBy = _groupBy2.default; +exports.groupByLimit = _groupByLimit2.default; +exports.groupBySeries = _groupBySeries2.default; +exports.log = _log2.default; +exports.map = _map2.default; +exports.mapLimit = _mapLimit2.default; +exports.mapSeries = _mapSeries2.default; +exports.mapValues = _mapValues2.default; +exports.mapValuesLimit = _mapValuesLimit2.default; +exports.mapValuesSeries = _mapValuesSeries2.default; +exports.memoize = _memoize2.default; +exports.nextTick = _nextTick2.default; +exports.parallel = _parallel2.default; +exports.parallelLimit = _parallelLimit2.default; +exports.priorityQueue = _priorityQueue2.default; +exports.queue = _queue2.default; +exports.race = _race2.default; +exports.reduce = _reduce2.default; +exports.reduceRight = _reduceRight2.default; +exports.reflect = _reflect2.default; +exports.reflectAll = _reflectAll2.default; +exports.reject = _reject2.default; +exports.rejectLimit = _rejectLimit2.default; +exports.rejectSeries = _rejectSeries2.default; +exports.retry = _retry2.default; +exports.retryable = _retryable2.default; +exports.seq = _seq2.default; +exports.series = _series2.default; +exports.setImmediate = _setImmediate2.default; +exports.some = _some2.default; +exports.someLimit = _someLimit2.default; +exports.someSeries = _someSeries2.default; +exports.sortBy = _sortBy2.default; +exports.timeout = _timeout2.default; +exports.times = _times2.default; +exports.timesLimit = _timesLimit2.default; +exports.timesSeries = _timesSeries2.default; +exports.transform = _transform2.default; +exports.tryEach = _tryEach2.default; +exports.unmemoize = _unmemoize2.default; +exports.until = _until2.default; +exports.waterfall = _waterfall2.default; +exports.whilst = _whilst2.default; +exports.all = _every2.default; +exports.allLimit = _everyLimit2.default; +exports.allSeries = _everySeries2.default; +exports.any = _some2.default; +exports.anyLimit = _someLimit2.default; +exports.anySeries = _someSeries2.default; +exports.find = _detect2.default; +exports.findLimit = _detectLimit2.default; +exports.findSeries = _detectSeries2.default; +exports.flatMap = _concat2.default; +exports.flatMapLimit = _concatLimit2.default; +exports.flatMapSeries = _concatSeries2.default; +exports.forEach = _each2.default; +exports.forEachSeries = _eachSeries2.default; +exports.forEachLimit = _eachLimit2.default; +exports.forEachOf = _eachOf2.default; +exports.forEachOfSeries = _eachOfSeries2.default; +exports.forEachOfLimit = _eachOfLimit2.default; +exports.inject = _reduce2.default; +exports.foldl = _reduce2.default; +exports.foldr = _reduceRight2.default; +exports.select = _filter2.default; +exports.selectLimit = _filterLimit2.default; +exports.selectSeries = _filterSeries2.default; +exports.wrapSync = _asyncify2.default; +exports.during = _whilst2.default; +exports.doDuring = _doWhilst2.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/inject.js b/node_modules/winston/node_modules/async/inject.js new file mode 100644 index 0000000..8a69548 --- /dev/null +++ b/node_modules/winston/node_modules/async/inject.js @@ -0,0 +1,153 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _eachOfSeries = require('./eachOfSeries.js'); + +var _eachOfSeries2 = _interopRequireDefault(_eachOfSeries); + +var _once = require('./internal/once.js'); + +var _once2 = _interopRequireDefault(_once); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Reduces `coll` into a single value using an async `iteratee` to return each + * successive step. `memo` is the initial state of the reduction. This function + * only operates in series. + * + * For performance reasons, it may make sense to split a call to this function + * into a parallel map, and then use the normal `Array.prototype.reduce` on the + * results. This function is for situations where each step in the reduction + * needs to be async; if you can get the data before reducing it, then it's + * probably a good idea to do so. + * + * @name reduce + * @static + * @memberOf module:Collections + * @method + * @alias inject + * @alias foldl + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {*} memo - The initial state of the reduction. + * @param {AsyncFunction} iteratee - A function applied to each item in the + * array to produce the next step in the reduction. + * The `iteratee` should complete with the next state of the reduction. + * If the iteratee completes with an error, the reduction is stopped and the + * main `callback` is immediately called with the error. + * Invoked with (memo, item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result is the reduced value. Invoked with + * (err, result). + * @returns {Promise} a promise, if no callback is passed + * @example + * + * // file1.txt is a file that is 1000 bytes in size + * // file2.txt is a file that is 2000 bytes in size + * // file3.txt is a file that is 3000 bytes in size + * // file4.txt does not exist + * + * const fileList = ['file1.txt','file2.txt','file3.txt']; + * const withMissingFileList = ['file1.txt','file2.txt','file3.txt', 'file4.txt']; + * + * // asynchronous function that computes the file size in bytes + * // file size is added to the memoized value, then returned + * function getFileSizeInBytes(memo, file, callback) { + * fs.stat(file, function(err, stat) { + * if (err) { + * return callback(err); + * } + * callback(null, memo + stat.size); + * }); + * } + * + * // Using callbacks + * async.reduce(fileList, 0, getFileSizeInBytes, function(err, result) { + * if (err) { + * console.log(err); + * } else { + * console.log(result); + * // 6000 + * // which is the sum of the file sizes of the three files + * } + * }); + * + * // Error Handling + * async.reduce(withMissingFileList, 0, getFileSizeInBytes, function(err, result) { + * if (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } else { + * console.log(result); + * } + * }); + * + * // Using Promises + * async.reduce(fileList, 0, getFileSizeInBytes) + * .then( result => { + * console.log(result); + * // 6000 + * // which is the sum of the file sizes of the three files + * }).catch( err => { + * console.log(err); + * }); + * + * // Error Handling + * async.reduce(withMissingFileList, 0, getFileSizeInBytes) + * .then( result => { + * console.log(result); + * }).catch( err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.reduce(fileList, 0, getFileSizeInBytes); + * console.log(result); + * // 6000 + * // which is the sum of the file sizes of the three files + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // Error Handling + * async () => { + * try { + * let result = await async.reduce(withMissingFileList, 0, getFileSizeInBytes); + * console.log(result); + * } + * catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } + * } + * + */ +function reduce(coll, memo, iteratee, callback) { + callback = (0, _once2.default)(callback); + var _iteratee = (0, _wrapAsync2.default)(iteratee); + return (0, _eachOfSeries2.default)(coll, (x, i, iterCb) => { + _iteratee(memo, x, (err, v) => { + memo = v; + iterCb(err); + }); + }, err => callback(err, memo)); +} +exports.default = (0, _awaitify2.default)(reduce, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/DoublyLinkedList.js b/node_modules/winston/node_modules/async/internal/DoublyLinkedList.js new file mode 100644 index 0000000..419ce44 --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/DoublyLinkedList.js @@ -0,0 +1,92 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +// Simple doubly linked list (https://en.wikipedia.org/wiki/Doubly_linked_list) implementation +// used for queues. This implementation assumes that the node provided by the user can be modified +// to adjust the next and last properties. We implement only the minimal functionality +// for queue support. +class DLL { + constructor() { + this.head = this.tail = null; + this.length = 0; + } + + removeLink(node) { + if (node.prev) node.prev.next = node.next;else this.head = node.next; + if (node.next) node.next.prev = node.prev;else this.tail = node.prev; + + node.prev = node.next = null; + this.length -= 1; + return node; + } + + empty() { + while (this.head) this.shift(); + return this; + } + + insertAfter(node, newNode) { + newNode.prev = node; + newNode.next = node.next; + if (node.next) node.next.prev = newNode;else this.tail = newNode; + node.next = newNode; + this.length += 1; + } + + insertBefore(node, newNode) { + newNode.prev = node.prev; + newNode.next = node; + if (node.prev) node.prev.next = newNode;else this.head = newNode; + node.prev = newNode; + this.length += 1; + } + + unshift(node) { + if (this.head) this.insertBefore(this.head, node);else setInitial(this, node); + } + + push(node) { + if (this.tail) this.insertAfter(this.tail, node);else setInitial(this, node); + } + + shift() { + return this.head && this.removeLink(this.head); + } + + pop() { + return this.tail && this.removeLink(this.tail); + } + + toArray() { + return [...this]; + } + + *[Symbol.iterator]() { + var cur = this.head; + while (cur) { + yield cur.data; + cur = cur.next; + } + } + + remove(testFn) { + var curr = this.head; + while (curr) { + var { next } = curr; + if (testFn(curr)) { + this.removeLink(curr); + } + curr = next; + } + return this; + } +} + +exports.default = DLL; +function setInitial(dll, node) { + dll.length = 1; + dll.head = dll.tail = node; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/Heap.js b/node_modules/winston/node_modules/async/internal/Heap.js new file mode 100644 index 0000000..7867c92 --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/Heap.js @@ -0,0 +1,120 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +// Binary min-heap implementation used for priority queue. +// Implementation is stable, i.e. push time is considered for equal priorities +class Heap { + constructor() { + this.heap = []; + this.pushCount = Number.MIN_SAFE_INTEGER; + } + + get length() { + return this.heap.length; + } + + empty() { + this.heap = []; + return this; + } + + percUp(index) { + let p; + + while (index > 0 && smaller(this.heap[index], this.heap[p = parent(index)])) { + let t = this.heap[index]; + this.heap[index] = this.heap[p]; + this.heap[p] = t; + + index = p; + } + } + + percDown(index) { + let l; + + while ((l = leftChi(index)) < this.heap.length) { + if (l + 1 < this.heap.length && smaller(this.heap[l + 1], this.heap[l])) { + l = l + 1; + } + + if (smaller(this.heap[index], this.heap[l])) { + break; + } + + let t = this.heap[index]; + this.heap[index] = this.heap[l]; + this.heap[l] = t; + + index = l; + } + } + + push(node) { + node.pushCount = ++this.pushCount; + this.heap.push(node); + this.percUp(this.heap.length - 1); + } + + unshift(node) { + return this.heap.push(node); + } + + shift() { + let [top] = this.heap; + + this.heap[0] = this.heap[this.heap.length - 1]; + this.heap.pop(); + this.percDown(0); + + return top; + } + + toArray() { + return [...this]; + } + + *[Symbol.iterator]() { + for (let i = 0; i < this.heap.length; i++) { + yield this.heap[i].data; + } + } + + remove(testFn) { + let j = 0; + for (let i = 0; i < this.heap.length; i++) { + if (!testFn(this.heap[i])) { + this.heap[j] = this.heap[i]; + j++; + } + } + + this.heap.splice(j); + + for (let i = parent(this.heap.length - 1); i >= 0; i--) { + this.percDown(i); + } + + return this; + } +} + +exports.default = Heap; +function leftChi(i) { + return (i << 1) + 1; +} + +function parent(i) { + return (i + 1 >> 1) - 1; +} + +function smaller(x, y) { + if (x.priority !== y.priority) { + return x.priority < y.priority; + } else { + return x.pushCount < y.pushCount; + } +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/applyEach.js b/node_modules/winston/node_modules/async/internal/applyEach.js new file mode 100644 index 0000000..5444912 --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/applyEach.js @@ -0,0 +1,29 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +exports.default = function (eachfn) { + return function applyEach(fns, ...callArgs) { + const go = (0, _awaitify2.default)(function (callback) { + var that = this; + return eachfn(fns, (fn, cb) => { + (0, _wrapAsync2.default)(fn).apply(that, callArgs.concat(cb)); + }, callback); + }); + return go; + }; +}; + +var _wrapAsync = require('./wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/asyncEachOfLimit.js b/node_modules/winston/node_modules/async/internal/asyncEachOfLimit.js new file mode 100644 index 0000000..34dd82b --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/asyncEachOfLimit.js @@ -0,0 +1,75 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = asyncEachOfLimit; + +var _breakLoop = require('./breakLoop.js'); + +var _breakLoop2 = _interopRequireDefault(_breakLoop); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +// for async generators +function asyncEachOfLimit(generator, limit, iteratee, callback) { + let done = false; + let canceled = false; + let awaiting = false; + let running = 0; + let idx = 0; + + function replenish() { + //console.log('replenish') + if (running >= limit || awaiting || done) return; + //console.log('replenish awaiting') + awaiting = true; + generator.next().then(({ value, done: iterDone }) => { + //console.log('got value', value) + if (canceled || done) return; + awaiting = false; + if (iterDone) { + done = true; + if (running <= 0) { + //console.log('done nextCb') + callback(null); + } + return; + } + running++; + iteratee(value, idx, iterateeCallback); + idx++; + replenish(); + }).catch(handleError); + } + + function iterateeCallback(err, result) { + //console.log('iterateeCallback') + running -= 1; + if (canceled) return; + if (err) return handleError(err); + + if (err === false) { + done = true; + canceled = true; + return; + } + + if (result === _breakLoop2.default || done && running <= 0) { + done = true; + //console.log('done iterCb') + return callback(null); + } + replenish(); + } + + function handleError(err) { + if (canceled) return; + awaiting = false; + done = true; + callback(err); + } + + replenish(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/awaitify.js b/node_modules/winston/node_modules/async/internal/awaitify.js new file mode 100644 index 0000000..bb7a609 --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/awaitify.js @@ -0,0 +1,28 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = awaitify; +// conditionally promisify a function. +// only return a promise if a callback is omitted +function awaitify(asyncFn, arity) { + if (!arity) arity = asyncFn.length; + if (!arity) throw new Error('arity is undefined'); + function awaitable(...args) { + if (typeof args[arity - 1] === 'function') { + return asyncFn.apply(this, args); + } + + return new Promise((resolve, reject) => { + args[arity - 1] = (err, ...cbArgs) => { + if (err) return reject(err); + resolve(cbArgs.length > 1 ? cbArgs : cbArgs[0]); + }; + asyncFn.apply(this, args); + }); + } + + return awaitable; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/breakLoop.js b/node_modules/winston/node_modules/async/internal/breakLoop.js new file mode 100644 index 0000000..87413dd --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/breakLoop.js @@ -0,0 +1,10 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +// A temporary value used to identify if the loop should be broken. +// See #1064, #1293 +const breakLoop = {}; +exports.default = breakLoop; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/consoleFunc.js b/node_modules/winston/node_modules/async/internal/consoleFunc.js new file mode 100644 index 0000000..748d54b --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/consoleFunc.js @@ -0,0 +1,31 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = consoleFunc; + +var _wrapAsync = require('./wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function consoleFunc(name) { + return (fn, ...args) => (0, _wrapAsync2.default)(fn)(...args, (err, ...resultArgs) => { + /* istanbul ignore else */ + if (typeof console === 'object') { + /* istanbul ignore else */ + if (err) { + /* istanbul ignore else */ + if (console.error) { + console.error(err); + } + } else if (console[name]) { + /* istanbul ignore else */ + resultArgs.forEach(x => console[name](x)); + } + } + }); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/createTester.js b/node_modules/winston/node_modules/async/internal/createTester.js new file mode 100644 index 0000000..cafdf62 --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/createTester.js @@ -0,0 +1,40 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = _createTester; + +var _breakLoop = require('./breakLoop.js'); + +var _breakLoop2 = _interopRequireDefault(_breakLoop); + +var _wrapAsync = require('./wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _createTester(check, getResult) { + return (eachfn, arr, _iteratee, cb) => { + var testPassed = false; + var testResult; + const iteratee = (0, _wrapAsync2.default)(_iteratee); + eachfn(arr, (value, _, callback) => { + iteratee(value, (err, result) => { + if (err || err === false) return callback(err); + + if (check(result) && !testResult) { + testPassed = true; + testResult = getResult(true, value); + return callback(null, _breakLoop2.default); + } + callback(); + }); + }, err => { + if (err) return cb(err); + cb(null, testPassed ? testResult : getResult(false)); + }); + }; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/eachOfLimit.js b/node_modules/winston/node_modules/async/internal/eachOfLimit.js new file mode 100644 index 0000000..ceed60f --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/eachOfLimit.js @@ -0,0 +1,90 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _once = require('./once.js'); + +var _once2 = _interopRequireDefault(_once); + +var _iterator = require('./iterator.js'); + +var _iterator2 = _interopRequireDefault(_iterator); + +var _onlyOnce = require('./onlyOnce.js'); + +var _onlyOnce2 = _interopRequireDefault(_onlyOnce); + +var _wrapAsync = require('./wrapAsync.js'); + +var _asyncEachOfLimit = require('./asyncEachOfLimit.js'); + +var _asyncEachOfLimit2 = _interopRequireDefault(_asyncEachOfLimit); + +var _breakLoop = require('./breakLoop.js'); + +var _breakLoop2 = _interopRequireDefault(_breakLoop); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +exports.default = limit => { + return (obj, iteratee, callback) => { + callback = (0, _once2.default)(callback); + if (limit <= 0) { + throw new RangeError('concurrency limit cannot be less than 1'); + } + if (!obj) { + return callback(null); + } + if ((0, _wrapAsync.isAsyncGenerator)(obj)) { + return (0, _asyncEachOfLimit2.default)(obj, limit, iteratee, callback); + } + if ((0, _wrapAsync.isAsyncIterable)(obj)) { + return (0, _asyncEachOfLimit2.default)(obj[Symbol.asyncIterator](), limit, iteratee, callback); + } + var nextElem = (0, _iterator2.default)(obj); + var done = false; + var canceled = false; + var running = 0; + var looping = false; + + function iterateeCallback(err, value) { + if (canceled) return; + running -= 1; + if (err) { + done = true; + callback(err); + } else if (err === false) { + done = true; + canceled = true; + } else if (value === _breakLoop2.default || done && running <= 0) { + done = true; + return callback(null); + } else if (!looping) { + replenish(); + } + } + + function replenish() { + looping = true; + while (running < limit && !done) { + var elem = nextElem(); + if (elem === null) { + done = true; + if (running <= 0) { + callback(null); + } + return; + } + running += 1; + iteratee(elem.value, elem.key, (0, _onlyOnce2.default)(iterateeCallback)); + } + looping = false; + } + + replenish(); + }; +}; + +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/filter.js b/node_modules/winston/node_modules/async/internal/filter.js new file mode 100644 index 0000000..065c211 --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/filter.js @@ -0,0 +1,55 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = _filter; + +var _isArrayLike = require('./isArrayLike.js'); + +var _isArrayLike2 = _interopRequireDefault(_isArrayLike); + +var _wrapAsync = require('./wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function filterArray(eachfn, arr, iteratee, callback) { + var truthValues = new Array(arr.length); + eachfn(arr, (x, index, iterCb) => { + iteratee(x, (err, v) => { + truthValues[index] = !!v; + iterCb(err); + }); + }, err => { + if (err) return callback(err); + var results = []; + for (var i = 0; i < arr.length; i++) { + if (truthValues[i]) results.push(arr[i]); + } + callback(null, results); + }); +} + +function filterGeneric(eachfn, coll, iteratee, callback) { + var results = []; + eachfn(coll, (x, index, iterCb) => { + iteratee(x, (err, v) => { + if (err) return iterCb(err); + if (v) { + results.push({ index, value: x }); + } + iterCb(err); + }); + }, err => { + if (err) return callback(err); + callback(null, results.sort((a, b) => a.index - b.index).map(v => v.value)); + }); +} + +function _filter(eachfn, coll, iteratee, callback) { + var filter = (0, _isArrayLike2.default)(coll) ? filterArray : filterGeneric; + return filter(eachfn, coll, (0, _wrapAsync2.default)(iteratee), callback); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/getIterator.js b/node_modules/winston/node_modules/async/internal/getIterator.js new file mode 100644 index 0000000..f518fce --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/getIterator.js @@ -0,0 +1,11 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +exports.default = function (coll) { + return coll[Symbol.iterator] && coll[Symbol.iterator](); +}; + +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/initialParams.js b/node_modules/winston/node_modules/async/internal/initialParams.js new file mode 100644 index 0000000..04c0eff --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/initialParams.js @@ -0,0 +1,14 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +exports.default = function (fn) { + return function (...args /*, callback*/) { + var callback = args.pop(); + return fn.call(this, args, callback); + }; +}; + +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/isArrayLike.js b/node_modules/winston/node_modules/async/internal/isArrayLike.js new file mode 100644 index 0000000..a4c4c8a --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/isArrayLike.js @@ -0,0 +1,10 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isArrayLike; +function isArrayLike(value) { + return value && typeof value.length === 'number' && value.length >= 0 && value.length % 1 === 0; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/iterator.js b/node_modules/winston/node_modules/async/internal/iterator.js new file mode 100644 index 0000000..5778b1e --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/iterator.js @@ -0,0 +1,57 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = createIterator; + +var _isArrayLike = require('./isArrayLike.js'); + +var _isArrayLike2 = _interopRequireDefault(_isArrayLike); + +var _getIterator = require('./getIterator.js'); + +var _getIterator2 = _interopRequireDefault(_getIterator); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function createArrayIterator(coll) { + var i = -1; + var len = coll.length; + return function next() { + return ++i < len ? { value: coll[i], key: i } : null; + }; +} + +function createES2015Iterator(iterator) { + var i = -1; + return function next() { + var item = iterator.next(); + if (item.done) return null; + i++; + return { value: item.value, key: i }; + }; +} + +function createObjectIterator(obj) { + var okeys = obj ? Object.keys(obj) : []; + var i = -1; + var len = okeys.length; + return function next() { + var key = okeys[++i]; + if (key === '__proto__') { + return next(); + } + return i < len ? { value: obj[key], key } : null; + }; +} + +function createIterator(coll) { + if ((0, _isArrayLike2.default)(coll)) { + return createArrayIterator(coll); + } + + var iterator = (0, _getIterator2.default)(coll); + return iterator ? createES2015Iterator(iterator) : createObjectIterator(coll); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/map.js b/node_modules/winston/node_modules/async/internal/map.js new file mode 100644 index 0000000..acab1e7 --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/map.js @@ -0,0 +1,30 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = _asyncMap; + +var _wrapAsync = require('./wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _asyncMap(eachfn, arr, iteratee, callback) { + arr = arr || []; + var results = []; + var counter = 0; + var _iteratee = (0, _wrapAsync2.default)(iteratee); + + return eachfn(arr, (value, _, iterCb) => { + var index = counter++; + _iteratee(value, (err, v) => { + results[index] = v; + iterCb(err); + }); + }, err => { + callback(err, results); + }); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/once.js b/node_modules/winston/node_modules/async/internal/once.js new file mode 100644 index 0000000..a8b5792 --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/once.js @@ -0,0 +1,17 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = once; +function once(fn) { + function wrapper(...args) { + if (fn === null) return; + var callFn = fn; + fn = null; + callFn.apply(this, args); + } + Object.assign(wrapper, fn); + return wrapper; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/onlyOnce.js b/node_modules/winston/node_modules/async/internal/onlyOnce.js new file mode 100644 index 0000000..c95a92d --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/onlyOnce.js @@ -0,0 +1,15 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = onlyOnce; +function onlyOnce(fn) { + return function (...args) { + if (fn === null) throw new Error("Callback was already called."); + var callFn = fn; + fn = null; + callFn.apply(this, args); + }; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/parallel.js b/node_modules/winston/node_modules/async/internal/parallel.js new file mode 100644 index 0000000..57fbd0d --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/parallel.js @@ -0,0 +1,34 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _isArrayLike = require('./isArrayLike.js'); + +var _isArrayLike2 = _interopRequireDefault(_isArrayLike); + +var _wrapAsync = require('./wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +exports.default = (0, _awaitify2.default)((eachfn, tasks, callback) => { + var results = (0, _isArrayLike2.default)(tasks) ? [] : {}; + + eachfn(tasks, (task, key, taskCb) => { + (0, _wrapAsync2.default)(task)((err, ...result) => { + if (result.length < 2) { + [result] = result; + } + results[key] = result; + taskCb(err); + }); + }, err => callback(err, results)); +}, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/promiseCallback.js b/node_modules/winston/node_modules/async/internal/promiseCallback.js new file mode 100644 index 0000000..17a8301 --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/promiseCallback.js @@ -0,0 +1,23 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +const PROMISE_SYMBOL = Symbol('promiseCallback'); + +function promiseCallback() { + let resolve, reject; + function callback(err, ...args) { + if (err) return reject(err); + resolve(args.length > 1 ? args : args[0]); + } + + callback[PROMISE_SYMBOL] = new Promise((res, rej) => { + resolve = res, reject = rej; + }); + + return callback; +} + +exports.promiseCallback = promiseCallback; +exports.PROMISE_SYMBOL = PROMISE_SYMBOL; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/queue.js b/node_modules/winston/node_modules/async/internal/queue.js new file mode 100644 index 0000000..7414e03 --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/queue.js @@ -0,0 +1,294 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = queue; + +var _onlyOnce = require('./onlyOnce.js'); + +var _onlyOnce2 = _interopRequireDefault(_onlyOnce); + +var _setImmediate = require('./setImmediate.js'); + +var _setImmediate2 = _interopRequireDefault(_setImmediate); + +var _DoublyLinkedList = require('./DoublyLinkedList.js'); + +var _DoublyLinkedList2 = _interopRequireDefault(_DoublyLinkedList); + +var _wrapAsync = require('./wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function queue(worker, concurrency, payload) { + if (concurrency == null) { + concurrency = 1; + } else if (concurrency === 0) { + throw new RangeError('Concurrency must not be zero'); + } + + var _worker = (0, _wrapAsync2.default)(worker); + var numRunning = 0; + var workersList = []; + const events = { + error: [], + drain: [], + saturated: [], + unsaturated: [], + empty: [] + }; + + function on(event, handler) { + events[event].push(handler); + } + + function once(event, handler) { + const handleAndRemove = (...args) => { + off(event, handleAndRemove); + handler(...args); + }; + events[event].push(handleAndRemove); + } + + function off(event, handler) { + if (!event) return Object.keys(events).forEach(ev => events[ev] = []); + if (!handler) return events[event] = []; + events[event] = events[event].filter(ev => ev !== handler); + } + + function trigger(event, ...args) { + events[event].forEach(handler => handler(...args)); + } + + var processingScheduled = false; + function _insert(data, insertAtFront, rejectOnError, callback) { + if (callback != null && typeof callback !== 'function') { + throw new Error('task callback must be a function'); + } + q.started = true; + + var res, rej; + function promiseCallback(err, ...args) { + // we don't care about the error, let the global error handler + // deal with it + if (err) return rejectOnError ? rej(err) : res(); + if (args.length <= 1) return res(args[0]); + res(args); + } + + var item = q._createTaskItem(data, rejectOnError ? promiseCallback : callback || promiseCallback); + + if (insertAtFront) { + q._tasks.unshift(item); + } else { + q._tasks.push(item); + } + + if (!processingScheduled) { + processingScheduled = true; + (0, _setImmediate2.default)(() => { + processingScheduled = false; + q.process(); + }); + } + + if (rejectOnError || !callback) { + return new Promise((resolve, reject) => { + res = resolve; + rej = reject; + }); + } + } + + function _createCB(tasks) { + return function (err, ...args) { + numRunning -= 1; + + for (var i = 0, l = tasks.length; i < l; i++) { + var task = tasks[i]; + + var index = workersList.indexOf(task); + if (index === 0) { + workersList.shift(); + } else if (index > 0) { + workersList.splice(index, 1); + } + + task.callback(err, ...args); + + if (err != null) { + trigger('error', err, task.data); + } + } + + if (numRunning <= q.concurrency - q.buffer) { + trigger('unsaturated'); + } + + if (q.idle()) { + trigger('drain'); + } + q.process(); + }; + } + + function _maybeDrain(data) { + if (data.length === 0 && q.idle()) { + // call drain immediately if there are no tasks + (0, _setImmediate2.default)(() => trigger('drain')); + return true; + } + return false; + } + + const eventMethod = name => handler => { + if (!handler) { + return new Promise((resolve, reject) => { + once(name, (err, data) => { + if (err) return reject(err); + resolve(data); + }); + }); + } + off(name); + on(name, handler); + }; + + var isProcessing = false; + var q = { + _tasks: new _DoublyLinkedList2.default(), + _createTaskItem(data, callback) { + return { + data, + callback + }; + }, + *[Symbol.iterator]() { + yield* q._tasks[Symbol.iterator](); + }, + concurrency, + payload, + buffer: concurrency / 4, + started: false, + paused: false, + push(data, callback) { + if (Array.isArray(data)) { + if (_maybeDrain(data)) return; + return data.map(datum => _insert(datum, false, false, callback)); + } + return _insert(data, false, false, callback); + }, + pushAsync(data, callback) { + if (Array.isArray(data)) { + if (_maybeDrain(data)) return; + return data.map(datum => _insert(datum, false, true, callback)); + } + return _insert(data, false, true, callback); + }, + kill() { + off(); + q._tasks.empty(); + }, + unshift(data, callback) { + if (Array.isArray(data)) { + if (_maybeDrain(data)) return; + return data.map(datum => _insert(datum, true, false, callback)); + } + return _insert(data, true, false, callback); + }, + unshiftAsync(data, callback) { + if (Array.isArray(data)) { + if (_maybeDrain(data)) return; + return data.map(datum => _insert(datum, true, true, callback)); + } + return _insert(data, true, true, callback); + }, + remove(testFn) { + q._tasks.remove(testFn); + }, + process() { + // Avoid trying to start too many processing operations. This can occur + // when callbacks resolve synchronously (#1267). + if (isProcessing) { + return; + } + isProcessing = true; + while (!q.paused && numRunning < q.concurrency && q._tasks.length) { + var tasks = [], + data = []; + var l = q._tasks.length; + if (q.payload) l = Math.min(l, q.payload); + for (var i = 0; i < l; i++) { + var node = q._tasks.shift(); + tasks.push(node); + workersList.push(node); + data.push(node.data); + } + + numRunning += 1; + + if (q._tasks.length === 0) { + trigger('empty'); + } + + if (numRunning === q.concurrency) { + trigger('saturated'); + } + + var cb = (0, _onlyOnce2.default)(_createCB(tasks)); + _worker(data, cb); + } + isProcessing = false; + }, + length() { + return q._tasks.length; + }, + running() { + return numRunning; + }, + workersList() { + return workersList; + }, + idle() { + return q._tasks.length + numRunning === 0; + }, + pause() { + q.paused = true; + }, + resume() { + if (q.paused === false) { + return; + } + q.paused = false; + (0, _setImmediate2.default)(q.process); + } + }; + // define these as fixed properties, so people get useful errors when updating + Object.defineProperties(q, { + saturated: { + writable: false, + value: eventMethod('saturated') + }, + unsaturated: { + writable: false, + value: eventMethod('unsaturated') + }, + empty: { + writable: false, + value: eventMethod('empty') + }, + drain: { + writable: false, + value: eventMethod('drain') + }, + error: { + writable: false, + value: eventMethod('error') + } + }); + return q; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/range.js b/node_modules/winston/node_modules/async/internal/range.js new file mode 100644 index 0000000..cc7b3a9 --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/range.js @@ -0,0 +1,14 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = range; +function range(size) { + var result = Array(size); + while (size--) { + result[size] = size; + } + return result; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/reject.js b/node_modules/winston/node_modules/async/internal/reject.js new file mode 100644 index 0000000..9d9bc80 --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/reject.js @@ -0,0 +1,26 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = reject; + +var _filter = require('./filter.js'); + +var _filter2 = _interopRequireDefault(_filter); + +var _wrapAsync = require('./wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function reject(eachfn, arr, _iteratee, callback) { + const iteratee = (0, _wrapAsync2.default)(_iteratee); + return (0, _filter2.default)(eachfn, arr, (value, cb) => { + iteratee(value, (err, v) => { + cb(err, !v); + }); + }, callback); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/setImmediate.js b/node_modules/winston/node_modules/async/internal/setImmediate.js new file mode 100644 index 0000000..513efd1 --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/setImmediate.js @@ -0,0 +1,34 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.fallback = fallback; +exports.wrap = wrap; +/* istanbul ignore file */ + +var hasQueueMicrotask = exports.hasQueueMicrotask = typeof queueMicrotask === 'function' && queueMicrotask; +var hasSetImmediate = exports.hasSetImmediate = typeof setImmediate === 'function' && setImmediate; +var hasNextTick = exports.hasNextTick = typeof process === 'object' && typeof process.nextTick === 'function'; + +function fallback(fn) { + setTimeout(fn, 0); +} + +function wrap(defer) { + return (fn, ...args) => defer(() => fn(...args)); +} + +var _defer; + +if (hasQueueMicrotask) { + _defer = queueMicrotask; +} else if (hasSetImmediate) { + _defer = setImmediate; +} else if (hasNextTick) { + _defer = process.nextTick; +} else { + _defer = fallback; +} + +exports.default = wrap(_defer); \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/withoutIndex.js b/node_modules/winston/node_modules/async/internal/withoutIndex.js new file mode 100644 index 0000000..fa91c2d --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/withoutIndex.js @@ -0,0 +1,10 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = _withoutIndex; +function _withoutIndex(iteratee) { + return (value, index, callback) => iteratee(value, callback); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/internal/wrapAsync.js b/node_modules/winston/node_modules/async/internal/wrapAsync.js new file mode 100644 index 0000000..ad4d619 --- /dev/null +++ b/node_modules/winston/node_modules/async/internal/wrapAsync.js @@ -0,0 +1,34 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.isAsyncIterable = exports.isAsyncGenerator = exports.isAsync = undefined; + +var _asyncify = require('../asyncify.js'); + +var _asyncify2 = _interopRequireDefault(_asyncify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function isAsync(fn) { + return fn[Symbol.toStringTag] === 'AsyncFunction'; +} + +function isAsyncGenerator(fn) { + return fn[Symbol.toStringTag] === 'AsyncGenerator'; +} + +function isAsyncIterable(obj) { + return typeof obj[Symbol.asyncIterator] === 'function'; +} + +function wrapAsync(asyncFn) { + if (typeof asyncFn !== 'function') throw new Error('expected a function'); + return isAsync(asyncFn) ? (0, _asyncify2.default)(asyncFn) : asyncFn; +} + +exports.default = wrapAsync; +exports.isAsync = isAsync; +exports.isAsyncGenerator = isAsyncGenerator; +exports.isAsyncIterable = isAsyncIterable; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/log.js b/node_modules/winston/node_modules/async/log.js new file mode 100644 index 0000000..332b9da --- /dev/null +++ b/node_modules/winston/node_modules/async/log.js @@ -0,0 +1,41 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _consoleFunc = require('./internal/consoleFunc.js'); + +var _consoleFunc2 = _interopRequireDefault(_consoleFunc); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Logs the result of an `async` function to the `console`. Only works in + * Node.js or in browsers that support `console.log` and `console.error` (such + * as FF and Chrome). If multiple arguments are returned from the async + * function, `console.log` is called on each argument in order. + * + * @name log + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {AsyncFunction} function - The function you want to eventually apply + * all arguments to. + * @param {...*} arguments... - Any number of arguments to apply to the function. + * @example + * + * // in a module + * var hello = function(name, callback) { + * setTimeout(function() { + * callback(null, 'hello ' + name); + * }, 1000); + * }; + * + * // in the node repl + * node> async.log(hello, 'world'); + * 'hello world' + */ +exports.default = (0, _consoleFunc2.default)('log'); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/map.js b/node_modules/winston/node_modules/async/map.js new file mode 100644 index 0000000..c4b7a5a --- /dev/null +++ b/node_modules/winston/node_modules/async/map.js @@ -0,0 +1,142 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _map2 = require('./internal/map.js'); + +var _map3 = _interopRequireDefault(_map2); + +var _eachOf = require('./eachOf.js'); + +var _eachOf2 = _interopRequireDefault(_eachOf); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Produces a new collection of values by mapping each value in `coll` through + * the `iteratee` function. The `iteratee` is called with an item from `coll` + * and a callback for when it has finished processing. Each of these callbacks + * takes 2 arguments: an `error`, and the transformed item from `coll`. If + * `iteratee` passes an error to its callback, the main `callback` (for the + * `map` function) is immediately called with the error. + * + * Note, that since this function applies the `iteratee` to each item in + * parallel, there is no guarantee that the `iteratee` functions will complete + * in order. However, the results array will be in the same order as the + * original `coll`. + * + * If `map` is passed an Object, the results will be an Array. The results + * will roughly be in the order of the original Objects' keys (but this can + * vary across JavaScript engines). + * + * @name map + * @static + * @memberOf module:Collections + * @method + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with the transformed item. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Results is an Array of the + * transformed items from the `coll`. Invoked with (err, results). + * @returns {Promise} a promise, if no callback is passed + * @example + * + * // file1.txt is a file that is 1000 bytes in size + * // file2.txt is a file that is 2000 bytes in size + * // file3.txt is a file that is 3000 bytes in size + * // file4.txt does not exist + * + * const fileList = ['file1.txt','file2.txt','file3.txt']; + * const withMissingFileList = ['file1.txt','file2.txt','file4.txt']; + * + * // asynchronous function that returns the file size in bytes + * function getFileSizeInBytes(file, callback) { + * fs.stat(file, function(err, stat) { + * if (err) { + * return callback(err); + * } + * callback(null, stat.size); + * }); + * } + * + * // Using callbacks + * async.map(fileList, getFileSizeInBytes, function(err, results) { + * if (err) { + * console.log(err); + * } else { + * console.log(results); + * // results is now an array of the file size in bytes for each file, e.g. + * // [ 1000, 2000, 3000] + * } + * }); + * + * // Error Handling + * async.map(withMissingFileList, getFileSizeInBytes, function(err, results) { + * if (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } else { + * console.log(results); + * } + * }); + * + * // Using Promises + * async.map(fileList, getFileSizeInBytes) + * .then( results => { + * console.log(results); + * // results is now an array of the file size in bytes for each file, e.g. + * // [ 1000, 2000, 3000] + * }).catch( err => { + * console.log(err); + * }); + * + * // Error Handling + * async.map(withMissingFileList, getFileSizeInBytes) + * .then( results => { + * console.log(results); + * }).catch( err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * }); + * + * // Using async/await + * async () => { + * try { + * let results = await async.map(fileList, getFileSizeInBytes); + * console.log(results); + * // results is now an array of the file size in bytes for each file, e.g. + * // [ 1000, 2000, 3000] + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // Error Handling + * async () => { + * try { + * let results = await async.map(withMissingFileList, getFileSizeInBytes); + * console.log(results); + * } + * catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } + * } + * + */ +function map(coll, iteratee, callback) { + return (0, _map3.default)(_eachOf2.default, coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(map, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/mapLimit.js b/node_modules/winston/node_modules/async/mapLimit.js new file mode 100644 index 0000000..6ad3572 --- /dev/null +++ b/node_modules/winston/node_modules/async/mapLimit.js @@ -0,0 +1,45 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _map2 = require('./internal/map.js'); + +var _map3 = _interopRequireDefault(_map2); + +var _eachOfLimit = require('./internal/eachOfLimit.js'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`map`]{@link module:Collections.map} but runs a maximum of `limit` async operations at a time. + * + * @name mapLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.map]{@link module:Collections.map} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with the transformed item. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Results is an array of the + * transformed items from the `coll`. Invoked with (err, results). + * @returns {Promise} a promise, if no callback is passed + */ +function mapLimit(coll, limit, iteratee, callback) { + return (0, _map3.default)((0, _eachOfLimit2.default)(limit), coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(mapLimit, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/mapSeries.js b/node_modules/winston/node_modules/async/mapSeries.js new file mode 100644 index 0000000..8dfdd8a --- /dev/null +++ b/node_modules/winston/node_modules/async/mapSeries.js @@ -0,0 +1,44 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _map2 = require('./internal/map.js'); + +var _map3 = _interopRequireDefault(_map2); + +var _eachOfSeries = require('./eachOfSeries.js'); + +var _eachOfSeries2 = _interopRequireDefault(_eachOfSeries); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`map`]{@link module:Collections.map} but runs only a single async operation at a time. + * + * @name mapSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.map]{@link module:Collections.map} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with the transformed item. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. Results is an array of the + * transformed items from the `coll`. Invoked with (err, results). + * @returns {Promise} a promise, if no callback is passed + */ +function mapSeries(coll, iteratee, callback) { + return (0, _map3.default)(_eachOfSeries2.default, coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(mapSeries, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/mapValues.js b/node_modules/winston/node_modules/async/mapValues.js new file mode 100644 index 0000000..3d0470e --- /dev/null +++ b/node_modules/winston/node_modules/async/mapValues.js @@ -0,0 +1,152 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = mapValues; + +var _mapValuesLimit = require('./mapValuesLimit.js'); + +var _mapValuesLimit2 = _interopRequireDefault(_mapValuesLimit); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * A relative of [`map`]{@link module:Collections.map}, designed for use with objects. + * + * Produces a new Object by mapping each value of `obj` through the `iteratee` + * function. The `iteratee` is called each `value` and `key` from `obj` and a + * callback for when it has finished processing. Each of these callbacks takes + * two arguments: an `error`, and the transformed item from `obj`. If `iteratee` + * passes an error to its callback, the main `callback` (for the `mapValues` + * function) is immediately called with the error. + * + * Note, the order of the keys in the result is not guaranteed. The keys will + * be roughly in the order they complete, (but this is very engine-specific) + * + * @name mapValues + * @static + * @memberOf module:Collections + * @method + * @category Collection + * @param {Object} obj - A collection to iterate over. + * @param {AsyncFunction} iteratee - A function to apply to each value and key + * in `coll`. + * The iteratee should complete with the transformed value as its result. + * Invoked with (value, key, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. `result` is a new object consisting + * of each key from `obj`, with each transformed value on the right-hand side. + * Invoked with (err, result). + * @returns {Promise} a promise, if no callback is passed + * @example + * + * // file1.txt is a file that is 1000 bytes in size + * // file2.txt is a file that is 2000 bytes in size + * // file3.txt is a file that is 3000 bytes in size + * // file4.txt does not exist + * + * const fileMap = { + * f1: 'file1.txt', + * f2: 'file2.txt', + * f3: 'file3.txt' + * }; + * + * const withMissingFileMap = { + * f1: 'file1.txt', + * f2: 'file2.txt', + * f3: 'file4.txt' + * }; + * + * // asynchronous function that returns the file size in bytes + * function getFileSizeInBytes(file, key, callback) { + * fs.stat(file, function(err, stat) { + * if (err) { + * return callback(err); + * } + * callback(null, stat.size); + * }); + * } + * + * // Using callbacks + * async.mapValues(fileMap, getFileSizeInBytes, function(err, result) { + * if (err) { + * console.log(err); + * } else { + * console.log(result); + * // result is now a map of file size in bytes for each file, e.g. + * // { + * // f1: 1000, + * // f2: 2000, + * // f3: 3000 + * // } + * } + * }); + * + * // Error handling + * async.mapValues(withMissingFileMap, getFileSizeInBytes, function(err, result) { + * if (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } else { + * console.log(result); + * } + * }); + * + * // Using Promises + * async.mapValues(fileMap, getFileSizeInBytes) + * .then( result => { + * console.log(result); + * // result is now a map of file size in bytes for each file, e.g. + * // { + * // f1: 1000, + * // f2: 2000, + * // f3: 3000 + * // } + * }).catch (err => { + * console.log(err); + * }); + * + * // Error Handling + * async.mapValues(withMissingFileMap, getFileSizeInBytes) + * .then( result => { + * console.log(result); + * }).catch (err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.mapValues(fileMap, getFileSizeInBytes); + * console.log(result); + * // result is now a map of file size in bytes for each file, e.g. + * // { + * // f1: 1000, + * // f2: 2000, + * // f3: 3000 + * // } + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // Error Handling + * async () => { + * try { + * let result = await async.mapValues(withMissingFileMap, getFileSizeInBytes); + * console.log(result); + * } + * catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } + * } + * + */ +function mapValues(obj, iteratee, callback) { + return (0, _mapValuesLimit2.default)(obj, Infinity, iteratee, callback); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/mapValuesLimit.js b/node_modules/winston/node_modules/async/mapValuesLimit.js new file mode 100644 index 0000000..f59e36f --- /dev/null +++ b/node_modules/winston/node_modules/async/mapValuesLimit.js @@ -0,0 +1,61 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _eachOfLimit = require('./internal/eachOfLimit.js'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +var _once = require('./internal/once.js'); + +var _once2 = _interopRequireDefault(_once); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`mapValues`]{@link module:Collections.mapValues} but runs a maximum of `limit` async operations at a + * time. + * + * @name mapValuesLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.mapValues]{@link module:Collections.mapValues} + * @category Collection + * @param {Object} obj - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - A function to apply to each value and key + * in `coll`. + * The iteratee should complete with the transformed value as its result. + * Invoked with (value, key, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. `result` is a new object consisting + * of each key from `obj`, with each transformed value on the right-hand side. + * Invoked with (err, result). + * @returns {Promise} a promise, if no callback is passed + */ +function mapValuesLimit(obj, limit, iteratee, callback) { + callback = (0, _once2.default)(callback); + var newObj = {}; + var _iteratee = (0, _wrapAsync2.default)(iteratee); + return (0, _eachOfLimit2.default)(limit)(obj, (val, key, next) => { + _iteratee(val, key, (err, result) => { + if (err) return next(err); + newObj[key] = result; + next(err); + }); + }, err => callback(err, newObj)); +} + +exports.default = (0, _awaitify2.default)(mapValuesLimit, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/mapValuesSeries.js b/node_modules/winston/node_modules/async/mapValuesSeries.js new file mode 100644 index 0000000..5f05bf2 --- /dev/null +++ b/node_modules/winston/node_modules/async/mapValuesSeries.js @@ -0,0 +1,37 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = mapValuesSeries; + +var _mapValuesLimit = require('./mapValuesLimit.js'); + +var _mapValuesLimit2 = _interopRequireDefault(_mapValuesLimit); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`mapValues`]{@link module:Collections.mapValues} but runs only a single async operation at a time. + * + * @name mapValuesSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.mapValues]{@link module:Collections.mapValues} + * @category Collection + * @param {Object} obj - A collection to iterate over. + * @param {AsyncFunction} iteratee - A function to apply to each value and key + * in `coll`. + * The iteratee should complete with the transformed value as its result. + * Invoked with (value, key, callback). + * @param {Function} [callback] - A callback which is called when all `iteratee` + * functions have finished, or an error occurs. `result` is a new object consisting + * of each key from `obj`, with each transformed value on the right-hand side. + * Invoked with (err, result). + * @returns {Promise} a promise, if no callback is passed + */ +function mapValuesSeries(obj, iteratee, callback) { + return (0, _mapValuesLimit2.default)(obj, 1, iteratee, callback); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/memoize.js b/node_modules/winston/node_modules/async/memoize.js new file mode 100644 index 0000000..6535d4e --- /dev/null +++ b/node_modules/winston/node_modules/async/memoize.js @@ -0,0 +1,91 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = memoize; + +var _setImmediate = require('./internal/setImmediate.js'); + +var _setImmediate2 = _interopRequireDefault(_setImmediate); + +var _initialParams = require('./internal/initialParams.js'); + +var _initialParams2 = _interopRequireDefault(_initialParams); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Caches the results of an async function. When creating a hash to store + * function results against, the callback is omitted from the hash and an + * optional hash function can be used. + * + * **Note: if the async function errs, the result will not be cached and + * subsequent calls will call the wrapped function.** + * + * If no hash function is specified, the first argument is used as a hash key, + * which may work reasonably if it is a string or a data type that converts to a + * distinct string. Note that objects and arrays will not behave reasonably. + * Neither will cases where the other arguments are significant. In such cases, + * specify your own hash function. + * + * The cache of results is exposed as the `memo` property of the function + * returned by `memoize`. + * + * @name memoize + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {AsyncFunction} fn - The async function to proxy and cache results from. + * @param {Function} hasher - An optional function for generating a custom hash + * for storing results. It has all the arguments applied to it apart from the + * callback, and must be synchronous. + * @returns {AsyncFunction} a memoized version of `fn` + * @example + * + * var slow_fn = function(name, callback) { + * // do something + * callback(null, result); + * }; + * var fn = async.memoize(slow_fn); + * + * // fn can now be used as if it were slow_fn + * fn('some name', function() { + * // callback + * }); + */ +function memoize(fn, hasher = v => v) { + var memo = Object.create(null); + var queues = Object.create(null); + var _fn = (0, _wrapAsync2.default)(fn); + var memoized = (0, _initialParams2.default)((args, callback) => { + var key = hasher(...args); + if (key in memo) { + (0, _setImmediate2.default)(() => callback(null, ...memo[key])); + } else if (key in queues) { + queues[key].push(callback); + } else { + queues[key] = [callback]; + _fn(...args, (err, ...resultArgs) => { + // #1465 don't memoize if an error occurred + if (!err) { + memo[key] = resultArgs; + } + var q = queues[key]; + delete queues[key]; + for (var i = 0, l = q.length; i < l; i++) { + q[i](err, ...resultArgs); + } + }); + } + }); + memoized.memo = memo; + memoized.unmemoized = fn; + return memoized; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/nextTick.js b/node_modules/winston/node_modules/async/nextTick.js new file mode 100644 index 0000000..8ebfda9 --- /dev/null +++ b/node_modules/winston/node_modules/async/nextTick.js @@ -0,0 +1,52 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _setImmediate = require('./internal/setImmediate.js'); + +/** + * Calls `callback` on a later loop around the event loop. In Node.js this just + * calls `process.nextTick`. In the browser it will use `setImmediate` if + * available, otherwise `setTimeout(callback, 0)`, which means other higher + * priority events may precede the execution of `callback`. + * + * This is used internally for browser-compatibility purposes. + * + * @name nextTick + * @static + * @memberOf module:Utils + * @method + * @see [async.setImmediate]{@link module:Utils.setImmediate} + * @category Util + * @param {Function} callback - The function to call on a later loop around + * the event loop. Invoked with (args...). + * @param {...*} args... - any number of additional arguments to pass to the + * callback on the next tick. + * @example + * + * var call_order = []; + * async.nextTick(function() { + * call_order.push('two'); + * // call_order now equals ['one','two'] + * }); + * call_order.push('one'); + * + * async.setImmediate(function (a, b, c) { + * // a, b, and c equal 1, 2, and 3 + * }, 1, 2, 3); + */ +var _defer; /* istanbul ignore file */ + + +if (_setImmediate.hasNextTick) { + _defer = process.nextTick; +} else if (_setImmediate.hasSetImmediate) { + _defer = setImmediate; +} else { + _defer = _setImmediate.fallback; +} + +exports.default = (0, _setImmediate.wrap)(_defer); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/package.json b/node_modules/winston/node_modules/async/package.json new file mode 100644 index 0000000..bcf4c41 --- /dev/null +++ b/node_modules/winston/node_modules/async/package.json @@ -0,0 +1,75 @@ +{ + "name": "async", + "description": "Higher-order functions and common patterns for asynchronous code", + "version": "3.2.6", + "main": "dist/async.js", + "author": "Caolan McMahon", + "homepage": "https://caolan.github.io/async/", + "repository": { + "type": "git", + "url": "https://github.com/caolan/async.git" + }, + "bugs": { + "url": "https://github.com/caolan/async/issues" + }, + "keywords": [ + "async", + "callback", + "module", + "utility" + ], + "devDependencies": { + "@babel/eslint-parser": "^7.16.5", + "@babel/core": "7.25.2", + "babel-minify": "^0.5.0", + "babel-plugin-add-module-exports": "^1.0.4", + "babel-plugin-istanbul": "^7.0.0", + "babel-plugin-syntax-async-generators": "^6.13.0", + "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2", + "babel-preset-es2015": "^6.3.13", + "babel-preset-es2017": "^6.22.0", + "babel-register": "^6.26.0", + "babelify": "^10.0.0", + "benchmark": "^2.1.1", + "bluebird": "^3.4.6", + "browserify": "^17.0.0", + "chai": "^4.2.0", + "cheerio": "^0.22.0", + "es6-promise": "^4.2.8", + "eslint": "^8.6.0", + "eslint-plugin-prefer-arrow": "^1.2.3", + "fs-extra": "^11.1.1", + "jsdoc": "^4.0.3", + "karma": "^6.3.12", + "karma-browserify": "^8.1.0", + "karma-firefox-launcher": "^2.1.2", + "karma-mocha": "^2.0.1", + "karma-mocha-reporter": "^2.2.0", + "karma-safari-launcher": "^1.0.0", + "mocha": "^6.1.4", + "native-promise-only": "^0.8.0-a", + "nyc": "^17.0.0", + "rollup": "^4.2.0", + "rollup-plugin-node-resolve": "^5.2.0", + "rollup-plugin-npm": "^2.0.0", + "rsvp": "^4.8.5", + "semver": "^7.3.5", + "yargs": "^17.3.1" + }, + "scripts": { + "coverage": "nyc npm run mocha-node-test -- --grep @nycinvalid --invert", + "jsdoc": "jsdoc -c ./support/jsdoc/jsdoc.json && node support/jsdoc/jsdoc-fix-html.js", + "lint": "eslint --fix .", + "mocha-browser-test": "karma start", + "mocha-node-test": "mocha", + "mocha-test": "npm run mocha-node-test && npm run mocha-browser-test", + "test": "npm run lint && npm run mocha-node-test" + }, + "license": "MIT", + "nyc": { + "exclude": [ + "test" + ] + }, + "module": "dist/async.mjs" +} \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/parallel.js b/node_modules/winston/node_modules/async/parallel.js new file mode 100644 index 0000000..2c7976f --- /dev/null +++ b/node_modules/winston/node_modules/async/parallel.js @@ -0,0 +1,180 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = parallel; + +var _eachOf = require('./eachOf.js'); + +var _eachOf2 = _interopRequireDefault(_eachOf); + +var _parallel2 = require('./internal/parallel.js'); + +var _parallel3 = _interopRequireDefault(_parallel2); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Run the `tasks` collection of functions in parallel, without waiting until + * the previous function has completed. If any of the functions pass an error to + * its callback, the main `callback` is immediately called with the value of the + * error. Once the `tasks` have completed, the results are passed to the final + * `callback` as an array. + * + * **Note:** `parallel` is about kicking-off I/O tasks in parallel, not about + * parallel execution of code. If your tasks do not use any timers or perform + * any I/O, they will actually be executed in series. Any synchronous setup + * sections for each task will happen one after the other. JavaScript remains + * single-threaded. + * + * **Hint:** Use [`reflect`]{@link module:Utils.reflect} to continue the + * execution of other tasks when a task fails. + * + * It is also possible to use an object instead of an array. Each property will + * be run as a function and the results will be passed to the final `callback` + * as an object instead of an array. This can be a more readable way of handling + * results from {@link async.parallel}. + * + * @name parallel + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Array|Iterable|AsyncIterable|Object} tasks - A collection of + * [async functions]{@link AsyncFunction} to run. + * Each async function can complete with any number of optional `result` values. + * @param {Function} [callback] - An optional callback to run once all the + * functions have completed successfully. This function gets a results array + * (or object) containing all the result arguments passed to the task callbacks. + * Invoked with (err, results). + * @returns {Promise} a promise, if a callback is not passed + * + * @example + * + * //Using Callbacks + * async.parallel([ + * function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * callback(null, 'two'); + * }, 100); + * } + * ], function(err, results) { + * console.log(results); + * // results is equal to ['one','two'] even though + * // the second function had a shorter timeout. + * }); + * + * // an example using an object instead of an array + * async.parallel({ + * one: function(callback) { + * setTimeout(function() { + * callback(null, 1); + * }, 200); + * }, + * two: function(callback) { + * setTimeout(function() { + * callback(null, 2); + * }, 100); + * } + * }, function(err, results) { + * console.log(results); + * // results is equal to: { one: 1, two: 2 } + * }); + * + * //Using Promises + * async.parallel([ + * function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * callback(null, 'two'); + * }, 100); + * } + * ]).then(results => { + * console.log(results); + * // results is equal to ['one','two'] even though + * // the second function had a shorter timeout. + * }).catch(err => { + * console.log(err); + * }); + * + * // an example using an object instead of an array + * async.parallel({ + * one: function(callback) { + * setTimeout(function() { + * callback(null, 1); + * }, 200); + * }, + * two: function(callback) { + * setTimeout(function() { + * callback(null, 2); + * }, 100); + * } + * }).then(results => { + * console.log(results); + * // results is equal to: { one: 1, two: 2 } + * }).catch(err => { + * console.log(err); + * }); + * + * //Using async/await + * async () => { + * try { + * let results = await async.parallel([ + * function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * callback(null, 'two'); + * }, 100); + * } + * ]); + * console.log(results); + * // results is equal to ['one','two'] even though + * // the second function had a shorter timeout. + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // an example using an object instead of an array + * async () => { + * try { + * let results = await async.parallel({ + * one: function(callback) { + * setTimeout(function() { + * callback(null, 1); + * }, 200); + * }, + * two: function(callback) { + * setTimeout(function() { + * callback(null, 2); + * }, 100); + * } + * }); + * console.log(results); + * // results is equal to: { one: 1, two: 2 } + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function parallel(tasks, callback) { + return (0, _parallel3.default)(_eachOf2.default, tasks, callback); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/parallelLimit.js b/node_modules/winston/node_modules/async/parallelLimit.js new file mode 100644 index 0000000..4337957 --- /dev/null +++ b/node_modules/winston/node_modules/async/parallelLimit.js @@ -0,0 +1,41 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = parallelLimit; + +var _eachOfLimit = require('./internal/eachOfLimit.js'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _parallel = require('./internal/parallel.js'); + +var _parallel2 = _interopRequireDefault(_parallel); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`parallel`]{@link module:ControlFlow.parallel} but runs a maximum of `limit` async operations at a + * time. + * + * @name parallelLimit + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.parallel]{@link module:ControlFlow.parallel} + * @category Control Flow + * @param {Array|Iterable|AsyncIterable|Object} tasks - A collection of + * [async functions]{@link AsyncFunction} to run. + * Each async function can complete with any number of optional `result` values. + * @param {number} limit - The maximum number of async operations at a time. + * @param {Function} [callback] - An optional callback to run once all the + * functions have completed successfully. This function gets a results array + * (or object) containing all the result arguments passed to the task callbacks. + * Invoked with (err, results). + * @returns {Promise} a promise, if a callback is not passed + */ +function parallelLimit(tasks, limit, callback) { + return (0, _parallel2.default)((0, _eachOfLimit2.default)(limit), tasks, callback); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/priorityQueue.js b/node_modules/winston/node_modules/async/priorityQueue.js new file mode 100644 index 0000000..16c4daa --- /dev/null +++ b/node_modules/winston/node_modules/async/priorityQueue.js @@ -0,0 +1,60 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +exports.default = function (worker, concurrency) { + // Start with a normal queue + var q = (0, _queue2.default)(worker, concurrency); + + var { + push, + pushAsync + } = q; + + q._tasks = new _Heap2.default(); + q._createTaskItem = ({ data, priority }, callback) => { + return { + data, + priority, + callback + }; + }; + + function createDataItems(tasks, priority) { + if (!Array.isArray(tasks)) { + return { data: tasks, priority }; + } + return tasks.map(data => { + return { data, priority }; + }); + } + + // Override push to accept second parameter representing priority + q.push = function (data, priority = 0, callback) { + return push(createDataItems(data, priority), callback); + }; + + q.pushAsync = function (data, priority = 0, callback) { + return pushAsync(createDataItems(data, priority), callback); + }; + + // Remove unshift functions + delete q.unshift; + delete q.unshiftAsync; + + return q; +}; + +var _queue = require('./queue.js'); + +var _queue2 = _interopRequireDefault(_queue); + +var _Heap = require('./internal/Heap.js'); + +var _Heap2 = _interopRequireDefault(_Heap); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/queue.js b/node_modules/winston/node_modules/async/queue.js new file mode 100644 index 0000000..c01340d --- /dev/null +++ b/node_modules/winston/node_modules/async/queue.js @@ -0,0 +1,24 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +exports.default = function (worker, concurrency) { + var _worker = (0, _wrapAsync2.default)(worker); + return (0, _queue2.default)((items, cb) => { + _worker(items[0], cb); + }, concurrency, 1); +}; + +var _queue = require('./internal/queue.js'); + +var _queue2 = _interopRequireDefault(_queue); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/race.js b/node_modules/winston/node_modules/async/race.js new file mode 100644 index 0000000..aa167be --- /dev/null +++ b/node_modules/winston/node_modules/async/race.js @@ -0,0 +1,67 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _once = require('./internal/once.js'); + +var _once2 = _interopRequireDefault(_once); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Runs the `tasks` array of functions in parallel, without waiting until the + * previous function has completed. Once any of the `tasks` complete or pass an + * error to its callback, the main `callback` is immediately called. It's + * equivalent to `Promise.race()`. + * + * @name race + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Array} tasks - An array containing [async functions]{@link AsyncFunction} + * to run. Each function can complete with an optional `result` value. + * @param {Function} callback - A callback to run once any of the functions have + * completed. This function gets an error or result from the first function that + * completed. Invoked with (err, result). + * @returns {Promise} a promise, if a callback is omitted + * @example + * + * async.race([ + * function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * callback(null, 'two'); + * }, 100); + * } + * ], + * // main callback + * function(err, result) { + * // the result will be equal to 'two' as it finishes earlier + * }); + */ +function race(tasks, callback) { + callback = (0, _once2.default)(callback); + if (!Array.isArray(tasks)) return callback(new TypeError('First argument to race must be an array of functions')); + if (!tasks.length) return callback(); + for (var i = 0, l = tasks.length; i < l; i++) { + (0, _wrapAsync2.default)(tasks[i])(callback); + } +} + +exports.default = (0, _awaitify2.default)(race, 2); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/reduce.js b/node_modules/winston/node_modules/async/reduce.js new file mode 100644 index 0000000..8a69548 --- /dev/null +++ b/node_modules/winston/node_modules/async/reduce.js @@ -0,0 +1,153 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _eachOfSeries = require('./eachOfSeries.js'); + +var _eachOfSeries2 = _interopRequireDefault(_eachOfSeries); + +var _once = require('./internal/once.js'); + +var _once2 = _interopRequireDefault(_once); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Reduces `coll` into a single value using an async `iteratee` to return each + * successive step. `memo` is the initial state of the reduction. This function + * only operates in series. + * + * For performance reasons, it may make sense to split a call to this function + * into a parallel map, and then use the normal `Array.prototype.reduce` on the + * results. This function is for situations where each step in the reduction + * needs to be async; if you can get the data before reducing it, then it's + * probably a good idea to do so. + * + * @name reduce + * @static + * @memberOf module:Collections + * @method + * @alias inject + * @alias foldl + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {*} memo - The initial state of the reduction. + * @param {AsyncFunction} iteratee - A function applied to each item in the + * array to produce the next step in the reduction. + * The `iteratee` should complete with the next state of the reduction. + * If the iteratee completes with an error, the reduction is stopped and the + * main `callback` is immediately called with the error. + * Invoked with (memo, item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result is the reduced value. Invoked with + * (err, result). + * @returns {Promise} a promise, if no callback is passed + * @example + * + * // file1.txt is a file that is 1000 bytes in size + * // file2.txt is a file that is 2000 bytes in size + * // file3.txt is a file that is 3000 bytes in size + * // file4.txt does not exist + * + * const fileList = ['file1.txt','file2.txt','file3.txt']; + * const withMissingFileList = ['file1.txt','file2.txt','file3.txt', 'file4.txt']; + * + * // asynchronous function that computes the file size in bytes + * // file size is added to the memoized value, then returned + * function getFileSizeInBytes(memo, file, callback) { + * fs.stat(file, function(err, stat) { + * if (err) { + * return callback(err); + * } + * callback(null, memo + stat.size); + * }); + * } + * + * // Using callbacks + * async.reduce(fileList, 0, getFileSizeInBytes, function(err, result) { + * if (err) { + * console.log(err); + * } else { + * console.log(result); + * // 6000 + * // which is the sum of the file sizes of the three files + * } + * }); + * + * // Error Handling + * async.reduce(withMissingFileList, 0, getFileSizeInBytes, function(err, result) { + * if (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } else { + * console.log(result); + * } + * }); + * + * // Using Promises + * async.reduce(fileList, 0, getFileSizeInBytes) + * .then( result => { + * console.log(result); + * // 6000 + * // which is the sum of the file sizes of the three files + * }).catch( err => { + * console.log(err); + * }); + * + * // Error Handling + * async.reduce(withMissingFileList, 0, getFileSizeInBytes) + * .then( result => { + * console.log(result); + * }).catch( err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.reduce(fileList, 0, getFileSizeInBytes); + * console.log(result); + * // 6000 + * // which is the sum of the file sizes of the three files + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // Error Handling + * async () => { + * try { + * let result = await async.reduce(withMissingFileList, 0, getFileSizeInBytes); + * console.log(result); + * } + * catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } + * } + * + */ +function reduce(coll, memo, iteratee, callback) { + callback = (0, _once2.default)(callback); + var _iteratee = (0, _wrapAsync2.default)(iteratee); + return (0, _eachOfSeries2.default)(coll, (x, i, iterCb) => { + _iteratee(memo, x, (err, v) => { + memo = v; + iterCb(err); + }); + }, err => callback(err, memo)); +} +exports.default = (0, _awaitify2.default)(reduce, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/reduceRight.js b/node_modules/winston/node_modules/async/reduceRight.js new file mode 100644 index 0000000..5be1b68 --- /dev/null +++ b/node_modules/winston/node_modules/async/reduceRight.js @@ -0,0 +1,41 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = reduceRight; + +var _reduce = require('./reduce.js'); + +var _reduce2 = _interopRequireDefault(_reduce); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Same as [`reduce`]{@link module:Collections.reduce}, only operates on `array` in reverse order. + * + * @name reduceRight + * @static + * @memberOf module:Collections + * @method + * @see [async.reduce]{@link module:Collections.reduce} + * @alias foldr + * @category Collection + * @param {Array} array - A collection to iterate over. + * @param {*} memo - The initial state of the reduction. + * @param {AsyncFunction} iteratee - A function applied to each item in the + * array to produce the next step in the reduction. + * The `iteratee` should complete with the next state of the reduction. + * If the iteratee completes with an error, the reduction is stopped and the + * main `callback` is immediately called with the error. + * Invoked with (memo, item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result is the reduced value. Invoked with + * (err, result). + * @returns {Promise} a promise, if no callback is passed + */ +function reduceRight(array, memo, iteratee, callback) { + var reversed = [...array].reverse(); + return (0, _reduce2.default)(reversed, memo, iteratee, callback); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/reflect.js b/node_modules/winston/node_modules/async/reflect.js new file mode 100644 index 0000000..3954495 --- /dev/null +++ b/node_modules/winston/node_modules/async/reflect.js @@ -0,0 +1,78 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = reflect; + +var _initialParams = require('./internal/initialParams.js'); + +var _initialParams2 = _interopRequireDefault(_initialParams); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Wraps the async function in another function that always completes with a + * result object, even when it errors. + * + * The result object has either the property `error` or `value`. + * + * @name reflect + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {AsyncFunction} fn - The async function you want to wrap + * @returns {Function} - A function that always passes null to it's callback as + * the error. The second argument to the callback will be an `object` with + * either an `error` or a `value` property. + * @example + * + * async.parallel([ + * async.reflect(function(callback) { + * // do some stuff ... + * callback(null, 'one'); + * }), + * async.reflect(function(callback) { + * // do some more stuff but error ... + * callback('bad stuff happened'); + * }), + * async.reflect(function(callback) { + * // do some more stuff ... + * callback(null, 'two'); + * }) + * ], + * // optional callback + * function(err, results) { + * // values + * // results[0].value = 'one' + * // results[1].error = 'bad stuff happened' + * // results[2].value = 'two' + * }); + */ +function reflect(fn) { + var _fn = (0, _wrapAsync2.default)(fn); + return (0, _initialParams2.default)(function reflectOn(args, reflectCallback) { + args.push((error, ...cbArgs) => { + let retVal = {}; + if (error) { + retVal.error = error; + } + if (cbArgs.length > 0) { + var value = cbArgs; + if (cbArgs.length <= 1) { + [value] = cbArgs; + } + retVal.value = value; + } + reflectCallback(null, retVal); + }); + + return _fn.apply(this, args); + }); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/reflectAll.js b/node_modules/winston/node_modules/async/reflectAll.js new file mode 100644 index 0000000..b78d598 --- /dev/null +++ b/node_modules/winston/node_modules/async/reflectAll.js @@ -0,0 +1,93 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = reflectAll; + +var _reflect = require('./reflect.js'); + +var _reflect2 = _interopRequireDefault(_reflect); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * A helper function that wraps an array or an object of functions with `reflect`. + * + * @name reflectAll + * @static + * @memberOf module:Utils + * @method + * @see [async.reflect]{@link module:Utils.reflect} + * @category Util + * @param {Array|Object|Iterable} tasks - The collection of + * [async functions]{@link AsyncFunction} to wrap in `async.reflect`. + * @returns {Array} Returns an array of async functions, each wrapped in + * `async.reflect` + * @example + * + * let tasks = [ + * function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * // do some more stuff but error ... + * callback(new Error('bad stuff happened')); + * }, + * function(callback) { + * setTimeout(function() { + * callback(null, 'two'); + * }, 100); + * } + * ]; + * + * async.parallel(async.reflectAll(tasks), + * // optional callback + * function(err, results) { + * // values + * // results[0].value = 'one' + * // results[1].error = Error('bad stuff happened') + * // results[2].value = 'two' + * }); + * + * // an example using an object instead of an array + * let tasks = { + * one: function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * two: function(callback) { + * callback('two'); + * }, + * three: function(callback) { + * setTimeout(function() { + * callback(null, 'three'); + * }, 100); + * } + * }; + * + * async.parallel(async.reflectAll(tasks), + * // optional callback + * function(err, results) { + * // values + * // results.one.value = 'one' + * // results.two.error = 'two' + * // results.three.value = 'three' + * }); + */ +function reflectAll(tasks) { + var results; + if (Array.isArray(tasks)) { + results = tasks.map(_reflect2.default); + } else { + results = {}; + Object.keys(tasks).forEach(key => { + results[key] = _reflect2.default.call(this, tasks[key]); + }); + } + return results; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/reject.js b/node_modules/winston/node_modules/async/reject.js new file mode 100644 index 0000000..895949b --- /dev/null +++ b/node_modules/winston/node_modules/async/reject.js @@ -0,0 +1,87 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _reject2 = require('./internal/reject.js'); + +var _reject3 = _interopRequireDefault(_reject2); + +var _eachOf = require('./eachOf.js'); + +var _eachOf2 = _interopRequireDefault(_eachOf); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The opposite of [`filter`]{@link module:Collections.filter}. Removes values that pass an `async` truth test. + * + * @name reject + * @static + * @memberOf module:Collections + * @method + * @see [async.filter]{@link module:Collections.filter} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {Function} iteratee - An async truth test to apply to each item in + * `coll`. + * The should complete with a boolean value as its `result`. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results). + * @returns {Promise} a promise, if no callback is passed + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * + * const fileList = ['dir1/file1.txt','dir2/file3.txt','dir3/file6.txt']; + * + * // asynchronous function that checks if a file exists + * function fileExists(file, callback) { + * fs.access(file, fs.constants.F_OK, (err) => { + * callback(null, !err); + * }); + * } + * + * // Using callbacks + * async.reject(fileList, fileExists, function(err, results) { + * // [ 'dir3/file6.txt' ] + * // results now equals an array of the non-existing files + * }); + * + * // Using Promises + * async.reject(fileList, fileExists) + * .then( results => { + * console.log(results); + * // [ 'dir3/file6.txt' ] + * // results now equals an array of the non-existing files + * }).catch( err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let results = await async.reject(fileList, fileExists); + * console.log(results); + * // [ 'dir3/file6.txt' ] + * // results now equals an array of the non-existing files + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function reject(coll, iteratee, callback) { + return (0, _reject3.default)(_eachOf2.default, coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(reject, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/rejectLimit.js b/node_modules/winston/node_modules/async/rejectLimit.js new file mode 100644 index 0000000..ce10edf --- /dev/null +++ b/node_modules/winston/node_modules/async/rejectLimit.js @@ -0,0 +1,45 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _reject2 = require('./internal/reject.js'); + +var _reject3 = _interopRequireDefault(_reject2); + +var _eachOfLimit = require('./internal/eachOfLimit.js'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`reject`]{@link module:Collections.reject} but runs a maximum of `limit` async operations at a + * time. + * + * @name rejectLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.reject]{@link module:Collections.reject} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {Function} iteratee - An async truth test to apply to each item in + * `coll`. + * The should complete with a boolean value as its `result`. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results). + * @returns {Promise} a promise, if no callback is passed + */ +function rejectLimit(coll, limit, iteratee, callback) { + return (0, _reject3.default)((0, _eachOfLimit2.default)(limit), coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(rejectLimit, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/rejectSeries.js b/node_modules/winston/node_modules/async/rejectSeries.js new file mode 100644 index 0000000..c08e413 --- /dev/null +++ b/node_modules/winston/node_modules/async/rejectSeries.js @@ -0,0 +1,43 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _reject2 = require('./internal/reject.js'); + +var _reject3 = _interopRequireDefault(_reject2); + +var _eachOfSeries = require('./eachOfSeries.js'); + +var _eachOfSeries2 = _interopRequireDefault(_eachOfSeries); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`reject`]{@link module:Collections.reject} but runs only a single async operation at a time. + * + * @name rejectSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.reject]{@link module:Collections.reject} + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {Function} iteratee - An async truth test to apply to each item in + * `coll`. + * The should complete with a boolean value as its `result`. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results). + * @returns {Promise} a promise, if no callback is passed + */ +function rejectSeries(coll, iteratee, callback) { + return (0, _reject3.default)(_eachOfSeries2.default, coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(rejectSeries, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/retry.js b/node_modules/winston/node_modules/async/retry.js new file mode 100644 index 0000000..a4b0235 --- /dev/null +++ b/node_modules/winston/node_modules/async/retry.js @@ -0,0 +1,159 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = retry; + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _promiseCallback = require('./internal/promiseCallback.js'); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function constant(value) { + return function () { + return value; + }; +} + +/** + * Attempts to get a successful response from `task` no more than `times` times + * before returning an error. If the task is successful, the `callback` will be + * passed the result of the successful task. If all attempts fail, the callback + * will be passed the error and result (if any) of the final attempt. + * + * @name retry + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @see [async.retryable]{@link module:ControlFlow.retryable} + * @param {Object|number} [opts = {times: 5, interval: 0}| 5] - Can be either an + * object with `times` and `interval` or a number. + * * `times` - The number of attempts to make before giving up. The default + * is `5`. + * * `interval` - The time to wait between retries, in milliseconds. The + * default is `0`. The interval may also be specified as a function of the + * retry count (see example). + * * `errorFilter` - An optional synchronous function that is invoked on + * erroneous result. If it returns `true` the retry attempts will continue; + * if the function returns `false` the retry flow is aborted with the current + * attempt's error and result being returned to the final callback. + * Invoked with (err). + * * If `opts` is a number, the number specifies the number of times to retry, + * with the default interval of `0`. + * @param {AsyncFunction} task - An async function to retry. + * Invoked with (callback). + * @param {Function} [callback] - An optional callback which is called when the + * task has succeeded, or after the final failed attempt. It receives the `err` + * and `result` arguments of the last attempt at completing the `task`. Invoked + * with (err, results). + * @returns {Promise} a promise if no callback provided + * + * @example + * + * // The `retry` function can be used as a stand-alone control flow by passing + * // a callback, as shown below: + * + * // try calling apiMethod 3 times + * async.retry(3, apiMethod, function(err, result) { + * // do something with the result + * }); + * + * // try calling apiMethod 3 times, waiting 200 ms between each retry + * async.retry({times: 3, interval: 200}, apiMethod, function(err, result) { + * // do something with the result + * }); + * + * // try calling apiMethod 10 times with exponential backoff + * // (i.e. intervals of 100, 200, 400, 800, 1600, ... milliseconds) + * async.retry({ + * times: 10, + * interval: function(retryCount) { + * return 50 * Math.pow(2, retryCount); + * } + * }, apiMethod, function(err, result) { + * // do something with the result + * }); + * + * // try calling apiMethod the default 5 times no delay between each retry + * async.retry(apiMethod, function(err, result) { + * // do something with the result + * }); + * + * // try calling apiMethod only when error condition satisfies, all other + * // errors will abort the retry control flow and return to final callback + * async.retry({ + * errorFilter: function(err) { + * return err.message === 'Temporary error'; // only retry on a specific error + * } + * }, apiMethod, function(err, result) { + * // do something with the result + * }); + * + * // to retry individual methods that are not as reliable within other + * // control flow functions, use the `retryable` wrapper: + * async.auto({ + * users: api.getUsers.bind(api), + * payments: async.retryable(3, api.getPayments.bind(api)) + * }, function(err, results) { + * // do something with the results + * }); + * + */ +const DEFAULT_TIMES = 5; +const DEFAULT_INTERVAL = 0; + +function retry(opts, task, callback) { + var options = { + times: DEFAULT_TIMES, + intervalFunc: constant(DEFAULT_INTERVAL) + }; + + if (arguments.length < 3 && typeof opts === 'function') { + callback = task || (0, _promiseCallback.promiseCallback)(); + task = opts; + } else { + parseTimes(options, opts); + callback = callback || (0, _promiseCallback.promiseCallback)(); + } + + if (typeof task !== 'function') { + throw new Error("Invalid arguments for async.retry"); + } + + var _task = (0, _wrapAsync2.default)(task); + + var attempt = 1; + function retryAttempt() { + _task((err, ...args) => { + if (err === false) return; + if (err && attempt++ < options.times && (typeof options.errorFilter != 'function' || options.errorFilter(err))) { + setTimeout(retryAttempt, options.intervalFunc(attempt - 1)); + } else { + callback(err, ...args); + } + }); + } + + retryAttempt(); + return callback[_promiseCallback.PROMISE_SYMBOL]; +} + +function parseTimes(acc, t) { + if (typeof t === 'object') { + acc.times = +t.times || DEFAULT_TIMES; + + acc.intervalFunc = typeof t.interval === 'function' ? t.interval : constant(+t.interval || DEFAULT_INTERVAL); + + acc.errorFilter = t.errorFilter; + } else if (typeof t === 'number' || typeof t === 'string') { + acc.times = +t || DEFAULT_TIMES; + } else { + throw new Error("Invalid arguments for async.retry"); + } +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/retryable.js b/node_modules/winston/node_modules/async/retryable.js new file mode 100644 index 0000000..68256c3 --- /dev/null +++ b/node_modules/winston/node_modules/async/retryable.js @@ -0,0 +1,77 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = retryable; + +var _retry = require('./retry.js'); + +var _retry2 = _interopRequireDefault(_retry); + +var _initialParams = require('./internal/initialParams.js'); + +var _initialParams2 = _interopRequireDefault(_initialParams); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _promiseCallback = require('./internal/promiseCallback.js'); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * A close relative of [`retry`]{@link module:ControlFlow.retry}. This method + * wraps a task and makes it retryable, rather than immediately calling it + * with retries. + * + * @name retryable + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.retry]{@link module:ControlFlow.retry} + * @category Control Flow + * @param {Object|number} [opts = {times: 5, interval: 0}| 5] - optional + * options, exactly the same as from `retry`, except for a `opts.arity` that + * is the arity of the `task` function, defaulting to `task.length` + * @param {AsyncFunction} task - the asynchronous function to wrap. + * This function will be passed any arguments passed to the returned wrapper. + * Invoked with (...args, callback). + * @returns {AsyncFunction} The wrapped function, which when invoked, will + * retry on an error, based on the parameters specified in `opts`. + * This function will accept the same parameters as `task`. + * @example + * + * async.auto({ + * dep1: async.retryable(3, getFromFlakyService), + * process: ["dep1", async.retryable(3, function (results, cb) { + * maybeProcessData(results.dep1, cb); + * })] + * }, callback); + */ +function retryable(opts, task) { + if (!task) { + task = opts; + opts = null; + } + let arity = opts && opts.arity || task.length; + if ((0, _wrapAsync.isAsync)(task)) { + arity += 1; + } + var _task = (0, _wrapAsync2.default)(task); + return (0, _initialParams2.default)((args, callback) => { + if (args.length < arity - 1 || callback == null) { + args.push(callback); + callback = (0, _promiseCallback.promiseCallback)(); + } + function taskFn(cb) { + _task(...args, cb); + } + + if (opts) (0, _retry2.default)(opts, taskFn, callback);else (0, _retry2.default)(taskFn, callback); + + return callback[_promiseCallback.PROMISE_SYMBOL]; + }); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/select.js b/node_modules/winston/node_modules/async/select.js new file mode 100644 index 0000000..2c9a63d --- /dev/null +++ b/node_modules/winston/node_modules/async/select.js @@ -0,0 +1,93 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _filter2 = require('./internal/filter.js'); + +var _filter3 = _interopRequireDefault(_filter2); + +var _eachOf = require('./eachOf.js'); + +var _eachOf2 = _interopRequireDefault(_eachOf); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Returns a new array of all the values in `coll` which pass an async truth + * test. This operation is performed in parallel, but the results array will be + * in the same order as the original. + * + * @name filter + * @static + * @memberOf module:Collections + * @method + * @alias select + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {Function} iteratee - A truth test to apply to each item in `coll`. + * The `iteratee` is passed a `callback(err, truthValue)`, which must be called + * with a boolean argument once it has completed. Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results). + * @returns {Promise} a promise, if no callback provided + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * + * const files = ['dir1/file1.txt','dir2/file3.txt','dir3/file6.txt']; + * + * // asynchronous function that checks if a file exists + * function fileExists(file, callback) { + * fs.access(file, fs.constants.F_OK, (err) => { + * callback(null, !err); + * }); + * } + * + * // Using callbacks + * async.filter(files, fileExists, function(err, results) { + * if(err) { + * console.log(err); + * } else { + * console.log(results); + * // [ 'dir1/file1.txt', 'dir2/file3.txt' ] + * // results is now an array of the existing files + * } + * }); + * + * // Using Promises + * async.filter(files, fileExists) + * .then(results => { + * console.log(results); + * // [ 'dir1/file1.txt', 'dir2/file3.txt' ] + * // results is now an array of the existing files + * }).catch(err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let results = await async.filter(files, fileExists); + * console.log(results); + * // [ 'dir1/file1.txt', 'dir2/file3.txt' ] + * // results is now an array of the existing files + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function filter(coll, iteratee, callback) { + return (0, _filter3.default)(_eachOf2.default, coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(filter, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/selectLimit.js b/node_modules/winston/node_modules/async/selectLimit.js new file mode 100644 index 0000000..d3b3f50 --- /dev/null +++ b/node_modules/winston/node_modules/async/selectLimit.js @@ -0,0 +1,45 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _filter2 = require('./internal/filter.js'); + +var _filter3 = _interopRequireDefault(_filter2); + +var _eachOfLimit = require('./internal/eachOfLimit.js'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`filter`]{@link module:Collections.filter} but runs a maximum of `limit` async operations at a + * time. + * + * @name filterLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.filter]{@link module:Collections.filter} + * @alias selectLimit + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {Function} iteratee - A truth test to apply to each item in `coll`. + * The `iteratee` is passed a `callback(err, truthValue)`, which must be called + * with a boolean argument once it has completed. Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results). + * @returns {Promise} a promise, if no callback provided + */ +function filterLimit(coll, limit, iteratee, callback) { + return (0, _filter3.default)((0, _eachOfLimit2.default)(limit), coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(filterLimit, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/selectSeries.js b/node_modules/winston/node_modules/async/selectSeries.js new file mode 100644 index 0000000..019a2d0 --- /dev/null +++ b/node_modules/winston/node_modules/async/selectSeries.js @@ -0,0 +1,43 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _filter2 = require('./internal/filter.js'); + +var _filter3 = _interopRequireDefault(_filter2); + +var _eachOfSeries = require('./eachOfSeries.js'); + +var _eachOfSeries2 = _interopRequireDefault(_eachOfSeries); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`filter`]{@link module:Collections.filter} but runs only a single async operation at a time. + * + * @name filterSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.filter]{@link module:Collections.filter} + * @alias selectSeries + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {Function} iteratee - A truth test to apply to each item in `coll`. + * The `iteratee` is passed a `callback(err, truthValue)`, which must be called + * with a boolean argument once it has completed. Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Invoked with (err, results) + * @returns {Promise} a promise, if no callback provided + */ +function filterSeries(coll, iteratee, callback) { + return (0, _filter3.default)(_eachOfSeries2.default, coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(filterSeries, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/seq.js b/node_modules/winston/node_modules/async/seq.js new file mode 100644 index 0000000..e7881cd --- /dev/null +++ b/node_modules/winston/node_modules/async/seq.js @@ -0,0 +1,79 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = seq; + +var _reduce = require('./reduce.js'); + +var _reduce2 = _interopRequireDefault(_reduce); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _promiseCallback = require('./internal/promiseCallback.js'); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Version of the compose function that is more natural to read. Each function + * consumes the return value of the previous function. It is the equivalent of + * [compose]{@link module:ControlFlow.compose} with the arguments reversed. + * + * Each function is executed with the `this` binding of the composed function. + * + * @name seq + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.compose]{@link module:ControlFlow.compose} + * @category Control Flow + * @param {...AsyncFunction} functions - the asynchronous functions to compose + * @returns {Function} a function that composes the `functions` in order + * @example + * + * // Requires lodash (or underscore), express3 and dresende's orm2. + * // Part of an app, that fetches cats of the logged user. + * // This example uses `seq` function to avoid overnesting and error + * // handling clutter. + * app.get('/cats', function(request, response) { + * var User = request.models.User; + * async.seq( + * User.get.bind(User), // 'User.get' has signature (id, callback(err, data)) + * function(user, fn) { + * user.getCats(fn); // 'getCats' has signature (callback(err, data)) + * } + * )(req.session.user_id, function (err, cats) { + * if (err) { + * console.error(err); + * response.json({ status: 'error', message: err.message }); + * } else { + * response.json({ status: 'ok', message: 'Cats found', data: cats }); + * } + * }); + * }); + */ +function seq(...functions) { + var _functions = functions.map(_wrapAsync2.default); + return function (...args) { + var that = this; + + var cb = args[args.length - 1]; + if (typeof cb == 'function') { + args.pop(); + } else { + cb = (0, _promiseCallback.promiseCallback)(); + } + + (0, _reduce2.default)(_functions, args, (newargs, fn, iterCb) => { + fn.apply(that, newargs.concat((err, ...nextargs) => { + iterCb(err, nextargs); + })); + }, (err, results) => cb(err, ...results)); + + return cb[_promiseCallback.PROMISE_SYMBOL]; + }; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/series.js b/node_modules/winston/node_modules/async/series.js new file mode 100644 index 0000000..60c17ed --- /dev/null +++ b/node_modules/winston/node_modules/async/series.js @@ -0,0 +1,186 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = series; + +var _parallel2 = require('./internal/parallel.js'); + +var _parallel3 = _interopRequireDefault(_parallel2); + +var _eachOfSeries = require('./eachOfSeries.js'); + +var _eachOfSeries2 = _interopRequireDefault(_eachOfSeries); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Run the functions in the `tasks` collection in series, each one running once + * the previous function has completed. If any functions in the series pass an + * error to its callback, no more functions are run, and `callback` is + * immediately called with the value of the error. Otherwise, `callback` + * receives an array of results when `tasks` have completed. + * + * It is also possible to use an object instead of an array. Each property will + * be run as a function, and the results will be passed to the final `callback` + * as an object instead of an array. This can be a more readable way of handling + * results from {@link async.series}. + * + * **Note** that while many implementations preserve the order of object + * properties, the [ECMAScript Language Specification](http://www.ecma-international.org/ecma-262/5.1/#sec-8.6) + * explicitly states that + * + * > The mechanics and order of enumerating the properties is not specified. + * + * So if you rely on the order in which your series of functions are executed, + * and want this to work on all platforms, consider using an array. + * + * @name series + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Array|Iterable|AsyncIterable|Object} tasks - A collection containing + * [async functions]{@link AsyncFunction} to run in series. + * Each function can complete with any number of optional `result` values. + * @param {Function} [callback] - An optional callback to run once all the + * functions have completed. This function gets a results array (or object) + * containing all the result arguments passed to the `task` callbacks. Invoked + * with (err, result). + * @return {Promise} a promise, if no callback is passed + * @example + * + * //Using Callbacks + * async.series([ + * function(callback) { + * setTimeout(function() { + * // do some async task + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * // then do another async task + * callback(null, 'two'); + * }, 100); + * } + * ], function(err, results) { + * console.log(results); + * // results is equal to ['one','two'] + * }); + * + * // an example using objects instead of arrays + * async.series({ + * one: function(callback) { + * setTimeout(function() { + * // do some async task + * callback(null, 1); + * }, 200); + * }, + * two: function(callback) { + * setTimeout(function() { + * // then do another async task + * callback(null, 2); + * }, 100); + * } + * }, function(err, results) { + * console.log(results); + * // results is equal to: { one: 1, two: 2 } + * }); + * + * //Using Promises + * async.series([ + * function(callback) { + * setTimeout(function() { + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * callback(null, 'two'); + * }, 100); + * } + * ]).then(results => { + * console.log(results); + * // results is equal to ['one','two'] + * }).catch(err => { + * console.log(err); + * }); + * + * // an example using an object instead of an array + * async.series({ + * one: function(callback) { + * setTimeout(function() { + * // do some async task + * callback(null, 1); + * }, 200); + * }, + * two: function(callback) { + * setTimeout(function() { + * // then do another async task + * callback(null, 2); + * }, 100); + * } + * }).then(results => { + * console.log(results); + * // results is equal to: { one: 1, two: 2 } + * }).catch(err => { + * console.log(err); + * }); + * + * //Using async/await + * async () => { + * try { + * let results = await async.series([ + * function(callback) { + * setTimeout(function() { + * // do some async task + * callback(null, 'one'); + * }, 200); + * }, + * function(callback) { + * setTimeout(function() { + * // then do another async task + * callback(null, 'two'); + * }, 100); + * } + * ]); + * console.log(results); + * // results is equal to ['one','two'] + * } + * catch (err) { + * console.log(err); + * } + * } + * + * // an example using an object instead of an array + * async () => { + * try { + * let results = await async.parallel({ + * one: function(callback) { + * setTimeout(function() { + * // do some async task + * callback(null, 1); + * }, 200); + * }, + * two: function(callback) { + * setTimeout(function() { + * // then do another async task + * callback(null, 2); + * }, 100); + * } + * }); + * console.log(results); + * // results is equal to: { one: 1, two: 2 } + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function series(tasks, callback) { + return (0, _parallel3.default)(_eachOfSeries2.default, tasks, callback); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/setImmediate.js b/node_modules/winston/node_modules/async/setImmediate.js new file mode 100644 index 0000000..eea8677 --- /dev/null +++ b/node_modules/winston/node_modules/async/setImmediate.js @@ -0,0 +1,45 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _setImmediate = require('./internal/setImmediate.js'); + +var _setImmediate2 = _interopRequireDefault(_setImmediate); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Calls `callback` on a later loop around the event loop. In Node.js this just + * calls `setImmediate`. In the browser it will use `setImmediate` if + * available, otherwise `setTimeout(callback, 0)`, which means other higher + * priority events may precede the execution of `callback`. + * + * This is used internally for browser-compatibility purposes. + * + * @name setImmediate + * @static + * @memberOf module:Utils + * @method + * @see [async.nextTick]{@link module:Utils.nextTick} + * @category Util + * @param {Function} callback - The function to call on a later loop around + * the event loop. Invoked with (args...). + * @param {...*} args... - any number of additional arguments to pass to the + * callback on the next tick. + * @example + * + * var call_order = []; + * async.nextTick(function() { + * call_order.push('two'); + * // call_order now equals ['one','two'] + * }); + * call_order.push('one'); + * + * async.setImmediate(function (a, b, c) { + * // a, b, and c equal 1, 2, and 3 + * }, 1, 2, 3); + */ +exports.default = _setImmediate2.default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/some.js b/node_modules/winston/node_modules/async/some.js new file mode 100644 index 0000000..a5bd328 --- /dev/null +++ b/node_modules/winston/node_modules/async/some.js @@ -0,0 +1,122 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createTester = require('./internal/createTester.js'); + +var _createTester2 = _interopRequireDefault(_createTester); + +var _eachOf = require('./eachOf.js'); + +var _eachOf2 = _interopRequireDefault(_eachOf); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Returns `true` if at least one element in the `coll` satisfies an async test. + * If any iteratee call returns `true`, the main `callback` is immediately + * called. + * + * @name some + * @static + * @memberOf module:Collections + * @method + * @alias any + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collections in parallel. + * The iteratee should complete with a boolean `result` value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the iteratee functions have finished. + * Result will be either `true` or `false` depending on the values of the async + * tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + * @example + * + * // dir1 is a directory that contains file1.txt, file2.txt + * // dir2 is a directory that contains file3.txt, file4.txt + * // dir3 is a directory that contains file5.txt + * // dir4 does not exist + * + * // asynchronous function that checks if a file exists + * function fileExists(file, callback) { + * fs.access(file, fs.constants.F_OK, (err) => { + * callback(null, !err); + * }); + * } + * + * // Using callbacks + * async.some(['dir1/missing.txt','dir2/missing.txt','dir3/file5.txt'], fileExists, + * function(err, result) { + * console.log(result); + * // true + * // result is true since some file in the list exists + * } + *); + * + * async.some(['dir1/missing.txt','dir2/missing.txt','dir4/missing.txt'], fileExists, + * function(err, result) { + * console.log(result); + * // false + * // result is false since none of the files exists + * } + *); + * + * // Using Promises + * async.some(['dir1/missing.txt','dir2/missing.txt','dir3/file5.txt'], fileExists) + * .then( result => { + * console.log(result); + * // true + * // result is true since some file in the list exists + * }).catch( err => { + * console.log(err); + * }); + * + * async.some(['dir1/missing.txt','dir2/missing.txt','dir4/missing.txt'], fileExists) + * .then( result => { + * console.log(result); + * // false + * // result is false since none of the files exists + * }).catch( err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.some(['dir1/missing.txt','dir2/missing.txt','dir3/file5.txt'], fileExists); + * console.log(result); + * // true + * // result is true since some file in the list exists + * } + * catch (err) { + * console.log(err); + * } + * } + * + * async () => { + * try { + * let result = await async.some(['dir1/missing.txt','dir2/missing.txt','dir4/missing.txt'], fileExists); + * console.log(result); + * // false + * // result is false since none of the files exists + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function some(coll, iteratee, callback) { + return (0, _createTester2.default)(Boolean, res => res)(_eachOf2.default, coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(some, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/someLimit.js b/node_modules/winston/node_modules/async/someLimit.js new file mode 100644 index 0000000..3a8096f --- /dev/null +++ b/node_modules/winston/node_modules/async/someLimit.js @@ -0,0 +1,47 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createTester = require('./internal/createTester.js'); + +var _createTester2 = _interopRequireDefault(_createTester); + +var _eachOfLimit = require('./internal/eachOfLimit.js'); + +var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`some`]{@link module:Collections.some} but runs a maximum of `limit` async operations at a time. + * + * @name someLimit + * @static + * @memberOf module:Collections + * @method + * @see [async.some]{@link module:Collections.some} + * @alias anyLimit + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collections in parallel. + * The iteratee should complete with a boolean `result` value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the iteratee functions have finished. + * Result will be either `true` or `false` depending on the values of the async + * tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + */ +function someLimit(coll, limit, iteratee, callback) { + return (0, _createTester2.default)(Boolean, res => res)((0, _eachOfLimit2.default)(limit), coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(someLimit, 4); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/someSeries.js b/node_modules/winston/node_modules/async/someSeries.js new file mode 100644 index 0000000..51aad19 --- /dev/null +++ b/node_modules/winston/node_modules/async/someSeries.js @@ -0,0 +1,46 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createTester = require('./internal/createTester.js'); + +var _createTester2 = _interopRequireDefault(_createTester); + +var _eachOfSeries = require('./eachOfSeries.js'); + +var _eachOfSeries2 = _interopRequireDefault(_eachOfSeries); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [`some`]{@link module:Collections.some} but runs only a single async operation at a time. + * + * @name someSeries + * @static + * @memberOf module:Collections + * @method + * @see [async.some]{@link module:Collections.some} + * @alias anySeries + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async truth test to apply to each item + * in the collections in series. + * The iteratee should complete with a boolean `result` value. + * Invoked with (item, callback). + * @param {Function} [callback] - A callback which is called as soon as any + * iteratee returns `true`, or after all the iteratee functions have finished. + * Result will be either `true` or `false` depending on the values of the async + * tests. Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + */ +function someSeries(coll, iteratee, callback) { + return (0, _createTester2.default)(Boolean, res => res)(_eachOfSeries2.default, coll, iteratee, callback); +} +exports.default = (0, _awaitify2.default)(someSeries, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/sortBy.js b/node_modules/winston/node_modules/async/sortBy.js new file mode 100644 index 0000000..0988b61 --- /dev/null +++ b/node_modules/winston/node_modules/async/sortBy.js @@ -0,0 +1,190 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _map = require('./map.js'); + +var _map2 = _interopRequireDefault(_map); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Sorts a list by the results of running each `coll` value through an async + * `iteratee`. + * + * @name sortBy + * @static + * @memberOf module:Collections + * @method + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {AsyncFunction} iteratee - An async function to apply to each item in + * `coll`. + * The iteratee should complete with a value to use as the sort criteria as + * its `result`. + * Invoked with (item, callback). + * @param {Function} callback - A callback which is called after all the + * `iteratee` functions have finished, or an error occurs. Results is the items + * from the original `coll` sorted by the values returned by the `iteratee` + * calls. Invoked with (err, results). + * @returns {Promise} a promise, if no callback passed + * @example + * + * // bigfile.txt is a file that is 251100 bytes in size + * // mediumfile.txt is a file that is 11000 bytes in size + * // smallfile.txt is a file that is 121 bytes in size + * + * // asynchronous function that returns the file size in bytes + * function getFileSizeInBytes(file, callback) { + * fs.stat(file, function(err, stat) { + * if (err) { + * return callback(err); + * } + * callback(null, stat.size); + * }); + * } + * + * // Using callbacks + * async.sortBy(['mediumfile.txt','smallfile.txt','bigfile.txt'], getFileSizeInBytes, + * function(err, results) { + * if (err) { + * console.log(err); + * } else { + * console.log(results); + * // results is now the original array of files sorted by + * // file size (ascending by default), e.g. + * // [ 'smallfile.txt', 'mediumfile.txt', 'bigfile.txt'] + * } + * } + * ); + * + * // By modifying the callback parameter the + * // sorting order can be influenced: + * + * // ascending order + * async.sortBy(['mediumfile.txt','smallfile.txt','bigfile.txt'], function(file, callback) { + * getFileSizeInBytes(file, function(getFileSizeErr, fileSize) { + * if (getFileSizeErr) return callback(getFileSizeErr); + * callback(null, fileSize); + * }); + * }, function(err, results) { + * if (err) { + * console.log(err); + * } else { + * console.log(results); + * // results is now the original array of files sorted by + * // file size (ascending by default), e.g. + * // [ 'smallfile.txt', 'mediumfile.txt', 'bigfile.txt'] + * } + * } + * ); + * + * // descending order + * async.sortBy(['bigfile.txt','mediumfile.txt','smallfile.txt'], function(file, callback) { + * getFileSizeInBytes(file, function(getFileSizeErr, fileSize) { + * if (getFileSizeErr) { + * return callback(getFileSizeErr); + * } + * callback(null, fileSize * -1); + * }); + * }, function(err, results) { + * if (err) { + * console.log(err); + * } else { + * console.log(results); + * // results is now the original array of files sorted by + * // file size (ascending by default), e.g. + * // [ 'bigfile.txt', 'mediumfile.txt', 'smallfile.txt'] + * } + * } + * ); + * + * // Error handling + * async.sortBy(['mediumfile.txt','smallfile.txt','missingfile.txt'], getFileSizeInBytes, + * function(err, results) { + * if (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } else { + * console.log(results); + * } + * } + * ); + * + * // Using Promises + * async.sortBy(['mediumfile.txt','smallfile.txt','bigfile.txt'], getFileSizeInBytes) + * .then( results => { + * console.log(results); + * // results is now the original array of files sorted by + * // file size (ascending by default), e.g. + * // [ 'smallfile.txt', 'mediumfile.txt', 'bigfile.txt'] + * }).catch( err => { + * console.log(err); + * }); + * + * // Error handling + * async.sortBy(['mediumfile.txt','smallfile.txt','missingfile.txt'], getFileSizeInBytes) + * .then( results => { + * console.log(results); + * }).catch( err => { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * }); + * + * // Using async/await + * (async () => { + * try { + * let results = await async.sortBy(['bigfile.txt','mediumfile.txt','smallfile.txt'], getFileSizeInBytes); + * console.log(results); + * // results is now the original array of files sorted by + * // file size (ascending by default), e.g. + * // [ 'smallfile.txt', 'mediumfile.txt', 'bigfile.txt'] + * } + * catch (err) { + * console.log(err); + * } + * })(); + * + * // Error handling + * async () => { + * try { + * let results = await async.sortBy(['missingfile.txt','mediumfile.txt','smallfile.txt'], getFileSizeInBytes); + * console.log(results); + * } + * catch (err) { + * console.log(err); + * // [ Error: ENOENT: no such file or directory ] + * } + * } + * + */ +function sortBy(coll, iteratee, callback) { + var _iteratee = (0, _wrapAsync2.default)(iteratee); + return (0, _map2.default)(coll, (x, iterCb) => { + _iteratee(x, (err, criteria) => { + if (err) return iterCb(err); + iterCb(err, { value: x, criteria }); + }); + }, (err, results) => { + if (err) return callback(err); + callback(null, results.sort(comparator).map(v => v.value)); + }); + + function comparator(left, right) { + var a = left.criteria, + b = right.criteria; + return a < b ? -1 : a > b ? 1 : 0; + } +} +exports.default = (0, _awaitify2.default)(sortBy, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/timeout.js b/node_modules/winston/node_modules/async/timeout.js new file mode 100644 index 0000000..46bb233 --- /dev/null +++ b/node_modules/winston/node_modules/async/timeout.js @@ -0,0 +1,89 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = timeout; + +var _initialParams = require('./internal/initialParams.js'); + +var _initialParams2 = _interopRequireDefault(_initialParams); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Sets a time limit on an asynchronous function. If the function does not call + * its callback within the specified milliseconds, it will be called with a + * timeout error. The code property for the error object will be `'ETIMEDOUT'`. + * + * @name timeout + * @static + * @memberOf module:Utils + * @method + * @category Util + * @param {AsyncFunction} asyncFn - The async function to limit in time. + * @param {number} milliseconds - The specified time limit. + * @param {*} [info] - Any variable you want attached (`string`, `object`, etc) + * to timeout Error for more information.. + * @returns {AsyncFunction} Returns a wrapped function that can be used with any + * of the control flow functions. + * Invoke this function with the same parameters as you would `asyncFunc`. + * @example + * + * function myFunction(foo, callback) { + * doAsyncTask(foo, function(err, data) { + * // handle errors + * if (err) return callback(err); + * + * // do some stuff ... + * + * // return processed data + * return callback(null, data); + * }); + * } + * + * var wrapped = async.timeout(myFunction, 1000); + * + * // call `wrapped` as you would `myFunction` + * wrapped({ bar: 'bar' }, function(err, data) { + * // if `myFunction` takes < 1000 ms to execute, `err` + * // and `data` will have their expected values + * + * // else `err` will be an Error with the code 'ETIMEDOUT' + * }); + */ +function timeout(asyncFn, milliseconds, info) { + var fn = (0, _wrapAsync2.default)(asyncFn); + + return (0, _initialParams2.default)((args, callback) => { + var timedOut = false; + var timer; + + function timeoutCallback() { + var name = asyncFn.name || 'anonymous'; + var error = new Error('Callback function "' + name + '" timed out.'); + error.code = 'ETIMEDOUT'; + if (info) { + error.info = info; + } + timedOut = true; + callback(error); + } + + args.push((...cbArgs) => { + if (!timedOut) { + callback(...cbArgs); + clearTimeout(timer); + } + }); + + // setup timer and call original function + timer = setTimeout(timeoutCallback, milliseconds); + fn(...args); + }); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/times.js b/node_modules/winston/node_modules/async/times.js new file mode 100644 index 0000000..ca7df51 --- /dev/null +++ b/node_modules/winston/node_modules/async/times.js @@ -0,0 +1,50 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = times; + +var _timesLimit = require('./timesLimit.js'); + +var _timesLimit2 = _interopRequireDefault(_timesLimit); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Calls the `iteratee` function `n` times, and accumulates results in the same + * manner you would use with [map]{@link module:Collections.map}. + * + * @name times + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.map]{@link module:Collections.map} + * @category Control Flow + * @param {number} n - The number of times to run the function. + * @param {AsyncFunction} iteratee - The async function to call `n` times. + * Invoked with the iteration index and a callback: (n, next). + * @param {Function} callback - see {@link module:Collections.map}. + * @returns {Promise} a promise, if no callback is provided + * @example + * + * // Pretend this is some complicated async factory + * var createUser = function(id, callback) { + * callback(null, { + * id: 'user' + id + * }); + * }; + * + * // generate 5 users + * async.times(5, function(n, next) { + * createUser(n, function(err, user) { + * next(err, user); + * }); + * }, function(err, users) { + * // we should now have 5 users + * }); + */ +function times(n, iteratee, callback) { + return (0, _timesLimit2.default)(n, Infinity, iteratee, callback); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/timesLimit.js b/node_modules/winston/node_modules/async/timesLimit.js new file mode 100644 index 0000000..f76de25 --- /dev/null +++ b/node_modules/winston/node_modules/async/timesLimit.js @@ -0,0 +1,43 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = timesLimit; + +var _mapLimit = require('./mapLimit.js'); + +var _mapLimit2 = _interopRequireDefault(_mapLimit); + +var _range = require('./internal/range.js'); + +var _range2 = _interopRequireDefault(_range); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [times]{@link module:ControlFlow.times} but runs a maximum of `limit` async operations at a + * time. + * + * @name timesLimit + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.times]{@link module:ControlFlow.times} + * @category Control Flow + * @param {number} count - The number of times to run the function. + * @param {number} limit - The maximum number of async operations at a time. + * @param {AsyncFunction} iteratee - The async function to call `n` times. + * Invoked with the iteration index and a callback: (n, next). + * @param {Function} callback - see [async.map]{@link module:Collections.map}. + * @returns {Promise} a promise, if no callback is provided + */ +function timesLimit(count, limit, iteratee, callback) { + var _iteratee = (0, _wrapAsync2.default)(iteratee); + return (0, _mapLimit2.default)((0, _range2.default)(count), limit, _iteratee, callback); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/timesSeries.js b/node_modules/winston/node_modules/async/timesSeries.js new file mode 100644 index 0000000..776b4f3 --- /dev/null +++ b/node_modules/winston/node_modules/async/timesSeries.js @@ -0,0 +1,32 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = timesSeries; + +var _timesLimit = require('./timesLimit.js'); + +var _timesLimit2 = _interopRequireDefault(_timesLimit); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * The same as [times]{@link module:ControlFlow.times} but runs only a single async operation at a time. + * + * @name timesSeries + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.times]{@link module:ControlFlow.times} + * @category Control Flow + * @param {number} n - The number of times to run the function. + * @param {AsyncFunction} iteratee - The async function to call `n` times. + * Invoked with the iteration index and a callback: (n, next). + * @param {Function} callback - see {@link module:Collections.map}. + * @returns {Promise} a promise, if no callback is provided + */ +function timesSeries(n, iteratee, callback) { + return (0, _timesLimit2.default)(n, 1, iteratee, callback); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/transform.js b/node_modules/winston/node_modules/async/transform.js new file mode 100644 index 0000000..75dadea --- /dev/null +++ b/node_modules/winston/node_modules/async/transform.js @@ -0,0 +1,173 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = transform; + +var _eachOf = require('./eachOf.js'); + +var _eachOf2 = _interopRequireDefault(_eachOf); + +var _once = require('./internal/once.js'); + +var _once2 = _interopRequireDefault(_once); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _promiseCallback = require('./internal/promiseCallback.js'); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * A relative of `reduce`. Takes an Object or Array, and iterates over each + * element in parallel, each step potentially mutating an `accumulator` value. + * The type of the accumulator defaults to the type of collection passed in. + * + * @name transform + * @static + * @memberOf module:Collections + * @method + * @category Collection + * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over. + * @param {*} [accumulator] - The initial state of the transform. If omitted, + * it will default to an empty Object or Array, depending on the type of `coll` + * @param {AsyncFunction} iteratee - A function applied to each item in the + * collection that potentially modifies the accumulator. + * Invoked with (accumulator, item, key, callback). + * @param {Function} [callback] - A callback which is called after all the + * `iteratee` functions have finished. Result is the transformed accumulator. + * Invoked with (err, result). + * @returns {Promise} a promise, if no callback provided + * @example + * + * // file1.txt is a file that is 1000 bytes in size + * // file2.txt is a file that is 2000 bytes in size + * // file3.txt is a file that is 3000 bytes in size + * + * // helper function that returns human-readable size format from bytes + * function formatBytes(bytes, decimals = 2) { + * // implementation not included for brevity + * return humanReadbleFilesize; + * } + * + * const fileList = ['file1.txt','file2.txt','file3.txt']; + * + * // asynchronous function that returns the file size, transformed to human-readable format + * // e.g. 1024 bytes = 1KB, 1234 bytes = 1.21 KB, 1048576 bytes = 1MB, etc. + * function transformFileSize(acc, value, key, callback) { + * fs.stat(value, function(err, stat) { + * if (err) { + * return callback(err); + * } + * acc[key] = formatBytes(stat.size); + * callback(null); + * }); + * } + * + * // Using callbacks + * async.transform(fileList, transformFileSize, function(err, result) { + * if(err) { + * console.log(err); + * } else { + * console.log(result); + * // [ '1000 Bytes', '1.95 KB', '2.93 KB' ] + * } + * }); + * + * // Using Promises + * async.transform(fileList, transformFileSize) + * .then(result => { + * console.log(result); + * // [ '1000 Bytes', '1.95 KB', '2.93 KB' ] + * }).catch(err => { + * console.log(err); + * }); + * + * // Using async/await + * (async () => { + * try { + * let result = await async.transform(fileList, transformFileSize); + * console.log(result); + * // [ '1000 Bytes', '1.95 KB', '2.93 KB' ] + * } + * catch (err) { + * console.log(err); + * } + * })(); + * + * @example + * + * // file1.txt is a file that is 1000 bytes in size + * // file2.txt is a file that is 2000 bytes in size + * // file3.txt is a file that is 3000 bytes in size + * + * // helper function that returns human-readable size format from bytes + * function formatBytes(bytes, decimals = 2) { + * // implementation not included for brevity + * return humanReadbleFilesize; + * } + * + * const fileMap = { f1: 'file1.txt', f2: 'file2.txt', f3: 'file3.txt' }; + * + * // asynchronous function that returns the file size, transformed to human-readable format + * // e.g. 1024 bytes = 1KB, 1234 bytes = 1.21 KB, 1048576 bytes = 1MB, etc. + * function transformFileSize(acc, value, key, callback) { + * fs.stat(value, function(err, stat) { + * if (err) { + * return callback(err); + * } + * acc[key] = formatBytes(stat.size); + * callback(null); + * }); + * } + * + * // Using callbacks + * async.transform(fileMap, transformFileSize, function(err, result) { + * if(err) { + * console.log(err); + * } else { + * console.log(result); + * // { f1: '1000 Bytes', f2: '1.95 KB', f3: '2.93 KB' } + * } + * }); + * + * // Using Promises + * async.transform(fileMap, transformFileSize) + * .then(result => { + * console.log(result); + * // { f1: '1000 Bytes', f2: '1.95 KB', f3: '2.93 KB' } + * }).catch(err => { + * console.log(err); + * }); + * + * // Using async/await + * async () => { + * try { + * let result = await async.transform(fileMap, transformFileSize); + * console.log(result); + * // { f1: '1000 Bytes', f2: '1.95 KB', f3: '2.93 KB' } + * } + * catch (err) { + * console.log(err); + * } + * } + * + */ +function transform(coll, accumulator, iteratee, callback) { + if (arguments.length <= 3 && typeof accumulator === 'function') { + callback = iteratee; + iteratee = accumulator; + accumulator = Array.isArray(coll) ? [] : {}; + } + callback = (0, _once2.default)(callback || (0, _promiseCallback.promiseCallback)()); + var _iteratee = (0, _wrapAsync2.default)(iteratee); + + (0, _eachOf2.default)(coll, (v, k, cb) => { + _iteratee(accumulator, v, k, cb); + }, err => callback(err, accumulator)); + return callback[_promiseCallback.PROMISE_SYMBOL]; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/tryEach.js b/node_modules/winston/node_modules/async/tryEach.js new file mode 100644 index 0000000..7e63f9d --- /dev/null +++ b/node_modules/winston/node_modules/async/tryEach.js @@ -0,0 +1,78 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _eachSeries = require('./eachSeries.js'); + +var _eachSeries2 = _interopRequireDefault(_eachSeries); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * It runs each task in series but stops whenever any of the functions were + * successful. If one of the tasks were successful, the `callback` will be + * passed the result of the successful task. If all tasks fail, the callback + * will be passed the error and result (if any) of the final attempt. + * + * @name tryEach + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Array|Iterable|AsyncIterable|Object} tasks - A collection containing functions to + * run, each function is passed a `callback(err, result)` it must call on + * completion with an error `err` (which can be `null`) and an optional `result` + * value. + * @param {Function} [callback] - An optional callback which is called when one + * of the tasks has succeeded, or all have failed. It receives the `err` and + * `result` arguments of the last attempt at completing the `task`. Invoked with + * (err, results). + * @returns {Promise} a promise, if no callback is passed + * @example + * async.tryEach([ + * function getDataFromFirstWebsite(callback) { + * // Try getting the data from the first website + * callback(err, data); + * }, + * function getDataFromSecondWebsite(callback) { + * // First website failed, + * // Try getting the data from the backup website + * callback(err, data); + * } + * ], + * // optional callback + * function(err, results) { + * Now do something with the data. + * }); + * + */ +function tryEach(tasks, callback) { + var error = null; + var result; + return (0, _eachSeries2.default)(tasks, (task, taskCb) => { + (0, _wrapAsync2.default)(task)((err, ...args) => { + if (err === false) return taskCb(err); + + if (args.length < 2) { + [result] = args; + } else { + result = args; + } + error = err; + taskCb(err ? null : {}); + }); + }, () => callback(error, result)); +} + +exports.default = (0, _awaitify2.default)(tryEach); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/unmemoize.js b/node_modules/winston/node_modules/async/unmemoize.js new file mode 100644 index 0000000..badd7ae --- /dev/null +++ b/node_modules/winston/node_modules/async/unmemoize.js @@ -0,0 +1,25 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = unmemoize; +/** + * Undoes a [memoize]{@link module:Utils.memoize}d function, reverting it to the original, + * unmemoized form. Handy for testing. + * + * @name unmemoize + * @static + * @memberOf module:Utils + * @method + * @see [async.memoize]{@link module:Utils.memoize} + * @category Util + * @param {AsyncFunction} fn - the memoized function + * @returns {AsyncFunction} a function that calls the original unmemoized function + */ +function unmemoize(fn) { + return (...args) => { + return (fn.unmemoized || fn)(...args); + }; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/until.js b/node_modules/winston/node_modules/async/until.js new file mode 100644 index 0000000..4b69b97 --- /dev/null +++ b/node_modules/winston/node_modules/async/until.js @@ -0,0 +1,61 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = until; + +var _whilst = require('./whilst.js'); + +var _whilst2 = _interopRequireDefault(_whilst); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Repeatedly call `iteratee` until `test` returns `true`. Calls `callback` when + * stopped, or an error occurs. `callback` will be passed an error and any + * arguments passed to the final `iteratee`'s callback. + * + * The inverse of [whilst]{@link module:ControlFlow.whilst}. + * + * @name until + * @static + * @memberOf module:ControlFlow + * @method + * @see [async.whilst]{@link module:ControlFlow.whilst} + * @category Control Flow + * @param {AsyncFunction} test - asynchronous truth test to perform before each + * execution of `iteratee`. Invoked with (callback). + * @param {AsyncFunction} iteratee - An async function which is called each time + * `test` fails. Invoked with (callback). + * @param {Function} [callback] - A callback which is called after the test + * function has passed and repeated execution of `iteratee` has stopped. `callback` + * will be passed an error and any arguments passed to the final `iteratee`'s + * callback. Invoked with (err, [results]); + * @returns {Promise} a promise, if a callback is not passed + * + * @example + * const results = [] + * let finished = false + * async.until(function test(cb) { + * cb(null, finished) + * }, function iter(next) { + * fetchPage(url, (err, body) => { + * if (err) return next(err) + * results = results.concat(body.objects) + * finished = !!body.next + * next(err) + * }) + * }, function done (err) { + * // all pages have been fetched + * }) + */ +function until(test, iteratee, callback) { + const _test = (0, _wrapAsync2.default)(test); + return (0, _whilst2.default)(cb => _test((err, truth) => cb(err, !truth)), iteratee, callback); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/waterfall.js b/node_modules/winston/node_modules/async/waterfall.js new file mode 100644 index 0000000..c3242f7 --- /dev/null +++ b/node_modules/winston/node_modules/async/waterfall.js @@ -0,0 +1,105 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _once = require('./internal/once.js'); + +var _once2 = _interopRequireDefault(_once); + +var _onlyOnce = require('./internal/onlyOnce.js'); + +var _onlyOnce2 = _interopRequireDefault(_onlyOnce); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Runs the `tasks` array of functions in series, each passing their results to + * the next in the array. However, if any of the `tasks` pass an error to their + * own callback, the next function is not executed, and the main `callback` is + * immediately called with the error. + * + * @name waterfall + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {Array} tasks - An array of [async functions]{@link AsyncFunction} + * to run. + * Each function should complete with any number of `result` values. + * The `result` values will be passed as arguments, in order, to the next task. + * @param {Function} [callback] - An optional callback to run once all the + * functions have completed. This will be passed the results of the last task's + * callback. Invoked with (err, [results]). + * @returns {Promise} a promise, if a callback is omitted + * @example + * + * async.waterfall([ + * function(callback) { + * callback(null, 'one', 'two'); + * }, + * function(arg1, arg2, callback) { + * // arg1 now equals 'one' and arg2 now equals 'two' + * callback(null, 'three'); + * }, + * function(arg1, callback) { + * // arg1 now equals 'three' + * callback(null, 'done'); + * } + * ], function (err, result) { + * // result now equals 'done' + * }); + * + * // Or, with named functions: + * async.waterfall([ + * myFirstFunction, + * mySecondFunction, + * myLastFunction, + * ], function (err, result) { + * // result now equals 'done' + * }); + * function myFirstFunction(callback) { + * callback(null, 'one', 'two'); + * } + * function mySecondFunction(arg1, arg2, callback) { + * // arg1 now equals 'one' and arg2 now equals 'two' + * callback(null, 'three'); + * } + * function myLastFunction(arg1, callback) { + * // arg1 now equals 'three' + * callback(null, 'done'); + * } + */ +function waterfall(tasks, callback) { + callback = (0, _once2.default)(callback); + if (!Array.isArray(tasks)) return callback(new Error('First argument to waterfall must be an array of functions')); + if (!tasks.length) return callback(); + var taskIndex = 0; + + function nextTask(args) { + var task = (0, _wrapAsync2.default)(tasks[taskIndex++]); + task(...args, (0, _onlyOnce2.default)(next)); + } + + function next(err, ...args) { + if (err === false) return; + if (err || taskIndex === tasks.length) { + return callback(err, ...args); + } + nextTask(args); + } + + nextTask([]); +} + +exports.default = (0, _awaitify2.default)(waterfall); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/whilst.js b/node_modules/winston/node_modules/async/whilst.js new file mode 100644 index 0000000..4165543 --- /dev/null +++ b/node_modules/winston/node_modules/async/whilst.js @@ -0,0 +1,78 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _onlyOnce = require('./internal/onlyOnce.js'); + +var _onlyOnce2 = _interopRequireDefault(_onlyOnce); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +var _wrapAsync2 = _interopRequireDefault(_wrapAsync); + +var _awaitify = require('./internal/awaitify.js'); + +var _awaitify2 = _interopRequireDefault(_awaitify); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Repeatedly call `iteratee`, while `test` returns `true`. Calls `callback` when + * stopped, or an error occurs. + * + * @name whilst + * @static + * @memberOf module:ControlFlow + * @method + * @category Control Flow + * @param {AsyncFunction} test - asynchronous truth test to perform before each + * execution of `iteratee`. Invoked with (callback). + * @param {AsyncFunction} iteratee - An async function which is called each time + * `test` passes. Invoked with (callback). + * @param {Function} [callback] - A callback which is called after the test + * function has failed and repeated execution of `iteratee` has stopped. `callback` + * will be passed an error and any arguments passed to the final `iteratee`'s + * callback. Invoked with (err, [results]); + * @returns {Promise} a promise, if no callback is passed + * @example + * + * var count = 0; + * async.whilst( + * function test(cb) { cb(null, count < 5); }, + * function iter(callback) { + * count++; + * setTimeout(function() { + * callback(null, count); + * }, 1000); + * }, + * function (err, n) { + * // 5 seconds have passed, n = 5 + * } + * ); + */ +function whilst(test, iteratee, callback) { + callback = (0, _onlyOnce2.default)(callback); + var _fn = (0, _wrapAsync2.default)(iteratee); + var _test = (0, _wrapAsync2.default)(test); + var results = []; + + function next(err, ...rest) { + if (err) return callback(err); + results = rest; + if (err === false) return; + _test(check); + } + + function check(err, truth) { + if (err) return callback(err); + if (err === false) return; + if (!truth) return callback(null, ...results); + _fn(next); + } + + return _test(check); +} +exports.default = (0, _awaitify2.default)(whilst, 3); +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/node_modules/async/wrapSync.js b/node_modules/winston/node_modules/async/wrapSync.js new file mode 100644 index 0000000..ddc3f02 --- /dev/null +++ b/node_modules/winston/node_modules/async/wrapSync.js @@ -0,0 +1,118 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = asyncify; + +var _initialParams = require('./internal/initialParams.js'); + +var _initialParams2 = _interopRequireDefault(_initialParams); + +var _setImmediate = require('./internal/setImmediate.js'); + +var _setImmediate2 = _interopRequireDefault(_setImmediate); + +var _wrapAsync = require('./internal/wrapAsync.js'); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Take a sync function and make it async, passing its return value to a + * callback. This is useful for plugging sync functions into a waterfall, + * series, or other async functions. Any arguments passed to the generated + * function will be passed to the wrapped function (except for the final + * callback argument). Errors thrown will be passed to the callback. + * + * If the function passed to `asyncify` returns a Promise, that promises's + * resolved/rejected state will be used to call the callback, rather than simply + * the synchronous return value. + * + * This also means you can asyncify ES2017 `async` functions. + * + * @name asyncify + * @static + * @memberOf module:Utils + * @method + * @alias wrapSync + * @category Util + * @param {Function} func - The synchronous function, or Promise-returning + * function to convert to an {@link AsyncFunction}. + * @returns {AsyncFunction} An asynchronous wrapper of the `func`. To be + * invoked with `(args..., callback)`. + * @example + * + * // passing a regular synchronous function + * async.waterfall([ + * async.apply(fs.readFile, filename, "utf8"), + * async.asyncify(JSON.parse), + * function (data, next) { + * // data is the result of parsing the text. + * // If there was a parsing error, it would have been caught. + * } + * ], callback); + * + * // passing a function returning a promise + * async.waterfall([ + * async.apply(fs.readFile, filename, "utf8"), + * async.asyncify(function (contents) { + * return db.model.create(contents); + * }), + * function (model, next) { + * // `model` is the instantiated model object. + * // If there was an error, this function would be skipped. + * } + * ], callback); + * + * // es2017 example, though `asyncify` is not needed if your JS environment + * // supports async functions out of the box + * var q = async.queue(async.asyncify(async function(file) { + * var intermediateStep = await processFile(file); + * return await somePromise(intermediateStep) + * })); + * + * q.push(files); + */ +function asyncify(func) { + if ((0, _wrapAsync.isAsync)(func)) { + return function (...args /*, callback*/) { + const callback = args.pop(); + const promise = func.apply(this, args); + return handlePromise(promise, callback); + }; + } + + return (0, _initialParams2.default)(function (args, callback) { + var result; + try { + result = func.apply(this, args); + } catch (e) { + return callback(e); + } + // if result is Promise object + if (result && typeof result.then === 'function') { + return handlePromise(result, callback); + } else { + callback(null, result); + } + }); +} + +function handlePromise(promise, callback) { + return promise.then(value => { + invokeCallback(callback, null, value); + }, err => { + invokeCallback(callback, err && (err instanceof Error || err.message) ? err : new Error(err)); + }); +} + +function invokeCallback(callback, error, value) { + try { + callback(error, value); + } catch (err) { + (0, _setImmediate2.default)(e => { + throw e; + }, err); + } +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/winston/package.json b/node_modules/winston/package.json new file mode 100644 index 0000000..2a2236c --- /dev/null +++ b/node_modules/winston/package.json @@ -0,0 +1,74 @@ +{ + "name": "winston", + "description": "A logger for just about everything.", + "version": "3.19.0", + "author": "Charlie Robbins ", + "maintainers": [ + "David Hyde " + ], + "repository": { + "type": "git", + "url": "https://github.com/winstonjs/winston.git" + }, + "keywords": [ + "winston", + "logger", + "logging", + "logs", + "sysadmin", + "bunyan", + "pino", + "loglevel", + "tools", + "json", + "stream" + ], + "dependencies": { + "@dabh/diagnostics": "^2.0.8", + "@colors/colors": "^1.6.0", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.7.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.9.0" + }, + "devDependencies": { + "@babel/cli": "^7.23.9", + "@babel/core": "^7.24.0", + "@babel/preset-env": "^7.24.0", + "@dabh/eslint-config-populist": "^4.4.0", + "@types/node": "^20.11.24", + "abstract-winston-transport": "^0.5.1", + "assume": "^2.2.0", + "cross-spawn-async": "^2.2.5", + "eslint": "^8.57.0", + "hock": "^1.4.1", + "jest": "^29.7.0", + "rimraf": "5.0.10", + "split2": "^4.1.0", + "std-mocks": "^2.0.0", + "through2": "^4.0.2", + "winston-compat": "^0.1.5" + }, + "main": "./lib/winston.js", + "browser": "./dist/winston", + "types": "./index.d.ts", + "scripts": { + "lint": "eslint lib/*.js lib/winston/*.js lib/winston/**/*.js --resolve-plugins-relative-to ./node_modules/@dabh/eslint-config-populist", + "test": "jest", + "test:unit": "jest -c test/jest.config.unit.js", + "test:integration": "jest -c test/jest.config.integration.js", + "test:typescript": "npx --package typescript tsc --project test", + "build": "babel lib -d dist", + "prebuild": "rimraf dist", + "prepublishOnly": "npm run build" + }, + "engines": { + "node": ">= 12.0.0" + }, + "license": "MIT" +} diff --git a/node_modules/ws/LICENSE b/node_modules/ws/LICENSE new file mode 100644 index 0000000..1da5b96 --- /dev/null +++ b/node_modules/ws/LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2011 Einar Otto Stangvik +Copyright (c) 2013 Arnout Kazemier and contributors +Copyright (c) 2016 Luigi Pinca and contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/ws/README.md b/node_modules/ws/README.md new file mode 100644 index 0000000..21f10df --- /dev/null +++ b/node_modules/ws/README.md @@ -0,0 +1,548 @@ +# ws: a Node.js WebSocket library + +[![Version npm](https://img.shields.io/npm/v/ws.svg?logo=npm)](https://www.npmjs.com/package/ws) +[![CI](https://img.shields.io/github/actions/workflow/status/websockets/ws/ci.yml?branch=master&label=CI&logo=github)](https://github.com/websockets/ws/actions?query=workflow%3ACI+branch%3Amaster) +[![Coverage Status](https://img.shields.io/coveralls/websockets/ws/master.svg?logo=coveralls)](https://coveralls.io/github/websockets/ws) + +ws is a simple to use, blazing fast, and thoroughly tested WebSocket client and +server implementation. + +Passes the quite extensive Autobahn test suite: [server][server-report], +[client][client-report]. + +**Note**: This module does not work in the browser. The client in the docs is a +reference to a backend with the role of a client in the WebSocket communication. +Browser clients must use the native +[`WebSocket`](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket) +object. To make the same code work seamlessly on Node.js and the browser, you +can use one of the many wrappers available on npm, like +[isomorphic-ws](https://github.com/heineiuo/isomorphic-ws). + +## Table of Contents + +- [Protocol support](#protocol-support) +- [Installing](#installing) + - [Opt-in for performance](#opt-in-for-performance) + - [Legacy opt-in for performance](#legacy-opt-in-for-performance) +- [API docs](#api-docs) +- [WebSocket compression](#websocket-compression) +- [Usage examples](#usage-examples) + - [Sending and receiving text data](#sending-and-receiving-text-data) + - [Sending binary data](#sending-binary-data) + - [Simple server](#simple-server) + - [External HTTP/S server](#external-https-server) + - [Multiple servers sharing a single HTTP/S server](#multiple-servers-sharing-a-single-https-server) + - [Client authentication](#client-authentication) + - [Server broadcast](#server-broadcast) + - [Round-trip time](#round-trip-time) + - [Use the Node.js streams API](#use-the-nodejs-streams-api) + - [Other examples](#other-examples) +- [FAQ](#faq) + - [How to get the IP address of the client?](#how-to-get-the-ip-address-of-the-client) + - [How to detect and close broken connections?](#how-to-detect-and-close-broken-connections) + - [How to connect via a proxy?](#how-to-connect-via-a-proxy) +- [Changelog](#changelog) +- [License](#license) + +## Protocol support + +- **HyBi drafts 07-12** (Use the option `protocolVersion: 8`) +- **HyBi drafts 13-17** (Current default, alternatively option + `protocolVersion: 13`) + +## Installing + +``` +npm install ws +``` + +### Opt-in for performance + +[bufferutil][] is an optional module that can be installed alongside the ws +module: + +``` +npm install --save-optional bufferutil +``` + +This is a binary addon that improves the performance of certain operations such +as masking and unmasking the data payload of the WebSocket frames. Prebuilt +binaries are available for the most popular platforms, so you don't necessarily +need to have a C++ compiler installed on your machine. + +To force ws to not use bufferutil, use the +[`WS_NO_BUFFER_UTIL`](./doc/ws.md#ws_no_buffer_util) environment variable. This +can be useful to enhance security in systems where a user can put a package in +the package search path of an application of another user, due to how the +Node.js resolver algorithm works. + +#### Legacy opt-in for performance + +If you are running on an old version of Node.js (prior to v18.14.0), ws also +supports the [utf-8-validate][] module: + +``` +npm install --save-optional utf-8-validate +``` + +This contains a binary polyfill for [`buffer.isUtf8()`][]. + +To force ws not to use utf-8-validate, use the +[`WS_NO_UTF_8_VALIDATE`](./doc/ws.md#ws_no_utf_8_validate) environment variable. + +## API docs + +See [`/doc/ws.md`](./doc/ws.md) for Node.js-like documentation of ws classes and +utility functions. + +## WebSocket compression + +ws supports the [permessage-deflate extension][permessage-deflate] which enables +the client and server to negotiate a compression algorithm and its parameters, +and then selectively apply it to the data payloads of each WebSocket message. + +The extension is disabled by default on the server and enabled by default on the +client. It adds a significant overhead in terms of performance and memory +consumption so we suggest to enable it only if it is really needed. + +Note that Node.js has a variety of issues with high-performance compression, +where increased concurrency, especially on Linux, can lead to [catastrophic +memory fragmentation][node-zlib-bug] and slow performance. If you intend to use +permessage-deflate in production, it is worthwhile to set up a test +representative of your workload and ensure Node.js/zlib will handle it with +acceptable performance and memory usage. + +Tuning of permessage-deflate can be done via the options defined below. You can +also use `zlibDeflateOptions` and `zlibInflateOptions`, which is passed directly +into the creation of [raw deflate/inflate streams][node-zlib-deflaterawdocs]. + +See [the docs][ws-server-options] for more options. + +```js +import WebSocket, { WebSocketServer } from 'ws'; + +const wss = new WebSocketServer({ + port: 8080, + perMessageDeflate: { + zlibDeflateOptions: { + // See zlib defaults. + chunkSize: 1024, + memLevel: 7, + level: 3 + }, + zlibInflateOptions: { + chunkSize: 10 * 1024 + }, + // Other options settable: + clientNoContextTakeover: true, // Defaults to negotiated value. + serverNoContextTakeover: true, // Defaults to negotiated value. + serverMaxWindowBits: 10, // Defaults to negotiated value. + // Below options specified as default values. + concurrencyLimit: 10, // Limits zlib concurrency for perf. + threshold: 1024 // Size (in bytes) below which messages + // should not be compressed if context takeover is disabled. + } +}); +``` + +The client will only use the extension if it is supported and enabled on the +server. To always disable the extension on the client, set the +`perMessageDeflate` option to `false`. + +```js +import WebSocket from 'ws'; + +const ws = new WebSocket('ws://www.host.com/path', { + perMessageDeflate: false +}); +``` + +## Usage examples + +### Sending and receiving text data + +```js +import WebSocket from 'ws'; + +const ws = new WebSocket('ws://www.host.com/path'); + +ws.on('error', console.error); + +ws.on('open', function open() { + ws.send('something'); +}); + +ws.on('message', function message(data) { + console.log('received: %s', data); +}); +``` + +### Sending binary data + +```js +import WebSocket from 'ws'; + +const ws = new WebSocket('ws://www.host.com/path'); + +ws.on('error', console.error); + +ws.on('open', function open() { + const array = new Float32Array(5); + + for (var i = 0; i < array.length; ++i) { + array[i] = i / 2; + } + + ws.send(array); +}); +``` + +### Simple server + +```js +import { WebSocketServer } from 'ws'; + +const wss = new WebSocketServer({ port: 8080 }); + +wss.on('connection', function connection(ws) { + ws.on('error', console.error); + + ws.on('message', function message(data) { + console.log('received: %s', data); + }); + + ws.send('something'); +}); +``` + +### External HTTP/S server + +```js +import { createServer } from 'https'; +import { readFileSync } from 'fs'; +import { WebSocketServer } from 'ws'; + +const server = createServer({ + cert: readFileSync('/path/to/cert.pem'), + key: readFileSync('/path/to/key.pem') +}); +const wss = new WebSocketServer({ server }); + +wss.on('connection', function connection(ws) { + ws.on('error', console.error); + + ws.on('message', function message(data) { + console.log('received: %s', data); + }); + + ws.send('something'); +}); + +server.listen(8080); +``` + +### Multiple servers sharing a single HTTP/S server + +```js +import { createServer } from 'http'; +import { WebSocketServer } from 'ws'; + +const server = createServer(); +const wss1 = new WebSocketServer({ noServer: true }); +const wss2 = new WebSocketServer({ noServer: true }); + +wss1.on('connection', function connection(ws) { + ws.on('error', console.error); + + // ... +}); + +wss2.on('connection', function connection(ws) { + ws.on('error', console.error); + + // ... +}); + +server.on('upgrade', function upgrade(request, socket, head) { + const { pathname } = new URL(request.url, 'wss://base.url'); + + if (pathname === '/foo') { + wss1.handleUpgrade(request, socket, head, function done(ws) { + wss1.emit('connection', ws, request); + }); + } else if (pathname === '/bar') { + wss2.handleUpgrade(request, socket, head, function done(ws) { + wss2.emit('connection', ws, request); + }); + } else { + socket.destroy(); + } +}); + +server.listen(8080); +``` + +### Client authentication + +```js +import { createServer } from 'http'; +import { WebSocketServer } from 'ws'; + +function onSocketError(err) { + console.error(err); +} + +const server = createServer(); +const wss = new WebSocketServer({ noServer: true }); + +wss.on('connection', function connection(ws, request, client) { + ws.on('error', console.error); + + ws.on('message', function message(data) { + console.log(`Received message ${data} from user ${client}`); + }); +}); + +server.on('upgrade', function upgrade(request, socket, head) { + socket.on('error', onSocketError); + + // This function is not defined on purpose. Implement it with your own logic. + authenticate(request, function next(err, client) { + if (err || !client) { + socket.write('HTTP/1.1 401 Unauthorized\r\n\r\n'); + socket.destroy(); + return; + } + + socket.removeListener('error', onSocketError); + + wss.handleUpgrade(request, socket, head, function done(ws) { + wss.emit('connection', ws, request, client); + }); + }); +}); + +server.listen(8080); +``` + +Also see the provided [example][session-parse-example] using `express-session`. + +### Server broadcast + +A client WebSocket broadcasting to all connected WebSocket clients, including +itself. + +```js +import WebSocket, { WebSocketServer } from 'ws'; + +const wss = new WebSocketServer({ port: 8080 }); + +wss.on('connection', function connection(ws) { + ws.on('error', console.error); + + ws.on('message', function message(data, isBinary) { + wss.clients.forEach(function each(client) { + if (client.readyState === WebSocket.OPEN) { + client.send(data, { binary: isBinary }); + } + }); + }); +}); +``` + +A client WebSocket broadcasting to every other connected WebSocket clients, +excluding itself. + +```js +import WebSocket, { WebSocketServer } from 'ws'; + +const wss = new WebSocketServer({ port: 8080 }); + +wss.on('connection', function connection(ws) { + ws.on('error', console.error); + + ws.on('message', function message(data, isBinary) { + wss.clients.forEach(function each(client) { + if (client !== ws && client.readyState === WebSocket.OPEN) { + client.send(data, { binary: isBinary }); + } + }); + }); +}); +``` + +### Round-trip time + +```js +import WebSocket from 'ws'; + +const ws = new WebSocket('wss://websocket-echo.com/'); + +ws.on('error', console.error); + +ws.on('open', function open() { + console.log('connected'); + ws.send(Date.now()); +}); + +ws.on('close', function close() { + console.log('disconnected'); +}); + +ws.on('message', function message(data) { + console.log(`Round-trip time: ${Date.now() - data} ms`); + + setTimeout(function timeout() { + ws.send(Date.now()); + }, 500); +}); +``` + +### Use the Node.js streams API + +```js +import WebSocket, { createWebSocketStream } from 'ws'; + +const ws = new WebSocket('wss://websocket-echo.com/'); + +const duplex = createWebSocketStream(ws, { encoding: 'utf8' }); + +duplex.on('error', console.error); + +duplex.pipe(process.stdout); +process.stdin.pipe(duplex); +``` + +### Other examples + +For a full example with a browser client communicating with a ws server, see the +examples folder. + +Otherwise, see the test cases. + +## FAQ + +### How to get the IP address of the client? + +The remote IP address can be obtained from the raw socket. + +```js +import { WebSocketServer } from 'ws'; + +const wss = new WebSocketServer({ port: 8080 }); + +wss.on('connection', function connection(ws, req) { + const ip = req.socket.remoteAddress; + + ws.on('error', console.error); +}); +``` + +When the server runs behind a proxy like NGINX, the de-facto standard is to use +the `X-Forwarded-For` header. + +```js +wss.on('connection', function connection(ws, req) { + const ip = req.headers['x-forwarded-for'].split(',')[0].trim(); + + ws.on('error', console.error); +}); +``` + +### How to detect and close broken connections? + +Sometimes, the link between the server and the client can be interrupted in a +way that keeps both the server and the client unaware of the broken state of the +connection (e.g. when pulling the cord). + +In these cases, ping messages can be used as a means to verify that the remote +endpoint is still responsive. + +```js +import { WebSocketServer } from 'ws'; + +function heartbeat() { + this.isAlive = true; +} + +const wss = new WebSocketServer({ port: 8080 }); + +wss.on('connection', function connection(ws) { + ws.isAlive = true; + ws.on('error', console.error); + ws.on('pong', heartbeat); +}); + +const interval = setInterval(function ping() { + wss.clients.forEach(function each(ws) { + if (ws.isAlive === false) return ws.terminate(); + + ws.isAlive = false; + ws.ping(); + }); +}, 30000); + +wss.on('close', function close() { + clearInterval(interval); +}); +``` + +Pong messages are automatically sent in response to ping messages as required by +the spec. + +Just like the server example above, your clients might as well lose connection +without knowing it. You might want to add a ping listener on your clients to +prevent that. A simple implementation would be: + +```js +import WebSocket from 'ws'; + +function heartbeat() { + clearTimeout(this.pingTimeout); + + // Use `WebSocket#terminate()`, which immediately destroys the connection, + // instead of `WebSocket#close()`, which waits for the close timer. + // Delay should be equal to the interval at which your server + // sends out pings plus a conservative assumption of the latency. + this.pingTimeout = setTimeout(() => { + this.terminate(); + }, 30000 + 1000); +} + +const client = new WebSocket('wss://websocket-echo.com/'); + +client.on('error', console.error); +client.on('open', heartbeat); +client.on('ping', heartbeat); +client.on('close', function clear() { + clearTimeout(this.pingTimeout); +}); +``` + +### How to connect via a proxy? + +Use a custom `http.Agent` implementation like [https-proxy-agent][] or +[socks-proxy-agent][]. + +## Changelog + +We're using the GitHub [releases][changelog] for changelog entries. + +## License + +[MIT](LICENSE) + +[`buffer.isutf8()`]: https://nodejs.org/api/buffer.html#bufferisutf8input +[bufferutil]: https://github.com/websockets/bufferutil +[changelog]: https://github.com/websockets/ws/releases +[client-report]: http://websockets.github.io/ws/autobahn/clients/ +[https-proxy-agent]: https://github.com/TooTallNate/node-https-proxy-agent +[node-zlib-bug]: https://github.com/nodejs/node/issues/8871 +[node-zlib-deflaterawdocs]: + https://nodejs.org/api/zlib.html#zlib_zlib_createdeflateraw_options +[permessage-deflate]: https://tools.ietf.org/html/rfc7692 +[server-report]: http://websockets.github.io/ws/autobahn/servers/ +[session-parse-example]: ./examples/express-session-parse +[socks-proxy-agent]: https://github.com/TooTallNate/node-socks-proxy-agent +[utf-8-validate]: https://github.com/websockets/utf-8-validate +[ws-server-options]: ./doc/ws.md#new-websocketserveroptions-callback diff --git a/node_modules/ws/browser.js b/node_modules/ws/browser.js new file mode 100644 index 0000000..ca4f628 --- /dev/null +++ b/node_modules/ws/browser.js @@ -0,0 +1,8 @@ +'use strict'; + +module.exports = function () { + throw new Error( + 'ws does not work in the browser. Browser clients must use the native ' + + 'WebSocket object' + ); +}; diff --git a/node_modules/ws/index.js b/node_modules/ws/index.js new file mode 100644 index 0000000..3fdb7b2 --- /dev/null +++ b/node_modules/ws/index.js @@ -0,0 +1,22 @@ +'use strict'; + +const createWebSocketStream = require('./lib/stream'); +const extension = require('./lib/extension'); +const PerMessageDeflate = require('./lib/permessage-deflate'); +const Receiver = require('./lib/receiver'); +const Sender = require('./lib/sender'); +const subprotocol = require('./lib/subprotocol'); +const WebSocket = require('./lib/websocket'); +const WebSocketServer = require('./lib/websocket-server'); + +WebSocket.createWebSocketStream = createWebSocketStream; +WebSocket.extension = extension; +WebSocket.PerMessageDeflate = PerMessageDeflate; +WebSocket.Receiver = Receiver; +WebSocket.Sender = Sender; +WebSocket.Server = WebSocketServer; +WebSocket.subprotocol = subprotocol; +WebSocket.WebSocket = WebSocket; +WebSocket.WebSocketServer = WebSocketServer; + +module.exports = WebSocket; diff --git a/node_modules/ws/lib/buffer-util.js b/node_modules/ws/lib/buffer-util.js new file mode 100644 index 0000000..f7536e2 --- /dev/null +++ b/node_modules/ws/lib/buffer-util.js @@ -0,0 +1,131 @@ +'use strict'; + +const { EMPTY_BUFFER } = require('./constants'); + +const FastBuffer = Buffer[Symbol.species]; + +/** + * Merges an array of buffers into a new buffer. + * + * @param {Buffer[]} list The array of buffers to concat + * @param {Number} totalLength The total length of buffers in the list + * @return {Buffer} The resulting buffer + * @public + */ +function concat(list, totalLength) { + if (list.length === 0) return EMPTY_BUFFER; + if (list.length === 1) return list[0]; + + const target = Buffer.allocUnsafe(totalLength); + let offset = 0; + + for (let i = 0; i < list.length; i++) { + const buf = list[i]; + target.set(buf, offset); + offset += buf.length; + } + + if (offset < totalLength) { + return new FastBuffer(target.buffer, target.byteOffset, offset); + } + + return target; +} + +/** + * Masks a buffer using the given mask. + * + * @param {Buffer} source The buffer to mask + * @param {Buffer} mask The mask to use + * @param {Buffer} output The buffer where to store the result + * @param {Number} offset The offset at which to start writing + * @param {Number} length The number of bytes to mask. + * @public + */ +function _mask(source, mask, output, offset, length) { + for (let i = 0; i < length; i++) { + output[offset + i] = source[i] ^ mask[i & 3]; + } +} + +/** + * Unmasks a buffer using the given mask. + * + * @param {Buffer} buffer The buffer to unmask + * @param {Buffer} mask The mask to use + * @public + */ +function _unmask(buffer, mask) { + for (let i = 0; i < buffer.length; i++) { + buffer[i] ^= mask[i & 3]; + } +} + +/** + * Converts a buffer to an `ArrayBuffer`. + * + * @param {Buffer} buf The buffer to convert + * @return {ArrayBuffer} Converted buffer + * @public + */ +function toArrayBuffer(buf) { + if (buf.length === buf.buffer.byteLength) { + return buf.buffer; + } + + return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.length); +} + +/** + * Converts `data` to a `Buffer`. + * + * @param {*} data The data to convert + * @return {Buffer} The buffer + * @throws {TypeError} + * @public + */ +function toBuffer(data) { + toBuffer.readOnly = true; + + if (Buffer.isBuffer(data)) return data; + + let buf; + + if (data instanceof ArrayBuffer) { + buf = new FastBuffer(data); + } else if (ArrayBuffer.isView(data)) { + buf = new FastBuffer(data.buffer, data.byteOffset, data.byteLength); + } else { + buf = Buffer.from(data); + toBuffer.readOnly = false; + } + + return buf; +} + +module.exports = { + concat, + mask: _mask, + toArrayBuffer, + toBuffer, + unmask: _unmask +}; + +/* istanbul ignore else */ +if (!process.env.WS_NO_BUFFER_UTIL) { + try { + const bufferUtil = require('bufferutil'); + + module.exports.mask = function (source, mask, output, offset, length) { + if (length < 48) _mask(source, mask, output, offset, length); + else bufferUtil.mask(source, mask, output, offset, length); + }; + + module.exports.unmask = function (buffer, mask) { + if (buffer.length < 32) _unmask(buffer, mask); + else bufferUtil.unmask(buffer, mask); + }; + } catch (e) { + // Continue regardless of the error. + } +} diff --git a/node_modules/ws/lib/constants.js b/node_modules/ws/lib/constants.js new file mode 100644 index 0000000..69b2fe3 --- /dev/null +++ b/node_modules/ws/lib/constants.js @@ -0,0 +1,19 @@ +'use strict'; + +const BINARY_TYPES = ['nodebuffer', 'arraybuffer', 'fragments']; +const hasBlob = typeof Blob !== 'undefined'; + +if (hasBlob) BINARY_TYPES.push('blob'); + +module.exports = { + BINARY_TYPES, + CLOSE_TIMEOUT: 30000, + EMPTY_BUFFER: Buffer.alloc(0), + GUID: '258EAFA5-E914-47DA-95CA-C5AB0DC85B11', + hasBlob, + kForOnEventAttribute: Symbol('kIsForOnEventAttribute'), + kListener: Symbol('kListener'), + kStatusCode: Symbol('status-code'), + kWebSocket: Symbol('websocket'), + NOOP: () => {} +}; diff --git a/node_modules/ws/lib/event-target.js b/node_modules/ws/lib/event-target.js new file mode 100644 index 0000000..fea4cbc --- /dev/null +++ b/node_modules/ws/lib/event-target.js @@ -0,0 +1,292 @@ +'use strict'; + +const { kForOnEventAttribute, kListener } = require('./constants'); + +const kCode = Symbol('kCode'); +const kData = Symbol('kData'); +const kError = Symbol('kError'); +const kMessage = Symbol('kMessage'); +const kReason = Symbol('kReason'); +const kTarget = Symbol('kTarget'); +const kType = Symbol('kType'); +const kWasClean = Symbol('kWasClean'); + +/** + * Class representing an event. + */ +class Event { + /** + * Create a new `Event`. + * + * @param {String} type The name of the event + * @throws {TypeError} If the `type` argument is not specified + */ + constructor(type) { + this[kTarget] = null; + this[kType] = type; + } + + /** + * @type {*} + */ + get target() { + return this[kTarget]; + } + + /** + * @type {String} + */ + get type() { + return this[kType]; + } +} + +Object.defineProperty(Event.prototype, 'target', { enumerable: true }); +Object.defineProperty(Event.prototype, 'type', { enumerable: true }); + +/** + * Class representing a close event. + * + * @extends Event + */ +class CloseEvent extends Event { + /** + * Create a new `CloseEvent`. + * + * @param {String} type The name of the event + * @param {Object} [options] A dictionary object that allows for setting + * attributes via object members of the same name + * @param {Number} [options.code=0] The status code explaining why the + * connection was closed + * @param {String} [options.reason=''] A human-readable string explaining why + * the connection was closed + * @param {Boolean} [options.wasClean=false] Indicates whether or not the + * connection was cleanly closed + */ + constructor(type, options = {}) { + super(type); + + this[kCode] = options.code === undefined ? 0 : options.code; + this[kReason] = options.reason === undefined ? '' : options.reason; + this[kWasClean] = options.wasClean === undefined ? false : options.wasClean; + } + + /** + * @type {Number} + */ + get code() { + return this[kCode]; + } + + /** + * @type {String} + */ + get reason() { + return this[kReason]; + } + + /** + * @type {Boolean} + */ + get wasClean() { + return this[kWasClean]; + } +} + +Object.defineProperty(CloseEvent.prototype, 'code', { enumerable: true }); +Object.defineProperty(CloseEvent.prototype, 'reason', { enumerable: true }); +Object.defineProperty(CloseEvent.prototype, 'wasClean', { enumerable: true }); + +/** + * Class representing an error event. + * + * @extends Event + */ +class ErrorEvent extends Event { + /** + * Create a new `ErrorEvent`. + * + * @param {String} type The name of the event + * @param {Object} [options] A dictionary object that allows for setting + * attributes via object members of the same name + * @param {*} [options.error=null] The error that generated this event + * @param {String} [options.message=''] The error message + */ + constructor(type, options = {}) { + super(type); + + this[kError] = options.error === undefined ? null : options.error; + this[kMessage] = options.message === undefined ? '' : options.message; + } + + /** + * @type {*} + */ + get error() { + return this[kError]; + } + + /** + * @type {String} + */ + get message() { + return this[kMessage]; + } +} + +Object.defineProperty(ErrorEvent.prototype, 'error', { enumerable: true }); +Object.defineProperty(ErrorEvent.prototype, 'message', { enumerable: true }); + +/** + * Class representing a message event. + * + * @extends Event + */ +class MessageEvent extends Event { + /** + * Create a new `MessageEvent`. + * + * @param {String} type The name of the event + * @param {Object} [options] A dictionary object that allows for setting + * attributes via object members of the same name + * @param {*} [options.data=null] The message content + */ + constructor(type, options = {}) { + super(type); + + this[kData] = options.data === undefined ? null : options.data; + } + + /** + * @type {*} + */ + get data() { + return this[kData]; + } +} + +Object.defineProperty(MessageEvent.prototype, 'data', { enumerable: true }); + +/** + * This provides methods for emulating the `EventTarget` interface. It's not + * meant to be used directly. + * + * @mixin + */ +const EventTarget = { + /** + * Register an event listener. + * + * @param {String} type A string representing the event type to listen for + * @param {(Function|Object)} handler The listener to add + * @param {Object} [options] An options object specifies characteristics about + * the event listener + * @param {Boolean} [options.once=false] A `Boolean` indicating that the + * listener should be invoked at most once after being added. If `true`, + * the listener would be automatically removed when invoked. + * @public + */ + addEventListener(type, handler, options = {}) { + for (const listener of this.listeners(type)) { + if ( + !options[kForOnEventAttribute] && + listener[kListener] === handler && + !listener[kForOnEventAttribute] + ) { + return; + } + } + + let wrapper; + + if (type === 'message') { + wrapper = function onMessage(data, isBinary) { + const event = new MessageEvent('message', { + data: isBinary ? data : data.toString() + }); + + event[kTarget] = this; + callListener(handler, this, event); + }; + } else if (type === 'close') { + wrapper = function onClose(code, message) { + const event = new CloseEvent('close', { + code, + reason: message.toString(), + wasClean: this._closeFrameReceived && this._closeFrameSent + }); + + event[kTarget] = this; + callListener(handler, this, event); + }; + } else if (type === 'error') { + wrapper = function onError(error) { + const event = new ErrorEvent('error', { + error, + message: error.message + }); + + event[kTarget] = this; + callListener(handler, this, event); + }; + } else if (type === 'open') { + wrapper = function onOpen() { + const event = new Event('open'); + + event[kTarget] = this; + callListener(handler, this, event); + }; + } else { + return; + } + + wrapper[kForOnEventAttribute] = !!options[kForOnEventAttribute]; + wrapper[kListener] = handler; + + if (options.once) { + this.once(type, wrapper); + } else { + this.on(type, wrapper); + } + }, + + /** + * Remove an event listener. + * + * @param {String} type A string representing the event type to remove + * @param {(Function|Object)} handler The listener to remove + * @public + */ + removeEventListener(type, handler) { + for (const listener of this.listeners(type)) { + if (listener[kListener] === handler && !listener[kForOnEventAttribute]) { + this.removeListener(type, listener); + break; + } + } + } +}; + +module.exports = { + CloseEvent, + ErrorEvent, + Event, + EventTarget, + MessageEvent +}; + +/** + * Call an event listener + * + * @param {(Function|Object)} listener The listener to call + * @param {*} thisArg The value to use as `this`` when calling the listener + * @param {Event} event The event to pass to the listener + * @private + */ +function callListener(listener, thisArg, event) { + if (typeof listener === 'object' && listener.handleEvent) { + listener.handleEvent.call(listener, event); + } else { + listener.call(thisArg, event); + } +} diff --git a/node_modules/ws/lib/extension.js b/node_modules/ws/lib/extension.js new file mode 100644 index 0000000..3d7895c --- /dev/null +++ b/node_modules/ws/lib/extension.js @@ -0,0 +1,203 @@ +'use strict'; + +const { tokenChars } = require('./validation'); + +/** + * Adds an offer to the map of extension offers or a parameter to the map of + * parameters. + * + * @param {Object} dest The map of extension offers or parameters + * @param {String} name The extension or parameter name + * @param {(Object|Boolean|String)} elem The extension parameters or the + * parameter value + * @private + */ +function push(dest, name, elem) { + if (dest[name] === undefined) dest[name] = [elem]; + else dest[name].push(elem); +} + +/** + * Parses the `Sec-WebSocket-Extensions` header into an object. + * + * @param {String} header The field value of the header + * @return {Object} The parsed object + * @public + */ +function parse(header) { + const offers = Object.create(null); + let params = Object.create(null); + let mustUnescape = false; + let isEscaping = false; + let inQuotes = false; + let extensionName; + let paramName; + let start = -1; + let code = -1; + let end = -1; + let i = 0; + + for (; i < header.length; i++) { + code = header.charCodeAt(i); + + if (extensionName === undefined) { + if (end === -1 && tokenChars[code] === 1) { + if (start === -1) start = i; + } else if ( + i !== 0 && + (code === 0x20 /* ' ' */ || code === 0x09) /* '\t' */ + ) { + if (end === -1 && start !== -1) end = i; + } else if (code === 0x3b /* ';' */ || code === 0x2c /* ',' */) { + if (start === -1) { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + + if (end === -1) end = i; + const name = header.slice(start, end); + if (code === 0x2c) { + push(offers, name, params); + params = Object.create(null); + } else { + extensionName = name; + } + + start = end = -1; + } else { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + } else if (paramName === undefined) { + if (end === -1 && tokenChars[code] === 1) { + if (start === -1) start = i; + } else if (code === 0x20 || code === 0x09) { + if (end === -1 && start !== -1) end = i; + } else if (code === 0x3b || code === 0x2c) { + if (start === -1) { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + + if (end === -1) end = i; + push(params, header.slice(start, end), true); + if (code === 0x2c) { + push(offers, extensionName, params); + params = Object.create(null); + extensionName = undefined; + } + + start = end = -1; + } else if (code === 0x3d /* '=' */ && start !== -1 && end === -1) { + paramName = header.slice(start, i); + start = end = -1; + } else { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + } else { + // + // The value of a quoted-string after unescaping must conform to the + // token ABNF, so only token characters are valid. + // Ref: https://tools.ietf.org/html/rfc6455#section-9.1 + // + if (isEscaping) { + if (tokenChars[code] !== 1) { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + if (start === -1) start = i; + else if (!mustUnescape) mustUnescape = true; + isEscaping = false; + } else if (inQuotes) { + if (tokenChars[code] === 1) { + if (start === -1) start = i; + } else if (code === 0x22 /* '"' */ && start !== -1) { + inQuotes = false; + end = i; + } else if (code === 0x5c /* '\' */) { + isEscaping = true; + } else { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + } else if (code === 0x22 && header.charCodeAt(i - 1) === 0x3d) { + inQuotes = true; + } else if (end === -1 && tokenChars[code] === 1) { + if (start === -1) start = i; + } else if (start !== -1 && (code === 0x20 || code === 0x09)) { + if (end === -1) end = i; + } else if (code === 0x3b || code === 0x2c) { + if (start === -1) { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + + if (end === -1) end = i; + let value = header.slice(start, end); + if (mustUnescape) { + value = value.replace(/\\/g, ''); + mustUnescape = false; + } + push(params, paramName, value); + if (code === 0x2c) { + push(offers, extensionName, params); + params = Object.create(null); + extensionName = undefined; + } + + paramName = undefined; + start = end = -1; + } else { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + } + } + + if (start === -1 || inQuotes || code === 0x20 || code === 0x09) { + throw new SyntaxError('Unexpected end of input'); + } + + if (end === -1) end = i; + const token = header.slice(start, end); + if (extensionName === undefined) { + push(offers, token, params); + } else { + if (paramName === undefined) { + push(params, token, true); + } else if (mustUnescape) { + push(params, paramName, token.replace(/\\/g, '')); + } else { + push(params, paramName, token); + } + push(offers, extensionName, params); + } + + return offers; +} + +/** + * Builds the `Sec-WebSocket-Extensions` header field value. + * + * @param {Object} extensions The map of extensions and parameters to format + * @return {String} A string representing the given object + * @public + */ +function format(extensions) { + return Object.keys(extensions) + .map((extension) => { + let configurations = extensions[extension]; + if (!Array.isArray(configurations)) configurations = [configurations]; + return configurations + .map((params) => { + return [extension] + .concat( + Object.keys(params).map((k) => { + let values = params[k]; + if (!Array.isArray(values)) values = [values]; + return values + .map((v) => (v === true ? k : `${k}=${v}`)) + .join('; '); + }) + ) + .join('; '); + }) + .join(', '); + }) + .join(', '); +} + +module.exports = { format, parse }; diff --git a/node_modules/ws/lib/limiter.js b/node_modules/ws/lib/limiter.js new file mode 100644 index 0000000..3fd3578 --- /dev/null +++ b/node_modules/ws/lib/limiter.js @@ -0,0 +1,55 @@ +'use strict'; + +const kDone = Symbol('kDone'); +const kRun = Symbol('kRun'); + +/** + * A very simple job queue with adjustable concurrency. Adapted from + * https://github.com/STRML/async-limiter + */ +class Limiter { + /** + * Creates a new `Limiter`. + * + * @param {Number} [concurrency=Infinity] The maximum number of jobs allowed + * to run concurrently + */ + constructor(concurrency) { + this[kDone] = () => { + this.pending--; + this[kRun](); + }; + this.concurrency = concurrency || Infinity; + this.jobs = []; + this.pending = 0; + } + + /** + * Adds a job to the queue. + * + * @param {Function} job The job to run + * @public + */ + add(job) { + this.jobs.push(job); + this[kRun](); + } + + /** + * Removes a job from the queue and runs it if possible. + * + * @private + */ + [kRun]() { + if (this.pending === this.concurrency) return; + + if (this.jobs.length) { + const job = this.jobs.shift(); + + this.pending++; + job(this[kDone]); + } + } +} + +module.exports = Limiter; diff --git a/node_modules/ws/lib/permessage-deflate.js b/node_modules/ws/lib/permessage-deflate.js new file mode 100644 index 0000000..aa5db76 --- /dev/null +++ b/node_modules/ws/lib/permessage-deflate.js @@ -0,0 +1,528 @@ +'use strict'; + +const zlib = require('zlib'); + +const bufferUtil = require('./buffer-util'); +const Limiter = require('./limiter'); +const { kStatusCode } = require('./constants'); + +const FastBuffer = Buffer[Symbol.species]; +const TRAILER = Buffer.from([0x00, 0x00, 0xff, 0xff]); +const kPerMessageDeflate = Symbol('permessage-deflate'); +const kTotalLength = Symbol('total-length'); +const kCallback = Symbol('callback'); +const kBuffers = Symbol('buffers'); +const kError = Symbol('error'); + +// +// We limit zlib concurrency, which prevents severe memory fragmentation +// as documented in https://github.com/nodejs/node/issues/8871#issuecomment-250915913 +// and https://github.com/websockets/ws/issues/1202 +// +// Intentionally global; it's the global thread pool that's an issue. +// +let zlibLimiter; + +/** + * permessage-deflate implementation. + */ +class PerMessageDeflate { + /** + * Creates a PerMessageDeflate instance. + * + * @param {Object} [options] Configuration options + * @param {(Boolean|Number)} [options.clientMaxWindowBits] Advertise support + * for, or request, a custom client window size + * @param {Boolean} [options.clientNoContextTakeover=false] Advertise/ + * acknowledge disabling of client context takeover + * @param {Number} [options.concurrencyLimit=10] The number of concurrent + * calls to zlib + * @param {Boolean} [options.isServer=false] Create the instance in either + * server or client mode + * @param {Number} [options.maxPayload=0] The maximum allowed message length + * @param {(Boolean|Number)} [options.serverMaxWindowBits] Request/confirm the + * use of a custom server window size + * @param {Boolean} [options.serverNoContextTakeover=false] Request/accept + * disabling of server context takeover + * @param {Number} [options.threshold=1024] Size (in bytes) below which + * messages should not be compressed if context takeover is disabled + * @param {Object} [options.zlibDeflateOptions] Options to pass to zlib on + * deflate + * @param {Object} [options.zlibInflateOptions] Options to pass to zlib on + * inflate + */ + constructor(options) { + this._options = options || {}; + this._threshold = + this._options.threshold !== undefined ? this._options.threshold : 1024; + this._maxPayload = this._options.maxPayload | 0; + this._isServer = !!this._options.isServer; + this._deflate = null; + this._inflate = null; + + this.params = null; + + if (!zlibLimiter) { + const concurrency = + this._options.concurrencyLimit !== undefined + ? this._options.concurrencyLimit + : 10; + zlibLimiter = new Limiter(concurrency); + } + } + + /** + * @type {String} + */ + static get extensionName() { + return 'permessage-deflate'; + } + + /** + * Create an extension negotiation offer. + * + * @return {Object} Extension parameters + * @public + */ + offer() { + const params = {}; + + if (this._options.serverNoContextTakeover) { + params.server_no_context_takeover = true; + } + if (this._options.clientNoContextTakeover) { + params.client_no_context_takeover = true; + } + if (this._options.serverMaxWindowBits) { + params.server_max_window_bits = this._options.serverMaxWindowBits; + } + if (this._options.clientMaxWindowBits) { + params.client_max_window_bits = this._options.clientMaxWindowBits; + } else if (this._options.clientMaxWindowBits == null) { + params.client_max_window_bits = true; + } + + return params; + } + + /** + * Accept an extension negotiation offer/response. + * + * @param {Array} configurations The extension negotiation offers/reponse + * @return {Object} Accepted configuration + * @public + */ + accept(configurations) { + configurations = this.normalizeParams(configurations); + + this.params = this._isServer + ? this.acceptAsServer(configurations) + : this.acceptAsClient(configurations); + + return this.params; + } + + /** + * Releases all resources used by the extension. + * + * @public + */ + cleanup() { + if (this._inflate) { + this._inflate.close(); + this._inflate = null; + } + + if (this._deflate) { + const callback = this._deflate[kCallback]; + + this._deflate.close(); + this._deflate = null; + + if (callback) { + callback( + new Error( + 'The deflate stream was closed while data was being processed' + ) + ); + } + } + } + + /** + * Accept an extension negotiation offer. + * + * @param {Array} offers The extension negotiation offers + * @return {Object} Accepted configuration + * @private + */ + acceptAsServer(offers) { + const opts = this._options; + const accepted = offers.find((params) => { + if ( + (opts.serverNoContextTakeover === false && + params.server_no_context_takeover) || + (params.server_max_window_bits && + (opts.serverMaxWindowBits === false || + (typeof opts.serverMaxWindowBits === 'number' && + opts.serverMaxWindowBits > params.server_max_window_bits))) || + (typeof opts.clientMaxWindowBits === 'number' && + !params.client_max_window_bits) + ) { + return false; + } + + return true; + }); + + if (!accepted) { + throw new Error('None of the extension offers can be accepted'); + } + + if (opts.serverNoContextTakeover) { + accepted.server_no_context_takeover = true; + } + if (opts.clientNoContextTakeover) { + accepted.client_no_context_takeover = true; + } + if (typeof opts.serverMaxWindowBits === 'number') { + accepted.server_max_window_bits = opts.serverMaxWindowBits; + } + if (typeof opts.clientMaxWindowBits === 'number') { + accepted.client_max_window_bits = opts.clientMaxWindowBits; + } else if ( + accepted.client_max_window_bits === true || + opts.clientMaxWindowBits === false + ) { + delete accepted.client_max_window_bits; + } + + return accepted; + } + + /** + * Accept the extension negotiation response. + * + * @param {Array} response The extension negotiation response + * @return {Object} Accepted configuration + * @private + */ + acceptAsClient(response) { + const params = response[0]; + + if ( + this._options.clientNoContextTakeover === false && + params.client_no_context_takeover + ) { + throw new Error('Unexpected parameter "client_no_context_takeover"'); + } + + if (!params.client_max_window_bits) { + if (typeof this._options.clientMaxWindowBits === 'number') { + params.client_max_window_bits = this._options.clientMaxWindowBits; + } + } else if ( + this._options.clientMaxWindowBits === false || + (typeof this._options.clientMaxWindowBits === 'number' && + params.client_max_window_bits > this._options.clientMaxWindowBits) + ) { + throw new Error( + 'Unexpected or invalid parameter "client_max_window_bits"' + ); + } + + return params; + } + + /** + * Normalize parameters. + * + * @param {Array} configurations The extension negotiation offers/reponse + * @return {Array} The offers/response with normalized parameters + * @private + */ + normalizeParams(configurations) { + configurations.forEach((params) => { + Object.keys(params).forEach((key) => { + let value = params[key]; + + if (value.length > 1) { + throw new Error(`Parameter "${key}" must have only a single value`); + } + + value = value[0]; + + if (key === 'client_max_window_bits') { + if (value !== true) { + const num = +value; + if (!Number.isInteger(num) || num < 8 || num > 15) { + throw new TypeError( + `Invalid value for parameter "${key}": ${value}` + ); + } + value = num; + } else if (!this._isServer) { + throw new TypeError( + `Invalid value for parameter "${key}": ${value}` + ); + } + } else if (key === 'server_max_window_bits') { + const num = +value; + if (!Number.isInteger(num) || num < 8 || num > 15) { + throw new TypeError( + `Invalid value for parameter "${key}": ${value}` + ); + } + value = num; + } else if ( + key === 'client_no_context_takeover' || + key === 'server_no_context_takeover' + ) { + if (value !== true) { + throw new TypeError( + `Invalid value for parameter "${key}": ${value}` + ); + } + } else { + throw new Error(`Unknown parameter "${key}"`); + } + + params[key] = value; + }); + }); + + return configurations; + } + + /** + * Decompress data. Concurrency limited. + * + * @param {Buffer} data Compressed data + * @param {Boolean} fin Specifies whether or not this is the last fragment + * @param {Function} callback Callback + * @public + */ + decompress(data, fin, callback) { + zlibLimiter.add((done) => { + this._decompress(data, fin, (err, result) => { + done(); + callback(err, result); + }); + }); + } + + /** + * Compress data. Concurrency limited. + * + * @param {(Buffer|String)} data Data to compress + * @param {Boolean} fin Specifies whether or not this is the last fragment + * @param {Function} callback Callback + * @public + */ + compress(data, fin, callback) { + zlibLimiter.add((done) => { + this._compress(data, fin, (err, result) => { + done(); + callback(err, result); + }); + }); + } + + /** + * Decompress data. + * + * @param {Buffer} data Compressed data + * @param {Boolean} fin Specifies whether or not this is the last fragment + * @param {Function} callback Callback + * @private + */ + _decompress(data, fin, callback) { + const endpoint = this._isServer ? 'client' : 'server'; + + if (!this._inflate) { + const key = `${endpoint}_max_window_bits`; + const windowBits = + typeof this.params[key] !== 'number' + ? zlib.Z_DEFAULT_WINDOWBITS + : this.params[key]; + + this._inflate = zlib.createInflateRaw({ + ...this._options.zlibInflateOptions, + windowBits + }); + this._inflate[kPerMessageDeflate] = this; + this._inflate[kTotalLength] = 0; + this._inflate[kBuffers] = []; + this._inflate.on('error', inflateOnError); + this._inflate.on('data', inflateOnData); + } + + this._inflate[kCallback] = callback; + + this._inflate.write(data); + if (fin) this._inflate.write(TRAILER); + + this._inflate.flush(() => { + const err = this._inflate[kError]; + + if (err) { + this._inflate.close(); + this._inflate = null; + callback(err); + return; + } + + const data = bufferUtil.concat( + this._inflate[kBuffers], + this._inflate[kTotalLength] + ); + + if (this._inflate._readableState.endEmitted) { + this._inflate.close(); + this._inflate = null; + } else { + this._inflate[kTotalLength] = 0; + this._inflate[kBuffers] = []; + + if (fin && this.params[`${endpoint}_no_context_takeover`]) { + this._inflate.reset(); + } + } + + callback(null, data); + }); + } + + /** + * Compress data. + * + * @param {(Buffer|String)} data Data to compress + * @param {Boolean} fin Specifies whether or not this is the last fragment + * @param {Function} callback Callback + * @private + */ + _compress(data, fin, callback) { + const endpoint = this._isServer ? 'server' : 'client'; + + if (!this._deflate) { + const key = `${endpoint}_max_window_bits`; + const windowBits = + typeof this.params[key] !== 'number' + ? zlib.Z_DEFAULT_WINDOWBITS + : this.params[key]; + + this._deflate = zlib.createDeflateRaw({ + ...this._options.zlibDeflateOptions, + windowBits + }); + + this._deflate[kTotalLength] = 0; + this._deflate[kBuffers] = []; + + this._deflate.on('data', deflateOnData); + } + + this._deflate[kCallback] = callback; + + this._deflate.write(data); + this._deflate.flush(zlib.Z_SYNC_FLUSH, () => { + if (!this._deflate) { + // + // The deflate stream was closed while data was being processed. + // + return; + } + + let data = bufferUtil.concat( + this._deflate[kBuffers], + this._deflate[kTotalLength] + ); + + if (fin) { + data = new FastBuffer(data.buffer, data.byteOffset, data.length - 4); + } + + // + // Ensure that the callback will not be called again in + // `PerMessageDeflate#cleanup()`. + // + this._deflate[kCallback] = null; + + this._deflate[kTotalLength] = 0; + this._deflate[kBuffers] = []; + + if (fin && this.params[`${endpoint}_no_context_takeover`]) { + this._deflate.reset(); + } + + callback(null, data); + }); + } +} + +module.exports = PerMessageDeflate; + +/** + * The listener of the `zlib.DeflateRaw` stream `'data'` event. + * + * @param {Buffer} chunk A chunk of data + * @private + */ +function deflateOnData(chunk) { + this[kBuffers].push(chunk); + this[kTotalLength] += chunk.length; +} + +/** + * The listener of the `zlib.InflateRaw` stream `'data'` event. + * + * @param {Buffer} chunk A chunk of data + * @private + */ +function inflateOnData(chunk) { + this[kTotalLength] += chunk.length; + + if ( + this[kPerMessageDeflate]._maxPayload < 1 || + this[kTotalLength] <= this[kPerMessageDeflate]._maxPayload + ) { + this[kBuffers].push(chunk); + return; + } + + this[kError] = new RangeError('Max payload size exceeded'); + this[kError].code = 'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH'; + this[kError][kStatusCode] = 1009; + this.removeListener('data', inflateOnData); + + // + // The choice to employ `zlib.reset()` over `zlib.close()` is dictated by the + // fact that in Node.js versions prior to 13.10.0, the callback for + // `zlib.flush()` is not called if `zlib.close()` is used. Utilizing + // `zlib.reset()` ensures that either the callback is invoked or an error is + // emitted. + // + this.reset(); +} + +/** + * The listener of the `zlib.InflateRaw` stream `'error'` event. + * + * @param {Error} err The emitted error + * @private + */ +function inflateOnError(err) { + // + // There is no need to call `Zlib#close()` as the handle is automatically + // closed when an error is emitted. + // + this[kPerMessageDeflate]._inflate = null; + + if (this[kError]) { + this[kCallback](this[kError]); + return; + } + + err[kStatusCode] = 1007; + this[kCallback](err); +} diff --git a/node_modules/ws/lib/receiver.js b/node_modules/ws/lib/receiver.js new file mode 100644 index 0000000..54d9b4f --- /dev/null +++ b/node_modules/ws/lib/receiver.js @@ -0,0 +1,706 @@ +'use strict'; + +const { Writable } = require('stream'); + +const PerMessageDeflate = require('./permessage-deflate'); +const { + BINARY_TYPES, + EMPTY_BUFFER, + kStatusCode, + kWebSocket +} = require('./constants'); +const { concat, toArrayBuffer, unmask } = require('./buffer-util'); +const { isValidStatusCode, isValidUTF8 } = require('./validation'); + +const FastBuffer = Buffer[Symbol.species]; + +const GET_INFO = 0; +const GET_PAYLOAD_LENGTH_16 = 1; +const GET_PAYLOAD_LENGTH_64 = 2; +const GET_MASK = 3; +const GET_DATA = 4; +const INFLATING = 5; +const DEFER_EVENT = 6; + +/** + * HyBi Receiver implementation. + * + * @extends Writable + */ +class Receiver extends Writable { + /** + * Creates a Receiver instance. + * + * @param {Object} [options] Options object + * @param {Boolean} [options.allowSynchronousEvents=true] Specifies whether + * any of the `'message'`, `'ping'`, and `'pong'` events can be emitted + * multiple times in the same tick + * @param {String} [options.binaryType=nodebuffer] The type for binary data + * @param {Object} [options.extensions] An object containing the negotiated + * extensions + * @param {Boolean} [options.isServer=false] Specifies whether to operate in + * client or server mode + * @param {Number} [options.maxPayload=0] The maximum allowed message length + * @param {Boolean} [options.skipUTF8Validation=false] Specifies whether or + * not to skip UTF-8 validation for text and close messages + */ + constructor(options = {}) { + super(); + + this._allowSynchronousEvents = + options.allowSynchronousEvents !== undefined + ? options.allowSynchronousEvents + : true; + this._binaryType = options.binaryType || BINARY_TYPES[0]; + this._extensions = options.extensions || {}; + this._isServer = !!options.isServer; + this._maxPayload = options.maxPayload | 0; + this._skipUTF8Validation = !!options.skipUTF8Validation; + this[kWebSocket] = undefined; + + this._bufferedBytes = 0; + this._buffers = []; + + this._compressed = false; + this._payloadLength = 0; + this._mask = undefined; + this._fragmented = 0; + this._masked = false; + this._fin = false; + this._opcode = 0; + + this._totalPayloadLength = 0; + this._messageLength = 0; + this._fragments = []; + + this._errored = false; + this._loop = false; + this._state = GET_INFO; + } + + /** + * Implements `Writable.prototype._write()`. + * + * @param {Buffer} chunk The chunk of data to write + * @param {String} encoding The character encoding of `chunk` + * @param {Function} cb Callback + * @private + */ + _write(chunk, encoding, cb) { + if (this._opcode === 0x08 && this._state == GET_INFO) return cb(); + + this._bufferedBytes += chunk.length; + this._buffers.push(chunk); + this.startLoop(cb); + } + + /** + * Consumes `n` bytes from the buffered data. + * + * @param {Number} n The number of bytes to consume + * @return {Buffer} The consumed bytes + * @private + */ + consume(n) { + this._bufferedBytes -= n; + + if (n === this._buffers[0].length) return this._buffers.shift(); + + if (n < this._buffers[0].length) { + const buf = this._buffers[0]; + this._buffers[0] = new FastBuffer( + buf.buffer, + buf.byteOffset + n, + buf.length - n + ); + + return new FastBuffer(buf.buffer, buf.byteOffset, n); + } + + const dst = Buffer.allocUnsafe(n); + + do { + const buf = this._buffers[0]; + const offset = dst.length - n; + + if (n >= buf.length) { + dst.set(this._buffers.shift(), offset); + } else { + dst.set(new Uint8Array(buf.buffer, buf.byteOffset, n), offset); + this._buffers[0] = new FastBuffer( + buf.buffer, + buf.byteOffset + n, + buf.length - n + ); + } + + n -= buf.length; + } while (n > 0); + + return dst; + } + + /** + * Starts the parsing loop. + * + * @param {Function} cb Callback + * @private + */ + startLoop(cb) { + this._loop = true; + + do { + switch (this._state) { + case GET_INFO: + this.getInfo(cb); + break; + case GET_PAYLOAD_LENGTH_16: + this.getPayloadLength16(cb); + break; + case GET_PAYLOAD_LENGTH_64: + this.getPayloadLength64(cb); + break; + case GET_MASK: + this.getMask(); + break; + case GET_DATA: + this.getData(cb); + break; + case INFLATING: + case DEFER_EVENT: + this._loop = false; + return; + } + } while (this._loop); + + if (!this._errored) cb(); + } + + /** + * Reads the first two bytes of a frame. + * + * @param {Function} cb Callback + * @private + */ + getInfo(cb) { + if (this._bufferedBytes < 2) { + this._loop = false; + return; + } + + const buf = this.consume(2); + + if ((buf[0] & 0x30) !== 0x00) { + const error = this.createError( + RangeError, + 'RSV2 and RSV3 must be clear', + true, + 1002, + 'WS_ERR_UNEXPECTED_RSV_2_3' + ); + + cb(error); + return; + } + + const compressed = (buf[0] & 0x40) === 0x40; + + if (compressed && !this._extensions[PerMessageDeflate.extensionName]) { + const error = this.createError( + RangeError, + 'RSV1 must be clear', + true, + 1002, + 'WS_ERR_UNEXPECTED_RSV_1' + ); + + cb(error); + return; + } + + this._fin = (buf[0] & 0x80) === 0x80; + this._opcode = buf[0] & 0x0f; + this._payloadLength = buf[1] & 0x7f; + + if (this._opcode === 0x00) { + if (compressed) { + const error = this.createError( + RangeError, + 'RSV1 must be clear', + true, + 1002, + 'WS_ERR_UNEXPECTED_RSV_1' + ); + + cb(error); + return; + } + + if (!this._fragmented) { + const error = this.createError( + RangeError, + 'invalid opcode 0', + true, + 1002, + 'WS_ERR_INVALID_OPCODE' + ); + + cb(error); + return; + } + + this._opcode = this._fragmented; + } else if (this._opcode === 0x01 || this._opcode === 0x02) { + if (this._fragmented) { + const error = this.createError( + RangeError, + `invalid opcode ${this._opcode}`, + true, + 1002, + 'WS_ERR_INVALID_OPCODE' + ); + + cb(error); + return; + } + + this._compressed = compressed; + } else if (this._opcode > 0x07 && this._opcode < 0x0b) { + if (!this._fin) { + const error = this.createError( + RangeError, + 'FIN must be set', + true, + 1002, + 'WS_ERR_EXPECTED_FIN' + ); + + cb(error); + return; + } + + if (compressed) { + const error = this.createError( + RangeError, + 'RSV1 must be clear', + true, + 1002, + 'WS_ERR_UNEXPECTED_RSV_1' + ); + + cb(error); + return; + } + + if ( + this._payloadLength > 0x7d || + (this._opcode === 0x08 && this._payloadLength === 1) + ) { + const error = this.createError( + RangeError, + `invalid payload length ${this._payloadLength}`, + true, + 1002, + 'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH' + ); + + cb(error); + return; + } + } else { + const error = this.createError( + RangeError, + `invalid opcode ${this._opcode}`, + true, + 1002, + 'WS_ERR_INVALID_OPCODE' + ); + + cb(error); + return; + } + + if (!this._fin && !this._fragmented) this._fragmented = this._opcode; + this._masked = (buf[1] & 0x80) === 0x80; + + if (this._isServer) { + if (!this._masked) { + const error = this.createError( + RangeError, + 'MASK must be set', + true, + 1002, + 'WS_ERR_EXPECTED_MASK' + ); + + cb(error); + return; + } + } else if (this._masked) { + const error = this.createError( + RangeError, + 'MASK must be clear', + true, + 1002, + 'WS_ERR_UNEXPECTED_MASK' + ); + + cb(error); + return; + } + + if (this._payloadLength === 126) this._state = GET_PAYLOAD_LENGTH_16; + else if (this._payloadLength === 127) this._state = GET_PAYLOAD_LENGTH_64; + else this.haveLength(cb); + } + + /** + * Gets extended payload length (7+16). + * + * @param {Function} cb Callback + * @private + */ + getPayloadLength16(cb) { + if (this._bufferedBytes < 2) { + this._loop = false; + return; + } + + this._payloadLength = this.consume(2).readUInt16BE(0); + this.haveLength(cb); + } + + /** + * Gets extended payload length (7+64). + * + * @param {Function} cb Callback + * @private + */ + getPayloadLength64(cb) { + if (this._bufferedBytes < 8) { + this._loop = false; + return; + } + + const buf = this.consume(8); + const num = buf.readUInt32BE(0); + + // + // The maximum safe integer in JavaScript is 2^53 - 1. An error is returned + // if payload length is greater than this number. + // + if (num > Math.pow(2, 53 - 32) - 1) { + const error = this.createError( + RangeError, + 'Unsupported WebSocket frame: payload length > 2^53 - 1', + false, + 1009, + 'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH' + ); + + cb(error); + return; + } + + this._payloadLength = num * Math.pow(2, 32) + buf.readUInt32BE(4); + this.haveLength(cb); + } + + /** + * Payload length has been read. + * + * @param {Function} cb Callback + * @private + */ + haveLength(cb) { + if (this._payloadLength && this._opcode < 0x08) { + this._totalPayloadLength += this._payloadLength; + if (this._totalPayloadLength > this._maxPayload && this._maxPayload > 0) { + const error = this.createError( + RangeError, + 'Max payload size exceeded', + false, + 1009, + 'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH' + ); + + cb(error); + return; + } + } + + if (this._masked) this._state = GET_MASK; + else this._state = GET_DATA; + } + + /** + * Reads mask bytes. + * + * @private + */ + getMask() { + if (this._bufferedBytes < 4) { + this._loop = false; + return; + } + + this._mask = this.consume(4); + this._state = GET_DATA; + } + + /** + * Reads data bytes. + * + * @param {Function} cb Callback + * @private + */ + getData(cb) { + let data = EMPTY_BUFFER; + + if (this._payloadLength) { + if (this._bufferedBytes < this._payloadLength) { + this._loop = false; + return; + } + + data = this.consume(this._payloadLength); + + if ( + this._masked && + (this._mask[0] | this._mask[1] | this._mask[2] | this._mask[3]) !== 0 + ) { + unmask(data, this._mask); + } + } + + if (this._opcode > 0x07) { + this.controlMessage(data, cb); + return; + } + + if (this._compressed) { + this._state = INFLATING; + this.decompress(data, cb); + return; + } + + if (data.length) { + // + // This message is not compressed so its length is the sum of the payload + // length of all fragments. + // + this._messageLength = this._totalPayloadLength; + this._fragments.push(data); + } + + this.dataMessage(cb); + } + + /** + * Decompresses data. + * + * @param {Buffer} data Compressed data + * @param {Function} cb Callback + * @private + */ + decompress(data, cb) { + const perMessageDeflate = this._extensions[PerMessageDeflate.extensionName]; + + perMessageDeflate.decompress(data, this._fin, (err, buf) => { + if (err) return cb(err); + + if (buf.length) { + this._messageLength += buf.length; + if (this._messageLength > this._maxPayload && this._maxPayload > 0) { + const error = this.createError( + RangeError, + 'Max payload size exceeded', + false, + 1009, + 'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH' + ); + + cb(error); + return; + } + + this._fragments.push(buf); + } + + this.dataMessage(cb); + if (this._state === GET_INFO) this.startLoop(cb); + }); + } + + /** + * Handles a data message. + * + * @param {Function} cb Callback + * @private + */ + dataMessage(cb) { + if (!this._fin) { + this._state = GET_INFO; + return; + } + + const messageLength = this._messageLength; + const fragments = this._fragments; + + this._totalPayloadLength = 0; + this._messageLength = 0; + this._fragmented = 0; + this._fragments = []; + + if (this._opcode === 2) { + let data; + + if (this._binaryType === 'nodebuffer') { + data = concat(fragments, messageLength); + } else if (this._binaryType === 'arraybuffer') { + data = toArrayBuffer(concat(fragments, messageLength)); + } else if (this._binaryType === 'blob') { + data = new Blob(fragments); + } else { + data = fragments; + } + + if (this._allowSynchronousEvents) { + this.emit('message', data, true); + this._state = GET_INFO; + } else { + this._state = DEFER_EVENT; + setImmediate(() => { + this.emit('message', data, true); + this._state = GET_INFO; + this.startLoop(cb); + }); + } + } else { + const buf = concat(fragments, messageLength); + + if (!this._skipUTF8Validation && !isValidUTF8(buf)) { + const error = this.createError( + Error, + 'invalid UTF-8 sequence', + true, + 1007, + 'WS_ERR_INVALID_UTF8' + ); + + cb(error); + return; + } + + if (this._state === INFLATING || this._allowSynchronousEvents) { + this.emit('message', buf, false); + this._state = GET_INFO; + } else { + this._state = DEFER_EVENT; + setImmediate(() => { + this.emit('message', buf, false); + this._state = GET_INFO; + this.startLoop(cb); + }); + } + } + } + + /** + * Handles a control message. + * + * @param {Buffer} data Data to handle + * @return {(Error|RangeError|undefined)} A possible error + * @private + */ + controlMessage(data, cb) { + if (this._opcode === 0x08) { + if (data.length === 0) { + this._loop = false; + this.emit('conclude', 1005, EMPTY_BUFFER); + this.end(); + } else { + const code = data.readUInt16BE(0); + + if (!isValidStatusCode(code)) { + const error = this.createError( + RangeError, + `invalid status code ${code}`, + true, + 1002, + 'WS_ERR_INVALID_CLOSE_CODE' + ); + + cb(error); + return; + } + + const buf = new FastBuffer( + data.buffer, + data.byteOffset + 2, + data.length - 2 + ); + + if (!this._skipUTF8Validation && !isValidUTF8(buf)) { + const error = this.createError( + Error, + 'invalid UTF-8 sequence', + true, + 1007, + 'WS_ERR_INVALID_UTF8' + ); + + cb(error); + return; + } + + this._loop = false; + this.emit('conclude', code, buf); + this.end(); + } + + this._state = GET_INFO; + return; + } + + if (this._allowSynchronousEvents) { + this.emit(this._opcode === 0x09 ? 'ping' : 'pong', data); + this._state = GET_INFO; + } else { + this._state = DEFER_EVENT; + setImmediate(() => { + this.emit(this._opcode === 0x09 ? 'ping' : 'pong', data); + this._state = GET_INFO; + this.startLoop(cb); + }); + } + } + + /** + * Builds an error object. + * + * @param {function(new:Error|RangeError)} ErrorCtor The error constructor + * @param {String} message The error message + * @param {Boolean} prefix Specifies whether or not to add a default prefix to + * `message` + * @param {Number} statusCode The status code + * @param {String} errorCode The exposed error code + * @return {(Error|RangeError)} The error + * @private + */ + createError(ErrorCtor, message, prefix, statusCode, errorCode) { + this._loop = false; + this._errored = true; + + const err = new ErrorCtor( + prefix ? `Invalid WebSocket frame: ${message}` : message + ); + + Error.captureStackTrace(err, this.createError); + err.code = errorCode; + err[kStatusCode] = statusCode; + return err; + } +} + +module.exports = Receiver; diff --git a/node_modules/ws/lib/sender.js b/node_modules/ws/lib/sender.js new file mode 100644 index 0000000..a8b1da3 --- /dev/null +++ b/node_modules/ws/lib/sender.js @@ -0,0 +1,602 @@ +/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "^Duplex" }] */ + +'use strict'; + +const { Duplex } = require('stream'); +const { randomFillSync } = require('crypto'); + +const PerMessageDeflate = require('./permessage-deflate'); +const { EMPTY_BUFFER, kWebSocket, NOOP } = require('./constants'); +const { isBlob, isValidStatusCode } = require('./validation'); +const { mask: applyMask, toBuffer } = require('./buffer-util'); + +const kByteLength = Symbol('kByteLength'); +const maskBuffer = Buffer.alloc(4); +const RANDOM_POOL_SIZE = 8 * 1024; +let randomPool; +let randomPoolPointer = RANDOM_POOL_SIZE; + +const DEFAULT = 0; +const DEFLATING = 1; +const GET_BLOB_DATA = 2; + +/** + * HyBi Sender implementation. + */ +class Sender { + /** + * Creates a Sender instance. + * + * @param {Duplex} socket The connection socket + * @param {Object} [extensions] An object containing the negotiated extensions + * @param {Function} [generateMask] The function used to generate the masking + * key + */ + constructor(socket, extensions, generateMask) { + this._extensions = extensions || {}; + + if (generateMask) { + this._generateMask = generateMask; + this._maskBuffer = Buffer.alloc(4); + } + + this._socket = socket; + + this._firstFragment = true; + this._compress = false; + + this._bufferedBytes = 0; + this._queue = []; + this._state = DEFAULT; + this.onerror = NOOP; + this[kWebSocket] = undefined; + } + + /** + * Frames a piece of data according to the HyBi WebSocket protocol. + * + * @param {(Buffer|String)} data The data to frame + * @param {Object} options Options object + * @param {Boolean} [options.fin=false] Specifies whether or not to set the + * FIN bit + * @param {Function} [options.generateMask] The function used to generate the + * masking key + * @param {Boolean} [options.mask=false] Specifies whether or not to mask + * `data` + * @param {Buffer} [options.maskBuffer] The buffer used to store the masking + * key + * @param {Number} options.opcode The opcode + * @param {Boolean} [options.readOnly=false] Specifies whether `data` can be + * modified + * @param {Boolean} [options.rsv1=false] Specifies whether or not to set the + * RSV1 bit + * @return {(Buffer|String)[]} The framed data + * @public + */ + static frame(data, options) { + let mask; + let merge = false; + let offset = 2; + let skipMasking = false; + + if (options.mask) { + mask = options.maskBuffer || maskBuffer; + + if (options.generateMask) { + options.generateMask(mask); + } else { + if (randomPoolPointer === RANDOM_POOL_SIZE) { + /* istanbul ignore else */ + if (randomPool === undefined) { + // + // This is lazily initialized because server-sent frames must not + // be masked so it may never be used. + // + randomPool = Buffer.alloc(RANDOM_POOL_SIZE); + } + + randomFillSync(randomPool, 0, RANDOM_POOL_SIZE); + randomPoolPointer = 0; + } + + mask[0] = randomPool[randomPoolPointer++]; + mask[1] = randomPool[randomPoolPointer++]; + mask[2] = randomPool[randomPoolPointer++]; + mask[3] = randomPool[randomPoolPointer++]; + } + + skipMasking = (mask[0] | mask[1] | mask[2] | mask[3]) === 0; + offset = 6; + } + + let dataLength; + + if (typeof data === 'string') { + if ( + (!options.mask || skipMasking) && + options[kByteLength] !== undefined + ) { + dataLength = options[kByteLength]; + } else { + data = Buffer.from(data); + dataLength = data.length; + } + } else { + dataLength = data.length; + merge = options.mask && options.readOnly && !skipMasking; + } + + let payloadLength = dataLength; + + if (dataLength >= 65536) { + offset += 8; + payloadLength = 127; + } else if (dataLength > 125) { + offset += 2; + payloadLength = 126; + } + + const target = Buffer.allocUnsafe(merge ? dataLength + offset : offset); + + target[0] = options.fin ? options.opcode | 0x80 : options.opcode; + if (options.rsv1) target[0] |= 0x40; + + target[1] = payloadLength; + + if (payloadLength === 126) { + target.writeUInt16BE(dataLength, 2); + } else if (payloadLength === 127) { + target[2] = target[3] = 0; + target.writeUIntBE(dataLength, 4, 6); + } + + if (!options.mask) return [target, data]; + + target[1] |= 0x80; + target[offset - 4] = mask[0]; + target[offset - 3] = mask[1]; + target[offset - 2] = mask[2]; + target[offset - 1] = mask[3]; + + if (skipMasking) return [target, data]; + + if (merge) { + applyMask(data, mask, target, offset, dataLength); + return [target]; + } + + applyMask(data, mask, data, 0, dataLength); + return [target, data]; + } + + /** + * Sends a close message to the other peer. + * + * @param {Number} [code] The status code component of the body + * @param {(String|Buffer)} [data] The message component of the body + * @param {Boolean} [mask=false] Specifies whether or not to mask the message + * @param {Function} [cb] Callback + * @public + */ + close(code, data, mask, cb) { + let buf; + + if (code === undefined) { + buf = EMPTY_BUFFER; + } else if (typeof code !== 'number' || !isValidStatusCode(code)) { + throw new TypeError('First argument must be a valid error code number'); + } else if (data === undefined || !data.length) { + buf = Buffer.allocUnsafe(2); + buf.writeUInt16BE(code, 0); + } else { + const length = Buffer.byteLength(data); + + if (length > 123) { + throw new RangeError('The message must not be greater than 123 bytes'); + } + + buf = Buffer.allocUnsafe(2 + length); + buf.writeUInt16BE(code, 0); + + if (typeof data === 'string') { + buf.write(data, 2); + } else { + buf.set(data, 2); + } + } + + const options = { + [kByteLength]: buf.length, + fin: true, + generateMask: this._generateMask, + mask, + maskBuffer: this._maskBuffer, + opcode: 0x08, + readOnly: false, + rsv1: false + }; + + if (this._state !== DEFAULT) { + this.enqueue([this.dispatch, buf, false, options, cb]); + } else { + this.sendFrame(Sender.frame(buf, options), cb); + } + } + + /** + * Sends a ping message to the other peer. + * + * @param {*} data The message to send + * @param {Boolean} [mask=false] Specifies whether or not to mask `data` + * @param {Function} [cb] Callback + * @public + */ + ping(data, mask, cb) { + let byteLength; + let readOnly; + + if (typeof data === 'string') { + byteLength = Buffer.byteLength(data); + readOnly = false; + } else if (isBlob(data)) { + byteLength = data.size; + readOnly = false; + } else { + data = toBuffer(data); + byteLength = data.length; + readOnly = toBuffer.readOnly; + } + + if (byteLength > 125) { + throw new RangeError('The data size must not be greater than 125 bytes'); + } + + const options = { + [kByteLength]: byteLength, + fin: true, + generateMask: this._generateMask, + mask, + maskBuffer: this._maskBuffer, + opcode: 0x09, + readOnly, + rsv1: false + }; + + if (isBlob(data)) { + if (this._state !== DEFAULT) { + this.enqueue([this.getBlobData, data, false, options, cb]); + } else { + this.getBlobData(data, false, options, cb); + } + } else if (this._state !== DEFAULT) { + this.enqueue([this.dispatch, data, false, options, cb]); + } else { + this.sendFrame(Sender.frame(data, options), cb); + } + } + + /** + * Sends a pong message to the other peer. + * + * @param {*} data The message to send + * @param {Boolean} [mask=false] Specifies whether or not to mask `data` + * @param {Function} [cb] Callback + * @public + */ + pong(data, mask, cb) { + let byteLength; + let readOnly; + + if (typeof data === 'string') { + byteLength = Buffer.byteLength(data); + readOnly = false; + } else if (isBlob(data)) { + byteLength = data.size; + readOnly = false; + } else { + data = toBuffer(data); + byteLength = data.length; + readOnly = toBuffer.readOnly; + } + + if (byteLength > 125) { + throw new RangeError('The data size must not be greater than 125 bytes'); + } + + const options = { + [kByteLength]: byteLength, + fin: true, + generateMask: this._generateMask, + mask, + maskBuffer: this._maskBuffer, + opcode: 0x0a, + readOnly, + rsv1: false + }; + + if (isBlob(data)) { + if (this._state !== DEFAULT) { + this.enqueue([this.getBlobData, data, false, options, cb]); + } else { + this.getBlobData(data, false, options, cb); + } + } else if (this._state !== DEFAULT) { + this.enqueue([this.dispatch, data, false, options, cb]); + } else { + this.sendFrame(Sender.frame(data, options), cb); + } + } + + /** + * Sends a data message to the other peer. + * + * @param {*} data The message to send + * @param {Object} options Options object + * @param {Boolean} [options.binary=false] Specifies whether `data` is binary + * or text + * @param {Boolean} [options.compress=false] Specifies whether or not to + * compress `data` + * @param {Boolean} [options.fin=false] Specifies whether the fragment is the + * last one + * @param {Boolean} [options.mask=false] Specifies whether or not to mask + * `data` + * @param {Function} [cb] Callback + * @public + */ + send(data, options, cb) { + const perMessageDeflate = this._extensions[PerMessageDeflate.extensionName]; + let opcode = options.binary ? 2 : 1; + let rsv1 = options.compress; + + let byteLength; + let readOnly; + + if (typeof data === 'string') { + byteLength = Buffer.byteLength(data); + readOnly = false; + } else if (isBlob(data)) { + byteLength = data.size; + readOnly = false; + } else { + data = toBuffer(data); + byteLength = data.length; + readOnly = toBuffer.readOnly; + } + + if (this._firstFragment) { + this._firstFragment = false; + if ( + rsv1 && + perMessageDeflate && + perMessageDeflate.params[ + perMessageDeflate._isServer + ? 'server_no_context_takeover' + : 'client_no_context_takeover' + ] + ) { + rsv1 = byteLength >= perMessageDeflate._threshold; + } + this._compress = rsv1; + } else { + rsv1 = false; + opcode = 0; + } + + if (options.fin) this._firstFragment = true; + + const opts = { + [kByteLength]: byteLength, + fin: options.fin, + generateMask: this._generateMask, + mask: options.mask, + maskBuffer: this._maskBuffer, + opcode, + readOnly, + rsv1 + }; + + if (isBlob(data)) { + if (this._state !== DEFAULT) { + this.enqueue([this.getBlobData, data, this._compress, opts, cb]); + } else { + this.getBlobData(data, this._compress, opts, cb); + } + } else if (this._state !== DEFAULT) { + this.enqueue([this.dispatch, data, this._compress, opts, cb]); + } else { + this.dispatch(data, this._compress, opts, cb); + } + } + + /** + * Gets the contents of a blob as binary data. + * + * @param {Blob} blob The blob + * @param {Boolean} [compress=false] Specifies whether or not to compress + * the data + * @param {Object} options Options object + * @param {Boolean} [options.fin=false] Specifies whether or not to set the + * FIN bit + * @param {Function} [options.generateMask] The function used to generate the + * masking key + * @param {Boolean} [options.mask=false] Specifies whether or not to mask + * `data` + * @param {Buffer} [options.maskBuffer] The buffer used to store the masking + * key + * @param {Number} options.opcode The opcode + * @param {Boolean} [options.readOnly=false] Specifies whether `data` can be + * modified + * @param {Boolean} [options.rsv1=false] Specifies whether or not to set the + * RSV1 bit + * @param {Function} [cb] Callback + * @private + */ + getBlobData(blob, compress, options, cb) { + this._bufferedBytes += options[kByteLength]; + this._state = GET_BLOB_DATA; + + blob + .arrayBuffer() + .then((arrayBuffer) => { + if (this._socket.destroyed) { + const err = new Error( + 'The socket was closed while the blob was being read' + ); + + // + // `callCallbacks` is called in the next tick to ensure that errors + // that might be thrown in the callbacks behave like errors thrown + // outside the promise chain. + // + process.nextTick(callCallbacks, this, err, cb); + return; + } + + this._bufferedBytes -= options[kByteLength]; + const data = toBuffer(arrayBuffer); + + if (!compress) { + this._state = DEFAULT; + this.sendFrame(Sender.frame(data, options), cb); + this.dequeue(); + } else { + this.dispatch(data, compress, options, cb); + } + }) + .catch((err) => { + // + // `onError` is called in the next tick for the same reason that + // `callCallbacks` above is. + // + process.nextTick(onError, this, err, cb); + }); + } + + /** + * Dispatches a message. + * + * @param {(Buffer|String)} data The message to send + * @param {Boolean} [compress=false] Specifies whether or not to compress + * `data` + * @param {Object} options Options object + * @param {Boolean} [options.fin=false] Specifies whether or not to set the + * FIN bit + * @param {Function} [options.generateMask] The function used to generate the + * masking key + * @param {Boolean} [options.mask=false] Specifies whether or not to mask + * `data` + * @param {Buffer} [options.maskBuffer] The buffer used to store the masking + * key + * @param {Number} options.opcode The opcode + * @param {Boolean} [options.readOnly=false] Specifies whether `data` can be + * modified + * @param {Boolean} [options.rsv1=false] Specifies whether or not to set the + * RSV1 bit + * @param {Function} [cb] Callback + * @private + */ + dispatch(data, compress, options, cb) { + if (!compress) { + this.sendFrame(Sender.frame(data, options), cb); + return; + } + + const perMessageDeflate = this._extensions[PerMessageDeflate.extensionName]; + + this._bufferedBytes += options[kByteLength]; + this._state = DEFLATING; + perMessageDeflate.compress(data, options.fin, (_, buf) => { + if (this._socket.destroyed) { + const err = new Error( + 'The socket was closed while data was being compressed' + ); + + callCallbacks(this, err, cb); + return; + } + + this._bufferedBytes -= options[kByteLength]; + this._state = DEFAULT; + options.readOnly = false; + this.sendFrame(Sender.frame(buf, options), cb); + this.dequeue(); + }); + } + + /** + * Executes queued send operations. + * + * @private + */ + dequeue() { + while (this._state === DEFAULT && this._queue.length) { + const params = this._queue.shift(); + + this._bufferedBytes -= params[3][kByteLength]; + Reflect.apply(params[0], this, params.slice(1)); + } + } + + /** + * Enqueues a send operation. + * + * @param {Array} params Send operation parameters. + * @private + */ + enqueue(params) { + this._bufferedBytes += params[3][kByteLength]; + this._queue.push(params); + } + + /** + * Sends a frame. + * + * @param {(Buffer | String)[]} list The frame to send + * @param {Function} [cb] Callback + * @private + */ + sendFrame(list, cb) { + if (list.length === 2) { + this._socket.cork(); + this._socket.write(list[0]); + this._socket.write(list[1], cb); + this._socket.uncork(); + } else { + this._socket.write(list[0], cb); + } + } +} + +module.exports = Sender; + +/** + * Calls queued callbacks with an error. + * + * @param {Sender} sender The `Sender` instance + * @param {Error} err The error to call the callbacks with + * @param {Function} [cb] The first callback + * @private + */ +function callCallbacks(sender, err, cb) { + if (typeof cb === 'function') cb(err); + + for (let i = 0; i < sender._queue.length; i++) { + const params = sender._queue[i]; + const callback = params[params.length - 1]; + + if (typeof callback === 'function') callback(err); + } +} + +/** + * Handles a `Sender` error. + * + * @param {Sender} sender The `Sender` instance + * @param {Error} err The error + * @param {Function} [cb] The first pending callback + * @private + */ +function onError(sender, err, cb) { + callCallbacks(sender, err, cb); + sender.onerror(err); +} diff --git a/node_modules/ws/lib/stream.js b/node_modules/ws/lib/stream.js new file mode 100644 index 0000000..4c58c91 --- /dev/null +++ b/node_modules/ws/lib/stream.js @@ -0,0 +1,161 @@ +/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "^WebSocket$" }] */ +'use strict'; + +const WebSocket = require('./websocket'); +const { Duplex } = require('stream'); + +/** + * Emits the `'close'` event on a stream. + * + * @param {Duplex} stream The stream. + * @private + */ +function emitClose(stream) { + stream.emit('close'); +} + +/** + * The listener of the `'end'` event. + * + * @private + */ +function duplexOnEnd() { + if (!this.destroyed && this._writableState.finished) { + this.destroy(); + } +} + +/** + * The listener of the `'error'` event. + * + * @param {Error} err The error + * @private + */ +function duplexOnError(err) { + this.removeListener('error', duplexOnError); + this.destroy(); + if (this.listenerCount('error') === 0) { + // Do not suppress the throwing behavior. + this.emit('error', err); + } +} + +/** + * Wraps a `WebSocket` in a duplex stream. + * + * @param {WebSocket} ws The `WebSocket` to wrap + * @param {Object} [options] The options for the `Duplex` constructor + * @return {Duplex} The duplex stream + * @public + */ +function createWebSocketStream(ws, options) { + let terminateOnDestroy = true; + + const duplex = new Duplex({ + ...options, + autoDestroy: false, + emitClose: false, + objectMode: false, + writableObjectMode: false + }); + + ws.on('message', function message(msg, isBinary) { + const data = + !isBinary && duplex._readableState.objectMode ? msg.toString() : msg; + + if (!duplex.push(data)) ws.pause(); + }); + + ws.once('error', function error(err) { + if (duplex.destroyed) return; + + // Prevent `ws.terminate()` from being called by `duplex._destroy()`. + // + // - If the `'error'` event is emitted before the `'open'` event, then + // `ws.terminate()` is a noop as no socket is assigned. + // - Otherwise, the error is re-emitted by the listener of the `'error'` + // event of the `Receiver` object. The listener already closes the + // connection by calling `ws.close()`. This allows a close frame to be + // sent to the other peer. If `ws.terminate()` is called right after this, + // then the close frame might not be sent. + terminateOnDestroy = false; + duplex.destroy(err); + }); + + ws.once('close', function close() { + if (duplex.destroyed) return; + + duplex.push(null); + }); + + duplex._destroy = function (err, callback) { + if (ws.readyState === ws.CLOSED) { + callback(err); + process.nextTick(emitClose, duplex); + return; + } + + let called = false; + + ws.once('error', function error(err) { + called = true; + callback(err); + }); + + ws.once('close', function close() { + if (!called) callback(err); + process.nextTick(emitClose, duplex); + }); + + if (terminateOnDestroy) ws.terminate(); + }; + + duplex._final = function (callback) { + if (ws.readyState === ws.CONNECTING) { + ws.once('open', function open() { + duplex._final(callback); + }); + return; + } + + // If the value of the `_socket` property is `null` it means that `ws` is a + // client websocket and the handshake failed. In fact, when this happens, a + // socket is never assigned to the websocket. Wait for the `'error'` event + // that will be emitted by the websocket. + if (ws._socket === null) return; + + if (ws._socket._writableState.finished) { + callback(); + if (duplex._readableState.endEmitted) duplex.destroy(); + } else { + ws._socket.once('finish', function finish() { + // `duplex` is not destroyed here because the `'end'` event will be + // emitted on `duplex` after this `'finish'` event. The EOF signaling + // `null` chunk is, in fact, pushed when the websocket emits `'close'`. + callback(); + }); + ws.close(); + } + }; + + duplex._read = function () { + if (ws.isPaused) ws.resume(); + }; + + duplex._write = function (chunk, encoding, callback) { + if (ws.readyState === ws.CONNECTING) { + ws.once('open', function open() { + duplex._write(chunk, encoding, callback); + }); + return; + } + + ws.send(chunk, callback); + }; + + duplex.on('end', duplexOnEnd); + duplex.on('error', duplexOnError); + return duplex; +} + +module.exports = createWebSocketStream; diff --git a/node_modules/ws/lib/subprotocol.js b/node_modules/ws/lib/subprotocol.js new file mode 100644 index 0000000..d4381e8 --- /dev/null +++ b/node_modules/ws/lib/subprotocol.js @@ -0,0 +1,62 @@ +'use strict'; + +const { tokenChars } = require('./validation'); + +/** + * Parses the `Sec-WebSocket-Protocol` header into a set of subprotocol names. + * + * @param {String} header The field value of the header + * @return {Set} The subprotocol names + * @public + */ +function parse(header) { + const protocols = new Set(); + let start = -1; + let end = -1; + let i = 0; + + for (i; i < header.length; i++) { + const code = header.charCodeAt(i); + + if (end === -1 && tokenChars[code] === 1) { + if (start === -1) start = i; + } else if ( + i !== 0 && + (code === 0x20 /* ' ' */ || code === 0x09) /* '\t' */ + ) { + if (end === -1 && start !== -1) end = i; + } else if (code === 0x2c /* ',' */) { + if (start === -1) { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + + if (end === -1) end = i; + + const protocol = header.slice(start, end); + + if (protocols.has(protocol)) { + throw new SyntaxError(`The "${protocol}" subprotocol is duplicated`); + } + + protocols.add(protocol); + start = end = -1; + } else { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + } + + if (start === -1 || end !== -1) { + throw new SyntaxError('Unexpected end of input'); + } + + const protocol = header.slice(start, i); + + if (protocols.has(protocol)) { + throw new SyntaxError(`The "${protocol}" subprotocol is duplicated`); + } + + protocols.add(protocol); + return protocols; +} + +module.exports = { parse }; diff --git a/node_modules/ws/lib/validation.js b/node_modules/ws/lib/validation.js new file mode 100644 index 0000000..4a2e68d --- /dev/null +++ b/node_modules/ws/lib/validation.js @@ -0,0 +1,152 @@ +'use strict'; + +const { isUtf8 } = require('buffer'); + +const { hasBlob } = require('./constants'); + +// +// Allowed token characters: +// +// '!', '#', '$', '%', '&', ''', '*', '+', '-', +// '.', 0-9, A-Z, '^', '_', '`', a-z, '|', '~' +// +// tokenChars[32] === 0 // ' ' +// tokenChars[33] === 1 // '!' +// tokenChars[34] === 0 // '"' +// ... +// +// prettier-ignore +const tokenChars = [ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0 - 15 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 16 - 31 + 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, // 32 - 47 + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, // 48 - 63 + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 64 - 79 + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, // 80 - 95 + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 96 - 111 + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0 // 112 - 127 +]; + +/** + * Checks if a status code is allowed in a close frame. + * + * @param {Number} code The status code + * @return {Boolean} `true` if the status code is valid, else `false` + * @public + */ +function isValidStatusCode(code) { + return ( + (code >= 1000 && + code <= 1014 && + code !== 1004 && + code !== 1005 && + code !== 1006) || + (code >= 3000 && code <= 4999) + ); +} + +/** + * Checks if a given buffer contains only correct UTF-8. + * Ported from https://www.cl.cam.ac.uk/%7Emgk25/ucs/utf8_check.c by + * Markus Kuhn. + * + * @param {Buffer} buf The buffer to check + * @return {Boolean} `true` if `buf` contains only correct UTF-8, else `false` + * @public + */ +function _isValidUTF8(buf) { + const len = buf.length; + let i = 0; + + while (i < len) { + if ((buf[i] & 0x80) === 0) { + // 0xxxxxxx + i++; + } else if ((buf[i] & 0xe0) === 0xc0) { + // 110xxxxx 10xxxxxx + if ( + i + 1 === len || + (buf[i + 1] & 0xc0) !== 0x80 || + (buf[i] & 0xfe) === 0xc0 // Overlong + ) { + return false; + } + + i += 2; + } else if ((buf[i] & 0xf0) === 0xe0) { + // 1110xxxx 10xxxxxx 10xxxxxx + if ( + i + 2 >= len || + (buf[i + 1] & 0xc0) !== 0x80 || + (buf[i + 2] & 0xc0) !== 0x80 || + (buf[i] === 0xe0 && (buf[i + 1] & 0xe0) === 0x80) || // Overlong + (buf[i] === 0xed && (buf[i + 1] & 0xe0) === 0xa0) // Surrogate (U+D800 - U+DFFF) + ) { + return false; + } + + i += 3; + } else if ((buf[i] & 0xf8) === 0xf0) { + // 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx + if ( + i + 3 >= len || + (buf[i + 1] & 0xc0) !== 0x80 || + (buf[i + 2] & 0xc0) !== 0x80 || + (buf[i + 3] & 0xc0) !== 0x80 || + (buf[i] === 0xf0 && (buf[i + 1] & 0xf0) === 0x80) || // Overlong + (buf[i] === 0xf4 && buf[i + 1] > 0x8f) || + buf[i] > 0xf4 // > U+10FFFF + ) { + return false; + } + + i += 4; + } else { + return false; + } + } + + return true; +} + +/** + * Determines whether a value is a `Blob`. + * + * @param {*} value The value to be tested + * @return {Boolean} `true` if `value` is a `Blob`, else `false` + * @private + */ +function isBlob(value) { + return ( + hasBlob && + typeof value === 'object' && + typeof value.arrayBuffer === 'function' && + typeof value.type === 'string' && + typeof value.stream === 'function' && + (value[Symbol.toStringTag] === 'Blob' || + value[Symbol.toStringTag] === 'File') + ); +} + +module.exports = { + isBlob, + isValidStatusCode, + isValidUTF8: _isValidUTF8, + tokenChars +}; + +if (isUtf8) { + module.exports.isValidUTF8 = function (buf) { + return buf.length < 24 ? _isValidUTF8(buf) : isUtf8(buf); + }; +} /* istanbul ignore else */ else if (!process.env.WS_NO_UTF_8_VALIDATE) { + try { + const isValidUTF8 = require('utf-8-validate'); + + module.exports.isValidUTF8 = function (buf) { + return buf.length < 32 ? _isValidUTF8(buf) : isValidUTF8(buf); + }; + } catch (e) { + // Continue regardless of the error. + } +} diff --git a/node_modules/ws/lib/websocket-server.js b/node_modules/ws/lib/websocket-server.js new file mode 100644 index 0000000..68aa789 --- /dev/null +++ b/node_modules/ws/lib/websocket-server.js @@ -0,0 +1,554 @@ +/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "^Duplex$", "caughtErrors": "none" }] */ + +'use strict'; + +const EventEmitter = require('events'); +const http = require('http'); +const { Duplex } = require('stream'); +const { createHash } = require('crypto'); + +const extension = require('./extension'); +const PerMessageDeflate = require('./permessage-deflate'); +const subprotocol = require('./subprotocol'); +const WebSocket = require('./websocket'); +const { CLOSE_TIMEOUT, GUID, kWebSocket } = require('./constants'); + +const keyRegex = /^[+/0-9A-Za-z]{22}==$/; + +const RUNNING = 0; +const CLOSING = 1; +const CLOSED = 2; + +/** + * Class representing a WebSocket server. + * + * @extends EventEmitter + */ +class WebSocketServer extends EventEmitter { + /** + * Create a `WebSocketServer` instance. + * + * @param {Object} options Configuration options + * @param {Boolean} [options.allowSynchronousEvents=true] Specifies whether + * any of the `'message'`, `'ping'`, and `'pong'` events can be emitted + * multiple times in the same tick + * @param {Boolean} [options.autoPong=true] Specifies whether or not to + * automatically send a pong in response to a ping + * @param {Number} [options.backlog=511] The maximum length of the queue of + * pending connections + * @param {Boolean} [options.clientTracking=true] Specifies whether or not to + * track clients + * @param {Number} [options.closeTimeout=30000] Duration in milliseconds to + * wait for the closing handshake to finish after `websocket.close()` is + * called + * @param {Function} [options.handleProtocols] A hook to handle protocols + * @param {String} [options.host] The hostname where to bind the server + * @param {Number} [options.maxPayload=104857600] The maximum allowed message + * size + * @param {Boolean} [options.noServer=false] Enable no server mode + * @param {String} [options.path] Accept only connections matching this path + * @param {(Boolean|Object)} [options.perMessageDeflate=false] Enable/disable + * permessage-deflate + * @param {Number} [options.port] The port where to bind the server + * @param {(http.Server|https.Server)} [options.server] A pre-created HTTP/S + * server to use + * @param {Boolean} [options.skipUTF8Validation=false] Specifies whether or + * not to skip UTF-8 validation for text and close messages + * @param {Function} [options.verifyClient] A hook to reject connections + * @param {Function} [options.WebSocket=WebSocket] Specifies the `WebSocket` + * class to use. It must be the `WebSocket` class or class that extends it + * @param {Function} [callback] A listener for the `listening` event + */ + constructor(options, callback) { + super(); + + options = { + allowSynchronousEvents: true, + autoPong: true, + maxPayload: 100 * 1024 * 1024, + skipUTF8Validation: false, + perMessageDeflate: false, + handleProtocols: null, + clientTracking: true, + closeTimeout: CLOSE_TIMEOUT, + verifyClient: null, + noServer: false, + backlog: null, // use default (511 as implemented in net.js) + server: null, + host: null, + path: null, + port: null, + WebSocket, + ...options + }; + + if ( + (options.port == null && !options.server && !options.noServer) || + (options.port != null && (options.server || options.noServer)) || + (options.server && options.noServer) + ) { + throw new TypeError( + 'One and only one of the "port", "server", or "noServer" options ' + + 'must be specified' + ); + } + + if (options.port != null) { + this._server = http.createServer((req, res) => { + const body = http.STATUS_CODES[426]; + + res.writeHead(426, { + 'Content-Length': body.length, + 'Content-Type': 'text/plain' + }); + res.end(body); + }); + this._server.listen( + options.port, + options.host, + options.backlog, + callback + ); + } else if (options.server) { + this._server = options.server; + } + + if (this._server) { + const emitConnection = this.emit.bind(this, 'connection'); + + this._removeListeners = addListeners(this._server, { + listening: this.emit.bind(this, 'listening'), + error: this.emit.bind(this, 'error'), + upgrade: (req, socket, head) => { + this.handleUpgrade(req, socket, head, emitConnection); + } + }); + } + + if (options.perMessageDeflate === true) options.perMessageDeflate = {}; + if (options.clientTracking) { + this.clients = new Set(); + this._shouldEmitClose = false; + } + + this.options = options; + this._state = RUNNING; + } + + /** + * Returns the bound address, the address family name, and port of the server + * as reported by the operating system if listening on an IP socket. + * If the server is listening on a pipe or UNIX domain socket, the name is + * returned as a string. + * + * @return {(Object|String|null)} The address of the server + * @public + */ + address() { + if (this.options.noServer) { + throw new Error('The server is operating in "noServer" mode'); + } + + if (!this._server) return null; + return this._server.address(); + } + + /** + * Stop the server from accepting new connections and emit the `'close'` event + * when all existing connections are closed. + * + * @param {Function} [cb] A one-time listener for the `'close'` event + * @public + */ + close(cb) { + if (this._state === CLOSED) { + if (cb) { + this.once('close', () => { + cb(new Error('The server is not running')); + }); + } + + process.nextTick(emitClose, this); + return; + } + + if (cb) this.once('close', cb); + + if (this._state === CLOSING) return; + this._state = CLOSING; + + if (this.options.noServer || this.options.server) { + if (this._server) { + this._removeListeners(); + this._removeListeners = this._server = null; + } + + if (this.clients) { + if (!this.clients.size) { + process.nextTick(emitClose, this); + } else { + this._shouldEmitClose = true; + } + } else { + process.nextTick(emitClose, this); + } + } else { + const server = this._server; + + this._removeListeners(); + this._removeListeners = this._server = null; + + // + // The HTTP/S server was created internally. Close it, and rely on its + // `'close'` event. + // + server.close(() => { + emitClose(this); + }); + } + } + + /** + * See if a given request should be handled by this server instance. + * + * @param {http.IncomingMessage} req Request object to inspect + * @return {Boolean} `true` if the request is valid, else `false` + * @public + */ + shouldHandle(req) { + if (this.options.path) { + const index = req.url.indexOf('?'); + const pathname = index !== -1 ? req.url.slice(0, index) : req.url; + + if (pathname !== this.options.path) return false; + } + + return true; + } + + /** + * Handle a HTTP Upgrade request. + * + * @param {http.IncomingMessage} req The request object + * @param {Duplex} socket The network socket between the server and client + * @param {Buffer} head The first packet of the upgraded stream + * @param {Function} cb Callback + * @public + */ + handleUpgrade(req, socket, head, cb) { + socket.on('error', socketOnError); + + const key = req.headers['sec-websocket-key']; + const upgrade = req.headers.upgrade; + const version = +req.headers['sec-websocket-version']; + + if (req.method !== 'GET') { + const message = 'Invalid HTTP method'; + abortHandshakeOrEmitwsClientError(this, req, socket, 405, message); + return; + } + + if (upgrade === undefined || upgrade.toLowerCase() !== 'websocket') { + const message = 'Invalid Upgrade header'; + abortHandshakeOrEmitwsClientError(this, req, socket, 400, message); + return; + } + + if (key === undefined || !keyRegex.test(key)) { + const message = 'Missing or invalid Sec-WebSocket-Key header'; + abortHandshakeOrEmitwsClientError(this, req, socket, 400, message); + return; + } + + if (version !== 13 && version !== 8) { + const message = 'Missing or invalid Sec-WebSocket-Version header'; + abortHandshakeOrEmitwsClientError(this, req, socket, 400, message, { + 'Sec-WebSocket-Version': '13, 8' + }); + return; + } + + if (!this.shouldHandle(req)) { + abortHandshake(socket, 400); + return; + } + + const secWebSocketProtocol = req.headers['sec-websocket-protocol']; + let protocols = new Set(); + + if (secWebSocketProtocol !== undefined) { + try { + protocols = subprotocol.parse(secWebSocketProtocol); + } catch (err) { + const message = 'Invalid Sec-WebSocket-Protocol header'; + abortHandshakeOrEmitwsClientError(this, req, socket, 400, message); + return; + } + } + + const secWebSocketExtensions = req.headers['sec-websocket-extensions']; + const extensions = {}; + + if ( + this.options.perMessageDeflate && + secWebSocketExtensions !== undefined + ) { + const perMessageDeflate = new PerMessageDeflate({ + ...this.options.perMessageDeflate, + isServer: true, + maxPayload: this.options.maxPayload + }); + + try { + const offers = extension.parse(secWebSocketExtensions); + + if (offers[PerMessageDeflate.extensionName]) { + perMessageDeflate.accept(offers[PerMessageDeflate.extensionName]); + extensions[PerMessageDeflate.extensionName] = perMessageDeflate; + } + } catch (err) { + const message = + 'Invalid or unacceptable Sec-WebSocket-Extensions header'; + abortHandshakeOrEmitwsClientError(this, req, socket, 400, message); + return; + } + } + + // + // Optionally call external client verification handler. + // + if (this.options.verifyClient) { + const info = { + origin: + req.headers[`${version === 8 ? 'sec-websocket-origin' : 'origin'}`], + secure: !!(req.socket.authorized || req.socket.encrypted), + req + }; + + if (this.options.verifyClient.length === 2) { + this.options.verifyClient(info, (verified, code, message, headers) => { + if (!verified) { + return abortHandshake(socket, code || 401, message, headers); + } + + this.completeUpgrade( + extensions, + key, + protocols, + req, + socket, + head, + cb + ); + }); + return; + } + + if (!this.options.verifyClient(info)) return abortHandshake(socket, 401); + } + + this.completeUpgrade(extensions, key, protocols, req, socket, head, cb); + } + + /** + * Upgrade the connection to WebSocket. + * + * @param {Object} extensions The accepted extensions + * @param {String} key The value of the `Sec-WebSocket-Key` header + * @param {Set} protocols The subprotocols + * @param {http.IncomingMessage} req The request object + * @param {Duplex} socket The network socket between the server and client + * @param {Buffer} head The first packet of the upgraded stream + * @param {Function} cb Callback + * @throws {Error} If called more than once with the same socket + * @private + */ + completeUpgrade(extensions, key, protocols, req, socket, head, cb) { + // + // Destroy the socket if the client has already sent a FIN packet. + // + if (!socket.readable || !socket.writable) return socket.destroy(); + + if (socket[kWebSocket]) { + throw new Error( + 'server.handleUpgrade() was called more than once with the same ' + + 'socket, possibly due to a misconfiguration' + ); + } + + if (this._state > RUNNING) return abortHandshake(socket, 503); + + const digest = createHash('sha1') + .update(key + GUID) + .digest('base64'); + + const headers = [ + 'HTTP/1.1 101 Switching Protocols', + 'Upgrade: websocket', + 'Connection: Upgrade', + `Sec-WebSocket-Accept: ${digest}` + ]; + + const ws = new this.options.WebSocket(null, undefined, this.options); + + if (protocols.size) { + // + // Optionally call external protocol selection handler. + // + const protocol = this.options.handleProtocols + ? this.options.handleProtocols(protocols, req) + : protocols.values().next().value; + + if (protocol) { + headers.push(`Sec-WebSocket-Protocol: ${protocol}`); + ws._protocol = protocol; + } + } + + if (extensions[PerMessageDeflate.extensionName]) { + const params = extensions[PerMessageDeflate.extensionName].params; + const value = extension.format({ + [PerMessageDeflate.extensionName]: [params] + }); + headers.push(`Sec-WebSocket-Extensions: ${value}`); + ws._extensions = extensions; + } + + // + // Allow external modification/inspection of handshake headers. + // + this.emit('headers', headers, req); + + socket.write(headers.concat('\r\n').join('\r\n')); + socket.removeListener('error', socketOnError); + + ws.setSocket(socket, head, { + allowSynchronousEvents: this.options.allowSynchronousEvents, + maxPayload: this.options.maxPayload, + skipUTF8Validation: this.options.skipUTF8Validation + }); + + if (this.clients) { + this.clients.add(ws); + ws.on('close', () => { + this.clients.delete(ws); + + if (this._shouldEmitClose && !this.clients.size) { + process.nextTick(emitClose, this); + } + }); + } + + cb(ws, req); + } +} + +module.exports = WebSocketServer; + +/** + * Add event listeners on an `EventEmitter` using a map of + * pairs. + * + * @param {EventEmitter} server The event emitter + * @param {Object.} map The listeners to add + * @return {Function} A function that will remove the added listeners when + * called + * @private + */ +function addListeners(server, map) { + for (const event of Object.keys(map)) server.on(event, map[event]); + + return function removeListeners() { + for (const event of Object.keys(map)) { + server.removeListener(event, map[event]); + } + }; +} + +/** + * Emit a `'close'` event on an `EventEmitter`. + * + * @param {EventEmitter} server The event emitter + * @private + */ +function emitClose(server) { + server._state = CLOSED; + server.emit('close'); +} + +/** + * Handle socket errors. + * + * @private + */ +function socketOnError() { + this.destroy(); +} + +/** + * Close the connection when preconditions are not fulfilled. + * + * @param {Duplex} socket The socket of the upgrade request + * @param {Number} code The HTTP response status code + * @param {String} [message] The HTTP response body + * @param {Object} [headers] Additional HTTP response headers + * @private + */ +function abortHandshake(socket, code, message, headers) { + // + // The socket is writable unless the user destroyed or ended it before calling + // `server.handleUpgrade()` or in the `verifyClient` function, which is a user + // error. Handling this does not make much sense as the worst that can happen + // is that some of the data written by the user might be discarded due to the + // call to `socket.end()` below, which triggers an `'error'` event that in + // turn causes the socket to be destroyed. + // + message = message || http.STATUS_CODES[code]; + headers = { + Connection: 'close', + 'Content-Type': 'text/html', + 'Content-Length': Buffer.byteLength(message), + ...headers + }; + + socket.once('finish', socket.destroy); + + socket.end( + `HTTP/1.1 ${code} ${http.STATUS_CODES[code]}\r\n` + + Object.keys(headers) + .map((h) => `${h}: ${headers[h]}`) + .join('\r\n') + + '\r\n\r\n' + + message + ); +} + +/** + * Emit a `'wsClientError'` event on a `WebSocketServer` if there is at least + * one listener for it, otherwise call `abortHandshake()`. + * + * @param {WebSocketServer} server The WebSocket server + * @param {http.IncomingMessage} req The request object + * @param {Duplex} socket The socket of the upgrade request + * @param {Number} code The HTTP response status code + * @param {String} message The HTTP response body + * @param {Object} [headers] The HTTP response headers + * @private + */ +function abortHandshakeOrEmitwsClientError( + server, + req, + socket, + code, + message, + headers +) { + if (server.listenerCount('wsClientError')) { + const err = new Error(message); + Error.captureStackTrace(err, abortHandshakeOrEmitwsClientError); + + server.emit('wsClientError', err, socket, req); + } else { + abortHandshake(socket, code, message, headers); + } +} diff --git a/node_modules/ws/lib/websocket.js b/node_modules/ws/lib/websocket.js new file mode 100644 index 0000000..75d5bb2 --- /dev/null +++ b/node_modules/ws/lib/websocket.js @@ -0,0 +1,1393 @@ +/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "^Duplex|Readable$", "caughtErrors": "none" }] */ + +'use strict'; + +const EventEmitter = require('events'); +const https = require('https'); +const http = require('http'); +const net = require('net'); +const tls = require('tls'); +const { randomBytes, createHash } = require('crypto'); +const { Duplex, Readable } = require('stream'); +const { URL } = require('url'); + +const PerMessageDeflate = require('./permessage-deflate'); +const Receiver = require('./receiver'); +const Sender = require('./sender'); +const { isBlob } = require('./validation'); + +const { + BINARY_TYPES, + CLOSE_TIMEOUT, + EMPTY_BUFFER, + GUID, + kForOnEventAttribute, + kListener, + kStatusCode, + kWebSocket, + NOOP +} = require('./constants'); +const { + EventTarget: { addEventListener, removeEventListener } +} = require('./event-target'); +const { format, parse } = require('./extension'); +const { toBuffer } = require('./buffer-util'); + +const kAborted = Symbol('kAborted'); +const protocolVersions = [8, 13]; +const readyStates = ['CONNECTING', 'OPEN', 'CLOSING', 'CLOSED']; +const subprotocolRegex = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/; + +/** + * Class representing a WebSocket. + * + * @extends EventEmitter + */ +class WebSocket extends EventEmitter { + /** + * Create a new `WebSocket`. + * + * @param {(String|URL)} address The URL to which to connect + * @param {(String|String[])} [protocols] The subprotocols + * @param {Object} [options] Connection options + */ + constructor(address, protocols, options) { + super(); + + this._binaryType = BINARY_TYPES[0]; + this._closeCode = 1006; + this._closeFrameReceived = false; + this._closeFrameSent = false; + this._closeMessage = EMPTY_BUFFER; + this._closeTimer = null; + this._errorEmitted = false; + this._extensions = {}; + this._paused = false; + this._protocol = ''; + this._readyState = WebSocket.CONNECTING; + this._receiver = null; + this._sender = null; + this._socket = null; + + if (address !== null) { + this._bufferedAmount = 0; + this._isServer = false; + this._redirects = 0; + + if (protocols === undefined) { + protocols = []; + } else if (!Array.isArray(protocols)) { + if (typeof protocols === 'object' && protocols !== null) { + options = protocols; + protocols = []; + } else { + protocols = [protocols]; + } + } + + initAsClient(this, address, protocols, options); + } else { + this._autoPong = options.autoPong; + this._closeTimeout = options.closeTimeout; + this._isServer = true; + } + } + + /** + * For historical reasons, the custom "nodebuffer" type is used by the default + * instead of "blob". + * + * @type {String} + */ + get binaryType() { + return this._binaryType; + } + + set binaryType(type) { + if (!BINARY_TYPES.includes(type)) return; + + this._binaryType = type; + + // + // Allow to change `binaryType` on the fly. + // + if (this._receiver) this._receiver._binaryType = type; + } + + /** + * @type {Number} + */ + get bufferedAmount() { + if (!this._socket) return this._bufferedAmount; + + return this._socket._writableState.length + this._sender._bufferedBytes; + } + + /** + * @type {String} + */ + get extensions() { + return Object.keys(this._extensions).join(); + } + + /** + * @type {Boolean} + */ + get isPaused() { + return this._paused; + } + + /** + * @type {Function} + */ + /* istanbul ignore next */ + get onclose() { + return null; + } + + /** + * @type {Function} + */ + /* istanbul ignore next */ + get onerror() { + return null; + } + + /** + * @type {Function} + */ + /* istanbul ignore next */ + get onopen() { + return null; + } + + /** + * @type {Function} + */ + /* istanbul ignore next */ + get onmessage() { + return null; + } + + /** + * @type {String} + */ + get protocol() { + return this._protocol; + } + + /** + * @type {Number} + */ + get readyState() { + return this._readyState; + } + + /** + * @type {String} + */ + get url() { + return this._url; + } + + /** + * Set up the socket and the internal resources. + * + * @param {Duplex} socket The network socket between the server and client + * @param {Buffer} head The first packet of the upgraded stream + * @param {Object} options Options object + * @param {Boolean} [options.allowSynchronousEvents=false] Specifies whether + * any of the `'message'`, `'ping'`, and `'pong'` events can be emitted + * multiple times in the same tick + * @param {Function} [options.generateMask] The function used to generate the + * masking key + * @param {Number} [options.maxPayload=0] The maximum allowed message size + * @param {Boolean} [options.skipUTF8Validation=false] Specifies whether or + * not to skip UTF-8 validation for text and close messages + * @private + */ + setSocket(socket, head, options) { + const receiver = new Receiver({ + allowSynchronousEvents: options.allowSynchronousEvents, + binaryType: this.binaryType, + extensions: this._extensions, + isServer: this._isServer, + maxPayload: options.maxPayload, + skipUTF8Validation: options.skipUTF8Validation + }); + + const sender = new Sender(socket, this._extensions, options.generateMask); + + this._receiver = receiver; + this._sender = sender; + this._socket = socket; + + receiver[kWebSocket] = this; + sender[kWebSocket] = this; + socket[kWebSocket] = this; + + receiver.on('conclude', receiverOnConclude); + receiver.on('drain', receiverOnDrain); + receiver.on('error', receiverOnError); + receiver.on('message', receiverOnMessage); + receiver.on('ping', receiverOnPing); + receiver.on('pong', receiverOnPong); + + sender.onerror = senderOnError; + + // + // These methods may not be available if `socket` is just a `Duplex`. + // + if (socket.setTimeout) socket.setTimeout(0); + if (socket.setNoDelay) socket.setNoDelay(); + + if (head.length > 0) socket.unshift(head); + + socket.on('close', socketOnClose); + socket.on('data', socketOnData); + socket.on('end', socketOnEnd); + socket.on('error', socketOnError); + + this._readyState = WebSocket.OPEN; + this.emit('open'); + } + + /** + * Emit the `'close'` event. + * + * @private + */ + emitClose() { + if (!this._socket) { + this._readyState = WebSocket.CLOSED; + this.emit('close', this._closeCode, this._closeMessage); + return; + } + + if (this._extensions[PerMessageDeflate.extensionName]) { + this._extensions[PerMessageDeflate.extensionName].cleanup(); + } + + this._receiver.removeAllListeners(); + this._readyState = WebSocket.CLOSED; + this.emit('close', this._closeCode, this._closeMessage); + } + + /** + * Start a closing handshake. + * + * +----------+ +-----------+ +----------+ + * - - -|ws.close()|-->|close frame|-->|ws.close()|- - - + * | +----------+ +-----------+ +----------+ | + * +----------+ +-----------+ | + * CLOSING |ws.close()|<--|close frame|<--+-----+ CLOSING + * +----------+ +-----------+ | + * | | | +---+ | + * +------------------------+-->|fin| - - - - + * | +---+ | +---+ + * - - - - -|fin|<---------------------+ + * +---+ + * + * @param {Number} [code] Status code explaining why the connection is closing + * @param {(String|Buffer)} [data] The reason why the connection is + * closing + * @public + */ + close(code, data) { + if (this.readyState === WebSocket.CLOSED) return; + if (this.readyState === WebSocket.CONNECTING) { + const msg = 'WebSocket was closed before the connection was established'; + abortHandshake(this, this._req, msg); + return; + } + + if (this.readyState === WebSocket.CLOSING) { + if ( + this._closeFrameSent && + (this._closeFrameReceived || this._receiver._writableState.errorEmitted) + ) { + this._socket.end(); + } + + return; + } + + this._readyState = WebSocket.CLOSING; + this._sender.close(code, data, !this._isServer, (err) => { + // + // This error is handled by the `'error'` listener on the socket. We only + // want to know if the close frame has been sent here. + // + if (err) return; + + this._closeFrameSent = true; + + if ( + this._closeFrameReceived || + this._receiver._writableState.errorEmitted + ) { + this._socket.end(); + } + }); + + setCloseTimer(this); + } + + /** + * Pause the socket. + * + * @public + */ + pause() { + if ( + this.readyState === WebSocket.CONNECTING || + this.readyState === WebSocket.CLOSED + ) { + return; + } + + this._paused = true; + this._socket.pause(); + } + + /** + * Send a ping. + * + * @param {*} [data] The data to send + * @param {Boolean} [mask] Indicates whether or not to mask `data` + * @param {Function} [cb] Callback which is executed when the ping is sent + * @public + */ + ping(data, mask, cb) { + if (this.readyState === WebSocket.CONNECTING) { + throw new Error('WebSocket is not open: readyState 0 (CONNECTING)'); + } + + if (typeof data === 'function') { + cb = data; + data = mask = undefined; + } else if (typeof mask === 'function') { + cb = mask; + mask = undefined; + } + + if (typeof data === 'number') data = data.toString(); + + if (this.readyState !== WebSocket.OPEN) { + sendAfterClose(this, data, cb); + return; + } + + if (mask === undefined) mask = !this._isServer; + this._sender.ping(data || EMPTY_BUFFER, mask, cb); + } + + /** + * Send a pong. + * + * @param {*} [data] The data to send + * @param {Boolean} [mask] Indicates whether or not to mask `data` + * @param {Function} [cb] Callback which is executed when the pong is sent + * @public + */ + pong(data, mask, cb) { + if (this.readyState === WebSocket.CONNECTING) { + throw new Error('WebSocket is not open: readyState 0 (CONNECTING)'); + } + + if (typeof data === 'function') { + cb = data; + data = mask = undefined; + } else if (typeof mask === 'function') { + cb = mask; + mask = undefined; + } + + if (typeof data === 'number') data = data.toString(); + + if (this.readyState !== WebSocket.OPEN) { + sendAfterClose(this, data, cb); + return; + } + + if (mask === undefined) mask = !this._isServer; + this._sender.pong(data || EMPTY_BUFFER, mask, cb); + } + + /** + * Resume the socket. + * + * @public + */ + resume() { + if ( + this.readyState === WebSocket.CONNECTING || + this.readyState === WebSocket.CLOSED + ) { + return; + } + + this._paused = false; + if (!this._receiver._writableState.needDrain) this._socket.resume(); + } + + /** + * Send a data message. + * + * @param {*} data The message to send + * @param {Object} [options] Options object + * @param {Boolean} [options.binary] Specifies whether `data` is binary or + * text + * @param {Boolean} [options.compress] Specifies whether or not to compress + * `data` + * @param {Boolean} [options.fin=true] Specifies whether the fragment is the + * last one + * @param {Boolean} [options.mask] Specifies whether or not to mask `data` + * @param {Function} [cb] Callback which is executed when data is written out + * @public + */ + send(data, options, cb) { + if (this.readyState === WebSocket.CONNECTING) { + throw new Error('WebSocket is not open: readyState 0 (CONNECTING)'); + } + + if (typeof options === 'function') { + cb = options; + options = {}; + } + + if (typeof data === 'number') data = data.toString(); + + if (this.readyState !== WebSocket.OPEN) { + sendAfterClose(this, data, cb); + return; + } + + const opts = { + binary: typeof data !== 'string', + mask: !this._isServer, + compress: true, + fin: true, + ...options + }; + + if (!this._extensions[PerMessageDeflate.extensionName]) { + opts.compress = false; + } + + this._sender.send(data || EMPTY_BUFFER, opts, cb); + } + + /** + * Forcibly close the connection. + * + * @public + */ + terminate() { + if (this.readyState === WebSocket.CLOSED) return; + if (this.readyState === WebSocket.CONNECTING) { + const msg = 'WebSocket was closed before the connection was established'; + abortHandshake(this, this._req, msg); + return; + } + + if (this._socket) { + this._readyState = WebSocket.CLOSING; + this._socket.destroy(); + } + } +} + +/** + * @constant {Number} CONNECTING + * @memberof WebSocket + */ +Object.defineProperty(WebSocket, 'CONNECTING', { + enumerable: true, + value: readyStates.indexOf('CONNECTING') +}); + +/** + * @constant {Number} CONNECTING + * @memberof WebSocket.prototype + */ +Object.defineProperty(WebSocket.prototype, 'CONNECTING', { + enumerable: true, + value: readyStates.indexOf('CONNECTING') +}); + +/** + * @constant {Number} OPEN + * @memberof WebSocket + */ +Object.defineProperty(WebSocket, 'OPEN', { + enumerable: true, + value: readyStates.indexOf('OPEN') +}); + +/** + * @constant {Number} OPEN + * @memberof WebSocket.prototype + */ +Object.defineProperty(WebSocket.prototype, 'OPEN', { + enumerable: true, + value: readyStates.indexOf('OPEN') +}); + +/** + * @constant {Number} CLOSING + * @memberof WebSocket + */ +Object.defineProperty(WebSocket, 'CLOSING', { + enumerable: true, + value: readyStates.indexOf('CLOSING') +}); + +/** + * @constant {Number} CLOSING + * @memberof WebSocket.prototype + */ +Object.defineProperty(WebSocket.prototype, 'CLOSING', { + enumerable: true, + value: readyStates.indexOf('CLOSING') +}); + +/** + * @constant {Number} CLOSED + * @memberof WebSocket + */ +Object.defineProperty(WebSocket, 'CLOSED', { + enumerable: true, + value: readyStates.indexOf('CLOSED') +}); + +/** + * @constant {Number} CLOSED + * @memberof WebSocket.prototype + */ +Object.defineProperty(WebSocket.prototype, 'CLOSED', { + enumerable: true, + value: readyStates.indexOf('CLOSED') +}); + +[ + 'binaryType', + 'bufferedAmount', + 'extensions', + 'isPaused', + 'protocol', + 'readyState', + 'url' +].forEach((property) => { + Object.defineProperty(WebSocket.prototype, property, { enumerable: true }); +}); + +// +// Add the `onopen`, `onerror`, `onclose`, and `onmessage` attributes. +// See https://html.spec.whatwg.org/multipage/comms.html#the-websocket-interface +// +['open', 'error', 'close', 'message'].forEach((method) => { + Object.defineProperty(WebSocket.prototype, `on${method}`, { + enumerable: true, + get() { + for (const listener of this.listeners(method)) { + if (listener[kForOnEventAttribute]) return listener[kListener]; + } + + return null; + }, + set(handler) { + for (const listener of this.listeners(method)) { + if (listener[kForOnEventAttribute]) { + this.removeListener(method, listener); + break; + } + } + + if (typeof handler !== 'function') return; + + this.addEventListener(method, handler, { + [kForOnEventAttribute]: true + }); + } + }); +}); + +WebSocket.prototype.addEventListener = addEventListener; +WebSocket.prototype.removeEventListener = removeEventListener; + +module.exports = WebSocket; + +/** + * Initialize a WebSocket client. + * + * @param {WebSocket} websocket The client to initialize + * @param {(String|URL)} address The URL to which to connect + * @param {Array} protocols The subprotocols + * @param {Object} [options] Connection options + * @param {Boolean} [options.allowSynchronousEvents=true] Specifies whether any + * of the `'message'`, `'ping'`, and `'pong'` events can be emitted multiple + * times in the same tick + * @param {Boolean} [options.autoPong=true] Specifies whether or not to + * automatically send a pong in response to a ping + * @param {Number} [options.closeTimeout=30000] Duration in milliseconds to wait + * for the closing handshake to finish after `websocket.close()` is called + * @param {Function} [options.finishRequest] A function which can be used to + * customize the headers of each http request before it is sent + * @param {Boolean} [options.followRedirects=false] Whether or not to follow + * redirects + * @param {Function} [options.generateMask] The function used to generate the + * masking key + * @param {Number} [options.handshakeTimeout] Timeout in milliseconds for the + * handshake request + * @param {Number} [options.maxPayload=104857600] The maximum allowed message + * size + * @param {Number} [options.maxRedirects=10] The maximum number of redirects + * allowed + * @param {String} [options.origin] Value of the `Origin` or + * `Sec-WebSocket-Origin` header + * @param {(Boolean|Object)} [options.perMessageDeflate=true] Enable/disable + * permessage-deflate + * @param {Number} [options.protocolVersion=13] Value of the + * `Sec-WebSocket-Version` header + * @param {Boolean} [options.skipUTF8Validation=false] Specifies whether or + * not to skip UTF-8 validation for text and close messages + * @private + */ +function initAsClient(websocket, address, protocols, options) { + const opts = { + allowSynchronousEvents: true, + autoPong: true, + closeTimeout: CLOSE_TIMEOUT, + protocolVersion: protocolVersions[1], + maxPayload: 100 * 1024 * 1024, + skipUTF8Validation: false, + perMessageDeflate: true, + followRedirects: false, + maxRedirects: 10, + ...options, + socketPath: undefined, + hostname: undefined, + protocol: undefined, + timeout: undefined, + method: 'GET', + host: undefined, + path: undefined, + port: undefined + }; + + websocket._autoPong = opts.autoPong; + websocket._closeTimeout = opts.closeTimeout; + + if (!protocolVersions.includes(opts.protocolVersion)) { + throw new RangeError( + `Unsupported protocol version: ${opts.protocolVersion} ` + + `(supported versions: ${protocolVersions.join(', ')})` + ); + } + + let parsedUrl; + + if (address instanceof URL) { + parsedUrl = address; + } else { + try { + parsedUrl = new URL(address); + } catch { + throw new SyntaxError(`Invalid URL: ${address}`); + } + } + + if (parsedUrl.protocol === 'http:') { + parsedUrl.protocol = 'ws:'; + } else if (parsedUrl.protocol === 'https:') { + parsedUrl.protocol = 'wss:'; + } + + websocket._url = parsedUrl.href; + + const isSecure = parsedUrl.protocol === 'wss:'; + const isIpcUrl = parsedUrl.protocol === 'ws+unix:'; + let invalidUrlMessage; + + if (parsedUrl.protocol !== 'ws:' && !isSecure && !isIpcUrl) { + invalidUrlMessage = + 'The URL\'s protocol must be one of "ws:", "wss:", ' + + '"http:", "https:", or "ws+unix:"'; + } else if (isIpcUrl && !parsedUrl.pathname) { + invalidUrlMessage = "The URL's pathname is empty"; + } else if (parsedUrl.hash) { + invalidUrlMessage = 'The URL contains a fragment identifier'; + } + + if (invalidUrlMessage) { + const err = new SyntaxError(invalidUrlMessage); + + if (websocket._redirects === 0) { + throw err; + } else { + emitErrorAndClose(websocket, err); + return; + } + } + + const defaultPort = isSecure ? 443 : 80; + const key = randomBytes(16).toString('base64'); + const request = isSecure ? https.request : http.request; + const protocolSet = new Set(); + let perMessageDeflate; + + opts.createConnection = + opts.createConnection || (isSecure ? tlsConnect : netConnect); + opts.defaultPort = opts.defaultPort || defaultPort; + opts.port = parsedUrl.port || defaultPort; + opts.host = parsedUrl.hostname.startsWith('[') + ? parsedUrl.hostname.slice(1, -1) + : parsedUrl.hostname; + opts.headers = { + ...opts.headers, + 'Sec-WebSocket-Version': opts.protocolVersion, + 'Sec-WebSocket-Key': key, + Connection: 'Upgrade', + Upgrade: 'websocket' + }; + opts.path = parsedUrl.pathname + parsedUrl.search; + opts.timeout = opts.handshakeTimeout; + + if (opts.perMessageDeflate) { + perMessageDeflate = new PerMessageDeflate({ + ...opts.perMessageDeflate, + isServer: false, + maxPayload: opts.maxPayload + }); + opts.headers['Sec-WebSocket-Extensions'] = format({ + [PerMessageDeflate.extensionName]: perMessageDeflate.offer() + }); + } + if (protocols.length) { + for (const protocol of protocols) { + if ( + typeof protocol !== 'string' || + !subprotocolRegex.test(protocol) || + protocolSet.has(protocol) + ) { + throw new SyntaxError( + 'An invalid or duplicated subprotocol was specified' + ); + } + + protocolSet.add(protocol); + } + + opts.headers['Sec-WebSocket-Protocol'] = protocols.join(','); + } + if (opts.origin) { + if (opts.protocolVersion < 13) { + opts.headers['Sec-WebSocket-Origin'] = opts.origin; + } else { + opts.headers.Origin = opts.origin; + } + } + if (parsedUrl.username || parsedUrl.password) { + opts.auth = `${parsedUrl.username}:${parsedUrl.password}`; + } + + if (isIpcUrl) { + const parts = opts.path.split(':'); + + opts.socketPath = parts[0]; + opts.path = parts[1]; + } + + let req; + + if (opts.followRedirects) { + if (websocket._redirects === 0) { + websocket._originalIpc = isIpcUrl; + websocket._originalSecure = isSecure; + websocket._originalHostOrSocketPath = isIpcUrl + ? opts.socketPath + : parsedUrl.host; + + const headers = options && options.headers; + + // + // Shallow copy the user provided options so that headers can be changed + // without mutating the original object. + // + options = { ...options, headers: {} }; + + if (headers) { + for (const [key, value] of Object.entries(headers)) { + options.headers[key.toLowerCase()] = value; + } + } + } else if (websocket.listenerCount('redirect') === 0) { + const isSameHost = isIpcUrl + ? websocket._originalIpc + ? opts.socketPath === websocket._originalHostOrSocketPath + : false + : websocket._originalIpc + ? false + : parsedUrl.host === websocket._originalHostOrSocketPath; + + if (!isSameHost || (websocket._originalSecure && !isSecure)) { + // + // Match curl 7.77.0 behavior and drop the following headers. These + // headers are also dropped when following a redirect to a subdomain. + // + delete opts.headers.authorization; + delete opts.headers.cookie; + + if (!isSameHost) delete opts.headers.host; + + opts.auth = undefined; + } + } + + // + // Match curl 7.77.0 behavior and make the first `Authorization` header win. + // If the `Authorization` header is set, then there is nothing to do as it + // will take precedence. + // + if (opts.auth && !options.headers.authorization) { + options.headers.authorization = + 'Basic ' + Buffer.from(opts.auth).toString('base64'); + } + + req = websocket._req = request(opts); + + if (websocket._redirects) { + // + // Unlike what is done for the `'upgrade'` event, no early exit is + // triggered here if the user calls `websocket.close()` or + // `websocket.terminate()` from a listener of the `'redirect'` event. This + // is because the user can also call `request.destroy()` with an error + // before calling `websocket.close()` or `websocket.terminate()` and this + // would result in an error being emitted on the `request` object with no + // `'error'` event listeners attached. + // + websocket.emit('redirect', websocket.url, req); + } + } else { + req = websocket._req = request(opts); + } + + if (opts.timeout) { + req.on('timeout', () => { + abortHandshake(websocket, req, 'Opening handshake has timed out'); + }); + } + + req.on('error', (err) => { + if (req === null || req[kAborted]) return; + + req = websocket._req = null; + emitErrorAndClose(websocket, err); + }); + + req.on('response', (res) => { + const location = res.headers.location; + const statusCode = res.statusCode; + + if ( + location && + opts.followRedirects && + statusCode >= 300 && + statusCode < 400 + ) { + if (++websocket._redirects > opts.maxRedirects) { + abortHandshake(websocket, req, 'Maximum redirects exceeded'); + return; + } + + req.abort(); + + let addr; + + try { + addr = new URL(location, address); + } catch (e) { + const err = new SyntaxError(`Invalid URL: ${location}`); + emitErrorAndClose(websocket, err); + return; + } + + initAsClient(websocket, addr, protocols, options); + } else if (!websocket.emit('unexpected-response', req, res)) { + abortHandshake( + websocket, + req, + `Unexpected server response: ${res.statusCode}` + ); + } + }); + + req.on('upgrade', (res, socket, head) => { + websocket.emit('upgrade', res); + + // + // The user may have closed the connection from a listener of the + // `'upgrade'` event. + // + if (websocket.readyState !== WebSocket.CONNECTING) return; + + req = websocket._req = null; + + const upgrade = res.headers.upgrade; + + if (upgrade === undefined || upgrade.toLowerCase() !== 'websocket') { + abortHandshake(websocket, socket, 'Invalid Upgrade header'); + return; + } + + const digest = createHash('sha1') + .update(key + GUID) + .digest('base64'); + + if (res.headers['sec-websocket-accept'] !== digest) { + abortHandshake(websocket, socket, 'Invalid Sec-WebSocket-Accept header'); + return; + } + + const serverProt = res.headers['sec-websocket-protocol']; + let protError; + + if (serverProt !== undefined) { + if (!protocolSet.size) { + protError = 'Server sent a subprotocol but none was requested'; + } else if (!protocolSet.has(serverProt)) { + protError = 'Server sent an invalid subprotocol'; + } + } else if (protocolSet.size) { + protError = 'Server sent no subprotocol'; + } + + if (protError) { + abortHandshake(websocket, socket, protError); + return; + } + + if (serverProt) websocket._protocol = serverProt; + + const secWebSocketExtensions = res.headers['sec-websocket-extensions']; + + if (secWebSocketExtensions !== undefined) { + if (!perMessageDeflate) { + const message = + 'Server sent a Sec-WebSocket-Extensions header but no extension ' + + 'was requested'; + abortHandshake(websocket, socket, message); + return; + } + + let extensions; + + try { + extensions = parse(secWebSocketExtensions); + } catch (err) { + const message = 'Invalid Sec-WebSocket-Extensions header'; + abortHandshake(websocket, socket, message); + return; + } + + const extensionNames = Object.keys(extensions); + + if ( + extensionNames.length !== 1 || + extensionNames[0] !== PerMessageDeflate.extensionName + ) { + const message = 'Server indicated an extension that was not requested'; + abortHandshake(websocket, socket, message); + return; + } + + try { + perMessageDeflate.accept(extensions[PerMessageDeflate.extensionName]); + } catch (err) { + const message = 'Invalid Sec-WebSocket-Extensions header'; + abortHandshake(websocket, socket, message); + return; + } + + websocket._extensions[PerMessageDeflate.extensionName] = + perMessageDeflate; + } + + websocket.setSocket(socket, head, { + allowSynchronousEvents: opts.allowSynchronousEvents, + generateMask: opts.generateMask, + maxPayload: opts.maxPayload, + skipUTF8Validation: opts.skipUTF8Validation + }); + }); + + if (opts.finishRequest) { + opts.finishRequest(req, websocket); + } else { + req.end(); + } +} + +/** + * Emit the `'error'` and `'close'` events. + * + * @param {WebSocket} websocket The WebSocket instance + * @param {Error} The error to emit + * @private + */ +function emitErrorAndClose(websocket, err) { + websocket._readyState = WebSocket.CLOSING; + // + // The following assignment is practically useless and is done only for + // consistency. + // + websocket._errorEmitted = true; + websocket.emit('error', err); + websocket.emitClose(); +} + +/** + * Create a `net.Socket` and initiate a connection. + * + * @param {Object} options Connection options + * @return {net.Socket} The newly created socket used to start the connection + * @private + */ +function netConnect(options) { + options.path = options.socketPath; + return net.connect(options); +} + +/** + * Create a `tls.TLSSocket` and initiate a connection. + * + * @param {Object} options Connection options + * @return {tls.TLSSocket} The newly created socket used to start the connection + * @private + */ +function tlsConnect(options) { + options.path = undefined; + + if (!options.servername && options.servername !== '') { + options.servername = net.isIP(options.host) ? '' : options.host; + } + + return tls.connect(options); +} + +/** + * Abort the handshake and emit an error. + * + * @param {WebSocket} websocket The WebSocket instance + * @param {(http.ClientRequest|net.Socket|tls.Socket)} stream The request to + * abort or the socket to destroy + * @param {String} message The error message + * @private + */ +function abortHandshake(websocket, stream, message) { + websocket._readyState = WebSocket.CLOSING; + + const err = new Error(message); + Error.captureStackTrace(err, abortHandshake); + + if (stream.setHeader) { + stream[kAborted] = true; + stream.abort(); + + if (stream.socket && !stream.socket.destroyed) { + // + // On Node.js >= 14.3.0 `request.abort()` does not destroy the socket if + // called after the request completed. See + // https://github.com/websockets/ws/issues/1869. + // + stream.socket.destroy(); + } + + process.nextTick(emitErrorAndClose, websocket, err); + } else { + stream.destroy(err); + stream.once('error', websocket.emit.bind(websocket, 'error')); + stream.once('close', websocket.emitClose.bind(websocket)); + } +} + +/** + * Handle cases where the `ping()`, `pong()`, or `send()` methods are called + * when the `readyState` attribute is `CLOSING` or `CLOSED`. + * + * @param {WebSocket} websocket The WebSocket instance + * @param {*} [data] The data to send + * @param {Function} [cb] Callback + * @private + */ +function sendAfterClose(websocket, data, cb) { + if (data) { + const length = isBlob(data) ? data.size : toBuffer(data).length; + + // + // The `_bufferedAmount` property is used only when the peer is a client and + // the opening handshake fails. Under these circumstances, in fact, the + // `setSocket()` method is not called, so the `_socket` and `_sender` + // properties are set to `null`. + // + if (websocket._socket) websocket._sender._bufferedBytes += length; + else websocket._bufferedAmount += length; + } + + if (cb) { + const err = new Error( + `WebSocket is not open: readyState ${websocket.readyState} ` + + `(${readyStates[websocket.readyState]})` + ); + process.nextTick(cb, err); + } +} + +/** + * The listener of the `Receiver` `'conclude'` event. + * + * @param {Number} code The status code + * @param {Buffer} reason The reason for closing + * @private + */ +function receiverOnConclude(code, reason) { + const websocket = this[kWebSocket]; + + websocket._closeFrameReceived = true; + websocket._closeMessage = reason; + websocket._closeCode = code; + + if (websocket._socket[kWebSocket] === undefined) return; + + websocket._socket.removeListener('data', socketOnData); + process.nextTick(resume, websocket._socket); + + if (code === 1005) websocket.close(); + else websocket.close(code, reason); +} + +/** + * The listener of the `Receiver` `'drain'` event. + * + * @private + */ +function receiverOnDrain() { + const websocket = this[kWebSocket]; + + if (!websocket.isPaused) websocket._socket.resume(); +} + +/** + * The listener of the `Receiver` `'error'` event. + * + * @param {(RangeError|Error)} err The emitted error + * @private + */ +function receiverOnError(err) { + const websocket = this[kWebSocket]; + + if (websocket._socket[kWebSocket] !== undefined) { + websocket._socket.removeListener('data', socketOnData); + + // + // On Node.js < 14.0.0 the `'error'` event is emitted synchronously. See + // https://github.com/websockets/ws/issues/1940. + // + process.nextTick(resume, websocket._socket); + + websocket.close(err[kStatusCode]); + } + + if (!websocket._errorEmitted) { + websocket._errorEmitted = true; + websocket.emit('error', err); + } +} + +/** + * The listener of the `Receiver` `'finish'` event. + * + * @private + */ +function receiverOnFinish() { + this[kWebSocket].emitClose(); +} + +/** + * The listener of the `Receiver` `'message'` event. + * + * @param {Buffer|ArrayBuffer|Buffer[])} data The message + * @param {Boolean} isBinary Specifies whether the message is binary or not + * @private + */ +function receiverOnMessage(data, isBinary) { + this[kWebSocket].emit('message', data, isBinary); +} + +/** + * The listener of the `Receiver` `'ping'` event. + * + * @param {Buffer} data The data included in the ping frame + * @private + */ +function receiverOnPing(data) { + const websocket = this[kWebSocket]; + + if (websocket._autoPong) websocket.pong(data, !this._isServer, NOOP); + websocket.emit('ping', data); +} + +/** + * The listener of the `Receiver` `'pong'` event. + * + * @param {Buffer} data The data included in the pong frame + * @private + */ +function receiverOnPong(data) { + this[kWebSocket].emit('pong', data); +} + +/** + * Resume a readable stream + * + * @param {Readable} stream The readable stream + * @private + */ +function resume(stream) { + stream.resume(); +} + +/** + * The `Sender` error event handler. + * + * @param {Error} The error + * @private + */ +function senderOnError(err) { + const websocket = this[kWebSocket]; + + if (websocket.readyState === WebSocket.CLOSED) return; + if (websocket.readyState === WebSocket.OPEN) { + websocket._readyState = WebSocket.CLOSING; + setCloseTimer(websocket); + } + + // + // `socket.end()` is used instead of `socket.destroy()` to allow the other + // peer to finish sending queued data. There is no need to set a timer here + // because `CLOSING` means that it is already set or not needed. + // + this._socket.end(); + + if (!websocket._errorEmitted) { + websocket._errorEmitted = true; + websocket.emit('error', err); + } +} + +/** + * Set a timer to destroy the underlying raw socket of a WebSocket. + * + * @param {WebSocket} websocket The WebSocket instance + * @private + */ +function setCloseTimer(websocket) { + websocket._closeTimer = setTimeout( + websocket._socket.destroy.bind(websocket._socket), + websocket._closeTimeout + ); +} + +/** + * The listener of the socket `'close'` event. + * + * @private + */ +function socketOnClose() { + const websocket = this[kWebSocket]; + + this.removeListener('close', socketOnClose); + this.removeListener('data', socketOnData); + this.removeListener('end', socketOnEnd); + + websocket._readyState = WebSocket.CLOSING; + + // + // The close frame might not have been received or the `'end'` event emitted, + // for example, if the socket was destroyed due to an error. Ensure that the + // `receiver` stream is closed after writing any remaining buffered data to + // it. If the readable side of the socket is in flowing mode then there is no + // buffered data as everything has been already written. If instead, the + // socket is paused, any possible buffered data will be read as a single + // chunk. + // + if ( + !this._readableState.endEmitted && + !websocket._closeFrameReceived && + !websocket._receiver._writableState.errorEmitted && + this._readableState.length !== 0 + ) { + const chunk = this.read(this._readableState.length); + + websocket._receiver.write(chunk); + } + + websocket._receiver.end(); + + this[kWebSocket] = undefined; + + clearTimeout(websocket._closeTimer); + + if ( + websocket._receiver._writableState.finished || + websocket._receiver._writableState.errorEmitted + ) { + websocket.emitClose(); + } else { + websocket._receiver.on('error', receiverOnFinish); + websocket._receiver.on('finish', receiverOnFinish); + } +} + +/** + * The listener of the socket `'data'` event. + * + * @param {Buffer} chunk A chunk of data + * @private + */ +function socketOnData(chunk) { + if (!this[kWebSocket]._receiver.write(chunk)) { + this.pause(); + } +} + +/** + * The listener of the socket `'end'` event. + * + * @private + */ +function socketOnEnd() { + const websocket = this[kWebSocket]; + + websocket._readyState = WebSocket.CLOSING; + websocket._receiver.end(); + this.end(); +} + +/** + * The listener of the socket `'error'` event. + * + * @private + */ +function socketOnError() { + const websocket = this[kWebSocket]; + + this.removeListener('error', socketOnError); + this.on('error', NOOP); + + if (websocket) { + websocket._readyState = WebSocket.CLOSING; + this.destroy(); + } +} diff --git a/node_modules/ws/package.json b/node_modules/ws/package.json new file mode 100644 index 0000000..3618050 --- /dev/null +++ b/node_modules/ws/package.json @@ -0,0 +1,70 @@ +{ + "name": "ws", + "version": "8.20.0", + "description": "Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js", + "keywords": [ + "HyBi", + "Push", + "RFC-6455", + "WebSocket", + "WebSockets", + "real-time" + ], + "homepage": "https://github.com/websockets/ws", + "bugs": "https://github.com/websockets/ws/issues", + "repository": { + "type": "git", + "url": "git+https://github.com/websockets/ws.git" + }, + "author": "Einar Otto Stangvik (http://2x.io)", + "license": "MIT", + "main": "index.js", + "exports": { + ".": { + "browser": "./browser.js", + "import": "./wrapper.mjs", + "require": "./index.js" + }, + "./package.json": "./package.json" + }, + "browser": "browser.js", + "engines": { + "node": ">=10.0.0" + }, + "files": [ + "browser.js", + "index.js", + "lib/*.js", + "wrapper.mjs" + ], + "scripts": { + "test": "nyc --reporter=lcov --reporter=text mocha --throw-deprecation test/*.test.js", + "integration": "mocha --throw-deprecation test/*.integration.js", + "lint": "eslint . && prettier --check --ignore-path .gitignore \"**/*.{json,md,yaml,yml}\"" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + }, + "devDependencies": { + "@eslint/js": "^10.0.1", + "benchmark": "^2.1.4", + "bufferutil": "^4.0.1", + "eslint": "^10.0.1", + "eslint-config-prettier": "^10.0.1", + "eslint-plugin-prettier": "^5.0.0", + "globals": "^17.0.0", + "mocha": "^8.4.0", + "nyc": "^15.0.0", + "prettier": "^3.0.0", + "utf-8-validate": "^6.0.0" + } +} diff --git a/node_modules/ws/wrapper.mjs b/node_modules/ws/wrapper.mjs new file mode 100644 index 0000000..a8ffabb --- /dev/null +++ b/node_modules/ws/wrapper.mjs @@ -0,0 +1,21 @@ +import createWebSocketStream from './lib/stream.js'; +import extension from './lib/extension.js'; +import PerMessageDeflate from './lib/permessage-deflate.js'; +import Receiver from './lib/receiver.js'; +import Sender from './lib/sender.js'; +import subprotocol from './lib/subprotocol.js'; +import WebSocket from './lib/websocket.js'; +import WebSocketServer from './lib/websocket-server.js'; + +export { + createWebSocketStream, + extension, + PerMessageDeflate, + Receiver, + Sender, + subprotocol, + WebSocket, + WebSocketServer +}; + +export default WebSocket; diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..d1e6835 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,3018 @@ +{ + "name": "media-coding-web", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "media-coding-web", + "version": "1.0.0", + "dependencies": { + "@aws-sdk/client-s3": "^3.540.0", + "@aws-sdk/s3-request-presigner": "^3.540.0", + "cors": "^2.8.5", + "dotenv": "^16.4.5", + "express": "^4.19.2", + "fluent-ffmpeg": "^2.1.3", + "ioredis": "^5.3.0", + "winston": "^3.19.0", + "winston-daily-rotate-file": "^5.0.0", + "ws": "^8.13.0" + } + }, + "node_modules/@aws-crypto/crc32": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/crc32/-/crc32-5.2.0.tgz", + "integrity": "sha512-nLbCWqQNgUiwwtFsen1AdzAtvuLRsQS8rYgMuxCrdKf9kOssamGLuPwyTY9wyYblNr9+1XM8v6zoDTPPSIeANg==", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/util": "^5.2.0", + "@aws-sdk/types": "^3.222.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@aws-crypto/crc32c": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/crc32c/-/crc32c-5.2.0.tgz", + "integrity": "sha512-+iWb8qaHLYKrNvGRbiYRHSdKRWhto5XlZUEBwDjYNf+ly5SVYG6zEoYIdxvf5R3zyeP16w4PLBn3rH1xc74Rag==", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/util": "^5.2.0", + "@aws-sdk/types": "^3.222.0", + "tslib": "^2.6.2" + } + }, + "node_modules/@aws-crypto/sha1-browser": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/sha1-browser/-/sha1-browser-5.2.0.tgz", + "integrity": "sha512-OH6lveCFfcDjX4dbAvCFSYUjJZjDr/3XJ3xHtjn3Oj5b9RjojQo8npoLeA/bNwkOkrSQ0wgrHzXk4tDRxGKJeg==", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/supports-web-crypto": "^5.2.0", + "@aws-crypto/util": "^5.2.0", + "@aws-sdk/types": "^3.222.0", + "@aws-sdk/util-locate-window": "^3.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.6.2" + } + }, + "node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/is-array-buffer": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-2.2.0.tgz", + "integrity": "sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-buffer-from": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-2.2.0.tgz", + "integrity": "sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/is-array-buffer": "^2.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-crypto/sha1-browser/node_modules/@smithy/util-utf8": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.3.0.tgz", + "integrity": "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^2.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-crypto/sha256-browser": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/sha256-browser/-/sha256-browser-5.2.0.tgz", + "integrity": "sha512-AXfN/lGotSQwu6HNcEsIASo7kWXZ5HYWvfOmSNKDsEqC4OashTp8alTmaz+F7TC2L083SFv5RdB+qU3Vs1kZqw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/sha256-js": "^5.2.0", + "@aws-crypto/supports-web-crypto": "^5.2.0", + "@aws-crypto/util": "^5.2.0", + "@aws-sdk/types": "^3.222.0", + "@aws-sdk/util-locate-window": "^3.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.6.2" + } + }, + "node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-2.2.0.tgz", + "integrity": "sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-2.2.0.tgz", + "integrity": "sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/is-array-buffer": "^2.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.3.0.tgz", + "integrity": "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^2.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-crypto/sha256-js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/sha256-js/-/sha256-js-5.2.0.tgz", + "integrity": "sha512-FFQQyu7edu4ufvIZ+OadFpHHOt+eSTBaYaki44c+akjg7qZg9oOQeLlk77F6tSYqjDAFClrHJk9tMf0HdVyOvA==", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/util": "^5.2.0", + "@aws-sdk/types": "^3.222.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@aws-crypto/supports-web-crypto": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/supports-web-crypto/-/supports-web-crypto-5.2.0.tgz", + "integrity": "sha512-iAvUotm021kM33eCdNfwIN//F77/IADDSs58i+MDaOqFrVjZo9bAal0NK7HurRuWLLpF1iLX7gbWrjHjeo+YFg==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + } + }, + "node_modules/@aws-crypto/util": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/util/-/util-5.2.0.tgz", + "integrity": "sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.222.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.6.2" + } + }, + "node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-2.2.0.tgz", + "integrity": "sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-2.2.0.tgz", + "integrity": "sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/is-array-buffer": "^2.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.3.0.tgz", + "integrity": "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^2.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3": { + "version": "3.1024.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.1024.0.tgz", + "integrity": "sha512-8qdO5aLCzaf9l0RdrSBW1iIroRKP2QBqtZ6lkrtHKiaaH0B18xEn+lrEgiN/eCf3uRAYk4cqbnI2XcWzm+7dDQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/sha1-browser": "5.2.0", + "@aws-crypto/sha256-browser": "5.2.0", + "@aws-crypto/sha256-js": "5.2.0", + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/credential-provider-node": "^3.972.29", + "@aws-sdk/middleware-bucket-endpoint": "^3.972.8", + "@aws-sdk/middleware-expect-continue": "^3.972.8", + "@aws-sdk/middleware-flexible-checksums": "^3.974.6", + "@aws-sdk/middleware-host-header": "^3.972.8", + "@aws-sdk/middleware-location-constraint": "^3.972.8", + "@aws-sdk/middleware-logger": "^3.972.8", + "@aws-sdk/middleware-recursion-detection": "^3.972.9", + "@aws-sdk/middleware-sdk-s3": "^3.972.27", + "@aws-sdk/middleware-ssec": "^3.972.8", + "@aws-sdk/middleware-user-agent": "^3.972.28", + "@aws-sdk/region-config-resolver": "^3.972.10", + "@aws-sdk/signature-v4-multi-region": "^3.996.15", + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/util-endpoints": "^3.996.5", + "@aws-sdk/util-user-agent-browser": "^3.972.8", + "@aws-sdk/util-user-agent-node": "^3.973.14", + "@smithy/config-resolver": "^4.4.13", + "@smithy/core": "^3.23.13", + "@smithy/eventstream-serde-browser": "^4.2.12", + "@smithy/eventstream-serde-config-resolver": "^4.3.12", + "@smithy/eventstream-serde-node": "^4.2.12", + "@smithy/fetch-http-handler": "^5.3.15", + "@smithy/hash-blob-browser": "^4.2.13", + "@smithy/hash-node": "^4.2.12", + "@smithy/hash-stream-node": "^4.2.12", + "@smithy/invalid-dependency": "^4.2.12", + "@smithy/md5-js": "^4.2.12", + "@smithy/middleware-content-length": "^4.2.12", + "@smithy/middleware-endpoint": "^4.4.28", + "@smithy/middleware-retry": "^4.4.46", + "@smithy/middleware-serde": "^4.2.16", + "@smithy/middleware-stack": "^4.2.12", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/node-http-handler": "^4.5.1", + "@smithy/protocol-http": "^5.3.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "@smithy/url-parser": "^4.2.12", + "@smithy/util-base64": "^4.3.2", + "@smithy/util-body-length-browser": "^4.2.2", + "@smithy/util-body-length-node": "^4.2.3", + "@smithy/util-defaults-mode-browser": "^4.3.44", + "@smithy/util-defaults-mode-node": "^4.2.48", + "@smithy/util-endpoints": "^3.3.3", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-retry": "^4.2.13", + "@smithy/util-stream": "^4.5.21", + "@smithy/util-utf8": "^4.2.2", + "@smithy/util-waiter": "^4.2.14", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/core": { + "version": "3.973.26", + "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.973.26.tgz", + "integrity": "sha512-A/E6n2W42ruU+sfWk+mMUOyVXbsSgGrY3MJ9/0Az5qUdG67y8I6HYzzoAa+e/lzxxl1uCYmEL6BTMi9ZiZnplQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/xml-builder": "^3.972.16", + "@smithy/core": "^3.23.13", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/property-provider": "^4.2.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/signature-v4": "^5.3.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "@smithy/util-base64": "^4.3.2", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/crc64-nvme": { + "version": "3.972.5", + "resolved": "https://registry.npmjs.org/@aws-sdk/crc64-nvme/-/crc64-nvme-3.972.5.tgz", + "integrity": "sha512-2VbTstbjKdT+yKi8m7b3a9CiVac+pL/IY2PHJwsaGkkHmuuqkJZIErPck1h6P3T9ghQMLSdMPyW6Qp7Di5swFg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-env": { + "version": "3.972.24", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.24.tgz", + "integrity": "sha512-FWg8uFmT6vQM7VuzELzwVo5bzExGaKHdubn0StjgrcU5FvuLExUe+k06kn/40uKv59rYzhez8eFNM4yYE/Yb/w==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/types": "^3.973.6", + "@smithy/property-provider": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-http": { + "version": "3.972.26", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.26.tgz", + "integrity": "sha512-CY4ppZ+qHYqcXqBVi//sdHST1QK3KzOEiLtpLsc9W2k2vfZPKExGaQIsOwcyvjpjUEolotitmd3mUNY56IwDEA==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/types": "^3.973.6", + "@smithy/fetch-http-handler": "^5.3.15", + "@smithy/node-http-handler": "^4.5.1", + "@smithy/property-provider": "^4.2.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "@smithy/util-stream": "^4.5.21", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini": { + "version": "3.972.28", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.972.28.tgz", + "integrity": "sha512-wXYvq3+uQcZV7k+bE4yDXCTBdzWTU9x/nMiKBfzInmv6yYK1veMK0AKvRfRBd72nGWYKcL6AxwiPg9z/pYlgpw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/credential-provider-env": "^3.972.24", + "@aws-sdk/credential-provider-http": "^3.972.26", + "@aws-sdk/credential-provider-login": "^3.972.28", + "@aws-sdk/credential-provider-process": "^3.972.24", + "@aws-sdk/credential-provider-sso": "^3.972.28", + "@aws-sdk/credential-provider-web-identity": "^3.972.28", + "@aws-sdk/nested-clients": "^3.996.18", + "@aws-sdk/types": "^3.973.6", + "@smithy/credential-provider-imds": "^4.2.12", + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-login": { + "version": "3.972.28", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.28.tgz", + "integrity": "sha512-ZSTfO6jqUTCysbdBPtEX5OUR//3rbD0lN7jO3sQeS2Gjr/Y+DT6SbIJ0oT2cemNw3UzKu97sNONd1CwNMthuZQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/nested-clients": "^3.996.18", + "@aws-sdk/types": "^3.973.6", + "@smithy/property-provider": "^4.2.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-node": { + "version": "3.972.29", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.29.tgz", + "integrity": "sha512-clSzDcvndpFJAggLDnDb36sPdlZYyEs5Zm6zgZjjUhwsJgSWiWKwFIXUVBcbruidNyBdbpOv2tNDL9sX8y3/0g==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/credential-provider-env": "^3.972.24", + "@aws-sdk/credential-provider-http": "^3.972.26", + "@aws-sdk/credential-provider-ini": "^3.972.28", + "@aws-sdk/credential-provider-process": "^3.972.24", + "@aws-sdk/credential-provider-sso": "^3.972.28", + "@aws-sdk/credential-provider-web-identity": "^3.972.28", + "@aws-sdk/types": "^3.973.6", + "@smithy/credential-provider-imds": "^4.2.12", + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-process": { + "version": "3.972.24", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.24.tgz", + "integrity": "sha512-Q2k/XLrFXhEztPHqj4SLCNID3hEPdlhh1CDLBpNnM+1L8fq7P+yON9/9M1IGN/dA5W45v44ylERfXtDAlmMNmw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/types": "^3.973.6", + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-sso": { + "version": "3.972.28", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.972.28.tgz", + "integrity": "sha512-IoUlmKMLEITFn1SiCTjPfR6KrE799FBo5baWyk/5Ppar2yXZoUdaRqZzJzK6TcJxx450M8m8DbpddRVYlp5R/A==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/nested-clients": "^3.996.18", + "@aws-sdk/token-providers": "3.1021.0", + "@aws-sdk/types": "^3.973.6", + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-web-identity": { + "version": "3.972.28", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.28.tgz", + "integrity": "sha512-d+6h0SD8GGERzKe27v5rOzNGKOl0D+l0bWJdqrxH8WSQzHzjsQFIAPgIeOTUwBHVsKKwtSxc91K/SWax6XgswQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/nested-clients": "^3.996.18", + "@aws-sdk/types": "^3.973.6", + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/middleware-bucket-endpoint": { + "version": "3.972.8", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.972.8.tgz", + "integrity": "sha512-WR525Rr2QJSETa9a050isktyWi/4yIGcmY3BQ1kpHqb0LqUglQHCS8R27dTJxxWNZvQ0RVGtEZjTCbZJpyF3Aw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/util-arn-parser": "^3.972.3", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-config-provider": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/middleware-expect-continue": { + "version": "3.972.8", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.972.8.tgz", + "integrity": "sha512-5DTBTiotEES1e2jOHAq//zyzCjeMB78lEHd35u15qnrid4Nxm7diqIf9fQQ3Ov0ChH1V3Vvt13thOnrACmfGVQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/middleware-flexible-checksums": { + "version": "3.974.6", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.974.6.tgz", + "integrity": "sha512-YckB8k1ejbyCg/g36gUMFLNzE4W5cERIa4MtsdO+wpTmJEP0+TB7okWIt7d8TDOvnb7SwvxJ21E4TGOBxFpSWQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/crc32": "5.2.0", + "@aws-crypto/crc32c": "5.2.0", + "@aws-crypto/util": "5.2.0", + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/crc64-nvme": "^3.972.5", + "@aws-sdk/types": "^3.973.6", + "@smithy/is-array-buffer": "^4.2.2", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-stream": "^4.5.21", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/middleware-host-header": { + "version": "3.972.8", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.972.8.tgz", + "integrity": "sha512-wAr2REfKsqoKQ+OkNqvOShnBoh+nkPurDKW7uAeVSu6kUECnWlSJiPvnoqxGlfousEY/v9LfS9sNc46hjSYDIQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/middleware-location-constraint": { + "version": "3.972.8", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.972.8.tgz", + "integrity": "sha512-KaUoFuoFPziIa98DSQsTPeke1gvGXlc5ZGMhy+b+nLxZ4A7jmJgLzjEF95l8aOQN2T/qlPP3MrAyELm8ExXucw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/middleware-logger": { + "version": "3.972.8", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.972.8.tgz", + "integrity": "sha512-CWl5UCM57WUFaFi5kB7IBY1UmOeLvNZAZ2/OZ5l20ldiJ3TiIz1pC65gYj8X0BCPWkeR1E32mpsCk1L1I4n+lA==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/middleware-recursion-detection": { + "version": "3.972.9", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.972.9.tgz", + "integrity": "sha512-/Wt5+CT8dpTFQxEJ9iGy/UGrXr7p2wlIOEHvIr/YcHYByzoLjrqkYqXdJjd9UIgWjv7eqV2HnFJen93UTuwfTQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@aws/lambda-invoke-store": "^0.2.2", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/middleware-sdk-s3": { + "version": "3.972.27", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.972.27.tgz", + "integrity": "sha512-gomO6DZwx+1D/9mbCpcqO5tPBqYBK7DtdgjTIjZ4yvfh/S7ETwAPS0XbJgP2JD8Ycr5CwVrEkV1sFtu3ShXeOw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/util-arn-parser": "^3.972.3", + "@smithy/core": "^3.23.13", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/signature-v4": "^5.3.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "@smithy/util-config-provider": "^4.2.2", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-stream": "^4.5.21", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/middleware-ssec": { + "version": "3.972.8", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-ssec/-/middleware-ssec-3.972.8.tgz", + "integrity": "sha512-wqlK0yO/TxEC2UsY9wIlqeeutF6jjLe0f96Pbm40XscTo57nImUk9lBcw0dPgsm0sppFtAkSlDrfpK+pC30Wqw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/middleware-user-agent": { + "version": "3.972.28", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.972.28.tgz", + "integrity": "sha512-cfWZFlVh7Va9lRay4PN2A9ARFzaBYcA097InT5M2CdRS05ECF5yaz86jET8Wsl2WcyKYEvVr/QNmKtYtafUHtQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/util-endpoints": "^3.996.5", + "@smithy/core": "^3.23.13", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-retry": "^4.2.13", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/nested-clients": { + "version": "3.996.18", + "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.996.18.tgz", + "integrity": "sha512-c7ZSIXrESxHKx2Mcopgd8AlzZgoXMr20fkx5ViPWPOLBvmyhw9VwJx/Govg8Ef/IhEon5R9l53Z8fdYSEmp6VA==", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/sha256-browser": "5.2.0", + "@aws-crypto/sha256-js": "5.2.0", + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/middleware-host-header": "^3.972.8", + "@aws-sdk/middleware-logger": "^3.972.8", + "@aws-sdk/middleware-recursion-detection": "^3.972.9", + "@aws-sdk/middleware-user-agent": "^3.972.28", + "@aws-sdk/region-config-resolver": "^3.972.10", + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/util-endpoints": "^3.996.5", + "@aws-sdk/util-user-agent-browser": "^3.972.8", + "@aws-sdk/util-user-agent-node": "^3.973.14", + "@smithy/config-resolver": "^4.4.13", + "@smithy/core": "^3.23.13", + "@smithy/fetch-http-handler": "^5.3.15", + "@smithy/hash-node": "^4.2.12", + "@smithy/invalid-dependency": "^4.2.12", + "@smithy/middleware-content-length": "^4.2.12", + "@smithy/middleware-endpoint": "^4.4.28", + "@smithy/middleware-retry": "^4.4.46", + "@smithy/middleware-serde": "^4.2.16", + "@smithy/middleware-stack": "^4.2.12", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/node-http-handler": "^4.5.1", + "@smithy/protocol-http": "^5.3.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "@smithy/url-parser": "^4.2.12", + "@smithy/util-base64": "^4.3.2", + "@smithy/util-body-length-browser": "^4.2.2", + "@smithy/util-body-length-node": "^4.2.3", + "@smithy/util-defaults-mode-browser": "^4.3.44", + "@smithy/util-defaults-mode-node": "^4.2.48", + "@smithy/util-endpoints": "^3.3.3", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-retry": "^4.2.13", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/region-config-resolver": { + "version": "3.972.10", + "resolved": "https://registry.npmjs.org/@aws-sdk/region-config-resolver/-/region-config-resolver-3.972.10.tgz", + "integrity": "sha512-1dq9ToC6e070QvnVhhbAs3bb5r6cQ10gTVc6cyRV5uvQe7P138TV2uG2i6+Yok4bAkVAcx5AqkTEBUvWEtBlsQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/config-resolver": "^4.4.13", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/s3-request-presigner": { + "version": "3.1024.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/s3-request-presigner/-/s3-request-presigner-3.1024.0.tgz", + "integrity": "sha512-KNoGsXnTfBxPqrtV2Owd4mrLnhTHRsOz6Hdaz+As5czGMQuPchoRvG1BJzn2NFRGLt/HSJAXVn+G6IhtRIDe+Q==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/signature-v4-multi-region": "^3.996.15", + "@aws-sdk/types": "^3.973.6", + "@aws-sdk/util-format-url": "^3.972.8", + "@smithy/middleware-endpoint": "^4.4.28", + "@smithy/protocol-http": "^5.3.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/signature-v4-multi-region": { + "version": "3.996.15", + "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.996.15.tgz", + "integrity": "sha512-Ukw2RpqvaL96CjfH/FgfBmy/ZosHBqoHBCFsN61qGg99F33vpntIVii8aNeh65XuOja73arSduskoa4OJea9RQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/middleware-sdk-s3": "^3.972.27", + "@aws-sdk/types": "^3.973.6", + "@smithy/protocol-http": "^5.3.12", + "@smithy/signature-v4": "^5.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/token-providers": { + "version": "3.1021.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.1021.0.tgz", + "integrity": "sha512-TKY6h9spUk3OLs5v1oAgW9mAeBE3LAGNBwJokLy96wwmd4W2v/tYlXseProyed9ValDj2u1jK/4Rg1T+1NXyJA==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.26", + "@aws-sdk/nested-clients": "^3.996.18", + "@aws-sdk/types": "^3.973.6", + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/types": { + "version": "3.973.6", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.973.6.tgz", + "integrity": "sha512-Atfcy4E++beKtwJHiDln2Nby8W/mam64opFPTiHEqgsthqeydFS1pY+OUlN1ouNOmf8ArPU/6cDS65anOP3KQw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/util-arn-parser": { + "version": "3.972.3", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-arn-parser/-/util-arn-parser-3.972.3.tgz", + "integrity": "sha512-HzSD8PMFrvgi2Kserxuff5VitNq2sgf3w9qxmskKDiDTThWfVteJxuCS9JXiPIPtmCrp+7N9asfIaVhBFORllA==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/util-endpoints": { + "version": "3.996.5", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.996.5.tgz", + "integrity": "sha512-Uh93L5sXFNbyR5sEPMzUU8tJ++Ku97EY4udmC01nB8Zu+xfBPwpIwJ6F7snqQeq8h2pf+8SGN5/NoytfKgYPIw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/types": "^4.13.1", + "@smithy/url-parser": "^4.2.12", + "@smithy/util-endpoints": "^3.3.3", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/util-format-url": { + "version": "3.972.8", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-format-url/-/util-format-url-3.972.8.tgz", + "integrity": "sha512-J6DS9oocrgxM8xlUTTmQOuwRF6rnAGEujAN9SAzllcrQmwn5iJ58ogxy3SEhD0Q7JZvlA5jvIXBkpQRqEqlE9A==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/querystring-builder": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/util-locate-window": { + "version": "3.965.5", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-locate-window/-/util-locate-window-3.965.5.tgz", + "integrity": "sha512-WhlJNNINQB+9qtLtZJcpQdgZw3SCDCpXdUJP7cToGwHbCWCnRckGlc6Bx/OhWwIYFNAn+FIydY8SZ0QmVu3xTQ==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/util-user-agent-browser": { + "version": "3.972.8", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.972.8.tgz", + "integrity": "sha512-B3KGXJviV2u6Cdw2SDY2aDhoJkVfY/Q/Trwk2CMSkikE1Oi6gRzxhvhIfiRpHfmIsAhV4EA54TVEX8K6CbHbkA==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "^3.973.6", + "@smithy/types": "^4.13.1", + "bowser": "^2.11.0", + "tslib": "^2.6.2" + } + }, + "node_modules/@aws-sdk/util-user-agent-node": { + "version": "3.973.14", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.973.14.tgz", + "integrity": "sha512-vNSB/DYaPOyujVZBg/zUznH9QC142MaTHVmaFlF7uzzfg3CgT9f/l4C0Yi+vU/tbBhxVcXVB90Oohk5+o+ZbWw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/middleware-user-agent": "^3.972.28", + "@aws-sdk/types": "^3.973.6", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-config-provider": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "aws-crt": ">=1.0.0" + }, + "peerDependenciesMeta": { + "aws-crt": { + "optional": true + } + } + }, + "node_modules/@aws-sdk/xml-builder": { + "version": "3.972.16", + "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.972.16.tgz", + "integrity": "sha512-iu2pyvaqmeatIJLURLqx9D+4jKAdTH20ntzB6BFwjyN7V960r4jK32mx0Zf7YbtOYAbmbtQfDNuL60ONinyw7A==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "fast-xml-parser": "5.5.8", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@aws/lambda-invoke-store": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@aws/lambda-invoke-store/-/lambda-invoke-store-0.2.4.tgz", + "integrity": "sha512-iY8yvjE0y651BixKNPgmv1WrQc+GZ142sb0z4gYnChDDY2YqI4P/jsSopBWrKfAt7LOJAkOXt7rC/hms+WclQQ==", + "license": "Apache-2.0", + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@colors/colors": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", + "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==", + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/@dabh/diagnostics": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.8.tgz", + "integrity": "sha512-R4MSXTVnuMzGD7bzHdW2ZhhdPC/igELENcq5IjEverBvq5hn1SXCWcsi6eSsdWP0/Ur+SItRRjAktmdoX/8R/Q==", + "license": "MIT", + "dependencies": { + "@so-ric/colorspace": "^1.1.6", + "enabled": "2.0.x", + "kuler": "^2.0.0" + } + }, + "node_modules/@ioredis/commands": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/@ioredis/commands/-/commands-1.5.1.tgz", + "integrity": "sha512-JH8ZL/ywcJyR9MmJ5BNqZllXNZQqQbnVZOqpPQqE1vHiFgAw4NHbvE0FOduNU8IX9babitBT46571OnPTT0Zcw==", + "license": "MIT" + }, + "node_modules/@smithy/chunked-blob-reader": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/@smithy/chunked-blob-reader/-/chunked-blob-reader-5.2.2.tgz", + "integrity": "sha512-St+kVicSyayWQca+I1rGitaOEH6uKgE8IUWoYnnEX26SWdWQcL6LvMSD19Lg+vYHKdT9B2Zuu7rd3i6Wnyb/iw==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/chunked-blob-reader-native": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/@smithy/chunked-blob-reader-native/-/chunked-blob-reader-native-4.2.3.tgz", + "integrity": "sha512-jA5k5Udn7Y5717L86h4EIv06wIr3xn8GM1qHRi/Nf31annXcXHJjBKvgztnbn2TxH3xWrPBfgwHsOwZf0UmQWw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-base64": "^4.3.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/config-resolver": { + "version": "4.4.13", + "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-4.4.13.tgz", + "integrity": "sha512-iIzMC5NmOUP6WL6o8iPBjFhUhBZ9pPjpUpQYWMUFQqKyXXzOftbfK8zcQCz/jFV1Psmf05BK5ypx4K2r4Tnwdg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^4.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-config-provider": "^4.2.2", + "@smithy/util-endpoints": "^3.3.3", + "@smithy/util-middleware": "^4.2.12", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/core": { + "version": "3.23.13", + "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.23.13.tgz", + "integrity": "sha512-J+2TT9D6oGsUVXVEMvz8h2EmdVnkBiy2auCie4aSJMvKlzUtO5hqjEzXhoCUkIMo7gAYjbQcN0g/MMSXEhDs1Q==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "@smithy/url-parser": "^4.2.12", + "@smithy/util-base64": "^4.3.2", + "@smithy/util-body-length-browser": "^4.2.2", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-stream": "^4.5.21", + "@smithy/util-utf8": "^4.2.2", + "@smithy/uuid": "^1.1.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/credential-provider-imds": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-4.2.12.tgz", + "integrity": "sha512-cr2lR792vNZcYMriSIj+Um3x9KWrjcu98kn234xA6reOAFMmbRpQMOv8KPgEmLLtx3eldU6c5wALKFqNOhugmg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^4.3.12", + "@smithy/property-provider": "^4.2.12", + "@smithy/types": "^4.13.1", + "@smithy/url-parser": "^4.2.12", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/eventstream-codec": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-codec/-/eventstream-codec-4.2.12.tgz", + "integrity": "sha512-FE3bZdEl62ojmy8x4FHqxq2+BuOHlcxiH5vaZ6aqHJr3AIZzwF5jfx8dEiU/X0a8RboyNDjmXjlbr8AdEyLgiA==", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/crc32": "5.2.0", + "@smithy/types": "^4.13.1", + "@smithy/util-hex-encoding": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/eventstream-serde-browser": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-4.2.12.tgz", + "integrity": "sha512-XUSuMxlTxV5pp4VpqZf6Sa3vT/Q75FVkLSpSSE3KkWBvAQWeuWt1msTv8fJfgA4/jcJhrbrbMzN1AC/hvPmm5A==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/eventstream-serde-universal": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/eventstream-serde-config-resolver": { + "version": "4.3.12", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-4.3.12.tgz", + "integrity": "sha512-7epsAZ3QvfHkngz6RXQYseyZYHlmWXSTPOfPmXkiS+zA6TBNo1awUaMFL9vxyXlGdoELmCZyZe1nQE+imbmV+Q==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/eventstream-serde-node": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-node/-/eventstream-serde-node-4.2.12.tgz", + "integrity": "sha512-D1pFuExo31854eAvg89KMn9Oab/wEeJR6Buy32B49A9Ogdtx5fwZPqBHUlDzaCDpycTFk2+fSQgX689Qsk7UGA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/eventstream-serde-universal": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/eventstream-serde-universal": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-4.2.12.tgz", + "integrity": "sha512-+yNuTiyBACxOJUTvbsNsSOfH9G9oKbaJE1lNL3YHpGcuucl6rPZMi3nrpehpVOVR2E07YqFFmtwpImtpzlouHQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/eventstream-codec": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/fetch-http-handler": { + "version": "5.3.15", + "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-5.3.15.tgz", + "integrity": "sha512-T4jFU5N/yiIfrtrsb9uOQn7RdELdM/7HbyLNr6uO/mpkj1ctiVs7CihVr51w4LyQlXWDpXFn4BElf1WmQvZu/A==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/protocol-http": "^5.3.12", + "@smithy/querystring-builder": "^4.2.12", + "@smithy/types": "^4.13.1", + "@smithy/util-base64": "^4.3.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/hash-blob-browser": { + "version": "4.2.13", + "resolved": "https://registry.npmjs.org/@smithy/hash-blob-browser/-/hash-blob-browser-4.2.13.tgz", + "integrity": "sha512-YrF4zWKh+ghLuquldj6e/RzE3xZYL8wIPfkt0MqCRphVICjyyjH8OwKD7LLlKpVEbk4FLizFfC1+gwK6XQdR3g==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/chunked-blob-reader": "^5.2.2", + "@smithy/chunked-blob-reader-native": "^4.2.3", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/hash-node": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-4.2.12.tgz", + "integrity": "sha512-QhBYbGrbxTkZ43QoTPrK72DoYviDeg6YKDrHTMJbbC+A0sml3kSjzFtXP7BtbyJnXojLfTQldGdUR0RGD8dA3w==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "@smithy/util-buffer-from": "^4.2.2", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/hash-stream-node": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/hash-stream-node/-/hash-stream-node-4.2.12.tgz", + "integrity": "sha512-O3YbmGExeafuM/kP7Y8r6+1y0hIh3/zn6GROx0uNlB54K9oihAL75Qtc+jFfLNliTi6pxOAYZrRKD9A7iA6UFw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/invalid-dependency": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-4.2.12.tgz", + "integrity": "sha512-/4F1zb7Z8LOu1PalTdESFHR0RbPwHd3FcaG1sI3UEIriQTWakysgJr65lc1jj6QY5ye7aFsisajotH6UhWfm/g==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/is-array-buffer": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-4.2.2.tgz", + "integrity": "sha512-n6rQ4N8Jj4YTQO3YFrlgZuwKodf4zUFs7EJIWH86pSCWBaAtAGBFfCM7Wx6D2bBJ2xqFNxGBSrUWswT3M0VJow==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/md5-js": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/md5-js/-/md5-js-4.2.12.tgz", + "integrity": "sha512-W/oIpHCpWU2+iAkfZYyGWE+qkpuf3vEXHLxQQDx9FPNZTTdnul0dZ2d/gUFrtQ5je1G2kp4cjG0/24YueG2LbQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/middleware-content-length": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-4.2.12.tgz", + "integrity": "sha512-YE58Yz+cvFInWI/wOTrB+DbvUVz/pLn5mC5MvOV4fdRUc6qGwygyngcucRQjAhiCEbmfLOXX0gntSIcgMvAjmA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/middleware-endpoint": { + "version": "4.4.28", + "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-4.4.28.tgz", + "integrity": "sha512-p1gfYpi91CHcs5cBq982UlGlDrxoYUX6XdHSo91cQ2KFuz6QloHosO7Jc60pJiVmkWrKOV8kFYlGFFbQ2WUKKQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/core": "^3.23.13", + "@smithy/middleware-serde": "^4.2.16", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "@smithy/url-parser": "^4.2.12", + "@smithy/util-middleware": "^4.2.12", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/middleware-retry": { + "version": "4.4.46", + "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-4.4.46.tgz", + "integrity": "sha512-SpvWNNOPOrKQGUqZbEPO+es+FRXMWvIyzUKUOYdDgdlA6BdZj/R58p4umoQ76c2oJC44PiM7mKizyyex1IJzow==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^4.3.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/service-error-classification": "^4.2.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-retry": "^4.2.13", + "@smithy/uuid": "^1.1.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/middleware-serde": { + "version": "4.2.16", + "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-4.2.16.tgz", + "integrity": "sha512-beqfV+RZ9RSv+sQqor3xroUUYgRFCGRw6niGstPG8zO9LgTl0B0MCucxjmrH/2WwksQN7UUgI7KNANoZv+KALA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/core": "^3.23.13", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/middleware-stack": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-4.2.12.tgz", + "integrity": "sha512-kruC5gRHwsCOuyCd4ouQxYjgRAym2uDlCvQ5acuMtRrcdfg7mFBg6blaxcJ09STpt3ziEkis6bhg1uwrWU7txw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/node-config-provider": { + "version": "4.3.12", + "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-4.3.12.tgz", + "integrity": "sha512-tr2oKX2xMcO+rBOjobSwVAkV05SIfUKz8iI53rzxEmgW3GOOPOv0UioSDk+J8OpRQnpnhsO3Af6IEBabQBVmiw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/property-provider": "^4.2.12", + "@smithy/shared-ini-file-loader": "^4.4.7", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/node-http-handler": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.5.1.tgz", + "integrity": "sha512-ejjxdAXjkPIs9lyYyVutOGNOraqUE9v/NjGMKwwFrfOM354wfSD8lmlj8hVwUzQmlLLF4+udhfCX9Exnbmvfzw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/protocol-http": "^5.3.12", + "@smithy/querystring-builder": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/property-provider": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-4.2.12.tgz", + "integrity": "sha512-jqve46eYU1v7pZ5BM+fmkbq3DerkSluPr5EhvOcHxygxzD05ByDRppRwRPPpFrsFo5yDtCYLKu+kreHKVrvc7A==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/protocol-http": { + "version": "5.3.12", + "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-5.3.12.tgz", + "integrity": "sha512-fit0GZK9I1xoRlR4jXmbLhoN0OdEpa96ul8M65XdmXnxXkuMxM0Y8HDT0Fh0Xb4I85MBvBClOzgSrV1X2s1Hxw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/querystring-builder": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-4.2.12.tgz", + "integrity": "sha512-6wTZjGABQufekycfDGMEB84BgtdOE/rCVTov+EDXQ8NHKTUNIp/j27IliwP7tjIU9LR+sSzyGBOXjeEtVgzCHg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "@smithy/util-uri-escape": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/querystring-parser": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-4.2.12.tgz", + "integrity": "sha512-P2OdvrgiAKpkPNKlKUtWbNZKB1XjPxM086NeVhK+W+wI46pIKdWBe5QyXvhUm3MEcyS/rkLvY8rZzyUdmyDZBw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/service-error-classification": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-4.2.12.tgz", + "integrity": "sha512-LlP29oSQN0Tw0b6D0Xo6BIikBswuIiGYbRACy5ujw/JgWSzTdYj46U83ssf6Ux0GyNJVivs2uReU8pt7Eu9okQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/shared-ini-file-loader": { + "version": "4.4.7", + "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-4.4.7.tgz", + "integrity": "sha512-HrOKWsUb+otTeo1HxVWeEb99t5ER1XrBi/xka2Wv6NVmTbuCUC1dvlrksdvxFtODLBjsC+PHK+fuy2x/7Ynyiw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/signature-v4": { + "version": "5.3.12", + "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-5.3.12.tgz", + "integrity": "sha512-B/FBwO3MVOL00DaRSXfXfa/TRXRheagt/q5A2NM13u7q+sHS59EOVGQNfG7DkmVtdQm5m3vOosoKAXSqn/OEgw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/is-array-buffer": "^4.2.2", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-hex-encoding": "^4.2.2", + "@smithy/util-middleware": "^4.2.12", + "@smithy/util-uri-escape": "^4.2.2", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/smithy-client": { + "version": "4.12.8", + "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-4.12.8.tgz", + "integrity": "sha512-aJaAX7vHe5i66smoSSID7t4rKY08PbD8EBU7DOloixvhOozfYWdcSYE4l6/tjkZ0vBZhGjheWzB2mh31sLgCMA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/core": "^3.23.13", + "@smithy/middleware-endpoint": "^4.4.28", + "@smithy/middleware-stack": "^4.2.12", + "@smithy/protocol-http": "^5.3.12", + "@smithy/types": "^4.13.1", + "@smithy/util-stream": "^4.5.21", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/types": { + "version": "4.13.1", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.13.1.tgz", + "integrity": "sha512-787F3yzE2UiJIQ+wYW1CVg2odHjmaWLGksnKQHUrK/lYZSEcy1msuLVvxaR/sI2/aDe9U+TBuLsXnr3vod1g0g==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/url-parser": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-4.2.12.tgz", + "integrity": "sha512-wOPKPEpso+doCZGIlr+e1lVI6+9VAKfL4kZWFgzVgGWY2hZxshNKod4l2LXS3PRC9otH/JRSjtEHqQ/7eLciRA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/querystring-parser": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-base64": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-4.3.2.tgz", + "integrity": "sha512-XRH6b0H/5A3SgblmMa5ErXQ2XKhfbQB+Fm/oyLZ2O2kCUrwgg55bU0RekmzAhuwOjA9qdN5VU2BprOvGGUkOOQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^4.2.2", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-body-length-browser": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-4.2.2.tgz", + "integrity": "sha512-JKCrLNOup3OOgmzeaKQwi4ZCTWlYR5H4Gm1r2uTMVBXoemo1UEghk5vtMi1xSu2ymgKVGW631e2fp9/R610ZjQ==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-body-length-node": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-4.2.3.tgz", + "integrity": "sha512-ZkJGvqBzMHVHE7r/hcuCxlTY8pQr1kMtdsVPs7ex4mMU+EAbcXppfo5NmyxMYi2XU49eqaz56j2gsk4dHHPG/g==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-buffer-from": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-4.2.2.tgz", + "integrity": "sha512-FDXD7cvUoFWwN6vtQfEta540Y/YBe5JneK3SoZg9bThSoOAC/eGeYEua6RkBgKjGa/sz6Y+DuBZj3+YEY21y4Q==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/is-array-buffer": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-config-provider": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-4.2.2.tgz", + "integrity": "sha512-dWU03V3XUprJwaUIFVv4iOnS1FC9HnMHDfUrlNDSh4315v0cWyaIErP8KiqGVbf5z+JupoVpNM7ZB3jFiTejvQ==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-defaults-mode-browser": { + "version": "4.3.44", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.3.44.tgz", + "integrity": "sha512-eZg6XzaCbVr2S5cAErU5eGBDaOVTuTo1I65i4tQcHENRcZ8rMWhQy1DaIYUSLyZjsfXvmCqZrstSMYyGFocvHA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/property-provider": "^4.2.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-defaults-mode-node": { + "version": "4.2.48", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.2.48.tgz", + "integrity": "sha512-FqOKTlqSaoV3nzO55pMs5NBnZX8EhoI0DGmn9kbYeXWppgHD6dchyuj2HLqp4INJDJbSrj6OFYJkAh/WhSzZPg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/config-resolver": "^4.4.13", + "@smithy/credential-provider-imds": "^4.2.12", + "@smithy/node-config-provider": "^4.3.12", + "@smithy/property-provider": "^4.2.12", + "@smithy/smithy-client": "^4.12.8", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-endpoints": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/@smithy/util-endpoints/-/util-endpoints-3.3.3.tgz", + "integrity": "sha512-VACQVe50j0HZPjpwWcjyT51KUQ4AnsvEaQ2lKHOSL4mNLD0G9BjEniQ+yCt1qqfKfiAHRAts26ud7hBjamrwig==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^4.3.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-hex-encoding": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-4.2.2.tgz", + "integrity": "sha512-Qcz3W5vuHK4sLQdyT93k/rfrUwdJ8/HZ+nMUOyGdpeGA1Wxt65zYwi3oEl9kOM+RswvYq90fzkNDahPS8K0OIg==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-middleware": { + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-4.2.12.tgz", + "integrity": "sha512-Er805uFUOvgc0l8nv0e0su0VFISoxhJ/AwOn3gL2NWNY2LUEldP5WtVcRYSQBcjg0y9NfG8JYrCJaYDpupBHJQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-retry": { + "version": "4.2.13", + "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-4.2.13.tgz", + "integrity": "sha512-qQQsIvL0MGIbUjeSrg0/VlQ3jGNKyM3/2iU3FPNgy01z+Sp4OvcaxbgIoFOTvB61ZoohtutuOvOcgmhbD0katQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/service-error-classification": "^4.2.12", + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-stream": { + "version": "4.5.21", + "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-4.5.21.tgz", + "integrity": "sha512-KzSg+7KKywLnkoKejRtIBXDmwBfjGvg1U1i/etkC7XSWUyFCoLno1IohV2c74IzQqdhX5y3uE44r/8/wuK+A7Q==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/fetch-http-handler": "^5.3.15", + "@smithy/node-http-handler": "^4.5.1", + "@smithy/types": "^4.13.1", + "@smithy/util-base64": "^4.3.2", + "@smithy/util-buffer-from": "^4.2.2", + "@smithy/util-hex-encoding": "^4.2.2", + "@smithy/util-utf8": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-uri-escape": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-4.2.2.tgz", + "integrity": "sha512-2kAStBlvq+lTXHyAZYfJRb/DfS3rsinLiwb+69SstC9Vb0s9vNWkRwpnj918Pfi85mzi42sOqdV72OLxWAISnw==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-utf8": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-4.2.2.tgz", + "integrity": "sha512-75MeYpjdWRe8M5E3AW0O4Cx3UadweS+cwdXjwYGBW5h/gxxnbeZ877sLPX/ZJA9GVTlL/qG0dXP29JWFCD1Ayw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^4.2.2", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/util-waiter": { + "version": "4.2.14", + "resolved": "https://registry.npmjs.org/@smithy/util-waiter/-/util-waiter-4.2.14.tgz", + "integrity": "sha512-2zqq5o/oizvMaFUlNiTyZ7dbgYv1a893aGut2uaxtbzTx/VYYnRxWzDHuD/ftgcw94ffenua+ZNLrbqwUYE+Bg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.13.1", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@smithy/uuid": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@smithy/uuid/-/uuid-1.1.2.tgz", + "integrity": "sha512-O/IEdcCUKkubz60tFbGA7ceITTAJsty+lBjNoorP4Z6XRqaFb/OjQjZODophEcuq68nKm6/0r+6/lLQ+XVpk8g==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@so-ric/colorspace": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/@so-ric/colorspace/-/colorspace-1.1.6.tgz", + "integrity": "sha512-/KiKkpHNOBgkFJwu9sh48LkHSMYGyuTcSFK/qMBdnOAlrRJzRSXAOFB5qwzaVQuDl8wAvHVMkaASQDReTahxuw==", + "license": "MIT", + "dependencies": { + "color": "^5.0.2", + "text-hex": "1.0.x" + } + }, + "node_modules/@types/triple-beam": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.5.tgz", + "integrity": "sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw==", + "license": "MIT" + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", + "license": "MIT" + }, + "node_modules/async": { + "version": "0.2.10", + "resolved": "https://registry.npmjs.org/async/-/async-0.2.10.tgz", + "integrity": "sha512-eAkdoKxU6/LkKDBzLpT+t6Ff5EtfSF4wx1WfJiPEEV7WNLnDaRXk0oVysiEPm262roaachGexwUv94WhSgN5TQ==" + }, + "node_modules/body-parser": { + "version": "1.20.4", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.4.tgz", + "integrity": "sha512-ZTgYYLMOXY9qKU/57FAo8F+HA2dGX7bqGc71txDRC1rS4frdFI5R7NhluHxH6M0YItAP0sHB4uqAOcYKxO6uGA==", + "license": "MIT", + "dependencies": { + "bytes": "~3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "~1.2.0", + "http-errors": "~2.0.1", + "iconv-lite": "~0.4.24", + "on-finished": "~2.4.1", + "qs": "~6.14.0", + "raw-body": "~2.5.3", + "type-is": "~1.6.18", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/bowser": { + "version": "2.14.1", + "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.14.1.tgz", + "integrity": "sha512-tzPjzCxygAKWFOJP011oxFHs57HzIhOEracIgAePE4pqB3LikALKnSzUyU4MGs9/iCEUuHlAJTjTc5M+u7YEGg==", + "license": "MIT" + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/cluster-key-slot": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz", + "integrity": "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==", + "license": "Apache-2.0", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/color": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/color/-/color-5.0.3.tgz", + "integrity": "sha512-ezmVcLR3xAVp8kYOm4GS45ZLLgIE6SPAFoduLr6hTDajwb3KZ2F46gulK3XpcwRFb5KKGCSezCBAY4Dw4HsyXA==", + "license": "MIT", + "dependencies": { + "color-convert": "^3.1.3", + "color-string": "^2.1.3" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/color-convert": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-3.1.3.tgz", + "integrity": "sha512-fasDH2ont2GqF5HpyO4w0+BcewlhHEZOFn9c1ckZdHpJ56Qb7MHhH/IcJZbBGgvdtwdwNbLvxiBEdg336iA9Sg==", + "license": "MIT", + "dependencies": { + "color-name": "^2.0.0" + }, + "engines": { + "node": ">=14.6" + } + }, + "node_modules/color-name": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-2.1.0.tgz", + "integrity": "sha512-1bPaDNFm0axzE4MEAzKPuqKWeRaT43U/hyxKPBdqTfmPF+d6n7FSoTFxLVULUJOmiLp01KjhIPPH+HrXZJN4Rg==", + "license": "MIT", + "engines": { + "node": ">=12.20" + } + }, + "node_modules/color-string": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-2.1.4.tgz", + "integrity": "sha512-Bb6Cq8oq0IjDOe8wJmi4JeNn763Xs9cfrBcaylK1tPypWzyoy2G3l90v9k64kjphl/ZJjPIShFztenRomi8WTg==", + "license": "MIT", + "dependencies": { + "color-name": "^2.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", + "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.7.tgz", + "integrity": "sha512-NXdYc3dLr47pBkpUCHtKSwIOQXLVn8dZEuywboCOJY/osA0wFSLlSawr3KN8qXJEyX66FcONTH8EIlVuK0yyFA==", + "license": "MIT" + }, + "node_modules/cors": { + "version": "2.8.6", + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.6.tgz", + "integrity": "sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw==", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/denque": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/denque/-/denque-2.1.0.tgz", + "integrity": "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==", + "license": "Apache-2.0", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/dotenv": { + "version": "16.6.1", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.6.1.tgz", + "integrity": "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", + "license": "MIT" + }, + "node_modules/enabled": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", + "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==", + "license": "MIT" + }, + "node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "license": "MIT" + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/express": { + "version": "4.22.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.22.1.tgz", + "integrity": "sha512-F2X8g9P1X7uCPZMA3MVf9wcTqlyNp7IhH5qPCI0izhaOIYXaW9L535tGA3qmjRzpH+bZczqq7hVKxTR4NWnu+g==", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "~1.20.3", + "content-disposition": "~0.5.4", + "content-type": "~1.0.4", + "cookie": "~0.7.1", + "cookie-signature": "~1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "~1.3.1", + "fresh": "~0.5.2", + "http-errors": "~2.0.0", + "merge-descriptors": "1.0.3", + "methods": "~1.1.2", + "on-finished": "~2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "~0.1.12", + "proxy-addr": "~2.0.7", + "qs": "~6.14.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "~0.19.0", + "serve-static": "~1.16.2", + "setprototypeof": "1.2.0", + "statuses": "~2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/fast-xml-builder": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.1.4.tgz", + "integrity": "sha512-f2jhpN4Eccy0/Uz9csxh3Nu6q4ErKxf0XIsasomfOihuSUa3/xw6w8dnOtCDgEItQFJG8KyXPzQXzcODDrrbOg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT", + "dependencies": { + "path-expression-matcher": "^1.1.3" + } + }, + "node_modules/fast-xml-parser": { + "version": "5.5.8", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.5.8.tgz", + "integrity": "sha512-Z7Fh2nVQSb2d+poDViM063ix2ZGt9jmY1nWhPfHBOK2Hgnb/OW3P4Et3P/81SEej0J7QbWtJqxO05h8QYfK7LQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT", + "dependencies": { + "fast-xml-builder": "^1.1.4", + "path-expression-matcher": "^1.2.0", + "strnum": "^2.2.0" + }, + "bin": { + "fxparser": "src/cli/cli.js" + } + }, + "node_modules/fecha": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz", + "integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==", + "license": "MIT" + }, + "node_modules/file-stream-rotator": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/file-stream-rotator/-/file-stream-rotator-0.6.1.tgz", + "integrity": "sha512-u+dBid4PvZw17PmDeRcNOtCP9CCK/9lRN2w+r1xIS7yOL9JFrIBKTvrYsxT4P0pGtThYTn++QS5ChHaUov3+zQ==", + "license": "MIT", + "dependencies": { + "moment": "^2.29.1" + } + }, + "node_modules/finalhandler": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.2.tgz", + "integrity": "sha512-aA4RyPcd3badbdABGDuTXCMTtOneUCAYH/gxoYRTZlIJdF0YPWuGqiAsIrhNnnqdXGswYk6dGujem4w80UJFhg==", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "on-finished": "~2.4.1", + "parseurl": "~1.3.3", + "statuses": "~2.0.2", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/fluent-ffmpeg": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/fluent-ffmpeg/-/fluent-ffmpeg-2.1.3.tgz", + "integrity": "sha512-Be3narBNt2s6bsaqP6Jzq91heDgOEaDCJAXcE3qcma/EJBSy5FB4cvO31XBInuAuKBx8Kptf8dkhjK0IOru39Q==", + "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", + "license": "MIT", + "dependencies": { + "async": "^0.2.9", + "which": "^1.1.1" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/fn.name": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", + "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==", + "license": "MIT" + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "license": "MIT", + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" + }, + "node_modules/ioredis": { + "version": "5.10.1", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-5.10.1.tgz", + "integrity": "sha512-HuEDBTI70aYdx1v6U97SbNx9F1+svQKBDo30o0b9fw055LMepzpOOd0Ccg9Q6tbqmBSJaMuY0fB7yw9/vjBYCA==", + "license": "MIT", + "dependencies": { + "@ioredis/commands": "1.5.1", + "cluster-key-slot": "^1.1.0", + "debug": "^4.3.4", + "denque": "^2.1.0", + "lodash.defaults": "^4.2.0", + "lodash.isarguments": "^3.1.0", + "redis-errors": "^1.2.0", + "redis-parser": "^3.0.0", + "standard-as-callback": "^2.1.0" + }, + "engines": { + "node": ">=12.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/ioredis" + } + }, + "node_modules/ioredis/node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/ioredis/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "license": "ISC" + }, + "node_modules/kuler": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", + "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==", + "license": "MIT" + }, + "node_modules/lodash.defaults": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", + "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==", + "license": "MIT" + }, + "node_modules/lodash.isarguments": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", + "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==", + "license": "MIT" + }, + "node_modules/logform": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.7.0.tgz", + "integrity": "sha512-TFYA4jnP7PVbmlBIfhlSe+WKxs9dklXMTEGcBCIvLhE/Tn3H6Gk1norupVW7m5Cnd4bLcr08AytbyV/xj7f/kQ==", + "license": "MIT", + "dependencies": { + "@colors/colors": "1.6.0", + "@types/triple-beam": "^1.3.2", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/logform/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/merge-descriptors": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", + "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/moment": { + "version": "2.30.1", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.30.1.tgz", + "integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "license": "MIT" + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/object-inspect": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/one-time": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", + "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", + "license": "MIT", + "dependencies": { + "fn.name": "1.x.x" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-expression-matcher": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.2.1.tgz", + "integrity": "sha512-d7gQQmLvAKXKXE2GeP9apIGbMYKz88zWdsn/BN2HRWVQsDFdUY36WSLTY0Jvd4HWi7Fb30gQ62oAOzdgJA6fZw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/path-to-regexp": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.13.tgz", + "integrity": "sha512-A/AGNMFN3c8bOlvV9RreMdrv7jsmF9XIfDeCd87+I8RNg6s78BhJxMu69NEMHBSJFxKidViTEdruRwEk/WIKqA==", + "license": "MIT" + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/qs": { + "version": "6.14.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.2.tgz", + "integrity": "sha512-V/yCWTTF7VJ9hIh18Ugr2zhJMP01MY7c5kh4J870L7imm6/DIzBsNLTXzMwUA3yZ5b/KBqLx8Kp3uRvd7xSe3Q==", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.1.0" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.3.tgz", + "integrity": "sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==", + "license": "MIT", + "dependencies": { + "bytes": "~3.1.2", + "http-errors": "~2.0.1", + "iconv-lite": "~0.4.24", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/redis-errors": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", + "integrity": "sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/redis-parser": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", + "integrity": "sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==", + "license": "MIT", + "dependencies": { + "redis-errors": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/safe-stable-stringify": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.5.0.tgz", + "integrity": "sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "license": "MIT" + }, + "node_modules/send": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.2.tgz", + "integrity": "sha512-VMbMxbDeehAxpOtWJXlcUS5E8iXh6QmN+BkRX1GARS3wRaXEEgzCcB10gTQazO42tpNIya8xIyNx8fll1OFPrg==", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "~0.5.2", + "http-errors": "~2.0.1", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "~2.4.1", + "range-parser": "~1.2.1", + "statuses": "~2.0.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/serve-static": { + "version": "1.16.3", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.3.tgz", + "integrity": "sha512-x0RTqQel6g5SY7Lg6ZreMmsOzncHFU7nhnRWkKgWuMTu5NN0DR5oruckMqRvacAN9d5w6ARnRBXl9xhDCgfMeA==", + "license": "MIT", + "dependencies": { + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "~0.19.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "license": "ISC" + }, + "node_modules/side-channel": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", + "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/stack-trace": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", + "integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/standard-as-callback": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", + "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==", + "license": "MIT" + }, + "node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/strnum": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.2.2.tgz", + "integrity": "sha512-DnR90I+jtXNSTXWdwrEy9FakW7UX+qUZg28gj5fk2vxxl7uS/3bpI4fjFYVmdK9etptYBPNkpahuQnEwhwECqA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT" + }, + "node_modules/text-hex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", + "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==", + "license": "MIT" + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/triple-beam": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.4.1.tgz", + "integrity": "sha512-aZbgViZrg1QNcG+LULa7nhZpJTZSLm/mXnHXnbAbjmN5aSa0y7V+wvv6+4WaBtpISJzThKy+PIPxc1Nq1EJ9mg==", + "license": "MIT", + "engines": { + "node": ">= 14.0.0" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "license": "MIT" + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "node_modules/winston": { + "version": "3.19.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.19.0.tgz", + "integrity": "sha512-LZNJgPzfKR+/J3cHkxcpHKpKKvGfDZVPS4hfJCc4cCG0CgYzvlD6yE/S3CIL/Yt91ak327YCpiF/0MyeZHEHKA==", + "license": "MIT", + "dependencies": { + "@colors/colors": "^1.6.0", + "@dabh/diagnostics": "^2.0.8", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.7.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.9.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/winston-daily-rotate-file": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/winston-daily-rotate-file/-/winston-daily-rotate-file-5.0.0.tgz", + "integrity": "sha512-JDjiXXkM5qvwY06733vf09I2wnMXpZEhxEVOSPenZMii+g7pcDcTBt2MRugnoi8BwVSuCT2jfRXBUy+n1Zz/Yw==", + "license": "MIT", + "dependencies": { + "file-stream-rotator": "^0.6.1", + "object-hash": "^3.0.0", + "triple-beam": "^1.4.1", + "winston-transport": "^4.7.0" + }, + "engines": { + "node": ">=8" + }, + "peerDependencies": { + "winston": "^3" + } + }, + "node_modules/winston-transport": { + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.9.0.tgz", + "integrity": "sha512-8drMJ4rkgaPo1Me4zD/3WLfI/zPdA9o2IipKODunnGDcuqbHwjsbB79ylv04LCGGzU0xQ6vTznOMpQGaLhhm6A==", + "license": "MIT", + "dependencies": { + "logform": "^2.7.0", + "readable-stream": "^3.6.2", + "triple-beam": "^1.3.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/winston/node_modules/async": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", + "license": "MIT" + }, + "node_modules/ws": { + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.20.0.tgz", + "integrity": "sha512-sAt8BhgNbzCtgGbt2OxmpuryO63ZoDk/sqaB/znQm94T4fCEsy/yV+7CdC1kJhOU9lboAEU7R3kquuycDoibVA==", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + } + } +} diff --git a/package.json b/package.json index b16f8bf..104c5c8 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,8 @@ "express": "^4.19.2", "fluent-ffmpeg": "^2.1.3", "ioredis": "^5.3.0", + "winston": "^3.19.0", + "winston-daily-rotate-file": "^5.0.0", "ws": "^8.13.0" } -} \ No newline at end of file +} diff --git a/server.js b/server.js index 18ece72..d0b41d7 100644 --- a/server.js +++ b/server.js @@ -13,6 +13,64 @@ const Redis = require('ioredis'); dotenv.config(); +const winston = require('winston'); +require('winston-daily-rotate-file'); +const util = require('util'); + +const LOGS_DIR = path.join(__dirname, 'logs'); +if (!fs.existsSync(LOGS_DIR)) { + fs.mkdirSync(LOGS_DIR, { recursive: true }); +} + +const logger = winston.createLogger({ + level: 'info', + format: winston.format.combine( + winston.format.timestamp({ format: 'YYYY-MM-DD HH:mm:ss' }), + winston.format.errors({ stack: true }), + winston.format.splat(), + winston.format.printf(({ timestamp, level, message, stack, ...meta }) => { + return `[${timestamp}] ${level.toUpperCase()}: ${stack || message} ${Object.keys(meta).length ? JSON.stringify(meta) : ''}`; + }) + ), + transports: [ + new winston.transports.Console({ + format: winston.format.combine( + winston.format.colorize(), + winston.format.printf(({ timestamp, level, message, stack }) => { + return `[${timestamp}] ${level}: ${stack || message}`; + }) + ) + }), + new winston.transports.DailyRotateFile({ + filename: path.join(LOGS_DIR, 'application-%DATE%.log'), + datePattern: 'YYYY-MM-DD', + zippedArchive: true, + maxSize: '20m', + maxFiles: '14d' + }), + new winston.transports.DailyRotateFile({ + filename: path.join(LOGS_DIR, 'error-%DATE%.log'), + datePattern: 'YYYY-MM-DD', + level: 'error', + zippedArchive: true, + maxSize: '20m', + maxFiles: '30d' + }) + ] +}); + +console.log = function(...args) { logger.info(util.format(...args)); }; +console.info = function(...args) { logger.info(util.format(...args)); }; +console.warn = function(...args) { logger.warn(util.format(...args)); }; +console.error = function(...args) { logger.error(util.format(...args)); }; + +process.on('uncaughtException', (err) => { + logger.error(`Uncaught Exception: ${err.message}`, err); +}); +process.on('unhandledRejection', (reason, promise) => { + logger.error('Unhandled Rejection at:', promise, 'reason:', reason); +}); + const CACHE_DIR = path.join(__dirname, 'cache'); if (!fs.existsSync(CACHE_DIR)) { fs.mkdirSync(CACHE_DIR, { recursive: true });